[
  {
    "path": ".dumirc.ts",
    "content": "import { defineConfig } from 'dumi';\nconst CompressionPlugin = require(\"compression-webpack-plugin\");\nconst productionGzipExtensions = /\\.(js|css|json|txt|html|ico|svg)(\\?.*)?$/i;\n\nexport default defineConfig({\n  title: 'web-pdm',\n  outputPath: 'docs-dist',\n  locales: [{ id: 'en-US', name: 'English' },{ id: 'zh-CN', name: '中文' }, ],\n  autoAlias: false,\n  themeConfig: {\n    footer: \"Open-source MIT Licensed | Copyright © 2019-present<br />Powered by self\",\n    hd: { rules: [] },\n    rtl: true,\n    favicon: 'https://erd.zyking.xyz/assets/logo.png',\n    logo: 'https://erd.zyking.xyz/assets/logo.png',\n    navs: {\n      'en-US': [\n        { title: 'API', path: '/typedoc/' },\n        { title: 'GitHub', path: 'https://github.com/lusess123/web-pdm' },\n        { title: 'Changelog', path: 'https://github.com/lusess123/web-pdm/blob/master/packages/web-pdm-lib/CHANGELOG.md' },\n      ],\n      'zh-CN': [\n        { title: 'API', path: '/typedoc/' },\n        { title: 'GitHub', path: 'https://github.com/lusess123/web-pdm' },\n        { title: '更新日志', path: 'https://github.com/lusess123/web-pdm/blob/master/packages/web-pdm-lib/CHANGELOG.md' },\n      ],\n\n    },\n    sidebar: {\n      // 'zh-CN':[\n\n      // ]\n      '/guide': [\n        {\n          title: '介绍',\n          children: [\n            { title: \"首页\", link: 'guide/index' },\n             { title: \"快速开始\", link: 'guide/getting-started' }\n            ],\n        },\n        {\n          title: '模型定义',\n          children: [\n            { title: \"模型\", link: 'guide/model' },\n             { title: \"关联关系\", link: 'guide/relation' }\n            ],\n        },\n        {\n          title: '工具栏',\n          children: [\n            { title: \"工具\", link: 'guide/toolbar' }\n          ],\n        },\n        {\n          title: '其他',\n          children: [\n            { title: \"升级\", link: 'guide/migration' }, \n            { title: \"解答\", link: 'guide/faq' }, \n            { title: \"下一步\", link: 'guide/next' }, \n            { title: \"模型驱动\", link: 'guide/ddd' }\n          ],\n        },\n      ],\n    }\n\n  },\n  hash: true,\n\n  // resolve: {\n  //   includes: ['docs']\n  // },\n  // dynamicImport: {},\n  exportStatic: {},\n  // mpa: {},\n  // antd: {},\n  // esbuild: {},\n\n  chainWebpack(memo: any) {\n    memo.plugin('CompressionPlugin').use(new CompressionPlugin({\n      filename: \"[path].gz[query]\",\n      algorithm: \"gzip\",\n      test: productionGzipExtensions,\n      // 只处理大于xx字节 的文件，默认：0\n      threshold: 10240,\n      // 示例：一个1024b大小的文件，压缩后大小为768b，minRatio : 0.75\n      minRatio: 0.8, // 默认: 0.8\n      // 是否删除源文件，默认: false\n      deleteOriginalAssets: false\n    }));\n  }\n});\n"
  },
  {
    "path": ".editorconfig",
    "content": "# http://editorconfig.org\nroot = true\n\n[*]\nindent_style = space\nindent_size = 2\nend_of_line = lf\ncharset = utf-8\ntrim_trailing_whitespace = true\ninsert_final_newline = true\n\n[*.md]\ntrim_trailing_whitespace = false\n"
  },
  {
    "path": ".eslintrc.js",
    "content": "module.exports = {\n  extends: require.resolve('@umijs/lint/dist/config/eslint'),\n};\n"
  },
  {
    "path": ".fatherrc.ts",
    "content": "import { defineConfig } from 'father';\n\nimport { readdirSync } from 'fs';\nimport { join } from 'path';\n\n// utils must build before core\n// runtime must build before renderer-react\n// components dependencies order: form -> table -> list\n\n// const headPkgs: string[] = ['button', 'tag']; // 添加button和tag\n// const tailPkgs = readdirSync(join(__dirname, 'packages')).filter(\n//   (pkg) => pkg.charAt(0) !== '.' && !headPkgs.includes(pkg),\n// );\n\nconst pkgs = [ \"web-pdm-core\" , \"web-pdm-lib\" ]\n\nconst type = process.env.BUILD_TYPE;\n\nlet config = {};\n\nif (type === 'lib') {\n  config = {\n    cjs: {},\n    esm: false,\n    runtimeHelpers: true,\n    pkgs,\n    extraBabelPlugins: [\n      ['babel-plugin-import', { libraryName: 'antd', libraryDirectory: 'es', style: true }, 'antd'],\n    ],\n  };\n}\n\nif (type === 'es') {\n  config = {\n    cjs: false,\n    esm: {\n      type: 'babel',\n    },\n    runtimeHelpers: true,\n    pkgs,\n    extraBabelPlugins: [\n      // [require('./scripts/replaceLib')],\n      ['babel-plugin-import', { libraryName: 'antd', libraryDirectory: 'es', style: true }, 'antd'],\n    ],\n  };\n}\n\nexport default config;\n"
  },
  {
    "path": ".gitignore",
    "content": "node_modules\n/dist\n.dumi/tmp\n.dumi/tmp-test\n.dumi/tmp-production\n.DS_Store\n.ai-doc/\n"
  },
  {
    "path": ".husky/commit-msg",
    "content": "#!/usr/bin/env sh\n. \"$(dirname -- \"$0\")/_/husky.sh\"\n\nnpx commitlint --edit \"${1}\"\n"
  },
  {
    "path": ".husky/pre-commit",
    "content": "#!/usr/bin/env sh\n. \"$(dirname -- \"$0\")/_/husky.sh\"\n\nnpx lint-staged\n"
  },
  {
    "path": ".npmrc",
    "content": "auto-install-peers=true\nstrict-peer-dependencies=false\nregistry=https://registry.npmmirror.com"
  },
  {
    "path": ".prettierignore",
    "content": "/dist\n*.yaml\n"
  },
  {
    "path": ".prettierrc.js",
    "content": "module.exports = {\n  pluginSearchDirs: false,\n  plugins: [\n    require.resolve('prettier-plugin-organize-imports'),\n    require.resolve('prettier-plugin-packagejson'),\n  ],\n  printWidth: 80,\n  proseWrap: 'never',\n  singleQuote: true,\n  trailingComma: 'all',\n  overrides: [\n    {\n      files: '*.md',\n      options: {\n        proseWrap: 'preserve',\n      },\n    },\n  ],\n};\n"
  },
  {
    "path": ".stylelintrc",
    "content": "{\n  \"extends\": \"@umijs/lint/dist/config/stylelint\"\n}\n"
  },
  {
    "path": ".umi/core/history.ts",
    "content": "// @ts-nocheck\nimport { createBrowserHistory, History } from '/Users/beiming/work/github/web-pdm/node_modules/@umijs/runtime';\n\nlet options = {\n  \"basename\": \"/\"\n};\nif ((<any>window).routerBase) {\n  options.basename = (<any>window).routerBase;\n}\n\n// remove initial history because of ssr\nlet history: History = process.env.__IS_SERVER ? null : createBrowserHistory(options);\nexport const createHistory = (hotReload = false) => {\n  if (!hotReload) {\n    history = createBrowserHistory(options);\n  }\n\n  return history;\n};\n\nexport { history };\n"
  },
  {
    "path": ".umi/core/plugin.ts",
    "content": "// @ts-nocheck\nimport { Plugin } from '/Users/beiming/work/github/web-pdm/node_modules/@umijs/runtime';\n\nconst plugin = new Plugin({\n  validKeys: ['modifyClientRenderOpts','patchRoutes','rootContainer','render','onRouteChange',],\n});\n\nexport { plugin };\n"
  },
  {
    "path": ".umi/core/pluginRegister.ts",
    "content": "// @ts-nocheck\nimport { plugin } from './plugin';\n\n"
  },
  {
    "path": ".umi/core/polyfill.ts",
    "content": "// @ts-nocheck\nimport 'core-js';\nimport 'regenerator-runtime/runtime';\n"
  },
  {
    "path": ".vscode/settings.json",
    "content": "{\n    \"editor.formatOnSave\": true,\n    \"javascript.format.enable\": true,\n    \"editor.codeActionsOnSave\": {\n        \"source.fixAll.eslint\": \"explicit\",\n        \"source.fixAll.tslint\": \"explicit\",\n        \"source.fixAll.stylelint\": \"explicit\"\n    },\n    \"[javascript]\": {\n        \"editor.defaultFormatter\": \"esbenp.prettier-vscode\"\n    },\n    \"eslint.validate\": [\n        \"javascript\",\n        \"javascriptreact\",\n        \"typescript\",\n        \"typescriptreact\"\n    ]\n}\n"
  },
  {
    "path": "LICENSE",
    "content": "MIT License\n\nCopyright (c) \n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
  },
  {
    "path": "README.md",
    "content": "\n\nEnglish | [简体中文](./README.zh-CN.md)\n# Intro\n\n[Please check for details](https://erd.zyking.xyz/)\n\nAn ER graph tool made with G6, the ultimate goal is to make an online PowerDesigner\n\n<img target=\"_bank\" src='https://erd.zyking.xyz/static/erd.jpeg'>\n\n# Genesis\n\n[Design and implementation of ER diagram](https://www.yuque.com/antv/g6-blog/nbaywp)\n\n# Online Demo\n\n\n[Model](https://erd.zyking.xyz/~demos/docs-erd 'Model')\n\n# Getting Started\n\nnpm i\n\nnpm run dev\n\n# Contributing\n\n<img src='https://erd.zyking.xyz/static/group.d05204b1.jpeg' width='260'>\n\n# Change log\n\n\n"
  },
  {
    "path": "README.zh-CN.md",
    "content": "[English](./README.md) | 简体中文\n# 介绍\n\n[详细请查看](https://erd.zyking.xyz/)\n\n一个用 G6 做的 ER 图工具，最终目标是想做成在线版的 powerdesigner\n\n<img target=\"_bank\" src='https://erd.zyking.xyz/static/erd.jpeg'>\n\n# 缘起\n\n[ER 图的设计与实现](https://www.yuque.com/antv/g6-blog/nbaywp)\n\n# 在线体验\n\n\n[模型](https://erd.zyking.xyz/~demos/docs-erd '模型')\n\n# 快速启动\n\nnpm i\n\nnpm run watch\n\n# 反馈与共建\n\n<img src='https://erd.zyking.xyz/static/group.d05204b1.jpeg' width='260'>\n\n# 更新日志\n\n\n"
  },
  {
    "path": "doc/README.md",
    "content": "# 介绍\n\n一个用 G6 做的 ER 图工具，最终目标是想做成在线版的 powerdesigner\n\n<img target=\"_bank\" src='https://github.com/lusess123/web-pdm/blob/master/doc/erd.jpeg'>\n\n# 缘起\n\n[ER 图的设计与实现](https://www.yuque.com/antv/g6-blog/nbaywp)\n\n# 在线体验\n\n[定制版 Demo](http://zyking.xyz:5080/demo/ '定制版Demo')\n\n[基本版 Demo](http://zyking.xyz:5002/ '基本版Demo')\n\n# 快速启动\n\nnpm i\n\nnpm run watch\n\n# 特性\n\n## next\n\n-   [ ] 模型在线新增和编辑\n-   [ ] 导出 SQL 语句\n\n## 0.0.3\n\n-   [x] 升级 antd 从 V3 到 V4\n-   [x] 美化布局样式\n-   [x] .PDM 文件上传按钮调整到工具栏\n\n## 0.0.2\n\n-   [x] 状态管理从 DVA 改成轻量级的 unstated-next\n\n## 0.0.1\n\n-   [x] typescript npm 源码发布\n-   [x] DVA 状态管理\n-   [x] 支持 .PDM 文件上传\n\n# 感谢\n\n[G6](https://g6.antv.vision/zh/)\n\n[DVA](https://dvajs.com/guide/)\n\n[pdm-to-json](https://github.com/shermam/pdm-to-json)\n"
  },
  {
    "path": "docker/Dockerfile",
    "content": "FROM nginx\nCOPY  ./default.conf /etc/nginx/conf.d/default.conf\nCOPY  ./public  /usr/share/public\nEXPOSE 80 "
  },
  {
    "path": "docker/build.sh",
    "content": "docker ps -a| grep webpdmdoc | awk '{print $1}' | xargs docker rm -f\ndocker build -t webpdmdoc  .   \ndocker run -d -it -p 5012:5012  webpdmdoc"
  },
  {
    "path": "docker/default.conf",
    "content": "server {\n    listen       5012;\n    listen  [::]:5012;\n    server_name  localhost;\n\n    gzip on;\n\tgzip_buffers 32 4K;\n\tgzip_comp_level 6;\n    gzip_min_length 100;\n\tgzip_types application/javascript text/css text/xml;\n    gzip_disable \"MSIE [1-6]\\.\"; #配置禁用gzip条件，支持正则。此处表示ie6及以下不启用gzip（因为ie低版本不支持）\n    gzip_vary on;\n\n    #charset koi8-r;\n    #access_log  /var/log/nginx/host.access.log  main;\n    charset utf-8;\n    location / {\n        proxy_set_header Host $http_host;\n        root   /usr/share/public;\n        index  index.html index.htm;\n        try_files $uri $uri/ /index.html;\n        \n    }\n\n    #error_page  404              /404.html;\n\n    # redirect server error pages to the static page /50x.html\n    #\n    error_page   500 502 503 504  /50x.html;\n    location = /50x.html {\n        root   /usr/share/nginx/html;\n    }\n\n    # proxy the PHP scripts to Apache listening on 127.0.0.1:80\n    #\n    #location ~ \\.php$ {\n    #    proxy_pass   http://127.0.0.1;\n    #}\n\n    # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000\n    #\n    #location ~ \\.php$ {\n    #    root           html;\n    #    fastcgi_pass   127.0.0.1:9000;\n    #    fastcgi_index  index.php;\n    #    fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name;\n    #    include        fastcgi_params;\n    #}\n\n    # deny access to .htaccess files, if Apache's document root\n    # concurs with nginx's one\n    #\n    #location ~ /\\.ht {\n    #    deny  all;\n    #}\n}\n\n"
  },
  {
    "path": "docker/public/1.b481cf9f.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[1],{1001:function(e,s,p){e.exports=p.p+\"static/pay.59254b34.jpeg\"}}]);\n"
  },
  {
    "path": "docker/public/182.7fbd14ca.async.js",
    "content": "(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[182],{61875:function(x,L,y){\"use strict\";var I=y(81229),A=y(50959),p=y(70810);function j(a,e){return k(a)||S(a,e)||_(a,e)||E()}function E(){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 _(a,e){if(a){if(typeof a==\"string\")return O(a,e);var t=Object.prototype.toString.call(a).slice(8,-1);if(t===\"Object\"&&a.constructor&&(t=a.constructor.name),t===\"Map\"||t===\"Set\")return Array.from(a);if(t===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return O(a,e)}}function O(a,e){(e==null||e>a.length)&&(e=a.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=a[t];return n}function S(a,e){var t=a==null?null:typeof Symbol!=\"undefined\"&&a[Symbol.iterator]||a[\"@@iterator\"];if(t!=null){var n=[],i=!0,o=!1,u,d;try{for(t=t.call(a);!(i=(u=t.next()).done)&&(n.push(u.value),!(e&&n.length===e));i=!0);}catch(s){o=!0,d=s}finally{try{!i&&t.return!=null&&t.return()}finally{if(o)throw d}}return n}}function k(a){if(Array.isArray(a))return a}var C={toString:function(e){return typeof e.type==\"string\"&&e.type in this?\"enum\"in e?this.enum(e):this[e.type](e):e.type?this.getValidClassName(e)||e.type:\"const\"in e?e.const:\"oneOf\"in e?this.oneOf(e):\"unknown\"},string:function(e){return e.type},number:function(e){return e.type},boolean:function(e){return e.type},any:function(e){return e.type},object:function(e){var t=this,n=[];return Object.entries(e.properties||{}).forEach(function(i){var o,u=j(i,2),d=u[0],s=u[1];n.push(\"\".concat(d).concat((o=e.required)!==null&&o!==void 0&&o.includes(d)?\"\":\"?\",\": \").concat(s.type===\"object\"?\"object\":t.toString(s)))}),n.length?\"{ \".concat(n.join(\"; \"),\" }\"):\"{}\"},array:function(e){if(e.items){var t=this.getValidClassName(e.items);return t?\"\".concat(t,\"[]\"):\"\".concat(this.toString(e.items),\"[]\")}return\"any[]\"},element:function(e){return\"<\".concat(e.componentName,\" />\")},function:function(e){var t=this,n=e.signature;return\"\".concat(n.isAsync?\"async \":\"\",\"(\").concat(n.arguments.map(function(i){return\"\".concat(i.key,\": \").concat(t.toString(i))}).join(\", \"),\") => \").concat(this.toString(n.returnType))},dom:function(e){return e.className||\"DOM\"},enum:function(e){return e.enum.map(function(t){return JSON.stringify(t)}).join(\" | \")},oneOf:function(e){var t=this;return e.oneOf.map(function(n){return t.getValidClassName(n)||t.toString(n)}).join(\" | \")},getValidClassName:function(e){return\"className\"in e&&typeof e.className==\"string\"&&e.className!==\"__type\"?e.className:null}},w=function(e){var t=useState(function(){return C.toString(e)}),n=j(t,2),i=n[0],o=n[1];return useEffect(function(){o(C.toString(e))},[e]),React.createElement(\"code\",null,i)},W=function(e){var t,n=useRouteMeta(),i=n.frontmatter,o=useAtomAssets(),u=o.components,d=e.id||i.atomId,s=useIntl();if(!d)throw new Error(\"`id` properties if required for API component!\");var r=u==null?void 0:u[d];return React.createElement(\"div\",{className:\"markdown\"},React.createElement(Table,null,React.createElement(\"thead\",null,React.createElement(\"tr\",null,React.createElement(\"th\",null,s.formatMessage({id:\"api.component.name\"})),React.createElement(\"th\",null,s.formatMessage({id:\"api.component.description\"})),React.createElement(\"th\",null,s.formatMessage({id:\"api.component.type\"})),React.createElement(\"th\",null,s.formatMessage({id:\"api.component.default\"})))),React.createElement(\"tbody\",null,r&&(t=r.propsConfig)!==null&&t!==void 0&&t.properties?Object.entries(r.propsConfig.properties).map(function(c){var l,g=j(c,2),v=g[0],m=g[1];return React.createElement(\"tr\",{key:v},React.createElement(\"td\",null,v),React.createElement(\"td\",null,m.description||\"--\"),React.createElement(\"td\",null,React.createElement(w,m)),React.createElement(\"td\",null,React.createElement(\"code\",null,(l=r.propsConfig.required)!==null&&l!==void 0&&l.includes(v)?s.formatMessage({id:\"api.component.required\"}):JSON.stringify(m.default)||\"--\")))}):React.createElement(\"tr\",null,React.createElement(\"td\",{colSpan:4},s.formatMessage({id:\"api.component.\".concat(u?\"not.found\":\"unavailable\")},{id:d}))))))},B=null},57275:function(x,L,y){\"use strict\";var I=y(50959);function A(){return A=Object.assign?Object.assign.bind():function(E){for(var _=1;_<arguments.length;_++){var O=arguments[_];for(var S in O)Object.prototype.hasOwnProperty.call(O,S)&&(E[S]=O[S])}return E},A.apply(this,arguments)}var p=function(_){return React.createElement(\"span\",A({className:\"dumi-default-badge\"},_))},j=null},70810:function(x,L,y){\"use strict\";y.d(L,{Z:function(){return a}});var I=y(30826),A=y.n(I),p=y(50959),j=[\"children\"];function E(e,t){return C(e)||k(e,t)||O(e,t)||_()}function _(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function O(e,t){if(e){if(typeof e==\"string\")return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===\"Object\"&&e.constructor&&(n=e.constructor.name),n===\"Map\"||n===\"Set\")return Array.from(e);if(n===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return S(e,t)}}function S(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function k(e,t){var n=e==null?null:typeof Symbol!=\"undefined\"&&e[Symbol.iterator]||e[\"@@iterator\"];if(n!=null){var i=[],o=!0,u=!1,d,s;try{for(n=n.call(e);!(o=(d=n.next()).done)&&(i.push(d.value),!(t&&i.length===t));o=!0);}catch(r){u=!0,s=r}finally{try{!o&&n.return!=null&&n.return()}finally{if(u)throw s}}return i}}function C(e){if(Array.isArray(e))return e}function w(e,t){if(e==null)return{};var n=W(e,t),i,o;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(o=0;o<u.length;o++)i=u[o],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function W(e,t){if(e==null)return{};var n={},i=Object.keys(e),o,u;for(u=0;u<i.length;u++)o=i[u],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var B=function(t){var n=t.children,i=w(t,j),o=(0,p.useRef)(null),u=(0,p.useState)(!1),d=E(u,2),s=d[0],r=d[1],c=(0,p.useState)(!1),l=E(c,2),g=l[0],v=l[1];return(0,p.useEffect)(function(){var m=o.current;if(m){var b=A()(function(){r(m.scrollLeft>0),v(m.scrollLeft<m.scrollWidth-m.offsetWidth)},100);return b(),m.addEventListener(\"scroll\",b),window.addEventListener(\"resize\",b),function(){m.removeEventListener(\"scroll\",b),window.removeEventListener(\"resize\",b)}}},[]),p.createElement(\"div\",{className:\"dumi-default-table\"},p.createElement(\"div\",{className:\"dumi-default-table-content\",ref:o,\"data-left-folded\":s||void 0,\"data-right-folded\":g||void 0},p.createElement(\"table\",i,n)))},a=B},30826:function(x,L,y){var I=\"Expected a function\",A=NaN,p=\"[object Symbol]\",j=/^\\s+|\\s+$/g,E=/^[-+]0x[0-9a-f]+$/i,_=/^0b[01]+$/i,O=/^0o[0-7]+$/i,S=parseInt,k=typeof y.g==\"object\"&&y.g&&y.g.Object===Object&&y.g,C=typeof self==\"object\"&&self&&self.Object===Object&&self,w=k||C||Function(\"return this\")(),W=Object.prototype,B=W.toString,a=Math.max,e=Math.min,t=function(){return w.Date.now()};function n(r,c,l){var g,v,m,b,h,R,M=0,V=!1,N=!1,$=!0;if(typeof r!=\"function\")throw new TypeError(I);c=s(c)||0,o(l)&&(V=!!l.leading,N=\"maxWait\"in l,m=N?a(s(l.maxWait)||0,c):m,$=\"trailing\"in l?!!l.trailing:$);function F(f){var T=g,P=v;return g=v=void 0,M=f,b=r.apply(P,T),b}function J(f){return M=f,h=setTimeout(D,c),V?F(f):b}function X(f){var T=f-R,P=f-M,z=c-T;return N?e(z,m-P):z}function H(f){var T=f-R,P=f-M;return R===void 0||T>=c||T<0||N&&P>=m}function D(){var f=t();if(H(f))return K(f);h=setTimeout(D,X(f))}function K(f){return h=void 0,$&&g?F(f):(g=v=void 0,b)}function G(){h!==void 0&&clearTimeout(h),M=0,g=R=v=h=void 0}function Z(){return h===void 0?b:K(t())}function U(){var f=t(),T=H(f);if(g=arguments,v=this,R=f,T){if(h===void 0)return J(R);if(N)return h=setTimeout(D,c),F(R)}return h===void 0&&(h=setTimeout(D,c)),b}return U.cancel=G,U.flush=Z,U}function i(r,c,l){var g=!0,v=!0;if(typeof r!=\"function\")throw new TypeError(I);return o(l)&&(g=\"leading\"in l?!!l.leading:g,v=\"trailing\"in l?!!l.trailing:v),n(r,c,{leading:g,maxWait:c,trailing:v})}function o(r){var c=typeof r;return!!r&&(c==\"object\"||c==\"function\")}function u(r){return!!r&&typeof r==\"object\"}function d(r){return typeof r==\"symbol\"||u(r)&&B.call(r)==p}function s(r){if(typeof r==\"number\")return r;if(d(r))return A;if(o(r)){var c=typeof r.valueOf==\"function\"?r.valueOf():r;r=o(c)?c+\"\":c}if(typeof r!=\"string\")return r===0?r:+r;r=r.replace(j,\"\");var l=_.test(r);return l||O.test(r)?S(r.slice(2),l?2:8):E.test(r)?A:+r}x.exports=i}}]);\n"
  },
  {
    "path": "docker/public/404.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docker/public/448.040494bf.async.js",
    "content": "var sg=Object.defineProperty,ug=Object.defineProperties;var cg=Object.getOwnPropertyDescriptors;var zh=Object.getOwnPropertySymbols;var lg=Object.prototype.hasOwnProperty,fg=Object.prototype.propertyIsEnumerable;var $h=(Pt,Ee,c)=>Ee in Pt?sg(Pt,Ee,{enumerable:!0,configurable:!0,writable:!0,value:c}):Pt[Ee]=c,Rs=(Pt,Ee)=>{for(var c in Ee||(Ee={}))lg.call(Ee,c)&&$h(Pt,c,Ee[c]);if(zh)for(var c of zh(Ee))fg.call(Ee,c)&&$h(Pt,c,Ee[c]);return Pt},Mu=(Pt,Ee)=>ug(Pt,cg(Ee));(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[448],{81548:function(Pt,Ee,c){\"use strict\";c.d(Ee,{R_:function(){return M}});var r=c(36914),y=c(31105),N=2,C=.16,w=.05,O=.05,b=.15,p=5,u=4,a=[{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 f(Ce){var oe=Ce.r,he=Ce.g,ie=Ce.b,ae=(0,r.py)(oe,he,ie);return{h:ae.h*360,s:ae.s,v:ae.v}}function h(Ce){var oe=Ce.r,he=Ce.g,ie=Ce.b;return\"#\".concat((0,r.vq)(oe,he,ie,!1))}function l(Ce,oe,he){var ie=he/100,ae={r:(oe.r-Ce.r)*ie+Ce.r,g:(oe.g-Ce.g)*ie+Ce.g,b:(oe.b-Ce.b)*ie+Ce.b};return ae}function s(Ce,oe,he){var ie;return Math.round(Ce.h)>=60&&Math.round(Ce.h)<=240?ie=he?Math.round(Ce.h)-N*oe:Math.round(Ce.h)+N*oe:ie=he?Math.round(Ce.h)+N*oe:Math.round(Ce.h)-N*oe,ie<0?ie+=360:ie>=360&&(ie-=360),ie}function m(Ce,oe,he){if(Ce.h===0&&Ce.s===0)return Ce.s;var ie;return he?ie=Ce.s-C*oe:oe===u?ie=Ce.s+C:ie=Ce.s+w*oe,ie>1&&(ie=1),he&&oe===p&&ie>.1&&(ie=.1),ie<.06&&(ie=.06),Number(ie.toFixed(2))}function x(Ce,oe,he){var ie;return he?ie=Ce.v+O*oe:ie=Ce.v-b*oe,ie>1&&(ie=1),Number(ie.toFixed(2))}function M(Ce){for(var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},he=[],ie=(0,y.uA)(Ce),ae=p;ae>0;ae-=1){var ve=f(ie),X=h((0,y.uA)({h:s(ve,ae,!0),s:m(ve,ae,!0),v:x(ve,ae,!0)}));he.push(X)}he.push(h(ie));for(var se=1;se<=u;se+=1){var fe=f(ie),_e=h((0,y.uA)({h:s(fe,se),s:m(fe,se),v:x(fe,se)}));he.push(_e)}return oe.theme===\"dark\"?a.map(function(be){var We=be.index,we=be.opacity,Ze=h(l((0,y.uA)(oe.backgroundColor||\"#141414\"),(0,y.uA)(he[We]),we*100));return Ze}):he}var E={red:\"#F5222D\",volcano:\"#FA541C\",orange:\"#FA8C16\",gold:\"#FAAD14\",yellow:\"#FADB14\",lime:\"#A0D911\",green:\"#52C41A\",cyan:\"#13C2C2\",blue:\"#1677FF\",geekblue:\"#2F54EB\",purple:\"#722ED1\",magenta:\"#EB2F96\",grey:\"#666666\"},j={},L={};Object.keys(E).forEach(function(Ce){j[Ce]=M(E[Ce]),j[Ce].primary=j[Ce][5],L[Ce]=M(E[Ce],{theme:\"dark\",backgroundColor:\"#141414\"}),L[Ce].primary=L[Ce][5]});var A=j.red,J=j.volcano,q=j.gold,re=j.orange,me=j.yellow,Te=j.lime,ee=j.green,xe=j.cyan,Ie=j.blue,Le=j.geekblue,De=j.purple,ce=j.magenta,ye=j.grey,Oe=j.grey},8439:function(Pt,Ee,c){\"use strict\";c.d(Ee,{E4:function(){return lr},jG:function(){return _o},fp:function(){return we},xy:function(){return Ut}});var r=c(75782),y=c(49544),N=c(50959);function C(ct){for(var tn=0,An,Rt=0,un=ct.length;un>=4;++Rt,un-=4)An=ct.charCodeAt(Rt)&255|(ct.charCodeAt(++Rt)&255)<<8|(ct.charCodeAt(++Rt)&255)<<16|(ct.charCodeAt(++Rt)&255)<<24,An=(An&65535)*1540483477+((An>>>16)*59797<<16),An^=An>>>24,tn=(An&65535)*1540483477+((An>>>16)*59797<<16)^(tn&65535)*1540483477+((tn>>>16)*59797<<16);switch(un){case 3:tn^=(ct.charCodeAt(Rt+2)&255)<<16;case 2:tn^=(ct.charCodeAt(Rt+1)&255)<<8;case 1:tn^=ct.charCodeAt(Rt)&255,tn=(tn&65535)*1540483477+((tn>>>16)*59797<<16)}return tn^=tn>>>13,tn=(tn&65535)*1540483477+((tn>>>16)*59797<<16),((tn^tn>>>15)>>>0).toString(36)}var w=C,O=c(49308),b=c(37304),p=c(40936),u=c(49962),a=c(24572),f=function(){function ct(){(0,p.Z)(this,ct),(0,a.Z)(this,\"cache\",new Map)}return(0,u.Z)(ct,[{key:\"get\",value:function(An){return this.cache.get(An.join(\"%\"))||null}},{key:\"update\",value:function(An,Rt){var un=An.join(\"%\"),Dn=this.cache.get(un),dr=Rt(Dn);dr===null?this.cache.delete(un):this.cache.set(un,dr)}}]),ct}(),h=f,l=null,s=\"data-token-hash\",m=\"data-css-hash\",x=\"data-dev-cache-path\",M=\"__cssinjs_instance__\",E=Math.random().toString(12).slice(2);function j(){if(typeof document!=\"undefined\"&&document.head&&document.body){var ct=document.body.querySelectorAll(\"style[\".concat(m,\"]\"))||[],tn=document.head.firstChild;Array.from(ct).forEach(function(Rt){Rt[M]=Rt[M]||E,document.head.insertBefore(Rt,tn)});var An={};Array.from(document.querySelectorAll(\"style[\".concat(m,\"]\"))).forEach(function(Rt){var un=Rt.getAttribute(m);if(An[un]){if(Rt[M]===E){var Dn;(Dn=Rt.parentNode)===null||Dn===void 0||Dn.removeChild(Rt)}}else An[un]=!0})}return new h}var L=N.createContext({hashPriority:\"low\",cache:j(),defaultCache:!0}),A=function(tn){var An=tn.children,Rt=_objectWithoutProperties(tn,l),un=React.useContext(L),Dn=useMemo(function(){var dr=_objectSpread({},un);Object.keys(Rt).forEach(function(Gr){var Pr=Rt[Gr];Rt[Gr]!==void 0&&(dr[Gr]=Pr)});var Ar=Rt.cache;return dr.cache=dr.cache||j(),dr.defaultCache=!Ar&&un.defaultCache,dr},[un,Rt],function(dr,Ar){return!isEqual(dr[0],Ar[0],!0)||!isEqual(dr[1],Ar[1],!0)});return React.createElement(L.Provider,{value:Dn},An)},J=L,q=c(91600);function re(){return!1}var me=!1;function Te(){return me}var ee=re;if(!1)var xe,Ie;function Le(ct,tn,An,Rt){var un=N.useContext(J),Dn=un.cache,dr=[ct].concat((0,y.Z)(tn)),Ar=ee();return N.useMemo(function(){Dn.update(dr,function(Gr){var Pr=Gr||[],Xr=(0,q.Z)(Pr,2),oo=Xr[0],io=oo===void 0?0:oo,to=Xr[1],To=to,jn=To||An();return[io+1,jn]})},[dr.join(\"_\")]),N.useEffect(function(){return function(){Dn.update(dr,function(Gr){var Pr=Gr||[],Xr=(0,q.Z)(Pr,2),oo=Xr[0],io=oo===void 0?0:oo,to=Xr[1],To=io-1;return To===0?(Rt==null||Rt(to,!1),null):[io-1,to]})}},dr),Dn.get(dr)[1]}var De=c(26143),ce=c(61237),ye=c(52797);function Oe(ct){var tn=\"\";return Object.keys(ct).forEach(function(An){var Rt=ct[An];tn+=An,Rt&&(0,De.Z)(Rt)===\"object\"?tn+=Oe(Rt):tn+=Rt}),tn}function Ce(ct,tn){return w(\"\".concat(tn,\"_\").concat(Oe(ct)))}var oe=\"layer-\".concat(Date.now(),\"-\").concat(Math.random()).replace(/\\./g,\"\"),he=\"903px\";function ie(ct,tn){if((0,ce.Z)()){var An;(0,ye.hq)(ct,oe);var Rt=document.createElement(\"div\");Rt.style.position=\"fixed\",Rt.style.left=\"0\",Rt.style.top=\"0\",tn==null||tn(Rt),document.body.appendChild(Rt);var un=getComputedStyle(Rt).width===he;return(An=Rt.parentNode)===null||An===void 0||An.removeChild(Rt),(0,ye.jL)(oe),un}return!1}var ae=void 0;function ve(){return ae===void 0&&(ae=ie(\"@layer \".concat(oe,\" { .\").concat(oe,\" { width: \").concat(he,\"!important; } }\"),function(ct){ct.className=oe})),ae}var X={},se=\"css\",fe=new Map;function _e(ct){fe.set(ct,(fe.get(ct)||0)+1)}function be(ct){if(typeof document!=\"undefined\"){var tn=document.querySelectorAll(\"style[\".concat(s,'=\"').concat(ct,'\"]'));tn.forEach(function(An){if(An[M]===E){var Rt;(Rt=An.parentNode)===null||Rt===void 0||Rt.removeChild(An)}})}}function We(ct){fe.set(ct,(fe.get(ct)||0)-1);var tn=Array.from(fe.keys()),An=tn.filter(function(Rt){var un=fe.get(Rt)||0;return un<=0});An.length<tn.length&&An.forEach(function(Rt){be(Rt),fe.delete(Rt)})}function we(ct,tn){var An=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Rt=An.salt,un=Rt===void 0?\"\":Rt,Dn=An.override,dr=Dn===void 0?X:Dn,Ar=An.formatToken,Gr=N.useMemo(function(){return Object.assign.apply(Object,[{}].concat((0,y.Z)(tn)))},[tn]),Pr=N.useMemo(function(){return Oe(Gr)},[Gr]),Xr=N.useMemo(function(){return Oe(dr)},[dr]),oo=Le(\"token\",[un,ct.id,Pr,Xr],function(){var io=ct.getDerivativeToken(Gr),to=(0,r.Z)((0,r.Z)({},io),dr);Ar&&(to=Ar(to));var To=Ce(to,un);to._tokenKey=To,_e(To);var jn=\"\".concat(se,\"-\").concat(w(To));return to._hashId=jn,[to,jn]},function(io){We(io[0]._tokenKey)});return oo}var Ze=c(51163),Ve={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},et=Ve,ht=\"-ms-\",Fe=\"-moz-\",mt=\"-webkit-\",dt=\"comm\",Lt=\"rule\",lt=\"decl\",rn=\"@page\",qt=\"@media\",hn=\"@import\",Kt=\"@charset\",an=\"@viewport\",In=\"@supports\",Ft=\"@document\",kt=\"@namespace\",At=\"@keyframes\",Fn=\"@font-face\",pn=\"@counter-style\",en=\"@font-feature-values\",Wn=Math.abs,Mn=String.fromCharCode,Kn=Object.assign;function hr(ct,tn){return Kr(ct,0)^45?(((tn<<2^Kr(ct,0))<<2^Kr(ct,1))<<2^Kr(ct,2))<<2^Kr(ct,3):0}function pr(ct){return ct.trim()}function zr(ct,tn){return(ct=tn.exec(ct))?ct[0]:ct}function Wr(ct,tn,An){return ct.replace(tn,An)}function Nr(ct,tn){return ct.indexOf(tn)}function Kr(ct,tn){return ct.charCodeAt(tn)|0}function ko(ct,tn,An){return ct.slice(tn,An)}function Ur(ct){return ct.length}function gn(ct){return ct.length}function Gt(ct,tn){return tn.push(ct),ct}function bt(ct,tn){return ct.map(tn).join(\"\")}function Zt(ct,tn){for(var An=\"\",Rt=gn(ct),un=0;un<Rt;un++)An+=tn(ct[un],un,ct,tn)||\"\";return An}function gt(ct,tn,An,Rt){switch(ct.type){case hn:case lt:return ct.return=ct.return||ct.value;case dt:return\"\";case At:return ct.return=ct.value+\"{\"+Zt(ct.children,Rt)+\"}\";case Lt:ct.value=ct.props.join(\",\")}return Ur(An=Zt(ct.children,Rt))?ct.return=ct.value+\"{\"+An+\"}\":\"\"}var Wt=1,xn=1,Dt=0,Xn=0,Rn=0,wt=\"\";function pt(ct,tn,An,Rt,un,Dn,dr){return{value:ct,root:tn,parent:An,type:Rt,props:un,children:Dn,line:Wt,column:xn,length:dr,return:\"\"}}function Ue(ct,tn){return assign(pt(\"\",null,null,\"\",null,null,0),ct,{length:-ct.length},tn)}function xt(){return Rn}function cn(){return Rn=Xn>0?Kr(wt,--Xn):0,xn--,Rn===10&&(xn=1,Wt--),Rn}function er(){return Rn=Xn<Dt?Kr(wt,Xn++):0,xn++,Rn===10&&(xn=1,Wt++),Rn}function Mr(){return Kr(wt,Xn)}function xr(){return Xn}function jr(ct,tn){return ko(wt,ct,tn)}function yo(ct){switch(ct){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function eo(ct){return Wt=xn=1,Dt=Ur(wt=ct),Xn=0,[]}function vi(ct){return wt=\"\",ct}function Ti(ct){return pr(jr(Xn-1,$e(ct===91?ct+2:ct===40?ct+1:ct)))}function wi(ct){return vi(Zi(eo(ct)))}function mi(ct){for(;(Rn=Mr())&&Rn<33;)er();return yo(ct)>2||yo(Rn)>3?\"\":\" \"}function Zi(ct){for(;er();)switch(yo(Rn)){case 0:append(Un(Xn-1),ct);break;case 2:append(Ti(Rn),ct);break;default:append(from(Rn),ct)}return ct}function aa(ct,tn){for(;--tn&&er()&&!(Rn<48||Rn>102||Rn>57&&Rn<65||Rn>70&&Rn<97););return jr(ct,xr()+(tn<6&&Mr()==32&&er()==32))}function $e(ct){for(;er();)switch(Rn){case ct:return Xn;case 34:case 39:ct!==34&&ct!==39&&$e(Rn);break;case 40:ct===41&&$e(ct);break;case 92:er();break}return Xn}function dn(ct,tn){for(;er()&&ct+Rn!==47+10;)if(ct+Rn===42+42&&Mr()===47)break;return\"/*\"+jr(tn,Xn-1)+\"*\"+Mn(ct===47?ct:er())}function Un(ct){for(;!yo(Mr());)er();return jr(ct,Xn)}function ar(ct){return vi(Rr(\"\",null,null,null,[\"\"],ct=eo(ct),0,[0],ct))}function Rr(ct,tn,An,Rt,un,Dn,dr,Ar,Gr){for(var Pr=0,Xr=0,oo=dr,io=0,to=0,To=0,jn=1,W=1,P=1,k=0,z=\"\",Q=un,F=Dn,V=Rt,U=z;W;)switch(To=k,k=er()){case 40:if(To!=108&&Kr(U,oo-1)==58){Nr(U+=Wr(Ti(k),\"&\",\"&\\f\"),\"&\\f\")!=-1&&(P=-1);break}case 34:case 39:case 91:U+=Ti(k);break;case 9:case 10:case 13:case 32:U+=mi(To);break;case 92:U+=aa(xr()-1,7);continue;case 47:switch(Mr()){case 42:case 47:Gt(Vo(dn(er(),xr()),tn,An),Gr);break;default:U+=\"/\"}break;case 123*jn:Ar[Pr++]=Ur(U)*P;case 125*jn:case 59:case 0:switch(k){case 0:case 125:W=0;case 59+Xr:to>0&&Ur(U)-oo&&Gt(to>32?Co(U+\";\",Rt,An,oo-1):Co(Wr(U,\" \",\"\")+\";\",Rt,An,oo-2),Gr);break;case 59:U+=\";\";default:if(Gt(V=Ro(U,tn,An,Pr,Xr,un,Ar,z,Q=[],F=[],oo),Dn),k===123)if(Xr===0)Rr(U,tn,V,V,Q,Dn,oo,Ar,F);else switch(io===99&&Kr(U,3)===110?100:io){case 100:case 109:case 115:Rr(ct,V,V,Rt&&Gt(Ro(ct,V,V,0,0,un,Ar,z,un,Q=[],oo),F),un,F,oo,Ar,Rt?Q:F);break;default:Rr(U,V,V,V,[\"\"],F,0,Ar,F)}}Pr=Xr=to=0,jn=P=1,z=U=\"\",oo=dr;break;case 58:oo=1+Ur(U),to=To;default:if(jn<1){if(k==123)--jn;else if(k==125&&jn++==0&&cn()==125)continue}switch(U+=Mn(k),k*jn){case 38:P=Xr>0?1:(U+=\"\\f\",-1);break;case 44:Ar[Pr++]=(Ur(U)-1)*P,P=1;break;case 64:Mr()===45&&(U+=Ti(er())),io=Mr(),Xr=oo=Ur(z=U+=Un(xr())),k++;break;case 45:To===45&&Ur(U)==2&&(jn=0)}}return Dn}function Ro(ct,tn,An,Rt,un,Dn,dr,Ar,Gr,Pr,Xr){for(var oo=un-1,io=un===0?Dn:[\"\"],to=gn(io),To=0,jn=0,W=0;To<Rt;++To)for(var P=0,k=ko(ct,oo+1,oo=Wn(jn=dr[To])),z=ct;P<to;++P)(z=pr(jn>0?io[P]+\" \"+k:Wr(k,/&\\f/g,io[P])))&&(Gr[W++]=z);return pt(ct,tn,An,un===0?Lt:Ar,Gr,Pr,Xr)}function Vo(ct,tn,An){return pt(ct,tn,An,dt,Mn(xt()),ko(ct,2,-2),0)}function Co(ct,tn,An,Rt){return pt(ct,tn,An,lt,ko(ct,0,Rt),ko(ct,Rt+1,-1),Rt)}var Mo=c(53675);function qo(ct,tn){var An=tn.path,Rt=tn.parentSelectors;devWarning(!1,\"[Ant Design CSS-in-JS] \".concat(An?\"Error in \".concat(An,\": \"):\"\").concat(ct).concat(Rt.length?\" Selector: \".concat(Rt.join(\" | \")):\"\"))}var ti=function(tn,An,Rt){if(tn===\"content\"){var un=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\\(|(no-)?(open|close)-quote/,Dn=[\"normal\",\"none\",\"initial\",\"inherit\",\"unset\"];(typeof An!=\"string\"||Dn.indexOf(An)===-1&&!un.test(An)&&(An.charAt(0)!==An.charAt(An.length-1)||An.charAt(0)!=='\"'&&An.charAt(0)!==\"'\"))&&lintWarning(\"You seem to be using a value for 'content' without quotes, try replacing it with `content: '\\\"\".concat(An,\"\\\"'`.\"),Rt)}},pi=null,ni=function(tn,An,Rt){tn===\"animation\"&&Rt.hashId&&An!==\"none\"&&lintWarning(\"You seem to be using hashed animation '\".concat(An,\"', in which case 'animationName' with Keyframe as value is recommended.\"),Rt)},si=null;function Oi(ct){var tn,An=((tn=ct.match(/:not\\(([^)]*)\\)/))===null||tn===void 0?void 0:tn[1])||\"\",Rt=An.split(/(\\[[^[]*])|(?=[.#])/).filter(function(un){return un});return Rt.length>1}function Ki(ct){return ct.parentSelectors.reduce(function(tn,An){return tn?An.includes(\"&\")?An.replace(/&/g,tn):\"\".concat(tn,\" \").concat(An):An},\"\")}var ca=function(tn,An,Rt){var un=Ki(Rt),Dn=un.match(/:not\\([^)]*\\)/g)||[];Dn.length>0&&Dn.some(Oi)&&lintWarning(\"Concat ':not' selector not support in legacy browsers.\",Rt)},zi=null,br=function(tn,An,Rt){switch(tn){case\"marginLeft\":case\"marginRight\":case\"paddingLeft\":case\"paddingRight\":case\"left\":case\"right\":case\"borderLeft\":case\"borderLeftWidth\":case\"borderLeftStyle\":case\"borderLeftColor\":case\"borderRight\":case\"borderRightWidth\":case\"borderRightStyle\":case\"borderRightColor\":case\"borderTopLeftRadius\":case\"borderTopRightRadius\":case\"borderBottomLeftRadius\":case\"borderBottomRightRadius\":lintWarning(\"You seem to be using non-logical property '\".concat(tn,\"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.\"),Rt);return;case\"margin\":case\"padding\":case\"borderWidth\":case\"borderStyle\":if(typeof An==\"string\"){var un=An.split(\" \").map(function(Ar){return Ar.trim()});un.length===4&&un[1]!==un[3]&&lintWarning(\"You seem to be using '\".concat(tn,\"' property with different left \").concat(tn,\" and right \").concat(tn,\", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.\"),Rt)}return;case\"clear\":case\"textAlign\":(An===\"left\"||An===\"right\")&&lintWarning(\"You seem to be using non-logical value '\".concat(An,\"' of \").concat(tn,\", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.\"),Rt);return;case\"borderRadius\":if(typeof An==\"string\"){var Dn=An.split(\"/\").map(function(Ar){return Ar.trim()}),dr=Dn.reduce(function(Ar,Gr){if(Ar)return Ar;var Pr=Gr.split(\" \").map(function(Xr){return Xr.trim()});return Pr.length>=2&&Pr[0]!==Pr[1]||Pr.length===3&&Pr[1]!==Pr[2]||Pr.length===4&&Pr[2]!==Pr[3]?!0:Ar},!1);dr&&lintWarning(\"You seem to be using non-logical value '\".concat(An,\"' of \").concat(tn,\", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.\"),Rt)}return;default:}},Re=null,je=function(tn,An,Rt){Rt.parentSelectors.some(function(un){var Dn=un.split(\",\");return Dn.some(function(dr){return dr.split(\"&\").length>2})})&&lintWarning(\"Should not use more than one `&` in a selector.\",Rt)},nt=null,rt=(0,ce.Z)(),Xt=\"_skip_check_\";function fn(ct){var tn=Zt(ar(ct),gt);return tn.replace(/\\{%%%\\:[^;];}/g,\";\")}function Cn(ct){return(0,De.Z)(ct)===\"object\"&&ct&&Xt in ct}function Yn(ct,tn,An){if(!tn)return ct;var Rt=\".\".concat(tn),un=An===\"low\"?\":where(\".concat(Rt,\")\"):Rt,Dn=ct.split(\",\").map(function(dr){var Ar,Gr=dr.trim().split(/\\s+/),Pr=Gr[0]||\"\",Xr=((Ar=Pr.match(/^\\w+/))===null||Ar===void 0?void 0:Ar[0])||\"\";return Pr=\"\".concat(Xr).concat(un).concat(Pr.slice(Xr.length)),[Pr].concat((0,y.Z)(Gr.slice(1))).join(\" \")});return Dn.join(\",\")}var Ae=function ct(tn){var An=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},un=Rt.root,Dn=Rt.injectHash,dr=Rt.parentSelectors,Ar=An.hashId,Gr=An.layer,Pr=An.path,Xr=An.hashPriority,oo=An.transformers,io=oo===void 0?[]:oo,to=An.linters,To=to===void 0?[]:to,jn=\"\",W={};function P(V){var U=V.getName(Ar);if(!W[U]){var ge=ct(V.style,An,{root:!1,parentSelectors:dr}),ke=(0,q.Z)(ge,1),St=ke[0];W[U]=\"@keyframes \".concat(V.getName(Ar)).concat(St)}}function k(V){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return V.forEach(function(ge){Array.isArray(ge)?k(ge,U):ge&&U.push(ge)}),U}var z=k(Array.isArray(tn)?tn:[tn]);if(z.forEach(function(V){var U=typeof V==\"string\"&&!un?{}:V;if(typeof U==\"string\")jn+=\"\".concat(U,`\n`);else if(U._keyframe)P(U);else{var ge=io.reduce(function(ke,St){var Je;return(St==null||(Je=St.visit)===null||Je===void 0?void 0:Je.call(St,ke))||ke},U);Object.keys(ge).forEach(function(ke){var St=ge[ke];if((0,De.Z)(St)===\"object\"&&St&&(ke!==\"animationName\"||!St._keyframe)&&!Cn(St)){var Je=!1,Ot=ke.trim(),It=!1;(un||Dn)&&Ar?Ot.startsWith(\"@\")?Je=!0:Ot=Yn(ke,Ar,Xr):un&&!Ar&&(Ot===\"&\"||Ot===\"\")&&(Ot=\"\",It=!0);var jt=ct(St,An,{root:It,injectHash:Je,parentSelectors:[].concat((0,y.Z)(dr),[Ot])}),Vt=(0,q.Z)(jt,2),Pn=Vt[0],Jn=Vt[1];W=(0,r.Z)((0,r.Z)({},W),Jn),jn+=\"\".concat(Ot).concat(Pn)}else{var vn,Vn=(vn=St==null?void 0:St.value)!==null&&vn!==void 0?vn:St,zt=ke.replace(/[A-Z]/g,function(nr){return\"-\".concat(nr.toLowerCase())}),ir=Vn;!et[ke]&&typeof ir==\"number\"&&ir!==0&&(ir=\"\".concat(ir,\"px\")),ke===\"animationName\"&&St!==null&&St!==void 0&&St._keyframe&&(P(St),ir=St.getName(Ar)),jn+=\"\".concat(zt,\":\").concat(ir,\";\")}})}}),!un)jn=\"{\".concat(jn,\"}\");else if(Gr&&ve()){var Q=Gr.split(\",\"),F=Q[Q.length-1].trim();jn=\"@layer \".concat(F,\" {\").concat(jn,\"}\"),Q.length>1&&(jn=\"@layer \".concat(Gr,\"{%%%:%}\").concat(jn))}return[jn,W]};function Ke(ct,tn){return w(\"\".concat(ct.join(\"%\")).concat(tn))}function Mt(){return null}function Ut(ct,tn){var An=ct.token,Rt=ct.path,un=ct.hashId,Dn=ct.layer,dr=N.useContext(J),Ar=dr.autoClear,Gr=dr.mock,Pr=dr.defaultCache,Xr=dr.hashPriority,oo=dr.container,io=dr.ssrInline,to=dr.transformers,To=dr.linters,jn=An._tokenKey,W=[jn].concat((0,y.Z)(Rt)),P=rt,k=Le(\"style\",W,function(){var U=tn(),ge=Ae(U,{hashId:un,hashPriority:Xr,layer:Dn,path:Rt.join(\"-\"),transformers:to,linters:To}),ke=(0,q.Z)(ge,2),St=ke[0],Je=ke[1],Ot=fn(St),It=Ke(W,Ot);if(P){var jt=(0,ye.hq)(Ot,It,{mark:m,prepend:\"queue\",attachTo:oo});jt[M]=E,jt.setAttribute(s,jn),Object.keys(Je).forEach(function(Vt){(0,ye.hq)(fn(Je[Vt]),\"_effect-\".concat(Vt),{mark:m,prepend:\"queue\",attachTo:oo})})}return[Ot,jn,It]},function(U,ge){var ke=(0,q.Z)(U,3),St=ke[2];(ge||Ar)&&rt&&(0,ye.jL)(St,{mark:m})}),z=(0,q.Z)(k,3),Q=z[0],F=z[1],V=z[2];return function(U){var ge;if(!io||P||!Pr)ge=N.createElement(Mt,null);else{var ke;ge=N.createElement(\"style\",(0,Ze.Z)({},(ke={},(0,a.Z)(ke,s,F),(0,a.Z)(ke,m,V),ke),{dangerouslySetInnerHTML:{__html:Q}}))}return N.createElement(N.Fragment,null,ge,U)}}function kn(ct){var tn=Array.from(ct.cache.keys()).filter(function(Rt){return Rt.startsWith(\"style%\")}),An=\"\";return tn.forEach(function(Rt){var un=_slicedToArray(ct.cache.get(Rt)[1],3),Dn=un[0],dr=un[1],Ar=un[2];An+=\"<style \".concat(ATTR_TOKEN,'=\"').concat(dr,'\" ').concat(ATTR_MARK,'=\"').concat(Ar,'\">').concat(Dn,\"</style>\")}),An}var Zn=function(){function ct(tn,An){(0,p.Z)(this,ct),(0,a.Z)(this,\"name\",void 0),(0,a.Z)(this,\"style\",void 0),(0,a.Z)(this,\"_keyframe\",!0),this.name=tn,this.style=An}return(0,u.Z)(ct,[{key:\"getName\",value:function(){var An=arguments.length>0&&arguments[0]!==void 0?arguments[0]:\"\";return An?\"\".concat(An,\"-\").concat(this.name):this.name}}]),ct}(),lr=Zn;function wr(ct,tn){if(ct.length!==tn.length)return!1;for(var An=0;An<ct.length;An++)if(ct[An]!==tn[An])return!1;return!0}var Dr=function(){function ct(){(0,p.Z)(this,ct),(0,a.Z)(this,\"cache\",void 0),(0,a.Z)(this,\"keys\",void 0),(0,a.Z)(this,\"cacheCallTimes\",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,u.Z)(ct,[{key:\"size\",value:function(){return this.keys.length}},{key:\"internalGet\",value:function(An){var Rt,un,Dn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,dr={map:this.cache};return An.forEach(function(Ar){if(!dr)dr=void 0;else{var Gr,Pr;dr=(Gr=dr)===null||Gr===void 0||(Pr=Gr.map)===null||Pr===void 0?void 0:Pr.get(Ar)}}),(Rt=dr)!==null&&Rt!==void 0&&Rt.value&&Dn&&(dr.value[1]=this.cacheCallTimes++),(un=dr)===null||un===void 0?void 0:un.value}},{key:\"get\",value:function(An){var Rt;return(Rt=this.internalGet(An,!0))===null||Rt===void 0?void 0:Rt[0]}},{key:\"has\",value:function(An){return!!this.internalGet(An)}},{key:\"set\",value:function(An,Rt){var un=this;if(!this.has(An)){if(this.size()+1>ct.MAX_CACHE_SIZE+ct.MAX_CACHE_OFFSET){var Dn=this.keys.reduce(function(Pr,Xr){var oo=(0,q.Z)(Pr,2),io=oo[1];return un.internalGet(Xr)[1]<io?[Xr,un.internalGet(Xr)[1]]:Pr},[this.keys[0],this.cacheCallTimes]),dr=(0,q.Z)(Dn,1),Ar=dr[0];this.delete(Ar)}this.keys.push(An)}var Gr=this.cache;An.forEach(function(Pr,Xr){if(Xr===An.length-1)Gr.set(Pr,{value:[Rt,un.cacheCallTimes++]});else{var oo=Gr.get(Pr);oo?oo.map||(oo.map=new Map):Gr.set(Pr,{map:new Map}),Gr=Gr.get(Pr).map}})}},{key:\"deleteByPath\",value:function(An,Rt){var un=An.get(Rt[0]);if(Rt.length===1){var Dn;return un.map?An.set(Rt[0],{map:un.map}):An.delete(Rt[0]),(Dn=un.value)===null||Dn===void 0?void 0:Dn[0]}var dr=this.deleteByPath(un.map,Rt.slice(1));return(!un.map||un.map.size===0)&&!un.value&&An.delete(Rt[0]),dr}},{key:\"delete\",value:function(An){if(this.has(An))return this.keys=this.keys.filter(function(Rt){return!wr(Rt,An)}),this.deleteByPath(this.cache,An)}}]),ct}();(0,a.Z)(Dr,\"MAX_CACHE_SIZE\",20),(0,a.Z)(Dr,\"MAX_CACHE_OFFSET\",5);var go=0,Ir=function(){function ct(tn){(0,p.Z)(this,ct),(0,a.Z)(this,\"derivatives\",void 0),(0,a.Z)(this,\"id\",void 0),this.derivatives=Array.isArray(tn)?tn:[tn],this.id=go,tn.length===0&&(0,Mo.Kp)(tn.length>0,\"[Ant Design CSS-in-JS] Theme should have at least one derivative function.\"),go+=1}return(0,u.Z)(ct,[{key:\"getDerivativeToken\",value:function(An){return this.derivatives.reduce(function(Rt,un){return un(An,Rt)},void 0)}}]),ct}(),Jr=new Dr;function _o(ct){var tn=Array.isArray(ct)?ct:[ct];return Jr.has(tn)||Jr.set(tn,new Ir(tn)),Jr.get(tn)}function No(ct){if(typeof ct==\"number\")return[[ct],!1];var tn=String(ct).trim(),An=tn.match(/(.*)(!important)/),Rt=(An?An[1]:tn).trim().split(/\\s+/),un=\"\",Dn=0;return[Rt.reduce(function(dr,Ar){return Ar.includes(\"(\")?(un+=Ar,Dn+=Ar.split(\"(\").length-1):Ar.includes(\")\")?(un+=Ar,Dn-=Ar.split(\")\").length-1,Dn===0&&(dr.push(un),un=\"\")):Dn>0?un+=Ar:dr.push(Ar),dr},[]),!!An]}function ii(ct){return ct.notSplit=!0,ct}var Lo={inset:[\"top\",\"right\",\"bottom\",\"left\"],insetBlock:[\"top\",\"bottom\"],insetBlockStart:[\"top\"],insetBlockEnd:[\"bottom\"],insetInline:[\"left\",\"right\"],insetInlineStart:[\"left\"],insetInlineEnd:[\"right\"],marginBlock:[\"marginTop\",\"marginBottom\"],marginBlockStart:[\"marginTop\"],marginBlockEnd:[\"marginBottom\"],marginInline:[\"marginLeft\",\"marginRight\"],marginInlineStart:[\"marginLeft\"],marginInlineEnd:[\"marginRight\"],paddingBlock:[\"paddingTop\",\"paddingBottom\"],paddingBlockStart:[\"paddingTop\"],paddingBlockEnd:[\"paddingBottom\"],paddingInline:[\"paddingLeft\",\"paddingRight\"],paddingInlineStart:[\"paddingLeft\"],paddingInlineEnd:[\"paddingRight\"],borderBlock:ii([\"borderTop\",\"borderBottom\"]),borderBlockStart:ii([\"borderTop\"]),borderBlockEnd:ii([\"borderBottom\"]),borderInline:ii([\"borderLeft\",\"borderRight\"]),borderInlineStart:ii([\"borderLeft\"]),borderInlineEnd:ii([\"borderRight\"]),borderBlockWidth:[\"borderTopWidth\",\"borderBottomWidth\"],borderBlockStartWidth:[\"borderTopWidth\"],borderBlockEndWidth:[\"borderBottomWidth\"],borderInlineWidth:[\"borderLeftWidth\",\"borderRightWidth\"],borderInlineStartWidth:[\"borderLeftWidth\"],borderInlineEndWidth:[\"borderRightWidth\"],borderBlockStyle:[\"borderTopStyle\",\"borderBottomStyle\"],borderBlockStartStyle:[\"borderTopStyle\"],borderBlockEndStyle:[\"borderBottomStyle\"],borderInlineStyle:[\"borderLeftStyle\",\"borderRightStyle\"],borderInlineStartStyle:[\"borderLeftStyle\"],borderInlineEndStyle:[\"borderRightStyle\"],borderBlockColor:[\"borderTopColor\",\"borderBottomColor\"],borderBlockStartColor:[\"borderTopColor\"],borderBlockEndColor:[\"borderBottomColor\"],borderInlineColor:[\"borderLeftColor\",\"borderRightColor\"],borderInlineStartColor:[\"borderLeftColor\"],borderInlineEndColor:[\"borderRightColor\"],borderStartStartRadius:[\"borderTopLeftRadius\"],borderStartEndRadius:[\"borderTopRightRadius\"],borderEndStartRadius:[\"borderBottomLeftRadius\"],borderEndEndRadius:[\"borderBottomRightRadius\"]};function ai(ct,tn){var An=ct;return tn&&(An=\"\".concat(An,\" !important\")),{_skip_check_:!0,value:An}}var Si={visit:function(tn){var An={};return Object.keys(tn).forEach(function(Rt){var un=tn[Rt],Dn=Lo[Rt];if(Dn&&(typeof un==\"number\"||typeof un==\"string\")){var dr=No(un),Ar=(0,q.Z)(dr,2),Gr=Ar[0],Pr=Ar[1];Dn.length&&Dn.notSplit?Dn.forEach(function(Xr){An[Xr]=ai(un,Pr)}):Dn.length===1?An[Dn[0]]=ai(un,Pr):Dn.length===2?Dn.forEach(function(Xr,oo){var io;An[Xr]=ai((io=Gr[oo])!==null&&io!==void 0?io:Gr[0],Pr)}):Dn.length===4?Dn.forEach(function(Xr,oo){var io,to;An[Xr]=ai((io=(to=Gr[oo])!==null&&to!==void 0?to:Gr[oo-2])!==null&&io!==void 0?io:Gr[0],Pr)}):An[Rt]=un}else An[Rt]=un}),An}},Ui=null,ln=/url\\([^)]+\\)|var\\([^)]+\\)|(\\d*\\.?\\d+)px/g;function mn(ct,tn){var An=Math.pow(10,tn+1),Rt=Math.floor(ct*An);return Math.round(Rt/10)*10/An}var fr=function(){var tn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},An=tn.rootValue,Rt=An===void 0?16:An,un=tn.precision,Dn=un===void 0?5:un,dr=tn.mediaQuery,Ar=dr===void 0?!1:dr,Gr=function(oo,io){if(!io)return oo;var to=parseFloat(io);if(to<=1)return oo;var To=mn(to/Rt,Dn);return\"\".concat(To,\"rem\")},Pr=function(oo){var io=_objectSpread({},oo);return Object.entries(oo).forEach(function(to){var To=_slicedToArray(to,2),jn=To[0],W=To[1];if(typeof W==\"string\"&&W.includes(\"px\")){var P=W.replace(ln,Gr);io[jn]=P}!unitless[jn]&&typeof W==\"number\"&&W!==0&&(io[jn]=\"\".concat(W,\"px\").replace(ln,Gr));var k=jn.trim();if(k.startsWith(\"@\")&&k.includes(\"px\")&&Ar){var z=jn.replace(ln,Gr);io[z]=io[jn],delete io[jn]}}),io};return{visit:Pr}},ft=null},58649:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return ce}});var r=c(75782),y=c(91600),N=c(24572),C=c(58733),w=c(50959),O=c(84875),b=c.n(O),p=c(35807),u=c(26143),a=c(81548),f=c(53675),h=c(52797);function l(ye,Oe){(0,f.ZP)(ye,\"[@ant-design/icons] \".concat(Oe))}function s(ye){return(0,u.Z)(ye)===\"object\"&&typeof ye.name==\"string\"&&typeof ye.theme==\"string\"&&((0,u.Z)(ye.icon)===\"object\"||typeof ye.icon==\"function\")}function m(){var ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(ye).reduce(function(Oe,Ce){var oe=ye[Ce];switch(Ce){case\"class\":Oe.className=oe,delete Oe.class;break;default:Oe[Ce]=oe}return Oe},{})}function x(ye,Oe,Ce){return Ce?w.createElement(ye.tag,(0,r.Z)((0,r.Z)({key:Oe},m(ye.attrs)),Ce),(ye.children||[]).map(function(oe,he){return x(oe,\"\".concat(Oe,\"-\").concat(ye.tag,\"-\").concat(he))})):w.createElement(ye.tag,(0,r.Z)({key:Oe},m(ye.attrs)),(ye.children||[]).map(function(oe,he){return x(oe,\"\".concat(Oe,\"-\").concat(ye.tag,\"-\").concat(he))}))}function M(ye){return(0,a.R_)(ye)[0]}function E(ye){return ye?Array.isArray(ye)?ye:[ye]:[]}var j={width:\"1em\",height:\"1em\",fill:\"currentColor\",\"aria-hidden\":\"true\",focusable:\"false\"},L=`\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`,A=function(){var Oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:L,Ce=(0,w.useContext)(p.Z),oe=Ce.csp,he=Ce.prefixCls,ie=Oe;he&&(ie=ie.replace(/anticon/g,he)),(0,w.useEffect)(function(){(0,h.hq)(ie,\"@ant-design-icons\",{prepend:!0,csp:oe})},[])},J=[\"icon\",\"className\",\"onClick\",\"style\",\"primaryColor\",\"secondaryColor\"],q={primaryColor:\"#333\",secondaryColor:\"#E6E6E6\",calculated:!1};function re(ye){var Oe=ye.primaryColor,Ce=ye.secondaryColor;q.primaryColor=Oe,q.secondaryColor=Ce||M(Oe),q.calculated=!!Ce}function me(){return(0,r.Z)({},q)}var Te=function(Oe){var Ce=Oe.icon,oe=Oe.className,he=Oe.onClick,ie=Oe.style,ae=Oe.primaryColor,ve=Oe.secondaryColor,X=(0,C.Z)(Oe,J),se=q;if(ae&&(se={primaryColor:ae,secondaryColor:ve||M(ae)}),A(),l(s(Ce),\"icon should be icon definiton, but got \".concat(Ce)),!s(Ce))return null;var fe=Ce;return fe&&typeof fe.icon==\"function\"&&(fe=(0,r.Z)((0,r.Z)({},fe),{},{icon:fe.icon(se.primaryColor,se.secondaryColor)})),x(fe.icon,\"svg-\".concat(fe.name),(0,r.Z)({className:oe,onClick:he,style:ie,\"data-icon\":fe.name,width:\"1em\",height:\"1em\",fill:\"currentColor\",\"aria-hidden\":\"true\"},X))};Te.displayName=\"IconReact\",Te.getTwoToneColors=me,Te.setTwoToneColors=re;var ee=Te;function xe(ye){var Oe=E(ye),Ce=(0,y.Z)(Oe,2),oe=Ce[0],he=Ce[1];return ee.setTwoToneColors({primaryColor:oe,secondaryColor:he})}function Ie(){var ye=ee.getTwoToneColors();return ye.calculated?[ye.primaryColor,ye.secondaryColor]:ye.primaryColor}var Le=[\"className\",\"icon\",\"spin\",\"rotate\",\"tabIndex\",\"onClick\",\"twoToneColor\"];xe(\"#1890ff\");var De=w.forwardRef(function(ye,Oe){var Ce,oe=ye.className,he=ye.icon,ie=ye.spin,ae=ye.rotate,ve=ye.tabIndex,X=ye.onClick,se=ye.twoToneColor,fe=(0,C.Z)(ye,Le),_e=w.useContext(p.Z),be=_e.prefixCls,We=be===void 0?\"anticon\":be,we=_e.rootClassName,Ze=b()(we,We,(Ce={},(0,N.Z)(Ce,\"\".concat(We,\"-\").concat(he.name),!!he.name),(0,N.Z)(Ce,\"\".concat(We,\"-spin\"),!!ie||he.name===\"loading\"),Ce),oe),Ve=ve;Ve===void 0&&X&&(Ve=-1);var et=ae?{msTransform:\"rotate(\".concat(ae,\"deg)\"),transform:\"rotate(\".concat(ae,\"deg)\")}:void 0,ht=E(se),Fe=(0,y.Z)(ht,2),mt=Fe[0],dt=Fe[1];return w.createElement(\"span\",(0,r.Z)((0,r.Z)({role:\"img\",\"aria-label\":he.name},fe),{},{ref:Oe,tabIndex:Ve,onClick:X,className:Ze}),w.createElement(ee,{icon:he,primaryColor:mt,secondaryColor:dt,style:et}))});De.displayName=\"AntdIcon\",De.getTwoToneColor=Ie,De.setTwoToneColor=xe;var ce=De},35807:function(Pt,Ee,c){\"use strict\";var r=c(50959),y=(0,r.createContext)({});Ee.Z=y},58218:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M766.4 744.3c43.7 0 79.4-36.2 79.4-80.5 0-53.5-79.4-140.8-79.4-140.8S687 610.3 687 663.8c0 44.3 35.7 80.5 79.4 80.5zm-377.1-44.1c7.1 7.1 18.6 7.1 25.6 0l256.1-256c7.1-7.1 7.1-18.6 0-25.6l-256-256c-.6-.6-1.3-1.2-2-1.7l-78.2-78.2a9.11 9.11 0 00-12.8 0l-48 48a9.11 9.11 0 000 12.8l67.2 67.2-207.8 207.9c-7.1 7.1-7.1 18.6 0 25.6l255.9 256zm12.9-448.6l178.9 178.9H223.4l178.8-178.9zM904 816H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8z\"}}]},name:\"bg-colors\",theme:\"outlined\"},C=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"BgColorsOutlined\";var b=y.forwardRef(O)},82204:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{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:\"border\",theme:\"outlined\"},C=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"BorderOutlined\";var b=y.forwardRef(O)},39810:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={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\"},C=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"CloseCircleFilled\";var b=y.forwardRef(O)},59944:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z\"}}]},name:\"download\",theme:\"outlined\"},C=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"DownloadOutlined\";var b=y.forwardRef(O)},1409:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={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=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"EllipsisOutlined\";var b=y.forwardRef(O)},19e3:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={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\"},C=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"LoadingOutlined\";var b=y.forwardRef(O)},21926:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"defs\",attrs:{},children:[{tag:\"style\",attrs:{}}]},{tag:\"path\",attrs:{d:\"M640.6 429.8h257.1c7.9 0 14.3-6.4 14.3-14.3V158.3c0-7.9-6.4-14.3-14.3-14.3H640.6c-7.9 0-14.3 6.4-14.3 14.3v92.9H490.6c-3.9 0-7.1 3.2-7.1 7.1v221.5h-85.7v-96.5c0-7.9-6.4-14.3-14.3-14.3H126.3c-7.9 0-14.3 6.4-14.3 14.3v257.2c0 7.9 6.4 14.3 14.3 14.3h257.1c7.9 0 14.3-6.4 14.3-14.3V544h85.7v221.5c0 3.9 3.2 7.1 7.1 7.1h135.7v92.9c0 7.9 6.4 14.3 14.3 14.3h257.1c7.9 0 14.3-6.4 14.3-14.3v-257c0-7.9-6.4-14.3-14.3-14.3h-257c-7.9 0-14.3 6.4-14.3 14.3v100h-78.6v-393h78.6v100c0 7.9 6.4 14.3 14.3 14.3zm53.5-217.9h150V362h-150V211.9zM329.9 587h-150V437h150v150zm364.2 75.1h150v150.1h-150V662.1z\"}}]},name:\"partition\",theme:\"outlined\"},C=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"PartitionOutlined\";var b=y.forwardRef(O)},60623:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zM338 304c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm513.9 437.1a8.11 8.11 0 01-5.2 1.9H177.2c-4.4 0-8-3.6-8-8 0-1.9.7-3.7 1.9-5.2l170.3-202c2.8-3.4 7.9-3.8 11.3-1 .3.3.7.6 1 1l99.4 118 158.1-187.5c2.8-3.4 7.9-3.8 11.3-1 .3.3.7.6 1 1l229.6 271.6c2.6 3.3 2.2 8.4-1.2 11.2z\"}}]},name:\"picture\",theme:\"filled\"},C=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"PictureFilled\";var b=y.forwardRef(O)},61567:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2zM304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z\"}}]},name:\"picture\",theme:\"outlined\"},C=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"PictureOutlined\";var b=y.forwardRef(O)},78624:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z\"}}]},name:\"reload\",theme:\"outlined\"},C=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"ReloadOutlined\";var b=y.forwardRef(O)},30211:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M793 242H366v-74c0-6.7-7.7-10.4-12.9-6.3l-142 112a8 8 0 000 12.6l142 112c5.2 4.1 12.9.4 12.9-6.3v-74h415v470H175c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h618c35.3 0 64-28.7 64-64V306c0-35.3-28.7-64-64-64z\"}}]},name:\"rollback\",theme:\"outlined\"},C=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"RollbackOutlined\";var b=y.forwardRef(O)},30716:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={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=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"SearchOutlined\";var b=y.forwardRef(O)},52962:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M832 112H724V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H500V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H320c-17.7 0-32 14.3-32 32v120h-96c-17.7 0-32 14.3-32 32v632c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32v-96h96c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM664 486H514V336h.2L664 485.8v.2zm128 274h-56V456L544 264H360v-80h68v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h152v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h68v576z\"}}]},name:\"snippets\",theme:\"filled\"},C=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"SnippetsFilled\";var b=y.forwardRef(O)},98052:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M832 112H724V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H500V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H320c-17.7 0-32 14.3-32 32v120h-96c-17.7 0-32 14.3-32 32v632c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32v-96h96c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM664 888H232V336h218v174c0 22.1 17.9 40 40 40h174v338zm0-402H514V336h.2L664 485.8v.2zm128 274h-56V456L544 264H360v-80h68v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h152v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h68v576z\"}}]},name:\"snippets\",theme:\"outlined\"},C=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"SnippetsOutlined\";var b=y.forwardRef(O)},40367:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"defs\",attrs:{},children:[{tag:\"style\",attrs:{}}]},{tag:\"path\",attrs:{d:\"M736 550H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16h448c8.8 0 16-7.2 16-16V566c0-8.8-7.2-16-16-16zm-56 136H344v-64h336v64zm208 130c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zM736 266H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16h448c8.8 0 16-7.2 16-16V282c0-8.8-7.2-16-16-16zm-56 136H344v-64h336v64zm208-194c39.8 0 72-32.2 72-72s-32.2-72-72-72-72 32.2-72 72 32.2 72 72 72zm0-96c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zM136 64c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm0 656c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24z\"}}]},name:\"ungroup\",theme:\"outlined\"},C=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"UngroupOutlined\";var b=y.forwardRef(O)},57773:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z\"}}]},name:\"zoom-in\",theme:\"outlined\"},C=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"ZoomInOutlined\";var b=y.forwardRef(O)},97378:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z\"}}]},name:\"zoom-out\",theme:\"outlined\"},C=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"ZoomOutOutlined\";var b=y.forwardRef(O)},16011:function(Pt){(function(Ee,c){Pt.exports=c()})(this,function(){return function(Ee){var c={};function r(y){if(c[y])return c[y].exports;var N=c[y]={i:y,l:!1,exports:{}};return Ee[y].call(N.exports,N,N.exports,r),N.l=!0,N.exports}return r.m=Ee,r.c=c,r.d=function(y,N,C){r.o(y,N)||Object.defineProperty(y,N,{enumerable:!0,get:C})},r.r=function(y){typeof Symbol!=\"undefined\"&&Symbol.toStringTag&&Object.defineProperty(y,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(y,\"__esModule\",{value:!0})},r.t=function(y,N){if(1&N&&(y=r(y)),8&N||4&N&&typeof y==\"object\"&&y&&y.__esModule)return y;var C=Object.create(null);if(r.r(C),Object.defineProperty(C,\"default\",{enumerable:!0,value:y}),2&N&&typeof y!=\"string\")for(var w in y)r.d(C,w,function(O){return y[O]}.bind(null,w));return C},r.n=function(y){var N=y&&y.__esModule?function(){return y.default}:function(){return y};return r.d(N,\"a\",N),N},r.o=function(y,N){return Object.prototype.hasOwnProperty.call(y,N)},r.p=\"\",r(r.s=210)}([function(Ee,c,r){\"use strict\";r.r(c),r.d(c,\"contains\",function(){return N}),r.d(c,\"includes\",function(){return N}),r.d(c,\"difference\",function(){return w}),r.d(c,\"find\",function(){return j}),r.d(c,\"findIndex\",function(){return L}),r.d(c,\"firstValue\",function(){return A}),r.d(c,\"flatten\",function(){return J}),r.d(c,\"flattenDeep\",function(){return q}),r.d(c,\"getRange\",function(){return Te}),r.d(c,\"pull\",function(){return Le}),r.d(c,\"pullAt\",function(){return ce}),r.d(c,\"reduce\",function(){return ye}),r.d(c,\"remove\",function(){return Oe}),r.d(c,\"sortBy\",function(){return oe}),r.d(c,\"union\",function(){return ie}),r.d(c,\"uniq\",function(){return he}),r.d(c,\"valuesOfKey\",function(){return ae}),r.d(c,\"head\",function(){return ve}),r.d(c,\"last\",function(){return X}),r.d(c,\"startsWith\",function(){return se}),r.d(c,\"endsWith\",function(){return fe}),r.d(c,\"filter\",function(){return C}),r.d(c,\"every\",function(){return _e}),r.d(c,\"some\",function(){return be}),r.d(c,\"group\",function(){return Ve}),r.d(c,\"groupBy\",function(){return we}),r.d(c,\"groupToMap\",function(){return Ze}),r.d(c,\"getWrapBehavior\",function(){return et}),r.d(c,\"wrapBehavior\",function(){return ht}),r.d(c,\"number2color\",function(){return mt}),r.d(c,\"parseRadius\",function(){return dt}),r.d(c,\"clamp\",function(){return Lt}),r.d(c,\"fixedBase\",function(){return lt}),r.d(c,\"isDecimal\",function(){return qt}),r.d(c,\"isEven\",function(){return hn}),r.d(c,\"isInteger\",function(){return Kt}),r.d(c,\"isNegative\",function(){return an}),r.d(c,\"isNumberEqual\",function(){return In}),r.d(c,\"isOdd\",function(){return Ft}),r.d(c,\"isPositive\",function(){return kt}),r.d(c,\"max\",function(){return re}),r.d(c,\"maxBy\",function(){return At}),r.d(c,\"min\",function(){return me}),r.d(c,\"minBy\",function(){return Fn}),r.d(c,\"mod\",function(){return pn}),r.d(c,\"toDegree\",function(){return Wn}),r.d(c,\"toInteger\",function(){return Mn}),r.d(c,\"toRadian\",function(){return hr}),r.d(c,\"forIn\",function(){return pr}),r.d(c,\"has\",function(){return zr}),r.d(c,\"hasKey\",function(){return Wr}),r.d(c,\"hasValue\",function(){return Kr}),r.d(c,\"keys\",function(){return s}),r.d(c,\"isMatch\",function(){return m}),r.d(c,\"values\",function(){return Nr}),r.d(c,\"lowerCase\",function(){return Ur}),r.d(c,\"lowerFirst\",function(){return gn}),r.d(c,\"substitute\",function(){return Gt}),r.d(c,\"upperCase\",function(){return bt}),r.d(c,\"upperFirst\",function(){return Zt}),r.d(c,\"getType\",function(){return Wt}),r.d(c,\"isArguments\",function(){return xn}),r.d(c,\"isArray\",function(){return a}),r.d(c,\"isArrayLike\",function(){return y}),r.d(c,\"isBoolean\",function(){return Dt}),r.d(c,\"isDate\",function(){return Xn}),r.d(c,\"isError\",function(){return Rn}),r.d(c,\"isFunction\",function(){return p}),r.d(c,\"isFinite\",function(){return wt}),r.d(c,\"isNil\",function(){return u}),r.d(c,\"isNull\",function(){return pt}),r.d(c,\"isNumber\",function(){return rn}),r.d(c,\"isObject\",function(){return h}),r.d(c,\"isObjectLike\",function(){return M}),r.d(c,\"isPlainObject\",function(){return E}),r.d(c,\"isPrototype\",function(){return xt}),r.d(c,\"isRegExp\",function(){return cn}),r.d(c,\"isString\",function(){return Ce}),r.d(c,\"isType\",function(){return b}),r.d(c,\"isUndefined\",function(){return er}),r.d(c,\"isElement\",function(){return Mr}),r.d(c,\"requestAnimationFrame\",function(){return xr}),r.d(c,\"clearAnimationFrame\",function(){return jr}),r.d(c,\"augment\",function(){return vi}),r.d(c,\"clone\",function(){return wi}),r.d(c,\"debounce\",function(){return mi}),r.d(c,\"memoize\",function(){return Zi}),r.d(c,\"deepMix\",function(){return $e}),r.d(c,\"each\",function(){return l}),r.d(c,\"extend\",function(){return dn}),r.d(c,\"indexOf\",function(){return Un}),r.d(c,\"isEmpty\",function(){return Rr}),r.d(c,\"isEqual\",function(){return Ro}),r.d(c,\"isEqualWith\",function(){return Vo}),r.d(c,\"map\",function(){return Co}),r.d(c,\"mapValues\",function(){return qo}),r.d(c,\"mix\",function(){return eo}),r.d(c,\"assign\",function(){return eo}),r.d(c,\"get\",function(){return ti}),r.d(c,\"set\",function(){return pi}),r.d(c,\"pick\",function(){return si}),r.d(c,\"omit\",function(){return Oi}),r.d(c,\"throttle\",function(){return Ki}),r.d(c,\"toArray\",function(){return ca}),r.d(c,\"toString\",function(){return ko}),r.d(c,\"uniqueId\",function(){return br}),r.d(c,\"noop\",function(){return Re}),r.d(c,\"identity\",function(){return je}),r.d(c,\"size\",function(){return nt}),r.d(c,\"measureTextWidth\",function(){return fn}),r.d(c,\"getEllipsisText\",function(){return Cn}),r.d(c,\"Cache\",function(){return Yn});var y=function(Ae){return Ae!==null&&typeof Ae!=\"function\"&&isFinite(Ae.length)},N=function(Ae,Ke){return!!y(Ae)&&Ae.indexOf(Ke)>-1},C=function(Ae,Ke){if(!y(Ae))return Ae;for(var Mt=[],Ut=0;Ut<Ae.length;Ut++){var kn=Ae[Ut];Ke(kn,Ut)&&Mt.push(kn)}return Mt},w=function(Ae,Ke){return Ke===void 0&&(Ke=[]),C(Ae,function(Mt){return!N(Ke,Mt)})},O={}.toString,b=function(Ae,Ke){return O.call(Ae)===\"[object \"+Ke+\"]\"},p=function(Ae){return b(Ae,\"Function\")},u=function(Ae){return Ae==null},a=function(Ae){return Array.isArray?Array.isArray(Ae):b(Ae,\"Array\")};function f(Ae){return(f=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(Ke){return typeof Ke}:function(Ke){return Ke&&typeof Symbol==\"function\"&&Ke.constructor===Symbol&&Ke!==Symbol.prototype?\"symbol\":typeof Ke})(Ae)}var h=function(Ae){var Ke=f(Ae);return Ae!==null&&Ke===\"object\"||Ke===\"function\"},l=function(Ae,Ke){if(Ae){if(a(Ae))for(var Mt=0,Ut=Ae.length;Mt<Ut&&Ke(Ae[Mt],Mt)!==!1;Mt++);else if(h(Ae)){for(var kn in Ae)if(Ae.hasOwnProperty(kn)&&Ke(Ae[kn],kn)===!1)break}}},s=Object.keys?function(Ae){return Object.keys(Ae)}:function(Ae){var Ke=[];return l(Ae,function(Mt,Ut){p(Ae)&&Ut===\"prototype\"||Ke.push(Ut)}),Ke},m=function(Ae,Ke){var Mt=s(Ke),Ut=Mt.length;if(u(Ae))return!Ut;for(var kn=0;kn<Ut;kn+=1){var Zn=Mt[kn];if(Ke[Zn]!==Ae[Zn]||!(Zn in Ae))return!1}return!0};function x(Ae){return(x=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(Ke){return typeof Ke}:function(Ke){return Ke&&typeof Symbol==\"function\"&&Ke.constructor===Symbol&&Ke!==Symbol.prototype?\"symbol\":typeof Ke})(Ae)}var M=function(Ae){return x(Ae)===\"object\"&&Ae!==null},E=function(Ae){if(!M(Ae)||!b(Ae,\"Object\"))return!1;if(Object.getPrototypeOf(Ae)===null)return!0;for(var Ke=Ae;Object.getPrototypeOf(Ke)!==null;)Ke=Object.getPrototypeOf(Ke);return Object.getPrototypeOf(Ae)===Ke},j=function(Ae,Ke){if(!a(Ae))return null;var Mt;if(p(Ke)&&(Mt=Ke),E(Ke)&&(Mt=function(kn){return m(kn,Ke)}),Mt){for(var Ut=0;Ut<Ae.length;Ut+=1)if(Mt(Ae[Ut]))return Ae[Ut]}return null},L=function(Ae,Ke,Mt){Mt===void 0&&(Mt=0);for(var Ut=Mt;Ut<Ae.length;Ut++)if(Ke(Ae[Ut],Ut))return Ut;return-1},A=function(Ae,Ke){for(var Mt=null,Ut=0;Ut<Ae.length;Ut++){var kn=Ae[Ut][Ke];if(!u(kn)){Mt=a(kn)?kn[0]:kn;break}}return Mt},J=function(Ae){if(!a(Ae))return[];for(var Ke=[],Mt=0;Mt<Ae.length;Mt++)Ke=Ke.concat(Ae[Mt]);return Ke},q=function Ae(Ke,Mt){if(Mt===void 0&&(Mt=[]),a(Ke))for(var Ut=0;Ut<Ke.length;Ut+=1)Ae(Ke[Ut],Mt);else Mt.push(Ke);return Mt},re=function(Ae){if(a(Ae))return Ae.reduce(function(Ke,Mt){return Math.max(Ke,Mt)},Ae[0])},me=function(Ae){if(a(Ae))return Ae.reduce(function(Ke,Mt){return Math.min(Ke,Mt)},Ae[0])},Te=function(Ae){var Ke=Ae.filter(function(Zn){return!isNaN(Zn)});if(!Ke.length)return{min:0,max:0};if(a(Ae[0])){for(var Mt=[],Ut=0;Ut<Ae.length;Ut++)Mt=Mt.concat(Ae[Ut]);Ke=Mt}var kn=re(Ke);return{min:me(Ke),max:kn}},ee=Array.prototype,xe=ee.splice,Ie=ee.indexOf,Le=function(Ae){for(var Ke=[],Mt=1;Mt<arguments.length;Mt++)Ke[Mt-1]=arguments[Mt];for(var Ut=0;Ut<Ke.length;Ut++)for(var kn=Ke[Ut],Zn=-1;(Zn=Ie.call(Ae,kn))>-1;)xe.call(Ae,Zn,1);return Ae},De=Array.prototype.splice,ce=function(Ae,Ke){if(!y(Ae))return[];for(var Mt=Ae?Ke.length:0,Ut=Mt-1;Mt--;){var kn=void 0,Zn=Ke[Mt];Mt!==Ut&&Zn===kn||(kn=Zn,De.call(Ae,Zn,1))}return Ae},ye=function(Ae,Ke,Mt){if(!a(Ae)&&!E(Ae))return Ae;var Ut=Mt;return l(Ae,function(kn,Zn){Ut=Ke(Ut,kn,Zn)}),Ut},Oe=function(Ae,Ke){var Mt=[];if(!y(Ae))return Mt;for(var Ut=-1,kn=[],Zn=Ae.length;++Ut<Zn;){var lr=Ae[Ut];Ke(lr,Ut,Ae)&&(Mt.push(lr),kn.push(Ut))}return ce(Ae,kn),Mt},Ce=function(Ae){return b(Ae,\"String\")},oe=function(Ae,Ke){var Mt;if(p(Ke))Mt=function(kn,Zn){return Ke(kn)-Ke(Zn)};else{var Ut=[];Ce(Ke)?Ut.push(Ke):a(Ke)&&(Ut=Ke),Mt=function(kn,Zn){for(var lr=0;lr<Ut.length;lr+=1){var wr=Ut[lr];if(kn[wr]>Zn[wr])return 1;if(kn[wr]<Zn[wr])return-1}return 0}}return Ae.sort(Mt),Ae};function he(Ae,Ke){Ke===void 0&&(Ke=new Map);var Mt=[];if(Array.isArray(Ae))for(var Ut=0,kn=Ae.length;Ut<kn;Ut++){var Zn=Ae[Ut];Ke.has(Zn)||(Mt.push(Zn),Ke.set(Zn,!0))}return Mt}var ie=function(){for(var Ae=[],Ke=0;Ke<arguments.length;Ke++)Ae[Ke]=arguments[Ke];return he([].concat.apply([],Ae))},ae=function(Ae,Ke){for(var Mt=[],Ut={},kn=0;kn<Ae.length;kn++){var Zn=Ae[kn][Ke];if(!u(Zn)){a(Zn)||(Zn=[Zn]);for(var lr=0;lr<Zn.length;lr++){var wr=Zn[lr];Ut[wr]||(Mt.push(wr),Ut[wr]=!0)}}}return Mt};function ve(Ae){if(y(Ae))return Ae[0]}function X(Ae){if(y(Ae))return Ae[Ae.length-1]}var se=function(Ae,Ke){return!(!a(Ae)&&!Ce(Ae))&&Ae[0]===Ke},fe=function(Ae,Ke){return!(!a(Ae)&&!Ce(Ae))&&Ae[Ae.length-1]===Ke},_e=function(Ae,Ke){for(var Mt=0;Mt<Ae.length;Mt++)if(!Ke(Ae[Mt],Mt))return!1;return!0},be=function(Ae,Ke){for(var Mt=0;Mt<Ae.length;Mt++)if(Ke(Ae[Mt],Mt))return!0;return!1},We=Object.prototype.hasOwnProperty,we=function(Ae,Ke){if(!Ke||!a(Ae))return{};for(var Mt,Ut={},kn=p(Ke)?Ke:function(wr){return wr[Ke]},Zn=0;Zn<Ae.length;Zn++){var lr=Ae[Zn];Mt=kn(lr),We.call(Ut,Mt)?Ut[Mt].push(lr):Ut[Mt]=[lr]}return Ut};function Ze(Ae,Ke){if(!Ke)return{0:Ae};if(!p(Ke)){var Mt=a(Ke)?Ke:Ke.replace(/\\s+/g,\"\").split(\"*\");Ke=function(Ut){for(var kn=\"_\",Zn=0,lr=Mt.length;Zn<lr;Zn++)kn+=Ut[Mt[Zn]]&&Ut[Mt[Zn]].toString();return kn}}return we(Ae,Ke)}var Ve=function(Ae,Ke){if(!Ke)return[Ae];var Mt=Ze(Ae,Ke),Ut=[];for(var kn in Mt)Ut.push(Mt[kn]);return Ut},et=function(Ae,Ke){return Ae[\"_wrap_\"+Ke]},ht=function(Ae,Ke){if(Ae[\"_wrap_\"+Ke])return Ae[\"_wrap_\"+Ke];var Mt=function(Ut){Ae[Ke](Ut)};return Ae[\"_wrap_\"+Ke]=Mt,Mt},Fe={},mt=function(Ae){var Ke=Fe[Ae];if(!Ke){for(var Mt=Ae.toString(16),Ut=Mt.length;Ut<6;Ut++)Mt=\"0\"+Mt;Ke=\"#\"+Mt,Fe[Ae]=Ke}return Ke},dt=function(Ae){var Ke=0,Mt=0,Ut=0,kn=0;return a(Ae)?Ae.length===1?Ke=Mt=Ut=kn=Ae[0]:Ae.length===2?(Ke=Ut=Ae[0],Mt=kn=Ae[1]):Ae.length===3?(Ke=Ae[0],Mt=kn=Ae[1],Ut=Ae[2]):(Ke=Ae[0],Mt=Ae[1],Ut=Ae[2],kn=Ae[3]):Ke=Mt=Ut=kn=Ae,{r1:Ke,r2:Mt,r3:Ut,r4:kn}},Lt=function(Ae,Ke,Mt){return Ae<Ke?Ke:Ae>Mt?Mt:Ae},lt=function(Ae,Ke){var Mt=Ke.toString(),Ut=Mt.indexOf(\".\");if(Ut===-1)return Math.round(Ae);var kn=Mt.substr(Ut+1).length;return kn>20&&(kn=20),parseFloat(Ae.toFixed(kn))},rn=function(Ae){return b(Ae,\"Number\")},qt=function(Ae){return rn(Ae)&&Ae%1!=0},hn=function(Ae){return rn(Ae)&&Ae%2==0},Kt=Number.isInteger?Number.isInteger:function(Ae){return rn(Ae)&&Ae%1==0},an=function(Ae){return rn(Ae)&&Ae<0};function In(Ae,Ke,Mt){return Mt===void 0&&(Mt=1e-5),Math.abs(Ae-Ke)<Mt}var Ft=function(Ae){return rn(Ae)&&Ae%2!=0},kt=function(Ae){return rn(Ae)&&Ae>0},At=function(Ae,Ke){if(a(Ae)){for(var Mt,Ut=-1/0,kn=0;kn<Ae.length;kn++){var Zn=Ae[kn],lr=p(Ke)?Ke(Zn):Zn[Ke];lr>Ut&&(Mt=Zn,Ut=lr)}return Mt}},Fn=function(Ae,Ke){if(a(Ae)){for(var Mt,Ut=1/0,kn=0;kn<Ae.length;kn++){var Zn=Ae[kn],lr=p(Ke)?Ke(Zn):Zn[Ke];lr<Ut&&(Mt=Zn,Ut=lr)}return Mt}},pn=function(Ae,Ke){return(Ae%Ke+Ke)%Ke},en=180/Math.PI,Wn=function(Ae){return en*Ae},Mn=parseInt,Kn=Math.PI/180,hr=function(Ae){return Kn*Ae},pr=l,zr=function(Ae,Ke){return Ae.hasOwnProperty(Ke)},Wr=zr,Nr=Object.values?function(Ae){return Object.values(Ae)}:function(Ae){var Ke=[];return l(Ae,function(Mt,Ut){p(Ae)&&Ut===\"prototype\"||Ke.push(Mt)}),Ke},Kr=function(Ae,Ke){return N(Nr(Ae),Ke)},ko=function(Ae){return u(Ae)?\"\":Ae.toString()},Ur=function(Ae){return ko(Ae).toLowerCase()},gn=function(Ae){var Ke=ko(Ae);return Ke.charAt(0).toLowerCase()+Ke.substring(1)},Gt=function(Ae,Ke){return Ae&&Ke?Ae.replace(/\\\\?\\{([^{}]+)\\}/g,function(Mt,Ut){return Mt.charAt(0)===\"\\\\\"?Mt.slice(1):Ke[Ut]===void 0?\"\":Ke[Ut]}):Ae},bt=function(Ae){return ko(Ae).toUpperCase()},Zt=function(Ae){var Ke=ko(Ae);return Ke.charAt(0).toUpperCase()+Ke.substring(1)},gt={}.toString,Wt=function(Ae){return gt.call(Ae).replace(/^\\[object /,\"\").replace(/]$/,\"\")},xn=function(Ae){return b(Ae,\"Arguments\")},Dt=function(Ae){return b(Ae,\"Boolean\")},Xn=function(Ae){return b(Ae,\"Date\")},Rn=function(Ae){return b(Ae,\"Error\")},wt=function(Ae){return rn(Ae)&&isFinite(Ae)},pt=function(Ae){return Ae===null},Ue=Object.prototype,xt=function(Ae){var Ke=Ae&&Ae.constructor;return Ae===(typeof Ke==\"function\"&&Ke.prototype||Ue)},cn=function(Ae){return b(Ae,\"RegExp\")},er=function(Ae){return Ae===void 0},Mr=function(Ae){return Ae instanceof Element||Ae instanceof HTMLDocument};function xr(Ae){return(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(Ke){return setTimeout(Ke,16)})(Ae)}function jr(Ae){(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame||clearTimeout)(Ae)}function yo(Ae,Ke){for(var Mt in Ke)Ke.hasOwnProperty(Mt)&&Mt!==\"constructor\"&&Ke[Mt]!==void 0&&(Ae[Mt]=Ke[Mt])}function eo(Ae,Ke,Mt,Ut){return Ke&&yo(Ae,Ke),Mt&&yo(Ae,Mt),Ut&&yo(Ae,Ut),Ae}var vi=function(){for(var Ae=[],Ke=0;Ke<arguments.length;Ke++)Ae[Ke]=arguments[Ke];for(var Mt=Ae[0],Ut=1;Ut<Ae.length;Ut++){var kn=Ae[Ut];p(kn)&&(kn=kn.prototype),eo(Mt.prototype,kn)}};function Ti(Ae){return(Ti=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(Ke){return typeof Ke}:function(Ke){return Ke&&typeof Symbol==\"function\"&&Ke.constructor===Symbol&&Ke!==Symbol.prototype?\"symbol\":typeof Ke})(Ae)}var wi=function Ae(Ke){if(Ti(Ke)!==\"object\"||Ke===null)return Ke;var Mt;if(a(Ke)){Mt=[];for(var Ut=0,kn=Ke.length;Ut<kn;Ut++)Ti(Ke[Ut])===\"object\"&&Ke[Ut]!=null?Mt[Ut]=Ae(Ke[Ut]):Mt[Ut]=Ke[Ut]}else for(var Zn in Mt={},Ke)Ti(Ke[Zn])===\"object\"&&Ke[Zn]!=null?Mt[Zn]=Ae(Ke[Zn]):Mt[Zn]=Ke[Zn];return Mt},mi=function(Ae,Ke,Mt){var Ut;return function(){var kn=this,Zn=arguments,lr=function(){Ut=null,Mt||Ae.apply(kn,Zn)},wr=Mt&&!Ut;clearTimeout(Ut),Ut=setTimeout(lr,Ke),wr&&Ae.apply(kn,Zn)}},Zi=function(Ae,Ke){if(!p(Ae))throw new TypeError(\"Expected a function\");var Mt=function Ut(){for(var kn=[],Zn=0;Zn<arguments.length;Zn++)kn[Zn]=arguments[Zn];var lr=Ke?Ke.apply(this,kn):kn[0],wr=Ut.cache;if(wr.has(lr))return wr.get(lr);var Dr=Ae.apply(this,kn);return wr.set(lr,Dr),Dr};return Mt.cache=new Map,Mt};function aa(Ae,Ke,Mt,Ut){for(var kn in Mt=Mt||0,Ut=Ut||5,Ke)if(Ke.hasOwnProperty(kn)){var Zn=Ke[kn];Zn!==null&&E(Zn)?(E(Ae[kn])||(Ae[kn]={}),Mt<Ut?aa(Ae[kn],Zn,Mt+1,Ut):Ae[kn]=Ke[kn]):a(Zn)?(Ae[kn]=[],Ae[kn]=Ae[kn].concat(Zn)):Zn!==void 0&&(Ae[kn]=Zn)}}var $e=function(Ae){for(var Ke=[],Mt=1;Mt<arguments.length;Mt++)Ke[Mt-1]=arguments[Mt];for(var Ut=0;Ut<Ke.length;Ut+=1)aa(Ae,Ke[Ut]);return Ae},dn=function(Ae,Ke,Mt,Ut){p(Ke)||(Mt=Ke,Ke=Ae,Ae=function(){});var kn=Object.create?function(lr,wr){return Object.create(lr,{constructor:{value:wr}})}:function(lr,wr){function Dr(){}Dr.prototype=lr;var go=new Dr;return go.constructor=wr,go},Zn=kn(Ke.prototype,Ae);return Ae.prototype=eo(Zn,Ae.prototype),Ae.superclass=kn(Ke.prototype,Ke),eo(Zn,Mt),eo(Ae,Ut),Ae},Un=function(Ae,Ke){if(!y(Ae))return-1;var Mt=Array.prototype.indexOf;if(Mt)return Mt.call(Ae,Ke);for(var Ut=-1,kn=0;kn<Ae.length;kn++)if(Ae[kn]===Ke){Ut=kn;break}return Ut},ar=Object.prototype.hasOwnProperty,Rr=function(Ae){if(u(Ae))return!0;if(y(Ae))return!Ae.length;var Ke=Wt(Ae);if(Ke===\"Map\"||Ke===\"Set\")return!Ae.size;if(xt(Ae))return!Object.keys(Ae).length;for(var Mt in Ae)if(ar.call(Ae,Mt))return!1;return!0},Ro=function Ae(Ke,Mt){if(Ke===Mt)return!0;if(!Ke||!Mt||Ce(Ke)||Ce(Mt))return!1;if(y(Ke)||y(Mt)){if(Ke.length!==Mt.length)return!1;for(var Ut=!0,kn=0;kn<Ke.length&&(Ut=Ae(Ke[kn],Mt[kn]));kn++);return Ut}if(M(Ke)||M(Mt)){var Zn=Object.keys(Ke),lr=Object.keys(Mt);if(Zn.length!==lr.length)return!1;for(Ut=!0,kn=0;kn<Zn.length&&(Ut=Ae(Ke[Zn[kn]],Mt[Zn[kn]]));kn++);return Ut}return!1},Vo=function(Ae,Ke,Mt){return p(Mt)?!!Mt(Ae,Ke):Ro(Ae,Ke)},Co=function(Ae,Ke){if(!y(Ae))return Ae;for(var Mt=[],Ut=0;Ut<Ae.length;Ut++){var kn=Ae[Ut];Mt.push(Ke(kn,Ut))}return Mt},Mo=function(Ae){return Ae},qo=function(Ae,Ke){Ke===void 0&&(Ke=Mo);var Mt={};return h(Ae)&&!u(Ae)&&Object.keys(Ae).forEach(function(Ut){Mt[Ut]=Ke(Ae[Ut],Ut)}),Mt},ti=function(Ae,Ke,Mt){for(var Ut=0,kn=Ce(Ke)?Ke.split(\".\"):Ke;Ae&&Ut<kn.length;)Ae=Ae[kn[Ut++]];return Ae===void 0||Ut<kn.length?Mt:Ae},pi=function(Ae,Ke,Mt){var Ut=Ae,kn=Ce(Ke)?Ke.split(\".\"):Ke;return kn.forEach(function(Zn,lr){lr<kn.length-1?(h(Ut[Zn])||(Ut[Zn]=rn(kn[lr+1])?[]:{}),Ut=Ut[Zn]):Ut[Zn]=Mt}),Ae},ni=Object.prototype.hasOwnProperty,si=function(Ae,Ke){if(Ae===null||!E(Ae))return{};var Mt={};return l(Ke,function(Ut){ni.call(Ae,Ut)&&(Mt[Ut]=Ae[Ut])}),Mt},Oi=function(Ae,Ke){return ye(Ae,function(Mt,Ut,kn){return Ke.includes(kn)||(Mt[kn]=Ut),Mt},{})},Ki=function(Ae,Ke,Mt){var Ut,kn,Zn,lr,wr=0;Mt||(Mt={});var Dr=function(){wr=Mt.leading===!1?0:Date.now(),Ut=null,lr=Ae.apply(kn,Zn),Ut||(kn=Zn=null)},go=function(){var Ir=Date.now();wr||Mt.leading!==!1||(wr=Ir);var Jr=Ke-(Ir-wr);return kn=this,Zn=arguments,Jr<=0||Jr>Ke?(Ut&&(clearTimeout(Ut),Ut=null),wr=Ir,lr=Ae.apply(kn,Zn),Ut||(kn=Zn=null)):Ut||Mt.trailing===!1||(Ut=setTimeout(Dr,Jr)),lr};return go.cancel=function(){clearTimeout(Ut),wr=0,Ut=kn=Zn=null},go},ca=function(Ae){return y(Ae)?Array.prototype.slice.call(Ae):[]},zi={},br=function(Ae){return zi[Ae=Ae||\"g\"]?zi[Ae]+=1:zi[Ae]=1,Ae+zi[Ae]},Re=function(){},je=function(Ae){return Ae};function nt(Ae){return u(Ae)?0:y(Ae)?Ae.length:Object.keys(Ae).length}var rt,Xt=r(1),fn=Zi(function(Ae,Ke){Ke===void 0&&(Ke={});var Mt=Ke.fontSize,Ut=Ke.fontFamily,kn=Ke.fontWeight,Zn=Ke.fontStyle,lr=Ke.fontVariant;return rt||(rt=document.createElement(\"canvas\").getContext(\"2d\")),rt.font=[Zn,lr,kn,Mt+\"px\",Ut].join(\" \"),rt.measureText(Ce(Ae)?Ae:\"\").width},function(Ae,Ke){return Ke===void 0&&(Ke={}),Object(Xt.__spreadArrays)([Ae],Nr(Ke)).join(\"\")}),Cn=function(Ae,Ke,Mt,Ut){Ut===void 0&&(Ut=\"...\");var kn,Zn,lr=fn(Ut,Mt),wr=Ce(Ae)?Ae:ko(Ae),Dr=Ke,go=[];if(fn(Ae,Mt)<=Ke)return Ae;for(;kn=wr.substr(0,16),!((Zn=fn(kn,Mt))+lr>Dr&&Zn>Dr);)if(go.push(kn),Dr-=Zn,!(wr=wr.substr(16)))return go.join(\"\");for(;kn=wr.substr(0,1),!((Zn=fn(kn,Mt))+lr>Dr);)if(go.push(kn),Dr-=Zn,!(wr=wr.substr(1)))return go.join(\"\");return\"\"+go.join(\"\")+Ut},Yn=function(){function Ae(){this.map={}}return Ae.prototype.has=function(Ke){return this.map[Ke]!==void 0},Ae.prototype.get=function(Ke,Mt){var Ut=this.map[Ke];return Ut===void 0?Mt:Ut},Ae.prototype.set=function(Ke,Mt){this.map[Ke]=Mt},Ae.prototype.clear=function(){this.map={}},Ae.prototype.delete=function(Ke){delete this.map[Ke]},Ae.prototype.size=function(){return Object.keys(this.map).length},Ae}()},function(Ee,c,r){\"use strict\";function y(Oe){return(y=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(Ce){return typeof Ce}:function(Ce){return Ce&&typeof Symbol==\"function\"&&Ce.constructor===Symbol&&Ce!==Symbol.prototype?\"symbol\":typeof Ce})(Oe)}r.r(c),r.d(c,\"__extends\",function(){return C}),r.d(c,\"__assign\",function(){return w}),r.d(c,\"__rest\",function(){return O}),r.d(c,\"__decorate\",function(){return b}),r.d(c,\"__param\",function(){return p}),r.d(c,\"__esDecorate\",function(){return u}),r.d(c,\"__runInitializers\",function(){return a}),r.d(c,\"__propKey\",function(){return f}),r.d(c,\"__setFunctionName\",function(){return h}),r.d(c,\"__metadata\",function(){return l}),r.d(c,\"__awaiter\",function(){return s}),r.d(c,\"__generator\",function(){return m}),r.d(c,\"__createBinding\",function(){return x}),r.d(c,\"__exportStar\",function(){return M}),r.d(c,\"__values\",function(){return E}),r.d(c,\"__read\",function(){return j}),r.d(c,\"__spread\",function(){return L}),r.d(c,\"__spreadArrays\",function(){return A}),r.d(c,\"__spreadArray\",function(){return J}),r.d(c,\"__await\",function(){return q}),r.d(c,\"__asyncGenerator\",function(){return re}),r.d(c,\"__asyncDelegator\",function(){return me}),r.d(c,\"__asyncValues\",function(){return Te}),r.d(c,\"__makeTemplateObject\",function(){return ee}),r.d(c,\"__importStar\",function(){return Ie}),r.d(c,\"__importDefault\",function(){return Le}),r.d(c,\"__classPrivateFieldGet\",function(){return De}),r.d(c,\"__classPrivateFieldSet\",function(){return ce}),r.d(c,\"__classPrivateFieldIn\",function(){return ye});var N=function(Oe,Ce){return(N=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(oe,he){oe.__proto__=he}||function(oe,he){for(var ie in he)Object.prototype.hasOwnProperty.call(he,ie)&&(oe[ie]=he[ie])})(Oe,Ce)};function C(Oe,Ce){if(typeof Ce!=\"function\"&&Ce!==null)throw new TypeError(\"Class extends value \"+String(Ce)+\" is not a constructor or null\");function oe(){this.constructor=Oe}N(Oe,Ce),Oe.prototype=Ce===null?Object.create(Ce):(oe.prototype=Ce.prototype,new oe)}var w=function(){return(w=Object.assign||function(Oe){for(var Ce,oe=1,he=arguments.length;oe<he;oe++)for(var ie in Ce=arguments[oe])Object.prototype.hasOwnProperty.call(Ce,ie)&&(Oe[ie]=Ce[ie]);return Oe}).apply(this,arguments)};function O(Oe,Ce){var oe={};for(var he in Oe)Object.prototype.hasOwnProperty.call(Oe,he)&&Ce.indexOf(he)<0&&(oe[he]=Oe[he]);if(Oe!=null&&typeof Object.getOwnPropertySymbols==\"function\"){var ie=0;for(he=Object.getOwnPropertySymbols(Oe);ie<he.length;ie++)Ce.indexOf(he[ie])<0&&Object.prototype.propertyIsEnumerable.call(Oe,he[ie])&&(oe[he[ie]]=Oe[he[ie]])}return oe}function b(Oe,Ce,oe,he){var ie,ae=arguments.length,ve=ae<3?Ce:he===null?he=Object.getOwnPropertyDescriptor(Ce,oe):he;if((typeof Reflect==\"undefined\"?\"undefined\":y(Reflect))===\"object\"&&typeof Reflect.decorate==\"function\")ve=Reflect.decorate(Oe,Ce,oe,he);else for(var X=Oe.length-1;X>=0;X--)(ie=Oe[X])&&(ve=(ae<3?ie(ve):ae>3?ie(Ce,oe,ve):ie(Ce,oe))||ve);return ae>3&&ve&&Object.defineProperty(Ce,oe,ve),ve}function p(Oe,Ce){return function(oe,he){Ce(oe,he,Oe)}}function u(Oe,Ce,oe,he,ie,ae){function ve(ht){if(ht!==void 0&&typeof ht!=\"function\")throw new TypeError(\"Function expected\");return ht}for(var X,se=he.kind,fe=se===\"getter\"?\"get\":se===\"setter\"?\"set\":\"value\",_e=!Ce&&Oe?he.static?Oe:Oe.prototype:null,be=Ce||(_e?Object.getOwnPropertyDescriptor(_e,he.name):{}),We=!1,we=oe.length-1;we>=0;we--){var Ze={};for(var Ve in he)Ze[Ve]=Ve===\"access\"?{}:he[Ve];for(var Ve in he.access)Ze.access[Ve]=he.access[Ve];Ze.addInitializer=function(ht){if(We)throw new TypeError(\"Cannot add initializers after decoration has completed\");ae.push(ve(ht||null))};var et=(0,oe[we])(se===\"accessor\"?{get:be.get,set:be.set}:be[fe],Ze);if(se===\"accessor\"){if(et===void 0)continue;if(et===null||y(et)!==\"object\")throw new TypeError(\"Object expected\");(X=ve(et.get))&&(be.get=X),(X=ve(et.set))&&(be.set=X),(X=ve(et.init))&&ie.push(X)}else(X=ve(et))&&(se===\"field\"?ie.push(X):be[fe]=X)}_e&&Object.defineProperty(_e,he.name,be),We=!0}function a(Oe,Ce,oe){for(var he=arguments.length>2,ie=0;ie<Ce.length;ie++)oe=he?Ce[ie].call(Oe,oe):Ce[ie].call(Oe);return he?oe:void 0}function f(Oe){return y(Oe)===\"symbol\"?Oe:\"\".concat(Oe)}function h(Oe,Ce,oe){return y(Ce)===\"symbol\"&&(Ce=Ce.description?\"[\".concat(Ce.description,\"]\"):\"\"),Object.defineProperty(Oe,\"name\",{configurable:!0,value:oe?\"\".concat(oe,\" \",Ce):Ce})}function l(Oe,Ce){if((typeof Reflect==\"undefined\"?\"undefined\":y(Reflect))===\"object\"&&typeof Reflect.metadata==\"function\")return Reflect.metadata(Oe,Ce)}function s(Oe,Ce,oe,he){return new(oe||(oe=Promise))(function(ie,ae){function ve(fe){try{se(he.next(fe))}catch(_e){ae(_e)}}function X(fe){try{se(he.throw(fe))}catch(_e){ae(_e)}}function se(fe){var _e;fe.done?ie(fe.value):(_e=fe.value,_e instanceof oe?_e:new oe(function(be){be(_e)})).then(ve,X)}se((he=he.apply(Oe,Ce||[])).next())})}function m(Oe,Ce){var oe,he,ie,ae,ve={label:0,sent:function(){if(1&ie[0])throw ie[1];return ie[1]},trys:[],ops:[]};return ae={next:X(0),throw:X(1),return:X(2)},typeof Symbol==\"function\"&&(ae[Symbol.iterator]=function(){return this}),ae;function X(se){return function(fe){return function(_e){if(oe)throw new TypeError(\"Generator is already executing.\");for(;ae&&(ae=0,_e[0]&&(ve=0)),ve;)try{if(oe=1,he&&(ie=2&_e[0]?he.return:_e[0]?he.throw||((ie=he.return)&&ie.call(he),0):he.next)&&!(ie=ie.call(he,_e[1])).done)return ie;switch(he=0,ie&&(_e=[2&_e[0],ie.value]),_e[0]){case 0:case 1:ie=_e;break;case 4:return ve.label++,{value:_e[1],done:!1};case 5:ve.label++,he=_e[1],_e=[0];continue;case 7:_e=ve.ops.pop(),ve.trys.pop();continue;default:if(ie=ve.trys,!((ie=ie.length>0&&ie[ie.length-1])||_e[0]!==6&&_e[0]!==2)){ve=0;continue}if(_e[0]===3&&(!ie||_e[1]>ie[0]&&_e[1]<ie[3])){ve.label=_e[1];break}if(_e[0]===6&&ve.label<ie[1]){ve.label=ie[1],ie=_e;break}if(ie&&ve.label<ie[2]){ve.label=ie[2],ve.ops.push(_e);break}ie[2]&&ve.ops.pop(),ve.trys.pop();continue}_e=Ce.call(Oe,ve)}catch(be){_e=[6,be],he=0}finally{oe=ie=0}if(5&_e[0])throw _e[1];return{value:_e[0]?_e[1]:void 0,done:!0}}([se,fe])}}}var x=Object.create?function(Oe,Ce,oe,he){he===void 0&&(he=oe);var ie=Object.getOwnPropertyDescriptor(Ce,oe);ie&&!(\"get\"in ie?!Ce.__esModule:ie.writable||ie.configurable)||(ie={enumerable:!0,get:function(){return Ce[oe]}}),Object.defineProperty(Oe,he,ie)}:function(Oe,Ce,oe,he){he===void 0&&(he=oe),Oe[he]=Ce[oe]};function M(Oe,Ce){for(var oe in Oe)oe===\"default\"||Object.prototype.hasOwnProperty.call(Ce,oe)||x(Ce,Oe,oe)}function E(Oe){var Ce=typeof Symbol==\"function\"&&Symbol.iterator,oe=Ce&&Oe[Ce],he=0;if(oe)return oe.call(Oe);if(Oe&&typeof Oe.length==\"number\")return{next:function(){return Oe&&he>=Oe.length&&(Oe=void 0),{value:Oe&&Oe[he++],done:!Oe}}};throw new TypeError(Ce?\"Object is not iterable.\":\"Symbol.iterator is not defined.\")}function j(Oe,Ce){var oe=typeof Symbol==\"function\"&&Oe[Symbol.iterator];if(!oe)return Oe;var he,ie,ae=oe.call(Oe),ve=[];try{for(;(Ce===void 0||Ce-- >0)&&!(he=ae.next()).done;)ve.push(he.value)}catch(X){ie={error:X}}finally{try{he&&!he.done&&(oe=ae.return)&&oe.call(ae)}finally{if(ie)throw ie.error}}return ve}function L(){for(var Oe=[],Ce=0;Ce<arguments.length;Ce++)Oe=Oe.concat(j(arguments[Ce]));return Oe}function A(){for(var Oe=0,Ce=0,oe=arguments.length;Ce<oe;Ce++)Oe+=arguments[Ce].length;var he=Array(Oe),ie=0;for(Ce=0;Ce<oe;Ce++)for(var ae=arguments[Ce],ve=0,X=ae.length;ve<X;ve++,ie++)he[ie]=ae[ve];return he}function J(Oe,Ce,oe){if(oe||arguments.length===2)for(var he,ie=0,ae=Ce.length;ie<ae;ie++)!he&&ie in Ce||(he||(he=Array.prototype.slice.call(Ce,0,ie)),he[ie]=Ce[ie]);return Oe.concat(he||Array.prototype.slice.call(Ce))}function q(Oe){return this instanceof q?(this.v=Oe,this):new q(Oe)}function re(Oe,Ce,oe){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var he,ie=oe.apply(Oe,Ce||[]),ae=[];return he={},ve(\"next\"),ve(\"throw\"),ve(\"return\"),he[Symbol.asyncIterator]=function(){return this},he;function ve(be){ie[be]&&(he[be]=function(We){return new Promise(function(we,Ze){ae.push([be,We,we,Ze])>1||X(be,We)})})}function X(be,We){try{(we=ie[be](We)).value instanceof q?Promise.resolve(we.value.v).then(se,fe):_e(ae[0][2],we)}catch(Ze){_e(ae[0][3],Ze)}var we}function se(be){X(\"next\",be)}function fe(be){X(\"throw\",be)}function _e(be,We){be(We),ae.shift(),ae.length&&X(ae[0][0],ae[0][1])}}function me(Oe){var Ce,oe;return Ce={},he(\"next\"),he(\"throw\",function(ie){throw ie}),he(\"return\"),Ce[Symbol.iterator]=function(){return this},Ce;function he(ie,ae){Ce[ie]=Oe[ie]?function(ve){return(oe=!oe)?{value:q(Oe[ie](ve)),done:!1}:ae?ae(ve):ve}:ae}}function Te(Oe){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var Ce,oe=Oe[Symbol.asyncIterator];return oe?oe.call(Oe):(Oe=E(Oe),Ce={},he(\"next\"),he(\"throw\"),he(\"return\"),Ce[Symbol.asyncIterator]=function(){return this},Ce);function he(ie){Ce[ie]=Oe[ie]&&function(ae){return new Promise(function(ve,X){(function(se,fe,_e,be){Promise.resolve(be).then(function(We){se({value:We,done:_e})},fe)})(ve,X,(ae=Oe[ie](ae)).done,ae.value)})}}}function ee(Oe,Ce){return Object.defineProperty?Object.defineProperty(Oe,\"raw\",{value:Ce}):Oe.raw=Ce,Oe}var xe=Object.create?function(Oe,Ce){Object.defineProperty(Oe,\"default\",{enumerable:!0,value:Ce})}:function(Oe,Ce){Oe.default=Ce};function Ie(Oe){if(Oe&&Oe.__esModule)return Oe;var Ce={};if(Oe!=null)for(var oe in Oe)oe!==\"default\"&&Object.prototype.hasOwnProperty.call(Oe,oe)&&x(Ce,Oe,oe);return xe(Ce,Oe),Ce}function Le(Oe){return Oe&&Oe.__esModule?Oe:{default:Oe}}function De(Oe,Ce,oe,he){if(oe===\"a\"&&!he)throw new TypeError(\"Private accessor was defined without a getter\");if(typeof Ce==\"function\"?Oe!==Ce||!he:!Ce.has(Oe))throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");return oe===\"m\"?he:oe===\"a\"?he.call(Oe):he?he.value:Ce.get(Oe)}function ce(Oe,Ce,oe,he,ie){if(he===\"m\")throw new TypeError(\"Private method is not writable\");if(he===\"a\"&&!ie)throw new TypeError(\"Private accessor was defined without a setter\");if(typeof Ce==\"function\"?Oe!==Ce||!ie:!Ce.has(Oe))throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");return he===\"a\"?ie.call(Oe,oe):ie?ie.value=oe:Ce.set(Oe,oe),oe}function ye(Oe,Ce){if(Ce===null||y(Ce)!==\"object\"&&typeof Ce!=\"function\")throw new TypeError(\"Cannot use 'in' operator on non-object\");return typeof Oe==\"function\"?Ce===Oe:Oe.has(Ce)}},function(Ee,c,r){\"use strict\";r.r(c),r.d(c,\"EPSILON\",function(){return y}),r.d(c,\"ARRAY_TYPE\",function(){return N}),r.d(c,\"RANDOM\",function(){return C}),r.d(c,\"setMatrixArrayType\",function(){return w}),r.d(c,\"toRadian\",function(){return b}),r.d(c,\"equals\",function(){return p});var y=1e-6,N=typeof Float32Array!=\"undefined\"?Float32Array:Array,C=Math.random;function w(u){N=u}var O=Math.PI/180;function b(u){return u*O}function p(u,a){return Math.abs(u-a)<=y*Math.max(1,Math.abs(u),Math.abs(a))}Math.hypot||(Math.hypot=function(){for(var u=0,a=arguments.length;a--;)u+=arguments[a]*arguments[a];return Math.sqrt(u)})},function(Ee,c,r){var y=r(97);Ee.exports=function(N,C,w){return(C=y(C))in N?Object.defineProperty(N,C,{value:w,enumerable:!0,configurable:!0,writable:!0}):N[C]=w,N},Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports},function(Ee,c,r){\"use strict\";r.d(c,\"b\",function(){return N.mat3}),r.d(c,\"c\",function(){return N.vec2}),r.d(c,\"d\",function(){return N.vec3}),r.d(c,\"a\",function(){return y});var y={};r.r(y),r.d(y,\"leftTranslate\",function(){return C}),r.d(y,\"leftRotate\",function(){return w}),r.d(y,\"leftScale\",function(){return O}),r.d(y,\"transform\",function(){return b}),r.d(y,\"direction\",function(){return p}),r.d(y,\"angleTo\",function(){return u}),r.d(y,\"vertical\",function(){return a});var N=r(12);function C(f,h,l){var s=[0,0,0,0,0,0,0,0,0];return N.mat3.fromTranslation(s,l),N.mat3.multiply(f,s,h)}function w(f,h,l){var s=[0,0,0,0,0,0,0,0,0];return N.mat3.fromRotation(s,l),N.mat3.multiply(f,s,h)}function O(f,h,l){var s=[0,0,0,0,0,0,0,0,0];return N.mat3.fromScaling(s,l),N.mat3.multiply(f,s,h)}function b(f,h){for(var l,s,m,x=f?[].concat(f):[1,0,0,0,1,0,0,0,1],M=0,E=h.length;M<E;M++){var j=h[M];switch(j[0]){case\"t\":C(x,x,[j[1],j[2]]);break;case\"s\":O(x,x,[j[1],j[2]]);break;case\"r\":w(x,x,j[1]);break;case\"m\":l=x,s=x,m=j[1],N.mat3.multiply(l,m,s)}}return x}function p(f,h){return f[0]*h[1]-h[0]*f[1]}function u(f,h,l){var s=N.vec2.angle(f,h),m=p(f,h)>=0;return l?m?2*Math.PI-s:s:m?s:2*Math.PI-s}function a(f,h,l){return l?(f[0]=h[1],f[1]=-1*h[0]):(f[0]=-1*h[1],f[1]=h[0]),f}},function(Ee,c,r){\"use strict\";r.d(c,\"d\",function(){return N}),r.d(c,\"b\",function(){return C}),r.d(c,\"e\",function(){return w}),r.d(c,\"f\",function(){return O}),r.d(c,\"l\",function(){return b}),r.d(c,\"j\",function(){return p});var y=r(0);function N(){return window?window.devicePixelRatio:1}function C(u,a,f,h){var l=u-f,s=a-h;return Math.sqrt(l*l+s*s)}function w(u,a,f,h,l,s){return l>=u&&l<=u+f&&s>=a&&s<=a+h}function O(u,a){return!(a.minX>u.maxX||a.maxX<u.minX||a.minY>u.maxY||a.maxY<u.minY)}function b(u,a){return u&&a?{minX:Math.min(u.minX,a.minX),minY:Math.min(u.minY,a.minY),maxX:Math.max(u.maxX,a.maxX),maxY:Math.max(u.maxY,a.maxY)}:u||a}function p(u,a){return u[0]===a[0]&&u[1]===a[1]}r.d(c,\"i\",function(){return y.isNil}),r.d(c,\"k\",function(){return y.isString}),r.d(c,\"h\",function(){return y.isFunction}),r.d(c,\"g\",function(){return y.isArray}),r.d(c,\"c\",function(){return y.each}),r.d(c,\"o\",function(){return y.toRadian}),r.d(c,\"m\",function(){return y.mod}),r.d(c,\"n\",function(){return y.requestAnimationFrame}),r.d(c,\"a\",function(){return y.clearAnimationFrame})},function(Ee,c,r){\"use strict\";r.d(c,\"a\",function(){return y}),r.d(c,\"b\",function(){return N});var y={rect:\"path\",circle:\"circle\",line:\"line\",path:\"path\",marker:\"path\",text:\"text\",polyline:\"polyline\",polygon:\"polygon\",image:\"image\",ellipse:\"ellipse\",dom:\"foreignObject\"},N={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(Ee,c,r){\"use strict\";var y=this&&this.__createBinding||(Object.create?function(w,O,b,p){p===void 0&&(p=b);var u=Object.getOwnPropertyDescriptor(O,b);u&&!(\"get\"in u?!O.__esModule:u.writable||u.configurable)||(u={enumerable:!0,get:function(){return O[b]}}),Object.defineProperty(w,p,u)}:function(w,O,b,p){p===void 0&&(p=b),w[p]=O[b]}),N=this&&this.__exportStar||function(w,O){for(var b in w)b===\"default\"||Object.prototype.hasOwnProperty.call(O,b)||y(O,w,b)};Object.defineProperty(c,\"__esModule\",{value:!0}),c.getLayoutByName=c.unRegisterLayout=c.registerLayout=void 0;var C=r(79);Object.defineProperty(c,\"registerLayout\",{enumerable:!0,get:function(){return C.registerLayout}}),Object.defineProperty(c,\"unRegisterLayout\",{enumerable:!0,get:function(){return C.unRegisterLayout}}),Object.defineProperty(c,\"getLayoutByName\",{enumerable:!0,get:function(){return C.getLayoutByName}}),N(r(82),c)},function(Ee,c,r){\"use strict\";r.d(c,\"j\",function(){return N}),r.d(c,\"c\",function(){return C}),r.d(c,\"g\",function(){return w}),r.d(c,\"b\",function(){return O});var y=r(0);function N(b,p){var u=b.indexOf(p);u!==-1&&b.splice(u,1)}r.d(c,\"e\",function(){return y.isNil}),r.d(c,\"d\",function(){return y.isFunction}),r.d(c,\"h\",function(){return y.isString}),r.d(c,\"f\",function(){return y.isObject}),r.d(c,\"i\",function(){return y.mix}),r.d(c,\"a\",function(){return y.each}),r.d(c,\"k\",function(){return y.upperFirst});var C=typeof window!=\"undefined\"&&window.document!==void 0;function w(b,p){if(b.isCanvas())return!0;for(var u=p.getParent(),a=!1;u;){if(u===b){a=!0;break}u=u.getParent()}return a}function O(b){return b.cfg.visible&&b.cfg.capture}},function(Ee,c,r){\"use strict\";r.d(c,\"e\",function(){return x}),r.d(c,\"b\",function(){return J}),r.d(c,\"a\",function(){return Ie}),r.d(c,\"c\",function(){return a}),r.d(c,\"d\",function(){return Ce}),r.d(c,\"f\",function(){return y});var y={};r.r(y),r.d(y,\"distance\",function(){return C}),r.d(y,\"isNumberEqual\",function(){return w}),r.d(y,\"getBBoxByArray\",function(){return O}),r.d(y,\"getBBoxRange\",function(){return b}),r.d(y,\"piMod\",function(){return p});var N=r(0);function C(oe,he,ie,ae){var ve=oe-ie,X=he-ae;return Math.sqrt(ve*ve+X*X)}function w(oe,he){return Math.abs(oe-he)<.001}function O(oe,he){var ie=Object(N.min)(oe),ae=Object(N.min)(he);return{x:ie,y:ae,width:Object(N.max)(oe)-ie,height:Object(N.max)(he)-ae}}function b(oe,he,ie,ae){return{minX:Object(N.min)([oe,ie]),maxX:Object(N.max)([oe,ie]),minY:Object(N.min)([he,ae]),maxY:Object(N.max)([he,ae])}}function p(oe){return(oe+2*Math.PI)%(2*Math.PI)}var u=r(39),a={box:function(oe,he,ie,ae){return O([oe,ie],[he,ae])},length:function(oe,he,ie,ae){return C(oe,he,ie,ae)},pointAt:function(oe,he,ie,ae,ve){return{x:(1-ve)*oe+ve*ie,y:(1-ve)*he+ve*ae}},pointDistance:function(oe,he,ie,ae,ve,X){var se=(ie-oe)*(ve-oe)+(ae-he)*(X-he);return se<0?C(oe,he,ve,X):se>(ie-oe)*(ie-oe)+(ae-he)*(ae-he)?C(ie,ae,ve,X):this.pointToLine(oe,he,ie,ae,ve,X)},pointToLine:function(oe,he,ie,ae,ve,X){var se=[ie-oe,ae-he];if(u.exactEquals(se,[0,0]))return Math.sqrt((ve-oe)*(ve-oe)+(X-he)*(X-he));var fe=[-se[1],se[0]];u.normalize(fe,fe);var _e=[ve-oe,X-he];return Math.abs(u.dot(_e,fe))},tangentAngle:function(oe,he,ie,ae){return Math.atan2(ae-he,ie-oe)}};function f(oe,he,ie,ae,ve,X){var se,fe=1/0,_e=[ie,ae],be=20;X&&X>200&&(be=X/10);for(var We=1/be,we=We/10,Ze=0;Ze<=be;Ze++){var Ve=Ze*We,et=[ve.apply(null,oe.concat([Ve])),ve.apply(null,he.concat([Ve]))];(dt=C(_e[0],_e[1],et[0],et[1]))<fe&&(se=Ve,fe=dt)}if(se===0)return{x:oe[0],y:he[0]};if(se===1){var ht=oe.length;return{x:oe[ht-1],y:he[ht-1]}}for(fe=1/0,Ze=0;Ze<32&&!(we<1e-4);Ze++){var Fe=se-we,mt=se+we,dt=(et=[ve.apply(null,oe.concat([Fe])),ve.apply(null,he.concat([Fe]))],C(_e[0],_e[1],et[0],et[1]));if(Fe>=0&&dt<fe)se=Fe,fe=dt;else{var Lt=[ve.apply(null,oe.concat([mt])),ve.apply(null,he.concat([mt]))],lt=C(_e[0],_e[1],Lt[0],Lt[1]);mt<=1&&lt<fe?(se=mt,fe=lt):we*=.5}}return{x:ve.apply(null,oe.concat([se])),y:ve.apply(null,he.concat([se]))}}function h(oe,he,ie,ae){var ve=1-ae;return ve*ve*oe+2*ae*ve*he+ae*ae*ie}function l(oe,he,ie){var ae=oe+ie-2*he;if(w(ae,0))return[.5];var ve=(oe-he)/ae;return ve<=1&&ve>=0?[ve]:[]}function s(oe,he,ie,ae){return 2*(1-ae)*(he-oe)+2*ae*(ie-he)}function m(oe,he,ie,ae,ve,X,se){var fe=h(oe,ie,ve,se),_e=h(he,ae,X,se),be=a.pointAt(oe,he,ie,ae,se),We=a.pointAt(ie,ae,ve,X,se);return[[oe,he,be.x,be.y,fe,_e],[fe,_e,We.x,We.y,ve,X]]}var x={box:function(oe,he,ie,ae,ve,X){var se=l(oe,ie,ve)[0],fe=l(he,ae,X)[0],_e=[oe,ve],be=[he,X];return se!==void 0&&_e.push(h(oe,ie,ve,se)),fe!==void 0&&be.push(h(he,ae,X,fe)),O(_e,be)},length:function(oe,he,ie,ae,ve,X){return function se(fe,_e,be,We,we,Ze,Ve){if(Ve===0)return(C(fe,_e,be,We)+C(be,We,we,Ze)+C(fe,_e,we,Ze))/2;var et=m(fe,_e,be,We,we,Ze,.5),ht=et[0],Fe=et[1];return ht.push(Ve-1),Fe.push(Ve-1),se.apply(null,ht)+se.apply(null,Fe)}(oe,he,ie,ae,ve,X,3)},nearestPoint:function(oe,he,ie,ae,ve,X,se,fe){return f([oe,ie,ve],[he,ae,X],se,fe,h)},pointDistance:function(oe,he,ie,ae,ve,X,se,fe){var _e=this.nearestPoint(oe,he,ie,ae,ve,X,se,fe);return C(_e.x,_e.y,se,fe)},interpolationAt:h,pointAt:function(oe,he,ie,ae,ve,X,se){return{x:h(oe,ie,ve,se),y:h(he,ae,X,se)}},divide:function(oe,he,ie,ae,ve,X,se){return m(oe,he,ie,ae,ve,X,se)},tangentAngle:function(oe,he,ie,ae,ve,X,se){var fe=s(oe,ie,ve,se),_e=s(he,ae,X,se);return p(Math.atan2(_e,fe))}};function M(oe,he,ie,ae,ve){var X=1-ve;return X*X*X*oe+3*he*ve*X*X+3*ie*ve*ve*X+ae*ve*ve*ve}function E(oe,he,ie,ae,ve){var X=1-ve;return 3*(X*X*(he-oe)+2*X*ve*(ie-he)+ve*ve*(ae-ie))}function j(oe,he,ie,ae){var ve,X,se,fe=-3*oe+9*he-9*ie+3*ae,_e=6*oe-12*he+6*ie,be=3*he-3*oe,We=[];if(w(fe,0))w(_e,0)||(ve=-be/_e)>=0&&ve<=1&&We.push(ve);else{var we=_e*_e-4*fe*be;w(we,0)?We.push(-_e/(2*fe)):we>0&&(X=(-_e-(se=Math.sqrt(we)))/(2*fe),(ve=(-_e+se)/(2*fe))>=0&&ve<=1&&We.push(ve),X>=0&&X<=1&&We.push(X))}return We}function L(oe,he,ie,ae,ve,X,se,fe,_e){var be=M(oe,ie,ve,se,_e),We=M(he,ae,X,fe,_e),we=a.pointAt(oe,he,ie,ae,_e),Ze=a.pointAt(ie,ae,ve,X,_e),Ve=a.pointAt(ve,X,se,fe,_e),et=a.pointAt(we.x,we.y,Ze.x,Ze.y,_e),ht=a.pointAt(Ze.x,Ze.y,Ve.x,Ve.y,_e);return[[oe,he,we.x,we.y,et.x,et.y,be,We],[be,We,ht.x,ht.y,Ve.x,Ve.y,se,fe]]}function A(oe,he,ie,ae,ve,X,se,fe,_e){if(_e===0)return function(Ze,Ve){for(var et=0,ht=Ze.length,Fe=0;Fe<ht;Fe++)et+=C(Ze[Fe],Ve[Fe],Ze[(Fe+1)%ht],Ve[(Fe+1)%ht]);return et/2}([oe,ie,ve,se],[he,ae,X,fe]);var be=L(oe,he,ie,ae,ve,X,se,fe,.5),We=be[0],we=be[1];return We.push(_e-1),we.push(_e-1),A.apply(null,We)+A.apply(null,we)}var J={extrema:j,box:function(oe,he,ie,ae,ve,X,se,fe){for(var _e=[oe,se],be=[he,fe],We=j(oe,ie,ve,se),we=j(he,ae,X,fe),Ze=0;Ze<We.length;Ze++)_e.push(M(oe,ie,ve,se,We[Ze]));for(Ze=0;Ze<we.length;Ze++)be.push(M(he,ae,X,fe,we[Ze]));return O(_e,be)},length:function(oe,he,ie,ae,ve,X,se,fe){return A(oe,he,ie,ae,ve,X,se,fe,3)},nearestPoint:function(oe,he,ie,ae,ve,X,se,fe,_e,be,We){return f([oe,ie,ve,se],[he,ae,X,fe],_e,be,M,We)},pointDistance:function(oe,he,ie,ae,ve,X,se,fe,_e,be,We){var we=this.nearestPoint(oe,he,ie,ae,ve,X,se,fe,_e,be,We);return C(we.x,we.y,_e,be)},interpolationAt:M,pointAt:function(oe,he,ie,ae,ve,X,se,fe,_e){return{x:M(oe,ie,ve,se,_e),y:M(he,ae,X,fe,_e)}},divide:function(oe,he,ie,ae,ve,X,se,fe,_e){return L(oe,he,ie,ae,ve,X,se,fe,_e)},tangentAngle:function(oe,he,ie,ae,ve,X,se,fe,_e){var be=E(oe,ie,ve,se,_e),We=E(he,ae,X,fe,_e);return p(Math.atan2(We,be))}};function q(oe,he){var ie=Math.abs(oe);return he>0?ie:-1*ie}var re=function(oe,he,ie,ae,ve,X){var se=ie,fe=ae;if(se===0||fe===0)return{x:oe,y:he};for(var _e,be,We=ve-oe,we=X-he,Ze=Math.abs(We),Ve=Math.abs(we),et=se*se,ht=fe*fe,Fe=Math.PI/4,mt=0;mt<4;mt++){_e=se*Math.cos(Fe),be=fe*Math.sin(Fe);var dt=(et-ht)*Math.pow(Math.cos(Fe),3)/se,Lt=(ht-et)*Math.pow(Math.sin(Fe),3)/fe,lt=_e-dt,rn=be-Lt,qt=Ze-dt,hn=Ve-Lt,Kt=Math.hypot(rn,lt),an=Math.hypot(hn,qt);Fe+=Kt*Math.asin((lt*hn-rn*qt)/(Kt*an))/Math.sqrt(et+ht-_e*_e-be*be),Fe=Math.min(Math.PI/2,Math.max(0,Fe))}return{x:oe+q(_e,We),y:he+q(be,we)}};function me(oe,he,ie,ae,ve,X){return ie*Math.cos(ve)*Math.cos(X)-ae*Math.sin(ve)*Math.sin(X)+oe}function Te(oe,he,ie,ae,ve,X){return ie*Math.sin(ve)*Math.cos(X)+ae*Math.cos(ve)*Math.sin(X)+he}function ee(oe,he,ie){return{x:oe*Math.cos(ie),y:he*Math.sin(ie)}}function xe(oe,he,ie){var ae=Math.cos(ie),ve=Math.sin(ie);return[oe*ae-he*ve,oe*ve+he*ae]}var Ie={box:function(oe,he,ie,ae,ve,X,se){for(var fe=function(lt,rn,qt){return Math.atan(-rn/lt*Math.tan(qt))}(ie,ae,ve),_e=1/0,be=-1/0,We=[X,se],we=2*-Math.PI;we<=2*Math.PI;we+=Math.PI){var Ze=fe+we;X<se?X<Ze&&Ze<se&&We.push(Ze):se<Ze&&Ze<X&&We.push(Ze)}for(we=0;we<We.length;we++){var Ve=me(oe,0,ie,ae,ve,We[we]);Ve<_e&&(_e=Ve),Ve>be&&(be=Ve)}var et=function(lt,rn,qt){return Math.atan(rn/(lt*Math.tan(qt)))}(ie,ae,ve),ht=1/0,Fe=-1/0,mt=[X,se];for(we=2*-Math.PI;we<=2*Math.PI;we+=Math.PI){var dt=et+we;X<se?X<dt&&dt<se&&mt.push(dt):se<dt&&dt<X&&mt.push(dt)}for(we=0;we<mt.length;we++){var Lt=Te(0,he,ie,ae,ve,mt[we]);Lt<ht&&(ht=Lt),Lt>Fe&&(Fe=Lt)}return{x:_e,y:ht,width:be-_e,height:Fe-ht}},length:function(oe,he,ie,ae,ve,X,se){},nearestPoint:function(oe,he,ie,ae,ve,X,se,fe,_e){var be=xe(fe-oe,_e-he,-ve),We=be[0],we=be[1],Ze=re(0,0,ie,ae,We,we),Ve=function(ht,Fe,mt,dt){return(Math.atan2(dt*ht,mt*Fe)+2*Math.PI)%(2*Math.PI)}(ie,ae,Ze.x,Ze.y);Ve<X?Ze=ee(ie,ae,X):Ve>se&&(Ze=ee(ie,ae,se));var et=xe(Ze.x,Ze.y,ve);return{x:et[0]+oe,y:et[1]+he}},pointDistance:function(oe,he,ie,ae,ve,X,se,fe,_e){var be=this.nearestPoint(oe,he,ie,ae,fe,_e);return C(be.x,be.y,fe,_e)},pointAt:function(oe,he,ie,ae,ve,X,se,fe){var _e=(se-X)*fe+X;return{x:me(oe,0,ie,ae,ve,_e),y:Te(0,he,ie,ae,ve,_e)}},tangentAngle:function(oe,he,ie,ae,ve,X,se,fe){var _e=(se-X)*fe+X,be=function(we,Ze,Ve,et,ht,Fe,mt,dt){return-1*Ve*Math.cos(ht)*Math.sin(dt)-et*Math.sin(ht)*Math.cos(dt)}(0,0,ie,ae,ve,0,0,_e),We=function(we,Ze,Ve,et,ht,Fe,mt,dt){return-1*Ve*Math.sin(ht)*Math.sin(dt)+et*Math.cos(ht)*Math.cos(dt)}(0,0,ie,ae,ve,0,0,_e);return p(Math.atan2(We,be))}};function Le(oe){for(var he=0,ie=[],ae=0;ae<oe.length-1;ae++){var ve=oe[ae],X=oe[ae+1],se=C(ve[0],ve[1],X[0],X[1]),fe={from:ve,to:X,length:se};ie.push(fe),he+=se}return{segments:ie,totalLength:he}}function De(oe){if(oe.length<2)return 0;for(var he=0,ie=0;ie<oe.length-1;ie++){var ae=oe[ie],ve=oe[ie+1];he+=C(ae[0],ae[1],ve[0],ve[1])}return he}function ce(oe,he){if(he>1||he<0||oe.length<2)return null;var ie=Le(oe),ae=ie.segments,ve=ie.totalLength;if(ve===0)return{x:oe[0][0],y:oe[0][1]};for(var X=0,se=null,fe=0;fe<ae.length;fe++){var _e=ae[fe],be=_e.from,We=_e.to,we=_e.length/ve;if(he>=X&&he<=X+we){var Ze=(he-X)/we;se=a.pointAt(be[0],be[1],We[0],We[1],Ze);break}X+=we}return se}function ye(oe,he){if(he>1||he<0||oe.length<2)return 0;for(var ie=Le(oe),ae=ie.segments,ve=ie.totalLength,X=0,se=0,fe=0;fe<ae.length;fe++){var _e=ae[fe],be=_e.from,We=_e.to,we=_e.length/ve;if(he>=X&&he<=X+we){se=Math.atan2(We[1]-be[1],We[0]-be[0]);break}X+=we}return se}function Oe(oe,he,ie){for(var ae=1/0,ve=0;ve<oe.length-1;ve++){var X=oe[ve],se=oe[ve+1],fe=a.pointDistance(X[0],X[1],se[0],se[1],he,ie);fe<ae&&(ae=fe)}return ae}var Ce={box:function(oe){for(var he=[],ie=[],ae=0;ae<oe.length;ae++){var ve=oe[ae];he.push(ve[0]),ie.push(ve[1])}return O(he,ie)},length:function(oe){return De(oe)},pointAt:function(oe,he){return ce(oe,he)},pointDistance:function(oe,he,ie){return Oe(oe,he,ie)},tangentAngle:function(oe,he){return ye(oe,he)}}},function(Ee,c,r){\"use strict\";var y=r(28);r.d(c,\"PathUtil\",function(){return y}),r(69),r(70);var N=r(48);r.d(c,\"Event\",function(){return N.a}),r(49);var C=r(110);r.d(c,\"AbstractCanvas\",function(){return C.a});var w=r(71);r.d(c,\"AbstractGroup\",function(){return w.a});var O=r(72);r.d(c,\"AbstractShape\",function(){return O.a});var b=r(67);r.d(c,\"getBBoxMethod\",function(){return b.a});var p=r(32);r.d(c,\"getTextHeight\",function(){return p.b}),r.d(c,\"assembleFont\",function(){return p.a});var u=r(8);r.d(c,\"isAllowCapture\",function(){return u.b});var a=r(22);r.d(c,\"multiplyVec2\",function(){return a.c}),r.d(c,\"invert\",function(){return a.a});var f=r(50);r.d(c,\"getOffScreenContext\",function(){return f.a}),r(51)},function(Ee,c,r){\"use strict\";r.d(c,\"b\",function(){return C}),r.d(c,\"a\",function(){return w}),r.d(c,\"d\",function(){return O}),r.d(c,\"c\",function(){return b});var y=r(0),N=r(6);function C(p){return document.createElementNS(\"http://www.w3.org/2000/svg\",p)}function w(p){var u=N.a[p.type],a=p.getParent();if(!u)throw new Error(\"the type \"+p.type+\" is not supported by svg\");var f=C(u);if(p.get(\"id\")&&(f.id=p.get(\"id\")),p.set(\"el\",f),p.set(\"attrs\",{}),a){var h=a.get(\"el\");h||(h=a.createDom(),a.set(\"el\",h)),h.appendChild(f)}return f}function O(p,u){var a=p.get(\"el\"),f=Object(y.toArray)(a.children).sort(u),h=document.createDocumentFragment();f.forEach(function(l){h.appendChild(l)}),a.appendChild(h)}function b(p,u){var a=p.parentNode,f=Array.from(a.childNodes).filter(function(m){return m.nodeType===1&&m.nodeName.toLowerCase()!==\"defs\"}),h=f[u],l=f.indexOf(p);if(h){if(l>u)a.insertBefore(p,h);else if(l<u){var s=f[u+1];s?a.insertBefore(p,s):a.appendChild(p)}}else a.appendChild(p)}},function(Ee,c,r){\"use strict\";r.r(c),r.d(c,\"glMatrix\",function(){return u}),r.d(c,\"mat2\",function(){return y}),r.d(c,\"mat2d\",function(){return N}),r.d(c,\"mat3\",function(){return C}),r.d(c,\"mat4\",function(){return w}),r.d(c,\"quat\",function(){return b}),r.d(c,\"quat2\",function(){return p}),r.d(c,\"vec2\",function(){return Ts}),r.d(c,\"vec3\",function(){return Ir}),r.d(c,\"vec4\",function(){return O});var y={};r.r(y),r.d(y,\"create\",function(){return a}),r.d(y,\"clone\",function(){return f}),r.d(y,\"copy\",function(){return h}),r.d(y,\"identity\",function(){return l}),r.d(y,\"fromValues\",function(){return s}),r.d(y,\"set\",function(){return m}),r.d(y,\"transpose\",function(){return x}),r.d(y,\"invert\",function(){return M}),r.d(y,\"adjoint\",function(){return E}),r.d(y,\"determinant\",function(){return j}),r.d(y,\"multiply\",function(){return L}),r.d(y,\"rotate\",function(){return A}),r.d(y,\"scale\",function(){return J}),r.d(y,\"fromRotation\",function(){return q}),r.d(y,\"fromScaling\",function(){return re}),r.d(y,\"str\",function(){return me}),r.d(y,\"frob\",function(){return Te}),r.d(y,\"LDU\",function(){return ee}),r.d(y,\"add\",function(){return xe}),r.d(y,\"subtract\",function(){return Ie}),r.d(y,\"exactEquals\",function(){return Le}),r.d(y,\"equals\",function(){return De}),r.d(y,\"multiplyScalar\",function(){return ce}),r.d(y,\"multiplyScalarAndAdd\",function(){return ye}),r.d(y,\"mul\",function(){return Oe}),r.d(y,\"sub\",function(){return Ce});var N={};r.r(N),r.d(N,\"create\",function(){return oe}),r.d(N,\"clone\",function(){return he}),r.d(N,\"copy\",function(){return ie}),r.d(N,\"identity\",function(){return ae}),r.d(N,\"fromValues\",function(){return ve}),r.d(N,\"set\",function(){return X}),r.d(N,\"invert\",function(){return se}),r.d(N,\"determinant\",function(){return fe}),r.d(N,\"multiply\",function(){return _e}),r.d(N,\"rotate\",function(){return be}),r.d(N,\"scale\",function(){return We}),r.d(N,\"translate\",function(){return we}),r.d(N,\"fromRotation\",function(){return Ze}),r.d(N,\"fromScaling\",function(){return Ve}),r.d(N,\"fromTranslation\",function(){return et}),r.d(N,\"str\",function(){return ht}),r.d(N,\"frob\",function(){return Fe}),r.d(N,\"add\",function(){return mt}),r.d(N,\"subtract\",function(){return dt}),r.d(N,\"multiplyScalar\",function(){return Lt}),r.d(N,\"multiplyScalarAndAdd\",function(){return lt}),r.d(N,\"exactEquals\",function(){return rn}),r.d(N,\"equals\",function(){return qt}),r.d(N,\"mul\",function(){return hn}),r.d(N,\"sub\",function(){return Kt});var C={};r.r(C),r.d(C,\"create\",function(){return an}),r.d(C,\"fromMat4\",function(){return In}),r.d(C,\"clone\",function(){return Ft}),r.d(C,\"copy\",function(){return kt}),r.d(C,\"fromValues\",function(){return At}),r.d(C,\"set\",function(){return Fn}),r.d(C,\"identity\",function(){return pn}),r.d(C,\"transpose\",function(){return en}),r.d(C,\"invert\",function(){return Wn}),r.d(C,\"adjoint\",function(){return Mn}),r.d(C,\"determinant\",function(){return Kn}),r.d(C,\"multiply\",function(){return hr}),r.d(C,\"translate\",function(){return pr}),r.d(C,\"rotate\",function(){return zr}),r.d(C,\"scale\",function(){return Wr}),r.d(C,\"fromTranslation\",function(){return Nr}),r.d(C,\"fromRotation\",function(){return Kr}),r.d(C,\"fromScaling\",function(){return ko}),r.d(C,\"fromMat2d\",function(){return Ur}),r.d(C,\"fromQuat\",function(){return gn}),r.d(C,\"normalFromMat4\",function(){return Gt}),r.d(C,\"projection\",function(){return bt}),r.d(C,\"str\",function(){return Zt}),r.d(C,\"frob\",function(){return gt}),r.d(C,\"add\",function(){return Wt}),r.d(C,\"subtract\",function(){return xn}),r.d(C,\"multiplyScalar\",function(){return Dt}),r.d(C,\"multiplyScalarAndAdd\",function(){return Xn}),r.d(C,\"exactEquals\",function(){return Rn}),r.d(C,\"equals\",function(){return wt}),r.d(C,\"mul\",function(){return pt}),r.d(C,\"sub\",function(){return Ue});var w={};r.r(w),r.d(w,\"create\",function(){return xt}),r.d(w,\"clone\",function(){return cn}),r.d(w,\"copy\",function(){return er}),r.d(w,\"fromValues\",function(){return Mr}),r.d(w,\"set\",function(){return xr}),r.d(w,\"identity\",function(){return jr}),r.d(w,\"transpose\",function(){return yo}),r.d(w,\"invert\",function(){return eo}),r.d(w,\"adjoint\",function(){return vi}),r.d(w,\"determinant\",function(){return Ti}),r.d(w,\"multiply\",function(){return wi}),r.d(w,\"translate\",function(){return mi}),r.d(w,\"scale\",function(){return Zi}),r.d(w,\"rotate\",function(){return aa}),r.d(w,\"rotateX\",function(){return $e}),r.d(w,\"rotateY\",function(){return dn}),r.d(w,\"rotateZ\",function(){return Un}),r.d(w,\"fromTranslation\",function(){return ar}),r.d(w,\"fromScaling\",function(){return Rr}),r.d(w,\"fromRotation\",function(){return Ro}),r.d(w,\"fromXRotation\",function(){return Vo}),r.d(w,\"fromYRotation\",function(){return Co}),r.d(w,\"fromZRotation\",function(){return Mo}),r.d(w,\"fromRotationTranslation\",function(){return qo}),r.d(w,\"fromQuat2\",function(){return ti}),r.d(w,\"getTranslation\",function(){return pi}),r.d(w,\"getScaling\",function(){return ni}),r.d(w,\"getRotation\",function(){return si}),r.d(w,\"fromRotationTranslationScale\",function(){return Oi}),r.d(w,\"fromRotationTranslationScaleOrigin\",function(){return Ki}),r.d(w,\"fromQuat\",function(){return ca}),r.d(w,\"frustum\",function(){return zi}),r.d(w,\"perspectiveNO\",function(){return br}),r.d(w,\"perspective\",function(){return Re}),r.d(w,\"perspectiveZO\",function(){return je}),r.d(w,\"perspectiveFromFieldOfView\",function(){return nt}),r.d(w,\"orthoNO\",function(){return rt}),r.d(w,\"ortho\",function(){return Xt}),r.d(w,\"orthoZO\",function(){return fn}),r.d(w,\"lookAt\",function(){return Cn}),r.d(w,\"targetTo\",function(){return Yn}),r.d(w,\"str\",function(){return Ae}),r.d(w,\"frob\",function(){return Ke}),r.d(w,\"add\",function(){return Mt}),r.d(w,\"subtract\",function(){return Ut}),r.d(w,\"multiplyScalar\",function(){return kn}),r.d(w,\"multiplyScalarAndAdd\",function(){return Zn}),r.d(w,\"exactEquals\",function(){return lr}),r.d(w,\"equals\",function(){return wr}),r.d(w,\"mul\",function(){return Dr}),r.d(w,\"sub\",function(){return go});var O={};r.r(O),r.d(O,\"create\",function(){return Jr}),r.d(O,\"clone\",function(){return _o}),r.d(O,\"fromValues\",function(){return No}),r.d(O,\"copy\",function(){return ii}),r.d(O,\"set\",function(){return Lo}),r.d(O,\"add\",function(){return ai}),r.d(O,\"subtract\",function(){return Si}),r.d(O,\"multiply\",function(){return Ui}),r.d(O,\"divide\",function(){return ln}),r.d(O,\"ceil\",function(){return mn}),r.d(O,\"floor\",function(){return fr}),r.d(O,\"min\",function(){return ft}),r.d(O,\"max\",function(){return ct}),r.d(O,\"round\",function(){return tn}),r.d(O,\"scale\",function(){return An}),r.d(O,\"scaleAndAdd\",function(){return Rt}),r.d(O,\"distance\",function(){return un}),r.d(O,\"squaredDistance\",function(){return Dn}),r.d(O,\"length\",function(){return dr}),r.d(O,\"squaredLength\",function(){return Ar}),r.d(O,\"negate\",function(){return Gr}),r.d(O,\"inverse\",function(){return Pr}),r.d(O,\"normalize\",function(){return Xr}),r.d(O,\"dot\",function(){return oo}),r.d(O,\"cross\",function(){return io}),r.d(O,\"lerp\",function(){return to}),r.d(O,\"random\",function(){return To}),r.d(O,\"transformMat4\",function(){return jn}),r.d(O,\"transformQuat\",function(){return W}),r.d(O,\"zero\",function(){return P}),r.d(O,\"str\",function(){return k}),r.d(O,\"exactEquals\",function(){return z}),r.d(O,\"equals\",function(){return Q}),r.d(O,\"sub\",function(){return V}),r.d(O,\"mul\",function(){return U}),r.d(O,\"div\",function(){return ge}),r.d(O,\"dist\",function(){return ke}),r.d(O,\"sqrDist\",function(){return St}),r.d(O,\"len\",function(){return Je}),r.d(O,\"sqrLen\",function(){return Ot}),r.d(O,\"forEach\",function(){return It});var b={};r.r(b),r.d(b,\"create\",function(){return jt}),r.d(b,\"identity\",function(){return Vt}),r.d(b,\"setAxisAngle\",function(){return Pn}),r.d(b,\"getAxisAngle\",function(){return Jn}),r.d(b,\"getAngle\",function(){return vn}),r.d(b,\"multiply\",function(){return Vn}),r.d(b,\"rotateX\",function(){return zt}),r.d(b,\"rotateY\",function(){return ir}),r.d(b,\"rotateZ\",function(){return nr}),r.d(b,\"calculateW\",function(){return ur}),r.d(b,\"exp\",function(){return sr}),r.d(b,\"ln\",function(){return Ln}),r.d(b,\"pow\",function(){return Bt}),r.d(b,\"slerp\",function(){return En}),r.d(b,\"random\",function(){return _n}),r.d(b,\"invert\",function(){return cr}),r.d(b,\"conjugate\",function(){return ao}),r.d(b,\"fromMat3\",function(){return kr}),r.d(b,\"fromEuler\",function(){return jo}),r.d(b,\"str\",function(){return ui}),r.d(b,\"clone\",function(){return la}),r.d(b,\"fromValues\",function(){return Vi}),r.d(b,\"copy\",function(){return ha}),r.d(b,\"set\",function(){return xa}),r.d(b,\"add\",function(){return qi}),r.d(b,\"mul\",function(){return Jo}),r.d(b,\"scale\",function(){return Ji}),r.d(b,\"dot\",function(){return Yi}),r.d(b,\"lerp\",function(){return Ii}),r.d(b,\"length\",function(){return pa}),r.d(b,\"len\",function(){return na}),r.d(b,\"squaredLength\",function(){return $i}),r.d(b,\"sqrLen\",function(){return La}),r.d(b,\"normalize\",function(){return ss}),r.d(b,\"exactEquals\",function(){return Oa}),r.d(b,\"equals\",function(){return Ma}),r.d(b,\"rotationTo\",function(){return Ka}),r.d(b,\"sqlerp\",function(){return Ba}),r.d(b,\"setAxes\",function(){return Ua});var p={};r.r(p),r.d(p,\"create\",function(){return Va}),r.d(p,\"clone\",function(){return Ls}),r.d(p,\"fromValues\",function(){return Qo}),r.d(p,\"fromRotationTranslationValues\",function(){return ws}),r.d(p,\"fromRotationTranslation\",function(){return Za}),r.d(p,\"fromTranslation\",function(){return rr}),r.d(p,\"fromRotation\",function(){return Eo}),r.d(p,\"fromMat4\",function(){return Br}),r.d(p,\"copy\",function(){return Ao}),r.d(p,\"identity\",function(){return Di}),r.d(p,\"set\",function(){return Aa}),r.d(p,\"getReal\",function(){return Na}),r.d(p,\"getDual\",function(){return Fa}),r.d(p,\"setReal\",function(){return Bs}),r.d(p,\"setDual\",function(){return Ms}),r.d(p,\"getTranslation\",function(){return Qa}),r.d(p,\"translate\",function(){return us}),r.d(p,\"rotateX\",function(){return Fs}),r.d(p,\"rotateY\",function(){return $a}),r.d(p,\"rotateZ\",function(){return Hs}),r.d(p,\"rotateByQuatAppend\",function(){return ys}),r.d(p,\"rotateByQuatPrepend\",function(){return sa}),r.d(p,\"rotateAroundAxis\",function(){return Xa}),r.d(p,\"add\",function(){return os}),r.d(p,\"multiply\",function(){return As}),r.d(p,\"mul\",function(){return oa}),r.d(p,\"scale\",function(){return di}),r.d(p,\"dot\",function(){return ia}),r.d(p,\"lerp\",function(){return _i}),r.d(p,\"invert\",function(){return gi}),r.d(p,\"conjugate\",function(){return fa}),r.d(p,\"length\",function(){return Pa}),r.d(p,\"len\",function(){return xs}),r.d(p,\"squaredLength\",function(){return Li}),r.d(p,\"sqrLen\",function(){return vs}),r.d(p,\"normalize\",function(){return Ca}),r.d(p,\"str\",function(){return ra}),r.d(p,\"exactEquals\",function(){return Ja}),r.d(p,\"equals\",function(){return qa});var u=r(2);function a(){var v=new u.ARRAY_TYPE(4);return u.ARRAY_TYPE!=Float32Array&&(v[1]=0,v[2]=0),v[0]=1,v[3]=1,v}function f(v){var G=new u.ARRAY_TYPE(4);return G[0]=v[0],G[1]=v[1],G[2]=v[2],G[3]=v[3],G}function h(v,G){return v[0]=G[0],v[1]=G[1],v[2]=G[2],v[3]=G[3],v}function l(v){return v[0]=1,v[1]=0,v[2]=0,v[3]=1,v}function s(v,G,ze,ut){var _t=new u.ARRAY_TYPE(4);return _t[0]=v,_t[1]=G,_t[2]=ze,_t[3]=ut,_t}function m(v,G,ze,ut,_t){return v[0]=G,v[1]=ze,v[2]=ut,v[3]=_t,v}function x(v,G){if(v===G){var ze=G[1];v[1]=G[2],v[2]=ze}else v[0]=G[0],v[1]=G[2],v[2]=G[1],v[3]=G[3];return v}function M(v,G){var ze=G[0],ut=G[1],_t=G[2],Ht=G[3],$t=ze*Ht-_t*ut;return $t?($t=1/$t,v[0]=Ht*$t,v[1]=-ut*$t,v[2]=-_t*$t,v[3]=ze*$t,v):null}function E(v,G){var ze=G[0];return v[0]=G[3],v[1]=-G[1],v[2]=-G[2],v[3]=ze,v}function j(v){return v[0]*v[3]-v[2]*v[1]}function L(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=ze[0],On=ze[1],$n=ze[2],gr=ze[3];return v[0]=ut*wn+Ht*On,v[1]=_t*wn+$t*On,v[2]=ut*$n+Ht*gr,v[3]=_t*$n+$t*gr,v}function A(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=Math.sin(ze),On=Math.cos(ze);return v[0]=ut*On+Ht*wn,v[1]=_t*On+$t*wn,v[2]=ut*-wn+Ht*On,v[3]=_t*-wn+$t*On,v}function J(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=ze[0],On=ze[1];return v[0]=ut*wn,v[1]=_t*wn,v[2]=Ht*On,v[3]=$t*On,v}function q(v,G){var ze=Math.sin(G),ut=Math.cos(G);return v[0]=ut,v[1]=ze,v[2]=-ze,v[3]=ut,v}function re(v,G){return v[0]=G[0],v[1]=0,v[2]=0,v[3]=G[1],v}function me(v){return\"mat2(\"+v[0]+\", \"+v[1]+\", \"+v[2]+\", \"+v[3]+\")\"}function Te(v){return Math.hypot(v[0],v[1],v[2],v[3])}function ee(v,G,ze,ut){return v[2]=ut[2]/ut[0],ze[0]=ut[0],ze[1]=ut[1],ze[3]=ut[3]-v[2]*ze[1],[v,G,ze]}function xe(v,G,ze){return v[0]=G[0]+ze[0],v[1]=G[1]+ze[1],v[2]=G[2]+ze[2],v[3]=G[3]+ze[3],v}function Ie(v,G,ze){return v[0]=G[0]-ze[0],v[1]=G[1]-ze[1],v[2]=G[2]-ze[2],v[3]=G[3]-ze[3],v}function Le(v,G){return v[0]===G[0]&&v[1]===G[1]&&v[2]===G[2]&&v[3]===G[3]}function De(v,G){var ze=v[0],ut=v[1],_t=v[2],Ht=v[3],$t=G[0],wn=G[1],On=G[2],$n=G[3];return Math.abs(ze-$t)<=u.EPSILON*Math.max(1,Math.abs(ze),Math.abs($t))&&Math.abs(ut-wn)<=u.EPSILON*Math.max(1,Math.abs(ut),Math.abs(wn))&&Math.abs(_t-On)<=u.EPSILON*Math.max(1,Math.abs(_t),Math.abs(On))&&Math.abs(Ht-$n)<=u.EPSILON*Math.max(1,Math.abs(Ht),Math.abs($n))}function ce(v,G,ze){return v[0]=G[0]*ze,v[1]=G[1]*ze,v[2]=G[2]*ze,v[3]=G[3]*ze,v}function ye(v,G,ze,ut){return v[0]=G[0]+ze[0]*ut,v[1]=G[1]+ze[1]*ut,v[2]=G[2]+ze[2]*ut,v[3]=G[3]+ze[3]*ut,v}var Oe=L,Ce=Ie;function oe(){var v=new u.ARRAY_TYPE(6);return u.ARRAY_TYPE!=Float32Array&&(v[1]=0,v[2]=0,v[4]=0,v[5]=0),v[0]=1,v[3]=1,v}function he(v){var G=new u.ARRAY_TYPE(6);return G[0]=v[0],G[1]=v[1],G[2]=v[2],G[3]=v[3],G[4]=v[4],G[5]=v[5],G}function ie(v,G){return v[0]=G[0],v[1]=G[1],v[2]=G[2],v[3]=G[3],v[4]=G[4],v[5]=G[5],v}function ae(v){return v[0]=1,v[1]=0,v[2]=0,v[3]=1,v[4]=0,v[5]=0,v}function ve(v,G,ze,ut,_t,Ht){var $t=new u.ARRAY_TYPE(6);return $t[0]=v,$t[1]=G,$t[2]=ze,$t[3]=ut,$t[4]=_t,$t[5]=Ht,$t}function X(v,G,ze,ut,_t,Ht,$t){return v[0]=G,v[1]=ze,v[2]=ut,v[3]=_t,v[4]=Ht,v[5]=$t,v}function se(v,G){var ze=G[0],ut=G[1],_t=G[2],Ht=G[3],$t=G[4],wn=G[5],On=ze*Ht-ut*_t;return On?(On=1/On,v[0]=Ht*On,v[1]=-ut*On,v[2]=-_t*On,v[3]=ze*On,v[4]=(_t*wn-Ht*$t)*On,v[5]=(ut*$t-ze*wn)*On,v):null}function fe(v){return v[0]*v[3]-v[1]*v[2]}function _e(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=G[4],On=G[5],$n=ze[0],gr=ze[1],Fr=ze[2],Qr=ze[3],qr=ze[4],mo=ze[5];return v[0]=ut*$n+Ht*gr,v[1]=_t*$n+$t*gr,v[2]=ut*Fr+Ht*Qr,v[3]=_t*Fr+$t*Qr,v[4]=ut*qr+Ht*mo+wn,v[5]=_t*qr+$t*mo+On,v}function be(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=G[4],On=G[5],$n=Math.sin(ze),gr=Math.cos(ze);return v[0]=ut*gr+Ht*$n,v[1]=_t*gr+$t*$n,v[2]=ut*-$n+Ht*gr,v[3]=_t*-$n+$t*gr,v[4]=wn,v[5]=On,v}function We(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=G[4],On=G[5],$n=ze[0],gr=ze[1];return v[0]=ut*$n,v[1]=_t*$n,v[2]=Ht*gr,v[3]=$t*gr,v[4]=wn,v[5]=On,v}function we(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=G[4],On=G[5],$n=ze[0],gr=ze[1];return v[0]=ut,v[1]=_t,v[2]=Ht,v[3]=$t,v[4]=ut*$n+Ht*gr+wn,v[5]=_t*$n+$t*gr+On,v}function Ze(v,G){var ze=Math.sin(G),ut=Math.cos(G);return v[0]=ut,v[1]=ze,v[2]=-ze,v[3]=ut,v[4]=0,v[5]=0,v}function Ve(v,G){return v[0]=G[0],v[1]=0,v[2]=0,v[3]=G[1],v[4]=0,v[5]=0,v}function et(v,G){return v[0]=1,v[1]=0,v[2]=0,v[3]=1,v[4]=G[0],v[5]=G[1],v}function ht(v){return\"mat2d(\"+v[0]+\", \"+v[1]+\", \"+v[2]+\", \"+v[3]+\", \"+v[4]+\", \"+v[5]+\")\"}function Fe(v){return Math.hypot(v[0],v[1],v[2],v[3],v[4],v[5],1)}function mt(v,G,ze){return v[0]=G[0]+ze[0],v[1]=G[1]+ze[1],v[2]=G[2]+ze[2],v[3]=G[3]+ze[3],v[4]=G[4]+ze[4],v[5]=G[5]+ze[5],v}function dt(v,G,ze){return v[0]=G[0]-ze[0],v[1]=G[1]-ze[1],v[2]=G[2]-ze[2],v[3]=G[3]-ze[3],v[4]=G[4]-ze[4],v[5]=G[5]-ze[5],v}function Lt(v,G,ze){return v[0]=G[0]*ze,v[1]=G[1]*ze,v[2]=G[2]*ze,v[3]=G[3]*ze,v[4]=G[4]*ze,v[5]=G[5]*ze,v}function lt(v,G,ze,ut){return v[0]=G[0]+ze[0]*ut,v[1]=G[1]+ze[1]*ut,v[2]=G[2]+ze[2]*ut,v[3]=G[3]+ze[3]*ut,v[4]=G[4]+ze[4]*ut,v[5]=G[5]+ze[5]*ut,v}function rn(v,G){return v[0]===G[0]&&v[1]===G[1]&&v[2]===G[2]&&v[3]===G[3]&&v[4]===G[4]&&v[5]===G[5]}function qt(v,G){var ze=v[0],ut=v[1],_t=v[2],Ht=v[3],$t=v[4],wn=v[5],On=G[0],$n=G[1],gr=G[2],Fr=G[3],Qr=G[4],qr=G[5];return Math.abs(ze-On)<=u.EPSILON*Math.max(1,Math.abs(ze),Math.abs(On))&&Math.abs(ut-$n)<=u.EPSILON*Math.max(1,Math.abs(ut),Math.abs($n))&&Math.abs(_t-gr)<=u.EPSILON*Math.max(1,Math.abs(_t),Math.abs(gr))&&Math.abs(Ht-Fr)<=u.EPSILON*Math.max(1,Math.abs(Ht),Math.abs(Fr))&&Math.abs($t-Qr)<=u.EPSILON*Math.max(1,Math.abs($t),Math.abs(Qr))&&Math.abs(wn-qr)<=u.EPSILON*Math.max(1,Math.abs(wn),Math.abs(qr))}var hn=_e,Kt=dt;function an(){var v=new u.ARRAY_TYPE(9);return u.ARRAY_TYPE!=Float32Array&&(v[1]=0,v[2]=0,v[3]=0,v[5]=0,v[6]=0,v[7]=0),v[0]=1,v[4]=1,v[8]=1,v}function In(v,G){return v[0]=G[0],v[1]=G[1],v[2]=G[2],v[3]=G[4],v[4]=G[5],v[5]=G[6],v[6]=G[8],v[7]=G[9],v[8]=G[10],v}function Ft(v){var G=new u.ARRAY_TYPE(9);return G[0]=v[0],G[1]=v[1],G[2]=v[2],G[3]=v[3],G[4]=v[4],G[5]=v[5],G[6]=v[6],G[7]=v[7],G[8]=v[8],G}function kt(v,G){return v[0]=G[0],v[1]=G[1],v[2]=G[2],v[3]=G[3],v[4]=G[4],v[5]=G[5],v[6]=G[6],v[7]=G[7],v[8]=G[8],v}function At(v,G,ze,ut,_t,Ht,$t,wn,On){var $n=new u.ARRAY_TYPE(9);return $n[0]=v,$n[1]=G,$n[2]=ze,$n[3]=ut,$n[4]=_t,$n[5]=Ht,$n[6]=$t,$n[7]=wn,$n[8]=On,$n}function Fn(v,G,ze,ut,_t,Ht,$t,wn,On,$n){return v[0]=G,v[1]=ze,v[2]=ut,v[3]=_t,v[4]=Ht,v[5]=$t,v[6]=wn,v[7]=On,v[8]=$n,v}function pn(v){return v[0]=1,v[1]=0,v[2]=0,v[3]=0,v[4]=1,v[5]=0,v[6]=0,v[7]=0,v[8]=1,v}function en(v,G){if(v===G){var ze=G[1],ut=G[2],_t=G[5];v[1]=G[3],v[2]=G[6],v[3]=ze,v[5]=G[7],v[6]=ut,v[7]=_t}else v[0]=G[0],v[1]=G[3],v[2]=G[6],v[3]=G[1],v[4]=G[4],v[5]=G[7],v[6]=G[2],v[7]=G[5],v[8]=G[8];return v}function Wn(v,G){var ze=G[0],ut=G[1],_t=G[2],Ht=G[3],$t=G[4],wn=G[5],On=G[6],$n=G[7],gr=G[8],Fr=gr*$t-wn*$n,Qr=-gr*Ht+wn*On,qr=$n*Ht-$t*On,mo=ze*Fr+ut*Qr+_t*qr;return mo?(mo=1/mo,v[0]=Fr*mo,v[1]=(-gr*ut+_t*$n)*mo,v[2]=(wn*ut-_t*$t)*mo,v[3]=Qr*mo,v[4]=(gr*ze-_t*On)*mo,v[5]=(-wn*ze+_t*Ht)*mo,v[6]=qr*mo,v[7]=(-$n*ze+ut*On)*mo,v[8]=($t*ze-ut*Ht)*mo,v):null}function Mn(v,G){var ze=G[0],ut=G[1],_t=G[2],Ht=G[3],$t=G[4],wn=G[5],On=G[6],$n=G[7],gr=G[8];return v[0]=$t*gr-wn*$n,v[1]=_t*$n-ut*gr,v[2]=ut*wn-_t*$t,v[3]=wn*On-Ht*gr,v[4]=ze*gr-_t*On,v[5]=_t*Ht-ze*wn,v[6]=Ht*$n-$t*On,v[7]=ut*On-ze*$n,v[8]=ze*$t-ut*Ht,v}function Kn(v){var G=v[0],ze=v[1],ut=v[2],_t=v[3],Ht=v[4],$t=v[5],wn=v[6],On=v[7],$n=v[8];return G*($n*Ht-$t*On)+ze*(-$n*_t+$t*wn)+ut*(On*_t-Ht*wn)}function hr(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=G[4],On=G[5],$n=G[6],gr=G[7],Fr=G[8],Qr=ze[0],qr=ze[1],mo=ze[2],Ho=ze[3],fo=ze[4],ei=ze[5],ea=ze[6],Xi=ze[7],hi=ze[8];return v[0]=Qr*ut+qr*$t+mo*$n,v[1]=Qr*_t+qr*wn+mo*gr,v[2]=Qr*Ht+qr*On+mo*Fr,v[3]=Ho*ut+fo*$t+ei*$n,v[4]=Ho*_t+fo*wn+ei*gr,v[5]=Ho*Ht+fo*On+ei*Fr,v[6]=ea*ut+Xi*$t+hi*$n,v[7]=ea*_t+Xi*wn+hi*gr,v[8]=ea*Ht+Xi*On+hi*Fr,v}function pr(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=G[4],On=G[5],$n=G[6],gr=G[7],Fr=G[8],Qr=ze[0],qr=ze[1];return v[0]=ut,v[1]=_t,v[2]=Ht,v[3]=$t,v[4]=wn,v[5]=On,v[6]=Qr*ut+qr*$t+$n,v[7]=Qr*_t+qr*wn+gr,v[8]=Qr*Ht+qr*On+Fr,v}function zr(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=G[4],On=G[5],$n=G[6],gr=G[7],Fr=G[8],Qr=Math.sin(ze),qr=Math.cos(ze);return v[0]=qr*ut+Qr*$t,v[1]=qr*_t+Qr*wn,v[2]=qr*Ht+Qr*On,v[3]=qr*$t-Qr*ut,v[4]=qr*wn-Qr*_t,v[5]=qr*On-Qr*Ht,v[6]=$n,v[7]=gr,v[8]=Fr,v}function Wr(v,G,ze){var ut=ze[0],_t=ze[1];return v[0]=ut*G[0],v[1]=ut*G[1],v[2]=ut*G[2],v[3]=_t*G[3],v[4]=_t*G[4],v[5]=_t*G[5],v[6]=G[6],v[7]=G[7],v[8]=G[8],v}function Nr(v,G){return v[0]=1,v[1]=0,v[2]=0,v[3]=0,v[4]=1,v[5]=0,v[6]=G[0],v[7]=G[1],v[8]=1,v}function Kr(v,G){var ze=Math.sin(G),ut=Math.cos(G);return v[0]=ut,v[1]=ze,v[2]=0,v[3]=-ze,v[4]=ut,v[5]=0,v[6]=0,v[7]=0,v[8]=1,v}function ko(v,G){return v[0]=G[0],v[1]=0,v[2]=0,v[3]=0,v[4]=G[1],v[5]=0,v[6]=0,v[7]=0,v[8]=1,v}function Ur(v,G){return v[0]=G[0],v[1]=G[1],v[2]=0,v[3]=G[2],v[4]=G[3],v[5]=0,v[6]=G[4],v[7]=G[5],v[8]=1,v}function gn(v,G){var ze=G[0],ut=G[1],_t=G[2],Ht=G[3],$t=ze+ze,wn=ut+ut,On=_t+_t,$n=ze*$t,gr=ut*$t,Fr=ut*wn,Qr=_t*$t,qr=_t*wn,mo=_t*On,Ho=Ht*$t,fo=Ht*wn,ei=Ht*On;return v[0]=1-Fr-mo,v[3]=gr-ei,v[6]=Qr+fo,v[1]=gr+ei,v[4]=1-$n-mo,v[7]=qr-Ho,v[2]=Qr-fo,v[5]=qr+Ho,v[8]=1-$n-Fr,v}function Gt(v,G){var ze=G[0],ut=G[1],_t=G[2],Ht=G[3],$t=G[4],wn=G[5],On=G[6],$n=G[7],gr=G[8],Fr=G[9],Qr=G[10],qr=G[11],mo=G[12],Ho=G[13],fo=G[14],ei=G[15],ea=ze*wn-ut*$t,Xi=ze*On-_t*$t,hi=ze*$n-Ht*$t,Yo=ut*On-_t*wn,Bi=ut*$n-Ht*wn,_a=_t*$n-Ht*On,wa=gr*Ho-Fr*mo,Ia=gr*fo-Qr*mo,tr=gr*ei-qr*mo,Sa=Fr*fo-Qr*Ho,Ta=Fr*ei-qr*Ho,ga=Qr*ei-qr*fo,Fi=ea*ga-Xi*Ta+hi*Sa+Yo*tr-Bi*Ia+_a*wa;return Fi?(Fi=1/Fi,v[0]=(wn*ga-On*Ta+$n*Sa)*Fi,v[1]=(On*tr-$t*ga-$n*Ia)*Fi,v[2]=($t*Ta-wn*tr+$n*wa)*Fi,v[3]=(_t*Ta-ut*ga-Ht*Sa)*Fi,v[4]=(ze*ga-_t*tr+Ht*Ia)*Fi,v[5]=(ut*tr-ze*Ta-Ht*wa)*Fi,v[6]=(Ho*_a-fo*Bi+ei*Yo)*Fi,v[7]=(fo*hi-mo*_a-ei*Xi)*Fi,v[8]=(mo*Bi-Ho*hi+ei*ea)*Fi,v):null}function bt(v,G,ze){return v[0]=2/G,v[1]=0,v[2]=0,v[3]=0,v[4]=-2/ze,v[5]=0,v[6]=-1,v[7]=1,v[8]=1,v}function Zt(v){return\"mat3(\"+v[0]+\", \"+v[1]+\", \"+v[2]+\", \"+v[3]+\", \"+v[4]+\", \"+v[5]+\", \"+v[6]+\", \"+v[7]+\", \"+v[8]+\")\"}function gt(v){return Math.hypot(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8])}function Wt(v,G,ze){return v[0]=G[0]+ze[0],v[1]=G[1]+ze[1],v[2]=G[2]+ze[2],v[3]=G[3]+ze[3],v[4]=G[4]+ze[4],v[5]=G[5]+ze[5],v[6]=G[6]+ze[6],v[7]=G[7]+ze[7],v[8]=G[8]+ze[8],v}function xn(v,G,ze){return v[0]=G[0]-ze[0],v[1]=G[1]-ze[1],v[2]=G[2]-ze[2],v[3]=G[3]-ze[3],v[4]=G[4]-ze[4],v[5]=G[5]-ze[5],v[6]=G[6]-ze[6],v[7]=G[7]-ze[7],v[8]=G[8]-ze[8],v}function Dt(v,G,ze){return v[0]=G[0]*ze,v[1]=G[1]*ze,v[2]=G[2]*ze,v[3]=G[3]*ze,v[4]=G[4]*ze,v[5]=G[5]*ze,v[6]=G[6]*ze,v[7]=G[7]*ze,v[8]=G[8]*ze,v}function Xn(v,G,ze,ut){return v[0]=G[0]+ze[0]*ut,v[1]=G[1]+ze[1]*ut,v[2]=G[2]+ze[2]*ut,v[3]=G[3]+ze[3]*ut,v[4]=G[4]+ze[4]*ut,v[5]=G[5]+ze[5]*ut,v[6]=G[6]+ze[6]*ut,v[7]=G[7]+ze[7]*ut,v[8]=G[8]+ze[8]*ut,v}function Rn(v,G){return v[0]===G[0]&&v[1]===G[1]&&v[2]===G[2]&&v[3]===G[3]&&v[4]===G[4]&&v[5]===G[5]&&v[6]===G[6]&&v[7]===G[7]&&v[8]===G[8]}function wt(v,G){var ze=v[0],ut=v[1],_t=v[2],Ht=v[3],$t=v[4],wn=v[5],On=v[6],$n=v[7],gr=v[8],Fr=G[0],Qr=G[1],qr=G[2],mo=G[3],Ho=G[4],fo=G[5],ei=G[6],ea=G[7],Xi=G[8];return Math.abs(ze-Fr)<=u.EPSILON*Math.max(1,Math.abs(ze),Math.abs(Fr))&&Math.abs(ut-Qr)<=u.EPSILON*Math.max(1,Math.abs(ut),Math.abs(Qr))&&Math.abs(_t-qr)<=u.EPSILON*Math.max(1,Math.abs(_t),Math.abs(qr))&&Math.abs(Ht-mo)<=u.EPSILON*Math.max(1,Math.abs(Ht),Math.abs(mo))&&Math.abs($t-Ho)<=u.EPSILON*Math.max(1,Math.abs($t),Math.abs(Ho))&&Math.abs(wn-fo)<=u.EPSILON*Math.max(1,Math.abs(wn),Math.abs(fo))&&Math.abs(On-ei)<=u.EPSILON*Math.max(1,Math.abs(On),Math.abs(ei))&&Math.abs($n-ea)<=u.EPSILON*Math.max(1,Math.abs($n),Math.abs(ea))&&Math.abs(gr-Xi)<=u.EPSILON*Math.max(1,Math.abs(gr),Math.abs(Xi))}var pt=hr,Ue=xn;function xt(){var v=new u.ARRAY_TYPE(16);return u.ARRAY_TYPE!=Float32Array&&(v[1]=0,v[2]=0,v[3]=0,v[4]=0,v[6]=0,v[7]=0,v[8]=0,v[9]=0,v[11]=0,v[12]=0,v[13]=0,v[14]=0),v[0]=1,v[5]=1,v[10]=1,v[15]=1,v}function cn(v){var G=new u.ARRAY_TYPE(16);return G[0]=v[0],G[1]=v[1],G[2]=v[2],G[3]=v[3],G[4]=v[4],G[5]=v[5],G[6]=v[6],G[7]=v[7],G[8]=v[8],G[9]=v[9],G[10]=v[10],G[11]=v[11],G[12]=v[12],G[13]=v[13],G[14]=v[14],G[15]=v[15],G}function er(v,G){return v[0]=G[0],v[1]=G[1],v[2]=G[2],v[3]=G[3],v[4]=G[4],v[5]=G[5],v[6]=G[6],v[7]=G[7],v[8]=G[8],v[9]=G[9],v[10]=G[10],v[11]=G[11],v[12]=G[12],v[13]=G[13],v[14]=G[14],v[15]=G[15],v}function Mr(v,G,ze,ut,_t,Ht,$t,wn,On,$n,gr,Fr,Qr,qr,mo,Ho){var fo=new u.ARRAY_TYPE(16);return fo[0]=v,fo[1]=G,fo[2]=ze,fo[3]=ut,fo[4]=_t,fo[5]=Ht,fo[6]=$t,fo[7]=wn,fo[8]=On,fo[9]=$n,fo[10]=gr,fo[11]=Fr,fo[12]=Qr,fo[13]=qr,fo[14]=mo,fo[15]=Ho,fo}function xr(v,G,ze,ut,_t,Ht,$t,wn,On,$n,gr,Fr,Qr,qr,mo,Ho,fo){return v[0]=G,v[1]=ze,v[2]=ut,v[3]=_t,v[4]=Ht,v[5]=$t,v[6]=wn,v[7]=On,v[8]=$n,v[9]=gr,v[10]=Fr,v[11]=Qr,v[12]=qr,v[13]=mo,v[14]=Ho,v[15]=fo,v}function jr(v){return v[0]=1,v[1]=0,v[2]=0,v[3]=0,v[4]=0,v[5]=1,v[6]=0,v[7]=0,v[8]=0,v[9]=0,v[10]=1,v[11]=0,v[12]=0,v[13]=0,v[14]=0,v[15]=1,v}function yo(v,G){if(v===G){var ze=G[1],ut=G[2],_t=G[3],Ht=G[6],$t=G[7],wn=G[11];v[1]=G[4],v[2]=G[8],v[3]=G[12],v[4]=ze,v[6]=G[9],v[7]=G[13],v[8]=ut,v[9]=Ht,v[11]=G[14],v[12]=_t,v[13]=$t,v[14]=wn}else v[0]=G[0],v[1]=G[4],v[2]=G[8],v[3]=G[12],v[4]=G[1],v[5]=G[5],v[6]=G[9],v[7]=G[13],v[8]=G[2],v[9]=G[6],v[10]=G[10],v[11]=G[14],v[12]=G[3],v[13]=G[7],v[14]=G[11],v[15]=G[15];return v}function eo(v,G){var ze=G[0],ut=G[1],_t=G[2],Ht=G[3],$t=G[4],wn=G[5],On=G[6],$n=G[7],gr=G[8],Fr=G[9],Qr=G[10],qr=G[11],mo=G[12],Ho=G[13],fo=G[14],ei=G[15],ea=ze*wn-ut*$t,Xi=ze*On-_t*$t,hi=ze*$n-Ht*$t,Yo=ut*On-_t*wn,Bi=ut*$n-Ht*wn,_a=_t*$n-Ht*On,wa=gr*Ho-Fr*mo,Ia=gr*fo-Qr*mo,tr=gr*ei-qr*mo,Sa=Fr*fo-Qr*Ho,Ta=Fr*ei-qr*Ho,ga=Qr*ei-qr*fo,Fi=ea*ga-Xi*Ta+hi*Sa+Yo*tr-Bi*Ia+_a*wa;return Fi?(Fi=1/Fi,v[0]=(wn*ga-On*Ta+$n*Sa)*Fi,v[1]=(_t*Ta-ut*ga-Ht*Sa)*Fi,v[2]=(Ho*_a-fo*Bi+ei*Yo)*Fi,v[3]=(Qr*Bi-Fr*_a-qr*Yo)*Fi,v[4]=(On*tr-$t*ga-$n*Ia)*Fi,v[5]=(ze*ga-_t*tr+Ht*Ia)*Fi,v[6]=(fo*hi-mo*_a-ei*Xi)*Fi,v[7]=(gr*_a-Qr*hi+qr*Xi)*Fi,v[8]=($t*Ta-wn*tr+$n*wa)*Fi,v[9]=(ut*tr-ze*Ta-Ht*wa)*Fi,v[10]=(mo*Bi-Ho*hi+ei*ea)*Fi,v[11]=(Fr*hi-gr*Bi-qr*ea)*Fi,v[12]=(wn*Ia-$t*Sa-On*wa)*Fi,v[13]=(ze*Sa-ut*Ia+_t*wa)*Fi,v[14]=(Ho*Xi-mo*Yo-fo*ea)*Fi,v[15]=(gr*Yo-Fr*Xi+Qr*ea)*Fi,v):null}function vi(v,G){var ze=G[0],ut=G[1],_t=G[2],Ht=G[3],$t=G[4],wn=G[5],On=G[6],$n=G[7],gr=G[8],Fr=G[9],Qr=G[10],qr=G[11],mo=G[12],Ho=G[13],fo=G[14],ei=G[15];return v[0]=wn*(Qr*ei-qr*fo)-Fr*(On*ei-$n*fo)+Ho*(On*qr-$n*Qr),v[1]=-(ut*(Qr*ei-qr*fo)-Fr*(_t*ei-Ht*fo)+Ho*(_t*qr-Ht*Qr)),v[2]=ut*(On*ei-$n*fo)-wn*(_t*ei-Ht*fo)+Ho*(_t*$n-Ht*On),v[3]=-(ut*(On*qr-$n*Qr)-wn*(_t*qr-Ht*Qr)+Fr*(_t*$n-Ht*On)),v[4]=-($t*(Qr*ei-qr*fo)-gr*(On*ei-$n*fo)+mo*(On*qr-$n*Qr)),v[5]=ze*(Qr*ei-qr*fo)-gr*(_t*ei-Ht*fo)+mo*(_t*qr-Ht*Qr),v[6]=-(ze*(On*ei-$n*fo)-$t*(_t*ei-Ht*fo)+mo*(_t*$n-Ht*On)),v[7]=ze*(On*qr-$n*Qr)-$t*(_t*qr-Ht*Qr)+gr*(_t*$n-Ht*On),v[8]=$t*(Fr*ei-qr*Ho)-gr*(wn*ei-$n*Ho)+mo*(wn*qr-$n*Fr),v[9]=-(ze*(Fr*ei-qr*Ho)-gr*(ut*ei-Ht*Ho)+mo*(ut*qr-Ht*Fr)),v[10]=ze*(wn*ei-$n*Ho)-$t*(ut*ei-Ht*Ho)+mo*(ut*$n-Ht*wn),v[11]=-(ze*(wn*qr-$n*Fr)-$t*(ut*qr-Ht*Fr)+gr*(ut*$n-Ht*wn)),v[12]=-($t*(Fr*fo-Qr*Ho)-gr*(wn*fo-On*Ho)+mo*(wn*Qr-On*Fr)),v[13]=ze*(Fr*fo-Qr*Ho)-gr*(ut*fo-_t*Ho)+mo*(ut*Qr-_t*Fr),v[14]=-(ze*(wn*fo-On*Ho)-$t*(ut*fo-_t*Ho)+mo*(ut*On-_t*wn)),v[15]=ze*(wn*Qr-On*Fr)-$t*(ut*Qr-_t*Fr)+gr*(ut*On-_t*wn),v}function Ti(v){var G=v[0],ze=v[1],ut=v[2],_t=v[3],Ht=v[4],$t=v[5],wn=v[6],On=v[7],$n=v[8],gr=v[9],Fr=v[10],Qr=v[11],qr=v[12],mo=v[13],Ho=v[14],fo=v[15];return(G*$t-ze*Ht)*(Fr*fo-Qr*Ho)-(G*wn-ut*Ht)*(gr*fo-Qr*mo)+(G*On-_t*Ht)*(gr*Ho-Fr*mo)+(ze*wn-ut*$t)*($n*fo-Qr*qr)-(ze*On-_t*$t)*($n*Ho-Fr*qr)+(ut*On-_t*wn)*($n*mo-gr*qr)}function wi(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=G[4],On=G[5],$n=G[6],gr=G[7],Fr=G[8],Qr=G[9],qr=G[10],mo=G[11],Ho=G[12],fo=G[13],ei=G[14],ea=G[15],Xi=ze[0],hi=ze[1],Yo=ze[2],Bi=ze[3];return v[0]=Xi*ut+hi*wn+Yo*Fr+Bi*Ho,v[1]=Xi*_t+hi*On+Yo*Qr+Bi*fo,v[2]=Xi*Ht+hi*$n+Yo*qr+Bi*ei,v[3]=Xi*$t+hi*gr+Yo*mo+Bi*ea,Xi=ze[4],hi=ze[5],Yo=ze[6],Bi=ze[7],v[4]=Xi*ut+hi*wn+Yo*Fr+Bi*Ho,v[5]=Xi*_t+hi*On+Yo*Qr+Bi*fo,v[6]=Xi*Ht+hi*$n+Yo*qr+Bi*ei,v[7]=Xi*$t+hi*gr+Yo*mo+Bi*ea,Xi=ze[8],hi=ze[9],Yo=ze[10],Bi=ze[11],v[8]=Xi*ut+hi*wn+Yo*Fr+Bi*Ho,v[9]=Xi*_t+hi*On+Yo*Qr+Bi*fo,v[10]=Xi*Ht+hi*$n+Yo*qr+Bi*ei,v[11]=Xi*$t+hi*gr+Yo*mo+Bi*ea,Xi=ze[12],hi=ze[13],Yo=ze[14],Bi=ze[15],v[12]=Xi*ut+hi*wn+Yo*Fr+Bi*Ho,v[13]=Xi*_t+hi*On+Yo*Qr+Bi*fo,v[14]=Xi*Ht+hi*$n+Yo*qr+Bi*ei,v[15]=Xi*$t+hi*gr+Yo*mo+Bi*ea,v}function mi(v,G,ze){var ut,_t,Ht,$t,wn,On,$n,gr,Fr,Qr,qr,mo,Ho=ze[0],fo=ze[1],ei=ze[2];return G===v?(v[12]=G[0]*Ho+G[4]*fo+G[8]*ei+G[12],v[13]=G[1]*Ho+G[5]*fo+G[9]*ei+G[13],v[14]=G[2]*Ho+G[6]*fo+G[10]*ei+G[14],v[15]=G[3]*Ho+G[7]*fo+G[11]*ei+G[15]):(ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=G[4],On=G[5],$n=G[6],gr=G[7],Fr=G[8],Qr=G[9],qr=G[10],mo=G[11],v[0]=ut,v[1]=_t,v[2]=Ht,v[3]=$t,v[4]=wn,v[5]=On,v[6]=$n,v[7]=gr,v[8]=Fr,v[9]=Qr,v[10]=qr,v[11]=mo,v[12]=ut*Ho+wn*fo+Fr*ei+G[12],v[13]=_t*Ho+On*fo+Qr*ei+G[13],v[14]=Ht*Ho+$n*fo+qr*ei+G[14],v[15]=$t*Ho+gr*fo+mo*ei+G[15]),v}function Zi(v,G,ze){var ut=ze[0],_t=ze[1],Ht=ze[2];return v[0]=G[0]*ut,v[1]=G[1]*ut,v[2]=G[2]*ut,v[3]=G[3]*ut,v[4]=G[4]*_t,v[5]=G[5]*_t,v[6]=G[6]*_t,v[7]=G[7]*_t,v[8]=G[8]*Ht,v[9]=G[9]*Ht,v[10]=G[10]*Ht,v[11]=G[11]*Ht,v[12]=G[12],v[13]=G[13],v[14]=G[14],v[15]=G[15],v}function aa(v,G,ze,ut){var _t,Ht,$t,wn,On,$n,gr,Fr,Qr,qr,mo,Ho,fo,ei,ea,Xi,hi,Yo,Bi,_a,wa,Ia,tr,Sa,Ta=ut[0],ga=ut[1],Fi=ut[2],Cs=Math.hypot(Ta,ga,Fi);return Cs<u.EPSILON?null:(Ta*=Cs=1/Cs,ga*=Cs,Fi*=Cs,_t=Math.sin(ze),$t=1-(Ht=Math.cos(ze)),wn=G[0],On=G[1],$n=G[2],gr=G[3],Fr=G[4],Qr=G[5],qr=G[6],mo=G[7],Ho=G[8],fo=G[9],ei=G[10],ea=G[11],Xi=Ta*Ta*$t+Ht,hi=ga*Ta*$t+Fi*_t,Yo=Fi*Ta*$t-ga*_t,Bi=Ta*ga*$t-Fi*_t,_a=ga*ga*$t+Ht,wa=Fi*ga*$t+Ta*_t,Ia=Ta*Fi*$t+ga*_t,tr=ga*Fi*$t-Ta*_t,Sa=Fi*Fi*$t+Ht,v[0]=wn*Xi+Fr*hi+Ho*Yo,v[1]=On*Xi+Qr*hi+fo*Yo,v[2]=$n*Xi+qr*hi+ei*Yo,v[3]=gr*Xi+mo*hi+ea*Yo,v[4]=wn*Bi+Fr*_a+Ho*wa,v[5]=On*Bi+Qr*_a+fo*wa,v[6]=$n*Bi+qr*_a+ei*wa,v[7]=gr*Bi+mo*_a+ea*wa,v[8]=wn*Ia+Fr*tr+Ho*Sa,v[9]=On*Ia+Qr*tr+fo*Sa,v[10]=$n*Ia+qr*tr+ei*Sa,v[11]=gr*Ia+mo*tr+ea*Sa,G!==v&&(v[12]=G[12],v[13]=G[13],v[14]=G[14],v[15]=G[15]),v)}function $e(v,G,ze){var ut=Math.sin(ze),_t=Math.cos(ze),Ht=G[4],$t=G[5],wn=G[6],On=G[7],$n=G[8],gr=G[9],Fr=G[10],Qr=G[11];return G!==v&&(v[0]=G[0],v[1]=G[1],v[2]=G[2],v[3]=G[3],v[12]=G[12],v[13]=G[13],v[14]=G[14],v[15]=G[15]),v[4]=Ht*_t+$n*ut,v[5]=$t*_t+gr*ut,v[6]=wn*_t+Fr*ut,v[7]=On*_t+Qr*ut,v[8]=$n*_t-Ht*ut,v[9]=gr*_t-$t*ut,v[10]=Fr*_t-wn*ut,v[11]=Qr*_t-On*ut,v}function dn(v,G,ze){var ut=Math.sin(ze),_t=Math.cos(ze),Ht=G[0],$t=G[1],wn=G[2],On=G[3],$n=G[8],gr=G[9],Fr=G[10],Qr=G[11];return G!==v&&(v[4]=G[4],v[5]=G[5],v[6]=G[6],v[7]=G[7],v[12]=G[12],v[13]=G[13],v[14]=G[14],v[15]=G[15]),v[0]=Ht*_t-$n*ut,v[1]=$t*_t-gr*ut,v[2]=wn*_t-Fr*ut,v[3]=On*_t-Qr*ut,v[8]=Ht*ut+$n*_t,v[9]=$t*ut+gr*_t,v[10]=wn*ut+Fr*_t,v[11]=On*ut+Qr*_t,v}function Un(v,G,ze){var ut=Math.sin(ze),_t=Math.cos(ze),Ht=G[0],$t=G[1],wn=G[2],On=G[3],$n=G[4],gr=G[5],Fr=G[6],Qr=G[7];return G!==v&&(v[8]=G[8],v[9]=G[9],v[10]=G[10],v[11]=G[11],v[12]=G[12],v[13]=G[13],v[14]=G[14],v[15]=G[15]),v[0]=Ht*_t+$n*ut,v[1]=$t*_t+gr*ut,v[2]=wn*_t+Fr*ut,v[3]=On*_t+Qr*ut,v[4]=$n*_t-Ht*ut,v[5]=gr*_t-$t*ut,v[6]=Fr*_t-wn*ut,v[7]=Qr*_t-On*ut,v}function ar(v,G){return v[0]=1,v[1]=0,v[2]=0,v[3]=0,v[4]=0,v[5]=1,v[6]=0,v[7]=0,v[8]=0,v[9]=0,v[10]=1,v[11]=0,v[12]=G[0],v[13]=G[1],v[14]=G[2],v[15]=1,v}function Rr(v,G){return v[0]=G[0],v[1]=0,v[2]=0,v[3]=0,v[4]=0,v[5]=G[1],v[6]=0,v[7]=0,v[8]=0,v[9]=0,v[10]=G[2],v[11]=0,v[12]=0,v[13]=0,v[14]=0,v[15]=1,v}function Ro(v,G,ze){var ut,_t,Ht,$t=ze[0],wn=ze[1],On=ze[2],$n=Math.hypot($t,wn,On);return $n<u.EPSILON?null:($t*=$n=1/$n,wn*=$n,On*=$n,ut=Math.sin(G),Ht=1-(_t=Math.cos(G)),v[0]=$t*$t*Ht+_t,v[1]=wn*$t*Ht+On*ut,v[2]=On*$t*Ht-wn*ut,v[3]=0,v[4]=$t*wn*Ht-On*ut,v[5]=wn*wn*Ht+_t,v[6]=On*wn*Ht+$t*ut,v[7]=0,v[8]=$t*On*Ht+wn*ut,v[9]=wn*On*Ht-$t*ut,v[10]=On*On*Ht+_t,v[11]=0,v[12]=0,v[13]=0,v[14]=0,v[15]=1,v)}function Vo(v,G){var ze=Math.sin(G),ut=Math.cos(G);return v[0]=1,v[1]=0,v[2]=0,v[3]=0,v[4]=0,v[5]=ut,v[6]=ze,v[7]=0,v[8]=0,v[9]=-ze,v[10]=ut,v[11]=0,v[12]=0,v[13]=0,v[14]=0,v[15]=1,v}function Co(v,G){var ze=Math.sin(G),ut=Math.cos(G);return v[0]=ut,v[1]=0,v[2]=-ze,v[3]=0,v[4]=0,v[5]=1,v[6]=0,v[7]=0,v[8]=ze,v[9]=0,v[10]=ut,v[11]=0,v[12]=0,v[13]=0,v[14]=0,v[15]=1,v}function Mo(v,G){var ze=Math.sin(G),ut=Math.cos(G);return v[0]=ut,v[1]=ze,v[2]=0,v[3]=0,v[4]=-ze,v[5]=ut,v[6]=0,v[7]=0,v[8]=0,v[9]=0,v[10]=1,v[11]=0,v[12]=0,v[13]=0,v[14]=0,v[15]=1,v}function qo(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=ut+ut,On=_t+_t,$n=Ht+Ht,gr=ut*wn,Fr=ut*On,Qr=ut*$n,qr=_t*On,mo=_t*$n,Ho=Ht*$n,fo=$t*wn,ei=$t*On,ea=$t*$n;return v[0]=1-(qr+Ho),v[1]=Fr+ea,v[2]=Qr-ei,v[3]=0,v[4]=Fr-ea,v[5]=1-(gr+Ho),v[6]=mo+fo,v[7]=0,v[8]=Qr+ei,v[9]=mo-fo,v[10]=1-(gr+qr),v[11]=0,v[12]=ze[0],v[13]=ze[1],v[14]=ze[2],v[15]=1,v}function ti(v,G){var ze=new u.ARRAY_TYPE(3),ut=-G[0],_t=-G[1],Ht=-G[2],$t=G[3],wn=G[4],On=G[5],$n=G[6],gr=G[7],Fr=ut*ut+_t*_t+Ht*Ht+$t*$t;return Fr>0?(ze[0]=2*(wn*$t+gr*ut+On*Ht-$n*_t)/Fr,ze[1]=2*(On*$t+gr*_t+$n*ut-wn*Ht)/Fr,ze[2]=2*($n*$t+gr*Ht+wn*_t-On*ut)/Fr):(ze[0]=2*(wn*$t+gr*ut+On*Ht-$n*_t),ze[1]=2*(On*$t+gr*_t+$n*ut-wn*Ht),ze[2]=2*($n*$t+gr*Ht+wn*_t-On*ut)),qo(v,G,ze),v}function pi(v,G){return v[0]=G[12],v[1]=G[13],v[2]=G[14],v}function ni(v,G){var ze=G[0],ut=G[1],_t=G[2],Ht=G[4],$t=G[5],wn=G[6],On=G[8],$n=G[9],gr=G[10];return v[0]=Math.hypot(ze,ut,_t),v[1]=Math.hypot(Ht,$t,wn),v[2]=Math.hypot(On,$n,gr),v}function si(v,G){var ze=new u.ARRAY_TYPE(3);ni(ze,G);var ut=1/ze[0],_t=1/ze[1],Ht=1/ze[2],$t=G[0]*ut,wn=G[1]*_t,On=G[2]*Ht,$n=G[4]*ut,gr=G[5]*_t,Fr=G[6]*Ht,Qr=G[8]*ut,qr=G[9]*_t,mo=G[10]*Ht,Ho=$t+gr+mo,fo=0;return Ho>0?(fo=2*Math.sqrt(Ho+1),v[3]=.25*fo,v[0]=(Fr-qr)/fo,v[1]=(Qr-On)/fo,v[2]=(wn-$n)/fo):$t>gr&&$t>mo?(fo=2*Math.sqrt(1+$t-gr-mo),v[3]=(Fr-qr)/fo,v[0]=.25*fo,v[1]=(wn+$n)/fo,v[2]=(Qr+On)/fo):gr>mo?(fo=2*Math.sqrt(1+gr-$t-mo),v[3]=(Qr-On)/fo,v[0]=(wn+$n)/fo,v[1]=.25*fo,v[2]=(Fr+qr)/fo):(fo=2*Math.sqrt(1+mo-$t-gr),v[3]=(wn-$n)/fo,v[0]=(Qr+On)/fo,v[1]=(Fr+qr)/fo,v[2]=.25*fo),v}function Oi(v,G,ze,ut){var _t=G[0],Ht=G[1],$t=G[2],wn=G[3],On=_t+_t,$n=Ht+Ht,gr=$t+$t,Fr=_t*On,Qr=_t*$n,qr=_t*gr,mo=Ht*$n,Ho=Ht*gr,fo=$t*gr,ei=wn*On,ea=wn*$n,Xi=wn*gr,hi=ut[0],Yo=ut[1],Bi=ut[2];return v[0]=(1-(mo+fo))*hi,v[1]=(Qr+Xi)*hi,v[2]=(qr-ea)*hi,v[3]=0,v[4]=(Qr-Xi)*Yo,v[5]=(1-(Fr+fo))*Yo,v[6]=(Ho+ei)*Yo,v[7]=0,v[8]=(qr+ea)*Bi,v[9]=(Ho-ei)*Bi,v[10]=(1-(Fr+mo))*Bi,v[11]=0,v[12]=ze[0],v[13]=ze[1],v[14]=ze[2],v[15]=1,v}function Ki(v,G,ze,ut,_t){var Ht=G[0],$t=G[1],wn=G[2],On=G[3],$n=Ht+Ht,gr=$t+$t,Fr=wn+wn,Qr=Ht*$n,qr=Ht*gr,mo=Ht*Fr,Ho=$t*gr,fo=$t*Fr,ei=wn*Fr,ea=On*$n,Xi=On*gr,hi=On*Fr,Yo=ut[0],Bi=ut[1],_a=ut[2],wa=_t[0],Ia=_t[1],tr=_t[2],Sa=(1-(Ho+ei))*Yo,Ta=(qr+hi)*Yo,ga=(mo-Xi)*Yo,Fi=(qr-hi)*Bi,Cs=(1-(Qr+ei))*Bi,yn=(fo+ea)*Bi,zs=(mo+Xi)*_a,ds=(fo-ea)*_a,gs=(1-(Qr+Ho))*_a;return v[0]=Sa,v[1]=Ta,v[2]=ga,v[3]=0,v[4]=Fi,v[5]=Cs,v[6]=yn,v[7]=0,v[8]=zs,v[9]=ds,v[10]=gs,v[11]=0,v[12]=ze[0]+wa-(Sa*wa+Fi*Ia+zs*tr),v[13]=ze[1]+Ia-(Ta*wa+Cs*Ia+ds*tr),v[14]=ze[2]+tr-(ga*wa+yn*Ia+gs*tr),v[15]=1,v}function ca(v,G){var ze=G[0],ut=G[1],_t=G[2],Ht=G[3],$t=ze+ze,wn=ut+ut,On=_t+_t,$n=ze*$t,gr=ut*$t,Fr=ut*wn,Qr=_t*$t,qr=_t*wn,mo=_t*On,Ho=Ht*$t,fo=Ht*wn,ei=Ht*On;return v[0]=1-Fr-mo,v[1]=gr+ei,v[2]=Qr-fo,v[3]=0,v[4]=gr-ei,v[5]=1-$n-mo,v[6]=qr+Ho,v[7]=0,v[8]=Qr+fo,v[9]=qr-Ho,v[10]=1-$n-Fr,v[11]=0,v[12]=0,v[13]=0,v[14]=0,v[15]=1,v}function zi(v,G,ze,ut,_t,Ht,$t){var wn=1/(ze-G),On=1/(_t-ut),$n=1/(Ht-$t);return v[0]=2*Ht*wn,v[1]=0,v[2]=0,v[3]=0,v[4]=0,v[5]=2*Ht*On,v[6]=0,v[7]=0,v[8]=(ze+G)*wn,v[9]=(_t+ut)*On,v[10]=($t+Ht)*$n,v[11]=-1,v[12]=0,v[13]=0,v[14]=$t*Ht*2*$n,v[15]=0,v}function br(v,G,ze,ut,_t){var Ht,$t=1/Math.tan(G/2);return v[0]=$t/ze,v[1]=0,v[2]=0,v[3]=0,v[4]=0,v[5]=$t,v[6]=0,v[7]=0,v[8]=0,v[9]=0,v[11]=-1,v[12]=0,v[13]=0,v[15]=0,_t!=null&&_t!==1/0?(Ht=1/(ut-_t),v[10]=(_t+ut)*Ht,v[14]=2*_t*ut*Ht):(v[10]=-1,v[14]=-2*ut),v}var Re=br;function je(v,G,ze,ut,_t){var Ht,$t=1/Math.tan(G/2);return v[0]=$t/ze,v[1]=0,v[2]=0,v[3]=0,v[4]=0,v[5]=$t,v[6]=0,v[7]=0,v[8]=0,v[9]=0,v[11]=-1,v[12]=0,v[13]=0,v[15]=0,_t!=null&&_t!==1/0?(Ht=1/(ut-_t),v[10]=_t*Ht,v[14]=_t*ut*Ht):(v[10]=-1,v[14]=-ut),v}function nt(v,G,ze,ut){var _t=Math.tan(G.upDegrees*Math.PI/180),Ht=Math.tan(G.downDegrees*Math.PI/180),$t=Math.tan(G.leftDegrees*Math.PI/180),wn=Math.tan(G.rightDegrees*Math.PI/180),On=2/($t+wn),$n=2/(_t+Ht);return v[0]=On,v[1]=0,v[2]=0,v[3]=0,v[4]=0,v[5]=$n,v[6]=0,v[7]=0,v[8]=-($t-wn)*On*.5,v[9]=(_t-Ht)*$n*.5,v[10]=ut/(ze-ut),v[11]=-1,v[12]=0,v[13]=0,v[14]=ut*ze/(ze-ut),v[15]=0,v}function rt(v,G,ze,ut,_t,Ht,$t){var wn=1/(G-ze),On=1/(ut-_t),$n=1/(Ht-$t);return v[0]=-2*wn,v[1]=0,v[2]=0,v[3]=0,v[4]=0,v[5]=-2*On,v[6]=0,v[7]=0,v[8]=0,v[9]=0,v[10]=2*$n,v[11]=0,v[12]=(G+ze)*wn,v[13]=(_t+ut)*On,v[14]=($t+Ht)*$n,v[15]=1,v}var Xt=rt;function fn(v,G,ze,ut,_t,Ht,$t){var wn=1/(G-ze),On=1/(ut-_t),$n=1/(Ht-$t);return v[0]=-2*wn,v[1]=0,v[2]=0,v[3]=0,v[4]=0,v[5]=-2*On,v[6]=0,v[7]=0,v[8]=0,v[9]=0,v[10]=$n,v[11]=0,v[12]=(G+ze)*wn,v[13]=(_t+ut)*On,v[14]=Ht*$n,v[15]=1,v}function Cn(v,G,ze,ut){var _t,Ht,$t,wn,On,$n,gr,Fr,Qr,qr,mo=G[0],Ho=G[1],fo=G[2],ei=ut[0],ea=ut[1],Xi=ut[2],hi=ze[0],Yo=ze[1],Bi=ze[2];return Math.abs(mo-hi)<u.EPSILON&&Math.abs(Ho-Yo)<u.EPSILON&&Math.abs(fo-Bi)<u.EPSILON?jr(v):(gr=mo-hi,Fr=Ho-Yo,Qr=fo-Bi,_t=ea*(Qr*=qr=1/Math.hypot(gr,Fr,Qr))-Xi*(Fr*=qr),Ht=Xi*(gr*=qr)-ei*Qr,$t=ei*Fr-ea*gr,(qr=Math.hypot(_t,Ht,$t))?(_t*=qr=1/qr,Ht*=qr,$t*=qr):(_t=0,Ht=0,$t=0),wn=Fr*$t-Qr*Ht,On=Qr*_t-gr*$t,$n=gr*Ht-Fr*_t,(qr=Math.hypot(wn,On,$n))?(wn*=qr=1/qr,On*=qr,$n*=qr):(wn=0,On=0,$n=0),v[0]=_t,v[1]=wn,v[2]=gr,v[3]=0,v[4]=Ht,v[5]=On,v[6]=Fr,v[7]=0,v[8]=$t,v[9]=$n,v[10]=Qr,v[11]=0,v[12]=-(_t*mo+Ht*Ho+$t*fo),v[13]=-(wn*mo+On*Ho+$n*fo),v[14]=-(gr*mo+Fr*Ho+Qr*fo),v[15]=1,v)}function Yn(v,G,ze,ut){var _t=G[0],Ht=G[1],$t=G[2],wn=ut[0],On=ut[1],$n=ut[2],gr=_t-ze[0],Fr=Ht-ze[1],Qr=$t-ze[2],qr=gr*gr+Fr*Fr+Qr*Qr;qr>0&&(gr*=qr=1/Math.sqrt(qr),Fr*=qr,Qr*=qr);var mo=On*Qr-$n*Fr,Ho=$n*gr-wn*Qr,fo=wn*Fr-On*gr;return(qr=mo*mo+Ho*Ho+fo*fo)>0&&(mo*=qr=1/Math.sqrt(qr),Ho*=qr,fo*=qr),v[0]=mo,v[1]=Ho,v[2]=fo,v[3]=0,v[4]=Fr*fo-Qr*Ho,v[5]=Qr*mo-gr*fo,v[6]=gr*Ho-Fr*mo,v[7]=0,v[8]=gr,v[9]=Fr,v[10]=Qr,v[11]=0,v[12]=_t,v[13]=Ht,v[14]=$t,v[15]=1,v}function Ae(v){return\"mat4(\"+v[0]+\", \"+v[1]+\", \"+v[2]+\", \"+v[3]+\", \"+v[4]+\", \"+v[5]+\", \"+v[6]+\", \"+v[7]+\", \"+v[8]+\", \"+v[9]+\", \"+v[10]+\", \"+v[11]+\", \"+v[12]+\", \"+v[13]+\", \"+v[14]+\", \"+v[15]+\")\"}function Ke(v){return Math.hypot(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15])}function Mt(v,G,ze){return v[0]=G[0]+ze[0],v[1]=G[1]+ze[1],v[2]=G[2]+ze[2],v[3]=G[3]+ze[3],v[4]=G[4]+ze[4],v[5]=G[5]+ze[5],v[6]=G[6]+ze[6],v[7]=G[7]+ze[7],v[8]=G[8]+ze[8],v[9]=G[9]+ze[9],v[10]=G[10]+ze[10],v[11]=G[11]+ze[11],v[12]=G[12]+ze[12],v[13]=G[13]+ze[13],v[14]=G[14]+ze[14],v[15]=G[15]+ze[15],v}function Ut(v,G,ze){return v[0]=G[0]-ze[0],v[1]=G[1]-ze[1],v[2]=G[2]-ze[2],v[3]=G[3]-ze[3],v[4]=G[4]-ze[4],v[5]=G[5]-ze[5],v[6]=G[6]-ze[6],v[7]=G[7]-ze[7],v[8]=G[8]-ze[8],v[9]=G[9]-ze[9],v[10]=G[10]-ze[10],v[11]=G[11]-ze[11],v[12]=G[12]-ze[12],v[13]=G[13]-ze[13],v[14]=G[14]-ze[14],v[15]=G[15]-ze[15],v}function kn(v,G,ze){return v[0]=G[0]*ze,v[1]=G[1]*ze,v[2]=G[2]*ze,v[3]=G[3]*ze,v[4]=G[4]*ze,v[5]=G[5]*ze,v[6]=G[6]*ze,v[7]=G[7]*ze,v[8]=G[8]*ze,v[9]=G[9]*ze,v[10]=G[10]*ze,v[11]=G[11]*ze,v[12]=G[12]*ze,v[13]=G[13]*ze,v[14]=G[14]*ze,v[15]=G[15]*ze,v}function Zn(v,G,ze,ut){return v[0]=G[0]+ze[0]*ut,v[1]=G[1]+ze[1]*ut,v[2]=G[2]+ze[2]*ut,v[3]=G[3]+ze[3]*ut,v[4]=G[4]+ze[4]*ut,v[5]=G[5]+ze[5]*ut,v[6]=G[6]+ze[6]*ut,v[7]=G[7]+ze[7]*ut,v[8]=G[8]+ze[8]*ut,v[9]=G[9]+ze[9]*ut,v[10]=G[10]+ze[10]*ut,v[11]=G[11]+ze[11]*ut,v[12]=G[12]+ze[12]*ut,v[13]=G[13]+ze[13]*ut,v[14]=G[14]+ze[14]*ut,v[15]=G[15]+ze[15]*ut,v}function lr(v,G){return v[0]===G[0]&&v[1]===G[1]&&v[2]===G[2]&&v[3]===G[3]&&v[4]===G[4]&&v[5]===G[5]&&v[6]===G[6]&&v[7]===G[7]&&v[8]===G[8]&&v[9]===G[9]&&v[10]===G[10]&&v[11]===G[11]&&v[12]===G[12]&&v[13]===G[13]&&v[14]===G[14]&&v[15]===G[15]}function wr(v,G){var ze=v[0],ut=v[1],_t=v[2],Ht=v[3],$t=v[4],wn=v[5],On=v[6],$n=v[7],gr=v[8],Fr=v[9],Qr=v[10],qr=v[11],mo=v[12],Ho=v[13],fo=v[14],ei=v[15],ea=G[0],Xi=G[1],hi=G[2],Yo=G[3],Bi=G[4],_a=G[5],wa=G[6],Ia=G[7],tr=G[8],Sa=G[9],Ta=G[10],ga=G[11],Fi=G[12],Cs=G[13],yn=G[14],zs=G[15];return Math.abs(ze-ea)<=u.EPSILON*Math.max(1,Math.abs(ze),Math.abs(ea))&&Math.abs(ut-Xi)<=u.EPSILON*Math.max(1,Math.abs(ut),Math.abs(Xi))&&Math.abs(_t-hi)<=u.EPSILON*Math.max(1,Math.abs(_t),Math.abs(hi))&&Math.abs(Ht-Yo)<=u.EPSILON*Math.max(1,Math.abs(Ht),Math.abs(Yo))&&Math.abs($t-Bi)<=u.EPSILON*Math.max(1,Math.abs($t),Math.abs(Bi))&&Math.abs(wn-_a)<=u.EPSILON*Math.max(1,Math.abs(wn),Math.abs(_a))&&Math.abs(On-wa)<=u.EPSILON*Math.max(1,Math.abs(On),Math.abs(wa))&&Math.abs($n-Ia)<=u.EPSILON*Math.max(1,Math.abs($n),Math.abs(Ia))&&Math.abs(gr-tr)<=u.EPSILON*Math.max(1,Math.abs(gr),Math.abs(tr))&&Math.abs(Fr-Sa)<=u.EPSILON*Math.max(1,Math.abs(Fr),Math.abs(Sa))&&Math.abs(Qr-Ta)<=u.EPSILON*Math.max(1,Math.abs(Qr),Math.abs(Ta))&&Math.abs(qr-ga)<=u.EPSILON*Math.max(1,Math.abs(qr),Math.abs(ga))&&Math.abs(mo-Fi)<=u.EPSILON*Math.max(1,Math.abs(mo),Math.abs(Fi))&&Math.abs(Ho-Cs)<=u.EPSILON*Math.max(1,Math.abs(Ho),Math.abs(Cs))&&Math.abs(fo-yn)<=u.EPSILON*Math.max(1,Math.abs(fo),Math.abs(yn))&&Math.abs(ei-zs)<=u.EPSILON*Math.max(1,Math.abs(ei),Math.abs(zs))}var Dr=wi,go=Ut,Ir=r(24);function Jr(){var v=new u.ARRAY_TYPE(4);return u.ARRAY_TYPE!=Float32Array&&(v[0]=0,v[1]=0,v[2]=0,v[3]=0),v}function _o(v){var G=new u.ARRAY_TYPE(4);return G[0]=v[0],G[1]=v[1],G[2]=v[2],G[3]=v[3],G}function No(v,G,ze,ut){var _t=new u.ARRAY_TYPE(4);return _t[0]=v,_t[1]=G,_t[2]=ze,_t[3]=ut,_t}function ii(v,G){return v[0]=G[0],v[1]=G[1],v[2]=G[2],v[3]=G[3],v}function Lo(v,G,ze,ut,_t){return v[0]=G,v[1]=ze,v[2]=ut,v[3]=_t,v}function ai(v,G,ze){return v[0]=G[0]+ze[0],v[1]=G[1]+ze[1],v[2]=G[2]+ze[2],v[3]=G[3]+ze[3],v}function Si(v,G,ze){return v[0]=G[0]-ze[0],v[1]=G[1]-ze[1],v[2]=G[2]-ze[2],v[3]=G[3]-ze[3],v}function Ui(v,G,ze){return v[0]=G[0]*ze[0],v[1]=G[1]*ze[1],v[2]=G[2]*ze[2],v[3]=G[3]*ze[3],v}function ln(v,G,ze){return v[0]=G[0]/ze[0],v[1]=G[1]/ze[1],v[2]=G[2]/ze[2],v[3]=G[3]/ze[3],v}function mn(v,G){return v[0]=Math.ceil(G[0]),v[1]=Math.ceil(G[1]),v[2]=Math.ceil(G[2]),v[3]=Math.ceil(G[3]),v}function fr(v,G){return v[0]=Math.floor(G[0]),v[1]=Math.floor(G[1]),v[2]=Math.floor(G[2]),v[3]=Math.floor(G[3]),v}function ft(v,G,ze){return v[0]=Math.min(G[0],ze[0]),v[1]=Math.min(G[1],ze[1]),v[2]=Math.min(G[2],ze[2]),v[3]=Math.min(G[3],ze[3]),v}function ct(v,G,ze){return v[0]=Math.max(G[0],ze[0]),v[1]=Math.max(G[1],ze[1]),v[2]=Math.max(G[2],ze[2]),v[3]=Math.max(G[3],ze[3]),v}function tn(v,G){return v[0]=Math.round(G[0]),v[1]=Math.round(G[1]),v[2]=Math.round(G[2]),v[3]=Math.round(G[3]),v}function An(v,G,ze){return v[0]=G[0]*ze,v[1]=G[1]*ze,v[2]=G[2]*ze,v[3]=G[3]*ze,v}function Rt(v,G,ze,ut){return v[0]=G[0]+ze[0]*ut,v[1]=G[1]+ze[1]*ut,v[2]=G[2]+ze[2]*ut,v[3]=G[3]+ze[3]*ut,v}function un(v,G){var ze=G[0]-v[0],ut=G[1]-v[1],_t=G[2]-v[2],Ht=G[3]-v[3];return Math.hypot(ze,ut,_t,Ht)}function Dn(v,G){var ze=G[0]-v[0],ut=G[1]-v[1],_t=G[2]-v[2],Ht=G[3]-v[3];return ze*ze+ut*ut+_t*_t+Ht*Ht}function dr(v){var G=v[0],ze=v[1],ut=v[2],_t=v[3];return Math.hypot(G,ze,ut,_t)}function Ar(v){var G=v[0],ze=v[1],ut=v[2],_t=v[3];return G*G+ze*ze+ut*ut+_t*_t}function Gr(v,G){return v[0]=-G[0],v[1]=-G[1],v[2]=-G[2],v[3]=-G[3],v}function Pr(v,G){return v[0]=1/G[0],v[1]=1/G[1],v[2]=1/G[2],v[3]=1/G[3],v}function Xr(v,G){var ze=G[0],ut=G[1],_t=G[2],Ht=G[3],$t=ze*ze+ut*ut+_t*_t+Ht*Ht;return $t>0&&($t=1/Math.sqrt($t)),v[0]=ze*$t,v[1]=ut*$t,v[2]=_t*$t,v[3]=Ht*$t,v}function oo(v,G){return v[0]*G[0]+v[1]*G[1]+v[2]*G[2]+v[3]*G[3]}function io(v,G,ze,ut){var _t=ze[0]*ut[1]-ze[1]*ut[0],Ht=ze[0]*ut[2]-ze[2]*ut[0],$t=ze[0]*ut[3]-ze[3]*ut[0],wn=ze[1]*ut[2]-ze[2]*ut[1],On=ze[1]*ut[3]-ze[3]*ut[1],$n=ze[2]*ut[3]-ze[3]*ut[2],gr=G[0],Fr=G[1],Qr=G[2],qr=G[3];return v[0]=Fr*$n-Qr*On+qr*wn,v[1]=-gr*$n+Qr*$t-qr*Ht,v[2]=gr*On-Fr*$t+qr*_t,v[3]=-gr*wn+Fr*Ht-Qr*_t,v}function to(v,G,ze,ut){var _t=G[0],Ht=G[1],$t=G[2],wn=G[3];return v[0]=_t+ut*(ze[0]-_t),v[1]=Ht+ut*(ze[1]-Ht),v[2]=$t+ut*(ze[2]-$t),v[3]=wn+ut*(ze[3]-wn),v}function To(v,G){var ze,ut,_t,Ht,$t,wn;G=G||1;do $t=(ze=2*u.RANDOM()-1)*ze+(ut=2*u.RANDOM()-1)*ut;while($t>=1);do wn=(_t=2*u.RANDOM()-1)*_t+(Ht=2*u.RANDOM()-1)*Ht;while(wn>=1);var On=Math.sqrt((1-$t)/wn);return v[0]=G*ze,v[1]=G*ut,v[2]=G*_t*On,v[3]=G*Ht*On,v}function jn(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3];return v[0]=ze[0]*ut+ze[4]*_t+ze[8]*Ht+ze[12]*$t,v[1]=ze[1]*ut+ze[5]*_t+ze[9]*Ht+ze[13]*$t,v[2]=ze[2]*ut+ze[6]*_t+ze[10]*Ht+ze[14]*$t,v[3]=ze[3]*ut+ze[7]*_t+ze[11]*Ht+ze[15]*$t,v}function W(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=ze[0],wn=ze[1],On=ze[2],$n=ze[3],gr=$n*ut+wn*Ht-On*_t,Fr=$n*_t+On*ut-$t*Ht,Qr=$n*Ht+$t*_t-wn*ut,qr=-$t*ut-wn*_t-On*Ht;return v[0]=gr*$n+qr*-$t+Fr*-On-Qr*-wn,v[1]=Fr*$n+qr*-wn+Qr*-$t-gr*-On,v[2]=Qr*$n+qr*-On+gr*-wn-Fr*-$t,v[3]=G[3],v}function P(v){return v[0]=0,v[1]=0,v[2]=0,v[3]=0,v}function k(v){return\"vec4(\"+v[0]+\", \"+v[1]+\", \"+v[2]+\", \"+v[3]+\")\"}function z(v,G){return v[0]===G[0]&&v[1]===G[1]&&v[2]===G[2]&&v[3]===G[3]}function Q(v,G){var ze=v[0],ut=v[1],_t=v[2],Ht=v[3],$t=G[0],wn=G[1],On=G[2],$n=G[3];return Math.abs(ze-$t)<=u.EPSILON*Math.max(1,Math.abs(ze),Math.abs($t))&&Math.abs(ut-wn)<=u.EPSILON*Math.max(1,Math.abs(ut),Math.abs(wn))&&Math.abs(_t-On)<=u.EPSILON*Math.max(1,Math.abs(_t),Math.abs(On))&&Math.abs(Ht-$n)<=u.EPSILON*Math.max(1,Math.abs(Ht),Math.abs($n))}var F,V=Si,U=Ui,ge=ln,ke=un,St=Dn,Je=dr,Ot=Ar,It=(F=Jr(),function(v,G,ze,ut,_t,Ht){var $t,wn;for(G||(G=4),ze||(ze=0),wn=ut?Math.min(ut*G+ze,v.length):v.length,$t=ze;$t<wn;$t+=G)F[0]=v[$t],F[1]=v[$t+1],F[2]=v[$t+2],F[3]=v[$t+3],_t(F,F,Ht),v[$t]=F[0],v[$t+1]=F[1],v[$t+2]=F[2],v[$t+3]=F[3];return v});function jt(){var v=new u.ARRAY_TYPE(4);return u.ARRAY_TYPE!=Float32Array&&(v[0]=0,v[1]=0,v[2]=0),v[3]=1,v}function Vt(v){return v[0]=0,v[1]=0,v[2]=0,v[3]=1,v}function Pn(v,G,ze){ze*=.5;var ut=Math.sin(ze);return v[0]=ut*G[0],v[1]=ut*G[1],v[2]=ut*G[2],v[3]=Math.cos(ze),v}function Jn(v,G){var ze=2*Math.acos(G[3]),ut=Math.sin(ze/2);return ut>u.EPSILON?(v[0]=G[0]/ut,v[1]=G[1]/ut,v[2]=G[2]/ut):(v[0]=1,v[1]=0,v[2]=0),ze}function vn(v,G){var ze=Yi(v,G);return Math.acos(2*ze*ze-1)}function Vn(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=ze[0],On=ze[1],$n=ze[2],gr=ze[3];return v[0]=ut*gr+$t*wn+_t*$n-Ht*On,v[1]=_t*gr+$t*On+Ht*wn-ut*$n,v[2]=Ht*gr+$t*$n+ut*On-_t*wn,v[3]=$t*gr-ut*wn-_t*On-Ht*$n,v}function zt(v,G,ze){ze*=.5;var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=Math.sin(ze),On=Math.cos(ze);return v[0]=ut*On+$t*wn,v[1]=_t*On+Ht*wn,v[2]=Ht*On-_t*wn,v[3]=$t*On-ut*wn,v}function ir(v,G,ze){ze*=.5;var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=Math.sin(ze),On=Math.cos(ze);return v[0]=ut*On-Ht*wn,v[1]=_t*On+$t*wn,v[2]=Ht*On+ut*wn,v[3]=$t*On-_t*wn,v}function nr(v,G,ze){ze*=.5;var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=Math.sin(ze),On=Math.cos(ze);return v[0]=ut*On+_t*wn,v[1]=_t*On-ut*wn,v[2]=Ht*On+$t*wn,v[3]=$t*On-Ht*wn,v}function ur(v,G){var ze=G[0],ut=G[1],_t=G[2];return v[0]=ze,v[1]=ut,v[2]=_t,v[3]=Math.sqrt(Math.abs(1-ze*ze-ut*ut-_t*_t)),v}function sr(v,G){var ze=G[0],ut=G[1],_t=G[2],Ht=G[3],$t=Math.sqrt(ze*ze+ut*ut+_t*_t),wn=Math.exp(Ht),On=$t>0?wn*Math.sin($t)/$t:0;return v[0]=ze*On,v[1]=ut*On,v[2]=_t*On,v[3]=wn*Math.cos($t),v}function Ln(v,G){var ze=G[0],ut=G[1],_t=G[2],Ht=G[3],$t=Math.sqrt(ze*ze+ut*ut+_t*_t),wn=$t>0?Math.atan2($t,Ht)/$t:0;return v[0]=ze*wn,v[1]=ut*wn,v[2]=_t*wn,v[3]=.5*Math.log(ze*ze+ut*ut+_t*_t+Ht*Ht),v}function Bt(v,G,ze){return Ln(v,G),Ji(v,v,ze),sr(v,v),v}function En(v,G,ze,ut){var _t,Ht,$t,wn,On,$n=G[0],gr=G[1],Fr=G[2],Qr=G[3],qr=ze[0],mo=ze[1],Ho=ze[2],fo=ze[3];return(Ht=$n*qr+gr*mo+Fr*Ho+Qr*fo)<0&&(Ht=-Ht,qr=-qr,mo=-mo,Ho=-Ho,fo=-fo),1-Ht>u.EPSILON?(_t=Math.acos(Ht),$t=Math.sin(_t),wn=Math.sin((1-ut)*_t)/$t,On=Math.sin(ut*_t)/$t):(wn=1-ut,On=ut),v[0]=wn*$n+On*qr,v[1]=wn*gr+On*mo,v[2]=wn*Fr+On*Ho,v[3]=wn*Qr+On*fo,v}function _n(v){var G=u.RANDOM(),ze=u.RANDOM(),ut=u.RANDOM(),_t=Math.sqrt(1-G),Ht=Math.sqrt(G);return v[0]=_t*Math.sin(2*Math.PI*ze),v[1]=_t*Math.cos(2*Math.PI*ze),v[2]=Ht*Math.sin(2*Math.PI*ut),v[3]=Ht*Math.cos(2*Math.PI*ut),v}function cr(v,G){var ze=G[0],ut=G[1],_t=G[2],Ht=G[3],$t=ze*ze+ut*ut+_t*_t+Ht*Ht,wn=$t?1/$t:0;return v[0]=-ze*wn,v[1]=-ut*wn,v[2]=-_t*wn,v[3]=Ht*wn,v}function ao(v,G){return v[0]=-G[0],v[1]=-G[1],v[2]=-G[2],v[3]=G[3],v}function kr(v,G){var ze,ut=G[0]+G[4]+G[8];if(ut>0)ze=Math.sqrt(ut+1),v[3]=.5*ze,ze=.5/ze,v[0]=(G[5]-G[7])*ze,v[1]=(G[6]-G[2])*ze,v[2]=(G[1]-G[3])*ze;else{var _t=0;G[4]>G[0]&&(_t=1),G[8]>G[3*_t+_t]&&(_t=2);var Ht=(_t+1)%3,$t=(_t+2)%3;ze=Math.sqrt(G[3*_t+_t]-G[3*Ht+Ht]-G[3*$t+$t]+1),v[_t]=.5*ze,ze=.5/ze,v[3]=(G[3*Ht+$t]-G[3*$t+Ht])*ze,v[Ht]=(G[3*Ht+_t]+G[3*_t+Ht])*ze,v[$t]=(G[3*$t+_t]+G[3*_t+$t])*ze}return v}function jo(v,G,ze,ut){var _t=.5*Math.PI/180;G*=_t,ze*=_t,ut*=_t;var Ht=Math.sin(G),$t=Math.cos(G),wn=Math.sin(ze),On=Math.cos(ze),$n=Math.sin(ut),gr=Math.cos(ut);return v[0]=Ht*On*gr-$t*wn*$n,v[1]=$t*wn*gr+Ht*On*$n,v[2]=$t*On*$n-Ht*wn*gr,v[3]=$t*On*gr+Ht*wn*$n,v}function ui(v){return\"quat(\"+v[0]+\", \"+v[1]+\", \"+v[2]+\", \"+v[3]+\")\"}var Vr,ho,vo,uo,Go,Pi,la=_o,Vi=No,ha=ii,xa=Lo,qi=ai,Jo=Vn,Ji=An,Yi=oo,Ii=to,pa=dr,na=pa,$i=Ar,La=$i,ss=Xr,Oa=z,Ma=Q,Ka=(Vr=Ir.create(),ho=Ir.fromValues(1,0,0),vo=Ir.fromValues(0,1,0),function(v,G,ze){var ut=Ir.dot(G,ze);return ut<-.999999?(Ir.cross(Vr,ho,G),Ir.len(Vr)<1e-6&&Ir.cross(Vr,vo,G),Ir.normalize(Vr,Vr),Pn(v,Vr,Math.PI),v):ut>.999999?(v[0]=0,v[1]=0,v[2]=0,v[3]=1,v):(Ir.cross(Vr,G,ze),v[0]=Vr[0],v[1]=Vr[1],v[2]=Vr[2],v[3]=1+ut,ss(v,v))}),Ba=(uo=jt(),Go=jt(),function(v,G,ze,ut,_t,Ht){return En(uo,G,_t,Ht),En(Go,ze,ut,Ht),En(v,uo,Go,2*Ht*(1-Ht)),v}),Ua=(Pi=an(),function(v,G,ze,ut){return Pi[0]=ze[0],Pi[3]=ze[1],Pi[6]=ze[2],Pi[1]=ut[0],Pi[4]=ut[1],Pi[7]=ut[2],Pi[2]=-G[0],Pi[5]=-G[1],Pi[8]=-G[2],ss(v,kr(v,Pi))});function Va(){var v=new u.ARRAY_TYPE(8);return u.ARRAY_TYPE!=Float32Array&&(v[0]=0,v[1]=0,v[2]=0,v[4]=0,v[5]=0,v[6]=0,v[7]=0),v[3]=1,v}function Ls(v){var G=new u.ARRAY_TYPE(8);return G[0]=v[0],G[1]=v[1],G[2]=v[2],G[3]=v[3],G[4]=v[4],G[5]=v[5],G[6]=v[6],G[7]=v[7],G}function Qo(v,G,ze,ut,_t,Ht,$t,wn){var On=new u.ARRAY_TYPE(8);return On[0]=v,On[1]=G,On[2]=ze,On[3]=ut,On[4]=_t,On[5]=Ht,On[6]=$t,On[7]=wn,On}function ws(v,G,ze,ut,_t,Ht,$t){var wn=new u.ARRAY_TYPE(8);wn[0]=v,wn[1]=G,wn[2]=ze,wn[3]=ut;var On=.5*_t,$n=.5*Ht,gr=.5*$t;return wn[4]=On*ut+$n*ze-gr*G,wn[5]=$n*ut+gr*v-On*ze,wn[6]=gr*ut+On*G-$n*v,wn[7]=-On*v-$n*G-gr*ze,wn}function Za(v,G,ze){var ut=.5*ze[0],_t=.5*ze[1],Ht=.5*ze[2],$t=G[0],wn=G[1],On=G[2],$n=G[3];return v[0]=$t,v[1]=wn,v[2]=On,v[3]=$n,v[4]=ut*$n+_t*On-Ht*wn,v[5]=_t*$n+Ht*$t-ut*On,v[6]=Ht*$n+ut*wn-_t*$t,v[7]=-ut*$t-_t*wn-Ht*On,v}function rr(v,G){return v[0]=0,v[1]=0,v[2]=0,v[3]=1,v[4]=.5*G[0],v[5]=.5*G[1],v[6]=.5*G[2],v[7]=0,v}function Eo(v,G){return v[0]=G[0],v[1]=G[1],v[2]=G[2],v[3]=G[3],v[4]=0,v[5]=0,v[6]=0,v[7]=0,v}function Br(v,G){var ze=jt();si(ze,G);var ut=new u.ARRAY_TYPE(3);return pi(ut,G),Za(v,ze,ut),v}function Ao(v,G){return v[0]=G[0],v[1]=G[1],v[2]=G[2],v[3]=G[3],v[4]=G[4],v[5]=G[5],v[6]=G[6],v[7]=G[7],v}function Di(v){return v[0]=0,v[1]=0,v[2]=0,v[3]=1,v[4]=0,v[5]=0,v[6]=0,v[7]=0,v}function Aa(v,G,ze,ut,_t,Ht,$t,wn,On){return v[0]=G,v[1]=ze,v[2]=ut,v[3]=_t,v[4]=Ht,v[5]=$t,v[6]=wn,v[7]=On,v}var Na=ha;function Fa(v,G){return v[0]=G[4],v[1]=G[5],v[2]=G[6],v[3]=G[7],v}var Bs=ha;function Ms(v,G){return v[4]=G[0],v[5]=G[1],v[6]=G[2],v[7]=G[3],v}function Qa(v,G){var ze=G[4],ut=G[5],_t=G[6],Ht=G[7],$t=-G[0],wn=-G[1],On=-G[2],$n=G[3];return v[0]=2*(ze*$n+Ht*$t+ut*On-_t*wn),v[1]=2*(ut*$n+Ht*wn+_t*$t-ze*On),v[2]=2*(_t*$n+Ht*On+ze*wn-ut*$t),v}function us(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=.5*ze[0],On=.5*ze[1],$n=.5*ze[2],gr=G[4],Fr=G[5],Qr=G[6],qr=G[7];return v[0]=ut,v[1]=_t,v[2]=Ht,v[3]=$t,v[4]=$t*wn+_t*$n-Ht*On+gr,v[5]=$t*On+Ht*wn-ut*$n+Fr,v[6]=$t*$n+ut*On-_t*wn+Qr,v[7]=-ut*wn-_t*On-Ht*$n+qr,v}function Fs(v,G,ze){var ut=-G[0],_t=-G[1],Ht=-G[2],$t=G[3],wn=G[4],On=G[5],$n=G[6],gr=G[7],Fr=wn*$t+gr*ut+On*Ht-$n*_t,Qr=On*$t+gr*_t+$n*ut-wn*Ht,qr=$n*$t+gr*Ht+wn*_t-On*ut,mo=gr*$t-wn*ut-On*_t-$n*Ht;return zt(v,G,ze),ut=v[0],_t=v[1],Ht=v[2],$t=v[3],v[4]=Fr*$t+mo*ut+Qr*Ht-qr*_t,v[5]=Qr*$t+mo*_t+qr*ut-Fr*Ht,v[6]=qr*$t+mo*Ht+Fr*_t-Qr*ut,v[7]=mo*$t-Fr*ut-Qr*_t-qr*Ht,v}function $a(v,G,ze){var ut=-G[0],_t=-G[1],Ht=-G[2],$t=G[3],wn=G[4],On=G[5],$n=G[6],gr=G[7],Fr=wn*$t+gr*ut+On*Ht-$n*_t,Qr=On*$t+gr*_t+$n*ut-wn*Ht,qr=$n*$t+gr*Ht+wn*_t-On*ut,mo=gr*$t-wn*ut-On*_t-$n*Ht;return ir(v,G,ze),ut=v[0],_t=v[1],Ht=v[2],$t=v[3],v[4]=Fr*$t+mo*ut+Qr*Ht-qr*_t,v[5]=Qr*$t+mo*_t+qr*ut-Fr*Ht,v[6]=qr*$t+mo*Ht+Fr*_t-Qr*ut,v[7]=mo*$t-Fr*ut-Qr*_t-qr*Ht,v}function Hs(v,G,ze){var ut=-G[0],_t=-G[1],Ht=-G[2],$t=G[3],wn=G[4],On=G[5],$n=G[6],gr=G[7],Fr=wn*$t+gr*ut+On*Ht-$n*_t,Qr=On*$t+gr*_t+$n*ut-wn*Ht,qr=$n*$t+gr*Ht+wn*_t-On*ut,mo=gr*$t-wn*ut-On*_t-$n*Ht;return nr(v,G,ze),ut=v[0],_t=v[1],Ht=v[2],$t=v[3],v[4]=Fr*$t+mo*ut+Qr*Ht-qr*_t,v[5]=Qr*$t+mo*_t+qr*ut-Fr*Ht,v[6]=qr*$t+mo*Ht+Fr*_t-Qr*ut,v[7]=mo*$t-Fr*ut-Qr*_t-qr*Ht,v}function ys(v,G,ze){var ut=ze[0],_t=ze[1],Ht=ze[2],$t=ze[3],wn=G[0],On=G[1],$n=G[2],gr=G[3];return v[0]=wn*$t+gr*ut+On*Ht-$n*_t,v[1]=On*$t+gr*_t+$n*ut-wn*Ht,v[2]=$n*$t+gr*Ht+wn*_t-On*ut,v[3]=gr*$t-wn*ut-On*_t-$n*Ht,wn=G[4],On=G[5],$n=G[6],gr=G[7],v[4]=wn*$t+gr*ut+On*Ht-$n*_t,v[5]=On*$t+gr*_t+$n*ut-wn*Ht,v[6]=$n*$t+gr*Ht+wn*_t-On*ut,v[7]=gr*$t-wn*ut-On*_t-$n*Ht,v}function sa(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=ze[0],On=ze[1],$n=ze[2],gr=ze[3];return v[0]=ut*gr+$t*wn+_t*$n-Ht*On,v[1]=_t*gr+$t*On+Ht*wn-ut*$n,v[2]=Ht*gr+$t*$n+ut*On-_t*wn,v[3]=$t*gr-ut*wn-_t*On-Ht*$n,wn=ze[4],On=ze[5],$n=ze[6],gr=ze[7],v[4]=ut*gr+$t*wn+_t*$n-Ht*On,v[5]=_t*gr+$t*On+Ht*wn-ut*$n,v[6]=Ht*gr+$t*$n+ut*On-_t*wn,v[7]=$t*gr-ut*wn-_t*On-Ht*$n,v}function Xa(v,G,ze,ut){if(Math.abs(ut)<u.EPSILON)return Ao(v,G);var _t=Math.hypot(ze[0],ze[1],ze[2]);ut*=.5;var Ht=Math.sin(ut),$t=Ht*ze[0]/_t,wn=Ht*ze[1]/_t,On=Ht*ze[2]/_t,$n=Math.cos(ut),gr=G[0],Fr=G[1],Qr=G[2],qr=G[3];v[0]=gr*$n+qr*$t+Fr*On-Qr*wn,v[1]=Fr*$n+qr*wn+Qr*$t-gr*On,v[2]=Qr*$n+qr*On+gr*wn-Fr*$t,v[3]=qr*$n-gr*$t-Fr*wn-Qr*On;var mo=G[4],Ho=G[5],fo=G[6],ei=G[7];return v[4]=mo*$n+ei*$t+Ho*On-fo*wn,v[5]=Ho*$n+ei*wn+fo*$t-mo*On,v[6]=fo*$n+ei*On+mo*wn-Ho*$t,v[7]=ei*$n-mo*$t-Ho*wn-fo*On,v}function os(v,G,ze){return v[0]=G[0]+ze[0],v[1]=G[1]+ze[1],v[2]=G[2]+ze[2],v[3]=G[3]+ze[3],v[4]=G[4]+ze[4],v[5]=G[5]+ze[5],v[6]=G[6]+ze[6],v[7]=G[7]+ze[7],v}function As(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=ze[4],On=ze[5],$n=ze[6],gr=ze[7],Fr=G[4],Qr=G[5],qr=G[6],mo=G[7],Ho=ze[0],fo=ze[1],ei=ze[2],ea=ze[3];return v[0]=ut*ea+$t*Ho+_t*ei-Ht*fo,v[1]=_t*ea+$t*fo+Ht*Ho-ut*ei,v[2]=Ht*ea+$t*ei+ut*fo-_t*Ho,v[3]=$t*ea-ut*Ho-_t*fo-Ht*ei,v[4]=ut*gr+$t*wn+_t*$n-Ht*On+Fr*ea+mo*Ho+Qr*ei-qr*fo,v[5]=_t*gr+$t*On+Ht*wn-ut*$n+Qr*ea+mo*fo+qr*Ho-Fr*ei,v[6]=Ht*gr+$t*$n+ut*On-_t*wn+qr*ea+mo*ei+Fr*fo-Qr*Ho,v[7]=$t*gr-ut*wn-_t*On-Ht*$n+mo*ea-Fr*Ho-Qr*fo-qr*ei,v}var oa=As;function di(v,G,ze){return v[0]=G[0]*ze,v[1]=G[1]*ze,v[2]=G[2]*ze,v[3]=G[3]*ze,v[4]=G[4]*ze,v[5]=G[5]*ze,v[6]=G[6]*ze,v[7]=G[7]*ze,v}var ia=Yi;function _i(v,G,ze,ut){var _t=1-ut;return ia(G,ze)<0&&(ut=-ut),v[0]=G[0]*_t+ze[0]*ut,v[1]=G[1]*_t+ze[1]*ut,v[2]=G[2]*_t+ze[2]*ut,v[3]=G[3]*_t+ze[3]*ut,v[4]=G[4]*_t+ze[4]*ut,v[5]=G[5]*_t+ze[5]*ut,v[6]=G[6]*_t+ze[6]*ut,v[7]=G[7]*_t+ze[7]*ut,v}function gi(v,G){var ze=Li(G);return v[0]=-G[0]/ze,v[1]=-G[1]/ze,v[2]=-G[2]/ze,v[3]=G[3]/ze,v[4]=-G[4]/ze,v[5]=-G[5]/ze,v[6]=-G[6]/ze,v[7]=G[7]/ze,v}function fa(v,G){return v[0]=-G[0],v[1]=-G[1],v[2]=-G[2],v[3]=G[3],v[4]=-G[4],v[5]=-G[5],v[6]=-G[6],v[7]=G[7],v}var Pa=pa,xs=Pa,Li=$i,vs=Li;function Ca(v,G){var ze=Li(G);if(ze>0){ze=Math.sqrt(ze);var ut=G[0]/ze,_t=G[1]/ze,Ht=G[2]/ze,$t=G[3]/ze,wn=G[4],On=G[5],$n=G[6],gr=G[7],Fr=ut*wn+_t*On+Ht*$n+$t*gr;v[0]=ut,v[1]=_t,v[2]=Ht,v[3]=$t,v[4]=(wn-ut*Fr)/ze,v[5]=(On-_t*Fr)/ze,v[6]=($n-Ht*Fr)/ze,v[7]=(gr-$t*Fr)/ze}return v}function ra(v){return\"quat2(\"+v[0]+\", \"+v[1]+\", \"+v[2]+\", \"+v[3]+\", \"+v[4]+\", \"+v[5]+\", \"+v[6]+\", \"+v[7]+\")\"}function Ja(v,G){return v[0]===G[0]&&v[1]===G[1]&&v[2]===G[2]&&v[3]===G[3]&&v[4]===G[4]&&v[5]===G[5]&&v[6]===G[6]&&v[7]===G[7]}function qa(v,G){var ze=v[0],ut=v[1],_t=v[2],Ht=v[3],$t=v[4],wn=v[5],On=v[6],$n=v[7],gr=G[0],Fr=G[1],Qr=G[2],qr=G[3],mo=G[4],Ho=G[5],fo=G[6],ei=G[7];return Math.abs(ze-gr)<=u.EPSILON*Math.max(1,Math.abs(ze),Math.abs(gr))&&Math.abs(ut-Fr)<=u.EPSILON*Math.max(1,Math.abs(ut),Math.abs(Fr))&&Math.abs(_t-Qr)<=u.EPSILON*Math.max(1,Math.abs(_t),Math.abs(Qr))&&Math.abs(Ht-qr)<=u.EPSILON*Math.max(1,Math.abs(Ht),Math.abs(qr))&&Math.abs($t-mo)<=u.EPSILON*Math.max(1,Math.abs($t),Math.abs(mo))&&Math.abs(wn-Ho)<=u.EPSILON*Math.max(1,Math.abs(wn),Math.abs(Ho))&&Math.abs(On-fo)<=u.EPSILON*Math.max(1,Math.abs(On),Math.abs(fo))&&Math.abs($n-ei)<=u.EPSILON*Math.max(1,Math.abs($n),Math.abs(ei))}var Ts=r(39)},function(Ee,c){Ee.exports=function(r,y){if(!(r instanceof y))throw new TypeError(\"Cannot call a class as a function\")},Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports},function(Ee,c,r){var y=r(97);function N(C,w){for(var O=0;O<w.length;O++){var b=w[O];b.enumerable=b.enumerable||!1,b.configurable=!0,\"value\"in b&&(b.writable=!0),Object.defineProperty(C,y(b.key),b)}}Ee.exports=function(C,w,O){return w&&N(C.prototype,w),O&&N(C,O),Object.defineProperty(C,\"prototype\",{writable:!1}),C},Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports},function(Ee,c,r){\"use strict\";var y=this&&this.__createBinding||(Object.create?function(C,w,O,b){b===void 0&&(b=O);var p=Object.getOwnPropertyDescriptor(w,O);p&&!(\"get\"in p?!w.__esModule:p.writable||p.configurable)||(p={enumerable:!0,get:function(){return w[O]}}),Object.defineProperty(C,b,p)}:function(C,w,O,b){b===void 0&&(b=O),C[b]=w[O]}),N=this&&this.__exportStar||function(C,w){for(var O in C)O===\"default\"||Object.prototype.hasOwnProperty.call(w,O)||y(w,C,O)};Object.defineProperty(c,\"__esModule\",{value:!0}),N(r(151),c),N(r(80),c),N(r(59),c),N(r(60),c),N(r(81),c),N(r(152),c)},function(Ee,c,r){\"use strict\";r.d(c,\"a\",function(){return p}),r.d(c,\"d\",function(){return u}),r.d(c,\"b\",function(){return a}),r.d(c,\"c\",function(){return f}),r.d(c,\"e\",function(){return s}),r.d(c,\"h\",function(){return m}),r.d(c,\"f\",function(){return x}),r.d(c,\"g\",function(){return M});var y=r(0),N=r(56),C=r(43),w=r(5),O=r(19),b={fill:\"fillStyle\",stroke:\"strokeStyle\",opacity:\"globalAlpha\"};function p(E,j){var L=j.attr();for(var A in L){var J=L[A],q=b[A]?b[A]:A;q===\"matrix\"&&J?E.transform(J[0],J[1],J[3],J[4],J[6],J[7]):q===\"lineDash\"&&E.setLineDash?Object(y.isArray)(J)&&E.setLineDash(J):(q===\"strokeStyle\"||q===\"fillStyle\"?J=Object(N.b)(E,j,J):q===\"globalAlpha\"&&(J*=E.globalAlpha),E[q]=J)}}function u(E,j,L){for(var A=0;A<j.length;A++){var J=j[A];J.cfg.visible?J.draw(E,L):J.skipDraw()}}function a(E,j,L){var A=E.get(\"refreshElements\");Object(y.each)(A,function(J){if(J!==E)for(var q=J.cfg.parent;q&&q!==E&&!q.cfg.refresh;)q.cfg.refresh=!0,q=q.cfg.parent}),A[0]===E?h(j,L):function J(q,re){for(var me=0;me<q.length;me++){var Te=q[me];if(Te.cfg.visible)if(Te.cfg.hasChanged)Te.cfg.refresh=!0,Te.isGroup()&&h(Te.cfg.children,re);else if(Te.cfg.refresh)Te.isGroup()&&J(Te.cfg.children,re);else{var ee=l(Te,re);Te.cfg.refresh=ee,ee&&Te.isGroup()&&J(Te.cfg.children,re)}}}(j,L)}function f(E){for(var j=0;j<E.length;j++){var L=E[j];L.cfg.hasChanged=!1,L.isGroup()&&!L.destroyed&&f(L.cfg.children)}}function h(E,j){for(var L=0;L<E.length;L++){var A=E[L];A.cfg.refresh=!0,A.isGroup()&&h(A.get(\"children\"),j)}}function l(E,j){var L=E.cfg.cacheCanvasBBox;return E.cfg.isInView&&L&&Object(w.f)(L,j)}function s(E,j,L,A){var J=L.path,q=L.startArrow,re=L.endArrow;if(J){var me=[0,0],Te=[0,0],ee={dx:0,dy:0};j.beginPath();for(var xe=0;xe<J.length;xe++){var Ie=J[xe],Le=Ie[0];if(xe===0&&q&&q.d){var De=E.getStartTangent();ee=O.c(De[0][0],De[0][1],De[1][0],De[1][1],q.d)}else xe===J.length-2&&J[xe+1][0]===\"Z\"&&re&&re.d?J[xe+1][0]===\"Z\"&&(De=E.getEndTangent(),ee=O.c(De[0][0],De[0][1],De[1][0],De[1][1],re.d)):xe===J.length-1&&re&&re.d&&J[0]!==\"Z\"&&(De=E.getEndTangent(),ee=O.c(De[0][0],De[0][1],De[1][0],De[1][1],re.d));var ce=ee.dx,ye=ee.dy;switch(Le){case\"M\":j.moveTo(Ie[1]-ce,Ie[2]-ye),Te=[Ie[1],Ie[2]];break;case\"L\":j.lineTo(Ie[1]-ce,Ie[2]-ye);break;case\"Q\":j.quadraticCurveTo(Ie[1],Ie[2],Ie[3]-ce,Ie[4]-ye);break;case\"C\":j.bezierCurveTo(Ie[1],Ie[2],Ie[3],Ie[4],Ie[5]-ce,Ie[6]-ye);break;case\"A\":var Oe=void 0;A?(Oe=A[xe])||(Oe=Object(C.a)(me,Ie),A[xe]=Oe):Oe=Object(C.a)(me,Ie);var Ce=Oe.cx,oe=Oe.cy,he=Oe.rx,ie=Oe.ry,ae=Oe.startAngle,ve=Oe.endAngle,X=Oe.xRotation,se=Oe.sweepFlag;if(j.ellipse)j.ellipse(Ce,oe,he,ie,X,ae,ve,1-se);else{var fe=he>ie?he:ie,_e=he>ie?1:he/ie,be=he>ie?ie/he:1;j.translate(Ce,oe),j.rotate(X),j.scale(_e,be),j.arc(0,0,fe,ae,ve,1-se),j.scale(1/_e,1/be),j.rotate(-X),j.translate(-Ce,-oe)}break;case\"Z\":j.closePath()}if(Le===\"Z\")me=Te;else{var We=Ie.length;me=[Ie[We-2],Ie[We-1]]}}}}function m(E,j){var L=E.get(\"canvas\");L&&(j===\"remove\"&&(E._cacheCanvasBBox=E.get(\"cacheCanvasBBox\")),E.get(\"hasChanged\")||(E.set(\"hasChanged\",!0),E.cfg.parent&&E.cfg.parent.get(\"hasChanged\")||(L.refreshElement(E,j,L),L.get(\"autoDraw\")&&L.draw())))}function x(E){if(!E.length)return null;var j=[],L=[],A=[],J=[];return Object(y.each)(E,function(q){var re=function(me){var Te;if(me.destroyed)Te=me._cacheCanvasBBox;else{var ee=me.get(\"cacheCanvasBBox\"),xe=ee&&!(!ee.width||!ee.height),Ie=me.getCanvasBBox(),Le=Ie&&!(!Ie.width||!Ie.height);xe&&Le?Te=Object(w.l)(ee,Ie):xe?Te=ee:Le&&(Te=Ie)}return Te}(q);re&&(j.push(re.minX),L.push(re.minY),A.push(re.maxX),J.push(re.maxY))}),{minX:Object(y.min)(j),minY:Object(y.min)(L),maxX:Object(y.max)(A),maxY:Object(y.max)(J)}}function M(E,j){return E&&j&&Object(w.f)(E,j)?{minX:Math.max(E.minX,j.minX),minY:Math.max(E.minY,j.minY),maxX:Math.min(E.maxX,j.maxX),maxY:Math.min(E.maxY,j.maxY)}:null}},function(Ee,c,r){function y(C){return(y=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(w){return typeof w}:function(w){return w&&typeof Symbol==\"function\"&&w.constructor===Symbol&&w!==Symbol.prototype?\"symbol\":typeof w})(C)}var N=r(192)();Ee.exports=N;try{regeneratorRuntime=N}catch(C){(typeof globalThis==\"undefined\"?\"undefined\":y(globalThis))===\"object\"?globalThis.regeneratorRuntime=N:Function(\"r\",\"regeneratorRuntime = r\")(N)}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.Base=void 0;var y=function(){function N(){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 N.prototype.layout=function(C){return this.init(C),this.execute(!0)},N.prototype.init=function(C){this.nodes=C.nodes||[],this.edges=C.edges||[],this.combos=C.combos||[],this.comboEdges=C.comboEdges||[],this.hiddenNodes=C.hiddenNodes||[],this.hiddenEdges=C.hiddenEdges||[],this.hiddenCombos=C.hiddenCombos||[],this.vedges=C.vedges||[]},N.prototype.execute=function(C){},N.prototype.executeWithWorker=function(){},N.prototype.getDefaultCfg=function(){return{}},N.prototype.updateCfg=function(C){C&&Object.assign(this,C)},N.prototype.getType=function(){return\"base\"},N.prototype.destroy=function(){this.nodes=null,this.edges=null,this.combos=null,this.positions=null,this.destroyed=!0},N}();c.Base=y},function(Ee,c,r){\"use strict\";r.d(c,\"c\",function(){return f}),r.d(c,\"b\",function(){return h}),r.d(c,\"a\",function(){return l});var y=r(1),N=r(29);function C(s){return(C=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(m){return typeof m}:function(m){return m&&typeof Symbol==\"function\"&&m.constructor===Symbol&&m!==Symbol.prototype?\"symbol\":typeof m})(s)}var w=Math.sin,O=Math.cos,b=Math.atan2,p=Math.PI;function u(s,m,x,M,E,j,L){var A=m.stroke,J=m.lineWidth,q=b(M-j,x-E),re=new N.Path({type:\"path\",canvas:s.get(\"canvas\"),isArrowShape:!0,attrs:{path:\"M\"+10*O(p/6)+\",\"+10*w(p/6)+\" L0,0 L\"+10*O(p/6)+\",-\"+10*w(p/6),stroke:A,lineWidth:J}});re.translate(E,j),re.rotateAtPoint(E,j,q),s.set(L?\"startArrowShape\":\"endArrowShape\",re)}function a(s,m,x,M,E,j,L){var A=m.startArrow,J=m.endArrow,q=m.stroke,re=m.lineWidth,me=L?A:J,Te=me.d,ee=me.fill,xe=me.stroke,Ie=me.lineWidth,Le=Object(y.__rest)(me,[\"d\",\"fill\",\"stroke\",\"lineWidth\"]),De=b(M-j,x-E);Te&&(E-=O(De)*Te,j-=w(De)*Te);var ce=new N.Path({type:\"path\",canvas:s.get(\"canvas\"),isArrowShape:!0,attrs:Object(y.__assign)(Object(y.__assign)({},Le),{stroke:xe||q,lineWidth:Ie||re,fill:ee})});ce.translate(E,j),ce.rotateAtPoint(E,j,De),s.set(L?\"startArrowShape\":\"endArrowShape\",ce)}function f(s,m,x,M,E){var j=b(M-m,x-s);return{dx:O(j)*E,dy:w(j)*E}}function h(s,m,x,M,E,j){C(m.startArrow)===\"object\"?a(s,m,x,M,E,j,!0):m.startArrow?u(s,m,x,M,E,j,!0):s.set(\"startArrowShape\",null)}function l(s,m,x,M,E,j){C(m.endArrow)===\"object\"?a(s,m,x,M,E,j,!1):m.endArrow?u(s,m,x,M,E,j,!1):s.set(\"startArrowShape\",null)}},function(Ee,c,r){\"use strict\";r.d(c,\"b\",function(){return N}),r.d(c,\"c\",function(){return C}),r.d(c,\"a\",function(){return w});var y=r(11);function N(O,b){var p=O.cfg.el,u=O.attr(),a={dx:u.shadowOffsetX,dy:u.shadowOffsetY,blur:u.shadowBlur,color:u.shadowColor};if(a.dx||a.dy||a.blur||a.color){var f=b.find(\"filter\",a);f||(f=b.addShadow(a)),p.setAttribute(\"filter\",\"url(#\"+f+\")\")}else p.removeAttribute(\"filter\")}function C(O){var b=O.attr().matrix;if(b){for(var p=O.cfg.el,u=[],a=0;a<9;a+=3)u.push(b[a]+\",\"+b[a+1]);(u=u.join(\",\")).indexOf(\"NaN\")===-1?p.setAttribute(\"transform\",\"matrix(\"+u+\")\"):console.warn(\"invalid matrix:\",b)}}function w(O,b){var p=O.getClip(),u=O.get(\"el\");if(p){if(p&&!u.hasAttribute(\"clip-path\")){Object(y.a)(p),p.createPath(b);var a=b.addClip(p);u.setAttribute(\"clip-path\",\"url(#\"+a+\")\")}}else u.removeAttribute(\"clip-path\")}},function(Ee,c,r){\"use strict\";r.d(c,\"a\",function(){return b}),r.d(c,\"b\",function(){return f}),r.d(c,\"c\",function(){return s}),r.d(c,\"d\",function(){return A});var y=r(0),N=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,C=/[^\\s\\,]+/gi,w=function(J){var q=J||[];return Object(y.isArray)(q)?q:Object(y.isString)(q)?(q=q.match(N),Object(y.each)(q,function(re,me){if((re=re.match(C))[0].length>1){var Te=re[0].charAt(0);re.splice(1,0,re[0].substr(1)),re[0]=Te}Object(y.each)(re,function(ee,xe){isNaN(ee)||(re[xe]=+ee)}),q[me]=re}),q):void 0},O=r(12),b=function(J,q,re){q===void 0&&(q=!1),re===void 0&&(re=[[0,0],[1,1]]);for(var me=!!q,Te=[],ee=0,xe=J.length;ee<xe;ee+=2)Te.push([J[ee],J[ee+1]]);var Ie,Le,De,ce=function(Ce,oe,he,ie){var ae,ve,X,se,fe,_e,be,We=[],we=!!ie;if(we){X=ie[0],se=ie[1];for(var Ze=0,Ve=Ce.length;Ze<Ve;Ze+=1){var et=Ce[Ze];X=O.vec2.min([0,0],X,et),se=O.vec2.max([0,0],se,et)}}Ze=0;for(var ht=Ce.length;Ze<ht;Ze+=1)if(et=Ce[Ze],Ze!==0||he)if(Ze!==ht-1||he){ae=Ce[[Ze?Ze-1:ht-1,Ze-1][he?0:1]],ve=Ce[he?(Ze+1)%ht:Ze+1];var Fe=[0,0];Fe=O.vec2.sub(Fe,ve,ae),Fe=O.vec2.scale(Fe,Fe,oe);var mt=O.vec2.distance(et,ae),dt=O.vec2.distance(et,ve),Lt=mt+dt;Lt!==0&&(mt/=Lt,dt/=Lt);var lt=O.vec2.scale([0,0],Fe,-mt),rn=O.vec2.scale([0,0],Fe,dt);_e=O.vec2.add([0,0],et,lt),fe=O.vec2.add([0,0],et,rn),fe=O.vec2.min([0,0],fe,O.vec2.max([0,0],ve,et)),fe=O.vec2.max([0,0],fe,O.vec2.min([0,0],ve,et)),lt=O.vec2.sub([0,0],fe,et),lt=O.vec2.scale([0,0],lt,-mt/dt),_e=O.vec2.add([0,0],et,lt),_e=O.vec2.min([0,0],_e,O.vec2.max([0,0],ae,et)),_e=O.vec2.max([0,0],_e,O.vec2.min([0,0],ae,et)),rn=O.vec2.sub([0,0],et,_e),rn=O.vec2.scale([0,0],rn,dt/mt),fe=O.vec2.add([0,0],et,rn),we&&(_e=O.vec2.max([0,0],_e,X),_e=O.vec2.min([0,0],_e,se),fe=O.vec2.max([0,0],fe,X),fe=O.vec2.min([0,0],fe,se)),We.push(be),We.push(_e),be=fe}else _e=et,We.push(be),We.push(_e);else be=et;return he&&We.push(We.shift()),We}(Te,.4,me,re),ye=Te.length,Oe=[];for(ee=0;ee<ye-1;ee+=1)Ie=ce[2*ee],Le=ce[2*ee+1],De=Te[ee+1],Oe.push([\"C\",Ie[0],Ie[1],Le[0],Le[1],De[0],De[1]]);return me&&(Ie=ce[ye],Le=ce[ye+1],De=Te[0],Oe.push([\"C\",Ie[0],Ie[1],Le[0],Le[1],De[0],De[1]])),Oe},p=`\t\n\\v\\f\\r \\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029`,u=new RegExp(\"([a-z])[\"+p+\",]*((-?\\\\d*\\\\.?\\\\d*(?:e[\\\\-+]?\\\\d+)?[\"+p+\"]*,?[\"+p+\"]*)+)\",\"ig\"),a=new RegExp(\"(-?\\\\d*\\\\.?\\\\d*(?:e[\\\\-+]?\\\\d+)?)[\"+p+\"]*,?[\"+p+\"]*\",\"ig\");function f(J){if(!J)return null;if(Object(y.isArray)(J))return J;var q={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},re=[];return String(J).replace(u,function(me,Te,ee){var xe=[],Ie=Te.toLowerCase();if(ee.replace(a,function(Le,De){De&&xe.push(+De)}),Ie===\"m\"&&xe.length>2&&(re.push([Te].concat(xe.splice(0,2))),Ie=\"l\",Te=Te===\"m\"?\"l\":\"L\"),Ie===\"o\"&&xe.length===1&&re.push([Te,xe[0]]),Ie===\"r\")re.push([Te].concat(xe));else for(;xe.length>=q[Ie]&&(re.push([Te].concat(xe.splice(0,q[Ie]))),q[Ie]););return\"\"}),re}var h=/[a-z]/;function l(J,q){return[q[0]+(q[0]-J[0]),q[1]+(q[1]-J[1])]}function s(J){var q=f(J);if(!q||!q.length)return[[\"M\",0,0]];for(var re=!1,me=0;me<q.length;me++){var Te=q[me][0];if(h.test(Te)||[\"V\",\"H\",\"T\",\"S\"].indexOf(Te)>=0){re=!0;break}}if(!re)return q;var ee=[],xe=0,Ie=0,Le=0,De=0,ce=0,ye=q[0];ye[0]!==\"M\"&&ye[0]!==\"m\"||(Le=xe=+ye[1],De=Ie=+ye[2],ce++,ee[0]=[\"M\",xe,Ie]),me=ce;for(var Oe=q.length;me<Oe;me++){var Ce=q[me],oe=ee[me-1],he=[],ie=(Te=Ce[0]).toUpperCase();if(Te!==ie)switch(he[0]=ie,ie){case\"A\":he[1]=Ce[1],he[2]=Ce[2],he[3]=Ce[3],he[4]=Ce[4],he[5]=Ce[5],he[6]=+Ce[6]+xe,he[7]=+Ce[7]+Ie;break;case\"V\":he[1]=+Ce[1]+Ie;break;case\"H\":he[1]=+Ce[1]+xe;break;case\"M\":Le=+Ce[1]+xe,De=+Ce[2]+Ie,he[1]=Le,he[2]=De;break;default:for(var ae=1,ve=Ce.length;ae<ve;ae++)he[ae]=+Ce[ae]+(ae%2?xe:Ie)}else he=q[me];switch(ie){case\"Z\":xe=+Le,Ie=+De;break;case\"H\":he=[\"L\",xe=he[1],Ie];break;case\"V\":he=[\"L\",xe,Ie=he[1]];break;case\"T\":xe=he[1],Ie=he[2];var X=l([oe[1],oe[2]],[oe[3],oe[4]]);he=[\"Q\",X[0],X[1],xe,Ie];break;case\"S\":xe=he[he.length-2],Ie=he[he.length-1];var se=oe.length,fe=l([oe[se-4],oe[se-3]],[oe[se-2],oe[se-1]]);he=[\"C\",fe[0],fe[1],he[1],he[2],xe,Ie];break;case\"M\":Le=he[he.length-2],De=he[he.length-1];break;default:xe=he[he.length-2],Ie=he[he.length-1]}ee.push(he)}return ee}function m(J){return Math.sqrt(J[0]*J[0]+J[1]*J[1])}function x(J,q){return m(J)*m(q)?(J[0]*q[0]+J[1]*q[1])/(m(J)*m(q)):1}function M(J,q){return(J[0]*q[1]<J[1]*q[0]?-1:1)*Math.acos(x(J,q))}function E(J,q){return J[0]===q[0]&&J[1]===q[1]}function j(J,q){var re=q[1],me=q[2],Te=Object(y.mod)(Object(y.toRadian)(q[3]),2*Math.PI),ee=q[4],xe=q[5],Ie=J[0],Le=J[1],De=q[6],ce=q[7],ye=Math.cos(Te)*(Ie-De)/2+Math.sin(Te)*(Le-ce)/2,Oe=-1*Math.sin(Te)*(Ie-De)/2+Math.cos(Te)*(Le-ce)/2,Ce=ye*ye/(re*re)+Oe*Oe/(me*me);Ce>1&&(re*=Math.sqrt(Ce),me*=Math.sqrt(Ce));var oe=re*re*(Oe*Oe)+me*me*(ye*ye),he=oe?Math.sqrt((re*re*(me*me)-oe)/oe):1;ee===xe&&(he*=-1),isNaN(he)&&(he=0);var ie=me?he*re*Oe/me:0,ae=re?he*-me*ye/re:0,ve=(Ie+De)/2+Math.cos(Te)*ie-Math.sin(Te)*ae,X=(Le+ce)/2+Math.sin(Te)*ie+Math.cos(Te)*ae,se=[(ye-ie)/re,(Oe-ae)/me],fe=[(-1*ye-ie)/re,(-1*Oe-ae)/me],_e=M([1,0],se),be=M(se,fe);return x(se,fe)<=-1&&(be=Math.PI),x(se,fe)>=1&&(be=0),xe===0&&be>0&&(be-=2*Math.PI),xe===1&&be<0&&(be+=2*Math.PI),{cx:ve,cy:X,rx:E(J,[De,ce])?0:re,ry:E(J,[De,ce])?0:me,startAngle:_e,endAngle:_e+be,xRotation:Te,arcFlag:ee,sweepFlag:xe}}function L(J,q){return[q[0]+(q[0]-J[0]),q[1]+(q[1]-J[1])]}function A(J){for(var q=[],re=null,me=null,Te=null,ee=0,xe=(J=w(J)).length,Ie=0;Ie<xe;Ie++){var Le=J[Ie];me=J[Ie+1];var De=Le[0],ce={command:De,prePoint:re,params:Le,startTangent:null,endTangent:null};switch(De){case\"M\":Te=[Le[1],Le[2]],ee=Ie;break;case\"A\":var ye=j(re,Le);ce.arcParams=ye}if(De===\"Z\")re=Te,me=J[ee+1];else{var Oe=Le.length;re=[Le[Oe-2],Le[Oe-1]]}me&&me[0]===\"Z\"&&(me=J[ee],q[ee]&&(q[ee].prePoint=re)),ce.currentPoint=re,q[ee]&&E(re,q[ee].currentPoint)&&(q[ee].prePoint=ce.prePoint);var Ce=me?[me[me.length-2],me[me.length-1]]:null;ce.nextPoint=Ce;var oe=ce.prePoint;if([\"L\",\"H\",\"V\"].includes(De))ce.startTangent=[oe[0]-re[0],oe[1]-re[1]],ce.endTangent=[re[0]-oe[0],re[1]-oe[1]];else if(De===\"Q\"){var he=[Le[1],Le[2]];ce.startTangent=[oe[0]-he[0],oe[1]-he[1]],ce.endTangent=[re[0]-he[0],re[1]-he[1]]}else if(De===\"T\")he=L((ve=q[Ie-1]).currentPoint,oe),ve.command===\"Q\"?(ce.command=\"Q\",ce.startTangent=[oe[0]-he[0],oe[1]-he[1]],ce.endTangent=[re[0]-he[0],re[1]-he[1]]):(ce.command=\"TL\",ce.startTangent=[oe[0]-re[0],oe[1]-re[1]],ce.endTangent=[re[0]-oe[0],re[1]-oe[1]]);else if(De===\"C\"){var ie=[Le[1],Le[2]],ae=[Le[3],Le[4]];ce.startTangent=[oe[0]-ie[0],oe[1]-ie[1]],ce.endTangent=[re[0]-ae[0],re[1]-ae[1]],ce.startTangent[0]===0&&ce.startTangent[1]===0&&(ce.startTangent=[ie[0]-ae[0],ie[1]-ae[1]]),ce.endTangent[0]===0&&ce.endTangent[1]===0&&(ce.endTangent=[ae[0]-ie[0],ae[1]-ie[1]])}else if(De===\"S\"){var ve;ie=L((ve=q[Ie-1]).currentPoint,oe),ae=[Le[1],Le[2]],ve.command===\"C\"?(ce.command=\"C\",ce.startTangent=[oe[0]-ie[0],oe[1]-ie[1]],ce.endTangent=[re[0]-ae[0],re[1]-ae[1]]):(ce.command=\"SQ\",ce.startTangent=[oe[0]-ae[0],oe[1]-ae[1]],ce.endTangent=[re[0]-ae[0],re[1]-ae[1]])}else if(De===\"A\"){var X=.001,se=ce.arcParams||{},fe=se.cx,_e=fe===void 0?0:fe,be=se.cy,We=be===void 0?0:be,we=se.rx,Ze=we===void 0?0:we,Ve=se.ry,et=Ve===void 0?0:Ve,ht=se.sweepFlag,Fe=ht===void 0?0:ht,mt=se.startAngle,dt=mt===void 0?0:mt,Lt=se.endAngle,lt=Lt===void 0?0:Lt;Fe===0&&(X*=-1);var rn=Ze*Math.cos(dt-X)+_e,qt=et*Math.sin(dt-X)+We;ce.startTangent=[rn-Te[0],qt-Te[1]];var hn=Ze*Math.cos(dt+lt+X)+_e,Kt=et*Math.sin(dt+lt-X)+We;ce.endTangent=[oe[0]-hn,oe[1]-Kt]}q.push(ce)}return q}},function(Ee,c,r){\"use strict\";function y(w,O){var b=[],p=w[0],u=w[1],a=w[2],f=w[3],h=w[4],l=w[5],s=w[6],m=w[7],x=w[8],M=O[0],E=O[1],j=O[2],L=O[3],A=O[4],J=O[5],q=O[6],re=O[7],me=O[8];return b[0]=M*p+E*f+j*s,b[1]=M*u+E*h+j*m,b[2]=M*a+E*l+j*x,b[3]=L*p+A*f+J*s,b[4]=L*u+A*h+J*m,b[5]=L*a+A*l+J*x,b[6]=q*p+re*f+me*s,b[7]=q*u+re*h+me*m,b[8]=q*a+re*l+me*x,b}function N(w,O){var b=[],p=O[0],u=O[1];return b[0]=w[0]*p+w[3]*u+w[6],b[1]=w[1]*p+w[4]*u+w[7],b}function C(w){var O=[],b=w[0],p=w[1],u=w[2],a=w[3],f=w[4],h=w[5],l=w[6],s=w[7],m=w[8],x=m*f-h*s,M=-m*a+h*l,E=s*a-f*l,j=b*x+p*M+u*E;return j?(j=1/j,O[0]=x*j,O[1]=(-m*p+u*s)*j,O[2]=(h*p-u*f)*j,O[3]=M*j,O[4]=(m*b-u*l)*j,O[5]=(-h*b+u*a)*j,O[6]=E*j,O[7]=(-s*b+p*l)*j,O[8]=(f*b-p*a)*j,O):null}r.d(c,\"b\",function(){return y}),r.d(c,\"c\",function(){return N}),r.d(c,\"a\",function(){return C})},function(Ee,c,r){\"use strict\";r(29),r(10);var y=r(113);r.d(c,\"Canvas\",function(){return y.a}),r(36),r(43)},function(Ee,c,r){\"use strict\";r.r(c),r.d(c,\"create\",function(){return N}),r.d(c,\"clone\",function(){return C}),r.d(c,\"length\",function(){return w}),r.d(c,\"fromValues\",function(){return O}),r.d(c,\"copy\",function(){return b}),r.d(c,\"set\",function(){return p}),r.d(c,\"add\",function(){return u}),r.d(c,\"subtract\",function(){return a}),r.d(c,\"multiply\",function(){return f}),r.d(c,\"divide\",function(){return h}),r.d(c,\"ceil\",function(){return l}),r.d(c,\"floor\",function(){return s}),r.d(c,\"min\",function(){return m}),r.d(c,\"max\",function(){return x}),r.d(c,\"round\",function(){return M}),r.d(c,\"scale\",function(){return E}),r.d(c,\"scaleAndAdd\",function(){return j}),r.d(c,\"distance\",function(){return L}),r.d(c,\"squaredDistance\",function(){return A}),r.d(c,\"squaredLength\",function(){return J}),r.d(c,\"negate\",function(){return q}),r.d(c,\"inverse\",function(){return re}),r.d(c,\"normalize\",function(){return me}),r.d(c,\"dot\",function(){return Te}),r.d(c,\"cross\",function(){return ee}),r.d(c,\"lerp\",function(){return xe}),r.d(c,\"hermite\",function(){return Ie}),r.d(c,\"bezier\",function(){return Le}),r.d(c,\"random\",function(){return De}),r.d(c,\"transformMat4\",function(){return ce}),r.d(c,\"transformMat3\",function(){return ye}),r.d(c,\"transformQuat\",function(){return Oe}),r.d(c,\"rotateX\",function(){return Ce}),r.d(c,\"rotateY\",function(){return oe}),r.d(c,\"rotateZ\",function(){return he}),r.d(c,\"angle\",function(){return ie}),r.d(c,\"zero\",function(){return ae}),r.d(c,\"str\",function(){return ve}),r.d(c,\"exactEquals\",function(){return X}),r.d(c,\"equals\",function(){return se}),r.d(c,\"sub\",function(){return _e}),r.d(c,\"mul\",function(){return be}),r.d(c,\"div\",function(){return We}),r.d(c,\"dist\",function(){return we}),r.d(c,\"sqrDist\",function(){return Ze}),r.d(c,\"len\",function(){return Ve}),r.d(c,\"sqrLen\",function(){return et}),r.d(c,\"forEach\",function(){return ht});var y=r(2);function N(){var Fe=new y.ARRAY_TYPE(3);return y.ARRAY_TYPE!=Float32Array&&(Fe[0]=0,Fe[1]=0,Fe[2]=0),Fe}function C(Fe){var mt=new y.ARRAY_TYPE(3);return mt[0]=Fe[0],mt[1]=Fe[1],mt[2]=Fe[2],mt}function w(Fe){var mt=Fe[0],dt=Fe[1],Lt=Fe[2];return Math.hypot(mt,dt,Lt)}function O(Fe,mt,dt){var Lt=new y.ARRAY_TYPE(3);return Lt[0]=Fe,Lt[1]=mt,Lt[2]=dt,Lt}function b(Fe,mt){return Fe[0]=mt[0],Fe[1]=mt[1],Fe[2]=mt[2],Fe}function p(Fe,mt,dt,Lt){return Fe[0]=mt,Fe[1]=dt,Fe[2]=Lt,Fe}function u(Fe,mt,dt){return Fe[0]=mt[0]+dt[0],Fe[1]=mt[1]+dt[1],Fe[2]=mt[2]+dt[2],Fe}function a(Fe,mt,dt){return Fe[0]=mt[0]-dt[0],Fe[1]=mt[1]-dt[1],Fe[2]=mt[2]-dt[2],Fe}function f(Fe,mt,dt){return Fe[0]=mt[0]*dt[0],Fe[1]=mt[1]*dt[1],Fe[2]=mt[2]*dt[2],Fe}function h(Fe,mt,dt){return Fe[0]=mt[0]/dt[0],Fe[1]=mt[1]/dt[1],Fe[2]=mt[2]/dt[2],Fe}function l(Fe,mt){return Fe[0]=Math.ceil(mt[0]),Fe[1]=Math.ceil(mt[1]),Fe[2]=Math.ceil(mt[2]),Fe}function s(Fe,mt){return Fe[0]=Math.floor(mt[0]),Fe[1]=Math.floor(mt[1]),Fe[2]=Math.floor(mt[2]),Fe}function m(Fe,mt,dt){return Fe[0]=Math.min(mt[0],dt[0]),Fe[1]=Math.min(mt[1],dt[1]),Fe[2]=Math.min(mt[2],dt[2]),Fe}function x(Fe,mt,dt){return Fe[0]=Math.max(mt[0],dt[0]),Fe[1]=Math.max(mt[1],dt[1]),Fe[2]=Math.max(mt[2],dt[2]),Fe}function M(Fe,mt){return Fe[0]=Math.round(mt[0]),Fe[1]=Math.round(mt[1]),Fe[2]=Math.round(mt[2]),Fe}function E(Fe,mt,dt){return Fe[0]=mt[0]*dt,Fe[1]=mt[1]*dt,Fe[2]=mt[2]*dt,Fe}function j(Fe,mt,dt,Lt){return Fe[0]=mt[0]+dt[0]*Lt,Fe[1]=mt[1]+dt[1]*Lt,Fe[2]=mt[2]+dt[2]*Lt,Fe}function L(Fe,mt){var dt=mt[0]-Fe[0],Lt=mt[1]-Fe[1],lt=mt[2]-Fe[2];return Math.hypot(dt,Lt,lt)}function A(Fe,mt){var dt=mt[0]-Fe[0],Lt=mt[1]-Fe[1],lt=mt[2]-Fe[2];return dt*dt+Lt*Lt+lt*lt}function J(Fe){var mt=Fe[0],dt=Fe[1],Lt=Fe[2];return mt*mt+dt*dt+Lt*Lt}function q(Fe,mt){return Fe[0]=-mt[0],Fe[1]=-mt[1],Fe[2]=-mt[2],Fe}function re(Fe,mt){return Fe[0]=1/mt[0],Fe[1]=1/mt[1],Fe[2]=1/mt[2],Fe}function me(Fe,mt){var dt=mt[0],Lt=mt[1],lt=mt[2],rn=dt*dt+Lt*Lt+lt*lt;return rn>0&&(rn=1/Math.sqrt(rn)),Fe[0]=mt[0]*rn,Fe[1]=mt[1]*rn,Fe[2]=mt[2]*rn,Fe}function Te(Fe,mt){return Fe[0]*mt[0]+Fe[1]*mt[1]+Fe[2]*mt[2]}function ee(Fe,mt,dt){var Lt=mt[0],lt=mt[1],rn=mt[2],qt=dt[0],hn=dt[1],Kt=dt[2];return Fe[0]=lt*Kt-rn*hn,Fe[1]=rn*qt-Lt*Kt,Fe[2]=Lt*hn-lt*qt,Fe}function xe(Fe,mt,dt,Lt){var lt=mt[0],rn=mt[1],qt=mt[2];return Fe[0]=lt+Lt*(dt[0]-lt),Fe[1]=rn+Lt*(dt[1]-rn),Fe[2]=qt+Lt*(dt[2]-qt),Fe}function Ie(Fe,mt,dt,Lt,lt,rn){var qt=rn*rn,hn=qt*(2*rn-3)+1,Kt=qt*(rn-2)+rn,an=qt*(rn-1),In=qt*(3-2*rn);return Fe[0]=mt[0]*hn+dt[0]*Kt+Lt[0]*an+lt[0]*In,Fe[1]=mt[1]*hn+dt[1]*Kt+Lt[1]*an+lt[1]*In,Fe[2]=mt[2]*hn+dt[2]*Kt+Lt[2]*an+lt[2]*In,Fe}function Le(Fe,mt,dt,Lt,lt,rn){var qt=1-rn,hn=qt*qt,Kt=rn*rn,an=hn*qt,In=3*rn*hn,Ft=3*Kt*qt,kt=Kt*rn;return Fe[0]=mt[0]*an+dt[0]*In+Lt[0]*Ft+lt[0]*kt,Fe[1]=mt[1]*an+dt[1]*In+Lt[1]*Ft+lt[1]*kt,Fe[2]=mt[2]*an+dt[2]*In+Lt[2]*Ft+lt[2]*kt,Fe}function De(Fe,mt){mt=mt||1;var dt=2*y.RANDOM()*Math.PI,Lt=2*y.RANDOM()-1,lt=Math.sqrt(1-Lt*Lt)*mt;return Fe[0]=Math.cos(dt)*lt,Fe[1]=Math.sin(dt)*lt,Fe[2]=Lt*mt,Fe}function ce(Fe,mt,dt){var Lt=mt[0],lt=mt[1],rn=mt[2],qt=dt[3]*Lt+dt[7]*lt+dt[11]*rn+dt[15];return qt=qt||1,Fe[0]=(dt[0]*Lt+dt[4]*lt+dt[8]*rn+dt[12])/qt,Fe[1]=(dt[1]*Lt+dt[5]*lt+dt[9]*rn+dt[13])/qt,Fe[2]=(dt[2]*Lt+dt[6]*lt+dt[10]*rn+dt[14])/qt,Fe}function ye(Fe,mt,dt){var Lt=mt[0],lt=mt[1],rn=mt[2];return Fe[0]=Lt*dt[0]+lt*dt[3]+rn*dt[6],Fe[1]=Lt*dt[1]+lt*dt[4]+rn*dt[7],Fe[2]=Lt*dt[2]+lt*dt[5]+rn*dt[8],Fe}function Oe(Fe,mt,dt){var Lt=dt[0],lt=dt[1],rn=dt[2],qt=dt[3],hn=mt[0],Kt=mt[1],an=mt[2],In=lt*an-rn*Kt,Ft=rn*hn-Lt*an,kt=Lt*Kt-lt*hn,At=lt*kt-rn*Ft,Fn=rn*In-Lt*kt,pn=Lt*Ft-lt*In,en=2*qt;return In*=en,Ft*=en,kt*=en,At*=2,Fn*=2,pn*=2,Fe[0]=hn+In+At,Fe[1]=Kt+Ft+Fn,Fe[2]=an+kt+pn,Fe}function Ce(Fe,mt,dt,Lt){var lt=[],rn=[];return lt[0]=mt[0]-dt[0],lt[1]=mt[1]-dt[1],lt[2]=mt[2]-dt[2],rn[0]=lt[0],rn[1]=lt[1]*Math.cos(Lt)-lt[2]*Math.sin(Lt),rn[2]=lt[1]*Math.sin(Lt)+lt[2]*Math.cos(Lt),Fe[0]=rn[0]+dt[0],Fe[1]=rn[1]+dt[1],Fe[2]=rn[2]+dt[2],Fe}function oe(Fe,mt,dt,Lt){var lt=[],rn=[];return lt[0]=mt[0]-dt[0],lt[1]=mt[1]-dt[1],lt[2]=mt[2]-dt[2],rn[0]=lt[2]*Math.sin(Lt)+lt[0]*Math.cos(Lt),rn[1]=lt[1],rn[2]=lt[2]*Math.cos(Lt)-lt[0]*Math.sin(Lt),Fe[0]=rn[0]+dt[0],Fe[1]=rn[1]+dt[1],Fe[2]=rn[2]+dt[2],Fe}function he(Fe,mt,dt,Lt){var lt=[],rn=[];return lt[0]=mt[0]-dt[0],lt[1]=mt[1]-dt[1],lt[2]=mt[2]-dt[2],rn[0]=lt[0]*Math.cos(Lt)-lt[1]*Math.sin(Lt),rn[1]=lt[0]*Math.sin(Lt)+lt[1]*Math.cos(Lt),rn[2]=lt[2],Fe[0]=rn[0]+dt[0],Fe[1]=rn[1]+dt[1],Fe[2]=rn[2]+dt[2],Fe}function ie(Fe,mt){var dt=Fe[0],Lt=Fe[1],lt=Fe[2],rn=mt[0],qt=mt[1],hn=mt[2],Kt=Math.sqrt(dt*dt+Lt*Lt+lt*lt)*Math.sqrt(rn*rn+qt*qt+hn*hn),an=Kt&&Te(Fe,mt)/Kt;return Math.acos(Math.min(Math.max(an,-1),1))}function ae(Fe){return Fe[0]=0,Fe[1]=0,Fe[2]=0,Fe}function ve(Fe){return\"vec3(\"+Fe[0]+\", \"+Fe[1]+\", \"+Fe[2]+\")\"}function X(Fe,mt){return Fe[0]===mt[0]&&Fe[1]===mt[1]&&Fe[2]===mt[2]}function se(Fe,mt){var dt=Fe[0],Lt=Fe[1],lt=Fe[2],rn=mt[0],qt=mt[1],hn=mt[2];return Math.abs(dt-rn)<=y.EPSILON*Math.max(1,Math.abs(dt),Math.abs(rn))&&Math.abs(Lt-qt)<=y.EPSILON*Math.max(1,Math.abs(Lt),Math.abs(qt))&&Math.abs(lt-hn)<=y.EPSILON*Math.max(1,Math.abs(lt),Math.abs(hn))}var fe,_e=a,be=f,We=h,we=L,Ze=A,Ve=w,et=J,ht=(fe=N(),function(Fe,mt,dt,Lt,lt,rn){var qt,hn;for(mt||(mt=3),dt||(dt=0),hn=Lt?Math.min(Lt*mt+dt,Fe.length):Fe.length,qt=dt;qt<hn;qt+=mt)fe[0]=Fe[qt],fe[1]=Fe[qt+1],fe[2]=Fe[qt+2],lt(fe,fe,rn),Fe[qt]=fe[0],Fe[qt+1]=fe[1],Fe[qt+2]=fe[2];return Fe})},function(Ee,c){function r(y,N,C,w,O,b,p){try{var u=y[b](p),a=u.value}catch(f){return void C(f)}u.done?N(a):Promise.resolve(a).then(w,O)}Ee.exports=function(y){return function(){var N=this,C=arguments;return new Promise(function(w,O){var b=y.apply(N,C);function p(a){r(b,w,O,p,u,\"next\",a)}function u(a){r(b,w,O,p,u,\"throw\",a)}p(void 0)})}},Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.minBy=c.notime=c.time=c.partition=c.maxRank=c.addBorderNode=c.removeEmptyRanks=c.normalizeRanks=c.buildLayerMatrix=c.intersectRect=c.predecessorWeights=c.successorWeights=c.zipObject=c.asNonCompoundGraph=c.simplify=c.addDummyNode=void 0;var y=r(15),N=r(35);c.addDummyNode=function(C,w,O,b){var p;do p=\"\".concat(b).concat(Math.random());while(C.hasNode(p));return O.dummy=w,C.setNode(p,O),p},c.simplify=function(C){var w=new N.Graph().setGraph(C.graph());return C.nodes().forEach(function(O){w.setNode(O,C.node(O))}),C.edges().forEach(function(O){var b=w.edgeFromArgs(O.v,O.w)||{weight:0,minlen:1},p=C.edge(O);w.setEdge(O.v,O.w,{weight:b.weight+p.weight,minlen:Math.max(b.minlen,p.minlen)})}),w},c.asNonCompoundGraph=function(C){var w=new N.Graph({multigraph:C.isMultigraph()}).setGraph(C.graph());return C.nodes().forEach(function(O){var b;!((b=C.children(O))===null||b===void 0)&&b.length||w.setNode(O,C.node(O))}),C.edges().forEach(function(O){w.setEdgeObj(O,C.edge(O))}),w},c.zipObject=function(C,w){return C==null?void 0:C.reduce(function(O,b,p){return O[b]=w[p],O},{})},c.successorWeights=function(C){var w={};return C.nodes().forEach(function(O){var b,p={};(b=C.outEdges(O))===null||b===void 0||b.forEach(function(u){var a;p[u.w]=(p[u.w]||0)+(((a=C.edge(u))===null||a===void 0?void 0:a.weight)||0)}),w[O]=p}),w},c.predecessorWeights=function(C){var w=C.nodes(),O=w.map(function(b){var p,u={};return(p=C.inEdges(b))===null||p===void 0||p.forEach(function(a){u[a.v]=(u[a.v]||0)+C.edge(a).weight}),u});return(0,c.zipObject)(w,O)},c.intersectRect=function(C,w){var O,b,p=Number(C.x),u=Number(C.y),a=Number(w.x)-p,f=Number(w.y)-u,h=Number(C.width)/2,l=Number(C.height)/2;return a||f?(Math.abs(f)*h>Math.abs(a)*l?(f<0&&(l=-l),O=l*a/f,b=l):(a<0&&(h=-h),O=h,b=h*f/a),{x:p+O,y:u+b}):{x:0,y:0}},c.buildLayerMatrix=function(C){for(var w=[],O=(0,c.maxRank)(C)+1,b=0;b<O;b++)w.push([]);for(C.nodes().forEach(function(p){var u=C.node(p);if(u){var a=u.rank;a!==void 0&&w[a]&&w[a].push(p)}}),b=0;b<O;b++)w[b]=w[b].sort(function(p,u){var a,f,h,l;return h=(a=C.node(p))===null||a===void 0?void 0:a.order,l=(f=C.node(u))===null||f===void 0?void 0:f.order,Number(h)-Number(l)});return w},c.normalizeRanks=function(C){var w=C.nodes().filter(function(b){var p;return((p=C.node(b))===null||p===void 0?void 0:p.rank)!==void 0}).map(function(b){return C.node(b).rank}),O=Math.min.apply(Math,w);C.nodes().forEach(function(b){var p=C.node(b);p.hasOwnProperty(\"rank\")&&O!==1/0&&(p.rank-=O)})},c.removeEmptyRanks=function(C){var w=C.nodes(),O=w.filter(function(l){var s;return((s=C.node(l))===null||s===void 0?void 0:s.rank)!==void 0}).map(function(l){return C.node(l).rank}),b=Math.min.apply(Math,O),p=[];w.forEach(function(l){var s,m=(((s=C.node(l))===null||s===void 0?void 0:s.rank)||0)-b;p[m]||(p[m]=[]),p[m].push(l)});for(var u=0,a=C.graph().nodeRankFactor||0,f=0;f<p.length;f++){var h=p[f];h===void 0?f%a!=0&&(u-=1):u&&(h==null||h.forEach(function(l){var s=C.node(l);s&&(s.rank=s.rank||0,s.rank+=u)}))}},c.addBorderNode=function(C,w,O,b){var p={width:0,height:0};return(0,y.isNumber)(O)&&(0,y.isNumber)(b)&&(p.rank=O,p.order=b),(0,c.addDummyNode)(C,\"border\",p,w)},c.maxRank=function(C){var w;return C.nodes().forEach(function(O){var b,p=(b=C.node(O))===null||b===void 0?void 0:b.rank;p!==void 0&&(w===void 0||p>w)&&(w=p)}),w||(w=0),w},c.partition=function(C,w){var O={lhs:[],rhs:[]};return C==null||C.forEach(function(b){w(b)?O.lhs.push(b):O.rhs.push(b)}),O},c.time=function(C,w){var O=Date.now();try{return w()}finally{console.log(\"\".concat(C,\" time: \").concat(Date.now()-O,\"ms\"))}},c.notime=function(C,w){return w()},c.minBy=function(C,w){return C.reduce(function(O,b){return w(O)>w(b)?b:O})}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.uniqueId=c.getOutEdgesNodeId=c.getNeighbors=c.getEdgesByNodeId=void 0,c.getNeighbors=function(y,N,C){N===void 0&&(N=[]);var w=N.filter(function(O){return O.source===y||O.target===y});return C===\"target\"?w.filter(function(O){return O.source===y}).map(function(O){return O.target}):C===\"source\"?w.filter(function(O){return O.target===y}).map(function(O){return O.source}):w.map(function(O){return O.source===y?O.target:O.source})},c.getOutEdgesNodeId=function(y,N){return N.filter(function(C){return C.source===y})},c.getEdgesByNodeId=function(y,N){return N.filter(function(C){return C.source===y||C.target===y})},c.uniqueId=function(y){y===void 0&&(y=0);var N=\"\".concat(Math.random()).split(\".\")[1].substr(0,5),C=\"\".concat(Math.random()).split(\".\")[1].substr(0,5);return\"\".concat(y,\"-\").concat(N).concat(C)}},function(Ee,c,r){\"use strict\";r.r(c),r.d(c,\"catmullRomToBezier\",function(){return b}),r.d(c,\"fillPath\",function(){return Ie}),r.d(c,\"fillPathByDiff\",function(){return ce}),r.d(c,\"formatPath\",function(){return Ce}),r.d(c,\"intersection\",function(){return Te}),r.d(c,\"parsePathArray\",function(){return m}),r.d(c,\"parsePathString\",function(){return O}),r.d(c,\"pathToAbsolute\",function(){return u}),r.d(c,\"pathToCurve\",function(){return l}),r.d(c,\"rectPath\",function(){return A});var y=r(0),N=`\t\n\\v\\f\\r \\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029`,C=new RegExp(\"([a-z])[\"+N+\",]*((-?\\\\d*\\\\.?\\\\d*(?:e[\\\\-+]?\\\\d+)?[\"+N+\"]*,?[\"+N+\"]*)+)\",\"ig\"),w=new RegExp(\"(-?\\\\d*\\\\.?\\\\d*(?:e[\\\\-+]?\\\\d+)?)[\"+N+\"]*,?[\"+N+\"]*\",\"ig\"),O=function(oe){if(!oe)return null;if(Object(y.isArray)(oe))return oe;var he={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},ie=[];return String(oe).replace(C,function(ae,ve,X){var se=[],fe=ve.toLowerCase();if(X.replace(w,function(_e,be){be&&se.push(+be)}),fe===\"m\"&&se.length>2&&(ie.push([ve].concat(se.splice(0,2))),fe=\"l\",ve=ve===\"m\"?\"l\":\"L\"),fe===\"o\"&&se.length===1&&ie.push([ve,se[0]]),fe===\"r\")ie.push([ve].concat(se));else for(;se.length>=he[fe]&&(ie.push([ve].concat(se.splice(0,he[fe]))),he[fe]););return oe}),ie},b=function(oe,he){for(var ie=[],ae=0,ve=oe.length;ve-2*!he>ae;ae+=2){var X=[{x:+oe[ae-2],y:+oe[ae-1]},{x:+oe[ae],y:+oe[ae+1]},{x:+oe[ae+2],y:+oe[ae+3]},{x:+oe[ae+4],y:+oe[ae+5]}];he?ae?ve-4===ae?X[3]={x:+oe[0],y:+oe[1]}:ve-2===ae&&(X[2]={x:+oe[0],y:+oe[1]},X[3]={x:+oe[2],y:+oe[3]}):X[0]={x:+oe[ve-2],y:+oe[ve-1]}:ve-4===ae?X[3]=X[2]:ae||(X[0]={x:+oe[ae],y:+oe[ae+1]}),ie.push([\"C\",(-X[0].x+6*X[1].x+X[2].x)/6,(-X[0].y+6*X[1].y+X[2].y)/6,(X[1].x+6*X[2].x-X[3].x)/6,(X[1].y+6*X[2].y-X[3].y)/6,X[2].x,X[2].y])}return ie},p=function(oe,he,ie,ae,ve){var X=[];if(ve===null&&ae===null&&(ae=ie),oe=+oe,he=+he,ie=+ie,ae=+ae,ve!==null){var se=Math.PI/180,fe=oe+ie*Math.cos(-ae*se),_e=oe+ie*Math.cos(-ve*se);X=[[\"M\",fe,he+ie*Math.sin(-ae*se)],[\"A\",ie,ie,0,+(ve-ae>180),0,_e,he+ie*Math.sin(-ve*se)]]}else X=[[\"M\",oe,he],[\"m\",0,-ae],[\"a\",ie,ae,0,1,1,0,2*ae],[\"a\",ie,ae,0,1,1,0,-2*ae],[\"z\"]];return X},u=function(oe){if(!(oe=O(oe))||!oe.length)return[[\"M\",0,0]];var he,ie,ae=[],ve=0,X=0,se=0,fe=0,_e=0;oe[0][0]===\"M\"&&(se=ve=+oe[0][1],fe=X=+oe[0][2],_e++,ae[0]=[\"M\",ve,X]);for(var be=oe.length===3&&oe[0][0]===\"M\"&&oe[1][0].toUpperCase()===\"R\"&&oe[2][0].toUpperCase()===\"Z\",We=void 0,we=void 0,Ze=_e,Ve=oe.length;Ze<Ve;Ze++){if(ae.push(We=[]),(he=(we=oe[Ze])[0])!==he.toUpperCase())switch(We[0]=he.toUpperCase(),We[0]){case\"A\":We[1]=we[1],We[2]=we[2],We[3]=we[3],We[4]=we[4],We[5]=we[5],We[6]=+we[6]+ve,We[7]=+we[7]+X;break;case\"V\":We[1]=+we[1]+X;break;case\"H\":We[1]=+we[1]+ve;break;case\"R\":for(var et=2,ht=(ie=[ve,X].concat(we.slice(1))).length;et<ht;et++)ie[et]=+ie[et]+ve,ie[++et]=+ie[et]+X;ae.pop(),ae=ae.concat(b(ie,be));break;case\"O\":ae.pop(),(ie=p(ve,X,we[1],we[2])).push(ie[0]),ae=ae.concat(ie);break;case\"U\":ae.pop(),ae=ae.concat(p(ve,X,we[1],we[2],we[3])),We=[\"U\"].concat(ae[ae.length-1].slice(-2));break;case\"M\":se=+we[1]+ve,fe=+we[2]+X;break;default:for(et=1,ht=we.length;et<ht;et++)We[et]=+we[et]+(et%2?ve:X)}else if(he===\"R\")ie=[ve,X].concat(we.slice(1)),ae.pop(),ae=ae.concat(b(ie,be)),We=[\"R\"].concat(we.slice(-2));else if(he===\"O\")ae.pop(),(ie=p(ve,X,we[1],we[2])).push(ie[0]),ae=ae.concat(ie);else if(he===\"U\")ae.pop(),ae=ae.concat(p(ve,X,we[1],we[2],we[3])),We=[\"U\"].concat(ae[ae.length-1].slice(-2));else for(var Fe=0,mt=we.length;Fe<mt;Fe++)We[Fe]=we[Fe];if((he=he.toUpperCase())!==\"O\")switch(We[0]){case\"Z\":ve=+se,X=+fe;break;case\"H\":ve=We[1];break;case\"V\":X=We[1];break;case\"M\":se=We[We.length-2],fe=We[We.length-1];break;default:ve=We[We.length-2],X=We[We.length-1]}}return ae},a=function(oe,he,ie,ae){return[oe,he,ie,ae,ie,ae]},f=function(oe,he,ie,ae,ve,X){return[1/3*oe+2/3*ie,1/3*he+2/3*ae,1/3*ve+2/3*ie,1/3*X+2/3*ae,ve,X]},h=function oe(he,ie,ae,ve,X,se,fe,_e,be,We){ae===ve&&(ae+=1);var we,Ze,Ve,et,ht,Fe=120*Math.PI/180,mt=Math.PI/180*(+X||0),dt=[],Lt=function(gn,Gt,bt){return{x:gn*Math.cos(bt)-Gt*Math.sin(bt),y:gn*Math.sin(bt)+Gt*Math.cos(bt)}};if(We)Ze=We[0],Ve=We[1],et=We[2],ht=We[3];else{he=(we=Lt(he,ie,-mt)).x,ie=we.y,_e=(we=Lt(_e,be,-mt)).x,be=we.y,he===_e&&ie===be&&(_e+=1,be+=1);var lt=(he-_e)/2,rn=(ie-be)/2,qt=lt*lt/(ae*ae)+rn*rn/(ve*ve);qt>1&&(ae*=qt=Math.sqrt(qt),ve*=qt);var hn=ae*ae,Kt=ve*ve,an=(se===fe?-1:1)*Math.sqrt(Math.abs((hn*Kt-hn*rn*rn-Kt*lt*lt)/(hn*rn*rn+Kt*lt*lt)));et=an*ae*rn/ve+(he+_e)/2,ht=an*-ve*lt/ae+(ie+be)/2,Ze=Math.asin(((ie-ht)/ve).toFixed(9)),Ve=Math.asin(((be-ht)/ve).toFixed(9)),Ze=he<et?Math.PI-Ze:Ze,Ve=_e<et?Math.PI-Ve:Ve,Ze<0&&(Ze=2*Math.PI+Ze),Ve<0&&(Ve=2*Math.PI+Ve),fe&&Ze>Ve&&(Ze-=2*Math.PI),!fe&&Ve>Ze&&(Ve-=2*Math.PI)}var In=Ve-Ze;if(Math.abs(In)>Fe){var Ft=Ve,kt=_e,At=be;Ve=Ze+Fe*(fe&&Ve>Ze?1:-1),dt=oe(_e=et+ae*Math.cos(Ve),be=ht+ve*Math.sin(Ve),ae,ve,X,0,fe,kt,At,[Ve,Ft,et,ht])}In=Ve-Ze;var Fn=Math.cos(Ze),pn=Math.sin(Ze),en=Math.cos(Ve),Wn=Math.sin(Ve),Mn=Math.tan(In/4),Kn=4/3*ae*Mn,hr=4/3*ve*Mn,pr=[he,ie],zr=[he+Kn*pn,ie-hr*Fn],Wr=[_e+Kn*Wn,be-hr*en],Nr=[_e,be];if(zr[0]=2*pr[0]-zr[0],zr[1]=2*pr[1]-zr[1],We)return[zr,Wr,Nr].concat(dt);for(var Kr=[],ko=0,Ur=(dt=[zr,Wr,Nr].concat(dt).join().split(\",\")).length;ko<Ur;ko++)Kr[ko]=ko%2?Lt(dt[ko-1],dt[ko],mt).y:Lt(dt[ko],dt[ko+1],mt).x;return Kr},l=function(oe,he){var ie,ae=u(oe),ve=he&&u(he),X={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},se={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},fe=[],_e=[],be=\"\",We=\"\",we=function(Lt,lt,rn){var qt,hn;if(!Lt)return[\"C\",lt.x,lt.y,lt.x,lt.y,lt.x,lt.y];switch(!(Lt[0]in{T:1,Q:1})&&(lt.qx=lt.qy=null),Lt[0]){case\"M\":lt.X=Lt[1],lt.Y=Lt[2];break;case\"A\":Lt=[\"C\"].concat(h.apply(0,[lt.x,lt.y].concat(Lt.slice(1))));break;case\"S\":rn===\"C\"||rn===\"S\"?(qt=2*lt.x-lt.bx,hn=2*lt.y-lt.by):(qt=lt.x,hn=lt.y),Lt=[\"C\",qt,hn].concat(Lt.slice(1));break;case\"T\":rn===\"Q\"||rn===\"T\"?(lt.qx=2*lt.x-lt.qx,lt.qy=2*lt.y-lt.qy):(lt.qx=lt.x,lt.qy=lt.y),Lt=[\"C\"].concat(f(lt.x,lt.y,lt.qx,lt.qy,Lt[1],Lt[2]));break;case\"Q\":lt.qx=Lt[1],lt.qy=Lt[2],Lt=[\"C\"].concat(f(lt.x,lt.y,Lt[1],Lt[2],Lt[3],Lt[4]));break;case\"L\":Lt=[\"C\"].concat(a(lt.x,lt.y,Lt[1],Lt[2]));break;case\"H\":Lt=[\"C\"].concat(a(lt.x,lt.y,Lt[1],lt.y));break;case\"V\":Lt=[\"C\"].concat(a(lt.x,lt.y,lt.x,Lt[1]));break;case\"Z\":Lt=[\"C\"].concat(a(lt.x,lt.y,lt.X,lt.Y))}return Lt},Ze=function(Lt,lt){if(Lt[lt].length>7){Lt[lt].shift();for(var rn=Lt[lt];rn.length;)fe[lt]=\"A\",ve&&(_e[lt]=\"A\"),Lt.splice(lt++,0,[\"C\"].concat(rn.splice(0,6)));Lt.splice(lt,1),ie=Math.max(ae.length,ve&&ve.length||0)}},Ve=function(Lt,lt,rn,qt,hn){Lt&&lt&&Lt[hn][0]===\"M\"&&lt[hn][0]!==\"M\"&&(lt.splice(hn,0,[\"M\",qt.x,qt.y]),rn.bx=0,rn.by=0,rn.x=Lt[hn][1],rn.y=Lt[hn][2],ie=Math.max(ae.length,ve&&ve.length||0))};ie=Math.max(ae.length,ve&&ve.length||0);for(var et=0;et<ie;et++){ae[et]&&(be=ae[et][0]),be!==\"C\"&&(fe[et]=be,et&&(We=fe[et-1])),ae[et]=we(ae[et],X,We),fe[et]!==\"A\"&&be===\"C\"&&(fe[et]=\"C\"),Ze(ae,et),ve&&(ve[et]&&(be=ve[et][0]),be!==\"C\"&&(_e[et]=be,et&&(We=_e[et-1])),ve[et]=we(ve[et],se,We),_e[et]!==\"A\"&&be===\"C\"&&(_e[et]=\"C\"),Ze(ve,et)),Ve(ae,ve,X,se,et),Ve(ve,ae,se,X,et);var ht=ae[et],Fe=ve&&ve[et],mt=ht.length,dt=ve&&Fe.length;X.x=ht[mt-2],X.y=ht[mt-1],X.bx=parseFloat(ht[mt-4])||X.x,X.by=parseFloat(ht[mt-3])||X.y,se.bx=ve&&(parseFloat(Fe[dt-4])||se.x),se.by=ve&&(parseFloat(Fe[dt-3])||se.y),se.x=ve&&Fe[dt-2],se.y=ve&&Fe[dt-1]}return ve?[ae,ve]:ae},s=/,?([a-z]),?/gi,m=function(oe){return oe.join(\",\").replace(s,\"$1\")},x=function(oe,he,ie,ae,ve){return oe*(oe*(-3*he+9*ie-9*ae+3*ve)+6*he-12*ie+6*ae)-3*he+3*ie},M=function(oe,he,ie,ae,ve,X,se,fe,_e){_e===null&&(_e=1);for(var be=(_e=_e>1?1:_e<0?0:_e)/2,We=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],we=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],Ze=0,Ve=0;Ve<12;Ve++){var et=be*We[Ve]+be,ht=x(et,oe,ie,ve,se),Fe=x(et,he,ae,X,fe),mt=ht*ht+Fe*Fe;Ze+=we[Ve]*Math.sqrt(mt)}return be*Ze},E=function(oe,he,ie,ae,ve,X,se,fe){for(var _e,be,We,we,Ze=[],Ve=[[],[]],et=0;et<2;++et)if(et===0?(be=6*oe-12*ie+6*ve,_e=-3*oe+9*ie-9*ve+3*se,We=3*ie-3*oe):(be=6*he-12*ae+6*X,_e=-3*he+9*ae-9*X+3*fe,We=3*ae-3*he),Math.abs(_e)<1e-12){if(Math.abs(be)<1e-12)continue;(we=-We/be)>0&&we<1&&Ze.push(we)}else{var ht=be*be-4*We*_e,Fe=Math.sqrt(ht);if(!(ht<0)){var mt=(-be+Fe)/(2*_e);mt>0&&mt<1&&Ze.push(mt);var dt=(-be-Fe)/(2*_e);dt>0&&dt<1&&Ze.push(dt)}}for(var Lt,lt=Ze.length,rn=lt;lt--;)Lt=1-(we=Ze[lt]),Ve[0][lt]=Lt*Lt*Lt*oe+3*Lt*Lt*we*ie+3*Lt*we*we*ve+we*we*we*se,Ve[1][lt]=Lt*Lt*Lt*he+3*Lt*Lt*we*ae+3*Lt*we*we*X+we*we*we*fe;return Ve[0][rn]=oe,Ve[1][rn]=he,Ve[0][rn+1]=se,Ve[1][rn+1]=fe,Ve[0].length=Ve[1].length=rn+2,{min:{x:Math.min.apply(0,Ve[0]),y:Math.min.apply(0,Ve[1])},max:{x:Math.max.apply(0,Ve[0]),y:Math.max.apply(0,Ve[1])}}},j=function(oe,he,ie,ae,ve,X,se,fe){if(!(Math.max(oe,ie)<Math.min(ve,se)||Math.min(oe,ie)>Math.max(ve,se)||Math.max(he,ae)<Math.min(X,fe)||Math.min(he,ae)>Math.max(X,fe))){var _e=(oe-ie)*(X-fe)-(he-ae)*(ve-se);if(_e){var be=((oe*ae-he*ie)*(ve-se)-(oe-ie)*(ve*fe-X*se))/_e,We=((oe*ae-he*ie)*(X-fe)-(he-ae)*(ve*fe-X*se))/_e,we=+be.toFixed(2),Ze=+We.toFixed(2);if(!(we<+Math.min(oe,ie).toFixed(2)||we>+Math.max(oe,ie).toFixed(2)||we<+Math.min(ve,se).toFixed(2)||we>+Math.max(ve,se).toFixed(2)||Ze<+Math.min(he,ae).toFixed(2)||Ze>+Math.max(he,ae).toFixed(2)||Ze<+Math.min(X,fe).toFixed(2)||Ze>+Math.max(X,fe).toFixed(2)))return{x:be,y:We}}}},L=function(oe,he,ie){return he>=oe.x&&he<=oe.x+oe.width&&ie>=oe.y&&ie<=oe.y+oe.height},A=function(oe,he,ie,ae,ve){if(ve)return[[\"M\",+oe+ +ve,he],[\"l\",ie-2*ve,0],[\"a\",ve,ve,0,0,1,ve,ve],[\"l\",0,ae-2*ve],[\"a\",ve,ve,0,0,1,-ve,ve],[\"l\",2*ve-ie,0],[\"a\",ve,ve,0,0,1,-ve,-ve],[\"l\",0,2*ve-ae],[\"a\",ve,ve,0,0,1,ve,-ve],[\"z\"]];var X=[[\"M\",oe,he],[\"l\",ie,0],[\"l\",0,ae],[\"l\",-ie,0],[\"z\"]];return X.parsePathArray=m,X},J=function(oe,he,ie,ae){return oe===null&&(oe=he=ie=ae=0),he===null&&(he=oe.y,ie=oe.width,ae=oe.height,oe=oe.x),{x:oe,y:he,width:ie,w:ie,height:ae,h:ae,x2:oe+ie,y2:he+ae,cx:oe+ie/2,cy:he+ae/2,r1:Math.min(ie,ae)/2,r2:Math.max(ie,ae)/2,r0:Math.sqrt(ie*ie+ae*ae)/2,path:A(oe,he,ie,ae),vb:[oe,he,ie,ae].join(\" \")}},q=function(oe,he,ie,ae,ve,X,se,fe){Object(y.isArray)(oe)||(oe=[oe,he,ie,ae,ve,X,se,fe]);var _e=E.apply(null,oe);return J(_e.min.x,_e.min.y,_e.max.x-_e.min.x,_e.max.y-_e.min.y)},re=function(oe,he,ie,ae,ve,X,se,fe,_e){var be=1-_e,We=Math.pow(be,3),we=Math.pow(be,2),Ze=_e*_e,Ve=Ze*_e,et=oe+2*_e*(ie-oe)+Ze*(ve-2*ie+oe),ht=he+2*_e*(ae-he)+Ze*(X-2*ae+he),Fe=ie+2*_e*(ve-ie)+Ze*(se-2*ve+ie),mt=ae+2*_e*(X-ae)+Ze*(fe-2*X+ae);return{x:We*oe+3*we*_e*ie+3*be*_e*_e*ve+Ve*se,y:We*he+3*we*_e*ae+3*be*_e*_e*X+Ve*fe,m:{x:et,y:ht},n:{x:Fe,y:mt},start:{x:be*oe+_e*ie,y:be*he+_e*ae},end:{x:be*ve+_e*se,y:be*X+_e*fe},alpha:90-180*Math.atan2(et-Fe,ht-mt)/Math.PI}},me=function(oe,he,ie){if(!function(rn,qt){return rn=J(rn),qt=J(qt),L(qt,rn.x,rn.y)||L(qt,rn.x2,rn.y)||L(qt,rn.x,rn.y2)||L(qt,rn.x2,rn.y2)||L(rn,qt.x,qt.y)||L(rn,qt.x2,qt.y)||L(rn,qt.x,qt.y2)||L(rn,qt.x2,qt.y2)||(rn.x<qt.x2&&rn.x>qt.x||qt.x<rn.x2&&qt.x>rn.x)&&(rn.y<qt.y2&&rn.y>qt.y||qt.y<rn.y2&&qt.y>rn.y)}(q(oe),q(he)))return ie?0:[];for(var ae=~~(M.apply(0,oe)/8),ve=~~(M.apply(0,he)/8),X=[],se=[],fe={},_e=ie?0:[],be=0;be<ae+1;be++){var We=re.apply(0,oe.concat(be/ae));X.push({x:We.x,y:We.y,t:be/ae})}for(be=0;be<ve+1;be++)We=re.apply(0,he.concat(be/ve)),se.push({x:We.x,y:We.y,t:be/ve});for(be=0;be<ae;be++)for(var we=0;we<ve;we++){var Ze=X[be],Ve=X[be+1],et=se[we],ht=se[we+1],Fe=Math.abs(Ve.x-Ze.x)<.001?\"y\":\"x\",mt=Math.abs(ht.x-et.x)<.001?\"y\":\"x\",dt=j(Ze.x,Ze.y,Ve.x,Ve.y,et.x,et.y,ht.x,ht.y);if(dt){if(fe[dt.x.toFixed(4)]===dt.y.toFixed(4))continue;fe[dt.x.toFixed(4)]=dt.y.toFixed(4);var Lt=Ze.t+Math.abs((dt[Fe]-Ze[Fe])/(Ve[Fe]-Ze[Fe]))*(Ve.t-Ze.t),lt=et.t+Math.abs((dt[mt]-et[mt])/(ht[mt]-et[mt]))*(ht.t-et.t);Lt>=0&&Lt<=1&&lt>=0&&lt<=1&&(ie?_e+=1:_e.push({x:dt.x,y:dt.y,t1:Lt,t2:lt}))}}return _e},Te=function(oe,he){return function(ie,ae,ve){var X,se,fe,_e,be,We,we,Ze,Ve,et;ie=l(ie),ae=l(ae);for(var ht=ve?0:[],Fe=0,mt=ie.length;Fe<mt;Fe++){var dt=ie[Fe];if(dt[0]===\"M\")X=be=dt[1],se=We=dt[2];else{dt[0]===\"C\"?(Ve=[X,se].concat(dt.slice(1)),X=Ve[6],se=Ve[7]):(Ve=[X,se,X,se,be,We,be,We],X=be,se=We);for(var Lt=0,lt=ae.length;Lt<lt;Lt++){var rn=ae[Lt];if(rn[0]===\"M\")fe=we=rn[1],_e=Ze=rn[2];else{rn[0]===\"C\"?(et=[fe,_e].concat(rn.slice(1)),fe=et[6],_e=et[7]):(et=[fe,_e,fe,_e,we,Ze,we,Ze],fe=we,_e=Ze);var qt=me(Ve,et,ve);if(ve)ht+=qt;else{for(var hn=0,Kt=qt.length;hn<Kt;hn++)qt[hn].segment1=Fe,qt[hn].segment2=Lt,qt[hn].bez1=Ve,qt[hn].bez2=et;ht=ht.concat(qt)}}}}}return ht}(oe,he)};function ee(oe,he){var ie=[],ae=[];return oe.length&&function ve(X,se){if(X.length===1)ie.push(X[0]),ae.push(X[0]);else{for(var fe=[],_e=0;_e<X.length-1;_e++)_e===0&&ie.push(X[0]),_e===X.length-2&&ae.push(X[_e+1]),fe[_e]=[(1-se)*X[_e][0]+se*X[_e+1][0],(1-se)*X[_e][1]+se*X[_e+1][1]];ve(fe,se)}}(oe,he),{left:ie,right:ae.reverse()}}var xe=function(oe,he,ie){if(ie===1)return[[].concat(oe)];var ae=[];if(he[0]===\"L\"||he[0]===\"C\"||he[0]===\"Q\")ae=ae.concat(function(se,fe,_e){var be=[[se[1],se[2]]];_e=_e||2;var We=[];fe[0]===\"A\"?(be.push(fe[6]),be.push(fe[7])):fe[0]===\"C\"?(be.push([fe[1],fe[2]]),be.push([fe[3],fe[4]]),be.push([fe[5],fe[6]])):fe[0]===\"S\"||fe[0]===\"Q\"?(be.push([fe[1],fe[2]]),be.push([fe[3],fe[4]])):be.push([fe[1],fe[2]]);for(var we=be,Ze=1/_e,Ve=0;Ve<_e-1;Ve++){var et=ee(we,Ze/(1-Ze*Ve));We.push(et.left),we=et.right}return We.push(we),We.map(function(ht){var Fe=[];return ht.length===4&&(Fe.push(\"C\"),Fe=Fe.concat(ht[2])),ht.length>=3&&(ht.length===3&&Fe.push(\"Q\"),Fe=Fe.concat(ht[1])),ht.length===2&&Fe.push(\"L\"),Fe=Fe.concat(ht[ht.length-1])})}(oe,he,ie));else{var ve=[].concat(oe);ve[0]===\"M\"&&(ve[0]=\"L\");for(var X=0;X<=ie-1;X++)ae.push(ve)}return ae},Ie=function(oe,he){if(oe.length===1)return oe;var ie=oe.length-1,ae=he.length-1,ve=ie/ae,X=[];if(oe.length===1&&oe[0][0]===\"M\"){for(var se=0;se<ae-ie;se++)oe.push(oe[0]);return oe}for(se=0;se<ae;se++){var fe=Math.floor(ve*se);X[fe]=(X[fe]||0)+1}var _e=X.reduce(function(be,We,we){return we===ie?be.concat(oe[ie]):be.concat(xe(oe[we],oe[we+1],We))},[]);return _e.unshift(oe[0]),he[ae]!==\"Z\"&&he[ae]!==\"z\"||_e.push(\"Z\"),_e},Le=function(oe,he){if(oe.length!==he.length)return!1;var ie=!0;return Object(y.each)(oe,function(ae,ve){if(ae!==he[ve])return ie=!1,!1}),ie};function De(oe,he,ie){var ae=null,ve=ie;return he<ve&&(ve=he,ae=\"add\"),oe<ve&&(ve=oe,ae=\"del\"),{type:ae,min:ve}}var ce=function(oe,he){var ie=function(Ze,Ve){var et,ht,Fe=Ze.length,mt=Ve.length,dt=0;if(Fe===0||mt===0)return null;for(var Lt=[],lt=0;lt<=Fe;lt++)Lt[lt]=[],Lt[lt][0]={min:lt};for(var rn=0;rn<=mt;rn++)Lt[0][rn]={min:rn};for(lt=1;lt<=Fe;lt++)for(et=Ze[lt-1],rn=1;rn<=mt;rn++){ht=Ve[rn-1],dt=Le(et,ht)?0:1;var qt=Lt[lt-1][rn].min+1,hn=Lt[lt][rn-1].min+1,Kt=Lt[lt-1][rn-1].min+dt;Lt[lt][rn]=De(qt,hn,Kt)}return Lt}(oe,he),ae=oe.length,ve=he.length,X=[],se=1,fe=1;if(ie[ae][ve].min!==ae){for(var _e=1;_e<=ae;_e++){var be=ie[_e][_e].min;fe=_e;for(var We=se;We<=ve;We++)ie[_e][We].min<be&&(be=ie[_e][We].min,fe=We);se=fe,ie[_e][se].type&&X.push({index:_e-1,type:ie[_e][se].type})}for(_e=X.length-1;_e>=0;_e--)se=X[_e].index,X[_e].type===\"add\"?oe.splice(se,0,[].concat(oe[se])):oe.splice(se,1)}var we=ve-(ae=oe.length);if(ae<ve)for(_e=0;_e<we;_e++)oe[ae-1][0]===\"z\"||oe[ae-1][0]===\"Z\"?oe.splice(ae-2,0,oe[ae-2]):oe.push(oe[ae-1]),ae+=1;return oe};function ye(oe,he,ie){for(var ae,ve=[].concat(oe),X=1/(ie+1),se=Oe(he)[0],fe=1;fe<=ie;fe++)X*=fe,(ae=Math.floor(oe.length*X))===0?ve.unshift([se[0]*X+oe[ae][0]*(1-X),se[1]*X+oe[ae][1]*(1-X)]):ve.splice(ae,0,[se[0]*X+oe[ae][0]*(1-X),se[1]*X+oe[ae][1]*(1-X)]);return ve}function Oe(oe){var he=[];switch(oe[0]){case\"M\":case\"L\":he.push([oe[1],oe[2]]);break;case\"A\":he.push([oe[6],oe[7]]);break;case\"Q\":he.push([oe[3],oe[4]]),he.push([oe[1],oe[2]]);break;case\"T\":he.push([oe[1],oe[2]]);break;case\"C\":he.push([oe[5],oe[6]]),he.push([oe[1],oe[2]]),he.push([oe[3],oe[4]]);break;case\"S\":he.push([oe[3],oe[4]]),he.push([oe[1],oe[2]]);break;case\"H\":case\"V\":he.push([oe[1],oe[1]])}return he}var Ce=function(oe,he){if(oe.length<=1)return oe;for(var ie,ae=0;ae<he.length;ae++)if(oe[ae][0]!==he[ae][0])switch(ie=Oe(oe[ae]),he[ae][0]){case\"M\":oe[ae]=[\"M\"].concat(ie[0]);break;case\"L\":oe[ae]=[\"L\"].concat(ie[0]);break;case\"A\":oe[ae]=[].concat(he[ae]),oe[ae][6]=ie[0][0],oe[ae][7]=ie[0][1];break;case\"Q\":if(ie.length<2){if(!(ae>0)){oe[ae]=he[ae];break}ie=ye(ie,oe[ae-1],1)}oe[ae]=[\"Q\"].concat(ie.reduce(function(ve,X){return ve.concat(X)},[]));break;case\"T\":oe[ae]=[\"T\"].concat(ie[0]);break;case\"C\":if(ie.length<3){if(!(ae>0)){oe[ae]=he[ae];break}ie=ye(ie,oe[ae-1],2)}oe[ae]=[\"C\"].concat(ie.reduce(function(ve,X){return ve.concat(X)},[]));break;case\"S\":if(ie.length<2){if(!(ae>0)){oe[ae]=he[ae];break}ie=ye(ie,oe[ae-1],1)}oe[ae]=[\"S\"].concat(ie.reduce(function(ve,X){return ve.concat(X)},[]));break;default:oe[ae]=he[ae]}return oe}},function(Ee,c,r){\"use strict\";r.r(c),r.d(c,\"Base\",function(){return p}),r.d(c,\"Circle\",function(){return u}),r.d(c,\"Ellipse\",function(){return f}),r.d(c,\"Image\",function(){return l}),r.d(c,\"Line\",function(){return M}),r.d(c,\"Marker\",function(){return A}),r.d(c,\"Path\",function(){return ce}),r.d(c,\"Polygon\",function(){return Oe}),r.d(c,\"Polyline\",function(){return Ce}),r.d(c,\"Rect\",function(){return he}),r.d(c,\"Text\",function(){return ie});var y={};r.r(y),r.d(y,\"Base\",function(){return p}),r.d(y,\"Circle\",function(){return u}),r.d(y,\"Ellipse\",function(){return f}),r.d(y,\"Image\",function(){return l}),r.d(y,\"Line\",function(){return M}),r.d(y,\"Marker\",function(){return A}),r.d(y,\"Path\",function(){return ce}),r.d(y,\"Polygon\",function(){return Oe}),r.d(y,\"Polyline\",function(){return Ce}),r.d(y,\"Rect\",function(){return he}),r.d(y,\"Text\",function(){return ie});var N=r(1),C=r(10),w=r(5),O=r(16),b=r(36),p=function(ae){function ve(){return ae!==null&&ae.apply(this,arguments)||this}return Object(N.__extends)(ve,ae),ve.prototype.getDefaultAttrs=function(){var X=ae.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},X),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},ve.prototype.getShapeBase=function(){return y},ve.prototype.getGroupBase=function(){return b.a},ve.prototype.onCanvasChange=function(X){Object(O.h)(this,X)},ve.prototype.calculateBBox=function(){var X=this.get(\"type\"),se=this.getHitLineWidth(),fe=Object(C.getBBoxMethod)(X)(this),_e=se/2,be=fe.x-_e,We=fe.y-_e,we=fe.x+fe.width+_e,Ze=fe.y+fe.height+_e;return{x:be,minX:be,y:We,minY:We,width:fe.width+se,height:fe.height+se,maxX:we,maxY:Ze}},ve.prototype.isFill=function(){return!!this.attrs.fill||this.isClipShape()},ve.prototype.isStroke=function(){return!!this.attrs.stroke},ve.prototype._applyClip=function(X,se){se&&(X.save(),Object(O.a)(X,se),se.createPath(X),X.restore(),X.clip(),se._afterDraw())},ve.prototype.draw=function(X,se){var fe=this.cfg.clipShape;if(se){if(this.cfg.refresh===!1)return void this.set(\"hasChanged\",!1);var _e=this.getCanvasBBox();if(!Object(w.f)(se,_e))return this.set(\"hasChanged\",!1),void(this.cfg.isInView&&this._afterDraw())}X.save(),Object(O.a)(X,this),this._applyClip(X,fe),this.drawPath(X),X.restore(),this._afterDraw()},ve.prototype.getCanvasViewBox=function(){var X=this.cfg.canvas;return X?X.getViewRange():null},ve.prototype.cacheCanvasBBox=function(){var X=this.getCanvasViewBox();if(X){var se=this.getCanvasBBox(),fe=Object(w.f)(se,X);this.set(\"isInView\",fe),fe?this.set(\"cacheCanvasBBox\",se):this.set(\"cacheCanvasBBox\",null)}},ve.prototype._afterDraw=function(){this.cacheCanvasBBox(),this.set(\"hasChanged\",!1),this.set(\"refresh\",null)},ve.prototype.skipDraw=function(){this.set(\"cacheCanvasBBox\",null),this.set(\"isInView\",null),this.set(\"hasChanged\",!1)},ve.prototype.drawPath=function(X){this.createPath(X),this.strokeAndFill(X),this.afterDrawPath(X)},ve.prototype.fill=function(X){X.fill()},ve.prototype.stroke=function(X){X.stroke()},ve.prototype.strokeAndFill=function(X){var se=this.attrs,fe=se.lineWidth,_e=se.opacity,be=se.strokeOpacity,We=se.fillOpacity;this.isFill()&&(Object(w.i)(We)||We===1?this.fill(X):(X.globalAlpha=We,this.fill(X),X.globalAlpha=_e)),this.isStroke()&&fe>0&&(Object(w.i)(be)||be===1||(X.globalAlpha=be),this.stroke(X)),this.afterDrawPath(X)},ve.prototype.createPath=function(X){},ve.prototype.afterDrawPath=function(X){},ve.prototype.isInShape=function(X,se){var fe=this.isStroke(),_e=this.isFill(),be=this.getHitLineWidth();return this.isInStrokeOrPath(X,se,fe,_e,be)},ve.prototype.isInStrokeOrPath=function(X,se,fe,_e,be){return!1},ve.prototype.getHitLineWidth=function(){if(!this.isStroke())return 0;var X=this.attrs;return X.lineWidth+X.lineAppendWidth},ve}(C.AbstractShape),u=function(ae){function ve(){return ae!==null&&ae.apply(this,arguments)||this}return Object(N.__extends)(ve,ae),ve.prototype.getDefaultAttrs=function(){var X=ae.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},X),{x:0,y:0,r:0})},ve.prototype.isInStrokeOrPath=function(X,se,fe,_e,be){var We=this.attr(),we=We.x,Ze=We.y,Ve=We.r,et=be/2,ht=Object(w.b)(we,Ze,X,se);return _e&&fe?ht<=Ve+et:_e?ht<=Ve:!!fe&&ht>=Ve-et&&ht<=Ve+et},ve.prototype.createPath=function(X){var se=this.attr(),fe=se.x,_e=se.y,be=se.r;X.beginPath(),X.arc(fe,_e,be,0,2*Math.PI,!1),X.closePath()},ve}(p);function a(ae,ve,X,se){return ae/(X*X)+ve/(se*se)}var f=function(ae){function ve(){return ae!==null&&ae.apply(this,arguments)||this}return Object(N.__extends)(ve,ae),ve.prototype.getDefaultAttrs=function(){var X=ae.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},X),{x:0,y:0,rx:0,ry:0})},ve.prototype.isInStrokeOrPath=function(X,se,fe,_e,be){var We=this.attr(),we=be/2,Ze=We.x,Ve=We.y,et=We.rx,ht=We.ry,Fe=(X-Ze)*(X-Ze),mt=(se-Ve)*(se-Ve);return _e&&fe?a(Fe,mt,et+we,ht+we)<=1:_e?a(Fe,mt,et,ht)<=1:!!fe&&a(Fe,mt,et-we,ht-we)>=1&&a(Fe,mt,et+we,ht+we)<=1},ve.prototype.createPath=function(X){var se=this.attr(),fe=se.x,_e=se.y,be=se.rx,We=se.ry;if(X.beginPath(),X.ellipse)X.ellipse(fe,_e,be,We,0,0,2*Math.PI,!1);else{var we=be>We?be:We,Ze=be>We?1:be/We,Ve=be>We?We/be:1;X.save(),X.translate(fe,_e),X.scale(Ze,Ve),X.arc(0,0,we,0,2*Math.PI),X.restore(),X.closePath()}},ve}(p);function h(ae){return ae instanceof HTMLElement&&Object(w.k)(ae.nodeName)&&ae.nodeName.toUpperCase()===\"CANVAS\"}var l=function(ae){function ve(){return ae!==null&&ae.apply(this,arguments)||this}return Object(N.__extends)(ve,ae),ve.prototype.getDefaultAttrs=function(){var X=ae.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},X),{x:0,y:0,width:0,height:0})},ve.prototype.initAttrs=function(X){this._setImage(X.img)},ve.prototype.isStroke=function(){return!1},ve.prototype.isOnlyHitBox=function(){return!0},ve.prototype._afterLoading=function(){if(this.get(\"toDraw\")===!0){var X=this.get(\"canvas\");X?X.draw():this.createPath(this.get(\"context\"))}},ve.prototype._setImage=function(X){var se=this,fe=this.attrs;if(Object(w.k)(X)){var _e=new Image;_e.onload=function(){if(se.destroyed)return!1;se.attr(\"img\",_e),se.set(\"loading\",!1),se._afterLoading();var be=se.get(\"callback\");be&&be.call(se)},_e.crossOrigin=\"Anonymous\",_e.src=X,this.set(\"loading\",!0)}else X instanceof Image?(fe.width||(fe.width=X.width),fe.height||(fe.height=X.height)):h(X)&&(fe.width||(fe.width=Number(X.getAttribute(\"width\"))),fe.height||(fe.height,Number(X.getAttribute(\"height\"))))},ve.prototype.onAttrChange=function(X,se,fe){ae.prototype.onAttrChange.call(this,X,se,fe),X===\"img\"&&this._setImage(se)},ve.prototype.createPath=function(X){if(this.get(\"loading\"))return this.set(\"toDraw\",!0),void this.set(\"context\",X);var se=this.attr(),fe=se.x,_e=se.y,be=se.width,We=se.height,we=se.sx,Ze=se.sy,Ve=se.swidth,et=se.sheight,ht=se.img;(ht instanceof Image||h(ht))&&(Object(w.i)(we)||Object(w.i)(Ze)||Object(w.i)(Ve)||Object(w.i)(et)?X.drawImage(ht,fe,_e,be,We):X.drawImage(ht,we,Ze,Ve,et,fe,_e,be,We))},ve}(p),s=r(9);function m(ae,ve,X,se,fe,_e,be){var We=Math.min(ae,X),we=Math.max(ae,X),Ze=Math.min(ve,se),Ve=Math.max(ve,se),et=fe/2;return _e>=We-et&&_e<=we+et&&be>=Ze-et&&be<=Ve+et&&s.c.pointToLine(ae,ve,X,se,_e,be)<=fe/2}var x=r(19),M=function(ae){function ve(){return ae!==null&&ae.apply(this,arguments)||this}return Object(N.__extends)(ve,ae),ve.prototype.getDefaultAttrs=function(){var X=ae.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},X),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},ve.prototype.initAttrs=function(X){this.setArrow()},ve.prototype.onAttrChange=function(X,se,fe){ae.prototype.onAttrChange.call(this,X,se,fe),this.setArrow()},ve.prototype.setArrow=function(){var X=this.attr(),se=X.x1,fe=X.y1,_e=X.x2,be=X.y2,We=X.startArrow,we=X.endArrow;We&&x.b(this,X,_e,be,se,fe),we&&x.a(this,X,se,fe,_e,be)},ve.prototype.isInStrokeOrPath=function(X,se,fe,_e,be){if(!fe||!be)return!1;var We=this.attr();return m(We.x1,We.y1,We.x2,We.y2,be,X,se)},ve.prototype.createPath=function(X){var se=this.attr(),fe=se.x1,_e=se.y1,be=se.x2,We=se.y2,we=se.startArrow,Ze=se.endArrow,Ve={dx:0,dy:0},et={dx:0,dy:0};we&&we.d&&(Ve=x.c(fe,_e,be,We,se.startArrow.d)),Ze&&Ze.d&&(et=x.c(fe,_e,be,We,se.endArrow.d)),X.beginPath(),X.moveTo(fe+Ve.dx,_e+Ve.dy),X.lineTo(be-et.dx,We-et.dy)},ve.prototype.afterDrawPath=function(X){var se=this.get(\"startArrowShape\"),fe=this.get(\"endArrowShape\");se&&se.draw(X),fe&&fe.draw(X)},ve.prototype.getTotalLength=function(){var X=this.attr(),se=X.x1,fe=X.y1,_e=X.x2,be=X.y2;return s.c.length(se,fe,_e,be)},ve.prototype.getPoint=function(X){var se=this.attr(),fe=se.x1,_e=se.y1,be=se.x2,We=se.y2;return s.c.pointAt(fe,_e,be,We,X)},ve}(p),E=r(0),j=r(21),L={circle:function(ae,ve,X){return[[\"M\",ae-X,ve],[\"A\",X,X,0,1,0,ae+X,ve],[\"A\",X,X,0,1,0,ae-X,ve]]},square:function(ae,ve,X){return[[\"M\",ae-X,ve-X],[\"L\",ae+X,ve-X],[\"L\",ae+X,ve+X],[\"L\",ae-X,ve+X],[\"Z\"]]},diamond:function(ae,ve,X){return[[\"M\",ae-X,ve],[\"L\",ae,ve-X],[\"L\",ae+X,ve],[\"L\",ae,ve+X],[\"Z\"]]},triangle:function(ae,ve,X){var se=X*Math.sin(.3333333333333333*Math.PI);return[[\"M\",ae-X,ve+se],[\"L\",ae,ve-se],[\"L\",ae+X,ve+se],[\"Z\"]]},\"triangle-down\":function(ae,ve,X){var se=X*Math.sin(.3333333333333333*Math.PI);return[[\"M\",ae-X,ve-se],[\"L\",ae+X,ve-se],[\"L\",ae,ve+se],[\"Z\"]]}},A=function(ae){function ve(){return ae!==null&&ae.apply(this,arguments)||this}return Object(N.__extends)(ve,ae),ve.prototype.initAttrs=function(X){this._resetParamsCache()},ve.prototype._resetParamsCache=function(){this.set(\"paramsCache\",{})},ve.prototype.onAttrChange=function(X,se,fe){ae.prototype.onAttrChange.call(this,X,se,fe),[\"symbol\",\"x\",\"y\",\"r\",\"radius\"].indexOf(X)!==-1&&this._resetParamsCache()},ve.prototype.isOnlyHitBox=function(){return!0},ve.prototype._getR=function(X){return Object(E.isNil)(X.r)?X.radius:X.r},ve.prototype._getPath=function(){var X,se,fe=this.attr(),_e=fe.x,be=fe.y,We=fe.symbol||\"circle\",we=this._getR(fe);if(Object(w.h)(We))se=(X=We)(_e,be,we),se=Object(j.c)(se);else{if(!(X=ve.Symbols[We]))return console.warn(We+\" marker is not supported.\"),null;se=X(_e,be,we)}return se},ve.prototype.createPath=function(X){var se=this._getPath(),fe=this.get(\"paramsCache\");Object(O.e)(this,X,{path:se},fe)},ve.Symbols=L,ve}(p);function J(ae,ve,X){var se=Object(C.getOffScreenContext)();return ae.createPath(se),se.isPointInPath(ve,X)}function q(ae){return Math.abs(ae)<1e-6?0:ae<0?-1:1}function re(ae,ve,X){return(X[0]-ae[0])*(ve[1]-ae[1])==(ve[0]-ae[0])*(X[1]-ae[1])&&Math.min(ae[0],ve[0])<=X[0]&&X[0]<=Math.max(ae[0],ve[0])&&Math.min(ae[1],ve[1])<=X[1]&&X[1]<=Math.max(ae[1],ve[1])}function me(ae,ve,X){var se=!1,fe=ae.length;if(fe<=2)return!1;for(var _e=0;_e<fe;_e++){var be=ae[_e],We=ae[(_e+1)%fe];if(re(be,We,[ve,X]))return!0;q(be[1]-X)>0!=q(We[1]-X)>0&&q(ve-(X-be[1])*(be[0]-We[0])/(be[1]-We[1])-be[0])<0&&(se=!se)}return se}var Te=r(4),ee=r(24);function xe(ae,ve,X,se,fe,_e,be,We){var we=(Math.atan2(We-ve,be-ae)+2*Math.PI)%(2*Math.PI);if(we<se||we>fe)return!1;var Ze={x:ae+X*Math.cos(we),y:ve+X*Math.sin(we)};return Object(w.b)(Ze.x,Ze.y,be,We)<=_e/2}var Ie=Te.a.transform,Le=Object(N.__assign)({hasArc:function(ae){for(var ve=!1,X=ae.length,se=0;se<X;se++){var fe=ae[se][0];if(fe===\"C\"||fe===\"A\"||fe===\"Q\"){ve=!0;break}}return ve},extractPolygons:function(ae){for(var ve=ae.length,X=[],se=[],fe=[],_e=0;_e<ve;_e++){var be=ae[_e],We=be[0];We===\"M\"?(fe.length&&(se.push(fe),fe=[]),fe.push([be[1],be[2]])):We===\"Z\"?fe.length&&(X.push(fe),fe=[]):fe.push([be[1],be[2]])}return fe.length>0&&se.push(fe),{polygons:X,polylines:se}},isPointInStroke:function(ae,ve,X,se,fe){for(var _e=!1,be=ve/2,We=0;We<ae.length;We++){var we=ae[We],Ze=we.currentPoint,Ve=we.params,et=we.prePoint,ht=we.box;if(!ht||Object(w.e)(ht.x-be,ht.y-be,ht.width+ve,ht.height+ve,X,se)){switch(we.command){case\"L\":case\"Z\":_e=m(et[0],et[1],Ze[0],Ze[1],ve,X,se);break;case\"Q\":_e=s.e.pointDistance(et[0],et[1],Ve[1],Ve[2],Ve[3],Ve[4],X,se)<=ve/2;break;case\"C\":_e=s.b.pointDistance(et[0],et[1],Ve[1],Ve[2],Ve[3],Ve[4],Ve[5],Ve[6],X,se,fe)<=ve/2;break;case\"A\":var Fe=we.arcParams,mt=Fe.cx,dt=Fe.cy,Lt=Fe.rx,lt=Fe.ry,rn=Fe.startAngle,qt=Fe.endAngle,hn=Fe.xRotation,Kt=[X,se,1],an=Lt>lt?Lt:lt,In=Ie(null,[[\"t\",-mt,-dt],[\"r\",-hn],[\"s\",1/(Lt>lt?1:Lt/lt),1/(Lt>lt?lt/Lt:1)]]);ee.transformMat3(Kt,Kt,In),_e=xe(0,0,an,rn,qt,ve,Kt[0],Kt[1])}if(_e)break}}return _e}},C.PathUtil);function De(ae,ve,X){for(var se=!1,fe=0;fe<ae.length&&!(se=me(ae[fe],ve,X));fe++);return se}var ce=function(ae){function ve(){return ae!==null&&ae.apply(this,arguments)||this}return Object(N.__extends)(ve,ae),ve.prototype.getDefaultAttrs=function(){var X=ae.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},X),{startArrow:!1,endArrow:!1})},ve.prototype.initAttrs=function(X){this._setPathArr(X.path),this.setArrow()},ve.prototype.onAttrChange=function(X,se,fe){ae.prototype.onAttrChange.call(this,X,se,fe),X===\"path\"&&this._setPathArr(se),this.setArrow()},ve.prototype._setPathArr=function(X){this.attrs.path=Object(j.c)(X);var se=Le.hasArc(X);this.set(\"hasArc\",se),this.set(\"paramsCache\",{}),this.set(\"segments\",null),this.set(\"curve\",null),this.set(\"tCache\",null),this.set(\"totalLength\",null)},ve.prototype.getSegments=function(){var X=this.get(\"segements\");return X||(X=Object(j.d)(this.attr(\"path\")),this.set(\"segments\",X)),X},ve.prototype.setArrow=function(){var X=this.attr(),se=X.startArrow,fe=X.endArrow;if(se){var _e=this.getStartTangent();x.b(this,X,_e[0][0],_e[0][1],_e[1][0],_e[1][1])}fe&&(_e=this.getEndTangent(),x.a(this,X,_e[0][0],_e[0][1],_e[1][0],_e[1][1]))},ve.prototype.isInStrokeOrPath=function(X,se,fe,_e,be){var We=this.getSegments(),we=this.get(\"hasArc\"),Ze=!1;if(fe){var Ve=this.getTotalLength();Ze=Le.isPointInStroke(We,be,X,se,Ve)}if(!Ze&&_e)if(we)Ze=J(this,X,se);else{var et=this.attr(\"path\"),ht=Le.extractPolygons(et);Ze=De(ht.polygons,X,se)||De(ht.polylines,X,se)}return Ze},ve.prototype.createPath=function(X){var se=this.attr(),fe=this.get(\"paramsCache\");Object(O.e)(this,X,se,fe)},ve.prototype.afterDrawPath=function(X){var se=this.get(\"startArrowShape\"),fe=this.get(\"endArrowShape\");se&&se.draw(X),fe&&fe.draw(X)},ve.prototype.getTotalLength=function(){var X=this.get(\"totalLength\");return Object(E.isNil)(X)?(this._calculateCurve(),this._setTcache(),this.get(\"totalLength\")):X},ve.prototype.getPoint=function(X){var se,fe,_e=this.get(\"tCache\");_e||(this._calculateCurve(),this._setTcache(),_e=this.get(\"tCache\"));var be=this.get(\"curve\");if(!_e||_e.length===0)return be?{x:be[0][1],y:be[0][2]}:null;Object(E.each)(_e,function(Ve,et){X>=Ve[0]&&X<=Ve[1]&&(se=(X-Ve[0])/(Ve[1]-Ve[0]),fe=et)});var We=be[fe];if(Object(E.isNil)(We)||Object(E.isNil)(fe))return null;var we=We.length,Ze=be[fe+1];return s.b.pointAt(We[we-2],We[we-1],Ze[1],Ze[2],Ze[3],Ze[4],Ze[5],Ze[6],se)},ve.prototype._calculateCurve=function(){var X=this.attr().path;this.set(\"curve\",Le.pathToCurve(X))},ve.prototype._setTcache=function(){var X,se,fe,_e,be=0,We=0,we=[],Ze=this.get(\"curve\");Ze&&(Object(E.each)(Ze,function(Ve,et){fe=Ze[et+1],_e=Ve.length,fe&&(be+=s.b.length(Ve[_e-2],Ve[_e-1],fe[1],fe[2],fe[3],fe[4],fe[5],fe[6])||0)}),this.set(\"totalLength\",be),be!==0?(Object(E.each)(Ze,function(Ve,et){fe=Ze[et+1],_e=Ve.length,fe&&((X=[])[0]=We/be,se=s.b.length(Ve[_e-2],Ve[_e-1],fe[1],fe[2],fe[3],fe[4],fe[5],fe[6]),We+=se||0,X[1]=We/be,we.push(X))}),this.set(\"tCache\",we)):this.set(\"tCache\",[]))},ve.prototype.getStartTangent=function(){var X,se=this.getSegments();if(se.length>1){var fe=se[0].currentPoint,_e=se[1].currentPoint,be=se[1].startTangent;X=[],be?(X.push([fe[0]-be[0],fe[1]-be[1]]),X.push([fe[0],fe[1]])):(X.push([_e[0],_e[1]]),X.push([fe[0],fe[1]]))}return X},ve.prototype.getEndTangent=function(){var X,se=this.getSegments(),fe=se.length;if(fe>1){var _e=se[fe-2].currentPoint,be=se[fe-1].currentPoint,We=se[fe-1].endTangent;X=[],We?(X.push([be[0]-We[0],be[1]-We[1]]),X.push([be[0],be[1]])):(X.push([_e[0],_e[1]]),X.push([be[0],be[1]]))}return X},ve}(p);function ye(ae,ve,X,se,fe){var _e=ae.length;if(_e<2)return!1;for(var be=0;be<_e-1;be++)if(m(ae[be][0],ae[be][1],ae[be+1][0],ae[be+1][1],ve,X,se))return!0;if(fe){var We=ae[0],we=ae[_e-1];if(m(We[0],We[1],we[0],we[1],ve,X,se))return!0}return!1}var Oe=function(ae){function ve(){return ae!==null&&ae.apply(this,arguments)||this}return Object(N.__extends)(ve,ae),ve.prototype.isInStrokeOrPath=function(X,se,fe,_e,be){var We=this.attr().points,we=!1;return fe&&(we=ye(We,be,X,se,!0)),!we&&_e&&(we=me(We,X,se)),we},ve.prototype.createPath=function(X){var se=this.attr().points;if(!(se.length<2)){X.beginPath();for(var fe=0;fe<se.length;fe++){var _e=se[fe];fe===0?X.moveTo(_e[0],_e[1]):X.lineTo(_e[0],_e[1])}X.closePath()}},ve}(p),Ce=function(ae){function ve(){return ae!==null&&ae.apply(this,arguments)||this}return Object(N.__extends)(ve,ae),ve.prototype.getDefaultAttrs=function(){var X=ae.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},X),{startArrow:!1,endArrow:!1})},ve.prototype.initAttrs=function(X){this.setArrow()},ve.prototype.onAttrChange=function(X,se,fe){ae.prototype.onAttrChange.call(this,X,se,fe),this.setArrow(),[\"points\"].indexOf(X)!==-1&&this._resetCache()},ve.prototype._resetCache=function(){this.set(\"totalLength\",null),this.set(\"tCache\",null)},ve.prototype.setArrow=function(){var X=this.attr(),se=this.attrs,fe=se.points,_e=se.startArrow,be=se.endArrow,We=fe.length,we=fe[0][0],Ze=fe[0][1],Ve=fe[We-1][0],et=fe[We-1][1];_e&&x.b(this,X,fe[1][0],fe[1][1],we,Ze),be&&x.a(this,X,fe[We-2][0],fe[We-2][1],Ve,et)},ve.prototype.isFill=function(){return!1},ve.prototype.isInStrokeOrPath=function(X,se,fe,_e,be){return!(!fe||!be)&&ye(this.attr().points,be,X,se,!1)},ve.prototype.isStroke=function(){return!0},ve.prototype.createPath=function(X){var se=this.attr(),fe=se.points,_e=se.startArrow,be=se.endArrow,We=fe.length;if(!(fe.length<2)){var we,Ze=fe[0][0],Ve=fe[0][1],et=fe[We-1][0],ht=fe[We-1][1];_e&&_e.d&&(Ze+=(we=x.c(Ze,Ve,fe[1][0],fe[1][1],_e.d)).dx,Ve+=we.dy),be&&be.d&&(et-=(we=x.c(fe[We-2][0],fe[We-2][1],et,ht,be.d)).dx,ht-=we.dy),X.beginPath(),X.moveTo(Ze,Ve);for(var Fe=0;Fe<We-1;Fe++){var mt=fe[Fe];X.lineTo(mt[0],mt[1])}X.lineTo(et,ht)}},ve.prototype.afterDrawPath=function(X){var se=this.get(\"startArrowShape\"),fe=this.get(\"endArrowShape\");se&&se.draw(X),fe&&fe.draw(X)},ve.prototype.getTotalLength=function(){var X=this.attr().points,se=this.get(\"totalLength\");return Object(E.isNil)(se)?(this.set(\"totalLength\",s.d.length(X)),this.get(\"totalLength\")):se},ve.prototype.getPoint=function(X){var se,fe,_e=this.attr().points,be=this.get(\"tCache\");return be||(this._setTcache(),be=this.get(\"tCache\")),Object(E.each)(be,function(We,we){X>=We[0]&&X<=We[1]&&(se=(X-We[0])/(We[1]-We[0]),fe=we)}),s.c.pointAt(_e[fe][0],_e[fe][1],_e[fe+1][0],_e[fe+1][1],se)},ve.prototype._setTcache=function(){var X=this.attr().points;if(X&&X.length!==0){var se=this.getTotalLength();if(!(se<=0)){var fe,_e,be=0,We=[];Object(E.each)(X,function(we,Ze){X[Ze+1]&&((fe=[])[0]=be/se,_e=s.c.length(we[0],we[1],X[Ze+1][0],X[Ze+1][1]),be+=_e,fe[1]=be/se,We.push(fe))}),this.set(\"tCache\",We)}}},ve.prototype.getStartTangent=function(){var X=this.attr().points,se=[];return se.push([X[1][0],X[1][1]]),se.push([X[0][0],X[0][1]]),se},ve.prototype.getEndTangent=function(){var X=this.attr().points,se=X.length-1,fe=[];return fe.push([X[se-1][0],X[se-1][1]]),fe.push([X[se][0],X[se][1]]),fe},ve}(p),oe=r(56),he=function(ae){function ve(){return ae!==null&&ae.apply(this,arguments)||this}return Object(N.__extends)(ve,ae),ve.prototype.getDefaultAttrs=function(){var X=ae.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},X),{x:0,y:0,width:0,height:0,radius:0})},ve.prototype.isInStrokeOrPath=function(X,se,fe,_e,be){var We=this.attr(),we=We.x,Ze=We.y,Ve=We.width,et=We.height,ht=We.radius;if(ht){var Fe=!1;return fe&&(Fe=function(dt,Lt,lt,rn,qt,hn,Kt,an){return m(dt+qt,Lt,dt+lt-qt,Lt,hn,Kt,an)||m(dt+lt,Lt+qt,dt+lt,Lt+rn-qt,hn,Kt,an)||m(dt+lt-qt,Lt+rn,dt+qt,Lt+rn,hn,Kt,an)||m(dt,Lt+rn-qt,dt,Lt+qt,hn,Kt,an)||xe(dt+lt-qt,Lt+qt,qt,1.5*Math.PI,2*Math.PI,hn,Kt,an)||xe(dt+lt-qt,Lt+rn-qt,qt,0,.5*Math.PI,hn,Kt,an)||xe(dt+qt,Lt+rn-qt,qt,.5*Math.PI,Math.PI,hn,Kt,an)||xe(dt+qt,Lt+qt,qt,Math.PI,1.5*Math.PI,hn,Kt,an)}(we,Ze,Ve,et,ht,be,X,se)),!Fe&&_e&&(Fe=J(this,X,se)),Fe}var mt=be/2;return _e&&fe?Object(w.e)(we-mt,Ze-mt,Ve+mt,et+mt,X,se):_e?Object(w.e)(we,Ze,Ve,et,X,se):fe?function(dt,Lt,lt,rn,qt,hn,Kt){var an=qt/2;return Object(w.e)(dt-an,Lt-an,lt,qt,hn,Kt)||Object(w.e)(dt+lt-an,Lt-an,qt,rn,hn,Kt)||Object(w.e)(dt+an,Lt+rn-an,lt,qt,hn,Kt)||Object(w.e)(dt-an,Lt+an,qt,rn,hn,Kt)}(we,Ze,Ve,et,be,X,se):void 0},ve.prototype.createPath=function(X){var se=this.attr(),fe=se.x,_e=se.y,be=se.width,We=se.height,we=se.radius;if(X.beginPath(),we===0)X.rect(fe,_e,be,We);else{var Ze=Object(oe.a)(we),Ve=Ze[0],et=Ze[1],ht=Ze[2],Fe=Ze[3];X.moveTo(fe+Ve,_e),X.lineTo(fe+be-et,_e),et!==0&&X.arc(fe+be-et,_e+et,et,-Math.PI/2,0),X.lineTo(fe+be,_e+We-ht),ht!==0&&X.arc(fe+be-ht,_e+We-ht,ht,0,Math.PI/2),X.lineTo(fe+Fe,_e+We),Fe!==0&&X.arc(fe+Fe,_e+We-Fe,Fe,Math.PI/2,Math.PI),X.lineTo(fe,_e+Ve),Ve!==0&&X.arc(fe+Ve,_e+Ve,Ve,Math.PI,1.5*Math.PI),X.closePath()}},ve}(p),ie=function(ae){function ve(){return ae!==null&&ae.apply(this,arguments)||this}return Object(N.__extends)(ve,ae),ve.prototype.getDefaultAttrs=function(){var X=ae.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},X),{x:0,y:0,text:null,fontSize:12,fontFamily:\"sans-serif\",fontStyle:\"normal\",fontWeight:\"normal\",fontVariant:\"normal\",textAlign:\"start\",textBaseline:\"bottom\"})},ve.prototype.isOnlyHitBox=function(){return!0},ve.prototype.initAttrs=function(X){this._assembleFont(),X.text&&this._setText(X.text)},ve.prototype._assembleFont=function(){var X=this.attrs;X.font=Object(C.assembleFont)(X)},ve.prototype._setText=function(X){var se=null;Object(w.k)(X)&&X.indexOf(`\n`)!==-1&&(se=X.split(`\n`)),this.set(\"textArr\",se)},ve.prototype.onAttrChange=function(X,se,fe){ae.prototype.onAttrChange.call(this,X,se,fe),X.startsWith(\"font\")&&this._assembleFont(),X===\"text\"&&this._setText(se)},ve.prototype._getSpaceingY=function(){var X=this.attrs,se=X.lineHeight,fe=1*X.fontSize;return se?se-fe:.14*fe},ve.prototype._drawTextArr=function(X,se,fe){var _e,be=this.attrs,We=be.textBaseline,we=be.x,Ze=be.y,Ve=1*be.fontSize,et=this._getSpaceingY(),ht=Object(C.getTextHeight)(be.text,be.fontSize,be.lineHeight);Object(w.c)(se,function(Fe,mt){_e=Ze+mt*(et+Ve)-ht+Ve,We===\"middle\"&&(_e+=ht-Ve-(ht-Ve)/2),We===\"top\"&&(_e+=ht-Ve),Object(w.i)(Fe)||(fe?X.fillText(Fe,we,_e):X.strokeText(Fe,we,_e))})},ve.prototype._drawText=function(X,se){var fe=this.attr(),_e=fe.x,be=fe.y,We=this.get(\"textArr\");if(We)this._drawTextArr(X,We,se);else{var we=fe.text;Object(w.i)(we)||(se?X.fillText(we,_e,be):X.strokeText(we,_e,be))}},ve.prototype.strokeAndFill=function(X){var se=this.attrs,fe=se.lineWidth,_e=se.opacity,be=se.strokeOpacity,We=se.fillOpacity;this.isStroke()&&fe>0&&(Object(w.i)(be)||be===1||(X.globalAlpha=_e),this.stroke(X)),this.isFill()&&(Object(w.i)(We)||We===1?this.fill(X):(X.globalAlpha=We,this.fill(X),X.globalAlpha=_e)),this.afterDrawPath(X)},ve.prototype.fill=function(X){this._drawText(X,!0)},ve.prototype.stroke=function(X){this._drawText(X,!1)},ve}(p)},function(Ee,c){var r=[],y=[];function N(C,w){if(w=w||{},C===void 0)throw new Error(\"insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).\");var O,b=w.prepend===!0?\"prepend\":\"append\",p=w.container!==void 0?w.container:document.querySelector(\"head\"),u=r.indexOf(p);return u===-1&&(u=r.push(p)-1,y[u]={}),y[u]!==void 0&&y[u][b]!==void 0?O=y[u][b]:(O=y[u][b]=function(){var a=document.createElement(\"style\");return a.setAttribute(\"type\",\"text/css\"),a}(),b===\"prepend\"?p.insertBefore(O,p.childNodes[0]):p.appendChild(O)),C.charCodeAt(0)===65279&&(C=C.substr(1,C.length)),O.styleSheet?O.styleSheet.cssText+=C:O.textContent+=C,O}Ee.exports=N,Ee.exports.insertCss=N},function(Ee,c,r){\"use strict\";r(38),r(10);var y=r(112);r.d(c,\"Canvas\",function(){return y.a}),r(37)},function(Ee,c,r){\"use strict\";r.d(c,\"b\",function(){return C}),r.d(c,\"c\",function(){return w}),r.d(c,\"a\",function(){return O});var y=r(8),N=r(50);function C(b,p,u){var a=1;return Object(y.h)(b)&&(a=b.split(`\n`).length),a>1?p*a+function(f,h){return h?h-f:.14*f}(p,u)*(a-1):p}function w(b,p){var u=Object(N.a)(),a=0;if(Object(y.e)(b)||b===\"\")return a;if(u.save(),u.font=p,Object(y.h)(b)&&b.includes(`\n`)){var f=b.split(`\n`);Object(y.a)(f,function(h){var l=u.measureText(h).width;a<l&&(a=l)})}else a=u.measureText(b).width;return u.restore(),a}function O(b){var p=b.fontSize,u=b.fontFamily,a=b.fontWeight;return[b.fontStyle,b.fontVariant,a,p+\"px\",u].join(\" \").trim()}},function(Ee,c,r){\"use strict\";r.d(c,\"a\",function(){return C}),r.d(c,\"b\",function(){return w});var y=r(20),N=r(11);function C(O,b){b.forEach(function(p){p.draw(O)})}function w(O,b){var p=O.get(\"canvas\");if(p&&p.get(\"autoDraw\")){var u=p.get(\"context\"),a=O.getParent(),f=a?a.getChildren():[p],h=O.get(\"el\");if(b===\"remove\")if(O.get(\"isClipShape\")){var l=h&&h.parentNode,s=l&&l.parentNode;l&&s&&s.removeChild(l)}else h&&h.parentNode&&h.parentNode.removeChild(h);else if(b===\"show\")h.setAttribute(\"visibility\",\"visible\");else if(b===\"hide\")h.setAttribute(\"visibility\",\"hidden\");else if(b===\"zIndex\")Object(N.c)(h,f.indexOf(O));else if(b===\"sort\"){var m=O.get(\"children\");m&&m.length&&Object(N.d)(O,function(x,M){return m.indexOf(x)-m.indexOf(M)?1:0})}else b===\"clear\"?h&&(h.innerHTML=\"\"):b===\"matrix\"?Object(y.c)(O):b===\"clip\"?Object(y.a)(O,u):b===\"attr\"||b===\"add\"&&O.draw(u)}}},function(Ee,c,r){var y=r(185),N=r(190),C=r(191),w=C&&C.isTypedArray,O=w?N(w):y;Ee.exports=O},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(w,O){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,p){b.__proto__=p}||function(b,p){for(var u in p)Object.prototype.hasOwnProperty.call(p,u)&&(b[u]=p[u])})(w,O)},function(w,O){if(typeof O!=\"function\"&&O!==null)throw new TypeError(\"Class extends value \"+String(O)+\" is not a constructor or null\");function b(){this.constructor=w}y(w,O),w.prototype=O===null?Object.create(O):(b.prototype=O.prototype,new b)});Object.defineProperty(c,\"__esModule\",{value:!0}),c.Graph=void 0;var C=function(w){function O(){return w!==null&&w.apply(this,arguments)||this}return N(O,w),O}(r(47).Graph);c.Graph=C},function(Ee,c,r){\"use strict\";var y=r(1),N=r(10),C=r(29),w=r(16),O=r(0),b=r(5),p=function(u){function a(){return u!==null&&u.apply(this,arguments)||this}return Object(y.__extends)(a,u),a.prototype.onCanvasChange=function(f){Object(w.h)(this,f)},a.prototype.getShapeBase=function(){return C},a.prototype.getGroupBase=function(){return a},a.prototype._applyClip=function(f,h){h&&(f.save(),Object(w.a)(f,h),h.createPath(f),f.restore(),f.clip(),h._afterDraw())},a.prototype.cacheCanvasBBox=function(){var f=this.cfg.children,h=[],l=[];Object(O.each)(f,function(A){var J=A.cfg.cacheCanvasBBox;J&&A.cfg.isInView&&(h.push(J.minX,J.maxX),l.push(J.minY,J.maxY))});var s=null;if(h.length){var m=Object(O.min)(h),x=Object(O.max)(h),M=Object(O.min)(l),E=Object(O.max)(l);s={minX:m,minY:M,x:m,y:M,maxX:x,maxY:E,width:x-m,height:E-M};var j=this.cfg.canvas;if(j){var L=j.getViewRange();this.set(\"isInView\",Object(b.f)(s,L))}}else this.set(\"isInView\",!1);this.set(\"cacheCanvasBBox\",s)},a.prototype.draw=function(f,h){var l=this.cfg.children,s=!h||this.cfg.refresh;l.length&&s&&(f.save(),Object(w.a)(f,this),this._applyClip(f,this.getClip()),Object(w.d)(f,l,h),f.restore(),this.cacheCanvasBBox()),this.cfg.refresh=null,this.set(\"hasChanged\",!1)},a.prototype.skipDraw=function(){this.set(\"cacheCanvasBBox\",null),this.set(\"hasChanged\",!1)},a}(N.AbstractGroup);c.a=p},function(Ee,c,r){\"use strict\";var y=r(1),N=r(10),C=r(0),w=r(38),O=r(33),b=r(20),p=r(6),u=r(11),a=function(f){function h(){return f!==null&&f.apply(this,arguments)||this}return Object(y.__extends)(h,f),h.prototype.isEntityGroup=function(){return!0},h.prototype.createDom=function(){var l=Object(u.b)(\"g\");this.set(\"el\",l);var s=this.getParent();if(s){var m=s.get(\"el\");m||(m=s.createDom(),s.set(\"el\",m)),m.appendChild(l)}return l},h.prototype.afterAttrsChange=function(l){f.prototype.afterAttrsChange.call(this,l);var s=this.get(\"canvas\");if(s&&s.get(\"autoDraw\")){var m=s.get(\"context\");this.createPath(m,l)}},h.prototype.onCanvasChange=function(l){Object(O.b)(this,l)},h.prototype.getShapeBase=function(){return w},h.prototype.getGroupBase=function(){return h},h.prototype.draw=function(l){var s=this.getChildren(),m=this.get(\"el\");this.get(\"destroyed\")?m&&m.parentNode.removeChild(m):(m||this.createDom(),Object(b.a)(this,l),this.createPath(l),s.length&&Object(O.a)(l,s))},h.prototype.createPath=function(l,s){var m=this.attr(),x=this.get(\"el\");Object(C.each)(s||m,function(M,E){p.b[E]&&x.setAttribute(p.b[E],M)}),Object(b.c)(this)},h}(N.AbstractGroup);c.a=a},function(Ee,c,r){\"use strict\";r.r(c),r.d(c,\"Base\",function(){return a}),r.d(c,\"Circle\",function(){return h}),r.d(c,\"Dom\",function(){return l}),r.d(c,\"Ellipse\",function(){return s}),r.d(c,\"Image\",function(){return m}),r.d(c,\"Line\",function(){return M}),r.d(c,\"Marker\",function(){return L}),r.d(c,\"Path\",function(){return A}),r.d(c,\"Polygon\",function(){return J}),r.d(c,\"Polyline\",function(){return q}),r.d(c,\"Rect\",function(){return re}),r.d(c,\"Text\",function(){return Ie});var y={};r.r(y),r.d(y,\"Base\",function(){return a}),r.d(y,\"Circle\",function(){return h}),r.d(y,\"Dom\",function(){return l}),r.d(y,\"Ellipse\",function(){return s}),r.d(y,\"Image\",function(){return m}),r.d(y,\"Line\",function(){return M}),r.d(y,\"Marker\",function(){return L}),r.d(y,\"Path\",function(){return A}),r.d(y,\"Polygon\",function(){return J}),r.d(y,\"Polyline\",function(){return q}),r.d(y,\"Rect\",function(){return re}),r.d(y,\"Text\",function(){return Ie});var N=r(1),C=r(10),w=r(20),O=r(11),b=r(33),p=r(6),u=r(37),a=function(Le){function De(){var ce=Le!==null&&Le.apply(this,arguments)||this;return ce.type=\"svg\",ce.canFill=!1,ce.canStroke=!1,ce}return Object(N.__extends)(De,Le),De.prototype.getDefaultAttrs=function(){var ce=Le.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},ce),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},De.prototype.afterAttrsChange=function(ce){Le.prototype.afterAttrsChange.call(this,ce);var ye=this.get(\"canvas\");if(ye&&ye.get(\"autoDraw\")){var Oe=ye.get(\"context\");this.draw(Oe,ce)}},De.prototype.getShapeBase=function(){return y},De.prototype.getGroupBase=function(){return u.a},De.prototype.onCanvasChange=function(ce){Object(b.b)(this,ce)},De.prototype.calculateBBox=function(){var ce=this.get(\"el\"),ye=null;if(ce)ye=ce.getBBox();else{var Oe=Object(C.getBBoxMethod)(this.get(\"type\"));Oe&&(ye=Oe(this))}if(ye){var Ce=ye.x,oe=ye.y,he=ye.width,ie=ye.height,ae=this.getHitLineWidth(),ve=ae/2,X=Ce-ve,se=oe-ve;return{x:X,y:se,minX:X,minY:se,maxX:Ce+he+ve,maxY:oe+ie+ve,width:he+ae,height:ie+ae}}return{x:0,y:0,minX:0,minY:0,maxX:0,maxY:0,width:0,height:0}},De.prototype.isFill=function(){var ce=this.attr(),ye=ce.fill,Oe=ce.fillStyle;return(ye||Oe||this.isClipShape())&&this.canFill},De.prototype.isStroke=function(){var ce=this.attr(),ye=ce.stroke,Oe=ce.strokeStyle;return(ye||Oe)&&this.canStroke},De.prototype.draw=function(ce,ye){var Oe=this.get(\"el\");this.get(\"destroyed\")?Oe&&Oe.parentNode.removeChild(Oe):(Oe||Object(O.a)(this),Object(w.a)(this,ce),this.createPath(ce,ye),this.shadow(ce,ye),this.strokeAndFill(ce,ye),this.transform(ye))},De.prototype.createPath=function(ce,ye){},De.prototype.strokeAndFill=function(ce,ye){var Oe=ye||this.attr(),Ce=Oe.fill,oe=Oe.fillStyle,he=Oe.stroke,ie=Oe.strokeStyle,ae=Oe.fillOpacity,ve=Oe.strokeOpacity,X=Oe.lineWidth,se=this.get(\"el\");this.canFill&&(ye?\"fill\"in Oe?this._setColor(ce,\"fill\",Ce):\"fillStyle\"in Oe&&this._setColor(ce,\"fill\",oe):this._setColor(ce,\"fill\",Ce||oe),ae&&se.setAttribute(p.b.fillOpacity,ae)),this.canStroke&&X>0&&(ye?\"stroke\"in Oe?this._setColor(ce,\"stroke\",he):\"strokeStyle\"in Oe&&this._setColor(ce,\"stroke\",ie):this._setColor(ce,\"stroke\",he||ie),ve&&se.setAttribute(p.b.strokeOpacity,ve),X&&se.setAttribute(p.b.lineWidth,X))},De.prototype._setColor=function(ce,ye,Oe){var Ce=this.get(\"el\");if(Oe)if(Oe=Oe.trim(),/^[r,R,L,l]{1}[\\s]*\\(/.test(Oe))(oe=ce.find(\"gradient\",Oe))||(oe=ce.addGradient(Oe)),Ce.setAttribute(p.b[ye],\"url(#\"+oe+\")\");else if(/^[p,P]{1}[\\s]*\\(/.test(Oe)){var oe;(oe=ce.find(\"pattern\",Oe))||(oe=ce.addPattern(Oe)),Ce.setAttribute(p.b[ye],\"url(#\"+oe+\")\")}else Ce.setAttribute(p.b[ye],Oe);else Ce.setAttribute(p.b[ye],\"none\")},De.prototype.shadow=function(ce,ye){var Oe=this.attr(),Ce=ye||Oe,oe=Ce.shadowOffsetX,he=Ce.shadowOffsetY,ie=Ce.shadowBlur,ae=Ce.shadowColor;(oe||he||ie||ae)&&Object(w.b)(this,ce)},De.prototype.transform=function(ce){var ye=this.attr();(ce||ye).matrix&&Object(w.c)(this)},De.prototype.isInShape=function(ce,ye){return this.isPointInPath(ce,ye)},De.prototype.isPointInPath=function(ce,ye){var Oe=this.get(\"el\"),Ce=this.get(\"canvas\").get(\"el\").getBoundingClientRect(),oe=ce+Ce.left,he=ye+Ce.top,ie=document.elementFromPoint(oe,he);return!(!ie||!ie.isEqualNode(Oe))},De.prototype.getHitLineWidth=function(){var ce=this.attrs,ye=ce.lineWidth,Oe=ce.lineAppendWidth;return this.isStroke()?ye+Oe:0},De}(C.AbstractShape),f=r(0),h=function(Le){function De(){var ce=Le!==null&&Le.apply(this,arguments)||this;return ce.type=\"circle\",ce.canFill=!0,ce.canStroke=!0,ce}return Object(N.__extends)(De,Le),De.prototype.getDefaultAttrs=function(){var ce=Le.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},ce),{x:0,y:0,r:0})},De.prototype.createPath=function(ce,ye){var Oe=this.attr(),Ce=this.get(\"el\");Object(f.each)(ye||Oe,function(oe,he){he===\"x\"||he===\"y\"?Ce.setAttribute(\"c\"+he,oe):p.b[he]&&Ce.setAttribute(p.b[he],oe)})},De}(a),l=function(Le){function De(){var ce=Le!==null&&Le.apply(this,arguments)||this;return ce.type=\"dom\",ce.canFill=!1,ce.canStroke=!1,ce}return Object(N.__extends)(De,Le),De.prototype.createPath=function(ce,ye){var Oe=this.attr(),Ce=this.get(\"el\");if(Object(f.each)(ye||Oe,function(ae,ve){p.b[ve]&&Ce.setAttribute(p.b[ve],ae)}),typeof Oe.html==\"function\"){var oe=Oe.html.call(this,Oe);if(oe instanceof Element||oe instanceof HTMLDocument){for(var he=Ce.childNodes,ie=he.length-1;ie>=0;ie--)Ce.removeChild(he[ie]);Ce.appendChild(oe)}else Ce.innerHTML=oe}else Ce.innerHTML=Oe.html},De}(a),s=function(Le){function De(){var ce=Le!==null&&Le.apply(this,arguments)||this;return ce.type=\"ellipse\",ce.canFill=!0,ce.canStroke=!0,ce}return Object(N.__extends)(De,Le),De.prototype.getDefaultAttrs=function(){var ce=Le.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},ce),{x:0,y:0,rx:0,ry:0})},De.prototype.createPath=function(ce,ye){var Oe=this.attr(),Ce=this.get(\"el\");Object(f.each)(ye||Oe,function(oe,he){he===\"x\"||he===\"y\"?Ce.setAttribute(\"c\"+he,oe):p.b[he]&&Ce.setAttribute(p.b[he],oe)})},De}(a),m=function(Le){function De(){var ce=Le!==null&&Le.apply(this,arguments)||this;return ce.type=\"image\",ce.canFill=!1,ce.canStroke=!1,ce}return Object(N.__extends)(De,Le),De.prototype.getDefaultAttrs=function(){var ce=Le.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},ce),{x:0,y:0,width:0,height:0})},De.prototype.createPath=function(ce,ye){var Oe=this,Ce=this.attr(),oe=this.get(\"el\");Object(f.each)(ye||Ce,function(he,ie){ie===\"img\"?Oe._setImage(Ce.img):p.b[ie]&&oe.setAttribute(p.b[ie],he)})},De.prototype.setAttr=function(ce,ye){this.attrs[ce]=ye,ce===\"img\"&&this._setImage(ye)},De.prototype._setImage=function(ce){var ye=this.attr(),Oe=this.get(\"el\");if(Object(f.isString)(ce))Oe.setAttribute(\"href\",ce);else if(ce instanceof window.Image)ye.width||(Oe.setAttribute(\"width\",ce.width),this.attr(\"width\",ce.width)),ye.height||(Oe.setAttribute(\"height\",ce.height),this.attr(\"height\",ce.height)),Oe.setAttribute(\"href\",ce.src);else if(ce instanceof HTMLElement&&Object(f.isString)(ce.nodeName)&&ce.nodeName.toUpperCase()===\"CANVAS\")Oe.setAttribute(\"href\",ce.toDataURL());else if(ce instanceof ImageData){var Ce=document.createElement(\"canvas\");Ce.setAttribute(\"width\",\"\"+ce.width),Ce.setAttribute(\"height\",\"\"+ce.height),Ce.getContext(\"2d\").putImageData(ce,0,0),ye.width||(Oe.setAttribute(\"width\",\"\"+ce.width),this.attr(\"width\",ce.width)),ye.height||(Oe.setAttribute(\"height\",\"\"+ce.height),this.attr(\"height\",ce.height)),Oe.setAttribute(\"href\",Ce.toDataURL())}},De}(a),x=r(9),M=function(Le){function De(){var ce=Le!==null&&Le.apply(this,arguments)||this;return ce.type=\"line\",ce.canFill=!1,ce.canStroke=!0,ce}return Object(N.__extends)(De,Le),De.prototype.getDefaultAttrs=function(){var ce=Le.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},ce),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},De.prototype.createPath=function(ce,ye){var Oe=this.attr(),Ce=this.get(\"el\");Object(f.each)(ye||Oe,function(oe,he){if(he===\"startArrow\"||he===\"endArrow\")if(oe){var ie=Object(f.isObject)(oe)?ce.addArrow(Oe,p.b[he]):ce.getDefaultArrow(Oe,p.b[he]);Ce.setAttribute(p.b[he],\"url(#\"+ie+\")\")}else Ce.removeAttribute(p.b[he]);else p.b[he]&&Ce.setAttribute(p.b[he],oe)})},De.prototype.getTotalLength=function(){var ce=this.attr(),ye=ce.x1,Oe=ce.y1,Ce=ce.x2,oe=ce.y2;return x.c.length(ye,Oe,Ce,oe)},De.prototype.getPoint=function(ce){var ye=this.attr(),Oe=ye.x1,Ce=ye.y1,oe=ye.x2,he=ye.y2;return x.c.pointAt(Oe,Ce,oe,he,ce)},De}(a),E={circle:function(Le,De,ce){return[[\"M\",Le,De],[\"m\",-ce,0],[\"a\",ce,ce,0,1,0,2*ce,0],[\"a\",ce,ce,0,1,0,2*-ce,0]]},square:function(Le,De,ce){return[[\"M\",Le-ce,De-ce],[\"L\",Le+ce,De-ce],[\"L\",Le+ce,De+ce],[\"L\",Le-ce,De+ce],[\"Z\"]]},diamond:function(Le,De,ce){return[[\"M\",Le-ce,De],[\"L\",Le,De-ce],[\"L\",Le+ce,De],[\"L\",Le,De+ce],[\"Z\"]]},triangle:function(Le,De,ce){var ye=ce*Math.sin(.3333333333333333*Math.PI);return[[\"M\",Le-ce,De+ye],[\"L\",Le,De-ye],[\"L\",Le+ce,De+ye],[\"z\"]]},triangleDown:function(Le,De,ce){var ye=ce*Math.sin(.3333333333333333*Math.PI);return[[\"M\",Le-ce,De-ye],[\"L\",Le+ce,De-ye],[\"L\",Le,De+ye],[\"Z\"]]}},j={get:function(Le){return E[Le]},register:function(Le,De){E[Le]=De},remove:function(Le){delete E[Le]},getAll:function(){return E}},L=function(Le){function De(){var ce=Le!==null&&Le.apply(this,arguments)||this;return ce.type=\"marker\",ce.canFill=!0,ce.canStroke=!0,ce}return Object(N.__extends)(De,Le),De.prototype.createPath=function(ce){this.get(\"el\").setAttribute(\"d\",this._assembleMarker())},De.prototype._assembleMarker=function(){var ce=this._getPath();return Object(f.isArray)(ce)?ce.map(function(ye){return ye.join(\" \")}).join(\"\"):ce},De.prototype._getPath=function(){var ce,ye=this.attr(),Oe=ye.x,Ce=ye.y,oe=ye.r||ye.radius,he=ye.symbol||\"circle\";return(ce=Object(f.isFunction)(he)?he:j.get(he))?ce(Oe,Ce,oe):(console.warn(ce+\" symbol is not exist.\"),null)},De.symbolsFactory=j,De}(a),A=function(Le){function De(){var ce=Le!==null&&Le.apply(this,arguments)||this;return ce.type=\"path\",ce.canFill=!0,ce.canStroke=!0,ce}return Object(N.__extends)(De,Le),De.prototype.getDefaultAttrs=function(){var ce=Le.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},ce),{startArrow:!1,endArrow:!1})},De.prototype.createPath=function(ce,ye){var Oe=this,Ce=this.attr(),oe=this.get(\"el\");Object(f.each)(ye||Ce,function(he,ie){if(ie===\"path\"&&Object(f.isArray)(he))oe.setAttribute(\"d\",Oe._formatPath(he));else if(ie===\"startArrow\"||ie===\"endArrow\")if(he){var ae=Object(f.isObject)(he)?ce.addArrow(Ce,p.b[ie]):ce.getDefaultArrow(Ce,p.b[ie]);oe.setAttribute(p.b[ie],\"url(#\"+ae+\")\")}else oe.removeAttribute(p.b[ie]);else p.b[ie]&&oe.setAttribute(p.b[ie],he)})},De.prototype._formatPath=function(ce){var ye=ce.map(function(Oe){return Oe.join(\" \")}).join(\"\");return~ye.indexOf(\"NaN\")?\"\":ye},De.prototype.getTotalLength=function(){var ce=this.get(\"el\");return ce?ce.getTotalLength():null},De.prototype.getPoint=function(ce){var ye=this.get(\"el\"),Oe=this.getTotalLength();if(Oe===0)return null;var Ce=ye?ye.getPointAtLength(ce*Oe):null;return Ce?{x:Ce.x,y:Ce.y}:null},De}(a),J=function(Le){function De(){var ce=Le!==null&&Le.apply(this,arguments)||this;return ce.type=\"polygon\",ce.canFill=!0,ce.canStroke=!0,ce}return Object(N.__extends)(De,Le),De.prototype.createPath=function(ce,ye){var Oe=this.attr(),Ce=this.get(\"el\");Object(f.each)(ye||Oe,function(oe,he){he===\"points\"&&Object(f.isArray)(oe)&&oe.length>=2?Ce.setAttribute(\"points\",oe.map(function(ie){return ie[0]+\",\"+ie[1]}).join(\" \")):p.b[he]&&Ce.setAttribute(p.b[he],oe)})},De}(a),q=function(Le){function De(){var ce=Le!==null&&Le.apply(this,arguments)||this;return ce.type=\"polyline\",ce.canFill=!0,ce.canStroke=!0,ce}return Object(N.__extends)(De,Le),De.prototype.getDefaultAttrs=function(){var ce=Le.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},ce),{startArrow:!1,endArrow:!1})},De.prototype.onAttrChange=function(ce,ye,Oe){Le.prototype.onAttrChange.call(this,ce,ye,Oe),[\"points\"].indexOf(ce)!==-1&&this._resetCache()},De.prototype._resetCache=function(){this.set(\"totalLength\",null),this.set(\"tCache\",null)},De.prototype.createPath=function(ce,ye){var Oe=this.attr(),Ce=this.get(\"el\");Object(f.each)(ye||Oe,function(oe,he){he===\"points\"&&Object(f.isArray)(oe)&&oe.length>=2?Ce.setAttribute(\"points\",oe.map(function(ie){return ie[0]+\",\"+ie[1]}).join(\" \")):p.b[he]&&Ce.setAttribute(p.b[he],oe)})},De.prototype.getTotalLength=function(){var ce=this.attr().points,ye=this.get(\"totalLength\");return Object(f.isNil)(ye)?(this.set(\"totalLength\",x.d.length(ce)),this.get(\"totalLength\")):ye},De.prototype.getPoint=function(ce){var ye,Oe,Ce=this.attr().points,oe=this.get(\"tCache\");return oe||(this._setTcache(),oe=this.get(\"tCache\")),Object(f.each)(oe,function(he,ie){ce>=he[0]&&ce<=he[1]&&(ye=(ce-he[0])/(he[1]-he[0]),Oe=ie)}),x.c.pointAt(Ce[Oe][0],Ce[Oe][1],Ce[Oe+1][0],Ce[Oe+1][1],ye)},De.prototype._setTcache=function(){var ce=this.attr().points;if(ce&&ce.length!==0){var ye=this.getTotalLength();if(!(ye<=0)){var Oe,Ce,oe=0,he=[];Object(f.each)(ce,function(ie,ae){ce[ae+1]&&((Oe=[])[0]=oe/ye,Ce=x.c.length(ie[0],ie[1],ce[ae+1][0],ce[ae+1][1]),oe+=Ce,Oe[1]=oe/ye,he.push(Oe))}),this.set(\"tCache\",he)}}},De.prototype.getStartTangent=function(){var ce=this.attr().points,ye=[];return ye.push([ce[1][0],ce[1][1]]),ye.push([ce[0][0],ce[0][1]]),ye},De.prototype.getEndTangent=function(){var ce=this.attr().points,ye=ce.length-1,Oe=[];return Oe.push([ce[ye-1][0],ce[ye-1][1]]),Oe.push([ce[ye][0],ce[ye][1]]),Oe},De}(a),re=function(Le){function De(){var ce=Le!==null&&Le.apply(this,arguments)||this;return ce.type=\"rect\",ce.canFill=!0,ce.canStroke=!0,ce}return Object(N.__extends)(De,Le),De.prototype.getDefaultAttrs=function(){var ce=Le.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},ce),{x:0,y:0,width:0,height:0,radius:0})},De.prototype.createPath=function(ce,ye){var Oe=this,Ce=this.attr(),oe=this.get(\"el\"),he=!1,ie=[\"x\",\"y\",\"width\",\"height\",\"radius\"];Object(f.each)(ye||Ce,function(ae,ve){ie.indexOf(ve)===-1||he?ie.indexOf(ve)===-1&&p.b[ve]&&oe.setAttribute(p.b[ve],ae):(oe.setAttribute(\"d\",Oe._assembleRect(Ce)),he=!0)})},De.prototype._assembleRect=function(ce){var ye=ce.x,Oe=ce.y,Ce=ce.width,oe=ce.height,he=ce.radius;if(!he)return\"M \"+ye+\",\"+Oe+\" l \"+Ce+\",0 l 0,\"+oe+\" l\"+-Ce+\" 0 z\";var ie=function(ae){var ve=0,X=0,se=0,fe=0;return Object(f.isArray)(ae)?ae.length===1?ve=X=se=fe=ae[0]:ae.length===2?(ve=se=ae[0],X=fe=ae[1]):ae.length===3?(ve=ae[0],X=fe=ae[1],se=ae[2]):(ve=ae[0],X=ae[1],se=ae[2],fe=ae[3]):ve=X=se=fe=ae,{r1:ve,r2:X,r3:se,r4:fe}}(he);return Object(f.isArray)(he)?he.length===1?ie.r1=ie.r2=ie.r3=ie.r4=he[0]:he.length===2?(ie.r1=ie.r3=he[0],ie.r2=ie.r4=he[1]):he.length===3?(ie.r1=he[0],ie.r2=ie.r4=he[1],ie.r3=he[2]):(ie.r1=he[0],ie.r2=he[1],ie.r3=he[2],ie.r4=he[3]):ie.r1=ie.r2=ie.r3=ie.r4=he,[[\"M \"+(ye+ie.r1)+\",\"+Oe],[\"l \"+(Ce-ie.r1-ie.r2)+\",0\"],[\"a \"+ie.r2+\",\"+ie.r2+\",0,0,1,\"+ie.r2+\",\"+ie.r2],[\"l 0,\"+(oe-ie.r2-ie.r3)],[\"a \"+ie.r3+\",\"+ie.r3+\",0,0,1,\"+-ie.r3+\",\"+ie.r3],[\"l \"+(ie.r3+ie.r4-Ce)+\",0\"],[\"a \"+ie.r4+\",\"+ie.r4+\",0,0,1,\"+-ie.r4+\",\"+-ie.r4],[\"l 0,\"+(ie.r4+ie.r1-oe)],[\"a \"+ie.r1+\",\"+ie.r1+\",0,0,1,\"+ie.r1+\",\"+-ie.r1],[\"z\"]].join(\" \")},De}(a),me=r(55),Te={top:\"before-edge\",middle:\"central\",bottom:\"after-edge\",alphabetic:\"baseline\",hanging:\"hanging\"},ee={top:\"text-before-edge\",middle:\"central\",bottom:\"text-after-edge\",alphabetic:\"alphabetic\",hanging:\"hanging\"},xe={left:\"left\",start:\"left\",center:\"middle\",right:\"end\",end:\"end\"},Ie=function(Le){function De(){var ce=Le!==null&&Le.apply(this,arguments)||this;return ce.type=\"text\",ce.canFill=!0,ce.canStroke=!0,ce}return Object(N.__extends)(De,Le),De.prototype.getDefaultAttrs=function(){var ce=Le.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},ce),{x:0,y:0,text:null,fontSize:12,fontFamily:\"sans-serif\",fontStyle:\"normal\",fontWeight:\"normal\",fontVariant:\"normal\",textAlign:\"start\",textBaseline:\"bottom\"})},De.prototype.createPath=function(ce,ye){var Oe=this,Ce=this.attr(),oe=this.get(\"el\");this._setFont(),Object(f.each)(ye||Ce,function(he,ie){ie===\"text\"?Oe._setText(\"\"+he):ie===\"matrix\"&&he?Object(w.c)(Oe):p.b[ie]&&oe.setAttribute(p.b[ie],he)}),oe.setAttribute(\"paint-order\",\"stroke\"),oe.setAttribute(\"style\",\"stroke-linecap:butt; stroke-linejoin:miter;\")},De.prototype._setFont=function(){var ce=this.get(\"el\"),ye=this.attr(),Oe=ye.textBaseline,Ce=ye.textAlign,oe=Object(me.a)();oe&&oe.name===\"firefox\"?ce.setAttribute(\"dominant-baseline\",ee[Oe]||\"alphabetic\"):ce.setAttribute(\"alignment-baseline\",Te[Oe]||\"baseline\"),ce.setAttribute(\"text-anchor\",xe[Ce]||\"left\")},De.prototype._setText=function(ce){var ye=this.get(\"el\"),Oe=this.attr(),Ce=Oe.x,oe=Oe.textBaseline,he=oe===void 0?\"bottom\":oe;if(ce)if(~ce.indexOf(`\n`)){var ie=ce.split(`\n`),ae=ie.length-1,ve=\"\";Object(f.each)(ie,function(X,se){se===0?he===\"alphabetic\"?ve+='<tspan x=\"'+Ce+'\" dy=\"'+-ae+'em\">'+X+\"</tspan>\":he===\"top\"?ve+='<tspan x=\"'+Ce+'\" dy=\"0.9em\">'+X+\"</tspan>\":he===\"middle\"?ve+='<tspan x=\"'+Ce+'\" dy=\"'+-(ae-1)/2+'em\">'+X+\"</tspan>\":he===\"bottom\"?ve+='<tspan x=\"'+Ce+'\" dy=\"-'+(ae+.3)+'em\">'+X+\"</tspan>\":he===\"hanging\"&&(ve+='<tspan x=\"'+Ce+'\" dy=\"'+(-(ae-1)-.3)+'em\">'+X+\"</tspan>\"):ve+='<tspan x=\"'+Ce+'\" dy=\"1em\">'+X+\"</tspan>\"}),ye.innerHTML=ve}else ye.innerHTML=ce;else ye.innerHTML=\"\"},De}(a)},function(Ee,c,r){\"use strict\";r.r(c),r.d(c,\"create\",function(){return N}),r.d(c,\"clone\",function(){return C}),r.d(c,\"fromValues\",function(){return w}),r.d(c,\"copy\",function(){return O}),r.d(c,\"set\",function(){return b}),r.d(c,\"add\",function(){return p}),r.d(c,\"subtract\",function(){return u}),r.d(c,\"multiply\",function(){return a}),r.d(c,\"divide\",function(){return f}),r.d(c,\"ceil\",function(){return h}),r.d(c,\"floor\",function(){return l}),r.d(c,\"min\",function(){return s}),r.d(c,\"max\",function(){return m}),r.d(c,\"round\",function(){return x}),r.d(c,\"scale\",function(){return M}),r.d(c,\"scaleAndAdd\",function(){return E}),r.d(c,\"distance\",function(){return j}),r.d(c,\"squaredDistance\",function(){return L}),r.d(c,\"length\",function(){return A}),r.d(c,\"squaredLength\",function(){return J}),r.d(c,\"negate\",function(){return q}),r.d(c,\"inverse\",function(){return re}),r.d(c,\"normalize\",function(){return me}),r.d(c,\"dot\",function(){return Te}),r.d(c,\"cross\",function(){return ee}),r.d(c,\"lerp\",function(){return xe}),r.d(c,\"random\",function(){return Ie}),r.d(c,\"transformMat2\",function(){return Le}),r.d(c,\"transformMat2d\",function(){return De}),r.d(c,\"transformMat3\",function(){return ce}),r.d(c,\"transformMat4\",function(){return ye}),r.d(c,\"rotate\",function(){return Oe}),r.d(c,\"angle\",function(){return Ce}),r.d(c,\"zero\",function(){return oe}),r.d(c,\"str\",function(){return he}),r.d(c,\"exactEquals\",function(){return ie}),r.d(c,\"equals\",function(){return ae}),r.d(c,\"len\",function(){return X}),r.d(c,\"sub\",function(){return se}),r.d(c,\"mul\",function(){return fe}),r.d(c,\"div\",function(){return _e}),r.d(c,\"dist\",function(){return be}),r.d(c,\"sqrDist\",function(){return We}),r.d(c,\"sqrLen\",function(){return we}),r.d(c,\"forEach\",function(){return Ze});var y=r(2);function N(){var Ve=new y.ARRAY_TYPE(2);return y.ARRAY_TYPE!=Float32Array&&(Ve[0]=0,Ve[1]=0),Ve}function C(Ve){var et=new y.ARRAY_TYPE(2);return et[0]=Ve[0],et[1]=Ve[1],et}function w(Ve,et){var ht=new y.ARRAY_TYPE(2);return ht[0]=Ve,ht[1]=et,ht}function O(Ve,et){return Ve[0]=et[0],Ve[1]=et[1],Ve}function b(Ve,et,ht){return Ve[0]=et,Ve[1]=ht,Ve}function p(Ve,et,ht){return Ve[0]=et[0]+ht[0],Ve[1]=et[1]+ht[1],Ve}function u(Ve,et,ht){return Ve[0]=et[0]-ht[0],Ve[1]=et[1]-ht[1],Ve}function a(Ve,et,ht){return Ve[0]=et[0]*ht[0],Ve[1]=et[1]*ht[1],Ve}function f(Ve,et,ht){return Ve[0]=et[0]/ht[0],Ve[1]=et[1]/ht[1],Ve}function h(Ve,et){return Ve[0]=Math.ceil(et[0]),Ve[1]=Math.ceil(et[1]),Ve}function l(Ve,et){return Ve[0]=Math.floor(et[0]),Ve[1]=Math.floor(et[1]),Ve}function s(Ve,et,ht){return Ve[0]=Math.min(et[0],ht[0]),Ve[1]=Math.min(et[1],ht[1]),Ve}function m(Ve,et,ht){return Ve[0]=Math.max(et[0],ht[0]),Ve[1]=Math.max(et[1],ht[1]),Ve}function x(Ve,et){return Ve[0]=Math.round(et[0]),Ve[1]=Math.round(et[1]),Ve}function M(Ve,et,ht){return Ve[0]=et[0]*ht,Ve[1]=et[1]*ht,Ve}function E(Ve,et,ht,Fe){return Ve[0]=et[0]+ht[0]*Fe,Ve[1]=et[1]+ht[1]*Fe,Ve}function j(Ve,et){var ht=et[0]-Ve[0],Fe=et[1]-Ve[1];return Math.hypot(ht,Fe)}function L(Ve,et){var ht=et[0]-Ve[0],Fe=et[1]-Ve[1];return ht*ht+Fe*Fe}function A(Ve){var et=Ve[0],ht=Ve[1];return Math.hypot(et,ht)}function J(Ve){var et=Ve[0],ht=Ve[1];return et*et+ht*ht}function q(Ve,et){return Ve[0]=-et[0],Ve[1]=-et[1],Ve}function re(Ve,et){return Ve[0]=1/et[0],Ve[1]=1/et[1],Ve}function me(Ve,et){var ht=et[0],Fe=et[1],mt=ht*ht+Fe*Fe;return mt>0&&(mt=1/Math.sqrt(mt)),Ve[0]=et[0]*mt,Ve[1]=et[1]*mt,Ve}function Te(Ve,et){return Ve[0]*et[0]+Ve[1]*et[1]}function ee(Ve,et,ht){var Fe=et[0]*ht[1]-et[1]*ht[0];return Ve[0]=Ve[1]=0,Ve[2]=Fe,Ve}function xe(Ve,et,ht,Fe){var mt=et[0],dt=et[1];return Ve[0]=mt+Fe*(ht[0]-mt),Ve[1]=dt+Fe*(ht[1]-dt),Ve}function Ie(Ve,et){et=et||1;var ht=2*y.RANDOM()*Math.PI;return Ve[0]=Math.cos(ht)*et,Ve[1]=Math.sin(ht)*et,Ve}function Le(Ve,et,ht){var Fe=et[0],mt=et[1];return Ve[0]=ht[0]*Fe+ht[2]*mt,Ve[1]=ht[1]*Fe+ht[3]*mt,Ve}function De(Ve,et,ht){var Fe=et[0],mt=et[1];return Ve[0]=ht[0]*Fe+ht[2]*mt+ht[4],Ve[1]=ht[1]*Fe+ht[3]*mt+ht[5],Ve}function ce(Ve,et,ht){var Fe=et[0],mt=et[1];return Ve[0]=ht[0]*Fe+ht[3]*mt+ht[6],Ve[1]=ht[1]*Fe+ht[4]*mt+ht[7],Ve}function ye(Ve,et,ht){var Fe=et[0],mt=et[1];return Ve[0]=ht[0]*Fe+ht[4]*mt+ht[12],Ve[1]=ht[1]*Fe+ht[5]*mt+ht[13],Ve}function Oe(Ve,et,ht,Fe){var mt=et[0]-ht[0],dt=et[1]-ht[1],Lt=Math.sin(Fe),lt=Math.cos(Fe);return Ve[0]=mt*lt-dt*Lt+ht[0],Ve[1]=mt*Lt+dt*lt+ht[1],Ve}function Ce(Ve,et){var ht=Ve[0],Fe=Ve[1],mt=et[0],dt=et[1],Lt=Math.sqrt(ht*ht+Fe*Fe)*Math.sqrt(mt*mt+dt*dt),lt=Lt&&(ht*mt+Fe*dt)/Lt;return Math.acos(Math.min(Math.max(lt,-1),1))}function oe(Ve){return Ve[0]=0,Ve[1]=0,Ve}function he(Ve){return\"vec2(\"+Ve[0]+\", \"+Ve[1]+\")\"}function ie(Ve,et){return Ve[0]===et[0]&&Ve[1]===et[1]}function ae(Ve,et){var ht=Ve[0],Fe=Ve[1],mt=et[0],dt=et[1];return Math.abs(ht-mt)<=y.EPSILON*Math.max(1,Math.abs(ht),Math.abs(mt))&&Math.abs(Fe-dt)<=y.EPSILON*Math.max(1,Math.abs(Fe),Math.abs(dt))}var ve,X=A,se=u,fe=a,_e=f,be=j,We=L,we=J,Ze=(ve=N(),function(Ve,et,ht,Fe,mt,dt){var Lt,lt;for(et||(et=2),ht||(ht=0),lt=Fe?Math.min(Fe*et+ht,Ve.length):Ve.length,Lt=ht;Lt<lt;Lt+=et)ve[0]=Ve[Lt],ve[1]=Ve[Lt+1],mt(ve,ve,dt),Ve[Lt]=ve[0],Ve[Lt+1]=ve[1];return Ve})},function(Ee,c,r){(function(y){var N,C,w,O;function b(p){return(b=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(u){return typeof u}:function(u){return u&&typeof Symbol==\"function\"&&u.constructor===Symbol&&u!==Symbol.prototype?\"symbol\":typeof u})(p)}O=function(){return function(p){var u={};function a(f){if(u[f])return u[f].exports;var h=u[f]={i:f,l:!1,exports:{}};return p[f].call(h.exports,h,h.exports,a),h.l=!0,h.exports}return a.m=p,a.c=u,a.d=function(f,h,l){a.o(f,h)||Object.defineProperty(f,h,{configurable:!1,enumerable:!0,get:l})},a.n=function(f){var h=f&&f.__esModule?function(){return f.default}:function(){return f};return a.d(h,\"a\",h),h},a.o=function(f,h){return Object.prototype.hasOwnProperty.call(f,h)},a.p=\"\",a(a.s=36)}([function(p,u,a){\"use strict\";var f=a(3);u.a=function(h){return Array.isArray?Array.isArray(h):Object(f.a)(h,\"Array\")}},function(p,u,a){\"use strict\";u.a=function(f){return f!==null&&typeof f!=\"function\"&&isFinite(f.length)}},function(p,u,a){\"use strict\";var f=a(3);u.a=function(h){return Object(f.a)(h,\"Function\")}},function(p,u,a){\"use strict\";var f={}.toString;u.a=function(h,l){return f.call(h)===\"[object \"+l+\"]\"}},function(p,u,a){\"use strict\";var f=a(3);u.a=function(h){return Object(f.a)(h,\"String\")}},function(p,u,a){\"use strict\";var f=a(3);u.a=function(h){return Object(f.a)(h,\"Number\")}},function(p,u,a){var f=a(38).mix;p.exports={assign:f,getHeight:function(h,l,s,m){return m===void 0&&(m=\"height\"),s===\"center\"?(h[m]+l[m])/2:h.height}}},function(p,u,a){\"use strict\";u.a=function(f){return f==null}},function(p,u,a){\"use strict\";var f=a(0),h=a(12);u.a=function(l,s){if(l){if(Object(f.a)(l))for(var m=0,x=l.length;m<x&&s(l[m],m)!==!1;m++);else if(Object(h.a)(l)){for(var M in l)if(l.hasOwnProperty(M)&&s(l[M],M)===!1)break}}}},function(p,u,a){\"use strict\";var f=a(7);u.a=function(h){return Object(f.a)(h)?\"\":h.toString()}},function(p,u,a){\"use strict\";var f=a(14),h=a(3);u.a=function(l){if(!Object(f.a)(l)||!Object(h.a)(l,\"Object\"))return!1;if(Object.getPrototypeOf(l)===null)return!0;for(var s=l;Object.getPrototypeOf(s)!==null;)s=Object.getPrototypeOf(s);return Object.getPrototypeOf(l)===s}},function(p,u,a){var f=a(18),h=function(){function l(s,m){m===void 0&&(m={}),this.options=m,this.rootNode=f(s,m)}return l.prototype.execute=function(){throw new Error(\"please override this method\")},l}();p.exports=h},function(p,u,a){\"use strict\";u.a=function(f){var h=b(f);return f!==null&&h===\"object\"||h===\"function\"}},function(p,u,a){\"use strict\";var f=a(1);u.a=function(h,l){return!!Object(f.a)(h)&&h.indexOf(l)>-1}},function(p,u,a){\"use strict\";u.a=function(f){return b(f)===\"object\"&&f!==null}},function(p,u,a){\"use strict\";var f=a(8),h=a(2),l=Object.values?function(s){return Object.values(s)}:function(s){var m=[];return Object(f.a)(s,function(x,M){Object(h.a)(s)&&M===\"prototype\"||m.push(x)}),m};u.a=l},function(p,u,a){\"use strict\";function f(h,l){for(var s in l)l.hasOwnProperty(s)&&s!==\"constructor\"&&l[s]!==void 0&&(h[s]=l[s])}u.a=function(h,l,s,m){return l&&f(h,l),s&&f(h,s),m&&f(h,m),h}},function(p,u,a){var f=a(35),h=[\"LR\",\"RL\",\"TB\",\"BT\",\"H\",\"V\"],l=[\"LR\",\"RL\",\"H\"],s=h[0];p.exports=function(m,x,M){var E=x.direction||s;if(x.isHorizontal=function(re){return l.indexOf(re)>-1}(E),E&&h.indexOf(E)===-1)throw new TypeError(\"Invalid direction: \"+E);if(E===h[0])M(m,x);else if(E===h[1])M(m,x),m.right2left();else if(E===h[2])M(m,x);else if(E===h[3])M(m,x),m.bottom2top();else if(E===h[4]||E===h[5]){var j=f(m,x),L=j.left,A=j.right;M(L,x),M(A,x),x.isHorizontal?L.right2left():L.bottom2top(),A.translate(L.x-A.x,L.y-A.y),m.x=L.x,m.y=A.y;var J=m.getBoundingBox();x.isHorizontal?J.top<0&&m.translate(0,-J.top):J.left<0&&m.translate(-J.left,0)}var q=x.fixedRoot;return q===void 0&&(q=!0),q&&m.translate(-(m.x+m.width/2+m.hgap),-(m.y+m.height/2+m.vgap)),m}},function(p,u,a){var f=a(6),h={getId:function(s){return s.id||s.name},getPreH:function(s){return s.preH||0},getPreV:function(s){return s.preV||0},getHGap:function(s){return s.hgap||18},getVGap:function(s){return s.vgap||18},getChildren:function(s){return s.children},getHeight:function(s){return s.height||36},getWidth:function(s){var m=s.label||\" \";return s.width||18*m.split(\"\").length}};function l(s,m){var x=this;if(x.vgap=x.hgap=0,s instanceof l)return s;x.data=s;var M=m.getHGap(s),E=m.getVGap(s);return x.preH=m.getPreH(s),x.preV=m.getPreV(s),x.width=m.getWidth(s),x.height=m.getHeight(s),x.width+=x.preH,x.height+=x.preV,x.id=m.getId(s),x.x=x.y=0,x.depth=0,x.children||(x.children=[]),x.addGap(M,E),x}f.assign(l.prototype,{isRoot:function(){return this.depth===0},isLeaf:function(){return this.children.length===0},addGap:function(s,m){this.hgap+=s,this.vgap+=m,this.width+=2*s,this.height+=2*m},eachNode:function(s){for(var m,x=[this];m=x.shift();)s(m),x=m.children.concat(x)},DFTraverse:function(s){this.eachNode(s)},BFTraverse:function(s){for(var m,x=[this];m=x.shift();)s(m),x=x.concat(m.children)},getBoundingBox:function(){var s={left:Number.MAX_VALUE,top:Number.MAX_VALUE,width:0,height:0};return this.eachNode(function(m){s.left=Math.min(s.left,m.x),s.top=Math.min(s.top,m.y),s.width=Math.max(s.width,m.x+m.width),s.height=Math.max(s.height,m.y+m.height)}),s},translate:function(s,m){s===void 0&&(s=0),m===void 0&&(m=0),this.eachNode(function(x){x.x+=s,x.y+=m,x.x+=x.preH,x.y+=x.preV})},right2left:function(){var s=this.getBoundingBox();this.eachNode(function(m){m.x=m.x-2*(m.x-s.left)-m.width}),this.translate(s.width,0)},bottom2top:function(){var s=this.getBoundingBox();this.eachNode(function(m){m.y=m.y-2*(m.y-s.top)-m.height}),this.translate(0,s.height)}}),p.exports=function(s,m,x){m===void 0&&(m={});var M,E=new l(s,m=f.assign({},h,m)),j=[E];if(!x&&!s.collapsed){for(;M=j.shift();)if(!M.data.collapsed){var L=m.getChildren(M.data),A=L?L.length:0;if(M.children=new Array(A),L&&A)for(var J=0;J<A;J++){var q=new l(L[J],m);M.children[J]=q,j.push(q),q.parent=M,q.depth=M.depth+1}}}return E}},function(p,u,a){\"use strict\";var f=a(1);u.a=function(h,l){if(!Object(f.a)(h))return h;for(var s=[],m=0;m<h.length;m++){var x=h[m];l(x,m)&&s.push(x)}return s}},function(p,u,a){\"use strict\";var f=a(7),h=a(21);u.a=function(l,s){var m=Object(h.a)(s),x=m.length;if(Object(f.a)(l))return!x;for(var M=0;M<x;M+=1){var E=m[M];if(s[E]!==l[E]||!(E in l))return!1}return!0}},function(p,u,a){\"use strict\";var f=a(8),h=a(2),l=Object.keys?function(s){return Object.keys(s)}:function(s){var m=[];return Object(f.a)(s,function(x,M){Object(h.a)(s)&&M===\"prototype\"||m.push(M)}),m};u.a=l},function(p,u,a){\"use strict\";var f=a(0);u.a=function(h){if(Object(f.a)(h))return h.reduce(function(l,s){return Math.max(l,s)},h[0])}},function(p,u,a){\"use strict\";var f=a(0);u.a=function(h){if(Object(f.a)(h))return h.reduce(function(l,s){return Math.min(l,s)},h[0])}},function(p,u,a){\"use strict\";var f=a(1),h=Array.prototype.splice;u.a=function(l,s){if(!Object(f.a)(l))return[];for(var m=l?s.length:0,x=m-1;m--;){var M=void 0,E=s[m];m!==x&&E===M||(M=E,h.call(l,E,1))}return l}},function(p,u,a){\"use strict\";var f=a(8),h=a(0),l=a(10);u.a=function(s,m,x){if(!Object(h.a)(s)&&!Object(l.a)(s))return s;var M=x;return Object(f.a)(s,function(E,j){M=m(M,E,j)}),M}},function(p,u,a){\"use strict\";u.a=function(f,h){h===void 0&&(h=new Map);var l=[];if(Array.isArray(f))for(var s=0,m=f.length;s<m;s++){var x=f[s];h.has(x)||(l.push(x),h.set(x,!0))}return l}},function(p,u,a){\"use strict\";u.a=function(s,m){if(!m)return{0:s};if(!Object(h.a)(m)){var x=Object(f.a)(m)?m:m.replace(/\\s+/g,\"\").split(\"*\");m=function(M){for(var E=\"_\",j=0,L=x.length;j<L;j++)E+=M[x[j]]&&M[x[j]].toString();return E}}return Object(l.a)(s,m)};var f=a(0),h=a(2),l=a(28)},function(p,u,a){\"use strict\";var f=a(0),h=a(2),l=Object.prototype.hasOwnProperty;u.a=function(s,m){if(!m||!Object(f.a)(s))return{};for(var x,M={},E=Object(h.a)(m)?m:function(A){return A[m]},j=0;j<s.length;j++){var L=s[j];x=E(L),l.call(M,x)?M[x].push(L):M[x]=[L]}return M}},function(p,u,a){\"use strict\";u.a=function(f,h){return f.hasOwnProperty(h)}},function(p,u,a){\"use strict\";var f={}.toString;u.a=function(h){return f.call(h).replace(/^\\[object /,\"\").replace(/]$/,\"\")}},function(p,u,a){\"use strict\";var f=Object.prototype;u.a=function(h){var l=h&&h.constructor;return h===(typeof l==\"function\"&&l.prototype||f)}},function(p,u,a){\"use strict\";var f=a(2);u.a=function(h,l){if(!Object(f.a)(h))throw new TypeError(\"Expected a function\");var s=function m(){for(var x=[],M=0;M<arguments.length;M++)x[M]=arguments[M];var E=l?l.apply(this,x):x[0],j=m.cache;if(j.has(E))return j.get(E);var L=h.apply(this,x);return j.set(E,L),L};return s.cache=new Map,s}},function(p,u,a){\"use strict\";var f=a(14),h=a(1),l=a(4);u.a=function s(m,x){if(m===x)return!0;if(!m||!x||Object(l.a)(m)||Object(l.a)(x))return!1;if(Object(h.a)(m)||Object(h.a)(x)){if(m.length!==x.length)return!1;for(var M=!0,E=0;E<m.length&&(M=s(m[E],x[E]));E++);return M}if(Object(f.a)(m)||Object(f.a)(x)){var j=Object.keys(m),L=Object.keys(x);if(j.length!==L.length)return!1;for(M=!0,E=0;E<j.length&&(M=s(m[j[E]],x[j[E]]));E++);return M}return!1}},function(p,u,a){\"use strict\";var f,h=a(116),l=a(15),s=a(32),m=a(4);u.a=Object(s.a)(function(x,M){M===void 0&&(M={});var E=M.fontSize,j=M.fontFamily,L=M.fontWeight,A=M.fontStyle,J=M.fontVariant;return f||(f=document.createElement(\"canvas\").getContext(\"2d\")),f.font=[A,J,L,E+\"px\",j].join(\" \"),f.measureText(Object(m.a)(x)?x:\"\").width},function(x,M){return M===void 0&&(M={}),Object(h.a)([x],Object(l.a)(M)).join(\"\")})},function(p,u,a){var f=a(18);p.exports=function(h,l){for(var s=f(h.data,l,!0),m=f(h.data,l,!0),x=h.children.length,M=Math.round(x/2),E=l.getSide||function(A,J){return J<M?\"right\":\"left\"},j=0;j<x;j++){var L=h.children[j];E(L,j)===\"right\"?m.children.push(L):s.children.push(L)}return s.eachNode(function(A){A.isRoot()||(A.side=\"left\")}),m.eachNode(function(A){A.isRoot()||(A.side=\"right\")}),{left:s,right:m}}},function(p,u,a){var f={compactBox:a(37),dendrogram:a(120),indented:a(122),mindmap:a(124)};p.exports=f},function(p,u,a){function f(E,j){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(L,A){return L.__proto__=A,L})(E,j)}var h=a(11),l=a(119),s=a(17),m=a(6),x=function(E){var j,L;function A(){return E.apply(this,arguments)||this}return L=E,(j=A).prototype=Object.create(L.prototype),j.prototype.constructor=j,f(j,L),A.prototype.execute=function(){return s(this.rootNode,this.options,l)},A}(h),M={};p.exports=function(E,j){return j=m.assign({},M,j),new x(E,j).execute()}},function(p,u,a){\"use strict\";Object.defineProperty(u,\"__esModule\",{value:!0});var f=a(13);a.d(u,\"contains\",function(){return f.a}),a.d(u,\"includes\",function(){return f.a});var h=a(39);a.d(u,\"difference\",function(){return h.a});var l=a(40);a.d(u,\"find\",function(){return l.a});var s=a(41);a.d(u,\"findIndex\",function(){return s.a});var m=a(42);a.d(u,\"firstValue\",function(){return m.a});var x=a(43);a.d(u,\"flatten\",function(){return x.a});var M=a(44);a.d(u,\"flattenDeep\",function(){return M.a});var E=a(45);a.d(u,\"getRange\",function(){return E.a});var j=a(46);a.d(u,\"pull\",function(){return j.a});var L=a(24);a.d(u,\"pullAt\",function(){return L.a});var A=a(25);a.d(u,\"reduce\",function(){return A.a});var J=a(47);a.d(u,\"remove\",function(){return J.a});var q=a(48);a.d(u,\"sortBy\",function(){return q.a});var re=a(49);a.d(u,\"union\",function(){return re.a});var me=a(26);a.d(u,\"uniq\",function(){return me.a});var Te=a(50);a.d(u,\"valuesOfKey\",function(){return Te.a});var ee=a(51);a.d(u,\"head\",function(){return ee.a});var xe=a(52);a.d(u,\"last\",function(){return xe.a});var Ie=a(53);a.d(u,\"startsWith\",function(){return Ie.a});var Le=a(54);a.d(u,\"endsWith\",function(){return Le.a});var De=a(19);a.d(u,\"filter\",function(){return De.a});var ce=a(55);a.d(u,\"every\",function(){return ce.a});var ye=a(56);a.d(u,\"some\",function(){return ye.a});var Oe=a(57);a.d(u,\"group\",function(){return Oe.a});var Ce=a(28);a.d(u,\"groupBy\",function(){return Ce.a});var oe=a(27);a.d(u,\"groupToMap\",function(){return oe.a});var he=a(58);a.d(u,\"getWrapBehavior\",function(){return he.a});var ie=a(59);a.d(u,\"wrapBehavior\",function(){return ie.a});var ae=a(60);a.d(u,\"number2color\",function(){return ae.a});var ve=a(61);a.d(u,\"parseRadius\",function(){return ve.a});var X=a(62);a.d(u,\"clamp\",function(){return X.a});var se=a(63);a.d(u,\"fixedBase\",function(){return se.a});var fe=a(64);a.d(u,\"isDecimal\",function(){return fe.a});var _e=a(65);a.d(u,\"isEven\",function(){return _e.a});var be=a(66);a.d(u,\"isInteger\",function(){return be.a});var We=a(67);a.d(u,\"isNegative\",function(){return We.a});var we=a(68);a.d(u,\"isNumberEqual\",function(){return we.a});var Ze=a(69);a.d(u,\"isOdd\",function(){return Ze.a});var Ve=a(70);a.d(u,\"isPositive\",function(){return Ve.a});var et=a(22);a.d(u,\"max\",function(){return et.a});var ht=a(71);a.d(u,\"maxBy\",function(){return ht.a});var Fe=a(23);a.d(u,\"min\",function(){return Fe.a});var mt=a(72);a.d(u,\"minBy\",function(){return mt.a});var dt=a(73);a.d(u,\"mod\",function(){return dt.a});var Lt=a(74);a.d(u,\"toDegree\",function(){return Lt.a});var lt=a(75);a.d(u,\"toInteger\",function(){return lt.a});var rn=a(76);a.d(u,\"toRadian\",function(){return rn.a});var qt=a(77);a.d(u,\"forIn\",function(){return qt.a});var hn=a(29);a.d(u,\"has\",function(){return hn.a});var Kt=a(78);a.d(u,\"hasKey\",function(){return Kt.a});var an=a(79);a.d(u,\"hasValue\",function(){return an.a});var In=a(21);a.d(u,\"keys\",function(){return In.a});var Ft=a(20);a.d(u,\"isMatch\",function(){return Ft.a});var kt=a(15);a.d(u,\"values\",function(){return kt.a});var At=a(80);a.d(u,\"lowerCase\",function(){return At.a});var Fn=a(81);a.d(u,\"lowerFirst\",function(){return Fn.a});var pn=a(82);a.d(u,\"substitute\",function(){return pn.a});var en=a(83);a.d(u,\"upperCase\",function(){return en.a});var Wn=a(84);a.d(u,\"upperFirst\",function(){return Wn.a});var Mn=a(30);a.d(u,\"getType\",function(){return Mn.a});var Kn=a(85);a.d(u,\"isArguments\",function(){return Kn.a});var hr=a(0);a.d(u,\"isArray\",function(){return hr.a});var pr=a(1);a.d(u,\"isArrayLike\",function(){return pr.a});var zr=a(86);a.d(u,\"isBoolean\",function(){return zr.a});var Wr=a(87);a.d(u,\"isDate\",function(){return Wr.a});var Nr=a(88);a.d(u,\"isError\",function(){return Nr.a});var Kr=a(2);a.d(u,\"isFunction\",function(){return Kr.a});var ko=a(89);a.d(u,\"isFinite\",function(){return ko.a});var Ur=a(7);a.d(u,\"isNil\",function(){return Ur.a});var gn=a(90);a.d(u,\"isNull\",function(){return gn.a});var Gt=a(5);a.d(u,\"isNumber\",function(){return Gt.a});var bt=a(12);a.d(u,\"isObject\",function(){return bt.a});var Zt=a(14);a.d(u,\"isObjectLike\",function(){return Zt.a});var gt=a(10);a.d(u,\"isPlainObject\",function(){return gt.a});var Wt=a(31);a.d(u,\"isPrototype\",function(){return Wt.a});var xn=a(91);a.d(u,\"isRegExp\",function(){return xn.a});var Dt=a(4);a.d(u,\"isString\",function(){return Dt.a});var Xn=a(3);a.d(u,\"isType\",function(){return Xn.a});var Rn=a(92);a.d(u,\"isUndefined\",function(){return Rn.a});var wt=a(93);a.d(u,\"isElement\",function(){return wt.a});var pt=a(94);a.d(u,\"requestAnimationFrame\",function(){return pt.a});var Ue=a(95);a.d(u,\"clearAnimationFrame\",function(){return Ue.a});var xt=a(96);a.d(u,\"augment\",function(){return xt.a});var cn=a(97);a.d(u,\"clone\",function(){return cn.a});var er=a(98);a.d(u,\"debounce\",function(){return er.a});var Mr=a(32);a.d(u,\"memoize\",function(){return Mr.a});var xr=a(99);a.d(u,\"deepMix\",function(){return xr.a});var jr=a(8);a.d(u,\"each\",function(){return jr.a});var yo=a(100);a.d(u,\"extend\",function(){return yo.a});var eo=a(101);a.d(u,\"indexOf\",function(){return eo.a});var vi=a(102);a.d(u,\"isEmpty\",function(){return vi.a});var Ti=a(33);a.d(u,\"isEqual\",function(){return Ti.a});var wi=a(103);a.d(u,\"isEqualWith\",function(){return wi.a});var mi=a(104);a.d(u,\"map\",function(){return mi.a});var Zi=a(105);a.d(u,\"mapValues\",function(){return Zi.a});var aa=a(16);a.d(u,\"mix\",function(){return aa.a}),a.d(u,\"assign\",function(){return aa.a});var $e=a(106);a.d(u,\"get\",function(){return $e.a});var dn=a(107);a.d(u,\"set\",function(){return dn.a});var Un=a(108);a.d(u,\"pick\",function(){return Un.a});var ar=a(109);a.d(u,\"omit\",function(){return ar.a});var Rr=a(110);a.d(u,\"throttle\",function(){return Rr.a});var Ro=a(111);a.d(u,\"toArray\",function(){return Ro.a});var Vo=a(9);a.d(u,\"toString\",function(){return Vo.a});var Co=a(112);a.d(u,\"uniqueId\",function(){return Co.a});var Mo=a(113);a.d(u,\"noop\",function(){return Mo.a});var qo=a(114);a.d(u,\"identity\",function(){return qo.a});var ti=a(115);a.d(u,\"size\",function(){return ti.a});var pi=a(34);a.d(u,\"measureTextWidth\",function(){return pi.a});var ni=a(117);a.d(u,\"getEllipsisText\",function(){return ni.a});var si=a(118);a.d(u,\"Cache\",function(){return si.a})},function(p,u,a){\"use strict\";var f=a(19),h=a(13);u.a=function(l,s){return s===void 0&&(s=[]),Object(f.a)(l,function(m){return!Object(h.a)(s,m)})}},function(p,u,a){\"use strict\";var f=a(2),h=a(20),l=a(0),s=a(10);u.a=function(m,x){if(!Object(l.a)(m))return null;var M;if(Object(f.a)(x)&&(M=x),Object(s.a)(x)&&(M=function(j){return Object(h.a)(j,x)}),M){for(var E=0;E<m.length;E+=1)if(M(m[E]))return m[E]}return null}},function(p,u,a){\"use strict\";u.a=function(f,h,l){l===void 0&&(l=0);for(var s=l;s<f.length;s++)if(h(f[s],s))return s;return-1}},function(p,u,a){\"use strict\";var f=a(7),h=a(0);u.a=function(l,s){for(var m=null,x=0;x<l.length;x++){var M=l[x][s];if(!Object(f.a)(M)){m=Object(h.a)(M)?M[0]:M;break}}return m}},function(p,u,a){\"use strict\";var f=a(0);u.a=function(h){if(!Object(f.a)(h))return[];for(var l=[],s=0;s<h.length;s++)l=l.concat(h[s]);return l}},function(p,u,a){\"use strict\";var f=a(0);u.a=function h(l,s){if(s===void 0&&(s=[]),Object(f.a)(l))for(var m=0;m<l.length;m+=1)h(l[m],s);else s.push(l);return s}},function(p,u,a){\"use strict\";var f=a(0),h=a(22),l=a(23);u.a=function(s){var m=s.filter(function(j){return!isNaN(j)});if(!m.length)return{min:0,max:0};if(Object(f.a)(s[0])){for(var x=[],M=0;M<s.length;M++)x=x.concat(s[M]);m=x}var E=Object(h.a)(m);return{min:Object(l.a)(m),max:E}}},function(p,u,a){\"use strict\";var f=Array.prototype,h=f.splice,l=f.indexOf;u.a=function(s){for(var m=[],x=1;x<arguments.length;x++)m[x-1]=arguments[x];for(var M=0;M<m.length;M++)for(var E=m[M],j=-1;(j=l.call(s,E))>-1;)h.call(s,j,1);return s}},function(p,u,a){\"use strict\";var f=a(1),h=a(24);u.a=function(l,s){var m=[];if(!Object(f.a)(l))return m;for(var x=-1,M=[],E=l.length;++x<E;){var j=l[x];s(j,x,l)&&(m.push(j),M.push(x))}return Object(h.a)(l,M),m}},function(p,u,a){\"use strict\";var f=a(0),h=a(4),l=a(2);u.a=function(s,m){var x;if(Object(l.a)(m))x=function(E,j){return m(E)-m(j)};else{var M=[];Object(h.a)(m)?M.push(m):Object(f.a)(m)&&(M=m),x=function(E,j){for(var L=0;L<M.length;L+=1){var A=M[L];if(E[A]>j[A])return 1;if(E[A]<j[A])return-1}return 0}}return s.sort(x),s}},function(p,u,a){\"use strict\";var f=a(26);u.a=function(){for(var h=[],l=0;l<arguments.length;l++)h[l]=arguments[l];return Object(f.a)([].concat.apply([],h))}},function(p,u,a){\"use strict\";var f=a(0),h=a(7);u.a=function(l,s){for(var m=[],x={},M=0;M<l.length;M++){var E=l[M][s];if(!Object(h.a)(E)){Object(f.a)(E)||(E=[E]);for(var j=0;j<E.length;j++){var L=E[j];x[L]||(m.push(L),x[L]=!0)}}}return m}},function(p,u,a){\"use strict\";u.a=function(h){if(Object(f.a)(h))return h[0]};var f=a(1)},function(p,u,a){\"use strict\";u.a=function(h){if(Object(f.a)(h))return h[h.length-1]};var f=a(1)},function(p,u,a){\"use strict\";var f=a(0),h=a(4);u.a=function(l,s){return!(!Object(f.a)(l)&&!Object(h.a)(l))&&l[0]===s}},function(p,u,a){\"use strict\";var f=a(0),h=a(4);u.a=function(l,s){return!(!Object(f.a)(l)&&!Object(h.a)(l))&&l[l.length-1]===s}},function(p,u,a){\"use strict\";u.a=function(f,h){for(var l=0;l<f.length;l++)if(!h(f[l],l))return!1;return!0}},function(p,u,a){\"use strict\";u.a=function(f,h){for(var l=0;l<f.length;l++)if(h(f[l],l))return!0;return!1}},function(p,u,a){\"use strict\";var f=a(27);u.a=function(h,l){if(!l)return[h];var s=Object(f.a)(h,l),m=[];for(var x in s)m.push(s[x]);return m}},function(p,u,a){\"use strict\";u.a=function(f,h){return f[\"_wrap_\"+h]}},function(p,u,a){\"use strict\";u.a=function(f,h){if(f[\"_wrap_\"+h])return f[\"_wrap_\"+h];var l=function(s){f[h](s)};return f[\"_wrap_\"+h]=l,l}},function(p,u,a){\"use strict\";var f={};u.a=function(h){var l=f[h];if(!l){for(var s=h.toString(16),m=s.length;m<6;m++)s=\"0\"+s;l=\"#\"+s,f[h]=l}return l}},function(p,u,a){\"use strict\";var f=a(0);u.a=function(h){var l=0,s=0,m=0,x=0;return Object(f.a)(h)?h.length===1?l=s=m=x=h[0]:h.length===2?(l=m=h[0],s=x=h[1]):h.length===3?(l=h[0],s=x=h[1],m=h[2]):(l=h[0],s=h[1],m=h[2],x=h[3]):l=s=m=x=h,{r1:l,r2:s,r3:m,r4:x}}},function(p,u,a){\"use strict\";u.a=function(f,h,l){return f<h?h:f>l?l:f}},function(p,u,a){\"use strict\";u.a=function(f,h){var l=h.toString(),s=l.indexOf(\".\");if(s===-1)return Math.round(f);var m=l.substr(s+1).length;return m>20&&(m=20),parseFloat(f.toFixed(m))}},function(p,u,a){\"use strict\";var f=a(5);u.a=function(h){return Object(f.a)(h)&&h%1!=0}},function(p,u,a){\"use strict\";var f=a(5);u.a=function(h){return Object(f.a)(h)&&h%2==0}},function(p,u,a){\"use strict\";var f=a(5),h=Number.isInteger?Number.isInteger:function(l){return Object(f.a)(l)&&l%1==0};u.a=h},function(p,u,a){\"use strict\";var f=a(5);u.a=function(h){return Object(f.a)(h)&&h<0}},function(p,u,a){\"use strict\";u.a=function(f,h,l){return l===void 0&&(l=1e-5),Math.abs(f-h)<l}},function(p,u,a){\"use strict\";var f=a(5);u.a=function(h){return Object(f.a)(h)&&h%2!=0}},function(p,u,a){\"use strict\";var f=a(5);u.a=function(h){return Object(f.a)(h)&&h>0}},function(p,u,a){\"use strict\";var f=a(0),h=a(2);u.a=function(l,s){if(Object(f.a)(l)){for(var m,x=-1/0,M=0;M<l.length;M++){var E=l[M],j=Object(h.a)(s)?s(E):E[s];j>x&&(m=E,x=j)}return m}}},function(p,u,a){\"use strict\";var f=a(0),h=a(2);u.a=function(l,s){if(Object(f.a)(l)){for(var m,x=1/0,M=0;M<l.length;M++){var E=l[M],j=Object(h.a)(s)?s(E):E[s];j<x&&(m=E,x=j)}return m}}},function(p,u,a){\"use strict\";u.a=function(f,h){return(f%h+h)%h}},function(p,u,a){\"use strict\";var f=180/Math.PI;u.a=function(h){return f*h}},function(p,u,a){\"use strict\";u.a=parseInt},function(p,u,a){\"use strict\";var f=Math.PI/180;u.a=function(h){return f*h}},function(p,u,a){\"use strict\";var f=a(8);u.a=f.a},function(p,u,a){\"use strict\";var f=a(29);u.a=f.a},function(p,u,a){\"use strict\";var f=a(13),h=a(15);u.a=function(l,s){return Object(f.a)(Object(h.a)(l),s)}},function(p,u,a){\"use strict\";var f=a(9);u.a=function(h){return Object(f.a)(h).toLowerCase()}},function(p,u,a){\"use strict\";var f=a(9);u.a=function(h){var l=Object(f.a)(h);return l.charAt(0).toLowerCase()+l.substring(1)}},function(p,u,a){\"use strict\";u.a=function(f,h){return f&&h?f.replace(/\\\\?\\{([^{}]+)\\}/g,function(l,s){return l.charAt(0)===\"\\\\\"?l.slice(1):h[s]===void 0?\"\":h[s]}):f}},function(p,u,a){\"use strict\";var f=a(9);u.a=function(h){return Object(f.a)(h).toUpperCase()}},function(p,u,a){\"use strict\";var f=a(9);u.a=function(h){var l=Object(f.a)(h);return l.charAt(0).toUpperCase()+l.substring(1)}},function(p,u,a){\"use strict\";var f=a(3);u.a=function(h){return Object(f.a)(h,\"Arguments\")}},function(p,u,a){\"use strict\";var f=a(3);u.a=function(h){return Object(f.a)(h,\"Boolean\")}},function(p,u,a){\"use strict\";var f=a(3);u.a=function(h){return Object(f.a)(h,\"Date\")}},function(p,u,a){\"use strict\";var f=a(3);u.a=function(h){return Object(f.a)(h,\"Error\")}},function(p,u,a){\"use strict\";var f=a(5);u.a=function(h){return Object(f.a)(h)&&isFinite(h)}},function(p,u,a){\"use strict\";u.a=function(f){return f===null}},function(p,u,a){\"use strict\";var f=a(3);u.a=function(h){return Object(f.a)(h,\"RegExp\")}},function(p,u,a){\"use strict\";u.a=function(f){return f===void 0}},function(p,u,a){\"use strict\";u.a=function(f){return f instanceof Element||f instanceof HTMLDocument}},function(p,u,a){\"use strict\";u.a=function(f){return(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(h){return setTimeout(h,16)})(f)}},function(p,u,a){\"use strict\";u.a=function(f){(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame||clearTimeout)(f)}},function(p,u,a){\"use strict\";var f=a(16),h=a(2);u.a=function(){for(var l=[],s=0;s<arguments.length;s++)l[s]=arguments[s];for(var m=l[0],x=1;x<l.length;x++){var M=l[x];Object(h.a)(M)&&(M=M.prototype),Object(f.a)(m.prototype,M)}}},function(p,u,a){\"use strict\";var f=a(0);u.a=function h(l){if(b(l)!==\"object\"||l===null)return l;var s;if(Object(f.a)(l)){s=[];for(var m=0,x=l.length;m<x;m++)b(l[m])===\"object\"&&l[m]!=null?s[m]=h(l[m]):s[m]=l[m]}else for(var M in s={},l)b(l[M])===\"object\"&&l[M]!=null?s[M]=h(l[M]):s[M]=l[M];return s}},function(p,u,a){\"use strict\";u.a=function(f,h,l){var s;return function(){var m=this,x=arguments,M=function(){s=null,l||f.apply(m,x)},E=l&&!s;clearTimeout(s),s=setTimeout(M,h),E&&f.apply(m,x)}}},function(p,u,a){\"use strict\";var f=a(0),h=a(10);function l(s,m,x,M){for(var E in x=x||0,M=M||5,m)if(m.hasOwnProperty(E)){var j=m[E];j!==null&&Object(h.a)(j)?(Object(h.a)(s[E])||(s[E]={}),x<M?l(s[E],j,x+1,M):s[E]=m[E]):Object(f.a)(j)?(s[E]=[],s[E]=s[E].concat(j)):j!==void 0&&(s[E]=j)}}u.a=function(s){for(var m=[],x=1;x<arguments.length;x++)m[x-1]=arguments[x];for(var M=0;M<m.length;M+=1)l(s,m[M]);return s}},function(p,u,a){\"use strict\";var f=a(16),h=a(2);u.a=function(l,s,m,x){Object(h.a)(s)||(m=s,s=l,l=function(){});var M=Object.create?function(j,L){return Object.create(j,{constructor:{value:L}})}:function(j,L){function A(){}A.prototype=j;var J=new A;return J.constructor=L,J},E=M(s.prototype,l);return l.prototype=Object(f.a)(E,l.prototype),l.superclass=M(s.prototype,s),Object(f.a)(E,m),Object(f.a)(l,x),l}},function(p,u,a){\"use strict\";var f=a(1);u.a=function(h,l){if(!Object(f.a)(h))return-1;var s=Array.prototype.indexOf;if(s)return s.call(h,l);for(var m=-1,x=0;x<h.length;x++)if(h[x]===l){m=x;break}return m}},function(p,u,a){\"use strict\";var f=a(7),h=a(1),l=a(30),s=a(31),m=Object.prototype.hasOwnProperty;u.a=function(x){if(Object(f.a)(x))return!0;if(Object(h.a)(x))return!x.length;var M=Object(l.a)(x);if(M===\"Map\"||M===\"Set\")return!x.size;if(Object(s.a)(x))return!Object.keys(x).length;for(var E in x)if(m.call(x,E))return!1;return!0}},function(p,u,a){\"use strict\";var f=a(2),h=a(33);u.a=function(l,s,m){return Object(f.a)(m)?!!m(l,s):Object(h.a)(l,s)}},function(p,u,a){\"use strict\";var f=a(1);u.a=function(h,l){if(!Object(f.a)(h))return h;for(var s=[],m=0;m<h.length;m++){var x=h[m];s.push(l(x,m))}return s}},function(p,u,a){\"use strict\";var f=a(7),h=a(12),l=function(s){return s};u.a=function(s,m){m===void 0&&(m=l);var x={};return Object(h.a)(s)&&!Object(f.a)(s)&&Object.keys(s).forEach(function(M){x[M]=m(s[M],M)}),x}},function(p,u,a){\"use strict\";var f=a(4);u.a=function(h,l,s){for(var m=0,x=Object(f.a)(l)?l.split(\".\"):l;h&&m<x.length;)h=h[x[m++]];return h===void 0||m<x.length?s:h}},function(p,u,a){\"use strict\";var f=a(12),h=a(4),l=a(5);u.a=function(s,m,x){var M=s,E=Object(h.a)(m)?m.split(\".\"):m;return E.forEach(function(j,L){L<E.length-1?(Object(f.a)(M[j])||(M[j]=Object(l.a)(E[L+1])?[]:{}),M=M[j]):M[j]=x}),s}},function(p,u,a){\"use strict\";var f=a(8),h=a(10),l=Object.prototype.hasOwnProperty;u.a=function(s,m){if(s===null||!Object(h.a)(s))return{};var x={};return Object(f.a)(m,function(M){l.call(s,M)&&(x[M]=s[M])}),x}},function(p,u,a){\"use strict\";var f=a(25);u.a=function(h,l){return Object(f.a)(h,function(s,m,x){return l.includes(x)||(s[x]=m),s},{})}},function(p,u,a){\"use strict\";u.a=function(f,h,l){var s,m,x,M,E=0;l||(l={});var j=function(){E=l.leading===!1?0:Date.now(),s=null,M=f.apply(m,x),s||(m=x=null)},L=function(){var A=Date.now();E||l.leading!==!1||(E=A);var J=h-(A-E);return m=this,x=arguments,J<=0||J>h?(s&&(clearTimeout(s),s=null),E=A,M=f.apply(m,x),s||(m=x=null)):s||l.trailing===!1||(s=setTimeout(j,J)),M};return L.cancel=function(){clearTimeout(s),E=0,s=m=x=null},L}},function(p,u,a){\"use strict\";var f=a(1);u.a=function(h){return Object(f.a)(h)?Array.prototype.slice.call(h):[]}},function(p,u,a){\"use strict\";var f={};u.a=function(h){return f[h=h||\"g\"]?f[h]+=1:f[h]=1,h+f[h]}},function(p,u,a){\"use strict\";u.a=function(){}},function(p,u,a){\"use strict\";u.a=function(f){return f}},function(p,u,a){\"use strict\";u.a=function(l){return Object(f.a)(l)?0:Object(h.a)(l)?l.length:Object.keys(l).length};var f=a(7),h=a(1)},function(p,u,a){\"use strict\";u.a=function(){for(var f=0,h=0,l=arguments.length;h<l;h++)f+=arguments[h].length;var s=Array(f),m=0;for(h=0;h<l;h++)for(var x=arguments[h],M=0,E=x.length;M<E;M++,m++)s[m]=x[M];return s}},function(p,u,a){\"use strict\";var f=a(4),h=a(9),l=a(34);u.a=function(s,m,x,M){M===void 0&&(M=\"...\");var E,j,L=Object(l.a)(M,x),A=Object(f.a)(s)?s:Object(h.a)(s),J=m,q=[];if(Object(l.a)(s,x)<=m)return s;for(;E=A.substr(0,16),!((j=Object(l.a)(E,x))+L>J&&j>J);)if(q.push(E),J-=j,!(A=A.substr(16)))return q.join(\"\");for(;E=A.substr(0,1),!((j=Object(l.a)(E,x))+L>J);)if(q.push(E),J-=j,!(A=A.substr(1)))return q.join(\"\");return\"\"+q.join(\"\")+M}},function(p,u,a){\"use strict\";var f=function(){function h(){this.map={}}return h.prototype.has=function(l){return this.map[l]!==void 0},h.prototype.get=function(l,s){var m=this.map[l];return m===void 0?s:m},h.prototype.set=function(l,s){this.map[l]=s},h.prototype.clear=function(){this.map={}},h.prototype.delete=function(l){delete this.map[l]},h.prototype.size=function(){return Object.keys(this.map).length},h}();u.a=f},function(p,u){function a(h,l,s,m){m===void 0&&(m=[]);var x=this;x.w=h||0,x.h=l||0,x.y=s||0,x.x=0,x.c=m||[],x.cs=m.length,x.prelim=0,x.mod=0,x.shift=0,x.change=0,x.tl=null,x.tr=null,x.el=null,x.er=null,x.msel=0,x.mser=0}function f(h,l){var s=function m(x,M){var E=M?x.y:x.x;return x.children.forEach(function(j){E=Math.min(m(j,M),E)}),E}(h,l);(function m(x,M,E){E?x.y+=M:x.x+=M,x.children.forEach(function(j){m(j,M,E)})})(h,-s,l)}a.fromNode=function(h,l){if(!h)return null;var s=[];return h.children.forEach(function(m){s.push(a.fromNode(m,l))}),l?new a(h.height,h.width,h.x,s):new a(h.width,h.height,h.y,s)},p.exports=function(h,l){l===void 0&&(l={});var s=l.isHorizontal;function m(q){q.cs===0?(q.el=q,q.er=q,q.msel=q.mser=0):(q.el=q.c[0].el,q.msel=q.c[0].msel,q.er=q.c[q.cs-1].er,q.mser=q.c[q.cs-1].mser)}function x(q,re,me){for(var Te=q.c[re-1],ee=Te.mod,xe=q.c[re],Ie=xe.mod;Te!==null&&xe!==null;){L(Te)>me.low&&(me=me.nxt);var Le=ee+Te.prelim+Te.w-(Ie+xe.prelim);Le>0&&(Ie+=Le,M(q,re,me.index,Le));var De=L(Te),ce=L(xe);De<=ce&&(Te=j(Te))!==null&&(ee+=Te.mod),De>=ce&&(xe=E(xe))!==null&&(Ie+=xe.mod)}!Te&&xe?function(ye,Oe,Ce,oe){var he=ye.c[0].el;he.tl=Ce;var ie=oe-Ce.mod-ye.c[0].msel;he.mod+=ie,he.prelim-=ie,ye.c[0].el=ye.c[Oe].el,ye.c[0].msel=ye.c[Oe].msel}(q,re,xe,Ie):Te&&!xe&&function(ye,Oe,Ce,oe){var he=ye.c[Oe].er;he.tr=Ce;var ie=oe-Ce.mod-ye.c[Oe].mser;he.mod+=ie,he.prelim-=ie,ye.c[Oe].er=ye.c[Oe-1].er,ye.c[Oe].mser=ye.c[Oe-1].mser}(q,re,Te,ee)}function M(q,re,me,Te){q.c[re].mod+=Te,q.c[re].msel+=Te,q.c[re].mser+=Te,function(ee,xe,Ie,Le){if(Ie!==xe-1){var De=xe-Ie;ee.c[Ie+1].shift+=Le/De,ee.c[xe].shift-=Le/De,ee.c[xe].change-=Le-Le/De}}(q,re,me,Te)}function E(q){return q.cs===0?q.tl:q.c[0]}function j(q){return q.cs===0?q.tr:q.c[q.cs-1]}function L(q){return q.y+q.h}function A(q,re,me){for(;me!==null&&q>=me.low;)me=me.nxt;return{low:q,index:re,nxt:me}}(function q(re,me,Te){Te===void 0&&(Te=0),me?(re.x=Te,Te+=re.width):(re.y=Te,Te+=re.height),re.children.forEach(function(ee){q(ee,me,Te)})})(h,s);var J=a.fromNode(h,s);return function q(re){if(re.cs!==0){q(re.c[0]);for(var me=A(L(re.c[0].el),0,null),Te=1;Te<re.cs;++Te){q(re.c[Te]);var ee=L(re.c[Te].er);x(re,Te,me),me=A(ee,Te,me)}(function(xe){xe.prelim=(xe.c[0].prelim+xe.c[0].mod+xe.c[xe.cs-1].mod+xe.c[xe.cs-1].prelim+xe.c[xe.cs-1].w)/2-xe.w/2})(re),m(re)}else m(re)}(J),function q(re,me){me+=re.mod,re.x=re.prelim+me,function(ee){for(var xe=0,Ie=0,Le=0;Le<ee.cs;Le++)xe+=ee.c[Le].shift,Ie+=xe+ee.c[Le].change,ee.c[Le].mod+=Ie}(re);for(var Te=0;Te<re.cs;Te++)q(re.c[Te],me)}(J,0),function q(re,me,Te){Te?me.y=re.x:me.x=re.x,re.c.forEach(function(ee,xe){q(ee,me.children[xe],Te)})}(J,h,s),f(h,s),h}},function(p,u,a){function f(E,j){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(L,A){return L.__proto__=A,L})(E,j)}var h=a(11),l=a(121),s=a(17),m=a(6),x=function(E){var j,L;function A(){return E.apply(this,arguments)||this}return L=E,(j=A).prototype=Object.create(L.prototype),j.prototype.constructor=j,f(j,L),A.prototype.execute=function(){return this.rootNode.width=0,s(this.rootNode,this.options,l)},A}(h),M={};p.exports=function(E,j){return j=m.assign({},M,j),new x(E,j).execute()}},function(p,u,a){var f=a(6);function h(s,m){s===void 0&&(s=0),m===void 0&&(m=[]);var x=this;x.x=x.y=0,x.leftChild=x.rightChild=null,x.height=0,x.children=m}var l={isHorizontal:!0,nodeSep:20,nodeSize:20,rankSep:200,subTreeSep:10};p.exports=function(s,m){m===void 0&&(m={}),m=f.assign({},l,m);var x,M=0,E=function j(L){if(!L)return null;L.width=0,L.depth&&L.depth>M&&(M=L.depth);var A=L.children,J=A.length,q=new h(L.height,[]);return A.forEach(function(re,me){var Te=j(re);q.children.push(Te),me===0&&(q.leftChild=Te),me===J-1&&(q.rightChild=Te)}),q.originNode=L,q.isLeaf=L.isLeaf(),q}(s);return function j(L){if(L.isLeaf||L.children.length===0)L.drawingDepth=M;else{var A=L.children.map(function(q){return j(q)}),J=Math.min.apply(null,A);L.drawingDepth=J-1}return L.drawingDepth}(E),function j(L){L.x=L.drawingDepth*m.rankSep,L.isLeaf?(L.y=0,x&&(L.y=x.y+x.height+m.nodeSep,L.originNode.parent!==x.originNode.parent&&(L.y+=m.subTreeSep)),x=L):(L.children.forEach(function(A){j(A)}),L.y=(L.leftChild.y+L.rightChild.y)/2)}(E),function j(L,A,J){J?(A.x=L.x,A.y=L.y):(A.x=L.y,A.y=L.x),L.children.forEach(function(q,re){j(q,A.children[re],J)})}(E,s,m.isHorizontal),s}},function(p,u,a){function f(L,A){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(J,q){return J.__proto__=q,J})(L,A)}var h=a(11),l=a(123),s=a(35),m=a(6),x=[\"LR\",\"RL\",\"H\"],M=x[0],E=function(L){var A,J;function q(){return L.apply(this,arguments)||this}return J=L,(A=q).prototype=Object.create(J.prototype),A.prototype.constructor=A,f(A,J),q.prototype.execute=function(){var re=this.options,me=this.rootNode;re.isHorizontal=!0;var Te=re.indent,ee=Te===void 0?20:Te,xe=re.dropCap,Ie=xe===void 0||xe,Le=re.direction,De=Le===void 0?M:Le,ce=re.align;if(De&&x.indexOf(De)===-1)throw new TypeError(\"Invalid direction: \"+De);if(De===x[0])l(me,ee,Ie,ce);else if(De===x[1])l(me,ee,Ie,ce),me.right2left();else if(De===x[2]){var ye=s(me,re),Oe=ye.left,Ce=ye.right;l(Oe,ee,Ie,ce),Oe.right2left(),l(Ce,ee,Ie,ce);var oe=Oe.getBoundingBox();Ce.translate(oe.width,0),me.x=Ce.x-me.width/2}return me},q}(h),j={};p.exports=function(L,A){return A=m.assign({},j,A),new E(L,A).execute()}},function(p,u,a){var f=a(6);p.exports=function(h,l,s,m){var x=null;h.eachNode(function(M){(function(E,j,L,A,J){var q=typeof L==\"function\"?L(E):L*E.depth;if(!A)try{if(E.id===E.parent.children[0].id)return E.x+=q,void(E.y=j?j.y:0)}catch(Te){}if(E.x+=q,j){if(E.y=j.y+f.getHeight(j,E,J),j.parent&&E.parent.id!==j.parent.id){var re=j.parent,me=re.y+f.getHeight(re,E,J);E.y=me>E.y?me:E.y}}else E.y=0})(M,x,l,s,m),x=M})}},function(p,u,a){function f(E,j){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(L,A){return L.__proto__=A,L})(E,j)}var h=a(11),l=a(125),s=a(17),m=a(6),x=function(E){var j,L;function A(){return E.apply(this,arguments)||this}return L=E,(j=A).prototype=Object.create(L.prototype),j.prototype.constructor=j,f(j,L),A.prototype.execute=function(){return s(this.rootNode,this.options,l)},A}(h),M={};p.exports=function(E,j){return j=m.assign({},M,j),new x(E,j).execute()}},function(p,u,a){var f=a(6),h={getSubTreeSep:function(){return 0}};p.exports=function(l,s){s===void 0&&(s={}),s=f.assign({},h,s),l.parent={x:0,width:0,height:0,y:0},l.BFTraverse(function(m){m.x=m.parent.x+m.parent.width}),l.parent=null,function m(x,M){var E=0;return x.children.length?x.children.forEach(function(j){E+=m(j,M)}):E=x.height,x._subTreeSep=M.getSubTreeSep(x.data),x.totalHeight=Math.max(x.height,E)+2*x._subTreeSep,x.totalHeight}(l,s),l.startY=0,l.y=l.totalHeight/2-l.height/2,l.eachNode(function(m){var x=m.children,M=x.length;if(M){var E=x[0];if(E.startY=m.startY+m._subTreeSep,M===1)E.y=m.y+m.height/2-E.height/2;else{E.y=E.startY+E.totalHeight/2-E.height/2;for(var j=1;j<M;j++){var L=x[j];L.startY=x[j-1].startY+x[j-1].totalHeight,L.y=L.startY+L.totalHeight/2-L.height/2}}}}),function m(x){var M=x.children,E=M.length;if(E){M.forEach(function(re){m(re)});var j=M[0],L=M[E-1],A=L.y-j.y+L.height,J=0;if(M.forEach(function(re){J+=re.totalHeight}),A>x.height)x.y=j.y+A/2-x.height/2;else if(M.length!==1||x.height>J){var q=x.y+(x.height-A)/2-j.y;M.forEach(function(re){re.translate(0,q)})}else x.y=(j.y+j.height/2+L.y+L.height/2)/2-x.height/2}}(l)}}])},b(c)===\"object\"&&b(y)===\"object\"?y.exports=O():(C=[],(w=typeof(N=O)==\"function\"?N.apply(c,C):N)===void 0||(y.exports=w))}).call(this,r(100)(Ee))},function(Ee,c,r){\"use strict\";function y(s){return(y=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(m){return typeof m}:function(m){return m&&typeof Symbol==\"function\"&&m.constructor===Symbol&&m!==Symbol.prototype?\"symbol\":typeof m})(s)}var N=r(144),C=r(148),w=[].slice,O=[\"keyword\",\"gray\",\"hex\"],b={};Object.keys(C).forEach(function(s){b[w.call(C[s].labels).sort().join(\"\")]=s});var p={};function u(s,m){if(!(this instanceof u))return new u(s,m);if(m&&m in O&&(m=null),m&&!(m in C))throw new Error(\"Unknown model: \"+m);var x,M;if(s==null)this.model=\"rgb\",this.color=[0,0,0],this.valpha=1;else if(s instanceof u)this.model=s.model,this.color=s.color.slice(),this.valpha=s.valpha;else if(typeof s==\"string\"){var E=N.get(s);if(E===null)throw new Error(\"Unable to parse color from string: \"+s);this.model=E.model,M=C[this.model].channels,this.color=E.value.slice(0,M),this.valpha=typeof E.value[M]==\"number\"?E.value[M]:1}else if(s.length){this.model=m||\"rgb\",M=C[this.model].channels;var j=w.call(s,0,M);this.color=l(j,M),this.valpha=typeof s[M]==\"number\"?s[M]:1}else if(typeof s==\"number\")s&=16777215,this.model=\"rgb\",this.color=[s>>16&255,s>>8&255,255&s],this.valpha=1;else{this.valpha=1;var L=Object.keys(s);\"alpha\"in s&&(L.splice(L.indexOf(\"alpha\"),1),this.valpha=typeof s.alpha==\"number\"?s.alpha:0);var A=L.sort().join(\"\");if(!(A in b))throw new Error(\"Unable to parse color from object: \"+JSON.stringify(s));this.model=b[A];var J=C[this.model].labels,q=[];for(x=0;x<J.length;x++)q.push(s[J[x]]);this.color=l(q)}if(p[this.model])for(M=C[this.model].channels,x=0;x<M;x++){var re=p[this.model][x];re&&(this.color[x]=re(this.color[x]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}function a(s,m,x){return(s=Array.isArray(s)?s:[s]).forEach(function(M){(p[M]||(p[M]=[]))[m]=x}),s=s[0],function(M){var E;return arguments.length?(x&&(M=x(M)),(E=this[s]()).color[m]=M,E):(E=this[s]().color[m],x&&(E=x(E)),E)}}function f(s){return function(m){return Math.max(0,Math.min(s,m))}}function h(s){return Array.isArray(s)?s:[s]}function l(s,m){for(var x=0;x<m;x++)typeof s[x]!=\"number\"&&(s[x]=0);return s}u.prototype={toString:function(){return this.string()},toJSON:function(){return this[this.model]()},string:function(s){var m=this.model in N.to?this:this.rgb(),x=(m=m.round(typeof s==\"number\"?s:1)).valpha===1?m.color:m.color.concat(this.valpha);return N.to[m.model](x)},percentString:function(s){var m=this.rgb().round(typeof s==\"number\"?s:1),x=m.valpha===1?m.color:m.color.concat(this.valpha);return N.to.rgb.percent(x)},array:function(){return this.valpha===1?this.color.slice():this.color.concat(this.valpha)},object:function(){for(var s={},m=C[this.model].channels,x=C[this.model].labels,M=0;M<m;M++)s[x[M]]=this.color[M];return this.valpha!==1&&(s.alpha=this.valpha),s},unitArray:function(){var s=this.rgb().color;return s[0]/=255,s[1]/=255,s[2]/=255,this.valpha!==1&&s.push(this.valpha),s},unitObject:function(){var s=this.rgb().object();return s.r/=255,s.g/=255,s.b/=255,this.valpha!==1&&(s.alpha=this.valpha),s},round:function(s){return s=Math.max(s||0,0),new u(this.color.map(function(m){return function(x){return function(M,E){return Number(M.toFixed(E))}(x,m)}}(s)).concat(this.valpha),this.model)},alpha:function(s){return arguments.length?new u(this.color.concat(Math.max(0,Math.min(1,s))),this.model):this.valpha},red:a(\"rgb\",0,f(255)),green:a(\"rgb\",1,f(255)),blue:a(\"rgb\",2,f(255)),hue:a([\"hsl\",\"hsv\",\"hsl\",\"hwb\",\"hcg\"],0,function(s){return(s%360+360)%360}),saturationl:a(\"hsl\",1,f(100)),lightness:a(\"hsl\",2,f(100)),saturationv:a(\"hsv\",1,f(100)),value:a(\"hsv\",2,f(100)),chroma:a(\"hcg\",1,f(100)),gray:a(\"hcg\",2,f(100)),white:a(\"hwb\",1,f(100)),wblack:a(\"hwb\",2,f(100)),cyan:a(\"cmyk\",0,f(100)),magenta:a(\"cmyk\",1,f(100)),yellow:a(\"cmyk\",2,f(100)),black:a(\"cmyk\",3,f(100)),x:a(\"xyz\",0,f(100)),y:a(\"xyz\",1,f(100)),z:a(\"xyz\",2,f(100)),l:a(\"lab\",0,f(100)),a:a(\"lab\",1),b:a(\"lab\",2),keyword:function(s){return arguments.length?new u(s):C[this.model].keyword(this.color)},hex:function(s){return arguments.length?new u(s):N.to.hex(this.rgb().round().color)},rgbNumber:function(){var s=this.rgb().color;return(255&s[0])<<16|(255&s[1])<<8|255&s[2]},luminosity:function(){for(var s=this.rgb().color,m=[],x=0;x<s.length;x++){var M=s[x]/255;m[x]=M<=.03928?M/12.92:Math.pow((M+.055)/1.055,2.4)}return .2126*m[0]+.7152*m[1]+.0722*m[2]},contrast:function(s){var m=this.luminosity(),x=s.luminosity();return m>x?(m+.05)/(x+.05):(x+.05)/(m+.05)},level:function(s){var m=this.contrast(s);return m>=7.1?\"AAA\":m>=4.5?\"AA\":\"\"},isDark:function(){var s=this.rgb().color;return(299*s[0]+587*s[1]+114*s[2])/1e3<128},isLight:function(){return!this.isDark()},negate:function(){for(var s=this.rgb(),m=0;m<3;m++)s.color[m]=255-s.color[m];return s},lighten:function(s){var m=this.hsl();return m.color[2]+=m.color[2]*s,m},darken:function(s){var m=this.hsl();return m.color[2]-=m.color[2]*s,m},saturate:function(s){var m=this.hsl();return m.color[1]+=m.color[1]*s,m},desaturate:function(s){var m=this.hsl();return m.color[1]-=m.color[1]*s,m},whiten:function(s){var m=this.hwb();return m.color[1]+=m.color[1]*s,m},blacken:function(s){var m=this.hwb();return m.color[2]+=m.color[2]*s,m},grayscale:function(){var s=this.rgb().color,m=.3*s[0]+.59*s[1]+.11*s[2];return u.rgb(m,m,m)},fade:function(s){return this.alpha(this.valpha-this.valpha*s)},opaquer:function(s){return this.alpha(this.valpha+this.valpha*s)},rotate:function(s){var m=this.hsl(),x=m.color[0];return x=(x=(x+s)%360)<0?360+x:x,m.color[0]=x,m},mix:function(s,m){if(!s||!s.rgb)throw new Error('Argument to \"mix\" was not a Color instance, but rather an instance of '+y(s));var x=s.rgb(),M=this.rgb(),E=m===void 0?.5:m,j=2*E-1,L=x.alpha()-M.alpha(),A=((j*L==-1?j:(j+L)/(1+j*L))+1)/2,J=1-A;return u.rgb(A*x.red()+J*M.red(),A*x.green()+J*M.green(),A*x.blue()+J*M.blue(),x.alpha()*E+M.alpha()*(1-E))}},Object.keys(C).forEach(function(s){if(O.indexOf(s)===-1){var m=C[s].channels;u.prototype[s]=function(){if(this.model===s)return new u(this);if(arguments.length)return new u(arguments,s);var x=typeof arguments[m]==\"number\"?m:this.valpha;return new u(h(C[this.model][s].raw(this.color)).concat(x),s)},u[s]=function(x){return typeof x==\"number\"&&(x=l(w.call(arguments),m)),new u(x,s)}}}),Ee.exports=u},function(Ee,c){function r(y){return Ee.exports=r=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(N){return typeof N}:function(N){return N&&typeof Symbol==\"function\"&&N.constructor===Symbol&&N!==Symbol.prototype?\"symbol\":typeof N},Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports,r(y)}Ee.exports=r,Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports},function(Ee,c,r){\"use strict\";r.d(c,\"a\",function(){return O});var y=r(5);function N(b){return Math.sqrt(b[0]*b[0]+b[1]*b[1])}function C(b,p){return N(b)*N(p)?(b[0]*p[0]+b[1]*p[1])/(N(b)*N(p)):1}function w(b,p){return(b[0]*p[1]<b[1]*p[0]?-1:1)*Math.acos(C(b,p))}function O(b,p){var u=p[1],a=p[2],f=Object(y.m)(Object(y.o)(p[3]),2*Math.PI),h=p[4],l=p[5],s=b[0],m=b[1],x=p[6],M=p[7],E=Math.cos(f)*(s-x)/2+Math.sin(f)*(m-M)/2,j=-1*Math.sin(f)*(s-x)/2+Math.cos(f)*(m-M)/2,L=E*E/(u*u)+j*j/(a*a);L>1&&(u*=Math.sqrt(L),a*=Math.sqrt(L));var A=u*u*(j*j)+a*a*(E*E),J=A?Math.sqrt((u*u*(a*a)-A)/A):1;h===l&&(J*=-1),isNaN(J)&&(J=0);var q=a?J*u*j/a:0,re=u?J*-a*E/u:0,me=(s+x)/2+Math.cos(f)*q-Math.sin(f)*re,Te=(m+M)/2+Math.sin(f)*q+Math.cos(f)*re,ee=[(E-q)/u,(j-re)/a],xe=[(-1*E-q)/u,(-1*j-re)/a],Ie=w([1,0],ee),Le=w(ee,xe);return C(ee,xe)<=-1&&(Le=Math.PI),C(ee,xe)>=1&&(Le=0),l===0&&Le>0&&(Le-=2*Math.PI),l===1&&Le<0&&(Le+=2*Math.PI),{cx:me,cy:Te,rx:Object(y.j)(b,[x,M])?0:u,ry:Object(y.j)(b,[x,M])?0:a,startAngle:Ie,endAngle:Ie+Le,xRotation:f,arcFlag:h,sweepFlag:l}}},function(Ee,c,r){var y,N,C;function w(O){return(w=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(b){return typeof b}:function(b){return b&&typeof Symbol==\"function\"&&b.constructor===Symbol&&b!==Symbol.prototype?\"symbol\":typeof b})(O)}C=function(){\"use strict\";function O(X){return(O=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(se){return typeof se}:function(se){return se&&typeof Symbol==\"function\"&&se.constructor===Symbol&&se!==Symbol.prototype?\"symbol\":typeof se})(X)}var b=/^\\s+/,p=/\\s+$/;function u(X,se){if(se=se||{},(X=X||\"\")instanceof u)return X;if(!(this instanceof u))return new u(X,se);var fe=function(_e){var be,We,we,Ze={r:0,g:0,b:0},Ve=1,et=null,ht=null,Fe=null,mt=!1,dt=!1;return typeof _e==\"string\"&&(_e=function(Lt){Lt=Lt.replace(b,\"\").replace(p,\"\").toLowerCase();var lt,rn=!1;if(Te[Lt])Lt=Te[Lt],rn=!0;else if(Lt==\"transparent\")return{r:0,g:0,b:0,a:0,format:\"name\"};return(lt=ae.rgb.exec(Lt))?{r:lt[1],g:lt[2],b:lt[3]}:(lt=ae.rgba.exec(Lt))?{r:lt[1],g:lt[2],b:lt[3],a:lt[4]}:(lt=ae.hsl.exec(Lt))?{h:lt[1],s:lt[2],l:lt[3]}:(lt=ae.hsla.exec(Lt))?{h:lt[1],s:lt[2],l:lt[3],a:lt[4]}:(lt=ae.hsv.exec(Lt))?{h:lt[1],s:lt[2],v:lt[3]}:(lt=ae.hsva.exec(Lt))?{h:lt[1],s:lt[2],v:lt[3],a:lt[4]}:(lt=ae.hex8.exec(Lt))?{r:De(lt[1]),g:De(lt[2]),b:De(lt[3]),a:Ce(lt[4]),format:rn?\"name\":\"hex8\"}:(lt=ae.hex6.exec(Lt))?{r:De(lt[1]),g:De(lt[2]),b:De(lt[3]),format:rn?\"name\":\"hex\"}:(lt=ae.hex4.exec(Lt))?{r:De(lt[1]+\"\"+lt[1]),g:De(lt[2]+\"\"+lt[2]),b:De(lt[3]+\"\"+lt[3]),a:Ce(lt[4]+\"\"+lt[4]),format:rn?\"name\":\"hex8\"}:!!(lt=ae.hex3.exec(Lt))&&{r:De(lt[1]+\"\"+lt[1]),g:De(lt[2]+\"\"+lt[2]),b:De(lt[3]+\"\"+lt[3]),format:rn?\"name\":\"hex\"}}(_e)),O(_e)==\"object\"&&(ve(_e.r)&&ve(_e.g)&&ve(_e.b)?(be=_e.r,We=_e.g,we=_e.b,Ze={r:255*Ie(be,255),g:255*Ie(We,255),b:255*Ie(we,255)},mt=!0,dt=String(_e.r).substr(-1)===\"%\"?\"prgb\":\"rgb\"):ve(_e.h)&&ve(_e.s)&&ve(_e.v)?(et=ye(_e.s),ht=ye(_e.v),Ze=function(Lt,lt,rn){Lt=6*Ie(Lt,360),lt=Ie(lt,100),rn=Ie(rn,100);var qt=Math.floor(Lt),hn=Lt-qt,Kt=rn*(1-lt),an=rn*(1-hn*lt),In=rn*(1-(1-hn)*lt),Ft=qt%6;return{r:255*[rn,an,Kt,Kt,In,rn][Ft],g:255*[In,rn,rn,an,Kt,Kt][Ft],b:255*[Kt,Kt,In,rn,rn,an][Ft]}}(_e.h,et,ht),mt=!0,dt=\"hsv\"):ve(_e.h)&&ve(_e.s)&&ve(_e.l)&&(et=ye(_e.s),Fe=ye(_e.l),Ze=function(Lt,lt,rn){var qt,hn,Kt;function an(kt,At,Fn){return Fn<0&&(Fn+=1),Fn>1&&(Fn-=1),Fn<1/6?kt+6*(At-kt)*Fn:Fn<.5?At:Fn<2/3?kt+(At-kt)*(2/3-Fn)*6:kt}if(Lt=Ie(Lt,360),lt=Ie(lt,100),rn=Ie(rn,100),lt===0)qt=hn=Kt=rn;else{var In=rn<.5?rn*(1+lt):rn+lt-rn*lt,Ft=2*rn-In;qt=an(Ft,In,Lt+1/3),hn=an(Ft,In,Lt),Kt=an(Ft,In,Lt-1/3)}return{r:255*qt,g:255*hn,b:255*Kt}}(_e.h,et,Fe),mt=!0,dt=\"hsl\"),_e.hasOwnProperty(\"a\")&&(Ve=_e.a)),Ve=xe(Ve),{ok:mt,format:_e.format||dt,r:Math.min(255,Math.max(Ze.r,0)),g:Math.min(255,Math.max(Ze.g,0)),b:Math.min(255,Math.max(Ze.b,0)),a:Ve}}(X);this._originalInput=X,this._r=fe.r,this._g=fe.g,this._b=fe.b,this._a=fe.a,this._roundA=Math.round(100*this._a)/100,this._format=se.format||fe.format,this._gradientType=se.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._ok=fe.ok}function a(X,se,fe){X=Ie(X,255),se=Ie(se,255),fe=Ie(fe,255);var _e,be,We=Math.max(X,se,fe),we=Math.min(X,se,fe),Ze=(We+we)/2;if(We==we)_e=be=0;else{var Ve=We-we;switch(be=Ze>.5?Ve/(2-We-we):Ve/(We+we),We){case X:_e=(se-fe)/Ve+(se<fe?6:0);break;case se:_e=(fe-X)/Ve+2;break;case fe:_e=(X-se)/Ve+4}_e/=6}return{h:_e,s:be,l:Ze}}function f(X,se,fe){X=Ie(X,255),se=Ie(se,255),fe=Ie(fe,255);var _e,be,We=Math.max(X,se,fe),we=Math.min(X,se,fe),Ze=We,Ve=We-we;if(be=We===0?0:Ve/We,We==we)_e=0;else{switch(We){case X:_e=(se-fe)/Ve+(se<fe?6:0);break;case se:_e=(fe-X)/Ve+2;break;case fe:_e=(X-se)/Ve+4}_e/=6}return{h:_e,s:be,v:Ze}}function h(X,se,fe,_e){var be=[ce(Math.round(X).toString(16)),ce(Math.round(se).toString(16)),ce(Math.round(fe).toString(16))];return _e&&be[0].charAt(0)==be[0].charAt(1)&&be[1].charAt(0)==be[1].charAt(1)&&be[2].charAt(0)==be[2].charAt(1)?be[0].charAt(0)+be[1].charAt(0)+be[2].charAt(0):be.join(\"\")}function l(X,se,fe,_e){return[ce(Oe(_e)),ce(Math.round(X).toString(16)),ce(Math.round(se).toString(16)),ce(Math.round(fe).toString(16))].join(\"\")}function s(X,se){se=se===0?0:se||10;var fe=u(X).toHsl();return fe.s-=se/100,fe.s=Le(fe.s),u(fe)}function m(X,se){se=se===0?0:se||10;var fe=u(X).toHsl();return fe.s+=se/100,fe.s=Le(fe.s),u(fe)}function x(X){return u(X).desaturate(100)}function M(X,se){se=se===0?0:se||10;var fe=u(X).toHsl();return fe.l+=se/100,fe.l=Le(fe.l),u(fe)}function E(X,se){se=se===0?0:se||10;var fe=u(X).toRgb();return fe.r=Math.max(0,Math.min(255,fe.r-Math.round(-se/100*255))),fe.g=Math.max(0,Math.min(255,fe.g-Math.round(-se/100*255))),fe.b=Math.max(0,Math.min(255,fe.b-Math.round(-se/100*255))),u(fe)}function j(X,se){se=se===0?0:se||10;var fe=u(X).toHsl();return fe.l-=se/100,fe.l=Le(fe.l),u(fe)}function L(X,se){var fe=u(X).toHsl(),_e=(fe.h+se)%360;return fe.h=_e<0?360+_e:_e,u(fe)}function A(X){var se=u(X).toHsl();return se.h=(se.h+180)%360,u(se)}function J(X,se){if(isNaN(se)||se<=0)throw new Error(\"Argument to polyad must be a positive number\");for(var fe=u(X).toHsl(),_e=[u(X)],be=360/se,We=1;We<se;We++)_e.push(u({h:(fe.h+We*be)%360,s:fe.s,l:fe.l}));return _e}function q(X){var se=u(X).toHsl(),fe=se.h;return[u(X),u({h:(fe+72)%360,s:se.s,l:se.l}),u({h:(fe+216)%360,s:se.s,l:se.l})]}function re(X,se,fe){se=se||6,fe=fe||30;var _e=u(X).toHsl(),be=360/fe,We=[u(X)];for(_e.h=(_e.h-(be*se>>1)+720)%360;--se;)_e.h=(_e.h+be)%360,We.push(u(_e));return We}function me(X,se){se=se||6;for(var fe=u(X).toHsv(),_e=fe.h,be=fe.s,We=fe.v,we=[],Ze=1/se;se--;)we.push(u({h:_e,s:be,v:We})),We=(We+Ze)%1;return we}u.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 X=this.toRgb();return(299*X.r+587*X.g+114*X.b)/1e3},getLuminance:function(){var X,se,fe,_e=this.toRgb();return X=_e.r/255,se=_e.g/255,fe=_e.b/255,.2126*(X<=.03928?X/12.92:Math.pow((X+.055)/1.055,2.4))+.7152*(se<=.03928?se/12.92:Math.pow((se+.055)/1.055,2.4))+.0722*(fe<=.03928?fe/12.92:Math.pow((fe+.055)/1.055,2.4))},setAlpha:function(X){return this._a=xe(X),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var X=f(this._r,this._g,this._b);return{h:360*X.h,s:X.s,v:X.v,a:this._a}},toHsvString:function(){var X=f(this._r,this._g,this._b),se=Math.round(360*X.h),fe=Math.round(100*X.s),_e=Math.round(100*X.v);return this._a==1?\"hsv(\"+se+\", \"+fe+\"%, \"+_e+\"%)\":\"hsva(\"+se+\", \"+fe+\"%, \"+_e+\"%, \"+this._roundA+\")\"},toHsl:function(){var X=a(this._r,this._g,this._b);return{h:360*X.h,s:X.s,l:X.l,a:this._a}},toHslString:function(){var X=a(this._r,this._g,this._b),se=Math.round(360*X.h),fe=Math.round(100*X.s),_e=Math.round(100*X.l);return this._a==1?\"hsl(\"+se+\", \"+fe+\"%, \"+_e+\"%)\":\"hsla(\"+se+\", \"+fe+\"%, \"+_e+\"%, \"+this._roundA+\")\"},toHex:function(X){return h(this._r,this._g,this._b,X)},toHexString:function(X){return\"#\"+this.toHex(X)},toHex8:function(X){return function(se,fe,_e,be,We){var we=[ce(Math.round(se).toString(16)),ce(Math.round(fe).toString(16)),ce(Math.round(_e).toString(16)),ce(Oe(be))];return We&&we[0].charAt(0)==we[0].charAt(1)&&we[1].charAt(0)==we[1].charAt(1)&&we[2].charAt(0)==we[2].charAt(1)&&we[3].charAt(0)==we[3].charAt(1)?we[0].charAt(0)+we[1].charAt(0)+we[2].charAt(0)+we[3].charAt(0):we.join(\"\")}(this._r,this._g,this._b,this._a,X)},toHex8String:function(X){return\"#\"+this.toHex8(X)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?\"rgb(\"+Math.round(this._r)+\", \"+Math.round(this._g)+\", \"+Math.round(this._b)+\")\":\"rgba(\"+Math.round(this._r)+\", \"+Math.round(this._g)+\", \"+Math.round(this._b)+\", \"+this._roundA+\")\"},toPercentageRgb:function(){return{r:Math.round(100*Ie(this._r,255))+\"%\",g:Math.round(100*Ie(this._g,255))+\"%\",b:Math.round(100*Ie(this._b,255))+\"%\",a:this._a}},toPercentageRgbString:function(){return this._a==1?\"rgb(\"+Math.round(100*Ie(this._r,255))+\"%, \"+Math.round(100*Ie(this._g,255))+\"%, \"+Math.round(100*Ie(this._b,255))+\"%)\":\"rgba(\"+Math.round(100*Ie(this._r,255))+\"%, \"+Math.round(100*Ie(this._g,255))+\"%, \"+Math.round(100*Ie(this._b,255))+\"%, \"+this._roundA+\")\"},toName:function(){return this._a===0?\"transparent\":!(this._a<1)&&(ee[h(this._r,this._g,this._b,!0)]||!1)},toFilter:function(X){var se=\"#\"+l(this._r,this._g,this._b,this._a),fe=se,_e=this._gradientType?\"GradientType = 1, \":\"\";if(X){var be=u(X);fe=\"#\"+l(be._r,be._g,be._b,be._a)}return\"progid:DXImageTransform.Microsoft.gradient(\"+_e+\"startColorstr=\"+se+\",endColorstr=\"+fe+\")\"},toString:function(X){var se=!!X;X=X||this._format;var fe=!1,_e=this._a<1&&this._a>=0;return se||!_e||X!==\"hex\"&&X!==\"hex6\"&&X!==\"hex3\"&&X!==\"hex4\"&&X!==\"hex8\"&&X!==\"name\"?(X===\"rgb\"&&(fe=this.toRgbString()),X===\"prgb\"&&(fe=this.toPercentageRgbString()),X!==\"hex\"&&X!==\"hex6\"||(fe=this.toHexString()),X===\"hex3\"&&(fe=this.toHexString(!0)),X===\"hex4\"&&(fe=this.toHex8String(!0)),X===\"hex8\"&&(fe=this.toHex8String()),X===\"name\"&&(fe=this.toName()),X===\"hsl\"&&(fe=this.toHslString()),X===\"hsv\"&&(fe=this.toHsvString()),fe||this.toHexString()):X===\"name\"&&this._a===0?this.toName():this.toRgbString()},clone:function(){return u(this.toString())},_applyModification:function(X,se){var fe=X.apply(null,[this].concat([].slice.call(se)));return this._r=fe._r,this._g=fe._g,this._b=fe._b,this.setAlpha(fe._a),this},lighten:function(){return this._applyModification(M,arguments)},brighten:function(){return this._applyModification(E,arguments)},darken:function(){return this._applyModification(j,arguments)},desaturate:function(){return this._applyModification(s,arguments)},saturate:function(){return this._applyModification(m,arguments)},greyscale:function(){return this._applyModification(x,arguments)},spin:function(){return this._applyModification(L,arguments)},_applyCombination:function(X,se){return X.apply(null,[this].concat([].slice.call(se)))},analogous:function(){return this._applyCombination(re,arguments)},complement:function(){return this._applyCombination(A,arguments)},monochromatic:function(){return this._applyCombination(me,arguments)},splitcomplement:function(){return this._applyCombination(q,arguments)},triad:function(){return this._applyCombination(J,[3])},tetrad:function(){return this._applyCombination(J,[4])}},u.fromRatio=function(X,se){if(O(X)==\"object\"){var fe={};for(var _e in X)X.hasOwnProperty(_e)&&(fe[_e]=_e===\"a\"?X[_e]:ye(X[_e]));X=fe}return u(X,se)},u.equals=function(X,se){return!(!X||!se)&&u(X).toRgbString()==u(se).toRgbString()},u.random=function(){return u.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},u.mix=function(X,se,fe){fe=fe===0?0:fe||50;var _e=u(X).toRgb(),be=u(se).toRgb(),We=fe/100;return u({r:(be.r-_e.r)*We+_e.r,g:(be.g-_e.g)*We+_e.g,b:(be.b-_e.b)*We+_e.b,a:(be.a-_e.a)*We+_e.a})},u.readability=function(X,se){var fe=u(X),_e=u(se);return(Math.max(fe.getLuminance(),_e.getLuminance())+.05)/(Math.min(fe.getLuminance(),_e.getLuminance())+.05)},u.isReadable=function(X,se,fe){var _e,be,We,we,Ze,Ve=u.readability(X,se);switch(be=!1,(We=fe,we=((We=We||{level:\"AA\",size:\"small\"}).level||\"AA\").toUpperCase(),Ze=(We.size||\"small\").toLowerCase(),we!==\"AA\"&&we!==\"AAA\"&&(we=\"AA\"),Ze!==\"small\"&&Ze!==\"large\"&&(Ze=\"small\"),_e={level:we,size:Ze}).level+_e.size){case\"AAsmall\":case\"AAAlarge\":be=Ve>=4.5;break;case\"AAlarge\":be=Ve>=3;break;case\"AAAsmall\":be=Ve>=7}return be},u.mostReadable=function(X,se,fe){var _e,be,We,we,Ze=null,Ve=0;be=(fe=fe||{}).includeFallbackColors,We=fe.level,we=fe.size;for(var et=0;et<se.length;et++)(_e=u.readability(X,se[et]))>Ve&&(Ve=_e,Ze=u(se[et]));return u.isReadable(X,Ze,{level:We,size:we})||!be?Ze:(fe.includeFallbackColors=!1,u.mostReadable(X,[\"#fff\",\"#000\"],fe))};var Te=u.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\"},ee=u.hexNames=function(X){var se={};for(var fe in X)X.hasOwnProperty(fe)&&(se[X[fe]]=fe);return se}(Te);function xe(X){return X=parseFloat(X),(isNaN(X)||X<0||X>1)&&(X=1),X}function Ie(X,se){(function(_e){return typeof _e==\"string\"&&_e.indexOf(\".\")!=-1&&parseFloat(_e)===1})(X)&&(X=\"100%\");var fe=function(_e){return typeof _e==\"string\"&&_e.indexOf(\"%\")!=-1}(X);return X=Math.min(se,Math.max(0,parseFloat(X))),fe&&(X=parseInt(X*se,10)/100),Math.abs(X-se)<1e-6?1:X%se/parseFloat(se)}function Le(X){return Math.min(1,Math.max(0,X))}function De(X){return parseInt(X,16)}function ce(X){return X.length==1?\"0\"+X:\"\"+X}function ye(X){return X<=1&&(X=100*X+\"%\"),X}function Oe(X){return Math.round(255*parseFloat(X)).toString(16)}function Ce(X){return De(X)/255}var oe,he,ie,ae=(he=\"[\\\\s|\\\\(]+(\"+(oe=\"(?:[-\\\\+]?\\\\d*\\\\.\\\\d+%?)|(?:[-\\\\+]?\\\\d+%?)\")+\")[,|\\\\s]+(\"+oe+\")[,|\\\\s]+(\"+oe+\")\\\\s*\\\\)?\",ie=\"[\\\\s|\\\\(]+(\"+oe+\")[,|\\\\s]+(\"+oe+\")[,|\\\\s]+(\"+oe+\")[,|\\\\s]+(\"+oe+\")\\\\s*\\\\)?\",{CSS_UNIT:new RegExp(oe),rgb:new RegExp(\"rgb\"+he),rgba:new RegExp(\"rgba\"+ie),hsl:new RegExp(\"hsl\"+he),hsla:new RegExp(\"hsla\"+ie),hsv:new RegExp(\"hsv\"+he),hsva:new RegExp(\"hsva\"+ie),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 ve(X){return!!ae.CSS_UNIT.exec(X)}return u},w(c)===\"object\"&&Ee!==void 0?Ee.exports=C():(N=typeof(y=C)==\"function\"?y.call(c,r,c,Ee):y)===void 0||(Ee.exports=N)},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var y=function(N,C){var w=N.nodes,O=N.edges,b=[],p={};if(!w)throw new Error(\"invalid nodes data!\");return w&&w.forEach(function(u,a){p[u.id]=a,b.push([])}),O&&O.forEach(function(u){var a=u.source,f=u.target,h=p[a],l=p[f];!h&&h!==0||!l&&l!==0||(b[h][l]=1,C||(b[l][h]=1))}),b};c.default=y},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.FORCE_LAYOUT_TYPE_MAP=c.LAYOUT_MESSAGE=void 0,c.LAYOUT_MESSAGE={RUN:\"LAYOUT_RUN\",END:\"LAYOUT_END\",ERROR:\"LAYOUT_ERROR\",TICK:\"LAYOUT_TICK\",GPURUN:\"GPU_LAYOUT_RUN\",GPUEND:\"GPU_LAYOUT_END\"},c.FORCE_LAYOUT_TYPE_MAP={gForce:!0,force2:!0,fruchterman:!0,forceAtlas2:!0,force:!0,\"graphin-force\":!0}},function(Ee,c,r){\"use strict\";r.r(c),r.d(c,\"Graph\",function(){return J}),r.d(c,\"GraphWithEvent\",function(){return ce}),r.d(c,\"algorithm\",function(){return y}),r.d(c,\"comparision\",function(){return C}),r.d(c,\"essence\",function(){return N}),r.d(c,\"generate\",function(){return O});var y={};r.r(y),r.d(y,\"components\",function(){return he}),r.d(y,\"dfs\",function(){return ie}),r.d(y,\"dijkstra\",function(){return fe}),r.d(y,\"dijkstraAll\",function(){return _e}),r.d(y,\"findCycles\",function(){return We}),r.d(y,\"tarjan\",function(){return be}),r.d(y,\"isAcyclic\",function(){return qt}),r.d(y,\"postorder\",function(){return hn}),r.d(y,\"preorder\",function(){return Kt}),r.d(y,\"prim\",function(){return oe}),r.d(y,\"topsort\",function(){return rn}),r.d(y,\"floydWarshall\",function(){return In});var N={};r.r(N),r.d(N,\"isGraph\",function(){return zr}),r.d(N,\"isSimpleGraph\",function(){return Wr}),r.d(N,\"isNullGraph\",function(){return Nr}),r.d(N,\"hasSelfLoop\",function(){return Kr});var C={};r.r(C),r.d(C,\"containAllSameEdges\",function(){return Wn}),r.d(C,\"containAllSameNodes\",function(){return en}),r.d(C,\"containSameEdges\",function(){return kt}),r.d(C,\"containSameNodes\",function(){return Ft}),r.d(C,\"isGraphComplement\",function(){return ko}),r.d(C,\"isGraphOptionSame\",function(){return pn}),r.d(C,\"getSameEdges\",function(){return Fn}),r.d(C,\"getSameNodes\",function(){return At}),r.d(C,\"isGraphSame\",function(){return Mn}),r.d(C,\"isGraphContainsAnother\",function(){return Kn});var w,O={};function b(gn,Gt){var bt=gn.get(Gt)||0;gn.set(Gt,bt+1)}function p(gn,Gt){var bt=gn.get(Gt);bt!==void 0&&((bt-=1)>0?gn.set(Gt,bt):gn.delete(Gt))}function u(gn,Gt,bt,Zt){var gt=String(Gt),Wt=String(bt);if(!gn&&gt>Wt){var xn=gt;gt=Wt,Wt=xn}return gt+w.EDGE_KEY_DELIM+Wt+w.EDGE_KEY_DELIM+(Zt===void 0?w.DEFAULT_EDGE_NAME:Zt)}function a(gn,Gt,bt,Zt){var gt=String(Gt),Wt=String(bt),xn={v:Gt,w:bt};if(!gn&&gt>Wt){var Dt=xn.v;xn.v=xn.w,xn.w=Dt}return Zt!==void 0&&(xn.name=Zt),xn}function f(gn,Gt){return u(gn,Gt.v,Gt.w,Gt.name)}function h(gn){return typeof gn==\"function\"}r.r(O),r.d(O,\"getGraphComplement\",function(){return Ur}),function(gn){gn.DEFAULT_EDGE_NAME=\"\\0\",gn.GRAPH_NODE=\"\\0\",gn.EDGE_KEY_DELIM=\"\u0001\"}(w||(w={}));var l=function(gn){return gn.nodes().map(function(Gt){var bt={id:Gt,value:gn.node(Gt),parent:gn.parent(Gt)};return bt.value===void 0&&delete bt.value,bt.parent===void 0&&delete bt.parent,bt})},s=function(gn){return gn.edges().map(function(Gt){var bt=gn.edge(Gt),Zt={v:Gt.v,w:Gt.w,value:bt,name:Gt.name};return Zt.name===void 0&&delete Zt.name,Zt.value===void 0&&delete Zt.value,Zt})},m=function(gn){var Gt={options:{directed:gn.isDirected(),multigraph:gn.isMultigraph(),compound:gn.isCompound()},nodes:l(gn),edges:s(gn),value:gn.graph()};return Gt.value===void 0&&delete Gt.value,Gt};function x(gn,Gt){var bt=Object.keys(gn);if(Object.getOwnPropertySymbols){var Zt=Object.getOwnPropertySymbols(gn);Gt&&(Zt=Zt.filter(function(gt){return Object.getOwnPropertyDescriptor(gn,gt).enumerable})),bt.push.apply(bt,Zt)}return bt}function M(gn){for(var Gt=1;Gt<arguments.length;Gt++){var bt=arguments[Gt]!=null?arguments[Gt]:{};Gt%2?x(Object(bt),!0).forEach(function(Zt){E(gn,Zt,bt[Zt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(gn,Object.getOwnPropertyDescriptors(bt)):x(Object(bt)).forEach(function(Zt){Object.defineProperty(gn,Zt,Object.getOwnPropertyDescriptor(bt,Zt))})}return gn}function E(gn,Gt,bt){return Gt in gn?Object.defineProperty(gn,Gt,{value:bt,enumerable:!0,configurable:!0,writable:!0}):gn[Gt]=bt,gn}function j(gn,Gt){if(!(gn instanceof Gt))throw new TypeError(\"Cannot call a class as a function\")}function L(gn,Gt){for(var bt=0;bt<Gt.length;bt++){var Zt=Gt[bt];Zt.enumerable=Zt.enumerable||!1,Zt.configurable=!0,\"value\"in Zt&&(Zt.writable=!0),Object.defineProperty(gn,Zt.key,Zt)}}var A={compound:!1,multigraph:!1,directed:!0},J=function(){function gn(){var gt=this,Wt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};j(this,gn),this.directed=!0,this.multigraph=!1,this.compound=!1,this.GRAPH_NODE=w.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 gt.directed},this.isMultigraph=function(){return gt.multigraph},this.isCompound=function(){return gt.compound},this.setGraph=function(Dt){return gt.label=Dt,gt},this.graph=function(){return gt.label},this.setDefaultNodeLabel=function(Dt){return h(Dt)?gt.defaultNodeLabelFn=Dt:gt.defaultNodeLabelFn=function(){return Dt},gt},this.nodeCount=function(){return gt.nodeCountNum},this.node=function(Dt){return gt.nodesLabelMap.get(Dt)},this.nodes=function(){return Array.from(gt.nodesLabelMap.keys())},this.sources=function(){return gt.nodes().filter(function(Dt){var Xn;return!(!((Xn=gt.inEdgesMap.get(Dt))===null||Xn===void 0)&&Xn.size)})},this.sinks=function(){return gt.nodes().filter(function(Dt){var Xn;return!(!((Xn=gt.outEdgesMap.get(Dt))===null||Xn===void 0)&&Xn.size)})},this.setNodes=function(Dt,Xn){return Dt.map(function(Rn){return gt.setNode(Rn,Xn)}),gt},this.hasNode=function(Dt){return gt.nodesLabelMap.has(Dt)},this.checkCompound=function(){if(!gt.isCompound())throw new Error(\"Cannot construct parent-children relations in a non-compound graph\")},this.parent=function(Dt){if(gt.isCompound()){var Xn,Rn=(Xn=gt.parentMap)===null||Xn===void 0?void 0:Xn.get(Dt);if(Rn!==gt.GRAPH_NODE)return Rn}},this.removeFromParentsChildList=function(Dt){var Xn=gt.parentMap.get(Dt);gt.childrenMap.get(Xn).delete(Dt)},this.setParent=function(Dt,Xn){var Rn,wt;gt.checkCompound();for(var pt=Xn===void 0?gt.GRAPH_NODE:Xn,Ue=gt.parent(pt);Ue;){if(Dt===Ue)throw new Error(\"Setting \"+Xn+\" as parent of \"+Dt+\" would create a cycle\");Ue=gt.parent(Ue)}Xn&&gt.setNode(Xn),gt.setNode(Dt),gt.removeFromParentsChildList(Dt),(Rn=gt.parentMap)===null||Rn===void 0||Rn.set(Dt,pt);var xt=gt.childrenMap.get(pt);return xt.set(Dt,!0),(wt=gt.childrenMap)===null||wt===void 0||wt.set(pt,xt),gt},this.children=function(Dt){var Xn=Dt===void 0?gt.GRAPH_NODE:Dt;if(gt.isCompound()){var Rn,wt=(Rn=gt.childrenMap)===null||Rn===void 0?void 0:Rn.get(Xn);return wt?Array.from(wt.keys()):void 0}return Xn===gt.GRAPH_NODE?gt.nodes():Dt&&gt.hasNode(Dt)?[]:void 0},this.predecessors=function(Dt){var Xn=gt.predecessorsMap.get(Dt);return Xn?Array.from(Xn.keys()):void 0},this.successors=function(Dt){var Xn=gt.successorsMap.get(Dt);return Xn?Array.from(Xn.keys()):void 0},this.neighbors=function(Dt){var Xn;if(gt.hasNode(Dt))return Array.from(new Set((Xn=gt.predecessors(Dt))===null||Xn===void 0?void 0:Xn.concat(gt.successors(Dt))))},this.isLeaf=function(Dt){var Xn,Rn;return gt.isDirected()?!(!((Rn=gt.successors(Dt))===null||Rn===void 0)&&Rn.length):!(!((Xn=gt.neighbors(Dt))===null||Xn===void 0)&&Xn.length)},this.filterNodes=function(Dt){var Xn=gt.directed,Rn=gt.multigraph,wt=gt.compound,pt=new gn({directed:Xn,multigraph:Rn,compound:wt});return pt.setGraph(gt.graph()),gt.nodes().forEach(function(Ue){Dt(Ue)&&pt.setNode(Ue,gt.node(Ue))}),gt.edges().forEach(function(Ue){pt.hasNode(Ue.v)&&pt.hasNode(Ue.w)&&pt.setEdgeObj(Ue,gt.edge(Ue))}),wt&&pt.nodes().forEach(function(Ue){pt.setParent(Ue,function(xt){for(var cn=gt.parent(xt);cn!==void 0&&!pt.hasNode(cn);)cn=gt.parent(cn);return cn}(Ue))}),pt},this.setDefaultEdgeLabel=function(Dt){return h(Dt)?gt.defaultEdgeLabelFn=Dt:gt.defaultEdgeLabelFn=function(){return Dt},gt},this.edgeCount=function(){return gt.edgeCountNum},this.setEdgeObj=function(Dt,Xn){return gt.setEdge(Dt.v,Dt.w,Xn,Dt.name)},this.setPath=function(Dt,Xn){return Dt.reduce(function(Rn,wt){return gt.setEdge(Rn,wt,Xn),wt}),gt},this.edgeFromArgs=function(Dt,Xn,Rn){return gt.edge({v:Dt,w:Xn,name:Rn})},this.edge=function(Dt){return gt.edgesLabelsMap.get(f(gt.isDirected(),Dt))},this.hasEdge=function(Dt,Xn,Rn){return gt.edgesLabelsMap.has(f(gt.isDirected(),{v:Dt,w:Xn,name:Rn}))},this.removeEdgeObj=function(Dt){var Xn=Dt.v,Rn=Dt.w,wt=Dt.name;return gt.removeEdge(Xn,Rn,wt)},this.edges=function(){return Array.from(gt.edgesMap.values())},this.inEdges=function(Dt,Xn){var Rn=gt.inEdgesMap.get(Dt);if(Rn)return Array.from(Rn.values()).filter(function(wt){return!Xn||wt.v===Xn})},this.outEdges=function(Dt,Xn){var Rn=gt.outEdgesMap.get(Dt);if(Rn)return Array.from(Rn.values()).filter(function(wt){return!Xn||wt.w===Xn})},this.nodeEdges=function(Dt,Xn){var Rn;if(gt.hasNode(Dt))return(Rn=gt.inEdges(Dt,Xn))===null||Rn===void 0?void 0:Rn.concat(gt.outEdges(Dt,Xn))},this.toJSON=function(){return m(gt)},this.nodeInDegree=function(Dt){var Xn=gt.inEdgesMap.get(Dt);return Xn?Xn.size:0},this.nodeOutDegree=function(Dt){var Xn=gt.outEdgesMap.get(Dt);return Xn?Xn.size:0},this.nodeDegree=function(Dt){return gt.nodeInDegree(Dt)+gt.nodeOutDegree(Dt)},this.source=function(Dt){return Dt.v},this.target=function(Dt){return Dt.w};var xn=M(M({},A),Wt);this.compound=xn.compound,this.directed=xn.directed,this.multigraph=xn.multigraph,this.compound&&(this.parentMap=new Map,this.childrenMap=new Map)}var Gt,bt,Zt;return Gt=gn,(bt=[{key:\"setNode\",value:function(gt,Wt){var xn,Dt=this.nodesLabelMap,Xn=this.defaultNodeLabelFn,Rn=this.isCompound,wt=this.parentMap,pt=this.childrenMap,Ue=this.inEdgesMap,xt=this.outEdgesMap,cn=this.predecessorsMap,er=this.successorsMap;return Dt.has(gt)?(Wt!==void 0&&Dt.set(gt,Wt),this):(Dt.set(gt,Wt||Xn(gt)),Rn()&&(wt==null||wt.set(gt,this.GRAPH_NODE),pt==null||pt.set(gt,new Map),pt!=null&&pt.has(this.GRAPH_NODE)||pt==null||pt.set(this.GRAPH_NODE,new Map),pt==null||(xn=pt.get(this.GRAPH_NODE))===null||xn===void 0||xn.set(gt,!0)),[Ue,xt,cn,er].forEach(function(Mr){return Mr.set(gt,new Map)}),this.nodeCountNum+=1,this)}},{key:\"removeNode\",value:function(gt){var Wt=this;if(this.hasNode(gt)){var xn,Dt,Xn,Rn=function(xr){Wt.removeEdge(xr.v,xr.w,xr.name)},wt=this.inEdgesMap,pt=this.outEdgesMap,Ue=this.predecessorsMap,xt=this.successorsMap,cn=this.nodesLabelMap;this.isCompound()&&(this.removeFromParentsChildList(gt),(xn=this.parentMap)===null||xn===void 0||xn.delete(gt),(Dt=this.children(gt))===null||Dt===void 0||Dt.forEach(function(xr){return Wt.setParent(xr)}),(Xn=this.childrenMap)===null||Xn===void 0||Xn.delete(gt));var er=wt.get(gt),Mr=pt.get(gt);Array.from(er.values()).forEach(function(xr){return Rn(xr)}),Array.from(Mr.values()).forEach(function(xr){return Rn(xr)}),cn.delete(gt),wt.delete(gt),pt.delete(gt),Ue.delete(gt),xt.delete(gt),this.nodeCountNum-=1}return this}},{key:\"setEdge\",value:function(gt,Wt,xn,Dt){var Xn,Rn,wt=a(this.isDirected(),gt,Wt,Dt),pt=f(this.isDirected(),wt),Ue=wt.v,xt=wt.w;if(this.edgesLabelsMap.has(pt))return this.edgesLabelsMap.set(pt,xn),this;if(Dt!==void 0&&!this.isMultigraph())throw new Error(\"Cannot set a named edge when isMultigraph = false\");this.setNode(Ue),this.setNode(xt),this.edgesLabelsMap.set(pt,xn||this.defaultEdgeLabelFn(Ue,xt,Dt)),Object.freeze(wt),this.edgesMap.set(pt,wt);var cn=this.predecessorsMap.get(xt),er=this.successorsMap.get(Ue);return b(cn,Ue),b(er,xt),(Xn=this.inEdgesMap.get(xt))===null||Xn===void 0||Xn.set(pt,wt),(Rn=this.outEdgesMap.get(Ue))===null||Rn===void 0||Rn.set(pt,wt),this.edgeCountNum+=1,this}},{key:\"removeEdge\",value:function(gt,Wt,xn){var Dt=u(this.isDirected(),gt,Wt,xn);if(this.edgesMap.get(Dt)){var Xn=a(this.isDirected(),gt,Wt,xn),Rn=Xn.v,wt=Xn.w;this.edgesLabelsMap.delete(Dt),this.edgesMap.delete(Dt);var pt=this.predecessorsMap.get(wt),Ue=this.successorsMap.get(Rn);p(pt,Rn),p(Ue,wt),this.inEdgesMap.get(wt).delete(Dt),this.outEdgesMap.get(Rn).delete(Dt),this.edgeCountNum-=1}return this}}])&&L(Gt.prototype,bt),Zt&&L(Gt,Zt),Object.defineProperty(Gt,\"prototype\",{writable:!1}),gn}();function q(gn){return(q=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(Gt){return typeof Gt}:function(Gt){return Gt&&typeof Symbol==\"function\"&&Gt.constructor===Symbol&&Gt!==Symbol.prototype?\"symbol\":typeof Gt})(gn)}function re(gn,Gt){if(!(gn instanceof Gt))throw new TypeError(\"Cannot call a class as a function\")}function me(gn,Gt){for(var bt=0;bt<Gt.length;bt++){var Zt=Gt[bt];Zt.enumerable=Zt.enumerable||!1,Zt.configurable=!0,\"value\"in Zt&&(Zt.writable=!0),Object.defineProperty(gn,Zt.key,Zt)}}function Te(){return(Te=typeof Reflect!=\"undefined\"&&Reflect.get?Reflect.get:function(gn,Gt,bt){var Zt=ee(gn,Gt);if(Zt){var gt=Object.getOwnPropertyDescriptor(Zt,Gt);return gt.get?gt.get.call(arguments.length<3?gn:bt):gt.value}}).apply(this,arguments)}function ee(gn,Gt){for(;!Object.prototype.hasOwnProperty.call(gn,Gt)&&(gn=De(gn))!==null;);return gn}function xe(gn,Gt){return(xe=Object.setPrototypeOf||function(bt,Zt){return bt.__proto__=Zt,bt})(gn,Gt)}function Ie(gn){var Gt=function(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(bt){return!1}}();return function(){var bt,Zt=De(gn);if(Gt){var gt=De(this).constructor;bt=Reflect.construct(Zt,arguments,gt)}else bt=Zt.apply(this,arguments);return Le(this,bt)}}function Le(gn,Gt){if(Gt&&(q(Gt)===\"object\"||typeof Gt==\"function\"))return Gt;if(Gt!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(bt){if(bt===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return bt}(gn)}function De(gn){return(De=Object.setPrototypeOf?Object.getPrototypeOf:function(Gt){return Gt.__proto__||Object.getPrototypeOf(Gt)})(gn)}J.fromJSON=function(gn){var Gt=new J(gn.options);return gn.value!==void 0&&Gt.setGraph(gn.value),gn.nodes.forEach(function(bt){Gt.setNode(bt.id,bt.value),bt.parent&&Gt.setParent(bt.id,bt.parent)}),gn.edges.forEach(function(bt){Gt.setEdge(bt.v,bt.w,bt.value,bt.name)}),Gt};var ce=function(gn){(function(xn,Dt){if(typeof Dt!=\"function\"&&Dt!==null)throw new TypeError(\"Super expression must either be null or a function\");xn.prototype=Object.create(Dt&&Dt.prototype,{constructor:{value:xn,writable:!0,configurable:!0}}),Object.defineProperty(xn,\"prototype\",{writable:!1}),Dt&&xe(xn,Dt)})(Wt,gn);var Gt,bt,Zt,gt=Ie(Wt);function Wt(){var xn;re(this,Wt);for(var Dt=arguments.length,Xn=new Array(Dt),Rn=0;Rn<Dt;Rn++)Xn[Rn]=arguments[Rn];return(xn=gt.call.apply(gt,[this].concat(Xn))).eventPool={},xn}return Gt=Wt,(bt=[{key:\"appendEvent\",value:function(xn,Dt){this.eventPool[xn]||(this.eventPool[xn]=[]),this.eventPool[xn].push(Dt)}},{key:\"removeEvent\",value:function(xn,Dt){if(this.eventPool[xn]){var Xn=this.eventPool[xn].indexOf(Dt);Xn>-1&&this.eventPool[xn].splice(Xn,1)}}},{key:\"emitEvent\",value:function(xn){for(var Dt=arguments.length,Xn=new Array(Dt>1?Dt-1:0),Rn=1;Rn<Dt;Rn++)Xn[Rn-1]=arguments[Rn];this.eventPool[xn]&&this.eventPool[xn].forEach(function(wt){wt.apply(void 0,Xn)})}},{key:\"setNode\",value:function(xn,Dt){return Te(De(Wt.prototype),\"setNode\",this).call(this,xn,Dt),this.emitEvent(\"nodeAdd\",xn,Dt),this}},{key:\"removeNode\",value:function(xn){return Te(De(Wt.prototype),\"removeNode\",this).call(this,xn),this.emitEvent(\"nodeRemove\",xn),this}},{key:\"setEdge\",value:function(xn,Dt,Xn,Rn){return Te(De(Wt.prototype),\"setEdge\",this).call(this,xn,Dt,Xn,Rn),this.emitEvent(\"edgeAdd\",xn,Dt,Xn,Rn),this}},{key:\"removeEdge\",value:function(xn,Dt,Xn){return Te(De(Wt.prototype),\"removeEdge\",this).call(this,xn,Dt,Xn),this.emitEvent(\"edgeRemove\",xn,Dt,Xn),this}}])&&me(Gt.prototype,bt),Zt&&me(Gt,Zt),Object.defineProperty(Gt,\"prototype\",{writable:!1}),Wt}(J);function ye(gn,Gt){for(var bt=0;bt<Gt.length;bt++){var Zt=Gt[bt];Zt.enumerable=Zt.enumerable||!1,Zt.configurable=!0,\"value\"in Zt&&(Zt.writable=!0),Object.defineProperty(gn,Zt.key,Zt)}}function Oe(gn,Gt,bt){return Gt&&ye(gn.prototype,Gt),bt&&ye(gn,bt),Object.defineProperty(gn,\"prototype\",{writable:!1}),gn}var Ce=Oe(function gn(){var Gt=this;(function(bt,Zt){if(!(bt instanceof Zt))throw new TypeError(\"Cannot call a class as a function\")})(this,gn),this.arr=[],this.keyIndice=new Map,this.size=function(){return Gt.arr.length},this.keys=function(){return Gt.arr.map(function(bt){return bt.key})},this.has=function(bt){return Gt.keyIndice.has(bt)},this.priority=function(bt){var Zt=Gt.keyIndice.get(bt);if(Zt!==void 0)return Gt.arr[Zt].priority},this.swap=function(bt,Zt){var gt=Gt.arr,Wt=Gt.keyIndice,xn=[gt[bt],gt[Zt]],Dt=xn[0],Xn=xn[1];gt[bt]=Xn,gt[Zt]=Dt,Wt.set(Dt.key,Zt),Wt.set(Xn.key,bt)},this.innerDecrease=function(bt){for(var Zt,gt=Gt.arr,Wt=gt[bt].priority,xn=bt;xn!==0;){var Dt;if(((Dt=gt[Zt=xn>>1])===null||Dt===void 0?void 0:Dt.priority)<Wt)break;Gt.swap(xn,Zt),xn=Zt}},this.heapify=function(bt){var Zt=Gt.arr,gt=bt<<1,Wt=gt+1,xn=bt;gt<Zt.length&&(xn=Zt[gt].priority<Zt[xn].priority?gt:xn,Wt<Zt.length&&(xn=Zt[Wt].priority<Zt[xn].priority?Wt:xn),xn!==bt&&(Gt.swap(bt,xn),Gt.heapify(xn)))},this.min=function(){if(Gt.size()===0)throw new Error(\"Queue underflow\");return Gt.arr[0].key},this.add=function(bt,Zt){var gt=Gt.keyIndice,Wt=Gt.arr;if(!gt.has(bt)){var xn=Wt.length;return gt.set(bt,xn),Wt.push({key:bt,priority:Zt}),Gt.innerDecrease(xn),!0}return!1},this.removeMin=function(){Gt.swap(0,Gt.arr.length-1);var bt=Gt.arr.pop();return Gt.keyIndice.delete(bt.key),Gt.heapify(0),bt.key},this.decrease=function(bt,Zt){if(!Gt.has(bt))throw new Error(\"There's no key named \".concat(bt));var gt=Gt.keyIndice.get(bt);if(Zt>Gt.arr[gt].priority)throw new Error(\"New priority is greater than current priority.Key: \".concat(bt,\" Old: + \").concat(Gt.arr[gt].priority,\" New: \").concat(Zt));Gt.arr[gt].priority=Zt,Gt.innerDecrease(gt)}}),oe=function(gn,Gt){var bt,Zt=new J,gt=new Map,Wt=new Ce;function xn(Rn){var wt=Rn.v===bt?Rn.w:Rn.v,pt=Wt.priority(wt);if(pt!==void 0){var Ue=Gt(Rn);Ue<pt&&(gt.set(wt,bt),Wt.decrease(wt,Ue))}}if(gn.nodeCount()===0)return Zt;gn.nodes().forEach(function(Rn){Wt.add(Rn,Number.POSITIVE_INFINITY),Zt.setNode(Rn)}),Wt.decrease(gn.nodes()[0],0);for(var Dt=!1;Wt.size()>0;){var Xn;if(bt=Wt.removeMin(),gt.has(bt))Zt.setEdge(bt,gt.get(bt));else{if(Dt)throw new Error(\"Input graph is not connected: \"+gn.graph());Dt=!0}(Xn=gn.nodeEdges(bt))===null||Xn===void 0||Xn.forEach(xn)}return Zt},he=function(gn){var Gt=new Set,bt=[];return gn.nodes().forEach(function(Zt){for(var gt=[],Wt=[Zt];Wt.length>0;){var xn,Dt,Xn=Wt.pop();Gt.has(Xn)||(Gt.add(Xn),gt.push(Xn),(xn=gn.successors(Xn))===null||xn===void 0||xn.forEach(function(Rn){return Wt.push(Rn)}),(Dt=gn.predecessors(Xn))===null||Dt===void 0||Dt.forEach(function(Rn){return Wt.push(Rn)}))}gt.length&&bt.push(gt)}),bt},ie=function(gn,Gt,bt){var Zt=Array.isArray(Gt)?Gt:[Gt],gt=function(Dt){return gn.isDirected()?gn.successors(Dt):gn.neighbors(Dt)},Wt=[],xn=[];return Zt.forEach(function(Dt){if(!gn.hasNode(Dt))throw new Error(\"Graph does not have node: \"+Dt);(function Xn(Rn,wt,pt,Ue,xt,cn){Ue.includes(wt)||(Ue.push(wt),pt||cn.push(wt),xt(wt).forEach(function(er){return Xn(Rn,er,pt,Ue,xt,cn)}),pt&&cn.push(wt))})(gn,Dt,bt===\"post\",xn,gt,Wt)}),Wt};function ae(gn,Gt){return function(bt){if(Array.isArray(bt))return bt}(gn)||function(bt,Zt){var gt=bt==null?null:typeof Symbol!=\"undefined\"&&bt[Symbol.iterator]||bt[\"@@iterator\"];if(gt!=null){var Wt,xn,Dt=[],Xn=!0,Rn=!1;try{for(gt=gt.call(bt);!(Xn=(Wt=gt.next()).done)&&(Dt.push(Wt.value),!Zt||Dt.length!==Zt);Xn=!0);}catch(wt){Rn=!0,xn=wt}finally{try{Xn||gt.return==null||gt.return()}finally{if(Rn)throw xn}}return Dt}}(gn,Gt)||function(bt,Zt){if(bt){if(typeof bt==\"string\")return ve(bt,Zt);var gt=Object.prototype.toString.call(bt).slice(8,-1);if(gt===\"Object\"&&bt.constructor&&(gt=bt.constructor.name),gt===\"Map\"||gt===\"Set\")return Array.from(bt);if(gt===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(gt))return ve(bt,Zt)}}(gn,Gt)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ve(gn,Gt){(Gt==null||Gt>gn.length)&&(Gt=gn.length);for(var bt=0,Zt=new Array(Gt);bt<Gt;bt++)Zt[bt]=gn[bt];return Zt}var X=function(){return 1},se=function(gn,Gt,bt,Zt){var gt,Wt,xn=new Map,Dt=new Ce,Xn=function(wt){var pt=wt.v!==gt?wt.v:wt.w,Ue=xn.get(pt),xt=bt(wt),cn=Wt.distance+xt;if(xt<0)throw new Error(\"dijkstra does not allow negative edge weights. Bad edge: \"+wt+\" Weight: \"+xt);cn<Ue.distance&&(Ue.distance=cn,Ue.predecessor=gt,Dt.decrease(pt,cn))};for(gn.nodes().forEach(function(wt){var pt=wt===Gt?0:Number.POSITIVE_INFINITY;xn.set(wt,{distance:pt}),Dt.add(wt,pt)});Dt.size()>0&&(gt=Dt.removeMin(),!(Wt=xn.get(gt))||Wt.distance!==Number.POSITIVE_INFINITY);)Zt(gt).forEach(Xn);var Rn={};return Array.from(xn.entries()).forEach(function(wt){var pt=ae(wt,2),Ue=pt[0],xt=pt[1];return Rn[String(Ue)]=xt,Rn}),Rn},fe=function(gn,Gt,bt,Zt){return se(gn,Gt,bt||X,Zt||function(gt){return gn.outEdges(gt)})},_e=function(gn,Gt,bt){var Zt={};return gn.nodes().forEach(function(gt){return Zt[String(gt)]=fe(gn,gt,Gt,bt),Zt}),Zt},be=function(gn){var Gt=0,bt=[],Zt=new Map,gt=[];return gn.nodes().forEach(function(Wt){Zt.has(Wt)||function xn(Dt){var Xn,Rn={onStack:!0,lowlink:Gt,index:Gt};if(Zt.set(Dt,Rn),Gt+=1,bt.push(Dt),(Xn=gn.successors(Dt))===null||Xn===void 0||Xn.forEach(function(Ue){var xt;if(Zt.has(Ue)){if(!((xt=Zt.get(Ue))===null||xt===void 0)&&xt.onStack){var cn=Zt.get(Ue);Rn.lowlink=Math.min(Rn.lowlink,cn.index)}}else{xn(Ue);var er=Zt.get(Ue);Rn.lowlink=Math.min(Rn.lowlink,er.lowlink)}}),Rn.lowlink===Rn.index){var wt,pt=[];do wt=bt.pop(),Zt.get(wt).onStack=!1,pt.push(wt);while(Dt!==wt);gt.push(pt)}}(Wt)}),gt},We=function(gn){return be(gn).filter(function(Gt){return Gt.length>1||Gt.length===1&&gn.hasEdge(Gt[0],Gt[0])})};function we(gn){return(we=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(Gt){return typeof Gt}:function(Gt){return Gt&&typeof Symbol==\"function\"&&Gt.constructor===Symbol&&Gt!==Symbol.prototype?\"symbol\":typeof Gt})(gn)}function Ze(gn,Gt){for(var bt=0;bt<Gt.length;bt++){var Zt=Gt[bt];Zt.enumerable=Zt.enumerable||!1,Zt.configurable=!0,\"value\"in Zt&&(Zt.writable=!0),Object.defineProperty(gn,Zt.key,Zt)}}function Ve(gn,Gt){if(!(gn instanceof Gt))throw new TypeError(\"Cannot call a class as a function\")}function et(gn,Gt){if(Gt&&(we(Gt)===\"object\"||typeof Gt==\"function\"))return Gt;if(Gt!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(bt){if(bt===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return bt}(gn)}function ht(gn){var Gt=typeof Map==\"function\"?new Map:void 0;return(ht=function(bt){if(bt===null||(Zt=bt,Function.toString.call(Zt).indexOf(\"[native code]\")===-1))return bt;var Zt;if(typeof bt!=\"function\")throw new TypeError(\"Super expression must either be null or a function\");if(Gt!==void 0){if(Gt.has(bt))return Gt.get(bt);Gt.set(bt,gt)}function gt(){return Fe(bt,arguments,Lt(this).constructor)}return gt.prototype=Object.create(bt.prototype,{constructor:{value:gt,enumerable:!1,writable:!0,configurable:!0}}),dt(gt,bt)})(gn)}function Fe(gn,Gt,bt){return(Fe=mt()?Reflect.construct:function(Zt,gt,Wt){var xn=[null];xn.push.apply(xn,gt);var Dt=new(Function.bind.apply(Zt,xn));return Wt&&dt(Dt,Wt.prototype),Dt}).apply(null,arguments)}function mt(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(gn){return!1}}function dt(gn,Gt){return(dt=Object.setPrototypeOf||function(bt,Zt){return bt.__proto__=Zt,bt})(gn,Gt)}function Lt(gn){return(Lt=Object.setPrototypeOf?Object.getPrototypeOf:function(Gt){return Gt.__proto__||Object.getPrototypeOf(Gt)})(gn)}var lt=function(gn){(function(Xn,Rn){if(typeof Rn!=\"function\"&&Rn!==null)throw new TypeError(\"Super expression must either be null or a function\");Xn.prototype=Object.create(Rn&&Rn.prototype,{constructor:{value:Xn,writable:!0,configurable:!0}}),Object.defineProperty(Xn,\"prototype\",{writable:!1}),Rn&&dt(Xn,Rn)})(Dt,gn);var Gt,bt,Zt,gt,Wt,xn=(Gt=Dt,bt=mt(),function(){var Xn,Rn=Lt(Gt);if(bt){var wt=Lt(this).constructor;Xn=Reflect.construct(Rn,arguments,wt)}else Xn=Rn.apply(this,arguments);return et(this,Xn)});function Dt(){return Ve(this,Dt),xn.apply(this,arguments)}return Zt=Dt,gt&&Ze(Zt.prototype,gt),Wt&&Ze(Zt,Wt),Object.defineProperty(Zt,\"prototype\",{writable:!1}),Zt}(ht(Error)),rn=function(gn){var Gt=new Set,bt=new Set,Zt=[];if(gn.sinks().forEach(function gt(Wt){if(bt.has(Wt))throw new lt;var xn;Gt.has(Wt)||(bt.add(Wt),Gt.add(Wt),(xn=gn.predecessors(Wt))===null||xn===void 0||xn.forEach(gt),bt.delete(Wt),Zt.push(Wt))}),Gt.size!==gn.nodeCount())throw new lt;return Zt},qt=function(gn){try{rn(gn)}catch(Gt){if(Gt instanceof lt)return!1;throw Gt}return!0},hn=function(gn,Gt){return ie(gn,Gt,\"post\")},Kt=function(gn,Gt){return ie(gn,Gt,\"pre\")},an=function(){return 1},In=function(gn,Gt,bt){return function(Zt,gt,Wt){var xn={},Dt=Zt.nodes();return Dt.forEach(function(Xn){var Rn=String(Xn);xn[Rn]={},xn[Rn][Rn]={distance:0},Dt.forEach(function(wt){Xn!==wt&&(xn[Rn][String(wt)]={distance:Number.POSITIVE_INFINITY})}),Wt(Xn).forEach(function(wt){var pt=wt.v===Xn?wt.w:wt.v,Ue=gt(wt);xn[Rn][String(pt)]={distance:Ue,predecessor:Xn}})}),Dt.forEach(function(Xn){var Rn=String(Xn),wt=xn[Rn];Dt.forEach(function(pt){var Ue=String(pt),xt=xn[Ue];Dt.forEach(function(cn){var er=String(cn),Mr=xt[Rn],xr=wt[er],jr=xt[er],yo=Mr.distance+xr.distance;yo<jr.distance&&(jr.distance=yo,jr.predecessor=xr.predecessor)})})}),xn}(gn,Gt||an,bt||function(Zt){return gn.outEdges(Zt)})},Ft=function(gn,Gt){for(var bt=gn.nodes(),Zt=0;Zt<bt.length;Zt++){var gt=bt[Zt];if(Gt.hasNode(gt))return!0}return!1},kt=function(gn,Gt){for(var bt=gn.edges(),Zt=0;Zt<bt.length;Zt++){var gt=bt[Zt];if(Gt.hasEdge(gt.v,gt.w,gt.name))return!0}return!1},At=function(gn,Gt){return gn.nodes().filter(function(bt){return Gt.hasNode(bt)})},Fn=function(gn,Gt){return gn.edges().filter(function(bt){return Gt.hasEdge(bt.v,bt.w,bt.name)})},pn=function(gn,Gt){return gn.isCompound()===Gt.isCompound()&&gn.isDirected()===Gt.isDirected()&&gn.isMultigraph()===Gt.isMultigraph()},en=function(gn,Gt){return At(gn,Gt).length===gn.nodes().length},Wn=function(gn,Gt){return Fn(gn,Gt).length===gn.edges().length},Mn=function(gn,Gt){return pn(gn,Gt)&&gn.nodeCount()===Gt.nodeCount()&&en(gn,Gt)&&gn.edgeCount()===Gt.edgeCount()&&Wn(gn,Gt)},Kn=function(gn,Gt){return en(gn,Gt)&&Wn(gn,Gt)};function hr(gn,Gt){return function(bt){if(Array.isArray(bt))return bt}(gn)||function(bt,Zt){var gt=bt==null?null:typeof Symbol!=\"undefined\"&&bt[Symbol.iterator]||bt[\"@@iterator\"];if(gt!=null){var Wt,xn,Dt=[],Xn=!0,Rn=!1;try{for(gt=gt.call(bt);!(Xn=(Wt=gt.next()).done)&&(Dt.push(Wt.value),!Zt||Dt.length!==Zt);Xn=!0);}catch(wt){Rn=!0,xn=wt}finally{try{Xn||gt.return==null||gt.return()}finally{if(Rn)throw xn}}return Dt}}(gn,Gt)||function(bt,Zt){if(bt){if(typeof bt==\"string\")return pr(bt,Zt);var gt=Object.prototype.toString.call(bt).slice(8,-1);if(gt===\"Object\"&&bt.constructor&&(gt=bt.constructor.name),gt===\"Map\"||gt===\"Set\")return Array.from(bt);if(gt===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(gt))return pr(bt,Zt)}}(gn,Gt)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function pr(gn,Gt){(Gt==null||Gt>gn.length)&&(Gt=gn.length);for(var bt=0,Zt=new Array(Gt);bt<Gt;bt++)Zt[bt]=gn[bt];return Zt}function zr(gn){return gn instanceof J}function Wr(gn){if(gn.isMultigraph())return!1;for(var Gt=gn.edges(),bt=new Map,Zt=0;Zt<Gt.length;Zt++){var gt=Gt[Zt];if(gt.v===gt.w)return!1;var Wt=hr([gt.v,gt.w].sort(),2),xn=Wt[0],Dt=Wt[1],Xn=\"\".concat(xn,\"-\").concat(Dt);if(bt.has(Xn))return!1;bt.set(Xn,!0)}return!0}function Nr(gn){return gn.nodes().length===0}function Kr(gn){for(var Gt=gn.edges(),bt=0;bt<Gt.length;bt++){var Zt=Gt[bt];if(Zt.v===Zt.w)return!0}return!1}var ko=function(gn,Gt){if(!Wr(gn)||!Wr(Gt)||!en(gn,Gt)||kt(gn,Gt))return!1;var bt=gn.nodeCount();return gn.edgeCount()+Gt.edgeCount()===bt*(bt-1)/2},Ur=function(gn){if(!Wr(gn))return null;for(var Gt=gn.nodeCount(),bt=new J({compound:gn.isCompound(),directed:gn.isDirected(),multigraph:gn.isMultigraph()}),Zt=gn.nodes(),gt=0;gt<Gt;gt++){var Wt=Zt[gt];bt.setNode(Wt,gn.node(Wt));for(var xn=gt+1;xn<Gt;xn++){var Dt=Zt[xn];gn.hasEdge(Wt,Dt)||bt.setEdge(Wt,Dt)}}return bt}},function(Ee,c,r){\"use strict\";var y=function(){function N(C,w){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=C,this.name=C,this.originalEvent=w,this.timeStamp=w.timeStamp}return N.prototype.preventDefault=function(){this.defaultPrevented=!0,this.originalEvent.preventDefault&&this.originalEvent.preventDefault()},N.prototype.stopPropagation=function(){this.propagationStopped=!0},N.prototype.toString=function(){return\"[Event (type=\"+this.type+\")]\"},N.prototype.save=function(){},N.prototype.restore=function(){},N}();c.a=y},function(Ee,c,r){\"use strict\";var y=r(1),N=r(52),C=r(8),w=function(O){function b(p){var u=O.call(this)||this;u.destroyed=!1;var a=u.getDefaultCfg();return u.cfg=Object(C.i)(a,p),u}return Object(y.__extends)(b,O),b.prototype.getDefaultCfg=function(){return{}},b.prototype.get=function(p){return this.cfg[p]},b.prototype.set=function(p,u){this.cfg[p]=u},b.prototype.destroy=function(){this.cfg={destroyed:!0},this.off(),this.destroyed=!0},b}(N.a);c.a=w},function(Ee,c,r){\"use strict\";r.d(c,\"a\",function(){return N});var y=null;function N(){if(!y){var C=document.createElement(\"canvas\");C.width=1,C.height=1,y=C.getContext(\"2d\")}return y}},function(Ee,c,r){\"use strict\";r.d(c,\"a\",function(){return he});var y={};function N(ie){return+ie}function C(ie){return ie*ie}function w(ie){return ie*(2-ie)}function O(ie){return((ie*=2)<=1?ie*ie:--ie*(2-ie)+1)/2}function b(ie){return ie*ie*ie}function p(ie){return--ie*ie*ie+1}function u(ie){return((ie*=2)<=1?ie*ie*ie:(ie-=2)*ie*ie+2)/2}r.r(y),r.d(y,\"easeLinear\",function(){return N}),r.d(y,\"easeQuad\",function(){return O}),r.d(y,\"easeQuadIn\",function(){return C}),r.d(y,\"easeQuadOut\",function(){return w}),r.d(y,\"easeQuadInOut\",function(){return O}),r.d(y,\"easeCubic\",function(){return u}),r.d(y,\"easeCubicIn\",function(){return b}),r.d(y,\"easeCubicOut\",function(){return p}),r.d(y,\"easeCubicInOut\",function(){return u}),r.d(y,\"easePoly\",function(){return h}),r.d(y,\"easePolyIn\",function(){return a}),r.d(y,\"easePolyOut\",function(){return f}),r.d(y,\"easePolyInOut\",function(){return h}),r.d(y,\"easeSin\",function(){return M}),r.d(y,\"easeSinIn\",function(){return m}),r.d(y,\"easeSinOut\",function(){return x}),r.d(y,\"easeSinInOut\",function(){return M}),r.d(y,\"easeExp\",function(){return A}),r.d(y,\"easeExpIn\",function(){return j}),r.d(y,\"easeExpOut\",function(){return L}),r.d(y,\"easeExpInOut\",function(){return A}),r.d(y,\"easeCircle\",function(){return re}),r.d(y,\"easeCircleIn\",function(){return J}),r.d(y,\"easeCircleOut\",function(){return q}),r.d(y,\"easeCircleInOut\",function(){return re}),r.d(y,\"easeBounce\",function(){return ee}),r.d(y,\"easeBounceIn\",function(){return Te}),r.d(y,\"easeBounceOut\",function(){return ee}),r.d(y,\"easeBounceInOut\",function(){return xe}),r.d(y,\"easeBack\",function(){return De}),r.d(y,\"easeBackIn\",function(){return Ie}),r.d(y,\"easeBackOut\",function(){return Le}),r.d(y,\"easeBackInOut\",function(){return De}),r.d(y,\"easeElastic\",function(){return Oe}),r.d(y,\"easeElasticIn\",function(){return ye}),r.d(y,\"easeElasticOut\",function(){return Oe}),r.d(y,\"easeElasticInOut\",function(){return Ce});var a=function ie(ae){function ve(X){return Math.pow(X,ae)}return ae=+ae,ve.exponent=ie,ve}(3),f=function ie(ae){function ve(X){return 1-Math.pow(1-X,ae)}return ae=+ae,ve.exponent=ie,ve}(3),h=function ie(ae){function ve(X){return((X*=2)<=1?Math.pow(X,ae):2-Math.pow(2-X,ae))/2}return ae=+ae,ve.exponent=ie,ve}(3),l=Math.PI,s=l/2;function m(ie){return+ie==1?1:1-Math.cos(ie*s)}function x(ie){return Math.sin(ie*s)}function M(ie){return(1-Math.cos(l*ie))/2}function E(ie){return 1.0009775171065494*(Math.pow(2,-10*ie)-.0009765625)}function j(ie){return E(1-+ie)}function L(ie){return 1-E(ie)}function A(ie){return((ie*=2)<=1?E(1-ie):2-E(ie-1))/2}function J(ie){return 1-Math.sqrt(1-ie*ie)}function q(ie){return Math.sqrt(1- --ie*ie)}function re(ie){return((ie*=2)<=1?1-Math.sqrt(1-ie*ie):Math.sqrt(1-(ie-=2)*ie)+1)/2}var me=7.5625;function Te(ie){return 1-ee(1-ie)}function ee(ie){return(ie=+ie)<4/11?me*ie*ie:ie<8/11?me*(ie-=6/11)*ie+3/4:ie<10/11?me*(ie-=9/11)*ie+15/16:me*(ie-=21/22)*ie+63/64}function xe(ie){return((ie*=2)<=1?1-ee(1-ie):ee(ie-1)+1)/2}var Ie=function ie(ae){function ve(X){return(X=+X)*X*(ae*(X-1)+X)}return ae=+ae,ve.overshoot=ie,ve}(1.70158),Le=function ie(ae){function ve(X){return--X*X*((X+1)*ae+X)+1}return ae=+ae,ve.overshoot=ie,ve}(1.70158),De=function ie(ae){function ve(X){return((X*=2)<1?X*X*((ae+1)*X-ae):(X-=2)*X*((ae+1)*X+ae)+2)/2}return ae=+ae,ve.overshoot=ie,ve}(1.70158),ce=2*Math.PI,ye=function ie(ae,ve){var X=Math.asin(1/(ae=Math.max(1,ae)))*(ve/=ce);function se(fe){return ae*E(- --fe)*Math.sin((X-fe)/ve)}return se.amplitude=function(fe){return ie(fe,ve*ce)},se.period=function(fe){return ie(ae,fe)},se}(1,.3),Oe=function ie(ae,ve){var X=Math.asin(1/(ae=Math.max(1,ae)))*(ve/=ce);function se(fe){return 1-ae*E(fe=+fe)*Math.sin((fe+X)/ve)}return se.amplitude=function(fe){return ie(fe,ve*ce)},se.period=function(fe){return ie(ae,fe)},se}(1,.3),Ce=function ie(ae,ve){var X=Math.asin(1/(ae=Math.max(1,ae)))*(ve/=ce);function se(fe){return((fe=2*fe-1)<0?ae*E(-fe)*Math.sin((X-fe)/ve):2-ae*E(fe)*Math.sin((X+fe)/ve))/2}return se.amplitude=function(fe){return ie(fe,ve*ce)},se.period=function(fe){return ie(ae,fe)},se}(1,.3),oe={};function he(ie){return oe[ie.toLowerCase()]||y[ie]}},function(Ee,c,r){\"use strict\";var y=function(){function N(){this._events={}}return N.prototype.on=function(C,w,O){return this._events[C]||(this._events[C]=[]),this._events[C].push({callback:w,once:!!O}),this},N.prototype.once=function(C,w){return this.on(C,w,!0)},N.prototype.emit=function(C){for(var w=this,O=[],b=1;b<arguments.length;b++)O[b-1]=arguments[b];var p=this._events[C]||[],u=this._events[\"*\"]||[],a=function(f){for(var h=f.length,l=0;l<h;l++)if(f[l]){var s=f[l],m=s.callback;s.once&&(f.splice(l,1),f.length===0&&delete w._events[C],h--,l--),m.apply(w,O)}};a(p),a(u)},N.prototype.off=function(C,w){if(C)if(w){for(var O=this._events[C]||[],b=O.length,p=0;p<b;p++)O[p].callback===w&&(O.splice(p,1),b--,p--);O.length===0&&delete this._events[C]}else delete this._events[C];else this._events={};return this},N.prototype.getEvents=function(){return this._events},N}();c.a=y},function(Ee,c,r){\"use strict\";var y=r(1),N=r(0),C=r(54),w=r(8),O={},b=function(p){function u(){return p!==null&&p.apply(this,arguments)||this}return Object(y.__extends)(u,p),u.prototype.isCanvas=function(){return!1},u.prototype.getBBox=function(){var a=1/0,f=-1/0,h=1/0,l=-1/0,s=[],m=[],x=this.getChildren().filter(function(M){return M.get(\"visible\")&&(!M.isGroup()||M.isGroup()&&M.getChildren().length>0)});return x.length>0?(Object(w.a)(x,function(M){var E=M.getBBox();s.push(E.minX,E.maxX),m.push(E.minY,E.maxY)}),a=Object(N.min)(s),f=Object(N.max)(s),h=Object(N.min)(m),l=Object(N.max)(m)):(a=0,f=0,h=0,l=0),{x:a,y:h,minX:a,minY:h,maxX:f,maxY:l,width:f-a,height:l-h}},u.prototype.getCanvasBBox=function(){var a=1/0,f=-1/0,h=1/0,l=-1/0,s=[],m=[],x=this.getChildren().filter(function(M){return M.get(\"visible\")&&(!M.isGroup()||M.isGroup()&&M.getChildren().length>0)});return x.length>0?(Object(w.a)(x,function(M){var E=M.getCanvasBBox();s.push(E.minX,E.maxX),m.push(E.minY,E.maxY)}),a=Object(N.min)(s),f=Object(N.max)(s),h=Object(N.min)(m),l=Object(N.max)(m)):(a=0,f=0,h=0,l=0),{x:a,y:h,minX:a,minY:h,maxX:f,maxY:l,width:f-a,height:l-h}},u.prototype.getDefaultCfg=function(){var a=p.prototype.getDefaultCfg.call(this);return a.children=[],a},u.prototype.onAttrChange=function(a,f,h){if(p.prototype.onAttrChange.call(this,a,f,h),a===\"matrix\"){var l=this.getTotalMatrix();this._applyChildrenMarix(l)}},u.prototype.applyMatrix=function(a){var f=this.getTotalMatrix();p.prototype.applyMatrix.call(this,a);var h=this.getTotalMatrix();h!==f&&this._applyChildrenMarix(h)},u.prototype._applyChildrenMarix=function(a){var f=this.getChildren();Object(w.a)(f,function(h){h.applyMatrix(a)})},u.prototype.addShape=function(){for(var a=[],f=0;f<arguments.length;f++)a[f]=arguments[f];var h=a[0],l=a[1];Object(w.f)(h)?l=h:l.type=h;var s=O[l.type];s||(s=Object(w.k)(l.type),O[l.type]=s);var m=this.getShapeBase(),x=new m[s](l);return this.add(x),x},u.prototype.addGroup=function(){for(var a=[],f=0;f<arguments.length;f++)a[f]=arguments[f];var h,l=a[0],s=a[1];if(Object(w.d)(l))h=new l(s||{parent:this});else{var m=l||{},x=this.getGroupBase();h=new x(m)}return this.add(h),h},u.prototype.getCanvas=function(){return this.isCanvas()?this:this.get(\"canvas\")},u.prototype.getShape=function(a,f,h){if(!Object(w.b)(this))return null;var l,s=this.getChildren();if(this.isCanvas())l=this._findShape(s,a,f,h);else{var m=[a,f,1];m=this.invertFromMatrix(m),this.isClipped(m[0],m[1])||(l=this._findShape(s,m[0],m[1],h))}return l},u.prototype._findShape=function(a,f,h,l){for(var s=null,m=a.length-1;m>=0;m--){var x=a[m];if(Object(w.b)(x)&&(x.isGroup()?s=x.getShape(f,h,l):x.isHit(f,h)&&(s=x)),s)break}return s},u.prototype.add=function(a){var f=this.getCanvas(),h=this.getChildren(),l=this.get(\"timeline\"),s=a.getParent();s&&function(m,x,M){M===void 0&&(M=!0),M?x.destroy():(x.set(\"parent\",null),x.set(\"canvas\",null)),Object(w.j)(m.getChildren(),x)}(s,a,!1),a.set(\"parent\",this),f&&function m(x,M){if(x.set(\"canvas\",M),x.isGroup()){var E=x.get(\"children\");E.length&&E.forEach(function(j){m(j,M)})}}(a,f),l&&function m(x,M){if(x.set(\"timeline\",M),x.isGroup()){var E=x.get(\"children\");E.length&&E.forEach(function(j){m(j,M)})}}(a,l),h.push(a),a.onCanvasChange(\"add\"),this._applyElementMatrix(a)},u.prototype._applyElementMatrix=function(a){var f=this.getTotalMatrix();f&&a.applyMatrix(f)},u.prototype.getChildren=function(){return this.get(\"children\")},u.prototype.sort=function(){var a,f=this.getChildren();Object(w.a)(f,function(h,l){return h._INDEX=l,h}),f.sort((a=function(h,l){return h.get(\"zIndex\")-l.get(\"zIndex\")},function(h,l){var s=a(h,l);return s===0?h._INDEX-l._INDEX:s})),this.onCanvasChange(\"sort\")},u.prototype.clear=function(){if(this.set(\"clearing\",!0),!this.destroyed){for(var a=this.getChildren(),f=a.length-1;f>=0;f--)a[f].destroy();this.set(\"children\",[]),this.onCanvasChange(\"clear\"),this.set(\"clearing\",!1)}},u.prototype.destroy=function(){this.get(\"destroyed\")||(this.clear(),p.prototype.destroy.call(this))},u.prototype.getFirst=function(){return this.getChildByIndex(0)},u.prototype.getLast=function(){var a=this.getChildren();return this.getChildByIndex(a.length-1)},u.prototype.getChildByIndex=function(a){return this.getChildren()[a]},u.prototype.getCount=function(){return this.getChildren().length},u.prototype.contain=function(a){return this.getChildren().indexOf(a)>-1},u.prototype.removeChild=function(a,f){f===void 0&&(f=!0),this.contain(a)&&a.remove(f)},u.prototype.findAll=function(a){var f=[],h=this.getChildren();return Object(w.a)(h,function(l){a(l)&&f.push(l),l.isGroup()&&(f=f.concat(l.findAll(a)))}),f},u.prototype.find=function(a){var f=null,h=this.getChildren();return Object(w.a)(h,function(l){if(a(l)?f=l:l.isGroup()&&(f=l.find(a)),f)return!1}),f},u.prototype.findById=function(a){return this.find(function(f){return f.get(\"id\")===a})},u.prototype.findByClassName=function(a){return this.find(function(f){return f.get(\"className\")===a})},u.prototype.findAllByName=function(a){return this.findAll(function(f){return f.get(\"name\")===a})},u}(C.a);c.a=b},function(Ee,c,r){\"use strict\";var y=r(1),N=r(0),C=r(4),w=r(8),O=r(22),b=r(49),p=C.a.transform,u=[\"zIndex\",\"capture\",\"visible\",\"type\"],a=[\"repeat\"];function f(m,x){var M={},E=x.attrs;for(var j in m)M[j]=E[j];return M}function h(m,x){var M={},E=x.attr();return Object(N.each)(m,function(j,L){a.indexOf(L)!==-1||Object(N.isEqual)(E[L],j)||(M[L]=j)}),M}function l(m,x){if(x.onFrame)return m;var M=x.startTime,E=x.delay,j=x.duration,L=Object.prototype.hasOwnProperty;return Object(N.each)(m,function(A){M+E<A.startTime+A.delay+A.duration&&j>A.delay&&Object(N.each)(x.toAttrs,function(J,q){L.call(A.toAttrs,q)&&(delete A.toAttrs[q],delete A.fromAttrs[q])})}),m}var s=function(m){function x(M){var E=m.call(this,M)||this;E.attrs={};var j=E.getDefaultAttrs();return Object(N.mix)(j,M.attrs),E.attrs=j,E.initAttrs(j),E.initAnimate(),E}return Object(y.__extends)(x,m),x.prototype.getDefaultCfg=function(){return{visible:!0,capture:!0,zIndex:0}},x.prototype.getDefaultAttrs=function(){return{matrix:this.getDefaultMatrix(),opacity:1}},x.prototype.onCanvasChange=function(M){},x.prototype.initAttrs=function(M){},x.prototype.initAnimate=function(){this.set(\"animable\",!0),this.set(\"animating\",!1)},x.prototype.isGroup=function(){return!1},x.prototype.getParent=function(){return this.get(\"parent\")},x.prototype.getCanvas=function(){return this.get(\"canvas\")},x.prototype.attr=function(){for(var M,E=[],j=0;j<arguments.length;j++)E[j]=arguments[j];var L=E[0],A=E[1];if(!L)return this.attrs;if(Object(N.isObject)(L)){for(var J in L)this.setAttr(J,L[J]);return this.afterAttrsChange(L),this}return E.length===2?(this.setAttr(L,A),this.afterAttrsChange(((M={})[L]=A,M)),this):this.attrs[L]},x.prototype.isClipped=function(M,E){var j=this.getClip();return j&&!j.isHit(M,E)},x.prototype.setAttr=function(M,E){var j=this.attrs[M];j!==E&&(this.attrs[M]=E,this.onAttrChange(M,E,j))},x.prototype.onAttrChange=function(M,E,j){M===\"matrix\"&&this.set(\"totalMatrix\",null)},x.prototype.afterAttrsChange=function(M){if(this.cfg.isClipShape){var E=this.cfg.applyTo;E&&E.onCanvasChange(\"clip\")}else this.onCanvasChange(\"attr\")},x.prototype.show=function(){return this.set(\"visible\",!0),this.onCanvasChange(\"show\"),this},x.prototype.hide=function(){return this.set(\"visible\",!1),this.onCanvasChange(\"hide\"),this},x.prototype.setZIndex=function(M){this.set(\"zIndex\",M);var E=this.getParent();return E&&E.sort(),this},x.prototype.toFront=function(){var M=this.getParent();if(M){var E=M.getChildren(),j=(this.get(\"el\"),E.indexOf(this));E.splice(j,1),E.push(this),this.onCanvasChange(\"zIndex\")}},x.prototype.toBack=function(){var M=this.getParent();if(M){var E=M.getChildren(),j=(this.get(\"el\"),E.indexOf(this));E.splice(j,1),E.unshift(this),this.onCanvasChange(\"zIndex\")}},x.prototype.remove=function(M){M===void 0&&(M=!0);var E=this.getParent();E?(Object(w.j)(E.getChildren(),this),E.get(\"clearing\")||this.onCanvasChange(\"remove\")):this.onCanvasChange(\"remove\"),M&&this.destroy()},x.prototype.resetMatrix=function(){this.attr(\"matrix\",this.getDefaultMatrix()),this.onCanvasChange(\"matrix\")},x.prototype.getMatrix=function(){return this.attr(\"matrix\")},x.prototype.setMatrix=function(M){this.attr(\"matrix\",M),this.onCanvasChange(\"matrix\")},x.prototype.getTotalMatrix=function(){var M=this.cfg.totalMatrix;if(!M){var E=this.attr(\"matrix\"),j=this.cfg.parentMatrix;M=j&&E?Object(O.b)(j,E):E||j,this.set(\"totalMatrix\",M)}return M},x.prototype.applyMatrix=function(M){var E=this.attr(\"matrix\"),j=null;j=M&&E?Object(O.b)(M,E):E||M,this.set(\"totalMatrix\",j),this.set(\"parentMatrix\",M)},x.prototype.getDefaultMatrix=function(){return null},x.prototype.applyToMatrix=function(M){var E=this.attr(\"matrix\");return E?Object(O.c)(E,M):M},x.prototype.invertFromMatrix=function(M){var E=this.attr(\"matrix\");if(E){var j=Object(O.a)(E);if(j)return Object(O.c)(j,M)}return M},x.prototype.setClip=function(M){var E=this.getCanvas(),j=null;if(M){var L=this.getShapeBase()[Object(N.upperFirst)(M.type)];L&&(j=new L({type:M.type,isClipShape:!0,applyTo:this,attrs:M.attrs,canvas:E}))}return this.set(\"clipShape\",j),this.onCanvasChange(\"clip\"),j},x.prototype.getClip=function(){var M=this.cfg.clipShape;return M||null},x.prototype.clone=function(){var M=this,E=this.attrs,j={};Object(N.each)(E,function(A,J){Object(N.isArray)(E[J])?j[J]=function(q){for(var re=[],me=0;me<q.length;me++)Object(N.isArray)(q[me])?re.push([].concat(q[me])):re.push(q[me]);return re}(E[J]):j[J]=E[J]});var L=new this.constructor({attrs:j});return Object(N.each)(u,function(A){L.set(A,M.get(A))}),L},x.prototype.destroy=function(){this.destroyed||(this.attrs={},m.prototype.destroy.call(this))},x.prototype.isAnimatePaused=function(){return this.get(\"_pause\").isPaused},x.prototype.animate=function(){for(var M=[],E=0;E<arguments.length;E++)M[E]=arguments[E];if(this.get(\"timeline\")||this.get(\"canvas\")){this.set(\"animating\",!0);var j=this.get(\"timeline\");j||(j=this.get(\"canvas\").get(\"timeline\"),this.set(\"timeline\",j));var L=this.get(\"animations\")||[];j.timer||j.initTimer();var A,J,q,re,me,Te=M[0],ee=M[1],xe=M[2],Ie=xe===void 0?\"easeLinear\":xe,Le=M[3],De=Le===void 0?N.noop:Le,ce=M[4],ye=ce===void 0?0:ce;Object(N.isFunction)(Te)?(A=Te,Te={}):Object(N.isObject)(Te)&&Te.onFrame&&(A=Te.onFrame,J=Te.repeat),Object(N.isObject)(ee)?(ee=(me=ee).duration,Ie=me.easing||\"easeLinear\",ye=me.delay||0,J=me.repeat||J||!1,De=me.callback||N.noop,q=me.pauseCallback||N.noop,re=me.resumeCallback||N.noop):(Object(N.isNumber)(De)&&(ye=De,De=null),Object(N.isFunction)(Ie)?(De=Ie,Ie=\"easeLinear\"):Ie=Ie||\"easeLinear\");var Oe=h(Te,this),Ce={fromAttrs:f(Oe,this),toAttrs:Oe,duration:ee,easing:Ie,repeat:J,callback:De,pauseCallback:q,resumeCallback:re,delay:ye,startTime:j.getTime(),id:Object(N.uniqueId)(),onFrame:A,pathFormatted:!1};L.length>0?L=l(L,Ce):j.addAnimator(this),L.push(Ce),this.set(\"animations\",L),this.set(\"_pause\",{isPaused:!1})}},x.prototype.stopAnimate=function(M){var E=this;M===void 0&&(M=!0);var j=this.get(\"animations\");Object(N.each)(j,function(L){M&&(L.onFrame?E.attr(L.onFrame(1)):E.attr(L.toAttrs)),L.callback&&L.callback()}),this.set(\"animating\",!1),this.set(\"animations\",[])},x.prototype.pauseAnimate=function(){var M=this.get(\"timeline\"),E=this.get(\"animations\"),j=M.getTime();return Object(N.each)(E,function(L){L._paused=!0,L._pauseTime=j,L.pauseCallback&&L.pauseCallback()}),this.set(\"_pause\",{isPaused:!0,pauseTime:j}),this},x.prototype.resumeAnimate=function(){var M=this.get(\"timeline\").getTime(),E=this.get(\"animations\"),j=this.get(\"_pause\").pauseTime;return Object(N.each)(E,function(L){L.startTime=L.startTime+(M-j),L._paused=!1,L._pauseTime=null,L.resumeCallback&&L.resumeCallback()}),this.set(\"_pause\",{isPaused:!1}),this.set(\"animations\",E),this},x.prototype.emitDelegation=function(M,E){var j,L=this,A=E.propagationPath;this.getEvents(),M===\"mouseenter\"?j=E.fromShape:M===\"mouseleave\"&&(j=E.toShape);for(var J=function(me){var Te=A[me],ee=Te.get(\"name\");if(ee){if((Te.isGroup()||Te.isCanvas&&Te.isCanvas())&&j&&Object(w.g)(Te,j))return\"break\";Object(N.isArray)(ee)?Object(N.each)(ee,function(xe){L.emitDelegateEvent(Te,xe,E)}):q.emitDelegateEvent(Te,ee,E)}},q=this,re=0;re<A.length&&J(re)!==\"break\";re++);},x.prototype.emitDelegateEvent=function(M,E,j){var L=this.getEvents(),A=E+\":\"+j.type;(L[A]||L[\"*\"])&&(j.name=A,j.currentTarget=M,j.delegateTarget=this,j.delegateObject=M.get(\"delegateObject\"),this.emit(A,j))},x.prototype.translate=function(M,E){M===void 0&&(M=0),E===void 0&&(E=0);var j=this.getMatrix(),L=p(j,[[\"t\",M,E]]);return this.setMatrix(L),this},x.prototype.move=function(M,E){var j=this.attr(\"x\")||0,L=this.attr(\"y\")||0;return this.translate(M-j,E-L),this},x.prototype.moveTo=function(M,E){return this.move(M,E)},x.prototype.scale=function(M,E){var j=this.getMatrix(),L=p(j,[[\"s\",M,E||M]]);return this.setMatrix(L),this},x.prototype.rotate=function(M){var E=this.getMatrix(),j=p(E,[[\"r\",M]]);return this.setMatrix(j),this},x.prototype.rotateAtStart=function(M){var E=this.attr(),j=E.x,L=E.y,A=this.getMatrix(),J=p(A,[[\"t\",-j,-L],[\"r\",M],[\"t\",j,L]]);return this.setMatrix(J),this},x.prototype.rotateAtPoint=function(M,E,j){var L=this.getMatrix(),A=p(L,[[\"t\",-M,-E],[\"r\",j],[\"t\",M,E]]);return this.setMatrix(A),this},x}(b.a);c.a=s},function(Ee,c,r){\"use strict\";(function(y){r.d(c,\"a\",function(){return h});var N=function(m,x,M){if(M||arguments.length===2)for(var E,j=0,L=x.length;j<L;j++)!E&&j in x||(E||(E=Array.prototype.slice.call(x,0,j)),E[j]=x[j]);return m.concat(E||Array.prototype.slice.call(x))},C=function(m,x,M){this.name=m,this.version=x,this.os=M,this.type=\"browser\"},w=function(m){this.version=m,this.type=\"node\",this.name=\"node\",this.os=y.platform},O=function(m,x,M,E){this.name=m,this.version=x,this.os=M,this.bot=E,this.type=\"bot-device\"},b=function(){this.type=\"bot\",this.bot=!0,this.name=\"bot\",this.version=null,this.os=null},p=function(){this.type=\"react-native\",this.name=\"react-native\",this.version=null,this.os=null},u=/(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\\ Jeeves\\/Teoma|ia_archiver)/,a=[[\"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\",/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/]],f=[[\"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 h(m){return m?s(m):typeof document==\"undefined\"&&typeof navigator!=\"undefined\"&&navigator.product===\"ReactNative\"?new p:typeof navigator!=\"undefined\"?s(navigator.userAgent):y!==void 0&&y.version?new w(y.version.slice(1)):null}function l(m){return m!==\"\"&&a.reduce(function(x,M){var E=M[0],j=M[1];if(x)return x;var L=j.exec(m);return!!L&&[E,L]},!1)}function s(m){var x=l(m);if(!x)return null;var M=x[0],E=x[1];if(M===\"searchbot\")return new b;var j=E[1]&&E[1].split(\".\").join(\"_\").split(\"_\").slice(0,3);j?j.length<3&&(j=N(N([],j,!0),function(q){for(var re=[],me=0;me<q;me++)re.push(\"0\");return re}(3-j.length),!0)):j=[];var L=j.join(\".\"),A=function(q){for(var re=0,me=f.length;re<me;re++){var Te=f[re],ee=Te[0];if(Te[1].exec(q))return ee}return null}(m),J=u.exec(m);return J&&J[1]?new O(M,L,A,J[1]):new C(M,L,A)}}).call(this,r(121))},function(Ee,c,r){\"use strict\";r.d(c,\"b\",function(){return p}),r.d(c,\"a\",function(){return u});var y=r(5),N=/^l\\s*\\(\\s*([\\d.]+)\\s*\\)\\s*(.*)/i,C=/^r\\s*\\(\\s*([\\d.]+)\\s*,\\s*([\\d.]+)\\s*,\\s*([\\d.]+)\\s*\\)\\s*(.*)/i,w=/^p\\s*\\(\\s*([axyn])\\s*\\)\\s*(.*)/i,O=/[\\d.]+:(#[^\\s]+|[^\\)]+\\))/gi;function b(a,f){var h=a.match(O);Object(y.c)(h,function(l){var s=l.split(\":\");f.addColorStop(s[0],s[1])})}function p(a,f,h){var l=f.getBBox();if(isNaN(l.x)||isNaN(l.y)||isNaN(l.width)||isNaN(l.height))return h;if(Object(y.k)(h)){if(h[1]===\"(\"||h[2]===\"(\"){if(h[0]===\"l\")return function(s,m,x){var M,E,j=N.exec(x),L=parseFloat(j[1])%360*(Math.PI/180),A=j[2],J=m.getBBox();L>=0&&L<.5*Math.PI?(M={x:J.minX,y:J.minY},E={x:J.maxX,y:J.maxY}):.5*Math.PI<=L&&L<Math.PI?(M={x:J.maxX,y:J.minY},E={x:J.minX,y:J.maxY}):Math.PI<=L&&L<1.5*Math.PI?(M={x:J.maxX,y:J.maxY},E={x:J.minX,y:J.minY}):(M={x:J.minX,y:J.maxY},E={x:J.maxX,y:J.minY});var q=Math.tan(L),re=q*q,me=(E.x-M.x+q*(E.y-M.y))/(re+1)+M.x,Te=q*(E.x-M.x+q*(E.y-M.y))/(re+1)+M.y,ee=s.createLinearGradient(M.x,M.y,me,Te);return b(A,ee),ee}(a,f,h);if(h[0]===\"r\")return function(s,m,x){var M=C.exec(x),E=parseFloat(M[1]),j=parseFloat(M[2]),L=parseFloat(M[3]),A=M[4];if(L===0){var J=A.match(O);return J[J.length-1].split(\":\")[1]}var q=m.getBBox(),re=q.maxX-q.minX,me=q.maxY-q.minY,Te=Math.sqrt(re*re+me*me)/2,ee=s.createRadialGradient(q.minX+re*E,q.minY+me*j,0,q.minX+re/2,q.minY+me/2,L*Te);return b(A,ee),ee}(a,f,h);if(h[0]===\"p\")return function(s,m,x){if(m.get(\"patternSource\")&&m.get(\"patternSource\")===x)return m.get(\"pattern\");var M,E,j=w.exec(x),L=j[1],A=j[2];function J(){M=s.createPattern(E,L),m.set(\"pattern\",M),m.set(\"patternSource\",x)}switch(L){case\"a\":L=\"repeat\";break;case\"x\":L=\"repeat-x\";break;case\"y\":L=\"repeat-y\";break;case\"n\":L=\"no-repeat\";break;default:L=\"no-repeat\"}return E=new Image,A.match(/^data:/i)||(E.crossOrigin=\"Anonymous\"),E.src=A,E.complete?J():(E.onload=J,E.src=E.src),M}(a,f,h)}return h}return h instanceof CanvasPattern?h:void 0}function u(a){var f=0,h=0,l=0,s=0;return Object(y.g)(a)?a.length===1?f=h=l=s=a[0]:a.length===2?(f=l=a[0],h=s=a[1]):a.length===3?(f=a[0],h=s=a[1],l=a[2]):(f=a[0],h=a[1],l=a[2],s=a[3]):f=h=l=s=a,[f,h,l,s]}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.MESSAGE=c.ALGORITHM=void 0,c.ALGORITHM={pageRank:\"pageRank\",breadthFirstSearch:\"breadthFirstSearch\",connectedComponent:\"connectedComponent\",depthFirstSearch:\"depthFirstSearch\",detectCycle:\"detectCycle\",detectDirectedCycle:\"detectDirectedCycle\",detectAllCycles:\"detectAllCycles\",detectAllDirectedCycle:\"detectAllDirectedCycle\",detectAllUndirectedCycle:\"detectAllUndirectedCycle\",dijkstra:\"dijkstra\",findAllPath:\"findAllPath\",findShortestPath:\"findShortestPath\",floydWarshall:\"floydWarshall\",getAdjMatrix:\"getAdjMatrix\",getDegree:\"getDegree\",getInDegree:\"getInDegree\",getNeighbors:\"getNeighbors\",getOutDegree:\"getOutDegree\",labelPropagation:\"labelPropagation\",louvain:\"louvain\",GADDI:\"GADDI\",minimumSpanningTree:\"minimumSpanningTree\",SUCCESS:\"SUCCESS\",FAILURE:\"FAILURE\"},c.MESSAGE={SUCCESS:\"SUCCESS\",FAILURE:\"FAILURE\"}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var y=r(1),N=r(0),C=r(27),w=function(b,p,u,a){var f=b.nodes,h=f===void 0?[]:f,l=b.edges,s=l===void 0?[]:l,m=[],x={},M={},E={};h.forEach(function(me,Te){var ee=me.id;m.push(ee),M[ee]=1/0,ee===p&&(M[ee]=0)});for(var j=h.length,L=function(me){var Te=function(xe,Ie,Le){for(var De,ce=1/0,ye=0;ye<Ie.length;ye++){var Oe=Ie[ye].id;!Le[Oe]&&xe[Oe]<=ce&&(ce=xe[Oe],De=Ie[ye])}return De}(M,h,x),ee=Te.id;if(x[ee]=!0,M[ee]===1/0)return\"continue\";(u?(0,C.getOutEdgesNodeId)(ee,s):(0,C.getEdgesByNodeId)(ee,s)).forEach(function(xe){var Ie=xe.target,Le=xe.source,De=Ie===ee?Le:Ie,ce=a&&xe[a]?xe[a]:1;M[De]>M[Te.id]+ce?(M[De]=M[Te.id]+ce,E[De]=[Te.id]):M[De]===M[Te.id]+ce&&E[De].push(Te.id)})},A=0;A<j;A++)L();E[p]=[p];var J={};for(var q in M)M[q]!==1/0&&O(p,q,E,J);var re={};for(var q in J)re[q]=J[q][0];return{length:M,path:re,allPath:J}};function O(b,p,u,a){if(b===p)return[b];if(a[p])return a[p];for(var f=[],h=0,l=u[p];h<l.length;h++){var s=O(b,l[h],u,a);if(!s)return;for(var m=0,x=s;m<x.length;m++){var M=x[m];(0,N.isArray)(M)?f.push((0,y.__spreadArray)((0,y.__spreadArray)([],M,!0),[p],!1)):f.push([M,p])}}return a[p]=f,a[p]}c.default=w},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.toNumber=c.isNaN=c.isNumber=void 0,c.isNumber=function(y){return typeof y==\"number\"},c.isNaN=function(y){return Number.isNaN(Number(y))},c.toNumber=function(y){var N=parseFloat(y);return(0,c.isNaN)(N)?y:N}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.getCoreNodeAndRelativeLeafNodes=c.getAvgNodePosition=c.getLayoutBBox=c.traverseTreeUp=c.scaleMatrix=c.getAdjMatrix=c.floydWarshall=c.getDegreeMap=c.getDegree=c.getEdgeTerminal=void 0;var y=r(80),N=r(59),C=r(81);c.getEdgeTerminal=function(b,p){var u=b[p];return(0,C.isObject)(u)?u.cell:u},c.getDegree=function(b,p,u){for(var a=[],f=0;f<b;f++)a[f]={in:0,out:0,all:0};return u&&u.forEach(function(h){var l=(0,c.getEdgeTerminal)(h,\"source\"),s=(0,c.getEdgeTerminal)(h,\"target\");l&&a[p[l]]&&(a[p[l]].out+=1,a[p[l]].all+=1),s&&a[p[s]]&&(a[p[s]].in+=1,a[p[s]].all+=1)}),a},c.getDegreeMap=function(b,p){var u={};return b.forEach(function(a){u[a.id]={in:0,out:0,all:0}}),p&&p.forEach(function(a){var f=(0,c.getEdgeTerminal)(a,\"source\"),h=(0,c.getEdgeTerminal)(a,\"target\");f&&(u[f].out+=1,u[f].all+=1),h&&(u[h].in+=1,u[h].all+=1)}),u},c.floydWarshall=function(b){for(var p=[],u=b.length,a=0;a<u;a+=1){p[a]=[];for(var f=0;f<u;f+=1)a===f?p[a][f]=0:b[a][f]!==0&&b[a][f]?p[a][f]=b[a][f]:p[a][f]=1/0}for(var h=0;h<u;h+=1)for(a=0;a<u;a+=1)for(f=0;f<u;f+=1)p[a][f]>p[a][h]+p[h][f]&&(p[a][f]=p[a][h]+p[h][f]);return p},c.getAdjMatrix=function(b,p){var u=b.nodes,a=b.edges,f=[],h={};if(!u)throw new Error(\"invalid nodes data!\");return u&&u.forEach(function(l,s){h[l.id]=s,f.push([])}),a==null||a.forEach(function(l){var s=(0,c.getEdgeTerminal)(l,\"source\"),m=(0,c.getEdgeTerminal)(l,\"target\"),x=h[s],M=h[m];x!==void 0&&M!==void 0&&(f[x][M]=1,p||(f[M][x]=1))}),f},c.scaleMatrix=function(b,p){var u=[];return b.forEach(function(a){var f=[];a.forEach(function(h){f.push(h*p)}),u.push(f)}),u},c.traverseTreeUp=function(b,p){typeof p==\"function\"&&function u(a,f){if(a&&a.children){for(var h=a.children.length-1;h>=0;h--)if(!u(a.children[h],f))return}return!!f(a)}(b,p)},c.getLayoutBBox=function(b){var p=1/0,u=1/0,a=-1/0,f=-1/0;return b.forEach(function(h){var l=h.size;(0,y.isArray)(l)?l.length===1&&(l=[l[0],l[0]]):(0,N.isNumber)(l)?l=[l,l]:(l===void 0||isNaN(l))&&(l=[30,30]);var s=[l[0]/2,l[1]/2],m=h.x-s[0],x=h.x+s[0],M=h.y-s[1],E=h.y+s[1];p>m&&(p=m),u>M&&(u=M),a<x&&(a=x),f<E&&(f=E)}),{minX:p,minY:u,maxX:a,maxY:f}},c.getAvgNodePosition=function(b){var p={x:0,y:0};b.forEach(function(a){p.x+=a.x||0,p.y+=a.y||0});var u=b.length||1;return{x:p.x/u,y:p.y/u}};var w=function(b,p,u){var a,f;return b===\"source\"?((a=u==null?void 0:u.find(function(h){return h.target===p.id}))===null||a===void 0?void 0:a.source)||{}:((f=u==null?void 0:u.find(function(h){return h.source===p.id}))===null||f===void 0?void 0:f.target)||{}},O=function(b,p,u){var a=[];switch(b){case\"source\":a=u==null?void 0:u.filter(function(h){return h.source===p.id}).map(function(h){return h.target});break;case\"target\":a=u==null?void 0:u.filter(function(h){return h.target===p.id}).map(function(h){return h.source});break;case\"both\":a=u==null?void 0:u.filter(function(h){return h.source===p.id}).map(function(h){return h.target}).concat(u==null?void 0:u.filter(function(h){return h.target===p.id}).map(function(h){return h.source}))}var f=new Set(a);return Array.from(f)};c.getCoreNodeAndRelativeLeafNodes=function(b,p,u,a,f,h){var l=f[p.id],s=l.in,m=l.out,x=p,M=[];return s===0?(x=w(\"source\",p,u),M=O(\"both\",x,u).map(function(E){return h[E]})):m===0&&(x=w(\"target\",p,u),M=O(\"both\",x,u).map(function(E){return h[E]})),{coreNode:x,relativeLeafNodes:M=M.filter(function(E){return f[E.id]&&(f[E.id].in===0||f[E.id].out===0)}),sameTypeLeafNodes:function(E,j,L,A,J){var q=L[j]||\"\",re=(A==null?void 0:A.filter(function(me){return me[j]===q}))||[];return E===\"leaf\"&&(re=re.filter(function(me){var Te,ee;return((Te=J[me.id])===null||Te===void 0?void 0:Te.in)===0||((ee=J[me.id])===null||ee===void 0?void 0:ee.out)===0})),re}(b,a,p,M,f)}}},function(Ee,c,r){\"use strict\";r.r(c);var y=r(111);r.d(c,\"quadtree\",function(){return y.a})},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(f,h){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,s){l.__proto__=s}||function(l,s){for(var m in s)Object.prototype.hasOwnProperty.call(s,m)&&(l[m]=s[m])})(f,h)},function(f,h){if(typeof h!=\"function\"&&h!==null)throw new TypeError(\"Class extends value \"+String(h)+\" is not a constructor or null\");function l(){this.constructor=f}y(f,h),f.prototype=h===null?Object.create(h):(l.prototype=h.prototype,new l)}),C=this&&this.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(c,\"__esModule\",{value:!0}),c.DagreLayout=void 0;var w=C(r(156)),O=r(15),b=r(18),p=r(35),u=function(f){function h(l){var s=f.call(this)||this;return s.rankdir=\"TB\",s.nodesep=50,s.ranksep=50,s.controlPoints=!1,s.sortByCombo=!1,s.edgeLabelSpace=!0,s.radial=!1,s.nodes=[],s.edges=[],s.onLayoutEnd=function(){},s.layoutNode=function(m){var x=s.nodes.find(function(M){return M.id===m});return!x||x.layout!==!1},s.updateCfg(l),s}return N(h,f),h.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}},h.prototype.execute=function(){var l,s,m,x=this,M=this,E=M.nodes,j=M.nodeSize,L=M.rankdir,A=M.combos,J=M.begin,q=M.radial,re=M.comboEdges,me=re===void 0?[]:re,Te=M.vedges,ee=Te===void 0?[]:Te;if(E){var xe=M.edges||[],Ie=new p.Graph({multigraph:!0,compound:!0});M.nodeMap={};var Le,De={};E.forEach(function(Ft){M.nodeMap[Ft.id]=Ft,Ft.comboId&&(De[Ft.comboId]=De[Ft.comboId]||[],De[Ft.comboId].push(Ft.id))}),Le=j?(0,O.isArray)(j)?function(){return j}:function(){return[j,j]}:function(Ft){return Ft.size?(0,O.isArray)(Ft.size)?Ft.size:(0,O.isObject)(Ft.size)?[Ft.size.width||40,Ft.size.height||40]:[Ft.size,Ft.size]:[40,40]};var ce=(0,O.getFunc)(M.ranksep,50,M.ranksepFunc),ye=(0,O.getFunc)(M.nodesep,50,M.nodesepFunc),Oe=ye,Ce=ce;L!==\"LR\"&&L!==\"RL\"||(Oe=ce,Ce=ye),Ie.setDefaultEdgeLabel(function(){return{}}),Ie.setGraph(M);var oe={};this.sortByCombo&&A&&A.forEach(function(Ft){if(oe[Ft.id]=Ft,Ft.collapsed){var kt=Le(Ft),At=Ce(Ft),Fn=Oe(Ft),pn=kt[0]+2*Fn,en=kt[1]+2*At;Ie.setNode(Ft.id,{width:pn,height:en})}Ft.parentId&&(oe[Ft.parentId]||Ie.setNode(Ft.parentId,{}),Ie.setParent(Ft.id,Ft.parentId))}),E.filter(function(Ft){return Ft.layout!==!1}).forEach(function(Ft){var kt=Le(Ft),At=Ce(Ft),Fn=Oe(Ft),pn=kt[0]+2*Fn,en=kt[1]+2*At,Wn=Ft.layer;(0,O.isNumber)(Wn)?Ie.setNode(Ft.id,{width:pn,height:en,layer:Wn}):Ie.setNode(Ft.id,{width:pn,height:en}),x.sortByCombo&&Ft.comboId&&(oe[Ft.comboId]||(oe[Ft.comboId]={id:Ft.comboId},Ie.setNode(Ft.comboId,{})),Ie.setParent(Ft.id,Ft.comboId))}),xe.forEach(function(Ft){var kt=(0,O.getEdgeTerminal)(Ft,\"source\"),At=(0,O.getEdgeTerminal)(Ft,\"target\");x.layoutNode(kt)&&x.layoutNode(At)&&Ie.setEdge(kt,At,{weight:Ft.weight||1})}),(l=me==null?void 0:me.concat(ee||[]))===null||l===void 0||l.forEach(function(Ft){var kt,At,Fn=Ft.source,pn=Ft.target,en=!((kt=oe[Fn])===null||kt===void 0)&&kt.collapsed?[Fn]:De[Fn]||[Fn],Wn=!((At=oe[pn])===null||At===void 0)&&At.collapsed?[pn]:De[pn]||[pn];en.forEach(function(Mn){Wn.forEach(function(Kn){Ie.setEdge(Mn,Kn,{weight:Ft.weight||1})})})});var he=void 0;!((s=M.preset)===null||s===void 0)&&s.nodes&&(he=new p.Graph({multigraph:!0,compound:!0}),M.preset.nodes.forEach(function(Ft){he==null||he.setNode(Ft.id,Ft)})),w.default.layout(Ie,{prevGraph:he,edgeLabelSpace:M.edgeLabelSpace,keepNodeOrder:Boolean(!!M.nodeOrder),nodeOrder:M.nodeOrder});var ie=[0,0];if(J){var ae=1/0,ve=1/0;Ie.nodes().forEach(function(Ft){var kt=Ie.node(Ft);ae>kt.x&&(ae=kt.x),ve>kt.y&&(ve=kt.y)}),Ie.edges().forEach(function(Ft){var kt;(kt=Ie.edge(Ft).points)===null||kt===void 0||kt.forEach(function(At){ae>At.x&&(ae=At.x),ve>At.y&&(ve=At.y)})}),ie[0]=J[0]-ae,ie[1]=J[1]-ve}var X=L===\"LR\"||L===\"RL\";if(q){var se=this.focusNode,fe=this.ranksep,_e=this.getRadialPos,be=(0,O.isString)(se)?se:se==null?void 0:se.id,We=be?(m=Ie.node(be))===null||m===void 0?void 0:m._rank:0,we=[],Ze=X?\"y\":\"x\",Ve=X?\"height\":\"width\",et=1/0,ht=-1/0;Ie.nodes().forEach(function(Ft){var kt=Ie.node(Ft),At=E.findIndex(function(Kn){return Kn.id===Ft});if(E[At]){var Fn=ye(E[At]);if(We===0)we[kt._rank]||(we[kt._rank]={nodes:[],totalWidth:0,maxSize:-1/0}),we[kt._rank].nodes.push(Ft),we[kt._rank].totalWidth+=2*Fn+kt[Ve],we[kt._rank].maxSize<Math.max(kt.width,kt.height)&&(we[kt._rank].maxSize=Math.max(kt.width,kt.height));else{var pn=kt._rank-We;if(pn===0)we[pn]||(we[pn]={nodes:[],totalWidth:0,maxSize:-1/0}),we[pn].nodes.push(Ft),we[pn].totalWidth+=2*Fn+kt[Ve],we[pn].maxSize<Math.max(kt.width,kt.height)&&(we[pn].maxSize=Math.max(kt.width,kt.height));else{var en=Math.abs(pn);we[en]||(we[en]={left:[],right:[],totalWidth:0,maxSize:-1/0}),we[en].totalWidth+=2*Fn+kt[Ve],we[en].maxSize<Math.max(kt.width,kt.height)&&(we[en].maxSize=Math.max(kt.width,kt.height)),pn<0?we[en].left.push(Ft):we[en].right.push(Ft)}}var Wn=kt[Ze]-kt[Ve]/2-Fn,Mn=kt[Ze]+kt[Ve]/2+Fn;Wn<et&&(et=Wn),Mn>ht&&(ht=Mn)}});var Fe=fe||50,mt={},dt=(ht-et)/.9,Lt=[.5*(et+ht-dt),.5*(et+ht+dt)],lt=function(Ft,kt,At,Fn){At===void 0&&(At=-1/0),Fn===void 0&&(Fn=[0,1]);var pn=At;return Ft.forEach(function(en){var Wn=Ie.node(en);mt[en]=kt;var Mn=_e(Wn[Ze],Lt,dt,kt,Fn),Kn=Mn.x,hr=Mn.y,pr=E.findIndex(function(Wr){return Wr.id===en});if(E[pr]){E[pr].x=Kn+ie[0],E[pr].y=hr+ie[1],E[pr]._order=Wn._order;var zr=ce(E[pr]);pn<zr&&(pn=zr)}}),pn},rn=!0;we.forEach(function(Ft){var kt,At,Fn,pn,en,Wn,Mn;if(!((kt=Ft==null?void 0:Ft.nodes)===null||kt===void 0)&&kt.length||!((At=Ft==null?void 0:Ft.left)===null||At===void 0)&&At.length||!((Fn=Ft==null?void 0:Ft.right)===null||Fn===void 0)&&Fn.length){if(rn&&Ft.nodes.length===1){var Kn=E.findIndex(function(zr){return zr.id===Ft.nodes[0]});return Kn<=-1?void 0:(E[Kn].x=ie[0],E[Kn].y=ie[1],mt[Ft.nodes[0]]=0,Fe=ce(E[Kn]),void(rn=!1))}Fe=Math.max(Fe,Ft.totalWidth/(2*Math.PI));var hr=-1/0;if(We===0||!((pn=Ft.nodes)===null||pn===void 0)&&pn.length)hr=lt(Ft.nodes,Fe,hr,[0,1]);else{var pr=((en=Ft.left)===null||en===void 0?void 0:en.length)/(((Wn=Ft.left)===null||Wn===void 0?void 0:Wn.length)+((Mn=Ft.right)===null||Mn===void 0?void 0:Mn.length));hr=lt(Ft.left,Fe,hr,[0,pr]),hr=lt(Ft.right,Fe,hr,[pr+.05,1])}Fe+=hr,rn=!1,Ft.maxSize}}),Ie.edges().forEach(function(Ft){var kt,At,Fn,pn=Ie.edge(Ft),en=xe.findIndex(function(Nr){var Kr=(0,O.getEdgeTerminal)(Nr,\"source\"),ko=(0,O.getEdgeTerminal)(Nr,\"target\");return Kr===Ft.v&&ko===Ft.w});if(!(en<=-1)&&M.edgeLabelSpace&&M.controlPoints&&xe[en].type!==\"loop\"){var Wn=Ze===\"x\"?\"y\":\"x\",Mn=(kt=pn==null?void 0:pn.points)===null||kt===void 0?void 0:kt.slice(1,pn.points.length-1),Kn=[],hr=(At=Ie.node(Ft.v))===null||At===void 0?void 0:At[Wn],pr=hr-((Fn=Ie.node(Ft.w))===null||Fn===void 0?void 0:Fn[Wn]),zr=mt[Ft.v],Wr=zr-mt[Ft.w];Mn==null||Mn.forEach(function(Nr){var Kr=(Nr[Wn]-hr)/pr*Wr+zr,ko=_e(Nr[Ze],Lt,dt,Kr);Kn.push({x:ko.x+ie[0],y:ko.y+ie[1]})}),xe[en].controlPoints=Kn}})}else{var qt=new Set,hn=L===\"BT\"||L===\"RL\"?function(Ft,kt){return kt-Ft}:function(Ft,kt){return Ft-kt};Ie.nodes().forEach(function(Ft){var kt=Ie.node(Ft);if(kt){var At=x.nodeMap[Ft];At||(At=A==null?void 0:A.find(function(Fn){return Fn.id===Ft})),At&&(At.x=kt.x+ie[0],At.y=kt.y+ie[1],At._order=kt._order,qt.add(X?At.x:At.y))}});var Kt=Array.from(qt).sort(hn),an=X?function(Ft,kt){return Ft.x!==kt.x}:function(Ft,kt){return Ft.y!==kt.y},In=X?function(Ft,kt,At){var Fn=Math.max(kt.y,At.y),pn=Math.min(kt.y,At.y);return Ft.filter(function(en){return en.y<=Fn&&en.y>=pn})}:function(Ft,kt,At){var Fn=Math.max(kt.x,At.x),pn=Math.min(kt.x,At.x);return Ft.filter(function(en){return en.x<=Fn&&en.x>=pn})};Ie.edges().forEach(function(Ft){var kt=Ie.edge(Ft),At=xe.findIndex(function(en){var Wn=(0,O.getEdgeTerminal)(en,\"source\"),Mn=(0,O.getEdgeTerminal)(en,\"target\");return Wn===Ft.v&&Mn===Ft.w});if(!(At<=-1)&&M.edgeLabelSpace&&M.controlPoints&&xe[At].type!==\"loop\"){var Fn=M.nodeMap[Ft.v],pn=M.nodeMap[Ft.w];xe[At].controlPoints=a(kt==null?void 0:kt.points,Fn,pn,Kt,X,an,In),xe[At].controlPoints.forEach(function(en){en.x+=ie[0],en.y+=ie[1]})}})}return M.onLayoutEnd&&M.onLayoutEnd(),{nodes:E,edges:xe}}},h.prototype.getRadialPos=function(l,s,m,x,M){M===void 0&&(M=[0,1]);var E=(l-s[0])/m,j=2*(E=E*(M[1]-M[0])+M[0])*Math.PI;return{x:Math.cos(j)*x,y:Math.sin(j)*x}},h.prototype.getType=function(){return\"dagre\"},h}(b.Base);c.DagreLayout=u;var a=function(f,h,l,s,m,x,M){var E=(f==null?void 0:f.slice(1,f.length-1))||[];if(h&&l){var j=h.x,L=h.y,A=l.x,J=l.y;if(m&&(j=h.y,L=h.x,A=l.y,J=l.x),J!==L&&j!==A){var q=s.indexOf(L),re=s[q+1];if(re){var me=E[0],Te=m?{x:(L+re)/2,y:(me==null?void 0:me.y)||A}:{x:(me==null?void 0:me.x)||A,y:(L+re)/2};me&&!x(me,Te)||E.unshift(Te)}var ee=s.indexOf(J),xe=Math.abs(ee-q);if(xe===1)(E=M(E,h,l)).length||E.push(m?{x:(L+J)/2,y:j}:{x:j,y:(L+J)/2});else if(xe>1){var Ie=s[ee-1];if(Ie){var Le=E[E.length-1],De=m?{x:(J+Ie)/2,y:(Le==null?void 0:Le.y)||A}:{x:(Le==null?void 0:Le.x)||j,y:(J+Ie)/2};Le&&!x(Le,De)||E.push(De)}}}}return E}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.slack=c.longestPathWithLayer=c.longestPath=void 0;var y=function(w){var O,b={};(O=w.sources())===null||O===void 0||O.forEach(function(p){return function u(a){var f,h,l=w.node(a);return l?b[a]?l.rank:(b[a]=!0,(f=w.outEdges(a))===null||f===void 0||f.forEach(function(s){var m=u(s.w)-w.edge(s).minlen;m&&(h===void 0||m<h)&&(h=m)}),h||(h=0),l.rank=h,h):0}(p)})};c.longestPath=y;var N=function(w){var O,b,p={};(O=w.sources())===null||O===void 0||O.forEach(function(a){w.node(a)&&function f(h){var l,s,m=w.node(h);return m?p[h]?m.rank:(p[h]=!0,(l=w.outEdges(h))===null||l===void 0||l.forEach(function(x){var M=f(x.w)-w.edge(x).minlen;M&&(s===void 0||M<s)&&(s=M)}),s||(s=0),(b===void 0||s<b)&&(b=s),m.rank=s,s):0}(a)}),b===void 0&&(b=0);var u={};w.nodes().forEach(function(a){var f=w.node(a);f&&(isNaN(f.layer)?f.rank-=b:function h(l,s){var m,x=w.node(l),M=isNaN(x.layer)?s:x.layer;(x.rank===void 0||x.rank<M)&&(x.rank=M),u[l]||(u[l]=!0,(m=w.outEdges(l))===null||m===void 0||m.map(function(E){h(E.w,M+w.edge(E).minlen)}))}(a,f.layer))})};c.longestPathWithLayer=N;var C=function(w,O){return w.node(O.w).rank-w.node(O.v).rank-w.edge(O).minlen};c.slack=C,c.default={longestPath:y,longestPathWithLayer:N,slack:C}},function(Ee,c,r){var y=r(98),N=r(187),C=r(188),w=y?y.toStringTag:void 0;Ee.exports=function(O){return O==null?O===void 0?\"[object Undefined]\":\"[object Null]\":w&&w in Object(O)?N(O):C(O)}},function(Ee,c){function r(y){return(r=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(N){return typeof N}:function(N){return N&&typeof Symbol==\"function\"&&N.constructor===Symbol&&N!==Symbol.prototype?\"symbol\":typeof N})(y)}Ee.exports=function(y){return y!=null&&r(y)==\"object\"}},function(Ee,c,r){\"use strict\";r.r(c),r.d(c,\"forceCenter\",function(){return y}),r.d(c,\"forceCollide\",function(){return p}),r.d(c,\"forceLink\",function(){return h}),r.d(c,\"forceManyBody\",function(){return fe}),r.d(c,\"forceRadial\",function(){return _e}),r.d(c,\"forceSimulation\",function(){return se}),r.d(c,\"forceX\",function(){return be}),r.d(c,\"forceY\",function(){return We});var y=function(we,Ze){var Ve,et=1;function ht(){var Fe,mt,dt=Ve.length,Lt=0,lt=0;for(Fe=0;Fe<dt;++Fe)Lt+=(mt=Ve[Fe]).x,lt+=mt.y;for(Lt=(Lt/dt-we)*et,lt=(lt/dt-Ze)*et,Fe=0;Fe<dt;++Fe)(mt=Ve[Fe]).x-=Lt,mt.y-=lt}return we==null&&(we=0),Ze==null&&(Ze=0),ht.initialize=function(Fe){Ve=Fe},ht.x=function(Fe){return arguments.length?(we=+Fe,ht):we},ht.y=function(Fe){return arguments.length?(Ze=+Fe,ht):Ze},ht.strength=function(Fe){return arguments.length?(et=+Fe,ht):et},ht},N=r(111),C=function(we){return function(){return we}},w=function(we){return 1e-6*(we()-.5)};function O(we){return we.x+we.vx}function b(we){return we.y+we.vy}var p=function(we){var Ze,Ve,et,ht=1,Fe=1;function mt(){for(var lt,rn,qt,hn,Kt,an,In,Ft=Ze.length,kt=0;kt<Fe;++kt)for(rn=Object(N.a)(Ze,O,b).visitAfter(dt),lt=0;lt<Ft;++lt)qt=Ze[lt],an=Ve[qt.index],In=an*an,hn=qt.x+qt.vx,Kt=qt.y+qt.vy,rn.visit(At);function At(Fn,pn,en,Wn,Mn){var Kn=Fn.data,hr=Fn.r,pr=an+hr;if(!Kn)return pn>hn+pr||Wn<hn-pr||en>Kt+pr||Mn<Kt-pr;if(Kn.index>qt.index){var zr=hn-Kn.x-Kn.vx,Wr=Kt-Kn.y-Kn.vy,Nr=zr*zr+Wr*Wr;Nr<pr*pr&&(zr===0&&(Nr+=(zr=w(et))*zr),Wr===0&&(Nr+=(Wr=w(et))*Wr),Nr=(pr-(Nr=Math.sqrt(Nr)))/Nr*ht,qt.vx+=(zr*=Nr)*(pr=(hr*=hr)/(In+hr)),qt.vy+=(Wr*=Nr)*pr,Kn.vx-=zr*(pr=1-pr),Kn.vy-=Wr*pr)}}}function dt(lt){if(lt.data)return lt.r=Ve[lt.data.index];for(var rn=lt.r=0;rn<4;++rn)lt[rn]&&lt[rn].r>lt.r&&(lt.r=lt[rn].r)}function Lt(){if(Ze){var lt,rn,qt=Ze.length;for(Ve=new Array(qt),lt=0;lt<qt;++lt)rn=Ze[lt],Ve[rn.index]=+we(rn,lt,Ze)}}return typeof we!=\"function\"&&(we=C(we==null?1:+we)),mt.initialize=function(lt,rn){Ze=lt,et=rn,Lt()},mt.iterations=function(lt){return arguments.length?(Fe=+lt,mt):Fe},mt.strength=function(lt){return arguments.length?(ht=+lt,mt):ht},mt.radius=function(lt){return arguments.length?(we=typeof lt==\"function\"?lt:C(+lt),Lt(),mt):we},mt};function u(we){return(u=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(Ze){return typeof Ze}:function(Ze){return Ze&&typeof Symbol==\"function\"&&Ze.constructor===Symbol&&Ze!==Symbol.prototype?\"symbol\":typeof Ze})(we)}function a(we){return we.index}function f(we,Ze){var Ve=we.get(Ze);if(!Ve)throw new Error(\"node not found: \"+Ze);return Ve}var h=function(we){var Ze,Ve,et,ht,Fe,mt,dt=a,Lt=function(In){return 1/Math.min(ht[In.source.index],ht[In.target.index])},lt=C(30),rn=1;function qt(In){for(var Ft=0,kt=we.length;Ft<rn;++Ft)for(var At,Fn,pn,en,Wn,Mn,Kn,hr=0;hr<kt;++hr)Fn=(At=we[hr]).source,en=(pn=At.target).x+pn.vx-Fn.x-Fn.vx||w(mt),Wn=pn.y+pn.vy-Fn.y-Fn.vy||w(mt),en*=Mn=((Mn=Math.sqrt(en*en+Wn*Wn))-Ve[hr])/Mn*In*Ze[hr],Wn*=Mn,pn.vx-=en*(Kn=Fe[hr]),pn.vy-=Wn*Kn,Fn.vx+=en*(Kn=1-Kn),Fn.vy+=Wn*Kn}function hn(){if(et){var In,Ft,kt=et.length,At=we.length,Fn=new Map(et.map(function(pn,en){return[dt(pn,en,et),pn]}));for(In=0,ht=new Array(kt);In<At;++In)(Ft=we[In]).index=In,u(Ft.source)!==\"object\"&&(Ft.source=f(Fn,Ft.source)),u(Ft.target)!==\"object\"&&(Ft.target=f(Fn,Ft.target)),ht[Ft.source.index]=(ht[Ft.source.index]||0)+1,ht[Ft.target.index]=(ht[Ft.target.index]||0)+1;for(In=0,Fe=new Array(At);In<At;++In)Ft=we[In],Fe[In]=ht[Ft.source.index]/(ht[Ft.source.index]+ht[Ft.target.index]);Ze=new Array(At),Kt(),Ve=new Array(At),an()}}function Kt(){if(et)for(var In=0,Ft=we.length;In<Ft;++In)Ze[In]=+Lt(we[In],In,we)}function an(){if(et)for(var In=0,Ft=we.length;In<Ft;++In)Ve[In]=+lt(we[In],In,we)}return we==null&&(we=[]),qt.initialize=function(In,Ft){et=In,mt=Ft,hn()},qt.links=function(In){return arguments.length?(we=In,hn(),qt):we},qt.id=function(In){return arguments.length?(dt=In,qt):dt},qt.iterations=function(In){return arguments.length?(rn=+In,qt):rn},qt.strength=function(In){return arguments.length?(Lt=typeof In==\"function\"?In:C(+In),Kt(),qt):Lt},qt.distance=function(In){return arguments.length?(lt=typeof In==\"function\"?In:C(+In),an(),qt):lt},qt},l={value:function(){}};function s(){for(var we,Ze=0,Ve=arguments.length,et={};Ze<Ve;++Ze){if(!(we=arguments[Ze]+\"\")||we in et||/[\\s.]/.test(we))throw new Error(\"illegal type: \"+we);et[we]=[]}return new m(et)}function m(we){this._=we}function x(we,Ze){return we.trim().split(/^|\\s+/).map(function(Ve){var et=\"\",ht=Ve.indexOf(\".\");if(ht>=0&&(et=Ve.slice(ht+1),Ve=Ve.slice(0,ht)),Ve&&!Ze.hasOwnProperty(Ve))throw new Error(\"unknown type: \"+Ve);return{type:Ve,name:et}})}function M(we,Ze){for(var Ve,et=0,ht=we.length;et<ht;++et)if((Ve=we[et]).name===Ze)return Ve.value}function E(we,Ze,Ve){for(var et=0,ht=we.length;et<ht;++et)if(we[et].name===Ze){we[et]=l,we=we.slice(0,et).concat(we.slice(et+1));break}return Ve!=null&&we.push({name:Ze,value:Ve}),we}m.prototype=s.prototype={constructor:m,on:function(we,Ze){var Ve,et=this._,ht=x(we+\"\",et),Fe=-1,mt=ht.length;if(!(arguments.length<2)){if(Ze!=null&&typeof Ze!=\"function\")throw new Error(\"invalid callback: \"+Ze);for(;++Fe<mt;)if(Ve=(we=ht[Fe]).type)et[Ve]=E(et[Ve],we.name,Ze);else if(Ze==null)for(Ve in et)et[Ve]=E(et[Ve],we.name,null);return this}for(;++Fe<mt;)if((Ve=(we=ht[Fe]).type)&&(Ve=M(et[Ve],we.name)))return Ve},copy:function(){var we={},Ze=this._;for(var Ve in Ze)we[Ve]=Ze[Ve].slice();return new m(we)},call:function(we,Ze){if((Ve=arguments.length-2)>0)for(var Ve,et,ht=new Array(Ve),Fe=0;Fe<Ve;++Fe)ht[Fe]=arguments[Fe+2];if(!this._.hasOwnProperty(we))throw new Error(\"unknown type: \"+we);for(Fe=0,Ve=(et=this._[we]).length;Fe<Ve;++Fe)et[Fe].value.apply(Ze,ht)},apply:function(we,Ze,Ve){if(!this._.hasOwnProperty(we))throw new Error(\"unknown type: \"+we);for(var et=this._[we],ht=0,Fe=et.length;ht<Fe;++ht)et[ht].value.apply(Ze,Ve)}};var j=s;function L(we){return(L=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(Ze){return typeof Ze}:function(Ze){return Ze&&typeof Symbol==\"function\"&&Ze.constructor===Symbol&&Ze!==Symbol.prototype?\"symbol\":typeof Ze})(we)}var A,J,q=0,re=0,me=0,Te=0,ee=0,xe=0,Ie=(typeof performance==\"undefined\"?\"undefined\":L(performance))===\"object\"&&performance.now?performance:Date,Le=(typeof window==\"undefined\"?\"undefined\":L(window))===\"object\"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(we){setTimeout(we,17)};function De(){return ee||(Le(ce),ee=Ie.now()+xe)}function ce(){ee=0}function ye(){this._call=this._time=this._next=null}function Oe(we,Ze,Ve){var et=new ye;return et.restart(we,Ze,Ve),et}function Ce(){ee=(Te=Ie.now())+xe,q=re=0;try{(function(){De(),++q;for(var we,Ze=A;Ze;)(we=ee-Ze._time)>=0&&Ze._call.call(null,we),Ze=Ze._next;--q})()}finally{q=0,function(){for(var we,Ze,Ve=A,et=1/0;Ve;)Ve._call?(et>Ve._time&&(et=Ve._time),we=Ve,Ve=Ve._next):(Ze=Ve._next,Ve._next=null,Ve=we?we._next=Ze:A=Ze);J=we,he(et)}(),ee=0}}function oe(){var we=Ie.now(),Ze=we-Te;Ze>1e3&&(xe-=Ze,Te=we)}function he(we){q||(re&&(re=clearTimeout(re)),we-ee>24?(we<1/0&&(re=setTimeout(Ce,we-Ie.now()-xe)),me&&(me=clearInterval(me))):(me||(Te=Ie.now(),me=setInterval(oe,1e3)),q=1,Le(Ce)))}ye.prototype=Oe.prototype={constructor:ye,restart:function(we,Ze,Ve){if(typeof we!=\"function\")throw new TypeError(\"callback is not a function\");Ve=(Ve==null?De():+Ve)+(Ze==null?0:+Ze),this._next||J===this||(J?J._next=this:A=this,J=this),this._call=we,this._time=Ve,he()},stop:function(){this._call&&(this._call=null,this._time=1/0,he())}};var ie=4294967296;function ae(we){return we.x}function ve(we){return we.y}var X=Math.PI*(3-Math.sqrt(5)),se=function(we){var Ze,Ve,et=1,ht=.001,Fe=1-Math.pow(ht,1/300),mt=0,dt=.6,Lt=new Map,lt=Oe(hn),rn=j(\"tick\",\"end\"),qt=(Ve=1,function(){return(Ve=(1664525*Ve+1013904223)%ie)/ie});function hn(){Kt(),rn.call(\"tick\",Ze),et<ht&&(lt.stop(),rn.call(\"end\",Ze))}function Kt(Ft){var kt,At,Fn=we.length;Ft===void 0&&(Ft=1);for(var pn=0;pn<Ft;++pn)for(et+=(mt-et)*Fe,Lt.forEach(function(en){en(et)}),kt=0;kt<Fn;++kt)(At=we[kt]).fx==null?At.x+=At.vx*=dt:(At.x=At.fx,At.vx=0),At.fy==null?At.y+=At.vy*=dt:(At.y=At.fy,At.vy=0);return Ze}function an(){for(var Ft,kt=0,At=we.length;kt<At;++kt){if((Ft=we[kt]).index=kt,Ft.fx!=null&&(Ft.x=Ft.fx),Ft.fy!=null&&(Ft.y=Ft.fy),isNaN(Ft.x)||isNaN(Ft.y)){var Fn=10*Math.sqrt(.5+kt),pn=kt*X;Ft.x=Fn*Math.cos(pn),Ft.y=Fn*Math.sin(pn)}(isNaN(Ft.vx)||isNaN(Ft.vy))&&(Ft.vx=Ft.vy=0)}}function In(Ft){return Ft.initialize&&Ft.initialize(we,qt),Ft}return we==null&&(we=[]),an(),Ze={tick:Kt,restart:function(){return lt.restart(hn),Ze},stop:function(){return lt.stop(),Ze},nodes:function(Ft){return arguments.length?(we=Ft,an(),Lt.forEach(In),Ze):we},alpha:function(Ft){return arguments.length?(et=+Ft,Ze):et},alphaMin:function(Ft){return arguments.length?(ht=+Ft,Ze):ht},alphaDecay:function(Ft){return arguments.length?(Fe=+Ft,Ze):+Fe},alphaTarget:function(Ft){return arguments.length?(mt=+Ft,Ze):mt},velocityDecay:function(Ft){return arguments.length?(dt=1-Ft,Ze):1-dt},randomSource:function(Ft){return arguments.length?(qt=Ft,Lt.forEach(In),Ze):qt},force:function(Ft,kt){return arguments.length>1?(kt==null?Lt.delete(Ft):Lt.set(Ft,In(kt)),Ze):Lt.get(Ft)},find:function(Ft,kt,At){var Fn,pn,en,Wn,Mn,Kn=0,hr=we.length;for(At==null?At=1/0:At*=At,Kn=0;Kn<hr;++Kn)(en=(Fn=Ft-(Wn=we[Kn]).x)*Fn+(pn=kt-Wn.y)*pn)<At&&(Mn=Wn,At=en);return Mn},on:function(Ft,kt){return arguments.length>1?(rn.on(Ft,kt),Ze):rn.on(Ft)}}},fe=function(){var we,Ze,Ve,et,ht,Fe=C(-30),mt=1,dt=1/0,Lt=.81;function lt(Kt){var an,In=we.length,Ft=Object(N.a)(we,ae,ve).visitAfter(qt);for(et=Kt,an=0;an<In;++an)Ze=we[an],Ft.visit(hn)}function rn(){if(we){var Kt,an,In=we.length;for(ht=new Array(In),Kt=0;Kt<In;++Kt)an=we[Kt],ht[an.index]=+Fe(an,Kt,we)}}function qt(Kt){var an,In,Ft,kt,At,Fn=0,pn=0;if(Kt.length){for(Ft=kt=At=0;At<4;++At)(an=Kt[At])&&(In=Math.abs(an.value))&&(Fn+=an.value,pn+=In,Ft+=In*an.x,kt+=In*an.y);Kt.x=Ft/pn,Kt.y=kt/pn}else{(an=Kt).x=an.data.x,an.y=an.data.y;do Fn+=ht[an.data.index];while(an=an.next)}Kt.value=Fn}function hn(Kt,an,In,Ft){if(!Kt.value)return!0;var kt=Kt.x-Ze.x,At=Kt.y-Ze.y,Fn=Ft-an,pn=kt*kt+At*At;if(Fn*Fn/Lt<pn)return pn<dt&&(kt===0&&(pn+=(kt=w(Ve))*kt),At===0&&(pn+=(At=w(Ve))*At),pn<mt&&(pn=Math.sqrt(mt*pn)),Ze.vx+=kt*Kt.value*et/pn,Ze.vy+=At*Kt.value*et/pn),!0;if(!(Kt.length||pn>=dt)){(Kt.data!==Ze||Kt.next)&&(kt===0&&(pn+=(kt=w(Ve))*kt),At===0&&(pn+=(At=w(Ve))*At),pn<mt&&(pn=Math.sqrt(mt*pn)));do Kt.data!==Ze&&(Fn=ht[Kt.data.index]*et/pn,Ze.vx+=kt*Fn,Ze.vy+=At*Fn);while(Kt=Kt.next)}}return lt.initialize=function(Kt,an){we=Kt,Ve=an,rn()},lt.strength=function(Kt){return arguments.length?(Fe=typeof Kt==\"function\"?Kt:C(+Kt),rn(),lt):Fe},lt.distanceMin=function(Kt){return arguments.length?(mt=Kt*Kt,lt):Math.sqrt(mt)},lt.distanceMax=function(Kt){return arguments.length?(dt=Kt*Kt,lt):Math.sqrt(dt)},lt.theta=function(Kt){return arguments.length?(Lt=Kt*Kt,lt):Math.sqrt(Lt)},lt},_e=function(we,Ze,Ve){var et,ht,Fe,mt=C(.1);function dt(lt){for(var rn=0,qt=et.length;rn<qt;++rn){var hn=et[rn],Kt=hn.x-Ze||1e-6,an=hn.y-Ve||1e-6,In=Math.sqrt(Kt*Kt+an*an),Ft=(Fe[rn]-In)*ht[rn]*lt/In;hn.vx+=Kt*Ft,hn.vy+=an*Ft}}function Lt(){if(et){var lt,rn=et.length;for(ht=new Array(rn),Fe=new Array(rn),lt=0;lt<rn;++lt)Fe[lt]=+we(et[lt],lt,et),ht[lt]=isNaN(Fe[lt])?0:+mt(et[lt],lt,et)}}return typeof we!=\"function\"&&(we=C(+we)),Ze==null&&(Ze=0),Ve==null&&(Ve=0),dt.initialize=function(lt){et=lt,Lt()},dt.strength=function(lt){return arguments.length?(mt=typeof lt==\"function\"?lt:C(+lt),Lt(),dt):mt},dt.radius=function(lt){return arguments.length?(we=typeof lt==\"function\"?lt:C(+lt),Lt(),dt):we},dt.x=function(lt){return arguments.length?(Ze=+lt,dt):Ze},dt.y=function(lt){return arguments.length?(Ve=+lt,dt):Ve},dt},be=function(we){var Ze,Ve,et,ht=C(.1);function Fe(dt){for(var Lt,lt=0,rn=Ze.length;lt<rn;++lt)(Lt=Ze[lt]).vx+=(et[lt]-Lt.x)*Ve[lt]*dt}function mt(){if(Ze){var dt,Lt=Ze.length;for(Ve=new Array(Lt),et=new Array(Lt),dt=0;dt<Lt;++dt)Ve[dt]=isNaN(et[dt]=+we(Ze[dt],dt,Ze))?0:+ht(Ze[dt],dt,Ze)}}return typeof we!=\"function\"&&(we=C(we==null?0:+we)),Fe.initialize=function(dt){Ze=dt,mt()},Fe.strength=function(dt){return arguments.length?(ht=typeof dt==\"function\"?dt:C(+dt),mt(),Fe):ht},Fe.x=function(dt){return arguments.length?(we=typeof dt==\"function\"?dt:C(+dt),mt(),Fe):we},Fe},We=function(we){var Ze,Ve,et,ht=C(.1);function Fe(dt){for(var Lt,lt=0,rn=Ze.length;lt<rn;++lt)(Lt=Ze[lt]).vy+=(et[lt]-Lt.y)*Ve[lt]*dt}function mt(){if(Ze){var dt,Lt=Ze.length;for(Ve=new Array(Lt),et=new Array(Lt),dt=0;dt<Lt;++dt)Ve[dt]=isNaN(et[dt]=+we(Ze[dt],dt,Ze))?0:+ht(Ze[dt],dt,Ze)}}return typeof we!=\"function\"&&(we=C(we==null?0:+we)),Fe.initialize=function(dt){Ze=dt,mt()},Fe.strength=function(dt){return arguments.length?(ht=typeof dt==\"function\"?dt:C(+dt),mt(),Fe):ht},Fe.y=function(dt){return arguments.length?(we=typeof dt==\"function\"?dt:C(+dt),mt(),Fe):we},Fe}},function(Ee,c,r){\"use strict\";r.d(c,\"a\",function(){return C});var y=new Map;function N(s,m){y.set(s,m)}function C(s){return y.get(s)}var w=function(s){var m=s.attr();return{x:m.x,y:m.y,width:m.width,height:m.height}},O=function(s){var m=s.attr(),x=m.x,M=m.y,E=m.r;return{x:x-E,y:M-E,width:2*E,height:2*E}},b=r(9);function p(s,m){return s&&m?{minX:Math.min(s.minX,m.minX),minY:Math.min(s.minY,m.minY),maxX:Math.max(s.maxX,m.maxX),maxY:Math.max(s.maxY,m.maxY)}:s||m}function u(s,m){var x=s.get(\"startArrowShape\"),M=s.get(\"endArrowShape\");return x&&(m=p(m,x.getCanvasBBox())),M&&(m=p(m,M.getCanvasBBox())),m}var a=r(32),f=r(21),h=r(0);function l(s,m){var x=s.prePoint,M=s.currentPoint,E=s.nextPoint,j=Math.pow(M[0]-x[0],2)+Math.pow(M[1]-x[1],2),L=Math.pow(M[0]-E[0],2)+Math.pow(M[1]-E[1],2),A=Math.pow(x[0]-E[0],2)+Math.pow(x[1]-E[1],2),J=Math.acos((j+L-A)/(2*Math.sqrt(j)*Math.sqrt(L)));if(!J||Math.sin(J)===0||Object(h.isNumberEqual)(J,0))return{xExtra:0,yExtra:0};var q=Math.abs(Math.atan2(E[1]-M[1],E[0]-M[0])),re=Math.abs(Math.atan2(E[0]-M[0],E[1]-M[1]));return q=q>Math.PI/2?Math.PI-q:q,re=re>Math.PI/2?Math.PI-re:re,{xExtra:Math.cos(J/2-q)*(m/2*(1/Math.sin(J/2)))-m/2||0,yExtra:Math.cos(re-J/2)*(m/2*(1/Math.sin(J/2)))-m/2||0}}N(\"rect\",w),N(\"image\",w),N(\"circle\",O),N(\"marker\",O),N(\"polyline\",function(s){for(var m=s.attr().points,x=[],M=[],E=0;E<m.length;E++){var j=m[E];x.push(j[0]),M.push(j[1])}var L=b.f.getBBoxByArray(x,M),A=L.x,J=L.y,q={minX:A,minY:J,maxX:A+L.width,maxY:J+L.height};return{x:(q=u(s,q)).minX,y:q.minY,width:q.maxX-q.minX,height:q.maxY-q.minY}}),N(\"polygon\",function(s){for(var m=s.attr().points,x=[],M=[],E=0;E<m.length;E++){var j=m[E];x.push(j[0]),M.push(j[1])}return b.f.getBBoxByArray(x,M)}),N(\"text\",function(s){var m=s.attr(),x=m.x,M=m.y,E=m.text,j=m.fontSize,L=m.lineHeight,A=m.font;A||(A=Object(a.a)(m));var J,q=Object(a.c)(E,A);if(q){var re=m.textAlign,me=m.textBaseline,Te=Object(a.b)(E,j,L),ee={x,y:M-Te};re&&(re===\"end\"||re===\"right\"?ee.x-=q:re===\"center\"&&(ee.x-=q/2)),me&&(me===\"top\"?ee.y+=Te:me===\"middle\"&&(ee.y+=Te/2)),J={x:ee.x,y:ee.y,width:q,height:Te}}else J={x,y:M,width:0,height:0};return J}),N(\"path\",function(s){var m=s.attr(),x=m.path,M=m.stroke?m.lineWidth:0,E=function(J,q){for(var re=[],me=[],Te=[],ee=0;ee<J.length;ee++){var xe=(he=J[ee]).currentPoint,Ie=he.params,Le=he.prePoint,De=void 0;switch(he.command){case\"Q\":De=b.e.box(Le[0],Le[1],Ie[1],Ie[2],Ie[3],Ie[4]);break;case\"C\":De=b.b.box(Le[0],Le[1],Ie[1],Ie[2],Ie[3],Ie[4],Ie[5],Ie[6]);break;case\"A\":var ce=he.arcParams;De=b.a.box(ce.cx,ce.cy,ce.rx,ce.ry,ce.xRotation,ce.startAngle,ce.endAngle);break;default:re.push(xe[0]),me.push(xe[1])}De&&(he.box=De,re.push(De.x,De.x+De.width),me.push(De.y,De.y+De.height)),q&&(he.command===\"L\"||he.command===\"M\")&&he.prePoint&&he.nextPoint&&Te.push(he)}re=re.filter(function(ie){return!Number.isNaN(ie)&&ie!==1/0&&ie!==-1/0}),me=me.filter(function(ie){return!Number.isNaN(ie)&&ie!==1/0&&ie!==-1/0});var ye=Object(h.min)(re),Oe=Object(h.min)(me),Ce=Object(h.max)(re),oe=Object(h.max)(me);if(Te.length===0)return{x:ye,y:Oe,width:Ce-ye,height:oe-Oe};for(ee=0;ee<Te.length;ee++){var he;(xe=(he=Te[ee]).currentPoint)[0]===ye?ye-=l(he,q).xExtra:xe[0]===Ce&&(Ce+=l(he,q).xExtra),xe[1]===Oe?Oe-=l(he,q).yExtra:xe[1]===oe&&(oe+=l(he,q).yExtra)}return{x:ye,y:Oe,width:Ce-ye,height:oe-Oe}}(s.get(\"segments\")||Object(f.d)(x),M),j=E.x,L=E.y,A={minX:j,minY:L,maxX:j+E.width,maxY:L+E.height};return{x:(A=u(s,A)).minX,y:A.minY,width:A.maxX-A.minX,height:A.maxY-A.minY}}),N(\"line\",function(s){var m=s.attr(),x=m.x1,M=m.y1,E=m.x2,j=m.y2,L={minX:Math.min(x,E),maxX:Math.max(x,E),minY:Math.min(M,j),maxY:Math.max(M,j)};return{x:(L=u(s,L)).minX,y:L.minY,width:L.maxX-L.minX,height:L.maxY-L.minY}}),N(\"ellipse\",function(s){var m=s.attr(),x=m.x,M=m.y,E=m.rx,j=m.ry;return{x:x-E,y:M-j,width:2*E,height:2*j}})},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=r(12);function N(b,p,u){var a=[0,0,0,0,0,0,0,0,0];return y.mat3.fromTranslation(a,u),y.mat3.multiply(b,a,p)}function C(b,p,u){var a=[0,0,0,0,0,0,0,0,0];return y.mat3.fromRotation(a,u),y.mat3.multiply(b,a,p)}function w(b,p,u){var a=[0,0,0,0,0,0,0,0,0];return y.mat3.fromScaling(a,u),y.mat3.multiply(b,a,p)}function O(b,p){return b[0]*p[1]-p[0]*b[1]}c.leftTranslate=N,c.leftRotate=C,c.leftScale=w,c.transform=function(b,p){for(var u,a,f,h=b?[].concat(b):[1,0,0,0,1,0,0,0,1],l=0,s=p.length;l<s;l++){var m=p[l];switch(m[0]){case\"t\":N(h,h,[m[1],m[2]]);break;case\"s\":w(h,h,[m[1],m[2]]);break;case\"r\":C(h,h,m[1]);break;case\"m\":u=h,a=h,f=m[1],y.mat3.multiply(u,f,a)}}return h},c.direction=O,c.angleTo=function(b,p,u){var a=y.vec2.angle(b,p),f=O(b,p)>=0;return u?f?2*Math.PI-a:a:f?a:2*Math.PI-a},c.vertical=function(b,p,u){return u?(b[0]=p[1],b[1]=-1*p[0]):(b[0]=-1*p[1],b[1]=p[0]),b}},function(Ee,c){},function(Ee,c){},function(Ee,c,r){\"use strict\";var y=r(1),N=function(C){function w(){return C!==null&&C.apply(this,arguments)||this}return Object(y.__extends)(w,C),w.prototype.isGroup=function(){return!0},w.prototype.isEntityGroup=function(){return!1},w.prototype.clone=function(){for(var O=C.prototype.clone.call(this),b=this.getChildren(),p=0;p<b.length;p++){var u=b[p];O.add(u.clone())}return O},w}(r(53).a);c.a=N},function(Ee,c,r){\"use strict\";var y=r(1),N=r(54),C=r(22),w=function(O){function b(p){return O.call(this,p)||this}return Object(y.__extends)(b,O),b.prototype._isInBBox=function(p,u){var a=this.getBBox();return a.minX<=p&&a.maxX>=p&&a.minY<=u&&a.maxY>=u},b.prototype.afterAttrsChange=function(p){O.prototype.afterAttrsChange.call(this,p),this.clearCacheBBox()},b.prototype.getBBox=function(){var p=this.cfg.bbox;return p||(p=this.calculateBBox(),this.set(\"bbox\",p)),p},b.prototype.getCanvasBBox=function(){var p=this.cfg.canvasBBox;return p||(p=this.calculateCanvasBBox(),this.set(\"canvasBBox\",p)),p},b.prototype.applyMatrix=function(p){O.prototype.applyMatrix.call(this,p),this.set(\"canvasBBox\",null)},b.prototype.calculateCanvasBBox=function(){var p=this.getBBox(),u=this.getTotalMatrix(),a=p.minX,f=p.minY,h=p.maxX,l=p.maxY;if(u){var s=Object(C.c)(u,[p.minX,p.minY]),m=Object(C.c)(u,[p.maxX,p.minY]),x=Object(C.c)(u,[p.minX,p.maxY]),M=Object(C.c)(u,[p.maxX,p.maxY]);a=Math.min(s[0],m[0],x[0],M[0]),h=Math.max(s[0],m[0],x[0],M[0]),f=Math.min(s[1],m[1],x[1],M[1]),l=Math.max(s[1],m[1],x[1],M[1])}var E=this.attrs;if(E.shadowColor){var j=E.shadowBlur,L=j===void 0?0:j,A=E.shadowOffsetX,J=A===void 0?0:A,q=E.shadowOffsetY,re=q===void 0?0:q,me=a-L+J,Te=h+L+J,ee=f-L+re,xe=l+L+re;a=Math.min(a,me),h=Math.max(h,Te),f=Math.min(f,ee),l=Math.max(l,xe)}return{x:a,y:f,minX:a,minY:f,maxX:h,maxY:l,width:h-a,height:l-f}},b.prototype.clearCacheBBox=function(){this.set(\"bbox\",null),this.set(\"canvasBBox\",null)},b.prototype.isClipShape=function(){return this.get(\"isClipShape\")},b.prototype.isInShape=function(p,u){return!1},b.prototype.isOnlyHitBox=function(){return!1},b.prototype.isHit=function(p,u){var a=this.get(\"startArrowShape\"),f=this.get(\"endArrowShape\"),h=[p,u,1],l=(h=this.invertFromMatrix(h))[0],s=h[1],m=this._isInBBox(l,s);return this.isOnlyHitBox()?m:!!(m&&!this.isClipped(l,s)&&(this.isInShape(l,s)||a&&a.isHit(l,s)||f&&f.isHit(l,s)))},b}(N.a);c.a=w},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=function(w,O){return O?C(w):N(w)},c.detectStrongConnectComponents=c.detectConnectedComponents=void 0;var y=r(27),N=function(w){for(var O=w.nodes,b=O===void 0?[]:O,p=w.edges,u=p===void 0?[]:p,a=[],f={},h=[],l=function M(E){h.push(E),f[E.id]=!0;for(var j=(0,y.getNeighbors)(E.id,u),L=function(J){var q=j[J];if(!f[q]){var re=b.filter(function(me){return me.id===q});re.length>0&&M(re[0])}},A=0;A<j.length;++A)L(A)},s=0;s<b.length;s++){var m=b[s];if(!f[m.id]){l(m);for(var x=[];h.length>0;)x.push(h.pop());a.push(x)}}return a};c.detectConnectedComponents=N;var C=function(w){for(var O=w.nodes,b=O===void 0?[]:O,p=w.edges,u=p===void 0?[]:p,a=[],f={},h={},l={},s=[],m=0,x=function L(A){h[A.id]=m,l[A.id]=m,m+=1,a.push(A),f[A.id]=!0;for(var J=(0,y.getNeighbors)(A.id,u,\"target\").filter(function(ee){return b.map(function(xe){return xe.id}).indexOf(ee)>-1}),q=function(ee){var xe=J[ee];if(h[xe]||h[xe]===0)f[xe]&&(l[A.id]=Math.min(l[A.id],h[xe]));else{var Ie=b.filter(function(Le){return Le.id===xe});Ie.length>0&&L(Ie[0]),l[A.id]=Math.min(l[A.id],l[xe])}},re=0;re<J.length;re++)q(re);if(l[A.id]===h[A.id]){for(var me=[];a.length>0;){var Te=a.pop();if(f[Te.id]=!1,me.push(Te),Te===A)break}me.length>0&&s.push(me)}},M=0,E=b;M<E.length;M++){var j=E[M];h[j.id]||h[j.id]===0||x(j)}return s};c.detectStrongConnectComponents=C},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.getOutDegree=c.getInDegree=c.default=void 0;var y=function(C){var w={},O=C.nodes,b=O===void 0?[]:O,p=C.edges,u=p===void 0?[]:p;return b.forEach(function(a){w[a.id]={degree:0,inDegree:0,outDegree:0}}),u.forEach(function(a){w[a.source].degree++,w[a.source].outDegree++,w[a.target].degree++,w[a.target].inDegree++}),w},N=y;c.default=N,c.getInDegree=function(C,w){return y(C)[w]?y(C)[w].inDegree:0},c.getOutDegree=function(C,w){return y(C)[w]?y(C)[w].outDegree:0}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=function(N,C,w){(function O(b,p,u,a){a.enter({current:p,previous:u});var f=b.edges,h=f===void 0?[]:f;(0,y.getNeighbors)(p,h,\"target\").forEach(function(l){a.allowTraversal({previous:u,current:p,next:l})&&O(b,l,p,a)}),a.leave({current:p,previous:u})})(N,C,\"\",function(O){O===void 0&&(O={});var b=O,p=function(){},u=(a={},function(f){var h=f.next;return!a[h]&&(a[h]=!0,!0)}),a;return b.allowTraversal=O.allowTraversal||u,b.enter=O.enter||p,b.leave=O.leave||p,b}(w))};var y=r(27)},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var y,N=(y=r(45))&&y.__esModule?y:{default:y},C=function(w,O){for(var b=(0,N.default)(w,O),p=[],u=b.length,a=0;a<u;a+=1){p[a]=[];for(var f=0;f<u;f+=1)a===f?p[a][f]=0:b[a][f]!==0&&b[a][f]?p[a][f]=b[a][f]:p[a][f]=1/0}for(var h=0;h<u;h+=1)for(a=0;a<u;a+=1)for(f=0;f<u;f+=1)p[a][f]>p[a][h]+p[h][f]&&(p[a][f]=p[a][h]+p[h][f]);return p};c.default=C},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var y=r(0),N=function(){function C(w){this.arr=w}return C.prototype.getArr=function(){return this.arr||[]},C.prototype.add=function(w){var O,b=w.arr;if(!(!((O=this.arr)===null||O===void 0)&&O.length))return new C(b);if(!(b!=null&&b.length))return new C(this.arr);if(this.arr.length===b.length){var p=[];for(var u in this.arr)p[u]=this.arr[u]+b[u];return new C(p)}},C.prototype.subtract=function(w){var O,b=w.arr;if(!(!((O=this.arr)===null||O===void 0)&&O.length))return new C(b);if(!(b!=null&&b.length))return new C(this.arr);if(this.arr.length===b.length){var p=[];for(var u in this.arr)p[u]=this.arr[u]-b[u];return new C(p)}},C.prototype.avg=function(w){var O=[];if(w!==0)for(var b in this.arr)O[b]=this.arr[b]/w;return new C(O)},C.prototype.negate=function(){var w=[];for(var O in this.arr)w[O]=-this.arr[O];return new C(w)},C.prototype.squareEuclideanDistance=function(w){var O,b=w.arr;if(!(!((O=this.arr)===null||O===void 0)&&O.length)||!(b!=null&&b.length))return 0;if(this.arr.length===b.length){var p=0;for(var u in this.arr)p+=Math.pow(this.arr[u]-w.arr[u],2);return p}},C.prototype.euclideanDistance=function(w){var O,b=w.arr;if(!(!((O=this.arr)===null||O===void 0)&&O.length)||!(b!=null&&b.length))return 0;if(this.arr.length===b.length){var p=0;for(var u in this.arr)p+=Math.pow(this.arr[u]-w.arr[u],2);return Math.sqrt(p)}console.error(\"The two vectors are unequal in length.\")},C.prototype.normalize=function(){var w=[],O=(0,y.clone)(this.arr);O.sort(function(a,f){return a-f});var b=O[O.length-1],p=O[0];for(var u in this.arr)w[u]=(this.arr[u]-p)/(b-p);return new C(w)},C.prototype.norm2=function(){var w;if(!(!((w=this.arr)===null||w===void 0)&&w.length))return 0;var O=0;for(var b in this.arr)O+=Math.pow(this.arr[b],2);return Math.sqrt(O)},C.prototype.dot=function(w){var O,b=w.arr;if(!(!((O=this.arr)===null||O===void 0)&&O.length)||!(b!=null&&b.length))return 0;if(this.arr.length===b.length){var p=0;for(var u in this.arr)p+=this.arr[u]*w.arr[u];return p}console.error(\"The two vectors are unequal in length.\")},C.prototype.equal=function(w){var O,b=w.arr;if(((O=this.arr)===null||O===void 0?void 0:O.length)!==(b==null?void 0:b.length))return!1;for(var p in this.arr)if(this.arr[p]!==b[p])return!1;return!0},C}();c.default=N},function(Ee,c,r){var y=r(149),N={};for(var C in y)y.hasOwnProperty(C)&&(N[y[C]]=C);var w=Ee.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 O in w)if(w.hasOwnProperty(O)){if(!(\"channels\"in w[O]))throw new Error(\"missing channels property: \"+O);if(!(\"labels\"in w[O]))throw new Error(\"missing channel labels property: \"+O);if(w[O].labels.length!==w[O].channels)throw new Error(\"channel and label counts mismatch: \"+O);var b=w[O].channels,p=w[O].labels;delete w[O].channels,delete w[O].labels,Object.defineProperty(w[O],\"channels\",{value:b}),Object.defineProperty(w[O],\"labels\",{value:p})}w.rgb.hsl=function(u){var a,f,h=u[0]/255,l=u[1]/255,s=u[2]/255,m=Math.min(h,l,s),x=Math.max(h,l,s),M=x-m;return x===m?a=0:h===x?a=(l-s)/M:l===x?a=2+(s-h)/M:s===x&&(a=4+(h-l)/M),(a=Math.min(60*a,360))<0&&(a+=360),f=(m+x)/2,[a,100*(x===m?0:f<=.5?M/(x+m):M/(2-x-m)),100*f]},w.rgb.hsv=function(u){var a,f,h,l,s,m=u[0]/255,x=u[1]/255,M=u[2]/255,E=Math.max(m,x,M),j=E-Math.min(m,x,M),L=function(A){return(E-A)/6/j+.5};return j===0?l=s=0:(s=j/E,a=L(m),f=L(x),h=L(M),m===E?l=h-f:x===E?l=1/3+a-h:M===E&&(l=2/3+f-a),l<0?l+=1:l>1&&(l-=1)),[360*l,100*s,100*E]},w.rgb.hwb=function(u){var a=u[0],f=u[1],h=u[2];return[w.rgb.hsl(u)[0],100*(1/255*Math.min(a,Math.min(f,h))),100*(h=1-1/255*Math.max(a,Math.max(f,h)))]},w.rgb.cmyk=function(u){var a,f=u[0]/255,h=u[1]/255,l=u[2]/255;return[100*((1-f-(a=Math.min(1-f,1-h,1-l)))/(1-a)||0),100*((1-h-a)/(1-a)||0),100*((1-l-a)/(1-a)||0),100*a]},w.rgb.keyword=function(u){var a=N[u];if(a)return a;var f,h,l,s=1/0;for(var m in y)if(y.hasOwnProperty(m)){var x=y[m],M=(h=u,l=x,Math.pow(h[0]-l[0],2)+Math.pow(h[1]-l[1],2)+Math.pow(h[2]-l[2],2));M<s&&(s=M,f=m)}return f},w.keyword.rgb=function(u){return y[u]},w.rgb.xyz=function(u){var a=u[0]/255,f=u[1]/255,h=u[2]/255;return[100*(.4124*(a=a>.04045?Math.pow((a+.055)/1.055,2.4):a/12.92)+.3576*(f=f>.04045?Math.pow((f+.055)/1.055,2.4):f/12.92)+.1805*(h=h>.04045?Math.pow((h+.055)/1.055,2.4):h/12.92)),100*(.2126*a+.7152*f+.0722*h),100*(.0193*a+.1192*f+.9505*h)]},w.rgb.lab=function(u){var a=w.rgb.xyz(u),f=a[0],h=a[1],l=a[2];return h/=100,l/=108.883,f=(f/=95.047)>.008856?Math.pow(f,1/3):7.787*f+16/116,[116*(h=h>.008856?Math.pow(h,1/3):7.787*h+16/116)-16,500*(f-h),200*(h-(l=l>.008856?Math.pow(l,1/3):7.787*l+16/116))]},w.hsl.rgb=function(u){var a,f,h,l,s,m=u[0]/360,x=u[1]/100,M=u[2]/100;if(x===0)return[s=255*M,s,s];a=2*M-(f=M<.5?M*(1+x):M+x-M*x),l=[0,0,0];for(var E=0;E<3;E++)(h=m+1/3*-(E-1))<0&&h++,h>1&&h--,s=6*h<1?a+6*(f-a)*h:2*h<1?f:3*h<2?a+(f-a)*(2/3-h)*6:a,l[E]=255*s;return l},w.hsl.hsv=function(u){var a=u[0],f=u[1]/100,h=u[2]/100,l=f,s=Math.max(h,.01);return f*=(h*=2)<=1?h:2-h,l*=s<=1?s:2-s,[a,100*(h===0?2*l/(s+l):2*f/(h+f)),100*((h+f)/2)]},w.hsv.rgb=function(u){var a=u[0]/60,f=u[1]/100,h=u[2]/100,l=Math.floor(a)%6,s=a-Math.floor(a),m=255*h*(1-f),x=255*h*(1-f*s),M=255*h*(1-f*(1-s));switch(h*=255,l){case 0:return[h,M,m];case 1:return[x,h,m];case 2:return[m,h,M];case 3:return[m,x,h];case 4:return[M,m,h];case 5:return[h,m,x]}},w.hsv.hsl=function(u){var a,f,h,l=u[0],s=u[1]/100,m=u[2]/100,x=Math.max(m,.01);return h=(2-s)*m,f=s*x,[l,100*(f=(f/=(a=(2-s)*x)<=1?a:2-a)||0),100*(h/=2)]},w.hwb.rgb=function(u){var a,f,h,l,s,m,x,M=u[0]/360,E=u[1]/100,j=u[2]/100,L=E+j;switch(L>1&&(E/=L,j/=L),h=6*M-(a=Math.floor(6*M)),1&a&&(h=1-h),l=E+h*((f=1-j)-E),a){default:case 6:case 0:s=f,m=l,x=E;break;case 1:s=l,m=f,x=E;break;case 2:s=E,m=f,x=l;break;case 3:s=E,m=l,x=f;break;case 4:s=l,m=E,x=f;break;case 5:s=f,m=E,x=l}return[255*s,255*m,255*x]},w.cmyk.rgb=function(u){var a=u[0]/100,f=u[1]/100,h=u[2]/100,l=u[3]/100;return[255*(1-Math.min(1,a*(1-l)+l)),255*(1-Math.min(1,f*(1-l)+l)),255*(1-Math.min(1,h*(1-l)+l))]},w.xyz.rgb=function(u){var a,f,h,l=u[0]/100,s=u[1]/100,m=u[2]/100;return f=-.9689*l+1.8758*s+.0415*m,h=.0557*l+-.204*s+1.057*m,a=(a=3.2406*l+-1.5372*s+-.4986*m)>.0031308?1.055*Math.pow(a,1/2.4)-.055:12.92*a,f=f>.0031308?1.055*Math.pow(f,1/2.4)-.055:12.92*f,h=h>.0031308?1.055*Math.pow(h,1/2.4)-.055:12.92*h,[255*(a=Math.min(Math.max(0,a),1)),255*(f=Math.min(Math.max(0,f),1)),255*(h=Math.min(Math.max(0,h),1))]},w.xyz.lab=function(u){var a=u[0],f=u[1],h=u[2];return f/=100,h/=108.883,a=(a/=95.047)>.008856?Math.pow(a,1/3):7.787*a+16/116,[116*(f=f>.008856?Math.pow(f,1/3):7.787*f+16/116)-16,500*(a-f),200*(f-(h=h>.008856?Math.pow(h,1/3):7.787*h+16/116))]},w.lab.xyz=function(u){var a,f,h,l=u[0];a=u[1]/500+(f=(l+16)/116),h=f-u[2]/200;var s=Math.pow(f,3),m=Math.pow(a,3),x=Math.pow(h,3);return f=s>.008856?s:(f-16/116)/7.787,a=m>.008856?m:(a-16/116)/7.787,h=x>.008856?x:(h-16/116)/7.787,[a*=95.047,f*=100,h*=108.883]},w.lab.lch=function(u){var a,f=u[0],h=u[1],l=u[2];return(a=360*Math.atan2(l,h)/2/Math.PI)<0&&(a+=360),[f,Math.sqrt(h*h+l*l),a]},w.lch.lab=function(u){var a,f=u[0],h=u[1];return a=u[2]/360*2*Math.PI,[f,h*Math.cos(a),h*Math.sin(a)]},w.rgb.ansi16=function(u){var a=u[0],f=u[1],h=u[2],l=1 in arguments?arguments[1]:w.rgb.hsv(u)[2];if((l=Math.round(l/50))===0)return 30;var s=30+(Math.round(h/255)<<2|Math.round(f/255)<<1|Math.round(a/255));return l===2&&(s+=60),s},w.hsv.ansi16=function(u){return w.rgb.ansi16(w.hsv.rgb(u),u[2])},w.rgb.ansi256=function(u){var a=u[0],f=u[1],h=u[2];return a===f&&f===h?a<8?16:a>248?231:Math.round((a-8)/247*24)+232:16+36*Math.round(a/255*5)+6*Math.round(f/255*5)+Math.round(h/255*5)},w.ansi16.rgb=function(u){var a=u%10;if(a===0||a===7)return u>50&&(a+=3.5),[a=a/10.5*255,a,a];var f=.5*(1+~~(u>50));return[(1&a)*f*255,(a>>1&1)*f*255,(a>>2&1)*f*255]},w.ansi256.rgb=function(u){if(u>=232){var a=10*(u-232)+8;return[a,a,a]}var f;return u-=16,[Math.floor(u/36)/5*255,Math.floor((f=u%36)/6)/5*255,f%6/5*255]},w.rgb.hex=function(u){var a=(((255&Math.round(u[0]))<<16)+((255&Math.round(u[1]))<<8)+(255&Math.round(u[2]))).toString(16).toUpperCase();return\"000000\".substring(a.length)+a},w.hex.rgb=function(u){var a=u.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!a)return[0,0,0];var f=a[0];a[0].length===3&&(f=f.split(\"\").map(function(l){return l+l}).join(\"\"));var h=parseInt(f,16);return[h>>16&255,h>>8&255,255&h]},w.rgb.hcg=function(u){var a,f=u[0]/255,h=u[1]/255,l=u[2]/255,s=Math.max(Math.max(f,h),l),m=Math.min(Math.min(f,h),l),x=s-m;return a=x<=0?0:s===f?(h-l)/x%6:s===h?2+(l-f)/x:4+(f-h)/x+4,a/=6,[360*(a%=1),100*x,100*(x<1?m/(1-x):0)]},w.hsl.hcg=function(u){var a=u[1]/100,f=u[2]/100,h=1,l=0;return(h=f<.5?2*a*f:2*a*(1-f))<1&&(l=(f-.5*h)/(1-h)),[u[0],100*h,100*l]},w.hsv.hcg=function(u){var a=u[1]/100,f=u[2]/100,h=a*f,l=0;return h<1&&(l=(f-h)/(1-h)),[u[0],100*h,100*l]},w.hcg.rgb=function(u){var a=u[0]/360,f=u[1]/100,h=u[2]/100;if(f===0)return[255*h,255*h,255*h];var l,s=[0,0,0],m=a%1*6,x=m%1,M=1-x;switch(Math.floor(m)){case 0:s[0]=1,s[1]=x,s[2]=0;break;case 1:s[0]=M,s[1]=1,s[2]=0;break;case 2:s[0]=0,s[1]=1,s[2]=x;break;case 3:s[0]=0,s[1]=M,s[2]=1;break;case 4:s[0]=x,s[1]=0,s[2]=1;break;default:s[0]=1,s[1]=0,s[2]=M}return l=(1-f)*h,[255*(f*s[0]+l),255*(f*s[1]+l),255*(f*s[2]+l)]},w.hcg.hsv=function(u){var a=u[1]/100,f=a+u[2]/100*(1-a),h=0;return f>0&&(h=a/f),[u[0],100*h,100*f]},w.hcg.hsl=function(u){var a=u[1]/100,f=u[2]/100*(1-a)+.5*a,h=0;return f>0&&f<.5?h=a/(2*f):f>=.5&&f<1&&(h=a/(2*(1-f))),[u[0],100*h,100*f]},w.hcg.hwb=function(u){var a=u[1]/100,f=a+u[2]/100*(1-a);return[u[0],100*(f-a),100*(1-f)]},w.hwb.hcg=function(u){var a=u[1]/100,f=1-u[2]/100,h=f-a,l=0;return h<1&&(l=(f-h)/(1-h)),[u[0],100*h,100*l]},w.apple.rgb=function(u){return[u[0]/65535*255,u[1]/65535*255,u[2]/65535*255]},w.rgb.apple=function(u){return[u[0]/255*65535,u[1]/255*65535,u[2]/255*65535]},w.gray.rgb=function(u){return[u[0]/100*255,u[0]/100*255,u[0]/100*255]},w.gray.hsl=w.gray.hsv=function(u){return[0,0,u[0]]},w.gray.hwb=function(u){return[0,100,u[0]]},w.gray.cmyk=function(u){return[0,0,0,u[0]]},w.gray.lab=function(u){return[u[0],0,0]},w.gray.hex=function(u){var a=255&Math.round(u[0]/100*255),f=((a<<16)+(a<<8)+a).toString(16).toUpperCase();return\"000000\".substring(f.length)+f},w.rgb.gray=function(u){return[(u[0]+u[1]+u[2])/3/255*100]}},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(b,p){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,a){u.__proto__=a}||function(u,a){for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&(u[f]=a[f])})(b,p)},function(b,p){if(typeof p!=\"function\"&&p!==null)throw new TypeError(\"Class extends value \"+String(p)+\" is not a constructor or null\");function u(){this.constructor=b}y(b,p),b.prototype=p===null?Object.create(p):(u.prototype=p.prototype,new u)});Object.defineProperty(c,\"__esModule\",{value:!0}),c.getLayoutByName=c.unRegisterLayout=c.registerLayout=void 0;var C=r(18),w=r(15),O=new Map;c.registerLayout=function(b,p){if(O.get(b)&&console.warn(\"The layout with the name \".concat(b,\" exists already, it will be overridden\")),(0,w.isObject)(p)){var u=function(a){function f(h){var l=a.call(this)||this,s=l,m={},x=s.getDefaultCfg();return Object.assign(m,x,p,h),Object.keys(m).forEach(function(M){var E=m[M];s[M]=E}),l}return N(f,a),f}(C.Base);O.set(b,u)}else O.set(b,p);return O.get(b)},c.unRegisterLayout=function(b){O.has(b)&&O.delete(b)},c.getLayoutByName=function(b){return O.has(b)?O.get(b):null}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.isArray=void 0,c.isArray=Array.isArray},function(Ee,c,r){\"use strict\";function y(C){return(y=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(w){return typeof w}:function(w){return w&&typeof Symbol==\"function\"&&w.constructor===Symbol&&w!==Symbol.prototype?\"symbol\":typeof w})(C)}var N=this&&this.__assign||function(){return(N=Object.assign||function(C){for(var w,O=1,b=arguments.length;O<b;O++)for(var p in w=arguments[O])Object.prototype.hasOwnProperty.call(w,p)&&(C[p]=w[p]);return C}).apply(this,arguments)};Object.defineProperty(c,\"__esModule\",{value:!0}),c.clone=c.isObject=void 0,c.isObject=function(C){return C!==null&&y(C)===\"object\"},c.clone=function(C){if(C===null)return C;if(C instanceof Date)return new Date(C.getTime());if(C instanceof Array){var w=[];return C.forEach(function(b){w.push(b)}),w.map(function(b){return(0,c.clone)(b)})}if(y(C)===\"object\"&&Object.keys(C).length){var O=N({},C);return Object.keys(O).forEach(function(b){O[b]=(0,c.clone)(O[b])}),O}return C}},function(Ee,c,r){\"use strict\";var y=this&&this.__createBinding||(Object.create?function(q,re,me,Te){Te===void 0&&(Te=me);var ee=Object.getOwnPropertyDescriptor(re,me);ee&&!(\"get\"in ee?!re.__esModule:ee.writable||ee.configurable)||(ee={enumerable:!0,get:function(){return re[me]}}),Object.defineProperty(q,Te,ee)}:function(q,re,me,Te){Te===void 0&&(Te=me),q[Te]=re[me]}),N=this&&this.__exportStar||function(q,re){for(var me in q)me===\"default\"||Object.prototype.hasOwnProperty.call(re,me)||y(re,q,me)};Object.defineProperty(c,\"__esModule\",{value:!0}),c.ERLayout=c.ForceAtlas2Layout=c.ComboCombinedLayout=c.ComboForceLayout=c.GForceGPULayout=c.FruchtermanGPULayout=c.FruchtermanLayout=c.MDSLayout=c.ConcentricLayout=c.RadialLayout=c.DagreCompoundLayout=c.DagreLayout=c.CircularLayout=c.ForceLayout=c.Force2Layout=c.GForceLayout=c.RandomLayout=c.GridLayout=c.Layouts=c.Layout=void 0;var C=r(83);Object.defineProperty(c,\"GridLayout\",{enumerable:!0,get:function(){return C.GridLayout}});var w=r(84);Object.defineProperty(c,\"RandomLayout\",{enumerable:!0,get:function(){return w.RandomLayout}});var O=r(85);Object.defineProperty(c,\"GForceLayout\",{enumerable:!0,get:function(){return O.GForceLayout}});var b=r(86);Object.defineProperty(c,\"Force2Layout\",{enumerable:!0,get:function(){return b.Force2Layout}});var p=r(87);Object.defineProperty(c,\"ForceLayout\",{enumerable:!0,get:function(){return p.ForceLayout}});var u=r(88);Object.defineProperty(c,\"CircularLayout\",{enumerable:!0,get:function(){return u.CircularLayout}});var a=r(62);Object.defineProperty(c,\"DagreLayout\",{enumerable:!0,get:function(){return a.DagreLayout}});var f=r(90);Object.defineProperty(c,\"DagreCompoundLayout\",{enumerable:!0,get:function(){return f.DagreCompoundLayout}});var h=r(92);Object.defineProperty(c,\"RadialLayout\",{enumerable:!0,get:function(){return h.RadialLayout}});var l=r(93);Object.defineProperty(c,\"ConcentricLayout\",{enumerable:!0,get:function(){return l.ConcentricLayout}});var s=r(94);Object.defineProperty(c,\"MDSLayout\",{enumerable:!0,get:function(){return s.MDSLayout}});var m=r(95);Object.defineProperty(c,\"FruchtermanLayout\",{enumerable:!0,get:function(){return m.FruchtermanLayout}});var x=r(96);Object.defineProperty(c,\"FruchtermanGPULayout\",{enumerable:!0,get:function(){return x.FruchtermanGPULayout}});var M=r(103);Object.defineProperty(c,\"GForceGPULayout\",{enumerable:!0,get:function(){return M.GForceGPULayout}});var E=r(104);Object.defineProperty(c,\"ComboForceLayout\",{enumerable:!0,get:function(){return E.ComboForceLayout}});var j=r(105);Object.defineProperty(c,\"ComboCombinedLayout\",{enumerable:!0,get:function(){return j.ComboCombinedLayout}});var L=r(106);Object.defineProperty(c,\"ForceAtlas2Layout\",{enumerable:!0,get:function(){return L.ForceAtlas2Layout}});var A=r(107);Object.defineProperty(c,\"ERLayout\",{enumerable:!0,get:function(){return A.ERLayout}});var J=r(208);Object.defineProperty(c,\"Layout\",{enumerable:!0,get:function(){return J.Layout}}),Object.defineProperty(c,\"Layouts\",{enumerable:!0,get:function(){return J.Layouts}}),N(r(209),c)},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(O,b){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,u){p.__proto__=u}||function(p,u){for(var a in u)Object.prototype.hasOwnProperty.call(u,a)&&(p[a]=u[a])})(O,b)},function(O,b){if(typeof b!=\"function\"&&b!==null)throw new TypeError(\"Class extends value \"+String(b)+\" is not a constructor or null\");function p(){this.constructor=O}y(O,b),O.prototype=b===null?Object.create(b):(p.prototype=b.prototype,new p)});Object.defineProperty(c,\"__esModule\",{value:!0}),c.GridLayout=void 0;var C=r(15),w=function(O){function b(p){var u=O.call(this)||this;return u.begin=[0,0],u.preventOverlap=!0,u.preventOverlapPadding=10,u.condense=!1,u.sortBy=\"degree\",u.nodes=[],u.edges=[],u.width=300,u.height=300,u.row=0,u.col=0,u.cellWidth=0,u.cellHeight=0,u.cellUsed={},u.id2manPos={},u.onLayoutEnd=function(){},u.updateCfg(p),u}return N(b,O),b.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}},b.prototype.execute=function(){var p=this,u=p.nodes,a=p.edges,f=p.begin,h=u.length;if(h===0)return p.onLayoutEnd&&p.onLayoutEnd(),{nodes:u,edges:a};if(h===1)return u[0].x=f[0],u[0].y=f[1],p.onLayoutEnd&&p.onLayoutEnd(),{nodes:u,edges:a};var l=p.sortBy,s=p.width,m=p.height,x=p.condense,M=p.preventOverlapPadding,E=p.preventOverlap,j=p.nodeSpacing,L=p.nodeSize,A=[];u.forEach(function(Oe){A.push(Oe)});var J={};if(A.forEach(function(Oe,Ce){J[Oe.id]=Ce}),(l===\"degree\"||!(0,C.isString)(l)||A[0][l]===void 0)&&(l=\"degree\",(0,C.isNaN)(u[0].degree))){var q=(0,C.getDegree)(A.length,J,a);A.forEach(function(Oe,Ce){Oe.degree=q[Ce].all})}A.sort(function(Oe,Ce){return Ce[l]-Oe[l]}),s||typeof window==\"undefined\"||(s=window.innerWidth),m||typeof window==\"undefined\"||(m=window.innerHeight);var re=p.rows,me=p.cols!=null?p.cols:p.columns;if(p.cells=h,re!=null&&me!=null?(p.rows=re,p.cols=me):re!=null&&me==null?(p.rows=re,p.cols=Math.ceil(p.cells/p.rows)):re==null&&me!=null?(p.cols=me,p.rows=Math.ceil(p.cells/p.cols)):(p.splits=Math.sqrt(p.cells*p.height/p.width),p.rows=Math.round(p.splits),p.cols=Math.round(p.width/p.height*p.splits)),p.rows=Math.max(p.rows,1),p.cols=Math.max(p.cols,1),p.cols*p.rows>p.cells)((ee=p.small())-1)*(Te=p.large())>=p.cells?p.small(ee-1):(Te-1)*ee>=p.cells&&p.large(Te-1);else for(;p.cols*p.rows<p.cells;){var Te,ee=p.small();((Te=p.large())+1)*ee>=p.cells?p.large(Te+1):p.small(ee+1)}if(p.cellWidth=s/p.cols,p.cellHeight=m/p.rows,x&&(p.cellWidth=0,p.cellHeight=0),E||j){var xe=(0,C.getFuncByUnknownType)(10,j),Ie=(0,C.getFuncByUnknownType)(30,L,!1);A.forEach(function(Oe){Oe.x&&Oe.y||(Oe.x=0,Oe.y=0);var Ce,oe,he=Ie(Oe)||30;(0,C.isArray)(he)?(Ce=he[0],oe=he[1]):(Ce=he,oe=he);var ie=xe!==void 0?xe(Oe):M,ae=Ce+ie,ve=oe+ie;p.cellWidth=Math.max(p.cellWidth,ae),p.cellHeight=Math.max(p.cellHeight,ve)})}p.cellUsed={},p.row=0,p.col=0,p.id2manPos={};for(var Le=0;Le<A.length;Le++){var De=A[Le],ce=void 0;if(p.position&&(ce=p.position(De)),ce&&(ce.row!==void 0||ce.col!==void 0)){var ye={row:ce.row,col:ce.col};if(ye.col===void 0)for(ye.col=0;p.used(ye.row,ye.col);)ye.col++;else if(ye.row===void 0)for(ye.row=0;p.used(ye.row,ye.col);)ye.row++;p.id2manPos[De.id]=ye,p.use(ye.row,ye.col)}p.getPos(De)}return p.onLayoutEnd&&p.onLayoutEnd(),{edges:a,nodes:A}},b.prototype.small=function(p){var u,a=this.rows||5,f=this.cols||5;return p==null?u=Math.min(a,f):Math.min(a,f)===this.rows?this.rows=p:this.cols=p,u},b.prototype.large=function(p){var u,a=this.rows||5,f=this.cols||5;return p==null?u=Math.max(a,f):Math.max(a,f)===this.rows?this.rows=p:this.cols=p,u},b.prototype.used=function(p,u){return this.cellUsed[\"c-\".concat(p,\"-\").concat(u)]||!1},b.prototype.use=function(p,u){this.cellUsed[\"c-\".concat(p,\"-\").concat(u)]=!0},b.prototype.moveToNextCell=function(){var p=this.cols||5;this.col++,this.col>=p&&(this.col=0,this.row++)},b.prototype.getPos=function(p){var u,a,f=this.begin,h=this.cellWidth,l=this.cellHeight,s=this.id2manPos[p.id];if(s)u=s.col*h+h/2+f[0],a=s.row*l+l/2+f[1];else{for(;this.used(this.row,this.col);)this.moveToNextCell();u=this.col*h+h/2+f[0],a=this.row*l+l/2+f[1],this.use(this.row,this.col),this.moveToNextCell()}p.x=u,p.y=a},b.prototype.getType=function(){return\"grid\"},b}(r(18).Base);c.GridLayout=w},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(w,O){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,p){b.__proto__=p}||function(b,p){for(var u in p)Object.prototype.hasOwnProperty.call(p,u)&&(b[u]=p[u])})(w,O)},function(w,O){if(typeof O!=\"function\"&&O!==null)throw new TypeError(\"Class extends value \"+String(O)+\" is not a constructor or null\");function b(){this.constructor=w}y(w,O),w.prototype=O===null?Object.create(O):(b.prototype=O.prototype,new b)});Object.defineProperty(c,\"__esModule\",{value:!0}),c.RandomLayout=void 0;var C=function(w){function O(b){var p=w.call(this)||this;return p.center=[0,0],p.width=300,p.height=300,p.nodes=[],p.edges=[],p.onLayoutEnd=function(){},p.updateCfg(b),p}return N(O,w),O.prototype.getDefaultCfg=function(){return{center:[0,0],width:300,height:300}},O.prototype.execute=function(){var b=this,p=b.nodes,u=b.center;return b.width||typeof window==\"undefined\"||(b.width=window.innerWidth),b.height||typeof window==\"undefined\"||(b.height=window.innerHeight),p&&p.forEach(function(a){a.x=.9*(Math.random()-.5)*b.width+u[0],a.y=.9*(Math.random()-.5)*b.height+u[1]}),b.onLayoutEnd&&b.onLayoutEnd(),{nodes:p,edges:this.edges}},O.prototype.getType=function(){return\"random\"},O}(r(18).Base);c.RandomLayout=C},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(p,u){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,f){a.__proto__=f}||function(a,f){for(var h in f)Object.prototype.hasOwnProperty.call(f,h)&&(a[h]=f[h])})(p,u)},function(p,u){if(typeof u!=\"function\"&&u!==null)throw new TypeError(\"Class extends value \"+String(u)+\" is not a constructor or null\");function a(){this.constructor=p}y(p,u),p.prototype=u===null?Object.create(u):(a.prototype=u.prototype,new a)});Object.defineProperty(c,\"__esModule\",{value:!0}),c.GForceLayout=void 0;var C=r(18),w=r(15),O=function(p,u){return p?(0,w.isNumber)(p)?function(a){return p}:p:function(a){return u||1}},b=function(p){function u(a){var f=p.call(this)||this;return f.maxIteration=500,f.workerEnabled=!1,f.edgeStrength=200,f.nodeStrength=1e3,f.coulombDisScale=.005,f.damping=.9,f.maxSpeed=1e3,f.minMovement=.5,f.interval=.02,f.factor=1,f.linkDistance=1,f.gravity=10,f.preventOverlap=!0,f.collideStrength=1,f.tick=function(){},f.nodes=[],f.edges=[],f.width=300,f.height=300,f.nodeMap={},f.nodeIdxMap={},f.animate=!0,f.updateCfg(a),f}return N(u,p),u.prototype.getDefaultCfg=function(){return{maxIteration:500,gravity:10,enableTick:!0,animate:!0}},u.prototype.execute=function(){var a,f,h=this,l=h.nodes;if(h.timeInterval!==void 0&&typeof window!=\"undefined\"&&window.clearInterval(h.timeInterval),l&&l.length!==0){h.width||typeof window==\"undefined\"||(h.width=window.innerWidth),h.height||typeof window==\"undefined\"||(h.height=window.innerHeight),h.center||(h.center=[h.width/2,h.height/2]);var s=h.center;if(l.length===1)return l[0].x=s[0],l[0].y=s[1],void((f=h.onLayoutEnd)===null||f===void 0||f.call(h));var m={},x={};l.forEach(function(J,q){(0,w.isNumber)(J.x)||(J.x=Math.random()*h.width),(0,w.isNumber)(J.y)||(J.y=Math.random()*h.height),m[J.id]=J,x[J.id]=q}),h.nodeMap=m,h.nodeIdxMap=x,h.linkDistance=O(h.linkDistance,1),h.nodeStrength=O(h.nodeStrength,1),h.edgeStrength=O(h.edgeStrength,1);var M,E=h.nodeSize;if(h.preventOverlap){var j,L=h.nodeSpacing;j=(0,w.isNumber)(L)?function(){return L}:(0,w.isFunction)(L)?L:function(){return 0},M=E?(0,w.isArray)(E)?function(J){return Math.max(E[0],E[1])+j(J)}:function(J){return E+j(J)}:function(J){return J.size?(0,w.isArray)(J.size)?Math.max(J.size[0],J.size[1])+j(J):(0,w.isObject)(J.size)?Math.max(J.size.width,J.size.height)+j(J):J.size+j(J):10+j(J)}}h.nodeSize=M;var A=h.edges;h.degrees=(0,w.getDegree)(l.length,h.nodeIdxMap,A),h.getMass||(h.getMass=function(J){return J.mass||h.degrees[h.nodeIdxMap[J.id]].all||1}),h.run()}else(a=h.onLayoutEnd)===null||a===void 0||a.call(h)},u.prototype.run=function(){var a,f=this,h=f.maxIteration,l=f.nodes,s=f.workerEnabled,m=f.minMovement,x=f.animate;if(l)if(s||!x){for(var M=0;M<h;M++){var E=f.runOneStep(M);if(f.reachMoveThreshold(l,E,m))break}(a=f.onLayoutEnd)===null||a===void 0||a.call(f)}else{if(typeof window==\"undefined\")return;var j=0;this.timeInterval=window.setInterval(function(){var L,A;if(l){var J=f.runOneStep(j)||[];f.reachMoveThreshold(l,J,m)&&((L=f.onLayoutEnd)===null||L===void 0||L.call(f),window.clearInterval(f.timeInterval)),++j>=h&&((A=f.onLayoutEnd)===null||A===void 0||A.call(f),window.clearInterval(f.timeInterval))}},0)}},u.prototype.reachMoveThreshold=function(a,f,h){var l=0;return a.forEach(function(s,m){var x=s.x-f[m].x,M=s.y-f[m].y;l+=Math.sqrt(x*x+M*M)}),(l/=a.length)<h},u.prototype.runOneStep=function(a){var f,h=this.nodes,l=this.edges,s=[],m=[];if(h){h.forEach(function(E,j){s[2*j]=0,s[2*j+1]=0,m[2*j]=0,m[2*j+1]=0}),this.calRepulsive(s,h),l&&this.calAttractive(s,l),this.calGravity(s,h);var x=Math.max(.02,this.interval-.002*a);this.updateVelocity(s,m,x,h);var M=[];return h.forEach(function(E){M.push({x:E.x,y:E.y})}),this.updatePosition(m,x,h),(f=this.tick)===null||f===void 0||f.call(this),M}},u.prototype.calRepulsive=function(a,f){var h=this.getMass,l=this.factor,s=this.coulombDisScale,m=this.preventOverlap,x=this.collideStrength,M=x===void 0?1:x,E=this.nodeStrength,j=this.nodeSize;f.forEach(function(L,A){var J=h?h(L):1;f.forEach(function(q,re){if(!(A>=re)){var me=L.x-q.x,Te=L.y-q.y;me===0&&Te===0&&(me=.01*Math.random(),Te=.01*Math.random());var ee=me*me+Te*Te,xe=Math.sqrt(ee),Ie=(xe+.1)*s,Le=me/xe,De=Te/xe,ce=.5*(E(L)+E(q))*l/(Ie*Ie),ye=h?h(q):1;if(a[2*A]+=Le*ce,a[2*A+1]+=De*ce,a[2*re]-=Le*ce,a[2*re+1]-=De*ce,m&&(j(L)+j(q))/2>xe){var Oe=M*(E(L)+E(q))*.5/ee;a[2*A]+=Le*Oe/J,a[2*A+1]+=De*Oe/J,a[2*re]-=Le*Oe/ye,a[2*re+1]-=De*Oe/ye}}})})},u.prototype.calAttractive=function(a,f){var h=this.nodeMap,l=this.nodeIdxMap,s=this.linkDistance,m=this.edgeStrength,x=this.nodeSize,M=this.getMass;f.forEach(function(E,j){var L=(0,w.getEdgeTerminal)(E,\"source\"),A=(0,w.getEdgeTerminal)(E,\"target\"),J=h[L],q=h[A],re=q.x-J.x,me=q.y-J.y;re===0&&me===0&&(re=.01*Math.random(),me=.01*Math.random());var Te=Math.sqrt(re*re+me*me),ee=re/Te,xe=me/Te,Ie=((s(E,J,q)||1+(x(J)+x(q)||0)/2)-Te)*m(E),Le=l[L],De=l[A],ce=M?M(J):1,ye=M?M(q):1;a[2*Le]-=ee*Ie/ce,a[2*Le+1]-=xe*Ie/ce,a[2*De]+=ee*Ie/ye,a[2*De+1]+=xe*Ie/ye})},u.prototype.calGravity=function(a,f){for(var h=this.center,l=this.gravity,s=this.degrees,m=f.length,x=0;x<m;x++){var M=f[x],E=M.x-h[0],j=M.y-h[1],L=l;if(this.getCenter){var A=this.getCenter(M,s[x].all);A&&(0,w.isNumber)(A[0])&&(0,w.isNumber)(A[1])&&(0,w.isNumber)(A[2])&&(E=M.x-A[0],j=M.y-A[1],L=A[2])}L&&(a[2*x]-=L*E,a[2*x+1]-=L*j)}},u.prototype.updateVelocity=function(a,f,h,l){var s=this,m=h*s.damping;l.forEach(function(x,M){var E=a[2*M]*m||.01,j=a[2*M+1]*m||.01,L=Math.sqrt(E*E+j*j);if(L>s.maxSpeed){var A=s.maxSpeed/L;E*=A,j*=A}f[2*M]=E,f[2*M+1]=j})},u.prototype.updatePosition=function(a,f,h){h.forEach(function(l,s){if((0,w.isNumber)(l.fx)&&(0,w.isNumber)(l.fy))return l.x=l.fx,void(l.y=l.fy);var m=a[2*s]*f,x=a[2*s+1]*f;l.x+=m,l.y+=x})},u.prototype.stop=function(){this.timeInterval&&typeof window!=\"undefined\"&&window.clearInterval(this.timeInterval)},u.prototype.destroy=function(){this.stop(),this.tick=null,this.nodes=null,this.edges=null,this.destroyed=!0},u.prototype.getType=function(){return\"gForce\"},u}(C.Base);c.GForceLayout=b},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(a,f){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,l){h.__proto__=l}||function(h,l){for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&(h[s]=l[s])})(a,f)},function(a,f){if(typeof f!=\"function\"&&f!==null)throw new TypeError(\"Class extends value \"+String(f)+\" is not a constructor or null\");function h(){this.constructor=a}y(a,f),a.prototype=f===null?Object.create(f):(h.prototype=f.prototype,new h)}),C=this&&this.__assign||function(){return(C=Object.assign||function(a){for(var f,h=1,l=arguments.length;h<l;h++)for(var s in f=arguments[h])Object.prototype.hasOwnProperty.call(f,s)&&(a[s]=f[s]);return a}).apply(this,arguments)};Object.defineProperty(c,\"__esModule\",{value:!0}),c.Force2Layout=void 0;var w=r(18),O=r(15),b=r(153),p=function(a,f){return a?(0,O.isNumber)(a)?function(h){return a}:a:function(h){return f||1}},u=function(a){function f(h){var l=a.call(this)||this;l.maxIteration=1e3,l.workerEnabled=!1,l.edgeStrength=200,l.nodeStrength=1e3,l.coulombDisScale=.005,l.damping=.9,l.maxSpeed=500,l.minMovement=.4,l.interval=.02,l.factor=1,l.linkDistance=200,l.gravity=0,l.clusterNodeStrength=20,l.preventOverlap=!0,l.distanceThresholdMode=\"mean\",l.tick=function(){},l.nodes=[],l.edges=[],l.width=300,l.height=300,l.nodeMap={},l.nodeIdxMap={},l.judgingDistance=0,l.centripetalOptions={leaf:2,single:2,others:1,center:function(m){return{x:l.width/2,y:l.height/2}}};var s=h.getMass;return l.propsGetMass=s,l.updateCfg(h),l}return N(f,a),f.prototype.getCentripetalOptions=function(){var h,l=this,s=l.leafCluster,m=l.clustering,x=l.nodeClusterBy,M=l.nodes,E=l.nodeMap,j=l.clusterNodeStrength,L=function(Ie){return typeof j==\"function\"?j(Ie):j},A={};if(s){h=this.getSameTypeLeafMap()||{};var J=Array.from(new Set(M==null?void 0:M.map(function(Ie){return Ie[x]})))||[];A={single:100,leaf:function(Ie,Le,De){var ce=h[Ie.id]||{},ye=ce.relativeLeafNodes,Oe=ce.sameTypeLeafNodes;return(Oe==null?void 0:Oe.length)===(ye==null?void 0:ye.length)||(J==null?void 0:J.length)===1?1:L(Ie)},others:1,center:function(Ie,Le,De){var ce,ye,Oe=(((ce=Ie.data)===null||ce===void 0?void 0:ce.layout)||{}).degree;if(!Oe)return{x:100,y:100};if(Oe===1){var Ce=(h[Ie.id]||{}).sameTypeLeafNodes,oe=Ce===void 0?[]:Ce;oe.length===1?ye=void 0:oe.length>1&&(ye=(0,O.getAvgNodePosition)(oe))}else ye=void 0;return{x:ye==null?void 0:ye.x,y:ye==null?void 0:ye.y}}}}if(m){h||(h=this.getSameTypeLeafMap());var q=Array.from(new Set(M.map(function(Ie,Le){return Ie[x]}))).filter(function(Ie){return Ie!==void 0}),re={};q.forEach(function(Ie){var Le=M.filter(function(De){return De[x]===Ie}).map(function(De){return E[De.id]});re[Ie]=(0,O.getAvgNodePosition)(Le)}),A={single:function(Ie){return L(Ie)},leaf:function(Ie){return L(Ie)},others:function(Ie){return L(Ie)},center:function(Ie,Le,De){var ce=re[Ie[x]];return{x:ce==null?void 0:ce.x,y:ce==null?void 0:ce.y}}}}this.centripetalOptions=C(C({},this.centripetalOptions),A);var me=this.centripetalOptions,Te=me.leaf,ee=me.single,xe=me.others;Te&&typeof Te!=\"function\"&&(this.centripetalOptions.leaf=function(){return Te}),ee&&typeof ee!=\"function\"&&(this.centripetalOptions.single=function(){return ee}),xe&&typeof xe!=\"function\"&&(this.centripetalOptions.others=function(){return xe})},f.prototype.updateCfg=function(h){h&&Object.assign(this,h)},f.prototype.getDefaultCfg=function(){return{maxIteration:500,gravity:10,enableTick:!0,animate:!0}},f.prototype.execute=function(){var h=this;h.stop();var l=h.nodes,s=h.edges,m=h.defSpringLen;if(h.judgingDistance=0,l&&l.length!==0){h.width||typeof window==\"undefined\"||(h.width=window.innerWidth),h.height||typeof window==\"undefined\"||(h.height=window.innerHeight),h.center||(h.center=[h.width/2,h.height/2]);var x=h.center;if(l.length===1)return l[0].x=x[0],l[0].y=x[1],void h.onLayoutEnd([C({},l[0])]);h.degreesMap=(0,O.getDegreeMap)(l,s),h.propsGetMass?h.getMass=h.propsGetMass:h.getMass=function(q){var re=1;(0,O.isNumber)(q.mass)&&(re=q.mass);var me=h.degreesMap[q.id].all;return!me||me<5?re:5*me*re};var M,E=h.nodeSize;if(h.preventOverlap){var j,L=h.nodeSpacing;j=(0,O.isNumber)(L)?function(){return L}:(0,O.isFunction)(L)?L:function(){return 0},M=E?(0,O.isArray)(E)?function(q){return Math.max(E[0],E[1])+j(q)}:function(q){return E+j(q)}:function(q){return q.size?(0,O.isArray)(q.size)?Math.max(q.size[0],q.size[1])+j(q):(0,O.isObject)(q.size)?Math.max(q.size.width,q.size.height)+j(q):q.size+j(q):10+j(q)}}h.nodeSize=M,h.linkDistance=p(h.linkDistance,1),h.nodeStrength=p(h.nodeStrength,1),h.edgeStrength=p(h.edgeStrength,1);var A={},J={};l.forEach(function(q,re){(0,O.isNumber)(q.x)||(q.x=Math.random()*h.width),(0,O.isNumber)(q.y)||(q.y=Math.random()*h.height);var me=h.degreesMap[q.id];A[q.id]=C(C({},q),{data:C(C({},q.data),{size:h.nodeSize(q)||30,layout:{inDegree:me.in,outDegree:me.out,degree:me.all,tDegree:me.in,sDegree:me.out,force:{mass:h.getMass(q),nodeStrength:h.nodeStrength(q)}}})}),J[q.id]=re}),h.nodeMap=A,h.nodeIdxMap=J,h.edgeInfos=[],s==null||s.forEach(function(q){var re=A[q.source],me=A[q.target];re&&me?h.edgeInfos.push({edgeStrength:h.edgeStrength(q),linkDistance:m?m(C(C({},q),{source:re,target:me}),re,me):h.linkDistance(q,re,me)||1+(E(re)+E(re)||0)/2}):elf.edgeInfos.push({})}),this.getCentripetalOptions(),h.onLayoutEnd=h.onLayoutEnd||function(){},h.run()}else h.onLayoutEnd([])},f.prototype.run=function(){var h=this,l=h.maxIteration,s=h.nodes,m=h.workerEnabled,x=h.minMovement,M=h.animate,E=h.nodeMap;if(s){var j=[];s.forEach(function(q,re){j[2*re]=0,j[2*re+1]=0});var L=l;if(m||!M){for(var A=0;(h.judgingDistance>x||A<1)&&A<L;A++)h.runOneStep(A,j);h.onLayoutEnd(Object.values(E))}else{if(typeof window==\"undefined\")return;var J=0;this.timeInterval=window.setInterval(function(){s&&(h.runOneStep(J,j),(++J>=L||h.judgingDistance<x)&&(h.onLayoutEnd(Object.values(E)),window.clearInterval(h.timeInterval)))},0)}}},f.prototype.runOneStep=function(h,l){var s,m=this.nodes,x=this.edges,M=(this.nodeMap,this.monitor),E=[];if(m!=null&&m.length){this.calRepulsive(E),x&&this.calAttractive(E),this.calGravity(E);var j=this.interval;this.updateVelocity(E,l,j),this.updatePosition(l,j),(s=this.tick)===null||s===void 0||s.call(this),M&&M({energy:this.calTotalEnergy(E),nodes:m,edges:x,iterations:h})}},f.prototype.calTotalEnergy=function(h){var l=this.nodes,s=this.nodeMap;if(!(l!=null&&l.length))return 0;var m=0;return l.forEach(function(x,M){var E=h[2*M],j=h[2*M+1],L=E*E+j*j,A=s[x.id].data.layout.force.mass;m+=(A===void 0?1:A)*L*.5}),m},f.prototype.calRepulsive=function(h){var l=this.nodes,s=this.nodeMap,m=this.factor,x=this.coulombDisScale;this.nodeSize,(0,b.forceNBody)(l,s,m,x*x,h)},f.prototype.calAttractive=function(h){var l=this.edges,s=this.nodeMap,m=this.nodeIdxMap,x=this.edgeInfos;this.nodeSize,l.forEach(function(M,E){var j=(0,O.getEdgeTerminal)(M,\"source\"),L=(0,O.getEdgeTerminal)(M,\"target\"),A=s[j],J=s[L];if(A&&J){var q=J.x-A.x,re=J.y-A.y;q||re||(q=.01*Math.random(),re=.01*Math.random());var me=Math.sqrt(q*q+re*re),Te=q/me,ee=re/me,xe=x[E]||{},Ie=xe.linkDistance,Le=Ie===void 0?200:Ie,De=xe.edgeStrength,ce=(Le-me)*(De===void 0?200:De),ye=1/(A.data.layout.force.mass||1),Oe=1/(J.data.layout.force.mass||1),Ce=Te*ce,oe=ee*ce,he=2*m[j],ie=2*m[L];h[he]-=Ce*ye,h[he+1]-=oe*ye,h[ie]+=Ce*Oe,h[ie+1]+=oe*Oe}})},f.prototype.calGravity=function(h){var l,s=this.nodes,m=this.edges,x=m===void 0?[]:m,M=this.nodeMap,E=this.width,j=this.height,L=this.center,A=this.gravity,J=this.degreesMap,q=this.centripetalOptions;if(s)for(var re=s.length,me=0;me<re;me++){var Te=2*me,ee=M[s[me].id],xe=ee.data.layout.force.mass,Ie=xe===void 0?1:xe,Le=0,De=0,ce=A,ye=J[ee.id],Oe=ye.in,Ce=ye.out,oe=ye.all,he=(l=this.getCenter)===null||l===void 0?void 0:l.call(this,ee,oe);if(he){var ie=he[0],ae=he[1],ve=he[2];Le=ee.x-ie,De=ee.y-ae,ce=ve}else Le=ee.x-L[0],De=ee.y-L[1];if(ce&&(h[Te]-=ce*Le/Ie,h[Te+1]-=ce*De/Ie),q){var X=q.leaf,se=q.single,fe=q.others,_e=q.center,be=(_e==null?void 0:_e(ee,s,x,E,j))||{x:0,y:0,centerStrength:0},We=be.x,we=be.y,Ze=be.centerStrength;if(!(0,O.isNumber)(We)||!(0,O.isNumber)(we))continue;var Ve=(ee.x-We)/Ie,et=(ee.y-we)/Ie;if(Ze&&(h[Te]-=Ze*Ve,h[Te+1]-=Ze*et),oe===0){var ht=se(ee);if(!ht)continue;h[Te]-=ht*Ve,h[Te+1]-=ht*et;continue}if(Oe===0||Ce===0){var Fe=X(ee,s,x);if(!Fe)continue;h[Te]-=Fe*Ve,h[Te+1]-=Fe*et;continue}var mt=fe(ee);if(!mt)continue;h[Te]-=mt*Ve,h[Te+1]-=mt*et}}},f.prototype.updateVelocity=function(h,l,s){var m=this.nodes,x=this.damping,M=this.maxSpeed;m!=null&&m.length&&m.forEach(function(E,j){var L=(l[2*j]+h[2*j]*s)*x||.01,A=(l[2*j+1]+h[2*j+1]*s)*x||.01,J=Math.sqrt(L*L+A*A);if(J>M){var q=M/J;L*=q,A*=q}l[2*j]=L,l[2*j+1]=A})},f.prototype.updatePosition=function(h,l){var s=this,m=s.nodes,x=s.distanceThresholdMode,M=s.nodeMap;if(m!=null&&m.length){var E=0;x===\"max\"?s.judgingDistance=-1/0:x===\"min\"&&(s.judgingDistance=1/0),m.forEach(function(j,L){var A=M[j.id];if((0,O.isNumber)(j.fx)&&(0,O.isNumber)(j.fy))return j.x=j.fx,j.y=j.fy,A.x=j.x,void(A.y=j.y);var J=h[2*L]*l,q=h[2*L+1]*l;j.x+=J,j.y+=q,A.x=j.x,A.y=j.y;var re=Math.sqrt(J*J+q*q);switch(x){case\"max\":s.judgingDistance<re&&(s.judgingDistance=re);break;case\"min\":s.judgingDistance>re&&(s.judgingDistance=re);break;default:E+=re}}),x&&x!==\"mean\"||(s.judgingDistance=E/m.length)}else this.judgingDistance=0},f.prototype.stop=function(){this.timeInterval&&typeof window!=\"undefined\"&&window.clearInterval(this.timeInterval)},f.prototype.destroy=function(){this.stop(),this.tick=null,this.nodes=null,this.edges=null,this.destroyed=!0},f.prototype.getType=function(){return\"force2\"},f.prototype.getSameTypeLeafMap=function(){var h=this,l=h.nodeClusterBy,s=h.nodes,m=h.edges,x=h.nodeMap,M=h.degreesMap;if(s!=null&&s.length){var E={};return s.forEach(function(j,L){M[j.id].all===1&&(E[j.id]=(0,O.getCoreNodeAndRelativeLeafNodes)(\"leaf\",j,m,l,M,x))}),E}},f}(w.Base);c.Force2Layout=u},function(Ee,c,r){\"use strict\";var y=this&&this.__createBinding||(Object.create?function(C,w,O,b){b===void 0&&(b=O);var p=Object.getOwnPropertyDescriptor(w,O);p&&!(\"get\"in p?!w.__esModule:p.writable||p.configurable)||(p={enumerable:!0,get:function(){return w[O]}}),Object.defineProperty(C,b,p)}:function(C,w,O,b){b===void 0&&(b=O),C[b]=w[O]}),N=this&&this.__exportStar||function(C,w){for(var O in C)O===\"default\"||Object.prototype.hasOwnProperty.call(w,O)||y(w,C,O)};Object.defineProperty(c,\"__esModule\",{value:!0}),N(r(154),c)},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(p,u){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,f){a.__proto__=f}||function(a,f){for(var h in f)Object.prototype.hasOwnProperty.call(f,h)&&(a[h]=f[h])})(p,u)},function(p,u){if(typeof u!=\"function\"&&u!==null)throw new TypeError(\"Class extends value \"+String(u)+\" is not a constructor or null\");function a(){this.constructor=p}y(p,u),p.prototype=u===null?Object.create(u):(a.prototype=u.prototype,new a)});Object.defineProperty(c,\"__esModule\",{value:!0}),c.CircularLayout=void 0;var C=r(18),w=r(15);function O(p,u){var a=p.degree,f=u.degree;return a<f?-1:a>f?1:0}var b=function(p){function u(a){var f=p.call(this)||this;return f.radius=null,f.nodeSize=void 0,f.startRadius=null,f.endRadius=null,f.startAngle=0,f.endAngle=2*Math.PI,f.clockwise=!0,f.divisions=1,f.ordering=null,f.angleRatio=1,f.nodes=[],f.edges=[],f.nodeMap={},f.degrees=[],f.width=300,f.height=300,f.updateCfg(a),f}return N(u,p),u.prototype.getDefaultCfg=function(){return{radius:null,startRadius:null,endRadius:null,startAngle:0,endAngle:2*Math.PI,clockwise:!0,divisions:1,ordering:null,angleRatio:1}},u.prototype.execute=function(){var a,f=this.nodes,h=this.edges,l=f.length;if(l!==0){this.width||typeof window==\"undefined\"||(this.width=window.innerWidth),this.height||typeof window==\"undefined\"||(this.height=window.innerHeight),this.center||(this.center=[this.width/2,this.height/2]);var s=this.center;if(l===1)return f[0].x=s[0],f[0].y=s[1],void(this.onLayoutEnd&&this.onLayoutEnd());var m=this.radius,x=this.startRadius,M=this.endRadius,E=this.divisions,j=this.startAngle,L=this.endAngle,A=this.angleRatio,J=this.ordering,q=this.clockwise,re=this.nodeSpacing,me=this.nodeSize,Te=(L-j)/l,ee={};f.forEach(function(ae,ve){ee[ae.id]=ve}),this.nodeMap=ee;var xe=(0,w.getDegree)(f.length,ee,h);if(this.degrees=xe,re){var Ie=(0,w.getFuncByUnknownType)(10,re),Le=(0,w.getFuncByUnknownType)(10,me),De=-1/0;f.forEach(function(ae){var ve=Le(ae);De<ve&&(De=ve)});var ce=0;f.forEach(function(ae,ve){ce+=ve===0?De||10:(Ie(ae)||0)+(De||10)}),m=ce/(2*Math.PI)}else m||x||M?!x&&M?x=M:x&&!M&&(M=x):m=this.height>this.width?this.width/2:this.height/2;var ye=Te*A,Oe=[];Oe=J===\"topology\"?this.topologyOrdering():J===\"topology-directed\"?this.topologyOrdering(!0):J===\"degree\"?this.degreeOrdering():f;for(var Ce=Math.ceil(l/E),oe=0;oe<l;++oe){var he=m;he||x===null||M===null||(he=x+oe*(M-x)/(l-1)),he||(he=10+100*oe/(l-1));var ie=j+oe%Ce*ye+2*Math.PI/E*Math.floor(oe/Ce);q||(ie=L-oe%Ce*ye-2*Math.PI/E*Math.floor(oe/Ce)),Oe[oe].x=s[0]+Math.cos(ie)*he,Oe[oe].y=s[1]+Math.sin(ie)*he,Oe[oe].weight=xe[oe].all}return(a=this.onLayoutEnd)===null||a===void 0||a.call(this),{nodes:Oe,edges:this.edges}}this.onLayoutEnd&&this.onLayoutEnd()},u.prototype.topologyOrdering=function(a){a===void 0&&(a=!1);var f=this.degrees,h=this.edges,l=this.nodes,s=(0,w.clone)(l),m=this.nodeMap,x=[s[0]],M=[l[0]],E=[],j=l.length;E[0]=!0,function(A,J,q,re){A.forEach(function(me,Te){A[Te].children=[],A[Te].parent=[]}),re?J.forEach(function(me){var Te=(0,w.getEdgeTerminal)(me,\"source\"),ee=(0,w.getEdgeTerminal)(me,\"target\"),xe=0;Te&&(xe=q[Te]);var Ie=0;ee&&(Ie=q[ee]);var Le=A[xe].children,De=A[Ie].parent;Le.push(A[Ie].id),De.push(A[xe].id)}):J.forEach(function(me){var Te=(0,w.getEdgeTerminal)(me,\"source\"),ee=(0,w.getEdgeTerminal)(me,\"target\"),xe=0;Te&&(xe=q[Te]);var Ie=0;ee&&(Ie=q[ee]);var Le=A[xe].children,De=A[Ie].children;Le.push(A[Ie].id),De.push(A[xe].id)})}(s,h,m,a);var L=0;return s.forEach(function(A,J){if(J!==0)if(J!==j-1&&f[J].all===f[J+1].all&&!function(xe,Ie,Le){for(var De=Le.length,ce=0;ce<De;ce++){var ye=(0,w.getEdgeTerminal)(Le[ce],\"source\"),Oe=(0,w.getEdgeTerminal)(Le[ce],\"target\");if(xe.id===ye&&Ie.id===Oe||Ie.id===ye&&xe.id===Oe)return!0}return!1}(x[L],A,h)||E[J]){for(var q=x[L].children,re=!1,me=0;me<q.length;me++){var Te=m[q[me]];if(f[Te].all===f[J].all&&!E[Te]){x.push(s[Te]),M.push(l[m[s[Te].id]]),E[Te]=!0,re=!0;break}}for(var ee=0;!re&&(E[ee]||(x.push(s[ee]),M.push(l[m[s[ee].id]]),E[ee]=!0,re=!0),++ee!==j););}else x.push(A),M.push(l[m[A.id]]),E[J]=!0,L++}),M},u.prototype.degreeOrdering=function(){var a=this.nodes,f=[],h=this.degrees;return a.forEach(function(l,s){l.degree=h[s].all,f.push(l)}),f.sort(O),f},u.prototype.getType=function(){return\"circular\"},u}(C.Base);c.CircularLayout=b},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.feasibleTreeWithLayer=c.feasibleTree=void 0;var y=r(63),N=r(26),C=r(35),w=function(f){var h,l,s=new C.Graph({directed:!1}),m=f.nodes()[0],x=f.nodeCount();for(s.setNode(m,{});O(s,f)<x;)h=u(s,f),l=s.hasNode(h.v)?(0,y.slack)(f,h):-(0,y.slack)(f,h),a(s,f,l);return s};c.feasibleTree=w;var O=function(f,h){return f.nodes().forEach(function l(s){h.nodeEdges(s).forEach(function(m){var x=m.v,M=s===x?m.w:x;f.hasNode(M)||(0,y.slack)(h,m)||(f.setNode(M,{}),f.setEdge(s,M,{}),l(M))})}),f.nodeCount()},b=function(f){var h,l,s=new C.Graph({directed:!1}),m=f.nodes()[0],x=f.nodes().filter(function(M){return!!f.node(M)}).length;for(s.setNode(m,{});p(s,f)<x;)h=u(s,f),l=s.hasNode(h.v)?(0,y.slack)(f,h):-(0,y.slack)(f,h),a(s,f,l);return s};c.feasibleTreeWithLayer=b;var p=function(f,h){return f.nodes().forEach(function l(s){var m;(m=h.nodeEdges(s))===null||m===void 0||m.forEach(function(x){var M=x.v,E=s===M?x.w:M;f.hasNode(E)||h.node(E).layer===void 0&&(0,y.slack)(h,x)||(f.setNode(E,{}),f.setEdge(s,E,{}),l(E))})}),f.nodeCount()},u=function(f,h){return(0,N.minBy)(h.edges(),function(l){return f.hasNode(l.v)!==f.hasNode(l.w)?(0,y.slack)(h,l):1/0})},a=function(f,h,l){f.nodes().forEach(function(s){h.node(s).rank||(h.node(s).rank=0),h.node(s).rank+=l})};c.default={feasibleTree:w,feasibleTreeWithLayer:b}},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(a,f){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,l){h.__proto__=l}||function(h,l){for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&(h[s]=l[s])})(a,f)},function(a,f){if(typeof f!=\"function\"&&f!==null)throw new TypeError(\"Class extends value \"+String(f)+\" is not a constructor or null\");function h(){this.constructor=a}y(a,f),a.prototype=f===null?Object.create(f):(h.prototype=f.prototype,new h)}),C=this&&this.__assign||function(){return(C=Object.assign||function(a){for(var f,h=1,l=arguments.length;h<l;h++)for(var s in f=arguments[h])Object.prototype.hasOwnProperty.call(f,s)&&(a[s]=f[s]);return a}).apply(this,arguments)},w=this&&this.__spreadArray||function(a,f,h){if(h||arguments.length===2)for(var l,s=0,m=f.length;s<m;s++)!l&&s in f||(l||(l=Array.prototype.slice.call(f,0,s)),l[s]=f[s]);return a.concat(l||Array.prototype.slice.call(f))};Object.defineProperty(c,\"__esModule\",{value:!0}),c.DagreCompoundLayout=void 0;var O=r(18),b=r(180),p=r(15),u=function(a){function f(h){var l=a.call(this)||this;return l.rankdir=\"TB\",l.nodesep=50,l.edgesep=5,l.ranksep=50,l.controlPoints=!0,l.anchorPoint=!0,l.nodes=[],l.edges=[],l.combos=[],l.onLayoutEnd=function(){},l.updateCfg(h),l}return N(f,a),f.prototype.getDefaultCfg=function(){return{rankdir:\"TB\",align:void 0,begin:void 0,nodeSize:void 0,nodesep:50,ranksep:50,controlPoints:!0,anchorPoint:!0}},f.prototype.init=function(h){var l=h.hiddenNodes||[],s=h.hiddenEdges||[],m=h.hiddenCombos||[];this.nodes=this.getDataByOrder((h.nodes||[]).concat(l)),this.edges=this.getDataByOrder((h.edges||[]).concat(s)),this.combos=(h.combos||[]).concat(m.map(function(x){return C(C({},x),{collapsed:!0})}))},f.prototype.execute=function(){var h=this.nodes,l=this.edges;if(h){var s=this.getLayoutConfig(),m=s.graphDef,x=s.graphOption,M=s.graphSettings,E=(0,b.buildGraph)(m,x,M),j=(0,b.flatGraph)(E,!0);return this.updatePosition(j),this.onLayoutEnd&&this.onLayoutEnd(),{nodes:h,edges:l}}},f.prototype.getNodePath=function(h){var l=this.nodes,s=this.combos,m=l.find(function(x){return x.id===h});return m&&m.comboId?function x(M,E){E===void 0&&(E=[]);var j=s.find(function(L){return L.id===M});return j?(E.unshift(M),j.parentId?x(j.parentId,E):E):E}(m.comboId,[h]):[h]},f.prototype.getLayoutConfig=function(){var h,l,s,m,x=this.nodes,M=this.edges,E=this.combos,j=this.nodeSize,L=this.rankdir,A=this.align,J=this.edgesep,q=this.nodesep,re=this.ranksep,me=this.settings,Te=(E||[]).reduce(function(X,se){var fe=x.filter(function(be){return be.comboId===se.id}).map(function(be){return be.id}),_e=(E||[]).filter(function(be){return be.parentId===se.id}).map(function(be){return be.id});return(fe.length||_e.length)&&(X[se.id]=w(w([],fe,!0),_e,!0)),X},{});m=j?(0,p.isArray)(j)?function(){return j}:function(){return[j,j]}:function(X){return X&&X.size?(0,p.isArray)(X.size)?X.size:(0,p.isObject)(X.size)?[X.size.width||40,X.size.height||40]:[X.size,X.size]:[40,40]};var ee,xe=(ee=E==null?void 0:E[0])&&ee.size?(0,p.isArray)(ee.size)?ee.size:[ee.size,ee.size]:[80,40],Ie=xe[0],Le=xe[1],De=(l=(h=this.graphSettings)===null||h===void 0?void 0:h.subScene)===null||l===void 0?void 0:l.meta,ce=((s=E.find(function(X){return!X.collapsed}))===null||s===void 0?void 0:s.padding)||[20,20,20,20],ye=ce[0],Oe=ce[1],Ce=ce[2],oe=ce[3],he={compound:Te,nodes:w([],(x||[]).map(function(X){var se=m(X),fe=se[0],_e=se[1];return C(C({},X),{width:fe,height:_e})}),!0),edges:w([],(M||[]).map(function(X){return C(C({},X),{v:X.source,w:X.target})}),!0)},ie={expanded:(E||[]).filter(function(X){return!X.collapsed}).map(function(X){return X.id})},ae={graph:{meta:{align:A,rankDir:L,nodeSep:q,edgeSep:J,rankSep:re}},subScene:{meta:{paddingTop:ye||(De==null?void 0:De.paddingTop)||20,paddingRight:Oe||(De==null?void 0:De.paddingRight)||20,paddingBottom:Ce||(De==null?void 0:De.paddingBottom)||20,paddingLeft:oe||(De==null?void 0:De.paddingLeft)||20,labelHeight:0}},nodeSize:{meta:{width:Ie,height:Le}}},ve=(0,b.mergeConfig)(me,C({},(0,b.mergeConfig)(ae,b.LAYOUT_CONFIG)));return this.graphSettings=ve,{graphDef:he,graphOption:ie,graphSettings:ve}},f.prototype.updatePosition=function(h){var l=h.nodes,s=h.edges;this.updateNodePosition(l,s),this.updateEdgePosition(l,s)},f.prototype.getBegin=function(h,l){var s=this.begin,m=[0,0];if(s){var x=1/0,M=1/0;h.forEach(function(E){x>E.x&&(x=E.x),M>E.y&&(M=E.y)}),l.forEach(function(E){E.points.forEach(function(j){x>j.x&&(x=j.x),M>j.y&&(M=j.y)})}),m[0]=s[0]-x,m[1]=s[1]-M}return m},f.prototype.updateNodePosition=function(h,l){var s=this.combos,m=this.nodes,x=this.edges,M=this.anchorPoint,E=this.graphSettings,j=this.getBegin(h,l);h.forEach(function(L){var A,J=L.x,q=L.y,re=L.id,me=L.type,Te=L.coreBox;if(me===b.HierarchyNodeType.META&&re!==b.ROOT_NAME){var ee=s.findIndex(function(ce){return ce.id===re}),xe=(A=E==null?void 0:E.subScene)===null||A===void 0?void 0:A.meta;s[ee].offsetX=J+j[0],s[ee].offsetY=q+j[1],s[ee].fixSize=[Te.width,Te.height],s[ee].fixCollapseSize=[Te.width,Te.height],L.expanded?s[ee].padding=[xe==null?void 0:xe.paddingTop,xe==null?void 0:xe.paddingRight,xe==null?void 0:xe.paddingBottom,xe==null?void 0:xe.paddingLeft]:s[ee].padding=[0,0,0,0]}else if(me===b.HierarchyNodeType.OP&&(ee=m.findIndex(function(ce){return ce.id===re}),m[ee].x=J+j[0],m[ee].y=q+j[1],M)){var Ie=[],Le=l.filter(function(ce){return ce.v===re}),De=l.filter(function(ce){return ce.w===re});Le.length>0&&Le.forEach(function(ce){var ye=ce.points[0],Oe=(ye.x-J)/L.width+.5,Ce=(ye.y-q)/L.height+.5;Ie.push([Oe,Ce]),ce.baseEdgeList.forEach(function(oe){var he=x.find(function(ie){return ie.source===oe.v&&ie.target===oe.w});he&&(he.sourceAnchor=Ie.length-1)})}),De.length>0&&De.forEach(function(ce){var ye=ce.points[ce.points.length-1],Oe=(ye.x-J)/L.width+.5,Ce=(ye.y-q)/L.height+.5;Ie.push([Oe,Ce]),ce.baseEdgeList.forEach(function(oe){var he=x.find(function(ie){return ie.source===oe.v&&ie.target===oe.w});he&&(he.targetAnchor=Ie.length-1)})}),m[ee].anchorPoints=Ie.length>0?Ie:m[ee].anchorPoints||[]}})},f.prototype.updateEdgePosition=function(h,l){var s=this,m=s.combos,x=s.edges,M=s.controlPoints,E=this.getBegin(h,l);M&&(m.forEach(function(j){j.inEdges=[],j.outEdges=[]}),x.forEach(function(j){var L,A,J,q,re=h.find(function(ye){return ye.id===j.source}),me=h.find(function(ye){return ye.id===j.target}),Te=[],ee=[];if(re&&me)ee=(0,b.getEdges)(re==null?void 0:re.id,me==null?void 0:me.id,h);else if(!re||!me){var xe=s.getNodePath(j.source),Ie=s.getNodePath(j.target),Le=xe.reverse().slice(re?0:1).find(function(ye){return h.find(function(Oe){return Oe.id===ye})}),De=Ie.reverse().slice(me?0:1).find(function(ye){return h.find(function(Oe){return Oe.id===ye})});re=h.find(function(ye){return ye.id===Le}),me=h.find(function(ye){return ye.id===De}),ee=(0,b.getEdges)(re==null?void 0:re.id,me==null?void 0:me.id,h,{v:j.source,w:j.target})}if(Te=(Te=ee.reduce(function(ye,Oe){return w(w([],ye,!0),Oe.points.map(function(Ce){return C(C({},Ce),{x:Ce.x+E[0],y:Ce.y+E[1]})}),!0)},[])).slice(1,-1),j.controlPoints=Te,(me==null?void 0:me.type)===b.NodeType.META){var ce=m.findIndex(function(ye){return ye.id===(me==null?void 0:me.id)});if(!m[ce]||!((L=m[ce].inEdges)===null||L===void 0)&&L.some(function(ye){return ye.source===re.id&&ye.target===me.id}))return;(A=m[ce].inEdges)===null||A===void 0||A.push({source:re.id,target:me.id,controlPoints:Te})}if((re==null?void 0:re.type)===b.NodeType.META){if(ce=m.findIndex(function(ye){return ye.id===(re==null?void 0:re.id)}),!m[ce]||!((J=m[ce].outEdges)===null||J===void 0)&&J.some(function(ye){return ye.source===re.id&&ye.target===me.id}))return;(q=m[ce].outEdges)===null||q===void 0||q.push({source:re.id,target:me.id,controlPoints:Te})}}))},f.prototype.getType=function(){return\"dagreCompound\"},f.prototype.getDataByOrder=function(h){return h.every(function(l){return l.layoutOrder!==void 0})||h.forEach(function(l,s){l.layoutOrder=s}),h.sort(function(l,s){return l.layoutOrder-s.layoutOrder})},f}(O.Base);c.DagreCompoundLayout=u},function(Ee,c){function r(N){return(r=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(C){return typeof C}:function(C){return C&&typeof Symbol==\"function\"&&C.constructor===Symbol&&C!==Symbol.prototype?\"symbol\":typeof C})(N)}var y;y=function(){return this}();try{y=y||new Function(\"return this\")()}catch(N){(typeof window==\"undefined\"?\"undefined\":r(window))===\"object\"&&(y=window)}Ee.exports=y},function(Ee,c,r){\"use strict\";var y=this&&this.__createBinding||(Object.create?function(C,w,O,b){b===void 0&&(b=O);var p=Object.getOwnPropertyDescriptor(w,O);p&&!(\"get\"in p?!w.__esModule:p.writable||p.configurable)||(p={enumerable:!0,get:function(){return w[O]}}),Object.defineProperty(C,b,p)}:function(C,w,O,b){b===void 0&&(b=O),C[b]=w[O]}),N=this&&this.__exportStar||function(C,w){for(var O in C)O===\"default\"||Object.prototype.hasOwnProperty.call(w,O)||y(w,C,O)};Object.defineProperty(c,\"__esModule\",{value:!0}),N(r(181),c)},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(O,b){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,u){p.__proto__=u}||function(p,u){for(var a in u)Object.prototype.hasOwnProperty.call(u,a)&&(p[a]=u[a])})(O,b)},function(O,b){if(typeof b!=\"function\"&&b!==null)throw new TypeError(\"Class extends value \"+String(b)+\" is not a constructor or null\");function p(){this.constructor=O}y(O,b),O.prototype=b===null?Object.create(b):(p.prototype=b.prototype,new p)});Object.defineProperty(c,\"__esModule\",{value:!0}),c.ConcentricLayout=void 0;var C=r(15),w=function(O){function b(p){var u=O.call(this)||this;return u.nodeSize=30,u.minNodeSpacing=10,u.nodeSpacing=10,u.preventOverlap=!1,u.equidistant=!1,u.startAngle=1.5*Math.PI,u.clockwise=!0,u.sortBy=\"degree\",u.nodes=[],u.edges=[],u.width=300,u.height=300,u.onLayoutEnd=function(){},u.updateCfg(p),u}return N(b,O),b.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\"}},b.prototype.execute=function(){var p,u,a=this,f=a.nodes,h=a.edges,l=f.length;if(l!==0){a.width||typeof window==\"undefined\"||(a.width=window.innerWidth),a.height||typeof window==\"undefined\"||(a.height=window.innerHeight),a.center||(a.center=[a.width/2,a.height/2]);var s=a.center;if(l===1)return f[0].x=s[0],f[0].y=s[1],void((u=a.onLayoutEnd)===null||u===void 0||u.call(a));var m,x=a.nodeSize,M=a.nodeSpacing,E=[],j=0;m=(0,C.isArray)(x)?Math.max(x[0],x[1]):x,(0,C.isArray)(M)?j=Math.max(M[0],M[1]):(0,C.isNumber)(M)&&(j=M),f.forEach(function(ye){E.push(ye);var Oe=m;(0,C.isArray)(ye.size)?Oe=Math.max(ye.size[0],ye.size[1]):(0,C.isNumber)(ye.size)?Oe=ye.size:(0,C.isObject)(ye.size)&&(Oe=Math.max(ye.size.width,ye.size.height)),m=Math.max(m,Oe),(0,C.isFunction)(M)&&(j=Math.max(M(ye),j))}),a.clockwise=a.counterclockwise!==void 0?!a.counterclockwise:a.clockwise;var L={},A={};if(E.forEach(function(ye,Oe){L[ye.id]=ye,A[ye.id]=Oe}),!(a.sortBy!==\"degree\"&&(0,C.isString)(a.sortBy)&&E[0][a.sortBy]!==void 0||(a.sortBy=\"degree\",(0,C.isNumber)(f[0].degree)))){var J=(0,C.getDegree)(f.length,A,h);E.forEach(function(ye,Oe){ye.degree=J[Oe].all})}E.sort(function(ye,Oe){return Oe[a.sortBy]-ye[a.sortBy]}),a.maxValueNode=E[0],a.maxLevelDiff=a.maxLevelDiff||a.maxValueNode[a.sortBy]/4;var q=[[]],re=q[0];E.forEach(function(ye){if(re.length>0){var Oe=Math.abs(re[0][a.sortBy]-ye[a.sortBy]);a.maxLevelDiff&&Oe>=a.maxLevelDiff&&(re=[],q.push(re))}re.push(ye)});var me=m+(j||a.minNodeSpacing);if(!a.preventOverlap){var Te=q.length>0&&q[0].length>1,ee=(Math.min(a.width,a.height)/2-me)/(q.length+(Te?1:0));me=Math.min(me,ee)}var xe=0;if(q.forEach(function(ye){var Oe=a.sweep;Oe===void 0&&(Oe=2*Math.PI-2*Math.PI/ye.length);var Ce=ye.dTheta=Oe/Math.max(1,ye.length-1);if(ye.length>1&&a.preventOverlap){var oe=Math.cos(Ce)-Math.cos(0),he=Math.sin(Ce)-Math.sin(0),ie=Math.sqrt(me*me/(oe*oe+he*he));xe=Math.max(ie,xe)}ye.r=xe,xe+=me}),a.equidistant){for(var Ie=0,Le=0,De=0;De<q.length;De++){var ce=q[De].r-Le;Ie=Math.max(Ie,ce)}Le=0,q.forEach(function(ye,Oe){Oe===0&&(Le=ye.r),ye.r=Le,Le+=Ie})}return q.forEach(function(ye){var Oe=ye.dTheta,Ce=ye.r;ye.forEach(function(oe,he){var ie=a.startAngle+(a.clockwise?1:-1)*Oe*he;oe.x=s[0]+Ce*Math.cos(ie),oe.y=s[1]+Ce*Math.sin(ie)})}),a.onLayoutEnd&&a.onLayoutEnd(),{nodes:f,edges:h}}(p=a.onLayoutEnd)===null||p===void 0||p.call(a)},b.prototype.getType=function(){return\"concentric\"},b}(r(18).Base);c.ConcentricLayout=w},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(b,p){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,a){u.__proto__=a}||function(u,a){for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&(u[f]=a[f])})(b,p)},function(b,p){if(typeof p!=\"function\"&&p!==null)throw new TypeError(\"Class extends value \"+String(p)+\" is not a constructor or null\");function u(){this.constructor=b}y(b,p),b.prototype=p===null?Object.create(p):(u.prototype=p.prototype,new u)});Object.defineProperty(c,\"__esModule\",{value:!0}),c.MDSLayout=void 0;var C=r(108),w=r(15),O=function(b){function p(u){var a=b.call(this)||this;return a.center=[0,0],a.linkDistance=50,a.nodes=[],a.edges=[],a.onLayoutEnd=function(){},a.updateCfg(u),a}return N(p,b),p.prototype.getDefaultCfg=function(){return{center:[0,0],linkDistance:50}},p.prototype.execute=function(){var u=this.nodes,a=this.edges,f=a===void 0?[]:a,h=this.center;if(u&&u.length!==0){if(u.length===1)return u[0].x=h[0],u[0].y=h[1],void(this.onLayoutEnd&&this.onLayoutEnd());var l=this.linkDistance,s=(0,w.getAdjMatrix)({nodes:u,edges:f},!1),m=(0,w.floydWarshall)(s);this.handleInfinity(m);var x=(0,w.scaleMatrix)(m,l);this.scaledDistances=x;var M=this.runMDS();return this.positions=M,M.forEach(function(E,j){u[j].x=E[0]+h[0],u[j].y=E[1]+h[1]}),this.onLayoutEnd&&this.onLayoutEnd(),{nodes:u,edges:f}}this.onLayoutEnd&&this.onLayoutEnd()},p.prototype.runMDS=function(){var u=this.scaledDistances,a=C.Matrix.mul(C.Matrix.pow(u,2),-.5),f=a.mean(\"row\"),h=a.mean(\"column\"),l=a.mean();a.add(l).subRowVector(f).subColumnVector(h);var s=new C.SingularValueDecomposition(a),m=C.Matrix.sqrt(s.diagonalMatrix).diagonal();return s.leftSingularVectors.toJSON().map(function(x){return C.Matrix.mul([x],[m]).toJSON()[0].splice(0,2)})},p.prototype.handleInfinity=function(u){var a=-999999;u.forEach(function(f){f.forEach(function(h){h!==1/0&&a<h&&(a=h)})}),u.forEach(function(f,h){f.forEach(function(l,s){l===1/0&&(u[h][s]=a)})})},p.prototype.getType=function(){return\"mds\"},p}(r(18).Base);c.MDSLayout=O},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(b,p){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,a){u.__proto__=a}||function(u,a){for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&(u[f]=a[f])})(b,p)},function(b,p){if(typeof p!=\"function\"&&p!==null)throw new TypeError(\"Class extends value \"+String(p)+\" is not a constructor or null\");function u(){this.constructor=b}y(b,p),b.prototype=p===null?Object.create(p):(u.prototype=p.prototype,new u)});Object.defineProperty(c,\"__esModule\",{value:!0}),c.FruchtermanLayout=void 0;var C=r(18),w=r(15),O=function(b){function p(u){var a=b.call(this)||this;return a.maxIteration=1e3,a.workerEnabled=!1,a.gravity=10,a.speed=5,a.clustering=!1,a.clusterGravity=10,a.nodes=[],a.edges=[],a.width=300,a.height=300,a.nodeMap={},a.nodeIdxMap={},a.onLayoutEnd=function(){},a.tick=function(){},a.animate=!0,a.updateCfg(u),a}return N(p,b),p.prototype.getDefaultCfg=function(){return{maxIteration:1e3,gravity:10,speed:1,clustering:!1,clusterGravity:10,animate:!0}},p.prototype.execute=function(){var u,a,f=this,h=this.nodes;if(this.timeInterval!==void 0&&typeof window!=\"undefined\"&&window.clearInterval(this.timeInterval),h&&h.length!==0){this.width||typeof window==\"undefined\"||(this.width=window.innerWidth),this.height||typeof window==\"undefined\"||(this.height=window.innerHeight),this.center||(this.center=[this.width/2,this.height/2]);var l=this.center;if(h.length===1)return h[0].x=l[0],h[0].y=l[1],void((a=this.onLayoutEnd)===null||a===void 0||a.call(this));var s={},m={};return h.forEach(function(x,M){(0,w.isNumber)(x.x)||(x.x=Math.random()*f.width),(0,w.isNumber)(x.y)||(x.y=Math.random()*f.height),s[x.id]=x,m[x.id]=M}),this.nodeMap=s,this.nodeIdxMap=m,this.run()}(u=this.onLayoutEnd)===null||u===void 0||u.call(this)},p.prototype.run=function(){var u,a=this,f=a.nodes;if(f){var h=a.edges,l=a.maxIteration,s=a.workerEnabled,m=a.clustering,x=a.animate,M={};if(m&&f.forEach(function(L){M[L.cluster]===void 0&&(M[L.cluster]={name:L.cluster,cx:0,cy:0,count:0})}),s||!x){for(var E=0;E<l;E++)a.runOneStep(M);(u=a.onLayoutEnd)===null||u===void 0||u.call(a)}else{if(typeof window==\"undefined\")return;var j=0;this.timeInterval=window.setInterval(function(){var L;a.runOneStep(M),++j>=l&&((L=a.onLayoutEnd)===null||L===void 0||L.call(a),window.clearInterval(a.timeInterval))},0)}return{nodes:f,edges:h}}},p.prototype.runOneStep=function(u){var a,f=this.nodes;if(f){var h=this.edges,l=this.center,s=this.gravity,m=this.speed,x=this.clustering,M=this.height*this.width,E=Math.sqrt(M)/10,j=M/(f.length+1),L=Math.sqrt(j),A=[];if(f.forEach(function(re,me){A[me]={x:0,y:0}}),this.applyCalculate(f,h,A,L,j),x){for(var J in u)u[J].cx=0,u[J].cy=0,u[J].count=0;for(var J in f.forEach(function(me){var Te=u[me.cluster];(0,w.isNumber)(me.x)&&(Te.cx+=me.x),(0,w.isNumber)(me.y)&&(Te.cy+=me.y),Te.count++}),u)u[J].cx/=u[J].count,u[J].cy/=u[J].count;var q=this.clusterGravity||s;f.forEach(function(re,me){if((0,w.isNumber)(re.x)&&(0,w.isNumber)(re.y)){var Te=u[re.cluster],ee=Math.sqrt((re.x-Te.cx)*(re.x-Te.cx)+(re.y-Te.cy)*(re.y-Te.cy)),xe=L*q;A[me].x-=xe*(re.x-Te.cx)/ee,A[me].y-=xe*(re.y-Te.cy)/ee}})}f.forEach(function(re,me){if((0,w.isNumber)(re.x)&&(0,w.isNumber)(re.y)){var Te=.01*L*s;A[me].x-=Te*(re.x-l[0]),A[me].y-=Te*(re.y-l[1])}}),f.forEach(function(re,me){if((0,w.isNumber)(re.fx)&&(0,w.isNumber)(re.fy))return re.x=re.fx,void(re.y=re.fy);if((0,w.isNumber)(re.x)&&(0,w.isNumber)(re.y)){var Te=Math.sqrt(A[me].x*A[me].x+A[me].y*A[me].y);if(Te>0){var ee=Math.min(E*(m/800),Te);re.x+=A[me].x/Te*ee,re.y+=A[me].y/Te*ee}}}),(a=this.tick)===null||a===void 0||a.call(this)}},p.prototype.applyCalculate=function(u,a,f,h,l){this.calRepulsive(u,f,l),a&&this.calAttractive(a,f,h)},p.prototype.calRepulsive=function(u,a,f){u.forEach(function(h,l){a[l]={x:0,y:0},u.forEach(function(s,m){if(l!==m&&(0,w.isNumber)(h.x)&&(0,w.isNumber)(s.x)&&(0,w.isNumber)(h.y)&&(0,w.isNumber)(s.y)){var x=h.x-s.x,M=h.y-s.y,E=x*x+M*M;if(E===0){E=1;var j=l>m?1:-1;x=.01*j,M=.01*j}var L=f/E;a[l].x+=x*L,a[l].y+=M*L}})})},p.prototype.calAttractive=function(u,a,f){var h=this;u.forEach(function(l){var s=(0,w.getEdgeTerminal)(l,\"source\"),m=(0,w.getEdgeTerminal)(l,\"target\");if(s&&m){var x=h.nodeIdxMap[s],M=h.nodeIdxMap[m];if(x!==M){var E=h.nodeMap[s],j=h.nodeMap[m];if((0,w.isNumber)(j.x)&&(0,w.isNumber)(E.x)&&(0,w.isNumber)(j.y)&&(0,w.isNumber)(E.y)){var L=j.x-E.x,A=j.y-E.y,J=Math.sqrt(L*L+A*A),q=J*J/f;a[M].x-=L/J*q,a[M].y-=A/J*q,a[x].x+=L/J*q,a[x].y+=A/J*q}}}})},p.prototype.stop=function(){this.timeInterval&&typeof window!=\"undefined\"&&window.clearInterval(this.timeInterval)},p.prototype.destroy=function(){this.stop(),this.tick=null,this.nodes=null,this.edges=null,this.destroyed=!0},p.prototype.getType=function(){return\"fruchterman\"},p}(C.Base);c.FruchtermanLayout=O},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(l,s){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,x){m.__proto__=x}||function(m,x){for(var M in x)Object.prototype.hasOwnProperty.call(x,M)&&(m[M]=x[M])})(l,s)},function(l,s){if(typeof s!=\"function\"&&s!==null)throw new TypeError(\"Class extends value \"+String(s)+\" is not a constructor or null\");function m(){this.constructor=l}y(l,s),l.prototype=s===null?Object.create(s):(m.prototype=s.prototype,new m)}),C=this&&this.__awaiter||function(l,s,m,x){return new(m||(m=Promise))(function(M,E){function j(J){try{A(x.next(J))}catch(q){E(q)}}function L(J){try{A(x.throw(J))}catch(q){E(q)}}function A(J){var q;J.done?M(J.value):(q=J.value,q instanceof m?q:new m(function(re){re(q)})).then(j,L)}A((x=x.apply(l,s||[])).next())})},w=this&&this.__generator||function(l,s){var m,x,M,E,j={label:0,sent:function(){if(1&M[0])throw M[1];return M[1]},trys:[],ops:[]};return E={next:L(0),throw:L(1),return:L(2)},typeof Symbol==\"function\"&&(E[Symbol.iterator]=function(){return this}),E;function L(A){return function(J){return function(q){if(m)throw new TypeError(\"Generator is already executing.\");for(;E&&(E=0,q[0]&&(j=0)),j;)try{if(m=1,x&&(M=2&q[0]?x.return:q[0]?x.throw||((M=x.return)&&M.call(x),0):x.next)&&!(M=M.call(x,q[1])).done)return M;switch(x=0,M&&(q=[2&q[0],M.value]),q[0]){case 0:case 1:M=q;break;case 4:return j.label++,{value:q[1],done:!1};case 5:j.label++,x=q[1],q=[0];continue;case 7:q=j.ops.pop(),j.trys.pop();continue;default:if(M=j.trys,!((M=M.length>0&&M[M.length-1])||q[0]!==6&&q[0]!==2)){j=0;continue}if(q[0]===3&&(!M||q[1]>M[0]&&q[1]<M[3])){j.label=q[1];break}if(q[0]===6&&j.label<M[1]){j.label=M[1],M=q;break}if(M&&j.label<M[2]){j.label=M[2],j.ops.push(q);break}M[2]&&j.ops.pop(),j.trys.pop();continue}q=s.call(l,j)}catch(re){q=[6,re],x=0}finally{m=M=0}if(5&q[0])throw q[1];return{value:q[0]?q[1]:void 0,done:!0}}([A,J])}}};Object.defineProperty(c,\"__esModule\",{value:!0}),c.FruchtermanGPULayout=void 0;var O=r(18),b=r(15),p=r(109),u=r(102),a=r(199),f=r(46),h=function(l){function s(m){var x=l.call(this)||this;return x.maxIteration=1e3,x.gravity=10,x.speed=1,x.clustering=!1,x.clusterField=\"cluster\",x.clusterGravity=10,x.workerEnabled=!1,x.nodes=[],x.edges=[],x.width=300,x.height=300,x.nodeMap={},x.nodeIdxMap={},x.updateCfg(m),x}return N(s,l),s.prototype.getDefaultCfg=function(){return{maxIteration:1e3,gravity:10,speed:1,clustering:!1,clusterGravity:10}},s.prototype.execute=function(){return C(this,void 0,void 0,function(){var m,x,M,E,j,L=this;return w(this,function(A){switch(A.label){case 0:return(x=(m=this).nodes)&&x.length!==0?(m.width||typeof window==\"undefined\"||(m.width=window.innerWidth),m.height||typeof window==\"undefined\"||(m.height=window.innerHeight),m.center||(m.center=[m.width/2,m.height/2]),M=m.center,x.length===1?(x[0].x=M[0],x[0].y=M[1],m.onLayoutEnd&&m.onLayoutEnd(),[2]):(E={},j={},x.forEach(function(J,q){(0,b.isNumber)(J.x)||(J.x=Math.random()*L.width),(0,b.isNumber)(J.y)||(J.y=Math.random()*L.height),E[J.id]=J,j[J.id]=q}),m.nodeMap=E,m.nodeIdxMap=j,[4,m.run()])):(m.onLayoutEnd&&m.onLayoutEnd(),[2]);case 1:return A.sent(),[2]}})})},s.prototype.executeWithWorker=function(m,x){return C(this,void 0,void 0,function(){var M,E,j,L,A,J=this;return w(this,function(q){switch(q.label){case 0:return E=(M=this).nodes,j=M.center,E&&E.length!==0?E.length===1?(E[0].x=j[0],E[0].y=j[1],[2]):(L={},A={},E.forEach(function(re,me){(0,b.isNumber)(re.x)||(re.x=Math.random()*J.width),(0,b.isNumber)(re.y)||(re.y=Math.random()*J.height),L[re.id]=re,A[re.id]=me}),M.nodeMap=L,M.nodeIdxMap=A,[4,M.run(m,x)]):[2];case 1:return q.sent(),[2]}})})},s.prototype.run=function(m,x){return C(this,void 0,void 0,function(){var M,E,j,L,A,J,q,re,me,Te,ee,xe,Ie,Le,De,ce,ye,Oe,Ce,oe,he,ie,ae,ve,X,se=this;return w(this,function(fe){switch(fe.label){case 0:for(E=(M=this).nodes,j=M.edges,L=M.maxIteration,A=M.center,J=M.height*M.width,q=Math.sqrt(J)/10,re=J/(E.length+1),me=Math.sqrt(re),Te=M.speed,ee=M.clustering,xe=(0,u.attributesToTextureData)([M.clusterField],E),Ie=xe.array,Le=xe.count,E.forEach(function(_e,be){var We=0,we=0;(0,b.isNumber)(_e.fx)&&(0,b.isNumber)(_e.fy)&&(We=_e.fx||.001,we=_e.fy||.001),Ie[4*be+1]=We,Ie[4*be+2]=we}),De=E.length,ce=(0,u.buildTextureData)(E,j),ye=ce.maxEdgePerVetex,Oe=ce.array,Ce=M.workerEnabled,oe=Ce?p.World.create({canvas:m,engineOptions:{supportCompute:!0}}):p.World.create({engineOptions:{supportCompute:!0}}),he=M.onLayoutEnd,ie=[],ae=0;ae<Le;ae++)ie.push(0,0,0,0);return ve=oe.createKernel(a.fruchtermanBundle).setDispatch([De,1,1]).setBinding({u_Data:Oe,u_K:me,u_K2:re,u_Gravity:M.gravity,u_ClusterGravity:M.clusterGravity||M.gravity||1,u_Speed:Te,u_MaxDisplace:q,u_Clustering:ee?1:0,u_Center:A,u_AttributeArray:Ie,u_ClusterCenters:ie,MAX_EDGE_PER_VERTEX:ye,VERTEX_COUNT:De}),ee&&(X=oe.createKernel(a.clusterBundle).setDispatch([Le,1,1]).setBinding({u_Data:Oe,u_NodeAttributes:Ie,u_ClusterCenters:ie,VERTEX_COUNT:De,CLUSTER_COUNT:Le})),[4,function(){return C(se,void 0,void 0,function(){var _e,be;return w(this,function(We){switch(We.label){case 0:_e=0,We.label=1;case 1:return _e<L?[4,ve.execute()]:[3,6];case 2:return We.sent(),ee?(X.setBinding({u_Data:ve}),[4,X.execute()]):[3,4];case 3:We.sent(),ve.setBinding({u_ClusterCenters:X}),We.label=4;case 4:ve.setBinding({u_MaxDisplace:q*=.99}),We.label=5;case 5:return _e++,[3,1];case 6:return[4,ve.getOutput()];case 7:return be=We.sent(),m?x.postMessage({type:f.LAYOUT_MESSAGE.GPUEND,vertexEdgeData:be}):E.forEach(function(we,Ze){var Ve=be[4*Ze],et=be[4*Ze+1];we.x=Ve,we.y=et}),he&&he(),[2]}})})}()];case 1:return fe.sent(),[2]}})})},s.prototype.getType=function(){return\"fruchterman-gpu\"},s}(O.Base);c.FruchtermanGPULayout=h},function(Ee,c,r){var y=r(42).default,N=r(184);Ee.exports=function(C){var w=N(C,\"string\");return y(w)===\"symbol\"?w:String(w)},Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports},function(Ee,c,r){var y=r(186).Symbol;Ee.exports=y},function(Ee,c,r){(function(y){function N(w){return(N=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(O){return typeof O}:function(O){return O&&typeof Symbol==\"function\"&&O.constructor===Symbol&&O!==Symbol.prototype?\"symbol\":typeof O})(w)}var C=(y===void 0?\"undefined\":N(y))==\"object\"&&y&&y.Object===Object&&y;Ee.exports=C}).call(this,r(91))},function(Ee,c){Ee.exports=function(r){return r.webpackPolyfill||(r.deprecate=function(){},r.paths=[],r.children||(r.children=[]),Object.defineProperty(r,\"loaded\",{enumerable:!0,get:function(){return r.l}}),Object.defineProperty(r,\"id\",{enumerable:!0,get:function(){return r.i}}),r.webpackPolyfill=1),r}},function(Ee,c){Ee.exports=function(r,y){(y==null||y>r.length)&&(y=r.length);for(var N=0,C=new Array(y);N<y;N++)C[N]=r[N];return C},Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.arrayToTextureData=c.attributesToTextureData=c.buildTextureDataWithTwoEdgeAttr=c.buildTextureData=c.proccessToFunc=void 0;var y=r(15),N=r(60);c.proccessToFunc=function(C,w){return C?(0,y.isNumber)(C)?function(){return C}:C:function(){return w||1}},c.buildTextureData=function(C,w){var O=[],b=[],p={},u=0;for(u=0;u<C.length;u++){var a=C[u];p[a.id]=u,O.push(a.x),O.push(a.y),O.push(0),O.push(0),b.push([])}for(u=0;u<w.length;u++){var f=w[u],h=(0,N.getEdgeTerminal)(f,\"source\"),l=(0,N.getEdgeTerminal)(f,\"target\");isNaN(p[h])||isNaN(p[l])||(b[p[h]].push(p[l]),b[p[l]].push(p[h]))}var s=0;for(u=0;u<C.length;u++){var m=O.length,x=b[u],M=x.length;O[4*u+2]=m,O[4*u+3]=M,s=Math.max(s,M);for(var E=0;E<M;++E){var j=x[E];O.push(+j)}}for(;O.length%4!=0;)O.push(0);return{maxEdgePerVetex:s,array:new Float32Array(O)}},c.buildTextureDataWithTwoEdgeAttr=function(C,w,O,b){var p=[],u=[],a={},f=0;for(f=0;f<C.length;f++){var h=C[f];a[h.id]=f,p.push(h.x),p.push(h.y),p.push(0),p.push(0),u.push([])}for(f=0;f<w.length;f++){var l=w[f],s=(0,N.getEdgeTerminal)(l,\"source\"),m=(0,N.getEdgeTerminal)(l,\"target\");u[a[s]].push(a[m]),u[a[s]].push(O(l)),u[a[s]].push(b(l)),u[a[s]].push(0),u[a[m]].push(a[s]),u[a[m]].push(O(l)),u[a[m]].push(b(l)),u[a[m]].push(0)}var x=0;for(f=0;f<C.length;f++){var M=p.length,E=u[f],j=E.length;p[4*f+2]=M+1048576*j/4,p[4*f+3]=0,x=Math.max(x,j/4);for(var L=0;L<j;++L){var A=E[L];p.push(+A)}}for(;p.length%4!=0;)p.push(0);return{maxEdgePerVetex:x,array:new Float32Array(p)}},c.attributesToTextureData=function(C,w){var O=[],b=C.length,p={};return w.forEach(function(u){C.forEach(function(a,f){if(p[u[a]]===void 0&&(p[u[a]]=Object.keys(p).length),O.push(p[u[a]]),f===b-1)for(;O.length%4!=0;)O.push(0)})}),{array:new Float32Array(O),count:Object.keys(p).length}},c.arrayToTextureData=function(C){for(var w=[],O=C.length,b=C[0].length,p=function(a){C.forEach(function(f,h){if(w.push(f[a]),h===O-1)for(;w.length%4!=0;)w.push(0)})},u=0;u<b;u++)p(u);return new Float32Array(w)}},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(s,m){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,M){x.__proto__=M}||function(x,M){for(var E in M)Object.prototype.hasOwnProperty.call(M,E)&&(x[E]=M[E])})(s,m)},function(s,m){if(typeof m!=\"function\"&&m!==null)throw new TypeError(\"Class extends value \"+String(m)+\" is not a constructor or null\");function x(){this.constructor=s}y(s,m),s.prototype=m===null?Object.create(m):(x.prototype=m.prototype,new x)}),C=this&&this.__awaiter||function(s,m,x,M){return new(x||(x=Promise))(function(E,j){function L(q){try{J(M.next(q))}catch(re){j(re)}}function A(q){try{J(M.throw(q))}catch(re){j(re)}}function J(q){var re;q.done?E(q.value):(re=q.value,re instanceof x?re:new x(function(me){me(re)})).then(L,A)}J((M=M.apply(s,m||[])).next())})},w=this&&this.__generator||function(s,m){var x,M,E,j,L={label:0,sent:function(){if(1&E[0])throw E[1];return E[1]},trys:[],ops:[]};return j={next:A(0),throw:A(1),return:A(2)},typeof Symbol==\"function\"&&(j[Symbol.iterator]=function(){return this}),j;function A(J){return function(q){return function(re){if(x)throw new TypeError(\"Generator is already executing.\");for(;j&&(j=0,re[0]&&(L=0)),L;)try{if(x=1,M&&(E=2&re[0]?M.return:re[0]?M.throw||((E=M.return)&&E.call(M),0):M.next)&&!(E=E.call(M,re[1])).done)return E;switch(M=0,E&&(re=[2&re[0],E.value]),re[0]){case 0:case 1:E=re;break;case 4:return L.label++,{value:re[1],done:!1};case 5:L.label++,M=re[1],re=[0];continue;case 7:re=L.ops.pop(),L.trys.pop();continue;default:if(E=L.trys,!((E=E.length>0&&E[E.length-1])||re[0]!==6&&re[0]!==2)){L=0;continue}if(re[0]===3&&(!E||re[1]>E[0]&&re[1]<E[3])){L.label=re[1];break}if(re[0]===6&&L.label<E[1]){L.label=E[1],E=re;break}if(E&&L.label<E[2]){L.label=E[2],L.ops.push(re);break}E[2]&&L.ops.pop(),L.trys.pop();continue}re=m.call(s,L)}catch(me){re=[6,me],M=0}finally{x=E=0}if(5&re[0])throw re[1];return{value:re[0]?re[1]:void 0,done:!0}}([J,q])}}};Object.defineProperty(c,\"__esModule\",{value:!0}),c.GForceGPULayout=void 0;var O=r(18),b=r(15),p=r(109),u=r(102),a=r(60),f=r(200),h=r(46),l=function(s){function m(x){var M=s.call(this)||this;return M.maxIteration=1e3,M.edgeStrength=200,M.nodeStrength=1e3,M.coulombDisScale=.005,M.damping=.9,M.maxSpeed=1e3,M.minMovement=.5,M.interval=.02,M.factor=1,M.linkDistance=1,M.gravity=10,M.workerEnabled=!1,M.nodes=[],M.edges=[],M.width=300,M.height=300,M.nodeMap={},M.nodeIdxMap={},M.updateCfg(x),M}return N(m,s),m.prototype.getDefaultCfg=function(){return{maxIteration:2e3,gravity:10,clustering:!1,clusterGravity:10}},m.prototype.execute=function(){return C(this,void 0,void 0,function(){var x,M,E,j,L;return w(this,function(A){switch(A.label){case 0:return(M=(x=this).nodes)&&M.length!==0?(x.width||typeof window==\"undefined\"||(x.width=window.innerWidth),x.height||typeof window==\"undefined\"||(x.height=window.innerHeight),x.center||(x.center=[x.width/2,x.height/2]),E=x.center,M.length===1?(M[0].x=E[0],M[0].y=E[1],x.onLayoutEnd&&x.onLayoutEnd(),[2]):(j={},L={},M.forEach(function(J,q){(0,b.isNumber)(J.x)||(J.x=Math.random()*x.width),(0,b.isNumber)(J.y)||(J.y=Math.random()*x.height),j[J.id]=J,L[J.id]=q}),x.nodeMap=j,x.nodeIdxMap=L,x.nodeStrength=(0,u.proccessToFunc)(x.nodeStrength,1),x.edgeStrength=(0,u.proccessToFunc)(x.edgeStrength,1),[4,x.run()])):(x.onLayoutEnd&&x.onLayoutEnd(),[2]);case 1:return A.sent(),[2]}})})},m.prototype.executeWithWorker=function(x,M){var E=this,j=E.nodes,L=E.center;if(j&&j.length!==0){if(j.length===1)return j[0].x=L[0],void(j[0].y=L[1]);var A={},J={};j.forEach(function(q,re){(0,b.isNumber)(q.x)||(q.x=Math.random()*E.width),(0,b.isNumber)(q.y)||(q.y=Math.random()*E.height),A[q.id]=q,J[q.id]=re}),E.nodeMap=A,E.nodeIdxMap=J,E.nodeStrength=(0,u.proccessToFunc)(E.nodeStrength,1),E.edgeStrength=(0,u.proccessToFunc)(E.edgeStrength,1),E.run(x,M)}},m.prototype.run=function(x,M){return C(this,void 0,void 0,function(){var E,j,L,A,J,q,re,me,Te,ee,xe,Ie,Le,De,ce,ye,Oe,Ce,oe,he,ie,ae,ve,X,se,fe,_e=this;return w(this,function(be){switch(be.label){case 0:for(j=(E=this).nodes,L=E.edges,A=E.maxIteration,E.width||typeof window==\"undefined\"||(E.width=window.innerWidth),E.height||typeof window==\"undefined\"||(E.height=window.innerHeight),J=j.length,E.linkDistance=(0,u.proccessToFunc)(E.linkDistance),E.edgeStrength=(0,u.proccessToFunc)(E.edgeStrength),q=(0,u.buildTextureDataWithTwoEdgeAttr)(j,L,E.linkDistance,E.edgeStrength),re=q.maxEdgePerVetex,me=q.array,E.degrees=(0,a.getDegree)(j.length,E.nodeIdxMap,L).map(function(We){return We.all}),Te=[],ee=[],xe=[],Ie=[],Le=[],De=[],ce=[],E.getMass||(E.getMass=function(We){return E.degrees[E.nodeIdxMap[We.id]]||1}),ye=E.gravity,Oe=E.center,j.forEach(function(We,we){Te.push(E.getMass(We)),ee.push(E.nodeStrength(We)),E.degrees[we]||(E.degrees[we]=0);var Ze=[Oe[0],Oe[1],ye];if(E.getCenter){var Ve=E.getCenter(We,E.degrees[we]);Ve&&(0,b.isNumber)(Ve[0])&&(0,b.isNumber)(Ve[1])&&(0,b.isNumber)(Ve[2])&&(Ze=Ve)}xe.push(Ze[0]),Ie.push(Ze[1]),Le.push(Ze[2]),(0,b.isNumber)(We.fx)&&(0,b.isNumber)(We.fy)?(De.push(We.fx||.001),ce.push(We.fy||.001)):(De.push(0),ce.push(0))}),Ce=(0,u.arrayToTextureData)([Te,E.degrees,ee,De]),oe=(0,u.arrayToTextureData)([xe,Ie,Le,ce]),he=E.workerEnabled,ie=he?p.World.create({canvas:x,engineOptions:{supportCompute:!0}}):p.World.create({engineOptions:{supportCompute:!0}}),ae=E.onLayoutEnd,ve=[],me.forEach(function(We){ve.push(We)}),X=0;X<4;X++)ve.push(0);return se=ie.createKernel(f.gForceBundle).setDispatch([J,1,1]).setBinding({u_Data:me,u_damping:E.damping,u_maxSpeed:E.maxSpeed,u_minMovement:E.minMovement,u_coulombDisScale:E.coulombDisScale,u_factor:E.factor,u_NodeAttributeArray1:Ce,u_NodeAttributeArray2:oe,MAX_EDGE_PER_VERTEX:re,VERTEX_COUNT:J,u_AveMovement:ve,u_interval:E.interval}),fe=ie.createKernel(f.aveMovementBundle).setDispatch([1,1,1]).setBinding({u_Data:me,VERTEX_COUNT:J,u_AveMovement:[0,0,0,0]}),[4,function(){return C(_e,void 0,void 0,function(){var We,we,Ze;return w(this,function(Ve){switch(Ve.label){case 0:We=0,Ve.label=1;case 1:return We<A?[4,se.execute()]:[3,5];case 2:return Ve.sent(),fe.setBinding({u_Data:se}),[4,fe.execute()];case 3:Ve.sent(),we=Math.max(.02,E.interval-.002*We),se.setBinding({u_interval:we,u_AveMovement:fe}),Ve.label=4;case 4:return We++,[3,1];case 5:return[4,se.getOutput()];case 6:return Ze=Ve.sent(),x?M.postMessage({type:h.LAYOUT_MESSAGE.GPUEND,vertexEdgeData:Ze}):j.forEach(function(et,ht){var Fe=Ze[4*ht],mt=Ze[4*ht+1];et.x=Fe,et.y=mt}),ae&&ae(),[2]}})})}()];case 1:return be.sent(),[2]}})})},m.prototype.getType=function(){return\"gForce-gpu\"},m}(O.Base);c.GForceGPULayout=l},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(b,p){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,a){u.__proto__=a}||function(u,a){for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&(u[f]=a[f])})(b,p)},function(b,p){if(typeof p!=\"function\"&&p!==null)throw new TypeError(\"Class extends value \"+String(p)+\" is not a constructor or null\");function u(){this.constructor=b}y(b,p),b.prototype=p===null?Object.create(p):(u.prototype=p.prototype,new u)});Object.defineProperty(c,\"__esModule\",{value:!0}),c.ComboForceLayout=void 0;var C=r(18),w=r(15),O=function(b){function p(u){var a=b.call(this)||this;return a.center=[0,0],a.maxIteration=100,a.gravity=10,a.comboGravity=10,a.linkDistance=10,a.alpha=1,a.alphaMin=.001,a.alphaDecay=1-Math.pow(a.alphaMin,1/300),a.alphaTarget=0,a.velocityDecay=.6,a.edgeStrength=.6,a.nodeStrength=30,a.preventOverlap=!1,a.preventNodeOverlap=!1,a.preventComboOverlap=!1,a.collideStrength=void 0,a.nodeCollideStrength=.5,a.comboCollideStrength=.5,a.comboSpacing=20,a.comboPadding=10,a.optimizeRangeFactor=1,a.onTick=function(){},a.onLayoutEnd=function(){},a.depthAttractiveForceScale=1,a.depthRepulsiveForceScale=2,a.nodes=[],a.edges=[],a.combos=[],a.comboTrees=[],a.width=300,a.height=300,a.bias=[],a.nodeMap={},a.oriComboMap={},a.indexMap={},a.comboMap={},a.previousLayouted=!1,a.updateCfg(u),a}return N(p,b),p.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}},p.prototype.execute=function(){var u=this.nodes,a=this.center;if(this.comboTree={id:\"comboTreeRoot\",depth:-1,children:this.comboTrees},u&&u.length!==0){if(u.length===1)return u[0].x=a[0],u[0].y=a[1],void(this.onLayoutEnd&&this.onLayoutEnd());this.initVals(),this.run(),this.onLayoutEnd&&this.onLayoutEnd()}else this.onLayoutEnd&&this.onLayoutEnd()},p.prototype.run=function(){var u=this,a=u.nodes,f=u.previousLayouted?u.maxIteration/5:u.maxIteration;u.width||typeof window==\"undefined\"||(u.width=window.innerWidth),u.height||typeof window==\"undefined\"||(u.height=window.innerHeight);var h=u.center,l=u.velocityDecay,s=u.comboMap;u.previousLayouted||u.initPos(s);for(var m=function(j){var L=[];a.forEach(function(A,J){L[J]={x:0,y:0}}),u.applyCalculate(L),u.applyComboCenterForce(L),a.forEach(function(A,J){(0,w.isNumber)(A.x)&&(0,w.isNumber)(A.y)&&(A.x+=L[J].x*l,A.y+=L[J].y*l)}),u.alpha+=(u.alphaTarget-u.alpha)*u.alphaDecay,u.onTick()},x=0;x<f;x++)m();var M=[0,0];a.forEach(function(j){(0,w.isNumber)(j.x)&&(0,w.isNumber)(j.y)&&(M[0]+=j.x,M[1]+=j.y)}),M[0]/=a.length,M[1]/=a.length;var E=[h[0]-M[0],h[1]-M[1]];a.forEach(function(j,L){(0,w.isNumber)(j.x)&&(0,w.isNumber)(j.y)&&(j.x+=E[0],j.y+=E[1])}),u.combos.forEach(function(j){var L=s[j.id];L&&L.empty&&(j.x=L.cx||j.x,j.y=L.cy||j.y)}),u.previousLayouted=!0},p.prototype.initVals=function(){var u=this.edges,a=this.nodes,f=this.combos,h={},l={},s={};a.forEach(function(ie,ae){l[ie.id]=ie,s[ie.id]=ae}),this.nodeMap=l,this.indexMap=s;var m={};f.forEach(function(ie){m[ie.id]=ie}),this.oriComboMap=m,this.comboMap=this.getComboMap();var x=this.preventOverlap;this.preventComboOverlap=this.preventComboOverlap||x,this.preventNodeOverlap=this.preventNodeOverlap||x;var M=this.collideStrength;M&&(this.comboCollideStrength=M,this.nodeCollideStrength=M),this.comboCollideStrength=this.comboCollideStrength?this.comboCollideStrength:0,this.nodeCollideStrength=this.nodeCollideStrength?this.nodeCollideStrength:0;for(var E=0;E<u.length;++E){var j=(0,w.getEdgeTerminal)(u[E],\"source\"),L=(0,w.getEdgeTerminal)(u[E],\"target\");h[j]?h[j]++:h[j]=1,h[L]?h[L]++:h[L]=1}var A=[];for(E=0;E<u.length;++E)j=(0,w.getEdgeTerminal)(u[E],\"source\"),L=(0,w.getEdgeTerminal)(u[E],\"target\"),A[E]=h[j]/(h[j]+h[L]);this.bias=A;var J,q,re=this.nodeSize,me=this.nodeSpacing;if(q=(0,w.isNumber)(me)?function(){return me}:(0,w.isFunction)(me)?me:function(){return 0},this.nodeSpacing=q,re)if((0,w.isFunction)(re))J=function(ie){return re(ie)};else if((0,w.isArray)(re)){var Te=(re[0]>re[1]?re[0]:re[1])/2;J=function(ie){return Te}}else{var ee=re/2;J=function(ie){return ee}}else J=function(ie){return ie.size?(0,w.isArray)(ie.size)?(ie.size[0]>ie.size[1]?ie.size[0]:ie.size[1])/2:(0,w.isObject)(ie.size)?(ie.size.width>ie.size.height?ie.size.width:ie.size.height)/2:ie.size/2:10};this.nodeSize=J;var xe,Ie=this.comboSpacing;xe=(0,w.isNumber)(Ie)?function(){return Ie}:(0,w.isFunction)(Ie)?Ie:function(){return 0},this.comboSpacing=xe;var Le,De=this.comboPadding;Le=(0,w.isNumber)(De)?function(){return De}:(0,w.isArray)(De)?function(){return Math.max.apply(null,De)}:(0,w.isFunction)(De)?De:function(){return 0},this.comboPadding=Le;var ce,ye=this.linkDistance;ye||(ye=10),ce=(0,w.isNumber)(ye)?function(ie){return ye}:ye,this.linkDistance=ce;var Oe,Ce=this.edgeStrength;Ce||(Ce=1),Oe=(0,w.isNumber)(Ce)?function(ie){return Ce}:Ce,this.edgeStrength=Oe;var oe,he=this.nodeStrength;he||(he=30),oe=(0,w.isNumber)(he)?function(ie){return he}:he,this.nodeStrength=oe},p.prototype.initPos=function(u){this.nodes.forEach(function(a,f){var h=a.comboId,l=u[h];h&&l?(a.x=l.cx+100/(f+1),a.y=l.cy+100/(f+1)):(a.x=100/(f+1),a.y=100/(f+1))})},p.prototype.getComboMap=function(){var u=this,a=u.nodeMap,f=u.comboTrees,h=u.oriComboMap,l={};return(f||[]).forEach(function(s){var m=[];(0,w.traverseTreeUp)(s,function(x){if(x.itemType===\"node\"||!h[x.id])return!0;if(l[x.id]===void 0){var M={id:x.id,name:x.id,cx:0,cy:0,count:0,depth:u.oriComboMap[x.id].depth||0,children:[]};l[x.id]=M}var E=x.children;E&&E.forEach(function(A){if(!l[A.id]&&!a[A.id])return!0;m.push(A)});var j=l[x.id];if(j.cx=0,j.cy=0,m.length===0){j.empty=!0;var L=h[x.id];j.cx=L.x,j.cy=L.y}return m.forEach(function(A){if(j.count++,A.itemType!==\"node\"){var J=l[A.id];return(0,w.isNumber)(J.cx)&&(j.cx+=J.cx),void((0,w.isNumber)(J.cy)&&(j.cy+=J.cy))}var q=a[A.id];q&&((0,w.isNumber)(q.x)&&(j.cx+=q.x),(0,w.isNumber)(q.y)&&(j.cy+=q.y))}),j.cx/=j.count||1,j.cy/=j.count||1,j.children=m,!0})}),l},p.prototype.applyComboCenterForce=function(u){var a=this.gravity,f=this.comboGravity||a,h=this.alpha,l=this.comboTrees,s=this.indexMap,m=this.nodeMap,x=this.comboMap;(l||[]).forEach(function(M){(0,w.traverseTreeUp)(M,function(E){if(E.itemType===\"node\"||!x[E.id])return!0;var j=x[E.id],L=(j.depth+1)/10*.5,A=j.cx,J=j.cy;return j.cx=0,j.cy=0,j.children.forEach(function(q){if(q.itemType!==\"node\"){var re=x[q.id];return re&&(0,w.isNumber)(re.cx)&&(j.cx+=re.cx),void(re&&(0,w.isNumber)(re.cy)&&(j.cy+=re.cy))}var me=m[q.id],Te=me.x-A||.005,ee=me.y-J||.005,xe=Math.sqrt(Te*Te+ee*ee),Ie=s[me.id],Le=f*h/xe*L;u[Ie].x-=Te*Le,u[Ie].y-=ee*Le,(0,w.isNumber)(me.x)&&(j.cx+=me.x),(0,w.isNumber)(me.y)&&(j.cy+=me.y)}),j.cx/=j.count||1,j.cy/=j.count||1,!0})})},p.prototype.applyCalculate=function(u){var a=this.comboMap,f=this.nodes,h={};f.forEach(function(l,s){f.forEach(function(m,x){if(!(s<x)){var M=l.x-m.x||.005,E=l.y-m.y||.005,j=M*M+E*E,L=Math.sqrt(j);j<1&&(j=L),h[\"\".concat(l.id,\"-\").concat(m.id)]={vx:M,vy:E,vl2:j,vl:L},h[\"\".concat(m.id,\"-\").concat(l.id)]={vl2:j,vl:L,vx:-M,vy:-E}}})}),this.updateComboSizes(a),this.calRepulsive(u,h),this.calAttractive(u,h),this.preventComboOverlap&&this.comboNonOverlapping(u,a)},p.prototype.updateComboSizes=function(u){var a=this,f=a.comboTrees,h=a.nodeMap,l=a.nodeSize,s=a.comboSpacing,m=a.comboPadding;(f||[]).forEach(function(x){var M=[];(0,w.traverseTreeUp)(x,function(E){if(E.itemType===\"node\")return!0;var j=u[E.id];if(!j)return!1;var L=E.children;L&&L.forEach(function(q){(u[q.id]||h[q.id])&&M.push(q)}),j.minX=1/0,j.minY=1/0,j.maxX=-1/0,j.maxY=-1/0,M.forEach(function(q){if(q.itemType!==\"node\")return!0;var re=h[q.id];if(!re)return!0;var me=l(re),Te=re.x-me,ee=re.y-me,xe=re.x+me,Ie=re.y+me;j.minX>Te&&(j.minX=Te),j.minY>ee&&(j.minY=ee),j.maxX<xe&&(j.maxX=xe),j.maxY<Ie&&(j.maxY=Ie)});var A=a.oriComboMap[E.id].size||10;(0,w.isArray)(A)&&(A=A[0]);var J=Math.max(j.maxX-j.minX,j.maxY-j.minY,A);return j.r=J/2+s(j)/2+m(j),!0})})},p.prototype.comboNonOverlapping=function(u,a){var f=this.comboTree,h=this.comboCollideStrength,l=this.indexMap,s=this.nodeMap;(0,w.traverseTreeUp)(f,function(m){if(!a[m.id]&&!s[m.id]&&m.id!==\"comboTreeRoot\")return!1;var x=m.children;return x&&x.length>1&&x.forEach(function(M,E){if(M.itemType===\"node\")return!1;var j=a[M.id];j&&x.forEach(function(L,A){if(E<=A||L.itemType===\"node\")return!1;var J=a[L.id];if(!J)return!1;var q=j.cx-J.cx||.005,re=j.cy-J.cy||.005,me=q*q+re*re,Te=j.r||1,ee=J.r||1,xe=Te+ee,Ie=ee*ee,Le=Te*Te;if(me<xe*xe){var De=M.children;if(!De||De.length===0)return!1;var ce=L.children;if(!ce||ce.length===0)return!1;var ye=Math.sqrt(me),Oe=(xe-ye)/ye*h,Ce=q*Oe,oe=re*Oe,he=Ie/(Le+Ie),ie=1-he;De.forEach(function(ae){if(ae.itemType!==\"node\")return!1;if(s[ae.id]){var ve=l[ae.id];ce.forEach(function(X){if(X.itemType!==\"node\"||!s[X.id])return!1;var se=l[X.id];u[ve].x+=Ce*he,u[ve].y+=oe*he,u[se].x-=Ce*ie,u[se].y-=oe*ie})}})}})}),!0})},p.prototype.calRepulsive=function(u,a){var f=this,h=f.nodes,l=f.width*f.optimizeRangeFactor,s=f.nodeStrength,m=f.alpha,x=f.nodeCollideStrength,M=f.preventNodeOverlap,E=f.nodeSize,j=f.nodeSpacing,L=f.depthRepulsiveForceScale,A=f.center;h.forEach(function(J,q){if(J.x&&J.y){if(A){var re=f.gravity,me=J.x-A[0]||.005,Te=J.y-A[1]||.005,ee=Math.sqrt(me*me+Te*Te);u[q].x-=me*re*m/ee,u[q].y-=Te*re*m/ee}h.forEach(function(xe,Ie){if(q!==Ie&&xe.x&&xe.y){var Le=a[\"\".concat(J.id,\"-\").concat(xe.id)],De=Le.vl2,ce=Le.vl;if(!(ce>l)){var ye=a[\"\".concat(J.id,\"-\").concat(xe.id)],Oe=ye.vx,Ce=ye.vy,oe=Math.log(Math.abs(xe.depth-J.depth)/10)+1||1;oe=oe<1?1:oe,xe.comboId!==J.comboId&&(oe+=1);var he=oe?Math.pow(L,oe):1,ie=s(xe)*m/De*he;if(u[q].x+=Oe*ie,u[q].y+=Ce*ie,q<Ie&&M){var ae=E(J)+j(J)||1,ve=E(xe)+j(xe)||1,X=ae+ve;if(De<X*X){var se=(X-ce)/ce*x,fe=ve*ve,_e=fe/(ae*ae+fe),be=Oe*se,We=Ce*se;u[q].x+=be*_e,u[q].y+=We*_e,_e=1-_e,u[Ie].x-=be*_e,u[Ie].y-=We*_e}}}}})}})},p.prototype.calAttractive=function(u,a){var f=this,h=f.edges,l=f.linkDistance,s=f.alpha,m=f.edgeStrength,x=f.bias,M=f.depthAttractiveForceScale;h.forEach(function(E,j){var L=(0,w.getEdgeTerminal)(E,\"source\"),A=(0,w.getEdgeTerminal)(E,\"target\");if(L&&A&&L!==A){var J=f.indexMap[L],q=f.indexMap[A],re=f.nodeMap[L],me=f.nodeMap[A];if(re&&me){var Te=re.depth===me.depth?0:Math.log(Math.abs(re.depth-me.depth)/10);re.comboId===me.comboId&&(Te/=2);var ee=Te?Math.pow(M,Te):1;if(re.comboId!==me.comboId&&ee===1?ee=M/2:re.comboId===me.comboId&&(ee=2),(0,w.isNumber)(me.x)&&(0,w.isNumber)(re.x)&&(0,w.isNumber)(me.y)&&(0,w.isNumber)(re.y)){var xe=a[\"\".concat(A,\"-\").concat(L)],Ie=xe.vl,Le=xe.vx,De=xe.vy,ce=(Ie-l(E))/Ie*s*m(E)*ee,ye=Le*ce,Oe=De*ce,Ce=x[j];u[q].x-=ye*Ce,u[q].y-=Oe*Ce,u[J].x+=ye*(1-Ce),u[J].y+=Oe*(1-Ce)}}}})},p.prototype.getType=function(){return\"comboForce\"},p}(C.Base);c.ComboForceLayout=O},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(a,f){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,l){h.__proto__=l}||function(h,l){for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&(h[s]=l[s])})(a,f)},function(a,f){if(typeof f!=\"function\"&&f!==null)throw new TypeError(\"Class extends value \"+String(f)+\" is not a constructor or null\");function h(){this.constructor=a}y(a,f),a.prototype=f===null?Object.create(f):(h.prototype=f.prototype,new h)}),C=this&&this.__assign||function(){return(C=Object.assign||function(a){for(var f,h=1,l=arguments.length;h<l;h++)for(var s in f=arguments[h])Object.prototype.hasOwnProperty.call(f,s)&&(a[s]=f[s]);return a}).apply(this,arguments)};Object.defineProperty(c,\"__esModule\",{value:!0}),c.ComboCombinedLayout=void 0;var w=r(46),O=r(18),b=r(15),p=r(82),u=function(a){function f(h){var l=a.call(this)||this;return l.center=[0,0],l.nodes=[],l.edges=[],l.combos=[],l.comboEdges=[],l.comboPadding=10,l.comboTrees=[],l.updateCfg(h),l}return N(f,a),f.prototype.getDefaultCfg=function(){return{}},f.prototype.execute=function(){var h=this.nodes,l=this.center;if(h&&h.length!==0){if(h.length===1)return h[0].x=l[0],h[0].y=l[1],void(this.onLayoutEnd&&this.onLayoutEnd());this.initVals(),this.run(),this.onLayoutEnd&&this.onLayoutEnd()}else this.onLayoutEnd&&this.onLayoutEnd()},f.prototype.run=function(){var h,l=this.nodes,s=this.edges,m=this.combos,x=this.comboEdges,M=this.center,E={};l.forEach(function(ce){E[ce.id]=ce});var j={};m.forEach(function(ce){j[ce.id]=ce});var L=this.getInnerGraphs(E),A=[],J=[],q={},re=!0;this.comboTrees.forEach(function(ce){var ye=L[ce.id],Oe=C(C({},ce),{x:ye.x||j[ce.id].x,y:ye.y||j[ce.id].y,fx:ye.fx||j[ce.id].fx,fy:ye.fy||j[ce.id].fy,mass:ye.mass||j[ce.id].mass,size:ye.size});J.push(Oe),isNaN(Oe.x)||Oe.x===0||isNaN(Oe.y)||Oe.y===0?(Oe.x=100*Math.random(),Oe.y=100*Math.random()):re=!1,A.push(ce.id),(0,b.traverseTreeUp)(ce,function(Ce){return Ce.id!==ce.id&&(q[Ce.id]=ce.id),!0})}),l.forEach(function(ce){if(!ce.comboId||!j[ce.comboId]){var ye=C({},ce);J.push(ye),isNaN(ye.x)||ye.x===0||isNaN(ye.y)||ye.y===0?(ye.x=100*Math.random(),ye.y=100*Math.random()):re=!1,A.push(ce.id)}});var me=[];if(s.concat(x).forEach(function(ce){var ye=q[ce.source]||ce.source,Oe=q[ce.target]||ce.target;ye!==Oe&&A.includes(ye)&&A.includes(Oe)&&me.push({source:ye,target:Oe})}),J==null?void 0:J.length){if(J.length===1)J[0].x=M[0],J[0].y=M[1];else{var Te={nodes:J,edges:me},ee=this.outerLayout||new p.GForceLayout({gravity:1,factor:4,linkDistance:function(ce,ye,Oe){var Ce,oe,he=((((Ce=ye.size)===null||Ce===void 0?void 0:Ce[0])||30)+(((oe=Oe.size)===null||oe===void 0?void 0:oe[0])||30))/2;return Math.min(1.5*he,700)}}),xe=(h=ee.getType)===null||h===void 0?void 0:h.call(ee);ee.updateCfg({center:M,kg:5,preventOverlap:!0,animate:!1}),re&&w.FORCE_LAYOUT_TYPE_MAP[xe]&&(J.length<100?new p.MDSLayout:new p.GridLayout).layout(Te),ee.layout(Te)}J.forEach(function(ce){var ye=L[ce.id];if(ye)ye.visited=!0,ye.x=ce.x,ye.y=ce.y,ye.nodes.forEach(function(Ce){Ce.x+=ce.x,Ce.y+=ce.y});else{var Oe=E[ce.id];Oe&&(Oe.x=ce.x,Oe.y=ce.y)}})}for(var Ie=Object.keys(L),Le=function(ce){var ye=Ie[ce],Oe=L[ye];if(!Oe)return\"continue\";Oe.nodes.forEach(function(Ce){Oe.visited||(Ce.x+=Oe.x||0,Ce.y+=Oe.y||0),E[Ce.id]&&(E[Ce.id].x=Ce.x,E[Ce.id].y=Ce.y)}),j[ye]&&(j[ye].x=Oe.x,j[ye].y=Oe.y)},De=Ie.length-1;De>=0;De--)Le(De);return{nodes:l,edges:s,combos:m,comboEdges:x}},f.prototype.getInnerGraphs=function(h){var l=this.comboTrees,s=this.nodeSize,m=this.edges,x=this.comboPadding,M=this.spacing,E={},j=this.innerLayout||new p.ConcentricLayout({sortBy:\"id\"});return j.center=[0,0],j.preventOverlap=!0,j.nodeSpacing=M,(l||[]).forEach(function(L){(0,b.traverseTreeUp)(L,function(A){var J,q=(x==null?void 0:x(A))||10;if((0,b.isArray)(q)&&(q=Math.max.apply(Math,q)),(J=A.children)===null||J===void 0?void 0:J.length){var re=A.children.map(function(oe){if(oe.itemType===\"combo\")return E[oe.id];var he=h[oe.id]||{};return C(C({},he),oe)}),me=re.map(function(oe){return oe.id}),Te={nodes:re,edges:m.filter(function(oe){return me.includes(oe.source)&&me.includes(oe.target)})},ee=1/0;re.forEach(function(oe){var he;oe.size||(oe.size=((he=E[oe.id])===null||he===void 0?void 0:he.size)||(s==null?void 0:s(oe))||[30,30]),(0,b.isNumber)(oe.size)&&(oe.size=[oe.size,oe.size]),ee>oe.size[0]&&(ee=oe.size[0]),ee>oe.size[1]&&(ee=oe.size[1])}),j.layout(Te);var xe=(0,b.getLayoutBBox)(re),Ie=xe.minX,Le=xe.minY,De=xe.maxX,ce=xe.maxY,ye={x:(De+Ie)/2,y:(ce+Le)/2};Te.nodes.forEach(function(oe){oe.x-=ye.x,oe.y-=ye.y});var Oe=Math.max(De-Ie,ce-Le,ee)+2*q;E[A.id]={id:A.id,nodes:re,size:[Oe,Oe]}}else if(A.itemType===\"combo\"){var Ce=q?[2*q,2*q]:[30,30];E[A.id]={id:A.id,nodes:[],size:Ce}}return!0})}),E},f.prototype.initVals=function(){var h,l,s=this.nodeSize,m=this.spacing;if(l=(0,b.isNumber)(m)?function(){return m}:(0,b.isFunction)(m)?m:function(){return 0},this.spacing=l,s)if((0,b.isFunction)(s))h=function(L){var A=s(L),J=l(L);return(0,b.isArray)(L.size)?((L.size[0]>L.size[1]?L.size[0]:L.size[1])+J)/2:((A||10)+J)/2};else if((0,b.isArray)(s)){var x=(s[0]>s[1]?s[0]:s[1])/2;h=function(L){return x+l(L)/2}}else{var M=s/2;h=function(L){return M+l(L)/2}}else h=function(L){var A=l(L);return L.size?(0,b.isArray)(L.size)?((L.size[0]>L.size[1]?L.size[0]:L.size[1])+A)/2:(0,b.isObject)(L.size)?((L.size.width>L.size.height?L.size.width:L.size.height)+A)/2:(L.size+A)/2:10+A/2};this.nodeSize=h;var E,j=this.comboPadding;E=(0,b.isNumber)(j)?function(){return j}:(0,b.isArray)(j)?function(){return Math.max.apply(null,j)}:(0,b.isFunction)(j)?j:function(){return 0},this.comboPadding=E},f.prototype.getType=function(){return\"comboCombined\"},f}(O.Base);c.ComboCombinedLayout=u},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(f,h){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,s){l.__proto__=s}||function(l,s){for(var m in s)Object.prototype.hasOwnProperty.call(s,m)&&(l[m]=s[m])})(f,h)},function(f,h){if(typeof h!=\"function\"&&h!==null)throw new TypeError(\"Class extends value \"+String(h)+\" is not a constructor or null\");function l(){this.constructor=f}y(f,h),f.prototype=h===null?Object.create(h):(l.prototype=h.prototype,new l)}),C=this&&this.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(c,\"__esModule\",{value:!0}),c.ForceAtlas2Layout=void 0;var w=r(18),O=r(15),b=C(r(201)),p=C(r(202)),u=C(r(203)),a=function(f){function h(l){var s=f.call(this)||this;return s.center=[0,0],s.width=300,s.height=300,s.nodes=[],s.edges=[],s.kr=5,s.kg=1,s.mode=\"normal\",s.preventOverlap=!1,s.dissuadeHubs=!1,s.barnesHut=void 0,s.maxIteration=0,s.ks=.1,s.ksmax=10,s.tao=.1,s.onLayoutEnd=function(){},s.prune=void 0,s.updateCfg(l),s}return N(h,f),h.prototype.getDefaultCfg=function(){return{}},h.prototype.execute=function(){var l=this.nodes,s=this.onLayoutEnd,m=this.prune,x=this.maxIteration;this.width||typeof window==\"undefined\"||(this.width=window.innerWidth),this.height||typeof window==\"undefined\"||(this.height=window.innerHeight);for(var M=[],E=l.length,j=0;j<E;j+=1){var L=l[j],A=10,J=10;(0,O.isNumber)(L.size)&&(A=L.size,J=L.size),(0,O.isArray)(L.size)?(isNaN(L.size[0])||(A=L.size[0]),isNaN(L.size[1])||(J=L.size[1])):(0,O.isObject)(L.size)&&(A=L.size.width,J=L.size.height),this.getWidth&&!isNaN(this.getWidth(L))&&(J=this.getWidth(L)),this.getHeight&&!isNaN(this.getHeight(L))&&(A=this.getHeight(L));var q=Math.max(A,J);M.push(q)}this.barnesHut===void 0&&E>250&&(this.barnesHut=!0),this.prune===void 0&&E>100&&(this.prune=!0),this.maxIteration!==0||this.prune?this.maxIteration===0&&m&&(x=100,E<=200&&E>100?x=500:E>200&&(x=950),this.maxIteration=x):(x=250,E<=200&&E>100?x=1e3:E>200&&(x=1200),this.maxIteration=x),this.kr||(this.kr=50,E>100&&E<=500?this.kr=20:E>500&&(this.kr=1)),this.kg||(this.kg=20,E>100&&E<=500?this.kg=10:E>500&&(this.kg=1)),this.nodes=this.updateNodesByForces(M),s()},h.prototype.updateNodesByForces=function(l){for(var s=this.edges,m=this.maxIteration,x=this.nodes,M=s.filter(function(ye){return(0,O.getEdgeTerminal)(ye,\"source\")!==(0,O.getEdgeTerminal)(ye,\"target\")}),E=x.length,j=M.length,L=[],A={},J={},q=[],re=0;re<E;re+=1)A[x[re].id]=re,L[re]=0,(x[re].x===void 0||isNaN(x[re].x))&&(x[re].x=1e3*Math.random()),(x[re].y===void 0||isNaN(x[re].y))&&(x[re].y=1e3*Math.random()),q.push({x:x[re].x,y:x[re].y});for(re=0;re<j;re+=1){for(var me=void 0,Te=void 0,ee=0,xe=0,Ie=0;Ie<E;Ie+=1){var Le=(0,O.getEdgeTerminal)(M[re],\"source\"),De=(0,O.getEdgeTerminal)(M[re],\"target\");x[Ie].id===Le?(me=x[Ie],ee=Ie):x[Ie].id===De&&(Te=x[Ie],xe=Ie),J[re]={sourceIdx:ee,targetIdx:xe}}me&&(L[A[me.id]]+=1),Te&&(L[A[Te.id]]+=1)}var ce=m;if(x=this.iterate(ce,A,J,j,L,l),this.prune){for(Ie=0;Ie<j;Ie+=1)L[J[Ie].sourceIdx]<=1?(x[J[Ie].sourceIdx].x=x[J[Ie].targetIdx].x,x[J[Ie].sourceIdx].y=x[J[Ie].targetIdx].y):L[J[Ie].targetIdx]<=1&&(x[J[Ie].targetIdx].x=x[J[Ie].sourceIdx].x,x[J[Ie].targetIdx].y=x[J[Ie].sourceIdx].y);this.prune=!1,this.barnesHut=!1,ce=100,x=this.iterate(ce,A,J,j,L,l)}return x},h.prototype.iterate=function(l,s,m,x,M,E){for(var j=this.nodes,L=this.kr,A=this.preventOverlap,J=this.barnesHut,q=j.length,re=0,me=l,Te=[],ee=[],xe=[],Ie=0;Ie<q;Ie+=1)if(Te[2*Ie]=0,Te[2*Ie+1]=0,J){var Le={id:Ie,rx:j[Ie].x,ry:j[Ie].y,mass:1,g:L,degree:M[Ie]};xe[Ie]=new b.default(Le)}for(;me>0;){for(Ie=0;Ie<q;Ie+=1)ee[2*Ie]=Te[2*Ie],ee[2*Ie+1]=Te[2*Ie+1],Te[2*Ie]=0,Te[2*Ie+1]=0;Te=this.getAttrForces(me,50,x,s,m,M,E,Te),Te=J&&(A&&me>50||!A)?this.getOptRepGraForces(Te,xe,M):this.getRepGraForces(me,50,Te,100,E,M);var De=this.updatePos(Te,ee,re,M);j=De.nodes,re=De.sg,me--,this.tick&&this.tick()}return j},h.prototype.getAttrForces=function(l,s,m,x,M,E,j,L){for(var A=this.nodes,J=this.preventOverlap,q=this.dissuadeHubs,re=this.mode,me=this.prune,Te=0;Te<m;Te+=1){var ee=A[M[Te].sourceIdx],xe=M[Te].sourceIdx,Ie=A[M[Te].targetIdx],Le=M[Te].targetIdx;if(!me||!(E[xe]<=1||E[Le]<=1)){var De=[Ie.x-ee.x,Ie.y-ee.y],ce=Math.hypot(De[0],De[1]);ce=ce<1e-4?1e-4:ce,De[0]=De[0]/ce,De[1]=De[1]/ce,J&&l<s&&(ce=ce-j[xe]-j[Le]);var ye=ce,Oe=ye;re===\"linlog\"&&(Oe=ye=Math.log(1+ce)),q&&(ye=ce/E[xe],Oe=ce/E[Le]),J&&l<s&&ce<=0?(ye=0,Oe=0):J&&l<s&&ce>0&&(ye=ce,Oe=ce),L[2*x[ee.id]]+=ye*De[0],L[2*x[Ie.id]]-=Oe*De[0],L[2*x[ee.id]+1]+=ye*De[1],L[2*x[Ie.id]+1]-=Oe*De[1]}}return L},h.prototype.getRepGraForces=function(l,s,m,x,M,E){for(var j=this.nodes,L=this.preventOverlap,A=this.kr,J=this.kg,q=this.center,re=this.prune,me=j.length,Te=0;Te<me;Te+=1){for(var ee=Te+1;ee<me;ee+=1)if(!re||!(E[Te]<=1||E[ee]<=1)){var xe=[j[ee].x-j[Te].x,j[ee].y-j[Te].y],Ie=Math.hypot(xe[0],xe[1]);Ie=Ie<1e-4?1e-4:Ie,xe[0]=xe[0]/Ie,xe[1]=xe[1]/Ie,L&&l<s&&(Ie=Ie-M[Te]-M[ee]);var Le=A*(E[Te]+1)*(E[ee]+1)/Ie;L&&l<s&&Ie<0?Le=x*(E[Te]+1)*(E[ee]+1):L&&l<s&&Ie===0?Le=0:L&&l<s&&Ie>0&&(Le=A*(E[Te]+1)*(E[ee]+1)/Ie),m[2*Te]-=Le*xe[0],m[2*ee]+=Le*xe[0],m[2*Te+1]-=Le*xe[1],m[2*ee+1]+=Le*xe[1]}var De=[j[Te].x-q[0],j[Te].y-q[1]],ce=Math.hypot(De[0],De[1]);De[0]=De[0]/ce,De[1]=De[1]/ce;var ye=J*(E[Te]+1);m[2*Te]-=ye*De[0],m[2*Te+1]-=ye*De[1]}return m},h.prototype.getOptRepGraForces=function(l,s,m){for(var x=this.nodes,M=this.kg,E=this.center,j=this.prune,L=x.length,A=9e10,J=-9e10,q=9e10,re=-9e10,me=0;me<L;me+=1)j&&m[me]<=1||(s[me].setPos(x[me].x,x[me].y),x[me].x>=J&&(J=x[me].x),x[me].x<=A&&(A=x[me].x),x[me].y>=re&&(re=x[me].y),x[me].y<=q&&(q=x[me].y));var Te={xmid:(J+A)/2,ymid:(re+q)/2,length:Math.max(J-A,re-q),massCenter:E,mass:L},ee=new p.default(Te),xe=new u.default(ee);for(me=0;me<L;me+=1)j&&m[me]<=1||s[me].in(ee)&&xe.insert(s[me]);for(me=0;me<L;me+=1)if(!(j&&m[me]<=1)){s[me].resetForce(),xe.updateForce(s[me]),l[2*me]-=s[me].fx,l[2*me+1]-=s[me].fy;var Ie=[x[me].x-E[0],x[me].y-E[1]],Le=Math.hypot(Ie[0],Ie[1]);Le=Le<1e-4?1e-4:Le,Ie[0]=Ie[0]/Le,Ie[1]=Ie[1]/Le;var De=M*(m[me]+1);l[2*me]-=De*Ie[0],l[2*me+1]-=De*Ie[1]}return l},h.prototype.updatePos=function(l,s,m,x){for(var M=this.nodes,E=this.ks,j=this.tao,L=this.prune,A=this.ksmax,J=M.length,q=[],re=[],me=0,Te=0,ee=0;ee<J;ee+=1)if(!(L&&x[ee]<=1)){var xe=[l[2*ee]-s[2*ee],l[2*ee+1]-s[2*ee+1]],Ie=Math.hypot(xe[0],xe[1]),Le=[l[2*ee]+s[2*ee],l[2*ee+1]+s[2*ee+1]],De=Math.hypot(Le[0],Le[1]);q[ee]=Ie,re[ee]=De/2,me+=(x[ee]+1)*q[ee],Te+=(x[ee]+1)*re[ee]}var ce=m;for(m=j*Te/me,ce!==0&&(m=m>1.5*ce?1.5*ce:m),ee=0;ee<J;ee+=1)if(!(L&&x[ee]<=1||(0,O.isNumber)(M[ee].fx)&&(0,O.isNumber)(M[ee].fy))){var ye=E*m/(1+m*Math.sqrt(q[ee])),Oe=Math.hypot(l[2*ee],l[2*ee+1]),Ce=A/(Oe=Oe<1e-4?1e-4:Oe),oe=(ye=ye>Ce?Ce:ye)*l[2*ee],he=ye*l[2*ee+1];M[ee].x+=oe,M[ee].y+=he}return{nodes:M,sg:m}},h}(w.Base);c.ForceAtlas2Layout=a},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(p,u){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,f){a.__proto__=f}||function(a,f){for(var h in f)Object.prototype.hasOwnProperty.call(f,h)&&(a[h]=f[h])})(p,u)},function(p,u){if(typeof u!=\"function\"&&u!==null)throw new TypeError(\"Class extends value \"+String(u)+\" is not a constructor or null\");function a(){this.constructor=p}y(p,u),p.prototype=u===null?Object.create(u):(a.prototype=u.prototype,new a)}),C=this&&this.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(c,\"__esModule\",{value:!0}),c.ERLayout=void 0;var w=r(18),O=C(r(204)),b=function(p){function u(a){var f=p.call(this)||this;return f.width=300,f.height=300,f.nodeMinGap=50,f.onLayoutEnd=function(){},a&&f.updateCfg(a),f}return N(u,p),u.prototype.getDefaultCfg=function(){return{width:300,height:300,nodeMinGap:50}},u.prototype.execute=function(){var a=this,f=a.nodes,h=a.edges;return f==null||f.forEach(function(l){l.size||(l.size=[50,50])}),(0,O.default)({nodes:f,edges:h},{width:this.width,height:this.height,nodeMinGap:this.nodeMinGap}).then(function(){a.onLayoutEnd&&a.onLayoutEnd()})},u.prototype.getType=function(){return\"er\"},u}(w.Base);c.ERLayout=b},function(Ee,c,r){\"use strict\";r.r(c),r.d(c,\"AbstractMatrix\",function(){return fe}),r.d(c,\"default\",function(){return we}),r.d(c,\"Matrix\",function(){return we}),r.d(c,\"MatrixColumnView\",function(){return an}),r.d(c,\"MatrixColumnSelectionView\",function(){return en}),r.d(c,\"MatrixFlipColumnView\",function(){return Wr}),r.d(c,\"MatrixFlipRowView\",function(){return bt}),r.d(c,\"MatrixRowView\",function(){return Rn}),r.d(c,\"MatrixRowSelectionView\",function(){return Mr}),r.d(c,\"MatrixSelectionView\",function(){return wi}),r.d(c,\"MatrixSubView\",function(){return ar}),r.d(c,\"MatrixTransposeView\",function(){return ti}),r.d(c,\"wrap\",function(){return Yn}),r.d(c,\"WrapperMatrix1D\",function(){return br}),r.d(c,\"WrapperMatrix2D\",function(){return Cn}),r.d(c,\"solve\",function(){return _o}),r.d(c,\"inverse\",function(){return Jr}),r.d(c,\"determinant\",function(){return No}),r.d(c,\"linearDependencies\",function(){return ai}),r.d(c,\"pseudoInverse\",function(){return Si}),r.d(c,\"covariance\",function(){return ln}),r.d(c,\"correlation\",function(){return fr}),r.d(c,\"SingularValueDecomposition\",function(){return Ir}),r.d(c,\"SVD\",function(){return Ir}),r.d(c,\"EigenvalueDecomposition\",function(){return An}),r.d(c,\"EVD\",function(){return An}),r.d(c,\"CholeskyDecomposition\",function(){return Xr}),r.d(c,\"CHO\",function(){return Xr}),r.d(c,\"LuDecomposition\",function(){return Mt}),r.d(c,\"LU\",function(){return Mt}),r.d(c,\"QrDecomposition\",function(){return lr}),r.d(c,\"QR\",function(){return lr}),r.d(c,\"Nipals\",function(){return jn}),r.d(c,\"NIPALS\",function(){return jn});var y=Object.prototype.toString;function N(W){return y.call(W).endsWith(\"Array]\")}function C(W){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!N(W))throw new TypeError(\"input must be an array\");if(W.length===0)throw new TypeError(\"input must not be empty\");var k=P.fromIndex,z=k===void 0?0:k,Q=P.toIndex,F=Q===void 0?W.length:Q;if(z<0||z>=W.length||!Number.isInteger(z))throw new Error(\"fromIndex must be a positive integer smaller than length\");if(F<=z||F>W.length||!Number.isInteger(F))throw new Error(\"toIndex must be an integer greater than fromIndex and at most equal to length\");for(var V=W[z],U=z+1;U<F;U++)W[U]>V&&(V=W[U]);return V}function w(W){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!N(W))throw new TypeError(\"input must be an array\");if(W.length===0)throw new TypeError(\"input must not be empty\");var k=P.fromIndex,z=k===void 0?0:k,Q=P.toIndex,F=Q===void 0?W.length:Q;if(z<0||z>=W.length||!Number.isInteger(z))throw new Error(\"fromIndex must be a positive integer smaller than length\");if(F<=z||F>W.length||!Number.isInteger(F))throw new Error(\"toIndex must be an integer greater than fromIndex and at most equal to length\");for(var V=W[z],U=z+1;U<F;U++)W[U]<V&&(V=W[U]);return V}function O(W){var P,k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!N(W))throw new TypeError(\"input must be an array\");if(W.length===0)throw new TypeError(\"input must not be empty\");if(k.output!==void 0){if(!N(k.output))throw new TypeError(\"output option must be an array if specified\");P=k.output}else P=new Array(W.length);var z=w(W),Q=C(W);if(z===Q)throw new RangeError(\"minimum and maximum input values are equal. Cannot rescale a constant array\");var F=k.min,V=F===void 0?k.autoMinMax?z:0:F,U=k.max,ge=U===void 0?k.autoMinMax?Q:1:U;if(V>=ge)throw new RangeError(\"min option must be smaller than max option\");for(var ke=(ge-V)/(Q-z),St=0;St<W.length;St++)P[St]=(W[St]-z)*ke+V;return P}var b=\" \".repeat(2),p=\" \".repeat(4);function u(W){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},k=P.maxRows,z=k===void 0?15:k,Q=P.maxColumns,F=Q===void 0?10:Q,V=P.maxNumSize,U=V===void 0?8:V,ge=P.padMinus,ke=ge===void 0?\"auto\":ge;return\"\".concat(W.constructor.name,` {\n`).concat(b,`[\n`).concat(p).concat(a(W,z,F,U,ke),`\n`).concat(b,`]\n`).concat(b,\"rows: \").concat(W.rows,`\n`).concat(b,\"columns: \").concat(W.columns,`\n}`)}function a(W,P,k,z,Q){var F=W.rows,V=W.columns,U=Math.min(F,P),ge=Math.min(V,k),ke=[];if(Q===\"auto\"){Q=!1;e:for(var St=0;St<U;St++)for(var Je=0;Je<ge;Je++)if(W.get(St,Je)<0){Q=!0;break e}}for(var Ot=0;Ot<U;Ot++){for(var It=[],jt=0;jt<ge;jt++)It.push(f(W.get(Ot,jt),z,Q));ke.push(\"\".concat(It.join(\" \")))}return ge!==V&&(ke[ke.length-1]+=\" ... \".concat(V-k,\" more columns\")),U!==F&&ke.push(\"... \".concat(F-P,\" more rows\")),ke.join(`\n`.concat(p))}function f(W,P,k){return(W>=0&&k?\" \".concat(h(W,P-1)):h(W,P)).padEnd(P)}function h(W,P){var k=W.toString();if(k.length<=P)return k;var z=W.toFixed(P);if(z.length>P&&(z=W.toFixed(Math.max(0,P-(z.length-P)))),z.length<=P&&!z.startsWith(\"0.000\")&&!z.startsWith(\"-0.000\"))return z;var Q=W.toExponential(P);return Q.length>P&&(Q=W.toExponential(Math.max(0,P-(Q.length-P)))),Q.slice(0)}function l(W,P,k){var z=k?W.rows:W.rows-1;if(P<0||P>z)throw new RangeError(\"Row index out of range\")}function s(W,P,k){var z=k?W.columns:W.columns-1;if(P<0||P>z)throw new RangeError(\"Column index out of range\")}function m(W,P){if(P.to1DArray&&(P=P.to1DArray()),P.length!==W.columns)throw new RangeError(\"vector size must be the same as the number of columns\");return P}function x(W,P){if(P.to1DArray&&(P=P.to1DArray()),P.length!==W.rows)throw new RangeError(\"vector size must be the same as the number of rows\");return P}function M(W,P){if(!N(P))throw new TypeError(\"row indices must be an array\");for(var k=0;k<P.length;k++)if(P[k]<0||P[k]>=W.rows)throw new RangeError(\"row indices are out of range\")}function E(W,P){if(!N(P))throw new TypeError(\"column indices must be an array\");for(var k=0;k<P.length;k++)if(P[k]<0||P[k]>=W.columns)throw new RangeError(\"column indices are out of range\")}function j(W,P,k,z,Q){if(arguments.length!==5)throw new RangeError(\"expected 4 arguments\");if(A(\"startRow\",P),A(\"endRow\",k),A(\"startColumn\",z),A(\"endColumn\",Q),P>k||z>Q||P<0||P>=W.rows||k<0||k>=W.rows||z<0||z>=W.columns||Q<0||Q>=W.columns)throw new RangeError(\"Submatrix indices are out of range\")}function L(W){for(var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,k=[],z=0;z<W;z++)k.push(P);return k}function A(W,P){if(typeof P!=\"number\")throw new TypeError(\"\".concat(W,\" must be a number\"))}function J(W){if(W.isEmpty())throw new Error(\"Empty matrix has no elements to index\")}function q(W,P,k){for(var z=W.rows,Q=W.columns,F=[],V=0;V<z;V++){for(var U=0,ge=0,ke=0,St=0;St<Q;St++)U+=ke=W.get(V,St)-k[V],ge+=ke*ke;P?F.push((ge-U*U/Q)/(Q-1)):F.push((ge-U*U/Q)/Q)}return F}function re(W,P,k){for(var z=W.rows,Q=W.columns,F=[],V=0;V<Q;V++){for(var U=0,ge=0,ke=0,St=0;St<z;St++)U+=ke=W.get(St,V)-k[V],ge+=ke*ke;P?F.push((ge-U*U/z)/(z-1)):F.push((ge-U*U/z)/z)}return F}function me(W,P,k){for(var z=W.rows,Q=W.columns,F=z*Q,V=0,U=0,ge=0,ke=0;ke<z;ke++)for(var St=0;St<Q;St++)V+=ge=W.get(ke,St)-k,U+=ge*ge;return P?(U-V*V/F)/(F-1):(U-V*V/F)/F}function Te(W,P){for(var k=0;k<W.rows;k++)for(var z=0;z<W.columns;z++)W.set(k,z,W.get(k,z)-P[k])}function ee(W,P){for(var k=0;k<W.rows;k++)for(var z=0;z<W.columns;z++)W.set(k,z,W.get(k,z)-P[z])}function xe(W,P){for(var k=0;k<W.rows;k++)for(var z=0;z<W.columns;z++)W.set(k,z,W.get(k,z)-P)}function Ie(W){for(var P=[],k=0;k<W.rows;k++){for(var z=0,Q=0;Q<W.columns;Q++)z+=Math.pow(W.get(k,Q),2)/(W.columns-1);P.push(Math.sqrt(z))}return P}function Le(W,P){for(var k=0;k<W.rows;k++)for(var z=0;z<W.columns;z++)W.set(k,z,W.get(k,z)/P[k])}function De(W){for(var P=[],k=0;k<W.columns;k++){for(var z=0,Q=0;Q<W.rows;Q++)z+=Math.pow(W.get(Q,k),2)/(W.rows-1);P.push(Math.sqrt(z))}return P}function ce(W,P){for(var k=0;k<W.rows;k++)for(var z=0;z<W.columns;z++)W.set(k,z,W.get(k,z)/P[z])}function ye(W){for(var P=W.size-1,k=0,z=0;z<W.columns;z++)for(var Q=0;Q<W.rows;Q++)k+=Math.pow(W.get(Q,z),2)/P;return Math.sqrt(k)}function Oe(W,P){for(var k=0;k<W.rows;k++)for(var z=0;z<W.columns;z++)W.set(k,z,W.get(k,z)/P)}function Ce(W,P){return(Ce=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,z){return k.__proto__=z,k})(W,P)}function oe(W){var P=function(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(k){return!1}}();return function(){var k,z=ie(W);if(P){var Q=ie(this).constructor;k=Reflect.construct(z,arguments,Q)}else k=z.apply(this,arguments);return he(this,k)}}function he(W,P){if(P&&(ae(P)===\"object\"||typeof P==\"function\"))return P;if(P!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(k){if(k===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return k}(W)}function ie(W){return(ie=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(P){return P.__proto__||Object.getPrototypeOf(P)})(W)}function ae(W){return(ae=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function ve(W,P){if(!(W instanceof P))throw new TypeError(\"Cannot call a class as a function\")}function X(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(ae(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(ae(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),ae(F)===\"symbol\"?F:String(F)),z)}var Q,F}function se(W,P,k){return P&&X(W.prototype,P),k&&X(W,k),Object.defineProperty(W,\"prototype\",{writable:!1}),W}var fe=function(){function W(){ve(this,W)}return se(W,[{key:\"size\",get:function(){return this.rows*this.columns}},{key:\"apply\",value:function(P){if(typeof P!=\"function\")throw new TypeError(\"callback must be a function\");for(var k=0;k<this.rows;k++)for(var z=0;z<this.columns;z++)P.call(this,k,z);return this}},{key:\"to1DArray\",value:function(){for(var P=[],k=0;k<this.rows;k++)for(var z=0;z<this.columns;z++)P.push(this.get(k,z));return P}},{key:\"to2DArray\",value:function(){for(var P=[],k=0;k<this.rows;k++){P.push([]);for(var z=0;z<this.columns;z++)P[k].push(this.get(k,z))}return P}},{key:\"toJSON\",value:function(){return this.to2DArray()}},{key:\"isRowVector\",value:function(){return this.rows===1}},{key:\"isColumnVector\",value:function(){return this.columns===1}},{key:\"isVector\",value:function(){return this.rows===1||this.columns===1}},{key:\"isSquare\",value:function(){return this.rows===this.columns}},{key:\"isEmpty\",value:function(){return this.rows===0||this.columns===0}},{key:\"isSymmetric\",value:function(){if(this.isSquare()){for(var P=0;P<this.rows;P++)for(var k=0;k<=P;k++)if(this.get(P,k)!==this.get(k,P))return!1;return!0}return!1}},{key:\"isEchelonForm\",value:function(){for(var P=0,k=0,z=-1,Q=!0,F=!1;P<this.rows&&Q;){for(k=0,F=!1;k<this.columns&&F===!1;)this.get(P,k)===0?k++:this.get(P,k)===1&&k>z?(F=!0,z=k):(Q=!1,F=!0);P++}return Q}},{key:\"isReducedEchelonForm\",value:function(){for(var P=0,k=0,z=-1,Q=!0,F=!1;P<this.rows&&Q;){for(k=0,F=!1;k<this.columns&&F===!1;)this.get(P,k)===0?k++:this.get(P,k)===1&&k>z?(F=!0,z=k):(Q=!1,F=!0);for(var V=k+1;V<this.rows;V++)this.get(P,V)!==0&&(Q=!1);P++}return Q}},{key:\"echelonForm\",value:function(){for(var P=this.clone(),k=0,z=0;k<P.rows&&z<P.columns;){for(var Q=k,F=k;F<P.rows;F++)P.get(F,z)>P.get(Q,z)&&(Q=F);if(P.get(Q,z)===0)z++;else{P.swapRows(k,Q);for(var V=P.get(k,z),U=z;U<P.columns;U++)P.set(k,U,P.get(k,U)/V);for(var ge=k+1;ge<P.rows;ge++){var ke=P.get(ge,z)/P.get(k,z);P.set(ge,z,0);for(var St=z+1;St<P.columns;St++)P.set(ge,St,P.get(ge,St)-P.get(k,St)*ke)}k++,z++}}return P}},{key:\"reducedEchelonForm\",value:function(){for(var P=this.echelonForm(),k=P.columns,z=P.rows,Q=z-1;Q>=0;)if(P.maxRow(Q)===0)Q--;else{for(var F=0,V=!1;F<z&&V===!1;)P.get(Q,F)===1?V=!0:F++;for(var U=0;U<Q;U++)for(var ge=P.get(U,F),ke=F;ke<k;ke++){var St=P.get(U,ke)-ge*P.get(Q,ke);P.set(U,ke,St)}Q--}return P}},{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 P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(ae(P)!==\"object\")throw new TypeError(\"options must be an object\");var k=P.rows,z=k===void 0?1:k,Q=P.columns,F=Q===void 0?1:Q;if(!Number.isInteger(z)||z<=0)throw new TypeError(\"rows must be a positive integer\");if(!Number.isInteger(F)||F<=0)throw new TypeError(\"columns must be a positive integer\");for(var V=new we(this.rows*z,this.columns*F),U=0;U<z;U++)for(var ge=0;ge<F;ge++)V.setSubMatrix(this,this.rows*U,this.columns*ge);return V}},{key:\"fill\",value:function(P){for(var k=0;k<this.rows;k++)for(var z=0;z<this.columns;z++)this.set(k,z,P);return this}},{key:\"neg\",value:function(){return this.mulS(-1)}},{key:\"getRow\",value:function(P){l(this,P);for(var k=[],z=0;z<this.columns;z++)k.push(this.get(P,z));return k}},{key:\"getRowVector\",value:function(P){return we.rowVector(this.getRow(P))}},{key:\"setRow\",value:function(P,k){l(this,P),k=m(this,k);for(var z=0;z<this.columns;z++)this.set(P,z,k[z]);return this}},{key:\"swapRows\",value:function(P,k){l(this,P),l(this,k);for(var z=0;z<this.columns;z++){var Q=this.get(P,z);this.set(P,z,this.get(k,z)),this.set(k,z,Q)}return this}},{key:\"getColumn\",value:function(P){s(this,P);for(var k=[],z=0;z<this.rows;z++)k.push(this.get(z,P));return k}},{key:\"getColumnVector\",value:function(P){return we.columnVector(this.getColumn(P))}},{key:\"setColumn\",value:function(P,k){s(this,P),k=x(this,k);for(var z=0;z<this.rows;z++)this.set(z,P,k[z]);return this}},{key:\"swapColumns\",value:function(P,k){s(this,P),s(this,k);for(var z=0;z<this.rows;z++){var Q=this.get(z,P);this.set(z,P,this.get(z,k)),this.set(z,k,Q)}return this}},{key:\"addRowVector\",value:function(P){P=m(this,P);for(var k=0;k<this.rows;k++)for(var z=0;z<this.columns;z++)this.set(k,z,this.get(k,z)+P[z]);return this}},{key:\"subRowVector\",value:function(P){P=m(this,P);for(var k=0;k<this.rows;k++)for(var z=0;z<this.columns;z++)this.set(k,z,this.get(k,z)-P[z]);return this}},{key:\"mulRowVector\",value:function(P){P=m(this,P);for(var k=0;k<this.rows;k++)for(var z=0;z<this.columns;z++)this.set(k,z,this.get(k,z)*P[z]);return this}},{key:\"divRowVector\",value:function(P){P=m(this,P);for(var k=0;k<this.rows;k++)for(var z=0;z<this.columns;z++)this.set(k,z,this.get(k,z)/P[z]);return this}},{key:\"addColumnVector\",value:function(P){P=x(this,P);for(var k=0;k<this.rows;k++)for(var z=0;z<this.columns;z++)this.set(k,z,this.get(k,z)+P[k]);return this}},{key:\"subColumnVector\",value:function(P){P=x(this,P);for(var k=0;k<this.rows;k++)for(var z=0;z<this.columns;z++)this.set(k,z,this.get(k,z)-P[k]);return this}},{key:\"mulColumnVector\",value:function(P){P=x(this,P);for(var k=0;k<this.rows;k++)for(var z=0;z<this.columns;z++)this.set(k,z,this.get(k,z)*P[k]);return this}},{key:\"divColumnVector\",value:function(P){P=x(this,P);for(var k=0;k<this.rows;k++)for(var z=0;z<this.columns;z++)this.set(k,z,this.get(k,z)/P[k]);return this}},{key:\"mulRow\",value:function(P,k){l(this,P);for(var z=0;z<this.columns;z++)this.set(P,z,this.get(P,z)*k);return this}},{key:\"mulColumn\",value:function(P,k){s(this,P);for(var z=0;z<this.rows;z++)this.set(z,P,this.get(z,P)*k);return this}},{key:\"max\",value:function(P){if(this.isEmpty())return NaN;switch(P){case\"row\":for(var k=new Array(this.rows).fill(Number.NEGATIVE_INFINITY),z=0;z<this.rows;z++)for(var Q=0;Q<this.columns;Q++)this.get(z,Q)>k[z]&&(k[z]=this.get(z,Q));return k;case\"column\":for(var F=new Array(this.columns).fill(Number.NEGATIVE_INFINITY),V=0;V<this.rows;V++)for(var U=0;U<this.columns;U++)this.get(V,U)>F[U]&&(F[U]=this.get(V,U));return F;case void 0:for(var ge=this.get(0,0),ke=0;ke<this.rows;ke++)for(var St=0;St<this.columns;St++)this.get(ke,St)>ge&&(ge=this.get(ke,St));return ge;default:throw new Error(\"invalid option: \".concat(P))}}},{key:\"maxIndex\",value:function(){J(this);for(var P=this.get(0,0),k=[0,0],z=0;z<this.rows;z++)for(var Q=0;Q<this.columns;Q++)this.get(z,Q)>P&&(P=this.get(z,Q),k[0]=z,k[1]=Q);return k}},{key:\"min\",value:function(P){if(this.isEmpty())return NaN;switch(P){case\"row\":for(var k=new Array(this.rows).fill(Number.POSITIVE_INFINITY),z=0;z<this.rows;z++)for(var Q=0;Q<this.columns;Q++)this.get(z,Q)<k[z]&&(k[z]=this.get(z,Q));return k;case\"column\":for(var F=new Array(this.columns).fill(Number.POSITIVE_INFINITY),V=0;V<this.rows;V++)for(var U=0;U<this.columns;U++)this.get(V,U)<F[U]&&(F[U]=this.get(V,U));return F;case void 0:for(var ge=this.get(0,0),ke=0;ke<this.rows;ke++)for(var St=0;St<this.columns;St++)this.get(ke,St)<ge&&(ge=this.get(ke,St));return ge;default:throw new Error(\"invalid option: \".concat(P))}}},{key:\"minIndex\",value:function(){J(this);for(var P=this.get(0,0),k=[0,0],z=0;z<this.rows;z++)for(var Q=0;Q<this.columns;Q++)this.get(z,Q)<P&&(P=this.get(z,Q),k[0]=z,k[1]=Q);return k}},{key:\"maxRow\",value:function(P){if(l(this,P),this.isEmpty())return NaN;for(var k=this.get(P,0),z=1;z<this.columns;z++)this.get(P,z)>k&&(k=this.get(P,z));return k}},{key:\"maxRowIndex\",value:function(P){l(this,P),J(this);for(var k=this.get(P,0),z=[P,0],Q=1;Q<this.columns;Q++)this.get(P,Q)>k&&(k=this.get(P,Q),z[1]=Q);return z}},{key:\"minRow\",value:function(P){if(l(this,P),this.isEmpty())return NaN;for(var k=this.get(P,0),z=1;z<this.columns;z++)this.get(P,z)<k&&(k=this.get(P,z));return k}},{key:\"minRowIndex\",value:function(P){l(this,P),J(this);for(var k=this.get(P,0),z=[P,0],Q=1;Q<this.columns;Q++)this.get(P,Q)<k&&(k=this.get(P,Q),z[1]=Q);return z}},{key:\"maxColumn\",value:function(P){if(s(this,P),this.isEmpty())return NaN;for(var k=this.get(0,P),z=1;z<this.rows;z++)this.get(z,P)>k&&(k=this.get(z,P));return k}},{key:\"maxColumnIndex\",value:function(P){s(this,P),J(this);for(var k=this.get(0,P),z=[0,P],Q=1;Q<this.rows;Q++)this.get(Q,P)>k&&(k=this.get(Q,P),z[0]=Q);return z}},{key:\"minColumn\",value:function(P){if(s(this,P),this.isEmpty())return NaN;for(var k=this.get(0,P),z=1;z<this.rows;z++)this.get(z,P)<k&&(k=this.get(z,P));return k}},{key:\"minColumnIndex\",value:function(P){s(this,P),J(this);for(var k=this.get(0,P),z=[0,P],Q=1;Q<this.rows;Q++)this.get(Q,P)<k&&(k=this.get(Q,P),z[0]=Q);return z}},{key:\"diag\",value:function(){for(var P=Math.min(this.rows,this.columns),k=[],z=0;z<P;z++)k.push(this.get(z,z));return k}},{key:\"norm\",value:function(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:\"frobenius\",k=0;if(P===\"max\")return this.max();if(P===\"frobenius\"){for(var z=0;z<this.rows;z++)for(var Q=0;Q<this.columns;Q++)k+=this.get(z,Q)*this.get(z,Q);return Math.sqrt(k)}throw new RangeError(\"unknown norm type: \".concat(P))}},{key:\"cumulativeSum\",value:function(){for(var P=0,k=0;k<this.rows;k++)for(var z=0;z<this.columns;z++)P+=this.get(k,z),this.set(k,z,P);return this}},{key:\"dot\",value:function(P){W.isMatrix(P)&&(P=P.to1DArray());var k=this.to1DArray();if(k.length!==P.length)throw new RangeError(\"vectors do not have the same size\");for(var z=0,Q=0;Q<k.length;Q++)z+=k[Q]*P[Q];return z}},{key:\"mmul\",value:function(P){P=we.checkMatrix(P);for(var k=this.rows,z=this.columns,Q=P.columns,F=new we(k,Q),V=new Float64Array(z),U=0;U<Q;U++){for(var ge=0;ge<z;ge++)V[ge]=P.get(ge,U);for(var ke=0;ke<k;ke++){for(var St=0,Je=0;Je<z;Je++)St+=this.get(ke,Je)*V[Je];F.set(ke,U,St)}}return F}},{key:\"strassen2x2\",value:function(P){P=we.checkMatrix(P);var k=new we(2,2),z=this.get(0,0),Q=P.get(0,0),F=this.get(0,1),V=P.get(0,1),U=this.get(1,0),ge=P.get(1,0),ke=this.get(1,1),St=P.get(1,1),Je=(z+ke)*(Q+St),Ot=(U+ke)*Q,It=z*(V-St),jt=ke*(ge-Q),Vt=(z+F)*St,Pn=Je+jt-Vt+(F-ke)*(ge+St),Jn=It+Vt,vn=Ot+jt,Vn=Je-Ot+It+(U-z)*(Q+V);return k.set(0,0,Pn),k.set(0,1,Jn),k.set(1,0,vn),k.set(1,1,Vn),k}},{key:\"strassen3x3\",value:function(P){P=we.checkMatrix(P);var k=new we(3,3),z=this.get(0,0),Q=this.get(0,1),F=this.get(0,2),V=this.get(1,0),U=this.get(1,1),ge=this.get(1,2),ke=this.get(2,0),St=this.get(2,1),Je=this.get(2,2),Ot=P.get(0,0),It=P.get(0,1),jt=P.get(0,2),Vt=P.get(1,0),Pn=P.get(1,1),Jn=P.get(1,2),vn=P.get(2,0),Vn=P.get(2,1),zt=P.get(2,2),ir=(z-V)*(-It+Pn),nr=(-z+V+U)*(Ot-It+Pn),ur=(V+U)*(-Ot+It),sr=z*Ot,Ln=(-z+ke+St)*(Ot-jt+Jn),Bt=(-z+ke)*(jt-Jn),En=(ke+St)*(-Ot+jt),_n=(-F+St+Je)*(Pn+vn-Vn),cr=(F-Je)*(Pn-Vn),ao=F*vn,kr=(St+Je)*(-vn+Vn),jo=(-F+U+ge)*(Jn+vn-zt),ui=(F-ge)*(Jn-zt),Vr=(U+ge)*(-vn+zt),ho=sr+ao+Q*Vt,vo=(z+Q+F-V-U-St-Je)*Pn+nr+ur+sr+_n+ao+kr,uo=sr+Ln+En+(z+Q+F-U-ge-ke-St)*Jn+ao+jo+Vr,Go=ir+U*(-Ot+It+Vt-Pn-Jn-vn+zt)+nr+sr+ao+jo+ui,Pi=ir+nr+ur+sr+ge*Vn,la=ao+jo+ui+Vr+V*jt,Vi=sr+Ln+Bt+St*(-Ot+jt+Vt-Pn-Jn-vn+Vn)+_n+cr+ao,ha=_n+cr+ao+kr+ke*It,xa=sr+Ln+Bt+En+Je*zt;return k.set(0,0,ho),k.set(0,1,vo),k.set(0,2,uo),k.set(1,0,Go),k.set(1,1,Pi),k.set(1,2,la),k.set(2,0,Vi),k.set(2,1,ha),k.set(2,2,xa),k}},{key:\"mmulStrassen\",value:function(P){P=we.checkMatrix(P);var k=this.clone(),z=k.rows,Q=k.columns,F=P.rows,V=P.columns;function U(St,Je,Ot){var It=St.rows,jt=St.columns;if(It===Je&&jt===Ot)return St;var Vt=W.zeros(Je,Ot);return Vt=Vt.setSubMatrix(St,0,0)}Q!==F&&console.warn(\"Multiplying \".concat(z,\" x \").concat(Q,\" and \").concat(F,\" x \").concat(V,\" matrix: dimensions do not match.\"));var ge=Math.max(z,F),ke=Math.max(Q,V);return function St(Je,Ot,It,jt){if(It<=512||jt<=512)return Je.mmul(Ot);It%2==1&&jt%2==1?(Je=U(Je,It+1,jt+1),Ot=U(Ot,It+1,jt+1)):It%2==1?(Je=U(Je,It+1,jt),Ot=U(Ot,It+1,jt)):jt%2==1&&(Je=U(Je,It,jt+1),Ot=U(Ot,It,jt+1));var Vt=parseInt(Je.rows/2,10),Pn=parseInt(Je.columns/2,10),Jn=Je.subMatrix(0,Vt-1,0,Pn-1),vn=Ot.subMatrix(0,Vt-1,0,Pn-1),Vn=Je.subMatrix(0,Vt-1,Pn,Je.columns-1),zt=Ot.subMatrix(0,Vt-1,Pn,Ot.columns-1),ir=Je.subMatrix(Vt,Je.rows-1,0,Pn-1),nr=Ot.subMatrix(Vt,Ot.rows-1,0,Pn-1),ur=Je.subMatrix(Vt,Je.rows-1,Pn,Je.columns-1),sr=Ot.subMatrix(Vt,Ot.rows-1,Pn,Ot.columns-1),Ln=St(W.add(Jn,ur),W.add(vn,sr),Vt,Pn),Bt=St(W.add(ir,ur),vn,Vt,Pn),En=St(Jn,W.sub(zt,sr),Vt,Pn),_n=St(ur,W.sub(nr,vn),Vt,Pn),cr=St(W.add(Jn,Vn),sr,Vt,Pn),ao=St(W.sub(ir,Jn),W.add(vn,zt),Vt,Pn),kr=St(W.sub(Vn,ur),W.add(nr,sr),Vt,Pn),jo=W.add(Ln,_n);jo.sub(cr),jo.add(kr);var ui=W.add(En,cr),Vr=W.add(Bt,_n),ho=W.sub(Ln,Bt);ho.add(En),ho.add(ao);var vo=W.zeros(2*jo.rows,2*jo.columns);return(vo=(vo=(vo=(vo=vo.setSubMatrix(jo,0,0)).setSubMatrix(ui,jo.rows,0)).setSubMatrix(Vr,0,jo.columns)).setSubMatrix(ho,jo.rows,jo.columns)).subMatrix(0,It-1,0,jt-1)}(k=U(k,ge,ke),P=U(P,ge,ke),ge,ke)}},{key:\"scaleRows\",value:function(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(ae(P)!==\"object\")throw new TypeError(\"options must be an object\");var k=P.min,z=k===void 0?0:k,Q=P.max,F=Q===void 0?1:Q;if(!Number.isFinite(z))throw new TypeError(\"min must be a number\");if(!Number.isFinite(F))throw new TypeError(\"max must be a number\");if(z>=F)throw new RangeError(\"min must be smaller than max\");for(var V=new we(this.rows,this.columns),U=0;U<this.rows;U++){var ge=this.getRow(U);ge.length>0&&O(ge,{min:z,max:F,output:ge}),V.setRow(U,ge)}return V}},{key:\"scaleColumns\",value:function(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(ae(P)!==\"object\")throw new TypeError(\"options must be an object\");var k=P.min,z=k===void 0?0:k,Q=P.max,F=Q===void 0?1:Q;if(!Number.isFinite(z))throw new TypeError(\"min must be a number\");if(!Number.isFinite(F))throw new TypeError(\"max must be a number\");if(z>=F)throw new RangeError(\"min must be smaller than max\");for(var V=new we(this.rows,this.columns),U=0;U<this.columns;U++){var ge=this.getColumn(U);ge.length&&O(ge,{min:z,max:F,output:ge}),V.setColumn(U,ge)}return V}},{key:\"flipRows\",value:function(){for(var P=Math.ceil(this.columns/2),k=0;k<this.rows;k++)for(var z=0;z<P;z++){var Q=this.get(k,z),F=this.get(k,this.columns-1-z);this.set(k,z,F),this.set(k,this.columns-1-z,Q)}return this}},{key:\"flipColumns\",value:function(){for(var P=Math.ceil(this.rows/2),k=0;k<this.columns;k++)for(var z=0;z<P;z++){var Q=this.get(z,k),F=this.get(this.rows-1-z,k);this.set(z,k,F),this.set(this.rows-1-z,k,Q)}return this}},{key:\"kroneckerProduct\",value:function(P){P=we.checkMatrix(P);for(var k=this.rows,z=this.columns,Q=P.rows,F=P.columns,V=new we(k*Q,z*F),U=0;U<k;U++)for(var ge=0;ge<z;ge++)for(var ke=0;ke<Q;ke++)for(var St=0;St<F;St++)V.set(Q*U+ke,F*ge+St,this.get(U,ge)*P.get(ke,St));return V}},{key:\"kroneckerSum\",value:function(P){if(P=we.checkMatrix(P),!this.isSquare()||!P.isSquare())throw new Error(\"Kronecker Sum needs two Square Matrices\");var k=this.rows,z=P.rows,Q=this.kroneckerProduct(we.eye(z,z)),F=we.eye(k,k).kroneckerProduct(P);return Q.add(F)}},{key:\"transpose\",value:function(){for(var P=new we(this.columns,this.rows),k=0;k<this.rows;k++)for(var z=0;z<this.columns;z++)P.set(z,k,this.get(k,z));return P}},{key:\"sortRows\",value:function(){for(var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:_e,k=0;k<this.rows;k++)this.setRow(k,this.getRow(k).sort(P));return this}},{key:\"sortColumns\",value:function(){for(var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:_e,k=0;k<this.columns;k++)this.setColumn(k,this.getColumn(k).sort(P));return this}},{key:\"subMatrix\",value:function(P,k,z,Q){j(this,P,k,z,Q);for(var F=new we(k-P+1,Q-z+1),V=P;V<=k;V++)for(var U=z;U<=Q;U++)F.set(V-P,U-z,this.get(V,U));return F}},{key:\"subMatrixRow\",value:function(P,k,z){if(k===void 0&&(k=0),z===void 0&&(z=this.columns-1),k>z||k<0||k>=this.columns||z<0||z>=this.columns)throw new RangeError(\"Argument out of range\");for(var Q=new we(P.length,z-k+1),F=0;F<P.length;F++)for(var V=k;V<=z;V++){if(P[F]<0||P[F]>=this.rows)throw new RangeError(\"Row index out of range: \".concat(P[F]));Q.set(F,V-k,this.get(P[F],V))}return Q}},{key:\"subMatrixColumn\",value:function(P,k,z){if(k===void 0&&(k=0),z===void 0&&(z=this.rows-1),k>z||k<0||k>=this.rows||z<0||z>=this.rows)throw new RangeError(\"Argument out of range\");for(var Q=new we(z-k+1,P.length),F=0;F<P.length;F++)for(var V=k;V<=z;V++){if(P[F]<0||P[F]>=this.columns)throw new RangeError(\"Column index out of range: \".concat(P[F]));Q.set(V-k,F,this.get(V,P[F]))}return Q}},{key:\"setSubMatrix\",value:function(P,k,z){if((P=we.checkMatrix(P)).isEmpty())return this;j(this,k,k+P.rows-1,z,z+P.columns-1);for(var Q=0;Q<P.rows;Q++)for(var F=0;F<P.columns;F++)this.set(k+Q,z+F,P.get(Q,F));return this}},{key:\"selection\",value:function(P,k){M(this,P),E(this,k);for(var z=new we(P.length,k.length),Q=0;Q<P.length;Q++)for(var F=P[Q],V=0;V<k.length;V++){var U=k[V];z.set(Q,V,this.get(F,U))}return z}},{key:\"trace\",value:function(){for(var P=Math.min(this.rows,this.columns),k=0,z=0;z<P;z++)k+=this.get(z,z);return k}},{key:\"clone\",value:function(){for(var P=new we(this.rows,this.columns),k=0;k<this.rows;k++)for(var z=0;z<this.columns;z++)P.set(k,z,this.get(k,z));return P}},{key:\"sum\",value:function(P){switch(P){case\"row\":return function(k){for(var z=L(k.rows),Q=0;Q<k.rows;++Q)for(var F=0;F<k.columns;++F)z[Q]+=k.get(Q,F);return z}(this);case\"column\":return function(k){for(var z=L(k.columns),Q=0;Q<k.rows;++Q)for(var F=0;F<k.columns;++F)z[F]+=k.get(Q,F);return z}(this);case void 0:return function(k){for(var z=0,Q=0;Q<k.rows;Q++)for(var F=0;F<k.columns;F++)z+=k.get(Q,F);return z}(this);default:throw new Error(\"invalid option: \".concat(P))}}},{key:\"product\",value:function(P){switch(P){case\"row\":return function(k){for(var z=L(k.rows,1),Q=0;Q<k.rows;++Q)for(var F=0;F<k.columns;++F)z[Q]*=k.get(Q,F);return z}(this);case\"column\":return function(k){for(var z=L(k.columns,1),Q=0;Q<k.rows;++Q)for(var F=0;F<k.columns;++F)z[F]*=k.get(Q,F);return z}(this);case void 0:return function(k){for(var z=1,Q=0;Q<k.rows;Q++)for(var F=0;F<k.columns;F++)z*=k.get(Q,F);return z}(this);default:throw new Error(\"invalid option: \".concat(P))}}},{key:\"mean\",value:function(P){var k=this.sum(P);switch(P){case\"row\":for(var z=0;z<this.rows;z++)k[z]/=this.columns;return k;case\"column\":for(var Q=0;Q<this.columns;Q++)k[Q]/=this.rows;return k;case void 0:return k/this.size;default:throw new Error(\"invalid option: \".concat(P))}}},{key:\"variance\",value:function(P){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(ae(P)===\"object\"&&(k=P,P=void 0),ae(k)!==\"object\")throw new TypeError(\"options must be an object\");var z=k,Q=z.unbiased,F=Q===void 0||Q,V=z.mean,U=V===void 0?this.mean(P):V;if(typeof F!=\"boolean\")throw new TypeError(\"unbiased must be a boolean\");switch(P){case\"row\":if(!N(U))throw new TypeError(\"mean must be an array\");return q(this,F,U);case\"column\":if(!N(U))throw new TypeError(\"mean must be an array\");return re(this,F,U);case void 0:if(typeof U!=\"number\")throw new TypeError(\"mean must be a number\");return me(this,F,U);default:throw new Error(\"invalid option: \".concat(P))}}},{key:\"standardDeviation\",value:function(P,k){ae(P)===\"object\"&&(k=P,P=void 0);var z=this.variance(P,k);if(P===void 0)return Math.sqrt(z);for(var Q=0;Q<z.length;Q++)z[Q]=Math.sqrt(z[Q]);return z}},{key:\"center\",value:function(P){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(ae(P)===\"object\"&&(k=P,P=void 0),ae(k)!==\"object\")throw new TypeError(\"options must be an object\");var z=k,Q=z.center,F=Q===void 0?this.mean(P):Q;switch(P){case\"row\":if(!N(F))throw new TypeError(\"center must be an array\");return Te(this,F),this;case\"column\":if(!N(F))throw new TypeError(\"center must be an array\");return ee(this,F),this;case void 0:if(typeof F!=\"number\")throw new TypeError(\"center must be a number\");return xe(this,F),this;default:throw new Error(\"invalid option: \".concat(P))}}},{key:\"scale\",value:function(P){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(ae(P)===\"object\"&&(k=P,P=void 0),ae(k)!==\"object\")throw new TypeError(\"options must be an object\");var z=k.scale;switch(P){case\"row\":if(z===void 0)z=Ie(this);else if(!N(z))throw new TypeError(\"scale must be an array\");return Le(this,z),this;case\"column\":if(z===void 0)z=De(this);else if(!N(z))throw new TypeError(\"scale must be an array\");return ce(this,z),this;case void 0:if(z===void 0)z=ye(this);else if(typeof z!=\"number\")throw new TypeError(\"scale must be a number\");return Oe(this,z),this;default:throw new Error(\"invalid option: \".concat(P))}}},{key:\"toString\",value:function(P){return u(this,P)}}],[{key:\"from1DArray\",value:function(P,k,z){if(P*k!==z.length)throw new RangeError(\"data length does not match given dimensions\");for(var Q=new we(P,k),F=0;F<P;F++)for(var V=0;V<k;V++)Q.set(F,V,z[F*k+V]);return Q}},{key:\"rowVector\",value:function(P){for(var k=new we(1,P.length),z=0;z<P.length;z++)k.set(0,z,P[z]);return k}},{key:\"columnVector\",value:function(P){for(var k=new we(P.length,1),z=0;z<P.length;z++)k.set(z,0,P[z]);return k}},{key:\"zeros\",value:function(P,k){return new we(P,k)}},{key:\"ones\",value:function(P,k){return new we(P,k).fill(1)}},{key:\"rand\",value:function(P,k){var z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(ae(z)!==\"object\")throw new TypeError(\"options must be an object\");for(var Q=z.random,F=Q===void 0?Math.random:Q,V=new we(P,k),U=0;U<P;U++)for(var ge=0;ge<k;ge++)V.set(U,ge,F());return V}},{key:\"randInt\",value:function(P,k){var z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(ae(z)!==\"object\")throw new TypeError(\"options must be an object\");var Q=z.min,F=Q===void 0?0:Q,V=z.max,U=V===void 0?1e3:V,ge=z.random,ke=ge===void 0?Math.random:ge;if(!Number.isInteger(F))throw new TypeError(\"min must be an integer\");if(!Number.isInteger(U))throw new TypeError(\"max must be an integer\");if(F>=U)throw new RangeError(\"min must be smaller than max\");for(var St=U-F,Je=new we(P,k),Ot=0;Ot<P;Ot++)for(var It=0;It<k;It++){var jt=F+Math.round(ke()*St);Je.set(Ot,It,jt)}return Je}},{key:\"eye\",value:function(P,k,z){k===void 0&&(k=P),z===void 0&&(z=1);for(var Q=Math.min(P,k),F=this.zeros(P,k),V=0;V<Q;V++)F.set(V,V,z);return F}},{key:\"diag\",value:function(P,k,z){var Q=P.length;k===void 0&&(k=Q),z===void 0&&(z=k);for(var F=Math.min(Q,k,z),V=this.zeros(k,z),U=0;U<F;U++)V.set(U,U,P[U]);return V}},{key:\"min\",value:function(P,k){P=this.checkMatrix(P),k=this.checkMatrix(k);for(var z=P.rows,Q=P.columns,F=new we(z,Q),V=0;V<z;V++)for(var U=0;U<Q;U++)F.set(V,U,Math.min(P.get(V,U),k.get(V,U)));return F}},{key:\"max\",value:function(P,k){P=this.checkMatrix(P),k=this.checkMatrix(k);for(var z=P.rows,Q=P.columns,F=new this(z,Q),V=0;V<z;V++)for(var U=0;U<Q;U++)F.set(V,U,Math.max(P.get(V,U),k.get(V,U)));return F}},{key:\"checkMatrix\",value:function(P){return W.isMatrix(P)?P:new we(P)}},{key:\"isMatrix\",value:function(P){return P!=null&&P.klass===\"Matrix\"}}]),W}();function _e(W,P){return W-P}fe.prototype.klass=\"Matrix\",typeof Symbol!=\"undefined\"&&(fe.prototype[Symbol.for(\"nodejs.util.inspect.custom\")]=function(){return u(this)}),fe.random=fe.rand,fe.randomInt=fe.randInt,fe.diagonal=fe.diag,fe.prototype.diagonal=fe.prototype.diag,fe.identity=fe.eye,fe.prototype.negate=fe.prototype.neg,fe.prototype.tensorProduct=fe.prototype.kroneckerProduct;var be,We,we=function(W){(function(z,Q){if(typeof Q!=\"function\"&&Q!==null)throw new TypeError(\"Super expression must either be null or a function\");z.prototype=Object.create(Q&&Q.prototype,{constructor:{value:z,writable:!0,configurable:!0}}),Object.defineProperty(z,\"prototype\",{writable:!1}),Q&&Ce(z,Q)})(k,W);var P=oe(k);function k(z,Q){var F;if(ve(this,k),F=P.call(this),k.isMatrix(z))return he(F,z.clone());if(Number.isInteger(z)&&z>=0){if(F.data=[],!(Number.isInteger(Q)&&Q>=0))throw new TypeError(\"nColumns must be a positive integer\");for(var V=0;V<z;V++)F.data.push(new Float64Array(Q))}else{if(!N(z))throw new TypeError(\"First argument must be a positive number or an array\");var U=z;if(typeof(Q=(z=U.length)?U[0].length:0)!=\"number\")throw new TypeError(\"Data must be a 2D array with at least one element\");F.data=[];for(var ge=0;ge<z;ge++){if(U[ge].length!==Q)throw new RangeError(\"Inconsistent array dimensions\");if(!U[ge].every(function(ke){return typeof ke==\"number\"}))throw new TypeError(\"Input data contains non-numeric values\");F.data.push(Float64Array.from(U[ge]))}}return F.rows=z,F.columns=Q,F}return se(k,[{key:\"set\",value:function(z,Q,F){return this.data[z][Q]=F,this}},{key:\"get\",value:function(z,Q){return this.data[z][Q]}},{key:\"removeRow\",value:function(z){return l(this,z),this.data.splice(z,1),this.rows-=1,this}},{key:\"addRow\",value:function(z,Q){return Q===void 0&&(Q=z,z=this.rows),l(this,z,!0),Q=Float64Array.from(m(this,Q)),this.data.splice(z,0,Q),this.rows+=1,this}},{key:\"removeColumn\",value:function(z){s(this,z);for(var Q=0;Q<this.rows;Q++){for(var F=new Float64Array(this.columns-1),V=0;V<z;V++)F[V]=this.data[Q][V];for(var U=z+1;U<this.columns;U++)F[U-1]=this.data[Q][U];this.data[Q]=F}return this.columns-=1,this}},{key:\"addColumn\",value:function(z,Q){Q===void 0&&(Q=z,z=this.columns),s(this,z,!0),Q=x(this,Q);for(var F=0;F<this.rows;F++){for(var V=new Float64Array(this.columns+1),U=0;U<z;U++)V[U]=this.data[F][U];for(V[U++]=Q[F];U<this.columns+1;U++)V[U]=this.data[F][U-1];this.data[F]=V}return this.columns+=1,this}}]),k}(fe);function Ze(W){return(Ze=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function Ve(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(Ze(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(Ze(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),Ze(F)===\"symbol\"?F:String(F)),z)}var Q,F}function et(W,P){return(et=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,z){return k.__proto__=z,k})(W,P)}function ht(W){var P=function(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(k){return!1}}();return function(){var k,z=mt(W);if(P){var Q=mt(this).constructor;k=Reflect.construct(z,arguments,Q)}else k=z.apply(this,arguments);return Fe(this,k)}}function Fe(W,P){if(P&&(Ze(P)===\"object\"||typeof P==\"function\"))return P;if(P!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(k){if(k===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return k}(W)}function mt(W){return(mt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(P){return P.__proto__||Object.getPrototypeOf(P)})(W)}We=we,(be=fe).prototype.add=function(W){return typeof W==\"number\"?this.addS(W):this.addM(W)},be.prototype.addS=function(W){for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)+W);return this},be.prototype.addM=function(W){if(W=We.checkMatrix(W),this.rows!==W.rows||this.columns!==W.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)+W.get(P,k));return this},be.add=function(W,P){return new We(W).add(P)},be.prototype.sub=function(W){return typeof W==\"number\"?this.subS(W):this.subM(W)},be.prototype.subS=function(W){for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)-W);return this},be.prototype.subM=function(W){if(W=We.checkMatrix(W),this.rows!==W.rows||this.columns!==W.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)-W.get(P,k));return this},be.sub=function(W,P){return new We(W).sub(P)},be.prototype.subtract=be.prototype.sub,be.prototype.subtractS=be.prototype.subS,be.prototype.subtractM=be.prototype.subM,be.subtract=be.sub,be.prototype.mul=function(W){return typeof W==\"number\"?this.mulS(W):this.mulM(W)},be.prototype.mulS=function(W){for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)*W);return this},be.prototype.mulM=function(W){if(W=We.checkMatrix(W),this.rows!==W.rows||this.columns!==W.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)*W.get(P,k));return this},be.mul=function(W,P){return new We(W).mul(P)},be.prototype.multiply=be.prototype.mul,be.prototype.multiplyS=be.prototype.mulS,be.prototype.multiplyM=be.prototype.mulM,be.multiply=be.mul,be.prototype.div=function(W){return typeof W==\"number\"?this.divS(W):this.divM(W)},be.prototype.divS=function(W){for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)/W);return this},be.prototype.divM=function(W){if(W=We.checkMatrix(W),this.rows!==W.rows||this.columns!==W.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)/W.get(P,k));return this},be.div=function(W,P){return new We(W).div(P)},be.prototype.divide=be.prototype.div,be.prototype.divideS=be.prototype.divS,be.prototype.divideM=be.prototype.divM,be.divide=be.div,be.prototype.mod=function(W){return typeof W==\"number\"?this.modS(W):this.modM(W)},be.prototype.modS=function(W){for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)%W);return this},be.prototype.modM=function(W){if(W=We.checkMatrix(W),this.rows!==W.rows||this.columns!==W.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)%W.get(P,k));return this},be.mod=function(W,P){return new We(W).mod(P)},be.prototype.modulus=be.prototype.mod,be.prototype.modulusS=be.prototype.modS,be.prototype.modulusM=be.prototype.modM,be.modulus=be.mod,be.prototype.and=function(W){return typeof W==\"number\"?this.andS(W):this.andM(W)},be.prototype.andS=function(W){for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)&W);return this},be.prototype.andM=function(W){if(W=We.checkMatrix(W),this.rows!==W.rows||this.columns!==W.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)&W.get(P,k));return this},be.and=function(W,P){return new We(W).and(P)},be.prototype.or=function(W){return typeof W==\"number\"?this.orS(W):this.orM(W)},be.prototype.orS=function(W){for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)|W);return this},be.prototype.orM=function(W){if(W=We.checkMatrix(W),this.rows!==W.rows||this.columns!==W.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)|W.get(P,k));return this},be.or=function(W,P){return new We(W).or(P)},be.prototype.xor=function(W){return typeof W==\"number\"?this.xorS(W):this.xorM(W)},be.prototype.xorS=function(W){for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)^W);return this},be.prototype.xorM=function(W){if(W=We.checkMatrix(W),this.rows!==W.rows||this.columns!==W.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)^W.get(P,k));return this},be.xor=function(W,P){return new We(W).xor(P)},be.prototype.leftShift=function(W){return typeof W==\"number\"?this.leftShiftS(W):this.leftShiftM(W)},be.prototype.leftShiftS=function(W){for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)<<W);return this},be.prototype.leftShiftM=function(W){if(W=We.checkMatrix(W),this.rows!==W.rows||this.columns!==W.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)<<W.get(P,k));return this},be.leftShift=function(W,P){return new We(W).leftShift(P)},be.prototype.signPropagatingRightShift=function(W){return typeof W==\"number\"?this.signPropagatingRightShiftS(W):this.signPropagatingRightShiftM(W)},be.prototype.signPropagatingRightShiftS=function(W){for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)>>W);return this},be.prototype.signPropagatingRightShiftM=function(W){if(W=We.checkMatrix(W),this.rows!==W.rows||this.columns!==W.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)>>W.get(P,k));return this},be.signPropagatingRightShift=function(W,P){return new We(W).signPropagatingRightShift(P)},be.prototype.rightShift=function(W){return typeof W==\"number\"?this.rightShiftS(W):this.rightShiftM(W)},be.prototype.rightShiftS=function(W){for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)>>>W);return this},be.prototype.rightShiftM=function(W){if(W=We.checkMatrix(W),this.rows!==W.rows||this.columns!==W.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)>>>W.get(P,k));return this},be.rightShift=function(W,P){return new We(W).rightShift(P)},be.prototype.zeroFillRightShift=be.prototype.rightShift,be.prototype.zeroFillRightShiftS=be.prototype.rightShiftS,be.prototype.zeroFillRightShiftM=be.prototype.rightShiftM,be.zeroFillRightShift=be.rightShift,be.prototype.not=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,~this.get(W,P));return this},be.not=function(W){return new We(W).not()},be.prototype.abs=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.abs(this.get(W,P)));return this},be.abs=function(W){return new We(W).abs()},be.prototype.acos=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.acos(this.get(W,P)));return this},be.acos=function(W){return new We(W).acos()},be.prototype.acosh=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.acosh(this.get(W,P)));return this},be.acosh=function(W){return new We(W).acosh()},be.prototype.asin=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.asin(this.get(W,P)));return this},be.asin=function(W){return new We(W).asin()},be.prototype.asinh=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.asinh(this.get(W,P)));return this},be.asinh=function(W){return new We(W).asinh()},be.prototype.atan=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.atan(this.get(W,P)));return this},be.atan=function(W){return new We(W).atan()},be.prototype.atanh=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.atanh(this.get(W,P)));return this},be.atanh=function(W){return new We(W).atanh()},be.prototype.cbrt=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.cbrt(this.get(W,P)));return this},be.cbrt=function(W){return new We(W).cbrt()},be.prototype.ceil=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.ceil(this.get(W,P)));return this},be.ceil=function(W){return new We(W).ceil()},be.prototype.clz32=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.clz32(this.get(W,P)));return this},be.clz32=function(W){return new We(W).clz32()},be.prototype.cos=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.cos(this.get(W,P)));return this},be.cos=function(W){return new We(W).cos()},be.prototype.cosh=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.cosh(this.get(W,P)));return this},be.cosh=function(W){return new We(W).cosh()},be.prototype.exp=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.exp(this.get(W,P)));return this},be.exp=function(W){return new We(W).exp()},be.prototype.expm1=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.expm1(this.get(W,P)));return this},be.expm1=function(W){return new We(W).expm1()},be.prototype.floor=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.floor(this.get(W,P)));return this},be.floor=function(W){return new We(W).floor()},be.prototype.fround=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.fround(this.get(W,P)));return this},be.fround=function(W){return new We(W).fround()},be.prototype.log=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.log(this.get(W,P)));return this},be.log=function(W){return new We(W).log()},be.prototype.log1p=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.log1p(this.get(W,P)));return this},be.log1p=function(W){return new We(W).log1p()},be.prototype.log10=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.log10(this.get(W,P)));return this},be.log10=function(W){return new We(W).log10()},be.prototype.log2=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.log2(this.get(W,P)));return this},be.log2=function(W){return new We(W).log2()},be.prototype.round=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.round(this.get(W,P)));return this},be.round=function(W){return new We(W).round()},be.prototype.sign=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.sign(this.get(W,P)));return this},be.sign=function(W){return new We(W).sign()},be.prototype.sin=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.sin(this.get(W,P)));return this},be.sin=function(W){return new We(W).sin()},be.prototype.sinh=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.sinh(this.get(W,P)));return this},be.sinh=function(W){return new We(W).sinh()},be.prototype.sqrt=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.sqrt(this.get(W,P)));return this},be.sqrt=function(W){return new We(W).sqrt()},be.prototype.tan=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.tan(this.get(W,P)));return this},be.tan=function(W){return new We(W).tan()},be.prototype.tanh=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.tanh(this.get(W,P)));return this},be.tanh=function(W){return new We(W).tanh()},be.prototype.trunc=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.trunc(this.get(W,P)));return this},be.trunc=function(W){return new We(W).trunc()},be.pow=function(W,P){return new We(W).pow(P)},be.prototype.pow=function(W){return typeof W==\"number\"?this.powS(W):this.powM(W)},be.prototype.powS=function(W){for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,Math.pow(this.get(P,k),W));return this},be.prototype.powM=function(W){if(W=We.checkMatrix(W),this.rows!==W.rows||this.columns!==W.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,Math.pow(this.get(P,k),W.get(P,k)));return this};var dt=function(W){(function(V,U){if(typeof U!=\"function\"&&U!==null)throw new TypeError(\"Super expression must either be null or a function\");V.prototype=Object.create(U&&U.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),Object.defineProperty(V,\"prototype\",{writable:!1}),U&&et(V,U)})(F,W);var P,k,z,Q=ht(F);function F(V,U,ge){var ke;return function(St,Je){if(!(St instanceof Je))throw new TypeError(\"Cannot call a class as a function\")}(this,F),(ke=Q.call(this)).matrix=V,ke.rows=U,ke.columns=ge,ke}return P=F,k&&Ve(P.prototype,k),z&&Ve(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),P}(fe);function Lt(W){return(Lt=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function lt(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(Lt(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(Lt(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),Lt(F)===\"symbol\"?F:String(F)),z)}var Q,F}function rn(W,P){return(rn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,z){return k.__proto__=z,k})(W,P)}function qt(W){var P=function(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(k){return!1}}();return function(){var k,z=Kt(W);if(P){var Q=Kt(this).constructor;k=Reflect.construct(z,arguments,Q)}else k=z.apply(this,arguments);return hn(this,k)}}function hn(W,P){if(P&&(Lt(P)===\"object\"||typeof P==\"function\"))return P;if(P!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(k){if(k===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return k}(W)}function Kt(W){return(Kt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(P){return P.__proto__||Object.getPrototypeOf(P)})(W)}var an=function(W){(function(V,U){if(typeof U!=\"function\"&&U!==null)throw new TypeError(\"Super expression must either be null or a function\");V.prototype=Object.create(U&&U.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),Object.defineProperty(V,\"prototype\",{writable:!1}),U&&rn(V,U)})(F,W);var P,k,z,Q=qt(F);function F(V,U){var ge;return function(ke,St){if(!(ke instanceof St))throw new TypeError(\"Cannot call a class as a function\")}(this,F),s(V,U),(ge=Q.call(this,V,V.rows,1)).column=U,ge}return P=F,(k=[{key:\"set\",value:function(V,U,ge){return this.matrix.set(V,this.column,ge),this}},{key:\"get\",value:function(V){return this.matrix.get(V,this.column)}}])&&lt(P.prototype,k),z&&lt(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),F}(dt);function In(W){return(In=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function Ft(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(In(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(In(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),In(F)===\"symbol\"?F:String(F)),z)}var Q,F}function kt(W,P){return(kt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,z){return k.__proto__=z,k})(W,P)}function At(W){var P=function(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(k){return!1}}();return function(){var k,z=pn(W);if(P){var Q=pn(this).constructor;k=Reflect.construct(z,arguments,Q)}else k=z.apply(this,arguments);return Fn(this,k)}}function Fn(W,P){if(P&&(In(P)===\"object\"||typeof P==\"function\"))return P;if(P!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(k){if(k===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return k}(W)}function pn(W){return(pn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(P){return P.__proto__||Object.getPrototypeOf(P)})(W)}var en=function(W){(function(V,U){if(typeof U!=\"function\"&&U!==null)throw new TypeError(\"Super expression must either be null or a function\");V.prototype=Object.create(U&&U.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),Object.defineProperty(V,\"prototype\",{writable:!1}),U&&kt(V,U)})(F,W);var P,k,z,Q=At(F);function F(V,U){var ge;return function(ke,St){if(!(ke instanceof St))throw new TypeError(\"Cannot call a class as a function\")}(this,F),E(V,U),(ge=Q.call(this,V,V.rows,U.length)).columnIndices=U,ge}return P=F,(k=[{key:\"set\",value:function(V,U,ge){return this.matrix.set(V,this.columnIndices[U],ge),this}},{key:\"get\",value:function(V,U){return this.matrix.get(V,this.columnIndices[U])}}])&&Ft(P.prototype,k),z&&Ft(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),F}(dt);function Wn(W){return(Wn=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function Mn(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(Wn(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(Wn(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),Wn(F)===\"symbol\"?F:String(F)),z)}var Q,F}function Kn(W,P){return(Kn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,z){return k.__proto__=z,k})(W,P)}function hr(W){var P=function(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(k){return!1}}();return function(){var k,z=zr(W);if(P){var Q=zr(this).constructor;k=Reflect.construct(z,arguments,Q)}else k=z.apply(this,arguments);return pr(this,k)}}function pr(W,P){if(P&&(Wn(P)===\"object\"||typeof P==\"function\"))return P;if(P!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(k){if(k===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return k}(W)}function zr(W){return(zr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(P){return P.__proto__||Object.getPrototypeOf(P)})(W)}var Wr=function(W){(function(V,U){if(typeof U!=\"function\"&&U!==null)throw new TypeError(\"Super expression must either be null or a function\");V.prototype=Object.create(U&&U.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),Object.defineProperty(V,\"prototype\",{writable:!1}),U&&Kn(V,U)})(F,W);var P,k,z,Q=hr(F);function F(V){return function(U,ge){if(!(U instanceof ge))throw new TypeError(\"Cannot call a class as a function\")}(this,F),Q.call(this,V,V.rows,V.columns)}return P=F,(k=[{key:\"set\",value:function(V,U,ge){return this.matrix.set(V,this.columns-U-1,ge),this}},{key:\"get\",value:function(V,U){return this.matrix.get(V,this.columns-U-1)}}])&&Mn(P.prototype,k),z&&Mn(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),F}(dt);function Nr(W){return(Nr=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function Kr(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(Nr(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(Nr(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),Nr(F)===\"symbol\"?F:String(F)),z)}var Q,F}function ko(W,P){return(ko=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,z){return k.__proto__=z,k})(W,P)}function Ur(W){var P=function(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(k){return!1}}();return function(){var k,z=Gt(W);if(P){var Q=Gt(this).constructor;k=Reflect.construct(z,arguments,Q)}else k=z.apply(this,arguments);return gn(this,k)}}function gn(W,P){if(P&&(Nr(P)===\"object\"||typeof P==\"function\"))return P;if(P!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(k){if(k===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return k}(W)}function Gt(W){return(Gt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(P){return P.__proto__||Object.getPrototypeOf(P)})(W)}var bt=function(W){(function(V,U){if(typeof U!=\"function\"&&U!==null)throw new TypeError(\"Super expression must either be null or a function\");V.prototype=Object.create(U&&U.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),Object.defineProperty(V,\"prototype\",{writable:!1}),U&&ko(V,U)})(F,W);var P,k,z,Q=Ur(F);function F(V){return function(U,ge){if(!(U instanceof ge))throw new TypeError(\"Cannot call a class as a function\")}(this,F),Q.call(this,V,V.rows,V.columns)}return P=F,(k=[{key:\"set\",value:function(V,U,ge){return this.matrix.set(this.rows-V-1,U,ge),this}},{key:\"get\",value:function(V,U){return this.matrix.get(this.rows-V-1,U)}}])&&Kr(P.prototype,k),z&&Kr(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),F}(dt);function Zt(W){return(Zt=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function gt(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(Zt(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(Zt(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),Zt(F)===\"symbol\"?F:String(F)),z)}var Q,F}function Wt(W,P){return(Wt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,z){return k.__proto__=z,k})(W,P)}function xn(W){var P=function(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(k){return!1}}();return function(){var k,z=Xn(W);if(P){var Q=Xn(this).constructor;k=Reflect.construct(z,arguments,Q)}else k=z.apply(this,arguments);return Dt(this,k)}}function Dt(W,P){if(P&&(Zt(P)===\"object\"||typeof P==\"function\"))return P;if(P!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(k){if(k===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return k}(W)}function Xn(W){return(Xn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(P){return P.__proto__||Object.getPrototypeOf(P)})(W)}var Rn=function(W){(function(V,U){if(typeof U!=\"function\"&&U!==null)throw new TypeError(\"Super expression must either be null or a function\");V.prototype=Object.create(U&&U.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),Object.defineProperty(V,\"prototype\",{writable:!1}),U&&Wt(V,U)})(F,W);var P,k,z,Q=xn(F);function F(V,U){var ge;return function(ke,St){if(!(ke instanceof St))throw new TypeError(\"Cannot call a class as a function\")}(this,F),l(V,U),(ge=Q.call(this,V,1,V.columns)).row=U,ge}return P=F,(k=[{key:\"set\",value:function(V,U,ge){return this.matrix.set(this.row,U,ge),this}},{key:\"get\",value:function(V,U){return this.matrix.get(this.row,U)}}])&&gt(P.prototype,k),z&&gt(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),F}(dt);function wt(W){return(wt=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function pt(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(wt(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(wt(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),wt(F)===\"symbol\"?F:String(F)),z)}var Q,F}function Ue(W,P){return(Ue=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,z){return k.__proto__=z,k})(W,P)}function xt(W){var P=function(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(k){return!1}}();return function(){var k,z=er(W);if(P){var Q=er(this).constructor;k=Reflect.construct(z,arguments,Q)}else k=z.apply(this,arguments);return cn(this,k)}}function cn(W,P){if(P&&(wt(P)===\"object\"||typeof P==\"function\"))return P;if(P!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(k){if(k===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return k}(W)}function er(W){return(er=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(P){return P.__proto__||Object.getPrototypeOf(P)})(W)}var Mr=function(W){(function(V,U){if(typeof U!=\"function\"&&U!==null)throw new TypeError(\"Super expression must either be null or a function\");V.prototype=Object.create(U&&U.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),Object.defineProperty(V,\"prototype\",{writable:!1}),U&&Ue(V,U)})(F,W);var P,k,z,Q=xt(F);function F(V,U){var ge;return function(ke,St){if(!(ke instanceof St))throw new TypeError(\"Cannot call a class as a function\")}(this,F),M(V,U),(ge=Q.call(this,V,U.length,V.columns)).rowIndices=U,ge}return P=F,(k=[{key:\"set\",value:function(V,U,ge){return this.matrix.set(this.rowIndices[V],U,ge),this}},{key:\"get\",value:function(V,U){return this.matrix.get(this.rowIndices[V],U)}}])&&pt(P.prototype,k),z&&pt(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),F}(dt);function xr(W){return(xr=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function jr(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(xr(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(xr(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),xr(F)===\"symbol\"?F:String(F)),z)}var Q,F}function yo(W,P){return(yo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,z){return k.__proto__=z,k})(W,P)}function eo(W){var P=function(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(k){return!1}}();return function(){var k,z=Ti(W);if(P){var Q=Ti(this).constructor;k=Reflect.construct(z,arguments,Q)}else k=z.apply(this,arguments);return vi(this,k)}}function vi(W,P){if(P&&(xr(P)===\"object\"||typeof P==\"function\"))return P;if(P!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(k){if(k===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return k}(W)}function Ti(W){return(Ti=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(P){return P.__proto__||Object.getPrototypeOf(P)})(W)}var wi=function(W){(function(V,U){if(typeof U!=\"function\"&&U!==null)throw new TypeError(\"Super expression must either be null or a function\");V.prototype=Object.create(U&&U.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),Object.defineProperty(V,\"prototype\",{writable:!1}),U&&yo(V,U)})(F,W);var P,k,z,Q=eo(F);function F(V,U,ge){var ke;return function(St,Je){if(!(St instanceof Je))throw new TypeError(\"Cannot call a class as a function\")}(this,F),M(V,U),E(V,ge),(ke=Q.call(this,V,U.length,ge.length)).rowIndices=U,ke.columnIndices=ge,ke}return P=F,(k=[{key:\"set\",value:function(V,U,ge){return this.matrix.set(this.rowIndices[V],this.columnIndices[U],ge),this}},{key:\"get\",value:function(V,U){return this.matrix.get(this.rowIndices[V],this.columnIndices[U])}}])&&jr(P.prototype,k),z&&jr(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),F}(dt);function mi(W){return(mi=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function Zi(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(mi(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(mi(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),mi(F)===\"symbol\"?F:String(F)),z)}var Q,F}function aa(W,P){return(aa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,z){return k.__proto__=z,k})(W,P)}function $e(W){var P=function(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(k){return!1}}();return function(){var k,z=Un(W);if(P){var Q=Un(this).constructor;k=Reflect.construct(z,arguments,Q)}else k=z.apply(this,arguments);return dn(this,k)}}function dn(W,P){if(P&&(mi(P)===\"object\"||typeof P==\"function\"))return P;if(P!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(k){if(k===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return k}(W)}function Un(W){return(Un=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(P){return P.__proto__||Object.getPrototypeOf(P)})(W)}var ar=function(W){(function(V,U){if(typeof U!=\"function\"&&U!==null)throw new TypeError(\"Super expression must either be null or a function\");V.prototype=Object.create(U&&U.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),Object.defineProperty(V,\"prototype\",{writable:!1}),U&&aa(V,U)})(F,W);var P,k,z,Q=$e(F);function F(V,U,ge,ke,St){var Je;return function(Ot,It){if(!(Ot instanceof It))throw new TypeError(\"Cannot call a class as a function\")}(this,F),j(V,U,ge,ke,St),(Je=Q.call(this,V,ge-U+1,St-ke+1)).startRow=U,Je.startColumn=ke,Je}return P=F,(k=[{key:\"set\",value:function(V,U,ge){return this.matrix.set(this.startRow+V,this.startColumn+U,ge),this}},{key:\"get\",value:function(V,U){return this.matrix.get(this.startRow+V,this.startColumn+U)}}])&&Zi(P.prototype,k),z&&Zi(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),F}(dt);function Rr(W){return(Rr=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function Ro(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(Rr(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(Rr(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),Rr(F)===\"symbol\"?F:String(F)),z)}var Q,F}function Vo(W,P){return(Vo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,z){return k.__proto__=z,k})(W,P)}function Co(W){var P=function(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(k){return!1}}();return function(){var k,z=qo(W);if(P){var Q=qo(this).constructor;k=Reflect.construct(z,arguments,Q)}else k=z.apply(this,arguments);return Mo(this,k)}}function Mo(W,P){if(P&&(Rr(P)===\"object\"||typeof P==\"function\"))return P;if(P!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(k){if(k===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return k}(W)}function qo(W){return(qo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(P){return P.__proto__||Object.getPrototypeOf(P)})(W)}var ti=function(W){(function(V,U){if(typeof U!=\"function\"&&U!==null)throw new TypeError(\"Super expression must either be null or a function\");V.prototype=Object.create(U&&U.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),Object.defineProperty(V,\"prototype\",{writable:!1}),U&&Vo(V,U)})(F,W);var P,k,z,Q=Co(F);function F(V){return function(U,ge){if(!(U instanceof ge))throw new TypeError(\"Cannot call a class as a function\")}(this,F),Q.call(this,V,V.columns,V.rows)}return P=F,(k=[{key:\"set\",value:function(V,U,ge){return this.matrix.set(U,V,ge),this}},{key:\"get\",value:function(V,U){return this.matrix.get(U,V)}}])&&Ro(P.prototype,k),z&&Ro(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),F}(dt);function pi(W){return(pi=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function ni(W,P){if(!(W instanceof P))throw new TypeError(\"Cannot call a class as a function\")}function si(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(pi(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(pi(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),pi(F)===\"symbol\"?F:String(F)),z)}var Q,F}function Oi(W,P){return(Oi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,z){return k.__proto__=z,k})(W,P)}function Ki(W){var P=function(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(k){return!1}}();return function(){var k,z=zi(W);if(P){var Q=zi(this).constructor;k=Reflect.construct(z,arguments,Q)}else k=z.apply(this,arguments);return ca(this,k)}}function ca(W,P){if(P&&(pi(P)===\"object\"||typeof P==\"function\"))return P;if(P!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(k){if(k===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return k}(W)}function zi(W){return(zi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(P){return P.__proto__||Object.getPrototypeOf(P)})(W)}var br=function(W){(function(V,U){if(typeof U!=\"function\"&&U!==null)throw new TypeError(\"Super expression must either be null or a function\");V.prototype=Object.create(U&&U.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),Object.defineProperty(V,\"prototype\",{writable:!1}),U&&Oi(V,U)})(F,W);var P,k,z,Q=Ki(F);function F(V){var U,ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ni(this,F);var ke=ge.rows,St=ke===void 0?1:ke;if(V.length%St!=0)throw new Error(\"the data length is not divisible by the number of rows\");return(U=Q.call(this)).rows=St,U.columns=V.length/St,U.data=V,U}return P=F,(k=[{key:\"set\",value:function(V,U,ge){var ke=this._calculateIndex(V,U);return this.data[ke]=ge,this}},{key:\"get\",value:function(V,U){var ge=this._calculateIndex(V,U);return this.data[ge]}},{key:\"_calculateIndex\",value:function(V,U){return V*this.columns+U}}])&&si(P.prototype,k),z&&si(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),F}(fe);function Re(W){return(Re=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function je(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(Re(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(Re(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),Re(F)===\"symbol\"?F:String(F)),z)}var Q,F}function nt(W,P){return(nt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,z){return k.__proto__=z,k})(W,P)}function rt(W){var P=function(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(k){return!1}}();return function(){var k,z=fn(W);if(P){var Q=fn(this).constructor;k=Reflect.construct(z,arguments,Q)}else k=z.apply(this,arguments);return Xt(this,k)}}function Xt(W,P){if(P&&(Re(P)===\"object\"||typeof P==\"function\"))return P;if(P!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(k){if(k===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return k}(W)}function fn(W){return(fn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(P){return P.__proto__||Object.getPrototypeOf(P)})(W)}var Cn=function(W){(function(V,U){if(typeof U!=\"function\"&&U!==null)throw new TypeError(\"Super expression must either be null or a function\");V.prototype=Object.create(U&&U.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),Object.defineProperty(V,\"prototype\",{writable:!1}),U&&nt(V,U)})(F,W);var P,k,z,Q=rt(F);function F(V){var U;return function(ge,ke){if(!(ge instanceof ke))throw new TypeError(\"Cannot call a class as a function\")}(this,F),(U=Q.call(this)).data=V,U.rows=V.length,U.columns=V[0].length,U}return P=F,(k=[{key:\"set\",value:function(V,U,ge){return this.data[V][U]=ge,this}},{key:\"get\",value:function(V,U){return this.data[V][U]}}])&&je(P.prototype,k),z&&je(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),F}(fe);function Yn(W,P){if(N(W))return W[0]&&N(W[0])?new Cn(W):new br(W,P);throw new Error(\"the argument is not an array\")}function Ae(W){return(Ae=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function Ke(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(Ae(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(Ae(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),Ae(F)===\"symbol\"?F:String(F)),z)}var Q,F}var Mt=function(){function W(Q){(function(Vn,zt){if(!(Vn instanceof zt))throw new TypeError(\"Cannot call a class as a function\")})(this,W);var F,V,U,ge,ke,St,Je,Ot,It,jt=(Q=Cn.checkMatrix(Q)).clone(),Vt=jt.rows,Pn=jt.columns,Jn=new Float64Array(Vt),vn=1;for(F=0;F<Vt;F++)Jn[F]=F;for(Ot=new Float64Array(Vt),V=0;V<Pn;V++){for(F=0;F<Vt;F++)Ot[F]=jt.get(F,V);for(F=0;F<Vt;F++){for(It=Math.min(F,V),ke=0,U=0;U<It;U++)ke+=jt.get(F,U)*Ot[U];Ot[F]-=ke,jt.set(F,V,Ot[F])}for(ge=V,F=V+1;F<Vt;F++)Math.abs(Ot[F])>Math.abs(Ot[ge])&&(ge=F);if(ge!==V){for(U=0;U<Pn;U++)St=jt.get(ge,U),jt.set(ge,U,jt.get(V,U)),jt.set(V,U,St);Je=Jn[ge],Jn[ge]=Jn[V],Jn[V]=Je,vn=-vn}if(V<Vt&&jt.get(V,V)!==0)for(F=V+1;F<Vt;F++)jt.set(F,V,jt.get(F,V)/jt.get(V,V))}this.LU=jt,this.pivotVector=Jn,this.pivotSign=vn}var P,k,z;return P=W,(k=[{key:\"isSingular\",value:function(){for(var Q=this.LU,F=Q.columns,V=0;V<F;V++)if(Q.get(V,V)===0)return!0;return!1}},{key:\"solve\",value:function(Q){Q=we.checkMatrix(Q);var F=this.LU;if(F.rows!==Q.rows)throw new Error(\"Invalid matrix dimensions\");if(this.isSingular())throw new Error(\"LU matrix is singular\");var V,U,ge,ke=Q.columns,St=Q.subMatrixRow(this.pivotVector,0,ke-1),Je=F.columns;for(ge=0;ge<Je;ge++)for(V=ge+1;V<Je;V++)for(U=0;U<ke;U++)St.set(V,U,St.get(V,U)-St.get(ge,U)*F.get(V,ge));for(ge=Je-1;ge>=0;ge--){for(U=0;U<ke;U++)St.set(ge,U,St.get(ge,U)/F.get(ge,ge));for(V=0;V<ge;V++)for(U=0;U<ke;U++)St.set(V,U,St.get(V,U)-St.get(ge,U)*F.get(V,ge))}return St}},{key:\"determinant\",get:function(){var Q=this.LU;if(!Q.isSquare())throw new Error(\"Matrix must be square\");for(var F=this.pivotSign,V=Q.columns,U=0;U<V;U++)F*=Q.get(U,U);return F}},{key:\"lowerTriangularMatrix\",get:function(){for(var Q=this.LU,F=Q.rows,V=Q.columns,U=new we(F,V),ge=0;ge<F;ge++)for(var ke=0;ke<V;ke++)ge>ke?U.set(ge,ke,Q.get(ge,ke)):ge===ke?U.set(ge,ke,1):U.set(ge,ke,0);return U}},{key:\"upperTriangularMatrix\",get:function(){for(var Q=this.LU,F=Q.rows,V=Q.columns,U=new we(F,V),ge=0;ge<F;ge++)for(var ke=0;ke<V;ke++)ge<=ke?U.set(ge,ke,Q.get(ge,ke)):U.set(ge,ke,0);return U}},{key:\"pivotPermutationVector\",get:function(){return Array.from(this.pivotVector)}}])&&Ke(P.prototype,k),z&&Ke(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),W}();function Ut(W,P){var k=0;return Math.abs(W)>Math.abs(P)?(k=P/W,Math.abs(W)*Math.sqrt(1+k*k)):P!==0?(k=W/P,Math.abs(P)*Math.sqrt(1+k*k)):0}function kn(W){return(kn=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function Zn(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(kn(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(kn(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),kn(F)===\"symbol\"?F:String(F)),z)}var Q,F}var lr=function(){function W(Q){(function(jt,Vt){if(!(jt instanceof Vt))throw new TypeError(\"Cannot call a class as a function\")})(this,W);var F,V,U,ge,ke=(Q=Cn.checkMatrix(Q)).clone(),St=Q.rows,Je=Q.columns,Ot=new Float64Array(Je);for(U=0;U<Je;U++){var It=0;for(F=U;F<St;F++)It=Ut(It,ke.get(F,U));if(It!==0){for(ke.get(U,U)<0&&(It=-It),F=U;F<St;F++)ke.set(F,U,ke.get(F,U)/It);for(ke.set(U,U,ke.get(U,U)+1),V=U+1;V<Je;V++){for(ge=0,F=U;F<St;F++)ge+=ke.get(F,U)*ke.get(F,V);for(ge=-ge/ke.get(U,U),F=U;F<St;F++)ke.set(F,V,ke.get(F,V)+ge*ke.get(F,U))}}Ot[U]=-It}this.QR=ke,this.Rdiag=Ot}var P,k,z;return P=W,(k=[{key:\"solve\",value:function(Q){Q=we.checkMatrix(Q);var F=this.QR,V=F.rows;if(Q.rows!==V)throw new Error(\"Matrix row dimensions must agree\");if(!this.isFullRank())throw new Error(\"Matrix is rank deficient\");var U,ge,ke,St,Je=Q.columns,Ot=Q.clone(),It=F.columns;for(ke=0;ke<It;ke++)for(ge=0;ge<Je;ge++){for(St=0,U=ke;U<V;U++)St+=F.get(U,ke)*Ot.get(U,ge);for(St=-St/F.get(ke,ke),U=ke;U<V;U++)Ot.set(U,ge,Ot.get(U,ge)+St*F.get(U,ke))}for(ke=It-1;ke>=0;ke--){for(ge=0;ge<Je;ge++)Ot.set(ke,ge,Ot.get(ke,ge)/this.Rdiag[ke]);for(U=0;U<ke;U++)for(ge=0;ge<Je;ge++)Ot.set(U,ge,Ot.get(U,ge)-Ot.get(ke,ge)*F.get(U,ke))}return Ot.subMatrix(0,It-1,0,Je-1)}},{key:\"isFullRank\",value:function(){for(var Q=this.QR.columns,F=0;F<Q;F++)if(this.Rdiag[F]===0)return!1;return!0}},{key:\"upperTriangularMatrix\",get:function(){var Q,F,V=this.QR,U=V.columns,ge=new we(U,U);for(Q=0;Q<U;Q++)for(F=0;F<U;F++)Q<F?ge.set(Q,F,V.get(Q,F)):Q===F?ge.set(Q,F,this.Rdiag[Q]):ge.set(Q,F,0);return ge}},{key:\"orthogonalMatrix\",get:function(){var Q,F,V,U,ge=this.QR,ke=ge.rows,St=ge.columns,Je=new we(ke,St);for(V=St-1;V>=0;V--){for(Q=0;Q<ke;Q++)Je.set(Q,V,0);for(Je.set(V,V,1),F=V;F<St;F++)if(ge.get(V,V)!==0){for(U=0,Q=V;Q<ke;Q++)U+=ge.get(Q,V)*Je.get(Q,F);for(U=-U/ge.get(V,V),Q=V;Q<ke;Q++)Je.set(Q,F,Je.get(Q,F)+U*ge.get(Q,V))}}return Je}}])&&Zn(P.prototype,k),z&&Zn(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),W}();function wr(W){return(wr=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function Dr(W,P){if(!(W instanceof P))throw new TypeError(\"Cannot call a class as a function\")}function go(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(wr(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(wr(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),wr(F)===\"symbol\"?F:String(F)),z)}var Q,F}var Ir=function(){function W(Q){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Dr(this,W),(Q=Cn.checkMatrix(Q)).isEmpty())throw new Error(\"Matrix must be non-empty\");var V,U=Q.rows,ge=Q.columns,ke=F.computeLeftSingularVectors,St=ke===void 0||ke,Je=F.computeRightSingularVectors,Ot=Je===void 0||Je,It=F.autoTranspose,jt=It!==void 0&&It,Vt=Boolean(St),Pn=Boolean(Ot),Jn=!1;if(U<ge)if(jt){U=(V=Q.transpose()).rows,ge=V.columns,Jn=!0;var vn=Vt;Vt=Pn,Pn=vn}else V=Q.clone(),console.warn(\"Computing SVD on a matrix with more columns than rows. Consider enabling autoTranspose\");else V=Q.clone();for(var Vn=Math.min(U,ge),zt=Math.min(U+1,ge),ir=new Float64Array(zt),nr=new we(U,Vn),ur=new we(ge,ge),sr=new Float64Array(ge),Ln=new Float64Array(U),Bt=new Float64Array(zt),En=0;En<zt;En++)Bt[En]=En;for(var _n=Math.min(U-1,ge),cr=Math.max(0,Math.min(ge-2,U)),ao=Math.max(_n,cr),kr=0;kr<ao;kr++){if(kr<_n){ir[kr]=0;for(var jo=kr;jo<U;jo++)ir[kr]=Ut(ir[kr],V.get(jo,kr));if(ir[kr]!==0){V.get(kr,kr)<0&&(ir[kr]=-ir[kr]);for(var ui=kr;ui<U;ui++)V.set(ui,kr,V.get(ui,kr)/ir[kr]);V.set(kr,kr,V.get(kr,kr)+1)}ir[kr]=-ir[kr]}for(var Vr=kr+1;Vr<ge;Vr++){if(kr<_n&&ir[kr]!==0){for(var ho=0,vo=kr;vo<U;vo++)ho+=V.get(vo,kr)*V.get(vo,Vr);ho=-ho/V.get(kr,kr);for(var uo=kr;uo<U;uo++)V.set(uo,Vr,V.get(uo,Vr)+ho*V.get(uo,kr))}sr[Vr]=V.get(kr,Vr)}if(Vt&&kr<_n)for(var Go=kr;Go<U;Go++)nr.set(Go,kr,V.get(Go,kr));if(kr<cr){sr[kr]=0;for(var Pi=kr+1;Pi<ge;Pi++)sr[kr]=Ut(sr[kr],sr[Pi]);if(sr[kr]!==0){sr[kr+1]<0&&(sr[kr]=0-sr[kr]);for(var la=kr+1;la<ge;la++)sr[la]/=sr[kr];sr[kr+1]+=1}if(sr[kr]=-sr[kr],kr+1<U&&sr[kr]!==0){for(var Vi=kr+1;Vi<U;Vi++)Ln[Vi]=0;for(var ha=kr+1;ha<U;ha++)for(var xa=kr+1;xa<ge;xa++)Ln[ha]+=sr[xa]*V.get(ha,xa);for(var qi=kr+1;qi<ge;qi++)for(var Jo=-sr[qi]/sr[kr+1],Ji=kr+1;Ji<U;Ji++)V.set(Ji,qi,V.get(Ji,qi)+Jo*Ln[Ji])}if(Pn)for(var Yi=kr+1;Yi<ge;Yi++)ur.set(Yi,kr,sr[Yi])}}var Ii=Math.min(ge,U+1);if(_n<ge&&(ir[_n]=V.get(_n,_n)),U<Ii&&(ir[Ii-1]=0),cr+1<Ii&&(sr[cr]=V.get(cr,Ii-1)),sr[Ii-1]=0,Vt){for(var pa=_n;pa<Vn;pa++){for(var na=0;na<U;na++)nr.set(na,pa,0);nr.set(pa,pa,1)}for(var $i=_n-1;$i>=0;$i--)if(ir[$i]!==0){for(var La=$i+1;La<Vn;La++){for(var ss=0,Oa=$i;Oa<U;Oa++)ss+=nr.get(Oa,$i)*nr.get(Oa,La);ss=-ss/nr.get($i,$i);for(var Ma=$i;Ma<U;Ma++)nr.set(Ma,La,nr.get(Ma,La)+ss*nr.get(Ma,$i))}for(var Ka=$i;Ka<U;Ka++)nr.set(Ka,$i,-nr.get(Ka,$i));nr.set($i,$i,1+nr.get($i,$i));for(var Ba=0;Ba<$i-1;Ba++)nr.set(Ba,$i,0)}else{for(var Ua=0;Ua<U;Ua++)nr.set(Ua,$i,0);nr.set($i,$i,1)}}if(Pn)for(var Va=ge-1;Va>=0;Va--){if(Va<cr&&sr[Va]!==0)for(var Ls=Va+1;Ls<ge;Ls++){for(var Qo=0,ws=Va+1;ws<ge;ws++)Qo+=ur.get(ws,Va)*ur.get(ws,Ls);Qo=-Qo/ur.get(Va+1,Va);for(var Za=Va+1;Za<ge;Za++)ur.set(Za,Ls,ur.get(Za,Ls)+Qo*ur.get(Za,Va))}for(var rr=0;rr<ge;rr++)ur.set(rr,Va,0);ur.set(Va,Va,1)}for(var Eo=Ii-1,Br=Number.EPSILON;Ii>0;){var Ao=void 0,Di=void 0;for(Ao=Ii-2;Ao>=-1&&Ao!==-1;Ao--){var Aa=Number.MIN_VALUE+Br*Math.abs(ir[Ao]+Math.abs(ir[Ao+1]));if(Math.abs(sr[Ao])<=Aa||Number.isNaN(sr[Ao])){sr[Ao]=0;break}}if(Ao===Ii-2)Di=4;else{var Na=void 0;for(Na=Ii-1;Na>=Ao&&Na!==Ao;Na--){var Fa=(Na!==Ii?Math.abs(sr[Na]):0)+(Na!==Ao+1?Math.abs(sr[Na-1]):0);if(Math.abs(ir[Na])<=Br*Fa){ir[Na]=0;break}}Na===Ao?Di=3:Na===Ii-1?Di=1:(Di=2,Ao=Na)}switch(Ao++,Di){case 1:var Bs=sr[Ii-2];sr[Ii-2]=0;for(var Ms=Ii-2;Ms>=Ao;Ms--){var Qa=Ut(ir[Ms],Bs),us=ir[Ms]/Qa,Fs=Bs/Qa;if(ir[Ms]=Qa,Ms!==Ao&&(Bs=-Fs*sr[Ms-1],sr[Ms-1]=us*sr[Ms-1]),Pn)for(var $a=0;$a<ge;$a++)Qa=us*ur.get($a,Ms)+Fs*ur.get($a,Ii-1),ur.set($a,Ii-1,-Fs*ur.get($a,Ms)+us*ur.get($a,Ii-1)),ur.set($a,Ms,Qa)}break;case 2:var Hs=sr[Ao-1];sr[Ao-1]=0;for(var ys=Ao;ys<Ii;ys++){var sa=Ut(ir[ys],Hs),Xa=ir[ys]/sa,os=Hs/sa;if(ir[ys]=sa,Hs=-os*sr[ys],sr[ys]=Xa*sr[ys],Vt)for(var As=0;As<U;As++)sa=Xa*nr.get(As,ys)+os*nr.get(As,Ao-1),nr.set(As,Ao-1,-os*nr.get(As,ys)+Xa*nr.get(As,Ao-1)),nr.set(As,ys,sa)}break;case 3:var oa=Math.max(Math.abs(ir[Ii-1]),Math.abs(ir[Ii-2]),Math.abs(sr[Ii-2]),Math.abs(ir[Ao]),Math.abs(sr[Ao])),di=ir[Ii-1]/oa,ia=ir[Ii-2]/oa,_i=sr[Ii-2]/oa,gi=ir[Ao]/oa,fa=sr[Ao]/oa,Pa=((ia+di)*(ia-di)+_i*_i)/2,xs=di*_i*(di*_i),Li=0;Pa===0&&xs===0||(Li=xs/(Pa+(Li=Pa<0?0-Math.sqrt(Pa*Pa+xs):Math.sqrt(Pa*Pa+xs))));for(var vs=(gi+di)*(gi-di)+Li,Ca=gi*fa,ra=Ao;ra<Ii-1;ra++){var Ja=Ut(vs,Ca);Ja===0&&(Ja=Number.MIN_VALUE);var qa=vs/Ja,Ts=Ca/Ja;if(ra!==Ao&&(sr[ra-1]=Ja),vs=qa*ir[ra]+Ts*sr[ra],sr[ra]=qa*sr[ra]-Ts*ir[ra],Ca=Ts*ir[ra+1],ir[ra+1]=qa*ir[ra+1],Pn)for(var v=0;v<ge;v++)Ja=qa*ur.get(v,ra)+Ts*ur.get(v,ra+1),ur.set(v,ra+1,-Ts*ur.get(v,ra)+qa*ur.get(v,ra+1)),ur.set(v,ra,Ja);if((Ja=Ut(vs,Ca))===0&&(Ja=Number.MIN_VALUE),qa=vs/Ja,Ts=Ca/Ja,ir[ra]=Ja,vs=qa*sr[ra]+Ts*ir[ra+1],ir[ra+1]=-Ts*sr[ra]+qa*ir[ra+1],Ca=Ts*sr[ra+1],sr[ra+1]=qa*sr[ra+1],Vt&&ra<U-1)for(var G=0;G<U;G++)Ja=qa*nr.get(G,ra)+Ts*nr.get(G,ra+1),nr.set(G,ra+1,-Ts*nr.get(G,ra)+qa*nr.get(G,ra+1)),nr.set(G,ra,Ja)}sr[Ii-2]=vs;break;case 4:if(ir[Ao]<=0&&(ir[Ao]=ir[Ao]<0?-ir[Ao]:0,Pn))for(var ze=0;ze<=Eo;ze++)ur.set(ze,Ao,-ur.get(ze,Ao));for(;Ao<Eo&&!(ir[Ao]>=ir[Ao+1]);){var ut=ir[Ao];if(ir[Ao]=ir[Ao+1],ir[Ao+1]=ut,Pn&&Ao<ge-1)for(var _t=0;_t<ge;_t++)ut=ur.get(_t,Ao+1),ur.set(_t,Ao+1,ur.get(_t,Ao)),ur.set(_t,Ao,ut);if(Vt&&Ao<U-1)for(var Ht=0;Ht<U;Ht++)ut=nr.get(Ht,Ao+1),nr.set(Ht,Ao+1,nr.get(Ht,Ao)),nr.set(Ht,Ao,ut);Ao++}Ii--}}if(Jn){var $t=ur;ur=nr,nr=$t}this.m=U,this.n=ge,this.s=ir,this.U=nr,this.V=ur}var P,k,z;return P=W,(k=[{key:\"solve\",value:function(Q){for(var F=Q,V=this.threshold,U=this.s.length,ge=we.zeros(U,U),ke=0;ke<U;ke++)Math.abs(this.s[ke])<=V?ge.set(ke,ke,0):ge.set(ke,ke,1/this.s[ke]);for(var St=this.U,Je=this.rightSingularVectors,Ot=Je.mmul(ge),It=Je.rows,jt=St.rows,Vt=we.zeros(It,jt),Pn=0;Pn<It;Pn++)for(var Jn=0;Jn<jt;Jn++){for(var vn=0,Vn=0;Vn<U;Vn++)vn+=Ot.get(Pn,Vn)*St.get(Jn,Vn);Vt.set(Pn,Jn,vn)}return Vt.mmul(F)}},{key:\"solveForDiagonal\",value:function(Q){return this.solve(we.diag(Q))}},{key:\"inverse\",value:function(){for(var Q=this.V,F=this.threshold,V=Q.rows,U=Q.columns,ge=new we(V,this.s.length),ke=0;ke<V;ke++)for(var St=0;St<U;St++)Math.abs(this.s[St])>F&&ge.set(ke,St,Q.get(ke,St)/this.s[St]);for(var Je=this.U,Ot=Je.rows,It=Je.columns,jt=new we(V,Ot),Vt=0;Vt<V;Vt++)for(var Pn=0;Pn<Ot;Pn++){for(var Jn=0,vn=0;vn<It;vn++)Jn+=ge.get(Vt,vn)*Je.get(Pn,vn);jt.set(Vt,Pn,Jn)}return jt}},{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 Q=Math.max(this.m,this.n)*this.s[0]*Number.EPSILON,F=0,V=this.s,U=0,ge=V.length;U<ge;U++)V[U]>Q&&F++;return F}},{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 we.diag(this.s)}}])&&go(P.prototype,k),z&&go(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),W}();function Jr(W){var P=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return W=Cn.checkMatrix(W),P?new Ir(W).inverse():_o(W,we.eye(W.rows))}function _o(W,P){var k=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return W=Cn.checkMatrix(W),P=Cn.checkMatrix(P),k?new Ir(W).solve(P):W.isSquare()?new Mt(W).solve(P):new lr(W).solve(P)}function No(W){var P,k,z,Q,F,V;if((W=we.checkMatrix(W)).isSquare())return W.columns===0?1:W.columns===2?(P=W.get(0,0),k=W.get(0,1),z=W.get(1,0),P*W.get(1,1)-k*z):W.columns===3?(Q=new wi(W,[1,2],[1,2]),F=new wi(W,[1,2],[0,2]),V=new wi(W,[1,2],[0,1]),P=W.get(0,0),k=W.get(0,1),z=W.get(0,2),P*No(Q)-k*No(F)+z*No(V)):new Mt(W).determinant;throw Error(\"determinant can only be calculated for a square matrix\")}function ii(W,P){for(var k=[],z=0;z<W;z++)z!==P&&k.push(z);return k}function Lo(W,P,k){var z=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1e-9,Q=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1e-9;if(W>Q)return new Array(P.rows+1).fill(0);for(var F=P.addRow(k,[0]),V=0;V<F.rows;V++)Math.abs(F.get(V,0))<z&&F.set(V,0,0);return F.to1DArray()}function ai(W){for(var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},k=P.thresholdValue,z=k===void 0?1e-9:k,Q=P.thresholdError,F=Q===void 0?1e-9:Q,V=(W=we.checkMatrix(W)).rows,U=new we(V,V),ge=0;ge<V;ge++){var ke=we.columnVector(W.getRow(ge)),St=W.subMatrixRow(ii(V,ge)).transpose(),Je=new Ir(St),Ot=Je.solve(ke),It=we.sub(ke,St.mmul(Ot)).abs().max();U.setRow(ge,Lo(It,Ot,ge,z,F))}return U}function Si(W){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.EPSILON;if((W=we.checkMatrix(W)).isEmpty())return W.transpose();for(var k=new Ir(W,{autoTranspose:!0}),z=k.leftSingularVectors,Q=k.rightSingularVectors,F=k.diagonal,V=0;V<F.length;V++)Math.abs(F[V])>P?F[V]=1/F[V]:F[V]=0;return Q.mmul(we.diag(F).mmul(z.transpose()))}function Ui(W){return(Ui=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function ln(W){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:W,k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};W=new we(W);var z=!1;if(Ui(P)!==\"object\"||we.isMatrix(P)||N(P)?P=new we(P):(k=P,P=W,z=!0),W.rows!==P.rows)throw new TypeError(\"Both matrices must have the same number of rows\");var Q=k,F=Q.center,V=F===void 0||F;V&&(W=W.center(\"column\"),z||(P=P.center(\"column\")));for(var U=W.transpose().mmul(P),ge=0;ge<U.rows;ge++)for(var ke=0;ke<U.columns;ke++)U.set(ge,ke,U.get(ge,ke)*(1/(W.rows-1)));return U}function mn(W){return(mn=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function fr(W){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:W,k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};W=new we(W);var z=!1;if(mn(P)!==\"object\"||we.isMatrix(P)||N(P)?P=new we(P):(k=P,P=W,z=!0),W.rows!==P.rows)throw new TypeError(\"Both matrices must have the same number of rows\");var Q=k,F=Q.center,V=F===void 0||F,U=Q.scale,ge=U===void 0||U;V&&(W.center(\"column\"),z||P.center(\"column\")),ge&&(W.scale(\"column\"),z||P.scale(\"column\"));for(var ke=W.standardDeviation(\"column\",{unbiased:!0}),St=z?ke:P.standardDeviation(\"column\",{unbiased:!0}),Je=W.transpose().mmul(P),Ot=0;Ot<Je.rows;Ot++)for(var It=0;It<Je.columns;It++)Je.set(Ot,It,Je.get(Ot,It)*(1/(ke[Ot]*St[It]))*(1/(W.rows-1)));return Je}function ft(W){return(ft=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function ct(W,P){if(!(W instanceof P))throw new TypeError(\"Cannot call a class as a function\")}function tn(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(ft(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(ft(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),ft(F)===\"symbol\"?F:String(F)),z)}var Q,F}var An=function(){function W(Q){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ct(this,W);var V=F.assumeSymmetric,U=V!==void 0&&V;if(!(Q=Cn.checkMatrix(Q)).isSquare())throw new Error(\"Matrix is not a square matrix\");if(Q.isEmpty())throw new Error(\"Matrix must be non-empty\");var ge,ke,St=Q.columns,Je=new we(St,St),Ot=new Float64Array(St),It=new Float64Array(St),jt=Q;if(U||Q.isSymmetric()){for(ge=0;ge<St;ge++)for(ke=0;ke<St;ke++)Je.set(ge,ke,jt.get(ge,ke));Rt(St,It,Ot,Je),un(St,It,Ot,Je)}else{var Vt=new we(St,St),Pn=new Float64Array(St);for(ke=0;ke<St;ke++)for(ge=0;ge<St;ge++)Vt.set(ge,ke,jt.get(ge,ke));Dn(St,Vt,Pn,Je),dr(St,It,Ot,Je,Vt)}this.n=St,this.e=It,this.d=Ot,this.V=Je}var P,k,z;return P=W,(k=[{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 Q,F,V=this.n,U=this.e,ge=this.d,ke=new we(V,V);for(Q=0;Q<V;Q++){for(F=0;F<V;F++)ke.set(Q,F,0);ke.set(Q,Q,ge[Q]),U[Q]>0?ke.set(Q,Q+1,U[Q]):U[Q]<0&&ke.set(Q,Q-1,U[Q])}return ke}}])&&tn(P.prototype,k),z&&tn(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),W}();function Rt(W,P,k,z){var Q,F,V,U,ge,ke,St,Je;for(ge=0;ge<W;ge++)k[ge]=z.get(W-1,ge);for(U=W-1;U>0;U--){for(Je=0,V=0,ke=0;ke<U;ke++)Je+=Math.abs(k[ke]);if(Je===0)for(P[U]=k[U-1],ge=0;ge<U;ge++)k[ge]=z.get(U-1,ge),z.set(U,ge,0),z.set(ge,U,0);else{for(ke=0;ke<U;ke++)k[ke]/=Je,V+=k[ke]*k[ke];for(Q=k[U-1],F=Math.sqrt(V),Q>0&&(F=-F),P[U]=Je*F,V-=Q*F,k[U-1]=Q-F,ge=0;ge<U;ge++)P[ge]=0;for(ge=0;ge<U;ge++){for(Q=k[ge],z.set(ge,U,Q),F=P[ge]+z.get(ge,ge)*Q,ke=ge+1;ke<=U-1;ke++)F+=z.get(ke,ge)*k[ke],P[ke]+=z.get(ke,ge)*Q;P[ge]=F}for(Q=0,ge=0;ge<U;ge++)P[ge]/=V,Q+=P[ge]*k[ge];for(St=Q/(V+V),ge=0;ge<U;ge++)P[ge]-=St*k[ge];for(ge=0;ge<U;ge++){for(Q=k[ge],F=P[ge],ke=ge;ke<=U-1;ke++)z.set(ke,ge,z.get(ke,ge)-(Q*P[ke]+F*k[ke]));k[ge]=z.get(U-1,ge),z.set(U,ge,0)}}k[U]=V}for(U=0;U<W-1;U++){if(z.set(W-1,U,z.get(U,U)),z.set(U,U,1),(V=k[U+1])!==0){for(ke=0;ke<=U;ke++)k[ke]=z.get(ke,U+1)/V;for(ge=0;ge<=U;ge++){for(F=0,ke=0;ke<=U;ke++)F+=z.get(ke,U+1)*z.get(ke,ge);for(ke=0;ke<=U;ke++)z.set(ke,ge,z.get(ke,ge)-F*k[ke])}}for(ke=0;ke<=U;ke++)z.set(ke,U+1,0)}for(ge=0;ge<W;ge++)k[ge]=z.get(W-1,ge),z.set(W-1,ge,0);z.set(W-1,W-1,1),P[0]=0}function un(W,P,k,z){var Q,F,V,U,ge,ke,St,Je,Ot,It,jt,Vt,Pn,Jn,vn,Vn;for(V=1;V<W;V++)P[V-1]=P[V];P[W-1]=0;var zt=0,ir=0,nr=Number.EPSILON;for(ke=0;ke<W;ke++){for(ir=Math.max(ir,Math.abs(k[ke])+Math.abs(P[ke])),St=ke;St<W&&!(Math.abs(P[St])<=nr*ir);)St++;if(St>ke)do{for(Q=k[ke],Ot=Ut(Je=(k[ke+1]-Q)/(2*P[ke]),1),Je<0&&(Ot=-Ot),k[ke]=P[ke]/(Je+Ot),k[ke+1]=P[ke]*(Je+Ot),It=k[ke+1],F=Q-k[ke],V=ke+2;V<W;V++)k[V]-=F;for(zt+=F,Je=k[St],Vt=jt=1,Pn=jt,Jn=P[ke+1],vn=0,Vn=0,V=St-1;V>=ke;V--)for(Pn=Vt,Vt=jt,Vn=vn,Q=jt*P[V],F=jt*Je,Ot=Ut(Je,P[V]),P[V+1]=vn*Ot,vn=P[V]/Ot,Je=(jt=Je/Ot)*k[V]-vn*Q,k[V+1]=F+vn*(jt*Q+vn*k[V]),ge=0;ge<W;ge++)F=z.get(ge,V+1),z.set(ge,V+1,vn*z.get(ge,V)+jt*F),z.set(ge,V,jt*z.get(ge,V)-vn*F);Je=-vn*Vn*Pn*Jn*P[ke]/It,P[ke]=vn*Je,k[ke]=jt*Je}while(Math.abs(P[ke])>nr*ir);k[ke]=k[ke]+zt,P[ke]=0}for(V=0;V<W-1;V++){for(ge=V,Je=k[V],U=V+1;U<W;U++)k[U]<Je&&(ge=U,Je=k[U]);if(ge!==V)for(k[ge]=k[V],k[V]=Je,U=0;U<W;U++)Je=z.get(U,V),z.set(U,V,z.get(U,ge)),z.set(U,ge,Je)}}function Dn(W,P,k,z){var Q,F,V,U,ge,ke,St,Je=W-1;for(ke=1;ke<=Je-1;ke++){for(St=0,U=ke;U<=Je;U++)St+=Math.abs(P.get(U,ke-1));if(St!==0){for(V=0,U=Je;U>=ke;U--)k[U]=P.get(U,ke-1)/St,V+=k[U]*k[U];for(F=Math.sqrt(V),k[ke]>0&&(F=-F),V-=k[ke]*F,k[ke]=k[ke]-F,ge=ke;ge<W;ge++){for(Q=0,U=Je;U>=ke;U--)Q+=k[U]*P.get(U,ge);for(Q/=V,U=ke;U<=Je;U++)P.set(U,ge,P.get(U,ge)-Q*k[U])}for(U=0;U<=Je;U++){for(Q=0,ge=Je;ge>=ke;ge--)Q+=k[ge]*P.get(U,ge);for(Q/=V,ge=ke;ge<=Je;ge++)P.set(U,ge,P.get(U,ge)-Q*k[ge])}k[ke]=St*k[ke],P.set(ke,ke-1,St*F)}}for(U=0;U<W;U++)for(ge=0;ge<W;ge++)z.set(U,ge,U===ge?1:0);for(ke=Je-1;ke>=1;ke--)if(P.get(ke,ke-1)!==0){for(U=ke+1;U<=Je;U++)k[U]=P.get(U,ke-1);for(ge=ke;ge<=Je;ge++){for(F=0,U=ke;U<=Je;U++)F+=k[U]*z.get(U,ge);for(F=F/k[ke]/P.get(ke,ke-1),U=ke;U<=Je;U++)z.set(U,ge,z.get(U,ge)+F*k[U])}}}function dr(W,P,k,z,Q){var F,V,U,ge,ke,St,Je,Ot,It,jt,Vt,Pn,Jn,vn,Vn,zt=W-1,ir=W-1,nr=Number.EPSILON,ur=0,sr=0,Ln=0,Bt=0,En=0,_n=0,cr=0,ao=0;for(F=0;F<W;F++)for((F<0||F>ir)&&(k[F]=Q.get(F,F),P[F]=0),V=Math.max(F-1,0);V<W;V++)sr+=Math.abs(Q.get(F,V));for(;zt>=0;){for(ge=zt;ge>0&&((_n=Math.abs(Q.get(ge-1,ge-1))+Math.abs(Q.get(ge,ge)))===0&&(_n=sr),!(Math.abs(Q.get(ge,ge-1))<nr*_n));)ge--;if(ge===zt)Q.set(zt,zt,Q.get(zt,zt)+ur),k[zt]=Q.get(zt,zt),P[zt]=0,zt--,ao=0;else if(ge===zt-1){if(Je=Q.get(zt,zt-1)*Q.get(zt-1,zt),Bt=(Ln=(Q.get(zt-1,zt-1)-Q.get(zt,zt))/2)*Ln+Je,cr=Math.sqrt(Math.abs(Bt)),Q.set(zt,zt,Q.get(zt,zt)+ur),Q.set(zt-1,zt-1,Q.get(zt-1,zt-1)+ur),Ot=Q.get(zt,zt),Bt>=0){for(cr=Ln>=0?Ln+cr:Ln-cr,k[zt-1]=Ot+cr,k[zt]=k[zt-1],cr!==0&&(k[zt]=Ot-Je/cr),P[zt-1]=0,P[zt]=0,Ln=(Ot=Q.get(zt,zt-1))/(_n=Math.abs(Ot)+Math.abs(cr)),Bt=cr/_n,Ln/=En=Math.sqrt(Ln*Ln+Bt*Bt),Bt/=En,V=zt-1;V<W;V++)cr=Q.get(zt-1,V),Q.set(zt-1,V,Bt*cr+Ln*Q.get(zt,V)),Q.set(zt,V,Bt*Q.get(zt,V)-Ln*cr);for(F=0;F<=zt;F++)cr=Q.get(F,zt-1),Q.set(F,zt-1,Bt*cr+Ln*Q.get(F,zt)),Q.set(F,zt,Bt*Q.get(F,zt)-Ln*cr);for(F=0;F<=ir;F++)cr=z.get(F,zt-1),z.set(F,zt-1,Bt*cr+Ln*z.get(F,zt)),z.set(F,zt,Bt*z.get(F,zt)-Ln*cr)}else k[zt-1]=Ot+Ln,k[zt]=Ot+Ln,P[zt-1]=cr,P[zt]=-cr;zt-=2,ao=0}else{if(Ot=Q.get(zt,zt),It=0,Je=0,ge<zt&&(It=Q.get(zt-1,zt-1),Je=Q.get(zt,zt-1)*Q.get(zt-1,zt)),ao===10){for(ur+=Ot,F=0;F<=zt;F++)Q.set(F,F,Q.get(F,F)-Ot);Ot=It=.75*(_n=Math.abs(Q.get(zt,zt-1))+Math.abs(Q.get(zt-1,zt-2))),Je=-.4375*_n*_n}if(ao===30&&(_n=(_n=(It-Ot)/2)*_n+Je)>0){for(_n=Math.sqrt(_n),It<Ot&&(_n=-_n),_n=Ot-Je/((It-Ot)/2+_n),F=0;F<=zt;F++)Q.set(F,F,Q.get(F,F)-_n);ur+=_n,Ot=It=Je=.964}for(ao+=1,ke=zt-2;ke>=ge&&(Ln=((En=Ot-(cr=Q.get(ke,ke)))*(_n=It-cr)-Je)/Q.get(ke+1,ke)+Q.get(ke,ke+1),Bt=Q.get(ke+1,ke+1)-cr-En-_n,En=Q.get(ke+2,ke+1),Ln/=_n=Math.abs(Ln)+Math.abs(Bt)+Math.abs(En),Bt/=_n,En/=_n,ke!==ge)&&!(Math.abs(Q.get(ke,ke-1))*(Math.abs(Bt)+Math.abs(En))<nr*(Math.abs(Ln)*(Math.abs(Q.get(ke-1,ke-1))+Math.abs(cr)+Math.abs(Q.get(ke+1,ke+1)))));)ke--;for(F=ke+2;F<=zt;F++)Q.set(F,F-2,0),F>ke+2&&Q.set(F,F-3,0);for(U=ke;U<=zt-1&&(vn=U!==zt-1,U!==ke&&(Ln=Q.get(U,U-1),Bt=Q.get(U+1,U-1),En=vn?Q.get(U+2,U-1):0,(Ot=Math.abs(Ln)+Math.abs(Bt)+Math.abs(En))!==0&&(Ln/=Ot,Bt/=Ot,En/=Ot)),Ot!==0);U++)if(_n=Math.sqrt(Ln*Ln+Bt*Bt+En*En),Ln<0&&(_n=-_n),_n!==0){for(U!==ke?Q.set(U,U-1,-_n*Ot):ge!==ke&&Q.set(U,U-1,-Q.get(U,U-1)),Ot=(Ln+=_n)/_n,It=Bt/_n,cr=En/_n,Bt/=Ln,En/=Ln,V=U;V<W;V++)Ln=Q.get(U,V)+Bt*Q.get(U+1,V),vn&&(Ln+=En*Q.get(U+2,V),Q.set(U+2,V,Q.get(U+2,V)-Ln*cr)),Q.set(U,V,Q.get(U,V)-Ln*Ot),Q.set(U+1,V,Q.get(U+1,V)-Ln*It);for(F=0;F<=Math.min(zt,U+3);F++)Ln=Ot*Q.get(F,U)+It*Q.get(F,U+1),vn&&(Ln+=cr*Q.get(F,U+2),Q.set(F,U+2,Q.get(F,U+2)-Ln*En)),Q.set(F,U,Q.get(F,U)-Ln),Q.set(F,U+1,Q.get(F,U+1)-Ln*Bt);for(F=0;F<=ir;F++)Ln=Ot*z.get(F,U)+It*z.get(F,U+1),vn&&(Ln+=cr*z.get(F,U+2),z.set(F,U+2,z.get(F,U+2)-Ln*En)),z.set(F,U,z.get(F,U)-Ln),z.set(F,U+1,z.get(F,U+1)-Ln*Bt)}}}if(sr!==0){for(zt=W-1;zt>=0;zt--)if(Ln=k[zt],(Bt=P[zt])===0)for(ge=zt,Q.set(zt,zt,1),F=zt-1;F>=0;F--){for(Je=Q.get(F,F)-Ln,En=0,V=ge;V<=zt;V++)En+=Q.get(F,V)*Q.get(V,zt);if(P[F]<0)cr=Je,_n=En;else if(ge=F,P[F]===0?Q.set(F,zt,Je!==0?-En/Je:-En/(nr*sr)):(Ot=Q.get(F,F+1),It=Q.get(F+1,F),St=(Ot*_n-cr*En)/(Bt=(k[F]-Ln)*(k[F]-Ln)+P[F]*P[F]),Q.set(F,zt,St),Q.set(F+1,zt,Math.abs(Ot)>Math.abs(cr)?(-En-Je*St)/Ot:(-_n-It*St)/cr)),nr*(St=Math.abs(Q.get(F,zt)))*St>1)for(V=F;V<=zt;V++)Q.set(V,zt,Q.get(V,zt)/St)}else if(Bt<0)for(ge=zt-1,Math.abs(Q.get(zt,zt-1))>Math.abs(Q.get(zt-1,zt))?(Q.set(zt-1,zt-1,Bt/Q.get(zt,zt-1)),Q.set(zt-1,zt,-(Q.get(zt,zt)-Ln)/Q.get(zt,zt-1))):(Vn=Ar(0,-Q.get(zt-1,zt),Q.get(zt-1,zt-1)-Ln,Bt),Q.set(zt-1,zt-1,Vn[0]),Q.set(zt-1,zt,Vn[1])),Q.set(zt,zt-1,0),Q.set(zt,zt,1),F=zt-2;F>=0;F--){for(jt=0,Vt=0,V=ge;V<=zt;V++)jt+=Q.get(F,V)*Q.get(V,zt-1),Vt+=Q.get(F,V)*Q.get(V,zt);if(Je=Q.get(F,F)-Ln,P[F]<0)cr=Je,En=jt,_n=Vt;else if(ge=F,P[F]===0?(Vn=Ar(-jt,-Vt,Je,Bt),Q.set(F,zt-1,Vn[0]),Q.set(F,zt,Vn[1])):(Ot=Q.get(F,F+1),It=Q.get(F+1,F),Pn=(k[F]-Ln)*(k[F]-Ln)+P[F]*P[F]-Bt*Bt,Jn=2*(k[F]-Ln)*Bt,Pn===0&&Jn===0&&(Pn=nr*sr*(Math.abs(Je)+Math.abs(Bt)+Math.abs(Ot)+Math.abs(It)+Math.abs(cr))),Vn=Ar(Ot*En-cr*jt+Bt*Vt,Ot*_n-cr*Vt-Bt*jt,Pn,Jn),Q.set(F,zt-1,Vn[0]),Q.set(F,zt,Vn[1]),Math.abs(Ot)>Math.abs(cr)+Math.abs(Bt)?(Q.set(F+1,zt-1,(-jt-Je*Q.get(F,zt-1)+Bt*Q.get(F,zt))/Ot),Q.set(F+1,zt,(-Vt-Je*Q.get(F,zt)-Bt*Q.get(F,zt-1))/Ot)):(Vn=Ar(-En-It*Q.get(F,zt-1),-_n-It*Q.get(F,zt),cr,Bt),Q.set(F+1,zt-1,Vn[0]),Q.set(F+1,zt,Vn[1]))),nr*(St=Math.max(Math.abs(Q.get(F,zt-1)),Math.abs(Q.get(F,zt))))*St>1)for(V=F;V<=zt;V++)Q.set(V,zt-1,Q.get(V,zt-1)/St),Q.set(V,zt,Q.get(V,zt)/St)}for(F=0;F<W;F++)if(F<0||F>ir)for(V=F;V<W;V++)z.set(F,V,Q.get(F,V));for(V=W-1;V>=0;V--)for(F=0;F<=ir;F++){for(cr=0,U=0;U<=Math.min(V,ir);U++)cr+=z.get(F,U)*Q.get(U,V);z.set(F,V,cr)}}}function Ar(W,P,k,z){var Q,F;return Math.abs(k)>Math.abs(z)?[(W+(Q=z/k)*P)/(F=k+Q*z),(P-Q*W)/F]:[((Q=k/z)*W+P)/(F=z+Q*k),(Q*P-W)/F]}function Gr(W){return(Gr=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function Pr(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(Gr(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(Gr(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),Gr(F)===\"symbol\"?F:String(F)),z)}var Q,F}var Xr=function(){function W(Q){if(function(jt,Vt){if(!(jt instanceof Vt))throw new TypeError(\"Cannot call a class as a function\")}(this,W),!(Q=Cn.checkMatrix(Q)).isSymmetric())throw new Error(\"Matrix is not symmetric\");var F,V,U,ge=Q,ke=ge.rows,St=new we(ke,ke),Je=!0;for(V=0;V<ke;V++){var Ot=0;for(U=0;U<V;U++){var It=0;for(F=0;F<U;F++)It+=St.get(U,F)*St.get(V,F);It=(ge.get(V,U)-It)/St.get(U,U),St.set(V,U,It),Ot+=It*It}for(Je&=(Ot=ge.get(V,V)-Ot)>0,St.set(V,V,Math.sqrt(Math.max(Ot,0))),U=V+1;U<ke;U++)St.set(V,U,0)}this.L=St,this.positiveDefinite=Boolean(Je)}var P,k,z;return P=W,(k=[{key:\"isPositiveDefinite\",value:function(){return this.positiveDefinite}},{key:\"solve\",value:function(Q){Q=Cn.checkMatrix(Q);var F=this.L,V=F.rows;if(Q.rows!==V)throw new Error(\"Matrix dimensions do not match\");if(this.isPositiveDefinite()===!1)throw new Error(\"Matrix is not positive definite\");var U,ge,ke,St=Q.columns,Je=Q.clone();for(ke=0;ke<V;ke++)for(ge=0;ge<St;ge++){for(U=0;U<ke;U++)Je.set(ke,ge,Je.get(ke,ge)-Je.get(U,ge)*F.get(ke,U));Je.set(ke,ge,Je.get(ke,ge)/F.get(ke,ke))}for(ke=V-1;ke>=0;ke--)for(ge=0;ge<St;ge++){for(U=ke+1;U<V;U++)Je.set(ke,ge,Je.get(ke,ge)-Je.get(U,ge)*F.get(U,ke));Je.set(ke,ge,Je.get(ke,ge)/F.get(ke,ke))}return Je}},{key:\"lowerTriangularMatrix\",get:function(){return this.L}}])&&Pr(P.prototype,k),z&&Pr(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),W}();function oo(W){return(oo=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function io(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(oo(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(oo(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),oo(F)===\"symbol\"?F:String(F)),z)}var Q,F}function to(W,P,k){return P&&io(W.prototype,P),k&&io(W,k),Object.defineProperty(W,\"prototype\",{writable:!1}),W}function To(W,P){if(!(W instanceof P))throw new TypeError(\"Cannot call a class as a function\")}var jn=to(function W(P){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};To(this,W),P=Cn.checkMatrix(P);var z,Q=k.Y,F=k.scaleScores,V=F!==void 0&&F,U=k.maxIterations,ge=U===void 0?1e3:U,ke=k.terminationCriteria,St=ke===void 0?1e-10:ke;if(Q){if((Q=N(Q)&&typeof Q[0]==\"number\"?we.columnVector(Q):Cn.checkMatrix(Q)).rows!==P.rows)throw new Error(\"Y should have the same number of rows as X\");z=Q.getColumnVector(0)}else z=P.getColumnVector(0);for(var Je,Ot,It,jt,Vt=1,Pn=0;Pn<ge&&Vt>St;Pn++)It=(It=P.transpose().mmul(z).div(z.transpose().mmul(z).get(0,0))).div(It.norm()),Je=P.mmul(It).div(It.transpose().mmul(It).get(0,0)),Pn>0&&(Vt=Je.clone().sub(jt).pow(2).sum()),jt=Je.clone(),Q?(Ot=(Ot=Q.transpose().mmul(Je).div(Je.transpose().mmul(Je).get(0,0))).div(Ot.norm()),z=Q.mmul(Ot).div(Ot.transpose().mmul(Ot).get(0,0))):z=Je;if(Q){var Jn=P.transpose().mmul(Je).div(Je.transpose().mmul(Je).get(0,0));Jn=Jn.div(Jn.norm());var vn=P.clone().sub(Je.clone().mmul(Jn.transpose())),Vn=z.transpose().mmul(Je).div(Je.transpose().mmul(Je).get(0,0)),zt=Q.clone().sub(Je.clone().mulS(Vn.get(0,0)).mmul(Ot.transpose()));this.t=Je,this.p=Jn.transpose(),this.w=It.transpose(),this.q=Ot,this.u=z,this.s=Je.transpose().mmul(Je),this.xResidual=vn,this.yResidual=zt,this.betas=Vn}else this.w=It.transpose(),this.s=Je.transpose().mmul(Je).sqrt(),this.t=V?Je.clone().div(this.s.get(0,0)):Je,this.xResidual=P.sub(Je.mmul(It.transpose()))})},function(Ee,c,r){\"use strict\";r.r(c),r.d(c,\"World\",function(){return Gt}),r.d(c,\"Kernel\",function(){return _e});var y=r(25),N=r.n(y),C=r(3),w=r.n(C),O=r(13),b=r.n(O),p=r(14),u=r.n(p),a=r(34),f=r.n(a),h=r(115),l=r.n(h),s=r(116),m=r.n(s),x=r(17),M=r.n(x),E=1;function j(){return E++}var L,A;(A=L||(L={}))[A.DEPTH_BUFFER_BIT=256]=\"DEPTH_BUFFER_BIT\",A[A.STENCIL_BUFFER_BIT=1024]=\"STENCIL_BUFFER_BIT\",A[A.COLOR_BUFFER_BIT=16384]=\"COLOR_BUFFER_BIT\",A[A.POINTS=0]=\"POINTS\",A[A.LINES=1]=\"LINES\",A[A.LINE_LOOP=2]=\"LINE_LOOP\",A[A.LINE_STRIP=3]=\"LINE_STRIP\",A[A.TRIANGLES=4]=\"TRIANGLES\",A[A.TRIANGLE_STRIP=5]=\"TRIANGLE_STRIP\",A[A.TRIANGLE_FAN=6]=\"TRIANGLE_FAN\",A[A.ZERO=0]=\"ZERO\",A[A.ONE=1]=\"ONE\",A[A.SRC_COLOR=768]=\"SRC_COLOR\",A[A.ONE_MINUS_SRC_COLOR=769]=\"ONE_MINUS_SRC_COLOR\",A[A.SRC_ALPHA=770]=\"SRC_ALPHA\",A[A.ONE_MINUS_SRC_ALPHA=771]=\"ONE_MINUS_SRC_ALPHA\",A[A.DST_ALPHA=772]=\"DST_ALPHA\",A[A.ONE_MINUS_DST_ALPHA=773]=\"ONE_MINUS_DST_ALPHA\",A[A.DST_COLOR=774]=\"DST_COLOR\",A[A.ONE_MINUS_DST_COLOR=775]=\"ONE_MINUS_DST_COLOR\",A[A.SRC_ALPHA_SATURATE=776]=\"SRC_ALPHA_SATURATE\",A[A.FUNC_ADD=32774]=\"FUNC_ADD\",A[A.BLEND_EQUATION=32777]=\"BLEND_EQUATION\",A[A.BLEND_EQUATION_RGB=32777]=\"BLEND_EQUATION_RGB\",A[A.BLEND_EQUATION_ALPHA=34877]=\"BLEND_EQUATION_ALPHA\",A[A.FUNC_SUBTRACT=32778]=\"FUNC_SUBTRACT\",A[A.FUNC_REVERSE_SUBTRACT=32779]=\"FUNC_REVERSE_SUBTRACT\",A[A.MAX_EXT=32776]=\"MAX_EXT\",A[A.MIN_EXT=32775]=\"MIN_EXT\",A[A.BLEND_DST_RGB=32968]=\"BLEND_DST_RGB\",A[A.BLEND_SRC_RGB=32969]=\"BLEND_SRC_RGB\",A[A.BLEND_DST_ALPHA=32970]=\"BLEND_DST_ALPHA\",A[A.BLEND_SRC_ALPHA=32971]=\"BLEND_SRC_ALPHA\",A[A.CONSTANT_COLOR=32769]=\"CONSTANT_COLOR\",A[A.ONE_MINUS_CONSTANT_COLOR=32770]=\"ONE_MINUS_CONSTANT_COLOR\",A[A.CONSTANT_ALPHA=32771]=\"CONSTANT_ALPHA\",A[A.ONE_MINUS_CONSTANT_ALPHA=32772]=\"ONE_MINUS_CONSTANT_ALPHA\",A[A.BLEND_COLOR=32773]=\"BLEND_COLOR\",A[A.ARRAY_BUFFER=34962]=\"ARRAY_BUFFER\",A[A.ELEMENT_ARRAY_BUFFER=34963]=\"ELEMENT_ARRAY_BUFFER\",A[A.ARRAY_BUFFER_BINDING=34964]=\"ARRAY_BUFFER_BINDING\",A[A.ELEMENT_ARRAY_BUFFER_BINDING=34965]=\"ELEMENT_ARRAY_BUFFER_BINDING\",A[A.STREAM_DRAW=35040]=\"STREAM_DRAW\",A[A.STATIC_DRAW=35044]=\"STATIC_DRAW\",A[A.DYNAMIC_DRAW=35048]=\"DYNAMIC_DRAW\",A[A.BUFFER_SIZE=34660]=\"BUFFER_SIZE\",A[A.BUFFER_USAGE=34661]=\"BUFFER_USAGE\",A[A.CURRENT_VERTEX_ATTRIB=34342]=\"CURRENT_VERTEX_ATTRIB\",A[A.FRONT=1028]=\"FRONT\",A[A.BACK=1029]=\"BACK\",A[A.FRONT_AND_BACK=1032]=\"FRONT_AND_BACK\",A[A.CULL_FACE=2884]=\"CULL_FACE\",A[A.BLEND=3042]=\"BLEND\",A[A.DITHER=3024]=\"DITHER\",A[A.STENCIL_TEST=2960]=\"STENCIL_TEST\",A[A.DEPTH_TEST=2929]=\"DEPTH_TEST\",A[A.SCISSOR_TEST=3089]=\"SCISSOR_TEST\",A[A.POLYGON_OFFSET_FILL=32823]=\"POLYGON_OFFSET_FILL\",A[A.SAMPLE_ALPHA_TO_COVERAGE=32926]=\"SAMPLE_ALPHA_TO_COVERAGE\",A[A.SAMPLE_COVERAGE=32928]=\"SAMPLE_COVERAGE\",A[A.NO_ERROR=0]=\"NO_ERROR\",A[A.INVALID_ENUM=1280]=\"INVALID_ENUM\",A[A.INVALID_VALUE=1281]=\"INVALID_VALUE\",A[A.INVALID_OPERATION=1282]=\"INVALID_OPERATION\",A[A.OUT_OF_MEMORY=1285]=\"OUT_OF_MEMORY\",A[A.CW=2304]=\"CW\",A[A.CCW=2305]=\"CCW\",A[A.LINE_WIDTH=2849]=\"LINE_WIDTH\",A[A.ALIASED_POINT_SIZE_RANGE=33901]=\"ALIASED_POINT_SIZE_RANGE\",A[A.ALIASED_LINE_WIDTH_RANGE=33902]=\"ALIASED_LINE_WIDTH_RANGE\",A[A.CULL_FACE_MODE=2885]=\"CULL_FACE_MODE\",A[A.FRONT_FACE=2886]=\"FRONT_FACE\",A[A.DEPTH_RANGE=2928]=\"DEPTH_RANGE\",A[A.DEPTH_WRITEMASK=2930]=\"DEPTH_WRITEMASK\",A[A.DEPTH_CLEAR_VALUE=2931]=\"DEPTH_CLEAR_VALUE\",A[A.DEPTH_FUNC=2932]=\"DEPTH_FUNC\",A[A.STENCIL_CLEAR_VALUE=2961]=\"STENCIL_CLEAR_VALUE\",A[A.STENCIL_FUNC=2962]=\"STENCIL_FUNC\",A[A.STENCIL_FAIL=2964]=\"STENCIL_FAIL\",A[A.STENCIL_PASS_DEPTH_FAIL=2965]=\"STENCIL_PASS_DEPTH_FAIL\",A[A.STENCIL_PASS_DEPTH_PASS=2966]=\"STENCIL_PASS_DEPTH_PASS\",A[A.STENCIL_REF=2967]=\"STENCIL_REF\",A[A.STENCIL_VALUE_MASK=2963]=\"STENCIL_VALUE_MASK\",A[A.STENCIL_WRITEMASK=2968]=\"STENCIL_WRITEMASK\",A[A.STENCIL_BACK_FUNC=34816]=\"STENCIL_BACK_FUNC\",A[A.STENCIL_BACK_FAIL=34817]=\"STENCIL_BACK_FAIL\",A[A.STENCIL_BACK_PASS_DEPTH_FAIL=34818]=\"STENCIL_BACK_PASS_DEPTH_FAIL\",A[A.STENCIL_BACK_PASS_DEPTH_PASS=34819]=\"STENCIL_BACK_PASS_DEPTH_PASS\",A[A.STENCIL_BACK_REF=36003]=\"STENCIL_BACK_REF\",A[A.STENCIL_BACK_VALUE_MASK=36004]=\"STENCIL_BACK_VALUE_MASK\",A[A.STENCIL_BACK_WRITEMASK=36005]=\"STENCIL_BACK_WRITEMASK\",A[A.VIEWPORT=2978]=\"VIEWPORT\",A[A.SCISSOR_BOX=3088]=\"SCISSOR_BOX\",A[A.COLOR_CLEAR_VALUE=3106]=\"COLOR_CLEAR_VALUE\",A[A.COLOR_WRITEMASK=3107]=\"COLOR_WRITEMASK\",A[A.UNPACK_ALIGNMENT=3317]=\"UNPACK_ALIGNMENT\",A[A.PACK_ALIGNMENT=3333]=\"PACK_ALIGNMENT\",A[A.MAX_TEXTURE_SIZE=3379]=\"MAX_TEXTURE_SIZE\",A[A.MAX_VIEWPORT_DIMS=3386]=\"MAX_VIEWPORT_DIMS\",A[A.SUBPIXEL_BITS=3408]=\"SUBPIXEL_BITS\",A[A.RED_BITS=3410]=\"RED_BITS\",A[A.GREEN_BITS=3411]=\"GREEN_BITS\",A[A.BLUE_BITS=3412]=\"BLUE_BITS\",A[A.ALPHA_BITS=3413]=\"ALPHA_BITS\",A[A.DEPTH_BITS=3414]=\"DEPTH_BITS\",A[A.STENCIL_BITS=3415]=\"STENCIL_BITS\",A[A.POLYGON_OFFSET_UNITS=10752]=\"POLYGON_OFFSET_UNITS\",A[A.POLYGON_OFFSET_FACTOR=32824]=\"POLYGON_OFFSET_FACTOR\",A[A.TEXTURE_BINDING_2D=32873]=\"TEXTURE_BINDING_2D\",A[A.SAMPLE_BUFFERS=32936]=\"SAMPLE_BUFFERS\",A[A.SAMPLES=32937]=\"SAMPLES\",A[A.SAMPLE_COVERAGE_VALUE=32938]=\"SAMPLE_COVERAGE_VALUE\",A[A.SAMPLE_COVERAGE_INVERT=32939]=\"SAMPLE_COVERAGE_INVERT\",A[A.COMPRESSED_TEXTURE_FORMATS=34467]=\"COMPRESSED_TEXTURE_FORMATS\",A[A.DONT_CARE=4352]=\"DONT_CARE\",A[A.FASTEST=4353]=\"FASTEST\",A[A.NICEST=4354]=\"NICEST\",A[A.GENERATE_MIPMAP_HINT=33170]=\"GENERATE_MIPMAP_HINT\",A[A.BYTE=5120]=\"BYTE\",A[A.UNSIGNED_BYTE=5121]=\"UNSIGNED_BYTE\",A[A.SHORT=5122]=\"SHORT\",A[A.UNSIGNED_SHORT=5123]=\"UNSIGNED_SHORT\",A[A.INT=5124]=\"INT\",A[A.UNSIGNED_INT=5125]=\"UNSIGNED_INT\",A[A.FLOAT=5126]=\"FLOAT\",A[A.DEPTH_COMPONENT=6402]=\"DEPTH_COMPONENT\",A[A.ALPHA=6406]=\"ALPHA\",A[A.RGB=6407]=\"RGB\",A[A.RGBA=6408]=\"RGBA\",A[A.LUMINANCE=6409]=\"LUMINANCE\",A[A.LUMINANCE_ALPHA=6410]=\"LUMINANCE_ALPHA\",A[A.UNSIGNED_SHORT_4_4_4_4=32819]=\"UNSIGNED_SHORT_4_4_4_4\",A[A.UNSIGNED_SHORT_5_5_5_1=32820]=\"UNSIGNED_SHORT_5_5_5_1\",A[A.UNSIGNED_SHORT_5_6_5=33635]=\"UNSIGNED_SHORT_5_6_5\",A[A.FRAGMENT_SHADER=35632]=\"FRAGMENT_SHADER\",A[A.VERTEX_SHADER=35633]=\"VERTEX_SHADER\",A[A.MAX_VERTEX_ATTRIBS=34921]=\"MAX_VERTEX_ATTRIBS\",A[A.MAX_VERTEX_UNIFORM_VECTORS=36347]=\"MAX_VERTEX_UNIFORM_VECTORS\",A[A.MAX_VARYING_VECTORS=36348]=\"MAX_VARYING_VECTORS\",A[A.MAX_COMBINED_TEXTURE_IMAGE_UNITS=35661]=\"MAX_COMBINED_TEXTURE_IMAGE_UNITS\",A[A.MAX_VERTEX_TEXTURE_IMAGE_UNITS=35660]=\"MAX_VERTEX_TEXTURE_IMAGE_UNITS\",A[A.MAX_TEXTURE_IMAGE_UNITS=34930]=\"MAX_TEXTURE_IMAGE_UNITS\",A[A.MAX_FRAGMENT_UNIFORM_VECTORS=36349]=\"MAX_FRAGMENT_UNIFORM_VECTORS\",A[A.SHADER_TYPE=35663]=\"SHADER_TYPE\",A[A.DELETE_STATUS=35712]=\"DELETE_STATUS\",A[A.LINK_STATUS=35714]=\"LINK_STATUS\",A[A.VALIDATE_STATUS=35715]=\"VALIDATE_STATUS\",A[A.ATTACHED_SHADERS=35717]=\"ATTACHED_SHADERS\",A[A.ACTIVE_UNIFORMS=35718]=\"ACTIVE_UNIFORMS\",A[A.ACTIVE_ATTRIBUTES=35721]=\"ACTIVE_ATTRIBUTES\",A[A.SHADING_LANGUAGE_VERSION=35724]=\"SHADING_LANGUAGE_VERSION\",A[A.CURRENT_PROGRAM=35725]=\"CURRENT_PROGRAM\",A[A.NEVER=512]=\"NEVER\",A[A.LESS=513]=\"LESS\",A[A.EQUAL=514]=\"EQUAL\",A[A.LEQUAL=515]=\"LEQUAL\",A[A.GREATER=516]=\"GREATER\",A[A.NOTEQUAL=517]=\"NOTEQUAL\",A[A.GEQUAL=518]=\"GEQUAL\",A[A.ALWAYS=519]=\"ALWAYS\",A[A.KEEP=7680]=\"KEEP\",A[A.REPLACE=7681]=\"REPLACE\",A[A.INCR=7682]=\"INCR\",A[A.DECR=7683]=\"DECR\",A[A.INVERT=5386]=\"INVERT\",A[A.INCR_WRAP=34055]=\"INCR_WRAP\",A[A.DECR_WRAP=34056]=\"DECR_WRAP\",A[A.VENDOR=7936]=\"VENDOR\",A[A.RENDERER=7937]=\"RENDERER\",A[A.VERSION=7938]=\"VERSION\",A[A.NEAREST=9728]=\"NEAREST\",A[A.LINEAR=9729]=\"LINEAR\",A[A.NEAREST_MIPMAP_NEAREST=9984]=\"NEAREST_MIPMAP_NEAREST\",A[A.LINEAR_MIPMAP_NEAREST=9985]=\"LINEAR_MIPMAP_NEAREST\",A[A.NEAREST_MIPMAP_LINEAR=9986]=\"NEAREST_MIPMAP_LINEAR\",A[A.LINEAR_MIPMAP_LINEAR=9987]=\"LINEAR_MIPMAP_LINEAR\",A[A.TEXTURE_MAG_FILTER=10240]=\"TEXTURE_MAG_FILTER\",A[A.TEXTURE_MIN_FILTER=10241]=\"TEXTURE_MIN_FILTER\",A[A.TEXTURE_WRAP_S=10242]=\"TEXTURE_WRAP_S\",A[A.TEXTURE_WRAP_T=10243]=\"TEXTURE_WRAP_T\",A[A.TEXTURE_2D=3553]=\"TEXTURE_2D\",A[A.TEXTURE=5890]=\"TEXTURE\",A[A.TEXTURE_CUBE_MAP=34067]=\"TEXTURE_CUBE_MAP\",A[A.TEXTURE_BINDING_CUBE_MAP=34068]=\"TEXTURE_BINDING_CUBE_MAP\",A[A.TEXTURE_CUBE_MAP_POSITIVE_X=34069]=\"TEXTURE_CUBE_MAP_POSITIVE_X\",A[A.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]=\"TEXTURE_CUBE_MAP_NEGATIVE_X\",A[A.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]=\"TEXTURE_CUBE_MAP_POSITIVE_Y\",A[A.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]=\"TEXTURE_CUBE_MAP_NEGATIVE_Y\",A[A.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]=\"TEXTURE_CUBE_MAP_POSITIVE_Z\",A[A.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]=\"TEXTURE_CUBE_MAP_NEGATIVE_Z\",A[A.MAX_CUBE_MAP_TEXTURE_SIZE=34076]=\"MAX_CUBE_MAP_TEXTURE_SIZE\",A[A.TEXTURE0=33984]=\"TEXTURE0\",A[A.TEXTURE1=33985]=\"TEXTURE1\",A[A.TEXTURE2=33986]=\"TEXTURE2\",A[A.TEXTURE3=33987]=\"TEXTURE3\",A[A.TEXTURE4=33988]=\"TEXTURE4\",A[A.TEXTURE5=33989]=\"TEXTURE5\",A[A.TEXTURE6=33990]=\"TEXTURE6\",A[A.TEXTURE7=33991]=\"TEXTURE7\",A[A.TEXTURE8=33992]=\"TEXTURE8\",A[A.TEXTURE9=33993]=\"TEXTURE9\",A[A.TEXTURE10=33994]=\"TEXTURE10\",A[A.TEXTURE11=33995]=\"TEXTURE11\",A[A.TEXTURE12=33996]=\"TEXTURE12\",A[A.TEXTURE13=33997]=\"TEXTURE13\",A[A.TEXTURE14=33998]=\"TEXTURE14\",A[A.TEXTURE15=33999]=\"TEXTURE15\",A[A.TEXTURE16=34e3]=\"TEXTURE16\",A[A.TEXTURE17=34001]=\"TEXTURE17\",A[A.TEXTURE18=34002]=\"TEXTURE18\",A[A.TEXTURE19=34003]=\"TEXTURE19\",A[A.TEXTURE20=34004]=\"TEXTURE20\",A[A.TEXTURE21=34005]=\"TEXTURE21\",A[A.TEXTURE22=34006]=\"TEXTURE22\",A[A.TEXTURE23=34007]=\"TEXTURE23\",A[A.TEXTURE24=34008]=\"TEXTURE24\",A[A.TEXTURE25=34009]=\"TEXTURE25\",A[A.TEXTURE26=34010]=\"TEXTURE26\",A[A.TEXTURE27=34011]=\"TEXTURE27\",A[A.TEXTURE28=34012]=\"TEXTURE28\",A[A.TEXTURE29=34013]=\"TEXTURE29\",A[A.TEXTURE30=34014]=\"TEXTURE30\",A[A.TEXTURE31=34015]=\"TEXTURE31\",A[A.ACTIVE_TEXTURE=34016]=\"ACTIVE_TEXTURE\",A[A.REPEAT=10497]=\"REPEAT\",A[A.CLAMP_TO_EDGE=33071]=\"CLAMP_TO_EDGE\",A[A.MIRRORED_REPEAT=33648]=\"MIRRORED_REPEAT\",A[A.FLOAT_VEC2=35664]=\"FLOAT_VEC2\",A[A.FLOAT_VEC3=35665]=\"FLOAT_VEC3\",A[A.FLOAT_VEC4=35666]=\"FLOAT_VEC4\",A[A.INT_VEC2=35667]=\"INT_VEC2\",A[A.INT_VEC3=35668]=\"INT_VEC3\",A[A.INT_VEC4=35669]=\"INT_VEC4\",A[A.BOOL=35670]=\"BOOL\",A[A.BOOL_VEC2=35671]=\"BOOL_VEC2\",A[A.BOOL_VEC3=35672]=\"BOOL_VEC3\",A[A.BOOL_VEC4=35673]=\"BOOL_VEC4\",A[A.FLOAT_MAT2=35674]=\"FLOAT_MAT2\",A[A.FLOAT_MAT3=35675]=\"FLOAT_MAT3\",A[A.FLOAT_MAT4=35676]=\"FLOAT_MAT4\",A[A.SAMPLER_2D=35678]=\"SAMPLER_2D\",A[A.SAMPLER_CUBE=35680]=\"SAMPLER_CUBE\",A[A.VERTEX_ATTRIB_ARRAY_ENABLED=34338]=\"VERTEX_ATTRIB_ARRAY_ENABLED\",A[A.VERTEX_ATTRIB_ARRAY_SIZE=34339]=\"VERTEX_ATTRIB_ARRAY_SIZE\",A[A.VERTEX_ATTRIB_ARRAY_STRIDE=34340]=\"VERTEX_ATTRIB_ARRAY_STRIDE\",A[A.VERTEX_ATTRIB_ARRAY_TYPE=34341]=\"VERTEX_ATTRIB_ARRAY_TYPE\",A[A.VERTEX_ATTRIB_ARRAY_NORMALIZED=34922]=\"VERTEX_ATTRIB_ARRAY_NORMALIZED\",A[A.VERTEX_ATTRIB_ARRAY_POINTER=34373]=\"VERTEX_ATTRIB_ARRAY_POINTER\",A[A.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING=34975]=\"VERTEX_ATTRIB_ARRAY_BUFFER_BINDING\",A[A.COMPILE_STATUS=35713]=\"COMPILE_STATUS\",A[A.LOW_FLOAT=36336]=\"LOW_FLOAT\",A[A.MEDIUM_FLOAT=36337]=\"MEDIUM_FLOAT\",A[A.HIGH_FLOAT=36338]=\"HIGH_FLOAT\",A[A.LOW_INT=36339]=\"LOW_INT\",A[A.MEDIUM_INT=36340]=\"MEDIUM_INT\",A[A.HIGH_INT=36341]=\"HIGH_INT\",A[A.FRAMEBUFFER=36160]=\"FRAMEBUFFER\",A[A.RENDERBUFFER=36161]=\"RENDERBUFFER\",A[A.RGBA4=32854]=\"RGBA4\",A[A.RGB5_A1=32855]=\"RGB5_A1\",A[A.RGB565=36194]=\"RGB565\",A[A.DEPTH_COMPONENT16=33189]=\"DEPTH_COMPONENT16\",A[A.STENCIL_INDEX=6401]=\"STENCIL_INDEX\",A[A.STENCIL_INDEX8=36168]=\"STENCIL_INDEX8\",A[A.DEPTH_STENCIL=34041]=\"DEPTH_STENCIL\",A[A.RENDERBUFFER_WIDTH=36162]=\"RENDERBUFFER_WIDTH\",A[A.RENDERBUFFER_HEIGHT=36163]=\"RENDERBUFFER_HEIGHT\",A[A.RENDERBUFFER_INTERNAL_FORMAT=36164]=\"RENDERBUFFER_INTERNAL_FORMAT\",A[A.RENDERBUFFER_RED_SIZE=36176]=\"RENDERBUFFER_RED_SIZE\",A[A.RENDERBUFFER_GREEN_SIZE=36177]=\"RENDERBUFFER_GREEN_SIZE\",A[A.RENDERBUFFER_BLUE_SIZE=36178]=\"RENDERBUFFER_BLUE_SIZE\",A[A.RENDERBUFFER_ALPHA_SIZE=36179]=\"RENDERBUFFER_ALPHA_SIZE\",A[A.RENDERBUFFER_DEPTH_SIZE=36180]=\"RENDERBUFFER_DEPTH_SIZE\",A[A.RENDERBUFFER_STENCIL_SIZE=36181]=\"RENDERBUFFER_STENCIL_SIZE\",A[A.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE=36048]=\"FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE\",A[A.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME=36049]=\"FRAMEBUFFER_ATTACHMENT_OBJECT_NAME\",A[A.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL=36050]=\"FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL\",A[A.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE=36051]=\"FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE\",A[A.COLOR_ATTACHMENT0=36064]=\"COLOR_ATTACHMENT0\",A[A.DEPTH_ATTACHMENT=36096]=\"DEPTH_ATTACHMENT\",A[A.STENCIL_ATTACHMENT=36128]=\"STENCIL_ATTACHMENT\",A[A.DEPTH_STENCIL_ATTACHMENT=33306]=\"DEPTH_STENCIL_ATTACHMENT\",A[A.NONE=0]=\"NONE\",A[A.FRAMEBUFFER_COMPLETE=36053]=\"FRAMEBUFFER_COMPLETE\",A[A.FRAMEBUFFER_INCOMPLETE_ATTACHMENT=36054]=\"FRAMEBUFFER_INCOMPLETE_ATTACHMENT\",A[A.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT=36055]=\"FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT\",A[A.FRAMEBUFFER_INCOMPLETE_DIMENSIONS=36057]=\"FRAMEBUFFER_INCOMPLETE_DIMENSIONS\",A[A.FRAMEBUFFER_UNSUPPORTED=36061]=\"FRAMEBUFFER_UNSUPPORTED\",A[A.FRAMEBUFFER_BINDING=36006]=\"FRAMEBUFFER_BINDING\",A[A.RENDERBUFFER_BINDING=36007]=\"RENDERBUFFER_BINDING\",A[A.MAX_RENDERBUFFER_SIZE=34024]=\"MAX_RENDERBUFFER_SIZE\",A[A.INVALID_FRAMEBUFFER_OPERATION=1286]=\"INVALID_FRAMEBUFFER_OPERATION\",A[A.UNPACK_FLIP_Y_WEBGL=37440]=\"UNPACK_FLIP_Y_WEBGL\",A[A.UNPACK_PREMULTIPLY_ALPHA_WEBGL=37441]=\"UNPACK_PREMULTIPLY_ALPHA_WEBGL\",A[A.CONTEXT_LOST_WEBGL=37442]=\"CONTEXT_LOST_WEBGL\",A[A.UNPACK_COLORSPACE_CONVERSION_WEBGL=37443]=\"UNPACK_COLORSPACE_CONVERSION_WEBGL\",A[A.BROWSER_DEFAULT_WEBGL=37444]=\"BROWSER_DEFAULT_WEBGL\",A[A.COPY_SRC=1]=\"COPY_SRC\",A[A.COPY_DST=2]=\"COPY_DST\",A[A.SAMPLED=4]=\"SAMPLED\",A[A.STORAGE=8]=\"STORAGE\",A[A.RENDER_ATTACHMENT=16]=\"RENDER_ATTACHMENT\";var J,q,re,me,Te=function(){function bt(){b()(this,bt),this.config=void 0}return u()(bt,[{key:\"get\",value:function(){return this.config}},{key:\"set\",value:function(Zt){this.config=Zt}}]),bt}();typeof navigator!=\"undefined\"&&/Version\\/[\\d\\.]+.*Safari/.test(navigator.userAgent),function(bt){bt.Void=\"Void\",bt.Boolean=\"Boolean\",bt.Float=\"Float\",bt.Uint32=\"Uint32\",bt.Int32=\"Int32\",bt.Vector=\"Vector\",bt.Vector2Float=\"vec2<f32>\",bt.Vector3Float=\"vec3<f32>\",bt.Vector4Float=\"vec4<f32>\",bt.Vector2Boolean=\"vec2<bool>\",bt.Vector3Boolean=\"vec3<bool>\",bt.Vector4Boolean=\"vec4<bool>\",bt.Vector2Uint=\"vec2<u32>\",bt.Vector3Uint=\"vec3<u32>\",bt.Vector4Uint=\"vec4<u32>\",bt.Vector2Int=\"vec2<i32>\",bt.Vector3Int=\"vec3<i32>\",bt.Vector4Int=\"vec4<i32>\",bt.Matrix=\"Matrix\",bt.Matrix3x3Float=\"mat3x3<f32>\",bt.Matrix4x4Float=\"mat4x4<i32>\",bt.Struct=\"Struct\",bt.FloatArray=\"Float[]\",bt.Vector4FloatArray=\"vec4<f32>[]\"}(J||(J={})),function(bt){bt.Program=\"Program\",bt.Identifier=\"Identifier\",bt.VariableDeclaration=\"VariableDeclaration\",bt.BlockStatement=\"BlockStatement\",bt.ReturnStatement=\"ReturnStatement\",bt.FunctionDeclaration=\"FunctionDeclaration\",bt.VariableDeclarator=\"VariableDeclarator\",bt.AssignmentExpression=\"AssignmentExpression\",bt.LogicalExpression=\"LogicalExpression\",bt.BinaryExpression=\"BinaryExpression\",bt.ArrayExpression=\"ArrayExpression\",bt.UnaryExpression=\"UnaryExpression\",bt.UpdateExpression=\"UpdateExpression\",bt.FunctionExpression=\"FunctionExpression\",bt.MemberExpression=\"MemberExpression\",bt.ConditionalExpression=\"ConditionalExpression\",bt.ExpressionStatement=\"ExpressionStatement\",bt.CallExpression=\"CallExpression\",bt.NumThreadStatement=\"NumThreadStatement\",bt.StorageStatement=\"StorageStatement\",bt.DoWhileStatement=\"DoWhileStatement\",bt.WhileStatement=\"WhileStatement\",bt.ForStatement=\"ForStatement\",bt.BreakStatement=\"BreakStatement\",bt.ContinueStatement=\"ContinueStatement\",bt.IfStatement=\"IfStatement\",bt.ImportedFunctionStatement=\"ImportedFunctionStatement\"}(q||(q={})),function(bt){bt.Input=\"Input\",bt.Output=\"Output\",bt.Uniform=\"Uniform\",bt.Workgroup=\"Workgroup\",bt.UniformConstant=\"UniformConstant\",bt.Image=\"Image\",bt.StorageBuffer=\"StorageBuffer\",bt.Private=\"Private\",bt.Function=\"Function\"}(re||(re={})),function(bt){bt.GLSL100=\"GLSL100\",bt.GLSL450=\"GLSL450\",bt.WGSL=\"WGSL\"}(me||(me={}));function ee(){if(typeof document!=\"undefined\")return document.createElement(\"canvas\");throw new Error(\"Cannot create a canvas in this context\")}function xe(bt,Zt){var gt=Object.keys(bt);if(Object.getOwnPropertySymbols){var Wt=Object.getOwnPropertySymbols(bt);Zt&&(Wt=Wt.filter(function(xn){return Object.getOwnPropertyDescriptor(bt,xn).enumerable})),gt.push.apply(gt,Wt)}return gt}function Ie(bt){for(var Zt=1;Zt<arguments.length;Zt++){var gt=arguments[Zt]!=null?arguments[Zt]:{};Zt%2?xe(Object(gt),!0).forEach(function(Wt){w()(bt,Wt,gt[Wt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(bt,Object.getOwnPropertyDescriptors(gt)):xe(Object(gt)).forEach(function(Wt){Object.defineProperty(bt,Wt,Object.getOwnPropertyDescriptor(gt,Wt))})}return bt}var Le,De,ce,ye,Oe,Ce,oe,he,ie,ae,ve,X,se,fe,_e=function(){function bt(xn,Dt){b()(this,bt),this.engine=xn,this.configService=Dt,this.model=void 0,this.dirty=!0,this.compiledBundle=void 0,this.initPromise=void 0}var Zt,gt,Wt;return u()(bt,[{key:\"init\",value:function(){var xn=this.configService.get(),Dt=xn.canvas,Xn=xn.engineOptions;this.initPromise=this.engine.init(Ie({canvas:Dt||ee(),antialiasing:!1},Xn))}},{key:\"setBundle\",value:function(xn){this.compiledBundle=JSON.parse(JSON.stringify(xn))}},{key:\"setDispatch\",value:function(xn){return this.compiledBundle.context&&(this.compiledBundle.context.dispatch=xn),this}},{key:\"setMaxIteration\",value:function(xn){return this.compiledBundle.context&&(this.compiledBundle.context.maxIteration=xn),this}},{key:\"setBinding\",value:function(xn,Dt){var Xn=this;if(typeof xn==\"string\"){var Rn=l()(Dt)||f()(Dt)||m()(Dt);if(this.compiledBundle&&this.compiledBundle.context){var wt=this.compiledBundle.context.defines.find(function(Ue){return Ue.name===xn});if(wt)return wt.value=Dt,this;var pt=this.compiledBundle.context.uniforms.find(function(Ue){return Ue.name===xn});pt&&(Rn?(pt.data=Dt,pt.isReferer=!1,pt.storageClass===re.Uniform?this.model&&this.model.updateUniform(xn,Dt):this.model&&this.model.updateBuffer(xn,Dt)):(pt.isReferer=!0,pt.data=Dt))}}else Object.keys(xn).forEach(function(Ue){Xn.setBinding(Ue,xn[Ue])});return this}},{key:\"execute\",value:(Wt=N()(M.a.mark(function xn(){var Dt,Xn,Rn=this,wt=arguments;return M.a.wrap(function(pt){for(;;)switch(pt.prev=pt.next){case 0:if(Dt=wt.length>0&&wt[0]!==void 0?wt[0]:1,!this.dirty){pt.next=6;break}return this.compiledBundle.context&&(Dt>1?this.compiledBundle.context.maxIteration=Dt:this.compiledBundle.context.maxIteration++),pt.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(Ue){return Ue.isReferer}).forEach(function(Ue){var xt=Ue.data,cn=Ue.name;Rn.model.confirmInput(xt.model,cn)}),Xn=0;Xn<Dt;Xn++)this.model.run();return this.engine.endFrame(),pt.abrupt(\"return\",this);case 12:case\"end\":return pt.stop()}},xn,this)})),function(){return Wt.apply(this,arguments)})},{key:\"getOutput\",value:(gt=N()(M.a.mark(function xn(){return M.a.wrap(function(Dt){for(;;)switch(Dt.prev=Dt.next){case 0:return Dt.abrupt(\"return\",this.model.readData());case 1:case\"end\":return Dt.stop()}},xn,this)})),function(){return gt.apply(this,arguments)})},{key:\"compile\",value:(Zt=N()(M.a.mark(function xn(){var Dt,Xn,Rn;return M.a.wrap(function(wt){for(;;)switch(wt.prev=wt.next){case 0:return wt.next=2,this.initPromise;case 2:return Dt=Ie({},this.compiledBundle.context),Xn=this.engine.supportWebGPU?this.engine.useWGSL?me.WGSL:me.GLSL450:me.GLSL100,Rn=this.compiledBundle.shaders[Xn],Dt.defines.filter(function(pt){return pt.runtime}).forEach(function(pt){var Ue=\"\".concat(\"__DefineValuePlaceholder__\").concat(pt.name);Rn=Rn.replace(Ue,\"\".concat(pt.value))}),Dt.shader=Rn,Dt.uniforms.forEach(function(pt){if(!pt.data&&pt.storageClass===re.StorageBuffer){var Ue=1;pt.type===J.FloatArray?Ue=1:pt.type===J.Vector4FloatArray&&(Ue=4),pt.data=new Float32Array(Dt.output.length*Ue).fill(0)}}),this.compiledBundle.context=Dt,wt.next=11,this.engine.createComputeModel(this.compiledBundle.context);case 11:this.model=wt.sent;case 12:case\"end\":return wt.stop()}},xn,this)})),function(){return Zt.apply(this,arguments)})}]),bt}(),be=r(117),We=r.n(be),we=function(){function bt(Zt,gt){b()(this,bt),this.attribute=void 0,this.buffer=void 0;var Wt=gt.buffer,xn=gt.offset,Dt=gt.stride,Xn=gt.normalized,Rn=gt.size,wt=gt.divisor;this.buffer=Wt,this.attribute={buffer:Wt.get(),offset:xn||0,stride:Dt||0,normalized:Xn||!1,divisor:wt||0},Rn&&(this.attribute.size=Rn)}return u()(bt,[{key:\"get\",value:function(){return this.attribute}},{key:\"updateBuffer\",value:function(Zt){this.buffer.subData(Zt)}},{key:\"destroy\",value:function(){this.buffer.destroy()}}]),bt}(),Ze=(Le={},w()(Le,L.POINTS,\"points\"),w()(Le,L.LINES,\"lines\"),w()(Le,L.LINE_LOOP,\"line loop\"),w()(Le,L.LINE_STRIP,\"line strip\"),w()(Le,L.TRIANGLES,\"triangles\"),w()(Le,L.TRIANGLE_FAN,\"triangle fan\"),w()(Le,L.TRIANGLE_STRIP,\"triangle strip\"),Le),Ve=(De={},w()(De,L.STATIC_DRAW,\"static\"),w()(De,L.DYNAMIC_DRAW,\"dynamic\"),w()(De,L.STREAM_DRAW,\"stream\"),De),et=(ce={},w()(ce,L.BYTE,\"int8\"),w()(ce,L.UNSIGNED_INT,\"int16\"),w()(ce,L.INT,\"int32\"),w()(ce,L.UNSIGNED_BYTE,\"uint8\"),w()(ce,L.UNSIGNED_SHORT,\"uint16\"),w()(ce,L.UNSIGNED_INT,\"uint32\"),w()(ce,L.FLOAT,\"float\"),ce),ht=(ye={},w()(ye,L.ALPHA,\"alpha\"),w()(ye,L.LUMINANCE,\"luminance\"),w()(ye,L.LUMINANCE_ALPHA,\"luminance alpha\"),w()(ye,L.RGB,\"rgb\"),w()(ye,L.RGBA,\"rgba\"),w()(ye,L.RGBA4,\"rgba4\"),w()(ye,L.RGB5_A1,\"rgb5 a1\"),w()(ye,L.RGB565,\"rgb565\"),w()(ye,L.DEPTH_COMPONENT,\"depth\"),w()(ye,L.DEPTH_STENCIL,\"depth stencil\"),ye),Fe=(Oe={},w()(Oe,L.DONT_CARE,\"dont care\"),w()(Oe,L.NICEST,\"nice\"),w()(Oe,L.FASTEST,\"fast\"),Oe),mt=(Ce={},w()(Ce,L.NEAREST,\"nearest\"),w()(Ce,L.LINEAR,\"linear\"),w()(Ce,L.LINEAR_MIPMAP_LINEAR,\"mipmap\"),w()(Ce,L.NEAREST_MIPMAP_LINEAR,\"nearest mipmap linear\"),w()(Ce,L.LINEAR_MIPMAP_NEAREST,\"linear mipmap nearest\"),w()(Ce,L.NEAREST_MIPMAP_NEAREST,\"nearest mipmap nearest\"),Ce),dt=(oe={},w()(oe,L.REPEAT,\"repeat\"),w()(oe,L.CLAMP_TO_EDGE,\"clamp\"),w()(oe,L.MIRRORED_REPEAT,\"mirror\"),oe),Lt=(he={},w()(he,L.NONE,\"none\"),w()(he,L.BROWSER_DEFAULT_WEBGL,\"browser\"),he),lt=(ie={},w()(ie,L.NEVER,\"never\"),w()(ie,L.ALWAYS,\"always\"),w()(ie,L.LESS,\"less\"),w()(ie,L.LEQUAL,\"lequal\"),w()(ie,L.GREATER,\"greater\"),w()(ie,L.GEQUAL,\"gequal\"),w()(ie,L.EQUAL,\"equal\"),w()(ie,L.NOTEQUAL,\"notequal\"),ie),rn=(ae={},w()(ae,L.FUNC_ADD,\"add\"),w()(ae,L.MIN_EXT,\"min\"),w()(ae,L.MAX_EXT,\"max\"),w()(ae,L.FUNC_SUBTRACT,\"subtract\"),w()(ae,L.FUNC_REVERSE_SUBTRACT,\"reverse subtract\"),ae),qt=(ve={},w()(ve,L.ZERO,\"zero\"),w()(ve,L.ONE,\"one\"),w()(ve,L.SRC_COLOR,\"src color\"),w()(ve,L.ONE_MINUS_SRC_COLOR,\"one minus src color\"),w()(ve,L.SRC_ALPHA,\"src alpha\"),w()(ve,L.ONE_MINUS_SRC_ALPHA,\"one minus src alpha\"),w()(ve,L.DST_COLOR,\"dst color\"),w()(ve,L.ONE_MINUS_DST_COLOR,\"one minus dst color\"),w()(ve,L.DST_ALPHA,\"dst alpha\"),w()(ve,L.ONE_MINUS_DST_ALPHA,\"one minus dst alpha\"),w()(ve,L.CONSTANT_COLOR,\"constant color\"),w()(ve,L.ONE_MINUS_CONSTANT_COLOR,\"one minus constant color\"),w()(ve,L.CONSTANT_ALPHA,\"constant alpha\"),w()(ve,L.ONE_MINUS_CONSTANT_ALPHA,\"one minus constant alpha\"),w()(ve,L.SRC_ALPHA_SATURATE,\"src alpha saturate\"),ve),hn=(X={},w()(X,L.NEVER,\"never\"),w()(X,L.ALWAYS,\"always\"),w()(X,L.LESS,\"less\"),w()(X,L.LEQUAL,\"lequal\"),w()(X,L.GREATER,\"greater\"),w()(X,L.GEQUAL,\"gequal\"),w()(X,L.EQUAL,\"equal\"),w()(X,L.NOTEQUAL,\"notequal\"),X),Kt=(se={},w()(se,L.ZERO,\"zero\"),w()(se,L.KEEP,\"keep\"),w()(se,L.REPLACE,\"replace\"),w()(se,L.INVERT,\"invert\"),w()(se,L.INCR,\"increment\"),w()(se,L.DECR,\"decrement\"),w()(se,L.INCR_WRAP,\"increment wrap\"),w()(se,L.DECR_WRAP,\"decrement wrap\"),se),an=(fe={},w()(fe,L.FRONT,\"front\"),w()(fe,L.BACK,\"back\"),fe),In=function(){function bt(Zt,gt){b()(this,bt),this.buffer=void 0;var Wt=gt.data,xn=gt.usage,Dt=gt.type;this.buffer=Zt.buffer({data:Wt,usage:Ve[xn||L.STATIC_DRAW],type:et[Dt||L.UNSIGNED_BYTE]})}return u()(bt,[{key:\"get\",value:function(){return this.buffer}},{key:\"destroy\",value:function(){}},{key:\"subData\",value:function(Zt){var gt=Zt.data,Wt=Zt.offset;this.buffer.subdata(gt,Wt)}}]),bt}(),Ft=r(118),kt=r.n(Ft);function At(bt,Zt){var gt=Object.keys(bt);if(Object.getOwnPropertySymbols){var Wt=Object.getOwnPropertySymbols(bt);Zt&&(Wt=Wt.filter(function(xn){return Object.getOwnPropertyDescriptor(bt,xn).enumerable})),gt.push.apply(gt,Wt)}return gt}function Fn(bt){for(var Zt=1;Zt<arguments.length;Zt++){var gt=arguments[Zt]!=null?arguments[Zt]:{};Zt%2?At(Object(gt),!0).forEach(function(Wt){w()(bt,Wt,gt[Wt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(bt,Object.getOwnPropertyDescriptors(gt)):At(Object(gt)).forEach(function(Wt){Object.defineProperty(bt,Wt,Object.getOwnPropertyDescriptor(gt,Wt))})}return bt}var pn=0,en=function(){function bt(gt,Wt){var xn=this;b()(this,bt),this.reGl=gt,this.context=Wt,this.entity=j(),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 Dt={};this.context.uniforms.forEach(function(Ue){var xt=Ue.name,cn=Ue.type,er=Ue.data,Mr=Ue.isReferer,xr=Ue.storageClass;if(xr===re.StorageBuffer){if(Mr)xn.textureCache[xt]={data:void 0},Dt[\"\".concat(xt,\"Size\")]=function(){return er.compiledBundle.context.output.textureSize};else{xn.textureCache[xt]=xn.calcDataTexture(xt,cn,er);var jr=xn.textureCache[xt],yo=jr.textureWidth,eo=jr.isOutput;Dt[\"\".concat(xt,\"Size\")]=[yo,yo],eo&&(xn.outputTextureName=xt,xn.context.needPingpong&&(xn.outputTextureName=\"\".concat(xt,\"Output\"),xn.textureCache[xn.outputTextureName]=xn.calcDataTexture(xt,cn,er)))}Dt[xt]=function(){return xn.textureCache[xt].texture}}else if(xr===re.Uniform){if(er&&(Array.isArray(er)||f()(er))&&er.length>16)throw new Error(\"invalid data type \".concat(cn));Dt[xt]=function(){return Ue.data}}});var Xn=this.getOuputDataTexture(),Rn=Xn.textureWidth,wt=Xn.texelCount;Dt.u_OutputTextureSize=[Rn,Rn],Dt.u_OutputTexelCount=wt,this.context.output.textureSize=[Rn,Rn];var pt={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:Dt,vert:`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}`,primitive:\"triangle strip\",count:4};this.computeCommand=this.reGl(pt)}var Zt;return u()(bt,[{key:\"run\",value:function(){var gt=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(){gt.computeCommand()})}},{key:\"readData\",value:(Zt=N()(M.a.mark(function gt(){var Wt,xn,Dt,Xn,Rn,wt,pt,Ue,xt=this;return M.a.wrap(function(cn){for(;;)switch(cn.prev=cn.next){case 0:if(this.reGl({framebuffer:this.texFBO})(function(){Wt=xt.reGl.read()}),!Wt){cn.next=6;break}if(xn=this.getOuputDataTexture(),Dt=xn.originalDataLength,Xn=xn.elementsPerTexel,Rn=xn.typedArrayConstructor,wt=Rn===void 0?Float32Array:Rn,pt=[],Xn!==4)for(Ue=0;Ue<Wt.length;Ue+=4)Xn===1?pt.push(Wt[Ue]):Xn===2?pt.push(Wt[Ue],Wt[Ue+1]):pt.push(Wt[Ue],Wt[Ue+1],Wt[Ue+2]);else pt=Wt;return cn.abrupt(\"return\",new wt(pt.slice(0,Dt)));case 6:return cn.abrupt(\"return\",new Float32Array);case 7:case\"end\":return cn.stop()}},gt,this)})),function(){return Zt.apply(this,arguments)})},{key:\"confirmInput\",value:function(gt,Wt){var xn;this.entity===gt.entity?(this.dynamicPingpong=!0,xn=this):xn=gt,this.textureCache[Wt].id=xn.getOuputDataTexture().id,this.textureCache[Wt].texture=xn.getOuputDataTexture().texture}},{key:\"updateUniform\",value:function(){}},{key:\"updateBuffer\",value:function(gt,Wt){var xn=this.context.uniforms.find(function(wt){return wt.name===gt});if(xn){var Dt=this.calcDataTexture(gt,xn.type,Wt),Xn=Dt.texture,Rn=Dt.data;this.textureCache[gt].data=Rn,this.textureCache[gt].texture=Xn}}},{key:\"destroy\",value:function(){}},{key:\"swap\",value:function(){if(this.swapOutputTextureName||this.createSwapOutputDataTexture(),this.compiledPingpong){var gt=this.context.output.name;this.textureCache[gt].id=this.getOuputDataTexture().id,this.textureCache[gt].texture=this.getOuputDataTexture().texture}var Wt=this.outputTextureName;this.outputTextureName=this.swapOutputTextureName,this.swapOutputTextureName=Wt}},{key:\"getOuputDataTexture\",value:function(){return this.textureCache[this.outputTextureName]}},{key:\"createSwapOutputDataTexture\",value:function(){var gt=this.cloneDataTexture(this.getOuputDataTexture());this.swapOutputTextureName=\"\".concat(this.entity,\"-swap\"),this.textureCache[this.swapOutputTextureName]=gt}},{key:\"cloneDataTexture\",value:function(gt){var Wt=gt.data,xn=gt.textureWidth;return Fn(Fn({},gt),{},{id:pn++,texture:this.reGl.texture({width:xn,height:xn,data:Wt,type:\"float\"})})}},{key:\"calcDataTexture\",value:function(gt,Wt,xn){var Dt=1;Wt===J.Vector4FloatArray&&(Dt=4);for(var Xn=[],Rn=0;Rn<xn.length;Rn+=Dt)Dt===1?Xn.push(xn[Rn],0,0,0):Dt===2?Xn.push(xn[Rn],xn[Rn+1],0,0):Dt===3?Xn.push(xn[Rn],xn[Rn+1],xn[Rn+2],0):Dt===4&&Xn.push(xn[Rn],xn[Rn+1],xn[Rn+2],xn[Rn+3]);var wt=xn.length,pt=Math.ceil(wt/Dt),Ue=Math.ceil(Math.sqrt(pt)),xt=Ue*Ue;pt<xt&&Xn.push.apply(Xn,kt()(new Array(4*(xt-pt)).fill(0)));var cn=this.reGl.texture({width:Ue,height:Ue,data:Xn,type:\"float\"});return{id:pn++,data:Xn,originalDataLength:wt,typedArrayConstructor:f()(xn)?xn.constructor:void 0,textureWidth:Ue,texture:cn,texelCount:pt,elementsPerTexel:Dt,isOutput:gt===this.context.output.name}}}]),bt}(),Wn=function(){function bt(Zt,gt){b()(this,bt),this.elements=void 0;var Wt=gt.data,xn=gt.usage,Dt=gt.type,Xn=gt.count;this.elements=Zt.elements({data:Wt,usage:Ve[xn||L.STATIC_DRAW],type:et[Dt||L.UNSIGNED_BYTE],count:Xn})}return u()(bt,[{key:\"get\",value:function(){return this.elements}},{key:\"subData\",value:function(Zt){var gt=Zt.data;this.elements.subdata(gt)}},{key:\"destroy\",value:function(){this.elements.destroy()}}]),bt}(),Mn=function(){function bt(Zt,gt){b()(this,bt),this.framebuffer=void 0;var Wt=gt.width,xn=gt.height,Dt=gt.color,Xn=gt.colors,Rn=(gt.depth,gt.stencil,{width:Wt,height:xn});Array.isArray(Xn)&&(Rn.colors=Xn.map(function(wt){return wt.get()})),Dt&&typeof Dt!=\"boolean\"&&(Rn.color=Dt.get()),this.framebuffer=Zt.framebuffer(Rn)}return u()(bt,[{key:\"get\",value:function(){return this.framebuffer}},{key:\"destroy\",value:function(){this.framebuffer.destroy()}},{key:\"resize\",value:function(Zt){var gt=Zt.width,Wt=Zt.height;this.framebuffer.resize(gt,Wt)}}]),bt}(),Kn=r(42),hr=r.n(Kn),pr=r(119),zr=r.n(pr);function Wr(bt){var Zt={};return Object.keys(bt).forEach(function(gt){(function Wt(xn,Dt,Xn,Rn){if(Dt===null||typeof Dt==\"number\"||typeof Dt==\"boolean\"||Array.isArray(Dt)&&typeof Dt[0]==\"number\"||f()(Dt)||Dt===\"\"||Dt.resize!==void 0)return void(Xn[\"\".concat(Rn&&Rn+\".\").concat(xn)]=Dt);zr()(Dt)&&Object.keys(Dt).forEach(function(wt){Wt(wt,Dt[wt],Xn,\"\".concat(Rn&&Rn+\".\").concat(xn))}),Array.isArray(Dt)&&Dt.forEach(function(wt,pt){Object.keys(wt).forEach(function(Ue){Wt(Ue,wt[Ue],Xn,\"\".concat(Rn&&Rn+\".\").concat(xn,\"[\").concat(pt,\"]\"))})})})(gt,bt[gt],Zt,\"\")}),Zt}function Nr(bt,Zt){var gt=Object.keys(bt);if(Object.getOwnPropertySymbols){var Wt=Object.getOwnPropertySymbols(bt);Zt&&(Wt=Wt.filter(function(xn){return Object.getOwnPropertyDescriptor(bt,xn).enumerable})),gt.push.apply(gt,Wt)}return gt}function Kr(bt){for(var Zt=1;Zt<arguments.length;Zt++){var gt=arguments[Zt]!=null?arguments[Zt]:{};Zt%2?Nr(Object(gt),!0).forEach(function(Wt){w()(bt,Wt,gt[Wt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(bt,Object.getOwnPropertyDescriptors(gt)):Nr(Object(gt)).forEach(function(Wt){Object.defineProperty(bt,Wt,Object.getOwnPropertyDescriptor(gt,Wt))})}return bt}var ko=function(){function bt(Zt,gt){b()(this,bt),this.reGl=void 0,this.drawCommand=void 0,this.uniforms={},this.reGl=Zt;var Wt=gt.vs,xn=gt.fs,Dt=gt.defines,Xn=gt.attributes,Rn=gt.uniforms,wt=gt.primitive,pt=gt.count,Ue=gt.elements,xt=gt.depth,cn=gt.blend,er=gt.stencil,Mr=gt.cull,xr=gt.instances,jr=gt.scissor,yo=gt.viewport,eo={};Rn&&(this.uniforms=Wr(Rn),Object.keys(Rn).forEach(function(mi){eo[mi]=Zt.prop(mi)}));var vi={};Object.keys(Xn).forEach(function(mi){vi[mi]=Xn[mi].get()});var Ti=Dt&&this.generateDefines(Dt)||\"\",wi={attributes:vi,frag:`#ifdef GL_FRAGMENT_PRECISION_HIGH\n  precision highp float;\n#else\n  precision mediump float;\n#endif\n`.concat(Ti,`\n`).concat(xn),uniforms:eo,vert:`\n`.concat(Ti,`\n`).concat(Wt),primitive:Ze[wt===void 0?L.TRIANGLES:wt]};xr&&(wi.instances=xr),pt&&(wi.count=pt),Ue&&(wi.elements=Ue.get()),jr&&(wi.scissor=jr),yo&&(wi.viewport=yo),this.initDepthDrawParams({depth:xt},wi),this.initBlendDrawParams({blend:cn},wi),this.initStencilDrawParams({stencil:er},wi),this.initCullDrawParams({cull:Mr},wi),this.drawCommand=Zt(wi)}return u()(bt,[{key:\"addUniforms\",value:function(Zt){this.uniforms=Kr(Kr({},this.uniforms),Wr(Zt))}},{key:\"draw\",value:function(Zt){var gt=Kr(Kr({},this.uniforms),Wr(Zt.uniforms||{})),Wt={};Object.keys(gt).forEach(function(xn){var Dt=hr()(gt[xn]);Dt===\"boolean\"||Dt===\"number\"||Array.isArray(gt[xn])||gt[xn].BYTES_PER_ELEMENT?Wt[xn]=gt[xn]:Dt===\"string\"||(Wt[xn]=gt[xn].get())}),this.drawCommand(Wt)}},{key:\"destroy\",value:function(){}},{key:\"initDepthDrawParams\",value:function(Zt,gt){var Wt=Zt.depth;Wt&&(gt.depth={enable:Wt.enable===void 0||!!Wt.enable,mask:Wt.mask===void 0||!!Wt.mask,func:lt[Wt.func||L.LESS],range:Wt.range||[0,1]})}},{key:\"initBlendDrawParams\",value:function(Zt,gt){var Wt=Zt.blend;if(Wt){var xn=Wt.enable,Dt=Wt.func,Xn=Wt.equation,Rn=Wt.color,wt=Rn===void 0?[0,0,0,0]:Rn;gt.blend={enable:!!xn,func:{srcRGB:qt[Dt&&Dt.srcRGB||L.SRC_ALPHA],srcAlpha:qt[Dt&&Dt.srcAlpha||L.SRC_ALPHA],dstRGB:qt[Dt&&Dt.dstRGB||L.ONE_MINUS_SRC_ALPHA],dstAlpha:qt[Dt&&Dt.dstAlpha||L.ONE_MINUS_SRC_ALPHA]},equation:{rgb:rn[Xn&&Xn.rgb||L.FUNC_ADD],alpha:rn[Xn&&Xn.alpha||L.FUNC_ADD]},color:wt}}}},{key:\"initStencilDrawParams\",value:function(Zt,gt){var Wt=Zt.stencil;if(Wt){var xn=Wt.enable,Dt=Wt.mask,Xn=Dt===void 0?-1:Dt,Rn=Wt.func,wt=Rn===void 0?{cmp:L.ALWAYS,ref:0,mask:-1}:Rn,pt=Wt.opFront,Ue=pt===void 0?{fail:L.KEEP,zfail:L.KEEP,zpass:L.KEEP}:pt,xt=Wt.opBack,cn=xt===void 0?{fail:L.KEEP,zfail:L.KEEP,zpass:L.KEEP}:xt;gt.stencil={enable:!!xn,mask:Xn,func:Kr(Kr({},wt),{},{cmp:hn[wt.cmp]}),opFront:{fail:Kt[Ue.fail],zfail:Kt[Ue.zfail],zpass:Kt[Ue.zpass]},opBack:{fail:Kt[cn.fail],zfail:Kt[cn.zfail],zpass:Kt[cn.zpass]}}}}},{key:\"initCullDrawParams\",value:function(Zt,gt){var Wt=Zt.cull;if(Wt){var xn=Wt.enable,Dt=Wt.face,Xn=Dt===void 0?L.BACK:Dt;gt.cull={enable:!!xn,face:an[Xn]}}}},{key:\"generateDefines\",value:function(Zt){return Object.keys(Zt).map(function(gt){return\"#define \".concat(gt,\" \").concat(Number(Zt[gt]))}).join(`\n`)}}]),bt}(),Ur=function(){function bt(Zt,gt){b()(this,bt),this.texture=void 0,this.width=void 0,this.height=void 0;var Wt=gt.data,xn=gt.type,Dt=xn===void 0?L.UNSIGNED_BYTE:xn,Xn=gt.width,Rn=gt.height,wt=gt.flipY,pt=wt!==void 0&&wt,Ue=gt.format,xt=Ue===void 0?L.RGBA:Ue,cn=gt.mipmap,er=cn!==void 0&&cn,Mr=gt.wrapS,xr=Mr===void 0?L.CLAMP_TO_EDGE:Mr,jr=gt.wrapT,yo=jr===void 0?L.CLAMP_TO_EDGE:jr,eo=gt.aniso,vi=eo===void 0?0:eo,Ti=gt.alignment,wi=Ti===void 0?1:Ti,mi=gt.premultiplyAlpha,Zi=mi!==void 0&&mi,aa=gt.mag,$e=aa===void 0?L.NEAREST:aa,dn=gt.min,Un=dn===void 0?L.NEAREST:dn,ar=gt.colorSpace,Rr=ar===void 0?L.BROWSER_DEFAULT_WEBGL:ar;this.width=Xn,this.height=Rn;var Ro={width:Xn,height:Rn,type:et[Dt],format:ht[xt],wrapS:dt[xr],wrapT:dt[yo],mag:mt[$e],min:mt[Un],alignment:wi,flipY:pt,colorSpace:Lt[Rr],premultiplyAlpha:Zi,aniso:vi};Wt&&(Ro.data=Wt),typeof er==\"number\"?Ro.mipmap=Fe[er]:typeof er==\"boolean\"&&(Ro.mipmap=er),this.texture=Zt.texture(Ro)}return u()(bt,[{key:\"get\",value:function(){return this.texture}},{key:\"update\",value:function(){this.texture._texture.bind()}},{key:\"resize\",value:function(Zt){var gt=Zt.width,Wt=Zt.height;this.texture.resize(gt,Wt),this.width=gt,this.height=Wt}},{key:\"destroy\",value:function(){this.texture.destroy()}}]),bt}(),gn=function(){function bt(){var gt=this;b()(this,bt),this.supportWebGPU=!1,this.useWGSL=!1,this.$canvas=void 0,this.gl=void 0,this.inited=void 0,this.createModel=function(){var Wt=N()(M.a.mark(function xn(Dt){return M.a.wrap(function(Xn){for(;;)switch(Xn.prev=Xn.next){case 0:if(!Dt.uniforms){Xn.next=3;break}return Xn.next=3,Promise.all(Object.keys(Dt.uniforms).map(function(){var Rn=N()(M.a.mark(function wt(pt){var Ue;return M.a.wrap(function(xt){for(;;)switch(xt.prev=xt.next){case 0:if(!Dt.uniforms[pt]||Dt.uniforms[pt].load===void 0){xt.next=5;break}return xt.next=3,Dt.uniforms[pt].load();case 3:Ue=xt.sent,Dt.uniforms[pt]=Ue;case 5:case\"end\":return xt.stop()}},wt)}));return function(wt){return Rn.apply(this,arguments)}}()));case 3:return Xn.abrupt(\"return\",new ko(gt.gl,Dt));case 4:case\"end\":return Xn.stop()}},xn)}));return function(xn){return Wt.apply(this,arguments)}}(),this.createAttribute=function(Wt){return new we(gt.gl,Wt)},this.createBuffer=function(Wt){return new In(gt.gl,Wt)},this.createElements=function(Wt){return new Wn(gt.gl,Wt)},this.createTexture2D=function(Wt){return new Ur(gt.gl,Wt)},this.createFramebuffer=function(Wt){return new Mn(gt.gl,Wt)},this.useFramebuffer=function(Wt,xn){gt.gl({framebuffer:Wt?Wt.get():null})(xn)},this.createComputeModel=function(){var Wt=N()(M.a.mark(function xn(Dt){return M.a.wrap(function(Xn){for(;;)switch(Xn.prev=Xn.next){case 0:return Xn.abrupt(\"return\",new en(gt.gl,Dt));case 1:case\"end\":return Xn.stop()}},xn)}));return function(xn){return Wt.apply(this,arguments)}}(),this.clear=function(Wt){var xn=Wt.color,Dt=Wt.depth,Xn=Wt.stencil,Rn=Wt.framebuffer,wt=Rn===void 0?null:Rn,pt={color:xn,depth:Dt,stencil:Xn};pt.framebuffer=wt===null?wt:wt.get(),gt.gl.clear(pt)},this.setScissor=function(Wt){gt.gl&&gt.gl._gl&&(Wt.enable&&Wt.box?(gt.gl._gl.enable(L.SCISSOR_TEST),gt.gl._gl.scissor(Wt.box.x,Wt.box.y,Wt.box.width,Wt.box.height)):gt.gl._gl.disable(L.SCISSOR_TEST),gt.gl._refresh())},this.viewport=function(Wt){var xn=Wt.x,Dt=Wt.y,Xn=Wt.width,Rn=Wt.height;gt.gl&&gt.gl._gl&&(gt.gl._gl.viewport(xn,Dt,Xn,Rn),gt.gl._refresh())},this.readPixels=function(Wt){var xn=Wt.framebuffer,Dt={x:Wt.x,y:Wt.y,width:Wt.width,height:Wt.height};return xn&&(Dt.framebuffer=xn.get()),gt.gl.read(Dt)},this.getCanvas=function(){return gt.$canvas},this.getGLContext=function(){return gt.gl._gl},this.destroy=function(){gt.gl&&(gt.gl.destroy(),gt.inited=!1)}}var Zt;return u()(bt,[{key:\"init\",value:(Zt=N()(M.a.mark(function gt(Wt){return M.a.wrap(function(xn){for(;;)switch(xn.prev=xn.next){case 0:if(!this.inited){xn.next=2;break}return xn.abrupt(\"return\");case 2:return this.$canvas=Wt.canvas,xn.next=5,new Promise(function(Dt,Xn){We()({canvas:Wt.canvas,attributes:{alpha:!0,antialias:Wt.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(Rn,wt){!Rn&&wt||Xn(Rn),Dt(wt)}})});case 5:this.gl=xn.sent,this.inited=!0;case 7:case\"end\":return xn.stop()}},gt,this)})),function(gt){return Zt.apply(this,arguments)})},{key:\"isFloatSupported\",value:function(){return this.gl.limits.readFloat}},{key:\"beginFrame\",value:function(){}},{key:\"endFrame\",value:function(){}}]),bt}(),Gt=function(){function bt(){b()(this,bt),this.engine=void 0,this.configService=new Te}return u()(bt,[{key:\"setConfig\",value:function(Zt){this.configService.set(Zt)}},{key:\"setEngine\",value:function(Zt){this.engine=Zt}},{key:\"createEntity\",value:function(){return j()}},{key:\"createKernel\",value:function(Zt){var gt=new _e(this.engine,this.configService);return typeof Zt==\"string\"?gt.setBundle(JSON.parse(Zt)):gt.setBundle(Zt),gt.init(),gt}},{key:\"destroy\",value:function(){this.engine.destroy()}}],[{key:\"create\",value:function(){var Zt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},gt=new bt;return gt.setConfig(Zt),gt.setEngine(new gn),gt}}]),bt}()},function(Ee,c,r){\"use strict\";var y=r(1),N=r(55),C=r(53),w=r(8),O=r(0);function b(wt){return(b=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(pt){return typeof pt}:function(pt){return pt&&typeof Symbol==\"function\"&&pt.constructor===Symbol&&pt!==Symbol.prototype?\"symbol\":typeof pt})(wt)}var p,u,a=0,f=0,h=0,l=0,s=0,m=0,x=(typeof performance==\"undefined\"?\"undefined\":b(performance))===\"object\"&&performance.now?performance:Date,M=(typeof window==\"undefined\"?\"undefined\":b(window))===\"object\"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(wt){setTimeout(wt,17)};function E(){return s||(M(j),s=x.now()+m)}function j(){s=0}function L(){this._call=this._time=this._next=null}function A(wt,pt,Ue){var xt=new L;return xt.restart(wt,pt,Ue),xt}function J(){s=(l=x.now())+m,a=f=0;try{(function(){E(),++a;for(var wt,pt=p;pt;)(wt=s-pt._time)>=0&&pt._call.call(null,wt),pt=pt._next;--a})()}finally{a=0,function(){for(var wt,pt,Ue=p,xt=1/0;Ue;)Ue._call?(xt>Ue._time&&(xt=Ue._time),wt=Ue,Ue=Ue._next):(pt=Ue._next,Ue._next=null,Ue=wt?wt._next=pt:p=pt);u=wt,re(xt)}(),s=0}}function q(){var wt=x.now(),pt=wt-l;pt>1e3&&(m-=pt,l=wt)}function re(wt){a||(f&&(f=clearTimeout(f)),wt-s>24?(wt<1/0&&(f=setTimeout(J,wt-x.now()-m)),h&&(h=clearInterval(h))):(h||(l=x.now(),h=setInterval(q,1e3)),a=1,M(J)))}L.prototype=A.prototype={constructor:L,restart:function(wt,pt,Ue){if(typeof wt!=\"function\")throw new TypeError(\"callback is not a function\");Ue=(Ue==null?E():+Ue)+(pt==null?0:+pt),this._next||u===this||(u?u._next=this:p=this,u=this),this._call=wt,this._time=Ue,re()},stop:function(){this._call&&(this._call=null,this._time=1/0,re())}};var me=function(wt,pt,Ue){wt.prototype=pt.prototype=Ue,Ue.constructor=wt};function Te(wt,pt){var Ue=Object.create(wt.prototype);for(var xt in pt)Ue[xt]=pt[xt];return Ue}function ee(){}var xe=\"\\\\s*([+-]?\\\\d+)\\\\s*\",Ie=\"\\\\s*([+-]?(?:\\\\d*\\\\.)?\\\\d+(?:[eE][+-]?\\\\d+)?)\\\\s*\",Le=\"\\\\s*([+-]?(?:\\\\d*\\\\.)?\\\\d+(?:[eE][+-]?\\\\d+)?)%\\\\s*\",De=/^#([0-9a-f]{3,8})$/,ce=new RegExp(\"^rgb\\\\(\".concat(xe,\",\").concat(xe,\",\").concat(xe,\"\\\\)$\")),ye=new RegExp(\"^rgb\\\\(\".concat(Le,\",\").concat(Le,\",\").concat(Le,\"\\\\)$\")),Oe=new RegExp(\"^rgba\\\\(\".concat(xe,\",\").concat(xe,\",\").concat(xe,\",\").concat(Ie,\"\\\\)$\")),Ce=new RegExp(\"^rgba\\\\(\".concat(Le,\",\").concat(Le,\",\").concat(Le,\",\").concat(Ie,\"\\\\)$\")),oe=new RegExp(\"^hsl\\\\(\".concat(Ie,\",\").concat(Le,\",\").concat(Le,\"\\\\)$\")),he=new RegExp(\"^hsla\\\\(\".concat(Ie,\",\").concat(Le,\",\").concat(Le,\",\").concat(Ie,\"\\\\)$\")),ie={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 ae(){return this.rgb().formatHex()}function ve(){return this.rgb().formatRgb()}function X(wt){var pt,Ue;return wt=(wt+\"\").trim().toLowerCase(),(pt=De.exec(wt))?(Ue=pt[1].length,pt=parseInt(pt[1],16),Ue===6?se(pt):Ue===3?new We(pt>>8&15|pt>>4&240,pt>>4&15|240&pt,(15&pt)<<4|15&pt,1):Ue===8?fe(pt>>24&255,pt>>16&255,pt>>8&255,(255&pt)/255):Ue===4?fe(pt>>12&15|pt>>8&240,pt>>8&15|pt>>4&240,pt>>4&15|240&pt,((15&pt)<<4|15&pt)/255):null):(pt=ce.exec(wt))?new We(pt[1],pt[2],pt[3],1):(pt=ye.exec(wt))?new We(255*pt[1]/100,255*pt[2]/100,255*pt[3]/100,1):(pt=Oe.exec(wt))?fe(pt[1],pt[2],pt[3],pt[4]):(pt=Ce.exec(wt))?fe(255*pt[1]/100,255*pt[2]/100,255*pt[3]/100,pt[4]):(pt=oe.exec(wt))?Fe(pt[1],pt[2]/100,pt[3]/100,1):(pt=he.exec(wt))?Fe(pt[1],pt[2]/100,pt[3]/100,pt[4]):ie.hasOwnProperty(wt)?se(ie[wt]):wt===\"transparent\"?new We(NaN,NaN,NaN,0):null}function se(wt){return new We(wt>>16&255,wt>>8&255,255&wt,1)}function fe(wt,pt,Ue,xt){return xt<=0&&(wt=pt=Ue=NaN),new We(wt,pt,Ue,xt)}function _e(wt){return wt instanceof ee||(wt=X(wt)),wt?new We((wt=wt.rgb()).r,wt.g,wt.b,wt.opacity):new We}function be(wt,pt,Ue,xt){return arguments.length===1?_e(wt):new We(wt,pt,Ue,xt==null?1:xt)}function We(wt,pt,Ue,xt){this.r=+wt,this.g=+pt,this.b=+Ue,this.opacity=+xt}function we(){return\"#\".concat(ht(this.r)).concat(ht(this.g)).concat(ht(this.b))}function Ze(){var wt=Ve(this.opacity);return\"\".concat(wt===1?\"rgb(\":\"rgba(\").concat(et(this.r),\", \").concat(et(this.g),\", \").concat(et(this.b)).concat(wt===1?\")\":\", \".concat(wt,\")\"))}function Ve(wt){return isNaN(wt)?1:Math.max(0,Math.min(1,wt))}function et(wt){return Math.max(0,Math.min(255,Math.round(wt)||0))}function ht(wt){return((wt=et(wt))<16?\"0\":\"\")+wt.toString(16)}function Fe(wt,pt,Ue,xt){return xt<=0?wt=pt=Ue=NaN:Ue<=0||Ue>=1?wt=pt=NaN:pt<=0&&(wt=NaN),new dt(wt,pt,Ue,xt)}function mt(wt){if(wt instanceof dt)return new dt(wt.h,wt.s,wt.l,wt.opacity);if(wt instanceof ee||(wt=X(wt)),!wt)return new dt;if(wt instanceof dt)return wt;var pt=(wt=wt.rgb()).r/255,Ue=wt.g/255,xt=wt.b/255,cn=Math.min(pt,Ue,xt),er=Math.max(pt,Ue,xt),Mr=NaN,xr=er-cn,jr=(er+cn)/2;return xr?(Mr=pt===er?(Ue-xt)/xr+6*(Ue<xt):Ue===er?(xt-pt)/xr+2:(pt-Ue)/xr+4,xr/=jr<.5?er+cn:2-er-cn,Mr*=60):xr=jr>0&&jr<1?0:Mr,new dt(Mr,xr,jr,wt.opacity)}function dt(wt,pt,Ue,xt){this.h=+wt,this.s=+pt,this.l=+Ue,this.opacity=+xt}function Lt(wt){return(wt=(wt||0)%360)<0?wt+360:wt}function lt(wt){return Math.max(0,Math.min(1,wt||0))}function rn(wt,pt,Ue){return 255*(wt<60?pt+(Ue-pt)*wt/60:wt<180?Ue:wt<240?pt+(Ue-pt)*(240-wt)/60:pt)}function qt(wt,pt,Ue,xt,cn){var er=wt*wt,Mr=er*wt;return((1-3*wt+3*er-Mr)*pt+(4-6*er+3*Mr)*Ue+(1+3*wt+3*er-3*Mr)*xt+Mr*cn)/6}me(ee,X,{copy:function(wt){return Object.assign(new this.constructor,this,wt)},displayable:function(){return this.rgb().displayable()},hex:ae,formatHex:ae,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return mt(this).formatHsl()},formatRgb:ve,toString:ve}),me(We,be,Te(ee,{brighter:function(wt){return wt=wt==null?1/.7:Math.pow(1/.7,wt),new We(this.r*wt,this.g*wt,this.b*wt,this.opacity)},darker:function(wt){return wt=wt==null?.7:Math.pow(.7,wt),new We(this.r*wt,this.g*wt,this.b*wt,this.opacity)},rgb:function(){return this},clamp:function(){return new We(et(this.r),et(this.g),et(this.b),Ve(this.opacity))},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:we,formatHex:we,formatHex8:function(){return\"#\".concat(ht(this.r)).concat(ht(this.g)).concat(ht(this.b)).concat(ht(255*(isNaN(this.opacity)?1:this.opacity)))},formatRgb:Ze,toString:Ze})),me(dt,function(wt,pt,Ue,xt){return arguments.length===1?mt(wt):new dt(wt,pt,Ue,xt==null?1:xt)},Te(ee,{brighter:function(wt){return wt=wt==null?1/.7:Math.pow(1/.7,wt),new dt(this.h,this.s,this.l*wt,this.opacity)},darker:function(wt){return wt=wt==null?.7:Math.pow(.7,wt),new dt(this.h,this.s,this.l*wt,this.opacity)},rgb:function(){var wt=this.h%360+360*(this.h<0),pt=isNaN(wt)||isNaN(this.s)?0:this.s,Ue=this.l,xt=Ue+(Ue<.5?Ue:1-Ue)*pt,cn=2*Ue-xt;return new We(rn(wt>=240?wt-240:wt+120,cn,xt),rn(wt,cn,xt),rn(wt<120?wt+240:wt-120,cn,xt),this.opacity)},clamp:function(){return new dt(Lt(this.h),lt(this.s),lt(this.l),Ve(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 wt=Ve(this.opacity);return\"\".concat(wt===1?\"hsl(\":\"hsla(\").concat(Lt(this.h),\", \").concat(100*lt(this.s),\"%, \").concat(100*lt(this.l),\"%\").concat(wt===1?\")\":\", \".concat(wt,\")\"))}}));var hn=function(wt){return function(){return wt}};function Kt(wt,pt){return function(Ue){return wt+Ue*pt}}function an(wt){return(wt=+wt)==1?In:function(pt,Ue){return Ue-pt?function(xt,cn,er){return xt=Math.pow(xt,er),cn=Math.pow(cn,er)-xt,er=1/er,function(Mr){return Math.pow(xt+Mr*cn,er)}}(pt,Ue,wt):hn(isNaN(pt)?Ue:pt)}}function In(wt,pt){var Ue=pt-wt;return Ue?Kt(wt,Ue):hn(isNaN(wt)?pt:wt)}var Ft=function wt(pt){var Ue=an(pt);function xt(cn,er){var Mr=Ue((cn=be(cn)).r,(er=be(er)).r),xr=Ue(cn.g,er.g),jr=Ue(cn.b,er.b),yo=In(cn.opacity,er.opacity);return function(eo){return cn.r=Mr(eo),cn.g=xr(eo),cn.b=jr(eo),cn.opacity=yo(eo),cn+\"\"}}return xt.gamma=wt,xt}(1);function kt(wt){return function(pt){var Ue,xt,cn=pt.length,er=new Array(cn),Mr=new Array(cn),xr=new Array(cn);for(Ue=0;Ue<cn;++Ue)xt=be(pt[Ue]),er[Ue]=xt.r||0,Mr[Ue]=xt.g||0,xr[Ue]=xt.b||0;return er=wt(er),Mr=wt(Mr),xr=wt(xr),xt.opacity=1,function(jr){return xt.r=er(jr),xt.g=Mr(jr),xt.b=xr(jr),xt+\"\"}}}kt(function(wt){var pt=wt.length-1;return function(Ue){var xt=Ue<=0?Ue=0:Ue>=1?(Ue=1,pt-1):Math.floor(Ue*pt),cn=wt[xt],er=wt[xt+1],Mr=xt>0?wt[xt-1]:2*cn-er,xr=xt<pt-1?wt[xt+2]:2*er-cn;return qt((Ue-xt/pt)*pt,Mr,cn,er,xr)}}),kt(function(wt){var pt=wt.length;return function(Ue){var xt=Math.floor(((Ue%=1)<0?++Ue:Ue)*pt),cn=wt[(xt+pt-1)%pt],er=wt[xt%pt],Mr=wt[(xt+1)%pt],xr=wt[(xt+2)%pt];return qt((Ue-xt/pt)*pt,cn,er,Mr,xr)}});var At=function(wt,pt){pt||(pt=[]);var Ue,xt=wt?Math.min(pt.length,wt.length):0,cn=pt.slice();return function(er){for(Ue=0;Ue<xt;++Ue)cn[Ue]=wt[Ue]*(1-er)+pt[Ue]*er;return cn}};function Fn(wt){return ArrayBuffer.isView(wt)&&!(wt instanceof DataView)}function pn(wt,pt){var Ue,xt=pt?pt.length:0,cn=wt?Math.min(xt,wt.length):0,er=new Array(cn),Mr=new Array(xt);for(Ue=0;Ue<cn;++Ue)er[Ue]=Nr(wt[Ue],pt[Ue]);for(;Ue<xt;++Ue)Mr[Ue]=pt[Ue];return function(xr){for(Ue=0;Ue<cn;++Ue)Mr[Ue]=er[Ue](xr);return Mr}}var en=function(wt,pt){var Ue=new Date;return wt=+wt,pt=+pt,function(xt){return Ue.setTime(wt*(1-xt)+pt*xt),Ue}},Wn=function(wt,pt){return wt=+wt,pt=+pt,function(Ue){return wt*(1-Ue)+pt*Ue}};function Mn(wt){return(Mn=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(pt){return typeof pt}:function(pt){return pt&&typeof Symbol==\"function\"&&pt.constructor===Symbol&&pt!==Symbol.prototype?\"symbol\":typeof pt})(wt)}var Kn=function(wt,pt){var Ue,xt={},cn={};for(Ue in wt!==null&&Mn(wt)===\"object\"||(wt={}),pt!==null&&Mn(pt)===\"object\"||(pt={}),pt)Ue in wt?xt[Ue]=Nr(wt[Ue],pt[Ue]):cn[Ue]=pt[Ue];return function(er){for(Ue in xt)cn[Ue]=xt[Ue](er);return cn}},hr=/[-+]?(?:\\d+\\.?\\d*|\\.?\\d+)(?:[eE][-+]?\\d+)?/g,pr=new RegExp(hr.source,\"g\"),zr=function(wt,pt){var Ue,xt,cn,er=hr.lastIndex=pr.lastIndex=0,Mr=-1,xr=[],jr=[];for(wt+=\"\",pt+=\"\";(Ue=hr.exec(wt))&&(xt=pr.exec(pt));)(cn=xt.index)>er&&(cn=pt.slice(er,cn),xr[Mr]?xr[Mr]+=cn:xr[++Mr]=cn),(Ue=Ue[0])===(xt=xt[0])?xr[Mr]?xr[Mr]+=xt:xr[++Mr]=xt:(xr[++Mr]=null,jr.push({i:Mr,x:Wn(Ue,xt)})),er=pr.lastIndex;return er<pt.length&&(cn=pt.slice(er),xr[Mr]?xr[Mr]+=cn:xr[++Mr]=cn),xr.length<2?jr[0]?function(yo){return function(eo){return yo(eo)+\"\"}}(jr[0].x):function(yo){return function(){return yo}}(pt):(pt=jr.length,function(yo){for(var eo,vi=0;vi<pt;++vi)xr[(eo=jr[vi]).i]=eo.x(yo);return xr.join(\"\")})};function Wr(wt){return(Wr=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(pt){return typeof pt}:function(pt){return pt&&typeof Symbol==\"function\"&&pt.constructor===Symbol&&pt!==Symbol.prototype?\"symbol\":typeof pt})(wt)}var Nr=function(wt,pt){var Ue,xt=Wr(pt);return pt==null||xt===\"boolean\"?hn(pt):(xt===\"number\"?Wn:xt===\"string\"?(Ue=X(pt))?(pt=Ue,Ft):zr:pt instanceof X?Ft:pt instanceof Date?en:Fn(pt)?At:Array.isArray(pt)?pn:typeof pt.valueOf!=\"function\"&&typeof pt.toString!=\"function\"||isNaN(pt)?Kn:Wn)(wt,pt)},Kr=r(51),ko=r(28),Ur=[1,0,0,0,1,0,0,0,1];function gn(wt,pt,Ue){var xt,cn=pt.startTime;if(Ue<cn+pt.delay||pt._paused)return!1;var er=pt.duration,Mr=pt.easing,xr=Object(Kr.a)(Mr);if(Ue=Ue-cn-pt.delay,pt.repeat)xt=xr(xt=Ue%er/er);else{if(!((xt=Ue/er)<1))return pt.onFrame?wt.attr(pt.onFrame(1)):wt.attr(pt.toAttrs),!0;xt=xr(xt)}if(pt.onFrame){var jr=pt.onFrame(xt);wt.attr(jr)}else(function(yo,eo,vi){var Ti={},wi=eo.fromAttrs,mi=eo.toAttrs;if(!yo.destroyed){var Zi,aa,$e,dn;for(var Un in mi)if(!Object(O.isEqual)(wi[Un],mi[Un]))if(Un===\"path\"){var ar=mi[Un],Rr=wi[Un];ar.length>Rr.length?(ar=ko.parsePathString(mi[Un]),Rr=ko.parsePathString(wi[Un]),Rr=ko.fillPathByDiff(Rr,ar),Rr=ko.formatPath(Rr,ar),eo.fromAttrs.path=Rr,eo.toAttrs.path=ar):eo.pathFormatted||(ar=ko.parsePathString(mi[Un]),Rr=ko.parsePathString(wi[Un]),Rr=ko.formatPath(Rr,ar),eo.fromAttrs.path=Rr,eo.toAttrs.path=ar,eo.pathFormatted=!0),Ti[Un]=[];for(var Ro=0;Ro<ar.length;Ro++){for(var Vo=ar[Ro],Co=Rr[Ro],Mo=[],qo=0;qo<Vo.length;qo++)Object(O.isNumber)(Vo[qo])&&Co&&Object(O.isNumber)(Co[qo])?(Zi=Nr(Co[qo],Vo[qo]),Mo.push(Zi(vi))):Mo.push(Vo[qo]);Ti[Un].push(Mo)}}else if(Un===\"matrix\"){var ti=($e=wi[Un]||Ur,(Fn(dn=mi[Un]||Ur)?At:pn)($e,dn))(vi);Ti[Un]=ti}else[\"fill\",\"stroke\",\"fillStyle\",\"strokeStyle\"].includes(Un)&&(aa=mi[Un],/^[r,R,L,l]{1}[\\s]*\\(/.test(aa))?Ti[Un]=mi[Un]:Object(O.isFunction)(mi[Un])||(Zi=Nr(wi[Un],mi[Un]),Ti[Un]=Zi(vi));yo.attr(Ti)}})(wt,pt,xt);return!1}var Gt=function(){function wt(pt){this.animators=[],this.current=0,this.timer=null,this.canvas=pt}return wt.prototype.initTimer=function(){var pt,Ue,xt,cn=this;this.timer=A(function(er){if(cn.current=er,cn.animators.length>0){for(var Mr=cn.animators.length-1;Mr>=0;Mr--)if((pt=cn.animators[Mr]).destroyed)cn.removeAnimator(Mr);else{if(!pt.isAnimatePaused())for(var xr=(Ue=pt.get(\"animations\")).length-1;xr>=0;xr--)xt=Ue[xr],gn(pt,xt,er)&&(Ue.splice(xr,1),xt.callback&&xt.callback());Ue.length===0&&cn.removeAnimator(Mr)}cn.canvas.get(\"autoDraw\")||cn.canvas.draw()}})},wt.prototype.addAnimator=function(pt){this.animators.push(pt)},wt.prototype.removeAnimator=function(pt){this.animators.splice(pt,1)},wt.prototype.isAnimating=function(){return!!this.animators.length},wt.prototype.stop=function(){this.timer&&this.timer.stop()},wt.prototype.stopAllAnimations=function(pt){pt===void 0&&(pt=!0),this.animators.forEach(function(Ue){Ue.stopAnimate(pt)}),this.animators=[],this.canvas.draw()},wt.prototype.getTime=function(){return this.current},wt}(),bt=r(48),Zt=[\"mousedown\",\"mouseup\",\"dblclick\",\"mouseout\",\"mouseover\",\"mousemove\",\"mouseleave\",\"mouseenter\",\"touchstart\",\"touchmove\",\"touchend\",\"dragenter\",\"dragover\",\"dragleave\",\"drop\",\"contextmenu\",\"mousewheel\"];function gt(wt,pt,Ue){Ue.name=pt,Ue.target=wt,Ue.currentTarget=wt,Ue.delegateTarget=wt,wt.emit(pt,Ue)}function Wt(wt,pt,Ue){if(Ue.bubbles){var xt=void 0,cn=!1;if(pt===\"mouseenter\"?(xt=Ue.fromShape,cn=!0):pt===\"mouseleave\"&&(cn=!0,xt=Ue.toShape),wt.isCanvas()&&cn)return;if(xt&&Object(w.g)(wt,xt))return void(Ue.bubbles=!1);Ue.name=pt,Ue.currentTarget=wt,Ue.delegateTarget=wt,wt.emit(pt,Ue)}}var xn=function(){function wt(pt){var Ue=this;this.draggingShape=null,this.dragging=!1,this.currentShape=null,this.mousedownShape=null,this.mousedownPoint=null,this._eventCallback=function(xt){var cn=xt.type;Ue._triggerEvent(cn,xt)},this._onDocumentMove=function(xt){if(Ue.canvas.get(\"el\")!==xt.target&&(Ue.dragging||Ue.currentShape)){var cn=Ue._getPointInfo(xt);Ue.dragging&&Ue._emitEvent(\"drag\",xt,cn,Ue.draggingShape)}},this._onDocumentMouseUp=function(xt){if(Ue.canvas.get(\"el\")!==xt.target&&Ue.dragging){var cn=Ue._getPointInfo(xt);Ue.draggingShape&&Ue._emitEvent(\"drop\",xt,cn,null),Ue._emitEvent(\"dragend\",xt,cn,Ue.draggingShape),Ue._afterDrag(Ue.draggingShape,cn,xt)}},this.canvas=pt.canvas}return wt.prototype.init=function(){this._bindEvents()},wt.prototype._bindEvents=function(){var pt=this,Ue=this.canvas.get(\"el\");Object(w.a)(Zt,function(xt){Ue.addEventListener(xt,pt._eventCallback)}),document&&(document.addEventListener(\"mousemove\",this._onDocumentMove),document.addEventListener(\"mouseup\",this._onDocumentMouseUp))},wt.prototype._clearEvents=function(){var pt=this,Ue=this.canvas.get(\"el\");Object(w.a)(Zt,function(xt){Ue.removeEventListener(xt,pt._eventCallback)}),document&&(document.removeEventListener(\"mousemove\",this._onDocumentMove),document.removeEventListener(\"mouseup\",this._onDocumentMouseUp))},wt.prototype._getEventObj=function(pt,Ue,xt,cn,er,Mr){var xr=new bt.a(pt,Ue);return xr.fromShape=er,xr.toShape=Mr,xr.x=xt.x,xr.y=xt.y,xr.clientX=xt.clientX,xr.clientY=xt.clientY,xr.propagationPath.push(cn),xr},wt.prototype._getShape=function(pt,Ue){return this.canvas.getShape(pt.x,pt.y,Ue)},wt.prototype._getPointInfo=function(pt){var Ue=this.canvas,xt=Ue.getClientByEvent(pt),cn=Ue.getPointByEvent(pt);return{x:cn.x,y:cn.y,clientX:xt.x,clientY:xt.y}},wt.prototype._triggerEvent=function(pt,Ue){var xt=this._getPointInfo(Ue),cn=this._getShape(xt,Ue),er=this[\"_on\"+pt],Mr=!1;if(er)er.call(this,xt,cn,Ue);else{var xr=this.currentShape;pt===\"mouseenter\"||pt===\"dragenter\"||pt===\"mouseover\"?(this._emitEvent(pt,Ue,xt,null,null,cn),cn&&this._emitEvent(pt,Ue,xt,cn,null,cn),pt===\"mouseenter\"&&this.draggingShape&&this._emitEvent(\"dragenter\",Ue,xt,null)):pt===\"mouseleave\"||pt===\"dragleave\"||pt===\"mouseout\"?(Mr=!0,xr&&this._emitEvent(pt,Ue,xt,xr,xr,null),this._emitEvent(pt,Ue,xt,null,xr,null),pt===\"mouseleave\"&&this.draggingShape&&this._emitEvent(\"dragleave\",Ue,xt,null)):this._emitEvent(pt,Ue,xt,cn,null,null)}if(Mr||(this.currentShape=cn),cn&&!cn.get(\"destroyed\")){var jr=this.canvas;jr.get(\"el\").style.cursor=cn.attr(\"cursor\")||jr.get(\"cursor\")}},wt.prototype._onmousedown=function(pt,Ue,xt){xt.button===0&&(this.mousedownShape=Ue,this.mousedownPoint=pt,this.mousedownTimeStamp=xt.timeStamp),this._emitEvent(\"mousedown\",xt,pt,Ue,null,null)},wt.prototype._emitMouseoverEvents=function(pt,Ue,xt,cn){var er=this.canvas.get(\"el\");xt!==cn&&(xt&&(this._emitEvent(\"mouseout\",pt,Ue,xt,xt,cn),this._emitEvent(\"mouseleave\",pt,Ue,xt,xt,cn),cn&&!cn.get(\"destroyed\")||(er.style.cursor=this.canvas.get(\"cursor\"))),cn&&(this._emitEvent(\"mouseover\",pt,Ue,cn,xt,cn),this._emitEvent(\"mouseenter\",pt,Ue,cn,xt,cn)))},wt.prototype._emitDragoverEvents=function(pt,Ue,xt,cn,er){cn?(cn!==xt&&(xt&&this._emitEvent(\"dragleave\",pt,Ue,xt,xt,cn),this._emitEvent(\"dragenter\",pt,Ue,cn,xt,cn)),er||this._emitEvent(\"dragover\",pt,Ue,cn)):xt&&this._emitEvent(\"dragleave\",pt,Ue,xt,xt,cn),er&&this._emitEvent(\"dragover\",pt,Ue,cn)},wt.prototype._afterDrag=function(pt,Ue,xt){pt&&(pt.set(\"capture\",!0),this.draggingShape=null),this.dragging=!1;var cn=this._getShape(Ue,xt);cn!==pt&&this._emitMouseoverEvents(xt,Ue,pt,cn),this.currentShape=cn},wt.prototype._onmouseup=function(pt,Ue,xt){if(xt.button===0){var cn=this.draggingShape;this.dragging?(cn&&this._emitEvent(\"drop\",xt,pt,Ue),this._emitEvent(\"dragend\",xt,pt,cn),this._afterDrag(cn,pt,xt)):(this._emitEvent(\"mouseup\",xt,pt,Ue),Ue===this.mousedownShape&&this._emitEvent(\"click\",xt,pt,Ue),this.mousedownShape=null,this.mousedownPoint=null)}},wt.prototype._ondragover=function(pt,Ue,xt){xt.preventDefault();var cn=this.currentShape;this._emitDragoverEvents(xt,pt,cn,Ue,!0)},wt.prototype._onmousemove=function(pt,Ue,xt){var cn=this.canvas,er=this.currentShape,Mr=this.draggingShape;if(this.dragging)Mr&&this._emitDragoverEvents(xt,pt,er,Ue,!1),this._emitEvent(\"drag\",xt,pt,Mr);else{var xr=this.mousedownPoint;if(xr){var jr=this.mousedownShape,yo=xt.timeStamp-this.mousedownTimeStamp,eo=xr.clientX-pt.clientX,vi=xr.clientY-pt.clientY;yo>120||eo*eo+vi*vi>40?jr&&jr.get(\"draggable\")?((Mr=this.mousedownShape).set(\"capture\",!1),this.draggingShape=Mr,this.dragging=!0,this._emitEvent(\"dragstart\",xt,pt,Mr),this.mousedownShape=null,this.mousedownPoint=null):!jr&&cn.get(\"draggable\")?(this.dragging=!0,this._emitEvent(\"dragstart\",xt,pt,null),this.mousedownShape=null,this.mousedownPoint=null):(this._emitMouseoverEvents(xt,pt,er,Ue),this._emitEvent(\"mousemove\",xt,pt,Ue)):(this._emitMouseoverEvents(xt,pt,er,Ue),this._emitEvent(\"mousemove\",xt,pt,Ue))}else this._emitMouseoverEvents(xt,pt,er,Ue),this._emitEvent(\"mousemove\",xt,pt,Ue)}},wt.prototype._emitEvent=function(pt,Ue,xt,cn,er,Mr){var xr=this._getEventObj(pt,Ue,xt,cn,er,Mr);if(cn){xr.shape=cn,gt(cn,pt,xr);for(var jr=cn.getParent();jr;)jr.emitDelegation(pt,xr),xr.propagationStopped||Wt(jr,pt,xr),xr.propagationPath.push(jr),jr=jr.getParent()}else gt(this.canvas,pt,xr)},wt.prototype.destroy=function(){this._clearEvents(),this.canvas=null,this.currentShape=null,this.draggingShape=null,this.mousedownPoint=null,this.mousedownShape=null,this.mousedownTimeStamp=null},wt}(),Dt=Object(N.a)(),Xn=Dt&&Dt.name===\"firefox\",Rn=function(wt){function pt(Ue){var xt=wt.call(this,Ue)||this;return xt.initContainer(),xt.initDom(),xt.initEvents(),xt.initTimeline(),xt}return Object(y.__extends)(pt,wt),pt.prototype.getDefaultCfg=function(){var Ue=wt.prototype.getDefaultCfg.call(this);return Ue.cursor=\"default\",Ue.supportCSSTransform=!1,Ue},pt.prototype.initContainer=function(){var Ue=this.get(\"container\");Object(w.h)(Ue)&&(Ue=document.getElementById(Ue),this.set(\"container\",Ue))},pt.prototype.initDom=function(){var Ue=this.createDom();this.set(\"el\",Ue),this.get(\"container\").appendChild(Ue),this.setDOMSize(this.get(\"width\"),this.get(\"height\"))},pt.prototype.initEvents=function(){var Ue=new xn({canvas:this});Ue.init(),this.set(\"eventController\",Ue)},pt.prototype.initTimeline=function(){var Ue=new Gt(this);this.set(\"timeline\",Ue)},pt.prototype.setDOMSize=function(Ue,xt){var cn=this.get(\"el\");w.c&&(cn.style.width=Ue+\"px\",cn.style.height=xt+\"px\")},pt.prototype.changeSize=function(Ue,xt){this.setDOMSize(Ue,xt),this.set(\"width\",Ue),this.set(\"height\",xt),this.onCanvasChange(\"changeSize\")},pt.prototype.getRenderer=function(){return this.get(\"renderer\")},pt.prototype.getCursor=function(){return this.get(\"cursor\")},pt.prototype.setCursor=function(Ue){this.set(\"cursor\",Ue);var xt=this.get(\"el\");w.c&&xt&&(xt.style.cursor=Ue)},pt.prototype.getPointByEvent=function(Ue){if(this.get(\"supportCSSTransform\")){if(Xn&&!Object(w.e)(Ue.layerX)&&Ue.layerX!==Ue.offsetX)return{x:Ue.layerX,y:Ue.layerY};if(!Object(w.e)(Ue.offsetX))return{x:Ue.offsetX,y:Ue.offsetY}}var xt=this.getClientByEvent(Ue),cn=xt.x,er=xt.y;return this.getPointByClient(cn,er)},pt.prototype.getClientByEvent=function(Ue){var xt=Ue;return Ue.touches&&(xt=Ue.type===\"touchend\"?Ue.changedTouches[0]:Ue.touches[0]),{x:xt.clientX,y:xt.clientY}},pt.prototype.getPointByClient=function(Ue,xt){var cn=this.get(\"el\").getBoundingClientRect();return{x:Ue-cn.left,y:xt-cn.top}},pt.prototype.getClientByPoint=function(Ue,xt){var cn=this.get(\"el\").getBoundingClientRect();return{x:Ue+cn.left,y:xt+cn.top}},pt.prototype.draw=function(){},pt.prototype.removeDom=function(){var Ue=this.get(\"el\");Ue.parentNode.removeChild(Ue)},pt.prototype.clearEvents=function(){this.get(\"eventController\").destroy()},pt.prototype.isCanvas=function(){return!0},pt.prototype.getParent=function(){return null},pt.prototype.destroy=function(){var Ue=this.get(\"timeline\");this.get(\"destroyed\")||(this.clear(),Ue&&Ue.stop(),this.clearEvents(),this.removeDom(),wt.prototype.destroy.call(this))},pt}(C.a);c.a=Rn},function(Ee,c,r){\"use strict\";r.d(c,\"a\",function(){return O});function y(a,f,h,l){if(isNaN(f)||isNaN(h))return a;var s,m,x,M,E,j,L,A,J,q=a._root,re={data:l},me=a._x0,Te=a._y0,ee=a._x1,xe=a._y1;if(!q)return a._root=re,a;for(;q.length;)if((j=f>=(m=(me+ee)/2))?me=m:ee=m,(L=h>=(x=(Te+xe)/2))?Te=x:xe=x,s=q,!(q=q[A=L<<1|j]))return s[A]=re,a;if(M=+a._x.call(null,q.data),E=+a._y.call(null,q.data),f===M&&h===E)return re.next=q,s?s[A]=re:a._root=re,a;do s=s?s[A]=new Array(4):a._root=new Array(4),(j=f>=(m=(me+ee)/2))?me=m:ee=m,(L=h>=(x=(Te+xe)/2))?Te=x:xe=x;while((A=L<<1|j)==(J=(E>=x)<<1|M>=m));return s[J]=q,s[A]=re,a}var N=function(a,f,h,l,s){this.node=a,this.x0=f,this.y0=h,this.x1=l,this.y1=s};function C(a){return a[0]}function w(a){return a[1]}function O(a,f,h){var l=new b(f==null?C:f,h==null?w:h,NaN,NaN,NaN,NaN);return a==null?l:l.addAll(a)}function b(a,f,h,l,s,m){this._x=a,this._y=f,this._x0=h,this._y0=l,this._x1=s,this._y1=m,this._root=void 0}function p(a){for(var f={data:a.data},h=f;a=a.next;)h=h.next={data:a.data};return f}var u=O.prototype=b.prototype;u.copy=function(){var a,f,h=new b(this._x,this._y,this._x0,this._y0,this._x1,this._y1),l=this._root;if(!l)return h;if(!l.length)return h._root=p(l),h;for(a=[{source:l,target:h._root=new Array(4)}];l=a.pop();)for(var s=0;s<4;++s)(f=l.source[s])&&(f.length?a.push({source:f,target:l.target[s]=new Array(4)}):l.target[s]=p(f));return h},u.add=function(a){var f=+this._x.call(null,a),h=+this._y.call(null,a);return y(this.cover(f,h),f,h,a)},u.addAll=function(a){var f,h,l,s,m=a.length,x=new Array(m),M=new Array(m),E=1/0,j=1/0,L=-1/0,A=-1/0;for(h=0;h<m;++h)isNaN(l=+this._x.call(null,f=a[h]))||isNaN(s=+this._y.call(null,f))||(x[h]=l,M[h]=s,l<E&&(E=l),l>L&&(L=l),s<j&&(j=s),s>A&&(A=s));if(E>L||j>A)return this;for(this.cover(E,j).cover(L,A),h=0;h<m;++h)y(this,x[h],M[h],a[h]);return this},u.cover=function(a,f){if(isNaN(a=+a)||isNaN(f=+f))return this;var h=this._x0,l=this._y0,s=this._x1,m=this._y1;if(isNaN(h))s=(h=Math.floor(a))+1,m=(l=Math.floor(f))+1;else{for(var x,M,E=s-h||1,j=this._root;h>a||a>=s||l>f||f>=m;)switch(M=(f<l)<<1|a<h,(x=new Array(4))[M]=j,j=x,E*=2,M){case 0:s=h+E,m=l+E;break;case 1:h=s-E,m=l+E;break;case 2:s=h+E,l=m-E;break;case 3:h=s-E,l=m-E}this._root&&this._root.length&&(this._root=j)}return this._x0=h,this._y0=l,this._x1=s,this._y1=m,this},u.data=function(){var a=[];return this.visit(function(f){if(!f.length)do a.push(f.data);while(f=f.next)}),a},u.extent=function(a){return arguments.length?this.cover(+a[0][0],+a[0][1]).cover(+a[1][0],+a[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},u.find=function(a,f,h){var l,s,m,x,M,E,j,L=this._x0,A=this._y0,J=this._x1,q=this._y1,re=[],me=this._root;for(me&&re.push(new N(me,L,A,J,q)),h==null?h=1/0:(L=a-h,A=f-h,J=a+h,q=f+h,h*=h);E=re.pop();)if(!(!(me=E.node)||(s=E.x0)>J||(m=E.y0)>q||(x=E.x1)<L||(M=E.y1)<A))if(me.length){var Te=(s+x)/2,ee=(m+M)/2;re.push(new N(me[3],Te,ee,x,M),new N(me[2],s,ee,Te,M),new N(me[1],Te,m,x,ee),new N(me[0],s,m,Te,ee)),(j=(f>=ee)<<1|a>=Te)&&(E=re[re.length-1],re[re.length-1]=re[re.length-1-j],re[re.length-1-j]=E)}else{var xe=a-+this._x.call(null,me.data),Ie=f-+this._y.call(null,me.data),Le=xe*xe+Ie*Ie;if(Le<h){var De=Math.sqrt(h=Le);L=a-De,A=f-De,J=a+De,q=f+De,l=me.data}}return l},u.remove=function(a){if(isNaN(m=+this._x.call(null,a))||isNaN(x=+this._y.call(null,a)))return this;var f,h,l,s,m,x,M,E,j,L,A,J,q=this._root,re=this._x0,me=this._y0,Te=this._x1,ee=this._y1;if(!q)return this;if(q.length)for(;;){if((j=m>=(M=(re+Te)/2))?re=M:Te=M,(L=x>=(E=(me+ee)/2))?me=E:ee=E,f=q,!(q=q[A=L<<1|j]))return this;if(!q.length)break;(f[A+1&3]||f[A+2&3]||f[A+3&3])&&(h=f,J=A)}for(;q.data!==a;)if(l=q,!(q=q.next))return this;return(s=q.next)&&delete q.next,l?(s?l.next=s:delete l.next,this):f?(s?f[A]=s:delete f[A],(q=f[0]||f[1]||f[2]||f[3])&&q===(f[3]||f[2]||f[1]||f[0])&&!q.length&&(h?h[J]=q:this._root=q),this):(this._root=s,this)},u.removeAll=function(a){for(var f=0,h=a.length;f<h;++f)this.remove(a[f]);return this},u.root=function(){return this._root},u.size=function(){var a=0;return this.visit(function(f){if(!f.length)do++a;while(f=f.next)}),a},u.visit=function(a){var f,h,l,s,m,x,M=[],E=this._root;for(E&&M.push(new N(E,this._x0,this._y0,this._x1,this._y1));f=M.pop();)if(!a(E=f.node,l=f.x0,s=f.y0,m=f.x1,x=f.y1)&&E.length){var j=(l+m)/2,L=(s+x)/2;(h=E[3])&&M.push(new N(h,j,L,m,x)),(h=E[2])&&M.push(new N(h,l,L,j,x)),(h=E[1])&&M.push(new N(h,j,s,m,L)),(h=E[0])&&M.push(new N(h,l,s,j,L))}return this},u.visitAfter=function(a){var f,h=[],l=[];for(this._root&&h.push(new N(this._root,this._x0,this._y0,this._x1,this._y1));f=h.pop();){var s=f.node;if(s.length){var m,x=f.x0,M=f.y0,E=f.x1,j=f.y1,L=(x+E)/2,A=(M+j)/2;(m=s[0])&&h.push(new N(m,x,M,L,A)),(m=s[1])&&h.push(new N(m,L,M,E,A)),(m=s[2])&&h.push(new N(m,x,A,L,j)),(m=s[3])&&h.push(new N(m,L,A,E,j))}l.push(f)}for(;f=l.pop();)a(f.node,f.x0,f.y0,f.x1,f.y1);return this},u.x=function(a){return arguments.length?(this._x=a,this):this._x},u.y=function(a){return arguments.length?(this._y=a,this):this._y}},function(Ee,c,r){\"use strict\";var y=r(1),N=r(10),C=r(6),w=r(33),O=r(20),b=r(11),p=r(38),u=r(37),a=r(0),f=/^l\\s*\\(\\s*([\\d.]+)\\s*\\)\\s*(.*)/i,h=/^r\\s*\\(\\s*([\\d.]+)\\s*,\\s*([\\d.]+)\\s*,\\s*([\\d.]+)\\s*\\)\\s*(.*)/i,l=/[\\d.]+:(#[^\\s]+|[^)]+\\))/gi;function s(me){var Te=me.match(l);if(!Te)return\"\";var ee=\"\";return Te.sort(function(xe,Ie){return xe=xe.split(\":\"),Ie=Ie.split(\":\"),Number(xe[0])-Number(Ie[0])}),Object(a.each)(Te,function(xe){xe=xe.split(\":\"),ee+='<stop offset=\"'+xe[0]+'\" stop-color=\"'+xe[1]+'\"></stop>'}),ee}var m=function(){function me(Te){this.cfg={};var ee=null,xe=Object(a.uniqueId)(\"gradient_\");return Te.toLowerCase()[0]===\"l\"?function(Ie,Le){var De,ce,ye=f.exec(Ie),Oe=Object(a.mod)(Object(a.toRadian)(parseFloat(ye[1])),2*Math.PI),Ce=ye[2];Oe>=0&&Oe<.5*Math.PI?(De={x:0,y:0},ce={x:1,y:1}):.5*Math.PI<=Oe&&Oe<Math.PI?(De={x:1,y:0},ce={x:0,y:1}):Math.PI<=Oe&&Oe<1.5*Math.PI?(De={x:1,y:1},ce={x:0,y:0}):(De={x:0,y:1},ce={x:1,y:0});var oe=Math.tan(Oe),he=oe*oe,ie=(ce.x-De.x+oe*(ce.y-De.y))/(he+1)+De.x,ae=oe*(ce.x-De.x+oe*(ce.y-De.y))/(he+1)+De.y;Le.setAttribute(\"x1\",De.x),Le.setAttribute(\"y1\",De.y),Le.setAttribute(\"x2\",ie),Le.setAttribute(\"y2\",ae),Le.innerHTML=s(Ce)}(Te,ee=Object(b.b)(\"linearGradient\")):function(Ie,Le){var De=h.exec(Ie),ce=parseFloat(De[1]),ye=parseFloat(De[2]),Oe=parseFloat(De[3]),Ce=De[4];Le.setAttribute(\"cx\",ce),Le.setAttribute(\"cy\",ye),Le.setAttribute(\"r\",Oe),Le.innerHTML=s(Ce)}(Te,ee=Object(b.b)(\"radialGradient\")),ee.setAttribute(\"id\",xe),this.el=ee,this.id=xe,this.cfg=Te,this}return me.prototype.match=function(Te,ee){return this.cfg===ee},me}(),x={shadowColor:\"color\",shadowOpacity:\"opacity\",shadowBlur:\"blur\",shadowOffsetX:\"dx\",shadowOffsetY:\"dy\"},M={x:\"-40%\",y:\"-40%\",width:\"200%\",height:\"200%\"},E=function(){function me(Te){this.type=\"filter\",this.cfg={},this.type=\"filter\";var ee=Object(b.b)(\"filter\");return Object(a.each)(M,function(xe,Ie){ee.setAttribute(Ie,xe)}),this.el=ee,this.id=Object(a.uniqueId)(\"filter_\"),this.el.id=this.id,this.cfg=Te,this._parseShadow(Te,ee),this}return me.prototype.match=function(Te,ee){if(this.type!==Te)return!1;var xe=!0,Ie=this.cfg;return Object(a.each)(Object.keys(Ie),function(Le){if(Ie[Le]!==ee[Le])return xe=!1,!1}),xe},me.prototype.update=function(Te,ee){var xe=this.cfg;return xe[x[Te]]=ee,this._parseShadow(xe,this.el),this},me.prototype._parseShadow=function(Te,ee){var xe=`<feDropShadow\n      dx=\"`+(Te.dx||0)+`\"\n      dy=\"`+(Te.dy||0)+`\"\n      stdDeviation=\"`+(Te.blur?Te.blur/10:0)+`\"\n      flood-color=\"`+(Te.color?Te.color:\"#000\")+`\"\n      flood-opacity=\"`+(Te.opacity?Te.opacity:1)+`\"\n      />`;ee.innerHTML=xe},me}(),j=function(){function me(Te,ee){this.cfg={};var xe=Object(b.b)(\"marker\"),Ie=Object(a.uniqueId)(\"marker_\");xe.setAttribute(\"id\",Ie);var Le=Object(b.b)(\"path\");Le.setAttribute(\"stroke\",Te.stroke||\"none\"),Le.setAttribute(\"fill\",Te.fill||\"none\"),xe.appendChild(Le),xe.setAttribute(\"overflow\",\"visible\"),xe.setAttribute(\"orient\",\"auto-start-reverse\"),this.el=xe,this.child=Le,this.id=Ie;var De=Te[ee===\"marker-start\"?\"startArrow\":\"endArrow\"];return this.stroke=Te.stroke||\"#000\",De===!0?this._setDefaultPath(ee,Le):(this.cfg=De,this._setMarker(Te.lineWidth,Le)),this}return me.prototype.match=function(){return!1},me.prototype._setDefaultPath=function(Te,ee){var xe=this.el;ee.setAttribute(\"d\",\"M0,0 L\"+10*Math.cos(Math.PI/6)+\",5 L0,10\"),xe.setAttribute(\"refX\",\"\"+10*Math.cos(Math.PI/6)),xe.setAttribute(\"refY\",\"5\")},me.prototype._setMarker=function(Te,ee){var xe=this.el,Ie=this.cfg.path,Le=this.cfg.d;Object(a.isArray)(Ie)&&(Ie=Ie.map(function(De){return De.join(\" \")}).join(\"\")),ee.setAttribute(\"d\",Ie),xe.appendChild(ee),Le&&xe.setAttribute(\"refX\",\"\"+Le/Te)},me.prototype.update=function(Te){var ee=this.child;ee.attr?ee.attr(\"fill\",Te):ee.setAttribute(\"fill\",Te)},me}(),L=function(){function me(Te){this.type=\"clip\",this.cfg={};var ee=Object(b.b)(\"clipPath\");this.el=ee,this.id=Object(a.uniqueId)(\"clip_\"),ee.id=this.id;var xe=Te.cfg.el;return ee.appendChild(xe),this.cfg=Te,this}return me.prototype.match=function(){return!1},me.prototype.remove=function(){var Te=this.el;Te.parentNode.removeChild(Te)},me}(),A=/^p\\s*\\(\\s*([axyn])\\s*\\)\\s*(.*)/i,J=function(){function me(Te){this.cfg={};var ee=Object(b.b)(\"pattern\");ee.setAttribute(\"patternUnits\",\"userSpaceOnUse\");var xe=Object(b.b)(\"image\");ee.appendChild(xe);var Ie=Object(a.uniqueId)(\"pattern_\");ee.id=Ie,this.el=ee,this.id=Ie,this.cfg=Te;var Le=A.exec(Te)[2];xe.setAttribute(\"href\",Le);var De=new Image;function ce(){ee.setAttribute(\"width\",\"\"+De.width),ee.setAttribute(\"height\",\"\"+De.height)}return Le.match(/^data:/i)||(De.crossOrigin=\"Anonymous\"),De.src=Le,De.complete?ce():(De.onload=ce,De.src=De.src),this}return me.prototype.match=function(Te,ee){return this.cfg===ee},me}(),q=function(){function me(Te){var ee=Object(b.b)(\"defs\"),xe=Object(a.uniqueId)(\"defs_\");ee.id=xe,Te.appendChild(ee),this.children=[],this.defaultArrow={},this.el=ee,this.canvas=Te}return me.prototype.find=function(Te,ee){for(var xe=this.children,Ie=null,Le=0;Le<xe.length;Le++)if(xe[Le].match(Te,ee)){Ie=xe[Le].id;break}return Ie},me.prototype.findById=function(Te){for(var ee=this.children,xe=null,Ie=0;Ie<ee.length;Ie++)if(ee[Ie].id===Te){xe=ee[Ie];break}return xe},me.prototype.add=function(Te){this.children.push(Te),Te.canvas=this.canvas,Te.parent=this},me.prototype.getDefaultArrow=function(Te,ee){var xe=Te.stroke||Te.strokeStyle;if(this.defaultArrow[xe])return this.defaultArrow[xe].id;var Ie=new j(Te,ee);return this.defaultArrow[xe]=Ie,this.el.appendChild(Ie.el),this.add(Ie),Ie.id},me.prototype.addGradient=function(Te){var ee=new m(Te);return this.el.appendChild(ee.el),this.add(ee),ee.id},me.prototype.addArrow=function(Te,ee){var xe=new j(Te,ee);return this.el.appendChild(xe.el),this.add(xe),xe.id},me.prototype.addShadow=function(Te){var ee=new E(Te);return this.el.appendChild(ee.el),this.add(ee),ee.id},me.prototype.addPattern=function(Te){var ee=new J(Te);return this.el.appendChild(ee.el),this.add(ee),ee.id},me.prototype.addClip=function(Te){var ee=new L(Te);return this.el.appendChild(ee.el),this.add(ee),ee.id},me}(),re=function(me){function Te(ee){return me.call(this,Object(y.__assign)(Object(y.__assign)({},ee),{autoDraw:!0,renderer:\"svg\"}))||this}return Object(y.__extends)(Te,me),Te.prototype.getShapeBase=function(){return p},Te.prototype.getGroupBase=function(){return u.a},Te.prototype.getShape=function(ee,xe,Ie){var Le=Ie.target||Ie.srcElement;if(!C.a[Le.tagName]){for(var De=Le.parentNode;De&&!C.a[De.tagName];)De=De.parentNode;Le=De}return this.find(function(ce){return ce.get(\"el\")===Le})},Te.prototype.createDom=function(){var ee=Object(b.b)(\"svg\"),xe=new q(ee);return ee.setAttribute(\"width\",\"\"+this.get(\"width\")),ee.setAttribute(\"height\",\"\"+this.get(\"height\")),this.set(\"context\",xe),ee},Te.prototype.onCanvasChange=function(ee){var xe=this.get(\"context\"),Ie=this.get(\"el\");if(ee===\"sort\"){var Le=this.get(\"children\");Le&&Le.length&&Object(b.d)(this,function(ce,ye){return Le.indexOf(ce)-Le.indexOf(ye)?1:0})}else if(ee===\"clear\"){if(Ie){Ie.innerHTML=\"\";var De=xe.el;De.innerHTML=\"\",Ie.appendChild(De)}}else ee===\"matrix\"?Object(O.c)(this):ee===\"clip\"?Object(O.a)(this,xe):ee===\"changeSize\"&&(Ie.setAttribute(\"width\",\"\"+this.get(\"width\")),Ie.setAttribute(\"height\",\"\"+this.get(\"height\")))},Te.prototype.draw=function(){var ee=this.get(\"context\"),xe=this.getChildren();Object(O.a)(this,ee),xe.length&&Object(w.a)(ee,xe)},Te}(N.AbstractCanvas);c.a=re},function(Ee,c,r){\"use strict\";var y=r(1),N=r(10);function C(f,h,l){var s=f.getTotalMatrix();if(s){var m=function(x,M){if(M){var E=Object(N.invert)(M);return Object(N.multiplyVec2)(E,x)}return x}([h,l,1],s);return[m[0],m[1]]}return[h,l]}function w(f,h,l){if(f.isCanvas&&f.isCanvas())return!0;if(!Object(N.isAllowCapture)(f)||f.cfg.isInView===!1)return!1;if(f.cfg.clipShape){var s=C(f,h,l),m=s[0],x=s[1];if(f.isClipped(m,x))return!1}var M=f.cfg.cacheCanvasBBox||f.getCanvasBBox();return h>=M.minX&&h<=M.maxX&&l>=M.minY&&l<=M.maxY}var O=r(29),b=r(36),p=r(5),u=r(16),a=function(f){function h(){return f!==null&&f.apply(this,arguments)||this}return Object(y.__extends)(h,f),h.prototype.getDefaultCfg=function(){var l=f.prototype.getDefaultCfg.call(this);return l.renderer=\"canvas\",l.autoDraw=!0,l.localRefresh=!0,l.refreshElements=[],l.clipView=!0,l.quickHit=!1,l},h.prototype.onCanvasChange=function(l){l!==\"attr\"&&l!==\"sort\"&&l!==\"changeSize\"||(this.set(\"refreshElements\",[this]),this.draw())},h.prototype.getShapeBase=function(){return O},h.prototype.getGroupBase=function(){return b.a},h.prototype.getPixelRatio=function(){var l=this.get(\"pixelRatio\")||Object(p.d)();return l>=1?Math.ceil(l):1},h.prototype.getViewRange=function(){return{minX:0,minY:0,maxX:this.cfg.width,maxY:this.cfg.height}},h.prototype.createDom=function(){var l=document.createElement(\"canvas\"),s=l.getContext(\"2d\");return this.set(\"context\",s),l},h.prototype.setDOMSize=function(l,s){f.prototype.setDOMSize.call(this,l,s);var m=this.get(\"context\"),x=this.get(\"el\"),M=this.getPixelRatio();x.width=M*l,x.height=M*s,M>1&&m.scale(M,M)},h.prototype.clear=function(){f.prototype.clear.call(this),this._clearFrame();var l=this.get(\"context\"),s=this.get(\"el\");l.clearRect(0,0,s.width,s.height)},h.prototype.getShape=function(l,s){return this.get(\"quickHit\")?function m(x,M,E){if(!w(x,M,E))return null;for(var j=null,L=x.getChildren(),A=L.length-1;A>=0;A--){var J=L[A];if(J.isGroup())j=m(J,M,E);else if(w(J,M,E)){var q=J,re=C(J,M,E),me=re[0],Te=re[1];q.isInShape(me,Te)&&(j=J)}if(j)break}return j}(this,l,s):f.prototype.getShape.call(this,l,s,null)},h.prototype._getRefreshRegion=function(){var l,s=this.get(\"refreshElements\"),m=this.getViewRange();return s.length&&s[0]===this?l=m:(l=Object(u.f)(s))&&(l.minX=Math.floor(l.minX),l.minY=Math.floor(l.minY),l.maxX=Math.ceil(l.maxX),l.maxY=Math.ceil(l.maxY),l.maxY+=1,this.get(\"clipView\")&&(l=Object(u.g)(l,m))),l},h.prototype.refreshElement=function(l){this.get(\"refreshElements\").push(l)},h.prototype._clearFrame=function(){var l=this.get(\"drawFrame\");l&&(Object(p.a)(l),this.set(\"drawFrame\",null),this.set(\"refreshElements\",[]))},h.prototype.draw=function(){var l=this.get(\"drawFrame\");this.get(\"autoDraw\")&&l||this._startDraw()},h.prototype._drawAll=function(){var l=this.get(\"context\"),s=this.get(\"el\"),m=this.getChildren();l.clearRect(0,0,s.width,s.height),Object(u.a)(l,this),Object(u.d)(l,m),this.set(\"refreshElements\",[])},h.prototype._drawRegion=function(){var l=this.get(\"context\"),s=this.get(\"refreshElements\"),m=this.getChildren(),x=this._getRefreshRegion();x?(l.clearRect(x.minX,x.minY,x.maxX-x.minX,x.maxY-x.minY),l.save(),l.beginPath(),l.rect(x.minX,x.minY,x.maxX-x.minX,x.maxY-x.minY),l.clip(),Object(u.a)(l,this),Object(u.b)(this,m,x),Object(u.d)(l,m,x),l.restore()):s.length&&Object(u.c)(s),Object(p.c)(s,function(M){M.get(\"hasChanged\")&&M.set(\"hasChanged\",!1)}),this.set(\"refreshElements\",[])},h.prototype._startDraw=function(){var l=this,s=this.get(\"drawFrame\");s||(s=Object(p.n)(function(){l.get(\"localRefresh\")?l._drawRegion():l._drawAll(),l.set(\"drawFrame\",null)}),this.set(\"drawFrame\",s))},h.prototype.skipDraw=function(){},h.prototype.removeDom=function(){var l=this.get(\"el\");l.width=0,l.height=0,l.parentNode.removeChild(l)},h}(N.AbstractCanvas);c.a=a},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),Object.defineProperty(c,\"GADDIAsync\",{enumerable:!0,get:function(){return y.GADDIAsync}}),Object.defineProperty(c,\"connectedComponentAsync\",{enumerable:!0,get:function(){return y.connectedComponentAsync}}),c.default=void 0,Object.defineProperty(c,\"detectAllCyclesAsync\",{enumerable:!0,get:function(){return y.detectAllCyclesAsync}}),Object.defineProperty(c,\"detectAllDirectedCycleAsync\",{enumerable:!0,get:function(){return y.detectAllDirectedCycleAsync}}),Object.defineProperty(c,\"detectAllUndirectedCycleAsync\",{enumerable:!0,get:function(){return y.detectAllUndirectedCycleAsync}}),Object.defineProperty(c,\"detectCycleAsync\",{enumerable:!0,get:function(){return y.detectCycleAsync}}),c.detectDirectedCycleAsync=void 0,Object.defineProperty(c,\"dijkstraAsync\",{enumerable:!0,get:function(){return y.dijkstraAsync}}),Object.defineProperty(c,\"findAllPathAsync\",{enumerable:!0,get:function(){return y.findAllPathAsync}}),Object.defineProperty(c,\"findShortestPathAsync\",{enumerable:!0,get:function(){return y.findShortestPathAsync}}),Object.defineProperty(c,\"floydWarshallAsync\",{enumerable:!0,get:function(){return y.floydWarshallAsync}}),Object.defineProperty(c,\"getAdjMatrixAsync\",{enumerable:!0,get:function(){return y.getAdjMatrixAsync}}),Object.defineProperty(c,\"getDegreeAsync\",{enumerable:!0,get:function(){return y.getDegreeAsync}}),Object.defineProperty(c,\"getInDegreeAsync\",{enumerable:!0,get:function(){return y.getInDegreeAsync}}),Object.defineProperty(c,\"getNeighborsAsync\",{enumerable:!0,get:function(){return y.getNeighborsAsync}}),Object.defineProperty(c,\"getOutDegreeAsync\",{enumerable:!0,get:function(){return y.getOutDegreeAsync}}),Object.defineProperty(c,\"labelPropagationAsync\",{enumerable:!0,get:function(){return y.labelPropagationAsync}}),Object.defineProperty(c,\"louvainAsync\",{enumerable:!0,get:function(){return y.louvainAsync}}),Object.defineProperty(c,\"minimumSpanningTreeAsync\",{enumerable:!0,get:function(){return y.minimumSpanningTreeAsync}}),Object.defineProperty(c,\"pageRankAsync\",{enumerable:!0,get:function(){return y.pageRankAsync}});var y=r(122),N=y.detectCycleAsync;c.detectDirectedCycleAsync=N;var C={getAdjMatrixAsync:y.getAdjMatrixAsync,connectedComponentAsync:y.connectedComponentAsync,getDegreeAsync:y.getDegreeAsync,getInDegreeAsync:y.getInDegreeAsync,getOutDegreeAsync:y.getOutDegreeAsync,detectCycleAsync:y.detectCycleAsync,detectDirectedCycleAsync:N,detectAllCyclesAsync:y.detectAllCyclesAsync,detectAllDirectedCycleAsync:y.detectAllDirectedCycleAsync,detectAllUndirectedCycleAsync:y.detectAllUndirectedCycleAsync,dijkstraAsync:y.dijkstraAsync,findAllPathAsync:y.findAllPathAsync,findShortestPathAsync:y.findShortestPathAsync,floydWarshallAsync:y.floydWarshallAsync,labelPropagationAsync:y.labelPropagationAsync,louvainAsync:y.louvainAsync,minimumSpanningTreeAsync:y.minimumSpanningTreeAsync,pageRankAsync:y.pageRankAsync,getNeighborsAsync:y.getNeighborsAsync,GADDIAsync:y.GADDIAsync};c.default=C},function(Ee,c,r){var y=r(64),N=r(65);Ee.exports=function(C){return typeof C==\"number\"||N(C)&&y(C)==\"[object Number]\"}},function(Ee,c){var r=Array.isArray;Ee.exports=r},function(Ee,c,r){var y,N,C;function w(O){return(w=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(b){return typeof b}:function(b){return b&&typeof Symbol==\"function\"&&b.constructor===Symbol&&b!==Symbol.prototype?\"symbol\":typeof b})(O)}C=function(){\"use strict\";var O=function(Re){return Re instanceof Uint8Array||Re instanceof Uint16Array||Re instanceof Uint32Array||Re instanceof Int8Array||Re instanceof Int16Array||Re instanceof Int32Array||Re instanceof Float32Array||Re instanceof Float64Array||Re instanceof Uint8ClampedArray},b=function(Re,je){for(var nt=Object.keys(je),rt=0;rt<nt.length;++rt)Re[nt[rt]]=je[nt[rt]];return Re};function p(Re){var je=new Error(\"(regl) \"+Re);throw console.error(je),je}function u(Re,je){Re||p(je)}function a(Re){return Re?\": \"+Re:\"\"}function f(Re,je){switch(je){case\"number\":return typeof Re==\"number\";case\"object\":return w(Re)===\"object\";case\"string\":return typeof Re==\"string\";case\"boolean\":return typeof Re==\"boolean\";case\"function\":return typeof Re==\"function\";case\"undefined\":return Re===void 0;case\"symbol\":return w(Re)===\"symbol\"}}function h(Re,je,nt){je.indexOf(Re)<0&&p(\"invalid value\"+a(nt)+\". must be one of: \"+je)}var l=[\"gl\",\"canvas\",\"container\",\"attributes\",\"pixelRatio\",\"extensions\",\"optionalExtensions\",\"profile\",\"onDone\"];function s(Re,je){for(Re+=\"\";Re.length<je;)Re=\" \"+Re;return Re}function m(){this.name=\"unknown\",this.lines=[],this.index={},this.hasErrors=!1}function x(Re,je){this.number=Re,this.line=je,this.errors=[]}function M(Re,je,nt){this.file=Re,this.line=je,this.message=nt}function E(){var Re=new Error,je=(Re.stack||Re).toString(),nt=/compileProcedure.*\\n\\s*at.*\\((.*)\\)/.exec(je);if(nt)return nt[1];var rt=/compileProcedure.*\\n\\s*at\\s+(.*)(\\n|$)/.exec(je);return rt?rt[1]:\"unknown\"}function j(){var Re=new Error,je=(Re.stack||Re).toString(),nt=/at REGLCommand.*\\n\\s+at.*\\((.*)\\)/.exec(je);if(nt)return nt[1];var rt=/at REGLCommand.*\\n\\s+at\\s+(.*)\\n/.exec(je);return rt?rt[1]:\"unknown\"}function L(Re,je){var nt,rt=Re.split(`\n`),Xt=1,fn=0,Cn={unknown:new m,0:new m};Cn.unknown.name=Cn[0].name=je||E(),Cn.unknown.lines.push(new x(0,\"\"));for(var Yn=0;Yn<rt.length;++Yn){var Ae=rt[Yn],Ke=/^\\s*#\\s*(\\w+)\\s+(.+)\\s*$/.exec(Ae);if(Ke)switch(Ke[1]){case\"line\":var Mt=/(\\d+)(\\s+\\d+)?/.exec(Ke[2]);Mt&&(Xt=0|Mt[1],Mt[2]&&((fn=0|Mt[2])in Cn||(Cn[fn]=new m)));break;case\"define\":var Ut=/SHADER_NAME(_B64)?\\s+(.*)$/.exec(Ke[2]);Ut&&(Cn[fn].name=Ut[1]?(nt=Ut[2],typeof atob!=\"undefined\"?atob(nt):\"base64:\"+nt):Ut[2])}Cn[fn].lines.push(new x(Xt++,Ae))}return Object.keys(Cn).forEach(function(kn){var Zn=Cn[kn];Zn.lines.forEach(function(lr){Zn.index[lr.number]=lr})}),Cn}function A(Re){Re._commandRef=E()}function J(Re,je){var nt=j();p(Re+\" in command \"+(je||E())+(nt===\"unknown\"?\"\":\" called from \"+nt))}function q(Re,je,nt,rt){f(Re,je)||J(\"invalid parameter type\"+a(nt)+\". expected \"+je+\", got \"+w(Re),rt||E())}var re={};function me(Re,je){return Re===32820||Re===32819||Re===33635?2:Re===34042?4:re[Re]*je}function Te(Re){return!(Re&Re-1||!Re)}re[5120]=re[5121]=1,re[5122]=re[5123]=re[36193]=re[33635]=re[32819]=re[32820]=2,re[5124]=re[5125]=re[5126]=re[34042]=4;var ee=b(u,{optional:function(Re){Re()},raise:p,commandRaise:J,command:function(Re,je,nt){Re||J(je,nt||E())},parameter:function(Re,je,nt){Re in je||p(\"unknown parameter (\"+Re+\")\"+a(nt)+\". possible values: \"+Object.keys(je).join())},commandParameter:function(Re,je,nt,rt){Re in je||J(\"unknown parameter (\"+Re+\")\"+a(nt)+\". possible values: \"+Object.keys(je).join(),rt||E())},constructor:function(Re){Object.keys(Re).forEach(function(je){l.indexOf(je)<0&&p('invalid regl constructor argument \"'+je+'\". must be one of '+l)})},type:function(Re,je,nt){f(Re,je)||p(\"invalid parameter type\"+a(nt)+\". expected \"+je+\", got \"+w(Re))},commandType:q,isTypedArray:function(Re,je){O(Re)||p(\"invalid parameter type\"+a(je)+\". must be a typed array\")},nni:function(Re,je){Re>=0&&(0|Re)===Re||p(\"invalid parameter type, (\"+Re+\")\"+a(je)+\". must be a nonnegative integer\")},oneOf:h,shaderError:function(Re,je,nt,rt,Xt){if(!Re.getShaderParameter(je,Re.COMPILE_STATUS)){var fn=Re.getShaderInfoLog(je),Cn=rt===Re.FRAGMENT_SHADER?\"fragment\":\"vertex\";q(nt,\"string\",Cn+\" shader source must be a string\",Xt);var Yn=L(nt,Xt),Ae=function(Ke){var Mt=[];return Ke.split(`\n`).forEach(function(Ut){if(!(Ut.length<5)){var kn=/^ERROR:\\s+(\\d+):(\\d+):\\s*(.*)$/.exec(Ut);kn?Mt.push(new M(0|kn[1],0|kn[2],kn[3].trim())):Ut.length>0&&Mt.push(new M(\"unknown\",0,Ut))}}),Mt}(fn);(function(Ke,Mt){Mt.forEach(function(Ut){var kn=Ke[Ut.file];if(kn){var Zn=kn.index[Ut.line];if(Zn)return Zn.errors.push(Ut),void(kn.hasErrors=!0)}Ke.unknown.hasErrors=!0,Ke.unknown.lines[0].errors.push(Ut)})})(Yn,Ae),Object.keys(Yn).forEach(function(Ke){var Mt=Yn[Ke];if(Mt.hasErrors){var Ut=[\"\"],kn=[\"\"];Zn(\"file number \"+Ke+\": \"+Mt.name+`\n`,\"color:red;text-decoration:underline;font-weight:bold\"),Mt.lines.forEach(function(lr){if(lr.errors.length>0){Zn(s(lr.number,4)+\"|  \",\"background-color:yellow; font-weight:bold\"),Zn(lr.line+`\n`,\"color:red; background-color:yellow; font-weight:bold\");var wr=0;lr.errors.forEach(function(Dr){var go=Dr.message,Ir=/^\\s*'(.*)'\\s*:\\s*(.*)$/.exec(go);if(Ir){var Jr=Ir[1];switch(go=Ir[2],Jr){case\"assign\":Jr=\"=\"}wr=Math.max(lr.line.indexOf(Jr,wr),0)}else wr=0;Zn(s(\"| \",6)),Zn(s(\"^^^\",wr+3)+`\n`,\"font-weight:bold\"),Zn(s(\"| \",6)),Zn(go+`\n`,\"font-weight:bold\")}),Zn(s(\"| \",6)+`\n`)}else Zn(s(lr.number,4)+\"|  \"),Zn(lr.line+`\n`,\"color:red\")}),typeof document==\"undefined\"||window.chrome?console.log(Ut.join(\"\")):(kn[0]=Ut.join(\"%c\"),console.log.apply(console,kn))}function Zn(lr,wr){Ut.push(lr),kn.push(wr||\"\")}}),u.raise(\"Error compiling \"+Cn+\" shader, \"+Yn[0].name)}},linkError:function(Re,je,nt,rt,Xt){if(!Re.getProgramParameter(je,Re.LINK_STATUS)){var fn=Re.getProgramInfoLog(je),Cn=L(nt,Xt),Yn='Error linking program with vertex shader, \"'+L(rt,Xt)[0].name+'\", and fragment shader \"'+Cn[0].name+'\"';typeof document!=\"undefined\"?console.log(\"%c\"+Yn+`\n%c`+fn,\"color:red;text-decoration:underline;font-weight:bold\",\"color:red\"):console.log(Yn+`\n`+fn),u.raise(Yn)}},callSite:j,saveCommandRef:A,saveDrawInfo:function(Re,je,nt,rt){function Xt(Ae){return Ae?rt.id(Ae):0}function fn(Ae,Ke){Object.keys(Ke).forEach(function(Mt){Ae[rt.id(Mt)]=!0})}A(Re),Re._fragId=Xt(Re.static.frag),Re._vertId=Xt(Re.static.vert);var Cn=Re._uniformSet={};fn(Cn,je.static),fn(Cn,je.dynamic);var Yn=Re._attributeSet={};fn(Yn,nt.static),fn(Yn,nt.dynamic),Re._hasCount=\"count\"in Re.static||\"count\"in Re.dynamic||\"elements\"in Re.static||\"elements\"in Re.dynamic},framebufferFormat:function(Re,je,nt){Re.texture?h(Re.texture._texture.internalformat,je,\"unsupported texture format for attachment\"):h(Re.renderbuffer._renderbuffer.format,nt,\"unsupported renderbuffer format for attachment\")},guessCommand:E,texture2D:function(Re,je,nt){var rt,Xt=je.width,fn=je.height,Cn=je.channels;u(Xt>0&&Xt<=nt.maxTextureSize&&fn>0&&fn<=nt.maxTextureSize,\"invalid texture shape\"),Re.wrapS===33071&&Re.wrapT===33071||u(Te(Xt)&&Te(fn),\"incompatible wrap mode for texture, both width and height must be power of 2\"),je.mipmask===1?Xt!==1&&fn!==1&&u(Re.minFilter!==9984&&Re.minFilter!==9986&&Re.minFilter!==9985&&Re.minFilter!==9987,\"min filter requires mipmap\"):(u(Te(Xt)&&Te(fn),\"texture must be a square power of 2 to support mipmapping\"),u(je.mipmask===(Xt<<1)-1,\"missing or incomplete mipmap data\")),je.type===5126&&(nt.extensions.indexOf(\"oes_texture_float_linear\")<0&&u(Re.minFilter===9728&&Re.magFilter===9728,\"filter not supported, must enable oes_texture_float_linear\"),u(!Re.genMipmaps,\"mipmap generation not supported with float textures\"));var Yn=je.images;for(rt=0;rt<16;++rt)if(Yn[rt]){var Ae=Xt>>rt,Ke=fn>>rt;u(je.mipmask&1<<rt,\"missing mipmap data\");var Mt=Yn[rt];if(u(Mt.width===Ae&&Mt.height===Ke,\"invalid shape for mip images\"),u(Mt.format===je.format&&Mt.internalformat===je.internalformat&&Mt.type===je.type,\"incompatible type for mip image\"),!Mt.compressed)if(Mt.data){var Ut=Math.ceil(me(Mt.type,Cn)*Ae/Mt.unpackAlignment)*Mt.unpackAlignment;u(Mt.data.byteLength===Ut*Ke,\"invalid data for image, buffer size is inconsistent with image format\")}else Mt.element||Mt.copy}else Re.genMipmaps||u((je.mipmask&1<<rt)==0,\"extra mipmap data\");je.compressed&&u(!Re.genMipmaps,\"mipmap generation for compressed images not supported\")},textureCube:function(Re,je,nt,rt){var Xt=Re.width,fn=Re.height,Cn=Re.channels;u(Xt>0&&Xt<=rt.maxTextureSize&&fn>0&&fn<=rt.maxTextureSize,\"invalid texture shape\"),u(Xt===fn,\"cube map must be square\"),u(je.wrapS===33071&&je.wrapT===33071,\"wrap mode not supported by cube map\");for(var Yn=0;Yn<nt.length;++Yn){var Ae=nt[Yn];u(Ae.width===Xt&&Ae.height===fn,\"inconsistent cube map face shape\"),je.genMipmaps&&(u(!Ae.compressed,\"can not generate mipmap for compressed textures\"),u(Ae.mipmask===1,\"can not specify mipmaps and generate mipmaps\"));for(var Ke=Ae.images,Mt=0;Mt<16;++Mt){var Ut=Ke[Mt];if(Ut){var kn=Xt>>Mt,Zn=fn>>Mt;u(Ae.mipmask&1<<Mt,\"missing mipmap data\"),u(Ut.width===kn&&Ut.height===Zn,\"invalid shape for mip images\"),u(Ut.format===Re.format&&Ut.internalformat===Re.internalformat&&Ut.type===Re.type,\"incompatible type for mip image\"),Ut.compressed||(Ut.data?u(Ut.data.byteLength===kn*Zn*Math.max(me(Ut.type,Cn),Ut.unpackAlignment),\"invalid data for image, buffer size is inconsistent with image format\"):Ut.element||Ut.copy)}}}}}),xe=0;function Ie(Re,je){this.id=xe++,this.type=Re,this.data=je}function Le(Re){return Re.replace(/\\\\/g,\"\\\\\\\\\").replace(/\"/g,'\\\\\"')}function De(Re){return\"[\"+function je(nt){if(nt.length===0)return[];var rt=nt.charAt(0),Xt=nt.charAt(nt.length-1);if(nt.length>1&&rt===Xt&&(rt==='\"'||rt===\"'\"))return['\"'+Le(nt.substr(1,nt.length-2))+'\"'];var fn=/\\[(false|true|null|\\d+|'[^']*'|\"[^\"]*\")\\]/.exec(nt);if(fn)return je(nt.substr(0,fn.index)).concat(je(fn[1])).concat(je(nt.substr(fn.index+fn[0].length)));var Cn=nt.split(\".\");if(Cn.length===1)return['\"'+Le(nt)+'\"'];for(var Yn=[],Ae=0;Ae<Cn.length;++Ae)Yn=Yn.concat(je(Cn[Ae]));return Yn}(Re).join(\"][\")+\"]\"}var ce={DynamicVariable:Ie,define:function(Re,je){return new Ie(Re,De(je+\"\"))},isDynamic:function(Re){return typeof Re==\"function\"&&!Re._reglType||Re instanceof Ie},unbox:function Re(je,nt){return typeof je==\"function\"?new Ie(0,je):typeof je==\"number\"||typeof je==\"boolean\"?new Ie(5,je):Array.isArray(je)?new Ie(6,je.map(function(rt,Xt){return Re(rt,nt+\"[\"+Xt+\"]\")})):je instanceof Ie?je:void ee(!1,\"invalid option type in uniform \"+nt)},accessor:De},ye={next:typeof requestAnimationFrame==\"function\"?function(Re){return requestAnimationFrame(Re)}:function(Re){return setTimeout(Re,16)},cancel:typeof cancelAnimationFrame==\"function\"?function(Re){return cancelAnimationFrame(Re)}:clearTimeout},Oe=typeof performance!=\"undefined\"&&performance.now?function(){return performance.now()}:function(){return+new Date};function Ce(Re){return typeof Re==\"string\"?Re.split():(ee(Array.isArray(Re),\"invalid extension array\"),Re)}function oe(Re){return typeof Re==\"string\"?(ee(typeof document!=\"undefined\",\"not supported outside of DOM\"),document.querySelector(Re)):Re}function he(Re){var je,nt,rt,Xt,fn,Cn=Re||{},Yn={},Ae=[],Ke=[],Mt=typeof window==\"undefined\"?1:window.devicePixelRatio,Ut=!1,kn=function(wr){wr&&ee.raise(wr)},Zn=function(){};if(typeof Cn==\"string\"?(ee(typeof document!=\"undefined\",\"selector queries only supported in DOM enviroments\"),je=document.querySelector(Cn),ee(je,\"invalid query string for element\")):w(Cn)===\"object\"?typeof(fn=Cn).nodeName==\"string\"&&typeof fn.appendChild==\"function\"&&typeof fn.getBoundingClientRect==\"function\"?je=Cn:function(wr){return typeof wr.drawArrays==\"function\"||typeof wr.drawElements==\"function\"}(Cn)?rt=(Xt=Cn).canvas:(ee.constructor(Cn),\"gl\"in Cn?Xt=Cn.gl:\"canvas\"in Cn?rt=oe(Cn.canvas):\"container\"in Cn&&(nt=oe(Cn.container)),\"attributes\"in Cn&&(Yn=Cn.attributes,ee.type(Yn,\"object\",\"invalid context attributes\")),\"extensions\"in Cn&&(Ae=Ce(Cn.extensions)),\"optionalExtensions\"in Cn&&(Ke=Ce(Cn.optionalExtensions)),\"onDone\"in Cn&&(ee.type(Cn.onDone,\"function\",\"invalid or missing onDone callback\"),kn=Cn.onDone),\"profile\"in Cn&&(Ut=!!Cn.profile),\"pixelRatio\"in Cn&&(Mt=+Cn.pixelRatio,ee(Mt>0,\"invalid pixel ratio\"))):ee.raise(\"invalid arguments to regl\"),je&&(je.nodeName.toLowerCase()===\"canvas\"?rt=je:nt=je),!Xt){if(!rt){ee(typeof document!=\"undefined\",\"must manually specify webgl context outside of DOM environments\");var lr=function(wr,Dr,go){var Ir,Jr=document.createElement(\"canvas\");function _o(){var No=window.innerWidth,ii=window.innerHeight;if(wr!==document.body){var Lo=wr.getBoundingClientRect();No=Lo.right-Lo.left,ii=Lo.bottom-Lo.top}Jr.width=go*No,Jr.height=go*ii,b(Jr.style,{width:No+\"px\",height:ii+\"px\"})}return b(Jr.style,{border:0,margin:0,padding:0,top:0,left:0}),wr.appendChild(Jr),wr===document.body&&(Jr.style.position=\"absolute\",b(wr.style,{margin:0,padding:0})),wr!==document.body&&typeof ResizeObserver==\"function\"?(Ir=new ResizeObserver(function(){setTimeout(_o)})).observe(wr):window.addEventListener(\"resize\",_o,!1),_o(),{canvas:Jr,onDestroy:function(){Ir?Ir.disconnect():window.removeEventListener(\"resize\",_o),wr.removeChild(Jr)}}}(nt||document.body,0,Mt);if(!lr)return null;rt=lr.canvas,Zn=lr.onDestroy}Yn.premultipliedAlpha===void 0&&(Yn.premultipliedAlpha=!0),Xt=function(wr,Dr){function go(Ir){try{return wr.getContext(Ir,Dr)}catch(Jr){return null}}return go(\"webgl\")||go(\"experimental-webgl\")||go(\"webgl-experimental\")}(rt,Yn)}return Xt?{gl:Xt,canvas:rt,container:nt,extensions:Ae,optionalExtensions:Ke,pixelRatio:Mt,profile:Ut,onDone:kn,onDestroy:Zn}:(Zn(),kn(\"webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org\"),null)}function ie(Re,je){for(var nt=Array(Re),rt=0;rt<Re;++rt)nt[rt]=je(rt);return nt}function ae(Re){var je,nt;return je=(Re>65535)<<4,je|=nt=((Re>>>=je)>255)<<3,je|=nt=((Re>>>=nt)>15)<<2,(je|=nt=((Re>>>=nt)>3)<<1)|(Re>>>=nt)>>1}function ve(){var Re=ie(8,function(){return[]});function je(rt){var Xt=function(Cn){for(var Yn=16;Yn<=268435456;Yn*=16)if(Cn<=Yn)return Yn;return 0}(rt),fn=Re[ae(Xt)>>2];return fn.length>0?fn.pop():new ArrayBuffer(Xt)}function nt(rt){Re[ae(rt.byteLength)>>2].push(rt)}return{alloc:je,free:nt,allocType:function(rt,Xt){var fn=null;switch(rt){case 5120:fn=new Int8Array(je(Xt),0,Xt);break;case 5121:fn=new Uint8Array(je(Xt),0,Xt);break;case 5122:fn=new Int16Array(je(2*Xt),0,Xt);break;case 5123:fn=new Uint16Array(je(2*Xt),0,Xt);break;case 5124:fn=new Int32Array(je(4*Xt),0,Xt);break;case 5125:fn=new Uint32Array(je(4*Xt),0,Xt);break;case 5126:fn=new Float32Array(je(4*Xt),0,Xt);break;default:return null}return fn.length!==Xt?fn.subarray(0,Xt):fn},freeType:function(rt){nt(rt.buffer)}}}var X=ve();function se(Re){return!!Re&&w(Re)===\"object\"&&Array.isArray(Re.shape)&&Array.isArray(Re.stride)&&typeof Re.offset==\"number\"&&Re.shape.length===Re.stride.length&&(Array.isArray(Re.data)||O(Re.data))}X.zero=ve();var fe=function(Re){return Object.keys(Re).map(function(je){return Re[je]})},_e={shape:function(Re){for(var je=[],nt=Re;nt.length;nt=nt[0])je.push(nt.length);return je},flatten:function(Re,je,nt,rt){var Xt=1;if(je.length)for(var fn=0;fn<je.length;++fn)Xt*=je[fn];else Xt=0;var Cn=rt||X.allocType(nt,Xt);switch(je.length){case 0:break;case 1:(function(Yn,Ae,Ke){for(var Mt=0;Mt<Ae;++Mt)Ke[Mt]=Yn[Mt]})(Re,je[0],Cn);break;case 2:(function(Yn,Ae,Ke,Mt){for(var Ut=0,kn=0;kn<Ae;++kn)for(var Zn=Yn[kn],lr=0;lr<Ke;++lr)Mt[Ut++]=Zn[lr]})(Re,je[0],je[1],Cn);break;case 3:be(Re,je[0],je[1],je[2],Cn,0);break;default:(function Yn(Ae,Ke,Mt,Ut,kn){for(var Zn=1,lr=Mt+1;lr<Ke.length;++lr)Zn*=Ke[lr];var wr=Ke[Mt];if(Ke.length-Mt==4){var Dr=Ke[Mt+1],go=Ke[Mt+2],Ir=Ke[Mt+3];for(lr=0;lr<wr;++lr)be(Ae[lr],Dr,go,Ir,Ut,kn),kn+=Zn}else for(lr=0;lr<wr;++lr)Yn(Ae[lr],Ke,Mt+1,Ut,kn),kn+=Zn})(Re,je,0,Cn,0)}return Cn}};function be(Re,je,nt,rt,Xt,fn){for(var Cn=fn,Yn=0;Yn<je;++Yn)for(var Ae=Re[Yn],Ke=0;Ke<nt;++Ke)for(var Mt=Ae[Ke],Ut=0;Ut<rt;++Ut)Xt[Cn++]=Mt[Ut]}var We={\"[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},we={int8:5120,int16:5122,int32:5124,uint8:5121,uint16:5123,uint32:5125,float:5126,float32:5126},Ze={dynamic:35048,stream:35040,static:35044},Ve=_e.flatten,et=_e.shape,ht=[];function Fe(Re){return 0|We[Object.prototype.toString.call(Re)]}function mt(Re,je){for(var nt=0;nt<je.length;++nt)Re[nt]=je[nt]}function dt(Re,je,nt,rt,Xt,fn,Cn){for(var Yn=0,Ae=0;Ae<nt;++Ae)for(var Ke=0;Ke<rt;++Ke)Re[Yn++]=je[Xt*Ae+fn*Ke+Cn]}ht[5120]=1,ht[5122]=2,ht[5124]=4,ht[5121]=1,ht[5123]=2,ht[5125]=4,ht[5126]=4;var Lt={points:0,point:0,lines:1,line:1,triangles:4,triangle:4,\"line loop\":2,\"line strip\":3,\"triangle strip\":5,\"triangle fan\":6},lt=new Float32Array(1),rn=new Uint32Array(lt.buffer);function qt(Re){for(var je=X.allocType(5123,Re.length),nt=0;nt<Re.length;++nt)if(isNaN(Re[nt]))je[nt]=65535;else if(Re[nt]===1/0)je[nt]=31744;else if(Re[nt]===-1/0)je[nt]=64512;else{lt[0]=Re[nt];var rt=rn[0],Xt=rt>>>31<<15,fn=(rt<<1>>>24)-127,Cn=rt>>13&1023;if(fn<-24)je[nt]=Xt;else if(fn<-14){var Yn=-14-fn;je[nt]=Xt+(Cn+1024>>Yn)}else je[nt]=fn>15?Xt+31744:Xt+(fn+15<<10)+Cn}return je}function hn(Re){return Array.isArray(Re)||O(Re)}var Kt=function(Re){return!(Re&Re-1||!Re)},an=[9984,9986,9985,9987],In=[0,6409,6410,6407,6408],Ft={};function kt(Re){return\"[object \"+Re+\"]\"}Ft[6409]=Ft[6406]=Ft[6402]=1,Ft[34041]=Ft[6410]=2,Ft[6407]=Ft[35904]=3,Ft[6408]=Ft[35906]=4;var At=kt(\"HTMLCanvasElement\"),Fn=kt(\"OffscreenCanvas\"),pn=kt(\"CanvasRenderingContext2D\"),en=kt(\"ImageBitmap\"),Wn=kt(\"HTMLImageElement\"),Mn=kt(\"HTMLVideoElement\"),Kn=Object.keys(We).concat([At,Fn,pn,en,Wn,Mn]),hr=[];hr[5121]=1,hr[5126]=4,hr[36193]=2,hr[5123]=2,hr[5125]=4;var pr=[];function zr(Re){return Array.isArray(Re)&&(Re.length===0||typeof Re[0]==\"number\")}function Wr(Re){return!!Array.isArray(Re)&&!(Re.length===0||!hn(Re[0]))}function Nr(Re){return Object.prototype.toString.call(Re)}function Kr(Re){return Nr(Re)===At}function ko(Re){return Nr(Re)===Fn}function Ur(Re){if(!Re)return!1;var je=Nr(Re);return Kn.indexOf(je)>=0||zr(Re)||Wr(Re)||se(Re)}function gn(Re){return 0|We[Object.prototype.toString.call(Re)]}function Gt(Re,je){return X.allocType(Re.type===36193?5126:Re.type,je)}function bt(Re,je){Re.type===36193?(Re.data=qt(je),X.freeType(je)):Re.data=je}function Zt(Re,je,nt,rt,Xt,fn){var Cn;if(Cn=pr[Re]!==void 0?pr[Re]:Ft[Re]*hr[je],fn&&(Cn*=6),Xt){for(var Yn=0,Ae=nt;Ae>=1;)Yn+=Cn*Ae*Ae,Ae/=2;return Yn}return Cn*nt*rt}function gt(Re,je,nt,rt,Xt,fn,Cn){var Yn={\"don't care\":4352,\"dont care\":4352,nice:4354,fast:4353},Ae={repeat:10497,clamp:33071,mirror:33648},Ke={nearest:9728,linear:9729},Mt=b({mipmap:9987,\"nearest mipmap nearest\":9984,\"linear mipmap nearest\":9985,\"nearest mipmap linear\":9986,\"linear mipmap linear\":9987},Ke),Ut={none:0,browser:37444},kn={uint8:5121,rgba4:32819,rgb565:33635,\"rgb5 a1\":32820},Zn={alpha:6406,luminance:6409,\"luminance alpha\":6410,rgb:6407,rgba:6408,rgba4:32854,\"rgb5 a1\":32855,rgb565:36194},lr={};je.ext_srgb&&(Zn.srgb=35904,Zn.srgba=35906),je.oes_texture_float&&(kn.float32=kn.float=5126),je.oes_texture_half_float&&(kn.float16=kn[\"half float\"]=36193),je.webgl_depth_texture&&(b(Zn,{depth:6402,\"depth stencil\":34041}),b(kn,{uint16:5123,uint32:5125,\"depth stencil\":34042})),je.webgl_compressed_texture_s3tc&&b(lr,{\"rgb s3tc dxt1\":33776,\"rgba s3tc dxt1\":33777,\"rgba s3tc dxt3\":33778,\"rgba s3tc dxt5\":33779}),je.webgl_compressed_texture_atc&&b(lr,{\"rgb atc\":35986,\"rgba atc explicit alpha\":35987,\"rgba atc interpolated alpha\":34798}),je.webgl_compressed_texture_pvrtc&&b(lr,{\"rgb pvrtc 4bppv1\":35840,\"rgb pvrtc 2bppv1\":35841,\"rgba pvrtc 4bppv1\":35842,\"rgba pvrtc 2bppv1\":35843}),je.webgl_compressed_texture_etc1&&(lr[\"rgb etc1\"]=36196);var wr=Array.prototype.slice.call(Re.getParameter(34467));Object.keys(lr).forEach(function(F){var V=lr[F];wr.indexOf(V)>=0&&(Zn[F]=V)});var Dr=Object.keys(Zn);nt.textureFormats=Dr;var go=[];Object.keys(Zn).forEach(function(F){var V=Zn[F];go[V]=F});var Ir=[];Object.keys(kn).forEach(function(F){var V=kn[F];Ir[V]=F});var Jr=[];Object.keys(Ke).forEach(function(F){Jr[Ke[F]]=F});var _o=[];Object.keys(Mt).forEach(function(F){var V=Mt[F];_o[V]=F});var No=[];Object.keys(Ae).forEach(function(F){No[Ae[F]]=F});var ii=Dr.reduce(function(F,V){var U=Zn[V];return U===6409||U===6406||U===6409||U===6410||U===6402||U===34041||je.ext_srgb&&(U===35904||U===35906)?F[U]=U:U===32855||V.indexOf(\"rgba\")>=0?F[U]=6408:F[U]=6407,F},{});function Lo(){this.internalformat=6408,this.format=6408,this.type=5121,this.compressed=!1,this.premultiplyAlpha=!1,this.flipY=!1,this.unpackAlignment=1,this.colorSpace=37444,this.width=0,this.height=0,this.channels=0}function ai(F,V){F.internalformat=V.internalformat,F.format=V.format,F.type=V.type,F.compressed=V.compressed,F.premultiplyAlpha=V.premultiplyAlpha,F.flipY=V.flipY,F.unpackAlignment=V.unpackAlignment,F.colorSpace=V.colorSpace,F.width=V.width,F.height=V.height,F.channels=V.channels}function Si(F,V){if(w(V)===\"object\"&&V){if(\"premultiplyAlpha\"in V&&(ee.type(V.premultiplyAlpha,\"boolean\",\"invalid premultiplyAlpha\"),F.premultiplyAlpha=V.premultiplyAlpha),\"flipY\"in V&&(ee.type(V.flipY,\"boolean\",\"invalid texture flip\"),F.flipY=V.flipY),\"alignment\"in V&&(ee.oneOf(V.alignment,[1,2,4,8],\"invalid texture unpack alignment\"),F.unpackAlignment=V.alignment),\"colorSpace\"in V&&(ee.parameter(V.colorSpace,Ut,\"invalid colorSpace\"),F.colorSpace=Ut[V.colorSpace]),\"type\"in V){var U=V.type;ee(je.oes_texture_float||!(U===\"float\"||U===\"float32\"),\"you must enable the OES_texture_float extension in order to use floating point textures.\"),ee(je.oes_texture_half_float||!(U===\"half float\"||U===\"float16\"),\"you must enable the OES_texture_half_float extension in order to use 16-bit floating point textures.\"),ee(je.webgl_depth_texture||!(U===\"uint16\"||U===\"uint32\"||U===\"depth stencil\"),\"you must enable the WEBGL_depth_texture extension in order to use depth/stencil textures.\"),ee.parameter(U,kn,\"invalid texture type\"),F.type=kn[U]}var ge=F.width,ke=F.height,St=F.channels,Je=!1;\"shape\"in V?(ee(Array.isArray(V.shape)&&V.shape.length>=2,\"shape must be an array\"),ge=V.shape[0],ke=V.shape[1],V.shape.length===3&&(St=V.shape[2],ee(St>0&&St<=4,\"invalid number of channels\"),Je=!0),ee(ge>=0&&ge<=nt.maxTextureSize,\"invalid width\"),ee(ke>=0&&ke<=nt.maxTextureSize,\"invalid height\")):(\"radius\"in V&&(ge=ke=V.radius,ee(ge>=0&&ge<=nt.maxTextureSize,\"invalid radius\")),\"width\"in V&&(ge=V.width,ee(ge>=0&&ge<=nt.maxTextureSize,\"invalid width\")),\"height\"in V&&(ke=V.height,ee(ke>=0&&ke<=nt.maxTextureSize,\"invalid height\")),\"channels\"in V&&(St=V.channels,ee(St>0&&St<=4,\"invalid number of channels\"),Je=!0)),F.width=0|ge,F.height=0|ke,F.channels=0|St;var Ot=!1;if(\"format\"in V){var It=V.format;ee(je.webgl_depth_texture||!(It===\"depth\"||It===\"depth stencil\"),\"you must enable the WEBGL_depth_texture extension in order to use depth/stencil textures.\"),ee.parameter(It,Zn,\"invalid texture format\");var jt=F.internalformat=Zn[It];F.format=ii[jt],It in kn&&(\"type\"in V||(F.type=kn[It])),It in lr&&(F.compressed=!0),Ot=!0}!Je&&Ot?F.channels=Ft[F.format]:Je&&!Ot?F.channels!==In[F.format]&&(F.format=F.internalformat=In[F.channels]):Ot&&Je&&ee(F.channels===Ft[F.format],\"number of channels inconsistent with specified format\")}}function Ui(F){Re.pixelStorei(37440,F.flipY),Re.pixelStorei(37441,F.premultiplyAlpha),Re.pixelStorei(37443,F.colorSpace),Re.pixelStorei(3317,F.unpackAlignment)}function ln(){Lo.call(this),this.xOffset=0,this.yOffset=0,this.data=null,this.needsFree=!1,this.element=null,this.needsCopy=!1}function mn(F,V){var U=null;if(Ur(V)?U=V:V&&(ee.type(V,\"object\",\"invalid pixel data type\"),Si(F,V),\"x\"in V&&(F.xOffset=0|V.x),\"y\"in V&&(F.yOffset=0|V.y),Ur(V.data)&&(U=V.data)),ee(!F.compressed||U instanceof Uint8Array,\"compressed texture data must be stored in a uint8array\"),V.copy){ee(!U,\"can not specify copy and data field for the same texture\");var ge=Xt.viewportWidth,ke=Xt.viewportHeight;F.width=F.width||ge-F.xOffset,F.height=F.height||ke-F.yOffset,F.needsCopy=!0,ee(F.xOffset>=0&&F.xOffset<ge&&F.yOffset>=0&&F.yOffset<ke&&F.width>0&&F.width<=ge&&F.height>0&&F.height<=ke,\"copy texture read out of bounds\")}else if(U){if(O(U))F.channels=F.channels||4,F.data=U,\"type\"in V||F.type!==5121||(F.type=gn(U));else if(zr(U))F.channels=F.channels||4,function(Bt,En){var _n=En.length;switch(Bt.type){case 5121:case 5123:case 5125:case 5126:var cr=X.allocType(Bt.type,_n);cr.set(En),Bt.data=cr;break;case 36193:Bt.data=qt(En);break;default:ee.raise(\"unsupported texture type, must specify a typed array\")}}(F,U),F.alignment=1,F.needsFree=!0;else if(se(U)){var St=U.data;Array.isArray(St)||F.type!==5121||(F.type=gn(St));var Je,Ot,It,jt,Vt,Pn,Jn=U.shape,vn=U.stride;Jn.length===3?(It=Jn[2],Pn=vn[2]):(ee(Jn.length===2,\"invalid ndarray pixel data, must be 2 or 3D\"),It=1,Pn=1),Je=Jn[0],Ot=Jn[1],jt=vn[0],Vt=vn[1],F.alignment=1,F.width=Je,F.height=Ot,F.channels=It,F.format=F.internalformat=In[It],F.needsFree=!0,function(Bt,En,_n,cr,ao,kr){for(var jo=Bt.width,ui=Bt.height,Vr=Bt.channels,ho=Gt(Bt,jo*ui*Vr),vo=0,uo=0;uo<ui;++uo)for(var Go=0;Go<jo;++Go)for(var Pi=0;Pi<Vr;++Pi)ho[vo++]=En[_n*Go+cr*uo+ao*Pi+kr];bt(Bt,ho)}(F,St,jt,Vt,Pn,U.offset)}else if(Kr(U)||ko(U)||Nr(U)===pn)Kr(U)||ko(U)?F.element=U:F.element=U.canvas,F.width=F.element.width,F.height=F.element.height,F.channels=4;else if(function(Bt){return Nr(Bt)===en}(U))F.element=U,F.width=U.width,F.height=U.height,F.channels=4;else if(function(Bt){return Nr(Bt)===Wn}(U))F.element=U,F.width=U.naturalWidth,F.height=U.naturalHeight,F.channels=4;else if(function(Bt){return Nr(Bt)===Mn}(U))F.element=U,F.width=U.videoWidth,F.height=U.videoHeight,F.channels=4;else if(Wr(U)){var Vn=F.width||U[0].length,zt=F.height||U.length,ir=F.channels;ir=hn(U[0][0])?ir||U[0][0].length:ir||1;for(var nr=_e.shape(U),ur=1,sr=0;sr<nr.length;++sr)ur*=nr[sr];var Ln=Gt(F,ur);_e.flatten(U,nr,\"\",Ln),bt(F,Ln),F.alignment=1,F.width=Vn,F.height=zt,F.channels=ir,F.format=F.internalformat=In[ir],F.needsFree=!0}}else F.width=F.width||1,F.height=F.height||1,F.channels=F.channels||4;F.type===5126?ee(nt.extensions.indexOf(\"oes_texture_float\")>=0,\"oes_texture_float extension not enabled\"):F.type===36193&&ee(nt.extensions.indexOf(\"oes_texture_half_float\")>=0,\"oes_texture_half_float extension not enabled\")}function fr(F,V,U){var ge=F.element,ke=F.data,St=F.internalformat,Je=F.format,Ot=F.type,It=F.width,jt=F.height;Ui(F),ge?Re.texImage2D(V,U,Je,Je,Ot,ge):F.compressed?Re.compressedTexImage2D(V,U,St,It,jt,0,ke):F.needsCopy?(rt(),Re.copyTexImage2D(V,U,Je,F.xOffset,F.yOffset,It,jt,0)):Re.texImage2D(V,U,Je,It,jt,0,Je,Ot,ke||null)}function ft(F,V,U,ge,ke){var St=F.element,Je=F.data,Ot=F.internalformat,It=F.format,jt=F.type,Vt=F.width,Pn=F.height;Ui(F),St?Re.texSubImage2D(V,ke,U,ge,It,jt,St):F.compressed?Re.compressedTexSubImage2D(V,ke,U,ge,Ot,Vt,Pn,Je):F.needsCopy?(rt(),Re.copyTexSubImage2D(V,ke,U,ge,F.xOffset,F.yOffset,Vt,Pn)):Re.texSubImage2D(V,ke,U,ge,Vt,Pn,It,jt,Je)}var ct=[];function tn(){return ct.pop()||new ln}function An(F){F.needsFree&&X.freeType(F.data),ln.call(F),ct.push(F)}function Rt(){Lo.call(this),this.genMipmaps=!1,this.mipmapHint=4352,this.mipmask=0,this.images=Array(16)}function un(F,V,U){var ge=F.images[0]=tn();F.mipmask=1,ge.width=F.width=V,ge.height=F.height=U,ge.channels=F.channels=4}function Dn(F,V){var U=null;if(Ur(V))ai(U=F.images[0]=tn(),F),mn(U,V),F.mipmask=1;else if(Si(F,V),Array.isArray(V.mipmap))for(var ge=V.mipmap,ke=0;ke<ge.length;++ke)ai(U=F.images[ke]=tn(),F),U.width>>=ke,U.height>>=ke,mn(U,ge[ke]),F.mipmask|=1<<ke;else ai(U=F.images[0]=tn(),F),mn(U,V),F.mipmask=1;ai(F,F.images[0]),!F.compressed||F.internalformat!==33776&&F.internalformat!==33777&&F.internalformat!==33778&&F.internalformat!==33779||ee(F.width%4==0&&F.height%4==0,\"for compressed texture formats, mipmap level 0 must have width and height that are a multiple of 4\")}function dr(F,V){for(var U=F.images,ge=0;ge<U.length;++ge){if(!U[ge])return;fr(U[ge],V,ge)}}var Ar=[];function Gr(){var F=Ar.pop()||new Rt;Lo.call(F),F.mipmask=0;for(var V=0;V<16;++V)F.images[V]=null;return F}function Pr(F){for(var V=F.images,U=0;U<V.length;++U)V[U]&&An(V[U]),V[U]=null;Ar.push(F)}function Xr(){this.minFilter=9728,this.magFilter=9728,this.wrapS=33071,this.wrapT=33071,this.anisotropic=1,this.genMipmaps=!1,this.mipmapHint=4352}function oo(F,V){if(\"min\"in V){var U=V.min;ee.parameter(U,Mt),F.minFilter=Mt[U],an.indexOf(F.minFilter)>=0&&!(\"faces\"in V)&&(F.genMipmaps=!0)}if(\"mag\"in V){var ge=V.mag;ee.parameter(ge,Ke),F.magFilter=Ke[ge]}var ke=F.wrapS,St=F.wrapT;if(\"wrap\"in V){var Je=V.wrap;typeof Je==\"string\"?(ee.parameter(Je,Ae),ke=St=Ae[Je]):Array.isArray(Je)&&(ee.parameter(Je[0],Ae),ee.parameter(Je[1],Ae),ke=Ae[Je[0]],St=Ae[Je[1]])}else{if(\"wrapS\"in V){var Ot=V.wrapS;ee.parameter(Ot,Ae),ke=Ae[Ot]}if(\"wrapT\"in V){var It=V.wrapT;ee.parameter(It,Ae),St=Ae[It]}}if(F.wrapS=ke,F.wrapT=St,\"anisotropic\"in V){var jt=V.anisotropic;ee(typeof jt==\"number\"&&jt>=1&&jt<=nt.maxAnisotropic,\"aniso samples must be between 1 and \"),F.anisotropic=V.anisotropic}if(\"mipmap\"in V){var Vt=!1;switch(w(V.mipmap)){case\"string\":ee.parameter(V.mipmap,Yn,\"invalid mipmap hint\"),F.mipmapHint=Yn[V.mipmap],F.genMipmaps=!0,Vt=!0;break;case\"boolean\":Vt=F.genMipmaps=V.mipmap;break;case\"object\":ee(Array.isArray(V.mipmap),\"invalid mipmap type\"),F.genMipmaps=!1,Vt=!0;break;default:ee.raise(\"invalid mipmap type\")}Vt&&!(\"min\"in V)&&(F.minFilter=9984)}}function io(F,V){Re.texParameteri(V,10241,F.minFilter),Re.texParameteri(V,10240,F.magFilter),Re.texParameteri(V,10242,F.wrapS),Re.texParameteri(V,10243,F.wrapT),je.ext_texture_filter_anisotropic&&Re.texParameteri(V,34046,F.anisotropic),F.genMipmaps&&(Re.hint(33170,F.mipmapHint),Re.generateMipmap(V))}var to=0,To={},jn=nt.maxTextureUnits,W=Array(jn).map(function(){return null});function P(F){Lo.call(this),this.mipmask=0,this.internalformat=6408,this.id=to++,this.refCount=1,this.target=F,this.texture=Re.createTexture(),this.unit=-1,this.bindCount=0,this.texInfo=new Xr,Cn.profile&&(this.stats={size:0})}function k(F){Re.activeTexture(33984),Re.bindTexture(F.target,F.texture)}function z(){var F=W[0];F?Re.bindTexture(F.target,F.texture):Re.bindTexture(3553,null)}function Q(F){var V=F.texture;ee(V,\"must not double destroy texture\");var U=F.unit,ge=F.target;U>=0&&(Re.activeTexture(33984+U),Re.bindTexture(ge,null),W[U]=null),Re.deleteTexture(V),F.texture=null,F.params=null,F.pixels=null,F.refCount=0,delete To[F.id],fn.textureCount--}return b(P.prototype,{bind:function(){this.bindCount+=1;var F=this.unit;if(F<0){for(var V=0;V<jn;++V){var U=W[V];if(U){if(U.bindCount>0)continue;U.unit=-1}W[V]=this,F=V;break}F>=jn&&ee.raise(\"insufficient number of texture units\"),Cn.profile&&fn.maxTextureUnits<F+1&&(fn.maxTextureUnits=F+1),this.unit=F,Re.activeTexture(33984+F),Re.bindTexture(this.target,this.texture)}return F},unbind:function(){this.bindCount-=1},decRef:function(){--this.refCount<=0&&Q(this)}}),Cn.profile&&(fn.getTotalTextureSize=function(){var F=0;return Object.keys(To).forEach(function(V){F+=To[V].stats.size}),F}),{create2D:function(F,V){var U=new P(3553);function ge(ke,St){var Je=U.texInfo;Xr.call(Je);var Ot=Gr();return typeof ke==\"number\"?un(Ot,0|ke,typeof St==\"number\"?0|St:0|ke):ke?(ee.type(ke,\"object\",\"invalid arguments to regl.texture\"),oo(Je,ke),Dn(Ot,ke)):un(Ot,1,1),Je.genMipmaps&&(Ot.mipmask=(Ot.width<<1)-1),U.mipmask=Ot.mipmask,ai(U,Ot),ee.texture2D(Je,Ot,nt),U.internalformat=Ot.internalformat,ge.width=Ot.width,ge.height=Ot.height,k(U),dr(Ot,3553),io(Je,3553),z(),Pr(Ot),Cn.profile&&(U.stats.size=Zt(U.internalformat,U.type,Ot.width,Ot.height,Je.genMipmaps,!1)),ge.format=go[U.internalformat],ge.type=Ir[U.type],ge.mag=Jr[Je.magFilter],ge.min=_o[Je.minFilter],ge.wrapS=No[Je.wrapS],ge.wrapT=No[Je.wrapT],ge}return To[U.id]=U,fn.textureCount++,ge(F,V),ge.subimage=function(ke,St,Je,Ot){ee(!!ke,\"must specify image data\");var It=0|St,jt=0|Je,Vt=0|Ot,Pn=tn();return ai(Pn,U),Pn.width=0,Pn.height=0,mn(Pn,ke),Pn.width=Pn.width||(U.width>>Vt)-It,Pn.height=Pn.height||(U.height>>Vt)-jt,ee(U.type===Pn.type&&U.format===Pn.format&&U.internalformat===Pn.internalformat,\"incompatible format for texture.subimage\"),ee(It>=0&&jt>=0&&It+Pn.width<=U.width&&jt+Pn.height<=U.height,\"texture.subimage write out of bounds\"),ee(U.mipmask&1<<Vt,\"missing mipmap data\"),ee(Pn.data||Pn.element||Pn.needsCopy,\"missing image data\"),k(U),ft(Pn,3553,It,jt,Vt),z(),An(Pn),ge},ge.resize=function(ke,St){var Je=0|ke,Ot=0|St||Je;if(Je===U.width&&Ot===U.height)return ge;ge.width=U.width=Je,ge.height=U.height=Ot,k(U);for(var It=0;U.mipmask>>It;++It){var jt=Je>>It,Vt=Ot>>It;if(!jt||!Vt)break;Re.texImage2D(3553,It,U.format,jt,Vt,0,U.format,U.type,null)}return z(),Cn.profile&&(U.stats.size=Zt(U.internalformat,U.type,Je,Ot,!1,!1)),ge},ge._reglType=\"texture2d\",ge._texture=U,Cn.profile&&(ge.stats=U.stats),ge.destroy=function(){U.decRef()},ge},createCube:function(F,V,U,ge,ke,St){var Je=new P(34067);To[Je.id]=Je,fn.cubeCount++;var Ot=new Array(6);function It(jt,Vt,Pn,Jn,vn,Vn){var zt,ir=Je.texInfo;for(Xr.call(ir),zt=0;zt<6;++zt)Ot[zt]=Gr();if(typeof jt!=\"number\"&&jt)if(w(jt)===\"object\")if(Vt)Dn(Ot[0],jt),Dn(Ot[1],Vt),Dn(Ot[2],Pn),Dn(Ot[3],Jn),Dn(Ot[4],vn),Dn(Ot[5],Vn);else if(oo(ir,jt),Si(Je,jt),\"faces\"in jt){var nr=jt.faces;for(ee(Array.isArray(nr)&&nr.length===6,\"cube faces must be a length 6 array\"),zt=0;zt<6;++zt)ee(w(nr[zt])===\"object\"&&!!nr[zt],\"invalid input for cube map face\"),ai(Ot[zt],Je),Dn(Ot[zt],nr[zt])}else for(zt=0;zt<6;++zt)Dn(Ot[zt],jt);else ee.raise(\"invalid arguments to cube map\");else{var ur=0|jt||1;for(zt=0;zt<6;++zt)un(Ot[zt],ur,ur)}for(ai(Je,Ot[0]),nt.npotTextureCube||ee(Kt(Je.width)&&Kt(Je.height),\"your browser does not support non power or two texture dimensions\"),ir.genMipmaps?Je.mipmask=(Ot[0].width<<1)-1:Je.mipmask=Ot[0].mipmask,ee.textureCube(Je,ir,Ot,nt),Je.internalformat=Ot[0].internalformat,It.width=Ot[0].width,It.height=Ot[0].height,k(Je),zt=0;zt<6;++zt)dr(Ot[zt],34069+zt);for(io(ir,34067),z(),Cn.profile&&(Je.stats.size=Zt(Je.internalformat,Je.type,It.width,It.height,ir.genMipmaps,!0)),It.format=go[Je.internalformat],It.type=Ir[Je.type],It.mag=Jr[ir.magFilter],It.min=_o[ir.minFilter],It.wrapS=No[ir.wrapS],It.wrapT=No[ir.wrapT],zt=0;zt<6;++zt)Pr(Ot[zt]);return It}return It(F,V,U,ge,ke,St),It.subimage=function(jt,Vt,Pn,Jn,vn){ee(!!Vt,\"must specify image data\"),ee(typeof jt==\"number\"&&jt===(0|jt)&&jt>=0&&jt<6,\"invalid face\");var Vn=0|Pn,zt=0|Jn,ir=0|vn,nr=tn();return ai(nr,Je),nr.width=0,nr.height=0,mn(nr,Vt),nr.width=nr.width||(Je.width>>ir)-Vn,nr.height=nr.height||(Je.height>>ir)-zt,ee(Je.type===nr.type&&Je.format===nr.format&&Je.internalformat===nr.internalformat,\"incompatible format for texture.subimage\"),ee(Vn>=0&&zt>=0&&Vn+nr.width<=Je.width&&zt+nr.height<=Je.height,\"texture.subimage write out of bounds\"),ee(Je.mipmask&1<<ir,\"missing mipmap data\"),ee(nr.data||nr.element||nr.needsCopy,\"missing image data\"),k(Je),ft(nr,34069+jt,Vn,zt,ir),z(),An(nr),It},It.resize=function(jt){var Vt=0|jt;if(Vt!==Je.width){It.width=Je.width=Vt,It.height=Je.height=Vt,k(Je);for(var Pn=0;Pn<6;++Pn)for(var Jn=0;Je.mipmask>>Jn;++Jn)Re.texImage2D(34069+Pn,Jn,Je.format,Vt>>Jn,Vt>>Jn,0,Je.format,Je.type,null);return z(),Cn.profile&&(Je.stats.size=Zt(Je.internalformat,Je.type,It.width,It.height,!1,!0)),It}},It._reglType=\"textureCube\",It._texture=Je,Cn.profile&&(It.stats=Je.stats),It.destroy=function(){Je.decRef()},It},clear:function(){for(var F=0;F<jn;++F)Re.activeTexture(33984+F),Re.bindTexture(3553,null),W[F]=null;fe(To).forEach(Q),fn.cubeCount=0,fn.textureCount=0},getTexture:function(F){return null},restore:function(){for(var F=0;F<jn;++F){var V=W[F];V&&(V.bindCount=0,V.unit=-1,W[F]=null)}fe(To).forEach(function(U){U.texture=Re.createTexture(),Re.bindTexture(U.target,U.texture);for(var ge=0;ge<32;++ge)if(U.mipmask&1<<ge)if(U.target===3553)Re.texImage2D(3553,ge,U.internalformat,U.width>>ge,U.height>>ge,0,U.internalformat,U.type,null);else for(var ke=0;ke<6;++ke)Re.texImage2D(34069+ke,ge,U.internalformat,U.width>>ge,U.height>>ge,0,U.internalformat,U.type,null);io(U.texInfo,U.target)})},refresh:function(){for(var F=0;F<jn;++F){var V=W[F];V&&(V.bindCount=0,V.unit=-1,W[F]=null),Re.activeTexture(33984+F),Re.bindTexture(3553,null),Re.bindTexture(34067,null)}}}}pr[32854]=2,pr[32855]=2,pr[36194]=2,pr[34041]=4,pr[33776]=.5,pr[33777]=.5,pr[33778]=1,pr[33779]=1,pr[35986]=.5,pr[35987]=1,pr[34798]=1,pr[35840]=.5,pr[35841]=.25,pr[35842]=.5,pr[35843]=.25,pr[36196]=.5;var Wt=[];function xn(Re,je,nt){return Wt[Re]*je*nt}Wt[32854]=2,Wt[32855]=2,Wt[36194]=2,Wt[33189]=2,Wt[36168]=1,Wt[34041]=4,Wt[35907]=4,Wt[34836]=16,Wt[34842]=8,Wt[34843]=6;var Dt=[6407,6408],Xn=[];Xn[6408]=4,Xn[6407]=3;var Rn=[];Rn[5121]=1,Rn[5126]=4,Rn[36193]=2;var wt=[32854,32855,36194,35907,34842,34843,34836],pt={};function Ue(){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=5126,this.offset=0,this.stride=0,this.divisor=0}function xt(Re,je,nt,rt,Xt,fn,Cn){function Yn(Ae){var Ke;je.next===null?(ee(Xt.preserveDrawingBuffer,'you must create a webgl context with \"preserveDrawingBuffer\":true in order to read pixels from the drawing buffer'),Ke=5121):(ee(je.next.colorAttachments[0].texture!==null,\"You cannot read from a renderbuffer\"),Ke=je.next.colorAttachments[0].texture._texture.type,fn.oes_texture_float?(ee(Ke===5121||Ke===5126,\"Reading from a framebuffer is only allowed for the types 'uint8' and 'float'\"),Ke===5126&&ee(Cn.readFloat,\"Reading 'float' values is not permitted in your browser. For a fallback, please see: https://www.npmjs.com/package/glsl-read-float\")):ee(Ke===5121,\"Reading from a framebuffer is only allowed for the type 'uint8'\"));var Mt=0,Ut=0,kn=rt.framebufferWidth,Zn=rt.framebufferHeight,lr=null;O(Ae)?lr=Ae:Ae&&(ee.type(Ae,\"object\",\"invalid arguments to regl.read()\"),Mt=0|Ae.x,Ut=0|Ae.y,ee(Mt>=0&&Mt<rt.framebufferWidth,\"invalid x offset for regl.read\"),ee(Ut>=0&&Ut<rt.framebufferHeight,\"invalid y offset for regl.read\"),kn=0|(Ae.width||rt.framebufferWidth-Mt),Zn=0|(Ae.height||rt.framebufferHeight-Ut),lr=Ae.data||null),lr&&(Ke===5121?ee(lr instanceof Uint8Array,\"buffer must be 'Uint8Array' when reading from a framebuffer of type 'uint8'\"):Ke===5126&&ee(lr instanceof Float32Array,\"buffer must be 'Float32Array' when reading from a framebuffer of type 'float'\")),ee(kn>0&&kn+Mt<=rt.framebufferWidth,\"invalid width for read pixels\"),ee(Zn>0&&Zn+Ut<=rt.framebufferHeight,\"invalid height for read pixels\"),nt();var wr=kn*Zn*4;return lr||(Ke===5121?lr=new Uint8Array(wr):Ke===5126&&(lr=lr||new Float32Array(wr))),ee.isTypedArray(lr,\"data buffer for regl.read() must be a typedarray\"),ee(lr.byteLength>=wr,\"data buffer for regl.read() too small\"),Re.pixelStorei(3333,4),Re.readPixels(Mt,Ut,kn,Zn,6408,Ke,lr),lr}return function(Ae){return Ae&&\"framebuffer\"in Ae?function(Ke){var Mt;return je.setFBO({framebuffer:Ke.framebuffer},function(){Mt=Yn(Ke)}),Mt}(Ae):Yn(Ae)}}function cn(Re){return Array.prototype.slice.call(Re)}function er(Re){return cn(Re).join(\"\")}pt[36053]=\"complete\",pt[36054]=\"incomplete attachment\",pt[36057]=\"incomplete dimensions\",pt[36055]=\"incomplete, missing attachment\",pt[36061]=\"unsupported\";var Mr=\"xyzw\".split(\"\"),xr=\"profile\",jr=\"framebuffer\",yo=\"vert\",eo=\"frag\",vi=\"elements\",Ti=\"primitive\",wi=\"count\",mi=\"offset\",Zi=\"instances\",aa=\"vao\",$e=jr+\"Width\",dn=jr+\"Height\",Un=[\"blend.func\",\"blend.equation\",\"stencil.func\",\"stencil.opFront\",\"stencil.opBack\",\"sample.coverage\",\"viewport\",\"scissor.box\",\"polygonOffset.offset\"],ar={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},Rr=[\"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\"],Ro={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},Vo={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,\"increment wrap\":34055,\"decrement wrap\":34056,invert:5386},Co={frag:35632,vert:35633},Mo={cw:2304,ccw:2305};function qo(Re){return Array.isArray(Re)||O(Re)||se(Re)}function ti(Re){return Re.sort(function(je,nt){return je===\"viewport\"?-1:nt===\"viewport\"?1:je<nt?-1:1})}function pi(Re,je,nt,rt){this.thisDep=Re,this.contextDep=je,this.propDep=nt,this.append=rt}function ni(Re){return Re&&!(Re.thisDep||Re.contextDep||Re.propDep)}function si(Re){return new pi(!1,!1,!1,Re)}function Oi(Re,je){var nt=Re.type;if(nt===0){var rt=Re.data.length;return new pi(!0,rt>=1,rt>=2,je)}if(nt===4){var Xt=Re.data;return new pi(Xt.thisDep,Xt.contextDep,Xt.propDep,je)}if(nt===5)return new pi(!1,!1,!1,je);if(nt===6){for(var fn=!1,Cn=!1,Yn=!1,Ae=0;Ae<Re.data.length;++Ae){var Ke=Re.data[Ae];if(Ke.type===1)Yn=!0;else if(Ke.type===2)Cn=!0;else if(Ke.type===3)fn=!0;else if(Ke.type===0){fn=!0;var Mt=Ke.data;Mt>=1&&(Cn=!0),Mt>=2&&(Yn=!0)}else Ke.type===4&&(fn=fn||Ke.data.thisDep,Cn=Cn||Ke.data.contextDep,Yn=Yn||Ke.data.propDep)}return new pi(fn,Cn,Yn,je)}return new pi(nt===3,nt===2,nt===1,je)}var Ki=new pi(!1,!1,!1,function(){});function ca(Re,je,nt,rt,Xt,fn,Cn,Yn,Ae,Ke,Mt,Ut,kn,Zn,lr){var wr=Ke.Record,Dr={add:32774,subtract:32778,\"reverse subtract\":32779};nt.ext_blend_minmax&&(Dr.min=32775,Dr.max=32776);var go=nt.angle_instanced_arrays,Ir=nt.webgl_draw_buffers,Jr={dirty:!0,profile:lr.profile},_o={},No=[],ii={},Lo={};function ai(jn){return jn.replace(\".\",\"_\")}function Si(jn,W,P){var k=ai(jn);No.push(jn),_o[k]=Jr[k]=!!P,ii[k]=W}function Ui(jn,W,P){var k=ai(jn);No.push(jn),Array.isArray(P)?(Jr[k]=P.slice(),_o[k]=P.slice()):Jr[k]=_o[k]=P,Lo[k]=W}Si(\"dither\",3024),Si(\"blend.enable\",3042),Ui(\"blend.color\",\"blendColor\",[0,0,0,0]),Ui(\"blend.equation\",\"blendEquationSeparate\",[32774,32774]),Ui(\"blend.func\",\"blendFuncSeparate\",[1,0,1,0]),Si(\"depth.enable\",2929,!0),Ui(\"depth.func\",\"depthFunc\",513),Ui(\"depth.range\",\"depthRange\",[0,1]),Ui(\"depth.mask\",\"depthMask\",!0),Ui(\"colorMask\",\"colorMask\",[!0,!0,!0,!0]),Si(\"cull.enable\",2884),Ui(\"cull.face\",\"cullFace\",1029),Ui(\"frontFace\",\"frontFace\",2305),Ui(\"lineWidth\",\"lineWidth\",1),Si(\"polygonOffset.enable\",32823),Ui(\"polygonOffset.offset\",\"polygonOffset\",[0,0]),Si(\"sample.alpha\",32926),Si(\"sample.enable\",32928),Ui(\"sample.coverage\",\"sampleCoverage\",[1,!1]),Si(\"stencil.enable\",2960),Ui(\"stencil.mask\",\"stencilMask\",-1),Ui(\"stencil.func\",\"stencilFunc\",[519,0,-1]),Ui(\"stencil.opFront\",\"stencilOpSeparate\",[1028,7680,7680,7680]),Ui(\"stencil.opBack\",\"stencilOpSeparate\",[1029,7680,7680,7680]),Si(\"scissor.enable\",3089),Ui(\"scissor.box\",\"scissor\",[0,0,Re.drawingBufferWidth,Re.drawingBufferHeight]),Ui(\"viewport\",\"viewport\",[0,0,Re.drawingBufferWidth,Re.drawingBufferHeight]);var ln={gl:Re,context:kn,strings:je,next:_o,current:Jr,draw:Ut,elements:fn,buffer:Xt,shader:Mt,attributes:Ke.state,vao:Ke,uniforms:Ae,framebuffer:Yn,extensions:nt,timer:Zn,isBufferArgs:qo},mn={primTypes:Lt,compareFuncs:Ro,blendFuncs:ar,blendEquations:Dr,stencilOps:Vo,glTypes:we,orientationType:Mo};ee.optional(function(){ln.isArrayLike=hn}),Ir&&(mn.backBuffer=[1029],mn.drawBuffer=ie(rt.maxDrawbuffers,function(jn){return jn===0?[0]:ie(jn,function(W){return 36064+W})}));var fr=0;function ft(){var jn=function(){var ge=0,ke=[],St=[];function Je(){var Vt=[],Pn=[];return b(function(){Vt.push.apply(Vt,cn(arguments))},{def:function(){var Jn=\"v\"+ge++;return Pn.push(Jn),arguments.length>0&&(Vt.push(Jn,\"=\"),Vt.push.apply(Vt,cn(arguments)),Vt.push(\";\")),Jn},toString:function(){return er([Pn.length>0?\"var \"+Pn.join(\",\")+\";\":\"\",er(Vt)])}})}function Ot(){var Vt=Je(),Pn=Je(),Jn=Vt.toString,vn=Pn.toString;function Vn(zt,ir){Pn(zt,ir,\"=\",Vt.def(zt,ir),\";\")}return b(function(){Vt.apply(Vt,cn(arguments))},{def:Vt.def,entry:Vt,exit:Pn,save:Vn,set:function(zt,ir,nr){Vn(zt,ir),Vt(zt,ir,\"=\",nr,\";\")},toString:function(){return Jn()+vn()}})}var It=Je(),jt={};return{global:It,link:function(Vt){for(var Pn=0;Pn<St.length;++Pn)if(St[Pn]===Vt)return ke[Pn];var Jn=\"g\"+ge++;return ke.push(Jn),St.push(Vt),Jn},block:Je,proc:function(Vt,Pn){var Jn=[];function vn(){var nr=\"a\"+Jn.length;return Jn.push(nr),nr}Pn=Pn||0;for(var Vn=0;Vn<Pn;++Vn)vn();var zt=Ot(),ir=zt.toString;return jt[Vt]=b(zt,{arg:vn,toString:function(){return er([\"function(\",Jn.join(),\"){\",ir(),\"}\"])}})},scope:Ot,cond:function(){var Vt=er(arguments),Pn=Ot(),Jn=Ot(),vn=Pn.toString,Vn=Jn.toString;return b(Pn,{then:function(){return Pn.apply(Pn,cn(arguments)),this},else:function(){return Jn.apply(Jn,cn(arguments)),this},toString:function(){var zt=Vn();return zt&&(zt=\"else{\"+zt+\"}\"),er([\"if(\",Vt,\"){\",vn(),\"}\",zt])}})},compile:function(){var Vt=['\"use strict\";',It,\"return {\"];Object.keys(jt).forEach(function(Jn){Vt.push('\"',Jn,'\":',jt[Jn].toString(),\",\")}),Vt.push(\"}\");var Pn=er(Vt).replace(/;/g,`;\n`).replace(/}/g,`}\n`).replace(/{/g,`{\n`);return Function.apply(null,ke.concat(Pn)).apply(null,St)}}}(),W=jn.link,P=jn.global;jn.id=fr++,jn.batchId=\"0\";var k=W(ln),z=jn.shared={props:\"a0\"};Object.keys(ln).forEach(function(ge){z[ge]=P.def(k,\".\",ge)}),ee.optional(function(){jn.CHECK=W(ee),jn.commandStr=ee.guessCommand(),jn.command=W(jn.commandStr),jn.assert=function(ge,ke,St){ge(\"if(!(\",ke,\"))\",this.CHECK,\".commandRaise(\",W(St),\",\",this.command,\");\")},mn.invalidBlendCombinations=Rr});var Q=jn.next={},F=jn.current={};Object.keys(Lo).forEach(function(ge){Array.isArray(Jr[ge])&&(Q[ge]=P.def(z.next,\".\",ge),F[ge]=P.def(z.current,\".\",ge))});var V=jn.constants={};Object.keys(mn).forEach(function(ge){V[ge]=P.def(JSON.stringify(mn[ge]))}),jn.invoke=function(ge,ke){switch(ke.type){case 0:var St=[\"this\",z.context,z.props,jn.batchId];return ge.def(W(ke.data),\".call(\",St.slice(0,Math.max(ke.data.length+1,4)),\")\");case 1:return ge.def(z.props,ke.data);case 2:return ge.def(z.context,ke.data);case 3:return ge.def(\"this\",ke.data);case 4:return ke.data.append(jn,ge),ke.data.ref;case 5:return ke.data.toString();case 6:return ke.data.map(function(Je){return jn.invoke(ge,Je)})}},jn.attribCache={};var U={};return jn.scopeAttrib=function(ge){var ke=je.id(ge);if(ke in U)return U[ke];var St=Ke.scope[ke];return St||(St=Ke.scope[ke]=new wr),U[ke]=W(St)},jn}function ct(jn,W,P,k,z){var Q=jn.static,F=jn.dynamic;ee.optional(function(){var vn=[jr,yo,eo,vi,Ti,mi,wi,Zi,xr,aa].concat(No);function Vn(zt){Object.keys(zt).forEach(function(ir){ee.command(vn.indexOf(ir)>=0,'unknown parameter \"'+ir+'\"',z.commandStr)})}Vn(Q),Vn(F)});var V=function(vn,Vn){var zt=vn.static;if(typeof zt[eo]==\"string\"&&typeof zt[yo]==\"string\"){if(Object.keys(Vn.dynamic).length>0)return null;var ir=Vn.static,nr=Object.keys(ir);if(nr.length>0&&typeof ir[nr[0]]==\"number\"){for(var ur=[],sr=0;sr<nr.length;++sr)ee(typeof ir[nr[sr]]==\"number\",\"must specify all vertex attribute locations when using vaos\"),ur.push([0|ir[nr[sr]],nr[sr]]);return ur}}return null}(jn,W),U=function(vn,Vn){var zt=vn.static,ir=vn.dynamic;if(jr in zt){var nr=zt[jr];return nr?(nr=Yn.getFramebuffer(nr),ee.command(nr,\"invalid framebuffer object\"),si(function(sr,Ln){var Bt=sr.link(nr),En=sr.shared;Ln.set(En.framebuffer,\".next\",Bt);var _n=En.context;return Ln.set(_n,\".\"+$e,Bt+\".width\"),Ln.set(_n,\".\"+dn,Bt+\".height\"),Bt})):si(function(sr,Ln){var Bt=sr.shared;Ln.set(Bt.framebuffer,\".next\",\"null\");var En=Bt.context;return Ln.set(En,\".\"+$e,En+\".drawingBufferWidth\"),Ln.set(En,\".\"+dn,En+\".drawingBufferHeight\"),\"null\"})}if(jr in ir){var ur=ir[jr];return Oi(ur,function(sr,Ln){var Bt=sr.invoke(Ln,ur),En=sr.shared,_n=En.framebuffer,cr=Ln.def(_n,\".getFramebuffer(\",Bt,\")\");ee.optional(function(){sr.assert(Ln,\"!\"+Bt+\"||\"+cr,\"invalid framebuffer object\")}),Ln.set(_n,\".next\",cr);var ao=En.context;return Ln.set(ao,\".\"+$e,cr+\"?\"+cr+\".width:\"+ao+\".drawingBufferWidth\"),Ln.set(ao,\".\"+dn,cr+\"?\"+cr+\".height:\"+ao+\".drawingBufferHeight\"),cr})}return null}(jn),ge=function(vn,Vn,zt){var ir=vn.static,nr=vn.dynamic;function ur(Bt){if(Bt in ir){var En=ir[Bt];ee.commandType(En,\"object\",\"invalid \"+Bt,zt.commandStr);var _n,cr,ao=!0,kr=0|En.x,jo=0|En.y;return\"width\"in En?(_n=0|En.width,ee.command(_n>=0,\"invalid \"+Bt,zt.commandStr)):ao=!1,\"height\"in En?(cr=0|En.height,ee.command(cr>=0,\"invalid \"+Bt,zt.commandStr)):ao=!1,new pi(!ao&&Vn&&Vn.thisDep,!ao&&Vn&&Vn.contextDep,!ao&&Vn&&Vn.propDep,function(ho,vo){var uo=ho.shared.context,Go=_n;\"width\"in En||(Go=vo.def(uo,\".\",$e,\"-\",kr));var Pi=cr;return\"height\"in En||(Pi=vo.def(uo,\".\",dn,\"-\",jo)),[kr,jo,Go,Pi]})}if(Bt in nr){var ui=nr[Bt],Vr=Oi(ui,function(ho,vo){var uo=ho.invoke(vo,ui);ee.optional(function(){ho.assert(vo,uo+\"&&typeof \"+uo+'===\"object\"',\"invalid \"+Bt)});var Go=ho.shared.context,Pi=vo.def(uo,\".x|0\"),la=vo.def(uo,\".y|0\"),Vi=vo.def('\"width\" in ',uo,\"?\",uo,\".width|0:\",\"(\",Go,\".\",$e,\"-\",Pi,\")\"),ha=vo.def('\"height\" in ',uo,\"?\",uo,\".height|0:\",\"(\",Go,\".\",dn,\"-\",la,\")\");return ee.optional(function(){ho.assert(vo,Vi+\">=0&&\"+ha+\">=0\",\"invalid \"+Bt)}),[Pi,la,Vi,ha]});return Vn&&(Vr.thisDep=Vr.thisDep||Vn.thisDep,Vr.contextDep=Vr.contextDep||Vn.contextDep,Vr.propDep=Vr.propDep||Vn.propDep),Vr}return Vn?new pi(Vn.thisDep,Vn.contextDep,Vn.propDep,function(ho,vo){var uo=ho.shared.context;return[0,0,vo.def(uo,\".\",$e),vo.def(uo,\".\",dn)]}):null}var sr=ur(\"viewport\");if(sr){var Ln=sr;sr=new pi(sr.thisDep,sr.contextDep,sr.propDep,function(Bt,En){var _n=Ln.append(Bt,En),cr=Bt.shared.context;return En.set(cr,\".viewportWidth\",_n[2]),En.set(cr,\".viewportHeight\",_n[3]),_n})}return{viewport:sr,scissor_box:ur(\"scissor.box\")}}(jn,U,z),ke=function(vn,Vn){var zt=vn.static,ir=vn.dynamic,nr=function(){if(vi in zt){var Ln=zt[vi];qo(Ln)?Ln=fn.getElements(fn.create(Ln,!0)):Ln&&(Ln=fn.getElements(Ln),ee.command(Ln,\"invalid elements\",Vn.commandStr));var Bt=si(function(_n,cr){if(Ln){var ao=_n.link(Ln);return _n.ELEMENTS=ao,ao}return _n.ELEMENTS=null,null});return Bt.value=Ln,Bt}if(vi in ir){var En=ir[vi];return Oi(En,function(_n,cr){var ao=_n.shared,kr=ao.isBufferArgs,jo=ao.elements,ui=_n.invoke(cr,En),Vr=cr.def(\"null\"),ho=cr.def(kr,\"(\",ui,\")\"),vo=_n.cond(ho).then(Vr,\"=\",jo,\".createStream(\",ui,\");\").else(Vr,\"=\",jo,\".getElements(\",ui,\");\");return ee.optional(function(){_n.assert(vo.else,\"!\"+ui+\"||\"+Vr,\"invalid elements\")}),cr.entry(vo),cr.exit(_n.cond(ho).then(jo,\".destroyStream(\",Vr,\");\")),_n.ELEMENTS=Vr,Vr})}return null}();function ur(Ln,Bt){if(Ln in zt){var En=0|zt[Ln];return ee.command(!Bt||En>=0,\"invalid \"+Ln,Vn.commandStr),si(function(cr,ao){return Bt&&(cr.OFFSET=En),En})}if(Ln in ir){var _n=ir[Ln];return Oi(_n,function(cr,ao){var kr=cr.invoke(ao,_n);return Bt&&(cr.OFFSET=kr,ee.optional(function(){cr.assert(ao,kr+\">=0\",\"invalid \"+Ln)})),kr})}return Bt&&nr?si(function(cr,ao){return cr.OFFSET=\"0\",0}):null}var sr=ur(mi,!0);return{elements:nr,primitive:function(){if(Ti in zt){var Ln=zt[Ti];return ee.commandParameter(Ln,Lt,\"invalid primitve\",Vn.commandStr),si(function(En,_n){return Lt[Ln]})}if(Ti in ir){var Bt=ir[Ti];return Oi(Bt,function(En,_n){var cr=En.constants.primTypes,ao=En.invoke(_n,Bt);return ee.optional(function(){En.assert(_n,ao+\" in \"+cr,\"invalid primitive, must be one of \"+Object.keys(Lt))}),_n.def(cr,\"[\",ao,\"]\")})}return nr?ni(nr)?nr.value?si(function(En,_n){return _n.def(En.ELEMENTS,\".primType\")}):si(function(){return 4}):new pi(nr.thisDep,nr.contextDep,nr.propDep,function(En,_n){var cr=En.ELEMENTS;return _n.def(cr,\"?\",cr,\".primType:\",4)}):null}(),count:function(){if(wi in zt){var Ln=0|zt[wi];return ee.command(typeof Ln==\"number\"&&Ln>=0,\"invalid vertex count\",Vn.commandStr),si(function(){return Ln})}if(wi in ir){var Bt=ir[wi];return Oi(Bt,function(cr,ao){var kr=cr.invoke(ao,Bt);return ee.optional(function(){cr.assert(ao,\"typeof \"+kr+'===\"number\"&&'+kr+\">=0&&\"+kr+\"===(\"+kr+\"|0)\",\"invalid vertex count\")}),kr})}if(nr){if(ni(nr)){if(nr)return sr?new pi(sr.thisDep,sr.contextDep,sr.propDep,function(cr,ao){var kr=ao.def(cr.ELEMENTS,\".vertCount-\",cr.OFFSET);return ee.optional(function(){cr.assert(ao,kr+\">=0\",\"invalid vertex offset/element buffer too small\")}),kr}):si(function(cr,ao){return ao.def(cr.ELEMENTS,\".vertCount\")});var En=si(function(){return-1});return ee.optional(function(){En.MISSING=!0}),En}var _n=new pi(nr.thisDep||sr.thisDep,nr.contextDep||sr.contextDep,nr.propDep||sr.propDep,function(cr,ao){var kr=cr.ELEMENTS;return cr.OFFSET?ao.def(kr,\"?\",kr,\".vertCount-\",cr.OFFSET,\":-1\"):ao.def(kr,\"?\",kr,\".vertCount:-1\")});return ee.optional(function(){_n.DYNAMIC=!0}),_n}return null}(),instances:ur(Zi,!1),offset:sr}}(jn,z),St=function(vn,Vn){var zt=vn.static,ir=vn.dynamic,nr={};return No.forEach(function(ur){var sr=ai(ur);function Ln(Bt,En){if(ur in zt){var _n=Bt(zt[ur]);nr[sr]=si(function(){return _n})}else if(ur in ir){var cr=ir[ur];nr[sr]=Oi(cr,function(ao,kr){return En(ao,kr,ao.invoke(kr,cr))})}}switch(ur){case\"cull.enable\":case\"blend.enable\":case\"dither\":case\"stencil.enable\":case\"depth.enable\":case\"scissor.enable\":case\"polygonOffset.enable\":case\"sample.alpha\":case\"sample.enable\":case\"depth.mask\":return Ln(function(Bt){return ee.commandType(Bt,\"boolean\",ur,Vn.commandStr),Bt},function(Bt,En,_n){return ee.optional(function(){Bt.assert(En,\"typeof \"+_n+'===\"boolean\"',\"invalid flag \"+ur,Bt.commandStr)}),_n});case\"depth.func\":return Ln(function(Bt){return ee.commandParameter(Bt,Ro,\"invalid \"+ur,Vn.commandStr),Ro[Bt]},function(Bt,En,_n){var cr=Bt.constants.compareFuncs;return ee.optional(function(){Bt.assert(En,_n+\" in \"+cr,\"invalid \"+ur+\", must be one of \"+Object.keys(Ro))}),En.def(cr,\"[\",_n,\"]\")});case\"depth.range\":return Ln(function(Bt){return ee.command(hn(Bt)&&Bt.length===2&&typeof Bt[0]==\"number\"&&typeof Bt[1]==\"number\"&&Bt[0]<=Bt[1],\"depth range is 2d array\",Vn.commandStr),Bt},function(Bt,En,_n){return ee.optional(function(){Bt.assert(En,Bt.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\")}),[En.def(\"+\",_n,\"[0]\"),En.def(\"+\",_n,\"[1]\")]});case\"blend.func\":return Ln(function(Bt){ee.commandType(Bt,\"object\",\"blend.func\",Vn.commandStr);var En=\"srcRGB\"in Bt?Bt.srcRGB:Bt.src,_n=\"srcAlpha\"in Bt?Bt.srcAlpha:Bt.src,cr=\"dstRGB\"in Bt?Bt.dstRGB:Bt.dst,ao=\"dstAlpha\"in Bt?Bt.dstAlpha:Bt.dst;return ee.commandParameter(En,ar,sr+\".srcRGB\",Vn.commandStr),ee.commandParameter(_n,ar,sr+\".srcAlpha\",Vn.commandStr),ee.commandParameter(cr,ar,sr+\".dstRGB\",Vn.commandStr),ee.commandParameter(ao,ar,sr+\".dstAlpha\",Vn.commandStr),ee.command(Rr.indexOf(En+\", \"+cr)===-1,\"unallowed blending combination (srcRGB, dstRGB) = (\"+En+\", \"+cr+\")\",Vn.commandStr),[ar[En],ar[cr],ar[_n],ar[ao]]},function(Bt,En,_n){var cr=Bt.constants.blendFuncs;function ao(ho,vo){var uo=En.def('\"',ho,vo,'\" in ',_n,\"?\",_n,\".\",ho,vo,\":\",_n,\".\",ho);return ee.optional(function(){Bt.assert(En,uo+\" in \"+cr,\"invalid \"+ur+\".\"+ho+vo+\", must be one of \"+Object.keys(ar))}),uo}ee.optional(function(){Bt.assert(En,_n+\"&&typeof \"+_n+'===\"object\"',\"invalid blend func, must be an object\")});var kr=ao(\"src\",\"RGB\"),jo=ao(\"dst\",\"RGB\");ee.optional(function(){var ho=Bt.constants.invalidBlendCombinations;Bt.assert(En,ho+\".indexOf(\"+kr+'+\", \"+'+jo+\") === -1 \",\"unallowed blending combination for (srcRGB, dstRGB)\")});var ui=En.def(cr,\"[\",kr,\"]\"),Vr=En.def(cr,\"[\",ao(\"src\",\"Alpha\"),\"]\");return[ui,En.def(cr,\"[\",jo,\"]\"),Vr,En.def(cr,\"[\",ao(\"dst\",\"Alpha\"),\"]\")]});case\"blend.equation\":return Ln(function(Bt){return typeof Bt==\"string\"?(ee.commandParameter(Bt,Dr,\"invalid \"+ur,Vn.commandStr),[Dr[Bt],Dr[Bt]]):w(Bt)===\"object\"?(ee.commandParameter(Bt.rgb,Dr,ur+\".rgb\",Vn.commandStr),ee.commandParameter(Bt.alpha,Dr,ur+\".alpha\",Vn.commandStr),[Dr[Bt.rgb],Dr[Bt.alpha]]):void ee.commandRaise(\"invalid blend.equation\",Vn.commandStr)},function(Bt,En,_n){var cr=Bt.constants.blendEquations,ao=En.def(),kr=En.def(),jo=Bt.cond(\"typeof \",_n,'===\"string\"');return ee.optional(function(){function ui(Vr,ho,vo){Bt.assert(Vr,vo+\" in \"+cr,\"invalid \"+ho+\", must be one of \"+Object.keys(Dr))}ui(jo.then,ur,_n),Bt.assert(jo.else,_n+\"&&typeof \"+_n+'===\"object\"',\"invalid \"+ur),ui(jo.else,ur+\".rgb\",_n+\".rgb\"),ui(jo.else,ur+\".alpha\",_n+\".alpha\")}),jo.then(ao,\"=\",kr,\"=\",cr,\"[\",_n,\"];\"),jo.else(ao,\"=\",cr,\"[\",_n,\".rgb];\",kr,\"=\",cr,\"[\",_n,\".alpha];\"),En(jo),[ao,kr]});case\"blend.color\":return Ln(function(Bt){return ee.command(hn(Bt)&&Bt.length===4,\"blend.color must be a 4d array\",Vn.commandStr),ie(4,function(En){return+Bt[En]})},function(Bt,En,_n){return ee.optional(function(){Bt.assert(En,Bt.shared.isArrayLike+\"(\"+_n+\")&&\"+_n+\".length===4\",\"blend.color must be a 4d array\")}),ie(4,function(cr){return En.def(\"+\",_n,\"[\",cr,\"]\")})});case\"stencil.mask\":return Ln(function(Bt){return ee.commandType(Bt,\"number\",sr,Vn.commandStr),0|Bt},function(Bt,En,_n){return ee.optional(function(){Bt.assert(En,\"typeof \"+_n+'===\"number\"',\"invalid stencil.mask\")}),En.def(_n,\"|0\")});case\"stencil.func\":return Ln(function(Bt){ee.commandType(Bt,\"object\",sr,Vn.commandStr);var En=Bt.cmp||\"keep\",_n=Bt.ref||0,cr=\"mask\"in Bt?Bt.mask:-1;return ee.commandParameter(En,Ro,ur+\".cmp\",Vn.commandStr),ee.commandType(_n,\"number\",ur+\".ref\",Vn.commandStr),ee.commandType(cr,\"number\",ur+\".mask\",Vn.commandStr),[Ro[En],_n,cr]},function(Bt,En,_n){var cr=Bt.constants.compareFuncs;return ee.optional(function(){function ao(){Bt.assert(En,Array.prototype.join.call(arguments,\"\"),\"invalid stencil.func\")}ao(_n+\"&&typeof \",_n,'===\"object\"'),ao('!(\"cmp\" in ',_n,\")||(\",_n,\".cmp in \",cr,\")\")}),[En.def('\"cmp\" in ',_n,\"?\",cr,\"[\",_n,\".cmp]\",\":\",7680),En.def(_n,\".ref|0\"),En.def('\"mask\" in ',_n,\"?\",_n,\".mask|0:-1\")]});case\"stencil.opFront\":case\"stencil.opBack\":return Ln(function(Bt){ee.commandType(Bt,\"object\",sr,Vn.commandStr);var En=Bt.fail||\"keep\",_n=Bt.zfail||\"keep\",cr=Bt.zpass||\"keep\";return ee.commandParameter(En,Vo,ur+\".fail\",Vn.commandStr),ee.commandParameter(_n,Vo,ur+\".zfail\",Vn.commandStr),ee.commandParameter(cr,Vo,ur+\".zpass\",Vn.commandStr),[ur===\"stencil.opBack\"?1029:1028,Vo[En],Vo[_n],Vo[cr]]},function(Bt,En,_n){var cr=Bt.constants.stencilOps;function ao(kr){return ee.optional(function(){Bt.assert(En,'!(\"'+kr+'\" in '+_n+\")||(\"+_n+\".\"+kr+\" in \"+cr+\")\",\"invalid \"+ur+\".\"+kr+\", must be one of \"+Object.keys(Vo))}),En.def('\"',kr,'\" in ',_n,\"?\",cr,\"[\",_n,\".\",kr,\"]:\",7680)}return ee.optional(function(){Bt.assert(En,_n+\"&&typeof \"+_n+'===\"object\"',\"invalid \"+ur)}),[ur===\"stencil.opBack\"?1029:1028,ao(\"fail\"),ao(\"zfail\"),ao(\"zpass\")]});case\"polygonOffset.offset\":return Ln(function(Bt){ee.commandType(Bt,\"object\",sr,Vn.commandStr);var En=0|Bt.factor,_n=0|Bt.units;return ee.commandType(En,\"number\",sr+\".factor\",Vn.commandStr),ee.commandType(_n,\"number\",sr+\".units\",Vn.commandStr),[En,_n]},function(Bt,En,_n){return ee.optional(function(){Bt.assert(En,_n+\"&&typeof \"+_n+'===\"object\"',\"invalid \"+ur)}),[En.def(_n,\".factor|0\"),En.def(_n,\".units|0\")]});case\"cull.face\":return Ln(function(Bt){var En=0;return Bt===\"front\"?En=1028:Bt===\"back\"&&(En=1029),ee.command(!!En,sr,Vn.commandStr),En},function(Bt,En,_n){return ee.optional(function(){Bt.assert(En,_n+'===\"front\"||'+_n+'===\"back\"',\"invalid cull.face\")}),En.def(_n,'===\"front\"?',1028,\":\",1029)});case\"lineWidth\":return Ln(function(Bt){return ee.command(typeof Bt==\"number\"&&Bt>=rt.lineWidthDims[0]&&Bt<=rt.lineWidthDims[1],\"invalid line width, must be a positive number between \"+rt.lineWidthDims[0]+\" and \"+rt.lineWidthDims[1],Vn.commandStr),Bt},function(Bt,En,_n){return ee.optional(function(){Bt.assert(En,\"typeof \"+_n+'===\"number\"&&'+_n+\">=\"+rt.lineWidthDims[0]+\"&&\"+_n+\"<=\"+rt.lineWidthDims[1],\"invalid line width\")}),_n});case\"frontFace\":return Ln(function(Bt){return ee.commandParameter(Bt,Mo,sr,Vn.commandStr),Mo[Bt]},function(Bt,En,_n){return ee.optional(function(){Bt.assert(En,_n+'===\"cw\"||'+_n+'===\"ccw\"',\"invalid frontFace, must be one of cw,ccw\")}),En.def(_n+'===\"cw\"?2304:2305')});case\"colorMask\":return Ln(function(Bt){return ee.command(hn(Bt)&&Bt.length===4,\"color.mask must be length 4 array\",Vn.commandStr),Bt.map(function(En){return!!En})},function(Bt,En,_n){return ee.optional(function(){Bt.assert(En,Bt.shared.isArrayLike+\"(\"+_n+\")&&\"+_n+\".length===4\",\"invalid color.mask\")}),ie(4,function(cr){return\"!!\"+_n+\"[\"+cr+\"]\"})});case\"sample.coverage\":return Ln(function(Bt){ee.command(w(Bt)===\"object\"&&Bt,sr,Vn.commandStr);var En=\"value\"in Bt?Bt.value:1,_n=!!Bt.invert;return ee.command(typeof En==\"number\"&&En>=0&&En<=1,\"sample.coverage.value must be a number between 0 and 1\",Vn.commandStr),[En,_n]},function(Bt,En,_n){return ee.optional(function(){Bt.assert(En,_n+\"&&typeof \"+_n+'===\"object\"',\"invalid sample.coverage\")}),[En.def('\"value\" in ',_n,\"?+\",_n,\".value:1\"),En.def(\"!!\",_n,\".invert\")]})}}),nr}(jn,z),Je=function(vn,Vn,zt){var ir=vn.static,nr=vn.dynamic;function ur(_n){if(_n in ir){var cr=je.id(ir[_n]);ee.optional(function(){Mt.shader(Co[_n],cr,ee.guessCommand())});var ao=si(function(){return cr});return ao.id=cr,ao}if(_n in nr){var kr=nr[_n];return Oi(kr,function(jo,ui){var Vr=jo.invoke(ui,kr),ho=ui.def(jo.shared.strings,\".id(\",Vr,\")\");return ee.optional(function(){ui(jo.shared.shader,\".shader(\",Co[_n],\",\",ho,\",\",jo.command,\");\")}),ho})}return null}var sr,Ln=ur(eo),Bt=ur(yo),En=null;return ni(Ln)&&ni(Bt)?(En=Mt.program(Bt.id,Ln.id,null,zt),sr=si(function(_n,cr){return _n.link(En)})):sr=new pi(Ln&&Ln.thisDep||Bt&&Bt.thisDep,Ln&&Ln.contextDep||Bt&&Bt.contextDep,Ln&&Ln.propDep||Bt&&Bt.propDep,function(_n,cr){var ao,kr=_n.shared.shader;ao=Ln?Ln.append(_n,cr):cr.def(kr,\".\",eo);var jo=kr+\".program(\"+(Bt?Bt.append(_n,cr):cr.def(kr,\".\",yo))+\",\"+ao;return ee.optional(function(){jo+=\",\"+_n.command}),cr.def(jo+\")\")}),{frag:Ln,vert:Bt,progVar:sr,program:En}}(jn,0,V);function Ot(vn){var Vn=ge[vn];Vn&&(St[vn]=Vn)}Ot(\"viewport\"),Ot(ai(\"scissor.box\"));var It=Object.keys(St).length>0,jt={framebuffer:U,draw:ke,shader:Je,state:St,dirty:It,scopeVAO:null,drawVAO:null,useVAO:!1,attributes:{}};if(jt.profile=function(vn){var Vn,zt=vn.static,ir=vn.dynamic;if(xr in zt){var nr=!!zt[xr];(Vn=si(function(sr,Ln){return nr})).enable=nr}else if(xr in ir){var ur=ir[xr];Vn=Oi(ur,function(sr,Ln){return sr.invoke(Ln,ur)})}return Vn}(jn),jt.uniforms=function(vn,Vn){var zt=vn.static,ir=vn.dynamic,nr={};return Object.keys(zt).forEach(function(ur){var sr,Ln=zt[ur];if(typeof Ln==\"number\"||typeof Ln==\"boolean\")sr=si(function(){return Ln});else if(typeof Ln==\"function\"){var Bt=Ln._reglType;Bt===\"texture2d\"||Bt===\"textureCube\"?sr=si(function(En){return En.link(Ln)}):Bt===\"framebuffer\"||Bt===\"framebufferCube\"?(ee.command(Ln.color.length>0,'missing color attachment for framebuffer sent to uniform \"'+ur+'\"',Vn.commandStr),sr=si(function(En){return En.link(Ln.color[0])})):ee.commandRaise('invalid data for uniform \"'+ur+'\"',Vn.commandStr)}else hn(Ln)?sr=si(function(En){return En.global.def(\"[\",ie(Ln.length,function(_n){return ee.command(typeof Ln[_n]==\"number\"||typeof Ln[_n]==\"boolean\",\"invalid uniform \"+ur,En.commandStr),Ln[_n]}),\"]\")}):ee.commandRaise('invalid or missing data for uniform \"'+ur+'\"',Vn.commandStr);sr.value=Ln,nr[ur]=sr}),Object.keys(ir).forEach(function(ur){var sr=ir[ur];nr[ur]=Oi(sr,function(Ln,Bt){return Ln.invoke(Bt,sr)})}),nr}(P,z),jt.drawVAO=jt.scopeVAO=function(vn,Vn){var zt=vn.static,ir=vn.dynamic;if(aa in zt){var nr=zt[aa];return nr!==null&&Ke.getVAO(nr)===null&&(nr=Ke.createVAO(nr)),si(function(sr){return sr.link(Ke.getVAO(nr))})}if(aa in ir){var ur=ir[aa];return Oi(ur,function(sr,Ln){var Bt=sr.invoke(Ln,ur);return Ln.def(sr.shared.vao+\".getVAO(\"+Bt+\")\")})}return null}(jn),!jt.drawVAO&&Je.program&&!V&&nt.angle_instanced_arrays){var Vt=!0,Pn=Je.program.attributes.map(function(vn){var Vn=W.static[vn];return Vt=Vt&&!!Vn,Vn});if(Vt&&Pn.length>0){var Jn=Ke.getVAO(Ke.createVAO(Pn));jt.drawVAO=new pi(null,null,null,function(vn,Vn){return vn.link(Jn)}),jt.useVAO=!0}}return V?jt.useVAO=!0:jt.attributes=function(vn,Vn){var zt=vn.static,ir=vn.dynamic,nr={};return Object.keys(zt).forEach(function(ur){var sr=zt[ur],Ln=je.id(ur),Bt=new wr;if(qo(sr))Bt.state=1,Bt.buffer=Xt.getBuffer(Xt.create(sr,34962,!1,!0)),Bt.type=0;else{var En=Xt.getBuffer(sr);if(En)Bt.state=1,Bt.buffer=En,Bt.type=0;else if(ee.command(w(sr)===\"object\"&&sr,\"invalid data for attribute \"+ur,Vn.commandStr),\"constant\"in sr){var _n=sr.constant;Bt.buffer=\"null\",Bt.state=2,typeof _n==\"number\"?Bt.x=_n:(ee.command(hn(_n)&&_n.length>0&&_n.length<=4,\"invalid constant for attribute \"+ur,Vn.commandStr),Mr.forEach(function(ho,vo){vo<_n.length&&(Bt[ho]=_n[vo])}))}else{En=qo(sr.buffer)?Xt.getBuffer(Xt.create(sr.buffer,34962,!1,!0)):Xt.getBuffer(sr.buffer),ee.command(!!En,'missing buffer for attribute \"'+ur+'\"',Vn.commandStr);var cr=0|sr.offset;ee.command(cr>=0,'invalid offset for attribute \"'+ur+'\"',Vn.commandStr);var ao=0|sr.stride;ee.command(ao>=0&&ao<256,'invalid stride for attribute \"'+ur+'\", must be integer betweeen [0, 255]',Vn.commandStr);var kr=0|sr.size;ee.command(!(\"size\"in sr)||kr>0&&kr<=4,'invalid size for attribute \"'+ur+'\", must be 1,2,3,4',Vn.commandStr);var jo=!!sr.normalized,ui=0;\"type\"in sr&&(ee.commandParameter(sr.type,we,\"invalid type for attribute \"+ur,Vn.commandStr),ui=we[sr.type]);var Vr=0|sr.divisor;\"divisor\"in sr&&(ee.command(Vr===0||go,'cannot specify divisor for attribute \"'+ur+'\", instancing not supported',Vn.commandStr),ee.command(Vr>=0,'invalid divisor for attribute \"'+ur+'\"',Vn.commandStr)),ee.optional(function(){var ho=Vn.commandStr,vo=[\"buffer\",\"offset\",\"divisor\",\"normalized\",\"type\",\"size\",\"stride\"];Object.keys(sr).forEach(function(uo){ee.command(vo.indexOf(uo)>=0,'unknown parameter \"'+uo+'\" for attribute pointer \"'+ur+'\" (valid parameters are '+vo+\")\",ho)})}),Bt.buffer=En,Bt.state=1,Bt.size=kr,Bt.normalized=jo,Bt.type=ui||En.dtype,Bt.offset=cr,Bt.stride=ao,Bt.divisor=Vr}}nr[ur]=si(function(ho,vo){var uo=ho.attribCache;if(Ln in uo)return uo[Ln];var Go={isStream:!1};return Object.keys(Bt).forEach(function(Pi){Go[Pi]=Bt[Pi]}),Bt.buffer&&(Go.buffer=ho.link(Bt.buffer),Go.type=Go.type||Go.buffer+\".dtype\"),uo[Ln]=Go,Go})}),Object.keys(ir).forEach(function(ur){var sr=ir[ur];nr[ur]=Oi(sr,function(Ln,Bt){var En=Ln.invoke(Bt,sr),_n=Ln.shared,cr=Ln.constants,ao=_n.isBufferArgs,kr=_n.buffer;ee.optional(function(){Ln.assert(Bt,En+\"&&(typeof \"+En+'===\"object\"||typeof '+En+'===\"function\")&&('+ao+\"(\"+En+\")||\"+kr+\".getBuffer(\"+En+\")||\"+kr+\".getBuffer(\"+En+\".buffer)||\"+ao+\"(\"+En+'.buffer)||(\"constant\" in '+En+\"&&(typeof \"+En+'.constant===\"number\"||'+_n.isArrayLike+\"(\"+En+\".constant))))\",'invalid dynamic attribute \"'+ur+'\"')});var jo={isStream:Bt.def(!1)},ui=new wr;ui.state=1,Object.keys(ui).forEach(function(uo){jo[uo]=Bt.def(\"\"+ui[uo])});var Vr=jo.buffer,ho=jo.type;function vo(uo){Bt(jo[uo],\"=\",En,\".\",uo,\"|0;\")}return Bt(\"if(\",ao,\"(\",En,\")){\",jo.isStream,\"=true;\",Vr,\"=\",kr,\".createStream(\",34962,\",\",En,\");\",ho,\"=\",Vr,\".dtype;\",\"}else{\",Vr,\"=\",kr,\".getBuffer(\",En,\");\",\"if(\",Vr,\"){\",ho,\"=\",Vr,\".dtype;\",'}else if(\"constant\" in ',En,\"){\",jo.state,\"=\",2,\";\",\"if(typeof \"+En+'.constant === \"number\"){',jo[Mr[0]],\"=\",En,\".constant;\",Mr.slice(1).map(function(uo){return jo[uo]}).join(\"=\"),\"=0;\",\"}else{\",Mr.map(function(uo,Go){return jo[uo]+\"=\"+En+\".constant.length>\"+Go+\"?\"+En+\".constant[\"+Go+\"]:0;\"}).join(\"\"),\"}}else{\",\"if(\",ao,\"(\",En,\".buffer)){\",Vr,\"=\",kr,\".createStream(\",34962,\",\",En,\".buffer);\",\"}else{\",Vr,\"=\",kr,\".getBuffer(\",En,\".buffer);\",\"}\",ho,'=\"type\" in ',En,\"?\",cr.glTypes,\"[\",En,\".type]:\",Vr,\".dtype;\",jo.normalized,\"=!!\",En,\".normalized;\"),vo(\"size\"),vo(\"offset\"),vo(\"stride\"),vo(\"divisor\"),Bt(\"}}\"),Bt.exit(\"if(\",jo.isStream,\"){\",kr,\".destroyStream(\",Vr,\");\",\"}\"),jo})}),nr}(W,z),jt.context=function(vn){var Vn=vn.static,zt=vn.dynamic,ir={};return Object.keys(Vn).forEach(function(nr){var ur=Vn[nr];ir[nr]=si(function(sr,Ln){return typeof ur==\"number\"||typeof ur==\"boolean\"?\"\"+ur:sr.link(ur)})}),Object.keys(zt).forEach(function(nr){var ur=zt[nr];ir[nr]=Oi(ur,function(sr,Ln){return sr.invoke(Ln,ur)})}),ir}(k),jt}function tn(jn,W,P){var k=jn.shared.context,z=jn.scope();Object.keys(P).forEach(function(Q){W.save(k,\".\"+Q);var F=P[Q].append(jn,W);Array.isArray(F)?z(k,\".\",Q,\"=[\",F.join(),\"];\"):z(k,\".\",Q,\"=\",F,\";\")}),W(z)}function An(jn,W,P,k){var z,Q=jn.shared,F=Q.gl,V=Q.framebuffer;Ir&&(z=W.def(Q.extensions,\".webgl_draw_buffers\"));var U,ge=jn.constants,ke=ge.drawBuffer,St=ge.backBuffer;U=P?P.append(jn,W):W.def(V,\".next\"),k||W(\"if(\",U,\"!==\",V,\".cur){\"),W(\"if(\",U,\"){\",F,\".bindFramebuffer(\",36160,\",\",U,\".framebuffer);\"),Ir&&W(z,\".drawBuffersWEBGL(\",ke,\"[\",U,\".colorAttachments.length]);\"),W(\"}else{\",F,\".bindFramebuffer(\",36160,\",null);\"),Ir&&W(z,\".drawBuffersWEBGL(\",St,\");\"),W(\"}\",V,\".cur=\",U,\";\"),k||W(\"}\")}function Rt(jn,W,P){var k=jn.shared,z=k.gl,Q=jn.current,F=jn.next,V=k.current,U=k.next,ge=jn.cond(V,\".dirty\");No.forEach(function(ke){var St,Je,Ot=ai(ke);if(!(Ot in P.state))if(Ot in F){St=F[Ot],Je=Q[Ot];var It=ie(Jr[Ot].length,function(Vt){return ge.def(St,\"[\",Vt,\"]\")});ge(jn.cond(It.map(function(Vt,Pn){return Vt+\"!==\"+Je+\"[\"+Pn+\"]\"}).join(\"||\")).then(z,\".\",Lo[Ot],\"(\",It,\");\",It.map(function(Vt,Pn){return Je+\"[\"+Pn+\"]=\"+Vt}).join(\";\"),\";\"))}else{St=ge.def(U,\".\",Ot);var jt=jn.cond(St,\"!==\",V,\".\",Ot);ge(jt),Ot in ii?jt(jn.cond(St).then(z,\".enable(\",ii[Ot],\");\").else(z,\".disable(\",ii[Ot],\");\"),V,\".\",Ot,\"=\",St,\";\"):jt(z,\".\",Lo[Ot],\"(\",St,\");\",V,\".\",Ot,\"=\",St,\";\")}}),Object.keys(P.state).length===0&&ge(V,\".dirty=false;\"),W(ge)}function un(jn,W,P,k){var z=jn.shared,Q=jn.current,F=z.current,V=z.gl;ti(Object.keys(P)).forEach(function(U){var ge=P[U];if(!k||k(ge)){var ke=ge.append(jn,W);if(ii[U]){var St=ii[U];ni(ge)?W(V,ke?\".enable(\":\".disable(\",St,\");\"):W(jn.cond(ke).then(V,\".enable(\",St,\");\").else(V,\".disable(\",St,\");\")),W(F,\".\",U,\"=\",ke,\";\")}else if(hn(ke)){var Je=Q[U];W(V,\".\",Lo[U],\"(\",ke,\");\",ke.map(function(Ot,It){return Je+\"[\"+It+\"]=\"+Ot}).join(\";\"),\";\")}else W(V,\".\",Lo[U],\"(\",ke,\");\",F,\".\",U,\"=\",ke,\";\")}})}function Dn(jn,W){go&&(jn.instancing=W.def(jn.shared.extensions,\".angle_instanced_arrays\"))}function dr(jn,W,P,k,z){var Q,F,V,U=jn.shared,ge=jn.stats,ke=U.current,St=U.timer,Je=P.profile;function Ot(){return typeof performance==\"undefined\"?\"Date.now()\":\"performance.now()\"}function It(vn){vn(Q=W.def(),\"=\",Ot(),\";\"),typeof z==\"string\"?vn(ge,\".count+=\",z,\";\"):vn(ge,\".count++;\"),Zn&&(k?vn(F=W.def(),\"=\",St,\".getNumPendingQueries();\"):vn(St,\".beginQuery(\",ge,\");\"))}function jt(vn){vn(ge,\".cpuTime+=\",Ot(),\"-\",Q,\";\"),Zn&&(k?vn(St,\".pushScopeStats(\",F,\",\",St,\".getNumPendingQueries(),\",ge,\");\"):vn(St,\".endQuery();\"))}function Vt(vn){var Vn=W.def(ke,\".profile\");W(ke,\".profile=\",vn,\";\"),W.exit(ke,\".profile=\",Vn,\";\")}if(Je){if(ni(Je))return void(Je.enable?(It(W),jt(W.exit),Vt(\"true\")):Vt(\"false\"));Vt(V=Je.append(jn,W))}else V=W.def(ke,\".profile\");var Pn=jn.block();It(Pn),W(\"if(\",V,\"){\",Pn,\"}\");var Jn=jn.block();jt(Jn),W.exit(\"if(\",V,\"){\",Jn,\"}\")}function Ar(jn,W,P,k,z){var Q=jn.shared;k.forEach(function(F){var V,U=F.name,ge=P.attributes[U];if(ge){if(!z(ge))return;V=ge.append(jn,W)}else{if(!z(Ki))return;var ke=jn.scopeAttrib(U);ee.optional(function(){jn.assert(W,ke+\".state\",\"missing attribute \"+U)}),V={},Object.keys(new wr).forEach(function(St){V[St]=W.def(ke,\".\",St)})}(function(St,Je,Ot){var It=Q.gl,jt=W.def(St,\".location\"),Vt=W.def(Q.attributes,\"[\",jt,\"]\"),Pn=Ot.state,Jn=Ot.buffer,vn=[Ot.x,Ot.y,Ot.z,Ot.w],Vn=[\"buffer\",\"normalized\",\"offset\",\"stride\"];function zt(){W(\"if(!\",Vt,\".buffer){\",It,\".enableVertexAttribArray(\",jt,\");}\");var nr,ur=Ot.type;if(nr=Ot.size?W.def(Ot.size,\"||\",Je):Je,W(\"if(\",Vt,\".type!==\",ur,\"||\",Vt,\".size!==\",nr,\"||\",Vn.map(function(Ln){return Vt+\".\"+Ln+\"!==\"+Ot[Ln]}).join(\"||\"),\"){\",It,\".bindBuffer(\",34962,\",\",Jn,\".buffer);\",It,\".vertexAttribPointer(\",[jt,nr,ur,Ot.normalized,Ot.stride,Ot.offset],\");\",Vt,\".type=\",ur,\";\",Vt,\".size=\",nr,\";\",Vn.map(function(Ln){return Vt+\".\"+Ln+\"=\"+Ot[Ln]+\";\"}).join(\"\"),\"}\"),go){var sr=Ot.divisor;W(\"if(\",Vt,\".divisor!==\",sr,\"){\",jn.instancing,\".vertexAttribDivisorANGLE(\",[jt,sr],\");\",Vt,\".divisor=\",sr,\";}\")}}function ir(){W(\"if(\",Vt,\".buffer){\",It,\".disableVertexAttribArray(\",jt,\");\",Vt,\".buffer=null;\",\"}if(\",Mr.map(function(nr,ur){return Vt+\".\"+nr+\"!==\"+vn[ur]}).join(\"||\"),\"){\",It,\".vertexAttrib4f(\",jt,\",\",vn,\");\",Mr.map(function(nr,ur){return Vt+\".\"+nr+\"=\"+vn[ur]+\";\"}).join(\"\"),\"}\")}Pn===1?zt():Pn===2?ir():(W(\"if(\",Pn,\"===\",1,\"){\"),zt(),W(\"}else{\"),ir(),W(\"}\"))})(jn.link(F),function(St){switch(St){case 35664:case 35667:case 35671:return 2;case 35665:case 35668:case 35672:return 3;case 35666:case 35669:case 35673:return 4;default:return 1}}(F.info.type),V)})}function Gr(jn,W,P,k,z){for(var Q,F=jn.shared,V=F.gl,U=0;U<k.length;++U){var ge,ke=k[U],St=ke.name,Je=ke.info.type,Ot=P.uniforms[St],It=jn.link(ke)+\".location\";if(Ot){if(!z(Ot))continue;if(ni(Ot)){var jt=Ot.value;if(ee.command(jt!=null,'missing uniform \"'+St+'\"',jn.commandStr),Je===35678||Je===35680){ee.command(typeof jt==\"function\"&&(Je===35678&&(jt._reglType===\"texture2d\"||jt._reglType===\"framebuffer\")||Je===35680&&(jt._reglType===\"textureCube\"||jt._reglType===\"framebufferCube\")),\"invalid texture for uniform \"+St,jn.commandStr);var Vt=jn.link(jt._texture||jt.color[0]._texture);W(V,\".uniform1i(\",It,\",\",Vt+\".bind());\"),W.exit(Vt,\".unbind();\")}else if(Je===35674||Je===35675||Je===35676){ee.optional(function(){ee.command(hn(jt),\"invalid matrix for uniform \"+St,jn.commandStr),ee.command(Je===35674&&jt.length===4||Je===35675&&jt.length===9||Je===35676&&jt.length===16,\"invalid length for matrix uniform \"+St,jn.commandStr)});var Pn=jn.global.def(\"new Float32Array([\"+Array.prototype.slice.call(jt)+\"])\"),Jn=2;Je===35675?Jn=3:Je===35676&&(Jn=4),W(V,\".uniformMatrix\",Jn,\"fv(\",It,\",false,\",Pn,\");\")}else{switch(Je){case 5126:ee.commandType(jt,\"number\",\"uniform \"+St,jn.commandStr),Q=\"1f\";break;case 35664:ee.command(hn(jt)&&jt.length===2,\"uniform \"+St,jn.commandStr),Q=\"2f\";break;case 35665:ee.command(hn(jt)&&jt.length===3,\"uniform \"+St,jn.commandStr),Q=\"3f\";break;case 35666:ee.command(hn(jt)&&jt.length===4,\"uniform \"+St,jn.commandStr),Q=\"4f\";break;case 35670:ee.commandType(jt,\"boolean\",\"uniform \"+St,jn.commandStr),Q=\"1i\";break;case 5124:ee.commandType(jt,\"number\",\"uniform \"+St,jn.commandStr),Q=\"1i\";break;case 35671:case 35667:ee.command(hn(jt)&&jt.length===2,\"uniform \"+St,jn.commandStr),Q=\"2i\";break;case 35672:case 35668:ee.command(hn(jt)&&jt.length===3,\"uniform \"+St,jn.commandStr),Q=\"3i\";break;case 35673:case 35669:ee.command(hn(jt)&&jt.length===4,\"uniform \"+St,jn.commandStr),Q=\"4i\"}W(V,\".uniform\",Q,\"(\",It,\",\",hn(jt)?Array.prototype.slice.call(jt):jt,\");\")}continue}ge=Ot.append(jn,W)}else{if(!z(Ki))continue;ge=W.def(F.uniforms,\"[\",je.id(St),\"]\")}Je===35678?(ee(!Array.isArray(ge),\"must specify a scalar prop for textures\"),W(\"if(\",ge,\"&&\",ge,'._reglType===\"framebuffer\"){',ge,\"=\",ge,\".color[0];\",\"}\")):Je===35680&&(ee(!Array.isArray(ge),\"must specify a scalar prop for cube maps\"),W(\"if(\",ge,\"&&\",ge,'._reglType===\"framebufferCube\"){',ge,\"=\",ge,\".color[0];\",\"}\")),ee.optional(function(){function nr(Bt,En){jn.assert(W,Bt,'bad data or missing for uniform \"'+St+'\".  '+En)}function ur(Bt){ee(!Array.isArray(ge),\"must not specify an array type for uniform\"),nr(\"typeof \"+ge+'===\"'+Bt+'\"',\"invalid type, expected \"+Bt)}function sr(Bt,En){Array.isArray(ge)?ee(ge.length===Bt,\"must have length \"+Bt):nr(F.isArrayLike+\"(\"+ge+\")&&\"+ge+\".length===\"+Bt,\"invalid vector, should have length \"+Bt,jn.commandStr)}function Ln(Bt){ee(!Array.isArray(ge),\"must not specify a value type\"),nr(\"typeof \"+ge+'===\"function\"&&'+ge+'._reglType===\"texture'+(Bt===3553?\"2d\":\"Cube\")+'\"',\"invalid texture type\",jn.commandStr)}switch(Je){case 5124:ur(\"number\");break;case 35667:sr(2);break;case 35668:sr(3);break;case 35669:sr(4);break;case 5126:ur(\"number\");break;case 35664:sr(2);break;case 35665:sr(3);break;case 35666:sr(4);break;case 35670:ur(\"boolean\");break;case 35671:sr(2);break;case 35672:sr(3);break;case 35673:case 35674:sr(4);break;case 35675:sr(9);break;case 35676:sr(16);break;case 35678:Ln(3553);break;case 35680:Ln(34067)}});var vn=1;switch(Je){case 35678:case 35680:var Vn=W.def(ge,\"._texture\");W(V,\".uniform1i(\",It,\",\",Vn,\".bind());\"),W.exit(Vn,\".unbind();\");continue;case 5124:case 35670:Q=\"1i\";break;case 35667:case 35671:Q=\"2i\",vn=2;break;case 35668:case 35672:Q=\"3i\",vn=3;break;case 35669:case 35673:Q=\"4i\",vn=4;break;case 5126:Q=\"1f\";break;case 35664:Q=\"2f\",vn=2;break;case 35665:Q=\"3f\",vn=3;break;case 35666:Q=\"4f\",vn=4;break;case 35674:Q=\"Matrix2fv\";break;case 35675:Q=\"Matrix3fv\";break;case 35676:Q=\"Matrix4fv\"}if(W(V,\".uniform\",Q,\"(\",It,\",\"),Q.charAt(0)===\"M\"){var zt=Math.pow(Je-35674+2,2),ir=jn.global.def(\"new Float32Array(\",zt,\")\");Array.isArray(ge)?W(\"false,(\",ie(zt,function(nr){return ir+\"[\"+nr+\"]=\"+ge[nr]}),\",\",ir,\")\"):W(\"false,(Array.isArray(\",ge,\")||\",ge,\" instanceof Float32Array)?\",ge,\":(\",ie(zt,function(nr){return ir+\"[\"+nr+\"]=\"+ge+\"[\"+nr+\"]\"}),\",\",ir,\")\")}else vn>1?W(ie(vn,function(nr){return Array.isArray(ge)?ge[nr]:ge+\"[\"+nr+\"]\"})):(ee(!Array.isArray(ge),\"uniform value must not be an array\"),W(ge));W(\");\")}}function Pr(jn,W,P,k){var z=jn.shared,Q=z.gl,F=z.draw,V=k.draw,U=function(){var vn,Vn=V.elements,zt=W;return Vn?((Vn.contextDep&&k.contextDynamic||Vn.propDep)&&(zt=P),vn=Vn.append(jn,zt)):vn=zt.def(F,\".\",vi),vn&&zt(\"if(\"+vn+\")\"+Q+\".bindBuffer(34963,\"+vn+\".buffer.buffer);\"),vn}();function ge(vn){var Vn=V[vn];return Vn?Vn.contextDep&&k.contextDynamic||Vn.propDep?Vn.append(jn,P):Vn.append(jn,W):W.def(F,\".\",vn)}var ke,St,Je=ge(Ti),Ot=ge(mi),It=function(){var vn,Vn=V.count,zt=W;return Vn?((Vn.contextDep&&k.contextDynamic||Vn.propDep)&&(zt=P),vn=Vn.append(jn,zt),ee.optional(function(){Vn.MISSING&&jn.assert(W,\"false\",\"missing vertex count\"),Vn.DYNAMIC&&jn.assert(zt,vn+\">=0\",\"missing vertex count\")})):(vn=zt.def(F,\".\",wi),ee.optional(function(){jn.assert(zt,vn+\">=0\",\"missing vertex count\")})),vn}();if(typeof It==\"number\"){if(It===0)return}else P(\"if(\",It,\"){\"),P.exit(\"}\");go&&(ke=ge(Zi),St=jn.instancing);var jt=U+\".type\",Vt=V.elements&&ni(V.elements);function Pn(){function vn(){P(St,\".drawElementsInstancedANGLE(\",[Je,It,jt,Ot+\"<<((\"+jt+\"-5121)>>1)\",ke],\");\")}function Vn(){P(St,\".drawArraysInstancedANGLE(\",[Je,Ot,It,ke],\");\")}U?Vt?vn():(P(\"if(\",U,\"){\"),vn(),P(\"}else{\"),Vn(),P(\"}\")):Vn()}function Jn(){function vn(){P(Q+\".drawElements(\"+[Je,It,jt,Ot+\"<<((\"+jt+\"-5121)>>1)\"]+\");\")}function Vn(){P(Q+\".drawArrays(\"+[Je,Ot,It]+\");\")}U?Vt?vn():(P(\"if(\",U,\"){\"),vn(),P(\"}else{\"),Vn(),P(\"}\")):Vn()}go&&(typeof ke!=\"number\"||ke>=0)?typeof ke==\"string\"?(P(\"if(\",ke,\">0){\"),Pn(),P(\"}else if(\",ke,\"<0){\"),Jn(),P(\"}\")):Pn():Jn()}function Xr(jn,W,P,k,z){var Q=ft(),F=Q.proc(\"body\",z);return ee.optional(function(){Q.commandStr=W.commandStr,Q.command=Q.link(W.commandStr)}),go&&(Q.instancing=F.def(Q.shared.extensions,\".angle_instanced_arrays\")),jn(Q,F,P,k),Q.compile().body}function oo(jn,W,P,k){Dn(jn,W),P.useVAO?P.drawVAO?W(jn.shared.vao,\".setVAO(\",P.drawVAO.append(jn,W),\");\"):W(jn.shared.vao,\".setVAO(\",jn.shared.vao,\".targetVAO);\"):(W(jn.shared.vao,\".setVAO(null);\"),Ar(jn,W,P,k.attributes,function(){return!0})),Gr(jn,W,P,k.uniforms,function(){return!0}),Pr(jn,W,W,P)}function io(jn,W,P,k){function z(){return!0}jn.batchId=\"a1\",Dn(jn,W),Ar(jn,W,P,k.attributes,z),Gr(jn,W,P,k.uniforms,z),Pr(jn,W,W,P)}function to(jn,W,P,k){Dn(jn,W);var z=P.contextDep,Q=W.def(),F=W.def();jn.shared.props=F,jn.batchId=Q;var V=jn.scope(),U=jn.scope();function ge(jt){return jt.contextDep&&z||jt.propDep}function ke(jt){return!ge(jt)}if(W(V.entry,\"for(\",Q,\"=0;\",Q,\"<\",\"a1\",\";++\",Q,\"){\",F,\"=\",\"a0\",\"[\",Q,\"];\",U,\"}\",V.exit),P.needsContext&&tn(jn,U,P.context),P.needsFramebuffer&&An(jn,U,P.framebuffer),un(jn,U,P.state,ge),P.profile&&ge(P.profile)&&dr(jn,U,P,!1,!0),k)P.useVAO?P.drawVAO?ge(P.drawVAO)?U(jn.shared.vao,\".setVAO(\",P.drawVAO.append(jn,U),\");\"):V(jn.shared.vao,\".setVAO(\",P.drawVAO.append(jn,V),\");\"):V(jn.shared.vao,\".setVAO(\",jn.shared.vao,\".targetVAO);\"):(V(jn.shared.vao,\".setVAO(null);\"),Ar(jn,V,P,k.attributes,ke),Ar(jn,U,P,k.attributes,ge)),Gr(jn,V,P,k.uniforms,ke),Gr(jn,U,P,k.uniforms,ge),Pr(jn,V,U,P);else{var St=jn.global.def(\"{}\"),Je=P.shader.progVar.append(jn,U),Ot=U.def(Je,\".id\"),It=U.def(St,\"[\",Ot,\"]\");U(jn.shared.gl,\".useProgram(\",Je,\".program);\",\"if(!\",It,\"){\",It,\"=\",St,\"[\",Ot,\"]=\",jn.link(function(jt){return Xr(io,jn,P,jt,2)}),\"(\",Je,\");}\",It,\".call(this,a0[\",Q,\"],\",Q,\");\")}}function To(jn,W,P){var k=W.static[P];if(k&&function(ke){if(w(ke)===\"object\"&&!hn(ke)){for(var St=Object.keys(ke),Je=0;Je<St.length;++Je)if(ce.isDynamic(ke[St[Je]]))return!0;return!1}}(k)){var z=jn.global,Q=Object.keys(k),F=!1,V=!1,U=!1,ge=jn.global.def(\"{}\");Q.forEach(function(ke){var St=k[ke];if(ce.isDynamic(St)){typeof St==\"function\"&&(St=k[ke]=ce.unbox(St));var Je=Oi(St,null);F=F||Je.thisDep,U=U||Je.propDep,V=V||Je.contextDep}else{switch(z(ge,\".\",ke,\"=\"),w(St)){case\"number\":z(St);break;case\"string\":z('\"',St,'\"');break;case\"object\":Array.isArray(St)&&z(\"[\",St.join(),\"]\");break;default:z(jn.link(St))}z(\";\")}}),W.dynamic[P]=new ce.DynamicVariable(4,{thisDep:F,contextDep:V,propDep:U,ref:ge,append:function(ke,St){Q.forEach(function(Je){var Ot=k[Je];if(ce.isDynamic(Ot)){var It=ke.invoke(St,Ot);St(ge,\".\",Je,\"=\",It,\";\")}})}}),delete W.static[P]}}return{next:_o,current:Jr,procs:function(){var jn=ft(),W=jn.proc(\"poll\"),P=jn.proc(\"refresh\"),k=jn.block();W(k),P(k);var z,Q=jn.shared,F=Q.gl,V=Q.next,U=Q.current;k(U,\".dirty=false;\"),An(jn,W),An(jn,P,null,!0),go&&(z=jn.link(go)),nt.oes_vertex_array_object&&P(jn.link(nt.oes_vertex_array_object),\".bindVertexArrayOES(null);\");for(var ge=0;ge<rt.maxAttributes;++ge){var ke=P.def(Q.attributes,\"[\",ge,\"]\"),St=jn.cond(ke,\".buffer\");St.then(F,\".enableVertexAttribArray(\",ge,\");\",F,\".bindBuffer(\",34962,\",\",ke,\".buffer.buffer);\",F,\".vertexAttribPointer(\",ge,\",\",ke,\".size,\",ke,\".type,\",ke,\".normalized,\",ke,\".stride,\",ke,\".offset);\").else(F,\".disableVertexAttribArray(\",ge,\");\",F,\".vertexAttrib4f(\",ge,\",\",ke,\".x,\",ke,\".y,\",ke,\".z,\",ke,\".w);\",ke,\".buffer=null;\"),P(St),go&&P(z,\".vertexAttribDivisorANGLE(\",ge,\",\",ke,\".divisor);\")}return P(jn.shared.vao,\".currentVAO=null;\",jn.shared.vao,\".setVAO(\",jn.shared.vao,\".targetVAO);\"),Object.keys(ii).forEach(function(Je){var Ot=ii[Je],It=k.def(V,\".\",Je),jt=jn.block();jt(\"if(\",It,\"){\",F,\".enable(\",Ot,\")}else{\",F,\".disable(\",Ot,\")}\",U,\".\",Je,\"=\",It,\";\"),P(jt),W(\"if(\",It,\"!==\",U,\".\",Je,\"){\",jt,\"}\")}),Object.keys(Lo).forEach(function(Je){var Ot,It,jt=Lo[Je],Vt=Jr[Je],Pn=jn.block();if(Pn(F,\".\",jt,\"(\"),hn(Vt)){var Jn=Vt.length;Ot=jn.global.def(V,\".\",Je),It=jn.global.def(U,\".\",Je),Pn(ie(Jn,function(vn){return Ot+\"[\"+vn+\"]\"}),\");\",ie(Jn,function(vn){return It+\"[\"+vn+\"]=\"+Ot+\"[\"+vn+\"];\"}).join(\"\")),W(\"if(\",ie(Jn,function(vn){return Ot+\"[\"+vn+\"]!==\"+It+\"[\"+vn+\"]\"}).join(\"||\"),\"){\",Pn,\"}\")}else Ot=k.def(V,\".\",Je),It=k.def(U,\".\",Je),Pn(Ot,\");\",U,\".\",Je,\"=\",Ot,\";\"),W(\"if(\",Ot,\"!==\",It,\"){\",Pn,\"}\");P(Pn)}),jn.compile()}(),compile:function(jn,W,P,k,z){var Q=ft();Q.stats=Q.link(z),Object.keys(W.static).forEach(function(V){To(Q,W,V)}),Un.forEach(function(V){To(Q,jn,V)});var F=ct(jn,W,P,k,Q);return function(V,U){var ge=V.proc(\"draw\",1);Dn(V,ge),tn(V,ge,U.context),An(V,ge,U.framebuffer),Rt(V,ge,U),un(V,ge,U.state),dr(V,ge,U,!1,!0);var ke=U.shader.progVar.append(V,ge);if(ge(V.shared.gl,\".useProgram(\",ke,\".program);\"),U.shader.program)oo(V,ge,U,U.shader.program);else{ge(V.shared.vao,\".setVAO(null);\");var St=V.global.def(\"{}\"),Je=ge.def(ke,\".id\"),Ot=ge.def(St,\"[\",Je,\"]\");ge(V.cond(Ot).then(Ot,\".call(this,a0);\").else(Ot,\"=\",St,\"[\",Je,\"]=\",V.link(function(It){return Xr(oo,V,U,It,1)}),\"(\",ke,\");\",Ot,\".call(this,a0);\"))}Object.keys(U.state).length>0&&ge(V.shared.current,\".dirty=true;\")}(Q,F),function(V,U){var ge=V.proc(\"scope\",3);V.batchId=\"a2\";var ke=V.shared,St=ke.current;function Je(Ot){var It=U.shader[Ot];It&&ge.set(ke.shader,\".\"+Ot,It.append(V,ge))}tn(V,ge,U.context),U.framebuffer&&U.framebuffer.append(V,ge),ti(Object.keys(U.state)).forEach(function(Ot){var It=U.state[Ot].append(V,ge);hn(It)?It.forEach(function(jt,Vt){ge.set(V.next[Ot],\"[\"+Vt+\"]\",jt)}):ge.set(ke.next,\".\"+Ot,It)}),dr(V,ge,U,!0,!0),[vi,mi,wi,Zi,Ti].forEach(function(Ot){var It=U.draw[Ot];It&&ge.set(ke.draw,\".\"+Ot,\"\"+It.append(V,ge))}),Object.keys(U.uniforms).forEach(function(Ot){var It=U.uniforms[Ot].append(V,ge);Array.isArray(It)&&(It=\"[\"+It.join()+\"]\"),ge.set(ke.uniforms,\"[\"+je.id(Ot)+\"]\",It)}),Object.keys(U.attributes).forEach(function(Ot){var It=U.attributes[Ot].append(V,ge),jt=V.scopeAttrib(Ot);Object.keys(new wr).forEach(function(Vt){ge.set(jt,\".\"+Vt,It[Vt])})}),U.scopeVAO&&ge.set(ke.vao,\".targetVAO\",U.scopeVAO.append(V,ge)),Je(yo),Je(eo),Object.keys(U.state).length>0&&(ge(St,\".dirty=true;\"),ge.exit(St,\".dirty=true;\")),ge(\"a1(\",V.shared.context,\",a0,\",V.batchId,\");\")}(Q,F),function(V,U){var ge=V.proc(\"batch\",2);V.batchId=\"0\",Dn(V,ge);var ke=!1,St=!0;Object.keys(U.context).forEach(function(Vn){ke=ke||U.context[Vn].propDep}),ke||(tn(V,ge,U.context),St=!1);var Je=U.framebuffer,Ot=!1;function It(Vn){return Vn.contextDep&&ke||Vn.propDep}Je?(Je.propDep?ke=Ot=!0:Je.contextDep&&ke&&(Ot=!0),Ot||An(V,ge,Je)):An(V,ge,null),U.state.viewport&&U.state.viewport.propDep&&(ke=!0),Rt(V,ge,U),un(V,ge,U.state,function(Vn){return!It(Vn)}),U.profile&&It(U.profile)||dr(V,ge,U,!1,\"a1\"),U.contextDep=ke,U.needsContext=St,U.needsFramebuffer=Ot;var jt=U.shader.progVar;if(jt.contextDep&&ke||jt.propDep)to(V,ge,U,null);else{var Vt=jt.append(V,ge);if(ge(V.shared.gl,\".useProgram(\",Vt,\".program);\"),U.shader.program)to(V,ge,U,U.shader.program);else{ge(V.shared.vao,\".setVAO(null);\");var Pn=V.global.def(\"{}\"),Jn=ge.def(Vt,\".id\"),vn=ge.def(Pn,\"[\",Jn,\"]\");ge(V.cond(vn).then(vn,\".call(this,a0,a1);\").else(vn,\"=\",Pn,\"[\",Jn,\"]=\",V.link(function(Vn){return Xr(to,V,U,Vn,2)}),\"(\",Vt,\");\",vn,\".call(this,a0,a1);\"))}}Object.keys(U.state).length>0&&ge(V.shared.current,\".dirty=true;\")}(Q,F),b(Q.compile(),{destroy:function(){F.shader.program.destroy()}})}}}var zi=function(Re,je){if(!je.ext_disjoint_timer_query)return null;var nt=[];function rt(kn){nt.push(kn)}var Xt=[];function fn(){this.startQueryIndex=-1,this.endQueryIndex=-1,this.sum=0,this.stats=null}var Cn=[];function Yn(kn){Cn.push(kn)}var Ae=[];function Ke(kn,Zn,lr){var wr=Cn.pop()||new fn;wr.startQueryIndex=kn,wr.endQueryIndex=Zn,wr.sum=0,wr.stats=lr,Ae.push(wr)}var Mt=[],Ut=[];return{beginQuery:function(kn){var Zn=nt.pop()||je.ext_disjoint_timer_query.createQueryEXT();je.ext_disjoint_timer_query.beginQueryEXT(35007,Zn),Xt.push(Zn),Ke(Xt.length-1,Xt.length,kn)},endQuery:function(){je.ext_disjoint_timer_query.endQueryEXT(35007)},pushScopeStats:Ke,update:function(){var kn,Zn,lr=Xt.length;if(lr!==0){Ut.length=Math.max(Ut.length,lr+1),Mt.length=Math.max(Mt.length,lr+1),Mt[0]=0,Ut[0]=0;var wr=0;for(kn=0,Zn=0;Zn<Xt.length;++Zn){var Dr=Xt[Zn];je.ext_disjoint_timer_query.getQueryObjectEXT(Dr,34919)?(wr+=je.ext_disjoint_timer_query.getQueryObjectEXT(Dr,34918),rt(Dr)):Xt[kn++]=Dr,Mt[Zn+1]=wr,Ut[Zn+1]=kn}for(Xt.length=kn,kn=0,Zn=0;Zn<Ae.length;++Zn){var go=Ae[Zn],Ir=go.startQueryIndex,Jr=go.endQueryIndex;go.sum+=Mt[Jr]-Mt[Ir];var _o=Ut[Ir],No=Ut[Jr];No===_o?(go.stats.gpuTime+=go.sum/1e6,Yn(go)):(go.startQueryIndex=_o,go.endQueryIndex=No,Ae[kn++]=go)}Ae.length=kn}},getNumPendingQueries:function(){return Xt.length},clear:function(){nt.push.apply(nt,Xt);for(var kn=0;kn<nt.length;kn++)je.ext_disjoint_timer_query.deleteQueryEXT(nt[kn]);Xt.length=0,nt.length=0},restore:function(){Xt.length=0,nt.length=0}}};function br(Re,je){for(var nt=0;nt<Re.length;++nt)if(Re[nt]===je)return nt;return-1}return function(Re){var je=he(Re);if(!je)return null;var nt=je.gl,rt=nt.getContextAttributes(),Xt=nt.isContextLost(),fn=function(W,P){var k={};function z(V){ee.type(V,\"string\",\"extension name must be string\");var U,ge=V.toLowerCase();try{U=k[ge]=W.getExtension(ge)}catch(ke){}return!!U}for(var Q=0;Q<P.extensions.length;++Q){var F=P.extensions[Q];if(!z(F))return P.onDestroy(),P.onDone('\"'+F+'\" extension is not supported by the current WebGL context, try upgrading your system or a different browser'),null}return P.optionalExtensions.forEach(z),{extensions:k,restore:function(){Object.keys(k).forEach(function(V){if(k[V]&&!z(V))throw new Error(\"(regl): error restoring extension \"+V)})}}}(nt,je);if(!fn)return null;var Cn,Yn,Ae=(Cn={\"\":0},Yn=[\"\"],{id:function(W){var P=Cn[W];return P||(P=Cn[W]=Yn.length,Yn.push(W),P)},str:function(W){return Yn[W]}}),Ke={vaoCount:0,bufferCount:0,elementsCount:0,framebufferCount:0,shaderCount:0,textureCount:0,cubeCount:0,renderbufferCount:0,maxTextureUnits:0},Mt=fn.extensions,Ut=zi(0,Mt),kn=Oe(),Zn=nt.drawingBufferWidth,lr=nt.drawingBufferHeight,wr={tick:0,time:0,viewportWidth:Zn,viewportHeight:lr,framebufferWidth:Zn,framebufferHeight:lr,drawingBufferWidth:Zn,drawingBufferHeight:lr,pixelRatio:je.pixelRatio},Dr=function(W,P){var k=1;P.ext_texture_filter_anisotropic&&(k=W.getParameter(34047));var z=1,Q=1;P.webgl_draw_buffers&&(z=W.getParameter(34852),Q=W.getParameter(36063));var F=!!P.oes_texture_float;if(F){var V=W.createTexture();W.bindTexture(3553,V),W.texImage2D(3553,0,6408,1,1,0,6408,5126,null);var U=W.createFramebuffer();if(W.bindFramebuffer(36160,U),W.framebufferTexture2D(36160,36064,3553,V,0),W.bindTexture(3553,null),W.checkFramebufferStatus(36160)!==36053)F=!1;else{W.viewport(0,0,1,1),W.clearColor(1,0,0,1),W.clear(16384);var ge=X.allocType(5126,4);W.readPixels(0,0,1,1,6408,5126,ge),W.getError()?F=!1:(W.deleteFramebuffer(U),W.deleteTexture(V),F=ge[0]===1),X.freeType(ge)}}var ke=!0;if(typeof navigator==\"undefined\"||!(/MSIE/.test(navigator.userAgent)||/Trident\\//.test(navigator.appVersion)||/Edge/.test(navigator.userAgent))){var St=W.createTexture(),Je=X.allocType(5121,36);W.activeTexture(33984),W.bindTexture(34067,St),W.texImage2D(34069,0,6408,3,3,0,6408,5121,Je),X.freeType(Je),W.bindTexture(34067,null),W.deleteTexture(St),ke=!W.getError()}return{colorBits:[W.getParameter(3410),W.getParameter(3411),W.getParameter(3412),W.getParameter(3413)],depthBits:W.getParameter(3414),stencilBits:W.getParameter(3415),subpixelBits:W.getParameter(3408),extensions:Object.keys(P).filter(function(Ot){return!!P[Ot]}),maxAnisotropic:k,maxDrawbuffers:z,maxColorAttachments:Q,pointSizeDims:W.getParameter(33901),lineWidthDims:W.getParameter(33902),maxViewportDims:W.getParameter(3386),maxCombinedTextureUnits:W.getParameter(35661),maxCubeMapSize:W.getParameter(34076),maxRenderbufferSize:W.getParameter(34024),maxTextureUnits:W.getParameter(34930),maxTextureSize:W.getParameter(3379),maxAttributes:W.getParameter(34921),maxVertexUniforms:W.getParameter(36347),maxVertexTextureUnits:W.getParameter(35660),maxVaryingVectors:W.getParameter(36348),maxFragmentUniforms:W.getParameter(36349),glsl:W.getParameter(35724),renderer:W.getParameter(7937),vendor:W.getParameter(7936),version:W.getParameter(7938),readFloat:F,npotTextureCube:ke}}(nt,Mt),go=function(W,P,k,z){var Q=0,F={};function V(Je){this.id=Q++,this.buffer=W.createBuffer(),this.type=Je,this.usage=35044,this.byteLength=0,this.dimension=1,this.dtype=5121,this.persistentData=null,k.profile&&(this.stats={size:0})}V.prototype.bind=function(){W.bindBuffer(this.type,this.buffer)},V.prototype.destroy=function(){St(this)};var U=[];function ge(Je,Ot,It){Je.byteLength=Ot.byteLength,W.bufferData(Je.type,Ot,It)}function ke(Je,Ot,It,jt,Vt,Pn){var Jn,vn;if(Je.usage=It,Array.isArray(Ot)){if(Je.dtype=jt||5126,Ot.length>0)if(Array.isArray(Ot[0])){Jn=et(Ot);for(var Vn=1,zt=1;zt<Jn.length;++zt)Vn*=Jn[zt];Je.dimension=Vn,ge(Je,vn=Ve(Ot,Jn,Je.dtype),It),Pn?Je.persistentData=vn:X.freeType(vn)}else if(typeof Ot[0]==\"number\"){Je.dimension=Vt;var ir=X.allocType(Je.dtype,Ot.length);mt(ir,Ot),ge(Je,ir,It),Pn?Je.persistentData=ir:X.freeType(ir)}else O(Ot[0])?(Je.dimension=Ot[0].length,Je.dtype=jt||Fe(Ot[0])||5126,ge(Je,vn=Ve(Ot,[Ot.length,Ot[0].length],Je.dtype),It),Pn?Je.persistentData=vn:X.freeType(vn)):ee.raise(\"invalid buffer data\")}else if(O(Ot))Je.dtype=jt||Fe(Ot),Je.dimension=Vt,ge(Je,Ot,It),Pn&&(Je.persistentData=new Uint8Array(new Uint8Array(Ot.buffer)));else if(se(Ot)){Jn=Ot.shape;var nr=Ot.stride,ur=Ot.offset,sr=0,Ln=0,Bt=0,En=0;Jn.length===1?(sr=Jn[0],Ln=1,Bt=nr[0],En=0):Jn.length===2?(sr=Jn[0],Ln=Jn[1],Bt=nr[0],En=nr[1]):ee.raise(\"invalid shape\"),Je.dtype=jt||Fe(Ot.data)||5126,Je.dimension=Ln;var _n=X.allocType(Je.dtype,sr*Ln);dt(_n,Ot.data,sr,Ln,Bt,En,ur),ge(Je,_n,It),Pn?Je.persistentData=_n:X.freeType(_n)}else Ot instanceof ArrayBuffer?(Je.dtype=5121,Je.dimension=Vt,ge(Je,Ot,It),Pn&&(Je.persistentData=new Uint8Array(new Uint8Array(Ot)))):ee.raise(\"invalid buffer data\")}function St(Je){P.bufferCount--,z(Je);var Ot=Je.buffer;ee(Ot,\"buffer must not be deleted already\"),W.deleteBuffer(Ot),Je.buffer=null,delete F[Je.id]}return k.profile&&(P.getTotalBufferSize=function(){var Je=0;return Object.keys(F).forEach(function(Ot){Je+=F[Ot].stats.size}),Je}),{create:function(Je,Ot,It,jt){P.bufferCount++;var Vt=new V(Ot);function Pn(vn){var Vn=35044,zt=null,ir=0,nr=0,ur=1;return Array.isArray(vn)||O(vn)||se(vn)||vn instanceof ArrayBuffer?zt=vn:typeof vn==\"number\"?ir=0|vn:vn&&(ee.type(vn,\"object\",\"buffer arguments must be an object, a number or an array\"),\"data\"in vn&&(ee(zt===null||Array.isArray(zt)||O(zt)||se(zt),\"invalid data for buffer\"),zt=vn.data),\"usage\"in vn&&(ee.parameter(vn.usage,Ze,\"invalid buffer usage\"),Vn=Ze[vn.usage]),\"type\"in vn&&(ee.parameter(vn.type,we,\"invalid buffer type\"),nr=we[vn.type]),\"dimension\"in vn&&(ee.type(vn.dimension,\"number\",\"invalid dimension\"),ur=0|vn.dimension),\"length\"in vn&&(ee.nni(ir,\"buffer length must be a nonnegative integer\"),ir=0|vn.length)),Vt.bind(),zt?ke(Vt,zt,Vn,nr,ur,jt):(ir&&W.bufferData(Vt.type,ir,Vn),Vt.dtype=nr||5121,Vt.usage=Vn,Vt.dimension=ur,Vt.byteLength=ir),k.profile&&(Vt.stats.size=Vt.byteLength*ht[Vt.dtype]),Pn}function Jn(vn,Vn){ee(Vn+vn.byteLength<=Vt.byteLength,\"invalid buffer subdata call, buffer is too small.  Can't write data of size \"+vn.byteLength+\" starting from offset \"+Vn+\" to a buffer of size \"+Vt.byteLength),W.bufferSubData(Vt.type,Vn,vn)}return F[Vt.id]=Vt,It||Pn(Je),Pn._reglType=\"buffer\",Pn._buffer=Vt,Pn.subdata=function(vn,Vn){var zt,ir=0|(Vn||0);if(Vt.bind(),O(vn)||vn instanceof ArrayBuffer)Jn(vn,ir);else if(Array.isArray(vn)){if(vn.length>0)if(typeof vn[0]==\"number\"){var nr=X.allocType(Vt.dtype,vn.length);mt(nr,vn),Jn(nr,ir),X.freeType(nr)}else if(Array.isArray(vn[0])||O(vn[0])){zt=et(vn);var ur=Ve(vn,zt,Vt.dtype);Jn(ur,ir),X.freeType(ur)}else ee.raise(\"invalid buffer data\")}else if(se(vn)){zt=vn.shape;var sr=vn.stride,Ln=0,Bt=0,En=0,_n=0;zt.length===1?(Ln=zt[0],Bt=1,En=sr[0],_n=0):zt.length===2?(Ln=zt[0],Bt=zt[1],En=sr[0],_n=sr[1]):ee.raise(\"invalid shape\");var cr=Array.isArray(vn.data)?Vt.dtype:Fe(vn.data),ao=X.allocType(cr,Ln*Bt);dt(ao,vn.data,Ln,Bt,En,_n,vn.offset),Jn(ao,ir),X.freeType(ao)}else ee.raise(\"invalid data for buffer subdata\");return Pn},k.profile&&(Pn.stats=Vt.stats),Pn.destroy=function(){St(Vt)},Pn},createStream:function(Je,Ot){var It=U.pop();return It||(It=new V(Je)),It.bind(),ke(It,Ot,35040,0,1,!1),It},destroyStream:function(Je){U.push(Je)},clear:function(){fe(F).forEach(St),U.forEach(St)},getBuffer:function(Je){return Je&&Je._buffer instanceof V?Je._buffer:null},restore:function(){fe(F).forEach(function(Je){Je.buffer=W.createBuffer(),W.bindBuffer(Je.type,Je.buffer),W.bufferData(Je.type,Je.persistentData||Je.byteLength,Je.usage)})},_initBuffer:ke}}(nt,Ke,je,function(W){return Ir.destroyBuffer(W)}),Ir=function(W,P,k,z,Q){for(var F=k.maxAttributes,V=new Array(F),U=0;U<F;++U)V[U]=new Ue;var ge=0,ke={},St={Record:Ue,scope:{},state:V,currentVAO:null,targetVAO:null,restore:Je()?function(){Je()&&fe(ke).forEach(function(jt){jt.refresh()})}:function(){},createVAO:function(jt){var Vt=new It;function Pn(Jn){ee(Array.isArray(Jn),\"arguments to vertex array constructor must be an array\"),ee(Jn.length<F,\"too many attributes\"),ee(Jn.length>0,\"must specify at least one attribute\");var vn={},Vn=Vt.attributes;Vn.length=Jn.length;for(var zt=0;zt<Jn.length;++zt){var ir,nr=Jn[zt],ur=Vn[zt]=new Ue,sr=nr.data||nr;Array.isArray(sr)||O(sr)||se(sr)?(Vt.buffers[zt]&&(ir=Vt.buffers[zt],O(sr)&&ir._buffer.byteLength>=sr.byteLength?ir.subdata(sr):(ir.destroy(),Vt.buffers[zt]=null)),Vt.buffers[zt]||(ir=Vt.buffers[zt]=Q.create(nr,34962,!1,!0)),ur.buffer=Q.getBuffer(ir),ur.size=0|ur.buffer.dimension,ur.normalized=!1,ur.type=ur.buffer.dtype,ur.offset=0,ur.stride=0,ur.divisor=0,ur.state=1,vn[zt]=1):Q.getBuffer(nr)?(ur.buffer=Q.getBuffer(nr),ur.size=0|ur.buffer.dimension,ur.normalized=!1,ur.type=ur.buffer.dtype,ur.offset=0,ur.stride=0,ur.divisor=0,ur.state=1):Q.getBuffer(nr.buffer)?(ur.buffer=Q.getBuffer(nr.buffer),ur.size=0|(+nr.size||ur.buffer.dimension),ur.normalized=!!nr.normalized||!1,\"type\"in nr?(ee.parameter(nr.type,we,\"invalid buffer type\"),ur.type=we[nr.type]):ur.type=ur.buffer.dtype,ur.offset=0|(nr.offset||0),ur.stride=0|(nr.stride||0),ur.divisor=0|(nr.divisor||0),ur.state=1,ee(ur.size>=1&&ur.size<=4,\"size must be between 1 and 4\"),ee(ur.offset>=0,\"invalid offset\"),ee(ur.stride>=0&&ur.stride<=255,\"stride must be between 0 and 255\"),ee(ur.divisor>=0,\"divisor must be positive\"),ee(!ur.divisor||!!P.angle_instanced_arrays,\"ANGLE_instanced_arrays must be enabled to use divisor\")):\"x\"in nr?(ee(zt>0,\"first attribute must not be a constant\"),ur.x=+nr.x||0,ur.y=+nr.y||0,ur.z=+nr.z||0,ur.w=+nr.w||0,ur.state=2):ee(!1,\"invalid attribute spec for location \"+zt)}for(var Ln=0;Ln<Vt.buffers.length;++Ln)!vn[Ln]&&Vt.buffers[Ln]&&(Vt.buffers[Ln].destroy(),Vt.buffers[Ln]=null);return Vt.refresh(),Pn}return z.vaoCount+=1,Pn.destroy=function(){for(var Jn=0;Jn<Vt.buffers.length;++Jn)Vt.buffers[Jn]&&Vt.buffers[Jn].destroy();Vt.buffers.length=0,Vt.destroy()},Pn._vao=Vt,Pn._reglType=\"vao\",Pn(jt)},getVAO:function(jt){return typeof jt==\"function\"&&jt._vao?jt._vao:null},destroyBuffer:function(jt){for(var Vt=0;Vt<V.length;++Vt){var Pn=V[Vt];Pn.buffer===jt&&(W.disableVertexAttribArray(Vt),Pn.buffer=null)}},setVAO:Je()?function(jt){if(jt!==St.currentVAO){var Vt=Je();jt?Vt.bindVertexArrayOES(jt.vao):Vt.bindVertexArrayOES(null),St.currentVAO=jt}}:function(jt){if(jt!==St.currentVAO){if(jt)jt.bindAttrs();else for(var Vt=Ot(),Pn=0;Pn<V.length;++Pn){var Jn=V[Pn];Jn.buffer?(W.enableVertexAttribArray(Pn),W.vertexAttribPointer(Pn,Jn.size,Jn.type,Jn.normalized,Jn.stride,Jn.offfset),Vt&&Jn.divisor&&Vt.vertexAttribDivisorANGLE(Pn,Jn.divisor)):(W.disableVertexAttribArray(Pn),W.vertexAttrib4f(Pn,Jn.x,Jn.y,Jn.z,Jn.w))}St.currentVAO=jt}},clear:Je()?function(){fe(ke).forEach(function(jt){jt.destroy()})}:function(){}};function Je(){return P.oes_vertex_array_object}function Ot(){return P.angle_instanced_arrays}function It(){this.id=++ge,this.attributes=[];var jt=Je();this.vao=jt?jt.createVertexArrayOES():null,ke[this.id]=this,this.buffers=[]}return It.prototype.bindAttrs=function(){for(var jt=Ot(),Vt=this.attributes,Pn=0;Pn<Vt.length;++Pn){var Jn=Vt[Pn];Jn.buffer?(W.enableVertexAttribArray(Pn),W.bindBuffer(34962,Jn.buffer.buffer),W.vertexAttribPointer(Pn,Jn.size,Jn.type,Jn.normalized,Jn.stride,Jn.offset),jt&&Jn.divisor&&jt.vertexAttribDivisorANGLE(Pn,Jn.divisor)):(W.disableVertexAttribArray(Pn),W.vertexAttrib4f(Pn,Jn.x,Jn.y,Jn.z,Jn.w))}for(var vn=Vt.length;vn<F;++vn)W.disableVertexAttribArray(vn)},It.prototype.refresh=function(){var jt=Je();jt&&(jt.bindVertexArrayOES(this.vao),this.bindAttrs(),St.currentVAO=this)},It.prototype.destroy=function(){if(this.vao){var jt=Je();this===St.currentVAO&&(St.currentVAO=null,jt.bindVertexArrayOES(null)),jt.deleteVertexArrayOES(this.vao),this.vao=null}ke[this.id]&&(delete ke[this.id],z.vaoCount-=1)},St}(nt,Mt,Dr,Ke,go),Jr=function(W,P,k,z){var Q={},F=0,V={uint8:5121,uint16:5123};function U(Je){this.id=F++,Q[this.id]=this,this.buffer=Je,this.primType=4,this.vertCount=0,this.type=0}P.oes_element_index_uint&&(V.uint32=5125),U.prototype.bind=function(){this.buffer.bind()};var ge=[];function ke(Je,Ot,It,jt,Vt,Pn,Jn){var vn;if(Je.buffer.bind(),Ot){var Vn=Jn;Jn||O(Ot)&&(!se(Ot)||O(Ot.data))||(Vn=P.oes_element_index_uint?5125:5123),k._initBuffer(Je.buffer,Ot,It,Vn,3)}else W.bufferData(34963,Pn,It),Je.buffer.dtype=vn||5121,Je.buffer.usage=It,Je.buffer.dimension=3,Je.buffer.byteLength=Pn;if(vn=Jn,!Jn){switch(Je.buffer.dtype){case 5121:case 5120:vn=5121;break;case 5123:case 5122:vn=5123;break;case 5125:case 5124:vn=5125;break;default:ee.raise(\"unsupported type for element array\")}Je.buffer.dtype=vn}Je.type=vn,ee(vn!==5125||!!P.oes_element_index_uint,\"32 bit element buffers not supported, enable oes_element_index_uint first\");var zt=Vt;zt<0&&(zt=Je.buffer.byteLength,vn===5123?zt>>=1:vn===5125&&(zt>>=2)),Je.vertCount=zt;var ir=jt;if(jt<0){ir=4;var nr=Je.buffer.dimension;nr===1&&(ir=0),nr===2&&(ir=1),nr===3&&(ir=4)}Je.primType=ir}function St(Je){z.elementsCount--,ee(Je.buffer!==null,\"must not double destroy elements\"),delete Q[Je.id],Je.buffer.destroy(),Je.buffer=null}return{create:function(Je,Ot){var It=k.create(null,34963,!0),jt=new U(It._buffer);function Vt(Pn){if(Pn)if(typeof Pn==\"number\")It(Pn),jt.primType=4,jt.vertCount=0|Pn,jt.type=5121;else{var Jn=null,vn=35044,Vn=-1,zt=-1,ir=0,nr=0;Array.isArray(Pn)||O(Pn)||se(Pn)?Jn=Pn:(ee.type(Pn,\"object\",\"invalid arguments for elements\"),\"data\"in Pn&&(Jn=Pn.data,ee(Array.isArray(Jn)||O(Jn)||se(Jn),\"invalid data for element buffer\")),\"usage\"in Pn&&(ee.parameter(Pn.usage,Ze,\"invalid element buffer usage\"),vn=Ze[Pn.usage]),\"primitive\"in Pn&&(ee.parameter(Pn.primitive,Lt,\"invalid element buffer primitive\"),Vn=Lt[Pn.primitive]),\"count\"in Pn&&(ee(typeof Pn.count==\"number\"&&Pn.count>=0,\"invalid vertex count for elements\"),zt=0|Pn.count),\"type\"in Pn&&(ee.parameter(Pn.type,V,\"invalid buffer type\"),nr=V[Pn.type]),\"length\"in Pn?ir=0|Pn.length:(ir=zt,nr===5123||nr===5122?ir*=2:nr!==5125&&nr!==5124||(ir*=4))),ke(jt,Jn,vn,Vn,zt,ir,nr)}else It(),jt.primType=4,jt.vertCount=0,jt.type=5121;return Vt}return z.elementsCount++,Vt(Je),Vt._reglType=\"elements\",Vt._elements=jt,Vt.subdata=function(Pn,Jn){return It.subdata(Pn,Jn),Vt},Vt.destroy=function(){St(jt)},Vt},createStream:function(Je){var Ot=ge.pop();return Ot||(Ot=new U(k.create(null,34963,!0,!1)._buffer)),ke(Ot,Je,35040,-1,-1,0,0),Ot},destroyStream:function(Je){ge.push(Je)},getElements:function(Je){return typeof Je==\"function\"&&Je._elements instanceof U?Je._elements:null},clear:function(){fe(Q).forEach(St)}}}(nt,Mt,go,Ke),_o=function(W,P,k,z){var Q={},F={};function V(jt,Vt,Pn,Jn){this.name=jt,this.id=Vt,this.location=Pn,this.info=Jn}function U(jt,Vt){for(var Pn=0;Pn<jt.length;++Pn)if(jt[Pn].id===Vt.id)return void(jt[Pn].location=Vt.location);jt.push(Vt)}function ge(jt,Vt,Pn){var Jn=jt===35632?Q:F,vn=Jn[Vt];if(!vn){var Vn=P.str(Vt);vn=W.createShader(jt),W.shaderSource(vn,Vn),W.compileShader(vn),ee.shaderError(W,vn,Vn,jt,Pn),Jn[Vt]=vn}return vn}var ke={},St=[],Je=0;function Ot(jt,Vt){this.id=Je++,this.fragId=jt,this.vertId=Vt,this.program=null,this.uniforms=[],this.attributes=[],this.refCount=1,z.profile&&(this.stats={uniformsCount:0,attributesCount:0})}function It(jt,Vt,Pn){var Jn,vn,Vn=ge(35632,jt.fragId),zt=ge(35633,jt.vertId),ir=jt.program=W.createProgram();if(W.attachShader(ir,Vn),W.attachShader(ir,zt),Pn)for(Jn=0;Jn<Pn.length;++Jn){var nr=Pn[Jn];W.bindAttribLocation(ir,nr[0],nr[1])}W.linkProgram(ir),ee.linkError(W,ir,P.str(jt.fragId),P.str(jt.vertId),Vt);var ur=W.getProgramParameter(ir,35718);z.profile&&(jt.stats.uniformsCount=ur);var sr=jt.uniforms;for(Jn=0;Jn<ur;++Jn)if(vn=W.getActiveUniform(ir,Jn))if(vn.size>1)for(var Ln=0;Ln<vn.size;++Ln){var Bt=vn.name.replace(\"[0]\",\"[\"+Ln+\"]\");U(sr,new V(Bt,P.id(Bt),W.getUniformLocation(ir,Bt),vn))}else U(sr,new V(vn.name,P.id(vn.name),W.getUniformLocation(ir,vn.name),vn));var En=W.getProgramParameter(ir,35721);z.profile&&(jt.stats.attributesCount=En);var _n=jt.attributes;for(Jn=0;Jn<En;++Jn)(vn=W.getActiveAttrib(ir,Jn))&&U(_n,new V(vn.name,P.id(vn.name),W.getAttribLocation(ir,vn.name),vn))}return z.profile&&(k.getMaxUniformsCount=function(){var jt=0;return St.forEach(function(Vt){Vt.stats.uniformsCount>jt&&(jt=Vt.stats.uniformsCount)}),jt},k.getMaxAttributesCount=function(){var jt=0;return St.forEach(function(Vt){Vt.stats.attributesCount>jt&&(jt=Vt.stats.attributesCount)}),jt}),{clear:function(){var jt=W.deleteShader.bind(W);fe(Q).forEach(jt),Q={},fe(F).forEach(jt),F={},St.forEach(function(Vt){W.deleteProgram(Vt.program)}),St.length=0,ke={},k.shaderCount=0},program:function(jt,Vt,Pn,Jn){ee.command(jt>=0,\"missing vertex shader\",Pn),ee.command(Vt>=0,\"missing fragment shader\",Pn);var vn=ke[Vt];vn||(vn=ke[Vt]={});var Vn=vn[jt];if(Vn&&(Vn.refCount++,!Jn))return Vn;var zt=new Ot(Vt,jt);return k.shaderCount++,It(zt,Pn,Jn),Vn||(vn[jt]=zt),St.push(zt),b(zt,{destroy:function(){if(zt.refCount--,zt.refCount<=0){W.deleteProgram(zt.program);var ir=St.indexOf(zt);St.splice(ir,1),k.shaderCount--}vn[zt.vertId].refCount<=0&&(W.deleteShader(F[zt.vertId]),delete F[zt.vertId],delete ke[zt.fragId][zt.vertId]),Object.keys(ke[zt.fragId]).length||(W.deleteShader(Q[zt.fragId]),delete Q[zt.fragId],delete ke[zt.fragId])}})},restore:function(){Q={},F={};for(var jt=0;jt<St.length;++jt)It(St[jt],null,St[jt].attributes.map(function(Vt){return[Vt.location,Vt.name]}))},shader:ge,frag:-1,vert:-1}}(nt,Ae,Ke,je),No=gt(nt,Mt,Dr,function(){ai.procs.poll()},wr,Ke,je),ii=function(W,P,k,z,Q){var F={rgba4:32854,rgb565:36194,\"rgb5 a1\":32855,depth:33189,stencil:36168,\"depth stencil\":34041};P.ext_srgb&&(F.srgba=35907),P.ext_color_buffer_half_float&&(F.rgba16f=34842,F.rgb16f=34843),P.webgl_color_buffer_float&&(F.rgba32f=34836);var V=[];Object.keys(F).forEach(function(Je){var Ot=F[Je];V[Ot]=Je});var U=0,ge={};function ke(Je){this.id=U++,this.refCount=1,this.renderbuffer=Je,this.format=32854,this.width=0,this.height=0,Q.profile&&(this.stats={size:0})}function St(Je){var Ot=Je.renderbuffer;ee(Ot,\"must not double destroy renderbuffer\"),W.bindRenderbuffer(36161,null),W.deleteRenderbuffer(Ot),Je.renderbuffer=null,Je.refCount=0,delete ge[Je.id],z.renderbufferCount--}return ke.prototype.decRef=function(){--this.refCount<=0&&St(this)},Q.profile&&(z.getTotalRenderbufferSize=function(){var Je=0;return Object.keys(ge).forEach(function(Ot){Je+=ge[Ot].stats.size}),Je}),{create:function(Je,Ot){var It=new ke(W.createRenderbuffer());function jt(Vt,Pn){var Jn=0,vn=0,Vn=32854;if(w(Vt)===\"object\"&&Vt){var zt=Vt;if(\"shape\"in zt){var ir=zt.shape;ee(Array.isArray(ir)&&ir.length>=2,\"invalid renderbuffer shape\"),Jn=0|ir[0],vn=0|ir[1]}else\"radius\"in zt&&(Jn=vn=0|zt.radius),\"width\"in zt&&(Jn=0|zt.width),\"height\"in zt&&(vn=0|zt.height);\"format\"in zt&&(ee.parameter(zt.format,F,\"invalid renderbuffer format\"),Vn=F[zt.format])}else typeof Vt==\"number\"?(Jn=0|Vt,vn=typeof Pn==\"number\"?0|Pn:Jn):Vt?ee.raise(\"invalid arguments to renderbuffer constructor\"):Jn=vn=1;if(ee(Jn>0&&vn>0&&Jn<=k.maxRenderbufferSize&&vn<=k.maxRenderbufferSize,\"invalid renderbuffer size\"),Jn!==It.width||vn!==It.height||Vn!==It.format)return jt.width=It.width=Jn,jt.height=It.height=vn,It.format=Vn,W.bindRenderbuffer(36161,It.renderbuffer),W.renderbufferStorage(36161,Vn,Jn,vn),ee(W.getError()===0,\"invalid render buffer format\"),Q.profile&&(It.stats.size=xn(It.format,It.width,It.height)),jt.format=V[It.format],jt}return ge[It.id]=It,z.renderbufferCount++,jt(Je,Ot),jt.resize=function(Vt,Pn){var Jn=0|Vt,vn=0|Pn||Jn;return Jn===It.width&&vn===It.height||(ee(Jn>0&&vn>0&&Jn<=k.maxRenderbufferSize&&vn<=k.maxRenderbufferSize,\"invalid renderbuffer size\"),jt.width=It.width=Jn,jt.height=It.height=vn,W.bindRenderbuffer(36161,It.renderbuffer),W.renderbufferStorage(36161,It.format,Jn,vn),ee(W.getError()===0,\"invalid render buffer format\"),Q.profile&&(It.stats.size=xn(It.format,It.width,It.height))),jt},jt._reglType=\"renderbuffer\",jt._renderbuffer=It,Q.profile&&(jt.stats=It.stats),jt.destroy=function(){It.decRef()},jt},clear:function(){fe(ge).forEach(St)},restore:function(){fe(ge).forEach(function(Je){Je.renderbuffer=W.createRenderbuffer(),W.bindRenderbuffer(36161,Je.renderbuffer),W.renderbufferStorage(36161,Je.format,Je.width,Je.height)}),W.bindRenderbuffer(36161,null)}}}(nt,Mt,Dr,Ke,je),Lo=function(W,P,k,z,Q,F){var V={cur:null,next:null,dirty:!1,setFBO:null},U=[\"rgba\"],ge=[\"rgba4\",\"rgb565\",\"rgb5 a1\"];P.ext_srgb&&ge.push(\"srgba\"),P.ext_color_buffer_half_float&&ge.push(\"rgba16f\",\"rgb16f\"),P.webgl_color_buffer_float&&ge.push(\"rgba32f\");var ke=[\"uint8\"];function St(Ln,Bt,En){this.target=Ln,this.texture=Bt,this.renderbuffer=En;var _n=0,cr=0;Bt?(_n=Bt.width,cr=Bt.height):En&&(_n=En.width,cr=En.height),this.width=_n,this.height=cr}function Je(Ln){Ln&&(Ln.texture&&Ln.texture._texture.decRef(),Ln.renderbuffer&&Ln.renderbuffer._renderbuffer.decRef())}function Ot(Ln,Bt,En){if(Ln)if(Ln.texture){var _n=Ln.texture._texture,cr=Math.max(1,_n.width),ao=Math.max(1,_n.height);ee(cr===Bt&&ao===En,\"inconsistent width/height for supplied texture\"),_n.refCount+=1}else{var kr=Ln.renderbuffer._renderbuffer;ee(kr.width===Bt&&kr.height===En,\"inconsistent width/height for renderbuffer\"),kr.refCount+=1}}function It(Ln,Bt){Bt&&(Bt.texture?W.framebufferTexture2D(36160,Ln,Bt.target,Bt.texture._texture.texture,0):W.framebufferRenderbuffer(36160,Ln,36161,Bt.renderbuffer._renderbuffer.renderbuffer))}function jt(Ln){var Bt=3553,En=null,_n=null,cr=Ln;w(Ln)===\"object\"&&(cr=Ln.data,\"target\"in Ln&&(Bt=0|Ln.target)),ee.type(cr,\"function\",\"invalid attachment data\");var ao=cr._reglType;return ao===\"texture2d\"?(En=cr,ee(Bt===3553)):ao===\"textureCube\"?(En=cr,ee(Bt>=34069&&Bt<34075,\"invalid cube map target\")):ao===\"renderbuffer\"?(_n=cr,Bt=36161):ee.raise(\"invalid regl object for attachment\"),new St(Bt,En,_n)}function Vt(Ln,Bt,En,_n,cr){if(En){var ao=z.create2D({width:Ln,height:Bt,format:_n,type:cr});return ao._texture.refCount=0,new St(3553,ao,null)}var kr=Q.create({width:Ln,height:Bt,format:_n});return kr._renderbuffer.refCount=0,new St(36161,null,kr)}function Pn(Ln){return Ln&&(Ln.texture||Ln.renderbuffer)}function Jn(Ln,Bt,En){Ln&&(Ln.texture?Ln.texture.resize(Bt,En):Ln.renderbuffer&&Ln.renderbuffer.resize(Bt,En),Ln.width=Bt,Ln.height=En)}P.oes_texture_half_float&&ke.push(\"half float\",\"float16\"),P.oes_texture_float&&ke.push(\"float\",\"float32\");var vn=0,Vn={};function zt(){this.id=vn++,Vn[this.id]=this,this.framebuffer=W.createFramebuffer(),this.width=0,this.height=0,this.colorAttachments=[],this.depthAttachment=null,this.stencilAttachment=null,this.depthStencilAttachment=null}function ir(Ln){Ln.colorAttachments.forEach(Je),Je(Ln.depthAttachment),Je(Ln.stencilAttachment),Je(Ln.depthStencilAttachment)}function nr(Ln){var Bt=Ln.framebuffer;ee(Bt,\"must not double destroy framebuffer\"),W.deleteFramebuffer(Bt),Ln.framebuffer=null,F.framebufferCount--,delete Vn[Ln.id]}function ur(Ln){var Bt;W.bindFramebuffer(36160,Ln.framebuffer);var En=Ln.colorAttachments;for(Bt=0;Bt<En.length;++Bt)It(36064+Bt,En[Bt]);for(Bt=En.length;Bt<k.maxColorAttachments;++Bt)W.framebufferTexture2D(36160,36064+Bt,3553,null,0);W.framebufferTexture2D(36160,33306,3553,null,0),W.framebufferTexture2D(36160,36096,3553,null,0),W.framebufferTexture2D(36160,36128,3553,null,0),It(36096,Ln.depthAttachment),It(36128,Ln.stencilAttachment),It(33306,Ln.depthStencilAttachment);var _n=W.checkFramebufferStatus(36160);W.isContextLost()||_n===36053||ee.raise(\"framebuffer configuration not supported, status = \"+pt[_n]),W.bindFramebuffer(36160,V.next?V.next.framebuffer:null),V.cur=V.next,W.getError()}function sr(Ln,Bt){var En=new zt;function _n(cr,ao){var kr;ee(V.next!==En,\"can not update framebuffer which is currently in use\");var jo=0,ui=0,Vr=!0,ho=!0,vo=null,uo=!0,Go=\"rgba\",Pi=\"uint8\",la=1,Vi=null,ha=null,xa=null,qi=!1;if(typeof cr==\"number\")jo=0|cr,ui=0|ao||jo;else if(cr){ee.type(cr,\"object\",\"invalid arguments for framebuffer\");var Jo=cr;if(\"shape\"in Jo){var Ji=Jo.shape;ee(Array.isArray(Ji)&&Ji.length>=2,\"invalid shape for framebuffer\"),jo=Ji[0],ui=Ji[1]}else\"radius\"in Jo&&(jo=ui=Jo.radius),\"width\"in Jo&&(jo=Jo.width),\"height\"in Jo&&(ui=Jo.height);(\"color\"in Jo||\"colors\"in Jo)&&(vo=Jo.color||Jo.colors,Array.isArray(vo)&&ee(vo.length===1||P.webgl_draw_buffers,\"multiple render targets not supported\")),vo||(\"colorCount\"in Jo&&(la=0|Jo.colorCount,ee(la>0,\"invalid color buffer count\")),\"colorTexture\"in Jo&&(uo=!!Jo.colorTexture,Go=\"rgba4\"),\"colorType\"in Jo&&(Pi=Jo.colorType,uo?(ee(P.oes_texture_float||!(Pi===\"float\"||Pi===\"float32\"),\"you must enable OES_texture_float in order to use floating point framebuffer objects\"),ee(P.oes_texture_half_float||!(Pi===\"half float\"||Pi===\"float16\"),\"you must enable OES_texture_half_float in order to use 16-bit floating point framebuffer objects\")):Pi===\"half float\"||Pi===\"float16\"?(ee(P.ext_color_buffer_half_float,\"you must enable EXT_color_buffer_half_float to use 16-bit render buffers\"),Go=\"rgba16f\"):Pi!==\"float\"&&Pi!==\"float32\"||(ee(P.webgl_color_buffer_float,\"you must enable WEBGL_color_buffer_float in order to use 32-bit floating point renderbuffers\"),Go=\"rgba32f\"),ee.oneOf(Pi,ke,\"invalid color type\")),\"colorFormat\"in Jo&&(Go=Jo.colorFormat,U.indexOf(Go)>=0?uo=!0:ge.indexOf(Go)>=0?uo=!1:uo?ee.oneOf(Jo.colorFormat,U,\"invalid color format for texture\"):ee.oneOf(Jo.colorFormat,ge,\"invalid color format for renderbuffer\"))),(\"depthTexture\"in Jo||\"depthStencilTexture\"in Jo)&&(qi=!(!Jo.depthTexture&&!Jo.depthStencilTexture),ee(!qi||P.webgl_depth_texture,\"webgl_depth_texture extension not supported\")),\"depth\"in Jo&&(typeof Jo.depth==\"boolean\"?Vr=Jo.depth:(Vi=Jo.depth,ho=!1)),\"stencil\"in Jo&&(typeof Jo.stencil==\"boolean\"?ho=Jo.stencil:(ha=Jo.stencil,Vr=!1)),\"depthStencil\"in Jo&&(typeof Jo.depthStencil==\"boolean\"?Vr=ho=Jo.depthStencil:(xa=Jo.depthStencil,Vr=!1,ho=!1))}else jo=ui=1;var Yi=null,Ii=null,pa=null,na=null;if(Array.isArray(vo))Yi=vo.map(jt);else if(vo)Yi=[jt(vo)];else for(Yi=new Array(la),kr=0;kr<la;++kr)Yi[kr]=Vt(jo,ui,uo,Go,Pi);ee(P.webgl_draw_buffers||Yi.length<=1,\"you must enable the WEBGL_draw_buffers extension in order to use multiple color buffers.\"),ee(Yi.length<=k.maxColorAttachments,\"too many color attachments, not supported\"),jo=jo||Yi[0].width,ui=ui||Yi[0].height,Vi?Ii=jt(Vi):Vr&&!ho&&(Ii=Vt(jo,ui,qi,\"depth\",\"uint32\")),ha?pa=jt(ha):ho&&!Vr&&(pa=Vt(jo,ui,!1,\"stencil\",\"uint8\")),xa?na=jt(xa):!Vi&&!ha&&ho&&Vr&&(na=Vt(jo,ui,qi,\"depth stencil\",\"depth stencil\")),ee(!!Vi+!!ha+!!xa<=1,\"invalid framebuffer configuration, can specify exactly one depth/stencil attachment\");var $i=null;for(kr=0;kr<Yi.length;++kr)if(Ot(Yi[kr],jo,ui),ee(!Yi[kr]||Yi[kr].texture&&Dt.indexOf(Yi[kr].texture._texture.format)>=0||Yi[kr].renderbuffer&&wt.indexOf(Yi[kr].renderbuffer._renderbuffer.format)>=0,\"framebuffer color attachment \"+kr+\" is invalid\"),Yi[kr]&&Yi[kr].texture){var La=Xn[Yi[kr].texture._texture.format]*Rn[Yi[kr].texture._texture.type];$i===null?$i=La:ee($i===La,\"all color attachments much have the same number of bits per pixel.\")}return Ot(Ii,jo,ui),ee(!Ii||Ii.texture&&Ii.texture._texture.format===6402||Ii.renderbuffer&&Ii.renderbuffer._renderbuffer.format===33189,\"invalid depth attachment for framebuffer object\"),Ot(pa,jo,ui),ee(!pa||pa.renderbuffer&&pa.renderbuffer._renderbuffer.format===36168,\"invalid stencil attachment for framebuffer object\"),Ot(na,jo,ui),ee(!na||na.texture&&na.texture._texture.format===34041||na.renderbuffer&&na.renderbuffer._renderbuffer.format===34041,\"invalid depth-stencil attachment for framebuffer object\"),ir(En),En.width=jo,En.height=ui,En.colorAttachments=Yi,En.depthAttachment=Ii,En.stencilAttachment=pa,En.depthStencilAttachment=na,_n.color=Yi.map(Pn),_n.depth=Pn(Ii),_n.stencil=Pn(pa),_n.depthStencil=Pn(na),_n.width=En.width,_n.height=En.height,ur(En),_n}return F.framebufferCount++,_n(Ln,Bt),b(_n,{resize:function(cr,ao){ee(V.next!==En,\"can not resize a framebuffer which is currently in use\");var kr=Math.max(0|cr,1),jo=Math.max(0|ao||kr,1);if(kr===En.width&&jo===En.height)return _n;for(var ui=En.colorAttachments,Vr=0;Vr<ui.length;++Vr)Jn(ui[Vr],kr,jo);return Jn(En.depthAttachment,kr,jo),Jn(En.stencilAttachment,kr,jo),Jn(En.depthStencilAttachment,kr,jo),En.width=_n.width=kr,En.height=_n.height=jo,ur(En),_n},_reglType:\"framebuffer\",_framebuffer:En,destroy:function(){nr(En),ir(En)},use:function(cr){V.setFBO({framebuffer:_n},cr)}})}return b(V,{getFramebuffer:function(Ln){if(typeof Ln==\"function\"&&Ln._reglType===\"framebuffer\"){var Bt=Ln._framebuffer;if(Bt instanceof zt)return Bt}return null},create:sr,createCube:function(Ln){var Bt=Array(6);function En(_n){var cr;ee(Bt.indexOf(V.next)<0,\"can not update framebuffer which is currently in use\");var ao,kr={color:null},jo=0,ui=null,Vr=\"rgba\",ho=\"uint8\",vo=1;if(typeof _n==\"number\")jo=0|_n;else if(_n){ee.type(_n,\"object\",\"invalid arguments for framebuffer\");var uo=_n;if(\"shape\"in uo){var Go=uo.shape;ee(Array.isArray(Go)&&Go.length>=2,\"invalid shape for framebuffer\"),ee(Go[0]===Go[1],\"cube framebuffer must be square\"),jo=Go[0]}else\"radius\"in uo&&(jo=0|uo.radius),\"width\"in uo?(jo=0|uo.width,\"height\"in uo&&ee(uo.height===jo,\"must be square\")):\"height\"in uo&&(jo=0|uo.height);(\"color\"in uo||\"colors\"in uo)&&(ui=uo.color||uo.colors,Array.isArray(ui)&&ee(ui.length===1||P.webgl_draw_buffers,\"multiple render targets not supported\")),ui||(\"colorCount\"in uo&&(vo=0|uo.colorCount,ee(vo>0,\"invalid color buffer count\")),\"colorType\"in uo&&(ee.oneOf(uo.colorType,ke,\"invalid color type\"),ho=uo.colorType),\"colorFormat\"in uo&&(Vr=uo.colorFormat,ee.oneOf(uo.colorFormat,U,\"invalid color format for texture\"))),\"depth\"in uo&&(kr.depth=uo.depth),\"stencil\"in uo&&(kr.stencil=uo.stencil),\"depthStencil\"in uo&&(kr.depthStencil=uo.depthStencil)}else jo=1;if(ui)if(Array.isArray(ui))for(ao=[],cr=0;cr<ui.length;++cr)ao[cr]=ui[cr];else ao=[ui];else{ao=Array(vo);var Pi={radius:jo,format:Vr,type:ho};for(cr=0;cr<vo;++cr)ao[cr]=z.createCube(Pi)}for(kr.color=Array(ao.length),cr=0;cr<ao.length;++cr){var la=ao[cr];ee(typeof la==\"function\"&&la._reglType===\"textureCube\",\"invalid cube map\"),jo=jo||la.width,ee(la.width===jo&&la.height===jo,\"invalid cube map shape\"),kr.color[cr]={target:34069,data:ao[cr]}}for(cr=0;cr<6;++cr){for(var Vi=0;Vi<ao.length;++Vi)kr.color[Vi].target=34069+cr;cr>0&&(kr.depth=Bt[0].depth,kr.stencil=Bt[0].stencil,kr.depthStencil=Bt[0].depthStencil),Bt[cr]?Bt[cr](kr):Bt[cr]=sr(kr)}return b(En,{width:jo,height:jo,color:ao})}return En(Ln),b(En,{faces:Bt,resize:function(_n){var cr,ao=0|_n;if(ee(ao>0&&ao<=k.maxCubeMapSize,\"invalid radius for cube fbo\"),ao===En.width)return En;var kr=En.color;for(cr=0;cr<kr.length;++cr)kr[cr].resize(ao);for(cr=0;cr<6;++cr)Bt[cr].resize(ao);return En.width=En.height=ao,En},_reglType:\"framebufferCube\",destroy:function(){Bt.forEach(function(_n){_n.destroy()})}})},clear:function(){fe(Vn).forEach(nr)},restore:function(){V.cur=null,V.next=null,V.dirty=!0,fe(Vn).forEach(function(Ln){Ln.framebuffer=W.createFramebuffer(),ur(Ln)})}})}(nt,Mt,Dr,No,ii,Ke),ai=ca(nt,Ae,Mt,Dr,go,Jr,0,Lo,{},Ir,_o,{elements:null,primitive:4,count:-1,offset:0,instances:-1},wr,Ut,je),Si=xt(nt,Lo,ai.procs.poll,wr,rt,Mt,Dr),Ui=ai.next,ln=nt.canvas,mn=[],fr=[],ft=[],ct=[je.onDestroy],tn=null;function An(){if(mn.length===0)return Ut&&Ut.update(),void(tn=null);tn=ye.next(An),io();for(var W=mn.length-1;W>=0;--W){var P=mn[W];P&&P(wr,null,0)}nt.flush(),Ut&&Ut.update()}function Rt(){!tn&&mn.length>0&&(tn=ye.next(An))}function un(){tn&&(ye.cancel(An),tn=null)}function Dn(W){W.preventDefault(),Xt=!0,un(),fr.forEach(function(P){P()})}function dr(W){nt.getError(),Xt=!1,fn.restore(),_o.restore(),go.restore(),No.restore(),ii.restore(),Lo.restore(),Ir.restore(),Ut&&Ut.restore(),ai.procs.refresh(),Rt(),ft.forEach(function(P){P()})}function Ar(W){function P(Ot,It){var jt={},Vt={};return Object.keys(Ot).forEach(function(Pn){var Jn=Ot[Pn];if(ce.isDynamic(Jn))Vt[Pn]=ce.unbox(Jn,Pn);else{if(It&&Array.isArray(Jn)){for(var vn=0;vn<Jn.length;++vn)if(ce.isDynamic(Jn[vn]))return void(Vt[Pn]=ce.unbox(Jn,Pn))}jt[Pn]=Jn}}),{dynamic:Vt,static:jt}}ee(!!W,\"invalid args to regl({...})\"),ee.type(W,\"object\",\"invalid args to regl({...})\");var k=P(W.context||{},!0),z=P(W.uniforms||{},!0),Q=P(W.attributes||{},!1),F=P(function(Ot){var It=b({},Ot);function jt(Vt){if(Vt in It){var Pn=It[Vt];delete It[Vt],Object.keys(Pn).forEach(function(Jn){It[Vt+\".\"+Jn]=Pn[Jn]})}}return delete It.uniforms,delete It.attributes,delete It.context,delete It.vao,\"stencil\"in It&&It.stencil.op&&(It.stencil.opBack=It.stencil.opFront=It.stencil.op,delete It.stencil.op),jt(\"blend\"),jt(\"depth\"),jt(\"cull\"),jt(\"stencil\"),jt(\"polygonOffset\"),jt(\"scissor\"),jt(\"sample\"),\"vao\"in Ot&&(It.vao=Ot.vao),It}(W),!1),V={gpuTime:0,cpuTime:0,count:0},U=ai.compile(F,Q,z,k,V),ge=U.draw,ke=U.batch,St=U.scope,Je=[];return b(function(Ot,It){var jt;if(Xt&&ee.raise(\"context lost\"),typeof Ot==\"function\")return St.call(this,null,Ot,0);if(typeof It==\"function\")if(typeof Ot==\"number\")for(jt=0;jt<Ot;++jt)St.call(this,null,It,jt);else{if(!Array.isArray(Ot))return St.call(this,Ot,It,0);for(jt=0;jt<Ot.length;++jt)St.call(this,Ot[jt],It,jt)}else if(typeof Ot==\"number\"){if(Ot>0)return ke.call(this,function(Vt){for(;Je.length<Vt;)Je.push(null);return Je}(0|Ot),0|Ot)}else{if(!Array.isArray(Ot))return ge.call(this,Ot);if(Ot.length)return ke.call(this,Ot,Ot.length)}},{stats:V,destroy:function(){U.destroy()}})}ln&&(ln.addEventListener(\"webglcontextlost\",Dn,!1),ln.addEventListener(\"webglcontextrestored\",dr,!1));var Gr=Lo.setFBO=Ar({framebuffer:ce.define.call(null,1,\"framebuffer\")});function Pr(W,P){var k=0;ai.procs.poll();var z=P.color;z&&(nt.clearColor(+z[0]||0,+z[1]||0,+z[2]||0,+z[3]||0),k|=16384),\"depth\"in P&&(nt.clearDepth(+P.depth),k|=256),\"stencil\"in P&&(nt.clearStencil(0|P.stencil),k|=1024),ee(!!k,\"called regl.clear with no buffer specified\"),nt.clear(k)}function Xr(W){return ee.type(W,\"function\",\"regl.frame() callback must be a function\"),mn.push(W),Rt(),{cancel:function(){var P=br(mn,W);ee(P>=0,\"cannot cancel a frame twice\"),mn[P]=function k(){var z=br(mn,k);mn[z]=mn[mn.length-1],mn.length-=1,mn.length<=0&&un()}}}}function oo(){var W=Ui.viewport,P=Ui.scissor_box;W[0]=W[1]=P[0]=P[1]=0,wr.viewportWidth=wr.framebufferWidth=wr.drawingBufferWidth=W[2]=P[2]=nt.drawingBufferWidth,wr.viewportHeight=wr.framebufferHeight=wr.drawingBufferHeight=W[3]=P[3]=nt.drawingBufferHeight}function io(){wr.tick+=1,wr.time=To(),oo(),ai.procs.poll()}function to(){No.refresh(),oo(),ai.procs.refresh(),Ut&&Ut.update()}function To(){return(Oe()-kn)/1e3}to();var jn=b(Ar,{clear:function(W){if(ee(w(W)===\"object\"&&W,\"regl.clear() takes an object as input\"),\"framebuffer\"in W)if(W.framebuffer&&W.framebuffer_reglType===\"framebufferCube\")for(var P=0;P<6;++P)Gr(b({framebuffer:W.framebuffer.faces[P]},W),Pr);else Gr(W,Pr);else Pr(0,W)},prop:ce.define.bind(null,1),context:ce.define.bind(null,2),this:ce.define.bind(null,3),draw:Ar({}),buffer:function(W){return go.create(W,34962,!1,!1)},elements:function(W){return Jr.create(W,!1)},texture:No.create2D,cube:No.createCube,renderbuffer:ii.create,framebuffer:Lo.create,framebufferCube:Lo.createCube,vao:Ir.createVAO,attributes:rt,frame:Xr,on:function(W,P){var k;switch(ee.type(P,\"function\",\"listener callback must be a function\"),W){case\"frame\":return Xr(P);case\"lost\":k=fr;break;case\"restore\":k=ft;break;case\"destroy\":k=ct;break;default:ee.raise(\"invalid event, must be one of frame,lost,restore,destroy\")}return k.push(P),{cancel:function(){for(var z=0;z<k.length;++z)if(k[z]===P)return k[z]=k[k.length-1],void k.pop()}}},limits:Dr,hasExtension:function(W){return Dr.extensions.indexOf(W.toLowerCase())>=0},read:Si,destroy:function(){mn.length=0,un(),ln&&(ln.removeEventListener(\"webglcontextlost\",Dn),ln.removeEventListener(\"webglcontextrestored\",dr)),_o.clear(),Lo.clear(),ii.clear(),No.clear(),Jr.clear(),go.clear(),Ir.clear(),Ut&&Ut.clear(),ct.forEach(function(W){W()})},_gl:nt,_refresh:to,poll:function(){io(),Ut&&Ut.update()},now:To,stats:Ke});return je.onDone(null,jn),jn}},w(c)===\"object\"&&Ee!==void 0?Ee.exports=C():(N=typeof(y=C)==\"function\"?y.call(c,r,c,Ee):y)===void 0||(Ee.exports=N)},function(Ee,c,r){var y=r(193),N=r(194),C=r(195),w=r(196);Ee.exports=function(O){return y(O)||N(O)||C(O)||w()},Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports},function(Ee,c,r){var y=r(64),N=r(197),C=r(65),w=Function.prototype,O=Object.prototype,b=w.toString,p=O.hasOwnProperty,u=b.call(Object);Ee.exports=function(a){if(!C(a)||y(a)!=\"[object Object]\")return!1;var f=N(a);if(f===null)return!0;var h=p.call(f,\"constructor\")&&f.constructor;return typeof h==\"function\"&&h instanceof h&&b.call(h)==u}},,function(Ee,c){var r,y,N=Ee.exports={};function C(){throw new Error(\"setTimeout has not been defined\")}function w(){throw new Error(\"clearTimeout has not been defined\")}function O(m){if(r===setTimeout)return setTimeout(m,0);if((r===C||!r)&&setTimeout)return r=setTimeout,setTimeout(m,0);try{return r(m,0)}catch(x){try{return r.call(null,m,0)}catch(M){return r.call(this,m,0)}}}(function(){try{r=typeof setTimeout==\"function\"?setTimeout:C}catch(m){r=C}try{y=typeof clearTimeout==\"function\"?clearTimeout:w}catch(m){y=w}})();var b,p=[],u=!1,a=-1;function f(){u&&b&&(u=!1,b.length?p=b.concat(p):a=-1,p.length&&h())}function h(){if(!u){var m=O(f);u=!0;for(var x=p.length;x;){for(b=p,p=[];++a<x;)b&&b[a].run();a=-1,x=p.length}b=null,u=!1,function(M){if(y===clearTimeout)return clearTimeout(M);if((y===w||!y)&&clearTimeout)return y=clearTimeout,clearTimeout(M);try{y(M)}catch(E){try{return y.call(null,M)}catch(j){return y.call(this,M)}}}(m)}}function l(m,x){this.fun=m,this.array=x}function s(){}N.nextTick=function(m){var x=new Array(arguments.length-1);if(arguments.length>1)for(var M=1;M<arguments.length;M++)x[M-1]=arguments[M];p.push(new l(m,x)),p.length!==1||u||O(h)},l.prototype.run=function(){this.fun.apply(null,this.array)},N.title=\"browser\",N.browser=!0,N.env={},N.argv=[],N.version=\"\",N.versions={},N.on=s,N.addListener=s,N.once=s,N.off=s,N.removeListener=s,N.removeAllListeners=s,N.emit=s,N.prependListener=s,N.prependOnceListener=s,N.listeners=function(m){return[]},N.binding=function(m){throw new Error(\"process.binding is not supported\")},N.cwd=function(){return\"/\"},N.chdir=function(m){throw new Error(\"process.chdir is not supported\")},N.umask=function(){return 0}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.pageRankAsync=c.minimumSpanningTreeAsync=c.louvainAsync=c.labelPropagationAsync=c.getOutDegreeAsync=c.getNeighborsAsync=c.getInDegreeAsync=c.getDegreeAsync=c.getAdjMatrixAsync=c.floydWarshallAsync=c.findShortestPathAsync=c.findAllPathAsync=c.dijkstraAsync=c.detectCycleAsync=c.detectAllUndirectedCycleAsync=c.detectAllDirectedCycleAsync=c.detectAllCyclesAsync=c.connectedComponentAsync=c.GADDIAsync=void 0;var y,N=(y=r(123))&&y.__esModule?y:{default:y},C=r(57);c.getAdjMatrixAsync=function(w,O){return(0,N.default)(C.ALGORITHM.getAdjMatrix).apply(void 0,[w,O])},c.connectedComponentAsync=function(w,O){return(0,N.default)(C.ALGORITHM.connectedComponent).apply(void 0,[w,O])},c.getDegreeAsync=function(w){return(0,N.default)(C.ALGORITHM.getDegree)(w)},c.getInDegreeAsync=function(w,O){return(0,N.default)(C.ALGORITHM.getInDegree)(w,O)},c.getOutDegreeAsync=function(w,O){return(0,N.default)(C.ALGORITHM.getOutDegree)(w,O)},c.detectCycleAsync=function(w){return(0,N.default)(C.ALGORITHM.detectCycle)(w)},c.detectAllCyclesAsync=function(w){return(0,N.default)(C.ALGORITHM.detectAllCycles)(w)},c.detectAllDirectedCycleAsync=function(w){return(0,N.default)(C.ALGORITHM.detectAllDirectedCycle)(w)},c.detectAllUndirectedCycleAsync=function(w){return(0,N.default)(C.ALGORITHM.detectAllUndirectedCycle)(w)},c.dijkstraAsync=function(w,O,b,p){return(0,N.default)(C.ALGORITHM.dijkstra).apply(void 0,[w,O,b,p])},c.findAllPathAsync=function(w,O,b,p){return(0,N.default)(C.ALGORITHM.findAllPath).apply(void 0,[w,O,b,p])},c.findShortestPathAsync=function(w,O,b,p,u){return(0,N.default)(C.ALGORITHM.findShortestPath).apply(void 0,[w,O,b,p,u])},c.floydWarshallAsync=function(w,O){return(0,N.default)(C.ALGORITHM.floydWarshall).apply(void 0,[w,O])},c.labelPropagationAsync=function(w,O,b,p){return p===void 0&&(p=1e3),(0,N.default)(C.ALGORITHM.labelPropagation)(w,O,b,p)},c.louvainAsync=function(w,O,b,p){return(0,N.default)(C.ALGORITHM.louvain)(w,O,b,p)},c.minimumSpanningTreeAsync=function(w,O,b){return(0,N.default)(C.ALGORITHM.minimumSpanningTree).apply(void 0,[w,O,b])},c.pageRankAsync=function(w,O,b){return(0,N.default)(C.ALGORITHM.pageRank).apply(void 0,[w,O,b])},c.getNeighborsAsync=function(w,O,b){return(0,N.default)(C.ALGORITHM.getNeighbors).apply(void 0,[w,O,b])},c.GADDIAsync=function(w,O,b,p,u,a,f){return b===void 0&&(b=!1),a===void 0&&(a=\"cluster\"),f===void 0&&(f=\"cluster\"),(0,N.default)(C.ALGORITHM.GADDI).apply(void 0,[w,O,b,p,u,a,f])}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var y,N=r(57),C=(y=r(124))&&y.__esModule?y:{default:y},w=function(O){return function(){for(var b=[],p=0;p<arguments.length;p++)b[p]=arguments[p];return new Promise(function(u,a){var f=new C.default;f.postMessage({_algorithmType:O,data:b}),f.onmessage=function(h){var l=h.data,s=l.data,m=l._algorithmType;N.MESSAGE.SUCCESS===m?u(s):a(),f.terminate()}})}};c.default=w},function(Ee,c,r){\"use strict\";function y(b){return(y=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(p){return typeof p}:function(p){return p&&typeof Symbol==\"function\"&&p.constructor===Symbol&&p!==Symbol.prototype?\"symbol\":typeof p})(b)}Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var N=function(b,p){if(!p&&b&&b.__esModule)return b;if(b===null||y(b)!==\"object\"&&typeof b!=\"function\")return{default:b};var u=w(p);if(u&&u.has(b))return u.get(b);var a={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in b)if(h!==\"default\"&&Object.prototype.hasOwnProperty.call(b,h)){var l=f?Object.getOwnPropertyDescriptor(b,h):null;l&&(l.get||l.set)?Object.defineProperty(a,h,l):a[h]=b[h]}return a.default=b,u&&u.set(b,a),a}(r(125)),C=r(57);function w(b){if(typeof WeakMap!=\"function\")return null;var p=new WeakMap,u=new WeakMap;return(w=function(a){return a?u:p})(b)}var O=typeof self!=\"undefined\"?self:{};O.onmessage=function(b){var p=b.data,u=p._algorithmType,a=p.data;if(u)if(typeof N[u]!=\"function\")O.postMessage({_algorithmType:C.MESSAGE.FAILURE});else{var f=N[u].apply(N,a);O.postMessage({_algorithmType:C.MESSAGE.SUCCESS,data:f})}},c.default=null},function(Ee,c,r){\"use strict\";function y(L){return(y=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(A){return typeof A}:function(A){return A&&typeof Symbol==\"function\"&&A.constructor===Symbol&&A!==Symbol.prototype?\"symbol\":typeof A})(L)}Object.defineProperty(c,\"__esModule\",{value:!0}),Object.defineProperty(c,\"GADDI\",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(c,\"breadthFirstSearch\",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(c,\"connectedComponent\",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(c,\"depthFirstSearch\",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(c,\"detectCycle\",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(c,\"dijkstra\",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(c,\"findAllPath\",{enumerable:!0,get:function(){return a.findAllPath}}),Object.defineProperty(c,\"findShortestPath\",{enumerable:!0,get:function(){return a.findShortestPath}}),Object.defineProperty(c,\"floydWarshall\",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(c,\"getAdjMatrix\",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(c,\"getDegree\",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(c,\"getInDegree\",{enumerable:!0,get:function(){return O.getInDegree}}),Object.defineProperty(c,\"getNeighbors\",{enumerable:!0,get:function(){return M.getNeighbors}}),Object.defineProperty(c,\"getOutDegree\",{enumerable:!0,get:function(){return O.getOutDegree}}),Object.defineProperty(c,\"labelPropagation\",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(c,\"louvain\",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(c,\"minimumSpanningTree\",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(c,\"pageRank\",{enumerable:!0,get:function(){return m.default}});var N=j(r(45)),C=j(r(126)),w=j(r(73)),O=function(L,A){if(!A&&L&&L.__esModule)return L;if(L===null||y(L)!==\"object\"&&typeof L!=\"function\")return{default:L};var J=E(A);if(J&&J.has(L))return J.get(L);var q={},re=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var me in L)if(me!==\"default\"&&Object.prototype.hasOwnProperty.call(L,me)){var Te=re?Object.getOwnPropertyDescriptor(L,me):null;Te&&(Te.get||Te.set)?Object.defineProperty(q,me,Te):q[me]=L[me]}return q.default=L,J&&J.set(L,q),q}(r(74)),b=j(r(129)),p=j(r(75)),u=j(r(58)),a=r(130),f=j(r(76)),h=j(r(131)),l=j(r(132)),s=j(r(137)),m=j(r(140)),x=j(r(141)),M=r(27);function E(L){if(typeof WeakMap!=\"function\")return null;var A=new WeakMap,J=new WeakMap;return(E=function(q){return q?J:A})(L)}function j(L){return L&&L.__esModule?L:{default:L}}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var y,N=(y=r(127))&&y.__esModule?y:{default:y},C=r(27),w=function(O,b,p,u){u===void 0&&(u=!0);var a=function(x){x===void 0&&(x={});var M,E=x,j=function(){},L=(M={},function(A){var J=A.next;return!M[J]&&(M[J]=!0,!0)});return E.allowTraversal=x.allowTraversal||L,E.enter=x.enter||j,E.leave=x.leave||j,E}(p),f=new N.default,h=O.edges,l=h===void 0?[]:h;f.enqueue(b);for(var s=\"\",m=function(){var x=f.dequeue();a.enter({current:x,previous:s}),(0,C.getNeighbors)(x,l,u?\"target\":void 0).forEach(function(M){a.allowTraversal({previous:s,current:x,next:M})&&f.enqueue(M)}),a.leave({current:x,previous:s}),s=x};!f.isEmpty();)m()};c.default=w},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var y,N=(y=r(128))&&y.__esModule?y:{default:y},C=function(){function w(){this.linkedList=new N.default}return w.prototype.isEmpty=function(){return!this.linkedList.head},w.prototype.peek=function(){return this.linkedList.head?this.linkedList.head.value:null},w.prototype.enqueue=function(O){this.linkedList.append(O)},w.prototype.dequeue=function(){var O=this.linkedList.deleteHead();return O?O.value:null},w.prototype.toString=function(O){return this.linkedList.toString(O)},w}();c.default=C},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=c.LinkedListNode=void 0;var y=function(w,O){return w===O},N=function(){function w(O,b){b===void 0&&(b=null),this.value=O,this.next=b}return w.prototype.toString=function(O){return O?O(this.value):\"\".concat(this.value)},w}();c.LinkedListNode=N;var C=function(){function w(O){O===void 0&&(O=y),this.head=null,this.tail=null,this.compare=O}return w.prototype.prepend=function(O){var b=new N(O,this.head);return this.head=b,this.tail||(this.tail=b),this},w.prototype.append=function(O){var b=new N(O);return this.head?(this.tail.next=b,this.tail=b,this):(this.head=b,this.tail=b,this)},w.prototype.delete=function(O){if(!this.head)return null;for(var b=null;this.head&&this.compare(this.head.value,O);)b=this.head,this.head=this.head.next;var p=this.head;if(p!==null)for(;p.next;)this.compare(p.next.value,O)?(b=p.next,p.next=p.next.next):p=p.next;return this.compare(this.tail.value,O)&&(this.tail=p),b},w.prototype.find=function(O){var b=O.value,p=b===void 0?void 0:b,u=O.callback,a=u===void 0?void 0:u;if(!this.head)return null;for(var f=this.head;f;){if(a&&a(f.value)||p!==void 0&&this.compare(f.value,p))return f;f=f.next}return null},w.prototype.deleteTail=function(){var O=this.tail;if(this.head===this.tail)return this.head=null,this.tail=null,O;for(var b=this.head;b.next;)b.next.next?b=b.next:b.next=null;return this.tail=b,O},w.prototype.deleteHead=function(){if(!this.head)return null;var O=this.head;return this.head.next?this.head=this.head.next:(this.head=null,this.tail=null),O},w.prototype.fromArray=function(O){var b=this;return O.forEach(function(p){return b.append(p)}),this},w.prototype.toArray=function(){for(var O=[],b=this.head;b;)O.push(b),b=b.next;return O},w.prototype.reverse=function(){for(var O=this.head,b=null,p=null;O;)p=O.next,O.next=b,b=O,O=p;this.tail=this.head,this.head=b},w.prototype.toString=function(O){return O===void 0&&(O=void 0),this.toArray().map(function(b){return b.toString(O)}).toString()},w}();c.default=C},function(Ee,c,r){\"use strict\";function y(f){return(y=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(h){return typeof h}:function(h){return h&&typeof Symbol==\"function\"&&h.constructor===Symbol&&h!==Symbol.prototype?\"symbol\":typeof h})(f)}Object.defineProperty(c,\"__esModule\",{value:!0}),c.detectAllUndirectedCycle=c.detectAllDirectedCycle=c.detectAllCycles=c.default=void 0;var N,C=(N=r(75))&&N.__esModule?N:{default:N},w=function(f,h){if(!h&&f&&f.__esModule)return f;if(f===null||y(f)!==\"object\"&&typeof f!=\"function\")return{default:f};var l=b(h);if(l&&l.has(f))return l.get(f);var s={},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in f)if(x!==\"default\"&&Object.prototype.hasOwnProperty.call(f,x)){var M=m?Object.getOwnPropertyDescriptor(f,x):null;M&&(M.get||M.set)?Object.defineProperty(s,x,M):s[x]=f[x]}return s.default=f,l&&l.set(f,s),s}(r(73)),O=r(27);function b(f){if(typeof WeakMap!=\"function\")return null;var h=new WeakMap,l=new WeakMap;return(b=function(s){return s?l:h})(f)}var p=function(f,h,l){var s,m;l===void 0&&(l=!0);for(var x=[],M=0,E=(0,w.default)(f,!1);M<E.length;M++){var j=E[M];if(j.length)for(var L=j[0],A=L.id,J=[L],q=((s={})[A]=L,s),re=((m={})[A]=new Set,m);J.length>0;)for(var me=J.pop(),Te=me.id,ee=(0,O.getNeighbors)(Te,f.edges),xe=function(Le){var De,ce=ee[Le],ye=f.nodes.find(function(ae){return ae.id===ce});if(ce===Te)x.push(((De={})[ce]=me,De));else if(ce in re){if(!re[Te].has(ye)){for(var Oe=!0,Ce=[ye,me],oe=q[Te];re[ce].size&&!re[ce].has(oe)&&(Ce.push(oe),oe!==q[oe.id]);)oe=q[oe.id];if(Ce.push(oe),h&&l?(Oe=!1,Ce.findIndex(function(ae){return h.indexOf(ae.id)>-1})>-1&&(Oe=!0)):h&&!l&&Ce.findIndex(function(ae){return h.indexOf(ae.id)>-1})>-1&&(Oe=!1),Oe){for(var he={},ie=1;ie<Ce.length;ie+=1)he[Ce[ie-1].id]=Ce[ie];Ce.length&&(he[Ce[Ce.length-1].id]=Ce[0]),x.push(he)}re[ce].add(me)}}else q[ce]=me,J.push(ye),re[ce]=new Set([me])},Ie=0;Ie<ee.length;Ie+=1)xe(Ie)}return x};c.detectAllUndirectedCycle=p;var u=function(f,h,l){l===void 0&&(l=!0);for(var s=[],m=new Set,x=[],M=[],E={},j={},L=function oe(he,ie,ae){var ve=!1;if(h&&l===!1&&h.indexOf(he.id)>-1)return ve;s.push(he),m.add(he);for(var X=ae[he.id],se=0;se<X.length;se+=1)if((be=E[X[se]])===ie){for(var fe={},_e=1;_e<s.length;_e+=1)fe[s[_e-1].id]=s[_e];s.length&&(fe[s[s.length-1].id]=s[0]),M.push(fe),ve=!0}else m.has(be)||oe(be,ie,ae)&&(ve=!0);if(ve)(function(We){for(var we=[We];we.length>0;){var Ze=we.pop();m.has(Ze)&&(m.delete(Ze),x[Ze.id].forEach(function(Ve){we.push(Ve)}),x[Ze.id].clear())}})(he);else for(se=0;se<X.length;se+=1){var be=E[X[se]];x[be.id].has(he)||x[be.id].add(he)}return s.pop(),ve},A=f.nodes,J=A===void 0?[]:A,q=0;q<J.length;q+=1){var re=J[q],me=re.id;j[me]=q,E[q]=re}if(h&&l){var Te=function(oe){var he=h[oe];j[J[oe].id]=j[he],j[he]=0,E[0]=J.find(function(ie){return ie.id===he}),E[j[J[oe].id]]=J[oe]};for(q=0;q<h.length;q++)Te(q)}for(var ee=function(oe){for(var he,ie,ae=1/0,ve=0;ve<oe.length;ve+=1)for(var X=oe[ve],se=0;se<X.length;se++){var fe=j[X[se].id];fe<ae&&(ae=fe,ie=ve)}var _e=oe[ie],be=[];for(ve=0;ve<_e.length;ve+=1){var We=_e[ve];be[We.id]=[];for(var we=0,Ze=(0,O.getNeighbors)(We.id,f.edges,\"target\").filter(function(et){return _e.map(function(ht){return ht.id}).indexOf(et)>-1});we<Ze.length;we++){var Ve=Ze[we];Ve!==We.id||l===!1&&h.indexOf(We.id)>-1?be[We.id].push(j[Ve]):M.push(((he={})[We.id]=We,he))}}return{component:_e,adjList:be,minIdx:ae}},xe=0;xe<J.length;){var Ie=J.filter(function(oe){return j[oe.id]>=xe}),Le=(0,w.detectStrongConnectComponents)({nodes:Ie,edges:f.edges}).filter(function(oe){return oe.length>1});if(Le.length===0)break;var De=ee(Le),ce=De.minIdx,ye=De.adjList,Oe=De.component;if(!(Oe.length>1))break;Oe.forEach(function(oe){x[oe.id]=new Set});var Ce=E[ce];if(h&&l&&h.indexOf(Ce.id)===-1)return M;L(Ce,Ce,ye),xe=ce+1}return M};c.detectAllDirectedCycle=u,c.detectAllCycles=function(f,h,l,s){return s===void 0&&(s=!0),h?u(f,l,s):p(f,l,s)};var a=function(f){var h=null,l=f.nodes,s={},m={},x={},M={};(l===void 0?[]:l).forEach(function(L){m[L.id]=L});for(var E={enter:function(L){var A=L.current,J=L.previous;if(x[A]){h={};for(var q=A,re=J;re!==A;)h[q]=re,q=re,re=s[re];h[q]=re}else x[A]=A,delete m[A],s[A]=J},leave:function(L){var A=L.current;M[A]=A,delete x[A]},allowTraversal:function(L){var A=L.next;return!h&&!M[A]}};Object.keys(m).length;){var j=Object.keys(m)[0];(0,C.default)(f,j,E)}return h};c.default=a},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.findShortestPath=c.findAllPath=void 0;var y,N=(y=r(58))&&y.__esModule?y:{default:y},C=r(27);c.findShortestPath=function(w,O,b,p,u){var a=(0,N.default)(w,O,p,u),f=a.length,h=a.path,l=a.allPath;return{length:f[b],path:h[b],allPath:l[b]}},c.findAllPath=function(w,O,b,p){var u;if(O===b)return[[O]];var a=w.edges,f=a===void 0?[]:a,h=[O],l=((u={})[O]=!0,u),s=[],m=[],x=p?(0,C.getNeighbors)(O,f,\"target\"):(0,C.getNeighbors)(O,f);for(s.push(x);h.length>0&&s.length>0;){var M=s[s.length-1];if(M.length){var E=M.shift();if(E&&(h.push(E),l[E]=!0,x=p?(0,C.getNeighbors)(E,f,\"target\"):(0,C.getNeighbors)(E,f),s.push(x.filter(function(A){return!l[A]}))),h[h.length-1]===b){var j=h.map(function(A){return A});m.push(j),L=h.pop(),l[L]=!1,s.pop()}}else{var L=h.pop();l[L]=!1,s.pop()}}return m}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var y,N=(y=r(45))&&y.__esModule?y:{default:y},C=r(27),w=function(O,b,p,u){b===void 0&&(b=!1),p===void 0&&(p=\"weight\"),u===void 0&&(u=1e3);var a=O.nodes,f=a===void 0?[]:a,h=O.edges,l=h===void 0?[]:h,s={},m={};f.forEach(function(re,me){var Te=(0,C.uniqueId)();re.clusterId=Te,s[Te]={id:Te,nodes:[re]},m[re.id]={node:re,idx:me}});var x=(0,N.default)(O,b),M=[],E={};x.forEach(function(re,me){var Te=0,ee=f[me].id;E[ee]={},re.forEach(function(xe,Ie){if(xe){Te+=xe;var Le=f[Ie].id;E[ee][Le]=xe}}),M.push(Te)});for(var j=0,L=function(){var re=!1;if(f.forEach(function(me){var Te={};Object.keys(E[me.id]).forEach(function(Oe){var Ce=E[me.id][Oe],oe=m[Oe].node.clusterId;Te[oe]||(Te[oe]=0),Te[oe]+=Ce});var ee=-1/0,xe=[];if(Object.keys(Te).forEach(function(Oe){ee<Te[Oe]?(ee=Te[Oe],xe=[Oe]):ee===Te[Oe]&&xe.push(Oe)}),xe.length!==1||xe[0]!==me.clusterId){var Ie=xe.indexOf(me.clusterId);if(Ie>=0&&xe.splice(Ie,1),xe&&xe.length){re=!0;var Le=s[me.clusterId],De=Le.nodes.indexOf(me);Le.nodes.splice(De,1);var ce=Math.floor(Math.random()*xe.length),ye=s[xe[ce]];ye.nodes.push(me),me.clusterId=ye.id}}}),!re)return\"break\";j++};j<u&&L()!==\"break\";);Object.keys(s).forEach(function(re){var me=s[re];me.nodes&&me.nodes.length||delete s[re]});var A=[],J={};l.forEach(function(re){var me=re.source,Te=re.target,ee=re[p]||1,xe=m[me].node.clusterId,Ie=m[Te].node.clusterId,Le=\"\".concat(xe,\"---\").concat(Ie);if(J[Le])J[Le].weight+=ee,J[Le].count++;else{var De={source:xe,target:Ie,weight:ee,count:1};J[Le]=De,A.push(De)}});var q=[];return Object.keys(s).forEach(function(re){q.push(s[re])}),{clusters:q,clusterEdges:A}};c.default=w},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var y=r(0),N=b(r(45)),C=b(r(77)),w=r(133),O=r(135);function b(f){return f&&f.__esModule?f:{default:f}}var p=function(f,h,l,s){for(var m=h.length,x=2*s,M=0,E=0;E<m;E++)for(var j=f[E].clusterId,L=0;L<m;L++)j===f[L].clusterId&&(M+=(h[E][L]||0)-(l[E]||0)*(l[L]||0)/x);return M*=1/x},u=function(f,h){f===void 0&&(f=[]);for(var l=f.length,s=new C.default([]),m=0;m<l;m++)s=s.add(new C.default(h[m]));var x=s.avg(l);x.normalize();var M=0;for(m=0;m<l;m++)M+=(j=new C.default(h[m])).squareEuclideanDistance(x);var E=[];for(f.forEach(function(){E.push([])}),m=0;m<l;m++){var j=new C.default(h[m]);f[m].clusterInertial=0;for(var L=0;L<l;L++)if(m!==L){var A=new C.default(h[L]);E[m][L]=j.squareEuclideanDistance(A),f[m].clusterInertial+=E[m][L]}else E[m][L]=0}var J=0,q=2*l*M;for(m=0;m<l;m++){var re=f[m].clusterId;for(L=0;L<l;L++){var me=f[L].clusterId;m!==L&&re===me&&(J+=f[m].clusterInertial*f[L].clusterInertial/Math.pow(q,2)-E[m][L]/q)}}return Number(J.toFixed(4))},a=function(f,h,l,s,m,x,M,E,j){h===void 0&&(h=!1),l===void 0&&(l=\"weight\"),s===void 0&&(s=1e-4),m===void 0&&(m=!1),x===void 0&&(x=void 0),M===void 0&&(M=[]),E===void 0&&(E=[\"id\"]),j===void 0&&(j=1);var L=f.nodes,A=L===void 0?[]:L,J=f.edges,q=J===void 0?[]:J,re=[];if(m){A.forEach(function(be,We){be.properties=be.properties||{},be.originIndex=We});var me=[];A.every(function(be){return be.hasOwnProperty(\"nodeType\")})&&(me=Array.from(new Set(A.map(function(be){return be.nodeType}))),A.forEach(function(be){be.properties.nodeType=me.findIndex(function(We){return We===be.nodeType})}));var Te=(0,w.getAllProperties)(A,x);re=(0,O.oneHot)(Te,M,E)}var ee=1,xe={},Ie={};A.forEach(function(be,We){var we=String(ee++);be.clusterId=we,xe[we]={id:we,nodes:[be]},Ie[be.id]={node:be,idx:We}});var Le=(0,N.default)(f,h),De=[],ce={},ye=0;Le.forEach(function(be,We){var we=0,Ze=A[We].id;ce[Ze]={},be.forEach(function(Ve,et){if(Ve){we+=Ve;var ht=A[et].id;ce[Ze][ht]=Ve,ye+=Ve}}),De.push(we)}),ye/=2;for(var Oe=1/0,Ce=1/0,oe=0,he=[],ie={};;){Oe=m&&A.every(function(be){return be.hasOwnProperty(\"properties\")})?p(A,Le,De,ye)+u(A,re)*j:p(A,Le,De,ye),oe===0&&(Ce=Oe,he=A,ie=xe);var ae=Oe>0&&Oe>Ce&&Oe-Ce<s;if(Oe>Ce&&(he=A.map(function(be){return{node:be,clusterId:be.clusterId}}),ie=(0,y.clone)(xe),Ce=Oe),ae||oe>100)break;oe++,Object.keys(xe).forEach(function(be){var We=0;q.forEach(function(we){var Ze=we.source,Ve=we.target,et=Ie[Ze].node.clusterId,ht=Ie[Ve].node.clusterId;(et===be&&ht!==be||ht===be&&et!==be)&&(We+=we[l]||1)}),xe[be].sumTot=We}),A.forEach(function(be,We){var we,Ze=xe[be.clusterId],Ve=0,et=De[We]/(2*ye),ht=0,Fe=Ze.nodes;Fe.forEach(function(In){var Ft=Ie[In.id].idx;ht+=Le[We][Ft]||0});var mt=ht-Ze.sumTot*et,dt=Fe.filter(function(In){return In.id!==be.id}),Lt=[];dt.forEach(function(In,Ft){Lt[Ft]=re[In.originIndex]});var lt=u(dt,re)*j,rn=ce[be.id];if(Object.keys(rn).forEach(function(In){var Ft=Ie[In].node.clusterId;if(Ft!==be.clusterId){var kt=xe[Ft],At=kt.nodes;if(At&&At.length){var Fn=0;At.forEach(function(hr){var pr=Ie[hr.id].idx;Fn+=Le[We][pr]||0});var pn=Fn-kt.sumTot*et,en=At.concat([be]),Wn=[];en.forEach(function(hr,pr){Wn[pr]=re[hr.originIndex]});var Mn=u(en,re)*j,Kn=pn-mt;m&&(Kn=pn+Mn-(mt+lt)),Kn>Ve&&(Ve=Kn,we=kt)}}}),Ve>0){we.nodes.push(be);var qt=be.clusterId;be.clusterId=we.id;var hn=Ze.nodes.indexOf(be);Ze.nodes.splice(hn,1);var Kt=0,an=0;q.forEach(function(In){var Ft=In.source,kt=In.target,At=Ie[Ft].node.clusterId,Fn=Ie[kt].node.clusterId;(At===we.id&&Fn!==we.id||Fn===we.id&&At!==we.id)&&(Kt+=In[l]||1),(At===qt&&Fn!==qt||Fn===qt&&At!==qt)&&(an+=In[l]||1)}),we.sumTot=Kt,Ze.sumTot=an}})}var ve={},X=0;Object.keys(ie).forEach(function(be){var We=ie[be];if(We.nodes&&We.nodes.length){var we=String(X+1);we!==be&&(We.id=we,We.nodes=We.nodes.map(function(Ze){return{id:Ze.id,clusterId:we}}),ie[we]=We,ve[be]=we,delete ie[be],X++)}else delete ie[be]}),he.forEach(function(be){var We=be.node,we=be.clusterId;We&&(We.clusterId=we,We.clusterId&&ve[We.clusterId]&&(We.clusterId=ve[We.clusterId]))});var se=[],fe={};q.forEach(function(be){var We=be.source,we=be.target,Ze=be[l]||1,Ve=Ie[We].node.clusterId,et=Ie[we].node.clusterId;if(Ve&&et){var ht=\"\".concat(Ve,\"---\").concat(et);if(fe[ht])fe[ht].weight+=Ze,fe[ht].count++;else{var Fe={source:Ve,target:et,weight:Ze,count:1};fe[ht]=Fe,se.push(Fe)}}});var _e=[];return Object.keys(ie).forEach(function(be){_e.push(ie[be])}),{clusters:_e,clusterEdges:se}};c.default=a},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.getPropertyWeight=c.getAllSortProperties=c.getAllProperties=c.default=void 0;var y=r(134),N=function(p,u){p===void 0&&(p=[]),u===void 0&&(u=100);var a={};p.forEach(function(h){h.properties&&Object.keys(h.properties).forEach(function(l){l===\"id\"||!\"\".concat(h.properties[l]).match(y.secondReg)&&!\"\".concat(h.properties[l]).match(y.dateReg)&&isNaN(Number(h.properties[l]))?a.hasOwnProperty(l)&&delete a[l]:a.hasOwnProperty(l)?a[l]+=1:a[l]=1})});var f=Object.keys(a).sort(function(h,l){return a[l]-a[h]});return f.length<u?f:f.slice(0,u)};c.getAllSortProperties=N;var C=function(p,u){return u.map(function(a){return p.hasOwnProperty(a)?p[a]:0})},w=function(p){for(var u=N(p),a=[],f=0;f<p.length;f++)a[f]=C(p[f].properties,u);return a};c.getPropertyWeight=w;var O=function(p,u){u===void 0&&(u=void 0);var a=[];return p.forEach(function(f){u===void 0&&a.push(f),f[u]!==void 0&&a.push(f[u])}),a};c.getAllProperties=O;var b={getAllSortProperties:N,getPropertyWeight:w,getAllProperties:O};c.default=b},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.secondReg=c.dateReg=void 0,c.secondReg=/^(\\d{1,4})(-|\\/)(\\d{1,2})\\2(\\d{1,2})$/,c.dateReg=/^(\\d{1,4})(-|\\/)(\\d{1,2})\\2(\\d{1,2}) (\\d{1,2}):(\\d{1,2}):(\\d{1,2})$/},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.oneHot=c.getDistance=c.getAllKeyValueMap=c.default=void 0;var y,N=r(0),C=r(136),w=(y=r(77))&&y.__esModule?y:{default:y},O=function(a,f,h){var l=[];f!=null&&f.length?l=f:(a.forEach(function(m){l=l.concat(Object.keys(m))}),l=(0,N.uniq)(l));var s={};return l.forEach(function(m){var x=[];a.forEach(function(M){M[m]!==void 0&&M[m]!==\"\"&&x.push(M[m])}),x.length&&!(h!=null&&h.includes(m))&&(s[m]=(0,N.uniq)(x))}),s};c.getAllKeyValueMap=O;var b=function(a,f,h){var l=O(a,f,h),s=[];if(!Object.keys(l).length)return s;var m=Object.values(l).every(function(x){return x.every(function(M){return typeof M==\"number\"})});return a.forEach(function(x,M){var E=[];Object.keys(l).forEach(function(j){var L=x[j],A=l[j],J=A.findIndex(function(me){return L===me}),q=[];if(m)q.push(L);else for(var re=0;re<A.length;re++)re===J?q.push(1):q.push(0);E=E.concat(q)}),s[M]=E}),s};c.oneHot=b;var p=function(a,f,h,l){h===void 0&&(h=C.DistanceType.EuclideanDistance);var s=0;switch(h){case C.DistanceType.EuclideanDistance:s=new w.default(a).euclideanDistance(new w.default(f))}return s};c.getDistance=p;var u={getAllKeyValueMap:O,oneHot:b,getDistance:p};c.default=u},function(Ee,c,r){\"use strict\";var y;Object.defineProperty(c,\"__esModule\",{value:!0}),c.DistanceType=void 0,c.DistanceType=y,function(N){N.EuclideanDistance=\"euclideanDistance\"}(y||(c.DistanceType=y={}))},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var y=w(r(138)),N=w(r(139)),C=r(27);function w(u){return u&&u.__esModule?u:{default:u}}var O=function(u,a){var f=[],h=u.nodes,l=h===void 0?[]:h,s=u.edges,m=s===void 0?[]:s;if(l.length===0)return f;var x=l[0],M=new Set;M.add(x);var E=new N.default(function(J,q){return a?J.weight-q.weight:0});for((0,C.getEdgesByNodeId)(x.id,m).forEach(function(J){E.insert(J)});!E.isEmpty();){var j=E.delMin(),L=j.source,A=j.target;M.has(L)&&M.has(A)||(f.push(j),M.has(L)||(M.add(L),(0,C.getEdgesByNodeId)(L,m).forEach(function(J){E.insert(J)})),M.has(A)||(M.add(A),(0,C.getEdgesByNodeId)(A,m).forEach(function(J){E.insert(J)})))}return f},b=function(u,a){var f=[],h=u.nodes,l=h===void 0?[]:h,s=u.edges,m=s===void 0?[]:s;if(l.length===0)return f;var x=m.map(function(A){return A});a&&x.sort(function(A,J){return A.weight-J.weight});for(var M=new y.default(l.map(function(A){return A.id}));x.length>0;){var E=x.shift(),j=E.source,L=E.target;M.connected(j,L)||(f.push(E),M.union(j,L))}return f},p=function(u,a,f){return f?{prim:O,kruskal:b}[f](u,a):b(u,a)};c.default=p},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var y=function(){function N(C){this.count=C.length,this.parent={};for(var w=0,O=C;w<O.length;w++){var b=O[w];this.parent[b]=b}}return N.prototype.find=function(C){for(;this.parent[C]!==C;)C=this.parent[C];return C},N.prototype.union=function(C,w){var O=this.find(C),b=this.find(w);O!==b&&(O<b?(this.parent[w]!==w&&this.union(this.parent[w],C),this.parent[w]=this.parent[C]):(this.parent[C]!==C&&this.union(this.parent[C],w),this.parent[C]=this.parent[w]))},N.prototype.connected=function(C,w){return this.find(C)===this.find(w)},N}();c.default=y},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var y=function(C,w){return C-w},N=function(){function C(w){w===void 0&&(w=y),this.compareFn=w,this.list=[]}return C.prototype.getLeft=function(w){return 2*w+1},C.prototype.getRight=function(w){return 2*w+2},C.prototype.getParent=function(w){return w===0?null:Math.floor((w-1)/2)},C.prototype.isEmpty=function(){return this.list.length<=0},C.prototype.top=function(){return this.isEmpty()?void 0:this.list[0]},C.prototype.delMin=function(){var w=this.top(),O=this.list.pop();return this.list.length>0&&(this.list[0]=O,this.moveDown(0)),w},C.prototype.insert=function(w){if(w!==null){this.list.push(w);var O=this.list.length-1;return this.moveUp(O),!0}return!1},C.prototype.moveUp=function(w){for(var O=this.getParent(w);w&&w>0&&this.compareFn(this.list[O],this.list[w])>0;){var b=this.list[O];this.list[O]=this.list[w],this.list[w]=b,w=O,O=this.getParent(w)}},C.prototype.moveDown=function(w){var O,b=w,p=this.getLeft(w),u=this.getRight(w),a=this.list.length;p!==null&&p<a&&this.compareFn(this.list[b],this.list[p])>0?b=p:u!==null&&u<a&&this.compareFn(this.list[b],this.list[u])>0&&(b=u),w!==b&&(O=[this.list[b],this.list[w]],this.list[w]=O[0],this.list[b]=O[1],this.moveDown(b))},C}();c.default=N},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var y,N=(y=r(74))&&y.__esModule?y:{default:y},C=r(27),w=function(O,b,p){typeof b!=\"number\"&&(b=1e-6),typeof p!=\"number\"&&(p=.85);for(var u,a=1,f=0,h=1e3,l=O.nodes,s=l===void 0?[]:l,m=O.edges,x=m===void 0?[]:m,M=s.length,E={},j={},L=0;L<M;++L)E[J=(ee=s[L]).id]=1/M,j[J]=1/M;for(var A=(0,N.default)(O);h>0&&a>b;){for(f=0,L=0;L<M;++L){var J=(ee=s[L]).id;if(u=0,A[ee.id].inDegree===0)E[J]=0;else{for(var q=(0,C.getNeighbors)(J,x,\"source\"),re=0;re<q.length;++re){var me=q[re],Te=A[me].outDegree;Te>0&&(u+=j[me]/Te)}E[J]=p*u,f+=E[J]}}for(f=(1-f)/M,a=0,L=0;L<M;++L){var ee;u=E[J=(ee=s[L]).id]+f,a+=Math.abs(u-j[J]),j[J]=u}h-=1}return j};c.default=w},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var y=r(1),N=b(r(76)),C=b(r(142)),w=b(r(58)),O=r(27);function b(E){return E&&E.__esModule?E:{default:E}}var p=function(E,j,L,A){L===void 0&&(L=\"cluster\"),A===void 0&&(A=2);var J=[],q=E.nodes;return j.forEach(function(re,me){J.push(u(q,re,me,L,A))}),J},u=function(E,j,L,A,J){var q=[L],re=[],me={};return j.forEach(function(Te,ee){if(Te<=J&&L!==ee){q.push(ee),re.push(E[ee]);var xe=E[ee][A];me[xe]?(me[xe].count++,me[xe].dists.push(Te)):me[xe]={count:1,dists:[Te]}}}),Object.keys(me).forEach(function(Te){me[Te].dists=me[Te].dists.sort(function(ee,xe){return ee-xe})}),{nodeIdx:L,nodeId:E[L].id,nodeIdxs:q,neighbors:re,neighborNum:q.length-1,nodeLabelCountMap:me}},a=function(E,j,L,A){var J=L.nodes;return A||(A={}),Object.keys(E).forEach(function(q){var re,me;if(!A||!A[q]){A[q]={nodes:[],edges:[]};var Te=E[q],ee=(re=j[Te.start])===null||re===void 0?void 0:re.nodeIdxs,xe=(me=j[Te.end])===null||me===void 0?void 0:me.nodeIdxs;if(ee&&xe){var Ie=new Set(xe),Le=ee.filter(function(Ce){return Ie.has(Ce)});if(Le&&Le.length){for(var De={},ce=Le.length,ye=0;ye<ce;ye++){var Oe=J[Le[ye]];A[q].nodes.push(Oe),De[Oe.id]=!0}L.edges.forEach(function(Ce){De[Ce.source]&&De[Ce.target]&&A[q].edges.push(Ce)})}}}}),A},f=function(E,j,L,A){var J,q,re={};E.nodes.forEach(function(Te){re[Te.id]=Te});var me=0;return!(!((J=j==null?void 0:j.edges)===null||J===void 0)&&J.length)||((q=j==null?void 0:j.nodes)===null||q===void 0?void 0:q.length)<2?0:(E.edges.forEach(function(Te){var ee=re[Te.source][L],xe=re[Te.target][L],Ie=j==null?void 0:j.nodes[0][L],Le=j==null?void 0:j.nodes[1][L],De=j==null?void 0:j.edges[0][A];Te[A]===De&&(ee===Ie&&xe===Le||ee===Le&&xe===Ie)&&me++}),me)},h=function(E,j){var L={},A={};return E.forEach(function(J,q){L[J.id]={idx:q,node:J,degree:0,inDegree:0,outDegree:0};var re=J[j];A[re]||(A[re]=[]),A[re].push(J)}),{nodeMap:L,nodeLabelMap:A}},l=function(E,j,L){var A={},J={};return E.forEach(function(q,re){A[\"\".concat(O.uniqueId)]={idx:re,edge:q};var me=q[j];J[me]||(J[me]=[]),J[me].push(q);var Te=L[q.source];Te&&(Te.degree++,Te.outDegree++);var ee=L[q.target];ee&&(ee.degree++,ee.inDegree++)}),{edgeMap:A,edgeLabelMap:J}},s=function(E,j,L){var A=j.length,J={};return j.forEach(function(q,re){for(var me=L?0:re+1,Te=E[re].id,ee=me;ee<A;ee++)if(re!==ee){var xe=E[ee].id,Ie=q[ee];J[\"\".concat(Te,\"-\").concat(xe)]=Ie,L||(J[\"\".concat(xe,\"-\").concat(Te)]=Ie)}}),J},m=function(E,j,L,A,J,q,re,me,Te,ee,xe){var Ie,Le=\"\".concat(j.id,\"-\").concat(L.id);if(ee&&ee[Le])return ee[Le];var De=xe?xe[Le]:void 0;if(!De){var ce=((Ie={})[Le]={start:A[j.id].idx,end:A[L.id].idx,distance:J},Ie);De=(xe=a(ce,q,E,xe))[Le]}return f(De,re,me,Te)},x=function(E,j,L,A){var J,q,re,me=(J=E[j])===null||J===void 0?void 0:J.degree,Te=(q=E[j])===null||q===void 0?void 0:q.inDegree,ee=(re=E[j])===null||re===void 0?void 0:re.outDegree;return E[j]===void 0&&(me=1/0,Te=1/0,ee=1/0,A[j].forEach(function(xe){var Ie=L[xe.id].degree;me>Ie&&(me=Ie);var Le=L[xe.id].inDegree;Te>Le&&(Te=Le);var De=L[xe.id].outDegree;ee>De&&(ee=De)}),E[j]={degree:me,inDegree:Te,outDegree:ee}),{minPatternNodeLabelDegree:me,minPatternNodeLabelInDegree:Te,minPatternNodeLabelOutDegree:ee}},M=function(E,j,L,A,J,q,re){var me;if(L===void 0&&(L=!1),q===void 0&&(q=\"cluster\"),re===void 0&&(re=\"cluster\"),E&&E.nodes){var Te=E.nodes.length;if(Te){var ee=(0,N.default)(E,L),xe=(0,N.default)(j,L),Ie=s(E.nodes,ee,L),Le=s(j.nodes,xe,L),De=h(E.nodes,q),ce=De.nodeMap,ye=De.nodeLabelMap,Oe=h(j.nodes,q),Ce=Oe.nodeMap,oe=Oe.nodeLabelMap;l(E.edges,re,ce);var he=l(j.edges,re,Ce).edgeLabelMap,ie=[];xe==null||xe.forEach(function(pn){ie=ie.concat(pn)}),J||(J=Math.max.apply(Math,(0,y.__spreadArray)((0,y.__spreadArray)([],ie,!1),[2],!1))),A||(A=J);var ae=p(E,ee,q,A),ve=p(j,xe,q,A),X=function(pn,en,Wn,Mn,Kn){var hr=Math.ceil(Wn/en),pr={},zr=0;return Mn.forEach(function(Wr,Nr){for(var Kr=0,ko=0,Ur=Wr.nodeIdxs,gn=Wr.neighborNum-1;Kr<hr;){for(var Gt=Ur[1+Math.floor(Math.random()*gn)],bt=0;(pr[\"\".concat(Nr,\"-\").concat(Gt)]||pr[\"\".concat(Gt,\"-\").concat(Nr)])&&(Gt=Math.floor(Math.random()*en),!(++bt>2*en)););if(bt<2*en&&(pr[\"\".concat(Nr,\"-\").concat(Gt)]={start:Nr,end:Gt,distance:Kn[Nr][Gt]},Kr++,++zr>=Wn))return pr;if(++ko>2*en)break}Kr<hr&&(hr=(hr+(hr-Kr))/(en-Nr-1))}),pr}(0,Te,Math.min(100,Te*(Te-1)/2),ae,ee),se=a(X,ae,E),fe={graphs:se,nodeLabelProp:q,edgeLabelProp:re,minSupport:1,minNodeNum:1,maxNodeNum:4,directed:L},_e=(0,C.default)(fe).slice(0,10),be=_e.length,We=[];_e.forEach(function(pn,en){We[en]={},Object.keys(se).forEach(function(Wn){var Mn=se[Wn],Kn=f(Mn,pn,q,re);We[en][Wn]=Kn})});var we=function(pn,en,Wn){for(var Mn=1/0,Kn=0,hr=function(zr){var Wr=pn[zr],Nr=Object.keys(Wr).sort(function(bt,Zt){return Wr[bt]-Wr[Zt]}),Kr=[];Nr.forEach(function(bt,Zt){Kr[Zt%10]||(Kr[Zt%10]={graphs:[],totalCount:0,aveCount:0}),Kr[Zt%10].graphs.push(bt),Kr[Zt%10].totalCount+=Wr[bt]});var ko=0,Ur=[];Kr.forEach(function(bt){var Zt=bt.totalCount/bt.graphs.length;bt.aveCount=Zt,Ur.push(Zt);var gt=0,Wt=bt.length;bt.graphs.forEach(function(xn,Dt){var Xn=Wr[xn];bt.graphs.forEach(function(Rn,wt){Dt!==wt&&(gt+=Math.abs(Xn-Wr[Rn]))})}),ko+=gt/=Wt*(Wt-1)/2}),ko/=Kr.length;var gn=0;Ur.forEach(function(bt,Zt){Ur.forEach(function(gt,Wt){Zt!==Wt&&(gn+=Math.abs(bt-gt))}),gn/=Ur.length*(Ur.length-1)/2});var Gt=gn-ko;Mn<Gt&&(Mn=Gt,Kn=zr)},pr=0;pr<en;pr++)hr(pr);return{structure:Wn[Kn],structureCountMap:pn[Kn]}}(We,be,_e),Ze=we.structure,Ve=we.structureCountMap,et=j.nodes[0],ht=[],Fe=(me=j.nodes[0])===null||me===void 0?void 0:me[q],mt=-1/0;j.nodes.forEach(function(pn){var en=pn[q],Wn=ye[en];(Wn==null?void 0:Wn.length)>mt&&(mt=Wn.length,ht=Wn,Fe=en,et=pn)});var dt={},Lt={},lt={},rn={},qt={},hn={};Object.keys(oe).forEach(function(pn,en){qt[pn]=[],L&&(hn[pn]=[]);var Wn=-1/0,Mn=oe[pn],Kn={};Mn.forEach(function(Wr){var Nr=Le[\"\".concat(et.id,\"-\").concat(Wr.id)];if(Nr&&qt[pn].push(Nr),Wn<Nr&&(Wn=Nr),Kn[\"\".concat(et.id,\"-\").concat(Wr.id)]={start:0,end:Ce[Wr.id].idx,distance:Nr},L){var Kr=Le[\"\".concat(Wr.id,\"-\").concat(et.id)];Kr&&hn[pn].push(Kr)}}),qt[pn]=qt[pn].sort(function(Wr,Nr){return Wr-Nr}),L&&(hn[pn]=hn[pn].sort(function(Wr,Nr){return Wr-Nr})),Lt=a(Kn,ve,j,Lt);var hr=[];if(Object.keys(Kn).forEach(function(Wr){if(lt[Wr])hr.push(lt[Wr]);else{var Nr=Lt[Wr];lt[Wr]=f(Nr,Ze,q,re),hr.push(lt[Wr])}}),hr=hr.sort(function(Wr,Nr){return Nr-Wr}),rn[\"\".concat(et.id,\"-\").concat(pn)]=hr,pn!==Fe)for(var pr=function(Wr){var Nr=ht[Wr],Kr=ae[ce[Nr.id].idx],ko=Kr.nodeLabelCountMap[pn],Ur=oe[pn].length;if(!ko||ko.count<Ur)return ht.splice(Wr,1),\"continue\";for(var gn=!1,Gt=0;Gt<Ur;Gt++)if(ko.dists[Gt]>qt[pn][Gt]){gn=!0;break}if(gn)return ht.splice(Wr,1),\"continue\";var bt={};Kr.neighbors.forEach(function(Wt){var xn=Ie[\"\".concat(Nr.id,\"-\").concat(Wt.id)];bt[\"\".concat(Nr.id,\"-\").concat(Wt.id)]={start:ce[Nr.id].idx,end:ce[Wt.id].idx,distance:xn}}),se=a(bt,ae,E,se);var Zt=[];Object.keys(bt).forEach(function(Wt){if(Ve[Wt])Zt.push(Ve[Wt]);else{var xn=se[Wt];Ve[Wt]=f(xn,Ze,q,re),Zt.push(Ve[Wt])}}),Zt=Zt.sort(function(Wt,xn){return xn-Wt});var gt=!1;for(Gt=0;Gt<Ur;Gt++)if(Zt[Gt]<hr[Gt]){gt=!0;break}return gt?(ht.splice(Wr,1),\"continue\"):void 0},zr=((ht==null?void 0:ht.length)||0)-1;zr>=0;zr--)pr(zr)});var Kt=[];ht==null||ht.forEach(function(pn){for(var en=ce[pn.id].idx,Wn=u(E.nodes,ee[en],en,q,J).neighbors,Mn=!1,Kn=Wn.length-1;Kn>=0;Kn--){if(Wn.length+1<j.nodes.length)return void(Mn=!0);var hr=Wn[Kn],pr=hr[q];if(oe[pr]&&oe[pr].length)if(qt[pr]&&qt[pr].length){var zr=\"\".concat(pn.id,\"-\").concat(hr.id),Wr=Ie[zr],Nr=qt[pr].length-1;if(Wr>qt[pr][Nr])Wn.splice(Kn,1);else{if(L){var Kr=\"\".concat(hr.id,\"-\").concat(pn.id),ko=Ie[Kr];if(Nr=hn[pr].length-1,ko>hn[pr][Nr]){Wn.splice(Kn,1);continue}}var Ur=Ve[zr]?Ve[zr]:m(E,pn,hr,ce,Wr,ae,Ze,q,re,Ve,se),gn=\"\".concat(et.id,\"-\").concat(pr);if(Ur<rn[gn][rn[gn].length-1])Wn.splice(Kn,1);else{var Gt=x(dt,pr,Ce,oe),bt=Gt.minPatternNodeLabelDegree;Gt.minPatternNodeLabelInDegree,Gt.minPatternNodeLabelOutDegree,ce[hr.id].degree<bt&&Wn.splice(Kn,1)}}}else Wn.splice(Kn,1);else Wn.splice(Kn,1)}Mn||Kt.push({nodes:[pn].concat(Wn)})});var an=(0,w.default)(j,et.id,!1).length,In={};L?(Object.keys(an).forEach(function(pn){var en=Ce[pn].node[q];In[en]?In[en].push(an[pn]):In[en]=[an[pn]]}),Object.keys(In).forEach(function(pn){In[pn].sort(function(en,Wn){return en-Wn})})):In=qt;for(var Ft=function(pn){var en=Kt[pn],Wn=en.nodes[0],Mn={},Kn={};en.nodes.forEach(function(xr,jr){Kn[xr.id]={idx:jr,node:xr,degree:0,inDegree:0,outDegree:0};var yo=xr[q];Mn[yo]?Mn[yo]++:Mn[yo]=1});var hr=[],pr={};E.edges.forEach(function(xr){Kn[xr.source]&&Kn[xr.target]&&(hr.push(xr),pr[xr[re]]?pr[xr[re]]++:pr[xr[re]]=1,Kn[xr.source].degree++,Kn[xr.target].degree++,Kn[xr.source].outDegree++,Kn[xr.target].inDegree++)});for(var zr=Object.keys(he).length,Wr=!1,Nr=0;Nr<zr;Nr++){var Kr=Object.keys(he)[Nr];if(!pr[Kr]||pr[Kr]<he[Kr].length){Wr=!0;break}}if(Wr)return Kt.splice(pn,1),\"continue\";var ko=hr.length;if(ko<j.edges.length)return Kt.splice(pn,1),\"break\";var Ur=!1,gn=function(xr){var jr=hr[xr],yo=jr[re],eo=he[yo];if(!eo||!eo.length)return pr[yo]--,eo&&pr[yo]<eo.length?(Ur=!0,\"break\"):(hr.splice(xr,1),Kn[jr.source].degree--,Kn[jr.target].degree--,Kn[jr.source].outDegree--,Kn[jr.target].inDegree--,\"continue\");var vi=Kn[jr.source].node[q],Ti=Kn[jr.target].node[q],wi=!1;return eo.forEach(function(mi){var Zi=Ce[mi.source].node,aa=Ce[mi.target].node;Zi[q]===vi&&aa[q]===Ti&&(wi=!0),L||Zi[q]!==Ti||aa[q]!==vi||(wi=!0)}),wi?void 0:(pr[yo]--,eo&&pr[yo]<eo.length?(Ur=!0,\"break\"):(hr.splice(xr,1),Kn[jr.source].degree--,Kn[jr.target].degree--,Kn[jr.source].outDegree--,Kn[jr.target].inDegree--,\"continue\"))};for(Nr=ko-1;Nr>=0&&gn(Nr)!==\"break\";Nr--);if(Ur)return Kt.splice(pn,1),\"continue\";en.edges=hr;var Gt=(0,w.default)(en,en.nodes[0].id,!1).length;if(Object.keys(Gt).reverse().forEach(function(xr){if(xr!==en.nodes[0].id&&!Ur){if(Gt[xr]===1/0){var jr=Kn[xr].node[q];if(Mn[jr]--,Mn[jr]<oe[jr].length)return void(Ur=!0);var yo=en.nodes.indexOf(Kn[xr].node);return en.nodes.splice(yo,1),void(Kn[xr]=void 0)}var eo=ce[xr].node[q];if(!In[eo]||!In[eo].length||Gt[xr]>In[eo][In[eo].length-1]){if(jr=Kn[xr].node[q],Mn[jr]--,Mn[jr]<oe[jr].length)return void(Ur=!0);yo=en.nodes.indexOf(Kn[xr].node),en.nodes.splice(yo,1),Kn[xr]=void 0}}}),Ur)return Kt.splice(pn,1),\"continue\";for(var bt=!0,Zt=0;bt&&!Ur;){if(bt=!1,L?Kn[Wn.id].degree<Ce[et.id].degree||Kn[Wn.id].inDegree<Ce[et.id].inDegree||Kn[Wn.id].outDegree<Ce[et.id].outDegree:Kn[Wn.id].degree<Ce[et.id].degree){Ur=!0;break}if(Mn[Wn[q]]<oe[Wn[q]].length){Ur=!0;break}for(var gt=en.nodes.length-1;gt>=0;gt--){var Wt=en.nodes[gt],xn=Kn[Wt.id].degree,Dt=Kn[Wt.id].inDegree,Xn=Kn[Wt.id].outDegree,Rn=Wt[q],wt=x(dt,Rn,Ce,oe),pt=wt.minPatternNodeLabelDegree,Ue=wt.minPatternNodeLabelInDegree,xt=wt.minPatternNodeLabelOutDegree;if(L?xn<pt||Dt<Ue||Xn<xt:xn<pt){if(Mn[Wt[q]]--,Mn[Wt[q]]<oe[Wt[q]].length){Ur=!0;break}en.nodes.splice(gt,1),Kn[Wt.id]=void 0,bt=!0}}if(Ur||!bt&&Zt!==0)break;for(var cn=(ko=hr.length)-1;cn>=0;cn--){var er=hr[cn];if(!Kn[er.source]||!Kn[er.target]){hr.splice(cn,1);var Mr=er[re];if(pr[Mr]--,Kn[er.source]&&(Kn[er.source].degree--,Kn[er.source].outDegree--),Kn[er.target]&&(Kn[er.target].degree--,Kn[er.target].inDegree--),he[Mr]&&pr[Mr]<he[Mr].length){Ur=!0;break}bt=!0}}Zt++}return Ur||Ur||en.nodes.length<j.nodes.length||hr.length<j.edges.length?(Kt.splice(pn,1),\"continue\"):void 0},kt=Kt.length-1;kt>=0&&Ft(kt)!==\"break\";kt--);var At=Kt.length,Fn=function(pn){var en=Kt[pn],Wn={};en.edges.forEach(function(hr){var pr=\"\".concat(hr.source,\"-\").concat(hr.target,\"-\").concat(hr.label);Wn[pr]?Wn[pr]++:Wn[pr]=1});for(var Mn=function(hr){var pr=Kt[hr],zr={};pr.edges.forEach(function(Nr){var Kr=\"\".concat(Nr.source,\"-\").concat(Nr.target,\"-\").concat(Nr.label);zr[Kr]?zr[Kr]++:zr[Kr]=1});var Wr=!0;Object.keys(zr).length!==Object.keys(Wn).length?Wr=!1:Object.keys(Wn).forEach(function(Nr){zr[Nr]!==Wn[Nr]&&(Wr=!1)}),Wr&&Kt.splice(hr,1)},Kn=At-1;Kn>pn;Kn--)Mn(Kn);At=Kt.length};for(kt=0;kt<=At-1;kt++)Fn(kt);return Kt}}};c.default=M},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var y=r(0),N=r(143),C=function(){function u(a,f,h,l,s){this.fromNode=a,this.toNode=f,this.nodeEdgeNodeLabel={nodeLabel1:h||N.VACANT_NODE_LABEL,edgeLabel:l||N.VACANT_EDGE_LABEL,nodeLabel2:s||N.VACANT_NODE_LABEL}}return u.prototype.equalTo=function(a){return this.fromNode===a.formNode&&this.toNode===a.toNode&&this.nodeEdgeNodeLabel===a.nodeEdgeNodeLabel},u.prototype.notEqualTo=function(a){return!this.equalTo(a)},u}(),w=function(){function u(){this.rmpath=[],this.dfsEdgeList=[]}return u.prototype.equalTo=function(a){var f=this.dfsEdgeList.length;if(f!==a.length)return!1;for(var h=0;h<f;h++)if(this.dfsEdgeList[h]!==a[h])return!1;return!0},u.prototype.notEqualTo=function(a){return!this.equalTo(a)},u.prototype.pushBack=function(a,f,h,l,s){return this.dfsEdgeList.push(new C(a,f,h,l,s)),this.dfsEdgeList},u.prototype.toGraph=function(a,f){a===void 0&&(a=N.VACANT_GRAPH_ID),f===void 0&&(f=!1);var h=new N.Graph(a,!0,f);return this.dfsEdgeList.forEach(function(l){var s=l.fromNode,m=l.toNode,x=l.nodeEdgeNodeLabel,M=x.nodeLabel1,E=x.edgeLabel,j=x.nodeLabel2;M!==N.VACANT_NODE_LABEL&&h.addNode(s,M),j!==N.VACANT_NODE_LABEL&&h.addNode(m,j),M!==N.VACANT_NODE_LABEL&&j!==M&&h.addEdge(void 0,s,m,E)}),h},u.prototype.buildRmpath=function(){this.rmpath=[];for(var a=void 0,f=this.dfsEdgeList.length-1;f>=0;f--){var h=this.dfsEdgeList[f],l=h.fromNode,s=h.toNode;l<s&&(a===void 0||s===a)&&(this.rmpath.push(f),a=l)}return this.rmpath},u.prototype.getNodeNum=function(){var a={};return this.dfsEdgeList.forEach(function(f){a[f.fromNode]||(a[f.fromNode]=!0),a[f.toNode]||(a[f.toNode]=!0)}),Object.keys(a).length},u}(),O=function(){function u(a){if(this.his={},this.nodesUsed={},this.edgesUsed={},this.edges=[],a){for(;a;){var f=a.edge;this.edges.push(f),this.nodesUsed[f.from]=1,this.nodesUsed[f.to]=1,this.edgesUsed[f.id]=1,a=a.preNode}this.edges=this.edges.reverse()}}return u.prototype.hasNode=function(a){return this.nodesUsed[a.id]===1},u.prototype.hasEdge=function(a){return this.edgesUsed[a.id]===1},u}(),b=function(){function u(a){var f=a.graphs,h=a.minSupport,l=h===void 0?2:h,s=a.minNodeNum,m=s===void 0?1:s,x=a.maxNodeNum,M=x===void 0?4:x,E=a.top,j=E===void 0?10:E,L=a.directed,A=L!==void 0&&L,J=a.verbose,q=J!==void 0&&J;this.graphs=f,this.dfsCode=new w,this.support=0,this.frequentSize1Subgraphs=[],this.frequentSubgraphs=[],this.minSupport=l,this.top=j,this.directed=A,this.counter=0,this.maxNodeNum=M,this.minNodeNum=m,this.verbose=q,this.maxNodeNum<this.minNodeNum&&(this.maxNodeNum=this.minNodeNum),this.reportDF=[]}return u.prototype.findForwardRootEdges=function(a,f){var h=this,l=[],s=a.nodeMap;return f.edges.forEach(function(m){(h.directed||f.label<=s[m.to].label)&&l.push(m)}),l},u.prototype.findBackwardEdge=function(a,f,h,l){if(!this.directed&&f===h)return null;for(var s=a.nodeMap,m=s[h.to].edges,x=m.length,M=0;M<x;M++){var E=m[M];if(!l.hasEdge(E)&&E.to===f.from){if(this.directed){if(s[f.from].label<s[h.to].label||s[f.from].label===s[h.to].label&&f.label<=E.label)return E}else if(f.label<E.label||f.label===E.label&&s[f.to].label<=s[h.to].label)return E}}return null},u.prototype.findForwardPureEdges=function(a,f,h,l){for(var s=[],m=f.to,x=a.nodeMap[m].edges,M=x.length,E=0;E<M;E++){var j=x[E],L=a.nodeMap[j.to];h<=L.label&&!l.hasNode(L)&&s.push(j)}return s},u.prototype.findForwardRmpathEdges=function(a,f,h,l){for(var s=[],m=a.nodeMap,x=m[f.to].label,M=m[f.from].edges,E=M.length,j=0;j<E;j++){var L=M[j],A=m[L.to].label;f.to===L.to||h>A||l.hasNode(m[L.to])||(f.label<L.label||f.label===L.label&&x<=A)&&s.push(L)}return s},u.prototype.getSupport=function(a){var f={};return a.forEach(function(h){f[h.graphId]||(f[h.graphId]=!0)}),Object.keys(f).length},u.prototype.findMinLabel=function(a){var f=void 0;return Object.keys(a).forEach(function(h){var l=a[h],s=l.nodeLabel1,m=l.edgeLabel,x=l.nodeLabel2;f?(s<f.nodeLabel1||s===f.nodeLabel1&&m<f.edgeLabel||s===f.nodeLabel1&&m===f.edgeLabel&&x<f.nodeLabel2)&&(f={nodeLabel1:s,edgeLabel:m,nodeLabel2:x}):f={nodeLabel1:s,edgeLabel:m,nodeLabel2:x}}),f},u.prototype.isMin=function(){var a=this,f=this.dfsCode;if(this.verbose&&console.log(\"isMin checking\",f),f.dfsEdgeList.length===1)return!0;var h=this.directed,l=f.toGraph(N.VACANT_GRAPH_ID,h),s=l.nodeMap,m=new w,x={};l.nodes.forEach(function(j){a.findForwardRootEdges(l,j).forEach(function(L){var A=s[L.to],J=\"\".concat(j.label,\"-\").concat(L.label,\"-\").concat(A.label);x[J]||(x[J]={projected:[],nodeLabel1:j.label,edgeLabel:L.label,nodeLabel2:A.label});var q={graphId:l.id,edge:L,preNode:null};x[J].projected.push(q)})});var M=this.findMinLabel(x);if(M){m.dfsEdgeList.push(new C(0,1,M.nodeLabel1,M.edgeLabel,M.nodeLabel2));var E=\"\".concat(M.nodeLabel1,\"-\").concat(M.edgeLabel,\"-\").concat(M.nodeLabel2);return function j(L){for(var A=m.buildRmpath(),J=m.dfsEdgeList[0].nodeEdgeNodeLabel.nodeLabel1,q=m.dfsEdgeList[A[0]].toNode,re={},me=!1,Te=0,ee=h?-1:0,xe=function(ie){if(me)return\"break\";L.forEach(function(ae){var ve=new O(ae),X=a.findBackwardEdge(l,ve.edges[A[ie]],ve.edges[A[0]],ve);X&&(re[X.label]||(re[X.label]={projected:[],edgeLabel:X.label}),re[X.label].projected.push({graphId:l.id,edge:re,preNode:ae}),Te=m.dfsEdgeList[A[ie]].fromNode,me=!0)})},Ie=A.length-1;Ie>ee&&xe(Ie)!==\"break\";Ie--);if(me){var Le=a.findMinLabel(re);m.dfsEdgeList.push(new C(q,Te,N.VACANT_NODE_LABEL,Le.edgeLabel,N.VACANT_NODE_LABEL));var De=m.dfsEdgeList.length-1;return a.dfsCode.dfsEdgeList[De]===m.dfsEdgeList[De]&&j(re[Le.edgeLabel].projected)}var ce={};me=!1;var ye=0;L.forEach(function(ie){var ae=new O(ie),ve=a.findForwardPureEdges(l,ae.edges[A[0]],J,ae);ve.length>0&&(me=!0,ye=q,ve.forEach(function(X){var se=\"\".concat(X.label,\"-\").concat(s[X.to].label);ce[se]||(ce[se]={projected:[],edgeLabel:X.label,nodeLabel2:s[X.to].label}),ce[se].projected.push({graphId:l.id,edge:X,preNode:ie})}))});var Oe=A.length,Ce=function(ie){if(me)return\"break\";var ae=A[ie];L.forEach(function(ve){var X=new O(ve),se=a.findForwardRmpathEdges(l,X.edges[ae],J,X);se.length>0&&(me=!0,ye=m.dfsEdgeList[ae].fromNode,se.forEach(function(fe){var _e=\"\".concat(fe.label,\"-\").concat(s[fe.to].label);ce[_e]||(ce[_e]={projected:[],edgeLabel:fe.label,nodeLabel2:s[fe.to].label}),ce[_e].projected.push({graphId:l.id,edge:fe,preNode:ve})}))})};for(Ie=0;Ie<Oe&&Ce(Ie)!==\"break\";Ie++);if(!me)return!0;var oe=a.findMinLabel(ce);m.dfsEdgeList.push(new C(ye,q+1,N.VACANT_NODE_LABEL,oe.edgeLabel,oe.nodeLabel2));var he=m.dfsEdgeList.length-1;return f.dfsEdgeList[he]===m.dfsEdgeList[he]&&j(ce[\"\".concat(oe.edgeLabel,\"-\").concat(oe.nodeLabel2)].projected)}(x[E].projected)}},u.prototype.report=function(){if(!(this.dfsCode.getNodeNum()<this.minNodeNum)){this.counter++;var a=this.dfsCode.toGraph(this.counter,this.directed);this.frequentSubgraphs.push((0,y.clone)(a))}},u.prototype.subGraphMining=function(a){var f=this;if(!(this.getSupport(a)<this.minSupport)&&this.isMin()){this.report();var h=this.dfsCode.getNodeNum(),l=this.dfsCode.buildRmpath(),s=this.dfsCode.dfsEdgeList[l[0]].toNode,m=this.dfsCode.dfsEdgeList[0].nodeEdgeNodeLabel.nodeLabel1,x={},M={};a.forEach(function(E){for(var j=f.graphs[E.graphId],L=j.nodeMap,A=new O(E),J=l.length-1;J>=0;J--){var q=f.findBackwardEdge(j,A.edges[l[J]],A.edges[l[0]],A);if(q){var re=\"\".concat(f.dfsCode.dfsEdgeList[l[J]].fromNode,\"-\").concat(q.label);M[re]||(M[re]={projected:[],toNodeId:f.dfsCode.dfsEdgeList[l[J]].fromNode,edgeLabel:q.label}),M[re].projected.push({graphId:E.graphId,edge:q,preNode:E})}}if(!(h>=f.maxNodeNum)){f.findForwardPureEdges(j,A.edges[l[0]],m,A).forEach(function(Te){var ee=\"\".concat(s,\"-\").concat(Te.label,\"-\").concat(L[Te.to].label);x[ee]||(x[ee]={projected:[],fromNodeId:s,edgeLabel:Te.label,nodeLabel2:L[Te.to].label}),x[ee].projected.push({graphId:E.graphId,edge:Te,preNode:E})});var me=function(Te){f.findForwardRmpathEdges(j,A.edges[l[Te]],m,A).forEach(function(ee){var xe=\"\".concat(f.dfsCode.dfsEdgeList[l[Te]].fromNode,\"-\").concat(ee.label,\"-\").concat(L[ee.to].label);x[xe]||(x[xe]={projected:[],fromNodeId:f.dfsCode.dfsEdgeList[l[Te]].fromNode,edgeLabel:ee.label,nodeLabel2:L[ee.to].label}),x[xe].projected.push({graphId:E.graphId,edge:ee,preNode:E})})};for(J=0;J<l.length;J++)me(J)}}),Object.keys(M).forEach(function(E){var j=M[E],L=j.toNodeId,A=j.edgeLabel;f.dfsCode.dfsEdgeList.push(new C(s,L,\"-1\",A,\"-1\")),f.subGraphMining(M[E].projected),f.dfsCode.dfsEdgeList.pop()}),Object.keys(x).forEach(function(E){var j=x[E],L=j.fromNodeId,A=j.edgeLabel,J=j.nodeLabel2;f.dfsCode.dfsEdgeList.push(new C(L,s+1,N.VACANT_NODE_LABEL,A,J)),f.subGraphMining(x[E].projected),f.dfsCode.dfsEdgeList.pop()})}},u.prototype.generate1EdgeFrequentSubGraphs=function(){var a=this.graphs,f=this.directed,h=this.minSupport,l=this.frequentSize1Subgraphs,s={},m={},x={},M={};return Object.keys(a).forEach(function(E){var j=a[E],L=j.nodeMap;j.nodes.forEach(function(A,J){var q=A.label,re=\"\".concat(E,\"-\").concat(q);if(!x[re]){var me=s[q]||0;me++,s[q]=me}x[re]={graphKey:E,label:q},A.edges.forEach(function(Te){var ee=q,xe=L[Te.to].label;if(!f&&ee>xe){var Ie=xe;xe=ee,ee=Ie}var Le=Te.label,De=\"\".concat(E,\"-\").concat(ee,\"-\").concat(Le,\"-\").concat(xe),ce=\"\".concat(ee,\"-\").concat(Le,\"-\").concat(xe);if(!m[ce]){var ye=m[ce]||0;ye++,m[ce]=ye}M[De]={graphId:E,nodeLabel1:ee,edgeLabel:Le,nodeLabel2:xe}})})}),Object.keys(s).forEach(function(E){if(!(s[E]<h)){var j={nodes:[],edges:[]};j.nodes.push({id:\"0\",label:E}),l.push(j)}}),l},u.prototype.run=function(){var a=this;if(this.frequentSize1Subgraphs=this.generate1EdgeFrequentSubGraphs(),!(this.maxNodeNum<2)){var f=this.graphs,h=(this.directed,{});Object.keys(f).forEach(function(l){var s=f[l],m=s.nodeMap;s.nodes.forEach(function(x){a.findForwardRootEdges(s,x).forEach(function(M){var E=m[M.to],j=\"\".concat(x.label,\"-\").concat(M.label,\"-\").concat(E.label);h[j]||(h[j]={projected:[],nodeLabel1:x.label,edgeLabel:M.label,nodeLabel2:E.label});var L={graphId:l,edge:M,preNode:null};h[j].projected.push(L)})})}),Object.keys(h).forEach(function(l){var s=h[l],m=s.projected,x=s.nodeLabel1,M=s.edgeLabel,E=s.nodeLabel2;a.dfsCode.dfsEdgeList.push(new C(0,1,x,M,E)),a.subGraphMining(m),a.dfsCode.dfsEdgeList.pop()})}},u}(),p=function(u){var a=u.graphs,f=u.directed,h=f!==void 0&&f,l=u.nodeLabelProp,s=l===void 0?\"cluster\":l,m=u.edgeLabelProp,x=m===void 0?\"cluster\":m,M=function(re,me,Te,ee){var xe={};return Object.keys(re).forEach(function(Ie,Le){var De=re[Ie],ce=new N.Graph(Le,!0,me),ye={};De.nodes.forEach(function(Oe,Ce){ce.addNode(Ce,Oe[Te]),ye[Oe.id]=Ce}),De.edges.forEach(function(Oe,Ce){var oe=ye[Oe.source],he=ye[Oe.target];ce.addEdge(-1,oe,he,Oe[ee])}),ce&&ce.getNodeNum()&&(xe[ce.id]=ce)}),xe}(a,h,s,x),E=u.minSupport,j=u.maxNodeNum,L=u.minNodeNum,A=u.verbose,J=u.top,q=new b({graphs:M,minSupport:E,maxNodeNum:j,minNodeNum:L,top:J,verbose:A,directed:h});return q.run(),function(re,me,Te){var ee=[];return re.forEach(function(xe){var Ie={nodes:[],edges:[]};xe.nodes.forEach(function(Le){var De;Ie.nodes.push(((De={id:\"\".concat(Le.id)})[me]=Le.label,De))}),xe.edges.forEach(function(Le){var De;Ie.edges.push(((De={source:\"\".concat(Le.from),target:\"\".concat(Le.to)})[Te]=Le.label,De))}),ee.push(Ie)}),ee}(q.frequentSubgraphs,s,x)};c.default=p},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.VACANT_NODE_LABEL=c.VACANT_NODE_ID=c.VACANT_GRAPH_ID=c.VACANT_EDGE_LABEL=c.VACANT_EDGE_ID=c.Node=c.Graph=c.Edge=c.AUTO_EDGE_ID=void 0,c.VACANT_EDGE_ID=-1,c.VACANT_NODE_ID=-1,c.VACANT_EDGE_LABEL=\"-1\",c.VACANT_NODE_LABEL=\"-1\",c.VACANT_GRAPH_ID=-1,c.AUTO_EDGE_ID=\"-1\";var y=function(w,O,b,p){w===void 0&&(w=-1),O===void 0&&(O=-1),b===void 0&&(b=-1),p===void 0&&(p=\"-1\"),this.id=w,this.from=O,this.to=b,this.label=p};c.Edge=y;var N=function(){function w(O,b){O===void 0&&(O=-1),b===void 0&&(b=\"-1\"),this.id=O,this.label=b,this.edges=[],this.edgeMap={}}return w.prototype.addEdge=function(O){this.edges.push(O),this.edgeMap[O.id]=O},w}();c.Node=N;var C=function(){function w(O,b,p){O===void 0&&(O=-1),b===void 0&&(b=!0),p===void 0&&(p=!1),this.id=O,this.edgeIdAutoIncrease=b,this.edges=[],this.nodes=[],this.nodeMap={},this.edgeMap={},this.nodeLabelMap={},this.edgeLabelMap={},this.counter=0,this.directed=p}return w.prototype.getNodeNum=function(){return this.nodes.length},w.prototype.addNode=function(O,b){if(!this.nodeMap[O]){var p=new N(O,b);this.nodes.push(p),this.nodeMap[O]=p,this.nodeLabelMap[b]||(this.nodeLabelMap[b]=[]),this.nodeLabelMap[b].push(O)}},w.prototype.addEdge=function(O,b,p,u){if((this.edgeIdAutoIncrease||O===void 0)&&(O=this.counter++),!(this.nodeMap[b]&&this.nodeMap[p]&&this.nodeMap[p].edgeMap[O])){var a=new y(O,b,p,u);if(this.edges.push(a),this.edgeMap[O]=a,this.nodeMap[b].addEdge(a),this.edgeLabelMap[u]||(this.edgeLabelMap[u]=[]),this.edgeLabelMap[u].push(a),!this.directed){var f=new y(O,p,b,u);this.nodeMap[p].addEdge(f),this.edgeLabelMap[u].push(f)}}},w}();c.Graph=C},function(Ee,c,r){var y=r(145),N=r(146),C=Object.hasOwnProperty,w=Object.create(null);for(var O in y)C.call(y,O)&&(w[y[O]]=O);var b=Ee.exports={to:{},get:{}};function p(a,f,h){return Math.min(Math.max(f,a),h)}function u(a){var f=Math.round(a).toString(16).toUpperCase();return f.length<2?\"0\"+f:f}b.get=function(a){var f,h;switch(a.substring(0,3).toLowerCase()){case\"hsl\":f=b.get.hsl(a),h=\"hsl\";break;case\"hwb\":f=b.get.hwb(a),h=\"hwb\";break;default:f=b.get.rgb(a),h=\"rgb\"}return f?{model:h,value:f}:null},b.get.rgb=function(a){if(!a)return null;var f,h,l,s=[0,0,0,1];if(f=a.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(l=f[2],f=f[1],h=0;h<3;h++){var m=2*h;s[h]=parseInt(f.slice(m,m+2),16)}l&&(s[3]=parseInt(l,16)/255)}else if(f=a.match(/^#([a-f0-9]{3,4})$/i)){for(l=(f=f[1])[3],h=0;h<3;h++)s[h]=parseInt(f[h]+f[h],16);l&&(s[3]=parseInt(l+l,16)/255)}else if(f=a.match(/^rgba?\\(\\s*([+-]?\\d+)(?=[\\s,])\\s*(?:,\\s*)?([+-]?\\d+)(?=[\\s,])\\s*(?:,\\s*)?([+-]?\\d+)\\s*(?:[,|\\/]\\s*([+-]?[\\d\\.]+)(%?)\\s*)?\\)$/)){for(h=0;h<3;h++)s[h]=parseInt(f[h+1],0);f[4]&&(f[5]?s[3]=.01*parseFloat(f[4]):s[3]=parseFloat(f[4]))}else{if(!(f=a.match(/^rgba?\\(\\s*([+-]?[\\d\\.]+)\\%\\s*,?\\s*([+-]?[\\d\\.]+)\\%\\s*,?\\s*([+-]?[\\d\\.]+)\\%\\s*(?:[,|\\/]\\s*([+-]?[\\d\\.]+)(%?)\\s*)?\\)$/)))return(f=a.match(/^(\\w+)$/))?f[1]===\"transparent\"?[0,0,0,0]:C.call(y,f[1])?((s=y[f[1]])[3]=1,s):null:null;for(h=0;h<3;h++)s[h]=Math.round(2.55*parseFloat(f[h+1]));f[4]&&(f[5]?s[3]=.01*parseFloat(f[4]):s[3]=parseFloat(f[4]))}for(h=0;h<3;h++)s[h]=p(s[h],0,255);return s[3]=p(s[3],0,1),s},b.get.hsl=function(a){if(!a)return null;var f=a.match(/^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*)?\\)$/);if(f){var h=parseFloat(f[4]);return[(parseFloat(f[1])%360+360)%360,p(parseFloat(f[2]),0,100),p(parseFloat(f[3]),0,100),p(isNaN(h)?1:h,0,1)]}return null},b.get.hwb=function(a){if(!a)return null;var f=a.match(/^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*)?\\)$/);if(f){var h=parseFloat(f[4]);return[(parseFloat(f[1])%360+360)%360,p(parseFloat(f[2]),0,100),p(parseFloat(f[3]),0,100),p(isNaN(h)?1:h,0,1)]}return null},b.to.hex=function(){var a=N(arguments);return\"#\"+u(a[0])+u(a[1])+u(a[2])+(a[3]<1?u(Math.round(255*a[3])):\"\")},b.to.rgb=function(){var a=N(arguments);return a.length<4||a[3]===1?\"rgb(\"+Math.round(a[0])+\", \"+Math.round(a[1])+\", \"+Math.round(a[2])+\")\":\"rgba(\"+Math.round(a[0])+\", \"+Math.round(a[1])+\", \"+Math.round(a[2])+\", \"+a[3]+\")\"},b.to.rgb.percent=function(){var a=N(arguments),f=Math.round(a[0]/255*100),h=Math.round(a[1]/255*100),l=Math.round(a[2]/255*100);return a.length<4||a[3]===1?\"rgb(\"+f+\"%, \"+h+\"%, \"+l+\"%)\":\"rgba(\"+f+\"%, \"+h+\"%, \"+l+\"%, \"+a[3]+\")\"},b.to.hsl=function(){var a=N(arguments);return a.length<4||a[3]===1?\"hsl(\"+a[0]+\", \"+a[1]+\"%, \"+a[2]+\"%)\":\"hsla(\"+a[0]+\", \"+a[1]+\"%, \"+a[2]+\"%, \"+a[3]+\")\"},b.to.hwb=function(){var a=N(arguments),f=\"\";return a.length>=4&&a[3]!==1&&(f=\", \"+a[3]),\"hwb(\"+a[0]+\", \"+a[1]+\"%, \"+a[2]+\"%\"+f+\")\"},b.to.keyword=function(a){return w[a.slice(0,3)]}},function(Ee,c,r){\"use strict\";Ee.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]}},function(Ee,c,r){\"use strict\";var y=r(147),N=Array.prototype.concat,C=Array.prototype.slice,w=Ee.exports=function(O){for(var b=[],p=0,u=O.length;p<u;p++){var a=O[p];y(a)?b=N.call(b,C.call(a)):b.push(a)}return b};w.wrap=function(O){return function(){return O(w(arguments))}}},function(Ee,c){Ee.exports=function(r){return!(!r||typeof r==\"string\")&&(r instanceof Array||Array.isArray(r)||r.length>=0&&(r.splice instanceof Function||Object.getOwnPropertyDescriptor(r,r.length-1)&&r.constructor.name!==\"String\"))}},function(Ee,c,r){function y(O){return(y=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(b){return typeof b}:function(b){return b&&typeof Symbol==\"function\"&&b.constructor===Symbol&&b!==Symbol.prototype?\"symbol\":typeof b})(O)}var N=r(78),C=r(150),w={};Object.keys(N).forEach(function(O){w[O]={},Object.defineProperty(w[O],\"channels\",{value:N[O].channels}),Object.defineProperty(w[O],\"labels\",{value:N[O].labels});var b=C(O);Object.keys(b).forEach(function(p){var u=b[p];w[O][p]=function(a){var f=function(h){if(h==null)return h;arguments.length>1&&(h=Array.prototype.slice.call(arguments));var l=a(h);if(y(l)===\"object\")for(var s=l.length,m=0;m<s;m++)l[m]=Math.round(l[m]);return l};return\"conversion\"in a&&(f.conversion=a.conversion),f}(u),w[O][p].raw=function(a){var f=function(h){return h==null?h:(arguments.length>1&&(h=Array.prototype.slice.call(arguments)),a(h))};return\"conversion\"in a&&(f.conversion=a.conversion),f}(u)})}),Ee.exports=w},function(Ee,c,r){\"use strict\";Ee.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]}},function(Ee,c,r){var y=r(78);function N(O){var b=function(){for(var m={},x=Object.keys(y),M=x.length,E=0;E<M;E++)m[x[E]]={distance:-1,parent:null};return m}(),p=[O];for(b[O].distance=0;p.length;)for(var u=p.pop(),a=Object.keys(y[u]),f=a.length,h=0;h<f;h++){var l=a[h],s=b[l];s.distance===-1&&(s.distance=b[u].distance+1,s.parent=u,p.unshift(l))}return b}function C(O,b){return function(p){return b(O(p))}}function w(O,b){for(var p=[b[O].parent,O],u=y[b[O].parent][O],a=b[O].parent;b[a].parent;)p.unshift(b[a].parent),u=C(y[b[a].parent][a],u),a=b[a].parent;return u.conversion=p,u}Ee.exports=function(O){for(var b=N(O),p={},u=Object.keys(b),a=u.length,f=0;f<a;f++){var h=u[f];b[h].parent!==null&&(p[h]=w(h,b))}return p}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.camelize=c.isString=void 0,c.isString=function(w){return typeof w==\"string\"};var y,N,C=/-(\\w)/g;c.camelize=(y=function(w){return w.replace(C,function(O,b){return b?b.toUpperCase():\"\"})},N=Object.create(null),function(w){return N[w]||(N[w]=y(w))})},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.getFuncByUnknownType=c.getFunc=c.isFunction=void 0;var y=r(15),N=r(59);c.isFunction=function(C){return typeof C==\"function\"},c.getFunc=function(C,w,O){return O||((0,N.isNumber)(C)?function(){return C}:function(){return w})},c.getFuncByUnknownType=function(C,w,O){return O===void 0&&(O=!0),w||w===0?(0,c.isFunction)(w)?w:(0,N.isNumber)(w)?function(){return w}:(0,y.isArray)(w)?function(){if(O){var b=Math.max.apply(Math,w);return isNaN(b)?C:b}return w}:(0,y.isObject)(w)?function(){if(O){var b=Math.max(w.width,w.height);return isNaN(b)?C:b}return[w.width,w.height]}:function(){return C}:function(b){return b.size?(0,y.isArray)(b.size)?b.size[0]>b.size[1]?b.size[0]:b.size[1]:(0,y.isObject)(b.size)?b.size.width>b.size.height?b.size.width:b.size.height:b.size:C}}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.forceNBody=void 0;var y=r(61);function N(C){var w=0,O=0,b=0;if(C.length){for(var p=0;p<4;p++)(u=C[p])&&u.weight&&(w+=u.weight,O+=u.x*u.weight,b+=u.y*u.weight);C.x=O/w,C.y=b/w,C.weight=w}else{var u=C;C.x=u.data.x,C.y=u.data.y,C.weight=u.data.weight}}c.forceNBody=function(C,w,O,b,p){var u=O/b,a=C.map(function(h,l){var s=w[h.id],m=s.data,x=s.x,M=s.y,E=s.size,j=m.layout.force.nodeStrength;return{x,y:M,size:E,index:l,vx:0,vy:0,weight:u*j}}),f=(0,y.quadtree)(a,function(h){return h.x},function(h){return h.y}).visitAfter(N);return a.forEach(function(h){(function(l,s){s.visit(function(m,x,M,E,j){return function(L,A,J,q,re,me){var Te=me.x-L.x||.1,ee=me.y-L.y||.1,xe=q-A,Ie=Te*Te+ee*ee,Le=Math.sqrt(Ie)*Ie;if(xe*xe*.81<Ie){var De=L.weight/Le;return me.vx+=Te*De,me.vy+=ee*De,!0}if(L.length)return!1;L.data!==me&&(De=L.data.weight/Le,me.vx+=Te*De,me.vy+=ee*De)}(m,x,0,E,0,l)})})(h,f)}),a.map(function(h,l){var s=w[C[l].id].data.layout.force.mass,m=s===void 0?1:s;p[2*l]=h.vx/m,p[2*l+1]=h.vy/m}),p}},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(m,x){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(M,E){M.__proto__=E}||function(M,E){for(var j in E)Object.prototype.hasOwnProperty.call(E,j)&&(M[j]=E[j])})(m,x)},function(m,x){if(typeof x!=\"function\"&&x!==null)throw new TypeError(\"Class extends value \"+String(x)+\" is not a constructor or null\");function M(){this.constructor=m}y(m,x),m.prototype=x===null?Object.create(x):(M.prototype=x.prototype,new M)}),C=this&&this.__createBinding||(Object.create?function(m,x,M,E){E===void 0&&(E=M);var j=Object.getOwnPropertyDescriptor(x,M);j&&!(\"get\"in j?!x.__esModule:j.writable||j.configurable)||(j={enumerable:!0,get:function(){return x[M]}}),Object.defineProperty(m,E,j)}:function(m,x,M,E){E===void 0&&(E=M),m[E]=x[M]}),w=this&&this.__setModuleDefault||(Object.create?function(m,x){Object.defineProperty(m,\"default\",{enumerable:!0,value:x})}:function(m,x){m.default=x}),O=this&&this.__importStar||function(m){if(m&&m.__esModule)return m;var x={};if(m!=null)for(var M in m)M!==\"default\"&&Object.prototype.hasOwnProperty.call(m,M)&&C(x,m,M);return w(x,m),x},b=this&&this.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(c,\"__esModule\",{value:!0}),c.ForceLayout=void 0;var p=O(r(66)),u=b(r(155)),a=r(15),f=r(18),h=r(46),l=function(m){function x(M){var E=m.call(this)||this;return E.center=[0,0],E.nodeStrength=null,E.edgeStrength=null,E.preventOverlap=!1,E.clusterNodeStrength=null,E.clusterEdgeStrength=null,E.clusterEdgeDistance=null,E.clusterNodeSize=null,E.clusterFociStrength=null,E.linkDistance=50,E.alphaDecay=.028,E.alphaMin=.001,E.alpha=.3,E.collideStrength=1,E.workerEnabled=!1,E.tick=function(){},E.onLayoutEnd=function(){},E.ticking=void 0,M&&E.updateCfg(M),E}return N(x,m),x.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}},x.prototype.init=function(M){this.nodes=M.nodes||[];var E=M.edges||[];this.edges=E.map(function(j){var L={},A=[\"targetNode\",\"sourceNode\",\"startPoint\",\"endPoint\"];return Object.keys(j).forEach(function(J){A.indexOf(J)>-1||(L[J]=j[J])}),L}),this.ticking=!1},x.prototype.execute=function(M){var E=this,j=E.nodes,L=E.edges;if(!E.ticking){var A=E.forceSimulation,J=E.alphaMin,q=E.alphaDecay,re=E.alpha;if(A)M&&(E.clustering&&E.clusterForce&&(E.clusterForce.nodes(j),E.clusterForce.links(L)),A.nodes(j),L&&E.edgeForce?E.edgeForce.links(L):L&&!E.edgeForce&&(ee=p.forceLink().id(function(Le){return Le.id}).links(L),E.edgeStrength&&ee.strength(E.edgeStrength),E.linkDistance&&ee.distance(E.linkDistance),E.edgeForce=ee,A.force(\"link\",ee))),E.preventOverlap&&E.overlapProcess(A),A.alpha(re).restart(),this.ticking=!0;else try{var me=p.forceManyBody();if(E.nodeStrength&&me.strength(E.nodeStrength),A=p.forceSimulation().nodes(j),E.clustering){var Te=(0,u.default)();Te.centerX(E.center[0]).centerY(E.center[1]).template(\"force\").strength(E.clusterFociStrength),L&&Te.links(L),j&&Te.nodes(j),Te.forceLinkDistance(E.clusterEdgeDistance).forceLinkStrength(E.clusterEdgeStrength).forceCharge(E.clusterNodeStrength).forceNodeSize(E.clusterNodeSize),E.clusterForce=Te,A.force(\"group\",Te)}if(A.force(\"center\",p.forceCenter(E.center[0],E.center[1])).force(\"charge\",me).alpha(re).alphaDecay(q).alphaMin(J),E.preventOverlap&&E.overlapProcess(A),L){var ee=p.forceLink().id(function(Le){return Le.id}).links(L);E.edgeStrength&&ee.strength(E.edgeStrength),E.linkDistance&&ee.distance(E.linkDistance),E.edgeForce=ee,A.force(\"link\",ee)}if(E.workerEnabled&&!s()&&(E.workerEnabled=!1,console.warn(\"workerEnabled option is only supported when running in web worker.\")),E.workerEnabled){A.stop();for(var xe=function(Le){var De=Le.alphaMin(),ce=Le.alphaTarget(),ye=Le.alpha(),Oe=Math.log((De-ce)/(ye-ce))/Math.log(1-Le.alphaDecay());return Math.ceil(Oe)}(A),Ie=1;Ie<=xe;Ie++)A.tick(),postMessage({nodes:j,currentTick:Ie,totalTicks:xe,type:h.LAYOUT_MESSAGE.TICK},void 0);E.ticking=!1}else A.on(\"tick\",function(){E.tick()}).on(\"end\",function(){E.ticking=!1,E.onLayoutEnd&&E.onLayoutEnd()}),E.ticking=!0;E.forceSimulation=A,E.ticking=!0}catch(Le){E.ticking=!1,console.warn(Le)}}},x.prototype.overlapProcess=function(M){var E,j,L=this.nodeSize,A=this.nodeSpacing,J=this.collideStrength;if(j=(0,a.isNumber)(A)?function(){return A}:(0,a.isFunction)(A)?A:function(){return 0},L)if((0,a.isFunction)(L))E=function(me){return L(me)+j(me)};else if((0,a.isArray)(L)){var q=(L[0]>L[1]?L[0]:L[1])/2;E=function(me){return q+j(me)}}else if((0,a.isNumber)(L)){var re=L/2;E=function(me){return re+j(me)}}else E=function(){return 10};else E=function(me){return me.size?(0,a.isArray)(me.size)?(me.size[0]>me.size[1]?me.size[0]:me.size[1])/2+j(me):(0,a.isObject)(me.size)?(me.size.width>me.size.height?me.size.width:me.size.height)/2+j(me):me.size/2+j(me):10+j(me)};M.force(\"collisionForce\",p.forceCollide(E).strength(J))},x.prototype.updateCfg=function(M){this.ticking&&(this.forceSimulation.stop(),this.ticking=!1),this.forceSimulation=null,Object.assign(this,M)},x.prototype.destroy=function(){this.ticking&&(this.forceSimulation.stop(),this.ticking=!1),this.nodes=null,this.edges=null,this.destroyed=!0},x}(f.Base);function s(){return typeof WorkerGlobalScope!=\"undefined\"&&self instanceof WorkerGlobalScope}c.ForceLayout=l},function(Ee,c,r){\"use strict\";var y=this&&this.__createBinding||(Object.create?function(b,p,u,a){a===void 0&&(a=u);var f=Object.getOwnPropertyDescriptor(p,u);f&&!(\"get\"in f?!p.__esModule:f.writable||f.configurable)||(f={enumerable:!0,get:function(){return p[u]}}),Object.defineProperty(b,a,f)}:function(b,p,u,a){a===void 0&&(a=u),b[a]=p[u]}),N=this&&this.__setModuleDefault||(Object.create?function(b,p){Object.defineProperty(b,\"default\",{enumerable:!0,value:p})}:function(b,p){b.default=p}),C=this&&this.__importStar||function(b){if(b&&b.__esModule)return b;var p={};if(b!=null)for(var u in b)u!==\"default\"&&Object.prototype.hasOwnProperty.call(b,u)&&y(p,b,u);return N(p,b),p};Object.defineProperty(c,\"__esModule\",{value:!0});var w=C(r(66)),O=r(15);c.default=function(){function b(Ie){return function(){return Ie}}var p,u=function(Ie){return Ie.cluster},a=b(1),f=b(-1),h=b(100),l=b(.1),s=[0,0],m=[],x={},M=[],E=100,j=100,L={none:{x:0,y:0}},A=[],J=\"force\",q=!0,re=.1;function me(Ie){if(!q)return me;p.tick(),ee();for(var Le=0,De=m.length,ce=void 0,ye=Ie*re;Le<De;++Le)(ce=m[Le]).vx+=(L[u(ce)].x-ce.x)*ye,ce.vy+=(L[u(ce)].y-ce.y)*ye}function Te(){m&&function(){if(!(!m||!m.length)){if(u(m[0])===void 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 Ie=(De=[],ce=[],ye={},Oe=[],Le=function(Ce){var oe={};return Ce.forEach(function(he){var ie=u(he);oe[ie]||(oe[ie]={count:0,sumforceNodeSize:0})}),Ce.forEach(function(he){var ie=u(he),ae=a(he),ve=oe[ie];ve.count=ve.count+1,ve.sumforceNodeSize=ve.sumforceNodeSize+Math.PI*(ae*ae)*1.3,oe[ie]=ve}),oe}(m),Oe=function(Ce){var oe={},he=[];return Ce.forEach(function(ie){var ae=function(X){var se=(0,O.getEdgeTerminal)(X,\"source\"),fe=(0,O.getEdgeTerminal)(X,\"target\"),_e=u(x[se]),be=u(x[fe]);return _e<=be?\"\".concat(_e,\"~\").concat(be):\"\".concat(be,\"~\").concat(_e)}(ie),ve=0;oe[ae]!==void 0&&(ve=oe[ae]),ve+=1,oe[ae]=ve}),Object.entries(oe).forEach(function(ie){var ae=ie[0],ve=ie[1],X=ae.split(\"~\")[0],se=ae.split(\"~\")[1];X!==void 0&&se!==void 0&&he.push({source:X,target:se,count:ve})}),he}(M),Object.keys(Le).forEach(function(Ce,oe){var he=Le[Ce];De.push({id:Ce,size:he.count,r:Math.sqrt(he.sumforceNodeSize/Math.PI)}),ye[Ce]=oe}),Oe.forEach(function(Ce){var oe=(0,O.getEdgeTerminal)(Ce,\"source\"),he=(0,O.getEdgeTerminal)(Ce,\"target\"),ie=ye[oe],ae=ye[he];ie!==void 0&&ae!==void 0&&ce.push({source:ie,target:ae,count:Ce.count})}),{nodes:De,links:ce}),Le,De,ce,ye,Oe;p=w.forceSimulation(Ie.nodes).force(\"x\",w.forceX(E).strength(.1)).force(\"y\",w.forceY(j).strength(.1)).force(\"collide\",w.forceCollide(function(Ce){return Ce.r}).iterations(4)).force(\"charge\",w.forceManyBody().strength(f)).force(\"links\",w.forceLink(Ie.nodes.length?Ie.links:[]).distance(h).strength(l)),A=p.nodes(),ee()}}()}function ee(){return L={none:{x:0,y:0}},A.forEach(function(Ie){L[Ie.id]={x:Ie.x-s[0],y:Ie.y-s[1]}}),L}function xe(Ie){x={},Ie.forEach(function(Le){x[Le.id]=Le})}return me.initialize=function(Ie){m=Ie,Te()},me.template=function(Ie){return arguments.length?(J=Ie,Te(),me):J},me.groupBy=function(Ie){return arguments.length?typeof Ie==\"string\"?(u=function(Le){return Le[Ie]},me):(u=Ie,me):u},me.enableGrouping=function(Ie){return arguments.length?(q=Ie,me):q},me.strength=function(Ie){return arguments.length?(re=Ie,me):re},me.centerX=function(Ie){return arguments.length?(E=Ie,me):E},me.centerY=function(Ie){return arguments.length?(j=Ie,me):j},me.nodes=function(Ie){return arguments.length?(xe(Ie||[]),m=Ie||[],me):m},me.links=function(Ie){return arguments.length?(M=Ie||[],Te(),me):M},me.forceNodeSize=function(Ie){return arguments.length?(a=typeof Ie==\"function\"?Ie:b(+Ie),Te(),me):a},me.nodeSize=me.forceNodeSize,me.forceCharge=function(Ie){return arguments.length?(f=typeof Ie==\"function\"?Ie:b(+Ie),Te(),me):f},me.forceLinkDistance=function(Ie){return arguments.length?(h=typeof Ie==\"function\"?Ie:b(+Ie),Te(),me):h},me.forceLinkStrength=function(Ie){return arguments.length?(l=typeof Ie==\"function\"?Ie:b(+Ie),Te(),me):l},me.offset=function(Ie){return arguments.length?(s=Ie,me):s},me.getFocis=ee,me}},function(Ee,c,r){\"use strict\";var y=this&&this.__importDefault||function(w){return w&&w.__esModule?w:{default:w}};Object.defineProperty(c,\"__esModule\",{value:!0});var N=y(r(157)),C=r(26);c.default={layout:N.default,util:{time:C.time,notime:C.notime}}},function(Ee,c,r){\"use strict\";var y=this&&this.__assign||function(){return(y=Object.assign||function(se){for(var fe,_e=1,be=arguments.length;_e<be;_e++)for(var We in fe=arguments[_e])Object.prototype.hasOwnProperty.call(fe,We)&&(se[We]=fe[We]);return se}).apply(this,arguments)},N=this&&this.__importDefault||function(se){return se&&se.__esModule?se:{default:se}};Object.defineProperty(c,\"__esModule\",{value:!0});var C=N(r(158)),w=N(r(161)),O=N(r(162)),b=r(26),p=N(r(164)),u=N(r(165)),a=N(r(166)),f=N(r(167)),h=N(r(168)),l=N(r(177)),s=N(r(179)),m=r(35),x=function(se,fe,_e){fe(\"    removeSelfEdges\",function(){he(se)}),fe(\"    acyclic\",function(){C.default.run(se)}),fe(\"    nestingGraph.run\",function(){u.default.run(se)}),fe(\"    rank\",function(){(0,O.default)((0,b.asNonCompoundGraph)(se))}),fe(\"    injectEdgeLabelProxies\",function(){Ie(se)}),fe(\"    removeEmptyRanks\",function(){(0,b.removeEmptyRanks)(se)}),fe(\"    nestingGraph.cleanup\",function(){u.default.cleanup(se)}),fe(\"    normalizeRanks\",function(){(0,b.normalizeRanks)(se)}),fe(\"    assignRankMinMax\",function(){Le(se)}),fe(\"    removeEdgeLabelProxies\",function(){De(se)}),fe(\"    normalize.run\",function(){w.default.run(se)}),fe(\"    parentDummyChains\",function(){(0,p.default)(se)}),fe(\"    addBorderSegments\",function(){(0,a.default)(se)}),_e&&_e.keepNodeOrder&&fe(\"    initDataOrder\",function(){(0,s.default)(se,_e.nodeOrder)}),fe(\"    order\",function(){(0,h.default)(se,_e==null?void 0:_e.keepNodeOrder)}),fe(\"    insertSelfEdges\",function(){ie(se)}),fe(\"    adjustCoordinateSystem\",function(){f.default.adjust(se)}),fe(\"    position\",function(){(0,l.default)(se)}),fe(\"    positionSelfEdges\",function(){ae(se)}),fe(\"    removeBorderNodes\",function(){oe(se)}),fe(\"    normalize.undo\",function(){w.default.undo(se)}),fe(\"    fixupEdgeLabelCoords\",function(){Oe(se)}),fe(\"    undoCoordinateSystem\",function(){f.default.undo(se)}),fe(\"    translateGraph\",function(){ce(se)}),fe(\"    assignNodeIntersects\",function(){ye(se)}),fe(\"    reversePoints\",function(){Ce(se)}),fe(\"    acyclic.undo\",function(){C.default.undo(se)})},M=function(se,fe){se.nodes().forEach(function(_e){var be=se.node(_e),We=fe.node(_e);We!==void 0?(be.fixorder=We._order,delete We._order):delete be.fixorder})},E=function(se,fe){se.nodes().forEach(function(_e){var be,We=se.node(_e);if(We){var we=fe.node(_e);We.x=we.x,We.y=we.y,We._order=we.order,We._rank=we.rank,!((be=fe.children(_e))===null||be===void 0)&&be.length&&(We.width=we.width,We.height=we.height)}}),se.edges().forEach(function(_e){var be=se.edge(_e),We=fe.edge(_e);be.points=We?We.points:[],We&&We.hasOwnProperty(\"x\")&&(be.x=We.x,be.y=We.y)}),se.graph().width=fe.graph().width,se.graph().height=fe.graph().height},j=[\"nodesep\",\"edgesep\",\"ranksep\",\"marginx\",\"marginy\"],L={ranksep:50,edgesep:20,nodesep:50,rankdir:\"tb\"},A=[\"acyclicer\",\"ranker\",\"rankdir\",\"align\"],J=[\"width\",\"height\",\"layer\",\"fixorder\"],q={width:0,height:0},re=[\"minlen\",\"weight\",\"width\",\"height\",\"labeloffset\"],me={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:\"r\"},Te=[\"labelpos\"],ee=function(se){var fe=new m.Graph({multigraph:!0,compound:!0}),_e=X(se.graph()),be={};return A==null||A.forEach(function(We){_e[We]!==void 0&&(be[We]=_e[We])}),fe.setGraph(Object.assign({},L,ve(_e,j),be)),se.nodes().forEach(function(We){var we=X(se.node(We)),Ze=y(y({},q),we),Ve=ve(Ze,J);fe.setNode(We,Ve),fe.setParent(We,se.parent(We))}),se.edges().forEach(function(We){var we=X(se.edge(We)),Ze={};Te==null||Te.forEach(function(Ve){we[Ve]!==void 0&&(Ze[Ve]=we[Ve])}),fe.setEdgeObj(We,Object.assign({},me,ve(we,re),Ze))}),fe},xe=function(se){var fe=se.graph();fe.ranksep||(fe.ranksep=0),fe.ranksep/=2,se.nodes().forEach(function(_e){var be=se.node(_e);isNaN(be.layer)||be.layer||(be.layer=0)}),se.edges().forEach(function(_e){var be,We=se.edge(_e);We.minlen*=2,((be=We.labelpos)===null||be===void 0?void 0:be.toLowerCase())!==\"c\"&&(fe.rankdir===\"TB\"||fe.rankdir===\"BT\"?We.width+=We.labeloffset:We.height+=We.labeloffset)})},Ie=function(se){se.edges().forEach(function(fe){var _e=se.edge(fe);if(_e.width&&_e.height){var be=se.node(fe.v),We={e:fe,rank:(se.node(fe.w).rank-be.rank)/2+be.rank};(0,b.addDummyNode)(se,\"edge-proxy\",We,\"_ep\")}})},Le=function(se){var fe=0;se.nodes().forEach(function(_e){var be,We,we=se.node(_e);we.borderTop&&(we.minRank=(be=se.node(we.borderTop))===null||be===void 0?void 0:be.rank,we.maxRank=(We=se.node(we.borderBottom))===null||We===void 0?void 0:We.rank,fe=Math.max(fe,we.maxRank||-1/0))}),se.graph().maxRank=fe},De=function(se){se.nodes().forEach(function(fe){var _e=se.node(fe);_e.dummy===\"edge-proxy\"&&(se.edge(_e.e).labelRank=_e.rank,se.removeNode(fe))})},ce=function(se){var fe,_e,be=0,We=0,we=se.graph(),Ze=we.marginx||0,Ve=we.marginy||0,et=function(ht){if(ht){var Fe=ht.x,mt=ht.y,dt=ht.width,Lt=ht.height;isNaN(Fe)||isNaN(dt)||(fe===void 0&&(fe=Fe-dt/2),fe=Math.min(fe,Fe-dt/2),be=Math.max(be,Fe+dt/2)),isNaN(mt)||isNaN(Lt)||(_e===void 0&&(_e=mt-Lt/2),_e=Math.min(_e,mt-Lt/2),We=Math.max(We,mt+Lt/2))}};se.nodes().forEach(function(ht){et(se.node(ht))}),se.edges().forEach(function(ht){var Fe=se.edge(ht);Fe!=null&&Fe.hasOwnProperty(\"x\")&&et(Fe)}),fe-=Ze,_e-=Ve,se.nodes().forEach(function(ht){var Fe=se.node(ht);Fe&&(Fe.x-=fe,Fe.y-=_e)}),se.edges().forEach(function(ht){var Fe,mt=se.edge(ht);(Fe=mt.points)===null||Fe===void 0||Fe.forEach(function(dt){dt.x-=fe,dt.y-=_e}),mt.hasOwnProperty(\"x\")&&(mt.x-=fe),mt.hasOwnProperty(\"y\")&&(mt.y-=_e)}),we.width=be-fe+Ze,we.height=We-_e+Ve},ye=function(se){se.edges().forEach(function(fe){var _e,be,We=se.edge(fe),we=se.node(fe.v),Ze=se.node(fe.w);We.points?(_e=We.points[0],be=We.points[We.points.length-1]):(We.points=[],_e=Ze,be=we),We.points.unshift((0,b.intersectRect)(we,_e)),We.points.push((0,b.intersectRect)(Ze,be))})},Oe=function(se){se.edges().forEach(function(fe){var _e=se.edge(fe);if(_e!=null&&_e.hasOwnProperty(\"x\"))switch(_e.labelpos!==\"l\"&&_e.labelpos!==\"r\"||(_e.width-=_e.labeloffset),_e.labelpos){case\"l\":_e.x-=_e.width/2+_e.labeloffset;break;case\"r\":_e.x+=_e.width/2+_e.labeloffset}})},Ce=function(se){se.edges().forEach(function(fe){var _e,be=se.edge(fe);be.reversed&&((_e=be.points)===null||_e===void 0||_e.reverse())})},oe=function(se){se.nodes().forEach(function(fe){var _e,be,We;if(!((_e=se.children(fe))===null||_e===void 0)&&_e.length){var we=se.node(fe),Ze=se.node(we.borderTop),Ve=se.node(we.borderBottom),et=se.node(we.borderLeft[((be=we.borderLeft)===null||be===void 0?void 0:be.length)-1]),ht=se.node(we.borderRight[((We=we.borderRight)===null||We===void 0?void 0:We.length)-1]);we.width=Math.abs((ht==null?void 0:ht.x)-(et==null?void 0:et.x))||10,we.height=Math.abs((Ve==null?void 0:Ve.y)-(Ze==null?void 0:Ze.y))||10,we.x=((et==null?void 0:et.x)||0)+we.width/2,we.y=((Ze==null?void 0:Ze.y)||0)+we.height/2}}),se.nodes().forEach(function(fe){var _e;((_e=se.node(fe))===null||_e===void 0?void 0:_e.dummy)===\"border\"&&se.removeNode(fe)})},he=function(se){se.edges().forEach(function(fe){if(fe.v===fe.w){var _e=se.node(fe.v);_e.selfEdges||(_e.selfEdges=[]),_e.selfEdges.push({e:fe,label:se.edge(fe)}),se.removeEdgeObj(fe)}})},ie=function(se){var fe=(0,b.buildLayerMatrix)(se);fe==null||fe.forEach(function(_e){var be=0;_e==null||_e.forEach(function(We,we){var Ze,Ve=se.node(We);Ve.order=we+be,(Ze=Ve.selfEdges)===null||Ze===void 0||Ze.forEach(function(et){(0,b.addDummyNode)(se,\"selfedge\",{width:et.label.width,height:et.label.height,rank:Ve.rank,order:we+ ++be,e:et.e,label:et.label},\"_se\")}),delete Ve.selfEdges})})},ae=function(se){se.nodes().forEach(function(fe){var _e=se.node(fe);if(_e.dummy===\"selfedge\"){var be=se.node(_e.e.v),We=be.x+be.width/2,we=be.y,Ze=_e.x-We,Ve=be.height/2;se.setEdgeObj(_e.e,_e.label),se.removeNode(fe),_e.label.points=[{x:We+2*Ze/3,y:we-Ve},{x:We+5*Ze/6,y:we-Ve},{y:we,x:We+Ze},{x:We+5*Ze/6,y:we+Ve},{x:We+2*Ze/3,y:we+Ve}],_e.label.x=_e.x,_e.label.y=_e.y}})},ve=function(se,fe){var _e={};return fe==null||fe.forEach(function(be){se[be]!==void 0&&(_e[be]=+se[be])}),_e},X=function(se){se===void 0&&(se={});var fe={};return Object.keys(se).forEach(function(_e){fe[_e.toLowerCase()]=se[_e]}),fe};c.default=function(se,fe){var _e=fe&&fe.debugTiming?b.time:b.notime;_e(\"layout\",function(){fe&&!fe.keepNodeOrder&&fe.prevGraph&&_e(\"  inheritOrder\",function(){M(se,fe.prevGraph)});var be=_e(\"  buildLayoutGraph\",function(){return ee(se)});fe&&fe.edgeLabelSpace===!1||_e(\"  makeSpaceForEdgeLabels\",function(){xe(be)});try{_e(\"  runLayout\",function(){x(be,_e,fe)})}catch(We){if(We.message===\"Not possible to find intersection inside of the rectangle\")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`,We);throw We}_e(\"  updateInputGraph\",function(){E(se,be)})})}},function(Ee,c,r){\"use strict\";var y=this&&this.__importDefault||function(w){return w&&w.__esModule?w:{default:w}};Object.defineProperty(c,\"__esModule\",{value:!0});var N=y(r(159)),C=function(w){var O=[],b={},p={};return w.nodes().forEach(function u(a){var f;p[a]||(p[a]=!0,b[a]=!0,(f=w.outEdges(a))===null||f===void 0||f.forEach(function(h){b[h.w]?O.push(h):u(h.w)}),delete b[a])}),O};c.default={run:function(w){var O=w.graph().acyclicer===\"greedy\"?(0,N.default)(w,function(b){return function(p){var u;return((u=b.edge(p))===null||u===void 0?void 0:u.weight)||1}}(w)):C(w);O==null||O.forEach(function(b){var p=w.edge(b);w.removeEdgeObj(b),p.forwardName=b.name,p.reversed=!0,w.setEdge(b.w,b.v,p,\"rev-\".concat(Math.random()))})},undo:function(w){w.edges().forEach(function(O){var b=w.edge(O);if(b.reversed){w.removeEdgeObj(O);var p=b.forwardName;delete b.reversed,delete b.forwardName,w.setEdge(O.w,O.v,b,p)}})}}},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(s,m){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,M){x.__proto__=M}||function(x,M){for(var E in M)Object.prototype.hasOwnProperty.call(M,E)&&(x[E]=M[E])})(s,m)},function(s,m){if(typeof m!=\"function\"&&m!==null)throw new TypeError(\"Class extends value \"+String(m)+\" is not a constructor or null\");function x(){this.constructor=s}y(s,m),s.prototype=m===null?Object.create(m):(x.prototype=m.prototype,new x)}),C=this&&this.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(c,\"__esModule\",{value:!0});var w=C(r(160)),O=r(47),b=function(s){function m(){return s!==null&&s.apply(this,arguments)||this}return N(m,s),m}(w.default),p=function(s){function m(){return s!==null&&s.apply(this,arguments)||this}return N(m,s),m}(O.Graph),u=function(){return 1},a=function(s,m,x){for(var M,E=[],j=m[m.length-1],L=m[0];s.nodeCount();){for(;M=L.dequeue();)f(s,m,x,M);for(;M=j.dequeue();)f(s,m,x,M);if(s.nodeCount()){for(var A=m.length-2;A>0;--A)if(M=m[A].dequeue()){E=E.concat(f(s,m,x,M,!0));break}}}return E},f=function(s,m,x,M,E){var j,L,A=[];return(j=s.inEdges(M.v))===null||j===void 0||j.forEach(function(J){var q=s.edge(J),re=s.node(J.v);E&&A.push({v:J.v,w:J.w,in:0,out:0}),re.out===void 0&&(re.out=0),re.out-=q,l(m,x,re)}),(L=s.outEdges(M.v))===null||L===void 0||L.forEach(function(J){var q=s.edge(J),re=J.w,me=s.node(re);me.in===void 0&&(me.in=0),me.in-=q,l(m,x,me)}),s.removeNode(M.v),E?A:void 0},h=function(s,m){var x=new p,M=0,E=0;s.nodes().forEach(function(q){x.setNode(q,{v:q,in:0,out:0})}),s.edges().forEach(function(q){var re=x.edge(q)||0,me=(m==null?void 0:m(q))||1,Te=re+me;x.setEdge(q.v,q.w,Te),E=Math.max(E,x.node(q.v).out+=me),M=Math.max(M,x.node(q.w).in+=me)});for(var j=[],L=E+M+3,A=0;A<L;A++)j.push(new b);var J=M+1;return x.nodes().forEach(function(q){l(j,J,x.node(q))}),{buckets:j,zeroIdx:J,graph:x}},l=function(s,m,x){x.out?x.in?s[x.out-x.in+m].enqueue(x):s[s.length-1].enqueue(x):s[0].enqueue(x)};c.default=function(s,m){var x;if(s.nodeCount()<=1)return[];var M=h(s,m||u);return(x=a(M.graph,M.buckets,M.zeroIdx).map(function(E){return s.outEdges(E.v,E.w)}))===null||x===void 0?void 0:x.flat()}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=function(w,O){if(w!==\"next\"&&w!==\"prev\")return O},N=function(w){w.prev.next=w.next,w.next.prev=w.prev,delete w.next,delete w.prev},C=function(){function w(){var O={};O.prev=O,O.next=O.prev,this.shortcut=O}return w.prototype.dequeue=function(){var O=this.shortcut,b=O.prev;if(b&&b!==O)return N(b),b},w.prototype.enqueue=function(O){var b=this.shortcut;O.prev&&O.next&&N(O),O.next=b.next,b.next.prev=O,b.next=O,O.prev=b},w.prototype.toString=function(){for(var O=[],b=this.shortcut,p=b.prev;p!==b;)O.push(JSON.stringify(p,y)),p=p==null?void 0:p.prev;return\"[\".concat(O.join(\", \"),\"]\")},w}();c.default=C},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=r(26),N=function(C,w){var O=w.v,b=C.node(O).rank,p=w.w,u=C.node(p).rank,a=w.name,f=C.edge(w),h=f.labelRank;if(u!==b+1){C.removeEdgeObj(w);var l,s,m,x=C.graph();for(m=0,++b;b<u;++m,++b)f.points=[],s={edgeLabel:f,width:0,height:0,edgeObj:w,rank:b},l=(0,y.addDummyNode)(C,\"edge\",s,\"_d\"),b===h&&(s.width=f.width,s.height=f.height,s.dummy=\"edge-label\",s.labelpos=f.labelpos),C.setEdge(O,l,{weight:f.weight},a),m===0&&(x.dummyChains||(x.dummyChains=[]),x.dummyChains.push(l)),O=l;C.setEdge(O,p,{weight:f.weight},a)}};c.default={run:function(C){C.graph().dummyChains=[],C.edges().forEach(function(w){return N(C,w)})},undo:function(C){var w;(w=C.graph().dummyChains)===null||w===void 0||w.forEach(function(O){var b,p=C.node(O),u=p.edgeLabel;p.edgeObj&&C.setEdgeObj(p.edgeObj,u);for(var a=O;p.dummy;)b=C.successors(a)[0],C.removeNode(a),u.points.push({x:p.x,y:p.y}),p.dummy===\"edge-label\"&&(u.x=p.x,u.y=p.y,u.width=p.width,u.height=p.height),a=b,p=C.node(a)})}}},function(Ee,c,r){\"use strict\";var y=this&&this.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(c,\"__esModule\",{value:!0});var N=r(63),C=r(89),w=y(r(163)),O=N.longestPath,b=function(u){(0,N.longestPathWithLayer)(u),(0,C.feasibleTreeWithLayer)(u)},p=function(u){(0,w.default)(u)};c.default=function(u){switch(u.graph().ranker){case\"network-simplex\":p(u);break;case\"tight-tree\":b(u);break;case\"longest-path\":O(u);break;default:b(u)}}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.exchangeEdges=c.enterEdge=c.leaveEdge=c.initLowLimValues=c.calcCutValue=c.initCutValues=void 0;var y=r(89),N=r(63),C=r(26),w=r(47),O=w.algorithm.preorder,b=w.algorithm.postorder;c.initCutValues=function(l,s){var m=b(l,l.nodes());(m=m==null?void 0:m.slice(0,(m==null?void 0:m.length)-1))==null||m.forEach(function(x){p(l,s,x)})};var p=function(l,s,m){var x=l.node(m).parent;l.edgeFromArgs(m,x).cutvalue=(0,c.calcCutValue)(l,s,m)};c.calcCutValue=function(l,s,m){var x,M=l.node(m).parent,E=!0,j=s.edgeFromArgs(m,M),L=0;return j||(E=!1,j=s.edgeFromArgs(M,m)),L=j.weight,(x=s.nodeEdges(m))===null||x===void 0||x.forEach(function(A){var J=A.v===m,q=J?A.w:A.v;if(q!==M){var re=J===E,me=s.edge(A).weight;if(L+=re?me:-me,f(l,m,q)){var Te=l.edgeFromArgs(m,q).cutvalue;L+=re?-Te:Te}}}),L},c.initLowLimValues=function(l,s){s===void 0&&(s=l.nodes()[0]),u(l,{},1,s)};var u=function l(s,m,x,M,E){var j,L=x,A=x,J=s.node(M);return m[M]=!0,(j=s.neighbors(M))===null||j===void 0||j.forEach(function(q){m[q]||(A=l(s,m,A,q,M))}),J.low=L,J.lim=A++,E?J.parent=E:delete J.parent,A};c.leaveEdge=function(l){return l.edges().find(function(s){return l.edge(s).cutvalue<0})},c.enterEdge=function(l,s,m){var x=m.v,M=m.w;s.hasEdge(x,M)||(x=m.w,M=m.v);var E=l.node(x),j=l.node(M),L=E,A=!1;E.lim>j.lim&&(L=j,A=!0);var J=s.edges().filter(function(q){return A===h(l,l.node(q.v),L)&&A!==h(l,l.node(q.w),L)});return(0,C.minBy)(J,function(q){return(0,N.slack)(s,q)})},c.exchangeEdges=function(l,s,m,x){var M=m.v,E=m.w;l.removeEdge(M,E),l.setEdge(x.v,x.w,{}),(0,c.initLowLimValues)(l),(0,c.initCutValues)(l,s),a(l,s)};var a=function(l,s){var m=l.nodes().find(function(M){var E;return!(!((E=s.node(M))===null||E===void 0)&&E.parent)}),x=O(l,m);(x=x==null?void 0:x.slice(1))==null||x.forEach(function(M){var E=l.node(M).parent,j=s.edgeFromArgs(M,E),L=!1;j||(j=s.edgeFromArgs(E,M),L=!0),s.node(M).rank=s.node(E).rank+(L?j.minlen:-j.minlen)})},f=function(l,s,m){return l.hasEdge(s,m)},h=function(l,s,m){return m.low<=s.lim&&s.lim<=m.lim};c.default=function(l){var s=(0,C.simplify)(l);(0,N.longestPath)(s);var m,x,M=(0,y.feasibleTree)(s);for((0,c.initLowLimValues)(M),(0,c.initCutValues)(M,s);m=(0,c.leaveEdge)(M);)x=(0,c.enterEdge)(M,s,m),(0,c.exchangeEdges)(M,s,m,x)}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=function(y){var N,C=function(w){var O,b={},p=0;return(O=w.children())===null||O===void 0||O.forEach(function u(a){var f,h=p;(f=w.children(a))===null||f===void 0||f.forEach(u),b[a]={low:h,lim:p++}}),b}(y);(N=y.graph().dummyChains)===null||N===void 0||N.forEach(function(w){var O,b,p=w,u=y.node(p),a=u.edgeObj;if(a)for(var f=function(M,E,j,L){var A,J,q=[],re=[],me=Math.min(E[j].low,E[L].low),Te=Math.max(E[j].lim,E[L].lim);A=j;do A=M.parent(A),q.push(A);while(A&&(E[A].low>me||Te>E[A].lim));for(J=A,A=L;A&&A!==J;)re.push(A),A=M.parent(A);return{lca:J,path:q.concat(re.reverse())}}(y,C,a.v,a.w),h=f.path,l=f.lca,s=0,m=h[s],x=!0;p!==a.w;){if(u=y.node(p),x){for(;m!==l&&((O=y.node(m))===null||O===void 0?void 0:O.maxRank)<u.rank;)m=h[++s];m===l&&(x=!1)}if(!x){for(;s<h.length-1&&((b=y.node(h[s+1]))===null||b===void 0?void 0:b.minRank)<=u.rank;)s++;m=h[s]}y.setParent(p,m),p=y.successors(p)[0]}})}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=r(26),N=function O(b,p,u,a,f,h,l){var s=b.children(l);if(s!=null&&s.length){var m=(0,y.addBorderNode)(b,\"_bt\"),x=(0,y.addBorderNode)(b,\"_bb\"),M=b.node(l);b.setParent(m,l),M.borderTop=m,b.setParent(x,l),M.borderBottom=x,s==null||s.forEach(function(E){O(b,p,u,a,f,h,E);var j=b.node(E),L=j.borderTop?j.borderTop:E,A=j.borderBottom?j.borderBottom:E,J=j.borderTop?a:2*a,q=L!==A?1:f-h[l]+1;b.setEdge(m,L,{minlen:q,weight:J,nestingEdge:!0}),b.setEdge(A,x,{minlen:q,weight:J,nestingEdge:!0})}),b.parent(l)||b.setEdge(p,m,{weight:0,minlen:f+h[l]})}else l!==p&&b.setEdge(p,l,{weight:0,minlen:u})},C=function(O){var b,p={};return(b=O.children())===null||b===void 0||b.forEach(function(u){return function a(f,h){var l=O.children(f);l==null||l.forEach(function(s){return a(s,h+1)}),p[f]=h}(u,1)}),p},w=function(O){var b=0;return O.edges().forEach(function(p){b+=O.edge(p).weight}),b};c.default={run:function(O){var b,p=(0,y.addDummyNode)(O,\"root\",{},\"_root\"),u=C(O),a=Math.max.apply(Math,Object.values(u));Math.abs(a)===1/0&&(a=1);var f=a-1,h=2*f+1;O.graph().nestingRoot=p,O.edges().forEach(function(s){O.edge(s).minlen*=h});var l=w(O)+1;(b=O.children())===null||b===void 0||b.forEach(function(s){N(O,p,h,l,f,u,s)}),O.graph().nodeRankFactor=h},cleanup:function(O){var b=O.graph();b.nestingRoot&&O.removeNode(b.nestingRoot),delete b.nestingRoot,O.edges().forEach(function(p){O.edge(p).nestingEdge&&O.removeEdgeObj(p)})}}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=r(26),N=function(C,w,O,b,p,u){var a={rank:u,borderType:w,width:0,height:0},f=p[w][u-1],h=(0,y.addDummyNode)(C,\"border\",a,O);p[w][u]=h,C.setParent(h,b),f&&C.setEdge(f,h,{weight:1})};c.default=function(C){var w;(w=C.children())===null||w===void 0||w.forEach(function(O){return function b(p){var u=C.children(p),a=C.node(p);if(u!=null&&u.length&&u.forEach(function(l){return b(l)}),a.hasOwnProperty(\"minRank\")){a.borderLeft=[],a.borderRight=[];for(var f=a.minRank,h=a.maxRank+1;f<h;f+=1)N(C,\"borderLeft\",\"_bl\",p,a,f),N(C,\"borderRight\",\"_br\",p,a,f)}}(O)})}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=function(p){p.nodes().forEach(function(u){N(p.node(u))}),p.edges().forEach(function(u){N(p.edge(u))})},N=function(p){var u=p.width;p.width=p.height,p.height=u},C=function(p){p.nodes().forEach(function(u){w(p.node(u))}),p.edges().forEach(function(u){var a,f=p.edge(u);(a=f.points)===null||a===void 0||a.forEach(function(h){return w(h)}),f.hasOwnProperty(\"y\")&&w(f)})},w=function(p){p!=null&&p.y&&(p.y=-p.y)},O=function(p){p.nodes().forEach(function(u){b(p.node(u))}),p.edges().forEach(function(u){var a,f=p.edge(u);(a=f.points)===null||a===void 0||a.forEach(function(h){return b(h)}),f.hasOwnProperty(\"x\")&&b(f)})},b=function(p){var u=p.x;p.x=p.y,p.y=u};c.default={adjust:function(p){var u,a=(u=p.graph().rankdir)===null||u===void 0?void 0:u.toLowerCase();a!==\"lr\"&&a!==\"rl\"||y(p)},undo:function(p){var u,a=(u=p.graph().rankdir)===null||u===void 0?void 0:u.toLowerCase();a!==\"bt\"&&a!==\"rl\"||C(p),a!==\"lr\"&&a!==\"rl\"||(O(p),y(p))}}},function(Ee,c,r){\"use strict\";var y=this&&this.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(c,\"__esModule\",{value:!0});var N=y(r(169)),C=y(r(170)),w=y(r(171)),O=y(r(172)),b=y(r(173)),p=r(15),u=r(35),a=r(26),f=function(s,m,x){return m.map(function(M){return(0,w.default)(s,M,x)})},h=function(s,m,x,M){var E=new u.Graph;s==null||s.forEach(function(j){for(var L,A=j.graph().root,J=(0,b.default)(j,A,E,m,x,M),q=0;q<((L=J.vs)===null||L===void 0?void 0:L.length);q++){var re=j.node(J.vs[q]);re&&(re.order=q)}(0,O.default)(j,E,J.vs)})},l=function(s,m){m==null||m.forEach(function(x){x==null||x.forEach(function(M,E){s.node(M).order=E})})};c.default=function(s,m){for(var x=(0,a.maxRank)(s),M=[],E=[],j=1;j<x+1;j++)M.push(j);for(j=x-1;j>-1;j--)E.push(j);var L=f(s,M,\"inEdges\"),A=f(s,E,\"outEdges\"),J=(0,N.default)(s);l(s,J);for(var q,re=Number.POSITIVE_INFINITY,me=(j=0,0);me<4;++j,++me)h(j%2?L:A,j%4>=2,!1,m),J=(0,a.buildLayerMatrix)(s),(Te=(0,C.default)(s,J))<re&&(me=0,q=(0,p.clone)(J),re=Te);for(J=(0,N.default)(s),l(s,J),j=0,me=0;me<4;++j,++me){var Te;h(j%2?L:A,j%4>=2,!0,m),J=(0,a.buildLayerMatrix)(s),(Te=(0,C.default)(s,J))<re&&(me=0,q=(0,p.clone)(J),re=Te)}l(s,q)}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=function(y){for(var N={},C=y.nodes().filter(function(f){var h;return!(!((h=y.children(f))===null||h===void 0)&&h.length)}),w=C.map(function(f){return y.node(f).rank}),O=Math.max.apply(Math,w),b=[],p=0;p<O+1;p++)b.push([]);var u=C.sort(function(f,h){return y.node(f).rank-y.node(h).rank}),a=u.filter(function(f){return y.node(f).fixorder!==void 0}).sort(function(f,h){return y.node(f).fixorder-y.node(h).fixorder});return a==null||a.forEach(function(f){isNaN(y.node(f).rank)||b[y.node(f).rank].push(f),N[f]=!0}),u==null||u.forEach(function f(h){var l;if(!N.hasOwnProperty(h)){N[h]=!0;var s=y.node(h);isNaN(s.rank)||b[s.rank].push(h),(l=y.successors(h))===null||l===void 0||l.forEach(function(m){return f(m)})}}),b}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=r(26),N=function(C,w,O){for(var b=(0,y.zipObject)(O,O.map(function(l,s){return s})),p=w.map(function(l){var s,m=(s=C.outEdges(l))===null||s===void 0?void 0:s.map(function(x){return{pos:b[x.w]||0,weight:C.edge(x).weight}});return m==null?void 0:m.sort(function(x,M){return x.pos-M.pos})}).flat().filter(function(l){return l!==void 0}),u=1;u<O.length;)u<<=1;var a=2*u-1;u-=1;var f=Array(a).fill(0,0,a),h=0;return p==null||p.forEach(function(l){if(l){var s=l.pos+u;f[s]+=l.weight;for(var m=0;s>0;)s%2&&(m+=f[s+1]),f[s=s-1>>1]+=l.weight;h+=l.weight*m}}),h};c.default=function(C,w){for(var O=0,b=1;b<(w==null?void 0:w.length);b+=1)O+=N(C,w[b-1],w[b]);return O}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=r(35),N=function(C){for(var w;C.hasNode(w=\"_root\".concat(Math.random())););return w};c.default=function(C,w,O){var b=N(C),p=new y.Graph({compound:!0}).setGraph({root:b}).setDefaultNodeLabel(function(u){return C.node(u)});return C.nodes().forEach(function(u){var a,f=C.node(u),h=C.parent(u);(f.rank===w||f.minRank<=w&&w<=f.maxRank)&&(p.setNode(u),p.setParent(u,h||b),(a=C[O](u))===null||a===void 0||a.forEach(function(l){var s=l.v===u?l.w:l.v,m=p.edgeFromArgs(s,u),x=m!==void 0?m.weight:0;p.setEdge(s,u,{weight:C.edge(l).weight+x})}),f.hasOwnProperty(\"minRank\")&&p.setNode(u,{borderLeft:f.borderLeft[w],borderRight:f.borderRight[w]}))}),p}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=function(y,N,C){var w,O={};C==null||C.forEach(function(b){for(var p,u,a=y.parent(b);a;){if((p=y.parent(a))?(u=O[p],O[p]=a):(u=w,w=a),u&&u!==a)return void N.setEdge(u,a);a=p}})}},function(Ee,c,r){\"use strict\";var y=this&&this.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(c,\"__esModule\",{value:!0});var N=y(r(174)),C=y(r(175)),w=y(r(176)),O=function(p,u){p==null||p.forEach(function(a){var f,h=(f=a.vs)===null||f===void 0?void 0:f.map(function(l){return u[l]?u[l].vs:l});a.vs=h.flat()})},b=function(p,u){p.barycenter!==void 0?(p.barycenter=(p.barycenter*p.weight+u.barycenter*u.weight)/(p.weight+u.weight),p.weight+=u.weight):(p.barycenter=u.barycenter,p.weight=u.weight)};c.default=function p(u,a,f,h,l,s){var m,x,M,E,j=u.children(a),L=u.node(a),A=L?L.borderLeft:void 0,J=L?L.borderRight:void 0,q={};A&&(j=j==null?void 0:j.filter(function(Ie){return Ie!==A&&Ie!==J}));var re=(0,N.default)(u,j||[]);re==null||re.forEach(function(Ie){var Le;if(!((Le=u.children(Ie.v))===null||Le===void 0)&&Le.length){var De=p(u,Ie.v,f,h,s);q[Ie.v]=De,De.hasOwnProperty(\"barycenter\")&&b(Ie,De)}});var me=(0,C.default)(re,f);O(me,q),(m=me.filter(function(Ie){return Ie.vs.length>0}))===null||m===void 0||m.forEach(function(Ie){var Le=u.node(Ie.vs[0]);Le&&(Ie.fixorder=Le.fixorder,Ie.order=Le.order)});var Te=(0,w.default)(me,h,l,s);if(A&&(Te.vs=[A,Te.vs,J].flat(),(x=u.predecessors(A))===null||x===void 0?void 0:x.length)){var ee=u.node(((M=u.predecessors(A))===null||M===void 0?void 0:M[0])||\"\"),xe=u.node(((E=u.predecessors(J))===null||E===void 0?void 0:E[0])||\"\");Te.hasOwnProperty(\"barycenter\")||(Te.barycenter=0,Te.weight=0),Te.barycenter=(Te.barycenter*Te.weight+ee.order+xe.order)/(Te.weight+2),Te.weight+=2}return Te}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=function(y,N){return N.map(function(C){var w=y.inEdges(C);if(!(w!=null&&w.length))return{v:C};var O={sum:0,weight:0};return w==null||w.forEach(function(b){var p=y.edge(b),u=y.node(b.v);O.sum+=p.weight*u.order,O.weight+=p.weight}),{v:C,barycenter:O.sum/O.weight,weight:O.weight}})}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=function(C){for(var w,O,b=[],p=function(){var f=C.pop();b.push(f),(w=f.in.reverse())===null||w===void 0||w.forEach(function(h){return(l=f,function(s){s.merged||(s.barycenter===void 0||l.barycenter===void 0||s.barycenter>=l.barycenter)&&N(l,s)})(h);var l}),(O=f.out)===null||O===void 0||O.forEach(function(h){return(l=f,function(s){s.in.push(l),--s.indegree==0&&C.push(s)})(h);var l})};C!=null&&C.length;)p();var u=b.filter(function(f){return!f.merged}),a=[\"vs\",\"i\",\"barycenter\",\"weight\"];return u.map(function(f){var h={};return a==null||a.forEach(function(l){f[l]!==void 0&&(h[l]=f[l])}),h})},N=function(C,w){var O,b=0,p=0;C.weight&&(b+=C.barycenter*C.weight,p+=C.weight),w.weight&&(b+=w.barycenter*w.weight,p+=w.weight),C.vs=(O=w.vs)===null||O===void 0?void 0:O.concat(C.vs),C.barycenter=b/p,C.weight=p,C.i=Math.min(w.i,C.i),w.merged=!0};c.default=function(C,w){var O,b,p,u={};C==null||C.forEach(function(f,h){u[f.v]={i:h,indegree:0,in:[],out:[],vs:[f.v]};var l=u[f.v];f.barycenter!==void 0&&(l.barycenter=f.barycenter,l.weight=f.weight)}),(O=w.edges())===null||O===void 0||O.forEach(function(f){var h=u[f.v],l=u[f.w];h!==void 0&&l!==void 0&&(l.indegree++,h.out.push(u[f.w]))});var a=(p=(b=Object.values(u)).filter)===null||p===void 0?void 0:p.call(b,function(f){return!f.indegree});return y(a)}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=r(26),N=function(w,O,b){for(var p,u=b;O.length&&(p=O[O.length-1]).i<=u;)O.pop(),w==null||w.push(p.vs),u++;return u},C=function(w,O){return function(b,p){if(b.fixorder!==void 0&&p.fixorder!==void 0)return b.fixorder-p.fixorder;if(b.barycenter<p.barycenter)return-1;if(b.barycenter>p.barycenter)return 1;if(O&&b.order!==void 0&&p.order!==void 0){if(b.order<p.order)return-1;if(b.order>p.order)return 1}return w?p.i-b.i:b.i-p.i}};c.default=function(w,O,b,p){var u=(0,y.partition)(w,function(M){var E=M.hasOwnProperty(\"fixorder\")&&!isNaN(M.fixorder);return p?!E&&M.hasOwnProperty(\"barycenter\"):E||M.hasOwnProperty(\"barycenter\")}),a=u.lhs,f=u.rhs.sort(function(M,E){return-M.i- -E.i}),h=[],l=0,s=0,m=0;a==null||a.sort(C(!!O,!!b)),m=N(h,f,m),a==null||a.forEach(function(M){var E;m+=(E=M.vs)===null||E===void 0?void 0:E.length,h.push(M.vs),l+=M.barycenter*M.weight,s+=M.weight,m=N(h,f,m)});var x={vs:h.flat()};return s&&(x.barycenter=l/s,x.weight=s),x}},function(Ee,c,r){\"use strict\";var y=this&&this.__spreadArray||function(w,O,b){if(b||arguments.length===2)for(var p,u=0,a=O.length;u<a;u++)!p&&u in O||(p||(p=Array.prototype.slice.call(O,0,u)),p[u]=O[u]);return w.concat(p||Array.prototype.slice.call(O))};Object.defineProperty(c,\"__esModule\",{value:!0});var N=r(26),C=r(178);c.default=function(w){var O,b=(0,N.asNonCompoundGraph)(w);(function(u){var a=(0,N.buildLayerMatrix)(u),f=u.graph().ranksep,h=0;a==null||a.forEach(function(l){var s=l.map(function(x){return u.node(x).height}),m=Math.max.apply(Math,y(y([],s,!1),[0],!1));l==null||l.forEach(function(x){u.node(x).y=h+m/2}),h+=m+f})})(b);var p=function(u){var a=(0,N.buildLayerMatrix)(u),f=Object.assign((0,C.findType1Conflicts)(u,a),(0,C.findType2Conflicts)(u,a)),h={},l=[];[\"u\",\"d\"].forEach(function(m){l=m===\"u\"?a:Object.values(a).reverse(),[\"l\",\"r\"].forEach(function(x){x===\"r\"&&(l=l.map(function(L){return Object.values(L).reverse()}));var M=(m===\"u\"?u.predecessors:u.successors).bind(u),E=(0,C.verticalAlignment)(u,l,f,M),j=(0,C.horizontalCompaction)(u,l,E.root,E.align,x===\"r\");x===\"r\"&&Object.keys(j).forEach(function(L){return j[L]=-j[L]}),h[m+x]=j})});var s=(0,C.findSmallestWidthAlignment)(u,h);return s&&(0,C.alignCoordinates)(h,s),(0,C.balance)(h,u.graph().align)}(b);(O=Object.keys(p))===null||O===void 0||O.forEach(function(u){b.node(u).x=p[u]})}},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(p,u){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,f){a.__proto__=f}||function(a,f){for(var h in f)Object.prototype.hasOwnProperty.call(f,h)&&(a[h]=f[h])})(p,u)},function(p,u){if(typeof u!=\"function\"&&u!==null)throw new TypeError(\"Class extends value \"+String(u)+\" is not a constructor or null\");function a(){this.constructor=p}y(p,u),p.prototype=u===null?Object.create(u):(a.prototype=u.prototype,new a)});Object.defineProperty(c,\"__esModule\",{value:!0}),c.width=c.sep=c.positionX=c.balance=c.alignCoordinates=c.findSmallestWidthAlignment=c.buildBlockGraph=c.horizontalCompaction=c.verticalAlignment=c.hasConflict=c.addConflict=c.findOtherInnerSegmentNode=c.findType2Conflicts=c.findType1Conflicts=void 0;var C=r(47),w=r(26),O=function(p){function u(){return p!==null&&p.apply(this,arguments)||this}return N(u,p),u}(C.Graph);c.findType1Conflicts=function(p,u){var a={};return u!=null&&u.length&&u.reduce(function(f,h){var l=0,s=0,m=f.length,x=h==null?void 0:h[(h==null?void 0:h.length)-1];return h==null||h.forEach(function(M,E){var j,L=(0,c.findOtherInnerSegmentNode)(p,M),A=L?p.node(L).order:m;(L||M===x)&&((j=h.slice(s,E+1))===null||j===void 0||j.forEach(function(J){var q;(q=p.predecessors(J))===null||q===void 0||q.forEach(function(re){var me,Te=p.node(re),ee=Te.order;!(ee<l||A<ee)||Te.dummy&&(!((me=p.node(J))===null||me===void 0)&&me.dummy)||(0,c.addConflict)(a,re,J)})}),s=E+1,l=A)}),h}),a},c.findType2Conflicts=function(p,u){var a={};function f(l,s,m,x,M){for(var E,j,L,A=s;A<m;A++)L=l[A],!((E=p.node(L))===null||E===void 0)&&E.dummy&&((j=p.predecessors(L))===null||j===void 0||j.forEach(function(J){var q=p.node(J);q.dummy&&(q.order<x||q.order>M)&&(0,c.addConflict)(a,J,L)}))}function h(l,s){var m=function(x){return JSON.stringify(x.slice(1))}(l);s.get(m)||(f.apply(void 0,l),s.set(m,!0))}return u!=null&&u.length&&u.reduce(function(l,s){var m,x=-1,M=0,E=new Map;return s==null||s.forEach(function(j,L){var A;if(((A=p.node(j))===null||A===void 0?void 0:A.dummy)===\"border\"){var J=p.predecessors(j)||[];J.length&&(m=p.node(J[0]).order,h([s,M,L,x,m],E),M=L,x=m)}h([s,M,s.length,m,l.length],E)}),s}),a},c.findOtherInnerSegmentNode=function(p,u){var a,f;if(!((a=p.node(u))===null||a===void 0)&&a.dummy)return(f=p.predecessors(u))===null||f===void 0?void 0:f.find(function(h){return p.node(h).dummy})},c.addConflict=function(p,u,a){var f=u,h=a;if(f>h){var l=f;f=h,h=l}var s=p[f];s||(p[f]=s={}),s[h]=!0},c.hasConflict=function(p,u,a){var f=u;return f>a&&(f=a),!!p[f]},c.verticalAlignment=function(p,u,a,f){var h={},l={},s={};return u==null||u.forEach(function(m){m==null||m.forEach(function(x,M){h[x]=x,l[x]=x,s[x]=M})}),u==null||u.forEach(function(m){var x=-1;m==null||m.forEach(function(M){var E=f(M);if(E.length)for(var j=((E=E.sort(function(q,re){return s[q]-s[re]})).length-1)/2,L=Math.floor(j),A=Math.ceil(j);L<=A;++L){var J=E[L];l[M]===M&&x<s[J]&&!(0,c.hasConflict)(a,M,J)&&(l[J]=M,l[M]=h[M]=h[J],x=s[J])}})}),{root:h,align:l}},c.horizontalCompaction=function(p,u,a,f,h){var l,s={},m=(0,c.buildBlockGraph)(p,u,a,h),x=h?\"borderLeft\":\"borderRight\",M=function(E,j){for(var L=m.nodes(),A=L.pop(),J={};A;)J[A]?E(A):(J[A]=!0,L.push(A),L=L.concat(j(A))),A=L.pop()};return M(function(E){s[E]=(m.inEdges(E)||[]).reduce(function(j,L){return Math.max(j,(s[L.v]||0)+m.edge(L))},0)},m.predecessors.bind(m)),M(function(E){var j=(m.outEdges(E)||[]).reduce(function(A,J){return Math.min(A,(s[J.w]||0)-m.edge(J))},Number.POSITIVE_INFINITY),L=p.node(E);j!==Number.POSITIVE_INFINITY&&L.borderType!==x&&(s[E]=Math.max(s[E],j))},m.successors.bind(m)),(l=Object.values(f))===null||l===void 0||l.forEach(function(E){s[E]=s[a[E]]}),s},c.buildBlockGraph=function(p,u,a,f){var h=new O,l=p.graph(),s=(0,c.sep)(l.nodesep,l.edgesep,f);return u==null||u.forEach(function(m){var x;m==null||m.forEach(function(M){var E=a[M];if(h.setNode(E),x){var j=a[x],L=h.edgeFromArgs(j,E);h.setEdge(j,E,Math.max(s(p,M,x),L||0))}x=M})}),h};function b(p,u){var a=Object.values(u),f=Math.min.apply(Math,a),h=Math.max.apply(Math,a);[\"u\",\"d\"].forEach(function(l){[\"l\",\"r\"].forEach(function(s){var m,x=l+s,M=p[x];if(M!==u){var E=Object.values(M);(m=s===\"l\"?f-Math.min.apply(Math,E):h-Math.max.apply(Math,E))&&(p[x]={},Object.keys(M).forEach(function(j){p[x][j]=M[j]+m}))}})})}c.findSmallestWidthAlignment=function(p,u){return(0,w.minBy)(Object.values(u),function(a){var f,h=Number.NEGATIVE_INFINITY,l=Number.POSITIVE_INFINITY;return(f=Object.keys(a))===null||f===void 0||f.forEach(function(s){var m=a[s],x=(0,c.width)(p,s)/2;h=Math.max(m+x,h),l=Math.min(m-x,l)}),h-l})},c.alignCoordinates=b,c.balance=function(p,u){var a={};return Object.keys(p.ul).forEach(function(f){if(u)a[f]=p[u.toLowerCase()][f];else{var h=Object.values(p).map(function(l){return l[f]});a[f]=(h[0]+h[1])/2}}),a},c.positionX=function(p){var u,a=(0,w.buildLayerMatrix)(p),f=Object.assign((0,c.findType1Conflicts)(p,a),(0,c.findType2Conflicts)(p,a)),h={};[\"u\",\"d\"].forEach(function(s){u=s===\"u\"?a:Object.values(a).reverse(),[\"l\",\"r\"].forEach(function(m){m===\"r\"&&(u=u.map(function(j){return Object.values(j).reverse()}));var x=(s===\"u\"?p.predecessors:p.successors).bind(p),M=(0,c.verticalAlignment)(p,u,f,x),E=(0,c.horizontalCompaction)(p,u,M.root,M.align,m===\"r\");m===\"r\"&&Object.keys(E).forEach(function(j){E[j]=-E[j]}),h[s+m]=E})});var l=(0,c.findSmallestWidthAlignment)(p,h);return b(h,l),(0,c.balance)(h,p.graph().align)},c.sep=function(p,u,a){return function(f,h,l){var s,m=f.node(h),x=f.node(l),M=0;if(M+=m.width/2,m.hasOwnProperty(\"labelpos\"))switch((m.labelpos||\"\").toLowerCase()){case\"l\":s=-m.width/2;break;case\"r\":s=m.width/2}if(s&&(M+=a?s:-s),s=0,M+=(m.dummy?u:p)/2,M+=(x.dummy?u:p)/2,M+=x.width/2,x.labelpos)switch((x.labelpos||\"\").toLowerCase()){case\"l\":s=x.width/2;break;case\"r\":s=-x.width/2}return s&&(M+=a?s:-s),s=0,M}},c.width=function(p,u){return p.node(u).width||0}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=function(y,N){for(var C=y.nodes().filter(function(p){var u;return!(!((u=y.children(p))===null||u===void 0)&&u.length)}).map(function(p){return y.node(p).rank}),w=Math.max.apply(Math,C),O=[],b=0;b<w+1;b++)O[b]=[];N==null||N.forEach(function(p){var u=y.node(p);u&&!(u!=null&&u.dummy)&&(isNaN(u.rank)||(u.fixorder=O[u.rank].length,O[u.rank].push(p)))})}},function(Ee,c,r){\"use strict\";r.r(c),function(y){function N($,ne){var Me=typeof Symbol!=\"undefined\"&&$[Symbol.iterator]||$[\"@@iterator\"];if(!Me){if(Array.isArray($)||(Me=a($))||ne&&$&&typeof $.length==\"number\"){Me&&($=Me);var tt=0,at=function(){};return{s:at,n:function(){return tt>=$.length?{done:!0}:{done:!1,value:$[tt++]}},e:function(nn){throw nn},f:at}}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 Nt,Tt=!0,Jt=!1;return{s:function(){Me=Me.call($)},n:function(){var nn=Me.next();return Tt=nn.done,nn},e:function(nn){Jt=!0,Nt=nn},f:function(){try{Tt||Me.return==null||Me.return()}finally{if(Jt)throw Nt}}}}function C($){return function(ne){if(Array.isArray(ne))return f(ne)}($)||function(ne){if(typeof Symbol!=\"undefined\"&&ne[Symbol.iterator]!=null||ne[\"@@iterator\"]!=null)return Array.from(ne)}($)||a($)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function w($,ne){return(w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Me,tt){return Me.__proto__=tt,Me})($,ne)}function O($){var ne=function(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(Me){return!1}}();return function(){var Me,tt=p($);if(ne){var at=p(this).constructor;Me=Reflect.construct(tt,arguments,at)}else Me=tt.apply(this,arguments);return b(this,Me)}}function b($,ne){if(ne&&(m(ne)===\"object\"||typeof ne==\"function\"))return ne;if(ne!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(Me){if(Me===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return Me}($)}function p($){return(p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(ne){return ne.__proto__||Object.getPrototypeOf(ne)})($)}function u($,ne){return function(Me){if(Array.isArray(Me))return Me}($)||function(Me,tt){var at=Me==null?null:typeof Symbol!=\"undefined\"&&Me[Symbol.iterator]||Me[\"@@iterator\"];if(at!=null){var Nt,Tt,Jt,nn,zn=[],mr=!0,Er=!1;try{if(Jt=(at=at.call(Me)).next,tt===0){if(Object(at)!==at)return;mr=!1}else for(;!(mr=(Nt=Jt.call(at)).done)&&(zn.push(Nt.value),zn.length!==tt);mr=!0);}catch(Zr){Er=!0,Tt=Zr}finally{try{if(!mr&&at.return!=null&&(nn=at.return(),Object(nn)!==nn))return}finally{if(Er)throw Tt}}return zn}}($,ne)||a($,ne)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function a($,ne){if($){if(typeof $==\"string\")return f($,ne);var Me=Object.prototype.toString.call($).slice(8,-1);return Me===\"Object\"&&$.constructor&&(Me=$.constructor.name),Me===\"Map\"||Me===\"Set\"?Array.from($):Me===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Me)?f($,ne):void 0}}function f($,ne){(ne==null||ne>$.length)&&(ne=$.length);for(var Me=0,tt=new Array(ne);Me<ne;Me++)tt[Me]=$[Me];return tt}function h($,ne){for(var Me=0;Me<ne.length;Me++){var tt=ne[Me];tt.enumerable=tt.enumerable||!1,tt.configurable=!0,\"value\"in tt&&(tt.writable=!0),Object.defineProperty($,(at=tt.key,Nt=void 0,Nt=function(Tt,Jt){if(m(Tt)!==\"object\"||Tt===null)return Tt;var nn=Tt[Symbol.toPrimitive];if(nn!==void 0){var zn=nn.call(Tt,Jt||\"default\");if(m(zn)!==\"object\")return zn;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(Jt===\"string\"?String:Number)(Tt)}(at,\"string\"),m(Nt)===\"symbol\"?Nt:String(Nt)),tt)}var at,Nt}function l($,ne,Me){return ne&&h($.prototype,ne),Me&&h($,Me),Object.defineProperty($,\"prototype\",{writable:!1}),$}function s($,ne){if(!($ instanceof ne))throw new TypeError(\"Cannot call a class as a function\")}function m($){return(m=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(ne){return typeof ne}:function(ne){return ne&&typeof Symbol==\"function\"&&ne.constructor===Symbol&&ne!==Symbol.prototype?\"symbol\":typeof ne})($)}r.d(c,\"BRIDGE_GRAPH_NAME\",function(){return re}),r.d(c,\"GraphType\",function(){return A}),r.d(c,\"HierarchyNodeType\",function(){return J}),r.d(c,\"InclusionType\",function(){return L}),r.d(c,\"LAYOUT_CONFIG\",function(){return x}),r.d(c,\"NodeType\",function(){return j}),r.d(c,\"ROOT_NAME\",function(){return q}),r.d(c,\"buildGraph\",function(){return Al}),r.d(c,\"flatGraph\",function(){return sl}),r.d(c,\"getEdges\",function(){return Vl}),r.d(c,\"mergeConfig\",function(){return M});var x={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 M(){var $,ne,Me,tt,at=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:x,Tt=JSON.parse(JSON.stringify(Nt)),Jt=(($=at==null?void 0:at.graph)===null||$===void 0?void 0:$.meta)||{},nn=((ne=at==null?void 0:at.subScene)===null||ne===void 0?void 0:ne.meta)||{},zn=((Me=at==null?void 0:at.nodeSize)===null||Me===void 0?void 0:Me.meta)||{},mr=((tt=at==null?void 0:at.nodeSize)===null||tt===void 0?void 0:tt.node)||{},Er=Tt.nodeSize.bridge;return{graph:{meta:Object.assign(Tt.graph.meta,Jt)},subScene:{meta:Object.assign(Tt.subScene.meta,nn)},nodeSize:{meta:Object.assign(Tt.nodeSize.meta,zn),node:Object.assign(Tt.nodeSize.node,mr),bridge:Er}}}function E($){return\"\\u25EC\".concat($,\"\\u25EC\")}var j,L,A,J,q=E(\"ROOT\"),re=E(\"BRIDGE_GRAPH\");(function($){$[$.META=0]=\"META\",$[$.NODE=1]=\"NODE\",$[$.BRIDGE=2]=\"BRIDGE\"})(j||(j={})),function($){$[$.INCLUDE=0]=\"INCLUDE\",$[$.EXCLUDE=1]=\"EXCLUDE\",$[$.UNSPECIFIED=2]=\"UNSPECIFIED\"}(L||(L={})),function($){$[$.META=0]=\"META\",$[$.CORE=1]=\"CORE\",$[$.BRIDGE=2]=\"BRIDGE\"}(A||(A={})),function($){$[$.META=0]=\"META\",$[$.OP=1]=\"OP\",$[$.SERIES=2]=\"SERIES\"}(J||(J={}));var me=typeof globalThis!=\"undefined\"?globalThis:typeof window!=\"undefined\"?window:y!==void 0?y:typeof self!=\"undefined\"?self:{};function Te($,ne){return $(ne={exports:{}},ne.exports),ne.exports}var ee=function($,ne){return $===ne||$!=$&&ne!=ne},xe=function($,ne){for(var Me=$.length;Me--;)if(ee($[Me][0],ne))return Me;return-1},Ie=Array.prototype.splice;function Le($){var ne=-1,Me=$==null?0:$.length;for(this.clear();++ne<Me;){var tt=$[ne];this.set(tt[0],tt[1])}}Le.prototype.clear=function(){this.__data__=[],this.size=0},Le.prototype.delete=function($){var ne=this.__data__,Me=xe(ne,$);return!(Me<0||(Me==ne.length-1?ne.pop():Ie.call(ne,Me,1),--this.size,0))},Le.prototype.get=function($){var ne=this.__data__,Me=xe(ne,$);return Me<0?void 0:ne[Me][1]},Le.prototype.has=function($){return xe(this.__data__,$)>-1},Le.prototype.set=function($,ne){var Me=this.__data__,tt=xe(Me,$);return tt<0?(++this.size,Me.push([$,ne])):Me[tt][1]=ne,this};var De,ce=Le,ye=m(me)==\"object\"&&me&&me.Object===Object&&me,Oe=(typeof self==\"undefined\"?\"undefined\":m(self))==\"object\"&&self&&self.Object===Object&&self,Ce=ye||Oe||Function(\"return this\")(),oe=Ce.Symbol,he=Object.prototype,ie=he.hasOwnProperty,ae=he.toString,ve=oe?oe.toStringTag:void 0,X=Object.prototype.toString,se=oe?oe.toStringTag:void 0,fe=function($){return $==null?$===void 0?\"[object Undefined]\":\"[object Null]\":se&&se in Object($)?function(ne){var Me=ie.call(ne,ve),tt=ne[ve];try{ne[ve]=void 0;var at=!0}catch(Tt){}var Nt=ae.call(ne);return at&&(Me?ne[ve]=tt:delete ne[ve]),Nt}($):function(ne){return X.call(ne)}($)},_e=function($){var ne=m($);return $!=null&&(ne==\"object\"||ne==\"function\")},be=function($){if(!_e($))return!1;var ne=fe($);return ne==\"[object Function]\"||ne==\"[object GeneratorFunction]\"||ne==\"[object AsyncFunction]\"||ne==\"[object Proxy]\"},We=Ce[\"__core-js_shared__\"],we=(De=/[^.]+$/.exec(We&&We.keys&&We.keys.IE_PROTO||\"\"))?\"Symbol(src)_1.\"+De:\"\",Ze=Function.prototype.toString,Ve=function($){if($!=null){try{return Ze.call($)}catch(ne){}try{return $+\"\"}catch(ne){}}return\"\"},et=/^\\[object .+?Constructor\\]$/,ht=Function.prototype,Fe=Object.prototype,mt=ht.toString,dt=Fe.hasOwnProperty,Lt=RegExp(\"^\"+mt.call(dt).replace(/[\\\\^$.*+?()[\\]{}|]/g,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\"),lt=function($){return!(!_e($)||function(ne){return!!we&&we in ne}($))&&(be($)?Lt:et).test(Ve($))},rn=function($,ne){var Me=function(tt,at){return tt==null?void 0:tt[at]}($,ne);return lt(Me)?Me:void 0},qt=rn(Ce,\"Map\"),hn=rn(Object,\"create\"),Kt=Object.prototype.hasOwnProperty,an=Object.prototype.hasOwnProperty;function In($){var ne=-1,Me=$==null?0:$.length;for(this.clear();++ne<Me;){var tt=$[ne];this.set(tt[0],tt[1])}}In.prototype.clear=function(){this.__data__=hn?hn(null):{},this.size=0},In.prototype.delete=function($){var ne=this.has($)&&delete this.__data__[$];return this.size-=ne?1:0,ne},In.prototype.get=function($){var ne=this.__data__;if(hn){var Me=ne[$];return Me===\"__lodash_hash_undefined__\"?void 0:Me}return Kt.call(ne,$)?ne[$]:void 0},In.prototype.has=function($){var ne=this.__data__;return hn?ne[$]!==void 0:an.call(ne,$)},In.prototype.set=function($,ne){var Me=this.__data__;return this.size+=this.has($)?0:1,Me[$]=hn&&ne===void 0?\"__lodash_hash_undefined__\":ne,this};var Ft=In,kt=function($,ne){var Me=$.__data__;return function(tt){var at=m(tt);return at==\"string\"||at==\"number\"||at==\"symbol\"||at==\"boolean\"?tt!==\"__proto__\":tt===null}(ne)?Me[typeof ne==\"string\"?\"string\":\"hash\"]:Me.map};function At($){var ne=-1,Me=$==null?0:$.length;for(this.clear();++ne<Me;){var tt=$[ne];this.set(tt[0],tt[1])}}At.prototype.clear=function(){this.size=0,this.__data__={hash:new Ft,map:new(qt||ce),string:new Ft}},At.prototype.delete=function($){var ne=kt(this,$).delete($);return this.size-=ne?1:0,ne},At.prototype.get=function($){return kt(this,$).get($)},At.prototype.has=function($){return kt(this,$).has($)},At.prototype.set=function($,ne){var Me=kt(this,$),tt=Me.size;return Me.set($,ne),this.size+=Me.size==tt?0:1,this};var Fn=At;function pn($){var ne=this.__data__=new ce($);this.size=ne.size}pn.prototype.clear=function(){this.__data__=new ce,this.size=0},pn.prototype.delete=function($){var ne=this.__data__,Me=ne.delete($);return this.size=ne.size,Me},pn.prototype.get=function($){return this.__data__.get($)},pn.prototype.has=function($){return this.__data__.has($)},pn.prototype.set=function($,ne){var Me=this.__data__;if(Me instanceof ce){var tt=Me.__data__;if(!qt||tt.length<199)return tt.push([$,ne]),this.size=++Me.size,this;Me=this.__data__=new Fn(tt)}return Me.set($,ne),this.size=Me.size,this};var en=pn,Wn=function($,ne){for(var Me=-1,tt=$==null?0:$.length;++Me<tt&&ne($[Me],Me,$)!==!1;);return $},Mn=function(){try{var $=rn(Object,\"defineProperty\");return $({},\"\",{}),$}catch(ne){}}(),Kn=function($,ne,Me){ne==\"__proto__\"&&Mn?Mn($,ne,{configurable:!0,enumerable:!0,value:Me,writable:!0}):$[ne]=Me},hr=Object.prototype.hasOwnProperty,pr=function($,ne,Me){var tt=$[ne];hr.call($,ne)&&ee(tt,Me)&&(Me!==void 0||ne in $)||Kn($,ne,Me)},zr=function($,ne,Me,tt){var at=!Me;Me||(Me={});for(var Nt=-1,Tt=ne.length;++Nt<Tt;){var Jt=ne[Nt],nn=tt?tt(Me[Jt],$[Jt],Jt,Me,$):void 0;nn===void 0&&(nn=$[Jt]),at?Kn(Me,Jt,nn):pr(Me,Jt,nn)}return Me},Wr=function($){return $!=null&&m($)==\"object\"},Nr=function($){return Wr($)&&fe($)==\"[object Arguments]\"},Kr=Object.prototype,ko=Kr.hasOwnProperty,Ur=Kr.propertyIsEnumerable,gn=Nr(function(){return arguments}())?Nr:function($){return Wr($)&&ko.call($,\"callee\")&&!Ur.call($,\"callee\")},Gt=Array.isArray,bt=function(){return!1},Zt=Te(function($,ne){var Me=ne&&!ne.nodeType&&ne,tt=Me&&$&&!$.nodeType&&$,at=tt&&tt.exports===Me?Ce.Buffer:void 0,Nt=(at?at.isBuffer:void 0)||bt;$.exports=Nt}),gt=/^(?:0|[1-9]\\d*)$/,Wt=function($,ne){var Me=m($);return!!(ne=ne==null?9007199254740991:ne)&&(Me==\"number\"||Me!=\"symbol\"&&gt.test($))&&$>-1&&$%1==0&&$<ne},xn=function($){return typeof $==\"number\"&&$>-1&&$%1==0&&$<=9007199254740991},Dt={};Dt[\"[object Float32Array]\"]=Dt[\"[object Float64Array]\"]=Dt[\"[object Int8Array]\"]=Dt[\"[object Int16Array]\"]=Dt[\"[object Int32Array]\"]=Dt[\"[object Uint8Array]\"]=Dt[\"[object Uint8ClampedArray]\"]=Dt[\"[object Uint16Array]\"]=Dt[\"[object Uint32Array]\"]=!0,Dt[\"[object Arguments]\"]=Dt[\"[object Array]\"]=Dt[\"[object ArrayBuffer]\"]=Dt[\"[object Boolean]\"]=Dt[\"[object DataView]\"]=Dt[\"[object Date]\"]=Dt[\"[object Error]\"]=Dt[\"[object Function]\"]=Dt[\"[object Map]\"]=Dt[\"[object Number]\"]=Dt[\"[object Object]\"]=Dt[\"[object RegExp]\"]=Dt[\"[object Set]\"]=Dt[\"[object String]\"]=Dt[\"[object WeakMap]\"]=!1;var Xn=function($){return function(ne){return $(ne)}},Rn=Te(function($,ne){var Me=ne&&!ne.nodeType&&ne,tt=Me&&$&&!$.nodeType&&$,at=tt&&tt.exports===Me&&ye.process,Nt=function(){try{return tt&&tt.require&&tt.require(\"util\").types||at&&at.binding&&at.binding(\"util\")}catch(Tt){}}();$.exports=Nt}),wt=Rn&&Rn.isTypedArray,pt=wt?Xn(wt):function($){return Wr($)&&xn($.length)&&!!Dt[fe($)]},Ue=Object.prototype.hasOwnProperty,xt=function($,ne){var Me=Gt($),tt=!Me&&gn($),at=!Me&&!tt&&Zt($),Nt=!Me&&!tt&&!at&&pt($),Tt=Me||tt||at||Nt,Jt=Tt?function(mr,Er){for(var Zr=-1,Yr=Array(mr);++Zr<mr;)Yr[Zr]=Er(Zr);return Yr}($.length,String):[],nn=Jt.length;for(var zn in $)!ne&&!Ue.call($,zn)||Tt&&(zn==\"length\"||at&&(zn==\"offset\"||zn==\"parent\")||Nt&&(zn==\"buffer\"||zn==\"byteLength\"||zn==\"byteOffset\")||Wt(zn,nn))||Jt.push(zn);return Jt},cn=Object.prototype,er=function($){var ne=$&&$.constructor;return $===(typeof ne==\"function\"&&ne.prototype||cn)},Mr=function($,ne){return function(Me){return $(ne(Me))}},xr=Mr(Object.keys,Object),jr=Object.prototype.hasOwnProperty,yo=function($){if(!er($))return xr($);var ne=[];for(var Me in Object($))jr.call($,Me)&&Me!=\"constructor\"&&ne.push(Me);return ne},eo=function($){return $!=null&&xn($.length)&&!be($)},vi=function($){return eo($)?xt($):yo($)},Ti=Object.prototype.hasOwnProperty,wi=function($){if(!_e($))return function(at){var Nt=[];if(at!=null)for(var Tt in Object(at))Nt.push(Tt);return Nt}($);var ne=er($),Me=[];for(var tt in $)(tt!=\"constructor\"||!ne&&Ti.call($,tt))&&Me.push(tt);return Me},mi=function($){return eo($)?xt($,!0):wi($)},Zi=Te(function($,ne){var Me=ne&&!ne.nodeType&&ne,tt=Me&&$&&!$.nodeType&&$,at=tt&&tt.exports===Me?Ce.Buffer:void 0,Nt=at?at.allocUnsafe:void 0;$.exports=function(Tt,Jt){if(Jt)return Tt.slice();var nn=Tt.length,zn=Nt?Nt(nn):new Tt.constructor(nn);return Tt.copy(zn),zn}}),aa=function($,ne){var Me=-1,tt=$.length;for(ne||(ne=Array(tt));++Me<tt;)ne[Me]=$[Me];return ne},$e=function($,ne){for(var Me=-1,tt=$==null?0:$.length,at=0,Nt=[];++Me<tt;){var Tt=$[Me];ne(Tt,Me,$)&&(Nt[at++]=Tt)}return Nt},dn=function(){return[]},Un=Object.prototype.propertyIsEnumerable,ar=Object.getOwnPropertySymbols,Rr=ar?function($){return $==null?[]:($=Object($),$e(ar($),function(ne){return Un.call($,ne)}))}:dn,Ro=function($,ne){for(var Me=-1,tt=ne.length,at=$.length;++Me<tt;)$[at+Me]=ne[Me];return $},Vo=Mr(Object.getPrototypeOf,Object),Co=Object.getOwnPropertySymbols?function($){for(var ne=[];$;)Ro(ne,Rr($)),$=Vo($);return ne}:dn,Mo=function($,ne,Me){var tt=ne($);return Gt($)?tt:Ro(tt,Me($))},qo=function($){return Mo($,vi,Rr)},ti=function($){return Mo($,mi,Co)},pi=rn(Ce,\"DataView\"),ni=rn(Ce,\"Promise\"),si=rn(Ce,\"Set\"),Oi=rn(Ce,\"WeakMap\"),Ki=Ve(pi),ca=Ve(qt),zi=Ve(ni),br=Ve(si),Re=Ve(Oi),je=fe;(pi&&je(new pi(new ArrayBuffer(1)))!=\"[object DataView]\"||qt&&je(new qt)!=\"[object Map]\"||ni&&je(ni.resolve())!=\"[object Promise]\"||si&&je(new si)!=\"[object Set]\"||Oi&&je(new Oi)!=\"[object WeakMap]\")&&(je=function($){var ne=fe($),Me=ne==\"[object Object]\"?$.constructor:void 0,tt=Me?Ve(Me):\"\";if(tt)switch(tt){case Ki:return\"[object DataView]\";case ca:return\"[object Map]\";case zi:return\"[object Promise]\";case br:return\"[object Set]\";case Re:return\"[object WeakMap]\"}return ne});var nt=je,rt=Object.prototype.hasOwnProperty,Xt=Ce.Uint8Array,fn=function($){var ne=new $.constructor($.byteLength);return new Xt(ne).set(new Xt($)),ne},Cn=/\\w*$/,Yn=oe?oe.prototype:void 0,Ae=Yn?Yn.valueOf:void 0,Ke=function($,ne){var Me=ne?fn($.buffer):$.buffer;return new $.constructor(Me,$.byteOffset,$.length)},Mt=function($,ne,Me){var tt=$.constructor;switch(ne){case\"[object ArrayBuffer]\":return fn($);case\"[object Boolean]\":case\"[object Date]\":return new tt(+$);case\"[object DataView]\":return function(at,Nt){var Tt=Nt?fn(at.buffer):at.buffer;return new at.constructor(Tt,at.byteOffset,at.byteLength)}($,Me);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 Ke($,Me);case\"[object Map]\":return new tt;case\"[object Number]\":case\"[object String]\":return new tt($);case\"[object RegExp]\":return function(at){var Nt=new at.constructor(at.source,Cn.exec(at));return Nt.lastIndex=at.lastIndex,Nt}($);case\"[object Set]\":return new tt;case\"[object Symbol]\":return function(at){return Ae?Object(Ae.call(at)):{}}($)}},Ut=Object.create,kn=function(){function $(){}return function(ne){if(!_e(ne))return{};if(Ut)return Ut(ne);$.prototype=ne;var Me=new $;return $.prototype=void 0,Me}}(),Zn=function($){return typeof $.constructor!=\"function\"||er($)?{}:kn(Vo($))},lr=Rn&&Rn.isMap,wr=lr?Xn(lr):function($){return Wr($)&&nt($)==\"[object Map]\"},Dr=Rn&&Rn.isSet,go=Dr?Xn(Dr):function($){return Wr($)&&nt($)==\"[object Set]\"},Ir={};Ir[\"[object Arguments]\"]=Ir[\"[object Array]\"]=Ir[\"[object ArrayBuffer]\"]=Ir[\"[object DataView]\"]=Ir[\"[object Boolean]\"]=Ir[\"[object Date]\"]=Ir[\"[object Float32Array]\"]=Ir[\"[object Float64Array]\"]=Ir[\"[object Int8Array]\"]=Ir[\"[object Int16Array]\"]=Ir[\"[object Int32Array]\"]=Ir[\"[object Map]\"]=Ir[\"[object Number]\"]=Ir[\"[object Object]\"]=Ir[\"[object RegExp]\"]=Ir[\"[object Set]\"]=Ir[\"[object String]\"]=Ir[\"[object Symbol]\"]=Ir[\"[object Uint8Array]\"]=Ir[\"[object Uint8ClampedArray]\"]=Ir[\"[object Uint16Array]\"]=Ir[\"[object Uint32Array]\"]=!0,Ir[\"[object Error]\"]=Ir[\"[object Function]\"]=Ir[\"[object WeakMap]\"]=!1;var Jr=function $(ne,Me,tt,at,Nt,Tt){var Jt,nn=1&Me,zn=2&Me,mr=4&Me;if(tt&&(Jt=Nt?tt(ne,at,Nt,Tt):tt(ne)),Jt!==void 0)return Jt;if(!_e(ne))return ne;var Er=Gt(ne);if(Er){if(Jt=function(xo){var lo=xo.length,Io=new xo.constructor(lo);return lo&&typeof xo[0]==\"string\"&&rt.call(xo,\"index\")&&(Io.index=xo.index,Io.input=xo.input),Io}(ne),!nn)return aa(ne,Jt)}else{var Zr=nt(ne),Yr=Zr==\"[object Function]\"||Zr==\"[object GeneratorFunction]\";if(Zt(ne))return Zi(ne,nn);if(Zr==\"[object Object]\"||Zr==\"[object Arguments]\"||Yr&&!Nt){if(Jt=zn||Yr?{}:Zn(ne),!nn)return zn?function(xo,lo){return zr(xo,Co(xo),lo)}(ne,function(xo,lo){return xo&&zr(lo,mi(lo),xo)}(Jt,ne)):function(xo,lo){return zr(xo,Rr(xo),lo)}(ne,function(xo,lo){return xo&&zr(lo,vi(lo),xo)}(Jt,ne))}else{if(!Ir[Zr])return Nt?ne:{};Jt=Mt(ne,Zr,nn)}}Tt||(Tt=new en);var So=Tt.get(ne);if(So)return So;Tt.set(ne,Jt),go(ne)?ne.forEach(function(xo){Jt.add($(xo,Me,tt,xo,ne,Tt))}):wr(ne)&&ne.forEach(function(xo,lo){Jt.set(lo,$(xo,Me,tt,lo,ne,Tt))});var Oo=Er?void 0:(mr?zn?ti:qo:zn?mi:vi)(ne);return Wn(Oo||ne,function(xo,lo){Oo&&(xo=ne[lo=xo]),pr(Jt,lo,$(xo,Me,tt,lo,ne,Tt))}),Jt},_o=function($){return function(){return $}},No=function($,ne,Me){for(var tt=-1,at=Object($),Nt=Me($),Tt=Nt.length;Tt--;){var Jt=Nt[++tt];if(ne(at[Jt],Jt,at)===!1)break}return $},ii=function($,ne){return $&&No($,ne,vi)},Lo=function($,ne){return function(Me,tt){if(Me==null)return Me;if(!eo(Me))return $(Me,tt);for(var at=Me.length,Nt=-1,Tt=Object(Me);++Nt<at&&tt(Tt[Nt],Nt,Tt)!==!1;);return Me}}(ii),ai=function($){return $},Si=function($){return typeof $==\"function\"?$:ai},Ui=function($,ne){return(Gt($)?Wn:Lo)($,Si(ne))},ln=Ui,mn=function($,ne){var Me=[];return Lo($,function(tt,at,Nt){ne(tt,at,Nt)&&Me.push(tt)}),Me};function fr($){var ne=-1,Me=$==null?0:$.length;for(this.__data__=new Fn;++ne<Me;)this.add($[ne])}fr.prototype.add=fr.prototype.push=function($){return this.__data__.set($,\"__lodash_hash_undefined__\"),this},fr.prototype.has=function($){return this.__data__.has($)};var ft=fr,ct=function($,ne){for(var Me=-1,tt=$==null?0:$.length;++Me<tt;)if(ne($[Me],Me,$))return!0;return!1},tn=function($,ne){return $.has(ne)},An=function($,ne,Me,tt,at,Nt){var Tt=1&Me,Jt=$.length,nn=ne.length;if(Jt!=nn&&!(Tt&&nn>Jt))return!1;var zn=Nt.get($),mr=Nt.get(ne);if(zn&&mr)return zn==ne&&mr==$;var Er=-1,Zr=!0,Yr=2&Me?new ft:void 0;for(Nt.set($,ne),Nt.set(ne,$);++Er<Jt;){var So=$[Er],Oo=ne[Er];if(tt)var xo=Tt?tt(Oo,So,Er,ne,$,Nt):tt(So,Oo,Er,$,ne,Nt);if(xo!==void 0){if(xo)continue;Zr=!1;break}if(Yr){if(!ct(ne,function(lo,Io){if(!tn(Yr,Io)&&(So===lo||at(So,lo,Me,tt,Nt)))return Yr.push(Io)})){Zr=!1;break}}else if(So!==Oo&&!at(So,Oo,Me,tt,Nt)){Zr=!1;break}}return Nt.delete($),Nt.delete(ne),Zr},Rt=function($){var ne=-1,Me=Array($.size);return $.forEach(function(tt,at){Me[++ne]=[at,tt]}),Me},un=function($){var ne=-1,Me=Array($.size);return $.forEach(function(tt){Me[++ne]=tt}),Me},Dn=oe?oe.prototype:void 0,dr=Dn?Dn.valueOf:void 0,Ar=function($,ne,Me,tt,at,Nt,Tt){switch(Me){case\"[object DataView]\":if($.byteLength!=ne.byteLength||$.byteOffset!=ne.byteOffset)return!1;$=$.buffer,ne=ne.buffer;case\"[object ArrayBuffer]\":return!($.byteLength!=ne.byteLength||!Nt(new Xt($),new Xt(ne)));case\"[object Boolean]\":case\"[object Date]\":case\"[object Number]\":return ee(+$,+ne);case\"[object Error]\":return $.name==ne.name&&$.message==ne.message;case\"[object RegExp]\":case\"[object String]\":return $==ne+\"\";case\"[object Map]\":var Jt=Rt;case\"[object Set]\":var nn=1&tt;if(Jt||(Jt=un),$.size!=ne.size&&!nn)return!1;var zn=Tt.get($);if(zn)return zn==ne;tt|=2,Tt.set($,ne);var mr=An(Jt($),Jt(ne),tt,at,Nt,Tt);return Tt.delete($),mr;case\"[object Symbol]\":if(dr)return dr.call($)==dr.call(ne)}return!1},Gr=Object.prototype.hasOwnProperty,Pr=Object.prototype.hasOwnProperty,Xr=function($,ne,Me,tt,at,Nt){var Tt=Gt($),Jt=Gt(ne),nn=Tt?\"[object Array]\":nt($),zn=Jt?\"[object Array]\":nt(ne),mr=(nn=nn==\"[object Arguments]\"?\"[object Object]\":nn)==\"[object Object]\",Er=(zn=zn==\"[object Arguments]\"?\"[object Object]\":zn)==\"[object Object]\",Zr=nn==zn;if(Zr&&Zt($)){if(!Zt(ne))return!1;Tt=!0,mr=!1}if(Zr&&!mr)return Nt||(Nt=new en),Tt||pt($)?An($,ne,Me,tt,at,Nt):Ar($,ne,nn,Me,tt,at,Nt);if(!(1&Me)){var Yr=mr&&Pr.call($,\"__wrapped__\"),So=Er&&Pr.call(ne,\"__wrapped__\");if(Yr||So){var Oo=Yr?$.value():$,xo=So?ne.value():ne;return Nt||(Nt=new en),at(Oo,xo,Me,tt,Nt)}}return!!Zr&&(Nt||(Nt=new en),function(lo,Io,Zo,xi,Ai,ci){var Ri=1&Zo,Ci=qo(lo),ua=Ci.length;if(ua!=qo(Io).length&&!Ri)return!1;for(var da=ua;da--;){var Da=Ci[da];if(!(Ri?Da in Io:Gr.call(Io,Da)))return!1}var as=ci.get(lo),ts=ci.get(Io);if(as&&ts)return as==Io&&ts==lo;var ka=!0;ci.set(lo,Io),ci.set(Io,lo);for(var uu=Ri;++da<ua;){var Su=lo[Da=Ci[da]],Js=Io[Da];if(xi)var Ws=Ri?xi(Js,Su,Da,Io,lo,ci):xi(Su,Js,Da,lo,Io,ci);if(!(Ws===void 0?Su===Js||Ai(Su,Js,Zo,xi,ci):Ws)){ka=!1;break}uu||(uu=Da==\"constructor\")}if(ka&&!uu){var Ru=lo.constructor,Iu=Io.constructor;Ru==Iu||!(\"constructor\"in lo)||!(\"constructor\"in Io)||typeof Ru==\"function\"&&Ru instanceof Ru&&typeof Iu==\"function\"&&Iu instanceof Iu||(ka=!1)}return ci.delete(lo),ci.delete(Io),ka}($,ne,Me,tt,at,Nt))},oo=function $(ne,Me,tt,at,Nt){return ne===Me||(ne==null||Me==null||!Wr(ne)&&!Wr(Me)?ne!=ne&&Me!=Me:Xr(ne,Me,tt,at,$,Nt))},io=function($){return $==$&&!_e($)},to=function($,ne){return function(Me){return Me!=null&&Me[$]===ne&&(ne!==void 0||$ in Object(Me))}},To=function($){var ne=function(Me){for(var tt=vi(Me),at=tt.length;at--;){var Nt=tt[at],Tt=Me[Nt];tt[at]=[Nt,Tt,io(Tt)]}return tt}($);return ne.length==1&&ne[0][2]?to(ne[0][0],ne[0][1]):function(Me){return Me===$||function(tt,at,Nt,Tt){var Jt=Nt.length,nn=Jt,zn=!Tt;if(tt==null)return!nn;for(tt=Object(tt);Jt--;){var mr=Nt[Jt];if(zn&&mr[2]?mr[1]!==tt[mr[0]]:!(mr[0]in tt))return!1}for(;++Jt<nn;){var Er=(mr=Nt[Jt])[0],Zr=tt[Er],Yr=mr[1];if(zn&&mr[2]){if(Zr===void 0&&!(Er in tt))return!1}else{var So=new en;if(Tt)var Oo=Tt(Zr,Yr,Er,tt,at,So);if(!(Oo===void 0?oo(Yr,Zr,3,Tt,So):Oo))return!1}}return!0}(Me,$,ne)}},jn=function($){return m($)==\"symbol\"||Wr($)&&fe($)==\"[object Symbol]\"},W=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,P=/^\\w*$/,k=function($,ne){if(Gt($))return!1;var Me=m($);return!(Me!=\"number\"&&Me!=\"symbol\"&&Me!=\"boolean\"&&$!=null&&!jn($))||P.test($)||!W.test($)||ne!=null&&$ in Object(ne)};function z($,ne){if(typeof $!=\"function\"||ne!=null&&typeof ne!=\"function\")throw new TypeError(\"Expected a function\");var Me=function tt(){var at=arguments,Nt=ne?ne.apply(this,at):at[0],Tt=tt.cache;if(Tt.has(Nt))return Tt.get(Nt);var Jt=$.apply(this,at);return tt.cache=Tt.set(Nt,Jt)||Tt,Jt};return Me.cache=new(z.Cache||Fn),Me}z.Cache=Fn;var Q,F=z,V=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g,U=/\\\\(\\\\)?/g,ge=function($){var ne=F(function(tt){var at=[];return tt.charCodeAt(0)===46&&at.push(\"\"),tt.replace(V,function(Nt,Tt,Jt,nn){at.push(Jt?nn.replace(U,\"$1\"):Tt||Nt)}),at},function(tt){return Me.size===500&&Me.clear(),tt}),Me=ne.cache;return ne}(),ke=function($,ne){for(var Me=-1,tt=$==null?0:$.length,at=Array(tt);++Me<tt;)at[Me]=ne($[Me],Me,$);return at},St=oe?oe.prototype:void 0,Je=St?St.toString:void 0,Ot=function($){return $==null?\"\":function ne(Me){if(typeof Me==\"string\")return Me;if(Gt(Me))return ke(Me,ne)+\"\";if(jn(Me))return Je?Je.call(Me):\"\";var tt=Me+\"\";return tt==\"0\"&&1/Me==-1/0?\"-0\":tt}($)},It=function($,ne){return Gt($)?$:k($,ne)?[$]:ge(Ot($))},jt=function($){if(typeof $==\"string\"||jn($))return $;var ne=$+\"\";return ne==\"0\"&&1/$==-1/0?\"-0\":ne},Vt=function($,ne){for(var Me=0,tt=(ne=It(ne,$)).length;$!=null&&Me<tt;)$=$[jt(ne[Me++])];return Me&&Me==tt?$:void 0},Pn=function($,ne){return $!=null&&ne in Object($)},Jn=function($,ne,Me){for(var tt=-1,at=(ne=It(ne,$)).length,Nt=!1;++tt<at;){var Tt=jt(ne[tt]);if(!(Nt=$!=null&&Me($,Tt)))break;$=$[Tt]}return Nt||++tt!=at?Nt:!!(at=$==null?0:$.length)&&xn(at)&&Wt(Tt,at)&&(Gt($)||gn($))},vn=function($,ne){return $!=null&&Jn($,ne,Pn)},Vn=function($,ne){return k($)&&io(ne)?to(jt($),ne):function(Me){var tt=function(at,Nt,Tt){var Jt=at==null?void 0:Vt(at,Nt);return Jt===void 0?Tt:Jt}(Me,$);return tt===void 0&&tt===ne?vn(Me,$):oo(ne,tt,3)}},zt=function($){return function(ne){return ne==null?void 0:ne[$]}},ir=function($){return k($)?zt(jt($)):function(ne){return function(Me){return Vt(Me,ne)}}($)},nr=function($){return typeof $==\"function\"?$:$==null?ai:m($)==\"object\"?Gt($)?Vn($[0],$[1]):To($):ir($)},ur=function($,ne){return(Gt($)?$e:mn)($,nr(ne))},sr=Object.prototype.hasOwnProperty,Ln=function($,ne){return $!=null&&sr.call($,ne)},Bt=function($,ne){return $!=null&&Jn($,ne,Ln)},En=Object.prototype.hasOwnProperty,_n=function($){return $===void 0},cr=function($,ne){var Me=-1,tt=eo($)?Array($.length):[];return Lo($,function(at,Nt,Tt){tt[++Me]=ne(at,Nt,Tt)}),tt},ao=function($,ne){return(Gt($)?ke:cr)($,nr(ne))},kr=function($,ne,Me,tt){var at=-1,Nt=$==null?0:$.length;for(tt&&Nt&&(Me=$[++at]);++at<Nt;)Me=ne(Me,$[at],at,$);return Me},jo=function($,ne,Me,tt,at){return at($,function(Nt,Tt,Jt){Me=tt?(tt=!1,Nt):ne(Me,Nt,Tt,Jt)}),Me},ui=function($,ne,Me){var tt=Gt($)?kr:jo,at=arguments.length<3;return tt($,nr(ne),Me,at,Lo)},Vr=zt(\"length\"),ho=RegExp(\"[\\\\u200d\\\\ud800-\\\\udfff\\\\u0300-\\\\u036f\\\\ufe20-\\\\ufe2f\\\\u20d0-\\\\u20ff\\\\ufe0e\\\\ufe0f]\"),vo=\"[\\\\u0300-\\\\u036f\\\\ufe20-\\\\ufe2f\\\\u20d0-\\\\u20ff]\",uo=\"\\\\ud83c[\\\\udffb-\\\\udfff]\",Go=\"[^\\\\ud800-\\\\udfff]\",Pi=\"(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}\",la=\"[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]\",Vi=\"(?:\"+vo+\"|\"+uo+\")?\",ha=\"[\\\\ufe0e\\\\ufe0f]?\"+Vi+\"(?:\\\\u200d(?:\"+[Go,Pi,la].join(\"|\")+\")[\\\\ufe0e\\\\ufe0f]?\"+Vi+\")*\",xa=\"(?:\"+[Go+vo+\"?\",vo,Pi,la,\"[\\\\ud800-\\\\udfff]\"].join(\"|\")+\")\",qi=RegExp(uo+\"(?=\"+uo+\")|\"+xa+ha,\"g\"),Jo=function($){return function(ne){return ho.test(ne)}($)?function(ne){for(var Me=qi.lastIndex=0;qi.test(ne);)++Me;return Me}($):Vr($)},Ji=oe?oe.isConcatSpreadable:void 0,Yi=function($){return Gt($)||gn($)||!!(Ji&&$&&$[Ji])},Ii=function $(ne,Me,tt,at,Nt){var Tt=-1,Jt=ne.length;for(tt||(tt=Yi),Nt||(Nt=[]);++Tt<Jt;){var nn=ne[Tt];Me>0&&tt(nn)?Me>1?$(nn,Me-1,tt,at,Nt):Ro(Nt,nn):at||(Nt[Nt.length]=nn)}return Nt},pa=function($,ne,Me){switch(Me.length){case 0:return $.call(ne);case 1:return $.call(ne,Me[0]);case 2:return $.call(ne,Me[0],Me[1]);case 3:return $.call(ne,Me[0],Me[1],Me[2])}return $.apply(ne,Me)},na=Math.max,$i=function($,ne,Me){return ne=na(ne===void 0?$.length-1:ne,0),function(){for(var tt=arguments,at=-1,Nt=na(tt.length-ne,0),Tt=Array(Nt);++at<Nt;)Tt[at]=tt[ne+at];at=-1;for(var Jt=Array(ne+1);++at<ne;)Jt[at]=tt[at];return Jt[ne]=Me(Tt),pa($,this,Jt)}},La=Mn?function($,ne){return Mn($,\"toString\",{configurable:!0,enumerable:!1,value:_o(ne),writable:!0})}:ai,ss=Date.now,Oa=function($){var ne=0,Me=0;return function(){var tt=ss(),at=16-(tt-Me);if(Me=tt,at>0){if(++ne>=800)return arguments[0]}else ne=0;return $.apply(void 0,arguments)}}(La),Ma=function($,ne){return Oa($i($,ne,ai),$+\"\")},Ka=function($,ne,Me,tt){for(var at=$.length,Nt=Me+(tt?1:-1);tt?Nt--:++Nt<at;)if(ne($[Nt],Nt,$))return Nt;return-1},Ba=function($){return $!=$},Ua=function($,ne){return!($==null||!$.length)&&function(Me,tt,at){return tt==tt?function(Nt,Tt,Jt){for(var nn=Jt-1,zn=Nt.length;++nn<zn;)if(Nt[nn]===Tt)return nn;return-1}(Me,tt,at):Ka(Me,Ba,at)}($,ne,0)>-1},Va=function($,ne,Me){for(var tt=-1,at=$==null?0:$.length;++tt<at;)if(Me(ne,$[tt]))return!0;return!1},Ls=si&&1/un(new si([,-0]))[1]==1/0?function($){return new si($)}:function(){},Qo=function($){return Wr($)&&eo($)},ws=Ma(function($){return function(ne,Me,tt){var at=-1,Nt=Ua,Tt=ne.length,Jt=!0,nn=[],zn=nn;if(tt)Jt=!1,Nt=Va;else if(Tt>=200){var mr=Me?null:Ls(ne);if(mr)return un(mr);Jt=!1,Nt=tn,zn=new ft}else zn=Me?[]:nn;e:for(;++at<Tt;){var Er=ne[at],Zr=Me?Me(Er):Er;if(Er=tt||Er!==0?Er:0,Jt&&Zr==Zr){for(var Yr=zn.length;Yr--;)if(zn[Yr]===Zr)continue e;Me&&zn.push(Zr),nn.push(Er)}else Nt(zn,Zr,tt)||(zn!==nn&&zn.push(Zr),nn.push(Er))}return nn}(Ii($,1,Qo,!0))}),Za=function($){return $==null?[]:function(ne,Me){return ke(Me,function(tt){return ne[tt]})}($,vi($))};try{Q={clone:function($){return Jr($,4)},constant:_o,each:ln,filter:ur,has:Bt,isArray:Gt,isEmpty:function($){if($==null)return!0;if(eo($)&&(Gt($)||typeof $==\"string\"||typeof $.splice==\"function\"||Zt($)||pt($)||gn($)))return!$.length;var ne=nt($);if(ne==\"[object Map]\"||ne==\"[object Set]\")return!$.size;if(er($))return!yo($).length;for(var Me in $)if(En.call($,Me))return!1;return!0},isFunction:be,isUndefined:_n,keys:vi,map:ao,reduce:ui,size:function($){if($==null)return 0;if(eo($))return function(Me){return typeof Me==\"string\"||!Gt(Me)&&Wr(Me)&&fe(Me)==\"[object String]\"}($)?Jo($):$.length;var ne=nt($);return ne==\"[object Map]\"||ne==\"[object Set]\"?$.size:yo($).length},transform:function($,ne,Me){var tt=Gt($),at=tt||Zt($)||pt($);if(ne=nr(ne),Me==null){var Nt=$&&$.constructor;Me=at?tt?new Nt:[]:_e($)&&be(Nt)?kn(Vo($)):{}}return(at?Wn:ii)($,function(Tt,Jt,nn){return ne(Me,Tt,Jt,nn)}),Me},union:ws,values:Za}}catch($){}Q||(Q=window._);var rr=Q,Eo=Br;function Br($){this._isDirected=!rr.has($,\"directed\")||$.directed,this._isMultigraph=!!rr.has($,\"multigraph\")&&$.multigraph,this._isCompound=!!rr.has($,\"compound\")&&$.compound,this._label=void 0,this._defaultNodeLabelFn=rr.constant(void 0),this._defaultEdgeLabelFn=rr.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 Ao($,ne){$[ne]?$[ne]++:$[ne]=1}function Di($,ne){--$[ne]||delete $[ne]}function Aa($,ne,Me,tt){var at=\"\"+ne,Nt=\"\"+Me;if(!$&&at>Nt){var Tt=at;at=Nt,Nt=Tt}return at+\"\u0001\"+Nt+\"\u0001\"+(rr.isUndefined(tt)?\"\\0\":tt)}function Na($,ne,Me,tt){var at=\"\"+ne,Nt=\"\"+Me;if(!$&&at>Nt){var Tt=at;at=Nt,Nt=Tt}var Jt={v:at,w:Nt};return tt&&(Jt.name=tt),Jt}function Fa($,ne){return Aa($,ne.v,ne.w,ne.name)}Br.prototype._nodeCount=0,Br.prototype._edgeCount=0,Br.prototype.isDirected=function(){return this._isDirected},Br.prototype.isMultigraph=function(){return this._isMultigraph},Br.prototype.isCompound=function(){return this._isCompound},Br.prototype.setGraph=function($){return this._label=$,this},Br.prototype.graph=function(){return this._label},Br.prototype.setDefaultNodeLabel=function($){return rr.isFunction($)||($=rr.constant($)),this._defaultNodeLabelFn=$,this},Br.prototype.nodeCount=function(){return this._nodeCount},Br.prototype.nodes=function(){return rr.keys(this._nodes)},Br.prototype.sources=function(){var $=this;return rr.filter(this.nodes(),function(ne){return rr.isEmpty($._in[ne])})},Br.prototype.sinks=function(){var $=this;return rr.filter(this.nodes(),function(ne){return rr.isEmpty($._out[ne])})},Br.prototype.setNodes=function($,ne){var Me=arguments,tt=this;return rr.each($,function(at){Me.length>1?tt.setNode(at,ne):tt.setNode(at)}),this},Br.prototype.setNode=function($,ne){return rr.has(this._nodes,$)?(arguments.length>1&&(this._nodes[$]=ne),this):(this._nodes[$]=arguments.length>1?ne:this._defaultNodeLabelFn($),this._isCompound&&(this._parent[$]=\"\\0\",this._children[$]={},this._children[\"\\0\"][$]=!0),this._in[$]={},this._preds[$]={},this._out[$]={},this._sucs[$]={},++this._nodeCount,this)},Br.prototype.node=function($){return this._nodes[$]},Br.prototype.hasNode=function($){return rr.has(this._nodes,$)},Br.prototype.removeNode=function($){var ne=this;if(rr.has(this._nodes,$)){var Me=function(tt){ne.removeEdge(ne._edgeObjs[tt])};delete this._nodes[$],this._isCompound&&(this._removeFromParentsChildList($),delete this._parent[$],rr.each(this.children($),function(tt){ne.setParent(tt)}),delete this._children[$]),rr.each(rr.keys(this._in[$]),Me),delete this._in[$],delete this._preds[$],rr.each(rr.keys(this._out[$]),Me),delete this._out[$],delete this._sucs[$],--this._nodeCount}return this},Br.prototype.setParent=function($,ne){if(!this._isCompound)throw new Error(\"Cannot set parent in a non-compound graph\");if(rr.isUndefined(ne))ne=\"\\0\";else{for(var Me=ne+=\"\";!rr.isUndefined(Me);Me=this.parent(Me))if(Me===$)throw new Error(\"Setting \"+ne+\" as parent of \"+$+\" would create a cycle\");this.setNode(ne)}return this.setNode($),this._removeFromParentsChildList($),this._parent[$]=ne,this._children[ne][$]=!0,this},Br.prototype._removeFromParentsChildList=function($){delete this._children[this._parent[$]][$]},Br.prototype.parent=function($){if(this._isCompound){var ne=this._parent[$];if(ne!==\"\\0\")return ne}},Br.prototype.children=function($){if(rr.isUndefined($)&&($=\"\\0\"),this._isCompound){var ne=this._children[$];if(ne)return rr.keys(ne)}else{if($===\"\\0\")return this.nodes();if(this.hasNode($))return[]}},Br.prototype.predecessors=function($){var ne=this._preds[$];if(ne)return rr.keys(ne)},Br.prototype.successors=function($){var ne=this._sucs[$];if(ne)return rr.keys(ne)},Br.prototype.neighbors=function($){var ne=this.predecessors($);if(ne)return rr.union(ne,this.successors($))},Br.prototype.isLeaf=function($){return(this.isDirected()?this.successors($):this.neighbors($)).length===0},Br.prototype.filterNodes=function($){var ne=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});ne.setGraph(this.graph());var Me=this;rr.each(this._nodes,function(at,Nt){$(Nt)&&ne.setNode(Nt,at)}),rr.each(this._edgeObjs,function(at){ne.hasNode(at.v)&&ne.hasNode(at.w)&&ne.setEdge(at,Me.edge(at))});var tt={};return this._isCompound&&rr.each(ne.nodes(),function(at){ne.setParent(at,function Nt(Tt){var Jt=Me.parent(Tt);return Jt===void 0||ne.hasNode(Jt)?(tt[Tt]=Jt,Jt):Jt in tt?tt[Jt]:Nt(Jt)}(at))}),ne},Br.prototype.setDefaultEdgeLabel=function($){return rr.isFunction($)||($=rr.constant($)),this._defaultEdgeLabelFn=$,this},Br.prototype.edgeCount=function(){return this._edgeCount},Br.prototype.edges=function(){return rr.values(this._edgeObjs)},Br.prototype.setPath=function($,ne){var Me=this,tt=arguments;return rr.reduce($,function(at,Nt){return tt.length>1?Me.setEdge(at,Nt,ne):Me.setEdge(at,Nt),Nt}),this},Br.prototype.setEdge=function(){var $,ne,Me,tt,at=!1,Nt=arguments[0];m(Nt)==\"object\"&&Nt!==null&&\"v\"in Nt?($=Nt.v,ne=Nt.w,Me=Nt.name,arguments.length===2&&(tt=arguments[1],at=!0)):($=Nt,ne=arguments[1],Me=arguments[3],arguments.length>2&&(tt=arguments[2],at=!0)),$=\"\"+$,ne=\"\"+ne,rr.isUndefined(Me)||(Me=\"\"+Me);var Tt=Aa(this._isDirected,$,ne,Me);if(rr.has(this._edgeLabels,Tt))return at&&(this._edgeLabels[Tt]=tt),this;if(!rr.isUndefined(Me)&&!this._isMultigraph)throw new Error(\"Cannot set a named edge when isMultigraph = false\");this.setNode($),this.setNode(ne),this._edgeLabels[Tt]=at?tt:this._defaultEdgeLabelFn($,ne,Me);var Jt=Na(this._isDirected,$,ne,Me);return $=Jt.v,ne=Jt.w,Object.freeze(Jt),this._edgeObjs[Tt]=Jt,Ao(this._preds[ne],$),Ao(this._sucs[$],ne),this._in[ne][Tt]=Jt,this._out[$][Tt]=Jt,this._edgeCount++,this},Br.prototype.edge=function($,ne,Me){var tt=arguments.length===1?Fa(this._isDirected,arguments[0]):Aa(this._isDirected,$,ne,Me);return this._edgeLabels[tt]},Br.prototype.hasEdge=function($,ne,Me){var tt=arguments.length===1?Fa(this._isDirected,arguments[0]):Aa(this._isDirected,$,ne,Me);return rr.has(this._edgeLabels,tt)},Br.prototype.removeEdge=function($,ne,Me){var tt=arguments.length===1?Fa(this._isDirected,arguments[0]):Aa(this._isDirected,$,ne,Me),at=this._edgeObjs[tt];return at&&($=at.v,ne=at.w,delete this._edgeLabels[tt],delete this._edgeObjs[tt],Di(this._preds[ne],$),Di(this._sucs[$],ne),delete this._in[ne][tt],delete this._out[$][tt],this._edgeCount--),this},Br.prototype.inEdges=function($,ne){var Me=this._in[$];if(Me){var tt=rr.values(Me);return ne?rr.filter(tt,function(at){return at.v===ne}):tt}},Br.prototype.outEdges=function($,ne){var Me=this._out[$];if(Me){var tt=rr.values(Me);return ne?rr.filter(tt,function(at){return at.w===ne}):tt}},Br.prototype.nodeEdges=function($,ne){var Me=this.inEdges($,ne);if(Me)return Me.concat(this.outEdges($,ne))};var Bs={Graph:Eo,version:\"2.1.8\"},Ms={write:function($){var ne={options:{directed:$.isDirected(),multigraph:$.isMultigraph(),compound:$.isCompound()},nodes:Qa($),edges:us($)};return rr.isUndefined($.graph())||(ne.value=rr.clone($.graph())),ne},read:function($){var ne=new Eo($.options).setGraph($.value);return rr.each($.nodes,function(Me){ne.setNode(Me.v,Me.value),Me.parent&&ne.setParent(Me.v,Me.parent)}),rr.each($.edges,function(Me){ne.setEdge({v:Me.v,w:Me.w,name:Me.name},Me.value)}),ne}};function Qa($){return rr.map($.nodes(),function(ne){var Me=$.node(ne),tt=$.parent(ne),at={v:ne};return rr.isUndefined(Me)||(at.value=Me),rr.isUndefined(tt)||(at.parent=tt),at})}function us($){return rr.map($.edges(),function(ne){var Me=$.edge(ne),tt={v:ne.v,w:ne.w};return rr.isUndefined(ne.name)||(tt.name=ne.name),rr.isUndefined(Me)||(tt.value=Me),tt})}var Fs=$a;function $a(){this._arr=[],this._keyIndices={}}$a.prototype.size=function(){return this._arr.length},$a.prototype.keys=function(){return this._arr.map(function($){return $.key})},$a.prototype.has=function($){return rr.has(this._keyIndices,$)},$a.prototype.priority=function($){var ne=this._keyIndices[$];if(ne!==void 0)return this._arr[ne].priority},$a.prototype.min=function(){if(this.size()===0)throw new Error(\"Queue underflow\");return this._arr[0].key},$a.prototype.add=function($,ne){var Me=this._keyIndices;if($=String($),!rr.has(Me,$)){var tt=this._arr,at=tt.length;return Me[$]=at,tt.push({key:$,priority:ne}),this._decrease(at),!0}return!1},$a.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var $=this._arr.pop();return delete this._keyIndices[$.key],this._heapify(0),$.key},$a.prototype.decrease=function($,ne){var Me=this._keyIndices[$];if(ne>this._arr[Me].priority)throw new Error(\"New priority is greater than current priority. Key: \"+$+\" Old: \"+this._arr[Me].priority+\" New: \"+ne);this._arr[Me].priority=ne,this._decrease(Me)},$a.prototype._heapify=function($){var ne=this._arr,Me=2*$,tt=Me+1,at=$;Me<ne.length&&(at=ne[Me].priority<ne[at].priority?Me:at,tt<ne.length&&(at=ne[tt].priority<ne[at].priority?tt:at),at!==$&&(this._swap($,at),this._heapify(at)))},$a.prototype._decrease=function($){for(var ne,Me=this._arr,tt=Me[$].priority;$!==0&&!(Me[ne=$>>1].priority<tt);)this._swap($,ne),$=ne},$a.prototype._swap=function($,ne){var Me=this._arr,tt=this._keyIndices,at=Me[$],Nt=Me[ne];Me[$]=Nt,Me[ne]=at,tt[Nt.key]=$,tt[at.key]=ne};var Hs=function($,ne,Me,tt){return function(at,Nt,Tt,Jt){var nn,zn,mr={},Er=new Fs,Zr=function(Yr){var So=Yr.v!==nn?Yr.v:Yr.w,Oo=mr[So],xo=Tt(Yr),lo=zn.distance+xo;if(xo<0)throw new Error(\"dijkstra does not allow negative edge weights. Bad edge: \"+Yr+\" Weight: \"+xo);lo<Oo.distance&&(Oo.distance=lo,Oo.predecessor=nn,Er.decrease(So,lo))};for(at.nodes().forEach(function(Yr){var So=Yr===Nt?0:Number.POSITIVE_INFINITY;mr[Yr]={distance:So},Er.add(Yr,So)});Er.size()>0&&(nn=Er.removeMin(),(zn=mr[nn]).distance!==Number.POSITIVE_INFINITY);)Jt(nn).forEach(Zr);return mr}($,String(ne),Me||ys,tt||function(at){return $.outEdges(at)})},ys=rr.constant(1),sa=function($){var ne=0,Me=[],tt={},at=[];function Nt(Tt){var Jt=tt[Tt]={onStack:!0,lowlink:ne,index:ne++};if(Me.push(Tt),$.successors(Tt).forEach(function(mr){rr.has(tt,mr)?tt[mr].onStack&&(Jt.lowlink=Math.min(Jt.lowlink,tt[mr].index)):(Nt(mr),Jt.lowlink=Math.min(Jt.lowlink,tt[mr].lowlink))}),Jt.lowlink===Jt.index){var nn,zn=[];do nn=Me.pop(),tt[nn].onStack=!1,zn.push(nn);while(Tt!==nn);at.push(zn)}}return $.nodes().forEach(function(Tt){rr.has(tt,Tt)||Nt(Tt)}),at},Xa=rr.constant(1),os=As;function As($){var ne={},Me={},tt=[];if(rr.each($.sinks(),function at(Nt){if(rr.has(Me,Nt))throw new oa;rr.has(ne,Nt)||(Me[Nt]=!0,ne[Nt]=!0,rr.each($.predecessors(Nt),at),delete Me[Nt],tt.push(Nt))}),rr.size(ne)!==$.nodeCount())throw new oa;return tt}function oa(){}As.CycleException=oa,oa.prototype=new Error;var di=function($,ne,Me){rr.isArray(ne)||(ne=[ne]);var tt=($.isDirected()?$.successors:$.neighbors).bind($),at=[],Nt={};return rr.each(ne,function(Tt){if(!$.hasNode(Tt))throw new Error(\"Graph does not have node: \"+Tt);(function Jt(nn,zn,mr,Er,Zr,Yr){rr.has(Er,zn)||(Er[zn]=!0,mr||Yr.push(zn),rr.each(Zr(zn),function(So){Jt(nn,So,mr,Er,Zr,Yr)}),mr&&Yr.push(zn))})($,Tt,Me===\"post\",Nt,tt,at)}),at},ia,_i={Graph:Bs.Graph,json:Ms,alg:{components:function($){var ne,Me={},tt=[];function at(Nt){rr.has(Me,Nt)||(Me[Nt]=!0,ne.push(Nt),rr.each($.successors(Nt),at),rr.each($.predecessors(Nt),at))}return rr.each($.nodes(),function(Nt){ne=[],at(Nt),ne.length&&tt.push(ne)}),tt},dijkstra:Hs,dijkstraAll:function($,ne,Me){return rr.transform($.nodes(),function(tt,at){tt[at]=Hs($,at,ne,Me)},{})},findCycles:function($){return rr.filter(sa($),function(ne){return ne.length>1||ne.length===1&&$.hasEdge(ne[0],ne[0])})},floydWarshall:function($,ne,Me){return function(tt,at,Nt){var Tt={},Jt=tt.nodes();return Jt.forEach(function(nn){Tt[nn]={},Tt[nn][nn]={distance:0},Jt.forEach(function(zn){nn!==zn&&(Tt[nn][zn]={distance:Number.POSITIVE_INFINITY})}),Nt(nn).forEach(function(zn){var mr=zn.v===nn?zn.w:zn.v,Er=at(zn);Tt[nn][mr]={distance:Er,predecessor:nn}})}),Jt.forEach(function(nn){var zn=Tt[nn];Jt.forEach(function(mr){var Er=Tt[mr];Jt.forEach(function(Zr){var Yr=Er[nn],So=zn[Zr],Oo=Er[Zr],xo=Yr.distance+So.distance;xo<Oo.distance&&(Oo.distance=xo,Oo.predecessor=So.predecessor)})})}),Tt}($,ne||Xa,Me||function(tt){return $.outEdges(tt)})},isAcyclic:function($){try{os($)}catch(ne){if(ne instanceof os.CycleException)return!1;throw ne}return!0},postorder:function($,ne){return di($,ne,\"post\")},preorder:function($,ne){return di($,ne,\"pre\")},prim:function($,ne){var Me,tt=new Eo,at={},Nt=new Fs;function Tt(nn){var zn=nn.v===Me?nn.w:nn.v,mr=Nt.priority(zn);if(mr!==void 0){var Er=ne(nn);Er<mr&&(at[zn]=Me,Nt.decrease(zn,Er))}}if($.nodeCount()===0)return tt;rr.each($.nodes(),function(nn){Nt.add(nn,Number.POSITIVE_INFINITY),tt.setNode(nn)}),Nt.decrease($.nodes()[0],0);for(var Jt=!1;Nt.size()>0;){if(Me=Nt.removeMin(),rr.has(at,Me))tt.setEdge(Me,at[Me]);else{if(Jt)throw new Error(\"Input graph is not connected: \"+$);Jt=!0}$.nodeEdges(Me).forEach(Tt)}return tt},tarjan:sa,topsort:os},version:Bs.version};try{ia=_i}catch($){}ia||(ia=window.graphlib);var gi,fa=ia,Pa=function($,ne,Me){if(!_e(Me))return!1;var tt=m(ne);return!!(tt==\"number\"?eo(Me)&&Wt(ne,Me.length):tt==\"string\"&&ne in Me)&&ee(Me[ne],$)},xs=Object.prototype,Li=xs.hasOwnProperty,vs=Ma(function($,ne){$=Object($);var Me=-1,tt=ne.length,at=tt>2?ne[2]:void 0;for(at&&Pa(ne[0],ne[1],at)&&(tt=1);++Me<tt;)for(var Nt=ne[Me],Tt=mi(Nt),Jt=-1,nn=Tt.length;++Jt<nn;){var zn=Tt[Jt],mr=$[zn];(mr===void 0||ee(mr,xs[zn])&&!Li.call($,zn))&&($[zn]=Nt[zn])}return $}),Ca=/^\\s+|\\s+$/g,ra=/^[-+]0x[0-9a-f]+$/i,Ja=/^0b[01]+$/i,qa=/^0o[0-7]+$/i,Ts=parseInt,v=function($){return $?1/0===($=function(ne){if(typeof ne==\"number\")return ne;if(jn(ne))return NaN;if(_e(ne)){var Me=typeof ne.valueOf==\"function\"?ne.valueOf():ne;ne=_e(Me)?Me+\"\":Me}if(typeof ne!=\"string\")return ne===0?ne:+ne;ne=ne.replace(Ca,\"\");var tt=Ja.test(ne);return tt||qa.test(ne)?Ts(ne.slice(2),tt?2:8):ra.test(ne)?NaN:+ne}($))||-1/0===$?17976931348623157e292*($<0?-1:1):$==$?$:0:$===0?$:0},G=Math.max,ze=function($){return function(ne,Me,tt){var at=Object(ne);if(!eo(ne)){var Nt=nr(Me);ne=vi(ne),Me=function(Jt){return Nt(at[Jt],Jt,at)}}var Tt=$(ne,Me,tt);return Tt>-1?at[Nt?ne[Tt]:Tt]:void 0}}(function($,ne,Me){var tt=$==null?0:$.length;if(!tt)return-1;var at=Me==null?0:function(Nt){var Tt=v(Nt),Jt=Tt%1;return Tt==Tt?Jt?Tt-Jt:Tt:0}(Me);return at<0&&(at=G(tt+at,0)),Ka($,nr(ne),at)}),ut=function($){return $!=null&&$.length?Ii($,1):[]},_t=function($,ne,Me){for(var tt=-1,at=$.length;++tt<at;){var Nt=$[tt],Tt=ne(Nt);if(Tt!=null&&(Jt===void 0?Tt==Tt&&!jn(Tt):Me(Tt,Jt)))var Jt=Tt,nn=Nt}return nn},Ht=function($,ne){return $>ne},$t=function($,ne,Me){(Me!==void 0&&!ee($[ne],Me)||Me===void 0&&!(ne in $))&&Kn($,ne,Me)},wn=Function.prototype,On=Object.prototype,$n=wn.toString,gr=On.hasOwnProperty,Fr=$n.call(Object),Qr=function($,ne){if((ne!==\"constructor\"||typeof $[ne]!=\"function\")&&ne!=\"__proto__\")return $[ne]},qr=function($,ne,Me,tt,at,Nt,Tt){var Jt=Qr($,Me),nn=Qr(ne,Me),zn=Tt.get(nn);if(zn)$t($,Me,zn);else{var mr=Nt?Nt(Jt,nn,Me+\"\",$,ne,Tt):void 0,Er=mr===void 0;if(Er){var Zr=Gt(nn),Yr=!Zr&&Zt(nn),So=!Zr&&!Yr&&pt(nn);mr=nn,Zr||Yr||So?Gt(Jt)?mr=Jt:Qo(Jt)?mr=aa(Jt):Yr?(Er=!1,mr=Zi(nn,!0)):So?(Er=!1,mr=Ke(nn,!0)):mr=[]:function(Oo){if(!Wr(Oo)||fe(Oo)!=\"[object Object]\")return!1;var xo=Vo(Oo);if(xo===null)return!0;var lo=gr.call(xo,\"constructor\")&&xo.constructor;return typeof lo==\"function\"&&lo instanceof lo&&$n.call(lo)==Fr}(nn)||gn(nn)?(mr=Jt,gn(Jt)?mr=function(Oo){return zr(Oo,mi(Oo))}(Jt):_e(Jt)&&!be(Jt)||(mr=Zn(nn))):Er=!1}Er&&(Tt.set(nn,mr),at(mr,nn,tt,Nt,Tt),Tt.delete(nn)),$t($,Me,mr)}},mo=function($){return Ma(function(ne,Me){var tt=-1,at=Me.length,Nt=at>1?Me[at-1]:void 0,Tt=at>2?Me[2]:void 0;for(Nt=$.length>3&&typeof Nt==\"function\"?(at--,Nt):void 0,Tt&&Pa(Me[0],Me[1],Tt)&&(Nt=at<3?void 0:Nt,at=1),ne=Object(ne);++tt<at;){var Jt=Me[tt];Jt&&$(ne,Jt,tt)}return ne})}(function($,ne,Me){(function tt(at,Nt,Tt,Jt,nn){at!==Nt&&No(Nt,function(zn,mr){if(nn||(nn=new en),_e(zn))qr(at,Nt,mr,Tt,tt,Jt,nn);else{var Er=Jt?Jt(Qr(at,mr),zn,mr+\"\",at,Nt,nn):void 0;Er===void 0&&(Er=zn),$t(at,mr,Er)}},mi)})($,ne,Me)}),Ho=function($,ne){return $<ne},fo=function($,ne,Me,tt){if(!_e($))return $;for(var at=-1,Nt=(ne=It(ne,$)).length,Tt=Nt-1,Jt=$;Jt!=null&&++at<Nt;){var nn=jt(ne[at]),zn=Me;if(nn===\"__proto__\"||nn===\"constructor\"||nn===\"prototype\")return $;if(at!=Tt){var mr=Jt[nn];(zn=tt?tt(mr,nn,Jt):void 0)===void 0&&(zn=_e(mr)?mr:Wt(ne[at+1])?[]:{})}pr(Jt,nn,zn),Jt=Jt[nn]}return $},ei=function($,ne){return function(Me,tt,at){for(var Nt=-1,Tt=tt.length,Jt={};++Nt<Tt;){var nn=tt[Nt],zn=Vt(Me,nn);at(zn,nn)&&fo(Jt,It(nn,Me),zn)}return Jt}($,ne,function(Me,tt){return vn($,tt)})},ea=function($){return Oa($i($,void 0,ut),$+\"\")}(function($,ne){return $==null?{}:ei($,ne)}),Xi=Math.ceil,hi=Math.max,Yo=function($,ne,Me){return Me&&typeof Me!=\"number\"&&Pa($,ne,Me)&&(ne=Me=void 0),$=v($),ne===void 0?(ne=$,$=0):ne=v(ne),function(tt,at,Nt,Tt){for(var Jt=-1,nn=hi(Xi((at-tt)/(Nt||1)),0),zn=Array(nn);nn--;)zn[Tt?nn:++Jt]=tt,tt+=Nt;return zn}($,ne,Me=Me===void 0?$<ne?1:-1:v(Me),void 0)},Bi=function($,ne){if($!==ne){var Me=$!==void 0,tt=$===null,at=$==$,Nt=jn($),Tt=ne!==void 0,Jt=ne===null,nn=ne==ne,zn=jn(ne);if(!Jt&&!zn&&!Nt&&$>ne||Nt&&Tt&&nn&&!Jt&&!zn||tt&&Tt&&nn||!Me&&nn||!at)return 1;if(!tt&&!Nt&&!zn&&$<ne||zn&&Me&&at&&!tt&&!Nt||Jt&&Me&&at||!Tt&&at||!nn)return-1}return 0},_a=function($,ne,Me){ne=ne.length?ke(ne,function(at){return Gt(at)?function(Nt){return Vt(Nt,at.length===1?at[0]:at)}:at}):[ai];var tt=-1;return ne=ke(ne,Xn(nr)),function(at,Nt){var Tt=at.length;for(at.sort(Nt);Tt--;)at[Tt]=at[Tt].value;return at}(cr($,function(at,Nt,Tt){return{criteria:ke(ne,function(Jt){return Jt(at)}),index:++tt,value:at}}),function(at,Nt){return function(Tt,Jt,nn){for(var zn=-1,mr=Tt.criteria,Er=Jt.criteria,Zr=mr.length,Yr=nn.length;++zn<Zr;){var So=Bi(mr[zn],Er[zn]);if(So)return zn>=Yr?So:So*(nn[zn]==\"desc\"?-1:1)}return Tt.index-Jt.index}(at,Nt,Me)})},wa=Ma(function($,ne){if($==null)return[];var Me=ne.length;return Me>1&&Pa($,ne[0],ne[1])?ne=[]:Me>2&&Pa(ne[0],ne[1],ne[2])&&(ne=[ne[0]]),_a($,Ii(ne,1),[])}),Ia=0;try{gi={cloneDeep:function($){return Jr($,5)},constant:_o,defaults:vs,each:ln,filter:ur,find:ze,flatten:ut,forEach:Ui,forIn:function($,ne){return $==null?$:No($,Si(ne),mi)},has:Bt,isUndefined:_n,last:function($){var ne=$==null?0:$.length;return ne?$[ne-1]:void 0},map:ao,mapValues:function($,ne){var Me={};return ne=nr(ne),ii($,function(tt,at,Nt){Kn(Me,at,ne(tt,at,Nt))}),Me},max:function($){return $&&$.length?_t($,ai,Ht):void 0},merge:mo,min:function($){return $&&$.length?_t($,ai,Ho):void 0},minBy:function($,ne){return $&&$.length?_t($,nr(ne),Ho):void 0},now:function(){return Ce.Date.now()},pick:ea,range:Yo,reduce:ui,sortBy:wa,uniqueId:function($){var ne=++Ia;return Ot($)+ne},values:Za,zipObject:function($,ne){return function(Me,tt,at){for(var Nt=-1,Tt=Me.length,Jt=tt.length,nn={};++Nt<Tt;){var zn=Nt<Jt?tt[Nt]:void 0;at(nn,Me[Nt],zn)}return nn}($||[],ne||[],pr)}}}catch($){}gi||(gi=window._);var tr=gi,Sa=Ta;function Ta(){var $={};$._next=$._prev=$,this._sentinel=$}function ga($){$._prev._next=$._next,$._next._prev=$._prev,delete $._next,delete $._prev}function Fi($,ne){if($!==\"_next\"&&$!==\"_prev\")return ne}Ta.prototype.dequeue=function(){var $=this._sentinel,ne=$._prev;if(ne!==$)return ga(ne),ne},Ta.prototype.enqueue=function($){var ne=this._sentinel;$._prev&&$._next&&ga($),$._next=ne._next,ne._next._prev=$,ne._next=$,$._prev=ne},Ta.prototype.toString=function(){for(var $=[],ne=this._sentinel,Me=ne._prev;Me!==ne;)$.push(JSON.stringify(Me,Fi)),Me=Me._prev;return\"[\"+$.join(\", \")+\"]\"};var Cs=fa.Graph,yn=tr.constant(1);function zs($,ne,Me,tt,at){var Nt=at?[]:void 0;return tr.forEach($.inEdges(tt.v),function(Tt){var Jt=$.edge(Tt),nn=$.node(Tt.v);at&&Nt.push({v:Tt.v,w:Tt.w}),nn.out-=Jt,ds(ne,Me,nn)}),tr.forEach($.outEdges(tt.v),function(Tt){var Jt=$.edge(Tt),nn=Tt.w,zn=$.node(nn);zn.in-=Jt,ds(ne,Me,zn)}),$.removeNode(tt.v),Nt}function ds($,ne,Me){Me.out?Me.in?$[Me.out-Me.in+ne].enqueue(Me):$[$.length-1].enqueue(Me):$[0].enqueue(Me)}var gs=function($){var ne=$.graph().acyclicer===\"greedy\"?function(Me,tt){if(Me.nodeCount()<=1)return[];var at=function(Tt,Jt){var nn=new Cs,zn=0,mr=0;tr.forEach(Tt.nodes(),function(Yr){nn.setNode(Yr,{v:Yr,in:0,out:0})}),tr.forEach(Tt.edges(),function(Yr){var So=nn.edge(Yr.v,Yr.w)||0,Oo=Jt(Yr),xo=So+Oo;nn.setEdge(Yr.v,Yr.w,xo),mr=Math.max(mr,nn.node(Yr.v).out+=Oo),zn=Math.max(zn,nn.node(Yr.w).in+=Oo)});var Er=tr.range(mr+zn+3).map(function(){return new Sa}),Zr=zn+1;return tr.forEach(nn.nodes(),function(Yr){ds(Er,Zr,nn.node(Yr))}),{graph:nn,buckets:Er,zeroIdx:Zr}}(Me,tt||yn),Nt=function(Tt,Jt,nn){for(var zn,mr=[],Er=Jt[Jt.length-1],Zr=Jt[0];Tt.nodeCount();){for(;zn=Zr.dequeue();)zs(Tt,Jt,nn,zn);for(;zn=Er.dequeue();)zs(Tt,Jt,nn,zn);if(Tt.nodeCount()){for(var Yr=Jt.length-2;Yr>0;--Yr)if(zn=Jt[Yr].dequeue()){mr=mr.concat(zs(Tt,Jt,nn,zn,!0));break}}}return mr}(at.graph,at.buckets,at.zeroIdx);return tr.flatten(tr.map(Nt,function(Tt){return Me.outEdges(Tt.v,Tt.w)}),!0)}($,function(Me){return function(tt){return Me.edge(tt).weight}}($)):function(Me){var tt=[],at={},Nt={};return tr.forEach(Me.nodes(),function Tt(Jt){tr.has(Nt,Jt)||(Nt[Jt]=!0,at[Jt]=!0,tr.forEach(Me.outEdges(Jt),function(nn){tr.has(at,nn.w)?tt.push(nn):Tt(nn.w)}),delete at[Jt])}),tt}($);tr.forEach(ne,function(Me){var tt=$.edge(Me);$.removeEdge(Me),tt.forwardName=Me.name,tt.reversed=!0,$.setEdge(Me.w,Me.v,tt,tr.uniqueId(\"rev\"))})},Wa=function($){tr.forEach($.edges(),function(ne){var Me=$.edge(ne);if(Me.reversed){$.removeEdge(ne);var tt=Me.forwardName;delete Me.reversed,delete Me.forwardName,$.setEdge(ne.w,ne.v,Me,tt)}})},Ac=fa.Graph,Gs={addDummyNode:Tc,simplify:function($){var ne=new Ac().setGraph($.graph());return tr.forEach($.nodes(),function(Me){ne.setNode(Me,$.node(Me))}),tr.forEach($.edges(),function(Me){var tt=ne.edge(Me.v,Me.w)||{weight:0,minlen:1},at=$.edge(Me);ne.setEdge(Me.v,Me.w,{weight:tt.weight+at.weight,minlen:Math.max(tt.minlen,at.minlen)})}),ne},asNonCompoundGraph:function($){var ne=new Ac({multigraph:$.isMultigraph()}).setGraph($.graph());return tr.forEach($.nodes(),function(Me){$.children(Me).length||ne.setNode(Me,$.node(Me))}),tr.forEach($.edges(),function(Me){ne.setEdge(Me,$.edge(Me))}),ne},successorWeights:function($){var ne=tr.map($.nodes(),function(Me){var tt={};return tr.forEach($.outEdges(Me),function(at){tt[at.w]=(tt[at.w]||0)+$.edge(at).weight}),tt});return tr.zipObject($.nodes(),ne)},predecessorWeights:function($){var ne=tr.map($.nodes(),function(Me){var tt={};return tr.forEach($.inEdges(Me),function(at){tt[at.v]=(tt[at.v]||0)+$.edge(at).weight}),tt});return tr.zipObject($.nodes(),ne)},intersectRect:function($,ne){var Me,tt,at=$.x,Nt=$.y,Tt=ne.x-at,Jt=ne.y-Nt,nn=$.width/2,zn=$.height/2;if(!Tt&&!Jt)throw new Error(\"Not possible to find intersection inside of the rectangle\");return Math.abs(Jt)*nn>Math.abs(Tt)*zn?(Jt<0&&(zn=-zn),Me=zn*Tt/Jt,tt=zn):(Tt<0&&(nn=-nn),Me=nn,tt=nn*Jt/Tt),{x:at+Me,y:Nt+tt}},buildLayerMatrix:function($){var ne=tr.map(tr.range(pu($)+1),function(){return[]});return tr.forEach($.nodes(),function(Me){var tt=$.node(Me),at=tt.rank;tr.isUndefined(at)||(ne[at][tt.order]=Me)}),ne},normalizeRanks:function($){var ne=tr.min(tr.map($.nodes(),function(Me){return $.node(Me).rank}));tr.forEach($.nodes(),function(Me){var tt=$.node(Me);tr.has(tt,\"rank\")&&(tt.rank-=ne)})},removeEmptyRanks:function($){var ne=tr.min(tr.map($.nodes(),function(Nt){return $.node(Nt).rank})),Me=[];tr.forEach($.nodes(),function(Nt){var Tt=$.node(Nt).rank-ne;Me[Tt]||(Me[Tt]=[]),Me[Tt].push(Nt)});var tt=0,at=$.graph().nodeRankFactor;tr.forEach(Me,function(Nt,Tt){tr.isUndefined(Nt)&&Tt%at!=0?--tt:tt&&tr.forEach(Nt,function(Jt){$.node(Jt).rank+=tt})})},addBorderNode:function($,ne,Me,tt){var at={width:0,height:0};return arguments.length>=4&&(at.rank=Me,at.order=tt),Tc($,\"border\",at,ne)},maxRank:pu,partition:function($,ne){var Me={lhs:[],rhs:[]};return tr.forEach($,function(tt){ne(tt)?Me.lhs.push(tt):Me.rhs.push(tt)}),Me},time:function($,ne){var Me=tr.now();try{return ne()}finally{console.log($+\" time: \"+(tr.now()-Me)+\"ms\")}},notime:function($,ne){return ne()}};function Tc($,ne,Me,tt){var at;do at=tr.uniqueId(tt);while($.hasNode(at));return Me.dummy=ne,$.setNode(at,Me),at}function pu($){return tr.max(tr.map($.nodes(),function(ne){var Me=$.node(ne).rank;if(!tr.isUndefined(Me))return Me}))}var Pc=function($){$.graph().dummyChains=[],tr.forEach($.edges(),function(ne){(function(Me,tt){var at,Nt,Tt,Jt=tt.v,nn=Me.node(Jt).rank,zn=tt.w,mr=Me.node(zn).rank,Er=tt.name,Zr=Me.edge(tt),Yr=Zr.labelRank;if(mr!==nn+1){for(Me.removeEdge(tt),Tt=0,++nn;nn<mr;++Tt,++nn)Zr.points=[],Nt={width:0,height:0,edgeLabel:Zr,edgeObj:tt,rank:nn},at=Gs.addDummyNode(Me,\"edge\",Nt,\"_d\"),nn===Yr&&(Nt.width=Zr.width,Nt.height=Zr.height,Nt.dummy=\"edge-label\",Nt.labelpos=Zr.labelpos),Me.setEdge(Jt,at,{weight:Zr.weight},Er),Tt===0&&Me.graph().dummyChains.push(at),Jt=at;Me.setEdge(Jt,zn,{weight:Zr.weight},Er)}})($,ne)})},Yc=function($){tr.forEach($.graph().dummyChains,function(ne){var Me,tt=$.node(ne),at=tt.edgeLabel;for($.setEdge(tt.edgeObj,at);tt.dummy;)Me=$.successors(ne)[0],$.removeNode(ne),at.points.push({x:tt.x,y:tt.y}),tt.dummy===\"edge-label\"&&(at.x=tt.x,at.y=tt.y,at.width=tt.width,at.height=tt.height),ne=Me,tt=$.node(ne)})},Kc=function($){var ne={};tr.forEach($.sources(),function Me(tt){var at=$.node(tt);if(tr.has(ne,tt))return at.rank;ne[tt]=!0;var Nt=tr.min(tr.map($.outEdges(tt),function(Tt){return Me(Tt.w)-$.edge(Tt).minlen}));return Nt!==Number.POSITIVE_INFINITY&&Nt!=null||(Nt=0),at.rank=Nt})},rc=function($,ne){return $.node(ne.w).rank-$.node(ne.v).rank-$.edge(ne).minlen},qc=fa.Graph,Ns=rc,Au=function($){var ne,Me,tt=new qc({directed:!1}),at=$.nodes()[0],Nt=$.nodeCount();for(tt.setNode(at,{});yc(tt,$)<Nt;)ne=gu(tt,$),Me=tt.hasNode(ne.v)?Ns($,ne):-Ns($,ne),bc(tt,$,Me);return tt};function yc($,ne){return tr.forEach($.nodes(),function Me(tt){tr.forEach(ne.nodeEdges(tt),function(at){var Nt=at.v,Tt=tt===Nt?at.w:Nt;$.hasNode(Tt)||Ns(ne,at)||($.setNode(Tt,{}),$.setEdge(tt,Tt,{}),Me(Tt))})}),$.nodeCount()}function gu($,ne){return tr.minBy(ne.edges(),function(Me){if($.hasNode(Me.v)!==$.hasNode(Me.w))return Ns(ne,Me)})}function bc($,ne,Me){tr.forEach($.nodes(),function(tt){ne.node(tt).rank+=Me})}var Ic=rc,vu=Kc,Yu=fa.alg.preorder,oc=fa.alg.postorder,kc=Gs.simplify,le=Be;function Be($){$=kc($),vu($);var ne,Me=Au($);for(Qt(Me),st(Me,$);ne=Tr(Me);)Ko(Me,$,ne,bo(Me,$,ne))}function st($,ne){var Me=oc($,$.nodes());Me=Me.slice(0,Me.length-1),tr.forEach(Me,function(tt){(function(at,Nt,Tt){var Jt=at.node(Tt).parent;at.edge(Tt,Jt).cutvalue=it(at,Nt,Tt)})($,ne,tt)})}function it($,ne,Me){var tt=$.node(Me).parent,at=!0,Nt=ne.edge(Me,tt),Tt=0;return Nt||(at=!1,Nt=ne.edge(tt,Me)),Tt=Nt.weight,tr.forEach(ne.nodeEdges(Me),function(Jt){var nn,zn,mr=Jt.v===Me,Er=mr?Jt.w:Jt.v;if(Er!==tt){var Zr=mr===at,Yr=ne.edge(Jt).weight;if(Tt+=Zr?Yr:-Yr,nn=Me,zn=Er,$.hasEdge(nn,zn)){var So=$.edge(Me,Er).cutvalue;Tt+=Zr?-So:So}}}),Tt}function Qt($,ne){arguments.length<2&&(ne=$.nodes()[0]),qn($,{},1,ne)}function qn($,ne,Me,tt,at){var Nt=Me,Tt=$.node(tt);return ne[tt]=!0,tr.forEach($.neighbors(tt),function(Jt){tr.has(ne,Jt)||(Me=qn($,ne,Me,Jt,tt))}),Tt.low=Nt,Tt.lim=Me++,at?Tt.parent=at:delete Tt.parent,Me}function Tr($){return tr.find($.edges(),function(ne){return $.edge(ne).cutvalue<0})}function bo($,ne,Me){var tt=Me.v,at=Me.w;ne.hasEdge(tt,at)||(tt=Me.w,at=Me.v);var Nt=$.node(tt),Tt=$.node(at),Jt=Nt,nn=!1;Nt.lim>Tt.lim&&(Jt=Tt,nn=!0);var zn=tr.filter(ne.edges(),function(mr){return nn===Mi($,$.node(mr.v),Jt)&&nn!==Mi($,$.node(mr.w),Jt)});return tr.minBy(zn,function(mr){return Ic(ne,mr)})}function Ko($,ne,Me,tt){var at=Me.v,Nt=Me.w;$.removeEdge(at,Nt),$.setEdge(tt.v,tt.w,{}),Qt($),st($,ne),function(Tt,Jt){var nn=tr.find(Tt.nodes(),function(mr){return!Jt.node(mr).parent}),zn=Yu(Tt,nn);zn=zn.slice(1),tr.forEach(zn,function(mr){var Er=Tt.node(mr).parent,Zr=Jt.edge(mr,Er),Yr=!1;Zr||(Zr=Jt.edge(Er,mr),Yr=!0),Jt.node(mr).rank=Jt.node(Er).rank+(Yr?Zr.minlen:-Zr.minlen)})}($,ne)}function Mi($,ne,Me){return Me.low<=ne.lim&&ne.lim<=Me.lim}Be.initLowLimValues=Qt,Be.initCutValues=st,Be.calcCutValue=it,Be.leaveEdge=Tr,Be.enterEdge=bo,Be.exchangeEdges=Ko;var Hi=Kc,ja=Hi;function ms($){le($)}var Ps=function($){var ne=Gs.addDummyNode($,\"root\",{},\"_root\"),Me=function(Tt){var Jt={};function nn(zn,mr){var Er=Tt.children(zn);Er&&Er.length&&tr.forEach(Er,function(Zr){nn(Zr,mr+1)}),Jt[zn]=mr}return tr.forEach(Tt.children(),function(zn){nn(zn,1)}),Jt}($),tt=tr.max(tr.values(Me))-1,at=2*tt+1;$.graph().nestingRoot=ne,tr.forEach($.edges(),function(Tt){$.edge(Tt).minlen*=at});var Nt=function(Tt){return tr.reduce(Tt.edges(),function(Jt,nn){return Jt+Tt.edge(nn).weight},0)}($)+1;tr.forEach($.children(),function(Tt){(function Jt(nn,zn,mr,Er,Zr,Yr,So){var Oo=nn.children(So);if(Oo.length){var xo=Gs.addBorderNode(nn,\"_bt\"),lo=Gs.addBorderNode(nn,\"_bb\"),Io=nn.node(So);nn.setParent(xo,So),Io.borderTop=xo,nn.setParent(lo,So),Io.borderBottom=lo,tr.forEach(Oo,function(Zo){Jt(nn,zn,mr,Er,Zr,Yr,Zo);var xi=nn.node(Zo),Ai=xi.borderTop?xi.borderTop:Zo,ci=xi.borderBottom?xi.borderBottom:Zo,Ri=xi.borderTop?Er:2*Er,Ci=Ai!==ci?1:Zr-Yr[So]+1;nn.setEdge(xo,Ai,{weight:Ri,minlen:Ci,nestingEdge:!0}),nn.setEdge(ci,lo,{weight:Ri,minlen:Ci,nestingEdge:!0})}),nn.parent(So)||nn.setEdge(zn,xo,{weight:0,minlen:Zr+Yr[So]})}else So!==zn&&nn.setEdge(zn,So,{weight:0,minlen:mr})})($,ne,at,Nt,tt,Me,Tt)}),$.graph().nodeRankFactor=at},fu=function($){var ne=$.graph();$.removeNode(ne.nestingRoot),delete ne.nestingRoot,tr.forEach($.edges(),function(Me){$.edge(Me).nestingEdge&&$.removeEdge(Me)})};function qs($,ne,Me,tt,at,Nt){var Tt={width:0,height:0,rank:Nt,borderType:ne},Jt=at[ne][Nt-1],nn=Gs.addDummyNode($,\"border\",Tt,Me);at[ne][Nt]=nn,$.setParent(nn,tt),Jt&&$.setEdge(Jt,nn,{weight:1})}var Ya=function($){var ne=$.graph().rankdir.toLowerCase();ne!==\"lr\"&&ne!==\"rl\"||ru($)},Nu=function($){var ne=$.graph().rankdir.toLowerCase();ne!==\"bt\"&&ne!==\"rl\"||function(Me){tr.forEach(Me.nodes(),function(tt){Zs(Me.node(tt))}),tr.forEach(Me.edges(),function(tt){var at=Me.edge(tt);tr.forEach(at.points,Zs),tr.has(at,\"y\")&&Zs(at)})}($),ne!==\"lr\"&&ne!==\"rl\"||(function(Me){tr.forEach(Me.nodes(),function(tt){cs(Me.node(tt))}),tr.forEach(Me.edges(),function(tt){var at=Me.edge(tt);tr.forEach(at.points,cs),tr.has(at,\"x\")&&cs(at)})}($),ru($))};function ru($){tr.forEach($.nodes(),function(ne){mu($.node(ne))}),tr.forEach($.edges(),function(ne){mu($.edge(ne))})}function mu($){var ne=$.width;$.width=$.height,$.height=ne}function Zs($){$.y=-$.y}function cs($){var ne=$.x;$.x=$.y,$.y=ne}var Xs=function($,ne){for(var Me=0,tt=1;tt<ne.length;++tt)Me+=yu($,ne[tt-1],ne[tt]);return Me};function yu($,ne,Me){for(var tt=tr.zipObject(Me,tr.map(Me,function(zn,mr){return mr})),at=tr.flatten(tr.map(ne,function(zn){return tr.sortBy(tr.map($.outEdges(zn),function(mr){return{pos:tt[mr.w],weight:$.edge(mr).weight}}),\"pos\")}),!0),Nt=1;Nt<Me.length;)Nt<<=1;var Tt=2*Nt-1;Nt-=1;var Jt=tr.map(new Array(Tt),function(){return 0}),nn=0;return tr.forEach(at.forEach(function(zn){var mr=zn.pos+Nt;Jt[mr]+=zn.weight;for(var Er=0;mr>0;)mr%2&&(Er+=Jt[mr+1]),Jt[mr=mr-1>>1]+=zn.weight;nn+=zn.weight*Er})),nn}function bu($,ne,Me){for(var tt;ne.length&&(tt=tr.last(ne)).i<=Me;)ne.pop(),$.push(tt.vs),Me++;return Me}var Ku=function $(ne,Me,tt,at){var Nt=ne.children(Me),Tt=ne.node(Me),Jt=Tt?Tt.borderLeft:void 0,nn=Tt?Tt.borderRight:void 0,zn={};Jt&&(Nt=tr.filter(Nt,function(Oo){return Oo!==Jt&&Oo!==nn}));var mr=function(Oo,xo){return tr.map(xo,function(lo){var Io=Oo.inEdges(lo);if(Io.length){var Zo=tr.reduce(Io,function(xi,Ai){var ci=Oo.edge(Ai),Ri=Oo.node(Ai.v);return{sum:xi.sum+ci.weight*Ri.order,weight:xi.weight+ci.weight}},{sum:0,weight:0});return{v:lo,barycenter:Zo.sum/Zo.weight,weight:Zo.weight}}return{v:lo}})}(ne,Nt);tr.forEach(mr,function(Oo){if(ne.children(Oo.v).length){var xo=$(ne,Oo.v,tt,at);zn[Oo.v]=xo,tr.has(xo,\"barycenter\")&&(lo=Oo,Io=xo,tr.isUndefined(lo.barycenter)?(lo.barycenter=Io.barycenter,lo.weight=Io.weight):(lo.barycenter=(lo.barycenter*lo.weight+Io.barycenter*Io.weight)/(lo.weight+Io.weight),lo.weight+=Io.weight))}var lo,Io});var Er=function(Oo,xo){var lo={};return tr.forEach(Oo,function(Io,Zo){var xi=lo[Io.v]={indegree:0,in:[],out:[],vs:[Io.v],i:Zo};tr.isUndefined(Io.barycenter)||(xi.barycenter=Io.barycenter,xi.weight=Io.weight)}),tr.forEach(xo.edges(),function(Io){var Zo=lo[Io.v],xi=lo[Io.w];tr.isUndefined(Zo)||tr.isUndefined(xi)||(xi.indegree++,Zo.out.push(lo[Io.w]))}),function(Io){var Zo=[];function xi(Ri){return function(Ci){Ci.merged||(tr.isUndefined(Ci.barycenter)||tr.isUndefined(Ri.barycenter)||Ci.barycenter>=Ri.barycenter)&&function(ua,da){var Da=0,as=0;ua.weight&&(Da+=ua.barycenter*ua.weight,as+=ua.weight),da.weight&&(Da+=da.barycenter*da.weight,as+=da.weight),ua.vs=da.vs.concat(ua.vs),ua.barycenter=Da/as,ua.weight=as,ua.i=Math.min(da.i,ua.i),da.merged=!0}(Ri,Ci)}}function Ai(Ri){return function(Ci){Ci.in.push(Ri),--Ci.indegree==0&&Io.push(Ci)}}for(;Io.length;){var ci=Io.pop();Zo.push(ci),tr.forEach(ci.in.reverse(),xi(ci)),tr.forEach(ci.out,Ai(ci))}return tr.map(tr.filter(Zo,function(Ri){return!Ri.merged}),function(Ri){return tr.pick(Ri,[\"vs\",\"i\",\"barycenter\",\"weight\"])})}(tr.filter(lo,function(Io){return!Io.indegree}))}(mr,tt);(function(Oo,xo){tr.forEach(Oo,function(lo){lo.vs=tr.flatten(lo.vs.map(function(Io){return xo[Io]?xo[Io].vs:Io}),!0)})})(Er,zn);var Zr=function(Oo,xo){var lo,Io=Gs.partition(Oo,function(da){return tr.has(da,\"barycenter\")}),Zo=Io.lhs,xi=tr.sortBy(Io.rhs,function(da){return-da.i}),Ai=[],ci=0,Ri=0,Ci=0;Zo.sort((lo=!!xo,function(da,Da){return da.barycenter<Da.barycenter?-1:da.barycenter>Da.barycenter?1:lo?Da.i-da.i:da.i-Da.i})),Ci=bu(Ai,xi,Ci),tr.forEach(Zo,function(da){Ci+=da.vs.length,Ai.push(da.vs),ci+=da.barycenter*da.weight,Ri+=da.weight,Ci=bu(Ai,xi,Ci)});var ua={vs:tr.flatten(Ai,!0)};return Ri&&(ua.barycenter=ci/Ri,ua.weight=Ri),ua}(Er,at);if(Jt&&(Zr.vs=tr.flatten([Jt,Zr.vs,nn],!0),ne.predecessors(Jt).length)){var Yr=ne.node(ne.predecessors(Jt)[0]),So=ne.node(ne.predecessors(nn)[0]);tr.has(Zr,\"barycenter\")||(Zr.barycenter=0,Zr.weight=0),Zr.barycenter=(Zr.barycenter*Zr.weight+Yr.order+So.order)/(Zr.weight+2),Zr.weight+=2}return Zr},Qc=fa.Graph,_l=fa.Graph,Nc=function($){var ne=Gs.maxRank($),Me=ju($,tr.range(1,ne+1),\"inEdges\"),tt=ju($,tr.range(ne-1,-1,-1),\"outEdges\"),at=function(mr){var Er={},Zr=tr.filter(mr.nodes(),function(xo){return!mr.children(xo).length}),Yr=tr.max(tr.map(Zr,function(xo){return mr.node(xo).rank})),So=tr.map(tr.range(Yr+1),function(){return[]}),Oo=tr.sortBy(Zr,function(xo){return mr.node(xo).rank});return tr.forEach(Oo,function xo(lo){if(!tr.has(Er,lo)){Er[lo]=!0;var Io=mr.node(lo);So[Io.rank].push(lo),tr.forEach(mr.successors(lo),xo)}}),So}($);dl($,at);for(var Nt,Tt=Number.POSITIVE_INFINITY,Jt=0,nn=0;nn<4;++Jt,++nn){Wu(Jt%2?Me:tt,Jt%4>=2),at=Gs.buildLayerMatrix($);var zn=Xs($,at);zn<Tt&&(nn=0,Nt=tr.cloneDeep(at),Tt=zn)}dl($,Nt)};function ju($,ne,Me){return tr.map(ne,function(tt){return function(at,Nt,Tt){var Jt=function(zn){for(var mr;zn.hasNode(mr=tr.uniqueId(\"_root\")););return mr}(at),nn=new Qc({compound:!0}).setGraph({root:Jt}).setDefaultNodeLabel(function(zn){return at.node(zn)});return tr.forEach(at.nodes(),function(zn){var mr=at.node(zn),Er=at.parent(zn);(mr.rank===Nt||mr.minRank<=Nt&&Nt<=mr.maxRank)&&(nn.setNode(zn),nn.setParent(zn,Er||Jt),tr.forEach(at[Tt](zn),function(Zr){var Yr=Zr.v===zn?Zr.w:Zr.v,So=nn.edge(Yr,zn),Oo=tr.isUndefined(So)?0:So.weight;nn.setEdge(Yr,zn,{weight:at.edge(Zr).weight+Oo})}),tr.has(mr,\"minRank\")&&nn.setNode(zn,{borderLeft:mr.borderLeft[Nt],borderRight:mr.borderRight[Nt]}))}),nn}($,tt,Me)})}function Wu($,ne){var Me=new _l;tr.forEach($,function(tt){var at=tt.graph().root,Nt=Ku(tt,at,Me,ne);tr.forEach(Nt.vs,function(Tt,Jt){tt.node(Tt).order=Jt}),function(Tt,Jt,nn){var zn,mr={};tr.forEach(nn,function(Er){for(var Zr,Yr,So=Tt.parent(Er);So;){if((Zr=Tt.parent(So))?(Yr=mr[Zr],mr[Zr]=So):(Yr=zn,zn=So),Yr&&Yr!==So)return void Jt.setEdge(Yr,So);So=Zr}})}(tt,Me,Nt.vs)})}function dl($,ne){tr.forEach(ne,function(Me){tr.forEach(Me,function(tt,at){$.node(tt).order=at})})}var Du=fa.Graph;function hl($,ne,Me){if(ne>Me){var tt=ne;ne=Me,Me=tt}var at=$[ne];at||($[ne]=at={}),at[Me]=!0}function jc($,ne,Me){if(ne>Me){var tt=ne;ne=Me,Me=tt}return tr.has($[ne],Me)}var js=function($){var ne,Me=Gs.buildLayerMatrix($),tt=tr.merge(function(Tt,Jt){var nn={};return tr.reduce(Jt,function(zn,mr){var Er=0,Zr=0,Yr=zn.length,So=tr.last(mr);return tr.forEach(mr,function(Oo,xo){var lo=function(Zo,xi){if(Zo.node(xi).dummy)return tr.find(Zo.predecessors(xi),function(Ai){return Zo.node(Ai).dummy})}(Tt,Oo),Io=lo?Tt.node(lo).order:Yr;(lo||Oo===So)&&(tr.forEach(mr.slice(Zr,xo+1),function(Zo){tr.forEach(Tt.predecessors(Zo),function(xi){var Ai=Tt.node(xi),ci=Ai.order;!(ci<Er||Io<ci)||Ai.dummy&&Tt.node(Zo).dummy||hl(nn,xi,Zo)})}),Zr=xo+1,Er=Io)}),mr}),nn}($,Me),function(Tt,Jt){var nn={};function zn(mr,Er,Zr,Yr,So){var Oo;tr.forEach(tr.range(Er,Zr),function(xo){Oo=mr[xo],Tt.node(Oo).dummy&&tr.forEach(Tt.predecessors(Oo),function(lo){var Io=Tt.node(lo);Io.dummy&&(Io.order<Yr||Io.order>So)&&hl(nn,lo,Oo)})})}return tr.reduce(Jt,function(mr,Er){var Zr,Yr=-1,So=0;return tr.forEach(Er,function(Oo,xo){if(Tt.node(Oo).dummy===\"border\"){var lo=Tt.predecessors(Oo);lo.length&&(Zr=Tt.node(lo[0]).order,zn(Er,So,xo,Yr,Zr),So=xo,Yr=Zr)}zn(Er,So,Er.length,Zr,mr.length)}),Er}),nn}($,Me)),at={};tr.forEach([\"u\",\"d\"],function(Tt){ne=Tt===\"u\"?Me:tr.values(Me).reverse(),tr.forEach([\"l\",\"r\"],function(Jt){Jt===\"r\"&&(ne=tr.map(ne,function(Er){return tr.values(Er).reverse()}));var nn=(Tt===\"u\"?$.predecessors:$.successors).bind($),zn=function(Er,Zr,Yr,So){var Oo={},xo={},lo={};return tr.forEach(Zr,function(Io){tr.forEach(Io,function(Zo,xi){Oo[Zo]=Zo,xo[Zo]=Zo,lo[Zo]=xi})}),tr.forEach(Zr,function(Io){var Zo=-1;tr.forEach(Io,function(xi){var Ai=So(xi);if(Ai.length)for(var ci=((Ai=tr.sortBy(Ai,function(da){return lo[da]})).length-1)/2,Ri=Math.floor(ci),Ci=Math.ceil(ci);Ri<=Ci;++Ri){var ua=Ai[Ri];xo[xi]===xi&&Zo<lo[ua]&&!jc(Yr,xi,ua)&&(xo[ua]=xi,xo[xi]=Oo[xi]=Oo[ua],Zo=lo[ua])}})}),{root:Oo,align:xo}}(0,ne,tt,nn),mr=function(Er,Zr,Yr,So,Oo){var xo={},lo=function(xi,Ai,ci,Ri){var Ci=new Du,ua=xi.graph(),da=function(Da,as,ts){return function(ka,uu,Su){var Js,Ws=ka.node(uu),Ru=ka.node(Su),Iu=0;if(Iu+=Ws.width/2,tr.has(Ws,\"labelpos\"))switch(Ws.labelpos.toLowerCase()){case\"l\":Js=-Ws.width/2;break;case\"r\":Js=Ws.width/2}if(Js&&(Iu+=ts?Js:-Js),Js=0,Iu+=(Ws.dummy?as:Da)/2,Iu+=(Ru.dummy?as:Da)/2,Iu+=Ru.width/2,tr.has(Ru,\"labelpos\"))switch(Ru.labelpos.toLowerCase()){case\"l\":Js=Ru.width/2;break;case\"r\":Js=-Ru.width/2}return Js&&(Iu+=ts?Js:-Js),Js=0,Iu}}(ua.nodesep,ua.edgesep,Ri);return tr.forEach(Ai,function(Da){var as;tr.forEach(Da,function(ts){var ka=ci[ts];if(Ci.setNode(ka),as){var uu=ci[as],Su=Ci.edge(uu,ka);Ci.setEdge(uu,ka,Math.max(da(xi,ts,as),Su||0))}as=ts})}),Ci}(Er,Zr,Yr,Oo),Io=Oo?\"borderLeft\":\"borderRight\";function Zo(xi,Ai){for(var ci=lo.nodes(),Ri=ci.pop(),Ci={};Ri;)Ci[Ri]?xi(Ri):(Ci[Ri]=!0,ci.push(Ri),ci=ci.concat(Ai(Ri))),Ri=ci.pop()}return Zo(function(xi){xo[xi]=lo.inEdges(xi).reduce(function(Ai,ci){return Math.max(Ai,xo[ci.v]+lo.edge(ci))},0)},lo.predecessors.bind(lo)),Zo(function(xi){var Ai=lo.outEdges(xi).reduce(function(Ri,Ci){return Math.min(Ri,xo[Ci.w]-lo.edge(Ci))},Number.POSITIVE_INFINITY),ci=Er.node(xi);Ai!==Number.POSITIVE_INFINITY&&ci.borderType!==Io&&(xo[xi]=Math.max(xo[xi],Ai))},lo.successors.bind(lo)),tr.forEach(So,function(xi){xo[xi]=xo[Yr[xi]]}),xo}($,ne,zn.root,zn.align,Jt===\"r\");Jt===\"r\"&&(mr=tr.mapValues(mr,function(Er){return-Er})),at[Tt+Jt]=mr})});var Nt=function(Tt,Jt){return tr.minBy(tr.values(Jt),function(nn){var zn=Number.NEGATIVE_INFINITY,mr=Number.POSITIVE_INFINITY;return tr.forIn(nn,function(Er,Zr){var Yr=function(So,Oo){return So.node(Oo).width}(Tt,Zr)/2;zn=Math.max(Er+Yr,zn),mr=Math.min(Er-Yr,mr)}),zn-mr})}($,at);return function(Tt,Jt){var nn=tr.values(Jt),zn=tr.min(nn),mr=tr.max(nn);tr.forEach([\"u\",\"d\"],function(Er){tr.forEach([\"l\",\"r\"],function(Zr){var Yr,So=Er+Zr,Oo=Tt[So];if(Oo!==Jt){var xo=tr.values(Oo);(Yr=Zr===\"l\"?zn-tr.min(xo):mr-tr.max(xo))&&(Tt[So]=tr.mapValues(Oo,function(lo){return lo+Yr}))}})})}(at,Nt),function(Tt,Jt){return tr.mapValues(Tt.ul,function(nn,zn){if(Jt)return Tt[Jt.toLowerCase()][zn];var mr=tr.sortBy(tr.map(Tt,zn));return(mr[1]+mr[2])/2})}(at,$.graph().align)},xu=Gs.normalizeRanks,wu=Gs.removeEmptyRanks,Ys=Gs,Uu=fa.Graph,Dc=[\"nodesep\",\"edgesep\",\"ranksep\",\"marginx\",\"marginy\"],ic={ranksep:50,edgesep:20,nodesep:50,rankdir:\"tb\"},Rc=[\"acyclicer\",\"ranker\",\"rankdir\",\"align\"],is=[\"width\",\"height\"],Tu={width:0,height:0},Pu=[\"minlen\",\"weight\",\"width\",\"height\",\"labeloffset\"],Jc={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:\"r\"},Gl=[\"labelpos\"];function ac($,ne){return tr.mapValues(tr.pick($,ne),Number)}function el($){var ne={};return tr.forEach($,function(Me,tt){ne[tt.toLowerCase()]=Me}),ne}var sc=fa.Graph,tl={graphlib:fa,layout:function($,ne){var Me=ne&&ne.debugTiming?Ys.time:Ys.notime;Me(\"layout\",function(){var tt=Me(\"  buildLayoutGraph\",function(){return function(at){var Nt=new Uu({multigraph:!0,compound:!0}),Tt=el(at.graph());return Nt.setGraph(tr.merge({},ic,ac(Tt,Dc),tr.pick(Tt,Rc))),tr.forEach(at.nodes(),function(Jt){var nn=el(at.node(Jt));Nt.setNode(Jt,tr.defaults(ac(nn,is),Tu)),Nt.setParent(Jt,at.parent(Jt))}),tr.forEach(at.edges(),function(Jt){var nn=el(at.edge(Jt));Nt.setEdge(Jt,tr.merge({},Jc,ac(nn,Pu),tr.pick(nn,Gl)))}),Nt}($)});Me(\"  runLayout\",function(){(function(at,Nt){Nt(\"    makeSpaceForEdgeLabels\",function(){(function(Tt){var Jt=Tt.graph();Jt.ranksep/=2,tr.forEach(Tt.edges(),function(nn){var zn=Tt.edge(nn);zn.minlen*=2,zn.labelpos.toLowerCase()!==\"c\"&&(Jt.rankdir===\"TB\"||Jt.rankdir===\"BT\"?zn.width+=zn.labeloffset:zn.height+=zn.labeloffset)})})(at)}),Nt(\"    removeSelfEdges\",function(){(function(Tt){tr.forEach(Tt.edges(),function(Jt){if(Jt.v===Jt.w){var nn=Tt.node(Jt.v);nn.selfEdges||(nn.selfEdges=[]),nn.selfEdges.push({e:Jt,label:Tt.edge(Jt)}),Tt.removeEdge(Jt)}})})(at)}),Nt(\"    acyclic\",function(){gs(at)}),Nt(\"    nestingGraph.run\",function(){Ps(at)}),Nt(\"    rank\",function(){(function(Tt){switch(Tt.graph().ranker){case\"network-simplex\":ms(Tt);break;case\"tight-tree\":(function(Jt){Hi(Jt),Au(Jt)})(Tt);break;case\"longest-path\":ja(Tt);break;default:ms(Tt)}})(Ys.asNonCompoundGraph(at))}),Nt(\"    injectEdgeLabelProxies\",function(){(function(Tt){tr.forEach(Tt.edges(),function(Jt){var nn=Tt.edge(Jt);if(nn.width&&nn.height){var zn=Tt.node(Jt.v),mr={rank:(Tt.node(Jt.w).rank-zn.rank)/2+zn.rank,e:Jt};Ys.addDummyNode(Tt,\"edge-proxy\",mr,\"_ep\")}})})(at)}),Nt(\"    removeEmptyRanks\",function(){wu(at)}),Nt(\"    nestingGraph.cleanup\",function(){fu(at)}),Nt(\"    normalizeRanks\",function(){xu(at)}),Nt(\"    assignRankMinMax\",function(){(function(Tt){var Jt=0;tr.forEach(Tt.nodes(),function(nn){var zn=Tt.node(nn);zn.borderTop&&(zn.minRank=Tt.node(zn.borderTop).rank,zn.maxRank=Tt.node(zn.borderBottom).rank,Jt=tr.max(Jt,zn.maxRank))}),Tt.graph().maxRank=Jt})(at)}),Nt(\"    removeEdgeLabelProxies\",function(){(function(Tt){tr.forEach(Tt.nodes(),function(Jt){var nn=Tt.node(Jt);nn.dummy===\"edge-proxy\"&&(Tt.edge(nn.e).labelRank=nn.rank,Tt.removeNode(Jt))})})(at)}),Nt(\"    normalize.run\",function(){Pc(at)}),Nt(\"    parentDummyChains\",function(){(function(Tt){var Jt=function(nn){var zn={},mr=0;return tr.forEach(nn.children(),function Er(Zr){var Yr=mr;tr.forEach(nn.children(Zr),Er),zn[Zr]={low:Yr,lim:mr++}}),zn}(Tt);tr.forEach(Tt.graph().dummyChains,function(nn){for(var zn=Tt.node(nn),mr=zn.edgeObj,Er=function(lo,Io,Zo,xi){var Ai,ci,Ri=[],Ci=[],ua=Math.min(Io[Zo].low,Io[xi].low),da=Math.max(Io[Zo].lim,Io[xi].lim);Ai=Zo;do Ai=lo.parent(Ai),Ri.push(Ai);while(Ai&&(Io[Ai].low>ua||da>Io[Ai].lim));for(ci=Ai,Ai=xi;(Ai=lo.parent(Ai))!==ci;)Ci.push(Ai);return{path:Ri.concat(Ci.reverse()),lca:ci}}(Tt,Jt,mr.v,mr.w),Zr=Er.path,Yr=Er.lca,So=0,Oo=Zr[So],xo=!0;nn!==mr.w;){if(zn=Tt.node(nn),xo){for(;(Oo=Zr[So])!==Yr&&Tt.node(Oo).maxRank<zn.rank;)So++;Oo===Yr&&(xo=!1)}if(!xo){for(;So<Zr.length-1&&Tt.node(Oo=Zr[So+1]).minRank<=zn.rank;)So++;Oo=Zr[So]}Tt.setParent(nn,Oo),nn=Tt.successors(nn)[0]}})})(at)}),Nt(\"    addBorderSegments\",function(){(function(Tt){tr.forEach(Tt.children(),function Jt(nn){var zn=Tt.children(nn),mr=Tt.node(nn);if(zn.length&&tr.forEach(zn,Jt),tr.has(mr,\"minRank\")){mr.borderLeft=[],mr.borderRight=[];for(var Er=mr.minRank,Zr=mr.maxRank+1;Er<Zr;++Er)qs(Tt,\"borderLeft\",\"_bl\",nn,mr,Er),qs(Tt,\"borderRight\",\"_br\",nn,mr,Er)}})})(at)}),Nt(\"    order\",function(){Nc(at)}),Nt(\"    insertSelfEdges\",function(){(function(Tt){var Jt=Ys.buildLayerMatrix(Tt);tr.forEach(Jt,function(nn){var zn=0;tr.forEach(nn,function(mr,Er){var Zr=Tt.node(mr);Zr.order=Er+zn,tr.forEach(Zr.selfEdges,function(Yr){Ys.addDummyNode(Tt,\"selfedge\",{width:Yr.label.width,height:Yr.label.height,rank:Zr.rank,order:Er+ ++zn,e:Yr.e,label:Yr.label},\"_se\")}),delete Zr.selfEdges})})})(at)}),Nt(\"    adjustCoordinateSystem\",function(){Ya(at)}),Nt(\"    position\",function(){(function(Tt){(function(Jt){var nn=Gs.buildLayerMatrix(Jt),zn=Jt.graph().ranksep,mr=0;tr.forEach(nn,function(Er){var Zr=tr.max(tr.map(Er,function(Yr){return Jt.node(Yr).height}));tr.forEach(Er,function(Yr){Jt.node(Yr).y=mr+Zr/2}),mr+=Zr+zn})})(Tt=Gs.asNonCompoundGraph(Tt)),tr.forEach(js(Tt),function(Jt,nn){Tt.node(nn).x=Jt})})(at)}),Nt(\"    positionSelfEdges\",function(){(function(Tt){tr.forEach(Tt.nodes(),function(Jt){var nn=Tt.node(Jt);if(nn.dummy===\"selfedge\"){var zn=Tt.node(nn.e.v),mr=zn.x+zn.width/2,Er=zn.y,Zr=nn.x-mr,Yr=zn.height/2;Tt.setEdge(nn.e,nn.label),Tt.removeNode(Jt),nn.label.points=[{x:mr+2*Zr/3,y:Er-Yr},{x:mr+5*Zr/6,y:Er-Yr},{x:mr+Zr,y:Er},{x:mr+5*Zr/6,y:Er+Yr},{x:mr+2*Zr/3,y:Er+Yr}],nn.label.x=nn.x,nn.label.y=nn.y}})})(at)}),Nt(\"    removeBorderNodes\",function(){(function(Tt){tr.forEach(Tt.nodes(),function(Jt){if(Tt.children(Jt).length){var nn=Tt.node(Jt),zn=Tt.node(nn.borderTop),mr=Tt.node(nn.borderBottom),Er=Tt.node(tr.last(nn.borderLeft)),Zr=Tt.node(tr.last(nn.borderRight));nn.width=Math.abs(Zr.x-Er.x),nn.height=Math.abs(mr.y-zn.y),nn.x=Er.x+nn.width/2,nn.y=zn.y+nn.height/2}}),tr.forEach(Tt.nodes(),function(Jt){Tt.node(Jt).dummy===\"border\"&&Tt.removeNode(Jt)})})(at)}),Nt(\"    normalize.undo\",function(){Yc(at)}),Nt(\"    fixupEdgeLabelCoords\",function(){(function(Tt){tr.forEach(Tt.edges(),function(Jt){var nn=Tt.edge(Jt);if(tr.has(nn,\"x\"))switch(nn.labelpos!==\"l\"&&nn.labelpos!==\"r\"||(nn.width-=nn.labeloffset),nn.labelpos){case\"l\":nn.x-=nn.width/2+nn.labeloffset;break;case\"r\":nn.x+=nn.width/2+nn.labeloffset}})})(at)}),Nt(\"    undoCoordinateSystem\",function(){Nu(at)}),Nt(\"    translateGraph\",function(){(function(Tt){var Jt=Number.POSITIVE_INFINITY,nn=0,zn=Number.POSITIVE_INFINITY,mr=0,Er=Tt.graph(),Zr=Er.marginx||0,Yr=Er.marginy||0;function So(Oo){var xo=Oo.x,lo=Oo.y,Io=Oo.width,Zo=Oo.height;Jt=Math.min(Jt,xo-Io/2),nn=Math.max(nn,xo+Io/2),zn=Math.min(zn,lo-Zo/2),mr=Math.max(mr,lo+Zo/2)}tr.forEach(Tt.nodes(),function(Oo){So(Tt.node(Oo))}),tr.forEach(Tt.edges(),function(Oo){var xo=Tt.edge(Oo);tr.has(xo,\"x\")&&So(xo)}),Jt-=Zr,zn-=Yr,tr.forEach(Tt.nodes(),function(Oo){var xo=Tt.node(Oo);xo.x-=Jt,xo.y-=zn}),tr.forEach(Tt.edges(),function(Oo){var xo=Tt.edge(Oo);tr.forEach(xo.points,function(lo){lo.x-=Jt,lo.y-=zn}),tr.has(xo,\"x\")&&(xo.x-=Jt),tr.has(xo,\"y\")&&(xo.y-=zn)}),Er.width=nn-Jt+Zr,Er.height=mr-zn+Yr})(at)}),Nt(\"    assignNodeIntersects\",function(){(function(Tt){tr.forEach(Tt.edges(),function(Jt){var nn,zn,mr=Tt.edge(Jt),Er=Tt.node(Jt.v),Zr=Tt.node(Jt.w);mr.points?(nn=mr.points[0],zn=mr.points[mr.points.length-1]):(mr.points=[],nn=Zr,zn=Er),mr.points.unshift(Ys.intersectRect(Er,nn)),mr.points.push(Ys.intersectRect(Zr,zn))})})(at)}),Nt(\"    reversePoints\",function(){(function(Tt){tr.forEach(Tt.edges(),function(Jt){var nn=Tt.edge(Jt);nn.reversed&&nn.points.reverse()})})(at)}),Nt(\"    acyclic.undo\",function(){Wa(at)})})(tt,Me)}),Me(\"  updateInputGraph\",function(){(function(at,Nt){tr.forEach(at.nodes(),function(Tt){var Jt=at.node(Tt),nn=Nt.node(Tt);Jt&&(Jt.x=nn.x,Jt.y=nn.y,Nt.children(Tt).length&&(Jt.width=nn.width,Jt.height=nn.height))}),tr.forEach(at.edges(),function(Tt){var Jt=at.edge(Tt),nn=Nt.edge(Tt);Jt.points=nn.points,tr.has(nn,\"x\")&&(Jt.x=nn.x,Jt.y=nn.y)}),at.graph().width=Nt.graph().width,at.graph().height=Nt.graph().height})($,tt)})})},debug:{debugOrdering:function($){var ne=Gs.buildLayerMatrix($),Me=new sc({compound:!0,multigraph:!0}).setGraph({});return tr.forEach($.nodes(),function(tt){Me.setNode(tt,{label:tt}),Me.setParent(tt,\"layer\"+$.node(tt).rank)}),tr.forEach($.edges(),function(tt){Me.setEdge(tt.v,tt.w,{},tt.name)}),tr.forEach(ne,function(tt,at){var Nt=\"layer\"+at;Me.setNode(Nt,{rank:\"same\"}),tr.reduce(tt,function(Tt,Jt){return Me.setEdge(Tt,Jt,{style:\"invis\"}),Jt})}),Me}},util:{time:Gs.time,notime:Gs.notime},version:\"0.8.5\"},nl=tl.graphlib,Vu=tl.layout,Lc=l(function $(ne){s(this,$),this.cardinality=1,this.include=L.UNSPECIFIED,this.isGroupNode=!1,this.parentNode=null,this.type=j.NODE,this.name=ne.name,this.attr=ne.attr||{},this.inputs=ne.inputs,this.path=ne.path||[],this.width=ne.width,this.height=ne.height}),Wl=l(function $(){s(this,$),this.nodes={},this.edges=[],this.nodes={},this.edges=[]}),Ul=function(){function $(ne){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};s(this,$),this.attr=null,this.bridgeGraph=null,this.cardinality=0,this.depth=1,this.include=L.UNSPECIFIED,this.isGroupNode=!0,this.parentNode=null,this.type=j.META,this.path=[],this.name=ne,this.metaGraph=ta(ne,A.META,Me)}return l($,[{key:\"getFirstChild\",value:function(){return this.metaGraph.node(this.metaGraph.nodes()[0])}},{key:\"getChildren\",value:function(){var ne=this;return this.metaGraph.nodes().map(function(Me){return ne.metaGraph.node(Me)})}},{key:\"leaves\",value:function(){for(var ne,Me=[],tt=[this];tt.length;){var at=tt.shift();at.isGroupNode?(ne=at.metaGraph).nodes().forEach(function(Nt){return tt.push(ne.node(Nt))}):Me.push(at.name)}return Me}}]),$}(),uc=function(){function $(ne,Me){s(this,$),this.v=ne,this.w=Me,this.baseEdgeList=[],this.inbound=null,this.name=null}return l($,[{key:\"addBaseEdge\",value:function(ne,Me){this.baseEdgeList.push(ne)}}]),$}();function rl($){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Ul($,ne)}function ol($,ne){return new uc($,ne)}function ta($,ne,Me){var tt=Me||{},at=new nl.Graph(tt);return at.setGraph({name:$,rankdir:tt.rankdir,type:ne,align:tt.align}),at}var pl=function(){function $(){var ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};s(this,$),this.graphOptions=ne,this.index={},this.graphOptions.compound=!0,this.root=rl(q,this.graphOptions),this.index[q]=this.root}return l($,[{key:\"getNodeMap\",value:function(){return this.index}},{key:\"node\",value:function(ne){return this.index[ne]}},{key:\"setNode\",value:function(ne,Me){this.index[ne]=Me}},{key:\"getBridgeGraph\",value:function(ne){var Me=this,tt=this.index[ne];if(!tt)throw Error(\"Could not find node in hierarchy: \"+ne);if(!(\"metaGraph\"in tt))return null;var at=tt;if(at.bridgeGraph)return at.bridgeGraph;var Nt=ta(re,A.BRIDGE,this.graphOptions);if(at.bridgeGraph=Nt,!tt.parentNode||!(\"metaGraph\"in tt.parentNode))return Nt;var Tt=tt.parentNode;return[Tt.metaGraph,this.getBridgeGraph(Tt.name)].forEach(function(Jt){Jt.edges().filter(function(nn){return nn.v===ne||nn.w===ne}).forEach(function(nn){var zn=nn.w===ne;Jt.edge(nn).baseEdgeList.forEach(function(mr){var Er=u(zn?[mr.w,nn.v]:[mr.v,nn.w],2),Zr=Er[0],Yr=Er[1],So=Me.getChildName(ne,Zr),Oo={v:zn?Yr:So,w:zn?So:Yr},xo=Nt.edge(Oo);xo||((xo=ol(Oo.v,Oo.w)).inbound=zn,Nt.setEdge(Oo.v,Oo.w,xo)),xo.addBaseEdge(mr,Me)})})}),Nt}},{key:\"getChildName\",value:function(ne,Me){for(var tt=this.index[Me];tt;){if(tt.parentNode&&tt.parentNode.name===ne)return tt.name;tt=tt.parentNode}throw Error(\"Could not find immediate child for descendant: \"+Me)}},{key:\"getPredecessors\",value:function(ne){var Me=this.index[ne];if(!Me)throw Error(\"Could not find node with name: \"+ne);return this.getOneWayEdges(Me,!0)}},{key:\"getSuccessors\",value:function(ne){var Me=this.index[ne];if(!Me)throw Error(\"Could not find node with name: \"+ne);return this.getOneWayEdges(Me,!1)}},{key:\"getOneWayEdges\",value:function(ne,Me){var tt=[];if(!ne.parentNode||!ne.parentNode.isGroupNode)return tt;var at=ne.parentNode,Nt=at.metaGraph,Tt=this.getBridgeGraph(at.name);return Bc(Nt,ne,Me,tt),Bc(Tt,ne,Me,tt),tt}}]),$}();function Bc($,ne,Me,tt){(Me?$.inEdges(ne.name):$.outEdges(ne.name)).forEach(function(at){var Nt=$.edge(at);tt.push(Nt)})}var xc=function(){function $(ne){s(this,$),this.hierarchy=ne,this.index={},this.hasSubHierarchy={},this.root=new il(this.hierarchy.root,this.hierarchy.graphOptions),this.index[ne.root.name]=this.root,this.buildSubHierarchy(ne.root.name),this.root.expanded=!0}return l($,[{key:\"getRenderInfoNodes\",value:function(){return Object.values(this.index)}},{key:\"getSubHierarchy\",value:function(){return this.hasSubHierarchy}},{key:\"buildSubHierarchy\",value:function(ne){var Me=this;if(!(ne in this.hasSubHierarchy)){this.hasSubHierarchy[ne]=!0;var tt=this.index[ne];if(tt.node.type===j.META){var at=tt,Nt=at.node.metaGraph,Tt=at.coreGraph;Nt.nodes().forEach(function(Er){var Zr=Me.getOrCreateRenderNodeByName(Er);Tt.setNode(Er,Zr)}),Nt.edges().forEach(function(Er){var Zr=Nt.edge(Er),Yr=new Fc(Zr);Tt.setEdge(Er.v,Er.w,Yr)});var Jt=at.node.parentNode;if(Jt){var nn=this.getRenderNodeByName(Jt.name),zn=function(Er){for(var Zr=arguments.length,Yr=new Array(Zr>1?Zr-1:0),So=1;So<Zr;So++)Yr[So-1]=arguments[So];return Yr.concat([Er?\"IN\":\"OUT\"]).join(\"~~\")},mr=this.hierarchy.getBridgeGraph(ne);mr.edges().forEach(function(Er){var Zr=mr.edge(Er),Yr=!!Nt.node(Er.w),So=u(Yr?[Er.w,Er.v]:[Er.v,Er.w],2),Oo=So[0],xo=So[1],lo=function(da){var Da=Yr?{v:da,w:ne}:{v:ne,w:da};return nn.coreGraph.edge(Da)},Io=lo(xo);Io||(Io=lo(zn(Yr,xo,Jt.name)));var Zo=zn(Yr,ne),xi=zn(Yr,xo,ne),Ai=Tt.node(xi);if(!Ai){var ci=Tt.node(Zo);if(!ci){var Ri={name:Zo,type:j.BRIDGE,isGroupNode:!1,cardinality:0,parentNode:null,include:L.UNSPECIFIED,inbound:Yr,attr:{}};ci=new $u(Ri),Me.index[Zo]=ci,Tt.setNode(Zo,ci)}var Ci={name:xi,type:j.BRIDGE,isGroupNode:!1,cardinality:1,parentNode:null,include:L.UNSPECIFIED,inbound:Yr,attr:{}};Ai=new $u(Ci),Me.index[xi]=Ai,Tt.setNode(xi,Ai),Tt.setParent(xi,Zo),ci.node.cardinality++}var ua=new Fc(Zr);ua.adjoiningMetaEdge=Io,Yr?Tt.setEdge(xi,Oo,ua):Tt.setEdge(Oo,xi,ua)})}}}}},{key:\"getOrCreateRenderNodeByName\",value:function(ne){if(!ne)return null;if(ne in this.index)return this.index[ne];var Me=this.getNodeByName(ne);return Me?(this.index[ne]=Me.isGroupNode?new il(Me,this.hierarchy.graphOptions):new $u(Me),this.index[ne]):null}},{key:\"getRenderNodeByName\",value:function(ne){return this.index[ne]}},{key:\"getNodeByName\",value:function(ne){return this.hierarchy.node(ne)}}]),$}(),$u=l(function $(ne){s(this,$),this.node=ne,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=ne.width||0,this.height=ne.height||0,this.displayName=ne.name,this.attr=ne.attr}),Fc=l(function $(ne){s(this,$),this.metaEdge=ne,this.adjoiningMetaEdge=null,this.weight=1,this.points=[]}),il=function($){(function(tt,at){if(typeof at!=\"function\"&&at!==null)throw new TypeError(\"Super expression must either be null or a function\");tt.prototype=Object.create(at&&at.prototype,{constructor:{value:tt,writable:!0,configurable:!0}}),Object.defineProperty(tt,\"prototype\",{writable:!1}),at&&w(tt,at)})(Me,$);var ne=O(Me);function Me(tt,at){var Nt;s(this,Me),Nt=ne.call(this,tt);var Tt=tt.metaGraph.graph();return at.compound=!0,Nt.coreGraph=ta(Tt.name,A.CORE,at),Nt}return l(Me)}($u);function al($,ne){$.node.isGroupNode&&function(Me,tt){var at=M(tt);Me.coreGraph.nodes().map(function(Nt){return Me.coreGraph.node(Nt)}).forEach(function(Nt){var Tt,Jt,nn,zn,mr,Er,Zr=Nt.height,Yr=Nt.width;switch(Nt.node.type){case j.NODE:Object.assign(Nt,at.nodeSize.node),Nt.height=Zr||at.nodeSize.node.height,Nt.width=Yr||at.nodeSize.node.width;break;case j.BRIDGE:Object.assign(Nt,at.nodeSize.bridge);break;case j.META:Nt.expanded?al(Nt,tt):(Object.assign(Nt,at.nodeSize.meta),Nt.height=at.nodeSize.meta.height,Nt.width=at.nodeSize.meta.width);break;default:throw Error(\"Unrecognized node type: \"+Nt.node.type)}if(!Nt.expanded){var So=Nt.attr;(function(Oo){var xo=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(Oo.coreBox.width=Oo.width,Oo.coreBox.height=Oo.height,!xo){var lo=\"\".concat(Oo.displayName).length,Io=3;Oo.width=Math.max(Oo.coreBox.width,lo*Io)}})(Nt,tt&&(Nt.node.type===0&&!!(!((Jt=(Tt=tt==null?void 0:tt.nodeSize)===null||Tt===void 0?void 0:Tt.meta)===null||Jt===void 0)&&Jt.width)||Nt.node.type===1&&(!!(!((zn=(nn=tt==null?void 0:tt.nodeSize)===null||nn===void 0?void 0:nn.node)===null||zn===void 0)&&zn.width)||!!So.width)||Nt.node.type===2&&!!(!((Er=(mr=tt==null?void 0:tt.nodeSize)===null||mr===void 0?void 0:mr.bridge)===null||Er===void 0)&&Er.width)))}})}($,ne),$.node.type===j.META&&function(Me,tt){var at=M(tt),Nt=at.subScene.meta;Object.assign(Me,Nt);var Tt=at.graph.meta,Jt={nodesep:Tt.nodeSep,ranksep:Tt.rankSep,edgesep:Tt.edgeSep,align:Tt.align};Object.assign(Me.coreBox,function(mr,Er){var Zr=Er.ranksep,Yr=Er.nodesep,So=Er.edgesep,Oo=Er.align;Object.assign(mr.graph(),{ranksep:Zr,nodesep:Yr,edgesep:So,align:Oo});var xo=[];if(mr.nodes().forEach(function(Ai){mr.node(Ai).node.type!==j.BRIDGE&&xo.push(Ai)}),!xo.length)return{width:0,height:0};Vu(mr);var lo=1/0,Io=1/0,Zo=-1/0,xi=-1/0;return xo.forEach(function(Ai){var ci=mr.node(Ai),Ri=.5*ci.width,Ci=ci.x-Ri,ua=ci.x+Ri;lo=Ci<lo?Ci:lo,Zo=ua>Zo?ua:Zo;var da=.5*ci.height,Da=ci.y-da,as=ci.y+da;Io=Da<Io?Da:Io,xi=as>xi?as:xi}),mr.edges().forEach(function(Ai){var ci=mr.edge(Ai),Ri=mr.node(ci.metaEdge.v),Ci=mr.node(ci.metaEdge.w);if(ci.points.length===3&&function(ts){for(var ka=zc(ts[0],ts[1]),uu=1;uu<ts.length-1;uu++){var Su=zc(ts[uu],ts[uu+1]);if(Math.abs(Su-ka)>1)return!1;ka=Su}return!0}(ci.points)){if(Ri!=null){var ua=Ri.expanded?Ri.x:cc(Ri);ci.points[0].x=ua}if(Ci!=null){var da=Ci.expanded?Ci.x:cc(Ci);ci.points[2].x=da}ci.points=[ci.points[0],ci.points[1]]}var Da=ci.points[ci.points.length-2];Ci!=null&&(ci.points[ci.points.length-1]=Ml(Da,Ci));var as=ci.points[1];Ri!=null&&(ci.points[0]=Ml(as,Ri)),ci.points.forEach(function(ts){lo=ts.x<lo?ts.x:lo,Zo=ts.x>Zo?ts.x:Zo,Io=ts.y<Io?ts.y:Io,xi=ts.y>xi?ts.y:xi})}),mr.nodes().forEach(function(Ai){var ci=mr.node(Ai);ci.x-=lo,ci.y-=Io}),mr.edges().forEach(function(Ai){mr.edge(Ai).points.forEach(function(ci){ci.x-=lo,ci.y-=Io})}),{width:Zo-lo,height:xi-Io}}(Me.coreGraph,Jt));var nn=0;Me.coreGraph.nodeCount()>0&&nn++;var zn=nn<=1?0:nn;Me.coreBox.width+=zn+zn,Me.coreBox.height=Nt.labelHeight+Me.coreBox.height,Me.width=Me.coreBox.width+Nt.paddingLeft+Nt.paddingRight,Me.height=Me.paddingTop+Me.coreBox.height+Me.paddingBottom}($,ne)}function zc($,ne){var Me=ne.x-$.x,tt=ne.y-$.y;return 180*Math.atan(tt/Me)/Math.PI}function cc($){return $.expanded?$.x:$.x-$.width/2+0+$.coreBox.width/2}function Ml($,ne){var Me,tt,at=ne.expanded?ne.x:cc(ne),Nt=ne.y,Tt=$.x-at,Jt=$.y-Nt,nn=ne.expanded?ne.width:ne.coreBox.width,zn=ne.expanded?ne.height:ne.coreBox.height;return Math.abs(Jt)*nn/2>Math.abs(Tt)*zn/2?(Jt<0&&(zn=-zn),Me=Jt===0?0:zn/2*Tt/Jt,tt=zn/2):(Tt<0&&(nn=-nn),Me=nn/2,tt=Tt===0?0:nn/2*Jt/Tt),{x:at+Me,y:Nt+tt}}function Al($,ne,Me){var tt,at,Nt,Tt,Jt=$.nodes.filter(function(Er,Zr,Yr){return Yr.findIndex(function(So){return So.id===Er.id})!==Zr}).map(function(Er){return Er.id});if(Jt.length)throw new Error(\"Duplicated ids found: \".concat(Jt.join(\", \")));var nn=function(Er){var Zr={nodes:[]},Yr=Er.compound,So=Object.keys(Yr||{}),Oo=new Map,xo=function Io(Zo){var xi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];if(Oo.has(Zo))return Oo.get(Zo);for(var Ai=0;Ai<So.length;Ai++){var ci=So[Ai];if(Yr&&Yr[ci].indexOf(Zo)!==-1)return xi.unshift(ci),Io(ci,xi)}return xi.length===0&&Oo.set(Zo,xi),xi},lo=function(Io){return Er.edges.filter(function(Zo){return Zo.w===Io}).map(function(Zo){return{name:Zo.v}})};return Er.nodes.forEach(function(Io){var Zo=Io.id,xi=[].concat(C(xo(Zo)),[Zo]),Ai=lo(Zo);Zr.nodes.push({name:Zo,path:xi,inputs:Ai,width:Io.width,height:Io.height,attr:Object.assign({},Io)})}),Zr}($),zn=function(Er,Zr){var Yr=function(So,Oo){var xo,lo=N(Oo.values());try{for(lo.s();!(xo=lo.n()).done;)if(xo.value.includes(So))return!0}catch(Io){lo.e(Io)}finally{lo.f()}return!1};return function So(Oo){var xo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];if(Object.keys(Oo).length===0)return C(new Set(xo));var lo,Io=new Map(Object.keys(Oo).map(function(Ci){return[Ci,Oo[Ci]]})),Zo={},xi=N(Io);try{for(xi.s();!(lo=xi.n()).done;){var Ai=u(lo.value,2),ci=Ai[0],Ri=Ai[1];Yr(ci,Io)?Zo[ci]=Ri:xo=xo.concat(ci,Ri)}}catch(Ci){xi.e(Ci)}finally{xi.f()}return So(Zo,xo)}(Er).filter(function(So){return Zr.includes(So)})}($.compound||{},(ne==null?void 0:ne.expanded)||[]),mr=function(Er,Zr){return function(Yr){return new xc(Yr)}(function(Yr,So){var Oo=So.rankDirection,xo=So.align,lo=new pl({rankdir:Oo,align:xo});return function(Io,Zo){Object.keys(Zo.nodes).forEach(function(xi){var Ai=Zo.nodes[xi],ci=Ai.path,Ri=Io.root;Ri.depth=Math.max(ci.length,Ri.depth);for(var Ci=0;Ci<ci.length&&(Ri.depth=Math.max(Ri.depth,ci.length-Ci),Ri.cardinality+=Ai.cardinality,Ci!==ci.length-1);Ci++){var ua=ci[Ci],da=Io.node(ua);da||((da=rl(ua,Io.graphOptions)).path=Ai.path.slice(0,Ci+1),da.parentNode=Ri,Io.setNode(ua,da),Ri.metaGraph.setNode(ua,da)),Ri=da}Io.setNode(Ai.name,Ai),Ai.parentNode=Ri,Ri.metaGraph.setNode(Ai.name,Ai)})}(lo,Yr),function(Io,Zo){var xi=Io.getNodeMap(),Ai=[],ci=[],Ri=function(Ci,ua){for(var da=0;Ci;)ua[da++]=Ci.name,Ci=Ci.parentNode;return da-1};Zo.edges.forEach(function(Ci){Ai=[],ci=[];for(var ua=Ri(Zo.nodes[Ci.v],Ai),da=Ri(Zo.nodes[Ci.w],ci);Ai[ua]===ci[da];)if(da--,--ua<0||da<0)throw Error(\"No difference found between ancestor paths.\");var Da=xi[Ai[ua+1]],as=Ai[ua],ts=ci[da],ka=Da.metaGraph.edge(as,ts);ka||(ka=ol(as,ts),Da.metaGraph.setEdge(as,ts,ka)),ka.addBaseEdge(Ci,Io)})}(lo,Yr),lo}(function(Yr){var So=new Wl;return Yr.nodes.map(function(Oo){return new Lc(Oo)}).forEach(function(Oo){So.nodes[Oo.name]=Oo,Oo.inputs.forEach(function(xo){(function(lo,Io,Zo){Zo.name!==Io.name&&lo.edges.push(Object.assign(Object.assign({},Zo.attr),{v:Zo.name,w:Io.name}))})(So,Oo,xo)})}),So}(Er),Zr))}(nn,{rankDirection:((at=(tt=Me==null?void 0:Me.graph)===null||tt===void 0?void 0:tt.meta)===null||at===void 0?void 0:at.rankDir)||(ne==null?void 0:ne.rankDirection)||x.graph.meta.rankDir,align:((Tt=(Nt=Me==null?void 0:Me.graph)===null||Nt===void 0?void 0:Nt.meta)===null||Tt===void 0?void 0:Tt.align)||x.graph.meta.align});return function(Er,Zr){Zr.forEach(function(Yr){var So=Er.getRenderInfoNodes().find(function(lo){return lo.displayName===Yr}),Oo=So&&So.node&&So.node.name||\"\",xo=Er.getRenderNodeByName(Oo);if(!xo)throw new Error(\"No nodes found: \".concat(Oo));xo.expanded=!0,Er.buildSubHierarchy(Oo)})}(mr,zn),al(mr.root,Me),ou(mr.root)}function sl($){var ne=arguments.length>1&&arguments[1]!==void 0&&arguments[1],Me=JSON.parse(JSON.stringify($)),tt={nodes:[Me],edges:C(Me.edges)};return Me.nodes.forEach(function at(Nt){(Nt.type===0||Nt.type===1)&&tt.nodes.push(Nt),Nt.type===0&&(tt.edges=tt.edges.concat(Nt.edges)),Array.isArray(Nt.nodes)&&Nt.nodes.forEach(at)}),ne&&tt.nodes.forEach(function(at){var Nt=tt.nodes.find(function(nn){return nn.id===at.parentNodeName});if(Nt){var Tt=Nt.x-Nt.width/2+Nt.paddingLeft,Jt=Nt.y-Nt.height/2+Nt.labelHeight+Nt.paddingTop;Nt.id!==q&&(at.x+=Tt,at.y+=Jt),at.type===0&&at.edges.forEach(function(nn){nn.points.forEach(function(zn){zn.x+=at.x-at.width/2+at.paddingLeft,zn.y+=at.y-at.height/2+at.labelHeight+at.paddingTop})})}}),tt}function Vl($,ne,Me,tt){var at,Nt,Tt=[],Jt=((at=Me.find(function(Er){return Er.id===$}))===null||at===void 0?void 0:at.path)||[],nn=((Nt=Me.find(function(Er){return Er.id===ne}))===null||Nt===void 0?void 0:Nt.path)||[],zn=[q].concat(C(Jt)).slice(0,Jt.length).reverse(),mr=[q].concat(C(nn)).slice(0,nn.length);return zn.forEach(function(Er){var Zr=Me.find(function(Yr){return Yr.id===Er});Tt=Tt.concat(Zr.edges.filter(function(Yr){return Yr.baseEdgeList.some(function(So){return So.v===((tt==null?void 0:tt.v)||$)&&So.w===((tt==null?void 0:tt.w)||ne)})}))}),mr.filter(function(Er){return!zn.includes(Er)}).forEach(function(Er){var Zr=Me.find(function(Yr){return Yr.id===Er});Tt=Tt.concat(Zr.edges.filter(function(Yr){return Yr.baseEdgeList.some(function(So){return So.v===((tt==null?void 0:tt.v)||$)&&So.w===((tt==null?void 0:tt.w)||ne)})}))}),Tt}function ou($){var ne,Me=$.coreGraph.nodes().map(function(tt){return $.coreGraph.node(tt)});return Object.assign(Object.assign({},Zl($)),{expanded:$.expanded,nodes:$.expanded?(ne=Me,ne.map(function(tt){return tt.node.type===j.META?ou(tt):Zl(tt)})):[],edges:$.expanded?su($):[]})}function Zl($){return{id:$.node.name,name:$.node.name,type:$.node.type,cardinality:$.node.cardinality,attr:$.attr,parentNodeName:$.node.parentNode?$.node.parentNode.name:null,coreBox:Object.assign({},$.coreBox),x:$.x,y:$.y,width:$.width,height:$.height,radius:$.radius,labelHeight:$.labelHeight,labelOffset:$.labelOffset,outboxWidth:$.outboxWidth,paddingLeft:$.paddingLeft,paddingTop:$.paddingTop,paddingRight:$.paddingRight,paddingBottom:$.paddingBottom,path:$.node.path}}function su($){return $.coreGraph.edges().map(function(ne){return{renderInfoEdge:$.coreGraph.edge(ne),edge:ne}}).filter(function(ne){return ne.renderInfoEdge.metaEdge}).map(function(ne){var Me=ne.edge,tt=ne.renderInfoEdge,at=function(Nt,Tt){var Jt=Tt.points.map(function(Io){return Object.assign({},Io)});if(Tt.adjoiningMetaEdge){var nn=Tt.adjoiningMetaEdge.points,zn=Tt.metaEdge.inbound,mr=zn?nn[nn.length-1]:nn[0],Er=Jt[zn?0:Jt.length-1],Zr=Nt.x-Nt.width/2,Yr=Nt.y-Nt.height/2,So=mr.x-Zr,Oo=mr.y-Yr,xo=-Nt.paddingLeft,lo=-(Nt.paddingTop+Nt.labelHeight);Er.x=So+xo,Er.y=Oo+lo}return Jt}($,tt);return{adjoiningEdge:tt.adjoiningMetaEdge?{w:tt.adjoiningMetaEdge.metaEdge.w,v:tt.adjoiningMetaEdge.metaEdge.v}:null,inbound:tt.metaEdge.inbound,w:Me.w,v:Me.v,points:at,weight:tt.weight,baseEdgeList:tt.metaEdge.baseEdgeList,parentNodeName:$.node.name}})}}.call(this,r(91))},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(f,h){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,s){l.__proto__=s}||function(l,s){for(var m in s)Object.prototype.hasOwnProperty.call(s,m)&&(l[m]=s[m])})(f,h)},function(f,h){if(typeof h!=\"function\"&&h!==null)throw new TypeError(\"Class extends value \"+String(h)+\" is not a constructor or null\");function l(){this.constructor=f}y(f,h),f.prototype=h===null?Object.create(h):(l.prototype=h.prototype,new l)}),C=this&&this.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(c,\"__esModule\",{value:!0}),c.RadialLayout=void 0;var w=r(15),O=r(18),b=C(r(182)),p=C(r(183));function u(f,h){return Math.sqrt((f[0]-h[0])*(f[0]-h[0])+(f[1]-h[1])*(f[1]-h[1]))}var a=function(f){function h(l){var s=f.call(this)||this;return s.maxIteration=1e3,s.focusNode=null,s.unitRadius=null,s.linkDistance=50,s.preventOverlap=!1,s.strictRadial=!0,s.maxPreventOverlapIteration=200,s.sortStrength=10,s.nodes=[],s.edges=[],s.updateCfg(l),s}return N(h,f),h.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}},h.prototype.execute=function(){var l=this,s=l.nodes,m=l.edges||[];if(s&&s.length!==0){l.width||typeof window==\"undefined\"||(l.width=window.innerWidth),l.height||typeof window==\"undefined\"||(l.height=window.innerHeight),l.center||(l.center=[l.width/2,l.height/2]);var x=l.center;if(s.length===1)return s[0].x=x[0],s[0].y=x[1],void(l.onLayoutEnd&&l.onLayoutEnd());var M=l.linkDistance,E=null;if((0,w.isString)(l.focusNode)){for(var j=!1,L=0;L<s.length;L++)s[L].id===l.focusNode&&(E=s[L],l.focusNode=E,j=!0,L=s.length);j||(E=null)}else E=l.focusNode;E||(E=s[0],l.focusNode=E);var A,J,q,re=(A=s,J=E.id,q=-1,A.forEach(function(we,Ze){we.id===J&&(q=Ze)}),q);re<0&&(re=0),l.focusIndex=re;var me=(0,w.getAdjMatrix)({nodes:s,edges:m},!1),Te=(0,w.floydWarshall)(me),ee=l.maxToFocus(Te,re);l.handleInfinity(Te,re,ee+1),l.distances=Te;var xe=Te[re],Ie=l.width||500,Le=l.height||500,De=Ie-x[0]>x[0]?x[0]:Ie-x[0],ce=Le-x[1]>x[1]?x[1]:Le-x[1];De===0&&(De=Ie/2),ce===0&&(ce=Le/2);var ye=ce>De?De:ce,Oe=Math.max.apply(Math,xe),Ce=[];xe.forEach(function(we,Ze){l.unitRadius||(l.unitRadius=ye/Oe),Ce[Ze]=we*l.unitRadius}),l.radii=Ce;var oe=l.eIdealDisMatrix();l.eIdealDistances=oe;var he=function(we){for(var Ze=we.length,Ve=we[0].length,et=[],ht=0;ht<Ze;ht++){for(var Fe=[],mt=0;mt<Ve;mt++)we[ht][mt]!==0?Fe.push(1/(we[ht][mt]*we[ht][mt])):Fe.push(0);et.push(Fe)}return et}(oe);l.weights=he;var ie=new b.default({linkDistance:M,distances:oe}).layout();ie.forEach(function(we){(0,w.isNaN)(we[0])&&(we[0]=Math.random()*M),(0,w.isNaN)(we[1])&&(we[1]=Math.random()*M)}),l.positions=ie,ie.forEach(function(we,Ze){s[Ze].x=we[0]+x[0],s[Ze].y=we[1]+x[1]}),ie.forEach(function(we){we[0]-=ie[re][0],we[1]-=ie[re][1]}),l.run();var ae,ve=l.preventOverlap,X=l.nodeSize,se=l.strictRadial;if(ve){var fe,_e=l.nodeSpacing;fe=(0,w.isNumber)(_e)?function(){return _e}:(0,w.isFunction)(_e)?_e:function(){return 0},ae=X?(0,w.isArray)(X)?function(we){return(X[0]>X[1]?X[0]:X[1])+fe(we)}:function(we){return X+fe(we)}:function(we){return we.size?(0,w.isArray)(we.size)?(we.size[0]>we.size[1]?we.size[0]:we.size[1])+fe(we):(0,w.isObject)(we.size)?(we.size.width>we.size.height?we.size.width:we.size.height)+fe(we):we.size+fe(we):10+fe(we)};var be={nodes:s,nodeSizeFunc:ae,adjMatrix:me,positions:ie,radii:Ce,height:Le,width:Ie,strictRadial:se,focusID:re,iterations:l.maxPreventOverlapIteration||200,k:ie.length/4.5},We=new p.default(be);ie=We.layout()}return ie.forEach(function(we,Ze){s[Ze].x=we[0]+x[0],s[Ze].y=we[1]+x[1]}),l.onLayoutEnd&&l.onLayoutEnd(),{nodes:s,edges:m}}l.onLayoutEnd&&l.onLayoutEnd()},h.prototype.run=function(){for(var l=this.maxIteration,s=this.positions||[],m=this.weights||[],x=this.eIdealDistances||[],M=this.radii||[],E=0;E<=l;E++){var j=E/l;this.oneIteration(j,s,M,x,m)}},h.prototype.oneIteration=function(l,s,m,x,M){var E=1-l,j=this.focusIndex;s.forEach(function(L,A){var J=u(L,[0,0]),q=J===0?0:1/J;if(A!==j){var re=0,me=0,Te=0;s.forEach(function(xe,Ie){if(A!==Ie){var Le=u(L,xe),De=Le===0?0:1/Le,ce=x[Ie][A];Te+=M[A][Ie],re+=M[A][Ie]*(xe[0]+ce*(L[0]-xe[0])*De),me+=M[A][Ie]*(xe[1]+ce*(L[1]-xe[1])*De)}});var ee=m[A]===0?0:1/m[A];Te*=E,Te+=l*ee*ee,re*=E,re+=l*ee*L[0]*q,L[0]=re/Te,me*=E,me+=l*ee*L[1]*q,L[1]=me/Te}})},h.prototype.eIdealDisMatrix=function(){var l=this,s=l.nodes;if(!s)return[];var m=l.distances,x=l.linkDistance,M=l.radii||[],E=l.unitRadius||50,j=[];return m&&m.forEach(function(L,A){var J=[];L.forEach(function(q,re){if(A===re)J.push(0);else if(M[A]===M[re])if(l.sortBy===\"data\")J.push(q*(Math.abs(A-re)*l.sortStrength)/(M[A]/E));else if(l.sortBy){var me=s[A][l.sortBy]||0,Te=s[re][l.sortBy]||0;(0,w.isString)(me)&&(me=me.charCodeAt(0)),(0,w.isString)(Te)&&(Te=Te.charCodeAt(0)),J.push(q*(Math.abs(me-Te)*l.sortStrength)/(M[A]/E))}else J.push(q*x/(M[A]/E));else{var ee=(x+E)/2;J.push(q*ee)}}),j.push(J)}),j},h.prototype.handleInfinity=function(l,s,m){for(var x=l.length,M=0;M<x;M++)if(l[s][M]===1/0){l[s][M]=m,l[M][s]=m;for(var E=0;E<x;E++)l[M][E]!==1/0&&l[s][E]===1/0&&(l[s][E]=m+l[M][E],l[E][s]=m+l[M][E])}for(M=0;M<x;M++)if(M!==s){for(E=0;E<x;E++)if(l[M][E]===1/0){var j=Math.abs(l[s][M]-l[s][E]);j=j===0?1:j,l[M][E]=j}}},h.prototype.maxToFocus=function(l,s){for(var m=0,x=0;x<l[s].length;x++)l[s][x]!==1/0&&(m=l[s][x]>m?l[s][x]:m);return m},h.prototype.getType=function(){return\"radial\"},h}(O.Base);c.RadialLayout=a},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=r(108),N=function(){function C(w){this.distances=w.distances,this.dimension=w.dimension||2,this.linkDistance=w.linkDistance}return C.prototype.layout=function(){var w=this.dimension,O=this.distances,b=this.linkDistance;try{var p=y.Matrix.mul(y.Matrix.pow(O,2),-.5),u=p.mean(\"row\"),a=p.mean(\"column\"),f=p.mean();p.add(f).subRowVector(u).subColumnVector(a);var h=new y.SingularValueDecomposition(p),l=y.Matrix.sqrt(h.diagonalMatrix).diagonal();return h.leftSingularVectors.toJSON().map(function(E){return y.Matrix.mul([E],[l]).toJSON()[0].splice(0,w)})}catch(E){for(var s=[],m=0;m<O.length;m++){var x=Math.random()*b,M=Math.random()*b;s.push([x,M])}return s}},C}();c.default=N},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=function(){function N(C){this.disp=[],this.positions=C.positions,this.adjMatrix=C.adjMatrix,this.focusID=C.focusID,this.radii=C.radii,this.iterations=C.iterations||10,this.height=C.height||10,this.width=C.width||10,this.speed=C.speed||100,this.gravity=C.gravity||10,this.nodeSizeFunc=C.nodeSizeFunc,this.k=C.k||5,this.strictRadial=C.strictRadial,this.nodes=C.nodes}return N.prototype.layout=function(){var C=this.positions,w=[],O=this.iterations,b=this.width/10;this.maxDisplace=b,this.disp=w;for(var p=0;p<O;p++)C.forEach(function(u,a){w[a]={x:0,y:0}}),this.getRepulsion(),this.updatePositions();return C},N.prototype.getRepulsion=function(){var C=this,w=C.positions,O=C.nodes,b=C.disp,p=C.k,u=C.radii||[];w.forEach(function(a,f){b[f]={x:0,y:0},w.forEach(function(h,l){if(f!==l&&u[f]===u[l]){var s=a[0]-h[0],m=a[1]-h[1],x=Math.sqrt(s*s+m*m);if(x===0){x=1;var M=f>l?1:-1;s=.01*M,m=.01*M}if(x<C.nodeSizeFunc(O[f])/2+C.nodeSizeFunc(O[l])/2){var E=p*p/x;b[f].x+=s/x*E,b[f].y+=m/x*E}}})})},N.prototype.updatePositions=function(){var C=this.positions,w=this.disp,O=this.speed,b=this.strictRadial,p=this.focusID,u=this.maxDisplace||this.width/10;b&&w.forEach(function(f,h){var l=C[h][0]-C[p][0],s=C[h][1]-C[p][1],m=Math.sqrt(l*l+s*s),x=s/m,M=-l/m,E=Math.sqrt(f.x*f.x+f.y*f.y),j=Math.acos((x*f.x+M*f.y)/E);j>Math.PI/2&&(j-=Math.PI/2,x*=-1,M*=-1);var L=Math.cos(j)*E;f.x=x*L,f.y=M*L});var a=this.radii;C.forEach(function(f,h){if(h!==p){var l=Math.sqrt(w[h].x*w[h].x+w[h].y*w[h].y);if(l>0&&h!==p){var s=Math.min(u*(O/800),l);if(f[0]+=w[h].x/l*s,f[1]+=w[h].y/l*s,b){var m=f[0]-C[p][0],x=f[1]-C[p][1],M=Math.sqrt(m*m+x*x);m=m/M*a[h],x=x/M*a[h],f[0]=C[p][0]+m,f[1]=C[p][1]+x}}}})},N}();c.default=y},function(Ee,c,r){var y=r(42).default;Ee.exports=function(N,C){if(y(N)!==\"object\"||N===null)return N;var w=N[Symbol.toPrimitive];if(w!==void 0){var O=w.call(N,C||\"default\");if(y(O)!==\"object\")return O;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(C===\"string\"?String:Number)(N)},Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports},function(Ee,c,r){var y=r(64),N=r(189),C=r(65),w={};w[\"[object Float32Array]\"]=w[\"[object Float64Array]\"]=w[\"[object Int8Array]\"]=w[\"[object Int16Array]\"]=w[\"[object Int32Array]\"]=w[\"[object Uint8Array]\"]=w[\"[object Uint8ClampedArray]\"]=w[\"[object Uint16Array]\"]=w[\"[object Uint32Array]\"]=!0,w[\"[object Arguments]\"]=w[\"[object Array]\"]=w[\"[object ArrayBuffer]\"]=w[\"[object Boolean]\"]=w[\"[object DataView]\"]=w[\"[object Date]\"]=w[\"[object Error]\"]=w[\"[object Function]\"]=w[\"[object Map]\"]=w[\"[object Number]\"]=w[\"[object Object]\"]=w[\"[object RegExp]\"]=w[\"[object Set]\"]=w[\"[object String]\"]=w[\"[object WeakMap]\"]=!1,Ee.exports=function(O){return C(O)&&N(O.length)&&!!w[y(O)]}},function(Ee,c,r){function y(O){return(y=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(b){return typeof b}:function(b){return b&&typeof Symbol==\"function\"&&b.constructor===Symbol&&b!==Symbol.prototype?\"symbol\":typeof b})(O)}var N=r(99),C=(typeof self==\"undefined\"?\"undefined\":y(self))==\"object\"&&self&&self.Object===Object&&self,w=N||C||Function(\"return this\")();Ee.exports=w},function(Ee,c,r){var y=r(98),N=Object.prototype,C=N.hasOwnProperty,w=N.toString,O=y?y.toStringTag:void 0;Ee.exports=function(b){var p=C.call(b,O),u=b[O];try{b[O]=void 0;var a=!0}catch(h){}var f=w.call(b);return a&&(p?b[O]=u:delete b[O]),f}},function(Ee,c){var r=Object.prototype.toString;Ee.exports=function(y){return r.call(y)}},function(Ee,c){Ee.exports=function(r){return typeof r==\"number\"&&r>-1&&r%1==0&&r<=9007199254740991}},function(Ee,c){Ee.exports=function(r){return function(y){return r(y)}}},function(Ee,c,r){(function(y){function N(u){return(N=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(a){return typeof a}:function(a){return a&&typeof Symbol==\"function\"&&a.constructor===Symbol&&a!==Symbol.prototype?\"symbol\":typeof a})(u)}var C=r(99),w=N(c)==\"object\"&&c&&!c.nodeType&&c,O=w&&N(y)==\"object\"&&y&&!y.nodeType&&y,b=O&&O.exports===w&&C.process,p=function(){try{var u=O&&O.require&&O.require(\"util\").types;return u||b&&b.binding&&b.binding(\"util\")}catch(a){}}();y.exports=p}).call(this,r(100)(Ee))},function(Ee,c,r){var y=r(42).default;function N(){\"use strict\";Ee.exports=N=function(){return C},Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports;var C={},w=Object.prototype,O=w.hasOwnProperty,b=Object.defineProperty||function(ce,ye,Oe){ce[ye]=Oe.value},p=typeof Symbol==\"function\"?Symbol:{},u=p.iterator||\"@@iterator\",a=p.asyncIterator||\"@@asyncIterator\",f=p.toStringTag||\"@@toStringTag\";function h(ce,ye,Oe){return Object.defineProperty(ce,ye,{value:Oe,enumerable:!0,configurable:!0,writable:!0}),ce[ye]}try{h({},\"\")}catch(ce){h=function(ye,Oe,Ce){return ye[Oe]=Ce}}function l(ce,ye,Oe,Ce){var oe=ye&&ye.prototype instanceof x?ye:x,he=Object.create(oe.prototype),ie=new Ie(Ce||[]);return b(he,\"_invoke\",{value:me(ce,Oe,ie)}),he}function s(ce,ye,Oe){try{return{type:\"normal\",arg:ce.call(ye,Oe)}}catch(Ce){return{type:\"throw\",arg:Ce}}}C.wrap=l;var m={};function x(){}function M(){}function E(){}var j={};h(j,u,function(){return this});var L=Object.getPrototypeOf,A=L&&L(L(Le([])));A&&A!==w&&O.call(A,u)&&(j=A);var J=E.prototype=x.prototype=Object.create(j);function q(ce){[\"next\",\"throw\",\"return\"].forEach(function(ye){h(ce,ye,function(Oe){return this._invoke(ye,Oe)})})}function re(ce,ye){var Oe;b(this,\"_invoke\",{value:function(Ce,oe){function he(){return new ye(function(ie,ae){(function ve(X,se,fe,_e){var be=s(ce[X],ce,se);if(be.type!==\"throw\"){var We=be.arg,we=We.value;return we&&y(we)==\"object\"&&O.call(we,\"__await\")?ye.resolve(we.__await).then(function(Ze){ve(\"next\",Ze,fe,_e)},function(Ze){ve(\"throw\",Ze,fe,_e)}):ye.resolve(we).then(function(Ze){We.value=Ze,fe(We)},function(Ze){return ve(\"throw\",Ze,fe,_e)})}_e(be.arg)})(Ce,oe,ie,ae)})}return Oe=Oe?Oe.then(he,he):he()}})}function me(ce,ye,Oe){var Ce=\"suspendedStart\";return function(oe,he){if(Ce===\"executing\")throw new Error(\"Generator is already running\");if(Ce===\"completed\"){if(oe===\"throw\")throw he;return De()}for(Oe.method=oe,Oe.arg=he;;){var ie=Oe.delegate;if(ie){var ae=Te(ie,Oe);if(ae){if(ae===m)continue;return ae}}if(Oe.method===\"next\")Oe.sent=Oe._sent=Oe.arg;else if(Oe.method===\"throw\"){if(Ce===\"suspendedStart\")throw Ce=\"completed\",Oe.arg;Oe.dispatchException(Oe.arg)}else Oe.method===\"return\"&&Oe.abrupt(\"return\",Oe.arg);Ce=\"executing\";var ve=s(ce,ye,Oe);if(ve.type===\"normal\"){if(Ce=Oe.done?\"completed\":\"suspendedYield\",ve.arg===m)continue;return{value:ve.arg,done:Oe.done}}ve.type===\"throw\"&&(Ce=\"completed\",Oe.method=\"throw\",Oe.arg=ve.arg)}}}function Te(ce,ye){var Oe=ye.method,Ce=ce.iterator[Oe];if(Ce===void 0)return ye.delegate=null,Oe===\"throw\"&&ce.iterator.return&&(ye.method=\"return\",ye.arg=void 0,Te(ce,ye),ye.method===\"throw\")||Oe!==\"return\"&&(ye.method=\"throw\",ye.arg=new TypeError(\"The iterator does not provide a '\"+Oe+\"' method\")),m;var oe=s(Ce,ce.iterator,ye.arg);if(oe.type===\"throw\")return ye.method=\"throw\",ye.arg=oe.arg,ye.delegate=null,m;var he=oe.arg;return he?he.done?(ye[ce.resultName]=he.value,ye.next=ce.nextLoc,ye.method!==\"return\"&&(ye.method=\"next\",ye.arg=void 0),ye.delegate=null,m):he:(ye.method=\"throw\",ye.arg=new TypeError(\"iterator result is not an object\"),ye.delegate=null,m)}function ee(ce){var ye={tryLoc:ce[0]};1 in ce&&(ye.catchLoc=ce[1]),2 in ce&&(ye.finallyLoc=ce[2],ye.afterLoc=ce[3]),this.tryEntries.push(ye)}function xe(ce){var ye=ce.completion||{};ye.type=\"normal\",delete ye.arg,ce.completion=ye}function Ie(ce){this.tryEntries=[{tryLoc:\"root\"}],ce.forEach(ee,this),this.reset(!0)}function Le(ce){if(ce){var ye=ce[u];if(ye)return ye.call(ce);if(typeof ce.next==\"function\")return ce;if(!isNaN(ce.length)){var Oe=-1,Ce=function oe(){for(;++Oe<ce.length;)if(O.call(ce,Oe))return oe.value=ce[Oe],oe.done=!1,oe;return oe.value=void 0,oe.done=!0,oe};return Ce.next=Ce}}return{next:De}}function De(){return{value:void 0,done:!0}}return M.prototype=E,b(J,\"constructor\",{value:E,configurable:!0}),b(E,\"constructor\",{value:M,configurable:!0}),M.displayName=h(E,f,\"GeneratorFunction\"),C.isGeneratorFunction=function(ce){var ye=typeof ce==\"function\"&&ce.constructor;return!!ye&&(ye===M||(ye.displayName||ye.name)===\"GeneratorFunction\")},C.mark=function(ce){return Object.setPrototypeOf?Object.setPrototypeOf(ce,E):(ce.__proto__=E,h(ce,f,\"GeneratorFunction\")),ce.prototype=Object.create(J),ce},C.awrap=function(ce){return{__await:ce}},q(re.prototype),h(re.prototype,a,function(){return this}),C.AsyncIterator=re,C.async=function(ce,ye,Oe,Ce,oe){oe===void 0&&(oe=Promise);var he=new re(l(ce,ye,Oe,Ce),oe);return C.isGeneratorFunction(ye)?he:he.next().then(function(ie){return ie.done?ie.value:he.next()})},q(J),h(J,f,\"Generator\"),h(J,u,function(){return this}),h(J,\"toString\",function(){return\"[object Generator]\"}),C.keys=function(ce){var ye=Object(ce),Oe=[];for(var Ce in ye)Oe.push(Ce);return Oe.reverse(),function oe(){for(;Oe.length;){var he=Oe.pop();if(he in ye)return oe.value=he,oe.done=!1,oe}return oe.done=!0,oe}},C.values=Le,Ie.prototype={constructor:Ie,reset:function(ce){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(xe),!ce)for(var ye in this)ye.charAt(0)===\"t\"&&O.call(this,ye)&&!isNaN(+ye.slice(1))&&(this[ye]=void 0)},stop:function(){this.done=!0;var ce=this.tryEntries[0].completion;if(ce.type===\"throw\")throw ce.arg;return this.rval},dispatchException:function(ce){if(this.done)throw ce;var ye=this;function Oe(ve,X){return he.type=\"throw\",he.arg=ce,ye.next=ve,X&&(ye.method=\"next\",ye.arg=void 0),!!X}for(var Ce=this.tryEntries.length-1;Ce>=0;--Ce){var oe=this.tryEntries[Ce],he=oe.completion;if(oe.tryLoc===\"root\")return Oe(\"end\");if(oe.tryLoc<=this.prev){var ie=O.call(oe,\"catchLoc\"),ae=O.call(oe,\"finallyLoc\");if(ie&&ae){if(this.prev<oe.catchLoc)return Oe(oe.catchLoc,!0);if(this.prev<oe.finallyLoc)return Oe(oe.finallyLoc)}else if(ie){if(this.prev<oe.catchLoc)return Oe(oe.catchLoc,!0)}else{if(!ae)throw new Error(\"try statement without catch or finally\");if(this.prev<oe.finallyLoc)return Oe(oe.finallyLoc)}}}},abrupt:function(ce,ye){for(var Oe=this.tryEntries.length-1;Oe>=0;--Oe){var Ce=this.tryEntries[Oe];if(Ce.tryLoc<=this.prev&&O.call(Ce,\"finallyLoc\")&&this.prev<Ce.finallyLoc){var oe=Ce;break}}oe&&(ce===\"break\"||ce===\"continue\")&&oe.tryLoc<=ye&&ye<=oe.finallyLoc&&(oe=null);var he=oe?oe.completion:{};return he.type=ce,he.arg=ye,oe?(this.method=\"next\",this.next=oe.finallyLoc,m):this.complete(he)},complete:function(ce,ye){if(ce.type===\"throw\")throw ce.arg;return ce.type===\"break\"||ce.type===\"continue\"?this.next=ce.arg:ce.type===\"return\"?(this.rval=this.arg=ce.arg,this.method=\"return\",this.next=\"end\"):ce.type===\"normal\"&&ye&&(this.next=ye),m},finish:function(ce){for(var ye=this.tryEntries.length-1;ye>=0;--ye){var Oe=this.tryEntries[ye];if(Oe.finallyLoc===ce)return this.complete(Oe.completion,Oe.afterLoc),xe(Oe),m}},catch:function(ce){for(var ye=this.tryEntries.length-1;ye>=0;--ye){var Oe=this.tryEntries[ye];if(Oe.tryLoc===ce){var Ce=Oe.completion;if(Ce.type===\"throw\"){var oe=Ce.arg;xe(Oe)}return oe}}throw new Error(\"illegal catch attempt\")},delegateYield:function(ce,ye,Oe){return this.delegate={iterator:Le(ce),resultName:ye,nextLoc:Oe},this.method===\"next\"&&(this.arg=void 0),m}},C}Ee.exports=N,Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports},function(Ee,c,r){var y=r(101);Ee.exports=function(N){if(Array.isArray(N))return y(N)},Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports},function(Ee,c){Ee.exports=function(r){if(typeof Symbol!=\"undefined\"&&r[Symbol.iterator]!=null||r[\"@@iterator\"]!=null)return Array.from(r)},Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports},function(Ee,c,r){var y=r(101);Ee.exports=function(N,C){if(N){if(typeof N==\"string\")return y(N,C);var w=Object.prototype.toString.call(N).slice(8,-1);return w===\"Object\"&&N.constructor&&(w=N.constructor.name),w===\"Map\"||w===\"Set\"?Array.from(N):w===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w)?y(N,C):void 0}},Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports},function(Ee,c){Ee.exports=function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports},function(Ee,c,r){var y=r(198)(Object.getPrototypeOf,Object);Ee.exports=y},function(Ee,c){Ee.exports=function(r,y){return function(N){return r(y(N))}}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.clusterBundle=c.clusterCode=c.fruchtermanBundle=c.fruchtermanCode=void 0,c.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`,c.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}}',c.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`,c.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}}'},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.aveMovementBundle=c.aveMovementCode=c.gForceBundle=c.gForceCode=void 0,c.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`,c.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}}',c.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`,c.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}}'},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=function(){function N(C){this.id=C.id||0,this.rx=C.rx,this.ry=C.ry,this.fx=0,this.fy=0,this.mass=C.mass,this.degree=C.degree,this.g=C.g||0}return N.prototype.distanceTo=function(C){var w=this.rx-C.rx,O=this.ry-C.ry;return Math.hypot(w,O)},N.prototype.setPos=function(C,w){this.rx=C,this.ry=w},N.prototype.resetForce=function(){this.fx=0,this.fy=0},N.prototype.addForce=function(C){var w=C.rx-this.rx,O=C.ry-this.ry,b=Math.hypot(w,O);b=b<1e-4?1e-4:b;var p=this.g*(this.degree+1)*(C.degree+1)/b;this.fx+=p*w/b,this.fy+=p*O/b},N.prototype.in=function(C){return C.contains(this.rx,this.ry)},N.prototype.add=function(C){var w=this.mass+C.mass;return new N({rx:(this.rx*this.mass+C.rx*C.mass)/w,ry:(this.ry*this.mass+C.ry*C.mass)/w,mass:w,degree:this.degree+C.degree})},N}();c.default=y},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=function(){function N(C){this.xmid=C.xmid,this.ymid=C.ymid,this.length=C.length,this.massCenter=C.massCenter||[0,0],this.mass=C.mass||1}return N.prototype.getLength=function(){return this.length},N.prototype.contains=function(C,w){var O=this.length/2;return C<=this.xmid+O&&C>=this.xmid-O&&w<=this.ymid+O&&w>=this.ymid-O},N.prototype.NW=function(){return new N({xmid:this.xmid-this.length/4,ymid:this.ymid+this.length/4,length:this.length/2})},N.prototype.NE=function(){return new N({xmid:this.xmid+this.length/4,ymid:this.ymid+this.length/4,length:this.length/2})},N.prototype.SW=function(){return new N({xmid:this.xmid-this.length/4,ymid:this.ymid-this.length/4,length:this.length/2})},N.prototype.SE=function(){return new N({xmid:this.xmid+this.length/4,ymid:this.ymid-this.length/4,length:this.length/2})},N}();c.default=y},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=function(){function N(C){this.body=null,this.quad=null,this.NW=null,this.NE=null,this.SW=null,this.SE=null,this.theta=.5,C!=null&&(this.quad=C)}return N.prototype.insert=function(C){this.body!=null?this._isExternal()?(this.quad&&(this.NW=new N(this.quad.NW()),this.NE=new N(this.quad.NE()),this.SW=new N(this.quad.SW()),this.SE=new N(this.quad.SE())),this._putBody(this.body),this._putBody(C),this.body=this.body.add(C)):(this.body=this.body.add(C),this._putBody(C)):this.body=C},N.prototype._putBody=function(C){this.quad&&(C.in(this.quad.NW())&&this.NW?this.NW.insert(C):C.in(this.quad.NE())&&this.NE?this.NE.insert(C):C.in(this.quad.SW())&&this.SW?this.SW.insert(C):C.in(this.quad.SE())&&this.SE&&this.SE.insert(C))},N.prototype._isExternal=function(){return this.NW==null&&this.NE==null&&this.SW==null&&this.SE==null},N.prototype.updateForce=function(C){this.body!=null&&C!==this.body&&(this._isExternal()||(this.quad?this.quad.getLength():0)/this.body.distanceTo(C)<this.theta?C.addForce(this.body):(this.NW&&this.NW.updateForce(C),this.NE&&this.NE.updateForce(C),this.SW&&this.SW.updateForce(C),this.SE&&this.SE.updateForce(C)))},N}();c.default=y},function(Ee,c,r){\"use strict\";var y=this&&this.__assign||function(){return(y=Object.assign||function(f){for(var h,l=1,s=arguments.length;l<s;l++)for(var m in h=arguments[l])Object.prototype.hasOwnProperty.call(h,m)&&(f[m]=h[m]);return f}).apply(this,arguments)},N=this&&this.__createBinding||(Object.create?function(f,h,l,s){s===void 0&&(s=l);var m=Object.getOwnPropertyDescriptor(h,l);m&&!(\"get\"in m?!h.__esModule:m.writable||m.configurable)||(m={enumerable:!0,get:function(){return h[l]}}),Object.defineProperty(f,s,m)}:function(f,h,l,s){s===void 0&&(s=l),f[s]=h[l]}),C=this&&this.__setModuleDefault||(Object.create?function(f,h){Object.defineProperty(f,\"default\",{enumerable:!0,value:h})}:function(f,h){f.default=h}),w=this&&this.__importStar||function(f){if(f&&f.__esModule)return f;var h={};if(f!=null)for(var l in f)l!==\"default\"&&Object.prototype.hasOwnProperty.call(f,l)&&N(h,f,l);return C(h,f),h},O=this&&this.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(c,\"__esModule\",{value:!0});var b=w(r(66)),p=O(r(205)),u=O(r(207)),a=r(62);c.default=function(f,h){var l=f.nodes,s=f.edges,m=h.width,x=h.height;if(!(l!=null&&l.length))return Promise.resolve();var M=[];l.forEach(function(q){if(s.filter(function(me){return me.source===q.id||me.target===q.id}).length>1){var re=y({},q);delete re.size,M.push(re)}});var E=[];s.forEach(function(q){var re=M.find(function(Te){return Te.id===q.source}),me=M.find(function(Te){return Te.id===q.target});re&&me&&E.push(q)});var j=new a.DagreLayout({type:\"dagre\",ranksep:h.nodeMinGap,nodesep:h.nodeMinGap}).layout({nodes:M,edges:E}).nodes;l.forEach(function(q){var re=(j||[]).find(function(me){return me.id===q.id});q.x=(re==null?void 0:re.x)||m/2,q.y=(re==null?void 0:re.y)||x/2});var L=JSON.parse(JSON.stringify(l)),A=JSON.parse(JSON.stringify(s)),J=b.forceSimulation().nodes(L).force(\"link\",b.forceLink(A).id(function(q){return q.id}).distance(function(q){return E.find(function(re){return re.source===q.source&&re.target===q.target})?30:20})).force(\"charge\",b.forceManyBody()).force(\"center\",b.forceCenter(m/2,x/2)).force(\"x\",b.forceX(m/2)).force(\"y\",b.forceY(x/2)).alpha(.3).alphaDecay(.08).alphaMin(.001);return new Promise(function(q){J.on(\"end\",function(){l.forEach(function(Le){var De=L.find(function(ce){return ce.id===Le.id});De&&(Le.x=De.x,Le.y=De.y)});var re=Math.min.apply(Math,l.map(function(Le){return Le.x})),me=Math.max.apply(Math,l.map(function(Le){return Le.x})),Te=Math.min.apply(Math,l.map(function(Le){return Le.y})),ee=Math.max.apply(Math,l.map(function(Le){return Le.y})),xe=m/(me-re),Ie=x/(ee-Te);l.forEach(function(Le){Le.x!==void 0&&xe<1&&(Le.x=(Le.x-re)*xe),Le.y!==void 0&&Ie<1&&(Le.y=(Le.y-Te)*Ie)}),l.forEach(function(Le){Le.sizeTemp=Le.size,Le.size=[10,10]}),(0,u.default)(l,s),l.forEach(function(Le){Le.size=Le.sizeTemp||[],delete Le.sizeTemp}),(0,p.default)({nodes:l,edges:s},h),q()})})}},function(Ee,c,r){\"use strict\";var y=this&&this.__importDefault||function(C){return C&&C.__esModule?C:{default:C}};Object.defineProperty(c,\"__esModule\",{value:!0});var N=y(r(206));c.default=function(C,w){if(!C.nodes||C.nodes.length===0)return C;var O=w.width,b=w.height,p=w.nodeMinGap,u=1e4,a=1e4;C.nodes.forEach(function(A){var J=A.size[0]||50,q=A.size[1]||50;u=Math.min(J,u),a=Math.min(q,a)});var f=new N.default;f.init(O,b,{CELL_H:a,CELL_W:u}),C.nodes.forEach(function(A){var J=f.occupyNearest(A);J&&(J.node={id:A.id,size:A.size},A.x=J.x,A.y=J.y,A.dx=J.dx,A.dy=J.dy)});for(var h=0;h<C.nodes.length;h++){var l=C.nodes[h],s=f.findGridByNodeId(l.id);if(!s)throw new Error(\"can not find node cell\");var m=s.column,x=s.row;if(l.size[0]+p>u){for(var M=j=Math.ceil((l.size[0]+p)/u)-1,E=0;E<j&&!(!(f.additionColumn.indexOf(m+E+1)>-1)||f.cells[m+E+1][x].node);E++)M--;f.insertColumn(m,M)}if(l.size[1]+p>a){var j;for(M=j=Math.ceil((l.size[1]+p)/a)-1,E=0;E<j&&!(!(f.additionRow.indexOf(x+E+1)>-1)||f.cells[m][x+E+1].node);E++)M--;f.insertRow(x,M)}}for(h=0;h<f.columnNum;h++){var L=function(A){var J=f.cells[h][A];if(J.node){var q=C.nodes.find(function(re){var me;return re.id===((me=J==null?void 0:J.node)===null||me===void 0?void 0:me.id)});q&&(q.x=J.x+q.size[0]/2,q.y=J.y+q.size[1]/2)}};for(E=0;E<f.rowNum;E++)L(E)}}},function(Ee,c,r){\"use strict\";var y=this&&this.__assign||function(){return(y=Object.assign||function(C){for(var w,O=1,b=arguments.length;O<b;O++)for(var p in w=arguments[O])Object.prototype.hasOwnProperty.call(w,p)&&(C[p]=w[p]);return C}).apply(this,arguments)};Object.defineProperty(c,\"__esModule\",{value:!0});var N=function(){function C(){this.cells=[],this.columnNum=0,this.rowNum=0,this.additionColumn=[],this.additionRow=[]}return C.prototype.init=function(w,O,b){this.cells=[],this.CELL_W=b.CELL_W||C.DEFAULT_CELL_W,this.CELL_H=b.CELL_H||C.DEFAULT_CELL_H,this.columnNum=Math.ceil(w/this.CELL_W),this.rowNum=Math.ceil(O/this.CELL_H),C.MIN_DIST=Math.pow(w,2)+Math.pow(O,2);for(var p=0;p<this.columnNum;p++){for(var u=[],a=0;a<this.rowNum;a++){var f={dx:p,dy:a,x:p*this.CELL_W,y:a*this.CELL_H,occupied:!1};u.push(f)}this.cells.push(u)}},C.prototype.findGridByNodeId=function(w){for(var O,b,p=0;p<this.columnNum;p++)for(var u=0;u<this.rowNum;u++)if(this.cells[p][u].node&&((b=(O=this.cells[p][u])===null||O===void 0?void 0:O.node)===null||b===void 0?void 0:b.id)===w)return{column:p,row:u};return null},C.prototype.sqdist=function(w,O){return Math.pow(w.x-O.x,2)+Math.pow(w.y-O.y,2)},C.prototype.occupyNearest=function(w){for(var O,b=C.MIN_DIST,p=null,u=0;u<this.columnNum;u++)for(var a=0;a<this.rowNum;a++)!this.cells[u][a].occupied&&(O=this.sqdist(w,this.cells[u][a]))<b&&(b=O,p=this.cells[u][a]);return p&&(p.occupied=!0),p},C.prototype.insertColumn=function(w,O){if(!(O<=0)){for(var b=0;b<O;b++){this.cells[b+this.columnNum]=[];for(var p=0;p<this.rowNum;p++)this.cells[b+this.columnNum][p]={dx:b,dy:p,x:b*this.CELL_W,y:p*this.CELL_H,occupied:!1,node:null}}for(b=this.columnNum-1;b>w;b--)for(p=0;p<this.rowNum;p++)this.cells[b+O][p]=y(y({},this.cells[b][p]),{x:(b+O)*this.CELL_W,y:p*this.CELL_H}),this.cells[b][p]={x:b*this.CELL_W,y:p*this.CELL_H,occupied:!0,node:null};for(p=0;p<this.additionColumn.length;p++)this.additionColumn[p]>=w&&(this.additionColumn[p]+=O);for(b=0;b<O;b++)this.additionColumn.push(w+b+1);this.columnNum+=O}},C.prototype.insertRow=function(w,O){if(!(O<=0)){for(var b=0;b<O;b++)for(var p=0;p<this.columnNum;p++)this.cells[p][b+this.rowNum]={dx:p,dy:b,x:p*this.CELL_W,y:b*this.CELL_H,occupied:!1,node:null};for(p=0;p<this.columnNum;p++)for(b=this.rowNum-1;b>w;b--)this.cells[p][b+O]=y(y({},this.cells[p][b]),{dx:p,dy:b+O,x:p*this.CELL_W,y:(b+O)*this.CELL_H}),this.cells[p][b]={dx:p,dy:b,x:p*this.CELL_W,y:b*this.CELL_H,occupied:!1,node:null};for(b=0;b<this.additionRow.length;b++)this.additionRow[b]>=w&&(this.additionRow[b]+=O);for(p=0;p<O;p++)this.additionRow.push(w+p+1);this.rowNum+=O}},C.prototype.getNodes=function(){for(var w=[],O=0;O<this.columnNum;O++)for(var b=0;b<this.rowNum;b++)this.cells[O][b].node&&w.push(this.cells[O][b]);return w},C.MIN_DIST=50,C.DEFAULT_CELL_W=80,C.DEFAULT_CELL_H=80,C}();c.default=N},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=1.5707963267948966,N=new Map,C=.8;function w(a,f){var h=(N.get(a.id)||[]).find(function(ye){return ye.source===f.id||ye.target===f.id}),l=a.size[0]*a.size[1],s=f.size[0]*f.size[1],m=l>s?f:a,x=l>s?a:f,M=m.x-m.size[0]/2,E=m.y-m.size[1]/2,j=m.x+m.size[0]/2,L=m.y+m.size[1]/2,A=x.x-x.size[0]/2,J=x.y-x.size[1]/2,q=x.x+x.size[0]/2,re=x.y+x.size[1]/2,me=m.x,Te=m.y,ee=x.x,xe=x.y,Ie=0,Le=0;if(j>=A&&q>=M&&L>=J&&re>=E)(Le=Math.sqrt(Math.pow(ee-me,2)+Math.pow(xe-Te,2)))===0&&(Le=1e-7),Ie=10/Le*100+((j<q?j:q)-(M>A?M:A))*((L<re?L:re)-(E>J?E:J)),Ie*=1e7;else{var De=!1,ce=function(ye,Oe,Ce){var oe=ye.x-ye.size[0]/2,he=ye.y-ye.size[1]/2,ie=ye.x+ye.size[0]/2,ae=ye.y+ye.size[1]/2,ve=Oe.x-Oe.size[0]/2,X=Oe.y-Oe.size[1]/2,se=Oe.x+Oe.size[0]/2,fe=Oe.y+Oe.size[1]/2,_e=ye.x,be=ye.y,We=Oe.x,we=Oe.y,Ze=We-_e,Ve=Math.atan2(Ze,we-be),et=0,ht=0,Fe=0,mt=0;Ve>y?(ht=he-fe,et=ve-ie,Fe=parseFloat(ht?(ht/Math.cos(Ve)).toFixed(2):et.toFixed(2)),mt=parseFloat(et?(et/Math.sin(Ve)).toFixed(2):ht.toFixed(2))):Fe=mt=0<Ve&&Ve<=y?(ht=X-ae)>(et=ve-ie)?parseFloat(ht?(ht/Math.cos(Ve)).toFixed(2):et.toFixed(2)):parseFloat(et?(et/Math.sin(Ve)).toFixed(2):ht.toFixed(2)):Ve<-y?(ht=he-fe)>(et=-(se-oe))?parseFloat(ht?(ht/Math.cos(Ve)).toFixed(2):et.toFixed(2)):parseFloat(et?(et/Math.sin(Ve)).toFixed(2):ht.toFixed(2)):(ht=X-ae)>(et=Math.abs(Ze)>(ie-oe)/2?oe-se:Ze)?parseFloat(ht?(ht/Math.cos(Ve)).toFixed(2):et.toFixed(2)):parseFloat(et&&Ve!==0?(et/Math.sin(Ve)).toFixed(2):ht.toFixed(2));var dt=parseFloat(Ve.toFixed(2)),Lt=Ce;return Ce&&(Lt=1.1780972450961724<dt&&dt<1.9634954084936207),{distance:Math.abs(Fe<mt?Fe:mt),isHoriz:Lt}}(m,x,De);Le=ce.distance,De=ce.isHoriz,Le<=10?Ie+=Le!==0?h?10+1e7/Le:10+1e8/Le:1e7:(Ie+=Le,h&&(Ie+=Le*Le))}return Ie}function O(a){for(var f=0,h=0;h<a.length;h++){var l=a[h];(l.x<0||l.y<0||l.x>1200||l.y>800)&&(f+=1e12);for(var s=h+1;s<a.length;s++)f+=w(l,a[s])}return f}function b(a,f,h,l){var s=new Map;h.forEach(function(re,me){s.set(re.id,re)});var m=l.filter(function(re){return re.source===a.id||re.target===a.id})||[],x=[];m.forEach(function(re){var me=re.source===a.id?re.target:re.source,Te=s.get(me);Te&&x.push(Te)});for(var M=!0,E=0;E<x.length;E++){var j=x[E],L=180*Math.atan((a.y-j.y)/(j.x-a.y)),A=180*Math.atan((f.y-j.y)/(j.x-f.y)),J=L>70&&L<110,q=A>70&&A<110;if((L<30||L>150)&&!(A<30||A>150)||L*A<0){M=!1;break}if(J&&!q||L*A<0){M=!1;break}if((j.x-a.x)*(j.x-f.x)<0){M=!1;break}if((j.y-a.y)*(j.y-f.y)<0){M=!1;break}}return M}function p(a,f){for(var h=!1,l=[10,-10,0,0],s=[0,0,10,-10],m=0;m<a.length;++m)for(var x=a[m],M=u(x,a),E=0;E<l.length;E++)if(b(x,{x:x.x+l[E],y:x.y+s[E]},a,f)){x.x+=l[E],x.y+=s[E];var j=u(x,a),L=Math.random();j<M||L<C&&L>.1?(M=j,h=!0):(x.x-=l[E],x.y-=s[E])}return C>.1&&(C*=.5),h?O(a):0}function u(a,f){var h=0;(a.x<0||a.y<0||a.x+a.size[0]+20>1200||a.y+a.size[1]+20>800)&&(h+=1e12);for(var l=0;l<f.length;++l)a.id!==f[l].id&&(h+=w(a,f[l]));return h}c.default=function(a,f){if(a.length===0)return{nodes:a,edges:f};a.forEach(function(E){var j=f.filter(function(L){return L.source===E.id||L.target===E.id});N.set(E,j)}),a.sort(function(E,j){var L,A;return((L=N.get(E.id))===null||L===void 0?void 0:L.length)-((A=N.get(j.id))===null||A===void 0?void 0:A.length)});for(var h=O(a),l=20,s=1,m=0,x=0;l>0&&!(++x>=50);){var M=p(a,f);M!==0&&(m=M),s=m-h,h=m,s===0?--l:l=20}return a.forEach(function(E){E.x=E.x-E.size[0]/2,E.y=E.y-E.size[1]/2}),{nodes:a,edges:f}}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.Layouts=c.Layout=void 0;var y=r(79),N=r(83),C=r(84),w=r(86),O=r(85),b=r(87),p=r(88),u=r(62),a=r(92),f=r(93),h=r(94),l=r(95),s=r(96),m=r(103),x=r(104),M=r(105),E=r(106),j=r(107),L=r(90),A=r(15),J=function(){function q(re){var me=(0,y.getLayoutByName)(re.type);this.layoutInstance=new me(re)}return q.prototype.layout=function(re){return this.layoutInstance.layout(re)},q.prototype.updateCfg=function(re){this.layoutInstance.updateCfg(re)},q.prototype.init=function(re){this.correctLayers(re.nodes),this.layoutInstance.init(re)},q.prototype.correctLayers=function(re){if(re!=null&&re.length){var me=1/0,Te=[];if(re.forEach(function(xe){(0,A.isString)(xe.layer)&&(xe.layer=parseInt(xe.layer,10)),xe.layer===void 0||isNaN(xe.layer)||(Te.push(xe),xe.layer<me&&(me=xe.layer))}),me<=0){var ee=Math.abs(me)+1;Te.forEach(function(xe){return xe.layer+=ee})}}},q.prototype.execute=function(){this.layoutInstance.execute()},q.prototype.getDefaultCfg=function(){return this.layoutInstance.getDefaultCfg()},q.prototype.destroy=function(){return this.layoutInstance.destroy()},q}();c.Layout=J,c.Layouts={force:b.ForceLayout,fruchterman:l.FruchtermanLayout,forceAtlas2:E.ForceAtlas2Layout,gForce:O.GForceLayout,force2:w.Force2Layout,dagre:u.DagreLayout,dagreCompound:L.DagreCompoundLayout,circular:p.CircularLayout,radial:a.RadialLayout,concentric:f.ConcentricLayout,grid:N.GridLayout,mds:h.MDSLayout,comboForce:x.ComboForceLayout,comboCombined:M.ComboCombinedLayout,random:C.RandomLayout,\"gForce-gpu\":m.GForceGPULayout,\"fruchterman-gpu\":s.FruchtermanGPULayout,er:j.ERLayout}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0})},function(Ee,c,r){\"use strict\";r.r(c),r.d(c,\"G6GraphEvent\",function(){return ct}),r.d(c,\"Node\",function(){return U}),r.d(c,\"Edge\",function(){return V}),r.d(c,\"Combo\",function(){return ge}),r.d(c,\"Hull\",function(){return ui}),r.d(c,\"registerNode\",function(){return Ba}),r.d(c,\"registerCombo\",function(){return Va}),r.d(c,\"AbstractGraph\",function(){return ho}),r.d(c,\"registerEdge\",function(){return Ua}),r.d(c,\"registerBehavior\",function(){return Ls}),r.d(c,\"AbstractLayout\",function(){return Ma}),r.d(c,\"AbstractEvent\",function(){return Ka}),r.d(c,\"BaseGlobal\",function(){return Qo}),r.d(c,\"Graph\",function(){return Cs}),r.d(c,\"TreeGraph\",function(){return ds}),r.d(c,\"Util\",function(){return Ht}),r.d(c,\"Layout\",function(){return Li.Layouts}),r.d(c,\"TreeLayout\",function(){return wn}),r.d(c,\"registerLayout\",function(){return On}),r.d(c,\"Global\",function(){return di}),r.d(c,\"Minimap\",function(){return vd}),r.d(c,\"Grid\",function(){return Ff}),r.d(c,\"Bundling\",function(){return ed}),r.d(c,\"Menu\",function(){return td}),r.d(c,\"Fisheye\",function(){return yf}),r.d(c,\"Algorithm\",function(){return mf}),r.d(c,\"ToolBar\",function(){return nd}),r.d(c,\"Tooltip\",function(){return rd}),r.d(c,\"TimeBar\",function(){return od}),r.d(c,\"ImageMinimap\",function(){return zf}),r.d(c,\"EdgeFilterLens\",function(){return $f}),r.d(c,\"SnapLine\",function(){return du}),r.d(c,\"Legend\",function(){return Ou}),r.d(c,\"Annotation\",function(){return Hf}),r.d(c,\"Arrow\",function(){return Ii}),r.d(c,\"Marker\",function(){return pa}),r.d(c,\"Shape\",function(){return na}),r.d(c,\"version\",function(){return ad});var y={};r.r(y),r.d(y,\"getAdjMatrix\",function(){return L}),r.d(y,\"breadthFirstSearch\",function(){return xe}),r.d(y,\"connectedComponent\",function(){return Le}),r.d(y,\"getDegree\",function(){return ce}),r.d(y,\"getInDegree\",function(){return ye}),r.d(y,\"getOutDegree\",function(){return Oe}),r.d(y,\"detectCycle\",function(){return ae}),r.d(y,\"detectDirectedCycle\",function(){return Dt}),r.d(y,\"detectAllCycles\",function(){return ie}),r.d(y,\"detectAllDirectedCycle\",function(){return he}),r.d(y,\"detectAllUndirectedCycle\",function(){return oe}),r.d(y,\"depthFirstSearch\",function(){return Ce}),r.d(y,\"dijkstra\",function(){return ve}),r.d(y,\"findAllPath\",function(){return _e}),r.d(y,\"findShortestPath\",function(){return fe}),r.d(y,\"floydWarshall\",function(){return be}),r.d(y,\"labelPropagation\",function(){return We}),r.d(y,\"louvain\",function(){return dt}),r.d(y,\"iLouvain\",function(){return Lt}),r.d(y,\"kCore\",function(){return lt}),r.d(y,\"kMeans\",function(){return qt}),r.d(y,\"cosineSimilarity\",function(){return hn}),r.d(y,\"nodesCosineSimilarity\",function(){return Kt}),r.d(y,\"minimumSpanningTree\",function(){return Fn}),r.d(y,\"pageRank\",function(){return pn}),r.d(y,\"getNeighbors\",function(){return me}),r.d(y,\"Stack\",function(){return xn}),r.d(y,\"GADDI\",function(){return Wt}),r.d(y,\"default\",function(){return Xn});var N={};r.r(N),r.d(N,\"compare\",function(){return wt}),r.d(N,\"getLineIntersect\",function(){return Ue}),r.d(N,\"getRectIntersectByPoint\",function(){return xt}),r.d(N,\"getCircleIntersectByPoint\",function(){return cn}),r.d(N,\"getEllipseIntersectByPoint\",function(){return er}),r.d(N,\"applyMatrix\",function(){return Mr}),r.d(N,\"invertMatrix\",function(){return xr}),r.d(N,\"getCircleCenterByPoints\",function(){return jr}),r.d(N,\"distance\",function(){return yo}),r.d(N,\"scaleMatrix\",function(){return eo}),r.d(N,\"floydWarshall\",function(){return vi}),r.d(N,\"getAdjMatrix\",function(){return Ti}),r.d(N,\"translate\",function(){return wi}),r.d(N,\"move\",function(){return mi}),r.d(N,\"scale\",function(){return Zi}),r.d(N,\"rotate\",function(){return aa}),r.d(N,\"getDegree\",function(){return $e}),r.d(N,\"isPointInPolygon\",function(){return Un}),r.d(N,\"intersectBBox\",function(){return ar}),r.d(N,\"isPolygonsIntersect\",function(){return Rr}),r.d(N,\"Line\",function(){return Ro}),r.d(N,\"getBBoxBoundLine\",function(){return Vo}),r.d(N,\"itemIntersectByLine\",function(){return Mo}),r.d(N,\"fractionToLine\",function(){return qo}),r.d(N,\"getPointsCenter\",function(){return ti}),r.d(N,\"squareDist\",function(){return pi}),r.d(N,\"pointLineSquareDist\",function(){return ni}),r.d(N,\"isPointsOverlap\",function(){return si}),r.d(N,\"pointRectSquareDist\",function(){return Oi}),r.d(N,\"pointLineDistance\",function(){return Ki}),r.d(N,\"lerp\",function(){return ca}),r.d(N,\"lerpArray\",function(){return zi});var C={};r.r(C),r.d(C,\"getBBox\",function(){return wr}),r.d(C,\"getLoopCfgs\",function(){return Dr}),r.d(C,\"getLabelPosition\",function(){return go}),r.d(C,\"traverseTree\",function(){return Ir}),r.d(C,\"traverseTreeUp\",function(){return Jr}),r.d(C,\"getLetterWidth\",function(){return _o}),r.d(C,\"getTextSize\",function(){return No}),r.d(C,\"truncateLabelByLength\",function(){return ii}),r.d(C,\"plainCombosToTrees\",function(){return Lo}),r.d(C,\"reconstructTree\",function(){return ai}),r.d(C,\"getComboBBox\",function(){return Si}),r.d(C,\"shouldRefreshEdge\",function(){return Ui}),r.d(C,\"cloneBesidesImg\",function(){return ln}),r.d(C,\"getAnimateCfgWithCallback\",function(){return mn});var w={};r.r(w),r.d(w,\"uniqueId\",function(){return tn}),r.d(w,\"formatPadding\",function(){return An}),r.d(w,\"cloneEvent\",function(){return Rt}),r.d(w,\"isViewportChanged\",function(){return un}),r.d(w,\"isNaN\",function(){return Dn}),r.d(w,\"calculationItemsBBox\",function(){return dr}),r.d(w,\"processParallelEdges\",function(){return Ar});var O={};r.r(O),r.d(O,\"getSpline\",function(){return It}),r.d(O,\"getControlPoint\",function(){return jt}),r.d(O,\"pointsToPolygon\",function(){return Vt}),r.d(O,\"pathToPoints\",function(){return Pn}),r.d(O,\"getClosedSpline\",function(){return Jn}),r.d(O,\"roundedHull\",function(){return ir}),r.d(O,\"paddedHull\",function(){return nr}),r.d(O,\"getStarPath\",function(){return ur});var b={};r.r(b),r.d(b,\"defaultSubjectColors\",function(){return $i});var p={};r.r(p),r.d(p,\"isForce\",function(){return La});var u={};r.r(u),r.d(u,\"mixColor\",function(){return Xa}),r.d(u,\"getColorsWithSubjectColor\",function(){return os}),r.d(u,\"getColorSetsBySubjectColors\",function(){return As});var a={};r.r(a),r.d(a,\"proccessToFunc\",function(){return Ja}),r.d(a,\"buildTextureData\",function(){return qa}),r.d(a,\"buildTextureDataWithOneEdgeAttr\",function(){return Ts}),r.d(a,\"buildTextureDataWithTwoEdgeAttr\",function(){return v}),r.d(a,\"attributesToTextureData\",function(){return G}),r.d(a,\"arrayToTextureData\",function(){return ze}),r.d(a,\"radialLayout\",function(){return ut});var f={};r.r(f),r.d(f,\"gpuDetector\",function(){return _t});var h={};r.r(h),r.d(h,\"default\",function(){return hl}),r.d(h,\"assign\",function(){return Ps}),r.d(h,\"format\",function(){return dl}),r.d(h,\"parse\",function(){return Du}),r.d(h,\"defaultI18n\",function(){return Nu}),r.d(h,\"setGlobalDateI18n\",function(){return mu}),r.d(h,\"setGlobalDateMasks\",function(){return Wu});var l=r(1),s=r(0),m={getDefaultCfg:function(){return{}},getEvents:function(){return{}},updateCfg:function(o){return Object.assign(this,o),!0},shouldBegin:function(){return!0},shouldUpdate:function(){return!0},shouldEnd:function(){return!0},bind:function(o){var t=this,e=this.events;this.graph=o,this.type!==\"drag-canvas\"&&this.type!==\"brush-select\"&&this.type!==\"lasso-select\"||o.get(\"canvas\").set(\"draggable\",!0),Object(s.each)(e,function(n,i){o.on(i,n)}),document.addEventListener(\"visibilitychange\",function(){t.keydown=!1})},unbind:function(o){var t=this.events,e=o.get(\"canvas\").get(\"draggable\");this.type!==\"drag-canvas\"&&this.type!==\"brush-select\"&&this.type!==\"lasso-select\"||o.get(\"canvas\").set(\"draggable\",!1),Object(s.each)(t,function(n,i){o.off(i,n)}),o.get(\"canvas\").set(\"draggable\",e)},get:function(o){return this[o]},set:function(o,t){return this[o]=t,this}},x=function(){function o(){}return o.registerBehavior=function(t,e){if(!e)throw new Error(\"please specify handler for this behavior: \".concat(t));var n=Object(s.clone)(m);Object.assign(n,e);var i=function(d){var g=this;Object.assign(this,this.getDefaultCfg(),d);var _=this.getEvents();this.events=null;var I={};_&&(Object(s.each)(_,function(D,H){I[H]=Object(s.wrapBehavior)(g,D)}),this.events=I)};i.prototype=n,o.types[t]=i},o.hasBehavior=function(t){return!!o.types[t]},o.getBehavior=function(t){return o.types[t]},o.types={},o}(),M=x,E=r(52),j=r(4),L=function(o,t){var e=o.nodes,n=o.edges,i=[],d={};if(!e)throw new Error(\"invalid nodes data!\");return e&&e.forEach(function(g,_){d[g.id]=_,i.push([])}),n&&n.forEach(function(g){var _=g.source,I=g.target,D=d[_],H=d[I];!D&&D!==0||!H&&H!==0||(i[D][H]=1,t||(i[H][D]=1))}),i},A=function(o,t){return o===t},J=function(){function o(t,e){e===void 0&&(e=null),this.value=t,this.next=e}return o.prototype.toString=function(t){return t?t(this.value):\"\".concat(this.value)},o}(),q=function(){function o(t){t===void 0&&(t=A),this.head=null,this.tail=null,this.compare=t}return o.prototype.prepend=function(t){var e=new J(t,this.head);return this.head=e,this.tail||(this.tail=e),this},o.prototype.append=function(t){var e=new J(t);return this.head?(this.tail.next=e,this.tail=e,this):(this.head=e,this.tail=e,this)},o.prototype.delete=function(t){if(!this.head)return null;for(var e=null;this.head&&this.compare(this.head.value,t);)e=this.head,this.head=this.head.next;var n=this.head;if(n!==null)for(;n.next;)this.compare(n.next.value,t)?(e=n.next,n.next=n.next.next):n=n.next;return this.compare(this.tail.value,t)&&(this.tail=n),e},o.prototype.find=function(t){var e=t.value,n=e===void 0?void 0:e,i=t.callback,d=i===void 0?void 0:i;if(!this.head)return null;for(var g=this.head;g;){if(d&&d(g.value)||n!==void 0&&this.compare(g.value,n))return g;g=g.next}return null},o.prototype.deleteTail=function(){var t=this.tail;if(this.head===this.tail)return this.head=null,this.tail=null,t;for(var e=this.head;e.next;)e.next.next?e=e.next:e.next=null;return this.tail=e,t},o.prototype.deleteHead=function(){if(!this.head)return null;var t=this.head;return this.head.next?this.head=this.head.next:(this.head=null,this.tail=null),t},o.prototype.fromArray=function(t){var e=this;return t.forEach(function(n){return e.append(n)}),this},o.prototype.toArray=function(){for(var t=[],e=this.head;e;)t.push(e),e=e.next;return t},o.prototype.reverse=function(){for(var t=this.head,e=null,n=null;t;)n=t.next,t.next=e,e=t,t=n;this.tail=this.head,this.head=e},o.prototype.toString=function(t){return t===void 0&&(t=void 0),this.toArray().map(function(e){return e.toString(t)}).toString()},o}(),re=function(){function o(){this.linkedList=new q}return o.prototype.isEmpty=function(){return!this.linkedList.head},o.prototype.peek=function(){return this.linkedList.head?this.linkedList.head.value:null},o.prototype.enqueue=function(t){this.linkedList.append(t)},o.prototype.dequeue=function(){var t=this.linkedList.deleteHead();return t?t.value:null},o.prototype.toString=function(t){return this.linkedList.toString(t)},o}(),me=function(o,t,e){t===void 0&&(t=[]);var n=t.filter(function(i){return i.source===o||i.target===o});return e===\"target\"?n.filter(function(i){return i.source===o}).map(function(i){return i.target}):e===\"source\"?n.filter(function(i){return i.target===o}).map(function(i){return i.source}):n.map(function(i){return i.source===o?i.target:i.source})},Te=function(o,t){return t.filter(function(e){return e.source===o||e.target===o})},ee=function(o){o===void 0&&(o=0);var t=\"\".concat(Math.random()).split(\".\")[1].substr(0,5),e=\"\".concat(Math.random()).split(\".\")[1].substr(0,5);return\"\".concat(o,\"-\").concat(t).concat(e)},xe=function(o,t,e,n){n===void 0&&(n=!0);var i=function(H){H===void 0&&(H={});var Z,te=H,de=function(){},Pe=(Z={},function(Ge){var Qe=Ge.next;return!Z[Qe]&&(Z[Qe]=!0,!0)});return te.allowTraversal=H.allowTraversal||Pe,te.enter=H.enter||de,te.leave=H.leave||de,te}(e),d=new re,g=o.edges,_=g===void 0?[]:g;d.enqueue(t);for(var I=\"\",D=function(){var H=d.dequeue();i.enter({current:H,previous:I}),me(H,_,n?\"target\":void 0).forEach(function(Z){i.allowTraversal({previous:I,current:H,next:Z})&&d.enqueue(Z)}),i.leave({current:H,previous:I}),I=H};!d.isEmpty();)D()},Ie=function(o){for(var t=o.nodes,e=t===void 0?[]:t,n=o.edges,i=n===void 0?[]:n,d=[],g={},_={},I={},D=[],H=0,Z=function Ge(Qe){_[Qe.id]=H,I[Qe.id]=H,H+=1,d.push(Qe),g[Qe.id]=!0;for(var Xe=me(Qe.id,i,\"target\").filter(function(Nn){return e.map(function(Tn){return Tn.id}).indexOf(Nn)>-1}),yt=function(Nn){var Tn=Xe[Nn];if(_[Tn]||_[Tn]===0)g[Tn]&&(I[Qe.id]=Math.min(I[Qe.id],_[Tn]));else{var Bn=e.filter(function(Hn){return Hn.id===Tn});Bn.length>0&&Ge(Bn[0]),I[Qe.id]=Math.min(I[Qe.id],I[Tn])}},Ct=0;Ct<Xe.length;Ct++)yt(Ct);if(I[Qe.id]===_[Qe.id]){for(var on=[];d.length>0;){var sn=d.pop();if(g[sn.id]=!1,on.push(sn),sn===Qe)break}on.length>0&&D.push(on)}},te=0,de=e;te<de.length;te++){var Pe=de[te];_[Pe.id]||_[Pe.id]===0||Z(Pe)}return D};function Le(o,t){return t?Ie(o):function(e){for(var n=e.nodes,i=n===void 0?[]:n,d=e.edges,g=d===void 0?[]:d,_=[],I={},D=[],H=function Pe(Ge){D.push(Ge),I[Ge.id]=!0;for(var Qe=me(Ge.id,g),Xe=function(Ct){var on=Qe[Ct];if(!I[on]){var sn=i.filter(function(Nn){return Nn.id===on});sn.length>0&&Pe(sn[0])}},yt=0;yt<Qe.length;++yt)Xe(yt)},Z=0;Z<i.length;Z++){var te=i[Z];if(!I[te.id]){H(te);for(var de=[];D.length>0;)de.push(D.pop());_.push(de)}}return _}(o)}var De=function(o){var t={},e=o.nodes,n=e===void 0?[]:e,i=o.edges,d=i===void 0?[]:i;return n.forEach(function(g){t[g.id]={degree:0,inDegree:0,outDegree:0}}),d.forEach(function(g){t[g.source].degree++,t[g.source].outDegree++,t[g.target].degree++,t[g.target].inDegree++}),t},ce=De,ye=function(o,t){return De(o)[t]?De(o)[t].inDegree:0},Oe=function(o,t){return De(o)[t]?De(o)[t].outDegree:0};function Ce(o,t,e){(function n(i,d,g,_){_.enter({current:d,previous:g});var I=i.edges;me(d,I===void 0?[]:I,\"target\").forEach(function(D){_.allowTraversal({previous:g,current:d,next:D})&&n(i,D,d,_)}),_.leave({current:d,previous:g})})(o,t,\"\",function(n){n===void 0&&(n={});var i,d=n,g=function(){},_=(i={},function(I){var D=I.next;return!i[D]&&(i[D]=!0,!0)});return d.allowTraversal=n.allowTraversal||_,d.enter=n.enter||g,d.leave=n.leave||g,d}(e))}var oe=function(o,t,e){var n,i;e===void 0&&(e=!0);for(var d=[],g=0,_=Le(o,!1);g<_.length;g++){var I=_[g];if(I.length)for(var D=I[0],H=D.id,Z=[D],te=((n={})[H]=D,n),de=((i={})[H]=new Set,i);Z.length>0;)for(var Pe=Z.pop(),Ge=Pe.id,Qe=me(Ge,o.edges),Xe=function(Ct){var on,sn=Qe[Ct],Nn=o.nodes.find(function(po){return po.id===sn});if(sn===Ge)d.push(((on={})[sn]=Pe,on));else if(sn in de){if(!de[Ge].has(Nn)){for(var Tn=!0,Bn=[Nn,Pe],Hn=te[Ge];de[sn].size&&!de[sn].has(Hn)&&(Bn.push(Hn),Hn!==te[Hn.id]);)Hn=te[Hn.id];if(Bn.push(Hn),t&&e?(Tn=!1,Bn.findIndex(function(po){return t.indexOf(po.id)>-1})>-1&&(Tn=!0)):t&&!e&&Bn.findIndex(function(po){return t.indexOf(po.id)>-1})>-1&&(Tn=!1),Tn){for(var Sr={},Cr=1;Cr<Bn.length;Cr+=1)Sr[Bn[Cr-1].id]=Bn[Cr];Bn.length&&(Sr[Bn[Bn.length-1].id]=Bn[0]),d.push(Sr)}de[sn].add(Pe)}}else te[sn]=Pe,Z.push(Nn),de[sn]=new Set([Pe])},yt=0;yt<Qe.length;yt+=1)Xe(yt)}return d},he=function(o,t,e){e===void 0&&(e=!0);for(var n=[],i=new Set,d=[],g=[],_={},I={},D=function Hn(Sr,Cr,po){var wo=!1;if(t&&e===!1&&t.indexOf(Sr.id)>-1)return wo;n.push(Sr),i.add(Sr);for(var Po=po[Sr.id],Xo=0;Xo<Po.length;Xo+=1)if((T=_[Po[Xo]])===Cr){for(var ri={},ki=1;ki<n.length;ki+=1)ri[n[ki-1].id]=n[ki];n.length&&(ri[n[n.length-1].id]=n[0]),g.push(ri),wo=!0}else i.has(T)||Hn(T,Cr,po)&&(wo=!0);if(wo)(function(B){for(var K=[B];K.length>0;){var Se=K.pop();i.has(Se)&&(i.delete(Se),d[Se.id].forEach(function(He){K.push(He)}),d[Se.id].clear())}})(Sr);else for(Xo=0;Xo<Po.length;Xo+=1){var T=_[Po[Xo]];d[T.id].has(Sr)||d[T.id].add(Sr)}return n.pop(),wo},H=o.nodes,Z=H===void 0?[]:H,te=0;te<Z.length;te+=1){var de=Z[te],Pe=de.id;I[Pe]=te,_[te]=de}if(t&&e){var Ge=function(Hn){var Sr=t[Hn];I[Z[Hn].id]=I[Sr],I[Sr]=0,_[0]=Z.find(function(Cr){return Cr.id===Sr}),_[I[Z[Hn].id]]=Z[Hn]};for(te=0;te<t.length;te++)Ge(te)}for(var Qe=function(Hn){for(var Sr,Cr,po=1/0,wo=0;wo<Hn.length;wo+=1)for(var Po=Hn[wo],Xo=0;Xo<Po.length;Xo++){var ri=I[Po[Xo].id];ri<po&&(po=ri,Cr=wo)}var ki=Hn[Cr],T=[];for(wo=0;wo<ki.length;wo+=1){var B=ki[wo];T[B.id]=[];for(var K=0,Se=me(B.id,o.edges,\"target\").filter(function(Ye){return ki.map(function(Et){return Et.id}).indexOf(Ye)>-1});K<Se.length;K++){var He=Se[K];He!==B.id||e===!1&&t.indexOf(B.id)>-1?T[B.id].push(I[He]):g.push(((Sr={})[B.id]=B,Sr))}}return{component:ki,adjList:T,minIdx:po}},Xe=0;Xe<Z.length;){var yt=Z.filter(function(Hn){return I[Hn.id]>=Xe}),Ct=Ie({nodes:yt,edges:o.edges}).filter(function(Hn){return Hn.length>1});if(Ct.length===0)break;var on=Qe(Ct),sn=on.minIdx,Nn=on.adjList,Tn=on.component;if(!(Tn.length>1))break;Tn.forEach(function(Hn){d[Hn.id]=new Set});var Bn=_[sn];if(t&&e&&t.indexOf(Bn.id)===-1)return g;D(Bn,Bn,Nn),Xe=sn+1}return g},ie=function(o,t,e,n){return n===void 0&&(n=!0),t?he(o,e,n):oe(o,e,n)},ae=function(o){var t=null,e=o.nodes,n={},i={},d={},g={};(e===void 0?[]:e).forEach(function(I){i[I.id]=I});for(var _={enter:function(I){var D=I.current,H=I.previous;if(d[D]){t={};for(var Z=D,te=H;te!==D;)t[Z]=te,Z=te,te=n[te];t[Z]=te}else d[D]=D,delete i[D],n[D]=H},leave:function(I){var D=I.current;g[D]=D,delete d[D]},allowTraversal:function(I){var D=I.next;return!t&&!g[D]}};Object.keys(i).length;)Ce(o,Object.keys(i)[0],_);return t},ve=function(o,t,e,n){var i=o.nodes,d=i===void 0?[]:i,g=o.edges,_=g===void 0?[]:g,I=[],D={},H={},Z={};d.forEach(function(yt,Ct){var on=yt.id;I.push(on),H[on]=1/0,on===t&&(H[on]=0)});for(var te=d.length,de=function(yt){var Ct=function(sn,Nn,Tn){for(var Bn,Hn=1/0,Sr=0;Sr<Nn.length;Sr++){var Cr=Nn[Sr].id;!Tn[Cr]&&sn[Cr]<=Hn&&(Hn=sn[Cr],Bn=Nn[Sr])}return Bn}(H,d,D),on=Ct.id;if(D[on]=!0,H[on]===1/0)return\"continue\";(e?function(sn,Nn){return Nn.filter(function(Tn){return Tn.source===sn})}(on,_):Te(on,_)).forEach(function(sn){var Nn=sn.target,Tn=sn.source,Bn=Nn===on?Tn:Nn,Hn=n&&sn[n]?sn[n]:1;H[Bn]>H[Ct.id]+Hn?(H[Bn]=H[Ct.id]+Hn,Z[Bn]=[Ct.id]):H[Bn]===H[Ct.id]+Hn&&Z[Bn].push(Ct.id)})},Pe=0;Pe<te;Pe++)de();Z[t]=[t];var Ge={};for(var Qe in H)H[Qe]!==1/0&&X(t,Qe,Z,Ge);var Xe={};for(var Qe in Ge)Xe[Qe]=Ge[Qe][0];return{length:H,path:Xe,allPath:Ge}};function X(o,t,e,n){if(o===t)return[o];if(n[t])return n[t];for(var i=[],d=0,g=e[t];d<g.length;d++){var _=X(o,g[d],e,n);if(!_)return;for(var I=0,D=_;I<D.length;I++){var H=D[I];Object(s.isArray)(H)?i.push(Object(l.__spreadArray)(Object(l.__spreadArray)([],H,!0),[t],!1)):i.push([H,t])}}return n[t]=i,n[t]}var se,fe=function(o,t,e,n,i){var d=ve(o,t,n,i),g=d.length,_=d.path,I=d.allPath;return{length:g[e],path:_[e],allPath:I[e]}},_e=function(o,t,e,n){var i;if(t===e)return[[t]];var d=o.edges,g=d===void 0?[]:d,_=[t],I=((i={})[t]=!0,i),D=[],H=[],Z=n?me(t,g,\"target\"):me(t,g);for(D.push(Z);_.length>0&&D.length>0;){var te=D[D.length-1];if(te.length){var de=te.shift();if(de&&(_.push(de),I[de]=!0,Z=n?me(de,g,\"target\"):me(de,g),D.push(Z.filter(function(Qe){return!I[Qe]}))),_[_.length-1]===e){var Pe=_.map(function(Qe){return Qe});H.push(Pe),Ge=_.pop(),I[Ge]=!1,D.pop()}}else{var Ge=_.pop();I[Ge]=!1,D.pop()}}return H},be=function(o,t){for(var e=L(o,t),n=[],i=e.length,d=0;d<i;d+=1){n[d]=[];for(var g=0;g<i;g+=1)d===g?n[d][g]=0:e[d][g]!==0&&e[d][g]?n[d][g]=e[d][g]:n[d][g]=1/0}for(var _=0;_<i;_+=1)for(d=0;d<i;d+=1)for(g=0;g<i;g+=1)n[d][g]>n[d][_]+n[_][g]&&(n[d][g]=n[d][_]+n[_][g]);return n},We=function(o,t,e,n){t===void 0&&(t=!1),e===void 0&&(e=\"weight\"),n===void 0&&(n=1e3);var i=o.nodes,d=i===void 0?[]:i,g=o.edges,_=g===void 0?[]:g,I={},D={};d.forEach(function(yt,Ct){var on=ee();yt.clusterId=on,I[on]={id:on,nodes:[yt]},D[yt.id]={node:yt,idx:Ct}});var H=L(o,t),Z=[],te={};H.forEach(function(yt,Ct){var on=0,sn=d[Ct].id;te[sn]={},yt.forEach(function(Nn,Tn){if(Nn){on+=Nn;var Bn=d[Tn].id;te[sn][Bn]=Nn}}),Z.push(on)});for(var de=0,Pe=function(){var yt=!1;if(d.forEach(function(Ct){var on={};Object.keys(te[Ct.id]).forEach(function(po){var wo=te[Ct.id][po],Po=D[po].node.clusterId;on[Po]||(on[Po]=0),on[Po]+=wo});var sn=-1/0,Nn=[];if(Object.keys(on).forEach(function(po){sn<on[po]?(sn=on[po],Nn=[po]):sn===on[po]&&Nn.push(po)}),Nn.length!==1||Nn[0]!==Ct.clusterId){var Tn=Nn.indexOf(Ct.clusterId);if(Tn>=0&&Nn.splice(Tn,1),Nn&&Nn.length){yt=!0;var Bn=I[Ct.clusterId],Hn=Bn.nodes.indexOf(Ct);Bn.nodes.splice(Hn,1);var Sr=Math.floor(Math.random()*Nn.length),Cr=I[Nn[Sr]];Cr.nodes.push(Ct),Ct.clusterId=Cr.id}}}),!yt)return\"break\";de++};de<n&&Pe()!==\"break\";);Object.keys(I).forEach(function(yt){var Ct=I[yt];Ct.nodes&&Ct.nodes.length||delete I[yt]});var Ge=[],Qe={};_.forEach(function(yt){var Ct=yt.source,on=yt.target,sn=yt[e]||1,Nn=D[Ct].node.clusterId,Tn=D[on].node.clusterId,Bn=\"\".concat(Nn,\"---\").concat(Tn);if(Qe[Bn])Qe[Bn].weight+=sn,Qe[Bn].count++;else{var Hn={source:Nn,target:Tn,weight:sn,count:1};Qe[Bn]=Hn,Ge.push(Hn)}});var Xe=[];return Object.keys(I).forEach(function(yt){Xe.push(I[yt])}),{clusters:Xe,clusterEdges:Ge}},we=function(){function o(t){this.arr=t}return o.prototype.getArr=function(){return this.arr||[]},o.prototype.add=function(t){var e,n=t.arr;if(!(!((e=this.arr)===null||e===void 0)&&e.length))return new o(n);if(!(n!=null&&n.length))return new o(this.arr);if(this.arr.length===n.length){var i=[];for(var d in this.arr)i[d]=this.arr[d]+n[d];return new o(i)}},o.prototype.subtract=function(t){var e,n=t.arr;if(!(!((e=this.arr)===null||e===void 0)&&e.length))return new o(n);if(!(n!=null&&n.length))return new o(this.arr);if(this.arr.length===n.length){var i=[];for(var d in this.arr)i[d]=this.arr[d]-n[d];return new o(i)}},o.prototype.avg=function(t){var e=[];if(t!==0)for(var n in this.arr)e[n]=this.arr[n]/t;return new o(e)},o.prototype.negate=function(){var t=[];for(var e in this.arr)t[e]=-this.arr[e];return new o(t)},o.prototype.squareEuclideanDistance=function(t){var e,n=t.arr;if(!(!((e=this.arr)===null||e===void 0)&&e.length)||!(n!=null&&n.length))return 0;if(this.arr.length===n.length){var i=0;for(var d in this.arr)i+=Math.pow(this.arr[d]-t.arr[d],2);return i}},o.prototype.euclideanDistance=function(t){var e,n=t.arr;if(!(!((e=this.arr)===null||e===void 0)&&e.length)||!(n!=null&&n.length))return 0;if(this.arr.length===n.length){var i=0;for(var d in this.arr)i+=Math.pow(this.arr[d]-t.arr[d],2);return Math.sqrt(i)}console.error(\"The two vectors are unequal in length.\")},o.prototype.normalize=function(){var t=[],e=Object(s.clone)(this.arr);e.sort(function(g,_){return g-_});var n=e[e.length-1],i=e[0];for(var d in this.arr)t[d]=(this.arr[d]-i)/(n-i);return new o(t)},o.prototype.norm2=function(){var t;if(!(!((t=this.arr)===null||t===void 0)&&t.length))return 0;var e=0;for(var n in this.arr)e+=Math.pow(this.arr[n],2);return Math.sqrt(e)},o.prototype.dot=function(t){var e,n=t.arr;if(!(!((e=this.arr)===null||e===void 0)&&e.length)||!(n!=null&&n.length))return 0;if(this.arr.length===n.length){var i=0;for(var d in this.arr)i+=this.arr[d]*t.arr[d];return i}console.error(\"The two vectors are unequal in length.\")},o.prototype.equal=function(t){var e,n=t.arr;if(((e=this.arr)===null||e===void 0?void 0:e.length)!==(n==null?void 0:n.length))return!1;for(var i in this.arr)if(this.arr[i]!==n[i])return!1;return!0},o}(),Ze=function(o,t){t===void 0&&(t=void 0);var e=[];return o.forEach(function(n){t===void 0&&e.push(n),n[t]!==void 0&&e.push(n[t])}),e};(function(o){o.EuclideanDistance=\"euclideanDistance\"})(se||(se={}));var Ve=function(o,t,e){var n=[];t!=null&&t.length?n=t:(o.forEach(function(d){n=n.concat(Object.keys(d))}),n=Object(s.uniq)(n));var i={};return n.forEach(function(d){var g=[];o.forEach(function(_){_[d]!==void 0&&_[d]!==\"\"&&g.push(_[d])}),g.length&&!(e!=null&&e.includes(d))&&(i[d]=Object(s.uniq)(g))}),i},et=function(o,t,e){var n=Ve(o,t,e),i=[];if(!Object.keys(n).length)return i;var d=Object.values(n).every(function(g){return g.every(function(_){return typeof _==\"number\"})});return o.forEach(function(g,_){var I=[];Object.keys(n).forEach(function(D){var H=g[D],Z=n[D],te=Z.findIndex(function(Ge){return H===Ge}),de=[];if(d)de.push(H);else for(var Pe=0;Pe<Z.length;Pe++)Pe===te?de.push(1):de.push(0);I=I.concat(de)}),i[_]=I}),i},ht=function(o,t,e,n){e===void 0&&(e=se.EuclideanDistance);var i=0;switch(e){case se.EuclideanDistance:i=new we(o).euclideanDistance(new we(t))}return i},Fe=function(o,t,e,n){for(var i=t.length,d=2*n,g=0,_=0;_<i;_++)for(var I=o[_].clusterId,D=0;D<i;D++)I===o[D].clusterId&&(g+=(t[_][D]||0)-(e[_]||0)*(e[D]||0)/d);return g*=1/d},mt=function(o,t){o===void 0&&(o=[]);for(var e=o.length,n=new we([]),i=0;i<e;i++)n=n.add(new we(t[i]));var d=n.avg(e);d.normalize();var g=0;for(i=0;i<e;i++)g+=(I=new we(t[i])).squareEuclideanDistance(d);var _=[];for(o.forEach(function(){_.push([])}),i=0;i<e;i++){var I=new we(t[i]);o[i].clusterInertial=0;for(var D=0;D<e;D++)if(i!==D){var H=new we(t[D]);_[i][D]=I.squareEuclideanDistance(H),o[i].clusterInertial+=_[i][D]}else _[i][D]=0}var Z=0,te=2*e*g;for(i=0;i<e;i++){var de=o[i].clusterId;for(D=0;D<e;D++){var Pe=o[D].clusterId;i!==D&&de===Pe&&(Z+=o[i].clusterInertial*o[D].clusterInertial/Math.pow(te,2)-_[i][D]/te)}}return Number(Z.toFixed(4))},dt=function(o,t,e,n,i,d,g,_,I){t===void 0&&(t=!1),e===void 0&&(e=\"weight\"),n===void 0&&(n=1e-4),i===void 0&&(i=!1),d===void 0&&(d=void 0),g===void 0&&(g=[]),_===void 0&&(_=[\"id\"]),I===void 0&&(I=1);var D=o.nodes,H=D===void 0?[]:D,Z=o.edges,te=Z===void 0?[]:Z,de=[];if(i){H.forEach(function(T,B){T.properties=T.properties||{},T.originIndex=B});var Pe=[];H.every(function(T){return T.hasOwnProperty(\"nodeType\")})&&(Pe=Array.from(new Set(H.map(function(T){return T.nodeType}))),H.forEach(function(T){T.properties.nodeType=Pe.findIndex(function(B){return B===T.nodeType})}));var Ge=Ze(H,d);de=et(Ge,g,_)}var Qe=1,Xe={},yt={};H.forEach(function(T,B){var K=String(Qe++);T.clusterId=K,Xe[K]={id:K,nodes:[T]},yt[T.id]={node:T,idx:B}});var Ct=L(o,t),on=[],sn={},Nn=0;Ct.forEach(function(T,B){var K=0,Se=H[B].id;sn[Se]={},T.forEach(function(He,Ye){if(He){K+=He;var Et=H[Ye].id;sn[Se][Et]=He,Nn+=He}}),on.push(K)}),Nn/=2;for(var Tn=1/0,Bn=1/0,Hn=0,Sr=[],Cr={};;){Tn=i&&H.every(function(T){return T.hasOwnProperty(\"properties\")})?Fe(H,Ct,on,Nn)+mt(H,de)*I:Fe(H,Ct,on,Nn),Hn===0&&(Bn=Tn,Sr=H,Cr=Xe);var po=Tn>0&&Tn>Bn&&Tn-Bn<n;if(Tn>Bn&&(Sr=H.map(function(T){return{node:T,clusterId:T.clusterId}}),Cr=Object(s.clone)(Xe),Bn=Tn),po||Hn>100)break;Hn++,Object.keys(Xe).forEach(function(T){var B=0;te.forEach(function(K){var Se=K.source,He=K.target,Ye=yt[Se].node.clusterId,Et=yt[He].node.clusterId;(Ye===T&&Et!==T||Et===T&&Ye!==T)&&(B+=K[e]||1)}),Xe[T].sumTot=B}),H.forEach(function(T,B){var K,Se=Xe[T.clusterId],He=0,Ye=on[B]/(2*Nn),Et=0,bn=Se.nodes;bn.forEach(function(yi){var Fo=yt[yi.id].idx;Et+=Ct[B][Fo]||0});var Qn=Et-Se.sumTot*Ye,yr=bn.filter(function(yi){return yi.id!==T.id}),vr=[];yr.forEach(function(yi,Fo){vr[Fo]=de[yi.originIndex]});var no=mt(yr,de)*I,Wo=sn[T.id];if(Object.keys(Wo).forEach(function(yi){var Fo=yt[yi].node.clusterId;if(Fo!==T.clusterId){var Bo=Xe[Fo],Uo=Bo.nodes;if(Uo&&Uo.length){var Gi=0;Uo.forEach(function(fs){var ns=yt[fs.id].idx;Gi+=Ct[B][ns]||0});var Ni=Gi-Bo.sumTot*Ye,Wi=Uo.concat([T]),ba=[];Wi.forEach(function(fs,ns){ba[ns]=de[fs.originIndex]});var Ss=mt(Wi,de)*I,Ra=Ni-Qn;i&&(Ra=Ni+Ss-(Qn+no)),Ra>He&&(He=Ra,K=Bo)}}}),He>0){K.nodes.push(T);var $o=T.clusterId;T.clusterId=K.id;var Lr=Se.nodes.indexOf(T);Se.nodes.splice(Lr,1);var co=0,Do=0;te.forEach(function(yi){var Fo=yi.source,Bo=yi.target,Uo=yt[Fo].node.clusterId,Gi=yt[Bo].node.clusterId;(Uo===K.id&&Gi!==K.id||Gi===K.id&&Uo!==K.id)&&(co+=yi[e]||1),(Uo===$o&&Gi!==$o||Gi===$o&&Uo!==$o)&&(Do+=yi[e]||1)}),K.sumTot=co,Se.sumTot=Do}})}var wo={},Po=0;Object.keys(Cr).forEach(function(T){var B=Cr[T];if(B.nodes&&B.nodes.length){var K=String(Po+1);K!==T&&(B.id=K,B.nodes=B.nodes.map(function(Se){return{id:Se.id,clusterId:K}}),Cr[K]=B,wo[T]=K,delete Cr[T],Po++)}else delete Cr[T]}),Sr.forEach(function(T){var B=T.node,K=T.clusterId;B&&(B.clusterId=K,B.clusterId&&wo[B.clusterId]&&(B.clusterId=wo[B.clusterId]))});var Xo=[],ri={};te.forEach(function(T){var B=T.source,K=T.target,Se=T[e]||1,He=yt[B].node.clusterId,Ye=yt[K].node.clusterId;if(He&&Ye){var Et=\"\".concat(He,\"---\").concat(Ye);if(ri[Et])ri[Et].weight+=Se,ri[Et].count++;else{var bn={source:He,target:Ye,weight:Se,count:1};ri[Et]=bn,Xo.push(bn)}}});var ki=[];return Object.keys(Cr).forEach(function(T){ki.push(Cr[T])}),{clusters:ki,clusterEdges:Xo}},Lt=function(o,t,e,n,i,d,g,_){return t===void 0&&(t=!1),e===void 0&&(e=\"weight\"),n===void 0&&(n=1e-4),i===void 0&&(i=void 0),d===void 0&&(d=[]),g===void 0&&(g=[\"id\"]),_===void 0&&(_=1),dt(o,t,e,n,!0,i,d,g,_)},lt=function(o,t){var e;t===void 0&&(t=1);for(var n=Object(s.clone)(o),i=n.nodes,d=i===void 0?[]:i,g=n.edges,_=g===void 0?[]:g,I=function(){var D=ce({nodes:d,edges:_}),H=Object.keys(D);H.sort(function(de,Pe){var Ge,Qe;return((Ge=D[de])===null||Ge===void 0?void 0:Ge.degree)-((Qe=D[Pe])===null||Qe===void 0?void 0:Qe.degree)});var Z=H[0];if(!d.length||((e=D[Z])===null||e===void 0?void 0:e.degree)>=t)return\"break\";var te=d.findIndex(function(de){return de.id===Z});d.splice(te,1),_=_.filter(function(de){return!(de.source===Z||de.target===Z)})};I()!==\"break\";);return{nodes:d,edges:_}},rn=function(o,t,e){var n=[];switch(o){case se.EuclideanDistance:n=t[e];break;default:n=[]}return n},qt=function(o,t,e,n,i,d){t===void 0&&(t=3),e===void 0&&(e=void 0),n===void 0&&(n=[]),i===void 0&&(i=[\"id\"]),d===void 0&&(d=se.EuclideanDistance);var g=o.nodes,_=g===void 0?[]:g,I=o.edges,D=I===void 0?[]:I,H={clusters:[{id:\"0\",nodes:_}],clusterEdges:[]};if(d===se.EuclideanDistance&&!_.every(function(K){return K.hasOwnProperty(e)}))return H;var Z=[],te=[];if(d===se.EuclideanDistance&&(Z=Ze(_,e),te=et(Z,n,i)),!te.length)return H;for(var de=Object(s.uniq)(te.map(function(K){return K.join(\"\")})),Pe=Math.min(t,_.length,de.length),Ge=0;Ge<_.length;Ge++)_[Ge].originIndex=Ge;var Qe=[],Xe=[],yt=[];for(Ge=0;Ge<Pe;Ge++)if(Ge===0){var Ct=Math.floor(Math.random()*_.length);switch(d){case se.EuclideanDistance:Qe[Ge]=te[Ct];break;default:Qe[Ge]=[]}Xe.push(Ct),yt[Ge]=[_[Ct]],_[Ct].clusterId=String(Ge)}else{for(var on=-1/0,sn=0,Nn=function(K){if(!Xe.includes(K)){for(var Se=0,He=0;He<Qe.length;He++){var Ye=0;switch(d){case se.EuclideanDistance:Ye=ht(te[_[K].originIndex],Qe[He],d)}Se+=Ye}var Et=Se/Qe.length;Et>on&&!Qe.find(function(bn){return Object(s.isEqual)(bn,rn(d,te,_[K].originIndex))})&&(on=Et,sn=K)}},Tn=0;Tn<_.length;Tn++)Nn(Tn);Qe[Ge]=rn(d,te,sn),Xe.push(sn),yt[Ge]=[_[sn]],_[sn].clusterId=String(Ge)}for(var Bn=0;;){for(Ge=0;Ge<_.length;Ge++){var Hn=0,Sr=1/0;if(Bn!==0||!Xe.includes(Ge)){for(var Cr=0;Cr<Qe.length;Cr++){var po=0;switch(d){case se.EuclideanDistance:po=ht(te[Ge],Qe[Cr],d)}po<Sr&&(Sr=po,Hn=Cr)}if(_[Ge].clusterId!==void 0)for(var wo=yt[Number(_[Ge].clusterId)].length-1;wo>=0;wo--)yt[Number(_[Ge].clusterId)][wo].id===_[Ge].id&&yt[Number(_[Ge].clusterId)].splice(wo,1);_[Ge].clusterId=String(Hn),yt[Hn].push(_[Ge])}}var Po=!1;for(Ge=0;Ge<yt.length;Ge++){var Xo=yt[Ge],ri=new we([]);for(Cr=0;Cr<Xo.length;Cr++)ri=ri.add(new we(te[Xo[Cr].originIndex]));var ki=ri.avg(Xo.length);ki.equal(new we(Qe[Ge]))||(Po=!0,Qe[Ge]=ki.getArr())}if(Bn++,_.every(function(K){return K.clusterId!==void 0})&&Po||Bn>=1e3)break}var T=[],B={};return D.forEach(function(K){var Se,He,Ye=K.source,Et=K.target,bn=(Se=_.find(function(no){return no.id===Ye}))===null||Se===void 0?void 0:Se.clusterId,Qn=(He=_.find(function(no){return no.id===Et}))===null||He===void 0?void 0:He.clusterId,yr=\"\".concat(bn,\"---\").concat(Qn);if(B[yr])B[yr].count++;else{var vr={source:bn,target:Qn,count:1};B[yr]=vr,T.push(vr)}}),{clusters:yt,clusterEdges:T}},hn=function(o,t){var e=new we(t),n=e.norm2(),i=new we(o),d=i.norm2(),g=e.dot(i),_=n*d,I=_?g/_:0;return I},Kt=function(o,t,e,n,i){o===void 0&&(o=[]),e===void 0&&(e=void 0),n===void 0&&(n=[]),i===void 0&&(i=[]);var d=Object(s.clone)(o.filter(function(Z){return Z.id!==t.id})),g=o.findIndex(function(Z){return Z.id===t.id}),_=Ze(o,e),I=et(_,n,i),D=I[g],H=[];return d.forEach(function(Z,te){if(Z.id!==t.id){var de=I[te],Pe=hn(de,D);H.push(Pe),Z.cosineSimilarity=Pe}}),d.sort(function(Z,te){return te.cosineSimilarity-Z.cosineSimilarity}),{allCosineSimilarity:H,similarNodes:d}},an=function(){function o(t){this.count=t.length,this.parent={};for(var e=0,n=t;e<n.length;e++){var i=n[e];this.parent[i]=i}}return o.prototype.find=function(t){for(;this.parent[t]!==t;)t=this.parent[t];return t},o.prototype.union=function(t,e){var n=this.find(t),i=this.find(e);n!==i&&(n<i?(this.parent[e]!==e&&this.union(this.parent[e],t),this.parent[e]=this.parent[t]):(this.parent[t]!==t&&this.union(this.parent[t],e),this.parent[t]=this.parent[e]))},o.prototype.connected=function(t,e){return this.find(t)===this.find(e)},o}(),In=function(o,t){return o-t},Ft=function(){function o(t){t===void 0&&(t=In),this.compareFn=t,this.list=[]}return o.prototype.getLeft=function(t){return 2*t+1},o.prototype.getRight=function(t){return 2*t+2},o.prototype.getParent=function(t){return t===0?null:Math.floor((t-1)/2)},o.prototype.isEmpty=function(){return this.list.length<=0},o.prototype.top=function(){return this.isEmpty()?void 0:this.list[0]},o.prototype.delMin=function(){var t=this.top(),e=this.list.pop();return this.list.length>0&&(this.list[0]=e,this.moveDown(0)),t},o.prototype.insert=function(t){if(t!==null){this.list.push(t);var e=this.list.length-1;return this.moveUp(e),!0}return!1},o.prototype.moveUp=function(t){for(var e=this.getParent(t);t&&t>0&&this.compareFn(this.list[e],this.list[t])>0;){var n=this.list[e];this.list[e]=this.list[t],this.list[t]=n,t=e,e=this.getParent(t)}},o.prototype.moveDown=function(t){var e,n=t,i=this.getLeft(t),d=this.getRight(t),g=this.list.length;i!==null&&i<g&&this.compareFn(this.list[n],this.list[i])>0?n=i:d!==null&&d<g&&this.compareFn(this.list[n],this.list[d])>0&&(n=d),t!==n&&(e=[this.list[n],this.list[t]],this.list[t]=e[0],this.list[n]=e[1],this.moveDown(n))},o}(),kt=function(o,t){var e=[],n=o.nodes,i=n===void 0?[]:n,d=o.edges,g=d===void 0?[]:d;if(i.length===0)return e;var _=i[0],I=new Set;I.add(_);var D=new Ft(function(de,Pe){return t?de.weight-Pe.weight:0});for(Te(_.id,g).forEach(function(de){D.insert(de)});!D.isEmpty();){var H=D.delMin(),Z=H.source,te=H.target;I.has(Z)&&I.has(te)||(e.push(H),I.has(Z)||(I.add(Z),Te(Z,g).forEach(function(de){D.insert(de)})),I.has(te)||(I.add(te),Te(te,g).forEach(function(de){D.insert(de)})))}return e},At=function(o,t){var e=[],n=o.nodes,i=n===void 0?[]:n,d=o.edges,g=d===void 0?[]:d;if(i.length===0)return e;var _=g.map(function(te){return te});t&&_.sort(function(te,de){return te.weight-de.weight});for(var I=new an(i.map(function(te){return te.id}));_.length>0;){var D=_.shift(),H=D.source,Z=D.target;I.connected(H,Z)||(e.push(D),I.union(H,Z))}return e},Fn=function(o,t,e){return e?{prim:kt,kruskal:At}[e](o,t):At(o,t)},pn=function(o,t,e){typeof t!=\"number\"&&(t=1e-6),typeof e!=\"number\"&&(e=.85);for(var n,i=1,d=0,g=1e3,_=o.nodes,I=_===void 0?[]:_,D=o.edges,H=D===void 0?[]:D,Z=I.length,te={},de={},Pe=0;Pe<Z;++Pe)te[Qe=(sn=I[Pe]).id]=1/Z,de[Qe]=1/Z;for(var Ge=ce(o);g>0&&i>t;){for(d=0,Pe=0;Pe<Z;++Pe){var Qe=(sn=I[Pe]).id;if(n=0,Ge[sn.id].inDegree===0)te[Qe]=0;else{for(var Xe=me(Qe,H,\"source\"),yt=0;yt<Xe.length;++yt){var Ct=Xe[yt],on=Ge[Ct].outDegree;on>0&&(n+=de[Ct]/on)}te[Qe]=e*n,d+=te[Qe]}}for(d=(1-d)/Z,i=0,Pe=0;Pe<Z;++Pe){var sn;n=te[Qe=(sn=I[Pe]).id]+d,i+=Math.abs(n-de[Qe]),de[Qe]=n}g-=1}return de},en=function(o,t,e,n){o===void 0&&(o=-1),t===void 0&&(t=-1),e===void 0&&(e=-1),n===void 0&&(n=\"-1\"),this.id=o,this.from=t,this.to=e,this.label=n},Wn=function(){function o(t,e){t===void 0&&(t=-1),e===void 0&&(e=\"-1\"),this.id=t,this.label=e,this.edges=[],this.edgeMap={}}return o.prototype.addEdge=function(t){this.edges.push(t),this.edgeMap[t.id]=t},o}(),Mn=function(){function o(t,e,n){t===void 0&&(t=-1),e===void 0&&(e=!0),n===void 0&&(n=!1),this.id=t,this.edgeIdAutoIncrease=e,this.edges=[],this.nodes=[],this.nodeMap={},this.edgeMap={},this.nodeLabelMap={},this.edgeLabelMap={},this.counter=0,this.directed=n}return o.prototype.getNodeNum=function(){return this.nodes.length},o.prototype.addNode=function(t,e){if(!this.nodeMap[t]){var n=new Wn(t,e);this.nodes.push(n),this.nodeMap[t]=n,this.nodeLabelMap[e]||(this.nodeLabelMap[e]=[]),this.nodeLabelMap[e].push(t)}},o.prototype.addEdge=function(t,e,n,i){if((this.edgeIdAutoIncrease||t===void 0)&&(t=this.counter++),!(this.nodeMap[e]&&this.nodeMap[n]&&this.nodeMap[n].edgeMap[t])){var d=new en(t,e,n,i);if(this.edges.push(d),this.edgeMap[t]=d,this.nodeMap[e].addEdge(d),this.edgeLabelMap[i]||(this.edgeLabelMap[i]=[]),this.edgeLabelMap[i].push(d),!this.directed){var g=new en(t,n,e,i);this.nodeMap[n].addEdge(g),this.edgeLabelMap[i].push(g)}}},o}(),Kn=function(){function o(t,e,n,i,d){this.fromNode=t,this.toNode=e,this.nodeEdgeNodeLabel={nodeLabel1:n||\"-1\",edgeLabel:i||\"-1\",nodeLabel2:d||\"-1\"}}return o.prototype.equalTo=function(t){return this.fromNode===t.formNode&&this.toNode===t.toNode&&this.nodeEdgeNodeLabel===t.nodeEdgeNodeLabel},o.prototype.notEqualTo=function(t){return!this.equalTo(t)},o}(),hr=function(){function o(){this.rmpath=[],this.dfsEdgeList=[]}return o.prototype.equalTo=function(t){var e=this.dfsEdgeList.length;if(e!==t.length)return!1;for(var n=0;n<e;n++)if(this.dfsEdgeList[n]!==t[n])return!1;return!0},o.prototype.notEqualTo=function(t){return!this.equalTo(t)},o.prototype.pushBack=function(t,e,n,i,d){return this.dfsEdgeList.push(new Kn(t,e,n,i,d)),this.dfsEdgeList},o.prototype.toGraph=function(t,e){t===void 0&&(t=-1),e===void 0&&(e=!1);var n=new Mn(t,!0,e);return this.dfsEdgeList.forEach(function(i){var d=i.fromNode,g=i.toNode,_=i.nodeEdgeNodeLabel,I=_.nodeLabel1,D=_.edgeLabel,H=_.nodeLabel2;I!==\"-1\"&&n.addNode(d,I),H!==\"-1\"&&n.addNode(g,H),I!==\"-1\"&&H!==I&&n.addEdge(void 0,d,g,D)}),n},o.prototype.buildRmpath=function(){this.rmpath=[];for(var t=void 0,e=this.dfsEdgeList.length-1;e>=0;e--){var n=this.dfsEdgeList[e],i=n.fromNode,d=n.toNode;i<d&&(t===void 0||d===t)&&(this.rmpath.push(e),t=i)}return this.rmpath},o.prototype.getNodeNum=function(){var t={};return this.dfsEdgeList.forEach(function(e){t[e.fromNode]||(t[e.fromNode]=!0),t[e.toNode]||(t[e.toNode]=!0)}),Object.keys(t).length},o}(),pr=function(){function o(t){if(this.his={},this.nodesUsed={},this.edgesUsed={},this.edges=[],t){for(;t;){var e=t.edge;this.edges.push(e),this.nodesUsed[e.from]=1,this.nodesUsed[e.to]=1,this.edgesUsed[e.id]=1,t=t.preNode}this.edges=this.edges.reverse()}}return o.prototype.hasNode=function(t){return this.nodesUsed[t.id]===1},o.prototype.hasEdge=function(t){return this.edgesUsed[t.id]===1},o}(),zr=function(){function o(t){var e=t.graphs,n=t.minSupport,i=n===void 0?2:n,d=t.minNodeNum,g=d===void 0?1:d,_=t.maxNodeNum,I=_===void 0?4:_,D=t.top,H=D===void 0?10:D,Z=t.directed,te=Z!==void 0&&Z,de=t.verbose,Pe=de!==void 0&&de;this.graphs=e,this.dfsCode=new hr,this.support=0,this.frequentSize1Subgraphs=[],this.frequentSubgraphs=[],this.minSupport=i,this.top=H,this.directed=te,this.counter=0,this.maxNodeNum=I,this.minNodeNum=g,this.verbose=Pe,this.maxNodeNum<this.minNodeNum&&(this.maxNodeNum=this.minNodeNum),this.reportDF=[]}return o.prototype.findForwardRootEdges=function(t,e){var n=this,i=[],d=t.nodeMap;return e.edges.forEach(function(g){(n.directed||e.label<=d[g.to].label)&&i.push(g)}),i},o.prototype.findBackwardEdge=function(t,e,n,i){if(!this.directed&&e===n)return null;for(var d=t.nodeMap,g=d[n.to].edges,_=g.length,I=0;I<_;I++){var D=g[I];if(!i.hasEdge(D)&&D.to===e.from){if(this.directed){if(d[e.from].label<d[n.to].label||d[e.from].label===d[n.to].label&&e.label<=D.label)return D}else if(e.label<D.label||e.label===D.label&&d[e.to].label<=d[n.to].label)return D}}return null},o.prototype.findForwardPureEdges=function(t,e,n,i){for(var d=[],g=e.to,_=t.nodeMap[g].edges,I=_.length,D=0;D<I;D++){var H=_[D],Z=t.nodeMap[H.to];n<=Z.label&&!i.hasNode(Z)&&d.push(H)}return d},o.prototype.findForwardRmpathEdges=function(t,e,n,i){for(var d=[],g=t.nodeMap,_=g[e.to].label,I=g[e.from].edges,D=I.length,H=0;H<D;H++){var Z=I[H],te=g[Z.to].label;e.to===Z.to||n>te||i.hasNode(g[Z.to])||(e.label<Z.label||e.label===Z.label&&_<=te)&&d.push(Z)}return d},o.prototype.getSupport=function(t){var e={};return t.forEach(function(n){e[n.graphId]||(e[n.graphId]=!0)}),Object.keys(e).length},o.prototype.findMinLabel=function(t){var e=void 0;return Object.keys(t).forEach(function(n){var i=t[n],d=i.nodeLabel1,g=i.edgeLabel,_=i.nodeLabel2;e?(d<e.nodeLabel1||d===e.nodeLabel1&&g<e.edgeLabel||d===e.nodeLabel1&&g===e.edgeLabel&&_<e.nodeLabel2)&&(e={nodeLabel1:d,edgeLabel:g,nodeLabel2:_}):e={nodeLabel1:d,edgeLabel:g,nodeLabel2:_}}),e},o.prototype.isMin=function(){var t=this,e=this.dfsCode;if(this.verbose&&console.log(\"isMin checking\",e),e.dfsEdgeList.length===1)return!0;var n=this.directed,i=e.toGraph(-1,n),d=i.nodeMap,g=new hr,_={};i.nodes.forEach(function(H){t.findForwardRootEdges(i,H).forEach(function(Z){var te=d[Z.to],de=\"\".concat(H.label,\"-\").concat(Z.label,\"-\").concat(te.label);_[de]||(_[de]={projected:[],nodeLabel1:H.label,edgeLabel:Z.label,nodeLabel2:te.label});var Pe={graphId:i.id,edge:Z,preNode:null};_[de].projected.push(Pe)})});var I=this.findMinLabel(_);if(I){g.dfsEdgeList.push(new Kn(0,1,I.nodeLabel1,I.edgeLabel,I.nodeLabel2));var D=\"\".concat(I.nodeLabel1,\"-\").concat(I.edgeLabel,\"-\").concat(I.nodeLabel2);return function H(Z){for(var te=g.buildRmpath(),de=g.dfsEdgeList[0].nodeEdgeNodeLabel.nodeLabel1,Pe=g.dfsEdgeList[te[0]].toNode,Ge={},Qe=!1,Xe=0,yt=n?-1:0,Ct=function(wo){if(Qe)return\"break\";Z.forEach(function(Po){var Xo=new pr(Po),ri=t.findBackwardEdge(i,Xo.edges[te[wo]],Xo.edges[te[0]],Xo);ri&&(Ge[ri.label]||(Ge[ri.label]={projected:[],edgeLabel:ri.label}),Ge[ri.label].projected.push({graphId:i.id,edge:Ge,preNode:Po}),Xe=g.dfsEdgeList[te[wo]].fromNode,Qe=!0)})},on=te.length-1;on>yt&&Ct(on)!==\"break\";on--);if(Qe){var sn=t.findMinLabel(Ge);g.dfsEdgeList.push(new Kn(Pe,Xe,\"-1\",sn.edgeLabel,\"-1\"));var Nn=g.dfsEdgeList.length-1;return t.dfsCode.dfsEdgeList[Nn]===g.dfsEdgeList[Nn]&&H(Ge[sn.edgeLabel].projected)}var Tn={};Qe=!1;var Bn=0;Z.forEach(function(wo){var Po=new pr(wo),Xo=t.findForwardPureEdges(i,Po.edges[te[0]],de,Po);Xo.length>0&&(Qe=!0,Bn=Pe,Xo.forEach(function(ri){var ki=\"\".concat(ri.label,\"-\").concat(d[ri.to].label);Tn[ki]||(Tn[ki]={projected:[],edgeLabel:ri.label,nodeLabel2:d[ri.to].label}),Tn[ki].projected.push({graphId:i.id,edge:ri,preNode:wo})}))});var Hn=te.length,Sr=function(wo){if(Qe)return\"break\";var Po=te[wo];Z.forEach(function(Xo){var ri=new pr(Xo),ki=t.findForwardRmpathEdges(i,ri.edges[Po],de,ri);ki.length>0&&(Qe=!0,Bn=g.dfsEdgeList[Po].fromNode,ki.forEach(function(T){var B=\"\".concat(T.label,\"-\").concat(d[T.to].label);Tn[B]||(Tn[B]={projected:[],edgeLabel:T.label,nodeLabel2:d[T.to].label}),Tn[B].projected.push({graphId:i.id,edge:T,preNode:Xo})}))})};for(on=0;on<Hn&&Sr(on)!==\"break\";on++);if(!Qe)return!0;var Cr=t.findMinLabel(Tn);g.dfsEdgeList.push(new Kn(Bn,Pe+1,\"-1\",Cr.edgeLabel,Cr.nodeLabel2));var po=g.dfsEdgeList.length-1;return e.dfsEdgeList[po]===g.dfsEdgeList[po]&&H(Tn[\"\".concat(Cr.edgeLabel,\"-\").concat(Cr.nodeLabel2)].projected)}(_[D].projected)}},o.prototype.report=function(){if(!(this.dfsCode.getNodeNum()<this.minNodeNum)){this.counter++;var t=this.dfsCode.toGraph(this.counter,this.directed);this.frequentSubgraphs.push(Object(s.clone)(t))}},o.prototype.subGraphMining=function(t){var e=this;if(!(this.getSupport(t)<this.minSupport)&&this.isMin()){this.report();var n=this.dfsCode.getNodeNum(),i=this.dfsCode.buildRmpath(),d=this.dfsCode.dfsEdgeList[i[0]].toNode,g=this.dfsCode.dfsEdgeList[0].nodeEdgeNodeLabel.nodeLabel1,_={},I={};t.forEach(function(D){for(var H=e.graphs[D.graphId],Z=H.nodeMap,te=new pr(D),de=i.length-1;de>=0;de--){var Pe=e.findBackwardEdge(H,te.edges[i[de]],te.edges[i[0]],te);if(Pe){var Ge=\"\".concat(e.dfsCode.dfsEdgeList[i[de]].fromNode,\"-\").concat(Pe.label);I[Ge]||(I[Ge]={projected:[],toNodeId:e.dfsCode.dfsEdgeList[i[de]].fromNode,edgeLabel:Pe.label}),I[Ge].projected.push({graphId:D.graphId,edge:Pe,preNode:D})}}if(!(n>=e.maxNodeNum)){e.findForwardPureEdges(H,te.edges[i[0]],g,te).forEach(function(Xe){var yt=\"\".concat(d,\"-\").concat(Xe.label,\"-\").concat(Z[Xe.to].label);_[yt]||(_[yt]={projected:[],fromNodeId:d,edgeLabel:Xe.label,nodeLabel2:Z[Xe.to].label}),_[yt].projected.push({graphId:D.graphId,edge:Xe,preNode:D})});var Qe=function(Xe){e.findForwardRmpathEdges(H,te.edges[i[Xe]],g,te).forEach(function(yt){var Ct=\"\".concat(e.dfsCode.dfsEdgeList[i[Xe]].fromNode,\"-\").concat(yt.label,\"-\").concat(Z[yt.to].label);_[Ct]||(_[Ct]={projected:[],fromNodeId:e.dfsCode.dfsEdgeList[i[Xe]].fromNode,edgeLabel:yt.label,nodeLabel2:Z[yt.to].label}),_[Ct].projected.push({graphId:D.graphId,edge:yt,preNode:D})})};for(de=0;de<i.length;de++)Qe(de)}}),Object.keys(I).forEach(function(D){var H=I[D],Z=H.toNodeId,te=H.edgeLabel;e.dfsCode.dfsEdgeList.push(new Kn(d,Z,\"-1\",te,\"-1\")),e.subGraphMining(I[D].projected),e.dfsCode.dfsEdgeList.pop()}),Object.keys(_).forEach(function(D){var H=_[D],Z=H.fromNodeId,te=H.edgeLabel,de=H.nodeLabel2;e.dfsCode.dfsEdgeList.push(new Kn(Z,d+1,\"-1\",te,de)),e.subGraphMining(_[D].projected),e.dfsCode.dfsEdgeList.pop()})}},o.prototype.generate1EdgeFrequentSubGraphs=function(){var t=this.graphs,e=this.directed,n=this.minSupport,i=this.frequentSize1Subgraphs,d={},g={},_={},I={};return Object.keys(t).forEach(function(D){var H=t[D],Z=H.nodeMap;H.nodes.forEach(function(te,de){var Pe=te.label,Ge=\"\".concat(D,\"-\").concat(Pe);if(!_[Ge]){var Qe=d[Pe]||0;Qe++,d[Pe]=Qe}_[Ge]={graphKey:D,label:Pe},te.edges.forEach(function(Xe){var yt=Pe,Ct=Z[Xe.to].label;if(!e&&yt>Ct){var on=Ct;Ct=yt,yt=on}var sn=Xe.label,Nn=\"\".concat(D,\"-\").concat(yt,\"-\").concat(sn,\"-\").concat(Ct),Tn=\"\".concat(yt,\"-\").concat(sn,\"-\").concat(Ct);if(!g[Tn]){var Bn=g[Tn]||0;Bn++,g[Tn]=Bn}I[Nn]={graphId:D,nodeLabel1:yt,edgeLabel:sn,nodeLabel2:Ct}})})}),Object.keys(d).forEach(function(D){if(!(d[D]<n)){var H={nodes:[],edges:[]};H.nodes.push({id:\"0\",label:D}),i.push(H)}}),i},o.prototype.run=function(){var t=this;if(this.frequentSize1Subgraphs=this.generate1EdgeFrequentSubGraphs(),!(this.maxNodeNum<2)){var e=this.graphs,n=(this.directed,{});Object.keys(e).forEach(function(i){var d=e[i],g=d.nodeMap;d.nodes.forEach(function(_){t.findForwardRootEdges(d,_).forEach(function(I){var D=g[I.to],H=\"\".concat(_.label,\"-\").concat(I.label,\"-\").concat(D.label);n[H]||(n[H]={projected:[],nodeLabel1:_.label,edgeLabel:I.label,nodeLabel2:D.label});var Z={graphId:i,edge:I,preNode:null};n[H].projected.push(Z)})})}),Object.keys(n).forEach(function(i){var d=n[i],g=d.projected,_=d.nodeLabel1,I=d.edgeLabel,D=d.nodeLabel2;t.dfsCode.dfsEdgeList.push(new Kn(0,1,_,I,D)),t.subGraphMining(g),t.dfsCode.dfsEdgeList.pop()})}},o}(),Wr=function(o){var t=o.graphs,e=o.directed,n=e!==void 0&&e,i=o.nodeLabelProp,d=i===void 0?\"cluster\":i,g=o.edgeLabelProp,_=g===void 0?\"cluster\":g,I=function(Ge,Qe,Xe,yt){var Ct={};return Object.keys(Ge).forEach(function(on,sn){var Nn=Ge[on],Tn=new Mn(sn,!0,Qe),Bn={};Nn.nodes.forEach(function(Hn,Sr){Tn.addNode(Sr,Hn[Xe]),Bn[Hn.id]=Sr}),Nn.edges.forEach(function(Hn,Sr){var Cr=Bn[Hn.source],po=Bn[Hn.target];Tn.addEdge(-1,Cr,po,Hn[yt])}),Tn&&Tn.getNodeNum()&&(Ct[Tn.id]=Tn)}),Ct}(t,n,d,_),D=o.minSupport,H=o.maxNodeNum,Z=o.minNodeNum,te=o.verbose,de=o.top,Pe=new zr({graphs:I,minSupport:D,maxNodeNum:H,minNodeNum:Z,top:de,verbose:te,directed:n});return Pe.run(),function(Ge,Qe,Xe){var yt=[];return Ge.forEach(function(Ct){var on={nodes:[],edges:[]};Ct.nodes.forEach(function(sn){var Nn;on.nodes.push(((Nn={id:\"\".concat(sn.id)})[Qe]=sn.label,Nn))}),Ct.edges.forEach(function(sn){var Nn;on.edges.push(((Nn={source:\"\".concat(sn.from),target:\"\".concat(sn.to)})[Xe]=sn.label,Nn))}),yt.push(on)}),yt}(Pe.frequentSubgraphs,d,_)},Nr=function(o,t,e,n){e===void 0&&(e=\"cluster\"),n===void 0&&(n=2);var i=[],d=o.nodes;return t.forEach(function(g,_){i.push(Kr(d,g,_,e,n))}),i},Kr=function(o,t,e,n,i){var d=[e],g=[],_={};return t.forEach(function(I,D){if(I<=i&&e!==D){d.push(D),g.push(o[D]);var H=o[D][n];_[H]?(_[H].count++,_[H].dists.push(I)):_[H]={count:1,dists:[I]}}}),Object.keys(_).forEach(function(I){_[I].dists=_[I].dists.sort(function(D,H){return D-H})}),{nodeIdx:e,nodeId:o[e].id,nodeIdxs:d,neighbors:g,neighborNum:d.length-1,nodeLabelCountMap:_}},ko=function(o,t,e,n){var i=e.nodes;return n||(n={}),Object.keys(o).forEach(function(d){var g,_;if(!n||!n[d]){n[d]={nodes:[],edges:[]};var I=o[d],D=(g=t[I.start])===null||g===void 0?void 0:g.nodeIdxs,H=(_=t[I.end])===null||_===void 0?void 0:_.nodeIdxs;if(D&&H){var Z=new Set(H),te=D.filter(function(Xe){return Z.has(Xe)});if(te&&te.length){for(var de={},Pe=te.length,Ge=0;Ge<Pe;Ge++){var Qe=i[te[Ge]];n[d].nodes.push(Qe),de[Qe.id]=!0}e.edges.forEach(function(Xe){de[Xe.source]&&de[Xe.target]&&n[d].edges.push(Xe)})}}}}),n},Ur=function(o,t,e,n){var i,d,g={};o.nodes.forEach(function(I){g[I.id]=I});var _=0;return!(!((i=t==null?void 0:t.edges)===null||i===void 0)&&i.length)||((d=t==null?void 0:t.nodes)===null||d===void 0?void 0:d.length)<2?0:(o.edges.forEach(function(I){var D=g[I.source][e],H=g[I.target][e],Z=t==null?void 0:t.nodes[0][e],te=t==null?void 0:t.nodes[1][e],de=t==null?void 0:t.edges[0][n];I[n]===de&&(D===Z&&H===te||D===te&&H===Z)&&_++}),_)},gn=function(o,t){var e={},n={};return o.forEach(function(i,d){e[i.id]={idx:d,node:i,degree:0,inDegree:0,outDegree:0};var g=i[t];n[g]||(n[g]=[]),n[g].push(i)}),{nodeMap:e,nodeLabelMap:n}},Gt=function(o,t,e){var n={},i={};return o.forEach(function(d,g){n[\"\".concat(ee)]={idx:g,edge:d};var _=d[t];i[_]||(i[_]=[]),i[_].push(d);var I=e[d.source];I&&(I.degree++,I.outDegree++);var D=e[d.target];D&&(D.degree++,D.inDegree++)}),{edgeMap:n,edgeLabelMap:i}},bt=function(o,t,e){var n=t.length,i={};return t.forEach(function(d,g){for(var _=e?0:g+1,I=o[g].id,D=_;D<n;D++)if(g!==D){var H=o[D].id,Z=d[D];i[\"\".concat(I,\"-\").concat(H)]=Z,e||(i[\"\".concat(H,\"-\").concat(I)]=Z)}}),i},Zt=function(o,t,e,n,i,d,g,_,I,D,H){var Z,te=\"\".concat(t.id,\"-\").concat(e.id);if(D&&D[te])return D[te];var de=H?H[te]:void 0;if(!de){var Pe=((Z={})[te]={start:n[t.id].idx,end:n[e.id].idx,distance:i},Z);de=(H=ko(Pe,d,o,H))[te]}return Ur(de,g,_,I)},gt=function(o,t,e,n){var i,d,g,_=(i=o[t])===null||i===void 0?void 0:i.degree,I=(d=o[t])===null||d===void 0?void 0:d.inDegree,D=(g=o[t])===null||g===void 0?void 0:g.outDegree;return o[t]===void 0&&(_=1/0,I=1/0,D=1/0,n[t].forEach(function(H){var Z=e[H.id].degree;_>Z&&(_=Z);var te=e[H.id].inDegree;I>te&&(I=te);var de=e[H.id].outDegree;D>de&&(D=de)}),o[t]={degree:_,inDegree:I,outDegree:D}),{minPatternNodeLabelDegree:_,minPatternNodeLabelInDegree:I,minPatternNodeLabelOutDegree:D}},Wt=function(o,t,e,n,i,d,g){var _;if(e===void 0&&(e=!1),d===void 0&&(d=\"cluster\"),g===void 0&&(g=\"cluster\"),o&&o.nodes){var I=o.nodes.length;if(I){var D=be(o,e),H=be(t,e),Z=bt(o.nodes,D,e),te=bt(t.nodes,H,e),de=gn(o.nodes,d),Pe=de.nodeMap,Ge=de.nodeLabelMap,Qe=gn(t.nodes,d),Xe=Qe.nodeMap,yt=Qe.nodeLabelMap;Gt(o.edges,g,Pe);var Ct=Gt(t.edges,g,Xe).edgeLabelMap,on=[];H==null||H.forEach(function(Lr){on=on.concat(Lr)}),i||(i=Math.max.apply(Math,Object(l.__spreadArray)(Object(l.__spreadArray)([],on,!1),[2],!1))),n||(n=i);var sn=Nr(o,D,d,n),Nn=Nr(t,H,d,n),Tn=function(Lr,co,Do,yi,Fo){var Bo=Math.ceil(Do/co),Uo={},Gi=0;return yi.forEach(function(Ni,Wi){for(var ba=0,Ss=0,Ra=Ni.nodeIdxs,fs=Ni.neighborNum-1;ba<Bo;){for(var ns=Ra[1+Math.floor(Math.random()*fs)],hs=0;(Uo[\"\".concat(Wi,\"-\").concat(ns)]||Uo[\"\".concat(ns,\"-\").concat(Wi)])&&(ns=Math.floor(Math.random()*co),!(++hs>2*co)););if(hs<2*co&&(Uo[\"\".concat(Wi,\"-\").concat(ns)]={start:Wi,end:ns,distance:Fo[Wi][ns]},ba++,++Gi>=Do))return Uo;if(++Ss>2*co)break}ba<Bo&&(Bo=(Bo+(Bo-ba))/(co-Wi-1))}),Uo}(0,I,Math.min(100,I*(I-1)/2),sn,D),Bn=ko(Tn,sn,o),Hn=Wr({graphs:Bn,nodeLabelProp:d,edgeLabelProp:g,minSupport:1,minNodeNum:1,maxNodeNum:4,directed:e}).slice(0,10),Sr=Hn.length,Cr=[];Hn.forEach(function(Lr,co){Cr[co]={},Object.keys(Bn).forEach(function(Do){var yi=Bn[Do],Fo=Ur(yi,Lr,d,g);Cr[co][Do]=Fo})});var po=function(Lr,co,Do){for(var yi=1/0,Fo=0,Bo=function(Gi){var Ni=Lr[Gi],Wi=Object.keys(Ni).sort(function(hs,Is){return Ni[hs]-Ni[Is]}),ba=[];Wi.forEach(function(hs,Is){ba[Is%10]||(ba[Is%10]={graphs:[],totalCount:0,aveCount:0}),ba[Is%10].graphs.push(hs),ba[Is%10].totalCount+=Ni[hs]});var Ss=0,Ra=[];ba.forEach(function(hs){var Is=hs.totalCount/hs.graphs.length;hs.aveCount=Is,Ra.push(Is);var hu=0,Es=hs.length;hs.graphs.forEach(function(ku,Uc){var Vc=Ni[ku];hs.graphs.forEach(function(sd,pc){Uc!==pc&&(hu+=Math.abs(Vc-Ni[sd]))})}),Ss+=hu/=Es*(Es-1)/2}),Ss/=ba.length;var fs=0;Ra.forEach(function(hs,Is){Ra.forEach(function(hu,Es){Is!==Es&&(fs+=Math.abs(hs-hu))}),fs/=Ra.length*(Ra.length-1)/2});var ns=fs-Ss;yi<ns&&(yi=ns,Fo=Gi)},Uo=0;Uo<co;Uo++)Bo(Uo);return{structure:Do[Fo],structureCountMap:Lr[Fo]}}(Cr,Sr,Hn),wo=po.structure,Po=po.structureCountMap,Xo=t.nodes[0],ri=[],ki=(_=t.nodes[0])===null||_===void 0?void 0:_[d],T=-1/0;t.nodes.forEach(function(Lr){var co=Lr[d],Do=Ge[co];(Do==null?void 0:Do.length)>T&&(T=Do.length,ri=Do,ki=co,Xo=Lr)});var B={},K={},Se={},He={},Ye={},Et={};Object.keys(yt).forEach(function(Lr,co){Ye[Lr]=[],e&&(Et[Lr]=[]);var Do=-1/0,yi=yt[Lr],Fo={};yi.forEach(function(Ni){var Wi=te[\"\".concat(Xo.id,\"-\").concat(Ni.id)];if(Wi&&Ye[Lr].push(Wi),Do<Wi&&(Do=Wi),Fo[\"\".concat(Xo.id,\"-\").concat(Ni.id)]={start:0,end:Xe[Ni.id].idx,distance:Wi},e){var ba=te[\"\".concat(Ni.id,\"-\").concat(Xo.id)];ba&&Et[Lr].push(ba)}}),Ye[Lr]=Ye[Lr].sort(function(Ni,Wi){return Ni-Wi}),e&&(Et[Lr]=Et[Lr].sort(function(Ni,Wi){return Ni-Wi})),K=ko(Fo,Nn,t,K);var Bo=[];if(Object.keys(Fo).forEach(function(Ni){if(Se[Ni])Bo.push(Se[Ni]);else{var Wi=K[Ni];Se[Ni]=Ur(Wi,wo,d,g),Bo.push(Se[Ni])}}),Bo=Bo.sort(function(Ni,Wi){return Wi-Ni}),He[\"\".concat(Xo.id,\"-\").concat(Lr)]=Bo,Lr!==ki)for(var Uo=function(Ni){var Wi=ri[Ni],ba=sn[Pe[Wi.id].idx],Ss=ba.nodeLabelCountMap[Lr],Ra=yt[Lr].length;if(!Ss||Ss.count<Ra)return ri.splice(Ni,1),\"continue\";for(var fs=!1,ns=0;ns<Ra;ns++)if(Ss.dists[ns]>Ye[Lr][ns]){fs=!0;break}if(fs)return ri.splice(Ni,1),\"continue\";var hs={};ba.neighbors.forEach(function(Es){var ku=Z[\"\".concat(Wi.id,\"-\").concat(Es.id)];hs[\"\".concat(Wi.id,\"-\").concat(Es.id)]={start:Pe[Wi.id].idx,end:Pe[Es.id].idx,distance:ku}}),Bn=ko(hs,sn,o,Bn);var Is=[];Object.keys(hs).forEach(function(Es){if(Po[Es])Is.push(Po[Es]);else{var ku=Bn[Es];Po[Es]=Ur(ku,wo,d,g),Is.push(Po[Es])}}),Is=Is.sort(function(Es,ku){return ku-Es});var hu=!1;for(ns=0;ns<Ra;ns++)if(Is[ns]<Bo[ns]){hu=!0;break}return hu?(ri.splice(Ni,1),\"continue\"):void 0},Gi=((ri==null?void 0:ri.length)||0)-1;Gi>=0;Gi--)Uo(Gi)});var bn=[];ri==null||ri.forEach(function(Lr){for(var co=Pe[Lr.id].idx,Do=Kr(o.nodes,D[co],co,d,i).neighbors,yi=!1,Fo=Do.length-1;Fo>=0;Fo--){if(Do.length+1<t.nodes.length)return void(yi=!0);var Bo=Do[Fo],Uo=Bo[d];if(yt[Uo]&&yt[Uo].length)if(Ye[Uo]&&Ye[Uo].length){var Gi=\"\".concat(Lr.id,\"-\").concat(Bo.id),Ni=Z[Gi],Wi=Ye[Uo].length-1;if(Ni>Ye[Uo][Wi])Do.splice(Fo,1);else{if(e){var ba=\"\".concat(Bo.id,\"-\").concat(Lr.id),Ss=Z[ba];if(Wi=Et[Uo].length-1,Ss>Et[Uo][Wi]){Do.splice(Fo,1);continue}}var Ra=Po[Gi]?Po[Gi]:Zt(o,Lr,Bo,Pe,Ni,sn,wo,d,g,Po,Bn),fs=\"\".concat(Xo.id,\"-\").concat(Uo);if(Ra<He[fs][He[fs].length-1])Do.splice(Fo,1);else{var ns=gt(B,Uo,Xe,yt),hs=ns.minPatternNodeLabelDegree;ns.minPatternNodeLabelInDegree,ns.minPatternNodeLabelOutDegree,Pe[Bo.id].degree<hs&&Do.splice(Fo,1)}}}else Do.splice(Fo,1);else Do.splice(Fo,1)}yi||bn.push({nodes:[Lr].concat(Do)})});var Qn=ve(t,Xo.id,!1).length,yr={};e?(Object.keys(Qn).forEach(function(Lr){var co=Xe[Lr].node[d];yr[co]?yr[co].push(Qn[Lr]):yr[co]=[Qn[Lr]]}),Object.keys(yr).forEach(function(Lr){yr[Lr].sort(function(co,Do){return co-Do})})):yr=Ye;for(var vr=function(Lr){var co=bn[Lr],Do=co.nodes[0],yi={},Fo={};co.nodes.forEach(function(ks,Qs){Fo[ks.id]={idx:Qs,node:ks,degree:0,inDegree:0,outDegree:0};var Gu=ks[d];yi[Gu]?yi[Gu]++:yi[Gu]=1});var Bo=[],Uo={};o.edges.forEach(function(ks){Fo[ks.source]&&Fo[ks.target]&&(Bo.push(ks),Uo[ks[g]]?Uo[ks[g]]++:Uo[ks[g]]=1,Fo[ks.source].degree++,Fo[ks.target].degree++,Fo[ks.source].outDegree++,Fo[ks.target].inDegree++)});for(var Gi=Object.keys(Ct).length,Ni=!1,Wi=0;Wi<Gi;Wi++){var ba=Object.keys(Ct)[Wi];if(!Uo[ba]||Uo[ba]<Ct[ba].length){Ni=!0;break}}if(Ni)return bn.splice(Lr,1),\"continue\";var Ss=Bo.length;if(Ss<t.edges.length)return bn.splice(Lr,1),\"break\";var Ra=!1,fs=function(ks){var Qs=Bo[ks],Gu=Qs[g],zu=Ct[Gu];if(!zu||!zu.length)return Uo[Gu]--,zu&&Uo[Gu]<zu.length?(Ra=!0,\"break\"):(Bo.splice(ks,1),Fo[Qs.source].degree--,Fo[Qs.target].degree--,Fo[Qs.source].outDegree--,Fo[Qs.target].inDegree--,\"continue\");var Cd=Fo[Qs.source].node[d],yd=Fo[Qs.target].node[d],Wf=!1;return zu.forEach(function(xf){var wf=Xe[xf.source].node,bd=Xe[xf.target].node;wf[d]===Cd&&bd[d]===yd&&(Wf=!0),e||wf[d]!==yd||bd[d]!==Cd||(Wf=!0)}),Wf?void 0:(Uo[Gu]--,zu&&Uo[Gu]<zu.length?(Ra=!0,\"break\"):(Bo.splice(ks,1),Fo[Qs.source].degree--,Fo[Qs.target].degree--,Fo[Qs.source].outDegree--,Fo[Qs.target].inDegree--,\"continue\"))};for(Wi=Ss-1;Wi>=0&&fs(Wi)!==\"break\";Wi--);if(Ra)return bn.splice(Lr,1),\"continue\";co.edges=Bo;var ns=ve(co,co.nodes[0].id,!1).length;if(Object.keys(ns).reverse().forEach(function(ks){if(ks!==co.nodes[0].id&&!Ra){if(ns[ks]===1/0){var Qs=Fo[ks].node[d];if(yi[Qs]--,yi[Qs]<yt[Qs].length)return void(Ra=!0);var Gu=co.nodes.indexOf(Fo[ks].node);return co.nodes.splice(Gu,1),void(Fo[ks]=void 0)}var zu=Pe[ks].node[d];if(!yr[zu]||!yr[zu].length||ns[ks]>yr[zu][yr[zu].length-1]){if(Qs=Fo[ks].node[d],yi[Qs]--,yi[Qs]<yt[Qs].length)return void(Ra=!0);Gu=co.nodes.indexOf(Fo[ks].node),co.nodes.splice(Gu,1),Fo[ks]=void 0}}}),Ra)return bn.splice(Lr,1),\"continue\";for(var hs=!0,Is=0;hs&&!Ra;){if(hs=!1,e?Fo[Do.id].degree<Xe[Xo.id].degree||Fo[Do.id].inDegree<Xe[Xo.id].inDegree||Fo[Do.id].outDegree<Xe[Xo.id].outDegree:Fo[Do.id].degree<Xe[Xo.id].degree){Ra=!0;break}if(yi[Do[d]]<yt[Do[d]].length){Ra=!0;break}for(var hu=co.nodes.length-1;hu>=0;hu--){var Es=co.nodes[hu],ku=Fo[Es.id].degree,Uc=Fo[Es.id].inDegree,Vc=Fo[Es.id].outDegree,sd=Es[d],pc=gt(B,sd,Xe,yt),md=pc.minPatternNodeLabelDegree,Gf=pc.minPatternNodeLabelInDegree,Od=pc.minPatternNodeLabelOutDegree;if(e?ku<md||Uc<Gf||Vc<Od:ku<md){if(yi[Es[d]]--,yi[Es[d]]<yt[Es[d]].length){Ra=!0;break}co.nodes.splice(hu,1),Fo[Es.id]=void 0,hs=!0}}if(Ra||!hs&&Is!==0)break;for(var bf=(Ss=Bo.length)-1;bf>=0;bf--){var Cc=Bo[bf];if(!Fo[Cc.source]||!Fo[Cc.target]){Bo.splice(bf,1);var Fl=Cc[g];if(Uo[Fl]--,Fo[Cc.source]&&(Fo[Cc.source].degree--,Fo[Cc.source].outDegree--),Fo[Cc.target]&&(Fo[Cc.target].degree--,Fo[Cc.target].inDegree--),Ct[Fl]&&Uo[Fl]<Ct[Fl].length){Ra=!0;break}hs=!0}}Is++}return Ra||Ra||co.nodes.length<t.nodes.length||Bo.length<t.edges.length?(bn.splice(Lr,1),\"continue\"):void 0},no=bn.length-1;no>=0&&vr(no)!==\"break\";no--);var Wo=bn.length,$o=function(Lr){var co=bn[Lr],Do={};co.edges.forEach(function(Bo){var Uo=\"\".concat(Bo.source,\"-\").concat(Bo.target,\"-\").concat(Bo.label);Do[Uo]?Do[Uo]++:Do[Uo]=1});for(var yi=function(Bo){var Uo=bn[Bo],Gi={};Uo.edges.forEach(function(Wi){var ba=\"\".concat(Wi.source,\"-\").concat(Wi.target,\"-\").concat(Wi.label);Gi[ba]?Gi[ba]++:Gi[ba]=1});var Ni=!0;Object.keys(Gi).length!==Object.keys(Do).length?Ni=!1:Object.keys(Do).forEach(function(Wi){Gi[Wi]!==Do[Wi]&&(Ni=!1)}),Ni&&bn.splice(Bo,1)},Fo=Wo-1;Fo>Lr;Fo--)yi(Fo);Wo=bn.length};for(no=0;no<=Wo-1;no++)$o(no);return bn}}},xn=function(){function o(t){t===void 0&&(t=10),this.linkedList=new q,this.maxStep=t}return Object.defineProperty(o.prototype,\"length\",{get:function(){return this.linkedList.toArray().length},enumerable:!1,configurable:!0}),o.prototype.isEmpty=function(){return!this.linkedList.head},o.prototype.isMaxStack=function(){return this.toArray().length>=this.maxStep},o.prototype.peek=function(){return this.isEmpty()?null:this.linkedList.head.value},o.prototype.push=function(t){this.linkedList.prepend(t),this.length>this.maxStep&&this.linkedList.deleteTail()},o.prototype.pop=function(){var t=this.linkedList.deleteHead();return t?t.value:null},o.prototype.toArray=function(){return this.linkedList.toArray().map(function(t){return t.value})},o.prototype.clear=function(){for(;!this.isEmpty();)this.pop()},o}(),Dt=ae,Xn={getAdjMatrix:L,breadthFirstSearch:xe,connectedComponent:Le,getDegree:ce,getInDegree:ye,getOutDegree:Oe,detectCycle:ae,detectDirectedCycle:Dt,detectAllCycles:ie,detectAllDirectedCycle:he,detectAllUndirectedCycle:oe,depthFirstSearch:Ce,dijkstra:ve,findAllPath:_e,findShortestPath:fe,floydWarshall:be,labelPropagation:We,louvain:dt,iLouvain:Lt,kCore:lt,kMeans:qt,cosineSimilarity:hn,nodesCosineSimilarity:Kt,minimumSpanningTree:Fn,pageRank:pn,getNeighbors:me,Stack:xn,GADDI:Wt},Rn=j.a.transform,wt=function(o){return function(t,e){return t[o]-e[o]}},pt=function(o,t,e){return o>=t&&o<=e},Ue=function(o,t,e,n){var i=e.x-o.x,d=e.y-o.y,g=t.x-o.x,_=t.y-o.y,I=n.x-e.x,D=n.y-e.y,H=g*D-_*I,Z=1/H;if(H*H>1e-4*(g*g+_*_)*(I*I+D*D)){var te=(i*D-d*I)*Z,de=(i*_-d*g)*Z;return pt(te,0,1)&&pt(de,0,1)?{x:o.x+te*g,y:o.y+te*_}:null}return null},xt=function(o,t){var e=o.x,n=o.y,i=o.width,d=o.height,g=[],_={x:e+i/2,y:n+d/2};g.push({x:e,y:n}),g.push({x:e+i,y:n}),g.push({x:e+i,y:n+d}),g.push({x:e,y:n+d}),g.push({x:e,y:n});for(var I=null,D=1;D<g.length&&!(I=Ue(g[D-1],g[D],_,t));D++);return I},cn=function(o,t){var e=o.x,n=o.y,i=o.r,d=t.x-e,g=t.y-n;if(d*d+g*g<i*i)return null;var _=Math.atan(g/d);return{x:e+Math.abs(i*Math.cos(_))*Math.sign(d),y:n+Math.abs(i*Math.sin(_))*Math.sign(g)}},er=function(o,t){var e=o.rx,n=o.ry,i=o.x,d=o.y,g=t.x-i,_=t.y-d,I=Math.atan2(_/n,g/e);return I<0&&(I+=2*Math.PI),{x:i+e*Math.cos(I),y:d+n*Math.sin(I)}},Mr=function(o,t,e){e===void 0&&(e=1);var n=[o.x,o.y,e];return t&&!isNaN(t[0])||(t=[1,0,0,0,1,0,0,0,1]),j.d.transformMat3(n,n,t),{x:n[0],y:n[1]}},xr=function(o,t,e){e===void 0&&(e=1),t&&!isNaN(t[0])||(t=[1,0,0,0,1,0,0,0,1]);var n=j.b.invert([1,0,0,0,1,0,0,0,1],t);n||(n=[1,0,0,0,1,0,0,0,1]);var i=[o.x,o.y,e];return j.d.transformMat3(i,i,n),{x:i[0],y:i[1]}},jr=function(o,t,e){var n=o.x-t.x,i=o.y-t.y,d=o.x-e.x,g=o.y-e.y,_=(o.x*o.x-t.x*t.x-t.y*t.y+o.y*o.y)/2,I=(o.x*o.x-e.x*e.x-e.y*e.y+o.y*o.y)/2,D=i*d-n*g;return{x:-(g*_-i*I)/D,y:-(n*I-d*_)/D}},yo=function(o,t){var e=o.x-t.x,n=o.y-t.y;return Math.sqrt(e*e+n*n)},eo=function(o,t){var e=[];return o.forEach(function(n){var i=[];n.forEach(function(d){i.push(d*t)}),e.push(i)}),e},vi=function(o){for(var t=[],e=o.length,n=0;n<e;n+=1){t[n]=[];for(var i=0;i<e;i+=1)n===i?t[n][i]=0:o[n][i]!==0&&o[n][i]?t[n][i]=o[n][i]:t[n][i]=1/0}for(var d=0;d<e;d+=1)for(n=0;n<e;n+=1)for(i=0;i<e;i+=1)t[n][i]>t[n][d]+t[d][i]&&(t[n][i]=t[n][d]+t[d][i]);return t},Ti=function(o,t){var e=o.nodes,n=o.edges,i=[],d={};if(!e)throw new Error(\"invalid nodes data!\");return e&&e.forEach(function(g,_){d[g.id]=_,i.push([])}),n&&n.forEach(function(g){var _=g.source,I=g.target,D=d[_],H=d[I];i[D][H]=1,t||(i[H][D]=1)}),i},wi=function(o,t){o.translate(t.x,t.y)},mi=function(o,t,e,n){n===void 0&&(n={duration:500});var i=o.getMatrix();i||(i=[1,0,0,0,1,0,0,0,1]);var d=o.getCanvasBBox(),g=t.x-d.minX,_=t.y-d.minY;if(e){var I=g*i[0],D=_*i[4],H=0,Z=0,te=0,de=0;o.animate(function(Ge){return i=Rn(i,[[\"t\",(te=I*Ge)-H,(de=D*Ge)-Z]]),H=te,Z=de,{matrix:i}},n)}else{var Pe=Rn(i,[[\"t\",g,_]]);o.setMatrix(Pe)}},Zi=function(o,t){var e=o.getMatrix();e||(e=[1,0,0,0,1,0,0,0,1]);var n=t;Object(s.isArray)(t)||(n=[t,t]),Object(s.isArray)(t)&&t.length===1&&(n=[t[0],t[0]]),e=Rn(e,[[\"s\",n[0],n[1]]]),o.setMatrix(e)},aa=function(o,t){var e=o.getMatrix();e||(e=[1,0,0,0,1,0,0,0,1]),e=Rn(e,[[\"r\",t]]),o.setMatrix(e)},$e=function(o,t,e){for(var n=[],i=0;i<o;i++)n[i]=0;return e.forEach(function(d){d.source&&(n[t[d.source]]+=1),d.target&&(n[t[d.target]]+=1)}),n};function dn(o,t,e){return(e[0]-o[0])*(t[1]-o[1])==(t[0]-o[0])*(e[1]-o[1])&&Math.min(o[0],t[0])<=e[0]&&e[0]<=Math.max(o[0],t[0])&&Math.min(o[1],t[1])<=e[1]&&e[1]<=Math.max(o[1],t[1])}var Un=function(o,t,e){var n=!1,i=o.length;function d(D){return Math.abs(D)<1e-6?0:D<0?-1:1}if(i<=2)return!1;for(var g=0;g<i;g++){var _=o[g],I=o[(g+1)%i];if(dn(_,I,[t,e]))return!0;d(_[1]-e)>0!=d(I[1]-e)>0&&d(t-(e-_[1])*(_[0]-I[0])/(_[1]-I[1])-_[0])<0&&(n=!n)}return n},ar=function(o,t){return!(t.minX>o.maxX||t.maxX<o.minX||t.minY>o.maxY||t.maxY<o.minY)},Rr=function(o,t){var e=function(H){var Z=H.map(function(de){return de[0]}),te=H.map(function(de){return de[1]});return{minX:Math.min.apply(null,Z),maxX:Math.max.apply(null,Z),minY:Math.min.apply(null,te),maxY:Math.max.apply(null,te)}},n=function(H){for(var Z=[],te=H.length,de=0;de<te-1;de++){var Pe=H[de],Ge=H[de+1];Z.push({from:{x:Pe[0],y:Pe[1]},to:{x:Ge[0],y:Ge[1]}})}if(Z.length>1){var Qe=H[0],Xe=H[te-1];Z.push({from:{x:Xe[0],y:Xe[1]},to:{x:Qe[0],y:Qe[1]}})}return Z};if(o.length<2||t.length<2)return!1;var i=e(o),d=e(t);if(!ar(i,d))return!1;var g=!1;if(Object(s.each)(t,function(H){if(Un(o,H[0],H[1]))return g=!0,!1}),g||(Object(s.each)(o,function(H){if(Un(t,H[0],H[1]))return g=!0,!1}),g))return!0;var _=n(o),I=n(t),D=!1;return Object(s.each)(I,function(H){if(function(Z,te){var de=!1;return Object(s.each)(Z,function(Pe){if(Ue(Pe.from,Pe.to,te.from,te.to))return de=!0,!1}),de}(_,H))return D=!0,!1}),D},Ro=function(){function o(t,e,n,i){this.x1=t,this.y1=e,this.x2=n,this.y2=i}return o.prototype.getBBox=function(){var t=Math.min(this.x1,this.x2),e=Math.min(this.y1,this.y2),n=Math.max(this.x1,this.x2),i=Math.max(this.y1,this.y2);return{x:t,y:e,minX:t,minY:e,maxX:n,maxY:i,width:n-t,height:i-e}},o}(),Vo=function(o,t){return{top:[o.minX,o.minY,o.maxX,o.minY],left:[o.minX,o.minY,o.minX,o.maxY],bottom:[o.minX,o.maxY,o.maxX,o.maxY],right:[o.maxX,o.minY,o.maxX,o.maxY]}[t]},Co=function(o,t){var e=(t.x2-t.x1)*(o.y1-t.y1)-(t.y2-t.y1)*(o.x1-t.x1),n=(o.x2-o.x1)*(o.y1-t.y1)-(o.y2-o.y1)*(o.x1-t.x1),i=(t.y2-t.y1)*(o.x2-o.x1)-(t.x2-t.x1)*(o.y2-o.y1);if(i){var d=e/i,g=n/i;if(d>=0&&d<=1&&g>=0&&g<=1)return d}return Number.POSITIVE_INFINITY},Mo=function(o,t){for(var e=[\"top\",\"left\",\"bottom\",\"right\"],n=o.getBBox(),i=0,d=[],g=0;g<4;g++){var _=Vo(n,e[g]),I=_[0],D=_[1],H=_[2],Z=_[3];d[g]=Ue({x:t.x1,y:t.y1},{x:t.x2,y:t.y2},{x:I,y:D},{x:H,y:Z}),d[g]&&(i+=1)}return[d,i]},qo=function(o,t){for(var e=[\"top\",\"left\",\"bottom\",\"right\"],n=o.getBBox(),i=Number.POSITIVE_INFINITY,d=0,g=0;g<4;g++){var _=Vo(n,e[g]),I=_[0],D=_[1],H=_[2],Z=_[3],te=Co(t,new Ro(I,D,H,Z));(te=Math.abs(te-.5))>=0&&te<=1&&(d+=1,i=te<i?te:i)}return d===0?-1:i},ti=function(o){var t=0,e=0;if(o.length>0){for(var n=0,i=o;n<i.length;n++){var d=i[n];t+=d.x,e+=d.y}t/=o.length,e/=o.length}return{x:t,y:e}},pi=function(o,t){return Math.pow(o.x-t.x,2)+Math.pow(o.y-t.y,2)},ni=function(o,t){var e,n=t.x1,i=t.y1,d=t.x2-n,g=t.y2-i,_=o.x-n,I=o.y-i,D=_*d+I*g;e=D<=0||(D=(_=d-_)*d+(I=g-I)*g)<=0?0:D*D/(d*d+g*g);var H=_*_+I*I-e;return H<0&&(H=0),H},si=function(o,t,e){return e===void 0&&(e=.001),Math.pow(o.x-t.x,2)+Math.pow(o.y-t.y,2)<Math.pow(e,2)},Oi=function(o,t){var e=o.x<t.x,n=o.x>t.x+t.width,i=o.y>t.y+t.height,d=o.y<t.y;if(!(e||n||i||d))return 0;if(i&&!e&&!n)return Math.pow(t.y+t.height-o.y,2);if(d&&!e&&!n)return Math.pow(o.y-t.y,2);if(e&&!i&&!d)return Math.pow(t.x-o.x,2);if(n&&!i&&!d)return Math.pow(t.x+t.width-o.x,2);var g=Math.min(Math.abs(t.x-o.x),Math.abs(t.x+t.width-o.x)),_=Math.min(Math.abs(t.y-o.y),Math.abs(t.y+t.height-o.y));return g*g+_*_},Ki=function(o,t){var e=o[0],n=o[1],i=o[2],d=o[3],g=t.x,_=t.y,I=[i-e,d-n];if(j.c.exactEquals(I,[0,0]))return NaN;var D=[-I[1],I[0]];j.c.normalize(D,D);var H=[g-e,_-n];return Math.abs(j.c.dot(H,D))},ca=function(o,t,e){return o+(t-o)*e},zi=function(o,t,e){for(var n=Math.min(o.length,t.length),i=new Array(n),d=0;d<n;d++)i[d]=ca(o[d],t[d],e);return i},br=\"rgb(253, 253, 253)\",Re=\"rgb(95, 149, 255)\",je=\"rgb(95, 149, 255)\",nt=\"rgb(247, 250, 255)\",rt=\"rgb(95, 149, 255)\",Xt=\"rgb(224, 224, 224)\",fn=\"rgb(95, 149, 255)\",Cn=\"rgb(224, 224, 224)\",Yn=\"rgb(95, 149, 255)\",Ae={version:\"0.8.8\",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:Re,fill:\"rgb(239, 244, 255)\"},size:20,color:Re,linkPoints:{size:8,lineWidth:1,fill:nt,stroke:je}},nodeStateStyles:{active:{fill:nt,stroke:je,lineWidth:2,shadowColor:Re,shadowBlur:10},selected:{fill:\"rgb(255, 255, 255)\",stroke:rt,lineWidth:4,shadowColor:rt,shadowBlur:10,\"text-shape\":{fontWeight:500}},highlight:{fill:\"rgb(223, 234, 255)\",stroke:\"#4572d9\",lineWidth:2,\"text-shape\":{fontWeight:500}},inactive:{fill:\"rgb(247, 250, 255)\",stroke:\"rgb(191, 213, 255)\",lineWidth:1},disable:{fill:\"rgb(250, 250, 250)\",stroke:\"rgb(224, 224, 224)\",lineWidth:1}},edgeLabel:{style:{fill:\"rgb(0, 0, 0)\",textAlign:\"center\",textBaseline:\"middle\",fontSize:12}},defaultEdge:{type:\"line\",size:1,style:{stroke:Xt,lineAppendWidth:2},color:Xt},edgeStateStyles:{active:{stroke:\"rgb(95, 149, 255)\",lineWidth:1},selected:{stroke:fn,lineWidth:2,shadowColor:fn,shadowBlur:10,\"text-shape\":{fontWeight:500}},highlight:{stroke:\"rgb(95, 149, 255)\",lineWidth:2,\"text-shape\":{fontWeight:500}},inactive:{stroke:\"rgb(234, 234, 234)\",lineWidth:1},disable:{stroke:\"rgb(245, 245, 245)\",lineWidth:1}},comboLabel:{style:{fill:\"rgb(0, 0, 0)\",textBaseline:\"middle\",fontSize:12},refY:10,refX:10},defaultCombo:{type:\"circle\",style:{fill:br,lineWidth:1,stroke:Cn,r:5,width:20,height:10},size:[20,5],color:Cn,padding:[25,20,15,20]},comboStateStyles:{active:{stroke:\"rgb(95, 149, 255)\",lineWidth:1,fill:\"rgb(247, 250, 255)\"},selected:{stroke:Yn,lineWidth:2,fill:br,shadowColor:Yn,shadowBlur:10,\"text-shape\":{fontWeight:500}},highlight:{stroke:\"#4572d9\",lineWidth:2,fill:br,\"text-shape\":{fontWeight:500}},inactive:{stroke:\"rgb(224, 224, 224)\",fill:br,lineWidth:1},disable:{stroke:\"rgb(234, 234, 234)\",fill:\"rgb(250, 250, 250)\",lineWidth:1}},delegateStyle:{fill:\"#F3F9FF\",fillOpacity:.5,stroke:\"#1890FF\",strokeOpacity:.9,lineDash:[5,5]},windowFontFamily:typeof window!=\"undefined\"&&window.getComputedStyle&&document.body&&window.getComputedStyle(document.body,null).getPropertyValue(\"font-family\")||\"Arial, sans-serif\"},Ke={\" \":.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},Mt=Math.PI,Ut=Math.sin,kn=Math.cos,Zn=Ut(Mt/8),lr=kn(Mt/8),wr=function(o,t){var e=o.getBBox(),n={x:e.minX,y:e.minY},i={x:e.maxX,y:e.maxY};if(t){var d=t.getMatrix();d||(d=[1,0,0,0,1,0,0,0,1]),n=Mr(n,d),i=Mr(i,d)}var g=n.x,_=n.y,I=i.x,D=i.y;return{x:g,y:_,minX:g,minY:_,maxX:I,maxY:D,width:I-g,height:D-_}},Dr=function(o){var t=o.sourceNode||o.targetNode,e=t.get(\"group\").getMatrix();e||(e=[1,0,0,0,1,0,0,0,1]);var n=t.getKeyShape(),i=n.getBBox(),d=o.loopCfg||{},g=d.dist||2*Math.max(i.width,i.height),_=d.position||Ae.defaultLoopPosition,I=[(i.minX+i.maxX)/2+e[6],(i.minY+i.maxY)/2+e[7]],D=[o.startPoint.x,o.startPoint.y],H=[o.endPoint.x,o.endPoint.y],Z=i.height/2,te=i.width/2,de=Z,Pe=Z,Ge=de*Zn,Qe=de*lr,Xe=Pe*Zn,yt=Pe*lr,Ct=n.get(\"type\"),on=Math.min(Z/2,te/2),sn=Math.min(Z,te),Nn=d!=null&&d.pointPadding?Math.min(sn,d==null?void 0:d.pointPadding):on;if(D[0]===H[0]&&D[1]===H[1]){switch(_){case\"top\":Ct===\"circle\"?(D=[I[0]-Ge,I[1]-Qe],H=[I[0]+Xe,I[1]-yt]):(D=[I[0]-Nn,I[1]-Z],H=[I[0]+Nn,I[1]-Z]);break;case\"top-right\":de=Z,Pe=te,Ct===\"circle\"?(D=[I[0]+(Ge=de*Zn),I[1]-(Qe=de*lr)],H=[I[0]+(yt=Pe*lr),I[1]-(Xe=Pe*Zn)]):(D=[I[0]+te-Nn,I[1]-Z],H=[I[0]+te,I[1]-Z+Nn]);break;case\"right\":de=te,Pe=te,Ct===\"circle\"?(D=[I[0]+(Qe=de*lr),I[1]-(Ge=de*Zn)],H=[I[0]+(yt=Pe*lr),I[1]+(Xe=Pe*Zn)]):(D=[I[0]+te,I[1]-Nn],H=[I[0]+te,I[1]+Nn]);break;case\"bottom-right\":de=te,Pe=Z,Ct===\"circle\"?(D=[I[0]+(Qe=de*lr),I[1]+(Ge=de*Zn)],H=[I[0]+(Xe=Pe*Zn),I[1]+(yt=Pe*lr)]):(D=[I[0]+te,I[1]+Z-Nn],H=[I[0]+te-Nn,I[1]+Z]);break;case\"bottom\":de=Z,Pe=Z,Ct===\"circle\"?(D=[I[0]+(Ge=de*Zn),I[1]+(Qe=de*lr)],H=[I[0]-(Xe=Pe*Zn),I[1]+(yt=Pe*lr)]):(D=[I[0]-Nn,I[1]+Z],H=[I[0]+Nn,I[1]+Z]);break;case\"bottom-left\":de=Z,Pe=te,Ct===\"circle\"?(D=[I[0]-(Ge=de*Zn),I[1]+(Qe=de*lr)],H=[I[0]-(yt=Pe*lr),I[1]+(Xe=Pe*Zn)]):(D=[I[0]-te,I[1]+Z-Nn],H=[I[0]-te+Nn,I[1]+Z]);break;case\"left\":de=te,Pe=te,Ct===\"circle\"?(D=[I[0]-(Qe=de*lr),I[1]+(Ge=de*Zn)],H=[I[0]-(yt=Pe*lr),I[1]-(Xe=Pe*Zn)]):(D=[I[0]-te,I[1]-Nn],H=[I[0]-te,I[1]+Nn]);break;case\"top-left\":de=te,Pe=Z,Ct===\"circle\"?(D=[I[0]-(Qe=de*lr),I[1]-(Ge=de*Zn)],H=[I[0]-(Xe=Pe*Zn),I[1]-(yt=Pe*lr)]):(D=[I[0]-te+Nn,I[1]-Z],H=[I[0]-te,I[1]-Z+Nn]);break;default:D=[I[0]-(Ge=(de=te)*Zn),I[1]-(Qe=de*lr)],H=[I[0]+(Xe=(Pe=te)*Zn),I[1]-(yt=Pe*lr)]}if(d.clockwise===!1){var Tn=[D[0],D[1]];D=[H[0],H[1]],H=[Tn[0],Tn[1]]}}var Bn=[D[0]-I[0],D[1]-I[1]],Hn=(de+g)/de,Sr=(Pe+g)/Pe;d.clockwise===!1&&(Hn=(Pe+g)/Pe,Sr=(de+g)/de);var Cr=j.c.scale([0,0],Bn,Hn),po=[I[0]+Cr[0],I[1]+Cr[1]],wo=[H[0]-I[0],H[1]-I[1]],Po=j.c.scale([0,0],wo,Sr),Xo=[I[0]+Po[0],I[1]+Po[1]];return o.startPoint={x:D[0],y:D[1]},o.endPoint={x:H[0],y:H[1]},o.controlPoints=[{x:po[0],y:po[1]},{x:Xo[0],y:Xo[1]}],o},go=function(o,t,e,n,i){var d=[],g=o==null?void 0:o.getPoint(t);if(!g)return{x:0,y:0,angle:0};if(t<1e-4)d=o.getStartTangent().reverse();else if(t>.9999)d=o.getEndTangent();else{var _=o==null?void 0:o.getPoint(t+1e-4);d.push([g.x,g.y]),d.push([_.x,_.y])}var I=Math.atan2(d[1][1]-d[0][1],d[1][0]-d[0][0]);if(I<0&&(I+=2*Mt),e&&(g.x+=kn(I)*e,g.y+=Ut(I)*e),n){var D=I-Mt/2;I>.5*Mt&&I<1.5*Mt&&(D-=Mt),g.x+=kn(D)*n,g.y+=Ut(D)*n}var H={x:g.x,y:g.y,angle:I};return i?(I>.5*Mt&&I<1.5*Mt&&(I-=Mt),Object(l.__assign)({rotate:I},H)):H},Ir=function(o,t){typeof t==\"function\"&&function e(n,i,d,g){if(g(n,i,d)===!1)return!1;if(n&&n.children){for(var _=n.children.length-1;_>=0;_--)if(!e(n.children[_],n,_,g))return!1}return!0}(o,null,-1,t)},Jr=function(o,t){typeof t==\"function\"&&function e(n,i,d,g){if(n&&n.children){for(var _=n.children.length-1;_>=0;_--)if(!e(n.children[_],n,_,g))return}return g(n,i,d)!==!1}(o,null,-1,t)},_o=function(o,t){return t*(Ke[o]||1)},No=function(o,t){var e=0,n=new RegExp(\"[\\u4E00-\\u9FA5]+\");return o.split(\"\").forEach(function(i){n.test(i)?e+=t:e+=_o(i,t)}),[e,t]},ii=function(o,t){return typeof t!=\"number\"||t<=0||t>=o.length?o:o.substring(0,t)+\"...\"},Lo=function(o,t){var e=[],n={},i={};o.forEach(function(_){i[_.id]=_}),o.forEach(function(_,I){var D=Object(s.clone)(_);D.itemType=\"combo\",D.children=void 0,D.parentId===D.id?(console.warn(\"The parentId for combo \".concat(D.id,\" can not be the same as the combo's id\")),delete D.parentId):D.parentId&&!i[D.parentId]&&(console.warn(\"The parent combo for combo \".concat(D.id,\" does not exist!\")),delete D.parentId);var H=n[D.id];if(H){if(D.children=H.children,n[D.id]=D,!(H=D).parentId)return void e.push(H);var Z=n[H.parentId];if(Z)Z.children?Z.children.push(D):Z.children=[D];else{var te={id:H.parentId,children:[H]};n[H.parentId]=te,n[D.id]=D}}else if(Object(s.isString)(_.parentId)){var de=n[_.parentId];if(de)de.children?de.children.push(D):de.children=[D],n[D.id]=D;else{var Pe={id:_.parentId,children:[D]};n[Pe.id]=Pe,n[D.id]=D}}else e.push(D),n[D.id]=D});var d={};(t||[]).forEach(function(_){d[_.id]=_;var I=n[_.comboId];if(I){var D={id:_.id,comboId:_.comboId};I.children?I.children.push(D):I.children=[D],D.itemType=\"node\",n[_.id]=D}});var g=0;return e.forEach(function(_){_.depth=g+10,Ir(_,function(I){var D,H=n[I.id].itemType;D=H===\"node\"?n[I.comboId]:n[I.parentId],I.depth=D&&H===\"node\"?g+1:g+10,g<I.depth&&(g=I.depth);var Z=d[I.id];return Z&&(Z.depth=I.depth),!0})}),e},ai=function(o,t,e){var n,i,d=o,g={root:{children:o}},_=!1,I=\"root\";(o||[]).forEach(function(de){if(!_)return de.id===t?(i=de,de.itemType===\"combo\"?i.parentId=e:i.comboId=e,void(_=!0)):void Ir(de,function(Pe){var Ge;return g[Pe.id]={children:(Pe==null?void 0:Pe.children)||[]},d=(Ge=g[Pe.parentId||Pe.comboId||\"root\"])===null||Ge===void 0?void 0:Ge.children,!Pe||!Pe.removed&&t!==Pe.id||!d||(I=Pe.parentId||Pe.comboId||\"root\",i=Pe,Pe.itemType===\"combo\"?i.parentId=e:i.comboId=e,_=!0,!1)})});var D=(d=(n=g[I])===null||n===void 0?void 0:n.children)?d.indexOf(i):-1;if(D>-1&&d.splice(D,1),_||(i={id:t,itemType:\"node\",comboId:e},g[t]={children:void 0}),t){var H=!1;if(e){var Z=0;(o||[]).forEach(function(de){H||Ir(de,function(Pe){return e!==Pe.id||(H=!0,Pe.children?Pe.children.push(i):Pe.children=[i],Z=Pe.depth,i.itemType===\"node\"?i.depth=Z+2:i.depth=Z+1,!1)})})}else e&&H||i.itemType===\"node\"||o.push(i);var te=i.depth;Ir(i,function(de){return de.itemType===\"node\"?te+=2:te+=1,de.depth=te,!0})}return o},Si=function(o,t,e){var n={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(!o||o.length===0){var i=(e==null?void 0:e.getModel())||{},d=i.x,g=i.y,_=i.fixSize,I=i.collapsed,D=i.fixCollapseSize,H=I?D:_,Z=Object(s.isArray)(H)?H:[H,H],te=Z[0],de=Z[1],Pe=[te/2,de/2];return{minX:d-Pe[0],minY:g-Pe[1],maxX:d+Pe[0],maxY:g+Pe[1],x:d,y:g,width:te,height:de}}return o.forEach(function(Ge){var Qe=t.findById(Ge.id);if(Qe&&Qe.isVisible()){Qe.set(\"bboxCanvasCache\",void 0);var Xe=Qe.getCanvasBBox();Xe.x&&n.minX>Xe.minX&&(n.minX=Xe.minX),Xe.y&&n.minY>Xe.minY&&(n.minY=Xe.minY),Xe.x&&n.maxX<Xe.maxX&&(n.maxX=Xe.maxX),Xe.y&&n.maxY<Xe.maxY&&(n.maxY=Xe.maxY)}}),n.x=(n.minX+n.maxX)/2,n.y=(n.minY+n.maxY)/2,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,(e==null?void 0:e.getKeyShape().get(\"type\"))===\"circle\"&&(n.width=Math.hypot(n.height,n.width),n.height=n.width),Object.keys(n).forEach(function(Ge){n[Ge]!==1/0&&n[Ge]!==-1/0||(n[Ge]=void 0)}),n},Ui=function(o){var t=Object(s.isNumber)(o.x)||Object(s.isNumber)(o.y)||o.type||o.anchorPoints||o.size;return o.style&&(t=t||Object(s.isNumber)(o.style.r)||Object(s.isNumber)(o.style.width)||Object(s.isNumber)(o.style.height)||Object(s.isNumber)(o.style.rx)||Object(s.isNumber)(o.style.ry)),t},ln=function(o){var t={};return Object.keys(o).forEach(function(e){var n=o[e];if(Object(s.isObject)(n)&&!Object(s.isArray)(n)){var i={};Object.keys(n).forEach(function(d){var g=n[d];(d!==\"img\"||Object(s.isString)(g))&&(i[d]=Object(s.clone)(g))}),t[e]=i}else t[e]=Object(s.clone)(n)}),t},mn=function(o){var t,e=o.animateCfg,n=o.callback;if(e)if(t=Object(s.clone)(e),e.callback){var i=e.callback;t.callback=function(){n(),i()}}else t.callback=n;else t={duration:500,callback:n};return t},fr=function(o){if(!o)return console.error(\"G6 Error Tips: the data must be defined\"),!1;var t=o.nodes,e=o.edges,n=o.combos,i=n===void 0?[]:n;if(!t&&!e){var d=!0;return Ir(o,function(Z){return!!Object(s.isString)(Z.id)||(d=!1,!1)}),d}var g=(t||[]).find(function(Z){return!Object(s.isString)(Z.id)});if(g)return console.warn(\"G6 Warning Tips: missing 'id' property, or %c\".concat(g.id,\"%c is not a string.\"),\"font-size: 20px; color: red;\",\"\"),!1;var _=(t||[]).map(function(Z){return Z.id}),I=i==null?void 0:i.map(function(Z){return Z.id}),D=Object(l.__spreadArray)(Object(l.__spreadArray)([],_,!0),I,!0),H=(e||[]).find(function(Z){return!D.includes(Z.source)||!D.includes(Z.target)});return!H||(console.warn(\"G6 Warning Tips: The source %c\".concat(H.source,\"%c or the target %c\").concat(H.target,\"%c of the edge do not exist in the nodes or combos.\"),\"font-size: 20px; color: red;\",\"\",\"font-size: 20px; color: red;\",\"\"),!1)},ft=function(){function o(t){this.graph=t,this.destroyed=!1,this.modes=t.get(\"modes\")||{default:[]},this.formatModes(),this.mode=t.get(\"defaultMode\")||\"default\",this.currentBehaves=[],this.setMode(this.mode)}return o.prototype.formatModes=function(){var t=this.modes;Object(s.each)(t,function(e){Object(s.each)(e,function(n,i){Object(s.isString)(n)&&(e[i]={type:n})})})},o.prototype.setBehaviors=function(t){var e,n=this.graph,i=this.modes[t],d=[];Object(s.each)(i||[],function(g){var _=x.getBehavior(g.type||g);_&&(e=new _(g))&&(e.bind(n),d.push(e))}),this.currentBehaves=d},o.mergeBehaviors=function(t,e){return Object(s.each)(e,function(n){t.indexOf(n)<0&&(Object(s.isString)(n)&&(n={type:n}),t.push(n))}),t},o.filterBehaviors=function(t,e){var n=[];return t.forEach(function(i){var d=\"\";d=Object(s.isString)(i)?i:i.type,e.indexOf(d)<0&&n.push(i)}),n},o.prototype.setMode=function(t){var e=this.modes,n=this.graph,i=t;e[i]&&(n.emit(\"beforemodechange\",{mode:t}),Object(s.each)(this.currentBehaves,function(d){d.delegate&&d.delegate.remove(),d.unbind(n)}),this.setBehaviors(i),n.emit(\"aftermodechange\",{mode:t}),this.mode=t)},o.prototype.getMode=function(){return this.mode},o.prototype.manipulateBehaviors=function(t,e,n){var i,d=this;if(i=Object(s.isArray)(t)?t:[t],Object(s.isArray)(e))return Object(s.each)(e,function(_){d.modes[_]?d.modes[_]=n?o.mergeBehaviors(d.modes[_]||[],i):o.filterBehaviors(d.modes[_]||[],i):n&&(d.modes[_]=i)}),this;var g=e;return e||(g=this.mode),this.modes[g]||n&&(this.modes[g]=i),this.modes[g]=n?o.mergeBehaviors(this.modes[g]||[],i):o.filterBehaviors(this.modes[g]||[],i),this.formatModes(),this.setMode(this.mode),this},o.prototype.updateBehavior=function(t,e,n){Object(s.isString)(t)&&(t={type:t});var i=[];if(n&&n!==this.mode&&n!==\"default\"){if(!(i=this.modes[n])||!i.length)return console.warn(\"Update behavior failed! There is no behaviors in this mode on the graph.\"),this;var d=i.length;for(_=0;_<d;_++){if((I=i[_]).type===t.type||I===t.type)return I===t.type&&(I={type:I}),Object.assign(I,e),i[_]=I,this;_===d-1&&console.warn(\"Update behavior failed! There is no such behavior in the mode\")}}else{if(!(i=this.currentBehaves)||!i.length)return console.warn(\"Update behavior failed! There is no behaviors in this mode on the graph.\"),this;for(var g=i.length,_=0;_<g;_++){var I;if((I=i[_]).type===t.type)return I.updateCfg(e),this;_===g-1&&console.warn(\"Update behavior failed! There is no such behavior in the mode\")}}return this},o.prototype.destroy=function(){this.graph=null,this.modes=null,this.currentBehaves=null,this.destroyed=!0},o}(),ct=function(o){function t(e,n){var i=o.call(this,e,n)||this;return i.item=n.item,i.canvasX=n.canvasX,i.canvasY=n.canvasY,i.wheelDelta=n.wheelDelta,i.detail=n.detail,i}return Object(l.__extends)(t,o),t}(r(10).Event),tn=function(o){return\"\".concat(o,\"-\").concat(Math.random()).concat(Date.now())},An=function(o){if(Object(s.isArray)(o))switch(o.length){case 4:return o;case 3:return o.push(o[1]),o;case 2:return o.concat(o);case 1:return[o[0],o[0],o[0],o[0]];default:return[0,0,0,0]}if(Object(s.isNumber)(o))return[o,o,o,o];if(Object(s.isString)(o)){var t=parseInt(o,10);return[t,t,t,t]}return[0,0,0,0]},Rt=function(o){var t=new ct(o.type,o);return t.clientX=o.clientX,t.clientY=o.clientY,t.x=o.x,t.y=o.y,t.target=o.target,t.currentTarget=o.currentTarget,t.bubbles=!0,t.item=o.item,t},un=function(o){if(!o)return!1;for(var t=[1,0,0,0,1,0,0,0,1],e=0;e<9;e++)if(o[e]!==t[e])return!0;return!1},Dn=function(o){return Number.isNaN(Number(o))},dr=function(o){for(var t=1/0,e=-1/0,n=1/0,i=-1/0,d=0;d<o.length;d++){var g=o[d].getBBox(),_=g.minX,I=g.minY,D=g.maxX,H=g.maxY;_<t&&(t=_),I<n&&(n=I),D>e&&(e=D),H>i&&(i=H)}return{x:Math.floor(t),y:Math.floor(n),width:Math.ceil(e)-Math.floor(t),height:Math.ceil(i)-Math.floor(n),minX:t,minY:n,maxX:e,maxY:i}},Ar=function(o,t,e,n,i){t===void 0&&(t=15),e===void 0&&(e=\"quadratic\"),n===void 0&&(n=void 0),i===void 0&&(i=void 0);for(var d=o.length,g=2*t,_=[\"top\",\"top-right\",\"right\",\"bottom-right\",\"bottom\",\"bottom-left\",\"left\",\"top-left\"],I={},D=[],H={},Z=0;Z<d;Z++){var te=o[Z],de=te.source,Pe=te.target,Ge=\"\".concat(de,\"-\").concat(Pe);if(!D[Z]){I[Ge]||(I[Ge]=[]),D[Z]=!0,I[Ge].push(te);for(var Qe=0;Qe<d;Qe++)if(Z!==Qe){var Xe=o[Qe],yt=Xe.source,Ct=Xe.target;D[Qe]||(de===Ct&&Pe===yt?(I[Ge].push(Xe),D[Qe]=!0,H[\"\".concat(yt,\"|\").concat(Ct,\"|\").concat(I[Ge].length-1)]=!0):de===yt&&Pe===Ct&&(I[Ge].push(Xe),D[Qe]=!0))}}}for(var on in I)for(var sn=I[on],Nn=sn.length,Tn=0;Tn<Nn;Tn++){var Bn=sn[Tn];if(Bn.source!==Bn.target)if(Nn===1&&n&&Bn.source!==Bn.target)Bn.type=n;else{Bn.type=e;var Hn=(Tn%2==0?1:-1)*(H[\"\".concat(Bn.source,\"|\").concat(Bn.target,\"|\").concat(Tn)]?-1:1);Bn.curveOffset=Nn%2==1?Hn*Math.ceil(Tn/2)*g:Hn*(Math.floor(Tn/2)*g+t)}else i&&(Bn.type=i),Bn.loopCfg={position:_[Tn%8],dist:20*Math.floor(Tn/8)+50}}return o},Gr=r(68),Pr=function(){function o(t){this.destroyed=!1,this.graph=t,this.destroyed=!1}return o.prototype.getViewCenter=function(){var t=this.getFormatPadding(),e=this.graph,n=this.graph.get(\"width\"),i=e.get(\"height\");return{x:(n-t[1]-t[3])/2+t[3],y:(i-t[0]-t[2])/2+t[0]}},o.prototype.fitCenter=function(t,e){var n,i=this.graph,d=i.get(\"group\"),g=i.getNodes();if(g.length>i.get(\"optimizeThreshold\")){var _=1/0,I=1/0,D=-1/0,H=-1/0;g.forEach(function(sn){var Nn=sn.getModel(),Tn=Nn.x,Bn=Nn.y;_>Tn&&(_=Tn),I>Bn&&(I=Bn),D<Tn&&(D=Tn),H<Bn&&(H=Bn)});var Z=d.getMatrix()||[1,0,0,0,1,0,0,0,1],te=Mr({x:_,y:I},Z),de=te.x,Pe=te.y,Ge=Mr({x:D,y:H},Z),Qe=Ge.x,Xe=Ge.y;n={minX:de,maxX:Qe,minY:Pe,maxY:Xe,width:Qe-de,height:Xe-Pe,x:de,y:Pe}}else n=d.getCanvasBBox();if(n.width!==0&&n.height!==0){var yt=this.getViewCenter(),Ct=n.x+n.width/2,on=n.y+n.height/2;i.translate(yt.x-Ct,yt.y-on,t,e)}},o.prototype.animatedFitView=function(t,e,n,i,d,g,_,I){var D=this.graph;n=n||{duration:500,easing:\"easeCubic\"};var H=i.x+d.x-g.x-i.minX,Z=i.y+d.y-g.y-i.minY;if(!Dn(H)&&!Dn(Z)){var te=Object(Gr.transform)([1,0,0,0,1,0,0,0,1],[[\"t\",H,Z]]);if(I){var de=D.get(\"minZoom\"),Pe=D.get(\"maxZoom\"),Ge=_;de&&_<de?(Ge=de,console.warn(\"fitview failed, ratio out of range, ratio: %f\",_,\"graph minzoom has been used instead\")):Pe&&_>Pe&&(Ge=Pe,console.warn(\"fitview failed, ratio out of range, ratio: %f\",_,\"graph maxzoom has been used instead\"));var Qe=Object(Gr.transform)(te,[[\"t\",-d.x,-d.y],[\"s\",Ge,Ge],[\"t\",d.x,d.y]]),Xe=mn({animateCfg:n,callback:function(){t.setMatrix(Qe),D.emit(\"viewportchange\",{action:\"translate\",matrix:te}),D.emit(\"viewportchange\",{action:\"zoom\",matrix:Qe})}});t.stopAnimate(),t.setMatrix(e),t.animate(function(Ct){return{matrix:zi(e,Qe,Ct)}},Xe)}else{var yt=mn({animateCfg:n,callback:function(){D.emit(\"viewportchange\",{action:\"translate\",matrix:te})}});t.animate(function(Ct){return{matrix:zi(e,te,Ct)}},yt)}}},o.prototype.fitView=function(t,e){var n,i=this.graph,d=this.getFormatPadding(),g=i.get(\"width\"),_=i.get(\"height\"),I=i.get(\"group\"),D=I.getMatrix()||[1,0,0,0,1,0,0,0,1];I.resetMatrix();var H=i.getNodes();if(H.length>i.get(\"optimizeThreshold\")){var Z=1/0,te=1/0,de=-1/0,Pe=-1/0;H.forEach(function(Nn){var Tn=Nn.getModel(),Bn=Tn.x,Hn=Tn.y;Z>Bn&&(Z=Bn),te>Hn&&(te=Hn),de<Bn&&(de=Bn),Pe<Hn&&(Pe=Hn)}),n={minX:Z,maxX:de,minY:te,maxY:Pe,width:de-Z,height:Pe-te,x:Z,y:te}}else n=I.getCanvasBBox();if(n.width!==0&&n.height!==0){var Ge=this.getViewCenter(),Qe={x:n.x+n.width/2,y:n.y+n.height/2},Xe=(g-d[1]-d[3])/n.width,yt=(_-d[0]-d[2])/n.height,Ct=Xe;if(Xe>yt&&(Ct=yt),t)this.animatedFitView(I,D,e,n,Ge,Qe,Ct,!0);else{var on=Ge.x-Qe.x,sn=Ge.y-Qe.y;if(Dn(on)||Dn(sn))return;i.translate(on,sn),i.zoom(Ct,Ge)||console.warn(\"zoom failed, ratio out of range, ratio: %f\",Ct)}}},o.prototype.fitViewByRules=function(t,e,n){var i,d=t.onlyOutOfViewPort,g=d!==void 0&&d,_=t.direction,I=_===void 0?\"both\":_,D=t.ratioRule,H=D===void 0?\"min\":D,Z=this.graph,te=this.getFormatPadding(),de=Z.get(\"width\"),Pe=Z.get(\"height\"),Ge=Z.get(\"group\"),Qe=Ge.getMatrix()||[1,0,0,0,1,0,0,0,1];Ge.resetMatrix();var Xe=Z.getNodes();if(Xe.length>Z.get(\"optimizeThreshold\")){var yt=1/0,Ct=1/0,on=-1/0,sn=-1/0;Xe.forEach(function(wo){var Po=wo.getModel(),Xo=Po.x,ri=Po.y;yt>Xo&&(yt=Xo),Ct>ri&&(Ct=ri),on<Xo&&(on=Xo),sn<ri&&(sn=ri)}),i={minX:yt,maxX:on,minY:Ct,maxY:sn,width:on-yt,height:sn-Ct,x:yt,y:Ct}}else i=Ge.getCanvasBBox();if(i.width!==0&&i.height!==0){var Nn,Tn=this.getViewCenter(),Bn={x:i.x+i.width/2,y:i.y+i.height/2},Hn=(de-te[1]-te[3])/i.width,Sr=(Pe-te[0]-te[2])/i.height;if(Nn=I===\"x\"?Hn:I===\"y\"?Sr:H===\"max\"?Math.max(Hn,Sr):Math.min(Hn,Sr),g&&(Nn=Nn<1?Nn:1),e)this.animatedFitView(Ge,Qe,n,i,Tn,Bn,Nn,!0);else{var Cr=Z.getZoom()*Nn,po=Z.get(\"minZoom\");Cr<po&&(Cr=po,console.warn(\"fitview failed, ratio out of range, ratio: %f\",Nn,\"graph minzoom has been used instead\")),Z.translate(Tn.x-Bn.x,Tn.y-Bn.y),Z.zoomTo(Cr,Tn)}}},o.prototype.getFormatPadding=function(){var t=this.graph.get(\"fitViewPadding\");return An(t)},o.prototype.focusPoint=function(t,e,n){var i=this,d=this.getViewCenter(),g=this.getPointByCanvas(d.x,d.y),_=this.graph.get(\"group\").getMatrix();if(_||(_=[1,0,0,0,1,0,0,0,1]),e){var I=(g.x-t.x)*_[0],D=(g.y-t.y)*_[4],H=0,Z=0,te=0,de=0;this.graph.get(\"canvas\").animate(function(Pe){te=I*Pe,de=D*Pe,i.graph.translate(te-H,de-Z),H=te,Z=de},Object(l.__assign)({},n))}else this.graph.translate((g.x-t.x)*_[0],(g.y-t.y)*_[4])},o.prototype.getPointByCanvas=function(t,e){var n=this.graph.get(\"group\").getMatrix();return n||(n=[1,0,0,0,1,0,0,0,1]),xr({x:t,y:e},n)},o.prototype.getPointByClient=function(t,e){var n=this.graph.get(\"canvas\").getPointByClient(t,e);return this.getPointByCanvas(n.x,n.y)},o.prototype.getClientByPoint=function(t,e){var n=this.graph.get(\"canvas\"),i=this.getCanvasByPoint(t,e),d=n.getClientByPoint(i.x,i.y);return{x:d.x,y:d.y}},o.prototype.getCanvasByPoint=function(t,e){var n=this.graph.get(\"group\").getMatrix();return n||(n=[1,0,0,0,1,0,0,0,1]),Mr({x:t,y:e},n)},o.prototype.focus=function(t,e,n){if(Object(s.isString)(t)&&(t=this.graph.findById(t)),t){var i=0,d=0;if(t.getType&&t.getType()===\"edge\"){var g=t.getSource().get(\"group\").getMatrix(),_=t.getTarget().get(\"group\").getMatrix();g&&_?(i=(g[6]+_[6])/2,d=(g[7]+_[7])/2):(g||_)&&(i=g?g[6]:_[6],d=g?g[7]:_[7])}else{var I=t.get(\"group\").getMatrix();I||(I=[1,0,0,0,1,0,0,0,1]),i=I[6],d=I[7]}this.focusPoint({x:i,y:d},e,n)}},o.prototype.focusItems=function(t,e,n,i){if(t.length){var d=this.graph,g=this.getFormatPadding(),_=d.get(\"width\"),I=d.get(\"height\"),D=d.get(\"group\"),H=D.getMatrix()||[1,0,0,0,1,0,0,0,1];D.resetMatrix();for(var Z={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},te=0,de=t;te<de.length;te++){var Pe=de[te].getBBox();Pe.minX<Z.minX&&(Z.minX=Pe.minX),Pe.minY<Z.minY&&(Z.minY=Pe.minY),Pe.maxX>Z.maxX&&(Z.maxX=Pe.maxX),Pe.maxY>Z.maxY&&(Z.maxY=Pe.maxY)}if(Z.x=Z.minX,Z.y=Z.minY,Z.width=Z.maxX-Z.minX,Z.height=Z.maxY-Z.minY,Z.width!==0&&Z.height!==0){var Ge=this.getViewCenter(),Qe={x:Z.x+Z.width/2,y:Z.y+Z.height/2},Xe=(_-g[1]-g[3])/Z.width,yt=(I-g[0]-g[2])/Z.height,Ct=Xe;Xe>yt&&(Ct=yt),n?this.animatedFitView(D,H,i,Z,Ge,Qe,Ct,e):(d.translate(Ge.x-Qe.x,Ge.y-Qe.y),e&&!d.zoom(Ct,Ge)&&console.warn(\"zoom failed, ratio out of range, ratio: %f\",Ct))}}},o.prototype.changeSize=function(t,e){var n=this.graph;if(!Object(s.isNumber)(t)||!Object(s.isNumber)(e))throw Error(\"invalid canvas width & height, please make sure width & height type is number\");n.set({width:t,height:e}),n.get(\"canvas\").changeSize(t,e),n.get(\"plugins\").forEach(function(i){i.get(\"gridContainer\")&&i.positionInit()})},o.prototype.destroy=function(){this.graph=null,this.destroyed=!1},o}();function Xr(o){return(Xr=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(t){return typeof t}:function(t){return t&&typeof Symbol==\"function\"&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t})(o)}function oo(o){if(typeof o!=\"string\")return o;var t=function(sn){if(typeof sn!=\"string\")return sn;try{return JSON.parse(sn.trim())}catch(Nn){return sn.trim()}},e=t(o);if(typeof e!=\"string\")return e;for(var n=function(sn){return sn[sn.length-1]},i=o.trim(),d=[],g=[],_=function(){for(var sn=[],Nn=0;Nn<arguments.length;Nn++)sn[Nn]=arguments[Nn];return sn.some(function(Tn){return n(g)===Tn})},I=null,D=0,H=\"\";D<i.length;){var Z=i[D],te=_('\"',\"'\");if(te||Z.trim()){var de=i[D-1]===\"\\\\\",Pe=_(\"}\"),Ge=_(\"]\"),Qe=_(\",\"),Xe=n(d);if(te)if(n(g)!==Z||de)H+=Z;else{g.pop();var yt=t(H);Xe.push(yt),I=yt,H=\"\"}else if(Ge&&Z===\",\")H&&(Xe.push(t(H)),H=\"\");else if(Pe&&Z===\":\")g.push(\",\"),H&&(Xe.push(H),H=\"\");else if(Qe&&Z===\",\")H&&(Xe.push(t(H)),H=\"\"),g.pop();else if(Z===\"}\"&&(Pe||Qe)){H&&(Xe.push(t(H)),H=\"\"),Qe&&g.pop();for(var Ct={},on=1;on<Xe.length;on+=2)Ct[Xe[on-1]]=Xe[on];d.pop(),d.length&&n(d).push(Ct),g.pop(),I=Ct}else Z===\"]\"&&Ge?(H&&(Xe.push(t(H)),H=\"\"),d.pop(),d.length&&n(d).push(Xe),g.pop(),I=Xe):Z===\"{\"?(d.push([]),g.push(\"}\")):Z===\"[\"?(d.push([]),g.push(\"]\")):Z==='\"'?g.push('\"'):Z===\"'\"?g.push(\"'\"):H+=Z;D+=1}else D+=1}return I||H}function io(o,t){var e;t===void 0&&(t={x:0,y:0});var n=Object(l.__assign)({x:0,y:0,width:0,height:0},t);if(!((e=o.children)===null||e===void 0)&&e.length){var i=o.attrs,d=i===void 0?{}:i,g=d.marginTop,_=Object(l.__assign)({},t);g&&(_.y+=g);for(var I=0;I<o.children.length;I++){o.children[I].attrs.key=\"\".concat(d.key||\"root\",\" -\").concat(I,\" \");var D=io(o.children[I],_);if(D.bbox){var H=D.bbox;D.attrs.next===\"inline\"?_.x+=D.bbox.width:_.y+=D.bbox.height,H.width+H.x>n.width&&(n.width=H.width+H.x),H.height+H.y>n.height&&(n.height=H.height+H.y)}}}return o.bbox=function(Z,te,de){var Pe,Ge,Qe=Z.attrs,Xe=Qe===void 0?{}:Qe,yt={x:te.x||0,y:te.y||0,width:de.width||0,height:de.height||0};switch(Z.type){case\"maker\":case\"circle\":Xe.r&&(Ge=2*Xe.r,Pe=2*Xe.r);break;case\"text\":Xe.text&&(Ge=No(Xe.text,Xe.fontSize||12)[0],Pe=16,yt.y+=Pe,yt.height=Pe,yt.width=Ge,Z.attrs=Object(l.__assign)({fontSize:12,fill:\"#000\"},Xe));break;default:Xe.width&&(Ge=Xe.width),Xe.height&&(Pe=Xe.height)}return Pe>=0&&(yt.height=Pe),Ge>=0&&(yt.width=Ge),Xe.marginTop&&(yt.y+=Xe.marginTop),Xe.marginLeft&&(yt.x+=Xe.marginLeft),yt}(o,t,n),o.attrs=Object(l.__assign)(Object(l.__assign)({},o.attrs),o.bbox),o}function to(o){var t={},e=function(n){var i=function(_){return function(I){for(var D=_.length,H=[],Z=0,te=\"\";Z<D;)if(_[Z]===\"{\"&&_[Z+1]===\"{\")H.push(te),te=\"\",Z+=2;else if(_[Z]===\"}\"&&_[Z+1]===\"}\"){if(H.length){var de=H.pop();te=Object(s.get)(I,te,de.endsWith(\"=\")?'\"{'.concat(te,'}\"'):te),H.push(de+te)}Z+=2,te=\"\"}else te+=_[Z],Z+=1;return H.push(te),H.map(function(Pe,Ge){return H[Ge-1]&&H[Ge-1].endsWith(\"=\")?'\"{'.concat(Pe,'}\"'):Pe}).join(\"\")}}(typeof o==\"function\"?o(n):o)(n),d=document.createElement(\"div\");d.innerHTML=i;var g=io(function _(I,D){var H={},Z=I.getAttributeNames&&I.getAttributeNames()||[],te=I.children&&Array.from(I.children).map(function(Ge){return _(Ge,D)}),de={},Pe=I.tagName?I.tagName.toLowerCase():\"group\";return Pe===\"text\"&&(H.text=I.innerText),de.type=Pe,Pe===\"img\"&&(de.type=\"image\"),Array.from(Z).forEach(function(Ge){var Qe=Ge.split(\"-\").reduce(function(Ct,on){return Ct+on.charAt(0).toUpperCase()+on.slice(1)}),Xe=I.getAttribute(Ge);try{if(Qe===\"style\"||Qe===\"attrs\"){var yt=oo(Xe);H=Object(l.__assign)(Object(l.__assign)({},H),yt)}else de[Qe]=oo(Xe)}catch(Ct){if(Qe===\"style\")throw Ct;de[Qe]=Xe}}),de.attrs=H,D&&D.style&&de.name&&Xr(D.style[de.name])===\"object\"&&(de.attrs=Object(l.__assign)(Object(l.__assign)({},de.attrs),D.style[de.name])),D&&D.style&&de.keyshape&&(de.attrs=Object(l.__assign)(Object(l.__assign)({},de.attrs),D.style)),te.length&&(de.children=te),de}(d.children[0],n));return d.remove(),g};return{draw:function(n,i){var d=e(n),g=i;return function _(I){var D=I.attrs,H=D===void 0?{}:D,Z=I.bbox,te=I.type,de=I.children,Pe=Object(l.__rest)(I,[\"attrs\",\"bbox\",\"type\",\"children\"]);if(I.type!==\"group\"){var Ge=i.addShape(I.type,Object(l.__assign)({attrs:H,origin:{bbox:Z,type:te,children:de}},Pe));I.keyshape&&(g=Ge)}I.children&&I.children.forEach(function(Qe){return _(Qe)})}(d),t[n.id]=[d],g},update:function(n,i){t[n.id]||(t[n.id]=[]);var d=i.getContainer(),g=d.get(\"children\"),_=e(n),I=function Z(te,de){var Pe,Ge,Qe,Xe,yt=(te||{}).type,Ct=((de==null?void 0:de.attrs)||{}).key;if(Ct&&te&&(te.attrs.key=Ct),!te&&de)return{action:\"delete\",val:de,type:yt,key:Ct};if(te&&!de)return{action:\"add\",val:te,type:yt};if(!te&&!de)return{action:\"same\",type:yt};var on=[];if(((Pe=te.children)===null||Pe===void 0?void 0:Pe.length)>0||((Ge=de.children)===null||Ge===void 0?void 0:Ge.length)>0)for(var sn=Math.max((Qe=te.children)===null||Qe===void 0?void 0:Qe.length,(Xe=de.children)===null||Xe===void 0?void 0:Xe.length),Nn=de.children||[],Tn=te.children||[],Bn=0;Bn<sn;Bn+=1)on.push(Z(Tn[Bn],Nn[Bn]));var Hn=Object.keys(de.attrs),Sr=Object.keys(te.attrs);return de.type!==te.type?{action:\"restructure\",nowTarget:te,formerTarget:de,key:Ct,children:on}:Hn.filter(function(Cr){return Cr!==\"children\"}).some(function(Cr){return te.attrs[Cr]!==de.attrs[Cr]||!Sr.includes(Cr)})?{action:\"change\",val:te,children:on,type:yt,key:Ct}:{action:\"same\",children:on,type:yt,key:Ct}}(_,t[n.id].pop()),D=function Z(te){var de;te.type!==\"group\"&&d.addShape(te.type,{attrs:te.attrs}),!((de=te.children)===null||de===void 0)&&de.length&&te.children.map(function(Pe){return Z(Pe)})},H=function Z(te){var de,Pe=g.find(function(Ge){return Ge.attrs.key===te.attrs.key});Pe&&d.removeChild(Pe),!((de=te.children)===null||de===void 0)&&de.length&&te.children.map(function(Ge){return Z(Ge)})};(function Z(te){var de=te.key;if(te.type!==\"group\"){var Pe=g.find(function(Qe){return Qe.attrs.key===de});switch(te.action){case\"change\":if(Pe){var Ge=te.val.keyshape?i.getOriginStyle():{};Pe.attr(Object(l.__assign)(Object(l.__assign)({},Ge),te.val.attrs))}break;case\"add\":D(te.val);break;case\"delete\":H(te.val);break;case\"restructure\":H(te.formerTarget),D(te.nowTarget)}}te.children&&te.children.forEach(function(Qe){return Z(Qe)})})(I),t[n.id].push(_)},getAnchorPoints:function(){return[[0,.5],[1,.5],[.5,1],[.5,0]]}}}var To={};function jn(o){return To[o]||(To[o]=Object(s.upperFirst)(o)),To[o]}var W={defaultShapeType:\"defaultType\",className:null,getShape:function(o){return this[o]||this[this.defaultShapeType]||this[\"simple-circle\"]},draw:function(o,t,e){var n=this.getShape(o);e.shapeMap={};var i=n.draw(t,e);return n.afterDraw&&n.afterDraw(t,e,i),i},baseUpdate:function(o,t,e,n){var i,d,g=this.getShape(o);g.update&&(g.mergeStyle=(i=g.getOptions)===null||i===void 0?void 0:i.call(g,t,n),(d=g.update)===null||d===void 0||d.call(g,t,e,n)),g.afterUpdate&&g.afterUpdate(t,e)},setState:function(o,t,e,n){this.getShape(o).setState(t,e,n)},shouldUpdate:function(o){return!!this.getShape(o).update},getControlPoints:function(o,t){return this.getShape(o).getControlPoints(t)},getAnchorPoints:function(o,t){return this.getShape(o).getAnchorPoints(t)}},P={options:{},draw:function(o,t){return this.drawShape(o,t)},drawShape:function(){},afterDraw:function(){},afterUpdate:function(){},setState:function(){},getControlPoints:function(o){return o.controlPoints},getAnchorPoints:function(o){var t=this.options.anchorPoints;return o.anchorPoints||t}},k=function(){function o(){}return o.registerFactory=function(t,e){var n=jn(t),i=W,d=Object(l.__assign)(Object(l.__assign)({},i),e);return o[n]=d,d.className=n,d},o.getFactory=function(t){return o[jn(t)]},o.registerNode=function(t,e,n){var i,d=o.Node;if(typeof e==\"string\"||typeof e==\"function\"){var g=to(e);i=Object(l.__assign)(Object(l.__assign)({},d.getShape(\"single-node\")),g)}else if(e.jsx)g=to(e.jsx),i=Object(l.__assign)(Object(l.__assign)(Object(l.__assign)({},d.getShape(\"single-node\")),g),e);else{d.getShape(n);var _=n?d.getShape(n):P;i=Object(l.__assign)(Object(l.__assign)({},_),e)}return i.type=t,i.itemType=\"node\",d[t]=i,i},o.registerEdge=function(t,e,n){var i=o.Edge,d=n?i.getShape(n):P,g=Object(l.__assign)(Object(l.__assign)({},d),e);return g.type=t,g.itemType=\"edge\",i[t]=g,g},o.registerCombo=function(t,e,n){var i=o.Combo,d=n?i.getShape(n):P,g=Object(l.__assign)(Object(l.__assign)({},d),e);return g.type=t,g.itemType=\"combo\",i[t]=g,g},o}(),z=k;k.registerFactory(\"node\",{defaultShapeType:\"circle\"}),k.registerFactory(\"edge\",{defaultShapeType:\"line\"}),k.registerFactory(\"combo\",{defaultShapeType:\"circle\"});var Q=function(){function o(t){this._cfg={},this.destroyed=!1,this.optimize=!1;var e={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(e,this.getDefaultCfg(),t);var n=this.get(\"model\"),i=n.id,d=this.get(\"type\");i===void 0?i=tn(d):typeof i!=\"string\"&&(i=String(i)),this.get(\"model\").id=i,this.set(\"id\",i);var g=t.group;g&&(g.set(\"item\",this),g.set(\"id\",i)),this.init(),this.draw();var _=n.shape||n.type||(d===\"edge\"?\"line\":\"circle\"),I=this.get(\"shapeFactory\");if(I&&I[_]){var D=I[_].options;if(D&&D.stateStyles){var H=this.get(\"styles\")||n.stateStyles;H=Object(s.deepMix)({},D.stateStyles,H),this.set(\"styles\",H)}}}return o.prototype.calculateBBox=function(){var t=this.get(\"keyShape\"),e=this.get(\"group\"),n=wr(t,e);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},o.prototype.calculateCanvasBBox=function(){var t=this.get(\"keyShape\"),e=this.get(\"group\"),n=wr(t,e);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},o.prototype.drawInner=function(){var t=this.get(\"shapeFactory\"),e=this.get(\"group\"),n=this.get(\"model\");e.clear();var i=n.visible;if(i===void 0||i||this.changeVisibility(i),t){this.updatePosition(n);var d=this.getShapeCfg(n),g=d.type,_=t.draw(g,d,e);_&&(this.set(\"keyShape\",_),_.set(\"isKeyShape\",!0),_.set(\"draggable\",!0)),this.setOriginStyle(),this.set(\"currentShape\",g),this.restoreStates(t,g)}},o.prototype.setOriginStyle=function(){var t=this.get(\"group\"),e=t.get(\"children\"),n=this.getKeyShape(),i=this,d=n.get(\"name\");if(this.get(\"originStyle\")){var g=this.get(\"originStyle\");d&&!g[d]&&(g[d]={});var _=this.getCurrentStatesStyle(),I=function(Qe){var Xe=e[Qe],yt=Xe.get(\"name\"),Ct=Xe.attr();if(yt&&yt!==d){var on=_[yt];g[yt]||(g[yt]={}),on?Object.keys(Ct).forEach(function(Tn){var Bn=Ct[Tn];Bn!==on[Tn]&&(g[yt][Tn]=Bn)}):g[yt]=Xe.get(\"type\")!==\"image\"?Object(s.clone)(Ct):i.getShapeStyleByName(yt)}else{var sn=Xe.attr(),Nn={};Object.keys(_).forEach(function(Tn){var Bn=_[Tn];Tn!==d&&Object(s.isPlainObject)(Bn)||(Nn[Tn]=Bn)}),Object.keys(sn).forEach(function(Tn){var Bn=sn[Tn];Nn[Tn]!==Bn&&(d?g[d][Tn]=Bn:g[Tn]=Bn)})}};for(H=0;H<e.length;H++)I(H);delete g.path,delete g.matrix,delete g.x,delete g.y,g[d]&&(delete g[d].x,delete g[d].y,delete g[d].matrix,delete g[d].path),i.set(\"originStyle\",g)}else{for(var D={},H=0;H<e.length;H++){var Z=e[H],te=Z.get(\"type\"),de=Z.get(\"name\");if(de&&de!==d)D[de]=te!==\"image\"?Object(s.clone)(Z.attr()):i.getShapeStyleByName(de),te===\"text\"&&D[de]&&(delete D[de].x,delete D[de].y,delete D[de].matrix);else{var Pe=i.getShapeStyleByName();if(delete Pe.path,delete Pe.matrix,d)if(de)D[d]=Pe;else{var Ge=tn(\"shape\");Z.set(\"name\",Ge),t.shapeMap[Ge]=Z,D[Ge]=te!==\"image\"?Object(s.clone)(Z.attr()):i.getShapeStyleByName(de)}else Object.assign(D,Pe)}}i.set(\"originStyle\",D)}},o.prototype.restoreStates=function(t,e){var n=this,i=n.get(\"states\");Object(s.each)(i,function(d){t.setState(e,d,!0,n)})},o.prototype.init=function(){var t=z.getFactory(this.get(\"type\"));this.set(\"shapeFactory\",t)},o.prototype.get=function(t){return this._cfg[t]},o.prototype.set=function(t,e){Object(s.isPlainObject)(t)?this._cfg=Object(l.__assign)(Object(l.__assign)({},this._cfg),t):this._cfg[t]=e},o.prototype.getDefaultCfg=function(){return{}},o.prototype.clearCache=function(){this.set(\"bboxCache\",null),this.set(\"bboxCanvasCache\",null)},o.prototype.beforeDraw=function(){},o.prototype.afterDraw=function(){},o.prototype.afterUpdate=function(){},o.prototype.draw=function(){this.beforeDraw(),this.drawInner(),this.afterDraw()},o.prototype.getShapeStyleByName=function(t){var e,n=this.get(\"group\");if(e=t?n.shapeMap[t]:this.getKeyShape()){var i={};return Object(s.each)(e.attr(),function(d,g){(g!==\"img\"||Object(s.isString)(d))&&(i[g]=d)}),i}return{}},o.prototype.getShapeCfg=function(t,e){var n=this.get(\"styles\");if(n){var i=t;return i.style=Object(l.__assign)(Object(l.__assign)({},n),t.style),i}return t},o.prototype.getStateStyle=function(t){var e=this.get(\"styles\");return e&&e[t]},o.prototype.getOriginStyle=function(){return this.get(\"originStyle\")},o.prototype.getCurrentStatesStyle=function(){var t=this,e={},n=t.getStates();return n&&n.length?(Object(s.each)(t.getStates(),function(i){e=Object.assign(e,t.getStateStyle(i))}),e):this.get(\"originStyle\")},o.prototype.setState=function(t,e){var n=this.get(\"states\"),i=this.get(\"shapeFactory\"),d=t,g=t;Object(s.isString)(e)&&(d=\"\".concat(t,\":\").concat(e),g=\"\".concat(t,\":\"));var _=n;if(Object(s.isBoolean)(e)){var I=n.indexOf(g);if(e){if(I>-1)return;n.push(d)}else I>-1&&n.splice(I,1)}else if(Object(s.isString)(e)){var D=n.filter(function(Z){return Z.includes(g)});D.length>0&&this.clearStates(D),(_=_.filter(function(Z){return!Z.includes(g)})).push(d),this.set(\"states\",_)}if(i){var H=this.get(\"model\").type;i.setState(H,t,e,this)}},o.prototype.clearStates=function(t){var e=this,n=e.getStates(),i=e.get(\"shapeFactory\"),d=e.get(\"model\").type;t||(t=n),Object(s.isString)(t)&&(t=[t]);var g=n.filter(function(_){return t.indexOf(_)===-1});e.set(\"states\",g),t.forEach(function(_){i.setState(d,_,!1,e)})},o.prototype.setOptimize=function(t){this.optimize=t},o.prototype.getContainer=function(){return this.get(\"group\")},o.prototype.getKeyShape=function(){return this.get(\"keyShape\")},o.prototype.getModel=function(){return this.get(\"model\")},o.prototype.getType=function(){return this.get(\"type\")},o.prototype.getID=function(){return this.get(\"id\")},o.prototype.isItem=function(){return!0},o.prototype.getStates=function(){return this.get(\"states\")},o.prototype.hasState=function(t){return this.getStates().indexOf(t)>=0},o.prototype.refresh=function(t){var e=this.get(\"model\");this.updatePosition(e),this.updateShape(t),this.afterUpdate(),this.clearCache()},o.prototype.getUpdateType=function(t){},o.prototype.update=function(t,e){e===void 0&&(e=void 0);var n=this.get(\"model\");if(e===\"move\")this.updatePosition(t);else{var i=n.visible,d=t.visible;i!==d&&d!==void 0&&this.changeVisibility(d);var g={x:n.x,y:n.y};t.x=isNaN(+t.x)?n.x:+t.x,t.y=isNaN(+t.y)?n.y:+t.y;var _=this.get(\"styles\");if(t.stateStyles){var I=t.stateStyles;Object(s.mix)(_,I),delete t.stateStyles}Object.assign(n,t),g.x===t.x&&g.y===t.y||this.updatePosition(t),this.updateShape(e)}this.afterUpdate(),this.clearCache()},o.prototype.updateShape=function(t){var e=this.get(\"shapeFactory\"),n=this.get(\"model\"),i=n.type;if(e.shouldUpdate(i)&&i===this.get(\"currentShape\")){var d=this.getShapeCfg(n,t);e.baseUpdate(i,d,this,t),t!==\"move\"&&this.setOriginStyle()}else this.draw();this.restoreStates(e,i)},o.prototype.updatePosition=function(t){var e=this.get(\"model\"),n=isNaN(+t.x)?+e.x:+t.x,i=isNaN(+t.y)?+e.y:+t.y,d=this.get(\"group\");if(isNaN(n)||isNaN(i))return!1;e.x=n,e.y=i;var g=d.getMatrix();return(!g||g[6]!==n||g[7]!==i)&&(d.resetMatrix(),wi(d,{x:n,y:i}),this.clearCache(),!0)},o.prototype.getBBox=function(){var t=this.get(\"bboxCache\");return t||(t=this.calculateBBox(),this.set(\"bboxCache\",t)),t},o.prototype.getCanvasBBox=function(){var t=this.get(\"bboxCanvasCache\");return t||(t=this.calculateCanvasBBox(),this.set(\"bboxCanvasCache\",t)),t},o.prototype.toFront=function(){this.get(\"group\").toFront()},o.prototype.toBack=function(){this.get(\"group\").toBack()},o.prototype.show=function(){this.changeVisibility(!0)},o.prototype.hide=function(){this.changeVisibility(!1)},o.prototype.changeVisibility=function(t){var e=this.get(\"group\");t?e.show():e.hide(),this.set(\"visible\",t)},o.prototype.isVisible=function(){return this.get(\"visible\")},o.prototype.enableCapture=function(t){var e=this.get(\"group\");e&&e.set(\"capture\",t)},o.prototype.destroy=function(){if(!this.destroyed){var t=this.get(\"animate\"),e=this.get(\"group\");t&&e.stopAnimate(),e.shapeMap={},this.clearCache(),e.remove(),this._cfg=null,this.destroyed=!0}},o}(),F={source:\"start\",target:\"end\"},V=function(o){function t(){return o!==null&&o.apply(this,arguments)||this}return Object(l.__extends)(t,o),t.prototype.getDefaultCfg=function(){return{type:\"edge\",sourceNode:null,targetNode:null,startPoint:null,endPoint:null,linkCenter:!1}},t.prototype.setEnd=function(e,n){var i=F[e]+\"Point\",d=e+\"Node\",g=this.get(d);g&&!g.destroyed&&g.removeEdge(this),Object(s.isPlainObject)(n)?(this.set(i,n),this.set(d,null)):n&&(n.addEdge(this),this.set(d,n),this.set(i,null))},t.prototype.getLinkPoint=function(e,n,i){var d=F[e]+\"Point\",g=e+\"Node\",_=this.get(d);if(!_){var I=this.get(g),D=e+\"Anchor\",H=this.getPrePoint(e,i),Z=n[D];Object(s.isNil)(Z)||(_=I.getLinkPointByAnchor(Z)),_=_||I.getLinkPoint(H),Object(s.isNil)(_.index)||this.set(\"\".concat(e,\"AnchorIndex\"),_.index)}return _},t.prototype.getPrePoint=function(e,n){if(n&&n.length)return n[e===\"source\"?0:n.length-1];var i=e===\"source\"?\"target\":\"source\";return this.getEndPoint(i)},t.prototype.getEndPoint=function(e){var n=e+\"Node\",i=F[e]+\"Point\",d=this.get(n);return d&&!d.destroyed?d.get(\"model\"):this.get(i)},t.prototype.getControlPointsByCenter=function(e){var n=this.getEndPoint(\"source\"),i=this.getEndPoint(\"target\"),d=this.get(\"shapeFactory\"),g=e.type;return d.getControlPoints(g,{startPoint:n,endPoint:i})},t.prototype.getEndCenter=function(e){var n=e+\"Node\",i=F[e]+\"Point\",d=this.get(n);if(d){var g=d.getBBox();return{x:g.centerX,y:g.centerY}}return this.get(i)},t.prototype.init=function(){o.prototype.init.call(this),this.setSource(this.get(\"source\")),this.setTarget(this.get(\"target\"))},t.prototype.getShapeCfg=function(e,n){var i=this.get(\"linkCenter\"),d=n!=null&&n.includes(\"move\")?e:o.prototype.getShapeCfg.call(this,e);if(i)d.startPoint=this.getEndCenter(\"source\"),d.endPoint=this.getEndCenter(\"target\");else{var g=d.controlPoints||this.getControlPointsByCenter(d);d.startPoint=this.getLinkPoint(\"source\",e,g),d.endPoint=this.getLinkPoint(\"target\",e,g)}return d.sourceNode=this.get(\"sourceNode\"),d.targetNode=this.get(\"targetNode\"),d},t.prototype.getModel=function(){var e=this.get(\"model\"),n=this.get(\"source\".concat(\"Node\")),i=this.get(\"target\".concat(\"Node\"));return n?delete e[\"source\".concat(\"Node\")]:e.source=this.get(\"start\".concat(\"Point\")),i?delete e[\"target\".concat(\"Node\")]:e.target=this.get(\"end\".concat(\"Point\")),Object(s.isString)(e.source)||Object(s.isPlainObject)(e.source)||(e.source=e.source.getID()),Object(s.isString)(e.target)||Object(s.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,n){n===void 0&&(n=void 0);var i=this.get(\"model\"),d=i.visible,g=e.visible;d!==g&&g!==void 0&&this.changeVisibility(g);var _=this.get(\"source\"),I=this.get(\"target\");if(_&&!_.destroyed&&I&&!I.destroyed){var D=this.get(\"styles\");if(e.stateStyles){var H=e.stateStyles;Object(s.mix)(D,H),delete e.stateStyles}Object.assign(i,e),this.updateShape(n),this.afterUpdate(),this.clearCache()}},t.prototype.destroy=function(){var e=this.get(\"source\".concat(\"Node\")),n=this.get(\"target\".concat(\"Node\"));e&&!e.destroyed&&e.removeEdge(this),n&&!n.destroyed&&n.removeEdge(this),o.prototype.destroy.call(this)},t}(Q),U=function(o){function t(){return o!==null&&o.apply(this,arguments)||this}return Object(l.__extends)(t,o),t.prototype.getNearestPoint=function(e,n){for(var i=0,d=e[0],g=yo(e[0],n),_=0;_<e.length;_++){var I=e[_],D=yo(I,n);D<g&&(d=I,g=D,i=_)}return d.anchorIndex=i,d},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(n){return n.get(\"target\")===e})},t.prototype.getOutEdges=function(){var e=this;return this.get(\"edges\").filter(function(n){return n.get(\"source\")===e})},t.prototype.getNeighbors=function(e){var n=this,i=this.get(\"edges\");return e===\"target\"?i.filter(function(d){return d.getSource()===n}).map(function(d){return d.getTarget()}):e===\"source\"?i.filter(function(d){return d.getTarget()===n}).map(function(d){return d.getSource()}):i.map(function(d){return d.getSource()===n?d.getTarget():d.getSource()})},t.prototype.getLinkPointByAnchor=function(e){return this.getAnchorPoints()[e]},t.prototype.getLinkPoint=function(e){var n,i,d=this.get(\"keyShape\").get(\"type\"),g=this.get(\"type\"),_=this.getBBox();g===\"combo\"?(n=_.centerX||(_.maxX+_.minX)/2,i=_.centerY||(_.maxY+_.minY)/2):(n=_.centerX,i=_.centerY);var I,D=this.getAnchorPoints();switch(d){case\"circle\":I=cn({x:n,y:i,r:_.width/2},e);break;case\"ellipse\":I=er({x:n,y:i,rx:_.width/2,ry:_.height/2},e);break;default:I=xt(_,e)}var H=I;return D.length&&(H||(H=e),H=this.getNearestPoint(D,H)),H||(H={x:n,y:i}),H},t.prototype.getAnchorPoints=function(){var e=this.get(\"anchorPointsCache\");if(!e){e=[];var n=this.get(\"shapeFactory\"),i=this.getBBox(),d=this.get(\"model\"),g=this.getShapeCfg(d),_=d.type,I=n.getAnchorPoints(_,g)||[];Object(s.each)(I,function(D,H){var Z={x:i.minX+D[0]*i.width,y:i.minY+D[1]*i.height,anchorIndex:H};e.push(Z)}),this.set(\"anchorPointsCache\",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 n=this.getEdges(),i=n.indexOf(e);i>-1&&n.splice(i,1)},t.prototype.clearCache=function(){this.set(\"bboxCache\",null),this.set(\"anchorPointsCache\",null)},t.prototype.getUpdateType=function(e){var n,i,d,g,_;if(e){var I=!Object(s.isNil)(e.x),D=!Object(s.isNil)(e.y),H=Object.keys(e);return H.length===1&&(I||D)||H.length===2&&I&&D?\"move\":Object(s.isNumber)(e.x)||Object(s.isNumber)(e.y)||e.type||e.anchorPoints||e.size||e!=null&&e.style&&(!((n=e==null?void 0:e.style)===null||n===void 0)&&n.r||!((i=e==null?void 0:e.style)===null||i===void 0)&&i.width||!((d=e==null?void 0:e.style)===null||d===void 0)&&d.height||!((g=e==null?void 0:e.style)===null||g===void 0)&&g.rx||!((_=e==null?void 0:e.style)===null||_===void 0)&&_.ry)?\"bbox|label\":H.includes(\"label\")||H.includes(\"labelCfg\")?\"style|label\":\"style\"}},t.prototype.setState=function(e,n){var i=this;this.optimize?o.prototype.setState.call(this,e,n):this.runWithBBoxAffected(function(){return o.prototype.setState.call(i,e,n)})},t.prototype.clearStates=function(e){var n=this;this.optimize?o.prototype.clearStates.call(this,e):this.runWithBBoxAffected(function(){return o.prototype.clearStates.call(n,e)})},t.prototype.runWithBBoxAffected=function(e){var n=[\"r\",\"width\",\"height\",\"rx\",\"ry\",\"lineWidth\"],i=this.getKeyShape().attr(),d={};Object.keys(this.getKeyShape().attr()).forEach(function(D){n.includes(D)&&(d[D]=i[D])}),e();for(var g=this.getKeyShape().attr(),_=0;_<n.length;_++){var I=n[_];if(g[I]!==d[I]){this.clearCache(),this.getEdges().forEach(function(D){return D.refresh()});break}}},t}(Q),ge=function(o){function t(){return o!==null&&o.apply(this,arguments)||this}return Object(l.__extends)(t,o),t.prototype.getDefaultCfg=function(){return{type:\"combo\",nodes:[],edges:[],combos:[]}},t.prototype.getShapeCfg=function(e){var n=this.get(\"styles\"),i=this.get(\"bbox\");if(n&&i){var d=e,g=Object(s.isNumber)(e.size)?[e.size,e.size]:e.size,_=Object(s.isNumber)(e.fixSize)?[e.fixSize,e.fixSize]:e.fixSize,I=g||_||Ae.defaultCombo.size,D={r:(Math.max(i.width,i.height)||Math.max(I[0],I[1]))/2,width:i.width||I[0],height:i.height||I[1]};d.style=Object(l.__assign)(Object(l.__assign)(Object(l.__assign)({},n),e.style),D);var H=e.padding||Ae.defaultCombo.padding;return Object(s.isNumber)(H)?(D.r+=H,D.width+=2*H,D.height+=2*H):(D.r=D.r+Math.max.apply(Math,H),D.width+=H[1]+H[3]||2*H[1],D.height+=H[0]+H[2]||2*H[0]),this.set(\"sizeCache\",D),d}return e},t.prototype.calculateCanvasBBox=function(){if(!this.destroyed){var e=this.get(\"keyShape\"),n=this.get(\"group\"),i=wr(e,n);i.centerX=(i.minX+i.maxX)/2,i.centerY=(i.minY+i.maxY)/2;var d=this.get(\"bboxCache\")||{},g=d.x,_=d.x;return i.width=i.maxX-i.minX,i.height=i.maxY-i.minY,i.centerX=(i.minX+i.maxX)/2,i.centerY=(i.minY+i.maxY)/2,i.x=i.minX,i.y=i.minY,i.x===g&&i.y===_||this.set(\"anchorPointsCache\",null),i}},t.prototype.getChildren=function(){return{nodes:this.getNodes(),combos:this.getCombos()}},t.prototype.getNodes=function(){return this.get(\"nodes\")},t.prototype.getCombos=function(){return this.get(\"combos\")},t.prototype.addChild=function(e){switch(e.getType()){case\"node\":this.addNode(e);break;case\"combo\":this.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){return this.get(\"combos\").push(e),!0},t.prototype.addNode=function(e){return this.get(\"nodes\").push(e),!0},t.prototype.removeChild=function(e){switch(e.getType()){case\"node\":this.removeNode(e);break;case\"combo\":this.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 n=this.getCombos(),i=n.indexOf(e);return i>-1&&(n.splice(i,1),!0)}},t.prototype.removeNode=function(e){if(e){var n=this.getNodes(),i=n.indexOf(e);return i>-1&&(n.splice(i,1),!0)}},t.prototype.getUpdateType=function(e){},t.prototype.getBBox=function(){return this.set(\"bboxCanvasCache\",null),this.calculateCanvasBBox()},t.prototype.clearCache=function(){this.set(\"bboxCache\",null),this.set(\"bboxCanvasCache\",null),this.set(\"anchorPointsCache\",null)},t.prototype.destroy=function(){if(!this.destroyed){var e=this.get(\"animate\"),n=this.get(\"group\");e&&n.stopAnimate(),n.shapeMap={},this.clearCache(),this.set(\"sizeCache\",null),this.set(\"bbox\",null),n.remove(),this._cfg=null,this.destroyed=!0}},t}(U),ke=function(){function o(t){var e=this;this.edgeToBeUpdateMap={},this.throttleRefresh=Object(s.throttle)(function(n){var i=e.graph;if(i&&!i.get(\"destroyed\")){var d=e.edgeToBeUpdateMap;if(d){var g=Object.values(d);g.length&&(g.forEach(function(_){var I=_.edge;if(I&&!I.destroyed){var D=I.getSource(),H=I.getTarget();D&&!D.destroyed&&H&&!H.destroyed&&I.refresh(_.updateType)}}),e.edgeToBeUpdateMap={})}}},16,{trailing:!0,leading:!0}),this.graph=t,this.destroyed=!1}return o.prototype.addItem=function(t,e){var n=this.graph,i=t===\"vedge\"?\"edge\":t,d=n.get(\"\".concat(i,\"Group\"))||n.get(\"group\"),g=Object(s.upperFirst)(i),_=null,I=n.get(i+Object(s.upperFirst)(\"stateStyles\"))||{},D=n.get(\"default\"+g);e.stateStyles&&(I=e.stateStyles),D&&Object(s.each)(D,function(Nn,Tn){Object(s.isObject)(Nn)&&!Object(s.isArray)(Nn)?e[Tn]=Object(s.deepMix)({},Nn,e[Tn]):Object(s.isArray)(Nn)?e[Tn]=e[Tn]||Object(s.clone)(D[Tn]):e[Tn]=e[Tn]||D[Tn]});var H=n.get(i+\"Mapper\");if(H){var Z=H(e);Z.stateStyles&&(I=Z.stateStyles,delete Z.stateStyles),Object(s.each)(Z,function(Nn,Tn){Object(s.isObject)(Nn)&&!Object(s.isArray)(Nn)?e[Tn]=Object(s.deepMix)({},e[Tn],Nn):e[Tn]=Z[Tn]||e[Tn]})}if(n.emit(\"beforeadditem\",{type:t,model:e}),t===\"edge\"||t===\"vedge\"){var te=void 0,de=void 0;if(te=e.source,de=e.target,te&&Object(s.isString)(te)&&(te=n.findById(te)),de&&Object(s.isString)(de)&&(de=n.findById(de)),!te||!de)return void console.warn(\"The source or target node of edge \".concat(e.id,\" does not exist!\"));te.getType&&te.getType()===\"combo\"&&(e.isComboEdge=!0),de.getType&&de.getType()===\"combo\"&&(e.isComboEdge=!0),_=new V({model:e,source:te,target:de,styles:I,linkCenter:n.get(\"linkCenter\"),group:d.addGroup()})}else if(t===\"node\")_=new U({model:e,styles:I,group:d.addGroup()});else if(t===\"combo\"){var Pe=e.children,Ge=Si(Pe,n),Qe=void 0,Xe=void 0;if(isNaN(Ge.x)?isNaN(e.x)&&(Qe=100*Math.random()):Qe=Ge.x,isNaN(Ge.y)?isNaN(e.y)&&(Xe=100*Math.random()):Xe=Ge.y,isNaN(e.x)||isNaN(e.y))e.x=Qe,e.y=Xe;else{var yt=e.x-Qe,Ct=e.y-Xe;this.updateComboSucceeds(e.id,yt,Ct,Pe)}var on=d.addGroup();on.setZIndex(e.depth),_=new ge({model:e,styles:I,animate:n.get(\"animate\"),bbox:e.collapsed?Si([],n):Ge,group:on}),e.collapsed||_.getKeyShape().get(\"type\")!==\"circle\"||(Ge.width=Math.hypot(Ge.height,Ge.width),Ge.height=Ge.width,_.set(\"bbox\",Ge),_.refresh());var sn=_.getModel();(Pe||[]).forEach(function(Nn){var Tn=n.findById(Nn.id);_.addChild(Tn),Nn.depth=sn.depth+2})}if(_)return _.setOptimize(n.getNodes().length>n.get(\"optimizeThreshold\")),n.get(\"\".concat(t,\"s\")).push(_),n.get(\"itemMap\")[_.get(\"id\")]=_,n.emit(\"afteradditem\",{item:_,model:e}),_},o.prototype.updateItem=function(t,e){var n,i,d=this,g=this.graph;if(Object(s.isString)(t)&&(t=g.findById(t)),t&&!t.destroyed){var _=\"\";t.getType&&(_=t.getType());var I=g.get(_+\"Mapper\"),D=t.getModel(),H=D.x,Z=D.y,te=t.getUpdateType(e);if(I){var de=I(Object(s.deepMix)({},D,e)),Pe=Object(s.deepMix)({},D,de,e);de.stateStyles&&(t.set(\"styles\",Pe.stateStyles),delete Pe.stateStyles),Object(s.each)(Pe,function(Tn,Bn){e[Bn]=Tn})}else Object(s.each)(e,function(Tn,Bn){D[Bn]&&Object(s.isObject)(Tn)&&!Object(s.isArray)(Tn)&&(e[Bn]=Object(l.__assign)(Object(l.__assign)({},D[Bn]),e[Bn]))});if(g.emit(\"beforeupdateitem\",{item:t,cfg:e}),_===\"edge\"){if(e.source){var Ge=e.source;Object(s.isString)(Ge)&&(Ge=g.findById(Ge)),t.setSource(Ge)}if(e.target){var Qe=e.target;Object(s.isString)(Qe)&&(Qe=g.findById(Qe)),t.setTarget(Qe)}t.update(e)}else if(_===\"node\"){t.update(e,te);var Xe=t.getEdges();te===\"move\"?Object(s.each)(Xe,function(Tn){d.edgeToBeUpdateMap[Tn.getID()]={edge:Tn,updateType:te},d.throttleRefresh()}):te!=null&&te.includes(\"bbox\")&&Object(s.each)(Xe,function(Tn){Tn.refresh(te)})}else if(_===\"combo\"){if(t.update(e,te),!isNaN(e.x)||!isNaN(e.y)){var yt=e.x-H||0,Ct=e.y-Z||0;this.updateComboSucceeds(D.id,yt,Ct)}var on=t.getEdges();if((te!=null&&te.includes(\"bbox\")||te===\"move\")&&_===\"combo\"){var sn=t.get(\"shapeFactory\"),Nn=D.type||\"circle\";(D.animate===void 0||e.animate===void 0?!((i=(n=sn[Nn])===null||n===void 0?void 0:n.options)===null||i===void 0)&&i.animate:D.animate||e.animate)?setTimeout(function(){if(t&&!t.destroyed){var Tn=t.getKeyShape();Tn&&!Tn.destroyed&&Object(s.each)(on,function(Bn){Bn&&!Bn.destroyed&&Bn.refresh()})}},201):Object(s.each)(on,function(Tn){Tn.refresh()})}}t.setOptimize(g.getNodes().length>g.get(\"optimizeThreshold\")),g.emit(\"afterupdateitem\",{item:t,cfg:e})}},o.prototype.updateCombo=function(t,e,n){var i,d,g=this,_=this.graph;if(Object(s.isString)(t)&&(t=_.findById(t)),t&&!t.destroyed){var I=t.getModel(),D=Si(e,_,t),H=D.x,Z=D.y;t.set(\"bbox\",D);var te=H,de=Z;n?(te=isNaN(I.x)?H:I.x,de=isNaN(I.y)?Z:I.y):(te=isNaN(H)?I.x:H,de=isNaN(Z)?I.y:Z),t.update({x:te,y:de});var Pe=t.get(\"shapeFactory\"),Ge=I.type||\"circle\";(I.animate===void 0?!((d=(i=Pe[Ge])===null||i===void 0?void 0:i.options)===null||d===void 0)&&d.animate:I.animate)?setTimeout(function(){if(t&&!t.destroyed){var Qe=t.getKeyShape();Qe&&!Qe.destroyed&&(t.getShapeCfg(I),g.updateComboEdges(t))}},201):this.updateComboEdges(t)}},o.prototype.updateComboEdges=function(t){for(var e,n,i=t.getEdges()||[],d=0;d<i.length;d++){var g=i[d];g!=null&&g.destroyed||!((e=g==null?void 0:g.getSource())===null||e===void 0)&&e.destroyed||!((n=g==null?void 0:g.getTarget())===null||n===void 0)&&n.destroyed||g.refresh()}},o.prototype.collapseCombo=function(t,e){e===void 0&&(e=!0);var n=this.graph;Object(s.isString)(t)&&(t=n.findById(t));var i=t.getChildren();i.nodes.forEach(function(d){n.hideItem(d,e)}),i.combos.forEach(function(d){n.hideItem(d,e)})},o.prototype.updateComboSucceeds=function(t,e,n,i){var d=this;i===void 0&&(i=[]);var g=this.graph;if(e||n){var _=i;if(!(_!=null&&_.length)){var I=g.get(\"comboTrees\");I==null||I.forEach(function(D){Ir(D,function(H){return H.id!==t||(_=H.children,!1)})})}_==null||_.forEach(function(D){var H=g.findById(D.id);if(H){var Z=H.getModel();d.updateItem(D.id,{x:(Z.x||0)+e,y:(Z.y||0)+n})}})}},o.prototype.expandCombo=function(t,e){e===void 0&&(e=!0);var n=this.graph;Object(s.isString)(t)&&(t=n.findById(t));var i=t.getChildren(),d=new Set;i.nodes.forEach(function(g){n.showItem(g,e),g.getEdges().forEach(function(_){return d.add(_)})}),i.combos.forEach(function(g){g.getModel().collapsed?g.show():n.showItem(g,e),g.getEdges().forEach(function(_){return d.add(_)})}),d.forEach(function(g){return g.refresh()})},o.prototype.removeItem=function(t){var e=this,n=this.graph;if(Object(s.isString)(t)&&(t=n.findById(t)),t&&!t.destroyed){var i=Object(s.clone)(t.getModel()),d=\"\";t.getType&&(d=t.getType()),n.emit(\"beforeremoveitem\",{item:i,type:d});var g=n.get(\"\".concat(d,\"s\")),_=g.indexOf(t);if(_>-1&&g.splice(_,1),d===\"edge\"){var I=n.get(\"v\".concat(d,\"s\")),D=I.indexOf(t);D>-1&&I.splice(D,1)}var H=t.get(\"id\");delete n.get(\"itemMap\")[H];var Z=n.get(\"comboTrees\"),te=t.get(\"id\");if(d===\"node\"){var de=t.getModel().comboId;if(Z&&de){var Pe=Z,Ge=!1;Z.forEach(function(sn){Ge||Ir(sn,function(Nn){if(Nn.id===te&&Pe){var Tn=Pe.indexOf(Nn);return Pe.splice(Tn,1),Ge=!0,!1}return Pe=Nn.children,!0})})}for(var Qe=(on=t.getEdges()).length-1;Qe>=0;Qe--)n.removeItem(on[Qe],!1);de&&n.updateCombo(de)}else if(d===\"combo\"){var Xe,yt=t.getModel().parentId,Ct=!1;(Z||[]).forEach(function(sn){Ct||Ir(sn,function(Nn){return Nn.id!==te||(Xe=Nn,Ct=!0,!1)})}),Xe.removed=!0,Xe&&Xe.children&&Xe.children.forEach(function(sn){e.removeItem(sn.id)});var on;for(Qe=(on=t.getEdges()).length;Qe>=0;Qe--)n.removeItem(on[Qe],!1);yt&&n.updateCombo(yt)}t.destroy(),n.emit(\"afterremoveitem\",{item:i,type:d})}},o.prototype.setItemState=function(t,e,n){var i=this.graph,d=e;Object(s.isString)(n)&&(d=\"\".concat(e,\":\").concat(n)),t.hasState(d)===n&&n||Object(s.isString)(n)&&t.hasState(d)||(i.emit(\"beforeitemstatechange\",{item:t,state:d,enabled:n}),t.setState(e,n),i.autoPaint(),i.emit(\"afteritemstatechange\",{item:t,state:d,enabled:n}))},o.prototype.priorityState=function(t,e){var n=this.graph,i=t;Object(s.isString)(t)&&(i=n.findById(t)),this.setItemState(i,e,!1),this.setItemState(i,e,!0)},o.prototype.clearItemStates=function(t,e){var n=this.graph;Object(s.isString)(t)&&(t=n.findById(t)),n.emit(\"beforeitemstatesclear\",{item:t,states:e}),t.clearStates(e),n.emit(\"afteritemstatesclear\",{item:t,states:e})},o.prototype.refreshItem=function(t){var e=this.graph;Object(s.isString)(t)&&(t=e.findById(t)),e.emit(\"beforeitemrefresh\",{item:t}),t.refresh(),e.emit(\"afteritemrefresh\",{item:t})},o.prototype.addCombos=function(t,e){var n=this,i=this.graph;(t||[]).forEach(function(g){Jr(g,function(_){var I;return e.forEach(function(D){D.id===_.id&&(D.children=_.children,D.depth=_.depth,I=D)}),I&&n.addItem(\"combo\",I),!0})});var d=i.get(\"comboGroup\");d&&d.sort()},o.prototype.changeItemVisibility=function(t,e){var n=this,i=this.graph;if(Object(s.isString)(t)&&(t=i.findById(t)),t){if(i.emit(\"beforeitemvisibilitychange\",{item:t,visible:e}),t.changeVisibility(e),t.getType&&t.getType()===\"node\"){var d=t.getEdges();Object(s.each)(d,function(H){(!e||H.get(\"source\").isVisible()&&H.get(\"target\").isVisible())&&n.changeItemVisibility(H,e)})}else if(t.getType&&t.getType()===\"combo\"){var g=i.get(\"comboTrees\"),_=t.get(\"id\"),I=[],D=!1;(g||[]).forEach(function(H){D||H.children&&H.children.length!==0&&Ir(H,function(Z){return Z.id!==_||(I=Z.children,D=!0,!1)})}),I&&(!e||e&&!t.getModel().collapsed)&&I.forEach(function(H){var Z=i.findById(H.id);n.changeItemVisibility(Z,e)}),d=t.getEdges(),Object(s.each)(d,function(H){(!e||H.get(\"source\").isVisible()&&H.get(\"target\").isVisible())&&n.changeItemVisibility(H,e)})}return i.emit(\"afteritemvisibilitychange\",{item:t,visible:e}),t}console.warn(\"The item to be shown or hidden does not exist!\")},o.prototype.destroy=function(){this.graph=null,this.destroyed=!0},o}(),St=function(){function o(t){this.graph=t,this.destroyed=!1}return o.prototype.updateState=function(t,e,n){var i=this.graph.get(\"states\"),d=e;Object(s.isString)(n)&&(d=\"\".concat(e,\":\").concat(n)),i[d]||(i[d]=[]),n?i[d].push(t):i[d]=i[d].filter(function(g){return g!==t}),this.graph.set(\"states\",i),this.graph.emit(\"graphstatechange\",{states:i})},o.prototype.updateStates=function(t,e,n){var i=this.graph.get(\"states\");(Object(s.isString)(e)?[e]:e).forEach(function(d){var g=d;i[g]||(i[g]=[]),Object(s.isString)(n)&&(g=\"\".concat(d,\":\").concat(n)),n?i[g].push(t):i[g]=i[g].filter(function(_){return _!==t})}),this.graph.set(\"states\",i),this.graph.emit(\"graphstatechange\",{states:e})},o.prototype.destroy=function(){this.graph=null,this.destroyed=!0},o}(),Je=r(21),Ot=function(o,t){return o&&t?o.replace(/\\\\?\\{([^{}]+)\\}/g,function(e,n){if(e.charAt(0)===\"\\\\\")return e.slice(1);var i=t[n];return i===0&&(i=\"0\"),i||\"\"}):o},It=function(o){var t=[];if(o.length<2)throw new Error(\"point length must largn than 2, now it's \".concat(o.length));for(var e=0,n=o;e<n.length;e++){var i=n[e],d=i.x,g=i.y;t.push(d),t.push(g)}var _=Object(Je.a)(t);return _.unshift([\"M\",o[0].x,o[0].y]),_},jt=function(o,t,e,n){e===void 0&&(e=0),n===void 0&&(n=0);var i={x:(1-e)*o.x+e*t.x,y:(1-e)*o.y+e*t.y},d=[0,0];j.c.normalize(d,[t.x-o.x,t.y-o.y]),d&&(d[0]||d[1])||(d=[0,0]);var g=[-d[1]*n,d[0]*n];return i.x+=g[0],i.y+=g[1],i},Vt=function(o,t){var e=o.length;if(!e)return\"\";for(var n=\"\",i=0;i<e;i++){var d=o[i];n+=Ot(i===0?\"M{x} {y}\":\"L{x} {y}\",d)}return t&&(n+=\"Z\"),n},Pn=function(o){var t=[];return o.forEach(function(e){if(e[0]!==\"A\")for(var n=1;n<e.length;n+=2)t.push([e[n],e[n+1]]);else{var i=e.length;t.push([e[i-2],e[i-1]])}}),t},Jn=function(o){if(o.length<2)throw new Error(\"point length must largn than 2, now it's \".concat(o.length));var t=o[0],e=o[1],n=o[o.length-1],i=o[o.length-2];o.unshift(n),o.unshift(i),o.push(t),o.push(e);for(var d=[],g=1;g<o.length-2;g+=1){var _=o[g-1].x,I=o[g-1].y,D=o[g].x,H=o[g].y,Z=o[g+1].x,te=o[g+1].y,de=D+(Z-_)/6,Pe=H+(te-I)/6,Ge=Z-((g!==o.length-2?o[g+2].x:Z)-D)/6,Qe=te-((g!==o.length-2?o[g+2].y:te)-H)/6;d.push([\"C\",de,Pe,Ge,Qe,Z,te])}return d.unshift([\"M\",n.x,n.y]),d},vn=function(o,t){return j.c.scale([0,0],j.c.normalize([0,0],o),t)},Vn=function(o,t){var e=[o[1]-t[1],t[0]-o[0]],n=Math.sqrt(e[0]*e[0]+e[1]*e[1]);if(n===0)throw new Error(\"p0 should not be equal to p1\");return[e[0]/n,e[1]/n]},zt=function(o,t){return[t[0]-o[0],t[1]-o[1]]};function ir(o,t){if(!o||o.length<1)return\"\";if(o.length===1)return function(I){var D=[I[0][0],I[0][1]-t],H=[I[0][0],I[0][1]+t];return\"M \".concat(D,\" A \").concat(t,\",\").concat(t,\",0,0,0,\").concat(H,\" A \").concat(t,\",\").concat(t,\",0,0,0,\").concat(D)}(o);if(o.length===2)return function(I){var D=j.c.scale([0,0],Vn(I[0],I[1]),t),H=j.c.scale([0,0],D,-1),Z=j.c.add([0,0],I[0],D),te=j.c.add([0,0],I[1],D),de=j.c.add([0,0],I[1],H),Pe=j.c.add([0,0],I[0],H);return\"M \".concat(Z,\" L \").concat(te,\" A \").concat([t,t,\"0,0,0\",de].join(\",\"),\" L \").concat(Pe,\" A \").concat([t,t,\"0,0,0\",Z].join(\",\"))}(o);for(var e=new Array(o.length),n=0;n<e.length;++n){var i=n===0?o[o.length-1]:o[n-1],d=o[n],g=j.c.scale([0,0],Vn(i,d),t);e[n]=[j.c.add([0,0],i,g),j.c.add([0,0],d,g)]}var _=\"A \".concat([t,t,\"0,0,0,\"].join(\",\"));return(e=e.map(function(I,D){var H=\"\";return D===0&&(H=\"M \".concat(e[e.length-1][1],\" \")),H+=\"\".concat(_+I[0],\" L \").concat(I[1])})).join(\" \")}function nr(o,t){var e,n,i,d=o.length;if(!o||d<1)return\"\";if(d===1)return n=[(e=o)[0][0],e[0][1]-t],i=[e[0][0],e[0][1]+t],\"M \".concat(n,\" A \").concat([t,t,\"0,0,0\",i].join(\",\"),\" A \").concat([t,t,\"0,0,0\",n].join(\",\"));if(d===2)return function(H){var Z=zt(H[0],H[1]),te=vn(Z,t),de=j.c.add([0,0],H[0],j.c.scale([0,0],te,-1)),Pe=j.c.add([0,0],H[1],te),Ge=1.2*t,Qe=vn(j.c.normalize([0,0],Z),Ge),Xe=j.c.scale([0,0],Qe,-1),yt=j.c.add([0,0],de,Xe),Ct=j.c.add([0,0],Pe,Xe),on=j.c.add([0,0],de,Qe);return\"M \".concat(de,\" C \").concat([yt,Ct,Pe].join(\",\"),\" S \").concat([on,de].join(\",\"),\" Z\")}(o);for(var g=o.map(function(H,Z){var te=o[(Z+1)%d];return{p:H,v:j.c.normalize([0,0],zt(H,te))}}),_=0;_<g.length;++_){var I=_>0?_-1:d-1,D=j.c.normalize([0,0],j.c.add([0,0],g[I].v,j.c.scale([0,0],g[_].v,-1)));g[_].p=j.c.add([0,0],g[_].p,j.c.scale([0,0],D,t))}return g.map(function(H){var Z=H.p;return{x:Z[0],y:Z[1]}})}var ur=function(o,t){for(var e=[],n=0;n<5;n++){var i=Math.cos((18+72*n)/180*Math.PI)*o,d=Math.sin((18+72*n)/180*Math.PI)*o,g=Math.cos((54+72*n)/180*Math.PI)*t,_=Math.sin((54+72*n)/180*Math.PI)*t;n===0?e.push([\"M\",i,-d]):e.push([\"L\",i,-d]),e.push([\"L\",g,-_])}return e.push([\"Z\"]),e},sr=function(o,t,e){return(o.y-e.y)*(t.x-e.x)-(o.x-e.x)*(t.y-e.y)},Ln=function(o){var t=o.map(function(D){return{x:D.getModel().x,y:D.getModel().y}});t.sort(function(D,H){return D.x===H.x?D.y-H.y:D.x-H.x});for(var e={},n=t.length-1;n>=0;n--){var i=t[n],d=i.x,g=i.y;e[\"\".concat(d,\"-\").concat(g)]&&t.splice(n,1),e[\"\".concat(d,\"-\").concat(g)]=!0}if(t.length===1)return t;var _=[];for(n=0;n<t.length;n++){for(;_.length>=2&&sr(_[_.length-2],_[_.length-1],t[n])<=0;)_.pop();_.push(t[n])}var I=[];for(n=t.length-1;n>=0;n--){for(;I.length>=2&&sr(I[I.length-2],I[I.length-1],t[n])<=0;)I.pop();I.push(t[n])}return I.pop(),_.pop(),_.concat(I)},Bt={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 En(o,t,e){var n=!1,i=function(_,I){return t.cells[_+I*t.width]},d=function(_,I){var D=0;return i(_-1,I-1)>=e&&(D+=1),i(_,I-1)>e&&(D+=2),i(_-1,I)>e&&(D+=4),i(_,I)>e&&(D+=8),D},g=function(_,I){for(var D,H,Z=_,te=I,de=0;de<t.width*t.height;de++){if(D=Z,H=te,o.findIndex(function(Ge){return Ge.x===Z&&Ge.y===te})>-1){if(o[0].x===Z&&o[0].y===te)return!0}else o.push({x:Z,y:te});var Pe=d(Z,te);switch(Pe){case-1:return console.warn(\"Marched out of bounds\"),!0;case 0:case 3:case 2:case 7:Z++;break;case 12:case 14:case 4:Z--;break;case 6:D===0&&(H===-1?Z-=1:Z+=1);break;case 1:case 13:case 5:te--;break;case 9:D===1&&(H===0?te-=1:te+=1);break;case 10:case 8:case 11:te++;break;default:return console.warn(\"Marching squares invalid state: \".concat(Pe)),!0}}};this.march=function(){for(var _=0;_<t.width&&!n;_+=1)for(var I=0;I<t.height&&!n;I+=1)i(_,I)>e&&d(_,I)!==15&&(n=g(_,I));return n}}var _n=function(o,t){var e=Number.POSITIVE_INFINITY,n=null;return o.forEach(function(i){var d=qo(i,t);d>=0&&d<e&&(n=i,e=d)}),n};function cr(o,t,e,n,i){var d=function(g,_,I){var D=null,H=Number.POSITIVE_INFINITY;return _.forEach(function(Z){var te={x:g.getModel().x,y:g.getModel().y},de={x:Z.getModel().x,y:Z.getModel().y},Pe=pi(te,de),Ge=new Ro(te.x,te.y,de.x,de.y),Qe=I.reduce(function(Xe,yt){return qo(yt,Ge)>0?Xe+1:Xe},0);Pe*Math.pow(Qe+1,2)<H&&(D=Z,H=Pe*Math.pow(Qe+1,2))}),D}(o,e,t);return d===null?[]:function(g){for(var _=[];g.length>0;){var I=g.pop();if(g.length===0){_.push(I);break}var D=g.pop(),H=new Ro(I.x1,I.y1,D.x2,D.y2);_n(t,H)?(_.push(I),g.push(D)):g.push(H)}return _}(function(g,_,I,D){var H=[],Z=[];Z.push(g);for(var te=!0,de=0,Pe=function(Xe,yt){var Ct=!1;return yt.forEach(function(on){Ct||(si(Xe,{x:on.x1,y:on.y1})||si(Xe,{x:on.x2,y:on.y2}))&&(Ct=!0)}),Ct},Ge=function(Xe,yt){for(var Ct=0,on=yt;Ct<on.length;Ct++){var sn=on[Ct].getBBox(),Nn=[[sn.x,sn.y],[sn.x+sn.width,sn.y],[sn.x,sn.y+sn.height],[sn.x+sn.width,sn.y+sn.height]];if(Un(Nn,Xe.x,Xe.y))return!0}return!1};te&&de<I;){te=!1;for(var Qe=function(){var Xe=Z.pop(),yt=_n(_,Xe);if(yt){var Ct=Mo(yt,Xe),on=Ct[0];if(Ct[1]===2){var sn=function(Nn){for(var Tn=D,Bn=jo(yt,Tn,on,Nn),Hn=Pe(Bn,Z)||Pe(Bn,H),Sr=Ge(Bn,_);!Hn&&Sr&&Tn>=1;)Bn=jo(yt,Tn/=1.5,on,Nn),Hn=Pe(Bn,Z)||Pe(Bn,H),Sr=Ge(Bn,_);!Bn||Hn||Nn&&Sr||(Z.push(new Ro(Xe.x1,Xe.y1,Bn.x,Bn.y)),Z.push(new Ro(Bn.x,Bn.y,Xe.x2,Xe.y2)),te=!0)};sn(!0),te||sn(!1)}}te||H.push(Xe),de+=1};!te&&Z.length;)Qe()}for(;Z.length;)H.push(Z.pop());return H}(new Ro(o.getModel().x,o.getModel().y,d.getModel().x,d.getModel().y),t,n,i))}var ao=function(o,t,e){var n=Object.assign(Bt,e),i=ti(o.map(function(sn){return{x:sn.getModel().x,y:sn.getModel().y}}));o=o.sort(function(sn,Nn){return pi({x:sn.getModel().x,y:sn.getModel().y},i)-pi({x:Nn.getModel().x,y:Nn.getModel().y},i)});var d=[],g=[];o.forEach(function(sn){cr(sn,t,d,n.maxRoutingIterations,n.morphBuffer).forEach(function(Nn){g.push(Nn)}),d.push(sn)});for(var _,I,D,H,Z,te=function(sn,Nn,Tn){var Bn={minX:Number.POSITIVE_INFINITY,minY:Number.POSITIVE_INFINITY,maxX:Number.NEGATIVE_INFINITY,maxY:Number.NEGATIVE_INFINITY,width:0,height:0,x:0,y:0},Hn=[];sn.forEach(function(wo){Hn.push(wo.getBBox())}),Nn.forEach(function(wo){Hn.push(wo.getBBox())});for(var Sr=0,Cr=Hn;Sr<Cr.length;Sr++){var po=Cr[Sr];Bn.minX=(po.minX<Bn.minX?po.minX:Bn.minX)-Tn,Bn.minY=(po.minY<Bn.minY?po.minY:Bn.minY)-Tn,Bn.maxX=(po.maxX>Bn.maxX?po.maxX:Bn.maxX)+Tn,Bn.maxY=(po.maxY>Bn.maxY?po.maxY:Bn.maxY)+Tn}return Bn.width=Bn.maxX-Bn.minX,Bn.height=Bn.maxY-Bn.minY,Bn.x=Bn.minX,Bn.y=Bn.minY,Bn}(o,g,n.nodeR0),de=(_=te.width,I=te.height,D=n.pixelGroupSize,H=Math.ceil(_/D),Z=Math.ceil(I/D),{cells:new Float32Array(Math.max(0,H*Z)).fill(0),width:H,height:Z}),Pe=[],Ge=[],Qe=0;Qe<n.maxMarchingIterations;Qe++)if(kr(o,t,g,te,de,n),Ge=[],new En(Pe=[],de,n.threshold).march()){var Xe=Pe.map(function(sn){return{x:Math.round(sn.x*n.pixelGroupSize+te.minX),y:Math.round(sn.y*n.pixelGroupSize+te.minY)}});if(Xe){var yt=Xe.length;if(n.skip>1)for(yt=Math.floor(Xe.length/n.skip);yt<3&&n.skip>1;)n.skip-=1,yt=Math.floor(Xe.length/n.skip);for(var Ct=0,on=0;on<yt;on+=1,Ct+=n.skip)Ge.push({x:Xe[Ct].x,y:Xe[Ct].y})}if(Ge&&function(){for(var sn=0,Nn=o;sn<Nn.length;sn++){var Tn=Nn[sn],Bn=Ge.map(function(Hn){return[Hn.x,Hn.y]});if(!Un(Bn,Tn.getBBox().centerX,Tn.getBBox().centerY))return!1}return!0}())return Ge;if(n.threshold*=.9,Qe<=.5*n.maxMarchingIterations)n.memberInfluenceFactor*=1.2,n.edgeInfluenceFactor*=1.2;else{if(!(n.nonMemberInfluenceFactor!==0&&t.length>0))break;n.nonMemberInfluenceFactor*=.8}}return Ge};function kr(o,t,e,n,i,d){function g(te,de){var Pe=Math.floor((te-de)/d.pixelGroupSize);return Pe<0?0:Pe}function _(te,de){return te*d.pixelGroupSize+de}var I=(d.nodeR0-d.nodeR1)*(d.nodeR0-d.nodeR1),D=(d.edgeR0-d.edgeR1)*(d.edgeR0-d.edgeR1),H=function(te,de){return[Math.min(g(te.minX,de+n.minX),i.width),Math.min(g(te.minY,de+n.minY),i.height),Math.min(g(te.maxX,-de+n.minX),i.width),Math.min(g(te.maxY,-de+n.minY),i.height)]},Z=function(te,de){for(var Pe=te.getBBox(),Ge=H(Pe,d.nodeR1),Qe=Ge[0],Xe=Ge[1],yt=Ge[2],Ct=Ge[3],on=Xe;on<Ct;on+=1)for(var sn=Qe;sn<yt;sn+=1)if(!(de<0&&i[sn+on*i.width]<=0)){var Nn=_(sn,n.minX),Tn=_(on,n.minY),Bn=Oi({x:Nn,y:Tn},{x:Pe.minX,y:Pe.minY,width:Pe.width,height:Pe.height});if(Bn<Math.pow(d.nodeR1,2)){var Hn=Math.sqrt(Bn)-d.nodeR1;i.cells[sn+on*i.width]+=de*Hn*Hn}}};d.nodeInfluenceFactor&&o.forEach(function(te){Z(te,d.nodeInfluenceFactor/I)}),d.edgeInfluenceFactor&&e.forEach(function(te){(function(de,Pe){for(var Ge=de.getBBox(),Qe=H(Ge,d.edgeR1),Xe=Qe[0],yt=Qe[1],Ct=Qe[2],on=Qe[3],sn=yt;sn<on;sn+=1)for(var Nn=Xe;Nn<Ct;Nn+=1)if(!(Pe<0&&i.cells[Nn+sn*i.width]<=0)){var Tn=_(Nn,n.minX),Bn=_(sn,n.minY),Hn=ni({x:Tn,y:Bn},de);if(Hn<Math.pow(d.edgeR1,2)){var Sr=Math.sqrt(Hn)-d.edgeR1;i.cells[Nn+sn*i.width]+=Pe*Sr*Sr}}})(te,d.edgeInfluenceFactor/D)}),d.negativeNodeInfluenceFactor&&t.forEach(function(te){Z(te,d.negativeNodeInfluenceFactor/I)})}function jo(o,t,e,n){var i=o.getBBox(),d=e[0],g=e[1],_=e[2],I=e[3],D={topLeft:{x:i.minX-t,y:i.minY-t},topRight:{x:i.maxX+t,y:i.minY-t},bottomLeft:{x:i.minX-t,y:i.maxY+t},bottomRight:{x:i.maxX+t,y:i.maxY+t}},H=i.height*i.width;function Z(te,de){return i.width*(.5*(te.y-i.minY+(de.y-i.minY)))}if(g)return d?n?D.topLeft:D.bottomRight:_?n?D.bottomLeft:D.topRight:Z(g,I)<.5*H?g.y>I.y?n?D.topLeft:D.bottomRight:n?D.topRight:D.bottomLeft:g.y<I.y?n?D.bottomLeft:D.topRight:n?D.bottomRight:D.topLeft;if(I){if(d)return n?D.topRight:D.bottomLeft;if(_)return n?D.bottomRight:D.topLeft}return Z(d,_)<.5*H?d.x>_.x?n?D.topLeft:D.bottomRight:n?D.bottomLeft:D.topRight:d.x<_.x?n?D.topRight:D.bottomLeft:n?D.bottomRight:D.topLeft}var ui=function(){function o(t,e){this.cfg=Object(s.deepMix)(this.getDefaultCfg(),e),this.graph=t,this.id=this.cfg.id,this.group=this.cfg.group,this.members=this.cfg.members.map(function(n){return Object(s.isString)(n)?t.findById(n):n}),this.nonMembers=this.cfg.nonMembers.map(function(n){return Object(s.isString)(n)?t.findById(n):n}),this.setPadding(),this.setType(),this.path=this.calcPath(this.members,this.nonMembers),this.render()}return o.prototype.getDefaultCfg=function(){return{id:\"g6-hull\",type:\"round-convex\",members:[],nonMembers:[],style:{fill:\"lightblue\",stroke:\"blue\",opacity:.2},padding:10}},o.prototype.setPadding=function(){var t=this.members.length&&this.members[0].getKeyShape().getCanvasBBox().width/2;this.padding=this.cfg.padding>0?this.cfg.padding+t:10+t,this.cfg.bubbleCfg={nodeR0:this.padding-t,nodeR1:this.padding-t,morphBuffer:this.padding-t}},o.prototype.setType=function(){this.type=this.cfg.type,this.members.length<3&&(this.type=\"round-convex\"),this.type!==\"round-convex\"&&this.type!==\"smooth-convex\"&&this.type!==\"bubble\"&&(console.warn(\"The hull type should be either round-convex, smooth-convex or bubble, round-convex is used by default.\"),this.type=\"round-convex\")},o.prototype.calcPath=function(t,e){var n,i,d;switch(this.type){case\"round-convex\":d=ir((n=Ln(t)).map(function(g){return[g.x,g.y]}),this.padding),i=Object(Je.b)(d);break;case\"smooth-convex\":(n=Ln(t)).length===2?(d=ir(n.map(function(g){return[g.x,g.y]}),this.padding),i=Object(Je.b)(d)):n.length>2&&(d=nr(n.map(function(g){return[g.x,g.y]}),this.padding),i=Jn(d));break;case\"bubble\":i=(n=ao(t,e,this.cfg.bubbleCfg)).length>=2&&Jn(n)}return i},o.prototype.render=function(){this.group.addShape(\"path\",{attrs:Object(l.__assign)({path:this.path},this.cfg.style),id:this.id,name:this.cfg.id,capture:!1}),this.group.toBack()},o.prototype.addMember=function(t){if(t){Object(s.isString)(t)&&(t=this.graph.findById(t)),this.members.push(t);var e=this.nonMembers.indexOf(t);return e>-1&&this.nonMembers.splice(e,1),this.updateData(this.members,this.nonMembers),!0}},o.prototype.addNonMember=function(t){if(t){Object(s.isString)(t)&&(t=this.graph.findById(t)),this.nonMembers.push(t);var e=this.members.indexOf(t);return e>-1&&this.members.splice(e,1),this.updateData(this.members,this.nonMembers),!0}},o.prototype.removeMember=function(t){if(t){Object(s.isString)(t)&&(t=this.graph.findById(t));var e=this.members.indexOf(t);return e>-1&&(this.members.splice(e,1),this.updateData(this.members,this.nonMembers),!0)}},o.prototype.removeNonMember=function(t){if(t){Object(s.isString)(t)&&(t=this.graph.findById(t));var e=this.nonMembers.indexOf(t);return e>-1&&(this.nonMembers.splice(e,1),this.updateData(this.members,this.nonMembers),!0)}},o.prototype.updateData=function(t,e){var n=this;this.group.findById(this.id).remove(),t&&(this.members=t.map(function(i){return Object(s.isString)(i)?n.graph.findById(i):i})),e&&(this.nonMembers=e.map(function(i){return Object(s.isString)(i)?n.graph.findById(i):i})),this.path=this.calcPath(this.members,this.nonMembers),this.render()},o.prototype.updateStyle=function(t){this.group.findById(this.id).attr(Object(l.__assign)({},t))},o.prototype.updateCfg=function(t){var e=this;this.cfg=Object(s.deepMix)(this.cfg,t),this.id=this.cfg.id,this.group=this.cfg.group,t.members&&(this.members=this.cfg.members.map(function(n){return Object(s.isString)(n)?e.graph.findById(n):n})),t.nonMembers&&(this.nonMembers=this.cfg.nonMembers.map(function(n){return Object(s.isString)(n)?e.graph.findById(n):n})),this.setPadding(),this.setType(),this.path=this.calcPath(this.members,this.nonMembers),this.render()},o.prototype.contain=function(t){var e,n,i=this,d=(e=Object(s.isString)(t)?this.graph.findById(t):t).getKeyShape();if(e.get(\"type\")===\"path\")n=Pn(d.attr(\"path\"));else{var g=d.getCanvasBBox();n=[[g.minX,g.minY],[g.maxX,g.minY],[g.maxX,g.maxY],[g.minX,g.maxY]]}return n=n.map(function(_){var I=i.graph.getPointByCanvas(_[0],_[1]);return[I.x,I.y]}),Rr(n,Pn(this.path))},o.prototype.destroy=function(){this.group.remove(),this.cfg=null},o}(),Vr=j.a.transform,ho=function(o){function t(e){var n=o.call(this)||this;return n.sortCombos=Object(s.debounce)(function(){var i=n.get(\"comboSorted\");if(n&&!n.destroyed&&!i){n.set(\"comboSorted\",!0);var d=[],g={};(n.get(\"comboTrees\")||[]).forEach(function(_){Ir(_,function(I){return d[I.depth]?d[I.depth].push(I.id):d[I.depth]=[I.id],g[I.id]=I.depth,!0})}),(n.getEdges().concat(n.get(\"vedges\"))||[]).forEach(function(_){var I=_.getModel(),D=g[I.source]||0,H=g[I.target]||0,Z=Math.max(D,H);d[Z]?d[Z].push(I.id):d[Z]=[I.id]}),d.forEach(function(_){if(_&&_.length)for(var I=_.length-1;I>=0;I--){var D=n.findById(_[I]);D&&D.toFront()}})}},500,!1),n.cfg=Object(s.deepMix)(n.getDefaultCfg(),e),n.init(),n.animating=!1,n.destroyed=!1,n.cfg.enabledStack&&(n.undoStack=new xn(n.cfg.maxStep),n.redoStack=new xn(n.cfg.maxStep)),n}return Object(l.__extends)(t,o),t.prototype.init=function(){this.initCanvas();var e=new Pr(this),n=new ft(this),i=new ke(this),d=new St(this);this.set({viewController:e,modeController:n,itemController:i,stateController:d}),this.initLayoutController(),this.initEventController(),this.initGroups(),this.initPlugins()},t.prototype.initGroups=function(){var e=this.get(\"canvas\");if(e){var n=(e.get(\"el\")||{}).id,i=n===void 0?\"g6\":n,d=e.addGroup({id:\"\".concat(i,\"-root\"),className:Ae.rootContainerClassName});if(this.get(\"groupByTypes\")){var g=d.addGroup({id:\"\".concat(i,\"-edge\"),className:Ae.edgeContainerClassName}),_=d.addGroup({id:\"\".concat(i,\"-node\"),className:Ae.nodeContainerClassName}),I=d.addGroup({id:\"\".concat(i,\"-combo\"),className:Ae.comboContainerClassName});I.toBack(),this.set({nodeGroup:_,edgeGroup:g,comboGroup:I})}var D=d.addGroup({id:\"\".concat(i,\"-delegate\"),className:Ae.delegateContainerClassName});this.set({delegateGroup:D}),this.set(\"group\",d)}},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,n){return Object(s.isPlainObject)(e)?this.cfg=Object(l.__assign)(Object(l.__assign)({},this.cfg),e):this.cfg[e]=n,e!==\"enabledStack\"||!n||this.undoStack||this.redoStack||(this.undoStack=new xn(this.cfg.maxStep),this.redoStack=new xn(this.cfg.maxStep)),this},t.prototype.get=function(e){var n;return(n=this.cfg)===null||n===void 0?void 0:n[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,n){Object(s.isString)(e)&&(e=this.findById(e));var i=this.get(\"itemController\");n||(n=e.get(\"states\")),i.clearItemStates(e,n),this.get(\"stateController\").updateStates(e,n,!1)},t.prototype.node=function(e){typeof e==\"function\"&&this.set(\"nodeMapper\",e)},t.prototype.edge=function(e){typeof e==\"function\"&&this.set(\"edgeMapper\",e)},t.prototype.combo=function(e){typeof e==\"function\"&&this.set(\"comboMapper\",e)},t.prototype.findById=function(e){return this.get(\"itemMap\")[e]},t.prototype.find=function(e,n){var i,d=this.get(\"\".concat(e,\"s\"));return Object(s.each)(d,function(g,_){if(n(g,_))return i=g}),i},t.prototype.findAll=function(e,n){var i=[];return Object(s.each)(this.get(\"\".concat(e,\"s\")),function(d,g){n(d,g)&&i.push(d)}),i},t.prototype.findAllByState=function(e,n,i){return i?this.findAll(e,function(d){return d.hasState(n)&&i(d)}):this.findAll(e,function(d){return d.hasState(n)})},t.prototype.translate=function(e,n,i,d){var g=this,_=this.get(\"group\"),I=Object(s.clone)(_.getMatrix());if(I||(I=[1,0,0,0,1,0,0,0,1]),i){var D=mn({animateCfg:d,callback:function(){return g.emit(\"viewportchange\",{action:\"translate\",matrix:_.getMatrix()})}});mi(_,{x:_.getCanvasBBox().x+e,y:_.getCanvasBBox().y+n},i,D||{duration:500,easing:\"easeCubic\"})}else I=Vr(I,[[\"t\",e,n]]),_.setMatrix(I),this.emit(\"viewportchange\",{action:\"translate\",matrix:I}),this.autoPaint()},t.prototype.moveTo=function(e,n,i,d){var g=this.get(\"group\");mi(g,{x:e,y:n},i,d||{duration:500,easing:\"easeCubic\"}),this.emit(\"viewportchange\",{action:\"move\",matrix:g.getMatrix()})},t.prototype.fitView=function(e,n,i,d){e&&this.set(\"fitViewPadding\",e);var g=this.get(\"viewController\");n?g.fitViewByRules(n,i,d):g.fitView(i,d),this.autoPaint()},t.prototype.fitCenter=function(e,n){this.get(\"viewController\").fitCenter(e,n),this.autoPaint()},t.prototype.addBehaviors=function(e,n){return this.get(\"modeController\").manipulateBehaviors(e,n,!0),this},t.prototype.removeBehaviors=function(e,n){return this.get(\"modeController\").manipulateBehaviors(e,n,!1),this},t.prototype.updateBehavior=function(e,n,i){return this.get(\"modeController\").updateBehavior(e,n,i),this},t.prototype.zoom=function(e,n,i,d){var g=this,_=this.get(\"group\"),I=Object(s.clone)(_.getMatrix())||[1,0,0,0,1,0,0,0,1],D=this.get(\"minZoom\"),H=this.get(\"maxZoom\"),Z=this.getZoom()||1,te=Z*e,de=e,Pe=!1;if(D&&te<D?(de=D/Z,Pe=!0):H&&te>H&&(de=H/Z,Pe=!0),I=Vr(I,n?[[\"t\",-n.x,-n.y],[\"s\",de,de],[\"t\",n.x,n.y]]:[[\"s\",de,de]]),i){var Ge=Object(s.clone)(_.getMatrix());Ge||(Ge=[1,0,0,0,1,0,0,0,1]);var Qe=Ge[0],Xe=Qe*de,yt=mn({animateCfg:d,callback:function(){return g.emit(\"viewportchange\",{action:\"zoom\",matrix:_.getMatrix()})}});_.animate(function(Ct){if(Ct===1)Ge=I;else{var on=ca(Qe,Xe,Ct)/Ge[0];Ge=Vr(Ge,n?[[\"t\",-n.x,-n.y],[\"s\",on,on],[\"t\",n.x,n.y]]:[[\"s\",on,on]])}return{matrix:Ge}},yt)}else _.setMatrix(I),this.emit(\"viewportchange\",{action:\"zoom\",matrix:I}),this.autoPaint();return!Pe},t.prototype.zoomTo=function(e,n,i,d){var g=e/this.getZoom();return this.zoom(g,n,i,d)},t.prototype.focusItem=function(e,n,i){var d=this.get(\"viewController\"),g=!1;n?g=!0:n===void 0&&(g=this.get(\"animate\"));var _={};i?_=i:i===void 0&&(_=this.get(\"animateCfg\")),d.focus(e,g,_),this.autoPaint()},t.prototype.focusItems=function(e,n,i,d){this.get(\"viewController\").focusItems(e,n,i,d)},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,n){return this.get(\"viewController\").getPointByClient(e,n)},t.prototype.getClientByPoint=function(e,n){return this.get(\"viewController\").getClientByPoint(e,n)},t.prototype.getPointByCanvas=function(e,n){return this.get(\"viewController\").getPointByCanvas(e,n)},t.prototype.getCanvasByPoint=function(e,n){return this.get(\"viewController\").getCanvasByPoint(e,n)},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,n){n===void 0&&(n=!0);var i=this.get(\"itemController\").changeItemVisibility(e,!0);if(n&&this.get(\"enabledStack\")){var d=i.getID(),g={},_={};switch(i.getType()){case\"node\":g.nodes=[{id:d,visible:!1}],_.nodes=[{id:d,visible:!0}];break;case\"edge\":g.nodes=[{id:d,visible:!1}],_.edges=[{id:d,visible:!0}];break;case\"combo\":g.nodes=[{id:d,visible:!1}],_.combos=[{id:d,visible:!0}]}this.pushStack(\"visible\",{before:g,after:_})}},t.prototype.hideItem=function(e,n){n===void 0&&(n=!0);var i=this.get(\"itemController\").changeItemVisibility(e,!1);if(n&&this.get(\"enabledStack\")){var d=i.getID(),g={},_={};switch(i.getType()){case\"node\":g.nodes=[{id:d,visible:!0}],_.nodes=[{id:d,visible:!1}];break;case\"edge\":g.nodes=[{id:d,visible:!0}],_.edges=[{id:d,visible:!1}];break;case\"combo\":g.nodes=[{id:d,visible:!0}],_.combos=[{id:d,visible:!1}]}this.pushStack(\"visible\",{before:g,after:_})}},t.prototype.refreshItem=function(e){this.get(\"itemController\").refreshItem(e)},t.prototype.setAutoPaint=function(e){this.set(\"autoPaint\",e),this.get(\"canvas\").set(\"autoDraw\",e)},t.prototype.remove=function(e,n){n===void 0&&(n=!0),this.removeItem(e,n)},t.prototype.removeItem=function(e,n){n===void 0&&(n=!0);var i=e;if(Object(s.isString)(e)&&(i=this.findById(e)),!i&&Object(s.isString)(e))console.warn(\"The item \".concat(e,\" to be removed does not exist!\"));else if(i){var d=\"\";if(i.getType&&(d=i.getType()),n&&this.get(\"enabledStack\")){var g=Object(l.__assign)(Object(l.__assign)({},i.getModel()),{itemType:d}),_={};switch(d){case\"node\":_.nodes=[g],_.edges=[];for(var I=i.getEdges(),D=I.length-1;D>=0;D--)_.edges.push(Object(l.__assign)(Object(l.__assign)({},I[D].getModel()),{itemType:\"edge\"}));break;case\"edge\":_.edges=[g];break;case\"combo\":_.combos=[g]}this.pushStack(\"delete\",{before:_,after:{}})}if(d===\"node\"&&i.getModel().comboId&&this.updateComboTree(i,void 0,!1),this.get(\"itemController\").removeItem(i),d===\"combo\"){var H=ai(this.get(\"comboTrees\"));this.set(\"comboTrees\",H)}}},t.prototype.innerAddItem=function(e,n,i){if(!function(Pe,Ge){if(Pe===\"node\"||Pe===\"combo\"){if(Ge.id&&!Object(s.isString)(Ge.id))return console.warn(\"G6 Warning Tips: missing 'id' property, or the 'id' %c\".concat(Ge.id,\"%c is not a string.\"),\"font-size: 20px; color: red;\",\"\"),!1}else if(!(Pe!==\"edge\"||Ge.source&&Ge.target))return console.warn(\"G6 Warning Tips: missing 'source' or 'target' for the edge.\"),!1;return!0}(e,n))return!1;if(!n.id||!this.findById(n.id)){var d,g=this.get(\"comboTrees\")||[];if(e===\"combo\"){var _=this.get(\"itemMap\"),I=!1;if(g.forEach(function(Pe){I||Jr(Pe,function(Ge){if(n.parentId===Ge.id){I=!0;var Qe=Object(l.__assign)({id:n.id,depth:Ge.depth+2},n);Ge.children?Ge.children.push(Qe):Ge.children=[Qe],n.depth=Qe.depth,d=i.addItem(e,n)}var Xe=_[Ge.id];return I&&Xe&&Xe.getType&&Xe.getType()===\"combo\"&&i.updateCombo(Xe,Ge.children),!0})}),!I){var D=Object(l.__assign)({id:n.id,depth:0},n);n.depth=D.depth,g.push(D),d=i.addItem(e,n)}this.set(\"comboTrees\",g),n.collapsed&&(this.collapseCombo(d,!1),this.updateCombo(d))}else if(e===\"node\"&&Object(s.isString)(n.comboId)&&g){var H;(H=this.findById(n.comboId))&&H.getType&&H.getType()!==\"combo\"&&console.warn(\"'\".concat(n.comboId,\"' is not a id of a combo in the graph, the node will be added without combo.\")),d=i.addItem(e,n);var Z=this.get(\"itemMap\"),te=!1,de=!1;g.forEach(function(Pe){de||te||Jr(Pe,function(Ge){if(Ge.id===n.id)return de=!0,!1;if(n.comboId===Ge.id&&!de){te=!0;var Qe=Object(s.clone)(n);Qe.itemType=\"node\",Ge.children?Ge.children.push(Qe):Ge.children=[Qe],Qe.depth=Ge.depth+1}return te&&Z[Ge.id].getType&&Z[Ge.id].getType()===\"combo\"&&i.updateCombo(Z[Ge.id],Ge.children),!0})})}else d=i.addItem(e,n);return(e===\"node\"&&n.comboId||e===\"combo\"&&n.parentId)&&(H=this.findById(n.comboId||n.parentId))&&H.getType&&H.getType()===\"combo\"&&H.addChild(d),d}console.warn(\"This item exists already. Be sure the id %c\".concat(n.id,\"%c is unique.\"),\"font-size: 20px; color: red;\",\"\")},t.prototype.addItem=function(e,n,i,d){i===void 0&&(i=!0),d===void 0&&(d=!0);var g=this.get(\"comboSorted\");this.set(\"comboSorted\",g&&!d);var _=this.get(\"itemController\"),I=this.innerAddItem(e,n,_);if(I===!1||I===!0)return I;var D=this.get(\"combos\");if(D&&D.length>0&&this.sortCombos(),this.autoPaint(),i&&this.get(\"enabledStack\")){var H=Object(l.__assign)(Object(l.__assign)({},I.getModel()),{itemType:e}),Z={};switch(e){case\"node\":Z.nodes=[H];break;case\"edge\":Z.edges=[H];break;case\"combo\":Z.combos=[H]}this.pushStack(\"add\",{before:{},after:Z})}return I},t.prototype.addItems=function(e,n,i){e===void 0&&(e=[]),n===void 0&&(n=!0),i===void 0&&(i=!0);var d=this.get(\"comboSorted\");this.set(\"comboSorted\",d&&!i);for(var g=this.get(\"itemController\"),_=[],I=0;I<e.length;I++)(D=e[I]).type!==\"edge\"&&D.type!==\"vedge\"?_.push(this.innerAddItem(D.type,D.model,g)):_.push(void 0);for(I=0;I<e.length;I++){var D;(D=e[I]).type!==\"edge\"&&D.type!==\"vedge\"||(_[I]=this.innerAddItem(D.type,D.model,g))}if(i){var H=this.get(\"combos\");H&&H.length>0&&this.sortCombos()}if(this.autoPaint(),n&&this.get(\"enabledStack\")){var Z={nodes:[],edges:[],combos:[]};for(I=0;I<e.length;I++){var te=e[I].type,de=_[I];if(de&&de!==!0){var Pe=Object(l.__assign)(Object(l.__assign)({},de.getModel()),{itemType:te});switch(te){case\"node\":Z.nodes.push(Pe);break;case\"edge\":Z.edges.push(Pe);break;case\"combo\":Z.combos.push(Pe)}}}this.pushStack(\"addItems\",{before:{},after:Z})}return _},t.prototype.add=function(e,n,i,d){return i===void 0&&(i=!0),d===void 0&&(d=!0),this.addItem(e,n,i,d)},t.prototype.updateItem=function(e,n,i){var d=this;i===void 0&&(i=!0);var g,_=this.get(\"itemController\");g=Object(s.isString)(e)?this.findById(e):e;var I,D=i&&this.get(\"enabledStack\");D&&(I=Object(s.clone)(g.getModel()));var H=\"\";g.getType&&(H=g.getType());var Z=Object(l.__spreadArray)([],g.getStates(),!0);if(H===\"combo\"&&Object(s.each)(Z,function(Ge){return d.setItemState(g,Ge,!1)}),_.updateItem(g,n),H===\"combo\"&&Object(s.each)(Z,function(Ge){return d.setItemState(g,Ge,!0)}),D){var te={nodes:[],edges:[],combos:[]},de={nodes:[],edges:[],combos:[]},Pe=Object(l.__assign)({id:I.id},n);switch(H){case\"node\":te.nodes.push(I),de.nodes.push(Pe);break;case\"edge\":te.edges.push(I),de.edges.push(Pe);break;case\"combo\":te.combos.push(I),de.combos.push(Pe)}this.pushStack(\"update\",{before:te,after:de})}},t.prototype.update=function(e,n,i){i===void 0&&(i=!0),this.updateItem(e,n,i)},t.prototype.setItemState=function(e,n,i){Object(s.isString)(e)&&(e=this.findById(e)),this.get(\"itemController\").setItemState(e,n,i),this.get(\"stateController\").updateState(e,n,i)},t.prototype.priorityState=function(e,n){this.get(\"itemController\").priorityState(e,n)},t.prototype.data=function(e){fr(e),this.set(\"data\",e)},t.prototype.render=function(){var e=this;this.set(\"comboSorted\",!1);var n=this.get(\"data\");if(this.get(\"enabledStack\")&&this.clearStack(),!n)throw new Error(\"data must be defined first\");var i=n.nodes,d=i===void 0?[]:i,g=n.edges,_=g===void 0?[]:g,I=n.combos,D=I===void 0?[]:I;if(this.clear(!0),this.emit(\"beforerender\"),e.addItems(d.map(function(Pe){return{type:\"node\",model:Pe}}),!1,!1),(D==null?void 0:D.length)!==0){var H=Lo(D,d);this.set(\"comboTrees\",H),e.addCombos(D)}e.addItems(_.map(function(Pe){return{type:\"edge\",model:Pe}}),!1,!1);var Z=e.get(\"animate\");(e.get(\"fitView\")||e.get(\"fitCenter\"))&&e.set(\"animate\",!1);var te=e.get(\"layoutController\");if(te){if(te.layout(de),this.destroyed)return}else de();function de(){(e.get(\"comboTrees\")||[]).forEach(function(Pe){Jr(Pe,function(Ge){var Qe=e.findById(Ge.id);return Qe.getType()===\"combo\"&&Ge.collapsed&&(e.collapseCombo(Ge.id,!1),e.updateCombo(Qe)),!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\",Z),setTimeout(function(){var Pe;(Pe=e.getCombos())===null||Pe===void 0||Pe.forEach(function(Ge){Ge.set(\"animate\",!0)})},0)}this.get(\"groupByTypes\")||(D&&D.length!==0?this.sortCombos():n.nodes&&n.edges&&n.nodes.length<n.edges.length?this.getNodes().forEach(function(Pe){Pe.toFront()}):this.getEdges().forEach(function(Pe){Pe.toBack()}))},t.prototype.read=function(e){this.data(e),this.render()},t.prototype.diffItems=function(e,n,i){var d,g=this,_=this.get(\"itemMap\");Object(s.each)(i,function(I){if(d=_[I.id]){if(g.get(\"animate\")&&e===\"node\"){var D=d.getContainer().getMatrix();D||(D=[1,0,0,0,1,0,0,0,1]),d.set(\"originAttrs\",{x:D[6],y:D[7]})}g.updateItem(d,I,!1)}else d=g.addItem(e,I,!1);d&&n[\"\".concat(e,\"s\")].push(d)})},t.prototype.changeData=function(e,n){var i,d=this;n===void 0&&(n=!0);var g=this,_=e||g.get(\"data\");if(!fr(_))return this;this.emit(\"beforechangedata\"),n&&this.get(\"enabledStack\")&&this.pushStack(\"changedata\",{before:g.save(),after:_}),this.set(\"comboSorted\",!1),this.removeHulls(),this.getNodes().map(function(Xe){return g.clearItemStates(Xe)}),this.getEdges().map(function(Xe){return g.clearItemStates(Xe)});var I=this.get(\"canvas\"),D=I.get(\"localRefresh\");I.set(\"localRefresh\",!1),g.get(\"data\")||(g.data(_),g.render());var H=this.get(\"itemMap\"),Z={nodes:[],edges:[]},te=_.combos;if(te){var de=Lo(te,_.nodes);this.set(\"comboTrees\",de)}else this.set(\"comboTrees\",[]);this.diffItems(\"node\",Z,_.nodes),Object(s.each)(H,function(Xe,yt){H[yt].getModel().depth=0,Xe.getType&&Xe.getType()===\"edge\"||(Xe.getType&&Xe.getType()===\"combo\"?(delete H[yt],Xe.destroy()):Z.nodes.indexOf(Xe)<0&&(delete H[yt],g.remove(Xe,!1)))});for(var Pe=this.getCombos(),Ge=Pe.length-1;Ge>=0;Ge--)Pe[Ge].destroyed&&Pe.splice(Ge,1);te&&(g.addCombos(te),this.get(\"groupByTypes\")||this.sortCombos()),this.diffItems(\"edge\",Z,_.edges),Object(s.each)(H,function(Xe,yt){(!Xe.getType||Xe.getType()!==\"node\"&&Xe.getType()!==\"combo\")&&Z.edges.indexOf(Xe)<0&&(delete H[yt],g.remove(Xe,!1))}),(this.get(\"comboTrees\")||[]).forEach(function(Xe){Jr(Xe,function(yt){return d.findById(yt.id).getType()===\"combo\"&&yt.collapsed&&d.collapseCombo(yt.id,!1),!0})}),this.set({nodes:Z.nodes,edges:Z.edges});var Qe=this.get(\"layoutController\");return Qe&&(Qe.changeData(function(){setTimeout(function(){var Xe;(Xe=g.getCombos())===null||Xe===void 0||Xe.forEach(function(yt){yt.set(\"animate\",!0)})},0)}),g.get(\"animate\")&&!Qe.getLayoutType()?(g.positionsAnimate(),(i=g.getCombos())===null||i===void 0||i.forEach(function(Xe){return Xe.set(\"animate\",!0)})):g.autoPaint()),setTimeout(function(){I.set(\"localRefresh\",D)},16),this.set(\"data\",_),this.emit(\"afterchangedata\"),this},t.prototype.addCombos=function(e){var n=this.get(\"comboTrees\");this.get(\"itemController\").addCombos(n,e)},t.prototype.createCombo=function(e,n,i){var d=this;i===void 0&&(i=!0);var g=this.get(\"itemController\");this.set(\"comboSorted\",!1);var _,I=\"\";if(e){if(Object(s.isString)(e))I=e,_={id:e};else{if(!(I=e.id))return void console.warn(\"Create combo failed. Please assign a unique string id for the adding combo.\");_=e}var D=i&&this.get(\"enabledStack\"),H={nodes:[],combos:[]};D&&n.forEach(function(Xe){var yt=d.findById(Xe),Ct=yt.getType();if(Ct===\"node\"||Ct===\"combo\"){var on=yt.getModel();H[\"\".concat(Ct,\"s\")].push({id:Xe,parentId:Ct===\"node\"?on.comboId:on.parentId})}});var Z=this.get(\"comboTrees\"),te=new Set(n),de=new Map;Z&&(Z.forEach(function(Xe){Jr(Xe,function(yt,Ct,on){if(te.has(yt.id)){if(Ct){var sn=d.findById(Ct.id),Nn=d.findById(yt.id);Ct.children.splice(on,1),sn.removeChild(Nn),g.updateCombo(sn,Ct.children)}yt.itemType===\"combo\"&&de.set(yt.id,yt)}return!0})}),Z=Z.filter(function(Xe){return!te.has(Xe.id)}),this.set(\"comboTrees\",Z));var Pe={nodes:[],combos:[]},Ge=n.map(function(Xe){var yt=d.findById(Xe),Ct=yt.getModel(),on=\"\";yt.getType&&(on=yt.getType());var sn=de.get(Xe)||{id:yt.getID(),itemType:on};return on===\"combo\"?(sn.parentId=I,Ct.parentId=I):on===\"node\"&&(sn.comboId=I,Ct.comboId=I),D&&Pe[\"\".concat(on,\"s\")].push({id:Ct.id,parentId:I}),sn});_.children=Ge,this.addItem(\"combo\",_,!1),this.set(\"comboSorted\",!1),Z&&(Z.forEach(function(Xe){Ir(Xe,function(yt){return yt.id!==I||(yt.itemType=\"combo\",yt.children=Ge,!1)})}),this.sortCombos()),D&&(Pe.combos.push(_),this.pushStack(\"createCombo\",{before:H,after:Pe}));var Qe=this.findById(I);!Qe.getModel().parentId&&Qe.getChildren().combos.length&&this.updateComboTree(Qe,void 0,!1)}},t.prototype.uncombo=function(e,n){var i,d,g=this;n===void 0&&(n=!0);var _=e;if(Object(s.isString)(e)&&(_=this.findById(e)),!_||_.getType&&_.getType()!==\"combo\")console.warn(\"The item is not a combo!\");else{var I=_.getModel(),D=_.getModel().parentId,H=this.get(\"comboTrees\");H||(H=[]);var Z,te=this.get(\"itemMap\"),de=_.get(\"id\"),Pe=[],Ge=this.get(\"combos\"),Qe=this.findById(D),Xe=n&&this.get(\"enabledStack\"),yt={};if(Xe&&((yt=Object(s.clone)(I)).children=[]),H.forEach(function(Nn){Z||Jr(Nn,function(Tn){var Bn;if(Tn.id===de){Z=Tn,_.getEdges().map(function(Cr){return Cr.getID()}).forEach(function(Cr){g.removeItem(Cr,!1)});var Hn=Ge.indexOf(_);Ge.splice(Hn,1),delete te[de];var Sr=Object(s.clone)(_.getModel());_.destroy(),g.emit(\"afterremoveitem\",{item:Sr,type:\"combo\"})}return!D||!Z||Tn.id!==D||(Qe.removeCombo(_),(Hn=(Pe=Tn.children).indexOf(Z))!==-1&&Pe.splice(Hn,1),(Bn=Z.children)===null||Bn===void 0||Bn.forEach(function(Cr){var po=g.findById(Cr.id),wo=po.getModel();po.getType&&po.getType()===\"combo\"?(Cr.parentId=D,delete Cr.comboId,wo.parentId=D,delete wo.comboId):po.getType&&po.getType()===\"node\"&&(Cr.comboId=D,wo.comboId=D),Qe.addChild(po),Pe.push(Cr)}),g.updateCombo(Qe),!1)})}),!D&&Z){var Ct=H.indexOf(Z);H.splice(Ct,1),(i=Z.children)===null||i===void 0||i.forEach(function(Nn){Nn.parentId=void 0;var Tn=g.findById(Nn.id).getModel();delete Tn.parentId,delete Tn.comboId,Nn.itemType!==\"node\"&&H.push(Nn)})}if(Xe){var on={nodes:[],combos:[]},sn={nodes:[],combos:[]};(d=Z.children)===null||d===void 0||d.forEach(function(Nn){var Tn=g.findById(Nn.id).getType();Tn!==\"node\"&&Tn!==\"combo\"||(on[\"\".concat(Tn,\"s\")].push({id:Nn.id,parentId:de}),sn[\"\".concat(Tn,\"s\")].push({id:Nn.id,parentId:D}))}),on.combos.push(yt),this.pushStack(\"uncombo\",{before:on,after:sn})}}},t.prototype.updateCombos=function(e){var n=this;e===void 0&&(e=!1);var i=this.get(\"comboTrees\"),d=this.get(\"itemController\"),g=this.get(\"itemMap\");(i||[]).forEach(function(_){Jr(_,function(I){var D;if(!I)return!0;var H=g[I.id];if(((D=H==null?void 0:H.getType)===null||D===void 0?void 0:D.call(H))===\"combo\"){var Z=Object(l.__spreadArray)([],H.getStates(),!0);Object(s.each)(Z,function(te){return n.setItemState(H,te,!1)}),d.updateCombo(H,I.children,e),Object(s.each)(Z,function(te){return n.setItemState(H,te,!0)})}return!0})}),this.sortCombos()},t.prototype.updateCombo=function(e){var n,i=this,d=e;if(Object(s.isString)(e)&&(d=this.findById(e)),!d||d.getType&&d.getType()!==\"combo\")console.warn(\"The item to be updated is not a combo!\");else{n=d.get(\"id\");var g=this.get(\"comboTrees\"),_=this.get(\"itemController\"),I=this.get(\"itemMap\");(g||[]).forEach(function(D){Jr(D,function(H){if(!H)return!0;var Z=I[H.id];if(n===H.id&&Z&&Z.getType&&Z.getType()===\"combo\"){var te=Object(l.__spreadArray)([],Z.getStates(),!0);Object(s.each)(te,function(de){Z.getStateStyle(de)&&i.setItemState(Z,de,!1)}),_.updateCombo(Z,H.children),Object(s.each)(te,function(de){Z.getStateStyle(de)&&i.setItemState(Z,de,!0)}),n&&(n=H.parentId)}return!0})})}},t.prototype.updateComboTree=function(e,n,i){i===void 0&&(i=!0);var d;this.set(\"comboSorted\",!1);var g,_=(d=Object(s.isString)(e)?this.findById(e):e).getModel(),I=_.comboId||_.parentId,D=\"\";if(d.getType&&(D=d.getType()),n&&D===\"combo\"){var H,Z=this.get(\"comboTrees\"),te=!0;if((Z||[]).forEach(function(Xe){H||Ir(Xe,function(yt){if(!H)return yt.id===d.getID()&&(H=yt),!0})}),Ir(H,function(Xe){return Xe.id!==n||(te=!1,!1)}),!te)return void console.warn(\"Failed to update the combo tree! The parentId points to a descendant of the combo!\")}if(i&&this.get(\"enabledStack\")){var de={},Pe={};D===\"combo\"?(de.combos=[{id:_.id,parentId:_.parentId}],Pe.combos=[{id:_.id,parentId:n}]):D===\"node\"&&(de.nodes=[{id:_.id,parentId:_.comboId}],Pe.nodes=[{id:_.id,parentId:n}]),this.pushStack(\"updateComboTree\",{before:de,after:Pe})}if(_.parentId||_.comboId){var Ge=this.findById(_.parentId||_.comboId);Ge&&Ge.removeChild(d)}D===\"combo\"?_.parentId=n:D===\"node\"&&(_.comboId=n),n&&(g=this.findById(n))&&g.addChild(d),I&&(g=this.findById(I))&&g.removeChild(d);var Qe=ai(this.get(\"comboTrees\"),_.id,n);this.set(\"comboTrees\",Qe),this.updateCombos()},t.prototype.save=function(){var e=[],n=[],i=[];return Object(s.each)(this.get(\"nodes\"),function(d){e.push(d.getModel())}),Object(s.each)(this.get(\"edges\"),function(d){n.push(d.getModel())}),Object(s.each)(this.get(\"combos\"),function(d){i.push(d.getModel())}),{nodes:e,edges:n,combos:i}},t.prototype.changeSize=function(e,n){return this.get(\"viewController\").changeSize(e,n),this},t.prototype.refresh=function(){if(this.emit(\"beforegraphrefresh\"),this.get(\"animate\"))this.positionsAnimate();else{var e=this.get(\"nodes\"),n=this.get(\"edges\"),i=this.get(\"edges\");Object(s.each)(e,function(d){d.refresh()}),Object(s.each)(n,function(d){d.refresh()}),Object(s.each)(i,function(d){d.refresh()})}this.emit(\"aftergraphrefresh\"),this.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(s.isString)(e)&&(e=this.findById(e)),e&&(!e.getType||e.getType()===\"combo\"))return e.getChildren();console.warn(\"The combo does not exist!\")},t.prototype.positionsAnimate=function(e){var n=this;n.emit(\"beforeanimate\");var i=n.get(\"animateCfg\"),d=i.onFrame,g=e?n.getNodes().concat(n.getCombos()):n.getNodes(),_=g.map(function(D){var H=D.getModel();return{id:H.id,x:H.x,y:H.y}});n.stopAnimate();var I=n.get(\"canvas\");n.animating=!0,I.animate(function(D){Object(s.each)(_,function(H){var Z=n.findById(H.id);if(Z&&!Z.destroyed){var te=Z.get(\"originAttrs\"),de=Z.get(\"model\"),Pe=Z.getContainer().getMatrix();if(te==null&&(Pe&&(te={x:Pe[6],y:Pe[7]}),Z.set(\"originAttrs\",te||0)),d){var Ge=d(Z,D,H,te||{x:0,y:0});Z.set(\"model\",Object.assign(de,Ge))}else te?(de.x=te.x+(H.x-te.x)*D,de.y=te.y+(H.y-te.y)*D):(de.x=H.x,de.y=H.y)}}),n.refreshPositions(e)},{duration:i.duration,easing:i.easing,callback:function(){Object(s.each)(g,function(D){D.set(\"originAttrs\",null)}),i.callback&&i.callback(),n.emit(\"afteranimate\"),n.animating=!1}})},t.prototype.refreshPositions=function(e){this.emit(\"beforegraphrefreshposition\");var n,i=this.get(\"nodes\"),d=this.get(\"edges\"),g=this.get(\"vedges\"),_=this.get(\"combos\"),I={},D=function(H){Object(s.each)(H,function(Z){n=Z.getModel();var te=Z.get(\"originAttrs\");if(!te||n.x!==te.x||n.y!==te.y){var de=Z.updatePosition({x:n.x,y:n.y});I[n.id]=de,n.comboId&&(I[n.comboId]=I[n.comboId]||de),n.parentId&&(I[n.parentId]=I[n.parentId]||de)}})};D(_),D(i),_&&_.length!==0&&(e?(D(_),this.updateCombos()):this.updateCombos()),Object(s.each)(d,function(H){var Z=H.getSource().getModel(),te=H.getTarget();if(!Object(s.isPlainObject)(te)){var de=te.getModel();(I[Z.id]||I[de.id]||H.getModel().isComboEdge)&&H.refresh()}}),Object(s.each)(g,function(H){H.refresh()}),this.emit(\"aftergraphrefreshposition\"),this.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(){return this.get(\"modeController\").getMode()},t.prototype.setMode=function(e){return this.get(\"modeController\").setMode(e),this},t.prototype.clear=function(e){var n;return e===void 0&&(e=!1),(n=this.get(\"canvas\"))===null||n===void 0||n.clear(),this.initGroups(),this.set({itemMap:{},nodes:[],edges:[],vedges:[],groups:[],combos:[],comboTrees:[]}),e||this.emit(\"afterrender\"),this},t.prototype.updateLayout=function(e,n,i,d){var g=this;e===void 0&&(e={}),d===void 0&&(d=!0);var _=this.get(\"layoutController\");if(Object(s.isString)(e)&&(e={type:e}),n){var I=i;I||(I=n===\"begin\"?{x:0,y:0}:{x:this.getWidth()/2,y:this.getHeight()/2}),I=this.getPointByCanvas(I.x,I.y);var D=[\"force\",\"gForce\",\"fruchterman\",\"force2\"];D.includes(e.type)||!e.type&&D.includes(_==null?void 0:_.layoutType)?e.center=[I.x,I.y]:this.once(\"afterlayout\",function(te){var de=g.getGroup().getMatrix()||[1,0,0,0,1,0,0,0,1];I.x=I.x*de[0]+de[6],I.y=I.y*de[0]+de[7];var Pe=g.getGroup().getCanvasBBox(),Ge=Pe.minX,Qe=Pe.maxX,Xe=Pe.minY,yt={x:(Ge+Qe)/2,y:(Xe+Pe.maxY)/2};n===\"begin\"&&(yt.x=Ge,yt.y=Xe),g.translate(I.x-yt.x,I.y-yt.y)})}var H=Object(l.__assign)({},this.get(\"layout\")),Z={};Object.assign(Z,H,e),e.pipes&&!e.type?delete Z.type:!e.pipes&&Z.type&&delete Z.pipes,this.set(\"layout\",Z),_&&(_.isLayoutTypeSame(Z)&&Z.gpuEnabled===H.gpuEnabled?_.updateLayoutCfg(Z):_.changeLayout(Z),d&&this.get(\"enabledStack\")&&this.pushStack(\"layout\",{before:H,after:Z}))},t.prototype.destroyLayout=function(){var e=this.get(\"layoutController\");e==null||e.destroyLayout()},t.prototype.layout=function(){var e,n=this.get(\"layoutController\"),i=this.get(\"layout\");i&&n&&(i.workerEnabled?n.layout():!((e=n.layoutMethods)===null||e===void 0)&&e.length?n.relayout(!0):n.layout())},t.prototype.collapseCombo=function(e,n){var i=this;if(n===void 0&&(n=!0),!this.destroyed)if(Object(s.isString)(e)&&(e=this.findById(e)),e){this.emit(\"beforecollapseexpandcombo\",{action:\"expand\",item:e});var d=e.getModel();this.get(\"itemController\").collapseCombo(e,n),d.collapsed=!0;var g=this.getEdges().concat(this.get(\"vedges\")),_=[],I=this.get(\"comboTrees\"),D=!1;(I||[]).forEach(function(Z){D||Ir(Z,function(te){if(D&&te.depth<=d.depth)return!1;if(d.id===te.id&&(D=!0),D){var de=i.findById(te.id);de&&de.getType&&de.getType()===\"combo\"&&(_=(_=_.concat(de.getNodes())).concat(de.getCombos()))}return!0})});var H={};g.forEach(function(Z){var te=Z.getModel(),de=te.isVEdge,Pe=te.size,Ge=Pe===void 0?1:Pe;if(!Z.isVisible()||de){var Qe,Xe=Z.getSource(),yt=Z.getTarget(),Ct=null;if(Xe.getModel().id===d.id||_.includes(Xe)&&!_.includes(yt)?(Ct=yt,Qe=!1):(yt.getModel().id===d.id||!_.includes(Xe)&&_.includes(yt))&&(Ct=Xe,Qe=!0),Ct){if(de)return void i.removeItem(Z,!1);for(var on=Ct.getModel();!Ct.isVisible();){var sn=on.parentId,Nn=on.comboId,Tn=sn||Nn;if(!(Ct=i.findById(Tn))||!Tn)return;on=Ct.getModel()}var Bn=on.id,Hn=Qe?{source:Bn,target:d.id,size:Ge,isVEdge:!0}:{source:d.id,target:Bn,size:Ge,isVEdge:!0},Sr=\"\".concat(Hn.source,\"-\").concat(Hn.target);if(H[Sr])return void(H[Sr].size+=Ge);H[Sr]=Hn}}}),this.addItems(Object.values(H).map(function(Z){return{type:\"vedge\",model:Z}}),!1),this.emit(\"aftercollapseexpandcombo\",{action:\"collapse\",item:e})}else console.warn(\"The combo to be collapsed does not exist!\")},t.prototype.expandCombo=function(e,n){var i=this;if(n===void 0&&(n=!0),Object(s.isString)(e)&&(e=this.findById(e)),!e||e.getType&&e.getType()!==\"combo\")console.warn(\"The combo to be collapsed does not exist!\");else{this.emit(\"beforecollapseexpandcombo\",{action:\"expand\",item:e});var d=e.getModel();this.get(\"itemController\").expandCombo(e,n),d.collapsed=!1;var g=this.getEdges().concat(this.get(\"vedges\")),_=[],I=this.get(\"comboTrees\"),D=!1;(I||[]).forEach(function(Z){D||Ir(Z,function(te){if(D&&te.depth<=d.depth)return!1;if(d.id===te.id&&(D=!0),D){var de=i.findById(te.id);de&&de.getType&&de.getType()===\"combo\"&&(_=(_=_.concat(de.getNodes())).concat(de.getCombos()))}return!0})});var H={};g.forEach(function(Z){if(!Z.isVisible()||Z.getModel().isVEdge){var te,de=Z.getSource(),Pe=Z.getTarget(),Ge=de.get(\"id\"),Qe=Pe.get(\"id\"),Xe=null;if(Ge===d.id||_.includes(de)&&!_.includes(Pe)?(Xe=Pe,te=!1):Qe===d.id||!_.includes(de)&&_.includes(Pe)?(Xe=de,te=!0):_.includes(de)&&_.includes(Pe)&&de.isVisible()&&Pe.isVisible()&&Z.show(),Xe){var yt=Z.getModel(),Ct=yt.isVEdge,on=yt.size,sn=on===void 0?1:on;if(Ct)return void i.removeItem(Z,!1);for(var Nn=Xe.getModel();!Xe.isVisible();){var Tn=Nn.parentId,Bn=Nn.comboId,Hn=Tn||Bn;if(!(Xe=i.findById(Hn))||!Hn)return;Nn=Xe.getModel()}for(var Sr=Nn.id,Cr=te?Pe:de,po=Cr.getModel();!Cr.isVisible();){var wo=po.parentId,Po=po.comboId,Xo=wo||Po;if(!(Cr=i.findById(Xo))||!Xo)return;if(po.comboId===d.id||po.parentId===d.id)break;po=Cr.getModel()}var ri=po.id;if(Sr){var ki=te?{source:Sr,target:ri,isVEdge:!0,size:sn}:{source:ri,target:Sr,isVEdge:!0,size:sn},T=\"\".concat(ki.source,\"-\").concat(ki.target);if(H[T])return void(H[T].size+=sn);H[T]=ki}}}}),this.addItems(Object.values(H).map(function(Z){return{type:\"vedge\",model:Z}}),!1),this.emit(\"aftercollapseexpandcombo\",{action:\"expand\",item:e})}},t.prototype.collapseExpandCombo=function(e,n){if(n===void 0&&(n=!0),Object(s.isString)(e)&&(e=this.findById(e)),e&&(!e.getType||e.getType()===\"combo\")){for(var i=e.getModel(),d=this.findById(i.parentId);d;){var g=d.getModel();if(g.collapsed)return console.warn(\"Fail to expand the combo since it's ancestor combo is collapsed.\"),void(d=void 0);d=this.findById(g.parentId)}i.collapsed?this.expandCombo(e,n):this.collapseCombo(e,n),this.updateCombo(e)}},t.prototype.getNeighbors=function(e,n){var i=e;return Object(s.isString)(e)&&(i=this.findById(e)),i.getNeighbors(n)},t.prototype.getNodeDegree=function(e,n,i){n===void 0&&(n=void 0),i===void 0&&(i=!1);var d=e;Object(s.isString)(e)&&(d=this.findById(e));var g=this.get(\"degrees\");g&&!i||(g=ce(this.save()),this.set(\"degrees\",g));var _=g[d.getID()],I=0;if(!_)return 0;switch(n){case\"in\":I=_.inDegree;break;case\"out\":I=_.outDegree;break;case\"all\":I=_;break;default:I=_.degree}return I},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(),this.emit(\"stackchange\",{undoStack:this.undoStack,redoStack:this.redoStack}))},t.prototype.pushStack=function(e,n,i){if(e===void 0&&(e=\"update\"),i===void 0&&(i=\"undo\"),this.get(\"enabledStack\")){var d=n?Object(s.clone)(n):{before:{},after:Object(s.clone)(this.save())};i===\"redo\"?this.redoStack.push({action:e,data:d}):this.undoStack.push({action:e,data:d}),this.emit(\"stackchange\",{action:e,stackType:i,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,n){e===void 0&&(e=!0),n===void 0&&(n=this.get(\"directed\"));var i=this.get(\"adjMatrix\");return i&&e||(i=L(this.save(),n),this.set(\"adjMatrix\",i)),i},t.prototype.getShortestPathMatrix=function(e,n){e===void 0&&(e=!0),n===void 0&&(n=this.get(\"directed\"));var i=this.get(\"adjMatrix\"),d=this.get(\"shortestPathMatrix\");return i&&e||(i=L(this.save(),n),this.set(\"adjMatrix\",i)),d&&e||(d=be(this.save(),n),this.set(\"shortestPathMatrix\",d)),d},t.prototype.on=function(e,n,i){return o.prototype.on.call(this,e,n,i)},t.prototype.destroy=function(){var e,n,i,d,g;this.clear(),this.clearStack(),(e=this.get(\"itemController\"))===null||e===void 0||e.destroy(),(n=this.get(\"modeController\"))===null||n===void 0||n.destroy(),(i=this.get(\"viewController\"))===null||i===void 0||i.destroy(),(d=this.get(\"stateController\"))===null||d===void 0||d.destroy(),(g=this.get(\"canvas\"))===null||g===void 0||g.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 n=this.get(\"hullGroup\"),i=this.get(\"hullMap\");if(i||(i={},this.set(\"hullMap\",i)),n&&!n.get(\"destroyed\")||((n=this.get(\"group\").addGroup({id:\"hullGroup\"})).toBack(),this.set(\"hullGroup\",n)),i[e.id])return console.warn(\"Existed hull id.\"),i[e.id];var d=n.addGroup({id:\"\".concat(e.id,\"-container\")}),g=new ui(this,Object(l.__assign)(Object(l.__assign)({},e),{group:d}));return i[g.id]=g,g}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 n,i;i=Object(s.isString)(e)?this.getHullById(e):e,(n=this.get(\"hullMap\"))===null||n===void 0||delete n[i.id],i.destroy()},t.prototype.removeHulls=function(){var e=this.getHulls();e&&Object.keys(e).length&&(Object.keys(e).forEach(function(n){e[n].destroy()}),this.set(\"hullMap\",{}))},t}(E.a);function vo(o){return(vo=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(t){return typeof t}:function(t){return t&&typeof Symbol==\"function\"&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t})(o)}var uo=j.a.transform,Go=[\"startArrow\",\"endArrow\"],Pi={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},la={edge:{lineWidth:1,stroke:\"#000\",lineDash:void 0,startArrow:!1,endArrow:!1,opacity:void 0,strokeOpacity:void 0,fillOpacity:void 0,shadowColor:void 0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0},node:Pi,combo:Pi},Vi={options:{labelCfg:{style:{fontFamily:Ae.windowFontFamily}},descriptionCfg:{style:{fontFamily:Ae.windowFontFamily}}},itemType:\"\",type:\"\",getCustomConfig:function(o){return{}},getOptions:function(o,t){return t===\"move\"||t!=null&&t.includes(\"bbox\")?o:Object(s.deepMix)({},this.options,this.getCustomConfig(o)||{},o)},draw:function(o,t){t.shapeMap={},this.mergeStyle=this.getOptions(o);var e=this.drawShape(o,t);if(e.set(\"className\",this.itemType+\"-shape\"),t.shapeMap[this.itemType+\"-shape\"]=e,o.label){var n=this.drawLabel(o,t);n.set(\"className\",this.itemType+\"-label\"),t.shapeMap[this.itemType+\"-label\"]=n}return e},afterDraw:function(o,t,e){},drawShape:function(o,t){return null},drawLabel:function(o,t){var e=(this.mergeStyle||this.getOptions(o)||{}).labelCfg||{},n=this.getLabelStyle(o,e,t),i=n.rotate;delete n.rotate;var d=t.addShape(\"text\",{attrs:n,draggable:!0,className:\"text-shape\",name:\"text-shape\",labelRelated:!0});if(t.shapeMap[\"text-shape\"]=d,!isNaN(i)&&i!==\"\"){var g=d.getBBox(),_=[1,0,0,0,1,0,0,0,1];if(n.rotateCenter)switch(n.rotateCenter){case\"center\":_=uo(_,[[\"t\",-g.width/2,-g.height/2],[\"r\",i],[\"t\",g.width/2,g.height/2]]);break;case\"lefttop\":_=uo(_,[[\"t\",-n.x,-n.y],[\"r\",i],[\"t\",n.x,n.y]]);break;case\"leftcenter\":_=uo(_,[[\"t\",-n.x,-n.y-g.height/2],[\"r\",i],[\"t\",n.x,n.y+g.height/2]]);break;default:_=uo(_,[[\"t\",-g.width/2,-g.height/2],[\"r\",i],[\"t\",g.width/2,g.height/2]])}else _=uo(_,[[\"t\",-n.x,-n.y-g.height/2],[\"r\",i],[\"t\",n.x,n.y+g.height/2]]);d.setMatrix(_)}if(n.background){var I=this.drawLabelBg(o,t,d),D=this.itemType+\"-label-bg\";I.set(\"classname\",D),t.shapeMap[D]=I,d.toFront()}return d},drawLabelBg:function(o,t,e){var n=this.options.labelCfg,i=Object(s.mix)({},n,o.labelCfg),d=this.getLabelBgStyleByPosition(e,i),g=t.addShape(\"rect\",{name:\"text-bg-shape\",attrs:d,labelRelated:!0});return t.shapeMap[\"text-bg-shape\"]=g,g},getLabelStyleByPosition:function(o,t,e){return{text:o.label}},getLabelBgStyleByPosition:function(o,t){return{}},getLabelStyle:function(o,t,e){var n=this.getLabelStyleByPosition(o,t,e),i=\"\".concat(this.itemType,\"Label\"),d=Ae[i]?Ae[i].style:null;return Object(l.__assign)(Object(l.__assign)(Object(l.__assign)({},d),n),t.style)},getShapeStyle:function(o){return o.style},update:function(o,t,e){this.updateShapeStyle(o,t,e),this.updateLabel(o,t,e)},updateShapeStyle:function(o,t,e){var n,i=t.getContainer(),d=t.getKeyShape(),g=Object(s.mix)({},d.attr(),o.style),_=function(D){var H,Z=g[D];if(Object(s.isPlainObject)(Z)){var te=((n=i.shapeMap)===null||n===void 0?void 0:n[D])||i.find(function(de){return de.get(\"name\")===D});te==null||te.attr(Z)}else d.attr(((H={})[D]=Z,H))};for(var I in g)_(I)},updateLabel:function(o,t,e){var n,i;if(o.label||o.label===\"\"){var d=t.getContainer(),g=(this.mergeStyle||this.getOptions({},e)||{}).labelCfg,_=g===void 0?{}:g,I=this.itemType+\"-label\",D=d.shapeMap[I]||d.find(function(Ct){return Ct.get(\"className\")===I}),H=this.itemType+\"-label-bg\",Z=d.shapeMap[H]||d.find(function(Ct){return Ct.get(\"className\")===H});if(D){(!e||e===\"bbox|label\"||this.itemType===\"edge\"&&e!==\"style\")&&(_=Object(s.deepMix)(_,o.labelCfg));var te=this.getLabelStyleByPosition(o,_,d),de=(n=o.labelCfg)===null||n===void 0?void 0:n.style,Pe=Object(l.__assign)(Object(l.__assign)({},te),de),Ge=Pe.rotate;if(delete Pe.rotate,isNaN(Ge)||Ge===\"\")((i=D.getMatrix())===null||i===void 0?void 0:i[4])!==1&&D.resetMatrix(),D.attr(Pe);else{var Qe=[1,0,0,0,1,0,0,0,1];Qe=uo(Qe,[[\"t\",-Pe.x,-Pe.y],[\"r\",Ge],[\"t\",Pe.x,Pe.y]]),Pe.matrix=Qe,D.attr(Pe)}if(Z)if(Pe.background){var Xe=this.getLabelBgStyleByPosition(D,_);Z.attr(Xe)}else d.removeChild(Z);else Pe.background&&((Z=this.drawLabelBg(o,d,D)).set(\"classname\",H),d.shapeMap[H]=Z,D.toFront())}else{var yt=this.drawLabel(o,d);yt.set(\"className\",I),d.shapeMap[I]=yt}}},afterUpdate:function(o,t){},setState:function(o,t,e){var n,i,d,g=e.get(\"keyShape\");if(g&&!g.destroyed){var _=e.getType(),I=Object(s.isBoolean)(t)?o:\"\".concat(o,\":\").concat(t),D=this.getStateStyle(I,e),H=e.getStateStyle(I);if(H||D){var Z=Object(s.mix)({},H||D),te=e.getContainer(),de={x:1,y:1,cx:1,cy:1,matrix:1};if(_===\"combo\"&&(de.r=1,de.width=1,de.height=1),t){var Pe=function(Po){var Xo,ri=Z[Po];if(Object(s.isPlainObject)(ri)&&!Go.includes(Po)){var ki=((d=te.shapeMap)===null||d===void 0?void 0:d[Po])||te.find(function(T){return T.get(\"name\")===Po});ki==null||ki.attr(ri)}else g.attr(((Xo={})[Po]=ri,Xo))};for(var Ge in Z)Pe(Ge)}else{var Qe=ln(e.getCurrentStatesStyle()),Xe=e.getModel(),yt=Object(s.mix)({},Xe.style,ln(e.getOriginStyle())),Ct=g.get(\"name\"),on=g.attr(),sn={};Object.keys(on).forEach(function(Po){if(Po!==\"img\"){var Xo=on[Po];Xo&&vo(Xo)===\"object\"?sn[Po]=Object(s.clone)(Xo):sn[Po]=Xo}});var Nn={},Tn=function(Po){var Xo=Z[Po];if(Object(s.isPlainObject)(Xo)&&!Go.includes(Po)){var ri=te.shapeMap[Po]||te.find(function(B){return B.get(\"name\")===Po});if(ri){var ki=ln(ri.attr());Object(s.each)(Xo,function(B,K){if(Po===Ct&&sn[K]&&!de[K]){delete sn[K];var Se=yt[Po][K]||la[_][K];g.attr(K,Se)}else if(ki[K]||ki[K]===0){delete ki[K];var He=yt[Po][K]||la[_][K];ri.attr(K,He)}}),Nn[Po]=ki}}else if(sn[Po]&&!de[Po]){delete sn[Po];var T=yt[Po]||(yt[Ct]?yt[Ct][Po]:void 0)||la[_][Po];g.attr(Po,T)}};for(var Bn in Z)Tn(Bn);for(var Ge in Ct?Nn[Ct]=sn:Object(s.mix)(Nn,sn),Qe)if(!de[Ge]){var Hn=Qe[Ge];Object(s.isPlainObject)(Hn)&&!Go.includes(Ge)||(Ct?(Object(s.mix)(yt[Ct],((i={})[Ge]=Hn,i)),delete yt[Ge]):Object(s.mix)(yt,((n={})[Ge]=Hn,n)),delete Qe[Ge])}var Sr={};Object(s.deepMix)(Sr,yt,Nn,Qe);var Cr=!1,po=function(Po){var Xo,ri,ki=Sr[Po];if(Object(s.isPlainObject)(ki)&&!Go.includes(Po)){var T=te.shapeMap[Po]||te.find(function(K){return K.get(\"name\")===Po});T&&((T.get(\"type\")===\"text\"||T.get(\"labelRelated\"))&&(delete ki.x,delete ki.y,delete ki.matrix),Po===Ct&&(_===\"combo\"&&(delete ki.r,delete ki.width,delete ki.height),Cr=!0),T.attr(ki))}else if(!Cr){var B=ki||la[_][Po];_===\"combo\"?Ct||g.attr(((Xo={})[Po]=B,Xo)):g.attr(((ri={})[Po]=B,ri))}};for(var wo in Sr)po(wo)}}}},getStateStyle:function(o,t){var e=t.getModel(),n=t.getType(),i=this.getOptions(e),d=i.stateStyles,g=i.style,_=g===void 0?{}:g,I=e.stateStyles?e.stateStyles[o]:d&&d[o];return n===\"combo\"?Object(s.clone)(I):Object(s.mix)({},_,I)},getControlPoints:function(o){return o.controlPoints},getAnchorPoints:function(o){var t,e;return(o==null?void 0:o.anchorPoints)||((t=this.getCustomConfig(o))===null||t===void 0?void 0:t.anchorPoints)||((e=this.options)===null||e===void 0?void 0:e.anchorPoints)}},ha={itemType:\"node\",shapeType:\"single-node\",labelPosition:\"center\",offset:Ae.nodeLabel.offset,getSize:function(o){var t,e=((t=this.mergeStyle)===null||t===void 0?void 0:t.size)||o.size||this.getOptions({}).size||Ae.defaultNode.size;return Object(s.isArray)(e)&&e.length===1&&(e=[e[0],e[0]]),Object(s.isArray)(e)||(e=[e,e]),e},getLabelStyleByPosition:function(o,t){var e=t.maxLength,n=o.label;e&&(n=ii(n,e));var i=t.position||this.labelPosition;if(i===\"center\")return{x:0,y:0,text:n,textBaseline:\"middle\",textAlign:\"center\"};var d=t.offset;Object(s.isNil)(d)&&(d=this.offset);var g,_=this.getSize(o);switch(i){case\"top\":g={x:0,y:-_[1]/2-d,textBaseline:\"bottom\",textAlign:\"center\"};break;case\"bottom\":g={x:0,y:_[1]/2+d,textBaseline:\"top\",textAlign:\"center\"};break;case\"left\":g={x:-_[0]/2-d,y:0,textBaseline:\"middle\",textAlign:\"right\"};break;default:g={x:_[0]/2+d,y:0,textBaseline:\"middle\",textAlign:\"left\"}}return g.text=n,g},getLabelBgStyleByPosition:function(o,t){var e;if(!o)return{};var n=(e=t.style)===null||e===void 0?void 0:e.background;if(!n)return{};var i=o.getBBox(),d=An(n.padding),g=i.width+d[1]+d[3],_=i.height+d[0]+d[2];return Object(l.__assign)(Object(l.__assign)({x:i.minX-d[3],y:i.minY-d[0]},n),{width:g,height:_})},drawShape:function(o,t){var e=this.shapeType,n=this.getShapeStyle(o),i=t.addShape(e,{attrs:n,draggable:!0,name:\"node-shape\"});return t.shapeMap[\"node-shape\"]=i,i},updateLinkPoints:function(o,t){var e,n=(this.mergeStyle||this.getOptions(o)).linkPoints,i=t.shapeMap[\"link-point-left\"]||t.find(function(Sr){return Sr.get(\"className\")===\"link-point-left\"}),d=t.shapeMap[\"link-point-right\"]||t.find(function(Sr){return Sr.get(\"className\")===\"link-point-right\"}),g=t.shapeMap[\"link-point-top\"]||t.find(function(Sr){return Sr.get(\"className\")===\"link-point-top\"}),_=t.shapeMap[\"link-point-bottom\"]||t.find(function(Sr){return Sr.get(\"className\")===\"link-point-bottom\"});i&&(e=i.attr()),d&&!e&&(e=d.attr()),g&&!e&&(e=g.attr()),_&&!e&&(e=_.attr()),e||(e=n);var I=Object(s.mix)({},e,o.linkPoints),D=I.fill,H=I.stroke,Z=I.lineWidth,te=I.size/2;te||(te=I.r);var de=o.linkPoints?o.linkPoints:{left:void 0,right:void 0,top:void 0,bottom:void 0},Pe=de.left,Ge=de.right,Qe=de.top,Xe=de.bottom,yt=this.getSize(o),Ct=yt[0],on=yt[1],sn={r:te,fill:D,stroke:H,lineWidth:Z};if(i)Pe||Pe===void 0?i.attr(Object(l.__assign)(Object(l.__assign)({},sn),{x:-Ct/2,y:0})):(i.remove(),delete t.shapeMap[\"link-point-left\"]);else if(Pe){var Nn=\"link-point-left\";t.shapeMap[Nn]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},sn),{x:-Ct/2,y:0}),className:Nn,name:Nn,isAnchorPoint:!0})}if(d)Ge||Ge===void 0||(d.remove(),delete t.shapeMap[\"link-point-right\"]),d.attr(Object(l.__assign)(Object(l.__assign)({},sn),{x:Ct/2,y:0}));else if(Ge){var Tn=\"link-point-right\";t.shapeMap[Tn]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},sn),{x:Ct/2,y:0}),className:Tn,name:Tn,isAnchorPoint:!0})}if(g)Qe||Qe===void 0||(g.remove(),delete t.shapeMap[\"link-point-top\"]),g.attr(Object(l.__assign)(Object(l.__assign)({},sn),{x:0,y:-on/2}));else if(Qe){var Bn=\"link-point-top\";t.shapeMap[Bn]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},sn),{x:0,y:-on/2}),className:Bn,name:Bn,isAnchorPoint:!0})}if(_)Xe||Xe===void 0?_.attr(Object(l.__assign)(Object(l.__assign)({},sn),{x:0,y:on/2})):(_.remove(),delete t.shapeMap[\"link-point-bottom\"]);else if(Xe){var Hn=\"link-point-bottom\";t.shapeMap[Hn]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},sn),{x:0,y:on/2}),className:Hn,name:Hn,isAnchorPoint:!0})}},updateShape:function(o,t,e,n,i){t.get(\"keyShape\").attr(Object(l.__assign)({},e)),this.updateLabel(o,t,i),n&&this.updateIcon(o,t)},updateIcon:function(o,t){var e=this,n=t.getContainer(),i=(this.mergeStyle||this.getOptions(o)).icon,d=o.icon?o.icon:{show:void 0,text:void 0},g=d.show,_=d.text,I=n.shapeMap[\"\".concat(this.type,\"-icon\")]||n.find(function(Qe){return Qe.get(\"name\")===\"\".concat(e.type,\"-icon\")});if(I)if(g||g===void 0){var D=Object(s.mix)({},I.attr(),i),H=D.width,Z=H===void 0?20:H,te=D.height,de=te===void 0?20:te;(D.fontFamily===\"iconfont\"||D.hasOwnProperty(\"text\"))&&(Z=0,de=0),I.attr(Object(l.__assign)(Object(l.__assign)({},D),{x:-Z/2,y:-de/2}))}else I.remove(),delete n.shapeMap[\"\".concat(this.type,\"-icon\")];else if(g){var Pe=\"\".concat(this.type,\"-icon\");_?n.shapeMap[Pe]=n.addShape(\"text\",{attrs:Object(l.__assign)({x:0,y:0,fontSize:12,fill:\"#000\",stroke:\"#000\",textBaseline:\"middle\",textAlign:\"center\"},i),className:Pe,name:Pe}):(Z=i.width,de=i.height,n.shapeMap[Pe]=n.addShape(\"image\",{attrs:Object(l.__assign)(Object(l.__assign)({},i),{x:-Z/2,y:-de/2}),className:Pe,name:Pe}));var Ge=n.shapeMap[\"node-label\"]||n.find(function(Qe){return Qe.get(\"name\")===\"node-label\"});Ge&&Ge.toFront()}}},xa=Object(l.__assign)(Object(l.__assign)({},Vi),ha);z.registerNode(\"single-node\",xa);var qi={itemType:\"edge\",labelPosition:\"center\",refX:0,refY:0,labelAutoRotate:!1,options:{size:Ae.defaultEdge.size,style:{x:0,y:0,stroke:Ae.defaultEdge.style.stroke,lineAppendWidth:Ae.defaultEdge.style.lineAppendWidth},labelCfg:{style:{fill:Ae.edgeLabel.style.fill,fontSize:Ae.edgeLabel.style.fontSize,fontFamily:Ae.windowFontFamily}},stateStyles:Object(l.__assign)({},Ae.edgeStateStyles)},getPath:function(o){var t=[];return Object(s.each)(o,function(e,n){n===0?t.push([\"M\",e.x,e.y]):t.push([\"L\",e.x,e.y])}),t},getShapeStyle:function(o){var t=this.options.style,e={stroke:o.color},n=Object(s.mix)({},t,e,o.style),i=o.size||Ae.defaultEdge.size,d=(o=this.getPathPoints(o)).startPoint,g=o.endPoint,_=this.getControlPoints(o),I=[d];_&&(I=I.concat(_)),I.push(g);var D=this.getPath(I);return Object(s.mix)({},Ae.defaultEdge.style,{stroke:Ae.defaultEdge.color,lineWidth:i,path:D},n)},updateShapeStyle:function(o,t,e){var n,i=t.getContainer(),d=((n=t.getKeyShape)===null||n===void 0?void 0:n.call(t))||i.shapeMap[\"edge-shape\"],g=o.size,_=(o=this.getPathPoints(o)).startPoint,I=o.endPoint,D=this.getControlPoints(o),H=[_];D&&(H=H.concat(D)),H.push(I);var Z=d.attr(),te=o.style||{};te.stroke===void 0&&(te.stroke=o.color);var de=o.sourceNode,Pe=o.targetNode,Ge={radius:te.radius};D||(Ge={source:de,target:Pe,offset:te.offset,radius:te.radius});var Qe=this.getPath(H,Ge),Xe={};e===\"move\"?Xe={path:Qe}:(Z.endArrow&&te.endArrow===!1&&(o.style.endArrow={path:\"\"}),Z.startArrow&&te.startArrow===!1&&(o.style.startArrow={path:\"\"}),(Xe=Object(l.__assign)({},o.style)).lineWidth===void 0&&(Xe.lineWdith=(Object(s.isNumber)(g)?g:g==null?void 0:g[0])||Z.lineWidth),Xe.path===void 0&&(Xe.path=Qe),Xe.stroke===void 0&&(Xe.stroke=Z.stroke||o.color)),d&&d.attr(Xe)},getLabelStyleByPosition:function(o,t,e){var n,i=t.position||this.labelPosition,d={},g=e==null?void 0:e.shapeMap[\"edge-shape\"];n=i===\"start\"?0:i===\"end\"?1:.5;var _,I=t.refX||this.refX,D=t.refY||this.refY;if(o.startPoint.x===o.endPoint.x&&o.startPoint.y===o.endPoint.y)return d.x=o.startPoint.x+I,d.y=o.startPoint.y+D,d.text=o.label,d;_=Object(s.isNil)(t.autoRotate)?this.labelAutoRotate:t.autoRotate;var H=go(g,n,I,D,_);return d.x=H.x,d.y=H.y,d.rotate=H.rotate,d.textAlign=this._getTextAlign(i,H.angle),d.text=o.label,d},getLabelBgStyleByPosition:function(o,t){if(!o)return{};var e=o.getBBox(),n=t.style&&t.style.background;if(!n)return{};var i=n.padding,d=e.width+i[1]+i[3],g=e.height+i[0]+i[2],_=Object(l.__assign)(Object(l.__assign)({},n),{width:d,height:g,x:e.minX-i[3],y:e.minY-i[0],matrix:[1,0,0,0,1,0,0,0,1]});return(Object(s.isNil)(t.autoRotate)?this.labelAutoRotate:t.autoRotate)&&(_.matrix=o.attr(\"matrix\")||[1,0,0,0,1,0,0,0,1]),_},_getTextAlign:function(o,t){var e=\"center\";return t?(t%=2*Math.PI,o!==\"center\"&&(e=t>=0&&t<=Math.PI/2||t>=1.5*Math.PI&&t<2*Math.PI?o:function(n){var i=n;return n===\"start\"?i=\"end\":n===\"end\"&&(i=\"start\"),i}(o)),e):o},getControlPoints:function(o){return o.controlPoints},getPathPoints:function(o){return o},drawShape:function(o,t){var e=this.getShapeStyle(o),n=t.addShape(\"path\",{className:\"edge-shape\",name:\"edge-shape\",attrs:e});return t.shapeMap[\"edge-shape\"]=n,n},drawLabel:function(o,t){var e=this.options.labelCfg,n=Object(s.deepMix)({},e,o.labelCfg),i=this.getLabelStyle(o,n,t),d=i.rotate;delete i.rotate;var g=t.addShape(\"text\",{attrs:i,name:\"text-shape\",labelRelated:!0});if(t.shapeMap[\"text-shape\"]=g,isNaN(d)||d===\"\"||g.rotateAtStart(d),i.background){var _=this.drawLabelBg(o,t,g,i,d),I=this.itemType+\"-label-bg\";_.set(\"classname\",I),t.shapeMap[I]=_,g.toFront()}return g},drawLabelBg:function(o,t,e,n,i){var d=this.options.labelCfg,g=Object(s.deepMix)({},d,o.labelCfg),_=this.getLabelBgStyleByPosition(e,g),I=t.addShape(\"rect\",{name:\"text-bg-shape\",attrs:_,labelRelated:!0});return t.shapeMap[\"text-bg-shape\"]=I,I}},Jo=Object(l.__assign)(Object(l.__assign)({},Vi),qi);z.registerEdge(\"single-edge\",Jo),z.registerEdge(\"line\",{getControlPoints:function(){}},\"single-edge\"),z.registerEdge(\"spline\",{getPath:function(o){return It(o)}},\"single-edge\"),z.registerEdge(\"arc\",{curveOffset:20,clockwise:1,getControlPoints:function(o){var t,e,n=o.startPoint,i=o.endPoint,d=(n.x+i.x)/2,g=(n.y+i.y)/2;if(o.controlPoints!==void 0){if(e=o.controlPoints[0],t=jr(n,e,i),n.x<=i.x&&n.y>i.y?this.clockwise=t.x>e.x?0:1:n.x<=i.x&&n.y<i.y?this.clockwise=t.x>e.x?1:0:n.x>i.x&&n.y<=i.y?this.clockwise=t.y<e.y?0:1:this.clockwise=t.y<e.y?1:0,(e.x-n.x)/(e.y-n.y)==(i.x-n.x)/(i.y-n.y))return[]}else{o.curveOffset===void 0&&(o.curveOffset=this.curveOffset),Object(s.isArray)(o.curveOffset)&&(o.curveOffset=o.curveOffset[0]),o.curveOffset<0?this.clockwise=0:this.clockwise=1;var _={x:i.x-n.x,y:i.y-n.y},I=Math.atan2(_.y,_.x);e={x:o.curveOffset*Math.cos(-Math.PI/2+I)+d,y:o.curveOffset*Math.sin(-Math.PI/2+I)+g},t=jr(n,e,i)}var D=yo(n,t);return[{x:D,y:D}]},getPath:function(o){var t=[];return t.push([\"M\",o[0].x,o[0].y]),o.length===2?t.push([\"L\",o[1].x,o[1].y]):t.push([\"A\",o[1].x,o[1].y,0,0,this.clockwise,o[2].x,o[2].y]),t}},\"single-edge\"),z.registerEdge(\"quadratic\",{curvePosition:.5,curveOffset:-20,getControlPoints:function(o){var t=o.controlPoints;if(!t||!t.length){var e=o.startPoint,n=o.endPoint;o.curveOffset===void 0&&(o.curveOffset=this.curveOffset),o.curvePosition===void 0&&(o.curvePosition=this.curvePosition),Object(s.isArray)(this.curveOffset)&&(o.curveOffset=o.curveOffset[0]),Object(s.isArray)(this.curvePosition)&&(o.curvePosition=o.curveOffset[0]),t=[jt(e,n,o.curvePosition,o.curveOffset)]}return t},getPath:function(o){var t=[];return t.push([\"M\",o[0].x,o[0].y]),t.push([\"Q\",o[1].x,o[1].y,o[2].x,o[2].y]),t}},\"single-edge\"),z.registerEdge(\"cubic\",{curvePosition:[.5,.5],curveOffset:[-20,20],getControlPoints:function(o){var t=o.controlPoints;if(o.curveOffset===void 0&&(o.curveOffset=this.curveOffset),o.curvePosition===void 0&&(o.curvePosition=this.curvePosition),Object(s.isNumber)(o.curveOffset)&&(o.curveOffset=[o.curveOffset,-o.curveOffset]),Object(s.isNumber)(o.curvePosition)&&(o.curvePosition=[o.curvePosition,1-o.curvePosition]),!t||!t.length||t.length<2){var e=o.startPoint,n=o.endPoint;t=[jt(e,n,o.curvePosition[0],o.curveOffset[0]),jt(e,n,o.curvePosition[1],o.curveOffset[1])]}return t},getPath:function(o){var t=[];return t.push([\"M\",o[0].x,o[0].y]),t.push([\"C\",o[1].x,o[1].y,o[2].x,o[2].y,o[3].x,o[3].y]),t}},\"single-edge\"),z.registerEdge(\"cubic-vertical\",{curvePosition:[.5,.5],minCurveOffset:[0,0],curveOffset:void 0,getControlPoints:function(o){var t=o.startPoint,e=o.endPoint;o.curvePosition===void 0&&(o.curvePosition=this.curvePosition),o.curveOffset===void 0&&(o.curveOffset=this.curveOffset),o.minCurveOffset===void 0&&(o.minCurveOffset=this.minCurveOffset),Object(s.isNumber)(o.curveOffset)&&(o.curveOffset=[o.curveOffset,-o.curveOffset]),Object(s.isNumber)(o.minCurveOffset)&&(o.minCurveOffset=[o.minCurveOffset,-o.minCurveOffset]),Object(s.isNumber)(o.curvePosition)&&(o.curvePosition=[o.curvePosition,1-o.curvePosition]);var n=e.y-t.y,i=[0,0];return o.curveOffset?i=o.curveOffset:Math.abs(n)<Math.abs(o.minCurveOffset[0])&&(i=o.minCurveOffset),[{x:t.x,y:t.y+n*this.curvePosition[0]+i[0]},{x:e.x,y:e.y-n*this.curvePosition[1]+i[1]}]}},\"cubic\"),z.registerEdge(\"cubic-horizontal\",{curvePosition:[.5,.5],minCurveOffset:[0,0],curveOffset:void 0,getControlPoints:function(o){var t=o.startPoint,e=o.endPoint;o.curvePosition===void 0&&(o.curvePosition=this.curvePosition),o.curveOffset===void 0&&(o.curveOffset=this.curveOffset),o.minCurveOffset===void 0&&(o.minCurveOffset=this.minCurveOffset),Object(s.isNumber)(o.curveOffset)&&(o.curveOffset=[o.curveOffset,-o.curveOffset]),Object(s.isNumber)(o.minCurveOffset)&&(o.minCurveOffset=[o.minCurveOffset,-o.minCurveOffset]),Object(s.isNumber)(o.curvePosition)&&(o.curvePosition=[o.curvePosition,1-o.curvePosition]);var n=e.x-t.x,i=[0,0];return o.curveOffset?i=o.curveOffset:Math.abs(n)<Math.abs(o.minCurveOffset[0])&&(i=o.minCurveOffset),[{x:t.x+n*this.curvePosition[0]+i[0],y:t.y},{x:e.x-n*this.curvePosition[1]+i[1],y:e.y}]}},\"cubic\"),z.registerEdge(\"loop\",{getPathPoints:function(o){return Dr(o)},getControlPoints:function(o){return o.controlPoints},afterDraw:function(o){o.controlPoints=void 0},afterUpdate:function(o){o.controlPoints=void 0}},\"cubic\");var Ji={itemType:\"combo\",shapeType:\"single-combo\",labelPosition:\"top\",refX:Ae.comboLabel.refX,refY:Ae.comboLabel.refY,options:{style:{stroke:Ae.defaultCombo.style.stroke,fill:Ae.defaultCombo.style.fill,lineWidth:Ae.defaultCombo.style.lineWidth},labelCfg:{style:{fill:Ae.comboLabel.style.fill,fontSize:Ae.comboLabel.style.fontSize,fontFamily:Ae.windowFontFamily}},stateStyles:Object(l.__assign)({},Ae.comboStateStyles),collapsedSubstituteIcon:{show:!1,img:\"https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*RsnHRqLfJn4AAAAAAAAAAAAAARQnAQ\"}},getSize:function(o){var t=Object(s.clone)(o.size||this.options.size||Ae.defaultCombo.size);return Object(s.isArray)(t)&&t.length===1&&(t=[t[0],t[0]]),Object(s.isArray)(t)||(t=[t,t]),t},getLabelStyleByPosition:function(o,t){var e=t.position||this.labelPosition,n=o.style,i=o.padding||this.options.padding;Object(s.isArray)(i)&&(i=Math.max.apply(Math,i));var d=t.refX,g=t.refY;Object(s.isNil)(d)&&(d=this.refX),Object(s.isNil)(g)&&(g=this.refY);var _,I=this.getSize(o),D=(Math.max(n.r,I[0]/2)||I[0]/2)+i;switch(e){case\"top\":_={x:0,y:-D-g,textBaseline:\"bottom\",textAlign:\"center\"};break;case\"bottom\":_={x:0,y:D+g,textBaseline:\"bottom\",textAlign:\"center\"};break;case\"left\":_={x:-D+d,y:0,textAlign:\"left\"};break;case\"center\":_={x:0,y:0,text:o.label,textAlign:\"center\"};break;default:_={x:D+d,y:0,textAlign:\"right\"}}return _.text=o.label,_},drawShape:function(o,t){var e=this.shapeType,n=this.getShapeStyle(o);return t.addShape(e,{attrs:n,draggable:!0,name:\"combo-shape\"})},updateCollapsedIcon:function(o,t,e){var n=o.collapsed,i=o.collapsedSubstituteIcon,d=i===void 0?{}:i,g=Object.assign({},this.options.collapsedSubstituteIcon,d),_=g.show,I=g.img,D=g.width,H=g.height,Z=t.getContainer(),te=Z.find(function(Qe){return Qe.get(\"name\")===\"combo-collapsed-substitute-icon\"}),de=te&&!te.destroyed,Pe=t.get(\"keyShape\");if(n&&_){if(de)te.show();else{var Ge={width:D||2*e.r||e.width,height:H||2*e.r||e.height};te=Z.addShape(\"image\",{attrs:Object(l.__assign)({img:I,x:-Ge.width/2,y:-Ge.height/2},Ge),name:\"combo-collapsed-substitute-icon\",draggable:!0})}Pe.hide()}else de&&(te.hide(),Pe.show())},updateShape:function(o,t,e){var n=this,i=t.get(\"keyShape\");t.get(\"animate\")&&(o.animate===void 0?this.options.animate:o.animate)&&i.animate?(o.collapsed||this.updateCollapsedIcon(o,t,e),i.animate(e,{duration:200,easing:\"easeLinear\",callback:function(){o.collapsed&&n.updateCollapsedIcon(o,t,e)}})):(i.attr(Object(l.__assign)({},e)),this.updateCollapsedIcon(o,t,e)),this.updateLabel(o,t)}},Yi=Object(l.__assign)(Object(l.__assign)({},Vi),Ji);z.registerCombo(\"single-combo\",Yi),z.registerCombo(\"circle\",{options:{size:[Ae.defaultCombo.size[0],Ae.defaultCombo.size[0]],padding:Math.max.apply(Math,Ae.defaultCombo.padding),animate:!0,style:{stroke:Ae.defaultCombo.style.stroke,fill:Ae.defaultCombo.style.fill,lineWidth:Ae.defaultCombo.style.lineWidth},labelCfg:{style:{fill:Ae.comboLabel.style.fill,fontSize:Ae.comboLabel.style.fontSize},refX:0,refY:0},stateStyles:Object(l.__assign)({},Ae.comboStateStyles),collapsedSubstituteIcon:{show:!1,img:\"https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*RsnHRqLfJn4AAAAAAAAAAAAAARQnAQ\"}},shapeType:\"circle\",labelPosition:\"top\",drawShape:function(o,t){var e=this.getShapeStyle(o);return delete e.height,delete e.width,t.addShape(\"circle\",{attrs:e,className:\"circle-combo\",name:\"circle-combo\",draggable:!0})},getShapeStyle:function(o){var t=this.options.style,e=o.padding||this.options.padding;Object(s.isArray)(e)&&(e=Math.max.apply(Math,e));var n,i={stroke:o.color},d=Object(s.mix)({},t,i,o.style),g=o.collapsed&&o.fixCollapseSize?o.fixCollapseSize:o.fixSize;if(g)n=Object(s.isNumber)(g)?g/2:g[0]/2;else{var _=this.getSize(o);n=!Object(s.isNumber)(d.r)||isNaN(d.r)?_[0]/2||Ae.defaultCombo.style.r:Math.max(d.r,_[0]/2)||_[0]/2}d.r=n+e;var I=Object(l.__assign)({x:0,y:0},d);return o.style?o.style.r=n:o.style={r:n},I},update:function(o,t){var e=this.getSize(o),n=o.padding||this.options.padding;Object(s.isArray)(n)&&(n=Math.max.apply(Math,n));var i,d=Object(s.clone)(o.style),g=o.collapsed&&o.fixCollapseSize?o.fixCollapseSize:o.fixSize;i=g?Object(s.isNumber)(g)?g/2:g[0]/2:Math.max(d.r,e[0]/2)||e[0]/2,d.r=i+n;var _=t.get(\"sizeCache\");_&&(_.r=d.r);var I={stroke:o.color},D=t.get(\"keyShape\"),H=Object(s.mix)({},D.attr(),I,d);o.style?o.style.r=i:o.style={r:i},this.updateShape(o,t,H,!0)}},\"single-combo\"),z.registerCombo(\"rect\",{options:{size:[40,5],padding:[25,20,15,20],animate:!0,style:{radius:0,stroke:Ae.defaultCombo.style.stroke,fill:Ae.defaultCombo.style.fill,lineWidth:Ae.defaultCombo.style.lineWidth},labelCfg:{style:{fill:Ae.comboLabel.style.fill,fontSize:Ae.comboLabel.style.fontSize,fontFamily:Ae.windowFontFamily}},anchorPoints:[[0,.5],[1,.5]],stateStyles:Object(l.__assign)({},Ae.comboStateStyles),collapsedSubstituteIcon:{show:!1,img:\"https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*RsnHRqLfJn4AAAAAAAAAAAAAARQnAQ\"}},shapeType:\"rect\",labelPosition:\"top\",drawShape:function(o,t){var e=this.getShapeStyle(o);return t.addShape(\"rect\",{attrs:e,className:\"rect-combo\",name:\"rect-combo\",draggable:!0})},getLabelStyleByPosition:function(o,t){var e=t.position||this.labelPosition,n=o.style,i=o.padding||this.options.padding;Object(s.isNumber)(i)&&(i=[i,i,i,i]);var d=t.refX,g=t.refY;Object(s.isNil)(d)&&(d=this.refX),Object(s.isNil)(g)&&(g=this.refY);var _,I=-n.width/2-i[3],D=n.width/2+i[1],H=-n.height/2-i[0],Z=n.height/2+i[2];switch(e){case\"top\":_={x:I+d,y:H+g,textBaseline:\"top\",textAlign:\"left\"};break;case\"bottom\":_={x:0,y:Z+g,textBaseline:\"top\",textAlign:\"center\"};break;case\"left\":_={x:I+g,y:0,textAlign:\"left\"};break;case\"center\":_={x:0,y:0,text:o.label,textAlign:\"center\"};break;case\"top-center\":_={x:0,y:H+g,textBaseline:\"top\",textAlign:\"center\"};break;default:_={x:D+d,y:0,textAlign:\"right\"}}return _.text=o.label,_},getShapeStyle:function(o){var t=this.options.style,e=o.padding||this.options.padding;Object(s.isNumber)(e)&&(e=[e,e,e,e]);var n,i,d={stroke:o.color},g=Object(s.mix)({},t,d,o.style),_=this.getSize(o),I=o.collapsed&&o.fixCollapseSize?o.fixCollapseSize:o.fixSize;I?Object(s.isNumber)(I)?(n=I,i=I):(n=I[0],i=I[1]):(n=!Object(s.isNumber)(g.width)||isNaN(g.width)?_[0]||Ae.defaultCombo.style.width:Math.max(g.width,_[0])||_[0],i=!Object(s.isNumber)(g.height)||isNaN(g.height)?_[1]||Ae.defaultCombo.style.height:Math.max(g.height,_[1])||_[1]);var D=-n/2-e[3],H=-i/2-e[0];g.width=n+e[1]+e[3],g.height=i+e[0]+e[2];var Z=Object(l.__assign)({x:D,y:H},g);return o.style?(o.style.width=n,o.style.height=i):o.style={width:n,height:i},Z},update:function(o,t){var e=this.getSize(o),n=o.padding||this.options.padding;Object(s.isNumber)(n)&&(n=[n,n,n,n]);var i,d,g=Object(s.clone)(o.style),_=o.collapsed&&o.fixCollapseSize?o.fixCollapseSize:o.fixSize;_?Object(s.isNumber)(_)?(i=_,d=_):(i=_[0],d=_[1]):(i=Math.max(g.width,e[0])||e[0],d=Math.max(g.height,e[1])||e[1]),g.width=i+n[1]+n[3],g.height=d+n[0]+n[2];var I=t.get(\"sizeCache\");I&&(I.width=g.width,I.height=g.height),g.x=-i/2-n[3],g.y=-d/2-n[0];var D={stroke:o.color},H=t.get(\"keyShape\"),Z=Object(s.mix)({},H.attr(),D,g);o.style?(o.style.width=i,o.style.height=d):o.style={width:i,height:d},this.updateShape(o,t,Z,!1)}},\"single-combo\"),z.registerNode(\"simple-circle\",{options:{size:Ae.defaultNode.size,style:{x:0,y:0,stroke:Ae.defaultNode.style.stroke,fill:Ae.defaultNode.style.fill,lineWidth:Ae.defaultNode.style.lineWidth},labelCfg:{style:{fill:Ae.nodeLabel.style.fill,fontSize:Ae.nodeLabel.style.fontSize,fontFamily:Ae.windowFontFamily}},stateStyles:Object(l.__assign)({},Ae.nodeStateStyles)},shapeType:\"simple-circle\",labelPosition:\"center\",shapeMap:{},drawShape:function(o,t){var e=this.getShapeStyle(o),n=\"\".concat(this.type,\"-keyShape\"),i=t.addShape(\"circle\",{attrs:e,className:\"\".concat(this.type,\"-keyShape\"),name:n,draggable:!0});return t.shapeMap[n]=i,i},getShapeStyle:function(o){var t=(this.mergeStyle||this.getOptions(o)).style,e={stroke:o.color},n=Object(s.deepMix)({},t,e),i=this.getSize(o)[0]/2;return Object(l.__assign)({x:0,y:0,r:i},n)},update:function(o,t,e){var n=this.getSize(o),i={stroke:o.color,r:n[0]/2},d=t.get(\"keyShape\"),g=Object(s.deepMix)({},d.attr(),i,o.style);this.updateShape(o,t,g,!0,e)}},\"single-node\"),z.registerNode(\"simple-rect\",{options:{size:[100,30],style:{radius:0,stroke:Ae.defaultNode.style.stroke,fill:Ae.defaultNode.style.fill,lineWidth:Ae.defaultNode.style.lineWidth},labelCfg:{style:{fill:Ae.nodeLabel.style.fill,fontSize:Ae.nodeLabel.style.fontSize,fontFamily:Ae.windowFontFamily}},anchorPoints:[[0,.5],[1,.5]],stateStyles:Object(l.__assign)({},Ae.nodeStateStyles)},shapeType:\"simple-rect\",labelPosition:\"center\",drawShape:function(o,t){var e=this.getShapeStyle(o);return t.addShape(\"rect\",{attrs:e,className:\"\".concat(this.type,\"-keyShape\"),name:\"\".concat(this.type,\"-keyShape\"),draggable:!0})},getShapeStyle:function(o){var t=(this.mergeStyle||this.getOptions(o)).style,e={stroke:o.color},n=Object(s.mix)({},t,e),i=this.getSize(o),d=n.width||i[0],g=n.height||i[1];return Object(l.__assign)({x:-d/2,y:-g/2,width:d,height:g},n)},update:function(o,t,e){t.getContainer();var n=(this.mergeStyle||this.getOptions(o)).style,i=this.getSize(o),d=t.get(\"keyShape\");o.size||(i[0]=d.attr(\"width\")||n.width,i[1]=d.attr(\"height\")||n.height);var g={stroke:o.color,x:-i[0]/2,y:-i[1]/2,width:i[0],height:i[1]},_=Object(s.mix)({},n,d.attr(),g);_=Object(s.mix)(_,o.style),this.updateShape(o,t,_,!1,e)}},\"single-node\"),z.registerNode(\"image\",{options:{img:\"https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*eD7nT6tmYgAAAAAAAAAAAABkARQnAQ\",size:200,labelCfg:{style:{fontFamily:Ae.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(o,t){var e=this.shapeType,n=this.getShapeStyle(o);delete n.fill;var i=t.addShape(e,{attrs:n,className:\"\".concat(this.type,\"-keyShape\"),name:\"\".concat(this.type,\"-keyShape\"),draggable:!0});return this.drawClip(o,i),i},drawClip:function(o,t){var e=(this.mergeStyle||this.getOptions(o)).clipCfg;if(e.show){var n=e.type,i=e.x,d=e.y,g=e.style;if(n===\"circle\"){var _=e.r;t.setClip({type:\"circle\",attrs:Object(l.__assign)({r:_,x:i,y:d},g)})}else if(n===\"rect\"){var I=e.width,D=e.height,H=i-I/2,Z=d-D/2;t.setClip({type:\"rect\",attrs:Object(l.__assign)({x:H,y:Z,width:I,height:D},g)})}else if(n===\"ellipse\"){var te=e.rx,de=e.ry;t.setClip({type:\"ellipse\",attrs:Object(l.__assign)({x:i,y:d,rx:te,ry:de},g)})}else if(n===\"polygon\"){var Pe=e.points;t.setClip({type:\"polygon\",attrs:Object(l.__assign)({points:Pe},g)})}else if(n===\"path\"){var Ge=e.path;t.setClip({type:\"path\",attrs:Object(l.__assign)({path:Ge},g)})}}},getShapeStyle:function(o){var t=this.mergeStyle||this.getOptions(o),e=t.style,n=t.img,i=this.getSize(o),d=i[0],g=i[1];return e&&(d=e.width||i[0],g=e.height||i[1]),Object(l.__assign)({x:-d/2,y:-g/2,width:d,height:g,img:n},e)},updateShapeStyle:function(o,t){var e=t.getContainer(),n=\"\".concat(this.itemType,\"-shape\"),i=e.shapeMap[n]||e.find(function(g){return g.get(\"className\")===n})||t.getKeyShape(),d=this.getShapeStyle(o);i&&!i.destroyed&&i.attr(d)}},\"single-node\");var Ii={triangle:function(o,t,e){o===void 0&&(o=10),t===void 0&&(t=15),e===void 0&&(e=0);var n=2*e;return\"M \".concat(n,\",0 L \").concat(n+t,\",-\").concat(o/2,\" L \").concat(n+t,\",\").concat(o/2,\" Z\")},vee:function(o,t,e){o===void 0&&(o=15),t===void 0&&(t=20),e===void 0&&(e=0);var n=2*e;return\"M \".concat(n,\",0 L \").concat(n+t,\",-\").concat(o/2,`\n        L `).concat(n+2*t/3,\",0 L \").concat(n+t,\",\").concat(o/2,\" Z\")},circle:function(o,t){return o===void 0&&(o=5),t===void 0&&(t=0),\"M \".concat(2*t,`, 0\n            a `).concat(o,\",\").concat(o,\" 0 1,0 \").concat(2*o,`,0\n            a `).concat(o,\",\").concat(o,\" 0 1,0 \").concat(2*-o,\",0\")},rect:function(o,t,e){o===void 0&&(o=10),t===void 0&&(t=10),e===void 0&&(e=0);var n=2*e;return\"M \".concat(n,\",\").concat(-o/2,` \n        L `).concat(n+t,\",\").concat(-o/2,` \n        L `).concat(n+t,\",\").concat(o/2,` \n        L `).concat(n,\",\").concat(o/2,\" Z\")},diamond:function(o,t,e){o===void 0&&(o=15),t===void 0&&(t=15),e===void 0&&(e=0);var n=2*e;return\"M \".concat(n,`,0 \n        L `).concat(n+t/2,\",\").concat(-o/2,` \n        L `).concat(n+t,`,0 \n        L `).concat(n+t/2,\",\").concat(o/2,\" Z\")},triangleRect:function(o,t,e,n,i,d){o===void 0&&(o=15),t===void 0&&(t=15),e===void 0&&(e=15),n===void 0&&(n=3),i===void 0&&(i=5),d===void 0&&(d=0);var g=2*d,_=g+t+i;return\"M \".concat(g,\",0 L \").concat(g+t,\",-\").concat(o/2,\" L \").concat(g+t,\",\").concat(o/2,` Z\n            M `).concat(_,\", -\").concat(e/2,`\n            L `).concat(_+n,\" -\").concat(e/2,`\n            L `).concat(_+n,\" \").concat(e/2,`\n            L `).concat(_,\" \").concat(e/2,`\n            Z`)}},pa={collapse:function(o,t,e){return[[\"M\",o-e,t],[\"a\",e,e,0,1,0,2*e,0],[\"a\",e,e,0,1,0,2*-e,0],[\"M\",o-e+4,t],[\"L\",o+e-4,t]]},expand:function(o,t,e){return[[\"M\",o-e,t],[\"a\",e,e,0,1,0,2*e,0],[\"a\",e,e,0,1,0,2*-e,0],[\"M\",o-e+4,t],[\"L\",o-e+2*e-4,t],[\"M\",o-e+e,t-e+4],[\"L\",o,t+e-4]]},upTriangle:function(o,t,e){var n=e*Math.cos(Math.PI/6),i=e*Math.sin(Math.PI/6);return[[\"M\",o-n,t+i],[\"L\",o+n,t+i],[\"L\",o,t-e],[\"Z\"]]},downTriangle:function(o,t,e){var n=e*Math.cos(Math.PI/6),i=e*Math.sin(Math.PI/6);return[[\"M\",o-n,t-i],[\"L\",o+n,t-i],[\"L\",o,t+e],[\"Z\"]]}},na=z,$i=[\"#5F95FF\",\"#61DDAA\",\"#65789B\",\"#F6BD16\",\"#7262FD\",\"#78D3F8\",\"#9661BC\",\"#F6903D\",\"#008685\",\"#F08BB4\"],La=function(o){return o===\"force\"||o===\"g6force\"||o===\"gForce\"||o===\"force2\"},ss=j.a.transform,Oa=Object(l.__assign)(Object(l.__assign)(Object(l.__assign)(Object(l.__assign)(Object(l.__assign)(Object(l.__assign)(Object(l.__assign)({},w),C),O),N),b),p),{transform:ss,mat3:j.b}),Ma=function(){function o(t){this.graph=t,this.layoutCfg=t.get(\"layout\")||{},this.layoutType=this.getLayoutType(),this.layoutMethods=[],this.initLayout()}return o.prototype.initLayout=function(){},o.prototype.getLayoutType=function(){return this.getLayoutCfgType(this.layoutCfg)},o.prototype.getLayoutCfgType=function(t){var e=t.type;if(e)return e;var n=t.pipes;return Array.isArray(n)?n.map(function(i){return(i==null?void 0:i.type)||\"\"}):null},o.prototype.isLayoutTypeSame=function(t){var e=this.getLayoutCfgType(t),n=Array.isArray(this.layoutType),i=Array.isArray(e);return n&&i?this.layoutType.every(function(d,g){return d===e[g]}):!Array.isArray(e)&&!Array.isArray(this.layoutType)&&(t==null?void 0:t.type)===this.layoutType},o.prototype.refreshLayout=function(){var t=this.graph,e=this.layoutType,n=this.layoutCfg;if(t){var i=(n===void 0?{}:n).animate,d=i===void 0&&(e===\"force\"||e===\"force2\"),g=La(e)&&(i||d);t.get(\"animate\")&&!g?t.positionsAnimate(e===\"comboCombined\"):t.refreshPositions(e===\"comboCombined\")}},o.prototype.changeLayout=function(t){var e=t.disableTriggerLayout,n=Object(l.__rest)(t,[\"disableTriggerLayout\"]);this.layoutCfg=n,this.layoutType=n.type||this.layoutType,e||this.layout()},o.prototype.changeData=function(t){this.layout(t)},o.prototype.destoryLayoutMethods=function(){var t=this.layoutMethods,e=[];return t==null||t.forEach(function(n){var i,d=(i=n.getType)===null||i===void 0?void 0:i.call(n);d&&e.push(d),n.destroy()}),this.layoutMethods=[],e},o.prototype.destroyLayout=function(){this.destoryLayoutMethods();var t=this.graph;t&&!t.get(\"destroyed\")&&t.set(\"layout\",void 0),this.layoutCfg=void 0,this.layoutType=void 0,this.layoutMethods=void 0},o.prototype.setDataFromGraph=function(){for(var t,e=[],n=[],i=[],d=[],g=[],_=[],I=[],D=this.graph.getNodes(),H=this.graph.getEdges(),Z=this.graph.getCombos(),te=D.length,de=0;de<te;de++){var Pe=D[de];if(Pe&&!Pe.destroyed){var Ge=Pe.getModel();Pe.isVisible()?e.push(Ge):n.push(Ge)}}var Qe=H.length;for(de=0;de<Qe;de++){var Xe=H[de];Xe&&!Xe.destroyed&&(Ge=Xe.getModel(),Xe.isVisible()?Ge.isComboEdge?g.push(Ge):i.push(Ge):d.push(Ge))}var yt=Z.length;for(de=0;de<yt;de++){var Ct=Z[de];Ct.destroyed||(Ge=Ct.getModel(),Ct.isVisible()?_.push(Ge):I.push(Ge))}return{nodes:e,hiddenNodes:n,edges:i,hiddenEdges:d,combos:_,hiddenCombos:I,comboEdges:g,vedges:(t=this.graph.get(\"vedges\"))===null||t===void 0?void 0:t.map(function(on){return on.getModel()})}},o.prototype.relayout=function(t){var e=this,n=this.graph,i=this.layoutMethods,d=this.layoutCfg;if(n&&!n.get(\"destroyed\")){var g=Promise.resolve();if(t){this.data=this.setDataFromGraph();var _=this.data.nodes;if(!_)return!1;g=this.initPositions(d.center,_)}n.emit(\"beforelayout\"),i==null||i.forEach(function(I,D){var H=d[D]||d;g=g.then(function(){var Z,te=e.execLayoutMethod(H,D);return D===i.length-1&&((Z=d.onAllLayoutEnd)===null||Z===void 0||Z.call(d)),te})})}},o.prototype.filterLayoutData=function(t,e){var n,i,d=t.nodes,g=t.edges,_=Object(l.__rest)(t,[\"nodes\",\"edges\"]);if(!d)return t;n=Object(s.isFunction)(e==null?void 0:e.nodesFilter)?e.nodesFilter:function(){return!0};var I=d.filter(n);if(Object(s.isFunction)(e==null?void 0:e.edgesFilter))i=e.edgesFilter;else{var D=I.reduce(function(H,Z){return H[Z.id]=!0,H},{});i=function(H){return D[H.source]&&D[H.target]}}return Object(l.__assign)({nodes:I,edges:g.filter(i)},_)},o.prototype.getLayoutBBox=function(t){var e=this.graph,n=Object(s.groupBy)(e.getNodes(),function(d){return d.getModel().layoutOrder}),i=Object.values(n).map(function(d){var g=dr(d);return g.size=[g.width,g.height],g});return{groupNodes:Object.values(Object(s.groupBy)(t,\"layoutOrder\")),layoutNodes:i}},o.prototype.layoutAnimate=function(){},o.prototype.moveToZero=function(){var t=this.graph.get(\"data\").nodes;if(t[0].x!==void 0&&t[0].x!==null&&!Dn(t[0].x)){for(var e=[0,0],n=t.length,i=0;i<n;i++){var d=t[i];e[0]+=d.x,e[1]+=d.y}for(e[0]/=t.length,e[1]/=t.length,i=0;i<n;i++)(d=t[i]).x-=e[0],d.y-=e[1]}},o.prototype.initPositions=function(t,e){var n;return Object(l.__awaiter)(this,void 0,void 0,function(){var i,d,g;return Object(l.__generator)(this,function(_){return i=this.graph,e!=null&&e.length?(d=e.filter(function(I){return Dn(I.x)||Dn(I.y)}),(g=d?d.length:0)?[2,(n=this.initWithPreset)===null||n===void 0?void 0:n.call(this,function(){},function(){var I=.85*i.get(\"width\"),D=.85*i.get(\"height\"),H=Math.ceil(Math.sqrt(g)*(I/D)),Z=I/(H-1),te=D/(Math.ceil(g/H)-1);isFinite(Z)&&Z||(Z=0),isFinite(te)&&Z||(te=0);for(var de=t[0]-I/2,Pe=t[1]-D/2,Ge=0;Ge<g;Ge++){var Qe=d[Ge];Dn(+Qe.x)&&(Qe.x=Ge%H*Z+de),Dn(+Qe.y)&&(Qe.y=Math.floor(Ge/H)*te+Pe)}})]:[2]):[2,Promise.resolve()]})})},o.prototype.destroy=function(){this.graph=null,this.destoryLayoutMethods(),this.destroyed=!0},o}(),Ka=function(o){this.graph=o,this.destroyed=!1,this.initEvents()},Ba=na.registerNode,Ua=na.registerEdge,Va=na.registerCombo,Ls=M.registerBehavior,Qo=Ae,ws=(na.registerNode,na.registerEdge,na.registerCombo,M.registerBehavior,r(114)),Za=r(23),rr=r(31),Eo=r(41),Br=r.n(Eo),Ao=r(44),Di=r.n(Ao),Aa=[{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 Na(o,t,e){var n;return(n=Math.round(o.h)>=60&&Math.round(o.h)<=240?e?Math.round(o.h)-2*t:Math.round(o.h)+2*t:e?Math.round(o.h)+2*t:Math.round(o.h)-2*t)<0?n+=360:n>=360&&(n-=360),n}function Fa(o,t,e){return o.h===0&&o.s===0?o.s:((n=e?o.s-.16*t:t===4?o.s+.16:o.s+.05*t)>1&&(n=1),e&&t===5&&n>.1&&(n=.1),n<.06&&(n=.06),Number(n.toFixed(2)));var n}function Bs(o,t,e){var n;return(n=e?o.v+.05*t:o.v-.15*t)>1&&(n=1),Number(n.toFixed(2))}function Ms(o){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=[],n=Di()(o),i=5;i>0;i-=1){var d=n.toHsv(),g=Di()({h:Na(d,i,!0),s:Fa(d,i,!0),v:Bs(d,i,!0)}).toHexString();e.push(g)}e.push(n.toHexString());for(var _=1;_<=4;_+=1){var I=n.toHsv(),D=Di()({h:Na(I,_),s:Fa(I,_),v:Bs(I,_)}).toHexString();e.push(D)}return t.theme===\"dark\"?Aa.map(function(H){var Z=H.index,te=H.opacity;return Di.a.mix(t.backgroundColor||\"#141414\",e[Z],100*te).toHexString()}):e}var Qa={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\"},us={},Fs={};Object.keys(Qa).forEach(function(o){us[o]=Ms(Qa[o]),us[o].primary=us[o][5],Fs[o]=Ms(Qa[o],{theme:\"dark\",backgroundColor:\"#141414\"}),Fs[o].primary=Fs[o][5]}),us.red,us.volcano,us.gold,us.orange,us.yellow,us.lime,us.green,us.cyan,us.blue,us.geekblue,us.purple,us.magenta,us.grey;var $a,Hs,ys,sa,Xa=function(o,t,e){var n=Br()(o),i=Br()(t);return Br()([(1-e)*n.red()+e*i.red(),(1-e)*n.green()+e*i.green(),(1-e)*n.blue()+e*i.blue()]).rgb()},os=function(o,t,e,n){return t===void 0&&(t=\"#fff\"),e===void 0&&(e=\"default\"),n===void 0&&(n=\"rgb(150, 150, 150)\"),e===\"default\"?function(i,d,g){d===void 0&&(d=\"#fff\"),g===void 0&&(g=\"rgb(150, 150, 150)\");var _=Xa(d,i,.05).rgb().toString(),I=Xa(d,i,.1).rgb().toString(),D=Xa(d,i,.2).rgb().toString(),H=Xa(d,i,.4).rgb().toString(),Z=Xa(d,g,.02).rgb().toString(),te=Xa(d,g,.05).rgb().toString(),de=Xa(d,g,.1).rgb().toString(),Pe=Xa(d,g,.2).rgb().toString(),Ge=Xa(d,g,.3).rgb().toString(),Qe=Ms(i,{theme:\"default\",backgroundColor:d}),Xe=Br()(i).hex().toLowerCase(),yt=Qe.indexOf(Xe),Ct=i;return yt!==-1&&(Ct=Qe[yt+1]),{mainStroke:i,mainFill:I,activeStroke:i,activeFill:_,inactiveStroke:H,inactiveFill:_,selectedStroke:i,selectedFill:d,highlightStroke:Ct,highlightFill:D,disableStroke:Ge,disableFill:te,edgeMainStroke:Ge,edgeActiveStroke:i,edgeInactiveStroke:Pe,edgeSelectedStroke:i,edgeHighlightStroke:i,edgeDisableStroke:de,comboMainStroke:Ge,comboMainFill:Z,comboActiveStroke:i,comboActiveFill:_,comboInactiveStroke:Ge,comboInactiveFill:Z,comboSelectedStroke:i,comboSelectedFill:Z,comboHighlightStroke:Ct,comboHighlightFill:Z,comboDisableStroke:Pe,comboDisableFill:te}}(o,t,\"rgb(150, 150, 150)\"):function(i,d,g){d===void 0&&(d=\"#fff\"),g===void 0&&(g=\"#777\");var _=Xa(d,i,.2).rgb().toString(),I=Xa(d,i,.3).rgb().toString(),D=Xa(d,i,.6).rgb().toString(),H=Xa(d,i,.8).rgb().toString(),Z=Xa(d,g,.2).rgb().toString(),te=Xa(d,g,.25).rgb().toString(),de=Xa(d,g,.3).rgb().toString(),Pe=Xa(d,g,.4).rgb().toString(),Ge=Xa(d,g,.5).rgb().toString(),Qe=Ms(i,{theme:\"dark\",backgroundColor:d}),Xe=Br()(i).hex().toLowerCase(),yt=Qe.indexOf(Xe),Ct=i;return yt!==-1&&(Ct=Qe[yt+1]),{mainStroke:H,mainFill:_,activeStroke:i,activeFill:I,inactiveStroke:H,inactiveFill:_,selectedStroke:i,selectedFill:_,highlightStroke:i,highlightFill:D,disableStroke:Ge,disableFill:te,edgeMainStroke:g,edgeActiveStroke:i,edgeInactiveStroke:g,edgeSelectedStroke:i,edgeHighlightStroke:i,edgeDisableStroke:de,comboMainStroke:Pe,comboMainFill:te,comboActiveStroke:i,comboActiveFill:Z,comboInactiveStroke:Pe,comboInactiveFill:te,comboSelectedStroke:i,comboSelectedFill:Z,comboHighlightStroke:Ct,comboHighlightFill:te,comboDisableStroke:Pe,comboDisableFill:Z}}(o,t,\"#777\")},As=function(o,t,e,n){t===void 0&&(t=\"#fff\"),e===void 0&&(e=\"default\"),n===void 0&&(n=\"rgb(150, 150, 150)\");var i=[];return o.forEach(function(d){i.push(os(d,t,e,n))}),i},oa=os(\"rgb(95, 149, 255)\",\"rgb(255, 255, 255)\"),di={version:\"0.8.8\",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:oa.mainStroke,fill:oa.mainFill},size:20,color:oa.mainStroke,linkPoints:{size:8,lineWidth:1,fill:oa.activeFill,stroke:oa.activeStroke}},nodeStateStyles:{active:{fill:oa.activeFill,stroke:oa.activeStroke,lineWidth:2,shadowColor:oa.mainStroke,shadowBlur:10},selected:{fill:oa.selectedFill,stroke:oa.selectedStroke,lineWidth:4,shadowColor:oa.selectedStroke,shadowBlur:10,\"text-shape\":{fontWeight:500}},highlight:{fill:oa.highlightFill,stroke:oa.highlightStroke,lineWidth:2,\"text-shape\":{fontWeight:500}},inactive:{fill:oa.inactiveFill,stroke:oa.inactiveStroke,lineWidth:1},disable:{fill:oa.disableFill,stroke:oa.disableStroke,lineWidth:1}},edgeLabel:{style:{fill:\"rgb(0, 0, 0)\",textAlign:\"center\",textBaseline:\"middle\",fontSize:12}},defaultEdge:{type:\"line\",size:1,style:{stroke:oa.edgeMainStroke,lineAppendWidth:2},color:oa.edgeMainStroke},edgeStateStyles:{active:{stroke:oa.edgeActiveStroke,lineWidth:1},selected:{stroke:oa.edgeSelectedStroke,lineWidth:2,shadowColor:oa.edgeSelectedStroke,shadowBlur:10,\"text-shape\":{fontWeight:500}},highlight:{stroke:oa.edgeHighlightStroke,lineWidth:2,\"text-shape\":{fontWeight:500}},inactive:{stroke:oa.edgeInactiveStroke,lineWidth:1},disable:{stroke:oa.edgeDisableStroke,lineWidth:1}},comboLabel:{style:{fill:\"rgb(0, 0, 0)\",textBaseline:\"middle\",fontSize:12},refY:10,refX:10},defaultCombo:{type:\"circle\",style:{fill:oa.comboMainFill,lineWidth:1,stroke:oa.comboMainStroke,r:5,width:20,height:10},size:[20,5],color:oa.comboMainStroke,padding:[25,20,15,20]},comboStateStyles:{active:{stroke:oa.comboActiveStroke,lineWidth:1,fill:oa.comboActiveFill},selected:{stroke:oa.comboSelectedStroke,lineWidth:2,fill:oa.comboSelectedFill,shadowColor:oa.comboSelectedStroke,shadowBlur:10,\"text-shape\":{fontWeight:500}},highlight:{stroke:oa.comboHighlightStroke,lineWidth:2,fill:oa.comboHighlightFill,\"text-shape\":{fontWeight:500}},inactive:{stroke:oa.comboInactiveStroke,fill:oa.comboInactiveFill,lineWidth:1},disable:{stroke:oa.comboDisableStroke,fill:oa.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 ia(o,t,e){if(o){if(typeof o.addEventListener==\"function\")return o.addEventListener(t,e,!1),{remove:function(){o.removeEventListener(t,e,!1)}};if(typeof o.attachEvent==\"function\")return o.attachEvent(\"on\"+t,e),{remove:function(){o.detachEvent(\"on\"+t,e)}}}}function _i(o){$a||($a=document.createElement(\"table\"),Hs=document.createElement(\"tr\"),ys=/^\\s*<(\\w+|!)[^>]*>/,sa={tr:document.createElement(\"tbody\"),tbody:$a,thead:$a,tfoot:$a,td:Hs,th:Hs,\"*\":document.createElement(\"div\")});var t=ys.test(o)&&RegExp.$1;t&&t in sa||(t=\"*\");var e=sa[t];o=typeof o==\"string\"?o.replace(/(^\\s*)|(\\s*$)/g,\"\"):o,e.innerHTML=\"\"+o;var n=e.childNodes[0];return n&&e.contains(n)&&e.removeChild(n),n}function gi(o,t){if(o)for(var e in t)t.hasOwnProperty(e)&&(o.style[e]=t[e]);return o}var fa=Oa.cloneEvent,Pa=Oa.isViewportChanged,xs=function(o){function t(e){var n=o.call(this,e)||this;return n.extendEvents=[],n.dragging=!1,n.mousedown=!1,n.preItem=null,n.destroy(),n.graph=e,n.destroyed=!1,n.initEvents(),n}return Object(l.__extends)(t,o),t.prototype.initEvents=function(){var e=this.graph,n=this.extendEvents,i=n===void 0?[]:n,d=e.get(\"canvas\"),g=d.get(\"el\"),_=Object(s.wrapBehavior)(this,\"onCanvasEvents\"),I=Object(s.wrapBehavior)(this,\"onExtendEvents\"),D=Object(s.wrapBehavior)(this,\"onWheelEvent\");d.off(\"*\").on(\"*\",_),this.canvasHandler=_,i.push(ia(g,\"wheel\",D)),typeof window!=\"undefined\"&&(i.push(ia(window,\"keydown\",I)),i.push(ia(window,\"keyup\",I)),i.push(ia(window,\"focus\",I))),this.resetHandler&&e.off(\"afterchangedata\",this.resetHandler),this.resetHandler=Object(s.wrapBehavior)(this,\"resetStatus\"),e.on(\"afterchangedata\",this.resetHandler)},t.getItemRoot=function(e){for(;e&&!e.get(\"item\");)e=e.get(\"parent\");return e},t.prototype.onCanvasEvents=function(e){var n=this,i=this.graph,d=i.get(\"canvas\"),g=e.target,_=e.type;switch(_){case\"drag\":this.onCanvasEvents(Object.assign({},e,{type:\"mousemove\"}));break;case\"dragend\":this.onCanvasEvents(Object.assign({},e,{type:\"mouseup\"}));break;case\"mousedown\":this.mousedown=!0;break;case\"dragend\":case\"mouseup\":setTimeout(function(){return n.mousedown=!1});break;case\"click\":if(!this.mousedown)return}e.canvasX=e.x,e.canvasY=e.y;var I={x:e.canvasX,y:e.canvasY},D=i.get(\"group\").getMatrix();if(D||(D=[1,0,0,0,1,0,0,0,1]),Pa(D)&&(I=i.getPointByClient(e.clientX,e.clientY)),e.x=I.x,e.y=I.y,e.currentTarget=i,g===d)return _!==\"mousemove\"&&_!==\"mouseleave\"||this.handleMouseMove(e,\"canvas\"),e.target=d,e.item=null,i.emit(_,e),void i.emit(\"canvas:\".concat(_),e);var H=t.getItemRoot(g);if(H){var Z=H.get(\"item\");if(!Z.destroyed){var te=Z.getType();if(e.target=g,e.item=Z,e.canvasX===e.x&&e.canvasY===e.y){var de=i.getCanvasByPoint(e.x,e.y);e.canvasX=de.x,e.canvasY=de.y}e.name&&!e.name.includes(\":\")?(i.emit(\"\".concat(te,\":\").concat(_),e),i.emit(_,e)):e.name&&i.emit(e.name,e),_===\"dragstart\"&&(this.dragging=!0),_===\"dragend\"&&(this.dragging=!1),_===\"mousemove\"&&this.handleMouseMove(e,te)}}else i.emit(_,e)},t.prototype.onExtendEvents=function(e){this.graph.emit(e.type,e)},t.prototype.onWheelEvent=function(e){Object(s.isNil)(e.wheelDelta)&&(e.wheelDelta=-e.detail),this.graph.emit(\"wheel\",e)},t.prototype.handleMouseMove=function(e,n){var i=this.graph,d=this.preItem,g=i.get(\"canvas\"),_=e.target===g?null:e.item;e=fa(e),d&&d!==_&&!d.destroyed&&(e.item=d,this.emitCustomEvent(d.getType(),\"mouseleave\",e),this.dragging&&this.emitCustomEvent(d.getType(),\"dragleave\",e)),_&&d!==_&&(e.item=_,this.emitCustomEvent(n,\"mouseenter\",e),this.dragging&&this.emitCustomEvent(n,\"dragenter\",e)),this.preItem=_},t.prototype.emitCustomEvent=function(e,n,i){i.type=n,this.graph.emit(\"\".concat(e,\":\").concat(n),i)},t.prototype.resetStatus=function(){this.mousedown=!1,this.dragging=!1,this.preItem=null},t.prototype.destroy=function(){var e=this.graph,n=this.canvasHandler,i=this.extendEvents;e.get(\"canvas\").off(\"*\",n),Object(s.each)(i,function(d){d.remove()}),this.resetStatus(),this.extendEvents.length=0,this.canvasHandler=null,this.resetHandler=null,this.destroyed=!0},t}(Ka),Li=r(7),vs=r(40),Ca=r.n(vs),ra=Oa.traverseTree,Ja=function(o,t){return o?Object(s.isNumber)(o)?function(e){return o}:o:function(e){return t||1}},qa=function(o,t){var e=[],n=[],i={},d=0;for(d=0;d<o.length;d++){var g=o[d];i[g.id]=d,e.push(g.x),e.push(g.y),e.push(0),e.push(0),n.push([])}for(d=0;d<t.length;d++){var _=t[d];n[i[_.source]].push(i[_.target]),n[i[_.target]].push(i[_.source])}var I=0;for(d=0;d<o.length;d++){var D=e.length,H=n[d],Z=H.length;e[4*d+2]=D,e[4*d+3]=H.length,I=Math.max(I,H.length);for(var te=0;te<Z;++te){var de=H[te];e.push(+de)}}for(;e.length%4!=0;)e.push(0);return{array:new Float32Array(e),maxEdgePerVetex:I}},Ts=function(o,t,e){var n=[],i=[],d={},g=0;for(g=0;g<o.length;g++){var _=o[g];d[_.id]=g,n.push(_.x),n.push(_.y),n.push(0),n.push(0),i.push([])}for(g=0;g<t.length;g++){var I=t[g];i[d[I.source]].push(d[I.target]),i[d[I.source]].push(e(I)),i[d[I.target]].push(d[I.source]),i[d[I.target]].push(e(I))}var D=0;for(g=0;g<o.length;g++){var H=n.length,Z=i[g],te=Z.length;n[4*g+2]=H,n[4*g+3]=te/2,D=Math.max(D,te/2);for(var de=0;de<te;++de){var Pe=Z[de];n.push(+Pe)}}for(;n.length%4!=0;)n.push(0);return{array:new Float32Array(n),maxEdgePerVetex:D}},v=function(o,t,e,n){var i=[],d=[],g={},_=0;for(_=0;_<o.length;_++){var I=o[_];g[I.id]=_,i.push(I.x),i.push(I.y),i.push(0),i.push(0),d.push([])}for(_=0;_<t.length;_++){var D=t[_];d[g[D.source]].push(g[D.target]),d[g[D.source]].push(e(D)),d[g[D.source]].push(n(D)),d[g[D.source]].push(0),d[g[D.target]].push(g[D.source]),d[g[D.target]].push(e(D)),d[g[D.target]].push(n(D)),d[g[D.target]].push(0)}var H=0;for(_=0;_<o.length;_++){var Z=i.length,te=d[_],de=te.length;i[4*_+2]=Z+1048576*de/4,i[4*_+3]=0,H=Math.max(H,de/4);for(var Pe=0;Pe<de;++Pe){var Ge=te[Pe];i.push(+Ge)}}for(;i.length%4!=0;)i.push(0);return{array:new Float32Array(i),maxEdgePerVetex:H}},G=function(o,t){var e=[],n=o.length,i={};return t.forEach(function(d){o.forEach(function(g,_){if(i[d[g]]===void 0&&(i[d[g]]=Object.keys(i).length),e.push(i[d[g]]),_===n-1)for(;e.length%4!=0;)e.push(0)})}),{array:new Float32Array(e),count:Object.keys(i).length}},ze=function(o){for(var t=[],e=o.length,n=o[0].length,i=function(g){o.forEach(function(_,I){if(t.push(_[g]),I===e-1)for(;t.length%4!=0;)t.push(0)})},d=0;d<n;d++)i(d);return new Float32Array(t)},ut=function(o,t){var e={x:1/0,y:1/0},n={x:-1/0,y:-1/0},i=\"x\",d=\"y\";t&&[\"V\",\"TB\",\"BT\"].indexOf(t)>=0&&(d=\"x\",i=\"y\");var g=0;ra(o,function(D){return g++,D.x>n.x&&(n.x=D.x),D.x<e.x&&(e.x=D.x),D.y>n.y&&(n.y=D.y),D.y<e.y&&(e.y=D.y),!0});var _=2*Math.PI/g,I=n[d]-e[d];return I===0||ra(o,function(D){var H=(D[d]-e[d])/I*(2*Math.PI-_)+_,Z=Math.abs(i===\"x\"?D.x-o.x:D.y-o.y);return D.x=Z*Math.cos(H),D.y=Z*Math.sin(H),!0}),o},_t=function o(){return typeof window==\"undefined\"||typeof document==\"undefined\"?{}:{canvas:!!window.CanvasRenderingContext2D,webgl:function(){try{var t=document.createElement(\"canvas\");return!(!window.WebGLRenderingContext||!t.getContext(\"webgl\")&&!t.getContext(\"experimental-webgl\"))}catch(e){return!1}}(),workers:!!window.Worker,fileapi:window.File&&window.FileReader&&window.FileList&&window.Blob,getWebGLErrorMessage:function(){var t=document.createElement(\"div\");return t.id=\"webgl-error-message\",t.style.fontFamily=\"monospace\",t.style.fontSize=\"13px\",t.style.fontWeight=\"normal\",t.style.textAlign=\"center\",t.style.background=\"#fff\",t.style.color=\"#000\",t.style.padding=\"1.5em\",t.style.width=\"400px\",t.style.margin=\"5em auto 0\",this.webgl||(t.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`)),t},addGetWebGLMessage:function(t){var e=(t=t||{}).parent!==void 0?t.parent:document.body,n=t.id!==void 0?t.id:\"oldie\",i=o().getWebGLErrorMessage();i.id=n,e.appendChild(i)}}},Ht=Object(l.__assign)(Object(l.__assign)(Object(l.__assign)(Object(l.__assign)({},Oa),u),a),f),$t=Ht.radialLayout,wn=function(){function o(t){this.type=t.type,this.radial=t.radial,this.config=t}return o.prototype.init=function(t){var e=this;this.data=t,this.radial?this.layoutMethod=function(n){var i=Ca.a[e.type](n,e.config);return $t(i),i}:this.layoutMethod=function(n){return Ca.a[e.type](n,e.config)}},o.prototype.execute=function(){return this.layoutMethod(this.data,this.config)},o.prototype.layout=function(t){return this.init(t),this.execute()},o}();Object(Li.registerLayout)(\"grid\",Li.GridLayout),Object(Li.registerLayout)(\"random\",Li.RandomLayout),Object(Li.registerLayout)(\"force\",Li.ForceLayout),Object(Li.registerLayout)(\"circular\",Li.CircularLayout),Object(Li.registerLayout)(\"dagre\",Li.DagreLayout),Object(Li.registerLayout)(\"dagreCompound\",Li.DagreCompoundLayout),Object(Li.registerLayout)(\"radial\",Li.RadialLayout),Object(Li.registerLayout)(\"concentric\",Li.ConcentricLayout),Object(Li.registerLayout)(\"mds\",Li.MDSLayout),Object(Li.registerLayout)(\"fruchterman\",Li.FruchtermanLayout),Object(Li.registerLayout)(\"fruchterman-gpu\",Li.FruchtermanGPULayout),Object(Li.registerLayout)(\"gForce\",Li.GForceLayout),Object(Li.registerLayout)(\"force2\",Li.Force2Layout),Object(Li.registerLayout)(\"gForce-gpu\",Li.GForceGPULayout),Object(Li.registerLayout)(\"comboForce\",Li.ComboForceLayout),Object(Li.registerLayout)(\"comboCombined\",Li.ComboCombinedLayout),Object(Li.registerLayout)(\"forceAtlas2\",Li.ForceAtlas2Layout);var On=function(o,t){t.isCustomLayout=!0,Li.Layouts[o]=Object(Li.registerLayout)(o,t)},$n=function(o,t){var e=o.toString(),n=new Blob([\"importScripts('\".concat(t,\"');(\").concat(e,\")()\")],{type:\"text/javascript\"});return new Worker(URL.createObjectURL(n))},gr=function(o){return o===void 0&&(o=\"https://unpkg.com/@antv/layout@latest/dist/layout.min.js\"),new $n(function(){var t=\"LAYOUT_RUN\",e=\"LAYOUT_END\",n=\"LAYOUT_ERROR\",i=\"GPU_LAYOUT_RUN\";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(d){(function(g){var _=g.data.type;return _===t||_===i})(d)&&function(g){var _=this;switch(g.data.type){case t:var I,D=g.data,H=D.nodes,Z=D.edges,te=D.layoutCfg,de=(yt=te===void 0?{}:te).type;if(!(Pe=layout.getLayoutByName(de))){this.postMessage({type:n,message:\"layout \".concat(de,\" not found\")});break}yt.onLayoutEnd=function(){_.postMessage({type:e,nodes:H}),I==null||I.destroy()},(I=new Pe(yt)).init({nodes:H,edges:Z}),I.execute();break;case i:var Pe,Ge=g.data,Qe=Ge.nodes,Xe=(Z=Ge.edges,Ge.layoutCfg),yt=Xe===void 0?{}:Xe,Ct=Ge.canvas;if(de=yt.type,!(Pe=layout.getLayoutByName(de))){this.postMessage({type:n,message:\"layout \".concat(de,\" not found\")});break}if(de.split(\"-\")[1]!==\"gpu\"){this.postMessage({type:n,message:\"layout \".concat(de,\" does not support GPU\")});break}var on=new Pe(yt);on.init({nodes:Qe,edges:Z}),on.executeWithWorker(Ct,this)}}(d)}},o)},Fr=\"LAYOUT_RUN\",Qr=\"LAYOUT_END\",qr=\"LAYOUT_ERROR\",mo=\"LAYOUT_TICK\",Ho=\"GPU_LAYOUT_RUN\",fo=\"GPU_LAYOUT_END\";function ei(o){return(ei=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(t){return typeof t}:function(t){return t&&typeof Symbol==\"function\"&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t})(o)}var ea=function(o){return setTimeout(o,16)},Xi=function(o){return clearTimeout(o)},hi=function(o){return(typeof window!=\"undefined\"&&(window.requestAnimationFrame||window.webkitRequestAnimationFrame)||ea)(o)},Yo=function(o){return(typeof window!=\"undefined\"&&(window.cancelAnimationFrame||window.webkitCancelAnimationFrame)||Xi)(o)},Bi=[\"fruchterman\",\"gForce\"],_a=[\"force\",\"grid\",\"circular\"],wa=function(o){function t(e){var n=o.call(this,e)||this;return n.graph=e,n.layoutCfg=e.get(\"layout\")||{},n.layoutType=n.getLayoutType(),n.worker=null,n.workerData={},n.initLayout(),n}return Object(l.__extends)(t,o),t.prototype.initLayout=function(){},t.prototype.getWorker=function(){return this.worker||(typeof Worker==\"undefined\"?(console.warn(\"Web worker is not supported in current browser.\"),this.worker=null):this.worker=gr(this.layoutCfg.workerScriptURL)),this.worker},t.prototype.stopWorker=function(){var e=this.workerData;this.worker&&(this.worker.terminate(),this.worker=null,e.requestId&&(Yo(e.requestId),e.requestId=null),e.requestId2&&(Yo(e.requestId2),e.requestId2=null))},t.prototype.execLayoutMethod=function(e,n){var i=this;return new Promise(function(d,g){return Object(l.__awaiter)(i,void 0,void 0,function(){var _,I,D,H,Z,te,de,Pe,Ge;return Object(l.__generator)(this,function(Qe){switch(Qe.label){case 0:if(!(_=this.graph)||_.get(\"destroyed\"))return[2];I=e.type,e.onLayoutEnd=function(){_.emit(\"aftersublayout\",{type:I}),d()},I&&this.isGPU&&(tr(I)?I=\"\".concat(I,\"-gpu\"):console.warn(\"The '\".concat(I,\"' layout does not support GPU calculation for now, it will run in CPU.\"))),Oa.isForce(I)?(D=e.onTick,H=e.animate,Z=H===void 0&&(I===\"force\"||I===\"force2\"),Pe=function(){D&&D(),(H||Z)&&_.refreshPositions()},e.tick=Pe):I!==\"comboForce\"&&I!==\"comboCombined\"||(e.comboTrees=_.get(\"comboTrees\"));try{te=new Li.Layouts[I](e),this.layoutMethods[n]&&this.layoutMethods[n].destroy(),this.layoutMethods[n]=te}catch(Xe){console.warn(\"The layout method: '\".concat(I,\"' does not exist! Please specify it first.\")),g()}return te.enableTick&&(de=e.onTick,Pe=function(){de&&de(),_.refreshPositions()},te.tick=Pe),function(Xe,yt){var Ct;!((Ct=Xe==null?void 0:Xe.nodes)===null||Ct===void 0)&&Ct.length&&Xe.nodes.forEach(function(on){on.layoutOrder=yt})}(Ge=this.filterLayoutData(this.data,e),n),te.init(Ge),_.emit(\"beforesublayout\",{type:I}),[4,te.execute()];case 1:return Qe.sent(),te.isCustomLayout&&e.onLayoutEnd&&e.onLayoutEnd(),[2]}})})})},t.prototype.updateLayoutMethod=function(e,n){var i=this;return new Promise(function(d,g){return Object(l.__awaiter)(i,void 0,void 0,function(){var _,I,D;return Object(l.__generator)(this,function(H){switch(H.label){case 0:return _=this.graph,I=n==null?void 0:n.type,n.onLayoutEnd=function(){_.emit(\"aftersublayout\",{type:I}),d()},D=this.filterLayoutData(this.data,n),e.init(D),e.updateCfg(n),_.emit(\"beforesublayout\",{type:I}),[4,e.execute()];case 1:return H.sent(),e.isCustomLayout&&n.onLayoutEnd&&n.onLayoutEnd(),[2]}})})})},t.prototype.layout=function(e){var n,i=this,d=this.graph;if(d&&!d.get(\"destroyed\")){this.data=this.setDataFromGraph();var g=this.data,_=g.nodes,I=g.hiddenNodes;if(!_)return!1;var D=d.get(\"width\"),H=d.get(\"height\"),Z={};Object.assign(Z,{width:D,height:H,center:[D/2,H/2]},this.layoutCfg),this.layoutCfg=Z;var te=Z.type,de=!1;(n=this.layoutMethods)===null||n===void 0||n.forEach(function(on){var sn;return de=!!(!((sn=on.nodes)===null||sn===void 0)&&sn.length)||de});var Pe=this.destoryLayoutMethods();d.emit(\"beforelayout\");var Ge=Promise.resolve();de&&te&&(Pe==null?void 0:Pe.length)===1&&Pe[0]===te?this.tweakInit():Ge=this.initPositions(Z.center,_),this.initPositions(Z.center,I).then(),this.isGPU=Sa(Z,te);var Qe=Z.onLayoutEnd,Xe=Z.layoutEndFormatted,yt=Z.adjust;if(Xe||(Z.layoutEndFormatted=!0,Z.onAllLayoutEnd=function(){return Object(l.__awaiter)(i,void 0,void 0,function(){return Object(l.__generator)(this,function(on){switch(on.label){case 0:return Qe&&Qe(_),this.refreshLayout(),yt&&Z.pipes?[4,this.adjustPipesBox(this.data,yt)]:[3,2];case 1:on.sent(),this.refreshLayout(),on.label=2;case 2:return d.emit(\"afterlayout\"),[2]}})})}),this.stopWorker(),Z.workerEnabled&&this.layoutWithWorker(this.data,e))return!0;var Ct=!1;return Z.type?(Ct=!0,Ge=Ge.then(function(){return Object(l.__awaiter)(i,void 0,void 0,function(){return Object(l.__generator)(this,function(on){switch(on.label){case 0:return[4,this.execLayoutMethod(Z,0)];case 1:return[2,on.sent()]}})})})):Z.pipes&&(Ct=!0,Z.pipes.forEach(function(on,sn){Ge=Ge.then(function(){return Object(l.__awaiter)(i,void 0,void 0,function(){return Object(l.__generator)(this,function(Nn){switch(Nn.label){case 0:return[4,this.execLayoutMethod(on,sn)];case 1:return[2,Nn.sent()]}})})})})),Ct?Ge.then(function(){Z.onAllLayoutEnd&&Z.onAllLayoutEnd(),e&&e()}).catch(function(on){console.warn(\"graph layout failed,\",on)}):(d.refreshPositions(),e==null||e()),!1}},t.prototype.tweakInit=function(){var e=this.data,n=this.graph,i=e.nodes,d=e.edges;if(i!=null&&i.length){var g={};i.forEach(function(D){var H=D.x,Z=D.y;isNaN(H)||isNaN(Z)||(g[D.id]={x:H,y:Z},D.mass=D.mass||2)}),d.forEach(function(D){var H=D.source,Z=D.target,te=g[H],de=g[Z];!te&&de?g[H]={x:de.x+80*(Math.random()-.5),y:de.y+80*(Math.random()-.5)}:!de&&te&&(g[Z]={x:te.x+80*(Math.random()-.5),y:te.y+80*(Math.random()-.5)})});var _=n.get(\"width\"),I=n.get(\"height\");i.forEach(function(D){var H=g[D.id]||{x:_/2+20*(Math.random()-.5),y:I/2+20*(Math.random()-.5)};D.x=H.x,D.y=H.y})}},t.prototype.initWithPreset=function(e,n){var i=this;return new Promise(function(d,g){return Object(l.__awaiter)(i,void 0,void 0,function(){var _,I,D,H,Z,te,de;return Object(l.__generator)(this,function(Pe){switch(Pe.label){case 0:return I=(_=this).layoutCfg,D=_.data,(H=I.preset)!=null&&H.type&&Li.Layouts[H==null?void 0:H.type]?(Z=Sa(H,H.type),te=Z?\"\".concat(H.type,\"-gpu\"):H.type,de=new Li.Layouts[te](H),delete I.preset,de.init(D),[4,de.execute()]):(n==null||n(),d(),[2,!1]);case 1:return Pe.sent(),e==null||e(),d(),[2,!0]}})})})},t.prototype.layoutWithWorker=function(e,n){var i=this,d=this.layoutCfg,g=this.graph,_=this.getWorker(),I=this.workerData;if(!_)return!1;I.requestId=null,I.requestId2=null,I.currentTick=null,I.currentTickData=null,g.emit(\"beforelayout\");var D=Promise.resolve(),H=!1;if(d.type)H=!0,D=D.then(function(){return i.runWebworker(_,e,d)});else if(d.pipes){H=!0;for(var Z=function(Pe){D=D.then(function(){return i.runWebworker(_,e,Pe)})},te=0,de=d.pipes;te<de.length;te++)Z(de[te])}return H&&D.then(function(){d.onAllLayoutEnd&&d.onAllLayoutEnd(),n==null||n()}).catch(function(Pe){console.error(\"layout failed\",Pe)}),!0},t.prototype.runWebworker=function(e,n,i){var d=this,g=this.isGPU,_=this.filterLayoutData(n,i),I=_.nodes,D=_.edges,H=document.createElement(\"canvas\"),Z=g&&typeof window!=\"undefined\"&&window.navigator&&!navigator.gpu&&\"OffscreenCanvas\"in window&&\"transferControlToOffscreen\"in H,te=function(Pe,Ge){var Qe={};return Pe&&ei(Pe)===\"object\"?(Object.keys(Pe).forEach(function(Xe){Pe.hasOwnProperty(Xe)&&Ge(Pe[Xe])&&(Qe[Xe]=Pe[Xe])}),Qe):Pe}(i,function(Pe){return typeof Pe!=\"function\"});if(Z){var de=H.transferControlToOffscreen();te.type=\"\".concat(te.type,\"-gpu\"),e.postMessage({type:Ho,nodes:I,edges:D,layoutCfg:te,canvas:de},[de])}else e.postMessage({type:Fr,nodes:I,edges:D,layoutCfg:te});return new Promise(function(Pe,Ge){e.onmessage=function(Qe){d.handleWorkerMessage(Pe,Ge,Qe,_,i)}})},t.prototype.handleWorkerMessage=function(e,n,i,d,g){var _=this.graph,I=this.workerData,D=i.data,H=D.type,Z=function(){g.onTick&&g.onTick()};switch(H){case mo:I.currentTick=D.currentTick,I.currentTickData=D,I.requestId||(I.requestId=hi(function(){Ia(d,D),_.refreshPositions(),Z(),D.currentTick===D.totalTicks?e():I.currentTick===D.totalTicks&&(I.requestId2=hi(function(){Ia(d,I.currentTickData),_.refreshPositions(),I.requestId2=null,Z(),e()})),I.requestId=null}));break;case Qr:I.currentTick==null&&(Ia(d,D),e());break;case fo:I.currentTick==null&&(function(te,de){for(var Pe=te.nodes,Ge=de.vertexEdgeData,Qe=Pe.length,Xe=0;Xe<Qe;Xe++){var yt=Pe[Xe],Ct=Ge[4*Xe],on=Ge[4*Xe+1];yt.x=Ct,yt.y=on}}(d,D),e());break;case qr:console.warn(\"Web-Worker layout error!\",D.message),n();break;default:n()}},t.prototype.updateLayoutCfg=function(e){var n=this,i=this.graph,d=this.layoutMethods;if(i&&!i.get(\"destroyed\")){var g=e.disableTriggerLayout,_=Object(l.__rest)(e,[\"disableTriggerLayout\"]),I=Object(s.mix)({},this.layoutCfg,_);if(this.layoutCfg=I,!g)if(d!=null&&d.length){if(this.data=this.setDataFromGraph(),this.stopWorker(),!_.workerEnabled||!this.layoutWithWorker(this.data,null)){i.emit(\"beforelayout\");var D=Promise.resolve(),H=!1;(d==null?void 0:d.length)===1?(H=!0,D=D.then(function(){return Object(l.__awaiter)(n,void 0,void 0,function(){return Object(l.__generator)(this,function(Z){switch(Z.label){case 0:return[4,this.updateLayoutMethod(d[0],I)];case 1:return[2,Z.sent()]}})})})):d!=null&&d.length&&(H=!0,d.forEach(function(Z,te){var de=I.pipes[te];D=D.then(function(){return Object(l.__awaiter)(n,void 0,void 0,function(){return Object(l.__generator)(this,function(Pe){switch(Pe.label){case 0:return[4,this.updateLayoutMethod(Z,de)];case 1:return[2,Pe.sent()]}})})})})),H&&D.then(function(){I.onAllLayoutEnd&&I.onAllLayoutEnd()}).catch(function(Z){console.warn(\"layout failed\",Z)})}}else this.layout()}},t.prototype.adjustPipesBox=function(e,n){var i=this;return new Promise(function(d){var g=e.nodes;g!=null&&g.length||d(),_a.includes(n)||(console.warn(\"The adjust type \".concat(n,\" is not supported yet, please assign it with 'force', 'grid', or 'circular'.\")),d());var _={center:i.layoutCfg.center,nodeSize:function(te){return Math.max(te.height,te.width)},preventOverlap:!0,onLayoutEnd:function(){}},I=i.getLayoutBBox(g),D=I.groupNodes,H=I.layoutNodes,Z=Object(s.clone)(H);_.onLayoutEnd=function(){H==null||H.forEach(function(te,de){var Pe,Ge,Qe,Xe=te.x-((Pe=Z[de])===null||Pe===void 0?void 0:Pe.x),yt=te.y-((Ge=Z[de])===null||Ge===void 0?void 0:Ge.y);(Qe=D[de])===null||Qe===void 0||Qe.forEach(function(Ct){Ct.x+=Xe,Ct.y+=yt})}),d()},new Li.Layouts[n](_).layout({nodes:H})})},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}(Ma);function Ia(o,t){for(var e=o.nodes,n=t.nodes,i=e.length,d=0;d<i;d++){var g=e[d];g.x=n[d].x,g.y=n[d].y}}function tr(o){return Bi.includes(o)}function Sa(o,t){var e=t;t&&t.split(\"-\")[1]===\"gpu\"&&(e=t.split(\"-\")[0],o.gpuEnabled=!0);var n=!1;return o.gpuEnabled&&(n=!0,_t().webgl||(console.warn(\"Your browser does not support webGL or GPGPU. The layout will run in CPU.\"),n=!1)),n&&!tr(e)&&(console.warn(\"The '\".concat(e,\"' layout does not support GPU calculation for now, it will run in CPU.\")),n=!1),n}var Ta,ga=function o(t,e){var n;t.isGroup()&&e.isGroup()&&((n=t.get(\"children\"))===null||n===void 0||n.forEach(function(_,I){var D=e.get(\"children\")[I];o(_,D)}));var i=t.get(\"type\"),d=e.get(\"type\");if(i===\"image\"&&d===\"image\"){var g=t.get(\"clipShape\");g&&e.setClip({type:g.get(\"type\"),attrs:g.attr()})}},Fi=j.a.transform,Cs=function(o){function t(e){var n=o.call(this,e)||this,i=n.get(\"defaultNode\");return i||n.set(\"defaultNode\",{type:\"circle\"}),i.type||(i.type=\"circle\",n.set(\"defaultNode\",i)),n.destroyed=!1,n}return Object(l.__extends)(t,o),t.prototype.initLayoutController=function(){var e=new wa(this);this.set({layoutController:e})},t.prototype.initEventController=function(){var e=new xs(this);this.set({eventController:e})},t.prototype.initCanvas=function(){var e=this.get(\"container\");if(typeof e==\"string\"&&(e=document.getElementById(e),this.set(\"container\",e)),!e)throw new Error(\"invalid container\");var n,i=e.clientWidth,d=e.clientHeight,g=this.get(\"width\")||i,_=this.get(\"height\")||d;if(this.get(\"width\")||this.get(\"height\")||(this.set(\"width\",i),this.set(\"height\",d)),this.get(\"renderer\")===\"svg\")n=new rr.Canvas({container:e,width:g,height:_});else{var I={container:e,width:g,height:_},D=this.get(\"pixelRatio\");D&&(I.pixelRatio=D,window.devicePixelRatio=D),n=new Za.Canvas(I)}this.set(\"canvas\",n)},t.prototype.initPlugins=function(){var e=this;Object(s.each)(e.get(\"plugins\"),function(n){!n.destroyed&&n.initPlugin&&n.initPlugin(e)})},t.prototype.downloadImageWatermark=function(e,n,i,d){return Object(l.__awaiter)(this,void 0,void 0,function(){var g,_,I;return Object(l.__generator)(this,function(D){switch(D.label){case 0:return g=e.style.backgroundImage,_=g.slice(5,g.length-2),(I=new Image).src=_,[4,new Promise(function(H){I.onload=function(){var Z=n.createPattern(I,\"repeat\");n.rect(0,0,i,d),n.fillStyle=Z,n.fill(),H(\"\")}})];case 1:return D.sent(),[2]}})})},t.prototype.asyncToDataUrl=function(e,n,i,d,g,_){var I=this,D=document.querySelector(\".g6-graph-watermarker\"),H=this.get(\"canvas\"),Z=H.getRenderer(),te=_||H.get(\"el\"),de=\"\";e||(e=\"image/png\"),setTimeout(function(){return Object(l.__awaiter)(I,void 0,void 0,function(){var Pe,Ge,Qe,Xe,yt,Ct,on,sn,Nn,Tn;return Object(l.__generator)(this,function(Bn){switch(Bn.label){case 0:return Z!==\"svg\"?[3,1]:(Pe=te.cloneNode(!0),Ge=document.implementation.createDocumentType(\"svg\",\"-//W3C//DTD SVG 1.1//EN\",\"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\"),(Qe=document.implementation.createDocument(\"http://www.w3.org/2000/svg\",\"svg\",Ge)).replaceChild(Pe,Qe.documentElement),Xe=new XMLSerializer().serializeToString(Qe),de=\"data:image/svg+xml;charset=utf8,\".concat(encodeURIComponent(Xe)),[3,4]);case 1:return yt=void 0,Ct=te.getContext(\"2d\"),on=d||this.get(\"width\"),sn=g||this.get(\"height\"),Nn=void 0,D?[4,this.downloadImageWatermark(D,Ct,on,sn)]:[3,3];case 2:Bn.sent(),Bn.label=3;case 3:if(n){Tn=typeof window!=\"undefined\"?window.devicePixelRatio:1;try{yt=Ct.getImageData(0,0,on*Tn,sn*Tn),Nn=Ct.globalCompositeOperation,Ct.globalCompositeOperation=\"destination-over\",Ct.fillStyle=n,Ct.fillRect(0,0,on,sn)}catch(Hn){console.error(\"Download image failed. Out of memory at ImageData creation\")}}de=te.toDataURL(e),n&&(Ct.clearRect(0,0,on,sn),Ct.putImageData(yt,0,0),Ct.globalCompositeOperation=Nn),Bn.label=4;case 4:return i&&i(de),[2]}})})},16)},t.prototype.toDataURL=function(e,n){var i=this.get(\"canvas\"),d=i.getRenderer(),g=i.get(\"el\");e||(e=\"image/png\");var _=\"\";if(d===\"svg\"){var I=g.cloneNode(!0),D=document.implementation.createDocumentType(\"svg\",\"-//W3C//DTD SVG 1.1//EN\",\"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\"),H=document.implementation.createDocument(\"http://www.w3.org/2000/svg\",\"svg\",D);H.replaceChild(I,H.documentElement);var Z=new XMLSerializer().serializeToString(H);_=\"data:image/svg+xml;charset=utf8,\".concat(encodeURIComponent(Z))}else{var te=void 0,de=g.getContext(\"2d\"),Pe=Math.max(this.get(\"width\"),500),Ge=Math.max(this.get(\"height\"),500),Qe=void 0;if(n){var Xe=typeof window!=\"undefined\"&&window.devicePixelRatio||1;try{te=de.getImageData(0,0,Pe*Xe,Ge*Xe),Qe=de.globalCompositeOperation,de.globalCompositeOperation=\"destination-over\",de.fillStyle=n,de.fillRect(0,0,Pe,Ge)}catch(yt){console.error(\"Download image failed. Out of memory at ImageData creation\")}}_=g.toDataURL(e),n&&(de.clearRect(0,0,Pe,Ge),de.putImageData(te,0,0),de.globalCompositeOperation=Qe)}return _},t.prototype.toFullDataURL=function(e,n,i){var d=this.get(\"group\").getCanvasBBox(),g=d.height,_=d.width,I=this.get(\"renderer\"),D=_i('<div id=\"virtual-image\"></div>'),H=i?i.backgroundColor:void 0,Z=i?i.padding:void 0;Z?Object(s.isNumber)(Z)&&(Z=[Z,Z,Z,Z]):Z=[0,0,0,0];var te=g+Z[0]+Z[2],de=_+Z[1]+Z[3],Pe={container:D,height:te,width:de,quickHit:!0},Ge=I===\"svg\"?new rr.Canvas(Pe):new Za.Canvas(Pe),Qe=this.get(\"group\").clone(),Xe=Object(s.clone)(Qe.getMatrix());Xe||(Xe=[1,0,0,0,1,0,0,0,1]);var yt=(d.maxX+d.minX)/2,Ct=(d.maxY+d.minY)/2;Xe=Fi(Xe,[[\"t\",-yt,-Ct],[\"t\",_/2+Z[3],g/2+Z[0]]]),Qe.resetMatrix(),Qe.setMatrix(Xe),Ge.add(Qe);var on=Ge.get(\"el\"),sn=\"\";n||(n=\"image/png\"),setTimeout(function(){if(I===\"svg\"){var Nn=on.cloneNode(!0),Tn=document.implementation.createDocumentType(\"svg\",\"-//W3C//DTD SVG 1.1//EN\",\"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\"),Bn=document.implementation.createDocument(\"http://www.w3.org/2000/svg\",\"svg\",Tn);Bn.replaceChild(Nn,Bn.documentElement);var Hn=new XMLSerializer().serializeToString(Bn);sn=\"data:image/svg+xml;charset=utf8,\".concat(encodeURIComponent(Hn))}else{var Sr=void 0,Cr=on.getContext(\"2d\"),po=void 0;if(H){var wo=typeof window!=\"undefined\"?window.devicePixelRatio:1;try{Sr=Cr.getImageData(0,0,de*wo,te*wo),po=Cr.globalCompositeOperation,Cr.globalCompositeOperation=\"destination-over\",Cr.fillStyle=H,Cr.fillRect(0,0,de,te)}catch(Po){console.error(\"Download image failed. Out of memory at ImageData creation\")}}sn=on.toDataURL(n),H&&(Cr.clearRect(0,0,de,te),Cr.putImageData(Sr,0,0),Cr.globalCompositeOperation=po)}e&&e(sn)},16)},t.prototype.downloadFullImage=function(e,n,i){var d=this,g=this.get(\"group\").getCanvasBBox(),_=g.height,I=g.width,D=this.get(\"renderer\"),H=_i('<div id=\"virtual-image\"></div>'),Z=document.querySelector(\".g6-graph-watermarker\"),te=i?i.backgroundColor:void 0,de=i?i.padding:void 0;de?Object(s.isNumber)(de)&&(de=[de,de,de,de]):de=[0,0,0,0];var Pe=_+de[0]+de[2],Ge=I+de[1]+de[3];if(Z){var Qe=this.get(\"graphWaterMarker\").cfg||{},Xe=Qe.width,yt=Qe.height;Pe=Math.ceil(Pe/yt)*yt,Ge=Math.ceil(Ge/Xe)*Xe}var Ct,on,sn={container:H,height:Pe,width:Ge},Nn=D===\"svg\"?new rr.Canvas(sn):new Za.Canvas(sn),Tn=this.get(\"group\"),Bn=(on=(Ct=Tn).clone(),ga(Ct,on),on),Hn=Object(s.clone)(Bn.getMatrix());Hn||(Hn=[1,0,0,0,1,0,0,0,1]);var Sr=(g.maxX+g.minX)/2,Cr=(g.maxY+g.minY)/2;Hn=Fi(Hn,[[\"t\",-Sr,-Cr],[\"t\",I/2+de[3],_/2+de[0]]]),Bn.resetMatrix(),Bn.setMatrix(Hn),Nn.add(Bn);var po=Nn.get(\"el\");n||(n=\"image/png\"),this.asyncToDataUrl(n,te,function(wo){var Po=document.createElement(\"a\"),Xo=(e||\"graph\")+(D===\"svg\"?\".svg\":\".\".concat(n.split(\"/\")[1]));d.dataURLToImage(wo,D,Po,Xo);var ri=document.createEvent(\"MouseEvents\");ri.initEvent(\"click\",!1,!1),Po.dispatchEvent(ri)},Ge,Pe,po)},t.prototype.downloadImage=function(e,n,i){var d=this;this.stopAnimate();var g=this.get(\"canvas\").getRenderer();n||(n=\"image/png\");var _=(e||\"graph\")+(g===\"svg\"?\".svg\":n.split(\"/\")[1]),I=document.createElement(\"a\");this.asyncToDataUrl(n,i,function(D){d.dataURLToImage(D,g,I,_);var H=document.createEvent(\"MouseEvents\");H.initEvent(\"click\",!1,!1),I.dispatchEvent(H)})},t.prototype.dataURLToImage=function(e,n,i,d){if(e&&e!==\"data:\"){if(typeof window!=\"undefined\")if(window.Blob&&window.URL&&n!==\"svg\"){var g=e.split(\",\"),_=\"\";if(g&&g.length>0){var I=g[0].match(/:(.*?);/);I&&I.length>=2&&(_=I[1])}for(var D=atob(g[1]),H=D.length,Z=new Uint8Array(H);H--;)Z[H]=D.charCodeAt(H);var te=new Blob([Z],{type:_});window.navigator.msSaveBlob?window.navigator.msSaveBlob(te,d):i.addEventListener(\"click\",function(){i.download=d,i.href=window.URL.createObjectURL(te)})}else i.addEventListener(\"click\",function(){i.download=d,i.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){e.destroyed||(this.get(\"plugins\").push(e),e.initPlugin(this))},t.prototype.removePlugin=function(e){var n=this.get(\"plugins\"),i=n.indexOf(e);i>=0&&(e.destroyPlugin(),n.splice(i,1))},t.prototype.setImageWaterMarker=function(e,n){e===void 0&&(e=di.waterMarkerImage);var i=this.get(\"container\");Object(s.isString)(i)&&(i=document.getElementById(i)),i.style.position||(i.style.position=\"relative\");var d=this.get(\"graphWaterMarker\"),g=Object(s.deepMix)({},di.imageWaterMarkerConfig,n),_=g.width,I=g.height,D=g.compatible,H=g.image;if(!e){var Z=D?i:document.querySelector(\".g6-graph-watermarker\");return Z&&(Z.style.cssText=void 0),void(d&&d.clear())}if(d)d.clear();else{var te={container:i,width:_,height:I,capture:!1},de=this.get(\"pixelRatio\");de&&(te.pixelRatio=de,window.devicePixelRatio=de),d=new Za.Canvas(te),this.set(\"graphWaterMarker\",d)}d.get(\"el\").style.display=\"none\";var Pe=d.get(\"context\"),Ge=H.rotate,Qe=H.x,Xe=H.y;Pe.rotate(-Ge*Math.PI/180);var yt=new Image;yt.crossOrigin=\"anonymous\",yt.src=e,yt.onload=function(){if(Pe.drawImage(yt,Qe,Xe,H.width,H.height),Pe.rotate(Ge*Math.PI/180),D)i.style.cssText=\"background-image: url(\".concat(d.get(\"el\").toDataURL(\"image/png\"),\");background-repeat:repeat;\");else{var Ct=document.querySelector(\".g6-graph-watermarker\");Ct||((Ct=document.createElement(\"div\")).className=\"g6-graph-watermarker\"),Ct.className=\"g6-graph-watermarker\",d.destroyed||(Ct.style.cssText=\"background-image: url(\".concat(d.get(\"el\").toDataURL(\"image/png\"),\");background-repeat:repeat;position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:none;z-index:-1;\"),i.appendChild(Ct))}}},t.prototype.setTextWaterMarker=function(e,n){var i=this.get(\"container\");Object(s.isString)(i)&&(i=document.getElementById(i)),i.style.position||(i.style.position=\"relative\");var d=this.get(\"graphWaterMarker\"),g=Object(s.deepMix)({},di.textWaterMarkerConfig,n),_=g.width,I=g.height,D=g.compatible,H=g.text;if(!(e!=null&&e.length)){var Z=D?i:document.querySelector(\".g6-graph-watermarker\");return Z&&(Z.style.cssText=void 0),void(d&&d.clear())}if(d)d.clear();else{var te={container:i,width:_,height:I,capture:!1},de=this.get(\"pixelRatio\");de&&(te.pixelRatio=de,window.devicePixelRatio=de),d=new Za.Canvas(te),this.set(\"graphWaterMarker\",d)}d.get(\"el\").style.display=\"none\";var Pe=d.get(\"context\"),Ge=H.rotate,Qe=H.fill,Xe=H.fontFamily,yt=H.fontSize,Ct=H.baseline,on=H.x,sn=H.y,Nn=H.lineHeight;Pe.rotate(-Ge*Math.PI/180),Pe.font=\"\".concat(yt,\"px \").concat(Xe),Pe.fillStyle=Qe,Pe.textBaseline=Ct;for(var Tn=Object(s.isString)(e)?[e]:e,Bn=Tn.length-1;Bn>=0;Bn--)Pe.fillText(Tn[Bn],on,sn+Bn*Nn);if(Pe.rotate(Ge*Math.PI/180),D)i.style.cssText=\"background-image: url(\".concat(d.get(\"el\").toDataURL(\"image/png\"),\");background-repeat:repeat;\");else{var Hn=document.querySelector(\".g6-graph-watermarker\");Hn||((Hn=document.createElement(\"div\")).className=\"g6-graph-watermarker\"),Hn.style.cssText=\"background-image: url(\".concat(d.get(\"el\").toDataURL(\"image/png\"),\");background-repeat:repeat;position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:none;z-index:99;\"),i.appendChild(Hn)}},t.prototype.destroy=function(){var e,n,i,d;Object(s.each)(this.get(\"plugins\"),function(H){H.destroyPlugin()});var g=this.get(\"tooltips\");if(g)for(var _=0;_<g.length;_++){var I=g[_];if(I){var D=I.parentElement;D&&D.removeChild(I)}}(e=this.get(\"eventController\"))===null||e===void 0||e.destroy(),(n=this.get(\"layoutController\"))===null||n===void 0||n.destroy(),(i=this.get(\"graphWaterMarker\"))===null||i===void 0||i.destroy(),(d=document.querySelector(\".g6-graph-watermarker\"))===null||d===void 0||d.remove(),o.prototype.destroy.call(this)},t}(ho),yn=Ht.radialLayout,zs=Ht.traverseTree,ds=function(o){function t(e){var n=o.call(this,e)||this;return n.layoutAnimating=!1,n.set(\"removeList\",[]),n.set(\"layoutMethod\",n.getLayout()),n}return Object(l.__extends)(t,o),t.prototype.getLayout=function(){var e=this.get(\"layout\");return e?typeof e==\"function\"?e:(e.type||(e.type=\"dendrogram\"),e.direction||(e.direction=e.type===\"indented\"?\"LR\":\"TB\"),e.radial?function(n){var i=Ca.a[e.type](n,e);return yn(i),i}:function(n){return Ca.a[e.type](n,e)}):null},t.indexOfChild=function(e,n){var i=-1;return Object(s.each)(e,function(d,g){if(n===d.id)return i=g,!1}),i},t.prototype.getDefaultCfg=function(){var e=o.prototype.getDefaultCfg.call(this);return e.animate=!0,e},t.prototype.innerAddChild=function(e,n,i){var d=this,g=e.data;g&&(g.x=e.x,g.y=e.y,g.depth=e.depth);var _=d.addItem(\"node\",g,!1);if(n){if(_.set(\"parent\",n),i){var I=n.get(\"originAttrs\");if(I)_.set(\"originAttrs\",I);else{var D=n.getModel();_.set(\"originAttrs\",{x:D.x,y:D.y})}}var H=n.get(\"children\");H?H.push(_):n.set(\"children\",[_]),d.addItem(\"edge\",{source:n.get(\"id\"),target:_.get(\"id\"),id:\"\".concat(n.get(\"id\"),\":\").concat(_.get(\"id\"))},!1)}return Object(s.each)(e.children||[],function(Z){d.innerAddChild(Z,_,i)}),d.emit(\"afteraddchild\",{item:_,parent:n}),_},t.prototype.innerUpdateChild=function(e,n,i){var d=this,g=d.findById(e.id);if(g){Object(s.each)(e.children||[],function(de){d.innerUpdateChild(de,g,i)});var _,I,D=g.get(\"children\");if(D&&D.length>0)for(var H=D.length-1;H>=0;H--){var Z=D[H].getModel();t.indexOfChild(e.children||[],Z.id)===-1&&(d.innerRemoveChild(Z.id,{x:e.x,y:e.y},i),D.splice(H,1))}g.get(\"originAttrs\")&&(_=g.get(\"originAttrs\").x,I=g.get(\"originAttrs\").y);var te=g.getModel();i&&g.set(\"originAttrs\",{x:te.x,y:te.y}),g.set(\"model\",Object.assign(te,e.data)),_===e.x&&I===e.y||g.updatePosition({x:e.x,y:e.y})}else d.innerAddChild(e,n,i)},t.prototype.innerRemoveChild=function(e,n,i){var d=this,g=d.findById(e);if(g)if(Object(s.each)(g.get(\"children\"),function(I){d.innerRemoveChild(I.getModel().id,n,i)}),i){var _=g.getModel();g.set(\"to\",n),g.set(\"originAttrs\",{x:_.x,y:_.y}),d.get(\"removeList\").push(g)}else d.removeItem(g,!1)},t.prototype.changeData=function(e,n){n===void 0&&(n=!0);var i=this;this.getNodes().map(function(d){return i.clearItemStates(d)}),this.getEdges().map(function(d){return i.clearItemStates(d)}),n&&this.get(\"enabledStack\")&&this.pushStack(\"changedata\",{before:i.get(\"originData\"),after:e||i.get(\"data\")}),e?(i.data(e),i.render(!1)):i.layout(this.get(\"fitView\"))},t.prototype.changeLayout=function(e){console.warn(\"Please call updateLayout instead of changeLayout. changeLayout will be discarded soon\"),this.updateLayout(e)},t.prototype.updateLayout=function(e,n,i,d){if(d===void 0&&(d=!0),e){if(d&&this.get(\"enabledStack\")&&this.pushStack(\"layout\",{before:this.get(\"layout\"),after:e}),this.set(\"layout\",e),this.set(\"layoutMethod\",this.getLayout()),this.layout(),n){var g=i;g||(g=n===\"begin\"?{x:0,y:0}:{x:this.getWidth()/2,y:this.getHeight()/2}),g=this.getPointByCanvas(g.x,g.y);var _=this.getGroup().getMatrix()||[1,0,0,0,1,0,0,0,1];g.x=g.x*_[0]+_[6],g.y=g.y*_[0]+_[7];var I=this.getGroup().getCanvasBBox(),D=I.minX,H=I.maxX,Z=I.minY,te={x:(D+H)/2,y:(Z+I.maxY)/2};n===\"begin\"&&(te.x=D,te.y=Z),this.translate(g.x-te.x,g.y-te.y)}}else console.warn(\"layout cannot be null\")},t.prototype.refreshLayout=function(e){console.warn(\"Please call layout instead of refreshLayout. refreshLayout will be discarded soon\"),this.layout(e)},t.prototype.layout=function(e){var n=this,i=this.get(\"data\"),d=this.get(\"layoutMethod\"),g=this.get(\"layout\"),_=i;g!=null&&g.excludeInvisibles?(i=Object(s.clone)(this.get(\"data\")),zs(i,function(D){var H=D.children;if(!(H!=null&&H.length))return!0;for(var Z=H.length-1;Z>=0;Z--){var te=n.findById(H[Z].id);(te?!te.isVisible():H[Z].visible===!1)&&H.splice(Z,1)}}),_=d?d(i,this.get(\"layout\")):i,zs(_,function(D){var H=n.findDataById(D.id);H&&(H.data=D.data,H.x=D.x,H.y=D.y)}),_=this.get(\"data\"),zs(_,function(D){D.data||(D.data=Object(l.__assign)({},D))})):_=d?d(i,this.get(\"layout\")):i;var I=this.get(\"animate\");this.emit(\"beforerefreshlayout\",{data:i,layoutData:_}),this.emit(\"beforelayout\"),this.innerUpdateChild(_,void 0,I),e&&this.get(\"viewController\").fitView(),I?this.layoutAnimate(_):(this.refresh(),this.paint()),this.emit(\"afterrefreshlayout\",{data:i,layoutData:_}),this.emit(\"afterlayout\")},t.prototype.addChild=function(e,n,i){i===void 0&&(i=!0),this.emit(\"beforeaddchild\",{model:e,parent:n}),Object(s.isString)(n)||(n=n.get(\"id\"));var d=this.findDataById(n);d&&(d.children||(d.children=[]),d.children.push(e),this.findById(n).refresh(),this.changeData(void 0,i))},t.prototype.updateChildren=function(e,n,i){i===void 0&&(i=!0);var d=this.findById(n);n&&d?(this.findDataById(n).children=e,d.refresh(),this.changeData(void 0,i)):console.warn(\"Update children failed! There is no node with id '\".concat(n,\"'\"))},t.prototype.updateChild=function(e,n,i){if(i===void 0&&(i=!0),n&&this.findById(n)){var d=this.findDataById(n),g=this.findById(e.id);if(d.children||(d.children=[]),g){var _=t.indexOfChild(d.children,e.id);_>-1&&(d.children[_]=e)}else d.children.push(e);var I=this.findById(n);I==null||I.refresh(),this.changeData(void 0,i)}else this.changeData(e,i)},t.prototype.removeChild=function(e,n){n===void 0&&(n=!0);var i,d=this.findById(e);if((i=d?d==null?void 0:d.get(\"parent\"):this.getNodes().find(function(H){return!!(H.getModel().children||[]).find(function(Z){return Z.id===e})}))&&!i.destroyed){var g=i.get(\"id\"),_=this.findDataById(g),I=_&&_.children||[],D=t.indexOfChild(I,e);I.splice(D,1),i.refresh()}this.changeData(void 0,n)},t.prototype.findDataById=function(e,n){var i=this;if(n||(n=i.get(\"data\")),e===n.id)return n;var d=null;return Object(s.each)(n.children||[],function(g){return g.id===e?(d=g,!1):!(d=i.findDataById(e,g))&&void 0}),d},t.prototype.layoutAnimate=function(e,n){var i=this,d=this.get(\"animateCfg\");i.emit(\"beforeanimate\",{data:e}),i.getEdges().forEach(function(g){var _=g.get(\"model\");_.sourceAnchor||(_.sourceAnchor=g.get(\"sourceAnchorIndex\"))}),this.get(\"canvas\").animate(function(g){zs(e,function(_){var I=i.findById(_.id);if(I){var D=I.get(\"originAttrs\"),H=I.get(\"model\");if(D||(D={x:H.x,y:H.y},I.set(\"originAttrs\",D)),n){var Z=n(I,g,D,e);I.set(\"model\",Object.assign(H,Z))}else H.x=D.x+(_.x-D.x)*g,H.y=D.y+(_.y-D.y)*g}return!0}),Object(s.each)(i.get(\"removeList\"),function(_){var I=_.getModel(),D=_.get(\"originAttrs\"),H=_.get(\"to\");I.x=D.x+(H.x-D.x)*g,I.y=D.y+(H.y-D.y)*g}),i.refreshPositions()},{duration:d.duration,easing:d.ease,callback:function(){Object(s.each)(i.getNodes(),function(g){g.set(\"originAttrs\",null)}),Object(s.each)(i.get(\"removeList\"),function(g){i.removeItem(g,!1)}),i.set(\"removeList\",[]),d.callback&&d.callback(),i.emit(\"afteranimate\",{data:e})},delay:d.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(e){e===void 0&&(e=!0);var n=this.get(\"data\");if(!n||!Object(s.isObject)(n)||!Object.keys(n).length)throw new Error(\"data must be defined first\");this.clear(),e&&this.get(\"enabledStack\")&&this.clearStack(),this.emit(\"beforerender\"),this.layout(this.get(\"fitView\")),this.emit(\"afterrender\")},t.prototype.save=function(){return this.get(\"data\")},t.prototype.data=function(e){o.prototype.data.call(this,e),this.set(\"originData\",JSON.parse(JSON.stringify(e)))},t}(Cs),gs=function(){function o(t){this._cfgs=Object(s.deepMix)(this.getDefaultCfgs(),t),this._events={},this.destroyed=!1}return o.prototype.getDefaultCfgs=function(){return{}},o.prototype.initPlugin=function(t){var e=this;e.set(\"graph\",t);var n=e.getEvents(),i={};Object(s.each)(n,function(d,g){var _=Object(s.wrapBehavior)(e,d);i[g]=_,t.on(g,_)}),this._events=i,this.init()},o.prototype.getEvents=function(){return{}},o.prototype.get=function(t){var e;return(e=this._cfgs)===null||e===void 0?void 0:e[t]},o.prototype.set=function(t,e){this._cfgs[t]=e},o.prototype.destroy=function(){},o.prototype.destroyPlugin=function(){this.destroy();var t=this.get(\"graph\"),e=this._events;Object(s.each)(e,function(n,i){t.off(i,n)}),this._events=null,this._cfgs=null,this.destroyed=!0},o}(),Wa=(Ta=function(o,t){return(Ta=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])})(o,t)},function(o,t){if(typeof t!=\"function\"&&t!==null)throw new TypeError(\"Class extends value \"+String(t)+\" is not a constructor or null\");function e(){this.constructor=o}Ta(o,t),o.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}),Ac=\"url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImdyaWQiIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTSAwIDEwIEwgNDAgMTAgTSAxMCAwIEwgMTAgNDAgTSAwIDIwIEwgNDAgMjAgTSAyMCAwIEwgMjAgNDAgTSAwIDMwIEwgNDAgMzAgTSAzMCAwIEwgMzAgNDAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2UwZTBlMCIgb3BhY2l0eT0iMC4yIiBzdHJva2Utd2lkdGg9IjEiLz48cGF0aCBkPSJNIDQwIDAgTCAwIDAgMCA0MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZTBlMGUwIiBzdHJva2Utd2lkdGg9IjEiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JpZCkiLz48L3N2Zz4=)\",Gs=function(o){function t(e){return o.call(this,e)||this}return Wa(t,o),t.prototype.getDefaultCfgs=function(){return{img:Ac,follow:!0}},t.prototype.init=function(){var e=this.get(\"graph\"),n=e.get(\"container\"),i=e.get(\"canvas\").get(\"el\"),d=this.get(\"img\")||Ac;d.includes(\"url(\")||(d='url(\"'.concat(d,'\")'));var g=_i(`<div class='g6-grid-container' style=\"position:absolute;overflow:hidden;z-index: -1;\"></div>`),_=_i(`<div\n        class='g6-grid'\n        style='position:absolute;\n        background-image: `.concat(d,`;\n        user-select: none\n        '></div>`));this.set(\"container\",g),this.set(\"gridContainer\",_),this.positionInit(),g.appendChild(_),n.insertBefore(g,i)},t.prototype.positionInit=function(){var e=this.get(\"graph\"),n=e.get(\"minZoom\"),i=e.get(\"width\"),d=e.get(\"height\");gi(this.get(\"container\"),{width:\"\".concat(i,\"px\"),height:\"\".concat(d,\"px\")});var g=80*i/n,_=80*d/n;gi(this.get(\"gridContainer\"),{width:\"\".concat(g,\"px\"),height:\"\".concat(_,\"px\"),left:\"-\".concat(g/2,\"px\"),top:\"-\".concat(_/2,\"px\")})},t.prototype.getEvents=function(){return{viewportchange:\"updateGrid\"}},t.prototype.updateGrid=function(e){var n=this.get(\"gridContainer\"),i=e.matrix;i||(i=[1,0,0,0,1,0,0,0,1]);var d=this.get(\"follow\");gi(n,{transform:\"matrix(\".concat(i[0],\", \").concat(i[1],\", \").concat(i[3],\", \").concat(i[4],\", \").concat(d?i[6]:\"0\",\", \").concat(d?i[7]:\"0\",\")\")})},t.prototype.getContainer=function(){return this.get(\"container\")},t.prototype.destroy=function(){var e=this.get(\"graph\").get(\"container\"),n=this.get(\"container\");e.removeChild(n)},t}(gs),Tc=r(30),pu=r.n(Tc),Pc=function(){var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(n[d]=i[d])})(t,e)};return function(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Class extends value \"+String(e)+\" is not a constructor or null\");function n(){this.constructor=t}o(t,e),t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();typeof document!=\"undefined\"&&pu()(`\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 Yc=function(o){function t(e){return o.call(this,e)||this}return Pc(t,o),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 this.get(\"trigger\")===\"click\"?{click:\"onMenuShow\",touchend:\"onMenuShow\"}:{contextmenu:\"onMenuShow\"}},t.prototype.init=function(){var e=this.get(\"className\"),n=_i(\"<div class=\".concat(e||\"g6-component-contextmenu\",\"></div>\"));gi(n,{top:\"0px\",position:\"absolute\",visibility:\"hidden\"});var i=this.get(\"container\");i||(i=this.get(\"graph\").get(\"container\")),Object(s.isString)(i)&&(i=document.getElementById(i)),i.appendChild(n),this.set(\"menu\",n)},t.prototype.onMenuShow=function(e){var n=this;e.preventDefault();var i=this.get(\"itemTypes\");if(e.item){if(e.item&&e.item.getType&&i.indexOf(e.item.getType())===-1)return void n.onMenuHide()}else if(i.indexOf(\"canvas\")===-1)return void n.onMenuHide();if(this.get(\"shouldBegin\")(e)){var d=this.get(\"menu\"),g=this.get(\"getContent\"),_=this.get(\"graph\"),I=g(e,_);Object(s.isString)(I)?d.innerHTML=I:d.innerHTML=I.outerHTML,this.removeMenuEventListener();var D=this.get(\"handleMenuClick\");if(D){var H=function(Nn){D(Nn.target,e.item,_)};this.set(\"handleMenuClickWrapper\",H),d.addEventListener(\"click\",H)}var Z=_.get(\"width\"),te=_.get(\"height\"),de=d.getBoundingClientRect(),Pe=this.get(\"offsetX\")||0,Ge=this.get(\"offsetY\")||0,Qe=_.getContainer().offsetTop,Xe=_.getContainer().offsetLeft,yt=e.canvasX+Xe+Pe,Ct=e.canvasY+Qe+Ge;yt+de.width>Z&&(yt=e.canvasX-de.width-Pe+Xe),Ct+de.height>te&&(Ct=e.canvasY-de.height-Ge+Qe),gi(d,{top:\"\".concat(Ct,\"px\"),left:\"\".concat(yt,\"px\"),visibility:\"visible\"});var on=this.get(\"trigger\")===\"click\",sn=function(Nn){on?on=!1:n.onMenuHide()};document.body.addEventListener(\"click\",sn),this.set(\"handler\",sn)}},t.prototype.removeMenuEventListener=function(){var e=this.get(\"handleMenuClickWrapper\"),n=this.get(\"handler\");e&&(this.get(\"menu\").removeEventListener(\"click\",e),this.set(\"handleMenuClickWrapper\",null)),n&&document.body.removeEventListener(\"click\",n)},t.prototype.onMenuHide=function(){var e=this.get(\"menu\");e&&gi(e,{visibility:\"hidden\"}),this.removeMenuEventListener()},t.prototype.destroy=function(){var e=this.get(\"menu\");if(this.removeMenuEventListener(),e){var n=this.get(\"container\");n||(n=this.get(\"graph\").get(\"container\")),Object(s.isString)(n)&&(n=document.getElementById(n)),n.removeChild(e)}},t}(gs),Kc=function(){var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(n[d]=i[d])})(t,e)};return function(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Class extends value \"+String(e)+\" is not a constructor or null\");function n(){this.constructor=t}o(t,e),t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}(),rc=function(){return(rc=Object.assign||function(o){for(var t,e=1,n=arguments.length;e<n;e++)for(var i in t=arguments[e])Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i]);return o}).apply(this,arguments)},qc=Math.max,Ns=j.a.transform,Au=function(o){function t(e){var n=o.call(this,e)||this;return n.handleUpdateCanvas=Object(s.debounce)(function(i){var d=n;d.destroyed||d.updateCanvas()},100,!1),n}return Kc(t,o),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,n=this._cfgs,i=n.size,d=n.graph;if(!this.destroyed){var g=this.get(\"canvas\").get(\"container\"),_=navigator.userAgent.toLowerCase().indexOf(\"firefox\")>-1,I=navigator.userAgent.toLowerCase().indexOf(\"safari\")>-1,D=_i(`\n      <div\n        class=`.concat(n.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(!I&&!_,`\n      </div>`)),H=0,Z=0,te=!1,de=0,Pe=0,Ge=0,Qe=0,Xe=0,yt=0,Ct=I||_?\"mousedown\":\"dragstart\";D.addEventListener(Ct,function(Tn){var Bn,Hn;if(Tn.dataTransfer){var Sr=new Image;Sr.src=\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' %3E%3Cpath /%3E%3C/svg%3E\",(Hn=(Bn=Tn.dataTransfer).setDragImage)===null||Hn===void 0||Hn.call(Bn,Sr,0,0);try{Tn.dataTransfer.setData(\"text/html\",\"view-port-minimap\")}catch(po){Tn.dataTransfer.setData(\"text\",\"view-port-minimap\")}}if(n.refresh=!1,Tn.target===D){var Cr=D.style;de=parseInt(Cr.left,10),Pe=parseInt(Cr.top,10),Ge=parseInt(Cr.width,10),Qe=parseInt(Cr.height,10),Ge>i[0]||Qe>i[1]||(yt=d.getZoom(),Xe=e.get(\"ratio\"),te=!0,H=Tn.clientX,Z=Tn.clientY)}},!1);var on=function(Tn){if(te&&!Object(s.isNil)(Tn.clientX)&&!Object(s.isNil)(Tn.clientY)){var Bn=H-Tn.clientX,Hn=Z-Tn.clientY;(de-Bn<0||de-Bn+Ge>=i[0])&&(Bn=0),(Pe-Hn<0||Pe-Hn+Qe>=i[1])&&(Hn=0),Pe-=Hn,gi(D,{left:\"\".concat(de-=Bn,\"px\"),top:\"\".concat(Pe,\"px\")}),d.translate(Bn*yt/Xe,Hn*yt/Xe),H=Tn.clientX,Z=Tn.clientY}};I||_||D.addEventListener(\"drag\",on,!1);var sn=function(){te=!1,n.refresh=!0},Nn=I||_?\"mouseup\":\"dragend\";D.addEventListener(Nn,sn,!1),g.addEventListener(\"mouseleave\",sn),g.addEventListener(\"mouseup\",sn),(I||_)&&g.addEventListener(\"mousemove\",on,!1),this.set(\"viewport\",D),g.appendChild(D)}},t.prototype.updateViewport=function(){if(!this.destroyed){var e=this.get(\"ratio\"),n=this.get(\"totaldx\"),i=this.get(\"totaldy\"),d=this.get(\"graph\"),g=this.get(\"size\"),_=d.get(\"canvas\").get(\"el\"),I=d.get(\"width\")||_.scrollWidth||500,D=d.get(\"height\")||_.scrollHeight||500,H=d.getPointByCanvas(0,0),Z=d.getPointByCanvas(I,D),te=this.get(\"viewport\");te||this.initViewport();var de=(Z.x-H.x)*e,Pe=(Z.y-H.y)*e,Ge=H.x*e+n,Qe=H.y*e+i,Xe=Ge+de,yt=Qe+Pe;Ge<0&&(de+=Ge,Ge=0),Xe>g[0]&&(de-=Xe-g[0]),Qe<0&&(Pe+=Qe,Qe=0),yt>g[1]&&(Pe-=yt-g[1]),this.set(\"ratio\",e),gi(te,{left:\"\".concat(Ge,\"px\"),top:\"\".concat(Qe,\"px\"),width:\"\".concat(de,\"px\"),height:\"\".concat(Pe,\"px\")})}},t.prototype.updateGraphShapes=function(){var e,n=this._cfgs.graph,i=this.get(\"canvas\"),d=n.get(\"group\");d.destroyed||(i.clear(),this.get(\"hideEdge\")?(e=i.addGroup(),d.get(\"children\").forEach(function(g){g.get(\"id\").includes(\"-edge\")||e.add(g.clone())})):((e=d.clone()).resetMatrix(),i.add(e)),n.get(\"renderer\")===\"svg\"&&this.updateVisible(e))},t.prototype.updateVisible=function(e){var n=this;if(e.isGroup()||e.get(\"visible\")){var i=e.get(\"children\");if(!i||!i.length)return;i.forEach(function(d){d.get(\"visible\")||d.hide(),n.updateVisible(d)})}else e.hide()},t.prototype.updateKeyShapes=function(){var e=this,n=this._cfgs.graph,i=this.get(\"canvas\"),d=i.get(\"children\")[0]||i.addGroup();this.get(\"hideEdge\")||Object(s.each)(n.getEdges(),function(I){e.updateOneEdgeKeyShape(I,d)}),Object(s.each)(n.getNodes(),function(I){e.updateOneNodeKeyShape(I,d)});var g=n.getCombos();if(g&&g.length){var _=d.find(function(I){return I.get(\"name\")===\"comboGroup\"})||d.addGroup({name:\"comboGroup\"});setTimeout(function(){e.destroyed||(Object(s.each)(g,function(I){e.updateOneComboKeyShape(I,_)}),_==null||_.sort(),_==null||_.toBack(),e.updateCanvas())},250)}this.clearDestroyedShapes()},t.prototype.updateOneComboKeyShape=function(e,n){if(!this.destroyed){var i=this.get(\"itemMap\")||{},d=i[e.get(\"id\")],g=e.getBBox(),_=e.get(\"keyShape\").clone(),I=_.attr(),D={x:g.centerX,y:g.centerY};d?D=Object.assign(I,D):(d=_,n.add(d));var H=d.get(\"type\");H!==\"rect\"&&H!==\"image\"||(D.x=g.minX,D.y=g.minY),d.attr(D),e.isVisible()?d.show():d.hide(),d.exist=!0;var Z=e.getModel().depth;isNaN(Z)||d.set(\"zIndex\",Z),i[e.get(\"id\")]=d,this.set(\"itemMap\",i)}},t.prototype.updateOneNodeKeyShape=function(e,n){var i=this.get(\"itemMap\")||{},d=i[e.get(\"id\")],g=e.getBBox(),_=e.get(\"keyShape\").clone(),I=_.attr(),D={x:g.centerX,y:g.centerY};d?(D=Object.assign(I,D),d.toFront()):(d=_,n.add(d));var H=d.get(\"type\");H!==\"rect\"&&H!==\"image\"||(D.x=g.minX,D.y=g.minY),d.attr(D),e.isVisible()?d.show():d.hide(),d.exist=!0;var Z=e.getModel().depth;isNaN(Z)||d.set(\"zIndex\",Z),i[e.get(\"id\")]=d,this.set(\"itemMap\",i)},t.prototype.updateDelegateShapes=function(){var e=this,n=this._cfgs.graph,i=this.get(\"canvas\"),d=i.get(\"children\")[0]||i.addGroup();this.get(\"hideEdge\")||Object(s.each)(n.getEdges(),function(I){e.updateOneEdgeKeyShape(I,d)}),Object(s.each)(n.getNodes(),function(I){e.updateOneNodeDelegateShape(I,d)});var g=n.getCombos();if(g&&g.length){var _=d.find(function(I){return I.get(\"name\")===\"comboGroup\"})||d.addGroup({name:\"comboGroup\"});setTimeout(function(){e.destroyed||(Object(s.each)(g,function(I){e.updateOneComboKeyShape(I,_)}),_==null||_.sort(),_==null||_.toBack(),e.updateCanvas())},250)}this.clearDestroyedShapes()},t.prototype.clearDestroyedShapes=function(){var e=this.get(\"itemMap\")||{},n=Object.keys(e);if(n&&n.length!==0)for(var i=n.length-1;i>=0;i--){var d=e[n[i]],g=d.exist;d.exist=!1,g||(d.remove(),delete e[n[i]])}},t.prototype.updateOneEdgeKeyShape=function(e,n){var i=this.get(\"itemMap\")||{},d=i[e.get(\"id\")];if(d){var g=e.get(\"keyShape\").attr(\"path\");d.attr(\"path\",g)}else d=e.get(\"keyShape\").clone(),n.add(d);e.isVisible()?d.show():d.hide(),d.exist=!0,i[e.get(\"id\")]=d,this.set(\"itemMap\",i)},t.prototype.updateOneNodeDelegateShape=function(e,n){var i=this.get(\"delegateStyle\"),d=this.get(\"itemMap\")||{},g=d[e.get(\"id\")],_=e.getBBox();if(g){var I={x:_.minX,y:_.minY,width:_.width,height:_.height};g.attr(I),g.toFront()}else g=n.addShape(\"rect\",{attrs:rc({x:_.minX,y:_.minY,width:_.width,height:_.height},i),name:\"minimap-node-shape\"});e.isVisible()?g.show():g.hide(),g.exist=!0,d[e.get(\"id\")]=g,this.set(\"itemMap\",d)},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.get(\"graph\"),n=this.get(\"size\"),i=this.get(\"className\"),d=this.get(\"container\"),g=_i(\"<div class='\".concat(i,\"' style='width: \").concat(n[0],\"px; height: \").concat(n[1],\"px; overflow: hidden'></div>\"));Object(s.isString)(d)&&(d=document.getElementById(d)),d?d.appendChild(g):e.get(\"container\").appendChild(g),this.set(\"container\",g);var _,I=_i('<div class=\"g6-minimap-container\" style=\"position: relative;\"></div>');g.appendChild(I),I.addEventListener(\"dragenter\",function(D){D.preventDefault()}),I.addEventListener(\"dragover\",function(D){D.preventDefault()}),_=e.get(\"renderer\")===\"svg\"?new rr.Canvas({container:I,width:n[0],height:n[1]}):new Za.Canvas({container:I,width:n[0],height:n[1]}),this.set(\"canvas\",_),this.updateCanvas()},t.prototype.updateCanvas=function(){if(!this.destroyed&&this.get(\"refresh\")){var e=this.get(\"graph\");if(!e.get(\"destroyed\")){this.get(\"viewportChange\")&&(this.set(\"viewportChange\",!1),this.updateViewport());var n=this.get(\"size\"),i=this.get(\"canvas\"),d=this.get(\"type\"),g=this.get(\"padding\");if(!i.destroyed){switch(d){case\"default\":this.updateGraphShapes();break;case\"keyShape\":this.updateKeyShapes();break;case\"delegate\":this.updateDelegateShapes()}var _=i.get(\"children\")[0];if(_){_.resetMatrix();var I=_.getCanvasBBox(),D=e.get(\"canvas\").getCanvasBBox(),H=e.getZoom()||1,Z=D.width/H,te=D.height/H;Number.isFinite(I.width)&&(Z=qc(I.width,Z),te=qc(I.height,te)),Z+=2*g,te+=2*g;var de=Math.min(n[0]/Z,n[1]/te),Pe=[1,0,0,0,1,0,0,0,1],Ge=0,Qe=0;Number.isFinite(I.minX)&&(Ge=-I.minX),Number.isFinite(I.minY)&&(Qe=-I.minY);var Xe=(n[0]-(Z-2*g)*de)/2,yt=(n[1]-(te-2*g)*de)/2;Pe=Ns(Pe,[[\"t\",Ge,Qe],[\"s\",de,de],[\"t\",Xe,yt]]),_.setMatrix(Pe),this.set(\"ratio\",de),this.set(\"totaldx\",Xe+Ge*de),this.set(\"totaldy\",yt+Qe*de),this.set(\"dx\",Xe),this.set(\"dy\",yt),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;(e=this.get(\"canvas\"))===null||e===void 0||e.destroy();var n=this.get(\"container\");n!=null&&n.parentNode&&n.parentNode.removeChild(n)},t}(gs),yc=function(){var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(n[d]=i[d])})(t,e)};return function(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Class extends value \"+String(e)+\" is not a constructor or null\");function n(){this.constructor=t}o(t,e),t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();function gu(o,t,e){var n=o.x-t.x,i=o.y-t.y;return!e||Math.abs(n)>e||Math.abs(i)>e?Math.sqrt(n*n+i*i):e}function bc(o,t){var e=(t.source.y-t.target.y)/(t.source.x-t.target.x),n=(e*e*t.source.x+e*(o.y-t.source.y)+o.x)/(e*e+1);return{x:n,y:e*(n-t.source.x)+t.source.y}}var Ic=function(o){function t(e){return o.call(this,e)||this}return yc(t,o),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\"),n=this.get(\"onTick\");this.set(\"tick\",function(){n&&n(),e.refreshPositions()})},t.prototype.bundling=function(e){var n=this;if(n.set(\"data\",e),!n.isTicking()){var i=e.edges||[],d=e.nodes||[],g={},_=!1;if(d.forEach(function(Ct){Ct.x!==null&&!Ct.y!==null&&Ct.x!==void 0&&!Ct.y!==void 0||(_=!0),g[Ct.id]=Ct}),_)throw new Error(\"please layout the graph or assign x and y for nodes first\");n.set(\"nodeIdMap\",g);var I=n.get(\"divisions\"),D=n.get(\"divRate\"),H=n.divideEdges(I);n.set(\"edgePoints\",H);var Z=n.getEdgeBundles();n.set(\"edgeBundles\",Z);for(var te=n.get(\"cycles\"),de=n.get(\"iterations\"),Pe=n.get(\"iterRate\"),Ge=n.get(\"lambda\"),Qe=0;Qe<te;Qe++){for(var Xe=function(Ct){var on=[];i.forEach(function(sn,Nn){if(sn.source!==sn.target){var Tn=g[sn.source],Bn=g[sn.target];on[Nn]=n.getEdgeForces({source:Tn,target:Bn},Nn,I,Ge);for(var Hn=0;Hn<I+1;Hn++)H[Nn][Hn].x+=on[Nn][Hn].x,H[Nn][Hn].y+=on[Nn][Hn].y}})},yt=0;yt<de;yt++)Xe();Ge/=2,I*=D,de*=Pe,H=n.divideEdges(I),n.set(\"edgePoints\",H)}i.forEach(function(Ct,on){Ct.source!==Ct.target&&(Ct.type=\"polyline\",Ct.controlPoints=H[on].slice(1,H[on].length-1))}),n.get(\"graph\").refresh()}},t.prototype.updateBundling=function(e){var n=this,i=e.data;if(i&&n.set(\"data\",i),n.get(\"ticking\")&&n.set(\"ticking\",!1),Object.keys(e).forEach(function(g){n.set(g,e[g])}),e.onTick){var d=this.get(\"graph\");n.set(\"tick\",function(){e.onTick(),d.refresh()})}n.bundling(i)},t.prototype.divideEdges=function(e){var n=this,i=n.get(\"data\").edges,d=n.get(\"nodeIdMap\"),g=n.get(\"edgePoints\");return g&&g!==void 0||(g=[]),i.forEach(function(_,I){var D;g[I]&&g[I]!==void 0||(g[I]=[]);var H=d[_.source],Z=d[_.target];if(e===1)g[I].push({x:H.x,y:H.y}),g[I].push({x:.5*(H.x+Z.x),y:.5*(H.y+Z.y)}),g[I].push({x:Z.x,y:Z.y});else{var te=(!((D=g[I])===null||D===void 0)&&D.length?n.getEdgeLength(g[I]):gu({x:H.x,y:H.y},{x:Z.x,y:Z.y}))/(e+1),de=te,Pe=[{x:H.x,y:H.y}];g[I].forEach(function(Ge,Qe){if(Qe!==0){for(var Xe=gu(Ge,g[I][Qe-1]);Xe>de;){var yt=de/Xe,Ct={x:g[I][Qe-1].x,y:g[I][Qe-1].y};Ct.x+=yt*(Ge.x-g[I][Qe-1].x),Ct.y+=yt*(Ge.y-g[I][Qe-1].y),Pe.push(Ct),Xe-=de,de=te}de-=Xe}}),Pe.push({x:Z.x,y:Z.y}),g[I]=Pe}}),g},t.prototype.getEdgeLength=function(e){var n=0;return e.forEach(function(i,d){d!==0&&(n+=gu(i,e[d-1]))}),n},t.prototype.getEdgeBundles=function(){var e=this,n=e.get(\"data\").edges||[],i=e.get(\"bundleThreshold\"),d=e.get(\"nodeIdMap\"),g=e.get(\"edgeBundles\");return g||(g=[]),n.forEach(function(_,I){g[I]&&g[I]!==void 0||(g[I]=[])}),n.forEach(function(_,I){var D=d[_.source],H=d[_.target];n.forEach(function(Z,te){if(!(te<=I)){var de=d[Z.source],Pe=d[Z.target];e.getBundleScore({source:D,target:H},{source:de,target:Pe})>=i&&(g[I].push(te),g[te].push(I))}})}),g},t.prototype.getBundleScore=function(e,n){return e.vx=e.target.x-e.source.x,e.vy=e.target.y-e.source.y,n.vx=n.target.x-n.source.x,n.vy=n.target.y-n.source.y,e.length=gu({x:e.source.x,y:e.source.y},{x:e.target.x,y:e.target.y}),n.length=gu({x:n.source.x,y:n.source.y},{x:n.target.x,y:n.target.y}),this.getAngleScore(e,n)*this.getScaleScore(e,n)*this.getPositionScore(e,n)*this.getVisibilityScore(e,n)},t.prototype.getAngleScore=function(e,n){return function(i,d){return i.x*d.x+i.y*d.y}({x:e.vx,y:e.vy},{x:n.vx,y:n.vy})/(e.length*n.length)},t.prototype.getScaleScore=function(e,n){var i=(e.length+n.length)/2;return 2/(i/Math.min(e.length,n.length)+Math.max(e.length,n.length)/i)},t.prototype.getPositionScore=function(e,n){var i=(e.length+n.length)/2;return i/(i+gu({x:(e.source.x+e.target.x)/2,y:(e.source.y+e.target.y)/2},{x:(n.source.x+n.target.x)/2,y:(n.source.y+n.target.y)/2}))},t.prototype.getVisibilityScore=function(e,n){var i=this.getEdgeVisibility(e,n),d=this.getEdgeVisibility(n,e);return i<d?i:d},t.prototype.getEdgeVisibility=function(e,n){var i=bc(n.source,e),d=bc(n.target,e),g={x:(i.x+d.x)/2,y:(i.y+d.y)/2},_={x:(e.source.x+e.target.x)/2,y:(e.source.y+e.target.y)/2};return Math.max(0,1-2*gu(g,_)/gu(i,d))},t.prototype.getEdgeForces=function(e,n,i,d){for(var g=this.get(\"edgePoints\"),_=this.get(\"K\")/(gu(e.source,e.target)*(i+1)),I=[{x:0,y:0}],D=1;D<i;D++){var H={x:0,y:0},Z=this.getSpringForce({pre:g[n][D-1],cur:g[n][D],next:g[n][D+1]},_),te=this.getElectrostaticForce(D,n);H.x=d*(Z.x+te.x),H.y=d*(Z.y+te.y),I.push(H)}return I.push({x:0,y:0}),I},t.prototype.getSpringForce=function(e,n){var i=e.pre.x+e.next.x-2*e.cur.x,d=e.pre.y+e.next.y-2*e.cur.y;return{x:i*=n,y:d*=n}},t.prototype.getElectrostaticForce=function(e,n){var i=this.get(\"eps\"),d=this.get(\"edgeBundles\"),g=this.get(\"edgePoints\"),_=d[n],I={x:0,y:0};return _.forEach(function(D){var H={x:g[D][e].x-g[n][e].x,y:g[D][e].y-g[n][e].y};if(Math.abs(H.x)>i||Math.abs(H.y)>i){var Z=1/gu(g[D][e],g[n][e]);I.x+=H.x*Z,I.y+=H.y*Z}}),I},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(),o.prototype.destroy.call(this)},t}(gs),vu=function(){var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(n[d]=i[d])})(t,e)};return function(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Class extends value \"+String(e)+\" is not a constructor or null\");function n(){this.constructor=t}o(t,e),t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}(),Yu=function(){return(Yu=Object.assign||function(o){for(var t,e=1,n=arguments.length;e<n;e++)for(var i in t=arguments[e])Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i]);return o}).apply(this,arguments)},oc={stroke:\"#000\",strokeOpacity:.8,lineWidth:2,fillOpacity:.1,fill:\"#ccc\"},kc=function(o){function t(e){return o.call(this,e)||this}return vu(t,o),t.prototype.getDefaultCfgs=function(){return{trigger:\"mousemove\",d:1.5,r:300,delegateStyle:Object(s.clone)(oc),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\"}}return e},t.prototype.init=function(){var e=this.get(\"r\");this.set(\"cachedMagnifiedModels\",[]),this.set(\"cachedOriginPositions\",{}),this.set(\"r2\",e*e);var n=this.get(\"d\");this.set(\"molecularParam\",(n+1)*e)},t.prototype.createDelegate=function(e){var n=this,i=this,d=i.get(\"delegate\");d&&!d.destroyed||(i.magnify(e),(d=i.get(\"delegate\")).on(\"dragstart\",function(g){i.set(\"delegateCenterDiff\",{x:d.attr(\"x\")-g.x,y:d.attr(\"y\")-g.y})}),d.on(\"drag\",function(g){i.magnify(g)}),this.get(\"scaleDBy\")===\"wheel\"&&d.on(\"mousewheel\",function(g){n.scaleDByWheel(g)}),this.get(\"scaleRBy\")===\"wheel\"&&d.on(\"mousewheel\",function(g){i.scaleRByWheel(g)}))},t.prototype.scaleRByWheel=function(e){if(e&&e.originalEvent){e.preventDefault&&e.preventDefault();var n,i=this.get(\"graph\"),d=this.get(\"delegate\"),g=(d?{x:d.attr(\"x\"),y:d.attr(\"y\")}:void 0)||i.getPointByClient(e.clientX,e.clientY);n=e.originalEvent.wheelDelta<0?.95:1/.95;var _=this.get(\"maxR\"),I=this.get(\"minR\"),D=this.get(\"r\");(D>(_||i.get(\"height\"))&&n>1||D<(I||.05*i.get(\"height\"))&&n<1)&&(n=1),D*=n,this.set(\"r\",D),this.set(\"r2\",D*D);var H=this.get(\"d\");this.set(\"molecularParam\",(H+1)*D),this.set(\"delegateCenterDiff\",void 0),this.magnify(e,g)}},t.prototype.scaleRByDrag=function(e){if(e){var n,i=this.get(\"dragPrePos\"),d=this.get(\"graph\"),g=d.getPointByClient(e.clientX,e.clientY);n=e.x-i.x<0?.95:1/.95;var _=this.get(\"maxR\"),I=this.get(\"minR\"),D=this.get(\"r\");(D>(_||d.get(\"height\"))&&n>1||D<(I||.05*d.get(\"height\"))&&n<1)&&(n=1),D*=n,this.set(\"r\",D),this.set(\"r2\",D*D);var H=this.get(\"d\");this.set(\"molecularParam\",(H+1)*D),this.magnify(e,g),this.set(\"dragPrePos\",{x:e.x,y:e.y})}},t.prototype.scaleDByWheel=function(e){if(e||e.originalEvent){e.preventDefault&&e.preventDefault();var n=0;n=e.originalEvent.wheelDelta<0?-.1:.1;var i=this.get(\"d\")+n,d=this.get(\"maxD\"),g=this.get(\"minD\");if(i<d&&i>g){this.set(\"d\",i);var _=this.get(\"r\");this.set(\"molecularParam\",(i+1)*_);var I=this.get(\"delegate\"),D=I?{x:I.attr(\"x\"),y:I.attr(\"y\")}:void 0;this.set(\"delegateCenterDiff\",void 0),this.magnify(e,D)}}},t.prototype.scaleDByDrag=function(e){var n=this.get(\"dragPrePos\"),i=e.x-n.x>0?.1:-.1,d=this.get(\"d\")+i,g=this.get(\"maxD\"),_=this.get(\"minD\");if(d<g&&d>_){this.set(\"d\",d);var I=this.get(\"r\");this.set(\"molecularParam\",(d+1)*I),this.magnify(e)}this.set(\"dragPrePos\",{x:e.x,y:e.y})},t.prototype.magnify=function(e,n){this.restoreCache();var i=this.get(\"graph\"),d=this.get(\"cachedMagnifiedModels\"),g=this.get(\"cachedOriginPositions\"),_=this.get(\"showLabel\"),I=this.get(\"r\"),D=this.get(\"r2\"),H=this.get(\"d\"),Z=this.get(\"molecularParam\"),te=i.getNodes(),de=te.length,Pe=n?{x:n.x,y:n.y}:{x:e.x,y:e.y};!this.get(\"dragging\")||this.get(\"trigger\")!==\"mousemove\"&&this.get(\"trigger\")!==\"click\"||(Pe=this.get(\"cacheCenter\"));var Ge=this.get(\"delegateCenterDiff\");Ge&&(Pe.x+=Ge.x,Pe.y+=Ge.y),this.updateDelegate(Pe,I);for(var Qe=0;Qe<de;Qe++){var Xe=te[Qe].getModel(),yt=Xe.x,Ct=Xe.y;if(!isNaN(yt)&&!isNaN(Ct)){var on=(yt-Pe.x)*(yt-Pe.x)+(Ct-Pe.y)*(Ct-Pe.y);if(!isNaN(on)&&on<D&&on!==0){var sn=Math.sqrt(on),Nn=Z*sn/(H*sn+I),Tn=(yt-Pe.x)/sn,Bn=(Ct-Pe.y)/sn;if(Xe.x=Tn*Nn+Pe.x,Xe.y=Bn*Nn+Pe.y,g[Xe.id]||(g[Xe.id]={x:yt,y:Ct,texts:[]}),d.push(Xe),_&&2*sn<I)for(var Hn=te[Qe].getContainer().getChildren(),Sr=Hn.length,Cr=0;Cr<Sr;Cr++){var po=Hn[Cr];po.get(\"type\")===\"text\"&&(g[Xe.id].texts.push({visible:po.get(\"visible\"),shape:po}),po.set(\"visible\",!0))}}}}i.refreshPositions()},t.prototype.restoreCache=function(){for(var e=this.get(\"cachedMagnifiedModels\"),n=this.get(\"cachedOriginPositions\"),i=e.length,d=0;d<i;d++){var g=e[d],_=n[g.id];g.x=_.x,g.y=_.y;for(var I=_.texts.length,D=0;D<I;D++){var H=_.texts[D];H.shape.set(\"visible\",H.visible)}}this.set(\"cachedMagnifiedModels\",[]),this.set(\"cachedOriginPositions\",{})},t.prototype.updateParams=function(e){var n=e.r,i=e.d,d=e.trigger,g=e.minD,_=e.maxD,I=e.minR,D=e.maxR,H=e.scaleDBy,Z=e.scaleRBy;isNaN(e.r)||(this.set(\"r\",n),this.set(\"r2\",n*n)),isNaN(i)||this.set(\"d\",i),isNaN(_)||this.set(\"maxD\",_),isNaN(g)||this.set(\"minD\",g),isNaN(D)||this.set(\"maxR\",D),isNaN(I)||this.set(\"minR\",I);var te,de=this.get(\"d\"),Pe=this.get(\"r\");this.set(\"molecularParam\",(de+1)*Pe),d!==\"mousemove\"&&d!==\"click\"&&d!==\"drag\"||this.set(\"trigger\",d),(H===\"drag\"||H===\"wheel\"||H===\"unset\")&&(this.set(\"scaleDBy\",H),this.get(\"delegate\").remove(),this.get(\"delegate\").destroy(),(te=this.get(\"dPercentText\"))&&(te.remove(),te.destroy())),Z!==\"drag\"&&Z!==\"wheel\"&&Z!==\"unset\"||(this.set(\"scaleRBy\",Z),this.get(\"delegate\").remove(),this.get(\"delegate\").destroy(),(te=this.get(\"dPercentText\"))&&(te.remove(),te.destroy()))},t.prototype.updateDelegate=function(e,n){var i=this,d=this,g=d.get(\"graph\"),_=d.get(\"delegate\");if(!_||_.destroyed){var I=g.get(\"group\"),D=d.get(\"delegateStyle\")||oc;_=I.addShape(\"circle\",{attrs:Yu({r:n/1.5,x:e.x,y:e.y},D),name:\"lens-shape\",draggable:!0}),this.get(\"trigger\")!==\"drag\"&&(this.get(\"scaleRBy\")===\"wheel\"?_.on(\"mousewheel\",function(de){d.scaleRByWheel(de)}):this.get(\"scaleRBy\")===\"drag\"&&(_.on(\"dragstart\",function(de){d.set(\"dragging\",!0),d.set(\"cacheCenter\",{x:de.x,y:de.y}),d.set(\"dragPrePos\",{x:de.x,y:de.y})}),_.on(\"drag\",function(de){d.scaleRByDrag(de)}),_.on(\"dragend\",function(de){d.set(\"dragging\",!1)})),this.get(\"scaleDBy\")===\"wheel\"?_.on(\"mousewheel\",function(de){i.scaleDByWheel(de)}):this.get(\"scaleDBy\")===\"drag\"&&(_.on(\"dragstart\",function(de){d.set(\"dragging\",!0),d.set(\"cacheCenter\",{x:de.x,y:de.y}),d.set(\"dragPrePos\",{x:de.x,y:de.y})}),_.on(\"drag\",function(de){i.scaleDByDrag(de)}),_.on(\"dragend\",function(de){d.set(\"dragging\",!1)})))}else _.attr({x:e.x,y:e.y,r:n/1.5});if(d.get(\"showDPercent\")){var H=Math.round((d.get(\"d\")-d.get(\"minD\"))/(d.get(\"maxD\")-d.get(\"minD\"))*100),Z=d.get(\"dPercentText\"),te=e.y+n/1.5+16;!Z||Z.destroyed?(Z=g.get(\"group\").addShape(\"text\",{attrs:{text:\"\".concat(H,\"%\"),x:e.x,y:te,fill:\"#aaa\",stroke:\"#fff\",lineWidth:1,fontSize:12}}),d.set(\"dPercentText\",Z)):Z.attr({text:\"\".concat(H,\"%\"),x:e.x,y:te})}d.set(\"delegate\",_)},t.prototype.clear=function(){var e=this.get(\"graph\");this.restoreCache(),e.refreshPositions();var n=this.get(\"delegate\");n&&!n.destroyed&&(n.remove(),n.destroy());var i=this.get(\"dPercentText\");i&&!i.destroyed&&(i.remove(),i.destroy())},t.prototype.destroy=function(){this.clear()},t}(gs),le=function(){var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(n[d]=i[d])})(t,e)};return function(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Class extends value \"+String(e)+\" is not a constructor or null\");function n(){this.constructor=t}o(t,e),t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();typeof document!=\"undefined\"&&pu()(`\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 Be=function(o){function t(e){return o.call(this,e)||this}return le(t,o),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,n=this.get(\"graph\"),i=this.get(\"getContent\")(n),d=i;Object(s.isString)(i)&&(d=_i(i));var g=this.get(\"className\");d.setAttribute(\"class\",g||\"g6-component-toolbar\");var _=this.get(\"container\");_||(_=this.get(\"graph\").get(\"container\")),Object(s.isString)(_)&&(_=document.getElementById(_)),_.appendChild(d),this.set(\"toolBar\",d);var I=this.get(\"handleClick\");d.addEventListener(\"click\",function(H){var Z=function(de){if(!de)return[];if(de.composedPath)return de.composedPath();for(var Pe=[],Ge=de.target;Ge;){if(Pe.push(Ge),Ge.tagName===\"HTML\")return Pe.push(document,window),Pe;Ge=Ge.parentElement}return Pe}(H).filter(function(de){return de.nodeName===\"LI\"});if(Z.length!==0){var te=Z[0].getAttribute(\"code\");te&&(I?I(te,n):e.handleDefaultOperator(te))}});var D=this.get(\"position\");D&&gi(d,{top:\"\".concat(D.y,\"px\"),left:\"\".concat(D.x,\"px\")}),this.bindUndoRedo()},t.prototype.bindUndoRedo=function(){var e=this.get(\"graph\"),n=document.querySelector('.g6-component-toolbar li[code=\"undo\"]'),i=document.querySelector('.g6-component-toolbar li[code=\"undo\"] svg'),d=document.querySelector('.g6-component-toolbar li[code=\"redo\"]'),g=document.querySelector('.g6-component-toolbar li[code=\"redo\"] svg');n&&i&&d&&g&&(n.setAttribute(\"style\",\"cursor: not-allowed\"),i.setAttribute(\"style\",\"opacity: 0.4\"),d.setAttribute(\"style\",\"cursor: not-allowed\"),g.setAttribute(\"style\",\"opacity: 0.4\"),e.on(\"stackchange\",function(_){var I=_.undoStack,D=_.redoStack,H=I.length,Z=D.length;H===0?(n.setAttribute(\"style\",\"cursor: not-allowed\"),i.setAttribute(\"style\",\"opacity: 0.4\")):(n.removeAttribute(\"style\"),i.removeAttribute(\"style\")),Z===0?(d.setAttribute(\"style\",\"cursor: not-allowed\"),g.setAttribute(\"style\",\"opacity: 0.4\")):(d.removeAttribute(\"style\"),g.removeAttribute(\"style\"))}))},t.prototype.undo=function(){var e=this.get(\"graph\"),n=e.getUndoStack();if(n&&n.length!==0){var i=n.pop();if(i){var d=i.action;e.pushStack(d,Object(s.clone)(i.data),\"redo\");var g=i.data.before;if(d===\"add\"&&(g=i.data.after),!g)return;switch(d){case\"visible\":Object.keys(g).forEach(function(Z){var te=g[Z];te&&te.forEach(function(de){var Pe=e.findById(de.id);de.visible?e.showItem(Pe,!1):e.hideItem(Pe,!1)})});break;case\"render\":case\"update\":Object.keys(g).forEach(function(Z){var te=g[Z];te&&te.forEach(function(de){var Pe=e.findById(de.id);delete de.id,e.updateItem(Pe,de,!1),Pe.getType()===\"combo\"&&e.updateCombo(Pe)})});break;case\"changedata\":e.changeData(g,!1);break;case\"delete\":Object.keys(g).forEach(function(Z){var te=g[Z];te&&te.forEach(function(de){var Pe=de.itemType;delete de.itemType,e.addItem(Pe,de,!1)})});break;case\"add\":Object.keys(g).forEach(function(Z){var te=g[Z];te&&te.forEach(function(de){e.removeItem(de.id,!1)})});break;case\"updateComboTree\":Object.keys(g).forEach(function(Z){var te=g[Z];te&&te.forEach(function(de){e.updateComboTree(de.id,de.parentId,!1)})});break;case\"createCombo\":var _=i.data.after.combos,I=_[_.length-1];Object.keys(g).forEach(function(Z){var te=g[Z];te&&te.forEach(function(de){e.updateComboTree(de.id,de.parentId,!1)})}),e.removeItem(I.id,!1);break;case\"uncombo\":var D=g.combos[g.combos.length-1],H=g.nodes.concat(g.combos).map(function(Z){return Z.id}).filter(function(Z){return Z!==D.id});e.createCombo(D,H,!1);break;case\"layout\":e.updateLayout(g,void 0,void 0,!1)}}}},t.prototype.redo=function(){var e=this.get(\"graph\"),n=e.getRedoStack();if(n&&n.length!==0){var i=n.pop();if(i){var d=i.action,g=i.data.after;if(e.pushStack(d,Object(s.clone)(i.data)),d===\"delete\"&&(g=i.data.before),!g)return;switch(d){case\"visible\":Object.keys(g).forEach(function(H){var Z=g[H];Z&&Z.forEach(function(te){var de=e.findById(te.id);te.visible?e.showItem(de,!1):e.hideItem(de,!1)})});break;case\"render\":case\"update\":Object.keys(g).forEach(function(H){var Z=g[H];Z&&Z.forEach(function(te){var de=e.findById(te.id);delete te.id,e.updateItem(de,te,!1),de.getType()===\"combo\"&&e.updateCombo(de)})});break;case\"changedata\":e.changeData(g,!1);break;case\"delete\":g.edges&&g.edges.forEach(function(H){e.removeItem(H.id,!1)}),g.nodes&&g.nodes.forEach(function(H){e.removeItem(H.id,!1)}),g.combos&&g.combos.forEach(function(H){e.removeItem(H.id,!1)});break;case\"add\":Object.keys(g).forEach(function(H){var Z=g[H];Z&&Z.forEach(function(te){var de=te.itemType;delete te.itemType,e.addItem(de,te,!1)})});break;case\"updateComboTree\":Object.keys(g).forEach(function(H){var Z=g[H];Z&&Z.forEach(function(te){e.updateComboTree(te.id,te.parentId,!1)})});break;case\"createCombo\":var _=g.combos[g.combos.length-1];e.createCombo(_,_.children.map(function(H){return H.id}),!1);break;case\"uncombo\":var I=i.data.before.combos,D=I[I.length-1];e.uncombo(D.id,!1);break;case\"layout\":e.updateLayout(g,void 0,void 0,!1)}}}},t.prototype.zoomOut=function(){var e=this.get(\"graph\"),n=e.getZoom(),i=1/(1-.05*this.get(\"zoomSensitivity\"));i*n>(this.get(\"maxZoom\")||e.get(\"maxZoom\"))||e.zoomTo(n*i)},t.prototype.zoomIn=function(){var e=this.get(\"graph\"),n=e.getZoom(),i=1-.05*this.get(\"zoomSensitivity\");i*n<(this.get(\"minZoom\")||e.get(\"minZoom\"))||e.zoomTo(n*i)},t.prototype.realZoom=function(){this.get(\"graph\").zoomTo(1)},t.prototype.autoZoom=function(){this.get(\"graph\").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()}},t.prototype.destroy=function(){var e=this.get(\"toolBar\");if(e){var n=this.get(\"container\");n||(n=this.get(\"graph\").get(\"container\")),Object(s.isString)(n)&&(n=document.getElementById(n)),n.removeChild(e)}var i=this.get(\"handleClick\");i&&e.removeEventListener(\"click\",i)},t}(gs),st=function(){var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(n[d]=i[d])})(t,e)};return function(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Class extends value \"+String(e)+\" is not a constructor or null\");function n(){this.constructor=t}o(t,e),t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();typeof document!=\"undefined\"&&pu()(`\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 it=function(o){function t(e){return o.call(this,e)||this}return st(t,o),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 this.get(\"trigger\")===\"click\"?{\"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,n=e.get(\"className\")||\"g6-component-tooltip\",i=_i(\"<div class='\".concat(n,\"'></div>\")),d=e.get(\"container\");d||(d=e.get(\"graph\").get(\"container\")),Object(s.isString)(d)&&(d=document.getElementById(d)),gi(i,{position:\"absolute\",visibility:\"hidden\",display:\"none\"}),d.appendChild(i),e.get(\"trigger\")!==\"click\"&&(i.addEventListener(\"mouseenter\",function(g){gi(i,{visibility:\"visible\",display:\"unset\"})}),i.addEventListener(\"mouseleave\",function(g){e.hideTooltip()})),e.set(\"tooltip\",i)},t.prototype.onClick=function(e){var n=this.get(\"itemTypes\");if(!e.item||!e.item.getType||n.indexOf(e.item.getType())!==-1){var i=e.item,d=this.get(\"graph\");this.currentTarget===i?(this.currentTarget=null,this.hideTooltip(),d.emit(\"tooltipchange\",{item:e.item,action:\"hide\"})):(this.currentTarget=i,this.showTooltip(e),d.emit(\"tooltipchange\",{item:e.item,action:\"show\"}))}},t.prototype.onMouseEnter=function(e){var n=this.get(\"itemTypes\");if(!e.item||!e.item.getType||n.indexOf(e.item.getType())!==-1){var i=e.item,d=this.get(\"graph\");this.currentTarget=i,this.showTooltip(e),d.emit(\"tooltipchange\",{item:e.item,action:\"show\"})}},t.prototype.onMouseMove=function(e){var n=this.get(\"itemTypes\");e.item&&e.item.getType&&n.indexOf(e.item.getType())===-1||this.currentTarget&&e.item===this.currentTarget&&this.showTooltip(e)},t.prototype.onMouseLeave=function(){this.hideTooltip(),this.get(\"graph\").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 n=this.get(\"itemTypes\");if(!e.item.getType||n.indexOf(e.item.getType())!==-1){var i=this.get(\"tooltip\"),d=this.get(\"getContent\")(e);Object(s.isString)(d)?i.innerHTML=d:(this.clearContainer(),i.appendChild(d)),this.updatePosition(e)}}},t.prototype.hideTooltip=function(){var e=this.get(\"tooltip\");e&&gi(e,{visibility:\"hidden\",display:\"none\"})},t.prototype.updatePosition=function(e){var n=this.get(\"shouldBegin\"),i=this.get(\"tooltip\");if(n(e)){var d=this.get(\"graph\"),g=d.get(\"width\"),_=d.get(\"height\"),I=this.get(\"offsetX\")||0,D=this.get(\"offsetY\")||0,H=d.getPointByClient(e.clientX,e.clientY),Z=this.get(\"fixToNode\"),te=e.item;if(te.getType&&te.getType()===\"node\"&&Z&&Object(s.isArray)(Z)&&Z.length>=2){var de=te.getBBox();H={x:de.minX+de.width*Z[0],y:de.minY+de.height*Z[1]}}var Pe=d.getCanvasByPoint(H.x,H.y),Ge=Pe.x,Qe=Pe.y,Xe=d.getContainer(),yt={x:Ge+Xe.offsetLeft+I,y:Qe+Xe.offsetTop+D};gi(i,{visibility:\"visible\",display:\"unset\"});var Ct=i.getBoundingClientRect();Ge+Ct.width+I>g&&(yt.x-=Ct.width+I),Qe+Ct.height+D>_&&(yt.y-=Ct.height+D),gi(i,{left:\"\".concat(yt.x,\"px\"),top:\"\".concat(yt.y,\"px\")})}else gi(i,{visibility:\"hidden\",display:\"none\"})},t.prototype.hide=function(){this.onMouseLeave()},t.prototype.destroy=function(){var e=this.get(\"tooltip\");if(e){var n=this.get(\"container\");n||(n=this.get(\"graph\").get(\"container\")),Object(s.isString)(n)&&(n=document.getElementById(n)),n.removeChild(e)}},t}(gs),Qt={};function qn(o,t){Qt[o]=t}var Tr=function(){function o(t){this.type=\"base\",this.isCategory=!1,this.isLinear=!1,this.isContinuous=!1,this.isIdentity=!1,this.values=[],this.range=[0,1],this.ticks=[],this.__cfg__=t,this.initCfg(),this.init()}return o.prototype.translate=function(t){return t},o.prototype.change=function(t){Object(s.assign)(this.__cfg__,t),this.init()},o.prototype.clone=function(){return this.constructor(this.__cfg__)},o.prototype.getTicks=function(){var t=this;return Object(s.map)(this.ticks,function(e,n){return Object(s.isObject)(e)?e:{text:t.getText(e,n),tickValue:e,value:t.scale(e)}})},o.prototype.getText=function(t,e){var n=this.formatter,i=n?n(t,e):t;return Object(s.isNil)(i)||!Object(s.isFunction)(i.toString)?\"\":i.toString()},o.prototype.getConfig=function(t){return this.__cfg__[t]},o.prototype.init=function(){Object(s.assign)(this,this.__cfg__),this.setDomain(),Object(s.isEmpty)(this.getConfig(\"ticks\"))&&(this.ticks=this.calculateTicks())},o.prototype.initCfg=function(){},o.prototype.setDomain=function(){},o.prototype.calculateTicks=function(){var t=this.tickMethod,e=[];if(Object(s.isString)(t)){var n=Qt[t];if(!n)throw new Error(\"There is no method to to calculate ticks!\");e=n(this)}else Object(s.isFunction)(t)&&(e=t(this));return e},o.prototype.rangeMin=function(){return this.range[0]},o.prototype.rangeMax=function(){return this.range[1]},o.prototype.calcPercent=function(t,e,n){return Object(s.isNumber)(t)?(t-e)/(n-e):NaN},o.prototype.calcValue=function(t,e,n){return e+t*(n-e)},o}(),bo=function(o){function t(){var e=o!==null&&o.apply(this,arguments)||this;return e.type=\"cat\",e.isCategory=!0,e}return Object(l.__extends)(t,o),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 n=this.translateIndexMap.get(e);return n===void 0&&(n=Object(s.isNumber)(e)?e:NaN),n},t.prototype.scale=function(e){var n=this.translate(e),i=this.calcPercent(n,this.min,this.max);return this.calcValue(i,this.rangeMin(),this.rangeMax())},t.prototype.invert=function(e){var n=this.max-this.min,i=this.calcPercent(e,this.rangeMin(),this.rangeMax()),d=Math.round(n*i)+this.min;return d<this.min||d>this.max?NaN:this.values[d]},t.prototype.getText=function(e){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var d=e;return Object(s.isNumber)(e)&&!this.values.includes(e)&&(d=this.values[d]),o.prototype.getText.apply(this,Object(l.__spreadArrays)([d],n))},t.prototype.initCfg=function(){this.tickMethod=\"cat\"},t.prototype.setDomain=function(){if(Object(s.isNil)(this.getConfig(\"min\"))&&(this.min=0),Object(s.isNil)(this.getConfig(\"max\"))){var e=this.values.length;this.max=e>1?e-1:e}this.translateIndexMap&&(this.translateIndexMap=void 0)},t}(Tr),Ko=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\\1?|[aA]|\"[^\"]*\"|'[^']*'/g,Mi=\"[^\\\\s]+\",Hi=/\\[([^]*?)\\]/gm;function ja(o,t){for(var e=[],n=0,i=o.length;n<i;n++)e.push(o[n].substr(0,t));return e}var ms=function(o){return function(t,e){var n=e[o].map(function(i){return i.toLowerCase()}).indexOf(t.toLowerCase());return n>-1?n:null}};function Ps(o){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];for(var n=0,i=t;n<i.length;n++){var d=i[n];for(var g in d)o[g]=d[g]}return o}var fu=[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],qs=[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],Ya=ja(qs,3),Nu={dayNamesShort:ja(fu,3),dayNames:fu,monthNamesShort:Ya,monthNames:qs,amPm:[\"am\",\"pm\"],DoFn:function(o){return o+[\"th\",\"st\",\"nd\",\"rd\"][o%10>3?0:(o-o%10!=10?1:0)*o%10]}},ru=Ps({},Nu),mu=function(o){return ru=Ps(ru,o)},Zs=function(o){return o.replace(/[|\\\\{()[^$+*?.-]/g,\"\\\\$&\")},cs=function(o,t){for(t===void 0&&(t=2),o=String(o);o.length<t;)o=\"0\"+o;return o},Xs={D:function(o){return String(o.getDate())},DD:function(o){return cs(o.getDate())},Do:function(o,t){return t.DoFn(o.getDate())},d:function(o){return String(o.getDay())},dd:function(o){return cs(o.getDay())},ddd:function(o,t){return t.dayNamesShort[o.getDay()]},dddd:function(o,t){return t.dayNames[o.getDay()]},M:function(o){return String(o.getMonth()+1)},MM:function(o){return cs(o.getMonth()+1)},MMM:function(o,t){return t.monthNamesShort[o.getMonth()]},MMMM:function(o,t){return t.monthNames[o.getMonth()]},YY:function(o){return cs(String(o.getFullYear()),4).substr(2)},YYYY:function(o){return cs(o.getFullYear(),4)},h:function(o){return String(o.getHours()%12||12)},hh:function(o){return cs(o.getHours()%12||12)},H:function(o){return String(o.getHours())},HH:function(o){return cs(o.getHours())},m:function(o){return String(o.getMinutes())},mm:function(o){return cs(o.getMinutes())},s:function(o){return String(o.getSeconds())},ss:function(o){return cs(o.getSeconds())},S:function(o){return String(Math.round(o.getMilliseconds()/100))},SS:function(o){return cs(Math.round(o.getMilliseconds()/10),2)},SSS:function(o){return cs(o.getMilliseconds(),3)},a:function(o,t){return o.getHours()<12?t.amPm[0]:t.amPm[1]},A:function(o,t){return o.getHours()<12?t.amPm[0].toUpperCase():t.amPm[1].toUpperCase()},ZZ:function(o){var t=o.getTimezoneOffset();return(t>0?\"-\":\"+\")+cs(100*Math.floor(Math.abs(t)/60)+Math.abs(t)%60,4)},Z:function(o){var t=o.getTimezoneOffset();return(t>0?\"-\":\"+\")+cs(Math.floor(Math.abs(t)/60),2)+\":\"+cs(Math.abs(t)%60,2)}},yu=function(o){return+o-1},bu=[null,\"\\\\d\\\\d?\"],Ku=[null,Mi],Qc=[\"isPm\",Mi,function(o,t){var e=o.toLowerCase();return e===t.amPm[0]?0:e===t.amPm[1]?1:null}],_l=[\"timezoneOffset\",\"[^\\\\s]*?[\\\\+\\\\-]\\\\d\\\\d:?\\\\d\\\\d|[^\\\\s]*?Z?\",function(o){var t=(o+\"\").match(/([+-]|\\d\\d)/gi);if(t){var e=60*+t[1]+parseInt(t[2],10);return t[0]===\"+\"?e:-e}return 0}],Nc={D:[\"day\",\"\\\\d\\\\d?\"],DD:[\"day\",\"\\\\d\\\\d\"],Do:[\"day\",\"\\\\d\\\\d?\"+Mi,function(o){return parseInt(o,10)}],M:[\"month\",\"\\\\d\\\\d?\",yu],MM:[\"month\",\"\\\\d\\\\d\",yu],YY:[\"year\",\"\\\\d\\\\d\",function(o){var t=+(\"\"+new Date().getFullYear()).substr(0,2);return+(\"\"+(+o>68?t-1:t)+o)}],h:[\"hour\",\"\\\\d\\\\d?\",void 0,\"isPm\"],hh:[\"hour\",\"\\\\d\\\\d\",void 0,\"isPm\"],H:[\"hour\",\"\\\\d\\\\d?\"],HH:[\"hour\",\"\\\\d\\\\d\"],m:[\"minute\",\"\\\\d\\\\d?\"],mm:[\"minute\",\"\\\\d\\\\d\"],s:[\"second\",\"\\\\d\\\\d?\"],ss:[\"second\",\"\\\\d\\\\d\"],YYYY:[\"year\",\"\\\\d{4}\"],S:[\"millisecond\",\"\\\\d\",function(o){return 100*+o}],SS:[\"millisecond\",\"\\\\d\\\\d\",function(o){return 10*+o}],SSS:[\"millisecond\",\"\\\\d{3}\"],d:bu,dd:bu,ddd:Ku,dddd:Ku,MMM:[\"month\",Mi,ms(\"monthNamesShort\")],MMMM:[\"month\",Mi,ms(\"monthNames\")],a:Qc,A:Qc,ZZ:_l,Z:_l},ju={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\"},Wu=function(o){return Ps(ju,o)},dl=function(o,t,e){if(t===void 0&&(t=ju.default),e===void 0&&(e={}),typeof o==\"number\"&&(o=new Date(o)),Object.prototype.toString.call(o)!==\"[object Date]\"||isNaN(o.getTime()))throw new Error(\"Invalid Date pass to format\");var n=[];t=(t=ju[t]||t).replace(Hi,function(d,g){return n.push(g),\"@@@\"});var i=Ps(Ps({},ru),e);return(t=t.replace(Ko,function(d){return Xs[d](o,i)})).replace(/@@@/g,function(){return n.shift()})};function Du(o,t,e){if(e===void 0&&(e={}),typeof t!=\"string\")throw new Error(\"Invalid format in fecha parse\");if(t=ju[t]||t,o.length>1e3)return null;var n={year:new Date().getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},i=[],d=[],g=t.replace(Hi,function(Ct,on){return d.push(Zs(on)),\"@@@\"}),_={},I={};g=Zs(g).replace(Ko,function(Ct){var on=Nc[Ct],sn=on[0],Nn=on[1],Tn=on[3];if(_[sn])throw new Error(\"Invalid format. \"+sn+\" specified twice in format\");return _[sn]=!0,Tn&&(I[Tn]=!0),i.push(on),\"(\"+Nn+\")\"}),Object.keys(I).forEach(function(Ct){if(!_[Ct])throw new Error(\"Invalid format. \"+Ct+\" is required in specified format\")}),g=g.replace(/@@@/g,function(){return d.shift()});var D=o.match(new RegExp(g,\"i\"));if(!D)return null;for(var H,Z=Ps(Ps({},ru),e),te=1;te<D.length;te++){var de=i[te-1],Pe=de[0],Ge=de[2],Qe=Ge?Ge(D[te],Z):+D[te];if(Qe==null)return null;n[Pe]=Qe}if(n.isPm===1&&n.hour!=null&&+n.hour!=12?n.hour=+n.hour+12:n.isPm===0&&+n.hour==12&&(n.hour=0),n.timezoneOffset==null){H=new Date(n.year,n.month,n.day,n.hour,n.minute,n.second,n.millisecond);for(var Xe=[[\"month\",\"getMonth\"],[\"day\",\"getDate\"],[\"hour\",\"getHours\"],[\"minute\",\"getMinutes\"],[\"second\",\"getSeconds\"]],yt=(te=0,Xe.length);te<yt;te++)if(_[Xe[te][0]]&&n[Xe[te][0]]!==H[Xe[te][1]]())return null}else if(H=new Date(Date.UTC(n.year,n.month,n.day,n.hour,n.minute-n.timezoneOffset,n.second,n.millisecond)),n.month>11||n.month<0||n.day>31||n.day<1||n.hour>23||n.hour<0||n.minute>59||n.minute<0||n.second>59||n.second<0)return null;return H}var hl={format:dl,parse:Du,defaultI18n:Nu,setGlobalDateI18n:mu,setGlobalDateMasks:Wu};function jc(o,t){return(h.format||hl.format)(o,t)}function js(o){return Object(s.isString)(o)&&(o=o.indexOf(\"T\")>0?new Date(o).getTime():new Date(o.replace(/-/gi,\"/\")).getTime()),Object(s.isDate)(o)&&(o=o.getTime()),o}var xu=36e5,wu=24*xu,Ys=31*wu,Uu=[[\"HH:mm:ss\",1e3],[\"HH:mm:ss\",1e4],[\"HH:mm:ss\",3e4],[\"HH:mm\",6e4],[\"HH:mm\",6e5],[\"HH:mm\",18e5],[\"HH\",xu],[\"HH\",6*xu],[\"HH\",12*xu],[\"YYYY-MM-DD\",wu],[\"YYYY-MM-DD\",4*wu],[\"YYYY-WW\",7*wu],[\"YYYY-MM\",Ys],[\"YYYY-MM\",4*Ys],[\"YYYY-MM\",6*Ys],[\"YYYY\",380*wu]];function Dc(o,t,e){var n,i=(n=function(g){return g[1]},function(g,_,I,D){for(var H=Object(s.isNil)(I)?0:I,Z=Object(s.isNil)(D)?g.length:D;H<Z;){var te=H+Z>>>1;n(g[te])>_?Z=te:H=te+1}return H})(Uu,(t-o)/e)-1,d=Uu[i];return i<0?d=Uu[0]:i>=Uu.length&&(d=Object(s.last)(Uu)),d}var ic=function(o){function t(){var e=o!==null&&o.apply(this,arguments)||this;return e.type=\"timeCat\",e}return Object(l.__extends)(t,o),t.prototype.translate=function(e){e=js(e);var n=this.values.indexOf(e);return n===-1&&(n=Object(s.isNumber)(e)&&e<this.values.length?e:NaN),n},t.prototype.getText=function(e,n){var i=this.translate(e);if(i>-1){var d=this.values[i],g=this.formatter;return d=g?g(d,n):jc(d,this.mask)}return e},t.prototype.initCfg=function(){this.tickMethod=\"time-cat\",this.mask=\"YYYY-MM-DD\",this.tickCount=7},t.prototype.setDomain=function(){var e=this.values;Object(s.each)(e,function(n,i){e[i]=js(n)}),e.sort(function(n,i){return n-i}),o.prototype.setDomain.call(this)},t}(bo),Rc=function(o){function t(){var e=o!==null&&o.apply(this,arguments)||this;return e.isContinuous=!0,e}return Object(l.__extends)(t,o),t.prototype.scale=function(e){if(Object(s.isNil)(e))return NaN;var n=this.rangeMin(),i=this.rangeMax();return this.max===this.min?n:n+this.getScalePercent(e)*(i-n)},t.prototype.init=function(){o.prototype.init.call(this);var e=this.ticks,n=Object(s.head)(e),i=Object(s.last)(e);n<this.min&&(this.min=n),i>this.max&&(this.max=i),Object(s.isNil)(this.minLimit)||(this.min=n),Object(s.isNil)(this.maxLimit)||(this.max=i)},t.prototype.setDomain=function(){var e=Object(s.getRange)(this.values),n=e.min,i=e.max;Object(s.isNil)(this.min)&&(this.min=n),Object(s.isNil)(this.max)&&(this.max=i),this.min>this.max&&(this.min=n,this.max=i)},t.prototype.calculateTicks=function(){var e=this,n=o.prototype.calculateTicks.call(this);return this.nice||(n=Object(s.filter)(n,function(i){return i>=e.min&&i<=e.max})),n},t.prototype.getScalePercent=function(e){var n=this.max,i=this.min;return(e-i)/(n-i)},t.prototype.getInvertPercent=function(e){return(e-this.rangeMin())/(this.rangeMax()-this.rangeMin())},t}(Tr),is=function(o){function t(){var e=o!==null&&o.apply(this,arguments)||this;return e.type=\"linear\",e.isLinear=!0,e}return Object(l.__extends)(t,o),t.prototype.invert=function(e){var n=this.getInvertPercent(e);return this.min+n*(this.max-this.min)},t.prototype.initCfg=function(){this.tickMethod=\"wilkinson-extended\",this.nice=!1},t}(Rc);function Tu(o,t){var e=Math.E;return t>=0?Math.pow(e,Math.log(t)/o):-1*Math.pow(e,Math.log(-t)/o)}function Pu(o,t){return o===1?1:Math.log(t)/Math.log(o)}function Jc(o,t,e){Object(s.isNil)(e)&&(e=Math.max.apply(null,o));var n=e;return Object(s.each)(o,function(i){i>0&&i<n&&(n=i)}),n===e&&(n=e/t),n>1&&(n=1),n}var Gl=function(o){function t(){var e=o!==null&&o.apply(this,arguments)||this;return e.type=\"log\",e}return Object(l.__extends)(t,o),t.prototype.invert=function(e){var n,i=this.base,d=Pu(i,this.max),g=this.rangeMin(),_=this.rangeMax()-g,I=this.positiveMin;if(I){if(e===0)return 0;var D=1/(d-(n=Pu(i,I/i)))*_;if(e<D)return e/D*I}else n=Pu(i,this.min);var H=(e-g)/_*(d-n)+n;return Math.pow(i,H)},t.prototype.initCfg=function(){this.tickMethod=\"log\",this.base=10,this.tickCount=6,this.nice=!0},t.prototype.setDomain=function(){o.prototype.setDomain.call(this);var e=this.min;if(e<0)throw new Error(\"When you use log scale, the minimum value must be greater than zero!\");e===0&&(this.positiveMin=Jc(this.values,this.base,this.max))},t.prototype.getScalePercent=function(e){var n=this.max,i=this.min;if(n===i||e<=0)return 0;var d=this.base,g=this.positiveMin;return g&&(i=1*g/d),e<g?e/g/(Pu(d,n)-Pu(d,i)):(Pu(d,e)-Pu(d,i))/(Pu(d,n)-Pu(d,i))},t}(Rc),ac=function(o){function t(){var e=o!==null&&o.apply(this,arguments)||this;return e.type=\"pow\",e}return Object(l.__extends)(t,o),t.prototype.invert=function(e){var n=this.getInvertPercent(e),i=this.exponent,d=Tu(i,this.max),g=Tu(i,this.min),_=n*(d-g)+g,I=_>=0?1:-1;return Math.pow(_,i)*I},t.prototype.initCfg=function(){this.tickMethod=\"pow\",this.exponent=2,this.tickCount=5,this.nice=!0},t.prototype.getScalePercent=function(e){var n=this.max,i=this.min;if(n===i)return 0;var d=this.exponent;return(Tu(d,e)-Tu(d,i))/(Tu(d,n)-Tu(d,i))},t}(Rc),el=function(o){function t(){var e=o!==null&&o.apply(this,arguments)||this;return e.type=\"time\",e}return Object(l.__extends)(t,o),t.prototype.getText=function(e,n){var i=this.translate(e),d=this.formatter;return d?d(i,n):jc(i,this.mask)},t.prototype.scale=function(e){var n=e;return(Object(s.isString)(n)||Object(s.isDate)(n))&&(n=this.translate(n)),o.prototype.scale.call(this,n)},t.prototype.translate=function(e){return js(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,n=this.getConfig(\"min\"),i=this.getConfig(\"max\");if(Object(s.isNil)(n)&&Object(s.isNumber)(n)||(this.min=this.translate(this.min)),Object(s.isNil)(i)&&Object(s.isNumber)(i)||(this.max=this.translate(this.max)),e&&e.length){var d=[],g=1/0,_=g,I=0;Object(s.each)(e,function(D){var H=js(D);if(isNaN(H))throw new TypeError(\"Invalid Time: \"+D+\" in time scale!\");g>H?(_=g,g=H):_>H&&(_=H),I<H&&(I=H),d.push(H)}),e.length>1&&(this.minTickInterval=_-g),Object(s.isNil)(n)&&(this.min=g),Object(s.isNil)(i)&&(this.max=I)}},t}(is),sc=function(o){function t(){var e=o!==null&&o.apply(this,arguments)||this;return e.type=\"quantize\",e}return Object(l.__extends)(t,o),t.prototype.invert=function(e){var n=this.ticks,i=n.length,d=this.getInvertPercent(e),g=Math.floor(d*(i-1));if(g>=i-1)return Object(s.last)(n);if(g<0)return Object(s.head)(n);var _=n[g],I=g/(i-1);return _+(d-I)/((g+1)/(i-1)-I)*(n[g+1]-_)},t.prototype.initCfg=function(){this.tickMethod=\"r-pretty\",this.tickCount=5,this.nice=!0},t.prototype.calculateTicks=function(){var e=o.prototype.calculateTicks.call(this);return this.nice||(Object(s.last)(e)!==this.max&&e.push(this.max),Object(s.head)(e)!==this.min&&e.unshift(this.min)),e},t.prototype.getScalePercent=function(e){var n=this.ticks;if(e<Object(s.head)(n))return 0;if(e>Object(s.last)(n))return 1;var i=0;return Object(s.each)(n,function(d,g){if(!(e>=d))return!1;i=g}),i/(n.length-1)},t}(Rc),tl=function(o){function t(){var e=o!==null&&o.apply(this,arguments)||this;return e.type=\"quantile\",e}return Object(l.__extends)(t,o),t.prototype.initCfg=function(){this.tickMethod=\"quantile\",this.tickCount=5,this.nice=!0},t}(sc),nl={};function Vu(o,t){if(function(e){return nl[e]}(o))throw new Error(\"type '\"+o+\"' existed.\");nl[o]=t}var Lc=function(o){function t(){var e=o!==null&&o.apply(this,arguments)||this;return e.type=\"identity\",e.isIdentity=!0,e}return Object(l.__extends)(t,o),t.prototype.calculateTicks=function(){return this.values},t.prototype.scale=function(e){return this.values[0]!==e&&Object(s.isNumber)(e)?e:this.range[0]},t.prototype.invert=function(e){var n=this.range;return e<n[0]||e>n[1]?NaN:this.values[0]},t}(Tr);function Wl(o){var t=o.values,e=o.tickInterval,n=o.tickCount,i=o.showLast;if(Object(s.isNumber)(e)){var d=Object(s.filter)(t,function(Pe,Ge){return Ge%e==0}),g=Object(s.last)(t);return i&&Object(s.last)(d)!==g&&d.push(g),d}var _=t.length,I=o.min,D=o.max;if(Object(s.isNil)(I)&&(I=0),Object(s.isNil)(D)&&(D=t.length-1),!Object(s.isNumber)(n)||n>=_)return t.slice(I,D+1);if(n<=0||D<=0)return[];for(var H=n===1?_:Math.floor(_/(n-1)),Z=[],te=I,de=0;de<n&&!(te>=D);de++)te=Math.min(I+de*H,D),de===n-1&&i?Z.push(t[D]):Z.push(t[te]);return Z}var Ul=Math.sqrt(50),uc=Math.sqrt(10),rl=Math.sqrt(2),ol=function(){function o(){this._domain=[0,1]}return o.prototype.domain=function(t){return t?(this._domain=Array.from(t,Number),this):this._domain.slice()},o.prototype.nice=function(t){var e,n;t===void 0&&(t=5);var i,d=this._domain.slice(),g=0,_=this._domain.length-1,I=this._domain[g],D=this._domain[_];return D<I&&(I=(e=[D,I])[0],D=e[1],g=(n=[_,g])[0],_=n[1]),(i=ta(I,D,t))>0?i=ta(I=Math.floor(I/i)*i,D=Math.ceil(D/i)*i,t):i<0&&(i=ta(I=Math.ceil(I*i)/i,D=Math.floor(D*i)/i,t)),i>0?(d[g]=Math.floor(I/i)*i,d[_]=Math.ceil(D/i)*i,this.domain(d)):i<0&&(d[g]=Math.ceil(I*i)/i,d[_]=Math.floor(D*i)/i,this.domain(d)),this},o.prototype.ticks=function(t){return t===void 0&&(t=5),function(e,n,i){var d,g,_,I,D=-1;if(i=+i,(e=+e)==(n=+n)&&i>0)return[e];if((d=n<e)&&(g=e,e=n,n=g),(I=ta(e,n,i))===0||!isFinite(I))return[];if(I>0)for(e=Math.ceil(e/I),n=Math.floor(n/I),_=new Array(g=Math.ceil(n-e+1));++D<g;)_[D]=(e+D)*I;else for(e=Math.floor(e*I),n=Math.ceil(n*I),_=new Array(g=Math.ceil(e-n+1));++D<g;)_[D]=(e-D)/I;return d&&_.reverse(),_}(this._domain[0],this._domain[this._domain.length-1],t||5)},o}();function ta(o,t,e){var n=(t-o)/Math.max(0,e),i=Math.floor(Math.log(n)/Math.LN10),d=n/Math.pow(10,i);return i>=0?(d>=Ul?10:d>=uc?5:d>=rl?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(d>=Ul?10:d>=uc?5:d>=rl?2:1)}function pl(o,t,e){return(e===\"ceil\"?Math.ceil(o/t):e===\"floor\"?Math.floor(o/t):Math.round(o/t))*t}function Bc(o,t,e){var n=pl(o,e,\"floor\"),i=pl(t,e,\"ceil\");n=Object(s.fixedBase)(n,e),i=Object(s.fixedBase)(i,e);for(var d=[],g=Math.max((i-n)/(Math.pow(2,12)-1),e),_=n;_<=i;_+=g){var I=Object(s.fixedBase)(_,g);d.push(I)}return{min:n,max:i,ticks:d}}function xc(o,t,e){var n,i=o.minLimit,d=o.maxLimit,g=o.min,_=o.max,I=o.tickCount,D=I===void 0?5:I,H=Object(s.isNil)(i)?Object(s.isNil)(t)?g:t:i,Z=Object(s.isNil)(d)?Object(s.isNil)(e)?_:e:d;if(H>Z&&(Z=(n=[H,Z])[0],H=n[1]),D<=2)return[H,Z];for(var te=(Z-H)/(D-1),de=[],Pe=0;Pe<D;Pe++)de.push(H+te*Pe);return de}function $u(o){return Math.abs(o)<1e-15?o:parseFloat(o.toFixed(15))}var Fc=[1,5,2,2.5,4,3],il=100*Number.EPSILON;function al(o,t,e,n,i,d){var g=Object(s.size)(t),_=Object(s.indexOf)(t,o),I=0,D=function(H,Z){return(H%Z+Z)%Z}(n,d);return(D<il||d-D<il)&&n<=0&&i>=0&&(I=1),1-_/(g-1)-e+I}function zc(o,t,e){var n=Object(s.size)(t);return 1-Object(s.indexOf)(t,o)/(n-1)-e+1}function cc(o,t,e,n,i,d){var g=(o-1)/(d-i),_=(t-1)/(Math.max(d,n)-Math.min(e,i));return 2-Math.max(g/_,_/g)}function Ml(o,t){return o>=t?2-(o-1)/(t-1):1}function Al(o,t,e,n){var i=t-o;return 1-.5*(Math.pow(t-n,2)+Math.pow(o-e,2))/Math.pow(.1*i,2)}function sl(o,t,e){var n=t-o;if(e>n){var i=(e-n)/2;return 1-Math.pow(i,2)/Math.pow(.1*n,2)}return 1}function Vl(o,t,e,n,i,d){e===void 0&&(e=5),n===void 0&&(n=!0),i===void 0&&(i=Fc),d===void 0&&(d=[.25,.2,.5,.05]);var g=e<0?0:Math.round(e);if(Number.isNaN(o)||Number.isNaN(t)||typeof o!=\"number\"||typeof t!=\"number\"||!g)return{min:0,max:0,ticks:[]};if(t-o<1e-15||g===1)return{min:o,max:t,ticks:[o]};if(t-o>1e148){var _=(t-o)/(sn=e||5);return{min:o,max:t,ticks:Array(sn).fill(null).map(function(B,K){return $u(o+_*K)})}}for(var I={score:-2,lmin:0,lmax:0,lstep:0},D=1;D<1/0;){for(var H=0;H<i.length;H+=1){var Z=i[H],te=zc(Z,i,D);if(d[0]*te+d[1]+d[2]+d[3]<I.score){D=1/0;break}for(var de=2;de<1/0;){var Pe=Ml(de,g);if(d[0]*te+d[1]+d[2]*Pe+d[3]<I.score)break;for(var Ge=(t-o)/(de+1)/D/Z,Qe=Math.ceil(Math.log10(Ge));Qe<1/0;){var Xe=D*Z*Math.pow(10,Qe),yt=sl(o,t,Xe*(de-1));if(d[0]*te+d[1]*yt+d[2]*Pe+d[3]<I.score)break;var Ct=Math.floor(t/Xe)*D-(de-1)*D,on=Math.ceil(o/Xe)*D;if(Ct<=on)for(var sn=on-Ct,Nn=0;Nn<=sn;Nn+=1){var Tn=(Ct+Nn)*(Xe/D),Bn=Tn+Xe*(de-1),Hn=Xe,Sr=al(Z,i,D,Tn,Bn,Hn),Cr=Al(o,t,Tn,Bn),po=cc(de,g,o,t,Tn,Bn),wo=d[0]*Sr+d[1]*Cr+d[2]*po+1*d[3];wo>I.score&&(!n||Tn<=o&&Bn>=t)&&(I.lmin=Tn,I.lmax=Bn,I.lstep=Hn,I.score=wo)}Qe+=1}de+=1}}D+=1}var Po=$u(I.lmax),Xo=$u(I.lmin),ri=$u(I.lstep),ki=Math.floor(function(B){return Math.round(1e12*B)/1e12}((Po-Xo)/ri))+1,T=new Array(ki);for(T[0]=$u(Xo),H=1;H<ki;H++)T[H]=$u(T[H-1]+ri);return{min:Math.min(o,Object(s.head)(T)),max:Math.max(t,Object(s.last)(T)),ticks:T}}function ou(o,t,e){if(e===void 0&&(e=5),o===t)return{max:t,min:o,ticks:[o]};var n=e<0?0:Math.round(e);if(n===0)return{max:t,min:o,ticks:[]};var i=(t-o)/n,d=Math.pow(10,Math.floor(Math.log10(i))),g=d;2*d-i<1.5*(i-g)&&5*d-i<2.75*(i-(g=2*d))&&10*d-i<1.5*(i-(g=5*d))&&(g=10*d);for(var _=Math.ceil(t/g),I=Math.floor(o/g),D=Math.max(_*g,t),H=Math.min(I*g,o),Z=Math.floor((D-H)/g)+1,te=new Array(Z),de=0;de<Z;de++)te[de]=$u(H+de*g);return{min:H,max:D,ticks:te}}function Zl(o,t){var e=o.length*t;return t===1?o[o.length-1]:t===0?o[0]:e%1!=0?o[Math.ceil(e)-1]:o.length%2==0?(o[e-1]+o[e])/2:o[e]}function su(o){return new Date(o).getFullYear()}function $(o){return new Date(o,0,1).getTime()}function ne(o){return new Date(o).getMonth()}function Me(o,t){return new Date(o,t,1).getTime()}qn(\"cat\",Wl),qn(\"time-cat\",function(o){return Wl(Object(l.__assign)({showLast:!0},o))}),qn(\"wilkinson-extended\",function(o){var t=o.min,e=o.max,n=o.tickCount,i=o.nice,d=o.tickInterval,g=o.minLimit,_=o.maxLimit,I=Vl(t,e,n,i).ticks;return Object(s.isNil)(g)&&Object(s.isNil)(_)?d?Bc(t,e,d).ticks:I:xc(o,Object(s.head)(I),Object(s.last)(I))}),qn(\"r-pretty\",function(o){var t=o.min,e=o.max,n=o.tickCount,i=o.tickInterval,d=o.minLimit,g=o.maxLimit,_=ou(t,e,n).ticks;return Object(s.isNil)(d)&&Object(s.isNil)(g)?i?Bc(t,e,i).ticks:_:xc(o,Object(s.head)(_),Object(s.last)(_))}),qn(\"time\",function(o){var t=o.min,e=o.max,n=o.minTickInterval,i=o.tickInterval,d=o.tickCount;if(i)d=Math.ceil((e-t)/i);else{var g=(e-t)/(i=Dc(t,e,d)[1])/d;g>1&&(i*=Math.ceil(g)),n&&i<n&&(i=n)}i=Math.max(Math.floor((e-t)/(Math.pow(2,12)-1)),i);for(var _=[],I=t;I<e+i;I+=i)_.push(I);return _}),qn(\"time-pretty\",function(o){var t=o.min,e=o.max,n=o.minTickInterval,i=o.tickCount,d=o.tickInterval,g=[];d||(d=(e-t)/i,n&&d<n&&(d=n)),d=Math.max(Math.floor((e-t)/(Math.pow(2,12)-1)),d);var _=su(t);if(d>31536e6)for(var I=su(e),D=Math.ceil(d/31536e6),H=_;H<=I+D;H+=D)g.push($(H));else if(d>Ys){var Z=Math.ceil(d/Ys),te=ne(t),de=function(wo,Po){var Xo=su(wo),ri=su(Po),ki=ne(wo);return 12*(ri-Xo)+(ne(Po)-ki)%12}(t,e);for(H=0;H<=de+Z;H+=Z)g.push(Me(_,H+te))}else if(d>wu){var Pe=(Ct=new Date(t)).getFullYear(),Ge=Ct.getMonth(),Qe=Ct.getDate(),Xe=Math.ceil(d/wu),yt=function(wo,Po){return Math.ceil((Po-wo)/wu)}(t,e);for(H=0;H<yt+Xe;H+=Xe)g.push(new Date(Pe,Ge,Qe+H).getTime())}else if(d>xu){Pe=(Ct=new Date(t)).getFullYear(),Ge=Ct.getMonth(),Xe=Ct.getDate();var Ct,on=Ct.getHours(),sn=Math.ceil(d/xu),Nn=function(wo,Po){return Math.ceil((Po-wo)/xu)}(t,e);for(H=0;H<=Nn+sn;H+=sn)g.push(new Date(Pe,Ge,Xe,on+H).getTime())}else if(d>6e4){var Tn=function(wo,Po){return Math.ceil((Po-wo)/6e4)}(t,e),Bn=Math.ceil(d/6e4);for(H=0;H<=Tn+Bn;H+=Bn)g.push(t+6e4*H)}else{var Hn=d;Hn<1e3&&(Hn=1e3);var Sr=1e3*Math.floor(t/1e3),Cr=Math.ceil((e-t)/1e3),po=Math.ceil(Hn/1e3);for(H=0;H<Cr+po;H+=po)g.push(Sr+1e3*H)}return g.length>=512&&console.warn(\"Notice: current ticks length(\"+g.length+') >= 512, may cause performance issues, even out of memory. Because of the configure \"tickInterval\"(in milliseconds, current is '+d+\") is too small, increase the value to solve the problem!\"),g}),qn(\"log\",function(o){var t,e=o.base,n=o.tickCount,i=o.min,d=o.max,g=o.values,_=Pu(e,d);if(i>0)t=Math.floor(Pu(e,i));else{var I=Jc(g,e,d);t=Math.floor(Pu(e,I))}for(var D=_-t,H=Math.ceil(D/n),Z=[],te=t;te<_+H;te+=H)Z.push(Math.pow(e,te));return i<=0&&Z.unshift(0),Z}),qn(\"pow\",function(o){var t=o.exponent,e=o.tickCount,n=Math.ceil(Tu(t,o.max));return ou(Math.floor(Tu(t,o.min)),n,e).ticks.map(function(i){var d=i>=0?1:-1;return Math.pow(i,t)*d})}),qn(\"quantile\",function(o){var t=o.tickCount,e=o.values;if(!e||!e.length)return[];for(var n=e.slice().sort(function(_,I){return _-I}),i=[],d=0;d<t;d++){var g=d/(t-1);i.push(Zl(n,g))}return i}),qn(\"d3-linear\",function(o){var t=o.min,e=o.max,n=o.tickInterval,i=o.minLimit,d=o.maxLimit,g=function(_){var I=_.min,D=_.max,H=_.nice,Z=_.tickCount,te=new ol;return te.domain([I,D]),H&&te.nice(Z),te.ticks(Z)}(o);return Object(s.isNil)(i)&&Object(s.isNil)(d)?n?Bc(t,e,n).ticks:g:xc(o,Object(s.head)(g),Object(s.last)(g))}),Vu(\"cat\",bo),Vu(\"category\",bo),Vu(\"identity\",Lc),Vu(\"linear\",is),Vu(\"log\",Gl),Vu(\"pow\",ac),Vu(\"time\",el),Vu(\"timeCat\",ic),Vu(\"quantize\",sc),Vu(\"quantile\",tl);var tt=function(o,t,e){if(e||arguments.length===2)for(var n,i=0,d=t.length;i<d;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return o.concat(n||Array.prototype.slice.call(t))};function at(o){return function(t){return Object(s.map)(t,function(e,n){return[n===0?\"M\":\"L\",e[0],e[1]]})}(o)}function Nt(o,t,e,n){n===void 0&&(n=!0);var i=new is({values:o}),d=new bo({values:Object(s.map)(o,function(_,I){return I})}),g=Object(s.map)(o,function(_,I){return[d.scale(I)*t,e-i.scale(_)*e]});return n?function(_){if(_.length<=2)return at(_);var I=[];Object(s.each)(_,function(de){Object(s.isEqual)(de,I.slice(I.length-2))||I.push(de[0],de[1])});var D=Je.a(I,!1),H=Object(s.head)(_),Z=H[0],te=H[1];return D.unshift([\"M\",Z,te]),D}(g):at(g)}function Tt(o,t,e,n){n===void 0&&(n=5);for(var i=new is({values:o}),d=new bo({values:Object(s.map)(o,function(Z,te){return te})}),g=Object(s.map)(o,function(Z,te){return[d.scale(te)*t,e-i.scale(Z)*e]}),_=[],I=0;I<g.length;I++){var D=g[I],H=nn({x:D[0],y:D[1],y0:e,size:n});_.push.apply(_,H)}return function(Z,te){te===void 0&&(te=!0);var de=[],Pe=Z[0];de.push([\"M\",Pe.x,Pe.y]);for(var Ge=1,Qe=Z.length;Ge<Qe;Ge++)de.push([\"L\",Z[Ge].x,Z[Ge].y]);return te&&(de.push([\"L\",Pe.x,Pe.y]),de.push([\"z\"])),de}(_)}function Jt(o,t,e,n){var i=tt([],o,!0),d=function(g,_){var I=new is({values:g}),D=Math.max(0,I.min);return _-I.scale(D)*_}(n,e);return i.push([\"L\",t,d]),i.push([\"L\",0,d]),i.push([\"Z\"]),i}function nn(o){var t,e,n,i,d=o.x,g=o.y,_=o.y0,I=o.size;Object(s.isArray)(g)?(t=g[0],e=g[1]):(t=_,e=g),Object(s.isArray)(d)?(n=d[0],i=d[1]):(n=d-I/2,i=d+I/2);var D=[{x:n,y:t},{x:n,y:e}];return D.push({x:i,y:e},{x:i,y:t}),D}var zn=function(){return(zn=Object.assign||function(o){for(var t,e=1,n=arguments.length;e<n;e++)for(var i in t=arguments[e])Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i]);return o}).apply(this,arguments)},mr={stroke:\"#C5C5C5\",strokeOpacity:.85},Er={fill:\"#CACED4\",opacity:.85},Zr=function(){function o(t){var e=t.x,n=e===void 0?0:e,i=t.y,d=i===void 0?0:i,g=t.width,_=g===void 0?200:g,I=t.height,D=I===void 0?26:I,H=t.smooth,Z=H===void 0||H,te=t.isArea,de=te!==void 0&&te,Pe=t.data,Ge=Pe===void 0?[]:Pe,Qe=t.lineStyle,Xe=t.areaStyle,yt=t.group,Ct=t.interval,on=Ct===void 0?null:Ct;this.group=yt,this.x=n,this.y=d,this.width=_,this.height=D,this.data=Ge,this.smooth=Z,this.isArea=de,this.lineStyle=Object.assign({},mr,Qe),this.areaStyle=Object.assign({},Er,Xe),this.intervalConfig=on,this.renderLine()}return o.prototype.renderLine=function(){var t=this,e=t.x,n=t.y,i=t.width,d=t.height,g=(t.barWidth,t.data),_=t.smooth,I=t.isArea,D=t.lineStyle,H=t.areaStyle,Z=this.group.addGroup({name:\"trend-group\"});if(g){var te=Nt(g,i,d,_);if(Z.addShape(\"path\",{attrs:zn({path:te},D),name:\"trend-line\"}),I){var de=Jt(te,i,d,g);Z.addShape(\"path\",{attrs:zn({path:de},H),name:\"trend-area\"})}}this.intervalConfig&&Z.addShape(\"path\",{attrs:zn({path:Tt(this.intervalConfig.data,i,d,this.intervalConfig.style.barWidth)},this.intervalConfig.style),name:\"trend-interval\"}),Z.move(e,n)},o.prototype.destory=function(){this.group.destroy()},o}(),Yr=function(){return(Yr=Object.assign||function(o){for(var t,e=1,n=arguments.length;e<n;e++)for(var i in t=arguments[e])Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i]);return o}).apply(this,arguments)},So={fill:\"#1890ff\",stroke:\"#1890ff\",type:\"trend\",radius:2,opacity:1,cursor:\"ew-resize\",highLightFill:\"#0050b3\"},Oo={fill:\"#fff\",stroke:\"#1890ff\",radius:2,opacity:1,cursor:\"ew-resize\"},xo=function(){function o(t){var e=t.group,n=t.name,i=t.type,d=t.x,g=d===void 0?0:d,_=t.y,I=_===void 0?0:_,D=t.width,H=D===void 0?2:D,Z=t.height,te=Z===void 0?24:Z,de=t.style,Pe=de===void 0?{}:de;this.group=e,this.name=n,this.handleType=i,this.x=g,this.y=I,this.width=H,this.height=te,i===\"trend\"?this.style=Yr(Yr({},So),Pe):i===\"simple\"&&(this.style=Yr(Yr({},Oo),Pe)),this.renderHandle()}return o.prototype.setX=function(t){this.setXY(t,void 0)},o.prototype.setY=function(t){this.setXY(void 0,t)},o.prototype.setXY=function(t,e){Object(s.isNumber)(t)&&(this.x=t),Object(s.isNumber)(e)&&(this.y=e),this.updateXY()},o.prototype.renderHandle=function(){var t=this.width,e=this.height,n=this.style,i=this.name,d=n.fill,g=n.stroke,_=n.radius,I=n.opacity,D=n.cursor;this.handleGroup=this.group.addGroup(),this.handleType===\"trend\"?(this.verticalLine=this.handleGroup.addShape(\"rect\",{attrs:{x:0,y:0,width:t,height:e,fill:d,stroke:g,radius:_,opacity:I,cursor:D},name:\"\".concat(i,\"-handler\")}),this.topCircle=this.handleGroup.addShape(\"circle\",{attrs:{x:t/2,y:0,r:2*t,fill:d,stroke:g,radius:_,opacity:I,cursor:D,lineAppendWidth:12},name:\"\".concat(i,\"-handler\")}),this.bottomCircle=this.handleGroup.addShape(\"circle\",{attrs:{x:t/2,y:e,r:2*t,fill:d,stroke:g,radius:_,opacity:I,cursor:D},name:\"\".concat(i,\"-handler\")})):this.handleType===\"simple\"&&(this.topCircle=this.handleGroup.addShape(\"circle\",{attrs:{x:t/2,y:e/2,r:2*t,fill:d,stroke:g,radius:_,opacity:I,cursor:D,lineWidth:2},name:\"\".concat(i,\"-handler\")})),this.updateXY(),this.handleType===\"trend\"?this.bindTrendEvents():this.handleType===\"simple\"&&this.bindSimpleEvents()},o.prototype.bindSimpleEvents=function(){var t=this,e=this.name;this.handleGroup.on(\"\".concat(e,\"-handler:mouseenter\"),function(){var n=t.style.highLightFill;t.topCircle.attr(\"fill\",n)}),this.handleGroup.on(\"\".concat(e,\"-handler:mouseleave\"),function(){var n=t.style.fill;t.topCircle.attr(\"fill\",n)})},o.prototype.bindTrendEvents=function(){var t=this,e=this.name;this.handleGroup.on(\"\".concat(e,\"-handler:mouseenter\"),function(){var n=t.style.highLightFill;t.verticalLine.attr(\"fill\",n),t.topCircle.attr(\"fill\",n),t.bottomCircle.attr(\"fill\",n)}),this.handleGroup.on(\"\".concat(e,\"-handler:mouseleave\"),function(){var n=t.style.fill;t.verticalLine.attr(\"fill\",n),t.topCircle.attr(\"fill\",n),t.bottomCircle.attr(\"fill\",n)})},o.prototype.show=function(){this.handleGroup.show()},o.prototype.hide=function(){this.handleGroup.hide()},o.prototype.updateXY=function(){this.handleGroup.setMatrix([1,0,0,0,1,0,this.x,this.y,1])},o}(),lo=function(){return(lo=Object.assign||function(o){for(var t,e=1,n=arguments.length;e<n;e++)for(var i in t=arguments[e])Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i]);return o}).apply(this,arguments)},Io=function(){function o(t){this.config=Object(s.deepMix)({},t),this.init()}return o.prototype.update=function(t){this.config=Object(s.deepMix)({},this.config,t),this.updateElement(),this.renderMarker()},o.prototype.init=function(){this.initElement(),this.renderMarker()},o.prototype.initElement=function(){var t=this.config,e=t.group,n=t.style,i=n.scale,d=i===void 0?1:i,g=n.offsetX,_=g===void 0?0:g,I=n.offsetY,D=I===void 0?0:I,H=this.config.x+_,Z=this.config.y+D,te=e.addGroup({name:\"playPauseBtn\"});this.startMarkerGroup=te.addGroup({name:\"playPauseBtn\"}),this.circle=e.addShape(\"circle\",{attrs:lo({x:H,y:Z,r:this.config.r*d},n),name:\"playPauseBtn\"}),this.startMarker=this.startMarkerGroup.addShape(\"path\",{attrs:{path:this.getStartMarkerPath(H,Z,d),fill:n.stroke||\"#aaa\"},name:\"start-marker\"}),this.pauseMarkerGroup=te.addGroup({name:\"playPauseBtn\"});var de=.25*this.config.r*d,Pe=.5*this.config.r*Math.sqrt(3)*d;this.pauseLeftMarker=this.pauseMarkerGroup.addShape(\"rect\",{attrs:{x:H-.375*this.config.r*d,y:Z-Pe/2,width:de,height:Pe,fill:n.stroke||\"#aaa\",lineWidth:0}}),this.pauseRightMarker=this.pauseMarkerGroup.addShape(\"rect\",{attrs:{x:H+1/8*this.config.r*d,y:Z-Pe/2,width:de,height:Pe,fill:n.stroke||\"#aaa\",lineWidth:0}})},o.prototype.updateElement=function(){var t=this.config.style,e=t.scale,n=e===void 0?1:e,i=t.offsetX,d=i===void 0?0:i,g=t.offsetY,_=g===void 0?0:g,I=this.config.x+d,D=this.config.y+_;this.circle.attr(\"x\",I),this.circle.attr(\"y\",D),this.circle.attr(\"r\",this.config.r*n),this.startMarker.attr(\"path\",this.getStartMarkerPath(I,D,n));var H=.25*this.config.r*n,Z=.5*this.config.r*Math.sqrt(3)*n;this.pauseLeftMarker.attr(\"x\",I-.375*this.config.r*n),this.pauseLeftMarker.attr(\"y\",D-Z/2),this.pauseLeftMarker.attr(\"width\",H),this.pauseLeftMarker.attr(\"height\",Z),this.pauseRightMarker.attr(\"x\",I+1/8*this.config.r*n),this.pauseRightMarker.attr(\"y\",D-Z/2),this.pauseRightMarker.attr(\"width\",H),this.pauseRightMarker.attr(\"height\",Z)},o.prototype.renderMarker=function(){this.config.isPlay?(this.startMarkerGroup.hide(),this.pauseMarkerGroup.show()):(this.startMarkerGroup.show(),this.pauseMarkerGroup.hide())},o.prototype.getStartMarkerPath=function(t,e,n){var i=.5*this.config.r*Math.sqrt(3)*n;return[[\"M\",t-i/Math.sqrt(3)/2,e-i/2],[\"L\",t+i/Math.sqrt(3),e],[\"L\",t-i/Math.sqrt(3)/2,e+i/2]]},o}(),Zo=function(){return(Zo=Object.assign||function(o){for(var t,e=1,n=arguments.length;e<n;e++)for(var i in t=arguments[e])Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i]);return o}).apply(this,arguments)},xi=j.a.transform,Ai={fill:\"#aaa\",fillOpacity:.35,stroke:\"#aaa\"},ci={fill:\"#fff\"},Ri={fill:\"green\"},Ci={pointer:{fill:\"#aaa\",lineWidth:0},scroller:{stroke:\"#aaa\",fill:\"#aaa\",lineWidth:1,lineAppendWidth:5,cursor:\"pointer\"},text:{fill:\"#aaa\",textBaseline:\"top\"}},ua={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\"}},da={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:Ci,timeTypeControllerStyle:ua},Da=\"single\",as=\"range\",ts=function(){function o(t){this.controllerCfg=Object(s.deepMix)({},da,t),this.group=t.group,this.controllerGroup=this.group.addGroup({name:\"controller-group\"}),this.speedAxisY=[],this.currentSpeed=this.controllerCfg.speed,this.currentType=this.controllerCfg.defaultTimeType||as,this.fontFamily=t.fontFamily||\"Arial, sans-serif\",this.init()}return o.prototype.init=function(){this.renderPlayButton()},o.prototype.getNextMarkerPath=function(t,e,n){return[[\"M\",t,e-n],[\"L\",t+n,e],[\"L\",t,e+n],[\"Z\",t,e-n],[\"M\",t,e],[\"L\",t-n,e-n],[\"L\",t-n,e+n],[\"Z\"]]},o.prototype.getPreMarkerPath=function(t,e,n){return[[\"M\",t,e-n],[\"L\",t-n,e],[\"L\",t,e+n],[\"L\",t,e-n],[\"M\",t,e],[\"L\",t+n,e-n],[\"L\",t+n,e+n],[\"Z\"]]},o.prototype.renderPlayButton=function(){var t=this.controllerCfg,e=t.width,n=t.height,i=t.x,d=t.y,g=t.hideTimeTypeController,_=t.fill,I=_===void 0?\"#aaa\":_,D=t.stroke,H=D===void 0?\"green\":D,Z=t.containerStyle,te=Z===void 0?{}:Z,de=Zo(Zo({},Ai),t.playBtnStyle||{}),Pe=Zo(Zo({},ci),t.preBtnStyle||{}),Ge=Zo(Zo({},Ri),t.nextBtnStyle||{}),Qe=n/2-5,Xe=d+10,yt=this.controllerGroup.addShape(\"rect\",{attrs:Zo({x:i,y:Xe,width:e,height:n,stroke:H,fill:I},te),name:\"container-rect\"});this.playButton?this.playButton.update({x:e/2,y:Xe,r:Qe}):this.playButton=new Io({group:this.controllerGroup,x:e/2,y:Xe+Qe+5,r:Qe,isPlay:this.isPlay,style:de});var Ct=Pe.offsetX||0,on=Pe.offsetY||0,sn=(Pe.scale||1)*Qe;this.controllerGroup.addShape(\"path\",{attrs:Zo({path:this.getPreMarkerPath(e/2-5*Qe+Ct,Xe+Qe+5+on,.5*sn)},Pe),name:\"preStepBtn\"});var Nn=Ge.offsetX||0,Tn=Ge.offsetY||0,Bn=(Ge.scale||1)*Qe;this.controllerGroup.addShape(\"path\",{attrs:Zo({path:this.getNextMarkerPath(e/2+5*Qe+Nn,Xe+Qe+5+Tn,.5*Bn)},Ge),name:\"nextStepBtn\"}),yt.toBack(),this.renderSpeedBtn(),g||this.renderToggleTime(),this.bindEvent();var Hn=this.controllerCfg.scale,Sr=Hn===void 0?1:Hn,Cr=this.controllerGroup.getCanvasBBox(),po=(Cr.maxX+Cr.minX)/2,wo=(Cr.maxY+Cr.minY)/2,Po=xi([1,0,0,0,1,0,0,0,1],[[\"t\",-po,-wo],[\"s\",Sr,Sr],[\"t\",po,wo]]);this.controllerGroup.setMatrix(Po)},o.prototype.renderSpeedBtn=function(){var t=this.controllerCfg,e=t.y,n=t.width,i=t.hideTimeTypeController,d=Zo(Zo({},Ci),this.controllerCfg.speedControllerStyle||{}),g=d.scroller,_=g===void 0?{}:g,I=d.text,D=I===void 0?{}:I,H=d.pointer,Z=H===void 0?{}:H,te=d.scale,de=te===void 0?1:te,Pe=d.offsetX,Ge=Pe===void 0?0:Pe,Qe=d.offsetY,Xe=Qe===void 0?0:Qe,yt=this.controllerGroup.addGroup({name:\"speed-group\"});this.speedGroup=yt;var Ct=[],on=5;this.speedAxisY=[19,22,26,32,39];for(var sn=0;sn<5;sn++){var Nn=e+this.speedAxisY[sn],Tn=n-(i?50:110);yt.addShape(\"line\",{attrs:Zo({x1:Tn,x2:Tn+15,y1:Nn,y2:Nn},_),speed:on,name:\"speed-rect\"}),this.speedAxisY[sn]=Nn,Ct.push(on),on-=1}this.speedText=yt.addShape(\"text\",{attrs:Zo({x:n-(i?50:110)+20,y:this.speedAxisY[0]+4,text:\"1.0X\",fontFamily:this.fontFamily||\"Arial, sans-serif\"},D),name:\"speed-text\"}),this.speedPoint=yt.addShape(\"path\",{attrs:Zo({path:this.getPointerPath(n-(i?50:110),0),matrix:[1,0,0,0,1,0,0,this.speedAxisY[4],1]},Z),name:\"speed-pointer\"});var Bn=this.speedGroup.getCanvasBBox(),Hn=(Bn.maxX+Bn.minX)/2,Sr=(Bn.maxY+Bn.minY)/2,Cr=this.speedGroup.getMatrix()||[1,0,0,0,1,0,0,0,1];Cr=xi(Cr,[[\"t\",-Hn,-Sr],[\"s\",de,de],[\"t\",Hn+Ge*de,Sr+Xe*de]]),this.speedGroup.setMatrix(Cr)},o.prototype.getPointerPath=function(t,e){return[[\"M\",t,e],[\"L\",t-10,e-4],[\"L\",t-10,e+4],[\"Z\"]]},o.prototype.renderToggleTime=function(){var t,e,n=this.controllerCfg,i=n.width,d=n.defaultTimeType,g=Zo(Zo({},ua),this.controllerCfg.timeTypeControllerStyle||{}),_=g.scale,I=_===void 0?1:_,D=g.offsetX,H=D===void 0?0:D,Z=g.offsetY,te=Z===void 0?0:Z,de=g.box,Pe=de===void 0?{}:de,Ge=g.check,Qe=Ge===void 0?{}:Ge,Xe=g.text,yt=Xe===void 0?{}:Xe;this.toggleGroup=this.controllerGroup.addGroup({name:\"toggle-group\"});var Ct=d===Da;this.toggleGroup.addShape(\"rect\",{attrs:Zo({x:i-50,y:this.speedAxisY[0]+3.5},Pe),isChecked:Ct,name:\"toggle-model\"}),this.checkedIcon=this.toggleGroup.addShape(\"path\",{attrs:Zo({path:[[\"M\",i-50+3,this.speedAxisY[1]+6],[\"L\",i-50+7,this.speedAxisY[1]+10],[\"L\",i-50+12,this.speedAxisY[1]+4]]},Qe),capture:!1,name:\"check-icon\"}),Ct||this.checkedIcon.hide(),this.checkedText=this.toggleGroup.addShape(\"text\",{attrs:Zo({text:Ct?((t=this.controllerCfg)===null||t===void 0?void 0:t.timeRangeControllerText)||\"\\u65F6\\u95F4\\u8303\\u56F4\":((e=this.controllerCfg)===null||e===void 0?void 0:e.timePointControllerText)||\"\\u5355\\u4E00\\u65F6\\u95F4\",x:i-50+15,y:this.speedAxisY[0]+4,fontFamily:typeof window!=\"undefined\"&&window.getComputedStyle(document.body,null).getPropertyValue(\"font-family\")||\"Arial, sans-serif\"},yt),name:\"checked-text\"});var on=this.toggleGroup.getCanvasBBox(),sn=(on.maxX+on.minX)/2,Nn=(on.maxY+on.minY)/2,Tn=this.toggleGroup.getMatrix()||[1,0,0,0,1,0,0,0,1];Tn=xi(Tn,[[\"t\",-sn,-Nn],[\"s\",I,I],[\"t\",sn+H*I,Nn+te*I]]),this.toggleGroup.setMatrix(Tn)},o.prototype.bindEvent=function(){var t=this;this.speedGroup.on(\"speed-rect:click\",function(e){var n=e.target.attr(\"y1\"),i=t.speedPoint.attr(\"matrix\"),d=t.speedAxisY.indexOf(i[7]||0),g=t.speedAxisY.indexOf(n),_=t.speedAxisY[g]-t.speedAxisY[d];i=xi(i,[[\"t\",0,_]]),t.speedPoint.setMatrix(i),t.currentSpeed=t.speedAxisY.length-g,t.speedText.attr(\"text\",\"\".concat(t.currentSpeed,\".0X\")),t.group.emit(\"timebarConfigChanged\",{speed:t.currentSpeed,type:t.currentType})}),this.speedGroup.on(\"mousewheel\",function(e){e.preventDefault();var n=t.speedPoint.attr(\"matrix\")||[1,0,0,0,1,0,0,0,1],i=n[7],d=t.speedAxisY.indexOf(i);if(d===-1){var g=1/0;t.speedAxisY.forEach(function(I,D){var H=Math.abs(I-i);g>H&&(g=H,d=D)})}d=e.originalEvent.deltaY>0?Math.max(0,d-1):Math.min(t.speedAxisY.length-1,d+1);var _=t.speedAxisY[d]-i;n=xi(n,[[\"t\",0,_]]),t.speedPoint.setMatrix(n),t.currentSpeed=t.speedAxisY.length-d,t.speedText.attr(\"text\",\"\".concat(t.currentSpeed,\".0X\")),t.group.emit(\"timebarConfigChanged\",{speed:t.currentSpeed,type:t.currentType})}),this.toggleGroup&&this.toggleGroup.on(\"toggle-model:click\",function(e){var n,i,d=e.target.get(\"isChecked\");d?(t.checkedIcon.hide(),t.checkedText.attr(\"text\",((i=t.controllerCfg)===null||i===void 0?void 0:i.timePointControllerText)||\"\\u5355\\u4E00\\u65F6\\u95F4\"),t.currentType=as):(t.checkedIcon.show(),t.checkedText.attr(\"text\",((n=t.controllerCfg)===null||n===void 0?void 0:n.timeRangeControllerText)||\"\\u65F6\\u95F4\\u8303\\u56F4\"),t.currentType=Da),e.target.set(\"isChecked\",!d),t.group.emit(\"timebarConfigChanged\",{type:t.currentType,speed:t.currentSpeed})})},o.prototype.destroy=function(){this.speedGroup.off(\"speed-rect:click\"),this.toggleGroup&&(this.toggleGroup.off(\"toggle-model:click\"),this.toggleGroup.destroy()),this.speedGroup.destroy()},o}(),ka=function(){return(ka=Object.assign||function(o){for(var t,e=1,n=arguments.length;e<n;e++)for(var i in t=arguments[e])Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i]);return o}).apply(this,arguments)},uu=j.a.transform,Su={fill:\"#416180\",opacity:.05},Js={fill:\"#416180\",opacity:.15,radius:5},Ws={fill:\"#5B8FF9\",opacity:.3,cursor:\"grab\"},Ru={width:2,height:24},Iu={textBaseline:\"middle\",fill:\"#000\",opacity:.45},Xf={textAlign:\"center\",textBaseline:\"top\",fill:\"#607889\",opacity:.35},Xl={lineWidth:1,stroke:\"#ccc\"},Yl=function(){function o(t){var e=this;this.prevX=0,this.onMouseDown=function(Se){return function(He){e.currentHandler=Se;var Ye=He.originalEvent;Ye.stopPropagation(),Ye.preventDefault(),e.prevX=Object(s.get)(Ye,\"touches.0.pageX\",Ye.pageX);var Et=e.canvas.get(\"container\");Et.addEventListener(\"mousemove\",e.onMouseMove),Et.addEventListener(\"mouseup\",e.onMouseUp),Et.addEventListener(\"mouseleave\",e.onMouseUp),Et.addEventListener(\"touchmove\",e.onMouseMove),Et.addEventListener(\"touchend\",e.onMouseUp),Et.addEventListener(\"touchcancel\",e.onMouseUp)}},this.onMouseMove=function(Se){Se.stopPropagation(),Se.preventDefault();var He=Object(s.get)(Se,\"touches.0.pageX\",Se.pageX),Ye=He-e.prevX,Et=e.adjustOffsetRange(Ye/e.width);e.updateStartEnd(Et),e.updateUI(),e.prevX=He},this.onMouseUp=function(){e.currentHandler&&(e.currentHandler=void 0);var Se=e.canvas.get(\"container\");Se&&(Se.removeEventListener(\"mousemove\",e.onMouseMove),Se.removeEventListener(\"mouseup\",e.onMouseUp),Se.removeEventListener(\"mouseleave\",e.onMouseUp),Se.removeEventListener(\"touchmove\",e.onMouseMove),Se.removeEventListener(\"touchend\",e.onMouseUp),Se.removeEventListener(\"touchcancel\",e.onMouseUp))};var n=t.x,i=n===void 0?0:n,d=t.y,g=d===void 0?0:d,_=t.width,I=_===void 0?100:_,D=t.height,H=t.padding,Z=H===void 0?10:H,te=t.trendCfg,de=t.controllerCfg,Pe=de===void 0?{speed:1}:de,Ge=t.backgroundStyle,Qe=Ge===void 0?{}:Ge,Xe=t.foregroundStyle,yt=Xe===void 0?{}:Xe,Ct=t.handlerStyle,on=Ct===void 0?{}:Ct,sn=t.textStyle,Nn=sn===void 0?{}:sn,Tn=t.start,Bn=Tn===void 0?0:Tn,Hn=t.end,Sr=Hn===void 0?1:Hn,Cr=t.minText,po=Cr===void 0?\"\":Cr,wo=t.maxText,Po=wo===void 0?\"\":wo,Xo=t.group,ri=t.graph,ki=t.canvas,T=t.tick,B=T===void 0?{tickLabelStyle:{},tickLineStyle:{},tickLabelFormatter:function(Se){return Se},ticks:[]}:T,K=t.type;this.graph=ri,this.canvas=ki,this.group=Xo,this.timeBarType=K,this.x=i,this.y=g,this.width=I,this.height=D,this.padding=Z,this.ticks=B.ticks,this.trendCfg=te,this.controllerCfg=Pe,this.currentSpeed=Pe.speed||1,this.tickLabelFormatter=B.tickLabelFormatter,K===\"trend\"?this.backgroundStyle=ka(ka({},Su),Qe):K===\"simple\"&&(this.backgroundStyle=ka(ka({},Js),Qe)),this.foregroundStyle=ka(ka({},Ws),yt),this.handlerStyle=ka(ka({},Ru),on),this.textStyle=ka(ka({},Iu),Nn),this.tickLabelStyle=ka(ka({},Xf),B.tickLabelStyle),this.tickLineStyle=ka(ka({},Xl),B.tickLineStyle),this.currentMode=Pe.defaultTimeType||as,this.start=Bn,this.end=Sr,this.minText=po,this.maxText=Po,this.fontFamily=typeof window!=\"undefined\"&&window.getComputedStyle(document.body,null).getPropertyValue(\"font-family\")||\"Arial, sans-serif\",this.renderSlider()}return o.prototype.update=function(t){var e=t.x,n=t.y,i=t.width,d=t.height,g=t.minText,_=t.maxText,I=t.start,D=t.end;this.start=Math.min(1,Math.max(I,0)),this.end=Math.min(1,Math.max(D,0)),Object(s.assign)(this,{x:e,y:n,width:i,height:d,minText:g,maxText:_}),this.updateUI()},o.prototype.setText=function(t,e){this.minTextShape.attr(\"text\",t),this.maxTextShape.attr(\"text\",e)},o.prototype.renderSlider=function(){var t=this,e=this.width,n=this.height,i=this.timeBarType;if(i===\"trend\"&&Object(s.size)(Object(s.get)(this.trendCfg,\"data\"))){var d=new Zr(ka(ka({x:this.x,y:this.y,width:e,height:n},this.trendCfg),{group:this.group}));this.trendComponent=d}var g=this.group.addGroup({name:\"slider-group\"});g.addShape(\"rect\",{attrs:ka({x:0,y:0,width:e,height:n},this.backgroundStyle),name:\"background\"});var _=this.group.addGroup();i===\"trend\"?(this.minTextShape=_.addShape(\"text\",{attrs:ka({x:0,y:n/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=_.addShape(\"text\",{attrs:ka({y:n/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=_.addShape(\"text\",{attrs:ka({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=_.addShape(\"text\",{attrs:ka({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:ka({x:0,y:this.y,height:n},this.foregroundStyle),name:\"foreground-shape\"}),this.foregroundShape.on(\"mousedown\",function(Qe){Qe.target.attr(\"cursor\",\"grabbing\")}),this.foregroundShape.on(\"mouseup\",function(Qe){Qe.target.attr(\"cursor\",t.foregroundStyle.cursor||\"grab\")});var I=Object(s.get)(this.handlerStyle,\"width\",2),D=Object(s.get)(this.handlerStyle,\"height\",24),H=this.group.addGroup({name:\"minHandlerShape\"});this.minHandlerShape=new xo({name:\"minHandlerShape\",group:H,type:i,x:this.x,y:this.y,width:I,height:D,style:this.handlerStyle});var Z=this.group.addGroup({name:\"maxHandlerShape\"});this.maxHandlerShape=new xo({name:\"maxHandlerShape\",group:Z,type:i,x:this.x,y:this.y,width:I,height:D,style:this.handlerStyle});var te=this.ticks,de=e/(te.length-1);this.tickPosList=[],this.textList&&this.textList.length&&this.textList.forEach(function(Qe){Qe.destroy()});var Pe=-1/0,Ge=this.tickLabelStyle.rotate;delete this.tickLabelStyle.rotate,this.textList=te.map(function(Qe,Xe){var yt;t.tickPosList.push(t.x+Xe*de),t.tickLabelFormatter?(yt=t.tickLabelFormatter(Qe),!Object(s.isString)(yt)&&yt&&(yt=Qe.date)):yt=Qe.date;var Ct=t.x+Xe*de,on=t.y+n+5,sn=t.group.addShape(\"text\",{attrs:ka({x:Ct,y:on,text:yt,fontFamily:t.fontFamily||\"Arial, sans-serif\"},t.tickLabelStyle),name:\"tick-label\"});if(Object(s.isNumber)(Ge)&&Xe!==te.length-1){var Nn=uu([1,0,0,0,1,0,0,0,1],[[\"t\",-Ct,-on],[\"r\",Ge],[\"t\",Ct-5,on+2]]);sn.attr({textAlign:\"left\",matrix:Nn})}Xe===0?sn.attr({textAlign:\"left\"}):Xe!==te.length-1&&sn.attr({textAlign:\"right\"});var Tn=t.group.addShape(\"line\",{attrs:ka({x1:t.x+Xe*de,y1:t.y+n+2,x2:t.x+Xe*de,y2:t.y+n+6},t.tickLineStyle),name:\"tick-line\"});Tn.toBack();var Bn=sn.getBBox();return Bn.minX>Pe?(sn.show(),Tn.show(),Pe=Bn.minX+Bn.width+10):(sn.hide(),Tn.hide()),sn}),this.controllerBtnGroup=new ts(ka({group:this.group,x:this.x,y:this.y+n+25,width:e,height:35},this.controllerCfg)),this.updateStartEnd(0),this.updateUI(),g.move(this.x,this.y),this.bindEvents(),this.currentMode===Da&&(this.minHandlerShape.hide(),this.foregroundShape.hide(),this.minTextShape.hide())},o.prototype.bindEvents=function(){var t=this,e=this.group.find(function(i){return i.get(\"name\")===\"minHandlerShape\"});e&&(e.on(\"minHandlerShape-handler:mousedown\",this.onMouseDown(this.minHandlerShape)),e.on(\"minHandlerShape-handler:touchstart\",this.onMouseDown(this.minHandlerShape)));var n=this.group.find(function(i){return i.get(\"name\")===\"maxHandlerShape\"});n&&(n.on(\"maxHandlerShape-handler:mousedown\",this.onMouseDown(this.maxHandlerShape)),n.on(\"maxHandlerShape-handler:touchstart\",this.onMouseDown(this.maxHandlerShape))),this.foregroundShape.on(\"mousedown\",this.onMouseDown(this.foregroundShape)),this.foregroundShape.on(\"touchstart\",this.onMouseDown(this.foregroundShape)),this.group.on(\"\".concat(\"playPauseBtn\",\":click\"),function(){t.isPlay=!t.isPlay,t.currentHandler=t.maxHandlerShape,t.changePlayStatus()}),this.group.on(\"\".concat(\"nextStepBtn\",\":click\"),function(){t.currentHandler=t.maxHandlerShape,t.updateStartEnd(.01),t.updateUI()}),this.group.on(\"\".concat(\"preStepBtn\",\":click\"),function(){t.currentHandler=t.maxHandlerShape,t.updateStartEnd(-.01),t.updateUI()}),this.group.on(\"timebarConfigChanged\",function(i){var d=i.type,g=i.speed;t.currentSpeed=g,t.currentMode=d,d===Da?(t.minHandlerShape.hide(),t.foregroundShape.hide(),t.minTextShape.hide()):d===as&&(t.minHandlerShape.show(),t.foregroundShape.show(),t.minTextShape.show())})},o.prototype.adjustTickIndex=function(t){for(var e=0;e<this.tickPosList.length-1;e++)if(this.tickPosList[e]<=t&&t<=this.tickPosList[e+1])return Math.abs(this.tickPosList[e]-t)<Math.abs(t-this.tickPosList[e+1])?e:e+1;return 0},o.prototype.adjustOffsetRange=function(t){switch(this.currentHandler){case this.minHandlerShape:var e=0-this.start,n=1-this.start;return Math.min(n,Math.max(e,t));case this.maxHandlerShape:return e=0-this.end,n=1-this.end,Math.min(n,Math.max(e,t));case this.foregroundShape:return e=0-this.start,n=1-this.end,Math.min(n,Math.max(e,t));default:return 0}},o.prototype.updateStartEnd=function(t){var e=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(e):e==null?void 0:e.date,void(this.maxText=this.tickLabelFormatter?this.tickLabelFormatter(n):n==null?void 0:n.date);switch(this.currentHandler){case this.minHandlerShape:this.maxText=this.maxTextShape.attr(\"text\"),this.start+=t,this.minText=this.tickLabelFormatter?this.tickLabelFormatter(e):e.date;break;case this.maxHandlerShape:this.minText=this.minTextShape.attr(\"text\"),this.end+=t,this.maxText=this.tickLabelFormatter?this.tickLabelFormatter(n):n.date;break;case this.foregroundShape:this.start+=t,this.end+=t,this.minText=this.tickLabelFormatter?this.tickLabelFormatter(e):e.date,this.maxText=this.tickLabelFormatter?this.tickLabelFormatter(n):n.date}},o.prototype.updateUI=function(){var t=this;this.start<0&&(this.start=0),this.end>1&&(this.end=1);var e=this.x+this.start*this.width,n=this.x+this.end*this.width;this.foregroundShape.attr(\"x\",e),this.foregroundShape.attr(\"width\",n-e);var i=Object(s.get)(this.handlerStyle,\"width\",2);this.setText(this.minText,this.maxText);var d=this.dodgeText([e,n]),g=d[0],_=d[1];this.minHandlerShape.setX(e-i/2),Object(s.each)(g,function(I,D){return t.minTextShape.attr(D,I)}),this.maxHandlerShape.setX(n-i/2),Object(s.each)(_,function(I,D){return t.maxTextShape.attr(D,I)}),this.currentMode===as?this.graph.emit(\"valuechange\",{value:[this.start,this.end].sort()}):this.currentMode===Da&&this.graph.emit(\"valuechange\",{value:[this.end,this.end]})},o.prototype.dodgeText=function(t){var e,n,i=Object(s.get)(this.handlerStyle,\"width\",2),d=this.minTextShape,g=this.maxTextShape,_=t[0],I=t[1],D=!1;_>I&&(_=(e=[I,_])[0],I=e[1],d=(n=[g,d])[0],g=n[1],D=!0);var H=d.getBBox(),Z=g.getBBox(),te=null,de=null;return this.timeBarType===\"trend\"?(te=_-H.width<this.x+2?{x:_+i/2+2,textAlign:\"left\"}:{x:_-i/2-2,textAlign:\"right\"},de=I+Z.width>this.x+this.width?{x:I-i/2-2,textAlign:\"right\"}:{x:I+i/2+2,textAlign:\"left\"}):this.timeBarType===\"simple\"&&(te=d.attr(\"x\")>H.width?{x:_,textAlign:\"center\"}:{x:_,textAlign:\"left\"},de=g.attr(\"x\")>this.width-Z.width?{x:I,textAlign:\"right\"}:{x:I,textAlign:\"center\"}),D?[de,te]:[te,de]},o.prototype.startPlay=function(){var t=this;return typeof window!=\"undefined\"?window.requestAnimationFrame(function(){var e=t,n=e.ticks,i=e.width,d=t.currentSpeed,g=i/n.length/(1e3*(10-d)/60),_=t.adjustOffsetRange(g/t.width);t.updateStartEnd(_),t.updateUI(),t.isPlay&&(t.playHandler=t.startPlay())}):void 0},o.prototype.changePlayStatus=function(t){t===void 0&&(t=!0),this.controllerBtnGroup.playButton.update({isPlay:this.isPlay}),this.isPlay?(this.playHandler=this.startPlay(),this.graph.emit(\"timebarstartplay\",null)):this.playHandler&&(typeof window!=\"undefined\"&&window.cancelAnimationFrame(this.playHandler),t&&this.graph.emit(\"timebarendplay\",null))},o.prototype.destory=function(){this.graph.off(\"valuechange\",function(){});var t=this.group,e=t.find(function(i){return i.get(\"name\")===\"minHandlerShape\"});e&&(e.off(\"minHandlerShape-handler:mousedown\"),e.off(\"minHandlerShape-handler:touchstart\"),e.destroy());var n=t.find(function(i){return i.get(\"name\")===\"maxHandlerShape\"});n&&(n.off(\"maxHandlerShape-handler:mousedown\"),n.off(\"maxHandlerShape-handler:touchstart\"),n.destroy()),this.foregroundShape.off(\"mousedown\"),this.foregroundShape.off(\"touchstart\"),this.foregroundShape.destroy(),t.off(\"\".concat(\"playPauseBtn\",\":click\")),t.off(\"\".concat(\"nextStepBtn\",\":click\")),t.off(\"\".concat(\"preStepBtn\",\":click\")),t.off(\"timebarConfigChanged\"),t.destroy(),this.trendComponent&&this.trendComponent.destory()},o}(),Cf=function(){function o(t){var e=t.x,n=e===void 0?0:e,i=t.y,d=i===void 0?0:i,g=t.container,_=t.text,I=t.padding,D=I===void 0?[4,4,4,4]:I,H=t.className,Z=H===void 0?\"g6-component-timebar-tooltip\":H,te=t.backgroundColor,de=te===void 0?\"#000\":te,Pe=t.textColor,Ge=Pe===void 0?\"#fff\":Pe,Qe=t.opacity,Xe=Qe===void 0?.8:Qe,yt=t.fontSize,Ct=yt===void 0?12:yt;this.container=g,this.className=Z,this.backgroundColor=de,this.textColor=Ge,this.x=n,this.y=d,this.text=_,this.padding=D,this.opacity=Xe,this.fontSize=Ct,this.render()}return o.prototype.render=function(){var t=this.className,e=(this.x,this.y,this.backgroundColor),n=this.textColor,i=this.text,d=this.padding,g=this.opacity,_=this.fontSize,I=this.container,D=_i(\"<div class='\".concat(t,`' style=\"position: absolute; width: fit-content; height: fit-content; opacity: `).concat(g,'\"></div>'));Object(s.isString)(I)&&(I=document.getElementById(I)),I.appendChild(D),this.parentHeight=I.offsetHeight,this.parentWidth=I.offsetWidth,gi(D,{visibility:\"hidden\",top:0,left:0});var H=_i(`\n      <div style='position: absolute; white-space:nowrap; background-color: `.concat(e,\"; font-size: \").concat(_,\"px; border-radius: 4px; width: fit-content; height: fit-content; color: \").concat(n,\"; padding: \").concat(d[0],\"px \").concat(d[1],\"px \").concat(d[2],\"px \").concat(d[3],\"px'></div>\"));H.innerHTML=i,D.appendChild(H),this.backgroundDOM=H;var Z=_i(\"<div style='position: absolute; width: 0px; height: 0px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 10px solid \".concat(e,\"'></div>\"));D.appendChild(Z),this.arrowDOM=Z,this.container=D},o.prototype.show=function(t){var e=t.text,n=t.x;t.y,t.clientX,t.clientY,this.backgroundDOM.innerHTML=e;var i=this.backgroundDOM.offsetWidth,d=this.backgroundDOM.offsetHeight,g=this.arrowDOM.offsetWidth,_=this.arrowDOM.offsetHeight;gi(this.container,{top:\"\".concat(-d-_,\"px\"),left:\"\".concat(n,\"px\"),visibility:\"visible\"}),gi(this.backgroundDOM,{marginLeft:\"\".concat(-i/2,\"px\")}),gi(this.arrowDOM,{marginLeft:\"\".concat(-g/2,\"px\"),top:\"\".concat(d,\"px\")});var I=n-i/2,D=n+i/2;I<0?gi(this.backgroundDOM,{marginLeft:\"\".concat(-i/2-I,\"px\")}):D>this.parentWidth&&gi(this.backgroundDOM,{marginLeft:\"\".concat(-i/2-D+this.parentWidth+12,\"px\")})},o.prototype.hide=function(){gi(this.container,{top:0,left:0,visibility:\"hidden\"})},o}(),iu=function(){return(iu=Object.assign||function(o){for(var t,e=1,n=arguments.length;e<n;e++)for(var i in t=arguments[e])Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i]);return o}).apply(this,arguments)},lc=j.a.transform,ls={fill:\"#5B8FF9\"},wc={fill:\"#e6e8e9\"},Sc=function(){function o(t){this.frameCount=0,this.fontFamily=\"Arial, sans-serif\";var e=t.graph,n=t.canvas,i=t.group,d=t.width,g=t.height,_=t.padding,I=t.data,D=t.start,H=t.end,Z=t.x,te=Z===void 0?0:Z,de=t.y,Pe=de===void 0?0:de,Ge=t.tickLabelFormatter,Qe=t.selectedTickStyle,Xe=Qe===void 0?ls:Qe,yt=t.unselectedTickStyle,Ct=yt===void 0?wc:yt,on=t.tooltipBackgroundColor,sn=t.tooltipFomatter,Nn=t.tickLabelStyle,Tn=t.controllerCfg,Bn=Tn===void 0?{speed:1}:Tn;this.graph=e,this.group=i,this.sliceGroup=i.addGroup({name:\"slice-group\"}),this.canvas=n,this.width=d,this.height=g,this.padding=_,this.data=I,this.start=D,this.end=H,this.tickLabelFormatter=Ge,this.tickLabelStyle=Nn||{},this.selectedTickStyle=Xe,this.unselectedTickStyle=Ct,this.controllerCfg=Bn,this.currentSpeed=Bn.speed||1,this.x=te,this.y=Pe,this.tooltipBackgroundColor=on,this.tooltipFomatter=sn,this.fontFamily=typeof window!=\"undefined\"&&window.getComputedStyle(document.body,null).getPropertyValue(\"font-family\")||\"Arial, sans-serif\",this.renderSlices(),this.initEvent()}return o.prototype.renderSlices=function(){var t=this,e=this,n=e.width,i=e.height,d=e.padding,g=e.data,_=e.start,I=e.end,D=e.tickLabelFormatter,H=e.selectedTickStyle,Z=e.unselectedTickStyle,te=e.tickLabelStyle,de=n-2*d,Pe=i-(3*d+4+10)-2*d,Ge=g.length,Qe=(de-2*(Ge-1))/Ge;this.tickWidth=Qe;var Xe=this.sliceGroup,yt=[],Ct=[],on=Math.round(Ge*_),sn=Math.round(Ge*I);this.startTickRectId=on,this.endTickRectId=sn;var Nn=te.rotate;delete te.rotate,g.forEach(function(Bn,Hn){var Sr=Hn>=on&&Hn<=sn?H:Z,Cr=Xe.addShape(\"rect\",{attrs:iu({x:d+Hn*(Qe+2),y:d,width:Qe,height:Pe},Sr),draggable:!0,name:\"tick-rect-\".concat(Hn)}),po=Xe.addShape(\"rect\",{attrs:{x:d+Hn*Qe+2*(2*Hn-1)/2,y:d,width:Hn===0||Hn===Ge-1?Qe+1:Qe+2,height:Pe,fill:\"#fff\",opacity:0},draggable:!0,name:\"pick-rect-\".concat(Hn)});po.toFront();var wo,Po=Cr.getBBox(),Xo=(Po.minX+Po.maxX)/2;if(yt.push({rect:Cr,pickRect:po,value:Bn.date,x:Xo,y:Po.minY}),D?(wo=D(Bn),!Object(s.isString)(wo)&&wo&&(wo=Bn.date)):Hn%Math.round(Ge/10)==0&&(wo=Bn.date),wo){Ct.push(wo);var ri=Po.maxY+2*d;Xe.addShape(\"line\",{attrs:{stroke:\"#BFBFBF\",x1:Xo,y1:ri,x2:Xo,y2:ri+4},name:\"tick-line\"});var ki=ri+4+d,T=Xe.addShape(\"text\",{attrs:iu({fill:\"#8c8c8c\",stroke:\"#fff\",lineWidth:1,x:Xo,y:ki,textAlign:\"center\",text:wo,textBaseline:\"top\",fontSize:10,fontFamily:t.fontFamily||\"Arial, sans-serif\"},te),capture:!1,name:\"tick-label\"}),B=T.getBBox();if(B.maxX>n?T.attr(\"textAlign\",\"right\"):B.minX<0&&T.attr(\"textAlign\",\"left\"),Object(s.isNumber)(Nn)&&Ct.length!==10){var K=lc([1,0,0,0,1,0,0,0,1],[[\"t\",-Xo,-ki],[\"r\",Nn],[\"t\",Xo-5,ki+2]]);T.attr({textAlign:\"left\",matrix:K})}Ct.length===1?T.attr({textAlign:\"left\"}):Ct.length===10&&T.attr({textAlign:\"right\"})}}),this.tickRects=yt;var Tn=this.group;this.currentSpeed=1,this.controllerBtnGroup=new ts(iu({group:Tn,x:this.x,y:this.y+i+5,width:n,height:40,hideTimeTypeController:!0,speed:this.currentSpeed,fontFamily:this.fontFamily||\"Arial, sans-serif\"},this.controllerCfg))},o.prototype.initEvent=function(){var t=this,e=this.sliceGroup;e.on(\"click\",function(D){var H=D.target;if(H.get(\"type\")===\"rect\"&&H.get(\"name\")){var Z=parseInt(H.get(\"name\").split(\"-\")[2],10);if(!isNaN(Z)){var te=t.tickRects,de=t.unselectedTickStyle;te.forEach(function(Qe){Qe.rect.attr(de)});var Pe=t.selectedTickStyle;te[Z].rect.attr(Pe),t.startTickRectId=Z,t.endTickRectId=Z;var Ge=Z/te.length;t.graph.emit(\"valuechange\",{value:[Ge,Ge]})}}}),e.on(\"dragstart\",function(D){var H=t.tickRects,Z=t.unselectedTickStyle;H.forEach(function(Qe){Qe.rect.attr(Z)});var te=D.target,de=parseInt(te.get(\"name\").split(\"-\")[2],10),Pe=t.selectedTickStyle;H[de].rect.attr(Pe),t.startTickRectId=de;var Ge=de/H.length;t.graph.emit(\"valuechange\",{value:[Ge,Ge]}),t.dragging=!0}),e.on(\"dragover\",function(D){if(t.dragging&&D.target.get(\"type\")===\"rect\"){for(var H=parseInt(D.target.get(\"name\").split(\"-\")[2],10),Z=t.startTickRectId,te=t.tickRects,de=t.selectedTickStyle,Pe=t.unselectedTickStyle,Ge=0;Ge<te.length;Ge++){var Qe=Ge>=Z&&Ge<=H?de:Pe;te[Ge].rect.attr(Qe)}var Xe=te.length;t.endTickRectId=H;var yt=Z/Xe,Ct=H/Xe;t.graph.emit(\"valuechange\",{value:[yt,Ct]})}}),e.on(\"drop\",function(D){if(t.dragging&&(t.dragging=!1,D.target.get(\"type\")===\"rect\")){var H=t.startTickRectId,Z=parseInt(D.target.get(\"name\").split(\"-\")[2],10);if(!(Z<H)){var te=t.selectedTickStyle,de=t.tickRects;de[Z].rect.attr(te),t.endTickRectId=Z;var Pe=de.length,Ge=H/Pe,Qe=Z/Pe;t.graph.emit(\"valuechange\",{value:[Ge,Qe]})}}});var n=this.tooltipBackgroundColor,i=this.tooltipFomatter,d=this.canvas,g=new Cf({container:d.get(\"container\"),backgroundColor:n}),_=this.tickRects;_.forEach(function(D){var H=D.pickRect;H.on(\"mouseenter\",function(Z){var te=Z.target;if(te.get(\"type\")===\"rect\"){var de=parseInt(te.get(\"name\").split(\"-\")[2],10),Pe=d.getClientByPoint(_[de].x,_[de].y);g.show({x:_[de].x,y:_[de].y,clientX:Pe.x,clientY:Pe.y,text:i?i(_[de].value):_[de].value})}}),H.on(\"mouseleave\",function(Z){g.hide()})});var I=this.group;I.on(\"\".concat(\"playPauseBtn\",\":click\"),function(){t.isPlay=!t.isPlay,t.changePlayStatus()}),I.on(\"\".concat(\"nextStepBtn\",\":click\"),function(){t.updateStartEnd(1)}),I.on(\"\".concat(\"preStepBtn\",\":click\"),function(){t.updateStartEnd(-1)}),I.on(\"timebarConfigChanged\",function(D){D.type;var H=D.speed;t.currentSpeed=H})},o.prototype.changePlayStatus=function(t){t===void 0&&(t=!0),this.controllerBtnGroup.playButton.update({isPlay:this.isPlay}),this.isPlay?(this.playHandler=this.startPlay(),this.graph.emit(\"timebarstartplay\",null)):this.playHandler&&(typeof window!=\"undefined\"&&window.cancelAnimationFrame(this.playHandler),t&&this.graph.emit(\"timebarendplay\",null))},o.prototype.startPlay=function(){var t=this;return typeof window!=\"undefined\"?window.requestAnimationFrame(function(){var e=t.currentSpeed;t.frameCount%(60/e)==0&&(t.frameCount=0,t.updateStartEnd(1)),t.frameCount++,t.isPlay&&(t.playHandler=t.startPlay())}):void 0},o.prototype.updateStartEnd=function(t){var e=this.tickRects,n=e.length,i=this.unselectedTickStyle,d=this.selectedTickStyle,g=this.endTickRectId;if(t>0?this.endTickRectId++:(e[this.endTickRectId].rect.attr(i),this.endTickRectId--),g!==this.startTickRectId)this.endTickRectId<this.startTickRectId&&(this.startTickRectId=this.endTickRectId);else{for(var _=this.startTickRectId;_<=this.endTickRectId-1;_++)e[_].rect.attr(i);this.startTickRectId=this.endTickRectId}if(e[this.endTickRectId]){e[this.endTickRectId].rect.attr(d);var I=this.startTickRectId/n,D=this.endTickRectId/n;this.graph.emit(\"valuechange\",{value:[I,D]})}},o.prototype.destory=function(){var t=this.sliceGroup;t.off(\"click\"),t.off(\"dragstart\"),t.off(\"dragover\"),t.off(\"drop\"),this.tickRects.forEach(function(e){var n=e.pickRect;n.off(\"mouseenter\"),n.off(\"mouseleave\")}),this.tickRects.length=0,t.off(\"\".concat(\"playPauseBtn\",\":click\")),t.off(\"\".concat(\"nextStepBtn\",\":click\")),t.off(\"\".concat(\"preStepBtn\",\":click\")),t.off(\"timebarConfigChanged\"),this.sliceGroup.destroy()},o}(),ul=function(){var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(n[d]=i[d])})(t,e)};return function(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Class extends value \"+String(e)+\" is not a constructor or null\");function n(){this.constructor=t}o(t,e),t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}(),fc=function(){return(fc=Object.assign||function(o){for(var t,e=1,n=arguments.length;e<n;e++)for(var i in t=arguments[e])Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i]);return o}).apply(this,arguments)},Kl=function(o,t){var e={};for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&t.indexOf(n)<0&&(e[n]=o[n]);if(o!=null&&typeof Object.getOwnPropertySymbols==\"function\"){var i=0;for(n=Object.getOwnPropertySymbols(o);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(o,n[i])&&(e[n[i]]=o[n[i]])}return e},Yf=function(o){function t(e){var n=o.call(this,e)||this;return n.afterrenderListener=function(i){return n.filterData({})},n.valueChangeListener=Object(s.throttle)(function(i){return n.filterData(i)},200,{trailing:!0,leading:!0}),n.changeData=function(i){var d=n.get(\"graph\");n.cacheGraphData=d.get(\"data\"),n.filterData({})},n}return ul(t,o),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,n,i=this.get(\"graph\"),d=this._cfgs,g=d.width,_=d.height,I=this.get(\"className\")||\"g6-component-timebar\",D=this.get(\"container\"),H=this.get(\"graph\").get(\"container\");D?(Object(s.isString)(D)&&(D=document.getElementById(D)),e=D):gi(e=_i(\"<div class='\".concat(I,\"'></div>\")),{position:\"relative\"}),H.appendChild(e),this.set(\"timeBarContainer\",e),n=i.get(\"renderer\")===\"SVG\"?new rr.Canvas({container:e,width:g,height:_}):new Za.Canvas({container:e,width:g,height:_}),this.get(\"containerCSS\")&&gi(e,this.get(\"containerCSS\")),this.set(\"canvas\",n)},t.prototype.init=function(){this.initContainer();var e=this.get(\"canvas\").addGroup({name:\"timebar-group\"});this.set(\"timeBarGroup\",e),this.renderTrend(),this.initEvent();var n=typeof window!=\"undefined\"&&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 n=this.get(\"timebar\");n&&(n.isPlay=!!e,n.changePlayStatus())},t.prototype.renderTrend=function(){var e=this,n=this._cfgs,i=n.width,d=n.x,g=n.y,_=n.padding,I=n.type,D=n.trend,H=n.slider,Z=n.controllerCfg,te=n.textStyle,de=n.tick,Pe=n.backgroundStyle,Ge=n.foregroundStyle,Qe=D.data,Xe=Kl(D,[\"data\"]),yt=i-2*_,Ct=I===\"trend\"?26:4,on=this.get(\"graph\"),sn=this.get(\"timeBarGroup\"),Nn=this.get(\"canvas\"),Tn=null;if(I===\"trend\"||I===\"simple\"){var Bn=this.get(\"getValue\");Tn=new Yl(fc(fc({graph:on,canvas:Nn,group:sn,type:I,x:d+_,y:I===\"trend\"?g+_:g+_+15,width:yt,height:Ct,padding:_,backgroundStyle:Pe,foregroundStyle:Ge,trendCfg:fc(fc({},Xe),{data:Qe.map(function(Sr){return(Bn==null?void 0:Bn(Sr))||Sr.value})})},H),{tick:{ticks:Qe,tickLabelFormatter:de.tickLabelFormatter,tickLabelStyle:de.tickLabelStyle,tickLineStyle:de.tickLineStyle},handlerStyle:fc(fc({},H.handlerStyle),{height:H.height||Ct}),controllerCfg:Z,textStyle:te}))}else I===\"tick\"&&(Tn=new Sc(fc({graph:on,canvas:Nn,group:sn,x:d+_,y:g+_,width:i,height:42,padding:2,controllerCfg:Z},de)));var Hn=function Sr(){var Cr=e.get(\"timebar\");Cr.draggingHandler=!1,Cr.isPlay&&(Cr.isPlay=!1,Cr.currentHandler=Cr.maxHandlerShape,Cr.changePlayStatus()),document.removeEventListener(\"mouseup\",Sr)};Nn.on(\"mousedown\",function(Sr){Sr.target.get(\"name\")!==\"maxHandlerShape-handler\"&&Sr.target.get(\"name\")!==\"minHandlerShape-handler\"&&Sr.target!==Tn.foregroundShape||document.addEventListener(\"mouseup\",Hn)}),this.set(\"timebar\",Tn)},t.prototype.filterData=function(e){var n,i=e.value;if(!i){i=[];var d=this._cfgs.type;d&&d!==\"trend\"&&d!==\"simple\"?d===\"tick\"&&(i[0]=this._cfgs.tick.start,i[1]=this._cfgs.tick.end):(i[0]=this._cfgs.slider.start,i[1]=this._cfgs.slider.end)}var g=null,_=this._cfgs.type;if(_===\"trend\"||_===\"simple\"?g=this._cfgs.trend.data:_===\"tick\"&&(g=this._cfgs.tick.data),g&&g.length!==0){var I=this.get(\"rangeChange\"),D=this.get(\"graph\"),H=Math.round(g.length*i[0]),Z=Math.round(g.length*i[1]);Z=Z>=g.length?g.length-1:Z,H=H>=g.length?g.length-1:H;var te=(n=this._cfgs.tick)===null||n===void 0?void 0:n.tickLabelFormatter,de=te?te(g[H]):g[H].date,Pe=te?te(g[Z]):g[Z].date;if(_!==\"tick\"&&this.get(\"timebar\").setText(de,Pe),I)I(D,de,Pe);else{(!this.cacheGraphData||this.cacheGraphData.nodes&&this.cacheGraphData.nodes.length===0)&&(this.cacheGraphData=D.get(\"data\"));var Ge=this.get(\"filterItemTypes\"),Qe=this.get(\"changeData\"),Xe=this.get(\"getDate\"),yt=this.get(\"shouldIgnore\"),Ct=g[H].date,on=g[Z].date;if(Qe||Qe===void 0){var sn=this.cacheGraphData.nodes,Nn=this.cacheGraphData.edges,Tn={},Bn={};D.getNodes().forEach(function(Hn){return Tn[Hn.getID()]=!0}),D.getEdges().forEach(function(Hn){return Bn[Hn.getID()]=!0}),Ge.includes(\"node\")&&(sn.forEach(function(Hn){var Sr=+((Xe==null?void 0:Xe(Hn))||Hn.date),Cr=Sr>=Ct&&Sr<=on||(yt==null?void 0:yt(\"node\",Hn,{min:Ct,max:on})),po=Tn[Hn.id];po&&!Cr?(D.removeItem(Hn.id),Tn[Hn.id]=!1):!po&&Cr&&(D.addItem(\"node\",Hn),Tn[Hn.id]=!0)}),Nn==null||Nn.forEach(function(Hn){var Sr=Tn[Hn.source]&&Tn[Hn.target]||(yt==null?void 0:yt(\"edge\",Hn,{min:Ct,max:on})),Cr=!!D.findById(Hn.id);Cr&&!Sr?(D.removeItem(Hn.id),Bn[Hn.id]=!1):!Cr&&Sr?(D.addItem(\"edge\",Hn),Bn[Hn.id]=!0):Cr||(Bn[Hn.id]=!1)})),(this.get(\"filterEdge\")||Ge.includes(\"edge\"))&&(Nn==null||Nn.filter(function(Hn){var Sr=+((Xe==null?void 0:Xe(Hn))||Hn.date),Cr=Sr>=Ct&&Sr<=on||(yt==null?void 0:yt(\"edge\",Hn,{min:Ct,max:on})),po=Tn[Hn.source]&&Tn[Hn.target],wo=Cr&&po,Po=Bn[Hn.id];Po&&!wo?(Bn[Hn.id]=!1,D.removeItem(Hn.id)):!Po&&wo&&(Bn[Hn.id]=!0,D.addItem(\"edge\",Hn))}))}else Ge.includes(\"node\")&&D.getNodes().forEach(function(Hn){var Sr=Hn.getModel();if(!(yt!=null&&yt(\"node\",Sr,{min:Ct,max:on}))){var Cr=+((Xe==null?void 0:Xe(Sr))||Sr.date);Cr<Ct||Cr>on?D.hideItem(Hn):D.showItem(Hn)}}),(this.get(\"filterEdge\")||Ge.includes(\"edge\"))&&D.getEdges().forEach(function(Hn){var Sr=Hn.getModel();if(!(yt!=null&&yt(\"edge\",Sr,{min:g[H].date,max:g[Z].date}))){var Cr=+((Xe==null?void 0:Xe(Sr))||Sr.date);if(Cr<g[H].date||Cr>g[Z].date)D.hideItem(Hn);else{var po=Hn.getSource().isVisible(),wo=Hn.getTarget().isVisible();po&&wo&&D.showItem(Hn)}}})}}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(\"valuechange\",this.valueChangeListener)},t.prototype.destroy=function(){var e=this.get(\"graph\");e.off(\"afterchangedata\",this.changeData),e.off(\"afterrender\",this.afterrenderListener),e.off(\"valuechange\",this.valueChangeListener);var n=this.get(\"timebar\");n&&n.destory&&n.destory(),o.prototype.destroy.call(this);var i=this.get(\"timeBarContainer\");if(i){var d=this.get(\"container\");d||(d=this.get(\"graph\").get(\"container\")),Object(s.isString)(d)&&(d=document.getElementById(d)),d.removeChild(i)}},t}(gs),Ec=function(){var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(n[d]=i[d])})(t,e)};return function(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Class extends value \"+String(e)+\" is not a constructor or null\");function n(){this.constructor=t}o(t,e),t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}(),$c=Oa.applyMatrix,dc=function(o){function t(e){return o.call(this,e)||this}return Ec(t,o),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,n=this._cfgs,i=n.graph;if(!this.destroyed){var d=this.get(\"container\");Object(s.isString)(d)&&(d=document.getElementById(d));var g=_i(\"<div class=\".concat(n.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>`)),_=0,I=0,D=!1,H=0,Z=0,te=0,de=0,Pe=0,Ge=0;d.addEventListener(\"mousedown\",function(Qe){if(n.refresh=!1,Qe.target===g){var Xe=g.style;te=parseInt(Xe.width,10),de=parseInt(Xe.height,10);var yt=e.get(\"width\"),Ct=e.get(\"height\");te>yt||de>Ct||(Ge=i.getZoom(),Pe=e.get(\"ratio\"),D=!0,_=Qe.clientX,I=Qe.clientY)}},!1),d.addEventListener(\"mousemove\",function(Qe){if(D&&!Object(s.isNil)(Qe.clientX)&&!Object(s.isNil)(Qe.clientY)){var Xe=e.get(\"width\"),yt=e.get(\"height\"),Ct=g.style;H=parseInt(Ct.left,10),Z=parseInt(Ct.top,10),te=parseInt(Ct.width,10),de=parseInt(Ct.height,10);var on=_-Qe.clientX,sn=I-Qe.clientY;H-on<0?on=H:H-on+te>=Xe&&(on=0),Z-sn<0?sn=Z:Z-sn+de>=yt&&(sn=0),Z-=sn,gi(g,{left:\"\".concat(H-=on,\"px\"),top:\"\".concat(Z,\"px\")}),i.translate(on*Ge/Pe,sn*Ge/Pe),_=Qe.clientX,I=Qe.clientY}},!1),d.addEventListener(\"mouseleave\",function(){D=!1,n.refresh=!0},!1),d.addEventListener(\"mouseup\",function(){D=!1,n.refresh=!0},!1),this.set(\"viewport\",g),d.appendChild(g)}},t.prototype.updateViewport=function(){if(!this.destroyed){var e=this.get(\"ratio\"),n=this.get(\"width\"),i=this.get(\"height\"),d=this.get(\"graph\"),g=d.get(\"width\"),_=g/d.get(\"height\"),I=d.getGroup(),D=I.getCanvasBBox(),H=[(D.minX+D.maxX)/2,(D.minY+D.maxY)/2],Z=[D.maxX-D.minX,D.maxY-D.minY],te={centerX:H[0],centerY:H[1],width:0,height:0,minX:0,minY:0};D[0]/D[1]>_?(te.width=Z[0],te.height=te.width/_):(te.height=Z[1],te.width=te.height*_),te.minX=H[0]-te.width/2,te.minY=H[1]-te.height/2;var de=I.getMatrix();de||(de=[1,0,0,0,1,0,0,0,1]);var Pe=j.b.invert([1,0,0,0,1,0,0,0,1],de),Ge=$c({x:te.minX,y:te.minY},Pe),Qe=d.getCanvasByPoint(Ge.x,Ge.y),Xe=this.get(\"viewport\");Xe||this.initViewport();var yt=g/te.width,Ct=yt*n,on=yt*i,sn=n*-Qe.x/te.width,Nn=i*-Qe.y/te.height,Tn=sn+Ct,Bn=Nn+on;sn<0&&(Ct+=sn,sn=0),Tn>n&&(Ct-=Tn-n),Nn<0&&(on+=Nn,Nn=0),Bn>i&&(on-=Bn-i),this.set(\"ratio\",e),gi(Xe,{left:\"\".concat(sn,\"px\"),top:\"\".concat(Nn,\"px\"),width:\"\".concat(Ct,\"px\"),height:\"\".concat(on,\"px\")})}},t.prototype.init=function(){this.initContainer()},t.prototype.initContainer=function(){var e=this.get(\"graph\"),n=e.get(\"width\"),i=e.get(\"height\")/n,d=this.get(\"className\"),g=this.get(\"container\"),_=this.get(\"width\"),I=this.get(\"height\");_||I||(_=200),_?(I=i*_,this.set(\"height\",I)):(_=1/i*I,this.set(\"width\",_));var D=_i(\"<div class='\".concat(d,\"' style='width: \").concat(_,\"px; height: \").concat(I,\"px; overflow: hidden; position: relative;'></div>\"));Object(s.isString)(g)&&(g=document.getElementById(g)),g?g.appendChild(D):e.get(\"container\").appendChild(D),this.set(\"container\",D);var H=_i('<div class=\"g6-minimap-container\" style=\"position: relative; width: 100%; height: 100%; text-align: center; display: table;\"></div>');D.appendChild(H);var Z=_i('<span style=\"display: table-cell; vertical-align: middle; \"></span>');H.appendChild(Z),this.set(\"containerDOM\",H),this.set(\"containerSpan\",Z);var te=_i('<img alt=\"\" src=\"'.concat(this.get(\"graphImg\"),'\" style=\"display: inline-block; user-select: none;\" draggable=\"false\" />'));this.set(\"imgDOM\",te),this.updateImgSize(),Z.appendChild(te),this.updateCanvas()},t.prototype.updateImgSize=function(){var e=this.get(\"imgDOM\"),n=this.get(\"width\"),i=this.get(\"height\");e.onload=function(){var d=function(g,_){var I,D;if(g.naturalWidth)I=g.naturalWidth,D=g.naturalHeight;else{var H=new Image;H.src=g.src,H.onload=function(){_&&_(H.width,H.height)}}return[I,D]}(e);d[0]>d[1]?e.width=n:e.height=i}},t.prototype.updateCanvas=function(){if(this.get(\"refresh\")){var e=this.get(\"graph\");if(!e.get(\"destroyed\")){this.get(\"viewportChange\")&&(this.set(\"viewportChange\",!1),this.updateViewport());var n=this.get(\"width\")/e.get(\"canvas\").getCanvasBBox().width;this.set(\"ratio\",n),this.updateViewport()}}},t.prototype.getViewport=function(){return this.get(\"viewport\")},t.prototype.getContainer=function(){return this.get(\"container\")},t.prototype.updateGraphImg=function(e){this.get(\"imgDOM\").remove(),this.set(\"graphImg\",e);var n=_i('<img alt=\"\" src=\"'.concat(e,'\" style=\"display: inline-block;\" ondragstart=\"return false;\" onselectstart=\"return false;\"/>'));this.set(\"imgDOM\",n),n.src=e,this.updateImgSize(),this.get(\"containerSpan\").appendChild(n),this.updateCanvas()},t.prototype.destroy=function(){var e=this.get(\"container\");e.parentNode.removeChild(e)},t}(gs),Kf=function(){var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(n[d]=i[d])})(t,e)};return function(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Class extends value \"+String(e)+\" is not a constructor or null\");function n(){this.constructor=t}o(t,e),t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}(),ql=function(){return(ql=Object.assign||function(o){for(var t,e=1,n=arguments.length;e<n;e++)for(var i in t=arguments[e])Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i]);return o}).apply(this,arguments)},Ql=Oa.distance,gl={stroke:\"#000\",strokeOpacity:.8,lineWidth:2,fillOpacity:1,fill:\"#fff\"},Lu=function(o){function t(e){return o.call(this,e)||this}return Kf(t,o),t.prototype.getDefaultCfgs=function(){return{type:\"both\",trigger:\"mousemove\",r:60,delegateStyle:Object(s.clone)(gl),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\"}}return e},t.prototype.init=function(){var e=this.get(\"showLabel\"),n=e===\"node\"||e===\"both\",i=e===\"edge\"||e===\"both\";this.set(\"showNodeLabel\",n),this.set(\"showEdgeLabel\",i),this.get(\"shouldShow\")||this.set(\"shouldShow\",function(){return!0})},t.prototype.createDelegate=function(e){var n=this,i=n.get(\"delegate\");i&&!i.destroyed||(n.filter(e),(i=n.get(\"delegate\")).on(\"dragstart\",function(d){}),i.on(\"drag\",function(d){n.filter(d)}),this.get(\"scaleRBy\")===\"wheel\"&&i.on(\"mousewheel\",function(d){n.scaleRByWheel(d)}))},t.prototype.scaleRByWheel=function(e){if(e&&e.originalEvent){e.preventDefault&&e.preventDefault();var n,i=this.get(\"graph\"),d=this.get(\"delegate\");d&&{x:d.attr(\"x\"),y:d.attr(\"y\")}||i.getPointByClient(e.clientX,e.clientY),n=e.originalEvent.wheelDelta<0?.95:1/.95;var g=this.get(\"maxR\"),_=this.get(\"minR\"),I=this.get(\"r\");(I>(g||i.get(\"height\"))&&n>1||I<(_||.05*i.get(\"height\"))&&n<1)&&(n=1),I*=n,this.set(\"r\",I),this.filter(e)}},t.prototype.filter=function(e){var n=this.get(\"graph\"),i=n.getNodes(),d={},g=this.get(\"r\"),_=this.get(\"type\"),I={x:e.x,y:e.y};this.updateDelegate(I,g);var D=this.get(\"shouldShow\"),H=this.get(\"vShapes\");H&&H.forEach(function(Qe){Qe.remove(),Qe.destroy()}),H=[],i.forEach(function(Qe){var Xe=Qe.getModel(),yt=Xe.x,Ct=Xe.y;Ql({x:yt,y:Ct},I)<g&&(d[Xe.id]=Qe)});var Z=n.getEdges(),te=[];Z.forEach(function(Qe){var Xe=Qe.getModel(),yt=Xe.source,Ct=Xe.target;D(Xe)&&(_===\"only-source\"||_===\"one\"?d[yt]&&!d[Ct]&&te.push(Qe):_===\"only-target\"||_===\"one\"?d[Ct]&&!d[yt]&&te.push(Qe):_===\"both\"&&d[yt]&&d[Ct]&&te.push(Qe))});var de=this.get(\"showNodeLabel\"),Pe=this.get(\"showEdgelabel\"),Ge=n.get(\"group\");te.forEach(function(Qe){Qe.get(\"group\").get(\"children\").forEach(function(Xe){var yt=Xe.get(\"type\"),Ct=Ge.addShape(yt,{attrs:Xe.attr()});H.push(Ct),de&&yt===\"text\"&&Ct.set(\"visible\",!0)})}),Object.keys(d).forEach(function(Qe){var Xe=d[Qe].get(\"group\").clone();if(Ge.add(Xe),H.push(Xe),Pe)for(var yt=Xe.get(\"children\"),Ct=0;Ct<yt.length;Ct++){var on=yt[Ct];on.get(\"type\")===\"text\"&&on.set(\"visible\",!0)}}),this.set(\"vShapes\",H)},t.prototype.updateParams=function(e){var n=e.r,i=e.trigger,d=e.minR,g=e.maxR,_=e.scaleRBy,I=e.showLabel,D=e.shouldShow;if(isNaN(e.r)||this.set(\"r\",n),isNaN(g)||this.set(\"maxR\",g),isNaN(d)||this.set(\"minR\",d),i!==\"mousemove\"&&i!==\"click\"||this.set(\"trigger\",i),_===\"wheel\"||_===\"unset\"){this.set(\"scaleRBy\",_),this.get(\"delegate\").remove(),this.get(\"delegate\").destroy();var H=this.get(\"dPercentText\");H&&(H.remove(),H.destroy())}I!==\"node\"&&I!==\"both\"||this.set(\"showNodeLabel\",!0),I!==\"edge\"&&I!==\"both\"||this.set(\"showEdgeLabel\",!0),D&&this.set(\"shouldShow\",D)},t.prototype.updateDelegate=function(e,n){var i=this,d=i.get(\"graph\"),g=i.get(\"delegate\");if(!g||g.destroyed){var _=d.get(\"group\"),I=i.get(\"delegateStyle\")||gl;g=_.addShape(\"circle\",{attrs:ql({r:n,x:e.x,y:e.y},I),name:\"lens-shape\",draggable:!0}),this.get(\"trigger\")!==\"drag\"&&this.get(\"scaleRBy\")===\"wheel\"&&g.on(\"mousewheel\",function(D){i.scaleRByWheel(D)})}else g.attr({x:e.x,y:e.y,r:n});i.set(\"delegate\",g)},t.prototype.clear=function(){var e=this.get(\"vShapes\");e&&e.forEach(function(i){i.remove(),i.destroy()}),e=[],this.set(\"vShapes\",e);var n=this.get(\"delegate\");n&&!n.destroyed&&(n.remove(),n.destroy())},t.prototype.destroy=function(){this.clear()},t}(gs),Tl=function(){var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(n[d]=i[d])})(t,e)};return function(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Class extends value \"+String(e)+\" is not a constructor or null\");function n(){this.constructor=t}o(t,e),t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}(),Jl=Oa.pointLineDistance,vl={stroke:\"#FA8C16\",lineWidth:1},_f=function(o){function t(e){return o.call(this,e)||this}return Tl(t,o),t.prototype.getDefaultCfgs=function(){return{line:vl,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 n=e.item,i=(n.get(\"delegateShape\")||n).getBBox(),d=n.getModel(),g=d.x-i.x,_=d.y-i.y;this.show({x:i.minX+g,y:i.minY+_},{width:i.width,height:i.height})},t.prototype.onDragEnd=function(){this.destory()},t.prototype.initBoxLine=function(){var e=this._cfgs,n=e.horizontalLines,i=e.verticalLines,d=e.itemAlignType;this.get(\"graph\").getNodes().forEach(function(g){var _=g.getBBox(),I=g.get(\"id\");d===!0||d===\"horizontal\"?(n[\"\".concat(I,\"tltr\")]=[_.minX,_.minY,_.maxX,_.minY,g],n[\"\".concat(I,\"lcrc\")]=[_.minX,_.centerY,_.maxX,_.centerY,g],n[\"\".concat(I,\"blbr\")]=[_.minX,_.maxY,_.maxX,_.maxY,g]):d===\"center\"&&(n[\"\".concat(I,\"lcrc\")]=[_.minX,_.centerY,_.maxX,_.centerY,g]),d===!0||d===\"vertical\"?(i[\"\".concat(I,\"tlbl\")]=[_.minX,_.minY,_.minX,_.maxY,g],i[\"\".concat(I,\"tcbc\")]=[_.centerX,_.minY,_.centerX,_.maxY,g],i[\"\".concat(I,\"trbr\")]=[_.maxX,_.minY,_.maxX,_.maxY,g]):d===\"center\"&&(i[\"\".concat(I,\"tcbc\")]=[_.centerX,_.minY,_.centerX,_.maxY,g])})},t.prototype.show=function(e,n){var i=Object(s.mix)({},e);return this.itemAlign(e,n,i),e},t.prototype.itemAlign=function(e,n,i){var d=this,g=this._cfgs,_=g.horizontalLines,I=g.verticalLines,D=g.tolerance,H={x:i.x+n.width/2,y:i.y},Z={x:i.x+n.width/2,y:i.y+n.height/2},te={x:i.x+n.width/2,y:i.y+n.height},de={x:i.x,y:i.y+n.height/2},Pe={x:i.x+n.width,y:i.y+n.height/2},Ge=[],Qe=[],Xe=null;if(this.clearAlignLine(),Object(s.each)(_,function(Ct){Ct[4].isVisible&&(Ge.push(d.getLineDisObject(Ct,H)),Ge.push(d.getLineDisObject(Ct,Z)),Ge.push(d.getLineDisObject(Ct,te)))}),Object(s.each)(I,function(Ct){Ct[4].isVisible&&(Qe.push(d.getLineDisObject(Ct,de)),Qe.push(d.getLineDisObject(Ct,Z)),Qe.push(d.getLineDisObject(Ct,Pe)))}),Ge.sort(function(Ct,on){return Ct.dis-on.dis}),Qe.sort(function(Ct,on){return Ct.dis-on.dis}),Ge.length!==0&&Ge[0].dis<D){e.y=Ge[0].line[1]-Ge[0].point.y+i.y,Xe={type:\"item\",horizontals:[Ge[0]]};for(var yt=1;yt<3;yt++)Ge[0].dis===Ge[yt].dis&&Xe.horizontals.push(Ge[yt])}if(Qe.length!==0&&Qe[0].dis<D)for(e.x=Qe[0].line[0]-Qe[0].point.x+i.x,Xe?Xe.verticals=[Qe[0]]:Xe={type:\"item\",verticals:[Qe[0]]},yt=1;yt<3;yt++)Qe[0].dis===Qe[yt].dis&&Xe.verticals.push(Qe[yt]);Xe&&(Xe.bbox=n,this.addAlignLine(Xe))},t.prototype.addAlignLine=function(e){var n=e.bbox,i=e.type,d=e.horizontals,g=e.verticals,_=this._cfgs,I=_.line,D=_.alignLines,H=this.get(\"graph\").get(\"group\");i===\"item\"&&(d&&Object(s.each)(d,function(Z){var te,de,Pe=Z.line,Ge=Z.point,Qe=(Pe[0]+Pe[2])/2;Ge.x<Qe?(te=Ge.x-n.width/2,de=Math.max(Pe[0],Pe[2])):(te=Ge.x+n.width/2,de=Math.min(Pe[0],Pe[2]));var Xe=Object(s.mix)({x1:te,y1:Pe[1],x2:de,y2:Pe[1]},I),yt=H.addShape(\"line\",{attrs:Xe,capture:!1});D.push(yt)}),g&&Object(s.each)(g,function(Z){var te,de,Pe=Z.line,Ge=Z.point,Qe=(Pe[1]+Pe[3])/2;Ge.y<Qe?(te=Ge.y-n.height/2,de=Math.max(Pe[1],Pe[3])):(te=Ge.y+n.height/2,de=Math.min(Pe[1],Pe[3]));var Xe=Object(s.mix)({x1:Pe[0],y1:te,x2:Pe[0],y2:de},I),yt=H.addShape(\"line\",{attrs:Xe,capture:!1});D.push(yt)}))},t.prototype.getLineDisObject=function(e,n){return{line:e,point:n,dis:Jl(e,n)}},t.prototype.getContainer=function(){return this.get(\"container\")},t.prototype.clearAlignLine=function(){var e=this._cfgs.alignLines;Object(s.each)(e,function(n){n.remove()}),e.length=0},t.prototype.destory=function(){var e=this._cfgs,n=e.horizontalLines,i=e.verticalLines;this.get(\"graph\").getNodes().forEach(function(d){var g=d.get(\"id\");delete n[\"\".concat(g,\"tltr\")],delete n[\"\".concat(g,\"lcrc\")],delete n[\"\".concat(g,\"blbr\")],delete i[\"\".concat(g,\"tlbl\")],delete i[\"\".concat(g,\"tcbc\")],delete i[\"\".concat(g,\"trbr\")]}),this.clearAlignLine()},t}(gs),Mf=function(){var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(n[d]=i[d])})(t,e)};return function(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Class extends value \"+String(e)+\" is not a constructor or null\");function n(){this.constructor=t}o(t,e),t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}(),Ds=function(){return(Ds=Object.assign||function(o){for(var t,e=1,n=arguments.length;e<n;e++)for(var i in t=arguments[e])Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i]);return o}).apply(this,arguments)},ef=[\"click\",\"mouseenter\"],Pl=function(o){function t(e){return o.call(this,e)||this}return Mf(t,o),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\")||{};e.multiple&&e.trigger===\"mouseenter\"&&this.set(\"multiple\",!1);var n=this.get(\"align\");if(!n){var i=this.get(\"position\").split(\"-\");i.includes(\"left\")&&(n=\"left\"),n=i.includes(\"right\")?\"right\":\"center\",this.set(\"align\",n)}var d=this.get(\"graph\").get(\"container\"),g=_i(`<div class='g6-legend-container' style=\"position: absolute;\"></div>`);d.appendChild(g),this.set(\"container\",g);var _=this.render();gi(g,this.getContainerPos(_)),this.bindEvents()},t.prototype.getContainerPos=function(e){e===void 0&&(e=[0,0]);var n=this.get(\"graph\"),i=this.get(\"offsetX\"),d=this.get(\"offsetY\"),g=this.get(\"margin\"),_=this.get(\"position\").split(\"-\"),I={top:0,right:1,bottom:2,left:3},D={left:(n.getWidth()-e[0])/2+0,top:(n.getHeight()-e[1])/2+0};return _.forEach(function(H){var Z=g[I[H]],te=H;switch(H){case\"top\":case\"left\":Z+=0;break;case\"bottom\":Z=n.getHeight()-e[1]-Z+0,te=\"top\";break;default:Z=n.getWidth()-e[0]-Z+0,te=\"left\"}D[te]=Z}),D.top+=d+n.getContainer().offsetTop,D.left+=i+n.getContainer().offsetLeft,Object.keys(D).forEach(function(H){D[H]=\"\".concat(D[H],\"px\")}),D},t.prototype.bindEvents=function(){var e=this,n=e.get(\"filter\");if(n&&n.enable){var i=n.trigger||\"click\";ef.includes(i)||(console.warn(\"Trigger for legend filterling must be 'click' or 'mouseenter', 'click' will take effect by default.\"),i=\"click\");var d=e.get(\"legendCanvas\");i===\"mouseenter\"?(d.on(\"node-container:mouseenter\",function(g){return e.filterData(g)}),d.on(\"node-container:mouseleave\",function(g){e.clearFilter(),e.clearActiveLegend()})):(d.on(\"node-container:click\",function(g){return e.filterData(g)}),d.on(\"click\",function(g){g.target&&g.target.isCanvas&&g.target.isCanvas()&&(e.clearFilter(),e.clearActiveLegend())}))}},t.prototype.changeData=function(e){this.set(\"data\",e);var n=this.render();gi(this.get(\"container\"),this.getContainerPos(n))},t.prototype.activateLegend=function(e){var n=this.get(\"filter\");n!=null&&n.multiple||this.clearActiveLegend();var i=e.get(\"parent\");i.get(\"active\")?(i.set(\"active\",!1),this.findLegendItemsByState(\"active\").length&&i.set(\"inactive\",!0)):(i.set(\"inactive\",!1),i.set(\"active\",!0)),this.findLegendItemsByState(\"active\").length?this.findLegendItemsByState(\"active\",\"all\",!1).forEach(function(H){H.set(\"inactive\",!0)}):this.clearActiveLegend();var d=(n==null?void 0:n.legendStateStyles)||{},g=(d==null?void 0:d.inactive)||{opacity:.5,\"text-shape\":{opacity:.5}},_=g[\"text-shape\"]||{};this.findLegendItemsByState(\"inactive\").forEach(function(H){var Z=H.get(\"children\"),te=Z[0],de=Z[1];te.attr(Ds(Ds({},te.get(\"oriAttrs\")),g)),de.attr(Ds(Ds({},de.get(\"oriAttrs\")),_))});var I=(d==null?void 0:d.active)||{stroke:\"#000\",lineWidth:2,\"text-shape\":{fontWeight:\"bold\"}},D=I[\"text-shape\"]||{};this.findLegendItemsByState(\"active\").forEach(function(H){var Z=H.get(\"children\"),te=Z[0],de=Z[1];te.attr(Ds(Ds({},te.get(\"oriAttrs\")),I)),de.attr(Ds(Ds({},de.get(\"oriAttrs\")),D))})},t.prototype.findLegendItemsByState=function(e,n,i){n===void 0&&(n=\"all\"),i===void 0&&(i=!0);var d=this.get(\"legendCanvas\").find(function(I){return I.get(\"name\")===\"root\"}),g=d.find(function(I){return I.get(\"name\")===\"node-group\"}),_=d.find(function(I){return I.get(\"name\")===\"edge-group\"});return n===\"node\"?g.get(\"children\").filter(function(I){return!!I.get(e)===i}):n===\"edge\"?_.get(\"children\").filter(function(I){return!!I.get(e)===i}):g.get(\"children\").filter(function(I){return!!I.get(e)===i}).concat(_.get(\"children\").filter(function(I){return!!I.get(e)===i}))},t.prototype.clearActiveLegend=function(){var e=this.get(\"legendCanvas\").find(function(n){return n.get(\"name\")===\"root\"});[e.find(function(n){return n.get(\"name\")===\"node-group\"}),e.find(function(n){return n.get(\"name\")===\"edge-group\"})].forEach(function(n){n.get(\"children\").forEach(function(i){i.set(\"active\",!1),i.set(\"inactive\",!1);var d=i.get(\"children\"),g=d[0],_=d[1];g.attr(g.get(\"oriAttrs\")),_.attr(_.get(\"oriAttrs\"))})})},t.prototype.filterData=function(e){var n=this.get(\"filter\"),i=n==null?void 0:n.filterFunctions;if(n&&i){var d=this.get(\"legendCanvas\"),g=this.get(\"graph\"),_=n.graphActiveState||\"active\",I=n.graphInactiveState||\"inactive\",D=n.multiple;this.clearFilter(),D||this.clearActiveLegend(),this.activateLegend(e.target);var H=d.find(function(Xe){return Xe.get(\"name\")===\"root\"}),Z=H.find(function(Xe){return Xe.get(\"name\")===\"node-group\"}),te=H.find(function(Xe){return Xe.get(\"name\")===\"edge-group\"}),de=Z.get(\"children\").filter(function(Xe){return Xe.get(\"active\")}),Pe=te.get(\"children\").filter(function(Xe){return Xe.get(\"active\")}),Ge=0,Qe=[\"getNodes\",\"getEdges\"];Qe.forEach(function(Xe){g[Xe]().forEach(function(yt){var Ct=!1;(Xe===\"getNodes\"?de:Pe).forEach(function(on){var sn=i[on.get(\"id\")];Ct=Ct||sn(yt.getModel())}),Ct?(g.setItemState(yt,I,!1),g.setItemState(yt,_,!0),Ge++):(g.setItemState(yt,_,!1),g.setItemState(yt,I,!0))})}),Ge||Qe.forEach(function(Xe){g[Xe]().forEach(function(yt){g.clearItemStates(yt,[I])})})}},t.prototype.clearFilter=function(){var e=this.get(\"graph\"),n=this.get(\"filter\");if(n){var i=n.graphActiveState||\"active\",d=n.graphInactiveState||\"inactive\";e.getNodes().forEach(function(g){e.clearItemStates(g,[i,d])}),e.getEdges().forEach(function(g){e.clearItemStates(g,[i,d])})}},t.prototype.render=function(){var e=this;this.processData();var n=this.get(\"legendCanvas\");n?n.clear():n=new Za.Canvas({container:this.get(\"container\"),width:200,height:200});var i=n.addGroup({name:\"root\"}),d=i.addGroup({name:\"node-group\"}),g=i.addGroup({name:\"edge-group\"});this.set(\"legendCanvas\",n);var _=this.get(\"itemsData\"),I=[d,g];[\"nodes\",\"edges\"].forEach(function(Po,Xo){_[Po].forEach(function(ri){var ki,T,B=I[Xo].addGroup({id:ri.id,name:\"node-container\"}),K=ri.type,Se=e.getShapeSize(ri),He=Se.width,Ye=Se.height,Et=Se.r,bn=e.getStyle(Po.substr(0,4),ri);switch(ri.type){case\"circle\":T={r:Et,x:0,y:0};break;case\"rect\":T={width:He,height:Ye,x:-He/2,y:-Ye/2};break;case\"ellipse\":T={rx:He,ry:Ye,x:0,y:0},K=\"ellipse\";break;case\"line\":T={x1:-He/2,y1:0,x2:He/2,y2:0},K=\"line\";break;case\"quadratic\":T={path:[[\"M\",-He/2,0],[\"Q\",0,He/2,He/2,0]]},K=\"path\";break;case\"cubic\":T={path:[[\"M\",-He/2,0],[\"C\",-He/6,He/2,He/6,-He/2,He/2,0]]},K=\"path\";break;case\"diamond\":T={path:[[\"M\",0,-Ye],[\"L\",He,0],[\"L\",0,Ye],[\"L\",-He,0],[\"Z\"]]},K=\"path\";break;case\"triangle\":T={path:[[\"M\",-He,Ye],[\"L\",0,-Ye],[\"L\",He,Ye],[\"Z\"]]},K=\"path\";break;case\"star\":T={path:Oa.getStarPath(3*Et,1.2*Et)},K=\"path\";break;default:T={r:Et,x:0,y:0}}var Qn=B.addShape(K,{attrs:Ds(Ds({},T),bn),name:\"\".concat(ri.type,\"-node-keyShape\"),oriAttrs:Ds({opacity:1},bn)});if(ri.label){var yr=Qn.getBBox(),vr=((ki=ri.labelCfg)===null||ki===void 0?void 0:ki.style)||{},no=Ds({textAlign:\"begin\",fontSize:12,textBaseline:\"middle\",fill:\"#000\",opacity:1,fontWeight:\"normal\"},vr);B.addShape(\"text\",{attrs:Ds({x:yr.maxX+4,y:0,text:ri.label},no),className:\"legend-label\",name:\"\".concat(ri.type,\"-node-text\"),oriAttrs:no})}})});var D,H=this.get(\"padding\"),Z=i.find(function(Po){return Po.get(\"name\")===\"title-container\"}),te={height:0,maxY:0,width:0};if(this.get(\"title\")){Z||(Z=i.addGroup({name:\"title-container\"}));var de={fontSize:20,fontFamily:\"Arial\",fontWeight:300,textBaseline:\"top\",textAlign:\"center\",fill:\"#000\",x:0,y:H[0]},Pe=this.get(\"titleConfig\")||{},Ge=Object.assign(de,Pe.style||{});D=Z.addShape(\"text\",{attrs:Ds({text:this.get(\"title\")},Ge)}),te=Z.getCanvasBBox(),Z.setMatrix([1,0,0,0,1,0,Pe.offsetX,Pe.offsetY,1])}this.layoutItems();var Qe=i.getCanvasBBox(),Xe=d.getCanvasBBox(),yt=Xe.minX<0?Math.abs(Xe.minX)+H[3]:H[3],Ct=te.maxY<Xe.minY?Math.abs(te.maxY-Xe.minY)+H[0]:te.maxY+H[0],on=[1,0,0,0,1,0,yt,Ct,1];d.setMatrix(on);var sn=[(Qe=i.getCanvasBBox()).minX+Qe.width+H[1],Qe.minY+Qe.height+H[2]];if(D){Pe=Ds({position:\"center\",offsetX:0,offsetY:0},this.get(\"titleConfig\")),te=Z.getCanvasBBox();var Nn=Z.getMatrix()||[1,0,0,0,1,0,0,0,1];Pe.position===\"center\"?Nn[6]=sn[0]/2+Pe.offsetX:Pe.position===\"right\"?(Nn[6]=sn[0]-H[3]+Pe.offsetX,D.attr({textAlign:\"right\"})):(Nn[6]=H[3]+Pe.offsetX,D.attr({textAlign:\"left\"})),Z.setMatrix(Nn),te=Z.getCanvasBBox(),on=[1,0,0,0,1,0,yt=Xe.minX<0?Math.abs(Xe.minX)+H[3]:H[3],Ct=Xe.minY<te.maxY?Math.abs(te.maxY-Xe.minY)+H[0]:te.maxY+H[0],1],d.setMatrix(on);var Tn=[1,0,0,0,1,0,yt,Ct,1];this.get(\"layout\")===\"vertical\"?Tn[6]+=Xe.maxX+this.get(\"horiSep\"):Tn[7]+=Xe.maxY+this.get(\"vertiSep\"),g.setMatrix(Tn)}else{Xe=d.getCanvasBBox();var Bn=[1,0,0,0,1,0,0,0,1];this.get(\"layout\")===\"vertical\"?Bn[6]+=on[6]+Xe.maxX+this.get(\"horiSep\"):Bn[7]+=on[7]+Xe.maxY+this.get(\"vertiSep\"),g.setMatrix(Bn)}Qe=i.getCanvasBBox(),Xe=d.getCanvasBBox(),on=d.getMatrix()||[1,0,0,0,1,0,0,0,1];var Hn=g.getMatrix()||[1,0,0,0,1,0,0,0,1],Sr=g.getCanvasBBox();sn=[Math.max(Xe.width+on[6],Sr.width+Hn[6])+H[1],Math.max(Xe.height+on[7],Sr.height+Hn[7])+H[2]],n.changeSize(sn[0],sn[1]);var Cr=this.get(\"containerStyle\"),po=i.getMatrix()||[1,0,0,0,1,0,0,0,1],wo=Oa.invertMatrix({x:0,y:0},po);return i.addShape(\"rect\",{attrs:Ds({x:wo.x+(Cr.lineWidth||1),y:wo.y+(Cr.lineWidth||1),width:sn[0]-2*(Cr.lineWidth||1),height:sn[1]-2*(Cr.lineWidth||1),fill:\"#f00\",stroke:\"#000\",lineWidth:1,opacity:.5},Cr),name:\"legend-back-rect\",capture:!1}).toBack(),sn},t.prototype.layoutItems=function(){var e=this.get(\"legendCanvas\"),n=this.get(\"horiSep\"),i=this.get(\"vertiSep\"),d=this.get(\"layout\"),g=this.get(\"align\"),_=[0,0],I=e.find(function(Ct){return Ct.get(\"name\")===\"root\"}),D=I.find(function(Ct){return Ct.get(\"name\")===\"node-group\"}),H=I.find(function(Ct){return Ct.get(\"name\")===\"edge-group\"}),Z={min:0,max:-1/0},te=-1/0;D.get(\"children\").forEach(function(Ct,on){on===0&&(Z.min=_[0]);var sn=Ct.get(\"children\")[0],Nn=Ct.getCanvasBBox(),Tn=sn.getBBox(),Bn=Tn.width,Hn=Tn.height,Sr=0,Cr=0,po=0;d===\"vertical\"?(Cr=_[1],po=_[0]+Bn/2,_[0]=po+Nn.height+i,Sr=Nn.maxX+Cr+Bn/2):(Cr=_[0]+Bn/2,po=_[1],_[0]=Cr+Nn.width+n,Sr=Nn.maxY+po+Hn/2),_[0]>Z.max&&(Z.max=_[0]),Sr>te&&(te=Sr),Ct.setMatrix([1,0,0,0,1,0,Cr,po,1])});var de=Z.max-Z.min,Pe={min:0,max:-1/0},Ge=D.getCanvasBBox();_[0]=0,_[1]=d===\"vertical\"?Ge.maxX+n:Ge.maxY+i,H.get(\"children\").forEach(function(Ct,on){on===0&&(Pe.min=_[0]);var sn=Ct.get(\"children\")[0],Nn=Ct.getCanvasBBox(),Tn=sn.getBBox(),Bn=Tn.width,Hn=Tn.height,Sr=0,Cr=0;d===\"vertical\"?(Sr=_[1],Cr=_[0],_[0]=Cr+Nn.height+i,Ct.setMatrix([1,0,0,0,1,0,0,Cr+Hn/2,1])):(Sr=_[0],Cr=_[1],_[0]=Sr+Nn.width+n,Ct.setMatrix([1,0,0,0,1,0,Sr+Bn/2,0,1])),_[0]>Pe.max&&(Pe.max=_[0])});var Qe=Pe.max-Pe.min;if(g&&g!==\"\"&&g!==\"left\"){var Xe=de-Qe,yt=g===\"center\"?Math.abs(Xe)/2:Math.abs(Xe);(Xe<0?D:H).get(\"children\").forEach(function(Ct){var on=Ct.getMatrix()||[1,0,0,0,1,0,0,0,1];d===\"vertical\"?on[7]+=yt:on[6]+=yt,Ct.setMatrix(on)})}},t.prototype.processData=function(){var e=this.get(\"data\"),n={nodes:[],edges:[]};e.nodes&&(e.nodes.sort(function(i,d){return i.order-d.order}),e.nodes.forEach(function(i){var d,g,_,I,D,H=i.size||[((d=i.style)===null||d===void 0?void 0:d.width)||((g=i.style)===null||g===void 0?void 0:g.r)||8,((_=i.style)===null||_===void 0?void 0:_.height)||((I=i.style)===null||I===void 0?void 0:I.r)||8],Z=((D=i.labelCfg)===null||D===void 0?void 0:D.style)||{};n.nodes.push({id:i.id||Object(s.uniqueId)(),type:i.type||\"circle\",style:Ds({},i.style),order:i.order,label:i.label,itemType:\"node\",size:H,labelCfg:{position:\"right\",style:Ds({fontFamily:\"Arial\"},Z)}})})),e.edges&&(e.edges.sort(function(i,d){return i.order-d.order}),e.edges.forEach(function(i){var d,g,_=i.type||\"line\";i.type===\"cubic-horizontal\"&&(_=\"cubic\");var I=((d=i.labelCfg)===null||d===void 0?void 0:d.style)||{},D=i.size||[((g=i.style)===null||g===void 0?void 0:g.width)||8,1];n.edges.push({id:i.id||Object(s.uniqueId)(),type:_,size:D,style:Ds({lineWidth:Object(s.isArray)(D)?D[1]:1},i.style),order:i.order,label:i.label,itemType:\"edge\",labelCfg:{position:\"right\",style:Ds({fontFamily:\"Arial\"},I)}})})),this.set(\"itemsData\",n)},t.prototype.getContainer=function(){return this.get(\"container\")},t.prototype.formatArray=function(e){var n=this.get(e);if(Object(s.isNumber)(n))this.set(e,[n,n,n,n]);else if(Object(s.isArray)(n))switch(n.length){case 0:this.set(e,[0,0,0,0]);break;case 1:this.set(e,[n[0],n[0],n[0],n[0]]);break;case 2:this.set(e,[n[0],n[1],n[0],n[1]]);break;case 3:this.set(e,[n[0],n[1],n[2],n[1]])}return this.get(e)},t.prototype.getShapeSize=function(e){var n,i,d;return e.size&&(Object(s.isArray)(e.size)?(n=e.size[0],i=e.size[1]||e.size[0],d=e.size[0]/2):Object(s.isNumber)(e.size)&&(n=e.size,i=e.size,d=e.size/2)),e.style&&(e.style.width&&(n=e.style.width),e.style.height&&(i=e.style.height),e.style.r&&(d=e.style.r)),d||(d=5),n||(n=d),i||(i=d),{width:n,height:i,r:d}},t.prototype.getStyle=function(e,n){return Ds(Ds({},e===\"node\"?{fill:\"#ccc\",lineWidth:0}:{stroke:\"#000\",lineWidth:1}),n.style||{})},t.prototype.destroy=function(){var e=this.get(\"legendCanvas\");e==null||e.destroy();var n=this.get(\"graph\").get(\"container\"),i=this.get(\"container\");n.removeChild(i)},t}(gs),tf=function(){var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(n[d]=i[d])})(t,e)};return function(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Class extends value \"+String(e)+\" is not a constructor or null\");function n(){this.constructor=t}o(t,e),t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}(),Bu=function(){return(Bu=Object.assign||function(o){for(var t,e=1,n=arguments.length;e<n;e++)for(var i in t=arguments[e])Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i]);return o}).apply(this,arguments)},qu=function(o,t){var e={};for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&t.indexOf(n)<0&&(e[n]=o[n]);if(o!=null&&typeof Object.getOwnPropertySymbols==\"function\"){var i=0;for(n=Object.getOwnPropertySymbols(o);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(o,n[i])&&(e[n[i]]=o[n[i]])}return e};typeof document!=\"undefined\"&&pu()(`\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 Af=function(o){function t(e){return o.call(this,e)||this}return tf(t,o),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=Bu(Bu({},e),{\"node:click\":\"showAnnotation\",\"edge:click\":\"showAnnotation\"})}return e},t.prototype.getDOMContent=function(e){if(!this.destroyed){var n=e.collapsed,i=e.maxWidth,d=e.title,g=d===void 0?\"\":d,_=e.content,I=_===void 0?\"\":_,D=e.borderRadius,H=D===void 0?5:D,Z=n?\"<p class='g6-annotation-expand'>+</p>\":\"<p class='g6-annotation-collapse'>-</p>\",te=n?\"\":\" <p class='g6-annotation-content'>\".concat(I,\"</p>\"),de=n?\"\".concat(H,\"px\"):\"\".concat(H,\"px \").concat(H,\"px 0 0\");return'<div class=\"g6-annotation-wrapper\" style=\"border-radius: '.concat(H,\"px; max-width: \").concat(i,`px\">\n        <div\n          class=\"g6-annotation-header-wapper\"\n          style=\"border-radius: `).concat(de,`;\"\n        >\n          <h4 class='g6-annotation-title'>`).concat(g,`</h4>\n          `).concat(Z,`\n          `).concat(\"<p class='g6-annotation-close'>x</p>\",`\n        </div>\n        `).concat(te,`\n      </div>`)}},t.prototype.init=function(){var e=this;if(!e.destroyed){var n=e.get(\"graph\").getContainer(),i=e.get(\"container\");this.get(\"containerCfg\")?(i=this.createContainer(),n.appendChild(i)):i=n,this.set(\"container\",i);var d=n.getBoundingClientRect(),g=new Za.Canvas({container:n,width:d.right-d.left,height:d.bottom-d.top});gi(g.get(\"el\"),{position:\"absolute\",top:0,left:0,pointerEvents:\"none\"}),window.addEventListener(\"resize\",Object(s.debounce)(function(){return e.resizeCanvas(e)},100));var _=g.addGroup({id:\"annotation-link-group\"});e.set(\"linkGroup\",_),e.set(\"canvas\",g),e.get(\"getTitle\")||e.set(\"getTitle\",function(D){var H,Z=((H=D==null?void 0:D.getModel)===null||H===void 0?void 0:H.call(D))||{},te=Z.label,de=Z.id;return te||de||\"-\"}),e.get(\"getContent\")||e.set(\"getContent\",function(D){var H,Z;if(!D)return\"-\";var te=((H=D.getModel)===null||H===void 0?void 0:H.call(D))||{},de=te.label,Pe=te.id,Ge=(Z=D.getType)===null||Z===void 0?void 0:Z.call(D),Qe=Ge?\"\".concat(Ge,\": \"):\"\";return\"\".concat(Qe).concat(de||Pe||\"\")});var I=e.get(\"defaultData\");I&&this.readData(I)}},t.prototype.createContainer=function(){var e=this;if(!this.destroyed){var n=this.get(\"containerCfg\"),i=this.get(\"graph\"),d=i.getContainer(),g=d.getBoundingClientRect(),_=g.left,I=g.right,D=g.top,H=g.bottom-D,Z=I-_,te=n.position,de=te===void 0?\"top\":te,Pe=n.offsetX,Ge=Pe===void 0?0:Pe,Qe=n.offsetY,Xe=Qe===void 0?0:Qe,yt=qu(n,[\"position\",\"offsetX\",\"offsetY\"]),Ct=n.height,on=Ct===void 0?\"fit-content\":Ct,sn=n.width,Nn=sn===void 0?i.getWidth():sn;on===\"100%\"&&(on=H),Nn===\"100%\"&&(Nn=Z);var Tn=\"unset\",Bn=\"unset\",Hn={};switch(de){case\"right\":Tn=\"\".concat(H,\"px\"),(Hn={top:0,right:0}).right+=_+Ge,Hn.top+=D+Xe;break;case\"bottom\":Bn=\"\".concat(Z,\"px\"),(Hn={bottom:0,left:0}).left+=_+Ge,Hn.bottom+=D+Xe;break;case\"top\":Bn=\"\".concat(Z,\"px\");case\"left\":Tn=\"\".concat(H,\"px\");default:(Hn={top:0,left:0}).left+=_+Ge,Hn.top+=D+Xe}Object.keys(Hn).forEach(function(Cr){Hn[Cr]=\"\".concat(Hn[Cr],\"px\")});var Sr=_i(\"<div class='\".concat(n.className,\" g6-annotation-container'></div>\"));return gi(Sr,Bu(Bu({position:\"absolute\",display:de===\"top\"||de===\"bottom\"?\"inline-flex\":\"unset\",width:Object(s.isNumber)(Nn)?\"\".concat(Nn,\"px\"):Nn,height:Object(s.isNumber)(on)?\"\".concat(on,\"px\"):on,maxHeight:Tn,maxWidth:Bn,overflow:\"scroll\"},Hn),yt)),d.appendChild(Sr),Sr.addEventListener(\"scroll\",function(Cr){e.updateLinks()}),Sr}},t.prototype.resizeCanvas=function(e){clearTimeout(e.resizeTimer),e.resizeTimer=setTimeout(function(){if(e&&!e.destroyed){var n=e.get(\"container\").getBoundingClientRect(),i=n.right-n.left,d=n.bottom-n.top;e.get(\"canvas\").changeSize(i,d),e.updateOutsideCards(e)}},250)},t.prototype.updateOutsideCards=function(e){var n=e||this,i=n.get(\"cardInfoMap\")||{},d=n.get(\"graph\"),g=d.getPointByCanvas(0,0),_=d.getPointByCanvas(d.getWidth(),d.getHeight()),I=d.getClientByPoint(g.x,g.y),D=I.x,H=I.y,Z=d.getClientByPoint(_.x,_.y),te=Z.x,de=Z.y;Object.values(i).forEach(function(Pe){var Ge=Pe.card;if(Ge){var Qe=Ge.style,Xe=Zu(Qe.left),yt=Zu(Qe.top),Ct=Ge.getBoundingClientRect(),on=Ct.width,sn=Ct.height,Nn=Xe,Tn=yt;Xe+on>te-D&&(Nn=te-D-on),Xe<0&&(Nn=0),yt+sn>de-H&&(Tn=de-H-sn),yt<0&&(Tn=0),gi(Ge,{left:\"\".concat(Nn,\"px\"),top:\"\".concat(Tn,\"px\")})}}),n.updateLinks()},t.prototype.showAnnotation=function(e){if(!this.destroyed){var n=e.item;this.toggleAnnotation(n)}},t.prototype.hideCards=function(){var e=this;if(!e.destroyed){var n=e.get(\"cardInfoMap\")||{};Object.keys(n).forEach(function(i){e.hideCard(i)})}},t.prototype.toggleAnnotation=function(e,n){var i,d;if(n===void 0&&(n={}),!this.destroyed){var g=this.get(\"cardInfoMap\")||{},_=this.get(\"graph\"),I=this.get(\"container\"),D=this.get(\"containerCfg\"),H=Object.assign({},this.get(\"cardCfg\")||{},n),Z=H.minHeight,te=H.minWidth,de=H.width,Pe=H.height,Ge=H.collapsed,Qe=Ge!==void 0&&Ge,Xe=H.x,yt=H.y,Ct=H.title,on=H.content,sn=H.maxTitleLength,Nn=H.defaultBegin,Tn=qu(H,[\"minHeight\",\"minWidth\",\"width\",\"height\",\"collapsed\",\"x\",\"y\",\"title\",\"content\",\"maxTitleLength\",\"defaultBegin\"]),Bn=this.get(\"linkGroup\"),Hn=this.get(\"rows\")||[[]],Sr=(i=e.isCanvas)===null||i===void 0?void 0:i.call(e),Cr=Sr?\"canvas-annotation\":e.getID(),po=g[Cr]||{},wo=po.card,Po=po.link,Xo=po.x,ri=po.y,ki=po.title,T=po.content,B=this.get(\"getTitle\"),K=this.get(\"getContent\"),Se=this.get(\"getContentPlaceholder\")||function(){return\"\"},He=this.get(\"getTitlePlaceHolder\")||function(){return\"\"},Ye=Se(e),Et=He(e),bn=_i(this.getDOMContent(Bu({itemId:Cr,collapsed:Qe,title:((d=ki||Ct||(B==null?void 0:B(e)))===null||d===void 0?void 0:d.substr(0,sn))||Et,content:T||on||(K==null?void 0:K(e))||Ye},Tn))),Qn=Object(s.isNumber)(Z)?\"\".concat(Z,\"px\"):Z;gi(bn,{minHeight:Qe?\"unset\":Qn,minWidth:Object(s.isNumber)(te)?\"\".concat(te,\"px\"):te,height:Pe,width:de});var yr,vr=!!wo;if(vr?(Po==null||Po.remove(!0),I.replaceChild(bn,wo)):I.appendChild(bn),!D){if(yr=I.getBoundingClientRect()||{},Xe!==void 0&&yt!==void 0)Xo=Xe,ri=yt;else if(!vr&&!Sr){var no=yr.top,Wo=Nn||{},$o=Wo.left,Lr=Wo.right,co=Lr===void 0?16:Lr,Do=Wo.top,yi=Do===void 0?8:Do,Fo=Wo.bottom,Bo=co,Uo=yi;isNaN($o)||(Bo=I.scrollWidth-$o),isNaN(Fo)||(Uo=I.scrollHeight-Fo);var Gi=Object(s.isNumber)(te)?te:100;Xo=I.scrollWidth-bn.scrollWidth-(Hn.length-1)*Gi-Bo;var Ni=Hn[Hn.length-1],Wi=(Ni[Ni.length-1]||{}).bbox;ri=(Wi==null?void 0:Wi.bottom)-no||Uo}gi(bn,{position:\"absolute\",left:\"\".concat(Xo,\"px\"),top:\"\".concat(ri,\"px\"),cusor:D?\"unset\":\"move\"})}this.bindListener(bn,Cr);var ba=bn.getBoundingClientRect();if(!Sr){var Ss=nf(e,ba,_,this.get(\"canvas\")),Ra=this.get(\"linkStyle\");Po=Bn.addShape(\"path\",{attrs:Bu({lineWidth:1,lineDash:[5,5],stroke:\"#ccc\",path:Ss},Ra)})}if(g[Cr]=Bu(Bu({},g[Cr]||{}),{id:Cr,collapsed:Qe,card:bn,link:Po,x:Xo,y:ri,cardBBox:ba,content:T||on,title:ki||Ct,contentPlaceholder:Ye,titlePlaceholder:Et,isCanvas:Sr}),this.set(\"cardInfoMap\",g),D)this.updateCardPositionsInConatainer(),this.updateLinks();else{var fs=!isNaN(Xe)&&!isNaN(yt);if(!vr&&!Sr&&!fs){var ns=yr.bottom,hs=ns===void 0?0:ns;no=yr.top,Hn[Hn.length-1].push({id:Cr,bbox:ba}),ba.top>hs-no-ba.height-16&&Hn.push([]),this.set(\"rows\",Hn)}}this.updateCardSize(Cr);var Is=this.get(\"onAnnotationChange\");Is==null||Is(g[Cr],vr?\"update\":\"create\")}},t.prototype.updateCardPositionsInConatainer=function(){if(!this.destroyed){var e=this.get(\"cardInfoMap\");if(e){var n=this.get(\"container\"),i=this.get(\"containerCfg\").position,d=n.getBoundingClientRect().width,g=getComputedStyle(n),_=Zu(g.paddingLeft)+Zu(g.paddingRight);d-=_,Object.values(e).forEach(function(I){var D=I.card,H=D.getBoundingClientRect().width;switch(i){case\"right\":gi(D,{marginLeft:d?\"\".concat(d-H,\"px\"):\"0px\"});break;case\"top\":case\"bottom\":gi(D,{marginLeft:\"8px\"})}})}}},t.prototype.handleExpandCollapseCard=function(e){if(!this.destroyed){var n=this.get(\"graph\"),i=this.get(\"cardInfoMap\");if(i){var d=i[e].collapsed,g=n.findById(e);g&&(this.get(\"cardCfg\").collapseType!==\"hide\"||d?this.toggleAnnotation(g,{collapsed:!d}):this.hideCard(e),i[e]=Bu(Bu({},i[e]),{collapsed:!d}))}}},t.prototype.hideCard=function(e){if(!this.destroyed){var n=this.get(\"cardInfoMap\");if(n&&n[e]){var i=n[e],d=i.card,g=i.link;gi(d,{display:\"none\"}),g==null||g.hide(),this.get(\"onAnnotationChange\")(n[e],\"hide\")}}},t.prototype.removeCard=function(e){if(!this.destroyed){var n=this.get(\"cardInfoMap\");if(n){var i=n[e],d=i.card,g=i.link;this.get(\"container\").removeChild(d),g==null||g.remove(!0),delete n[e],this.get(\"onAnnotationChange\")(i,\"remove\")}}},t.prototype.bindListener=function(e,n){var i=this;if(!this.destroyed){e.addEventListener(\"mousemove\",function(g){var _;if(g.target.className===\"g6-annotation-collapse\"?_=\"collapse\":g.target.className===\"g6-annotation-expand\"?_=\"expand\":g.target.className===\"g6-annotation-close\"&&(_=\"close\"),_){var I=i.get(\"cardCfg\").onMouseEnterIcon;(I===void 0?function(){}:I)(g,n,_)}}),e.addEventListener(\"mouseout\",function(g){var _;if(g.target.className===\"g6-annotation-collapse\"?_=\"collapse\":g.target.className===\"g6-annotation-expand\"?_=\"expand\":g.target.className===\"g6-annotation-close\"&&(_=\"close\"),_){var I=i.get(\"cardCfg\").onMouseLeaveIcon;(I===void 0?function(){}:I)(g,n,_)}}),e.addEventListener(\"mouseenter\",function(g){var _=i.get(\"cardInfoMap\");if(_){var I=i.get(\"graph\"),D=I.findById(n);if(D){var H=i.get(\"itemHighlightState\");I.setItemState(D,H,!0)}var Z=_[n].link;if(Z){var te=i.get(\"linkHighlightStyle\")||{};Z.attr(te)}}}),e.addEventListener(\"mouseleave\",function(g){var _=i.get(\"cardInfoMap\");if(_){var I=i.get(\"graph\"),D=I.findById(n);if(D){var H=i.get(\"itemHighlightState\");I.setItemState(D,H,!1)}var Z=_[n].link;if(Z){var te=i.get(\"linkHighlightStyle\")||{};Object.keys(te).forEach(function(Pe){Z.attr(Pe,void 0),Z.attr(Pe,void 0)});var de=i.get(\"linkStyle\");Z.attr(de)}}}),e.addEventListener(\"click\",function(g){var _=(i.get(\"cardCfg\")||{}).onClickIcon;g.target.className===\"g6-annotation-collapse\"||g.target.className===\"g6-annotation-expand\"?(i.get(\"cardCfg\").collapseType===\"hide\"?i.hideCard(n):i.handleExpandCollapseCard(n),_==null||_(g,n,g.target.className===\"g6-annotation-collapse\"?\"collapse\":\"expand\")):g.target.className===\"g6-annotation-close\"&&(i.get(\"cardCfg\").closeType===\"remove\"?i.removeCard(n):i.hideCard(n),_==null||_(g,n,\"close\"))}),this.get(\"editable\")&&e.addEventListener(\"dblclick\",function(g){var _=i.get(\"cardInfoMap\"),I=(i.get(\"cardCfg\")||{}).maxTitleLength,D=I===void 0?20:I;if(_){var H=g.target,Z=H.className;if(Z===\"g6-annotation-title\"||Z===\"g6-annotation-content\"){var te=Z===\"g6-annotation-title\"?H.getBoundingClientRect():H.parentNode.getBoundingClientRect(),de=te.width,Pe=te.height,Ge=getComputedStyle(H),Qe=_i(\"<\".concat(Z===\"g6-annotation-title\"?\"input\":\"textarea\",' class=\"').concat(Z,'-input\" type=\"textarea\" style=\"width:').concat(de,\"px; height: \").concat(Pe,'px; min-width: 16px;\"/>')),Xe=_i('<div class=\"'.concat(Z,'-input-wrapper\" style=\"width: ').concat(de,\"px; height: \").concat(Pe,\"px; min-width: 16px; margin-right: \").concat(Ge.marginRight,'\" />'));Xe.appendChild(Qe),H.parentNode.replaceChild(Xe,H);var yt=_[n],Ct=yt.contentPlaceholder,on=yt.titlePlaceholder,sn=yt.content,Nn=yt.title,Tn=sn;Z===\"g6-annotation-title\"?(Qe.name=\"title\",Qe.maxLength=D,Tn=Nn):Qe.name=\"content\",Tn?(Qe.innerHTML=H.innerHTML,Qe.value=H.innerHTML):Qe.placeholder=Z===\"g6-annotation-title\"?on:Ct,Qe.focus(),Qe.addEventListener(\"blur\",function(Bn){Qe.value&&(H.innerHTML=Qe.value,yt[Qe.name||\"title\"]=Qe.value),Xe.parentNode.replaceChild(H,Xe),i.updateCardSize(n);var Hn=i.get(\"onAnnotationChange\");Hn==null||Hn(yt,\"update\")})}}});var d=[\"g6-annotation-title\",\"g6-annotation-content\",\"g6-annotation-title-input\",\"g6-annotation-content-input\"];e.draggable=!0,e.addEventListener(\"dragstart\",function(g){var _=g.target.className;if(!d.includes(_)){var I=e.style;i.set(\"dragging\",{card:e,x:g.clientX,y:g.clientY,left:Zu(I.left),top:Zu(I.top)})}}),e.addEventListener(\"drag\",function(g){g.preventDefault();var _=i.get(\"cardInfoMap\");if(_){var I=g.clientX,D=g.clientY,H=i.get(\"dragging\");if(!isNaN(I)&&!isNaN(D)&&H){var Z=H.x,te=H.y,de=H.left,Pe=H.top,Ge=H.card,Qe=I-Z,Xe=D-te;de+=Qe,Pe+=Xe;var yt=i.get(\"graph\"),Ct=yt.getPointByCanvas(0,0),on=yt.getPointByCanvas(yt.getWidth(),yt.getHeight()),sn=yt.getClientByPoint(Ct.x,Ct.y),Nn=sn.x,Tn=sn.y,Bn=yt.getClientByPoint(on.x,on.y),Hn=Bn.x,Sr=Bn.y,Cr=Ge.getBoundingClientRect();(de>Hn-Nn-(Cr.right-Cr.left)&&Qe>0||de<0&&Qe<0)&&(de-=Qe),(Pe>Sr-Tn-(Cr.bottom-Cr.top)&&Xe>0||Pe<0&&Xe<0)&&(Pe-=Xe),gi(Ge,{left:\"\".concat(de,\"px\"),top:\"\".concat(Pe,\"px\"),visibility:\"hidden\"}),Z=I,te=D;var po=(_[n]||{}).link;if(po){var wo=yt.findById(n);po.attr(\"path\",nf(wo,Cr,yt,i.get(\"canvas\")))}i.set(\"dragging\",{x:Z,y:te,left:de,top:Pe,card:Ge})}}}),e.addEventListener(\"dragend\",function(g){var _=i.get(\"cardInfoMap\");if(_){var I=i.get(\"dragging\");if(I){var D=I.left,H=I.top,Z=I.card;_[n].x=D,_[n].y=H,gi(Z,{visibility:\"visible\"}),i.set(\"dragging\",!1);var te=i.get(\"rows\");te==null||te.forEach(function(Pe){for(var Ge=Pe.length-1;Ge>=0;Ge--)Pe[Ge].id===n&&Pe.splice(Ge,1)});var de=i.get(\"onAnnotationChange\");de==null||de(_[n],\"update\")}}})}},t.prototype.updateCardSize=function(e){var n=this.get(\"cardInfoMap\");if(n){var i=n[e].card,d=i.getBoundingClientRect().width,g=i.getElementsByClassName(\"g6-annotation-title\")[0];if(g){var _=getComputedStyle(g),I=Zu(_.marginLeft),D=g.getBoundingClientRect().width;gi(g,{marginRight:\"\".concat(d-I-24-16-D,\"px\")})}}},t.prototype.updateLink=function(e){var n=e.item;if(n){var i=this.get(\"cardInfoMap\");if(i){var d=this.get(\"canvas\"),g=this.get(\"graph\"),_=i[n.getID()]||{},I=_.link,D=_.card;if(I){var H=nf(n,D.getBoundingClientRect(),g,d);I.attr(\"path\",H)}}}},t.prototype.updateLinks=function(){var e=this;if(!this.destroyed){var n=this.get(\"cardInfoMap\");if(n){var i=this.get(\"graph\");Object.values(n).forEach(function(d){var g=d.id,_=i.findById(g);e.updateLink({item:_})})}}},t.prototype.onGraphDataChange=function(){var e=this,n=this.get(\"cardInfoMap\");if(n){var i=this.get(\"graph\");Object.values(n).forEach(function(d){var g=d.id,_=d.card,I=d.isCanvas;if(_&&!I&&_.style.display!==\"none\"){var D=i.findById(g);D&&D.isVisible()?e.toggleAnnotation(D):e.hideCard(g)}})}},t.prototype.onGraphItemVisibilityChange=function(e){var n=e.item,i=e.visible;if(n&&!n.destroyed){var d=this.get(\"cardInfoMap\");if(d){var g=n.getID();d[g]&&(i||this.hideCard(g))}}},t.prototype.saveData=function(e){e===void 0&&(e=!1);var n=this.get(\"cardInfoMap\");if(n){var i=this.get(\"graph\"),d=this.get(\"getTitle\"),g=this.get(\"getContent\"),_=[];return Object.values(n).forEach(function(I){var D=I.title,H=I.content,Z=I.x,te=I.y,de=I.id,Pe=I.collapsed,Ge=I.card;if(!Ge||Ge.style.display!==\"none\"||e){var Qe=i.findById(de)||i.get(\"canvas\");_.push({id:de,x:Z,y:te,collapsed:Pe,title:D||(d==null?void 0:d(Qe)),content:H||(g==null?void 0:g(Qe)),visible:Ge&&Ge.style.display!==\"none\"})}}),_}},t.prototype.readData=function(e){var n=this,i=this.get(\"graph\");e.forEach(function(d){var g=d.id,_=d.x,I=d.y,D=d.title,H=d.content,Z=d.collapsed,te=d.visible,de=i.findById(g);if(de||g!==\"canvas-annotation\"||(de=i.get(\"canvas\")),!de){var Pe=n.get(\"cardInfoMap\")||{};return Pe[g]=d,void n.set(\"cardInfoMap\",Pe)}n.toggleAnnotation(de,{x:_,y:I,title:D,content:H,collapsed:Z}),te||n.hideCard(g)})},t.prototype.clear=function(){var e=this.get(\"cardInfoMap\");if(e){var n=this.get(\"container\");Object.values(e).forEach(function(i){var d=i.card,g=i.link;n.removeChild(d),g==null||g.remove(!0)}),this.set(\"cardInfoMap\",{})}},t.prototype.destroy=function(){var e;this.clear(),(e=this.get(\"canvas\"))===null||e===void 0||e.destroy();var n=this.get(\"graph\");n&&!n.destroyed&&(this.get(\"containerCfg\")&&n.getContainer().removeChild(this.get(\"container\")),this.destroyed=!0)},t}(gs),nf=function(o,t,e,n){var i,d;if(o.getType()===\"edge\")d=[o.getKeyShape().getPoint(.5)];else{var g=(i=o.getKeyShape)===null||i===void 0?void 0:i.call(o).getBBox(),_=g.minX,I=g.minY,D=g.maxX,H=g.maxY,Z=o.getModel(),te=Z.x,de=Z.y;d={left:{x:_+=te,y:((I+=de)+(H+=de))/2},right:{x:D+=te,y:(I+H)/2},top:{x:(_+D)/2,y:I},bottom:{x:(_+D)/2,y:H}}}Object.keys(d).forEach(function(Tn){var Bn=d[Tn],Hn=Bn.x,Sr=Bn.y,Cr=e.getClientByPoint(Hn,Sr);d[Tn]=n.getPointByClient(Cr.x,Cr.y)});var Pe=t.top,Ge=Pe===void 0?0:Pe,Qe=t.left,Xe=Qe===void 0?0:Qe,yt=t.right,Ct=yt===void 0?0:yt,on=t.bottom,sn=on===void 0?0:on,Nn={left:n.getPointByClient(Xe,(Ge+sn)/2),right:n.getPointByClient(Ct,(Ge+sn)/2),top:n.getPointByClient((Xe+Ct)/2,Ge),bottom:n.getPointByClient((Xe+Ct)/2,sn)};return function(Tn,Bn){var Hn,Sr,Cr=1/0;Object.keys(Tn).forEach(function(wo){var Po=Tn[wo];Object.keys(Bn).forEach(function(Xo){var ri=Bn[Xo],ki=Po.x-ri.x,T=Po.y-ri.y,B=ki*ki+T*T;Cr>B&&(Cr=B,Hn=Po,Sr=ri)})});var po=Oa.getControlPoint(Hn,Sr,.5,20);return[[\"M\",Hn.x,Hn.y],[\"Q\",po.x,po.y,Sr.x,Sr.y]]}(d,Nn)},Zu=function(o){return Number(o.replace(/\\s+|px/gi,\"\"))||0},Ks={PluginBase:gs,Menu:Yc,Grid:Gs,Minimap:Au,Bundling:Ic,ToolBar:Be,Tooltip:it,Fisheye:kc,TimeBar:Yf,ImageMinimap:dc,EdgeFilterLens:Lu,SnapLine:_f,Legend:Pl,Annotation:Af};Ba(\"circle\",{options:{size:Qo.defaultNode.size,style:{x:0,y:0,stroke:Qo.defaultNode.style.stroke,fill:Qo.defaultNode.style.fill,lineWidth:Qo.defaultNode.style.lineWidth},labelCfg:{style:{fill:Qo.nodeLabel.style.fill,fontSize:Qo.nodeLabel.style.fontSize,fontFamily:Qo.windowFontFamily}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:Qo.defaultNode.linkPoints.size,lineWidth:Qo.defaultNode.linkPoints.lineWidth,fill:Qo.defaultNode.linkPoints.fill,stroke:Qo.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(l.__assign)({},Qo.nodeStateStyles)},shapeType:\"circle\",labelPosition:\"center\",drawShape:function(o,t){var e=(this.mergeStyle||this.getOptions(o)).icon,n=e===void 0?{}:e,i=this.getShapeStyle(o),d=Object(s.deepMix)({},n,o.icon),g=\"\".concat(this.type,\"-keyShape\"),_=t.addShape(\"circle\",{attrs:i,className:g,name:g,draggable:!0});t.shapeMap[g]=_;var I=d.width,D=d.height,H=d.show,Z=d.text;if(H){var te=\"\".concat(this.type,\"-icon\");t.shapeMap[te]=Z?t.addShape(\"text\",{attrs:Object(l.__assign)({x:0,y:0,fontSize:12,fill:\"#000\",stroke:\"#000\",textBaseline:\"middle\",textAlign:\"center\"},d),className:te,name:te,draggable:!0}):t.addShape(\"image\",{attrs:Object(l.__assign)({x:-I/2,y:-D/2},d),className:te,name:te,draggable:!0})}return this.drawLinkPoints(o,t),_},drawLinkPoints:function(o,t){var e=(this.mergeStyle||this.getOptions(o)).linkPoints;if(e){var n=e||{},i=n.top,d=n.left,g=n.right,_=n.bottom,I=n.size,D=n.r,H=Object(l.__rest)(n,[\"top\",\"left\",\"right\",\"bottom\",\"size\",\"r\"]),Z=this.getSize(o)[0]/2;if(d){var te=\"link-point-left\";t.shapeMap[te]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:-Z,y:0,r:I/2||D||5}),className:te,name:te,isAnchorPoint:!0})}if(g){var de=\"link-point-right\";t.shapeMap[de]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:Z,y:0,r:I/2||D||5}),className:de,name:de,isAnchorPoint:!0})}if(i){var Pe=\"link-point-top\";t.shapeMap[Pe]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:0,y:-Z,r:I/2||D||5}),className:Pe,name:Pe,isAnchorPoint:!0})}if(_){var Ge=\"link-point-bottom\";t.shapeMap[Ge]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:0,y:Z,r:I/2||D||5}),className:Ge,name:Ge,isAnchorPoint:!0})}}},getShapeStyle:function(o){var t=(this.mergeStyle||this.getOptions(o)).style,e={stroke:o.color},n=Object(s.deepMix)({},t,e),i=this.getSize(o)[0]/2;return Object(l.__assign)({x:0,y:0,r:i},n)},update:function(o,t,e){var n=t.getContainer(),i=this.getSize(o),d=Object(l.__assign)({},o.style);o.style.stroke===void 0&&o.color&&(d.stroke=o.color),o.style.r!==void 0||isNaN(i[0])||(d.r=i[0]/2),this.updateShape(o,t,d,!0,e),this.updateLinkPoints(o,n)}},\"single-node\"),Ba(\"rect\",{options:{size:[100,30],style:{radius:0,stroke:Qo.defaultNode.style.stroke,fill:Qo.defaultNode.style.fill,lineWidth:Qo.defaultNode.style.lineWidth},labelCfg:{style:{fill:Qo.nodeLabel.style.fill,fontSize:Qo.nodeLabel.style.fontSize,fontFamily:Qo.windowFontFamily}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:Qo.defaultNode.linkPoints.size,lineWidth:Qo.defaultNode.linkPoints.lineWidth,fill:Qo.defaultNode.linkPoints.fill,stroke:Qo.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(l.__assign)({},Qo.nodeStateStyles)},shapeType:\"rect\",labelPosition:\"center\",drawShape:function(o,t){var e=this.getShapeStyle(o),n=t.addShape(\"rect\",{attrs:e,className:\"\".concat(this.type,\"-keyShape\"),name:\"\".concat(this.type,\"-keyShape\"),draggable:!0});return t.shapeMap[\"\".concat(this.type,\"-keyShape\")]=n,this.drawLinkPoints(o,t),n},drawLinkPoints:function(o,t){var e=(this.mergeStyle||this.getOptions(o)).linkPoints,n=e===void 0?{}:e,i=n.top,d=n.left,g=n.right,_=n.bottom,I=n.size,D=n.r,H=Object(l.__rest)(n,[\"top\",\"left\",\"right\",\"bottom\",\"size\",\"r\"]),Z=this.getSize(o),te=Z[0],de=Z[1];d&&(t.shapeMap[\"link-point-left\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:-te/2,y:0,r:I/2||D||5}),className:\"link-point-left\",name:\"link-point-left\",isAnchorPoint:!0})),g&&(t.shapeMap[\"link-point-right\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:te/2,y:0,r:I/2||D||5}),className:\"link-point-right\",name:\"link-point-right\",isAnchorPoint:!0})),i&&(t.shapeMap[\"link-point-top\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:0,y:-de/2,r:I/2||D||5}),className:\"link-point-top\",name:\"link-point-top\",isAnchorPoint:!0})),_&&(t.shapeMap[\"link-point-bottom\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:0,y:de/2,r:I/2||D||5}),className:\"link-point-bottom\",name:\"link-point-bottom\",isAnchorPoint:!0}))},getShapeStyle:function(o){var t=(this.mergeStyle||this.getOptions(o)).style,e={stroke:o.color},n=Object(s.mix)({},t,e),i=this.getSize(o),d=n.width||i[0],g=n.height||i[1];return Object(l.__assign)({x:-d/2,y:-g/2,width:d,height:g},n)},update:function(o,t,e){var n=t.getContainer(),i=this.getOptions({}).style,d=this.getSize(o),g=t.get(\"keyShape\");o.size||(d[0]=g.attr(\"width\")||i.width,d[1]=g.attr(\"height\")||i.height);var _={stroke:o.color,x:-d[0]/2,y:-d[1]/2,width:d[0],height:d[1]},I=Object(s.mix)({},i,g.attr(),_);I=Object(s.mix)(I,o.style),this.updateShape(o,t,I,!1,e),this.updateLinkPoints(o,n)}},\"single-node\"),Ba(\"ellipse\",{options:{size:[80,40],style:{x:0,y:0,stroke:Qo.defaultNode.style.stroke,fill:Qo.defaultNode.style.fill,lineWidth:Qo.defaultNode.style.lineWidth},labelCfg:{style:{fill:Qo.nodeLabel.style.fill,fontSize:Qo.nodeLabel.style.fontSize,fontFamily:Qo.windowFontFamily}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:Qo.defaultNode.linkPoints.size,lineWidth:Qo.defaultNode.linkPoints.lineWidth,fill:Qo.defaultNode.linkPoints.fill,stroke:Qo.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(l.__assign)({},Qo.nodeStateStyles)},shapeType:\"ellipse\",labelPosition:\"center\",drawShape:function(o,t){var e=(this.mergeStyle||this.getOptions(o)).icon,n=e===void 0?{}:e,i=this.getShapeStyle(o),d=t.addShape(\"ellipse\",{attrs:i,className:\"ellipse-keyShape\",name:\"ellipse-keyShape\",draggable:!0});t.shapeMap[\"ellipse-keyShape\"]=d;var g=n.width,_=n.height,I=n.show,D=n.text;return I&&(t.shapeMap[\"\".concat(this.type,\"-icon\")]=D?t.addShape(\"text\",{attrs:Object(l.__assign)({x:0,y:0,fontSize:12,fill:\"#000\",stroke:\"#000\",textBaseline:\"middle\",textAlign:\"center\"},n),className:\"\".concat(this.type,\"-icon\"),name:\"\".concat(this.type,\"-icon\"),draggable:!0}):t.addShape(\"image\",{attrs:Object(l.__assign)({x:-g/2,y:-_/2},n),className:\"\".concat(this.type,\"-icon\"),name:\"\".concat(this.type,\"-icon\"),draggable:!0})),this.drawLinkPoints(o,t),d},drawLinkPoints:function(o,t){var e=(this.mergeStyle||this.getOptions(o)).linkPoints,n=e===void 0?{}:e,i=n.top,d=n.left,g=n.right,_=n.bottom,I=n.size,D=n.r,H=Object(l.__rest)(n,[\"top\",\"left\",\"right\",\"bottom\",\"size\",\"r\"]),Z=this.getSize(o),te=Z[0]/2,de=Z[1]/2;d&&(t.shapeMap[\"link-point-left\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:-te,y:0,r:I/2||D||5}),className:\"link-point-left\",name:\"link-point-left\",isAnchorPoint:!0})),g&&(t.shapeMap[\"link-point-right\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:te,y:0,r:I/2||D||5}),className:\"link-point-right\",name:\"link-point-right\",isAnchorPoint:!0})),i&&(t.shapeMap[\"link-point-top\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:0,y:-de,r:I/2||D||5}),className:\"link-point-top\",name:\"link-point-top\",isAnchorPoint:!0})),_&&(t.shapeMap[\"link-point-bottom\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:0,y:de,r:I/2||D||5}),className:\"link-point-bottom\",name:\"link-point-bottom\",isAnchorPoint:!0}))},getShapeStyle:function(o){var t=(this.mergeStyle||this.getOptions(o)).style,e={stroke:o.color},n=Object(s.mix)({},t,e),i=this.getSize(o),d=i[0]/2,g=i[1]/2;return Object(l.__assign)({x:0,y:0,rx:d,ry:g},n)},update:function(o,t,e){var n=t.getContainer(),i=this.getOptions({}).style,d=this.getSize(o),g={stroke:o.color,rx:d[0]/2,ry:d[1]/2},_=t.get(\"keyShape\"),I=Object(s.mix)({},i,_.attr(),g);I=Object(s.mix)(I,o.style),this.updateShape(o,t,I,!0,e),this.updateLinkPoints(o,n)}},\"single-node\"),Ba(\"diamond\",{options:{size:[80,80],style:{stroke:Qo.defaultNode.style.stroke,fill:Qo.defaultNode.style.fill,lineWidth:Qo.defaultNode.style.lineWidth},labelCfg:{style:{fill:Qo.nodeLabel.style.fill,fontSize:Qo.nodeLabel.style.fontSize,fontFamily:Qo.windowFontFamily}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:Qo.defaultNode.linkPoints.size,lineWidth:Qo.defaultNode.linkPoints.lineWidth,fill:Qo.defaultNode.linkPoints.fill,stroke:Qo.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(l.__assign)({},Qo.nodeStateStyles)},shapeType:\"diamond\",labelPosition:\"center\",drawShape:function(o,t){var e=(this.mergeStyle||this.getOptions(o)).icon,n=e===void 0?{}:e,i=this.getShapeStyle(o),d=t.addShape(\"path\",{attrs:i,className:\"\".concat(this.type,\"-keyShape\"),name:\"\".concat(this.type,\"-keyShape\"),draggable:!0});t.shapeMap[\"\".concat(this.type,\"-keyShape\")]=d;var g=n.width,_=n.height,I=n.show,D=n.text;return I&&(t.shapeMap[\"\".concat(this.type,\"-icon\")]=D?t.addShape(\"text\",{attrs:Object(l.__assign)({x:0,y:0,fontSize:12,fill:\"#000\",stroke:\"#000\",textBaseline:\"middle\",textAlign:\"center\"},n),className:\"\".concat(this.type,\"-icon\"),name:\"\".concat(this.type,\"-icon\"),draggable:!0}):t.addShape(\"image\",{attrs:Object(l.__assign)({x:-g/2,y:-_/2},n),className:\"\".concat(this.type,\"-icon\"),name:\"\".concat(this.type,\"-icon\"),draggable:!0})),this.drawLinkPoints(o,t),d},drawLinkPoints:function(o,t){var e=(this.mergeStyle||this.getOptions(o)).linkPoints,n=e===void 0?{}:e,i=n.top,d=n.left,g=n.right,_=n.bottom,I=n.size,D=n.r,H=Object(l.__rest)(n,[\"top\",\"left\",\"right\",\"bottom\",\"size\",\"r\"]),Z=this.getSize(o),te=Z[0],de=Z[1];d&&(t.shapeMap[\"link-point-left\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:-te/2,y:0,r:I/2||D||5}),className:\"link-point-left\",name:\"link-point-left\",isAnchorPoint:!0})),g&&(t.shapeMap[\"link-point-right\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:te/2,y:0,r:I/2||D||5}),className:\"link-point-right\",name:\"link-point-right\",isAnchorPoint:!0})),i&&(t.shapeMap[\"link-point-top\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:0,y:-de/2,r:I/2||D||5}),className:\"link-point-top\",name:\"link-point-top\",isAnchorPoint:!0})),_&&(t.shapeMap[\"link-point-bottom\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:0,y:de/2,r:I/2||D||5}),className:\"link-point-bottom\",name:\"link-point-bottom\",isAnchorPoint:!0}))},getPath:function(o){var t=this.getSize(o),e=t[0],n=t[1];return[[\"M\",0,-n/2],[\"L\",e/2,0],[\"L\",0,n/2],[\"L\",-e/2,0],[\"Z\"]]},getShapeStyle:function(o){var t=(this.mergeStyle||this.getOptions(o)).style,e={stroke:o.color},n=Object(s.mix)({},t,e),i=this.getPath(o);return Object(l.__assign)({path:i},n)},update:function(o,t,e){var n=t.getContainer(),i=this.getOptions({}).style,d=this.getPath(o),g={stroke:o.color,path:d},_=t.get(\"keyShape\"),I=Object(s.mix)({},i,_.attr(),g);I=Object(s.mix)(I,o.style),this.updateShape(o,t,I,!0,e),this.updateLinkPoints(o,n)}},\"single-node\"),Ba(\"triangle\",{options:{size:40,direction:\"up\",style:{stroke:Qo.defaultNode.style.stroke,fill:Qo.defaultNode.style.fill,lineWidth:Qo.defaultNode.style.lineWidth},labelCfg:{style:{fill:Qo.nodeLabel.style.fill,fontSize:Qo.nodeLabel.style.fontSize},offset:15},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:Qo.defaultNode.linkPoints.size,lineWidth:Qo.defaultNode.linkPoints.lineWidth,fill:Qo.defaultNode.linkPoints.fill,stroke:Qo.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(l.__assign)({},Qo.nodeStateStyles)},shapeType:\"triangle\",labelPosition:\"bottom\",drawShape:function(o,t){var e=this.mergeStyle||this.getOptions(o),n=e.icon,i=n===void 0?{}:n,d=e.direction,g=this.getShapeStyle(o),_=o.direction||d,I=t.addShape(\"path\",{attrs:g,className:\"\".concat(this.type,\"-keyShape\"),name:\"\".concat(this.type,\"-keyShape\"),draggable:!0});t.shapeMap[\"\".concat(this.type,\"-keyShape\")]=I;var D=i.width,H=i.height,Z=i.show,te=i.offset,de=i.text;if(Z)if(de)t.shapeMap[\"\".concat(this.type,\"-icon\")]=t.addShape(\"text\",{attrs:Object(l.__assign)({x:0,y:0,fontSize:12,fill:\"#000\",stroke:\"#000\",textBaseline:\"middle\",textAlign:\"center\"},i),className:\"\".concat(this.type,\"-icon\"),name:\"\".concat(this.type,\"-icon\"),draggable:!0});else{var Pe=-D/2,Ge=-H/2;_!==\"up\"&&_!==\"down\"||(Ge+=te),_!==\"left\"&&_!==\"right\"||(Pe+=te),t.shapeMap[\"\".concat(this.type,\"-icon\")]=t.addShape(\"image\",{attrs:Object(l.__assign)({x:Pe,y:Ge},i),className:\"\".concat(this.type,\"-icon\"),name:\"\".concat(this.type,\"-icon\"),draggable:!0})}return this.drawLinkPoints(o,t),I},drawLinkPoints:function(o,t){var e=this.mergeStyle||this.getOptions(o),n=e.linkPoints,i=n===void 0?{}:n,d=e.direction,g=o.direction||d,_=i.top,I=i.left,D=i.right,H=i.bottom,Z=i.size,te=i.r,de=Object(l.__rest)(i,[\"top\",\"left\",\"right\",\"bottom\",\"size\",\"r\"]),Pe=this.getSize(o)[0];if(I){var Ge=null,Qe=Pe*Math.sin(1/3*Math.PI),Xe=Pe*Math.sin(1/3*Math.PI);g===\"up\"?Ge=[-Xe,Qe]:g===\"down\"?Ge=[-Xe,-Qe]:g===\"left\"&&(Ge=[-Xe,Xe-Qe]),Ge&&(t.shapeMap[\"link-point-left\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},de),{x:Ge[0],y:Ge[1],r:Z/2||te||5}),className:\"link-point-left\",name:\"link-point-left\"}))}if(D){var yt=null;Qe=Pe*Math.sin(1/3*Math.PI),Xe=Pe*Math.sin(1/3*Math.PI),g===\"up\"?yt=[Xe,Qe]:g===\"down\"?yt=[Xe,-Qe]:g===\"right\"&&(yt=[Xe,Xe-Qe]),yt&&(t.shapeMap[\"link-point-right\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},de),{x:yt[0],y:yt[1],r:Z/2||te||5}),className:\"link-point-right\",name:\"link-point-right\"}))}if(_){var Ct=null;Qe=Pe*Math.sin(1/3*Math.PI),Xe=Pe*Math.sin(1/3*Math.PI),g===\"up\"?Ct=[Xe-Qe,-Qe]:g===\"left\"?Ct=[Xe,-Qe]:g===\"right\"&&(Ct=[-Xe,-Qe]),Ct&&(t.shapeMap[\"link-point-top\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},de),{x:Ct[0],y:Ct[1],r:Z/2||te||5}),className:\"link-point-top\",name:\"link-point-top\"}))}if(H){var on=null;Qe=Pe*Math.sin(1/3*Math.PI),Xe=Pe*Math.sin(1/3*Math.PI),g===\"down\"?on=[-Xe+Qe,Qe]:g===\"left\"?on=[Xe,Qe]:g===\"right\"&&(on=[-Xe,Qe]),on&&(t.shapeMap[\"link-point-bottom\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},de),{x:on[0],y:on[1],r:Z/2||te||5}),className:\"link-point-bottom\",name:\"link-point-bottom\"}))}},getPath:function(o){var t=(this.mergeStyle||this.getOptions(o)).direction,e=o.direction||t,n=this.getSize(o)[0],i=n*Math.sin(1/3*Math.PI),d=n*Math.sin(1/3*Math.PI),g=[[\"M\",-d,i],[\"L\",0,-i],[\"L\",d,i],[\"Z\"]];return e===\"down\"?g=[[\"M\",-d,-i],[\"L\",d,-i],[\"L\",0,i],[\"Z\"]]:e===\"left\"?g=[[\"M\",-d,d-i],[\"L\",d,-d],[\"L\",d,d],[\"Z\"]]:e===\"right\"&&(g=[[\"M\",d,d-i],[\"L\",-d,d],[\"L\",-d,-d],[\"Z\"]]),g},getShapeStyle:function(o){var t=(this.mergeStyle||this.getOptions(o)).style,e={stroke:o.color},n=Object(s.mix)({},t,e),i=this.getPath(o);return Object(l.__assign)({path:i},n)},update:function(o,t,e){var n=t.getContainer(),i=this.getOptions({}).style,d=this.getPath(o),g={stroke:o.color,path:d},_=t.get(\"keyShape\"),I=Object(s.mix)({},i,_.attr(),g);I=Object(s.mix)(I,o.style),this.updateShape(o,t,I,!0,e),this.updateLinkPoints(o,n)},updateLinkPoints:function(o,t){var e=this.getOptions({}),n=e.linkPoints,i=e.direction,d=o.direction||i,g=t.shapeMap[\"link-point-left\"]||t.find(function(Po){return Po.get(\"className\")===\"link-point-left\"}),_=t.shapeMap[\"link-point-right\"]||t.find(function(Po){return Po.get(\"className\")===\"link-point-right\"}),I=t.shapeMap[\"link-point-top\"]||t.find(function(Po){return Po.get(\"className\")===\"link-point-top\"}),D=t.shapeMap[\"link-point-bottom\"]||t.find(function(Po){return Po.get(\"className\")===\"link-point-bottom\"}),H=n,Z=g||_||I||D;Z&&(H=Z.attr());var te=Object(s.mix)({},H,o.linkPoints),de=te.fill,Pe=te.stroke,Ge=te.lineWidth,Qe=te.size/2;Qe||(Qe=te.r);var Xe=o.linkPoints?o.linkPoints:{left:void 0,right:void 0,top:void 0,bottom:void 0},yt=Xe.left,Ct=Xe.right,on=Xe.top,sn=Xe.bottom,Nn=this.getSize(o)[0],Tn={r:Qe,fill:de,stroke:Pe,lineWidth:Ge},Bn=null,Hn=Nn*Math.sin(1/3*Math.PI),Sr=Nn*Math.sin(1/3*Math.PI);d===\"up\"?Bn=[-Sr,Hn]:d===\"down\"?Bn=[-Sr,-Hn]:d===\"left\"&&(Bn=[-Sr,Sr-Hn]),Bn&&(g?yt||yt===void 0?g.attr(Object(l.__assign)(Object(l.__assign)({},Tn),{x:Bn[0],y:Bn[1]})):(g.remove(),delete t.shapeMap[\"link-point-left\"]):yt&&(t.shapeMap[\"link-point-left\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},Tn),{x:Bn[0],y:Bn[1]}),className:\"link-point-left\",name:\"link-point-left\",isAnchorPoint:!0})));var Cr=null;d===\"up\"?Cr=[Sr,Hn]:d===\"down\"?Cr=[Sr,-Hn]:d===\"right\"&&(Cr=[Sr,Sr-Hn]),Cr&&(_?Ct||Ct===void 0?_.attr(Object(l.__assign)(Object(l.__assign)({},Tn),{x:Cr[0],y:Cr[1]})):(_.remove(),delete t.shapeMap[\"link-point-right\"]):Ct&&(t.shapeMap[\"link-point-right\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},Tn),{x:Cr[0],y:Cr[1]}),className:\"link-point-right\",name:\"link-point-right\",isAnchorPoint:!0})));var po=null;d===\"up\"?po=[Sr-Hn,-Hn]:d===\"left\"?po=[Sr,-Hn]:d===\"right\"&&(po=[-Sr,-Hn]),po&&(I?on||on===void 0?I.attr(Object(l.__assign)(Object(l.__assign)({},Tn),{x:po[0],y:po[1]})):(I.remove(),delete t.shapeMap[\"link-point-top\"]):on&&(t.shapeMap[\"link-point-top\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},Tn),{x:po[0],y:po[1]}),className:\"link-point-top\",name:\"link-point-top\",isAnchorPoint:!0})));var wo=null;d===\"down\"?wo=[-Sr+Hn,Hn]:d===\"left\"?wo=[Sr,Hn]:d===\"right\"&&(wo=[-Sr,Hn]),wo&&(D?sn||sn===void 0?D.attr(Object(l.__assign)(Object(l.__assign)({},Tn),{x:wo[0],y:wo[1]})):(D.remove(),delete t.shapeMap[\"link-point-bottom\"]):sn&&(t.shapeMap[\"link-point-bottom\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},Tn),{x:wo[0],y:wo[1]}),className:\"link-point-bottom\",name:\"link-point-bottom\",isAnchorPoint:!0})))}},\"single-node\"),Ba(\"modelRect\",{options:{size:[185,70],style:{radius:5,stroke:\"#69c0ff\",fill:\"#ffffff\",lineWidth:Qo.defaultNode.style.lineWidth,fillOpacity:1},labelCfg:{style:{fill:\"#595959\",fontSize:14,fontFamily:Qo.windowFontFamily},offset:30},descriptionCfg:{style:{fontSize:12,fill:\"#bfbfbf\",fontFamily:Qo.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(o,t){var e=(this.mergeStyle||this.getOptions(o)).preRect,n=e===void 0?{}:e,i=this.getShapeStyle(o),d=this.getSize(o),g=d[0],_=d[1],I=t.addShape(\"rect\",{attrs:i,className:\"\".concat(this.type,\"-keyShape\"),name:\"\".concat(this.type,\"-keyShape\"),draggable:!0});t.shapeMap[\"\".concat(this.type,\"-keyShape\")]=I;var D=n.show,H=Object(l.__rest)(n,[\"show\"]);return D&&(t.shapeMap[\"pre-rect\"]=t.addShape(\"rect\",{attrs:Object(l.__assign)({x:-g/2,y:-_/2,height:_},H),className:\"pre-rect\",name:\"pre-rect\",draggable:!0})),this.drawLogoIcon(o,t),this.drawStateIcon(o,t),this.drawLinkPoints(o,t),I},drawLogoIcon:function(o,t){var e=(this.mergeStyle||this.getOptions(o)).logoIcon,n=e===void 0?{}:e,i=this.getSize(o)[0];if(n.show){var d=n.width,g=n.height,_=n.x,I=n.y,D=n.offset,H=n.text,Z=Object(l.__rest)(n,[\"width\",\"height\",\"x\",\"y\",\"offset\",\"text\"]);t.shapeMap[\"rect-logo-icon\"]=H?t.addShape(\"text\",{attrs:Object(l.__assign)({x:0,y:0,fontSize:12,fill:\"#000\",stroke:\"#000\",textBaseline:\"middle\",textAlign:\"center\"},Z),className:\"rect-logo-icon\",name:\"rect-logo-icon\",draggable:!0}):t.addShape(\"image\",{attrs:Object(l.__assign)(Object(l.__assign)({},Z),{x:_||-i/2+d+D,y:I||-g/2,width:d,height:g}),className:\"rect-logo-icon\",name:\"rect-logo-icon\",draggable:!0})}},drawStateIcon:function(o,t){var e=(this.mergeStyle||this.getOptions(o)).stateIcon,n=e===void 0?{}:e,i=this.getSize(o)[0];if(n.show){var d=n.width,g=n.height,_=n.x,I=n.y,D=n.offset,H=n.text,Z=Object(l.__rest)(n,[\"width\",\"height\",\"x\",\"y\",\"offset\",\"text\"]);t.shapeMap[\"rect-state-icon\"]=H?t.addShape(\"text\",{attrs:Object(l.__assign)({x:0,y:0,fontSize:12,fill:\"#000\",stroke:\"#000\",textBaseline:\"middle\",textAlign:\"center\"},Z),className:\"rect-state-icon\",name:\"rect-state-icon\",draggable:!0}):t.addShape(\"image\",{attrs:Object(l.__assign)(Object(l.__assign)({},Z),{x:_||i/2-d+D,y:I||-g/2,width:d,height:g}),className:\"rect-state-icon\",name:\"rect-state-icon\",draggable:!0})}},drawLinkPoints:function(o,t){var e=(this.mergeStyle||this.getOptions(o)).linkPoints,n=e===void 0?{}:e,i=n.top,d=n.left,g=n.right,_=n.bottom,I=n.size,D=n.r,H=Object(l.__rest)(n,[\"top\",\"left\",\"right\",\"bottom\",\"size\",\"r\"]),Z=this.getSize(o),te=Z[0],de=Z[1];d&&(t.shapeMap[\"link-point-left\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:-te/2,y:0,r:I/2||D||5}),className:\"link-point-left\",name:\"link-point-left\",isAnchorPoint:!0})),g&&(t.shapeMap[\"link-point-right\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:te/2,y:0,r:I/2||D||5}),className:\"link-point-right\",name:\"link-point-right\",isAnchorPoint:!0})),i&&(t.shapeMap[\"link-point-top\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:0,y:-de/2,r:I/2||D||5}),className:\"link-point-top\",name:\"link-point-top\",isAnchorPoint:!0})),_&&(t.shapeMap[\"link-point-bottom\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:0,y:de/2,r:I/2||D||5}),className:\"link-point-bottom\",name:\"link-point-bottom\",isAnchorPoint:!0}))},drawLabel:function(o,t){var e=this.getOptions(o),n=e.labelCfg,i=n===void 0?{}:n,d=e.logoIcon,g=d===void 0?{}:d,_=e.descriptionCfg,I=_===void 0?{}:_,D=this.getSize(o)[0],H=null,Z=g.show,te=g.width,de=-D/2+i.offset;Z&&(de=-D/2+te+i.offset);var Pe=i.style,Ge=I.style,Qe=I.paddingTop;return Object(s.isString)(o.description)?(H=t.addShape(\"text\",{attrs:Object(l.__assign)(Object(l.__assign)({},Pe),{x:de,y:-5,text:o.label}),className:\"text-shape\",name:\"text-shape\",draggable:!0,labelRelated:!0}),t.shapeMap[\"text-shape\"]=H,t.shapeMap[\"rect-description\"]=t.addShape(\"text\",{attrs:Object(l.__assign)(Object(l.__assign)({},Ge),{x:de,y:17+(Qe||0),text:o.description}),className:\"rect-description\",name:\"rect-description\",draggable:!0,labelRelated:!0})):(H=t.addShape(\"text\",{attrs:Object(l.__assign)(Object(l.__assign)({},Pe),{x:de,y:7,text:o.label}),className:\"text-shape\",name:\"text-shape\",draggable:!0,labelRelated:!0}),t.shapeMap[\"text-shape\"]=H),H},getShapeStyle:function(o){var t=(this.mergeStyle||this.getOptions(o)).style,e={stroke:o.color},n=Object(s.mix)({},t,e),i=this.getSize(o),d=n.width||i[0],g=n.height||i[1];return Object(l.__assign)({x:-d/2,y:-g/2,width:d,height:g},n)},update:function(o,t){var e=this.mergeStyle||this.getOptions(o),n=e.style,i=n===void 0?{}:n,d=e.labelCfg,g=d===void 0?{}:d,_=e.descriptionCfg,I=_===void 0?{}:_,D=this.getSize(o),H=D[0],Z=D[1];t.get(\"keyShape\").attr(Object(l.__assign)(Object(l.__assign)({},i),{x:-H/2,y:-Z/2,width:H,height:Z}));var te=t.getContainer(),de=te.shapeMap[\"rect-logo-icon\"]||te.find(function(Et){return Et.get(\"className\")===\"rect-logo-icon\"}),Pe=de?de.attr():{},Ge=Object(s.mix)({},Pe,o.logoIcon),Qe=Ge.width;Qe===void 0&&(Qe=this.options.logoIcon.width);var Xe=o.logoIcon?o.logoIcon.show:void 0,yt=g.offset,Ct=-H/2+Qe+yt;Xe||Xe===void 0||(Ct=-H/2+yt);var on=te.shapeMap[\"node-label\"]||te.find(function(Et){return Et.get(\"className\")===\"node-label\"}),sn=te.shapeMap[\"rect-description\"]||te.find(function(Et){return Et.get(\"className\")===\"rect-description\"});if(o.label)if(on){var Nn=o.labelCfg?o.labelCfg.style:{},Tn=Object(s.mix)({},on.attr(),Nn);o.label&&(Tn.text=o.label),Tn.x=Ct,Object(s.isString)(o.description)&&(Tn.y=-5),sn&&(sn.resetMatrix(),sn.attr({x:Ct})),on.resetMatrix(),on.attr(Tn)}else te.shapeMap[\"node-label\"]=te.addShape(\"text\",{attrs:Object(l.__assign)(Object(l.__assign)({},g.style),{x:Ct,y:o.description?-5:7,text:o.label}),className:\"node-label\",name:\"node-label\",draggable:!0,labelRelated:!0});if(Object(s.isString)(o.description)){var Bn=I.paddingTop;if(sn){Nn=o.descriptionCfg?o.descriptionCfg.style:{};var Hn=Object(s.mix)({},sn.attr(),Nn);Object(s.isString)(o.description)&&(Hn.text=o.description),Hn.x=Ct,sn.resetMatrix(),sn.attr(Object(l.__assign)(Object(l.__assign)({},Hn),{y:17+(Bn||0)}))}else te.shapeMap[\"rect-description\"]=te.addShape(\"text\",{attrs:Object(l.__assign)(Object(l.__assign)({},I.style),{x:Ct,y:17+(Bn||0),text:o.description}),className:\"rect-description\",name:\"rect-description\",draggable:!0,labelRelated:!0})}var Sr=te.shapeMap[\"pre-rect\"]||te.find(function(Et){return Et.get(\"className\")===\"pre-rect\"});if(Sr&&!Sr.destroyed){var Cr=Object(s.mix)({},Sr.attr(),o.preRect);Sr.attr(Object(l.__assign)(Object(l.__assign)({},Cr),{x:-H/2,y:-Z/2,height:Z}))}if(de&&!de.destroyed)if(Xe||Xe===void 0){var po=Ge.width,wo=Ge.height,Po=Ge.x,Xo=Ge.y,ri=Ge.offset,ki=Object(l.__rest)(Ge,[\"width\",\"height\",\"x\",\"y\",\"offset\"]);de.attr(Object(l.__assign)(Object(l.__assign)({},ki),{x:Po||-H/2+po+ri,y:Xo||-wo/2,width:po,height:wo}))}else de.remove(),delete te.shapeMap[\"pre-rect\"];else Xe&&this.drawLogoIcon(o,te);var T=te.shapeMap[\"rect-state-icon\"]||te.find(function(Et){return Et.get(\"className\")===\"rect-state-icon\"}),B=T?T.attr():{},K=Object(s.mix)({},B,o.stateIcon);if(T){K.show||K.show===void 0||(T.remove(),delete te.shapeMap[\"rect-state-icon\"]);var Se=K.width,He=(wo=K.height,Po=K.x,Xo=K.y,K.offset),Ye=Object(l.__rest)(K,[\"width\",\"height\",\"x\",\"y\",\"offset\"]);T.attr(Object(l.__assign)(Object(l.__assign)({},Ye),{x:Po||H/2-Se+He,y:Xo||-wo/2,width:Se,height:wo}))}else K.show&&this.drawStateIcon(o,te);this.updateLinkPoints(o,te)},getOptions:function(o,t){return t===\"move\"?o:Object(s.deepMix)({},this.options,this.getCustomConfig(o)||{},o)}},\"single-node\"),Ba(\"star\",{options:{size:60,style:{stroke:Qo.defaultNode.style.stroke,fill:Qo.defaultNode.style.fill,lineWidth:Qo.defaultNode.style.lineWidth},labelCfg:{style:{fill:Qo.nodeLabel.style.fill,fontSize:Qo.nodeLabel.style.fontSize,fontFamily:Qo.windowFontFamily}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:Qo.defaultNode.linkPoints.size,lineWidth:Qo.defaultNode.linkPoints.lineWidth,fill:Qo.defaultNode.linkPoints.fill,stroke:Qo.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(l.__assign)({},Qo.nodeStateStyles)},shapeType:\"star\",labelPosition:\"center\",drawShape:function(o,t){var e=(this.mergeStyle||this.getOptions(o)).icon,n=e===void 0?{}:e,i=this.getShapeStyle(o),d=t.addShape(\"path\",{attrs:i,className:\"\".concat(this.type,\"-keyShape\"),name:\"\".concat(this.type,\"-keyShape\"),draggable:!0});t.shapeMap[\"\".concat(this.type,\"-keyShape\")]=d;var g=n.width,_=n.height,I=n.show,D=n.text;return I&&(t.shapeMap[\"\".concat(this.type,\"-icon\")]=D?t.addShape(\"text\",{attrs:Object(l.__assign)({x:0,y:0,fontSize:12,fill:\"#000\",stroke:\"#000\",textBaseline:\"middle\",textAlign:\"center\"},n),className:\"\".concat(this.type,\"-icon\"),name:\"\".concat(this.type,\"-icon\"),draggable:!0}):t.addShape(\"image\",{attrs:Object(l.__assign)({x:-g/2,y:-_/2},n),className:\"\".concat(this.type,\"-icon\"),name:\"\".concat(this.type,\"-icon\"),draggable:!0})),this.drawLinkPoints(o,t),d},drawLinkPoints:function(o,t){var e=(this.mergeStyle||this.getOptions(o)).linkPoints,n=e===void 0?{}:e,i=n.top,d=n.left,g=n.right,_=n.leftBottom,I=n.rightBottom,D=n.size,H=n.r,Z=Object(l.__rest)(n,[\"top\",\"left\",\"right\",\"leftBottom\",\"rightBottom\",\"size\",\"r\"]),te=this.getSize(o)[0];if(g){var de=Math.cos(.1*Math.PI)*te,Pe=Math.sin(.1*Math.PI)*te;t.shapeMap[\"link-point-right\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},Z),{x:de,y:-Pe,r:D/2||H||5}),className:\"link-point-right\",name:\"link-point-right\"})}i&&(de=Math.cos(.5*Math.PI)*te,Pe=Math.sin(.5*Math.PI)*te,t.shapeMap[\"link-point-top\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},Z),{x:de,y:-Pe,r:D/2||H||5}),className:\"link-point-top\",name:\"link-point-top\"})),d&&(de=Math.cos(.9*Math.PI)*te,Pe=Math.sin(.9*Math.PI)*te,t.shapeMap[\"link-point-left\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},Z),{x:de,y:-Pe,r:D/2||H||5}),className:\"link-point-left\",name:\"link-point-left\"})),_&&(de=Math.cos(1.3*Math.PI)*te,Pe=Math.sin(1.3*Math.PI)*te,t.shapeMap[\"link-point-bottom\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},Z),{x:de,y:-Pe,r:D/2||H||5}),className:\"link-point-left-bottom\",name:\"link-point-left-bottom\"})),I&&(de=Math.cos(1.7*Math.PI)*te,Pe=Math.sin(1.7*Math.PI)*te,t.shapeMap[\"link-point-right-bottom\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},Z),{x:de,y:-Pe,r:D/2||H||5}),className:\"link-point-right-bottom\",name:\"link-point-right-bottom\"}))},getPath:function(o){var t=this.getSize(o)[0],e=3*t/8,n=o.innerR||e;return Oa.getStarPath(t,n)},getShapeStyle:function(o){var t=(this.mergeStyle||this.getOptions(o)).style,e={stroke:o.color},n=Object(s.mix)({},t,e),i=this.getPath(o);return Object(l.__assign)({path:i},n)},update:function(o,t,e){var n=t.getContainer(),i=this.getOptions({}).style,d=this.getPath(o),g={stroke:o.color,path:d},_=t.get(\"keyShape\"),I=Object(s.mix)({},i,_.attr(),g);I=Object(s.mix)(I,o.style),this.updateShape(o,t,I,!0,e),this.updateLinkPoints(o,n)},updateLinkPoints:function(o,t){var e=this.getOptions({}).linkPoints,n=t.shapeMap[\"link-point-left\"]||t.find(function(Hn){return Hn.get(\"className\")===\"link-point-left\"}),i=t.shapeMap[\"link-point-right\"]||t.find(function(Hn){return Hn.get(\"className\")===\"link-point-right\"}),d=t.shapeMap[\"link-point-top\"]||t.find(function(Hn){return Hn.get(\"className\")===\"link-point-top\"}),g=t.shapeMap[\"link-point-left-bottom\"]||t.find(function(Hn){return Hn.get(\"className\")===\"link-point-left-bottom\"}),_=t.shapeMap[\"link-point-left-bottom\"]||t.find(function(Hn){return Hn.get(\"className\")===\"link-point-right-bottom\"}),I=e,D=n||i||d||g||_;D&&(I=D.attr());var H=Object(s.mix)({},I,o.linkPoints),Z=H.fill,te=H.stroke,de=H.lineWidth,Pe=H.size/2;Pe||(Pe=H.r);var Ge=o.linkPoints?o.linkPoints:{left:void 0,right:void 0,top:void 0,leftBottom:void 0,rightBottom:void 0},Qe=Ge.left,Xe=Ge.right,yt=Ge.top,Ct=Ge.leftBottom,on=Ge.rightBottom,sn=this.getSize(o)[0],Nn={r:Pe,fill:Z,stroke:te,lineWidth:de},Tn=Math.cos(.1*Math.PI)*sn,Bn=Math.sin(.1*Math.PI)*sn;i?Xe||Xe===void 0?i.attr(Object(l.__assign)(Object(l.__assign)({},Nn),{x:Tn,y:-Bn})):(i.remove(),delete t.shapeMap[\"link-point-right\"]):Xe&&(t.shapeMap[\"link-point-right\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},Nn),{x:Tn,y:-Bn}),className:\"link-point-right\",name:\"link-point-right\",isAnchorPoint:!0})),Tn=Math.cos(.5*Math.PI)*sn,Bn=Math.sin(.5*Math.PI)*sn,d?yt||yt===void 0?d.attr(Object(l.__assign)(Object(l.__assign)({},Nn),{x:Tn,y:-Bn})):(d.remove(),delete t.shapeMap[\"link-point-top\"]):yt&&(t.shapeMap[\"link-point-top\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},Nn),{x:Tn,y:-Bn}),className:\"link-point-top\",name:\"link-point-top\",isAnchorPoint:!0})),Tn=Math.cos(.9*Math.PI)*sn,Bn=Math.sin(.9*Math.PI)*sn,n?Qe||Qe===void 0?n.attr(Object(l.__assign)(Object(l.__assign)({},Nn),{x:Tn,y:-Bn})):(n.remove(),delete t.shapeMap[\"link-point-left\"]):Qe&&(t.shapeMap[\"link-point-left\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},Nn),{x:Tn,y:-Bn}),className:\"link-point-left\",name:\"link-point-left\",isAnchorPoint:!0})),Tn=Math.cos(1.3*Math.PI)*sn,Bn=Math.sin(1.3*Math.PI)*sn,g?Ct||Ct===void 0?g.attr(Object(l.__assign)(Object(l.__assign)({},Nn),{x:Tn,y:-Bn})):(g.remove(),delete t.shapeMap[\"link-point-left-bottom\"]):Ct&&(t.shapeMap[\"link-point-left-bottom\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},Nn),{x:Tn,y:-Bn}),className:\"link-point-left-bottom\",name:\"link-point-left-bottom\",isAnchorPoint:!0})),Tn=Math.cos(1.7*Math.PI)*sn,Bn=Math.sin(1.7*Math.PI)*sn,_?on||on===void 0?_.attr(Object(l.__assign)(Object(l.__assign)({},Nn),{x:Tn,y:-Bn})):(_.remove(),delete t.shapeMap[\"link-point-right-bottom\"]):on&&(t.shapeMap[\"link-point-right-bottom\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},Nn),{x:Tn,y:-Bn}),className:\"link-point-right-bottom\",name:\"link-point-right-bottom\",isAnchorPoint:!0}))}},\"single-node\");var Hc=Oa.defaultSubjectColors;Ba(\"donut\",{options:{size:Qo.defaultNode.size,style:{x:0,y:0,stroke:Qo.defaultNode.style.stroke,fill:Qo.defaultNode.style.fill,lineWidth:Qo.defaultNode.style.lineWidth},labelCfg:{style:{fill:Qo.nodeLabel.style.fill,fontSize:Qo.nodeLabel.style.fontSize,fontFamily:Qo.windowFontFamily}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:Qo.defaultNode.linkPoints.size,lineWidth:Qo.defaultNode.linkPoints.lineWidth,fill:Qo.defaultNode.linkPoints.fill,stroke:Qo.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(l.__assign)({},Qo.nodeStateStyles)},shapeType:\"circle\",labelPosition:\"center\",drawShape:function(o,t){var e=(this.mergeStyle||this.getOptions(o)).icon,n=e===void 0?{}:e,i=this.getShapeStyle(o),d=Object(s.deepMix)({},n,o.icon),g=t.addShape(\"circle\",{attrs:i,className:\"\".concat(this.type,\"-keyShape\"),draggable:!0,name:\"\".concat(this.type,\"-keyShape\")});t.shapeMap[\"\".concat(this.type,\"-keyShape\")]=g;var _=d.width,I=d.height,D=d.show,H=d.text;return D&&(t.shapeMap[\"\".concat(this.type,\"-icon\")]=H?t.addShape(\"text\",{attrs:Object(l.__assign)({x:0,y:0,fontSize:12,fill:\"#000\",stroke:\"#000\",textBaseline:\"middle\",textAlign:\"center\"},d),className:\"\".concat(this.type,\"-icon\"),name:\"\".concat(this.type,\"-icon\"),draggable:!0}):t.addShape(\"image\",{attrs:Object(l.__assign)({x:-_/2,y:-I/2},d),className:\"\".concat(this.type,\"-icon\"),name:\"\".concat(this.type,\"-icon\"),draggable:!0})),Tf(o,t,g),this.drawLinkPoints(o,t),g},updateShape:function(o,t,e,n,i){var d=t.get(\"keyShape\");d.attr(Object(l.__assign)({},e)),rf(o,t,d),this.updateLabel(o,t,i),n&&this.updateIcon(o,t)}},\"circle\");var Tf=function(o,t,e){var n=o.donutAttrs,i=n===void 0?{}:n,d=o.donutColorMap,g=d===void 0?{}:d,_=Object.keys(i).length;if(i&&_>1){var I=Il(i,g),D=I.configs,H=I.totalValue;if(H){var Z=of(e),te=Z.lineWidth,de=Z.arcR,Pe=[de,0],Ge=0;if(_===1)return void Xu(t,{arcR:de,arcBegin:Pe,beginAngle:Ge,config:D[0],fanIndex:0,lineWidth:te,totalValue:H,drawWhole:!0});for(var Qe=0;Qe<D.length;Qe++){var Xe=Xu(t,{arcR:de,arcBegin:Pe,beginAngle:Ge,config:D[Qe],fanIndex:Qe,lineWidth:te,totalValue:H});if(Xe.shouldEnd)return;Pe=Xe.arcBegin,Ge=Xe.beginAngle}}}},Xu=function(o,t){var e,n,i,d=t.arcR,g=t.arcBegin,_=t.beginAngle,I=t.config,D=t.fanIndex,H=t.lineWidth,Z=t.totalValue,te=t.drawWhole,de=te!==void 0&&te,Pe=t.updateShape,Ge=Pe===void 0?void 0:Pe,Qe=I.value/Z;if(Qe<.001)return{beginAngle:_,arcBegin:g,shape:void 0,shouldEnd:!1};if(de||Qe>.999)e=[d,1e-4],i=1;else{var Xe=Qe*Math.PI*2;n=_+Xe,e=[d*Math.cos(n),-d*Math.sin(n)],i=Xe>Math.PI?1:0}var yt={path:[[\"M\",g[0],g[1]],[\"A\",d,d,0,i,0,e[0],e[1]],[\"L\",e[0],e[1]]],stroke:I.color||(Ge==null?void 0:Ge.attr(\"stroke\"))||Hc[D%Hc.length],lineWidth:H};return Ge?Ge.attr(yt):o.shapeMap[\"\".concat(\"fan-shape-\").concat(D)]=o.addShape(\"path\",{attrs:yt,name:\"\".concat(\"fan-shape-\").concat(D),draggable:!0}),{beginAngle:n,arcBegin:e,shape:o.shapeMap[\"\".concat(\"fan-shape-\").concat(D)],shouldEnd:de||Qe>.999}},rf=function(o,t,e){var n=o.donutAttrs,i=o.donutColorMap,d=i===void 0?{}:i,g={},_=t.getContainer();if(n){var I=Il(n,d),D=I.configs,H=I.totalValue;if(H)for(var Z=of(e),te=Z.lineWidth,de=Z.arcR,Pe=[de,0],Ge=0,Qe=0;Qe<D.length;Qe++){var Xe=\"\".concat(\"fan-shape-\").concat(Qe),yt=Xu(_,{arcR:de,arcBegin:Pe,beginAngle:Ge,config:D[Qe],fanIndex:Qe,lineWidth:te,totalValue:H,drawWhole:D.length===1,updateShape:_.shapeMap[Xe]});if(yt.shape&&(g[Xe]=!0),yt.shouldEnd)break;Pe=yt.arcBegin,Ge=yt.beginAngle}}Object.keys(_.shapeMap).filter(function(Ct){return Ct.includes(\"fan-shape-\")}).forEach(function(Ct){g[Ct]||(_.shapeMap[Ct].remove(!0),delete _.shapeMap[Ct])})},Il=function(o,t){var e=0,n=[];return Object.keys(o).forEach(function(i){var d=+o[i];isNaN(d)||(n.push({key:i,value:d,color:t[i]}),e+=d)}),{totalValue:e,configs:n}},of=function(o){var t=o.attr(\"r\"),e=.6*t;return{lineWidth:t-e,arcR:(t+e)/2}},Fu=function(o){var t=o.x,e=o.y;return{x:t,y:e,centerX:t,centerY:e,minX:t,minY:e,maxX:t,maxY:e,height:0,width:0}},Oc=function(o){for(var t=[],e={},n=o.length-1;n>=0;n--){var i=o[n];i.id=\"\".concat(i.x,\"|||\").concat(i.y),e[i.id]||(e[i.id]=i,t.push(i))}return t},va=function(o){return Oc(o)},Qu=function(o,t){return o.width||o.height?{centerX:o.centerX,centerY:o.centerY,minX:o.minX-t,minY:o.minY-t,maxX:o.maxX+t,maxY:o.maxY+t,height:o.height+2*t,width:o.width+2*t}:o},Hu=function(o,t,e){var n=function(g,_){var I=Math.abs(g.x-_.centerX),D=Math.abs(g.y-_.centerY);return I===0&&D===0?0:I/_.width>D/_.height}(t,o);if(n===0){var i=o.centerX,d=o.centerY;return e.y<t.y?d=o.minY:e.x>t.x?i=o.maxX:e.x<t.x?i=o.minX:e.x===t.x&&(d=o.maxY),{x:i,y:d}}return n?{x:t.x>o.centerX?o.maxX:o.minX,y:t.y}:{x:t.x,y:t.y>o.centerY?o.maxY:o.minY}},eu=function(o,t){var e=Math.min(o.minX,t.minX),n=Math.min(o.minY,t.minY),i=Math.max(o.maxX,t.maxX),d=Math.max(o.maxY,t.maxY);return{centerX:(e+i)/2,centerY:(n+d)/2,minX:e,minY:n,maxX:i,maxY:d,height:d-n,width:i-e}},ml=function(o){return[{x:o.minX,y:o.minY},{x:o.maxX,y:o.minY},{x:o.maxX,y:o.maxY},{x:o.minX,y:o.maxY}]},Ju=function(o,t){var e=o.x,n=o.y;return e<t.minX||e>t.maxX||n<t.minY||n>t.maxY},yl=function(o,t){return Math.abs(o.x-t.x)+Math.abs(o.y-t.y)},Us=function(o,t,e,n,i){return yl(o,t)+yl(o,e)+function(d,g){var _=0;return g.forEach(function(I){I&&(d.x===I.x&&(_+=-2),d.y===I.y&&(_+=-2))}),_}(o,[t,e,n,i])},af=function o(t,e,n,i,d){d===void 0&&(d=0),t.unshift(e[i]),n[i]&&n[i]!==i&&d<=100&&o(t,e,n,n[i],d+1)},kl=function(o,t,e,n){var i=e.x-o.x,d=e.y-o.y,g=n.x-o.x,_=n.y-o.y,I=e.x-t.x,D=e.y-t.y,H=n.x-t.x,Z=n.y-t.y;return(i*_-d*g)*(I*Z-D*H)<=0&&(i*D-d*I)*(g*Z-_*H)<=0},Nl=function(o,t,e){if(e.width||e.height){var n=ml(e),i=n[0],d=n[1],g=n[2],_=n[3];return kl(o,t,i,d)||kl(o,t,i,_)||kl(o,t,d,g)||kl(o,t,g,_)}return!1},Pf=function(o,t,e,n){var i=[];return o.forEach(function(d){if(d!==t&&(d.x===t.x||d.y===t.y)){if(Nl(d,t,e)||Nl(d,t,n))return;i.push(d)}}),Oc(i)},jl=function(o,t){var e=[],n=o[0];return e.push(\"M\".concat(n.x,\" \").concat(n.y)),o.forEach(function(i,d){var g=o[d+1],_=o[d+2];if(g&&_)if(function(Z,te,de){return!(Z.x===te.x&&te.x===de.x||Z.y===te.y&&te.y===de.y)}(i,g,_)){var I=function(Z,te,de,Pe){var Ge=yl(Z,te),Qe=yl(de,te);return Ge<Pe&&(Pe=Ge),Qe<Pe&&(Pe=Qe),[{x:te.x-Pe/Ge*(te.x-Z.x),y:te.y-Pe/Ge*(te.y-Z.y)},{x:te.x-Pe/Qe*(te.x-de.x),y:te.y-Pe/Qe*(te.y-de.y)}]}(i,g,_,t),D=I[0],H=I[1];e.push(\"L\".concat(D.x,\" \").concat(D.y)),e.push(\"Q\".concat(g.x,\" \").concat(g.y,\" \").concat(H.x,\" \").concat(H.y)),e.push(\"L\".concat(H.x,\" \").concat(H.y))}else e.push(\"L\".concat(g.x,\" \").concat(g.y));else g&&e.push(\"L\".concat(g.x,\" \").concat(g.y))}),e.join(\"\")},qf=function(o,t,e,n,i){var d,g;if(e&&e.getType())if(e.getType()===\"combo\"){var _=e.getKeyShape().getBBox();if(_){var I=e.getModel(),D=I.x,H=I.y;(d={x:D,y:H,width:_.width,height:_.height,minX:_.minX+D,maxX:_.maxX+D,minY:_.minY+H,maxY:_.maxY+H}).centerX=(d.minX+d.maxX)/2,d.centerY=(d.minY+d.maxY)/2}else d=Fu(o)}else d=e&&e.getBBox();else d=Fu(o);if(n&&n.getType())if(n.getType()===\"combo\"){var Z=n.getKeyShape().getBBox();if(Z){var te=n.getModel(),de=te.x,Pe=te.y;(g={x:de,y:Pe,width:Z.width,height:Z.height,minX:Z.minX+de,maxX:Z.maxX+de,minY:Z.minY+Pe,maxY:Z.maxY+Pe}).centerX=(g.minX+g.maxX)/2,g.centerY=(g.minY+g.maxY)/2}else g=Fu(t)}else g=n&&n.getBBox();else g=Fu(t);var Ge=Qu(d,i),Qe=Qu(g,i),Xe=Hu(Ge,o,t),yt=Hu(Qe,t,o),Ct=function(Hn){Hn===void 0&&(Hn=[]);var Sr=[],Cr=[];Hn.forEach(function(ri){Sr.push(ri.x),Cr.push(ri.y)});var po=Math.min.apply(Math,Sr),wo=Math.max.apply(Math,Sr),Po=Math.min.apply(Math,Cr),Xo=Math.max.apply(Math,Cr);return{centerX:(po+wo)/2,centerY:(Po+Xo)/2,maxX:wo,maxY:Xo,minX:po,minY:Po,height:Xo-Po,width:wo-po}}([Xe,yt]),on=eu(Ge,Ct),sn=eu(Qe,Ct),Nn=[];Nn=Nn.concat(ml(on)).concat(ml(sn));var Tn={x:(o.x+t.x)/2,y:(o.y+t.y)/2};[Ct,on,sn].forEach(function(Hn){Nn=Nn.concat(function(Sr,Cr){return function(po,wo){return wo<po.minX||wo>po.maxX?[]:[{x:wo,y:po.minY},{x:wo,y:po.maxY}]}(Sr,Cr.x).concat(function(po,wo){return wo<po.minY||wo>po.maxY?[]:[{x:po.minX,y:wo},{x:po.maxX,y:wo}]}(Sr,Cr.y))}(Hn,Tn).filter(function(Sr){return Ju(Sr,Ge)&&Ju(Sr,Qe)}))}),[{x:Xe.x,y:yt.y},{x:yt.x,y:Xe.y}].forEach(function(Hn){Ju(Hn,Ge)&&Ju(Hn,Qe)&&Nn.push(Hn)}),Nn.unshift(Xe),Nn.push(yt);var Bn=function(Hn,Sr,Cr,po,wo,Po,Xo){var ri,ki=[],T=((ri={})[Sr.id]=Sr,ri),B={},K={},Se={};K[Sr.id]=0,Se[Sr.id]=Us(Sr,Cr,Sr);var He=new sf;He.add({id:Sr.id,value:Se[Sr.id]});var Ye,Et={};for(Hn.forEach(function(vr){Et[vr.id]=vr});Object.keys(T).length;){var bn=He.minId(!1);if(!bn)break;if((Ye=T[bn])===Cr){var Qn=[];return af(Qn,Et,B,Cr.id),Qn}delete T[Ye.id],He.remove(Ye.id),ki.push(Ye);var yr=Pf(Hn,Ye,po,wo);yr.forEach(function(vr){if(ki.indexOf(vr)===-1){var no=vr.id;T[no]||(T[no]=vr);var Wo=Se[Ye.id]+yl(Ye,vr);K[no]&&Wo>=K[no]||(B[no]=Ye.id,K[no]=Wo,Se[no]=K[no]+Us(vr,Cr,Sr,Po,Xo)),He.add({id:no,value:Se[no]})}})}return[Sr,Cr]}(Nn=Oc(Nn),Xe,yt,d,g,o,t);return Bn.unshift(o),Bn.push(t),va(Bn)},sf=function(){function o(){this.arr=[],this.map={},this.arr=[],this.map={}}return o.prototype._innerAdd=function(t,e){for(var n=[0,e-1];n[1]-n[0]>1;){var i=Math.floor((n[0]+n[1])/2);if(this.arr[i].value>t.value)n[1]=i;else{if(!(this.arr[i].value<t.value))return this.arr.splice(i,0,t),void(this.map[t.id]=!0);n[0]=i}}this.arr.splice(n[1],0,t),this.map[t.id]=!0},o.prototype.add=function(t){delete this.map[t.id];var e=this.arr.length;return e?this.arr[e-1].value<t.value?(this.arr.push(t),void(this.map[t.id]=!0)):void this._innerAdd(t,e):(this.arr.push(t),void(this.map[t.id]=!0))},o.prototype.remove=function(t){this.map[t]&&delete this.map[t]},o.prototype._clearAndGetMinId=function(){for(var t,e=this.arr.length-1;e>=0;e--)this.map[this.arr[e].id]?t=this.arr[e].id:this.arr.splice(e,1);return t},o.prototype._findFirstId=function(){for(;this.arr.length;){var t=this.arr.shift();if(this.map[t.id])return t.id}},o.prototype.minId=function(t){return t?this._clearAndGetMinId():this._findFirstId()},o}(),If={offset:20,maxAllowedDirectionChange:Math.PI/2,maximumLoops:2e3,gridSize:10,directions:[{stepX:1,stepY:0},{stepX:-1,stepY:0},{stepX:0,stepY:1},{stepX:0,stepY:-1}],get penalties(){return{0:0,45:this.gridSize/2,90:this.gridSize/2}},distFunc:function(o,t){return Math.abs(o.x-t.x)+Math.abs(o.y-t.y)},fallbackRoute:function(o,t,e,n,i){return va(qf(o,t,e,n,i.offset))}},cu=function(o,t){var e=Math.round(Math.abs(o/t));return e<0?0:(o<0?-1:1)*e},tu=function(o,t){var e=t.x-o.x,n=t.y-o.y;return e||n?Math.atan2(n,e):0},uf=function(o,t){var e=Math.abs(o-t);return e>Math.PI?2*Math.PI-e:e},Qf=function(o,t,e){for(var n=1/0,i=0,d=t.length;i<d;i++){var g=e(o,t[i]);g<n&&(n=g)}return n},cf=function(o,t,e,n,i){var d=[];if(!e)return[o];var g=i.directions,_=i.offset,I=e.getBBox(),D=t.x>I.minX&&t.x<I.maxX&&t.y>I.minY&&t.y<I.maxY,H=Qu(I,_);for(var Z in H)H[Z]=cu(H[Z],i.gridSize);if(D){for(var te=0,de=g;te<de.length;te++){var Pe=de[te],Ge=[[{x:H.minX,y:H.minY},{x:H.maxX,y:H.minY}],[{x:H.minX,y:H.minY},{x:H.minX,y:H.maxY}],[{x:H.maxX,y:H.minY},{x:H.maxX,y:H.maxY}],[{x:H.minX,y:H.maxY},{x:H.maxX,y:H.maxY}]];for(Z=0;Z<4;Z++){var Qe=Ge[Z],Xe=Oa.getLineIntersect(o,{x:o.x+Pe.stepX*H.width,y:o.y+Pe.stepY*H.height},Qe[0],Qe[1]);Xe&&!Nl(o,Xe,I)&&(Xe.id=\"\".concat(Xe.x,\"|||\").concat(Xe.y),d.push(Xe))}}return d}var yt=Hu(H,o,n);return yt.id=\"\".concat(yt.x,\"|||\").concat(yt.y),[yt]},bl=function(o,t,e,n){var i=tu(o,t),d=e[o.id];if(!d){var g=tu(n,o);return uf(g,i)}var _=tu({x:d.x,y:d.y},o);return uf(_,i)},fd=function(o,t,e,n,i,d,g){var _=[n],I=n,D=o.id,H=o.x,Z=o.y,te={x:H,y:Z,id:D};bl(te,d,t,e)&&(I={x:d.x===n.x?n.x:te.x*g,y:d.y===n.y?n.y:te.y*g},_.unshift(I));for(var de=t[D];de&&de.id!==D;){var Pe={x:H,y:Z,id:D},Ge={x:de.x,y:de.y,id:de.id};bl(Ge,Pe,t,e)&&(I={x:Ge.x===Pe.x?I.x:Ge.x*g,y:Ge.y===Pe.y?I.y:Ge.y*g},_.unshift(I)),H=Ge.x,Z=Ge.y,de=t[D=Ge.id]}return _[0].x=H===e.x?i.x:I.x,_[0].y=Z===e.y?i.y:I.y,_.unshift(i),_},Gc=function(o,t,e,n,i){if(isNaN(o.x)||isNaN(t.x))return[];var d=Object(s.deepMix)(If,i);d.obstacles=d.obstacles||[];var g=d.penalties,_=d.gridSize,I=function(T,B,K){var Se={};return T.forEach(function(He){if(He)for(var Ye=Qu(He.getBBox(),K),Et=cu(Ye.minX,B);Et<=cu(Ye.maxX,B);Et+=1)for(var bn=cu(Ye.minY,B);bn<=cu(Ye.maxY,B);bn+=1)Se[\"\".concat(Et,\"|||\").concat(bn)]=!0}),Se}(d.obstacles.concat([e,n]),_,d.offset),D={x:cu(o.x,_),y:cu(o.y,_)},H={x:cu(t.x,_),y:cu(t.y,_)};o.id=\"\".concat(D.x,\"|||\").concat(D.y),t.id=\"\".concat(H.x,\"|||\").concat(H.y);var Z=cf(D,o,e,H,d),te=cf(H,t,n,D,d);Z.forEach(function(T){delete I[T.id]}),te.forEach(function(T){delete I[T.id]});for(var de={},Pe={},Ge={},Qe={},Xe={},yt=new sf,Ct=0;Ct<Z.length;Ct++){var on=Z[Ct];de[on.id]=on,Qe[on.id]=0,Xe[on.id]=Qf(on,te,d.distFunc),yt.add({id:on.id,value:Xe[on.id]})}var sn,Nn,Tn,Bn,Hn,Sr,Cr=d.maximumLoops,po=1/0,wo={};for(te.forEach(function(T){wo[\"\".concat(T.x,\"|||\").concat(T.y)]=!0}),Object.keys(de).forEach(function(T){var B=de[T].id;Xe[B]<=po&&(po=Xe[B],sn=de[B])});Object.keys(de).length>0&&Cr>0;){var Po=yt.minId((Cr+1)%30==0);if(!Po)break;if(sn=de[Po],wo[\"\".concat(sn.x,\"|||\").concat(sn.y)])return fd(sn,Ge,D,t,o,H,_);for(delete de[sn.id],yt.remove(sn.id),Pe[sn.id]=!0,Ct=0;Ct<d.directions.length;Ct++){Nn=d.directions[Ct];var Xo=\"\".concat(Math.round(sn.x)+Nn.stepX,\"|||\").concat(Math.round(sn.y)+Nn.stepY);if(Tn={x:sn.x+Nn.stepX,y:sn.y+Nn.stepY,id:Xo},!Pe[Xo]&&!((Sr=bl(sn,Tn,Ge,D))>d.maxAllowedDirectionChange||I[Xo])){de[Xo]||(de[Xo]=Tn);var ri=g[Sr];Bn=d.distFunc(sn,Tn)+(isNaN(ri)?_:ri),Hn=Qe[sn.id]+Bn;var ki=Qe[Xo];ki&&Hn>=ki||(Ge[Xo]=sn,Qe[Xo]=Hn,Xe[Xo]=Hn+Qf(Tn,te,d.distFunc),yt.add({id:Xo,value:Xe[Xo]}))}}Cr-=1}return d.fallbackRoute(o,t,e,n,d)};Ua(\"polyline\",{options:{color:Qo.defaultEdge.color,size:Qo.defaultEdge.size,style:{radius:0,offset:15,x:0,y:0,stroke:Qo.defaultEdge.style.stroke,lineAppendWidth:Qo.defaultEdge.style.lineAppendWidth},labelCfg:{style:{fill:Qo.edgeLabel.style.fill,fontSize:Qo.edgeLabel.style.fontSize,fontFamily:Qo.windowFontFamily}},routeCfg:{obstacles:[],maxAllowedDirectionChange:Math.PI,maximumLoops:500,gridSize:10},stateStyles:Object(l.__assign)({},Qo.edgeStateStyles)},shapeType:\"polyline\",labelPosition:\"center\",drawShape:function(o,t){var e=this.getShapeStyle(o);e.radius===0&&delete e.radius;var n=t.addShape(\"path\",{className:\"edge-shape\",name:\"edge-shape\",attrs:e});return t.shapeMap[\"edge-shape\"]=n,n},getShapeStyle:function(o){var t=this.options.style,e={stroke:o.color},n=Object(s.mix)({},t,e,o.style);o=this.getPathPoints(o),this.radius=n.radius,this.offset=n.offset;var i=o.startPoint,d=o.endPoint,g=this.getControlPoints(o),_=[i];g&&(_=_.concat(g)),_.push(d);var I=o.sourceNode,D=o.targetNode,H=n.radius,Z=this.options.routeCfg,te=Object(s.mix)({},Z,o.routeCfg);te.offset=n.offset;var de=this.getPath(_,I,D,H,te,!Boolean(g));return(Object(s.isArray)(de)&&de.length<=1||Object(s.isString)(de)&&de.indexOf(\"L\")===-1)&&(de=\"M0 0, L0 0\"),(isNaN(i.x)||isNaN(i.y)||isNaN(d.x)||isNaN(d.y))&&(de=\"M0 0, L0 0\"),Object(s.mix)({},Qo.defaultEdge.style,n,{lineWidth:o.size,path:de})},updateShapeStyle:function(o,t){var e=t.getContainer();if(t.isVisible()){var n={stroke:o.color},i=e.shapeMap[\"edge-shape\"]||e.find(function(Ct){return Ct.get(\"className\")===\"edge-shape\"})||t.getKeyShape(),d=o.size,g=(o=this.getPathPoints(o)).startPoint,_=o.endPoint,I=this.getControlPoints(o),D=[g];I&&(D=D.concat(I)),D.push(_);var H=i.attr(),Z=Object(s.mix)({},n,H,o.style),te=o.sourceNode,de=o.targetNode,Pe=Z.radius,Ge=this.options.routeCfg,Qe=Object(s.mix)({},Ge,o.routeCfg);Qe.offset=Z.offset;var Xe=this.getPath(D,te,de,Pe,Qe,!Boolean(I));(Object(s.isArray)(Xe)&&Xe.length<=1||Object(s.isString)(Xe)&&Xe.indexOf(\"L\")===-1)&&(Xe=\"M0 0, L0 0\"),(isNaN(g.x)||isNaN(g.y)||isNaN(_.x)||isNaN(_.y))&&(Xe=\"M0 0, L0 0\"),H.endArrow&&Z.endArrow===!1&&(o.style.endArrow={path:\"\"}),H.startArrow&&Z.startArrow===!1&&(o.style.startArrow={path:\"\"});var yt=Object(s.mix)(n,i.attr(),{lineWidth:d,path:Xe},o.style);i&&i.attr(yt)}},getPath:function(o,t,e,n,i,d){var g=i.offset,_=i.obstacles,I=i.simple;if(!g||o.length>2||d===!1){if(n)return jl(o,n);var D=[];return Object(s.each)(o,function(Z,te){te===0?D.push([\"M\",Z.x,Z.y]):D.push([\"L\",Z.x,Z.y])}),D}I===!1||_!=null&&_.length||(I=!0);var H=I?qf(o[o.length-1],o[0],e,t,g):Gc(o[0],o[o.length-1],t,e,i);return H&&H.length?n?jl(H,n):(H=function(Z){if(!(Z!=null&&Z.length))return Z;for(var te=Z[Z.length-1],de={x:te.x,y:te.y},Pe=[te],Ge=[te],Qe=Z.length-2;Qe>=0;Qe--){var Xe,yt=Z[Qe];yt.x===de.x?Pe.push(yt):(Pe=[yt],de.x=yt.x),yt.y===de.y?Ge.push(yt):(Ge=[yt],de.y=yt.y),Pe.length>2?(Xe=Z.indexOf(Pe[1]))>-1&&Z.splice(Xe,1):Ge.length>2&&(Xe=Z.indexOf(Ge[1]))>-1&&Z.splice(Xe,1)}return Z}(H),Oa.pointsToPolygon(H)):\"M0 0, L0 0\"}},\"single-edge\");var kf=Ht.cloneEvent,Nf=Ht.isNaN,jf=Math.abs,cl=[\"shift\",\"ctrl\",\"alt\",\"control\"],Df={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(o){var t=this.origin,e=+o.clientX,n=+o.clientY;if(!Nf(e)&&!Nf(n)){var i=e-t.x,d=n-t.y;this.get(\"direction\")===\"x\"?d=0:this.get(\"direction\")===\"y\"&&(i=0),this.origin={x:e,y:n};var g=this.graph.get(\"width\"),_=this.graph.get(\"height\"),I=this.graph.get(\"canvas\").getCanvasBBox(),D=this.scalableRange,H=this.scalableRange;D<1&&D>-1&&(D*=g,H*=_),(I.minX<=g+D&&I.minX+i>g+D||I.maxX+D>=0&&I.maxX+D+i<0)&&(i=0),(I.minY<=_+H&&I.minY+d>_+H||I.maxY+H>=0&&I.maxY+H+d<0)&&(d=0),this.graph.translate(i,d)}},onTouchStart:function(o){var t=o.originalEvent.touches,e=t[0],n=t[1];e&&n||(o.preventDefault(),this.mousedown=!0,this.onDragStart(o))},onMouseDown:function(o){this.mousedown=!0},onDragMove:function(o){this.mousedown&&(this.dragstart?this.onDrag(o):(this.dragstart=!0,this.onDragStart(o)))},onDragStart:function(o){var t=o.originalEvent;if((!t||o.name===\"touchstart\"||t.button===0)&&(o.name===\"touchstart\"||typeof window==\"undefined\"||!window.event||window.event.buttons||window.event.button)&&this.shouldBegin(o,this)&&!this.keydown&&this.allowDrag(o)){if(this.origin={x:o.clientX,y:o.clientY},this.dragging=!1,this.enableOptimize){for(var e=this.graph,n=e.getEdges(),i=0,d=n.length;i<d;i++){var g=n[i].get(\"group\").get(\"children\");g&&g.forEach(function(Pe){Pe.set(\"ori-visibility\",Pe.get(\"ori-visibility\")||Pe.get(\"visible\")),Pe.hide()})}for(var _=e.getNodes(),I=0,D=_.length;I<D;I++)for(var H=0,Z=_[I].getContainer().get(\"children\");H<Z.length;H++){var te=Z[H];te.get(\"isKeyShape\")||(te.set(\"ori-visibility\",te.get(\"ori-visibility\")||te.get(\"visible\")),te.hide())}}if(typeof window!=\"undefined\"){var de=this;this.handleDOMContextMenu=function(Pe){return de.onMouseUp(Pe)},document.body.addEventListener(\"contextmenu\",this.handleDOMContextMenu)}}},onTouchMove:function(o){var t=o.originalEvent.touches,e=t[0],n=t[1];e&&n?this.onMouseUp(o):(o.preventDefault(),this.onDrag(o))},onDrag:function(o){if(this.mousedown){var t=this.graph;if(!this.keydown&&this.allowDrag(o)&&(o=kf(o),this.origin)){if(this.dragging)o.type=\"drag\",t.emit(\"canvas:drag\",o);else{if(jf(this.origin.x-o.clientX)+jf(this.origin.y-o.clientY)<10)return;this.shouldBegin(o,this)&&(o.type=\"dragstart\",t.emit(\"canvas:dragstart\",o),this.originPosition={x:o.clientX,y:o.clientY},this.dragging=!0)}this.shouldUpdate(o,this)&&this.updateViewport(o)}}},onMouseUp:function(o){var t,e;this.mousedown=!1,this.dragstart=!1;var n=this.graph;if(!this.keydown){var i=n.getZoom(),d=n.get(\"modeController\"),g=(e=(t=d==null?void 0:d.modes[d.mode])===null||t===void 0?void 0:t.filter(function(Ct){return Ct.type===\"zoom-canvas\"}))===null||e===void 0?void 0:e[0],_=g?g.optimizeZoom||.1:0;if(this.enableOptimize){for(var I=n.getEdges(),D=0,H=I.length;D<H;D++){var Z=I[D].get(\"group\").get(\"children\");Z&&Z.forEach(function(Ct){var on=Ct.get(\"ori-visibility\");Ct.set(\"ori-visibility\",void 0),on&&Ct.show()})}if(i>_)for(var te=n.getNodes(),de=0,Pe=te.length;de<Pe;de++)for(var Ge=0,Qe=te[de].getContainer().get(\"children\");Ge<Qe.length;Ge++){var Xe=Qe[Ge];if(!Xe.get(\"isKeyShape\")){var yt=Xe.get(\"ori-visibility\");Xe.set(\"ori-visibility\",void 0),yt&&Xe.show()}}}this.dragging?(o=kf(o),this.shouldEnd(o,this)&&this.updateViewport(o),o.type=\"dragend\",o.dx=o.clientX-this.originPosition.x,o.dy=o.clientY-this.originPosition.y,n.emit(\"canvas:dragend\",o),this.endDrag(),typeof window!=\"undefined\"&&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(o){var t=o.key;t&&(cl.indexOf(t.toLowerCase())>-1?this.keydown=!0:this.keydown=!1)},onKeyUp:function(){this.keydown=!1,this.origin=null,this.dragging=!1,this.dragbegin=!1},allowDrag:function(o){var t,e,n=o.target,i=n&&n.isCanvas&&n.isCanvas();if(Object(s.isBoolean)(this.allowDragOnItem)&&!this.allowDragOnItem&&!i)return!1;if(Object(s.isObject)(this.allowDragOnItem)){var d=this.allowDragOnItem,g=d.node,_=d.edge,I=d.combo,D=(e=(t=o.item)===null||t===void 0?void 0:t.getType)===null||e===void 0?void 0:e.call(t);if(!g&&D===\"node\"||!_&&D===\"edge\"||!I&&D===\"combo\")return!1}return!0}},Rf={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\",afterchangedata:\"onDragEnd\"}},validationCombo:function(o){return!(!this.origin||!o||o.destroyed)&&o.getType()===\"combo\"},onTouchStart:function(o){if(o.item){try{var t=o.originalEvent.touches,e=t[0],n=t[1];if(e&&n)return;o.preventDefault()}catch(i){console.warn(\"Touch original event not exist!\")}this.mousedown={item:o.item,target:o.target,origin:{x:o.x,y:o.y}},this.dragstart=!0,this.onDragStart(o)}},onTouchMove:function(o){try{var t=o.originalEvent.touches,e=t[0],n=t[1];if(e&&n)return void this.onDragEnd(o);o.preventDefault()}catch(i){console.warn(\"Touch original event not exist!\")}this.onDrag(o)},onMouseDown:function(o){this.mousedown={item:o.item,target:o.target,origin:{x:o.x,y:o.y}},typeof window==\"undefined\"||this.windowEventBinded||(this.windowEventBinded=!0,document.body.addEventListener(\"contextmenu\",this.onDragEnd.bind(this)),document.body.addEventListener(\"mouseup\",this.onDragEnd.bind(this)))},onDragMove:function(o){var t,e;((e=(t=o.item)===null||t===void 0?void 0:t.getType)===null||e===void 0?void 0:e.call(t))===\"node\"?this.mousedown&&(this.dragstart?this.onDrag(Object(l.__assign)(Object(l.__assign)({},o),this.mousedown)):(this.dragstart=!0,this.onDragStart(o))):this.onDragEnd()},onDragStart:function(o){var t=this;if(this.currentShouldEnd=!0,this.shouldBegin(Object(l.__assign)(Object(l.__assign)({},o),this.mousedown),this)){var e=this.mousedown,n=e.item,i=e.target;if(n&&!n.destroyed&&!n.hasLocked()){if(n.getContainer().set(\"capture\",!1),this.cachedCaptureItems||(this.cachedCaptureItems=[]),this.cachedCaptureItems.push(n),i&&i.get(\"isAnchorPoint\"))return;var d=this.graph;this.targets=[],this.targetCombo=null;var g=d.findAllByState(\"node\",this.selectedState),_=n.get(\"id\");if(g.filter(function(D){var H=D.get(\"id\");return _===H}).length===0?this.targets.push(n):g.length>1?g.forEach(function(D){D.hasLocked()||t.targets.push(D)}):this.targets.push(n),this.graph.get(\"enabledStack\")&&this.enableStack){var I=[];this.targets.forEach(function(D){var H=D.getModel(),Z=H.x,te=H.y,de=H.id;I.push({x:Z,y:te,id:de})}),this.set(\"beforeDragNodes\",I)}this.hidenEdge={},this.get(\"updateEdge\")&&this.enableOptimize&&!this.enableDelegate&&this.targets.forEach(function(D){D.getEdges().forEach(function(H){H.isVisible()&&(t.hidenEdge[H.getID()]=!0,H.hide())})}),this.origin=this.mousedown.origin,this.point={},this.originPoint={}}}},onDrag:function(o){var t=this;if(this.mousedown&&this.origin&&this.shouldUpdate(o,this))if(this.get(\"enableDelegate\"))this.updateDelegate(o);else if(this.enableDebounce)this.debounceUpdate({targets:this.targets,graph:this.graph,point:this.point,origin:this.origin,evt:o,updateEdge:this.get(\"updateEdge\"),onlyChangeComboSize:this.onlyChangeComboSize,updateParentCombos:this.updateParentCombos});else{var e={};this.targets.map(function(n){t.update(n,o);var i=n.getModel().comboId;i&&(e[i]=t.graph.findById(i))}),this.onlyChangeComboSize&&this.updateParentCombos()}},onDragEnd:function(o){var t,e=this;if(this.mousedown=!1,this.dragstart=!1,typeof window!=\"undefined\"&&this.windowEventBinded&&(this.windowEventBinded=!1,document.body.removeEventListener(\"contextmenu\",this.onDragEnd.bind(this)),document.body.removeEventListener(\"mouseup\",this.onDragEnd.bind(this))),this.origin){(t=this.cachedCaptureItems)===null||t===void 0||t.forEach(function(d){d.getContainer().set(\"capture\",!0)}),this.cachedCaptureItems=[],this.delegateRect&&(this.delegateRect.remove(),this.delegateRect=null),this.get(\"updateEdge\")&&this.enableOptimize&&!this.enableDelegate&&this.targets.forEach(function(d){d.getEdges().forEach(function(g){e.hidenEdge[g.getID()]&&g.show(),g.refresh()})}),this.hidenEdge={};var n=this.graph;if(n.get(\"enabledStack\")&&this.enableStack){var i={before:{nodes:[],edges:[],combos:[]},after:{nodes:[],edges:[],combos:[]}};this.get(\"beforeDragNodes\").forEach(function(d){i.before.nodes.push(d)}),this.targets.forEach(function(d){var g=d.getModel(),_=g.x,I=g.y,D=g.id;i.after.nodes.push({x:_,y:I,id:D})}),n.pushStack(\"update\",Object(s.clone)(i))}n.emit(\"dragnodeend\",{items:this.targets,targetItem:null}),this.point={},this.origin=null,this.originPoint={},this.targets.length=0,this.targetCombo=null}},onDropCombo:function(o){var t=o.item;if(this.currentShouldEnd=this.shouldEnd(o,t,this),this.updatePositions(o,!this.currentShouldEnd),this.currentShouldEnd&&this.validationCombo(t)){var e=this.graph;if(this.comboActiveState&&e.setItemState(t,this.comboActiveState,!1),this.targetCombo=t,this.onlyChangeComboSize)e.updateCombos();else{var n=t.getModel();this.targets.map(function(i){i.getModel().comboId!==n.id&&e.updateComboTree(i,n.id)}),e.updateCombo(t)}e.emit(\"dragnodeend\",{items:this.targets,targetItem:this.targetCombo})}},onDropCanvas:function(o){var t=this.graph;this.currentShouldEnd=this.shouldEnd(o,void 0,this),this.updatePositions(o,!this.currentShouldEnd),this.targets&&this.targets.length!==0&&this.currentShouldEnd&&(this.onlyChangeComboSize?this.updateParentCombos():this.targets.map(function(e){e.getModel().comboId&&t.updateComboTree(e)}))},onDropNode:function(o){if(this.targets&&this.targets.length!==0){var t=o.item,e=this.graph,n=t.getModel().comboId,i=n?e.findById(n):void 0;if(this.currentShouldEnd=this.shouldEnd(o,i,this),this.updatePositions(o,!this.currentShouldEnd),this.currentShouldEnd){if(this.onlyChangeComboSize)this.updateParentCombos();else if(n){var d=e.findById(n);this.comboActiveState&&e.setItemState(d,this.comboActiveState,!1),this.targets.map(function(g){var _=g.getModel();n!==_.comboId&&e.updateComboTree(g,n)}),e.updateCombo(d)}else this.targets.map(function(g){g.getModel().comboId&&e.updateComboTree(g)});e.emit(\"dragnodeend\",{items:this.targets,targetItem:t})}}},onDragEnter:function(o){var t=o.item;if(this.validationCombo(t)){var e=this.graph;this.comboActiveState&&e.setItemState(t,this.comboActiveState,!0)}},onDragLeave:function(o){var t=o.item;if(this.validationCombo(t)){var e=this.graph;this.comboActiveState&&e.setItemState(t,this.comboActiveState,!1)}},updatePositions:function(o,t){var e=this;this.targets&&this.targets.length!==0&&(this.get(\"enableDelegate\")?this.enableDebounce?this.debounceUpdate({targets:this.targets,graph:this.graph,point:this.point,origin:this.origin,evt:o,updateEdge:this.get(\"updateEdge\"),onlyChangeComboSize:this.onlyChangeComboSize,updateParentCombos:this.updateParentCombos}):t||this.targets.map(function(n){return e.update(n,o)}):this.targets.map(function(n){return e.update(n,o,t)}))},update:function(o,t,e){var n=this.origin,i=o.get(\"model\"),d=o.get(\"id\");this.point[d]||(this.point[d]={x:i.x||0,y:i.y||0});var g=t.x-n.x+this.point[d].x,_=t.y-n.y+this.point[d].y;e&&(g+=n.x-t.x,_+=n.y-t.y);var I={x:g,y:_};this.get(\"updateEdge\")?this.graph.updateItem(o,I,!1):o.updatePosition(I)},debounceUpdate:Object(s.debounce)(function(o){var t=o.targets,e=o.graph,n=o.point,i=o.origin,d=o.evt,g=o.updateEdge,_=o.onlyChangeComboSize,I=o.updateParentCombos;t.map(function(D){var H=D.get(\"model\"),Z=D.get(\"id\");n[Z]||(n[Z]={x:H.x||0,y:H.y||0});var te={x:d.x-i.x+n[Z].x,y:d.y-i.y+n[Z].y};g?e.updateItem(D,te,!1):D.updatePosition(te)}),_&&I(e,t)},50,!0),updateDelegate:function(o){var t=this.graph;if(this.delegateRect){var e=o.x-this.origin.x+this.originPoint.minX,n=o.y-this.origin.y+this.originPoint.minY;this.delegateRect.attr({x:e,y:n})}else{var i=t.get(\"group\"),d=Object(s.deepMix)({},di.delegateStyle,this.delegateStyle),g=this.calculationGroupPosition(o),_=g.x,I=g.y,D=g.width,H=g.height,Z=g.minX,te=g.minY;this.originPoint={x:_,y:I,width:D,height:H,minX:Z,minY:te},this.delegateRect=i.addShape(\"rect\",{attrs:Object(l.__assign)({width:D,height:H,x:_,y:I},d),name:\"rect-delegate-shape\"}),this.delegate=this.delegateRect,this.delegateRect.set(\"capture\",!1)}},calculationGroupPosition:function(o){var t=this.targets;t.length===0&&t.push(o.item);for(var e=1/0,n=-1/0,i=1/0,d=-1/0,g=0;g<t.length;g++){var _=t[g].getBBox(),I=_.minX,D=_.minY,H=_.maxX,Z=_.maxY;I<e&&(e=I),D<i&&(i=D),H>n&&(n=H),Z>d&&(d=Z)}return{x:Math.floor(e),y:Math.floor(i),width:Math.ceil(n)-Math.floor(e),height:Math.ceil(d)-Math.floor(i),minX:e,minY:i}},updateParentCombos:function(o,t){var e=o||this.graph,n=t||this.targets,i={};n==null||n.forEach(function(d){var g=d.getModel().comboId;g&&(i[g]=e.findById(g))}),Object.values(i).forEach(function(d){d&&e.updateCombo(d)})}},xl={getDefaultCfg:function(){return{trigger:\"mouseenter\",activeState:\"active\",inactiveState:\"inactive\",resetSelected:!1,shouldUpdate:function(){return!0}}},getEvents:function(){return this.get(\"trigger\")===\"mouseenter\"?{\"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(o){try{var t=o.originalEvent.touches,e=t[0],n=t[1];if(e&&n)return;o.preventDefault()}catch(i){console.warn(\"Touch original event not exist!\")}this.setAllItemStates(o)},clearOnTouchStart:function(o){try{var t=o.originalEvent.touches,e=t[0],n=t[1];if(e&&n)return;o.preventDefault()}catch(i){console.warn(\"Touch original event not exist!\")}this.clearActiveState(o)},setAllItemStates:function(o){clearTimeout(this.timer),this.throttleSetAllItemStates(o,this)},clearActiveState:function(o){var t=this;this.timer=setTimeout(function(){t.throttleClearActiveState(o,t)},50)},throttleSetAllItemStates:Object(s.throttle)(function(o,t){var e=o.item,n=t.graph;if(n&&!n.destroyed&&(t.item=e,t.shouldUpdate(o.item,{event:o,action:\"activate\"},t))){for(var i=t.activeState,d=t.inactiveState,g=n.getNodes(),_=n.getCombos(),I=n.getEdges(),D=n.get(\"vedges\"),H=g.length,Z=_.length,te=I.length,de=D.length,Pe=t.inactiveItems||{},Ge=t.activeItems||{},Qe=0;Qe<H;Qe++){var Xe=g[Qe],yt=Xe.getID(),Ct=Xe.hasState(\"selected\");t.resetSelected&&Ct&&n.setItemState(Xe,\"selected\",!1),Ge[yt]&&(n.setItemState(Xe,i,!1),delete Ge[yt]),d&&!Pe[yt]&&(n.setItemState(Xe,d,!0),Pe[yt]=Xe)}for(Qe=0;Qe<Z;Qe++){var on=_[Qe],sn=on.getID();Ct=on.hasState(\"selected\"),t.resetSelected&&Ct&&n.setItemState(on,\"selected\",!1),Ge[sn]&&(n.setItemState(on,i,!1),delete Ge[sn]),d&&!Pe[sn]&&(n.setItemState(on,d,!0),Pe[sn]=on)}for(Qe=0;Qe<te;Qe++)Ge[Cr=(Sr=I[Qe]).getID()]&&(n.setItemState(Sr,i,!1),delete Ge[Cr]),d&&!Pe[Cr]&&(n.setItemState(Sr,d,!0),Pe[Cr]=Sr);for(Qe=0;Qe<de;Qe++){var Nn=D[Qe],Tn=Nn.getID();Ge[Tn]&&(n.setItemState(Nn,i,!1),delete Ge[Tn]),d&&!Pe[Tn]&&(n.setItemState(Nn,d,!0),Pe[Tn]=Nn)}if(e&&!e.destroyed){d&&(n.setItemState(e,d,!1),delete Pe[e.getID()]),Ge[e.getID()]||(n.setItemState(e,i,!0),Ge[e.getID()]=e);var Bn=e.getEdges(),Hn=Bn.length;for(Qe=0;Qe<Hn;Qe++){var Sr,Cr=(Sr=Bn[Qe]).getID(),po=void 0,wo=(po=Sr.getSource()===e?Sr.getTarget():Sr.getSource()).getID();d&&Pe[wo]&&(n.setItemState(po,d,!1),delete Pe[wo]),Ge[wo]||(n.setItemState(po,i,!0),Ge[wo]=po),Pe[Cr]&&(n.setItemState(Sr,d,!1),delete Pe[Cr]),Ge[Cr]||(n.setItemState(Sr,i,!0),Ge[Cr]=Sr),Sr.toFront()}}t.activeItems=Ge,t.inactiveItems=Pe,n.emit(\"afteractivaterelations\",{item:o.item,action:\"activate\"})}},50,{trailing:!0,leading:!0}),throttleClearActiveState:Object(s.throttle)(function(o,t){var e=t.get(\"graph\");if(e&&!e.destroyed&&t.shouldUpdate(o.item,{event:o,action:\"deactivate\"},t)){var n=t.activeState,i=t.inactiveState,d=t.activeItems||{},g=t.inactiveItems||{};Object.values(d).filter(function(_){return!_.destroyed}).forEach(function(_){e.clearItemStates(_,n)}),Object.values(g).filter(function(_){return!_.destroyed}).forEach(function(_){e.clearItemStates(_,i)}),t.activeItems={},t.inactiveItems={},e.emit(\"afteractivaterelations\",{item:o.item||t.get(\"item\"),action:\"deactivate\"})}},50,{trailing:!0,leading:!0})},Wc=Math.min,Dl=Math.max,Rl=Math.abs,hc=[\"drag\",\"shift\",\"ctrl\",\"alt\",\"control\"],wl={getDefaultCfg:function(){return{brushStyle:{fill:\"#EEF6FF\",fillOpacity:.4,stroke:\"#DDEEFE\",lineWidth:1},onSelect:function(){},onDeselect:function(){},selectedState:\"selected\",trigger:\"shift\",includeEdges:!0,includeCombos:!1,selectedEdges:[],selectedNodes:[],selectedCombos:[]}},getEvents:function(){return hc.indexOf(this.trigger.toLowerCase())>-1||(this.trigger=\"shift\",console.warn(\"Behavior brush-select \\u7684 trigger \\u53C2\\u6570\\u4E0D\\u5408\\u6CD5\\uFF0C\\u8BF7\\u8F93\\u5165 'drag'\\u3001'shift'\\u3001'ctrl' \\u6216 'alt'\")),this.trigger===\"drag\"?{dragstart:\"onMouseDown\",drag:\"onMouseMove\",dragend:\"onMouseUp\",\"canvas:click\":\"clearStates\"}:{dragstart:\"onMouseDown\",drag:\"onMouseMove\",dragend:\"onMouseUp\",\"canvas:click\":\"clearStates\",keyup:\"onKeyUp\",keydown:\"onKeyDown\"}},onMouseDown:function(o){var t=o.item,e=this.brush;t||(this.trigger===\"drag\"||this.keydown)&&(this.selectedNodes&&this.selectedNodes.length!==0&&this.clearStates(),e||(e=this.createBrush()),this.originPoint={x:o.canvasX,y:o.canvasY},e.attr({width:0,height:0}),e.show(),this.dragging=!0)},onMouseMove:function(o){this.dragging&&(this.trigger===\"drag\"||this.keydown)&&this.updateBrush(o)},onMouseUp:function(o){this.graph,(this.brush||this.dragging)&&(this.trigger===\"drag\"||this.keydown)&&(this.brush.remove(!0),this.brush=null,this.getSelectedNodes(o),this.dragging=!1)},clearStates:function(){var o=this.graph,t=this.selectedState,e=o.findAllByState(\"node\",t),n=o.findAllByState(\"edge\",t),i=o.findAllByState(\"combo\",t);e.forEach(function(d){return o.setItemState(d,t,!1)}),n.forEach(function(d){return o.setItemState(d,t,!1)}),i.forEach(function(d){return o.setItemState(d,t,!1)}),this.selectedNodes=[],this.selectedEdges=[],this.selectedCombos=[],this.onDeselect&&this.onDeselect(this.selectedNodes,this.selectedEdges,this.selectedCombos),o.emit(\"nodeselectchange\",{selectedItems:{nodes:[],edges:[],combos:[]},select:!1})},isBBoxCenterInRect:function(o,t,e,n,i){var d=o.getBBox();return d.centerX>=t&&d.centerX<=e&&d.centerY>=n&&d.centerY<=i},getSelectedNodes:function(o){var t=this,e=this.graph,n=this.originPoint,i=this.shouldUpdate,d=this.isBBoxCenterInRect,g=this.selectedState,_={x:o.x,y:o.y},I=e.getPointByCanvas(n.x,n.y),D=Wc(_.x,I.x),H=Dl(_.x,I.x),Z=Wc(_.y,I.y),te=Dl(_.y,I.y),de=[],Pe=[];e.getNodes().forEach(function(Xe){if(Xe.isVisible()&&d(Xe,D,H,Z,te)&&i(Xe,\"select\",t)){de.push(Xe);var yt=Xe.getModel();Pe.push(yt.id),e.setItemState(Xe,g,!0)}});var Ge=[];this.includeEdges&&de.forEach(function(Xe){Xe.getOutEdges().forEach(function(yt){if(yt.isVisible()){var Ct=yt.getModel(),on=Ct.source,sn=Ct.target;Pe.includes(on)&&Pe.includes(sn)&&i(yt,\"select\",t)&&(Ge.push(yt),e.setItemState(yt,t.selectedState,!0))}})});var Qe=[];this.includeCombos&&e.getCombos().forEach(function(Xe){if(Xe.isVisible()&&d(Xe,D,H,Z,te)&&i(Xe,\"select\",t)){Qe.push(Xe);var yt=Xe.getModel();Pe.push(yt.id),e.setItemState(Xe,g,!0)}}),this.selectedEdges=Ge,this.selectedNodes=de,this.selectedCombos=Qe,this.onSelect&&this.onSelect(de,Ge,Qe),e.emit(\"nodeselectchange\",{selectedItems:{nodes:de,edges:Ge,combos:Qe},select:!0})},createBrush:function(){var o=this.graph.get(\"canvas\").addShape(\"rect\",{attrs:this.brushStyle,capture:!1,name:\"brush-shape\"});return this.brush=o,this.delegate=o,o},updateBrush:function(o){var t=this.originPoint;this.brush.attr({width:Rl(o.canvasX-t.x),height:Rl(o.canvasY-t.y),x:Wc(o.canvasX,t.x),y:Wc(o.canvasY,t.y)})},onKeyDown:function(o){var t=o.key;if(t){var e=this.trigger.toLowerCase(),n=t.toLowerCase();this.keydown=n===e||n===\"control\"&&e===\"ctrl\"||n===\"ctrl\"&&e===\"control\"}},onKeyUp:function(){this.brush&&(this.brush.remove(!0),this.brush=null,this.dragging=!1),this.keydown=!1}},lf=[\"shift\",\"ctrl\",\"alt\",\"control\"],ff={getDefaultCfg:function(){return{multiple:!0,trigger:\"shift\",selectedState:\"selected\",selectNode:!0,selectEdge:!1,selectCombo:!0}},getEvents:function(){return lf.indexOf(this.trigger.toLowerCase())>-1||(this.trigger=\"shift\",console.warn(\"Behavior click-select \\u7684 trigger \\u53C2\\u6570\\u4E0D\\u5408\\u6CD5\\uFF0C\\u8BF7\\u8F93\\u5165 'drag'\\u3001'shift'\\u3001'ctrl' \\u6216 'alt'\")),this.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(o){var t=this,e=o.item;if(e&&!e.destroyed){var n=e.getType(),i=t.graph,d=t.keydown,g=t.multiple,_=t.shouldUpdate;if((0,t.shouldBegin)(o,t)){if(!d||!g){var I=i.findAllByState(\"node\",t.selectedState).concat(i.findAllByState(\"edge\",t.selectedState)).concat(i.findAllByState(\"combo\",t.selectedState));Object(s.each)(I,function(te){te!==e&&i.setItemState(te,t.selectedState,!1)})}if(function(){switch(n){case\"node\":return t.selectNode;case\"edge\":return t.selectEdge;case\"combo\":return t.selectCombo;default:return!1}}())e.hasState(t.selectedState)?(_(o,t)&&i.setItemState(e,t.selectedState,!1),D=i.findAllByState(\"node\",t.selectedState),H=i.findAllByState(\"edge\",t.selectedState),Z=i.findAllByState(\"combo\",t.selectedState),i.emit(\"nodeselectchange\",{target:e,selectedItems:{nodes:D,edges:H,combos:Z},select:!1})):(_(o,t)&&i.setItemState(e,t.selectedState,!0),D=i.findAllByState(\"node\",t.selectedState),H=i.findAllByState(\"edge\",t.selectedState),Z=i.findAllByState(\"combo\",t.selectedState),i.emit(\"nodeselectchange\",{target:e,selectedItems:{nodes:D,edges:H,combos:Z},select:!0}));else{var D=i.findAllByState(\"node\",t.selectedState),H=i.findAllByState(\"edge\",t.selectedState),Z=i.findAllByState(\"combo\",t.selectedState);i.emit(\"nodeselectchange\",{selectedItems:{nodes:D,edges:H,combos:Z},select:!1})}}}},onCanvasClick:function(o){var t=this,e=this.graph;if((0,this.shouldBegin)(o,this)){var n=e.findAllByState(\"node\",this.selectedState);Object(s.each)(n,function(g){e.setItemState(g,t.selectedState,!1)});var i=e.findAllByState(\"edge\",this.selectedState);Object(s.each)(i,function(g){e.setItemState(g,t.selectedState,!1)});var d=e.findAllByState(\"combo\",this.selectedState);Object(s.each)(d,function(g){e.setItemState(g,t.selectedState,!1)}),e.emit(\"nodeselectchange\",{selectedItems:{nodes:[],edges:[],combos:[]},select:!1})}},onKeyDown:function(o){var t=o.key;t&&(t.toLowerCase()===this.trigger.toLowerCase()||t.toLowerCase()===\"control\"?this.keydown=!0:this.keydown=!1)},onKeyUp:function(){this.keydown=!1}},df=j.a.transform,Ll={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 o=this.fixSelectedItems;return o.fixState||(o.fixState=\"selected\"),o.fixAll&&(o.fixLineWidth=!0,o.fixLabel=!0),{wheel:\"onWheel\",touchstart:\"onTouchStart\",touchmove:\"onTouchMove\",touchend:\"onTouchEnd\"}},onTouchStart:function(o){var t=o.originalEvent.touches,e=t[0],n=t[1];o.preventDefault(),n&&(this.shouldBegin&&!this.shouldBegin(o,this)||(this.startPoint={pageX:e.pageX,pageY:e.pageY},this.moveable=!0,n&&(this.endPoint={pageX:n.pageX,pageY:n.pageY}),this.originScale=this.graph.getZoom()||this.currentScale||1))},onTouchMove:function(o){if(this.moveable){o.preventDefault();var t=o.originalEvent.touches,e=t[0],n=t[1];if(n){this.endPoint||(this.endPoint={pageX:n.pageX,pageY:n.pageY});var i=function(Z,te){return Math.hypot(te.x-Z.x,te.y-Z.y)},d=i({x:e.pageX,y:e.pageY},{x:n.pageX,y:n.pageY})/i({x:this.startPoint.pageX,y:this.startPoint.pageY},{x:this.endPoint.pageX,y:this.endPoint.pageY}),g=this.originScale*d;this.currentScale=g;var _=this.get(\"minZoom\")||this.graph.get(\"minZoom\");if(!(g>(this.get(\"maxZoom\")||this.graph.get(\"maxZoom\"))||g<_)){var I=this.get(\"animate\"),D=this.get(\"animateCfg\"),H=this.graph.get(\"canvas\").getPointByClient(o.clientX,o.clientY);this.graph.zoomTo(g,{x:H.x,y:H.y},I,D),this.graph.emit(\"wheelzoom\",o)}}}},onTouchEnd:function(){this.moveable=!1,this.endPoint=null},onWheel:function(o){var t=this,e=this.graph,n=this.fixSelectedItems;if((!this.shouldBegin||this.shouldBegin(o,this))&&this.shouldUpdate(o,this)){o.preventDefault();var i=e.get(\"canvas\").getPointByClient(o.clientX,o.clientY),d=this.get(\"sensitivity\"),g=e.getZoom(),_=g;_=g*(o.wheelDelta<0?1-.05*d:1/(1-.05*d));var I=this.get(\"minZoom\")||e.get(\"minZoom\"),D=this.get(\"maxZoom\")||e.get(\"maxZoom\");if(_>D?_=D:_<I&&(_=I),this.get(\"enableOptimize\")){var H=this.get(\"optimizeZoom\"),Z=this.get(\"optimized\"),te=e.getNodes(),de=e.getEdges(),Pe=te.length,Ge=de.length;if(!Z){for(var Qe=0;Qe<Pe;Qe++)if(!(Sr=te[Qe]).destroyed)for(var Xe=(Lr=Sr.get(\"group\").get(\"children\")).length,yt=0;yt<Xe;yt++)(K=Lr[yt]).destoryed||K.get(\"isKeyShape\")||(K.set(\"ori-visibility\",K.get(\"ori-visibility\")||K.get(\"visible\")),K.hide());for(var Ct=0;Ct<Ge;Ct++)for(Xe=(Lr=($o=de[Ct]).get(\"group\").get(\"children\")).length,yt=0;yt<Xe;yt++)(K=Lr[yt]).set(\"ori-visibility\",K.get(\"ori-visibility\")||K.get(\"visible\")),K.hide();this.set(\"optimized\",!0)}clearTimeout(this.get(\"timeout\"));var on=setTimeout(function(){var yi=e.getZoom();if(t.get(\"optimized\")){t.set(\"optimized\",!1);for(var Fo=0;Fo<Pe;Fo++){var Bo=te[Fo],Uo=(ba=Bo.get(\"group\").get(\"children\")).length;if(yi<H){var Gi=(Ra=Bo.getKeyShape()).get(\"ori-visibility\");Ra.set(\"ori-visibility\",void 0),Gi&&Ra.show()}else for(var Ni=0;Ni<Uo;Ni++)Gi=(fs=ba[Ni]).get(\"ori-visibility\"),fs.set(\"ori-visibility\",void 0),!fs.get(\"visible\")&&Gi&&Gi&&fs.show()}for(var Wi=0;Wi<Ge;Wi++){var ba,Ss=de[Wi];if(Uo=(ba=Ss.get(\"group\").get(\"children\")).length,yi<H){var Ra;Gi=(Ra=Ss.getKeyShape()).get(\"ori-visibility\"),Ra.set(\"ori-visibility\",void 0),Gi&&Ra.show()}else for(Ni=0;Ni<Uo;Ni++){var fs;(fs=ba[Ni]).get(\"visible\")||(Gi=fs.get(\"ori-visibility\"),fs.set(\"ori-visibility\",void 0),Gi&&fs.show())}}}},100);this.set(\"timeout\",on)}if(g<=1){var sn=void 0,Nn=void 0;if(n.fixAll||n.fixLineWidth||n.fixLabel){sn=e.findAllByState(\"node\",n.fixState),Nn=e.findAllByState(\"edge\",n.fixState);for(var Tn=g/_,Bn=sn.length,Hn=0;Hn<Bn;Hn++){var Sr,Cr=(Sr=sn[Hn]).getContainer(),po=Sr.getModel(),wo=Sr.getOriginStyle(),Po=Sr.getStateStyle(n.fixState),Xo=Sr.get(\"shapeFactory\").getShape(po.type).getStateStyle(n.fixState,Sr)[n.fixState];if(n.fixAll){if(_<=1){var ri=Object(s.clone)(Cr.getMatrix());ri||(ri=[1,0,0,0,1,0,0,0,1]);var ki=Sr.getModel(),T=ki.x,B=ki.y;ri=df(ri,[[\"t\",-T,-B],[\"s\",Tn,Tn],[\"t\",T,B]]),Cr.setMatrix(ri)}}else for(Xe=(Lr=Cr.get(\"children\")).length,yt=0;yt<Xe;yt++){var K=Lr[yt],Se=void 0,He=void 0;if(n.fixLabel&&K.get(\"type\")===\"text\"){Se=K.attr(\"fontSize\")||12;var Ye=Po[K.get(\"name\")],Et=Xo[K.get(\"name\")],bn=Ye?Ye.fontSize:12,Qn=Et?Et.fontSize:12,yr=bn||Qn||12;if(_<=1&&K.attr(\"fontSize\",yr/_),He)break}if(n.fixLineWidth&&K.get(\"isKeyShape\")){He=K.attr(\"lineWidth\")||0;var vr=Po.lineWidth||Xo.lineWidth||wo.lineWidth||0;if(_<=1&&K.attr(\"lineWidth\",vr/_),Se)break}}}for(var no=Nn.length,Wo=0;Wo<no;Wo++){var $o,Lr=(Cr=($o=Nn[Wo]).getContainer()).get(\"children\");for(po=$o.getModel(),Po=$o.getStateStyle(n.fixState),Xo=$o.get(\"shapeFactory\").getShape(po.type).getStateStyle(n.fixState,$o)[n.fixState],Xe=Lr.length,yt=0;yt<Xe&&(K=Lr[yt],Se=void 0,He=void 0,!((n.fixLabel||n.fixAll)&&K.get(\"type\")===\"text\"&&(Se=K.attr(\"fontSize\")||12,Ye=Po[K.get(\"name\")],Et=Xo[K.get(\"name\")],bn=Ye?Ye.fontSize:12,Qn=Et?Et.fontSize:12,yr=bn||Qn||12,_<=1&&K.attr(\"fontSize\",yr/_),He)||(n.fixLineWidth||n.fixAll)&&K.get(\"isKeyShape\")&&(He=K.attr(\"lineWidth\")||0,vr=Po.lineWidth||Xo.lineWidth||1,_<=1&&K.attr(\"lineWidth\",vr/_),Se)));yt++);}}}var co=this.get(\"animate\"),Do=this.get(\"animateCfg\");e.zoomTo(_,{x:i.x,y:i.y},co,Do),e.emit(\"wheelzoom\",o)}}},hf={onMouseEnter:function(o){var t=o.item;this.currentTarget=t,this.showTooltip(o),this.graph.emit(\"tooltipchange\",{item:o.item,action:\"show\"})},onMouseMove:function(o){this.shouldUpdate(o,this)?this.currentTarget&&o.item===this.currentTarget&&this.updatePosition(o):this.hideTooltip()},onMouseLeave:function(o){this.shouldEnd(o,this)&&(this.hideTooltip(),this.graph.emit(\"tooltipchange\",{item:this.currentTarget,action:\"hide\"}),this.currentTarget=null)},showTooltip:function(o){var t=this.container;if(o.item&&!o.item.destroyed){t||(t=this.createTooltip(this.graph.get(\"canvas\")),this.container=t);var e=this.formatText(o.item.get(\"model\"),o);t.innerHTML=e,gi(this.container,{visibility:\"visible\"}),this.updatePosition(o)}},hideTooltip:function(){gi(this.container,{visibility:\"hidden\"})},updatePosition:function(o){var t=this.get(\"shouldBegin\"),e=this.width,n=this.height,i=this.container,d=this.graph;if(t(o,this)){var g=d.getPointByClient(o.clientX,o.clientY),_=d.getCanvasByPoint(g.x,g.y),I=_.x,D=_.y,H=i.getBoundingClientRect();I>e/2?I-=H.width:I+=this.offset,D>n/2?D-=H.height:D+=this.offset;var Z=\"\".concat(I,\"px\"),te=\"\".concat(D,\"px\");gi(this.container,{left:Z,top:te,visibility:\"visible\"})}else gi(i,{visibility:\"hidden\"})},createTooltip:function(o){var t=o.get(\"el\");t.style.position=\"relative\";var e=_i('<div class=\"g6-tooltip g6-'.concat(this.item,'-tooltip\"></div>'));return t.parentNode.appendChild(e),gi(e,{position:\"absolute\",visibility:\"visible\"}),this.width=o.get(\"width\"),this.height=o.get(\"height\"),this.container=e,this.graph.get(\"tooltips\").push(e),e}},ec=Object(l.__assign)({getDefaultCfg:function(){return{item:\"node\",offset:12,formatText:function(o){return o.label}}},getEvents:function(){return{\"node:mouseenter\":\"onMouseEnter\",\"node:mouseleave\":\"onMouseLeave\",\"node:mousemove\":\"onMouseMove\",afterremoveitem:\"onMouseLeave\"}}},hf),$s=Object(l.__assign)({getDefaultCfg:function(){return{item:\"edge\",offset:12,formatText:function(o){return\"source: \".concat(o.source,\" target: \").concat(o.target)}}},getEvents:function(){return{\"edge:mouseenter\":\"onMouseEnter\",\"edge:mouseleave\":\"onMouseLeave\",\"edge:mousemove\":\"onMouseMove\",afterremoveitem:\"onMouseLeave\"}}},hf),dd=[\"click\",\"dblclick\"],Lf={getDefaultCfg:function(){return{trigger:\"click\",onChange:function(){}}},getEvents:function(){var o,t;return dd.includes(this.trigger)?t=this.trigger:(t=\"click\",console.warn(\"Behavior collapse-expand \\u7684 trigger \\u53C2\\u6570\\u4E0D\\u5408\\u6CD5\\uFF0C\\u8BF7\\u8F93\\u5165 'click' \\u6216 'dblclick'\")),(o={})[\"node:\".concat(t)]=\"onNodeClick\",o.touchstart=\"onNodeClick\",o},onNodeClick:function(o){var t=this;if(this.trigger===\"click\"){if(this.timer)return clearTimeout(this.timer),void(this.timer=0);this.timer=setTimeout(function(){t.toggle(o),clearTimeout(t.timer),t.timer=0},200)}else this.toggle(o)},toggle:function(o){var t=o.item;if(t){var e=this.graph.findDataById(t.get(\"id\"));if(e){var n=e.children;if(n&&n.length!==0){var i=!e.collapsed;this.shouldBegin(o,i,this)&&(e.collapsed=i,t.getModel().collapsed=i,this.graph.emit(\"itemcollapsed\",{item:o.item,collapsed:i}),this.shouldUpdate(o,i,this)&&(this.onChange(t,i,this),this.graph.layout()))}}}}},Eu=Ht.calculationItemsBBox,ll={getDefaultCfg:function(){return{enableDelegate:!1,delegateStyle:{},onlyChangeComboSize:!1,activeState:\"\",selectedState:\"selected\",enableStack:!0}},getEvents:function(){return{\"combo:mousedown\":\"onMouseDown\",\"combo:dragstart\":\"onDragStart\",\"combo:drag\":\"onDrag\",\"combo:dragend\":\"onDragEnd\",\"combo:drop\":\"onDrop\",\"node:drop\":\"onNodeDrop\",\"combo:dragenter\":\"onDragEnter\",\"combo:dragleave\":\"onDragLeave\"}},validationCombo:function(o){var t=o.item;return!(!t||t.destroyed)&&!!this.shouldUpdate(o,this)&&t.getType()===\"combo\"},onMouseDown:function(o){this.origin={x:o.x,y:o.y}},onDragStart:function(o){var t=this,e=this.graph,n=o.item;if(this.currentShouldEnd=!0,this.validationCombo(o)){this.targets=[];var i=e.findAllByState(\"combo\",this.selectedState),d=n.get(\"id\");i.filter(function(_){var I=_.get(\"id\");return d===I}).length===0?this.targets.push(n):this.targets=i;var g=[];this.targets.forEach(function(_){var I=_.getModel(),D=I.x,H=I.y,Z=I.id;g.push({x:D,y:H,id:Z})}),this.set(\"beforeDragItems\",g),this.activeState&&this.targets.map(function(_){var I=_.getModel();if(I.parentId){var D=e.findById(I.parentId);D&&e.setItemState(D,t.activeState,!0)}}),this.point={},this.originPoint={},this.currentItemChildCombos=[],function _(I,D){if(D(I)!==!1&&I){var H=I.get(\"combos\");if(H.length===0)return!1;Object(s.each)(H,function(Z){_(Z,D)})}}(n,function(_){if(_.destroyed)return!1;var I=_.getModel();return t.currentItemChildCombos.push(I.id),!0})}},onDrag:function(o){var t=this;if(this.origin&&this.validationCombo(o))if(this.enableDelegate)this.updateDelegate(o);else{if(this.activeState){var e=this.graph,n=o.item,i=n.getModel(),d=e.getCombos(),g=n.getBBox(),_=g.centerX,I=g.centerY,D=g.width;d.filter(function(H){var Z=H.getModel();return i.parentId,Z.id!==i.id&&!t.currentItemChildCombos.includes(Z.id)}).map(function(H){var Z=H.getBBox(),te=Z.centerX,de=Z.centerY,Pe=Z.width,Ge=_-te,Qe=I-de,Xe=2*Math.sqrt(Ge*Ge+Qe*Qe);D+Pe-Xe>.8*D?e.setItemState(H,t.activeState,!0):e.setItemState(H,t.activeState,!1)})}Object(s.each)(this.targets,function(H){t.updateCombo(H,o)}),this.onlyChangeComboSize&&this.updateParentCombos()}},updatePositions:function(o,t){var e=this;(this.enableDelegate||t)&&Object(s.each)(this.targets,function(n){e.updateCombo(n,o,t)})},onDrop:function(o){var t=this,e=o.item;if(this.currentShouldEnd=this.shouldEnd(o,e,this),this.updatePositions(o,!this.currentShouldEnd),this.currentShouldEnd&&e&&this.targets&&!e.destroyed){var n=this.graph,i=e.getModel();this.targets.map(function(d){d.getModel().parentId!==i.id?(t.activeState&&n.setItemState(e,t.activeState,!1),t.onlyChangeComboSize?n.updateCombo(d):n.updateComboTree(d,i.id,!1)):n.updateCombo(e)}),this.end(e,o),this.endComparison=!0}},onNodeDrop:function(o){var t=this;if(this.targets&&this.targets.length!==0){var e=this.graph,n=o.item.getModel().comboId,i=n?e.findById(n):void 0;if(this.currentShouldEnd=this.shouldEnd(o,i,this),this.updatePositions(o,!this.currentShouldEnd),this.currentShouldEnd){var d;if(n){if(this.activeState){var g=e.findById(n);e.setItemState(g,this.activeState,!1)}this.targets.map(function(_){t.onlyChangeComboSize?e.updateCombo(_):n!==_.getID()&&(d=e.findById(n),n!==_.getModel().parentId&&e.updateComboTree(_,n,!1))})}else this.targets.map(function(_){t.onlyChangeComboSize?e.updateCombo(_):_.getModel().comboId&&e.updateComboTree(_,void 0,!1)});this.endComparison=!0,this.end(d,o)}}},onDragEnter:function(o){if(this.origin&&this.validationCombo(o)){var t=o.item,e=this.graph;this.activeState&&e.setItemState(t,this.activeState,!0)}},onDragLeave:function(o){if(this.origin&&this.validationCombo(o)){var t=o.item,e=this.graph;this.activeState&&e.setItemState(t,this.activeState,!1)}},onDragEnd:function(o){if(this.targets&&this.targets.length!==0){var t=o.item;this.currentShouldEnd&&this.updatePositions(o);var e=this.getParentCombo(t.getModel().parentId),n=this.graph;e&&this.activeState&&n.setItemState(e,this.activeState,!1),this.end(void 0,o)}},end:function(o,t){var e=this;if(this.origin){var n=this.graph;if(this.delegateShape&&(n.get(\"delegateGroup\").clear(),this.delegateShape=null),o&&this.activeState&&n.setItemState(o,this.activeState,!1),!o){var i=n.get(\"enabledStack\")&&this.enableStack,d={before:{nodes:[],edges:[],combos:[].concat(this.get(\"beforeDragItems\"))},after:{nodes:[],edges:[],combos:[]}};this.targets.map(function(g){if(e.onlyChangeComboSize){n.updateCombo(g);var _=g.getModel(),I=_.x,D=_.y,H=_.id;d.after.combos.push({x:I,y:D,id:H}),n.pushStack(\"update\",d)}else n.updateComboTree(g,void 0,i)})}this.point=[],this.origin=null,this.originPoint=null,this.targets.length=0}},traverse:function(o,t,e){var n=this;if(e===void 0&&(e={}),t(o,e)!==!1&&o){var i=o.get(\"combos\");Object(s.each)(i,function(g){n.traverse(g,t,e)});var d=o.get(\"nodes\");Object(s.each)(d,function(g){n.traverse(g,t,e)})}},updateCombo:function(o,t,e){this.updateSingleItem(o,t,e);var n={};this.traverse(o,function(i,d){return!i.destroyed&&(i.getEdges().forEach(function(g){return d[g.getID()]=g}),!0)},n),Object.values(n).forEach(function(i){return i.refresh()})},updateSingleItem:function(o,t,e){var n=this.origin,i=this.graph,d=o.getModel(),g=o.get(\"id\");this.point[g]||(this.point[g]={x:d.x,y:d.y});var _=t.x-n.x+this.point[g].x,I=t.y-n.y+this.point[g].y;e&&(_+=n.x-t.x,I+=n.y-t.y),i.updateItem(o,{x:_,y:I},!1)},getParentCombo:function(o){var t=this.graph;if(o){var e=t.findById(o);if(e)return e}},updateDelegate:function(o){var t=this.graph;if(this.delegateShape){var e=o.x-this.origin.x+this.originPoint.minX,n=o.y-this.origin.y+this.originPoint.minY;this.delegateShape.attr({x:e,y:n})}else{var i=t.get(\"delegateGroup\"),d=null,g=(d=this.targets.length>1?Eu(this.targets):this.targets[0].getBBox()).x,_=d.y,I=d.width,D=d.height,H=d.minX,Z=d.minY;this.originPoint={x:g,y:_,width:I,height:D,minX:H,minY:Z};var te=Object(l.__assign)(Object(l.__assign)({},di.delegateStyle),this.delegateStyle);this.delegateShape=i.addShape(\"rect\",{attrs:Object(l.__assign)({width:d.width,height:d.height,x:d.x,y:d.y},te),name:\"combo-delegate-shape\"}),this.delegateShape.set(\"capture\",!1),this.delegate=this.delegateShape}},updateParentCombos:function(){var o=this.graph,t=this.targets,e={};t==null||t.forEach(function(n){var i=n.getModel().parentId;i&&(e[i]=o.findById(i))}),Object.values(e).forEach(function(n){n&&o.updateCombo(n)})}},Sl=[\"click\",\"dblclick\"],hd={getDefaultCfg:function(){return{trigger:\"dblclick\",relayout:!0}},getEvents:function(){var o,t;return Sl.includes(this.trigger)?t=this.trigger:(t=\"dblclick\",console.warn(\"Behavior collapse-expand-group \\u7684 trigger \\u53C2\\u6570\\u4E0D\\u5408\\u6CD5\\uFF0C\\u8BF7\\u8F93\\u5165 'click' \\u6216 'dblclick'\")),(o={})[\"combo:\".concat(t)]=\"onComboClick\",o},onComboClick:function(o){var t=o.item,e=this.graph,n=this.relayout;if(t&&!t.destroyed&&t.getType()===\"combo\"){var i=t.getModel().id;i&&(e.collapseExpandCombo(i),n&&e.get(\"layout\")?e.layout():e.refreshPositions())}}},pf=Ht.isPolygonsIntersect,Bf=Ht.pathToPoints,Bl=[\"drag\",\"shift\",\"ctrl\",\"alt\",\"control\"],Jf=[\"click\",\"drag\"],gf=[\"shift\",\"ctrl\",\"control\",\"alt\",\"meta\",void 0],pd=[\"shift\",\"ctrl\",\"alt\",\"control\"],gd=[\"shift\",\"ctrl\",\"alt\",\"control\",\"meta\"],vf={\"drag-canvas\":Df,\"zoom-canvas\":Ll,\"drag-node\":Rf,\"activate-relations\":xl,\"brush-select\":wl,\"click-select\":ff,\"lasso-select\":{getDefaultCfg:function(){return{delegateStyle:{fill:\"#EEF6FF\",fillOpacity:.4,stroke:\"#DDEEFE\",lineWidth:1},onSelect:function(){},onDeselect:function(){},shouldDeselect:void 0,selectedState:\"selected\",trigger:\"shift\",includeEdges:!0,selectedEdges:[],selectedNodes:[]}},getEvents:function(){return Bl.indexOf(this.trigger.toLowerCase())>-1||(this.trigger=\"shift\",console.warn(\"Behavior lasso-select \\u7684 trigger \\u53C2\\u6570\\u4E0D\\u5408\\u6CD5\\uFF0C\\u8BF7\\u8F93\\u5165 'drag'\\u3001'shift'\\u3001'ctrl' \\u6216 'alt'\")),this.trigger===\"drag\"?{dragstart:\"onDragStart\",drag:\"onDragMove\",dragend:\"onDragEnd\",\"canvas:click\":\"clearStates\"}:{dragstart:\"onDragStart\",drag:\"onDragMove\",dragend:\"onDragEnd\",keyup:\"onKeyUp\",keydown:\"onKeyDown\",\"canvas:click\":\"clearStates\"}},onDragStart:function(o){var t=this.lasso;o.item||(this.trigger===\"drag\"||this.keydown)&&(this.selectedNodes&&this.selectedNodes.length!==0&&this.clearStates(\"dragstart\"),t||(t=this.createLasso()),this.dragging=!0,this.originPoint={x:o.x,y:o.y},this.points.push(this.originPoint),t.show())},onDragMove:function(o){this.dragging&&(this.trigger===\"drag\"||this.keydown)&&(this.points.push({x:o.x,y:o.y}),this.updateLasso(o))},onDragEnd:function(o){(this.lasso||this.dragging)&&(this.trigger===\"drag\"||this.keydown)&&(this.points.push(this.originPoint),this.getSelectedItems(),this.lasso.remove(!0),this.lasso=null,this.points=[],this.dragging=!1)},getLassoPath:function(){var o=this.points,t=[];return o.length&&(o.forEach(function(e,n){n===0?t.push([\"M\",e.x,e.y]):t.push([\"L\",e.x,e.y])}),t.push([\"L\",o[0].x,o[0].y])),t},clearStates:function(o){o===void 0&&(o=\"canvas:click\");var t=this.graph,e=this.selectedState,n=this.shouldDeselect,i=t.findAllByState(\"node\",e),d=t.findAllByState(\"edge\",e);n&&!n({action:o,nodes:i,edges:d})||(i.forEach(function(g){return t.setItemState(g,e,!1)}),d.forEach(function(g){return t.setItemState(g,e,!1)})),this.onDeselect&&this.onDeselect(this.selectedNodes,this.selectedEdges),this.selectedNodes=[],this.selectedEdges=[],t.emit(\"nodeselectchange\",{selectedItems:{nodes:[],edges:[]},select:!1})},getSelectedItems:function(){var o=this,t=this.graph,e=this.shouldUpdate,n=this.points.map(function(I){return[t.getCanvasByPoint(I.x,I.y).x,t.getCanvasByPoint(I.x,I.y).y]}),i=this.selectedState,d=[],g=[];t.getNodes().forEach(function(I){if(I.isVisible()&&function(H,Z){var te,de=H.getKeyShape();if(H.get(\"type\")===\"path\")te=Bf(de.attr(\"path\"));else{var Pe=de.getCanvasBBox();te=[[Pe.minX,Pe.minY],[Pe.maxX,Pe.minY],[Pe.maxX,Pe.maxY],[Pe.minX,Pe.maxY]]}return pf(Z,te)}(I,n)&&e(I,\"select\",o)){d.push(I);var D=I.getModel();g.push(D.id),t.setItemState(I,i,!0)}});var _=[];this.includeEdges&&d.forEach(function(I){I.getOutEdges().forEach(function(D){if(D.isVisible()){var H=D.getModel(),Z=H.source,te=H.target;g.includes(Z)&&g.includes(te)&&e(D,\"select\",o)&&(_.push(D),t.setItemState(D,o.selectedState,!0))}})}),this.selectedEdges=_,this.selectedNodes=d,this.onSelect&&this.onSelect(d,_),t.emit(\"nodeselectchange\",{selectedItems:{nodes:d,edges:_},select:!0})},createLasso:function(){var o=this.graph.get(\"delegateGroup\").addShape(\"path\",{attrs:Object(l.__assign)({path:[]},this.delegateStyle),capture:!1,name:\"lasso-shape\"});return this.lasso=o,this.delegate=o,this.points=[],o},updateLasso:function(o){this.lasso.attr({path:this.getLassoPath()})},onKeyDown:function(o){var t=o.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}},tooltip:ec,\"edge-tooltip\":$s,\"collapse-expand\":Lf,\"drag-combo\":ll,\"collapse-expand-combo\":hd,\"create-edge\":{getDefaultCfg:function(){return{trigger:\"click\",key:void 0,edgeConfig:{},getEdgeConfig:void 0}},getEvents:function(){var o;return Jf.indexOf(this.trigger.toLowerCase())>-1||(this.trigger=\"click\",console.warn(\"Behavior create-edge \\u7684 trigger \\u53C2\\u6570\\u4E0D\\u5408\\u6CD5\\uFF0C\\u8BF7\\u8F93\\u5165 'click'\\uFF0C'drag'\")),this.key&&gf.indexOf(this.key.toLowerCase())===-1&&(this.trigger=void 0,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\")),this.trigger===\"drag\"?o={\"node:dragstart\":\"onClick\",\"combo:dragstart\":\"onClick\",drag:\"updateEndPoint\",\"node:drop\":\"onClick\",\"combo:drop\":\"onClick\",dragend:\"onDragEnd\"}:this.trigger===\"click\"&&(o={\"node:click\":\"onClick\",mousemove:\"updateEndPoint\",\"edge:click\":\"cancelCreating\",\"canvas:click\":\"cancelCreating\",\"combo:click\":\"onClick\"}),this.key&&(o.keydown=\"onKeyDown\",o.keyup=\"onKeyUp\"),o},onDragEnd:function(o){if(!this.key||this.keydown){var t=o.item;t&&t.getID()!==this.source&&t.getType()===\"node\"||this.cancelCreating({item:this.edge,x:o.x,y:o.y})}},onClick:function(o){if(!this.key||this.keydown){var t=o.item,e=this.graph,n=t.getModel(),i=this.getEdgeConfig;if(this.addingEdge&&this.edge){if(!this.shouldEnd(o,this))return;var d=void 0;d=i&&Object(s.isFunction)(i)?i({source:this.source,target:n.id},this):this.edgeConfig;var g=Object(l.__assign)({target:n.id},d);if(this.source===n.id&&(g.type=\"loop\"),e.emit(\"beforecreateedge\",{}),e.updateItem(this.edge,g,!1),e.get(\"enabledStack\")){var _=Object(l.__assign)(Object(l.__assign)({},this.edge.getModel()),{itemType:\"edge\"}),I={};I.edges=[_],e.pushStack(\"add\",{before:{},after:I})}e.emit(\"aftercreateedge\",{edge:this.edge}),this.edge.getKeyShape().set(\"capture\",!0),this.edge=null,this.addingEdge=!1}else{if(!this.shouldBegin(o,this))return;d=void 0,d=i&&Object(s.isFunction)(i)?i({source:n.id,target:n.id},this):this.edgeConfig,this.edge=e.addItem(\"edge\",Object(l.__assign)({source:n.id,target:n.id},d),!1),this.source=n.id,this.addingEdge=!0,this.edge.getKeyShape().set(\"capture\",!1)}}},updateEndPoint:function(o){if(!this.key||this.keydown){this.edge&&this.edge.destroyed&&this.cancelCreating({item:this.edge});var t={x:o.x,y:o.y};this.graph.findById(this.source)?this.addingEdge&&this.edge&&this.graph.updateItem(this.edge,{target:t},!1):this.addingEdge=!1}},cancelCreating:function(o){var t,e;if(!this.key||this.keydown){var n=this.graph,i=o.item;return this.addingEdge&&(this.edge===i||!((e=(t=o.target)===null||t===void 0?void 0:t.isCanvas)===null||e===void 0)&&e.call(t))?(this.edge&&!this.edge.destroyed&&n.removeItem(this.edge,!1),this.edge=null,void(this.addingEdge=!1)):void 0}},onKeyDown:function(o){var t=o.key;t&&(t.toLowerCase()===this.key.toLowerCase()?this.keydown=!0:this.keydown=!1)},onKeyUp:function(){this.addingEdge&&this.edge&&(this.graph.removeItem(this.edge,!1),this.addingEdge=!1,this.edge=null),this.keydown=!1}},\"shortcuts-call\":{getDefaultCfg:function(){return{trigger:\"ctrl\",combinedKey:\"1\",functionName:\"fitView\",functionParams:[]}},getEvents:function(){return pd.indexOf(this.trigger.toLowerCase())>-1||(this.trigger=\"ctrl\",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(o){var t=o.key;if(t){var e=this.trigger.toLowerCase(),n=t.toLowerCase();this.triggerKeydown||(this.triggerKeydown=n===e||n===\"control\"&&e===\"ctrl\"||n===\"ctrl\"&&e===\"control\");var i=this.graph;if(!i[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 d=this.combinedKey.toLowerCase();this.triggerKeydown&&(n===d||n===\"control\"&&d===\"ctrl\"||n===\"ctrl\"&&d===\"control\")&&(this.functionParams&&this.functionParams.length?i[this.functionName].apply(i,this.functionParams):i[this.functionName]())}else this.functionParams&&this.functionParams.length?i[this.functionName].apply(i,this.functionParams):i[this.functionName]()}},onKeyUp:function(){this.brush&&(this.brush.remove(!0),this.brush=null,this.dragging=!1),this.triggerKeydown=!1}},\"scroll-canvas\":{getDefaultCfg:function(){return{direction:\"both\",enableOptimize:!1,zoomKey:\"ctrl\",scalableRange:0,allowDragOnItem:!0}},getEvents:function(){return this.zoomKey&&gd.indexOf(this.zoomKey)!==-1||(this.zoomKey=\"ctrl\"),{wheel:\"onWheel\"}},onWheel:function(o){var t=this;if(this.allowDrag(o)){var e=this.graph,n=Array.isArray(this.zoomKey)?[].concat(this.zoomKey):[this.zoomKey];if(n.includes(\"control\")&&n.push(\"ctrl\"),n.some(function(Xo){return o[\"\".concat(Xo,\"Key\")]})){var i=e.get(\"canvas\").getPointByClient(o.clientX,o.clientY),d=e.getZoom();o.wheelDelta>0?d+=.05*d:d-=.05*d,e.zoomTo(d,{x:i.x,y:i.y})}else{var g=o.deltaX||o.movementX,_=o.deltaY||o.movementY;!_&&navigator.userAgent.indexOf(\"Firefox\")>-1&&(_=125*-o.wheelDelta/3);var I=this.graph.get(\"width\"),D=this.graph.get(\"height\"),H=this.graph.get(\"canvas\").getCanvasBBox(),Z=this.scalableRange,te=this.scalableRange;Z<1&&Z>-1&&(Z*=I,te*=D);var de=H.minX,Pe=H.maxX,Ge=H.minY,Qe=H.maxY;g>0?Pe<-Z?g=0:Pe-g<-Z&&(g=Pe+Z):g<0&&(de>I+Z?g=0:de-g>I+Z&&(g=de-(I+Z))),_>0?Qe<-te?_=0:Qe-_<-te&&(_=Qe+te):_<0&&(Ge>D+te?_=0:Ge-_>D+te&&(_=Ge-(D+te))),this.get(\"direction\")===\"x\"?_=0:this.get(\"direction\")===\"y\"&&(g=0),e.translate(-g,-_)}if(o.preventDefault(),this.get(\"enableOptimize\")){var Xe=this.get(\"optimizeZoom\"),yt=this.get(\"optimized\"),Ct=e.getNodes(),on=e.getEdges(),sn=Ct.length,Nn=on.length;if(!yt){for(var Tn=0;Tn<sn;Tn++){var Bn=Ct[Tn];if(!Bn.destroyed)for(var Hn=(po=Bn.get(\"group\").get(\"children\")).length,Sr=0;Sr<Hn;Sr++)(wo=po[Sr]).destoryed||wo.get(\"isKeyShape\")||(wo.set(\"ori-visibility\",wo.get(\"ori-visibility\")||wo.get(\"visible\")),wo.hide())}for(var Cr=0;Cr<Nn;Cr++){var po;for(Hn=(po=on[Cr].get(\"group\").get(\"children\")).length,Sr=0;Sr<Hn;Sr++){var wo;(wo=po[Sr]).set(\"ori-visibility\",wo.get(\"ori-visibility\")||wo.get(\"visible\")),wo.hide()}}this.set(\"optimized\",!0)}clearTimeout(this.get(\"timeout\"));var Po=setTimeout(function(){var Xo=e.getZoom();if(t.get(\"optimized\")){t.set(\"optimized\",!1);for(var ri=0;ri<sn;ri++){var ki=Ct[ri],T=(He=ki.get(\"group\").get(\"children\")).length;if(Xo<Xe)(K=(Ye=ki.getKeyShape()).get(\"ori-visibility\"))&&Ye.show();else for(var B=0;B<T;B++){var K=(bn=He[B]).get(\"ori-visibility\");!bn.get(\"visible\")&&K&&K&&bn.show()}}for(var Se=0;Se<Nn;Se++){var He,Ye,Et=on[Se];if(T=(He=Et.get(\"group\").get(\"children\")).length,Xo<Xe)(K=(Ye=Et.getKeyShape()).get(\"ori-visibility\"))&&Ye.show();else for(B=0;B<T;B++){var bn;(bn=He[B]).get(\"visible\")||(K=bn.get(\"ori-visibility\"))&&bn.show()}}}},100);this.set(\"timeout\",Po)}}},allowDrag:function(o){var t,e,n=o.target,i=n&&n.isCanvas&&n.isCanvas();if(Object(s.isBoolean)(this.allowDragOnItem)&&!this.allowDragOnItem&&!i)return!1;if(Object(s.isObject)(this.allowDragOnItem)){var d=this.allowDragOnItem,g=d.node,_=d.edge,I=d.combo,D=(e=(t=o.item)===null||t===void 0?void 0:t.getType)===null||e===void 0?void 0:e.call(t);if(!g&&D===\"node\"||!_&&D===\"edge\"||!I&&D===\"combo\")return!1}return!0}}};Object(s.each)(vf,function(o,t){Ls(t,o)});var mf=Object(l.__assign)(Object(l.__assign)({},y),ws),Ff=Ks.Grid,vd=Ks.Minimap,ed=Ks.Bundling,td=Ks.Menu,yf=Ks.Fisheye,nd=Ks.ToolBar,rd=Ks.Tooltip,od=Ks.TimeBar,zf=Ks.ImageMinimap,$f=Ks.EdgeFilterLens,du=Ks.SnapLine,Ou=Ks.Legend,Hf=Ks.Annotation,id={version:di.version,Graph:Cs,TreeGraph:ds,Util:Ht,Layout:Li.Layouts,TreeLayout:wn,registerLayout:On,Global:di,registerBehavior:Ls,registerCombo:Va,registerEdge:Ua,registerNode:Ba,Minimap:Ks.Minimap,Grid:Ks.Grid,Bundling:Ks.Bundling,Menu:Ks.Menu,ToolBar:Ks.ToolBar,Tooltip:Ks.Tooltip,Legend:Ks.Legend,TimeBar:od,SnapLine:du,Fisheye:yf,ImageMinimap:zf,EdgeFilterLens:$f,Annotation:Hf,Algorithm:mf,Arrow:Ii,Marker:pa,Shape:na};id.version=\"4.8.8\",c.default=id;var ad=\"4.8.8\"}]).default})},12641:function(Pt,Ee){\"use strict\";var c=this&&this.__assign||function(){return c=Object.assign||function(b){for(var p,u=1,a=arguments.length;u<a;u++){p=arguments[u];for(var f in p)Object.prototype.hasOwnProperty.call(p,f)&&(b[f]=p[f])}return b},c.apply(this,arguments)},r=this&&this.__spreadArrays||function(){for(var b=0,p=0,u=arguments.length;p<u;p++)b+=arguments[p].length;for(var a=Array(b),f=0,p=0;p<u;p++)for(var h=arguments[p],l=0,s=h.length;l<s;l++,f++)a[f]=h[l];return a};Object.defineProperty(Ee,\"__esModule\",{value:!0});var y=[];function N(b){var p=typeof b;return b!==null&&(p===\"object\"||p===\"function\")}function C(b){return Object.prototype.toString.call(b)===\"[object RegExp]\"}function w(b){return Object.getOwnPropertySymbols(b).filter(function(p){return Object.prototype.propertyIsEnumerable.call(b,p)})}function O(b,p,u){u===void 0&&(u=\"\");var a={indent:\"\t\",singleQuotes:!0},f=c(c({},a),p),h;f.inlineCharacterLimit===void 0?h={newLine:`\n`,newLineOrSpace:`\n`,pad:u,indent:u+f.indent}:h={newLine:\"@@__PRETTY_PRINT_NEW_LINE__@@\",newLineOrSpace:\"@@__PRETTY_PRINT_NEW_LINE_OR_SPACE__@@\",pad:\"@@__PRETTY_PRINT_PAD__@@\",indent:\"@@__PRETTY_PRINT_INDENT__@@\"};var l=function(x){if(f.inlineCharacterLimit===void 0)return x;var M=x.replace(new RegExp(h.newLine,\"g\"),\"\").replace(new RegExp(h.newLineOrSpace,\"g\"),\" \").replace(new RegExp(h.pad+\"|\"+h.indent,\"g\"),\"\");return M.length<=f.inlineCharacterLimit?M:x.replace(new RegExp(h.newLine+\"|\"+h.newLineOrSpace,\"g\"),`\n`).replace(new RegExp(h.pad,\"g\"),u).replace(new RegExp(h.indent,\"g\"),u+f.indent)};if(y.indexOf(b)!==-1)return'\"[Circular]\"';if(b==null||typeof b==\"number\"||typeof b==\"boolean\"||typeof b==\"function\"||typeof b==\"symbol\"||C(b))return String(b);if(b instanceof Date)return\"new Date('\"+b.toISOString()+\"')\";if(Array.isArray(b)){if(b.length===0)return\"[]\";y.push(b);var s=\"[\"+h.newLine+b.map(function(x,M){var E=b.length-1===M?h.newLine:\",\"+h.newLineOrSpace,j=O(x,f,u+f.indent);return f.transform&&(j=f.transform(b,M,j)),h.indent+j+E}).join(\"\")+h.pad+\"]\";return y.pop(),l(s)}if(N(b)){var m=r(Object.keys(b),w(b));if(f.filter&&(m=m.filter(function(M){return f.filter&&f.filter(b,M)})),m.length===0)return\"{}\";y.push(b);var s=\"{\"+h.newLine+m.map(function(M,E){var j=m.length-1===E?h.newLine:\",\"+h.newLineOrSpace,L=typeof M==\"symbol\",A=!L&&/^[a-z$_][a-z$_0-9]*$/i.test(M.toString()),J=L||A?M:O(M,f),q=O(b[M],f,u+f.indent);return f.transform&&(q=f.transform(b,M,q)),h.indent+String(J)+\": \"+q+j}).join(\"\")+h.pad+\"}\";return y.pop(),l(s)}return b=String(b).replace(/[\\r\\n]/g,function(x){return x===`\n`?\"\\\\n\":\"\\\\r\"}),f.singleQuotes?(b=b.replace(/\\\\?'/g,\"\\\\'\"),\"'\"+b+\"'\"):(b=b.replace(/\"/g,'\\\\\"'),'\"'+b+'\"')}Ee.prettyPrint=O},36914:function(Pt,Ee,c){\"use strict\";c.d(Ee,{T6:function(){return h},VD:function(){return l},WE:function(){return b},Yt:function(){return s},lC:function(){return N},py:function(){return O},rW:function(){return y},s:function(){return u},ve:function(){return w},vq:function(){return p}});var r=c(42825);function y(m,x,M){return{r:(0,r.sh)(m,255)*255,g:(0,r.sh)(x,255)*255,b:(0,r.sh)(M,255)*255}}function N(m,x,M){m=(0,r.sh)(m,255),x=(0,r.sh)(x,255),M=(0,r.sh)(M,255);var E=Math.max(m,x,M),j=Math.min(m,x,M),L=0,A=0,J=(E+j)/2;if(E===j)A=0,L=0;else{var q=E-j;switch(A=J>.5?q/(2-E-j):q/(E+j),E){case m:L=(x-M)/q+(x<M?6:0);break;case x:L=(M-m)/q+2;break;case M:L=(m-x)/q+4;break;default:break}L/=6}return{h:L,s:A,l:J}}function C(m,x,M){return M<0&&(M+=1),M>1&&(M-=1),M<1/6?m+(x-m)*(6*M):M<1/2?x:M<2/3?m+(x-m)*(2/3-M)*6:m}function w(m,x,M){var E,j,L;if(m=(0,r.sh)(m,360),x=(0,r.sh)(x,100),M=(0,r.sh)(M,100),x===0)j=M,L=M,E=M;else{var A=M<.5?M*(1+x):M+x-M*x,J=2*M-A;E=C(J,A,m+1/3),j=C(J,A,m),L=C(J,A,m-1/3)}return{r:E*255,g:j*255,b:L*255}}function O(m,x,M){m=(0,r.sh)(m,255),x=(0,r.sh)(x,255),M=(0,r.sh)(M,255);var E=Math.max(m,x,M),j=Math.min(m,x,M),L=0,A=E,J=E-j,q=E===0?0:J/E;if(E===j)L=0;else{switch(E){case m:L=(x-M)/J+(x<M?6:0);break;case x:L=(M-m)/J+2;break;case M:L=(m-x)/J+4;break;default:break}L/=6}return{h:L,s:q,v:A}}function b(m,x,M){m=(0,r.sh)(m,360)*6,x=(0,r.sh)(x,100),M=(0,r.sh)(M,100);var E=Math.floor(m),j=m-E,L=M*(1-x),A=M*(1-j*x),J=M*(1-(1-j)*x),q=E%6,re=[M,A,L,L,J,M][q],me=[J,M,M,A,L,L][q],Te=[L,L,J,M,M,A][q];return{r:re*255,g:me*255,b:Te*255}}function p(m,x,M,E){var j=[(0,r.FZ)(Math.round(m).toString(16)),(0,r.FZ)(Math.round(x).toString(16)),(0,r.FZ)(Math.round(M).toString(16))];return E&&j[0].startsWith(j[0].charAt(1))&&j[1].startsWith(j[1].charAt(1))&&j[2].startsWith(j[2].charAt(1))?j[0].charAt(0)+j[1].charAt(0)+j[2].charAt(0):j.join(\"\")}function u(m,x,M,E,j){var L=[(0,r.FZ)(Math.round(m).toString(16)),(0,r.FZ)(Math.round(x).toString(16)),(0,r.FZ)(Math.round(M).toString(16)),(0,r.FZ)(f(E))];return j&&L[0].startsWith(L[0].charAt(1))&&L[1].startsWith(L[1].charAt(1))&&L[2].startsWith(L[2].charAt(1))&&L[3].startsWith(L[3].charAt(1))?L[0].charAt(0)+L[1].charAt(0)+L[2].charAt(0)+L[3].charAt(0):L.join(\"\")}function a(m,x,M,E){var j=[pad2(f(E)),pad2(Math.round(m).toString(16)),pad2(Math.round(x).toString(16)),pad2(Math.round(M).toString(16))];return j.join(\"\")}function f(m){return Math.round(parseFloat(m)*255).toString(16)}function h(m){return l(m)/255}function l(m){return parseInt(m,16)}function s(m){return{r:m>>16,g:(m&65280)>>8,b:m&255}}},71859:function(Pt,Ee,c){\"use strict\";c.d(Ee,{R: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\"}},31105:function(Pt,Ee,c){\"use strict\";c.d(Ee,{uA:function(){return C}});var r=c(36914),y=c(71859),N=c(42825);function C(l){var s={r:0,g:0,b:0},m=1,x=null,M=null,E=null,j=!1,L=!1;return typeof l==\"string\"&&(l=f(l)),typeof l==\"object\"&&(h(l.r)&&h(l.g)&&h(l.b)?(s=(0,r.rW)(l.r,l.g,l.b),j=!0,L=String(l.r).substr(-1)===\"%\"?\"prgb\":\"rgb\"):h(l.h)&&h(l.s)&&h(l.v)?(x=(0,N.JX)(l.s),M=(0,N.JX)(l.v),s=(0,r.WE)(l.h,x,M),j=!0,L=\"hsv\"):h(l.h)&&h(l.s)&&h(l.l)&&(x=(0,N.JX)(l.s),E=(0,N.JX)(l.l),s=(0,r.ve)(l.h,x,E),j=!0,L=\"hsl\"),Object.prototype.hasOwnProperty.call(l,\"a\")&&(m=l.a)),m=(0,N.Yq)(m),{ok:j,format:l.format||L,r:Math.min(255,Math.max(s.r,0)),g:Math.min(255,Math.max(s.g,0)),b:Math.min(255,Math.max(s.b,0)),a:m}}var w=\"[-\\\\+]?\\\\d+%?\",O=\"[-\\\\+]?\\\\d*\\\\.\\\\d+%?\",b=\"(?:\".concat(O,\")|(?:\").concat(w,\")\"),p=\"[\\\\s|\\\\(]+(\".concat(b,\")[,|\\\\s]+(\").concat(b,\")[,|\\\\s]+(\").concat(b,\")\\\\s*\\\\)?\"),u=\"[\\\\s|\\\\(]+(\".concat(b,\")[,|\\\\s]+(\").concat(b,\")[,|\\\\s]+(\").concat(b,\")[,|\\\\s]+(\").concat(b,\")\\\\s*\\\\)?\"),a={CSS_UNIT:new RegExp(b),rgb:new RegExp(\"rgb\"+p),rgba:new RegExp(\"rgba\"+u),hsl:new RegExp(\"hsl\"+p),hsla:new RegExp(\"hsla\"+u),hsv:new RegExp(\"hsv\"+p),hsva:new RegExp(\"hsva\"+u),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 f(l){if(l=l.trim().toLowerCase(),l.length===0)return!1;var s=!1;if(y.R[l])l=y.R[l],s=!0;else if(l===\"transparent\")return{r:0,g:0,b:0,a:0,format:\"name\"};var m=a.rgb.exec(l);return m?{r:m[1],g:m[2],b:m[3]}:(m=a.rgba.exec(l),m?{r:m[1],g:m[2],b:m[3],a:m[4]}:(m=a.hsl.exec(l),m?{h:m[1],s:m[2],l:m[3]}:(m=a.hsla.exec(l),m?{h:m[1],s:m[2],l:m[3],a:m[4]}:(m=a.hsv.exec(l),m?{h:m[1],s:m[2],v:m[3]}:(m=a.hsva.exec(l),m?{h:m[1],s:m[2],v:m[3],a:m[4]}:(m=a.hex8.exec(l),m?{r:(0,r.VD)(m[1]),g:(0,r.VD)(m[2]),b:(0,r.VD)(m[3]),a:(0,r.T6)(m[4]),format:s?\"name\":\"hex8\"}:(m=a.hex6.exec(l),m?{r:(0,r.VD)(m[1]),g:(0,r.VD)(m[2]),b:(0,r.VD)(m[3]),format:s?\"name\":\"hex\"}:(m=a.hex4.exec(l),m?{r:(0,r.VD)(m[1]+m[1]),g:(0,r.VD)(m[2]+m[2]),b:(0,r.VD)(m[3]+m[3]),a:(0,r.T6)(m[4]+m[4]),format:s?\"name\":\"hex8\"}:(m=a.hex3.exec(l),m?{r:(0,r.VD)(m[1]+m[1]),g:(0,r.VD)(m[2]+m[2]),b:(0,r.VD)(m[3]+m[3]),format:s?\"name\":\"hex\"}:!1)))))))))}function h(l){return Boolean(a.CSS_UNIT.exec(String(l)))}},99590:function(Pt,Ee,c){\"use strict\";c.d(Ee,{C:function(){return w}});var r=c(36914),y=c(71859),N=c(31105),C=c(42825),w=function(){function b(p,u){p===void 0&&(p=\"\"),u===void 0&&(u={});var a;if(p instanceof b)return p;typeof p==\"number\"&&(p=(0,r.Yt)(p)),this.originalInput=p;var f=(0,N.uA)(p);this.originalInput=p,this.r=f.r,this.g=f.g,this.b=f.b,this.a=f.a,this.roundA=Math.round(100*this.a)/100,this.format=(a=u.format)!==null&&a!==void 0?a:f.format,this.gradientType=u.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=f.ok}return b.prototype.isDark=function(){return this.getBrightness()<128},b.prototype.isLight=function(){return!this.isDark()},b.prototype.getBrightness=function(){var p=this.toRgb();return(p.r*299+p.g*587+p.b*114)/1e3},b.prototype.getLuminance=function(){var p=this.toRgb(),u,a,f,h=p.r/255,l=p.g/255,s=p.b/255;return h<=.03928?u=h/12.92:u=Math.pow((h+.055)/1.055,2.4),l<=.03928?a=l/12.92:a=Math.pow((l+.055)/1.055,2.4),s<=.03928?f=s/12.92:f=Math.pow((s+.055)/1.055,2.4),.2126*u+.7152*a+.0722*f},b.prototype.getAlpha=function(){return this.a},b.prototype.setAlpha=function(p){return this.a=(0,C.Yq)(p),this.roundA=Math.round(100*this.a)/100,this},b.prototype.isMonochrome=function(){var p=this.toHsl().s;return p===0},b.prototype.toHsv=function(){var p=(0,r.py)(this.r,this.g,this.b);return{h:p.h*360,s:p.s,v:p.v,a:this.a}},b.prototype.toHsvString=function(){var p=(0,r.py)(this.r,this.g,this.b),u=Math.round(p.h*360),a=Math.round(p.s*100),f=Math.round(p.v*100);return this.a===1?\"hsv(\".concat(u,\", \").concat(a,\"%, \").concat(f,\"%)\"):\"hsva(\".concat(u,\", \").concat(a,\"%, \").concat(f,\"%, \").concat(this.roundA,\")\")},b.prototype.toHsl=function(){var p=(0,r.lC)(this.r,this.g,this.b);return{h:p.h*360,s:p.s,l:p.l,a:this.a}},b.prototype.toHslString=function(){var p=(0,r.lC)(this.r,this.g,this.b),u=Math.round(p.h*360),a=Math.round(p.s*100),f=Math.round(p.l*100);return this.a===1?\"hsl(\".concat(u,\", \").concat(a,\"%, \").concat(f,\"%)\"):\"hsla(\".concat(u,\", \").concat(a,\"%, \").concat(f,\"%, \").concat(this.roundA,\")\")},b.prototype.toHex=function(p){return p===void 0&&(p=!1),(0,r.vq)(this.r,this.g,this.b,p)},b.prototype.toHexString=function(p){return p===void 0&&(p=!1),\"#\"+this.toHex(p)},b.prototype.toHex8=function(p){return p===void 0&&(p=!1),(0,r.s)(this.r,this.g,this.b,this.a,p)},b.prototype.toHex8String=function(p){return p===void 0&&(p=!1),\"#\"+this.toHex8(p)},b.prototype.toHexShortString=function(p){return p===void 0&&(p=!1),this.a===1?this.toHexString(p):this.toHex8String(p)},b.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},b.prototype.toRgbString=function(){var p=Math.round(this.r),u=Math.round(this.g),a=Math.round(this.b);return this.a===1?\"rgb(\".concat(p,\", \").concat(u,\", \").concat(a,\")\"):\"rgba(\".concat(p,\", \").concat(u,\", \").concat(a,\", \").concat(this.roundA,\")\")},b.prototype.toPercentageRgb=function(){var p=function(u){return\"\".concat(Math.round((0,C.sh)(u,255)*100),\"%\")};return{r:p(this.r),g:p(this.g),b:p(this.b),a:this.a}},b.prototype.toPercentageRgbString=function(){var p=function(u){return Math.round((0,C.sh)(u,255)*100)};return this.a===1?\"rgb(\".concat(p(this.r),\"%, \").concat(p(this.g),\"%, \").concat(p(this.b),\"%)\"):\"rgba(\".concat(p(this.r),\"%, \").concat(p(this.g),\"%, \").concat(p(this.b),\"%, \").concat(this.roundA,\")\")},b.prototype.toName=function(){if(this.a===0)return\"transparent\";if(this.a<1)return!1;for(var p=\"#\"+(0,r.vq)(this.r,this.g,this.b,!1),u=0,a=Object.entries(y.R);u<a.length;u++){var f=a[u],h=f[0],l=f[1];if(p===l)return h}return!1},b.prototype.toString=function(p){var u=Boolean(p);p=p!=null?p:this.format;var a=!1,f=this.a<1&&this.a>=0,h=!u&&f&&(p.startsWith(\"hex\")||p===\"name\");return h?p===\"name\"&&this.a===0?this.toName():this.toRgbString():(p===\"rgb\"&&(a=this.toRgbString()),p===\"prgb\"&&(a=this.toPercentageRgbString()),(p===\"hex\"||p===\"hex6\")&&(a=this.toHexString()),p===\"hex3\"&&(a=this.toHexString(!0)),p===\"hex4\"&&(a=this.toHex8String(!0)),p===\"hex8\"&&(a=this.toHex8String()),p===\"name\"&&(a=this.toName()),p===\"hsl\"&&(a=this.toHslString()),p===\"hsv\"&&(a=this.toHsvString()),a||this.toHexString())},b.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},b.prototype.clone=function(){return new b(this.toString())},b.prototype.lighten=function(p){p===void 0&&(p=10);var u=this.toHsl();return u.l+=p/100,u.l=(0,C.V2)(u.l),new b(u)},b.prototype.brighten=function(p){p===void 0&&(p=10);var u=this.toRgb();return u.r=Math.max(0,Math.min(255,u.r-Math.round(255*-(p/100)))),u.g=Math.max(0,Math.min(255,u.g-Math.round(255*-(p/100)))),u.b=Math.max(0,Math.min(255,u.b-Math.round(255*-(p/100)))),new b(u)},b.prototype.darken=function(p){p===void 0&&(p=10);var u=this.toHsl();return u.l-=p/100,u.l=(0,C.V2)(u.l),new b(u)},b.prototype.tint=function(p){return p===void 0&&(p=10),this.mix(\"white\",p)},b.prototype.shade=function(p){return p===void 0&&(p=10),this.mix(\"black\",p)},b.prototype.desaturate=function(p){p===void 0&&(p=10);var u=this.toHsl();return u.s-=p/100,u.s=(0,C.V2)(u.s),new b(u)},b.prototype.saturate=function(p){p===void 0&&(p=10);var u=this.toHsl();return u.s+=p/100,u.s=(0,C.V2)(u.s),new b(u)},b.prototype.greyscale=function(){return this.desaturate(100)},b.prototype.spin=function(p){var u=this.toHsl(),a=(u.h+p)%360;return u.h=a<0?360+a:a,new b(u)},b.prototype.mix=function(p,u){u===void 0&&(u=50);var a=this.toRgb(),f=new b(p).toRgb(),h=u/100,l={r:(f.r-a.r)*h+a.r,g:(f.g-a.g)*h+a.g,b:(f.b-a.b)*h+a.b,a:(f.a-a.a)*h+a.a};return new b(l)},b.prototype.analogous=function(p,u){p===void 0&&(p=6),u===void 0&&(u=30);var a=this.toHsl(),f=360/u,h=[this];for(a.h=(a.h-(f*p>>1)+720)%360;--p;)a.h=(a.h+f)%360,h.push(new b(a));return h},b.prototype.complement=function(){var p=this.toHsl();return p.h=(p.h+180)%360,new b(p)},b.prototype.monochromatic=function(p){p===void 0&&(p=6);for(var u=this.toHsv(),a=u.h,f=u.s,h=u.v,l=[],s=1/p;p--;)l.push(new b({h:a,s:f,v:h})),h=(h+s)%1;return l},b.prototype.splitcomplement=function(){var p=this.toHsl(),u=p.h;return[this,new b({h:(u+72)%360,s:p.s,l:p.l}),new b({h:(u+216)%360,s:p.s,l:p.l})]},b.prototype.onBackground=function(p){var u=this.toRgb(),a=new b(p).toRgb(),f=u.a+a.a*(1-u.a);return new b({r:(u.r*u.a+a.r*a.a*(1-u.a))/f,g:(u.g*u.a+a.g*a.a*(1-u.a))/f,b:(u.b*u.a+a.b*a.a*(1-u.a))/f,a:f})},b.prototype.triad=function(){return this.polyad(3)},b.prototype.tetrad=function(){return this.polyad(4)},b.prototype.polyad=function(p){for(var u=this.toHsl(),a=u.h,f=[this],h=360/p,l=1;l<p;l++)f.push(new b({h:(a+l*h)%360,s:u.s,l:u.l}));return f},b.prototype.equals=function(p){return this.toRgbString()===new b(p).toRgbString()},b}();function O(b,p){return b===void 0&&(b=\"\"),p===void 0&&(p={}),new w(b,p)}},42825:function(Pt,Ee,c){\"use strict\";c.d(Ee,{FZ:function(){return b},JX:function(){return O},V2:function(){return y},Yq:function(){return w},sh:function(){return r}});function r(p,u){N(p)&&(p=\"100%\");var a=C(p);return p=u===360?p:Math.min(u,Math.max(0,parseFloat(p))),a&&(p=parseInt(String(p*u),10)/100),Math.abs(p-u)<1e-6?1:(u===360?p=(p<0?p%u+u:p%u)/parseFloat(String(u)):p=p%u/parseFloat(String(u)),p)}function y(p){return Math.min(1,Math.max(0,p))}function N(p){return typeof p==\"string\"&&p.indexOf(\".\")!==-1&&parseFloat(p)===1}function C(p){return typeof p==\"string\"&&p.indexOf(\"%\")!==-1}function w(p){return p=parseFloat(p),(isNaN(p)||p<0||p>1)&&(p=1),p}function O(p){return p<=1?\"\".concat(Number(p)*100,\"%\"):p}function b(p){return p.length===1?\"0\"+p:String(p)}},72506:function(Pt,Ee,c){\"use strict\";var r;r={value:!0};var y=Object.assign||function(p){for(var u=1;u<arguments.length;u++){var a=arguments[u];for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&(p[f]=a[f])}return p},N=c(50959),C=w(N);function w(p){return p&&p.__esModule?p:{default:p}}function O(p,u){var a={};for(var f in p)u.indexOf(f)>=0||Object.prototype.hasOwnProperty.call(p,f)&&(a[f]=p[f]);return a}var b=24;Ee.Z=function(p){var u=p.fill,a=u===void 0?\"currentColor\":u,f=p.width,h=f===void 0?b:f,l=p.height,s=l===void 0?b:l,m=p.style,x=m===void 0?{}:m,M=O(p,[\"fill\",\"width\",\"height\",\"style\"]);return C.default.createElement(\"svg\",y({viewBox:\"0 0 \"+b+\" \"+b,style:y({fill:a,width:h,height:s},x)},M),C.default.createElement(\"path\",{d:\"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z\"}))}},29926:function(Pt,Ee,c){\"use strict\";var r;r={value:!0};var y=Object.assign||function(p){for(var u=1;u<arguments.length;u++){var a=arguments[u];for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&(p[f]=a[f])}return p},N=c(50959),C=w(N);function w(p){return p&&p.__esModule?p:{default:p}}function O(p,u){var a={};for(var f in p)u.indexOf(f)>=0||Object.prototype.hasOwnProperty.call(p,f)&&(a[f]=p[f]);return a}var b=24;Ee.Z=function(p){var u=p.fill,a=u===void 0?\"currentColor\":u,f=p.width,h=f===void 0?b:f,l=p.height,s=l===void 0?b:l,m=p.style,x=m===void 0?{}:m,M=O(p,[\"fill\",\"width\",\"height\",\"style\"]);return C.default.createElement(\"svg\",y({viewBox:\"0 0 \"+b+\" \"+b,style:y({fill:a,width:h,height:s},x)},M),C.default.createElement(\"path\",{d:\"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z\"}))}},14254:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return pn}});var r=c(75782),y=c(91600),N=c(58733),C=c(50959),w=c.t(C,2),O=c(10422),b=c(61237),p=c(64111),u=C.createContext(null),a=u,f=c(49544),h=c(57770),l=[];function s(en,Wn){var Mn=C.useState(function(){if(!(0,b.Z)())return null;var bt=document.createElement(\"div\");return bt}),Kn=(0,y.Z)(Mn,1),hr=Kn[0],pr=C.useRef(!1),zr=C.useContext(a),Wr=C.useState(l),Nr=(0,y.Z)(Wr,2),Kr=Nr[0],ko=Nr[1],Ur=zr||(pr.current?void 0:function(bt){ko(function(Zt){var gt=[bt].concat((0,f.Z)(Zt));return gt})});function gn(){hr.parentElement||document.body.appendChild(hr),pr.current=!0}function Gt(){var bt;(bt=hr.parentElement)===null||bt===void 0||bt.removeChild(hr),pr.current=!1}return(0,h.Z)(function(){return en?zr?zr(gn):gn():Gt(),Gt},[en]),(0,h.Z)(function(){Kr.length&&(Kr.forEach(function(bt){return bt()}),ko(l))},[Kr]),[hr,Ur]}var m=c(52797),x;function M(en){if(typeof document==\"undefined\")return 0;if(en||x===void 0){var Wn=document.createElement(\"div\");Wn.style.width=\"100%\",Wn.style.height=\"200px\";var Mn=document.createElement(\"div\"),Kn=Mn.style;Kn.position=\"absolute\",Kn.top=\"0\",Kn.left=\"0\",Kn.pointerEvents=\"none\",Kn.visibility=\"hidden\",Kn.width=\"200px\",Kn.height=\"150px\",Kn.overflow=\"hidden\",Mn.appendChild(Wn),document.body.appendChild(Mn);var hr=Wn.offsetWidth;Mn.style.overflow=\"scroll\";var pr=Wn.offsetWidth;hr===pr&&(pr=Mn.clientWidth),document.body.removeChild(Mn),x=hr-pr}return x}function E(en){var Wn=en.match(/^(.*)px$/),Mn=Number(Wn==null?void 0:Wn[1]);return Number.isNaN(Mn)?M():Mn}function j(en){if(typeof document==\"undefined\"||!en||!(en instanceof Element))return{width:0,height:0};var Wn=getComputedStyle(en,\"::-webkit-scrollbar\"),Mn=Wn.width,Kn=Wn.height;return{width:E(Mn),height:E(Kn)}}function L(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var A=\"rc-util-locker-\".concat(Date.now()),J=0;function q(en){var Wn=!!en,Mn=C.useState(function(){return J+=1,\"\".concat(A,\"_\").concat(J)}),Kn=(0,y.Z)(Mn,1),hr=Kn[0];(0,h.Z)(function(){if(Wn){var pr=M(),zr=L();(0,m.hq)(`\nhtml body {\n  overflow-y: hidden;\n  `.concat(zr?\"width: calc(100% - \".concat(pr,\"px);\"):\"\",`\n}`),hr)}else(0,m.jL)(hr);return function(){(0,m.jL)(hr)}},[Wn,hr])}var re=!1;function me(en){return typeof en==\"boolean\"&&(re=en),re}var Te=function(Wn){return Wn===!1?!1:!(0,b.Z)()||!Wn?null:typeof Wn==\"string\"?document.querySelector(Wn):typeof Wn==\"function\"?Wn():Wn},ee=C.forwardRef(function(en,Wn){var Mn=en.open,Kn=en.autoLock,hr=en.getContainer,pr=en.debug,zr=en.autoDestroy,Wr=zr===void 0?!0:zr,Nr=en.children,Kr=C.useState(Mn),ko=(0,y.Z)(Kr,2),Ur=ko[0],gn=ko[1],Gt=Ur||Mn;C.useEffect(function(){(Wr||Mn)&&gn(Mn)},[Mn,Wr]);var bt=C.useState(function(){return Te(hr)}),Zt=(0,y.Z)(bt,2),gt=Zt[0],Wt=Zt[1];C.useEffect(function(){var Mr=Te(hr);Wt(Mr!=null?Mr:null)});var xn=s(Gt&&!gt,pr),Dt=(0,y.Z)(xn,2),Xn=Dt[0],Rn=Dt[1],wt=gt!=null?gt:Xn;q(Kn&&Mn&&(0,b.Z)()&&(wt===Xn||wt===document.body));var pt=null;if(Nr&&(0,p.Yr)(Nr)&&Wn){var Ue=Nr;pt=Ue.ref}var xt=(0,p.x1)(pt,Wn);if(!Gt||!(0,b.Z)()||gt===void 0)return null;var cn=wt===!1||me(),er=Nr;return Wn&&(er=C.cloneElement(Nr,{ref:xt})),C.createElement(a.Provider,{value:Rn},cn?er:(0,O.createPortal)(er,wt))}),xe=ee,Ie=xe,Le=c(84875),De=c.n(Le),ce=c(60555),ye=c(90899),Oe=c(51761);function Ce(){var en=(0,r.Z)({},w);return en.useId}var oe=0;function he(){}function ie(en){var Wn=C.useState(\"ssr-id\"),Mn=(0,y.Z)(Wn,2),Kn=Mn[0],hr=Mn[1],pr=Ce(),zr=pr==null?void 0:pr();return C.useEffect(function(){if(!pr){var Wr=oe;oe+=1,hr(\"rc_unique_\".concat(Wr))}},[]),en||zr||Kn}var ae=c(31591),ve=c(53675),X=C.createContext(null),se=X;function fe(en){return en?Array.isArray(en)?en:[en]:[]}function _e(en,Wn,Mn,Kn){return C.useMemo(function(){var hr=fe(Mn!=null?Mn:Wn),pr=fe(Kn!=null?Kn:Wn),zr=new Set(hr),Wr=new Set(pr);return en&&(zr.has(\"hover\")&&(zr.delete(\"hover\"),zr.add(\"click\")),Wr.has(\"hover\")&&(Wr.delete(\"hover\"),Wr.add(\"click\"))),[zr,Wr]},[en,Wn,Mn,Kn])}var be=c(25155);function We(){var en=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Wn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Mn=arguments.length>2?arguments[2]:void 0;return Mn?en[0]===Wn[0]:en[0]===Wn[0]&&en[1]===Wn[1]}function we(en,Wn,Mn,Kn){for(var hr=Mn.points,pr=Object.keys(en),zr=0;zr<pr.length;zr+=1){var Wr,Nr=pr[zr];if(We((Wr=en[Nr])===null||Wr===void 0?void 0:Wr.points,hr,Kn))return\"\".concat(Wn,\"-placement-\").concat(Nr)}return\"\"}function Ze(en,Wn,Mn,Kn){return Wn||(Mn?{motionName:\"\".concat(en,\"-\").concat(Mn)}:Kn?{motionName:Kn}:null)}function Ve(en){return en.ownerDocument.defaultView}function et(en){for(var Wn=[],Mn=en==null?void 0:en.parentElement,Kn=[\"hidden\",\"scroll\",\"auto\"];Mn;){var hr=Ve(Mn).getComputedStyle(Mn),pr=hr.overflowX,zr=hr.overflowY;(Kn.includes(pr)||Kn.includes(zr))&&Wn.push(Mn),Mn=Mn.parentElement}return Wn}function ht(en){return Number.isNaN(en)?1:en}function Fe(){var en=arguments.length>0&&arguments[0]!==void 0?arguments[0]:\"\";return[en[0],en[1]]}function mt(en,Wn){var Mn=Wn[0],Kn=Wn[1],hr,pr;return Mn===\"t\"?pr=en.y:Mn===\"b\"?pr=en.y+en.height:pr=en.y+en.height/2,Kn===\"l\"?hr=en.x:Kn===\"r\"?hr=en.x+en.width:hr=en.x+en.width/2,{x:hr,y:pr}}function dt(en,Wn){var Mn={t:\"b\",b:\"t\",l:\"r\",r:\"l\"};return en.map(function(Kn,hr){return hr===Wn?Mn[Kn]||\"c\":Kn}).join(\"\")}function Lt(en,Wn,Mn,Kn,hr,pr,zr){var Wr=C.useState({ready:!1,offsetX:0,offsetY:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:hr[Kn]||{}}),Nr=(0,y.Z)(Wr,2),Kr=Nr[0],ko=Nr[1],Ur=C.useRef(0),gn=C.useMemo(function(){return Wn?et(Wn):[]},[Wn]),Gt=(0,Oe.Z)(function(){if(Wn&&Mn&&en){let z=function(Q,F){var V=Q+mi,U=F+wi,ge=Math.max(Q,$e.left),ke=Math.max(F,$e.top),St=Math.min(V,$e.right),Je=Math.min(U,$e.bottom);return(St-ge)*(Je-ke)};var gt=Wn,Wt=gt.style.left,xn=gt.style.top,Dt=gt.ownerDocument,Xn=Ve(gt),Rn=(0,r.Z)((0,r.Z)({},hr[Kn]),pr);gt.style.left=\"0\",gt.style.top=\"0\";var wt;if(Array.isArray(Mn))wt={x:Mn[0],y:Mn[1],width:0,height:0};else{var pt=Mn.getBoundingClientRect();wt={x:pt.x,y:pt.y,width:pt.width,height:pt.height}}var Ue=gt.getBoundingClientRect(),xt=Xn.getComputedStyle(gt),cn=xt.width,er=xt.height,Mr=Dt.documentElement,xr=Mr.clientWidth,jr=Mr.clientHeight,yo=Mr.scrollWidth,eo=Mr.scrollHeight,vi=Mr.scrollTop,Ti=Mr.scrollLeft,wi=Ue.height,mi=Ue.width,Zi=wt.height,aa=wt.width,$e=Rn.htmlRegion===\"scroll\"?{left:-Ti,top:-vi,right:yo-Ti,bottom:eo-vi}:{left:0,top:0,right:xr,bottom:jr};(gn||[]).forEach(function(Q){if(!(Q instanceof HTMLBodyElement)){var F=Q.getBoundingClientRect(),V=Q.offsetHeight,U=Q.clientHeight,ge=Q.offsetWidth,ke=Q.clientWidth,St=ht(Math.round(F.width/ge*1e3)/1e3),Je=ht(Math.round(F.height/V*1e3)/1e3),Ot=(ge-ke)*St,It=(V-U)*Je,jt=F.x+F.width-Ot,Vt=F.y+F.height-It;$e.left=Math.max($e.left,F.left),$e.top=Math.max($e.top,F.top),$e.right=Math.min($e.right,jt),$e.bottom=Math.min($e.bottom,Vt)}}),gt.style.left=Wt,gt.style.top=xn;var dn=ht(Math.round(mi/parseFloat(cn)*1e3)/1e3),Un=ht(Math.round(wi/parseFloat(er)*1e3)/1e3);if(dn===0||Un===0||(0,ye.S)(Mn)&&!(0,be.Z)(Mn))return;var ar=Rn.offset,Rr=Rn.targetOffset,Ro=ar||[],Vo=(0,y.Z)(Ro,2),Co=Vo[0],Mo=Co===void 0?0:Co,qo=Vo[1],ti=qo===void 0?0:qo,pi=Rr||[],ni=(0,y.Z)(pi,2),si=ni[0],Oi=si===void 0?0:si,Ki=ni[1],ca=Ki===void 0?0:Ki;wt.x+=Oi,wt.y+=ca;var zi=Rn.points||[],br=(0,y.Z)(zi,2),Re=br[0],je=br[1],nt=Fe(je),rt=Fe(Re),Xt=mt(wt,nt),fn=mt(Ue,rt),Cn=(0,r.Z)({},Rn),Yn=Xt.x-fn.x+Mo,Ae=Xt.y-fn.y+ti,Ke=z(Yn,Ae),Mt=mt(wt,[\"t\",\"l\"]),Ut=mt(Ue,[\"t\",\"l\"]),kn=mt(wt,[\"b\",\"r\"]),Zn=mt(Ue,[\"b\",\"r\"]),lr=Rn.overflow||{},wr=lr.adjustX,Dr=lr.adjustY,go=lr.shiftX,Ir=lr.shiftY,Jr=function(F){return typeof F==\"boolean\"?F:F>=0},_o=Ue.y+Ae,No=_o+wi,ii=Jr(Dr),Lo=rt[0]===nt[0];if(ii&&rt[0]===\"t\"&&No>$e.bottom){var ai=Ae;Lo?ai-=wi-Zi:ai=Mt.y-Zn.y-ti,z(Yn,ai)>Ke&&(Ae=ai,Cn.points=[dt(rt,0),dt(nt,0)])}if(ii&&rt[0]===\"b\"&&_o<$e.top){var Si=Ae;Lo?Si+=wi-Zi:Si=kn.y-Ut.y-ti,z(Yn,Si)>Ke&&(Ae=Si,Cn.points=[dt(rt,0),dt(nt,0)])}var Ui=Ue.x+Yn,ln=Ui+mi,mn=Jr(wr),fr=rt[1]===nt[1];if(mn&&rt[1]===\"l\"&&ln>$e.right){var ft=Yn;fr?ft-=mi-aa:ft=Mt.x-Zn.x-Mo,z(ft,Ae)>Ke&&(Yn=ft,Cn.points=[dt(rt,1),dt(nt,1)])}if(mn&&rt[1]===\"r\"&&Ui<$e.left){var ct=Yn;fr?ct+=mi-aa:ct=kn.x-Ut.x-Mo,z(ct,Ae)>Ke&&(Yn=ct,Cn.points=[dt(rt,1),dt(nt,1)])}var tn=go===!0?0:go;typeof tn==\"number\"&&(Ui<$e.left&&(Yn-=Ui-$e.left,wt.x+aa<$e.left+tn&&(Yn+=wt.x-$e.left+aa-tn)),ln>$e.right&&(Yn-=ln-$e.right,wt.x>$e.right-tn&&(Yn+=wt.x-$e.right+tn)));var An=Ir===!0?0:Ir;typeof An==\"number\"&&(_o<$e.top&&(Ae-=_o-$e.top,wt.y+Zi<$e.top+An&&(Ae+=wt.y-$e.top+Zi-An)),No>$e.bottom&&(Ae-=No-$e.bottom,wt.y>$e.bottom-An&&(Ae+=wt.y-$e.bottom+An)));var Rt=Ue.x+Yn,un=Rt+mi,Dn=Ue.y+Ae,dr=Dn+wi,Ar=wt.x,Gr=Ar+aa,Pr=wt.y,Xr=Pr+Zi,oo=Math.max(Rt,Ar),io=Math.min(un,Gr),to=(oo+io)/2,To=to-Rt,jn=Math.max(Dn,Pr),W=Math.min(dr,Xr),P=(jn+W)/2,k=P-Dn;zr==null||zr(Wn,Cn),ko({ready:!0,offsetX:Yn/dn,offsetY:Ae/Un,arrowX:To/dn,arrowY:k/Un,scaleX:dn,scaleY:Un,align:Cn})}}),bt=function(){Ur.current+=1;var Wt=Ur.current;Promise.resolve().then(function(){Ur.current===Wt&&Gt()})},Zt=function(){ko(function(Wt){return(0,r.Z)((0,r.Z)({},Wt),{},{ready:!1})})};return(0,h.Z)(Zt,[Kn]),(0,h.Z)(function(){en||Zt()},[en]),[Kr.ready,Kr.offsetX,Kr.offsetY,Kr.arrowX,Kr.arrowY,Kr.scaleX,Kr.scaleY,Kr.align,bt]}function lt(en,Wn,Mn,Kn){(0,h.Z)(function(){if(en&&Wn&&Mn){let ko=function(){Kn()};var hr=Wn,pr=Mn,zr=et(hr),Wr=et(pr),Nr=Ve(pr),Kr=new Set([Nr].concat((0,f.Z)(zr),(0,f.Z)(Wr)));return Kr.forEach(function(Ur){Ur.addEventListener(\"scroll\",ko,{passive:!0})}),Nr.addEventListener(\"resize\",ko,{passive:!0}),Kn(),function(){Kr.forEach(function(Ur){Ur.removeEventListener(\"scroll\",ko),Nr.removeEventListener(\"resize\",ko)})}}},[en,Wn,Mn])}var rn=c(51163),qt=c(81676);function hn(en){var Wn=en.prefixCls,Mn=en.align,Kn=en.arrowX,hr=Kn===void 0?0:Kn,pr=en.arrowY,zr=pr===void 0?0:pr,Wr=C.useRef();if(!Mn||!Mn.points)return null;var Nr={position:\"absolute\"};if(Mn.autoArrow!==!1){var Kr=Mn.points[0],ko=Mn.points[1],Ur=Kr[0],gn=Kr[1],Gt=ko[0],bt=ko[1];Ur===Gt||![\"t\",\"b\"].includes(Ur)?Nr.top=zr:Ur===\"t\"?Nr.top=0:Nr.bottom=0,gn===bt||![\"l\",\"r\"].includes(gn)?Nr.left=hr:gn===\"l\"?Nr.left=0:Nr.right=0}return C.createElement(\"div\",{ref:Wr,className:\"\".concat(Wn,\"-arrow\"),style:Nr})}function Kt(en){var Wn=en.prefixCls,Mn=en.open,Kn=en.zIndex,hr=en.mask,pr=en.motion;return hr?React.createElement(qt.Z,(0,rn.Z)({},pr,{motionAppear:!0,visible:Mn,removeOnLeave:!0}),function(zr){var Wr=zr.className;return React.createElement(\"div\",{style:{zIndex:Kn},className:De()(\"\".concat(Wn,\"-mask\"),Wr)})}):null}var an=C.forwardRef(function(en,Wn){var Mn=en.popup,Kn=en.className,hr=en.prefixCls,pr=en.style,zr=en.target,Wr=en.onVisibleChanged,Nr=en.open,Kr=en.keepDom,ko=en.onClick,Ur=en.mask,gn=en.arrow,Gt=en.align,bt=en.arrowX,Zt=en.arrowY,gt=en.motion,Wt=en.maskMotion,xn=en.forceRender,Dt=en.getPopupContainer,Xn=en.autoDestroy,Rn=en.portal,wt=en.zIndex,pt=en.onMouseEnter,Ue=en.onMouseLeave,xt=en.ready,cn=en.offsetX,er=en.offsetY,Mr=en.onAlign,xr=en.onPrepare,jr=en.stretch,yo=en.targetWidth,eo=en.targetHeight,vi=typeof Mn==\"function\"?Mn():Mn,Ti=Nr||Kr,wi=(Dt==null?void 0:Dt.length)>0,mi=C.useState(!Dt||!wi),Zi=(0,y.Z)(mi,2),aa=Zi[0],$e=Zi[1];if((0,h.Z)(function(){!aa&&wi&&zr&&$e(!0)},[aa,wi,zr]),!aa)return null;var dn=xt||!Nr?{left:cn,top:er}:{left:\"-1000vw\",top:\"-1000vh\"},Un={};return jr&&(jr.includes(\"height\")&&eo?Un.height=eo:jr.includes(\"minHeight\")&&eo&&(Un.minHeight=eo),jr.includes(\"width\")&&yo?Un.width=yo:jr.includes(\"minWidth\")&&yo&&(Un.minWidth=yo)),Nr||(Un.pointerEvents=\"none\"),C.createElement(Rn,{open:xn||Ti,getContainer:Dt&&function(){return Dt(zr)},autoDestroy:Xn},C.createElement(Kt,{prefixCls:hr,open:Nr,zIndex:wt,mask:Ur,motion:Wt}),C.createElement(ce.Z,{onResize:Mr,disabled:!Nr},function(ar){return C.createElement(qt.Z,(0,rn.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:xn,leavedClassName:\"\".concat(hr,\"-hidden\")},gt,{onAppearPrepare:xr,onEnterPrepare:xr,visible:Nr,onVisibleChanged:function(Ro){var Vo;gt==null||(Vo=gt.onVisibleChanged)===null||Vo===void 0||Vo.call(gt,Ro),Wr(Ro)}}),function(Rr,Ro){var Vo=Rr.className,Co=Rr.style,Mo=De()(hr,Vo,Kn);return C.createElement(\"div\",{ref:(0,p.sQ)(ar,Wn,Ro),className:Mo,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({},dn),Un),Co),{},{boxSizing:\"border-box\",zIndex:wt},pr),onMouseEnter:pt,onMouseLeave:Ue,onClick:ko},gn&&C.createElement(hn,{prefixCls:hr,align:Gt,arrowX:bt,arrowY:Zt}),vi)})}))}),In=an,Ft=C.forwardRef(function(en,Wn){var Mn=en.children,Kn=en.getTriggerDOMNode,hr=(0,p.Yr)(Mn),pr=C.useCallback(function(Wr){(0,p.mH)(Wn,Kn?Kn(Wr):Wr)},[Kn]),zr=(0,p.x1)(pr,Mn.ref);return hr?C.cloneElement(Mn,{ref:zr}):Mn}),kt=Ft,At=[\"prefixCls\",\"children\",\"action\",\"showAction\",\"hideAction\",\"popupVisible\",\"defaultPopupVisible\",\"onPopupVisibleChange\",\"afterPopupVisibleChange\",\"mouseEnterDelay\",\"mouseLeaveDelay\",\"focusDelay\",\"blurDelay\",\"mask\",\"maskClosable\",\"getPopupContainer\",\"forceRender\",\"autoDestroy\",\"destroyPopupOnHide\",\"popup\",\"popupClassName\",\"popupStyle\",\"popupPlacement\",\"builtinPlacements\",\"popupAlign\",\"zIndex\",\"stretch\",\"getPopupClassNameFromAlign\",\"alignPoint\",\"onPopupClick\",\"onPopupAlign\",\"arrow\",\"popupMotion\",\"maskMotion\",\"popupTransitionName\",\"popupAnimation\",\"maskTransitionName\",\"maskAnimation\",\"className\",\"getTriggerDOMNode\"];function Fn(){var en=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ie,Wn=C.forwardRef(function(Mn,Kn){var hr=Mn.prefixCls,pr=hr===void 0?\"rc-trigger-popup\":hr,zr=Mn.children,Wr=Mn.action,Nr=Wr===void 0?\"hover\":Wr,Kr=Mn.showAction,ko=Mn.hideAction,Ur=Mn.popupVisible,gn=Mn.defaultPopupVisible,Gt=Mn.onPopupVisibleChange,bt=Mn.afterPopupVisibleChange,Zt=Mn.mouseEnterDelay,gt=Mn.mouseLeaveDelay,Wt=gt===void 0?.1:gt,xn=Mn.focusDelay,Dt=Mn.blurDelay,Xn=Mn.mask,Rn=Mn.maskClosable,wt=Rn===void 0?!0:Rn,pt=Mn.getPopupContainer,Ue=Mn.forceRender,xt=Mn.autoDestroy,cn=Mn.destroyPopupOnHide,er=Mn.popup,Mr=Mn.popupClassName,xr=Mn.popupStyle,jr=Mn.popupPlacement,yo=Mn.builtinPlacements,eo=yo===void 0?{}:yo,vi=Mn.popupAlign,Ti=Mn.zIndex,wi=Mn.stretch,mi=Mn.getPopupClassNameFromAlign,Zi=Mn.alignPoint,aa=Mn.onPopupClick,$e=Mn.onPopupAlign,dn=Mn.arrow,Un=Mn.popupMotion,ar=Mn.maskMotion,Rr=Mn.popupTransitionName,Ro=Mn.popupAnimation,Vo=Mn.maskTransitionName,Co=Mn.maskAnimation,Mo=Mn.className,qo=Mn.getTriggerDOMNode,ti=(0,N.Z)(Mn,At),pi=xt||cn||!1,ni=C.useState(!1),si=(0,y.Z)(ni,2),Oi=si[0],Ki=si[1];(0,h.Z)(function(){Ki((0,ae.Z)())},[]);var ca=C.useRef({}),zi=C.useContext(se),br=C.useMemo(function(){return{registerSubPopup:function(ho,vo){ca.current[ho]=vo,zi==null||zi.registerSubPopup(ho,vo)}}},[zi]),Re=ie(),je=C.useState(null),nt=(0,y.Z)(je,2),rt=nt[0],Xt=nt[1],fn=(0,Oe.Z)(function(Vr){(0,ye.S)(Vr)&&rt!==Vr&&Xt(Vr),zi==null||zi.registerSubPopup(Re,Vr)}),Cn=C.useState(null),Yn=(0,y.Z)(Cn,2),Ae=Yn[0],Ke=Yn[1],Mt=(0,Oe.Z)(function(Vr){(0,ye.S)(Vr)&&Ae!==Vr&&Ke(Vr)}),Ut=C.Children.only(zr),kn=(Ut==null?void 0:Ut.props)||{},Zn={},lr=(0,Oe.Z)(function(Vr){var ho,vo,uo=Ae;return(uo==null?void 0:uo.contains(Vr))||(uo==null||(ho=uo.getRootNode())===null||ho===void 0?void 0:ho.host)===Vr||Vr===uo||(rt==null?void 0:rt.contains(Vr))||(rt==null||(vo=rt.getRootNode())===null||vo===void 0?void 0:vo.host)===Vr||Vr===rt||Object.values(ca.current).some(function(Go){return Go.contains(Vr)||Vr===Go})}),wr=Ze(pr,Un,Ro,Rr),Dr=Ze(pr,ar,Co,Vo),go=C.useState(gn||!1),Ir=(0,y.Z)(go,2),Jr=Ir[0],_o=Ir[1],No=Ur!=null?Ur:Jr,ii=(0,Oe.Z)(function(Vr){Ur===void 0&&_o(Vr)});(0,h.Z)(function(){_o(Ur||!1)},[Ur]);var Lo=C.useRef(No);Lo.current=No;var ai=(0,Oe.Z)(function(Vr){No!==Vr&&(ii(Vr),Gt==null||Gt(Vr))}),Si=C.useRef(),Ui=function(){clearTimeout(Si.current)},ln=function(ho){var vo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Ui(),vo===0?ai(ho):Si.current=setTimeout(function(){ai(ho)},vo*1e3)};C.useEffect(function(){return Ui},[]);var mn=C.useState(!1),fr=(0,y.Z)(mn,2),ft=fr[0],ct=fr[1],tn=C.useRef(!0);(0,h.Z)(function(){(!tn.current||No)&&ct(!0),tn.current=!0},[No]);var An=C.useState(null),Rt=(0,y.Z)(An,2),un=Rt[0],Dn=Rt[1],dr=C.useState([0,0]),Ar=(0,y.Z)(dr,2),Gr=Ar[0],Pr=Ar[1],Xr=function(ho){Pr([ho.clientX,ho.clientY])},oo=Lt(No,rt,Zi?Gr:Ae,jr,eo,vi,$e),io=(0,y.Z)(oo,9),to=io[0],To=io[1],jn=io[2],W=io[3],P=io[4],k=io[5],z=io[6],Q=io[7],F=io[8],V=(0,Oe.Z)(function(){ft||F()});lt(No,Ae,rt,V),(0,h.Z)(function(){V()},[Gr]),(0,h.Z)(function(){No&&!(eo!=null&&eo[jr])&&V()},[JSON.stringify(vi)]);var U=C.useMemo(function(){var Vr=we(eo,pr,Q,Zi);return De()(Vr,mi==null?void 0:mi(Q))},[Q,mi,eo,pr,Zi]);C.useImperativeHandle(Kn,function(){return{forceAlign:V}});var ge=function(ho){ct(!1),F(),bt==null||bt(ho)},ke=function(){return new Promise(function(ho){Dn(function(){return ho})})};(0,h.Z)(function(){un&&(F(),un(),Dn(null))},[un]);var St=C.useState(0),Je=(0,y.Z)(St,2),Ot=Je[0],It=Je[1],jt=C.useState(0),Vt=(0,y.Z)(jt,2),Pn=Vt[0],Jn=Vt[1],vn=function(ho,vo){if(V(),wi){var uo=vo.getBoundingClientRect();It(uo.width),Jn(uo.height)}},Vn=_e(Oi,Nr,Kr,ko),zt=(0,y.Z)(Vn,2),ir=zt[0],nr=zt[1],ur=function(ho,vo,uo,Go){Zn[ho]=function(Pi){var la;Go==null||Go(Pi),ln(vo,uo);for(var Vi=arguments.length,ha=new Array(Vi>1?Vi-1:0),xa=1;xa<Vi;xa++)ha[xa-1]=arguments[xa];(la=kn[ho])===null||la===void 0||la.call.apply(la,[kn,Pi].concat(ha))}},sr=ir.has(\"click\"),Ln=nr.has(\"click\")||nr.has(\"contextMenu\");(sr||Ln)&&(Zn.onClick=function(Vr){var ho;Lo.current&&Ln?ln(!1):!Lo.current&&sr&&(Xr(Vr),ln(!0));for(var vo=arguments.length,uo=new Array(vo>1?vo-1:0),Go=1;Go<vo;Go++)uo[Go-1]=arguments[Go];(ho=kn.onClick)===null||ho===void 0||ho.call.apply(ho,[kn,Vr].concat(uo))}),C.useEffect(function(){if(Ln&&rt&&(!Xn||wt)){var Vr=function(la){var Vi=la.target;Lo.current&&!lr(Vi)&&ln(!1)},ho=Ve(rt),vo=Ae==null?void 0:Ae.getRootNode();ho.addEventListener(\"click\",Vr);var uo=vo&&vo!==Ae.ownerDocument;if(uo&&vo.addEventListener(\"click\",Vr),!1)var Go;return function(){ho.removeEventListener(\"click\",Vr),uo&&vo.removeEventListener(\"click\",Vr)}}},[Ln,Ae,rt,Xn,wt]);var Bt=ir.has(\"hover\"),En=nr.has(\"hover\"),_n,cr;Bt&&(ur(\"onMouseEnter\",!0,Zt,function(Vr){Xr(Vr)}),_n=function(){ln(!0,Zt)},Zi&&(Zn.onMouseMove=function(Vr){var ho;(ho=kn.onMouseMove)===null||ho===void 0||ho.call(kn,Vr)})),En&&(ur(\"onMouseLeave\",!1,Wt),cr=function(){ln(!1,Wt)}),ir.has(\"focus\")&&ur(\"onFocus\",!0,xn),nr.has(\"focus\")&&ur(\"onBlur\",!1,Dt),ir.has(\"contextMenu\")&&(Zn.onContextMenu=function(Vr){var ho;Xr(Vr),ln(!0),Vr.preventDefault();for(var vo=arguments.length,uo=new Array(vo>1?vo-1:0),Go=1;Go<vo;Go++)uo[Go-1]=arguments[Go];(ho=kn.onContextMenu)===null||ho===void 0||ho.call.apply(ho,[kn,Vr].concat(uo))}),Mo&&(Zn.className=De()(kn.className,Mo));var ao=(0,r.Z)((0,r.Z)({},kn),Zn),kr={},jo=[\"onContextMenu\",\"onClick\",\"onMouseDown\",\"onTouchStart\",\"onMouseEnter\",\"onMouseLeave\",\"onFocus\",\"onBlur\"];jo.forEach(function(Vr){ti[Vr]&&(kr[Vr]=function(){for(var ho,vo=arguments.length,uo=new Array(vo),Go=0;Go<vo;Go++)uo[Go]=arguments[Go];(ho=ao[Vr])===null||ho===void 0||ho.call.apply(ho,[ao].concat(uo)),ti[Vr].apply(ti,uo)})});var ui=C.cloneElement(Ut,(0,r.Z)((0,r.Z)({},ao),kr));return C.createElement(C.Fragment,null,C.createElement(ce.Z,{disabled:!No,ref:Mt,onResize:vn},C.createElement(kt,{getTriggerDOMNode:qo},ui)),C.createElement(se.Provider,{value:br},C.createElement(In,{portal:en,ref:fn,prefixCls:pr,popup:er,className:De()(Mr,U),style:xr,target:Ae,onMouseEnter:_n,onMouseLeave:cr,zIndex:Ti,open:No,keepDom:ft,onClick:aa,mask:Xn,motion:wr,maskMotion:Dr,onVisibleChanged:ge,onPrepare:ke,forceRender:Ue,autoDestroy:pi,getPopupContainer:pt,align:Q,arrow:dn,ready:to,offsetX:To,offsetY:jn,arrowX:W,arrowY:P,onAlign:V,stretch:wi,targetWidth:Ot/k,targetHeight:Pn/z})))});return Wn}var pn=Fn(Ie)},33212:function(Pt){var Ee={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};Pt.exports=function(c,r){return typeof r==\"number\"&&!Ee[c]?r+\"px\":r}},39671:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return De}});var r=c(96583),y=c(73023),N=c(50959);function C(ce){var ye=(0,N.useRef)(ce);return ye.current=ce,ye}var w=C,O=function(ce){return ce!==null&&typeof ce==\"object\"},b=function(ce){return typeof ce==\"function\"},p=function(ce){return typeof ce==\"string\"},u=function(ce){return typeof ce==\"boolean\"},a=function(ce){return typeof ce==\"number\"},f=function(ce){return typeof ce==\"undefined\"},h=!1,l=h,s=function(ce){l&&(b(ce)||console.error(\"useUnmount expected parameter is a function, got \".concat(typeof ce)));var ye=w(ce);(0,N.useEffect)(function(){return function(){ye.current()}},[])},m=s;function x(ce){var ye=(0,N.useRef)(0),Oe=(0,r.CR)((0,N.useState)(ce),2),Ce=Oe[0],oe=Oe[1],he=(0,N.useCallback)(function(ie){cancelAnimationFrame(ye.current),ye.current=requestAnimationFrame(function(){oe(ie)})},[]);return m(function(){cancelAnimationFrame(ye.current)}),[Ce,he]}var M=x,E=!!(typeof window!=\"undefined\"&&window.document&&window.document.createElement),j=E;function L(ce,ye){if(j){if(!ce)return ye;var Oe;return b(ce)?Oe=ce():\"current\"in ce?Oe=ce.current:Oe=ce,Oe}}function A(ce,ye){if(ce===ye)return!0;for(var Oe=0;Oe<ce.length;Oe++)if(!Object.is(ce[Oe],ye[Oe]))return!1;return!0}var J=function(ce){var ye=function(Oe,Ce,oe){var he=(0,N.useRef)(!1),ie=(0,N.useRef)([]),ae=(0,N.useRef)([]),ve=(0,N.useRef)();ce(function(){var X,se=Array.isArray(oe)?oe:[oe],fe=se.map(function(_e){return L(_e)});if(!he.current){he.current=!0,ie.current=fe,ae.current=Ce,ve.current=Oe();return}(fe.length!==ie.current.length||!A(fe,ie.current)||!A(Ce,ae.current))&&((X=ve.current)===null||X===void 0||X.call(ve),ie.current=fe,ae.current=Ce,ve.current=Oe())}),m(function(){var X;(X=ve.current)===null||X===void 0||X.call(ve),he.current=!1})};return ye},q=J,re=q(N.useEffect),me=re,Te=q(N.useLayoutEffect),ee=Te,xe=j?ee:me,Ie=xe;function Le(ce){var ye=(0,r.CR)(M(function(){var oe=L(ce);return oe?{width:oe.clientWidth,height:oe.clientHeight}:void 0}),2),Oe=ye[0],Ce=ye[1];return Ie(function(){var oe=L(ce);if(oe){var he=new y.Z(function(ie){ie.forEach(function(ae){var ve=ae.target,X=ve.clientWidth,se=ve.clientHeight;Ce({width:X,height:se})})});return he.observe(oe),function(){he.disconnect()}}},[],ce),Oe}var De=Le},30087:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return et}});var r=c(47280),y=c(50959),N=c(35531),C=c(8439),w=c(35807),O=c(61553),b=c(63309),p=c(49308),u=c(19557);let a=Object.assign({},u.Z.Modal);function f(ht){ht?a=Object.assign(Object.assign({},a),ht):a=Object.assign({},u.Z.Modal)}function h(){return a}var l=c(70167);const s=\"internalMark\";var x=ht=>{const{locale:Fe={},children:mt,_ANT_MARK__:dt}=ht;y.useEffect(()=>(f(Fe&&Fe.Modal),()=>{f()}),[Fe]);const Lt=y.useMemo(()=>Object.assign(Object.assign({},Fe),{exist:!0}),[Fe]);return y.createElement(l.Z.Provider,{value:Lt},mt)},M=c(25990),E=c(58526),j=c(81548),L=c(99590),A=c(61237),J=c(52797);const q=`-ant-${Date.now()}-${Math.random()}`;function re(ht,Fe){const mt={},dt=(rn,qt)=>{let hn=rn.clone();return hn=(qt==null?void 0:qt(hn))||hn,hn.toRgbString()},Lt=(rn,qt)=>{const hn=new L.C(rn),Kt=(0,j.R_)(hn.toRgbString());mt[`${qt}-color`]=dt(hn),mt[`${qt}-color-disabled`]=Kt[1],mt[`${qt}-color-hover`]=Kt[4],mt[`${qt}-color-active`]=Kt[6],mt[`${qt}-color-outline`]=hn.clone().setAlpha(.2).toRgbString(),mt[`${qt}-color-deprecated-bg`]=Kt[0],mt[`${qt}-color-deprecated-border`]=Kt[2]};if(Fe.primaryColor){Lt(Fe.primaryColor,\"primary\");const rn=new L.C(Fe.primaryColor),qt=(0,j.R_)(rn.toRgbString());qt.forEach((Kt,an)=>{mt[`primary-${an+1}`]=Kt}),mt[\"primary-color-deprecated-l-35\"]=dt(rn,Kt=>Kt.lighten(35)),mt[\"primary-color-deprecated-l-20\"]=dt(rn,Kt=>Kt.lighten(20)),mt[\"primary-color-deprecated-t-20\"]=dt(rn,Kt=>Kt.tint(20)),mt[\"primary-color-deprecated-t-50\"]=dt(rn,Kt=>Kt.tint(50)),mt[\"primary-color-deprecated-f-12\"]=dt(rn,Kt=>Kt.setAlpha(Kt.getAlpha()*.12));const hn=new L.C(qt[0]);mt[\"primary-color-active-deprecated-f-30\"]=dt(hn,Kt=>Kt.setAlpha(Kt.getAlpha()*.3)),mt[\"primary-color-active-deprecated-d-02\"]=dt(hn,Kt=>Kt.darken(2))}return Fe.successColor&&Lt(Fe.successColor,\"success\"),Fe.warningColor&&Lt(Fe.warningColor,\"warning\"),Fe.errorColor&&Lt(Fe.errorColor,\"error\"),Fe.infoColor&&Lt(Fe.infoColor,\"info\"),`\n  :root {\n    ${Object.keys(mt).map(rn=>`--${ht}-${rn}: ${mt[rn]};`).join(`\n`)}\n  }\n  `.trim()}function me(ht,Fe){const mt=re(ht,Fe);(0,A.Z)()&&(0,J.hq)(mt,`${q}-dynamic-theme`)}var Te=c(47265),ee=c(75469);function xe(){const ht=(0,y.useContext)(Te.Z),Fe=(0,y.useContext)(ee.Z);return{componentDisabled:ht,componentSize:Fe}}var Ie=xe,Le=c(37304);function De(ht,Fe){const mt=ht||{},dt=mt.inherit===!1||!Fe?M.u_:Fe;return(0,p.Z)(()=>{if(!ht)return Fe;const lt=Object.assign({},dt.components);return Object.keys(ht.components||{}).forEach(rn=>{lt[rn]=Object.assign(Object.assign({},lt[rn]),ht.components[rn])}),Object.assign(Object.assign(Object.assign({},dt),mt),{token:Object.assign(Object.assign({},dt.token),mt.token),components:lt})},[mt,dt],(lt,rn)=>lt.some((qt,hn)=>{const Kt=rn[hn];return!(0,Le.Z)(qt,Kt,!0)}))}var ce=c(92220),Oe=ht=>{const[Fe,mt]=(0,M.dQ)();return(0,C.xy)({theme:Fe,token:mt,hashId:\"\",path:[\"ant-design-icons\",ht]},()=>[{[`.${ht}`]:Object.assign(Object.assign({},(0,ce.Ro)()),{[`.${ht} .${ht}-icon`]:{display:\"block\"}})}])},Ce=function(ht,Fe){var mt={};for(var dt in ht)Object.prototype.hasOwnProperty.call(ht,dt)&&Fe.indexOf(dt)<0&&(mt[dt]=ht[dt]);if(ht!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var Lt=0,dt=Object.getOwnPropertySymbols(ht);Lt<dt.length;Lt++)Fe.indexOf(dt[Lt])<0&&Object.prototype.propertyIsEnumerable.call(ht,dt[Lt])&&(mt[dt[Lt]]=ht[dt[Lt]]);return mt};let oe=!1;const he=null,ie=null,ae=[\"getTargetContainer\",\"getPopupContainer\",\"renderEmpty\",\"pageHeader\",\"input\",\"pagination\",\"form\",\"select\"],ve=\"ant\";let X,se;function fe(){return X||ve}function _e(){return se||defaultIconPrefixCls}const be=ht=>{let{prefixCls:Fe,iconPrefixCls:mt,theme:dt}=ht;Fe!==void 0&&(X=Fe),mt!==void 0&&(se=mt),dt&&me(fe(),dt)},We=()=>({getPrefixCls:(ht,Fe)=>Fe||(ht?`${fe()}-${ht}`:fe()),getIconPrefixCls:_e,getRootPrefixCls:()=>X||fe()}),we=ht=>{const{children:Fe,csp:mt,autoInsertSpaceInButton:dt,form:Lt,locale:lt,componentSize:rn,direction:qt,space:hn,virtual:Kt,dropdownMatchSelectWidth:an,legacyLocale:In,parentContext:Ft,iconPrefixCls:kt,theme:At,componentDisabled:Fn}=ht,pn=y.useCallback((gn,Gt)=>{const{prefixCls:bt}=ht;if(Gt)return Gt;const Zt=bt||Ft.getPrefixCls(\"\");return gn?`${Zt}-${gn}`:Zt},[Ft.getPrefixCls,ht.prefixCls]),en=kt||Ft.iconPrefixCls||N.oR,Wn=en!==Ft.iconPrefixCls,Mn=mt||Ft.csp,Kn=Oe(en),hr=De(At,Ft.theme),pr={csp:Mn,autoInsertSpaceInButton:dt,locale:lt||In,direction:qt,space:hn,virtual:Kt,dropdownMatchSelectWidth:an,getPrefixCls:pn,iconPrefixCls:en,theme:hr},zr=Object.assign({},Ft);Object.keys(pr).forEach(gn=>{pr[gn]!==void 0&&(zr[gn]=pr[gn])}),ae.forEach(gn=>{const Gt=ht[gn];Gt&&(zr[gn]=Gt)});const Wr=(0,p.Z)(()=>zr,zr,(gn,Gt)=>{const bt=Object.keys(gn),Zt=Object.keys(Gt);return bt.length!==Zt.length||bt.some(gt=>gn[gt]!==Gt[gt])}),Nr=y.useMemo(()=>({prefixCls:en,csp:Mn}),[en,Mn]);let Kr=Wn?Kn(Fe):Fe;const ko=y.useMemo(()=>{var gn,Gt,bt;return(0,b.gg)({},((gn=u.Z.Form)===null||gn===void 0?void 0:gn.defaultValidateMessages)||{},((bt=(Gt=Wr.locale)===null||Gt===void 0?void 0:Gt.Form)===null||bt===void 0?void 0:bt.defaultValidateMessages)||{},(Lt==null?void 0:Lt.validateMessages)||{})},[Wr,Lt==null?void 0:Lt.validateMessages]);Object.keys(ko).length>0&&(Kr=y.createElement(O.RV,{validateMessages:ko},Fe)),lt&&(Kr=y.createElement(x,{locale:lt,_ANT_MARK__:s},Kr)),(en||Mn)&&(Kr=y.createElement(w.Z.Provider,{value:Nr},Kr)),rn&&(Kr=y.createElement(ee.q,{size:rn},Kr));const Ur=y.useMemo(()=>{const gn=hr||{},{algorithm:Gt,token:bt}=gn,Zt=Ce(gn,[\"algorithm\",\"token\"]),gt=Gt&&(!Array.isArray(Gt)||Gt.length>0)?(0,C.jG)(Gt):void 0;return Object.assign(Object.assign({},Zt),{theme:gt,token:Object.assign(Object.assign({},E.Z),bt)})},[hr]);return At&&(Kr=y.createElement(M.Mj.Provider,{value:Ur},Kr)),Fn!==void 0&&(Kr=y.createElement(Te.n,{disabled:Fn},Kr)),y.createElement(N.E_.Provider,{value:Wr},Kr)},Ze=ht=>{const Fe=y.useContext(N.E_),mt=y.useContext(l.Z);return y.createElement(we,Object.assign({parentContext:Fe,legacyLocale:mt},ht))};Ze.ConfigContext=N.E_,Ze.SizeContext=ee.Z,Ze.config=be,Ze.useConfig=Ie,Object.defineProperty(Ze,\"SizeContext\",{get:()=>ee.Z});var Ve=Ze;function et(ht,Fe,mt){return function(Lt){const{prefixCls:lt,style:rn}=Lt,qt=y.useRef(null),[hn,Kt]=y.useState(0),[an,In]=y.useState(0),[Ft,kt]=(0,r.Z)(!1,{value:Lt.open}),{getPrefixCls:At}=y.useContext(N.E_),Fn=At(Fe||\"select\",lt);return y.useEffect(()=>{if(kt(!0),typeof ResizeObserver!=\"undefined\"){const pn=new ResizeObserver(Wn=>{const Mn=Wn[0].target;Kt(Mn.offsetHeight+8),In(Mn.offsetWidth)}),en=setInterval(()=>{var Wn;const Mn=mt?`.${mt(Fn)}`:`.${Fn}-dropdown`,Kn=(Wn=qt.current)===null||Wn===void 0?void 0:Wn.querySelector(Mn);Kn&&(clearInterval(en),pn.observe(Kn))},10);return()=>{clearInterval(en),pn.disconnect()}}},[]),y.createElement(Ve,{theme:{token:{motionDurationFast:\"0.01s\",motionDurationMid:\"0.01s\",motionDurationSlow:\"0.01s\"}}},y.createElement(\"div\",{ref:qt,style:{paddingBottom:hn,position:\"relative\",width:\"fit-content\",minWidth:an}},y.createElement(ht,Object.assign({},Lt,{style:Object.assign(Object.assign({},rn),{margin:0}),open:Ft,visible:Ft,getPopupContainer:()=>qt.current}))))}}},48515:function(Pt,Ee,c){\"use strict\";c.d(Ee,{mL:function(){return p},q0:function(){return b}});const r=()=>({height:0,opacity:0}),y=u=>{const{scrollHeight:a}=u;return{height:a,opacity:1}},N=u=>({height:u?u.offsetHeight:0}),C=(u,a)=>(a==null?void 0:a.deadline)===!0||a.propertyName===\"height\",w=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:\"ant\"}-motion-collapse`,onAppearStart:r,onEnterStart:r,onAppearActive:y,onEnterActive:y,onLeaveStart:N,onLeaveActive:r,onAppearEnd:C,onEnterEnd:C,onLeaveEnd:C,motionDeadline:500}},O=null,b=u=>u!==void 0&&(u===\"topLeft\"||u===\"topRight\")?\"slide-down\":\"slide-up\",p=(u,a,f)=>f!==void 0?f:`${u}-${a}`;Ee.ZP=w},20902:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return O}});var r=c(58917);function y(b,p,u,a){if(a===!1)return{adjustX:!1,adjustY:!1};const f=a&&typeof a==\"object\"?a:{},h={};switch(b){case\"top\":case\"bottom\":h.shiftX=p.dropdownArrowOffset*2+u;break;case\"left\":case\"right\":h.shiftY=p.dropdownArrowOffsetVertical*2+u;break}const l=Object.assign(Object.assign({},h),f);return l.shiftX||(l.adjustX=!0),l.shiftY||(l.adjustY=!0),l}const N={left:{points:[\"cr\",\"cl\"]},right:{points:[\"cl\",\"cr\"]},top:{points:[\"bc\",\"tc\"]},bottom:{points:[\"tc\",\"bc\"]},topLeft:{points:[\"bl\",\"tl\"]},leftTop:{points:[\"tr\",\"tl\"]},topRight:{points:[\"br\",\"tr\"]},rightTop:{points:[\"tl\",\"tr\"]},bottomRight:{points:[\"tr\",\"br\"]},rightBottom:{points:[\"bl\",\"br\"]},bottomLeft:{points:[\"tl\",\"bl\"]},leftBottom:{points:[\"br\",\"bl\"]}},C={topLeft:{points:[\"bl\",\"tc\"]},leftTop:{points:[\"tr\",\"cl\"]},topRight:{points:[\"br\",\"tc\"]},rightTop:{points:[\"tl\",\"cr\"]},bottomRight:{points:[\"tr\",\"bc\"]},rightBottom:{points:[\"bl\",\"cr\"]},bottomLeft:{points:[\"tl\",\"bc\"]},leftBottom:{points:[\"br\",\"cl\"]}},w=new Set([\"topLeft\",\"topRight\",\"bottomLeft\",\"bottomRight\",\"leftTop\",\"leftBottom\",\"rightTop\",\"rightBottom\"]);function O(b){const{arrowWidth:p,autoAdjustOverflow:u,arrowPointAtCenter:a,offset:f,borderRadius:h}=b,l=p/2,s={};return Object.keys(N).forEach(m=>{const x=a&&C[m]||N[m],M=Object.assign(Object.assign({},x),{offset:[0,0]});switch(s[m]=M,w.has(m)&&(M.autoArrow=!1),m){case\"top\":case\"topLeft\":case\"topRight\":M.offset[1]=-l-f;break;case\"bottom\":case\"bottomLeft\":case\"bottomRight\":M.offset[1]=l+f;break;case\"left\":case\"leftTop\":case\"leftBottom\":M.offset[0]=-l-f;break;case\"right\":case\"rightTop\":case\"rightBottom\":M.offset[0]=l+f;break}const E=(0,r.fS)({contentRadius:h,limitVerticalRadius:!0});if(a)switch(m){case\"topLeft\":case\"bottomLeft\":M.offset[0]=-E.dropdownArrowOffset-l;break;case\"topRight\":case\"bottomRight\":M.offset[0]=E.dropdownArrowOffset+l;break;case\"leftTop\":case\"rightTop\":M.offset[1]=-E.dropdownArrowOffset-l;break;case\"leftBottom\":case\"rightBottom\":M.offset[1]=E.dropdownArrowOffset+l;break}M.overflow=y(m,E,p,u)}),s}},42912:function(Pt,Ee,c){\"use strict\";var r;c.d(Ee,{M2:function(){return C},Tm:function(){return O},l$:function(){return N}});var y=c(50959);const{isValidElement:N}=r||(r=c.t(y,2));function C(b){return b&&N(b)&&b.type===y.Fragment}function w(b,p,u){return N(b)?y.cloneElement(b,typeof u==\"function\"?u(b.props||{}):u):p}function O(b,p){return w(b,b,p)}},91700:function(Pt,Ee,c){\"use strict\";c.d(Ee,{F:function(){return w},Z:function(){return C}});var r=c(84875),y=c.n(r);const N=null;function C(O,b,p){return y()({[`${O}-status-success`]:b===\"success\",[`${O}-status-warning`]:b===\"warning\",[`${O}-status-error`]:b===\"error\",[`${O}-status-validating`]:b===\"validating\",[`${O}-has-feedback`]:p})}const w=(O,b)=>b||O},54887:function(Pt,Ee,c){\"use strict\";c.d(Ee,{ZP:function(){return aa}});var r=c(84875),y=c.n(r),N=c(97318),C=c(50959),w=c(35531),O=c(47265),b=c(75469),p=c(2315),u=c(64111),a=c(25155),f=c(42912),h=c(72267);const l=$e=>{const{componentCls:dn,colorPrimary:Un}=$e;return{[dn]:{position:\"absolute\",background:\"transparent\",pointerEvents:\"none\",boxSizing:\"border-box\",color:`var(--wave-color, ${Un})`,boxShadow:\"0 0 0 0 currentcolor\",opacity:.2,\"&.wave-motion-appear\":{transition:[`box-shadow 0.4s ${$e.motionEaseOutCirc}`,`opacity 2s ${$e.motionEaseOutCirc}`].join(\",\"),\"&-active\":{boxShadow:\"0 0 0 6px currentcolor\",opacity:0}}}}};var s=(0,h.Z)(\"Wave\",$e=>[l($e)]),m=c(81676),x=c(40086),M=c(99932),E=c(78450),j=c(26143),L=c(75782),A=c(10422),J=c.t(A,2),q=(0,L.Z)({},J),re=q.version,me=q.render,Te=q.unmountComponentAtNode,ee;try{var xe=Number((re||\"\").split(\".\")[0]);xe>=18&&(ee=q.createRoot)}catch($e){}function Ie($e){var dn=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;dn&&(0,j.Z)(dn)===\"object\"&&(dn.usingClientEntryPoint=$e)}var Le=\"__rc_react_root__\";function De($e,dn){Ie(!0);var Un=dn[Le]||ee(dn);Ie(!1),Un.render($e),dn[Le]=Un}function ce($e,dn){me($e,dn)}function ye($e,dn){}function Oe($e,dn){if(ee){De($e,dn);return}ce($e,dn)}function Ce($e){return oe.apply(this,arguments)}function oe(){return oe=(0,E.Z)((0,M.Z)().mark(function $e(dn){return(0,M.Z)().wrap(function(ar){for(;;)switch(ar.prev=ar.next){case 0:return ar.abrupt(\"return\",Promise.resolve().then(function(){var Rr;(Rr=dn[Le])===null||Rr===void 0||Rr.unmount(),delete dn[Le]}));case 1:case\"end\":return ar.stop()}},$e)})),oe.apply(this,arguments)}function he($e){Te($e)}function ie($e){}function ae($e){return ve.apply(this,arguments)}function ve(){return ve=(0,E.Z)((0,M.Z)().mark(function $e(dn){return(0,M.Z)().wrap(function(ar){for(;;)switch(ar.prev=ar.next){case 0:if(ee===void 0){ar.next=2;break}return ar.abrupt(\"return\",Ce(dn));case 2:he(dn);case 3:case\"end\":return ar.stop()}},$e)})),ve.apply(this,arguments)}function X($e){const dn=($e||\"\").match(/rgba?\\((\\d*), (\\d*), (\\d*)(, [\\d.]*)?\\)/);return dn&&dn[1]&&dn[2]&&dn[3]?!(dn[1]===dn[2]&&dn[2]===dn[3]):!0}function se($e){return $e&&$e!==\"#fff\"&&$e!==\"#ffffff\"&&$e!==\"rgb(255, 255, 255)\"&&$e!==\"rgba(255, 255, 255, 1)\"&&X($e)&&!/rgba\\((?:\\d*, ){3}0\\)/.test($e)&&$e!==\"transparent\"}function fe($e){const{borderTopColor:dn,borderColor:Un,backgroundColor:ar}=getComputedStyle($e);return se(dn)?dn:se(Un)?Un:se(ar)?ar:null}function _e($e){return Number.isNaN($e)?0:$e}const be=$e=>{const{className:dn,target:Un}=$e,ar=C.useRef(null),[Rr,Ro]=C.useState(null),[Vo,Co]=C.useState([]),[Mo,qo]=C.useState(0),[ti,pi]=C.useState(0),[ni,si]=C.useState(0),[Oi,Ki]=C.useState(0),[ca,zi]=C.useState(!1),br={left:Mo,top:ti,width:ni,height:Oi,borderRadius:Vo.map(je=>`${je}px`).join(\" \")};Rr&&(br[\"--wave-color\"]=Rr);function Re(){const je=getComputedStyle(Un);Ro(fe(Un));const nt=je.position===\"static\",{borderLeftWidth:rt,borderTopWidth:Xt}=je;qo(nt?Un.offsetLeft:_e(-parseFloat(rt))),pi(nt?Un.offsetTop:_e(-parseFloat(Xt))),si(Un.offsetWidth),Ki(Un.offsetHeight);const{borderTopLeftRadius:fn,borderTopRightRadius:Cn,borderBottomLeftRadius:Yn,borderBottomRightRadius:Ae}=je;Co([fn,Cn,Ae,Yn].map(Ke=>_e(parseFloat(Ke))))}return C.useEffect(()=>{if(Un){const je=(0,x.Z)(()=>{Re(),zi(!0)});let nt;return typeof ResizeObserver!=\"undefined\"&&(nt=new ResizeObserver(Re),nt.observe(Un)),()=>{x.Z.cancel(je),nt==null||nt.disconnect()}}},[]),ca?C.createElement(m.Z,{visible:!0,motionAppear:!0,motionName:\"wave-motion\",motionDeadline:5e3,onAppearEnd:(je,nt)=>{var rt;if(nt.deadline||nt.propertyName===\"opacity\"){const Xt=(rt=ar.current)===null||rt===void 0?void 0:rt.parentElement;ae(Xt).then(()=>{var fn;(fn=Xt.parentElement)===null||fn===void 0||fn.removeChild(Xt)})}return!1}},je=>{let{className:nt}=je;return C.createElement(\"div\",{ref:ar,className:y()(dn,nt),style:br})}):null};function We($e,dn){const Un=document.createElement(\"div\");Un.style.position=\"absolute\",Un.style.left=\"0px\",Un.style.top=\"0px\",$e==null||$e.insertBefore(Un,$e==null?void 0:$e.firstChild),Oe(C.createElement(be,{target:$e,className:dn}),Un)}function we($e,dn){function Un(){const ar=$e.current;We(ar,dn)}return Un}var Ve=$e=>{const{children:dn,disabled:Un}=$e,{getPrefixCls:ar}=(0,C.useContext)(w.E_),Rr=(0,C.useRef)(null),Ro=ar(\"wave\"),[,Vo]=s(Ro),Co=we(Rr,y()(Ro,Vo));if(C.useEffect(()=>{const qo=Rr.current;if(!qo||qo.nodeType!==1||Un)return;const ti=pi=>{pi.target.tagName===\"INPUT\"||!(0,a.Z)(pi.target)||!qo.getAttribute||qo.getAttribute(\"disabled\")||qo.disabled||qo.className.includes(\"disabled\")||qo.className.includes(\"-leave\")||Co()};return qo.addEventListener(\"click\",ti,!0),()=>{qo.removeEventListener(\"click\",ti,!0)}},[Un]),!C.isValidElement(dn))return dn!=null?dn:null;const Mo=(0,u.Yr)(dn)?(0,u.sQ)(dn.ref,Rr):Rr;return(0,f.Tm)(dn,{ref:Mo})},et=c(25990),ht=function($e,dn){var Un={};for(var ar in $e)Object.prototype.hasOwnProperty.call($e,ar)&&dn.indexOf(ar)<0&&(Un[ar]=$e[ar]);if($e!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var Rr=0,ar=Object.getOwnPropertySymbols($e);Rr<ar.length;Rr++)dn.indexOf(ar[Rr])<0&&Object.prototype.propertyIsEnumerable.call($e,ar[Rr])&&(Un[ar[Rr]]=$e[ar[Rr]]);return Un};const Fe=C.createContext(void 0);var dt=$e=>{const{getPrefixCls:dn,direction:Un}=C.useContext(w.E_),{prefixCls:ar,size:Rr,className:Ro}=$e,Vo=ht($e,[\"prefixCls\",\"size\",\"className\"]),Co=dn(\"btn-group\",ar),[,,Mo]=(0,et.dQ)();let qo=\"\";switch(Rr){case\"large\":qo=\"lg\";break;case\"small\":qo=\"sm\";break;case\"middle\":case void 0:break;default:}const ti=y()(Co,{[`${Co}-${qo}`]:qo,[`${Co}-rtl`]:Un===\"rtl\"},Ro,Mo);return C.createElement(Fe.Provider,{value:Rr},C.createElement(\"div\",Object.assign({},Vo,{className:ti})))};const Lt=/^[\\u4e00-\\u9fa5]{2}$/,lt=Lt.test.bind(Lt);function rn($e){return typeof $e==\"string\"}function qt($e){return $e===\"text\"||$e===\"link\"}function hn($e,dn){if($e==null)return;const Un=dn?\" \":\"\";return typeof $e!=\"string\"&&typeof $e!=\"number\"&&rn($e.type)&&lt($e.props.children)?(0,f.Tm)($e,{children:$e.props.children.split(\"\").join(Un)}):typeof $e==\"string\"?lt($e)?C.createElement(\"span\",null,$e.split(\"\").join(Un)):C.createElement(\"span\",null,$e):(0,f.M2)($e)?C.createElement(\"span\",null,$e):$e}function Kt($e,dn){let Un=!1;const ar=[];return C.Children.forEach($e,Rr=>{const Ro=typeof Rr,Vo=Ro===\"string\"||Ro===\"number\";if(Un&&Vo){const Co=ar.length-1,Mo=ar[Co];ar[Co]=`${Mo}${Rr}`}else ar.push(Rr);Un=Vo}),C.Children.map(ar,Rr=>hn(Rr,dn))}const an=null,In=null,Ft=null;var kt=c(19e3);const At=()=>({width:0,opacity:0,transform:\"scale(0)\"}),Fn=$e=>({width:$e.scrollWidth,opacity:1,transform:\"scale(1)\"});var en=$e=>{let{prefixCls:dn,loading:Un,existIcon:ar}=$e;const Rr=!!Un;return ar?C.createElement(\"span\",{className:`${dn}-loading-icon`},C.createElement(kt.Z,null)):C.createElement(m.Z,{visible:Rr,motionName:`${dn}-loading-icon-motion`,removeOnLeave:!0,onAppearStart:At,onAppearActive:Fn,onEnterStart:At,onEnterActive:Fn,onLeaveStart:Fn,onLeaveActive:At},(Ro,Vo)=>{let{className:Co,style:Mo}=Ro;return C.createElement(\"span\",{className:`${dn}-loading-icon`,style:Mo,ref:Vo},C.createElement(kt.Z,{className:Co}))})},Wn=c(42550);const Mn=($e,dn)=>({[`> span, > ${$e}`]:{\"&:not(:last-child)\":{[`&, & > ${$e}`]:{\"&:not(:disabled)\":{borderInlineEndColor:dn}}},\"&:not(:first-child)\":{[`&, & > ${$e}`]:{\"&:not(:disabled)\":{borderInlineStartColor:dn}}}}});var hr=$e=>{const{componentCls:dn,fontSize:Un,lineWidth:ar,colorPrimaryHover:Rr,colorErrorHover:Ro}=$e;return{[`${dn}-group`]:[{position:\"relative\",display:\"inline-flex\",[`> span, > ${dn}`]:{\"&:not(:last-child)\":{[`&, & > ${dn}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},\"&:not(:first-child)\":{marginInlineStart:-ar,[`&, & > ${dn}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[dn]:{position:\"relative\",zIndex:1,[`&:hover,\n          &:focus,\n          &:active`]:{zIndex:2},\"&[disabled]\":{zIndex:0}},[`${dn}-icon-only`]:{fontSize:Un}},Mn(`${dn}-primary`,Rr),Mn(`${dn}-danger`,Ro)]}},pr=c(92220),zr=c(36717);function Wr($e,dn){return{[`&-item:not(${dn}-last-item)`]:{marginBottom:-$e.lineWidth},\"&-item\":{\"&:hover,&:focus,&:active\":{zIndex:2},\"&[disabled]\":{zIndex:0}}}}function Nr($e,dn){return{[`&-item:not(${dn}-first-item):not(${dn}-last-item)`]:{borderRadius:0},[`&-item${dn}-first-item:not(${dn}-last-item)`]:{[`&, &${$e}-sm, &${$e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${dn}-last-item:not(${dn}-first-item)`]:{[`&, &${$e}-sm, &${$e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function Kr($e){const dn=`${$e.componentCls}-compact-vertical`;return{[dn]:Object.assign(Object.assign({},Wr($e,dn)),Nr($e.componentCls,dn))}}const ko=$e=>{const{componentCls:dn,iconCls:Un}=$e;return{[dn]:{outline:\"none\",position:\"relative\",display:\"inline-block\",fontWeight:400,whiteSpace:\"nowrap\",textAlign:\"center\",backgroundImage:\"none\",backgroundColor:\"transparent\",border:`${$e.lineWidth}px ${$e.lineType} transparent`,cursor:\"pointer\",transition:`all ${$e.motionDurationMid} ${$e.motionEaseInOut}`,userSelect:\"none\",touchAction:\"manipulation\",lineHeight:$e.lineHeight,color:$e.colorText,\"> span\":{display:\"inline-block\"},[`> ${Un} + span, > span + ${Un}`]:{marginInlineStart:$e.marginXS},\"> a\":{color:\"currentColor\"},\"&:not(:disabled)\":Object.assign({},(0,pr.Qy)($e)),[`&-icon-only${dn}-compact-item`]:{flex:\"none\"},[`&-compact-item${dn}-primary`]:{[`&:not([disabled]) + ${dn}-compact-item${dn}-primary:not([disabled])`]:{position:\"relative\",\"&:before\":{position:\"absolute\",top:-$e.lineWidth,insetInlineStart:-$e.lineWidth,display:\"inline-block\",width:$e.lineWidth,height:`calc(100% + ${$e.lineWidth*2}px)`,backgroundColor:$e.colorPrimaryHover,content:'\"\"'}}},\"&-compact-vertical-item\":{[`&${dn}-primary`]:{[`&:not([disabled]) + ${dn}-compact-vertical-item${dn}-primary:not([disabled])`]:{position:\"relative\",\"&:before\":{position:\"absolute\",top:-$e.lineWidth,insetInlineStart:-$e.lineWidth,display:\"inline-block\",width:`calc(100% + ${$e.lineWidth*2}px)`,height:$e.lineWidth,backgroundColor:$e.colorPrimaryHover,content:'\"\"'}}}}}}},Ur=($e,dn)=>({\"&:not(:disabled)\":{\"&:hover\":$e,\"&:active\":dn}}),gn=$e=>({minWidth:$e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:\"50%\"}),Gt=$e=>({borderRadius:$e.controlHeight,paddingInlineStart:$e.controlHeight/2,paddingInlineEnd:$e.controlHeight/2}),bt=$e=>({cursor:\"not-allowed\",borderColor:$e.colorBorder,color:$e.colorTextDisabled,backgroundColor:$e.colorBgContainerDisabled,boxShadow:\"none\"}),Zt=($e,dn,Un,ar,Rr,Ro,Vo)=>({[`&${$e}-background-ghost`]:Object.assign(Object.assign({color:dn||void 0,backgroundColor:\"transparent\",borderColor:Un||void 0,boxShadow:\"none\"},Ur(Object.assign({backgroundColor:\"transparent\"},Ro),Object.assign({backgroundColor:\"transparent\"},Vo))),{\"&:disabled\":{cursor:\"not-allowed\",color:ar||void 0,borderColor:Rr||void 0}})}),gt=$e=>({\"&:disabled\":Object.assign({},bt($e))}),Wt=$e=>Object.assign({},gt($e)),xn=$e=>({\"&:disabled\":{cursor:\"not-allowed\",color:$e.colorTextDisabled}}),Dt=$e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Wt($e)),{backgroundColor:$e.colorBgContainer,borderColor:$e.colorBorder,boxShadow:`0 ${$e.controlOutlineWidth}px 0 ${$e.controlTmpOutline}`}),Ur({color:$e.colorPrimaryHover,borderColor:$e.colorPrimaryHover},{color:$e.colorPrimaryActive,borderColor:$e.colorPrimaryActive})),Zt($e.componentCls,$e.colorBgContainer,$e.colorBgContainer,$e.colorTextDisabled,$e.colorBorder)),{[`&${$e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:$e.colorError,borderColor:$e.colorError},Ur({color:$e.colorErrorHover,borderColor:$e.colorErrorBorderHover},{color:$e.colorErrorActive,borderColor:$e.colorErrorActive})),Zt($e.componentCls,$e.colorError,$e.colorError,$e.colorTextDisabled,$e.colorBorder)),gt($e))}),Xn=$e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Wt($e)),{color:$e.colorTextLightSolid,backgroundColor:$e.colorPrimary,boxShadow:`0 ${$e.controlOutlineWidth}px 0 ${$e.controlOutline}`}),Ur({color:$e.colorTextLightSolid,backgroundColor:$e.colorPrimaryHover},{color:$e.colorTextLightSolid,backgroundColor:$e.colorPrimaryActive})),Zt($e.componentCls,$e.colorPrimary,$e.colorPrimary,$e.colorTextDisabled,$e.colorBorder,{color:$e.colorPrimaryHover,borderColor:$e.colorPrimaryHover},{color:$e.colorPrimaryActive,borderColor:$e.colorPrimaryActive})),{[`&${$e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({backgroundColor:$e.colorError,boxShadow:`0 ${$e.controlOutlineWidth}px 0 ${$e.colorErrorOutline}`},Ur({backgroundColor:$e.colorErrorHover},{backgroundColor:$e.colorErrorActive})),Zt($e.componentCls,$e.colorError,$e.colorError,$e.colorTextDisabled,$e.colorBorder,{color:$e.colorErrorHover,borderColor:$e.colorErrorHover},{color:$e.colorErrorActive,borderColor:$e.colorErrorActive})),gt($e))}),Rn=$e=>Object.assign(Object.assign({},Dt($e)),{borderStyle:\"dashed\"}),wt=$e=>Object.assign(Object.assign(Object.assign({color:$e.colorLink},Ur({color:$e.colorLinkHover},{color:$e.colorLinkActive})),xn($e)),{[`&${$e.componentCls}-dangerous`]:Object.assign(Object.assign({color:$e.colorError},Ur({color:$e.colorErrorHover},{color:$e.colorErrorActive})),xn($e))}),pt=$e=>Object.assign(Object.assign(Object.assign({},Ur({color:$e.colorText,backgroundColor:$e.colorBgTextHover},{color:$e.colorText,backgroundColor:$e.colorBgTextActive})),xn($e)),{[`&${$e.componentCls}-dangerous`]:Object.assign(Object.assign({color:$e.colorError},xn($e)),Ur({color:$e.colorErrorHover,backgroundColor:$e.colorErrorBg},{color:$e.colorErrorHover,backgroundColor:$e.colorErrorBg}))}),Ue=$e=>Object.assign(Object.assign({},bt($e)),{[`&${$e.componentCls}:hover`]:Object.assign({},bt($e))}),xt=$e=>{const{componentCls:dn}=$e;return{[`${dn}-default`]:Dt($e),[`${dn}-primary`]:Xn($e),[`${dn}-dashed`]:Rn($e),[`${dn}-link`]:wt($e),[`${dn}-text`]:pt($e),[`${dn}-disabled`]:Ue($e)}},cn=function($e){let dn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:\"\";const{componentCls:Un,iconCls:ar,controlHeight:Rr,fontSize:Ro,lineHeight:Vo,lineWidth:Co,borderRadius:Mo,buttonPaddingHorizontal:qo}=$e,ti=Math.max(0,(Rr-Ro*Vo)/2-Co),pi=qo-Co,ni=`${Un}-icon-only`;return[{[`${Un}${dn}`]:{fontSize:Ro,height:Rr,padding:`${ti}px ${pi}px`,borderRadius:Mo,[`&${ni}`]:{width:Rr,paddingInlineStart:0,paddingInlineEnd:0,[`&${Un}-round`]:{width:\"auto\"},\"> span\":{transform:\"scale(1.143)\"}},[`&${Un}-loading`]:{opacity:$e.opacityLoading,cursor:\"default\"},[`${Un}-loading-icon`]:{transition:`width ${$e.motionDurationSlow} ${$e.motionEaseInOut}, opacity ${$e.motionDurationSlow} ${$e.motionEaseInOut}`},[`&:not(${ni}) ${Un}-loading-icon > ${ar}`]:{marginInlineEnd:$e.marginXS}}},{[`${Un}${Un}-circle${dn}`]:gn($e)},{[`${Un}${Un}-round${dn}`]:Gt($e)}]},er=$e=>cn($e),Mr=$e=>{const dn=(0,Wn.TS)($e,{controlHeight:$e.controlHeightSM,padding:$e.paddingXS,buttonPaddingHorizontal:8,borderRadius:$e.borderRadiusSM});return cn(dn,`${$e.componentCls}-sm`)},xr=$e=>{const dn=(0,Wn.TS)($e,{controlHeight:$e.controlHeightLG,fontSize:$e.fontSizeLG,borderRadius:$e.borderRadiusLG});return cn(dn,`${$e.componentCls}-lg`)},jr=$e=>{const{componentCls:dn}=$e;return{[dn]:{[`&${dn}-block`]:{width:\"100%\"}}}};var yo=(0,h.Z)(\"Button\",$e=>{const{controlTmpOutline:dn,paddingContentHorizontal:Un}=$e,ar=(0,Wn.TS)($e,{colorOutlineDefault:dn,buttonPaddingHorizontal:Un});return[ko(ar),Mr(ar),er(ar),xr(ar),jr(ar),xt(ar),hr(ar),(0,zr.c)($e),Kr($e)]}),eo=function($e,dn){var Un={};for(var ar in $e)Object.prototype.hasOwnProperty.call($e,ar)&&dn.indexOf(ar)<0&&(Un[ar]=$e[ar]);if($e!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var Rr=0,ar=Object.getOwnPropertySymbols($e);Rr<ar.length;Rr++)dn.indexOf(ar[Rr])<0&&Object.prototype.propertyIsEnumerable.call($e,ar[Rr])&&(Un[ar[Rr]]=$e[ar[Rr]]);return Un};function vi($e){return $e===\"danger\"?{danger:!0}:{type:$e}}function Ti($e){if(typeof $e==\"object\"&&$e){const dn=$e==null?void 0:$e.delay;return{loading:!1,delay:!Number.isNaN(dn)&&typeof dn==\"number\"?dn:0}}return{loading:!!$e,delay:0}}const wi=($e,dn)=>{const{loading:Un=!1,prefixCls:ar,type:Rr=\"default\",danger:Ro,shape:Vo=\"default\",size:Co,disabled:Mo,className:qo,rootClassName:ti,children:pi,icon:ni,ghost:si=!1,block:Oi=!1,htmlType:Ki=\"button\"}=$e,ca=eo($e,[\"loading\",\"prefixCls\",\"type\",\"danger\",\"shape\",\"size\",\"disabled\",\"className\",\"rootClassName\",\"children\",\"icon\",\"ghost\",\"block\",\"htmlType\"]),{getPrefixCls:zi,autoInsertSpaceInButton:br,direction:Re}=C.useContext(w.E_),je=zi(\"btn\",ar),[nt,rt]=yo(je),Xt=C.useContext(b.Z),fn=C.useContext(O.Z),Cn=Mo!=null?Mo:fn,Yn=C.useContext(Fe),Ae=C.useMemo(()=>Ti(Un),[Un]),[Ke,Mt]=C.useState(Ae.loading),[Ut,kn]=C.useState(!1),Zn=dn||C.createRef(),lr=()=>C.Children.count(pi)===1&&!ni&&!qt(Rr),wr=()=>{if(!Zn||!Zn.current||br===!1)return;const ft=Zn.current.textContent;lr()&&lt(ft)?Ut||kn(!0):Ut&&kn(!1)};C.useEffect(()=>{let ft=null;Ae.delay>0?ft=window.setTimeout(()=>{ft=null,Mt(!0)},Ae.delay):Mt(Ae.loading);function ct(){ft&&(window.clearTimeout(ft),ft=null)}return ct},[Ae]),C.useEffect(wr,[Zn]);const Dr=ft=>{const{onClick:ct}=$e;if(Ke||Cn){ft.preventDefault();return}ct==null||ct(ft)},go=br!==!1,{compactSize:Ir,compactItemClassnames:Jr}=(0,p.ri)(je,Re),_o={large:\"lg\",small:\"sm\",middle:void 0},No=Ir||Yn||Co||Xt,ii=No&&_o[No]||\"\",Lo=Ke?\"loading\":ni,ai=(0,N.Z)(ca,[\"navigate\"]),Si=ai.href!==void 0&&Cn,Ui=y()(je,rt,{[`${je}-${Vo}`]:Vo!==\"default\"&&Vo,[`${je}-${Rr}`]:Rr,[`${je}-${ii}`]:ii,[`${je}-icon-only`]:!pi&&pi!==0&&!!Lo,[`${je}-background-ghost`]:si&&!qt(Rr),[`${je}-loading`]:Ke,[`${je}-two-chinese-chars`]:Ut&&go&&!Ke,[`${je}-block`]:Oi,[`${je}-dangerous`]:!!Ro,[`${je}-rtl`]:Re===\"rtl\",[`${je}-disabled`]:Si},Jr,qo,ti),ln=ni&&!Ke?ni:C.createElement(en,{existIcon:!!ni,prefixCls:je,loading:!!Ke}),mn=pi||pi===0?Kt(pi,lr()&&go):null;if(ai.href!==void 0)return nt(C.createElement(\"a\",Object.assign({},ai,{className:Ui,onClick:Dr,ref:Zn}),ln,mn));let fr=C.createElement(\"button\",Object.assign({},ca,{type:Ki,className:Ui,onClick:Dr,disabled:Cn,ref:Zn}),ln,mn);return qt(Rr)||(fr=C.createElement(Ve,{disabled:!!Ke},fr)),nt(fr)},mi=C.forwardRef(wi);mi.Group=dt,mi.__ANT_BUTTON=!0;var Zi=mi,aa=Zi},47265:function(Pt,Ee,c){\"use strict\";c.d(Ee,{n:function(){return N}});var r=c(50959);const y=r.createContext(!1),N=C=>{let{children:w,disabled:O}=C;const b=r.useContext(y);return r.createElement(y.Provider,{value:O!=null?O:b},w)};Ee.Z=y},75469:function(Pt,Ee,c){\"use strict\";c.d(Ee,{q:function(){return N}});var r=c(50959);const y=r.createContext(void 0),N=C=>{let{children:w,size:O}=C;const b=r.useContext(y);return r.createElement(y.Provider,{value:O||b},w)};Ee.Z=y},35531:function(Pt,Ee,c){\"use strict\";c.d(Ee,{E_:function(){return C},oR:function(){return y}});var r=c(50959);const y=\"anticon\",N=(O,b)=>b||(O?`ant-${O}`:\"ant\"),C=r.createContext({getPrefixCls:N,iconPrefixCls:y}),{Consumer:w}=C},51634:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return Kt}});var r=c(75782),y=c(50959),N={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\"},C=N,w=c(58649),O=function(In,Ft){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},In),{},{ref:Ft,icon:C}))};O.displayName=\"RightOutlined\";var b=y.forwardRef(O),p=c(84875),u=c.n(p),a=c(75294),f=c(51761),h=c(47280),l=c(97318),s=c(35531),m=c(28646),x=c(66107),M=c(2315),E=c(20902),j=c(30087),L=c(42912),A=c(1409),J=c(54887),q=c(16030),re=c(61237);const me=()=>(0,re.Z)()&&window.document.documentElement;let Te;const ee=()=>{if(!me())return!1;if(Te!==void 0)return Te;const an=document.createElement(\"div\");return an.style.display=\"flex\",an.style.flexDirection=\"column\",an.style.rowGap=\"1px\",an.appendChild(document.createElement(\"div\")),an.appendChild(document.createElement(\"div\")),document.body.appendChild(an),Te=an.scrollHeight===1,document.body.removeChild(an),Te};var xe=()=>{const[an,In]=y.useState(!1);return y.useEffect(()=>{In(ee())},[]),an};function Ie(an){let{className:In,direction:Ft,index:kt,marginDirection:At,children:Fn,split:pn,wrap:en}=an;const{horizontalSize:Wn,verticalSize:Mn,latestIndex:Kn,supportFlexGap:hr}=y.useContext(ce);let pr={};return hr||(Ft===\"vertical\"?kt<Kn&&(pr={marginBottom:Wn/(pn?2:1)}):pr=Object.assign(Object.assign({},kt<Kn&&{[At]:Wn/(pn?2:1)}),en&&{paddingBottom:Mn})),Fn==null?null:y.createElement(y.Fragment,null,y.createElement(\"div\",{className:In,style:pr},Fn),kt<Kn&&pn&&y.createElement(\"span\",{className:`${In}-split`,style:pr},pn))}var Le=c(95511),De=function(an,In){var Ft={};for(var kt in an)Object.prototype.hasOwnProperty.call(an,kt)&&In.indexOf(kt)<0&&(Ft[kt]=an[kt]);if(an!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var At=0,kt=Object.getOwnPropertySymbols(an);At<kt.length;At++)In.indexOf(kt[At])<0&&Object.prototype.propertyIsEnumerable.call(an,kt[At])&&(Ft[kt[At]]=an[kt[At]]);return Ft};const ce=y.createContext({latestIndex:0,horizontalSize:0,verticalSize:0,supportFlexGap:!1}),ye={small:8,middle:16,large:24};function Oe(an){return typeof an==\"string\"?ye[an]:an||0}const oe=an=>{const{getPrefixCls:In,space:Ft,direction:kt}=y.useContext(s.E_),{size:At=(Ft==null?void 0:Ft.size)||\"small\",align:Fn,className:pn,rootClassName:en,children:Wn,direction:Mn=\"horizontal\",prefixCls:Kn,split:hr,style:pr,wrap:zr=!1}=an,Wr=De(an,[\"size\",\"align\",\"className\",\"rootClassName\",\"children\",\"direction\",\"prefixCls\",\"split\",\"style\",\"wrap\"]),Nr=xe(),[Kr,ko]=y.useMemo(()=>(Array.isArray(At)?At:[At,At]).map(pt=>Oe(pt)),[At]),Ur=(0,q.Z)(Wn,{keepEmpty:!0}),gn=Fn===void 0&&Mn===\"horizontal\"?\"center\":Fn,Gt=In(\"space\",Kn),[bt,Zt]=(0,Le.Z)(Gt),gt=u()(Gt,Zt,`${Gt}-${Mn}`,{[`${Gt}-rtl`]:kt===\"rtl\",[`${Gt}-align-${gn}`]:gn},pn,en),Wt=`${Gt}-item`,xn=kt===\"rtl\"?\"marginLeft\":\"marginRight\";let Dt=0;const Xn=Ur.map((pt,Ue)=>{pt!=null&&(Dt=Ue);const xt=pt&&pt.key||`${Wt}-${Ue}`;return y.createElement(Ie,{className:Wt,key:xt,direction:Mn,index:Ue,marginDirection:xn,split:hr,wrap:zr},pt)}),Rn=y.useMemo(()=>({horizontalSize:Kr,verticalSize:ko,latestIndex:Dt,supportFlexGap:Nr}),[Kr,ko,Dt,Nr]);if(Ur.length===0)return null;const wt={};return zr&&(wt.flexWrap=\"wrap\",Nr||(wt.marginBottom=-ko)),Nr&&(wt.columnGap=Kr,wt.rowGap=ko),bt(y.createElement(\"div\",Object.assign({className:gt,style:Object.assign(Object.assign({},wt),pr)},Wr),y.createElement(ce.Provider,{value:Rn},Xn)))};oe.Compact=M.ZP;var he=oe,ie=c(92220),ae=c(38717),ve=c(67804),X=c(40949),se=c(58917),fe=c(72267),_e=c(42550),We=an=>{const{componentCls:In,antCls:Ft,paddingXS:kt,opacityLoading:At}=an;return{[`${In}-button`]:{whiteSpace:\"nowrap\",[`&${Ft}-btn-group > ${Ft}-btn`]:{[`&-loading, &-loading + ${Ft}-btn`]:{cursor:\"default\",pointerEvents:\"none\",opacity:At},[`&:last-child:not(:first-child):not(${Ft}-btn-icon-only)`]:{paddingInline:kt}}}}},Ze=an=>{const{componentCls:In,menuCls:Ft,colorError:kt,colorTextLightSolid:At}=an,Fn=`${Ft}-item`;return{[`${In}, ${In}-menu-submenu`]:{[`${Ft} ${Fn}`]:{[`&${Fn}-danger:not(${Fn}-disabled)`]:{color:kt,\"&:hover\":{color:At,backgroundColor:kt}}}}}};const Ve=an=>{const{componentCls:In,menuCls:Ft,zIndexPopup:kt,dropdownArrowDistance:At,sizePopupArrow:Fn,antCls:pn,iconCls:en,motionDurationMid:Wn,dropdownPaddingVertical:Mn,fontSize:Kn,dropdownEdgeChildPadding:hr,colorTextDisabled:pr,fontSizeIcon:zr,controlPaddingHorizontal:Wr,colorBgElevated:Nr}=an;return[{[In]:Object.assign(Object.assign({},(0,ie.Wf)(an)),{position:\"absolute\",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:kt,display:\"block\",\"&::before\":{position:\"absolute\",insetBlock:-At+Fn/2,zIndex:-9999,opacity:1e-4,content:'\"\"'},[`${In}-wrap`]:{position:\"relative\",[`${pn}-btn > ${en}-down`]:{fontSize:zr},[`${en}-down::before`]:{transition:`transform ${Wn}`}},[`${In}-wrap-open`]:{[`${en}-down::before`]:{transform:\"rotate(180deg)\"}},[`\n        &-hidden,\n        &-menu-hidden,\n        &-menu-submenu-hidden\n      `]:{display:\"none\"},[`&${pn}-slide-down-enter${pn}-slide-down-enter-active${In}-placement-bottomLeft,\n          &${pn}-slide-down-appear${pn}-slide-down-appear-active${In}-placement-bottomLeft,\n          &${pn}-slide-down-enter${pn}-slide-down-enter-active${In}-placement-bottom,\n          &${pn}-slide-down-appear${pn}-slide-down-appear-active${In}-placement-bottom,\n          &${pn}-slide-down-enter${pn}-slide-down-enter-active${In}-placement-bottomRight,\n          &${pn}-slide-down-appear${pn}-slide-down-appear-active${In}-placement-bottomRight`]:{animationName:ae.fJ},[`&${pn}-slide-up-enter${pn}-slide-up-enter-active${In}-placement-topLeft,\n          &${pn}-slide-up-appear${pn}-slide-up-appear-active${In}-placement-topLeft,\n          &${pn}-slide-up-enter${pn}-slide-up-enter-active${In}-placement-top,\n          &${pn}-slide-up-appear${pn}-slide-up-appear-active${In}-placement-top,\n          &${pn}-slide-up-enter${pn}-slide-up-enter-active${In}-placement-topRight,\n          &${pn}-slide-up-appear${pn}-slide-up-appear-active${In}-placement-topRight`]:{animationName:ae.Qt},[`&${pn}-slide-down-leave${pn}-slide-down-leave-active${In}-placement-bottomLeft,\n          &${pn}-slide-down-leave${pn}-slide-down-leave-active${In}-placement-bottom,\n          &${pn}-slide-down-leave${pn}-slide-down-leave-active${In}-placement-bottomRight`]:{animationName:ae.Uw},[`&${pn}-slide-up-leave${pn}-slide-up-leave-active${In}-placement-topLeft,\n          &${pn}-slide-up-leave${pn}-slide-up-leave-active${In}-placement-top,\n          &${pn}-slide-up-leave${pn}-slide-up-leave-active${In}-placement-topRight`]:{animationName:ae.ly}})},(0,se.ZP)(an,{colorBg:Nr,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${In} ${Ft}`]:{position:\"relative\",margin:0},[`${Ft}-submenu-popup`]:{position:\"absolute\",zIndex:kt,background:\"transparent\",boxShadow:\"none\",transformOrigin:\"0 0\",\"ul, li\":{listStyle:\"none\",margin:0}},[`${In}, ${In}-menu-submenu`]:{[Ft]:Object.assign(Object.assign({padding:hr,listStyleType:\"none\",backgroundColor:Nr,backgroundClip:\"padding-box\",borderRadius:an.borderRadiusLG,outline:\"none\",boxShadow:an.boxShadowSecondary},(0,ie.Qy)(an)),{[`${Ft}-item-group-title`]:{padding:`${Mn}px ${Wr}px`,color:an.colorTextDescription,transition:`all ${Wn}`},[`${Ft}-item`]:{position:\"relative\",display:\"flex\",alignItems:\"center\"},[`${Ft}-item-icon`]:{minWidth:Kn,marginInlineEnd:an.marginXS,fontSize:an.fontSizeSM},[`${Ft}-title-content`]:{flex:\"auto\",\"> a\":{color:\"inherit\",transition:`all ${Wn}`,\"&:hover\":{color:\"inherit\"},\"&::after\":{position:\"absolute\",inset:0,content:'\"\"'}}},[`${Ft}-item, ${Ft}-submenu-title`]:Object.assign(Object.assign({clear:\"both\",margin:0,padding:`${Mn}px ${Wr}px`,color:an.colorText,fontWeight:\"normal\",fontSize:Kn,lineHeight:an.lineHeight,cursor:\"pointer\",transition:`all ${Wn}`,borderRadius:an.borderRadiusSM,[\"&:hover, &-active\"]:{backgroundColor:an.controlItemBgHover}},(0,ie.Qy)(an)),{\"&-selected\":{color:an.colorPrimary,backgroundColor:an.controlItemBgActive,\"&:hover, &-active\":{backgroundColor:an.controlItemBgActiveHover}},\"&-disabled\":{color:pr,cursor:\"not-allowed\",\"&:hover\":{color:pr,backgroundColor:Nr,cursor:\"not-allowed\"},a:{pointerEvents:\"none\"}},\"&-divider\":{height:1,margin:`${an.marginXXS}px 0`,overflow:\"hidden\",lineHeight:0,backgroundColor:an.colorSplit},[`${In}-menu-submenu-expand-icon`]:{position:\"absolute\",insetInlineEnd:an.paddingXS,[`${In}-menu-submenu-arrow-icon`]:{marginInlineEnd:\"0 !important\",color:an.colorTextDescription,fontSize:zr,fontStyle:\"normal\"}}}),[`${Ft}-item-group-list`]:{margin:`0 ${an.marginXS}px`,padding:0,listStyle:\"none\"},[`${Ft}-submenu-title`]:{paddingInlineEnd:Wr+an.fontSizeSM},[`${Ft}-submenu-vertical`]:{position:\"relative\"},[`${Ft}-submenu${Ft}-submenu-disabled ${In}-menu-submenu-title`]:{[`&, ${In}-menu-submenu-arrow-icon`]:{color:pr,backgroundColor:Nr,cursor:\"not-allowed\"}},[`${Ft}-submenu-selected ${In}-menu-submenu-title`]:{color:an.colorPrimary}})}},[(0,ae.oN)(an,\"slide-up\"),(0,ae.oN)(an,\"slide-down\"),(0,ve.Fm)(an,\"move-up\"),(0,ve.Fm)(an,\"move-down\"),(0,X._y)(an,\"zoom-big\")]]};var et=(0,fe.Z)(\"Dropdown\",(an,In)=>{let{rootPrefixCls:Ft}=In;const{marginXXS:kt,sizePopupArrow:At,controlHeight:Fn,fontSize:pn,lineHeight:en,paddingXXS:Wn,componentCls:Mn,borderRadiusLG:Kn}=an,hr=(Fn-pn*en)/2,{dropdownArrowOffset:pr}=(0,se.fS)({contentRadius:Kn}),zr=(0,_e.TS)(an,{menuCls:`${Mn}-menu`,rootPrefixCls:Ft,dropdownArrowDistance:At/2+kt,dropdownArrowOffset:pr,dropdownPaddingVertical:hr,dropdownEdgeChildPadding:Wn});return[Ve(zr),We(zr),Ze(zr)]},an=>({zIndexPopup:an.zIndexPopupBase+50})),ht=function(an,In){var Ft={};for(var kt in an)Object.prototype.hasOwnProperty.call(an,kt)&&In.indexOf(kt)<0&&(Ft[kt]=an[kt]);if(an!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var At=0,kt=Object.getOwnPropertySymbols(an);At<kt.length;At++)In.indexOf(kt[At])<0&&Object.prototype.propertyIsEnumerable.call(an,kt[At])&&(Ft[kt[At]]=an[kt[At]]);return Ft};const Fe=an=>{const{getPopupContainer:In,getPrefixCls:Ft,direction:kt}=y.useContext(s.E_),{prefixCls:At,type:Fn=\"default\",danger:pn,disabled:en,loading:Wn,onClick:Mn,htmlType:Kn,children:hr,className:pr,menu:zr,arrow:Wr,autoFocus:Nr,overlay:Kr,trigger:ko,align:Ur,open:gn,onOpenChange:Gt,placement:bt,getPopupContainer:Zt,href:gt,icon:Wt=y.createElement(A.Z,null),title:xn,buttonsRender:Dt=$e=>$e,mouseEnterDelay:Xn,mouseLeaveDelay:Rn,overlayClassName:wt,overlayStyle:pt,destroyPopupOnHide:Ue,dropdownRender:xt}=an,cn=ht(an,[\"prefixCls\",\"type\",\"danger\",\"disabled\",\"loading\",\"onClick\",\"htmlType\",\"children\",\"className\",\"menu\",\"arrow\",\"autoFocus\",\"overlay\",\"trigger\",\"align\",\"open\",\"onOpenChange\",\"placement\",\"getPopupContainer\",\"href\",\"icon\",\"title\",\"buttonsRender\",\"mouseEnterDelay\",\"mouseLeaveDelay\",\"overlayClassName\",\"overlayStyle\",\"destroyPopupOnHide\",\"dropdownRender\"]),er=Ft(\"dropdown\",At),Mr=`${er}-button`,[xr,jr]=et(er),yo={menu:zr,arrow:Wr,autoFocus:Nr,align:Ur,disabled:en,trigger:en?[]:ko,onOpenChange:Gt,getPopupContainer:Zt||In,mouseEnterDelay:Xn,mouseLeaveDelay:Rn,overlayClassName:wt,overlayStyle:pt,destroyPopupOnHide:Ue,dropdownRender:xt},{compactSize:eo,compactItemClassnames:vi}=(0,M.ri)(er,kt),Ti=u()(Mr,vi,pr,jr);\"overlay\"in an&&(yo.overlay=Kr),\"open\"in an&&(yo.open=gn),\"placement\"in an?yo.placement=bt:yo.placement=kt===\"rtl\"?\"bottomLeft\":\"bottomRight\";const wi=y.createElement(J.ZP,{type:Fn,danger:pn,disabled:en,loading:Wn,onClick:Mn,htmlType:Kn,href:gt,title:xn},hr),mi=y.createElement(J.ZP,{type:Fn,danger:pn,icon:Wt}),[Zi,aa]=Dt([wi,mi]);return xr(y.createElement(he.Compact,Object.assign({className:Ti,size:eo,block:!0},cn),Zi,y.createElement(hn,Object.assign({},yo),aa)))};Fe.__ANT_BUTTON=!0;var mt=Fe,dt=c(28628);const Lt=null,lt=an=>{const{getPopupContainer:In,getPrefixCls:Ft,direction:kt}=y.useContext(s.E_),At=()=>{const yo=Ft(),{placement:eo=\"\",transitionName:vi}=an;return vi!==void 0?vi:eo.includes(\"top\")?`${yo}-slide-down`:`${yo}-slide-up`},Fn=()=>{const{placement:yo}=an;return yo?yo.includes(\"Center\")?yo.slice(0,yo.indexOf(\"Center\")):yo:kt===\"rtl\"?\"bottomRight\":\"bottomLeft\"},{menu:pn,arrow:en,prefixCls:Wn,children:Mn,trigger:Kn,disabled:hr,dropdownRender:pr,getPopupContainer:zr,overlayClassName:Wr,rootClassName:Nr,open:Kr,onOpenChange:ko,visible:Ur,onVisibleChange:gn,mouseEnterDelay:Gt=.15,mouseLeaveDelay:bt=.1,autoAdjustOverflow:Zt=!0}=an,gt=Ft(\"dropdown\",Wn),[Wt,xn]=et(gt),{token:Dt}=dt.Z.useToken(),Xn=y.Children.only(Mn),Rn=(0,L.Tm)(Xn,{className:u()(`${gt}-trigger`,{[`${gt}-rtl`]:kt===\"rtl\"},Xn.props.className),disabled:hr}),wt=hr?[]:Kn;let pt;wt&&wt.includes(\"contextMenu\")&&(pt=!0);const[Ue,xt]=(0,h.Z)(!1,{value:Kr!=null?Kr:Ur}),cn=(0,f.Z)(yo=>{ko==null||ko(yo),gn==null||gn(yo),xt(yo)}),er=u()(Wr,Nr,xn,{[`${gt}-rtl`]:kt===\"rtl\"}),Mr=(0,E.Z)({arrowPointAtCenter:typeof en==\"object\"&&en.pointAtCenter,autoAdjustOverflow:Zt,offset:Dt.marginXXS,arrowWidth:en?Dt.sizePopupArrow:0,borderRadius:Dt.borderRadius}),xr=y.useCallback(()=>{xt(!1)},[]),jr=()=>{const{overlay:yo}=an;let eo;return pn!=null&&pn.items?eo=y.createElement(m.Z,Object.assign({},pn)):typeof yo==\"function\"?eo=yo():eo=yo,pr&&(eo=pr(eo)),eo=y.Children.only(typeof eo==\"string\"?y.createElement(\"span\",null,eo):eo),y.createElement(x.J,{prefixCls:`${gt}-menu`,expandIcon:y.createElement(\"span\",{className:`${gt}-menu-submenu-arrow`},y.createElement(b,{className:`${gt}-menu-submenu-arrow-icon`})),mode:\"vertical\",selectable:!1,onClick:xr,validator:vi=>{let{mode:Ti}=vi}},y.createElement(M.BR,null,eo))};return Wt(y.createElement(a.Z,Object.assign({alignPoint:pt},(0,l.Z)(an,[\"rootClassName\"]),{mouseEnterDelay:Gt,mouseLeaveDelay:bt,visible:Ue,builtinPlacements:Mr,arrow:!!en,overlayClassName:er,prefixCls:gt,getPopupContainer:zr||In,transitionName:At(),trigger:wt,overlay:jr,placement:Fn(),onVisibleChange:cn}),Rn))};lt.Button=mt;const rn=(0,j.Z)(lt,\"dropdown\",an=>an),qt=an=>y.createElement(rn,Object.assign({},an),y.createElement(\"span\",null));lt._InternalPanelDoNotUseOrYouWillBeFired=qt;var hn=lt,Kt=hn},60576:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Ux:function(){return p},aM:function(){return b}});var r=c(61553),y=c(50959);const N=y.createContext({labelAlign:\"right\",vertical:!1,itemRef:()=>{}}),C=null,w=u=>{const a=omit(u,[\"prefixCls\"]);return React.createElement(RcFormProvider,Object.assign({},a))},O=y.createContext({prefixCls:\"\"}),b=y.createContext({}),p=u=>{let{children:a,status:f,override:h}=u;const l=(0,y.useContext)(b),s=(0,y.useMemo)(()=>{const m=Object.assign({},l);return h&&delete m.isFormItemInput,f&&(delete m.status,delete m.hasFeedback,delete m.feedbackIcon),m},[f,h,l]);return y.createElement(b.Provider,{value:s},a)}},87137:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return aa}});var r=c(84875),y=c.n(r),N=c(50959),C=c(35531),w=c(60576),O=c(92220),b=c(36717),p=c(42550),u=c(72267);const a=$e=>({\"&::-moz-placeholder\":{opacity:1},\"&::placeholder\":{color:$e,userSelect:\"none\"},\"&:placeholder-shown\":{textOverflow:\"ellipsis\"}}),f=$e=>({borderColor:$e.inputBorderHoverColor,borderInlineEndWidth:$e.lineWidth}),h=$e=>({borderColor:$e.inputBorderHoverColor,boxShadow:`0 0 0 ${$e.controlOutlineWidth}px ${$e.controlOutline}`,borderInlineEndWidth:$e.lineWidth,outline:0}),l=$e=>({color:$e.colorTextDisabled,backgroundColor:$e.colorBgContainerDisabled,borderColor:$e.colorBorder,boxShadow:\"none\",cursor:\"not-allowed\",opacity:1,\"&:hover\":Object.assign({},f((0,p.TS)($e,{inputBorderHoverColor:$e.colorBorder})))}),s=$e=>{const{inputPaddingVerticalLG:dn,fontSizeLG:Un,lineHeightLG:ar,borderRadiusLG:Rr,inputPaddingHorizontalLG:Ro}=$e;return{padding:`${dn}px ${Ro}px`,fontSize:Un,lineHeight:ar,borderRadius:Rr}},m=$e=>({padding:`${$e.inputPaddingVerticalSM}px ${$e.controlPaddingHorizontalSM-1}px`,borderRadius:$e.borderRadiusSM}),x=($e,dn)=>{const{componentCls:Un,colorError:ar,colorWarning:Rr,colorErrorOutline:Ro,colorWarningOutline:Vo,colorErrorBorderHover:Co,colorWarningBorderHover:Mo}=$e;return{[`&-status-error:not(${dn}-disabled):not(${dn}-borderless)${dn}`]:{borderColor:ar,\"&:hover\":{borderColor:Co},\"&:focus, &-focused\":Object.assign({},h((0,p.TS)($e,{inputBorderActiveColor:ar,inputBorderHoverColor:ar,controlOutline:Ro}))),[`${Un}-prefix, ${Un}-suffix`]:{color:ar}},[`&-status-warning:not(${dn}-disabled):not(${dn}-borderless)${dn}`]:{borderColor:Rr,\"&:hover\":{borderColor:Mo},\"&:focus, &-focused\":Object.assign({},h((0,p.TS)($e,{inputBorderActiveColor:Rr,inputBorderHoverColor:Rr,controlOutline:Vo}))),[`${Un}-prefix, ${Un}-suffix`]:{color:Rr}}}},M=$e=>Object.assign(Object.assign({position:\"relative\",display:\"inline-block\",width:\"100%\",minWidth:0,padding:`${$e.inputPaddingVertical}px ${$e.inputPaddingHorizontal}px`,color:$e.colorText,fontSize:$e.fontSize,lineHeight:$e.lineHeight,backgroundColor:$e.colorBgContainer,backgroundImage:\"none\",borderWidth:$e.lineWidth,borderStyle:$e.lineType,borderColor:$e.colorBorder,borderRadius:$e.borderRadius,transition:`all ${$e.motionDurationMid}`},a($e.colorTextPlaceholder)),{\"&:hover\":Object.assign({},f($e)),\"&:focus, &-focused\":Object.assign({},h($e)),\"&-disabled, &[disabled]\":Object.assign({},l($e)),\"&-borderless\":{\"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]\":{backgroundColor:\"transparent\",border:\"none\",boxShadow:\"none\"}},\"textarea&\":{maxWidth:\"100%\",height:\"auto\",minHeight:$e.controlHeight,lineHeight:$e.lineHeight,verticalAlign:\"bottom\",transition:`all ${$e.motionDurationSlow}, height 0s`,resize:\"vertical\"},\"&-lg\":Object.assign({},s($e)),\"&-sm\":Object.assign({},m($e)),\"&-rtl\":{direction:\"rtl\"},\"&-textarea-rtl\":{direction:\"rtl\"}}),E=$e=>{const{componentCls:dn,antCls:Un}=$e;return{position:\"relative\",display:\"table\",width:\"100%\",borderCollapse:\"separate\",borderSpacing:0,[\"&[class*='col-']\"]:{paddingInlineEnd:$e.paddingXS,\"&:last-child\":{paddingInlineEnd:0}},[`&-lg ${dn}, &-lg > ${dn}-group-addon`]:Object.assign({},s($e)),[`&-sm ${dn}, &-sm > ${dn}-group-addon`]:Object.assign({},m($e)),[`&-lg ${Un}-select-single ${Un}-select-selector`]:{height:$e.controlHeightLG},[`&-sm ${Un}-select-single ${Un}-select-selector`]:{height:$e.controlHeightSM},[`> ${dn}`]:{display:\"table-cell\",\"&:not(:first-child):not(:last-child)\":{borderRadius:0}},[`${dn}-group`]:{[\"&-addon, &-wrap\"]:{display:\"table-cell\",width:1,whiteSpace:\"nowrap\",verticalAlign:\"middle\",\"&:not(:first-child):not(:last-child)\":{borderRadius:0}},\"&-wrap > *\":{display:\"block !important\"},\"&-addon\":{position:\"relative\",padding:`0 ${$e.inputPaddingHorizontal}px`,color:$e.colorText,fontWeight:\"normal\",fontSize:$e.fontSize,textAlign:\"center\",backgroundColor:$e.colorFillAlter,border:`${$e.lineWidth}px ${$e.lineType} ${$e.colorBorder}`,borderRadius:$e.borderRadius,transition:`all ${$e.motionDurationSlow}`,lineHeight:1,[`${Un}-select`]:{margin:`-${$e.inputPaddingVertical+1}px -${$e.inputPaddingHorizontal}px`,[`&${Un}-select-single:not(${Un}-select-customize-input)`]:{[`${Un}-select-selector`]:{backgroundColor:\"inherit\",border:`${$e.lineWidth}px ${$e.lineType} transparent`,boxShadow:\"none\"}},\"&-open, &-focused\":{[`${Un}-select-selector`]:{color:$e.colorPrimary}}},[`${Un}-cascader-picker`]:{margin:`-9px -${$e.inputPaddingHorizontal}px`,backgroundColor:\"transparent\",[`${Un}-cascader-input`]:{textAlign:\"start\",border:0,boxShadow:\"none\"}}},\"&-addon:first-child\":{borderInlineEnd:0},\"&-addon:last-child\":{borderInlineStart:0}},[`${dn}`]:{width:\"100%\",marginBottom:0,textAlign:\"inherit\",\"&:focus\":{zIndex:1,borderInlineEndWidth:1},\"&:hover\":{zIndex:1,borderInlineEndWidth:1,[`${dn}-search-with-button &`]:{zIndex:0}}},[`> ${dn}:first-child, ${dn}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${Un}-select ${Un}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${dn}-affix-wrapper`]:{[`&:not(:first-child) ${dn}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${dn}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${dn}:last-child, ${dn}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${Un}-select ${Un}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${dn}-affix-wrapper`]:{\"&:not(:last-child)\":{borderStartEndRadius:0,borderEndEndRadius:0,[`${dn}-search &`]:{borderStartStartRadius:$e.borderRadius,borderEndStartRadius:$e.borderRadius}},[`&:not(:first-child), ${dn}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${dn}-group-compact`]:Object.assign(Object.assign({display:\"block\"},(0,O.dF)()),{[`${dn}-group-addon, ${dn}-group-wrap, > ${dn}`]:{\"&:not(:first-child):not(:last-child)\":{borderInlineEndWidth:$e.lineWidth,\"&:hover\":{zIndex:1},\"&:focus\":{zIndex:1}}},\"& > *\":{display:\"inline-block\",float:\"none\",verticalAlign:\"top\",borderRadius:0},[`& > ${dn}-affix-wrapper`]:{display:\"inline-flex\"},[`& > ${Un}-picker-range`]:{display:\"inline-flex\"},\"& > *:not(:last-child)\":{marginInlineEnd:-$e.lineWidth,borderInlineEndWidth:$e.lineWidth},[`${dn}`]:{float:\"none\"},[`& > ${Un}-select > ${Un}-select-selector,\n      & > ${Un}-select-auto-complete ${dn},\n      & > ${Un}-cascader-picker ${dn},\n      & > ${dn}-group-wrapper ${dn}`]:{borderInlineEndWidth:$e.lineWidth,borderRadius:0,\"&:hover\":{zIndex:1},\"&:focus\":{zIndex:1}},[`& > ${Un}-select-focused`]:{zIndex:1},[`& > ${Un}-select > ${Un}-select-arrow`]:{zIndex:1},[`& > *:first-child,\n      & > ${Un}-select:first-child > ${Un}-select-selector,\n      & > ${Un}-select-auto-complete:first-child ${dn},\n      & > ${Un}-cascader-picker:first-child ${dn}`]:{borderStartStartRadius:$e.borderRadius,borderEndStartRadius:$e.borderRadius},[`& > *:last-child,\n      & > ${Un}-select:last-child > ${Un}-select-selector,\n      & > ${Un}-cascader-picker:last-child ${dn},\n      & > ${Un}-cascader-picker-focused:last-child ${dn}`]:{borderInlineEndWidth:$e.lineWidth,borderStartEndRadius:$e.borderRadius,borderEndEndRadius:$e.borderRadius},[`& > ${Un}-select-auto-complete ${dn}`]:{verticalAlign:\"top\"},[`${dn}-group-wrapper + ${dn}-group-wrapper`]:{marginInlineStart:-$e.lineWidth,[`${dn}-affix-wrapper`]:{borderRadius:0}},[`${dn}-group-wrapper:not(:last-child)`]:{[`&${dn}-search > ${dn}-group`]:{[`& > ${dn}-group-addon > ${dn}-search-button`]:{borderRadius:0},[`& > ${dn}`]:{borderStartStartRadius:$e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:$e.borderRadius}}}})}},j=$e=>{const{componentCls:dn,controlHeightSM:Un,lineWidth:ar}=$e,Rr=16,Ro=(Un-ar*2-Rr)/2;return{[dn]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,O.Wf)($e)),M($e)),x($e,dn)),{'&[type=\"color\"]':{height:$e.controlHeight,[`&${dn}-lg`]:{height:$e.controlHeightLG},[`&${dn}-sm`]:{height:Un,paddingTop:Ro,paddingBottom:Ro}},'&[type=\"search\"]::-webkit-search-cancel-button, &[type=\"search\"]::-webkit-search-decoration':{\"-webkit-appearance\":\"none\"}})}},L=$e=>{const{componentCls:dn}=$e;return{[`${dn}-clear-icon`]:{margin:0,color:$e.colorTextQuaternary,fontSize:$e.fontSizeIcon,verticalAlign:-1,cursor:\"pointer\",transition:`color ${$e.motionDurationSlow}`,\"&:hover\":{color:$e.colorTextTertiary},\"&:active\":{color:$e.colorText},\"&-hidden\":{visibility:\"hidden\"},\"&-has-suffix\":{margin:`0 ${$e.inputAffixPadding}px`}}}},A=$e=>{const{componentCls:dn,inputAffixPadding:Un,colorTextDescription:ar,motionDurationSlow:Rr,colorIcon:Ro,colorIconHover:Vo,iconCls:Co}=$e;return{[`${dn}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},M($e)),{display:\"inline-flex\",[`&:not(${dn}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},f($e)),{zIndex:1,[`${dn}-search-with-button &`]:{zIndex:0}}),\"&-focused, &:focus\":{zIndex:1},\"&-disabled\":{[`${dn}[disabled]`]:{background:\"transparent\"}},[`> input${dn}`]:{padding:0,fontSize:\"inherit\",border:\"none\",borderRadius:0,outline:\"none\",\"&:focus\":{boxShadow:\"none !important\"}},\"&::before\":{width:0,visibility:\"hidden\",content:'\"\\\\a0\"'},[`${dn}`]:{\"&-prefix, &-suffix\":{display:\"flex\",flex:\"none\",alignItems:\"center\",\"> *:not(:last-child)\":{marginInlineEnd:$e.paddingXS}},\"&-show-count-suffix\":{color:ar},\"&-show-count-has-suffix\":{marginInlineEnd:$e.paddingXXS},\"&-prefix\":{marginInlineEnd:Un},\"&-suffix\":{marginInlineStart:Un}}}),L($e)),{[`${Co}${dn}-password-icon`]:{color:Ro,cursor:\"pointer\",transition:`all ${Rr}`,\"&:hover\":{color:Vo}}}),x($e,`${dn}-affix-wrapper`))}},J=$e=>{const{componentCls:dn,colorError:Un,colorWarning:ar,borderRadiusLG:Rr,borderRadiusSM:Ro}=$e;return{[`${dn}-group`]:Object.assign(Object.assign(Object.assign({},(0,O.Wf)($e)),E($e)),{\"&-rtl\":{direction:\"rtl\"},\"&-wrapper\":{display:\"inline-block\",width:\"100%\",textAlign:\"start\",verticalAlign:\"top\",\"&-rtl\":{direction:\"rtl\"},\"&-lg\":{[`${dn}-group-addon`]:{borderRadius:Rr}},\"&-sm\":{[`${dn}-group-addon`]:{borderRadius:Ro}},\"&-status-error\":{[`${dn}-group-addon`]:{color:Un,borderColor:Un}},\"&-status-warning\":{[`${dn}-group-addon`]:{color:ar,borderColor:ar}},\"&-disabled\":{[`${dn}-group-addon`]:Object.assign({},l($e))}}})}},q=$e=>{const{componentCls:dn,antCls:Un}=$e,ar=`${dn}-search`;return{[ar]:{[`${dn}`]:{\"&:hover, &:focus\":{borderColor:$e.colorPrimaryHover,[`+ ${dn}-group-addon ${ar}-button:not(${Un}-btn-primary)`]:{borderInlineStartColor:$e.colorPrimaryHover}}},[`${dn}-affix-wrapper`]:{borderRadius:0},[`${dn}-lg`]:{lineHeight:$e.lineHeightLG-2e-4},[`> ${dn}-group`]:{[`> ${dn}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${ar}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:$e.borderRadius,borderEndEndRadius:$e.borderRadius,borderEndStartRadius:0},[`${ar}-button:not(${Un}-btn-primary)`]:{color:$e.colorTextDescription,\"&:hover\":{color:$e.colorPrimaryHover},\"&:active\":{color:$e.colorPrimaryActive},[`&${Un}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${ar}-button`]:{height:$e.controlHeight,\"&:hover, &:focus\":{zIndex:1}},[`&-large ${ar}-button`]:{height:$e.controlHeightLG},[`&-small ${ar}-button`]:{height:$e.controlHeightSM},\"&-rtl\":{direction:\"rtl\"},[`&${dn}-compact-item`]:{[`&:not(${dn}-compact-last-item)`]:{[`${dn}-group-addon`]:{[`${dn}-search-button`]:{marginInlineEnd:-$e.lineWidth,borderRadius:0}}},[`&:not(${dn}-compact-first-item)`]:{[`${dn},${dn}-affix-wrapper`]:{borderRadius:0}},[`> ${dn}-group-addon ${dn}-search-button,\n        > ${dn},\n        ${dn}-affix-wrapper`]:{\"&:hover,&:focus,&:active\":{zIndex:2}},[`> ${dn}-affix-wrapper-focused`]:{zIndex:2}}}}};function re($e){return(0,p.TS)($e,{inputAffixPadding:$e.paddingXXS,inputPaddingVertical:Math.max(Math.round(($e.controlHeight-$e.fontSize*$e.lineHeight)/2*10)/10-$e.lineWidth,3),inputPaddingVerticalLG:Math.ceil(($e.controlHeightLG-$e.fontSizeLG*$e.lineHeightLG)/2*10)/10-$e.lineWidth,inputPaddingVerticalSM:Math.max(Math.round(($e.controlHeightSM-$e.fontSize*$e.lineHeight)/2*10)/10-$e.lineWidth,0),inputPaddingHorizontal:$e.paddingSM-$e.lineWidth,inputPaddingHorizontalSM:$e.paddingXS-$e.lineWidth,inputPaddingHorizontalLG:$e.controlPaddingHorizontal-$e.lineWidth,inputBorderHoverColor:$e.colorPrimaryHover,inputBorderActiveColor:$e.colorPrimaryHover})}const me=$e=>{const{componentCls:dn,paddingLG:Un}=$e,ar=`${dn}-textarea`;return{[ar]:{position:\"relative\",\"&-show-count\":{[`> ${dn}`]:{height:\"100%\"},[`${dn}-data-count`]:{color:$e.colorTextDescription,whiteSpace:\"nowrap\",pointerEvents:\"none\",float:\"right\",marginBottom:-$e.fontSize*$e.lineHeight},\"&-rtl\":{[`${dn}-data-count`]:{float:\"left\"}}},[`&-affix-wrapper${ar}-has-feedback`]:{[`${dn}`]:{paddingInlineEnd:Un}},[`&-affix-wrapper${dn}-affix-wrapper`]:{padding:0,[`> textarea${dn}`]:{fontSize:\"inherit\",border:\"none\",outline:\"none\",\"&:focus\":{boxShadow:\"none !important\"}},[`${dn}-suffix`]:{margin:0,\"> *:not(:last-child)\":{marginInline:0},[`${dn}-clear-icon`]:{position:\"absolute\",insetInlineEnd:$e.paddingXS,insetBlockStart:$e.paddingXS},[`${ar}-suffix`]:{position:\"absolute\",top:0,insetInlineEnd:$e.inputPaddingHorizontal,bottom:0,zIndex:1,display:\"inline-flex\",alignItems:\"center\",margin:\"auto\",pointerEvents:\"none\"}}}}}};var Te=(0,u.Z)(\"Input\",$e=>{const dn=re($e);return[j(dn),me(dn),A(dn),J(dn),q(dn),(0,b.c)(dn)]}),xe=$e=>{const{getPrefixCls:dn,direction:Un}=(0,N.useContext)(C.E_),{prefixCls:ar,className:Rr=\"\"}=$e,Ro=dn(\"input-group\",ar),Vo=dn(\"input\"),[Co,Mo]=Te(Vo),qo=y()(Ro,{[`${Ro}-lg`]:$e.size===\"large\",[`${Ro}-sm`]:$e.size===\"small\",[`${Ro}-compact`]:$e.compact,[`${Ro}-rtl`]:Un===\"rtl\"},Mo,Rr),ti=(0,N.useContext)(w.aM),pi=(0,N.useMemo)(()=>Object.assign(Object.assign({},ti),{isFormItemInput:!1}),[ti]);return Co(N.createElement(\"span\",{className:qo,style:$e.style,onMouseEnter:$e.onMouseEnter,onMouseLeave:$e.onMouseLeave,onFocus:$e.onFocus,onBlur:$e.onBlur},N.createElement(w.aM.Provider,{value:pi},$e.children)))},Ie=c(39810),Le=c(75782),De=c(24572),ce=c(26143);function ye($e){return!!($e.addonBefore||$e.addonAfter)}function Oe($e){return!!($e.prefix||$e.suffix||$e.allowClear)}function Ce($e,dn,Un,ar){if(Un){var Rr=dn;if(dn.type===\"click\"){var Ro=$e.cloneNode(!0);Rr=Object.create(dn,{target:{value:Ro},currentTarget:{value:Ro}}),Ro.value=\"\",Un(Rr);return}if(ar!==void 0){Rr=Object.create(dn,{target:{value:$e},currentTarget:{value:$e}}),$e.value=ar,Un(Rr);return}Un(Rr)}}function oe($e,dn){if($e){$e.focus(dn);var Un=dn||{},ar=Un.cursor;if(ar){var Rr=$e.value.length;switch(ar){case\"start\":$e.setSelectionRange(0,0);break;case\"end\":$e.setSelectionRange(Rr,Rr);break;default:$e.setSelectionRange(0,Rr)}}}}function he($e){return typeof $e==\"undefined\"||$e===null?\"\":String($e)}var ie=function(dn){var Un,ar=dn.inputElement,Rr=dn.prefixCls,Ro=dn.prefix,Vo=dn.suffix,Co=dn.addonBefore,Mo=dn.addonAfter,qo=dn.className,ti=dn.style,pi=dn.affixWrapperClassName,ni=dn.groupClassName,si=dn.wrapperClassName,Oi=dn.disabled,Ki=dn.readOnly,ca=dn.focused,zi=dn.triggerFocus,br=dn.allowClear,Re=dn.value,je=dn.handleReset,nt=dn.hidden,rt=dn.inputStyle,Xt=dn.classes,fn=(0,N.useRef)(null),Cn=function(Ir){var Jr;(Jr=fn.current)!==null&&Jr!==void 0&&Jr.contains(Ir.target)&&(zi==null||zi())},Yn=function(){var Ir;if(!br)return null;var Jr=!Oi&&!Ki&&Re,_o=\"\".concat(Rr,\"-clear-icon\"),No=(0,ce.Z)(br)===\"object\"&&br!==null&&br!==void 0&&br.clearIcon?br.clearIcon:\"\\u2716\";return N.createElement(\"span\",{onClick:je,onMouseDown:function(Lo){return Lo.preventDefault()},className:y()(_o,(Ir={},(0,De.Z)(Ir,\"\".concat(_o,\"-hidden\"),!Jr),(0,De.Z)(Ir,\"\".concat(_o,\"-has-suffix\"),!!Vo),Ir)),role:\"button\",tabIndex:-1},No)},Ae=(0,N.cloneElement)(ar,{value:Re,hidden:nt,style:(0,Le.Z)((0,Le.Z)({},(Un=ar.props)===null||Un===void 0?void 0:Un.style),rt)});if(Oe(dn)){var Ke,Mt=\"\".concat(Rr,\"-affix-wrapper\"),Ut=y()(Mt,(Ke={},(0,De.Z)(Ke,\"\".concat(Mt,\"-disabled\"),Oi),(0,De.Z)(Ke,\"\".concat(Mt,\"-focused\"),ca),(0,De.Z)(Ke,\"\".concat(Mt,\"-readonly\"),Ki),(0,De.Z)(Ke,\"\".concat(Mt,\"-input-with-clear-btn\"),Vo&&br&&Re),Ke),!ye(dn)&&qo,pi,Xt==null?void 0:Xt.affixWrapper),kn=(Vo||br)&&N.createElement(\"span\",{className:\"\".concat(Rr,\"-suffix\")},Yn(),Vo);Ae=N.createElement(\"span\",{className:Ut,style:ti,hidden:!ye(dn)&&nt,onClick:Cn,ref:fn},Ro&&N.createElement(\"span\",{className:\"\".concat(Rr,\"-prefix\")},Ro),(0,N.cloneElement)(ar,{style:rt!=null?rt:null,value:Re,hidden:null}),kn)}if(ye(dn)){var Zn=\"\".concat(Rr,\"-group\"),lr=\"\".concat(Zn,\"-addon\"),wr=y()(\"\".concat(Rr,\"-wrapper\"),Zn,si,Xt==null?void 0:Xt.wrapper),Dr=y()(\"\".concat(Rr,\"-group-wrapper\"),qo,ni,Xt==null?void 0:Xt.group);return N.createElement(\"span\",{className:Dr,style:ti,hidden:nt},N.createElement(\"span\",{className:wr},Co&&N.createElement(\"span\",{className:lr},Co),(0,N.cloneElement)(Ae,{style:rt!=null?rt:null,hidden:null}),Mo&&N.createElement(\"span\",{className:lr},Mo)))}return Ae},ae=ie,ve=c(49544),X=c(51163),se=c(91600),fe=c(58733),_e=c(97318),be=c(47280),We=[\"autoComplete\",\"onChange\",\"onFocus\",\"onBlur\",\"onPressEnter\",\"onKeyDown\",\"prefixCls\",\"disabled\",\"htmlSize\",\"className\",\"maxLength\",\"suffix\",\"showCount\",\"type\",\"inputClassName\",\"classes\"],we=(0,N.forwardRef)(function($e,dn){var Un=$e.autoComplete,ar=$e.onChange,Rr=$e.onFocus,Ro=$e.onBlur,Vo=$e.onPressEnter,Co=$e.onKeyDown,Mo=$e.prefixCls,qo=Mo===void 0?\"rc-input\":Mo,ti=$e.disabled,pi=$e.htmlSize,ni=$e.className,si=$e.maxLength,Oi=$e.suffix,Ki=$e.showCount,ca=$e.type,zi=ca===void 0?\"text\":ca,br=$e.inputClassName,Re=$e.classes,je=(0,fe.Z)($e,We),nt=(0,be.Z)($e.defaultValue,{value:$e.value}),rt=(0,se.Z)(nt,2),Xt=rt[0],fn=rt[1],Cn=(0,N.useState)(!1),Yn=(0,se.Z)(Cn,2),Ae=Yn[0],Ke=Yn[1],Mt=(0,N.useRef)(null),Ut=function(_o){Mt.current&&oe(Mt.current,_o)};(0,N.useImperativeHandle)(dn,function(){return{focus:Ut,blur:function(){var _o;(_o=Mt.current)===null||_o===void 0||_o.blur()},setSelectionRange:function(_o,No,ii){var Lo;(Lo=Mt.current)===null||Lo===void 0||Lo.setSelectionRange(_o,No,ii)},select:function(){var _o;(_o=Mt.current)===null||_o===void 0||_o.select()},input:Mt.current}}),(0,N.useEffect)(function(){Ke(function(Jr){return Jr&&ti?!1:Jr})},[ti]);var kn=function(_o){$e.value===void 0&&fn(_o.target.value),Mt.current&&Ce(Mt.current,_o,ar)},Zn=function(_o){Vo&&_o.key===\"Enter\"&&Vo(_o),Co==null||Co(_o)},lr=function(_o){Ke(!0),Rr==null||Rr(_o)},wr=function(_o){Ke(!1),Ro==null||Ro(_o)},Dr=function(_o){fn(\"\"),Ut(),Mt.current&&Ce(Mt.current,_o,ar)},go=function(){var _o=(0,_e.Z)($e,[\"prefixCls\",\"onPressEnter\",\"addonBefore\",\"addonAfter\",\"prefix\",\"suffix\",\"allowClear\",\"defaultValue\",\"showCount\",\"affixWrapperClassName\",\"groupClassName\",\"inputClassName\",\"classes\",\"wrapperClassName\",\"htmlSize\"]);return N.createElement(\"input\",(0,X.Z)({autoComplete:Un},_o,{onChange:kn,onFocus:lr,onBlur:wr,onKeyDown:Zn,className:y()(qo,(0,De.Z)({},\"\".concat(qo,\"-disabled\"),ti),br,Re==null?void 0:Re.input,!ye($e)&&!Oe($e)&&ni),ref:Mt,size:pi,type:zi}))},Ir=function(){var _o=Number(si)>0;if(Oi||Ki){var No=he(Xt),ii=(0,ve.Z)(No).length,Lo=(0,ce.Z)(Ki)===\"object\"?Ki.formatter({value:No,count:ii,maxLength:si}):\"\".concat(ii).concat(_o?\" / \".concat(si):\"\");return N.createElement(N.Fragment,null,!!Ki&&N.createElement(\"span\",{className:y()(\"\".concat(qo,\"-show-count-suffix\"),(0,De.Z)({},\"\".concat(qo,\"-show-count-has-suffix\"),!!Oi))},Lo),Oi)}return null};return N.createElement(ae,(0,X.Z)({},je,{prefixCls:qo,className:ni,inputElement:go(),handleReset:Dr,value:he(Xt),focused:Ae,triggerFocus:Ut,suffix:Ir(),disabled:ti,classes:Re}))}),Ze=we,Ve=Ze,et=c(64111),ht=c(47265),Fe=c(75469),mt=c(2315),dt=c(91700);function Lt($e,dn){const Un=(0,N.useRef)([]),ar=()=>{Un.current.push(setTimeout(()=>{var Rr,Ro,Vo,Co;!((Rr=$e.current)===null||Rr===void 0)&&Rr.input&&((Ro=$e.current)===null||Ro===void 0?void 0:Ro.input.getAttribute(\"type\"))===\"password\"&&(!((Vo=$e.current)===null||Vo===void 0)&&Vo.input.hasAttribute(\"value\"))&&((Co=$e.current)===null||Co===void 0||Co.input.removeAttribute(\"value\"))}))};return(0,N.useEffect)(()=>(dn&&ar(),()=>Un.current.forEach(Rr=>{Rr&&clearTimeout(Rr)})),[]),ar}function lt($e){return!!($e.prefix||$e.suffix||$e.allowClear)}var rn=function($e,dn){var Un={};for(var ar in $e)Object.prototype.hasOwnProperty.call($e,ar)&&dn.indexOf(ar)<0&&(Un[ar]=$e[ar]);if($e!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var Rr=0,ar=Object.getOwnPropertySymbols($e);Rr<ar.length;Rr++)dn.indexOf(ar[Rr])<0&&Object.prototype.propertyIsEnumerable.call($e,ar[Rr])&&(Un[ar[Rr]]=$e[ar[Rr]]);return Un};function qt($e,dn){if(!$e)return;$e.focus(dn);const{cursor:Un}=dn||{};if(Un){const ar=$e.value.length;switch(Un){case\"start\":$e.setSelectionRange(0,0);break;case\"end\":$e.setSelectionRange(ar,ar);break;default:$e.setSelectionRange(0,ar);break}}}var Kt=(0,N.forwardRef)(($e,dn)=>{const{prefixCls:Un,bordered:ar=!0,status:Rr,size:Ro,disabled:Vo,onBlur:Co,onFocus:Mo,suffix:qo,allowClear:ti,addonAfter:pi,addonBefore:ni,className:si,rootClassName:Oi,onChange:Ki}=$e,ca=rn($e,[\"prefixCls\",\"bordered\",\"status\",\"size\",\"disabled\",\"onBlur\",\"onFocus\",\"suffix\",\"allowClear\",\"addonAfter\",\"addonBefore\",\"className\",\"rootClassName\",\"onChange\"]),{getPrefixCls:zi,direction:br,input:Re}=N.useContext(C.E_),je=zi(\"input\",Un),nt=(0,N.useRef)(null),[rt,Xt]=Te(je),{compactSize:fn,compactItemClassnames:Cn}=(0,mt.ri)(je,br),Yn=N.useContext(Fe.Z),Ae=fn||Ro||Yn,Ke=N.useContext(ht.Z),Mt=Vo!=null?Vo:Ke,{status:Ut,hasFeedback:kn,feedbackIcon:Zn}=(0,N.useContext)(w.aM),lr=(0,dt.F)(Ut,Rr),wr=lt($e)||!!kn,Dr=(0,N.useRef)(wr);(0,N.useEffect)(()=>{var Lo;wr&&Dr.current,Dr.current=wr},[wr]);const go=Lt(nt,!0),Ir=Lo=>{go(),Co==null||Co(Lo)},Jr=Lo=>{go(),Mo==null||Mo(Lo)},_o=Lo=>{go(),Ki==null||Ki(Lo)},No=(kn||qo)&&N.createElement(N.Fragment,null,qo,kn&&Zn);let ii;return typeof ti==\"object\"&&(ti!=null&&ti.clearIcon)?ii=ti:ti&&(ii={clearIcon:N.createElement(Ie.Z,null)}),rt(N.createElement(Ve,Object.assign({ref:(0,et.sQ)(dn,nt),prefixCls:je,autoComplete:Re==null?void 0:Re.autoComplete},ca,{disabled:Mt,onBlur:Ir,onFocus:Jr,suffix:No,allowClear:ii,className:y()(si,Oi,Cn),onChange:_o,addonAfter:pi&&N.createElement(mt.BR,null,N.createElement(w.Ux,{override:!0,status:!0},pi)),addonBefore:ni&&N.createElement(mt.BR,null,N.createElement(w.Ux,{override:!0,status:!0},ni)),classes:{input:y()({[`${je}-sm`]:Ae===\"small\",[`${je}-lg`]:Ae===\"large\",[`${je}-rtl`]:br===\"rtl\",[`${je}-borderless`]:!ar},!wr&&(0,dt.Z)(je,lr),Xt),affixWrapper:y()({[`${je}-affix-wrapper-sm`]:Ae===\"small\",[`${je}-affix-wrapper-lg`]:Ae===\"large\",[`${je}-affix-wrapper-rtl`]:br===\"rtl\",[`${je}-affix-wrapper-borderless`]:!ar},(0,dt.Z)(`${je}-affix-wrapper`,lr,kn),Xt),wrapper:y()({[`${je}-group-rtl`]:br===\"rtl\"},Xt),group:y()({[`${je}-group-wrapper-sm`]:Ae===\"small\",[`${je}-group-wrapper-lg`]:Ae===\"large\",[`${je}-group-wrapper-rtl`]:br===\"rtl\",[`${je}-group-wrapper-disabled`]:Mt},(0,dt.Z)(`${je}-group-wrapper`,lr,kn),Xt)}})))}),an={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\"},In=an,Ft=c(58649),kt=function(dn,Un){return N.createElement(Ft.Z,(0,Le.Z)((0,Le.Z)({},dn),{},{ref:Un,icon:In}))};kt.displayName=\"EyeInvisibleOutlined\";var At=N.forwardRef(kt),Fn={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\"},pn=Fn,en=function(dn,Un){return N.createElement(Ft.Z,(0,Le.Z)((0,Le.Z)({},dn),{},{ref:Un,icon:pn}))};en.displayName=\"EyeOutlined\";var Wn=N.forwardRef(en),Mn=function($e,dn){var Un={};for(var ar in $e)Object.prototype.hasOwnProperty.call($e,ar)&&dn.indexOf(ar)<0&&(Un[ar]=$e[ar]);if($e!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var Rr=0,ar=Object.getOwnPropertySymbols($e);Rr<ar.length;Rr++)dn.indexOf(ar[Rr])<0&&Object.prototype.propertyIsEnumerable.call($e,ar[Rr])&&(Un[ar[Rr]]=$e[ar[Rr]]);return Un};const Kn=$e=>$e?N.createElement(Wn,null):N.createElement(At,null),hr={click:\"onClick\",hover:\"onMouseOver\"};var zr=N.forwardRef(($e,dn)=>{const{visibilityToggle:Un=!0}=$e,ar=typeof Un==\"object\"&&Un.visible!==void 0,[Rr,Ro]=(0,N.useState)(()=>ar?Un.visible:!1),Vo=(0,N.useRef)(null);N.useEffect(()=>{ar&&Ro(Un.visible)},[ar,Un]);const Co=Lt(Vo),Mo=()=>{const{disabled:nt}=$e;nt||(Rr&&Co(),Ro(rt=>{var Xt;const fn=!rt;return typeof Un==\"object\"&&((Xt=Un.onVisibleChange)===null||Xt===void 0||Xt.call(Un,fn)),fn}))},qo=nt=>{const{action:rt=\"click\",iconRender:Xt=Kn}=$e,fn=hr[rt]||\"\",Cn=Xt(Rr),Yn={[fn]:Mo,className:`${nt}-icon`,key:\"passwordIcon\",onMouseDown:Ae=>{Ae.preventDefault()},onMouseUp:Ae=>{Ae.preventDefault()}};return N.cloneElement(N.isValidElement(Cn)?Cn:N.createElement(\"span\",null,Cn),Yn)},{className:ti,prefixCls:pi,inputPrefixCls:ni,size:si}=$e,Oi=Mn($e,[\"className\",\"prefixCls\",\"inputPrefixCls\",\"size\"]),{getPrefixCls:Ki}=N.useContext(C.E_),ca=Ki(\"input\",ni),zi=Ki(\"input-password\",pi),br=Un&&qo(zi),Re=y()(zi,ti,{[`${zi}-${si}`]:!!si}),je=Object.assign(Object.assign({},(0,_e.Z)(Oi,[\"suffix\",\"iconRender\",\"visibilityToggle\"])),{type:Rr?\"text\":\"password\",className:Re,prefixCls:ca,suffix:br});return si&&(je.size=si),N.createElement(Kt,Object.assign({ref:(0,et.sQ)(dn,Vo)},je))}),Wr=c(30716),Nr=c(54887),Kr=c(42912),ko=function($e,dn){var Un={};for(var ar in $e)Object.prototype.hasOwnProperty.call($e,ar)&&dn.indexOf(ar)<0&&(Un[ar]=$e[ar]);if($e!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var Rr=0,ar=Object.getOwnPropertySymbols($e);Rr<ar.length;Rr++)dn.indexOf(ar[Rr])<0&&Object.prototype.propertyIsEnumerable.call($e,ar[Rr])&&(Un[ar[Rr]]=$e[ar[Rr]]);return Un},gn=N.forwardRef(($e,dn)=>{const{prefixCls:Un,inputPrefixCls:ar,className:Rr,size:Ro,suffix:Vo,enterButton:Co=!1,addonAfter:Mo,loading:qo,disabled:ti,onSearch:pi,onChange:ni,onCompositionStart:si,onCompositionEnd:Oi}=$e,Ki=ko($e,[\"prefixCls\",\"inputPrefixCls\",\"className\",\"size\",\"suffix\",\"enterButton\",\"addonAfter\",\"loading\",\"disabled\",\"onSearch\",\"onChange\",\"onCompositionStart\",\"onCompositionEnd\"]),{getPrefixCls:ca,direction:zi}=N.useContext(C.E_),br=N.useContext(Fe.Z),Re=N.useRef(!1),je=ca(\"input-search\",Un),nt=ca(\"input\",ar),{compactSize:rt}=(0,mt.ri)(je,zi),Xt=rt||Ro||br,fn=N.useRef(null),Cn=Ir=>{Ir&&Ir.target&&Ir.type===\"click\"&&pi&&pi(Ir.target.value,Ir),ni&&ni(Ir)},Yn=Ir=>{var Jr;document.activeElement===((Jr=fn.current)===null||Jr===void 0?void 0:Jr.input)&&Ir.preventDefault()},Ae=Ir=>{var Jr,_o;pi&&pi((_o=(Jr=fn.current)===null||Jr===void 0?void 0:Jr.input)===null||_o===void 0?void 0:_o.value,Ir)},Ke=Ir=>{Re.current||qo||Ae(Ir)},Mt=typeof Co==\"boolean\"?N.createElement(Wr.Z,null):null,Ut=`${je}-button`;let kn;const Zn=Co||{},lr=Zn.type&&Zn.type.__ANT_BUTTON===!0;lr||Zn.type===\"button\"?kn=(0,Kr.Tm)(Zn,Object.assign({onMouseDown:Yn,onClick:Ir=>{var Jr,_o;(_o=(Jr=Zn==null?void 0:Zn.props)===null||Jr===void 0?void 0:Jr.onClick)===null||_o===void 0||_o.call(Jr,Ir),Ae(Ir)},key:\"enterButton\"},lr?{className:Ut,size:Xt}:{})):kn=N.createElement(Nr.ZP,{className:Ut,type:Co?\"primary\":void 0,size:Xt,disabled:ti,key:\"enterButton\",onMouseDown:Yn,onClick:Ae,loading:qo,icon:Mt},Co),Mo&&(kn=[kn,(0,Kr.Tm)(Mo,{key:\"addonAfter\"})]);const wr=y()(je,{[`${je}-rtl`]:zi===\"rtl\",[`${je}-${Xt}`]:!!Xt,[`${je}-with-button`]:!!Co},Rr),Dr=Ir=>{Re.current=!0,si==null||si(Ir)},go=Ir=>{Re.current=!1,Oi==null||Oi(Ir)};return N.createElement(Kt,Object.assign({ref:(0,et.sQ)(fn,dn),onPressEnter:Ke},Ki,{size:Xt,onCompositionStart:Dr,onCompositionEnd:go,prefixCls:nt,addonAfter:kn,suffix:Vo,onChange:Cn,className:wr,disabled:ti}))}),Gt=c(60555),bt=c(57770),Zt=c(40086),gt=`\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`,Wt=[\"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\",\"white-space\"],xn={},Dt;function Xn($e){var dn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Un=$e.getAttribute(\"id\")||$e.getAttribute(\"data-reactid\")||$e.getAttribute(\"name\");if(dn&&xn[Un])return xn[Un];var ar=window.getComputedStyle($e),Rr=ar.getPropertyValue(\"box-sizing\")||ar.getPropertyValue(\"-moz-box-sizing\")||ar.getPropertyValue(\"-webkit-box-sizing\"),Ro=parseFloat(ar.getPropertyValue(\"padding-bottom\"))+parseFloat(ar.getPropertyValue(\"padding-top\")),Vo=parseFloat(ar.getPropertyValue(\"border-bottom-width\"))+parseFloat(ar.getPropertyValue(\"border-top-width\")),Co=Wt.map(function(qo){return\"\".concat(qo,\":\").concat(ar.getPropertyValue(qo))}).join(\";\"),Mo={sizingStyle:Co,paddingSize:Ro,borderSize:Vo,boxSizing:Rr};return dn&&Un&&(xn[Un]=Mo),Mo}function Rn($e){var dn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Un=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,ar=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Dt||(Dt=document.createElement(\"textarea\"),Dt.setAttribute(\"tab-index\",\"-1\"),Dt.setAttribute(\"aria-hidden\",\"true\"),document.body.appendChild(Dt)),$e.getAttribute(\"wrap\")?Dt.setAttribute(\"wrap\",$e.getAttribute(\"wrap\")):Dt.removeAttribute(\"wrap\");var Rr=Xn($e,dn),Ro=Rr.paddingSize,Vo=Rr.borderSize,Co=Rr.boxSizing,Mo=Rr.sizingStyle;Dt.setAttribute(\"style\",\"\".concat(Mo,\";\").concat(gt)),Dt.value=$e.value||$e.placeholder||\"\";var qo=void 0,ti=void 0,pi,ni=Dt.scrollHeight;if(Co===\"border-box\"?ni+=Vo:Co===\"content-box\"&&(ni-=Ro),Un!==null||ar!==null){Dt.value=\" \";var si=Dt.scrollHeight-Ro;Un!==null&&(qo=si*Un,Co===\"border-box\"&&(qo=qo+Ro+Vo),ni=Math.max(qo,ni)),ar!==null&&(ti=si*ar,Co===\"border-box\"&&(ti=ti+Ro+Vo),pi=ni>ti?\"\":\"hidden\",ni=Math.min(ti,ni))}var Oi={height:ni,overflowY:pi,resize:\"none\"};return qo&&(Oi.minHeight=qo),ti&&(Oi.maxHeight=ti),Oi}var wt=[\"prefixCls\",\"onPressEnter\",\"defaultValue\",\"value\",\"autoSize\",\"onResize\",\"className\",\"style\",\"disabled\",\"onChange\",\"onInternalAutoSize\"],pt=0,Ue=1,xt=2,cn=N.forwardRef(function($e,dn){var Un=$e,ar=Un.prefixCls,Rr=Un.onPressEnter,Ro=Un.defaultValue,Vo=Un.value,Co=Un.autoSize,Mo=Un.onResize,qo=Un.className,ti=Un.style,pi=Un.disabled,ni=Un.onChange,si=Un.onInternalAutoSize,Oi=(0,fe.Z)(Un,wt),Ki=(0,be.Z)(Ro,{value:Vo,postState:function(Lo){return Lo!=null?Lo:\"\"}}),ca=(0,se.Z)(Ki,2),zi=ca[0],br=ca[1],Re=function(Lo){br(Lo.target.value),ni==null||ni(Lo)},je=N.useRef();N.useImperativeHandle(dn,function(){return{textArea:je.current}});var nt=N.useMemo(function(){return Co&&(0,ce.Z)(Co)===\"object\"?[Co.minRows,Co.maxRows]:[]},[Co]),rt=(0,se.Z)(nt,2),Xt=rt[0],fn=rt[1],Cn=!!Co,Yn=function(){try{if(document.activeElement===je.current){var Lo=je.current,ai=Lo.selectionStart,Si=Lo.selectionEnd,Ui=Lo.scrollTop;je.current.setSelectionRange(ai,Si),je.current.scrollTop=Ui}}catch(ln){}},Ae=N.useState(xt),Ke=(0,se.Z)(Ae,2),Mt=Ke[0],Ut=Ke[1],kn=N.useState(),Zn=(0,se.Z)(kn,2),lr=Zn[0],wr=Zn[1],Dr=function(){Ut(pt)};(0,bt.Z)(function(){Cn&&Dr()},[Vo,Xt,fn,Cn]),(0,bt.Z)(function(){if(Mt===pt)Ut(Ue);else if(Mt===Ue){var ii=Rn(je.current,!1,Xt,fn);Ut(xt),wr(ii)}else Yn()},[Mt]);var go=N.useRef(),Ir=function(){Zt.Z.cancel(go.current)},Jr=function(Lo){Mt===xt&&(Mo==null||Mo(Lo),Co&&(Ir(),go.current=(0,Zt.Z)(function(){Dr()})))};N.useEffect(function(){return Ir},[]);var _o=Cn?lr:null,No=(0,Le.Z)((0,Le.Z)({},ti),_o);return(Mt===pt||Mt===Ue)&&(No.overflowY=\"hidden\",No.overflowX=\"hidden\"),N.createElement(Gt.Z,{onResize:Jr,disabled:!(Co||Mo)},N.createElement(\"textarea\",(0,X.Z)({},Oi,{ref:je,style:No,className:y()(ar,qo,(0,De.Z)({},\"\".concat(ar,\"-disabled\"),pi)),disabled:pi,value:zi,onChange:Re})))}),er=cn,Mr=[\"defaultValue\",\"value\",\"onFocus\",\"onBlur\",\"onChange\",\"allowClear\",\"maxLength\",\"onCompositionStart\",\"onCompositionEnd\",\"suffix\",\"prefixCls\",\"classes\",\"showCount\",\"className\",\"style\",\"disabled\"];function xr($e,dn){return(0,ve.Z)($e||\"\").slice(0,dn).join(\"\")}function jr($e,dn,Un,ar){var Rr=Un;return $e?Rr=xr(Un,ar):(0,ve.Z)(dn||\"\").length<Un.length&&(0,ve.Z)(Un||\"\").length>ar&&(Rr=dn),Rr}var yo=N.forwardRef(function($e,dn){var Un=$e.defaultValue,ar=$e.value,Rr=$e.onFocus,Ro=$e.onBlur,Vo=$e.onChange,Co=$e.allowClear,Mo=$e.maxLength,qo=$e.onCompositionStart,ti=$e.onCompositionEnd,pi=$e.suffix,ni=$e.prefixCls,si=ni===void 0?\"rc-textarea\":ni,Oi=$e.classes,Ki=$e.showCount,ca=$e.className,zi=$e.style,br=$e.disabled,Re=(0,fe.Z)($e,Mr),je=(0,be.Z)(Un,{value:ar,defaultValue:Un}),nt=(0,se.Z)(je,2),rt=nt[0],Xt=nt[1],fn=(0,N.useRef)(null),Cn=N.useState(!1),Yn=(0,se.Z)(Cn,2),Ae=Yn[0],Ke=Yn[1],Mt=N.useState(!1),Ut=(0,se.Z)(Mt,2),kn=Ut[0],Zn=Ut[1],lr=N.useRef(),wr=N.useRef(0),Dr=function(){fn.current.textArea.focus()};(0,N.useImperativeHandle)(dn,function(){return{resizableTextArea:fn.current,focus:Dr,blur:function(){fn.current.textArea.blur()}}}),(0,N.useEffect)(function(){Ke(function(fr){return!br&&fr})},[br]);var go=Number(Mo)>0,Ir=function(ft){Zn(!0),lr.current=rt,wr.current=ft.currentTarget.selectionStart,qo==null||qo(ft)},Jr=function(ft){Zn(!1);var ct=ft.currentTarget.value;if(go){var tn,An=wr.current>=Mo+1||wr.current===((tn=lr.current)===null||tn===void 0?void 0:tn.length);ct=jr(An,lr.current,ct,Mo)}ct!==rt&&(Xt(ct),Ce(ft.currentTarget,ft,Vo,ct)),ti==null||ti(ft)},_o=function(ft){var ct=ft.target.value;if(!kn&&go){var tn=ft.target.selectionStart>=Mo+1||ft.target.selectionStart===ct.length||!ft.target.selectionStart;ct=jr(tn,rt,ct,Mo)}Xt(ct),Ce(ft.currentTarget,ft,Vo,ct)},No=function(ft){var ct=Re.onPressEnter,tn=Re.onKeyDown;ft.key===\"Enter\"&&ct&&ct(ft),tn==null||tn(ft)},ii=function(ft){Ke(!0),Rr==null||Rr(ft)},Lo=function(ft){Ke(!1),Ro==null||Ro(ft)},ai=function(ft){Xt(\"\"),Dr(),Ce(fn.current.textArea,ft,Vo)},Si=he(rt);!kn&&go&&ar==null&&(Si=xr(Si,Mo));var Ui=N.createElement(ae,{value:Si,allowClear:Co,handleReset:ai,suffix:pi,prefixCls:si,classes:{affixWrapper:Oi==null?void 0:Oi.affixWrapper},disabled:br,focused:Ae,style:zi,inputStyle:{resize:zi==null?void 0:zi.resize},inputElement:N.createElement(er,(0,X.Z)({},Re,{onKeyDown:No,onChange:_o,onFocus:ii,onBlur:Lo,onCompositionStart:Ir,onCompositionEnd:Jr,className:y()(Ki?\"\":ca,Oi==null?void 0:Oi.textarea),style:!Ki&&zi,disabled:br,prefixCls:si,ref:fn}))});if(Ki){var ln=(0,ve.Z)(Si).length,mn;return(0,ce.Z)(Ki)===\"object\"?mn=Ki.formatter({value:Si,count:ln,maxLength:Mo}):mn=\"\".concat(ln).concat(go?\" / \".concat(Mo):\"\"),N.createElement(\"div\",{hidden:Re.hidden,className:y()(\"\".concat(si,\"-show-count\"),ca,Oi==null?void 0:Oi.countWrapper),style:zi,\"data-count\":mn},Ui,N.createElement(\"span\",{className:\"\".concat(si,\"-data-count\")},mn))}return Ui}),eo=yo,vi=eo,Ti=function($e,dn){var Un={};for(var ar in $e)Object.prototype.hasOwnProperty.call($e,ar)&&dn.indexOf(ar)<0&&(Un[ar]=$e[ar]);if($e!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var Rr=0,ar=Object.getOwnPropertySymbols($e);Rr<ar.length;Rr++)dn.indexOf(ar[Rr])<0&&Object.prototype.propertyIsEnumerable.call($e,ar[Rr])&&(Un[ar[Rr]]=$e[ar[Rr]]);return Un},mi=(0,N.forwardRef)(($e,dn)=>{var{prefixCls:Un,bordered:ar=!0,size:Rr,disabled:Ro,status:Vo,allowClear:Co}=$e,Mo=Ti($e,[\"prefixCls\",\"bordered\",\"size\",\"disabled\",\"status\",\"allowClear\"]);const{getPrefixCls:qo,direction:ti}=N.useContext(C.E_),pi=N.useContext(Fe.Z),ni=Rr||pi,si=N.useContext(ht.Z),Oi=Ro!=null?Ro:si,{status:Ki,hasFeedback:ca,feedbackIcon:zi}=N.useContext(w.aM),br=(0,dt.F)(Ki,Vo),Re=N.useRef(null);N.useImperativeHandle(dn,()=>{var fn;return{resizableTextArea:(fn=Re.current)===null||fn===void 0?void 0:fn.resizableTextArea,focus:Cn=>{var Yn,Ae;qt((Ae=(Yn=Re.current)===null||Yn===void 0?void 0:Yn.resizableTextArea)===null||Ae===void 0?void 0:Ae.textArea,Cn)},blur:()=>{var Cn;return(Cn=Re.current)===null||Cn===void 0?void 0:Cn.blur()}}});const je=qo(\"input\",Un);let nt;typeof Co==\"object\"&&(Co!=null&&Co.clearIcon)?nt=Co:Co&&(nt={clearIcon:N.createElement(Ie.Z,null)});const[rt,Xt]=Te(je);return rt(N.createElement(vi,Object.assign({},Mo,{disabled:Oi,allowClear:nt,classes:{affixWrapper:y()(`${je}-textarea-affix-wrapper`,{[`${je}-affix-wrapper-rtl`]:ti===\"rtl\",[`${je}-affix-wrapper-borderless`]:!ar,[`${je}-affix-wrapper-sm`]:ni===\"small\",[`${je}-affix-wrapper-lg`]:ni===\"large\"},(0,dt.Z)(`${je}-affix-wrapper`,br),Xt),countWrapper:y()(`${je}-textarea`,`${je}-textarea-show-count`,{[`${je}-textarea-show-count-rtl`]:ti===\"rtl\"},Xt),textarea:y()({[`${je}-borderless`]:!ar,[`${je}-sm`]:ni===\"small\",[`${je}-lg`]:ni===\"large\"},(0,dt.Z)(je,br),Xt)},prefixCls:je,suffix:ca&&N.createElement(\"span\",{className:`${je}-textarea-suffix`},zi),ref:Re})))});const Zi=Kt;Zi.Group=xe,Zi.Search=gn,Zi.TextArea=mi,Zi.Password=zr;var aa=Zi},70167:function(Pt,Ee,c){\"use strict\";var r=c(50959);const y=(0,r.createContext)(void 0);Ee.Z=y},19557:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return f}});var r={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\"},y={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\"},N=y,w={placeholder:\"Select time\",rangePlaceholder:[\"Start time\",\"End time\"]},b={lang:Object.assign({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\"]},N),timePickerLocale:Object.assign({},w)},p=b;const u=\"${label} is not a valid ${type}\";var f={locale:\"en\",Pagination:r,DatePicker:b,TimePicker:w,Calendar:p,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\"},Tour:{Next:\"Next\",Previous:\"Previous\",Finish:\"Finish\"},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: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} 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\"},QRCode:{expired:\"QR code expired\",refresh:\"Refresh\"}}},66107:function(Pt,Ee,c){\"use strict\";c.d(Ee,{J:function(){return C}});var r=c(50959),y=function(w,O){var b={};for(var p in w)Object.prototype.hasOwnProperty.call(w,p)&&O.indexOf(p)<0&&(b[p]=w[p]);if(w!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var u=0,p=Object.getOwnPropertySymbols(w);u<p.length;u++)O.indexOf(p[u])<0&&Object.prototype.propertyIsEnumerable.call(w,p[u])&&(b[p[u]]=w[p[u]]);return b};const N=r.createContext(null),C=w=>{const{children:O}=w,b=y(w,[\"children\"]),p=r.useContext(N),u=r.useMemo(()=>Object.assign(Object.assign({},p),b),[p,b.prefixCls,b.mode,b.selectable]);return r.createElement(N.Provider,{value:u},O)};Ee.Z=N},28646:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return rn}});var r=c(58048),y=c(50959),N=c(97318),C=c(51761),w=c(84875),O=c.n(w),b=c(1409),p=c(48515),u=c(42912),a=c(35531),f=c(99590),h=c(74820),l=c(38717),s=c(40949),m=c(72267),x=c(42550),E=qt=>{const{componentCls:hn,motionDurationSlow:Kt,menuHorizontalHeight:an,colorSplit:In,lineWidth:Ft,lineType:kt,menuItemPaddingInline:At}=qt;return{[`${hn}-horizontal`]:{lineHeight:`${an}px`,border:0,borderBottom:`${Ft}px ${kt} ${In}`,boxShadow:\"none\",\"&::after\":{display:\"block\",clear:\"both\",height:0,content:'\"\\\\20\"'},[`${hn}-item, ${hn}-submenu`]:{position:\"relative\",display:\"inline-block\",verticalAlign:\"bottom\",paddingInline:At},[`> ${hn}-item:hover,\n        > ${hn}-item-active,\n        > ${hn}-submenu ${hn}-submenu-title:hover`]:{backgroundColor:\"transparent\"},[`${hn}-item, ${hn}-submenu-title`]:{transition:[`border-color ${Kt}`,`background ${Kt}`].join(\",\")},[`${hn}-submenu-arrow`]:{display:\"none\"}}}},L=qt=>{let{componentCls:hn,menuArrowOffset:Kt}=qt;return{[`${hn}-rtl`]:{direction:\"rtl\"},[`${hn}-submenu-rtl`]:{transformOrigin:\"100% 0\"},[`${hn}-rtl${hn}-vertical,\n    ${hn}-submenu-rtl ${hn}-vertical`]:{[`${hn}-submenu-arrow`]:{\"&::before\":{transform:`rotate(-45deg) translateY(-${Kt})`},\"&::after\":{transform:`rotate(45deg) translateY(${Kt})`}}}}},A=c(92220);const J=qt=>Object.assign({},(0,A.oN)(qt));var re=(qt,hn)=>{const{componentCls:Kt,colorItemText:an,colorItemTextSelected:In,colorGroupTitle:Ft,colorItemBg:kt,colorSubItemBg:At,colorItemBgSelected:Fn,colorActiveBarHeight:pn,colorActiveBarWidth:en,colorActiveBarBorderSize:Wn,motionDurationSlow:Mn,motionEaseInOut:Kn,motionEaseOut:hr,menuItemPaddingInline:pr,motionDurationMid:zr,colorItemTextHover:Wr,lineType:Nr,colorSplit:Kr,colorItemTextDisabled:ko,colorDangerItemText:Ur,colorDangerItemTextHover:gn,colorDangerItemTextSelected:Gt,colorDangerItemBgActive:bt,colorDangerItemBgSelected:Zt,colorItemBgHover:gt,menuSubMenuBg:Wt,colorItemTextSelectedHorizontal:xn,colorItemBgSelectedHorizontal:Dt}=qt;return{[`${Kt}-${hn}`]:{color:an,background:kt,[`&${Kt}-root:focus-visible`]:Object.assign({},J(qt)),[`${Kt}-item-group-title`]:{color:Ft},[`${Kt}-submenu-selected`]:{[`> ${Kt}-submenu-title`]:{color:In}},[`${Kt}-item-disabled, ${Kt}-submenu-disabled`]:{color:`${ko} !important`},[`${Kt}-item:hover, ${Kt}-submenu-title:hover`]:{[`&:not(${Kt}-item-selected):not(${Kt}-submenu-selected)`]:{color:Wr}},[`&:not(${Kt}-horizontal)`]:{[`${Kt}-item:not(${Kt}-item-selected)`]:{\"&:hover\":{backgroundColor:gt},\"&:active\":{backgroundColor:Fn}},[`${Kt}-submenu-title`]:{\"&:hover\":{backgroundColor:gt},\"&:active\":{backgroundColor:Fn}}},[`${Kt}-item-danger`]:{color:Ur,[`&${Kt}-item:hover`]:{[`&:not(${Kt}-item-selected):not(${Kt}-submenu-selected)`]:{color:gn}},[`&${Kt}-item:active`]:{background:bt}},[`${Kt}-item a`]:{\"&, &:hover\":{color:\"inherit\"}},[`${Kt}-item-selected`]:{color:In,[`&${Kt}-item-danger`]:{color:Gt},[\"a, a:hover\"]:{color:\"inherit\"}},[`& ${Kt}-item-selected`]:{backgroundColor:Fn,[`&${Kt}-item-danger`]:{backgroundColor:Zt}},[`${Kt}-item, ${Kt}-submenu-title`]:{[`&:not(${Kt}-item-disabled):focus-visible`]:Object.assign({},J(qt))},[`&${Kt}-submenu > ${Kt}`]:{backgroundColor:Wt},[`&${Kt}-popup > ${Kt}`]:{backgroundColor:kt},[`&${Kt}-horizontal`]:Object.assign(Object.assign({},hn===\"dark\"?{borderBottom:0}:{}),{[`> ${Kt}-item, > ${Kt}-submenu`]:{top:Wn,marginTop:-Wn,marginBottom:0,borderRadius:0,\"&::after\":{position:\"absolute\",insetInline:pr,bottom:0,borderBottom:`${pn}px solid transparent`,transition:`border-color ${Mn} ${Kn}`,content:'\"\"'},[\"&:hover, &-active, &-open\"]:{\"&::after\":{borderBottomWidth:pn,borderBottomColor:xn}},[\"&-selected\"]:{color:xn,backgroundColor:Dt,\"&::after\":{borderBottomWidth:pn,borderBottomColor:xn}}}}),[`&${Kt}-root`]:{[`&${Kt}-inline, &${Kt}-vertical`]:{borderInlineEnd:`${Wn}px ${Nr} ${Kr}`}},[`&${Kt}-inline`]:{[`${Kt}-sub${Kt}-inline`]:{background:At},[`${Kt}-item, ${Kt}-submenu-title`]:Wn&&en?{width:`calc(100% + ${Wn}px)`}:{},[`${Kt}-item`]:{position:\"relative\",\"&::after\":{position:\"absolute\",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${en}px solid ${In}`,transform:\"scaleY(0.0001)\",opacity:0,transition:[`transform ${zr} ${hr}`,`opacity ${zr} ${hr}`].join(\",\"),content:'\"\"'},[`&${Kt}-item-danger`]:{\"&::after\":{borderInlineEndColor:Gt}}},[`${Kt}-selected, ${Kt}-item-selected`]:{\"&::after\":{transform:\"scaleY(1)\",opacity:1,transition:[`transform ${zr} ${Kn}`,`opacity ${zr} ${Kn}`].join(\",\")}}}}}};const me=qt=>{const{componentCls:hn,menuItemHeight:Kt,itemMarginInline:an,padding:In,menuArrowSize:Ft,marginXS:kt,marginXXS:At}=qt,Fn=In+Ft+kt;return{[`${hn}-item`]:{position:\"relative\"},[`${hn}-item, ${hn}-submenu-title`]:{height:Kt,lineHeight:`${Kt}px`,paddingInline:In,overflow:\"hidden\",textOverflow:\"ellipsis\",marginInline:an,marginBlock:At,width:`calc(100% - ${an*2}px)`},[`${hn}-submenu`]:{paddingBottom:.02},[`> ${hn}-item,\n            > ${hn}-submenu > ${hn}-submenu-title`]:{height:Kt,lineHeight:`${Kt}px`},[`${hn}-item-group-list ${hn}-submenu-title,\n            ${hn}-submenu-title`]:{paddingInlineEnd:Fn}}};var ee=qt=>{const{componentCls:hn,iconCls:Kt,menuItemHeight:an,colorTextLightSolid:In,dropdownWidth:Ft,controlHeightLG:kt,motionDurationMid:At,motionEaseOut:Fn,paddingXL:pn,fontSizeSM:en,fontSizeLG:Wn,motionDurationSlow:Mn,paddingXS:Kn,boxShadowSecondary:hr}=qt,pr={height:an,lineHeight:`${an}px`,listStylePosition:\"inside\",listStyleType:\"disc\"};return[{[hn]:{[\"&-inline, &-vertical\"]:Object.assign({[`&${hn}-root`]:{boxShadow:\"none\"}},me(qt))},[`${hn}-submenu-popup`]:{[`${hn}-vertical`]:Object.assign(Object.assign({},me(qt)),{boxShadow:hr})}},{[`${hn}-submenu-popup ${hn}-vertical${hn}-sub`]:{minWidth:Ft,maxHeight:`calc(100vh - ${kt*2.5}px)`,padding:\"0\",overflow:\"hidden\",borderInlineEnd:0,\"&:not([class*='-active'])\":{overflowX:\"hidden\",overflowY:\"auto\"}}},{[`${hn}-inline`]:{width:\"100%\",[`&${hn}-root`]:{[`${hn}-item, ${hn}-submenu-title`]:{display:\"flex\",alignItems:\"center\",transition:[`border-color ${Mn}`,`background ${Mn}`,`padding ${At} ${Fn}`].join(\",\"),[`> ${hn}-title-content`]:{flex:\"auto\",minWidth:0,overflow:\"hidden\",textOverflow:\"ellipsis\"},\"> *\":{flex:\"none\"}}},[`${hn}-sub${hn}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:\"none\",[`& > ${hn}-submenu > ${hn}-submenu-title`]:pr,[`& ${hn}-item-group-title`]:{paddingInlineStart:pn}},[`${hn}-item`]:pr}},{[`${hn}-inline-collapsed`]:{width:an*2,[`&${hn}-root`]:{[`${hn}-item, ${hn}-submenu ${hn}-submenu-title`]:{[`> ${hn}-inline-collapsed-noicon`]:{fontSize:Wn,textAlign:\"center\"}}},[`> ${hn}-item,\n          > ${hn}-item-group > ${hn}-item-group-list > ${hn}-item,\n          > ${hn}-item-group > ${hn}-item-group-list > ${hn}-submenu > ${hn}-submenu-title,\n          > ${hn}-submenu > ${hn}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${en}px)`,textOverflow:\"clip\",[`\n            ${hn}-submenu-arrow,\n            ${hn}-submenu-expand-icon\n          `]:{opacity:0},[`${hn}-item-icon, ${Kt}`]:{margin:0,fontSize:Wn,lineHeight:`${an}px`,\"+ span\":{display:\"inline-block\",opacity:0}}},[`${hn}-item-icon, ${Kt}`]:{display:\"inline-block\"},\"&-tooltip\":{pointerEvents:\"none\",[`${hn}-item-icon, ${Kt}`]:{display:\"none\"},\"a, a:hover\":{color:In}},[`${hn}-item-group-title`]:Object.assign(Object.assign({},A.vS),{paddingInline:Kn})}}]};const xe=qt=>{const{componentCls:hn,fontSize:Kt,motionDurationSlow:an,motionDurationMid:In,motionEaseInOut:Ft,motionEaseOut:kt,iconCls:At,controlHeightSM:Fn}=qt;return{[`${hn}-item, ${hn}-submenu-title`]:{position:\"relative\",display:\"block\",margin:0,whiteSpace:\"nowrap\",cursor:\"pointer\",transition:[`border-color ${an}`,`background ${an}`,`padding ${an} ${Ft}`].join(\",\"),[`${hn}-item-icon, ${At}`]:{minWidth:Kt,fontSize:Kt,transition:[`font-size ${In} ${kt}`,`margin ${an} ${Ft}`,`color ${an}`].join(\",\"),\"+ span\":{marginInlineStart:Fn-Kt,opacity:1,transition:[`opacity ${an} ${Ft}`,`margin ${an}`,`color ${an}`].join(\",\")}},[`${hn}-item-icon`]:Object.assign({},(0,A.Ro)()),[`&${hn}-item-only-child`]:{[`> ${At}, > ${hn}-item-icon`]:{marginInlineEnd:0}}},[`${hn}-item-disabled, ${hn}-submenu-disabled`]:{background:\"none !important\",cursor:\"not-allowed\",\"&::after\":{borderColor:\"transparent !important\"},a:{color:\"inherit !important\"},[`> ${hn}-submenu-title`]:{color:\"inherit !important\",cursor:\"not-allowed\"}}}},Ie=qt=>{const{componentCls:hn,motionDurationSlow:Kt,motionEaseInOut:an,borderRadius:In,menuArrowSize:Ft,menuArrowOffset:kt}=qt;return{[`${hn}-submenu`]:{[\"&-expand-icon, &-arrow\"]:{position:\"absolute\",top:\"50%\",insetInlineEnd:qt.margin,width:Ft,color:\"currentcolor\",transform:\"translateY(-50%)\",transition:`transform ${Kt} ${an}, opacity ${Kt}`},\"&-arrow\":{\"&::before, &::after\":{position:\"absolute\",width:Ft*.6,height:Ft*.15,backgroundColor:\"currentcolor\",borderRadius:In,transition:[`background ${Kt} ${an}`,`transform ${Kt} ${an}`,`top ${Kt} ${an}`,`color ${Kt} ${an}`].join(\",\"),content:'\"\"'},\"&::before\":{transform:`rotate(45deg) translateY(-${kt})`},\"&::after\":{transform:`rotate(-45deg) translateY(${kt})`}}}}},Le=qt=>{const{antCls:hn,componentCls:Kt,fontSize:an,motionDurationSlow:In,motionDurationMid:Ft,motionEaseInOut:kt,lineHeight:At,paddingXS:Fn,padding:pn,colorSplit:en,lineWidth:Wn,zIndexPopup:Mn,borderRadiusLG:Kn,radiusSubMenuItem:hr,menuArrowSize:pr,menuArrowOffset:zr,lineType:Wr,menuPanelMaskInset:Nr}=qt;return[{\"\":{[`${Kt}`]:Object.assign(Object.assign({},(0,A.dF)()),{[\"&-hidden\"]:{display:\"none\"}})},[`${Kt}-submenu-hidden`]:{display:\"none\"}},{[Kt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,A.Wf)(qt)),(0,A.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:an,lineHeight:0,listStyle:\"none\",outline:\"none\",transition:[`background ${In}`,`width ${In} cubic-bezier(0.2, 0, 0, 1) 0s`].join(\",\"),[\"ul, ol\"]:{margin:0,padding:0,listStyle:\"none\"},[\"&-overflow\"]:{display:\"flex\",[`${Kt}-item`]:{flex:\"none\"}},[`${Kt}-item, ${Kt}-submenu, ${Kt}-submenu-title`]:{borderRadius:qt.radiusItem},[`${Kt}-item-group-title`]:{padding:`${Fn}px ${pn}px`,fontSize:an,lineHeight:At,transition:`all ${In}`},[`&-horizontal ${Kt}-submenu`]:{transition:[`border-color ${In} ${kt}`,`background ${In} ${kt}`].join(\",\")},[`${Kt}-submenu, ${Kt}-submenu-inline`]:{transition:[`border-color ${In} ${kt}`,`background ${In} ${kt}`,`padding ${Ft} ${kt}`].join(\",\")},[`${Kt}-submenu ${Kt}-sub`]:{cursor:\"initial\",transition:[`background ${In} ${kt}`,`padding ${In} ${kt}`].join(\",\")},[`${Kt}-title-content`]:{transition:`color ${In}`},[`${Kt}-item a`]:{\"&::before\":{position:\"absolute\",inset:0,backgroundColor:\"transparent\",content:'\"\"'}},[`${Kt}-item-divider`]:{overflow:\"hidden\",lineHeight:0,borderColor:en,borderStyle:Wr,borderWidth:0,borderTopWidth:Wn,marginBlock:Wn,padding:0,\"&-dashed\":{borderStyle:\"dashed\"}}}),xe(qt)),{[`${Kt}-item-group`]:{[`${Kt}-item-group-list`]:{margin:0,padding:0,[`${Kt}-item, ${Kt}-submenu-title`]:{paddingInline:`${an*2}px ${pn}px`}}},\"&-submenu\":{\"&-popup\":{position:\"absolute\",zIndex:Mn,background:\"transparent\",borderRadius:Kn,boxShadow:\"none\",transformOrigin:\"0 0\",\"&::before\":{position:\"absolute\",inset:`${Nr}px 0 0`,zIndex:-1,width:\"100%\",height:\"100%\",opacity:0,content:'\"\"'}},\"&-placement-rightTop::before\":{top:0,insetInlineStart:Nr},[`> ${Kt}`]:Object.assign(Object.assign(Object.assign({borderRadius:Kn},xe(qt)),Ie(qt)),{[`${Kt}-item, ${Kt}-submenu > ${Kt}-submenu-title`]:{borderRadius:hr},[`${Kt}-submenu-title::after`]:{transition:`transform ${In} ${kt}`}})}}),Ie(qt)),{[`&-inline-collapsed ${Kt}-submenu-arrow,\n        &-inline ${Kt}-submenu-arrow`]:{\"&::before\":{transform:`rotate(-45deg) translateX(${zr})`},\"&::after\":{transform:`rotate(45deg) translateX(-${zr})`}},[`${Kt}-submenu-open${Kt}-submenu-inline > ${Kt}-submenu-title > ${Kt}-submenu-arrow`]:{transform:`translateY(-${pr*.2}px)`,\"&::after\":{transform:`rotate(-45deg) translateX(-${zr})`},\"&::before\":{transform:`rotate(45deg) translateX(${zr})`}}})},{[`${hn}-layout-header`]:{[Kt]:{lineHeight:\"inherit\"}}}]};var De=(qt,hn)=>(0,m.Z)(\"Menu\",(an,In)=>{let{overrideComponentToken:Ft}=In;if(hn===!1)return[];const{colorBgElevated:kt,colorPrimary:At,colorError:Fn,colorErrorHover:pn,colorTextLightSolid:en}=an,{controlHeightLG:Wn,fontSize:Mn}=an,Kn=Mn/7*5,hr=(0,x.TS)(an,{menuItemHeight:Wn,menuItemPaddingInline:an.margin,menuArrowSize:Kn,menuHorizontalHeight:Wn*1.15,menuArrowOffset:`${Kn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:kt}),pr=new f.C(en).setAlpha(.65).toRgbString(),zr=(0,x.TS)(hr,{colorItemText:pr,colorItemTextHover:en,colorGroupTitle:pr,colorItemTextSelected:en,colorItemBg:\"#001529\",colorSubItemBg:\"#000c17\",colorItemBgActive:\"transparent\",colorItemBgSelected:At,colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemTextDisabled:new f.C(en).setAlpha(.25).toRgbString(),colorDangerItemText:Fn,colorDangerItemTextHover:pn,colorDangerItemTextSelected:en,colorDangerItemBgActive:Fn,colorDangerItemBgSelected:Fn,menuSubMenuBg:\"#001529\",colorItemTextSelectedHorizontal:en,colorItemBgSelectedHorizontal:At},Object.assign({},Ft));return[Le(hr),E(hr),ee(hr),re(hr,\"light\"),re(zr,\"dark\"),L(hr),(0,h.Z)(hr),(0,l.oN)(hr,\"slide-up\"),(0,l.oN)(hr,\"slide-down\"),(0,s._y)(hr,\"zoom-big\")]},an=>{const{colorPrimary:In,colorError:Ft,colorTextDisabled:kt,colorErrorBg:At,colorText:Fn,colorTextDescription:pn,colorBgContainer:en,colorFillAlter:Wn,colorFillContent:Mn,lineWidth:Kn,lineWidthBold:hr,controlItemBgActive:pr,colorBgTextHover:zr}=an;return{dropdownWidth:160,zIndexPopup:an.zIndexPopupBase+50,radiusItem:an.borderRadiusLG,radiusSubMenuItem:an.borderRadiusSM,colorItemText:Fn,colorItemTextHover:Fn,colorItemTextHoverHorizontal:In,colorGroupTitle:pn,colorItemTextSelected:In,colorItemTextSelectedHorizontal:In,colorItemBg:en,colorItemBgHover:zr,colorItemBgActive:Mn,colorSubItemBg:Wn,colorItemBgSelected:pr,colorItemBgSelectedHorizontal:\"transparent\",colorActiveBarWidth:0,colorActiveBarHeight:hr,colorActiveBarBorderSize:Kn,colorItemTextDisabled:kt,colorDangerItemText:Ft,colorDangerItemTextHover:Ft,colorDangerItemTextSelected:Ft,colorDangerItemBgActive:At,colorDangerItemBgSelected:At,itemMarginInline:an.marginXXS}})(qt),ce=c(66107),ye=function(qt,hn){var Kt={};for(var an in qt)Object.prototype.hasOwnProperty.call(qt,an)&&hn.indexOf(an)<0&&(Kt[an]=qt[an]);if(qt!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var In=0,an=Object.getOwnPropertySymbols(qt);In<an.length;In++)hn.indexOf(an[In])<0&&Object.prototype.propertyIsEnumerable.call(qt,an[In])&&(Kt[an[In]]=qt[an[In]]);return Kt},Ce=qt=>{const{prefixCls:hn,className:Kt,dashed:an}=qt,In=ye(qt,[\"prefixCls\",\"className\",\"dashed\"]),{getPrefixCls:Ft}=y.useContext(a.E_),kt=Ft(\"menu\",hn),At=O()({[`${kt}-item-divider-dashed`]:!!an},Kt);return y.createElement(r.iz,Object.assign({className:At},In))},oe=c(16030),he=function(qt,hn){var Kt={};for(var an in qt)Object.prototype.hasOwnProperty.call(qt,an)&&hn.indexOf(an)<0&&(Kt[an]=qt[an]);if(qt!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var In=0,an=Object.getOwnPropertySymbols(qt);In<an.length;In++)hn.indexOf(an[In])<0&&Object.prototype.propertyIsEnumerable.call(qt,an[In])&&(Kt[an[In]]=qt[an[In]]);return Kt};const ie={xs:\"479.98px\",sm:\"575.98px\",md:\"767.98px\",lg:\"991.98px\",xl:\"1199.98px\",xxl:\"1599.98px\"},ae=y.createContext({}),ve=(()=>{let qt=0;return function(){let hn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:\"\";return qt+=1,`${hn}${qt}`}})(),X=null;var se=null,fe=c(17104),be=(0,y.createContext)({prefixCls:\"\",firstLevel:!0,inlineCollapsed:!1}),we=qt=>{var hn;const{className:Kt,children:an,icon:In,title:Ft,danger:kt}=qt,{prefixCls:At,firstLevel:Fn,direction:pn,disableMenuItemTitleTooltip:en,inlineCollapsed:Wn}=y.useContext(be),Mn=Nr=>{const Kr=y.createElement(\"span\",{className:`${At}-title-content`},an);return(!In||(0,u.l$)(an)&&an.type===\"span\")&&an&&Nr&&Fn&&typeof an==\"string\"?y.createElement(\"div\",{className:`${At}-inline-collapsed-noicon`},an.charAt(0)):Kr},{siderCollapsed:Kn}=y.useContext(ae);let hr=Ft;typeof Ft==\"undefined\"?hr=Fn?an:\"\":Ft===!1&&(hr=\"\");const pr={title:hr};!Kn&&!Wn&&(pr.title=null,pr.open=!1);const zr=(0,oe.Z)(an).length;let Wr=y.createElement(r.ck,Object.assign({},(0,N.Z)(qt,[\"title\",\"icon\",\"danger\"]),{className:O()({[`${At}-item-danger`]:kt,[`${At}-item-only-child`]:(In?zr+1:zr)===1},Kt),title:typeof Ft==\"string\"?Ft:void 0}),(0,u.Tm)(In,{className:O()((0,u.l$)(In)?(hn=In.props)===null||hn===void 0?void 0:hn.className:\"\",`${At}-item-icon`)}),Mn(Wn));return en||(Wr=y.createElement(fe.Z,Object.assign({},pr,{placement:pn===\"rtl\"?\"left\":\"right\",overlayClassName:`${At}-inline-collapsed-tooltip`}),Wr)),Wr},Ve=qt=>{var hn;const{popupClassName:Kt,icon:an,title:In,theme:Ft}=qt,kt=y.useContext(be),{prefixCls:At,inlineCollapsed:Fn,theme:pn,mode:en}=kt,Wn=(0,r.Xl)();let Mn;if(!an)Mn=Fn&&!Wn.length&&In&&typeof In==\"string\"?y.createElement(\"div\",{className:`${At}-inline-collapsed-noicon`},In.charAt(0)):y.createElement(\"span\",{className:`${At}-title-content`},In);else{const pr=(0,u.l$)(In)&&In.type===\"span\";Mn=y.createElement(y.Fragment,null,(0,u.Tm)(an,{className:O()((0,u.l$)(an)?(hn=an.props)===null||hn===void 0?void 0:hn.className:\"\",`${At}-item-icon`)}),pr?In:y.createElement(\"span\",{className:`${At}-title-content`},In))}const Kn=y.useMemo(()=>Object.assign(Object.assign({},kt),{firstLevel:!1}),[kt]),hr=en===\"horizontal\"?[0,8]:[10,0];return y.createElement(be.Provider,{value:Kn},y.createElement(r.Wd,Object.assign({popupOffset:hr},(0,N.Z)(qt,[\"icon\"]),{title:Mn,popupClassName:O()(At,Kt,`${At}-${Ft||pn}`)})))},et=function(qt,hn){var Kt={};for(var an in qt)Object.prototype.hasOwnProperty.call(qt,an)&&hn.indexOf(an)<0&&(Kt[an]=qt[an]);if(qt!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var In=0,an=Object.getOwnPropertySymbols(qt);In<an.length;In++)hn.indexOf(an[In])<0&&Object.prototype.propertyIsEnumerable.call(qt,an[In])&&(Kt[an[In]]=qt[an[In]]);return Kt};function ht(qt){return(qt||[]).map((hn,Kt)=>{if(hn&&typeof hn==\"object\"){const an=hn,{label:In,children:Ft,key:kt,type:At}=an,Fn=et(an,[\"label\",\"children\",\"key\",\"type\"]),pn=kt!=null?kt:`tmp-${Kt}`;return Ft||At===\"group\"?At===\"group\"?y.createElement(r.BW,Object.assign({key:pn},Fn,{title:In}),ht(Ft)):y.createElement(Ve,Object.assign({key:pn},Fn,{title:In}),ht(Ft)):At===\"divider\"?y.createElement(Ce,Object.assign({key:pn},Fn)):y.createElement(we,Object.assign({key:pn},Fn),In)}return null}).filter(hn=>hn)}function Fe(qt){return y.useMemo(()=>qt&&ht(qt),[qt])}var mt=function(qt,hn){var Kt={};for(var an in qt)Object.prototype.hasOwnProperty.call(qt,an)&&hn.indexOf(an)<0&&(Kt[an]=qt[an]);if(qt!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var In=0,an=Object.getOwnPropertySymbols(qt);In<an.length;In++)hn.indexOf(an[In])<0&&Object.prototype.propertyIsEnumerable.call(qt,an[In])&&(Kt[an[In]]=qt[an[In]]);return Kt},Lt=(0,y.forwardRef)((qt,hn)=>{var Kt,an;const In=y.useContext(ce.Z),Ft=In||{},{getPrefixCls:kt,getPopupContainer:At,direction:Fn}=y.useContext(a.E_),pn=kt(),{prefixCls:en,className:Wn,theme:Mn=\"light\",expandIcon:Kn,_internalDisableMenuItemTitleTooltip:hr,inlineCollapsed:pr,siderCollapsed:zr,items:Wr,children:Nr,rootClassName:Kr,mode:ko,selectable:Ur,onClick:gn}=qt,Gt=mt(qt,[\"prefixCls\",\"className\",\"theme\",\"expandIcon\",\"_internalDisableMenuItemTitleTooltip\",\"inlineCollapsed\",\"siderCollapsed\",\"items\",\"children\",\"rootClassName\",\"mode\",\"selectable\",\"onClick\"]),bt=(0,N.Z)(Gt,[\"collapsedWidth\"]),Zt=Fe(Wr)||Nr;(Kt=Ft.validator)===null||Kt===void 0||Kt.call(Ft,{mode:ko});const gt=(0,C.Z)(function(){var er;gn==null||gn.apply(void 0,arguments),(er=Ft.onClick)===null||er===void 0||er.call(Ft)}),Wt=Ft.mode||ko,xn=Ur!=null?Ur:Ft.selectable,Dt=y.useMemo(()=>zr!==void 0?zr:pr,[pr,zr]),Xn={horizontal:{motionName:`${pn}-slide-up`},inline:(0,p.ZP)(pn),other:{motionName:`${pn}-zoom-big`}},Rn=kt(\"menu\",en||Ft.prefixCls),[wt,pt]=De(Rn,!In),Ue=O()(`${Rn}-${Mn}`,Wn);let xt;if(typeof Kn==\"function\")xt=Kn;else{const er=Kn||Ft.expandIcon;xt=(0,u.Tm)(er,{className:O()(`${Rn}-submenu-expand-icon`,(an=er==null?void 0:er.props)===null||an===void 0?void 0:an.className)})}const cn=y.useMemo(()=>({prefixCls:Rn,inlineCollapsed:Dt||!1,direction:Fn,firstLevel:!0,theme:Mn,mode:Wt,disableMenuItemTitleTooltip:hr}),[Rn,Dt,Fn,hr,Mn]);return wt(y.createElement(ce.Z.Provider,{value:null},y.createElement(be.Provider,{value:cn},y.createElement(r.ZP,Object.assign({getPopupContainer:At,overflowedIndicator:y.createElement(b.Z,null),overflowedIndicatorPopupClassName:`${Rn}-${Mn}`,mode:Wt,selectable:xn,onClick:gt},bt,{inlineCollapsed:Dt,className:Ue,prefixCls:Rn,direction:Fn,defaultMotions:Xn,expandIcon:xt,ref:hn,rootClassName:O()(Kr,pt)}),Zt))))});const lt=(0,y.forwardRef)((qt,hn)=>{const Kt=(0,y.useRef)(null),an=y.useContext(ae);return(0,y.useImperativeHandle)(hn,()=>({menu:Kt.current,focus:In=>{var Ft;(Ft=Kt.current)===null||Ft===void 0||Ft.focus(In)}})),y.createElement(Lt,Object.assign({ref:Kt},qt,an))});lt.Item=we,lt.SubMenu=Ve,lt.Divider=Ce,lt.ItemGroup=r.BW;var rn=lt},74825:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return Te}});var r=c(84875),y=c.n(r),N=c(50959),C=c(35531),w=c(17104);const O=ee=>ee?typeof ee==\"function\"?ee():ee:null;var b=c(48515),p=c(85715),u=c(92220),a=c(40949),f=c(58917),h=c(35697),l=c(72267),s=c(42550);const m=ee=>{const{componentCls:xe,popoverBg:Ie,popoverColor:Le,width:De,fontWeightStrong:ce,popoverPadding:ye,boxShadowSecondary:Oe,colorTextHeading:Ce,borderRadiusLG:oe,zIndexPopup:he,marginXS:ie,colorBgElevated:ae}=ee;return[{[xe]:Object.assign(Object.assign({},(0,u.Wf)(ee)),{position:\"absolute\",top:0,left:{_skip_check_:!0,value:0},zIndex:he,fontWeight:\"normal\",whiteSpace:\"normal\",textAlign:\"start\",cursor:\"auto\",userSelect:\"text\",\"--antd-arrow-background-color\":ae,\"&-rtl\":{direction:\"rtl\"},\"&-hidden\":{display:\"none\"},[`${xe}-content`]:{position:\"relative\"},[`${xe}-inner`]:{backgroundColor:Ie,backgroundClip:\"padding-box\",borderRadius:oe,boxShadow:Oe,padding:ye},[`${xe}-title`]:{minWidth:De,marginBottom:ie,color:Ce,fontWeight:ce},[`${xe}-inner-content`]:{color:Le}})},(0,f.ZP)(ee,{colorBg:\"var(--antd-arrow-background-color)\"}),{[`${xe}-pure`]:{position:\"relative\",maxWidth:\"none\",margin:ee.sizePopupArrow,display:\"inline-block\",[`${xe}-content`]:{display:\"inline-block\"}}}]},x=ee=>{const{componentCls:xe}=ee;return{[xe]:h.i.map(Ie=>{const Le=ee[`${Ie}6`];return{[`&${xe}-${Ie}`]:{\"--antd-arrow-background-color\":Le,[`${xe}-inner`]:{backgroundColor:Le},[`${xe}-arrow`]:{background:\"transparent\"}}}})}},M=ee=>{const{componentCls:xe,lineWidth:Ie,lineType:Le,colorSplit:De,paddingSM:ce,controlHeight:ye,fontSize:Oe,lineHeight:Ce,padding:oe}=ee,he=ye-Math.round(Oe*Ce),ie=he/2,ae=he/2-Ie,ve=oe;return{[xe]:{[`${xe}-inner`]:{padding:0},[`${xe}-title`]:{margin:0,padding:`${ie}px ${ve}px ${ae}px`,borderBottom:`${Ie}px ${Le} ${De}`},[`${xe}-inner-content`]:{padding:`${ce}px ${ve}px`}}}};var E=(0,l.Z)(\"Popover\",ee=>{const{colorBgElevated:xe,colorText:Ie,wireframe:Le}=ee,De=(0,s.TS)(ee,{popoverBg:xe,popoverColor:Ie,popoverPadding:12});return[m(De),x(De),Le&&M(De),(0,a._y)(De,\"zoom-big\")]},ee=>{let{zIndexPopupBase:xe}=ee;return{zIndexPopup:xe+30,width:177}}),j=function(ee,xe){var Ie={};for(var Le in ee)Object.prototype.hasOwnProperty.call(ee,Le)&&xe.indexOf(Le)<0&&(Ie[Le]=ee[Le]);if(ee!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var De=0,Le=Object.getOwnPropertySymbols(ee);De<Le.length;De++)xe.indexOf(Le[De])<0&&Object.prototype.propertyIsEnumerable.call(ee,Le[De])&&(Ie[Le[De]]=ee[Le[De]]);return Ie};const L=(ee,xe,Ie)=>{if(!(!xe&&!Ie))return N.createElement(N.Fragment,null,xe&&N.createElement(\"div\",{className:`${ee}-title`},O(xe)),N.createElement(\"div\",{className:`${ee}-inner-content`},O(Ie)))};function A(ee){const{hashId:xe,prefixCls:Ie,className:Le,style:De,placement:ce=\"top\",title:ye,content:Oe,children:Ce}=ee;return N.createElement(\"div\",{className:y()(xe,Ie,`${Ie}-pure`,`${Ie}-placement-${ce}`,Le),style:De},N.createElement(\"div\",{className:`${Ie}-arrow`}),N.createElement(p.G,Object.assign({},ee,{className:xe,prefixCls:Ie}),Ce||L(Ie,ye,Oe)))}function J(ee){const{prefixCls:xe}=ee,Ie=j(ee,[\"prefixCls\"]),{getPrefixCls:Le}=N.useContext(C.E_),De=Le(\"popover\",xe),[ce,ye]=E(De);return ce(N.createElement(A,Object.assign({},Ie,{prefixCls:De,hashId:ye})))}var q=function(ee,xe){var Ie={};for(var Le in ee)Object.prototype.hasOwnProperty.call(ee,Le)&&xe.indexOf(Le)<0&&(Ie[Le]=ee[Le]);if(ee!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var De=0,Le=Object.getOwnPropertySymbols(ee);De<Le.length;De++)xe.indexOf(Le[De])<0&&Object.prototype.propertyIsEnumerable.call(ee,Le[De])&&(Ie[Le[De]]=ee[Le[De]]);return Ie};const re=ee=>{let{title:xe,content:Ie,prefixCls:Le}=ee;return!xe&&!Ie?null:N.createElement(N.Fragment,null,xe&&N.createElement(\"div\",{className:`${Le}-title`},O(xe)),N.createElement(\"div\",{className:`${Le}-inner-content`},O(Ie)))},me=N.forwardRef((ee,xe)=>{const{prefixCls:Ie,title:Le,content:De,overlayClassName:ce,placement:ye=\"top\",trigger:Oe=\"hover\",mouseEnterDelay:Ce=.1,mouseLeaveDelay:oe=.1,overlayStyle:he={}}=ee,ie=q(ee,[\"prefixCls\",\"title\",\"content\",\"overlayClassName\",\"placement\",\"trigger\",\"mouseEnterDelay\",\"mouseLeaveDelay\",\"overlayStyle\"]),{getPrefixCls:ae}=N.useContext(C.E_),ve=ae(\"popover\",Ie),[X,se]=E(ve),fe=ae(),_e=y()(ce,se);return X(N.createElement(w.Z,Object.assign({placement:ye,trigger:Oe,mouseEnterDelay:Ce,mouseLeaveDelay:oe,overlayStyle:he},ie,{prefixCls:ve,overlayClassName:_e,ref:xe,overlay:N.createElement(re,{prefixCls:ve,title:Le,content:De}),transitionName:(0,b.mL)(fe,\"zoom-big\",ie.transitionName),\"data-popover-inject\":!0})))});me._InternalPanelDoNotUseOrYouWillBeFired=J;var Te=me},66559:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return P}});var r=c(84875),y=c.n(r),N=c(51163),C=c(49544),w=c(24572),O=c(75782),b=c(91600),p=c(58733),u=c(26143),a=c(47280),f=c(53675),h=c(50959),l=c(57770),s=c(31591),m=c(59158),x=c(64111),M=h.createContext(null);function E(){return h.useContext(M)}function j(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,z=h.useState(!1),Q=(0,b.Z)(z,2),F=Q[0],V=Q[1],U=h.useRef(null),ge=function(){window.clearTimeout(U.current)};h.useEffect(function(){return ge},[]);var ke=function(Je,Ot){ge(),U.current=window.setTimeout(function(){V(Je),Ot&&Ot()},k)};return[F,ke,ge]}function L(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,z=h.useRef(null),Q=h.useRef(null);h.useEffect(function(){return function(){window.clearTimeout(Q.current)}},[]);function F(V){(V||z.current===null)&&(z.current=V),window.clearTimeout(Q.current),Q.current=window.setTimeout(function(){z.current=null},k)}return[function(){return z.current},F]}function A(k,z,Q,F){var V=h.useRef(null);V.current={open:z,triggerOpen:Q,customizedTrigger:F},h.useEffect(function(){function U(ge){var ke;if(!((ke=V.current)!==null&&ke!==void 0&&ke.customizedTrigger)){var St=ge.target;St.shadowRoot&&ge.composed&&(St=ge.composedPath()[0]||St),V.current.open&&k().filter(function(Je){return Je}).every(function(Je){return!Je.contains(St)&&Je!==St})&&V.current.triggerOpen(!1)}}return window.addEventListener(\"mousedown\",U),function(){return window.removeEventListener(\"mousedown\",U)}},[])}var J=c(42622),q=c(93883),re=function(z){var Q=z.className,F=z.customizeIcon,V=z.customizeIconProps,U=z.onMouseDown,ge=z.onClick,ke=z.children,St;return typeof F==\"function\"?St=F(V):St=F,h.createElement(\"span\",{className:Q,onMouseDown:function(Ot){Ot.preventDefault(),U&&U(Ot)},style:{userSelect:\"none\",WebkitUserSelect:\"none\"},unselectable:\"on\",onClick:ge,\"aria-hidden\":!0},St!==void 0?St:h.createElement(\"span\",{className:y()(Q.split(/\\s+/).map(function(Je){return\"\".concat(Je,\"-icon\")}))},ke))},me=re,Te=function(z,Q){var F,V,U=z.prefixCls,ge=z.id,ke=z.inputElement,St=z.disabled,Je=z.tabIndex,Ot=z.autoFocus,It=z.autoComplete,jt=z.editable,Vt=z.activeDescendantId,Pn=z.value,Jn=z.maxLength,vn=z.onKeyDown,Vn=z.onMouseDown,zt=z.onChange,ir=z.onPaste,nr=z.onCompositionStart,ur=z.onCompositionEnd,sr=z.open,Ln=z.attrs,Bt=ke||h.createElement(\"input\",null),En=Bt,_n=En.ref,cr=En.props,ao=cr.onKeyDown,kr=cr.onChange,jo=cr.onMouseDown,ui=cr.onCompositionStart,Vr=cr.onCompositionEnd,ho=cr.style;return(0,f.Kp)(!(\"maxLength\"in Bt.props),\"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled.\"),Bt=h.cloneElement(Bt,(0,O.Z)((0,O.Z)((0,O.Z)({type:\"search\"},cr),{},{id:ge,ref:(0,x.sQ)(Q,_n),disabled:St,tabIndex:Je,autoComplete:It||\"off\",autoFocus:Ot,className:y()(\"\".concat(U,\"-selection-search-input\"),(F=Bt)===null||F===void 0||(V=F.props)===null||V===void 0?void 0:V.className),role:\"combobox\",\"aria-expanded\":sr,\"aria-haspopup\":\"listbox\",\"aria-owns\":\"\".concat(ge,\"_list\"),\"aria-autocomplete\":\"list\",\"aria-controls\":\"\".concat(ge,\"_list\"),\"aria-activedescendant\":Vt},Ln),{},{value:jt?Pn:\"\",maxLength:Jn,readOnly:!jt,unselectable:jt?null:\"on\",style:(0,O.Z)((0,O.Z)({},ho),{},{opacity:jt?null:0}),onKeyDown:function(uo){vn(uo),ao&&ao(uo)},onMouseDown:function(uo){Vn(uo),jo&&jo(uo)},onChange:function(uo){zt(uo),kr&&kr(uo)},onCompositionStart:function(uo){nr(uo),ui&&ui(uo)},onCompositionEnd:function(uo){ur(uo),Vr&&Vr(uo)},onPaste:ir})),Bt},ee=h.forwardRef(Te);ee.displayName=\"Input\";var xe=ee;function Ie(k){return Array.isArray(k)?k:k!==void 0?[k]:[]}var Le=typeof window!=\"undefined\"&&window.document&&window.document.documentElement,De=Le;function ce(k){return k!=null}function ye(k){return[\"string\",\"number\"].includes((0,u.Z)(k))}function Oe(k){var z=void 0;return k&&(ye(k.title)?z=k.title.toString():ye(k.label)&&(z=k.label.toString())),z}function Ce(k,z){De?h.useLayoutEffect(k,z):h.useEffect(k,z)}function oe(k){var z;return(z=k.key)!==null&&z!==void 0?z:k.value}var he=function(z){z.preventDefault(),z.stopPropagation()},ie=function(z){var Q=z.id,F=z.prefixCls,V=z.values,U=z.open,ge=z.searchValue,ke=z.autoClearSearchValue,St=z.inputRef,Je=z.placeholder,Ot=z.disabled,It=z.mode,jt=z.showSearch,Vt=z.autoFocus,Pn=z.autoComplete,Jn=z.activeDescendantId,vn=z.tabIndex,Vn=z.removeIcon,zt=z.maxTagCount,ir=z.maxTagTextLength,nr=z.maxTagPlaceholder,ur=nr===void 0?function($i){return\"+ \".concat($i.length,\" ...\")}:nr,sr=z.tagRender,Ln=z.onToggleOpen,Bt=z.onRemove,En=z.onInputChange,_n=z.onInputPaste,cr=z.onInputKeyDown,ao=z.onInputMouseDown,kr=z.onInputCompositionStart,jo=z.onInputCompositionEnd,ui=h.useRef(null),Vr=(0,h.useState)(0),ho=(0,b.Z)(Vr,2),vo=ho[0],uo=ho[1],Go=(0,h.useState)(!1),Pi=(0,b.Z)(Go,2),la=Pi[0],Vi=Pi[1],ha=\"\".concat(F,\"-selection\"),xa=U||It===\"multiple\"&&ke===!1||It===\"tags\"?ge:\"\",qi=It===\"tags\"||It===\"multiple\"&&ke===!1||jt&&(U||la);Ce(function(){uo(ui.current.scrollWidth)},[xa]);function Jo($i,La,ss,Oa,Ma){return h.createElement(\"span\",{className:y()(\"\".concat(ha,\"-item\"),(0,w.Z)({},\"\".concat(ha,\"-item-disabled\"),ss)),title:Oe($i)},h.createElement(\"span\",{className:\"\".concat(ha,\"-item-content\")},La),Oa&&h.createElement(me,{className:\"\".concat(ha,\"-item-remove\"),onMouseDown:he,onClick:Ma,customizeIcon:Vn},\"\\xD7\"))}function Ji($i,La,ss,Oa,Ma){var Ka=function(Ua){he(Ua),Ln(!U)};return h.createElement(\"span\",{onMouseDown:Ka},sr({label:La,value:$i,disabled:ss,closable:Oa,onClose:Ma}))}function Yi($i){var La=$i.disabled,ss=$i.label,Oa=$i.value,Ma=!Ot&&!La,Ka=ss;if(typeof ir==\"number\"&&(typeof ss==\"string\"||typeof ss==\"number\")){var Ba=String(Ka);Ba.length>ir&&(Ka=\"\".concat(Ba.slice(0,ir),\"...\"))}var Ua=function(Ls){Ls&&Ls.stopPropagation(),Bt($i)};return typeof sr==\"function\"?Ji(Oa,Ka,La,Ma,Ua):Jo($i,Ka,La,Ma,Ua)}function Ii($i){var La=typeof ur==\"function\"?ur($i):ur;return Jo({title:La},La,!1)}var pa=h.createElement(\"div\",{className:\"\".concat(ha,\"-search\"),style:{width:vo},onFocus:function(){Vi(!0)},onBlur:function(){Vi(!1)}},h.createElement(xe,{ref:St,open:U,prefixCls:F,id:Q,inputElement:null,disabled:Ot,autoFocus:Vt,autoComplete:Pn,editable:qi,activeDescendantId:Jn,value:xa,onKeyDown:cr,onMouseDown:ao,onChange:En,onPaste:_n,onCompositionStart:kr,onCompositionEnd:jo,tabIndex:vn,attrs:(0,J.Z)(z,!0)}),h.createElement(\"span\",{ref:ui,className:\"\".concat(ha,\"-search-mirror\"),\"aria-hidden\":!0},xa,\"\\xA0\")),na=h.createElement(q.Z,{prefixCls:\"\".concat(ha,\"-overflow\"),data:V,renderItem:Yi,renderRest:Ii,suffix:pa,itemKey:oe,maxCount:zt});return h.createElement(h.Fragment,null,na,!V.length&&!xa&&h.createElement(\"span\",{className:\"\".concat(ha,\"-placeholder\")},Je))},ae=ie,ve=function(z){var Q=z.inputElement,F=z.prefixCls,V=z.id,U=z.inputRef,ge=z.disabled,ke=z.autoFocus,St=z.autoComplete,Je=z.activeDescendantId,Ot=z.mode,It=z.open,jt=z.values,Vt=z.placeholder,Pn=z.tabIndex,Jn=z.showSearch,vn=z.searchValue,Vn=z.activeValue,zt=z.maxLength,ir=z.onInputKeyDown,nr=z.onInputMouseDown,ur=z.onInputChange,sr=z.onInputPaste,Ln=z.onInputCompositionStart,Bt=z.onInputCompositionEnd,En=h.useState(!1),_n=(0,b.Z)(En,2),cr=_n[0],ao=_n[1],kr=Ot===\"combobox\",jo=kr||Jn,ui=jt[0],Vr=vn||\"\";kr&&Vn&&!cr&&(Vr=Vn),h.useEffect(function(){kr&&ao(!1)},[kr,Vn]);var ho=Ot!==\"combobox\"&&!It&&!Jn?!1:!!Vr,vo=Oe(ui),uo=function(){if(ui)return null;var Pi=ho?{visibility:\"hidden\"}:void 0;return h.createElement(\"span\",{className:\"\".concat(F,\"-selection-placeholder\"),style:Pi},Vt)};return h.createElement(h.Fragment,null,h.createElement(\"span\",{className:\"\".concat(F,\"-selection-search\")},h.createElement(xe,{ref:U,prefixCls:F,id:V,open:It,inputElement:Q,disabled:ge,autoFocus:ke,autoComplete:St,editable:jo,activeDescendantId:Je,value:Vr,onKeyDown:ir,onMouseDown:nr,onChange:function(Pi){ao(!0),ur(Pi)},onPaste:sr,onCompositionStart:Ln,onCompositionEnd:Bt,tabIndex:Pn,attrs:(0,J.Z)(z,!0),maxLength:kr?zt:void 0})),!kr&&ui&&!ho&&h.createElement(\"span\",{className:\"\".concat(F,\"-selection-item\"),title:vo},ui.label),uo())},X=ve;function se(k){return![m.Z.ESC,m.Z.SHIFT,m.Z.BACKSPACE,m.Z.TAB,m.Z.WIN_KEY,m.Z.ALT,m.Z.META,m.Z.WIN_KEY_RIGHT,m.Z.CTRL,m.Z.SEMICOLON,m.Z.EQUALS,m.Z.CAPS_LOCK,m.Z.CONTEXT_MENU,m.Z.F1,m.Z.F2,m.Z.F3,m.Z.F4,m.Z.F5,m.Z.F6,m.Z.F7,m.Z.F8,m.Z.F9,m.Z.F10,m.Z.F11,m.Z.F12].includes(k)}var fe=function(z,Q){var F=(0,h.useRef)(null),V=(0,h.useRef)(!1),U=z.prefixCls,ge=z.open,ke=z.mode,St=z.showSearch,Je=z.tokenWithEnter,Ot=z.autoClearSearchValue,It=z.onSearch,jt=z.onSearchSubmit,Vt=z.onToggleOpen,Pn=z.onInputKeyDown,Jn=z.domRef;h.useImperativeHandle(Q,function(){return{focus:function(){F.current.focus()},blur:function(){F.current.blur()}}});var vn=L(0),Vn=(0,b.Z)(vn,2),zt=Vn[0],ir=Vn[1],nr=function(ho){var vo=ho.which;(vo===m.Z.UP||vo===m.Z.DOWN)&&ho.preventDefault(),Pn&&Pn(ho),vo===m.Z.ENTER&&ke===\"tags\"&&!V.current&&!ge&&(jt==null||jt(ho.target.value)),se(vo)&&Vt(!0)},ur=function(){ir(!0)},sr=(0,h.useRef)(null),Ln=function(ho){It(ho,!0,V.current)!==!1&&Vt(!0)},Bt=function(){V.current=!0},En=function(ho){V.current=!1,ke!==\"combobox\"&&Ln(ho.target.value)},_n=function(ho){var vo=ho.target.value;if(Je&&sr.current&&/[\\r\\n]/.test(sr.current)){var uo=sr.current.replace(/[\\r\\n]+$/,\"\").replace(/\\r\\n/g,\" \").replace(/[\\r\\n]/g,\" \");vo=vo.replace(uo,sr.current)}sr.current=null,Ln(vo)},cr=function(ho){var vo=ho.clipboardData,uo=vo.getData(\"text\");sr.current=uo},ao=function(ho){var vo=ho.target;if(vo!==F.current){var uo=document.body.style.msTouchAction!==void 0;uo?setTimeout(function(){F.current.focus()}):F.current.focus()}},kr=function(ho){var vo=zt();ho.target!==F.current&&!vo&&ke!==\"combobox\"&&ho.preventDefault(),(ke!==\"combobox\"&&(!St||!vo)||!ge)&&(ge&&Ot!==!1&&It(\"\",!0,!1),Vt())},jo={inputRef:F,onInputKeyDown:nr,onInputMouseDown:ur,onInputChange:_n,onInputPaste:cr,onInputCompositionStart:Bt,onInputCompositionEnd:En},ui=ke===\"multiple\"||ke===\"tags\"?h.createElement(ae,(0,N.Z)({},z,jo)):h.createElement(X,(0,N.Z)({},z,jo));return h.createElement(\"div\",{ref:Jn,className:\"\".concat(U,\"-selector\"),onClick:ao,onMouseDown:kr},ui)},_e=h.forwardRef(fe);_e.displayName=\"Selector\";var be=_e,We=c(14254),we=[\"prefixCls\",\"disabled\",\"visible\",\"children\",\"popupElement\",\"containerWidth\",\"animation\",\"transitionName\",\"dropdownStyle\",\"dropdownClassName\",\"direction\",\"placement\",\"dropdownMatchSelectWidth\",\"dropdownRender\",\"dropdownAlign\",\"getPopupContainer\",\"empty\",\"getTriggerDOMNode\",\"onPopupVisibleChange\",\"onPopupMouseEnter\"],Ze=function(z){var Q=z===!0?0:1;return{bottomLeft:{points:[\"tl\",\"bl\"],offset:[0,4],overflow:{adjustX:Q,adjustY:1},htmlRegion:\"scroll\"},bottomRight:{points:[\"tr\",\"br\"],offset:[0,4],overflow:{adjustX:Q,adjustY:1},htmlRegion:\"scroll\"},topLeft:{points:[\"bl\",\"tl\"],offset:[0,-4],overflow:{adjustX:Q,adjustY:1},htmlRegion:\"scroll\"},topRight:{points:[\"br\",\"tr\"],offset:[0,-4],overflow:{adjustX:Q,adjustY:1},htmlRegion:\"scroll\"}}},Ve=function(z,Q){var F=z.prefixCls,V=z.disabled,U=z.visible,ge=z.children,ke=z.popupElement,St=z.containerWidth,Je=z.animation,Ot=z.transitionName,It=z.dropdownStyle,jt=z.dropdownClassName,Vt=z.direction,Pn=Vt===void 0?\"ltr\":Vt,Jn=z.placement,vn=z.dropdownMatchSelectWidth,Vn=z.dropdownRender,zt=z.dropdownAlign,ir=z.getPopupContainer,nr=z.empty,ur=z.getTriggerDOMNode,sr=z.onPopupVisibleChange,Ln=z.onPopupMouseEnter,Bt=(0,p.Z)(z,we),En=\"\".concat(F,\"-dropdown\"),_n=ke;Vn&&(_n=Vn(ke));var cr=h.useMemo(function(){return Ze(vn)},[vn]),ao=Je?\"\".concat(En,\"-\").concat(Je):Ot,kr=h.useRef(null);h.useImperativeHandle(Q,function(){return{getPopupElement:function(){return kr.current}}});var jo=(0,O.Z)({minWidth:St},It);return typeof vn==\"number\"?jo.width=vn:vn&&(jo.width=St),h.createElement(We.Z,(0,N.Z)({},Bt,{showAction:sr?[\"click\"]:[],hideAction:sr?[\"click\"]:[],popupPlacement:Jn||(Pn===\"rtl\"?\"bottomRight\":\"bottomLeft\"),builtinPlacements:cr,prefixCls:En,popupTransitionName:ao,popup:h.createElement(\"div\",{ref:kr,onMouseEnter:Ln},_n),popupAlign:zt,popupVisible:U,getPopupContainer:ir,popupClassName:y()(jt,(0,w.Z)({},\"\".concat(En,\"-empty\"),nr)),popupStyle:jo,getTriggerDOMNode:ur,onPopupVisibleChange:sr}),ge)},et=h.forwardRef(Ve);et.displayName=\"SelectTrigger\";var ht=et,Fe=c(9942);function mt(k,z){var Q=k.key,F;return\"value\"in k&&(F=k.value),Q!=null?Q:F!==void 0?F:\"rc-index-key-\".concat(z)}function dt(k,z){var Q=k||{},F=Q.label,V=Q.value,U=Q.options;return{label:F||(z?\"children\":\"label\"),value:V||\"value\",options:U||\"options\"}}function Lt(k){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Q=z.fieldNames,F=z.childrenAsData,V=[],U=dt(Q,!1),ge=U.label,ke=U.value,St=U.options;function Je(Ot,It){Ot.forEach(function(jt){var Vt=jt[ge];if(It||!(St in jt)){var Pn=jt[ke];V.push({key:mt(jt,V.length),groupOption:It,data:jt,label:Vt,value:Pn})}else{var Jn=Vt;Jn===void 0&&F&&(Jn=jt.label),V.push({key:mt(jt,V.length),group:!0,data:jt,label:Jn}),Je(jt[St],!0)}})}return Je(k,!1),V}function lt(k){var z=(0,O.Z)({},k);return\"props\"in z||Object.defineProperty(z,\"props\",{get:function(){return(0,f.ZP)(!1,\"Return type is option instead of Option instance. Please read value directly instead of reading from `props`.\"),z}}),z}function rn(k,z){if(!z||!z.length)return null;var Q=!1;function F(U,ge){var ke=(0,Fe.Z)(ge),St=ke[0],Je=ke.slice(1);if(!St)return[U];var Ot=U.split(St);return Q=Q||Ot.length>1,Ot.reduce(function(It,jt){return[].concat((0,C.Z)(It),(0,C.Z)(F(jt,Je)))},[]).filter(function(It){return It})}var V=F(k,z);return Q?V:null}var qt=[\"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\"],hn=[\"value\",\"onChange\",\"removeIcon\",\"placeholder\",\"autoFocus\",\"maxTagCount\",\"maxTagTextLength\",\"maxTagPlaceholder\",\"choiceTransitionName\",\"onInputKeyDown\",\"onPopupScroll\",\"tabIndex\"];function Kt(k){return k===\"tags\"||k===\"multiple\"}var an=h.forwardRef(function(k,z){var Q,F,V=k.id,U=k.prefixCls,ge=k.className,ke=k.showSearch,St=k.tagRender,Je=k.direction,Ot=k.omitDomProps,It=k.displayValues,jt=k.onDisplayValuesChange,Vt=k.emptyOptions,Pn=k.notFoundContent,Jn=Pn===void 0?\"Not Found\":Pn,vn=k.onClear,Vn=k.mode,zt=k.disabled,ir=k.loading,nr=k.getInputElement,ur=k.getRawInputElement,sr=k.open,Ln=k.defaultOpen,Bt=k.onDropdownVisibleChange,En=k.activeValue,_n=k.onActiveValueChange,cr=k.activeDescendantId,ao=k.searchValue,kr=k.autoClearSearchValue,jo=k.onSearch,ui=k.onSearchSplit,Vr=k.tokenSeparators,ho=k.allowClear,vo=k.showArrow,uo=k.inputIcon,Go=k.clearIcon,Pi=k.OptionList,la=k.animation,Vi=k.transitionName,ha=k.dropdownStyle,xa=k.dropdownClassName,qi=k.dropdownMatchSelectWidth,Jo=k.dropdownRender,Ji=k.dropdownAlign,Yi=k.placement,Ii=k.getPopupContainer,pa=k.showAction,na=pa===void 0?[]:pa,$i=k.onFocus,La=k.onBlur,ss=k.onKeyUp,Oa=k.onKeyDown,Ma=k.onMouseDown,Ka=(0,p.Z)(k,qt),Ba=Kt(Vn),Ua=(ke!==void 0?ke:Ba)||Vn===\"combobox\",Va=(0,O.Z)({},Ka);hn.forEach(function(hi){delete Va[hi]}),Ot==null||Ot.forEach(function(hi){delete Va[hi]});var Ls=h.useState(!1),Qo=(0,b.Z)(Ls,2),ws=Qo[0],Za=Qo[1];h.useEffect(function(){Za((0,s.Z)())},[]);var rr=h.useRef(null),Eo=h.useRef(null),Br=h.useRef(null),Ao=h.useRef(null),Di=h.useRef(null),Aa=j(),Na=(0,b.Z)(Aa,3),Fa=Na[0],Bs=Na[1],Ms=Na[2];h.useImperativeHandle(z,function(){var hi,Yo;return{focus:(hi=Ao.current)===null||hi===void 0?void 0:hi.focus,blur:(Yo=Ao.current)===null||Yo===void 0?void 0:Yo.blur,scrollTo:function(_a){var wa;return(wa=Di.current)===null||wa===void 0?void 0:wa.scrollTo(_a)}}});var Qa=h.useMemo(function(){var hi;if(Vn!==\"combobox\")return ao;var Yo=(hi=It[0])===null||hi===void 0?void 0:hi.value;return typeof Yo==\"string\"||typeof Yo==\"number\"?String(Yo):\"\"},[ao,Vn,It]),us=Vn===\"combobox\"&&typeof nr==\"function\"&&nr()||null,Fs=typeof ur==\"function\"&&ur(),$a=(0,x.x1)(Eo,Fs==null||(Q=Fs.props)===null||Q===void 0?void 0:Q.ref),Hs=(0,a.Z)(void 0,{defaultValue:Ln,value:sr}),ys=(0,b.Z)(Hs,2),sa=ys[0],Xa=ys[1],os=sa,As=!Jn&&Vt;(zt||As&&os&&Vn===\"combobox\")&&(os=!1);var oa=As?!1:os,di=h.useCallback(function(hi){var Yo=hi!==void 0?hi:!os;zt||(Xa(Yo),os!==Yo&&(Bt==null||Bt(Yo)))},[zt,os,Xa,Bt]),ia=h.useMemo(function(){return(Vr||[]).some(function(hi){return[`\n`,`\\r\n`].includes(hi)})},[Vr]),_i=function(Yo,Bi,_a){var wa=!0,Ia=Yo;_n==null||_n(null);var tr=_a?null:rn(Yo,Vr);return Vn!==\"combobox\"&&tr&&(Ia=\"\",ui==null||ui(tr),di(!1),wa=!1),jo&&Qa!==Ia&&jo(Ia,{source:Bi?\"typing\":\"effect\"}),wa},gi=function(Yo){!Yo||!Yo.trim()||jo(Yo,{source:\"submit\"})};h.useEffect(function(){!os&&!Ba&&Vn!==\"combobox\"&&_i(\"\",!1,!1)},[os]),h.useEffect(function(){sa&&zt&&Xa(!1),zt&&Bs(!1)},[zt]);var fa=L(),Pa=(0,b.Z)(fa,2),xs=Pa[0],Li=Pa[1],vs=function(Yo){var Bi=xs(),_a=Yo.which;if(_a===m.Z.ENTER&&(Vn!==\"combobox\"&&Yo.preventDefault(),os||di(!0)),Li(!!Qa),_a===m.Z.BACKSPACE&&!Bi&&Ba&&!Qa&&It.length){for(var wa=(0,C.Z)(It),Ia=null,tr=wa.length-1;tr>=0;tr-=1){var Sa=wa[tr];if(!Sa.disabled){wa.splice(tr,1),Ia=Sa;break}}Ia&&jt(wa,{type:\"remove\",values:[Ia]})}for(var Ta=arguments.length,ga=new Array(Ta>1?Ta-1:0),Fi=1;Fi<Ta;Fi++)ga[Fi-1]=arguments[Fi];if(os&&Di.current){var Cs;(Cs=Di.current).onKeyDown.apply(Cs,[Yo].concat(ga))}Oa==null||Oa.apply(void 0,[Yo].concat(ga))},Ca=function(Yo){for(var Bi=arguments.length,_a=new Array(Bi>1?Bi-1:0),wa=1;wa<Bi;wa++)_a[wa-1]=arguments[wa];if(os&&Di.current){var Ia;(Ia=Di.current).onKeyUp.apply(Ia,[Yo].concat(_a))}ss==null||ss.apply(void 0,[Yo].concat(_a))},ra=function(Yo){var Bi=It.filter(function(_a){return _a!==Yo});jt(Bi,{type:\"remove\",values:[Yo]})},Ja=h.useRef(!1),qa=function(){Bs(!0),zt||($i&&!Ja.current&&$i.apply(void 0,arguments),na.includes(\"focus\")&&di(!0)),Ja.current=!0},Ts=function(){Bs(!1,function(){Ja.current=!1,di(!1)}),!zt&&(Qa&&(Vn===\"tags\"?jo(Qa,{source:\"submit\"}):Vn===\"multiple\"&&jo(\"\",{source:\"blur\"})),La&&La.apply(void 0,arguments))},v=[];h.useEffect(function(){return function(){v.forEach(function(hi){return clearTimeout(hi)}),v.splice(0,v.length)}},[]);var G=function(Yo){var Bi,_a=Yo.target,wa=(Bi=Br.current)===null||Bi===void 0?void 0:Bi.getPopupElement();if(wa&&wa.contains(_a)){var Ia=setTimeout(function(){var ga=v.indexOf(Ia);if(ga!==-1&&v.splice(ga,1),Ms(),!ws&&!wa.contains(document.activeElement)){var Fi;(Fi=Ao.current)===null||Fi===void 0||Fi.focus()}});v.push(Ia)}for(var tr=arguments.length,Sa=new Array(tr>1?tr-1:0),Ta=1;Ta<tr;Ta++)Sa[Ta-1]=arguments[Ta];Ma==null||Ma.apply(void 0,[Yo].concat(Sa))},ze=h.useState(null),ut=(0,b.Z)(ze,2),_t=ut[0],Ht=ut[1],$t=h.useState({}),wn=(0,b.Z)($t,2),On=wn[1];function $n(){On({})}(0,l.Z)(function(){if(oa){var hi,Yo=Math.ceil((hi=rr.current)===null||hi===void 0?void 0:hi.offsetWidth);_t!==Yo&&!Number.isNaN(Yo)&&Ht(Yo)}},[oa]);var gr;Fs&&(gr=function(Yo){di(Yo)}),A(function(){var hi;return[rr.current,(hi=Br.current)===null||hi===void 0?void 0:hi.getPopupElement()]},oa,di,!!Fs);var Fr=h.useMemo(function(){return(0,O.Z)((0,O.Z)({},k),{},{notFoundContent:Jn,open:os,triggerOpen:oa,id:V,showSearch:Ua,multiple:Ba,toggleOpen:di})},[k,Jn,oa,os,V,Ua,Ba,di]),Qr=vo!==void 0?vo:ir||!Ba&&Vn!==\"combobox\",qr;Qr&&(qr=h.createElement(me,{className:y()(\"\".concat(U,\"-arrow\"),(0,w.Z)({},\"\".concat(U,\"-arrow-loading\"),ir)),customizeIcon:uo,customizeIconProps:{loading:ir,searchValue:Qa,open:os,focused:Fa,showSearch:Ua}}));var mo,Ho=function(){var Yo;vn==null||vn(),(Yo=Ao.current)===null||Yo===void 0||Yo.focus(),jt([],{type:\"clear\",values:It}),_i(\"\",!1,!1)};!zt&&ho&&(It.length||Qa)&&!(Vn===\"combobox\"&&Qa===\"\")&&(mo=h.createElement(me,{className:\"\".concat(U,\"-clear\"),onMouseDown:Ho,customizeIcon:Go},\"\\xD7\"));var fo=h.createElement(Pi,{ref:Di}),ei=y()(U,ge,(F={},(0,w.Z)(F,\"\".concat(U,\"-focused\"),Fa),(0,w.Z)(F,\"\".concat(U,\"-multiple\"),Ba),(0,w.Z)(F,\"\".concat(U,\"-single\"),!Ba),(0,w.Z)(F,\"\".concat(U,\"-allow-clear\"),ho),(0,w.Z)(F,\"\".concat(U,\"-show-arrow\"),Qr),(0,w.Z)(F,\"\".concat(U,\"-disabled\"),zt),(0,w.Z)(F,\"\".concat(U,\"-loading\"),ir),(0,w.Z)(F,\"\".concat(U,\"-open\"),os),(0,w.Z)(F,\"\".concat(U,\"-customize-input\"),us),(0,w.Z)(F,\"\".concat(U,\"-show-search\"),Ua),F)),ea=h.createElement(ht,{ref:Br,disabled:zt,prefixCls:U,visible:oa,popupElement:fo,containerWidth:_t,animation:la,transitionName:Vi,dropdownStyle:ha,dropdownClassName:xa,direction:Je,dropdownMatchSelectWidth:qi,dropdownRender:Jo,dropdownAlign:Ji,placement:Yi,getPopupContainer:Ii,empty:Vt,getTriggerDOMNode:function(){return Eo.current},onPopupVisibleChange:gr,onPopupMouseEnter:$n},Fs?h.cloneElement(Fs,{ref:$a}):h.createElement(be,(0,N.Z)({},k,{domRef:Eo,prefixCls:U,inputElement:us,ref:Ao,id:V,showSearch:Ua,autoClearSearchValue:kr,mode:Vn,activeDescendantId:cr,tagRender:St,values:It,open:os,onToggleOpen:di,activeValue:En,searchValue:Qa,onSearch:_i,onSearchSubmit:gi,onRemove:ra,tokenWithEnter:ia}))),Xi;return Fs?Xi=ea:Xi=h.createElement(\"div\",(0,N.Z)({className:ei},Va,{ref:rr,onMouseDown:G,onKeyDown:vs,onKeyUp:Ca,onFocus:qa,onBlur:Ts}),Fa&&!os&&h.createElement(\"span\",{style:{width:0,height:0,position:\"absolute\",overflow:\"hidden\",opacity:0},\"aria-live\":\"polite\"},\"\".concat(It.map(function(hi){var Yo=hi.label,Bi=hi.value;return[\"number\",\"string\"].includes((0,u.Z)(Yo))?Yo:Bi}).join(\", \"))),ea,qr,mo),h.createElement(M.Provider,{value:Fr},Xi)}),In=an,Ft=function(k,z){var Q=h.useRef({values:new Map,options:new Map}),F=h.useMemo(function(){var U=Q.current,ge=U.values,ke=U.options,St=k.map(function(It){if(It.label===void 0){var jt;return(0,O.Z)((0,O.Z)({},It),{},{label:(jt=ge.get(It.value))===null||jt===void 0?void 0:jt.label})}return It}),Je=new Map,Ot=new Map;return St.forEach(function(It){Je.set(It.value,It),Ot.set(It.value,z.get(It.value)||ke.get(It.value))}),Q.current.values=Je,Q.current.options=Ot,St},[k,z]),V=h.useCallback(function(U){return z.get(U)||Q.current.options.get(U)},[z]);return[F,V]};function kt(k,z){return Ie(k).join(\"\").toUpperCase().includes(z)}var At=function(k,z,Q,F,V){return h.useMemo(function(){if(!Q||F===!1)return k;var U=z.options,ge=z.label,ke=z.value,St=[],Je=typeof F==\"function\",Ot=Q.toUpperCase(),It=Je?F:function(Vt,Pn){return V?kt(Pn[V],Ot):Pn[U]?kt(Pn[ge!==\"children\"?ge:\"label\"],Ot):kt(Pn[ke],Ot)},jt=Je?function(Vt){return lt(Vt)}:function(Vt){return Vt};return k.forEach(function(Vt){if(Vt[U]){var Pn=It(Q,jt(Vt));if(Pn)St.push(Vt);else{var Jn=Vt[U].filter(function(vn){return It(Q,jt(vn))});Jn.length&&St.push((0,O.Z)((0,O.Z)({},Vt),{},(0,w.Z)({},U,Jn)))}return}It(Q,jt(Vt))&&St.push(Vt)}),St},[k,F,V,Q,z])},Fn=c(61237),pn=0,en=(0,Fn.Z)();function Wn(){var k;return en?(k=pn,pn+=1):k=\"TEST_OR_SSR\",k}function Mn(k){var z=h.useState(),Q=(0,b.Z)(z,2),F=Q[0],V=Q[1];return h.useEffect(function(){V(\"rc_select_\".concat(Wn()))},[]),k||F}var Kn=c(16030),hr=[\"children\",\"value\"],pr=[\"children\"];function zr(k){var z=k,Q=z.key,F=z.props,V=F.children,U=F.value,ge=(0,p.Z)(F,hr);return(0,O.Z)({key:Q,value:U!==void 0?U:Q,children:V},ge)}function Wr(k){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Kn.Z)(k).map(function(Q,F){if(!h.isValidElement(Q)||!Q.type)return null;var V=Q,U=V.type.isSelectOptGroup,ge=V.key,ke=V.props,St=ke.children,Je=(0,p.Z)(ke,pr);return z||!U?zr(Q):(0,O.Z)((0,O.Z)({key:\"__RC_SELECT_GRP__\".concat(ge===null?F:ge,\"__\"),label:ge},Je),{},{options:Wr(St)})}).filter(function(Q){return Q})}function Nr(k,z,Q,F,V){return h.useMemo(function(){var U=k,ge=!k;ge&&(U=Wr(z));var ke=new Map,St=new Map,Je=function(jt,Vt,Pn){Pn&&typeof Pn==\"string\"&&jt.set(Vt[Pn],Vt)};function Ot(It){for(var jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Vt=0;Vt<It.length;Vt+=1){var Pn=It[Vt];!Pn[Q.options]||jt?(ke.set(Pn[Q.value],Pn),Je(St,Pn,Q.label),Je(St,Pn,F),Je(St,Pn,V)):Ot(Pn[Q.options],!0)}}return Ot(U),{options:U,valueOptions:ke,labelOptions:St}},[k,z,Q,F,V])}function Kr(k){var z=h.useRef();z.current=k;var Q=h.useCallback(function(){return z.current.apply(z,arguments)},[]);return Q}var ko=function(){return null};ko.isSelectOptGroup=!0;var Ur=ko,gn=function(){return null};gn.isSelectOption=!0;var Gt=gn,bt=c(49308),Zt=c(97318),gt=c(51206),Wt=h.createContext(null),xn=Wt;function Dt(){return/(mac\\sos|macintosh)/i.test(navigator.appVersion)}var Xn=[\"disabled\",\"title\",\"children\",\"style\",\"className\"];function Rn(k){return typeof k==\"string\"||typeof k==\"number\"}var wt=function(z,Q){var F=E(),V=F.prefixCls,U=F.id,ge=F.open,ke=F.multiple,St=F.mode,Je=F.searchValue,Ot=F.toggleOpen,It=F.notFoundContent,jt=F.onPopupScroll,Vt=h.useContext(xn),Pn=Vt.flattenOptions,Jn=Vt.onActiveValue,vn=Vt.defaultActiveFirstOption,Vn=Vt.onSelect,zt=Vt.menuItemSelectedIcon,ir=Vt.rawValues,nr=Vt.fieldNames,ur=Vt.virtual,sr=Vt.listHeight,Ln=Vt.listItemHeight,Bt=\"\".concat(V,\"-item\"),En=(0,bt.Z)(function(){return Pn},[ge,Pn],function(qi,Jo){return Jo[0]&&qi[1]!==Jo[1]}),_n=h.useRef(null),cr=function(Jo){Jo.preventDefault()},ao=function(Jo){_n.current&&_n.current.scrollTo(typeof Jo==\"number\"?{index:Jo}:Jo)},kr=function(Jo){for(var Ji=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Yi=En.length,Ii=0;Ii<Yi;Ii+=1){var pa=(Jo+Ii*Ji+Yi)%Yi,na=En[pa],$i=na.group,La=na.data;if(!$i&&!La.disabled)return pa}return-1},jo=h.useState(function(){return kr(0)}),ui=(0,b.Z)(jo,2),Vr=ui[0],ho=ui[1],vo=function(Jo){var Ji=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;ho(Jo);var Yi={source:Ji?\"keyboard\":\"mouse\"},Ii=En[Jo];if(!Ii){Jn(null,-1,Yi);return}Jn(Ii.value,Jo,Yi)};(0,h.useEffect)(function(){vo(vn!==!1?kr(0):-1)},[En.length,Je]);var uo=h.useCallback(function(qi){return ir.has(qi)&&St!==\"combobox\"},[St,(0,C.Z)(ir).toString(),ir.size]);(0,h.useEffect)(function(){var qi=setTimeout(function(){if(!ke&&ge&&ir.size===1){var Ji=Array.from(ir)[0],Yi=En.findIndex(function(Ii){var pa=Ii.data;return pa.value===Ji});Yi!==-1&&(vo(Yi),ao(Yi))}});if(ge){var Jo;(Jo=_n.current)===null||Jo===void 0||Jo.scrollTo(void 0)}return function(){return clearTimeout(qi)}},[ge,Je,Pn.length]);var Go=function(Jo){Jo!==void 0&&Vn(Jo,{selected:!ir.has(Jo)}),ke||Ot(!1)};if(h.useImperativeHandle(Q,function(){return{onKeyDown:function(Jo){var Ji=Jo.which,Yi=Jo.ctrlKey;switch(Ji){case m.Z.N:case m.Z.P:case m.Z.UP:case m.Z.DOWN:{var Ii=0;if(Ji===m.Z.UP?Ii=-1:Ji===m.Z.DOWN?Ii=1:Dt()&&Yi&&(Ji===m.Z.N?Ii=1:Ji===m.Z.P&&(Ii=-1)),Ii!==0){var pa=kr(Vr+Ii,Ii);ao(pa),vo(pa,!0)}break}case m.Z.ENTER:{var na=En[Vr];na&&!na.data.disabled?Go(na.value):Go(void 0),ge&&Jo.preventDefault();break}case m.Z.ESC:Ot(!1),ge&&Jo.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Jo){ao(Jo)}}}),En.length===0)return h.createElement(\"div\",{role:\"listbox\",id:\"\".concat(U,\"_list\"),className:\"\".concat(Bt,\"-empty\"),onMouseDown:cr},It);var Pi=Object.keys(nr).map(function(qi){return nr[qi]}),la=function(Jo){return Jo.label};function Vi(qi,Jo){var Ji=qi.group;return{role:Ji?\"presentation\":\"option\",id:\"\".concat(U,\"_list_\").concat(Jo)}}var ha=function(Jo){var Ji=En[Jo];if(!Ji)return null;var Yi=Ji.data||{},Ii=Yi.value,pa=Ji.group,na=(0,J.Z)(Yi,!0),$i=la(Ji);return Ji?h.createElement(\"div\",(0,N.Z)({\"aria-label\":typeof $i==\"string\"&&!pa?$i:null},na,{key:Jo},Vi(Ji,Jo),{\"aria-selected\":uo(Ii)}),Ii):null},xa={role:\"listbox\",id:\"\".concat(U,\"_list\")};return h.createElement(h.Fragment,null,ur&&h.createElement(\"div\",(0,N.Z)({},xa,{style:{height:0,width:0,overflow:\"hidden\"}}),ha(Vr-1),ha(Vr),ha(Vr+1)),h.createElement(gt.Z,{itemKey:\"key\",ref:_n,data:En,height:sr,itemHeight:Ln,fullHeight:!1,onMouseDown:cr,onScroll:jt,virtual:ur,innerProps:ur?null:xa},function(qi,Jo){var Ji,Yi=qi.group,Ii=qi.groupOption,pa=qi.data,na=qi.label,$i=qi.value,La=pa.key;if(Yi){var ss,Oa=(ss=pa.title)!==null&&ss!==void 0?ss:Rn(na)?na.toString():void 0;return h.createElement(\"div\",{className:y()(Bt,\"\".concat(Bt,\"-group\")),title:Oa},na!==void 0?na:La)}var Ma=pa.disabled,Ka=pa.title,Ba=pa.children,Ua=pa.style,Va=pa.className,Ls=(0,p.Z)(pa,Xn),Qo=(0,Zt.Z)(Ls,Pi),ws=uo($i),Za=\"\".concat(Bt,\"-option\"),rr=y()(Bt,Za,Va,(Ji={},(0,w.Z)(Ji,\"\".concat(Za,\"-grouped\"),Ii),(0,w.Z)(Ji,\"\".concat(Za,\"-active\"),Vr===Jo&&!Ma),(0,w.Z)(Ji,\"\".concat(Za,\"-disabled\"),Ma),(0,w.Z)(Ji,\"\".concat(Za,\"-selected\"),ws),Ji)),Eo=la(qi),Br=!zt||typeof zt==\"function\"||ws,Ao=typeof Eo==\"number\"?Eo:Eo||$i,Di=Rn(Ao)?Ao.toString():void 0;return Ka!==void 0&&(Di=Ka),h.createElement(\"div\",(0,N.Z)({},(0,J.Z)(Qo),ur?{}:Vi(qi,Jo),{\"aria-selected\":ws,className:rr,title:Di,onMouseMove:function(){Vr===Jo||Ma||vo(Jo)},onClick:function(){Ma||Go($i)},style:Ua}),h.createElement(\"div\",{className:\"\".concat(Za,\"-content\")},Ao),h.isValidElement(zt)||ws,Br&&h.createElement(me,{className:\"\".concat(Bt,\"-option-state\"),customizeIcon:zt,customizeIconProps:{isSelected:ws}},ws?\"\\u2713\":null))}))},pt=h.forwardRef(wt);pt.displayName=\"OptionList\";var Ue=pt;function xt(k){var z=k.mode,Q=k.options,F=k.children,V=k.backfill,U=k.allowClear,ge=k.placeholder,ke=k.getInputElement,St=k.showSearch,Je=k.onSearch,Ot=k.defaultOpen,It=k.autoFocus,jt=k.labelInValue,Vt=k.value,Pn=k.inputValue,Jn=k.optionLabelProp,vn=isMultiple(z),Vn=St!==void 0?St:vn||z===\"combobox\",zt=Q||convertChildrenToData(F);if(warning(z!==\"tags\"||zt.every(function(sr){return!sr.disabled}),\"Please avoid setting option to disabled in tags mode since user can always type text as tag.\"),z===\"tags\"||z===\"combobox\"){var ir=zt.some(function(sr){return sr.options?sr.options.some(function(Ln){return typeof(\"value\"in Ln?Ln.value:Ln.key)==\"number\"}):typeof(\"value\"in sr?sr.value:sr.key)==\"number\"});warning(!ir,\"`value` of Option should not use number type when `mode` is `tags` or `combobox`.\")}if(warning(z!==\"combobox\"||!Jn,\"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly.\"),warning(z===\"combobox\"||!V,\"`backfill` only works with `combobox` mode.\"),warning(z===\"combobox\"||!ke,\"`getInputElement` only work with `combobox` mode.\"),noteOnce(z!==\"combobox\"||!ke||!U||!ge,\"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`.\"),Je&&!Vn&&z!==\"combobox\"&&z!==\"tags\"&&warning(!1,\"`onSearch` should work with `showSearch` instead of use alone.\"),noteOnce(!Ot||It,\"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed.\"),Vt!=null){var nr=toArray(Vt);warning(!jt||nr.every(function(sr){return _typeof(sr)===\"object\"&&(\"key\"in sr||\"value\"in sr)}),\"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`\"),warning(!vn||Array.isArray(Vt),\"`value` should be array when `mode` is `multiple` or `tags`\")}if(F){var ur=null;toNodeArray(F).some(function(sr){if(!React.isValidElement(sr)||!sr.type)return!1;var Ln=sr,Bt=Ln.type;if(Bt.isSelectOption)return!1;if(Bt.isSelectOptGroup){var En=toNodeArray(sr.props.children).every(function(_n){return!React.isValidElement(_n)||!sr.type||_n.type.isSelectOption?!0:(ur=_n.type,!1)});return!En}return ur=Bt,!0}),ur&&warning(!1,\"`children` should be `Select.Option` or `Select.OptGroup` instead of `\".concat(ur.displayName||ur.name||ur,\"`.\")),warning(Pn===void 0,\"`inputValue` is deprecated, please use `searchValue` instead.\")}}function cn(k,z){if(k){var Q=function F(V){for(var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ge=0;ge<V.length;ge++){var ke=V[ge];if(ke[z==null?void 0:z.value]===null)return warning(!1,\"`value` in Select options should not be `null`.\"),!0;if(!U&&Array.isArray(ke[z==null?void 0:z.options])&&F(ke[z==null?void 0:z.options],!0))break}};Q(k)}}var er=null,Mr=[\"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\"],xr=[\"inputValue\"];function jr(k){return!k||(0,u.Z)(k)!==\"object\"}var yo=h.forwardRef(function(k,z){var Q=k.id,F=k.mode,V=k.prefixCls,U=V===void 0?\"rc-select\":V,ge=k.backfill,ke=k.fieldNames,St=k.inputValue,Je=k.searchValue,Ot=k.onSearch,It=k.autoClearSearchValue,jt=It===void 0?!0:It,Vt=k.onSelect,Pn=k.onDeselect,Jn=k.dropdownMatchSelectWidth,vn=Jn===void 0?!0:Jn,Vn=k.filterOption,zt=k.filterSort,ir=k.optionFilterProp,nr=k.optionLabelProp,ur=k.options,sr=k.children,Ln=k.defaultActiveFirstOption,Bt=k.menuItemSelectedIcon,En=k.virtual,_n=k.listHeight,cr=_n===void 0?200:_n,ao=k.listItemHeight,kr=ao===void 0?20:ao,jo=k.value,ui=k.defaultValue,Vr=k.labelInValue,ho=k.onChange,vo=(0,p.Z)(k,Mr),uo=Mn(Q),Go=Kt(F),Pi=!!(!ur&&sr),la=h.useMemo(function(){return Vn===void 0&&F===\"combobox\"?!1:Vn},[Vn,F]),Vi=h.useMemo(function(){return dt(ke,Pi)},[JSON.stringify(ke),Pi]),ha=(0,a.Z)(\"\",{value:Je!==void 0?Je:St,postState:function(ia){return ia||\"\"}}),xa=(0,b.Z)(ha,2),qi=xa[0],Jo=xa[1],Ji=Nr(ur,sr,Vi,ir,nr),Yi=Ji.valueOptions,Ii=Ji.labelOptions,pa=Ji.options,na=h.useCallback(function(di){var ia=Ie(di);return ia.map(function(_i){var gi,fa,Pa,xs,Li;if(jr(_i))gi=_i;else{var vs;Pa=_i.key,fa=_i.label,gi=(vs=_i.value)!==null&&vs!==void 0?vs:Pa}var Ca=Yi.get(gi);if(Ca){var ra;if(fa===void 0&&(fa=Ca==null?void 0:Ca[nr||Vi.label]),Pa===void 0&&(Pa=(ra=Ca==null?void 0:Ca.key)!==null&&ra!==void 0?ra:gi),xs=Ca==null?void 0:Ca.disabled,Li=Ca==null?void 0:Ca.title,!1)var Ja}return{label:fa,value:gi,key:Pa,disabled:xs,title:Li}})},[Vi,nr,Yi]),$i=(0,a.Z)(ui,{value:jo}),La=(0,b.Z)($i,2),ss=La[0],Oa=La[1],Ma=h.useMemo(function(){var di,ia=na(ss);return F===\"combobox\"&&!((di=ia[0])!==null&&di!==void 0&&di.value)?[]:ia},[ss,na,F]),Ka=Ft(Ma,Yi),Ba=(0,b.Z)(Ka,2),Ua=Ba[0],Va=Ba[1],Ls=h.useMemo(function(){if(!F&&Ua.length===1){var di=Ua[0];if(di.value===null&&(di.label===null||di.label===void 0))return[]}return Ua.map(function(ia){var _i;return(0,O.Z)((0,O.Z)({},ia),{},{label:(_i=ia.label)!==null&&_i!==void 0?_i:ia.value})})},[F,Ua]),Qo=h.useMemo(function(){return new Set(Ua.map(function(di){return di.value}))},[Ua]);h.useEffect(function(){if(F===\"combobox\"){var di,ia=(di=Ua[0])===null||di===void 0?void 0:di.value;Jo(ce(ia)?String(ia):\"\")}},[Ua]);var ws=Kr(function(di,ia){var _i,gi=ia!=null?ia:di;return _i={},(0,w.Z)(_i,Vi.value,di),(0,w.Z)(_i,Vi.label,gi),_i}),Za=h.useMemo(function(){if(F!==\"tags\")return pa;var di=(0,C.Z)(pa),ia=function(gi){return Yi.has(gi)};return(0,C.Z)(Ua).sort(function(_i,gi){return _i.value<gi.value?-1:1}).forEach(function(_i){var gi=_i.value;ia(gi)||di.push(ws(gi,_i.label))}),di},[ws,pa,Yi,Ua,F]),rr=At(Za,Vi,qi,la,ir),Eo=h.useMemo(function(){return F!==\"tags\"||!qi||rr.some(function(di){return di[ir||\"value\"]===qi})?rr:[ws(qi)].concat((0,C.Z)(rr))},[ws,ir,F,rr,qi]),Br=h.useMemo(function(){return zt?(0,C.Z)(Eo).sort(function(di,ia){return zt(di,ia)}):Eo},[Eo,zt]),Ao=h.useMemo(function(){return Lt(Br,{fieldNames:Vi,childrenAsData:Pi})},[Br,Vi,Pi]),Di=function(ia){var _i=na(ia);if(Oa(_i),ho&&(_i.length!==Ua.length||_i.some(function(Pa,xs){var Li;return((Li=Ua[xs])===null||Li===void 0?void 0:Li.value)!==(Pa==null?void 0:Pa.value)}))){var gi=Vr?_i:_i.map(function(Pa){return Pa.value}),fa=_i.map(function(Pa){return lt(Va(Pa.value))});ho(Go?gi:gi[0],Go?fa:fa[0])}},Aa=h.useState(null),Na=(0,b.Z)(Aa,2),Fa=Na[0],Bs=Na[1],Ms=h.useState(0),Qa=(0,b.Z)(Ms,2),us=Qa[0],Fs=Qa[1],$a=Ln!==void 0?Ln:F!==\"combobox\",Hs=h.useCallback(function(di,ia){var _i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},gi=_i.source,fa=gi===void 0?\"keyboard\":gi;Fs(ia),ge&&F===\"combobox\"&&di!==null&&fa===\"keyboard\"&&Bs(String(di))},[ge,F]),ys=function(ia,_i,gi){var fa=function(){var v,G=Va(ia);return[Vr?{label:G==null?void 0:G[Vi.label],value:ia,key:(v=G==null?void 0:G.key)!==null&&v!==void 0?v:ia}:ia,lt(G)]};if(_i&&Vt){var Pa=fa(),xs=(0,b.Z)(Pa,2),Li=xs[0],vs=xs[1];Vt(Li,vs)}else if(!_i&&Pn&&gi!==\"clear\"){var Ca=fa(),ra=(0,b.Z)(Ca,2),Ja=ra[0],qa=ra[1];Pn(Ja,qa)}},sa=Kr(function(di,ia){var _i,gi=Go?ia.selected:!0;gi?_i=Go?[].concat((0,C.Z)(Ua),[di]):[di]:_i=Ua.filter(function(fa){return fa.value!==di}),Di(_i),ys(di,gi),F===\"combobox\"?Bs(\"\"):(!Kt||jt)&&(Jo(\"\"),Bs(\"\"))}),Xa=function(ia,_i){Di(ia);var gi=_i.type,fa=_i.values;(gi===\"remove\"||gi===\"clear\")&&fa.forEach(function(Pa){ys(Pa.value,!1,gi)})},os=function(ia,_i){if(Jo(ia),Bs(null),_i.source===\"submit\"){var gi=(ia||\"\").trim();if(gi){var fa=Array.from(new Set([].concat((0,C.Z)(Qo),[gi])));Di(fa),ys(gi,!0),Jo(\"\")}return}_i.source!==\"blur\"&&(F===\"combobox\"&&Di(ia),Ot==null||Ot(ia))},As=function(ia){var _i=ia;F!==\"tags\"&&(_i=ia.map(function(fa){var Pa=Ii.get(fa);return Pa==null?void 0:Pa.value}).filter(function(fa){return fa!==void 0}));var gi=Array.from(new Set([].concat((0,C.Z)(Qo),(0,C.Z)(_i))));Di(gi),gi.forEach(function(fa){ys(fa,!0)})},oa=h.useMemo(function(){var di=En!==!1&&vn!==!1;return(0,O.Z)((0,O.Z)({},Ji),{},{flattenOptions:Ao,onActiveValue:Hs,defaultActiveFirstOption:$a,onSelect:sa,menuItemSelectedIcon:Bt,rawValues:Qo,fieldNames:Vi,virtual:di,listHeight:cr,listItemHeight:kr,childrenAsData:Pi})},[Ji,Ao,Hs,$a,sa,Bt,Qo,Vi,En,vn,cr,kr,Pi]);return h.createElement(xn.Provider,{value:oa},h.createElement(In,(0,N.Z)({},vo,{id:uo,prefixCls:U,ref:z,omitDomProps:xr,mode:F,displayValues:Ls,onDisplayValuesChange:Xa,searchValue:qi,onSearch:os,autoClearSearchValue:jt,onSearchSplit:As,dropdownMatchSelectWidth:vn,OptionList:Ue,emptyOptions:!Ao.length,activeValue:Fa,activeDescendantId:\"\".concat(uo,\"_list_\").concat(us)})))}),eo=yo;eo.Option=Gt,eo.OptGroup=Ur;var vi=eo,Ti=vi,wi=c(35531),mi=c(70167),Zi=c(19557),$e=(k,z)=>{const Q=h.useContext(mi.Z),F=h.useMemo(()=>{var U;const ge=z||Zi.Z[k],ke=(U=Q==null?void 0:Q[k])!==null&&U!==void 0?U:{};return Object.assign(Object.assign({},typeof ge==\"function\"?ge():ge),ke||{})},[k,z,Q]),V=h.useMemo(()=>{const U=Q==null?void 0:Q.locale;return Q!=null&&Q.exist&&!U?Zi.Z.locale:U},[Q]);return[F,V]},dn=c(99590),Un=c(25990),Rr=()=>{const[,k]=(0,Un.dQ)(),z=new dn.C(k.colorBgBase);let Q={};return z.toHsl().l<.5&&(Q={opacity:.65}),h.createElement(\"svg\",{style:Q,width:\"184\",height:\"152\",viewBox:\"0 0 184 152\",xmlns:\"http://www.w3.org/2000/svg\"},h.createElement(\"g\",{fill:\"none\",fillRule:\"evenodd\"},h.createElement(\"g\",{transform:\"translate(24 31.67)\"},h.createElement(\"ellipse\",{fillOpacity:\".8\",fill:\"#F5F5F7\",cx:\"67.797\",cy:\"106.89\",rx:\"67.797\",ry:\"12.668\"}),h.createElement(\"path\",{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\",fill:\"#AEB8C2\"}),h.createElement(\"path\",{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\",fill:\"url(#linearGradient-1)\",transform:\"translate(13.56)\"}),h.createElement(\"path\",{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\",fill:\"#F5F5F7\"}),h.createElement(\"path\",{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\",fill:\"#DCE0E6\"})),h.createElement(\"path\",{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\",fill:\"#DCE0E6\"}),h.createElement(\"g\",{transform:\"translate(149.65 15.383)\",fill:\"#FFF\"},h.createElement(\"ellipse\",{cx:\"20.654\",cy:\"3.167\",rx:\"2.849\",ry:\"2.815\"}),h.createElement(\"path\",{d:\"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z\"}))))},Vo=()=>{const[,k]=(0,Un.dQ)(),{colorFill:z,colorFillTertiary:Q,colorFillQuaternary:F,colorBgContainer:V}=k,{borderColor:U,shadowColor:ge,contentColor:ke}=(0,h.useMemo)(()=>({borderColor:new dn.C(z).onBackground(V).toHexShortString(),shadowColor:new dn.C(Q).onBackground(V).toHexShortString(),contentColor:new dn.C(F).onBackground(V).toHexShortString()}),[z,Q,F,V]);return h.createElement(\"svg\",{width:\"64\",height:\"41\",viewBox:\"0 0 64 41\",xmlns:\"http://www.w3.org/2000/svg\"},h.createElement(\"g\",{transform:\"translate(0 1)\",fill:\"none\",fillRule:\"evenodd\"},h.createElement(\"ellipse\",{fill:ge,cx:\"32\",cy:\"33\",rx:\"32\",ry:\"7\"}),h.createElement(\"g\",{fillRule:\"nonzero\",stroke:U},h.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\"}),h.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\",fill:ke}))))},Co=c(72267),Mo=c(42550);const qo=k=>{const{componentCls:z,margin:Q,marginXS:F,marginXL:V,fontSize:U,lineHeight:ge}=k;return{[z]:{marginInline:F,fontSize:U,lineHeight:ge,textAlign:\"center\",[`${z}-image`]:{height:k.emptyImgHeight,marginBottom:F,opacity:k.opacityImage,img:{height:\"100%\"},svg:{height:\"100%\",margin:\"auto\"}},[`${z}-description`]:{color:k.colorText},[`${z}-footer`]:{marginTop:Q},\"&-normal\":{marginBlock:V,color:k.colorTextDisabled,[`${z}-description`]:{color:k.colorTextDisabled},[`${z}-image`]:{height:k.emptyImgHeightMD}},\"&-small\":{marginBlock:F,color:k.colorTextDisabled,[`${z}-image`]:{height:k.emptyImgHeightSM}}}}};var ti=(0,Co.Z)(\"Empty\",k=>{const{componentCls:z,controlHeightLG:Q}=k,F=(0,Mo.TS)(k,{emptyImgCls:`${z}-img`,emptyImgHeight:Q*2.5,emptyImgHeightMD:Q,emptyImgHeightSM:Q*.875});return[qo(F)]}),pi=function(k,z){var Q={};for(var F in k)Object.prototype.hasOwnProperty.call(k,F)&&z.indexOf(F)<0&&(Q[F]=k[F]);if(k!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var V=0,F=Object.getOwnPropertySymbols(k);V<F.length;V++)z.indexOf(F[V])<0&&Object.prototype.propertyIsEnumerable.call(k,F[V])&&(Q[F[V]]=k[F[V]]);return Q};const ni=h.createElement(Rr,null),si=h.createElement(Vo,null),Oi=k=>{var{className:z,rootClassName:Q,prefixCls:F,image:V=ni,description:U,children:ge,imageStyle:ke}=k,St=pi(k,[\"className\",\"rootClassName\",\"prefixCls\",\"image\",\"description\",\"children\",\"imageStyle\"]);const{getPrefixCls:Je,direction:Ot}=h.useContext(wi.E_),It=Je(\"empty\",F),[jt,Vt]=ti(It),[Pn]=$e(\"Empty\"),Jn=typeof U!=\"undefined\"?U:Pn==null?void 0:Pn.description,vn=typeof Jn==\"string\"?Jn:\"empty\";let Vn=null;return typeof V==\"string\"?Vn=h.createElement(\"img\",{alt:vn,src:V}):Vn=V,jt(h.createElement(\"div\",Object.assign({className:y()(Vt,It,{[`${It}-normal`]:V===si,[`${It}-rtl`]:Ot===\"rtl\"},z,Q)},St),h.createElement(\"div\",{className:`${It}-image`,style:ke},Vn),Jn&&h.createElement(\"div\",{className:`${It}-description`},Jn),ge&&h.createElement(\"div\",{className:`${It}-footer`},ge)))};Oi.PRESENTED_IMAGE_DEFAULT=ni,Oi.PRESENTED_IMAGE_SIMPLE=si;var Ki=Oi,zi=k=>{const{componentName:z}=k,{getPrefixCls:Q}=(0,h.useContext)(wi.E_),F=Q(\"empty\");switch(z){case\"Table\":case\"List\":return h.createElement(Ki,{image:Ki.PRESENTED_IMAGE_SIMPLE});case\"Select\":case\"TreeSelect\":case\"Cascader\":case\"Transfer\":case\"Mentions\":return h.createElement(Ki,{image:Ki.PRESENTED_IMAGE_SIMPLE,className:`${F}-small`});default:return h.createElement(Ki,null)}},br=c(47265),Re=c(75469),je=c(60576),nt=c(48515),rt=c(91700),Xt={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\"},fn=Xt,Cn=c(58649),Yn=function(z,Q){return h.createElement(Cn.Z,(0,O.Z)((0,O.Z)({},z),{},{ref:Q,icon:fn}))};Yn.displayName=\"CheckOutlined\";var Ae=h.forwardRef(Yn),Ke=c(39810),Mt={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\"},Ut=Mt,kn=function(z,Q){return h.createElement(Cn.Z,(0,O.Z)((0,O.Z)({},z),{},{ref:Q,icon:Ut}))};kn.displayName=\"CloseOutlined\";var Zn=h.forwardRef(kn),lr={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\"},wr=lr,Dr=function(z,Q){return h.createElement(Cn.Z,(0,O.Z)((0,O.Z)({},z),{},{ref:Q,icon:wr}))};Dr.displayName=\"DownOutlined\";var go=h.forwardRef(Dr),Ir=c(19e3),Jr=c(30716);function _o(k){let{suffixIcon:z,clearIcon:Q,menuItemSelectedIcon:F,removeIcon:V,loading:U,multiple:ge,hasFeedback:ke,prefixCls:St,showArrow:Je,feedbackIcon:Ot}=k;const It=Q!=null?Q:h.createElement(Ke.Z,null),jt=vn=>h.createElement(h.Fragment,null,Je!==!1&&vn,ke&&Ot);let Vt=null;if(z!==void 0)Vt=jt(z);else if(U)Vt=jt(h.createElement(Ir.Z,{spin:!0}));else{const vn=`${St}-suffix`;Vt=Vn=>{let{open:zt,showSearch:ir}=Vn;return jt(zt&&ir?h.createElement(Jr.Z,{className:vn}):h.createElement(go,{className:vn}))}}let Pn=null;F!==void 0?Pn=F:ge?Pn=h.createElement(Ae,null):Pn=null;let Jn=null;return V!==void 0?Jn=V:Jn=h.createElement(Zn,null),{clearIcon:It,suffixIcon:Vt,itemIcon:Pn,removeIcon:Jn}}var No=c(2315),ii=c(30087),Lo=c(38717),ai=c(67804),Si=c(92220);const Ui=k=>{const{controlPaddingHorizontal:z}=k;return{position:\"relative\",display:\"block\",minHeight:k.controlHeight,padding:`${(k.controlHeight-k.fontSize*k.lineHeight)/2}px ${z}px`,color:k.colorText,fontWeight:\"normal\",fontSize:k.fontSize,lineHeight:k.lineHeight,boxSizing:\"border-box\"}};var mn=k=>{const{antCls:z,componentCls:Q}=k,F=`${Q}-item`;return[{[`${Q}-dropdown`]:Object.assign(Object.assign({},(0,Si.Wf)(k)),{position:\"absolute\",top:-9999,zIndex:k.zIndexPopup,boxSizing:\"border-box\",padding:k.paddingXXS,overflow:\"hidden\",fontSize:k.fontSize,fontVariant:\"initial\",backgroundColor:k.colorBgElevated,borderRadius:k.borderRadiusLG,outline:\"none\",boxShadow:k.boxShadowSecondary,[`\n            &${z}-slide-up-enter${z}-slide-up-enter-active${Q}-dropdown-placement-bottomLeft,\n            &${z}-slide-up-appear${z}-slide-up-appear-active${Q}-dropdown-placement-bottomLeft\n          `]:{animationName:Lo.fJ},[`\n            &${z}-slide-up-enter${z}-slide-up-enter-active${Q}-dropdown-placement-topLeft,\n            &${z}-slide-up-appear${z}-slide-up-appear-active${Q}-dropdown-placement-topLeft\n          `]:{animationName:Lo.Qt},[`&${z}-slide-up-leave${z}-slide-up-leave-active${Q}-dropdown-placement-bottomLeft`]:{animationName:Lo.Uw},[`&${z}-slide-up-leave${z}-slide-up-leave-active${Q}-dropdown-placement-topLeft`]:{animationName:Lo.ly},\"&-hidden\":{display:\"none\"},\"&-empty\":{color:k.colorTextDisabled},[`${F}-empty`]:Object.assign(Object.assign({},Ui(k)),{color:k.colorTextDisabled}),[`${F}`]:Object.assign(Object.assign({},Ui(k)),{cursor:\"pointer\",transition:`background ${k.motionDurationSlow} ease`,borderRadius:k.borderRadiusSM,\"&-group\":{color:k.colorTextDescription,fontSize:k.fontSizeSM,cursor:\"default\"},\"&-option\":{display:\"flex\",\"&-content\":Object.assign(Object.assign({flex:\"auto\"},Si.vS),{\"> *\":Object.assign({},Si.vS)}),\"&-state\":{flex:\"none\"},[`&-active:not(${F}-option-disabled)`]:{backgroundColor:k.controlItemBgHover},[`&-selected:not(${F}-option-disabled)`]:{color:k.colorText,fontWeight:k.fontWeightStrong,backgroundColor:k.controlItemBgActive,[`${F}-option-state`]:{color:k.colorPrimary}},\"&-disabled\":{[`&${F}-option-selected`]:{backgroundColor:k.colorBgContainerDisabled},color:k.colorTextDisabled,cursor:\"not-allowed\"},\"&-grouped\":{paddingInlineStart:k.controlPaddingHorizontal*2}}}),\"&-rtl\":{direction:\"rtl\"}})},(0,Lo.oN)(k,\"slide-up\"),(0,Lo.oN)(k,\"slide-down\"),(0,ai.Fm)(k,\"move-up\"),(0,ai.Fm)(k,\"move-down\")]};const fr=2;function ft(k){let{controlHeightSM:z,controlHeight:Q,lineWidth:F}=k;const V=(Q-z)/2-F,U=Math.ceil(V/2);return[V,U]}function ct(k,z){const{componentCls:Q,iconCls:F}=k,V=`${Q}-selection-overflow`,U=k.controlHeightSM,[ge]=ft(k),ke=z?`${Q}-${z}`:\"\";return{[`${Q}-multiple${ke}`]:{fontSize:k.fontSize,[V]:{position:\"relative\",display:\"flex\",flex:\"auto\",flexWrap:\"wrap\",maxWidth:\"100%\",\"&-item\":{flex:\"none\",alignSelf:\"center\",maxWidth:\"100%\",display:\"inline-flex\"}},[`${Q}-selector`]:{display:\"flex\",flexWrap:\"wrap\",alignItems:\"center\",padding:`${ge-fr}px ${fr*2}px`,borderRadius:k.borderRadius,[`${Q}-show-search&`]:{cursor:\"text\"},[`${Q}-disabled&`]:{background:k.colorBgContainerDisabled,cursor:\"not-allowed\"},\"&:after\":{display:\"inline-block\",width:0,margin:`${fr}px 0`,lineHeight:`${U}px`,content:'\"\\\\a0\"'}},[`\n        &${Q}-show-arrow ${Q}-selector,\n        &${Q}-allow-clear ${Q}-selector\n      `]:{paddingInlineEnd:k.fontSizeIcon+k.controlPaddingHorizontal},[`${Q}-selection-item`]:{position:\"relative\",display:\"flex\",flex:\"none\",boxSizing:\"border-box\",maxWidth:\"100%\",height:U,marginTop:fr,marginBottom:fr,lineHeight:`${U-k.lineWidth*2}px`,background:k.colorFillSecondary,border:`${k.lineWidth}px solid ${k.colorSplit}`,borderRadius:k.borderRadiusSM,cursor:\"default\",transition:`font-size ${k.motionDurationSlow}, line-height ${k.motionDurationSlow}, height ${k.motionDurationSlow}`,userSelect:\"none\",marginInlineEnd:fr*2,paddingInlineStart:k.paddingXS,paddingInlineEnd:k.paddingXS/2,[`${Q}-disabled&`]:{color:k.colorTextDisabled,borderColor:k.colorBorder,cursor:\"not-allowed\"},\"&-content\":{display:\"inline-block\",marginInlineEnd:k.paddingXS/2,overflow:\"hidden\",whiteSpace:\"pre\",textOverflow:\"ellipsis\"},\"&-remove\":Object.assign(Object.assign({},(0,Si.Ro)()),{display:\"inline-block\",color:k.colorIcon,fontWeight:\"bold\",fontSize:10,lineHeight:\"inherit\",cursor:\"pointer\",[`> ${F}`]:{verticalAlign:\"-0.2em\"},\"&:hover\":{color:k.colorIconHover}})},[`${V}-item + ${V}-item`]:{[`${Q}-selection-search`]:{marginInlineStart:0}},[`${Q}-selection-search`]:{display:\"inline-flex\",position:\"relative\",maxWidth:\"100%\",marginInlineStart:k.inputPaddingHorizontalBase-ge,[`\n          &-input,\n          &-mirror\n        `]:{height:U,fontFamily:k.fontFamily,lineHeight:`${U}px`,transition:`all ${k.motionDurationSlow}`},\"&-input\":{width:\"100%\",minWidth:4.1},\"&-mirror\":{position:\"absolute\",top:0,insetInlineStart:0,insetInlineEnd:\"auto\",zIndex:999,whiteSpace:\"pre\",visibility:\"hidden\"}},[`${Q}-selection-placeholder `]:{position:\"absolute\",top:\"50%\",insetInlineStart:k.inputPaddingHorizontalBase,insetInlineEnd:k.inputPaddingHorizontalBase,transform:\"translateY(-50%)\",transition:`all ${k.motionDurationSlow}`}}}}function tn(k){const{componentCls:z}=k,Q=(0,Mo.TS)(k,{controlHeight:k.controlHeightSM,controlHeightSM:k.controlHeightXS,borderRadius:k.borderRadiusSM,borderRadiusSM:k.borderRadiusXS}),[,F]=ft(k);return[ct(k),ct(Q,\"sm\"),{[`${z}-multiple${z}-sm`]:{[`${z}-selection-placeholder`]:{insetInline:k.controlPaddingHorizontalSM-k.lineWidth},[`${z}-selection-search`]:{marginInlineStart:F}}},ct((0,Mo.TS)(k,{fontSize:k.fontSizeLG,controlHeight:k.controlHeightLG,controlHeightSM:k.controlHeight,borderRadius:k.borderRadiusLG,borderRadiusSM:k.borderRadius}),\"lg\")]}function An(k,z){const{componentCls:Q,inputPaddingHorizontalBase:F,borderRadius:V}=k,U=k.controlHeight-k.lineWidth*2,ge=Math.ceil(k.fontSize*1.25),ke=z?`${Q}-${z}`:\"\";return{[`${Q}-single${ke}`]:{fontSize:k.fontSize,[`${Q}-selector`]:Object.assign(Object.assign({},(0,Si.Wf)(k)),{display:\"flex\",borderRadius:V,[`${Q}-selection-search`]:{position:\"absolute\",top:0,insetInlineStart:F,insetInlineEnd:F,bottom:0,\"&-input\":{width:\"100%\"}},[`\n          ${Q}-selection-item,\n          ${Q}-selection-placeholder\n        `]:{padding:0,lineHeight:`${U}px`,transition:`all ${k.motionDurationSlow}`,\"@supports (-moz-appearance: meterbar)\":{lineHeight:`${U}px`}},[`${Q}-selection-item`]:{position:\"relative\",userSelect:\"none\"},[`${Q}-selection-placeholder`]:{transition:\"none\",pointerEvents:\"none\"},[[\"&:after\",`${Q}-selection-item:after`,`${Q}-selection-placeholder:after`].join(\",\")]:{display:\"inline-block\",width:0,visibility:\"hidden\",content:'\"\\\\a0\"'}}),[`\n        &${Q}-show-arrow ${Q}-selection-item,\n        &${Q}-show-arrow ${Q}-selection-placeholder\n      `]:{paddingInlineEnd:ge},[`&${Q}-open ${Q}-selection-item`]:{color:k.colorTextPlaceholder},[`&:not(${Q}-customize-input)`]:{[`${Q}-selector`]:{width:\"100%\",height:k.controlHeight,padding:`0 ${F}px`,[`${Q}-selection-search-input`]:{height:U},\"&:after\":{lineHeight:`${U}px`}}},[`&${Q}-customize-input`]:{[`${Q}-selector`]:{\"&:after\":{display:\"none\"},[`${Q}-selection-search`]:{position:\"static\",width:\"100%\"},[`${Q}-selection-placeholder`]:{position:\"absolute\",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${F}px`,\"&:after\":{display:\"none\"}}}}}}}function Rt(k){const{componentCls:z}=k,Q=k.controlPaddingHorizontalSM-k.lineWidth;return[An(k),An((0,Mo.TS)(k,{controlHeight:k.controlHeightSM,borderRadius:k.borderRadiusSM}),\"sm\"),{[`${z}-single${z}-sm`]:{[`&:not(${z}-customize-input)`]:{[`${z}-selection-search`]:{insetInlineStart:Q,insetInlineEnd:Q},[`${z}-selector`]:{padding:`0 ${Q}px`},[`&${z}-show-arrow ${z}-selection-search`]:{insetInlineEnd:Q+k.fontSize*1.5},[`\n            &${z}-show-arrow ${z}-selection-item,\n            &${z}-show-arrow ${z}-selection-placeholder\n          `]:{paddingInlineEnd:k.fontSize*1.5}}}},An((0,Mo.TS)(k,{controlHeight:k.controlHeightLG,fontSize:k.fontSizeLG,borderRadius:k.borderRadiusLG}),\"lg\")]}var un=c(36717);const Dn=k=>{const{componentCls:z}=k;return{position:\"relative\",backgroundColor:k.colorBgContainer,border:`${k.lineWidth}px ${k.lineType} ${k.colorBorder}`,transition:`all ${k.motionDurationMid} ${k.motionEaseInOut}`,input:{cursor:\"pointer\"},[`${z}-show-search&`]:{cursor:\"text\",input:{cursor:\"auto\",color:\"inherit\"}},[`${z}-disabled&`]:{color:k.colorTextDisabled,background:k.colorBgContainerDisabled,cursor:\"not-allowed\",[`${z}-multiple&`]:{background:k.colorBgContainerDisabled},input:{cursor:\"not-allowed\"}}}},dr=function(k,z){let Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:F,borderHoverColor:V,outlineColor:U,antCls:ge}=z,ke=Q?{[`${F}-selector`]:{borderColor:V}}:{};return{[k]:{[`&:not(${F}-disabled):not(${F}-customize-input):not(${ge}-pagination-size-changer)`]:Object.assign(Object.assign({},ke),{[`${F}-focused& ${F}-selector`]:{borderColor:V,boxShadow:`0 0 0 ${z.controlOutlineWidth}px ${U}`,outline:0},[`&:hover ${F}-selector`]:{borderColor:V}})}}},Ar=k=>{const{componentCls:z}=k;return{[`${z}-selection-search-input`]:{margin:0,padding:0,background:\"transparent\",border:\"none\",outline:\"none\",appearance:\"none\",\"&::-webkit-search-cancel-button\":{display:\"none\",\"-webkit-appearance\":\"none\"}}}},Gr=k=>{const{componentCls:z,inputPaddingHorizontalBase:Q,iconCls:F}=k;return{[z]:Object.assign(Object.assign({},(0,Si.Wf)(k)),{position:\"relative\",display:\"inline-block\",cursor:\"pointer\",[`&:not(${z}-customize-input) ${z}-selector`]:Object.assign(Object.assign({},Dn(k)),Ar(k)),[`${z}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:\"normal\"},Si.vS),{\"> *\":Object.assign({lineHeight:\"inherit\"},Si.vS)}),[`${z}-selection-placeholder`]:Object.assign(Object.assign({},Si.vS),{flex:1,color:k.colorTextPlaceholder,pointerEvents:\"none\"}),[`${z}-arrow`]:Object.assign(Object.assign({},(0,Si.Ro)()),{position:\"absolute\",top:\"50%\",insetInlineStart:\"auto\",insetInlineEnd:Q,height:k.fontSizeIcon,marginTop:-k.fontSizeIcon/2,color:k.colorTextQuaternary,fontSize:k.fontSizeIcon,lineHeight:1,textAlign:\"center\",pointerEvents:\"none\",display:\"flex\",alignItems:\"center\",[F]:{verticalAlign:\"top\",transition:`transform ${k.motionDurationSlow}`,\"> svg\":{verticalAlign:\"top\"},[`&:not(${z}-suffix)`]:{pointerEvents:\"auto\"}},[`${z}-disabled &`]:{cursor:\"not-allowed\"},\"> *:not(:last-child)\":{marginInlineEnd:8}}),[`${z}-clear`]:{position:\"absolute\",top:\"50%\",insetInlineStart:\"auto\",insetInlineEnd:Q,zIndex:1,display:\"inline-block\",width:k.fontSizeIcon,height:k.fontSizeIcon,marginTop:-k.fontSizeIcon/2,color:k.colorTextQuaternary,fontSize:k.fontSizeIcon,fontStyle:\"normal\",lineHeight:1,textAlign:\"center\",textTransform:\"none\",background:k.colorBgContainer,cursor:\"pointer\",opacity:0,transition:`color ${k.motionDurationMid} ease, opacity ${k.motionDurationSlow} ease`,textRendering:\"auto\",\"&:before\":{display:\"block\"},\"&:hover\":{color:k.colorTextTertiary}},\"&:hover\":{[`${z}-clear`]:{opacity:1}}}),[`${z}-has-feedback`]:{[`${z}-clear`]:{insetInlineEnd:Q+k.fontSize+k.paddingXXS}}}},Pr=k=>{const{componentCls:z}=k;return[{[z]:{[`&-borderless ${z}-selector`]:{backgroundColor:\"transparent !important\",borderColor:\"transparent !important\",boxShadow:\"none !important\"},[`&${z}-in-form-item`]:{width:\"100%\"}}},Gr(k),Rt(k),tn(k),mn(k),{[`${z}-rtl`]:{direction:\"rtl\"}},dr(z,(0,Mo.TS)(k,{borderHoverColor:k.colorPrimaryHover,outlineColor:k.controlOutline})),dr(`${z}-status-error`,(0,Mo.TS)(k,{borderHoverColor:k.colorErrorHover,outlineColor:k.colorErrorOutline}),!0),dr(`${z}-status-warning`,(0,Mo.TS)(k,{borderHoverColor:k.colorWarningHover,outlineColor:k.colorWarningOutline}),!0),(0,un.c)(k,{borderElCls:`${z}-selector`,focusElCls:`${z}-focused`})]};var Xr=(0,Co.Z)(\"Select\",(k,z)=>{let{rootPrefixCls:Q}=z;const F=(0,Mo.TS)(k,{rootPrefixCls:Q,inputPaddingHorizontalBase:k.paddingSM-1});return[Pr(F)]},k=>({zIndexPopup:k.zIndexPopupBase+50}));function oo(k){return k!=null?k:!0}var io=function(k,z){var Q={};for(var F in k)Object.prototype.hasOwnProperty.call(k,F)&&z.indexOf(F)<0&&(Q[F]=k[F]);if(k!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var V=0,F=Object.getOwnPropertySymbols(k);V<F.length;V++)z.indexOf(F[V])<0&&Object.prototype.propertyIsEnumerable.call(k,F[V])&&(Q[F[V]]=k[F[V]]);return Q};const to=\"SECRET_COMBOBOX_MODE_DO_NOT_USE\",To=(k,z)=>{var{prefixCls:Q,bordered:F=!0,className:V,rootClassName:U,getPopupContainer:ge,popupClassName:ke,dropdownClassName:St,listHeight:Je=256,placement:Ot,listItemHeight:It=24,size:jt,disabled:Vt,notFoundContent:Pn,status:Jn,showArrow:vn}=k,Vn=io(k,[\"prefixCls\",\"bordered\",\"className\",\"rootClassName\",\"getPopupContainer\",\"popupClassName\",\"dropdownClassName\",\"listHeight\",\"placement\",\"listItemHeight\",\"size\",\"disabled\",\"notFoundContent\",\"status\",\"showArrow\"]);const{getPopupContainer:zt,getPrefixCls:ir,renderEmpty:nr,direction:ur,virtual:sr,dropdownMatchSelectWidth:Ln,select:Bt}=h.useContext(wi.E_),En=h.useContext(Re.Z),_n=ir(\"select\",Q),cr=ir(),{compactSize:ao,compactItemClassnames:kr}=(0,No.ri)(_n,ur),[jo,ui]=Xr(_n),Vr=h.useMemo(()=>{const{mode:Oa}=Vn;if(Oa!==\"combobox\")return Oa===to?\"combobox\":Oa},[Vn.mode]),ho=Vr===\"multiple\"||Vr===\"tags\",vo=oo(vn),{status:uo,hasFeedback:Go,isFormItemInput:Pi,feedbackIcon:la}=h.useContext(je.aM),Vi=(0,rt.F)(uo,Jn);let ha;Pn!==void 0?ha=Pn:Vr===\"combobox\"?ha=null:ha=(nr==null?void 0:nr(\"Select\"))||h.createElement(zi,{componentName:\"Select\"});const{suffixIcon:xa,itemIcon:qi,removeIcon:Jo,clearIcon:Ji}=_o(Object.assign(Object.assign({},Vn),{multiple:ho,hasFeedback:Go,feedbackIcon:la,showArrow:vo,prefixCls:_n})),Yi=(0,Zt.Z)(Vn,[\"suffixIcon\",\"itemIcon\"]),Ii=y()(ke||St,{[`${_n}-dropdown-${ur}`]:ur===\"rtl\"},U,ui),pa=ao||jt||En,na=h.useContext(br.Z),$i=Vt!=null?Vt:na,La=y()({[`${_n}-lg`]:pa===\"large\",[`${_n}-sm`]:pa===\"small\",[`${_n}-rtl`]:ur===\"rtl\",[`${_n}-borderless`]:!F,[`${_n}-in-form-item`]:Pi},(0,rt.Z)(_n,Vi,Go),kr,V,U,ui),ss=()=>Ot!==void 0?Ot:ur===\"rtl\"?\"bottomRight\":\"bottomLeft\";return jo(h.createElement(Ti,Object.assign({ref:z,virtual:sr,dropdownMatchSelectWidth:Ln,showSearch:Bt==null?void 0:Bt.showSearch},Yi,{transitionName:(0,nt.mL)(cr,(0,nt.q0)(Ot),Vn.transitionName),listHeight:Je,listItemHeight:It,mode:Vr,prefixCls:_n,placement:ss(),direction:ur,inputIcon:xa,menuItemSelectedIcon:qi,removeIcon:Jo,clearIcon:Ji,notFoundContent:ha,className:La,getPopupContainer:ge||zt,dropdownClassName:Ii,showArrow:Go||vo,disabled:$i})))},jn=h.forwardRef(To),W=(0,ii.Z)(jn);jn.SECRET_COMBOBOX_MODE_DO_NOT_USE=to,jn.Option=Gt,jn.OptGroup=Ur,jn._InternalPanelDoNotUseOrYouWillBeFired=W;var P=jn},2315:function(Pt,Ee,c){\"use strict\";c.d(Ee,{BR:function(){return a},ri:function(){return u}});var r=c(84875),y=c.n(r),N=c(16030),C=c(50959),w=c(35531),O=c(95511),b=function(l,s){var m={};for(var x in l)Object.prototype.hasOwnProperty.call(l,x)&&s.indexOf(x)<0&&(m[x]=l[x]);if(l!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var M=0,x=Object.getOwnPropertySymbols(l);M<x.length;M++)s.indexOf(x[M])<0&&Object.prototype.propertyIsEnumerable.call(l,x[M])&&(m[x[M]]=l[x[M]]);return m};const p=C.createContext(null),u=(l,s)=>{const m=C.useContext(p),x=C.useMemo(()=>{if(!m)return\"\";const{compactDirection:M,isFirstItem:E,isLastItem:j}=m,L=M===\"vertical\"?\"-vertical-\":\"-\";return y()({[`${l}-compact${L}item`]:!0,[`${l}-compact${L}first-item`]:E,[`${l}-compact${L}last-item`]:j,[`${l}-compact${L}item-rtl`]:s===\"rtl\"})},[l,s,m]);return{compactSize:m==null?void 0:m.compactSize,compactDirection:m==null?void 0:m.compactDirection,compactItemClassnames:x}},a=l=>{let{children:s}=l;return C.createElement(p.Provider,{value:null},s)},f=l=>{var{children:s}=l,m=b(l,[\"children\"]);return C.createElement(p.Provider,{value:m},s)},h=l=>{const{getPrefixCls:s,direction:m}=C.useContext(w.E_),{size:x=\"middle\",direction:M,block:E,prefixCls:j,className:L,rootClassName:A,children:J}=l,q=b(l,[\"size\",\"direction\",\"block\",\"prefixCls\",\"className\",\"rootClassName\",\"children\"]),re=s(\"space-compact\",j),[me,Te]=(0,O.Z)(re),ee=y()(re,Te,{[`${re}-rtl`]:m===\"rtl\",[`${re}-block`]:E,[`${re}-vertical`]:M===\"vertical\"},L,A),xe=C.useContext(p),Ie=(0,N.Z)(J),Le=C.useMemo(()=>Ie.map((De,ce)=>{const ye=De&&De.key||`${re}-item-${ce}`;return C.createElement(f,{key:ye,compactSize:x,compactDirection:M,isFirstItem:ce===0&&(!xe||(xe==null?void 0:xe.isFirstItem)),isLastItem:ce===Ie.length-1&&(!xe||(xe==null?void 0:xe.isLastItem))},De)}),[x,Ie,xe]);return Ie.length===0?null:me(C.createElement(\"div\",Object.assign({className:ee},q),Le))};Ee.ZP=h},95511:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return w}});var r=c(72267),N=O=>{const{componentCls:b}=O;return{[b]:{display:\"inline-flex\",\"&-block\":{display:\"flex\",width:\"100%\"},\"&-vertical\":{flexDirection:\"column\"}}}};const C=O=>{const{componentCls:b}=O;return{[b]:{display:\"inline-flex\",\"&-rtl\":{direction:\"rtl\"},\"&-vertical\":{flexDirection:\"column\"},\"&-align\":{flexDirection:\"column\",\"&-center\":{alignItems:\"center\"},\"&-start\":{alignItems:\"flex-start\"},\"&-end\":{alignItems:\"flex-end\"},\"&-baseline\":{alignItems:\"baseline\"}},[`${b}-item`]:{\"&:empty\":{display:\"none\"}}}}};var w=(0,r.Z)(\"Space\",O=>[C(O),N(O)])},36717:function(Pt,Ee,c){\"use strict\";c.d(Ee,{c:function(){return N}});function r(C,w,O){const{focusElCls:b,focus:p,borderElCls:u}=O,a=u?\"> *\":\"\",f=[\"hover\",p?\"focus\":null,\"active\"].filter(Boolean).map(h=>`&:${h} ${a}`).join(\",\");return{[`&-item:not(${w}-last-item)`]:{marginInlineEnd:-C.lineWidth},\"&-item\":Object.assign(Object.assign({[f]:{zIndex:2}},b?{[`&${b}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}function y(C,w,O){const{borderElCls:b}=O,p=b?`> ${b}`:\"\";return{[`&-item:not(${w}-first-item):not(${w}-last-item) ${p}`]:{borderRadius:0},[`&-item:not(${w}-last-item)${w}-first-item`]:{[`& ${p}, &${C}-sm ${p}, &${C}-lg ${p}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${w}-first-item)${w}-last-item`]:{[`& ${p}, &${C}-sm ${p}, &${C}-lg ${p}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function N(C){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:O}=C,b=`${O}-compact`;return{[b]:Object.assign(Object.assign({},r(C,b,w)),y(O,b,w))}}},92220:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Lx:function(){return w},Qy:function(){return p},Ro:function(){return N},Wf:function(){return y},dF:function(){return C},du:function(){return O},oN:function(){return b},vS:function(){return r}});const r={overflow:\"hidden\",whiteSpace:\"nowrap\",textOverflow:\"ellipsis\"},y=u=>({boxSizing:\"border-box\",margin:0,padding:0,color:u.colorText,fontSize:u.fontSize,lineHeight:u.lineHeight,listStyle:\"none\",fontFamily:u.fontFamily}),N=()=>({display:\"inline-flex\",alignItems:\"center\",color:\"inherit\",fontStyle:\"normal\",lineHeight:0,textAlign:\"center\",textTransform:\"none\",verticalAlign:\"-0.125em\",textRendering:\"optimizeLegibility\",\"-webkit-font-smoothing\":\"antialiased\",\"-moz-osx-font-smoothing\":\"grayscale\",\"> *\":{lineHeight:1},svg:{display:\"inline-block\"}}),C=()=>({\"&::before\":{display:\"table\",content:'\"\"'},\"&::after\":{display:\"table\",clear:\"both\",content:'\"\"'}}),w=u=>({a:{color:u.colorLink,textDecoration:u.linkDecoration,backgroundColor:\"transparent\",outline:\"none\",cursor:\"pointer\",transition:`color ${u.motionDurationSlow}`,\"-webkit-text-decoration-skip\":\"objects\",\"&:hover\":{color:u.colorLinkHover},\"&:active\":{color:u.colorLinkActive},[`&:active,\n  &:hover`]:{textDecoration:u.linkHoverDecoration,outline:0},\"&:focus\":{textDecoration:u.linkFocusDecoration,outline:0},\"&[disabled]\":{color:u.colorTextDisabled,cursor:\"not-allowed\"}}}),O=(u,a)=>{const{fontFamily:f,fontSize:h}=u,l=`[class^=\"${a}\"], [class*=\" ${a}\"]`;return{[l]:{fontFamily:f,fontSize:h,boxSizing:\"border-box\",\"&::before, &::after\":{boxSizing:\"border-box\"},[l]:{boxSizing:\"border-box\",\"&::before, &::after\":{boxSizing:\"border-box\"}}}}},b=u=>({outline:`${u.lineWidthFocus}px solid ${u.colorPrimaryBorder}`,outlineOffset:1,transition:\"outline-offset 0s, outline 0s\"}),p=u=>({\"&:focus-visible\":Object.assign({},b(u))})},74820:function(Pt,Ee){\"use strict\";const c=r=>({[r.componentCls]:{[`${r.antCls}-motion-collapse-legacy`]:{overflow:\"hidden\",\"&-active\":{transition:`height ${r.motionDurationMid} ${r.motionEaseInOut},\n        opacity ${r.motionDurationMid} ${r.motionEaseInOut} !important`}},[`${r.antCls}-motion-collapse`]:{overflow:\"hidden\",transition:`height ${r.motionDurationMid} ${r.motionEaseInOut},\n        opacity ${r.motionDurationMid} ${r.motionEaseInOut} !important`}}});Ee.Z=c},13884:function(Pt,Ee,c){\"use strict\";c.d(Ee,{R:function(){return N}});const r=C=>({animationDuration:C,animationFillMode:\"both\"}),y=C=>({animationDuration:C,animationFillMode:\"both\"}),N=function(C,w,O,b){const u=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?\"&\":\"\";return{[`\n      ${u}${C}-enter,\n      ${u}${C}-appear\n    `]:Object.assign(Object.assign({},r(b)),{animationPlayState:\"paused\"}),[`${u}${C}-leave`]:Object.assign(Object.assign({},y(b)),{animationPlayState:\"paused\"}),[`\n      ${u}${C}-enter${C}-enter-active,\n      ${u}${C}-appear${C}-appear-active\n    `]:{animationName:w,animationPlayState:\"running\"},[`${u}${C}-leave${C}-leave-active`]:{animationName:O,animationPlayState:\"running\",pointerEvents:\"none\"}}}},67804:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Fm:function(){return h}});var r=c(8439),y=c(13884);const N=new r.E4(\"antMoveDownIn\",{\"0%\":{transform:\"translate3d(0, 100%, 0)\",transformOrigin:\"0 0\",opacity:0},\"100%\":{transform:\"translate3d(0, 0, 0)\",transformOrigin:\"0 0\",opacity:1}}),C=new r.E4(\"antMoveDownOut\",{\"0%\":{transform:\"translate3d(0, 0, 0)\",transformOrigin:\"0 0\",opacity:1},\"100%\":{transform:\"translate3d(0, 100%, 0)\",transformOrigin:\"0 0\",opacity:0}}),w=new r.E4(\"antMoveLeftIn\",{\"0%\":{transform:\"translate3d(-100%, 0, 0)\",transformOrigin:\"0 0\",opacity:0},\"100%\":{transform:\"translate3d(0, 0, 0)\",transformOrigin:\"0 0\",opacity:1}}),O=new r.E4(\"antMoveLeftOut\",{\"0%\":{transform:\"translate3d(0, 0, 0)\",transformOrigin:\"0 0\",opacity:1},\"100%\":{transform:\"translate3d(-100%, 0, 0)\",transformOrigin:\"0 0\",opacity:0}}),b=new r.E4(\"antMoveRightIn\",{\"0%\":{transform:\"translate3d(100%, 0, 0)\",transformOrigin:\"0 0\",opacity:0},\"100%\":{transform:\"translate3d(0, 0, 0)\",transformOrigin:\"0 0\",opacity:1}}),p=new r.E4(\"antMoveRightOut\",{\"0%\":{transform:\"translate3d(0, 0, 0)\",transformOrigin:\"0 0\",opacity:1},\"100%\":{transform:\"translate3d(100%, 0, 0)\",transformOrigin:\"0 0\",opacity:0}}),u=new r.E4(\"antMoveUpIn\",{\"0%\":{transform:\"translate3d(0, -100%, 0)\",transformOrigin:\"0 0\",opacity:0},\"100%\":{transform:\"translate3d(0, 0, 0)\",transformOrigin:\"0 0\",opacity:1}}),a=new r.E4(\"antMoveUpOut\",{\"0%\":{transform:\"translate3d(0, 0, 0)\",transformOrigin:\"0 0\",opacity:1},\"100%\":{transform:\"translate3d(0, -100%, 0)\",transformOrigin:\"0 0\",opacity:0}}),f={\"move-up\":{inKeyframes:u,outKeyframes:a},\"move-down\":{inKeyframes:N,outKeyframes:C},\"move-left\":{inKeyframes:w,outKeyframes:O},\"move-right\":{inKeyframes:b,outKeyframes:p}},h=(l,s)=>{const{antCls:m}=l,x=`${m}-${s}`,{inKeyframes:M,outKeyframes:E}=f[s];return[(0,y.R)(x,M,E,l.motionDurationMid),{[`\n        ${x}-enter,\n        ${x}-appear\n      `]:{opacity:0,animationTimingFunction:l.motionEaseOutCirc},[`${x}-leave`]:{animationTimingFunction:l.motionEaseInOutCirc}}]}},38717:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Qt:function(){return w},Uw:function(){return C},fJ:function(){return N},ly:function(){return O},oN:function(){return h}});var r=c(8439),y=c(13884);const N=new r.E4(\"antSlideUpIn\",{\"0%\":{transform:\"scaleY(0.8)\",transformOrigin:\"0% 0%\",opacity:0},\"100%\":{transform:\"scaleY(1)\",transformOrigin:\"0% 0%\",opacity:1}}),C=new r.E4(\"antSlideUpOut\",{\"0%\":{transform:\"scaleY(1)\",transformOrigin:\"0% 0%\",opacity:1},\"100%\":{transform:\"scaleY(0.8)\",transformOrigin:\"0% 0%\",opacity:0}}),w=new r.E4(\"antSlideDownIn\",{\"0%\":{transform:\"scaleY(0.8)\",transformOrigin:\"100% 100%\",opacity:0},\"100%\":{transform:\"scaleY(1)\",transformOrigin:\"100% 100%\",opacity:1}}),O=new r.E4(\"antSlideDownOut\",{\"0%\":{transform:\"scaleY(1)\",transformOrigin:\"100% 100%\",opacity:1},\"100%\":{transform:\"scaleY(0.8)\",transformOrigin:\"100% 100%\",opacity:0}}),b=new r.E4(\"antSlideLeftIn\",{\"0%\":{transform:\"scaleX(0.8)\",transformOrigin:\"0% 0%\",opacity:0},\"100%\":{transform:\"scaleX(1)\",transformOrigin:\"0% 0%\",opacity:1}}),p=new r.E4(\"antSlideLeftOut\",{\"0%\":{transform:\"scaleX(1)\",transformOrigin:\"0% 0%\",opacity:1},\"100%\":{transform:\"scaleX(0.8)\",transformOrigin:\"0% 0%\",opacity:0}}),u=new r.E4(\"antSlideRightIn\",{\"0%\":{transform:\"scaleX(0.8)\",transformOrigin:\"100% 0%\",opacity:0},\"100%\":{transform:\"scaleX(1)\",transformOrigin:\"100% 0%\",opacity:1}}),a=new r.E4(\"antSlideRightOut\",{\"0%\":{transform:\"scaleX(1)\",transformOrigin:\"100% 0%\",opacity:1},\"100%\":{transform:\"scaleX(0.8)\",transformOrigin:\"100% 0%\",opacity:0}}),f={\"slide-up\":{inKeyframes:N,outKeyframes:C},\"slide-down\":{inKeyframes:w,outKeyframes:O},\"slide-left\":{inKeyframes:b,outKeyframes:p},\"slide-right\":{inKeyframes:u,outKeyframes:a}},h=(l,s)=>{const{antCls:m}=l,x=`${m}-${s}`,{inKeyframes:M,outKeyframes:E}=f[s];return[(0,y.R)(x,M,E,l.motionDurationMid),{[`\n      ${x}-enter,\n      ${x}-appear\n    `]:{transform:\"scale(0)\",transformOrigin:\"0% 0%\",opacity:0,animationTimingFunction:l.motionEaseOutQuint,[\"&-prepare\"]:{transform:\"scale(1)\"}},[`${x}-leave`]:{animationTimingFunction:l.motionEaseInQuint}}]}},40949:function(Pt,Ee,c){\"use strict\";c.d(Ee,{_y:function(){return x}});var r=c(8439),y=c(13884);const N=new r.E4(\"antZoomIn\",{\"0%\":{transform:\"scale(0.2)\",opacity:0},\"100%\":{transform:\"scale(1)\",opacity:1}}),C=new r.E4(\"antZoomOut\",{\"0%\":{transform:\"scale(1)\"},\"100%\":{transform:\"scale(0.2)\",opacity:0}}),w=new r.E4(\"antZoomBigIn\",{\"0%\":{transform:\"scale(0.8)\",opacity:0},\"100%\":{transform:\"scale(1)\",opacity:1}}),O=new r.E4(\"antZoomBigOut\",{\"0%\":{transform:\"scale(1)\"},\"100%\":{transform:\"scale(0.8)\",opacity:0}}),b=new r.E4(\"antZoomUpIn\",{\"0%\":{transform:\"scale(0.8)\",transformOrigin:\"50% 0%\",opacity:0},\"100%\":{transform:\"scale(1)\",transformOrigin:\"50% 0%\"}}),p=new r.E4(\"antZoomUpOut\",{\"0%\":{transform:\"scale(1)\",transformOrigin:\"50% 0%\"},\"100%\":{transform:\"scale(0.8)\",transformOrigin:\"50% 0%\",opacity:0}}),u=new r.E4(\"antZoomLeftIn\",{\"0%\":{transform:\"scale(0.8)\",transformOrigin:\"0% 50%\",opacity:0},\"100%\":{transform:\"scale(1)\",transformOrigin:\"0% 50%\"}}),a=new r.E4(\"antZoomLeftOut\",{\"0%\":{transform:\"scale(1)\",transformOrigin:\"0% 50%\"},\"100%\":{transform:\"scale(0.8)\",transformOrigin:\"0% 50%\",opacity:0}}),f=new r.E4(\"antZoomRightIn\",{\"0%\":{transform:\"scale(0.8)\",transformOrigin:\"100% 50%\",opacity:0},\"100%\":{transform:\"scale(1)\",transformOrigin:\"100% 50%\"}}),h=new r.E4(\"antZoomRightOut\",{\"0%\":{transform:\"scale(1)\",transformOrigin:\"100% 50%\"},\"100%\":{transform:\"scale(0.8)\",transformOrigin:\"100% 50%\",opacity:0}}),l=new r.E4(\"antZoomDownIn\",{\"0%\":{transform:\"scale(0.8)\",transformOrigin:\"50% 100%\",opacity:0},\"100%\":{transform:\"scale(1)\",transformOrigin:\"50% 100%\"}}),s=new r.E4(\"antZoomDownOut\",{\"0%\":{transform:\"scale(1)\",transformOrigin:\"50% 100%\"},\"100%\":{transform:\"scale(0.8)\",transformOrigin:\"50% 100%\",opacity:0}}),m={zoom:{inKeyframes:N,outKeyframes:C},\"zoom-big\":{inKeyframes:w,outKeyframes:O},\"zoom-big-fast\":{inKeyframes:w,outKeyframes:O},\"zoom-left\":{inKeyframes:u,outKeyframes:a},\"zoom-right\":{inKeyframes:f,outKeyframes:h},\"zoom-up\":{inKeyframes:b,outKeyframes:p},\"zoom-down\":{inKeyframes:l,outKeyframes:s}},x=(M,E)=>{const{antCls:j}=M,L=`${j}-${E}`,{inKeyframes:A,outKeyframes:J}=m[E];return[(0,y.R)(L,A,J,E===\"zoom-big-fast\"?M.motionDurationFast:M.motionDurationMid),{[`\n        ${L}-enter,\n        ${L}-appear\n      `]:{transform:\"scale(0)\",opacity:0,animationTimingFunction:M.motionEaseOutCirc,\"&-prepare\":{transform:\"none\"}},[`${L}-leave`]:{animationTimingFunction:M.motionEaseInOutCirc}}]}},58917:function(Pt,Ee,c){\"use strict\";c.d(Ee,{qN:function(){return y},ZP:function(){return w},fS:function(){return N}});const r=(O,b,p,u,a)=>{const f=O/2,h=0,l=f,s=p*1/Math.sqrt(2),m=f-p*(1-1/Math.sqrt(2)),x=f-b*(1/Math.sqrt(2)),M=p*(Math.sqrt(2)-1)+b*(1/Math.sqrt(2)),E=2*f-x,j=M,L=2*f-s,A=m,J=2*f-h,q=l,re=f*Math.sqrt(2)+p*(Math.sqrt(2)-2);return{pointerEvents:\"none\",width:O,height:O,overflow:\"hidden\",\"&::before\":{position:\"absolute\",bottom:0,insetInlineStart:0,width:O,height:O/2,background:u,clipPath:`path('M ${h} ${l} A ${p} ${p} 0 0 0 ${s} ${m} L ${x} ${M} A ${b} ${b} 0 0 1 ${E} ${j} L ${L} ${A} A ${p} ${p} 0 0 0 ${J} ${q} Z')`,content:'\"\"'},\"&::after\":{content:'\"\"',position:\"absolute\",width:re,height:re,bottom:0,insetInline:0,margin:\"auto\",borderRadius:{_skip_check_:!0,value:`0 0 ${b}px 0`},transform:\"translateY(50%) rotate(-135deg)\",boxShadow:a,zIndex:0,background:\"transparent\"}}},y=8;function N(O){const b=y,{contentRadius:p,limitVerticalRadius:u}=O,a=p>12?p+2:12;return{dropdownArrowOffset:a,dropdownArrowOffsetVertical:u?b:a}}function C(O,b){return O?b:{}}function w(O,b){const{componentCls:p,sizePopupArrow:u,borderRadiusXS:a,borderRadiusOuter:f,boxShadowPopoverArrow:h}=O,{colorBg:l,contentRadius:s=O.borderRadiusLG,limitVerticalRadius:m,arrowDistance:x=0,arrowPlacement:M={left:!0,right:!0,top:!0,bottom:!0}}=b,{dropdownArrowOffsetVertical:E,dropdownArrowOffset:j}=N({contentRadius:s,limitVerticalRadius:m});return{[p]:Object.assign(Object.assign(Object.assign(Object.assign({[`${p}-arrow`]:[Object.assign(Object.assign({position:\"absolute\",zIndex:1,display:\"block\"},r(u,a,f,l,h)),{\"&:before\":{background:l}})]},C(!!M.top,{[[`&-placement-top ${p}-arrow`,`&-placement-topLeft ${p}-arrow`,`&-placement-topRight ${p}-arrow`].join(\",\")]:{bottom:x,transform:\"translateY(100%) rotate(180deg)\"},[`&-placement-top ${p}-arrow`]:{left:{_skip_check_:!0,value:\"50%\"},transform:\"translateX(-50%) translateY(100%) rotate(180deg)\"},[`&-placement-topLeft ${p}-arrow`]:{left:{_skip_check_:!0,value:j}},[`&-placement-topRight ${p}-arrow`]:{right:{_skip_check_:!0,value:j}}})),C(!!M.bottom,{[[`&-placement-bottom ${p}-arrow`,`&-placement-bottomLeft ${p}-arrow`,`&-placement-bottomRight ${p}-arrow`].join(\",\")]:{top:x,transform:\"translateY(-100%)\"},[`&-placement-bottom ${p}-arrow`]:{left:{_skip_check_:!0,value:\"50%\"},transform:\"translateX(-50%) translateY(-100%)\"},[`&-placement-bottomLeft ${p}-arrow`]:{left:{_skip_check_:!0,value:j}},[`&-placement-bottomRight ${p}-arrow`]:{right:{_skip_check_:!0,value:j}}})),C(!!M.left,{[[`&-placement-left ${p}-arrow`,`&-placement-leftTop ${p}-arrow`,`&-placement-leftBottom ${p}-arrow`].join(\",\")]:{right:{_skip_check_:!0,value:x},transform:\"translateX(100%) rotate(90deg)\"},[`&-placement-left ${p}-arrow`]:{top:{_skip_check_:!0,value:\"50%\"},transform:\"translateY(-50%) translateX(100%) rotate(90deg)\"},[`&-placement-leftTop ${p}-arrow`]:{top:E},[`&-placement-leftBottom ${p}-arrow`]:{bottom:E}})),C(!!M.right,{[[`&-placement-right ${p}-arrow`,`&-placement-rightTop ${p}-arrow`,`&-placement-rightBottom ${p}-arrow`].join(\",\")]:{left:{_skip_check_:!0,value:x},transform:\"translateX(-100%) rotate(-90deg)\"},[`&-placement-right ${p}-arrow`]:{top:{_skip_check_:!0,value:\"50%\"},transform:\"translateY(-50%) translateX(-100%) rotate(-90deg)\"},[`&-placement-rightTop ${p}-arrow`]:{top:E},[`&-placement-rightBottom ${p}-arrow`]:{bottom:E}}))}}},28628:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return j}});var r=c(25990),y=c(71704),N=c(81548),C=c(58526),w=c(98069),O=c(99590);const b=(L,A)=>new O.C(L).setAlpha(A).toRgbString(),p=(L,A)=>new O.C(L).lighten(A).toHexString(),u=L=>{const A=(0,N.R_)(L,{theme:\"dark\"});return{1:A[0],2:A[1],3:A[2],4:A[3],5:A[6],6:A[5],7:A[4],8:A[6],9:A[5],10:A[4]}},a=(L,A)=>{const J=L||\"#000\",q=A||\"#fff\";return{colorBgBase:J,colorTextBase:q,colorText:b(q,.85),colorTextSecondary:b(q,.65),colorTextTertiary:b(q,.45),colorTextQuaternary:b(q,.25),colorFill:b(q,.18),colorFillSecondary:b(q,.12),colorFillTertiary:b(q,.08),colorFillQuaternary:b(q,.04),colorBgElevated:p(J,12),colorBgContainer:p(J,8),colorBgLayout:p(J,0),colorBgSpotlight:p(J,26),colorBorder:p(J,26),colorBorderSecondary:p(J,19)}};var h=(L,A)=>{const J=Object.keys(C.M).map(re=>{const me=(0,N.R_)(L[re],{theme:\"dark\"});return new Array(10).fill(1).reduce((Te,ee,xe)=>(Te[`${re}-${xe+1}`]=me[xe],Te[`${re}${xe+1}`]=me[xe],Te),{})}).reduce((re,me)=>(re=Object.assign(Object.assign({},re),me),re),{}),q=A!=null?A:(0,y.Z)(L);return Object.assign(Object.assign(Object.assign({},q),J),(0,w.Z)(L,{generateColorPalettes:u,generateNeutralColorPalettes:a}))},l=c(36216);function s(L){const{sizeUnit:A,sizeStep:J}=L,q=J-2;return{sizeXXL:A*(q+10),sizeXL:A*(q+6),sizeLG:A*(q+2),sizeMD:A*(q+2),sizeMS:A*(q+1),size:A*q,sizeSM:A*q,sizeXS:A*(q-1),sizeXXS:A*(q-1)}}var m=c(37154),M=(L,A)=>{const J=A!=null?A:(0,y.Z)(L),q=J.fontSizeSM,re=J.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},J),s(A!=null?A:L)),(0,m.Z)(q)),{controlHeight:re}),(0,l.Z)(Object.assign(Object.assign({},J),{controlHeight:re})))};function E(){const[L,A,J]=(0,r.dQ)();return{theme:L,token:A,hashId:J}}var j={defaultConfig:r.u_,defaultSeed:r.u_.token,useToken:E,defaultAlgorithm:y.Z,darkAlgorithm:h,compactAlgorithm:M}},35697:function(Pt,Ee,c){\"use strict\";c.d(Ee,{i:function(){return r}});const r=[\"blue\",\"purple\",\"cyan\",\"green\",\"magenta\",\"pink\",\"red\",\"orange\",\"yellow\",\"volcano\",\"geekblue\",\"lime\",\"gold\"]},25990:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Mj:function(){return m},u_:function(){return s},dQ:function(){return x}});var r=c(8439),y=c(50959),N=\"5.3.2\",C=N,w=c(71704),O=c(58526),b=c(99590);function p(M){return M>=0&&M<=255}function u(M,E){const{r:j,g:L,b:A,a:J}=new b.C(M).toRgb();if(J<1)return M;const{r:q,g:re,b:me}=new b.C(E).toRgb();for(let Te=.01;Te<=1;Te+=.01){const ee=Math.round((j-q*(1-Te))/Te),xe=Math.round((L-re*(1-Te))/Te),Ie=Math.round((A-me*(1-Te))/Te);if(p(ee)&&p(xe)&&p(Ie))return new b.C({r:ee,g:xe,b:Ie,a:Math.round(Te*100)/100}).toRgbString()}return new b.C({r:j,g:L,b:A,a:1}).toRgbString()}var a=u,f=function(M,E){var j={};for(var L in M)Object.prototype.hasOwnProperty.call(M,L)&&E.indexOf(L)<0&&(j[L]=M[L]);if(M!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var A=0,L=Object.getOwnPropertySymbols(M);A<L.length;A++)E.indexOf(L[A])<0&&Object.prototype.propertyIsEnumerable.call(M,L[A])&&(j[L[A]]=M[L[A]]);return j};function h(M){const{override:E}=M,j=f(M,[\"override\"]),L=Object.assign({},E);Object.keys(O.Z).forEach(Ie=>{delete L[Ie]});const A=Object.assign(Object.assign({},j),L),J=480,q=576,re=768,me=992,Te=1200,ee=1600;return Object.assign(Object.assign(Object.assign({},A),{colorLink:A.colorInfoText,colorLinkHover:A.colorInfoHover,colorLinkActive:A.colorInfoActive,colorFillContent:A.colorFillSecondary,colorFillContentHover:A.colorFill,colorFillAlter:A.colorFillQuaternary,colorBgContainerDisabled:A.colorFillTertiary,colorBorderBg:A.colorBgContainer,colorSplit:a(A.colorBorderSecondary,A.colorBgContainer),colorTextPlaceholder:A.colorTextQuaternary,colorTextDisabled:A.colorTextQuaternary,colorTextHeading:A.colorText,colorTextLabel:A.colorTextSecondary,colorTextDescription:A.colorTextTertiary,colorTextLightSolid:A.colorWhite,colorHighlight:A.colorError,colorBgTextHover:A.colorFillSecondary,colorBgTextActive:A.colorFill,colorIcon:A.colorTextTertiary,colorIconHover:A.colorText,colorErrorOutline:a(A.colorErrorBg,A.colorBgContainer),colorWarningOutline:a(A.colorWarningBg,A.colorBgContainer),fontSizeIcon:A.fontSizeSM,lineWidthFocus:A.lineWidth*4,lineWidth:A.lineWidth,controlOutlineWidth:A.lineWidth*2,controlInteractiveSize:A.controlHeight/2,controlItemBgHover:A.colorFillTertiary,controlItemBgActive:A.colorPrimaryBg,controlItemBgActiveHover:A.colorPrimaryBgHover,controlItemBgActiveDisabled:A.colorFill,controlTmpOutline:A.colorFillQuaternary,controlOutline:a(A.colorPrimaryBg,A.colorBgContainer),lineType:A.lineType,borderRadius:A.borderRadius,borderRadiusXS:A.borderRadiusXS,borderRadiusSM:A.borderRadiusSM,borderRadiusLG:A.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:\"none\",linkHoverDecoration:\"none\",linkFocusDecoration:\"none\",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:A.sizeXXS,paddingXS:A.sizeXS,paddingSM:A.sizeSM,padding:A.size,paddingMD:A.sizeMD,paddingLG:A.sizeLG,paddingXL:A.sizeXL,paddingContentHorizontalLG:A.sizeLG,paddingContentVerticalLG:A.sizeMS,paddingContentHorizontal:A.sizeMS,paddingContentVertical:A.sizeSM,paddingContentHorizontalSM:A.size,paddingContentVerticalSM:A.sizeXS,marginXXS:A.sizeXXS,marginXS:A.sizeXS,marginSM:A.sizeSM,margin:A.size,marginMD:A.sizeMD,marginLG:A.sizeLG,marginXL:A.sizeXL,marginXXL:A.sizeXXL,boxShadow:`\n      0 6px 16px 0 rgba(0, 0, 0, 0.08),\n      0 3px 6px -4px rgba(0, 0, 0, 0.12),\n      0 9px 28px 8px rgba(0, 0, 0, 0.05)\n    `,boxShadowSecondary:`\n      0 6px 16px 0 rgba(0, 0, 0, 0.08),\n      0 3px 6px -4px rgba(0, 0, 0, 0.12),\n      0 9px 28px 8px rgba(0, 0, 0, 0.05)\n    `,boxShadowTertiary:`\n      0 1px 2px 0 rgba(0, 0, 0, 0.03),\n      0 1px 6px -1px rgba(0, 0, 0, 0.02),\n      0 2px 4px 0 rgba(0, 0, 0, 0.02)\n    `,screenXS:J,screenXSMin:J,screenXSMax:q-1,screenSM:q,screenSMMin:q,screenSMMax:re-1,screenMD:re,screenMDMin:re,screenMDMax:me-1,screenLG:me,screenLGMin:me,screenLGMax:Te-1,screenXL:Te,screenXLMin:Te,screenXLMax:ee-1,screenXXL:ee,screenXXLMin:ee,boxShadowPopoverArrow:\"2px 2px 5px rgba(0, 0, 0, 0.05)\",boxShadowCard:`\n      0 1px 2px -2px ${new b.C(\"rgba(0, 0, 0, 0.16)\").toRgbString()},\n      0 3px 6px 0 ${new b.C(\"rgba(0, 0, 0, 0.12)\").toRgbString()},\n      0 5px 12px 4px ${new b.C(\"rgba(0, 0, 0, 0.09)\").toRgbString()}\n    `,boxShadowDrawerRight:`\n      -6px 0 16px 0 rgba(0, 0, 0, 0.08),\n      -3px 0 6px -4px rgba(0, 0, 0, 0.12),\n      -9px 0 28px 8px rgba(0, 0, 0, 0.05)\n    `,boxShadowDrawerLeft:`\n      6px 0 16px 0 rgba(0, 0, 0, 0.08),\n      3px 0 6px -4px rgba(0, 0, 0, 0.12),\n      9px 0 28px 8px rgba(0, 0, 0, 0.05)\n    `,boxShadowDrawerUp:`\n      0 6px 16px 0 rgba(0, 0, 0, 0.08),\n      0 3px 6px -4px rgba(0, 0, 0, 0.12),\n      0 9px 28px 8px rgba(0, 0, 0, 0.05)\n    `,boxShadowDrawerDown:`\n      0 -6px 16px 0 rgba(0, 0, 0, 0.08),\n      0 -3px 6px -4px rgba(0, 0, 0, 0.12),\n      0 -9px 28px 8px rgba(0, 0, 0, 0.05)\n    `,boxShadowTabsOverflowLeft:\"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)\",boxShadowTabsOverflowRight:\"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)\",boxShadowTabsOverflowTop:\"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)\",boxShadowTabsOverflowBottom:\"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)\"}),L)}const l=(0,r.jG)(w.Z),s={token:O.Z,hashed:!0},m=y.createContext(s);function x(){const{token:M,hashed:E,theme:j,components:L}=y.useContext(m),A=`${C}-${E||\"\"}`,J=j||l,[q,re]=(0,r.fp)(J,[O.Z,M],{salt:A,override:Object.assign({override:M},L),formatToken:h});return[J,q,E?re:\"\"]}},71704:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return m}});var r=c(81548),y=c(36216);function N(x){const{sizeUnit:M,sizeStep:E}=x;return{sizeXXL:M*(E+8),sizeXL:M*(E+4),sizeLG:M*(E+2),sizeMD:M*(E+1),sizeMS:M*E,size:M*E,sizeSM:M*(E-1),sizeXS:M*(E-2),sizeXXS:M*(E-3)}}var C=c(58526),w=c(98069),b=x=>{let M=x,E=x,j=x,L=x;return x<6&&x>=5?M=x+1:x<16&&x>=6?M=x+2:x>=16&&(M=16),x<7&&x>=5?E=4:x<8&&x>=7?E=5:x<14&&x>=8?E=6:x<16&&x>=14?E=7:x>=16&&(E=8),x<6&&x>=2?j=1:x>=6&&(j=2),x>4&&x<8?L=4:x>=8&&(L=6),{borderRadius:x>16?16:x,borderRadiusXS:j,borderRadiusSM:E,borderRadiusLG:M,borderRadiusOuter:L}};function p(x){const{motionUnit:M,motionBase:E,borderRadius:j,lineWidth:L}=x;return Object.assign({motionDurationFast:`${(E+M).toFixed(1)}s`,motionDurationMid:`${(E+M*2).toFixed(1)}s`,motionDurationSlow:`${(E+M*3).toFixed(1)}s`,lineWidthBold:L+1},b(j))}var u=c(99590);const a=(x,M)=>new u.C(x).setAlpha(M).toRgbString(),f=(x,M)=>new u.C(x).darken(M).toHexString(),h=x=>{const M=(0,r.R_)(x);return{1:M[0],2:M[1],3:M[2],4:M[3],5:M[4],6:M[5],7:M[6],8:M[4],9:M[5],10:M[6]}},l=(x,M)=>{const E=x||\"#fff\",j=M||\"#000\";return{colorBgBase:E,colorTextBase:j,colorText:a(j,.88),colorTextSecondary:a(j,.65),colorTextTertiary:a(j,.45),colorTextQuaternary:a(j,.25),colorFill:a(j,.15),colorFillSecondary:a(j,.06),colorFillTertiary:a(j,.04),colorFillQuaternary:a(j,.02),colorBgLayout:f(E,4),colorBgContainer:f(E,0),colorBgElevated:f(E,0),colorBgSpotlight:a(j,.85),colorBorder:f(E,15),colorBorderSecondary:f(E,6)}};var s=c(37154);function m(x){const M=Object.keys(C.M).map(E=>{const j=(0,r.R_)(x[E]);return new Array(10).fill(1).reduce((L,A,J)=>(L[`${E}-${J+1}`]=j[J],L[`${E}${J+1}`]=j[J],L),{})}).reduce((E,j)=>(E=Object.assign(Object.assign({},E),j),E),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},x),M),(0,w.Z)(x,{generateColorPalettes:h,generateNeutralColorPalettes:l})),(0,s.Z)(x.fontSize)),N(x)),(0,y.Z)(x)),p(x))}},58526:function(Pt,Ee,c){\"use strict\";c.d(Ee,{M:function(){return r}});const r={blue:\"#1677ff\",purple:\"#722ED1\",cyan:\"#13C2C2\",green:\"#52C41A\",magenta:\"#EB2F96\",pink:\"#eb2f96\",red:\"#F5222D\",orange:\"#FA8C16\",yellow:\"#FADB14\",volcano:\"#FA541C\",geekblue:\"#2F54EB\",gold:\"#FAAD14\",lime:\"#A0D911\"},y=Object.assign(Object.assign({},r),{colorPrimary:\"#1677ff\",colorSuccess:\"#52c41a\",colorWarning:\"#faad14\",colorError:\"#ff4d4f\",colorInfo:\"#1677ff\",colorTextBase:\"\",colorBgBase:\"\",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'Noto Color Emoji'`,fontFamilyCode:\"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace\",fontSize:14,lineWidth:1,lineType:\"solid\",motionUnit:.1,motionBase:0,motionEaseOutCirc:\"cubic-bezier(0.08, 0.82, 0.17, 1)\",motionEaseInOutCirc:\"cubic-bezier(0.78, 0.14, 0.15, 0.86)\",motionEaseOut:\"cubic-bezier(0.215, 0.61, 0.355, 1)\",motionEaseInOut:\"cubic-bezier(0.645, 0.045, 0.355, 1)\",motionEaseOutBack:\"cubic-bezier(0.12, 0.4, 0.29, 1.46)\",motionEaseInBack:\"cubic-bezier(0.71, -0.46, 0.88, 0.6)\",motionEaseInQuint:\"cubic-bezier(0.755, 0.05, 0.855, 0.06)\",motionEaseOutQuint:\"cubic-bezier(0.23, 1, 0.32, 1)\",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1});Ee.Z=y},98069:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return y}});var r=c(99590);function y(N,C){let{generateColorPalettes:w,generateNeutralColorPalettes:O}=C;const{colorSuccess:b,colorWarning:p,colorError:u,colorInfo:a,colorPrimary:f,colorBgBase:h,colorTextBase:l}=N,s=w(f),m=w(b),x=w(p),M=w(u),E=w(a),j=O(h,l);return Object.assign(Object.assign({},j),{colorPrimaryBg:s[1],colorPrimaryBgHover:s[2],colorPrimaryBorder:s[3],colorPrimaryBorderHover:s[4],colorPrimaryHover:s[5],colorPrimary:s[6],colorPrimaryActive:s[7],colorPrimaryTextHover:s[8],colorPrimaryText:s[9],colorPrimaryTextActive:s[10],colorSuccessBg:m[1],colorSuccessBgHover:m[2],colorSuccessBorder:m[3],colorSuccessBorderHover:m[4],colorSuccessHover:m[4],colorSuccess:m[6],colorSuccessActive:m[7],colorSuccessTextHover:m[8],colorSuccessText:m[9],colorSuccessTextActive:m[10],colorErrorBg:M[1],colorErrorBgHover:M[2],colorErrorBorder:M[3],colorErrorBorderHover:M[4],colorErrorHover:M[5],colorError:M[6],colorErrorActive:M[7],colorErrorTextHover:M[8],colorErrorText:M[9],colorErrorTextActive:M[10],colorWarningBg:x[1],colorWarningBgHover:x[2],colorWarningBorder:x[3],colorWarningBorderHover:x[4],colorWarningHover:x[4],colorWarning:x[6],colorWarningActive:x[7],colorWarningTextHover:x[8],colorWarningText:x[9],colorWarningTextActive:x[10],colorInfoBg:E[1],colorInfoBgHover:E[2],colorInfoBorder:E[3],colorInfoBorderHover:E[4],colorInfoHover:E[4],colorInfo:E[6],colorInfoActive:E[7],colorInfoTextHover:E[8],colorInfoText:E[9],colorInfoTextActive:E[10],colorBgMask:new r.C(\"#000\").setAlpha(.45).toRgbString(),colorWhite:\"#fff\"})}},36216:function(Pt,Ee){\"use strict\";const c=r=>{const{controlHeight:y}=r;return{controlHeightSM:y*.75,controlHeightXS:y*.5,controlHeightLG:y*1.25}};Ee.Z=c},37154:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return N}});function r(C){const w=new Array(10).fill(null).map((O,b)=>{const p=b-1,u=C*Math.pow(2.71828,p/5),a=b>1?Math.floor(u):Math.ceil(u);return Math.floor(a/2)*2});return w[1]=C,w.map(O=>{const b=O+8;return{size:O,lineHeight:b/O}})}var N=C=>{const w=r(C),O=w.map(p=>p.size),b=w.map(p=>p.lineHeight);return{fontSizeSM:O[0],fontSize:O[1],fontSizeLG:O[2],fontSizeXL:O[3],fontSizeHeading1:O[6],fontSizeHeading2:O[5],fontSizeHeading3:O[4],fontSizeHeading4:O[3],fontSizeHeading5:O[2],lineHeight:b[1],lineHeightLG:b[2],lineHeightSM:b[0],lineHeightHeading1:b[6],lineHeightHeading2:b[5],lineHeightHeading3:b[4],lineHeightHeading4:b[3],lineHeightHeading5:b[2]}}},72267:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(8439),y=c(50959),N=c(92220),C=c(35531),w=c(25990),O=c(42550);function b(p,u,a){return f=>{const[h,l,s]=(0,w.dQ)(),{getPrefixCls:m,iconPrefixCls:x}=(0,y.useContext)(C.E_),M=m();return(0,r.xy)({theme:h,token:l,hashId:s,path:[\"Shared\",M]},()=>[{\"&\":(0,N.Lx)(l)}]),[(0,r.xy)({theme:h,token:l,hashId:s,path:[p,f,x]},()=>{const{token:E,flush:j}=(0,O.ZP)(l),L=typeof a==\"function\"?a(E):a,A=Object.assign(Object.assign({},L),l[p]),J=`.${f}`,q=(0,O.TS)(E,{componentCls:J,prefixCls:f,iconCls:`.${x}`,antCls:`.${M}`},A),re=u(q,{hashId:s,prefixCls:f,rootPrefixCls:M,iconPrefixCls:x,overrideComponentToken:l[p]});return j(p,A),[(0,N.du)(l,f),re]}),s]}}},42550:function(Pt,Ee,c){\"use strict\";c.d(Ee,{TS:function(){return N},ZP:function(){return b}});const r=typeof CSSINJS_STATISTIC!=\"undefined\";let y=!0;function N(){for(var p=arguments.length,u=new Array(p),a=0;a<p;a++)u[a]=arguments[a];if(!r)return Object.assign.apply(Object,[{}].concat(u));y=!1;const f={};return u.forEach(h=>{Object.keys(h).forEach(s=>{Object.defineProperty(f,s,{configurable:!0,enumerable:!0,get:()=>h[s]})})}),y=!0,f}const C={},w={};function O(){}function b(p){let u,a=p,f=O;return r&&(u=new Set,a=new Proxy(p,{get(h,l){return y&&u.add(l),h[l]}}),f=(h,l)=>{C[h]={global:Array.from(u),component:l}}),{token:a,keys:u,flush:f}}},17104:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return ce}});var r=c(84875),y=c.n(r),N=c(85715),C=c(47280),w=c(50959),O=c(35531),b=c(28628),p=c(48515),u=c(20902),a=c(42912),f=c(92220),h=c(35697);function l(ye,Oe){return h.i.reduce((Ce,oe)=>{const he=ye[`${oe}1`],ie=ye[`${oe}3`],ae=ye[`${oe}6`],ve=ye[`${oe}7`];return Object.assign(Object.assign({},Ce),Oe(oe,{lightColor:he,lightBorderColor:ie,darkColor:ae,textColor:ve}))},{})}var s=c(40949),m=c(58917),x=c(42550),M=c(72267);const E=ye=>{const{componentCls:Oe,tooltipMaxWidth:Ce,tooltipColor:oe,tooltipBg:he,tooltipBorderRadius:ie,zIndexPopup:ae,controlHeight:ve,boxShadowSecondary:X,paddingSM:se,paddingXS:fe,tooltipRadiusOuter:_e}=ye;return[{[Oe]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,f.Wf)(ye)),{position:\"absolute\",zIndex:ae,display:\"block\",width:\"max-content\",maxWidth:Ce,visibility:\"visible\",\"&-hidden\":{display:\"none\"},\"--antd-arrow-background-color\":he,[`${Oe}-inner`]:{minWidth:ve,minHeight:ve,padding:`${se/2}px ${fe}px`,color:oe,textAlign:\"start\",textDecoration:\"none\",wordWrap:\"break-word\",backgroundColor:he,borderRadius:ie,boxShadow:X},[[\"&-placement-left\",\"&-placement-leftTop\",\"&-placement-leftBottom\",\"&-placement-right\",\"&-placement-rightTop\",\"&-placement-rightBottom\"].join(\",\")]:{[`${Oe}-inner`]:{borderRadius:Math.min(ie,m.qN)}},[`${Oe}-content`]:{position:\"relative\"}}),l(ye,(be,We)=>{let{darkColor:we}=We;return{[`&${Oe}-${be}`]:{[`${Oe}-inner`]:{backgroundColor:we},[`${Oe}-arrow`]:{\"--antd-arrow-background-color\":we}}}})),{\"&-rtl\":{direction:\"rtl\"}})},(0,m.ZP)((0,x.TS)(ye,{borderRadiusOuter:_e}),{colorBg:\"var(--antd-arrow-background-color)\",contentRadius:ie,limitVerticalRadius:!0}),{[`${Oe}-pure`]:{position:\"relative\",maxWidth:\"none\",margin:ye.sizePopupArrow}}]};var j=(ye,Oe)=>(0,M.Z)(\"Tooltip\",oe=>{if(Oe===!1)return[];const{borderRadius:he,colorTextLightSolid:ie,colorBgDefault:ae,borderRadiusOuter:ve}=oe,X=(0,x.TS)(oe,{tooltipMaxWidth:250,tooltipColor:ie,tooltipBorderRadius:he,tooltipBg:ae,tooltipRadiusOuter:ve>4?4:ve});return[E(X),(0,s._y)(oe,\"zoom-big-fast\")]},oe=>{let{zIndexPopupBase:he,colorBgSpotlight:ie}=oe;return{zIndexPopup:he+70,colorBgDefault:ie}})(ye),L=c(49544);const A=h.i.map(ye=>`${ye}-inverse`),J=null;function q(ye){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,L.Z)(A),(0,L.Z)(h.i)).includes(ye):h.i.includes(ye)}function re(ye){return J.includes(ye)}function me(ye,Oe){const Ce=q(Oe),oe=y()({[`${ye}-${Oe}`]:Oe&&Ce}),he={},ie={};return Oe&&!Ce&&(he.background=Oe,ie[\"--antd-arrow-background-color\"]=Oe),{className:oe,overlayStyle:he,arrowStyle:ie}}function Te(ye){const{prefixCls:Oe,className:Ce,placement:oe=\"top\",title:he,color:ie,overlayInnerStyle:ae}=ye,{getPrefixCls:ve}=w.useContext(O.E_),X=ve(\"tooltip\",Oe),[se,fe]=j(X,!0),_e=me(X,ie),be=Object.assign(Object.assign({},ae),_e.overlayStyle),We=_e.arrowStyle;return se(w.createElement(\"div\",{className:y()(fe,X,`${X}-pure`,`${X}-placement-${oe}`,Ce,_e.className),style:We},w.createElement(\"div\",{className:`${X}-arrow`}),w.createElement(N.G,Object.assign({},ye,{className:fe,prefixCls:X,overlayInnerStyle:be}),he)))}var ee=function(ye,Oe){var Ce={};for(var oe in ye)Object.prototype.hasOwnProperty.call(ye,oe)&&Oe.indexOf(oe)<0&&(Ce[oe]=ye[oe]);if(ye!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var he=0,oe=Object.getOwnPropertySymbols(ye);he<oe.length;he++)Oe.indexOf(oe[he])<0&&Object.prototype.propertyIsEnumerable.call(ye,oe[he])&&(Ce[oe[he]]=ye[oe[he]]);return Ce};const{useToken:xe}=b.Z,Ie=(ye,Oe)=>{const Ce={},oe=Object.assign({},ye);return Oe.forEach(he=>{ye&&he in ye&&(Ce[he]=ye[he],delete oe[he])}),{picked:Ce,omitted:oe}};function Le(ye,Oe){const Ce=ye.type;if((Ce.__ANT_BUTTON===!0||ye.type===\"button\")&&ye.props.disabled||Ce.__ANT_SWITCH===!0&&(ye.props.disabled||ye.props.loading)||Ce.__ANT_RADIO===!0&&ye.props.disabled){const{picked:oe,omitted:he}=Ie(ye.props.style,[\"position\",\"left\",\"right\",\"top\",\"bottom\",\"float\",\"display\",\"zIndex\"]),ie=Object.assign(Object.assign({display:\"inline-block\"},oe),{cursor:\"not-allowed\",width:ye.props.block?\"100%\":void 0}),ae=Object.assign(Object.assign({},he),{pointerEvents:\"none\"}),ve=(0,a.Tm)(ye,{style:ae,className:null});return w.createElement(\"span\",{style:ie,className:y()(ye.props.className,`${Oe}-disabled-compatible-wrapper`)},ve)}return ye}const De=w.forwardRef((ye,Oe)=>{var Ce,oe;const{prefixCls:he,openClassName:ie,getTooltipContainer:ae,overlayClassName:ve,color:X,overlayInnerStyle:se,children:fe,afterOpenChange:_e,afterVisibleChange:be,destroyTooltipOnHide:We,arrow:we=!0}=ye,Ze=!!we,{token:Ve}=xe(),{getPopupContainer:et,getPrefixCls:ht,direction:Fe}=w.useContext(O.E_),mt=w.useRef(null),dt=()=>{var bt;(bt=mt.current)===null||bt===void 0||bt.forceAlign()};w.useImperativeHandle(Oe,()=>({forceAlign:dt,forcePopupAlign:()=>{dt()}}));const[Lt,lt]=(0,C.Z)(!1,{value:(Ce=ye.open)!==null&&Ce!==void 0?Ce:ye.visible,defaultValue:(oe=ye.defaultOpen)!==null&&oe!==void 0?oe:ye.defaultVisible}),rn=()=>{const{title:bt,overlay:Zt}=ye;return!bt&&!Zt&&bt!==0},qt=bt=>{var Zt,gt;lt(rn()?!1:bt),rn()||((Zt=ye.onOpenChange)===null||Zt===void 0||Zt.call(ye,bt),(gt=ye.onVisibleChange)===null||gt===void 0||gt.call(ye,bt))},hn=()=>{var bt,Zt;const{builtinPlacements:gt,arrowPointAtCenter:Wt=!1,autoAdjustOverflow:xn=!0}=ye;let Dt=Wt;return typeof we==\"object\"&&(Dt=(Zt=(bt=we.pointAtCenter)!==null&&bt!==void 0?bt:we.arrowPointAtCenter)!==null&&Zt!==void 0?Zt:Wt),gt||(0,u.Z)({arrowPointAtCenter:Dt,autoAdjustOverflow:xn,arrowWidth:Ze?Ve.sizePopupArrow:0,borderRadius:Ve.borderRadius,offset:Ve.marginXXS})},Kt=(bt,Zt)=>{const gt=hn(),Wt=Object.keys(gt).find(xn=>{var Dt,Xn;return gt[xn].points[0]===((Dt=Zt.points)===null||Dt===void 0?void 0:Dt[0])&&gt[xn].points[1]===((Xn=Zt.points)===null||Xn===void 0?void 0:Xn[1])});if(Wt){const xn=bt.getBoundingClientRect(),Dt={top:\"50%\",left:\"50%\"};/top|Bottom/.test(Wt)?Dt.top=`${xn.height-Zt.offset[1]}px`:/Top|bottom/.test(Wt)&&(Dt.top=`${-Zt.offset[1]}px`),/left|Right/.test(Wt)?Dt.left=`${xn.width-Zt.offset[0]}px`:/right|Left/.test(Wt)&&(Dt.left=`${-Zt.offset[0]}px`),bt.style.transformOrigin=`${Dt.left} ${Dt.top}`}},an=()=>{const{title:bt,overlay:Zt}=ye;return bt===0?bt:Zt||bt||\"\"},{getPopupContainer:In,placement:Ft=\"top\",mouseEnterDelay:kt=.1,mouseLeaveDelay:At=.1,overlayStyle:Fn,rootClassName:pn}=ye,en=ee(ye,[\"getPopupContainer\",\"placement\",\"mouseEnterDelay\",\"mouseLeaveDelay\",\"overlayStyle\",\"rootClassName\"]),Wn=ht(\"tooltip\",he),Mn=ht(),Kn=ye[\"data-popover-inject\"];let hr=Lt;!(\"open\"in ye)&&!(\"visible\"in ye)&&rn()&&(hr=!1);const pr=Le((0,a.l$)(fe)&&!(0,a.M2)(fe)?fe:w.createElement(\"span\",null,fe),Wn),zr=pr.props,Wr=!zr.className||typeof zr.className==\"string\"?y()(zr.className,{[ie||`${Wn}-open`]:!0}):zr.className,[Nr,Kr]=j(Wn,!Kn),ko=me(Wn,X),Ur=Object.assign(Object.assign({},se),ko.overlayStyle),gn=ko.arrowStyle,Gt=y()(ve,{[`${Wn}-rtl`]:Fe===\"rtl\"},ko.className,pn,Kr);return Nr(w.createElement(N.Z,Object.assign({},en,{showArrow:Ze,placement:Ft,mouseEnterDelay:kt,mouseLeaveDelay:At,prefixCls:Wn,overlayClassName:Gt,overlayStyle:Object.assign(Object.assign({},gn),Fn),getTooltipContainer:In||ae||et,ref:mt,builtinPlacements:hn(),overlay:an(),visible:hr,onVisibleChange:qt,afterVisibleChange:_e!=null?_e:be,onPopupAlign:Kt,overlayInnerStyle:Ur,arrowContent:w.createElement(\"span\",{className:`${Wn}-arrow-content`}),motion:{motionName:(0,p.mL)(Mn,\"zoom-big-fast\",ye.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!We}),hr?(0,a.Tm)(pr,{className:Wr}):pr))});De._InternalPanelDoNotUseOrYouWillBeFired=Te;var ce=De},84666:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return Ui}});var r=c(51163),y=c(24572),N=c(26143),C=c(75782),w=c(49544),O=c(40936),b=c(49962),p=c(60790),u=c(39027),a=c(76614),f=c(50959),h=c(59158),l=c(53675),s=c(42622),m=c(84875),x=c.n(m),M=f.createContext(null),E=c(58733),j=function(mn){for(var fr=mn.prefixCls,ft=mn.level,ct=mn.isStart,tn=mn.isEnd,An=\"\".concat(fr,\"-indent-unit\"),Rt=[],un=0;un<ft;un+=1){var Dn;Rt.push(f.createElement(\"span\",{key:un,className:x()(An,(Dn={},(0,y.Z)(Dn,\"\".concat(An,\"-start\"),ct[un]),(0,y.Z)(Dn,\"\".concat(An,\"-end\"),tn[un]),Dn))}))}return f.createElement(\"span\",{\"aria-hidden\":\"true\",className:\"\".concat(fr,\"-indent\")},Rt)},L=f.memo(j),A=c(97318),J=c(16030),q=[\"children\"];function re(ln,mn){return ln!=null?ln:mn}function me(ln){var mn=ln||{},fr=mn.title,ft=mn._title,ct=mn.key,tn=mn.children,An=fr||\"title\";return{title:An,_title:ft||[An],key:ct||\"key\",children:tn||\"children\"}}function Te(ln,mn){var fr=new Map;function ft(ct){var tn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:\"\";(ct||[]).forEach(function(An){var Rt=An[mn.key],un=An[mn.children];warning(Rt!=null,\"Tree node must have a certain key: [\".concat(tn).concat(Rt,\"]\"));var Dn=String(Rt);warning(!fr.has(Dn)||Rt===null||Rt===void 0,\"Same 'key' exist in the Tree: \".concat(Dn)),fr.set(Dn,!0),ft(un,\"\".concat(tn).concat(Dn,\" > \"))})}ft(ln)}function ee(ln){function mn(fr){var ft=(0,J.Z)(fr);return ft.map(function(ct){if(!be(ct))return(0,l.ZP)(!ct,\"Tree/TreeNode can only accept TreeNode as children.\"),null;var tn=ct.key,An=ct.props,Rt=An.children,un=(0,E.Z)(An,q),Dn=(0,C.Z)({key:tn},un),dr=mn(Rt);return dr.length&&(Dn.children=dr),Dn}).filter(function(ct){return ct})}return mn(ln)}function xe(ln,mn,fr){var ft=me(fr),ct=ft._title,tn=ft.key,An=ft.children,Rt=new Set(mn===!0?[]:mn),un=[];function Dn(dr){var Ar=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return dr.map(function(Gr,Pr){for(var Xr=_e(Ar?Ar.pos:\"0\",Pr),oo=re(Gr[tn],Xr),io,to=0;to<ct.length;to+=1){var To=ct[to];if(Gr[To]!==void 0){io=Gr[To];break}}var jn=(0,C.Z)((0,C.Z)({},(0,A.Z)(Gr,[].concat((0,w.Z)(ct),[tn,An]))),{},{title:io,key:oo,parent:Ar,pos:Xr,children:null,data:Gr,isStart:[].concat((0,w.Z)(Ar?Ar.isStart:[]),[Pr===0]),isEnd:[].concat((0,w.Z)(Ar?Ar.isEnd:[]),[Pr===dr.length-1])});return un.push(jn),mn===!0||Rt.has(oo)?jn.children=Dn(Gr[An]||[],jn):jn.children=[],jn})}return Dn(ln),un}function Ie(ln,mn,fr){var ft={};(0,N.Z)(fr)===\"object\"?ft=fr:ft={externalGetKey:fr},ft=ft||{};var ct=ft,tn=ct.childrenPropName,An=ct.externalGetKey,Rt=ct.fieldNames,un=me(Rt),Dn=un.key,dr=un.children,Ar=tn||dr,Gr;An?typeof An==\"string\"?Gr=function(oo){return oo[An]}:typeof An==\"function\"&&(Gr=function(oo){return An(oo)}):Gr=function(oo,io){return re(oo[Dn],io)};function Pr(Xr,oo,io,to){var To=Xr?Xr[Ar]:ln,jn=Xr?_e(io.pos,oo):\"0\",W=Xr?[].concat((0,w.Z)(to),[Xr]):[];if(Xr){var P=Gr(Xr,jn),k={node:Xr,index:oo,pos:jn,key:P,parentPos:io.node?io.pos:null,level:io.level+1,nodes:W};mn(k)}To&&To.forEach(function(z,Q){Pr(z,Q,{node:Xr,pos:jn,level:io?io.level+1:-1},W)})}Pr(null)}function Le(ln){var mn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},fr=mn.initWrapper,ft=mn.processEntity,ct=mn.onProcessFinished,tn=mn.externalGetKey,An=mn.childrenPropName,Rt=mn.fieldNames,un=arguments.length>2?arguments[2]:void 0,Dn=tn||un,dr={},Ar={},Gr={posEntities:dr,keyEntities:Ar};return fr&&(Gr=fr(Gr)||Gr),Ie(ln,function(Pr){var Xr=Pr.node,oo=Pr.index,io=Pr.pos,to=Pr.key,To=Pr.parentPos,jn=Pr.level,W=Pr.nodes,P={node:Xr,nodes:W,index:oo,key:to,pos:io,level:jn},k=re(to,io);dr[io]=P,Ar[k]=P,P.parent=dr[To],P.parent&&(P.parent.children=P.parent.children||[],P.parent.children.push(P)),ft&&ft(P,Gr)},{externalGetKey:Dn,childrenPropName:An,fieldNames:Rt}),ct&&ct(Gr),Gr}function De(ln,mn){var fr=mn.expandedKeys,ft=mn.selectedKeys,ct=mn.loadedKeys,tn=mn.loadingKeys,An=mn.checkedKeys,Rt=mn.halfCheckedKeys,un=mn.dragOverNodeKey,Dn=mn.dropPosition,dr=mn.keyEntities,Ar=dr[ln],Gr={eventKey:ln,expanded:fr.indexOf(ln)!==-1,selected:ft.indexOf(ln)!==-1,loaded:ct.indexOf(ln)!==-1,loading:tn.indexOf(ln)!==-1,checked:An.indexOf(ln)!==-1,halfChecked:Rt.indexOf(ln)!==-1,pos:String(Ar?Ar.pos:\"\"),dragOver:un===ln&&Dn===0,dragOverGapTop:un===ln&&Dn===-1,dragOverGapBottom:un===ln&&Dn===1};return Gr}function ce(ln){var mn=ln.data,fr=ln.expanded,ft=ln.selected,ct=ln.checked,tn=ln.loaded,An=ln.loading,Rt=ln.halfChecked,un=ln.dragOver,Dn=ln.dragOverGapTop,dr=ln.dragOverGapBottom,Ar=ln.pos,Gr=ln.active,Pr=ln.eventKey,Xr=(0,C.Z)((0,C.Z)({},mn),{},{expanded:fr,selected:ft,checked:ct,loaded:tn,loading:An,halfChecked:Rt,dragOver:un,dragOverGapTop:Dn,dragOverGapBottom:dr,pos:Ar,active:Gr,key:Pr});return\"props\"in Xr||Object.defineProperty(Xr,\"props\",{get:function(){return(0,l.ZP)(!1,\"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`.\"),ln}}),Xr}var ye=[\"eventKey\",\"className\",\"style\",\"dragOver\",\"dragOverGapTop\",\"dragOverGapBottom\",\"isLeaf\",\"isStart\",\"isEnd\",\"expanded\",\"selected\",\"checked\",\"halfChecked\",\"loading\",\"domRef\",\"active\",\"data\",\"onMouseMove\",\"selectable\"],Oe=\"open\",Ce=\"close\",oe=\"---\",he=function(ln){(0,u.Z)(fr,ln);var mn=(0,a.Z)(fr);function fr(){var ft;(0,O.Z)(this,fr);for(var ct=arguments.length,tn=new Array(ct),An=0;An<ct;An++)tn[An]=arguments[An];return ft=mn.call.apply(mn,[this].concat(tn)),ft.state={dragNodeHighlight:!1},ft.selectHandle=void 0,ft.onSelectorClick=function(Rt){var un=ft.props.context.onNodeClick;un(Rt,ce(ft.props)),ft.isSelectable()?ft.onSelect(Rt):ft.onCheck(Rt)},ft.onSelectorDoubleClick=function(Rt){var un=ft.props.context.onNodeDoubleClick;un(Rt,ce(ft.props))},ft.onSelect=function(Rt){if(!ft.isDisabled()){var un=ft.props.context.onNodeSelect;Rt.preventDefault(),un(Rt,ce(ft.props))}},ft.onCheck=function(Rt){if(!ft.isDisabled()){var un=ft.props,Dn=un.disableCheckbox,dr=un.checked,Ar=ft.props.context.onNodeCheck;if(!(!ft.isCheckable()||Dn)){Rt.preventDefault();var Gr=!dr;Ar(Rt,ce(ft.props),Gr)}}},ft.onMouseEnter=function(Rt){var un=ft.props.context.onNodeMouseEnter;un(Rt,ce(ft.props))},ft.onMouseLeave=function(Rt){var un=ft.props.context.onNodeMouseLeave;un(Rt,ce(ft.props))},ft.onContextMenu=function(Rt){var un=ft.props.context.onNodeContextMenu;un(Rt,ce(ft.props))},ft.onDragStart=function(Rt){var un=ft.props.context.onNodeDragStart;Rt.stopPropagation(),ft.setState({dragNodeHighlight:!0}),un(Rt,(0,p.Z)(ft));try{Rt.dataTransfer.setData(\"text/plain\",\"\")}catch(Dn){}},ft.onDragEnter=function(Rt){var un=ft.props.context.onNodeDragEnter;Rt.preventDefault(),Rt.stopPropagation(),un(Rt,(0,p.Z)(ft))},ft.onDragOver=function(Rt){var un=ft.props.context.onNodeDragOver;Rt.preventDefault(),Rt.stopPropagation(),un(Rt,(0,p.Z)(ft))},ft.onDragLeave=function(Rt){var un=ft.props.context.onNodeDragLeave;Rt.stopPropagation(),un(Rt,(0,p.Z)(ft))},ft.onDragEnd=function(Rt){var un=ft.props.context.onNodeDragEnd;Rt.stopPropagation(),ft.setState({dragNodeHighlight:!1}),un(Rt,(0,p.Z)(ft))},ft.onDrop=function(Rt){var un=ft.props.context.onNodeDrop;Rt.preventDefault(),Rt.stopPropagation(),ft.setState({dragNodeHighlight:!1}),un(Rt,(0,p.Z)(ft))},ft.onExpand=function(Rt){var un=ft.props,Dn=un.loading,dr=un.context.onNodeExpand;Dn||dr(Rt,ce(ft.props))},ft.setSelectHandle=function(Rt){ft.selectHandle=Rt},ft.getNodeState=function(){var Rt=ft.props.expanded;return ft.isLeaf()?null:Rt?Oe:Ce},ft.hasChildren=function(){var Rt=ft.props.eventKey,un=ft.props.context.keyEntities,Dn=un[Rt]||{},dr=Dn.children;return!!(dr||[]).length},ft.isLeaf=function(){var Rt=ft.props,un=Rt.isLeaf,Dn=Rt.loaded,dr=ft.props.context.loadData,Ar=ft.hasChildren();return un===!1?!1:un||!dr&&!Ar||dr&&Dn&&!Ar},ft.isDisabled=function(){var Rt=ft.props.disabled,un=ft.props.context.disabled;return!!(un||Rt)},ft.isCheckable=function(){var Rt=ft.props.checkable,un=ft.props.context.checkable;return!un||Rt===!1?!1:un},ft.syncLoadData=function(Rt){var un=Rt.expanded,Dn=Rt.loading,dr=Rt.loaded,Ar=ft.props.context,Gr=Ar.loadData,Pr=Ar.onNodeLoad;Dn||Gr&&un&&!ft.isLeaf()&&!ft.hasChildren()&&!dr&&Pr(ce(ft.props))},ft.isDraggable=function(){var Rt=ft.props,un=Rt.data,Dn=Rt.context.draggable;return!!(Dn&&(!Dn.nodeDraggable||Dn.nodeDraggable(un)))},ft.renderDragHandler=function(){var Rt=ft.props.context,un=Rt.draggable,Dn=Rt.prefixCls;return un!=null&&un.icon?f.createElement(\"span\",{className:\"\".concat(Dn,\"-draggable-icon\")},un.icon):null},ft.renderSwitcherIconDom=function(Rt){var un=ft.props.switcherIcon,Dn=ft.props.context.switcherIcon,dr=un||Dn;return typeof dr==\"function\"?dr((0,C.Z)((0,C.Z)({},ft.props),{},{isLeaf:Rt})):dr},ft.renderSwitcher=function(){var Rt=ft.props.expanded,un=ft.props.context.prefixCls;if(ft.isLeaf()){var Dn=ft.renderSwitcherIconDom(!0);return Dn!==!1?f.createElement(\"span\",{className:x()(\"\".concat(un,\"-switcher\"),\"\".concat(un,\"-switcher-noop\"))},Dn):null}var dr=x()(\"\".concat(un,\"-switcher\"),\"\".concat(un,\"-switcher_\").concat(Rt?Oe:Ce)),Ar=ft.renderSwitcherIconDom(!1);return Ar!==!1?f.createElement(\"span\",{onClick:ft.onExpand,className:dr},Ar):null},ft.renderCheckbox=function(){var Rt=ft.props,un=Rt.checked,Dn=Rt.halfChecked,dr=Rt.disableCheckbox,Ar=ft.props.context.prefixCls,Gr=ft.isDisabled(),Pr=ft.isCheckable();if(!Pr)return null;var Xr=typeof Pr!=\"boolean\"?Pr:null;return f.createElement(\"span\",{className:x()(\"\".concat(Ar,\"-checkbox\"),un&&\"\".concat(Ar,\"-checkbox-checked\"),!un&&Dn&&\"\".concat(Ar,\"-checkbox-indeterminate\"),(Gr||dr)&&\"\".concat(Ar,\"-checkbox-disabled\")),onClick:ft.onCheck},Xr)},ft.renderIcon=function(){var Rt=ft.props.loading,un=ft.props.context.prefixCls;return f.createElement(\"span\",{className:x()(\"\".concat(un,\"-iconEle\"),\"\".concat(un,\"-icon__\").concat(ft.getNodeState()||\"docu\"),Rt&&\"\".concat(un,\"-icon_loading\"))})},ft.renderSelector=function(){var Rt=ft.state.dragNodeHighlight,un=ft.props,Dn=un.title,dr=Dn===void 0?oe:Dn,Ar=un.selected,Gr=un.icon,Pr=un.loading,Xr=un.data,oo=ft.props.context,io=oo.prefixCls,to=oo.showIcon,To=oo.icon,jn=oo.loadData,W=oo.titleRender,P=ft.isDisabled(),k=\"\".concat(io,\"-node-content-wrapper\"),z;if(to){var Q=Gr||To;z=Q?f.createElement(\"span\",{className:x()(\"\".concat(io,\"-iconEle\"),\"\".concat(io,\"-icon__customize\"))},typeof Q==\"function\"?Q(ft.props):Q):ft.renderIcon()}else jn&&Pr&&(z=ft.renderIcon());var F;typeof dr==\"function\"?F=dr(Xr):W?F=W(Xr):F=dr;var V=f.createElement(\"span\",{className:\"\".concat(io,\"-title\")},F);return f.createElement(\"span\",{ref:ft.setSelectHandle,title:typeof dr==\"string\"?dr:\"\",className:x()(\"\".concat(k),\"\".concat(k,\"-\").concat(ft.getNodeState()||\"normal\"),!P&&(Ar||Rt)&&\"\".concat(io,\"-node-selected\")),onMouseEnter:ft.onMouseEnter,onMouseLeave:ft.onMouseLeave,onContextMenu:ft.onContextMenu,onClick:ft.onSelectorClick,onDoubleClick:ft.onSelectorDoubleClick},z,V,ft.renderDropIndicator())},ft.renderDropIndicator=function(){var Rt=ft.props,un=Rt.disabled,Dn=Rt.eventKey,dr=ft.props.context,Ar=dr.draggable,Gr=dr.dropLevelOffset,Pr=dr.dropPosition,Xr=dr.prefixCls,oo=dr.indent,io=dr.dropIndicatorRender,to=dr.dragOverNodeKey,To=dr.direction,jn=!!Ar,W=!un&&jn&&to===Dn;return W?io({dropPosition:Pr,dropLevelOffset:Gr,indent:oo,prefixCls:Xr,direction:To}):null},ft}return(0,b.Z)(fr,[{key:\"componentDidMount\",value:function(){this.syncLoadData(this.props)}},{key:\"componentDidUpdate\",value:function(){this.syncLoadData(this.props)}},{key:\"isSelectable\",value:function(){var ct=this.props.selectable,tn=this.props.context.selectable;return typeof ct==\"boolean\"?ct:tn}},{key:\"render\",value:function(){var ct,tn=this.props,An=tn.eventKey,Rt=tn.className,un=tn.style,Dn=tn.dragOver,dr=tn.dragOverGapTop,Ar=tn.dragOverGapBottom,Gr=tn.isLeaf,Pr=tn.isStart,Xr=tn.isEnd,oo=tn.expanded,io=tn.selected,to=tn.checked,To=tn.halfChecked,jn=tn.loading,W=tn.domRef,P=tn.active,k=tn.data,z=tn.onMouseMove,Q=tn.selectable,F=(0,E.Z)(tn,ye),V=this.props.context,U=V.prefixCls,ge=V.filterTreeNode,ke=V.keyEntities,St=V.dropContainerKey,Je=V.dropTargetKey,Ot=V.draggingNodeKey,It=this.isDisabled(),jt=(0,s.Z)(F,{aria:!0,data:!0}),Vt=ke[An]||{},Pn=Vt.level,Jn=Xr[Xr.length-1],vn=this.isDraggable(),Vn=!It&&vn,zt=Ot===An,ir=Q!==void 0?{\"aria-selected\":!!Q}:void 0;return f.createElement(\"div\",(0,r.Z)({ref:W,className:x()(Rt,\"\".concat(U,\"-treenode\"),(ct={},(0,y.Z)(ct,\"\".concat(U,\"-treenode-disabled\"),It),(0,y.Z)(ct,\"\".concat(U,\"-treenode-switcher-\").concat(oo?\"open\":\"close\"),!Gr),(0,y.Z)(ct,\"\".concat(U,\"-treenode-checkbox-checked\"),to),(0,y.Z)(ct,\"\".concat(U,\"-treenode-checkbox-indeterminate\"),To),(0,y.Z)(ct,\"\".concat(U,\"-treenode-selected\"),io),(0,y.Z)(ct,\"\".concat(U,\"-treenode-loading\"),jn),(0,y.Z)(ct,\"\".concat(U,\"-treenode-active\"),P),(0,y.Z)(ct,\"\".concat(U,\"-treenode-leaf-last\"),Jn),(0,y.Z)(ct,\"\".concat(U,\"-treenode-draggable\"),vn),(0,y.Z)(ct,\"dragging\",zt),(0,y.Z)(ct,\"drop-target\",Je===An),(0,y.Z)(ct,\"drop-container\",St===An),(0,y.Z)(ct,\"drag-over\",!It&&Dn),(0,y.Z)(ct,\"drag-over-gap-top\",!It&&dr),(0,y.Z)(ct,\"drag-over-gap-bottom\",!It&&Ar),(0,y.Z)(ct,\"filter-node\",ge&&ge(ce(this.props))),ct)),style:un,draggable:Vn,\"aria-grabbed\":zt,onDragStart:Vn?this.onDragStart:void 0,onDragEnter:vn?this.onDragEnter:void 0,onDragOver:vn?this.onDragOver:void 0,onDragLeave:vn?this.onDragLeave:void 0,onDrop:vn?this.onDrop:void 0,onDragEnd:vn?this.onDragEnd:void 0,onMouseMove:z},ir,jt),f.createElement(L,{prefixCls:U,level:Pn,isStart:Pr,isEnd:Xr}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),fr}(f.Component),ie=function(mn){return f.createElement(M.Consumer,null,function(fr){return f.createElement(he,(0,r.Z)({},mn,{context:fr}))})};ie.displayName=\"TreeNode\",ie.isTreeNode=1;var ae=ie,ve=null;function X(ln,mn){if(!ln)return[];var fr=ln.slice(),ft=fr.indexOf(mn);return ft>=0&&fr.splice(ft,1),fr}function se(ln,mn){var fr=(ln||[]).slice();return fr.indexOf(mn)===-1&&fr.push(mn),fr}function fe(ln){return ln.split(\"-\")}function _e(ln,mn){return\"\".concat(ln,\"-\").concat(mn)}function be(ln){return ln&&ln.type&&ln.type.isTreeNode}function We(ln,mn){var fr=[],ft=mn[ln];function ct(){var tn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];tn.forEach(function(An){var Rt=An.key,un=An.children;fr.push(Rt),ct(un)})}return ct(ft.children),fr}function we(ln){if(ln.parent){var mn=fe(ln.pos);return Number(mn[mn.length-1])===ln.parent.children.length-1}return!1}function Ze(ln){var mn=fe(ln.pos);return Number(mn[mn.length-1])===0}function Ve(ln,mn,fr,ft,ct,tn,An,Rt,un,Dn){var dr,Ar=ln.clientX,Gr=ln.clientY,Pr=ln.target.getBoundingClientRect(),Xr=Pr.top,oo=Pr.height,io=(Dn===\"rtl\"?-1:1)*(((ct==null?void 0:ct.x)||0)-Ar),to=(io-12)/ft,To=Rt[fr.props.eventKey];if(Gr<Xr+oo/2){var jn=An.findIndex(function(Je){return Je.key===To.key}),W=jn<=0?0:jn-1,P=An[W].key;To=Rt[P]}var k=To.key,z=To,Q=To.key,F=0,V=0;if(!un.includes(k))for(var U=0;U<to&&we(To);U+=1)To=To.parent,V+=1;var ge=mn.props.data,ke=To.node,St=!0;return Ze(To)&&To.level===0&&Gr<Xr+oo/2&&tn({dragNode:ge,dropNode:ke,dropPosition:-1})&&To.key===fr.props.eventKey?F=-1:(z.children||[]).length&&un.includes(Q)?tn({dragNode:ge,dropNode:ke,dropPosition:0})?F=0:St=!1:V===0?to>-1.5?tn({dragNode:ge,dropNode:ke,dropPosition:1})?F=1:St=!1:tn({dragNode:ge,dropNode:ke,dropPosition:0})?F=0:tn({dragNode:ge,dropNode:ke,dropPosition:1})?F=1:St=!1:tn({dragNode:ge,dropNode:ke,dropPosition:1})?F=1:St=!1,{dropPosition:F,dropLevelOffset:V,dropTargetKey:To.key,dropTargetPos:To.pos,dragOverNodeKey:Q,dropContainerKey:F===0?null:((dr=To.parent)===null||dr===void 0?void 0:dr.key)||null,dropAllowed:St}}function et(ln,mn){if(ln){var fr=mn.multiple;return fr?ln.slice():ln.length?[ln[0]]:ln}}var ht=function(mn){return mn};function Fe(ln,mn){if(!ln)return[];var fr=mn||{},ft=fr.processProps,ct=ft===void 0?ht:ft,tn=Array.isArray(ln)?ln:[ln];return tn.map(function(An){var Rt=An.children,un=_objectWithoutProperties(An,ve),Dn=Fe(Rt,mn);return React.createElement(TreeNode,_extends({key:un.key},ct(un)),Dn)})}function mt(ln){if(!ln)return null;var mn;if(Array.isArray(ln))mn={checkedKeys:ln,halfCheckedKeys:void 0};else if((0,N.Z)(ln)===\"object\")mn={checkedKeys:ln.checked||void 0,halfCheckedKeys:ln.halfChecked||void 0};else return(0,l.ZP)(!1,\"`checkedKeys` is not an array or an object\"),null;return mn}function dt(ln,mn){var fr=new Set;function ft(ct){if(!fr.has(ct)){var tn=mn[ct];if(tn){fr.add(ct);var An=tn.parent,Rt=tn.node;Rt.disabled||An&&ft(An.key)}}}return(ln||[]).forEach(function(ct){ft(ct)}),(0,w.Z)(fr)}function Lt(ln){if(ln==null)throw new TypeError(\"Cannot destructure \"+ln)}var lt=c(91600),rn=c(51206),qt=c(81676),hn=[\"className\",\"style\",\"motion\",\"motionNodes\",\"motionType\",\"onMotionStart\",\"onMotionEnd\",\"active\",\"treeNodeRequiredProps\"],Kt=function(mn,fr){var ft=mn.className,ct=mn.style,tn=mn.motion,An=mn.motionNodes,Rt=mn.motionType,un=mn.onMotionStart,Dn=mn.onMotionEnd,dr=mn.active,Ar=mn.treeNodeRequiredProps,Gr=(0,E.Z)(mn,hn),Pr=f.useState(!0),Xr=(0,lt.Z)(Pr,2),oo=Xr[0],io=Xr[1],to=f.useContext(M),To=to.prefixCls,jn=f.useRef(!1),W=function(){jn.current||Dn(),jn.current=!0};return(0,f.useEffect)(function(){An&&Rt===\"hide\"&&oo&&io(!1)},[An]),(0,f.useEffect)(function(){return An&&un(),function(){An&&W()}},[]),An?f.createElement(qt.Z,(0,r.Z)({ref:fr,visible:oo},tn,{motionAppear:Rt===\"show\",onAppearEnd:W,onLeaveEnd:W}),function(P,k){var z=P.className,Q=P.style;return f.createElement(\"div\",{ref:k,className:x()(\"\".concat(To,\"-treenode-motion\"),z),style:Q},An.map(function(F){var V=(0,r.Z)({},(Lt(F.data),F.data)),U=F.title,ge=F.key,ke=F.isStart,St=F.isEnd;delete V.children;var Je=De(ge,Ar);return f.createElement(ae,(0,r.Z)({},V,Je,{title:U,active:dr,data:F.data,key:ge,isStart:ke,isEnd:St}))}))}):f.createElement(ae,(0,r.Z)({domRef:fr,className:ft,style:ct},Gr,{active:dr}))};Kt.displayName=\"MotionTreeNode\";var an=f.forwardRef(Kt),In=an;function Ft(){var ln=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],mn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],fr=ln.length,ft=mn.length;if(Math.abs(fr-ft)!==1)return{add:!1,key:null};function ct(tn,An){var Rt=new Map;tn.forEach(function(Dn){Rt.set(Dn,!0)});var un=An.filter(function(Dn){return!Rt.has(Dn)});return un.length===1?un[0]:null}return fr<ft?{add:!0,key:ct(ln,mn)}:{add:!1,key:ct(mn,ln)}}function kt(ln,mn,fr){var ft=ln.findIndex(function(Rt){return Rt.key===fr}),ct=ln[ft+1],tn=mn.findIndex(function(Rt){return Rt.key===fr});if(ct){var An=mn.findIndex(function(Rt){return Rt.key===ct.key});return mn.slice(tn+1,An)}return mn.slice(tn+1)}var At=[\"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\"],Fn={width:0,height:0,display:\"flex\",overflow:\"hidden\",opacity:0,border:0,padding:0,margin:0},pn=function(){},en=\"RC_TREE_MOTION_\".concat(Math.random()),Wn={key:en},Mn={key:en,level:0,index:0,pos:\"0\",node:Wn,nodes:[Wn]},Kn={parent:null,children:[],pos:Mn.pos,data:Wn,title:null,key:en,isStart:[],isEnd:[]};function hr(ln,mn,fr,ft){return mn===!1||!fr?ln:ln.slice(0,Math.ceil(fr/ft)+1)}function pr(ln){var mn=ln.key,fr=ln.pos;return re(mn,fr)}function zr(ln){for(var mn=String(ln.data.key),fr=ln;fr.parent;)fr=fr.parent,mn=\"\".concat(fr.data.key,\" > \").concat(mn);return mn}var Wr=f.forwardRef(function(ln,mn){var fr=ln.prefixCls,ft=ln.data,ct=ln.selectable,tn=ln.checkable,An=ln.expandedKeys,Rt=ln.selectedKeys,un=ln.checkedKeys,Dn=ln.loadedKeys,dr=ln.loadingKeys,Ar=ln.halfCheckedKeys,Gr=ln.keyEntities,Pr=ln.disabled,Xr=ln.dragging,oo=ln.dragOverNodeKey,io=ln.dropPosition,to=ln.motion,To=ln.height,jn=ln.itemHeight,W=ln.virtual,P=ln.focusable,k=ln.activeItem,z=ln.focused,Q=ln.tabIndex,F=ln.onKeyDown,V=ln.onFocus,U=ln.onBlur,ge=ln.onActiveChange,ke=ln.onListChangeStart,St=ln.onListChangeEnd,Je=(0,E.Z)(ln,At),Ot=f.useRef(null),It=f.useRef(null);f.useImperativeHandle(mn,function(){return{scrollTo:function(Pi){Ot.current.scrollTo(Pi)},getIndentWidth:function(){return It.current.offsetWidth}}});var jt=f.useState(An),Vt=(0,lt.Z)(jt,2),Pn=Vt[0],Jn=Vt[1],vn=f.useState(ft),Vn=(0,lt.Z)(vn,2),zt=Vn[0],ir=Vn[1],nr=f.useState(ft),ur=(0,lt.Z)(nr,2),sr=ur[0],Ln=ur[1],Bt=f.useState([]),En=(0,lt.Z)(Bt,2),_n=En[0],cr=En[1],ao=f.useState(null),kr=(0,lt.Z)(ao,2),jo=kr[0],ui=kr[1],Vr=f.useRef(ft);Vr.current=ft;function ho(){var Go=Vr.current;ir(Go),Ln(Go),cr([]),ui(null),St()}f.useEffect(function(){Jn(An);var Go=Ft(Pn,An);if(Go.key!==null)if(Go.add){var Pi=zt.findIndex(function(Jo){var Ji=Jo.key;return Ji===Go.key}),la=hr(kt(zt,ft,Go.key),W,To,jn),Vi=zt.slice();Vi.splice(Pi+1,0,Kn),Ln(Vi),cr(la),ui(\"show\")}else{var ha=ft.findIndex(function(Jo){var Ji=Jo.key;return Ji===Go.key}),xa=hr(kt(ft,zt,Go.key),W,To,jn),qi=ft.slice();qi.splice(ha+1,0,Kn),Ln(qi),cr(xa),ui(\"hide\")}else zt!==ft&&(ir(ft),Ln(ft))},[An,ft]),f.useEffect(function(){Xr||ho()},[Xr]);var vo=to?sr:ft,uo={expandedKeys:An,selectedKeys:Rt,loadedKeys:Dn,loadingKeys:dr,checkedKeys:un,halfCheckedKeys:Ar,dragOverNodeKey:oo,dropPosition:io,keyEntities:Gr};return f.createElement(f.Fragment,null,z&&k&&f.createElement(\"span\",{style:Fn,\"aria-live\":\"assertive\"},zr(k)),f.createElement(\"div\",null,f.createElement(\"input\",{style:Fn,disabled:P===!1||Pr,tabIndex:P!==!1?Q:null,onKeyDown:F,onFocus:V,onBlur:U,value:\"\",onChange:pn,\"aria-label\":\"for screen reader\"})),f.createElement(\"div\",{className:\"\".concat(fr,\"-treenode\"),\"aria-hidden\":!0,style:{position:\"absolute\",pointerEvents:\"none\",visibility:\"hidden\",height:0,overflow:\"hidden\",border:0,padding:0}},f.createElement(\"div\",{className:\"\".concat(fr,\"-indent\")},f.createElement(\"div\",{ref:It,className:\"\".concat(fr,\"-indent-unit\")}))),f.createElement(rn.Z,(0,r.Z)({},Je,{data:vo,itemKey:pr,height:To,fullHeight:!1,virtual:W,itemHeight:jn,prefixCls:\"\".concat(fr,\"-list\"),ref:Ot,onVisibleChange:function(Pi,la){var Vi=new Set(Pi),ha=la.filter(function(xa){return!Vi.has(xa)});ha.some(function(xa){return pr(xa)===en})&&ho()}}),function(Go){var Pi=Go.pos,la=(0,r.Z)({},(Lt(Go.data),Go.data)),Vi=Go.title,ha=Go.key,xa=Go.isStart,qi=Go.isEnd,Jo=re(ha,Pi);delete la.key,delete la.children;var Ji=De(Jo,uo);return f.createElement(In,(0,r.Z)({},la,Ji,{title:Vi,active:!!k&&ha===k.key,pos:Pi,data:Go.data,isStart:xa,isEnd:qi,motion:to,motionNodes:ha===en?_n:null,motionType:jo,onMotionStart:ke,onMotionEnd:ho,treeNodeRequiredProps:uo,onMouseMove:function(){ge(null)}}))}))});Wr.displayName=\"NodeList\";var Nr=Wr;function Kr(ln,mn){var fr=new Set;return ln.forEach(function(ft){mn.has(ft)||fr.add(ft)}),fr}function ko(ln){var mn=ln||{},fr=mn.disabled,ft=mn.disableCheckbox,ct=mn.checkable;return!!(fr||ft)||ct===!1}function Ur(ln,mn,fr,ft){for(var ct=new Set(ln),tn=new Set,An=0;An<=fr;An+=1){var Rt=mn.get(An)||new Set;Rt.forEach(function(Ar){var Gr=Ar.key,Pr=Ar.node,Xr=Ar.children,oo=Xr===void 0?[]:Xr;ct.has(Gr)&&!ft(Pr)&&oo.filter(function(io){return!ft(io.node)}).forEach(function(io){ct.add(io.key)})})}for(var un=new Set,Dn=fr;Dn>=0;Dn-=1){var dr=mn.get(Dn)||new Set;dr.forEach(function(Ar){var Gr=Ar.parent,Pr=Ar.node;if(!(ft(Pr)||!Ar.parent||un.has(Ar.parent.key))){if(ft(Ar.parent.node)){un.add(Gr.key);return}var Xr=!0,oo=!1;(Gr.children||[]).filter(function(io){return!ft(io.node)}).forEach(function(io){var to=io.key,To=ct.has(to);Xr&&!To&&(Xr=!1),!oo&&(To||tn.has(to))&&(oo=!0)}),Xr&&ct.add(Gr.key),oo&&tn.add(Gr.key),un.add(Gr.key)}})}return{checkedKeys:Array.from(ct),halfCheckedKeys:Array.from(Kr(tn,ct))}}function gn(ln,mn,fr,ft,ct){for(var tn=new Set(ln),An=new Set(mn),Rt=0;Rt<=ft;Rt+=1){var un=fr.get(Rt)||new Set;un.forEach(function(Gr){var Pr=Gr.key,Xr=Gr.node,oo=Gr.children,io=oo===void 0?[]:oo;!tn.has(Pr)&&!An.has(Pr)&&!ct(Xr)&&io.filter(function(to){return!ct(to.node)}).forEach(function(to){tn.delete(to.key)})})}An=new Set;for(var Dn=new Set,dr=ft;dr>=0;dr-=1){var Ar=fr.get(dr)||new Set;Ar.forEach(function(Gr){var Pr=Gr.parent,Xr=Gr.node;if(!(ct(Xr)||!Gr.parent||Dn.has(Gr.parent.key))){if(ct(Gr.parent.node)){Dn.add(Pr.key);return}var oo=!0,io=!1;(Pr.children||[]).filter(function(to){return!ct(to.node)}).forEach(function(to){var To=to.key,jn=tn.has(To);oo&&!jn&&(oo=!1),!io&&(jn||An.has(To))&&(io=!0)}),oo||tn.delete(Pr.key),io&&An.add(Pr.key),Dn.add(Pr.key)}})}return{checkedKeys:Array.from(tn),halfCheckedKeys:Array.from(Kr(An,tn))}}function Gt(ln,mn,fr,ft){var ct=[],tn;ft?tn=ft:tn=ko;var An=new Set(ln.filter(function(dr){var Ar=!!fr[dr];return Ar||ct.push(dr),Ar})),Rt=new Map,un=0;Object.keys(fr).forEach(function(dr){var Ar=fr[dr],Gr=Ar.level,Pr=Rt.get(Gr);Pr||(Pr=new Set,Rt.set(Gr,Pr)),Pr.add(Ar),un=Math.max(un,Gr)}),(0,l.ZP)(!ct.length,\"Tree missing follow keys: \".concat(ct.slice(0,100).map(function(dr){return\"'\".concat(dr,\"'\")}).join(\", \")));var Dn;return mn===!0?Dn=Ur(An,Rt,un,tn):Dn=gn(An,mn.halfCheckedKeys,Rt,un,tn),Dn}function bt(ln){var mn=ln.dropPosition,fr=ln.dropLevelOffset,ft=ln.indent,ct={pointerEvents:\"none\",position:\"absolute\",right:0,backgroundColor:\"red\",height:2};switch(mn){case-1:ct.top=0,ct.left=-fr*ft;break;case 1:ct.bottom=0,ct.left=-fr*ft;break;case 0:ct.bottom=0,ct.left=ft;break}return f.createElement(\"div\",{style:ct})}var Zt=10,gt=function(ln){(0,u.Z)(fr,ln);var mn=(0,a.Z)(fr);function fr(){var ft;(0,O.Z)(this,fr);for(var ct=arguments.length,tn=new Array(ct),An=0;An<ct;An++)tn[An]=arguments[An];return ft=mn.call.apply(mn,[this].concat(tn)),ft.destroyed=!1,ft.delayedDragEnterLogic=void 0,ft.loadingRetryTimes={},ft.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:me()},ft.dragStartMousePosition=null,ft.dragNode=void 0,ft.currentMouseOverDroppableNodeKey=null,ft.listRef=f.createRef(),ft.onNodeDragStart=function(Rt,un){var Dn=ft.state,dr=Dn.expandedKeys,Ar=Dn.keyEntities,Gr=ft.props.onDragStart,Pr=un.props.eventKey;ft.dragNode=un,ft.dragStartMousePosition={x:Rt.clientX,y:Rt.clientY};var Xr=X(dr,Pr);ft.setState({draggingNodeKey:Pr,dragChildrenKeys:We(Pr,Ar),indent:ft.listRef.current.getIndentWidth()}),ft.setExpandedKeys(Xr),window.addEventListener(\"dragend\",ft.onWindowDragEnd),Gr==null||Gr({event:Rt,node:ce(un.props)})},ft.onNodeDragEnter=function(Rt,un){var Dn=ft.state,dr=Dn.expandedKeys,Ar=Dn.keyEntities,Gr=Dn.dragChildrenKeys,Pr=Dn.flattenNodes,Xr=Dn.indent,oo=ft.props,io=oo.onDragEnter,to=oo.onExpand,To=oo.allowDrop,jn=oo.direction,W=un.props,P=W.pos,k=W.eventKey,z=(0,p.Z)(ft),Q=z.dragNode;if(ft.currentMouseOverDroppableNodeKey!==k&&(ft.currentMouseOverDroppableNodeKey=k),!Q){ft.resetDragState();return}var F=Ve(Rt,Q,un,Xr,ft.dragStartMousePosition,To,Pr,Ar,dr,jn),V=F.dropPosition,U=F.dropLevelOffset,ge=F.dropTargetKey,ke=F.dropContainerKey,St=F.dropTargetPos,Je=F.dropAllowed,Ot=F.dragOverNodeKey;if(Gr.indexOf(ge)!==-1||!Je){ft.resetDragState();return}if(ft.delayedDragEnterLogic||(ft.delayedDragEnterLogic={}),Object.keys(ft.delayedDragEnterLogic).forEach(function(It){clearTimeout(ft.delayedDragEnterLogic[It])}),Q.props.eventKey!==un.props.eventKey&&(Rt.persist(),ft.delayedDragEnterLogic[P]=window.setTimeout(function(){if(ft.state.draggingNodeKey!==null){var It=(0,w.Z)(dr),jt=Ar[un.props.eventKey];jt&&(jt.children||[]).length&&(It=se(dr,un.props.eventKey)),\"expandedKeys\"in ft.props||ft.setExpandedKeys(It),to==null||to(It,{node:ce(un.props),expanded:!0,nativeEvent:Rt.nativeEvent})}},800)),Q.props.eventKey===ge&&U===0){ft.resetDragState();return}ft.setState({dragOverNodeKey:Ot,dropPosition:V,dropLevelOffset:U,dropTargetKey:ge,dropContainerKey:ke,dropTargetPos:St,dropAllowed:Je}),io==null||io({event:Rt,node:ce(un.props),expandedKeys:dr})},ft.onNodeDragOver=function(Rt,un){var Dn=ft.state,dr=Dn.dragChildrenKeys,Ar=Dn.flattenNodes,Gr=Dn.keyEntities,Pr=Dn.expandedKeys,Xr=Dn.indent,oo=ft.props,io=oo.onDragOver,to=oo.allowDrop,To=oo.direction,jn=(0,p.Z)(ft),W=jn.dragNode;if(W){var P=Ve(Rt,W,un,Xr,ft.dragStartMousePosition,to,Ar,Gr,Pr,To),k=P.dropPosition,z=P.dropLevelOffset,Q=P.dropTargetKey,F=P.dropContainerKey,V=P.dropAllowed,U=P.dropTargetPos,ge=P.dragOverNodeKey;dr.indexOf(Q)!==-1||!V||(W.props.eventKey===Q&&z===0?ft.state.dropPosition===null&&ft.state.dropLevelOffset===null&&ft.state.dropTargetKey===null&&ft.state.dropContainerKey===null&&ft.state.dropTargetPos===null&&ft.state.dropAllowed===!1&&ft.state.dragOverNodeKey===null||ft.resetDragState():k===ft.state.dropPosition&&z===ft.state.dropLevelOffset&&Q===ft.state.dropTargetKey&&F===ft.state.dropContainerKey&&U===ft.state.dropTargetPos&&V===ft.state.dropAllowed&&ge===ft.state.dragOverNodeKey||ft.setState({dropPosition:k,dropLevelOffset:z,dropTargetKey:Q,dropContainerKey:F,dropTargetPos:U,dropAllowed:V,dragOverNodeKey:ge}),io==null||io({event:Rt,node:ce(un.props)}))}},ft.onNodeDragLeave=function(Rt,un){ft.currentMouseOverDroppableNodeKey===un.props.eventKey&&!Rt.currentTarget.contains(Rt.relatedTarget)&&(ft.resetDragState(),ft.currentMouseOverDroppableNodeKey=null);var Dn=ft.props.onDragLeave;Dn==null||Dn({event:Rt,node:ce(un.props)})},ft.onWindowDragEnd=function(Rt){ft.onNodeDragEnd(Rt,null,!0),window.removeEventListener(\"dragend\",ft.onWindowDragEnd)},ft.onNodeDragEnd=function(Rt,un){var Dn=ft.props.onDragEnd;ft.setState({dragOverNodeKey:null}),ft.cleanDragState(),Dn==null||Dn({event:Rt,node:ce(un.props)}),ft.dragNode=null,window.removeEventListener(\"dragend\",ft.onWindowDragEnd)},ft.onNodeDrop=function(Rt,un){var Dn,dr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Ar=ft.state,Gr=Ar.dragChildrenKeys,Pr=Ar.dropPosition,Xr=Ar.dropTargetKey,oo=Ar.dropTargetPos,io=Ar.dropAllowed;if(io){var to=ft.props.onDrop;if(ft.setState({dragOverNodeKey:null}),ft.cleanDragState(),Xr!==null){var To=(0,C.Z)((0,C.Z)({},De(Xr,ft.getTreeNodeRequiredProps())),{},{active:((Dn=ft.getActiveItem())===null||Dn===void 0?void 0:Dn.key)===Xr,data:ft.state.keyEntities[Xr].node}),jn=Gr.indexOf(Xr)!==-1;(0,l.ZP)(!jn,\"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.\");var W=fe(oo),P={event:Rt,node:ce(To),dragNode:ft.dragNode?ce(ft.dragNode.props):null,dragNodesKeys:[ft.dragNode.props.eventKey].concat(Gr),dropToGap:Pr!==0,dropPosition:Pr+Number(W[W.length-1])};dr||to==null||to(P),ft.dragNode=null}}},ft.cleanDragState=function(){var Rt=ft.state.draggingNodeKey;Rt!==null&&ft.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),ft.dragStartMousePosition=null,ft.currentMouseOverDroppableNodeKey=null},ft.triggerExpandActionExpand=function(Rt,un){var Dn=ft.state,dr=Dn.expandedKeys,Ar=Dn.flattenNodes,Gr=un.expanded,Pr=un.key,Xr=un.isLeaf;if(!(Xr||Rt.shiftKey||Rt.metaKey||Rt.ctrlKey)){var oo=Ar.filter(function(to){return to.key===Pr})[0],io=ce((0,C.Z)((0,C.Z)({},De(Pr,ft.getTreeNodeRequiredProps())),{},{data:oo.data}));ft.setExpandedKeys(Gr?X(dr,Pr):se(dr,Pr)),ft.onNodeExpand(Rt,io)}},ft.onNodeClick=function(Rt,un){var Dn=ft.props,dr=Dn.onClick,Ar=Dn.expandAction;Ar===\"click\"&&ft.triggerExpandActionExpand(Rt,un),dr==null||dr(Rt,un)},ft.onNodeDoubleClick=function(Rt,un){var Dn=ft.props,dr=Dn.onDoubleClick,Ar=Dn.expandAction;Ar===\"doubleClick\"&&ft.triggerExpandActionExpand(Rt,un),dr==null||dr(Rt,un)},ft.onNodeSelect=function(Rt,un){var Dn=ft.state.selectedKeys,dr=ft.state,Ar=dr.keyEntities,Gr=dr.fieldNames,Pr=ft.props,Xr=Pr.onSelect,oo=Pr.multiple,io=un.selected,to=un[Gr.key],To=!io;To?oo?Dn=se(Dn,to):Dn=[to]:Dn=X(Dn,to);var jn=Dn.map(function(W){var P=Ar[W];return P?P.node:null}).filter(function(W){return W});ft.setUncontrolledState({selectedKeys:Dn}),Xr==null||Xr(Dn,{event:\"select\",selected:To,node:un,selectedNodes:jn,nativeEvent:Rt.nativeEvent})},ft.onNodeCheck=function(Rt,un,Dn){var dr=ft.state,Ar=dr.keyEntities,Gr=dr.checkedKeys,Pr=dr.halfCheckedKeys,Xr=ft.props,oo=Xr.checkStrictly,io=Xr.onCheck,to=un.key,To,jn={event:\"check\",node:un,checked:Dn,nativeEvent:Rt.nativeEvent};if(oo){var W=Dn?se(Gr,to):X(Gr,to),P=X(Pr,to);To={checked:W,halfChecked:P},jn.checkedNodes=W.map(function(U){return Ar[U]}).filter(function(U){return U}).map(function(U){return U.node}),ft.setUncontrolledState({checkedKeys:W})}else{var k=Gt([].concat((0,w.Z)(Gr),[to]),!0,Ar),z=k.checkedKeys,Q=k.halfCheckedKeys;if(!Dn){var F=new Set(z);F.delete(to);var V=Gt(Array.from(F),{checked:!1,halfCheckedKeys:Q},Ar);z=V.checkedKeys,Q=V.halfCheckedKeys}To=z,jn.checkedNodes=[],jn.checkedNodesPositions=[],jn.halfCheckedKeys=Q,z.forEach(function(U){var ge=Ar[U];if(ge){var ke=ge.node,St=ge.pos;jn.checkedNodes.push(ke),jn.checkedNodesPositions.push({node:ke,pos:St})}}),ft.setUncontrolledState({checkedKeys:z},!1,{halfCheckedKeys:Q})}io==null||io(To,jn)},ft.onNodeLoad=function(Rt){var un=Rt.key,Dn=new Promise(function(dr,Ar){ft.setState(function(Gr){var Pr=Gr.loadedKeys,Xr=Pr===void 0?[]:Pr,oo=Gr.loadingKeys,io=oo===void 0?[]:oo,to=ft.props,To=to.loadData,jn=to.onLoad;if(!To||Xr.indexOf(un)!==-1||io.indexOf(un)!==-1)return null;var W=To(Rt);return W.then(function(){var P=ft.state.loadedKeys,k=se(P,un);jn==null||jn(k,{event:\"load\",node:Rt}),ft.setUncontrolledState({loadedKeys:k}),ft.setState(function(z){return{loadingKeys:X(z.loadingKeys,un)}}),dr()}).catch(function(P){if(ft.setState(function(z){return{loadingKeys:X(z.loadingKeys,un)}}),ft.loadingRetryTimes[un]=(ft.loadingRetryTimes[un]||0)+1,ft.loadingRetryTimes[un]>=Zt){var k=ft.state.loadedKeys;(0,l.ZP)(!1,\"Retry for `loadData` many times but still failed. No more retry.\"),ft.setUncontrolledState({loadedKeys:se(k,un)}),dr()}Ar(P)}),{loadingKeys:se(io,un)}})});return Dn.catch(function(){}),Dn},ft.onNodeMouseEnter=function(Rt,un){var Dn=ft.props.onMouseEnter;Dn==null||Dn({event:Rt,node:un})},ft.onNodeMouseLeave=function(Rt,un){var Dn=ft.props.onMouseLeave;Dn==null||Dn({event:Rt,node:un})},ft.onNodeContextMenu=function(Rt,un){var Dn=ft.props.onRightClick;Dn&&(Rt.preventDefault(),Dn({event:Rt,node:un}))},ft.onFocus=function(){var Rt=ft.props.onFocus;ft.setState({focused:!0});for(var un=arguments.length,Dn=new Array(un),dr=0;dr<un;dr++)Dn[dr]=arguments[dr];Rt==null||Rt.apply(void 0,Dn)},ft.onBlur=function(){var Rt=ft.props.onBlur;ft.setState({focused:!1}),ft.onActiveChange(null);for(var un=arguments.length,Dn=new Array(un),dr=0;dr<un;dr++)Dn[dr]=arguments[dr];Rt==null||Rt.apply(void 0,Dn)},ft.getTreeNodeRequiredProps=function(){var Rt=ft.state,un=Rt.expandedKeys,Dn=Rt.selectedKeys,dr=Rt.loadedKeys,Ar=Rt.loadingKeys,Gr=Rt.checkedKeys,Pr=Rt.halfCheckedKeys,Xr=Rt.dragOverNodeKey,oo=Rt.dropPosition,io=Rt.keyEntities;return{expandedKeys:un||[],selectedKeys:Dn||[],loadedKeys:dr||[],loadingKeys:Ar||[],checkedKeys:Gr||[],halfCheckedKeys:Pr||[],dragOverNodeKey:Xr,dropPosition:oo,keyEntities:io}},ft.setExpandedKeys=function(Rt){var un=ft.state,Dn=un.treeData,dr=un.fieldNames,Ar=xe(Dn,Rt,dr);ft.setUncontrolledState({expandedKeys:Rt,flattenNodes:Ar},!0)},ft.onNodeExpand=function(Rt,un){var Dn=ft.state.expandedKeys,dr=ft.state,Ar=dr.listChanging,Gr=dr.fieldNames,Pr=ft.props,Xr=Pr.onExpand,oo=Pr.loadData,io=un.expanded,to=un[Gr.key];if(!Ar){var To=Dn.indexOf(to),jn=!io;if((0,l.ZP)(io&&To!==-1||!io&&To===-1,\"Expand state not sync with index check\"),jn?Dn=se(Dn,to):Dn=X(Dn,to),ft.setExpandedKeys(Dn),Xr==null||Xr(Dn,{node:un,expanded:jn,nativeEvent:Rt.nativeEvent}),jn&&oo){var W=ft.onNodeLoad(un);W&&W.then(function(){var P=xe(ft.state.treeData,Dn,Gr);ft.setUncontrolledState({flattenNodes:P})}).catch(function(){var P=ft.state.expandedKeys,k=X(P,to);ft.setExpandedKeys(k)})}}},ft.onListChangeStart=function(){ft.setUncontrolledState({listChanging:!0})},ft.onListChangeEnd=function(){setTimeout(function(){ft.setUncontrolledState({listChanging:!1})})},ft.onActiveChange=function(Rt){var un=ft.state.activeKey,Dn=ft.props.onActiveChange;un!==Rt&&(ft.setState({activeKey:Rt}),Rt!==null&&ft.scrollTo({key:Rt}),Dn==null||Dn(Rt))},ft.getActiveItem=function(){var Rt=ft.state,un=Rt.activeKey,Dn=Rt.flattenNodes;return un===null?null:Dn.find(function(dr){var Ar=dr.key;return Ar===un})||null},ft.offsetActiveKey=function(Rt){var un=ft.state,Dn=un.flattenNodes,dr=un.activeKey,Ar=Dn.findIndex(function(Xr){var oo=Xr.key;return oo===dr});Ar===-1&&Rt<0&&(Ar=Dn.length),Ar=(Ar+Rt+Dn.length)%Dn.length;var Gr=Dn[Ar];if(Gr){var Pr=Gr.key;ft.onActiveChange(Pr)}else ft.onActiveChange(null)},ft.onKeyDown=function(Rt){var un=ft.state,Dn=un.activeKey,dr=un.expandedKeys,Ar=un.checkedKeys,Gr=un.fieldNames,Pr=ft.props,Xr=Pr.onKeyDown,oo=Pr.checkable,io=Pr.selectable;switch(Rt.which){case h.Z.UP:{ft.offsetActiveKey(-1),Rt.preventDefault();break}case h.Z.DOWN:{ft.offsetActiveKey(1),Rt.preventDefault();break}}var to=ft.getActiveItem();if(to&&to.data){var To=ft.getTreeNodeRequiredProps(),jn=to.data.isLeaf===!1||!!(to.data[Gr.children]||[]).length,W=ce((0,C.Z)((0,C.Z)({},De(Dn,To)),{},{data:to.data,active:!0}));switch(Rt.which){case h.Z.LEFT:{jn&&dr.includes(Dn)?ft.onNodeExpand({},W):to.parent&&ft.onActiveChange(to.parent.key),Rt.preventDefault();break}case h.Z.RIGHT:{jn&&!dr.includes(Dn)?ft.onNodeExpand({},W):to.children&&to.children.length&&ft.onActiveChange(to.children[0].key),Rt.preventDefault();break}case h.Z.ENTER:case h.Z.SPACE:{oo&&!W.disabled&&W.checkable!==!1&&!W.disableCheckbox?ft.onNodeCheck({},W,!Ar.includes(Dn)):!oo&&io&&!W.disabled&&W.selectable!==!1&&ft.onNodeSelect({},W);break}}}Xr==null||Xr(Rt)},ft.setUncontrolledState=function(Rt){var un=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Dn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!ft.destroyed){var dr=!1,Ar=!0,Gr={};Object.keys(Rt).forEach(function(Pr){if(Pr in ft.props){Ar=!1;return}dr=!0,Gr[Pr]=Rt[Pr]}),dr&&(!un||Ar)&&ft.setState((0,C.Z)((0,C.Z)({},Gr),Dn))}},ft.scrollTo=function(Rt){ft.listRef.current.scrollTo(Rt)},ft}return(0,b.Z)(fr,[{key:\"componentDidMount\",value:function(){this.destroyed=!1,this.onUpdated()}},{key:\"componentDidUpdate\",value:function(){this.onUpdated()}},{key:\"onUpdated\",value:function(){var ct=this.props.activeKey;ct!==void 0&&ct!==this.state.activeKey&&(this.setState({activeKey:ct}),ct!==null&&this.scrollTo({key:ct}))}},{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 ct,tn=this.state,An=tn.focused,Rt=tn.flattenNodes,un=tn.keyEntities,Dn=tn.draggingNodeKey,dr=tn.activeKey,Ar=tn.dropLevelOffset,Gr=tn.dropContainerKey,Pr=tn.dropTargetKey,Xr=tn.dropPosition,oo=tn.dragOverNodeKey,io=tn.indent,to=this.props,To=to.prefixCls,jn=to.className,W=to.style,P=to.showLine,k=to.focusable,z=to.tabIndex,Q=z===void 0?0:z,F=to.selectable,V=to.showIcon,U=to.icon,ge=to.switcherIcon,ke=to.draggable,St=to.checkable,Je=to.checkStrictly,Ot=to.disabled,It=to.motion,jt=to.loadData,Vt=to.filterTreeNode,Pn=to.height,Jn=to.itemHeight,vn=to.virtual,Vn=to.titleRender,zt=to.dropIndicatorRender,ir=to.onContextMenu,nr=to.onScroll,ur=to.direction,sr=to.rootClassName,Ln=to.rootStyle,Bt=(0,s.Z)(this.props,{aria:!0,data:!0}),En;return ke&&((0,N.Z)(ke)===\"object\"?En=ke:typeof ke==\"function\"?En={nodeDraggable:ke}:En={}),f.createElement(M.Provider,{value:{prefixCls:To,selectable:F,showIcon:V,icon:U,switcherIcon:ge,draggable:En,draggingNodeKey:Dn,checkable:St,checkStrictly:Je,disabled:Ot,keyEntities:un,dropLevelOffset:Ar,dropContainerKey:Gr,dropTargetKey:Pr,dropPosition:Xr,dragOverNodeKey:oo,indent:io,direction:ur,dropIndicatorRender:zt,loadData:jt,filterTreeNode:Vt,titleRender:Vn,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}},f.createElement(\"div\",{role:\"tree\",className:x()(To,jn,sr,(ct={},(0,y.Z)(ct,\"\".concat(To,\"-show-line\"),P),(0,y.Z)(ct,\"\".concat(To,\"-focused\"),An),(0,y.Z)(ct,\"\".concat(To,\"-active-focused\"),dr!==null),ct)),style:Ln},f.createElement(Nr,(0,r.Z)({ref:this.listRef,prefixCls:To,style:W,data:Rt,disabled:Ot,selectable:F,checkable:!!St,motion:It,dragging:Dn!==null,height:Pn,itemHeight:Jn,virtual:vn,focusable:k,focused:An,tabIndex:Q,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:ir,onScroll:nr},this.getTreeNodeRequiredProps(),Bt))))}}],[{key:\"getDerivedStateFromProps\",value:function(ct,tn){var An=tn.prevProps,Rt={prevProps:ct};function un(k){return!An&&k in ct||An&&An[k]!==ct[k]}var Dn,dr=tn.fieldNames;if(un(\"fieldNames\")&&(dr=me(ct.fieldNames),Rt.fieldNames=dr),un(\"treeData\")?Dn=ct.treeData:un(\"children\")&&((0,l.ZP)(!1,\"`children` of Tree is deprecated. Please use `treeData` instead.\"),Dn=ee(ct.children)),Dn){Rt.treeData=Dn;var Ar=Le(Dn,{fieldNames:dr});Rt.keyEntities=(0,C.Z)((0,y.Z)({},en,Mn),Ar.keyEntities)}var Gr=Rt.keyEntities||tn.keyEntities;if(un(\"expandedKeys\")||An&&un(\"autoExpandParent\"))Rt.expandedKeys=ct.autoExpandParent||!An&&ct.defaultExpandParent?dt(ct.expandedKeys,Gr):ct.expandedKeys;else if(!An&&ct.defaultExpandAll){var Pr=(0,C.Z)({},Gr);delete Pr[en],Rt.expandedKeys=Object.keys(Pr).map(function(k){return Pr[k].key})}else!An&&ct.defaultExpandedKeys&&(Rt.expandedKeys=ct.autoExpandParent||ct.defaultExpandParent?dt(ct.defaultExpandedKeys,Gr):ct.defaultExpandedKeys);if(Rt.expandedKeys||delete Rt.expandedKeys,Dn||Rt.expandedKeys){var Xr=xe(Dn||tn.treeData,Rt.expandedKeys||tn.expandedKeys,dr);Rt.flattenNodes=Xr}if(ct.selectable&&(un(\"selectedKeys\")?Rt.selectedKeys=et(ct.selectedKeys,ct):!An&&ct.defaultSelectedKeys&&(Rt.selectedKeys=et(ct.defaultSelectedKeys,ct))),ct.checkable){var oo;if(un(\"checkedKeys\")?oo=mt(ct.checkedKeys)||{}:!An&&ct.defaultCheckedKeys?oo=mt(ct.defaultCheckedKeys)||{}:Dn&&(oo=mt(ct.checkedKeys)||{checkedKeys:tn.checkedKeys,halfCheckedKeys:tn.halfCheckedKeys}),oo){var io=oo,to=io.checkedKeys,To=to===void 0?[]:to,jn=io.halfCheckedKeys,W=jn===void 0?[]:jn;if(!ct.checkStrictly){var P=Gt(To,!0,Gr);To=P.checkedKeys,W=P.halfCheckedKeys}Rt.checkedKeys=To,Rt.halfCheckedKeys=W}}return un(\"loadedKeys\")&&(Rt.loadedKeys=ct.loadedKeys),Rt}}]),fr}(f.Component);gt.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:bt,allowDrop:function(){return!0},expandAction:!1},gt.TreeNode=ae;var Wt=gt,xn=Wt,Dt={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\"},Xn=Dt,Rn=c(58649),wt=function(mn,fr){return f.createElement(Rn.Z,(0,C.Z)((0,C.Z)({},mn),{},{ref:fr,icon:Xn}))};wt.displayName=\"HolderOutlined\";var pt=f.forwardRef(wt),Ue=c(35531),xt=c(48515);const cn=4;function er(ln){const{dropPosition:mn,dropLevelOffset:fr,prefixCls:ft,indent:ct,direction:tn=\"ltr\"}=ln,An=tn===\"ltr\"?\"left\":\"right\",Rt=tn===\"ltr\"?\"right\":\"left\",un={[An]:-fr*ct+cn,[Rt]:0};switch(mn){case-1:un.top=-3;break;case 1:un.bottom=-3;break;default:un.bottom=-3,un[An]=ct+cn;break}return f.createElement(\"div\",{style:un,className:`${ft}-drop-indicator`})}var Mr={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\"},xr=Mr,jr=function(mn,fr){return f.createElement(Rn.Z,(0,C.Z)((0,C.Z)({},mn),{},{ref:fr,icon:xr}))};jr.displayName=\"CaretDownFilled\";var yo=f.forwardRef(jr),eo={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\"},vi=eo,Ti=function(mn,fr){return f.createElement(Rn.Z,(0,C.Z)((0,C.Z)({},mn),{},{ref:fr,icon:vi}))};Ti.displayName=\"FileOutlined\";var wi=f.forwardRef(Ti),mi=c(19e3),Zi={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\"},aa=Zi,$e=function(mn,fr){return f.createElement(Rn.Z,(0,C.Z)((0,C.Z)({},mn),{},{ref:fr,icon:aa}))};$e.displayName=\"MinusSquareOutlined\";var dn=f.forwardRef($e),Un={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\"},ar=Un,Rr=function(mn,fr){return f.createElement(Rn.Z,(0,C.Z)((0,C.Z)({},mn),{},{ref:fr,icon:ar}))};Rr.displayName=\"PlusSquareOutlined\";var Ro=f.forwardRef(Rr),Vo=c(42912);function Co(ln,mn,fr,ft){const{isLeaf:ct,expanded:tn,loading:An}=fr;if(An)return f.createElement(mi.Z,{className:`${ln}-switcher-loading-icon`});let Rt;if(ft&&typeof ft==\"object\"&&(Rt=ft.showLeafIcon),ct){if(!ft)return null;if(typeof Rt!=\"boolean\"&&Rt){const dr=typeof Rt==\"function\"?Rt(fr):Rt,Ar=`${ln}-switcher-line-custom-icon`;return(0,Vo.l$)(dr)?(0,Vo.Tm)(dr,{className:x()(dr.props.className||\"\",Ar)}):dr}return Rt?f.createElement(wi,{className:`${ln}-switcher-line-icon`}):f.createElement(\"span\",{className:`${ln}-switcher-leaf-line`})}const un=`${ln}-switcher-icon`,Dn=typeof mn==\"function\"?mn(fr):mn;return(0,Vo.l$)(Dn)?(0,Vo.Tm)(Dn,{className:x()(Dn.props.className||\"\",un)}):Dn||(ft?tn?f.createElement(dn,{className:`${ln}-switcher-line-icon`}):f.createElement(Ro,{className:`${ln}-switcher-line-icon`}):f.createElement(yo,{className:un}))}var Mo=c(8439),qo=c(74820),ti=c(42550),pi=c(72267),ni=c(92220);const si=new Mo.E4(\"antCheckboxEffect\",{\"0%\":{transform:\"scale(1)\",opacity:.5},\"100%\":{transform:\"scale(1.6)\",opacity:0}}),Oi=ln=>{const{checkboxCls:mn}=ln,fr=`${mn}-wrapper`;return[{[`${mn}-group`]:Object.assign(Object.assign({},(0,ni.Wf)(ln)),{display:\"inline-flex\"}),[fr]:Object.assign(Object.assign({},(0,ni.Wf)(ln)),{display:\"inline-flex\",alignItems:\"baseline\",cursor:\"pointer\",\"&:after\":{display:\"inline-block\",width:0,overflow:\"hidden\",content:\"'\\\\a0'\"},[`& + ${fr}`]:{marginInlineStart:ln.marginXS},[`&${fr}-in-form-item`]:{'input[type=\"checkbox\"]':{width:14,height:14}}}),[mn]:Object.assign(Object.assign({},(0,ni.Wf)(ln)),{top:\"0.2em\",position:\"relative\",whiteSpace:\"nowrap\",lineHeight:1,cursor:\"pointer\",[`${mn}-input`]:{position:\"absolute\",inset:0,zIndex:1,width:\"100%\",height:\"100%\",cursor:\"pointer\",opacity:0,[`&:focus-visible + ${mn}-inner`]:Object.assign({},(0,ni.oN)(ln))},[`${mn}-inner`]:{boxSizing:\"border-box\",position:\"relative\",top:0,insetInlineStart:0,display:\"block\",width:ln.checkboxSize,height:ln.checkboxSize,direction:\"ltr\",backgroundColor:ln.colorBgContainer,border:`${ln.lineWidth}px ${ln.lineType} ${ln.colorBorder}`,borderRadius:ln.borderRadiusSM,borderCollapse:\"separate\",transition:`all ${ln.motionDurationSlow}`,\"&:after\":{boxSizing:\"border-box\",position:\"absolute\",top:\"50%\",insetInlineStart:\"21.5%\",display:\"table\",width:ln.checkboxSize/14*5,height:ln.checkboxSize/14*8,border:`${ln.lineWidthBold}px solid ${ln.colorWhite}`,borderTop:0,borderInlineStart:0,transform:\"rotate(45deg) scale(0) translate(-50%,-50%)\",opacity:0,content:'\"\"',transition:`all ${ln.motionDurationFast} ${ln.motionEaseInBack}, opacity ${ln.motionDurationFast}`}},\"& + span\":{paddingInlineStart:ln.paddingXS,paddingInlineEnd:ln.paddingXS}})},{[mn]:{\"&-indeterminate\":{[`${mn}-inner`]:{\"&:after\":{top:\"50%\",insetInlineStart:\"50%\",width:ln.fontSizeLG/2,height:ln.fontSizeLG/2,backgroundColor:ln.colorPrimary,border:0,transform:\"translate(-50%, -50%) scale(1)\",opacity:1,content:'\"\"'}}}}},{[`${fr}:hover ${mn}:after`]:{visibility:\"visible\"},[`\n        ${fr}:not(${fr}-disabled),\n        ${mn}:not(${mn}-disabled)\n      `]:{[`&:hover ${mn}-inner`]:{borderColor:ln.colorPrimary}},[`${fr}:not(${fr}-disabled)`]:{[`&:hover ${mn}-checked:not(${mn}-disabled) ${mn}-inner`]:{backgroundColor:ln.colorPrimaryHover,borderColor:\"transparent\"},[`&:hover ${mn}-checked:not(${mn}-disabled):after`]:{borderColor:ln.colorPrimaryHover}}},{[`${mn}-checked`]:{[`${mn}-inner`]:{backgroundColor:ln.colorPrimary,borderColor:ln.colorPrimary,\"&:after\":{opacity:1,transform:\"rotate(45deg) scale(1) translate(-50%,-50%)\",transition:`all ${ln.motionDurationMid} ${ln.motionEaseOutBack} ${ln.motionDurationFast}`}},\"&:after\":{position:\"absolute\",top:0,insetInlineStart:0,width:\"100%\",height:\"100%\",borderRadius:ln.borderRadiusSM,visibility:\"hidden\",border:`${ln.lineWidthBold}px solid ${ln.colorPrimary}`,animationName:si,animationDuration:ln.motionDurationSlow,animationTimingFunction:\"ease-in-out\",animationFillMode:\"backwards\",content:'\"\"',transition:`all ${ln.motionDurationSlow}`}},[`\n        ${fr}-checked:not(${fr}-disabled),\n        ${mn}-checked:not(${mn}-disabled)\n      `]:{[`&:hover ${mn}-inner`]:{backgroundColor:ln.colorPrimaryHover,borderColor:\"transparent\"},[`&:hover ${mn}:after`]:{borderColor:ln.colorPrimaryHover}}},{[`${fr}-disabled`]:{cursor:\"not-allowed\"},[`${mn}-disabled`]:{[`&, ${mn}-input`]:{cursor:\"not-allowed\",pointerEvents:\"none\"},[`${mn}-inner`]:{background:ln.colorBgContainerDisabled,borderColor:ln.colorBorder,\"&:after\":{borderColor:ln.colorTextDisabled}},\"&:after\":{display:\"none\"},\"& + span\":{color:ln.colorTextDisabled},[`&${mn}-indeterminate ${mn}-inner::after`]:{background:ln.colorTextDisabled}}}]};function Ki(ln,mn){const fr=(0,ti.TS)(mn,{checkboxCls:`.${ln}`,checkboxSize:mn.controlInteractiveSize});return[Oi(fr)]}var ca=(0,pi.Z)(\"Checkbox\",(ln,mn)=>{let{prefixCls:fr}=mn;return[Ki(fr,ln)]});const zi=new Mo.E4(\"ant-tree-node-fx-do-not-use\",{\"0%\":{opacity:0},\"100%\":{opacity:1}}),br=(ln,mn)=>({[`.${ln}-switcher-icon`]:{display:\"inline-block\",fontSize:10,verticalAlign:\"baseline\",svg:{transition:`transform ${mn.motionDurationSlow}`}}}),Re=(ln,mn)=>({[`.${ln}-drop-indicator`]:{position:\"absolute\",zIndex:1,height:2,backgroundColor:mn.colorPrimary,borderRadius:1,pointerEvents:\"none\",\"&:after\":{position:\"absolute\",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:\"transparent\",border:`${mn.lineWidthBold}px solid ${mn.colorPrimary}`,borderRadius:\"50%\",content:'\"\"'}}}),je=(ln,mn)=>{const{treeCls:fr,treeNodeCls:ft,treeNodePadding:ct,treeTitleHeight:tn}=mn,An=(tn-mn.fontSizeLG)/2,Rt=mn.paddingXS;return{[fr]:Object.assign(Object.assign({},(0,ni.Wf)(mn)),{background:mn.colorBgContainer,borderRadius:mn.borderRadius,transition:`background-color ${mn.motionDurationSlow}`,[`&${fr}-rtl`]:{[`${fr}-switcher`]:{\"&_close\":{[`${fr}-switcher-icon`]:{svg:{transform:\"rotate(90deg)\"}}}}},[`&-focused:not(:hover):not(${fr}-active-focused)`]:Object.assign({},(0,ni.oN)(mn)),[`${fr}-list-holder-inner`]:{alignItems:\"flex-start\"},[`&${fr}-block-node`]:{[`${fr}-list-holder-inner`]:{alignItems:\"stretch\",[`${fr}-node-content-wrapper`]:{flex:\"auto\"},[`${ft}.dragging`]:{position:\"relative\",\"&:after\":{position:\"absolute\",top:0,insetInlineEnd:0,bottom:ct,insetInlineStart:0,border:`1px solid ${mn.colorPrimary}`,opacity:0,animationName:zi,animationDuration:mn.motionDurationSlow,animationPlayState:\"running\",animationFillMode:\"forwards\",content:'\"\"',pointerEvents:\"none\"}}}},[`${ft}`]:{display:\"flex\",alignItems:\"flex-start\",padding:`0 0 ${ct}px 0`,outline:\"none\",\"&-rtl\":{direction:\"rtl\"},\"&-disabled\":{[`${fr}-node-content-wrapper`]:{color:mn.colorTextDisabled,cursor:\"not-allowed\",\"&:hover\":{background:\"transparent\"}}},[`&-active ${fr}-node-content-wrapper`]:Object.assign({},(0,ni.oN)(mn)),[`&:not(${ft}-disabled).filter-node ${fr}-title`]:{color:\"inherit\",fontWeight:500},\"&-draggable\":{[`${fr}-draggable-icon`]:{width:tn,lineHeight:`${tn}px`,textAlign:\"center\",visibility:\"visible\",opacity:.2,transition:`opacity ${mn.motionDurationSlow}`,[`${ft}:hover &`]:{opacity:.45}},[`&${ft}-disabled`]:{[`${fr}-draggable-icon`]:{visibility:\"hidden\"}}}},[`${fr}-indent`]:{alignSelf:\"stretch\",whiteSpace:\"nowrap\",userSelect:\"none\",\"&-unit\":{display:\"inline-block\",width:tn}},[`${fr}-draggable-icon`]:{visibility:\"hidden\"},[`${fr}-switcher`]:Object.assign(Object.assign({},br(ln,mn)),{position:\"relative\",flex:\"none\",alignSelf:\"stretch\",width:tn,margin:0,lineHeight:`${tn}px`,textAlign:\"center\",cursor:\"pointer\",userSelect:\"none\",\"&-noop\":{cursor:\"default\"},\"&_close\":{[`${fr}-switcher-icon`]:{svg:{transform:\"rotate(-90deg)\"}}},\"&-loading-icon\":{color:mn.colorPrimary},\"&-leaf-line\":{position:\"relative\",zIndex:1,display:\"inline-block\",width:\"100%\",height:\"100%\",\"&:before\":{position:\"absolute\",top:0,insetInlineEnd:tn/2,bottom:-ct,marginInlineStart:-1,borderInlineEnd:`1px solid ${mn.colorBorder}`,content:'\"\"'},\"&:after\":{position:\"absolute\",width:tn/2*.8,height:tn/2,borderBottom:`1px solid ${mn.colorBorder}`,content:'\"\"'}}}),[`${fr}-checkbox`]:{top:\"initial\",marginInlineEnd:Rt,marginBlockStart:An},[`${fr}-node-content-wrapper, ${fr}-checkbox + span`]:{position:\"relative\",zIndex:\"auto\",minHeight:tn,margin:0,padding:`0 ${mn.paddingXS/2}px`,color:\"inherit\",lineHeight:`${tn}px`,background:\"transparent\",borderRadius:mn.borderRadius,cursor:\"pointer\",transition:`all ${mn.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,\"&:hover\":{backgroundColor:mn.controlItemBgHover},[`&${fr}-node-selected`]:{backgroundColor:mn.controlItemBgActive},[`${fr}-iconEle`]:{display:\"inline-block\",width:tn,height:tn,lineHeight:`${tn}px`,textAlign:\"center\",verticalAlign:\"top\",\"&:empty\":{display:\"none\"}}},[`${fr}-unselectable ${fr}-node-content-wrapper:hover`]:{backgroundColor:\"transparent\"},[`${fr}-node-content-wrapper`]:Object.assign({lineHeight:`${tn}px`,userSelect:\"none\"},Re(ln,mn)),[`${ft}.drop-container`]:{\"> [draggable]\":{boxShadow:`0 0 0 2px ${mn.colorPrimary}`}},\"&-show-line\":{[`${fr}-indent`]:{\"&-unit\":{position:\"relative\",height:\"100%\",\"&:before\":{position:\"absolute\",top:0,insetInlineEnd:tn/2,bottom:-ct,borderInlineEnd:`1px solid ${mn.colorBorder}`,content:'\"\"'},\"&-end\":{\"&:before\":{display:\"none\"}}}},[`${fr}-switcher`]:{background:\"transparent\",\"&-line-icon\":{verticalAlign:\"-0.15em\"}}},[`${ft}-leaf-last`]:{[`${fr}-switcher`]:{\"&-leaf-line\":{\"&:before\":{top:\"auto !important\",bottom:\"auto !important\",height:`${tn/2}px !important`}}}}})}},nt=ln=>{const{treeCls:mn,treeNodeCls:fr,treeNodePadding:ft}=ln;return{[`${mn}${mn}-directory`]:{[fr]:{position:\"relative\",\"&:before\":{position:\"absolute\",top:0,insetInlineEnd:0,bottom:ft,insetInlineStart:0,transition:`background-color ${ln.motionDurationMid}`,content:'\"\"',pointerEvents:\"none\"},\"&:hover\":{\"&:before\":{background:ln.controlItemBgHover}},\"> *\":{zIndex:1},[`${mn}-switcher`]:{transition:`color ${ln.motionDurationMid}`},[`${mn}-node-content-wrapper`]:{borderRadius:0,userSelect:\"none\",\"&:hover\":{background:\"transparent\"},[`&${mn}-node-selected`]:{color:ln.colorTextLightSolid,background:\"transparent\"}},\"&-selected\":{[`\n            &:hover::before,\n            &::before\n          `]:{background:ln.colorPrimary},[`${mn}-switcher`]:{color:ln.colorTextLightSolid},[`${mn}-node-content-wrapper`]:{color:ln.colorTextLightSolid,background:\"transparent\"}}}}}},rt=(ln,mn)=>{const fr=`.${ln}`,ft=`${fr}-treenode`,ct=mn.paddingXS/2,tn=mn.controlHeightSM,An=(0,ti.TS)(mn,{treeCls:fr,treeNodeCls:ft,treeNodePadding:ct,treeTitleHeight:tn});return[je(ln,An),nt(An)]};var Xt=(0,pi.Z)(\"Tree\",(ln,mn)=>{let{prefixCls:fr}=mn;return[{[ln.componentCls]:Ki(`${fr}-checkbox`,ln)},rt(fr,ln),(0,qo.Z)(ln)]}),Cn=f.forwardRef((ln,mn)=>{const{getPrefixCls:fr,direction:ft,virtual:ct}=f.useContext(Ue.E_),{prefixCls:tn,className:An,showIcon:Rt=!1,showLine:un,switcherIcon:Dn,blockNode:dr=!1,children:Ar,checkable:Gr=!1,selectable:Pr=!0,draggable:Xr,motion:oo}=ln,io=fr(\"tree\",tn),to=fr(),To=oo!=null?oo:Object.assign(Object.assign({},(0,xt.ZP)(to)),{motionAppear:!1}),jn=Object.assign(Object.assign({},ln),{checkable:Gr,selectable:Pr,showIcon:Rt,motion:To,blockNode:dr,showLine:Boolean(un),dropIndicatorRender:er}),[W,P]=Xt(io),k=f.useMemo(()=>{if(!Xr)return!1;let z={};switch(typeof Xr){case\"function\":z.nodeDraggable=Xr;break;case\"object\":z=Object.assign({},Xr);break;default:break}return z.icon!==!1&&(z.icon=z.icon||f.createElement(pt,null)),z},[Xr]);return W(f.createElement(xn,Object.assign({itemHeight:20,ref:mn,virtual:ct},jn,{prefixCls:io,className:x()({[`${io}-icon-hide`]:!Rt,[`${io}-block-node`]:dr,[`${io}-unselectable`]:!Pr,[`${io}-rtl`]:ft===\"rtl\"},An,P),direction:ft,checkable:Gr&&f.createElement(\"span\",{className:`${io}-checkbox-inner`}),selectable:Pr,switcherIcon:z=>Co(io,Dn,z,un),draggable:k}),Ar))}),Yn={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\"},Ae=Yn,Ke=function(mn,fr){return f.createElement(Rn.Z,(0,C.Z)((0,C.Z)({},mn),{},{ref:fr,icon:Ae}))};Ke.displayName=\"FolderOpenOutlined\";var Mt=f.forwardRef(Ke),Ut={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\"},kn=Ut,Zn=function(mn,fr){return f.createElement(Rn.Z,(0,C.Z)((0,C.Z)({},mn),{},{ref:fr,icon:kn}))};Zn.displayName=\"FolderOutlined\";var lr=f.forwardRef(Zn),wr;(function(ln){ln[ln.None=0]=\"None\",ln[ln.Start=1]=\"Start\",ln[ln.End=2]=\"End\"})(wr||(wr={}));function Dr(ln,mn){function fr(ft){const{key:ct,children:tn}=ft;mn(ct,ft)!==!1&&Dr(tn||[],mn)}ln.forEach(fr)}function go(ln){let{treeData:mn,expandedKeys:fr,startKey:ft,endKey:ct}=ln;const tn=[];let An=wr.None;if(ft&&ft===ct)return[ft];if(!ft||!ct)return[];function Rt(un){return un===ft||un===ct}return Dr(mn,un=>{if(An===wr.End)return!1;if(Rt(un)){if(tn.push(un),An===wr.None)An=wr.Start;else if(An===wr.Start)return An=wr.End,!1}else An===wr.Start&&tn.push(un);return fr.includes(un)}),tn}function Ir(ln,mn){const fr=(0,w.Z)(mn),ft=[];return Dr(ln,(ct,tn)=>{const An=fr.indexOf(ct);return An!==-1&&(ft.push(tn),fr.splice(An,1)),!!fr.length}),ft}var Jr=function(ln,mn){var fr={};for(var ft in ln)Object.prototype.hasOwnProperty.call(ln,ft)&&mn.indexOf(ft)<0&&(fr[ft]=ln[ft]);if(ln!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var ct=0,ft=Object.getOwnPropertySymbols(ln);ct<ft.length;ct++)mn.indexOf(ft[ct])<0&&Object.prototype.propertyIsEnumerable.call(ln,ft[ct])&&(fr[ft[ct]]=ln[ft[ct]]);return fr};function _o(ln){const{isLeaf:mn,expanded:fr}=ln;return mn?f.createElement(wi,null):fr?f.createElement(Mt,null):f.createElement(lr,null)}function No(ln){let{treeData:mn,children:fr}=ln;return mn||ee(fr)}const ii=(ln,mn)=>{var{defaultExpandAll:fr,defaultExpandParent:ft,defaultExpandedKeys:ct}=ln,tn=Jr(ln,[\"defaultExpandAll\",\"defaultExpandParent\",\"defaultExpandedKeys\"]);const An=f.useRef(),Rt=f.useRef(),un=()=>{const{keyEntities:Q}=Le(No(tn));let F;return fr?F=Object.keys(Q):ft?F=dt(tn.expandedKeys||ct||[],Q):F=tn.expandedKeys||ct,F},[Dn,dr]=f.useState(tn.selectedKeys||tn.defaultSelectedKeys||[]),[Ar,Gr]=f.useState(()=>un());f.useEffect(()=>{\"selectedKeys\"in tn&&dr(tn.selectedKeys)},[tn.selectedKeys]),f.useEffect(()=>{\"expandedKeys\"in tn&&Gr(tn.expandedKeys)},[tn.expandedKeys]);const Pr=(Q,F)=>{var V;return\"expandedKeys\"in tn||Gr(Q),(V=tn.onExpand)===null||V===void 0?void 0:V.call(tn,Q,F)},Xr=(Q,F)=>{var V;const{multiple:U}=tn,{node:ge,nativeEvent:ke}=F,{key:St=\"\"}=ge,Je=No(tn),Ot=Object.assign(Object.assign({},F),{selected:!0}),It=(ke==null?void 0:ke.ctrlKey)||(ke==null?void 0:ke.metaKey),jt=ke==null?void 0:ke.shiftKey;let Vt;U&&It?(Vt=Q,An.current=St,Rt.current=Vt,Ot.selectedNodes=Ir(Je,Vt)):U&&jt?(Vt=Array.from(new Set([].concat((0,w.Z)(Rt.current||[]),(0,w.Z)(go({treeData:Je,expandedKeys:Ar,startKey:St,endKey:An.current}))))),Ot.selectedNodes=Ir(Je,Vt)):(Vt=[St],An.current=St,Rt.current=Vt,Ot.selectedNodes=Ir(Je,Vt)),(V=tn.onSelect)===null||V===void 0||V.call(tn,Vt,Ot),\"selectedKeys\"in tn||dr(Vt)},{getPrefixCls:oo,direction:io}=f.useContext(Ue.E_),{prefixCls:to,className:To,showIcon:jn=!0,expandAction:W=\"click\"}=tn,P=Jr(tn,[\"prefixCls\",\"className\",\"showIcon\",\"expandAction\"]),k=oo(\"tree\",to),z=x()(`${k}-directory`,{[`${k}-directory-rtl`]:io===\"rtl\"},To);return f.createElement(Cn,Object.assign({icon:_o,ref:mn,blockNode:!0},P,{showIcon:jn,expandAction:W,prefixCls:k,className:z,expandedKeys:Ar,selectedKeys:Dn,onSelect:Xr,onExpand:Pr}))};var ai=f.forwardRef(ii);const Si=Cn;Si.DirectoryTree=ai,Si.TreeNode=ae;var Ui=Si},91002:function(Pt,Ee,c){var r=c(64275),y=c(93018),N={float:\"cssFloat\"},C=c(33212);function w(u,a,f){var h=N[a];if(typeof h==\"undefined\"&&(h=b(a)),h){if(f===void 0)return u.style[h];u.style[h]=C(h,f)}}function O(u,a){for(var f in a)a.hasOwnProperty(f)&&w(u,f,a[f])}function b(u){var a=y(u),f=r(a);return N[a]=N[u]=N[f]=f,f}function p(){arguments.length===2?typeof arguments[1]==\"string\"?arguments[0].style.cssText=arguments[1]:O(arguments[0],arguments[1]):w(arguments[0],arguments[1],arguments[2])}Pt.exports=p,Pt.exports.set=p,Pt.exports.get=function(u,a){return Array.isArray(a)?a.reduce(function(f,h){return f[h]=w(u,h||\"\"),f},{}):w(u,a||\"\")}},83056:function(Pt,Ee){\"use strict\";Object.defineProperty(Ee,\"__esModule\",{value:!0});function c(y){return Object.prototype.toString.call(y)===\"[object Object]\"}function r(y){var N,C;return c(y)===!1?!1:(N=y.constructor,N===void 0?!0:(C=N.prototype,!(c(C)===!1||C.hasOwnProperty(\"isPrototypeOf\")===!1)))}Ee.isPlainObject=r},87269:function(Pt,Ee,c){var r=c(47758),y=c(29165),N=r(y,\"DataView\");Pt.exports=N},88987:function(Pt,Ee,c){var r=c(71519),y=c(82999),N=c(76111),C=c(50506),w=c(80845);function O(b){var p=-1,u=b==null?0:b.length;for(this.clear();++p<u;){var a=b[p];this.set(a[0],a[1])}}O.prototype.clear=r,O.prototype.delete=y,O.prototype.get=N,O.prototype.has=C,O.prototype.set=w,Pt.exports=O},175:function(Pt,Ee,c){var r=c(2173),y=c(33752),N=c(10548),C=c(63410),w=c(3564);function O(b){var p=-1,u=b==null?0:b.length;for(this.clear();++p<u;){var a=b[p];this.set(a[0],a[1])}}O.prototype.clear=r,O.prototype.delete=y,O.prototype.get=N,O.prototype.has=C,O.prototype.set=w,Pt.exports=O},35922:function(Pt,Ee,c){var r=c(47758),y=c(29165),N=r(y,\"Map\");Pt.exports=N},9440:function(Pt,Ee,c){var r=c(7140),y=c(56504),N=c(88833),C=c(80953),w=c(70724);function O(b){var p=-1,u=b==null?0:b.length;for(this.clear();++p<u;){var a=b[p];this.set(a[0],a[1])}}O.prototype.clear=r,O.prototype.delete=y,O.prototype.get=N,O.prototype.has=C,O.prototype.set=w,Pt.exports=O},6795:function(Pt,Ee,c){var r=c(47758),y=c(29165),N=r(y,\"Promise\");Pt.exports=N},81956:function(Pt,Ee,c){var r=c(47758),y=c(29165),N=r(y,\"Set\");Pt.exports=N},78188:function(Pt,Ee,c){var r=c(9440),y=c(96659),N=c(97230);function C(w){var O=-1,b=w==null?0:w.length;for(this.__data__=new r;++O<b;)this.add(w[O])}C.prototype.add=C.prototype.push=y,C.prototype.has=N,Pt.exports=C},5929:function(Pt,Ee,c){var r=c(175),y=c(40551),N=c(4090),C=c(47694),w=c(86220),O=c(68958);function b(p){var u=this.__data__=new r(p);this.size=u.size}b.prototype.clear=y,b.prototype.delete=N,b.prototype.get=C,b.prototype.has=w,b.prototype.set=O,Pt.exports=b},74396:function(Pt,Ee,c){var r=c(29165),y=r.Symbol;Pt.exports=y},92210:function(Pt,Ee,c){var r=c(29165),y=r.Uint8Array;Pt.exports=y},69477:function(Pt,Ee,c){var r=c(47758),y=c(29165),N=r(y,\"WeakMap\");Pt.exports=N},21662:function(Pt){function Ee(c,r){for(var y=-1,N=c==null?0:c.length;++y<N&&r(c[y],y,c)!==!1;);return c}Pt.exports=Ee},48969:function(Pt){function Ee(c,r){for(var y=-1,N=c==null?0:c.length,C=0,w=[];++y<N;){var O=c[y];r(O,y,c)&&(w[C++]=O)}return w}Pt.exports=Ee},79809:function(Pt,Ee,c){var r=c(39739),y=c(30353),N=c(24669),C=c(61563),w=c(91010),O=c(73806),b=Object.prototype,p=b.hasOwnProperty;function u(a,f){var h=N(a),l=!h&&y(a),s=!h&&!l&&C(a),m=!h&&!l&&!s&&O(a),x=h||l||s||m,M=x?r(a.length,String):[],E=M.length;for(var j in a)(f||p.call(a,j))&&!(x&&(j==\"length\"||s&&(j==\"offset\"||j==\"parent\")||m&&(j==\"buffer\"||j==\"byteLength\"||j==\"byteOffset\")||w(j,E)))&&M.push(j);return M}Pt.exports=u},75697:function(Pt){function Ee(c,r){for(var y=-1,N=c==null?0:c.length,C=Array(N);++y<N;)C[y]=r(c[y],y,c);return C}Pt.exports=Ee},28486:function(Pt){function Ee(c,r){for(var y=-1,N=r.length,C=c.length;++y<N;)c[C+y]=r[y];return c}Pt.exports=Ee},84330:function(Pt){function Ee(c,r){for(var y=-1,N=c==null?0:c.length;++y<N;)if(r(c[y],y,c))return!0;return!1}Pt.exports=Ee},93719:function(Pt,Ee,c){var r=c(30404),y=c(42448),N=Object.prototype,C=N.hasOwnProperty;function w(O,b,p){var u=O[b];(!(C.call(O,b)&&y(u,p))||p===void 0&&!(b in O))&&r(O,b,p)}Pt.exports=w},62718:function(Pt,Ee,c){var r=c(42448);function y(N,C){for(var w=N.length;w--;)if(r(N[w][0],C))return w;return-1}Pt.exports=y},43472:function(Pt,Ee,c){var r=c(92434),y=c(50579);function N(C,w){return C&&r(w,y(w),C)}Pt.exports=N},7254:function(Pt,Ee,c){var r=c(92434),y=c(37390);function N(C,w){return C&&r(w,y(w),C)}Pt.exports=N},30404:function(Pt,Ee,c){var r=c(34082);function y(N,C,w){C==\"__proto__\"&&r?r(N,C,{configurable:!0,enumerable:!0,value:w,writable:!0}):N[C]=w}Pt.exports=y},53174:function(Pt,Ee,c){var r=c(5929),y=c(21662),N=c(93719),C=c(43472),w=c(7254),O=c(39767),b=c(47165),p=c(8782),u=c(2667),a=c(79944),f=c(21699),h=c(81887),l=c(12195),s=c(46740),m=c(36404),x=c(24669),M=c(61563),E=c(32924),j=c(36838),L=c(45380),A=c(50579),J=c(37390),q=1,re=2,me=4,Te=\"[object Arguments]\",ee=\"[object Array]\",xe=\"[object Boolean]\",Ie=\"[object Date]\",Le=\"[object Error]\",De=\"[object Function]\",ce=\"[object GeneratorFunction]\",ye=\"[object Map]\",Oe=\"[object Number]\",Ce=\"[object Object]\",oe=\"[object RegExp]\",he=\"[object Set]\",ie=\"[object String]\",ae=\"[object Symbol]\",ve=\"[object WeakMap]\",X=\"[object ArrayBuffer]\",se=\"[object DataView]\",fe=\"[object Float32Array]\",_e=\"[object Float64Array]\",be=\"[object Int8Array]\",We=\"[object Int16Array]\",we=\"[object Int32Array]\",Ze=\"[object Uint8Array]\",Ve=\"[object Uint8ClampedArray]\",et=\"[object Uint16Array]\",ht=\"[object Uint32Array]\",Fe={};Fe[Te]=Fe[ee]=Fe[X]=Fe[se]=Fe[xe]=Fe[Ie]=Fe[fe]=Fe[_e]=Fe[be]=Fe[We]=Fe[we]=Fe[ye]=Fe[Oe]=Fe[Ce]=Fe[oe]=Fe[he]=Fe[ie]=Fe[ae]=Fe[Ze]=Fe[Ve]=Fe[et]=Fe[ht]=!0,Fe[Le]=Fe[De]=Fe[ve]=!1;function mt(dt,Lt,lt,rn,qt,hn){var Kt,an=Lt&q,In=Lt&re,Ft=Lt&me;if(lt&&(Kt=qt?lt(dt,rn,qt,hn):lt(dt)),Kt!==void 0)return Kt;if(!j(dt))return dt;var kt=x(dt);if(kt){if(Kt=l(dt),!an)return b(dt,Kt)}else{var At=h(dt),Fn=At==De||At==ce;if(M(dt))return O(dt,an);if(At==Ce||At==Te||Fn&&!qt){if(Kt=In||Fn?{}:m(dt),!an)return In?u(dt,w(Kt,dt)):p(dt,C(Kt,dt))}else{if(!Fe[At])return qt?dt:{};Kt=s(dt,At,an)}}hn||(hn=new r);var pn=hn.get(dt);if(pn)return pn;hn.set(dt,Kt),L(dt)?dt.forEach(function(Mn){Kt.add(mt(Mn,Lt,lt,Mn,dt,hn))}):E(dt)&&dt.forEach(function(Mn,Kn){Kt.set(Kn,mt(Mn,Lt,lt,Kn,dt,hn))});var en=Ft?In?f:a:In?J:A,Wn=kt?void 0:en(dt);return y(Wn||dt,function(Mn,Kn){Wn&&(Kn=Mn,Mn=dt[Kn]),N(Kt,Kn,mt(Mn,Lt,lt,Kn,dt,hn))}),Kt}Pt.exports=mt},91348:function(Pt,Ee,c){var r=c(36838),y=Object.create,N=function(){function C(){}return function(w){if(!r(w))return{};if(y)return y(w);C.prototype=w;var O=new C;return C.prototype=void 0,O}}();Pt.exports=N},30438:function(Pt,Ee,c){var r=c(61343),y=c(8202),N=y(r);Pt.exports=N},91030:function(Pt,Ee,c){var r=c(29),y=r();Pt.exports=y},61343:function(Pt,Ee,c){var r=c(91030),y=c(50579);function N(C,w){return C&&r(C,w,y)}Pt.exports=N},97499:function(Pt,Ee,c){var r=c(60399),y=c(77817);function N(C,w){w=r(w,C);for(var O=0,b=w.length;C!=null&&O<b;)C=C[y(w[O++])];return O&&O==b?C:void 0}Pt.exports=N},38084:function(Pt,Ee,c){var r=c(28486),y=c(24669);function N(C,w,O){var b=w(C);return y(C)?b:r(b,O(C))}Pt.exports=N},80732:function(Pt,Ee,c){var r=c(74396),y=c(31239),N=c(57058),C=\"[object Null]\",w=\"[object Undefined]\",O=r?r.toStringTag:void 0;function b(p){return p==null?p===void 0?w:C:O&&O in Object(p)?y(p):N(p)}Pt.exports=b},71664:function(Pt){function Ee(c,r){return c!=null&&r in Object(c)}Pt.exports=Ee},84742:function(Pt,Ee,c){var r=c(80732),y=c(55073),N=\"[object Arguments]\";function C(w){return y(w)&&r(w)==N}Pt.exports=C},6620:function(Pt,Ee,c){var r=c(83977),y=c(55073);function N(C,w,O,b,p){return C===w?!0:C==null||w==null||!y(C)&&!y(w)?C!==C&&w!==w:r(C,w,O,b,N,p)}Pt.exports=N},83977:function(Pt,Ee,c){var r=c(5929),y=c(22684),N=c(7456),C=c(18120),w=c(81887),O=c(24669),b=c(61563),p=c(73806),u=1,a=\"[object Arguments]\",f=\"[object Array]\",h=\"[object Object]\",l=Object.prototype,s=l.hasOwnProperty;function m(x,M,E,j,L,A){var J=O(x),q=O(M),re=J?f:w(x),me=q?f:w(M);re=re==a?h:re,me=me==a?h:me;var Te=re==h,ee=me==h,xe=re==me;if(xe&&b(x)){if(!b(M))return!1;J=!0,Te=!1}if(xe&&!Te)return A||(A=new r),J||p(x)?y(x,M,E,j,L,A):N(x,M,re,E,j,L,A);if(!(E&u)){var Ie=Te&&s.call(x,\"__wrapped__\"),Le=ee&&s.call(M,\"__wrapped__\");if(Ie||Le){var De=Ie?x.value():x,ce=Le?M.value():M;return A||(A=new r),L(De,ce,E,j,A)}}return xe?(A||(A=new r),C(x,M,E,j,L,A)):!1}Pt.exports=m},64033:function(Pt,Ee,c){var r=c(81887),y=c(55073),N=\"[object Map]\";function C(w){return y(w)&&r(w)==N}Pt.exports=C},27122:function(Pt,Ee,c){var r=c(5929),y=c(6620),N=1,C=2;function w(O,b,p,u){var a=p.length,f=a,h=!u;if(O==null)return!f;for(O=Object(O);a--;){var l=p[a];if(h&&l[2]?l[1]!==O[l[0]]:!(l[0]in O))return!1}for(;++a<f;){l=p[a];var s=l[0],m=O[s],x=l[1];if(h&&l[2]){if(m===void 0&&!(s in O))return!1}else{var M=new r;if(u)var E=u(m,x,s,O,b,M);if(!(E===void 0?y(x,m,N|C,u,M):E))return!1}}return!0}Pt.exports=w},58939:function(Pt,Ee,c){var r=c(92042),y=c(90654),N=c(36838),C=c(51059),w=/[\\\\^$.*+?()[\\]{}|]/g,O=/^\\[object .+?Constructor\\]$/,b=Function.prototype,p=Object.prototype,u=b.toString,a=p.hasOwnProperty,f=RegExp(\"^\"+u.call(a).replace(w,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\");function h(l){if(!N(l)||y(l))return!1;var s=r(l)?f:O;return s.test(C(l))}Pt.exports=h},28264:function(Pt,Ee,c){var r=c(81887),y=c(55073),N=\"[object Set]\";function C(w){return y(w)&&r(w)==N}Pt.exports=C},22882:function(Pt,Ee,c){var r=c(80732),y=c(17216),N=c(55073),C=\"[object Arguments]\",w=\"[object Array]\",O=\"[object Boolean]\",b=\"[object Date]\",p=\"[object Error]\",u=\"[object Function]\",a=\"[object Map]\",f=\"[object Number]\",h=\"[object Object]\",l=\"[object RegExp]\",s=\"[object Set]\",m=\"[object String]\",x=\"[object WeakMap]\",M=\"[object ArrayBuffer]\",E=\"[object DataView]\",j=\"[object Float32Array]\",L=\"[object Float64Array]\",A=\"[object Int8Array]\",J=\"[object Int16Array]\",q=\"[object Int32Array]\",re=\"[object Uint8Array]\",me=\"[object Uint8ClampedArray]\",Te=\"[object Uint16Array]\",ee=\"[object Uint32Array]\",xe={};xe[j]=xe[L]=xe[A]=xe[J]=xe[q]=xe[re]=xe[me]=xe[Te]=xe[ee]=!0,xe[C]=xe[w]=xe[M]=xe[O]=xe[E]=xe[b]=xe[p]=xe[u]=xe[a]=xe[f]=xe[h]=xe[l]=xe[s]=xe[m]=xe[x]=!1;function Ie(Le){return N(Le)&&y(Le.length)&&!!xe[r(Le)]}Pt.exports=Ie},5673:function(Pt,Ee,c){var r=c(3772),y=c(30493),N=c(48148),C=c(24669),w=c(51798);function O(b){return typeof b==\"function\"?b:b==null?N:typeof b==\"object\"?C(b)?y(b[0],b[1]):r(b):w(b)}Pt.exports=O},87473:function(Pt,Ee,c){var r=c(92963),y=c(14457),N=Object.prototype,C=N.hasOwnProperty;function w(O){if(!r(O))return y(O);var b=[];for(var p in Object(O))C.call(O,p)&&p!=\"constructor\"&&b.push(p);return b}Pt.exports=w},52506:function(Pt,Ee,c){var r=c(36838),y=c(92963),N=c(10814),C=Object.prototype,w=C.hasOwnProperty;function O(b){if(!r(b))return N(b);var p=y(b),u=[];for(var a in b)a==\"constructor\"&&(p||!w.call(b,a))||u.push(a);return u}Pt.exports=O},66494:function(Pt,Ee,c){var r=c(30438),y=c(47428);function N(C,w){var O=-1,b=y(C)?Array(C.length):[];return r(C,function(p,u,a){b[++O]=w(p,u,a)}),b}Pt.exports=N},3772:function(Pt,Ee,c){var r=c(27122),y=c(67487),N=c(78857);function C(w){var O=y(w);return O.length==1&&O[0][2]?N(O[0][0],O[0][1]):function(b){return b===w||r(b,w,O)}}Pt.exports=C},30493:function(Pt,Ee,c){var r=c(6620),y=c(65439),N=c(28281),C=c(2610),w=c(92769),O=c(78857),b=c(77817),p=1,u=2;function a(f,h){return C(f)&&w(h)?O(b(f),h):function(l){var s=y(l,f);return s===void 0&&s===h?N(l,f):r(h,s,p|u)}}Pt.exports=a},17498:function(Pt){function Ee(c){return function(r){return r==null?void 0:r[c]}}Pt.exports=Ee},71e3:function(Pt,Ee,c){var r=c(97499);function y(N){return function(C){return r(C,N)}}Pt.exports=y},39739:function(Pt){function Ee(c,r){for(var y=-1,N=Array(c);++y<c;)N[y]=r(y);return N}Pt.exports=Ee},73150:function(Pt,Ee,c){var r=c(74396),y=c(75697),N=c(24669),C=c(16764),w=1/0,O=r?r.prototype:void 0,b=O?O.toString:void 0;function p(u){if(typeof u==\"string\")return u;if(N(u))return y(u,p)+\"\";if(C(u))return b?b.call(u):\"\";var a=u+\"\";return a==\"0\"&&1/u==-w?\"-0\":a}Pt.exports=p},58792:function(Pt){function Ee(c){return function(r){return c(r)}}Pt.exports=Ee},29880:function(Pt){function Ee(c,r){return c.has(r)}Pt.exports=Ee},97008:function(Pt,Ee,c){var r=c(48148);function y(N){return typeof N==\"function\"?N:r}Pt.exports=y},60399:function(Pt,Ee,c){var r=c(24669),y=c(2610),N=c(77057),C=c(8389);function w(O,b){return r(O)?O:y(O,b)?[O]:N(C(O))}Pt.exports=w},78925:function(Pt,Ee,c){var r=c(92210);function y(N){var C=new N.constructor(N.byteLength);return new r(C).set(new r(N)),C}Pt.exports=y},39767:function(Pt,Ee,c){Pt=c.nmd(Pt);var r=c(29165),y=Ee&&!Ee.nodeType&&Ee,N=y&&!0&&Pt&&!Pt.nodeType&&Pt,C=N&&N.exports===y,w=C?r.Buffer:void 0,O=w?w.allocUnsafe:void 0;function b(p,u){if(u)return p.slice();var a=p.length,f=O?O(a):new p.constructor(a);return p.copy(f),f}Pt.exports=b},56157:function(Pt,Ee,c){var r=c(78925);function y(N,C){var w=C?r(N.buffer):N.buffer;return new N.constructor(w,N.byteOffset,N.byteLength)}Pt.exports=y},80101:function(Pt){var Ee=/\\w*$/;function c(r){var y=new r.constructor(r.source,Ee.exec(r));return y.lastIndex=r.lastIndex,y}Pt.exports=c},54920:function(Pt,Ee,c){var r=c(74396),y=r?r.prototype:void 0,N=y?y.valueOf:void 0;function C(w){return N?Object(N.call(w)):{}}Pt.exports=C},27136:function(Pt,Ee,c){var r=c(78925);function y(N,C){var w=C?r(N.buffer):N.buffer;return new N.constructor(w,N.byteOffset,N.length)}Pt.exports=y},47165:function(Pt){function Ee(c,r){var y=-1,N=c.length;for(r||(r=Array(N));++y<N;)r[y]=c[y];return r}Pt.exports=Ee},92434:function(Pt,Ee,c){var r=c(93719),y=c(30404);function N(C,w,O,b){var p=!O;O||(O={});for(var u=-1,a=w.length;++u<a;){var f=w[u],h=b?b(O[f],C[f],f,O,C):void 0;h===void 0&&(h=C[f]),p?y(O,f,h):r(O,f,h)}return O}Pt.exports=N},8782:function(Pt,Ee,c){var r=c(92434),y=c(97482);function N(C,w){return r(C,y(C),w)}Pt.exports=N},2667:function(Pt,Ee,c){var r=c(92434),y=c(41288);function N(C,w){return r(C,y(C),w)}Pt.exports=N},36633:function(Pt,Ee,c){var r=c(29165),y=r[\"__core-js_shared__\"];Pt.exports=y},8202:function(Pt,Ee,c){var r=c(47428);function y(N,C){return function(w,O){if(w==null)return w;if(!r(w))return N(w,O);for(var b=w.length,p=C?b:-1,u=Object(w);(C?p--:++p<b)&&O(u[p],p,u)!==!1;);return w}}Pt.exports=y},29:function(Pt){function Ee(c){return function(r,y,N){for(var C=-1,w=Object(r),O=N(r),b=O.length;b--;){var p=O[c?b:++C];if(y(w[p],p,w)===!1)break}return r}}Pt.exports=Ee},34082:function(Pt,Ee,c){var r=c(47758),y=function(){try{var N=r(Object,\"defineProperty\");return N({},\"\",{}),N}catch(C){}}();Pt.exports=y},22684:function(Pt,Ee,c){var r=c(78188),y=c(84330),N=c(29880),C=1,w=2;function O(b,p,u,a,f,h){var l=u&C,s=b.length,m=p.length;if(s!=m&&!(l&&m>s))return!1;var x=h.get(b),M=h.get(p);if(x&&M)return x==p&&M==b;var E=-1,j=!0,L=u&w?new r:void 0;for(h.set(b,p),h.set(p,b);++E<s;){var A=b[E],J=p[E];if(a)var q=l?a(J,A,E,p,b,h):a(A,J,E,b,p,h);if(q!==void 0){if(q)continue;j=!1;break}if(L){if(!y(p,function(re,me){if(!N(L,me)&&(A===re||f(A,re,u,a,h)))return L.push(me)})){j=!1;break}}else if(!(A===J||f(A,J,u,a,h))){j=!1;break}}return h.delete(b),h.delete(p),j}Pt.exports=O},7456:function(Pt,Ee,c){var r=c(74396),y=c(92210),N=c(42448),C=c(22684),w=c(7523),O=c(79967),b=1,p=2,u=\"[object Boolean]\",a=\"[object Date]\",f=\"[object Error]\",h=\"[object Map]\",l=\"[object Number]\",s=\"[object RegExp]\",m=\"[object Set]\",x=\"[object String]\",M=\"[object Symbol]\",E=\"[object ArrayBuffer]\",j=\"[object DataView]\",L=r?r.prototype:void 0,A=L?L.valueOf:void 0;function J(q,re,me,Te,ee,xe,Ie){switch(me){case j:if(q.byteLength!=re.byteLength||q.byteOffset!=re.byteOffset)return!1;q=q.buffer,re=re.buffer;case E:return!(q.byteLength!=re.byteLength||!xe(new y(q),new y(re)));case u:case a:case l:return N(+q,+re);case f:return q.name==re.name&&q.message==re.message;case s:case x:return q==re+\"\";case h:var Le=w;case m:var De=Te&b;if(Le||(Le=O),q.size!=re.size&&!De)return!1;var ce=Ie.get(q);if(ce)return ce==re;Te|=p,Ie.set(q,re);var ye=C(Le(q),Le(re),Te,ee,xe,Ie);return Ie.delete(q),ye;case M:if(A)return A.call(q)==A.call(re)}return!1}Pt.exports=J},18120:function(Pt,Ee,c){var r=c(79944),y=1,N=Object.prototype,C=N.hasOwnProperty;function w(O,b,p,u,a,f){var h=p&y,l=r(O),s=l.length,m=r(b),x=m.length;if(s!=x&&!h)return!1;for(var M=s;M--;){var E=l[M];if(!(h?E in b:C.call(b,E)))return!1}var j=f.get(O),L=f.get(b);if(j&&L)return j==b&&L==O;var A=!0;f.set(O,b),f.set(b,O);for(var J=h;++M<s;){E=l[M];var q=O[E],re=b[E];if(u)var me=h?u(re,q,E,b,O,f):u(q,re,E,O,b,f);if(!(me===void 0?q===re||a(q,re,p,u,f):me)){A=!1;break}J||(J=E==\"constructor\")}if(A&&!J){var Te=O.constructor,ee=b.constructor;Te!=ee&&\"constructor\"in O&&\"constructor\"in b&&!(typeof Te==\"function\"&&Te instanceof Te&&typeof ee==\"function\"&&ee instanceof ee)&&(A=!1)}return f.delete(O),f.delete(b),A}Pt.exports=w},96476:function(Pt,Ee,c){var r=typeof c.g==\"object\"&&c.g&&c.g.Object===Object&&c.g;Pt.exports=r},79944:function(Pt,Ee,c){var r=c(38084),y=c(97482),N=c(50579);function C(w){return r(w,N,y)}Pt.exports=C},21699:function(Pt,Ee,c){var r=c(38084),y=c(41288),N=c(37390);function C(w){return r(w,N,y)}Pt.exports=C},67707:function(Pt,Ee,c){var r=c(3880);function y(N,C){var w=N.__data__;return r(C)?w[typeof C==\"string\"?\"string\":\"hash\"]:w.map}Pt.exports=y},67487:function(Pt,Ee,c){var r=c(92769),y=c(50579);function N(C){for(var w=y(C),O=w.length;O--;){var b=w[O],p=C[b];w[O]=[b,p,r(p)]}return w}Pt.exports=N},47758:function(Pt,Ee,c){var r=c(58939),y=c(9149);function N(C,w){var O=y(C,w);return r(O)?O:void 0}Pt.exports=N},11389:function(Pt,Ee,c){var r=c(75542),y=r(Object.getPrototypeOf,Object);Pt.exports=y},31239:function(Pt,Ee,c){var r=c(74396),y=Object.prototype,N=y.hasOwnProperty,C=y.toString,w=r?r.toStringTag:void 0;function O(b){var p=N.call(b,w),u=b[w];try{b[w]=void 0;var a=!0}catch(h){}var f=C.call(b);return a&&(p?b[w]=u:delete b[w]),f}Pt.exports=O},97482:function(Pt,Ee,c){var r=c(48969),y=c(68036),N=Object.prototype,C=N.propertyIsEnumerable,w=Object.getOwnPropertySymbols,O=w?function(b){return b==null?[]:(b=Object(b),r(w(b),function(p){return C.call(b,p)}))}:y;Pt.exports=O},41288:function(Pt,Ee,c){var r=c(28486),y=c(11389),N=c(97482),C=c(68036),w=Object.getOwnPropertySymbols,O=w?function(b){for(var p=[];b;)r(p,N(b)),b=y(b);return p}:C;Pt.exports=O},81887:function(Pt,Ee,c){var r=c(87269),y=c(35922),N=c(6795),C=c(81956),w=c(69477),O=c(80732),b=c(51059),p=\"[object Map]\",u=\"[object Object]\",a=\"[object Promise]\",f=\"[object Set]\",h=\"[object WeakMap]\",l=\"[object DataView]\",s=b(r),m=b(y),x=b(N),M=b(C),E=b(w),j=O;(r&&j(new r(new ArrayBuffer(1)))!=l||y&&j(new y)!=p||N&&j(N.resolve())!=a||C&&j(new C)!=f||w&&j(new w)!=h)&&(j=function(L){var A=O(L),J=A==u?L.constructor:void 0,q=J?b(J):\"\";if(q)switch(q){case s:return l;case m:return p;case x:return a;case M:return f;case E:return h}return A}),Pt.exports=j},9149:function(Pt){function Ee(c,r){return c==null?void 0:c[r]}Pt.exports=Ee},18554:function(Pt,Ee,c){var r=c(60399),y=c(30353),N=c(24669),C=c(91010),w=c(17216),O=c(77817);function b(p,u,a){u=r(u,p);for(var f=-1,h=u.length,l=!1;++f<h;){var s=O(u[f]);if(!(l=p!=null&&a(p,s)))break;p=p[s]}return l||++f!=h?l:(h=p==null?0:p.length,!!h&&w(h)&&C(s,h)&&(N(p)||y(p)))}Pt.exports=b},71519:function(Pt,Ee,c){var r=c(37722);function y(){this.__data__=r?r(null):{},this.size=0}Pt.exports=y},82999:function(Pt){function Ee(c){var r=this.has(c)&&delete this.__data__[c];return this.size-=r?1:0,r}Pt.exports=Ee},76111:function(Pt,Ee,c){var r=c(37722),y=\"__lodash_hash_undefined__\",N=Object.prototype,C=N.hasOwnProperty;function w(O){var b=this.__data__;if(r){var p=b[O];return p===y?void 0:p}return C.call(b,O)?b[O]:void 0}Pt.exports=w},50506:function(Pt,Ee,c){var r=c(37722),y=Object.prototype,N=y.hasOwnProperty;function C(w){var O=this.__data__;return r?O[w]!==void 0:N.call(O,w)}Pt.exports=C},80845:function(Pt,Ee,c){var r=c(37722),y=\"__lodash_hash_undefined__\";function N(C,w){var O=this.__data__;return this.size+=this.has(C)?0:1,O[C]=r&&w===void 0?y:w,this}Pt.exports=N},12195:function(Pt){var Ee=Object.prototype,c=Ee.hasOwnProperty;function r(y){var N=y.length,C=new y.constructor(N);return N&&typeof y[0]==\"string\"&&c.call(y,\"index\")&&(C.index=y.index,C.input=y.input),C}Pt.exports=r},46740:function(Pt,Ee,c){var r=c(78925),y=c(56157),N=c(80101),C=c(54920),w=c(27136),O=\"[object Boolean]\",b=\"[object Date]\",p=\"[object Map]\",u=\"[object Number]\",a=\"[object RegExp]\",f=\"[object Set]\",h=\"[object String]\",l=\"[object Symbol]\",s=\"[object ArrayBuffer]\",m=\"[object DataView]\",x=\"[object Float32Array]\",M=\"[object Float64Array]\",E=\"[object Int8Array]\",j=\"[object Int16Array]\",L=\"[object Int32Array]\",A=\"[object Uint8Array]\",J=\"[object Uint8ClampedArray]\",q=\"[object Uint16Array]\",re=\"[object Uint32Array]\";function me(Te,ee,xe){var Ie=Te.constructor;switch(ee){case s:return r(Te);case O:case b:return new Ie(+Te);case m:return y(Te,xe);case x:case M:case E:case j:case L:case A:case J:case q:case re:return w(Te,xe);case p:return new Ie;case u:case h:return new Ie(Te);case a:return N(Te);case f:return new Ie;case l:return C(Te)}}Pt.exports=me},36404:function(Pt,Ee,c){var r=c(91348),y=c(11389),N=c(92963);function C(w){return typeof w.constructor==\"function\"&&!N(w)?r(y(w)):{}}Pt.exports=C},91010:function(Pt){var Ee=9007199254740991,c=/^(?:0|[1-9]\\d*)$/;function r(y,N){var C=typeof y;return N=N==null?Ee:N,!!N&&(C==\"number\"||C!=\"symbol\"&&c.test(y))&&y>-1&&y%1==0&&y<N}Pt.exports=r},2610:function(Pt,Ee,c){var r=c(24669),y=c(16764),N=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,C=/^\\w*$/;function w(O,b){if(r(O))return!1;var p=typeof O;return p==\"number\"||p==\"symbol\"||p==\"boolean\"||O==null||y(O)?!0:C.test(O)||!N.test(O)||b!=null&&O in Object(b)}Pt.exports=w},3880:function(Pt){function Ee(c){var r=typeof c;return r==\"string\"||r==\"number\"||r==\"symbol\"||r==\"boolean\"?c!==\"__proto__\":c===null}Pt.exports=Ee},90654:function(Pt,Ee,c){var r=c(36633),y=function(){var C=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||\"\");return C?\"Symbol(src)_1.\"+C:\"\"}();function N(C){return!!y&&y in C}Pt.exports=N},92963:function(Pt){var Ee=Object.prototype;function c(r){var y=r&&r.constructor,N=typeof y==\"function\"&&y.prototype||Ee;return r===N}Pt.exports=c},92769:function(Pt,Ee,c){var r=c(36838);function y(N){return N===N&&!r(N)}Pt.exports=y},2173:function(Pt){function Ee(){this.__data__=[],this.size=0}Pt.exports=Ee},33752:function(Pt,Ee,c){var r=c(62718),y=Array.prototype,N=y.splice;function C(w){var O=this.__data__,b=r(O,w);if(b<0)return!1;var p=O.length-1;return b==p?O.pop():N.call(O,b,1),--this.size,!0}Pt.exports=C},10548:function(Pt,Ee,c){var r=c(62718);function y(N){var C=this.__data__,w=r(C,N);return w<0?void 0:C[w][1]}Pt.exports=y},63410:function(Pt,Ee,c){var r=c(62718);function y(N){return r(this.__data__,N)>-1}Pt.exports=y},3564:function(Pt,Ee,c){var r=c(62718);function y(N,C){var w=this.__data__,O=r(w,N);return O<0?(++this.size,w.push([N,C])):w[O][1]=C,this}Pt.exports=y},7140:function(Pt,Ee,c){var r=c(88987),y=c(175),N=c(35922);function C(){this.size=0,this.__data__={hash:new r,map:new(N||y),string:new r}}Pt.exports=C},56504:function(Pt,Ee,c){var r=c(67707);function y(N){var C=r(this,N).delete(N);return this.size-=C?1:0,C}Pt.exports=y},88833:function(Pt,Ee,c){var r=c(67707);function y(N){return r(this,N).get(N)}Pt.exports=y},80953:function(Pt,Ee,c){var r=c(67707);function y(N){return r(this,N).has(N)}Pt.exports=y},70724:function(Pt,Ee,c){var r=c(67707);function y(N,C){var w=r(this,N),O=w.size;return w.set(N,C),this.size+=w.size==O?0:1,this}Pt.exports=y},7523:function(Pt){function Ee(c){var r=-1,y=Array(c.size);return c.forEach(function(N,C){y[++r]=[C,N]}),y}Pt.exports=Ee},78857:function(Pt){function Ee(c,r){return function(y){return y==null?!1:y[c]===r&&(r!==void 0||c in Object(y))}}Pt.exports=Ee},45171:function(Pt,Ee,c){var r=c(34736),y=500;function N(C){var w=r(C,function(b){return O.size===y&&O.clear(),b}),O=w.cache;return w}Pt.exports=N},37722:function(Pt,Ee,c){var r=c(47758),y=r(Object,\"create\");Pt.exports=y},14457:function(Pt,Ee,c){var r=c(75542),y=r(Object.keys,Object);Pt.exports=y},10814:function(Pt){function Ee(c){var r=[];if(c!=null)for(var y in Object(c))r.push(y);return r}Pt.exports=Ee},8478:function(Pt,Ee,c){Pt=c.nmd(Pt);var r=c(96476),y=Ee&&!Ee.nodeType&&Ee,N=y&&!0&&Pt&&!Pt.nodeType&&Pt,C=N&&N.exports===y,w=C&&r.process,O=function(){try{var b=N&&N.require&&N.require(\"util\").types;return b||w&&w.binding&&w.binding(\"util\")}catch(p){}}();Pt.exports=O},57058:function(Pt){var Ee=Object.prototype,c=Ee.toString;function r(y){return c.call(y)}Pt.exports=r},75542:function(Pt){function Ee(c,r){return function(y){return c(r(y))}}Pt.exports=Ee},29165:function(Pt,Ee,c){var r=c(96476),y=typeof self==\"object\"&&self&&self.Object===Object&&self,N=r||y||Function(\"return this\")();Pt.exports=N},96659:function(Pt){var Ee=\"__lodash_hash_undefined__\";function c(r){return this.__data__.set(r,Ee),this}Pt.exports=c},97230:function(Pt){function Ee(c){return this.__data__.has(c)}Pt.exports=Ee},79967:function(Pt){function Ee(c){var r=-1,y=Array(c.size);return c.forEach(function(N){y[++r]=N}),y}Pt.exports=Ee},40551:function(Pt,Ee,c){var r=c(175);function y(){this.__data__=new r,this.size=0}Pt.exports=y},4090:function(Pt){function Ee(c){var r=this.__data__,y=r.delete(c);return this.size=r.size,y}Pt.exports=Ee},47694:function(Pt){function Ee(c){return this.__data__.get(c)}Pt.exports=Ee},86220:function(Pt){function Ee(c){return this.__data__.has(c)}Pt.exports=Ee},68958:function(Pt,Ee,c){var r=c(175),y=c(35922),N=c(9440),C=200;function w(O,b){var p=this.__data__;if(p instanceof r){var u=p.__data__;if(!y||u.length<C-1)return u.push([O,b]),this.size=++p.size,this;p=this.__data__=new N(u)}return p.set(O,b),this.size=p.size,this}Pt.exports=w},77057:function(Pt,Ee,c){var r=c(45171),y=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g,N=/\\\\(\\\\)?/g,C=r(function(w){var O=[];return w.charCodeAt(0)===46&&O.push(\"\"),w.replace(y,function(b,p,u,a){O.push(u?a.replace(N,\"$1\"):p||b)}),O});Pt.exports=C},77817:function(Pt,Ee,c){var r=c(16764),y=1/0;function N(C){if(typeof C==\"string\"||r(C))return C;var w=C+\"\";return w==\"0\"&&1/C==-y?\"-0\":w}Pt.exports=N},51059:function(Pt){var Ee=Function.prototype,c=Ee.toString;function r(y){if(y!=null){try{return c.call(y)}catch(N){}try{return y+\"\"}catch(N){}}return\"\"}Pt.exports=r},32222:function(Pt,Ee,c){var r=c(53174),y=1,N=4;function C(w){return r(w,y|N)}Pt.exports=C},42448:function(Pt){function Ee(c,r){return c===r||c!==c&&r!==r}Pt.exports=Ee},14287:function(Pt,Ee,c){var r=c(61343),y=c(97008);function N(C,w){return C&&r(C,y(w))}Pt.exports=N},65439:function(Pt,Ee,c){var r=c(97499);function y(N,C,w){var O=N==null?void 0:r(N,C);return O===void 0?w:O}Pt.exports=y},28281:function(Pt,Ee,c){var r=c(71664),y=c(18554);function N(C,w){return C!=null&&y(C,w,r)}Pt.exports=N},48148:function(Pt){function Ee(c){return c}Pt.exports=Ee},30353:function(Pt,Ee,c){var r=c(84742),y=c(55073),N=Object.prototype,C=N.hasOwnProperty,w=N.propertyIsEnumerable,O=r(function(){return arguments}())?r:function(b){return y(b)&&C.call(b,\"callee\")&&!w.call(b,\"callee\")};Pt.exports=O},24669:function(Pt){var Ee=Array.isArray;Pt.exports=Ee},47428:function(Pt,Ee,c){var r=c(92042),y=c(17216);function N(C){return C!=null&&y(C.length)&&!r(C)}Pt.exports=N},61563:function(Pt,Ee,c){Pt=c.nmd(Pt);var r=c(29165),y=c(84193),N=Ee&&!Ee.nodeType&&Ee,C=N&&!0&&Pt&&!Pt.nodeType&&Pt,w=C&&C.exports===N,O=w?r.Buffer:void 0,b=O?O.isBuffer:void 0,p=b||y;Pt.exports=p},92042:function(Pt,Ee,c){var r=c(80732),y=c(36838),N=\"[object AsyncFunction]\",C=\"[object Function]\",w=\"[object GeneratorFunction]\",O=\"[object Proxy]\";function b(p){if(!y(p))return!1;var u=r(p);return u==C||u==w||u==N||u==O}Pt.exports=b},17216:function(Pt){var Ee=9007199254740991;function c(r){return typeof r==\"number\"&&r>-1&&r%1==0&&r<=Ee}Pt.exports=c},32924:function(Pt,Ee,c){var r=c(64033),y=c(58792),N=c(8478),C=N&&N.isMap,w=C?y(C):r;Pt.exports=w},36838:function(Pt){function Ee(c){var r=typeof c;return c!=null&&(r==\"object\"||r==\"function\")}Pt.exports=Ee},55073:function(Pt){function Ee(c){return c!=null&&typeof c==\"object\"}Pt.exports=Ee},69143:function(Pt,Ee,c){var r=c(80732),y=c(11389),N=c(55073),C=\"[object Object]\",w=Function.prototype,O=Object.prototype,b=w.toString,p=O.hasOwnProperty,u=b.call(Object);function a(f){if(!N(f)||r(f)!=C)return!1;var h=y(f);if(h===null)return!0;var l=p.call(h,\"constructor\")&&h.constructor;return typeof l==\"function\"&&l instanceof l&&b.call(l)==u}Pt.exports=a},45380:function(Pt,Ee,c){var r=c(28264),y=c(58792),N=c(8478),C=N&&N.isSet,w=C?y(C):r;Pt.exports=w},56549:function(Pt,Ee,c){var r=c(80732),y=c(24669),N=c(55073),C=\"[object String]\";function w(O){return typeof O==\"string\"||!y(O)&&N(O)&&r(O)==C}Pt.exports=w},16764:function(Pt,Ee,c){var r=c(80732),y=c(55073),N=\"[object Symbol]\";function C(w){return typeof w==\"symbol\"||y(w)&&r(w)==N}Pt.exports=C},73806:function(Pt,Ee,c){var r=c(22882),y=c(58792),N=c(8478),C=N&&N.isTypedArray,w=C?y(C):r;Pt.exports=w},50579:function(Pt,Ee,c){var r=c(79809),y=c(87473),N=c(47428);function C(w){return N(w)?r(w):y(w)}Pt.exports=C},37390:function(Pt,Ee,c){var r=c(79809),y=c(52506),N=c(47428);function C(w){return N(w)?r(w,!0):y(w)}Pt.exports=C},32699:function(Pt,Ee,c){Pt=c.nmd(Pt);var r;(function(){var y,N=\"4.17.21\",C=200,w=\"Unsupported core-js use. Try https://npms.io/search?q=ponyfill.\",O=\"Expected a function\",b=\"Invalid `variable` option passed into `_.template`\",p=\"__lodash_hash_undefined__\",u=500,a=\"__lodash_placeholder__\",f=1,h=2,l=4,s=1,m=2,x=1,M=2,E=4,j=8,L=16,A=32,J=64,q=128,re=256,me=512,Te=30,ee=\"...\",xe=800,Ie=16,Le=1,De=2,ce=3,ye=1/0,Oe=9007199254740991,Ce=17976931348623157e292,oe=0/0,he=4294967295,ie=he-1,ae=he>>>1,ve=[[\"ary\",q],[\"bind\",x],[\"bindKey\",M],[\"curry\",j],[\"curryRight\",L],[\"flip\",me],[\"partial\",A],[\"partialRight\",J],[\"rearg\",re]],X=\"[object Arguments]\",se=\"[object Array]\",fe=\"[object AsyncFunction]\",_e=\"[object Boolean]\",be=\"[object Date]\",We=\"[object DOMException]\",we=\"[object Error]\",Ze=\"[object Function]\",Ve=\"[object GeneratorFunction]\",et=\"[object Map]\",ht=\"[object Number]\",Fe=\"[object Null]\",mt=\"[object Object]\",dt=\"[object Promise]\",Lt=\"[object Proxy]\",lt=\"[object RegExp]\",rn=\"[object Set]\",qt=\"[object String]\",hn=\"[object Symbol]\",Kt=\"[object Undefined]\",an=\"[object WeakMap]\",In=\"[object WeakSet]\",Ft=\"[object ArrayBuffer]\",kt=\"[object DataView]\",At=\"[object Float32Array]\",Fn=\"[object Float64Array]\",pn=\"[object Int8Array]\",en=\"[object Int16Array]\",Wn=\"[object Int32Array]\",Mn=\"[object Uint8Array]\",Kn=\"[object Uint8ClampedArray]\",hr=\"[object Uint16Array]\",pr=\"[object Uint32Array]\",zr=/\\b__p \\+= '';/g,Wr=/\\b(__p \\+=) '' \\+/g,Nr=/(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g,Kr=/&(?:amp|lt|gt|quot|#39);/g,ko=/[&<>\"']/g,Ur=RegExp(Kr.source),gn=RegExp(ko.source),Gt=/<%-([\\s\\S]+?)%>/g,bt=/<%([\\s\\S]+?)%>/g,Zt=/<%=([\\s\\S]+?)%>/g,gt=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,Wt=/^\\w*$/,xn=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g,Dt=/[\\\\^$.*+?()[\\]{}|]/g,Xn=RegExp(Dt.source),Rn=/^\\s+/,wt=/\\s/,pt=/\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/,Ue=/\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,xt=/,? & /,cn=/[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g,er=/[()=,{}\\[\\]\\/\\s]/,Mr=/\\\\(\\\\)?/g,xr=/\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g,jr=/\\w*$/,yo=/^[-+]0x[0-9a-f]+$/i,eo=/^0b[01]+$/i,vi=/^\\[object .+?Constructor\\]$/,Ti=/^0o[0-7]+$/i,wi=/^(?:0|[1-9]\\d*)$/,mi=/[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g,Zi=/($^)/,aa=/['\\n\\r\\u2028\\u2029\\\\]/g,$e=\"\\\\ud800-\\\\udfff\",dn=\"\\\\u0300-\\\\u036f\",Un=\"\\\\ufe20-\\\\ufe2f\",ar=\"\\\\u20d0-\\\\u20ff\",Rr=dn+Un+ar,Ro=\"\\\\u2700-\\\\u27bf\",Vo=\"a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff\",Co=\"\\\\xac\\\\xb1\\\\xd7\\\\xf7\",Mo=\"\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf\",qo=\"\\\\u2000-\\\\u206f\",ti=\" \\\\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\",pi=\"A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde\",ni=\"\\\\ufe0e\\\\ufe0f\",si=Co+Mo+qo+ti,Oi=\"['\\u2019]\",Ki=\"[\"+$e+\"]\",ca=\"[\"+si+\"]\",zi=\"[\"+Rr+\"]\",br=\"\\\\d+\",Re=\"[\"+Ro+\"]\",je=\"[\"+Vo+\"]\",nt=\"[^\"+$e+si+br+Ro+Vo+pi+\"]\",rt=\"\\\\ud83c[\\\\udffb-\\\\udfff]\",Xt=\"(?:\"+zi+\"|\"+rt+\")\",fn=\"[^\"+$e+\"]\",Cn=\"(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}\",Yn=\"[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]\",Ae=\"[\"+pi+\"]\",Ke=\"\\\\u200d\",Mt=\"(?:\"+je+\"|\"+nt+\")\",Ut=\"(?:\"+Ae+\"|\"+nt+\")\",kn=\"(?:\"+Oi+\"(?:d|ll|m|re|s|t|ve))?\",Zn=\"(?:\"+Oi+\"(?:D|LL|M|RE|S|T|VE))?\",lr=Xt+\"?\",wr=\"[\"+ni+\"]?\",Dr=\"(?:\"+Ke+\"(?:\"+[fn,Cn,Yn].join(\"|\")+\")\"+wr+lr+\")*\",go=\"\\\\d*(?:1st|2nd|3rd|(?![123])\\\\dth)(?=\\\\b|[A-Z_])\",Ir=\"\\\\d*(?:1ST|2ND|3RD|(?![123])\\\\dTH)(?=\\\\b|[a-z_])\",Jr=wr+lr+Dr,_o=\"(?:\"+[Re,Cn,Yn].join(\"|\")+\")\"+Jr,No=\"(?:\"+[fn+zi+\"?\",zi,Cn,Yn,Ki].join(\"|\")+\")\",ii=RegExp(Oi,\"g\"),Lo=RegExp(zi,\"g\"),ai=RegExp(rt+\"(?=\"+rt+\")|\"+No+Jr,\"g\"),Si=RegExp([Ae+\"?\"+je+\"+\"+kn+\"(?=\"+[ca,Ae,\"$\"].join(\"|\")+\")\",Ut+\"+\"+Zn+\"(?=\"+[ca,Ae+Mt,\"$\"].join(\"|\")+\")\",Ae+\"?\"+Mt+\"+\"+kn,Ae+\"+\"+Zn,Ir,go,br,_o].join(\"|\"),\"g\"),Ui=RegExp(\"[\"+Ke+$e+Rr+ni+\"]\"),ln=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,mn=[\"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\"],fr=-1,ft={};ft[At]=ft[Fn]=ft[pn]=ft[en]=ft[Wn]=ft[Mn]=ft[Kn]=ft[hr]=ft[pr]=!0,ft[X]=ft[se]=ft[Ft]=ft[_e]=ft[kt]=ft[be]=ft[we]=ft[Ze]=ft[et]=ft[ht]=ft[mt]=ft[lt]=ft[rn]=ft[qt]=ft[an]=!1;var ct={};ct[X]=ct[se]=ct[Ft]=ct[kt]=ct[_e]=ct[be]=ct[At]=ct[Fn]=ct[pn]=ct[en]=ct[Wn]=ct[et]=ct[ht]=ct[mt]=ct[lt]=ct[rn]=ct[qt]=ct[hn]=ct[Mn]=ct[Kn]=ct[hr]=ct[pr]=!0,ct[we]=ct[Ze]=ct[an]=!1;var tn={\\u00C0:\"A\",\\u00C1:\"A\",\\u00C2:\"A\",\\u00C3:\"A\",\\u00C4:\"A\",\\u00C5:\"A\",\\u00E0:\"a\",\\u00E1:\"a\",\\u00E2:\"a\",\\u00E3:\"a\",\\u00E4:\"a\",\\u00E5:\"a\",\\u00C7:\"C\",\\u00E7:\"c\",\\u00D0:\"D\",\\u00F0:\"d\",\\u00C8:\"E\",\\u00C9:\"E\",\\u00CA:\"E\",\\u00CB:\"E\",\\u00E8:\"e\",\\u00E9:\"e\",\\u00EA:\"e\",\\u00EB:\"e\",\\u00CC:\"I\",\\u00CD:\"I\",\\u00CE:\"I\",\\u00CF:\"I\",\\u00EC:\"i\",\\u00ED:\"i\",\\u00EE:\"i\",\\u00EF:\"i\",\\u00D1:\"N\",\\u00F1:\"n\",\\u00D2:\"O\",\\u00D3:\"O\",\\u00D4:\"O\",\\u00D5:\"O\",\\u00D6:\"O\",\\u00D8:\"O\",\\u00F2:\"o\",\\u00F3:\"o\",\\u00F4:\"o\",\\u00F5:\"o\",\\u00F6:\"o\",\\u00F8:\"o\",\\u00D9:\"U\",\\u00DA:\"U\",\\u00DB:\"U\",\\u00DC:\"U\",\\u00F9:\"u\",\\u00FA:\"u\",\\u00FB:\"u\",\\u00FC:\"u\",\\u00DD:\"Y\",\\u00FD:\"y\",\\u00FF:\"y\",\\u00C6:\"Ae\",\\u00E6:\"ae\",\\u00DE:\"Th\",\\u00FE:\"th\",\\u00DF:\"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\"},An={\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\",\"'\":\"&#39;\"},Rt={\"&amp;\":\"&\",\"&lt;\":\"<\",\"&gt;\":\">\",\"&quot;\":'\"',\"&#39;\":\"'\"},un={\"\\\\\":\"\\\\\",\"'\":\"'\",\"\\n\":\"n\",\"\\r\":\"r\",\"\\u2028\":\"u2028\",\"\\u2029\":\"u2029\"},Dn=parseFloat,dr=parseInt,Ar=typeof c.g==\"object\"&&c.g&&c.g.Object===Object&&c.g,Gr=typeof self==\"object\"&&self&&self.Object===Object&&self,Pr=Ar||Gr||Function(\"return this\")(),Xr=Ee&&!Ee.nodeType&&Ee,oo=Xr&&!0&&Pt&&!Pt.nodeType&&Pt,io=oo&&oo.exports===Xr,to=io&&Ar.process,To=function(){try{var rr=oo&&oo.require&&oo.require(\"util\").types;return rr||to&&to.binding&&to.binding(\"util\")}catch(Eo){}}(),jn=To&&To.isArrayBuffer,W=To&&To.isDate,P=To&&To.isMap,k=To&&To.isRegExp,z=To&&To.isSet,Q=To&&To.isTypedArray;function F(rr,Eo,Br){switch(Br.length){case 0:return rr.call(Eo);case 1:return rr.call(Eo,Br[0]);case 2:return rr.call(Eo,Br[0],Br[1]);case 3:return rr.call(Eo,Br[0],Br[1],Br[2])}return rr.apply(Eo,Br)}function V(rr,Eo,Br,Ao){for(var Di=-1,Aa=rr==null?0:rr.length;++Di<Aa;){var Na=rr[Di];Eo(Ao,Na,Br(Na),rr)}return Ao}function U(rr,Eo){for(var Br=-1,Ao=rr==null?0:rr.length;++Br<Ao&&Eo(rr[Br],Br,rr)!==!1;);return rr}function ge(rr,Eo){for(var Br=rr==null?0:rr.length;Br--&&Eo(rr[Br],Br,rr)!==!1;);return rr}function ke(rr,Eo){for(var Br=-1,Ao=rr==null?0:rr.length;++Br<Ao;)if(!Eo(rr[Br],Br,rr))return!1;return!0}function St(rr,Eo){for(var Br=-1,Ao=rr==null?0:rr.length,Di=0,Aa=[];++Br<Ao;){var Na=rr[Br];Eo(Na,Br,rr)&&(Aa[Di++]=Na)}return Aa}function Je(rr,Eo){var Br=rr==null?0:rr.length;return!!Br&&ur(rr,Eo,0)>-1}function Ot(rr,Eo,Br){for(var Ao=-1,Di=rr==null?0:rr.length;++Ao<Di;)if(Br(Eo,rr[Ao]))return!0;return!1}function It(rr,Eo){for(var Br=-1,Ao=rr==null?0:rr.length,Di=Array(Ao);++Br<Ao;)Di[Br]=Eo(rr[Br],Br,rr);return Di}function jt(rr,Eo){for(var Br=-1,Ao=Eo.length,Di=rr.length;++Br<Ao;)rr[Di+Br]=Eo[Br];return rr}function Vt(rr,Eo,Br,Ao){var Di=-1,Aa=rr==null?0:rr.length;for(Ao&&Aa&&(Br=rr[++Di]);++Di<Aa;)Br=Eo(Br,rr[Di],Di,rr);return Br}function Pn(rr,Eo,Br,Ao){var Di=rr==null?0:rr.length;for(Ao&&Di&&(Br=rr[--Di]);Di--;)Br=Eo(Br,rr[Di],Di,rr);return Br}function Jn(rr,Eo){for(var Br=-1,Ao=rr==null?0:rr.length;++Br<Ao;)if(Eo(rr[Br],Br,rr))return!0;return!1}var vn=En(\"length\");function Vn(rr){return rr.split(\"\")}function zt(rr){return rr.match(cn)||[]}function ir(rr,Eo,Br){var Ao;return Br(rr,function(Di,Aa,Na){if(Eo(Di,Aa,Na))return Ao=Aa,!1}),Ao}function nr(rr,Eo,Br,Ao){for(var Di=rr.length,Aa=Br+(Ao?1:-1);Ao?Aa--:++Aa<Di;)if(Eo(rr[Aa],Aa,rr))return Aa;return-1}function ur(rr,Eo,Br){return Eo===Eo?ss(rr,Eo,Br):nr(rr,Ln,Br)}function sr(rr,Eo,Br,Ao){for(var Di=Br-1,Aa=rr.length;++Di<Aa;)if(Ao(rr[Di],Eo))return Di;return-1}function Ln(rr){return rr!==rr}function Bt(rr,Eo){var Br=rr==null?0:rr.length;return Br?kr(rr,Eo)/Br:oe}function En(rr){return function(Eo){return Eo==null?y:Eo[rr]}}function _n(rr){return function(Eo){return rr==null?y:rr[Eo]}}function cr(rr,Eo,Br,Ao,Di){return Di(rr,function(Aa,Na,Fa){Br=Ao?(Ao=!1,Aa):Eo(Br,Aa,Na,Fa)}),Br}function ao(rr,Eo){var Br=rr.length;for(rr.sort(Eo);Br--;)rr[Br]=rr[Br].value;return rr}function kr(rr,Eo){for(var Br,Ao=-1,Di=rr.length;++Ao<Di;){var Aa=Eo(rr[Ao]);Aa!==y&&(Br=Br===y?Aa:Br+Aa)}return Br}function jo(rr,Eo){for(var Br=-1,Ao=Array(rr);++Br<rr;)Ao[Br]=Eo(Br);return Ao}function ui(rr,Eo){return It(Eo,function(Br){return[Br,rr[Br]]})}function Vr(rr){return rr&&rr.slice(0,Ba(rr)+1).replace(Rn,\"\")}function ho(rr){return function(Eo){return rr(Eo)}}function vo(rr,Eo){return It(Eo,function(Br){return rr[Br]})}function uo(rr,Eo){return rr.has(Eo)}function Go(rr,Eo){for(var Br=-1,Ao=rr.length;++Br<Ao&&ur(Eo,rr[Br],0)>-1;);return Br}function Pi(rr,Eo){for(var Br=rr.length;Br--&&ur(Eo,rr[Br],0)>-1;);return Br}function la(rr,Eo){for(var Br=rr.length,Ao=0;Br--;)rr[Br]===Eo&&++Ao;return Ao}var Vi=_n(tn),ha=_n(An);function xa(rr){return\"\\\\\"+un[rr]}function qi(rr,Eo){return rr==null?y:rr[Eo]}function Jo(rr){return Ui.test(rr)}function Ji(rr){return ln.test(rr)}function Yi(rr){for(var Eo,Br=[];!(Eo=rr.next()).done;)Br.push(Eo.value);return Br}function Ii(rr){var Eo=-1,Br=Array(rr.size);return rr.forEach(function(Ao,Di){Br[++Eo]=[Di,Ao]}),Br}function pa(rr,Eo){return function(Br){return rr(Eo(Br))}}function na(rr,Eo){for(var Br=-1,Ao=rr.length,Di=0,Aa=[];++Br<Ao;){var Na=rr[Br];(Na===Eo||Na===a)&&(rr[Br]=a,Aa[Di++]=Br)}return Aa}function $i(rr){var Eo=-1,Br=Array(rr.size);return rr.forEach(function(Ao){Br[++Eo]=Ao}),Br}function La(rr){var Eo=-1,Br=Array(rr.size);return rr.forEach(function(Ao){Br[++Eo]=[Ao,Ao]}),Br}function ss(rr,Eo,Br){for(var Ao=Br-1,Di=rr.length;++Ao<Di;)if(rr[Ao]===Eo)return Ao;return-1}function Oa(rr,Eo,Br){for(var Ao=Br+1;Ao--;)if(rr[Ao]===Eo)return Ao;return Ao}function Ma(rr){return Jo(rr)?Va(rr):vn(rr)}function Ka(rr){return Jo(rr)?Ls(rr):Vn(rr)}function Ba(rr){for(var Eo=rr.length;Eo--&&wt.test(rr.charAt(Eo)););return Eo}var Ua=_n(Rt);function Va(rr){for(var Eo=ai.lastIndex=0;ai.test(rr);)++Eo;return Eo}function Ls(rr){return rr.match(ai)||[]}function Qo(rr){return rr.match(Si)||[]}var ws=function rr(Eo){Eo=Eo==null?Pr:Za.defaults(Pr.Object(),Eo,Za.pick(Pr,mn));var Br=Eo.Array,Ao=Eo.Date,Di=Eo.Error,Aa=Eo.Function,Na=Eo.Math,Fa=Eo.Object,Bs=Eo.RegExp,Ms=Eo.String,Qa=Eo.TypeError,us=Br.prototype,Fs=Aa.prototype,$a=Fa.prototype,Hs=Eo[\"__core-js_shared__\"],ys=Fs.toString,sa=$a.hasOwnProperty,Xa=0,os=function(){var S=/[^.]+$/.exec(Hs&&Hs.keys&&Hs.keys.IE_PROTO||\"\");return S?\"Symbol(src)_1.\"+S:\"\"}(),As=$a.toString,oa=ys.call(Fa),di=Pr._,ia=Bs(\"^\"+ys.call(sa).replace(Dt,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\"),_i=io?Eo.Buffer:y,gi=Eo.Symbol,fa=Eo.Uint8Array,Pa=_i?_i.allocUnsafe:y,xs=pa(Fa.getPrototypeOf,Fa),Li=Fa.create,vs=$a.propertyIsEnumerable,Ca=us.splice,ra=gi?gi.isConcatSpreadable:y,Ja=gi?gi.iterator:y,qa=gi?gi.toStringTag:y,Ts=function(){try{var S=eu(Fa,\"defineProperty\");return S({},\"\",{}),S}catch(R){}}(),v=Eo.clearTimeout!==Pr.clearTimeout&&Eo.clearTimeout,G=Ao&&Ao.now!==Pr.Date.now&&Ao.now,ze=Eo.setTimeout!==Pr.setTimeout&&Eo.setTimeout,ut=Na.ceil,_t=Na.floor,Ht=Fa.getOwnPropertySymbols,$t=_i?_i.isBuffer:y,wn=Eo.isFinite,On=us.join,$n=pa(Fa.keys,Fa),gr=Na.max,Fr=Na.min,Qr=Ao.now,qr=Eo.parseInt,mo=Na.random,Ho=us.reverse,fo=eu(Eo,\"DataView\"),ei=eu(Eo,\"Map\"),ea=eu(Eo,\"Promise\"),Xi=eu(Eo,\"Set\"),hi=eu(Eo,\"WeakMap\"),Yo=eu(Fa,\"create\"),Bi=hi&&new hi,_a={},wa=$s(fo),Ia=$s(ei),tr=$s(ea),Sa=$s(Xi),Ta=$s(hi),ga=gi?gi.prototype:y,Fi=ga?ga.valueOf:y,Cs=ga?ga.toString:y;function yn(S){if(au(S)&&!es(S)&&!(S instanceof Wa)){if(S instanceof gs)return S;if(sa.call(S,\"__wrapped__\"))return Lf(S)}return new gs(S)}var zs=function(){function S(){}return function(R){if(!nu(R))return{};if(Li)return Li(R);S.prototype=R;var pe=new S;return S.prototype=y,pe}}();function ds(){}function gs(S,R){this.__wrapped__=S,this.__actions__=[],this.__chain__=!!R,this.__index__=0,this.__values__=y}yn.templateSettings={escape:Gt,evaluate:bt,interpolate:Zt,variable:\"\",imports:{_:yn}},yn.prototype=ds.prototype,yn.prototype.constructor=yn,gs.prototype=zs(ds.prototype),gs.prototype.constructor=gs;function Wa(S){this.__wrapped__=S,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=he,this.__views__=[]}function Ac(){var S=new Wa(this.__wrapped__);return S.__actions__=iu(this.__actions__),S.__dir__=this.__dir__,S.__filtered__=this.__filtered__,S.__iteratees__=iu(this.__iteratees__),S.__takeCount__=this.__takeCount__,S.__views__=iu(this.__views__),S}function Gs(){if(this.__filtered__){var S=new Wa(this);S.__dir__=-1,S.__filtered__=!0}else S=this.clone(),S.__dir__*=-1;return S}function Tc(){var S=this.__wrapped__.value(),R=this.__dir__,pe=es(S),ot=R<0,Yt=pe?S.length:0,Gn=af(0,Yt,this.__views__),_r=Gn.start,$r=Gn.end,so=$r-_r,li=ot?$r:_r-1,fi=this.__iteratees__,Ei=fi.length,Qi=0,ya=Fr(so,this.__takeCount__);if(!pe||!ot&&Yt==so&&ya==so)return ci(S,this.__actions__);var Ha=[];e:for(;so--&&Qi<ya;){li+=R;for(var ps=-1,Ga=S[li];++ps<Ei;){var bs=fi[ps],Os=bs.iteratee,Zc=bs.type,mc=Os(Ga);if(Zc==De)Ga=mc;else if(!mc){if(Zc==Le)continue e;break e}}Ha[Qi++]=Ga}return Ha}Wa.prototype=zs(ds.prototype),Wa.prototype.constructor=Wa;function pu(S){var R=-1,pe=S==null?0:S.length;for(this.clear();++R<pe;){var ot=S[R];this.set(ot[0],ot[1])}}function Pc(){this.__data__=Yo?Yo(null):{},this.size=0}function Yc(S){var R=this.has(S)&&delete this.__data__[S];return this.size-=R?1:0,R}function Kc(S){var R=this.__data__;if(Yo){var pe=R[S];return pe===p?y:pe}return sa.call(R,S)?R[S]:y}function rc(S){var R=this.__data__;return Yo?R[S]!==y:sa.call(R,S)}function qc(S,R){var pe=this.__data__;return this.size+=this.has(S)?0:1,pe[S]=Yo&&R===y?p:R,this}pu.prototype.clear=Pc,pu.prototype.delete=Yc,pu.prototype.get=Kc,pu.prototype.has=rc,pu.prototype.set=qc;function Ns(S){var R=-1,pe=S==null?0:S.length;for(this.clear();++R<pe;){var ot=S[R];this.set(ot[0],ot[1])}}function Au(){this.__data__=[],this.size=0}function yc(S){var R=this.__data__,pe=Nu(R,S);if(pe<0)return!1;var ot=R.length-1;return pe==ot?R.pop():Ca.call(R,pe,1),--this.size,!0}function gu(S){var R=this.__data__,pe=Nu(R,S);return pe<0?y:R[pe][1]}function bc(S){return Nu(this.__data__,S)>-1}function Ic(S,R){var pe=this.__data__,ot=Nu(pe,S);return ot<0?(++this.size,pe.push([S,R])):pe[ot][1]=R,this}Ns.prototype.clear=Au,Ns.prototype.delete=yc,Ns.prototype.get=gu,Ns.prototype.has=bc,Ns.prototype.set=Ic;function vu(S){var R=-1,pe=S==null?0:S.length;for(this.clear();++R<pe;){var ot=S[R];this.set(ot[0],ot[1])}}function Yu(){this.size=0,this.__data__={hash:new pu,map:new(ei||Ns),string:new pu}}function oc(S){var R=Qu(this,S).delete(S);return this.size-=R?1:0,R}function kc(S){return Qu(this,S).get(S)}function le(S){return Qu(this,S).has(S)}function Be(S,R){var pe=Qu(this,S),ot=pe.size;return pe.set(S,R),this.size+=pe.size==ot?0:1,this}vu.prototype.clear=Yu,vu.prototype.delete=oc,vu.prototype.get=kc,vu.prototype.has=le,vu.prototype.set=Be;function st(S){var R=-1,pe=S==null?0:S.length;for(this.__data__=new vu;++R<pe;)this.add(S[R])}function it(S){return this.__data__.set(S,p),this}function Qt(S){return this.__data__.has(S)}st.prototype.add=st.prototype.push=it,st.prototype.has=Qt;function qn(S){var R=this.__data__=new Ns(S);this.size=R.size}function Tr(){this.__data__=new Ns,this.size=0}function bo(S){var R=this.__data__,pe=R.delete(S);return this.size=R.size,pe}function Ko(S){return this.__data__.get(S)}function Mi(S){return this.__data__.has(S)}function Hi(S,R){var pe=this.__data__;if(pe instanceof Ns){var ot=pe.__data__;if(!ei||ot.length<C-1)return ot.push([S,R]),this.size=++pe.size,this;pe=this.__data__=new vu(ot)}return pe.set(S,R),this.size=pe.size,this}qn.prototype.clear=Tr,qn.prototype.delete=bo,qn.prototype.get=Ko,qn.prototype.has=Mi,qn.prototype.set=Hi;function ja(S,R){var pe=es(S),ot=!pe&&El(S),Yt=!pe&&!ot&&Sf(S),Gn=!pe&&!ot&&!Yt&&Vf(S),_r=pe||ot||Yt||Gn,$r=_r?jo(S.length,Ms):[],so=$r.length;for(var li in S)(R||sa.call(S,li))&&!(_r&&(li==\"length\"||Yt&&(li==\"offset\"||li==\"parent\")||Gn&&(li==\"buffer\"||li==\"byteLength\"||li==\"byteOffset\")||cu(li,so)))&&$r.push(li);return $r}function ms(S){var R=S.length;return R?S[ne(0,R-1)]:y}function Ps(S,R){return Ll(iu(S),yu(R,0,S.length))}function fu(S){return Ll(iu(S))}function qs(S,R,pe){(pe!==y&&!fl(S[R],pe)||pe===y&&!(R in S))&&cs(S,R,pe)}function Ya(S,R,pe){var ot=S[R];(!(sa.call(S,R)&&fl(ot,pe))||pe===y&&!(R in S))&&cs(S,R,pe)}function Nu(S,R){for(var pe=S.length;pe--;)if(fl(S[pe][0],R))return pe;return-1}function ru(S,R,pe,ot){return ju(S,function(Yt,Gn,_r){R(ot,Yt,pe(Yt),_r)}),ot}function mu(S,R){return S&&lc(R,oi(R),S)}function Zs(S,R){return S&&lc(R,bi(R),S)}function cs(S,R,pe){R==\"__proto__\"&&Ts?Ts(S,R,{configurable:!0,enumerable:!0,value:pe,writable:!0}):S[R]=pe}function Xs(S,R){for(var pe=-1,ot=R.length,Yt=Br(ot),Gn=S==null;++pe<ot;)Yt[pe]=Gn?y:Sn(S,R[pe]);return Yt}function yu(S,R,pe){return S===S&&(pe!==y&&(S=S<=pe?S:pe),R!==y&&(S=S>=R?S:R)),S}function bu(S,R,pe,ot,Yt,Gn){var _r,$r=R&f,so=R&h,li=R&l;if(pe&&(_r=Yt?pe(S,ot,Yt,Gn):pe(S)),_r!==y)return _r;if(!nu(S))return S;var fi=es(S);if(fi){if(_r=Pf(S),!$r)return iu(S,_r)}else{var Ei=Us(S),Qi=Ei==Ze||Ei==Ve;if(Sf(S))return uu(S,$r);if(Ei==mt||Ei==X||Qi&&!Yt){if(_r=so||Qi?{}:jl(S),!$r)return so?wc(S,Zs(_r,S)):ls(S,mu(_r,S))}else{if(!ct[Ei])return Yt?S:{};_r=qf(S,Ei,$r)}}Gn||(Gn=new qn);var ya=Gn.get(S);if(ya)return ya;Gn.set(S,_r),Hd(S)?S.forEach(function(Ga){_r.add(bu(Ga,R,pe,Ga,S,Gn))}):zd(S)&&S.forEach(function(Ga,bs){_r.set(bs,bu(Ga,R,pe,bs,S,Gn))});var Ha=li?so?Il:rf:so?bi:oi,ps=fi?y:Ha(S);return U(ps||S,function(Ga,bs){ps&&(bs=Ga,Ga=S[bs]),Ya(_r,bs,bu(Ga,R,pe,bs,S,Gn))}),_r}function Ku(S){var R=oi(S);return function(pe){return Qc(pe,S,R)}}function Qc(S,R,pe){var ot=pe.length;if(S==null)return!ot;for(S=Fa(S);ot--;){var Yt=pe[ot],Gn=R[Yt],_r=S[Yt];if(_r===y&&!(Yt in S)||!Gn(_r))return!1}return!0}function _l(S,R,pe){if(typeof S!=\"function\")throw new Qa(O);return wl(function(){S.apply(y,pe)},R)}function Nc(S,R,pe,ot){var Yt=-1,Gn=Je,_r=!0,$r=S.length,so=[],li=R.length;if(!$r)return so;pe&&(R=It(R,ho(pe))),ot?(Gn=Ot,_r=!1):R.length>=C&&(Gn=uo,_r=!1,R=new st(R));e:for(;++Yt<$r;){var fi=S[Yt],Ei=pe==null?fi:pe(fi);if(fi=ot||fi!==0?fi:0,_r&&Ei===Ei){for(var Qi=li;Qi--;)if(R[Qi]===Ei)continue e;so.push(fi)}else Gn(R,Ei,ot)||so.push(fi)}return so}var ju=fc(Ys),Wu=fc(Uu,!0);function dl(S,R){var pe=!0;return ju(S,function(ot,Yt,Gn){return pe=!!R(ot,Yt,Gn),pe}),pe}function Du(S,R,pe){for(var ot=-1,Yt=S.length;++ot<Yt;){var Gn=S[ot],_r=R(Gn);if(_r!=null&&($r===y?_r===_r&&!gc(_r):pe(_r,$r)))var $r=_r,so=Gn}return so}function hl(S,R,pe,ot){var Yt=S.length;for(pe=rs(pe),pe<0&&(pe=-pe>Yt?0:Yt+pe),ot=ot===y||ot>Yt?Yt:rs(ot),ot<0&&(ot+=Yt),ot=pe>ot?0:Gd(ot);pe<ot;)S[pe++]=R;return S}function jc(S,R){var pe=[];return ju(S,function(ot,Yt,Gn){R(ot,Yt,Gn)&&pe.push(ot)}),pe}function js(S,R,pe,ot,Yt){var Gn=-1,_r=S.length;for(pe||(pe=If),Yt||(Yt=[]);++Gn<_r;){var $r=S[Gn];R>0&&pe($r)?R>1?js($r,R-1,pe,ot,Yt):jt(Yt,$r):ot||(Yt[Yt.length]=$r)}return Yt}var xu=Kl(),wu=Kl(!0);function Ys(S,R){return S&&xu(S,R,oi)}function Uu(S,R){return S&&wu(S,R,oi)}function Dc(S,R){return St(R,function(pe){return Ol(S[pe])})}function ic(S,R){R=Da(R,S);for(var pe=0,ot=R.length;S!=null&&pe<ot;)S=S[ec(R[pe++])];return pe&&pe==ot?S:y}function Rc(S,R,pe){var ot=R(S);return es(S)?ot:jt(ot,pe(S))}function is(S){return S==null?S===y?Kt:Fe:qa&&qa in Fa(S)?ml(S):Rf(S)}function Tu(S,R){return S>R}function Pu(S,R){return S!=null&&sa.call(S,R)}function Jc(S,R){return S!=null&&R in Fa(S)}function Gl(S,R,pe){return S>=Fr(R,pe)&&S<gr(R,pe)}function ac(S,R,pe){for(var ot=pe?Ot:Je,Yt=S[0].length,Gn=S.length,_r=Gn,$r=Br(Gn),so=1/0,li=[];_r--;){var fi=S[_r];_r&&R&&(fi=It(fi,ho(R))),so=Fr(fi.length,so),$r[_r]=!pe&&(R||Yt>=120&&fi.length>=120)?new st(_r&&fi):y}fi=S[0];var Ei=-1,Qi=$r[0];e:for(;++Ei<Yt&&li.length<so;){var ya=fi[Ei],Ha=R?R(ya):ya;if(ya=pe||ya!==0?ya:0,!(Qi?uo(Qi,Ha):ot(li,Ha,pe))){for(_r=Gn;--_r;){var ps=$r[_r];if(!(ps?uo(ps,Ha):ot(S[_r],Ha,pe)))continue e}Qi&&Qi.push(Ha),li.push(ya)}}return li}function el(S,R,pe,ot){return Ys(S,function(Yt,Gn,_r){R(ot,pe(Yt),Gn,_r)}),ot}function sc(S,R,pe){R=Da(R,S),S=Wc(S,R);var ot=S==null?S:S[ec(Ou(R))];return ot==null?y:F(ot,S,pe)}function tl(S){return au(S)&&is(S)==X}function nl(S){return au(S)&&is(S)==Ft}function Vu(S){return au(S)&&is(S)==be}function Lc(S,R,pe,ot,Yt){return S===R?!0:S==null||R==null||!au(S)&&!au(R)?S!==S&&R!==R:Wl(S,R,pe,ot,Lc,Yt)}function Wl(S,R,pe,ot,Yt,Gn){var _r=es(S),$r=es(R),so=_r?se:Us(S),li=$r?se:Us(R);so=so==X?mt:so,li=li==X?mt:li;var fi=so==mt,Ei=li==mt,Qi=so==li;if(Qi&&Sf(S)){if(!Sf(R))return!1;_r=!0,fi=!1}if(Qi&&!fi)return Gn||(Gn=new qn),_r||Vf(S)?Ks(S,R,pe,ot,Yt,Gn):Hc(S,R,so,pe,ot,Yt,Gn);if(!(pe&s)){var ya=fi&&sa.call(S,\"__wrapped__\"),Ha=Ei&&sa.call(R,\"__wrapped__\");if(ya||Ha){var ps=ya?S.value():S,Ga=Ha?R.value():R;return Gn||(Gn=new qn),Yt(ps,Ga,pe,ot,Gn)}}return Qi?(Gn||(Gn=new qn),Tf(S,R,pe,ot,Yt,Gn)):!1}function Ul(S){return au(S)&&Us(S)==et}function uc(S,R,pe,ot){var Yt=pe.length,Gn=Yt,_r=!ot;if(S==null)return!Gn;for(S=Fa(S);Yt--;){var $r=pe[Yt];if(_r&&$r[2]?$r[1]!==S[$r[0]]:!($r[0]in S))return!1}for(;++Yt<Gn;){$r=pe[Yt];var so=$r[0],li=S[so],fi=$r[1];if(_r&&$r[2]){if(li===y&&!(so in S))return!1}else{var Ei=new qn;if(ot)var Qi=ot(li,fi,so,S,R,Ei);if(!(Qi===y?Lc(fi,li,s|m,ot,Ei):Qi))return!1}}return!0}function rl(S){if(!nu(S)||bl(S))return!1;var R=Ol(S)?ia:vi;return R.test($s(S))}function ol(S){return au(S)&&is(S)==lt}function ta(S){return au(S)&&Us(S)==rn}function pl(S){return au(S)&&ud(S.length)&&!!ft[is(S)]}function Bc(S){return typeof S==\"function\"?S:S==null?Mc:typeof S==\"object\"?es(S)?zc(S[0],S[1]):al(S):Bh(S)}function xc(S){if(!Gc(S))return $n(S);var R=[];for(var pe in Fa(S))sa.call(S,pe)&&pe!=\"constructor\"&&R.push(pe);return R}function $u(S){if(!nu(S))return Df(S);var R=Gc(S),pe=[];for(var ot in S)ot==\"constructor\"&&(R||!sa.call(S,ot))||pe.push(ot);return pe}function Fc(S,R){return S<R}function il(S,R){var pe=-1,ot=tc(S)?Br(S.length):[];return ju(S,function(Yt,Gn,_r){ot[++pe]=R(Yt,Gn,_r)}),ot}function al(S){var R=Hu(S);return R.length==1&&R[0][2]?Nf(R[0][0],R[0][1]):function(pe){return pe===S||uc(pe,S,R)}}function zc(S,R){return uf(S)&&kf(R)?Nf(ec(S),R):function(pe){var ot=Sn(pe,S);return ot===y&&ot===R?Or(pe,S):Lc(R,ot,s|m)}}function cc(S,R,pe,ot,Yt){S!==R&&xu(R,function(Gn,_r){if(Yt||(Yt=new qn),nu(Gn))Ml(S,R,_r,pe,cc,ot,Yt);else{var $r=ot?ot(Rl(S,_r),Gn,_r+\"\",S,R,Yt):y;$r===y&&($r=Gn),qs(S,_r,$r)}},bi)}function Ml(S,R,pe,ot,Yt,Gn,_r){var $r=Rl(S,pe),so=Rl(R,pe),li=_r.get(so);if(li){qs(S,pe,li);return}var fi=Gn?Gn($r,so,pe+\"\",S,R,_r):y,Ei=fi===y;if(Ei){var Qi=es(so),ya=!Qi&&Sf(so),Ha=!Qi&&!ya&&Vf(so);fi=so,Qi||ya||Ha?es($r)?fi=$r:lu($r)?fi=iu($r):ya?(Ei=!1,fi=uu(so,!0)):Ha?(Ei=!1,fi=Iu(so,!0)):fi=[]:cd(so)||El(so)?(fi=$r,El($r)?fi=Wd($r):(!nu($r)||Ol($r))&&(fi=jl(so))):Ei=!1}Ei&&(_r.set(so,fi),Yt(fi,so,ot,Gn,_r),_r.delete(so)),qs(S,pe,fi)}function Al(S,R){var pe=S.length;if(pe)return R+=R<0?pe:0,cu(R,pe)?S[R]:y}function sl(S,R,pe){R.length?R=It(R,function(Gn){return es(Gn)?function(_r){return ic(_r,Gn.length===1?Gn[0]:Gn)}:Gn}):R=[Mc];var ot=-1;R=It(R,ho(va()));var Yt=il(S,function(Gn,_r,$r){var so=It(R,function(li){return li(Gn)});return{criteria:so,index:++ot,value:Gn}});return ao(Yt,function(Gn,_r){return Xl(Gn,_r,pe)})}function Vl(S,R){return ou(S,R,function(pe,ot){return Or(S,ot)})}function ou(S,R,pe){for(var ot=-1,Yt=R.length,Gn={};++ot<Yt;){var _r=R[ot],$r=ic(S,_r);pe($r,_r)&&Jt(Gn,Da(_r,S),$r)}return Gn}function Zl(S){return function(R){return ic(R,S)}}function su(S,R,pe,ot){var Yt=ot?sr:ur,Gn=-1,_r=R.length,$r=S;for(S===R&&(R=iu(R)),pe&&($r=It(S,ho(pe)));++Gn<_r;)for(var so=0,li=R[Gn],fi=pe?pe(li):li;(so=Yt($r,fi,so,ot))>-1;)$r!==S&&Ca.call($r,so,1),Ca.call(S,so,1);return S}function $(S,R){for(var pe=S?R.length:0,ot=pe-1;pe--;){var Yt=R[pe];if(pe==ot||Yt!==Gn){var Gn=Yt;cu(Yt)?Ca.call(S,Yt,1):Zo(S,Yt)}}return S}function ne(S,R){return S+_t(mo()*(R-S+1))}function Me(S,R,pe,ot){for(var Yt=-1,Gn=gr(ut((R-S)/(pe||1)),0),_r=Br(Gn);Gn--;)_r[ot?Gn:++Yt]=S,S+=pe;return _r}function tt(S,R){var pe=\"\";if(!S||R<1||R>Oe)return pe;do R%2&&(pe+=S),R=_t(R/2),R&&(S+=S);while(R);return pe}function at(S,R){return lf(xl(S,R,Mc),S+\"\")}function Nt(S){return ms(Ed(S))}function Tt(S,R){var pe=Ed(S);return Ll(pe,yu(R,0,pe.length))}function Jt(S,R,pe,ot){if(!nu(S))return S;R=Da(R,S);for(var Yt=-1,Gn=R.length,_r=Gn-1,$r=S;$r!=null&&++Yt<Gn;){var so=ec(R[Yt]),li=pe;if(so===\"__proto__\"||so===\"constructor\"||so===\"prototype\")return S;if(Yt!=_r){var fi=$r[so];li=ot?ot(fi,so,$r):y,li===y&&(li=nu(fi)?fi:cu(R[Yt+1])?[]:{})}Ya($r,so,li),$r=$r[so]}return S}var nn=Bi?function(S,R){return Bi.set(S,R),S}:Mc,zn=Ts?function(S,R){return Ts(S,\"toString\",{configurable:!0,enumerable:!1,value:Eh(R),writable:!0})}:Mc;function mr(S){return Ll(Ed(S))}function Er(S,R,pe){var ot=-1,Yt=S.length;R<0&&(R=-R>Yt?0:Yt+R),pe=pe>Yt?Yt:pe,pe<0&&(pe+=Yt),Yt=R>pe?0:pe-R>>>0,R>>>=0;for(var Gn=Br(Yt);++ot<Yt;)Gn[ot]=S[ot+R];return Gn}function Zr(S,R){var pe;return ju(S,function(ot,Yt,Gn){return pe=R(ot,Yt,Gn),!pe}),!!pe}function Yr(S,R,pe){var ot=0,Yt=S==null?ot:S.length;if(typeof R==\"number\"&&R===R&&Yt<=ae){for(;ot<Yt;){var Gn=ot+Yt>>>1,_r=S[Gn];_r!==null&&!gc(_r)&&(pe?_r<=R:_r<R)?ot=Gn+1:Yt=Gn}return Yt}return So(S,R,Mc,pe)}function So(S,R,pe,ot){var Yt=0,Gn=S==null?0:S.length;if(Gn===0)return 0;R=pe(R);for(var _r=R!==R,$r=R===null,so=gc(R),li=R===y;Yt<Gn;){var fi=_t((Yt+Gn)/2),Ei=pe(S[fi]),Qi=Ei!==y,ya=Ei===null,Ha=Ei===Ei,ps=gc(Ei);if(_r)var Ga=ot||Ha;else li?Ga=Ha&&(ot||Qi):$r?Ga=Ha&&Qi&&(ot||!ya):so?Ga=Ha&&Qi&&!ya&&(ot||!ps):ya||ps?Ga=!1:Ga=ot?Ei<=R:Ei<R;Ga?Yt=fi+1:Gn=fi}return Fr(Gn,ie)}function Oo(S,R){for(var pe=-1,ot=S.length,Yt=0,Gn=[];++pe<ot;){var _r=S[pe],$r=R?R(_r):_r;if(!pe||!fl($r,so)){var so=$r;Gn[Yt++]=_r===0?0:_r}}return Gn}function xo(S){return typeof S==\"number\"?S:gc(S)?oe:+S}function lo(S){if(typeof S==\"string\")return S;if(es(S))return It(S,lo)+\"\";if(gc(S))return Cs?Cs.call(S):\"\";var R=S+\"\";return R==\"0\"&&1/S==-ye?\"-0\":R}function Io(S,R,pe){var ot=-1,Yt=Je,Gn=S.length,_r=!0,$r=[],so=$r;if(pe)_r=!1,Yt=Ot;else if(Gn>=C){var li=R?null:tf(S);if(li)return $i(li);_r=!1,Yt=uo,so=new st}else so=R?[]:$r;e:for(;++ot<Gn;){var fi=S[ot],Ei=R?R(fi):fi;if(fi=pe||fi!==0?fi:0,_r&&Ei===Ei){for(var Qi=so.length;Qi--;)if(so[Qi]===Ei)continue e;R&&so.push(Ei),$r.push(fi)}else Yt(so,Ei,pe)||(so!==$r&&so.push(Ei),$r.push(fi))}return $r}function Zo(S,R){return R=Da(R,S),S=Wc(S,R),S==null||delete S[ec(Ou(R))]}function xi(S,R,pe,ot){return Jt(S,R,pe(ic(S,R)),ot)}function Ai(S,R,pe,ot){for(var Yt=S.length,Gn=ot?Yt:-1;(ot?Gn--:++Gn<Yt)&&R(S[Gn],Gn,S););return pe?Er(S,ot?0:Gn,ot?Gn+1:Yt):Er(S,ot?Gn+1:0,ot?Yt:Gn)}function ci(S,R){var pe=S;return pe instanceof Wa&&(pe=pe.value()),Vt(R,function(ot,Yt){return Yt.func.apply(Yt.thisArg,jt([ot],Yt.args))},pe)}function Ri(S,R,pe){var ot=S.length;if(ot<2)return ot?Io(S[0]):[];for(var Yt=-1,Gn=Br(ot);++Yt<ot;)for(var _r=S[Yt],$r=-1;++$r<ot;)$r!=Yt&&(Gn[Yt]=Nc(Gn[Yt]||_r,S[$r],R,pe));return Io(js(Gn,1),R,pe)}function Ci(S,R,pe){for(var ot=-1,Yt=S.length,Gn=R.length,_r={};++ot<Yt;){var $r=ot<Gn?R[ot]:y;pe(_r,S[ot],$r)}return _r}function ua(S){return lu(S)?S:[]}function da(S){return typeof S==\"function\"?S:Mc}function Da(S,R){return es(S)?S:uf(S,R)?[S]:hf(_s(S))}var as=at;function ts(S,R,pe){var ot=S.length;return pe=pe===y?ot:pe,!R&&pe>=ot?S:Er(S,R,pe)}var ka=v||function(S){return Pr.clearTimeout(S)};function uu(S,R){if(R)return S.slice();var pe=S.length,ot=Pa?Pa(pe):new S.constructor(pe);return S.copy(ot),ot}function Su(S){var R=new S.constructor(S.byteLength);return new fa(R).set(new fa(S)),R}function Js(S,R){var pe=R?Su(S.buffer):S.buffer;return new S.constructor(pe,S.byteOffset,S.byteLength)}function Ws(S){var R=new S.constructor(S.source,jr.exec(S));return R.lastIndex=S.lastIndex,R}function Ru(S){return Fi?Fa(Fi.call(S)):{}}function Iu(S,R){var pe=R?Su(S.buffer):S.buffer;return new S.constructor(pe,S.byteOffset,S.length)}function Xf(S,R){if(S!==R){var pe=S!==y,ot=S===null,Yt=S===S,Gn=gc(S),_r=R!==y,$r=R===null,so=R===R,li=gc(R);if(!$r&&!li&&!Gn&&S>R||Gn&&_r&&so&&!$r&&!li||ot&&_r&&so||!pe&&so||!Yt)return 1;if(!ot&&!Gn&&!li&&S<R||li&&pe&&Yt&&!ot&&!Gn||$r&&pe&&Yt||!_r&&Yt||!so)return-1}return 0}function Xl(S,R,pe){for(var ot=-1,Yt=S.criteria,Gn=R.criteria,_r=Yt.length,$r=pe.length;++ot<_r;){var so=Xf(Yt[ot],Gn[ot]);if(so){if(ot>=$r)return so;var li=pe[ot];return so*(li==\"desc\"?-1:1)}}return S.index-R.index}function Yl(S,R,pe,ot){for(var Yt=-1,Gn=S.length,_r=pe.length,$r=-1,so=R.length,li=gr(Gn-_r,0),fi=Br(so+li),Ei=!ot;++$r<so;)fi[$r]=R[$r];for(;++Yt<_r;)(Ei||Yt<Gn)&&(fi[pe[Yt]]=S[Yt]);for(;li--;)fi[$r++]=S[Yt++];return fi}function Cf(S,R,pe,ot){for(var Yt=-1,Gn=S.length,_r=-1,$r=pe.length,so=-1,li=R.length,fi=gr(Gn-$r,0),Ei=Br(fi+li),Qi=!ot;++Yt<fi;)Ei[Yt]=S[Yt];for(var ya=Yt;++so<li;)Ei[ya+so]=R[so];for(;++_r<$r;)(Qi||Yt<Gn)&&(Ei[ya+pe[_r]]=S[Yt++]);return Ei}function iu(S,R){var pe=-1,ot=S.length;for(R||(R=Br(ot));++pe<ot;)R[pe]=S[pe];return R}function lc(S,R,pe,ot){var Yt=!pe;pe||(pe={});for(var Gn=-1,_r=R.length;++Gn<_r;){var $r=R[Gn],so=ot?ot(pe[$r],S[$r],$r,pe,S):y;so===y&&(so=S[$r]),Yt?cs(pe,$r,so):Ya(pe,$r,so)}return pe}function ls(S,R){return lc(S,Ju(S),R)}function wc(S,R){return lc(S,yl(S),R)}function Sc(S,R){return function(pe,ot){var Yt=es(pe)?V:ru,Gn=R?R():{};return Yt(pe,S,va(ot,2),Gn)}}function ul(S){return at(function(R,pe){var ot=-1,Yt=pe.length,Gn=Yt>1?pe[Yt-1]:y,_r=Yt>2?pe[2]:y;for(Gn=S.length>3&&typeof Gn==\"function\"?(Yt--,Gn):y,_r&&tu(pe[0],pe[1],_r)&&(Gn=Yt<3?y:Gn,Yt=1),R=Fa(R);++ot<Yt;){var $r=pe[ot];$r&&S(R,$r,ot,Gn)}return R})}function fc(S,R){return function(pe,ot){if(pe==null)return pe;if(!tc(pe))return S(pe,ot);for(var Yt=pe.length,Gn=R?Yt:-1,_r=Fa(pe);(R?Gn--:++Gn<Yt)&&ot(_r[Gn],Gn,_r)!==!1;);return pe}}function Kl(S){return function(R,pe,ot){for(var Yt=-1,Gn=Fa(R),_r=ot(R),$r=_r.length;$r--;){var so=_r[S?$r:++Yt];if(pe(Gn[so],so,Gn)===!1)break}return R}}function Yf(S,R,pe){var ot=R&x,Yt=dc(S);function Gn(){var _r=this&&this!==Pr&&this instanceof Gn?Yt:S;return _r.apply(ot?pe:this,arguments)}return Gn}function Ec(S){return function(R){R=_s(R);var pe=Jo(R)?Ka(R):y,ot=pe?pe[0]:R.charAt(0),Yt=pe?ts(pe,1).join(\"\"):R.slice(1);return ot[S]()+Yt}}function $c(S){return function(R){return Vt(Rh(Dh(R).replace(ii,\"\")),S,\"\")}}function dc(S){return function(){var R=arguments;switch(R.length){case 0:return new S;case 1:return new S(R[0]);case 2:return new S(R[0],R[1]);case 3:return new S(R[0],R[1],R[2]);case 4:return new S(R[0],R[1],R[2],R[3]);case 5:return new S(R[0],R[1],R[2],R[3],R[4]);case 6:return new S(R[0],R[1],R[2],R[3],R[4],R[5]);case 7:return new S(R[0],R[1],R[2],R[3],R[4],R[5],R[6])}var pe=zs(S.prototype),ot=S.apply(pe,R);return nu(ot)?ot:pe}}function Kf(S,R,pe){var ot=dc(S);function Yt(){for(var Gn=arguments.length,_r=Br(Gn),$r=Gn,so=Oc(Yt);$r--;)_r[$r]=arguments[$r];var li=Gn<3&&_r[0]!==so&&_r[Gn-1]!==so?[]:na(_r,so);if(Gn-=li.length,Gn<pe)return ef(S,R,gl,Yt.placeholder,y,_r,li,y,y,pe-Gn);var fi=this&&this!==Pr&&this instanceof Yt?ot:S;return F(fi,this,_r)}return Yt}function ql(S){return function(R,pe,ot){var Yt=Fa(R);if(!tc(R)){var Gn=va(pe,3);R=oi(R),pe=function($r){return Gn(Yt[$r],$r,Yt)}}var _r=S(R,pe,ot);return _r>-1?Yt[Gn?R[_r]:_r]:y}}function Ql(S){return Xu(function(R){var pe=R.length,ot=pe,Yt=gs.prototype.thru;for(S&&R.reverse();ot--;){var Gn=R[ot];if(typeof Gn!=\"function\")throw new Qa(O);if(Yt&&!_r&&Fu(Gn)==\"wrapper\")var _r=new gs([],!0)}for(ot=_r?ot:pe;++ot<pe;){Gn=R[ot];var $r=Fu(Gn),so=$r==\"wrapper\"?of(Gn):y;so&&cf(so[0])&&so[1]==(q|j|A|re)&&!so[4].length&&so[9]==1?_r=_r[Fu(so[0])].apply(_r,so[3]):_r=Gn.length==1&&cf(Gn)?_r[$r]():_r.thru(Gn)}return function(){var li=arguments,fi=li[0];if(_r&&li.length==1&&es(fi))return _r.plant(fi).value();for(var Ei=0,Qi=pe?R[Ei].apply(this,li):fi;++Ei<pe;)Qi=R[Ei].call(this,Qi);return Qi}})}function gl(S,R,pe,ot,Yt,Gn,_r,$r,so,li){var fi=R&q,Ei=R&x,Qi=R&M,ya=R&(j|L),Ha=R&me,ps=Qi?y:dc(S);function Ga(){for(var bs=arguments.length,Os=Br(bs),Zc=bs;Zc--;)Os[Zc]=arguments[Zc];if(ya)var mc=Oc(Ga),Xc=la(Os,mc);if(ot&&(Os=Yl(Os,ot,Yt,ya)),Gn&&(Os=Cf(Os,Gn,_r,ya)),bs-=Xc,ya&&bs<li){var _u=na(Os,mc);return ef(S,R,gl,Ga.placeholder,pe,Os,_u,$r,so,li-bs)}var Cl=Ei?pe:this,Of=Qi?Cl[S]:S;return bs=Os.length,$r?Os=Dl(Os,$r):Ha&&bs>1&&Os.reverse(),fi&&so<bs&&(Os.length=so),this&&this!==Pr&&this instanceof Ga&&(Of=ps||dc(Of)),Of.apply(Cl,Os)}return Ga}function Lu(S,R){return function(pe,ot){return el(pe,S,R(ot),{})}}function Tl(S,R){return function(pe,ot){var Yt;if(pe===y&&ot===y)return R;if(pe!==y&&(Yt=pe),ot!==y){if(Yt===y)return ot;typeof pe==\"string\"||typeof ot==\"string\"?(pe=lo(pe),ot=lo(ot)):(pe=xo(pe),ot=xo(ot)),Yt=S(pe,ot)}return Yt}}function Jl(S){return Xu(function(R){return R=It(R,ho(va())),at(function(pe){var ot=this;return S(R,function(Yt){return F(Yt,ot,pe)})})})}function vl(S,R){R=R===y?\" \":lo(R);var pe=R.length;if(pe<2)return pe?tt(R,S):R;var ot=tt(R,ut(S/Ma(R)));return Jo(R)?ts(Ka(ot),0,S).join(\"\"):ot.slice(0,S)}function _f(S,R,pe,ot){var Yt=R&x,Gn=dc(S);function _r(){for(var $r=-1,so=arguments.length,li=-1,fi=ot.length,Ei=Br(fi+so),Qi=this&&this!==Pr&&this instanceof _r?Gn:S;++li<fi;)Ei[li]=ot[li];for(;so--;)Ei[li++]=arguments[++$r];return F(Qi,Yt?pe:this,Ei)}return _r}function Mf(S){return function(R,pe,ot){return ot&&typeof ot!=\"number\"&&tu(R,pe,ot)&&(pe=ot=y),R=zl(R),pe===y?(pe=R,R=0):pe=zl(pe),ot=ot===y?R<pe?1:-1:zl(ot),Me(R,pe,ot,S)}}function Ds(S){return function(R,pe){return typeof R==\"string\"&&typeof pe==\"string\"||(R=_c(R),pe=_c(pe)),S(R,pe)}}function ef(S,R,pe,ot,Yt,Gn,_r,$r,so,li){var fi=R&j,Ei=fi?_r:y,Qi=fi?y:_r,ya=fi?Gn:y,Ha=fi?y:Gn;R|=fi?A:J,R&=~(fi?J:A),R&E||(R&=~(x|M));var ps=[S,R,Yt,ya,Ei,Ha,Qi,$r,so,li],Ga=pe.apply(y,ps);return cf(S)&&hc(Ga,ps),Ga.placeholder=ot,ff(Ga,S,R)}function Pl(S){var R=Na[S];return function(pe,ot){if(pe=_c(pe),ot=ot==null?0:Fr(rs(ot),292),ot&&wn(pe)){var Yt=(_s(pe)+\"e\").split(\"e\"),Gn=R(Yt[0]+\"e\"+(+Yt[1]+ot));return Yt=(_s(Gn)+\"e\").split(\"e\"),+(Yt[0]+\"e\"+(+Yt[1]-ot))}return R(pe)}}var tf=Xi&&1/$i(new Xi([,-0]))[1]==ye?function(S){return new Xi(S)}:_h;function Bu(S){return function(R){var pe=Us(R);return pe==et?Ii(R):pe==rn?La(R):ui(R,S(R))}}function qu(S,R,pe,ot,Yt,Gn,_r,$r){var so=R&M;if(!so&&typeof S!=\"function\")throw new Qa(O);var li=ot?ot.length:0;if(li||(R&=~(A|J),ot=Yt=y),_r=_r===y?_r:gr(rs(_r),0),$r=$r===y?$r:rs($r),li-=Yt?Yt.length:0,R&J){var fi=ot,Ei=Yt;ot=Yt=y}var Qi=so?y:of(S),ya=[S,R,pe,ot,Yt,fi,Ei,Gn,_r,$r];if(Qi&&cl(ya,Qi),S=ya[0],R=ya[1],pe=ya[2],ot=ya[3],Yt=ya[4],$r=ya[9]=ya[9]===y?so?0:S.length:gr(ya[9]-li,0),!$r&&R&(j|L)&&(R&=~(j|L)),!R||R==x)var Ha=Yf(S,R,pe);else R==j||R==L?Ha=Kf(S,R,$r):(R==A||R==(x|A))&&!Yt.length?Ha=_f(S,R,pe,ot):Ha=gl.apply(y,ya);var ps=Qi?nn:hc;return ff(ps(Ha,ya),S,R)}function Af(S,R,pe,ot){return S===y||fl(S,$a[pe])&&!sa.call(ot,pe)?R:S}function nf(S,R,pe,ot,Yt,Gn){return nu(S)&&nu(R)&&(Gn.set(R,S),cc(S,R,y,nf,Gn),Gn.delete(R)),S}function Zu(S){return cd(S)?y:S}function Ks(S,R,pe,ot,Yt,Gn){var _r=pe&s,$r=S.length,so=R.length;if($r!=so&&!(_r&&so>$r))return!1;var li=Gn.get(S),fi=Gn.get(R);if(li&&fi)return li==R&&fi==S;var Ei=-1,Qi=!0,ya=pe&m?new st:y;for(Gn.set(S,R),Gn.set(R,S);++Ei<$r;){var Ha=S[Ei],ps=R[Ei];if(ot)var Ga=_r?ot(ps,Ha,Ei,R,S,Gn):ot(Ha,ps,Ei,S,R,Gn);if(Ga!==y){if(Ga)continue;Qi=!1;break}if(ya){if(!Jn(R,function(bs,Os){if(!uo(ya,Os)&&(Ha===bs||Yt(Ha,bs,pe,ot,Gn)))return ya.push(Os)})){Qi=!1;break}}else if(!(Ha===ps||Yt(Ha,ps,pe,ot,Gn))){Qi=!1;break}}return Gn.delete(S),Gn.delete(R),Qi}function Hc(S,R,pe,ot,Yt,Gn,_r){switch(pe){case kt:if(S.byteLength!=R.byteLength||S.byteOffset!=R.byteOffset)return!1;S=S.buffer,R=R.buffer;case Ft:return!(S.byteLength!=R.byteLength||!Gn(new fa(S),new fa(R)));case _e:case be:case ht:return fl(+S,+R);case we:return S.name==R.name&&S.message==R.message;case lt:case qt:return S==R+\"\";case et:var $r=Ii;case rn:var so=ot&s;if($r||($r=$i),S.size!=R.size&&!so)return!1;var li=_r.get(S);if(li)return li==R;ot|=m,_r.set(S,R);var fi=Ks($r(S),$r(R),ot,Yt,Gn,_r);return _r.delete(S),fi;case hn:if(Fi)return Fi.call(S)==Fi.call(R)}return!1}function Tf(S,R,pe,ot,Yt,Gn){var _r=pe&s,$r=rf(S),so=$r.length,li=rf(R),fi=li.length;if(so!=fi&&!_r)return!1;for(var Ei=so;Ei--;){var Qi=$r[Ei];if(!(_r?Qi in R:sa.call(R,Qi)))return!1}var ya=Gn.get(S),Ha=Gn.get(R);if(ya&&Ha)return ya==R&&Ha==S;var ps=!0;Gn.set(S,R),Gn.set(R,S);for(var Ga=_r;++Ei<so;){Qi=$r[Ei];var bs=S[Qi],Os=R[Qi];if(ot)var Zc=_r?ot(Os,bs,Qi,R,S,Gn):ot(bs,Os,Qi,S,R,Gn);if(!(Zc===y?bs===Os||Yt(bs,Os,pe,ot,Gn):Zc)){ps=!1;break}Ga||(Ga=Qi==\"constructor\")}if(ps&&!Ga){var mc=S.constructor,Xc=R.constructor;mc!=Xc&&\"constructor\"in S&&\"constructor\"in R&&!(typeof mc==\"function\"&&mc instanceof mc&&typeof Xc==\"function\"&&Xc instanceof Xc)&&(ps=!1)}return Gn.delete(S),Gn.delete(R),ps}function Xu(S){return lf(xl(S,y,Ff),S+\"\")}function rf(S){return Rc(S,oi,Ju)}function Il(S){return Rc(S,bi,yl)}var of=Bi?function(S){return Bi.get(S)}:_h;function Fu(S){for(var R=S.name+\"\",pe=_a[R],ot=sa.call(_a,R)?pe.length:0;ot--;){var Yt=pe[ot],Gn=Yt.func;if(Gn==null||Gn==S)return Yt.name}return R}function Oc(S){var R=sa.call(yn,\"placeholder\")?yn:S;return R.placeholder}function va(){var S=yn.iteratee||Oh;return S=S===Oh?Bc:S,arguments.length?S(arguments[0],arguments[1]):S}function Qu(S,R){var pe=S.__data__;return Qf(R)?pe[typeof R==\"string\"?\"string\":\"hash\"]:pe.map}function Hu(S){for(var R=oi(S),pe=R.length;pe--;){var ot=R[pe],Yt=S[ot];R[pe]=[ot,Yt,kf(Yt)]}return R}function eu(S,R){var pe=qi(S,R);return rl(pe)?pe:y}function ml(S){var R=sa.call(S,qa),pe=S[qa];try{S[qa]=y;var ot=!0}catch(Gn){}var Yt=As.call(S);return ot&&(R?S[qa]=pe:delete S[qa]),Yt}var Ju=Ht?function(S){return S==null?[]:(S=Fa(S),St(Ht(S),function(R){return vs.call(S,R)}))}:Mh,yl=Ht?function(S){for(var R=[];S;)jt(R,Ju(S)),S=xs(S);return R}:Mh,Us=is;(fo&&Us(new fo(new ArrayBuffer(1)))!=kt||ei&&Us(new ei)!=et||ea&&Us(ea.resolve())!=dt||Xi&&Us(new Xi)!=rn||hi&&Us(new hi)!=an)&&(Us=function(S){var R=is(S),pe=R==mt?S.constructor:y,ot=pe?$s(pe):\"\";if(ot)switch(ot){case wa:return kt;case Ia:return et;case tr:return dt;case Sa:return rn;case Ta:return an}return R});function af(S,R,pe){for(var ot=-1,Yt=pe.length;++ot<Yt;){var Gn=pe[ot],_r=Gn.size;switch(Gn.type){case\"drop\":S+=_r;break;case\"dropRight\":R-=_r;break;case\"take\":R=Fr(R,S+_r);break;case\"takeRight\":S=gr(S,R-_r);break}}return{start:S,end:R}}function kl(S){var R=S.match(Ue);return R?R[1].split(xt):[]}function Nl(S,R,pe){R=Da(R,S);for(var ot=-1,Yt=R.length,Gn=!1;++ot<Yt;){var _r=ec(R[ot]);if(!(Gn=S!=null&&pe(S,_r)))break;S=S[_r]}return Gn||++ot!=Yt?Gn:(Yt=S==null?0:S.length,!!Yt&&ud(Yt)&&cu(_r,Yt)&&(es(S)||El(S)))}function Pf(S){var R=S.length,pe=new S.constructor(R);return R&&typeof S[0]==\"string\"&&sa.call(S,\"index\")&&(pe.index=S.index,pe.input=S.input),pe}function jl(S){return typeof S.constructor==\"function\"&&!Gc(S)?zs(xs(S)):{}}function qf(S,R,pe){var ot=S.constructor;switch(R){case Ft:return Su(S);case _e:case be:return new ot(+S);case kt:return Js(S,pe);case At:case Fn:case pn:case en:case Wn:case Mn:case Kn:case hr:case pr:return Iu(S,pe);case et:return new ot;case ht:case qt:return new ot(S);case lt:return Ws(S);case rn:return new ot;case hn:return Ru(S)}}function sf(S,R){var pe=R.length;if(!pe)return S;var ot=pe-1;return R[ot]=(pe>1?\"& \":\"\")+R[ot],R=R.join(pe>2?\", \":\" \"),S.replace(pt,`{\n/* [wrapped with `+R+`] */\n`)}function If(S){return es(S)||El(S)||!!(ra&&S&&S[ra])}function cu(S,R){var pe=typeof S;return R=R==null?Oe:R,!!R&&(pe==\"number\"||pe!=\"symbol\"&&wi.test(S))&&S>-1&&S%1==0&&S<R}function tu(S,R,pe){if(!nu(pe))return!1;var ot=typeof R;return(ot==\"number\"?tc(pe)&&cu(R,pe.length):ot==\"string\"&&R in pe)?fl(pe[R],S):!1}function uf(S,R){if(es(S))return!1;var pe=typeof S;return pe==\"number\"||pe==\"symbol\"||pe==\"boolean\"||S==null||gc(S)?!0:Wt.test(S)||!gt.test(S)||R!=null&&S in Fa(R)}function Qf(S){var R=typeof S;return R==\"string\"||R==\"number\"||R==\"symbol\"||R==\"boolean\"?S!==\"__proto__\":S===null}function cf(S){var R=Fu(S),pe=yn[R];if(typeof pe!=\"function\"||!(R in Wa.prototype))return!1;if(S===pe)return!0;var ot=of(pe);return!!ot&&S===ot[0]}function bl(S){return!!os&&os in S}var fd=Hs?Ol:Ah;function Gc(S){var R=S&&S.constructor,pe=typeof R==\"function\"&&R.prototype||$a;return S===pe}function kf(S){return S===S&&!nu(S)}function Nf(S,R){return function(pe){return pe==null?!1:pe[S]===R&&(R!==y||S in Fa(pe))}}function jf(S){var R=xf(S,function(ot){return pe.size===u&&pe.clear(),ot}),pe=R.cache;return R}function cl(S,R){var pe=S[1],ot=R[1],Yt=pe|ot,Gn=Yt<(x|M|q),_r=ot==q&&pe==j||ot==q&&pe==re&&S[7].length<=R[8]||ot==(q|re)&&R[7].length<=R[8]&&pe==j;if(!(Gn||_r))return S;ot&x&&(S[2]=R[2],Yt|=pe&x?0:E);var $r=R[3];if($r){var so=S[3];S[3]=so?Yl(so,$r,R[4]):$r,S[4]=so?na(S[3],a):R[4]}return $r=R[5],$r&&(so=S[5],S[5]=so?Cf(so,$r,R[6]):$r,S[6]=so?na(S[5],a):R[6]),$r=R[7],$r&&(S[7]=$r),ot&q&&(S[8]=S[8]==null?R[8]:Fr(S[8],R[8])),S[9]==null&&(S[9]=R[9]),S[0]=R[0],S[1]=Yt,S}function Df(S){var R=[];if(S!=null)for(var pe in Fa(S))R.push(pe);return R}function Rf(S){return As.call(S)}function xl(S,R,pe){return R=gr(R===y?S.length-1:R,0),function(){for(var ot=arguments,Yt=-1,Gn=gr(ot.length-R,0),_r=Br(Gn);++Yt<Gn;)_r[Yt]=ot[R+Yt];Yt=-1;for(var $r=Br(R+1);++Yt<R;)$r[Yt]=ot[Yt];return $r[R]=pe(_r),F(S,this,$r)}}function Wc(S,R){return R.length<2?S:ic(S,Er(R,0,-1))}function Dl(S,R){for(var pe=S.length,ot=Fr(R.length,pe),Yt=iu(S);ot--;){var Gn=R[ot];S[ot]=cu(Gn,pe)?Yt[Gn]:y}return S}function Rl(S,R){if(!(R===\"constructor\"&&typeof S[R]==\"function\")&&R!=\"__proto__\")return S[R]}var hc=df(nn),wl=ze||function(S,R){return Pr.setTimeout(S,R)},lf=df(zn);function ff(S,R,pe){var ot=R+\"\";return lf(S,sf(ot,dd(kl(ot),pe)))}function df(S){var R=0,pe=0;return function(){var ot=Qr(),Yt=Ie-(ot-pe);if(pe=ot,Yt>0){if(++R>=xe)return arguments[0]}else R=0;return S.apply(y,arguments)}}function Ll(S,R){var pe=-1,ot=S.length,Yt=ot-1;for(R=R===y?ot:R;++pe<R;){var Gn=ne(pe,Yt),_r=S[Gn];S[Gn]=S[pe],S[pe]=_r}return S.length=R,S}var hf=jf(function(S){var R=[];return S.charCodeAt(0)===46&&R.push(\"\"),S.replace(xn,function(pe,ot,Yt,Gn){R.push(Yt?Gn.replace(Mr,\"$1\"):ot||pe)}),R});function ec(S){if(typeof S==\"string\"||gc(S))return S;var R=S+\"\";return R==\"0\"&&1/S==-ye?\"-0\":R}function $s(S){if(S!=null){try{return ys.call(S)}catch(R){}try{return S+\"\"}catch(R){}}return\"\"}function dd(S,R){return U(ve,function(pe){var ot=\"_.\"+pe[0];R&pe[1]&&!Je(S,ot)&&S.push(ot)}),S.sort()}function Lf(S){if(S instanceof Wa)return S.clone();var R=new gs(S.__wrapped__,S.__chain__);return R.__actions__=iu(S.__actions__),R.__index__=S.__index__,R.__values__=S.__values__,R}function Eu(S,R,pe){(pe?tu(S,R,pe):R===y)?R=1:R=gr(rs(R),0);var ot=S==null?0:S.length;if(!ot||R<1)return[];for(var Yt=0,Gn=0,_r=Br(ut(ot/R));Yt<ot;)_r[Gn++]=Er(S,Yt,Yt+=R);return _r}function ll(S){for(var R=-1,pe=S==null?0:S.length,ot=0,Yt=[];++R<pe;){var Gn=S[R];Gn&&(Yt[ot++]=Gn)}return Yt}function Sl(){var S=arguments.length;if(!S)return[];for(var R=Br(S-1),pe=arguments[0],ot=S;ot--;)R[ot-1]=arguments[ot];return jt(es(pe)?iu(pe):[pe],js(R,1))}var hd=at(function(S,R){return lu(S)?Nc(S,js(R,1,lu,!0)):[]}),pf=at(function(S,R){var pe=Ou(R);return lu(pe)&&(pe=y),lu(S)?Nc(S,js(R,1,lu,!0),va(pe,2)):[]}),Bf=at(function(S,R){var pe=Ou(R);return lu(pe)&&(pe=y),lu(S)?Nc(S,js(R,1,lu,!0),y,pe):[]});function Bl(S,R,pe){var ot=S==null?0:S.length;return ot?(R=pe||R===y?1:rs(R),Er(S,R<0?0:R,ot)):[]}function Jf(S,R,pe){var ot=S==null?0:S.length;return ot?(R=pe||R===y?1:rs(R),R=ot-R,Er(S,0,R<0?0:R)):[]}function gf(S,R){return S&&S.length?Ai(S,va(R,3),!0,!0):[]}function pd(S,R){return S&&S.length?Ai(S,va(R,3),!0):[]}function gd(S,R,pe,ot){var Yt=S==null?0:S.length;return Yt?(pe&&typeof pe!=\"number\"&&tu(S,R,pe)&&(pe=0,ot=Yt),hl(S,R,pe,ot)):[]}function vf(S,R,pe){var ot=S==null?0:S.length;if(!ot)return-1;var Yt=pe==null?0:rs(pe);return Yt<0&&(Yt=gr(ot+Yt,0)),nr(S,va(R,3),Yt)}function mf(S,R,pe){var ot=S==null?0:S.length;if(!ot)return-1;var Yt=ot-1;return pe!==y&&(Yt=rs(pe),Yt=pe<0?gr(ot+Yt,0):Fr(Yt,ot-1)),nr(S,va(R,3),Yt,!0)}function Ff(S){var R=S==null?0:S.length;return R?js(S,1):[]}function vd(S){var R=S==null?0:S.length;return R?js(S,ye):[]}function ed(S,R){var pe=S==null?0:S.length;return pe?(R=R===y?1:rs(R),js(S,R)):[]}function td(S){for(var R=-1,pe=S==null?0:S.length,ot={};++R<pe;){var Yt=S[R];ot[Yt[0]]=Yt[1]}return ot}function yf(S){return S&&S.length?S[0]:y}function nd(S,R,pe){var ot=S==null?0:S.length;if(!ot)return-1;var Yt=pe==null?0:rs(pe);return Yt<0&&(Yt=gr(ot+Yt,0)),ur(S,R,Yt)}function rd(S){var R=S==null?0:S.length;return R?Er(S,0,-1):[]}var od=at(function(S){var R=It(S,ua);return R.length&&R[0]===S[0]?ac(R):[]}),zf=at(function(S){var R=Ou(S),pe=It(S,ua);return R===Ou(pe)?R=y:pe.pop(),pe.length&&pe[0]===S[0]?ac(pe,va(R,2)):[]}),$f=at(function(S){var R=Ou(S),pe=It(S,ua);return R=typeof R==\"function\"?R:y,R&&pe.pop(),pe.length&&pe[0]===S[0]?ac(pe,y,R):[]});function du(S,R){return S==null?\"\":On.call(S,R)}function Ou(S){var R=S==null?0:S.length;return R?S[R-1]:y}function Hf(S,R,pe){var ot=S==null?0:S.length;if(!ot)return-1;var Yt=ot;return pe!==y&&(Yt=rs(pe),Yt=Yt<0?gr(ot+Yt,0):Fr(Yt,ot-1)),R===R?Oa(S,R,Yt):nr(S,Ln,Yt,!0)}function id(S,R){return S&&S.length?Al(S,rs(R)):y}var ad=at(o);function o(S,R){return S&&S.length&&R&&R.length?su(S,R):S}function t(S,R,pe){return S&&S.length&&R&&R.length?su(S,R,va(pe,2)):S}function e(S,R,pe){return S&&S.length&&R&&R.length?su(S,R,y,pe):S}var n=Xu(function(S,R){var pe=S==null?0:S.length,ot=Xs(S,R);return $(S,It(R,function(Yt){return cu(Yt,pe)?+Yt:Yt}).sort(Xf)),ot});function i(S,R){var pe=[];if(!(S&&S.length))return pe;var ot=-1,Yt=[],Gn=S.length;for(R=va(R,3);++ot<Gn;){var _r=S[ot];R(_r,ot,S)&&(pe.push(_r),Yt.push(ot))}return $(S,Yt),pe}function d(S){return S==null?S:Ho.call(S)}function g(S,R,pe){var ot=S==null?0:S.length;return ot?(pe&&typeof pe!=\"number\"&&tu(S,R,pe)?(R=0,pe=ot):(R=R==null?0:rs(R),pe=pe===y?ot:rs(pe)),Er(S,R,pe)):[]}function _(S,R){return Yr(S,R)}function I(S,R,pe){return So(S,R,va(pe,2))}function D(S,R){var pe=S==null?0:S.length;if(pe){var ot=Yr(S,R);if(ot<pe&&fl(S[ot],R))return ot}return-1}function H(S,R){return Yr(S,R,!0)}function Z(S,R,pe){return So(S,R,va(pe,2),!0)}function te(S,R){var pe=S==null?0:S.length;if(pe){var ot=Yr(S,R,!0)-1;if(fl(S[ot],R))return ot}return-1}function de(S){return S&&S.length?Oo(S):[]}function Pe(S,R){return S&&S.length?Oo(S,va(R,2)):[]}function Ge(S){var R=S==null?0:S.length;return R?Er(S,1,R):[]}function Qe(S,R,pe){return S&&S.length?(R=pe||R===y?1:rs(R),Er(S,0,R<0?0:R)):[]}function Xe(S,R,pe){var ot=S==null?0:S.length;return ot?(R=pe||R===y?1:rs(R),R=ot-R,Er(S,R<0?0:R,ot)):[]}function yt(S,R){return S&&S.length?Ai(S,va(R,3),!1,!0):[]}function Ct(S,R){return S&&S.length?Ai(S,va(R,3)):[]}var on=at(function(S){return Io(js(S,1,lu,!0))}),sn=at(function(S){var R=Ou(S);return lu(R)&&(R=y),Io(js(S,1,lu,!0),va(R,2))}),Nn=at(function(S){var R=Ou(S);return R=typeof R==\"function\"?R:y,Io(js(S,1,lu,!0),y,R)});function Tn(S){return S&&S.length?Io(S):[]}function Bn(S,R){return S&&S.length?Io(S,va(R,2)):[]}function Hn(S,R){return R=typeof R==\"function\"?R:y,S&&S.length?Io(S,y,R):[]}function Sr(S){if(!(S&&S.length))return[];var R=0;return S=St(S,function(pe){if(lu(pe))return R=gr(pe.length,R),!0}),jo(R,function(pe){return It(S,En(pe))})}function Cr(S,R){if(!(S&&S.length))return[];var pe=Sr(S);return R==null?pe:It(pe,function(ot){return F(R,y,ot)})}var po=at(function(S,R){return lu(S)?Nc(S,R):[]}),wo=at(function(S){return Ri(St(S,lu))}),Po=at(function(S){var R=Ou(S);return lu(R)&&(R=y),Ri(St(S,lu),va(R,2))}),Xo=at(function(S){var R=Ou(S);return R=typeof R==\"function\"?R:y,Ri(St(S,lu),y,R)}),ri=at(Sr);function ki(S,R){return Ci(S||[],R||[],Ya)}function T(S,R){return Ci(S||[],R||[],Jt)}var B=at(function(S){var R=S.length,pe=R>1?S[R-1]:y;return pe=typeof pe==\"function\"?(S.pop(),pe):y,Cr(S,pe)});function K(S){var R=yn(S);return R.__chain__=!0,R}function Se(S,R){return R(S),S}function He(S,R){return R(S)}var Ye=Xu(function(S){var R=S.length,pe=R?S[0]:0,ot=this.__wrapped__,Yt=function(Gn){return Xs(Gn,S)};return R>1||this.__actions__.length||!(ot instanceof Wa)||!cu(pe)?this.thru(Yt):(ot=ot.slice(pe,+pe+(R?1:0)),ot.__actions__.push({func:He,args:[Yt],thisArg:y}),new gs(ot,this.__chain__).thru(function(Gn){return R&&!Gn.length&&Gn.push(y),Gn}))});function Et(){return K(this)}function bn(){return new gs(this.value(),this.__chain__)}function Qn(){this.__values__===y&&(this.__values__=wd(this.value()));var S=this.__index__>=this.__values__.length,R=S?y:this.__values__[this.__index__++];return{done:S,value:R}}function yr(){return this}function vr(S){for(var R,pe=this;pe instanceof ds;){var ot=Lf(pe);ot.__index__=0,ot.__values__=y,R?Yt.__wrapped__=ot:R=ot;var Yt=ot;pe=pe.__wrapped__}return Yt.__wrapped__=S,R}function no(){var S=this.__wrapped__;if(S instanceof Wa){var R=S;return this.__actions__.length&&(R=new Wa(this)),R=R.reverse(),R.__actions__.push({func:He,args:[d],thisArg:y}),new gs(R,this.__chain__)}return this.thru(d)}function Wo(){return ci(this.__wrapped__,this.__actions__)}var $o=Sc(function(S,R,pe){sa.call(S,pe)?++S[pe]:cs(S,pe,1)});function Lr(S,R,pe){var ot=es(S)?ke:dl;return pe&&tu(S,R,pe)&&(R=y),ot(S,va(R,3))}function co(S,R){var pe=es(S)?St:jc;return pe(S,va(R,3))}var Do=ql(vf),yi=ql(mf);function Fo(S,R){return js(fs(S,R),1)}function Bo(S,R){return js(fs(S,R),ye)}function Uo(S,R,pe){return pe=pe===y?1:rs(pe),js(fs(S,R),pe)}function Gi(S,R){var pe=es(S)?U:ju;return pe(S,va(R,3))}function Ni(S,R){var pe=es(S)?ge:Wu;return pe(S,va(R,3))}var Wi=Sc(function(S,R,pe){sa.call(S,pe)?S[pe].push(R):cs(S,pe,[R])});function ba(S,R,pe,ot){S=tc(S)?S:Ed(S),pe=pe&&!ot?rs(pe):0;var Yt=S.length;return pe<0&&(pe=gr(Yt+pe,0)),Uf(S)?pe<=Yt&&S.indexOf(R,pe)>-1:!!Yt&&ur(S,R,pe)>-1}var Ss=at(function(S,R,pe){var ot=-1,Yt=typeof R==\"function\",Gn=tc(S)?Br(S.length):[];return ju(S,function(_r){Gn[++ot]=Yt?F(R,_r,pe):sc(_r,R,pe)}),Gn}),Ra=Sc(function(S,R,pe){cs(S,pe,R)});function fs(S,R){var pe=es(S)?It:il;return pe(S,va(R,3))}function ns(S,R,pe,ot){return S==null?[]:(es(R)||(R=R==null?[]:[R]),pe=ot?y:pe,es(pe)||(pe=pe==null?[]:[pe]),sl(S,R,pe))}var hs=Sc(function(S,R,pe){S[pe?0:1].push(R)},function(){return[[],[]]});function Is(S,R,pe){var ot=es(S)?Vt:cr,Yt=arguments.length<3;return ot(S,va(R,4),pe,Yt,ju)}function hu(S,R,pe){var ot=es(S)?Pn:cr,Yt=arguments.length<3;return ot(S,va(R,4),pe,Yt,Wu)}function Es(S,R){var pe=es(S)?St:jc;return pe(S,wf(va(R,3)))}function ku(S){var R=es(S)?ms:Nt;return R(S)}function Uc(S,R,pe){(pe?tu(S,R,pe):R===y)?R=1:R=rs(R);var ot=es(S)?Ps:Tt;return ot(S,R)}function Vc(S){var R=es(S)?fu:mr;return R(S)}function sd(S){if(S==null)return 0;if(tc(S))return Uf(S)?Ma(S):S.length;var R=Us(S);return R==et||R==rn?S.size:xc(S).length}function pc(S,R,pe){var ot=es(S)?Jn:Zr;return pe&&tu(S,R,pe)&&(R=y),ot(S,va(R,3))}var md=at(function(S,R){if(S==null)return[];var pe=R.length;return pe>1&&tu(S,R[0],R[1])?R=[]:pe>2&&tu(R[0],R[1],R[2])&&(R=[R[0]]),sl(S,js(R,1),[])}),Gf=G||function(){return Pr.Date.now()};function Od(S,R){if(typeof R!=\"function\")throw new Qa(O);return S=rs(S),function(){if(--S<1)return R.apply(this,arguments)}}function bf(S,R,pe){return R=pe?y:R,R=S&&R==null?S.length:R,qu(S,q,y,y,y,y,R)}function Cc(S,R){var pe;if(typeof R!=\"function\")throw new Qa(O);return S=rs(S),function(){return--S>0&&(pe=R.apply(this,arguments)),S<=1&&(R=y),pe}}var Fl=at(function(S,R,pe){var ot=x;if(pe.length){var Yt=na(pe,Oc(Fl));ot|=A}return qu(S,ot,R,pe,Yt)}),ks=at(function(S,R,pe){var ot=x|M;if(pe.length){var Yt=na(pe,Oc(ks));ot|=A}return qu(R,ot,S,pe,Yt)});function Qs(S,R,pe){R=pe?y:R;var ot=qu(S,j,y,y,y,y,y,R);return ot.placeholder=Qs.placeholder,ot}function Gu(S,R,pe){R=pe?y:R;var ot=qu(S,L,y,y,y,y,y,R);return ot.placeholder=Gu.placeholder,ot}function zu(S,R,pe){var ot,Yt,Gn,_r,$r,so,li=0,fi=!1,Ei=!1,Qi=!0;if(typeof S!=\"function\")throw new Qa(O);R=_c(R)||0,nu(pe)&&(fi=!!pe.leading,Ei=\"maxWait\"in pe,Gn=Ei?gr(_c(pe.maxWait)||0,R):Gn,Qi=\"trailing\"in pe?!!pe.trailing:Qi);function ya(_u){var Cl=ot,Of=Yt;return ot=Yt=y,li=_u,_r=S.apply(Of,Cl),_r}function Ha(_u){return li=_u,$r=wl(bs,R),fi?ya(_u):_r}function ps(_u){var Cl=_u-so,Of=_u-li,Fh=R-Cl;return Ei?Fr(Fh,Gn-Of):Fh}function Ga(_u){var Cl=_u-so,Of=_u-li;return so===y||Cl>=R||Cl<0||Ei&&Of>=Gn}function bs(){var _u=Gf();if(Ga(_u))return Os(_u);$r=wl(bs,ps(_u))}function Os(_u){return $r=y,Qi&&ot?ya(_u):(ot=Yt=y,_r)}function Zc(){$r!==y&&ka($r),li=0,ot=so=Yt=$r=y}function mc(){return $r===y?_r:Os(Gf())}function Xc(){var _u=Gf(),Cl=Ga(_u);if(ot=arguments,Yt=this,so=_u,Cl){if($r===y)return Ha(so);if(Ei)return ka($r),$r=wl(bs,R),ya(so)}return $r===y&&($r=wl(bs,R)),_r}return Xc.cancel=Zc,Xc.flush=mc,Xc}var Cd=at(function(S,R){return _l(S,1,R)}),yd=at(function(S,R,pe){return _l(S,_c(R)||0,pe)});function Wf(S){return qu(S,me)}function xf(S,R){if(typeof S!=\"function\"||R!=null&&typeof R!=\"function\")throw new Qa(O);var pe=function(){var ot=arguments,Yt=R?R.apply(this,ot):ot[0],Gn=pe.cache;if(Gn.has(Yt))return Gn.get(Yt);var _r=S.apply(this,ot);return pe.cache=Gn.set(Yt,_r)||Gn,_r};return pe.cache=new(xf.Cache||vu),pe}xf.Cache=vu;function wf(S){if(typeof S!=\"function\")throw new Qa(O);return function(){var R=arguments;switch(R.length){case 0:return!S.call(this);case 1:return!S.call(this,R[0]);case 2:return!S.call(this,R[0],R[1]);case 3:return!S.call(this,R[0],R[1],R[2])}return!S.apply(this,R)}}function bd(S){return Cc(2,S)}var Ud=as(function(S,R){R=R.length==1&&es(R[0])?It(R[0],ho(va())):It(js(R,1),ho(va()));var pe=R.length;return at(function(ot){for(var Yt=-1,Gn=Fr(ot.length,pe);++Yt<Gn;)ot[Yt]=R[Yt].call(this,ot[Yt]);return F(S,this,ot)})}),_d=at(function(S,R){var pe=na(R,Oc(_d));return qu(S,A,y,R,pe)}),Md=at(function(S,R){var pe=na(R,Oc(Md));return qu(S,J,y,R,pe)}),Vd=Xu(function(S,R){return qu(S,re,y,y,y,R)});function Zd(S,R){if(typeof S!=\"function\")throw new Qa(O);return R=R===y?R:rs(R),at(S,R)}function Bd(S,R){if(typeof S!=\"function\")throw new Qa(O);return R=R==null?0:gr(rs(R),0),at(function(pe){var ot=pe[R],Yt=ts(pe,0,R);return ot&&jt(Yt,ot),F(S,this,Yt)})}function Xd(S,R,pe){var ot=!0,Yt=!0;if(typeof S!=\"function\")throw new Qa(O);return nu(pe)&&(ot=\"leading\"in pe?!!pe.leading:ot,Yt=\"trailing\"in pe?!!pe.trailing:Yt),zu(S,R,{leading:ot,maxWait:R,trailing:Yt})}function Yd(S){return bf(S,1)}function Ad(S,R){return _d(da(R),S)}function Th(){if(!arguments.length)return[];var S=arguments[0];return es(S)?S:[S]}function Kd(S){return bu(S,l)}function qd(S,R){return R=typeof R==\"function\"?R:y,bu(S,l,R)}function Qd(S){return bu(S,f|l)}function Jd(S,R){return R=typeof R==\"function\"?R:y,bu(S,f|l,R)}function Td(S,R){return R==null||Qc(S,R,oi(R))}function fl(S,R){return S===R||S!==S&&R!==R}var eh=Ds(Tu),th=Ds(function(S,R){return S>=R}),El=tl(function(){return arguments}())?tl:function(S){return au(S)&&sa.call(S,\"callee\")&&!vs.call(S,\"callee\")},es=Br.isArray,nh=jn?ho(jn):nl;function tc(S){return S!=null&&ud(S.length)&&!Ol(S)}function lu(S){return au(S)&&tc(S)}function Pd(S){return S===!0||S===!1||au(S)&&is(S)==_e}var Sf=$t||Ah,rh=W?ho(W):Vu;function Ph(S){return au(S)&&S.nodeType===1&&!cd(S)}function oh(S){if(S==null)return!0;if(tc(S)&&(es(S)||typeof S==\"string\"||typeof S.splice==\"function\"||Sf(S)||Vf(S)||El(S)))return!S.length;var R=Us(S);if(R==et||R==rn)return!S.size;if(Gc(S))return!xc(S).length;for(var pe in S)if(sa.call(S,pe))return!1;return!0}function ih(S,R){return Lc(S,R)}function ah(S,R,pe){pe=typeof pe==\"function\"?pe:y;var ot=pe?pe(S,R):y;return ot===y?Lc(S,R,y,pe):!!ot}function Id(S){if(!au(S))return!1;var R=is(S);return R==we||R==We||typeof S.message==\"string\"&&typeof S.name==\"string\"&&!cd(S)}function sh(S){return typeof S==\"number\"&&wn(S)}function Ol(S){if(!nu(S))return!1;var R=is(S);return R==Ze||R==Ve||R==fe||R==Lt}function Fd(S){return typeof S==\"number\"&&S==rs(S)}function ud(S){return typeof S==\"number\"&&S>-1&&S%1==0&&S<=Oe}function nu(S){var R=typeof S;return S!=null&&(R==\"object\"||R==\"function\")}function au(S){return S!=null&&typeof S==\"object\"}var zd=P?ho(P):Ul;function uh(S,R){return S===R||uc(S,R,Hu(R))}function ch(S,R,pe){return pe=typeof pe==\"function\"?pe:y,uc(S,R,Hu(R),pe)}function lh(S){return $d(S)&&S!=+S}function kd(S){if(fd(S))throw new Di(w);return rl(S)}function Ih(S){return S===null}function fh(S){return S==null}function $d(S){return typeof S==\"number\"||au(S)&&is(S)==ht}function cd(S){if(!au(S)||is(S)!=mt)return!1;var R=xs(S);if(R===null)return!0;var pe=sa.call(R,\"constructor\")&&R.constructor;return typeof pe==\"function\"&&pe instanceof pe&&ys.call(pe)==oa}var xd=k?ho(k):ol;function dh(S){return Fd(S)&&S>=-Oe&&S<=Oe}var Hd=z?ho(z):ta;function Uf(S){return typeof S==\"string\"||!es(S)&&au(S)&&is(S)==qt}function gc(S){return typeof S==\"symbol\"||au(S)&&is(S)==hn}var Vf=Q?ho(Q):pl;function ld(S){return S===y}function hh(S){return au(S)&&Us(S)==an}function ph(S){return au(S)&&is(S)==In}var gh=Ds(Fc),vh=Ds(function(S,R){return S<=R});function wd(S){if(!S)return[];if(tc(S))return Uf(S)?Ka(S):iu(S);if(Ja&&S[Ja])return Yi(S[Ja]());var R=Us(S),pe=R==et?Ii:R==rn?$i:Ed;return pe(S)}function zl(S){if(!S)return S===0?S:0;if(S=_c(S),S===ye||S===-ye){var R=S<0?-1:1;return R*Ce}return S===S?S:0}function rs(S){var R=zl(S),pe=R%1;return R===R?pe?R-pe:R:0}function Gd(S){return S?yu(rs(S),0,he):0}function _c(S){if(typeof S==\"number\")return S;if(gc(S))return oe;if(nu(S)){var R=typeof S.valueOf==\"function\"?S.valueOf():S;S=nu(R)?R+\"\":R}if(typeof S!=\"string\")return S===0?S:+S;S=Vr(S);var pe=eo.test(S);return pe||Ti.test(S)?dr(S.slice(2),pe?2:8):yo.test(S)?oe:+S}function Wd(S){return lc(S,bi(S))}function mh(S){return S?yu(rs(S),-Oe,Oe):S===0?S:0}function _s(S){return S==null?\"\":lo(S)}var kh=ul(function(S,R){if(Gc(R)||tc(R)){lc(R,oi(R),S);return}for(var pe in R)sa.call(R,pe)&&Ya(S,pe,R[pe])}),Sd=ul(function(S,R){lc(R,bi(R),S)}),Nd=ul(function(S,R,pe,ot){lc(R,bi(R),S,ot)}),jd=ul(function(S,R,pe,ot){lc(R,oi(R),S,ot)}),yh=Xu(Xs);function Dd(S,R){var pe=zs(S);return R==null?pe:mu(pe,R)}var bh=at(function(S,R){S=Fa(S);var pe=-1,ot=R.length,Yt=ot>2?R[2]:y;for(Yt&&tu(R[0],R[1],Yt)&&(ot=1);++pe<ot;)for(var Gn=R[pe],_r=bi(Gn),$r=-1,so=_r.length;++$r<so;){var li=_r[$r],fi=S[li];(fi===y||fl(fi,$a[li])&&!sa.call(S,li))&&(S[li]=Gn[li])}return S}),xh=at(function(S){return S.push(y,nf),F(za,y,S)});function wh(S,R){return ir(S,va(R,3),Ys)}function Rd(S,R){return ir(S,va(R,3),Uu)}function Nh(S,R){return S==null?S:xu(S,va(R,3),bi)}function ue(S,R){return S==null?S:wu(S,va(R,3),bi)}function Y(S,R){return S&&Ys(S,va(R,3))}function Ne(S,R){return S&&Uu(S,va(R,3))}function qe(S){return S==null?[]:Dc(S,oi(S))}function vt(S){return S==null?[]:Dc(S,bi(S))}function Sn(S,R,pe){var ot=S==null?y:ic(S,R);return ot===y?pe:ot}function or(S,R){return S!=null&&Nl(S,R,Pu)}function Or(S,R){return S!=null&&Nl(S,R,Jc)}var Hr=Lu(function(S,R,pe){R!=null&&typeof R.toString!=\"function\"&&(R=As.call(R)),S[R]=pe},Eh(Mc)),ro=Lu(function(S,R,pe){R!=null&&typeof R.toString!=\"function\"&&(R=As.call(R)),sa.call(S,R)?S[R].push(pe):S[R]=[pe]},va),zo=at(sc);function oi(S){return tc(S)?ja(S):xc(S)}function bi(S){return tc(S)?ja(S,!0):$u(S)}function ji(S,R){var pe={};return R=va(R,3),Ys(S,function(ot,Yt,Gn){cs(pe,R(ot,Yt,Gn),ot)}),pe}function ma(S,R){var pe={};return R=va(R,3),Ys(S,function(ot,Yt,Gn){cs(pe,Yt,R(ot,Yt,Gn))}),pe}var Ea=ul(function(S,R,pe){cc(S,R,pe)}),za=ul(function(S,R,pe,ot){cc(S,R,pe,ot)}),Vs=Xu(function(S,R){var pe={};if(S==null)return pe;var ot=!1;R=It(R,function(Gn){return Gn=Da(Gn,S),ot||(ot=Gn.length>1),Gn}),lc(S,Il(S),pe),ot&&(pe=bu(pe,f|h|l,Zu));for(var Yt=R.length;Yt--;)Zo(pe,R[Yt]);return pe});function vc(S,R){return nc(S,wf(va(R)))}var Ef=Xu(function(S,R){return S==null?{}:Vl(S,R)});function nc(S,R){if(S==null)return{};var pe=It(Il(S),function(ot){return[ot]});return R=va(R),ou(S,pe,function(ot,Yt){return R(ot,Yt[0])})}function $l(S,R,pe){R=Da(R,S);var ot=-1,Yt=R.length;for(Yt||(Yt=1,S=y);++ot<Yt;){var Gn=S==null?y:S[ec(R[ot])];Gn===y&&(ot=Yt,Gn=pe),S=Ol(Gn)?Gn.call(S):Gn}return S}function Cu(S,R,pe){return S==null?S:Jt(S,R,pe)}function Hl(S,R,pe,ot){return ot=typeof ot==\"function\"?ot:y,S==null?S:Jt(S,R,pe,ot)}var Zf=Bu(oi),Ld=Bu(bi);function Hh(S,R,pe){var ot=es(S),Yt=ot||Sf(S)||Vf(S);if(R=va(R,4),pe==null){var Gn=S&&S.constructor;Yt?pe=ot?new Gn:[]:nu(S)?pe=Ol(Gn)?zs(xs(S)):{}:pe={}}return(Yt?U:Ys)(S,function(_r,$r,so){return R(pe,_r,$r,so)}),pe}function Gh(S,R){return S==null?!0:Zo(S,R)}function Wh(S,R,pe){return S==null?S:xi(S,R,da(pe))}function Uh(S,R,pe,ot){return ot=typeof ot==\"function\"?ot:y,S==null?S:xi(S,R,da(pe),ot)}function Ed(S){return S==null?[]:vo(S,oi(S))}function Vh(S){return S==null?[]:vo(S,bi(S))}function Zh(S,R,pe){return pe===y&&(pe=R,R=y),pe!==y&&(pe=_c(pe),pe=pe===pe?pe:0),R!==y&&(R=_c(R),R=R===R?R:0),yu(_c(S),R,pe)}function Xh(S,R,pe){return R=zl(R),pe===y?(pe=R,R=0):pe=zl(pe),S=_c(S),Gl(S,R,pe)}function Yh(S,R,pe){if(pe&&typeof pe!=\"boolean\"&&tu(S,R,pe)&&(R=pe=y),pe===y&&(typeof R==\"boolean\"?(pe=R,R=y):typeof S==\"boolean\"&&(pe=S,S=y)),S===y&&R===y?(S=0,R=1):(S=zl(S),R===y?(R=S,S=0):R=zl(R)),S>R){var ot=S;S=R,R=ot}if(pe||S%1||R%1){var Yt=mo();return Fr(S+Yt*(R-S+Dn(\"1e-\"+((Yt+\"\").length-1))),R)}return ne(S,R)}var Kh=$c(function(S,R,pe){return R=R.toLowerCase(),S+(pe?jh(R):R)});function jh(S){return Sh(_s(S).toLowerCase())}function Dh(S){return S=_s(S),S&&S.replace(mi,Vi).replace(Lo,\"\")}function qh(S,R,pe){S=_s(S),R=lo(R);var ot=S.length;pe=pe===y?ot:yu(rs(pe),0,ot);var Yt=pe;return pe-=R.length,pe>=0&&S.slice(pe,Yt)==R}function Qh(S){return S=_s(S),S&&gn.test(S)?S.replace(ko,ha):S}function Jh(S){return S=_s(S),S&&Xn.test(S)?S.replace(Dt,\"\\\\$&\"):S}var ep=$c(function(S,R,pe){return S+(pe?\"-\":\"\")+R.toLowerCase()}),tp=$c(function(S,R,pe){return S+(pe?\" \":\"\")+R.toLowerCase()}),np=Ec(\"toLowerCase\");function rp(S,R,pe){S=_s(S),R=rs(R);var ot=R?Ma(S):0;if(!R||ot>=R)return S;var Yt=(R-ot)/2;return vl(_t(Yt),pe)+S+vl(ut(Yt),pe)}function op(S,R,pe){S=_s(S),R=rs(R);var ot=R?Ma(S):0;return R&&ot<R?S+vl(R-ot,pe):S}function ip(S,R,pe){S=_s(S),R=rs(R);var ot=R?Ma(S):0;return R&&ot<R?vl(R-ot,pe)+S:S}function ap(S,R,pe){return pe||R==null?R=0:R&&(R=+R),qr(_s(S).replace(Rn,\"\"),R||0)}function sp(S,R,pe){return(pe?tu(S,R,pe):R===y)?R=1:R=rs(R),tt(_s(S),R)}function up(){var S=arguments,R=_s(S[0]);return S.length<3?R:R.replace(S[1],S[2])}var cp=$c(function(S,R,pe){return S+(pe?\"_\":\"\")+R.toLowerCase()});function lp(S,R,pe){return pe&&typeof pe!=\"number\"&&tu(S,R,pe)&&(R=pe=y),pe=pe===y?he:pe>>>0,pe?(S=_s(S),S&&(typeof R==\"string\"||R!=null&&!xd(R))&&(R=lo(R),!R&&Jo(S))?ts(Ka(S),0,pe):S.split(R,pe)):[]}var fp=$c(function(S,R,pe){return S+(pe?\" \":\"\")+Sh(R)});function dp(S,R,pe){return S=_s(S),pe=pe==null?0:yu(rs(pe),0,S.length),R=lo(R),S.slice(pe,pe+R.length)==R}function hp(S,R,pe){var ot=yn.templateSettings;pe&&tu(S,R,pe)&&(R=y),S=_s(S),R=Nd({},R,ot,Af);var Yt=Nd({},R.imports,ot.imports,Af),Gn=oi(Yt),_r=vo(Yt,Gn),$r,so,li=0,fi=R.interpolate||Zi,Ei=\"__p += '\",Qi=Bs((R.escape||Zi).source+\"|\"+fi.source+\"|\"+(fi===Zt?xr:Zi).source+\"|\"+(R.evaluate||Zi).source+\"|$\",\"g\"),ya=\"//# sourceURL=\"+(sa.call(R,\"sourceURL\")?(R.sourceURL+\"\").replace(/\\s/g,\" \"):\"lodash.templateSources[\"+ ++fr+\"]\")+`\n`;S.replace(Qi,function(Ga,bs,Os,Zc,mc,Xc){return Os||(Os=Zc),Ei+=S.slice(li,Xc).replace(aa,xa),bs&&($r=!0,Ei+=`' +\n__e(`+bs+`) +\n'`),mc&&(so=!0,Ei+=`';\n`+mc+`;\n__p += '`),Os&&(Ei+=`' +\n((__t = (`+Os+`)) == null ? '' : __t) +\n'`),li=Xc+Ga.length,Ga}),Ei+=`';\n`;var Ha=sa.call(R,\"variable\")&&R.variable;if(!Ha)Ei=`with (obj) {\n`+Ei+`\n}\n`;else if(er.test(Ha))throw new Di(b);Ei=(so?Ei.replace(zr,\"\"):Ei).replace(Wr,\"$1\").replace(Nr,\"$1;\"),Ei=\"function(\"+(Ha||\"obj\")+`) {\n`+(Ha?\"\":`obj || (obj = {});\n`)+\"var __t, __p = ''\"+($r?\", __e = _.escape\":\"\")+(so?`, __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n`:`;\n`)+Ei+`return __p\n}`;var ps=Lh(function(){return Aa(Gn,ya+\"return \"+Ei).apply(y,_r)});if(ps.source=Ei,Id(ps))throw ps;return ps}function pp(S){return _s(S).toLowerCase()}function gp(S){return _s(S).toUpperCase()}function vp(S,R,pe){if(S=_s(S),S&&(pe||R===y))return Vr(S);if(!S||!(R=lo(R)))return S;var ot=Ka(S),Yt=Ka(R),Gn=Go(ot,Yt),_r=Pi(ot,Yt)+1;return ts(ot,Gn,_r).join(\"\")}function mp(S,R,pe){if(S=_s(S),S&&(pe||R===y))return S.slice(0,Ba(S)+1);if(!S||!(R=lo(R)))return S;var ot=Ka(S),Yt=Pi(ot,Ka(R))+1;return ts(ot,0,Yt).join(\"\")}function yp(S,R,pe){if(S=_s(S),S&&(pe||R===y))return S.replace(Rn,\"\");if(!S||!(R=lo(R)))return S;var ot=Ka(S),Yt=Go(ot,Ka(R));return ts(ot,Yt).join(\"\")}function bp(S,R){var pe=Te,ot=ee;if(nu(R)){var Yt=\"separator\"in R?R.separator:Yt;pe=\"length\"in R?rs(R.length):pe,ot=\"omission\"in R?lo(R.omission):ot}S=_s(S);var Gn=S.length;if(Jo(S)){var _r=Ka(S);Gn=_r.length}if(pe>=Gn)return S;var $r=pe-Ma(ot);if($r<1)return ot;var so=_r?ts(_r,0,$r).join(\"\"):S.slice(0,$r);if(Yt===y)return so+ot;if(_r&&($r+=so.length-$r),xd(Yt)){if(S.slice($r).search(Yt)){var li,fi=so;for(Yt.global||(Yt=Bs(Yt.source,_s(jr.exec(Yt))+\"g\")),Yt.lastIndex=0;li=Yt.exec(fi);)var Ei=li.index;so=so.slice(0,Ei===y?$r:Ei)}}else if(S.indexOf(lo(Yt),$r)!=$r){var Qi=so.lastIndexOf(Yt);Qi>-1&&(so=so.slice(0,Qi))}return so+ot}function xp(S){return S=_s(S),S&&Ur.test(S)?S.replace(Kr,Ua):S}var wp=$c(function(S,R,pe){return S+(pe?\" \":\"\")+R.toUpperCase()}),Sh=Ec(\"toUpperCase\");function Rh(S,R,pe){return S=_s(S),R=pe?y:R,R===y?Ji(S)?Qo(S):zt(S):S.match(R)||[]}var Lh=at(function(S,R){try{return F(S,y,R)}catch(pe){return Id(pe)?pe:new Di(pe)}}),Sp=Xu(function(S,R){return U(R,function(pe){pe=ec(pe),cs(S,pe,Fl(S[pe],S))}),S});function Ep(S){var R=S==null?0:S.length,pe=va();return S=R?It(S,function(ot){if(typeof ot[1]!=\"function\")throw new Qa(O);return[pe(ot[0]),ot[1]]}):[],at(function(ot){for(var Yt=-1;++Yt<R;){var Gn=S[Yt];if(F(Gn[0],this,ot))return F(Gn[1],this,ot)}})}function Op(S){return Ku(bu(S,f))}function Eh(S){return function(){return S}}function Cp(S,R){return S==null||S!==S?R:S}var _p=Ql(),Mp=Ql(!0);function Mc(S){return S}function Oh(S){return Bc(typeof S==\"function\"?S:bu(S,f))}function Ap(S){return al(bu(S,f))}function Tp(S,R){return zc(S,bu(R,f))}var Pp=at(function(S,R){return function(pe){return sc(pe,S,R)}}),Ip=at(function(S,R){return function(pe){return sc(S,pe,R)}});function Ch(S,R,pe){var ot=oi(R),Yt=Dc(R,ot);pe==null&&!(nu(R)&&(Yt.length||!ot.length))&&(pe=R,R=S,S=this,Yt=Dc(R,oi(R)));var Gn=!(nu(pe)&&\"chain\"in pe)||!!pe.chain,_r=Ol(S);return U(Yt,function($r){var so=R[$r];S[$r]=so,_r&&(S.prototype[$r]=function(){var li=this.__chain__;if(Gn||li){var fi=S(this.__wrapped__),Ei=fi.__actions__=iu(this.__actions__);return Ei.push({func:so,args:arguments,thisArg:S}),fi.__chain__=li,fi}return so.apply(S,jt([this.value()],arguments))})}),S}function kp(){return Pr._===this&&(Pr._=di),this}function _h(){}function Np(S){return S=rs(S),at(function(R){return Al(R,S)})}var jp=Jl(It),Dp=Jl(ke),Rp=Jl(Jn);function Bh(S){return uf(S)?En(ec(S)):Zl(S)}function Lp(S){return function(R){return S==null?y:ic(S,R)}}var Bp=Mf(),Fp=Mf(!0);function Mh(){return[]}function Ah(){return!1}function zp(){return{}}function $p(){return\"\"}function Hp(){return!0}function Gp(S,R){if(S=rs(S),S<1||S>Oe)return[];var pe=he,ot=Fr(S,he);R=va(R),S-=he;for(var Yt=jo(ot,R);++pe<S;)R(pe);return Yt}function Wp(S){return es(S)?It(S,ec):gc(S)?[S]:iu(hf(_s(S)))}function Up(S){var R=++Xa;return _s(S)+R}var Vp=Tl(function(S,R){return S+R},0),Zp=Pl(\"ceil\"),Xp=Tl(function(S,R){return S/R},1),Yp=Pl(\"floor\");function Kp(S){return S&&S.length?Du(S,Mc,Tu):y}function qp(S,R){return S&&S.length?Du(S,va(R,2),Tu):y}function Qp(S){return Bt(S,Mc)}function Jp(S,R){return Bt(S,va(R,2))}function eg(S){return S&&S.length?Du(S,Mc,Fc):y}function tg(S,R){return S&&S.length?Du(S,va(R,2),Fc):y}var ng=Tl(function(S,R){return S*R},1),rg=Pl(\"round\"),og=Tl(function(S,R){return S-R},0);function ig(S){return S&&S.length?kr(S,Mc):0}function ag(S,R){return S&&S.length?kr(S,va(R,2)):0}return yn.after=Od,yn.ary=bf,yn.assign=kh,yn.assignIn=Sd,yn.assignInWith=Nd,yn.assignWith=jd,yn.at=yh,yn.before=Cc,yn.bind=Fl,yn.bindAll=Sp,yn.bindKey=ks,yn.castArray=Th,yn.chain=K,yn.chunk=Eu,yn.compact=ll,yn.concat=Sl,yn.cond=Ep,yn.conforms=Op,yn.constant=Eh,yn.countBy=$o,yn.create=Dd,yn.curry=Qs,yn.curryRight=Gu,yn.debounce=zu,yn.defaults=bh,yn.defaultsDeep=xh,yn.defer=Cd,yn.delay=yd,yn.difference=hd,yn.differenceBy=pf,yn.differenceWith=Bf,yn.drop=Bl,yn.dropRight=Jf,yn.dropRightWhile=gf,yn.dropWhile=pd,yn.fill=gd,yn.filter=co,yn.flatMap=Fo,yn.flatMapDeep=Bo,yn.flatMapDepth=Uo,yn.flatten=Ff,yn.flattenDeep=vd,yn.flattenDepth=ed,yn.flip=Wf,yn.flow=_p,yn.flowRight=Mp,yn.fromPairs=td,yn.functions=qe,yn.functionsIn=vt,yn.groupBy=Wi,yn.initial=rd,yn.intersection=od,yn.intersectionBy=zf,yn.intersectionWith=$f,yn.invert=Hr,yn.invertBy=ro,yn.invokeMap=Ss,yn.iteratee=Oh,yn.keyBy=Ra,yn.keys=oi,yn.keysIn=bi,yn.map=fs,yn.mapKeys=ji,yn.mapValues=ma,yn.matches=Ap,yn.matchesProperty=Tp,yn.memoize=xf,yn.merge=Ea,yn.mergeWith=za,yn.method=Pp,yn.methodOf=Ip,yn.mixin=Ch,yn.negate=wf,yn.nthArg=Np,yn.omit=Vs,yn.omitBy=vc,yn.once=bd,yn.orderBy=ns,yn.over=jp,yn.overArgs=Ud,yn.overEvery=Dp,yn.overSome=Rp,yn.partial=_d,yn.partialRight=Md,yn.partition=hs,yn.pick=Ef,yn.pickBy=nc,yn.property=Bh,yn.propertyOf=Lp,yn.pull=ad,yn.pullAll=o,yn.pullAllBy=t,yn.pullAllWith=e,yn.pullAt=n,yn.range=Bp,yn.rangeRight=Fp,yn.rearg=Vd,yn.reject=Es,yn.remove=i,yn.rest=Zd,yn.reverse=d,yn.sampleSize=Uc,yn.set=Cu,yn.setWith=Hl,yn.shuffle=Vc,yn.slice=g,yn.sortBy=md,yn.sortedUniq=de,yn.sortedUniqBy=Pe,yn.split=lp,yn.spread=Bd,yn.tail=Ge,yn.take=Qe,yn.takeRight=Xe,yn.takeRightWhile=yt,yn.takeWhile=Ct,yn.tap=Se,yn.throttle=Xd,yn.thru=He,yn.toArray=wd,yn.toPairs=Zf,yn.toPairsIn=Ld,yn.toPath=Wp,yn.toPlainObject=Wd,yn.transform=Hh,yn.unary=Yd,yn.union=on,yn.unionBy=sn,yn.unionWith=Nn,yn.uniq=Tn,yn.uniqBy=Bn,yn.uniqWith=Hn,yn.unset=Gh,yn.unzip=Sr,yn.unzipWith=Cr,yn.update=Wh,yn.updateWith=Uh,yn.values=Ed,yn.valuesIn=Vh,yn.without=po,yn.words=Rh,yn.wrap=Ad,yn.xor=wo,yn.xorBy=Po,yn.xorWith=Xo,yn.zip=ri,yn.zipObject=ki,yn.zipObjectDeep=T,yn.zipWith=B,yn.entries=Zf,yn.entriesIn=Ld,yn.extend=Sd,yn.extendWith=Nd,Ch(yn,yn),yn.add=Vp,yn.attempt=Lh,yn.camelCase=Kh,yn.capitalize=jh,yn.ceil=Zp,yn.clamp=Zh,yn.clone=Kd,yn.cloneDeep=Qd,yn.cloneDeepWith=Jd,yn.cloneWith=qd,yn.conformsTo=Td,yn.deburr=Dh,yn.defaultTo=Cp,yn.divide=Xp,yn.endsWith=qh,yn.eq=fl,yn.escape=Qh,yn.escapeRegExp=Jh,yn.every=Lr,yn.find=Do,yn.findIndex=vf,yn.findKey=wh,yn.findLast=yi,yn.findLastIndex=mf,yn.findLastKey=Rd,yn.floor=Yp,yn.forEach=Gi,yn.forEachRight=Ni,yn.forIn=Nh,yn.forInRight=ue,yn.forOwn=Y,yn.forOwnRight=Ne,yn.get=Sn,yn.gt=eh,yn.gte=th,yn.has=or,yn.hasIn=Or,yn.head=yf,yn.identity=Mc,yn.includes=ba,yn.indexOf=nd,yn.inRange=Xh,yn.invoke=zo,yn.isArguments=El,yn.isArray=es,yn.isArrayBuffer=nh,yn.isArrayLike=tc,yn.isArrayLikeObject=lu,yn.isBoolean=Pd,yn.isBuffer=Sf,yn.isDate=rh,yn.isElement=Ph,yn.isEmpty=oh,yn.isEqual=ih,yn.isEqualWith=ah,yn.isError=Id,yn.isFinite=sh,yn.isFunction=Ol,yn.isInteger=Fd,yn.isLength=ud,yn.isMap=zd,yn.isMatch=uh,yn.isMatchWith=ch,yn.isNaN=lh,yn.isNative=kd,yn.isNil=fh,yn.isNull=Ih,yn.isNumber=$d,yn.isObject=nu,yn.isObjectLike=au,yn.isPlainObject=cd,yn.isRegExp=xd,yn.isSafeInteger=dh,yn.isSet=Hd,yn.isString=Uf,yn.isSymbol=gc,yn.isTypedArray=Vf,yn.isUndefined=ld,yn.isWeakMap=hh,yn.isWeakSet=ph,yn.join=du,yn.kebabCase=ep,yn.last=Ou,yn.lastIndexOf=Hf,yn.lowerCase=tp,yn.lowerFirst=np,yn.lt=gh,yn.lte=vh,yn.max=Kp,yn.maxBy=qp,yn.mean=Qp,yn.meanBy=Jp,yn.min=eg,yn.minBy=tg,yn.stubArray=Mh,yn.stubFalse=Ah,yn.stubObject=zp,yn.stubString=$p,yn.stubTrue=Hp,yn.multiply=ng,yn.nth=id,yn.noConflict=kp,yn.noop=_h,yn.now=Gf,yn.pad=rp,yn.padEnd=op,yn.padStart=ip,yn.parseInt=ap,yn.random=Yh,yn.reduce=Is,yn.reduceRight=hu,yn.repeat=sp,yn.replace=up,yn.result=$l,yn.round=rg,yn.runInContext=rr,yn.sample=ku,yn.size=sd,yn.snakeCase=cp,yn.some=pc,yn.sortedIndex=_,yn.sortedIndexBy=I,yn.sortedIndexOf=D,yn.sortedLastIndex=H,yn.sortedLastIndexBy=Z,yn.sortedLastIndexOf=te,yn.startCase=fp,yn.startsWith=dp,yn.subtract=og,yn.sum=ig,yn.sumBy=ag,yn.template=hp,yn.times=Gp,yn.toFinite=zl,yn.toInteger=rs,yn.toLength=Gd,yn.toLower=pp,yn.toNumber=_c,yn.toSafeInteger=mh,yn.toString=_s,yn.toUpper=gp,yn.trim=vp,yn.trimEnd=mp,yn.trimStart=yp,yn.truncate=bp,yn.unescape=xp,yn.uniqueId=Up,yn.upperCase=wp,yn.upperFirst=Sh,yn.each=Gi,yn.eachRight=Ni,yn.first=yf,Ch(yn,function(){var S={};return Ys(yn,function(R,pe){sa.call(yn.prototype,pe)||(S[pe]=R)}),S}(),{chain:!1}),yn.VERSION=N,U([\"bind\",\"bindKey\",\"curry\",\"curryRight\",\"partial\",\"partialRight\"],function(S){yn[S].placeholder=yn}),U([\"drop\",\"take\"],function(S,R){Wa.prototype[S]=function(pe){pe=pe===y?1:gr(rs(pe),0);var ot=this.__filtered__&&!R?new Wa(this):this.clone();return ot.__filtered__?ot.__takeCount__=Fr(pe,ot.__takeCount__):ot.__views__.push({size:Fr(pe,he),type:S+(ot.__dir__<0?\"Right\":\"\")}),ot},Wa.prototype[S+\"Right\"]=function(pe){return this.reverse()[S](pe).reverse()}}),U([\"filter\",\"map\",\"takeWhile\"],function(S,R){var pe=R+1,ot=pe==Le||pe==ce;Wa.prototype[S]=function(Yt){var Gn=this.clone();return Gn.__iteratees__.push({iteratee:va(Yt,3),type:pe}),Gn.__filtered__=Gn.__filtered__||ot,Gn}}),U([\"head\",\"last\"],function(S,R){var pe=\"take\"+(R?\"Right\":\"\");Wa.prototype[S]=function(){return this[pe](1).value()[0]}}),U([\"initial\",\"tail\"],function(S,R){var pe=\"drop\"+(R?\"\":\"Right\");Wa.prototype[S]=function(){return this.__filtered__?new Wa(this):this[pe](1)}}),Wa.prototype.compact=function(){return this.filter(Mc)},Wa.prototype.find=function(S){return this.filter(S).head()},Wa.prototype.findLast=function(S){return this.reverse().find(S)},Wa.prototype.invokeMap=at(function(S,R){return typeof S==\"function\"?new Wa(this):this.map(function(pe){return sc(pe,S,R)})}),Wa.prototype.reject=function(S){return this.filter(wf(va(S)))},Wa.prototype.slice=function(S,R){S=rs(S);var pe=this;return pe.__filtered__&&(S>0||R<0)?new Wa(pe):(S<0?pe=pe.takeRight(-S):S&&(pe=pe.drop(S)),R!==y&&(R=rs(R),pe=R<0?pe.dropRight(-R):pe.take(R-S)),pe)},Wa.prototype.takeRightWhile=function(S){return this.reverse().takeWhile(S).reverse()},Wa.prototype.toArray=function(){return this.take(he)},Ys(Wa.prototype,function(S,R){var pe=/^(?:filter|find|map|reject)|While$/.test(R),ot=/^(?:head|last)$/.test(R),Yt=yn[ot?\"take\"+(R==\"last\"?\"Right\":\"\"):R],Gn=ot||/^find/.test(R);Yt&&(yn.prototype[R]=function(){var _r=this.__wrapped__,$r=ot?[1]:arguments,so=_r instanceof Wa,li=$r[0],fi=so||es(_r),Ei=function(bs){var Os=Yt.apply(yn,jt([bs],$r));return ot&&Qi?Os[0]:Os};fi&&pe&&typeof li==\"function\"&&li.length!=1&&(so=fi=!1);var Qi=this.__chain__,ya=!!this.__actions__.length,Ha=Gn&&!Qi,ps=so&&!ya;if(!Gn&&fi){_r=ps?_r:new Wa(this);var Ga=S.apply(_r,$r);return Ga.__actions__.push({func:He,args:[Ei],thisArg:y}),new gs(Ga,Qi)}return Ha&&ps?S.apply(this,$r):(Ga=this.thru(Ei),Ha?ot?Ga.value()[0]:Ga.value():Ga)})}),U([\"pop\",\"push\",\"shift\",\"sort\",\"splice\",\"unshift\"],function(S){var R=us[S],pe=/^(?:push|sort|unshift)$/.test(S)?\"tap\":\"thru\",ot=/^(?:pop|shift)$/.test(S);yn.prototype[S]=function(){var Yt=arguments;if(ot&&!this.__chain__){var Gn=this.value();return R.apply(es(Gn)?Gn:[],Yt)}return this[pe](function(_r){return R.apply(es(_r)?_r:[],Yt)})}}),Ys(Wa.prototype,function(S,R){var pe=yn[R];if(pe){var ot=pe.name+\"\";sa.call(_a,ot)||(_a[ot]=[]),_a[ot].push({name:R,func:pe})}}),_a[gl(y,M).name]=[{name:\"wrapper\",func:y}],Wa.prototype.clone=Ac,Wa.prototype.reverse=Gs,Wa.prototype.value=Tc,yn.prototype.at=Ye,yn.prototype.chain=Et,yn.prototype.commit=bn,yn.prototype.next=Qn,yn.prototype.plant=vr,yn.prototype.reverse=no,yn.prototype.toJSON=yn.prototype.valueOf=yn.prototype.value=Wo,yn.prototype.first=yn.prototype.head,Ja&&(yn.prototype[Ja]=yr),yn},Za=ws();Pr._=Za,r=function(){return Za}.call(Ee,c,Ee,Pt),r!==y&&(Pt.exports=r)}).call(this)},65512:function(Pt,Ee,c){var r=c(75697),y=c(5673),N=c(66494),C=c(24669);function w(O,b){var p=C(O)?r:N;return p(O,y(b,3))}Pt.exports=w},34736:function(Pt,Ee,c){var r=c(9440),y=\"Expected a function\";function N(C,w){if(typeof C!=\"function\"||w!=null&&typeof w!=\"function\")throw new TypeError(y);var O=function(){var b=arguments,p=w?w.apply(this,b):b[0],u=O.cache;if(u.has(p))return u.get(p);var a=C.apply(this,b);return O.cache=u.set(p,a)||u,a};return O.cache=new(N.Cache||r),O}N.Cache=r,Pt.exports=N},51798:function(Pt,Ee,c){var r=c(17498),y=c(71e3),N=c(2610),C=c(77817);function w(O){return N(O)?r(C(O)):y(O)}Pt.exports=w},68036:function(Pt){function Ee(){return[]}Pt.exports=Ee},84193:function(Pt){function Ee(){return!1}Pt.exports=Ee},8389:function(Pt,Ee,c){var r=c(73150);function y(N){return N==null?\"\":r(N)}Pt.exports=y},15751:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Pi:function(){return kt}});var r=c(65707),y=c(50959);if(!y.useState)throw new Error(\"mobx-react-lite requires React with Hooks support\");if(!r.makeObservable)throw new Error(\"mobx-react-lite@3 requires mobx at least version 6 to be available\");var N=c(10422);function C(Ue){Ue()}function w(Ue){Ue||(Ue=C),(0,r.configure)({reactionScheduler:Ue})}var O=function(){return!0};function b(Ue){return(0,r.getDependencyTree)(Ue)}var p=1e4,u=1e4,a=function(){function Ue(xt){var cn=this;Object.defineProperty(this,\"finalize\",{enumerable:!0,configurable:!0,writable:!0,value:xt}),Object.defineProperty(this,\"registrations\",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),Object.defineProperty(this,\"sweepTimeout\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"sweep\",{enumerable:!0,configurable:!0,writable:!0,value:function(er){er===void 0&&(er=p),clearTimeout(cn.sweepTimeout),cn.sweepTimeout=void 0;var Mr=Date.now();cn.registrations.forEach(function(xr,jr){Mr-xr.registeredAt>=er&&(cn.finalize(xr.value),cn.registrations.delete(jr))}),cn.registrations.size>0&&cn.scheduleSweep()}}),Object.defineProperty(this,\"finalizeAllImmediately\",{enumerable:!0,configurable:!0,writable:!0,value:function(){cn.sweep(0)}})}return Object.defineProperty(Ue.prototype,\"register\",{enumerable:!1,configurable:!0,writable:!0,value:function(xt,cn,er){this.registrations.set(er,{value:cn,registeredAt:Date.now()}),this.scheduleSweep()}}),Object.defineProperty(Ue.prototype,\"unregister\",{enumerable:!1,configurable:!0,writable:!0,value:function(xt){this.registrations.delete(xt)}}),Object.defineProperty(Ue.prototype,\"scheduleSweep\",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.sweepTimeout===void 0&&(this.sweepTimeout=setTimeout(this.sweep,u))}}),Ue}(),f=typeof FinalizationRegistry!=\"undefined\"?FinalizationRegistry:a,h=new f(function(Ue){var xt;(xt=Ue.reaction)===null||xt===void 0||xt.dispose(),Ue.reaction=null}),l=!1;function s(Ue){l=Ue}function m(){return l}var x=function(Ue,xt){var cn=typeof Symbol==\"function\"&&Ue[Symbol.iterator];if(!cn)return Ue;var er=cn.call(Ue),Mr,xr=[],jr;try{for(;(xt===void 0||xt-- >0)&&!(Mr=er.next()).done;)xr.push(Mr.value)}catch(yo){jr={error:yo}}finally{try{Mr&&!Mr.done&&(cn=er.return)&&cn.call(er)}finally{if(jr)throw jr.error}}return xr};function M(Ue){return\"observer\".concat(Ue)}var E=function(){function Ue(){}return Ue}();function j(){return new E}function L(Ue,xt){if(xt===void 0&&(xt=\"observed\"),m())return Ue();var cn=x(y.useState(j),1),er=cn[0],Mr=x(y.useState(),2),xr=Mr[1],jr=function(){return xr([])},yo=y.useRef(null);yo.current||(yo.current={reaction:null,mounted:!1,changedBeforeMount:!1});var eo=yo.current;eo.reaction||(eo.reaction=new r.Reaction(M(xt),function(){eo.mounted?jr():eo.changedBeforeMount=!0}),h.register(er,eo,eo)),y.useDebugValue(eo.reaction,b),y.useEffect(function(){return h.unregister(eo),eo.mounted=!0,eo.reaction?eo.changedBeforeMount&&(eo.changedBeforeMount=!1,jr()):(eo.reaction=new r.Reaction(M(xt),function(){jr()}),jr()),function(){eo.reaction.dispose(),eo.reaction=null,eo.mounted=!1,eo.changedBeforeMount=!1}},[]);var vi,Ti;if(eo.reaction.track(function(){try{vi=Ue()}catch(wi){Ti=wi}}),Ti)throw Ti;return vi}var A=!0,J=typeof Symbol==\"function\"&&Symbol.for,q=J?Symbol.for(\"react.forward_ref\"):typeof y.forwardRef==\"function\"&&(0,y.forwardRef)(function(Ue){return null}).$$typeof,re=J?Symbol.for(\"react.memo\"):typeof y.memo==\"function\"&&(0,y.memo)(function(Ue){return null}).$$typeof;function me(Ue,xt){var cn;if(re&&Ue.$$typeof===re)throw new Error(\"[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.\");if(m())return Ue;var er=(cn=xt==null?void 0:xt.forwardRef)!==null&&cn!==void 0?cn:!1,Mr=Ue,xr=Ue.displayName||Ue.name;if(q&&Ue.$$typeof===q&&(er=!0,Mr=Ue.render,typeof Mr!=\"function\"))throw new Error(\"[mobx-react-lite] `render` property of ForwardRef was not a function\");var jr=function(yo,eo){return L(function(){return Mr(yo,eo)},xr)};return xr!==\"\"&&(jr.displayName=xr),Ue.contextTypes&&(jr.contextTypes=Ue.contextTypes),er&&(jr=(0,y.forwardRef)(jr)),jr=(0,y.memo)(jr),ee(Ue,jr),jr}var Te={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};function ee(Ue,xt){Object.keys(Ue).forEach(function(cn){Te[cn]||Object.defineProperty(xt,cn,Object.getOwnPropertyDescriptor(Ue,cn))})}function xe(Ue){var xt=Ue.children,cn=Ue.render,er=xt||cn;return typeof er!=\"function\"?null:L(er)}xe.displayName=\"Observer\";function Ie(Ue,xt,cn,er,Mr){var xr=xt===\"children\"?\"render\":\"children\",jr=typeof Ue[xt]==\"function\",yo=typeof Ue[xr]==\"function\";return jr&&yo?new Error(\"MobX Observer: Do not use children and render in the same time in`\"+cn):jr||yo?null:new Error(\"Invalid prop `\"+Mr+\"` of type `\"+typeof Ue[xt]+\"` supplied to `\"+cn+\"`, expected `function`.\")}function Le(Ue,xt){return useState(function(){return observable(Ue(),xt,{autoBind:!0})})[0]}var De=function(Ue,xt){var cn=typeof Symbol==\"function\"&&Ue[Symbol.iterator];if(!cn)return Ue;var er=cn.call(Ue),Mr,xr=[],jr;try{for(;(xt===void 0||xt-- >0)&&!(Mr=er.next()).done;)xr.push(Mr.value)}catch(yo){jr={error:yo}}finally{try{Mr&&!Mr.done&&(cn=er.return)&&cn.call(er)}finally{if(jr)throw jr.error}}return xr};function ce(Ue){var xt=De(useState(function(){return observable(Ue,{},{deep:!1})}),1),cn=xt[0];return runInAction(function(){Object.assign(cn,Ue)}),cn}function ye(Ue,xt){var cn=xt&&useAsObservableSource(xt);return useState(function(){return observable(Ue(cn),void 0,{autoBind:!0})})[0]}var Oe;w(N.unstable_batchedUpdates);var Ce=(Oe=h.finalizeAllImmediately)!==null&&Oe!==void 0?Oe:function(){};function oe(Ue,xt){return xt===void 0&&(xt=\"observed\"),useObserverOriginal(Ue,xt)}function he(Ue){enableStaticRendering(Ue)}var ie=0;function ae(Ue){if(typeof Symbol==\"function\")return Symbol(Ue);var xt=\"__$mobx-react \"+Ue+\" (\"+ie+\")\";return ie++,xt}var ve={};function X(Ue){return ve[Ue]||(ve[Ue]=ae(Ue)),ve[Ue]}function se(Ue,xt){if(fe(Ue,xt))return!0;if(typeof Ue!=\"object\"||Ue===null||typeof xt!=\"object\"||xt===null)return!1;var cn=Object.keys(Ue),er=Object.keys(xt);if(cn.length!==er.length)return!1;for(var Mr=0;Mr<cn.length;Mr++)if(!Object.hasOwnProperty.call(xt,cn[Mr])||!fe(Ue[cn[Mr]],xt[cn[Mr]]))return!1;return!0}function fe(Ue,xt){return Ue===xt?Ue!==0||1/Ue===1/xt:Ue!==Ue&&xt!==xt}var _e={$$typeof:1,render:1,compare:1,type:1,childContextTypes:1,contextType:1,contextTypes:1,defaultProps:1,getDefaultProps:1,getDerivedStateFromError:1,getDerivedStateFromProps:1,mixins:1,displayName:1,propTypes:1};function be(Ue,xt){var cn=Object.getOwnPropertyNames(Object.getPrototypeOf(Ue));Object.getOwnPropertyNames(Ue).forEach(function(er){!_e[er]&&cn.indexOf(er)===-1&&Object.defineProperty(xt,er,Object.getOwnPropertyDescriptor(Ue,er))})}function We(Ue,xt,cn){Object.hasOwnProperty.call(Ue,xt)?Ue[xt]=cn:Object.defineProperty(Ue,xt,{enumerable:!1,configurable:!0,writable:!0,value:cn})}var we=X(\"patchMixins\"),Ze=X(\"patchedDefinition\");function Ve(Ue,xt){var cn=Ue[we]=Ue[we]||{},er=cn[xt]=cn[xt]||{};return er.locks=er.locks||0,er.methods=er.methods||[],er}function et(Ue,xt){for(var cn=this,er=arguments.length,Mr=new Array(er>2?er-2:0),xr=2;xr<er;xr++)Mr[xr-2]=arguments[xr];xt.locks++;try{var jr;return Ue!=null&&(jr=Ue.apply(this,Mr)),jr}finally{xt.locks--,xt.locks===0&&xt.methods.forEach(function(yo){yo.apply(cn,Mr)})}}function ht(Ue,xt){var cn=function(){for(var Mr=arguments.length,xr=new Array(Mr),jr=0;jr<Mr;jr++)xr[jr]=arguments[jr];et.call.apply(et,[this,Ue,xt].concat(xr))};return cn}function Fe(Ue,xt,cn){var er=Ve(Ue,xt);er.methods.indexOf(cn)<0&&er.methods.push(cn);var Mr=Object.getOwnPropertyDescriptor(Ue,xt);if(!(Mr&&Mr[Ze])){var xr=Ue[xt],jr=mt(Ue,xt,Mr?Mr.enumerable:void 0,er,xr);Object.defineProperty(Ue,xt,jr)}}function mt(Ue,xt,cn,er,Mr){var xr,jr=ht(Mr,er);return xr={},xr[Ze]=!0,xr.get=function(){return jr},xr.set=function(eo){if(this===Ue)jr=ht(eo,er);else{var vi=mt(this,xt,cn,er,eo);Object.defineProperty(this,xt,vi)}},xr.configurable=!0,xr.enumerable=cn,xr}var dt=r.$mobx||\"$mobx\",Lt=X(\"isMobXReactObserver\"),lt=X(\"isUnmounted\"),rn=X(\"skipRender\"),qt=X(\"isForcingUpdate\");function hn(Ue){var xt=Ue.prototype;if(Ue[Lt]){var cn=Kt(xt);console.warn(\"The provided component class (\"+cn+`)\n                has already been declared as an observer component.`)}else Ue[Lt]=!0;if(xt.componentWillReact)throw new Error(\"The componentWillReact life-cycle event is no longer supported\");if(Ue.__proto__!==y.PureComponent){if(!xt.shouldComponentUpdate)xt.shouldComponentUpdate=In;else if(xt.shouldComponentUpdate!==In)throw new Error(\"It is not allowed to use shouldComponentUpdate in observer based components.\")}Ft(xt,\"props\"),Ft(xt,\"state\"),Ue.contextType&&Ft(xt,\"context\");var er=xt.render;if(typeof er!=\"function\"){var Mr=Kt(xt);throw new Error(\"[mobx-react] class component (\"+Mr+\") is missing `render` method.\\n`observer` requires `render` being a function defined on prototype.\\n`render = () => {}` or `render = function() {}` is not supported.\")}return xt.render=function(){return this.render=m()?er:an.call(this,er),this.render()},Fe(xt,\"componentDidMount\",function(){this[lt]=!1,this.render[dt]||y.Component.prototype.forceUpdate.call(this)}),Fe(xt,\"componentWillUnmount\",function(){if(!m()){var xr=this.render[dt];if(xr)xr.dispose(),this.render[dt]=null;else{var jr=Kt(this);console.warn(\"The reactive render of an observer class component (\"+jr+`)\n                was overridden after MobX attached. This may result in a memory leak if the\n                overridden reactive render was not properly disposed.`)}this[lt]=!0}}),Ue}function Kt(Ue){return Ue.displayName||Ue.name||Ue.constructor&&(Ue.constructor.displayName||Ue.constructor.name)||\"<component>\"}function an(Ue){var xt=this;We(this,rn,!1),We(this,qt,!1);var cn=Kt(this),er=Ue.bind(this),Mr=!1,xr=function(){var eo=new r.Reaction(cn+\".render()\",function(){if(!Mr&&(Mr=!0,xt[lt]!==!0)){var vi=!0;try{We(xt,qt,!0),xt[rn]||y.Component.prototype.forceUpdate.call(xt),vi=!1}finally{We(xt,qt,!1),vi&&(eo.dispose(),xt.render[dt]=null)}}});return eo.reactComponent=xt,eo};function jr(){var yo;Mr=!1;var eo=(yo=jr[dt])!=null?yo:jr[dt]=xr(),vi=void 0,Ti=void 0;if(eo.track(function(){try{Ti=(0,r._allowStateChanges)(!1,er)}catch(wi){vi=wi}}),vi)throw vi;return Ti}return jr}function In(Ue,xt){return m()&&console.warn(\"[mobx-react] It seems that a re-rendering of a React component is triggered while in static (server-side) mode. Please make sure components are rendered only once server-side.\"),this.state!==xt?!0:!se(this.props,Ue)}function Ft(Ue,xt){var cn=X(\"reactProp_\"+xt+\"_valueHolder\"),er=X(\"reactProp_\"+xt+\"_atomHolder\");function Mr(){return this[er]||We(this,er,(0,r.createAtom)(\"reactive \"+xt)),this[er]}Object.defineProperty(Ue,xt,{configurable:!0,enumerable:!0,get:function(){var jr=!1;return r._allowStateReadsStart&&r._allowStateReadsEnd&&(jr=(0,r._allowStateReadsStart)(!0)),Mr.call(this).reportObserved(),r._allowStateReadsStart&&r._allowStateReadsEnd&&(0,r._allowStateReadsEnd)(jr),this[cn]},set:function(jr){!this[qt]&&!se(this[cn],jr)?(We(this,cn,jr),We(this,rn,!0),Mr.call(this).reportChanged(),We(this,rn,!1)):We(this,cn,jr)}})}function kt(Ue){return Ue.isMobxInjector===!0&&console.warn(\"Mobx observer: You are trying to use `observer` on a component that already has `inject`. Please apply `observer` before applying `inject`\"),Object.prototype.isPrototypeOf.call(y.Component,Ue)||Object.prototype.isPrototypeOf.call(y.PureComponent,Ue)?hn(Ue):me(Ue)}function At(){return At=Object.assign||function(Ue){for(var xt=1;xt<arguments.length;xt++){var cn=arguments[xt];for(var er in cn)Object.prototype.hasOwnProperty.call(cn,er)&&(Ue[er]=cn[er])}return Ue},At.apply(this,arguments)}function Fn(Ue,xt){if(Ue==null)return{};var cn={},er=Object.keys(Ue),Mr,xr;for(xr=0;xr<er.length;xr++)Mr=er[xr],!(xt.indexOf(Mr)>=0)&&(cn[Mr]=Ue[Mr]);return cn}var pn=[\"children\"],en=y.createContext({});function Wn(Ue){var xt=Ue.children,cn=Fn(Ue,pn),er=y.useContext(en),Mr=y.useRef(At({},er,cn)),xr=Mr.current;if(!1)var jr;return y.createElement(en.Provider,{value:xr},xt)}Wn.displayName=\"MobXProvider\";function Mn(Ue,xt,cn,er){var Mr=React__default.forwardRef(function(xr,jr){var yo=At({},xr),eo=React__default.useContext(en);return Object.assign(yo,Ue(eo||{},yo)||{}),jr&&(yo.ref=jr),React__default.createElement(xt,yo)});return er&&(Mr=kt(Mr)),Mr.isMobxInjector=!0,be(xt,Mr),Mr.wrappedComponent=xt,Mr.displayName=Kn(xt,cn),Mr}function Kn(Ue,xt){var cn,er=Ue.displayName||Ue.name||Ue.constructor&&Ue.constructor.name||\"Component\";return xt?cn=\"inject-with-\"+xt+\"(\"+er+\")\":cn=\"inject(\"+er+\")\",cn}function hr(Ue){return function(xt,cn){return Ue.forEach(function(er){if(!(er in cn)){if(!(er in xt))throw new Error(\"MobX injector: Store '\"+er+\"' is not available! Make sure it is provided by some Provider\");cn[er]=xt[er]}}),cn}}function pr(){for(var Ue=arguments.length,xt=new Array(Ue),cn=0;cn<Ue;cn++)xt[cn]=arguments[cn];if(typeof arguments[0]==\"function\"){var er=arguments[0];return function(Mr){return Mn(er,Mr,er.name,!0)}}else return function(Mr){return Mn(hr(xt),Mr,xt.join(\"-\"),!1)}}var zr=null,Wr=null;function Nr(){var Ue=this;[].concat(this[zr]||[],this[Wr]||[]).forEach(function(xt){var cn=typeof xt==\"string\"?Ue[xt]:xt;cn!=null&&(Array.isArray(cn)?cn.map(function(er){return er()}):cn())})}function Kr(Ue,xt){if(Array.isArray(xt))return xt.map(function(eo){return Kr(Ue,eo)});var cn=Object.getPrototypeOf(Ue).constructor,er=Object.getPrototypeOf(Ue.constructor),Mr=Object.getPrototypeOf(Object.getPrototypeOf(Ue));if(!(cn===React__default.Component||cn===React__default.PureComponent||er===React__default.Component||er===React__default.PureComponent||Mr===React__default.Component||Mr===React__default.PureComponent))throw new Error(\"[mobx-react] disposeOnUnmount only supports direct subclasses of React.Component or React.PureComponent.\");if(typeof xt!=\"string\"&&typeof xt!=\"function\"&&!Array.isArray(xt))throw new Error(\"[mobx-react] disposeOnUnmount only works if the parameter is either a property key or a function.\");var xr=typeof xt==\"string\",jr=!!Ue[zr]||!!Ue[Wr],yo=xr?Ue[zr]||(Ue[zr]=[]):Ue[Wr]||(Ue[Wr]=[]);if(yo.push(xt),jr||Fe(Ue,\"componentWillUnmount\",Nr),typeof xt!=\"string\")return xt}function ko(Ue){function xt(er,Mr,xr,jr,yo,eo){for(var vi=arguments.length,Ti=new Array(vi>6?vi-6:0),wi=6;wi<vi;wi++)Ti[wi-6]=arguments[wi];return(0,r.untracked)(function(){if(jr=jr||\"<<anonymous>>\",eo=eo||xr,Mr[xr]==null){if(er){var mi=Mr[xr]===null?\"null\":\"undefined\";return new Error(\"The \"+yo+\" `\"+eo+\"` is marked as required in `\"+jr+\"`, but its value is `\"+mi+\"`.\")}return null}else return Ue.apply(void 0,[Mr,xr,jr,yo,eo].concat(Ti))})}var cn=xt.bind(null,!1);return cn.isRequired=xt.bind(null,!0),cn}function Ur(Ue,xt){return Ue===\"symbol\"||xt[\"@@toStringTag\"]===\"Symbol\"||typeof Symbol==\"function\"&&xt instanceof Symbol}function gn(Ue){var xt=typeof Ue;return Array.isArray(Ue)?\"array\":Ue instanceof RegExp?\"object\":Ur(xt,Ue)?\"symbol\":xt}function Gt(Ue){var xt=gn(Ue);if(xt===\"object\"){if(Ue instanceof Date)return\"date\";if(Ue instanceof RegExp)return\"regexp\"}return xt}function bt(Ue,xt){return ko(function(cn,er,Mr,xr,jr){return(0,r.untracked)(function(){if(Ue&&gn(cn[er])===xt.toLowerCase())return null;var yo;switch(xt){case\"Array\":yo=r.isObservableArray;break;case\"Object\":yo=r.isObservableObject;break;case\"Map\":yo=r.isObservableMap;break;default:throw new Error(\"Unexpected mobxType: \"+xt)}var eo=cn[er];if(!yo(eo)){var vi=Gt(eo),Ti=Ue?\" or javascript `\"+xt.toLowerCase()+\"`\":\"\";return new Error(\"Invalid prop `\"+jr+\"` of type `\"+vi+\"` supplied to `\"+Mr+\"`, expected `mobx.Observable\"+xt+\"`\"+Ti+\".\")}return null})})}function Zt(Ue,xt){return ko(function(cn,er,Mr,xr,jr){for(var yo=arguments.length,eo=new Array(yo>5?yo-5:0),vi=5;vi<yo;vi++)eo[vi-5]=arguments[vi];return(0,r.untracked)(function(){if(typeof xt!=\"function\")return new Error(\"Property `\"+jr+\"` of component `\"+Mr+\"` has invalid PropType notation.\");var Ti=bt(Ue,\"Array\")(cn,er,Mr,xr,jr);if(Ti instanceof Error)return Ti;for(var wi=cn[er],mi=0;mi<wi.length;mi++)if(Ti=xt.apply(void 0,[wi,mi,Mr,xr,jr+\"[\"+mi+\"]\"].concat(eo)),Ti instanceof Error)return Ti;return null})})}var gt=bt(!1,\"Array\"),Wt=Zt.bind(null,!1),xn=bt(!1,\"Map\"),Dt=bt(!1,\"Object\"),Xn=bt(!0,\"Array\"),Rn=Zt.bind(null,!0),wt=bt(!0,\"Object\"),pt={observableArray:gt,observableArrayOf:Wt,observableMap:xn,observableObject:Dt,arrayOrObservableArray:Xn,arrayOrObservableArrayOf:Rn,objectOrObservableObject:wt};if(!y.Component)throw new Error(\"mobx-react requires React to be available\");if(!r.observable)throw new Error(\"mobx-react requires mobx to be available\")},65707:function(Pt,Ee,c){\"use strict\";c.r(Ee),c.d(Ee,{$mobx:function(){return Fe},FlowCancellationError:function(){return na},ObservableMap:function(){return hi},ObservableSet:function(){return tr},Reaction:function(){return P},_allowStateChanges:function(){return br},_allowStateChangesInsideComputed:function(){return En},_allowStateReadsEnd:function(){return Si},_allowStateReadsStart:function(){return ai},_autoAction:function(){return Bt},_endAction:function(){return zi},_getAdministration:function(){return Au},_getGlobalState:function(){return An},_interceptReads:function(){return Ua},_isComputingDerivation:function(){return lr},_resetGlobalState:function(){return Rt},_startAction:function(){return ca},action:function(){return Ln},autorun:function(){return cr},comparer:function(){return Kt},computed:function(){return Co},configure:function(){return ha},createAtom:function(){return Lt},defineProperty:function(){return us},entries:function(){return Na},extendObservable:function(){return xa},flow:function(){return Oa},flowResult:function(){return Ka},get:function(){return Qa},getAtom:function(){return Ns},getDebugName:function(){return yc},getDependencyTree:function(){return qi},getObserverTree:function(){return Ji},has:function(){return Ms},intercept:function(){return Va},isAction:function(){return _n},isBoxedObservable:function(){return fn},isComputed:function(){return Za},isComputedProp:function(){return rr},isFlow:function(){return Ba},isFlowCancellationError:function(){return $i},isObservable:function(){return Br},isObservableArray:function(){return mo},isObservableMap:function(){return Yo},isObservableObject:function(){return ds},isObservableProp:function(){return Ao},isObservableSet:function(){return Sa},keys:function(){return Di},makeAutoObservable:function(){return G},makeObservable:function(){return Ts},observable:function(){return Un},observe:function(){return $a},onBecomeObserved:function(){return vo},onBecomeUnobserved:function(){return uo},onReactionError:function(){return k},override:function(){return Fn},ownKeys:function(){return Fs},reaction:function(){return jo},remove:function(){return Bs},runInAction:function(){return En},set:function(){return Fa},spy:function(){return jt},toJS:function(){return os},trace:function(){return As},transaction:function(){return di},untracked:function(){return No},values:function(){return Aa},when:function(){return ia}});var r={0:\"Invalid value for configuration 'enforceActions', expected 'never', 'always' or 'observed'\",1:function(Be,st){return\"Cannot apply '\"+Be+\"' to '\"+st.toString()+\"': Field not found.\"},5:\"'keys()' can only be used on observable objects, arrays, sets and maps\",6:\"'values()' can only be used on observable objects, arrays, sets and maps\",7:\"'entries()' can only be used on observable objects, arrays and maps\",8:\"'set()' can only be used on observable objects, arrays and maps\",9:\"'remove()' can only be used on observable objects, arrays and maps\",10:\"'has()' can only be used on observable objects, arrays and maps\",11:\"'get()' can only be used on observable objects, arrays and maps\",12:\"Invalid annotation\",13:\"Dynamic observable objects cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)\",14:\"Intercept handlers should return nothing or a change object\",15:\"Observable arrays cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)\",16:\"Modification exception: the internal structure of an observable array was changed.\",17:function(Be,st){return\"[mobx.array] Index out of bounds, \"+Be+\" is larger than \"+st},18:\"mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js\",19:function(Be){return\"Cannot initialize from classes that inherit from Map: \"+Be.constructor.name},20:function(Be){return\"Cannot initialize map from \"+Be},21:function(Be){return\"Cannot convert to map from '\"+Be+\"'\"},22:\"mobx.set requires Set polyfill for the current browser. Check babel-polyfill or core-js/es6/set.js\",23:\"It is not possible to get index atoms from arrays\",24:function(Be){return\"Cannot obtain administration from \"+Be},25:function(Be,st){return\"the entry '\"+Be+\"' does not exist in the observable map '\"+st+\"'\"},26:\"please specify a property\",27:function(Be,st){return\"no observable property '\"+Be.toString()+\"' found on the observable object '\"+st+\"'\"},28:function(Be){return\"Cannot obtain atom from \"+Be},29:\"Expecting some object\",30:\"invalid action stack. did you forget to finish an action?\",31:\"missing option for computed: get\",32:function(Be,st){return\"Cycle detected in computation \"+Be+\": \"+st},33:function(Be){return\"The setter of computed value '\"+Be+\"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?\"},34:function(Be){return\"[ComputedValue '\"+Be+\"'] It is not possible to assign a new value to a computed value.\"},35:\"There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`\",36:\"isolateGlobalState should be called before MobX is running any reactions\",37:function(Be){return\"[mobx] `observableArray.\"+Be+\"()` mutates the array in-place, which is not allowed inside a derivation. Use `array.slice().\"+Be+\"()` instead\"},38:\"'ownKeys()' can only be used on observable objects\",39:\"'defineProperty()' can only be used on observable objects\"},y={};function N(le){for(var Be=arguments.length,st=new Array(Be>1?Be-1:0),it=1;it<Be;it++)st[it-1]=arguments[it];if(!1)var Qt;throw new Error(typeof le==\"number\"?\"[MobX] minified error nr: \"+le+(st.length?\" \"+st.map(String).join(\",\"):\"\")+\". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts\":\"[MobX] \"+le)}var C={};function w(){return typeof globalThis!=\"undefined\"?globalThis:typeof window!=\"undefined\"?window:typeof c.g!=\"undefined\"?c.g:typeof self!=\"undefined\"?self:C}var O=Object.assign,b=Object.getOwnPropertyDescriptor,p=Object.defineProperty,u=Object.prototype,a=[];Object.freeze(a);var f={};Object.freeze(f);var h=typeof Proxy!=\"undefined\",l=Object.toString();function s(){h||N(\"Proxy not available\")}function m(le){}function x(){return++ct.mobxGuid}function M(le){var Be=!1;return function(){if(!Be)return Be=!0,le.apply(this,arguments)}}var E=function(){};function j(le){return typeof le==\"function\"}function L(le){var Be=typeof le;switch(Be){case\"string\":case\"symbol\":case\"number\":return!0}return!1}function A(le){return le!==null&&typeof le==\"object\"}function J(le){if(!A(le))return!1;var Be=Object.getPrototypeOf(le);if(Be==null)return!0;var st=Object.hasOwnProperty.call(Be,\"constructor\")&&Be.constructor;return typeof st==\"function\"&&st.toString()===l}function q(le){var Be=le==null?void 0:le.constructor;return Be?Be.name===\"GeneratorFunction\"||Be.displayName===\"GeneratorFunction\":!1}function re(le,Be,st){p(le,Be,{enumerable:!1,writable:!0,configurable:!0,value:st})}function me(le,Be,st){p(le,Be,{enumerable:!1,writable:!1,configurable:!0,value:st})}function Te(le,Be){var st=\"isMobX\"+le;return Be.prototype[st]=!0,function(it){return A(it)&&it[st]===!0}}function ee(le){return le instanceof Map}function xe(le){return le instanceof Set}var Ie=typeof Object.getOwnPropertySymbols!=\"undefined\";function Le(le){var Be=Object.keys(le);if(!Ie)return Be;var st=Object.getOwnPropertySymbols(le);return st.length?[].concat(Be,st.filter(function(it){return u.propertyIsEnumerable.call(le,it)})):Be}var De=typeof Reflect!=\"undefined\"&&Reflect.ownKeys?Reflect.ownKeys:Ie?function(le){return Object.getOwnPropertyNames(le).concat(Object.getOwnPropertySymbols(le))}:Object.getOwnPropertyNames;function ce(le){return typeof le==\"string\"?le:typeof le==\"symbol\"?le.toString():new String(le).toString()}function ye(le){return le===null?null:typeof le==\"object\"?\"\"+le:le}function Oe(le,Be){return u.hasOwnProperty.call(le,Be)}var Ce=Object.getOwnPropertyDescriptors||function(Be){var st={};return De(Be).forEach(function(it){st[it]=b(Be,it)}),st};function oe(le,Be){for(var st=0;st<Be.length;st++){var it=Be[st];it.enumerable=it.enumerable||!1,it.configurable=!0,\"value\"in it&&(it.writable=!0),Object.defineProperty(le,We(it.key),it)}}function he(le,Be,st){return Be&&oe(le.prototype,Be),st&&oe(le,st),Object.defineProperty(le,\"prototype\",{writable:!1}),le}function ie(){return ie=Object.assign?Object.assign.bind():function(le){for(var Be=1;Be<arguments.length;Be++){var st=arguments[Be];for(var it in st)Object.prototype.hasOwnProperty.call(st,it)&&(le[it]=st[it])}return le},ie.apply(this,arguments)}function ae(le,Be){le.prototype=Object.create(Be.prototype),le.prototype.constructor=le,ve(le,Be)}function ve(le,Be){return ve=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(it,Qt){return it.__proto__=Qt,it},ve(le,Be)}function X(le){if(le===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return le}function se(le,Be){if(le){if(typeof le==\"string\")return fe(le,Be);var st=Object.prototype.toString.call(le).slice(8,-1);if(st===\"Object\"&&le.constructor&&(st=le.constructor.name),st===\"Map\"||st===\"Set\")return Array.from(le);if(st===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(st))return fe(le,Be)}}function fe(le,Be){(Be==null||Be>le.length)&&(Be=le.length);for(var st=0,it=new Array(Be);st<Be;st++)it[st]=le[st];return it}function _e(le,Be){var st=typeof Symbol!=\"undefined\"&&le[Symbol.iterator]||le[\"@@iterator\"];if(st)return(st=st.call(le)).next.bind(st);if(Array.isArray(le)||(st=se(le))||Be&&le&&typeof le.length==\"number\"){st&&(le=st);var it=0;return function(){return it>=le.length?{done:!0}:{done:!1,value:le[it++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function be(le,Be){if(typeof le!=\"object\"||le===null)return le;var st=le[Symbol.toPrimitive];if(st!==void 0){var it=st.call(le,Be||\"default\");if(typeof it!=\"object\")return it;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(Be===\"string\"?String:Number)(le)}function We(le){var Be=be(le,\"string\");return typeof Be==\"symbol\"?Be:String(Be)}var we=Symbol(\"mobx-stored-annotations\");function Ze(le){function Be(st,it){Ve(st,it,le)}return Object.assign(Be,le)}function Ve(le,Be,st){if(Oe(le,we)||re(le,we,ie({},le[we])),!1)var it;et(le,st,Be),pn(st)||(le[we][Be]=st)}function et(le,Be,st){if(!1)var it,Qt,qn}function ht(le){return Oe(le,we)||re(le,we,ie({},le[we])),le[we]}var Fe=Symbol(\"mobx administration\"),mt=function(){function le(st){st===void 0&&(st=\"Atom\"),this.name_=void 0,this.isPendingUnobservation_=!1,this.isBeingObserved_=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Ke.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=st}var Be=le.prototype;return Be.onBO=function(){this.onBOL&&this.onBOL.forEach(function(it){return it()})},Be.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(it){return it()})},Be.reportObserved=function(){return oo(this)},Be.reportChanged=function(){Pr(),io(this),Xr()},Be.toString=function(){return this.name_},le}(),dt=Te(\"Atom\",mt);function Lt(le,Be,st){Be===void 0&&(Be=E),st===void 0&&(st=E);var it=new mt(le);return Be!==E&&vo(it,Be),st!==E&&uo(it,st),it}function lt(le,Be){return le===Be}function rn(le,Be){return bc(le,Be)}function qt(le,Be){return bc(le,Be,1)}function hn(le,Be){return Object.is?Object.is(le,Be):le===Be?le!==0||1/le===1/Be:le!==le&&Be!==Be}var Kt={identity:lt,structural:rn,default:hn,shallow:qt};function an(le,Be,st){return Br(le)?le:Array.isArray(le)?Un.array(le,{name:st}):J(le)?Un.object(le,void 0,{name:st}):ee(le)?Un.map(le,{name:st}):xe(le)?Un.set(le,{name:st}):typeof le==\"function\"&&!_n(le)&&!Ba(le)?q(le)?Oa(le):Bt(st,le):le}function In(le,Be,st){if(le==null||ds(le)||mo(le)||Yo(le)||Sa(le))return le;if(Array.isArray(le))return Un.array(le,{name:st,deep:!1});if(J(le))return Un.object(le,void 0,{name:st,deep:!1});if(ee(le))return Un.map(le,{name:st,deep:!1});if(xe(le))return Un.set(le,{name:st,deep:!1})}function Ft(le){return le}function kt(le,Be){return bc(le,Be)?Be:le}var At=\"override\",Fn=Ze({annotationType_:At,make_:en,extend_:Wn});function pn(le){return le.annotationType_===At}function en(le,Be){return 0}function Wn(le,Be,st,it){N(\"'\"+this.annotationType_+\"' can only be used with 'makeObservable'\")}function Mn(le,Be){return{annotationType_:le,options_:Be,make_:Kn,extend_:hr}}function Kn(le,Be,st,it){var Qt;if((Qt=this.options_)!=null&&Qt.bound)return this.extend_(le,Be,st,!1)===null?0:1;if(it===le.target_)return this.extend_(le,Be,st,!1)===null?0:2;if(_n(st.value))return 1;var qn=zr(le,this,Be,st,!1);return p(it,Be,qn),2}function hr(le,Be,st,it){var Qt=zr(le,this,Be,st);return le.defineProperty_(Be,Qt,it)}function pr(le,Be,st,it){var Qt=Be.annotationType_,qn=it.value}function zr(le,Be,st,it,Qt){var qn,Tr,bo,Ko,Mi,Hi,ja;Qt===void 0&&(Qt=ct.safeDescriptors),pr(le,Be,st,it);var ms=it.value;if((qn=Be.options_)!=null&&qn.bound){var Ps;ms=ms.bind((Ps=le.proxy_)!=null?Ps:le.target_)}return{value:Oi((Tr=(bo=Be.options_)==null?void 0:bo.name)!=null?Tr:st.toString(),ms,(Ko=(Mi=Be.options_)==null?void 0:Mi.autoAction)!=null?Ko:!1,(Hi=Be.options_)!=null&&Hi.bound?(ja=le.proxy_)!=null?ja:le.target_:void 0),configurable:Qt?le.isPlainObject_:!0,enumerable:!1,writable:!Qt}}function Wr(le,Be){return{annotationType_:le,options_:Be,make_:Nr,extend_:Kr}}function Nr(le,Be,st,it){var Qt;if(it===le.target_)return this.extend_(le,Be,st,!1)===null?0:2;if((Qt=this.options_)!=null&&Qt.bound&&(!Oe(le.target_,Be)||!Ba(le.target_[Be]))&&this.extend_(le,Be,st,!1)===null)return 0;if(Ba(st.value))return 1;var qn=Ur(le,this,Be,st,!1,!1);return p(it,Be,qn),2}function Kr(le,Be,st,it){var Qt,qn=Ur(le,this,Be,st,(Qt=this.options_)==null?void 0:Qt.bound);return le.defineProperty_(Be,qn,it)}function ko(le,Be,st,it){var Qt=Be.annotationType_,qn=it.value}function Ur(le,Be,st,it,Qt,qn){qn===void 0&&(qn=ct.safeDescriptors),ko(le,Be,st,it);var Tr=it.value;if(Ba(Tr)||(Tr=Oa(Tr)),Qt){var bo;Tr=Tr.bind((bo=le.proxy_)!=null?bo:le.target_),Tr.isMobXFlow=!0}return{value:Tr,configurable:qn?le.isPlainObject_:!0,enumerable:!1,writable:!qn}}function gn(le,Be){return{annotationType_:le,options_:Be,make_:Gt,extend_:bt}}function Gt(le,Be,st){return this.extend_(le,Be,st,!1)===null?0:1}function bt(le,Be,st,it){return Zt(le,this,Be,st),le.defineComputedProperty_(Be,ie({},this.options_,{get:st.get,set:st.set}),it)}function Zt(le,Be,st,it){var Qt=Be.annotationType_,qn=it.get}function gt(le,Be){return{annotationType_:le,options_:Be,make_:Wt,extend_:xn}}function Wt(le,Be,st){return this.extend_(le,Be,st,!1)===null?0:1}function xn(le,Be,st,it){var Qt,qn;return Dt(le,this,Be,st),le.defineObservableProperty_(Be,st.value,(Qt=(qn=this.options_)==null?void 0:qn.enhancer)!=null?Qt:an,it)}function Dt(le,Be,st,it){var Qt=Be.annotationType_}var Xn=\"true\",Rn=wt();function wt(le){return{annotationType_:Xn,options_:le,make_:pt,extend_:Ue}}function pt(le,Be,st,it){var Qt,qn;if(st.get)return Co.make_(le,Be,st,it);if(st.set){var Tr=Oi(Be.toString(),st.set);return it===le.target_?le.defineProperty_(Be,{configurable:ct.safeDescriptors?le.isPlainObject_:!0,set:Tr})===null?0:2:(p(it,Be,{configurable:!0,set:Tr}),2)}if(it!==le.target_&&typeof st.value==\"function\"){var bo;if(q(st.value)){var Ko,Mi=(Ko=this.options_)!=null&&Ko.autoBind?Oa.bound:Oa;return Mi.make_(le,Be,st,it)}var Hi=(bo=this.options_)!=null&&bo.autoBind?Bt.bound:Bt;return Hi.make_(le,Be,st,it)}var ja=((Qt=this.options_)==null?void 0:Qt.deep)===!1?Un.ref:Un;if(typeof st.value==\"function\"&&(qn=this.options_)!=null&&qn.autoBind){var ms;st.value=st.value.bind((ms=le.proxy_)!=null?ms:le.target_)}return ja.make_(le,Be,st,it)}function Ue(le,Be,st,it){var Qt,qn;if(st.get)return Co.extend_(le,Be,st,it);if(st.set)return le.defineProperty_(Be,{configurable:ct.safeDescriptors?le.isPlainObject_:!0,set:Oi(Be.toString(),st.set)},it);if(typeof st.value==\"function\"&&(Qt=this.options_)!=null&&Qt.autoBind){var Tr;st.value=st.value.bind((Tr=le.proxy_)!=null?Tr:le.target_)}var bo=((qn=this.options_)==null?void 0:qn.deep)===!1?Un.ref:Un;return bo.extend_(le,Be,st,it)}var xt=\"observable\",cn=\"observable.ref\",er=\"observable.shallow\",Mr=\"observable.struct\",xr={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};Object.freeze(xr);function jr(le){return le||xr}var yo=gt(xt),eo=gt(cn,{enhancer:Ft}),vi=gt(er,{enhancer:In}),Ti=gt(Mr,{enhancer:kt}),wi=Ze(yo);function mi(le){return le.deep===!0?an:le.deep===!1?Ft:aa(le.defaultDecorator)}function Zi(le){var Be;return le?(Be=le.defaultDecorator)!=null?Be:wt(le):void 0}function aa(le){var Be,st;return le&&(Be=(st=le.options_)==null?void 0:st.enhancer)!=null?Be:an}function $e(le,Be,st){if(L(Be)){Ve(le,Be,yo);return}return Br(le)?le:J(le)?Un.object(le,Be,st):Array.isArray(le)?Un.array(le,Be):ee(le)?Un.map(le,Be):xe(le)?Un.set(le,Be):typeof le==\"object\"&&le!==null?le:Un.box(le,Be)}O($e,wi);var dn={box:function(Be,st){var it=jr(st);return new Xt(Be,mi(it),it.name,!0,it.equals)},array:function(Be,st){var it=jr(st);return(ct.useProxies===!1||it.proxy===!1?qc:wn)(Be,mi(it),it.name)},map:function(Be,st){var it=jr(st);return new hi(Be,mi(it),it.name)},set:function(Be,st){var it=jr(st);return new tr(Be,mi(it),it.name)},object:function(Be,st,it){return xa(ct.useProxies===!1||(it==null?void 0:it.proxy)===!1?Cs({},it):xs({},it),Be,st)},ref:Ze(eo),shallow:Ze(vi),deep:wi,struct:Ze(Ti)},Un=O($e,dn),ar=\"computed\",Rr=\"computed.struct\",Ro=gn(ar),Vo=gn(Rr,{equals:Kt.structural}),Co=function(Be,st){if(L(st))return Ve(Be,st,Ro);if(J(Be))return Ze(gn(ar,Be));var it=J(st)?st:{};return it.get=Be,it.name||(it.name=Be.name||\"\"),new Yn(it)};Object.assign(Co,Ro),Co.struct=Ze(Vo);var Mo,qo,ti=0,pi=1,ni=(Mo=(qo=b(function(){},\"name\"))==null?void 0:qo.configurable)!=null?Mo:!1,si={value:\"action\",configurable:!0,writable:!1,enumerable:!1};function Oi(le,Be,st,it){st===void 0&&(st=!1);function Qt(){return Ki(le,st,Be,it||this,arguments)}return Qt.isMobxAction=!0,ni&&(si.value=le,p(Qt,\"name\",si)),Qt}function Ki(le,Be,st,it,Qt){var qn=ca(le,Be,it,Qt);try{return st.apply(it,Qt)}catch(Tr){throw qn.error_=Tr,Tr}finally{zi(qn)}}function ca(le,Be,st,it){var Qt=!1,qn=0;if(!1)var Tr;var bo=ct.trackingDerivation,Ko=!Be||!bo;Pr();var Mi=ct.allowStateChanges;Ko&&(ii(),Mi=Re(!0));var Hi=ai(!0),ja={runAsAction_:Ko,prevDerivation_:bo,prevAllowStateChanges_:Mi,prevAllowStateReads_:Hi,notifySpy_:Qt,startTime_:qn,actionId_:pi++,parentActionId_:ti};return ti=ja.actionId_,ja}function zi(le){ti!==le.actionId_&&N(30),ti=le.parentActionId_,le.error_!==void 0&&(ct.suppressReactionErrors=!0),je(le.prevAllowStateChanges_),Si(le.prevAllowStateReads_),Xr(),le.runAsAction_&&Lo(le.prevDerivation_),ct.suppressReactionErrors=!1}function br(le,Be){var st=Re(le);try{return Be()}finally{je(st)}}function Re(le){var Be=ct.allowStateChanges;return ct.allowStateChanges=le,Be}function je(le){ct.allowStateChanges=le}var nt,rt=\"create\";nt=Symbol.toPrimitive;var Xt=function(le){ae(Be,le);function Be(it,Qt,qn,Tr,bo){var Ko;return qn===void 0&&(qn=\"ObservableValue\"),Tr===void 0&&(Tr=!0),bo===void 0&&(bo=Kt.default),Ko=le.call(this,qn)||this,Ko.enhancer=void 0,Ko.name_=void 0,Ko.equals=void 0,Ko.hasUnreportedChange_=!1,Ko.interceptors_=void 0,Ko.changeListeners_=void 0,Ko.value_=void 0,Ko.dehancer=void 0,Ko.enhancer=Qt,Ko.name_=qn,Ko.equals=bo,Ko.value_=Qt(it,void 0,qn),Ko}var st=Be.prototype;return st.dehanceValue=function(Qt){return this.dehancer!==void 0?this.dehancer(Qt):Qt},st.set=function(Qt){var qn=this.value_;if(Qt=this.prepareNewValue_(Qt),Qt!==ct.UNCHANGED){var Tr=ke();this.setNewValue_(Qt)}},st.prepareNewValue_=function(Qt){if(wr(this),Li(this)){var qn=Ca(this,{object:this,type:ut,newValue:Qt});if(!qn)return ct.UNCHANGED;Qt=qn.newValue}return Qt=this.enhancer(Qt,this.value_,this.name_),this.equals(this.value_,Qt)?ct.UNCHANGED:Qt},st.setNewValue_=function(Qt){var qn=this.value_;this.value_=Qt,this.reportChanged(),ra(this)&&qa(this,{type:ut,object:this,newValue:Qt,oldValue:qn})},st.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},st.intercept_=function(Qt){return vs(this,Qt)},st.observe_=function(Qt,qn){return qn&&Qt({observableKind:\"value\",debugObjectName:this.name_,object:this,type:ut,newValue:this.value_,oldValue:void 0}),Ja(this,Qt)},st.raw=function(){return this.value_},st.toJSON=function(){return this.get()},st.toString=function(){return this.name_+\"[\"+this.value_+\"]\"},st.valueOf=function(){return ye(this.get())},st[nt]=function(){return this.valueOf()},Be}(mt),fn=Te(\"ObservableValue\",Xt),Cn;Cn=Symbol.toPrimitive;var Yn=function(){function le(st){this.dependenciesState_=Ke.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.isBeingObserved_=!1,this.isPendingUnobservation_=!1,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Ke.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new Ut(null),this.name_=void 0,this.triggeredBy_=void 0,this.isComputing_=!1,this.isRunningSetter_=!1,this.derivation=void 0,this.setter_=void 0,this.isTracing_=Mt.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,st.get||N(31),this.derivation=st.get,this.name_=st.name||\"ComputedValue\",st.set&&(this.setter_=Oi(\"ComputedValue-setter\",st.set)),this.equals_=st.equals||(st.compareStructural||st.struct?Kt.structural:Kt.default),this.scope_=st.context,this.requiresReaction_=st.requiresReaction,this.keepAlive_=!!st.keepAlive}var Be=le.prototype;return Be.onBecomeStale_=function(){To(this)},Be.onBO=function(){this.onBOL&&this.onBOL.forEach(function(it){return it()})},Be.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(it){return it()})},Be.get=function(){if(this.isComputing_&&N(32,this.name_,this.derivation),ct.inBatch===0&&this.observers_.size===0&&!this.keepAlive_)Zn(this)&&(this.warnAboutUntrackedRead_(),Pr(),this.value_=this.computeValue_(!1),Xr());else if(oo(this),Zn(this)){var it=ct.trackingContext;this.keepAlive_&&!it&&(ct.trackingContext=this),this.trackAndCompute()&&to(this),ct.trackingContext=it}var Qt=this.value_;if(kn(Qt))throw Qt.cause;return Qt},Be.set=function(it){if(this.setter_){this.isRunningSetter_&&N(33,this.name_),this.isRunningSetter_=!0;try{this.setter_.call(this.scope_,it)}finally{this.isRunningSetter_=!1}}else N(34,this.name_)},Be.trackAndCompute=function(){var it=this.value_,Qt=this.dependenciesState_===Ke.NOT_TRACKING_,qn=this.computeValue_(!0),Tr=Qt||kn(it)||kn(qn)||!this.equals_(it,qn);return Tr&&(this.value_=qn),Tr},Be.computeValue_=function(it){this.isComputing_=!0;var Qt=Re(!1),qn;if(it)qn=go(this,this.derivation,this.scope_);else if(ct.disableErrorBoundaries===!0)qn=this.derivation.call(this.scope_);else try{qn=this.derivation.call(this.scope_)}catch(Tr){qn=new Ut(Tr)}return je(Qt),this.isComputing_=!1,qn},Be.suspend_=function(){this.keepAlive_||(_o(this),this.value_=void 0)},Be.observe_=function(it,Qt){var qn=this,Tr=!0,bo=void 0;return cr(function(){var Ko=qn.get();if(!Tr||Qt){var Mi=ii();it({observableKind:\"computed\",debugObjectName:qn.name_,type:ut,object:qn,newValue:Ko,oldValue:bo}),Lo(Mi)}Tr=!1,bo=Ko})},Be.warnAboutUntrackedRead_=function(){},Be.toString=function(){return this.name_+\"[\"+this.derivation.toString()+\"]\"},Be.valueOf=function(){return ye(this.get())},Be[Cn]=function(){return this.valueOf()},le}(),Ae=Te(\"ComputedValue\",Yn),Ke;(function(le){le[le.NOT_TRACKING_=-1]=\"NOT_TRACKING_\",le[le.UP_TO_DATE_=0]=\"UP_TO_DATE_\",le[le.POSSIBLY_STALE_=1]=\"POSSIBLY_STALE_\",le[le.STALE_=2]=\"STALE_\"})(Ke||(Ke={}));var Mt;(function(le){le[le.NONE=0]=\"NONE\",le[le.LOG=1]=\"LOG\",le[le.BREAK=2]=\"BREAK\"})(Mt||(Mt={}));var Ut=function(Be){this.cause=void 0,this.cause=Be};function kn(le){return le instanceof Ut}function Zn(le){switch(le.dependenciesState_){case Ke.UP_TO_DATE_:return!1;case Ke.NOT_TRACKING_:case Ke.STALE_:return!0;case Ke.POSSIBLY_STALE_:{for(var Be=ai(!0),st=ii(),it=le.observing_,Qt=it.length,qn=0;qn<Qt;qn++){var Tr=it[qn];if(Ae(Tr)){if(ct.disableErrorBoundaries)Tr.get();else try{Tr.get()}catch(bo){return Lo(st),Si(Be),!0}if(le.dependenciesState_===Ke.STALE_)return Lo(st),Si(Be),!0}}return Ui(le),Lo(st),Si(Be),!1}}}function lr(){return ct.trackingDerivation!==null}function wr(le){return;var Be}function Dr(le){}function go(le,Be,st){var it=ai(!0);Ui(le),le.newObserving_=new Array(le.observing_.length+100),le.unboundDepsCount_=0,le.runId_=++ct.runId;var Qt=ct.trackingDerivation;ct.trackingDerivation=le,ct.inBatch++;var qn;if(ct.disableErrorBoundaries===!0)qn=Be.call(st);else try{qn=Be.call(st)}catch(Tr){qn=new Ut(Tr)}return ct.inBatch--,ct.trackingDerivation=Qt,Jr(le),Si(it),qn}function Ir(le){}function Jr(le){for(var Be=le.observing_,st=le.observing_=le.newObserving_,it=Ke.UP_TO_DATE_,Qt=0,qn=le.unboundDepsCount_,Tr=0;Tr<qn;Tr++){var bo=st[Tr];bo.diffValue_===0&&(bo.diffValue_=1,Qt!==Tr&&(st[Qt]=bo),Qt++),bo.dependenciesState_>it&&(it=bo.dependenciesState_)}for(st.length=Qt,le.newObserving_=null,qn=Be.length;qn--;){var Ko=Be[qn];Ko.diffValue_===0&&Ar(Ko,le),Ko.diffValue_=0}for(;Qt--;){var Mi=st[Qt];Mi.diffValue_===1&&(Mi.diffValue_=0,dr(Mi,le))}it!==Ke.UP_TO_DATE_&&(le.dependenciesState_=it,le.onBecomeStale_())}function _o(le){var Be=le.observing_;le.observing_=[];for(var st=Be.length;st--;)Ar(Be[st],le);le.dependenciesState_=Ke.NOT_TRACKING_}function No(le){var Be=ii();try{return le()}finally{Lo(Be)}}function ii(){var le=ct.trackingDerivation;return ct.trackingDerivation=null,le}function Lo(le){ct.trackingDerivation=le}function ai(le){var Be=ct.allowStateReads;return ct.allowStateReads=le,Be}function Si(le){ct.allowStateReads=le}function Ui(le){if(le.dependenciesState_!==Ke.UP_TO_DATE_){le.dependenciesState_=Ke.UP_TO_DATE_;for(var Be=le.observing_,st=Be.length;st--;)Be[st].lowestObserverState_=Ke.UP_TO_DATE_}}var ln=[\"mobxGuid\",\"spyListeners\",\"enforceActions\",\"computedRequiresReaction\",\"reactionRequiresObservable\",\"observableRequiresReaction\",\"allowStateReads\",\"disableErrorBoundaries\",\"runId\",\"UNCHANGED\",\"useProxies\"],mn=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},fr=!0,ft=!1,ct=function(){var le=w();return le.__mobxInstanceCount>0&&!le.__mobxGlobals&&(fr=!1),le.__mobxGlobals&&le.__mobxGlobals.version!==new mn().version&&(fr=!1),fr?le.__mobxGlobals?(le.__mobxInstanceCount+=1,le.__mobxGlobals.UNCHANGED||(le.__mobxGlobals.UNCHANGED={}),le.__mobxGlobals):(le.__mobxInstanceCount=1,le.__mobxGlobals=new mn):(setTimeout(function(){ft||N(35)},1),new mn)}();function tn(){if((ct.pendingReactions.length||ct.inBatch||ct.isRunningReactions)&&N(36),ft=!0,fr){var le=w();--le.__mobxInstanceCount===0&&(le.__mobxGlobals=void 0),ct=new mn}}function An(){return ct}function Rt(){var le=new mn;for(var Be in le)ln.indexOf(Be)===-1&&(ct[Be]=le[Be]);ct.allowStateChanges=!ct.enforceActions}function un(le){return le.observers_&&le.observers_.size>0}function Dn(le){return le.observers_}function dr(le,Be){le.observers_.add(Be),le.lowestObserverState_>Be.dependenciesState_&&(le.lowestObserverState_=Be.dependenciesState_)}function Ar(le,Be){le.observers_.delete(Be),le.observers_.size===0&&Gr(le)}function Gr(le){le.isPendingUnobservation_===!1&&(le.isPendingUnobservation_=!0,ct.pendingUnobservations.push(le))}function Pr(){ct.inBatch++}function Xr(){if(--ct.inBatch===0){F();for(var le=ct.pendingUnobservations,Be=0;Be<le.length;Be++){var st=le[Be];st.isPendingUnobservation_=!1,st.observers_.size===0&&(st.isBeingObserved_&&(st.isBeingObserved_=!1,st.onBUO()),st instanceof Yn&&st.suspend_())}ct.pendingUnobservations=[]}}function oo(le){var Be=ct.trackingDerivation;return Be!==null?(Be.runId_!==le.lastAccessedBy_&&(le.lastAccessedBy_=Be.runId_,Be.newObserving_[Be.unboundDepsCount_++]=le,!le.isBeingObserved_&&ct.trackingContext&&(le.isBeingObserved_=!0,le.onBO())),le.isBeingObserved_):(le.observers_.size===0&&ct.inBatch>0&&Gr(le),!1)}function io(le){le.lowestObserverState_!==Ke.STALE_&&(le.lowestObserverState_=Ke.STALE_,le.observers_.forEach(function(Be){Be.dependenciesState_===Ke.UP_TO_DATE_&&Be.onBecomeStale_(),Be.dependenciesState_=Ke.STALE_}))}function to(le){le.lowestObserverState_!==Ke.STALE_&&(le.lowestObserverState_=Ke.STALE_,le.observers_.forEach(function(Be){Be.dependenciesState_===Ke.POSSIBLY_STALE_?Be.dependenciesState_=Ke.STALE_:Be.dependenciesState_===Ke.UP_TO_DATE_&&(le.lowestObserverState_=Ke.UP_TO_DATE_)}))}function To(le){le.lowestObserverState_===Ke.UP_TO_DATE_&&(le.lowestObserverState_=Ke.POSSIBLY_STALE_,le.observers_.forEach(function(Be){Be.dependenciesState_===Ke.UP_TO_DATE_&&(Be.dependenciesState_=Ke.POSSIBLY_STALE_,Be.onBecomeStale_())}))}function jn(le,Be){if(console.log(\"[mobx.trace] '\"+le.name_+\"' is invalidated due to a change in: '\"+Be.name_+\"'\"),le.isTracing_===Mt.BREAK){var st=[];W(qi(le),st,1),new Function(`debugger;\n/*\nTracing '`+le.name_+`'\n\nYou are entering this break point because derivation '`+le.name_+\"' is being traced and '\"+Be.name_+`' is now forcing it to update.\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\n\n`+(le instanceof Yn?le.derivation.toString().replace(/[*]\\//g,\"/\"):\"\")+`\n\nThe dependencies for this derivation are:\n\n`+st.join(`\n`)+`\n*/\n    `)()}}function W(le,Be,st){if(Be.length>=1e3){Be.push(\"(and many more)\");return}Be.push(\"\"+\"\t\".repeat(st-1)+le.name),le.dependencies&&le.dependencies.forEach(function(it){return W(it,Be,st+1)})}var P=function(){function le(st,it,Qt,qn){st===void 0&&(st=\"Reaction\"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=Ke.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=Mt.NONE,this.name_=st,this.onInvalidate_=it,this.errorHandler_=Qt,this.requiresObservable_=qn}var Be=le.prototype;return Be.onBecomeStale_=function(){this.schedule_()},Be.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,ct.pendingReactions.push(this),F())},Be.isScheduled=function(){return this.isScheduled_},Be.runReaction_=function(){if(!this.isDisposed_){Pr(),this.isScheduled_=!1;var it=ct.trackingContext;if(ct.trackingContext=this,Zn(this)){this.isTrackPending_=!0;try{this.onInvalidate_()}catch(Qt){this.reportExceptionInDerivation_(Qt)}}ct.trackingContext=it,Xr()}},Be.track=function(it){if(!this.isDisposed_){Pr();var Qt=ke(),qn;this.isRunning_=!0;var Tr=ct.trackingContext;ct.trackingContext=this;var bo=go(this,it,void 0);ct.trackingContext=Tr,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&_o(this),kn(bo)&&this.reportExceptionInDerivation_(bo.cause),Xr()}},Be.reportExceptionInDerivation_=function(it){var Qt=this;if(this.errorHandler_){this.errorHandler_(it,this);return}if(ct.disableErrorBoundaries)throw it;var qn=\"[mobx] uncaught error in '\"+this+\"'\";ct.suppressReactionErrors||console.error(qn,it),ct.globalReactionErrorHandlers.forEach(function(Tr){return Tr(it,Qt)})},Be.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(Pr(),_o(this),Xr()))},Be.getDisposer_=function(){var it=this.dispose.bind(this);return it[Fe]=this,it},Be.toString=function(){return\"Reaction[\"+this.name_+\"]\"},Be.trace=function(it){it===void 0&&(it=!1),As(this,it)},le}();function k(le){return ct.globalReactionErrorHandlers.push(le),function(){var Be=ct.globalReactionErrorHandlers.indexOf(le);Be>=0&&ct.globalReactionErrorHandlers.splice(Be,1)}}var z=100,Q=function(Be){return Be()};function F(){ct.inBatch>0||ct.isRunningReactions||Q(V)}function V(){ct.isRunningReactions=!0;for(var le=ct.pendingReactions,Be=0;le.length>0;){++Be===z&&(console.error(\"[mobx] cycle in reaction: \"+le[0]),le.splice(0));for(var st=le.splice(0),it=0,Qt=st.length;it<Qt;it++)st[it].runReaction_()}ct.isRunningReactions=!1}var U=Te(\"Reaction\",P);function ge(le){var Be=Q;Q=function(it){return le(function(){return Be(it)})}}function ke(){return!1}function St(le){return;for(var Be,st,it;st<it;st++)Be[st](le)}function Je(le){return;var Be}var Ot={type:\"report-end\",spyReportEnd:!0};function It(le){}function jt(le){return console.warn(\"[mobx.spy] Is a no-op in production builds\"),function(){}}var Vt=\"action\",Pn=\"action.bound\",Jn=\"autoAction\",vn=\"autoAction.bound\",Vn=\"<unnamed action>\",zt=Mn(Vt),ir=Mn(Pn,{bound:!0}),nr=Mn(Jn,{autoAction:!0}),ur=Mn(vn,{autoAction:!0,bound:!0});function sr(le){var Be=function(it,Qt){if(j(it))return Oi(it.name||Vn,it,le);if(j(Qt))return Oi(it,Qt,le);if(L(Qt))return Ve(it,Qt,le?nr:zt);if(L(it))return Ze(Mn(le?Jn:Vt,{name:it,autoAction:le}))};return Be}var Ln=sr(!1);Object.assign(Ln,zt);var Bt=sr(!0);Object.assign(Bt,nr),Ln.bound=Ze(ir),Bt.bound=Ze(ur);function En(le){return Ki(le.name||Vn,!1,le,this,void 0)}function _n(le){return j(le)&&le.isMobxAction===!0}function cr(le,Be){var st,it;Be===void 0&&(Be=f);var Qt=(st=(it=Be)==null?void 0:it.name)!=null?st:\"Autorun\",qn=!Be.scheduler&&!Be.delay,Tr;if(qn)Tr=new P(Qt,function(){this.track(Mi)},Be.onError,Be.requiresObservable);else{var bo=kr(Be),Ko=!1;Tr=new P(Qt,function(){Ko||(Ko=!0,bo(function(){Ko=!1,Tr.isDisposed_||Tr.track(Mi)}))},Be.onError,Be.requiresObservable)}function Mi(){le(Tr)}return Tr.schedule_(),Tr.getDisposer_()}var ao=function(Be){return Be()};function kr(le){return le.scheduler?le.scheduler:le.delay?function(Be){return setTimeout(Be,le.delay)}:ao}function jo(le,Be,st){var it;st===void 0&&(st=f);var Qt=(it=st.name)!=null?it:\"Reaction\",qn=Ln(Qt,st.onError?ui(st.onError,Be):Be),Tr=!st.scheduler&&!st.delay,bo=kr(st),Ko=!0,Mi=!1,Hi,ja,ms=st.compareStructural?Kt.structural:st.equals||Kt.default,Ps=new P(Qt,function(){Ko||Tr?fu():Mi||(Mi=!0,bo(fu))},st.onError,st.requiresObservable);function fu(){if(Mi=!1,!Ps.isDisposed_){var qs=!1;Ps.track(function(){var Ya=br(!1,function(){return le(Ps)});qs=Ko||!ms(Hi,Ya),ja=Hi,Hi=Ya}),(Ko&&st.fireImmediately||!Ko&&qs)&&qn(Hi,ja,Ps),Ko=!1}}return Ps.schedule_(),Ps.getDisposer_()}function ui(le,Be){return function(){try{return Be.apply(this,arguments)}catch(st){le.call(this,st)}}}var Vr=\"onBO\",ho=\"onBUO\";function vo(le,Be,st){return Go(Vr,le,Be,st)}function uo(le,Be,st){return Go(ho,le,Be,st)}function Go(le,Be,st,it){var Qt=typeof it==\"function\"?Ns(Be,st):Ns(Be),qn=j(it)?it:st,Tr=le+\"L\";return Qt[Tr]?Qt[Tr].add(qn):Qt[Tr]=new Set([qn]),function(){var bo=Qt[Tr];bo&&(bo.delete(qn),bo.size===0&&delete Qt[Tr])}}var Pi=\"never\",la=\"always\",Vi=\"observed\";function ha(le){le.isolateGlobalState===!0&&tn();var Be=le.useProxies,st=le.enforceActions;if(Be!==void 0&&(ct.useProxies=Be===la?!0:Be===Pi?!1:typeof Proxy!=\"undefined\"),Be===\"ifavailable\"&&(ct.verifyProxies=!0),st!==void 0){var it=st===la?la:st===Vi;ct.enforceActions=it,ct.allowStateChanges=!(it===!0||it===la)}[\"computedRequiresReaction\",\"reactionRequiresObservable\",\"observableRequiresReaction\",\"disableErrorBoundaries\",\"safeDescriptors\"].forEach(function(Qt){Qt in le&&(ct[Qt]=!!le[Qt])}),ct.allowStateReads=!ct.observableRequiresReaction,le.reactionScheduler&&ge(le.reactionScheduler)}function xa(le,Be,st,it){var Qt=Ce(Be),qn=Cs(le,it)[Fe];Pr();try{De(Qt).forEach(function(Tr){qn.extend_(Tr,Qt[Tr],st&&Tr in st?st[Tr]:!0)})}finally{Xr()}return le}function qi(le,Be){return Jo(Ns(le,Be))}function Jo(le){var Be={name:le.name_};return le.observing_&&le.observing_.length>0&&(Be.dependencies=Ii(le.observing_).map(Jo)),Be}function Ji(le,Be){return Yi(Ns(le,Be))}function Yi(le){var Be={name:le.name_};return un(le)&&(Be.observers=Array.from(Dn(le)).map(Yi)),Be}function Ii(le){return Array.from(new Set(le))}var pa=0;function na(){this.message=\"FLOW_CANCELLED\"}na.prototype=Object.create(Error.prototype);function $i(le){return le instanceof na}var La=Wr(\"flow\"),ss=Wr(\"flow.bound\",{bound:!0}),Oa=Object.assign(function(Be,st){if(L(st))return Ve(Be,st,La);var it=Be,Qt=it.name||\"<unnamed flow>\",qn=function(){var bo=this,Ko=arguments,Mi=++pa,Hi=Ln(Qt+\" - runid: \"+Mi+\" - init\",it).apply(bo,Ko),ja,ms=void 0,Ps=new Promise(function(fu,qs){var Ya=0;ja=qs;function Nu(Zs){ms=void 0;var cs;try{cs=Ln(Qt+\" - runid: \"+Mi+\" - yield \"+Ya++,Hi.next).call(Hi,Zs)}catch(Xs){return qs(Xs)}mu(cs)}function ru(Zs){ms=void 0;var cs;try{cs=Ln(Qt+\" - runid: \"+Mi+\" - yield \"+Ya++,Hi.throw).call(Hi,Zs)}catch(Xs){return qs(Xs)}mu(cs)}function mu(Zs){if(j(Zs==null?void 0:Zs.then)){Zs.then(mu,qs);return}return Zs.done?fu(Zs.value):(ms=Promise.resolve(Zs.value),ms.then(Nu,ru))}Nu(void 0)});return Ps.cancel=Ln(Qt+\" - runid: \"+Mi+\" - cancel\",function(){try{ms&&Ma(ms);var fu=Hi.return(void 0),qs=Promise.resolve(fu.value);qs.then(E,E),Ma(qs),ja(new na)}catch(Ya){ja(Ya)}}),Ps};return qn.isMobXFlow=!0,qn},La);Oa.bound=Ze(ss);function Ma(le){j(le.cancel)&&le.cancel()}function Ka(le){return le}function Ba(le){return(le==null?void 0:le.isMobXFlow)===!0}function Ua(le,Be,st){var it;return Yo(le)||mo(le)||fn(le)?it=Au(le):ds(le)&&(it=Au(le,Be)),it.dehancer=typeof Be==\"function\"?Be:st,function(){it.dehancer=void 0}}function Va(le,Be,st){return j(st)?Qo(le,Be,st):Ls(le,Be)}function Ls(le,Be){return Au(le).intercept_(Be)}function Qo(le,Be,st){return Au(le,Be).intercept_(st)}function ws(le,Be){if(Be===void 0)return Ae(le);if(ds(le)===!1||!le[Fe].values_.has(Be))return!1;var st=Ns(le,Be);return Ae(st)}function Za(le){return ws(le)}function rr(le,Be){return ws(le,Be)}function Eo(le,Be){return le?Be!==void 0?ds(le)?le[Fe].values_.has(Be):!1:ds(le)||!!le[Fe]||dt(le)||U(le)||Ae(le):!1}function Br(le){return Eo(le)}function Ao(le,Be){return Eo(le,Be)}function Di(le){if(ds(le))return le[Fe].keys_();if(Yo(le)||Sa(le))return Array.from(le.keys());if(mo(le))return le.map(function(Be,st){return st});N(5)}function Aa(le){if(ds(le))return Di(le).map(function(Be){return le[Be]});if(Yo(le))return Di(le).map(function(Be){return le.get(Be)});if(Sa(le))return Array.from(le.values());if(mo(le))return le.slice();N(6)}function Na(le){if(ds(le))return Di(le).map(function(Be){return[Be,le[Be]]});if(Yo(le))return Di(le).map(function(Be){return[Be,le.get(Be)]});if(Sa(le))return Array.from(le.entries());if(mo(le))return le.map(function(Be,st){return[st,Be]});N(7)}function Fa(le,Be,st){if(arguments.length===2&&!Sa(le)){Pr();var it=Be;try{for(var Qt in it)Fa(le,Qt,it[Qt])}finally{Xr()}return}ds(le)?le[Fe].set_(Be,st):Yo(le)?le.set(Be,st):Sa(le)?le.add(Be):mo(le)?(typeof Be!=\"number\"&&(Be=parseInt(Be,10)),Be<0&&N(\"Invalid index: '\"+Be+\"'\"),Pr(),Be>=le.length&&(le.length=Be+1),le[Be]=st,Xr()):N(8)}function Bs(le,Be){ds(le)?le[Fe].delete_(Be):Yo(le)||Sa(le)?le.delete(Be):mo(le)?(typeof Be!=\"number\"&&(Be=parseInt(Be,10)),le.splice(Be,1)):N(9)}function Ms(le,Be){if(ds(le))return le[Fe].has_(Be);if(Yo(le))return le.has(Be);if(Sa(le))return le.has(Be);if(mo(le))return Be>=0&&Be<le.length;N(10)}function Qa(le,Be){if(Ms(le,Be)){if(ds(le))return le[Fe].get_(Be);if(Yo(le))return le.get(Be);if(mo(le))return le[Be];N(11)}}function us(le,Be,st){if(ds(le))return le[Fe].defineProperty_(Be,st);N(39)}function Fs(le){if(ds(le))return le[Fe].ownKeys_();N(38)}function $a(le,Be,st,it){return j(st)?ys(le,Be,st,it):Hs(le,Be,st)}function Hs(le,Be,st){return Au(le).observe_(Be,st)}function ys(le,Be,st,it){return Au(le,Be).observe_(st,it)}function sa(le,Be,st){return le.set(Be,st),st}function Xa(le,Be){if(le==null||typeof le!=\"object\"||le instanceof Date||!Br(le))return le;if(fn(le)||Ae(le))return Xa(le.get(),Be);if(Be.has(le))return Be.get(le);if(mo(le)){var st=sa(Be,le,new Array(le.length));return le.forEach(function(Tr,bo){st[bo]=Xa(Tr,Be)}),st}if(Sa(le)){var it=sa(Be,le,new Set);return le.forEach(function(Tr){it.add(Xa(Tr,Be))}),it}if(Yo(le)){var Qt=sa(Be,le,new Map);return le.forEach(function(Tr,bo){Qt.set(bo,Xa(Tr,Be))}),Qt}else{var qn=sa(Be,le,{});return Fs(le).forEach(function(Tr){u.propertyIsEnumerable.call(le,Tr)&&(qn[Tr]=Xa(le[Tr],Be))}),qn}}function os(le,Be){return Xa(le,new Map)}function As(){N(\"trace() is not available in production builds\");for(var le=!1,Be=arguments.length,st=new Array(Be),it=0;it<Be;it++)st[it]=arguments[it];typeof st[st.length-1]==\"boolean\"&&(le=st.pop());var Qt=oa(st);if(!Qt)return N(\"'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly\");Qt.isTracing_===Mt.NONE&&console.log(\"[mobx.trace] '\"+Qt.name_+\"' tracing enabled\"),Qt.isTracing_=le?Mt.BREAK:Mt.LOG}function oa(le){switch(le.length){case 0:return ct.trackingDerivation;case 1:return Ns(le[0]);case 2:return Ns(le[0],le[1])}}function di(le,Be){Be===void 0&&(Be=void 0),Pr();try{return le.apply(Be)}finally{Xr()}}function ia(le,Be,st){return arguments.length===1||Be&&typeof Be==\"object\"?gi(le,Be):_i(le,Be,st||{})}function _i(le,Be,st){var it;if(typeof st.timeout==\"number\"){var Qt=new Error(\"WHEN_TIMEOUT\");it=setTimeout(function(){if(!Tr[Fe].isDisposed_)if(Tr(),st.onError)st.onError(Qt);else throw Qt},st.timeout)}st.name=\"When\";var qn=Oi(\"When-effect\",Be),Tr=cr(function(bo){var Ko=br(!1,le);Ko&&(bo.dispose(),it&&clearTimeout(it),qn())},st);return Tr}function gi(le,Be){var st;if(Be!=null&&(st=Be.signal)!=null&&st.aborted)return Object.assign(Promise.reject(new Error(\"WHEN_ABORTED\")),{cancel:function(){return null}});var it,Qt,qn=new Promise(function(Tr,bo){var Ko,Mi=_i(le,Tr,ie({},Be,{onError:bo}));it=function(){Mi(),bo(new Error(\"WHEN_CANCELLED\"))},Qt=function(){Mi(),bo(new Error(\"WHEN_ABORTED\"))},Be==null||(Ko=Be.signal)==null||Ko.addEventListener==null||Ko.addEventListener(\"abort\",Qt)}).finally(function(){var Tr;return Be==null||(Tr=Be.signal)==null||Tr.removeEventListener==null?void 0:Tr.removeEventListener(\"abort\",Qt)});return qn.cancel=it,qn}function fa(le){return le[Fe]}var Pa={has:function(Be,st){return fa(Be).has_(st)},get:function(Be,st){return fa(Be).get_(st)},set:function(Be,st,it){var Qt;return L(st)?(Qt=fa(Be).set_(st,it,!0))!=null?Qt:!0:!1},deleteProperty:function(Be,st){var it;return L(st)?(it=fa(Be).delete_(st,!0))!=null?it:!0:!1},defineProperty:function(Be,st,it){var Qt;return(Qt=fa(Be).defineProperty_(st,it))!=null?Qt:!0},ownKeys:function(Be){return fa(Be).ownKeys_()},preventExtensions:function(Be){N(13)}};function xs(le,Be){var st,it;return s(),le=Cs(le,Be),(it=(st=le[Fe]).proxy_)!=null?it:st.proxy_=new Proxy(le,Pa)}function Li(le){return le.interceptors_!==void 0&&le.interceptors_.length>0}function vs(le,Be){var st=le.interceptors_||(le.interceptors_=[]);return st.push(Be),M(function(){var it=st.indexOf(Be);it!==-1&&st.splice(it,1)})}function Ca(le,Be){var st=ii();try{for(var it=[].concat(le.interceptors_||[]),Qt=0,qn=it.length;Qt<qn&&(Be=it[Qt](Be),Be&&!Be.type&&N(14),!!Be);Qt++);return Be}finally{Lo(st)}}function ra(le){return le.changeListeners_!==void 0&&le.changeListeners_.length>0}function Ja(le,Be){var st=le.changeListeners_||(le.changeListeners_=[]);return st.push(Be),M(function(){var it=st.indexOf(Be);it!==-1&&st.splice(it,1)})}function qa(le,Be){var st=ii(),it=le.changeListeners_;if(it){it=it.slice();for(var Qt=0,qn=it.length;Qt<qn;Qt++)it[Qt](Be);Lo(st)}}function Ts(le,Be,st){var it=Cs(le,st)[Fe];Pr();try{var Qt;(Qt=Be)!=null||(Be=ht(le)),De(Be).forEach(function(qn){return it.make_(qn,Be[qn])})}finally{Xr()}return le}var v=Symbol(\"mobx-keys\");function G(le,Be,st){if(J(le))return xa(le,le,Be,st);var it=Cs(le,st)[Fe];if(!le[v]){var Qt=Object.getPrototypeOf(le),qn=new Set([].concat(De(le),De(Qt)));qn.delete(\"constructor\"),qn.delete(Fe),re(Qt,v,qn)}Pr();try{le[v].forEach(function(Tr){return it.make_(Tr,Be&&Tr in Be?Be[Tr]:!0)})}finally{Xr()}return le}var ze=\"splice\",ut=\"update\",_t=1e4,Ht={get:function(Be,st){var it=Be[Fe];return st===Fe?it:st===\"length\"?it.getArrayLength_():typeof st==\"string\"&&!isNaN(st)?it.get_(parseInt(st)):Oe(On,st)?On[st]:Be[st]},set:function(Be,st,it){var Qt=Be[Fe];return st===\"length\"&&Qt.setArrayLength_(it),typeof st==\"symbol\"||isNaN(st)?Be[st]=it:Qt.set_(parseInt(st),it),!0},preventExtensions:function(){N(15)}},$t=function(){function le(st,it,Qt,qn){st===void 0&&(st=\"ObservableArray\"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=Qt,this.legacyMode_=qn,this.atom_=new mt(st),this.enhancer_=function(Tr,bo){return it(Tr,bo,\"ObservableArray[..]\")}}var Be=le.prototype;return Be.dehanceValue_=function(it){return this.dehancer!==void 0?this.dehancer(it):it},Be.dehanceValues_=function(it){return this.dehancer!==void 0&&it.length>0?it.map(this.dehancer):it},Be.intercept_=function(it){return vs(this,it)},Be.observe_=function(it,Qt){return Qt===void 0&&(Qt=!1),Qt&&it({observableKind:\"array\",object:this.proxy_,debugObjectName:this.atom_.name_,type:\"splice\",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),Ja(this,it)},Be.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},Be.setArrayLength_=function(it){(typeof it!=\"number\"||isNaN(it)||it<0)&&N(\"Out of range: \"+it);var Qt=this.values_.length;if(it!==Qt)if(it>Qt){for(var qn=new Array(it-Qt),Tr=0;Tr<it-Qt;Tr++)qn[Tr]=void 0;this.spliceWithArray_(Qt,0,qn)}else this.spliceWithArray_(it,Qt-it)},Be.updateArrayLength_=function(it,Qt){it!==this.lastKnownLength_&&N(16),this.lastKnownLength_+=Qt,this.legacyMode_&&Qt>0&&rc(it+Qt+1)},Be.spliceWithArray_=function(it,Qt,qn){var Tr=this;wr(this.atom_);var bo=this.values_.length;if(it===void 0?it=0:it>bo?it=bo:it<0&&(it=Math.max(0,bo+it)),arguments.length===1?Qt=bo-it:Qt==null?Qt=0:Qt=Math.max(0,Math.min(Qt,bo-it)),qn===void 0&&(qn=a),Li(this)){var Ko=Ca(this,{object:this.proxy_,type:ze,index:it,removedCount:Qt,added:qn});if(!Ko)return a;Qt=Ko.removedCount,qn=Ko.added}if(qn=qn.length===0?qn:qn.map(function(ja){return Tr.enhancer_(ja,void 0)}),this.legacyMode_){var Mi=qn.length-Qt;this.updateArrayLength_(bo,Mi)}var Hi=this.spliceItemsIntoValues_(it,Qt,qn);return(Qt!==0||qn.length!==0)&&this.notifyArraySplice_(it,qn,Hi),this.dehanceValues_(Hi)},Be.spliceItemsIntoValues_=function(it,Qt,qn){if(qn.length<_t){var Tr;return(Tr=this.values_).splice.apply(Tr,[it,Qt].concat(qn))}else{var bo=this.values_.slice(it,it+Qt),Ko=this.values_.slice(it+Qt);this.values_.length+=qn.length-Qt;for(var Mi=0;Mi<qn.length;Mi++)this.values_[it+Mi]=qn[Mi];for(var Hi=0;Hi<Ko.length;Hi++)this.values_[it+qn.length+Hi]=Ko[Hi];return bo}},Be.notifyArrayChildUpdate_=function(it,Qt,qn){var Tr=!this.owned_&&ke(),bo=ra(this),Ko=bo||Tr?{observableKind:\"array\",object:this.proxy_,type:ut,debugObjectName:this.atom_.name_,index:it,newValue:Qt,oldValue:qn}:null;this.atom_.reportChanged(),bo&&qa(this,Ko)},Be.notifyArraySplice_=function(it,Qt,qn){var Tr=!this.owned_&&ke(),bo=ra(this),Ko=bo||Tr?{observableKind:\"array\",object:this.proxy_,debugObjectName:this.atom_.name_,type:ze,index:it,removed:qn,added:Qt,removedCount:qn.length,addedCount:Qt.length}:null;this.atom_.reportChanged(),bo&&qa(this,Ko)},Be.get_=function(it){if(this.legacyMode_&&it>=this.values_.length){console.warn(\"[mobx] Out of bounds read: \"+it);return}return this.atom_.reportObserved(),this.dehanceValue_(this.values_[it])},Be.set_=function(it,Qt){var qn=this.values_;if(this.legacyMode_&&it>qn.length&&N(17,it,qn.length),it<qn.length){wr(this.atom_);var Tr=qn[it];if(Li(this)){var bo=Ca(this,{type:ut,object:this.proxy_,index:it,newValue:Qt});if(!bo)return;Qt=bo.newValue}Qt=this.enhancer_(Qt,Tr);var Ko=Qt!==Tr;Ko&&(qn[it]=Qt,this.notifyArrayChildUpdate_(it,Qt,Tr))}else{for(var Mi=new Array(it+1-qn.length),Hi=0;Hi<Mi.length-1;Hi++)Mi[Hi]=void 0;Mi[Mi.length-1]=Qt,this.spliceWithArray_(qn.length,0,Mi)}},le}();function wn(le,Be,st,it){st===void 0&&(st=\"ObservableArray\"),it===void 0&&(it=!1),s();var Qt=new $t(st,Be,it,!1);me(Qt.values_,Fe,Qt);var qn=new Proxy(Qt.values_,Ht);if(Qt.proxy_=qn,le&&le.length){var Tr=Re(!0);Qt.spliceWithArray_(0,0,le),je(Tr)}return qn}var On={clear:function(){return this.splice(0)},replace:function(Be){var st=this[Fe];return st.spliceWithArray_(0,st.values_.length,Be)},toJSON:function(){return this.slice()},splice:function(Be,st){for(var it=arguments.length,Qt=new Array(it>2?it-2:0),qn=2;qn<it;qn++)Qt[qn-2]=arguments[qn];var Tr=this[Fe];switch(arguments.length){case 0:return[];case 1:return Tr.spliceWithArray_(Be);case 2:return Tr.spliceWithArray_(Be,st)}return Tr.spliceWithArray_(Be,st,Qt)},spliceWithArray:function(Be,st,it){return this[Fe].spliceWithArray_(Be,st,it)},push:function(){for(var Be=this[Fe],st=arguments.length,it=new Array(st),Qt=0;Qt<st;Qt++)it[Qt]=arguments[Qt];return Be.spliceWithArray_(Be.values_.length,0,it),Be.values_.length},pop:function(){return this.splice(Math.max(this[Fe].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var Be=this[Fe],st=arguments.length,it=new Array(st),Qt=0;Qt<st;Qt++)it[Qt]=arguments[Qt];return Be.spliceWithArray_(0,0,it),Be.values_.length},reverse:function(){return ct.trackingDerivation&&N(37,\"reverse\"),this.replace(this.slice().reverse()),this},sort:function(){ct.trackingDerivation&&N(37,\"sort\");var Be=this.slice();return Be.sort.apply(Be,arguments),this.replace(Be),this},remove:function(Be){var st=this[Fe],it=st.dehanceValues_(st.values_).indexOf(Be);return it>-1?(this.splice(it,1),!0):!1}};$n(\"concat\",gr),$n(\"flat\",gr),$n(\"includes\",gr),$n(\"indexOf\",gr),$n(\"join\",gr),$n(\"lastIndexOf\",gr),$n(\"slice\",gr),$n(\"toString\",gr),$n(\"toLocaleString\",gr),$n(\"every\",Fr),$n(\"filter\",Fr),$n(\"find\",Fr),$n(\"findIndex\",Fr),$n(\"flatMap\",Fr),$n(\"forEach\",Fr),$n(\"map\",Fr),$n(\"some\",Fr),$n(\"reduce\",Qr),$n(\"reduceRight\",Qr);function $n(le,Be){typeof Array.prototype[le]==\"function\"&&(On[le]=Be(le))}function gr(le){return function(){var Be=this[Fe];Be.atom_.reportObserved();var st=Be.dehanceValues_(Be.values_);return st[le].apply(st,arguments)}}function Fr(le){return function(Be,st){var it=this,Qt=this[Fe];Qt.atom_.reportObserved();var qn=Qt.dehanceValues_(Qt.values_);return qn[le](function(Tr,bo){return Be.call(st,Tr,bo,it)})}}function Qr(le){return function(){var Be=this,st=this[Fe];st.atom_.reportObserved();var it=st.dehanceValues_(st.values_),Qt=arguments[0];return arguments[0]=function(qn,Tr,bo){return Qt(qn,Tr,bo,Be)},it[le].apply(it,arguments)}}var qr=Te(\"ObservableArrayAdministration\",$t);function mo(le){return A(le)&&qr(le[Fe])}var Ho,fo,ei={},ea=\"add\",Xi=\"delete\";Ho=Symbol.iterator,fo=Symbol.toStringTag;var hi=function(){function le(st,it,Qt){var qn=this;it===void 0&&(it=an),Qt===void 0&&(Qt=\"ObservableMap\"),this.enhancer_=void 0,this.name_=void 0,this[Fe]=ei,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=it,this.name_=Qt,j(Map)||N(18),this.keysAtom_=Lt(\"ObservableMap.keys()\"),this.data_=new Map,this.hasMap_=new Map,br(!0,function(){qn.merge(st)})}var Be=le.prototype;return Be.has_=function(it){return this.data_.has(it)},Be.has=function(it){var Qt=this;if(!ct.trackingDerivation)return this.has_(it);var qn=this.hasMap_.get(it);if(!qn){var Tr=qn=new Xt(this.has_(it),Ft,\"ObservableMap.key?\",!1);this.hasMap_.set(it,Tr),uo(Tr,function(){return Qt.hasMap_.delete(it)})}return qn.get()},Be.set=function(it,Qt){var qn=this.has_(it);if(Li(this)){var Tr=Ca(this,{type:qn?ut:ea,object:this,newValue:Qt,name:it});if(!Tr)return this;Qt=Tr.newValue}return qn?this.updateValue_(it,Qt):this.addValue_(it,Qt),this},Be.delete=function(it){var Qt=this;if(wr(this.keysAtom_),Li(this)){var qn=Ca(this,{type:Xi,object:this,name:it});if(!qn)return!1}if(this.has_(it)){var Tr=ke(),bo=ra(this),Ko=bo||Tr?{observableKind:\"map\",debugObjectName:this.name_,type:Xi,object:this,oldValue:this.data_.get(it).value_,name:it}:null;return di(function(){var Mi;Qt.keysAtom_.reportChanged(),(Mi=Qt.hasMap_.get(it))==null||Mi.setNewValue_(!1);var Hi=Qt.data_.get(it);Hi.setNewValue_(void 0),Qt.data_.delete(it)}),bo&&qa(this,Ko),!0}return!1},Be.updateValue_=function(it,Qt){var qn=this.data_.get(it);if(Qt=qn.prepareNewValue_(Qt),Qt!==ct.UNCHANGED){var Tr=ke(),bo=ra(this),Ko=bo||Tr?{observableKind:\"map\",debugObjectName:this.name_,type:ut,object:this,oldValue:qn.value_,name:it,newValue:Qt}:null;qn.setNewValue_(Qt),bo&&qa(this,Ko)}},Be.addValue_=function(it,Qt){var qn=this;wr(this.keysAtom_),di(function(){var Mi,Hi=new Xt(Qt,qn.enhancer_,\"ObservableMap.key\",!1);qn.data_.set(it,Hi),Qt=Hi.value_,(Mi=qn.hasMap_.get(it))==null||Mi.setNewValue_(!0),qn.keysAtom_.reportChanged()});var Tr=ke(),bo=ra(this),Ko=bo||Tr?{observableKind:\"map\",debugObjectName:this.name_,type:ea,object:this,name:it,newValue:Qt}:null;bo&&qa(this,Ko)},Be.get=function(it){return this.has(it)?this.dehanceValue_(this.data_.get(it).get()):this.dehanceValue_(void 0)},Be.dehanceValue_=function(it){return this.dehancer!==void 0?this.dehancer(it):it},Be.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},Be.values=function(){var it=this,Qt=this.keys();return Yu({next:function(){var Tr=Qt.next(),bo=Tr.done,Ko=Tr.value;return{done:bo,value:bo?void 0:it.get(Ko)}}})},Be.entries=function(){var it=this,Qt=this.keys();return Yu({next:function(){var Tr=Qt.next(),bo=Tr.done,Ko=Tr.value;return{done:bo,value:bo?void 0:[Ko,it.get(Ko)]}}})},Be[Ho]=function(){return this.entries()},Be.forEach=function(it,Qt){for(var qn=_e(this),Tr;!(Tr=qn()).done;){var bo=Tr.value,Ko=bo[0],Mi=bo[1];it.call(Qt,Mi,Ko,this)}},Be.merge=function(it){var Qt=this;return Yo(it)&&(it=new Map(it)),di(function(){J(it)?Le(it).forEach(function(qn){return Qt.set(qn,it[qn])}):Array.isArray(it)?it.forEach(function(qn){var Tr=qn[0],bo=qn[1];return Qt.set(Tr,bo)}):ee(it)?(it.constructor!==Map&&N(19,it),it.forEach(function(qn,Tr){return Qt.set(Tr,qn)})):it!=null&&N(20,it)}),this},Be.clear=function(){var it=this;di(function(){No(function(){for(var Qt=_e(it.keys()),qn;!(qn=Qt()).done;){var Tr=qn.value;it.delete(Tr)}})})},Be.replace=function(it){var Qt=this;return di(function(){for(var qn=Bi(it),Tr=new Map,bo=!1,Ko=_e(Qt.data_.keys()),Mi;!(Mi=Ko()).done;){var Hi=Mi.value;if(!qn.has(Hi)){var ja=Qt.delete(Hi);if(ja)bo=!0;else{var ms=Qt.data_.get(Hi);Tr.set(Hi,ms)}}}for(var Ps=_e(qn.entries()),fu;!(fu=Ps()).done;){var qs=fu.value,Ya=qs[0],Nu=qs[1],ru=Qt.data_.has(Ya);if(Qt.set(Ya,Nu),Qt.data_.has(Ya)){var mu=Qt.data_.get(Ya);Tr.set(Ya,mu),ru||(bo=!0)}}if(!bo)if(Qt.data_.size!==Tr.size)Qt.keysAtom_.reportChanged();else for(var Zs=Qt.data_.keys(),cs=Tr.keys(),Xs=Zs.next(),yu=cs.next();!Xs.done;){if(Xs.value!==yu.value){Qt.keysAtom_.reportChanged();break}Xs=Zs.next(),yu=cs.next()}Qt.data_=Tr}),this},Be.toString=function(){return\"[object ObservableMap]\"},Be.toJSON=function(){return Array.from(this)},Be.observe_=function(it,Qt){return Ja(this,it)},Be.intercept_=function(it){return vs(this,it)},he(le,[{key:\"size\",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:fo,get:function(){return\"Map\"}}]),le}(),Yo=Te(\"ObservableMap\",hi);function Bi(le){if(ee(le)||Yo(le))return le;if(Array.isArray(le))return new Map(le);if(J(le)){var Be=new Map;for(var st in le)Be.set(st,le[st]);return Be}else return N(21,le)}var _a,wa,Ia={};_a=Symbol.iterator,wa=Symbol.toStringTag;var tr=function(){function le(st,it,Qt){it===void 0&&(it=an),Qt===void 0&&(Qt=\"ObservableSet\"),this.name_=void 0,this[Fe]=Ia,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=Qt,j(Set)||N(22),this.atom_=Lt(this.name_),this.enhancer_=function(qn,Tr){return it(qn,Tr,Qt)},st&&this.replace(st)}var Be=le.prototype;return Be.dehanceValue_=function(it){return this.dehancer!==void 0?this.dehancer(it):it},Be.clear=function(){var it=this;di(function(){No(function(){for(var Qt=_e(it.data_.values()),qn;!(qn=Qt()).done;){var Tr=qn.value;it.delete(Tr)}})})},Be.forEach=function(it,Qt){for(var qn=_e(this),Tr;!(Tr=qn()).done;){var bo=Tr.value;it.call(Qt,bo,bo,this)}},Be.add=function(it){var Qt=this;if(wr(this.atom_),Li(this)){var qn=Ca(this,{type:ea,object:this,newValue:it});if(!qn)return this}if(!this.has(it)){di(function(){Qt.data_.add(Qt.enhancer_(it,void 0)),Qt.atom_.reportChanged()});var Tr=!1,bo=ra(this),Ko=bo||Tr?{observableKind:\"set\",debugObjectName:this.name_,type:ea,object:this,newValue:it}:null;bo&&qa(this,Ko)}return this},Be.delete=function(it){var Qt=this;if(Li(this)){var qn=Ca(this,{type:Xi,object:this,oldValue:it});if(!qn)return!1}if(this.has(it)){var Tr=!1,bo=ra(this),Ko=bo||Tr?{observableKind:\"set\",debugObjectName:this.name_,type:Xi,object:this,oldValue:it}:null;return di(function(){Qt.atom_.reportChanged(),Qt.data_.delete(it)}),bo&&qa(this,Ko),!0}return!1},Be.has=function(it){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(it))},Be.entries=function(){var it=0,Qt=Array.from(this.keys()),qn=Array.from(this.values());return Yu({next:function(){var bo=it;return it+=1,bo<qn.length?{value:[Qt[bo],qn[bo]],done:!1}:{done:!0}}})},Be.keys=function(){return this.values()},Be.values=function(){this.atom_.reportObserved();var it=this,Qt=0,qn=Array.from(this.data_.values());return Yu({next:function(){return Qt<qn.length?{value:it.dehanceValue_(qn[Qt++]),done:!1}:{done:!0}}})},Be.replace=function(it){var Qt=this;return Sa(it)&&(it=new Set(it)),di(function(){Array.isArray(it)?(Qt.clear(),it.forEach(function(qn){return Qt.add(qn)})):xe(it)?(Qt.clear(),it.forEach(function(qn){return Qt.add(qn)})):it!=null&&N(\"Cannot initialize set from \"+it)}),this},Be.observe_=function(it,Qt){return Ja(this,it)},Be.intercept_=function(it){return vs(this,it)},Be.toJSON=function(){return Array.from(this)},Be.toString=function(){return\"[object ObservableSet]\"},Be[_a]=function(){return this.values()},he(le,[{key:\"size\",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:wa,get:function(){return\"Set\"}}]),le}(),Sa=Te(\"ObservableSet\",tr),Ta=Object.create(null),ga=\"remove\",Fi=function(){function le(st,it,Qt,qn){it===void 0&&(it=new Map),qn===void 0&&(qn=Rn),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=st,this.values_=it,this.name_=Qt,this.defaultAnnotation_=qn,this.keysAtom_=new mt(\"ObservableObject.keys\"),this.isPlainObject_=J(this.target_)}var Be=le.prototype;return Be.getObservablePropValue_=function(it){return this.values_.get(it).get()},Be.setObservablePropValue_=function(it,Qt){var qn=this.values_.get(it);if(qn instanceof Yn)return qn.set(Qt),!0;if(Li(this)){var Tr=Ca(this,{type:ut,object:this.proxy_||this.target_,name:it,newValue:Qt});if(!Tr)return null;Qt=Tr.newValue}if(Qt=qn.prepareNewValue_(Qt),Qt!==ct.UNCHANGED){var bo=ra(this),Ko=!1,Mi=bo||Ko?{type:ut,observableKind:\"object\",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:qn.value_,name:it,newValue:Qt}:null;qn.setNewValue_(Qt),bo&&qa(this,Mi)}return!0},Be.get_=function(it){return ct.trackingDerivation&&!Oe(this.target_,it)&&this.has_(it),this.target_[it]},Be.set_=function(it,Qt,qn){return qn===void 0&&(qn=!1),Oe(this.target_,it)?this.values_.has(it)?this.setObservablePropValue_(it,Qt):qn?Reflect.set(this.target_,it,Qt):(this.target_[it]=Qt,!0):this.extend_(it,{value:Qt,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,qn)},Be.has_=function(it){if(!ct.trackingDerivation)return it in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var Qt=this.pendingKeys_.get(it);return Qt||(Qt=new Xt(it in this.target_,Ft,\"ObservableObject.key?\",!1),this.pendingKeys_.set(it,Qt)),Qt.get()},Be.make_=function(it,Qt){if(Qt===!0&&(Qt=this.defaultAnnotation_),Qt!==!1){if(Wa(this,Qt,it),!(it in this.target_)){var qn;if((qn=this.target_[we])!=null&&qn[it])return;N(1,Qt.annotationType_,this.name_+\".\"+it.toString())}for(var Tr=this.target_;Tr&&Tr!==u;){var bo=b(Tr,it);if(bo){var Ko=Qt.make_(this,it,bo,Tr);if(Ko===0)return;if(Ko===1)break}Tr=Object.getPrototypeOf(Tr)}gs(this,Qt,it)}},Be.extend_=function(it,Qt,qn,Tr){if(Tr===void 0&&(Tr=!1),qn===!0&&(qn=this.defaultAnnotation_),qn===!1)return this.defineProperty_(it,Qt,Tr);Wa(this,qn,it);var bo=qn.extend_(this,it,Qt,Tr);return bo&&gs(this,qn,it),bo},Be.defineProperty_=function(it,Qt,qn){qn===void 0&&(qn=!1);try{Pr();var Tr=this.delete_(it);if(!Tr)return Tr;if(Li(this)){var bo=Ca(this,{object:this.proxy_||this.target_,name:it,type:ea,newValue:Qt.value});if(!bo)return null;var Ko=bo.newValue;Qt.value!==Ko&&(Qt=ie({},Qt,{value:Ko}))}if(qn){if(!Reflect.defineProperty(this.target_,it,Qt))return!1}else p(this.target_,it,Qt);this.notifyPropertyAddition_(it,Qt.value)}finally{Xr()}return!0},Be.defineObservableProperty_=function(it,Qt,qn,Tr){Tr===void 0&&(Tr=!1);try{Pr();var bo=this.delete_(it);if(!bo)return bo;if(Li(this)){var Ko=Ca(this,{object:this.proxy_||this.target_,name:it,type:ea,newValue:Qt});if(!Ko)return null;Qt=Ko.newValue}var Mi=zs(it),Hi={configurable:ct.safeDescriptors?this.isPlainObject_:!0,enumerable:!0,get:Mi.get,set:Mi.set};if(Tr){if(!Reflect.defineProperty(this.target_,it,Hi))return!1}else p(this.target_,it,Hi);var ja=new Xt(Qt,qn,\"ObservableObject.key\",!1);this.values_.set(it,ja),this.notifyPropertyAddition_(it,ja.value_)}finally{Xr()}return!0},Be.defineComputedProperty_=function(it,Qt,qn){qn===void 0&&(qn=!1);try{Pr();var Tr=this.delete_(it);if(!Tr)return Tr;if(Li(this)){var bo=Ca(this,{object:this.proxy_||this.target_,name:it,type:ea,newValue:void 0});if(!bo)return null}Qt.name||(Qt.name=\"ObservableObject.key\"),Qt.context=this.proxy_||this.target_;var Ko=zs(it),Mi={configurable:ct.safeDescriptors?this.isPlainObject_:!0,enumerable:!1,get:Ko.get,set:Ko.set};if(qn){if(!Reflect.defineProperty(this.target_,it,Mi))return!1}else p(this.target_,it,Mi);this.values_.set(it,new Yn(Qt)),this.notifyPropertyAddition_(it,void 0)}finally{Xr()}return!0},Be.delete_=function(it,Qt){if(Qt===void 0&&(Qt=!1),!Oe(this.target_,it))return!0;if(Li(this)){var qn=Ca(this,{object:this.proxy_||this.target_,name:it,type:ga});if(!qn)return null}try{var Tr,bo;Pr();var Ko=ra(this),Mi=!1,Hi=this.values_.get(it),ja=void 0;if(!Hi&&(Ko||Mi)){var ms;ja=(ms=b(this.target_,it))==null?void 0:ms.value}if(Qt){if(!Reflect.deleteProperty(this.target_,it))return!1}else delete this.target_[it];if(Hi&&(this.values_.delete(it),Hi instanceof Xt&&(ja=Hi.value_),io(Hi)),this.keysAtom_.reportChanged(),(Tr=this.pendingKeys_)==null||(bo=Tr.get(it))==null||bo.set(it in this.target_),Ko||Mi){var Ps={type:ga,observableKind:\"object\",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:ja,name:it};Ko&&qa(this,Ps)}}finally{Xr()}return!0},Be.observe_=function(it,Qt){return Ja(this,it)},Be.intercept_=function(it){return vs(this,it)},Be.notifyPropertyAddition_=function(it,Qt){var qn,Tr,bo=ra(this),Ko=!1;if(bo||Ko){var Mi=bo||Ko?{type:ea,observableKind:\"object\",debugObjectName:this.name_,object:this.proxy_||this.target_,name:it,newValue:Qt}:null;bo&&qa(this,Mi)}(qn=this.pendingKeys_)==null||(Tr=qn.get(it))==null||Tr.set(!0),this.keysAtom_.reportChanged()},Be.ownKeys_=function(){return this.keysAtom_.reportObserved(),De(this.target_)},Be.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},le}();function Cs(le,Be){var st;if(Oe(le,Fe))return le;var it=(st=Be==null?void 0:Be.name)!=null?st:\"ObservableObject\",Qt=new Fi(le,new Map,String(it),Zi(Be));return re(le,Fe,Qt),le}var yn=Te(\"ObservableObjectAdministration\",Fi);function zs(le){return Ta[le]||(Ta[le]={get:function(){return this[Fe].getObservablePropValue_(le)},set:function(st){return this[Fe].setObservablePropValue_(le,st)}})}function ds(le){return A(le)?yn(le[Fe]):!1}function gs(le,Be,st){var it;(it=le.target_[we])==null||delete it[st]}function Wa(le,Be,st){if(!1)var it,Qt,qn}var Ac=Yc(0),Gs=0,Tc=function(){};function pu(le,Be){Object.setPrototypeOf?Object.setPrototypeOf(le.prototype,Be):le.prototype.__proto__!==void 0?le.prototype.__proto__=Be:le.prototype=Be}pu(Tc,Array.prototype);var Pc=function(le,Be,st){ae(it,le);function it(qn,Tr,bo,Ko){var Mi;bo===void 0&&(bo=\"ObservableArray\"),Ko===void 0&&(Ko=!1),Mi=le.call(this)||this;var Hi=new $t(bo,Tr,Ko,!0);if(Hi.proxy_=X(Mi),me(X(Mi),Fe,Hi),qn&&qn.length){var ja=Re(!0);Mi.spliceWithArray(0,0,qn),je(ja)}return Object.defineProperty(X(Mi),\"0\",Ac),Mi}var Qt=it.prototype;return Qt.concat=function(){this[Fe].atom_.reportObserved();for(var Tr=arguments.length,bo=new Array(Tr),Ko=0;Ko<Tr;Ko++)bo[Ko]=arguments[Ko];return Array.prototype.concat.apply(this.slice(),bo.map(function(Mi){return mo(Mi)?Mi.slice():Mi}))},Qt[st]=function(){var qn=this,Tr=0;return Yu({next:function(){return Tr<qn.length?{value:qn[Tr++],done:!1}:{done:!0,value:void 0}}})},he(it,[{key:\"length\",get:function(){return this[Fe].getArrayLength_()},set:function(Tr){this[Fe].setArrayLength_(Tr)}},{key:Be,get:function(){return\"Array\"}}]),it}(Tc,Symbol.toStringTag,Symbol.iterator);Object.entries(On).forEach(function(le){var Be=le[0],st=le[1];Be!==\"concat\"&&re(Pc.prototype,Be,st)});function Yc(le){return{enumerable:!1,configurable:!0,get:function(){return this[Fe].get_(le)},set:function(st){this[Fe].set_(le,st)}}}function Kc(le){p(Pc.prototype,\"\"+le,Yc(le))}function rc(le){if(le>Gs){for(var Be=Gs;Be<le+100;Be++)Kc(Be);Gs=le}}rc(1e3);function qc(le,Be,st){return new Pc(le,Be,st)}function Ns(le,Be){if(typeof le==\"object\"&&le!==null){if(mo(le))return Be!==void 0&&N(23),le[Fe].atom_;if(Sa(le))return le.atom_;if(Yo(le)){if(Be===void 0)return le.keysAtom_;var st=le.data_.get(Be)||le.hasMap_.get(Be);return st||N(25,Be,yc(le)),st}if(ds(le)){if(!Be)return N(26);var it=le[Fe].values_.get(Be);return it||N(27,Be,yc(le)),it}if(dt(le)||Ae(le)||U(le))return le}else if(j(le)&&U(le[Fe]))return le[Fe];N(28)}function Au(le,Be){if(le||N(29),Be!==void 0)return Au(Ns(le,Be));if(dt(le)||Ae(le)||U(le)||Yo(le)||Sa(le))return le;if(le[Fe])return le[Fe];N(24,le)}function yc(le,Be){var st;if(Be!==void 0)st=Ns(le,Be);else{if(_n(le))return le.name;ds(le)||Yo(le)||Sa(le)?st=Au(le):st=Ns(le)}return st.name_}var gu=u.toString;function bc(le,Be,st){return st===void 0&&(st=-1),Ic(le,Be,st)}function Ic(le,Be,st,it,Qt){if(le===Be)return le!==0||1/le===1/Be;if(le==null||Be==null)return!1;if(le!==le)return Be!==Be;var qn=typeof le;if(qn!==\"function\"&&qn!==\"object\"&&typeof Be!=\"object\")return!1;var Tr=gu.call(le);if(Tr!==gu.call(Be))return!1;switch(Tr){case\"[object RegExp]\":case\"[object String]\":return\"\"+le==\"\"+Be;case\"[object Number]\":return+le!=+le?+Be!=+Be:+le==0?1/+le===1/Be:+le==+Be;case\"[object Date]\":case\"[object Boolean]\":return+le==+Be;case\"[object Symbol]\":return typeof Symbol!=\"undefined\"&&Symbol.valueOf.call(le)===Symbol.valueOf.call(Be);case\"[object Map]\":case\"[object Set]\":st>=0&&st++;break}le=vu(le),Be=vu(Be);var bo=Tr===\"[object Array]\";if(!bo){if(typeof le!=\"object\"||typeof Be!=\"object\")return!1;var Ko=le.constructor,Mi=Be.constructor;if(Ko!==Mi&&!(j(Ko)&&Ko instanceof Ko&&j(Mi)&&Mi instanceof Mi)&&\"constructor\"in le&&\"constructor\"in Be)return!1}if(st===0)return!1;st<0&&(st=-1),it=it||[],Qt=Qt||[];for(var Hi=it.length;Hi--;)if(it[Hi]===le)return Qt[Hi]===Be;if(it.push(le),Qt.push(Be),bo){if(Hi=le.length,Hi!==Be.length)return!1;for(;Hi--;)if(!Ic(le[Hi],Be[Hi],st-1,it,Qt))return!1}else{var ja=Object.keys(le),ms;if(Hi=ja.length,Object.keys(Be).length!==Hi)return!1;for(;Hi--;)if(ms=ja[Hi],!(Oe(Be,ms)&&Ic(le[ms],Be[ms],st-1,it,Qt)))return!1}return it.pop(),Qt.pop(),!0}function vu(le){return mo(le)?le.slice():ee(le)||Yo(le)||xe(le)||Sa(le)?Array.from(le.entries()):le}function Yu(le){return le[Symbol.iterator]=oc,le}function oc(){return this}function kc(le){return le instanceof Object&&typeof le.annotationType_==\"string\"&&j(le.make_)&&j(le.extend_)}[\"Symbol\",\"Map\",\"Set\"].forEach(function(le){var Be=w();typeof Be[le]==\"undefined\"&&N(\"MobX requires global '\"+le+\"' to be available or polyfilled\")}),typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__==\"object\"&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:jt,extras:{getDebugName:yc},$mobx:Fe})},11375:function(Pt,Ee,c){var r=c(14224);(function(){var y,N,C,w,O,b;typeof performance!=\"undefined\"&&performance!==null&&performance.now?Pt.exports=function(){return performance.now()}:typeof r!=\"undefined\"&&r!==null&&r.hrtime?(Pt.exports=function(){return(y()-O)/1e6},N=r.hrtime,y=function(){var p;return p=N(),p[0]*1e9+p[1]},w=y(),b=r.uptime()*1e9,O=w-b):Date.now?(Pt.exports=function(){return Date.now()-C},C=Date.now()):(Pt.exports=function(){return new Date().getTime()-C},C=new Date().getTime())}).call(this)},64275:function(Pt){var Ee=null,c=[\"Webkit\",\"Moz\",\"O\",\"ms\"];Pt.exports=function(y){Ee||(Ee=document.createElement(\"div\"));var N=Ee.style;if(y in N)return y;for(var C=y.charAt(0).toUpperCase()+y.slice(1),w=c.length;w>=0;w--){var O=c[w]+C;if(O in N)return O}return!1}},19616:function(Pt,Ee,c){for(var r=c(11375),y=typeof window==\"undefined\"?c.g:window,N=[\"moz\",\"webkit\"],C=\"AnimationFrame\",w=y[\"request\"+C],O=y[\"cancel\"+C]||y[\"cancelRequest\"+C],b=0;!w&&b<N.length;b++)w=y[N[b]+\"Request\"+C],O=y[N[b]+\"Cancel\"+C]||y[N[b]+\"CancelRequest\"+C];if(!w||!O){var p=0,u=0,a=[],f=1e3/60;w=function(h){if(a.length===0){var l=r(),s=Math.max(0,f-(l-p));p=s+l,setTimeout(function(){var m=a.slice(0);a.length=0;for(var x=0;x<m.length;x++)if(!m[x].cancelled)try{m[x].callback(p)}catch(M){setTimeout(function(){throw M},0)}},Math.round(s))}return a.push({handle:++u,callback:h,cancelled:!1}),u},O=function(h){for(var l=0;l<a.length;l++)a[l].handle===h&&(a[l].cancelled=!0)}}Pt.exports=function(h){return w.call(y,h)},Pt.exports.cancel=function(){O.apply(y,arguments)},Pt.exports.polyfill=function(h){h||(h=y),h.requestAnimationFrame=w,h.cancelAnimationFrame=O}},61553:function(Pt,Ee,c){\"use strict\";c.d(Ee,{zb:function(){return M},RV:function(){return Vo}});var r=c(50959),y=c(51163),N=c(58733),C=c(24572),w=c(75782),O=c(49544),b=c(40936),p=c(49962),u=c(60790),a=c(39027),f=c(76614),h=c(16030),l=c(53675),s=\"RC_FORM_INTERNAL_HOOKS\",m=function(){(0,l.ZP)(!1,\"Can not find FormContext. Please make sure you wrap Field under Form.\")},x=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}}}),M=x,E=c(86698),j=c(99932),L=c(78450),A=c(14224);function J(){return J=Object.assign?Object.assign.bind():function(br){for(var Re=1;Re<arguments.length;Re++){var je=arguments[Re];for(var nt in je)Object.prototype.hasOwnProperty.call(je,nt)&&(br[nt]=je[nt])}return br},J.apply(this,arguments)}function q(br,Re){br.prototype=Object.create(Re.prototype),br.prototype.constructor=br,me(br,Re)}function re(br){return re=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(je){return je.__proto__||Object.getPrototypeOf(je)},re(br)}function me(br,Re){return me=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(nt,rt){return nt.__proto__=rt,nt},me(br,Re)}function Te(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(br){return!1}}function ee(br,Re,je){return Te()?ee=Reflect.construct.bind():ee=function(rt,Xt,fn){var Cn=[null];Cn.push.apply(Cn,Xt);var Yn=Function.bind.apply(rt,Cn),Ae=new Yn;return fn&&me(Ae,fn.prototype),Ae},ee.apply(null,arguments)}function xe(br){return Function.toString.call(br).indexOf(\"[native code]\")!==-1}function Ie(br){var Re=typeof Map==\"function\"?new Map:void 0;return Ie=function(nt){if(nt===null||!xe(nt))return nt;if(typeof nt!=\"function\")throw new TypeError(\"Super expression must either be null or a function\");if(typeof Re!=\"undefined\"){if(Re.has(nt))return Re.get(nt);Re.set(nt,rt)}function rt(){return ee(nt,arguments,re(this).constructor)}return rt.prototype=Object.create(nt.prototype,{constructor:{value:rt,enumerable:!1,writable:!0,configurable:!0}}),me(rt,nt)},Ie(br)}var Le=/%[sdj%]/g,De=function(){};function ce(br){if(!br||!br.length)return null;var Re={};return br.forEach(function(je){var nt=je.field;Re[nt]=Re[nt]||[],Re[nt].push(je)}),Re}function ye(br){for(var Re=arguments.length,je=new Array(Re>1?Re-1:0),nt=1;nt<Re;nt++)je[nt-1]=arguments[nt];var rt=0,Xt=je.length;if(typeof br==\"function\")return br.apply(null,je);if(typeof br==\"string\"){var fn=br.replace(Le,function(Cn){if(Cn===\"%%\")return\"%\";if(rt>=Xt)return Cn;switch(Cn){case\"%s\":return String(je[rt++]);case\"%d\":return Number(je[rt++]);case\"%j\":try{return JSON.stringify(je[rt++])}catch(Yn){return\"[Circular]\"}break;default:return Cn}});return fn}return br}function Oe(br){return br===\"string\"||br===\"url\"||br===\"hex\"||br===\"email\"||br===\"date\"||br===\"pattern\"}function Ce(br,Re){return!!(br==null||Re===\"array\"&&Array.isArray(br)&&!br.length||Oe(Re)&&typeof br==\"string\"&&!br)}function oe(br,Re,je){var nt=[],rt=0,Xt=br.length;function fn(Cn){nt.push.apply(nt,Cn||[]),rt++,rt===Xt&&je(nt)}br.forEach(function(Cn){Re(Cn,fn)})}function he(br,Re,je){var nt=0,rt=br.length;function Xt(fn){if(fn&&fn.length){je(fn);return}var Cn=nt;nt=nt+1,Cn<rt?Re(br[Cn],Xt):je([])}Xt([])}function ie(br){var Re=[];return Object.keys(br).forEach(function(je){Re.push.apply(Re,br[je]||[])}),Re}var ae=function(br){q(Re,br);function Re(je,nt){var rt;return rt=br.call(this,\"Async Validation Error\")||this,rt.errors=je,rt.fields=nt,rt}return Re}(Ie(Error));function ve(br,Re,je,nt,rt){if(Re.first){var Xt=new Promise(function(Ut,kn){var Zn=function(Dr){return nt(Dr),Dr.length?kn(new ae(Dr,ce(Dr))):Ut(rt)},lr=ie(br);he(lr,je,Zn)});return Xt.catch(function(Ut){return Ut}),Xt}var fn=Re.firstFields===!0?Object.keys(br):Re.firstFields||[],Cn=Object.keys(br),Yn=Cn.length,Ae=0,Ke=[],Mt=new Promise(function(Ut,kn){var Zn=function(wr){if(Ke.push.apply(Ke,wr),Ae++,Ae===Yn)return nt(Ke),Ke.length?kn(new ae(Ke,ce(Ke))):Ut(rt)};Cn.length||(nt(Ke),Ut(rt)),Cn.forEach(function(lr){var wr=br[lr];fn.indexOf(lr)!==-1?he(wr,je,Zn):oe(wr,je,Zn)})});return Mt.catch(function(Ut){return Ut}),Mt}function X(br){return!!(br&&br.message!==void 0)}function se(br,Re){for(var je=br,nt=0;nt<Re.length;nt++){if(je==null)return je;je=je[Re[nt]]}return je}function fe(br,Re){return function(je){var nt;return br.fullFields?nt=se(Re,br.fullFields):nt=Re[je.field||br.fullField],X(je)?(je.field=je.field||br.fullField,je.fieldValue=nt,je):{message:typeof je==\"function\"?je():je,fieldValue:nt,field:je.field||br.fullField}}}function _e(br,Re){if(Re){for(var je in Re)if(Re.hasOwnProperty(je)){var nt=Re[je];typeof nt==\"object\"&&typeof br[je]==\"object\"?br[je]=J({},br[je],nt):br[je]=nt}}return br}var be=function(Re,je,nt,rt,Xt,fn){Re.required&&(!nt.hasOwnProperty(Re.field)||Ce(je,fn||Re.type))&&rt.push(ye(Xt.messages.required,Re.fullField))},We=function(Re,je,nt,rt,Xt){(/^\\s+$/.test(je)||je===\"\")&&rt.push(ye(Xt.messages.whitespace,Re.fullField))},we,Ze=function(){if(we)return we;var br=\"[a-fA-F\\\\d:]\",Re=function(Jr){return Jr&&Jr.includeBoundaries?\"(?:(?<=\\\\s|^)(?=\"+br+\")|(?<=\"+br+\")(?=\\\\s|$))\":\"\"},je=\"(?: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}\",nt=\"[a-fA-F\\\\d]{1,4}\",rt=(`\n(?:\n(?:`+nt+\":){7}(?:\"+nt+`|:)|                                    // 1:2:3:4:5:6:7::  1:2:3:4:5:6:7:8\n(?:`+nt+\":){6}(?:\"+je+\"|:\"+nt+`|:)|                             // 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(?:`+nt+\":){5}(?::\"+je+\"|(?::\"+nt+`){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(?:`+nt+\":){4}(?:(?::\"+nt+\"){0,1}:\"+je+\"|(?::\"+nt+`){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(?:`+nt+\":){3}(?:(?::\"+nt+\"){0,2}:\"+je+\"|(?::\"+nt+`){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(?:`+nt+\":){2}(?:(?::\"+nt+\"){0,3}:\"+je+\"|(?::\"+nt+`){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(?:`+nt+\":){1}(?:(?::\"+nt+\"){0,4}:\"+je+\"|(?::\"+nt+`){1,6}|:)| // 1::              1::3:4:5:6:7:8   1::8            1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::`+nt+\"){0,5}:\"+je+\"|(?::\"+nt+`){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(),Xt=new RegExp(\"(?:^\"+je+\"$)|(?:^\"+rt+\"$)\"),fn=new RegExp(\"^\"+je+\"$\"),Cn=new RegExp(\"^\"+rt+\"$\"),Yn=function(Jr){return Jr&&Jr.exact?Xt:new RegExp(\"(?:\"+Re(Jr)+je+Re(Jr)+\")|(?:\"+Re(Jr)+rt+Re(Jr)+\")\",\"g\")};Yn.v4=function(Ir){return Ir&&Ir.exact?fn:new RegExp(\"\"+Re(Ir)+je+Re(Ir),\"g\")},Yn.v6=function(Ir){return Ir&&Ir.exact?Cn:new RegExp(\"\"+Re(Ir)+rt+Re(Ir),\"g\")};var Ae=\"(?:(?:[a-z]+:)?//)\",Ke=\"(?:\\\\S+(?::\\\\S*)?@)?\",Mt=Yn.v4().source,Ut=Yn.v6().source,kn=\"(?:(?:[a-z\\\\u00a1-\\\\uffff0-9][-_]*)*[a-z\\\\u00a1-\\\\uffff0-9]+)\",Zn=\"(?:\\\\.(?:[a-z\\\\u00a1-\\\\uffff0-9]-*)*[a-z\\\\u00a1-\\\\uffff0-9]+)*\",lr=\"(?:\\\\.(?:[a-z\\\\u00a1-\\\\uffff]{2,}))\",wr=\"(?::\\\\d{2,5})?\",Dr='(?:[/?#][^\\\\s\"]*)?',go=\"(?:\"+Ae+\"|www\\\\.)\"+Ke+\"(?:localhost|\"+Mt+\"|\"+Ut+\"|\"+kn+Zn+lr+\")\"+wr+Dr;return we=new RegExp(\"(?:^\"+go+\"$)\",\"i\"),we},Ve={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},et={integer:function(Re){return et.number(Re)&&parseInt(Re,10)===Re},float:function(Re){return et.number(Re)&&!et.integer(Re)},array:function(Re){return Array.isArray(Re)},regexp:function(Re){if(Re instanceof RegExp)return!0;try{return!!new RegExp(Re)}catch(je){return!1}},date:function(Re){return typeof Re.getTime==\"function\"&&typeof Re.getMonth==\"function\"&&typeof Re.getYear==\"function\"&&!isNaN(Re.getTime())},number:function(Re){return isNaN(Re)?!1:typeof Re==\"number\"},object:function(Re){return typeof Re==\"object\"&&!et.array(Re)},method:function(Re){return typeof Re==\"function\"},email:function(Re){return typeof Re==\"string\"&&Re.length<=320&&!!Re.match(Ve.email)},url:function(Re){return typeof Re==\"string\"&&Re.length<=2048&&!!Re.match(Ze())},hex:function(Re){return typeof Re==\"string\"&&!!Re.match(Ve.hex)}},ht=function(Re,je,nt,rt,Xt){if(Re.required&&je===void 0){be(Re,je,nt,rt,Xt);return}var fn=[\"integer\",\"float\",\"array\",\"regexp\",\"object\",\"method\",\"email\",\"number\",\"date\",\"url\",\"hex\"],Cn=Re.type;fn.indexOf(Cn)>-1?et[Cn](je)||rt.push(ye(Xt.messages.types[Cn],Re.fullField,Re.type)):Cn&&typeof je!==Re.type&&rt.push(ye(Xt.messages.types[Cn],Re.fullField,Re.type))},Fe=function(Re,je,nt,rt,Xt){var fn=typeof Re.len==\"number\",Cn=typeof Re.min==\"number\",Yn=typeof Re.max==\"number\",Ae=/[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g,Ke=je,Mt=null,Ut=typeof je==\"number\",kn=typeof je==\"string\",Zn=Array.isArray(je);if(Ut?Mt=\"number\":kn?Mt=\"string\":Zn&&(Mt=\"array\"),!Mt)return!1;Zn&&(Ke=je.length),kn&&(Ke=je.replace(Ae,\"_\").length),fn?Ke!==Re.len&&rt.push(ye(Xt.messages[Mt].len,Re.fullField,Re.len)):Cn&&!Yn&&Ke<Re.min?rt.push(ye(Xt.messages[Mt].min,Re.fullField,Re.min)):Yn&&!Cn&&Ke>Re.max?rt.push(ye(Xt.messages[Mt].max,Re.fullField,Re.max)):Cn&&Yn&&(Ke<Re.min||Ke>Re.max)&&rt.push(ye(Xt.messages[Mt].range,Re.fullField,Re.min,Re.max))},mt=\"enum\",dt=function(Re,je,nt,rt,Xt){Re[mt]=Array.isArray(Re[mt])?Re[mt]:[],Re[mt].indexOf(je)===-1&&rt.push(ye(Xt.messages[mt],Re.fullField,Re[mt].join(\", \")))},Lt=function(Re,je,nt,rt,Xt){if(Re.pattern){if(Re.pattern instanceof RegExp)Re.pattern.lastIndex=0,Re.pattern.test(je)||rt.push(ye(Xt.messages.pattern.mismatch,Re.fullField,je,Re.pattern));else if(typeof Re.pattern==\"string\"){var fn=new RegExp(Re.pattern);fn.test(je)||rt.push(ye(Xt.messages.pattern.mismatch,Re.fullField,je,Re.pattern))}}},lt={required:be,whitespace:We,type:ht,range:Fe,enum:dt,pattern:Lt},rn=function(Re,je,nt,rt,Xt){var fn=[],Cn=Re.required||!Re.required&&rt.hasOwnProperty(Re.field);if(Cn){if(Ce(je,\"string\")&&!Re.required)return nt();lt.required(Re,je,rt,fn,Xt,\"string\"),Ce(je,\"string\")||(lt.type(Re,je,rt,fn,Xt),lt.range(Re,je,rt,fn,Xt),lt.pattern(Re,je,rt,fn,Xt),Re.whitespace===!0&&lt.whitespace(Re,je,rt,fn,Xt))}nt(fn)},qt=function(Re,je,nt,rt,Xt){var fn=[],Cn=Re.required||!Re.required&&rt.hasOwnProperty(Re.field);if(Cn){if(Ce(je)&&!Re.required)return nt();lt.required(Re,je,rt,fn,Xt),je!==void 0&&lt.type(Re,je,rt,fn,Xt)}nt(fn)},hn=function(Re,je,nt,rt,Xt){var fn=[],Cn=Re.required||!Re.required&&rt.hasOwnProperty(Re.field);if(Cn){if(je===\"\"&&(je=void 0),Ce(je)&&!Re.required)return nt();lt.required(Re,je,rt,fn,Xt),je!==void 0&&(lt.type(Re,je,rt,fn,Xt),lt.range(Re,je,rt,fn,Xt))}nt(fn)},Kt=function(Re,je,nt,rt,Xt){var fn=[],Cn=Re.required||!Re.required&&rt.hasOwnProperty(Re.field);if(Cn){if(Ce(je)&&!Re.required)return nt();lt.required(Re,je,rt,fn,Xt),je!==void 0&&lt.type(Re,je,rt,fn,Xt)}nt(fn)},an=function(Re,je,nt,rt,Xt){var fn=[],Cn=Re.required||!Re.required&&rt.hasOwnProperty(Re.field);if(Cn){if(Ce(je)&&!Re.required)return nt();lt.required(Re,je,rt,fn,Xt),Ce(je)||lt.type(Re,je,rt,fn,Xt)}nt(fn)},In=function(Re,je,nt,rt,Xt){var fn=[],Cn=Re.required||!Re.required&&rt.hasOwnProperty(Re.field);if(Cn){if(Ce(je)&&!Re.required)return nt();lt.required(Re,je,rt,fn,Xt),je!==void 0&&(lt.type(Re,je,rt,fn,Xt),lt.range(Re,je,rt,fn,Xt))}nt(fn)},Ft=function(Re,je,nt,rt,Xt){var fn=[],Cn=Re.required||!Re.required&&rt.hasOwnProperty(Re.field);if(Cn){if(Ce(je)&&!Re.required)return nt();lt.required(Re,je,rt,fn,Xt),je!==void 0&&(lt.type(Re,je,rt,fn,Xt),lt.range(Re,je,rt,fn,Xt))}nt(fn)},kt=function(Re,je,nt,rt,Xt){var fn=[],Cn=Re.required||!Re.required&&rt.hasOwnProperty(Re.field);if(Cn){if(je==null&&!Re.required)return nt();lt.required(Re,je,rt,fn,Xt,\"array\"),je!=null&&(lt.type(Re,je,rt,fn,Xt),lt.range(Re,je,rt,fn,Xt))}nt(fn)},At=function(Re,je,nt,rt,Xt){var fn=[],Cn=Re.required||!Re.required&&rt.hasOwnProperty(Re.field);if(Cn){if(Ce(je)&&!Re.required)return nt();lt.required(Re,je,rt,fn,Xt),je!==void 0&&lt.type(Re,je,rt,fn,Xt)}nt(fn)},Fn=\"enum\",pn=function(Re,je,nt,rt,Xt){var fn=[],Cn=Re.required||!Re.required&&rt.hasOwnProperty(Re.field);if(Cn){if(Ce(je)&&!Re.required)return nt();lt.required(Re,je,rt,fn,Xt),je!==void 0&&lt[Fn](Re,je,rt,fn,Xt)}nt(fn)},en=function(Re,je,nt,rt,Xt){var fn=[],Cn=Re.required||!Re.required&&rt.hasOwnProperty(Re.field);if(Cn){if(Ce(je,\"string\")&&!Re.required)return nt();lt.required(Re,je,rt,fn,Xt),Ce(je,\"string\")||lt.pattern(Re,je,rt,fn,Xt)}nt(fn)},Wn=function(Re,je,nt,rt,Xt){var fn=[],Cn=Re.required||!Re.required&&rt.hasOwnProperty(Re.field);if(Cn){if(Ce(je,\"date\")&&!Re.required)return nt();if(lt.required(Re,je,rt,fn,Xt),!Ce(je,\"date\")){var Yn;je instanceof Date?Yn=je:Yn=new Date(je),lt.type(Re,Yn,rt,fn,Xt),Yn&&lt.range(Re,Yn.getTime(),rt,fn,Xt)}}nt(fn)},Mn=function(Re,je,nt,rt,Xt){var fn=[],Cn=Array.isArray(je)?\"array\":typeof je;lt.required(Re,je,rt,fn,Xt,Cn),nt(fn)},Kn=function(Re,je,nt,rt,Xt){var fn=Re.type,Cn=[],Yn=Re.required||!Re.required&&rt.hasOwnProperty(Re.field);if(Yn){if(Ce(je,fn)&&!Re.required)return nt();lt.required(Re,je,rt,Cn,Xt,fn),Ce(je,fn)||lt.type(Re,je,rt,Cn,Xt)}nt(Cn)},hr=function(Re,je,nt,rt,Xt){var fn=[],Cn=Re.required||!Re.required&&rt.hasOwnProperty(Re.field);if(Cn){if(Ce(je)&&!Re.required)return nt();lt.required(Re,je,rt,fn,Xt)}nt(fn)},pr={string:rn,method:qt,number:hn,boolean:Kt,regexp:an,integer:In,float:Ft,array:kt,object:At,enum:pn,pattern:en,date:Wn,url:Kn,hex:Kn,email:Kn,required:Mn,any:hr};function zr(){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 Re=JSON.parse(JSON.stringify(this));return Re.clone=this.clone,Re}}}var Wr=zr(),Nr=function(){function br(je){this.rules=null,this._messages=Wr,this.define(je)}var Re=br.prototype;return Re.define=function(nt){var rt=this;if(!nt)throw new Error(\"Cannot configure a schema with no rules\");if(typeof nt!=\"object\"||Array.isArray(nt))throw new Error(\"Rules must be an object\");this.rules={},Object.keys(nt).forEach(function(Xt){var fn=nt[Xt];rt.rules[Xt]=Array.isArray(fn)?fn:[fn]})},Re.messages=function(nt){return nt&&(this._messages=_e(zr(),nt)),this._messages},Re.validate=function(nt,rt,Xt){var fn=this;rt===void 0&&(rt={}),Xt===void 0&&(Xt=function(){});var Cn=nt,Yn=rt,Ae=Xt;if(typeof Yn==\"function\"&&(Ae=Yn,Yn={}),!this.rules||Object.keys(this.rules).length===0)return Ae&&Ae(null,Cn),Promise.resolve(Cn);function Ke(lr){var wr=[],Dr={};function go(Jr){if(Array.isArray(Jr)){var _o;wr=(_o=wr).concat.apply(_o,Jr)}else wr.push(Jr)}for(var Ir=0;Ir<lr.length;Ir++)go(lr[Ir]);wr.length?(Dr=ce(wr),Ae(wr,Dr)):Ae(null,Cn)}if(Yn.messages){var Mt=this.messages();Mt===Wr&&(Mt=zr()),_e(Mt,Yn.messages),Yn.messages=Mt}else Yn.messages=this.messages();var Ut={},kn=Yn.keys||Object.keys(this.rules);kn.forEach(function(lr){var wr=fn.rules[lr],Dr=Cn[lr];wr.forEach(function(go){var Ir=go;typeof Ir.transform==\"function\"&&(Cn===nt&&(Cn=J({},Cn)),Dr=Cn[lr]=Ir.transform(Dr)),typeof Ir==\"function\"?Ir={validator:Ir}:Ir=J({},Ir),Ir.validator=fn.getValidationMethod(Ir),Ir.validator&&(Ir.field=lr,Ir.fullField=Ir.fullField||lr,Ir.type=fn.getType(Ir),Ut[lr]=Ut[lr]||[],Ut[lr].push({rule:Ir,value:Dr,source:Cn,field:lr}))})});var Zn={};return ve(Ut,Yn,function(lr,wr){var Dr=lr.rule,go=(Dr.type===\"object\"||Dr.type===\"array\")&&(typeof Dr.fields==\"object\"||typeof Dr.defaultField==\"object\");go=go&&(Dr.required||!Dr.required&&lr.value),Dr.field=lr.field;function Ir(No,ii){return J({},ii,{fullField:Dr.fullField+\".\"+No,fullFields:Dr.fullFields?[].concat(Dr.fullFields,[No]):[No]})}function Jr(No){No===void 0&&(No=[]);var ii=Array.isArray(No)?No:[No];!Yn.suppressWarning&&ii.length&&br.warning(\"async-validator:\",ii),ii.length&&Dr.message!==void 0&&(ii=[].concat(Dr.message));var Lo=ii.map(fe(Dr,Cn));if(Yn.first&&Lo.length)return Zn[Dr.field]=1,wr(Lo);if(!go)wr(Lo);else{if(Dr.required&&!lr.value)return Dr.message!==void 0?Lo=[].concat(Dr.message).map(fe(Dr,Cn)):Yn.error&&(Lo=[Yn.error(Dr,ye(Yn.messages.required,Dr.field))]),wr(Lo);var ai={};Dr.defaultField&&Object.keys(lr.value).map(function(ln){ai[ln]=Dr.defaultField}),ai=J({},ai,lr.rule.fields);var Si={};Object.keys(ai).forEach(function(ln){var mn=ai[ln],fr=Array.isArray(mn)?mn:[mn];Si[ln]=fr.map(Ir.bind(null,ln))});var Ui=new br(Si);Ui.messages(Yn.messages),lr.rule.options&&(lr.rule.options.messages=Yn.messages,lr.rule.options.error=Yn.error),Ui.validate(lr.value,lr.rule.options||Yn,function(ln){var mn=[];Lo&&Lo.length&&mn.push.apply(mn,Lo),ln&&ln.length&&mn.push.apply(mn,ln),wr(mn.length?mn:null)})}}var _o;if(Dr.asyncValidator)_o=Dr.asyncValidator(Dr,lr.value,Jr,lr.source,Yn);else if(Dr.validator){try{_o=Dr.validator(Dr,lr.value,Jr,lr.source,Yn)}catch(No){console.error==null||console.error(No),Yn.suppressValidatorError||setTimeout(function(){throw No},0),Jr(No.message)}_o===!0?Jr():_o===!1?Jr(typeof Dr.message==\"function\"?Dr.message(Dr.fullField||Dr.field):Dr.message||(Dr.fullField||Dr.field)+\" fails\"):_o instanceof Array?Jr(_o):_o instanceof Error&&Jr(_o.message)}_o&&_o.then&&_o.then(function(){return Jr()},function(No){return Jr(No)})},function(lr){Ke(lr)},Cn)},Re.getType=function(nt){if(nt.type===void 0&&nt.pattern instanceof RegExp&&(nt.type=\"pattern\"),typeof nt.validator!=\"function\"&&nt.type&&!pr.hasOwnProperty(nt.type))throw new Error(ye(\"Unknown rule type %s\",nt.type));return nt.type||\"string\"},Re.getValidationMethod=function(nt){if(typeof nt.validator==\"function\")return nt.validator;var rt=Object.keys(nt),Xt=rt.indexOf(\"message\");return Xt!==-1&&rt.splice(Xt,1),rt.length===1&&rt[0]===\"required\"?pr.required:pr[this.getType(nt)]||void 0},br}();Nr.register=function(Re,je){if(typeof je!=\"function\")throw new Error(\"Cannot register a validator by type, validator is not a function\");pr[Re]=je},Nr.warning=De,Nr.messages=Wr,Nr.validators=pr;var Kr=\"'${name}' is not a valid ${type}\",ko={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:Kr,method:Kr,array:Kr,object:Kr,number:Kr,date:Kr,boolean:Kr,integer:Kr,float:Kr,regexp:Kr,email:Kr,url:Kr,hex:Kr},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}\"}},Ur=c(63309),gn=Nr;function Gt(br,Re){return br.replace(/\\$\\{\\w+\\}/g,function(je){var nt=je.slice(2,-1);return Re[nt]})}var bt=\"CODE_LOGIC_ERROR\";function Zt(br,Re,je,nt,rt){return gt.apply(this,arguments)}function gt(){return gt=(0,L.Z)((0,j.Z)().mark(function br(Re,je,nt,rt,Xt){var fn,Cn,Yn,Ae,Ke,Mt,Ut,kn,Zn;return(0,j.Z)().wrap(function(wr){for(;;)switch(wr.prev=wr.next){case 0:return fn=(0,w.Z)({},nt),delete fn.ruleIndex,fn.validator&&(Cn=fn.validator,fn.validator=function(){try{return Cn.apply(void 0,arguments)}catch(Dr){return console.error(Dr),Promise.reject(bt)}}),Yn=null,fn&&fn.type===\"array\"&&fn.defaultField&&(Yn=fn.defaultField,delete fn.defaultField),Ae=new gn((0,C.Z)({},Re,[fn])),Ke=(0,Ur.gg)({},ko,rt.validateMessages),Ae.messages(Ke),Mt=[],wr.prev=9,wr.next=12,Promise.resolve(Ae.validate((0,C.Z)({},Re,je),(0,w.Z)({},rt)));case 12:wr.next=17;break;case 14:wr.prev=14,wr.t0=wr.catch(9),wr.t0.errors&&(Mt=wr.t0.errors.map(function(Dr,go){var Ir=Dr.message,Jr=Ir===bt?Ke.default:Ir;return r.isValidElement(Jr)?r.cloneElement(Jr,{key:\"error_\".concat(go)}):Jr}));case 17:if(!(!Mt.length&&Yn)){wr.next=22;break}return wr.next=20,Promise.all(je.map(function(Dr,go){return Zt(\"\".concat(Re,\".\").concat(go),Dr,Yn,rt,Xt)}));case 20:return Ut=wr.sent,wr.abrupt(\"return\",Ut.reduce(function(Dr,go){return[].concat((0,O.Z)(Dr),(0,O.Z)(go))},[]));case 22:return kn=(0,w.Z)((0,w.Z)({},nt),{},{name:Re,enum:(nt.enum||[]).join(\", \")},Xt),Zn=Mt.map(function(Dr){return typeof Dr==\"string\"?Gt(Dr,kn):Dr}),wr.abrupt(\"return\",Zn);case 25:case\"end\":return wr.stop()}},br,null,[[9,14]])})),gt.apply(this,arguments)}function Wt(br,Re,je,nt,rt,Xt){var fn=br.join(\".\"),Cn=je.map(function(Ke,Mt){var Ut=Ke.validator,kn=(0,w.Z)((0,w.Z)({},Ke),{},{ruleIndex:Mt});return Ut&&(kn.validator=function(Zn,lr,wr){var Dr=!1,go=function(){for(var _o=arguments.length,No=new Array(_o),ii=0;ii<_o;ii++)No[ii]=arguments[ii];Promise.resolve().then(function(){(0,l.ZP)(!Dr,\"Your validator function has already return a promise. `callback` will be ignored.\"),Dr||wr.apply(void 0,No)})},Ir=Ut(Zn,lr,go);Dr=Ir&&typeof Ir.then==\"function\"&&typeof Ir.catch==\"function\",(0,l.ZP)(Dr,\"`callback` is deprecated. Please return a promise instead.\"),Dr&&Ir.then(function(){wr()}).catch(function(Jr){wr(Jr||\" \")})}),kn}).sort(function(Ke,Mt){var Ut=Ke.warningOnly,kn=Ke.ruleIndex,Zn=Mt.warningOnly,lr=Mt.ruleIndex;return!!Ut==!!Zn?kn-lr:Ut?1:-1}),Yn;if(rt===!0)Yn=new Promise(function(){var Ke=(0,L.Z)((0,j.Z)().mark(function Mt(Ut,kn){var Zn,lr,wr;return(0,j.Z)().wrap(function(go){for(;;)switch(go.prev=go.next){case 0:Zn=0;case 1:if(!(Zn<Cn.length)){go.next=12;break}return lr=Cn[Zn],go.next=5,Zt(fn,Re,lr,nt,Xt);case 5:if(wr=go.sent,!wr.length){go.next=9;break}return kn([{errors:wr,rule:lr}]),go.abrupt(\"return\");case 9:Zn+=1,go.next=1;break;case 12:Ut([]);case 13:case\"end\":return go.stop()}},Mt)}));return function(Mt,Ut){return Ke.apply(this,arguments)}}());else{var Ae=Cn.map(function(Ke){return Zt(fn,Re,Ke,nt,Xt).then(function(Mt){return{errors:Mt,rule:Ke}})});Yn=(rt?Xn(Ae):xn(Ae)).then(function(Ke){return Promise.reject(Ke)})}return Yn.catch(function(Ke){return Ke}),Yn}function xn(br){return Dt.apply(this,arguments)}function Dt(){return Dt=(0,L.Z)((0,j.Z)().mark(function br(Re){return(0,j.Z)().wrap(function(nt){for(;;)switch(nt.prev=nt.next){case 0:return nt.abrupt(\"return\",Promise.all(Re).then(function(rt){var Xt,fn=(Xt=[]).concat.apply(Xt,(0,O.Z)(rt));return fn}));case 1:case\"end\":return nt.stop()}},br)})),Dt.apply(this,arguments)}function Xn(br){return Rn.apply(this,arguments)}function Rn(){return Rn=(0,L.Z)((0,j.Z)().mark(function br(Re){var je;return(0,j.Z)().wrap(function(rt){for(;;)switch(rt.prev=rt.next){case 0:return je=0,rt.abrupt(\"return\",new Promise(function(Xt){Re.forEach(function(fn){fn.then(function(Cn){Cn.errors.length&&Xt([Cn]),je+=1,je===Re.length&&Xt([])})})}));case 2:case\"end\":return rt.stop()}},br)})),Rn.apply(this,arguments)}var wt=[\"name\"],pt=[];function Ue(br,Re,je,nt,rt,Xt){return typeof br==\"function\"?br(Re,je,\"source\"in Xt?{source:Xt.source}:{}):nt!==rt}var xt=function(br){(0,a.Z)(je,br);var Re=(0,f.Z)(je);function je(nt){var rt;if((0,b.Z)(this,je),rt=Re.call(this,nt),rt.state={resetCount:0},rt.cancelRegisterFunc=null,rt.mounted=!1,rt.touched=!1,rt.dirty=!1,rt.validatePromise=void 0,rt.prevValidating=void 0,rt.errors=pt,rt.warnings=pt,rt.cancelRegister=function(){var Yn=rt.props,Ae=Yn.preserve,Ke=Yn.isListField,Mt=Yn.name;rt.cancelRegisterFunc&&rt.cancelRegisterFunc(Ke,Ae,(0,Ur.gU)(Mt)),rt.cancelRegisterFunc=null},rt.getNamePath=function(){var Yn=rt.props,Ae=Yn.name,Ke=Yn.fieldContext,Mt=Ke.prefixName,Ut=Mt===void 0?[]:Mt;return Ae!==void 0?[].concat((0,O.Z)(Ut),(0,O.Z)(Ae)):[]},rt.getRules=function(){var Yn=rt.props,Ae=Yn.rules,Ke=Ae===void 0?[]:Ae,Mt=Yn.fieldContext;return Ke.map(function(Ut){return typeof Ut==\"function\"?Ut(Mt):Ut})},rt.refresh=function(){rt.mounted&&rt.setState(function(Yn){var Ae=Yn.resetCount;return{resetCount:Ae+1}})},rt.triggerMetaEvent=function(Yn){var Ae=rt.props.onMetaChange;Ae==null||Ae((0,w.Z)((0,w.Z)({},rt.getMeta()),{},{destroy:Yn}))},rt.onStoreChange=function(Yn,Ae,Ke){var Mt=rt.props,Ut=Mt.shouldUpdate,kn=Mt.dependencies,Zn=kn===void 0?[]:kn,lr=Mt.onReset,wr=Ke.store,Dr=rt.getNamePath(),go=rt.getValue(Yn),Ir=rt.getValue(wr),Jr=Ae&&(0,Ur.T1)(Ae,Dr);switch(Ke.type===\"valueUpdate\"&&Ke.source===\"external\"&&go!==Ir&&(rt.touched=!0,rt.dirty=!0,rt.validatePromise=null,rt.errors=pt,rt.warnings=pt,rt.triggerMetaEvent()),Ke.type){case\"reset\":if(!Ae||Jr){rt.touched=!1,rt.dirty=!1,rt.validatePromise=null,rt.errors=pt,rt.warnings=pt,rt.triggerMetaEvent(),lr==null||lr(),rt.refresh();return}break;case\"remove\":{if(Ut){rt.reRender();return}break}case\"setField\":{if(Jr){var _o=Ke.data;\"touched\"in _o&&(rt.touched=_o.touched),\"validating\"in _o&&!(\"originRCField\"in _o)&&(rt.validatePromise=_o.validating?Promise.resolve([]):null),\"errors\"in _o&&(rt.errors=_o.errors||pt),\"warnings\"in _o&&(rt.warnings=_o.warnings||pt),rt.dirty=!0,rt.triggerMetaEvent(),rt.reRender();return}if(Ut&&!Dr.length&&Ue(Ut,Yn,wr,go,Ir,Ke)){rt.reRender();return}break}case\"dependenciesUpdate\":{var No=Zn.map(Ur.gU);if(No.some(function(ii){return(0,Ur.T1)(Ke.relatedFields,ii)})){rt.reRender();return}break}default:if(Jr||(!Zn.length||Dr.length||Ut)&&Ue(Ut,Yn,wr,go,Ir,Ke)){rt.reRender();return}break}Ut===!0&&rt.reRender()},rt.validateRules=function(Yn){var Ae=rt.getNamePath(),Ke=rt.getValue(),Mt=Promise.resolve().then(function(){if(!rt.mounted)return[];var Ut=rt.props,kn=Ut.validateFirst,Zn=kn===void 0?!1:kn,lr=Ut.messageVariables,wr=Yn||{},Dr=wr.triggerName,go=rt.getRules();Dr&&(go=go.filter(function(Jr){return Jr}).filter(function(Jr){var _o=Jr.validateTrigger;if(!_o)return!0;var No=(0,E.q)(_o);return No.includes(Dr)}));var Ir=Wt(Ae,Ke,go,Yn,Zn,lr);return Ir.catch(function(Jr){return Jr}).then(function(){var Jr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:pt;if(rt.validatePromise===Mt){var _o;rt.validatePromise=null;var No=[],ii=[];(_o=Jr.forEach)===null||_o===void 0||_o.call(Jr,function(Lo){var ai=Lo.rule.warningOnly,Si=Lo.errors,Ui=Si===void 0?pt:Si;ai?ii.push.apply(ii,(0,O.Z)(Ui)):No.push.apply(No,(0,O.Z)(Ui))}),rt.errors=No,rt.warnings=ii,rt.triggerMetaEvent(),rt.reRender()}}),Ir});return rt.validatePromise=Mt,rt.dirty=!0,rt.errors=pt,rt.warnings=pt,rt.triggerMetaEvent(),rt.reRender(),Mt},rt.isFieldValidating=function(){return!!rt.validatePromise},rt.isFieldTouched=function(){return rt.touched},rt.isFieldDirty=function(){if(rt.dirty||rt.props.initialValue!==void 0)return!0;var Yn=rt.props.fieldContext,Ae=Yn.getInternalHooks(s),Ke=Ae.getInitialValue;return Ke(rt.getNamePath())!==void 0},rt.getErrors=function(){return rt.errors},rt.getWarnings=function(){return rt.warnings},rt.isListField=function(){return rt.props.isListField},rt.isList=function(){return rt.props.isList},rt.isPreserve=function(){return rt.props.preserve},rt.getMeta=function(){rt.prevValidating=rt.isFieldValidating();var Yn={touched:rt.isFieldTouched(),validating:rt.prevValidating,errors:rt.errors,warnings:rt.warnings,name:rt.getNamePath(),validated:rt.validatePromise===null};return Yn},rt.getOnlyChild=function(Yn){if(typeof Yn==\"function\"){var Ae=rt.getMeta();return(0,w.Z)((0,w.Z)({},rt.getOnlyChild(Yn(rt.getControlled(),Ae,rt.props.fieldContext))),{},{isFunction:!0})}var Ke=(0,h.Z)(Yn);return Ke.length!==1||!r.isValidElement(Ke[0])?{child:Ke,isFunction:!1}:{child:Ke[0],isFunction:!1}},rt.getValue=function(Yn){var Ae=rt.props.fieldContext.getFieldsValue,Ke=rt.getNamePath();return(0,Ur.NA)(Yn||Ae(!0),Ke)},rt.getControlled=function(){var Yn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ae=rt.props,Ke=Ae.trigger,Mt=Ae.validateTrigger,Ut=Ae.getValueFromEvent,kn=Ae.normalize,Zn=Ae.valuePropName,lr=Ae.getValueProps,wr=Ae.fieldContext,Dr=Mt!==void 0?Mt:wr.validateTrigger,go=rt.getNamePath(),Ir=wr.getInternalHooks,Jr=wr.getFieldsValue,_o=Ir(s),No=_o.dispatch,ii=rt.getValue(),Lo=lr||function(ln){return(0,C.Z)({},Zn,ln)},ai=Yn[Ke],Si=(0,w.Z)((0,w.Z)({},Yn),Lo(ii));Si[Ke]=function(){rt.touched=!0,rt.dirty=!0,rt.triggerMetaEvent();for(var ln,mn=arguments.length,fr=new Array(mn),ft=0;ft<mn;ft++)fr[ft]=arguments[ft];Ut?ln=Ut.apply(void 0,fr):ln=Ur.iZ.apply(void 0,[Zn].concat(fr)),kn&&(ln=kn(ln,ii,Jr(!0))),No({type:\"updateValue\",namePath:go,value:ln}),ai&&ai.apply(void 0,fr)};var Ui=(0,E.q)(Dr||[]);return Ui.forEach(function(ln){var mn=Si[ln];Si[ln]=function(){mn&&mn.apply(void 0,arguments);var fr=rt.props.rules;fr&&fr.length&&No({type:\"validateField\",namePath:go,triggerName:ln})}}),Si},nt.fieldContext){var Xt=nt.fieldContext.getInternalHooks,fn=Xt(s),Cn=fn.initEntityValue;Cn((0,u.Z)(rt))}return rt}return(0,p.Z)(je,[{key:\"componentDidMount\",value:function(){var rt=this.props,Xt=rt.shouldUpdate,fn=rt.fieldContext;if(this.mounted=!0,fn){var Cn=fn.getInternalHooks,Yn=Cn(s),Ae=Yn.registerField;this.cancelRegisterFunc=Ae(this)}Xt===!0&&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 rt=this.state.resetCount,Xt=this.props.children,fn=this.getOnlyChild(Xt),Cn=fn.child,Yn=fn.isFunction,Ae;return Yn?Ae=Cn:r.isValidElement(Cn)?Ae=r.cloneElement(Cn,this.getControlled(Cn.props)):((0,l.ZP)(!Cn,\"`children` of Field is not validate ReactElement.\"),Ae=Cn),r.createElement(r.Fragment,{key:rt},Ae)}}]),je}(r.Component);xt.contextType=M,xt.defaultProps={trigger:\"onChange\",valuePropName:\"value\"};function cn(br){var Re=br.name,je=(0,N.Z)(br,wt),nt=r.useContext(M),rt=Re!==void 0?(0,Ur.gU)(Re):void 0,Xt=\"keep\";return je.isListField||(Xt=\"_\".concat((rt||[]).join(\"_\"))),r.createElement(xt,(0,y.Z)({key:Xt,name:rt},je,{fieldContext:nt}))}var er=cn,Mr=r.createContext(null),xr=Mr,jr=function(Re){var je=Re.name,nt=Re.initialValue,rt=Re.children,Xt=Re.rules,fn=Re.validateTrigger,Cn=r.useContext(M),Yn=r.useRef({keys:[],id:0}),Ae=Yn.current,Ke=r.useMemo(function(){var Zn=(0,Ur.gU)(Cn.prefixName)||[];return[].concat((0,O.Z)(Zn),(0,O.Z)((0,Ur.gU)(je)))},[Cn.prefixName,je]),Mt=r.useMemo(function(){return(0,w.Z)((0,w.Z)({},Cn),{},{prefixName:Ke})},[Cn,Ke]),Ut=r.useMemo(function(){return{getKey:function(lr){var wr=Ke.length,Dr=lr[wr];return[Ae.keys[Dr],lr.slice(wr+1)]}}},[Ke]);if(typeof rt!=\"function\")return(0,l.ZP)(!1,\"Form.List only accepts function as children.\"),null;var kn=function(lr,wr,Dr){var go=Dr.source;return go===\"internal\"?!1:lr!==wr};return r.createElement(xr.Provider,{value:Ut},r.createElement(M.Provider,{value:Mt},r.createElement(er,{name:[],shouldUpdate:kn,rules:Xt,validateTrigger:fn,initialValue:nt,isList:!0},function(Zn,lr){var wr=Zn.value,Dr=wr===void 0?[]:wr,go=Zn.onChange,Ir=Cn.getFieldValue,Jr=function(){var Lo=Ir(Ke||[]);return Lo||[]},_o={add:function(Lo,ai){var Si=Jr();ai>=0&&ai<=Si.length?(Ae.keys=[].concat((0,O.Z)(Ae.keys.slice(0,ai)),[Ae.id],(0,O.Z)(Ae.keys.slice(ai))),go([].concat((0,O.Z)(Si.slice(0,ai)),[Lo],(0,O.Z)(Si.slice(ai))))):(Ae.keys=[].concat((0,O.Z)(Ae.keys),[Ae.id]),go([].concat((0,O.Z)(Si),[Lo]))),Ae.id+=1},remove:function(Lo){var ai=Jr(),Si=new Set(Array.isArray(Lo)?Lo:[Lo]);Si.size<=0||(Ae.keys=Ae.keys.filter(function(Ui,ln){return!Si.has(ln)}),go(ai.filter(function(Ui,ln){return!Si.has(ln)})))},move:function(Lo,ai){if(Lo!==ai){var Si=Jr();Lo<0||Lo>=Si.length||ai<0||ai>=Si.length||(Ae.keys=(0,Ur.pB)(Ae.keys,Lo,ai),go((0,Ur.pB)(Si,Lo,ai)))}}},No=Dr||[];return Array.isArray(No)||(No=[]),rt(No.map(function(ii,Lo){var ai=Ae.keys[Lo];return ai===void 0&&(Ae.keys[Lo]=Ae.id,ai=Ae.keys[Lo],Ae.id+=1),{name:Lo,key:ai,isListField:!0}}),_o,lr)})))},yo=jr,eo=c(91600);function vi(br){var Re=!1,je=br.length,nt=[];return br.length?new Promise(function(rt,Xt){br.forEach(function(fn,Cn){fn.catch(function(Yn){return Re=!0,Yn}).then(function(Yn){je-=1,nt[Cn]=Yn,!(je>0)&&(Re&&Xt(nt),rt(nt))})})}):Promise.resolve([])}var Ti=c(95971),wi=c(26143),mi=\"__@field_split__\";function Zi(br){return br.map(function(Re){return\"\".concat((0,wi.Z)(Re),\":\").concat(Re)}).join(mi)}var aa=function(){function br(){(0,b.Z)(this,br),this.kvs=new Map}return(0,p.Z)(br,[{key:\"set\",value:function(je,nt){this.kvs.set(Zi(je),nt)}},{key:\"get\",value:function(je){return this.kvs.get(Zi(je))}},{key:\"update\",value:function(je,nt){var rt=this.get(je),Xt=nt(rt);Xt?this.set(je,Xt):this.delete(je)}},{key:\"delete\",value:function(je){this.kvs.delete(Zi(je))}},{key:\"map\",value:function(je){return(0,O.Z)(this.kvs.entries()).map(function(nt){var rt=(0,eo.Z)(nt,2),Xt=rt[0],fn=rt[1],Cn=Xt.split(mi);return je({key:Cn.map(function(Yn){var Ae=Yn.match(/^([^:]*):(.*)$/),Ke=(0,eo.Z)(Ae,3),Mt=Ke[1],Ut=Ke[2];return Mt===\"number\"?Number(Ut):Ut}),value:fn})})}},{key:\"toJSON\",value:function(){var je={};return this.map(function(nt){var rt=nt.key,Xt=nt.value;return je[rt.join(\".\")]=Xt,null}),je}}]),br}(),$e=aa,dn=[\"name\",\"errors\"],Un=(0,p.Z)(function br(Re){var je=this;(0,b.Z)(this,br),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:je.getFieldValue,getFieldsValue:je.getFieldsValue,getFieldError:je.getFieldError,getFieldWarning:je.getFieldWarning,getFieldsError:je.getFieldsError,isFieldsTouched:je.isFieldsTouched,isFieldTouched:je.isFieldTouched,isFieldValidating:je.isFieldValidating,isFieldsValidating:je.isFieldsValidating,resetFields:je.resetFields,setFields:je.setFields,setFieldValue:je.setFieldValue,setFieldsValue:je.setFieldsValue,validateFields:je.validateFields,submit:je.submit,_init:!0,getInternalHooks:je.getInternalHooks}},this.getInternalHooks=function(nt){return nt===s?(je.formHooked=!0,{dispatch:je.dispatch,initEntityValue:je.initEntityValue,registerField:je.registerField,useSubscribe:je.useSubscribe,setInitialValues:je.setInitialValues,destroyForm:je.destroyForm,setCallbacks:je.setCallbacks,setValidateMessages:je.setValidateMessages,getFields:je.getFields,setPreserve:je.setPreserve,getInitialValue:je.getInitialValue,registerWatch:je.registerWatch}):((0,l.ZP)(!1,\"`getInternalHooks` is internal usage. Should not call directly.\"),null)},this.useSubscribe=function(nt){je.subscribable=nt},this.prevWithoutPreserves=null,this.setInitialValues=function(nt,rt){if(je.initialValues=nt||{},rt){var Xt,fn=(0,Ur.gg)({},nt,je.store);(Xt=je.prevWithoutPreserves)===null||Xt===void 0||Xt.map(function(Cn){var Yn=Cn.key;fn=(0,Ur.sO)(fn,Yn,(0,Ur.NA)(nt,Yn))}),je.prevWithoutPreserves=null,je.updateStore(fn)}},this.destroyForm=function(){var nt=new $e;je.getFieldEntities(!0).forEach(function(rt){je.isMergedPreserve(rt.isPreserve())||nt.set(rt.getNamePath(),!0)}),je.prevWithoutPreserves=nt},this.getInitialValue=function(nt){var rt=(0,Ur.NA)(je.initialValues,nt);return nt.length?(0,Ti.Z)(rt):rt},this.setCallbacks=function(nt){je.callbacks=nt},this.setValidateMessages=function(nt){je.validateMessages=nt},this.setPreserve=function(nt){je.preserve=nt},this.watchList=[],this.registerWatch=function(nt){return je.watchList.push(nt),function(){je.watchList=je.watchList.filter(function(rt){return rt!==nt})}},this.notifyWatch=function(){var nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(je.watchList.length){var rt=je.getFieldsValue();je.watchList.forEach(function(Xt){Xt(rt,nt)})}},this.timeoutId=null,this.warningUnhooked=function(){},this.updateStore=function(nt){je.store=nt},this.getFieldEntities=function(){var nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return nt?je.fieldEntities.filter(function(rt){return rt.getNamePath().length}):je.fieldEntities},this.getFieldsMap=function(){var nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,rt=new $e;return je.getFieldEntities(nt).forEach(function(Xt){var fn=Xt.getNamePath();rt.set(fn,Xt)}),rt},this.getFieldEntitiesForNamePathList=function(nt){if(!nt)return je.getFieldEntities(!0);var rt=je.getFieldsMap(!0);return nt.map(function(Xt){var fn=(0,Ur.gU)(Xt);return rt.get(fn)||{INVALIDATE_NAME_PATH:(0,Ur.gU)(Xt)}})},this.getFieldsValue=function(nt,rt){if(je.warningUnhooked(),nt===!0&&!rt)return je.store;var Xt=je.getFieldEntitiesForNamePathList(Array.isArray(nt)?nt:null),fn=[];return Xt.forEach(function(Cn){var Yn,Ae=\"INVALIDATE_NAME_PATH\"in Cn?Cn.INVALIDATE_NAME_PATH:Cn.getNamePath();if(!(!nt&&(!((Yn=Cn.isListField)===null||Yn===void 0)&&Yn.call(Cn))))if(!rt)fn.push(Ae);else{var Ke=\"getMeta\"in Cn?Cn.getMeta():null;rt(Ke)&&fn.push(Ae)}}),(0,Ur.H_)(je.store,fn.map(Ur.gU))},this.getFieldValue=function(nt){je.warningUnhooked();var rt=(0,Ur.gU)(nt);return(0,Ur.NA)(je.store,rt)},this.getFieldsError=function(nt){je.warningUnhooked();var rt=je.getFieldEntitiesForNamePathList(nt);return rt.map(function(Xt,fn){return Xt&&!(\"INVALIDATE_NAME_PATH\"in Xt)?{name:Xt.getNamePath(),errors:Xt.getErrors(),warnings:Xt.getWarnings()}:{name:(0,Ur.gU)(nt[fn]),errors:[],warnings:[]}})},this.getFieldError=function(nt){je.warningUnhooked();var rt=(0,Ur.gU)(nt),Xt=je.getFieldsError([rt])[0];return Xt.errors},this.getFieldWarning=function(nt){je.warningUnhooked();var rt=(0,Ur.gU)(nt),Xt=je.getFieldsError([rt])[0];return Xt.warnings},this.isFieldsTouched=function(){je.warningUnhooked();for(var nt=arguments.length,rt=new Array(nt),Xt=0;Xt<nt;Xt++)rt[Xt]=arguments[Xt];var fn=rt[0],Cn=rt[1],Yn,Ae=!1;rt.length===0?Yn=null:rt.length===1?Array.isArray(fn)?(Yn=fn.map(Ur.gU),Ae=!1):(Yn=null,Ae=fn):(Yn=fn.map(Ur.gU),Ae=Cn);var Ke=je.getFieldEntities(!0),Mt=function(wr){return wr.isFieldTouched()};if(!Yn)return Ae?Ke.every(Mt):Ke.some(Mt);var Ut=new $e;Yn.forEach(function(lr){Ut.set(lr,[])}),Ke.forEach(function(lr){var wr=lr.getNamePath();Yn.forEach(function(Dr){Dr.every(function(go,Ir){return wr[Ir]===go})&&Ut.update(Dr,function(go){return[].concat((0,O.Z)(go),[lr])})})});var kn=function(wr){return wr.some(Mt)},Zn=Ut.map(function(lr){var wr=lr.value;return wr});return Ae?Zn.every(kn):Zn.some(kn)},this.isFieldTouched=function(nt){return je.warningUnhooked(),je.isFieldsTouched([nt])},this.isFieldsValidating=function(nt){je.warningUnhooked();var rt=je.getFieldEntities();if(!nt)return rt.some(function(fn){return fn.isFieldValidating()});var Xt=nt.map(Ur.gU);return rt.some(function(fn){var Cn=fn.getNamePath();return(0,Ur.T1)(Xt,Cn)&&fn.isFieldValidating()})},this.isFieldValidating=function(nt){return je.warningUnhooked(),je.isFieldsValidating([nt])},this.resetWithFieldInitialValue=function(){var nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},rt=new $e,Xt=je.getFieldEntities(!0);Xt.forEach(function(Yn){var Ae=Yn.props.initialValue,Ke=Yn.getNamePath();if(Ae!==void 0){var Mt=rt.get(Ke)||new Set;Mt.add({entity:Yn,value:Ae}),rt.set(Ke,Mt)}});var fn=function(Ae){Ae.forEach(function(Ke){var Mt=Ke.props.initialValue;if(Mt!==void 0){var Ut=Ke.getNamePath(),kn=je.getInitialValue(Ut);if(kn!==void 0)(0,l.ZP)(!1,\"Form already set 'initialValues' with path '\".concat(Ut.join(\".\"),\"'. Field can not overwrite it.\"));else{var Zn=rt.get(Ut);if(Zn&&Zn.size>1)(0,l.ZP)(!1,\"Multiple Field with path '\".concat(Ut.join(\".\"),\"' set 'initialValue'. Can not decide which one to pick.\"));else if(Zn){var lr=je.getFieldValue(Ut);(!nt.skipExist||lr===void 0)&&je.updateStore((0,Ur.sO)(je.store,Ut,(0,O.Z)(Zn)[0].value))}}}})},Cn;nt.entities?Cn=nt.entities:nt.namePathList?(Cn=[],nt.namePathList.forEach(function(Yn){var Ae=rt.get(Yn);if(Ae){var Ke;(Ke=Cn).push.apply(Ke,(0,O.Z)((0,O.Z)(Ae).map(function(Mt){return Mt.entity})))}})):Cn=Xt,fn(Cn)},this.resetFields=function(nt){je.warningUnhooked();var rt=je.store;if(!nt){je.updateStore((0,Ur.gg)({},je.initialValues)),je.resetWithFieldInitialValue(),je.notifyObservers(rt,null,{type:\"reset\"}),je.notifyWatch();return}var Xt=nt.map(Ur.gU);Xt.forEach(function(fn){var Cn=je.getInitialValue(fn);je.updateStore((0,Ur.sO)(je.store,fn,Cn))}),je.resetWithFieldInitialValue({namePathList:Xt}),je.notifyObservers(rt,Xt,{type:\"reset\"}),je.notifyWatch(Xt)},this.setFields=function(nt){je.warningUnhooked();var rt=je.store,Xt=[];nt.forEach(function(fn){var Cn=fn.name,Yn=fn.errors,Ae=(0,N.Z)(fn,dn),Ke=(0,Ur.gU)(Cn);Xt.push(Ke),\"value\"in Ae&&je.updateStore((0,Ur.sO)(je.store,Ke,Ae.value)),je.notifyObservers(rt,[Ke],{type:\"setField\",data:fn})}),je.notifyWatch(Xt)},this.getFields=function(){var nt=je.getFieldEntities(!0),rt=nt.map(function(Xt){var fn=Xt.getNamePath(),Cn=Xt.getMeta(),Yn=(0,w.Z)((0,w.Z)({},Cn),{},{name:fn,value:je.getFieldValue(fn)});return Object.defineProperty(Yn,\"originRCField\",{value:!0}),Yn});return rt},this.initEntityValue=function(nt){var rt=nt.props.initialValue;if(rt!==void 0){var Xt=nt.getNamePath(),fn=(0,Ur.NA)(je.store,Xt);fn===void 0&&je.updateStore((0,Ur.sO)(je.store,Xt,rt))}},this.isMergedPreserve=function(nt){var rt=nt!==void 0?nt:je.preserve;return rt!=null?rt:!0},this.registerField=function(nt){je.fieldEntities.push(nt);var rt=nt.getNamePath();if(je.notifyWatch([rt]),nt.props.initialValue!==void 0){var Xt=je.store;je.resetWithFieldInitialValue({entities:[nt],skipExist:!0}),je.notifyObservers(Xt,[nt.getNamePath()],{type:\"valueUpdate\",source:\"internal\"})}return function(fn,Cn){var Yn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(je.fieldEntities=je.fieldEntities.filter(function(Mt){return Mt!==nt}),!je.isMergedPreserve(Cn)&&(!fn||Yn.length>1)){var Ae=fn?void 0:je.getInitialValue(rt);if(rt.length&&je.getFieldValue(rt)!==Ae&&je.fieldEntities.every(function(Mt){return!(0,Ur.LX)(Mt.getNamePath(),rt)})){var Ke=je.store;je.updateStore((0,Ur.sO)(Ke,rt,Ae,!0)),je.notifyObservers(Ke,[rt],{type:\"remove\"}),je.triggerDependenciesUpdate(Ke,rt)}}je.notifyWatch([rt])}},this.dispatch=function(nt){switch(nt.type){case\"updateValue\":{var rt=nt.namePath,Xt=nt.value;je.updateValue(rt,Xt);break}case\"validateField\":{var fn=nt.namePath,Cn=nt.triggerName;je.validateFields([fn],{triggerName:Cn});break}default:}},this.notifyObservers=function(nt,rt,Xt){if(je.subscribable){var fn=(0,w.Z)((0,w.Z)({},Xt),{},{store:je.getFieldsValue(!0)});je.getFieldEntities().forEach(function(Cn){var Yn=Cn.onStoreChange;Yn(nt,rt,fn)})}else je.forceRootUpdate()},this.triggerDependenciesUpdate=function(nt,rt){var Xt=je.getDependencyChildrenFields(rt);return Xt.length&&je.validateFields(Xt),je.notifyObservers(nt,Xt,{type:\"dependenciesUpdate\",relatedFields:[rt].concat((0,O.Z)(Xt))}),Xt},this.updateValue=function(nt,rt){var Xt=(0,Ur.gU)(nt),fn=je.store;je.updateStore((0,Ur.sO)(je.store,Xt,rt)),je.notifyObservers(fn,[Xt],{type:\"valueUpdate\",source:\"internal\"}),je.notifyWatch([Xt]);var Cn=je.triggerDependenciesUpdate(fn,Xt),Yn=je.callbacks.onValuesChange;if(Yn){var Ae=(0,Ur.H_)(je.store,[Xt]);Yn(Ae,je.getFieldsValue())}je.triggerOnFieldsChange([Xt].concat((0,O.Z)(Cn)))},this.setFieldsValue=function(nt){je.warningUnhooked();var rt=je.store;if(nt){var Xt=(0,Ur.gg)(je.store,nt);je.updateStore(Xt)}je.notifyObservers(rt,null,{type:\"valueUpdate\",source:\"external\"}),je.notifyWatch()},this.setFieldValue=function(nt,rt){je.setFields([{name:nt,value:rt}])},this.getDependencyChildrenFields=function(nt){var rt=new Set,Xt=[],fn=new $e;je.getFieldEntities().forEach(function(Yn){var Ae=Yn.props.dependencies;(Ae||[]).forEach(function(Ke){var Mt=(0,Ur.gU)(Ke);fn.update(Mt,function(){var Ut=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return Ut.add(Yn),Ut})})});var Cn=function Yn(Ae){var Ke=fn.get(Ae)||new Set;Ke.forEach(function(Mt){if(!rt.has(Mt)){rt.add(Mt);var Ut=Mt.getNamePath();Mt.isFieldDirty()&&Ut.length&&(Xt.push(Ut),Yn(Ut))}})};return Cn(nt),Xt},this.triggerOnFieldsChange=function(nt,rt){var Xt=je.callbacks.onFieldsChange;if(Xt){var fn=je.getFields();if(rt){var Cn=new $e;rt.forEach(function(Ae){var Ke=Ae.name,Mt=Ae.errors;Cn.set(Ke,Mt)}),fn.forEach(function(Ae){Ae.errors=Cn.get(Ae.name)||Ae.errors})}var Yn=fn.filter(function(Ae){var Ke=Ae.name;return(0,Ur.T1)(nt,Ke)});Xt(Yn,fn)}},this.validateFields=function(nt,rt){je.warningUnhooked();var Xt=!!nt,fn=Xt?nt.map(Ur.gU):[],Cn=[];je.getFieldEntities(!0).forEach(function(Ke){if(Xt||fn.push(Ke.getNamePath()),rt!=null&&rt.recursive&&Xt){var Mt=Ke.getNamePath();Mt.every(function(Zn,lr){return nt[lr]===Zn||nt[lr]===void 0})&&fn.push(Mt)}if(!(!Ke.props.rules||!Ke.props.rules.length)){var Ut=Ke.getNamePath();if(!Xt||(0,Ur.T1)(fn,Ut)){var kn=Ke.validateRules((0,w.Z)({validateMessages:(0,w.Z)((0,w.Z)({},ko),je.validateMessages)},rt));Cn.push(kn.then(function(){return{name:Ut,errors:[],warnings:[]}}).catch(function(Zn){var lr,wr=[],Dr=[];return(lr=Zn.forEach)===null||lr===void 0||lr.call(Zn,function(go){var Ir=go.rule.warningOnly,Jr=go.errors;Ir?Dr.push.apply(Dr,(0,O.Z)(Jr)):wr.push.apply(wr,(0,O.Z)(Jr))}),wr.length?Promise.reject({name:Ut,errors:wr,warnings:Dr}):{name:Ut,errors:wr,warnings:Dr}}))}}});var Yn=vi(Cn);je.lastValidatePromise=Yn,Yn.catch(function(Ke){return Ke}).then(function(Ke){var Mt=Ke.map(function(Ut){var kn=Ut.name;return kn});je.notifyObservers(je.store,Mt,{type:\"validateFinish\"}),je.triggerOnFieldsChange(Mt,Ke)});var Ae=Yn.then(function(){return je.lastValidatePromise===Yn?Promise.resolve(je.getFieldsValue(fn)):Promise.reject([])}).catch(function(Ke){var Mt=Ke.filter(function(Ut){return Ut&&Ut.errors.length});return Promise.reject({values:je.getFieldsValue(fn),errorFields:Mt,outOfDate:je.lastValidatePromise!==Yn})});return Ae.catch(function(Ke){return Ke}),Ae},this.submit=function(){je.warningUnhooked(),je.validateFields().then(function(nt){var rt=je.callbacks.onFinish;if(rt)try{rt(nt)}catch(Xt){console.error(Xt)}}).catch(function(nt){var rt=je.callbacks.onFinishFailed;rt&&rt(nt)})},this.forceRootUpdate=Re});function ar(br){var Re=r.useRef(),je=r.useState({}),nt=(0,eo.Z)(je,2),rt=nt[1];if(!Re.current)if(br)Re.current=br;else{var Xt=function(){rt({})},fn=new Un(Xt);Re.current=fn.getForm()}return[Re.current]}var Rr=ar,Ro=r.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),Vo=function(Re){var je=Re.validateMessages,nt=Re.onFormChange,rt=Re.onFormFinish,Xt=Re.children,fn=r.useContext(Ro),Cn=r.useRef({});return r.createElement(Ro.Provider,{value:(0,w.Z)((0,w.Z)({},fn),{},{validateMessages:(0,w.Z)((0,w.Z)({},fn.validateMessages),je),triggerFormChange:function(Ae,Ke){nt&&nt(Ae,{changedFields:Ke,forms:Cn.current}),fn.triggerFormChange(Ae,Ke)},triggerFormFinish:function(Ae,Ke){rt&&rt(Ae,{values:Ke,forms:Cn.current}),fn.triggerFormFinish(Ae,Ke)},registerForm:function(Ae,Ke){Ae&&(Cn.current=(0,w.Z)((0,w.Z)({},Cn.current),{},(0,C.Z)({},Ae,Ke))),fn.registerForm(Ae,Ke)},unregisterForm:function(Ae){var Ke=(0,w.Z)({},Cn.current);delete Ke[Ae],Cn.current=Ke,fn.unregisterForm(Ae)}})},Xt)},Co=Ro,Mo=[\"name\",\"initialValues\",\"fields\",\"form\",\"preserve\",\"children\",\"component\",\"validateMessages\",\"validateTrigger\",\"onValuesChange\",\"onFieldsChange\",\"onFinish\",\"onFinishFailed\"],qo=function(Re,je){var nt=Re.name,rt=Re.initialValues,Xt=Re.fields,fn=Re.form,Cn=Re.preserve,Yn=Re.children,Ae=Re.component,Ke=Ae===void 0?\"form\":Ae,Mt=Re.validateMessages,Ut=Re.validateTrigger,kn=Ut===void 0?\"onChange\":Ut,Zn=Re.onValuesChange,lr=Re.onFieldsChange,wr=Re.onFinish,Dr=Re.onFinishFailed,go=(0,N.Z)(Re,Mo),Ir=r.useContext(Co),Jr=Rr(fn),_o=(0,eo.Z)(Jr,1),No=_o[0],ii=No.getInternalHooks(s),Lo=ii.useSubscribe,ai=ii.setInitialValues,Si=ii.setCallbacks,Ui=ii.setValidateMessages,ln=ii.setPreserve,mn=ii.destroyForm;r.useImperativeHandle(je,function(){return No}),r.useEffect(function(){return Ir.registerForm(nt,No),function(){Ir.unregisterForm(nt)}},[Ir,No,nt]),Ui((0,w.Z)((0,w.Z)({},Ir.validateMessages),Mt)),Si({onValuesChange:Zn,onFieldsChange:function(dr){if(Ir.triggerFormChange(nt,dr),lr){for(var Ar=arguments.length,Gr=new Array(Ar>1?Ar-1:0),Pr=1;Pr<Ar;Pr++)Gr[Pr-1]=arguments[Pr];lr.apply(void 0,[dr].concat(Gr))}},onFinish:function(dr){Ir.triggerFormFinish(nt,dr),wr&&wr(dr)},onFinishFailed:Dr}),ln(Cn);var fr=r.useRef(null);ai(rt,!fr.current),fr.current||(fr.current=!0),r.useEffect(function(){return mn},[]);var ft,ct=typeof Yn==\"function\";if(ct){var tn=No.getFieldsValue(!0);ft=Yn(tn,No)}else ft=Yn;Lo(!ct);var An=r.useRef();r.useEffect(function(){(0,Ur.T0)(An.current||[],Xt||[])||No.setFields(Xt||[]),An.current=Xt},[Xt,No]);var Rt=r.useMemo(function(){return(0,w.Z)((0,w.Z)({},No),{},{validateTrigger:kn})},[No,kn]),un=r.createElement(M.Provider,{value:Rt},ft);return Ke===!1?un:r.createElement(Ke,(0,y.Z)({},go,{onSubmit:function(dr){dr.preventDefault(),dr.stopPropagation(),No.submit()},onReset:function(dr){var Ar;dr.preventDefault(),No.resetFields(),(Ar=go.onReset)===null||Ar===void 0||Ar.call(go,dr)}}),un)},ti=qo;function pi(br){try{return JSON.stringify(br)}catch(Re){return Math.random()}}var ni=function(){};function si(){for(var br=arguments.length,Re=new Array(br),je=0;je<br;je++)Re[je]=arguments[je];var nt=Re[0],rt=nt===void 0?[]:nt,Xt=Re[1],fn=(0,r.useState)(),Cn=(0,eo.Z)(fn,2),Yn=Cn[0],Ae=Cn[1],Ke=(0,r.useMemo)(function(){return pi(Yn)},[Yn]),Mt=(0,r.useRef)(Ke);Mt.current=Ke;var Ut=(0,r.useContext)(M),kn=Xt||Ut,Zn=kn&&kn._init,lr=(0,Ur.gU)(rt),wr=(0,r.useRef)(lr);return wr.current=lr,ni(lr),(0,r.useEffect)(function(){if(Zn){var Dr=kn.getFieldsValue,go=kn.getInternalHooks,Ir=go(s),Jr=Ir.registerWatch,_o=Jr(function(ii){var Lo=(0,Ur.NA)(ii,wr.current),ai=pi(Lo);Mt.current!==ai&&(Mt.current=ai,Ae(Lo))}),No=(0,Ur.NA)(Dr(),wr.current);return Ae(No),_o}},[Zn]),Yn}var Oi=si,Ki=r.forwardRef(ti),ca=Ki;ca.FormProvider=Vo,ca.Field=er,ca.List=yo,ca.useForm=Rr,ca.useWatch=Oi;var zi=null},95971:function(Pt,Ee,c){\"use strict\";var r=c(26143);function y(w){return Array.isArray(w)?C(w):(0,r.Z)(w)===\"object\"&&w!==null?N(w):w}function N(w){if(Object.getPrototypeOf(w)===Object.prototype){var O={};for(var b in w)O[b]=y(w[b]);return O}return w}function C(w){return w.map(function(O){return y(O)})}Ee.Z=y},86698:function(Pt,Ee,c){\"use strict\";c.d(Ee,{q:function(){return r}});function r(y){return y==null?[]:Array.isArray(y)?y:[y]}},63309:function(Pt,Ee,c){\"use strict\";c.d(Ee,{H_:function(){return l},T1:function(){return s},iZ:function(){return L},gU:function(){return a},NA:function(){return f},T0:function(){return j},LX:function(){return E},pB:function(){return A},sO:function(){return h},gg:function(){return M}});var r=c(75782),y=c(49544),N=c(26143);function C(J,q){for(var re=J,me=0;me<q.length;me+=1){if(re==null)return;re=re[q[me]]}return re}var w=c(9942);function O(J,q,re,me){if(!q.length)return re;var Te=(0,w.Z)(q),ee=Te[0],xe=Te.slice(1),Ie;return!J&&typeof ee==\"number\"?Ie=[]:Array.isArray(J)?Ie=(0,y.Z)(J):Ie=(0,r.Z)({},J),me&&re===void 0&&xe.length===1?delete Ie[ee][xe[0]]:Ie[ee]=O(Ie[ee],xe,re,me),Ie}function b(J,q,re){var me=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return q.length&&me&&re===void 0&&!C(J,q.slice(0,-1))?J:O(J,q,re,me)}var p=c(86698),u=c(95971);function a(J){return(0,p.q)(J)}function f(J,q){var re=C(J,q);return re}function h(J,q,re){var me=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Te=b(J,q,re,me);return Te}function l(J,q){var re={};return q.forEach(function(me){var Te=f(J,me);re=h(re,me,Te)}),re}function s(J,q){return J&&J.some(function(re){return E(re,q)})}function m(J){return(0,N.Z)(J)===\"object\"&&J!==null&&Object.getPrototypeOf(J)===Object.prototype}function x(J,q){var re=Array.isArray(J)?(0,y.Z)(J):(0,r.Z)({},J);return q&&Object.keys(q).forEach(function(me){var Te=re[me],ee=q[me],xe=m(Te)&&m(ee);re[me]=xe?x(Te,ee||{}):(0,u.Z)(ee)}),re}function M(J){for(var q=arguments.length,re=new Array(q>1?q-1:0),me=1;me<q;me++)re[me-1]=arguments[me];return re.reduce(function(Te,ee){return x(Te,ee)},J)}function E(J,q){return!J||!q||J.length!==q.length?!1:J.every(function(re,me){return q[me]===re})}function j(J,q){if(J===q)return!0;if(!J&&q||J&&!q||!J||!q||(0,N.Z)(J)!==\"object\"||(0,N.Z)(q)!==\"object\")return!1;var re=Object.keys(J),me=Object.keys(q),Te=new Set([].concat(re,me));return(0,y.Z)(Te).every(function(ee){var xe=J[ee],Ie=q[ee];return typeof xe==\"function\"&&typeof Ie==\"function\"?!0:xe===Ie})}function L(J){var q=arguments.length<=1?void 0:arguments[1];return q&&q.target&&(0,N.Z)(q.target)===\"object\"&&J in q.target?q.target[J]:q}function A(J,q,re){var me=J.length;if(q<0||q>=me||re<0||re>=me)return J;var Te=J[q],ee=q-re;return ee>0?[].concat((0,y.Z)(J.slice(0,re)),[Te],(0,y.Z)(J.slice(re,q)),(0,y.Z)(J.slice(q+1,me))):ee<0?[].concat((0,y.Z)(J.slice(0,q)),(0,y.Z)(J.slice(q+1,re+1)),[Te],(0,y.Z)(J.slice(re+1,me))):J}},85715:function(Pt,Ee,c){\"use strict\";c.d(Ee,{G:function(){return l},Z:function(){return M}});var r=c(51163),y=c(75782),N=c(58733),C=c(14254),w=c(50959),O={shiftX:64,adjustY:1},b={adjustX:1,shiftY:!0},p=[0,0],u={left:{points:[\"cr\",\"cl\"],overflow:b,offset:[-4,0],targetOffset:p},right:{points:[\"cl\",\"cr\"],overflow:b,offset:[4,0],targetOffset:p},top:{points:[\"bc\",\"tc\"],overflow:O,offset:[0,-4],targetOffset:p},bottom:{points:[\"tc\",\"bc\"],overflow:O,offset:[0,4],targetOffset:p},topLeft:{points:[\"bl\",\"tl\"],overflow:O,offset:[0,-4],targetOffset:p},leftTop:{points:[\"tr\",\"tl\"],overflow:b,offset:[-4,0],targetOffset:p},topRight:{points:[\"br\",\"tr\"],overflow:O,offset:[0,-4],targetOffset:p},rightTop:{points:[\"tl\",\"tr\"],overflow:b,offset:[4,0],targetOffset:p},bottomRight:{points:[\"tr\",\"br\"],overflow:O,offset:[0,4],targetOffset:p},rightBottom:{points:[\"bl\",\"br\"],overflow:b,offset:[4,0],targetOffset:p},bottomLeft:{points:[\"tl\",\"bl\"],overflow:O,offset:[0,4],targetOffset:p},leftBottom:{points:[\"br\",\"bl\"],overflow:b,offset:[-4,0],targetOffset:p}},a=null,f=c(84875),h=c.n(f);function l(E){var j=E.children,L=E.prefixCls,A=E.id,J=E.overlayInnerStyle,q=E.className,re=E.style;return w.createElement(\"div\",{className:h()(\"\".concat(L,\"-content\"),q),style:re},w.createElement(\"div\",{className:\"\".concat(L,\"-inner\"),id:A,role:\"tooltip\",style:J},typeof j==\"function\"?j():j))}var s=[\"overlayClassName\",\"trigger\",\"mouseEnterDelay\",\"mouseLeaveDelay\",\"overlayStyle\",\"prefixCls\",\"children\",\"onVisibleChange\",\"afterVisibleChange\",\"transitionName\",\"animation\",\"motion\",\"placement\",\"align\",\"destroyTooltipOnHide\",\"defaultVisible\",\"getTooltipContainer\",\"overlayInnerStyle\",\"arrowContent\",\"overlay\",\"id\",\"showArrow\"],m=function(j,L){var A=j.overlayClassName,J=j.trigger,q=J===void 0?[\"hover\"]:J,re=j.mouseEnterDelay,me=re===void 0?0:re,Te=j.mouseLeaveDelay,ee=Te===void 0?.1:Te,xe=j.overlayStyle,Ie=j.prefixCls,Le=Ie===void 0?\"rc-tooltip\":Ie,De=j.children,ce=j.onVisibleChange,ye=j.afterVisibleChange,Oe=j.transitionName,Ce=j.animation,oe=j.motion,he=j.placement,ie=he===void 0?\"right\":he,ae=j.align,ve=ae===void 0?{}:ae,X=j.destroyTooltipOnHide,se=X===void 0?!1:X,fe=j.defaultVisible,_e=j.getTooltipContainer,be=j.overlayInnerStyle,We=j.arrowContent,we=j.overlay,Ze=j.id,Ve=j.showArrow,et=Ve===void 0?!0:Ve,ht=(0,N.Z)(j,s),Fe=(0,w.useRef)(null);(0,w.useImperativeHandle)(L,function(){return Fe.current});var mt=(0,y.Z)({},ht);\"visible\"in j&&(mt.popupVisible=j.visible);var dt=function(){return w.createElement(l,{key:\"content\",prefixCls:Le,id:Ze,overlayInnerStyle:be},we)};return w.createElement(C.Z,(0,r.Z)({popupClassName:A,prefixCls:Le,popup:dt,action:q,builtinPlacements:u,popupPlacement:ie,ref:Fe,popupAlign:ve,getPopupContainer:_e,onPopupVisibleChange:ce,afterPopupVisibleChange:ye,popupTransitionName:Oe,popupAnimation:Ce,popupMotion:oe,defaultPopupVisible:fe,autoDestroy:se,mouseLeaveDelay:ee,popupStyle:xe,mouseEnterDelay:me,arrow:et},mt),De)},x=(0,w.forwardRef)(m),M=x},52797:function(Pt,Ee,c){\"use strict\";c.d(Ee,{hq:function(){return m},jL:function(){return h}});var r=c(61237),y=c(89013),N=\"data-rc-order\",C=\"rc-util-key\",w=new Map;function O(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},M=x.mark;return M?M.startsWith(\"data-\")?M:\"data-\".concat(M):C}function b(x){if(x.attachTo)return x.attachTo;var M=document.querySelector(\"head\");return M||document.body}function p(x){return x===\"queue\"?\"prependQueue\":x?\"prepend\":\"append\"}function u(x){return Array.from((w.get(x)||x).children).filter(function(M){return M.tagName===\"STYLE\"})}function a(x){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,r.Z)())return null;var E=M.csp,j=M.prepend,L=document.createElement(\"style\");L.setAttribute(N,p(j)),E!=null&&E.nonce&&(L.nonce=E==null?void 0:E.nonce),L.innerHTML=x;var A=b(M),J=A.firstChild;if(j){if(j===\"queue\"){var q=u(A).filter(function(re){return[\"prepend\",\"prependQueue\"].includes(re.getAttribute(N))});if(q.length)return A.insertBefore(L,q[q.length-1].nextSibling),L}A.insertBefore(L,J)}else A.appendChild(L);return L}function f(x){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},E=b(M);return u(E).find(function(j){return j.getAttribute(O(M))===x})}function h(x){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},E=f(x,M);if(E){var j=b(M);j.removeChild(E)}}function l(x,M){var E=w.get(x);if(!E||!(0,y.Z)(document,E)){var j=a(\"\",M),L=j.parentNode;w.set(x,L),x.removeChild(j)}}function s(){w.clear()}function m(x,M){var E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},j=b(E);l(j,E);var L=f(M,E);if(L){var A,J;if((A=E.csp)!==null&&A!==void 0&&A.nonce&&L.nonce!==((J=E.csp)===null||J===void 0?void 0:J.nonce)){var q;L.nonce=(q=E.csp)===null||q===void 0?void 0:q.nonce}return L.innerHTML!==x&&(L.innerHTML=x),L}var re=a(x,E);return re.setAttribute(O(E),M),re}},42622:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return p}});var r=c(75782),y=`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`,N=`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`,C=\"\".concat(y,\" \").concat(N).split(/[\\s\\n]+/),w=\"aria-\",O=\"data-\";function b(u,a){return u.indexOf(a)===0}function p(u){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,f;a===!1?f={aria:!0,data:!0,attr:!0}:a===!0?f={aria:!0}:f=(0,r.Z)({},a);var h={};return Object.keys(u).forEach(function(l){(f.aria&&(l===\"role\"||b(l,w))||f.data&&b(l,O)||f.attr&&C.includes(l))&&(h[l]=u[l])}),h}},51206:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return _e}});var r=c(51163),y=c(24572),N=c(75782),C=c(91600),w=c(58733),O=c(50959),b=c(84875),p=c.n(b),u=c(60555),a=O.forwardRef(function(be,We){var we=be.height,Ze=be.offset,Ve=be.children,et=be.prefixCls,ht=be.onInnerResize,Fe=be.innerProps,mt={},dt={display:\"flex\",flexDirection:\"column\"};return Ze!==void 0&&(mt={height:we,position:\"relative\",overflow:\"hidden\"},dt=(0,N.Z)((0,N.Z)({},dt),{},{transform:\"translateY(\".concat(Ze,\"px)\"),position:\"absolute\",left:0,right:0,top:0})),O.createElement(\"div\",{style:mt},O.createElement(u.Z,{onResize:function(lt){var rn=lt.offsetHeight;rn&&ht&&ht()}},O.createElement(\"div\",(0,r.Z)({style:dt,className:p()((0,y.Z)({},\"\".concat(et,\"-holder-inner\"),et)),ref:We},Fe),Ve)))});a.displayName=\"Filler\";var f=a,h=c(40936),l=c(49962),s=c(39027),m=c(76614),x=c(40086),M=20;function E(be){return\"touches\"in be?be.touches[0].pageY:be.pageY}var j=function(be){(0,s.Z)(we,be);var We=(0,m.Z)(we);function we(){var Ze;(0,h.Z)(this,we);for(var Ve=arguments.length,et=new Array(Ve),ht=0;ht<Ve;ht++)et[ht]=arguments[ht];return Ze=We.call.apply(We,[this].concat(et)),Ze.moveRaf=null,Ze.scrollbarRef=O.createRef(),Ze.thumbRef=O.createRef(),Ze.visibleTimeout=null,Ze.state={dragging:!1,pageY:null,startTop:null,visible:!1},Ze.delayHidden=function(){clearTimeout(Ze.visibleTimeout),Ze.setState({visible:!0}),Ze.visibleTimeout=setTimeout(function(){Ze.setState({visible:!1})},2e3)},Ze.onScrollbarTouchStart=function(Fe){Fe.preventDefault()},Ze.onContainerMouseDown=function(Fe){Fe.stopPropagation(),Fe.preventDefault()},Ze.patchEvents=function(){window.addEventListener(\"mousemove\",Ze.onMouseMove),window.addEventListener(\"mouseup\",Ze.onMouseUp),Ze.thumbRef.current.addEventListener(\"touchmove\",Ze.onMouseMove),Ze.thumbRef.current.addEventListener(\"touchend\",Ze.onMouseUp)},Ze.removeEvents=function(){var Fe;window.removeEventListener(\"mousemove\",Ze.onMouseMove),window.removeEventListener(\"mouseup\",Ze.onMouseUp),(Fe=Ze.scrollbarRef.current)===null||Fe===void 0||Fe.removeEventListener(\"touchstart\",Ze.onScrollbarTouchStart),Ze.thumbRef.current&&(Ze.thumbRef.current.removeEventListener(\"touchstart\",Ze.onMouseDown),Ze.thumbRef.current.removeEventListener(\"touchmove\",Ze.onMouseMove),Ze.thumbRef.current.removeEventListener(\"touchend\",Ze.onMouseUp)),x.Z.cancel(Ze.moveRaf)},Ze.onMouseDown=function(Fe){var mt=Ze.props.onStartMove;Ze.setState({dragging:!0,pageY:E(Fe),startTop:Ze.getTop()}),mt(),Ze.patchEvents(),Fe.stopPropagation(),Fe.preventDefault()},Ze.onMouseMove=function(Fe){var mt=Ze.state,dt=mt.dragging,Lt=mt.pageY,lt=mt.startTop,rn=Ze.props.onScroll;if(x.Z.cancel(Ze.moveRaf),dt){var qt=E(Fe)-Lt,hn=lt+qt,Kt=Ze.getEnableScrollRange(),an=Ze.getEnableHeightRange(),In=an?hn/an:0,Ft=Math.ceil(In*Kt);Ze.moveRaf=(0,x.Z)(function(){rn(Ft)})}},Ze.onMouseUp=function(){var Fe=Ze.props.onStopMove;Ze.setState({dragging:!1}),Fe(),Ze.removeEvents()},Ze.getSpinHeight=function(){var Fe=Ze.props,mt=Fe.height,dt=Fe.count,Lt=mt/dt*10;return Lt=Math.max(Lt,M),Lt=Math.min(Lt,mt/2),Math.floor(Lt)},Ze.getEnableScrollRange=function(){var Fe=Ze.props,mt=Fe.scrollHeight,dt=Fe.height;return mt-dt||0},Ze.getEnableHeightRange=function(){var Fe=Ze.props.height,mt=Ze.getSpinHeight();return Fe-mt||0},Ze.getTop=function(){var Fe=Ze.props.scrollTop,mt=Ze.getEnableScrollRange(),dt=Ze.getEnableHeightRange();if(Fe===0||mt===0)return 0;var Lt=Fe/mt;return Lt*dt},Ze.showScroll=function(){var Fe=Ze.props,mt=Fe.height,dt=Fe.scrollHeight;return dt>mt},Ze}return(0,l.Z)(we,[{key:\"componentDidMount\",value:function(){this.scrollbarRef.current.addEventListener(\"touchstart\",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener(\"touchstart\",this.onMouseDown)}},{key:\"componentDidUpdate\",value:function(Ve){Ve.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:\"componentWillUnmount\",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:\"render\",value:function(){var Ve=this.state,et=Ve.dragging,ht=Ve.visible,Fe=this.props.prefixCls,mt=this.getSpinHeight(),dt=this.getTop(),Lt=this.showScroll(),lt=Lt&&ht;return O.createElement(\"div\",{ref:this.scrollbarRef,className:p()(\"\".concat(Fe,\"-scrollbar\"),(0,y.Z)({},\"\".concat(Fe,\"-scrollbar-show\"),Lt)),style:{width:8,top:0,bottom:0,right:0,position:\"absolute\",display:lt?null:\"none\"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},O.createElement(\"div\",{ref:this.thumbRef,className:p()(\"\".concat(Fe,\"-scrollbar-thumb\"),(0,y.Z)({},\"\".concat(Fe,\"-scrollbar-thumb-moving\"),et)),style:{width:\"100%\",height:mt,top:dt,left:0,position:\"absolute\",background:\"rgba(0, 0, 0, 0.5)\",borderRadius:99,cursor:\"pointer\",userSelect:\"none\"},onMouseDown:this.onMouseDown}))}}]),we}(O.Component);function L(be){var We=be.children,we=be.setRef,Ze=O.useCallback(function(Ve){we(Ve)},[]);return O.cloneElement(We,{ref:Ze})}function A(be,We,we,Ze,Ve,et){var ht=et.getKey;return be.slice(We,we+1).map(function(Fe,mt){var dt=We+mt,Lt=Ve(Fe,dt,{}),lt=ht(Fe);return O.createElement(L,{key:lt,setRef:function(qt){return Ze(Fe,qt)}},Lt)})}var J=c(90899),q=function(){function be(){(0,h.Z)(this,be),this.maps=void 0,this.maps=Object.create(null)}return(0,l.Z)(be,[{key:\"set\",value:function(we,Ze){this.maps[we]=Ze}},{key:\"get\",value:function(we){return this.maps[we]}}]),be}(),re=q;function me(be,We,we){var Ze=O.useState(0),Ve=(0,C.Z)(Ze,2),et=Ve[0],ht=Ve[1],Fe=(0,O.useRef)(new Map),mt=(0,O.useRef)(new re),dt=(0,O.useRef)();function Lt(){x.Z.cancel(dt.current)}function lt(){Lt(),dt.current=(0,x.Z)(function(){Fe.current.forEach(function(qt,hn){if(qt&&qt.offsetParent){var Kt=(0,J.Z)(qt),an=Kt.offsetHeight;mt.current.get(hn)!==an&&mt.current.set(hn,Kt.offsetHeight)}}),ht(function(qt){return qt+1})})}function rn(qt,hn){var Kt=be(qt),an=Fe.current.get(Kt);hn?(Fe.current.set(Kt,hn),lt()):Fe.current.delete(Kt),!an!=!hn&&(hn?We==null||We(qt):we==null||we(qt))}return(0,O.useEffect)(function(){return Lt},[]),[rn,lt,mt.current,et]}var Te=c(26143);function ee(be,We,we,Ze,Ve,et,ht,Fe){var mt=O.useRef();return function(dt){if(dt==null){Fe();return}if(x.Z.cancel(mt.current),typeof dt==\"number\")ht(dt);else if(dt&&(0,Te.Z)(dt)===\"object\"){var Lt,lt=dt.align;\"index\"in dt?Lt=dt.index:Lt=We.findIndex(function(Kt){return Ve(Kt)===dt.key});var rn=dt.offset,qt=rn===void 0?0:rn,hn=function Kt(an,In){if(!(an<0||!be.current)){var Ft=be.current.clientHeight,kt=!1,At=In;if(Ft){for(var Fn=In||lt,pn=0,en=0,Wn=0,Mn=Math.min(We.length,Lt),Kn=0;Kn<=Mn;Kn+=1){var hr=Ve(We[Kn]);en=pn;var pr=we.get(hr);Wn=en+(pr===void 0?Ze:pr),pn=Wn,Kn===Lt&&pr===void 0&&(kt=!0)}var zr=null;switch(Fn){case\"top\":zr=en-qt;break;case\"bottom\":zr=Wn-Ft+qt;break;default:{var Wr=be.current.scrollTop,Nr=Wr+Ft;en<Wr?At=\"top\":Wn>Nr&&(At=\"bottom\")}}zr!==null&&zr!==be.current.scrollTop&&ht(zr)}mt.current=(0,x.Z)(function(){kt&&et(),Kt(an-1,At)},2)}};hn(3)}}}function xe(be,We,we,Ze){var Ve=we-be,et=We-we,ht=Math.min(Ve,et)*2;if(Ze<=ht){var Fe=Math.floor(Ze/2);return Ze%2?we+Fe+1:we-Fe}return Ve>et?we-(Ze-et):we+(Ze-Ve)}function Ie(be,We,we){var Ze=be.length,Ve=We.length,et,ht;if(Ze===0&&Ve===0)return null;Ze<Ve?(et=be,ht=We):(et=We,ht=be);var Fe={__EMPTY_ITEM__:!0};function mt(hn){return hn!==void 0?we(hn):Fe}for(var dt=null,Lt=Math.abs(Ze-Ve)!==1,lt=0;lt<ht.length;lt+=1){var rn=mt(et[lt]),qt=mt(ht[lt]);if(rn!==qt){dt=lt,Lt=Lt||rn!==mt(ht[lt+1]);break}}return dt===null?null:{index:dt,multiple:Lt}}function Le(be,We,we){var Ze=O.useState(be),Ve=(0,C.Z)(Ze,2),et=Ve[0],ht=Ve[1],Fe=O.useState(null),mt=(0,C.Z)(Fe,2),dt=mt[0],Lt=mt[1];return O.useEffect(function(){var lt=Ie(et||[],be||[],We);(lt==null?void 0:lt.index)!==void 0&&(we==null||we(lt.index),Lt(be[lt.index])),ht(be)},[be]),[dt]}var De=(typeof navigator==\"undefined\"?\"undefined\":(0,Te.Z)(navigator))===\"object\"&&/Firefox/i.test(navigator.userAgent),ce=De,ye=function(be,We){var we=(0,O.useRef)(!1),Ze=(0,O.useRef)(null);function Ve(){clearTimeout(Ze.current),we.current=!0,Ze.current=setTimeout(function(){we.current=!1},50)}var et=(0,O.useRef)({top:be,bottom:We});return et.current.top=be,et.current.bottom=We,function(ht){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,mt=ht<0&&et.current.top||ht>0&&et.current.bottom;return Fe&&mt?(clearTimeout(Ze.current),we.current=!1):(!mt||we.current)&&Ve(),!we.current&&mt}};function Oe(be,We,we,Ze){var Ve=(0,O.useRef)(0),et=(0,O.useRef)(null),ht=(0,O.useRef)(null),Fe=(0,O.useRef)(!1),mt=ye(We,we);function dt(lt){if(be){x.Z.cancel(et.current);var rn=lt.deltaY;Ve.current+=rn,ht.current=rn,!mt(rn)&&(ce||lt.preventDefault(),et.current=(0,x.Z)(function(){var qt=Fe.current?10:1;Ze(Ve.current*qt),Ve.current=0}))}}function Lt(lt){be&&(Fe.current=lt.detail===ht.current)}return[dt,Lt]}var Ce=c(57770),oe=14/15;function he(be,We,we){var Ze=(0,O.useRef)(!1),Ve=(0,O.useRef)(0),et=(0,O.useRef)(null),ht=(0,O.useRef)(null),Fe,mt=function(rn){if(Ze.current){var qt=Math.ceil(rn.touches[0].pageY),hn=Ve.current-qt;Ve.current=qt,we(hn)&&rn.preventDefault(),clearInterval(ht.current),ht.current=setInterval(function(){hn*=oe,(!we(hn,!0)||Math.abs(hn)<=.1)&&clearInterval(ht.current)},16)}},dt=function(){Ze.current=!1,Fe()},Lt=function(rn){Fe(),rn.touches.length===1&&!Ze.current&&(Ze.current=!0,Ve.current=Math.ceil(rn.touches[0].pageY),et.current=rn.target,et.current.addEventListener(\"touchmove\",mt),et.current.addEventListener(\"touchend\",dt))};Fe=function(){et.current&&(et.current.removeEventListener(\"touchmove\",mt),et.current.removeEventListener(\"touchend\",dt))},(0,Ce.Z)(function(){return be&&We.current.addEventListener(\"touchstart\",Lt),function(){var lt;(lt=We.current)===null||lt===void 0||lt.removeEventListener(\"touchstart\",Lt),Fe(),clearInterval(ht.current)}},[be])}var ie=[\"prefixCls\",\"className\",\"height\",\"itemHeight\",\"fullHeight\",\"style\",\"data\",\"children\",\"itemKey\",\"virtual\",\"component\",\"onScroll\",\"onVisibleChange\",\"innerProps\"],ae=[],ve={overflowY:\"auto\",overflowAnchor:\"none\"};function X(be,We){var we=be.prefixCls,Ze=we===void 0?\"rc-virtual-list\":we,Ve=be.className,et=be.height,ht=be.itemHeight,Fe=be.fullHeight,mt=Fe===void 0?!0:Fe,dt=be.style,Lt=be.data,lt=be.children,rn=be.itemKey,qt=be.virtual,hn=be.component,Kt=hn===void 0?\"div\":hn,an=be.onScroll,In=be.onVisibleChange,Ft=be.innerProps,kt=(0,w.Z)(be,ie),At=!!(qt!==!1&&et&&ht),Fn=At&&Lt&&ht*Lt.length>et,pn=(0,O.useState)(0),en=(0,C.Z)(pn,2),Wn=en[0],Mn=en[1],Kn=(0,O.useState)(!1),hr=(0,C.Z)(Kn,2),pr=hr[0],zr=hr[1],Wr=p()(Ze,Ve),Nr=Lt||ae,Kr=(0,O.useRef)(),ko=(0,O.useRef)(),Ur=(0,O.useRef)(),gn=O.useCallback(function(Co){return typeof rn==\"function\"?rn(Co):Co==null?void 0:Co[rn]},[rn]),Gt={getKey:gn};function bt(Co){Mn(function(Mo){var qo;typeof Co==\"function\"?qo=Co(Mo):qo=Co;var ti=vi(qo);return Kr.current.scrollTop=ti,ti})}var Zt=(0,O.useRef)({start:0,end:Nr.length}),gt=(0,O.useRef)(),Wt=Le(Nr,gn),xn=(0,C.Z)(Wt,1),Dt=xn[0];gt.current=Dt;var Xn=me(gn,null,null),Rn=(0,C.Z)(Xn,4),wt=Rn[0],pt=Rn[1],Ue=Rn[2],xt=Rn[3],cn=O.useMemo(function(){if(!At)return{scrollHeight:void 0,start:0,end:Nr.length-1,offset:void 0};if(!Fn){var Co;return{scrollHeight:((Co=ko.current)===null||Co===void 0?void 0:Co.offsetHeight)||0,start:0,end:Nr.length-1,offset:void 0}}for(var Mo=0,qo,ti,pi,ni=Nr.length,si=0;si<ni;si+=1){var Oi=Nr[si],Ki=gn(Oi),ca=Ue.get(Ki),zi=Mo+(ca===void 0?ht:ca);zi>=Wn&&qo===void 0&&(qo=si,ti=Mo),zi>Wn+et&&pi===void 0&&(pi=si),Mo=zi}return qo===void 0&&(qo=0,ti=0,pi=Math.ceil(et/ht)),pi===void 0&&(pi=Nr.length-1),pi=Math.min(pi+1,Nr.length),{scrollHeight:Mo,start:qo,end:pi,offset:ti}},[Fn,At,Wn,Nr,xt,et]),er=cn.scrollHeight,Mr=cn.start,xr=cn.end,jr=cn.offset;Zt.current.start=Mr,Zt.current.end=xr;var yo=er-et,eo=(0,O.useRef)(yo);eo.current=yo;function vi(Co){var Mo=Co;return Number.isNaN(eo.current)||(Mo=Math.min(Mo,eo.current)),Mo=Math.max(Mo,0),Mo}var Ti=Wn<=0,wi=Wn>=yo,mi=ye(Ti,wi);function Zi(Co){var Mo=Co;bt(Mo)}function aa(Co){var Mo=Co.currentTarget.scrollTop;Mo!==Wn&&bt(Mo),an==null||an(Co)}var $e=Oe(At,Ti,wi,function(Co){bt(function(Mo){var qo=Mo+Co;return qo})}),dn=(0,C.Z)($e,2),Un=dn[0],ar=dn[1];he(At,Kr,function(Co,Mo){return mi(Co,Mo)?!1:(Un({preventDefault:function(){},deltaY:Co}),!0)}),(0,Ce.Z)(function(){function Co(Mo){At&&Mo.preventDefault()}return Kr.current.addEventListener(\"wheel\",Un),Kr.current.addEventListener(\"DOMMouseScroll\",ar),Kr.current.addEventListener(\"MozMousePixelScroll\",Co),function(){Kr.current&&(Kr.current.removeEventListener(\"wheel\",Un),Kr.current.removeEventListener(\"DOMMouseScroll\",ar),Kr.current.removeEventListener(\"MozMousePixelScroll\",Co))}},[At]);var Rr=ee(Kr,Nr,Ue,ht,gn,pt,bt,function(){var Co;(Co=Ur.current)===null||Co===void 0||Co.delayHidden()});O.useImperativeHandle(We,function(){return{scrollTo:Rr}}),(0,Ce.Z)(function(){if(In){var Co=Nr.slice(Mr,xr+1);In(Co,Nr)}},[Mr,xr,Nr]);var Ro=A(Nr,Mr,xr,wt,lt,Gt),Vo=null;return et&&(Vo=(0,N.Z)((0,y.Z)({},mt?\"height\":\"maxHeight\",et),ve),At&&(Vo.overflowY=\"hidden\",pr&&(Vo.pointerEvents=\"none\"))),O.createElement(\"div\",(0,r.Z)({style:(0,N.Z)((0,N.Z)({},dt),{},{position:\"relative\"}),className:Wr},kt),O.createElement(Kt,{className:\"\".concat(Ze,\"-holder\"),style:Vo,ref:Kr,onScroll:aa},O.createElement(f,{prefixCls:Ze,height:er,offset:jr,onInnerResize:pt,ref:ko,innerProps:Ft},Ro)),At&&O.createElement(j,{ref:Ur,prefixCls:Ze,scrollTop:Wn,height:et,scrollHeight:er,count:Nr.length,onScroll:Zi,onStartMove:function(){zr(!0)},onStopMove:function(){zr(!1)}}))}var se=O.forwardRef(X);se.displayName=\"List\";var fe=se,_e=fe},12739:function(Pt,Ee,c){\"use strict\";c.d(Ee,{xS:function(){return gc}});var r=c(50959),y=c(80014),N=function(Y,Ne,qe,vt,Sn){var or=Sn.clientWidth,Or=Sn.clientHeight,Hr=typeof Y.pageX==\"number\"?Y.pageX:Y.touches[0].pageX,ro=typeof Y.pageY==\"number\"?Y.pageY:Y.touches[0].pageY,zo=Hr-(Sn.getBoundingClientRect().left+window.pageXOffset),oi=ro-(Sn.getBoundingClientRect().top+window.pageYOffset);if(qe===\"vertical\"){var bi=void 0;if(oi<0?bi=0:oi>Or?bi=1:bi=Math.round(oi*100/Or)/100,Ne.a!==bi)return{h:Ne.h,s:Ne.s,l:Ne.l,a:bi,source:\"rgb\"}}else{var ji=void 0;if(zo<0?ji=0:zo>or?ji=1:ji=Math.round(zo*100/or)/100,vt!==ji)return{h:Ne.h,s:Ne.s,l:Ne.l,a:ji,source:\"rgb\"}}return null},C={},w=function(Y,Ne,qe,vt){if(typeof document==\"undefined\"&&!vt)return null;var Sn=vt?new vt:document.createElement(\"canvas\");Sn.width=qe*2,Sn.height=qe*2;var or=Sn.getContext(\"2d\");return or?(or.fillStyle=Y,or.fillRect(0,0,Sn.width,Sn.height),or.fillStyle=Ne,or.fillRect(0,0,qe,qe),or.translate(qe,qe),or.fillRect(0,0,qe,qe),Sn.toDataURL()):null},O=function(Y,Ne,qe,vt){var Sn=Y+\"-\"+Ne+\"-\"+qe+(vt?\"-server\":\"\");if(C[Sn])return C[Sn];var or=w(Y,Ne,qe,vt);return C[Sn]=or,or},b=Object.assign||function(ue){for(var Y=1;Y<arguments.length;Y++){var Ne=arguments[Y];for(var qe in Ne)Object.prototype.hasOwnProperty.call(Ne,qe)&&(ue[qe]=Ne[qe])}return ue},p=function(Y){var Ne=Y.white,qe=Y.grey,vt=Y.size,Sn=Y.renderers,or=Y.borderRadius,Or=Y.boxShadow,Hr=Y.children,ro=(0,y.ZP)({default:{grid:{borderRadius:or,boxShadow:Or,absolute:\"0px 0px 0px 0px\",background:\"url(\"+O(Ne,qe,vt,Sn.canvas)+\") center left\"}}});return(0,r.isValidElement)(Hr)?r.cloneElement(Hr,b({},Hr.props,{style:b({},Hr.props.style,ro.grid)})):r.createElement(\"div\",{style:ro.grid})};p.defaultProps={size:8,white:\"transparent\",grey:\"rgba(0,0,0,.08)\",renderers:{}};var u=p,a=Object.assign||function(ue){for(var Y=1;Y<arguments.length;Y++){var Ne=arguments[Y];for(var qe in Ne)Object.prototype.hasOwnProperty.call(Ne,qe)&&(ue[qe]=Ne[qe])}return ue},f=function(){function ue(Y,Ne){for(var qe=0;qe<Ne.length;qe++){var vt=Ne[qe];vt.enumerable=vt.enumerable||!1,vt.configurable=!0,\"value\"in vt&&(vt.writable=!0),Object.defineProperty(Y,vt.key,vt)}}return function(Y,Ne,qe){return Ne&&ue(Y.prototype,Ne),qe&&ue(Y,qe),Y}}();function h(ue,Y){if(!(ue instanceof Y))throw new TypeError(\"Cannot call a class as a function\")}function l(ue,Y){if(!ue)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return Y&&(typeof Y==\"object\"||typeof Y==\"function\")?Y:ue}function s(ue,Y){if(typeof Y!=\"function\"&&Y!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof Y);ue.prototype=Object.create(Y&&Y.prototype,{constructor:{value:ue,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(ue,Y):ue.__proto__=Y)}var m=function(ue){s(Y,ue);function Y(){var Ne,qe,vt,Sn;h(this,Y);for(var or=arguments.length,Or=Array(or),Hr=0;Hr<or;Hr++)Or[Hr]=arguments[Hr];return Sn=(qe=(vt=l(this,(Ne=Y.__proto__||Object.getPrototypeOf(Y)).call.apply(Ne,[this].concat(Or))),vt),vt.handleChange=function(ro){var zo=N(ro,vt.props.hsl,vt.props.direction,vt.props.a,vt.container);zo&&typeof vt.props.onChange==\"function\"&&vt.props.onChange(zo,ro)},vt.handleMouseDown=function(ro){vt.handleChange(ro),window.addEventListener(\"mousemove\",vt.handleChange),window.addEventListener(\"mouseup\",vt.handleMouseUp)},vt.handleMouseUp=function(){vt.unbindEventListeners()},vt.unbindEventListeners=function(){window.removeEventListener(\"mousemove\",vt.handleChange),window.removeEventListener(\"mouseup\",vt.handleMouseUp)},qe),l(vt,Sn)}return f(Y,[{key:\"componentWillUnmount\",value:function(){this.unbindEventListeners()}},{key:\"render\",value:function(){var qe=this,vt=this.props.rgb,Sn=(0,y.ZP)({default:{alpha:{absolute:\"0px 0px 0px 0px\",borderRadius:this.props.radius},checkboard:{absolute:\"0px 0px 0px 0px\",overflow:\"hidden\",borderRadius:this.props.radius},gradient:{absolute:\"0px 0px 0px 0px\",background:\"linear-gradient(to right, rgba(\"+vt.r+\",\"+vt.g+\",\"+vt.b+`, 0) 0%,\n           rgba(`+vt.r+\",\"+vt.g+\",\"+vt.b+\", 1) 100%)\",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:\"relative\",height:\"100%\",margin:\"0 3px\"},pointer:{position:\"absolute\",left:vt.a*100+\"%\"},slider:{width:\"4px\",borderRadius:\"1px\",height:\"8px\",boxShadow:\"0 0 2px rgba(0, 0, 0, .6)\",background:\"#fff\",marginTop:\"1px\",transform:\"translateX(-2px)\"}},vertical:{gradient:{background:\"linear-gradient(to bottom, rgba(\"+vt.r+\",\"+vt.g+\",\"+vt.b+`, 0) 0%,\n           rgba(`+vt.r+\",\"+vt.g+\",\"+vt.b+\", 1) 100%)\"},pointer:{left:0,top:vt.a*100+\"%\"}},overwrite:a({},this.props.style)},{vertical:this.props.direction===\"vertical\",overwrite:!0});return r.createElement(\"div\",{style:Sn.alpha},r.createElement(\"div\",{style:Sn.checkboard},r.createElement(u,{renderers:this.props.renderers})),r.createElement(\"div\",{style:Sn.gradient}),r.createElement(\"div\",{style:Sn.container,ref:function(Or){return qe.container=Or},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},r.createElement(\"div\",{style:Sn.pointer},this.props.pointer?r.createElement(this.props.pointer,this.props):r.createElement(\"div\",{style:Sn.slider}))))}}]),Y}(r.PureComponent||r.Component),x=m,M=function(){function ue(Y,Ne){for(var qe=0;qe<Ne.length;qe++){var vt=Ne[qe];vt.enumerable=vt.enumerable||!1,vt.configurable=!0,\"value\"in vt&&(vt.writable=!0),Object.defineProperty(Y,vt.key,vt)}}return function(Y,Ne,qe){return Ne&&ue(Y.prototype,Ne),qe&&ue(Y,qe),Y}}();function E(ue,Y,Ne){return Y in ue?Object.defineProperty(ue,Y,{value:Ne,enumerable:!0,configurable:!0,writable:!0}):ue[Y]=Ne,ue}function j(ue,Y){if(!(ue instanceof Y))throw new TypeError(\"Cannot call a class as a function\")}function L(ue,Y){if(!ue)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return Y&&(typeof Y==\"object\"||typeof Y==\"function\")?Y:ue}function A(ue,Y){if(typeof Y!=\"function\"&&Y!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof Y);ue.prototype=Object.create(Y&&Y.prototype,{constructor:{value:ue,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(ue,Y):ue.__proto__=Y)}var J=1,q=38,re=40,me=[q,re],Te=function(Y){return me.indexOf(Y)>-1},ee=function(Y){return Number(String(Y).replace(/%/g,\"\"))},xe=1,Ie=function(ue){A(Y,ue);function Y(Ne){j(this,Y);var qe=L(this,(Y.__proto__||Object.getPrototypeOf(Y)).call(this));return qe.handleBlur=function(){qe.state.blurValue&&qe.setState({value:qe.state.blurValue,blurValue:null})},qe.handleChange=function(vt){qe.setUpdatedValue(vt.target.value,vt)},qe.handleKeyDown=function(vt){var Sn=ee(vt.target.value);if(!isNaN(Sn)&&Te(vt.keyCode)){var or=qe.getArrowOffset(),Or=vt.keyCode===q?Sn+or:Sn-or;qe.setUpdatedValue(Or,vt)}},qe.handleDrag=function(vt){if(qe.props.dragLabel){var Sn=Math.round(qe.props.value+vt.movementX);Sn>=0&&Sn<=qe.props.dragMax&&qe.props.onChange&&qe.props.onChange(qe.getValueObjectWithLabel(Sn),vt)}},qe.handleMouseDown=function(vt){qe.props.dragLabel&&(vt.preventDefault(),qe.handleDrag(vt),window.addEventListener(\"mousemove\",qe.handleDrag),window.addEventListener(\"mouseup\",qe.handleMouseUp))},qe.handleMouseUp=function(){qe.unbindEventListeners()},qe.unbindEventListeners=function(){window.removeEventListener(\"mousemove\",qe.handleDrag),window.removeEventListener(\"mouseup\",qe.handleMouseUp)},qe.state={value:String(Ne.value).toUpperCase(),blurValue:String(Ne.value).toUpperCase()},qe.inputId=\"rc-editable-input-\"+xe++,qe}return M(Y,[{key:\"componentDidUpdate\",value:function(qe,vt){this.props.value!==this.state.value&&(qe.value!==this.props.value||vt.value!==this.state.value)&&(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:\"componentWillUnmount\",value:function(){this.unbindEventListeners()}},{key:\"getValueObjectWithLabel\",value:function(qe){return E({},this.props.label,qe)}},{key:\"getArrowOffset\",value:function(){return this.props.arrowOffset||J}},{key:\"setUpdatedValue\",value:function(qe,vt){var Sn=this.props.label?this.getValueObjectWithLabel(qe):qe;this.props.onChange&&this.props.onChange(Sn,vt),this.setState({value:qe})}},{key:\"render\",value:function(){var qe=this,vt=(0,y.ZP)({default:{wrap:{position:\"relative\"}},\"user-override\":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},\"dragLabel-true\":{label:{cursor:\"ew-resize\"}}},{\"user-override\":!0},this.props);return r.createElement(\"div\",{style:vt.wrap},r.createElement(\"input\",{id:this.inputId,style:vt.input,ref:function(or){return qe.input=or},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:\"false\"}),this.props.label&&!this.props.hideLabel?r.createElement(\"label\",{htmlFor:this.inputId,style:vt.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),Y}(r.PureComponent||r.Component),Le=Ie,De=function(Y,Ne,qe,vt){var Sn=vt.clientWidth,or=vt.clientHeight,Or=typeof Y.pageX==\"number\"?Y.pageX:Y.touches[0].pageX,Hr=typeof Y.pageY==\"number\"?Y.pageY:Y.touches[0].pageY,ro=Or-(vt.getBoundingClientRect().left+window.pageXOffset),zo=Hr-(vt.getBoundingClientRect().top+window.pageYOffset);if(Ne===\"vertical\"){var oi=void 0;if(zo<0)oi=359;else if(zo>or)oi=0;else{var bi=-(zo*100/or)+100;oi=360*bi/100}if(qe.h!==oi)return{h:oi,s:qe.s,l:qe.l,a:qe.a,source:\"hsl\"}}else{var ji=void 0;if(ro<0)ji=0;else if(ro>Sn)ji=359;else{var ma=ro*100/Sn;ji=360*ma/100}if(qe.h!==ji)return{h:ji,s:qe.s,l:qe.l,a:qe.a,source:\"hsl\"}}return null},ce=function(){function ue(Y,Ne){for(var qe=0;qe<Ne.length;qe++){var vt=Ne[qe];vt.enumerable=vt.enumerable||!1,vt.configurable=!0,\"value\"in vt&&(vt.writable=!0),Object.defineProperty(Y,vt.key,vt)}}return function(Y,Ne,qe){return Ne&&ue(Y.prototype,Ne),qe&&ue(Y,qe),Y}}();function ye(ue,Y){if(!(ue instanceof Y))throw new TypeError(\"Cannot call a class as a function\")}function Oe(ue,Y){if(!ue)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return Y&&(typeof Y==\"object\"||typeof Y==\"function\")?Y:ue}function Ce(ue,Y){if(typeof Y!=\"function\"&&Y!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof Y);ue.prototype=Object.create(Y&&Y.prototype,{constructor:{value:ue,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(ue,Y):ue.__proto__=Y)}var oe=function(ue){Ce(Y,ue);function Y(){var Ne,qe,vt,Sn;ye(this,Y);for(var or=arguments.length,Or=Array(or),Hr=0;Hr<or;Hr++)Or[Hr]=arguments[Hr];return Sn=(qe=(vt=Oe(this,(Ne=Y.__proto__||Object.getPrototypeOf(Y)).call.apply(Ne,[this].concat(Or))),vt),vt.handleChange=function(ro){var zo=De(ro,vt.props.direction,vt.props.hsl,vt.container);zo&&typeof vt.props.onChange==\"function\"&&vt.props.onChange(zo,ro)},vt.handleMouseDown=function(ro){vt.handleChange(ro),window.addEventListener(\"mousemove\",vt.handleChange),window.addEventListener(\"mouseup\",vt.handleMouseUp)},vt.handleMouseUp=function(){vt.unbindEventListeners()},qe),Oe(vt,Sn)}return ce(Y,[{key:\"componentWillUnmount\",value:function(){this.unbindEventListeners()}},{key:\"unbindEventListeners\",value:function(){window.removeEventListener(\"mousemove\",this.handleChange),window.removeEventListener(\"mouseup\",this.handleMouseUp)}},{key:\"render\",value:function(){var qe=this,vt=this.props.direction,Sn=vt===void 0?\"horizontal\":vt,or=(0,y.ZP)({default:{hue:{absolute:\"0px 0px 0px 0px\",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:\"0 2px\",position:\"relative\",height:\"100%\",borderRadius:this.props.radius},pointer:{position:\"absolute\",left:this.props.hsl.h*100/360+\"%\"},slider:{marginTop:\"1px\",width:\"4px\",borderRadius:\"1px\",height:\"8px\",boxShadow:\"0 0 2px rgba(0, 0, 0, .6)\",background:\"#fff\",transform:\"translateX(-2px)\"}},vertical:{pointer:{left:\"0px\",top:-(this.props.hsl.h*100/360)+100+\"%\"}}},{vertical:Sn===\"vertical\"});return r.createElement(\"div\",{style:or.hue},r.createElement(\"div\",{className:\"hue-\"+Sn,style:or.container,ref:function(Hr){return qe.container=Hr},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},r.createElement(\"style\",null,`\n            .hue-horizontal {\n              background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n                33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n              background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n                17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n            }\n\n            .hue-vertical {\n              background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n                #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n              background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n                #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n            }\n          `),r.createElement(\"div\",{style:or.pointer},this.props.pointer?r.createElement(this.props.pointer,this.props):r.createElement(\"div\",{style:or.slider}))))}}]),Y}(r.PureComponent||r.Component),he=oe,ie=c(40507),ae=c.n(ie);function ve(){this.__data__=[],this.size=0}var X=ve;function se(ue,Y){return ue===Y||ue!==ue&&Y!==Y}var fe=se;function _e(ue,Y){for(var Ne=ue.length;Ne--;)if(fe(ue[Ne][0],Y))return Ne;return-1}var be=_e,We=Array.prototype,we=We.splice;function Ze(ue){var Y=this.__data__,Ne=be(Y,ue);if(Ne<0)return!1;var qe=Y.length-1;return Ne==qe?Y.pop():we.call(Y,Ne,1),--this.size,!0}var Ve=Ze;function et(ue){var Y=this.__data__,Ne=be(Y,ue);return Ne<0?void 0:Y[Ne][1]}var ht=et;function Fe(ue){return be(this.__data__,ue)>-1}var mt=Fe;function dt(ue,Y){var Ne=this.__data__,qe=be(Ne,ue);return qe<0?(++this.size,Ne.push([ue,Y])):Ne[qe][1]=Y,this}var Lt=dt;function lt(ue){var Y=-1,Ne=ue==null?0:ue.length;for(this.clear();++Y<Ne;){var qe=ue[Y];this.set(qe[0],qe[1])}}lt.prototype.clear=X,lt.prototype.delete=Ve,lt.prototype.get=ht,lt.prototype.has=mt,lt.prototype.set=Lt;var rn=lt;function qt(){this.__data__=new rn,this.size=0}var hn=qt;function Kt(ue){var Y=this.__data__,Ne=Y.delete(ue);return this.size=Y.size,Ne}var an=Kt;function In(ue){return this.__data__.get(ue)}var Ft=In;function kt(ue){return this.__data__.has(ue)}var At=kt,Fn=typeof global==\"object\"&&global&&global.Object===Object&&global,pn=Fn,en=typeof self==\"object\"&&self&&self.Object===Object&&self,Wn=pn||en||Function(\"return this\")(),Mn=Wn,Kn=Mn.Symbol,hr=Kn,pr=Object.prototype,zr=pr.hasOwnProperty,Wr=pr.toString,Nr=hr?hr.toStringTag:void 0;function Kr(ue){var Y=zr.call(ue,Nr),Ne=ue[Nr];try{ue[Nr]=void 0;var qe=!0}catch(Sn){}var vt=Wr.call(ue);return qe&&(Y?ue[Nr]=Ne:delete ue[Nr]),vt}var ko=Kr,Ur=Object.prototype,gn=Ur.toString;function Gt(ue){return gn.call(ue)}var bt=Gt,Zt=\"[object Null]\",gt=\"[object Undefined]\",Wt=hr?hr.toStringTag:void 0;function xn(ue){return ue==null?ue===void 0?gt:Zt:Wt&&Wt in Object(ue)?ko(ue):bt(ue)}var Dt=xn;function Xn(ue){var Y=typeof ue;return ue!=null&&(Y==\"object\"||Y==\"function\")}var Rn=Xn,wt=\"[object AsyncFunction]\",pt=\"[object Function]\",Ue=\"[object GeneratorFunction]\",xt=\"[object Proxy]\";function cn(ue){if(!Rn(ue))return!1;var Y=Dt(ue);return Y==pt||Y==Ue||Y==wt||Y==xt}var er=cn,Mr=Mn[\"__core-js_shared__\"],xr=Mr,jr=function(){var ue=/[^.]+$/.exec(xr&&xr.keys&&xr.keys.IE_PROTO||\"\");return ue?\"Symbol(src)_1.\"+ue:\"\"}();function yo(ue){return!!jr&&jr in ue}var eo=yo,vi=Function.prototype,Ti=vi.toString;function wi(ue){if(ue!=null){try{return Ti.call(ue)}catch(Y){}try{return ue+\"\"}catch(Y){}}return\"\"}var mi=wi,Zi=/[\\\\^$.*+?()[\\]{}|]/g,aa=/^\\[object .+?Constructor\\]$/,$e=Function.prototype,dn=Object.prototype,Un=$e.toString,ar=dn.hasOwnProperty,Rr=RegExp(\"^\"+Un.call(ar).replace(Zi,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\");function Ro(ue){if(!Rn(ue)||eo(ue))return!1;var Y=er(ue)?Rr:aa;return Y.test(mi(ue))}var Vo=Ro;function Co(ue,Y){return ue==null?void 0:ue[Y]}var Mo=Co;function qo(ue,Y){var Ne=Mo(ue,Y);return Vo(Ne)?Ne:void 0}var ti=qo,pi=ti(Mn,\"Map\"),ni=pi,si=ti(Object,\"create\"),Oi=si;function Ki(){this.__data__=Oi?Oi(null):{},this.size=0}var ca=Ki;function zi(ue){var Y=this.has(ue)&&delete this.__data__[ue];return this.size-=Y?1:0,Y}var br=zi,Re=\"__lodash_hash_undefined__\",je=Object.prototype,nt=je.hasOwnProperty;function rt(ue){var Y=this.__data__;if(Oi){var Ne=Y[ue];return Ne===Re?void 0:Ne}return nt.call(Y,ue)?Y[ue]:void 0}var Xt=rt,fn=Object.prototype,Cn=fn.hasOwnProperty;function Yn(ue){var Y=this.__data__;return Oi?Y[ue]!==void 0:Cn.call(Y,ue)}var Ae=Yn,Ke=\"__lodash_hash_undefined__\";function Mt(ue,Y){var Ne=this.__data__;return this.size+=this.has(ue)?0:1,Ne[ue]=Oi&&Y===void 0?Ke:Y,this}var Ut=Mt;function kn(ue){var Y=-1,Ne=ue==null?0:ue.length;for(this.clear();++Y<Ne;){var qe=ue[Y];this.set(qe[0],qe[1])}}kn.prototype.clear=ca,kn.prototype.delete=br,kn.prototype.get=Xt,kn.prototype.has=Ae,kn.prototype.set=Ut;var Zn=kn;function lr(){this.size=0,this.__data__={hash:new Zn,map:new(ni||rn),string:new Zn}}var wr=lr;function Dr(ue){var Y=typeof ue;return Y==\"string\"||Y==\"number\"||Y==\"symbol\"||Y==\"boolean\"?ue!==\"__proto__\":ue===null}var go=Dr;function Ir(ue,Y){var Ne=ue.__data__;return go(Y)?Ne[typeof Y==\"string\"?\"string\":\"hash\"]:Ne.map}var Jr=Ir;function _o(ue){var Y=Jr(this,ue).delete(ue);return this.size-=Y?1:0,Y}var No=_o;function ii(ue){return Jr(this,ue).get(ue)}var Lo=ii;function ai(ue){return Jr(this,ue).has(ue)}var Si=ai;function Ui(ue,Y){var Ne=Jr(this,ue),qe=Ne.size;return Ne.set(ue,Y),this.size+=Ne.size==qe?0:1,this}var ln=Ui;function mn(ue){var Y=-1,Ne=ue==null?0:ue.length;for(this.clear();++Y<Ne;){var qe=ue[Y];this.set(qe[0],qe[1])}}mn.prototype.clear=wr,mn.prototype.delete=No,mn.prototype.get=Lo,mn.prototype.has=Si,mn.prototype.set=ln;var fr=mn,ft=200;function ct(ue,Y){var Ne=this.__data__;if(Ne instanceof rn){var qe=Ne.__data__;if(!ni||qe.length<ft-1)return qe.push([ue,Y]),this.size=++Ne.size,this;Ne=this.__data__=new fr(qe)}return Ne.set(ue,Y),this.size=Ne.size,this}var tn=ct;function An(ue){var Y=this.__data__=new rn(ue);this.size=Y.size}An.prototype.clear=hn,An.prototype.delete=an,An.prototype.get=Ft,An.prototype.has=At,An.prototype.set=tn;var Rt=An,un=function(){try{var ue=ti(Object,\"defineProperty\");return ue({},\"\",{}),ue}catch(Y){}}(),Dn=un;function dr(ue,Y,Ne){Y==\"__proto__\"&&Dn?Dn(ue,Y,{configurable:!0,enumerable:!0,value:Ne,writable:!0}):ue[Y]=Ne}var Ar=dr;function Gr(ue,Y,Ne){(Ne!==void 0&&!fe(ue[Y],Ne)||Ne===void 0&&!(Y in ue))&&Ar(ue,Y,Ne)}var Pr=Gr;function Xr(ue){return function(Y,Ne,qe){for(var vt=-1,Sn=Object(Y),or=qe(Y),Or=or.length;Or--;){var Hr=or[ue?Or:++vt];if(Ne(Sn[Hr],Hr,Sn)===!1)break}return Y}}var oo=Xr,io=oo(),to=io,To=typeof exports==\"object\"&&exports&&!exports.nodeType&&exports,jn=To&&typeof module==\"object\"&&module&&!module.nodeType&&module,W=jn&&jn.exports===To,P=W?Mn.Buffer:void 0,k=P?P.allocUnsafe:void 0;function z(ue,Y){if(Y)return ue.slice();var Ne=ue.length,qe=k?k(Ne):new ue.constructor(Ne);return ue.copy(qe),qe}var Q=z,F=Mn.Uint8Array,V=F;function U(ue){var Y=new ue.constructor(ue.byteLength);return new V(Y).set(new V(ue)),Y}var ge=U;function ke(ue,Y){var Ne=Y?ge(ue.buffer):ue.buffer;return new ue.constructor(Ne,ue.byteOffset,ue.length)}var St=ke;function Je(ue,Y){var Ne=-1,qe=ue.length;for(Y||(Y=Array(qe));++Ne<qe;)Y[Ne]=ue[Ne];return Y}var Ot=Je,It=Object.create,jt=function(){function ue(){}return function(Y){if(!Rn(Y))return{};if(It)return It(Y);ue.prototype=Y;var Ne=new ue;return ue.prototype=void 0,Ne}}(),Vt=jt;function Pn(ue,Y){return function(Ne){return ue(Y(Ne))}}var Jn=Pn,vn=Jn(Object.getPrototypeOf,Object),Vn=vn,zt=Object.prototype;function ir(ue){var Y=ue&&ue.constructor,Ne=typeof Y==\"function\"&&Y.prototype||zt;return ue===Ne}var nr=ir;function ur(ue){return typeof ue.constructor==\"function\"&&!nr(ue)?Vt(Vn(ue)):{}}var sr=ur;function Ln(ue){return ue!=null&&typeof ue==\"object\"}var Bt=Ln,En=\"[object Arguments]\";function _n(ue){return Bt(ue)&&Dt(ue)==En}var cr=_n,ao=Object.prototype,kr=ao.hasOwnProperty,jo=ao.propertyIsEnumerable,ui=cr(function(){return arguments}())?cr:function(ue){return Bt(ue)&&kr.call(ue,\"callee\")&&!jo.call(ue,\"callee\")},Vr=ui,ho=Array.isArray,vo=ho,uo=9007199254740991;function Go(ue){return typeof ue==\"number\"&&ue>-1&&ue%1==0&&ue<=uo}var Pi=Go;function la(ue){return ue!=null&&Pi(ue.length)&&!er(ue)}var Vi=la;function ha(ue){return Bt(ue)&&Vi(ue)}var xa=ha;function qi(){return!1}var Jo=qi,Ji=typeof exports==\"object\"&&exports&&!exports.nodeType&&exports,Yi=Ji&&typeof module==\"object\"&&module&&!module.nodeType&&module,Ii=Yi&&Yi.exports===Ji,pa=Ii?Mn.Buffer:void 0,na=pa?pa.isBuffer:void 0,$i=na||Jo,La=$i,ss=\"[object Object]\",Oa=Function.prototype,Ma=Object.prototype,Ka=Oa.toString,Ba=Ma.hasOwnProperty,Ua=Ka.call(Object);function Va(ue){if(!Bt(ue)||Dt(ue)!=ss)return!1;var Y=Vn(ue);if(Y===null)return!0;var Ne=Ba.call(Y,\"constructor\")&&Y.constructor;return typeof Ne==\"function\"&&Ne instanceof Ne&&Ka.call(Ne)==Ua}var Ls=Va,Qo=\"[object Arguments]\",ws=\"[object Array]\",Za=\"[object Boolean]\",rr=\"[object Date]\",Eo=\"[object Error]\",Br=\"[object Function]\",Ao=\"[object Map]\",Di=\"[object Number]\",Aa=\"[object Object]\",Na=\"[object RegExp]\",Fa=\"[object Set]\",Bs=\"[object String]\",Ms=\"[object WeakMap]\",Qa=\"[object ArrayBuffer]\",us=\"[object DataView]\",Fs=\"[object Float32Array]\",$a=\"[object Float64Array]\",Hs=\"[object Int8Array]\",ys=\"[object Int16Array]\",sa=\"[object Int32Array]\",Xa=\"[object Uint8Array]\",os=\"[object Uint8ClampedArray]\",As=\"[object Uint16Array]\",oa=\"[object Uint32Array]\",di={};di[Fs]=di[$a]=di[Hs]=di[ys]=di[sa]=di[Xa]=di[os]=di[As]=di[oa]=!0,di[Qo]=di[ws]=di[Qa]=di[Za]=di[us]=di[rr]=di[Eo]=di[Br]=di[Ao]=di[Di]=di[Aa]=di[Na]=di[Fa]=di[Bs]=di[Ms]=!1;function ia(ue){return Bt(ue)&&Pi(ue.length)&&!!di[Dt(ue)]}var _i=ia;function gi(ue){return function(Y){return ue(Y)}}var fa=gi,Pa=typeof exports==\"object\"&&exports&&!exports.nodeType&&exports,xs=Pa&&typeof module==\"object\"&&module&&!module.nodeType&&module,Li=xs&&xs.exports===Pa,vs=Li&&pn.process,Ca=function(){try{var ue=xs&&xs.require&&xs.require(\"util\").types;return ue||vs&&vs.binding&&vs.binding(\"util\")}catch(Y){}}(),ra=Ca,Ja=ra&&ra.isTypedArray,qa=Ja?fa(Ja):_i,Ts=qa;function v(ue,Y){if(!(Y===\"constructor\"&&typeof ue[Y]==\"function\")&&Y!=\"__proto__\")return ue[Y]}var G=v,ze=Object.prototype,ut=ze.hasOwnProperty;function _t(ue,Y,Ne){var qe=ue[Y];(!(ut.call(ue,Y)&&fe(qe,Ne))||Ne===void 0&&!(Y in ue))&&Ar(ue,Y,Ne)}var Ht=_t;function $t(ue,Y,Ne,qe){var vt=!Ne;Ne||(Ne={});for(var Sn=-1,or=Y.length;++Sn<or;){var Or=Y[Sn],Hr=qe?qe(Ne[Or],ue[Or],Or,Ne,ue):void 0;Hr===void 0&&(Hr=ue[Or]),vt?Ar(Ne,Or,Hr):Ht(Ne,Or,Hr)}return Ne}var wn=$t;function On(ue,Y){for(var Ne=-1,qe=Array(ue);++Ne<ue;)qe[Ne]=Y(Ne);return qe}var $n=On,gr=9007199254740991,Fr=/^(?:0|[1-9]\\d*)$/;function Qr(ue,Y){var Ne=typeof ue;return Y=Y==null?gr:Y,!!Y&&(Ne==\"number\"||Ne!=\"symbol\"&&Fr.test(ue))&&ue>-1&&ue%1==0&&ue<Y}var qr=Qr,mo=Object.prototype,Ho=mo.hasOwnProperty;function fo(ue,Y){var Ne=vo(ue),qe=!Ne&&Vr(ue),vt=!Ne&&!qe&&La(ue),Sn=!Ne&&!qe&&!vt&&Ts(ue),or=Ne||qe||vt||Sn,Or=or?$n(ue.length,String):[],Hr=Or.length;for(var ro in ue)(Y||Ho.call(ue,ro))&&!(or&&(ro==\"length\"||vt&&(ro==\"offset\"||ro==\"parent\")||Sn&&(ro==\"buffer\"||ro==\"byteLength\"||ro==\"byteOffset\")||qr(ro,Hr)))&&Or.push(ro);return Or}var ei=fo;function ea(ue){var Y=[];if(ue!=null)for(var Ne in Object(ue))Y.push(Ne);return Y}var Xi=ea,hi=Object.prototype,Yo=hi.hasOwnProperty;function Bi(ue){if(!Rn(ue))return Xi(ue);var Y=nr(ue),Ne=[];for(var qe in ue)qe==\"constructor\"&&(Y||!Yo.call(ue,qe))||Ne.push(qe);return Ne}var _a=Bi;function wa(ue){return Vi(ue)?ei(ue,!0):_a(ue)}var Ia=wa;function tr(ue){return wn(ue,Ia(ue))}var Sa=tr;function Ta(ue,Y,Ne,qe,vt,Sn,or){var Or=G(ue,Ne),Hr=G(Y,Ne),ro=or.get(Hr);if(ro){Pr(ue,Ne,ro);return}var zo=Sn?Sn(Or,Hr,Ne+\"\",ue,Y,or):void 0,oi=zo===void 0;if(oi){var bi=vo(Hr),ji=!bi&&La(Hr),ma=!bi&&!ji&&Ts(Hr);zo=Hr,bi||ji||ma?vo(Or)?zo=Or:xa(Or)?zo=Ot(Or):ji?(oi=!1,zo=Q(Hr,!0)):ma?(oi=!1,zo=St(Hr,!0)):zo=[]:Ls(Hr)||Vr(Hr)?(zo=Or,Vr(Or)?zo=Sa(Or):(!Rn(Or)||er(Or))&&(zo=sr(Hr))):oi=!1}oi&&(or.set(Hr,zo),vt(zo,Hr,qe,Sn,or),or.delete(Hr)),Pr(ue,Ne,zo)}var ga=Ta;function Fi(ue,Y,Ne,qe,vt){ue!==Y&&to(Y,function(Sn,or){if(vt||(vt=new Rt),Rn(Sn))ga(ue,Y,or,Ne,Fi,qe,vt);else{var Or=qe?qe(G(ue,or),Sn,or+\"\",ue,Y,vt):void 0;Or===void 0&&(Or=Sn),Pr(ue,or,Or)}},Ia)}var Cs=Fi;function yn(ue){return ue}var zs=yn;function ds(ue,Y,Ne){switch(Ne.length){case 0:return ue.call(Y);case 1:return ue.call(Y,Ne[0]);case 2:return ue.call(Y,Ne[0],Ne[1]);case 3:return ue.call(Y,Ne[0],Ne[1],Ne[2])}return ue.apply(Y,Ne)}var gs=ds,Wa=Math.max;function Ac(ue,Y,Ne){return Y=Wa(Y===void 0?ue.length-1:Y,0),function(){for(var qe=arguments,vt=-1,Sn=Wa(qe.length-Y,0),or=Array(Sn);++vt<Sn;)or[vt]=qe[Y+vt];vt=-1;for(var Or=Array(Y+1);++vt<Y;)Or[vt]=qe[vt];return Or[Y]=Ne(or),gs(ue,this,Or)}}var Gs=Ac;function Tc(ue){return function(){return ue}}var pu=Tc,Pc=Dn?function(ue,Y){return Dn(ue,\"toString\",{configurable:!0,enumerable:!1,value:pu(Y),writable:!0})}:zs,Yc=Pc,Kc=800,rc=16,qc=Date.now;function Ns(ue){var Y=0,Ne=0;return function(){var qe=qc(),vt=rc-(qe-Ne);if(Ne=qe,vt>0){if(++Y>=Kc)return arguments[0]}else Y=0;return ue.apply(void 0,arguments)}}var Au=Ns,yc=Au(Yc),gu=yc;function bc(ue,Y){return gu(Gs(ue,Y,zs),ue+\"\")}var Ic=bc;function vu(ue,Y,Ne){if(!Rn(Ne))return!1;var qe=typeof Y;return(qe==\"number\"?Vi(Ne)&&qr(Y,Ne.length):qe==\"string\"&&Y in Ne)?fe(Ne[Y],ue):!1}var Yu=vu;function oc(ue){return Ic(function(Y,Ne){var qe=-1,vt=Ne.length,Sn=vt>1?Ne[vt-1]:void 0,or=vt>2?Ne[2]:void 0;for(Sn=ue.length>3&&typeof Sn==\"function\"?(vt--,Sn):void 0,or&&Yu(Ne[0],Ne[1],or)&&(Sn=vt<3?void 0:Sn,vt=1),Y=Object(Y);++qe<vt;){var Or=Ne[qe];Or&&ue(Y,Or,qe,Sn)}return Y})}var kc=oc,le=kc(function(ue,Y,Ne){Cs(ue,Y,Ne)}),Be=le,st=function(Y){var Ne=Y.zDepth,qe=Y.radius,vt=Y.background,Sn=Y.children,or=Y.styles,Or=or===void 0?{}:or,Hr=(0,y.ZP)(Be({default:{wrap:{position:\"relative\",display:\"inline-block\"},content:{position:\"relative\"},bg:{absolute:\"0px 0px 0px 0px\",boxShadow:\"0 \"+Ne+\"px \"+Ne*4+\"px rgba(0,0,0,.24)\",borderRadius:qe,background:vt}},\"zDepth-0\":{bg:{boxShadow:\"none\"}},\"zDepth-1\":{bg:{boxShadow:\"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)\"}},\"zDepth-2\":{bg:{boxShadow:\"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)\"}},\"zDepth-3\":{bg:{boxShadow:\"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)\"}},\"zDepth-4\":{bg:{boxShadow:\"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)\"}},\"zDepth-5\":{bg:{boxShadow:\"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)\"}},square:{bg:{borderRadius:\"0\"}},circle:{bg:{borderRadius:\"50%\"}}},Or),{\"zDepth-1\":Ne===1});return r.createElement(\"div\",{style:Hr.wrap},r.createElement(\"div\",{style:Hr.bg}),r.createElement(\"div\",{style:Hr.content},Sn))};st.propTypes={background:ae().string,zDepth:ae().oneOf([0,1,2,3,4,5]),radius:ae().number,styles:ae().object},st.defaultProps={background:\"#fff\",zDepth:1,radius:2,styles:{}};var it=st,Qt=function(){return Mn.Date.now()},qn=Qt,Tr=/\\s/;function bo(ue){for(var Y=ue.length;Y--&&Tr.test(ue.charAt(Y)););return Y}var Ko=bo,Mi=/^\\s+/;function Hi(ue){return ue&&ue.slice(0,Ko(ue)+1).replace(Mi,\"\")}var ja=Hi,ms=\"[object Symbol]\";function Ps(ue){return typeof ue==\"symbol\"||Bt(ue)&&Dt(ue)==ms}var fu=Ps,qs=0/0,Ya=/^[-+]0x[0-9a-f]+$/i,Nu=/^0b[01]+$/i,ru=/^0o[0-7]+$/i,mu=parseInt;function Zs(ue){if(typeof ue==\"number\")return ue;if(fu(ue))return qs;if(Rn(ue)){var Y=typeof ue.valueOf==\"function\"?ue.valueOf():ue;ue=Rn(Y)?Y+\"\":Y}if(typeof ue!=\"string\")return ue===0?ue:+ue;ue=ja(ue);var Ne=Nu.test(ue);return Ne||ru.test(ue)?mu(ue.slice(2),Ne?2:8):Ya.test(ue)?qs:+ue}var cs=Zs,Xs=\"Expected a function\",yu=Math.max,bu=Math.min;function Ku(ue,Y,Ne){var qe,vt,Sn,or,Or,Hr,ro=0,zo=!1,oi=!1,bi=!0;if(typeof ue!=\"function\")throw new TypeError(Xs);Y=cs(Y)||0,Rn(Ne)&&(zo=!!Ne.leading,oi=\"maxWait\"in Ne,Sn=oi?yu(cs(Ne.maxWait)||0,Y):Sn,bi=\"trailing\"in Ne?!!Ne.trailing:bi);function ji(Cu){var Hl=qe,Zf=vt;return qe=vt=void 0,ro=Cu,or=ue.apply(Zf,Hl),or}function ma(Cu){return ro=Cu,Or=setTimeout(Vs,Y),zo?ji(Cu):or}function Ea(Cu){var Hl=Cu-Hr,Zf=Cu-ro,Ld=Y-Hl;return oi?bu(Ld,Sn-Zf):Ld}function za(Cu){var Hl=Cu-Hr,Zf=Cu-ro;return Hr===void 0||Hl>=Y||Hl<0||oi&&Zf>=Sn}function Vs(){var Cu=qn();if(za(Cu))return vc(Cu);Or=setTimeout(Vs,Ea(Cu))}function vc(Cu){return Or=void 0,bi&&qe?ji(Cu):(qe=vt=void 0,or)}function Ef(){Or!==void 0&&clearTimeout(Or),ro=0,qe=Hr=vt=Or=void 0}function nc(){return Or===void 0?or:vc(qn())}function $l(){var Cu=qn(),Hl=za(Cu);if(qe=arguments,vt=this,Hr=Cu,Hl){if(Or===void 0)return ma(Hr);if(oi)return clearTimeout(Or),Or=setTimeout(Vs,Y),ji(Hr)}return Or===void 0&&(Or=setTimeout(Vs,Y)),or}return $l.cancel=Ef,$l.flush=nc,$l}var Qc=Ku,_l=\"Expected a function\";function Nc(ue,Y,Ne){var qe=!0,vt=!0;if(typeof ue!=\"function\")throw new TypeError(_l);return Rn(Ne)&&(qe=\"leading\"in Ne?!!Ne.leading:qe,vt=\"trailing\"in Ne?!!Ne.trailing:vt),Qc(ue,Y,{leading:qe,maxWait:Y,trailing:vt})}var ju=Nc,Wu=function(Y,Ne,qe){var vt=qe.getBoundingClientRect(),Sn=vt.width,or=vt.height,Or=typeof Y.pageX==\"number\"?Y.pageX:Y.touches[0].pageX,Hr=typeof Y.pageY==\"number\"?Y.pageY:Y.touches[0].pageY,ro=Or-(qe.getBoundingClientRect().left+window.pageXOffset),zo=Hr-(qe.getBoundingClientRect().top+window.pageYOffset);ro<0?ro=0:ro>Sn&&(ro=Sn),zo<0?zo=0:zo>or&&(zo=or);var oi=ro/Sn,bi=1-zo/or;return{h:Ne.h,s:oi,v:bi,a:Ne.a,source:\"hsv\"}},dl=function(){function ue(Y,Ne){for(var qe=0;qe<Ne.length;qe++){var vt=Ne[qe];vt.enumerable=vt.enumerable||!1,vt.configurable=!0,\"value\"in vt&&(vt.writable=!0),Object.defineProperty(Y,vt.key,vt)}}return function(Y,Ne,qe){return Ne&&ue(Y.prototype,Ne),qe&&ue(Y,qe),Y}}();function Du(ue,Y){if(!(ue instanceof Y))throw new TypeError(\"Cannot call a class as a function\")}function hl(ue,Y){if(!ue)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return Y&&(typeof Y==\"object\"||typeof Y==\"function\")?Y:ue}function jc(ue,Y){if(typeof Y!=\"function\"&&Y!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof Y);ue.prototype=Object.create(Y&&Y.prototype,{constructor:{value:ue,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(ue,Y):ue.__proto__=Y)}var js=function(ue){jc(Y,ue);function Y(Ne){Du(this,Y);var qe=hl(this,(Y.__proto__||Object.getPrototypeOf(Y)).call(this,Ne));return qe.handleChange=function(vt){typeof qe.props.onChange==\"function\"&&qe.throttle(qe.props.onChange,Wu(vt,qe.props.hsl,qe.container),vt)},qe.handleMouseDown=function(vt){qe.handleChange(vt);var Sn=qe.getContainerRenderWindow();Sn.addEventListener(\"mousemove\",qe.handleChange),Sn.addEventListener(\"mouseup\",qe.handleMouseUp)},qe.handleMouseUp=function(){qe.unbindEventListeners()},qe.throttle=ju(function(vt,Sn,or){vt(Sn,or)},50),qe}return dl(Y,[{key:\"componentWillUnmount\",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:\"getContainerRenderWindow\",value:function(){for(var qe=this.container,vt=window;!vt.document.contains(qe)&&vt.parent!==vt;)vt=vt.parent;return vt}},{key:\"unbindEventListeners\",value:function(){var qe=this.getContainerRenderWindow();qe.removeEventListener(\"mousemove\",this.handleChange),qe.removeEventListener(\"mouseup\",this.handleMouseUp)}},{key:\"render\",value:function(){var qe=this,vt=this.props.style||{},Sn=vt.color,or=vt.white,Or=vt.black,Hr=vt.pointer,ro=vt.circle,zo=(0,y.ZP)({default:{color:{absolute:\"0px 0px 0px 0px\",background:\"hsl(\"+this.props.hsl.h+\",100%, 50%)\",borderRadius:this.props.radius},white:{absolute:\"0px 0px 0px 0px\",borderRadius:this.props.radius},black:{absolute:\"0px 0px 0px 0px\",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:\"absolute\",top:-(this.props.hsv.v*100)+100+\"%\",left:this.props.hsv.s*100+\"%\",cursor:\"default\"},circle:{width:\"4px\",height:\"4px\",boxShadow:`0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n            0 0 1px 2px rgba(0,0,0,.4)`,borderRadius:\"50%\",cursor:\"hand\",transform:\"translate(-2px, -2px)\"}},custom:{color:Sn,white:or,black:Or,pointer:Hr,circle:ro}},{custom:!!this.props.style});return r.createElement(\"div\",{style:zo.color,ref:function(bi){return qe.container=bi},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},r.createElement(\"style\",null,`\n          .saturation-white {\n            background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n            background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n          }\n          .saturation-black {\n            background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n            background: linear-gradient(to top, #000, rgba(0,0,0,0));\n          }\n        `),r.createElement(\"div\",{style:zo.white,className:\"saturation-white\"},r.createElement(\"div\",{style:zo.black,className:\"saturation-black\"}),r.createElement(\"div\",{style:zo.pointer},this.props.pointer?r.createElement(this.props.pointer,this.props):r.createElement(\"div\",{style:zo.circle}))))}}]),Y}(r.PureComponent||r.Component),xu=js;function wu(ue,Y){for(var Ne=-1,qe=ue==null?0:ue.length;++Ne<qe&&Y(ue[Ne],Ne,ue)!==!1;);return ue}var Ys=wu,Uu=Jn(Object.keys,Object),Dc=Uu,ic=Object.prototype,Rc=ic.hasOwnProperty;function is(ue){if(!nr(ue))return Dc(ue);var Y=[];for(var Ne in Object(ue))Rc.call(ue,Ne)&&Ne!=\"constructor\"&&Y.push(Ne);return Y}var Tu=is;function Pu(ue){return Vi(ue)?ei(ue):Tu(ue)}var Jc=Pu;function Gl(ue,Y){return ue&&to(ue,Y,Jc)}var ac=Gl;function el(ue,Y){return function(Ne,qe){if(Ne==null)return Ne;if(!Vi(Ne))return ue(Ne,qe);for(var vt=Ne.length,Sn=Y?vt:-1,or=Object(Ne);(Y?Sn--:++Sn<vt)&&qe(or[Sn],Sn,or)!==!1;);return Ne}}var sc=el,tl=sc(ac),nl=tl;function Vu(ue){return typeof ue==\"function\"?ue:zs}var Lc=Vu;function Wl(ue,Y){var Ne=vo(ue)?Ys:nl;return Ne(ue,Lc(Y))}var Ul=Wl;function uc(ue){return uc=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(Y){return typeof Y}:function(Y){return Y&&typeof Symbol==\"function\"&&Y.constructor===Symbol&&Y!==Symbol.prototype?\"symbol\":typeof Y},uc(ue)}var rl=/^\\s+/,ol=/\\s+$/;function ta(ue,Y){if(ue=ue||\"\",Y=Y||{},ue instanceof ta)return ue;if(!(this instanceof ta))return new ta(ue,Y);var Ne=pl(ue);this._originalInput=ue,this._r=Ne.r,this._g=Ne.g,this._b=Ne.b,this._a=Ne.a,this._roundA=Math.round(100*this._a)/100,this._format=Y.format||Ne.format,this._gradientType=Y.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._ok=Ne.ok}ta.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 Y=this.toRgb();return(Y.r*299+Y.g*587+Y.b*114)/1e3},getLuminance:function(){var Y=this.toRgb(),Ne,qe,vt,Sn,or,Or;return Ne=Y.r/255,qe=Y.g/255,vt=Y.b/255,Ne<=.03928?Sn=Ne/12.92:Sn=Math.pow((Ne+.055)/1.055,2.4),qe<=.03928?or=qe/12.92:or=Math.pow((qe+.055)/1.055,2.4),vt<=.03928?Or=vt/12.92:Or=Math.pow((vt+.055)/1.055,2.4),.2126*Sn+.7152*or+.0722*Or},setAlpha:function(Y){return this._a=nn(Y),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var Y=Fc(this._r,this._g,this._b);return{h:Y.h*360,s:Y.s,v:Y.v,a:this._a}},toHsvString:function(){var Y=Fc(this._r,this._g,this._b),Ne=Math.round(Y.h*360),qe=Math.round(Y.s*100),vt=Math.round(Y.v*100);return this._a==1?\"hsv(\"+Ne+\", \"+qe+\"%, \"+vt+\"%)\":\"hsva(\"+Ne+\", \"+qe+\"%, \"+vt+\"%, \"+this._roundA+\")\"},toHsl:function(){var Y=xc(this._r,this._g,this._b);return{h:Y.h*360,s:Y.s,l:Y.l,a:this._a}},toHslString:function(){var Y=xc(this._r,this._g,this._b),Ne=Math.round(Y.h*360),qe=Math.round(Y.s*100),vt=Math.round(Y.l*100);return this._a==1?\"hsl(\"+Ne+\", \"+qe+\"%, \"+vt+\"%)\":\"hsla(\"+Ne+\", \"+qe+\"%, \"+vt+\"%, \"+this._roundA+\")\"},toHex:function(Y){return al(this._r,this._g,this._b,Y)},toHexString:function(Y){return\"#\"+this.toHex(Y)},toHex8:function(Y){return zc(this._r,this._g,this._b,this._a,Y)},toHex8String:function(Y){return\"#\"+this.toHex8(Y)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?\"rgb(\"+Math.round(this._r)+\", \"+Math.round(this._g)+\", \"+Math.round(this._b)+\")\":\"rgba(\"+Math.round(this._r)+\", \"+Math.round(this._g)+\", \"+Math.round(this._b)+\", \"+this._roundA+\")\"},toPercentageRgb:function(){return{r:Math.round(zn(this._r,255)*100)+\"%\",g:Math.round(zn(this._g,255)*100)+\"%\",b:Math.round(zn(this._b,255)*100)+\"%\",a:this._a}},toPercentageRgbString:function(){return this._a==1?\"rgb(\"+Math.round(zn(this._r,255)*100)+\"%, \"+Math.round(zn(this._g,255)*100)+\"%, \"+Math.round(zn(this._b,255)*100)+\"%)\":\"rgba(\"+Math.round(zn(this._r,255)*100)+\"%, \"+Math.round(zn(this._g,255)*100)+\"%, \"+Math.round(zn(this._b,255)*100)+\"%, \"+this._roundA+\")\"},toName:function(){return this._a===0?\"transparent\":this._a<1?!1:Tt[al(this._r,this._g,this._b,!0)]||!1},toFilter:function(Y){var Ne=\"#\"+cc(this._r,this._g,this._b,this._a),qe=Ne,vt=this._gradientType?\"GradientType = 1, \":\"\";if(Y){var Sn=ta(Y);qe=\"#\"+cc(Sn._r,Sn._g,Sn._b,Sn._a)}return\"progid:DXImageTransform.Microsoft.gradient(\"+vt+\"startColorstr=\"+Ne+\",endColorstr=\"+qe+\")\"},toString:function(Y){var Ne=!!Y;Y=Y||this._format;var qe=!1,vt=this._a<1&&this._a>=0,Sn=!Ne&&vt&&(Y===\"hex\"||Y===\"hex6\"||Y===\"hex3\"||Y===\"hex4\"||Y===\"hex8\"||Y===\"name\");return Sn?Y===\"name\"&&this._a===0?this.toName():this.toRgbString():(Y===\"rgb\"&&(qe=this.toRgbString()),Y===\"prgb\"&&(qe=this.toPercentageRgbString()),(Y===\"hex\"||Y===\"hex6\")&&(qe=this.toHexString()),Y===\"hex3\"&&(qe=this.toHexString(!0)),Y===\"hex4\"&&(qe=this.toHex8String(!0)),Y===\"hex8\"&&(qe=this.toHex8String()),Y===\"name\"&&(qe=this.toName()),Y===\"hsl\"&&(qe=this.toHslString()),Y===\"hsv\"&&(qe=this.toHsvString()),qe||this.toHexString())},clone:function(){return ta(this.toString())},_applyModification:function(Y,Ne){var qe=Y.apply(null,[this].concat([].slice.call(Ne)));return this._r=qe._r,this._g=qe._g,this._b=qe._b,this.setAlpha(qe._a),this},lighten:function(){return this._applyModification(Vl,arguments)},brighten:function(){return this._applyModification(ou,arguments)},darken:function(){return this._applyModification(Zl,arguments)},desaturate:function(){return this._applyModification(Ml,arguments)},saturate:function(){return this._applyModification(Al,arguments)},greyscale:function(){return this._applyModification(sl,arguments)},spin:function(){return this._applyModification(su,arguments)},_applyCombination:function(Y,Ne){return Y.apply(null,[this].concat([].slice.call(Ne)))},analogous:function(){return this._applyCombination(tt,arguments)},complement:function(){return this._applyCombination($,arguments)},monochromatic:function(){return this._applyCombination(at,arguments)},splitcomplement:function(){return this._applyCombination(Me,arguments)},triad:function(){return this._applyCombination(ne,[3])},tetrad:function(){return this._applyCombination(ne,[4])}},ta.fromRatio=function(ue,Y){if(uc(ue)==\"object\"){var Ne={};for(var qe in ue)ue.hasOwnProperty(qe)&&(qe===\"a\"?Ne[qe]=ue[qe]:Ne[qe]=Oo(ue[qe]));ue=Ne}return ta(ue,Y)};function pl(ue){var Y={r:0,g:0,b:0},Ne=1,qe=null,vt=null,Sn=null,or=!1,Or=!1;return typeof ue==\"string\"&&(ue=xi(ue)),uc(ue)==\"object\"&&(Zo(ue.r)&&Zo(ue.g)&&Zo(ue.b)?(Y=Bc(ue.r,ue.g,ue.b),or=!0,Or=String(ue.r).substr(-1)===\"%\"?\"prgb\":\"rgb\"):Zo(ue.h)&&Zo(ue.s)&&Zo(ue.v)?(qe=Oo(ue.s),vt=Oo(ue.v),Y=il(ue.h,qe,vt),or=!0,Or=\"hsv\"):Zo(ue.h)&&Zo(ue.s)&&Zo(ue.l)&&(qe=Oo(ue.s),Sn=Oo(ue.l),Y=$u(ue.h,qe,Sn),or=!0,Or=\"hsl\"),ue.hasOwnProperty(\"a\")&&(Ne=ue.a)),Ne=nn(Ne),{ok:or,format:ue.format||Or,r:Math.min(255,Math.max(Y.r,0)),g:Math.min(255,Math.max(Y.g,0)),b:Math.min(255,Math.max(Y.b,0)),a:Ne}}function Bc(ue,Y,Ne){return{r:zn(ue,255)*255,g:zn(Y,255)*255,b:zn(Ne,255)*255}}function xc(ue,Y,Ne){ue=zn(ue,255),Y=zn(Y,255),Ne=zn(Ne,255);var qe=Math.max(ue,Y,Ne),vt=Math.min(ue,Y,Ne),Sn,or,Or=(qe+vt)/2;if(qe==vt)Sn=or=0;else{var Hr=qe-vt;switch(or=Or>.5?Hr/(2-qe-vt):Hr/(qe+vt),qe){case ue:Sn=(Y-Ne)/Hr+(Y<Ne?6:0);break;case Y:Sn=(Ne-ue)/Hr+2;break;case Ne:Sn=(ue-Y)/Hr+4;break}Sn/=6}return{h:Sn,s:or,l:Or}}function $u(ue,Y,Ne){var qe,vt,Sn;ue=zn(ue,360),Y=zn(Y,100),Ne=zn(Ne,100);function or(ro,zo,oi){return oi<0&&(oi+=1),oi>1&&(oi-=1),oi<1/6?ro+(zo-ro)*6*oi:oi<1/2?zo:oi<2/3?ro+(zo-ro)*(2/3-oi)*6:ro}if(Y===0)qe=vt=Sn=Ne;else{var Or=Ne<.5?Ne*(1+Y):Ne+Y-Ne*Y,Hr=2*Ne-Or;qe=or(Hr,Or,ue+1/3),vt=or(Hr,Or,ue),Sn=or(Hr,Or,ue-1/3)}return{r:qe*255,g:vt*255,b:Sn*255}}function Fc(ue,Y,Ne){ue=zn(ue,255),Y=zn(Y,255),Ne=zn(Ne,255);var qe=Math.max(ue,Y,Ne),vt=Math.min(ue,Y,Ne),Sn,or,Or=qe,Hr=qe-vt;if(or=qe===0?0:Hr/qe,qe==vt)Sn=0;else{switch(qe){case ue:Sn=(Y-Ne)/Hr+(Y<Ne?6:0);break;case Y:Sn=(Ne-ue)/Hr+2;break;case Ne:Sn=(ue-Y)/Hr+4;break}Sn/=6}return{h:Sn,s:or,v:Or}}function il(ue,Y,Ne){ue=zn(ue,360)*6,Y=zn(Y,100),Ne=zn(Ne,100);var qe=Math.floor(ue),vt=ue-qe,Sn=Ne*(1-Y),or=Ne*(1-vt*Y),Or=Ne*(1-(1-vt)*Y),Hr=qe%6,ro=[Ne,or,Sn,Sn,Or,Ne][Hr],zo=[Or,Ne,Ne,or,Sn,Sn][Hr],oi=[Sn,Sn,Or,Ne,Ne,or][Hr];return{r:ro*255,g:zo*255,b:oi*255}}function al(ue,Y,Ne,qe){var vt=[So(Math.round(ue).toString(16)),So(Math.round(Y).toString(16)),So(Math.round(Ne).toString(16))];return qe&&vt[0].charAt(0)==vt[0].charAt(1)&&vt[1].charAt(0)==vt[1].charAt(1)&&vt[2].charAt(0)==vt[2].charAt(1)?vt[0].charAt(0)+vt[1].charAt(0)+vt[2].charAt(0):vt.join(\"\")}function zc(ue,Y,Ne,qe,vt){var Sn=[So(Math.round(ue).toString(16)),So(Math.round(Y).toString(16)),So(Math.round(Ne).toString(16)),So(xo(qe))];return vt&&Sn[0].charAt(0)==Sn[0].charAt(1)&&Sn[1].charAt(0)==Sn[1].charAt(1)&&Sn[2].charAt(0)==Sn[2].charAt(1)&&Sn[3].charAt(0)==Sn[3].charAt(1)?Sn[0].charAt(0)+Sn[1].charAt(0)+Sn[2].charAt(0)+Sn[3].charAt(0):Sn.join(\"\")}function cc(ue,Y,Ne,qe){var vt=[So(xo(qe)),So(Math.round(ue).toString(16)),So(Math.round(Y).toString(16)),So(Math.round(Ne).toString(16))];return vt.join(\"\")}ta.equals=function(ue,Y){return!ue||!Y?!1:ta(ue).toRgbString()==ta(Y).toRgbString()},ta.random=function(){return ta.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function Ml(ue,Y){Y=Y===0?0:Y||10;var Ne=ta(ue).toHsl();return Ne.s-=Y/100,Ne.s=mr(Ne.s),ta(Ne)}function Al(ue,Y){Y=Y===0?0:Y||10;var Ne=ta(ue).toHsl();return Ne.s+=Y/100,Ne.s=mr(Ne.s),ta(Ne)}function sl(ue){return ta(ue).desaturate(100)}function Vl(ue,Y){Y=Y===0?0:Y||10;var Ne=ta(ue).toHsl();return Ne.l+=Y/100,Ne.l=mr(Ne.l),ta(Ne)}function ou(ue,Y){Y=Y===0?0:Y||10;var Ne=ta(ue).toRgb();return Ne.r=Math.max(0,Math.min(255,Ne.r-Math.round(255*-(Y/100)))),Ne.g=Math.max(0,Math.min(255,Ne.g-Math.round(255*-(Y/100)))),Ne.b=Math.max(0,Math.min(255,Ne.b-Math.round(255*-(Y/100)))),ta(Ne)}function Zl(ue,Y){Y=Y===0?0:Y||10;var Ne=ta(ue).toHsl();return Ne.l-=Y/100,Ne.l=mr(Ne.l),ta(Ne)}function su(ue,Y){var Ne=ta(ue).toHsl(),qe=(Ne.h+Y)%360;return Ne.h=qe<0?360+qe:qe,ta(Ne)}function $(ue){var Y=ta(ue).toHsl();return Y.h=(Y.h+180)%360,ta(Y)}function ne(ue,Y){if(isNaN(Y)||Y<=0)throw new Error(\"Argument to polyad must be a positive number\");for(var Ne=ta(ue).toHsl(),qe=[ta(ue)],vt=360/Y,Sn=1;Sn<Y;Sn++)qe.push(ta({h:(Ne.h+Sn*vt)%360,s:Ne.s,l:Ne.l}));return qe}function Me(ue){var Y=ta(ue).toHsl(),Ne=Y.h;return[ta(ue),ta({h:(Ne+72)%360,s:Y.s,l:Y.l}),ta({h:(Ne+216)%360,s:Y.s,l:Y.l})]}function tt(ue,Y,Ne){Y=Y||6,Ne=Ne||30;var qe=ta(ue).toHsl(),vt=360/Ne,Sn=[ta(ue)];for(qe.h=(qe.h-(vt*Y>>1)+720)%360;--Y;)qe.h=(qe.h+vt)%360,Sn.push(ta(qe));return Sn}function at(ue,Y){Y=Y||6;for(var Ne=ta(ue).toHsv(),qe=Ne.h,vt=Ne.s,Sn=Ne.v,or=[],Or=1/Y;Y--;)or.push(ta({h:qe,s:vt,v:Sn})),Sn=(Sn+Or)%1;return or}ta.mix=function(ue,Y,Ne){Ne=Ne===0?0:Ne||50;var qe=ta(ue).toRgb(),vt=ta(Y).toRgb(),Sn=Ne/100,or={r:(vt.r-qe.r)*Sn+qe.r,g:(vt.g-qe.g)*Sn+qe.g,b:(vt.b-qe.b)*Sn+qe.b,a:(vt.a-qe.a)*Sn+qe.a};return ta(or)},ta.readability=function(ue,Y){var Ne=ta(ue),qe=ta(Y);return(Math.max(Ne.getLuminance(),qe.getLuminance())+.05)/(Math.min(Ne.getLuminance(),qe.getLuminance())+.05)},ta.isReadable=function(ue,Y,Ne){var qe=ta.readability(ue,Y),vt,Sn;switch(Sn=!1,vt=Ai(Ne),vt.level+vt.size){case\"AAsmall\":case\"AAAlarge\":Sn=qe>=4.5;break;case\"AAlarge\":Sn=qe>=3;break;case\"AAAsmall\":Sn=qe>=7;break}return Sn},ta.mostReadable=function(ue,Y,Ne){var qe=null,vt=0,Sn,or,Or,Hr;Ne=Ne||{},or=Ne.includeFallbackColors,Or=Ne.level,Hr=Ne.size;for(var ro=0;ro<Y.length;ro++)Sn=ta.readability(ue,Y[ro]),Sn>vt&&(vt=Sn,qe=ta(Y[ro]));return ta.isReadable(ue,qe,{level:Or,size:Hr})||!or?qe:(Ne.includeFallbackColors=!1,ta.mostReadable(ue,[\"#fff\",\"#000\"],Ne))};var Nt=ta.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\"},Tt=ta.hexNames=Jt(Nt);function Jt(ue){var Y={};for(var Ne in ue)ue.hasOwnProperty(Ne)&&(Y[ue[Ne]]=Ne);return Y}function nn(ue){return ue=parseFloat(ue),(isNaN(ue)||ue<0||ue>1)&&(ue=1),ue}function zn(ue,Y){Zr(ue)&&(ue=\"100%\");var Ne=Yr(ue);return ue=Math.min(Y,Math.max(0,parseFloat(ue))),Ne&&(ue=parseInt(ue*Y,10)/100),Math.abs(ue-Y)<1e-6?1:ue%Y/parseFloat(Y)}function mr(ue){return Math.min(1,Math.max(0,ue))}function Er(ue){return parseInt(ue,16)}function Zr(ue){return typeof ue==\"string\"&&ue.indexOf(\".\")!=-1&&parseFloat(ue)===1}function Yr(ue){return typeof ue==\"string\"&&ue.indexOf(\"%\")!=-1}function So(ue){return ue.length==1?\"0\"+ue:\"\"+ue}function Oo(ue){return ue<=1&&(ue=ue*100+\"%\"),ue}function xo(ue){return Math.round(parseFloat(ue)*255).toString(16)}function lo(ue){return Er(ue)/255}var Io=function(){var ue=\"[-\\\\+]?\\\\d+%?\",Y=\"[-\\\\+]?\\\\d*\\\\.\\\\d+%?\",Ne=\"(?:\"+Y+\")|(?:\"+ue+\")\",qe=\"[\\\\s|\\\\(]+(\"+Ne+\")[,|\\\\s]+(\"+Ne+\")[,|\\\\s]+(\"+Ne+\")\\\\s*\\\\)?\",vt=\"[\\\\s|\\\\(]+(\"+Ne+\")[,|\\\\s]+(\"+Ne+\")[,|\\\\s]+(\"+Ne+\")[,|\\\\s]+(\"+Ne+\")\\\\s*\\\\)?\";return{CSS_UNIT:new RegExp(Ne),rgb:new RegExp(\"rgb\"+qe),rgba:new RegExp(\"rgba\"+vt),hsl:new RegExp(\"hsl\"+qe),hsla:new RegExp(\"hsla\"+vt),hsv:new RegExp(\"hsv\"+qe),hsva:new RegExp(\"hsva\"+vt),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 Zo(ue){return!!Io.CSS_UNIT.exec(ue)}function xi(ue){ue=ue.replace(rl,\"\").replace(ol,\"\").toLowerCase();var Y=!1;if(Nt[ue])ue=Nt[ue],Y=!0;else if(ue==\"transparent\")return{r:0,g:0,b:0,a:0,format:\"name\"};var Ne;return(Ne=Io.rgb.exec(ue))?{r:Ne[1],g:Ne[2],b:Ne[3]}:(Ne=Io.rgba.exec(ue))?{r:Ne[1],g:Ne[2],b:Ne[3],a:Ne[4]}:(Ne=Io.hsl.exec(ue))?{h:Ne[1],s:Ne[2],l:Ne[3]}:(Ne=Io.hsla.exec(ue))?{h:Ne[1],s:Ne[2],l:Ne[3],a:Ne[4]}:(Ne=Io.hsv.exec(ue))?{h:Ne[1],s:Ne[2],v:Ne[3]}:(Ne=Io.hsva.exec(ue))?{h:Ne[1],s:Ne[2],v:Ne[3],a:Ne[4]}:(Ne=Io.hex8.exec(ue))?{r:Er(Ne[1]),g:Er(Ne[2]),b:Er(Ne[3]),a:lo(Ne[4]),format:Y?\"name\":\"hex8\"}:(Ne=Io.hex6.exec(ue))?{r:Er(Ne[1]),g:Er(Ne[2]),b:Er(Ne[3]),format:Y?\"name\":\"hex\"}:(Ne=Io.hex4.exec(ue))?{r:Er(Ne[1]+\"\"+Ne[1]),g:Er(Ne[2]+\"\"+Ne[2]),b:Er(Ne[3]+\"\"+Ne[3]),a:lo(Ne[4]+\"\"+Ne[4]),format:Y?\"name\":\"hex8\"}:(Ne=Io.hex3.exec(ue))?{r:Er(Ne[1]+\"\"+Ne[1]),g:Er(Ne[2]+\"\"+Ne[2]),b:Er(Ne[3]+\"\"+Ne[3]),format:Y?\"name\":\"hex\"}:!1}function Ai(ue){var Y,Ne;return ue=ue||{level:\"AA\",size:\"small\"},Y=(ue.level||\"AA\").toUpperCase(),Ne=(ue.size||\"small\").toLowerCase(),Y!==\"AA\"&&Y!==\"AAA\"&&(Y=\"AA\"),Ne!==\"small\"&&Ne!==\"large\"&&(Ne=\"small\"),{level:Y,size:Ne}}var ci=function(Y){var Ne=[\"r\",\"g\",\"b\",\"a\",\"h\",\"s\",\"l\",\"v\"],qe=0,vt=0;return Ul(Ne,function(Sn){if(Y[Sn]&&(qe+=1,isNaN(Y[Sn])||(vt+=1),Sn===\"s\"||Sn===\"l\")){var or=/^\\d+%$/;or.test(Y[Sn])&&(vt+=1)}}),qe===vt?Y:!1},Ri=function(Y,Ne){var qe=Y.hex?ta(Y.hex):ta(Y),vt=qe.toHsl(),Sn=qe.toHsv(),or=qe.toRgb(),Or=qe.toHex();vt.s===0&&(vt.h=Ne||0,Sn.h=Ne||0);var Hr=Or===\"000000\"&&or.a===0;return{hsl:vt,hex:Hr?\"transparent\":\"#\"+Or,rgb:or,hsv:Sn,oldHue:Y.h||Ne||vt.h,source:Y.source}},Ci=function(Y){if(Y===\"transparent\")return!0;var Ne=String(Y).charAt(0)===\"#\"?1:0;return Y.length!==4+Ne&&Y.length<7+Ne&&ta(Y).isValid()},ua=function(Y){if(!Y)return\"#fff\";var Ne=Ri(Y);if(Ne.hex===\"transparent\")return\"rgba(0,0,0,0.4)\";var qe=(Ne.rgb.r*299+Ne.rgb.g*587+Ne.rgb.b*114)/1e3;return qe>=128?\"#000\":\"#fff\"},da={hsl:{a:1,h:0,l:.5,s:1},hex:\"#ff0000\",rgb:{r:255,g:0,b:0,a:1},hsv:{h:0,s:1,v:1,a:1}},Da=function(Y,Ne){var qe=Y.replace(\"\\xB0\",\"\");return ta(Ne+\" (\"+qe+\")\")._ok},as=Object.assign||function(ue){for(var Y=1;Y<arguments.length;Y++){var Ne=arguments[Y];for(var qe in Ne)Object.prototype.hasOwnProperty.call(Ne,qe)&&(ue[qe]=Ne[qe])}return ue},ts=function(){function ue(Y,Ne){for(var qe=0;qe<Ne.length;qe++){var vt=Ne[qe];vt.enumerable=vt.enumerable||!1,vt.configurable=!0,\"value\"in vt&&(vt.writable=!0),Object.defineProperty(Y,vt.key,vt)}}return function(Y,Ne,qe){return Ne&&ue(Y.prototype,Ne),qe&&ue(Y,qe),Y}}();function ka(ue,Y){if(!(ue instanceof Y))throw new TypeError(\"Cannot call a class as a function\")}function uu(ue,Y){if(!ue)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return Y&&(typeof Y==\"object\"||typeof Y==\"function\")?Y:ue}function Su(ue,Y){if(typeof Y!=\"function\"&&Y!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof Y);ue.prototype=Object.create(Y&&Y.prototype,{constructor:{value:ue,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(ue,Y):ue.__proto__=Y)}var Js=function(Y){var Ne=function(qe){Su(vt,qe);function vt(Sn){ka(this,vt);var or=uu(this,(vt.__proto__||Object.getPrototypeOf(vt)).call(this));return or.handleChange=function(Or,Hr){var ro=ci(Or);if(ro){var zo=Ri(Or,Or.h||or.state.oldHue);or.setState(zo),or.props.onChangeComplete&&or.debounce(or.props.onChangeComplete,zo,Hr),or.props.onChange&&or.props.onChange(zo,Hr)}},or.handleSwatchHover=function(Or,Hr){var ro=ci(Or);if(ro){var zo=Ri(Or,Or.h||or.state.oldHue);or.props.onSwatchHover&&or.props.onSwatchHover(zo,Hr)}},or.state=as({},Ri(Sn.color,0)),or.debounce=Qc(function(Or,Hr,ro){Or(Hr,ro)},100),or}return ts(vt,[{key:\"render\",value:function(){var or={};return this.props.onSwatchHover&&(or.onSwatchHover=this.handleSwatchHover),r.createElement(Y,as({},this.props,this.state,{onChange:this.handleChange},or))}}],[{key:\"getDerivedStateFromProps\",value:function(or,Or){return as({},Ri(or.color,Or.oldHue))}}]),vt}(r.PureComponent||r.Component);return Ne.propTypes=as({},Y.propTypes),Ne.defaultProps=as({},Y.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),Ne},Ws=Js,Ru=Object.assign||function(ue){for(var Y=1;Y<arguments.length;Y++){var Ne=arguments[Y];for(var qe in Ne)Object.prototype.hasOwnProperty.call(Ne,qe)&&(ue[qe]=Ne[qe])}return ue},Iu=function(){function ue(Y,Ne){for(var qe=0;qe<Ne.length;qe++){var vt=Ne[qe];vt.enumerable=vt.enumerable||!1,vt.configurable=!0,\"value\"in vt&&(vt.writable=!0),Object.defineProperty(Y,vt.key,vt)}}return function(Y,Ne,qe){return Ne&&ue(Y.prototype,Ne),qe&&ue(Y,qe),Y}}();function Xf(ue,Y){if(!(ue instanceof Y))throw new TypeError(\"Cannot call a class as a function\")}function Xl(ue,Y){if(!ue)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return Y&&(typeof Y==\"object\"||typeof Y==\"function\")?Y:ue}function Yl(ue,Y){if(typeof Y!=\"function\"&&Y!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof Y);ue.prototype=Object.create(Y&&Y.prototype,{constructor:{value:ue,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(ue,Y):ue.__proto__=Y)}var Cf=function(Y){var Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:\"span\";return function(qe){Yl(vt,qe);function vt(){var Sn,or,Or,Hr;Xf(this,vt);for(var ro=arguments.length,zo=Array(ro),oi=0;oi<ro;oi++)zo[oi]=arguments[oi];return Hr=(or=(Or=Xl(this,(Sn=vt.__proto__||Object.getPrototypeOf(vt)).call.apply(Sn,[this].concat(zo))),Or),Or.state={focus:!1},Or.handleFocus=function(){return Or.setState({focus:!0})},Or.handleBlur=function(){return Or.setState({focus:!1})},or),Xl(Or,Hr)}return Iu(vt,[{key:\"render\",value:function(){return r.createElement(Ne,{onFocus:this.handleFocus,onBlur:this.handleBlur},r.createElement(Y,Ru({},this.props,this.state)))}}]),vt}(r.Component)},iu=Object.assign||function(ue){for(var Y=1;Y<arguments.length;Y++){var Ne=arguments[Y];for(var qe in Ne)Object.prototype.hasOwnProperty.call(Ne,qe)&&(ue[qe]=Ne[qe])}return ue},lc=13,ls=function(Y){var Ne=Y.color,qe=Y.style,vt=Y.onClick,Sn=vt===void 0?function(){}:vt,or=Y.onHover,Or=Y.title,Hr=Or===void 0?Ne:Or,ro=Y.children,zo=Y.focus,oi=Y.focusStyle,bi=oi===void 0?{}:oi,ji=Ne===\"transparent\",ma=(0,y.ZP)({default:{swatch:iu({background:Ne,height:\"100%\",width:\"100%\",cursor:\"pointer\",position:\"relative\",outline:\"none\"},qe,zo?bi:{})}}),Ea=function(nc){return Sn(Ne,nc)},za=function(nc){return nc.keyCode===lc&&Sn(Ne,nc)},Vs=function(nc){return or(Ne,nc)},vc={};return or&&(vc.onMouseOver=Vs),r.createElement(\"div\",iu({style:ma.swatch,onClick:Ea,title:Hr,tabIndex:0,onKeyDown:za},vc),ro,ji&&r.createElement(u,{borderRadius:ma.swatch.borderRadius,boxShadow:\"inset 0 0 0 1px rgba(0,0,0,0.1)\"}))},wc=Cf(ls),Sc=function(Y){var Ne=Y.direction,qe=(0,y.ZP)({default:{picker:{width:\"18px\",height:\"18px\",borderRadius:\"50%\",transform:\"translate(-9px, -1px)\",backgroundColor:\"rgb(248, 248, 248)\",boxShadow:\"0 1px 4px 0 rgba(0, 0, 0, 0.37)\"}},vertical:{picker:{transform:\"translate(-3px, -9px)\"}}},{vertical:Ne===\"vertical\"});return r.createElement(\"div\",{style:qe.picker})},ul=Sc,fc=Object.assign||function(ue){for(var Y=1;Y<arguments.length;Y++){var Ne=arguments[Y];for(var qe in Ne)Object.prototype.hasOwnProperty.call(Ne,qe)&&(ue[qe]=Ne[qe])}return ue},Kl=function(Y){var Ne=Y.rgb,qe=Y.hsl,vt=Y.width,Sn=Y.height,or=Y.onChange,Or=Y.direction,Hr=Y.style,ro=Y.renderers,zo=Y.pointer,oi=Y.className,bi=oi===void 0?\"\":oi,ji=(0,y.ZP)({default:{picker:{position:\"relative\",width:vt,height:Sn},alpha:{radius:\"2px\",style:Hr}}});return r.createElement(\"div\",{style:ji.picker,className:\"alpha-picker \"+bi},r.createElement(x,fc({},ji.alpha,{rgb:Ne,hsl:qe,pointer:zo,renderers:ro,onChange:or,direction:Or})))};Kl.defaultProps={width:\"316px\",height:\"16px\",direction:\"horizontal\",pointer:ul};var Yf=Ws(Kl);function Ec(ue,Y){for(var Ne=-1,qe=ue==null?0:ue.length,vt=Array(qe);++Ne<qe;)vt[Ne]=Y(ue[Ne],Ne,ue);return vt}var $c=Ec,dc=\"__lodash_hash_undefined__\";function Kf(ue){return this.__data__.set(ue,dc),this}var ql=Kf;function Ql(ue){return this.__data__.has(ue)}var gl=Ql;function Lu(ue){var Y=-1,Ne=ue==null?0:ue.length;for(this.__data__=new fr;++Y<Ne;)this.add(ue[Y])}Lu.prototype.add=Lu.prototype.push=ql,Lu.prototype.has=gl;var Tl=Lu;function Jl(ue,Y){for(var Ne=-1,qe=ue==null?0:ue.length;++Ne<qe;)if(Y(ue[Ne],Ne,ue))return!0;return!1}var vl=Jl;function _f(ue,Y){return ue.has(Y)}var Mf=_f,Ds=1,ef=2;function Pl(ue,Y,Ne,qe,vt,Sn){var or=Ne&Ds,Or=ue.length,Hr=Y.length;if(Or!=Hr&&!(or&&Hr>Or))return!1;var ro=Sn.get(ue),zo=Sn.get(Y);if(ro&&zo)return ro==Y&&zo==ue;var oi=-1,bi=!0,ji=Ne&ef?new Tl:void 0;for(Sn.set(ue,Y),Sn.set(Y,ue);++oi<Or;){var ma=ue[oi],Ea=Y[oi];if(qe)var za=or?qe(Ea,ma,oi,Y,ue,Sn):qe(ma,Ea,oi,ue,Y,Sn);if(za!==void 0){if(za)continue;bi=!1;break}if(ji){if(!vl(Y,function(Vs,vc){if(!Mf(ji,vc)&&(ma===Vs||vt(ma,Vs,Ne,qe,Sn)))return ji.push(vc)})){bi=!1;break}}else if(!(ma===Ea||vt(ma,Ea,Ne,qe,Sn))){bi=!1;break}}return Sn.delete(ue),Sn.delete(Y),bi}var tf=Pl;function Bu(ue){var Y=-1,Ne=Array(ue.size);return ue.forEach(function(qe,vt){Ne[++Y]=[vt,qe]}),Ne}var qu=Bu;function Af(ue){var Y=-1,Ne=Array(ue.size);return ue.forEach(function(qe){Ne[++Y]=qe}),Ne}var nf=Af,Zu=1,Ks=2,Hc=\"[object Boolean]\",Tf=\"[object Date]\",Xu=\"[object Error]\",rf=\"[object Map]\",Il=\"[object Number]\",of=\"[object RegExp]\",Fu=\"[object Set]\",Oc=\"[object String]\",va=\"[object Symbol]\",Qu=\"[object ArrayBuffer]\",Hu=\"[object DataView]\",eu=hr?hr.prototype:void 0,ml=eu?eu.valueOf:void 0;function Ju(ue,Y,Ne,qe,vt,Sn,or){switch(Ne){case Hu:if(ue.byteLength!=Y.byteLength||ue.byteOffset!=Y.byteOffset)return!1;ue=ue.buffer,Y=Y.buffer;case Qu:return!(ue.byteLength!=Y.byteLength||!Sn(new V(ue),new V(Y)));case Hc:case Tf:case Il:return fe(+ue,+Y);case Xu:return ue.name==Y.name&&ue.message==Y.message;case of:case Oc:return ue==Y+\"\";case rf:var Or=qu;case Fu:var Hr=qe&Zu;if(Or||(Or=nf),ue.size!=Y.size&&!Hr)return!1;var ro=or.get(ue);if(ro)return ro==Y;qe|=Ks,or.set(ue,Y);var zo=tf(Or(ue),Or(Y),qe,vt,Sn,or);return or.delete(ue),zo;case va:if(ml)return ml.call(ue)==ml.call(Y)}return!1}var yl=Ju;function Us(ue,Y){for(var Ne=-1,qe=Y.length,vt=ue.length;++Ne<qe;)ue[vt+Ne]=Y[Ne];return ue}var af=Us;function kl(ue,Y,Ne){var qe=Y(ue);return vo(ue)?qe:af(qe,Ne(ue))}var Nl=kl;function Pf(ue,Y){for(var Ne=-1,qe=ue==null?0:ue.length,vt=0,Sn=[];++Ne<qe;){var or=ue[Ne];Y(or,Ne,ue)&&(Sn[vt++]=or)}return Sn}var jl=Pf;function qf(){return[]}var sf=qf,If=Object.prototype,cu=If.propertyIsEnumerable,tu=Object.getOwnPropertySymbols,uf=tu?function(ue){return ue==null?[]:(ue=Object(ue),jl(tu(ue),function(Y){return cu.call(ue,Y)}))}:sf,Qf=uf;function cf(ue){return Nl(ue,Jc,Qf)}var bl=cf,fd=1,Gc=Object.prototype,kf=Gc.hasOwnProperty;function Nf(ue,Y,Ne,qe,vt,Sn){var or=Ne&fd,Or=bl(ue),Hr=Or.length,ro=bl(Y),zo=ro.length;if(Hr!=zo&&!or)return!1;for(var oi=Hr;oi--;){var bi=Or[oi];if(!(or?bi in Y:kf.call(Y,bi)))return!1}var ji=Sn.get(ue),ma=Sn.get(Y);if(ji&&ma)return ji==Y&&ma==ue;var Ea=!0;Sn.set(ue,Y),Sn.set(Y,ue);for(var za=or;++oi<Hr;){bi=Or[oi];var Vs=ue[bi],vc=Y[bi];if(qe)var Ef=or?qe(vc,Vs,bi,Y,ue,Sn):qe(Vs,vc,bi,ue,Y,Sn);if(!(Ef===void 0?Vs===vc||vt(Vs,vc,Ne,qe,Sn):Ef)){Ea=!1;break}za||(za=bi==\"constructor\")}if(Ea&&!za){var nc=ue.constructor,$l=Y.constructor;nc!=$l&&\"constructor\"in ue&&\"constructor\"in Y&&!(typeof nc==\"function\"&&nc instanceof nc&&typeof $l==\"function\"&&$l instanceof $l)&&(Ea=!1)}return Sn.delete(ue),Sn.delete(Y),Ea}var jf=Nf,cl=ti(Mn,\"DataView\"),Df=cl,Rf=ti(Mn,\"Promise\"),xl=Rf,Wc=ti(Mn,\"Set\"),Dl=Wc,Rl=ti(Mn,\"WeakMap\"),hc=Rl,wl=\"[object Map]\",lf=\"[object Object]\",ff=\"[object Promise]\",df=\"[object Set]\",Ll=\"[object WeakMap]\",hf=\"[object DataView]\",ec=mi(Df),$s=mi(ni),dd=mi(xl),Lf=mi(Dl),Eu=mi(hc),ll=Dt;(Df&&ll(new Df(new ArrayBuffer(1)))!=hf||ni&&ll(new ni)!=wl||xl&&ll(xl.resolve())!=ff||Dl&&ll(new Dl)!=df||hc&&ll(new hc)!=Ll)&&(ll=function(ue){var Y=Dt(ue),Ne=Y==lf?ue.constructor:void 0,qe=Ne?mi(Ne):\"\";if(qe)switch(qe){case ec:return hf;case $s:return wl;case dd:return ff;case Lf:return df;case Eu:return Ll}return Y});var Sl=ll,hd=1,pf=\"[object Arguments]\",Bf=\"[object Array]\",Bl=\"[object Object]\",Jf=Object.prototype,gf=Jf.hasOwnProperty;function pd(ue,Y,Ne,qe,vt,Sn){var or=vo(ue),Or=vo(Y),Hr=or?Bf:Sl(ue),ro=Or?Bf:Sl(Y);Hr=Hr==pf?Bl:Hr,ro=ro==pf?Bl:ro;var zo=Hr==Bl,oi=ro==Bl,bi=Hr==ro;if(bi&&La(ue)){if(!La(Y))return!1;or=!0,zo=!1}if(bi&&!zo)return Sn||(Sn=new Rt),or||Ts(ue)?tf(ue,Y,Ne,qe,vt,Sn):yl(ue,Y,Hr,Ne,qe,vt,Sn);if(!(Ne&hd)){var ji=zo&&gf.call(ue,\"__wrapped__\"),ma=oi&&gf.call(Y,\"__wrapped__\");if(ji||ma){var Ea=ji?ue.value():ue,za=ma?Y.value():Y;return Sn||(Sn=new Rt),vt(Ea,za,Ne,qe,Sn)}}return bi?(Sn||(Sn=new Rt),jf(ue,Y,Ne,qe,vt,Sn)):!1}var gd=pd;function vf(ue,Y,Ne,qe,vt){return ue===Y?!0:ue==null||Y==null||!Bt(ue)&&!Bt(Y)?ue!==ue&&Y!==Y:gd(ue,Y,Ne,qe,vf,vt)}var mf=vf,Ff=1,vd=2;function ed(ue,Y,Ne,qe){var vt=Ne.length,Sn=vt,or=!qe;if(ue==null)return!Sn;for(ue=Object(ue);vt--;){var Or=Ne[vt];if(or&&Or[2]?Or[1]!==ue[Or[0]]:!(Or[0]in ue))return!1}for(;++vt<Sn;){Or=Ne[vt];var Hr=Or[0],ro=ue[Hr],zo=Or[1];if(or&&Or[2]){if(ro===void 0&&!(Hr in ue))return!1}else{var oi=new Rt;if(qe)var bi=qe(ro,zo,Hr,ue,Y,oi);if(!(bi===void 0?mf(zo,ro,Ff|vd,qe,oi):bi))return!1}}return!0}var td=ed;function yf(ue){return ue===ue&&!Rn(ue)}var nd=yf;function rd(ue){for(var Y=Jc(ue),Ne=Y.length;Ne--;){var qe=Y[Ne],vt=ue[qe];Y[Ne]=[qe,vt,nd(vt)]}return Y}var od=rd;function zf(ue,Y){return function(Ne){return Ne==null?!1:Ne[ue]===Y&&(Y!==void 0||ue in Object(Ne))}}var $f=zf;function du(ue){var Y=od(ue);return Y.length==1&&Y[0][2]?$f(Y[0][0],Y[0][1]):function(Ne){return Ne===ue||td(Ne,ue,Y)}}var Ou=du,Hf=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,id=/^\\w*$/;function ad(ue,Y){if(vo(ue))return!1;var Ne=typeof ue;return Ne==\"number\"||Ne==\"symbol\"||Ne==\"boolean\"||ue==null||fu(ue)?!0:id.test(ue)||!Hf.test(ue)||Y!=null&&ue in Object(Y)}var o=ad,t=\"Expected a function\";function e(ue,Y){if(typeof ue!=\"function\"||Y!=null&&typeof Y!=\"function\")throw new TypeError(t);var Ne=function(){var qe=arguments,vt=Y?Y.apply(this,qe):qe[0],Sn=Ne.cache;if(Sn.has(vt))return Sn.get(vt);var or=ue.apply(this,qe);return Ne.cache=Sn.set(vt,or)||Sn,or};return Ne.cache=new(e.Cache||fr),Ne}e.Cache=fr;var n=e,i=500;function d(ue){var Y=n(ue,function(qe){return Ne.size===i&&Ne.clear(),qe}),Ne=Y.cache;return Y}var g=d,_=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g,I=/\\\\(\\\\)?/g,D=g(function(ue){var Y=[];return ue.charCodeAt(0)===46&&Y.push(\"\"),ue.replace(_,function(Ne,qe,vt,Sn){Y.push(vt?Sn.replace(I,\"$1\"):qe||Ne)}),Y}),H=D,Z=1/0,te=hr?hr.prototype:void 0,de=te?te.toString:void 0;function Pe(ue){if(typeof ue==\"string\")return ue;if(vo(ue))return $c(ue,Pe)+\"\";if(fu(ue))return de?de.call(ue):\"\";var Y=ue+\"\";return Y==\"0\"&&1/ue==-Z?\"-0\":Y}var Ge=Pe;function Qe(ue){return ue==null?\"\":Ge(ue)}var Xe=Qe;function yt(ue,Y){return vo(ue)?ue:o(ue,Y)?[ue]:H(Xe(ue))}var Ct=yt,on=1/0;function sn(ue){if(typeof ue==\"string\"||fu(ue))return ue;var Y=ue+\"\";return Y==\"0\"&&1/ue==-on?\"-0\":Y}var Nn=sn;function Tn(ue,Y){Y=Ct(Y,ue);for(var Ne=0,qe=Y.length;ue!=null&&Ne<qe;)ue=ue[Nn(Y[Ne++])];return Ne&&Ne==qe?ue:void 0}var Bn=Tn;function Hn(ue,Y,Ne){var qe=ue==null?void 0:Bn(ue,Y);return qe===void 0?Ne:qe}var Sr=Hn;function Cr(ue,Y){return ue!=null&&Y in Object(ue)}var po=Cr;function wo(ue,Y,Ne){Y=Ct(Y,ue);for(var qe=-1,vt=Y.length,Sn=!1;++qe<vt;){var or=Nn(Y[qe]);if(!(Sn=ue!=null&&Ne(ue,or)))break;ue=ue[or]}return Sn||++qe!=vt?Sn:(vt=ue==null?0:ue.length,!!vt&&Pi(vt)&&qr(or,vt)&&(vo(ue)||Vr(ue)))}var Po=wo;function Xo(ue,Y){return ue!=null&&Po(ue,Y,po)}var ri=Xo,ki=1,T=2;function B(ue,Y){return o(ue)&&nd(Y)?$f(Nn(ue),Y):function(Ne){var qe=Sr(Ne,ue);return qe===void 0&&qe===Y?ri(Ne,ue):mf(Y,qe,ki|T)}}var K=B;function Se(ue){return function(Y){return Y==null?void 0:Y[ue]}}var He=Se;function Ye(ue){return function(Y){return Bn(Y,ue)}}var Et=Ye;function bn(ue){return o(ue)?He(Nn(ue)):Et(ue)}var Qn=bn;function yr(ue){return typeof ue==\"function\"?ue:ue==null?zs:typeof ue==\"object\"?vo(ue)?K(ue[0],ue[1]):Ou(ue):Qn(ue)}var vr=yr;function no(ue,Y){var Ne=-1,qe=Vi(ue)?Array(ue.length):[];return nl(ue,function(vt,Sn,or){qe[++Ne]=Y(vt,Sn,or)}),qe}var Wo=no;function $o(ue,Y){var Ne=vo(ue)?$c:Wo;return Ne(ue,vr(Y,3))}var Lr=$o,co=function(Y){var Ne=Y.colors,qe=Y.onClick,vt=Y.onSwatchHover,Sn=(0,y.ZP)({default:{swatches:{marginRight:\"-10px\"},swatch:{width:\"22px\",height:\"22px\",float:\"left\",marginRight:\"10px\",marginBottom:\"10px\",borderRadius:\"4px\"},clear:{clear:\"both\"}}});return r.createElement(\"div\",{style:Sn.swatches},Lr(Ne,function(or){return r.createElement(wc,{key:or,color:or,style:Sn.swatch,onClick:qe,onHover:vt,focusStyle:{boxShadow:\"0 0 4px \"+or}})}),r.createElement(\"div\",{style:Sn.clear}))},Do=co,yi=function(Y){var Ne=Y.onChange,qe=Y.onSwatchHover,vt=Y.hex,Sn=Y.colors,or=Y.width,Or=Y.triangle,Hr=Y.styles,ro=Hr===void 0?{}:Hr,zo=Y.className,oi=zo===void 0?\"\":zo,bi=vt===\"transparent\",ji=function(za,Vs){Ci(za)&&Ne({hex:za,source:\"hex\"},Vs)},ma=(0,y.ZP)(Be({default:{card:{width:or,background:\"#fff\",boxShadow:\"0 1px rgba(0,0,0,.1)\",borderRadius:\"6px\",position:\"relative\"},head:{height:\"110px\",background:vt,borderRadius:\"6px 6px 0 0\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",position:\"relative\"},body:{padding:\"10px\"},label:{fontSize:\"18px\",color:ua(vt),position:\"relative\"},triangle:{width:\"0px\",height:\"0px\",borderStyle:\"solid\",borderWidth:\"0 10px 10px 10px\",borderColor:\"transparent transparent \"+vt+\" transparent\",position:\"absolute\",top:\"-10px\",left:\"50%\",marginLeft:\"-10px\"},input:{width:\"100%\",fontSize:\"12px\",color:\"#666\",border:\"0px\",outline:\"none\",height:\"22px\",boxShadow:\"inset 0 0 0 1px #ddd\",borderRadius:\"4px\",padding:\"0 7px\",boxSizing:\"border-box\"}},\"hide-triangle\":{triangle:{display:\"none\"}}},ro),{\"hide-triangle\":Or===\"hide\"});return r.createElement(\"div\",{style:ma.card,className:\"block-picker \"+oi},r.createElement(\"div\",{style:ma.triangle}),r.createElement(\"div\",{style:ma.head},bi&&r.createElement(u,{borderRadius:\"6px 6px 0 0\"}),r.createElement(\"div\",{style:ma.label},vt)),r.createElement(\"div\",{style:ma.body},r.createElement(Do,{colors:Sn,onClick:ji,onSwatchHover:qe}),r.createElement(Le,{style:{input:ma.input},value:vt,onChange:ji})))};yi.propTypes={width:ae().oneOfType([ae().string,ae().number]),colors:ae().arrayOf(ae().string),triangle:ae().oneOf([\"top\",\"hide\"]),styles:ae().object},yi.defaultProps={width:170,colors:[\"#D9E3F0\",\"#F47373\",\"#697689\",\"#37D67A\",\"#2CCCE4\",\"#555555\",\"#dce775\",\"#ff8a65\",\"#ba68c8\"],triangle:\"top\",styles:{}};var Fo=Ws(yi),Bo={50:\"#ffebee\",100:\"#ffcdd2\",200:\"#ef9a9a\",300:\"#e57373\",400:\"#ef5350\",500:\"#f44336\",600:\"#e53935\",700:\"#d32f2f\",800:\"#c62828\",900:\"#b71c1c\",a100:\"#ff8a80\",a200:\"#ff5252\",a400:\"#ff1744\",a700:\"#d50000\"},Uo={50:\"#fce4ec\",100:\"#f8bbd0\",200:\"#f48fb1\",300:\"#f06292\",400:\"#ec407a\",500:\"#e91e63\",600:\"#d81b60\",700:\"#c2185b\",800:\"#ad1457\",900:\"#880e4f\",a100:\"#ff80ab\",a200:\"#ff4081\",a400:\"#f50057\",a700:\"#c51162\"},Gi={50:\"#f3e5f5\",100:\"#e1bee7\",200:\"#ce93d8\",300:\"#ba68c8\",400:\"#ab47bc\",500:\"#9c27b0\",600:\"#8e24aa\",700:\"#7b1fa2\",800:\"#6a1b9a\",900:\"#4a148c\",a100:\"#ea80fc\",a200:\"#e040fb\",a400:\"#d500f9\",a700:\"#aa00ff\"},Ni={50:\"#ede7f6\",100:\"#d1c4e9\",200:\"#b39ddb\",300:\"#9575cd\",400:\"#7e57c2\",500:\"#673ab7\",600:\"#5e35b1\",700:\"#512da8\",800:\"#4527a0\",900:\"#311b92\",a100:\"#b388ff\",a200:\"#7c4dff\",a400:\"#651fff\",a700:\"#6200ea\"},Wi={50:\"#e8eaf6\",100:\"#c5cae9\",200:\"#9fa8da\",300:\"#7986cb\",400:\"#5c6bc0\",500:\"#3f51b5\",600:\"#3949ab\",700:\"#303f9f\",800:\"#283593\",900:\"#1a237e\",a100:\"#8c9eff\",a200:\"#536dfe\",a400:\"#3d5afe\",a700:\"#304ffe\"},ba={50:\"#e3f2fd\",100:\"#bbdefb\",200:\"#90caf9\",300:\"#64b5f6\",400:\"#42a5f5\",500:\"#2196f3\",600:\"#1e88e5\",700:\"#1976d2\",800:\"#1565c0\",900:\"#0d47a1\",a100:\"#82b1ff\",a200:\"#448aff\",a400:\"#2979ff\",a700:\"#2962ff\"},Ss={50:\"#e1f5fe\",100:\"#b3e5fc\",200:\"#81d4fa\",300:\"#4fc3f7\",400:\"#29b6f6\",500:\"#03a9f4\",600:\"#039be5\",700:\"#0288d1\",800:\"#0277bd\",900:\"#01579b\",a100:\"#80d8ff\",a200:\"#40c4ff\",a400:\"#00b0ff\",a700:\"#0091ea\"},Ra={50:\"#e0f7fa\",100:\"#b2ebf2\",200:\"#80deea\",300:\"#4dd0e1\",400:\"#26c6da\",500:\"#00bcd4\",600:\"#00acc1\",700:\"#0097a7\",800:\"#00838f\",900:\"#006064\",a100:\"#84ffff\",a200:\"#18ffff\",a400:\"#00e5ff\",a700:\"#00b8d4\"},fs={50:\"#e0f2f1\",100:\"#b2dfdb\",200:\"#80cbc4\",300:\"#4db6ac\",400:\"#26a69a\",500:\"#009688\",600:\"#00897b\",700:\"#00796b\",800:\"#00695c\",900:\"#004d40\",a100:\"#a7ffeb\",a200:\"#64ffda\",a400:\"#1de9b6\",a700:\"#00bfa5\"},ns={50:\"#e8f5e9\",100:\"#c8e6c9\",200:\"#a5d6a7\",300:\"#81c784\",400:\"#66bb6a\",500:\"#4caf50\",600:\"#43a047\",700:\"#388e3c\",800:\"#2e7d32\",900:\"#1b5e20\",a100:\"#b9f6ca\",a200:\"#69f0ae\",a400:\"#00e676\",a700:\"#00c853\"},hs={50:\"#f1f8e9\",100:\"#dcedc8\",200:\"#c5e1a5\",300:\"#aed581\",400:\"#9ccc65\",500:\"#8bc34a\",600:\"#7cb342\",700:\"#689f38\",800:\"#558b2f\",900:\"#33691e\",a100:\"#ccff90\",a200:\"#b2ff59\",a400:\"#76ff03\",a700:\"#64dd17\"},Is={50:\"#f9fbe7\",100:\"#f0f4c3\",200:\"#e6ee9c\",300:\"#dce775\",400:\"#d4e157\",500:\"#cddc39\",600:\"#c0ca33\",700:\"#afb42b\",800:\"#9e9d24\",900:\"#827717\",a100:\"#f4ff81\",a200:\"#eeff41\",a400:\"#c6ff00\",a700:\"#aeea00\"},hu={50:\"#fffde7\",100:\"#fff9c4\",200:\"#fff59d\",300:\"#fff176\",400:\"#ffee58\",500:\"#ffeb3b\",600:\"#fdd835\",700:\"#fbc02d\",800:\"#f9a825\",900:\"#f57f17\",a100:\"#ffff8d\",a200:\"#ffff00\",a400:\"#ffea00\",a700:\"#ffd600\"},Es={50:\"#fff8e1\",100:\"#ffecb3\",200:\"#ffe082\",300:\"#ffd54f\",400:\"#ffca28\",500:\"#ffc107\",600:\"#ffb300\",700:\"#ffa000\",800:\"#ff8f00\",900:\"#ff6f00\",a100:\"#ffe57f\",a200:\"#ffd740\",a400:\"#ffc400\",a700:\"#ffab00\"},ku={50:\"#fff3e0\",100:\"#ffe0b2\",200:\"#ffcc80\",300:\"#ffb74d\",400:\"#ffa726\",500:\"#ff9800\",600:\"#fb8c00\",700:\"#f57c00\",800:\"#ef6c00\",900:\"#e65100\",a100:\"#ffd180\",a200:\"#ffab40\",a400:\"#ff9100\",a700:\"#ff6d00\"},Uc={50:\"#fbe9e7\",100:\"#ffccbc\",200:\"#ffab91\",300:\"#ff8a65\",400:\"#ff7043\",500:\"#ff5722\",600:\"#f4511e\",700:\"#e64a19\",800:\"#d84315\",900:\"#bf360c\",a100:\"#ff9e80\",a200:\"#ff6e40\",a400:\"#ff3d00\",a700:\"#dd2c00\"},Vc={50:\"#efebe9\",100:\"#d7ccc8\",200:\"#bcaaa4\",300:\"#a1887f\",400:\"#8d6e63\",500:\"#795548\",600:\"#6d4c41\",700:\"#5d4037\",800:\"#4e342e\",900:\"#3e2723\"},sd={50:\"#fafafa\",100:\"#f5f5f5\",200:\"#eeeeee\",300:\"#e0e0e0\",400:\"#bdbdbd\",500:\"#9e9e9e\",600:\"#757575\",700:\"#616161\",800:\"#424242\",900:\"#212121\"},pc={50:\"#eceff1\",100:\"#cfd8dc\",200:\"#b0bec5\",300:\"#90a4ae\",400:\"#78909c\",500:\"#607d8b\",600:\"#546e7a\",700:\"#455a64\",800:\"#37474f\",900:\"#263238\"},md={primary:\"rgba(0, 0, 0, 0.87)\",secondary:\"rgba(0, 0, 0, 0.54)\",disabled:\"rgba(0, 0, 0, 0.38)\",dividers:\"rgba(0, 0, 0, 0.12)\"},Gf={primary:\"rgba(255, 255, 255, 1)\",secondary:\"rgba(255, 255, 255, 0.7)\",disabled:\"rgba(255, 255, 255, 0.5)\",dividers:\"rgba(255, 255, 255, 0.12)\"},Od={active:\"rgba(0, 0, 0, 0.54)\",inactive:\"rgba(0, 0, 0, 0.38)\"},bf={active:\"rgba(255, 255, 255, 1)\",inactive:\"rgba(255, 255, 255, 0.5)\"},Cc=\"#ffffff\",Fl=\"#000000\",ks={red:Bo,pink:Uo,purple:Gi,deepPurple:Ni,indigo:Wi,blue:ba,lightBlue:Ss,cyan:Ra,teal:fs,green:ns,lightGreen:hs,lime:Is,yellow:hu,amber:Es,orange:ku,deepOrange:Uc,brown:Vc,grey:sd,blueGrey:pc,darkText:md,lightText:Gf,darkIcons:Od,lightIcons:bf,white:Cc,black:Fl},Qs=function(Y){var Ne=Y.color,qe=Y.onClick,vt=Y.onSwatchHover,Sn=Y.hover,or=Y.active,Or=Y.circleSize,Hr=Y.circleSpacing,ro=(0,y.ZP)({default:{swatch:{width:Or,height:Or,marginRight:Hr,marginBottom:Hr,transform:\"scale(1)\",transition:\"100ms transform ease\"},Swatch:{borderRadius:\"50%\",background:\"transparent\",boxShadow:\"inset 0 0 0 \"+(Or/2+1)+\"px \"+Ne,transition:\"100ms box-shadow ease\"}},hover:{swatch:{transform:\"scale(1.2)\"}},active:{Swatch:{boxShadow:\"inset 0 0 0 3px \"+Ne}}},{hover:Sn,active:or});return r.createElement(\"div\",{style:ro.swatch},r.createElement(wc,{style:ro.Swatch,color:Ne,onClick:qe,onHover:vt,focusStyle:{boxShadow:ro.Swatch.boxShadow+\", 0 0 5px \"+Ne}}))};Qs.defaultProps={circleSize:28,circleSpacing:14};var Gu=(0,y.tz)(Qs),zu=function(Y){var Ne=Y.width,qe=Y.onChange,vt=Y.onSwatchHover,Sn=Y.colors,or=Y.hex,Or=Y.circleSize,Hr=Y.styles,ro=Hr===void 0?{}:Hr,zo=Y.circleSpacing,oi=Y.className,bi=oi===void 0?\"\":oi,ji=(0,y.ZP)(Be({default:{card:{width:Ne,display:\"flex\",flexWrap:\"wrap\",marginRight:-zo,marginBottom:-zo}}},ro)),ma=function(za,Vs){return qe({hex:za,source:\"hex\"},Vs)};return r.createElement(\"div\",{style:ji.card,className:\"circle-picker \"+bi},Lr(Sn,function(Ea){return r.createElement(Gu,{key:Ea,color:Ea,onClick:ma,onSwatchHover:vt,active:or===Ea.toLowerCase(),circleSize:Or,circleSpacing:zo})}))};zu.propTypes={width:ae().oneOfType([ae().string,ae().number]),circleSize:ae().number,circleSpacing:ae().number,styles:ae().object},zu.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[Bo[500],Uo[500],Gi[500],Ni[500],Wi[500],ba[500],Ss[500],Ra[500],fs[500],ns[500],hs[500],Is[500],hu[500],Es[500],ku[500],Uc[500],Vc[500],pc[500]],styles:{}};var Cd=Ws(zu);function yd(ue){return ue===void 0}var Wf=yd,xf=c(29926),wf=function(){function ue(Y,Ne){for(var qe=0;qe<Ne.length;qe++){var vt=Ne[qe];vt.enumerable=vt.enumerable||!1,vt.configurable=!0,\"value\"in vt&&(vt.writable=!0),Object.defineProperty(Y,vt.key,vt)}}return function(Y,Ne,qe){return Ne&&ue(Y.prototype,Ne),qe&&ue(Y,qe),Y}}();function bd(ue,Y){if(!(ue instanceof Y))throw new TypeError(\"Cannot call a class as a function\")}function Ud(ue,Y){if(!ue)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return Y&&(typeof Y==\"object\"||typeof Y==\"function\")?Y:ue}function _d(ue,Y){if(typeof Y!=\"function\"&&Y!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof Y);ue.prototype=Object.create(Y&&Y.prototype,{constructor:{value:ue,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(ue,Y):ue.__proto__=Y)}var Md=function(ue){_d(Y,ue);function Y(Ne){bd(this,Y);var qe=Ud(this,(Y.__proto__||Object.getPrototypeOf(Y)).call(this));return qe.toggleViews=function(){qe.state.view===\"hex\"?qe.setState({view:\"rgb\"}):qe.state.view===\"rgb\"?qe.setState({view:\"hsl\"}):qe.state.view===\"hsl\"&&(qe.props.hsl.a===1?qe.setState({view:\"hex\"}):qe.setState({view:\"rgb\"}))},qe.handleChange=function(vt,Sn){vt.hex?Ci(vt.hex)&&qe.props.onChange({hex:vt.hex,source:\"hex\"},Sn):vt.r||vt.g||vt.b?qe.props.onChange({r:vt.r||qe.props.rgb.r,g:vt.g||qe.props.rgb.g,b:vt.b||qe.props.rgb.b,source:\"rgb\"},Sn):vt.a?(vt.a<0?vt.a=0:vt.a>1&&(vt.a=1),qe.props.onChange({h:qe.props.hsl.h,s:qe.props.hsl.s,l:qe.props.hsl.l,a:Math.round(vt.a*100)/100,source:\"rgb\"},Sn)):(vt.h||vt.s||vt.l)&&(typeof vt.s==\"string\"&&vt.s.includes(\"%\")&&(vt.s=vt.s.replace(\"%\",\"\")),typeof vt.l==\"string\"&&vt.l.includes(\"%\")&&(vt.l=vt.l.replace(\"%\",\"\")),vt.s==1?vt.s=.01:vt.l==1&&(vt.l=.01),qe.props.onChange({h:vt.h||qe.props.hsl.h,s:Number(Wf(vt.s)?qe.props.hsl.s:vt.s),l:Number(Wf(vt.l)?qe.props.hsl.l:vt.l),source:\"hsl\"},Sn))},qe.showHighlight=function(vt){vt.currentTarget.style.background=\"#eee\"},qe.hideHighlight=function(vt){vt.currentTarget.style.background=\"transparent\"},Ne.hsl.a!==1&&Ne.view===\"hex\"?qe.state={view:\"rgb\"}:qe.state={view:Ne.view},qe}return wf(Y,[{key:\"render\",value:function(){var qe=this,vt=(0,y.ZP)({default:{wrap:{paddingTop:\"16px\",display:\"flex\"},fields:{flex:\"1\",display:\"flex\",marginLeft:\"-6px\"},field:{paddingLeft:\"6px\",width:\"100%\"},alpha:{paddingLeft:\"6px\",width:\"100%\"},toggle:{width:\"32px\",textAlign:\"right\",position:\"relative\"},icon:{marginRight:\"-4px\",marginTop:\"12px\",cursor:\"pointer\",position:\"relative\"},iconHighlight:{position:\"absolute\",width:\"24px\",height:\"28px\",background:\"#eee\",borderRadius:\"4px\",top:\"10px\",left:\"12px\",display:\"none\"},input:{fontSize:\"11px\",color:\"#333\",width:\"100%\",borderRadius:\"2px\",border:\"none\",boxShadow:\"inset 0 0 0 1px #dadada\",height:\"21px\",textAlign:\"center\"},label:{textTransform:\"uppercase\",fontSize:\"11px\",lineHeight:\"11px\",color:\"#969696\",textAlign:\"center\",display:\"block\",marginTop:\"12px\"},svg:{fill:\"#333\",width:\"24px\",height:\"24px\",border:\"1px transparent solid\",borderRadius:\"5px\"}},disableAlpha:{alpha:{display:\"none\"}}},this.props,this.state),Sn=void 0;return this.state.view===\"hex\"?Sn=r.createElement(\"div\",{style:vt.fields,className:\"flexbox-fix\"},r.createElement(\"div\",{style:vt.field},r.createElement(Le,{style:{input:vt.input,label:vt.label},label:\"hex\",value:this.props.hex,onChange:this.handleChange}))):this.state.view===\"rgb\"?Sn=r.createElement(\"div\",{style:vt.fields,className:\"flexbox-fix\"},r.createElement(\"div\",{style:vt.field},r.createElement(Le,{style:{input:vt.input,label:vt.label},label:\"r\",value:this.props.rgb.r,onChange:this.handleChange})),r.createElement(\"div\",{style:vt.field},r.createElement(Le,{style:{input:vt.input,label:vt.label},label:\"g\",value:this.props.rgb.g,onChange:this.handleChange})),r.createElement(\"div\",{style:vt.field},r.createElement(Le,{style:{input:vt.input,label:vt.label},label:\"b\",value:this.props.rgb.b,onChange:this.handleChange})),r.createElement(\"div\",{style:vt.alpha},r.createElement(Le,{style:{input:vt.input,label:vt.label},label:\"a\",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):this.state.view===\"hsl\"&&(Sn=r.createElement(\"div\",{style:vt.fields,className:\"flexbox-fix\"},r.createElement(\"div\",{style:vt.field},r.createElement(Le,{style:{input:vt.input,label:vt.label},label:\"h\",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),r.createElement(\"div\",{style:vt.field},r.createElement(Le,{style:{input:vt.input,label:vt.label},label:\"s\",value:Math.round(this.props.hsl.s*100)+\"%\",onChange:this.handleChange})),r.createElement(\"div\",{style:vt.field},r.createElement(Le,{style:{input:vt.input,label:vt.label},label:\"l\",value:Math.round(this.props.hsl.l*100)+\"%\",onChange:this.handleChange})),r.createElement(\"div\",{style:vt.alpha},r.createElement(Le,{style:{input:vt.input,label:vt.label},label:\"a\",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),r.createElement(\"div\",{style:vt.wrap,className:\"flexbox-fix\"},Sn,r.createElement(\"div\",{style:vt.toggle},r.createElement(\"div\",{style:vt.icon,onClick:this.toggleViews,ref:function(Or){return qe.icon=Or}},r.createElement(xf.Z,{style:vt.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:\"getDerivedStateFromProps\",value:function(qe,vt){return qe.hsl.a!==1&&vt.view===\"hex\"?{view:\"rgb\"}:null}}]),Y}(r.Component);Md.defaultProps={view:\"hex\"};var Vd=Md,Zd=function(){var Y=(0,y.ZP)({default:{picker:{width:\"12px\",height:\"12px\",borderRadius:\"6px\",transform:\"translate(-6px, -1px)\",backgroundColor:\"rgb(248, 248, 248)\",boxShadow:\"0 1px 4px 0 rgba(0, 0, 0, 0.37)\"}}});return r.createElement(\"div\",{style:Y.picker})},Bd=Zd,Xd=function(){var Y=(0,y.ZP)({default:{picker:{width:\"12px\",height:\"12px\",borderRadius:\"6px\",boxShadow:\"inset 0 0 0 1px #fff\",transform:\"translate(-6px, -6px)\"}}});return r.createElement(\"div\",{style:Y.picker})},Yd=Xd,Ad=function(Y){var Ne=Y.width,qe=Y.onChange,vt=Y.disableAlpha,Sn=Y.rgb,or=Y.hsl,Or=Y.hsv,Hr=Y.hex,ro=Y.renderers,zo=Y.styles,oi=zo===void 0?{}:zo,bi=Y.className,ji=bi===void 0?\"\":bi,ma=Y.defaultView,Ea=(0,y.ZP)(Be({default:{picker:{width:Ne,background:\"#fff\",borderRadius:\"2px\",boxShadow:\"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)\",boxSizing:\"initial\",fontFamily:\"Menlo\"},saturation:{width:\"100%\",paddingBottom:\"55%\",position:\"relative\",borderRadius:\"2px 2px 0 0\",overflow:\"hidden\"},Saturation:{radius:\"2px 2px 0 0\"},body:{padding:\"16px 16px 12px\"},controls:{display:\"flex\"},color:{width:\"32px\"},swatch:{marginTop:\"6px\",width:\"16px\",height:\"16px\",borderRadius:\"8px\",position:\"relative\",overflow:\"hidden\"},active:{absolute:\"0px 0px 0px 0px\",borderRadius:\"8px\",boxShadow:\"inset 0 0 0 1px rgba(0,0,0,.1)\",background:\"rgba(\"+Sn.r+\", \"+Sn.g+\", \"+Sn.b+\", \"+Sn.a+\")\",zIndex:\"2\"},toggles:{flex:\"1\"},hue:{height:\"10px\",position:\"relative\",marginBottom:\"8px\"},Hue:{radius:\"2px\"},alpha:{height:\"10px\",position:\"relative\"},Alpha:{radius:\"2px\"}},disableAlpha:{color:{width:\"22px\"},alpha:{display:\"none\"},hue:{marginBottom:\"0px\"},swatch:{width:\"10px\",height:\"10px\",marginTop:\"0px\"}}},oi),{disableAlpha:vt});return r.createElement(\"div\",{style:Ea.picker,className:\"chrome-picker \"+ji},r.createElement(\"div\",{style:Ea.saturation},r.createElement(xu,{style:Ea.Saturation,hsl:or,hsv:Or,pointer:Yd,onChange:qe})),r.createElement(\"div\",{style:Ea.body},r.createElement(\"div\",{style:Ea.controls,className:\"flexbox-fix\"},r.createElement(\"div\",{style:Ea.color},r.createElement(\"div\",{style:Ea.swatch},r.createElement(\"div\",{style:Ea.active}),r.createElement(u,{renderers:ro}))),r.createElement(\"div\",{style:Ea.toggles},r.createElement(\"div\",{style:Ea.hue},r.createElement(he,{style:Ea.Hue,hsl:or,pointer:Bd,onChange:qe})),r.createElement(\"div\",{style:Ea.alpha},r.createElement(x,{style:Ea.Alpha,rgb:Sn,hsl:or,pointer:Bd,renderers:ro,onChange:qe})))),r.createElement(Vd,{rgb:Sn,hsl:or,hex:Hr,view:ma,onChange:qe,disableAlpha:vt})))};Ad.propTypes={width:ae().oneOfType([ae().string,ae().number]),disableAlpha:ae().bool,styles:ae().object,defaultView:ae().oneOf([\"hex\",\"rgb\",\"hsl\"])},Ad.defaultProps={width:225,disableAlpha:!1,styles:{}};var Th=Ws(Ad),Kd=function(Y){var Ne=Y.color,qe=Y.onClick,vt=qe===void 0?function(){}:qe,Sn=Y.onSwatchHover,or=Y.active,Or=(0,y.ZP)({default:{color:{background:Ne,width:\"15px\",height:\"15px\",float:\"left\",marginRight:\"5px\",marginBottom:\"5px\",position:\"relative\",cursor:\"pointer\"},dot:{absolute:\"5px 5px 5px 5px\",background:ua(Ne),borderRadius:\"50%\",opacity:\"0\"}},active:{dot:{opacity:\"1\"}},\"color-#FFFFFF\":{color:{boxShadow:\"inset 0 0 0 1px #ddd\"},dot:{background:\"#000\"}},transparent:{dot:{background:\"#000\"}}},{active:or,\"color-#FFFFFF\":Ne===\"#FFFFFF\",transparent:Ne===\"transparent\"});return r.createElement(wc,{style:Or.color,color:Ne,onClick:vt,onHover:Sn,focusStyle:{boxShadow:\"0 0 4px \"+Ne}},r.createElement(\"div\",{style:Or.dot}))},qd=Kd,Qd=function(Y){var Ne=Y.hex,qe=Y.rgb,vt=Y.onChange,Sn=(0,y.ZP)({default:{fields:{display:\"flex\",paddingBottom:\"6px\",paddingRight:\"5px\",position:\"relative\"},active:{position:\"absolute\",top:\"6px\",left:\"5px\",height:\"9px\",width:\"9px\",background:Ne},HEXwrap:{flex:\"6\",position:\"relative\"},HEXinput:{width:\"80%\",padding:\"0px\",paddingLeft:\"20%\",border:\"none\",outline:\"none\",background:\"none\",fontSize:\"12px\",color:\"#333\",height:\"16px\"},HEXlabel:{display:\"none\"},RGBwrap:{flex:\"3\",position:\"relative\"},RGBinput:{width:\"70%\",padding:\"0px\",paddingLeft:\"30%\",border:\"none\",outline:\"none\",background:\"none\",fontSize:\"12px\",color:\"#333\",height:\"16px\"},RGBlabel:{position:\"absolute\",top:\"3px\",left:\"0px\",lineHeight:\"16px\",textTransform:\"uppercase\",fontSize:\"12px\",color:\"#999\"}}}),or=function(Hr,ro){Hr.r||Hr.g||Hr.b?vt({r:Hr.r||qe.r,g:Hr.g||qe.g,b:Hr.b||qe.b,source:\"rgb\"},ro):vt({hex:Hr.hex,source:\"hex\"},ro)};return r.createElement(\"div\",{style:Sn.fields,className:\"flexbox-fix\"},r.createElement(\"div\",{style:Sn.active}),r.createElement(Le,{style:{wrap:Sn.HEXwrap,input:Sn.HEXinput,label:Sn.HEXlabel},label:\"hex\",value:Ne,onChange:or}),r.createElement(Le,{style:{wrap:Sn.RGBwrap,input:Sn.RGBinput,label:Sn.RGBlabel},label:\"r\",value:qe.r,onChange:or}),r.createElement(Le,{style:{wrap:Sn.RGBwrap,input:Sn.RGBinput,label:Sn.RGBlabel},label:\"g\",value:qe.g,onChange:or}),r.createElement(Le,{style:{wrap:Sn.RGBwrap,input:Sn.RGBinput,label:Sn.RGBlabel},label:\"b\",value:qe.b,onChange:or}))},Jd=Qd,Td=function(Y){var Ne=Y.onChange,qe=Y.onSwatchHover,vt=Y.colors,Sn=Y.hex,or=Y.rgb,Or=Y.styles,Hr=Or===void 0?{}:Or,ro=Y.className,zo=ro===void 0?\"\":ro,oi=(0,y.ZP)(Be({default:{Compact:{background:\"#f6f6f6\",radius:\"4px\"},compact:{paddingTop:\"5px\",paddingLeft:\"5px\",boxSizing:\"initial\",width:\"240px\"},clear:{clear:\"both\"}}},Hr)),bi=function(ma,Ea){ma.hex?Ci(ma.hex)&&Ne({hex:ma.hex,source:\"hex\"},Ea):Ne(ma,Ea)};return r.createElement(it,{style:oi.Compact,styles:Hr},r.createElement(\"div\",{style:oi.compact,className:\"compact-picker \"+zo},r.createElement(\"div\",null,Lr(vt,function(ji){return r.createElement(qd,{key:ji,color:ji,active:ji.toLowerCase()===Sn,onClick:bi,onSwatchHover:qe})}),r.createElement(\"div\",{style:oi.clear})),r.createElement(Jd,{hex:Sn,rgb:or,onChange:bi})))};Td.propTypes={colors:ae().arrayOf(ae().string),styles:ae().object},Td.defaultProps={colors:[\"#4D4D4D\",\"#999999\",\"#FFFFFF\",\"#F44E3B\",\"#FE9200\",\"#FCDC00\",\"#DBDF00\",\"#A4DD00\",\"#68CCCA\",\"#73D8FF\",\"#AEA1FF\",\"#FDA1FF\",\"#333333\",\"#808080\",\"#cccccc\",\"#D33115\",\"#E27300\",\"#FCC400\",\"#B0BC00\",\"#68BC00\",\"#16A5A5\",\"#009CE0\",\"#7B64FF\",\"#FA28FF\",\"#000000\",\"#666666\",\"#B3B3B3\",\"#9F0500\",\"#C45100\",\"#FB9E00\",\"#808900\",\"#194D33\",\"#0C797D\",\"#0062B1\",\"#653294\",\"#AB149E\"],styles:{}};var fl=Ws(Td),eh=function(Y){var Ne=Y.hover,qe=Y.color,vt=Y.onClick,Sn=Y.onSwatchHover,or={position:\"relative\",zIndex:\"2\",outline:\"2px solid #fff\",boxShadow:\"0 0 5px 2px rgba(0,0,0,0.25)\"},Or=(0,y.ZP)({default:{swatch:{width:\"25px\",height:\"25px\",fontSize:\"0\"}},hover:{swatch:or}},{hover:Ne});return r.createElement(\"div\",{style:Or.swatch},r.createElement(wc,{color:qe,onClick:vt,onHover:Sn,focusStyle:or}))},th=(0,y.tz)(eh),El=function(Y){var Ne=Y.width,qe=Y.colors,vt=Y.onChange,Sn=Y.onSwatchHover,or=Y.triangle,Or=Y.styles,Hr=Or===void 0?{}:Or,ro=Y.className,zo=ro===void 0?\"\":ro,oi=(0,y.ZP)(Be({default:{card:{width:Ne,background:\"#fff\",border:\"1px solid rgba(0,0,0,0.2)\",boxShadow:\"0 3px 12px rgba(0,0,0,0.15)\",borderRadius:\"4px\",position:\"relative\",padding:\"5px\",display:\"flex\",flexWrap:\"wrap\"},triangle:{position:\"absolute\",border:\"7px solid transparent\",borderBottomColor:\"#fff\"},triangleShadow:{position:\"absolute\",border:\"8px solid transparent\",borderBottomColor:\"rgba(0,0,0,0.15)\"}},\"hide-triangle\":{triangle:{display:\"none\"},triangleShadow:{display:\"none\"}},\"top-left-triangle\":{triangle:{top:\"-14px\",left:\"10px\"},triangleShadow:{top:\"-16px\",left:\"9px\"}},\"top-right-triangle\":{triangle:{top:\"-14px\",right:\"10px\"},triangleShadow:{top:\"-16px\",right:\"9px\"}},\"bottom-left-triangle\":{triangle:{top:\"35px\",left:\"10px\",transform:\"rotate(180deg)\"},triangleShadow:{top:\"37px\",left:\"9px\",transform:\"rotate(180deg)\"}},\"bottom-right-triangle\":{triangle:{top:\"35px\",right:\"10px\",transform:\"rotate(180deg)\"},triangleShadow:{top:\"37px\",right:\"9px\",transform:\"rotate(180deg)\"}}},Hr),{\"hide-triangle\":or===\"hide\",\"top-left-triangle\":or===\"top-left\",\"top-right-triangle\":or===\"top-right\",\"bottom-left-triangle\":or===\"bottom-left\",\"bottom-right-triangle\":or===\"bottom-right\"}),bi=function(ma,Ea){return vt({hex:ma,source:\"hex\"},Ea)};return r.createElement(\"div\",{style:oi.card,className:\"github-picker \"+zo},r.createElement(\"div\",{style:oi.triangleShadow}),r.createElement(\"div\",{style:oi.triangle}),Lr(qe,function(ji){return r.createElement(th,{color:ji,key:ji,onClick:bi,onSwatchHover:Sn})}))};El.propTypes={width:ae().oneOfType([ae().string,ae().number]),colors:ae().arrayOf(ae().string),triangle:ae().oneOf([\"hide\",\"top-left\",\"top-right\",\"bottom-left\",\"bottom-right\"]),styles:ae().object},El.defaultProps={width:200,colors:[\"#B80000\",\"#DB3E00\",\"#FCCB00\",\"#008B02\",\"#006B76\",\"#1273DE\",\"#004DCF\",\"#5300EB\",\"#EB9694\",\"#FAD0C3\",\"#FEF3BD\",\"#C1E1C5\",\"#BEDADC\",\"#C4DEF6\",\"#BED3F3\",\"#D4C4FB\"],triangle:\"top-left\",styles:{}};var es=Ws(El),nh=function(Y){var Ne=Y.direction,qe=(0,y.ZP)({default:{picker:{width:\"18px\",height:\"18px\",borderRadius:\"50%\",transform:\"translate(-9px, -1px)\",backgroundColor:\"rgb(248, 248, 248)\",boxShadow:\"0 1px 4px 0 rgba(0, 0, 0, 0.37)\"}},vertical:{picker:{transform:\"translate(-3px, -9px)\"}}},{vertical:Ne===\"vertical\"});return r.createElement(\"div\",{style:qe.picker})},tc=nh,lu=Object.assign||function(ue){for(var Y=1;Y<arguments.length;Y++){var Ne=arguments[Y];for(var qe in Ne)Object.prototype.hasOwnProperty.call(Ne,qe)&&(ue[qe]=Ne[qe])}return ue},Pd=function(Y){var Ne=Y.width,qe=Y.height,vt=Y.onChange,Sn=Y.hsl,or=Y.direction,Or=Y.pointer,Hr=Y.styles,ro=Hr===void 0?{}:Hr,zo=Y.className,oi=zo===void 0?\"\":zo,bi=(0,y.ZP)(Be({default:{picker:{position:\"relative\",width:Ne,height:qe},hue:{radius:\"2px\"}}},ro)),ji=function(Ea){return vt({a:1,h:Ea.h,l:.5,s:1})};return r.createElement(\"div\",{style:bi.picker,className:\"hue-picker \"+oi},r.createElement(he,lu({},bi.hue,{hsl:Sn,pointer:Or,onChange:ji,direction:or})))};Pd.propTypes={styles:ae().object},Pd.defaultProps={width:\"316px\",height:\"16px\",direction:\"horizontal\",pointer:tc,styles:{}};var Sf=Ws(Pd),rh=function(Y){var Ne=Y.onChange,qe=Y.hex,vt=Y.rgb,Sn=Y.styles,or=Sn===void 0?{}:Sn,Or=Y.className,Hr=Or===void 0?\"\":Or,ro=(0,y.ZP)(Be({default:{material:{width:\"98px\",height:\"98px\",padding:\"16px\",fontFamily:\"Roboto\"},HEXwrap:{position:\"relative\"},HEXinput:{width:\"100%\",marginTop:\"12px\",fontSize:\"15px\",color:\"#333\",padding:\"0px\",border:\"0px\",borderBottom:\"2px solid \"+qe,outline:\"none\",height:\"30px\"},HEXlabel:{position:\"absolute\",top:\"0px\",left:\"0px\",fontSize:\"11px\",color:\"#999999\",textTransform:\"capitalize\"},Hex:{style:{}},RGBwrap:{position:\"relative\"},RGBinput:{width:\"100%\",marginTop:\"12px\",fontSize:\"15px\",color:\"#333\",padding:\"0px\",border:\"0px\",borderBottom:\"1px solid #eee\",outline:\"none\",height:\"30px\"},RGBlabel:{position:\"absolute\",top:\"0px\",left:\"0px\",fontSize:\"11px\",color:\"#999999\",textTransform:\"capitalize\"},split:{display:\"flex\",marginRight:\"-10px\",paddingTop:\"11px\"},third:{flex:\"1\",paddingRight:\"10px\"}}},or)),zo=function(bi,ji){bi.hex?Ci(bi.hex)&&Ne({hex:bi.hex,source:\"hex\"},ji):(bi.r||bi.g||bi.b)&&Ne({r:bi.r||vt.r,g:bi.g||vt.g,b:bi.b||vt.b,source:\"rgb\"},ji)};return r.createElement(it,{styles:or},r.createElement(\"div\",{style:ro.material,className:\"material-picker \"+Hr},r.createElement(Le,{style:{wrap:ro.HEXwrap,input:ro.HEXinput,label:ro.HEXlabel},label:\"hex\",value:qe,onChange:zo}),r.createElement(\"div\",{style:ro.split,className:\"flexbox-fix\"},r.createElement(\"div\",{style:ro.third},r.createElement(Le,{style:{wrap:ro.RGBwrap,input:ro.RGBinput,label:ro.RGBlabel},label:\"r\",value:vt.r,onChange:zo})),r.createElement(\"div\",{style:ro.third},r.createElement(Le,{style:{wrap:ro.RGBwrap,input:ro.RGBinput,label:ro.RGBlabel},label:\"g\",value:vt.g,onChange:zo})),r.createElement(\"div\",{style:ro.third},r.createElement(Le,{style:{wrap:ro.RGBwrap,input:ro.RGBinput,label:ro.RGBlabel},label:\"b\",value:vt.b,onChange:zo})))))},Ph=Ws(rh),oh=function(Y){var Ne=Y.onChange,qe=Y.rgb,vt=Y.hsv,Sn=Y.hex,or=(0,y.ZP)({default:{fields:{paddingTop:\"5px\",paddingBottom:\"9px\",width:\"80px\",position:\"relative\"},divider:{height:\"5px\"},RGBwrap:{position:\"relative\"},RGBinput:{marginLeft:\"40%\",width:\"40%\",height:\"18px\",border:\"1px solid #888888\",boxShadow:\"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC\",marginBottom:\"5px\",fontSize:\"13px\",paddingLeft:\"3px\",marginRight:\"10px\"},RGBlabel:{left:\"0px\",top:\"0px\",width:\"34px\",textTransform:\"uppercase\",fontSize:\"13px\",height:\"18px\",lineHeight:\"22px\",position:\"absolute\"},HEXwrap:{position:\"relative\"},HEXinput:{marginLeft:\"20%\",width:\"80%\",height:\"18px\",border:\"1px solid #888888\",boxShadow:\"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC\",marginBottom:\"6px\",fontSize:\"13px\",paddingLeft:\"3px\"},HEXlabel:{position:\"absolute\",top:\"0px\",left:\"0px\",width:\"14px\",textTransform:\"uppercase\",fontSize:\"13px\",height:\"18px\",lineHeight:\"22px\"},fieldSymbols:{position:\"absolute\",top:\"5px\",right:\"-7px\",fontSize:\"13px\"},symbol:{height:\"20px\",lineHeight:\"22px\",paddingBottom:\"7px\"}}}),Or=function(ro,zo){ro[\"#\"]?Ci(ro[\"#\"])&&Ne({hex:ro[\"#\"],source:\"hex\"},zo):ro.r||ro.g||ro.b?Ne({r:ro.r||qe.r,g:ro.g||qe.g,b:ro.b||qe.b,source:\"rgb\"},zo):(ro.h||ro.s||ro.v)&&Ne({h:ro.h||vt.h,s:ro.s||vt.s,v:ro.v||vt.v,source:\"hsv\"},zo)};return r.createElement(\"div\",{style:or.fields},r.createElement(Le,{style:{wrap:or.RGBwrap,input:or.RGBinput,label:or.RGBlabel},label:\"h\",value:Math.round(vt.h),onChange:Or}),r.createElement(Le,{style:{wrap:or.RGBwrap,input:or.RGBinput,label:or.RGBlabel},label:\"s\",value:Math.round(vt.s*100),onChange:Or}),r.createElement(Le,{style:{wrap:or.RGBwrap,input:or.RGBinput,label:or.RGBlabel},label:\"v\",value:Math.round(vt.v*100),onChange:Or}),r.createElement(\"div\",{style:or.divider}),r.createElement(Le,{style:{wrap:or.RGBwrap,input:or.RGBinput,label:or.RGBlabel},label:\"r\",value:qe.r,onChange:Or}),r.createElement(Le,{style:{wrap:or.RGBwrap,input:or.RGBinput,label:or.RGBlabel},label:\"g\",value:qe.g,onChange:Or}),r.createElement(Le,{style:{wrap:or.RGBwrap,input:or.RGBinput,label:or.RGBlabel},label:\"b\",value:qe.b,onChange:Or}),r.createElement(\"div\",{style:or.divider}),r.createElement(Le,{style:{wrap:or.HEXwrap,input:or.HEXinput,label:or.HEXlabel},label:\"#\",value:Sn.replace(\"#\",\"\"),onChange:Or}),r.createElement(\"div\",{style:or.fieldSymbols},r.createElement(\"div\",{style:or.symbol},\"\\xB0\"),r.createElement(\"div\",{style:or.symbol},\"%\"),r.createElement(\"div\",{style:or.symbol},\"%\")))},ih=oh,ah=function(Y){var Ne=Y.hsl,qe=(0,y.ZP)({default:{picker:{width:\"12px\",height:\"12px\",borderRadius:\"6px\",boxShadow:\"inset 0 0 0 1px #fff\",transform:\"translate(-6px, -6px)\"}},\"black-outline\":{picker:{boxShadow:\"inset 0 0 0 1px #000\"}}},{\"black-outline\":Ne.l>.5});return r.createElement(\"div\",{style:qe.picker})},Id=ah,sh=function(){var Y=(0,y.ZP)({default:{triangle:{width:0,height:0,borderStyle:\"solid\",borderWidth:\"4px 0 4px 6px\",borderColor:\"transparent transparent transparent #fff\",position:\"absolute\",top:\"1px\",left:\"1px\"},triangleBorder:{width:0,height:0,borderStyle:\"solid\",borderWidth:\"5px 0 5px 8px\",borderColor:\"transparent transparent transparent #555\"},left:{Extend:\"triangleBorder\",transform:\"translate(-13px, -4px)\"},leftInside:{Extend:\"triangle\",transform:\"translate(-8px, -5px)\"},right:{Extend:\"triangleBorder\",transform:\"translate(20px, -14px) rotate(180deg)\"},rightInside:{Extend:\"triangle\",transform:\"translate(-8px, -5px)\"}}});return r.createElement(\"div\",{style:Y.pointer},r.createElement(\"div\",{style:Y.left},r.createElement(\"div\",{style:Y.leftInside})),r.createElement(\"div\",{style:Y.right},r.createElement(\"div\",{style:Y.rightInside})))},Ol=sh,Fd=function(Y){var Ne=Y.onClick,qe=Y.label,vt=Y.children,Sn=Y.active,or=(0,y.ZP)({default:{button:{backgroundImage:\"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)\",border:\"1px solid #878787\",borderRadius:\"2px\",height:\"20px\",boxShadow:\"0 1px 0 0 #EAEAEA\",fontSize:\"14px\",color:\"#000\",lineHeight:\"20px\",textAlign:\"center\",marginBottom:\"10px\",cursor:\"pointer\"}},active:{button:{boxShadow:\"0 0 0 1px #878787\"}}},{active:Sn});return r.createElement(\"div\",{style:or.button,onClick:Ne},qe||vt)},ud=Fd,nu=function(Y){var Ne=Y.rgb,qe=Y.currentColor,vt=(0,y.ZP)({default:{swatches:{border:\"1px solid #B3B3B3\",borderBottom:\"1px solid #F0F0F0\",marginBottom:\"2px\",marginTop:\"1px\"},new:{height:\"34px\",background:\"rgb(\"+Ne.r+\",\"+Ne.g+\", \"+Ne.b+\")\",boxShadow:\"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000\"},current:{height:\"34px\",background:qe,boxShadow:\"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000\"},label:{fontSize:\"14px\",color:\"#000\",textAlign:\"center\"}}});return r.createElement(\"div\",null,r.createElement(\"div\",{style:vt.label},\"new\"),r.createElement(\"div\",{style:vt.swatches},r.createElement(\"div\",{style:vt.new}),r.createElement(\"div\",{style:vt.current})),r.createElement(\"div\",{style:vt.label},\"current\"))},au=nu,zd=function(){function ue(Y,Ne){for(var qe=0;qe<Ne.length;qe++){var vt=Ne[qe];vt.enumerable=vt.enumerable||!1,vt.configurable=!0,\"value\"in vt&&(vt.writable=!0),Object.defineProperty(Y,vt.key,vt)}}return function(Y,Ne,qe){return Ne&&ue(Y.prototype,Ne),qe&&ue(Y,qe),Y}}();function uh(ue,Y){if(!(ue instanceof Y))throw new TypeError(\"Cannot call a class as a function\")}function ch(ue,Y){if(!ue)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return Y&&(typeof Y==\"object\"||typeof Y==\"function\")?Y:ue}function lh(ue,Y){if(typeof Y!=\"function\"&&Y!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof Y);ue.prototype=Object.create(Y&&Y.prototype,{constructor:{value:ue,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(ue,Y):ue.__proto__=Y)}var kd=function(ue){lh(Y,ue);function Y(Ne){uh(this,Y);var qe=ch(this,(Y.__proto__||Object.getPrototypeOf(Y)).call(this));return qe.state={currentColor:Ne.hex},qe}return zd(Y,[{key:\"render\",value:function(){var qe=this.props,vt=qe.styles,Sn=vt===void 0?{}:vt,or=qe.className,Or=or===void 0?\"\":or,Hr=(0,y.ZP)(Be({default:{picker:{background:\"#DCDCDC\",borderRadius:\"4px\",boxShadow:\"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)\",boxSizing:\"initial\",width:\"513px\"},head:{backgroundImage:\"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)\",borderBottom:\"1px solid #B1B1B1\",boxShadow:\"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)\",height:\"23px\",lineHeight:\"24px\",borderRadius:\"4px 4px 0 0\",fontSize:\"13px\",color:\"#4D4D4D\",textAlign:\"center\"},body:{padding:\"15px 15px 0\",display:\"flex\"},saturation:{width:\"256px\",height:\"256px\",position:\"relative\",border:\"2px solid #B3B3B3\",borderBottom:\"2px solid #F0F0F0\",overflow:\"hidden\"},hue:{position:\"relative\",height:\"256px\",width:\"19px\",marginLeft:\"10px\",border:\"2px solid #B3B3B3\",borderBottom:\"2px solid #F0F0F0\"},controls:{width:\"180px\",marginLeft:\"10px\"},top:{display:\"flex\"},previews:{width:\"60px\"},actions:{flex:\"1\",marginLeft:\"20px\"}}},Sn));return r.createElement(\"div\",{style:Hr.picker,className:\"photoshop-picker \"+Or},r.createElement(\"div\",{style:Hr.head},this.props.header),r.createElement(\"div\",{style:Hr.body,className:\"flexbox-fix\"},r.createElement(\"div\",{style:Hr.saturation},r.createElement(xu,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:Id,onChange:this.props.onChange})),r.createElement(\"div\",{style:Hr.hue},r.createElement(he,{direction:\"vertical\",hsl:this.props.hsl,pointer:Ol,onChange:this.props.onChange})),r.createElement(\"div\",{style:Hr.controls},r.createElement(\"div\",{style:Hr.top,className:\"flexbox-fix\"},r.createElement(\"div\",{style:Hr.previews},r.createElement(au,{rgb:this.props.rgb,currentColor:this.state.currentColor})),r.createElement(\"div\",{style:Hr.actions},r.createElement(ud,{label:\"OK\",onClick:this.props.onAccept,active:!0}),r.createElement(ud,{label:\"Cancel\",onClick:this.props.onCancel}),r.createElement(ih,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),Y}(r.Component);kd.propTypes={header:ae().string,styles:ae().object},kd.defaultProps={header:\"Color Picker\",styles:{}};var Ih=Ws(kd),fh=function(Y){var Ne=Y.onChange,qe=Y.rgb,vt=Y.hsl,Sn=Y.hex,or=Y.disableAlpha,Or=(0,y.ZP)({default:{fields:{display:\"flex\",paddingTop:\"4px\"},single:{flex:\"1\",paddingLeft:\"6px\"},alpha:{flex:\"1\",paddingLeft:\"6px\"},double:{flex:\"2\"},input:{width:\"80%\",padding:\"4px 10% 3px\",border:\"none\",boxShadow:\"inset 0 0 0 1px #ccc\",fontSize:\"11px\"},label:{display:\"block\",textAlign:\"center\",fontSize:\"11px\",color:\"#222\",paddingTop:\"3px\",paddingBottom:\"4px\",textTransform:\"capitalize\"}},disableAlpha:{alpha:{display:\"none\"}}},{disableAlpha:or}),Hr=function(zo,oi){zo.hex?Ci(zo.hex)&&Ne({hex:zo.hex,source:\"hex\"},oi):zo.r||zo.g||zo.b?Ne({r:zo.r||qe.r,g:zo.g||qe.g,b:zo.b||qe.b,a:qe.a,source:\"rgb\"},oi):zo.a&&(zo.a<0?zo.a=0:zo.a>100&&(zo.a=100),zo.a/=100,Ne({h:vt.h,s:vt.s,l:vt.l,a:zo.a,source:\"rgb\"},oi))};return r.createElement(\"div\",{style:Or.fields,className:\"flexbox-fix\"},r.createElement(\"div\",{style:Or.double},r.createElement(Le,{style:{input:Or.input,label:Or.label},label:\"hex\",value:Sn.replace(\"#\",\"\"),onChange:Hr})),r.createElement(\"div\",{style:Or.single},r.createElement(Le,{style:{input:Or.input,label:Or.label},label:\"r\",value:qe.r,onChange:Hr,dragLabel:\"true\",dragMax:\"255\"})),r.createElement(\"div\",{style:Or.single},r.createElement(Le,{style:{input:Or.input,label:Or.label},label:\"g\",value:qe.g,onChange:Hr,dragLabel:\"true\",dragMax:\"255\"})),r.createElement(\"div\",{style:Or.single},r.createElement(Le,{style:{input:Or.input,label:Or.label},label:\"b\",value:qe.b,onChange:Hr,dragLabel:\"true\",dragMax:\"255\"})),r.createElement(\"div\",{style:Or.alpha},r.createElement(Le,{style:{input:Or.input,label:Or.label},label:\"a\",value:Math.round(qe.a*100),onChange:Hr,dragLabel:\"true\",dragMax:\"100\"})))},$d=fh,cd=Object.assign||function(ue){for(var Y=1;Y<arguments.length;Y++){var Ne=arguments[Y];for(var qe in Ne)Object.prototype.hasOwnProperty.call(Ne,qe)&&(ue[qe]=Ne[qe])}return ue},xd=function(Y){var Ne=Y.colors,qe=Y.onClick,vt=qe===void 0?function(){}:qe,Sn=Y.onSwatchHover,or=(0,y.ZP)({default:{colors:{margin:\"0 -10px\",padding:\"10px 0 0 10px\",borderTop:\"1px solid #eee\",display:\"flex\",flexWrap:\"wrap\",position:\"relative\"},swatchWrap:{width:\"16px\",height:\"16px\",margin:\"0 10px 10px 0\"},swatch:{borderRadius:\"3px\",boxShadow:\"inset 0 0 0 1px rgba(0,0,0,.15)\"}},\"no-presets\":{colors:{display:\"none\"}}},{\"no-presets\":!Ne||!Ne.length}),Or=function(ro,zo){vt({hex:ro,source:\"hex\"},zo)};return r.createElement(\"div\",{style:or.colors,className:\"flexbox-fix\"},Ne.map(function(Hr){var ro=typeof Hr==\"string\"?{color:Hr}:Hr,zo=\"\"+ro.color+(ro.title||\"\");return r.createElement(\"div\",{key:zo,style:or.swatchWrap},r.createElement(wc,cd({},ro,{style:or.swatch,onClick:Or,onHover:Sn,focusStyle:{boxShadow:\"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px \"+ro.color}})))}))};xd.propTypes={colors:ae().arrayOf(ae().oneOfType([ae().string,ae().shape({color:ae().string,title:ae().string})])).isRequired};var dh=xd,Hd=Object.assign||function(ue){for(var Y=1;Y<arguments.length;Y++){var Ne=arguments[Y];for(var qe in Ne)Object.prototype.hasOwnProperty.call(Ne,qe)&&(ue[qe]=Ne[qe])}return ue},Uf=function(Y){var Ne=Y.width,qe=Y.rgb,vt=Y.hex,Sn=Y.hsv,or=Y.hsl,Or=Y.onChange,Hr=Y.onSwatchHover,ro=Y.disableAlpha,zo=Y.presetColors,oi=Y.renderers,bi=Y.styles,ji=bi===void 0?{}:bi,ma=Y.className,Ea=ma===void 0?\"\":ma,za=(0,y.ZP)(Be({default:Hd({picker:{width:Ne,padding:\"10px 10px 0\",boxSizing:\"initial\",background:\"#fff\",borderRadius:\"4px\",boxShadow:\"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)\"},saturation:{width:\"100%\",paddingBottom:\"75%\",position:\"relative\",overflow:\"hidden\"},Saturation:{radius:\"3px\",shadow:\"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)\"},controls:{display:\"flex\"},sliders:{padding:\"4px 0\",flex:\"1\"},color:{width:\"24px\",height:\"24px\",position:\"relative\",marginTop:\"4px\",marginLeft:\"4px\",borderRadius:\"3px\"},activeColor:{absolute:\"0px 0px 0px 0px\",borderRadius:\"2px\",background:\"rgba(\"+qe.r+\",\"+qe.g+\",\"+qe.b+\",\"+qe.a+\")\",boxShadow:\"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)\"},hue:{position:\"relative\",height:\"10px\",overflow:\"hidden\"},Hue:{radius:\"2px\",shadow:\"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)\"},alpha:{position:\"relative\",height:\"10px\",marginTop:\"4px\",overflow:\"hidden\"},Alpha:{radius:\"2px\",shadow:\"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)\"}},ji),disableAlpha:{color:{height:\"10px\"},hue:{height:\"10px\"},alpha:{display:\"none\"}}},ji),{disableAlpha:ro});return r.createElement(\"div\",{style:za.picker,className:\"sketch-picker \"+Ea},r.createElement(\"div\",{style:za.saturation},r.createElement(xu,{style:za.Saturation,hsl:or,hsv:Sn,onChange:Or})),r.createElement(\"div\",{style:za.controls,className:\"flexbox-fix\"},r.createElement(\"div\",{style:za.sliders},r.createElement(\"div\",{style:za.hue},r.createElement(he,{style:za.Hue,hsl:or,onChange:Or})),r.createElement(\"div\",{style:za.alpha},r.createElement(x,{style:za.Alpha,rgb:qe,hsl:or,renderers:oi,onChange:Or}))),r.createElement(\"div\",{style:za.color},r.createElement(u,null),r.createElement(\"div\",{style:za.activeColor}))),r.createElement($d,{rgb:qe,hsl:or,hex:vt,onChange:Or,disableAlpha:ro}),r.createElement(dh,{colors:zo,onClick:Or,onSwatchHover:Hr}))};Uf.propTypes={disableAlpha:ae().bool,width:ae().oneOfType([ae().string,ae().number]),styles:ae().object},Uf.defaultProps={disableAlpha:!1,width:200,styles:{},presetColors:[\"#D0021B\",\"#F5A623\",\"#F8E71C\",\"#8B572A\",\"#7ED321\",\"#417505\",\"#BD10E0\",\"#9013FE\",\"#4A90E2\",\"#50E3C2\",\"#B8E986\",\"#000000\",\"#4A4A4A\",\"#9B9B9B\",\"#FFFFFF\"]};var gc=Ws(Uf),Vf=function(Y){var Ne=Y.hsl,qe=Y.offset,vt=Y.onClick,Sn=vt===void 0?function(){}:vt,or=Y.active,Or=Y.first,Hr=Y.last,ro=(0,y.ZP)({default:{swatch:{height:\"12px\",background:\"hsl(\"+Ne.h+\", 50%, \"+qe*100+\"%)\",cursor:\"pointer\"}},first:{swatch:{borderRadius:\"2px 0 0 2px\"}},last:{swatch:{borderRadius:\"0 2px 2px 0\"}},active:{swatch:{transform:\"scaleY(1.8)\",borderRadius:\"3.6px/2px\"}}},{active:or,first:Or,last:Hr}),zo=function(bi){return Sn({h:Ne.h,s:.5,l:qe,source:\"hsl\"},bi)};return r.createElement(\"div\",{style:ro.swatch,onClick:zo})},ld=Vf,hh=function(Y){var Ne=Y.onClick,qe=Y.hsl,vt=(0,y.ZP)({default:{swatches:{marginTop:\"20px\"},swatch:{boxSizing:\"border-box\",width:\"20%\",paddingRight:\"1px\",float:\"left\"},clear:{clear:\"both\"}}}),Sn=.1;return r.createElement(\"div\",{style:vt.swatches},r.createElement(\"div\",{style:vt.swatch},r.createElement(ld,{hsl:qe,offset:\".80\",active:Math.abs(qe.l-.8)<Sn&&Math.abs(qe.s-.5)<Sn,onClick:Ne,first:!0})),r.createElement(\"div\",{style:vt.swatch},r.createElement(ld,{hsl:qe,offset:\".65\",active:Math.abs(qe.l-.65)<Sn&&Math.abs(qe.s-.5)<Sn,onClick:Ne})),r.createElement(\"div\",{style:vt.swatch},r.createElement(ld,{hsl:qe,offset:\".50\",active:Math.abs(qe.l-.5)<Sn&&Math.abs(qe.s-.5)<Sn,onClick:Ne})),r.createElement(\"div\",{style:vt.swatch},r.createElement(ld,{hsl:qe,offset:\".35\",active:Math.abs(qe.l-.35)<Sn&&Math.abs(qe.s-.5)<Sn,onClick:Ne})),r.createElement(\"div\",{style:vt.swatch},r.createElement(ld,{hsl:qe,offset:\".20\",active:Math.abs(qe.l-.2)<Sn&&Math.abs(qe.s-.5)<Sn,onClick:Ne,last:!0})),r.createElement(\"div\",{style:vt.clear}))},ph=hh,gh=function(){var Y=(0,y.ZP)({default:{picker:{width:\"14px\",height:\"14px\",borderRadius:\"6px\",transform:\"translate(-7px, -1px)\",backgroundColor:\"rgb(248, 248, 248)\",boxShadow:\"0 1px 4px 0 rgba(0, 0, 0, 0.37)\"}}});return r.createElement(\"div\",{style:Y.picker})},vh=gh,wd=function(Y){var Ne=Y.hsl,qe=Y.onChange,vt=Y.pointer,Sn=Y.styles,or=Sn===void 0?{}:Sn,Or=Y.className,Hr=Or===void 0?\"\":Or,ro=(0,y.ZP)(Be({default:{hue:{height:\"12px\",position:\"relative\"},Hue:{radius:\"2px\"}}},or));return r.createElement(\"div\",{style:ro.wrap||{},className:\"slider-picker \"+Hr},r.createElement(\"div\",{style:ro.hue},r.createElement(he,{style:ro.Hue,hsl:Ne,pointer:vt,onChange:qe})),r.createElement(\"div\",{style:ro.swatches},r.createElement(ph,{hsl:Ne,onClick:qe})))};wd.propTypes={styles:ae().object},wd.defaultProps={pointer:vh,styles:{}};var zl=Ws(wd),rs=c(72506),Gd=function(Y){var Ne=Y.color,qe=Y.onClick,vt=qe===void 0?function(){}:qe,Sn=Y.onSwatchHover,or=Y.first,Or=Y.last,Hr=Y.active,ro=(0,y.ZP)({default:{color:{width:\"40px\",height:\"24px\",cursor:\"pointer\",background:Ne,marginBottom:\"1px\"},check:{color:ua(Ne),marginLeft:\"8px\",display:\"none\"}},first:{color:{overflow:\"hidden\",borderRadius:\"2px 2px 0 0\"}},last:{color:{overflow:\"hidden\",borderRadius:\"0 0 2px 2px\"}},active:{check:{display:\"block\"}},\"color-#FFFFFF\":{color:{boxShadow:\"inset 0 0 0 1px #ddd\"},check:{color:\"#333\"}},transparent:{check:{color:\"#333\"}}},{first:or,last:Or,active:Hr,\"color-#FFFFFF\":Ne===\"#FFFFFF\",transparent:Ne===\"transparent\"});return r.createElement(wc,{color:Ne,style:ro.color,onClick:vt,onHover:Sn,focusStyle:{boxShadow:\"0 0 4px \"+Ne}},r.createElement(\"div\",{style:ro.check},r.createElement(rs.Z,null)))},_c=Gd,Wd=function(Y){var Ne=Y.onClick,qe=Y.onSwatchHover,vt=Y.group,Sn=Y.active,or=(0,y.ZP)({default:{group:{paddingBottom:\"10px\",width:\"40px\",float:\"left\",marginRight:\"10px\"}}});return r.createElement(\"div\",{style:or.group},Lr(vt,function(Or,Hr){return r.createElement(_c,{key:Or,color:Or,active:Or.toLowerCase()===Sn,first:Hr===0,last:Hr===vt.length-1,onClick:Ne,onSwatchHover:qe})}))},mh=Wd,_s=function(Y){var Ne=Y.width,qe=Y.height,vt=Y.onChange,Sn=Y.onSwatchHover,or=Y.colors,Or=Y.hex,Hr=Y.styles,ro=Hr===void 0?{}:Hr,zo=Y.className,oi=zo===void 0?\"\":zo,bi=(0,y.ZP)(Be({default:{picker:{width:Ne,height:qe},overflow:{height:qe,overflowY:\"scroll\"},body:{padding:\"16px 0 6px 16px\"},clear:{clear:\"both\"}}},ro)),ji=function(Ea,za){return vt({hex:Ea,source:\"hex\"},za)};return r.createElement(\"div\",{style:bi.picker,className:\"swatches-picker \"+oi},r.createElement(it,null,r.createElement(\"div\",{style:bi.overflow},r.createElement(\"div\",{style:bi.body},Lr(or,function(ma){return r.createElement(mh,{key:ma.toString(),group:ma,active:Or,onClick:ji,onSwatchHover:Sn})}),r.createElement(\"div\",{style:bi.clear})))))};_s.propTypes={width:ae().oneOfType([ae().string,ae().number]),height:ae().oneOfType([ae().string,ae().number]),colors:ae().arrayOf(ae().arrayOf(ae().string)),styles:ae().object},_s.defaultProps={width:320,height:240,colors:[[Bo[900],Bo[700],Bo[500],Bo[300],Bo[100]],[Uo[900],Uo[700],Uo[500],Uo[300],Uo[100]],[Gi[900],Gi[700],Gi[500],Gi[300],Gi[100]],[Ni[900],Ni[700],Ni[500],Ni[300],Ni[100]],[Wi[900],Wi[700],Wi[500],Wi[300],Wi[100]],[ba[900],ba[700],ba[500],ba[300],ba[100]],[Ss[900],Ss[700],Ss[500],Ss[300],Ss[100]],[Ra[900],Ra[700],Ra[500],Ra[300],Ra[100]],[fs[900],fs[700],fs[500],fs[300],fs[100]],[\"#194D33\",ns[700],ns[500],ns[300],ns[100]],[hs[900],hs[700],hs[500],hs[300],hs[100]],[Is[900],Is[700],Is[500],Is[300],Is[100]],[hu[900],hu[700],hu[500],hu[300],hu[100]],[Es[900],Es[700],Es[500],Es[300],Es[100]],[ku[900],ku[700],ku[500],ku[300],ku[100]],[Uc[900],Uc[700],Uc[500],Uc[300],Uc[100]],[Vc[900],Vc[700],Vc[500],Vc[300],Vc[100]],[pc[900],pc[700],pc[500],pc[300],pc[100]],[\"#000000\",\"#525252\",\"#969696\",\"#D9D9D9\",\"#FFFFFF\"]],styles:{}};var kh=Ws(_s),Sd=function(Y){var Ne=Y.onChange,qe=Y.onSwatchHover,vt=Y.hex,Sn=Y.colors,or=Y.width,Or=Y.triangle,Hr=Y.styles,ro=Hr===void 0?{}:Hr,zo=Y.className,oi=zo===void 0?\"\":zo,bi=(0,y.ZP)(Be({default:{card:{width:or,background:\"#fff\",border:\"0 solid rgba(0,0,0,0.25)\",boxShadow:\"0 1px 4px rgba(0,0,0,0.25)\",borderRadius:\"4px\",position:\"relative\"},body:{padding:\"15px 9px 9px 15px\"},label:{fontSize:\"18px\",color:\"#fff\"},triangle:{width:\"0px\",height:\"0px\",borderStyle:\"solid\",borderWidth:\"0 9px 10px 9px\",borderColor:\"transparent transparent #fff transparent\",position:\"absolute\"},triangleShadow:{width:\"0px\",height:\"0px\",borderStyle:\"solid\",borderWidth:\"0 9px 10px 9px\",borderColor:\"transparent transparent rgba(0,0,0,.1) transparent\",position:\"absolute\"},hash:{background:\"#F0F0F0\",height:\"30px\",width:\"30px\",borderRadius:\"4px 0 0 4px\",float:\"left\",color:\"#98A1A4\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},input:{width:\"100px\",fontSize:\"14px\",color:\"#666\",border:\"0px\",outline:\"none\",height:\"28px\",boxShadow:\"inset 0 0 0 1px #F0F0F0\",boxSizing:\"content-box\",borderRadius:\"0 4px 4px 0\",float:\"left\",paddingLeft:\"8px\"},swatch:{width:\"30px\",height:\"30px\",float:\"left\",borderRadius:\"4px\",margin:\"0 6px 6px 0\"},clear:{clear:\"both\"}},\"hide-triangle\":{triangle:{display:\"none\"},triangleShadow:{display:\"none\"}},\"top-left-triangle\":{triangle:{top:\"-10px\",left:\"12px\"},triangleShadow:{top:\"-11px\",left:\"12px\"}},\"top-right-triangle\":{triangle:{top:\"-10px\",right:\"12px\"},triangleShadow:{top:\"-11px\",right:\"12px\"}}},ro),{\"hide-triangle\":Or===\"hide\",\"top-left-triangle\":Or===\"top-left\",\"top-right-triangle\":Or===\"top-right\"}),ji=function(Ea,za){Ci(Ea)&&Ne({hex:Ea,source:\"hex\"},za)};return r.createElement(\"div\",{style:bi.card,className:\"twitter-picker \"+oi},r.createElement(\"div\",{style:bi.triangleShadow}),r.createElement(\"div\",{style:bi.triangle}),r.createElement(\"div\",{style:bi.body},Lr(Sn,function(ma,Ea){return r.createElement(wc,{key:Ea,color:ma,hex:ma,style:bi.swatch,onClick:ji,onHover:qe,focusStyle:{boxShadow:\"0 0 4px \"+ma}})}),r.createElement(\"div\",{style:bi.hash},\"#\"),r.createElement(Le,{label:null,style:{input:bi.input},value:vt.replace(\"#\",\"\"),onChange:ji}),r.createElement(\"div\",{style:bi.clear})))};Sd.propTypes={width:ae().oneOfType([ae().string,ae().number]),triangle:ae().oneOf([\"hide\",\"top-left\",\"top-right\"]),colors:ae().arrayOf(ae().string),styles:ae().object},Sd.defaultProps={width:276,colors:[\"#FF6900\",\"#FCB900\",\"#7BDCB5\",\"#00D084\",\"#8ED1FC\",\"#0693E3\",\"#ABB8C3\",\"#EB144C\",\"#F78DA7\",\"#9900EF\"],triangle:\"top-left\",styles:{}};var Nd=Ws(Sd),jd=function(Y){var Ne=(0,y.ZP)({default:{picker:{width:\"20px\",height:\"20px\",borderRadius:\"22px\",border:\"2px #fff solid\",transform:\"translate(-12px, -13px)\",background:\"hsl(\"+Math.round(Y.hsl.h)+\", \"+Math.round(Y.hsl.s*100)+\"%, \"+Math.round(Y.hsl.l*100)+\"%)\"}}});return r.createElement(\"div\",{style:Ne.picker})};jd.propTypes={hsl:ae().shape({h:ae().number,s:ae().number,l:ae().number,a:ae().number})},jd.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var yh=jd,Dd=function(Y){var Ne=(0,y.ZP)({default:{picker:{width:\"20px\",height:\"20px\",borderRadius:\"22px\",transform:\"translate(-10px, -7px)\",background:\"hsl(\"+Math.round(Y.hsl.h)+\", 100%, 50%)\",border:\"2px white solid\"}}});return r.createElement(\"div\",{style:Ne.picker})};Dd.propTypes={hsl:ae().shape({h:ae().number,s:ae().number,l:ae().number,a:ae().number})},Dd.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var bh=Dd,xh=function(Y){var Ne=Y.onChange,qe=Y.rgb,vt=Y.hsl,Sn=Y.hex,or=Y.hsv,Or=function(ji,ma){if(ji.hex)Ci(ji.hex)&&Ne({hex:ji.hex,source:\"hex\"},ma);else if(ji.rgb){var Ea=ji.rgb.split(\",\");Da(ji.rgb,\"rgb\")&&Ne({r:Ea[0],g:Ea[1],b:Ea[2],a:1,source:\"rgb\"},ma)}else if(ji.hsv){var za=ji.hsv.split(\",\");Da(ji.hsv,\"hsv\")&&(za[2]=za[2].replace(\"%\",\"\"),za[1]=za[1].replace(\"%\",\"\"),za[0]=za[0].replace(\"\\xB0\",\"\"),za[1]==1?za[1]=.01:za[2]==1&&(za[2]=.01),Ne({h:Number(za[0]),s:Number(za[1]),v:Number(za[2]),source:\"hsv\"},ma))}else if(ji.hsl){var Vs=ji.hsl.split(\",\");Da(ji.hsl,\"hsl\")&&(Vs[2]=Vs[2].replace(\"%\",\"\"),Vs[1]=Vs[1].replace(\"%\",\"\"),Vs[0]=Vs[0].replace(\"\\xB0\",\"\"),oi[1]==1?oi[1]=.01:oi[2]==1&&(oi[2]=.01),Ne({h:Number(Vs[0]),s:Number(Vs[1]),v:Number(Vs[2]),source:\"hsl\"},ma))}},Hr=(0,y.ZP)({default:{wrap:{display:\"flex\",height:\"100px\",marginTop:\"4px\"},fields:{width:\"100%\"},column:{paddingTop:\"10px\",display:\"flex\",justifyContent:\"space-between\"},double:{padding:\"0px 4.4px\",boxSizing:\"border-box\"},input:{width:\"100%\",height:\"38px\",boxSizing:\"border-box\",padding:\"4px 10% 3px\",textAlign:\"center\",border:\"1px solid #dadce0\",fontSize:\"11px\",textTransform:\"lowercase\",borderRadius:\"5px\",outline:\"none\",fontFamily:\"Roboto,Arial,sans-serif\"},input2:{height:\"38px\",width:\"100%\",border:\"1px solid #dadce0\",boxSizing:\"border-box\",fontSize:\"11px\",textTransform:\"lowercase\",borderRadius:\"5px\",outline:\"none\",paddingLeft:\"10px\",fontFamily:\"Roboto,Arial,sans-serif\"},label:{textAlign:\"center\",fontSize:\"12px\",background:\"#fff\",position:\"absolute\",textTransform:\"uppercase\",color:\"#3c4043\",width:\"35px\",top:\"-6px\",left:\"0\",right:\"0\",marginLeft:\"auto\",marginRight:\"auto\",fontFamily:\"Roboto,Arial,sans-serif\"},label2:{left:\"10px\",textAlign:\"center\",fontSize:\"12px\",background:\"#fff\",position:\"absolute\",textTransform:\"uppercase\",color:\"#3c4043\",width:\"32px\",top:\"-6px\",fontFamily:\"Roboto,Arial,sans-serif\"},single:{flexGrow:\"1\",margin:\"0px 4.4px\"}}}),ro=qe.r+\", \"+qe.g+\", \"+qe.b,zo=Math.round(vt.h)+\"\\xB0, \"+Math.round(vt.s*100)+\"%, \"+Math.round(vt.l*100)+\"%\",oi=Math.round(or.h)+\"\\xB0, \"+Math.round(or.s*100)+\"%, \"+Math.round(or.v*100)+\"%\";return r.createElement(\"div\",{style:Hr.wrap,className:\"flexbox-fix\"},r.createElement(\"div\",{style:Hr.fields},r.createElement(\"div\",{style:Hr.double},r.createElement(Le,{style:{input:Hr.input,label:Hr.label},label:\"hex\",value:Sn,onChange:Or})),r.createElement(\"div\",{style:Hr.column},r.createElement(\"div\",{style:Hr.single},r.createElement(Le,{style:{input:Hr.input2,label:Hr.label2},label:\"rgb\",value:ro,onChange:Or})),r.createElement(\"div\",{style:Hr.single},r.createElement(Le,{style:{input:Hr.input2,label:Hr.label2},label:\"hsv\",value:oi,onChange:Or})),r.createElement(\"div\",{style:Hr.single},r.createElement(Le,{style:{input:Hr.input2,label:Hr.label2},label:\"hsl\",value:zo,onChange:Or})))))},wh=xh,Rd=function(Y){var Ne=Y.width,qe=Y.onChange,vt=Y.rgb,Sn=Y.hsl,or=Y.hsv,Or=Y.hex,Hr=Y.header,ro=Y.styles,zo=ro===void 0?{}:ro,oi=Y.className,bi=oi===void 0?\"\":oi,ji=(0,y.ZP)(Be({default:{picker:{width:Ne,background:\"#fff\",border:\"1px solid #dfe1e5\",boxSizing:\"initial\",display:\"flex\",flexWrap:\"wrap\",borderRadius:\"8px 8px 0px 0px\"},head:{height:\"57px\",width:\"100%\",paddingTop:\"16px\",paddingBottom:\"16px\",paddingLeft:\"16px\",fontSize:\"20px\",boxSizing:\"border-box\",fontFamily:\"Roboto-Regular,HelveticaNeue,Arial,sans-serif\"},saturation:{width:\"70%\",padding:\"0px\",position:\"relative\",overflow:\"hidden\"},swatch:{width:\"30%\",height:\"228px\",padding:\"0px\",background:\"rgba(\"+vt.r+\", \"+vt.g+\", \"+vt.b+\", 1)\",position:\"relative\",overflow:\"hidden\"},body:{margin:\"auto\",width:\"95%\"},controls:{display:\"flex\",boxSizing:\"border-box\",height:\"52px\",paddingTop:\"22px\"},color:{width:\"32px\"},hue:{height:\"8px\",position:\"relative\",margin:\"0px 16px 0px 16px\",width:\"100%\"},Hue:{radius:\"2px\"}}},zo));return r.createElement(\"div\",{style:ji.picker,className:\"google-picker \"+bi},r.createElement(\"div\",{style:ji.head},Hr),r.createElement(\"div\",{style:ji.swatch}),r.createElement(\"div\",{style:ji.saturation},r.createElement(xu,{hsl:Sn,hsv:or,pointer:yh,onChange:qe})),r.createElement(\"div\",{style:ji.body},r.createElement(\"div\",{style:ji.controls,className:\"flexbox-fix\"},r.createElement(\"div\",{style:ji.hue},r.createElement(he,{style:ji.Hue,hsl:Sn,radius:\"4px\",pointer:bh,onChange:qe}))),r.createElement(wh,{rgb:vt,hsl:Sn,hex:Or,hsv:or,onChange:qe})))};Rd.propTypes={width:ae().oneOfType([ae().string,ae().number]),styles:ae().object,header:ae().string},Rd.defaultProps={width:652,styles:{},header:\"Color picker\"};var Nh=Ws(Rd)},87487:function(Pt,Ee,c){\"use strict\";Object.defineProperty(Ee,\"__esModule\",{value:!0});var r=Object.assign||function(f){for(var h=1;h<arguments.length;h++){var l=arguments[h];for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&(f[s]=l[s])}return f};Ee.renderViewDefault=O,Ee.renderTrackHorizontalDefault=b,Ee.renderTrackVerticalDefault=p,Ee.renderThumbHorizontalDefault=u,Ee.renderThumbVerticalDefault=a;var y=c(50959),N=C(y);function C(f){return f&&f.__esModule?f:{default:f}}function w(f,h){var l={};for(var s in f)h.indexOf(s)>=0||Object.prototype.hasOwnProperty.call(f,s)&&(l[s]=f[s]);return l}function O(f){return N.default.createElement(\"div\",f)}function b(f){var h=f.style,l=w(f,[\"style\"]),s=r({},h,{right:2,bottom:2,left:2,borderRadius:3});return N.default.createElement(\"div\",r({style:s},l))}function p(f){var h=f.style,l=w(f,[\"style\"]),s=r({},h,{right:2,bottom:2,top:2,borderRadius:3});return N.default.createElement(\"div\",r({style:s},l))}function u(f){var h=f.style,l=w(f,[\"style\"]),s=r({},h,{cursor:\"pointer\",borderRadius:\"inherit\",backgroundColor:\"rgba(0,0,0,.2)\"});return N.default.createElement(\"div\",r({style:s},l))}function a(f){var h=f.style,l=w(f,[\"style\"]),s=r({},h,{cursor:\"pointer\",borderRadius:\"inherit\",backgroundColor:\"rgba(0,0,0,.2)\"});return N.default.createElement(\"div\",r({style:s},l))}},12366:function(Pt,Ee,c){\"use strict\";Object.defineProperty(Ee,\"__esModule\",{value:!0});var r=Object.assign||function(xe){for(var Ie=1;Ie<arguments.length;Ie++){var Le=arguments[Ie];for(var De in Le)Object.prototype.hasOwnProperty.call(Le,De)&&(xe[De]=Le[De])}return xe},y=function(){function xe(Ie,Le){for(var De=0;De<Le.length;De++){var ce=Le[De];ce.enumerable=ce.enumerable||!1,ce.configurable=!0,\"value\"in ce&&(ce.writable=!0),Object.defineProperty(Ie,ce.key,ce)}}return function(Ie,Le,De){return Le&&xe(Ie.prototype,Le),De&&xe(Ie,De),Ie}}(),N=c(19616),C=J(N),w=c(91002),O=J(w),b=c(50959),p=c(40507),u=J(p),a=c(87387),f=J(a),h=c(91445),l=J(h),s=c(63841),m=J(s),x=c(14369),M=J(x),E=c(9994),j=J(E),L=c(84438),A=c(87487);function J(xe){return xe&&xe.__esModule?xe:{default:xe}}function q(xe,Ie){var Le={};for(var De in xe)Ie.indexOf(De)>=0||Object.prototype.hasOwnProperty.call(xe,De)&&(Le[De]=xe[De]);return Le}function re(xe,Ie){if(!(xe instanceof Ie))throw new TypeError(\"Cannot call a class as a function\")}function me(xe,Ie){if(!xe)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return Ie&&(typeof Ie==\"object\"||typeof Ie==\"function\")?Ie:xe}function Te(xe,Ie){if(typeof Ie!=\"function\"&&Ie!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof Ie);xe.prototype=Object.create(Ie&&Ie.prototype,{constructor:{value:xe,enumerable:!1,writable:!0,configurable:!0}}),Ie&&(Object.setPrototypeOf?Object.setPrototypeOf(xe,Ie):xe.__proto__=Ie)}var ee=function(xe){Te(Ie,xe);function Ie(Le){var De;re(this,Ie);for(var ce=arguments.length,ye=Array(ce>1?ce-1:0),Oe=1;Oe<ce;Oe++)ye[Oe-1]=arguments[Oe];var Ce=me(this,(De=Ie.__proto__||Object.getPrototypeOf(Ie)).call.apply(De,[this,Le].concat(ye)));return Ce.getScrollLeft=Ce.getScrollLeft.bind(Ce),Ce.getScrollTop=Ce.getScrollTop.bind(Ce),Ce.getScrollWidth=Ce.getScrollWidth.bind(Ce),Ce.getScrollHeight=Ce.getScrollHeight.bind(Ce),Ce.getClientWidth=Ce.getClientWidth.bind(Ce),Ce.getClientHeight=Ce.getClientHeight.bind(Ce),Ce.getValues=Ce.getValues.bind(Ce),Ce.getThumbHorizontalWidth=Ce.getThumbHorizontalWidth.bind(Ce),Ce.getThumbVerticalHeight=Ce.getThumbVerticalHeight.bind(Ce),Ce.getScrollLeftForOffset=Ce.getScrollLeftForOffset.bind(Ce),Ce.getScrollTopForOffset=Ce.getScrollTopForOffset.bind(Ce),Ce.scrollLeft=Ce.scrollLeft.bind(Ce),Ce.scrollTop=Ce.scrollTop.bind(Ce),Ce.scrollToLeft=Ce.scrollToLeft.bind(Ce),Ce.scrollToTop=Ce.scrollToTop.bind(Ce),Ce.scrollToRight=Ce.scrollToRight.bind(Ce),Ce.scrollToBottom=Ce.scrollToBottom.bind(Ce),Ce.handleTrackMouseEnter=Ce.handleTrackMouseEnter.bind(Ce),Ce.handleTrackMouseLeave=Ce.handleTrackMouseLeave.bind(Ce),Ce.handleHorizontalTrackMouseDown=Ce.handleHorizontalTrackMouseDown.bind(Ce),Ce.handleVerticalTrackMouseDown=Ce.handleVerticalTrackMouseDown.bind(Ce),Ce.handleHorizontalThumbMouseDown=Ce.handleHorizontalThumbMouseDown.bind(Ce),Ce.handleVerticalThumbMouseDown=Ce.handleVerticalThumbMouseDown.bind(Ce),Ce.handleWindowResize=Ce.handleWindowResize.bind(Ce),Ce.handleScroll=Ce.handleScroll.bind(Ce),Ce.handleDrag=Ce.handleDrag.bind(Ce),Ce.handleDragEnd=Ce.handleDragEnd.bind(Ce),Ce.state={didMountUniversal:!1},Ce}return y(Ie,[{key:\"componentDidMount\",value:function(){this.addListeners(),this.update(),this.componentDidMountUniversal()}},{key:\"componentDidMountUniversal\",value:function(){var De=this.props.universal;De&&this.setState({didMountUniversal:!0})}},{key:\"componentDidUpdate\",value:function(){this.update()}},{key:\"componentWillUnmount\",value:function(){this.removeListeners(),(0,N.cancel)(this.requestFrame),clearTimeout(this.hideTracksTimeout),clearInterval(this.detectScrollingInterval)}},{key:\"getScrollLeft\",value:function(){return this.view?this.view.scrollLeft:0}},{key:\"getScrollTop\",value:function(){return this.view?this.view.scrollTop:0}},{key:\"getScrollWidth\",value:function(){return this.view?this.view.scrollWidth:0}},{key:\"getScrollHeight\",value:function(){return this.view?this.view.scrollHeight:0}},{key:\"getClientWidth\",value:function(){return this.view?this.view.clientWidth:0}},{key:\"getClientHeight\",value:function(){return this.view?this.view.clientHeight:0}},{key:\"getValues\",value:function(){var De=this.view||{},ce=De.scrollLeft,ye=ce===void 0?0:ce,Oe=De.scrollTop,Ce=Oe===void 0?0:Oe,oe=De.scrollWidth,he=oe===void 0?0:oe,ie=De.scrollHeight,ae=ie===void 0?0:ie,ve=De.clientWidth,X=ve===void 0?0:ve,se=De.clientHeight,fe=se===void 0?0:se;return{left:ye/(he-X)||0,top:Ce/(ae-fe)||0,scrollLeft:ye,scrollTop:Ce,scrollWidth:he,scrollHeight:ae,clientWidth:X,clientHeight:fe}}},{key:\"getThumbHorizontalWidth\",value:function(){var De=this.props,ce=De.thumbSize,ye=De.thumbMinSize,Oe=this.view,Ce=Oe.scrollWidth,oe=Oe.clientWidth,he=(0,M.default)(this.trackHorizontal),ie=Math.ceil(oe/Ce*he);return he===ie?0:ce||Math.max(ie,ye)}},{key:\"getThumbVerticalHeight\",value:function(){var De=this.props,ce=De.thumbSize,ye=De.thumbMinSize,Oe=this.view,Ce=Oe.scrollHeight,oe=Oe.clientHeight,he=(0,j.default)(this.trackVertical),ie=Math.ceil(oe/Ce*he);return he===ie?0:ce||Math.max(ie,ye)}},{key:\"getScrollLeftForOffset\",value:function(De){var ce=this.view,ye=ce.scrollWidth,Oe=ce.clientWidth,Ce=(0,M.default)(this.trackHorizontal),oe=this.getThumbHorizontalWidth();return De/(Ce-oe)*(ye-Oe)}},{key:\"getScrollTopForOffset\",value:function(De){var ce=this.view,ye=ce.scrollHeight,Oe=ce.clientHeight,Ce=(0,j.default)(this.trackVertical),oe=this.getThumbVerticalHeight();return De/(Ce-oe)*(ye-Oe)}},{key:\"scrollLeft\",value:function(){var De=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.view&&(this.view.scrollLeft=De)}},{key:\"scrollTop\",value:function(){var De=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.view&&(this.view.scrollTop=De)}},{key:\"scrollToLeft\",value:function(){this.view&&(this.view.scrollLeft=0)}},{key:\"scrollToTop\",value:function(){this.view&&(this.view.scrollTop=0)}},{key:\"scrollToRight\",value:function(){this.view&&(this.view.scrollLeft=this.view.scrollWidth)}},{key:\"scrollToBottom\",value:function(){this.view&&(this.view.scrollTop=this.view.scrollHeight)}},{key:\"addListeners\",value:function(){if(!(typeof document==\"undefined\"||!this.view)){var De=this.view,ce=this.trackHorizontal,ye=this.trackVertical,Oe=this.thumbHorizontal,Ce=this.thumbVertical;De.addEventListener(\"scroll\",this.handleScroll),(0,l.default)()&&(ce.addEventListener(\"mouseenter\",this.handleTrackMouseEnter),ce.addEventListener(\"mouseleave\",this.handleTrackMouseLeave),ce.addEventListener(\"mousedown\",this.handleHorizontalTrackMouseDown),ye.addEventListener(\"mouseenter\",this.handleTrackMouseEnter),ye.addEventListener(\"mouseleave\",this.handleTrackMouseLeave),ye.addEventListener(\"mousedown\",this.handleVerticalTrackMouseDown),Oe.addEventListener(\"mousedown\",this.handleHorizontalThumbMouseDown),Ce.addEventListener(\"mousedown\",this.handleVerticalThumbMouseDown),window.addEventListener(\"resize\",this.handleWindowResize))}}},{key:\"removeListeners\",value:function(){if(!(typeof document==\"undefined\"||!this.view)){var De=this.view,ce=this.trackHorizontal,ye=this.trackVertical,Oe=this.thumbHorizontal,Ce=this.thumbVertical;De.removeEventListener(\"scroll\",this.handleScroll),(0,l.default)()&&(ce.removeEventListener(\"mouseenter\",this.handleTrackMouseEnter),ce.removeEventListener(\"mouseleave\",this.handleTrackMouseLeave),ce.removeEventListener(\"mousedown\",this.handleHorizontalTrackMouseDown),ye.removeEventListener(\"mouseenter\",this.handleTrackMouseEnter),ye.removeEventListener(\"mouseleave\",this.handleTrackMouseLeave),ye.removeEventListener(\"mousedown\",this.handleVerticalTrackMouseDown),Oe.removeEventListener(\"mousedown\",this.handleHorizontalThumbMouseDown),Ce.removeEventListener(\"mousedown\",this.handleVerticalThumbMouseDown),window.removeEventListener(\"resize\",this.handleWindowResize),this.teardownDragging())}}},{key:\"handleScroll\",value:function(De){var ce=this,ye=this.props,Oe=ye.onScroll,Ce=ye.onScrollFrame;Oe&&Oe(De),this.update(function(oe){var he=oe.scrollLeft,ie=oe.scrollTop;ce.viewScrollLeft=he,ce.viewScrollTop=ie,Ce&&Ce(oe)}),this.detectScrolling()}},{key:\"handleScrollStart\",value:function(){var De=this.props.onScrollStart;De&&De(),this.handleScrollStartAutoHide()}},{key:\"handleScrollStartAutoHide\",value:function(){var De=this.props.autoHide;De&&this.showTracks()}},{key:\"handleScrollStop\",value:function(){var De=this.props.onScrollStop;De&&De(),this.handleScrollStopAutoHide()}},{key:\"handleScrollStopAutoHide\",value:function(){var De=this.props.autoHide;De&&this.hideTracks()}},{key:\"handleWindowResize\",value:function(){this.update()}},{key:\"handleHorizontalTrackMouseDown\",value:function(De){De.preventDefault();var ce=De.target,ye=De.clientX,Oe=ce.getBoundingClientRect(),Ce=Oe.left,oe=this.getThumbHorizontalWidth(),he=Math.abs(Ce-ye)-oe/2;this.view.scrollLeft=this.getScrollLeftForOffset(he)}},{key:\"handleVerticalTrackMouseDown\",value:function(De){De.preventDefault();var ce=De.target,ye=De.clientY,Oe=ce.getBoundingClientRect(),Ce=Oe.top,oe=this.getThumbVerticalHeight(),he=Math.abs(Ce-ye)-oe/2;this.view.scrollTop=this.getScrollTopForOffset(he)}},{key:\"handleHorizontalThumbMouseDown\",value:function(De){De.preventDefault(),this.handleDragStart(De);var ce=De.target,ye=De.clientX,Oe=ce.offsetWidth,Ce=ce.getBoundingClientRect(),oe=Ce.left;this.prevPageX=Oe-(ye-oe)}},{key:\"handleVerticalThumbMouseDown\",value:function(De){De.preventDefault(),this.handleDragStart(De);var ce=De.target,ye=De.clientY,Oe=ce.offsetHeight,Ce=ce.getBoundingClientRect(),oe=Ce.top;this.prevPageY=Oe-(ye-oe)}},{key:\"setupDragging\",value:function(){(0,O.default)(document.body,L.disableSelectStyle),document.addEventListener(\"mousemove\",this.handleDrag),document.addEventListener(\"mouseup\",this.handleDragEnd),document.onselectstart=m.default}},{key:\"teardownDragging\",value:function(){(0,O.default)(document.body,L.disableSelectStyleReset),document.removeEventListener(\"mousemove\",this.handleDrag),document.removeEventListener(\"mouseup\",this.handleDragEnd),document.onselectstart=void 0}},{key:\"handleDragStart\",value:function(De){this.dragging=!0,De.stopImmediatePropagation(),this.setupDragging()}},{key:\"handleDrag\",value:function(De){if(this.prevPageX){var ce=De.clientX,ye=this.trackHorizontal.getBoundingClientRect(),Oe=ye.left,Ce=this.getThumbHorizontalWidth(),oe=Ce-this.prevPageX,he=-Oe+ce-oe;this.view.scrollLeft=this.getScrollLeftForOffset(he)}if(this.prevPageY){var ie=De.clientY,ae=this.trackVertical.getBoundingClientRect(),ve=ae.top,X=this.getThumbVerticalHeight(),se=X-this.prevPageY,fe=-ve+ie-se;this.view.scrollTop=this.getScrollTopForOffset(fe)}return!1}},{key:\"handleDragEnd\",value:function(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()}},{key:\"handleDragEndAutoHide\",value:function(){var De=this.props.autoHide;De&&this.hideTracks()}},{key:\"handleTrackMouseEnter\",value:function(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()}},{key:\"handleTrackMouseEnterAutoHide\",value:function(){var De=this.props.autoHide;De&&this.showTracks()}},{key:\"handleTrackMouseLeave\",value:function(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()}},{key:\"handleTrackMouseLeaveAutoHide\",value:function(){var De=this.props.autoHide;De&&this.hideTracks()}},{key:\"showTracks\",value:function(){clearTimeout(this.hideTracksTimeout),(0,O.default)(this.trackHorizontal,{opacity:1}),(0,O.default)(this.trackVertical,{opacity:1})}},{key:\"hideTracks\",value:function(){var De=this;if(!this.dragging&&!this.scrolling&&!this.trackMouseOver){var ce=this.props.autoHideTimeout;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout(function(){(0,O.default)(De.trackHorizontal,{opacity:0}),(0,O.default)(De.trackVertical,{opacity:0})},ce)}}},{key:\"detectScrolling\",value:function(){var De=this;this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval(function(){De.lastViewScrollLeft===De.viewScrollLeft&&De.lastViewScrollTop===De.viewScrollTop&&(clearInterval(De.detectScrollingInterval),De.scrolling=!1,De.handleScrollStop()),De.lastViewScrollLeft=De.viewScrollLeft,De.lastViewScrollTop=De.viewScrollTop},100))}},{key:\"raf\",value:function(De){var ce=this;this.requestFrame&&C.default.cancel(this.requestFrame),this.requestFrame=(0,C.default)(function(){ce.requestFrame=void 0,De()})}},{key:\"update\",value:function(De){var ce=this;this.raf(function(){return ce._update(De)})}},{key:\"_update\",value:function(De){var ce=this.props,ye=ce.onUpdate,Oe=ce.hideTracksWhenNotNeeded,Ce=this.getValues();if((0,l.default)()){var oe=Ce.scrollLeft,he=Ce.clientWidth,ie=Ce.scrollWidth,ae=(0,M.default)(this.trackHorizontal),ve=this.getThumbHorizontalWidth(),X=oe/(ie-he)*(ae-ve),se={width:ve,transform:\"translateX(\"+X+\"px)\"},fe=Ce.scrollTop,_e=Ce.clientHeight,be=Ce.scrollHeight,We=(0,j.default)(this.trackVertical),we=this.getThumbVerticalHeight(),Ze=fe/(be-_e)*(We-we),Ve={height:we,transform:\"translateY(\"+Ze+\"px)\"};if(Oe){var et={visibility:ie>he?\"visible\":\"hidden\"},ht={visibility:be>_e?\"visible\":\"hidden\"};(0,O.default)(this.trackHorizontal,et),(0,O.default)(this.trackVertical,ht)}(0,O.default)(this.thumbHorizontal,se),(0,O.default)(this.thumbVertical,Ve)}ye&&ye(Ce),typeof De==\"function\"&&De(Ce)}},{key:\"render\",value:function(){var De=this,ce=(0,l.default)(),ye=this.props,Oe=ye.onScroll,Ce=ye.onScrollFrame,oe=ye.onScrollStart,he=ye.onScrollStop,ie=ye.onUpdate,ae=ye.renderView,ve=ye.renderTrackHorizontal,X=ye.renderTrackVertical,se=ye.renderThumbHorizontal,fe=ye.renderThumbVertical,_e=ye.tagName,be=ye.hideTracksWhenNotNeeded,We=ye.autoHide,we=ye.autoHideTimeout,Ze=ye.autoHideDuration,Ve=ye.thumbSize,et=ye.thumbMinSize,ht=ye.universal,Fe=ye.autoHeight,mt=ye.autoHeightMin,dt=ye.autoHeightMax,Lt=ye.style,lt=ye.children,rn=q(ye,[\"onScroll\",\"onScrollFrame\",\"onScrollStart\",\"onScrollStop\",\"onUpdate\",\"renderView\",\"renderTrackHorizontal\",\"renderTrackVertical\",\"renderThumbHorizontal\",\"renderThumbVertical\",\"tagName\",\"hideTracksWhenNotNeeded\",\"autoHide\",\"autoHideTimeout\",\"autoHideDuration\",\"thumbSize\",\"thumbMinSize\",\"universal\",\"autoHeight\",\"autoHeightMin\",\"autoHeightMax\",\"style\",\"children\"]),qt=this.state.didMountUniversal,hn=r({},L.containerStyleDefault,Fe&&r({},L.containerStyleAutoHeight,{minHeight:mt,maxHeight:dt}),Lt),Kt=r({},L.viewStyleDefault,{marginRight:ce?-ce:0,marginBottom:ce?-ce:0},Fe&&r({},L.viewStyleAutoHeight,{minHeight:(0,f.default)(mt)?\"calc(\"+mt+\" + \"+ce+\"px)\":mt+ce,maxHeight:(0,f.default)(dt)?\"calc(\"+dt+\" + \"+ce+\"px)\":dt+ce}),Fe&&ht&&!qt&&{minHeight:mt,maxHeight:dt},ht&&!qt&&L.viewStyleUniversalInitial),an={transition:\"opacity \"+Ze+\"ms\",opacity:0},In=r({},L.trackHorizontalStyleDefault,We&&an,(!ce||ht&&!qt)&&{display:\"none\"}),Ft=r({},L.trackVerticalStyleDefault,We&&an,(!ce||ht&&!qt)&&{display:\"none\"});return(0,b.createElement)(_e,r({},rn,{style:hn,ref:function(At){De.container=At}}),[(0,b.cloneElement)(ae({style:Kt}),{key:\"view\",ref:function(At){De.view=At}},lt),(0,b.cloneElement)(ve({style:In}),{key:\"trackHorizontal\",ref:function(At){De.trackHorizontal=At}},(0,b.cloneElement)(se({style:L.thumbHorizontalStyleDefault}),{ref:function(At){De.thumbHorizontal=At}})),(0,b.cloneElement)(X({style:Ft}),{key:\"trackVertical\",ref:function(At){De.trackVertical=At}},(0,b.cloneElement)(fe({style:L.thumbVerticalStyleDefault}),{ref:function(At){De.thumbVertical=At}}))])}}]),Ie}(b.Component);Ee.default=ee,ee.propTypes={onScroll:u.default.func,onScrollFrame:u.default.func,onScrollStart:u.default.func,onScrollStop:u.default.func,onUpdate:u.default.func,renderView:u.default.func,renderTrackHorizontal:u.default.func,renderTrackVertical:u.default.func,renderThumbHorizontal:u.default.func,renderThumbVertical:u.default.func,tagName:u.default.string,thumbSize:u.default.number,thumbMinSize:u.default.number,hideTracksWhenNotNeeded:u.default.bool,autoHide:u.default.bool,autoHideTimeout:u.default.number,autoHideDuration:u.default.number,autoHeight:u.default.bool,autoHeightMin:u.default.oneOfType([u.default.number,u.default.string]),autoHeightMax:u.default.oneOfType([u.default.number,u.default.string]),universal:u.default.bool,style:u.default.object,children:u.default.node},ee.defaultProps={renderView:A.renderViewDefault,renderTrackHorizontal:A.renderTrackHorizontalDefault,renderTrackVertical:A.renderTrackVerticalDefault,renderThumbHorizontal:A.renderThumbHorizontalDefault,renderThumbVertical:A.renderThumbVerticalDefault,tagName:\"div\",thumbMinSize:30,hideTracksWhenNotNeeded:!1,autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,autoHeightMin:0,autoHeightMax:200,universal:!1}},84438:function(Pt,Ee){\"use strict\";Object.defineProperty(Ee,\"__esModule\",{value:!0});var c=Ee.containerStyleDefault={position:\"relative\",overflow:\"hidden\",width:\"100%\",height:\"100%\"},r=Ee.containerStyleAutoHeight={height:\"auto\"},y=Ee.viewStyleDefault={position:\"absolute\",top:0,left:0,right:0,bottom:0,overflow:\"scroll\",WebkitOverflowScrolling:\"touch\"},N=Ee.viewStyleAutoHeight={position:\"relative\",top:void 0,left:void 0,right:void 0,bottom:void 0},C=Ee.viewStyleUniversalInitial={overflow:\"hidden\",marginRight:0,marginBottom:0},w=Ee.trackHorizontalStyleDefault={position:\"absolute\",height:6},O=Ee.trackVerticalStyleDefault={position:\"absolute\",width:6},b=Ee.thumbHorizontalStyleDefault={position:\"relative\",display:\"block\",height:\"100%\"},p=Ee.thumbVerticalStyleDefault={position:\"relative\",display:\"block\",width:\"100%\"},u=Ee.disableSelectStyle={userSelect:\"none\"},a=Ee.disableSelectStyleReset={userSelect:\"\"}},56461:function(Pt,Ee,c){\"use strict\";var r;r={value:!0},r=void 0;var y=c(12366),N=C(y);function C(w){return w&&w.__esModule?w:{default:w}}Ee.ZP=N.default,r=N.default},9994:function(Pt,Ee){\"use strict\";Object.defineProperty(Ee,\"__esModule\",{value:!0}),Ee.default=c;function c(r){var y=r.clientHeight,N=getComputedStyle(r),C=N.paddingTop,w=N.paddingBottom;return y-parseFloat(C)-parseFloat(w)}},14369:function(Pt,Ee){\"use strict\";Object.defineProperty(Ee,\"__esModule\",{value:!0}),Ee.default=c;function c(r){var y=r.clientWidth,N=getComputedStyle(r),C=N.paddingLeft,w=N.paddingRight;return y-parseFloat(C)-parseFloat(w)}},91445:function(Pt,Ee,c){\"use strict\";Object.defineProperty(Ee,\"__esModule\",{value:!0}),Ee.default=w;var r=c(91002),y=N(r);function N(O){return O&&O.__esModule?O:{default:O}}var C=!1;function w(){if(C!==!1)return C;if(typeof document!=\"undefined\"){var O=document.createElement(\"div\");(0,y.default)(O,{width:100,height:100,position:\"absolute\",top:-9999,overflow:\"scroll\",MsOverflowStyle:\"scrollbar\"}),document.body.appendChild(O),C=O.offsetWidth-O.clientWidth,document.body.removeChild(O)}else C=0;return C||0}},87387:function(Pt,Ee){\"use strict\";Object.defineProperty(Ee,\"__esModule\",{value:!0}),Ee.default=c;function c(r){return typeof r==\"string\"}},63841:function(Pt,Ee){\"use strict\";Object.defineProperty(Ee,\"__esModule\",{value:!0}),Ee.default=c;function c(){return!1}},90795:function(Pt,Ee,c){\"use strict\";var r;r={value:!0};var y=c(83056),N=c(50959),C=c(12641),w=c(78006);function O(kt){return kt&&typeof kt==\"object\"&&\"default\"in kt?kt:{default:kt}}function b(kt){if(kt&&kt.__esModule)return kt;var At=Object.create(null);return kt&&Object.keys(kt).forEach(function(Fn){if(Fn!==\"default\"){var pn=Object.getOwnPropertyDescriptor(kt,Fn);Object.defineProperty(At,Fn,pn.get?pn:{enumerable:!0,get:function(){return kt[Fn]}})}}),At.default=kt,Object.freeze(At)}var p=b(N),u=O(N),a=function(kt,At){return kt===0?\"\":new Array(kt*At).fill(\" \").join(\"\")};function f(kt){return f=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(At){return typeof At}:function(At){return At&&typeof Symbol==\"function\"&&At.constructor===Symbol&&At!==Symbol.prototype?\"symbol\":typeof At},f(kt)}function h(kt){return l(kt)||s(kt)||m(kt)||M()}function l(kt){if(Array.isArray(kt))return x(kt)}function s(kt){if(typeof Symbol!=\"undefined\"&&kt[Symbol.iterator]!=null||kt[\"@@iterator\"]!=null)return Array.from(kt)}function m(kt,At){if(kt){if(typeof kt==\"string\")return x(kt,At);var Fn=Object.prototype.toString.call(kt).slice(8,-1);if(Fn===\"Object\"&&kt.constructor&&(Fn=kt.constructor.name),Fn===\"Map\"||Fn===\"Set\")return Array.from(kt);if(Fn===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Fn))return x(kt,At)}}function x(kt,At){(At==null||At>kt.length)&&(At=kt.length);for(var Fn=0,pn=new Array(At);Fn<At;Fn++)pn[Fn]=kt[Fn];return pn}function M(){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(kt,At){return kt===null||f(kt)!==\"object\"||kt instanceof Date||kt instanceof RegExp||p.isValidElement(kt)?kt:(At.add(kt),Array.isArray(kt)?kt.map(function(Fn){return E(Fn,At)}):Object.keys(kt).sort().reduce(function(Fn,pn){return pn===\"_owner\"||(pn===\"current\"||At.has(kt[pn])?Fn[pn]=\"[Circular]\":Fn[pn]=E(kt[pn],At)),Fn},{}))}function j(kt){return E(kt,new WeakSet)}var L=function(At){return{type:\"string\",value:At}},A=function(At){return{type:\"number\",value:At}},J=function(At,Fn,pn,en){return{type:\"ReactElement\",displayName:At,props:Fn,defaultProps:pn,childrens:en}},q=function(At,Fn){return{type:\"ReactFragment\",key:At,childrens:Fn}},re=Boolean(N.Fragment),me=function(At){return!At.name||At.name===\"_default\"?\"No Display Name\":At.name},Te=function kt(At){switch(!0){case Boolean(At.displayName):return At.displayName;case At.$$typeof===w.Memo:return kt(At.type);case At.$$typeof===w.ForwardRef:return kt(At.render);default:return me(At)}},ee=function(At){switch(!0){case typeof At.type==\"string\":return At.type;case typeof At.type==\"function\":return At.type.displayName?At.type.displayName:me(At.type);case w.isForwardRef(At):case w.isMemo(At):return Te(At.type);case w.isContextConsumer(At):return\"\".concat(At.type._context.displayName||\"Context\",\".Consumer\");case w.isContextProvider(At):return\"\".concat(At.type._context.displayName||\"Context\",\".Provider\");case w.isLazy(At):return\"Lazy\";case w.isProfiler(At):return\"Profiler\";case w.isStrictMode(At):return\"StrictMode\";case w.isSuspense(At):return\"Suspense\";default:return\"UnknownElementType\"}},xe=function(At,Fn){return Fn!==\"children\"},Ie=function(At){return At!==!0&&At!==!1&&At!==null&&At!==\"\"},Le=function(At,Fn){var pn={};return Object.keys(At).filter(function(en){return Fn(At[en],en)}).forEach(function(en){return pn[en]=At[en]}),pn},De=function kt(At,Fn){var pn=Fn.displayName,en=pn===void 0?ee:pn;if(typeof At==\"string\")return L(At);if(typeof At==\"number\")return A(At);if(!u.default.isValidElement(At))throw new Error(\"react-element-to-jsx-string: Expected a React.Element, got `\".concat(f(At),\"`\"));var Wn=en(At),Mn=Le(At.props,xe);At.ref!==null&&(Mn.ref=At.ref);var Kn=At.key;typeof Kn==\"string\"&&Kn.search(/^\\./)&&(Mn.key=Kn);var hr=Le(At.type.defaultProps||{},xe),pr=u.default.Children.toArray(At.props.children).filter(Ie).map(function(zr){return kt(zr,Fn)});return re&&At.type===N.Fragment?q(Kn,pr):J(Wn,Mn,hr,pr)};function ce(){}var ye=function(At){return At.toString().split(`\n`).map(function(Fn){return Fn.trim()}).join(\"\")},Oe=function(At){return At.toString()},Ce=ye,oe=function(kt,At){var Fn=At.functionValue,pn=Fn===void 0?Ce:Fn,en=At.showFunctions;return pn(!en&&pn===Ce?ce:kt)},he=function(kt,At,Fn,pn){var en=j(kt),Wn=C.prettyPrint(en,{transform:function(Kn,hr,pr){var zr=Kn[hr];return zr&&N.isValidElement(zr)?an(De(zr,pn),!0,Fn,pn):typeof zr==\"function\"?oe(zr,pn):pr}});return At?Wn.replace(/\\s+/g,\" \").replace(/{ /g,\"{\").replace(/ }/g,\"}\").replace(/\\[ /g,\"[\").replace(/ ]/g,\"]\"):Wn.replace(/\\t/g,a(1,pn.tabStop)).replace(/\\n([^$])/g,`\n`.concat(a(Fn+1,pn.tabStop),\"$1\"))},ie=function(At){return At.replace(/\"/g,\"&quot;\")},ae=function(At,Fn,pn,en){if(typeof At==\"number\")return\"{\".concat(String(At),\"}\");if(typeof At==\"string\")return'\"'.concat(ie(At),'\"');if(f(At)===\"symbol\"){var Wn=At.valueOf().toString().replace(/Symbol\\((.*)\\)/,\"$1\");return Wn?\"{Symbol('\".concat(Wn,\"')}\"):\"{Symbol()}\"}return typeof At==\"function\"?\"{\".concat(oe(At,en),\"}\"):N.isValidElement(At)?\"{\".concat(an(De(At,en),!0,pn,en),\"}\"):At instanceof Date?isNaN(At.valueOf())?\"{new Date(NaN)}\":'{new Date(\"'.concat(At.toISOString(),'\")}'):y.isPlainObject(At)||Array.isArray(At)?\"{\".concat(he(At,Fn,pn,en),\"}\"):\"{\".concat(String(At),\"}\")},ve=function(kt,At,Fn,pn,en,Wn,Mn,Kn){if(!At&&!pn)throw new Error('The prop \"'.concat(kt,'\" has no value and no default: could not be formatted'));var hr=At?Fn:en,pr=Kn.useBooleanShorthandSyntax,zr=Kn.tabStop,Wr=ae(hr,Wn,Mn,Kn),Nr=\" \",Kr=`\n`.concat(a(Mn+1,zr)),ko=Wr.includes(`\n`);return pr&&Wr===\"{false}\"&&!pn?(Nr=\"\",Kr=\"\"):pr&&Wr===\"{true}\"?(Nr+=\"\".concat(kt),Kr+=\"\".concat(kt)):(Nr+=\"\".concat(kt,\"=\").concat(Wr),Kr+=\"\".concat(kt,\"=\").concat(Wr)),{attributeFormattedInline:Nr,attributeFormattedMultiline:Kr,isMultilineAttribute:ko}},X=function(kt,At){var Fn=kt.slice(0,kt.length>0?kt.length-1:0),pn=kt[kt.length-1];return pn&&(At.type===\"string\"||At.type===\"number\")&&(pn.type===\"string\"||pn.type===\"number\")?Fn.push(L(String(pn.value)+String(At.value))):(pn&&Fn.push(pn),Fn.push(At)),Fn},se=function(At){return[\"key\",\"ref\"].includes(At)},fe=function(kt){return function(At){var Fn=At.includes(\"key\"),pn=At.includes(\"ref\"),en=At.filter(function(Mn){return!se(Mn)}),Wn=h(kt?en.sort():en);return pn&&Wn.unshift(\"ref\"),Fn&&Wn.unshift(\"key\"),Wn}};function _e(kt,At){return Array.isArray(At)?function(Fn){return At.indexOf(Fn)===-1}:function(Fn){return At(kt[Fn],Fn)}}var be=function(At,Fn,pn,en,Wn){var Mn=Wn.tabStop;return At.type===\"string\"?Fn.split(`\n`).map(function(Kn,hr){return hr===0?Kn:\"\".concat(a(en,Mn)).concat(Kn)}).join(`\n`):Fn},We=function(At,Fn,pn){return function(en){return be(en,an(en,At,Fn,pn),At,Fn,pn)}},we=function(At,Fn){return function(pn){var en=Object.keys(At).includes(pn);return!en||en&&At[pn]!==Fn[pn]}},Ze=function(At,Fn,pn,en,Wn){return Wn?a(pn,en).length+Fn.length>Wn:At.length>1},Ve=function(At,Fn,pn,en,Wn,Mn,Kn){return(Ze(At,Fn,Wn,Mn,Kn)||pn)&&!en},et=function(kt,At,Fn,pn){var en=kt.type,Wn=kt.displayName,Mn=Wn===void 0?\"\":Wn,Kn=kt.childrens,hr=kt.props,pr=hr===void 0?{}:hr,zr=kt.defaultProps,Wr=zr===void 0?{}:zr;if(en!==\"ReactElement\")throw new Error('The \"formatReactElementNode\" function could only format node of type \"ReactElement\". Given:  '.concat(en));var Nr=pn.filterProps,Kr=pn.maxInlineAttributesLineLength,ko=pn.showDefaultProps,Ur=pn.sortProps,gn=pn.tabStop,Gt=\"<\".concat(Mn),bt=Gt,Zt=Gt,gt=!1,Wt=[],xn=_e(pr,Nr);Object.keys(pr).filter(xn).filter(we(Wr,pr)).forEach(function(Rn){return Wt.push(Rn)}),Object.keys(Wr).filter(xn).filter(function(){return ko}).filter(function(Rn){return!Wt.includes(Rn)}).forEach(function(Rn){return Wt.push(Rn)});var Dt=fe(Ur)(Wt);if(Dt.forEach(function(Rn){var wt=ve(Rn,Object.keys(pr).includes(Rn),pr[Rn],Object.keys(Wr).includes(Rn),Wr[Rn],At,Fn,pn),pt=wt.attributeFormattedInline,Ue=wt.attributeFormattedMultiline,xt=wt.isMultilineAttribute;xt&&(gt=!0),bt+=pt,Zt+=Ue}),Zt+=`\n`.concat(a(Fn,gn)),Ve(Dt,bt,gt,At,Fn,gn,Kr)?Gt=Zt:Gt=bt,Kn&&Kn.length>0){var Xn=Fn+1;Gt+=\">\",At||(Gt+=`\n`,Gt+=a(Xn,gn)),Gt+=Kn.reduce(X,[]).map(We(At,Xn,pn)).join(At?\"\":`\n`.concat(a(Xn,gn))),At||(Gt+=`\n`,Gt+=a(Xn-1,gn)),Gt+=\"</\".concat(Mn,\">\")}else Ze(Dt,bt,Fn,gn,Kr)||(Gt+=\" \"),Gt+=\"/>\";return Gt},ht=\"\",Fe=\"React.Fragment\",mt=function(At,Fn,pn){var en={};return Fn&&(en={key:Fn}),{type:\"ReactElement\",displayName:At,props:en,defaultProps:{},childrens:pn}},dt=function(At){var Fn=At.key;return Boolean(Fn)},Lt=function(At){var Fn=At.childrens;return Fn.length===0},lt=function(kt,At,Fn,pn){var en=kt.type,Wn=kt.key,Mn=kt.childrens;if(en!==\"ReactFragment\")throw new Error('The \"formatReactFragmentNode\" function could only format node of type \"ReactFragment\". Given: '.concat(en));var Kn=pn.useFragmentShortSyntax,hr;return Kn?Lt(kt)||dt(kt)?hr=Fe:hr=ht:hr=Fe,et(mt(hr,Wn,Mn),At,Fn,pn)},rn=[\"<\",\">\",\"{\",\"}\"],qt=function(At){return rn.some(function(Fn){return At.includes(Fn)})},hn=function(At){return qt(At)?\"{`\".concat(At,\"`}\"):At},Kt=function(At){var Fn=At;return Fn.endsWith(\" \")&&(Fn=Fn.replace(/^(.*?)(\\s+)$/,\"$1{'$2'}\")),Fn.startsWith(\" \")&&(Fn=Fn.replace(/^(\\s+)(.*)$/,\"{'$1'}$2\")),Fn},an=function(kt,At,Fn,pn){if(kt.type===\"number\")return String(kt.value);if(kt.type===\"string\")return kt.value?\"\".concat(Kt(hn(String(kt.value)))):\"\";if(kt.type===\"ReactElement\")return et(kt,At,Fn,pn);if(kt.type===\"ReactFragment\")return lt(kt,At,Fn,pn);throw new TypeError('Unknow format type \"'.concat(kt.type,'\"'))},In=function(kt,At){return an(kt,!1,0,At)},Ft=function(At){var Fn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},pn=Fn.filterProps,en=pn===void 0?[]:pn,Wn=Fn.showDefaultProps,Mn=Wn===void 0?!0:Wn,Kn=Fn.showFunctions,hr=Kn===void 0?!1:Kn,pr=Fn.functionValue,zr=Fn.tabStop,Wr=zr===void 0?2:zr,Nr=Fn.useBooleanShorthandSyntax,Kr=Nr===void 0?!0:Nr,ko=Fn.useFragmentShortSyntax,Ur=ko===void 0?!0:ko,gn=Fn.sortProps,Gt=gn===void 0?!0:gn,bt=Fn.maxInlineAttributesLineLength,Zt=Fn.displayName;if(!At)throw new Error(\"react-element-to-jsx-string: Expected a ReactElement\");var gt={filterProps:en,showDefaultProps:Mn,showFunctions:hr,functionValue:pr,tabStop:Wr,useBooleanShorthandSyntax:Kr,useFragmentShortSyntax:Ur,sortProps:Gt,maxInlineAttributesLineLength:bt,displayName:Zt};return In(De(At,gt),gt)};r=Ft,r=ye,r=Oe},74663:function(Pt,Ee){\"use strict\";var c=Symbol.for(\"react.element\"),r=Symbol.for(\"react.portal\"),y=Symbol.for(\"react.fragment\"),N=Symbol.for(\"react.strict_mode\"),C=Symbol.for(\"react.profiler\"),w=Symbol.for(\"react.provider\"),O=Symbol.for(\"react.context\"),b=Symbol.for(\"react.server_context\"),p=Symbol.for(\"react.forward_ref\"),u=Symbol.for(\"react.suspense\"),a=Symbol.for(\"react.suspense_list\"),f=Symbol.for(\"react.memo\"),h=Symbol.for(\"react.lazy\"),l=Symbol.for(\"react.offscreen\"),s;s=Symbol.for(\"react.module.reference\");function m(x){if(typeof x==\"object\"&&x!==null){var M=x.$$typeof;switch(M){case c:switch(x=x.type,x){case y:case C:case N:case u:case a:return x;default:switch(x=x&&x.$$typeof,x){case b:case O:case p:case h:case f:case w:return x;default:return M}}case r:return M}}}Ee.ContextConsumer=O,Ee.ContextProvider=w,Ee.Element=c,Ee.ForwardRef=p,Ee.Fragment=y,Ee.Lazy=h,Ee.Memo=f,Ee.Portal=r,Ee.Profiler=C,Ee.StrictMode=N,Ee.Suspense=u,Ee.SuspenseList=a,Ee.isAsyncMode=function(){return!1},Ee.isConcurrentMode=function(){return!1},Ee.isContextConsumer=function(x){return m(x)===O},Ee.isContextProvider=function(x){return m(x)===w},Ee.isElement=function(x){return typeof x==\"object\"&&x!==null&&x.$$typeof===c},Ee.isForwardRef=function(x){return m(x)===p},Ee.isFragment=function(x){return m(x)===y},Ee.isLazy=function(x){return m(x)===h},Ee.isMemo=function(x){return m(x)===f},Ee.isPortal=function(x){return m(x)===r},Ee.isProfiler=function(x){return m(x)===C},Ee.isStrictMode=function(x){return m(x)===N},Ee.isSuspense=function(x){return m(x)===u},Ee.isSuspenseList=function(x){return m(x)===a},Ee.isValidElementType=function(x){return typeof x==\"string\"||typeof x==\"function\"||x===y||x===C||x===N||x===u||x===a||x===l||typeof x==\"object\"&&x!==null&&(x.$$typeof===h||x.$$typeof===f||x.$$typeof===w||x.$$typeof===O||x.$$typeof===p||x.$$typeof===s||x.getModuleId!==void 0)},Ee.typeOf=m},78006:function(Pt,Ee,c){\"use strict\";Pt.exports=c(74663)},58706:function(Pt,Ee,c){\"use strict\";Object.defineProperty(Ee,\"__esModule\",{value:!0}),Ee.autoprefix=void 0;var r=c(14287),y=C(r),N=Object.assign||function(b){for(var p=1;p<arguments.length;p++){var u=arguments[p];for(var a in u)Object.prototype.hasOwnProperty.call(u,a)&&(b[a]=u[a])}return b};function C(b){return b&&b.__esModule?b:{default:b}}var w={borderRadius:function(p){return{msBorderRadius:p,MozBorderRadius:p,OBorderRadius:p,WebkitBorderRadius:p,borderRadius:p}},boxShadow:function(p){return{msBoxShadow:p,MozBoxShadow:p,OBoxShadow:p,WebkitBoxShadow:p,boxShadow:p}},userSelect:function(p){return{WebkitTouchCallout:p,KhtmlUserSelect:p,MozUserSelect:p,msUserSelect:p,WebkitUserSelect:p,userSelect:p}},flex:function(p){return{WebkitBoxFlex:p,MozBoxFlex:p,WebkitFlex:p,msFlex:p,flex:p}},flexBasis:function(p){return{WebkitFlexBasis:p,flexBasis:p}},justifyContent:function(p){return{WebkitJustifyContent:p,justifyContent:p}},transition:function(p){return{msTransition:p,MozTransition:p,OTransition:p,WebkitTransition:p,transition:p}},transform:function(p){return{msTransform:p,MozTransform:p,OTransform:p,WebkitTransform:p,transform:p}},absolute:function(p){var u=p&&p.split(\" \");return{position:\"absolute\",top:u&&u[0],right:u&&u[1],bottom:u&&u[2],left:u&&u[3]}},extend:function(p,u){var a=u[p];return a||{extend:p}}},O=Ee.autoprefix=function(p){var u={};return(0,y.default)(p,function(a,f){var h={};(0,y.default)(a,function(l,s){var m=w[s];m?h=N({},h,m(l)):h[s]=l}),u[f]=h}),u};Ee.default=O},8615:function(Pt,Ee,c){\"use strict\";Object.defineProperty(Ee,\"__esModule\",{value:!0}),Ee.active=void 0;var r=Object.assign||function(u){for(var a=1;a<arguments.length;a++){var f=arguments[a];for(var h in f)Object.prototype.hasOwnProperty.call(f,h)&&(u[h]=f[h])}return u},y=c(50959),N=C(y);function C(u){return u&&u.__esModule?u:{default:u}}function w(u,a){if(!(u instanceof a))throw new TypeError(\"Cannot call a class as a function\")}function O(u,a){if(!u)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return a&&(typeof a==\"object\"||typeof a==\"function\")?a:u}function b(u,a){if(typeof a!=\"function\"&&a!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof a);u.prototype=Object.create(a&&a.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(u,a):u.__proto__=a)}var p=Ee.active=function(a){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:\"span\";return function(h){b(l,h);function l(){var s,m,x,M;w(this,l);for(var E=arguments.length,j=Array(E),L=0;L<E;L++)j[L]=arguments[L];return M=(m=(x=O(this,(s=l.__proto__||Object.getPrototypeOf(l)).call.apply(s,[this].concat(j))),x),x.state={active:!1},x.handleMouseDown=function(){return x.setState({active:!0})},x.handleMouseUp=function(){return x.setState({active:!1})},x.render=function(){return N.default.createElement(f,{onMouseDown:x.handleMouseDown,onMouseUp:x.handleMouseUp},N.default.createElement(a,r({},x.props,x.state)))},m),O(x,M)}return l}(N.default.Component)};Ee.default=p},66626:function(Pt,Ee,c){\"use strict\";Object.defineProperty(Ee,\"__esModule\",{value:!0}),Ee.hover=void 0;var r=Object.assign||function(u){for(var a=1;a<arguments.length;a++){var f=arguments[a];for(var h in f)Object.prototype.hasOwnProperty.call(f,h)&&(u[h]=f[h])}return u},y=c(50959),N=C(y);function C(u){return u&&u.__esModule?u:{default:u}}function w(u,a){if(!(u instanceof a))throw new TypeError(\"Cannot call a class as a function\")}function O(u,a){if(!u)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return a&&(typeof a==\"object\"||typeof a==\"function\")?a:u}function b(u,a){if(typeof a!=\"function\"&&a!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof a);u.prototype=Object.create(a&&a.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(u,a):u.__proto__=a)}var p=Ee.hover=function(a){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:\"span\";return function(h){b(l,h);function l(){var s,m,x,M;w(this,l);for(var E=arguments.length,j=Array(E),L=0;L<E;L++)j[L]=arguments[L];return M=(m=(x=O(this,(s=l.__proto__||Object.getPrototypeOf(l)).call.apply(s,[this].concat(j))),x),x.state={hover:!1},x.handleMouseOver=function(){return x.setState({hover:!0})},x.handleMouseOut=function(){return x.setState({hover:!1})},x.render=function(){return N.default.createElement(f,{onMouseOver:x.handleMouseOver,onMouseOut:x.handleMouseOut},N.default.createElement(a,r({},x.props,x.state)))},m),O(x,M)}return l}(N.default.Component)};Ee.default=p},47642:function(Pt,Ee,c){\"use strict\";Object.defineProperty(Ee,\"__esModule\",{value:!0}),Ee.flattenNames=void 0;var r=c(56549),y=u(r),N=c(14287),C=u(N),w=c(69143),O=u(w),b=c(65512),p=u(b);function u(f){return f&&f.__esModule?f:{default:f}}var a=Ee.flattenNames=function f(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],l=[];return(0,p.default)(h,function(s){Array.isArray(s)?f(s).map(function(m){return l.push(m)}):(0,O.default)(s)?(0,C.default)(s,function(m,x){m===!0&&l.push(x),l.push(x+\"-\"+m)}):(0,y.default)(s)&&l.push(s)}),l};Ee.default=a},80014:function(Pt,Ee,c){\"use strict\";var r;r={value:!0},r=r=r=Ee.tz=r=void 0;var y=c(47642),N=s(y),C=c(71339),w=s(C),O=c(58706),b=s(O),p=c(66626),u=s(p),a=c(8615),f=s(a),h=c(45742),l=s(h);function s(x){return x&&x.__esModule?x:{default:x}}r=u.default,Ee.tz=u.default,r=f.default,r=l.default;var m=r=function(M){for(var E=arguments.length,j=Array(E>1?E-1:0),L=1;L<E;L++)j[L-1]=arguments[L];var A=(0,N.default)(j),J=(0,w.default)(M,A);return(0,b.default)(J)};Ee.ZP=m},45742:function(Pt,Ee){\"use strict\";Object.defineProperty(Ee,\"__esModule\",{value:!0});var c=function(y,N){var C={},w=function(b){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;C[b]=p};return y===0&&w(\"first-child\"),y===N-1&&w(\"last-child\"),(y===0||y%2===0)&&w(\"even\"),Math.abs(y%2)===1&&w(\"odd\"),w(\"nth-child\",y),C};Ee.default=c},71339:function(Pt,Ee,c){\"use strict\";Object.defineProperty(Ee,\"__esModule\",{value:!0}),Ee.mergeClasses=void 0;var r=c(14287),y=O(r),N=c(32222),C=O(N),w=Object.assign||function(p){for(var u=1;u<arguments.length;u++){var a=arguments[u];for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&(p[f]=a[f])}return p};function O(p){return p&&p.__esModule?p:{default:p}}var b=Ee.mergeClasses=function(u){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],f=u.default&&(0,C.default)(u.default)||{};return a.map(function(h){var l=u[h];return l&&(0,y.default)(l,function(s,m){f[m]||(f[m]={}),f[m]=w({},f[m],l[m])}),h}),f};Ee.default=b},93018:function(Pt,Ee,c){var r=c(64562);Pt.exports=y;function y(N){return r(N).replace(/\\s(\\w)/g,function(C,w){return w.toUpperCase()})}},14059:function(Pt){Pt.exports=y;var Ee=/\\s/,c=/(_|-|\\.|:)/,r=/([a-z][A-Z]|[A-Z][a-z])/;function y(b){return Ee.test(b)?b.toLowerCase():c.test(b)?(C(b)||b).toLowerCase():r.test(b)?O(b).toLowerCase():b.toLowerCase()}var N=/[\\W_]+(.|$)/g;function C(b){return b.replace(N,function(p,u){return u?\" \"+u:\"\"})}var w=/(.)([A-Z]+)/g;function O(b){return b.replace(w,function(p,u,a){return u+\" \"+a.toLowerCase().split(\"\").join(\" \")})}},64562:function(Pt,Ee,c){var r=c(14059);Pt.exports=y;function y(N){return r(N).replace(/[\\W_]+(.|$)/g,function(C,w){return w?\" \"+w:\"\"}).trim()}},41477:function(Pt,Ee,c){\"use strict\";c.d(Ee,{GXc:function(){return ml},Hnr:function(){return Zu},Xx3:function(){return fa},ZBq:function(){return ou},cjq:function(){return Us},o4J:function(){return Hc},vMv:function(){return mn},vgT:function(){return vi},xhb:function(){return yt},yjm:function(){return dl}});var r=c(65707),y=Object.defineProperty,N=(T,B,K)=>B in T?y(T,B,{enumerable:!0,configurable:!0,writable:!0,value:K}):T[B]=K,C=(T,B,K)=>(N(T,typeof B!=\"symbol\"?B+\"\":B,K),K),w,O,b,p,u,a;const f=new Map;function h(T){return f.get(T)}function l(T,B,K){f.set(T,{modelClass:B,fnName:K})}var s;(function(T){T.ApplyPatches=\"$$applyPatches\",T.ApplySnapshot=\"$$applySnapshot\",T.Detach=\"$$detach\",T.ApplySet=\"$$applySet\",T.ApplyDelete=\"$$applyDelete\",T.ApplyMethodCall=\"$$applyMethodCall\"})(s||(s={}));const m=new Set(Object.values(s));function x(T){return m.has(T)}var M;(function(T){T.Sync=\"sync\",T.Async=\"async\"})(M||(M={}));var E;(function(T){T.Spawn=\"spawn\",T.Return=\"return\",T.Resume=\"resume\",T.ResumeError=\"resumeError\",T.Throw=\"throw\"})(E||(E={}));let j;function L(){return j}function A(T){j=T}const J=Symbol(\"modelAction\");function q(T){return typeof T==\"function\"&&J in T}const re=\"$modelType\",me=\"$modelId\";function Te(T){return T===re}class ee extends Error{constructor(B){super(B),Object.setPrototypeOf(this,ee.prototype)}}function xe(T){return new ee(T)}const Ie={enumerable:!1,writable:!0,configurable:!1,value:void 0};function Le(T,B,K,Se=!0){Se?(Object.defineProperty(T,B,Ie),T[B]=K):Object.defineProperty(T,B,{enumerable:!1,writable:Se,configurable:!0,value:K})}function De(T,B,K){const Se=Object.getOwnPropertyDescriptor(T,B);Se&&(Se.enumerable=K,Se.get?delete Se.set:Se.writable=!1,Object.defineProperty(T,B,Se))}function ce(T){if(!ye(T))return!1;const B=Object.getPrototypeOf(T);return B===Object.prototype||B===null}function ye(T){return T!==null&&typeof T==\"object\"}function Oe(T){switch(typeof T){case\"number\":case\"string\":case\"boolean\":case\"undefined\":case\"bigint\":return!0}return T===null}function Ce(T){switch(typeof T){case\"number\":return isFinite(T);case\"string\":case\"boolean\":return!0}return T===null}function oe(T,B){let K=T.indexOf(B);return K>=0?(T.splice(K,1),!0):!1}function he(T){return T instanceof Map||(0,r.isObservableMap)(T)}function ie(T){return T instanceof Set||(0,r.isObservableSet)(T)}function ae(T){return Array.isArray(T)||(0,r.isObservableArray)(T)}const ve=!1;function X(T,B){if(!ye(T))throw xe(`${B} must be an object`)}function se(T,B){if(!ce(T))throw xe(`${B} must be a plain object`)}function fe(T,B){if(!(0,r.isObservableObject)(T))throw xe(`${B} must be an observable object`)}function _e(T,B){if(!(0,r.isObservableArray)(T))throw xe(`${B} must be an observable array`)}function be(T,B){if(!he(T))throw xe(`${B} must be a map`)}function We(T,B){if(!ie(T))throw xe(`${B} must be a set`)}function we(T,B){if(typeof T!=\"function\")throw xe(`${B} must be a function`)}function Ze(T,B){if(!Oe(T))throw xe(`${B} must be a primitive`)}function Ve(T,B){if(typeof T!=\"string\")throw xe(`${B} must be a string`)}const et=Symbol(\"runAfterNew\"),ht=Symbol(\"runBeforeOnInit\");function Fe(T,B,K){let Se=T[B];(!Se||!Object.prototype.hasOwnProperty.call(T,B))&&(Se=Se?Se.slice():[],Le(T,B,Se)),Se.push(K)}const mt=Symbol(\"unboundMethod\");function dt(T,B,K){const{target:Se,propertyKey:He,baseDescriptor:Ye}=B,Et=()=>{Fe(Se,et,bn=>{const Qn=K(B,bn[He]),yr=mt in Qn?Qn[mt]:Qn,vr=yr.bind(bn);Object.getOwnPropertySymbols(yr).forEach(no=>{vr[no]=yr[no]}),vr[mt]=yr,bn[He]=vr})};if(Ye){if(Ye.get!==void 0)throw xe(`@${T} cannot be used with getters`);if(Ye.value)return{enumerable:!1,writable:!0,configurable:!0,value:K(B,Ye.value)};Et()}else Et()}function Lt(T,B){const K=T[B];if(K)for(const Se of K)Se(T)}const lt=new Set;function rn(T,B,K){if(K){if(lt.has(K))return;lt.add(K)}switch(B=\"[mobx-keystone] \"+B,T){case\"warn\":console.warn(B);break;case\"error\":console.error(B);break;default:throw xe(`unknown log type - ${T}`)}}function qt(T){let B,K=!1;return(...Se)=>(K||(B=T(...Se),K=!0),B)}const hn=T=>T,Kt={makeObservable:r[String.fromCharCode(\"l\".charCodeAt(0)+1)+\"akeObservable\"]};function an(T){return`set${T[0].toUpperCase()}${T.slice(1)}`}function In(){return Kt.makeObservable?6:5}const Ft=\"mobx-keystone\",kt=Symbol(\"propsType\"),At=Symbol(\"fromSnapshotOverrideType\"),Fn=Symbol(\"toSnapshotOverrideType\"),pn=Symbol(\"modelInitialized\");function en(T){return T}const Wn={},Mn=new WeakMap;function Kn(T){return Wn[T]}function hr(T,B,K){let Se=T.get(B);return Se===void 0&&(Se=K(),T.set(B,Se)),Se}const pr=new WeakMap,zr=new WeakMap;function Wr(T,B,K=!0){return!T&&!B?!0:!T||!B||!(T.parent===B.parent)?!1:K?T.path===B.path:!0}function Nr(T){return hr(zr,T,()=>(0,r.createAtom)(\"parentAtom\"))}function Kr(T){Nr(T).reportObserved()}function ko(T){Nr(T).reportChanged()}const Ur=new WeakMap;function gn(T){const B=Ur.get(T);return B!=null?B:T}function Gt(T){return Ya(T)?T.$:T}const bt=new WeakMap;function Zt(T,B){return!B&&Ur.has(T)?!1:bt.has(T)}function gt(T){return!Oe(T)&&Zt(T,!1)}function Wt(T,B,K=!1){if(!K&&Ur.has(T))throw xe(`${B} must be the model object instance instead of the '$' sub-object`);if(Oe(T)||!Zt(T,!0))throw xe(`${B} must be a tree node (usually a model or a shallow / deep child part of a model 'data' object)`)}function xn(T,B=\"argument\"){Wt(T,B,!1)}let Dt=!1;function Xn(T){const B=Dt;Dt=!0;try{(0,r.runInAction)(()=>{T()})}finally{Dt=B}}const Rn=Symbol(\"modelMetadata\"),wt=Symbol(\"modelUnwrappedClass\"),pt=Symbol(\"runAfterModelDecorator\");function Ue(T){if(Ya(T))return T.constructor[Rn];if(ru(T))return T[Rn];throw xe(\"modelClassOrInstance must be a model class or instance\")}const xt=new WeakMap;function cn(T){return hr(xt,T,()=>Ue(T).modelIdProperty)}const er=Symbol(\"modelProperties\");function Mr(T){return T[er]}function xr(T,B){T[er]=B}const jr=Symbol(\"noDefaultValue\"),yo={_setter:!1,_isId:!0,withSetter(T){const B=Object.create(this);return B._setter=T!=null?T:!0,B},typedAs(){return yo}},eo={_defaultFn:jr,_defaultValue:jr,_typeChecker:void 0,_setter:!1,_isId:!1,_transform:void 0,_fromSnapshotProcessor:void 0,_toSnapshotProcessor:void 0,withSetter(T){const B=Object.create(this);return B._setter=T!=null?T:!0,B},withTransform(T){const B=Object.create(this);return B._transform=Zi(T),B},withSnapshotProcessor({fromSnapshot:T,toSnapshot:B}){let K;if(this._fromSnapshotProcessor&&T){const Ye=this._fromSnapshotProcessor,Et=T;K=bn=>Ye(Et(bn))}else T?K=T:K=this._fromSnapshotProcessor;let Se;if(this._toSnapshotProcessor&&B){const Ye=this._toSnapshotProcessor,Et=B;Se=bn=>Et(Ye(bn))}else B?Se=B:Se=this._toSnapshotProcessor;const He=Object.create(this);return He._fromSnapshotProcessor=K,He._toSnapshotProcessor=Se,He}};function vi(T){if(!(arguments.length>=1))return eo;let K=Ti.get(T);return K||(K=Object.create(eo),typeof T==\"function\"?K._defaultFn=T:K._defaultValue=T,Ti.set(T,K)),K}const Ti=new Map;let wi=!1;const mi=()=>{wi=!0};function Zi(T){const B=new WeakMap,K=He=>He.originalValue==null?He.originalValue:T.transform(He),Se=He=>He.transformedValue==null?He.transformedValue:T.untransform(He);return{transform(He,Ye,Et,bn){const Qn=hr(B,Ye,()=>new Map);let yr=Qn.get(Et);(yr==null?void 0:yr.originalValue)!==He&&(Qn.delete(Et),yr=void 0);const vr=K({originalValue:He,cachedTransformedValue:yr==null?void 0:yr.transformedValue,setOriginalValue:bn});return Qn.set(Et,{originalValue:He,transformedValue:vr}),vr},untransform(He,Ye,Et){const bn=hr(B,Ye,()=>new Map);wi=!1;const Qn=Se({transformedValue:He,cacheTransformedValue:mi});return wi?bn.set(Et,{originalValue:Qn,transformedValue:He}):bn.delete(Et),Qn}}}function aa(T){return T._defaultFn!==jr?T._defaultFn():T._defaultValue!==jr?T._defaultValue:jr}class $e{constructor(B,K,Se,He){C(this,\"path\"),C(this,\"expectedTypeName\"),C(this,\"actualValue\"),C(this,\"typeCheckedValue\"),C(this,\"message\"),this.path=B,this.expectedTypeName=K,this.actualValue=Se,this.typeCheckedValue=He;let Ye=[];this.typeCheckedValue&&Zt(this.typeCheckedValue,!0)&&(Ye=Wu(this.typeCheckedValue).path);const Et=Zt(this.actualValue,!0)?mn(this.actualValue):this.actualValue;this.message=`TypeCheckError: [/${[...Ye,...this.path].join(\"/\")}] Expected a value of type <${this.expectedTypeName}> but got the value <${JSON.stringify(Et)}> instead`}throw(){throw xe(this.message)}}const dn=[],Un=new WeakMap;var ar;(function(T){T.Object=\"object\",T.Array=\"array\",T.Primitive=\"primitive\",T.Any=\"any\"})(ar||(ar={}));function Rr(T){return ae(T)?ar.Array:ye(T)?ar.Object:Oe(T)?ar.Primitive:ar.Any}function Ro(T){let B=T;for(;B;){const K=Un.get(B);K&&(Un.delete(B),K.forEach(Se=>Se.invalidateCachedResult(B))),B=Qc(B)}}const Vo=new WeakMap;function Co(T){const B=Vo.get(T);B&&(B.forEach(K=>K.invalidateSnapshotProcessorCachedResult(T)),Vo.delete(T))}class Mo{constructor(B,K,Se,He,Ye,Et,bn){C(this,\"baseType\"),C(this,\"_check\"),C(this,\"getTypeName\"),C(this,\"typeInfoGen\"),C(this,\"snapshotType\"),C(this,\"_fromSnapshotProcessor\"),C(this,\"_toSnapshotProcessor\"),C(this,\"checkResultCache\"),C(this,\"unchecked\"),C(this,\"_cachedTypeInfoGen\"),C(this,\"fromSnapshotProcessor\",Qn=>this._fromSnapshotProcessor(Qn)),C(this,\"_toSnapshotProcessorCache\",new WeakMap),C(this,\"toSnapshotProcessor\",Qn=>{if(typeof Qn!=\"object\"||Qn===null)return this._toSnapshotProcessor(Qn);if(this._toSnapshotProcessorCache.has(Qn))return this._toSnapshotProcessorCache.get(Qn);const yr=this._toSnapshotProcessor(Qn);return this._toSnapshotProcessorCache.set(Qn,yr),hr(Vo,Qn,()=>new Set).add(this),yr}),this.baseType=B,this._check=K,this.getTypeName=Se,this.typeInfoGen=He,this.snapshotType=Ye,this._fromSnapshotProcessor=Et,this._toSnapshotProcessor=bn,this.unchecked=!K,this._cachedTypeInfoGen=qt(He)}createCacheIfNeeded(){return this.checkResultCache||(this.checkResultCache=new WeakMap),this.checkResultCache}setCachedResult(B,K){this.createCacheIfNeeded().set(B,K),hr(Un,B,()=>new Set).add(this)}invalidateCachedResult(B){var K;(K=this.checkResultCache)==null||K.delete(B)}getCachedResult(B){var K;return(K=this.checkResultCache)==null?void 0:K.get(B)}check(B,K,Se){if(this.unchecked)return null;if(!Zt(B,!0))return this._check(B,K,Se);let He=this.getCachedResult(B);return He===void 0&&(He=this._check(B,dn,void 0),this.setCachedResult(B,He)),He?new $e([...K,...He.path],He.expectedTypeName,He.actualValue,Se):null}get typeInfo(){return this._cachedTypeInfoGen(this)}invalidateSnapshotProcessorCachedResult(B){this._toSnapshotProcessorCache.delete(B)}}const qo=Symbol(\"lateTypeCheker\");function ti(T,B){let K;const Se=function(){return K||(K=T(),K)};Se[qo]=!0;const He=qt(B);return Object.defineProperty(Se,\"typeInfo\",{enumerable:!0,configurable:!0,get(){return He(Se)}}),Se}function pi(T){return typeof T==\"function\"&&qo in T}class ni{constructor(B){C(this,\"thisType\"),this.thisType=B}}function si(T){const K=Ir(T).typeInfo;if(!K)throw xe(`type info not found for ${T}`);return K}const Oi=new WeakMap;function Ki(T){if(!ru(T)&&typeof T==\"function\"){const B=T;return ti(()=>Ki(B()),Se=>new ca(Se,B()))}else{const B=T,K=Oi.get(B);if(K)return K;const Se=Ye=>new ca(Ye,B),He=ti(()=>{const Ye=Mn.get(B),Et=`Model(${Ye.name})`,bn=Ue(B).dataType,Qn=bn?Dr(bn):void 0,yr=new Mo(ar.Object,(vr,no,Wo)=>vr instanceof B?Qn?Qn.check(vr.$,no,Wo):null:new $e(no,Et,vr,Wo),()=>Et,Se,vr=>ye(vr)?vr[re]!==void 0?vr[re]===Ye.name?yr:null:Qn&&Qn.snapshotType(vr)?yr:null:null,vr=>vr[re]?vr:Mu(Rs({},vr),{[re]:Ye.name}),vr=>vr);return yr},Se);return Oi.set(B,He),He}}class ca extends ni{constructor(B,K){super(B),C(this,\"modelClass\"),C(this,\"_props\",qt(()=>{const Se=Mr(this.modelClass),He={};return Object.keys(Se).forEach(Ye=>{const Et=Se[Ye],bn=Et._typeChecker;let Qn;bn&&(Qn=si(bn));let yr=!1,vr;Et._defaultFn!==jr?(vr=Et._defaultFn,yr=!0):Et._defaultValue!==jr&&(vr=Et._defaultValue,yr=!0),He[Ye]={type:bn,typeInfo:Qn,hasDefault:yr,default:vr}}),He})),this.modelClass=K}get props(){return this._props()}get modelType(){return Mn.get(this.modelClass).name}}function zi(){lr(T=>ru(T)?Ki(T):void 0)}const br=[];function Re(T){Ze(T,\"literal\");let B;switch(T){case void 0:B=\"undefined\";break;case null:B=\"null\";break;default:B=JSON.stringify(T);break}const K=He=>new je(He,T),Se=new Mo(ar.Primitive,(He,Ye,Et)=>He===T?null:new $e(Ye,B,He,Et),()=>B,K,He=>He===T?Se:null,hn,hn);return Se}class je extends ni{constructor(B,K){super(B),C(this,\"literal\"),this.literal=K}}const nt=Re(void 0);br.push(T=>T===void 0?nt:void 0);const rt=Re(null);br.push(T=>T===null?rt:void 0);const Xt=new Mo(ar.Primitive,(T,B,K)=>typeof T==\"boolean\"?null:new $e(B,\"boolean\",T,K),()=>\"boolean\",T=>new fn(T),T=>typeof T==\"boolean\"?Xt:null,hn,hn);br.push(T=>T===Boolean?Xt:void 0);class fn extends ni{}const Cn=new Mo(ar.Primitive,(T,B,K)=>typeof T==\"number\"?null:new $e(B,\"number\",T,K),()=>\"number\",T=>new Yn(T),T=>typeof T==\"number\"?Cn:null,hn,hn);br.push(T=>T===Number?Cn:void 0);class Yn extends ni{}const Ae=new Mo(ar.Primitive,(T,B,K)=>typeof T==\"string\"?null:new $e(B,\"string\",T,K),()=>\"string\",T=>new Ke(T),T=>typeof T==\"string\"?Ae:null,hn,hn);br.push(T=>T===String?Ae:void 0);class Ke extends ni{}function Mt(){br.forEach(T=>{lr(T)})}let Ut=!1;function kn(){Ut||(Ut=!0,zi(),Mt())}const Zn=[];function lr(T){Zn.push(T)}function wr(T){kn();for(const B of Zn){const K=B(T);if(K)return K}}function Dr(T){let B=T;for(;;){if(B instanceof Mo)return B;if(pi(B))B=B();else{const K=wr(T);if(K)return Dr(K);throw xe(\"type checker could not be resolved\")}}}function go(T){if(T instanceof Mo||pi(T))return T;{const B=wr(T);return B||void 0}}function Ir(T){const B=go(T);if(B)return B;throw xe(\"standard type could not be resolved\")}const Jr=new WeakMap,_o=new WeakMap;function No(T){return Jr.get(T)}function ii(T,B){if(!B||!T)return;const K=No(B.parent);if(K)return{parentSnapshot:K,parentPath:B}}const Lo=(0,r.action)(\"unsetInternalSnapshot\",T=>{const B=No(T);B&&(Jr.delete(T),B.atom.reportChanged())}),ai=(0,r.action)(\"setNewInternalSnapshot\",(T,B,K,Se=!1)=>{const He={untransformed:B,transformFn:K,transformed:K?K(B):B,atom:(0,r.createAtom)(\"snapshot\")};_o.set(He.untransformed,Se),He.transformed!==void 0&&_o.set(He.transformed,Se),Jr.set(T,He),He.atom.reportChanged()}),Si=(0,r.action)(\"updateInternalSnapshot\",(T,B)=>{const K=No(T);let Se=K.untransformed;_o.get(Se)?Array.isArray(Se)?Se=Se.slice():Se=Object.assign({},Se):Co(Se),B(Se),K.untransformed=Se,K.transformed=K.transformFn?K.transformFn(Se):Se,_o.set(K.untransformed,!1),K.transformed!==void 0&&_o.set(K.transformed,!1),K.atom.reportChanged();const Ye=ii(K,Xs(T));if(Ye){const{parentSnapshot:Et,parentPath:bn}=Ye;if(Et){const Qn=bn.path;Si(bn.parent,yr=>{yr[Qn]=K.transformed})}}});function Ui(T){T.atom.reportObserved()}function ln(T){if(Oe(T))return T;const B=_o.get(T);if(B===void 0||B===!0)return T;if(Array.isArray(T))for(let K=0;K<T.length;K++)ln(T[K]);else{const K=Object.keys(T);for(let Se=0;Se<K.length;Se++)ln(T[K[Se]])}return _o.set(T,!0),T}function mn(T,B){let K=hn,Se;if(arguments.length>=2?(K=Dr(T).toSnapshotProcessor,Se=B):Se=T,Oe(Se))return K(Se);Wt(Se,\"nodeOrPrimitive\");const He=No(Se);if(!He)throw xe(\"getSnapshot is not supported for this kind of object\");return ln(He.transformed),Ui(He),K(He.transformed)}function fr(T,B){const K=Dr(T);return K.unchecked?null:K.check(B,[],B)}let ft=\"useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict\",ct=(T=21)=>{let B=\"\",K=T;for(;K--;)B+=ft[Math.random()*64|0];return B};var tn;(function(T){T.DevModeOnly=\"devModeOnly\",T.AlwaysOn=\"alwaysOn\",T.AlwaysOff=\"alwaysOff\"})(tn||(tn={}));let An=0;const Rt=ct();function un(){const T=An.toString(36)+\"-\"+Rt;return An++,T}let Dn={modelAutoTypeChecking:tn.DevModeOnly,modelIdGenerator:un,allowUndefinedArrayElements:!1,showDuplicateModelNameWarnings:!0};function dr(T){Dn=Object.freeze(Rs(Rs({},Dn),T))}function Ar(){return Dn}function Gr(){switch(Ar().modelAutoTypeChecking){case tn.DevModeOnly:return ve;case tn.AlwaysOff:return!1;case tn.AlwaysOn:return!0;default:throw xe(`invalid 'modelAutoTypeChecking' config value - ${Dn.modelAutoTypeChecking}`)}}const Pr=Symbol(\"modelInitializers\");function Xr(T,B){let K=T[Pr];K||(K=[],T[Pr]=K),K.push(B)}function oo(T){return T[Pr]}function io(T,B){const K=oo(T);if(K){const Se=K.length;for(let He=0;He<Se;He++)K[He](B)}}function to(){return!W()||!!L()}function To(){if(!to())throw xe(\"data changes must be performed inside model actions\")}let jn=!0;function W(){return jn}function P(T){jn=T}const k=[];function z(){return!W()||!!L()}function Q(T){z()?k.push(T):T()}let F=!1;function V(){if(!(z()||F)){F=!0;try{for(;k.length>0;)k.shift()()}finally{F=!1}}}var U;(function(T){T.OnInit=\"$$onInit\",T.OnLazyInit=\"$$onLazyInit\",T.OnAttachedToRootStore=\"$$onAttachedToRootStore\",T.OnAttachedToRootStoreDisposer=\"$$onAttachedToRootStoreDisposer\"})(U||(U={}));const ge=new Set(Object.values(U));function ke(T){return ge.has(T)}const St=new WeakMap;function Je(T){let B=St.get(T);return B||(B={shallow:new Set,shallowAtom:(0,r.createAtom)(\"shallowChildrenAtom\"),deep:new Set,deepDirty:!0,deepAtom:(0,r.createAtom)(\"deepChildrenAtom\"),extensionsData:ir()},St.set(T,B)),B}function Ot(T){const B=Je(T);return B.shallowAtom.reportObserved(),B.shallow}function It(T){const B=Je(T);return B.deepDirty&&Vt(T),B.deepAtom.reportObserved(),B}function jt(T,B){B.deep.add(T),Vn.forEach((K,Se)=>{K.addNode(T,B.extensionsData.get(Se))})}const Vt=(0,r.action)(T=>{const B=Je(T);if(!B.deepDirty)return B;const K={deep:new Set,extensionsData:ir()},Se=B.shallow.values();let He=Se.next();for(;!He.done;){jt(He.value,K);const Et=Vt(He.value).deep.values();let bn=Et.next();for(;!bn.done;)jt(bn.value,K),bn=Et.next();He=Se.next()}return Object.assign(B,K),B.deepDirty=!1,B.deepAtom.reportChanged(),B}),Pn=(0,r.action)((T,B)=>{const K=Je(T);K.shallow.add(B),K.shallowAtom.reportChanged(),vn(T)}),Jn=(0,r.action)((T,B)=>{const K=Je(T);K.shallow.delete(B),K.shallowAtom.reportChanged(),vn(T)});function vn(T){const B=Je(T);B.deepDirty||(B.deepDirty=!0,B.deepAtom.reportChanged());const K=Ku(T);K&&vn(K)}const Vn=new Map;function zt(T){const B={};return Vn.set(B,T),K=>K.extensionsData.get(B)}function ir(){const T=new WeakMap;return Vn.forEach((B,K)=>{T.set(K,B.initData())}),T}var nr;(function(T){T.ParentFirst=\"parentFirst\",T.ChildrenFirst=\"childrenFirst\"})(nr||(nr={}));function ur(T,B,K){return Wt(T,\"root\"),K===nr.ParentFirst?sr(T,B):Ln(T,B)}function sr(T,B){const K=[T];for(;K.length>0;){const Se=K.pop(),He=B(Se);if(He!==void 0)return He;const Ye=Ot(Se);K.length+=Ye.size;let Et=K.length-1;const bn=Ye.values();let Qn=bn.next();for(;!Qn.done;)K[Et--]=Qn.value,Qn=bn.next()}}function Ln(T,B){const K=Ot(T).values();let Se=K.next();for(;!Se.done;){const Ye=Ln(Se.value,B);if(Ye!==void 0)return Ye;Se=K.next()}const He=B(T);if(He!==void 0)return He}function Bt(T,B,K){let Se=T.get(K);return Se||(Se=(0,r.computed)(()=>_n(K,B,He=>Bt(T,B,He))),T.set(K,Se)),Se.get()}function En(T){const B=new WeakMap;return{walk:K=>Bt(B,T,K)}}function _n(T,B,K){let Se;const He=B(T),Ye=Ot(T),Et=Ye.values();let bn=Et.next();if(He===void 0&&Ye.size===1)return K(bn.value);for(;!bn.done;){const Qn=K(bn.value);if(Qn){Se||(Se=new Map);const yr=Qn.keys();let vr=yr.next();for(;!vr.done;){const no=vr.value,Wo=Qn.get(no);Se.set(no,Wo),vr=yr.next()}}bn=Et.next()}return He!==void 0&&(Se||(Se=new Map),Se.set(He,T)),Se}const cr=new WeakMap,ao=new WeakSet,kr=(0,r.action)(\"attachToRootStore\",(T,B)=>{const K=[];ur(B,He=>{ao.has(He)||(ao.add(He),He instanceof ja&&He.onAttachedToRootStore&&(Tu(He,\"onAttachedToRootStore\",U.OnAttachedToRootStore),K.push(He)))},nr.ParentFirst);const Se=K.length;for(let He=0;He<Se;He++){const Ye=K[He],Et=Ye.onAttachedToRootStore(T);Et&&cr.set(Ye,Et)}}),jo=(0,r.action)(\"detachFromRootStore\",T=>{const B=[];ur(T,Se=>{if(!ao.delete(Se))return;const He=cr.get(Se);if(He){const Ye=is({nameOrNameFn:U.OnAttachedToRootStoreDisposer,fn:He,actionType:M.Sync}).bind(Se);cr.delete(Se),B.push(Ye)}},nr.ChildrenFirst);const K=B.length;for(let Se=0;Se<K;Se++)B[Se]()}),ui=new WeakMap,Vr=T=>hr(ui,T,()=>({atom:(0,r.createAtom)(\"rootStore\"),is:!1})),ho=(0,r.action)(\"registerRootStore\",T=>{Wt(T,\"node\");const B=Vr(T);if(B.is)throw xe(\"object already registered as root store\");if(!hl(T))throw xe(\"a root store must not have a parent\");return B.is=!0,kr(T,T),B.atom.reportChanged(),T}),vo=(0,r.action)(\"unregisterRootStore\",T=>{if(!uo(T))throw xe(\"not a root store\");const B=Vr(T);B.is=!1,jo(T),B.atom.reportChanged()});function uo(T){return Wt(T,\"node\"),Go(T)}function Go(T){const B=Vr(T);return B.atom.reportObserved(),B.is}function Pi(T){return Wt(T,\"node\"),la(T)}function la(T){const B=Du(T);return Go(B)?B:void 0}const Vi=[];class ha{constructor(){C(this,\"patches\",Vi),C(this,\"invPatches\",Vi)}reset(){this.patches=Vi,this.invPatches=Vi}record(B,K){this.patches=B,this.invPatches=K}emit(B){Yi(B,this.patches,this.invPatches,!0),this.reset()}}const xa=new WeakMap,qi=[];function Jo(T,B){Wt(T,\"subtreeRoot\"),we(B,\"listener\"),(0,r.isAction)(B)||(B=(0,r.action)(B.name||\"onPatchesListener\",B));let K=xa.get(T);return K||(K=[],xa.set(T,K)),K.push(B),()=>{oe(K,B)}}function Ji(T){return we(T,\"listener\"),(0,r.isAction)(T)||(T=(0,r.action)(T.name||\"onGlobalPatchesListener\",T)),qi.push(T),()=>{oe(qi,T)}}function Yi(T,B,K,Se){if(B.length<=0&&K.length<=0)return;if(Se)for(let Et=0;Et<qi.length;Et++){const bn=qi[Et];bn(T,B,K)}const He=xa.get(T);if(He)for(let Et=0;Et<He.length;Et++){const bn=He[Et];bn(B,K)}const Ye=Xs(T);if(Ye){const Et=Ye.path,bn=B.map(yr=>Ii(yr,Et)),Qn=K.map(yr=>Ii(yr,Et));Yi(Ye.parent,bn,Qn,!1)}}function Ii(T,B){return Mu(Rs({},T),{path:[B,...T.path]})}function pa(T){if(Ba(T))return T.constructor[Rn];if(Va(T))return T[Rn];throw xe(\"modelClassOrInstance must be a model class or instance\")}const na=new WeakMap;function $i(T){if(!Va(T)&&typeof T==\"function\"){const B=T;return ti(()=>$i(B()),Se=>new La(Se,B()))}else{const B=T,K=na.get(B);if(K)return K;const Se=Ye=>new La(Ye,B),He=ti(()=>{const Ye=Mn.get(B),Et=`DataModelData(${Ye.name})`,bn=pa(B).dataType;if(!bn)throw xe(`type checking cannot be performed over data model data of type '${Ye.name}' since that model type has no data type declared, consider adding a data type or using types.unchecked() instead`);const Qn=Dr(bn),yr=new Mo(ar.Object,(vr,no,Wo)=>Qn.check(vr,no,Wo),()=>Et,Se,vr=>Qn.snapshotType(vr)?yr:null,vr=>Qn.fromSnapshotProcessor(vr),vr=>Qn.toSnapshotProcessor(vr));return yr},Se);return na.set(B,He),He}}class La extends ni{constructor(B,K){super(B),C(this,\"modelClass\"),C(this,\"_props\",qt(()=>{const Se=Mr(this.modelClass),He={};return Object.keys(Se).forEach(Ye=>{const Et=Se[Ye],bn=Et._typeChecker;let Qn;bn&&(Qn=si(bn));let yr=!1,vr;Et._defaultFn!==jr?(vr=Et._defaultFn,yr=!0):Et._defaultValue!==jr&&(vr=Et._defaultValue,yr=!0),He[Ye]={type:bn,typeInfo:Qn,hasDefault:yr,default:vr}}),He})),this.modelClass=K}get props(){return this._props()}get modelType(){return Mn.get(this.modelClass).name}}const ss=(0,r.action)(\"newModel\",(T,B,K)=>{const{modelClass:Se}=K,He=Se;ve&&Ls(He,\"modelClass\");const Ye=T;if(!Mn.get(He))throw xe(`no model info for class ${He.name} could be found - did you forget to add the @model decorator?`);if(Ye.$=B,ve&&De(Ye,\"$\",!0),io(He,Ye),Gr()&&pa(He).dataType){const bn=Ye.typeCheck();bn&&bn.throw()}return Ye}),Oa=new WeakMap;class Ma{constructor(B){if(C(this,w),C(this,\"$\"),!ye(B))throw xe(\"data models can only work over data objects\");const{modelClass:K}=arguments[1],Se=K;let He;if(gt(B))He=B;else{if(!Mn.get(Se))throw xe(`no model info for class ${Se.name} could be found - did you forget to add the @model decorator?`);const yr=Mr(Se),vr=Object.assign({},B),no=Object.keys(yr);for(let Wo=0;Wo<no.length;Wo++){const $o=no[Wo],Lr=yr[$o];let co=vr[$o],Do=!1;Lr._transform&&(Do=!0,co=Lr._transform.untransform(co,this,$o)),co==null&&(Lr._defaultFn!==jr?(Do=!0,co=Lr._defaultFn()):Lr._defaultValue!==jr&&(Do=!0,co=Lr._defaultValue)),Do&&(vr[$o]=co)}He=Ia(vr)}const Ye=hr(Oa,Se,()=>new WeakMap),Et=Ye.get(He);if(Et)return Et;Ye.set(He,this),Object.setPrototypeOf(this,Se.prototype);const bn=this;delete bn[kt],ss(this,He,{modelClass:Se})}typeCheck(){const B=$i(this.constructor);return fr(B,this.$)}toString(B){const K=Rs({withData:!0},B),Se=Mn.get(this.constructor),He=`${this.constructor.name}#${Se.name}`;return K.withData?`[${He} ${JSON.stringify(mn(this))}]`:`[${He}]`}}w=kt;const Ka=new Set([\"onLazyInit\",\"$\",\"typeCheck\"]);function Ba(T){return T instanceof Ma}function Ua(T,B,K=\"must be a data model instance\"){if(!Ba(T))throw xe(`${B} ${K}`)}function Va(T){return!(typeof T!=\"function\"||T!==Ma&&!(T.prototype instanceof Ma))}function Ls(T,B){if(typeof T!=\"function\")throw xe(`${B} must be a class`);if(T!==Ma&&!(T.prototype instanceof Ma))throw xe(`${B} must extend DataModel`)}var Qo;(function(T){T.DevModeOnly=\"devModeOnly\",T.On=\"on\",T.Off=\"off\"})(Qo||(Qo={}));const ws=\"$frozen\";class Za{constructor(B,K=Qo.DevModeOnly){C(this,\"data\");const Se=K===Qo.On||ve&&K===Qo.DevModeOnly;Se&&Eo(B),this.data=B,Se&&Object.freeze(this.data),ga(this,void 0)}}function rr(T,B=Qo.DevModeOnly){return new Za(T,B)}function Eo(T){if(!Oe(T)){if(Array.isArray(T)){const B=T.length;for(let K=0;K<B;K++){const Se=T[K];if(Se===void 0&&!Ar().allowUndefinedArrayElements)throw xe(\"undefined is not supported inside arrays since it is not serializable in JSON, consider using null instead\");Eo(Se)}Object.freeze(T);return}if(ce(T)){const B=Object.keys(T),K=B.length;for(let Se=0;Se<K;Se++){const He=B[Se],Ye=T[He];Eo(He),Eo(Ye)}Object.freeze(T);return}throw xe(`frozen data must be plainly serializable to JSON, but ${T} is not`)}}function Br(T){return ce(T)&&ws in T}var Ao;(function(T){T[T.Model=0]=\"Model\",T[T.Array=1]=\"Array\",T[T.PlainObject=2]=\"PlainObject\",T[T.Frozen=3]=\"Frozen\"})(Ao||(Ao={}));function Di(T,B){return bt.set(T,void 0),Tr({value:T,parentPath:B,indexChangeAllowed:!1,isDataObject:!1,cloneIfApplicable:!1}),ai(T,{[ws]:!0,data:T.data},void 0,!0),T}function Aa(){Sa(Ao.Frozen,(T,B)=>{if(T instanceof Za)return Di(T,B)})}function Na(T,B,K=0){const Se=Fa(T,B,K);return Se?Se.parent:void 0}function Fa(T,B,K=0){Wt(T,\"child\");const Se=[];let He=T,Ye=0,Et;for(;Et=Xs(He);){if(Se.unshift(Et.path),He=Et.parent,B(He))return{parent:He,path:Se};if(Ye++,K>0&&Ye===K)break}}function Bs(T,B){return Wt(T,\"node\"),!B||!B.deep?Ot(T):It(T).deep}function Ms(T,B,K){const Se=Bs(T,K),He=new Set,Ye=Se.values();let Et=Ye.next();for(;!Et.done;)B(Et.value)&&He.add(Et.value),Et=Ye.next();return He}function Qa(T,B,K){we(T,\"target\"),we(B,\"fn\");const Se=Rs({deep:!1,runForCurrentChildren:!0},K),He=new WeakMap,Ye=no=>{const Wo=He.get(no);Wo&&(He.delete(no),Wo())},Et=(no,Wo)=>{Wo&&He.set(no,Wo)},bn={deep:Se.deep},Qn=()=>{let no=T();Wt(no,\"target()\");const Wo=Bs(no,bn),$o=new Set,Lr=Wo.values();let co=Lr.next();for(;!co.done;)$o.add(co.value),co=Lr.next();return $o},yr=Se.runForCurrentChildren?new Set:Qn(),vr=reaction(()=>Qn(),no=>{const Wo=[],$o=yr.values();let Lr=$o.next();for(;!Lr.done;){const yi=Lr.value;no.has(yi)||(yr.delete(yi),Wo.push(yi)),Lr=$o.next()}if(Wo.length>0)for(let yi=Wo.length-1;yi>=0;yi--)Ye(Wo[yi]);const co=no.values();let Do=co.next();for(;!Do.done;){const yi=Do.value;yr.has(yi)||(yr.add(yi),Et(yi,B(yi))),Do=co.next()}},{fireImmediately:!0});return no=>{if(vr(),no){const Wo=yr.values();let $o=Wo.next();for(;!$o.done;){const Lr=$o.value;Ye(Lr),$o=Wo.next()}}yr.clear()}}function us(T,B){return Wt(T,\"child\"),Wt(B,\"parent\"),It(B).deep.has(T)}function Fs(T,B){return us(B,T)}let $a=!0;function Hs(T){let B=$a;$a=!1;try{T()}finally{$a=B}}function ys(){return $a}var sa;(function(T){T[T.Array=0]=\"Array\",T[T.Frozen=1]=\"Frozen\",T[T.Model=2]=\"Model\",T[T.PlainObject=3]=\"PlainObject\"})(sa||(sa={}));function Xa(T,B,K){if(!ae(T))return le(B);const Se=mn(T);return Hs(()=>{T.length>B.length&&T.splice(B.length,T.length-B.length);for(let He=0;He<T.length;He++){const Ye=T[He],Et=_t(Ye,B[He],K,T);Ht(Et,Ye,K),(0,r.set)(T,He,Et)}for(let He=T.length;He<B.length;He++)T.push(_t(void 0,B[He],K,T))}),Fr(T,void 0,Se),T}function os(){ut(sa.Array,(T,B,K)=>{if(ae(B))return Xa(T,B,K)})}function As(T,B){return T instanceof Za&&T.data===B.data?T:rr(B.data)}function oa(){ut(sa.Frozen,(T,B)=>{if(Br(B))return As(T,B)})}var di=function T(B,K){if(B===K)return!0;if(B&&K&&typeof B==\"object\"&&typeof K==\"object\"){if(B.constructor!==K.constructor)return!1;var Se,He,Ye;if(Array.isArray(B)){if(Se=B.length,Se!=K.length)return!1;for(He=Se;He--!==0;)if(!T(B[He],K[He]))return!1;return!0}if(B instanceof Map&&K instanceof Map){if(B.size!==K.size)return!1;for(He of B.entries())if(!K.has(He[0]))return!1;for(He of B.entries())if(!T(He[1],K.get(He[0])))return!1;return!0}if(B instanceof Set&&K instanceof Set){if(B.size!==K.size)return!1;for(He of B.entries())if(!K.has(He[0]))return!1;return!0}if(ArrayBuffer.isView(B)&&ArrayBuffer.isView(K)){if(Se=B.length,Se!=K.length)return!1;for(He=Se;He--!==0;)if(B[He]!==K[He])return!1;return!0}if(B.constructor===RegExp)return B.source===K.source&&B.flags===K.flags;if(B.valueOf!==Object.prototype.valueOf)return B.valueOf()===K.valueOf();if(B.toString!==Object.prototype.toString)return B.toString()===K.toString();if(Ye=Object.keys(B),Se=Ye.length,Se!==Object.keys(K).length)return!1;for(He=Se;He--!==0;)if(!Object.prototype.hasOwnProperty.call(K,Ye[He]))return!1;for(He=Se;He--!==0;){var Et=Ye[He];if(!T(B[Et],K[Et]))return!1}return!0}return B!==B&&K!==K};function ia(T,B){return T+\" \"+B}class _i{constructor(B){C(this,\"pool\");var K;B=(K=Ur.get(B))!=null?K:B,this.pool=gi(It(B))}findModelByTypeAndId(B,K){return K?this.pool.get(ia(B,K)):void 0}findModelForSnapshot(B){if(!Zs(B))return;const K=B[re],Se=Kn(K),He=cn(Se.class);return He?this.findModelByTypeAndId(B[re],B[He]):void 0}}const gi=zt({initData(){return new Map},addNode(T,B){if(Ya(T)){const K=T[me];K&&B.set(ia(T[re],K),T)}}});function fa(T,B){Wt(T,\"node\"),X(B,\"snapshot\"),xs().call(T,B)}function Pa(T){const B=this,K=()=>{const Se=new _i(B),He=_t(B,T,Se,void 0);if(ve&&He!==B)throw xe(\"assertion failed: reconciled object has to be the same\")};if(ae(T)){if(!ae(B))throw xe(\"if the snapshot is an array the target must be an array too\");return K()}if(Br(T))throw xe(\"applySnapshot cannot be used over frozen objects\");if(ce(T)&&T[re]===void 0&&Ya(B)){const Se=Mn.get(B.constructor);T=Mu(Rs({},T),{[re]:Se.name})}if(Zs(T)){const Se=T[re],He=Kn(Se);if(!He)throw xe(`model with name \"${Se}\" not found in the registry`);if(!Ya(B))throw xe(\"the target for a model snapshot must be a model instance\");if(B[re]!==Se)throw xe(`snapshot model type '${Se}' does not match target model type '${B[re]}'`);const Ye=cn(He.class);if(Ye){const Et=T[Ye];if(B[me]!==Et)throw xe(`snapshot model id '${Et}' does not match target model id '${B[me]}'`)}return K()}if(ce(T)){if(!ce(B)&&!(0,r.isObservableObject)(B))throw xe(\"if the snapshot is an object the target must be an object too\");return K()}throw he(T)?xe(\"a snapshot must not contain maps\"):ie(T)?xe(\"a snapshot must not contain sets\"):xe(`unsupported snapshot - ${T}`)}const xs=qt(()=>is({nameOrNameFn:s.ApplySnapshot,fn:Pa,actionType:M.Sync}));function Li(T,B){const K=typeof T==\"function\"?T:()=>T,Se=K();Wt(Se,\"node\");let He=mn(Se);return reaction(()=>mn(K()),Ye=>{const Et=He;He=Ye,B(Ye,Et)})}function vs(T,B){return T===B?!0:(gt(T)?T=mn(T):(0,r.isObservable)(T)&&(T=(0,r.toJS)(T,Ca)),gt(B)?B=mn(B):(0,r.isObservable)(B)&&(B=(0,r.toJS)(B,Ca)),di(T,B))}const Ca=In()>=6?void 0:{exportMapsAsObjects:!1,recurseEverything:!1};function ra(T,B,K,Se){const He=B[re],Ye=Kn(He);if(!Ye)throw xe(`model with name \"${He}\" not found in the registry`);const Et=K.findModelForSnapshot(B);if(Et&&(T=Et),!Ya(T)||T[re]!==He)return le(B);const bn=Ye.class,Qn=Mr(bn),yr=cn(bn);if(yr){const Wo=B[yr];if(T[me]!==Wo)return le(B)}else if(ae(Se)&&!vs(T,B))return le(B);const vr=T,no=mn(vr);return Hs(()=>{const Wo=vr.constructor,$o=Wo.fromSnapshotProcessor?Wo.fromSnapshotProcessor(B):B,Lr=vr.$,co=Object.keys(Lr),Do=co.length;for(let Bo=0;Bo<Do;Bo++){const Uo=co[Bo];if(!(Uo in $o)){const Gi=Qn[Uo],Ni=Gi?aa(Gi):jr;Ni===jr?(0,r.remove)(Lr,Uo):(0,r.set)(Lr,Uo,Ni)}}const yi=Object.keys($o),Fo=yi.length;for(let Bo=0;Bo<Fo;Bo++){const Uo=yi[Bo];if(!Te(Uo)){const Gi=$o[Uo],Ni=Lr[Uo];let Wi=_t(Ni,Gi,K,vr);if(Wi==null){const ba=Qn[Uo],Ss=ba?aa(ba):jr;Ss!==jr&&(Wi=Ss)}Ht(Wi,Ni,K),(0,r.set)(Lr,Uo,Wi)}}}),Fr(vr,void 0,no),vr}function Ja(){ut(sa.Model,(T,B,K,Se)=>{if(Zs(B))return ra(T,B,K,Se)})}function qa(T,B,K){if(!ce(T)&&!(0,r.isObservableObject)(T))return le(B);const Se=T,He=mn(Se);return Hs(()=>{const Ye=Object.keys(Se),Et=Ye.length;for(let yr=0;yr<Et;yr++){const vr=Ye[yr];vr in B||(0,r.remove)(Se,vr)}const bn=Object.keys(B),Qn=bn.length;for(let yr=0;yr<Qn;yr++){const vr=bn[yr],no=B[vr],Wo=Se[vr],$o=_t(Wo,no,K,Se);Ht($o,Wo,K),(0,r.set)(Se,vr,$o)}}),Fr(Se,void 0,He),Se}function Ts(){ut(sa.PlainObject,(T,B,K)=>{if(ce(B))return qa(T,B,K)})}let v=!1;function G(){v||(v=!0,os(),oa(),Ja(),Ts())}const ze=[];function ut(T,B){ze.push({priority:T,reconciler:B}),ze.sort((K,Se)=>K.priority-Se.priority)}function _t(T,B,K,Se){if(Oe(B))return B;if(mn(T)===B)return T;G();const He=ze.length;for(let Ye=0;Ye<He;Ye++){const{reconciler:Et}=ze[Ye],bn=Et(T,B,K,Se);if(bn!==void 0)return bn}throw he(B)?xe(\"a snapshot must not contain maps\"):ie(B)?xe(\"a snapshot must not contain sets\"):xe(`unsupported snapshot - ${B}`)}function Ht(T,B,K){if(T!==B&&Ya(T)&&K.findModelByTypeAndId(T[re],T[me])){const Se=yu(T);Se&&(0,r.set)(Se.parent,Se.path,null)}}function $t(T,B,K=!1){Wt(T,\"node\"),!(B.length<=0)&&On().call(T,B,K)}function wn(T,B=!1){const K=this,Se=new _i(K);if(B){let He=T.length;for(;He--;){const Ye=T[He];if(!ae(Ye))$n(K,Ye,Se);else{let Et=Ye.length;for(;Et--;)$n(K,Ye[Et],Se)}}}else{const He=T.length;for(let Ye=0;Ye<He;Ye++){const Et=T[Ye];if(!ae(Et))$n(K,Et,Se);else{const bn=Et.length;for(let Qn=0;Qn<bn;Qn++)$n(K,Et[Qn],Se)}}}}const On=qt(()=>is({nameOrNameFn:s.ApplyPatches,fn:wn,actionType:M.Sync}));function $n(T,B,K){const{target:Se,prop:He}=gr(T,B.path);if(ae(Se))switch(B.op){case\"add\":{const Ye=+He,Et=_t(void 0,B.value,K,Se);Se.splice(Ye,0,Et);break}case\"remove\":{const Ye=+He;Se.splice(Ye,1);break}case\"replace\":{if(He===\"length\")Se.length=B.value;else{const Ye=+He,Et=_t(Se[Ye],B.value,K,Se);(0,r.set)(Se,Ye,Et)}break}default:throw xe(`unsupported patch operation: ${B.op}`)}else switch(B.op){case\"add\":{const Ye=_t(void 0,B.value,K,Se);(0,r.set)(Se,He,Ye);break}case\"remove\":{(0,r.remove)(Se,He);break}case\"replace\":{const Ye=_t(Se[He],B.value,K,Se);(0,r.set)(Se,He,Ye);break}default:throw xe(`unsupported patch operation: ${B.op}`)}}function gr(T,B){if(ve&&!ae(B))throw xe(`invalid path: ${B}`);let K=Gt(T);if(B.length===0)return{target:K};for(let Se=0;Se<=B.length-2;Se++)K=Gt(K[B[Se]]);return{target:K,prop:B[B.length-1]}}function Fr(T,B,K){if(ys()&&(Ro(T),Gr())){const Se=Qr(T);if(Se){const He=Se.typeCheck();He&&(Xn(()=>{B?wn.call(T,B.invPatches,!0):K&&Pa.call(T,K)}),He.throw())}}}function Qr(T){const B=gn(T);return T!==B&&(T=B,Ya(T)&&Ue(T).dataType)?T:Na(T,K=>Ya(K)&&!!Ue(K).dataType)}function qr(T,B,K,Se,He){const Ye=T,Et=(0,r.isObservableObject)(Ye)?Ye:r.observable.object({},void 0,mo);let bn,Qn;const yr=()=>{bn(),Qn()};bt.set(Et,yr),Tr({value:Et,parentPath:B,indexChangeAllowed:!1,isDataObject:He,cloneIfApplicable:!1});let vr={};const no=Object.keys(Ye),Wo=no.length;for(let Lr=0;Lr<Wo;Lr++){const co=no[Lr],Do=Ye[co];if(Oe(Do))Se||(0,r.set)(Et,co,Do),vr[co]=Do;else{const yi={parent:Et,path:co};let Fo;Se?(Fo=Do,Tr({value:Fo,parentPath:yi,indexChangeAllowed:!1,isDataObject:!1,cloneIfApplicable:!1})):(Fo=ga(Do,yi),(0,r.set)(Et,co,Fo));const Bo=No(Fo);vr[co]=Bo.transformed}}let $o;if(K){vr[re]=K;const Lr=Kn(K);if(!Lr)throw xe(`model with name \"${K}\" not found in the registry`);const co=Lr.class.toSnapshotProcessor;co&&($o=Do=>co(Do,gn(Et)))}return ai(He?gn(Et):Et,vr,$o),bn=(0,r.intercept)(Et,Yo),Qn=(0,r.observe)(Et,ea),Et}const mo={deep:!1};function Ho(T,B,K){K[T]=B}function fo(T,B){delete B[T]}const ei=new ha;function ea(T){const B=T.object,K=gn(B);let Se=No(K).untransformed;ei.reset();let He;switch(T.type){case\"add\":case\"update\":He=hi(T,Se);break;case\"remove\":He=Xi(T,Se);break}Fr(B,ei),!Dt&&He&&(Si(K,He),ei.emit(K))}function Xi(T,B){const K=T.name,Se=B[K],He=fo.bind(void 0,K),Ye=[K];return ei.record([{op:\"remove\",path:Ye}],[{op:\"add\",path:Ye,value:ln(Se)}]),He}function hi(T,B){const K=T.name,Se=T.newValue,He=B[K];let Ye;Oe(Se)?Ye=Se:Ye=No(Se).transformed;const Et=Ho.bind(void 0,K,Ye),bn=[K];return T.type===\"add\"?ei.record([{op:\"add\",path:bn,value:ln(Ye)}],[{op:\"remove\",path:bn}]):ei.record([{op:\"replace\",path:bn,value:ln(Ye)}],[{op:\"replace\",path:bn,value:ln(He)}]),Et}function Yo(T){if(To(),typeof T.name==\"symbol\")throw xe(\"symbol properties are not supported\");switch(T.type){case\"add\":T.newValue=ga(T.newValue,{parent:T.object,path:\"\"+T.name});break;case\"remove\":{const B=T.object[T.name];ga(B,void 0),Fi(B);break}case\"update\":{const B=T.object[T.name];ga(B,void 0),Fi(B),T.newValue=ga(T.newValue,{parent:T.object,path:\"\"+T.name});break}}return T}function Bi(){Sa(Ao.PlainObject,(T,B)=>{if((0,r.isObservableObject)(T)||ce(T))return qr(T,B,void 0,!1,!1)})}let _a=!1;function wa(){_a||(_a=!0,Yc(),Aa(),Ko(),Bi())}function Ia(T,B){let K,Se,He;if(arguments.length===1?(He=!1,K=T):(Se=T,He=!0,K=B),!ye(K))throw xe(\"only objects can be turned into tree nodes\");if(He&&Gr()){const Ye=fr(Se,K);Ye&&Ye.throw()}return Zt(K,!0)?K:ga(K,void 0)}const tr=[];function Sa(T,B){tr.push({priority:T,tweaker:B}),tr.sort((K,Se)=>K.priority-Se.priority)}function Ta(T,B){if(Oe(T))return T;if(Zt(T,!0))return T=Tr({value:T,parentPath:B,indexChangeAllowed:!1,isDataObject:!1,cloneIfApplicable:!0}),T;if(Ba(T))throw xe(\"data models are not directly supported. you may insert the data in the tree instead ('$' property).\");wa();const K=tr.length;for(let Se=0;Se<K;Se++){const{tweaker:He}=tr[Se],Ye=He(T,B);if(Ye!==void 0)return Ye}throw he(T)?xe(\"maps are not directly supported. consider using 'ObjectMap' / 'asMap' instead.\"):ie(T)?xe(\"sets are not directly supported. consider using 'ArraySet' / 'asSet' instead.\"):xe(`tweak can only work over models, observable objects/arrays, or primitives, but got ${T} instead`)}const ga=(0,r.action)(\"tweak\",Ta);function Fi(T){if(Oe(T))return!0;if(ve&&Ku(T))throw xe(\"assertion failed: object cannot be untweaked while it has a parent\");const B=bt.get(T);if(!B)return!1;const K=Array.from(Ot(T).values());for(let Se=0;Se<K.length;Se++)Tr({value:K[Se],parentPath:void 0,indexChangeAllowed:!1,isDataObject:!1,cloneIfApplicable:!1});return B(),bt.delete(T),Lo(T),!0}function Cs(T,B,K){const Se=T,He=Se.length,Ye=(0,r.isObservableArray)(Se)?Se:r.observable.array(void 0,Kc);Ye!==Se&&(Ye.length=Se.length);let Et,bn;const Qn=()=>{Et(),bn()};bt.set(Ye,Qn),Tr({value:Ye,parentPath:B,indexChangeAllowed:!1,isDataObject:!1,cloneIfApplicable:!1});const yr=[];yr.length=He;for(let vr=0;vr<He;vr++){const no=Se[vr];if(Oe(no))K||(0,r.set)(Ye,vr,no),yr[vr]=no;else{const Wo={parent:Ye,path:vr};let $o;K?($o=no,Tr({value:$o,parentPath:Wo,indexChangeAllowed:!1,isDataObject:!1,cloneIfApplicable:!1})):($o=ga(no,Wo),(0,r.set)(Ye,vr,$o));const Lr=No($o);yr[vr]=Lr.transformed}}return ai(Ye,yr,void 0),Et=(0,r.intercept)(Ye,Tc.bind(void 0,Ye)),bn=(0,r.observe)(Ye,gs),Ye}function yn(T,B,K){K[T]=B}function zs(T,B,K,Se){Se.splice(T,B,...K)}const ds=new ha;function gs(T){const B=T.object;let K=No(B).untransformed;ds.reset();let Se;switch(T.type){case\"splice\":Se=Gs(T,K);break;case\"update\":Se=Ac(T,K);break}Fr(B,ds),!Dt&&Se&&(Si(B,Se),ds.emit(B))}const Wa=\"undefined is not supported inside arrays since it is not serializable in JSON, consider using null instead\";function Ac(T,B){const K=T.index,Se=T.newValue,He=B[K];let Ye;Oe(Se)?Ye=Se:Ye=No(Se).transformed;const Et=yn.bind(void 0,K,Ye),bn=[K];return ds.record([{op:\"replace\",path:bn,value:ln(Ye)}],[{op:\"replace\",path:bn,value:ln(He)}]),Et}function Gs(T,B){const K=T.index,Se=T.addedCount,He=T.removedCount;let Ye=[];Ye.length=Se;for(let vr=0;vr<Se;vr++){const no=T.added[vr];Oe(no)?Ye[vr]=no:Ye[vr]=No(no).transformed}const Et=B.length,bn=zs.bind(void 0,K,He,Ye),Qn=[],yr=[];if(Se===He){const vr=[],no=[];let Wo=0;for(let $o=0;$o<Se;$o++){const Lr=K+$o,co=rc(B,Lr,K,He,Ye),Do=B[Lr];if(co!==Do){const yi=[Lr-Wo];Qn.push({op:\"remove\",path:yi}),yr.push({op:\"remove\",path:yi}),Wo++;const Fo=[Lr];vr.push({op:\"add\",path:Fo,value:ln(co)}),no.push({op:\"add\",path:Fo,value:ln(Do)})}}Qn.push(...vr),yr.push(...no),yr.reverse()}else{const vr=Et-He;if(He>0){const no=K>=vr;no&&Qn.push({op:\"replace\",path:[\"length\"],value:vr});for(let Wo=He-1;Wo>=0;Wo--){const $o=K+Wo,Lr=[$o];no||Qn.push({op:\"remove\",path:Lr}),yr.push({op:\"add\",path:Lr,value:ln(B[$o])})}}if(Se>0){const no=K>=vr;no&&yr.push({op:\"replace\",path:[\"length\"],value:vr});for(let Wo=0;Wo<Se;Wo++){const $o=K+Wo,Lr=[$o];Qn.push({op:\"add\",path:Lr,value:ln(rc(B,$o,K,He,Ye))}),no||yr.push({op:\"remove\",path:Lr})}}}return ds.record(Qn,yr),bn}function Tc(T,B){switch(To(),B.type){case\"splice\":Pc(B);break;case\"update\":pu(B,T);break}return B}function pu(T,B){if(ve&&!Ar().allowUndefinedArrayElements&&T.newValue===void 0)throw xe(Wa);const K=B[T.index];ga(K,void 0),Fi(K),T.newValue=ga(T.newValue,{parent:B,path:T.index})}function Pc(T){if(ve&&!Ar().allowUndefinedArrayElements){const Se=T.added.length;for(let He=0;He<Se;He++)if(T.added[He]===void 0)throw xe(Wa)}for(let Se=0;Se<T.removedCount;Se++){const He=T.object[T.index+Se];ga(He,void 0),Fi(He)}for(let Se=0;Se<T.added.length;Se++)T.added[Se]=ga(T.added[Se],{parent:T.object,path:T.index+Se});const B=T.index+T.removedCount,K=T.index+T.added.length;if(B!==K)for(let Se=B,He=K;Se<T.object.length;Se++,He++)Tr({value:T.object[Se],parentPath:{parent:T.object,path:He},indexChangeAllowed:!0,isDataObject:!1,cloneIfApplicable:!1})}function Yc(){Sa(Ao.Array,(T,B)=>{if(ae(T))return Cs(T,B,!1)})}const Kc={deep:!1};function rc(T,B,K,Se,He){const Ye=B-K;return Ye<0?T[B]:Ye<He.length?He[Ye]:T[B-He.length+Se]}function qc(T,B){const K=r.observable.array([],Qt),Se=T.length;for(let He=0;He<Se;He++)K.push(st(T[He],B));return Cs(K,void 0,!0)}function Ns(){kc(sa.Array,(T,B)=>{if(ae(T))return qc(T,B)})}function Au(){kc(sa.Frozen,T=>{if(Br(T))return rr(T.data)})}function yc(T,B){const K=T[re];if(!K)throw xe(`a model snapshot must contain a type key (${re}), but none was found`);const Se=Kn(K);if(!Se)throw xe(`model with name \"${K}\" not found in the registry`);const He=cn(Se.class);if(He&&T[He]===void 0)throw xe(`a model snapshot of type '${K}' must contain an id key (${He}), but none was found`);return new Se.class(void 0,{snapshotInitialData:{unprocessedSnapshot:T,snapshotToInitialData:B.snapshotToInitialData},generateNewIds:B.options.generateNewIds})}function gu(){kc(sa.Model,(T,B)=>{if(Zs(T))return yc(T,B)})}function bc(T,B){const K=r.observable.object({},void 0,Qt),Se=Object.keys(T),He=Se.length;for(let Ye=0;Ye<He;Ye++){const Et=Se[Ye],bn=T[Et];(0,r.set)(K,Et,st(bn,B))}return qr(K,void 0,void 0,!0,!1)}function Ic(){kc(sa.PlainObject,(T,B)=>{if(ce(T))return bc(T,B)})}let vu=!1;function Yu(){vu||(vu=!0,Ns(),Au(),gu(),Ic())}const oc=[];function kc(T,B){oc.push({priority:T,snapshotter:B}),oc.sort((K,Se)=>K.priority-Se.priority)}function le(T,B,K){let Se,He;if(pi(T)||T instanceof Mo||ru(T)){const Ye=Dr(T);Se=Ye.fromSnapshotProcessor?Ye.fromSnapshotProcessor(B):B,He=K}else Se=T,He=B;return Be(Se,He)}const Be=(0,r.action)(\"fromSnapshot\",(T,B)=>{const Se={options:Rs({generateNewIds:!1,overrideRootModelId:void 0},B)};return Se.snapshotToInitialData=it.bind(void 0,Se),st(T,Se)});function st(T,B){if(Oe(T))return T;Yu();const K=oc.length;for(let Se=0;Se<K;Se++){const{snapshotter:He}=oc[Se],Ye=He(T,B);if(Ye!==void 0)return Ye}throw he(T)?xe(\"a snapshot must not contain maps\"):ie(T)?xe(\"a snapshot must not contain sets\"):xe(`unsupported snapshot - ${T}`)}function it(T,B){const K=r.observable.object({},void 0,Qt),Se=Object.keys(B),He=Se.length;for(let Ye=0;Ye<He;Ye++){const Et=Se[Ye];if(!Te(Et)){const bn=B[Et];(0,r.set)(K,Et,st(bn,T))}}return K}const Qt={deep:!1};function qn(T,B){Wt(T,\"node\");const K=Rs({generateNewIds:!0},B),Se=mn(T);return le(Se,K)}const Tr=(0,r.action)(\"setParent\",({value:T,parentPath:B,indexChangeAllowed:K,isDataObject:Se,cloneIfApplicable:He})=>{if(Oe(T))return T;if(ve){if(K&&He)throw xe(\"assertion failed: 'indexChangeAllowed' and 'cloneIfApplicable' cannot be set at the same time\");if(typeof T==\"function\"||typeof T==\"symbol\")throw xe(\"assertion failed: value cannot be a function or a symbol\");if(!Zt(T,!0))throw xe(\"assertion failed: value is not ready to take a parent\");if(B&&!Zt(B.parent,!0))throw xe(\"assertion failed: parent is not ready to take children\")}let Ye=Xs(T);if(Wr(Ye,B))return T;if(Go(T))throw xe(\"root stores cannot be attached to any parents\");if(Se)return Ur.set(T,B.parent),T;if(B){const bn=gn(B.parent);B.parent!==bn&&(B={parent:bn,path:B.path})}if(He&&(B!=null&&B.parent)&&(Ye!=null&&Ye.parent)&&Ya(T)&&Ue(T).valueType&&(T=qn(T,{generateNewIds:!0}),Ye=Xs(T)),Ye&&B){if(Ye.parent===B.parent&&K)return pr.set(T,B),ko(T),T;throw xe(\"an object cannot be assigned a new parent when it already has one\")}const Et=()=>{Ye!=null&&Ye.parent&&Jn(Ye.parent,T),pr.set(T,B),B!=null&&B.parent&&Pn(B.parent,T),ko(T)};if(T instanceof ja){const bn=Du(T),Qn=Go(bn)?bn:void 0;Et();const yr=Du(T),vr=Go(yr)?yr:void 0;Qn!==vr&&(Qn||vr)&&Q(()=>{Qn&&jo(T),vr&&kr(vr,T)})}else Et();return T});function bo(T,B){return bt.set(T,void 0),Tr({value:T,parentPath:B,indexChangeAllowed:!1,isDataObject:!1,cloneIfApplicable:!0}),T}function Ko(){Sa(Ao.Model,(T,B)=>{if(Ya(T))return bo(T,B)})}const Mi=(0,r.action)(\"newModel\",(T,B,K)=>{const Se=B?\"new\":\"fromSnapshot\",{modelClass:He,snapshotInitialData:Ye,generateNewIds:Et}=K,bn=He;ve&&mu(bn,\"modelClass\");const Qn=T,yr=Mn.get(bn);if(!yr)throw xe(`no model info for class ${bn.name} could be found - did you forget to add the @model decorator?`);const vr=cn(bn),no=Mr(bn),Wo=vr?no[vr]:void 0;let $o;if(Ye){let co=Ye.unprocessedSnapshot;Wo&&vr&&(Et?$o=Wo._defaultFn():$o=co[vr]),bn.fromSnapshotProcessor&&(co=bn.fromSnapshotProcessor(co)),B=Ye.snapshotToInitialData(co)}else Wo&&vr&&(B[vr]?$o=B[vr]:$o=Wo._defaultFn());Qn[re]=yr.name;const Lr=Object.keys(no);for(let co=0;co<Lr.length;co++){const Do=Lr[co];if(Do===vr)continue;const yi=no[Do];let Fo=B[Do],Bo=!1;if(Se===\"new\"&&yi._transform&&(Bo=!0,Fo=yi._transform.untransform(Fo,Qn,Do)),Fo==null){const Uo=aa(yi);Uo!==jr?(Bo=!0,Fo=Uo):Do in B||(Bo=!0)}Bo&&(0,r.set)(B,Do,Fo)}if(vr&&(0,r.set)(B,vr,$o),bo(Qn,void 0),Qn.$=qr(B,{parent:Qn,path:\"$\"},Qn[re],!1,!0),ve&&De(Qn,\"$\",!0),io(bn,Qn),Gr()&&Ue(bn).dataType){const co=Qn.typeCheck();co&&co.throw()}return Qn}),Hi=Symbol(\"modelIdPropertyName\");class ja{constructor(B){C(this,O),C(this,b),C(this,p),C(this,u),C(this,a),C(this,\"$\");let K=B;const{snapshotInitialData:Se,modelClass:He,generateNewIds:Ye}=arguments[1];Object.setPrototypeOf(this,He.prototype);const Et=this;delete Et[kt],delete Et[At],delete Et[Fn],delete Et[Hi],Se?Mi(this,void 0,{modelClass:He,snapshotInitialData:Se,generateNewIds:Ye}):(X(K,\"initialData\"),Mi(this,r.observable.object(K,void 0,{deep:!1}),{modelClass:He,generateNewIds:!0}))}get[(O=kt,b=At,p=Fn,u=Hi,a=re,me)](){const B=cn(this.constructor);return B?this.$[B]:void 0}set[me](B){const K=cn(this.constructor);if(!K)throw xe(\"$modelId cannot be set when there is no idProp set in the model\");this.$[K]=B}getRefId(){return this[me]}typeCheck(){const B=Ki(this.constructor);return fr(B,this)}toString(B){const K=Rs({withData:!0},B),Se=`${this.constructor.name}#${this[re]}`;return K.withData?`[${Se} ${JSON.stringify(mn(this))}]`:`[${Se}]`}}const ms=new Set([re,me,\"onInit\",\"$\",\"getRefId\",\"onAttachedToRootStore\",\"typeCheck\"]);function Ps(T){return T}function fu(T,B){mu(T,\"modelClass\"),X(B,\"initialData\");const K=Mn.get(T);return Mu(Rs({},B),{[re]:K.name})}function qs(T,B){mu(T,\"modelClass\"),X(B,\"initialData\");const K=Mn.get(T);return Mu(Rs({},B),{[re]:K.name})}function Ya(T){return T instanceof ja}function Nu(T,B,K=\"must be a model instance\"){if(!Ya(T))throw xe(`${B} ${K}`)}function ru(T){return!(typeof T!=\"function\"||T!==ja&&!(T.prototype instanceof ja))}function mu(T,B){if(typeof T!=\"function\")throw xe(`${B} must be a class`);if(T!==ja&&!(T.prototype instanceof ja))throw xe(`${B} must extend Model`)}function Zs(T){return ce(T)&&re in T}function cs(T){return Wt(T,\"value\"),Xs(T)}function Xs(T){return Kr(T),pr.get(T)}function yu(T){const B=Ur.get(T);if(B)return{parent:B,path:\"$\"};const K=Xs(T);return K&&Ya(K.parent)?{parent:K.parent.$,path:K.path}:K}function bu(T){return Wt(T,\"value\"),Ku(T)}function Ku(T){var B;return(B=Xs(T))==null?void 0:B.parent}function Qc(T){var B;return(B=yu(T))==null?void 0:B.parent}function _l(T){return Wt(T,\"value\",!0),Nc(T)}function Nc(T){return Ur.has(T)}function ju(T){return Wt(T,\"value\"),Wu(T)}function Wu(T){let B=T,K=[],Se=[T],He;for(;He=Xs(B);)B=He.parent,K.unshift(He.path),Se.unshift(He.parent);return{root:B,path:K,pathObjects:Se}}function dl(T){return Wt(T,\"value\"),Du(T)}function Du(T){let B=T,K;for(;K=Xs(B);)B=K.parent;return B}function hl(T){return Wt(T,\"value\"),!Ku(T)}const jc={resolved:!1};function js(T,B){let K=T,Se=B.length;for(let He=0;He<Se;He++){if(!ye(K))return jc;const Ye=B[He];if(ae(K)&&+Ye>=K.length)return jc;if(Ya(K)){const Et=Gt(K);if(Ye in Et)K=Et;else if(!(Ye in K))return jc}K=K[Ye]}return{resolved:!0,value:K}}const xu=Symbol(\"skipIdChecking\");function wu(T,B,K){var Se;let He=Gt(T),Ye=B.length;for(let Et=0;Et<Ye;Et++){if(!ye(He))return{resolved:!1};const bn=B[Et];if(ae(He)&&+bn>=He.length)return{resolved:!1};const Qn=He[bn];He=Gt(Qn);const yr=K[Et];if(yr!==xu){const vr=Ya(Qn)&&(Se=Qn[me])!=null?Se:null;if(yr!==vr)return{resolved:!1}}}return{resolved:!0,value:gn(He)}}function Ys(T,B){if(Wt(T,\"fromParent\"),Wt(B,\"toChild\"),T===B)return[];const K=[];let Se=B,He;for(;He=Xs(Se);)if(K.unshift(He.path),Se=He.parent,Se===T)return K}const Uu=new WeakMap,Dc=new WeakMap;function ic(T){let B=Dc.get(T);return B||(B={[Symbol.iterator](){let K=T;function Se(){const bn=K?Uu.get(K):void 0;if(!(!bn||bn.length<=0))return bn[Symbol.iterator]()}function He(){let bn;for(;K&&!bn;)K=Ku(K),bn=Se();return bn}let Ye=Se();return Ye||(Ye=He()),{next(){if(!Ye)return{value:void 0,done:!0};let bn=Ye.next();return bn.done?(Ye=He(),this.next()):bn}}}},Dc.set(T,B)),B}function Rc(T){X(T,\"middleware\");let{middleware:B,filter:K,subtreeRoot:Se}=T;if(Wt(Se,\"middleware.subtreeRoot\"),we(B,\"middleware.middleware\"),K&&typeof K!=\"function\")throw xe(\"middleware.filter must be a function or undefined\");if(Se){const Et=bn=>bn.target===Se||us(bn.target,Se);if(!K)K=Et;else{const bn=K;K=Qn=>Et(Qn)&&bn(Qn)}}const He={middleware:B,filter:K};let Ye=Uu.get(Se);return Ye?Ye.push(He):(Ye=[He],Uu.set(Se,Ye)),()=>{oe(Ye,He)}}function is({nameOrNameFn:T,fn:B,actionType:K,overrideContext:Se,isFlowFinisher:He=!1}){let Ye=!1;const Et=function(){const bn=typeof T==\"function\"?T():T;Ye||(Ye=!0,B=(0,r.action)(bn,B));const Qn=this,yr=L(),vr={actionName:bn,type:K,target:Qn,args:Array.from(arguments),parentContext:yr,data:{},rootContext:void 0};Se&&Se(vr,this),vr.rootContext||(vr.previousAsyncStepContext?vr.rootContext=vr.previousAsyncStepContext.rootContext:vr.parentContext?vr.rootContext=vr.parentContext.rootContext:vr.rootContext=vr),A(vr);let no=B.bind(Qn,...arguments);const Wo=ic(vr.target)[Symbol.iterator]();let $o=Wo.next();for(;!$o.done;){const Lr=$o.value;(Lr.filter?Lr.filter(vr):!0)&&(no=Lr.middleware.bind(void 0,vr,no)),$o=Wo.next()}try{const Lr=no();if(He){const co=Lr,Do=co.value;return co.resolution===\"accept\"?co.accepter(Do):co.rejecter(Do),Do}else return Lr}finally{A(vr.parentContext),V()}};return Et[J]=!0,Et}function Tu(T,B,K){const Se=T[B];if(q(Se))return;const He=is({nameOrNameFn:K,fn:Se,actionType:M.Sync}),Ye=Object.getPrototypeOf(T);Ye[B]===Se?Ye[B]=He:T[B]=He}function Pu(T){Wt(T,\"node\"),Jc().call(T)}const Jc=qt(()=>is({nameOrNameFn:s.Detach,fn:Gl,actionType:M.Sync}));function Gl(){const B=yu(this);if(!B)return;const{parent:K,path:Se}=B;if((0,r.isObservableArray)(K))K.splice(+Se,1);else if((0,r.isObservableObject)(K))(0,r.remove)(K,\"\"+Se);else throw xe(\"parent must be an observable object or an observable array\")}function ac(T,B,K){if(typeof K!=\"string\")throw xe(`${T} cannot be used over symbol properties`);const Se=`${T} must be used over model classes or instances`;if(!B)throw xe(Se);if(!(B instanceof ja||B===ja||B.prototype instanceof ja||B instanceof Ma||B===Ma||B.prototype instanceof Ma))throw xe(Se)}function el(T,B){let K=B,Se;if(Va(T)||Ba(T)){Se=(Et,bn)=>{Et.target=bn.$};let He;K=()=>He;const Ye=Va(T)?T:T.constructor;Fe(Ye,pt,Et=>{const bn=Mn.get(Et);He=`fn::${bn.name}::${B}`,l(He,bn.class,B)})}return{actionName:K,overrideContext:Se}}const sc=Symbol(\"modelFlow\");function tl({nameOrNameFn:T,generator:B,overrideContext:K}){const Se=function(...He){const Ye=typeof T==\"function\"?T():T,Et=this;let bn;const Qn=Lr=>(co,Do)=>{K&&K(co,Do),co.previousAsyncStepContext=bn,co.spawnAsyncStepContext=bn?bn.spawnAsyncStepContext:co,co.asyncStepType=Lr,co.args=He,bn=co};let yr=!1;const vr=is({nameOrNameFn:Ye,fn:()=>(yr=!0,B.apply(Et,He)),actionType:M.Async,overrideContext:Qn(E.Spawn)}).apply(Et);if(!yr)return vr instanceof Promise?vr:Promise.resolve(vr);const no=vr.next.bind(vr),Wo=vr.throw.bind(vr);return new Promise(function(Lr,co){function Do(Bo){let Uo;try{Uo=is({nameOrNameFn:Ye,fn:no,actionType:M.Async,overrideContext:Qn(E.Resume)}).call(Et,Bo)}catch(Gi){is({nameOrNameFn:Ye,fn:Ni=>({value:Ni,resolution:\"reject\",accepter:Lr,rejecter:co}),actionType:M.Async,overrideContext:Qn(E.Throw),isFlowFinisher:!0}).call(Et,Gi);return}Fo(Uo)}function yi(Bo){let Uo;try{Uo=is({nameOrNameFn:Ye,fn:Wo,actionType:M.Async,overrideContext:Qn(E.ResumeError)}).call(Et,Bo)}catch(Gi){is({nameOrNameFn:Ye,fn:Ni=>({value:Ni,resolution:\"reject\",accepter:Lr,rejecter:co}),actionType:M.Async,overrideContext:Qn(E.Throw),isFlowFinisher:!0}).call(Et,Gi);return}Fo(Uo)}function Fo(Bo){Bo&&typeof Bo.then==\"function\"?Bo.then(Fo,co):Bo.done?is({nameOrNameFn:Ye,fn:Uo=>({value:Uo,resolution:\"accept\",accepter:Lr,rejecter:co}),actionType:M.Async,overrideContext:Qn(E.Return),isFlowFinisher:!0}).call(Et,Bo.value):Promise.resolve(Bo.value).then(Do,yi)}Do(void 0)})};return Se[sc]=!0,Se}function nl(T){return typeof T==\"function\"&&sc in T}function Vu(T,B,K){const{actionName:Se,overrideContext:He}=el(T,B);return dt(\"modelFlow\",{target:T,propertyKey:B,baseDescriptor:K},(Ye,Et)=>nl(Et)?Et:(Lc(Ye.target,Ye.propertyKey,Et),tl({nameOrNameFn:Se,generator:Et,overrideContext:He})))}function Lc(T,B,K){if(typeof K!=\"function\")throw xe(\"modelFlow has to be used over functions\");ac(\"modelFlow\",T,B)}function Wl(T){return T}function Ul(T){return rl.call(T)}const uc=function(T,B){let K={label:0,sent:function(){if(Ye[0]&1)throw Ye[1];return Ye[1]},trys:[],ops:[]},Se,He,Ye,Et;return Et={next:bn(0),throw:bn(1),return:bn(2)},typeof Symbol==\"function\"&&(Et[Symbol.iterator]=function(){return this}),Et;function bn(yr){return function(vr){return Qn([yr,vr])}}function Qn(yr){if(Se)throw new TypeError(\"Generator is already executing.\");for(;K;)try{if(Se=1,He&&(Ye=yr[0]&2?He.return:yr[0]?He.throw||((Ye=He.return)&&Ye.call(He),0):He.next)&&!(Ye=Ye.call(He,yr[1])).done)return Ye;switch(He=0,Ye&&(yr=[yr[0]&2,Ye.value]),yr[0]){case 0:case 1:Ye=yr;break;case 4:return K.label++,{value:yr[1],done:!1};case 5:K.label++,He=yr[1],yr=[0];continue;case 7:yr=K.ops.pop(),K.trys.pop();continue;default:if(Ye=K.trys,!(Ye=Ye.length>0&&Ye[Ye.length-1])&&(yr[0]===6||yr[0]===2)){K=0;continue}if(yr[0]===3&&(!Ye||yr[1]>Ye[0]&&yr[1]<Ye[3])){K.label=yr[1];break}if(yr[0]===6&&K.label<Ye[1]){K.label=Ye[1],Ye=yr;break}if(Ye&&K.label<Ye[2]){K.label=Ye[2],K.ops.push(yr);break}Ye[2]&&K.ops.pop(),K.trys.pop();continue}yr=B.call(T,K)}catch(vr){yr=[6,vr],He=0}finally{Se=Ye=0}if(yr[0]&5)throw yr[1];return{value:yr[0]?yr[1]:void 0,done:!0}}};function rl(){let T;return uc(this,function(B){switch(B.label){case 0:return[4,this];case 1:return T=B.sent(),[2,T];default:return}})}const ol=new Map;function ta(T){return ol.get(T)}function pl(T,B,K){if(we(B,T),ol.has(T)&&rn(\"warn\",`an standalone action with name \"${T}\" already exists (if you are using hot-reloading you may safely ignore this warning)`,`duplicateActionName - ${T}`),q(B))throw xe(\"the standalone action must not be previously marked as an action\");if(nl(B))throw xe(\"the standalone action must not be previously marked as a flow action\");const Se=K?tl({nameOrNameFn:T,generator:B}):is({nameOrNameFn:T,fn:B,actionType:M.Sync}),He=(Ye,...Et)=>(xn(Ye,\"target\"),Se.call(Ye,Ye,...Et));return ol.set(T,He),He}function Bc(T,B){Wt(T,\"node\",!0),$u().call(T,B)}function xc(T){(0,r.remove)(this,\"\"+T)}const $u=qt(()=>is({nameOrNameFn:s.ApplyDelete,fn:xc,actionType:M.Sync}));function Fc(T,B,...K){return Wt(T,\"node\"),al().call(T,B,K)}function il(T,B){return this[T](...B)}const al=qt(()=>is({nameOrNameFn:s.ApplyMethodCall,fn:il,actionType:M.Sync}));function zc(T,B,K){Wt(T,\"node\",!0),Ml().call(T,B,K)}function cc(T,B){!Ya(this)&&(0,r.isObservable)(this)?(0,r.set)(this,T,B):this[T]=B}const Ml=qt(()=>is({nameOrNameFn:s.ApplySet,fn:cc,actionType:M.Sync})),Al={[s.ApplySnapshot]:fa,[s.ApplyPatches]:$t,[s.Detach]:Pu,[s.ApplySet]:zc,[s.ApplyDelete]:Bc,[s.ApplyMethodCall]:Fc};function sl(T,B){if(B.serialized)throw xe(\"cannot apply a serialized action call, use one of the 'applySerializedAction' methods instead\");Wt(T,\"subtreeRoot\");const{value:K,resolved:Se}=wu(T,B.targetPath,B.targetPathIds);if(!Se)throw xe(`object at path ${JSON.stringify(B.targetPath)} with ids ${JSON.stringify(B.targetPathIds)} could not be resolved`);if(Wt(K,`resolved ${K}`,!0),x(B.actionName)){const Et=Al[B.actionName];if(!Et)throw xe(`assertion failed: unknown built-in action - ${B.actionName}`);return Et.apply(K,[K,...B.args])}if(ke(B.actionName))throw xe(`calls to hooks (${B.actionName}) cannot be applied`);const He=h(B.actionName);if(He){const Et=new He.modelClass(K);return Et[He.fnName].apply(Et,B.args)}const Ye=ta(B.actionName);return Ye?Ye.apply(K,B.args):K[B.actionName].apply(K,B.args)}function Vl(T,B,K){if(typeof K!=\"function\")throw xe(\"modelAction has to be used over functions\");ac(\"modelAction\",T,B)}function ou(T,B,K){const{actionName:Se,overrideContext:He}=el(T,B);return dt(\"modelAction\",{target:T,propertyKey:B,baseDescriptor:K},(Ye,Et)=>q(Et)?Et:(Vl(Ye.target,Ye.propertyKey,Et),is({nameOrNameFn:Se,fn:Et,actionType:M.Sync,overrideContext:He})))}function Zl(T,B){const K=typeof T==\"string\"?T:void 0,Se=typeof T==\"string\"?B:T,He=()=>{const Ye=W();P(!1);try{return Se()}finally{P(Ye),V()}};return K?action(K,He)():action(He)()}const su=Symbol(\"cannotSerialize\"),$={id:`${Ft}/array`,serialize(T,B){return ae(T)?T.map(B):su},deserialize(T,B){return T.map(B)}},ne={id:`${Ft}/dateAsTimestamp`,serialize(T){return T instanceof Date?+T:su},deserialize(T){return new Date(T)}},Me={id:`${Ft}/mapAsArray`,serialize(T,B){if(!(T instanceof Map)&&!(0,r.isObservableMap)(T))return su;const K=[],Se=T.keys();let He=Se.next();for(;!He.done;){const Ye=He.value,Et=T.get(Ye);K.push([B(Ye),B(Et)]),He=Se.next()}return K},deserialize(T,B){const K=new Map,Se=T.length;for(let He=0;He<Se;He++){const Ye=T[He][0],Et=T[He][1];K.set(B(Ye),B(Et))}return K}};function tt(T){var B;const K=[];for(let Se=0;Se<T.path.length;Se++){const He=T.pathObjects[Se+1],Ye=Ya(He)&&(B=He[me])!=null?B:null;K.push(Ye)}return K}function at(T,B){var K;const Se=[];let He=T;for(let Ye=0;Ye<B.length;Ye++){He=He[B[Ye]];const Et=Ya(He)&&(K=He[me])!=null?K:null;Se.push(Et)}return Se}const Nt={id:`${Ft}/objectPath`,serialize(T,B,K){if(typeof T!=\"object\"||T===null||!Zt(T,!1))return su;if(K){const Se=Wu(T);if(Se.root===K)return{targetPath:Se.path,targetPathIds:tt(Se)}}return su},deserialize(T,B,K){if(K){const Se=wu(K,T.targetPath,T.targetPathIds);if(Se.resolved)return Se.value}throw xe(`object at path ${JSON.stringify(T.targetPath)} with ids ${JSON.stringify(T.targetPathIds)} could not be resolved`)}},Tt={id:`${Ft}/objectSnapshot`,serialize(T){return typeof T!=\"object\"||T===null||!Zt(T,!1)?su:mn(T)},deserialize(T){return le(T)}},Jt={id:`${Ft}/plainObject`,serialize(T,B){return!ce(T)&&!(0,r.isObservableObject)(T)?su:nn(T,B)},deserialize(T,B){return nn(T,B)}};function nn(T,B){const K={},Se=Object.keys(T),He=Se.length;for(let Ye=0;Ye<He;Ye++){const Et=Se[Ye],bn=T[Et];K[Et]=B(bn)}return K}const zn={id:`${Ft}/primitiveAsString`,serialize(T){if(Number.isNaN(T))return\"nan\";switch(T){case 1/0:return\"+inf\";case-1/0:return\"-inf\"}return typeof T==\"bigint\"?T.toString():T===void 0?\"undefined\":su},deserialize(T){switch(T){case\"nan\":return NaN;case\"+inf\":return 1/0;case\"-inf\":return-1/0;case\"undefined\":return;default:return BigInt(T)}}},mr={id:`${Ft}/setAsArray`,serialize(T,B){if(!(T instanceof Set))return su;const K=[],Se=T.keys();let He=Se.next();for(;!He.done;){const Ye=He.value;K.push(B(Ye)),He=Se.next()}return K},deserialize(T,B){const K=new Set,Se=T.length;for(let He=0;He<Se;He++){const Ye=T[He];K.add(B(Ye))}return K}},Er=null,Zr=new Map;function Yr(T){if(Zo(),Er.includes(T))throw xe(\"action call argument serializer already registered\");if(Zr.has(T.id))throw xe(`action call argument serializer with id '${T.id}' already registered`);return Er.unshift(T),Zr.set(T.id,T),()=>{const B=Er.indexOf(T);B>=0&&Er.splice(B,1),Zr.delete(T.id)}}function So(T,B){if(Zo(),Ce(T))return T;const K=T,Se=He=>So(He,B);for(let He=0;He<Er.length;He++){const Ye=Er[He],Et=Ye.serialize(T,Se,B);if(Et!==su)return{$mobxKeystoneSerializer:Ye.id,value:Et}}throw xe(`serializeActionCallArgument could not serialize the given value: ${K}`)}function Oo(T,B){if(T.serialized)throw xe(\"cannot serialize an already serialized action call\");B!==void 0&&Wt(B,\"targetRoot\");const K=Se=>So(Se,B);return Mu(Rs({},T),{serialized:!0,args:T.args.map(K)})}function xo(T,B){if(Zo(),Ce(T))return T;if(!ce(T)||typeof T.$mobxKeystoneSerializer!=\"string\")throw xe(\"invalid serialized action call argument\");const K=T.$mobxKeystoneSerializer,Se=Zr.get(K);if(!Se)throw xe(`a serializer with id '${K}' could not be found`);const He=T,Ye=Et=>xo(Et,B);return Se.deserialize(He.value,Ye,B)}function lo(T,B){if(!T.serialized)throw xe(\"cannot deserialize a non-serialized action call\");B!==void 0&&Wt(B,\"targetRoot\");const K=He=>xo(He,B),Se=Mu(Rs({},T),{serialized:void 0,args:T.args.map(K)});return delete Se.serialized,Se}let Io=!1;function Zo(){Io||(Io=!0,Yr(zn),Yr(Jt),Yr(mr),Yr(Me),Yr(ne),Yr($),Yr(Tt),Yr(Nt))}function xi(T,B){if(!B.serialized)throw xe(\"cannot apply a non-serialized action call, use 'applyAction' instead\");Wt(T,\"subtreeRoot\");const K=lo(B,T),Se=[],He=Jo(T,Ye=>{Ai(T,Se,Ye)});try{return{returnValue:sl(T,K),serializedActionCall:Mu(Rs({},B),{modelIdOverrides:Se})}}finally{He()}}function Ai(T,B,K){const Se=K.length;for(let He=0;He<Se;He++){const Ye=K[He];(Ye.op===\"replace\"||Ye.op===\"add\")&&ci(T,B,Ye.value,Ye.path)}}function ci(T,B,K,Se){if(Se.length>=1&&typeof K==\"string\"){const He=js(T,Se.slice(0,Se.length-1)).value;Ya(He)&&Se[Se.length-1]===cn(He.constructor)&&B.push({op:\"replace\",path:Se.slice(),value:K})}else if(Array.isArray(K)){const He=K.length;for(let Ye=0;Ye<He;Ye++)Se.push(Ye),ci(T,B,K[Ye],Se),Se.pop()}else if(ye(K)&&!K[ws]){const He=Object.keys(K),Ye=He.length;for(let Et=0;Et<Ye;Et++){const bn=He[Et],Qn=K[bn];Se.push(bn),ci(T,B,Qn,Se),Se.pop()}}}function Ri(T,B){if(!B.serialized)throw xe(\"cannot apply a non-serialized action call, use 'applyAction' instead\");Wt(T,\"subtreeRoot\");const K=lo(B,T);let Se;return runInAction(()=>{Se=sl(T,K),$t(T,B.modelIdOverrides)}),Se}var Ci;(function(T){T.Return=\"return\",T.Throw=\"throw\"})(Ci||(Ci={}));function ua(T,B){Wt(T,\"subtreeRoot\");const K=Symbol(\"actionTrackingMiddlewareData\");let Se;(function(Lr){Lr.Idle=\"idle\",Lr.Started=\"started\",Lr.RealResumed=\"realResumed\",Lr.FakeResumed=\"fakeResumed\",Lr.Suspended=\"suspended\",Lr.Finished=\"finished\"})(Se||(Se={}));function He(Lr){return Lr.data[K]}function Ye(Lr,co){let Do=Lr.data[K];Do?Object.assign(Do,co):Lr.data[K]=co}const Et=Lr=>B.filter?B.filter(as(Lr)):!0,bn=!!B.onResume||!!B.onSuspend,Qn=Lr=>{if(Lr.type===M.Sync){const co=Et(Lr);return co&&Ye(Lr,{startAccepted:!0,state:Se.Idle}),co}else switch(Lr.asyncStepType){case E.Spawn:const co=Et(Lr);return co&&Ye(Lr,{startAccepted:!0,state:Se.Idle}),co;case E.Return:case E.Throw:const Do=He(Lr.spawnAsyncStepContext);return Do?Do.startAccepted:!1;case E.Resume:case E.ResumeError:if(bn){const yi=He(Lr.spawnAsyncStepContext);return yi?yi.startAccepted:!1}else return!1;default:return!1}},yr=Lr=>{if(Ye(Lr,{state:Se.Started}),B.onStart)return B.onStart(Lr)||void 0},vr=(Lr,co)=>{const Do=Lr.parentContext;let yi=!1;if(Do){const Fo=He(Do);Fo&&Fo.startAccepted&&Fo.state===Se.Suspended&&(yi=!0,no(Do,!1))}return Ye(Lr,{state:Se.Finished}),B.onFinish&&(co=B.onFinish(Lr,co)||co),yi&&Wo(Do),co},no=(Lr,co)=>{const Do=Lr.parentContext;if(Do){const yi=He(Do);yi&&yi.startAccepted&&yi.state===Se.Suspended&&no(Do,!1)}Ye(Lr,{state:co?Se.RealResumed:Se.FakeResumed}),B.onResume&&B.onResume(Lr)},Wo=Lr=>{Ye(Lr,{state:Se.Suspended}),B.onSuspend&&B.onSuspend(Lr);const co=Lr.parentContext;if(co){const Do=He(co);Do&&Do.startAccepted&&Do.state===Se.FakeResumed&&Wo(co)}};return Rc({middleware:(Lr,co)=>{const Do=as(Lr),yi=co;if(co=()=>{no(Do,!0);try{return yi()}finally{Wo(Do)}},Lr.type===M.Sync){let Fo=yr(Do);if(Fo)no(Do,!0),Wo(Do),Fo=vr(Do,Fo);else try{Fo=vr(Do,{result:Ci.Return,value:co()})}catch(Bo){Fo=vr(Do,{result:Ci.Throw,value:Bo})}return da(Fo)}else switch(Lr.asyncStepType){case E.Spawn:{let Fo=yr(Do);return Fo?(no(Do,!0),Wo(Do),Fo=vr(Do,Fo),da(Fo)):co()}case E.Return:{const Fo=co(),Bo=vr(Do,{result:Ci.Return,value:Fo.value});return Fo.resolution=Bo.result===Ci.Return?\"accept\":\"reject\",Fo.value=Bo.value,Fo}case E.Throw:{const Fo=co(),Bo=vr(Do,{result:Ci.Throw,value:Fo.value});return Fo.resolution=Bo.result===Ci.Return?\"accept\":\"reject\",Fo.value=Bo.value,Fo}case E.Resume:case E.ResumeError:if(bn)return co();throw xe(`assertion error: async step should have been filtered out - ${Lr.asyncStepType}`);default:throw xe(`assertion error: async step should have been filtered out - ${Lr.asyncStepType}`)}},filter:Qn,subtreeRoot:T})}function da(T){if(T.result===Ci.Return)return T.value;throw T.value}const Da=Symbol(\"simpleDataContext\");function as(T){for(;T.previousAsyncStepContext;)T=T.previousAsyncStepContext;let B=T.data[Da];if(!B){const K=T.parentContext?as(T.parentContext):void 0;B={actionName:T.actionName,type:T.type,target:T.target,args:T.args,data:T.data,parentContext:K},B.rootContext=K?K.rootContext:B,T.data[Da]=B}return B}function ts(T,B){return Wt(T,\"subtreeRoot\"),X(B,\"listeners\"),ua(T,{filter(K){return!(K.parentContext||ke(K.actionName))},onStart(K){if(B.onStart){const Se=ka(K);return B.onStart(Se,K)}},onFinish(K,Se){if(B.onFinish){const He=ka(K);return B.onFinish(He,K,Se)}}})}function ka(T){const B=Wu(T.target);return{actionName:T.actionName,args:T.args,targetPath:B.path,targetPathIds:tt(B)}}function uu(T){Wt(T,\"subtreeRoot\");let B=!1;const K=Symbol(\"writable\");return{dispose:ua(T,{filter(He){if(ke(He.actionName))return!1;let Ye=B;if(!Ye){let Et=He;for(;Et&&!Ye;)Ye=!!Et.data[K],Et=Et.parentContext}return Ye?(He.data[K]=!0,!1):!0},onStart(He){return{result:Ci.Throw,value:xe(`tried to invoke action '${He.actionName}' over a readonly node`)}}}),allowWrite(He){const Ye=B;B=!0;try{return He()}finally{B=Ye}}}}function Su(T){return typeof T==\"number\"?\"\"+T:T.indexOf(\"/\")===-1&&T.indexOf(\"~\")===-1?T:T.replace(/~/g,\"~0\").replace(/\\//g,\"~1\")}function Js(T){return T.replace(/~1/g,\"/\").replace(/~0/g,\"~\")}function Ws(T){return T.length<=0?\"\":\"/\"+T.map(Su).join(\"/\")}function Ru(T){if(T===\"\")return[];if(!T.startsWith(\"/\"))throw xe(\"a JSON pointer must start with '/' or be empty\");return T=T.slice(1),T.split(\"/\").map(Js)}function Iu(T){return Mu(Rs({},T),{path:Ws(T.path)})}function Xf(T){return Mu(Rs({},T),{path:Ru(T.path)})}function Xl(T,B){return Wt(T,\"subtreeRoot\"),Yl(T,B)}function Yl(T,B){let{recording:K,filter:Se}=Rs({recording:!0,filter:Cf},B);const He=r.observable.array([],{deep:!1});let Ye;return T?Ye=Jo(T,(Et,bn)=>{var Qn;K&&Se(Et,bn)&&(He.push({target:T,patches:Et,inversePatches:bn}),(Qn=B==null?void 0:B.onPatches)==null||Qn.call(B,Et,bn))}):Ye=Ji((Et,bn,Qn)=>{var yr;K&&Se(bn,Qn)&&(He.push({target:Et,patches:bn,inversePatches:Qn}),(yr=B==null?void 0:B.onPatches)==null||yr.call(B,bn,Qn))}),{get recording(){return K},set recording(Et){K=Et},get events(){return He},dispose(){Ye()}}}const Cf=()=>!0;function iu(T){X(T,\"target\");const{model:B,actionName:K}=T;if(Nu(B,\"target.model\"),typeof K!=\"string\")throw xe(\"target.actionName must be a string\");const Se=Symbol(\"patchRecorder\");function He(Et){Et.rootContext.data[Se]=Yl(void 0,{recording:!1})}function Ye(Et){return Et.rootContext.data[Se]}return ua(B,{filter(Et){const bn=Et.rootContext;return bn.target===B&&bn.actionName===K},onStart(Et){Et===Et.rootContext&&He(Et)},onResume(Et){Ye(Et).recording=!0},onSuspend(Et){Ye(Et).recording=!1},onFinish(Et,bn){if(Et===Et.rootContext){const Qn=Ye(Et);try{if(bn.result===Ci.Throw){const{events:yr}=Qn;for(let vr=yr.length-1;vr>=0;vr--){const no=yr[vr];$t(no.target,no.inversePatches,!0)}}}finally{Qn.dispose()}}}})}function lc(T,B){ac(\"transaction\",T,B),Xr(T.constructor,K=>{iu({model:K,actionName:B})})}function ls(T,B,K,Se){var He=arguments.length,Ye=He<3?B:Se===null?Se=Object.getOwnPropertyDescriptor(B,K):Se,Et;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")Ye=Reflect.decorate(T,B,K,Se);else for(var bn=T.length-1;bn>=0;bn--)(Et=T[bn])&&(Ye=(He<3?Et(Ye):He>3?Et(B,K,Ye):Et(B,K))||Ye);return He>3&&Ye&&Object.defineProperty(B,K,Ye),Ye}function wc(T,B,K){return we(T,\"objFn\"),ti(()=>{const Se=T();X(Se,\"objectSchema\");const He=Object.entries(Se),Ye=(...Qn)=>{const yr=[];for(const[vr,no]of He){const Wo=Dr(no);let $o=\"...\";Qn.includes(Wo)||($o=Wo.getTypeName(...Qn,Wo)),yr.push(`${vr}: ${$o};`)}return`{ ${yr.join(\" \")} }`},Et=(Qn,yr)=>{const vr={},no=Object.keys(Qn);for(let Wo=0;Wo<no.length;Wo++){const $o=no[Wo],Lr=Se[$o];if(Lr){const co=Dr(Lr);vr[$o]=yr===\"from\"?co.fromSnapshotProcessor(Qn[$o]):co.toSnapshotProcessor(Qn[$o])}else vr[$o]=Qn[$o]}return vr},bn=new Mo(ar.Object,(Qn,yr,vr)=>{if(!ye(Qn)||B&&!(Qn instanceof Za))return new $e(yr,Ye(bn),Qn,vr);for(const[no,Wo]of He){const $o=Dr(Wo),Lr=Qn[no],co=$o.check(Lr,[...yr,no],vr);if(co)return co}return null},Ye,K,Qn=>{if(!ye(Qn))return null;for(const[yr,vr]of He){const no=Dr(vr),Wo=Qn[yr];if(!no.snapshotType(Wo))return null}return bn},Qn=>Et(Qn,\"from\"),Qn=>Et(Qn,\"to\"));return bn},K)}function Sc(T){return wc(T,!1,K=>new ul(K,T))}class ul extends ni{constructor(B,K){super(B),C(this,\"_objTypeFn\"),C(this,\"_props\",qt(()=>{const Se=this._objTypeFn(),He={};return Object.keys(Se).forEach(Ye=>{const Et=Ir(Se[Ye]);He[Ye]={type:Et,typeInfo:si(Et)}}),He})),this._objTypeFn=K}get props(){return this._props()}}function fc(T){return wc(()=>({data:T}),!0,B=>new Kl(B,Ir(T)))}class Kl extends ni{constructor(B,K){super(B),C(this,\"dataType\"),this.dataType=K}get dataTypeInfo(){return si(this.dataType)}}const Yf=new Mo(ar.Any,null,()=>\"any\",T=>new $c(T),()=>Yf,hn,hn);function Ec(){return Yf}class $c extends ni{}function dc(T,...B){const K=B.slice();let Se;const He=go(T);if(He)K.unshift(He);else{const Et=T;Se=bn=>{const Qn=Et(bn);return Dr(Qn)}}if(K.length<=0)throw xe(\"or type must have at least 1 possible type\");const Ye=Et=>new Kf(Et,K.map(Ir));return ti(()=>{const Et=K.map(Dr);if(Et.some(vr=>vr.unchecked))return Ec();const bn=(...vr)=>Et.map(Wo=>vr.includes(Wo)?\"...\":Wo.getTypeName(...vr,Wo)).join(\" | \");let Qn;Et.some(vr=>vr.baseType!==Et[0].baseType)?Qn=ar.Any:Qn=Et[0].baseType;const yr=new Mo(Qn,(vr,no,Wo)=>Et.some(Lr=>!Lr.check(vr,no,Wo))?null:new $e(no,bn(yr),vr,Wo),bn,Ye,vr=>{const no=Rr(vr),Wo=Et.filter($o=>$o.baseType===no||$o.baseType===ar.Any);if(Wo.length===1&&Wo[0].baseType===no)return Wo[0];for(let $o=0;$o<Wo.length;$o++){const Lr=Wo[$o].snapshotType(vr);if(Lr)return Lr}return null},vr=>{const no=Se?Se(vr):yr.snapshotType(vr);if(!no)throw xe(`snapshot '${JSON.stringify(vr)}' does not match the following type: ${bn(yr)}`);return no.fromSnapshotProcessor(vr)},vr=>{const no=Se?Se(vr):yr.snapshotType(vr);if(!no)throw xe(`snapshot '${JSON.stringify(vr)}' does not match the following type: ${bn(yr)}`);return no.toSnapshotProcessor(vr)});return yr},Ye)}class Kf extends ni{constructor(B,K){super(B),C(this,\"orTypes\"),C(this,\"_orTypeInfos\",qt(()=>this.orTypes.map(si))),this.orTypes=K}get orTypeInfos(){return this._orTypeInfos()}}const ql=Symbol(\"noDefaultValue\"),Ql=new WeakMap;function gl(T,B,K){let Se=Ql.get(T);Se||(Se=new Map,Ql.set(T,Se));let He=Se.get(B);return He||(He=K(),Se.set(B,He)),He}function Lu(T,B){switch(typeof T){case\"string\":return Lu(Ae,T);case\"number\":return Lu(Cn,T);case\"boolean\":return Lu(Xt,T)}const K=arguments.length>=2,Se=Ir(T);return gl(Se,K?B:ql,()=>{const He=K?dc(Se,nt,rt):Se,Ye=Object.create(K?vi(B):vi());return Object.assign(Ye,{_typeChecker:Se,_fromSnapshotProcessor:Tl.bind(void 0,He),_toSnapshotProcessor:Jl.bind(void 0,Se)}),Ye})}function Tl(T,B){const K=Dr(T).fromSnapshotProcessor;return K?K(B):B}function Jl(T,B){const K=Dr(T).toSnapshotProcessor;return K?K(B):B}function vl(...T){const B=T.filter(Se=>!!Se);return B.length<=0?void 0:(Se,...He)=>{let Ye=Se;for(let Et=0;Et<B.length;Et++)Ye=B[Et](Ye,...He);return Ye}}function _f(T,B,K=\"must be a class or data model class\"){if(!ru(T)&&!Va(T))throw xe(`${B} ${K}`)}function Mf(T,B,K){const Se=T.$[K];return B._transform?B._transform.transform(Se,T,K,He=>{zc(T.$,K,He)}):Se}function Ds(T,B,K,Se){if(!(pn in T))return;if(B._setter===\"assign\"&&!L()){zc(T,K,Se);return}let He=B._transform?B._transform.untransform(Se,T,K):Se;if(He==null){const Ye=aa(B);Ye!==jr&&(He=Ye)}T.$[K]=He}const ef=()=>Ar().modelIdGenerator(),Pl=Lu(Ae,ef);Pl._isId=!0;const tf=vi(ef);tf._isId=!0;function Bu({modelProps:T,baseModel:B,type:K,valueType:Se,fromSnapshotProcessor:He,toSnapshotProcessor:Ye}){if(X(T,\"modelProps\"),T=Object.assign(Object.create(null),T),B){_f(B,\"baseModel\");const Bo=B[wt];Bo&&(B=Bo,_f(B,\"baseModel\"))}const Et=T;if(B){const Bo=Mr(B);for(const Uo of Object.keys(Bo)){if(T[Uo])throw xe(`extended model cannot redeclare base model property named '${Uo}'`);Et[Uo]=Bo[Uo]}}const bn=Object.keys(Et).filter(Bo=>Et[Bo]._isId);if(K===\"class\"){if(bn.length>1)throw xe(`expected at most one idProp but got many: ${JSON.stringify(bn)}`)}else if(bn.length>=1)throw xe(`expected no idProp but got some: ${JSON.stringify(bn)}`);const Qn=Object.values(Et).some(Bo=>!!Bo._typeChecker);let yr;if(bn.length>=1){yr=bn[0];const Bo=Et[yr];let Uo=Qn?Pl:tf;switch(Bo==null?void 0:Bo._setter){case!0:Uo=Uo.withSetter();break;case\"assign\":Uo=Uo.withSetter(\"assign\");break}Et[yr]=Uo}let vr;if(Qn){const Bo={};for(const[Uo,Gi]of Object.entries(Et))Bo[Uo]=Gi._typeChecker?Gi._typeChecker:Ec();vr=Sc(()=>Bo)}const no=B!=null?B:K===\"class\"?ja:Ma,Wo=K===\"class\"?ms:Ka;let $o;function Lr(Bo,Uo){var Gi;const Ni=(Gi=Uo==null?void 0:Uo.modelClass)!=null?Gi:this.constructor,Wi=new no(Bo,Mu(Rs({},Uo),{modelClass:Ni}));return $o||($o=Object.keys(Et).filter(ba=>!Wo.has(ba)&&Object.hasOwn(Wi,ba))),$o.forEach(ba=>delete Wi[ba]),Wi}Object.assign(Lr,no);const co=no[Pr];if(co&&(Lr[Pr]=co.slice()),xr(Lr,Et),K===\"class\"){const Bo={dataType:vr,modelIdProperty:yr,valueType:Se};Lr[Rn]=Bo}else{const Bo={dataType:vr};Lr[Rn]=Bo}const Do=Object.create(no.prototype);Lr.prototype=new Proxy(Do,{get(Bo,Uo,Gi){if(Gi===Lr.prototype)return Bo[Uo];const Ni=!Wo.has(Uo)&&Et[Uo];return Ni?Mf(Gi,Ni,Uo):Reflect.get(Bo,Uo,Gi)},set(Bo,Uo,Gi,Ni){if(Ni===Lr.prototype)return Bo[Uo]=Gi,!0;const Wi=!Wo.has(Uo)&&Et[Uo];return Wi?(Ds(Ni,Wi,Uo,Gi),!0):Reflect.set(Bo,Uo,Gi,Ni)},has(Bo,Uo){return!!(!Wo.has(Uo)&&Et[Uo])||Reflect.has(Bo,Uo)}}),Do.constructor=Lr;for(const[Bo,Uo]of Object.entries(T))if(Uo._setter===!0){const Gi=an(Bo),Ni=ou(Do,Gi,{value:function(Wi){this[Bo]=Wi},writable:!0,enumerable:!1,configurable:!0});Object.defineProperty(Do,Gi,Ni)}const yi=qu(Et),Fo=Af(Et);if(He){const Bo=He;He=Uo=>Mu(Rs({},Bo(Uo)),{[re]:Uo[re]})}if(Ye){const Bo=Ye;Ye=(Uo,Gi)=>Mu(Rs({},Bo(Uo,Gi)),{[re]:Uo[re]})}return Lr.fromSnapshotProcessor=vl(He,yi),Lr.toSnapshotProcessor=vl(Fo,Ye),Lr}function qu(T){const B=Object.entries(T).filter(([K,Se])=>Se._fromSnapshotProcessor);if(!(B.length<=0))return K=>{const Se=Rs({},K);for(const[He,Ye]of B)Ye._fromSnapshotProcessor&&(Se[He]=Ye._fromSnapshotProcessor(K[He]));return Se}}function Af(T){const B=Object.entries(T).filter(([K,Se])=>Se._toSnapshotProcessor);if(!(B.length<=0))return K=>{const Se=Rs({},K);for(const[He,Ye]of B)Ye._toSnapshotProcessor&&(Se[He]=Ye._toSnapshotProcessor(K[He]));return Se}}function nf(...T){let B,K,Se;if(ru(T[0]))B=T[0],K=T[1],Se=T[2];else{const He=T[0]();B=He.baseModel,K=He.props,Se=T[1]}return mu(B,\"baseModel\"),Ks(K,B,Se)}function Zu(T,B){const K=typeof T==\"function\"?T():T;return Ks(K,void 0,B)}function Ks(T,B,K){var Se;return Bu({modelProps:T,baseModel:B,type:\"class\",valueType:(Se=K==null?void 0:K.valueType)!=null?Se:!1,fromSnapshotProcessor:K==null?void 0:K.fromSnapshotProcessor,toSnapshotProcessor:K==null?void 0:K.toSnapshotProcessor})}const Hc=T=>B=>rf(T)(B),Tf=new WeakMap,Xu={construct(T,B){const K=new T(...B);Lt(K,et);const Se=Tf.get(T);if(!Se.makeObservableFailed&&In()>=6)try{Kt.makeObservable(K)}catch(He){Se.makeObservableFailed=!0;const Ye=He;if(Ye.message!==\"[MobX] No annotations were passed to makeObservable, but no decorator members have been found either\"&&Ye.message!==\"[MobX] No annotations were passed to makeObservable, but no decorated members have been found either\")throw Ye}return Le(K,pn,!0,!1),Lt(K,ht),Se.type===\"class\"&&K.onInit&&(Tu(K,\"onInit\",U.OnInit),K.onInit()),Se.type===\"data\"&&K.onLazyInit&&(Tu(K,\"onLazyInit\",U.OnLazyInit),K.onLazyInit()),K}},rf=T=>B=>{const K=ru(B)?\"class\":Va(B)?\"data\":void 0;if(!K)throw xe(\"clazz must be a class that extends from Model/DataModel\");if(Wn[T]&&Ar().showDuplicateModelNameWarnings&&rn(\"warn\",`a model with name \"${T}\" already exists (if you are using hot-reloading you may safely ignore this warning)`,`duplicateModelName - ${T}`),wt in B&&B[wt]===B)throw xe(\"a class already decorated with `@model` cannot be re-decorated\");Tf.set(B,{makeObservableFailed:!1,type:K});const Se=new Proxy(B,Xu);B.toString=()=>`class ${B.name}#${T}`,K===\"class\"&&(B[re]=T),Se.prototype.constructor=Se,Se[wt]=B;const He={name:T,class:Se};return Wn[T]=He,Mn.set(Se,He),Mn.set(B,He),Lt(B,pt),Se};function Il(T,B,K,Se){var He=arguments.length,Ye=He<3?B:Se===null?Se=Object.getOwnPropertyDescriptor(B,K):Se,Et;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")Ye=Reflect.decorate(T,B,K,Se);else for(var bn=T.length-1;bn>=0;bn--)(Et=T[bn])&&(Ye=(He<3?Et(Ye):He>3?Et(B,K,Ye):Et(B,K))||Ye);return He>3&&Ye&&Object.defineProperty(B,K,Ye),Ye}function of(T,B,K){for(const[Se,He]of Object.entries(K)){const Ye=Object.getOwnPropertyDescriptor(B.prototype,Se);Il(Array.isArray(He)?He:[He],B.prototype,Se,Ye||void 0)}return T?Hc(T)(B):B}function Fu(T){const B=K=>new Oc(K,Ir(T));return ti(()=>{const K=Dr(T),Se=(...Ye)=>`Array<${K.getTypeName(...Ye,K)}>`,He=new Mo(ar.Array,(Ye,Et,bn)=>{if(!ae(Ye))return new $e(Et,Se(He),Ye,bn);if(!K.unchecked)for(let Qn=0;Qn<Ye.length;Qn++){const yr=K.check(Ye[Qn],[...Et,Qn],bn);if(yr)return yr}return null},Se,B,Ye=>{if(!ae(Ye))return null;if(!K.unchecked){for(let Et=0;Et<Ye.length;Et++)if(!K.snapshotType(Ye[Et]))return null}return He},Ye=>K.unchecked?Ye:Ye.map(Et=>K.fromSnapshotProcessor(Et)),Ye=>K.unchecked?Ye:Ye.map(Et=>K.toSnapshotProcessor(Et)));return He},B)}class Oc extends ni{constructor(B,K){super(B),C(this,\"itemType\"),this.itemType=K}get itemTypeInfo(){return si(this.itemType)}}var va;(function(T){T.Single=\"single\",T.Group=\"group\"})(va||(va={}));function Qu(T,B){if(T.type===va.Single)return[T];{const K=[];for(const Se of T.events)B?K.unshift(...Qu(Se,!0)):K.push(...Qu(Se,!1));return K}}let Hu=class extends Zu({undoEvents:Lu(Fu(Ec()),()=>[]),redoEvents:Lu(Fu(Ec()),()=>[])}){constructor(){super(...arguments),C(this,\"_groupStack\",[])}_clearUndo(){Us(()=>{this.undoEvents.length=0})}_clearRedo(){Us(()=>{this.redoEvents.length=0})}_undo(){Us(()=>{const B=this.undoEvents.pop();this.redoEvents.push(B)})}_redo(){Us(()=>{const B=this.redoEvents.pop();this.undoEvents.push(B)})}_addUndo(B){Us(()=>{this.undoEvents.push(B),this.redoEvents.length=0})}_addUndoToParentGroup(B,K){B.events.push(K)}get _currentGroup(){return this._groupStack[this._groupStack.length-1]}_startGroup(B,K,Se){var He;let Ye=!1,Et=!1;const bn=this._currentGroup,Qn={type:va.Group,groupName:B,events:[]},yr=bn||(He=Se==null?void 0:Se.attachedState)==null?void 0:He.save(),vr={pause:()=>{if(Et)throw xe(\"cannot pause a group when it is already ended\");if(!Ye)throw xe(\"cannot pause a group when it is not running\");if(this._currentGroup!==Qn)throw xe(\"group out of order\");this._groupStack.pop(),Ye=!1},resume:()=>{if(Et)throw xe(\"cannot resume a group when it is already ended\");if(Ye)throw xe(\"cannot resume a group when it is already running\");this._groupStack.push(Qn),Ye=!0},end:()=>{var no;Ye&&vr.pause(),Et=!0,bn?this._addUndoToParentGroup(bn,Qn):this._addUndo(Mu(Rs({},Qn),{attachedState:{beforeEvent:yr,afterEvent:(no=Se==null?void 0:Se.attachedState)==null?void 0:no.save()}}))}};return K&&vr.resume(),vr}};ls([ou],Hu.prototype,\"_clearUndo\",null),ls([ou],Hu.prototype,\"_clearRedo\",null),ls([ou],Hu.prototype,\"_undo\",null),ls([ou],Hu.prototype,\"_redo\",null),ls([ou],Hu.prototype,\"_addUndo\",null),Hu=ls([Hc(`${Ft}/UndoStore`)],Hu);class eu{constructor(B,K,Se,He){C(this,\"disposer\"),C(this,\"subtreeRoot\"),C(this,\"options\"),C(this,\"store\"),C(this,\"_isUndoRecordingDisabled\",!1),this.disposer=B,this.subtreeRoot=K,this.options=He,In()>=6&&Kt.makeObservable(this),this.store=Se!=null?Se:new Hu({})}get undoQueue(){return this.store.undoEvents}get redoQueue(){return this.store.redoEvents}get undoLevels(){return this.undoQueue.length}get canUndo(){return this.undoLevels>0}clearUndo(){this.store._clearUndo()}get redoLevels(){return this.redoQueue.length}get canRedo(){return this.redoLevels>0}clearRedo(){this.store._clearRedo()}undo(){if(!this.canUndo)throw xe(\"nothing to undo\");const B=this.undoQueue[this.undoQueue.length-1];Us(()=>{var K,Se,He;Qu(B,!0).forEach(Ye=>{$t(this.subtreeRoot,Ye.inversePatches,!0)}),(K=B.attachedState)!=null&&K.beforeEvent&&((He=(Se=this.options)==null?void 0:Se.attachedState)==null||He.restore(B.attachedState.beforeEvent))}),this.store._undo()}redo(){if(!this.canRedo)throw xe(\"nothing to redo\");const B=this.redoQueue[this.redoQueue.length-1];Us(()=>{var K,Se,He;Qu(B,!1).forEach(Ye=>{$t(this.subtreeRoot,Ye.patches)}),(K=B.attachedState)!=null&&K.afterEvent&&((He=(Se=this.options)==null?void 0:Se.attachedState)==null||He.restore(B.attachedState.afterEvent))}),this.store._redo()}dispose(){this.disposer()}get isUndoRecordingDisabled(){return this._isUndoRecordingDisabled}withoutUndo(B){const K=this._isUndoRecordingDisabled;this._isUndoRecordingDisabled=!0;try{return B()}finally{this._isUndoRecordingDisabled=K}}createGroup(B){const K=this.store._startGroup(B,!1,this.options);return{continue(Se){K.resume();try{return Se()}finally{K.pause()}},end(){K.end()}}}withGroup(B,K){let Se,He;typeof B==\"string\"?(Se=B,He=K):He=B;const Ye=this.store._startGroup(Se,!0,this.options);try{return He()}finally{Ye.end()}}withGroupFlow(B,K){let Se,He;typeof B==\"string\"?(Se=B,He=K):He=B;const Ye=He(),Et=this.store._startGroup(Se,!1,this.options),bn=Ye.next.bind(Ye),Qn=Ye.throw.bind(Ye);return new Promise(function(vr,no){function Wo(co){Et.resume();let Do;try{Do=bn(co)}catch(yi){Et.end(),no(yi);return}Et.pause(),Lr(Do)}function $o(co){Et.resume();let Do;try{Do=Qn(co)}catch(yi){Et.end(),no(yi);return}Et.pause(),Lr(Do)}function Lr(co){co&&typeof co.then==\"function\"?co.then(Lr,no):co.done?(Et.end(),vr(co.value)):Promise.resolve(co.value).then(Wo,$o)}Wo(void 0)})}}ls([r.computed],eu.prototype,\"undoQueue\",null),ls([r.computed],eu.prototype,\"redoQueue\",null),ls([r.computed],eu.prototype,\"undoLevels\",null),ls([r.computed],eu.prototype,\"canUndo\",null),ls([r.action],eu.prototype,\"clearUndo\",null),ls([r.computed],eu.prototype,\"redoLevels\",null),ls([r.computed],eu.prototype,\"canRedo\",null),ls([r.action],eu.prototype,\"clearRedo\",null),ls([r.action],eu.prototype,\"undo\",null),ls([r.action],eu.prototype,\"redo\",null);function ml(T,B,K){Wt(T,\"subtreeRoot\");let Se;const He=Symbol(\"patchRecorder\");function Ye(Qn){var yr;const vr=Se.store._currentGroup,no={recorder:Xl(T,{recording:!1,filter:()=>!Ju&&!Se.isUndoRecordingDisabled}),recorderStack:0,undoRootContext:Qn,group:vr,attachedStateBeforeEvent:(yr=K==null?void 0:K.attachedState)==null?void 0:yr.save()};Qn.rootContext.data[He]=no}function Et(Qn){return Qn.rootContext.data[He]}const bn=ua(T,{onStart(Qn){Et(Qn)||Ye(Qn)},onResume(Qn){const yr=Et(Qn);yr.recorderStack++,yr.recorder.recording=yr.recorderStack>0},onSuspend(Qn){const yr=Et(Qn);yr.recorderStack--,yr.recorder.recording=yr.recorderStack>0},onFinish(Qn){var yr;const vr=Et(Qn);if(vr&&vr.undoRootContext===Qn){const no=vr.recorder;if(no.events.length>0){const Wo=[],$o=[];for(const Do of no.events)Wo.push(...Do.patches),$o.push(...Do.inversePatches);const Lr={type:va.Single,targetPath:Wu(Qn.target).path,actionName:Qn.actionName,patches:Wo,inversePatches:$o},co=vr.group;co?Se.store._addUndoToParentGroup(co,Lr):Se.store._addUndo(Mu(Rs({},Lr),{attachedState:{beforeEvent:vr.attachedStateBeforeEvent,afterEvent:(yr=K==null?void 0:K.attachedState)==null?void 0:yr.save()}}))}no.dispose()}}});return Se=new eu(bn,T,B,K),Se}let Ju=!1;function yl(){return Ju}function Us(T){const B=Ju;Ju=!0;try{return T()}finally{Ju=B}}function af(T){return T.type===\"value\"?T.value:T.value.get()}const kl=()=>(0,r.createAtom)(\"contextValue\");class Nl{constructor(B){C(this,\"defaultContextValue\",r.observable.box(void 0,{deep:!1})),C(this,\"overrideContextValue\",r.observable.box(void 0,{deep:!1})),C(this,\"nodeContextValue\",new WeakMap),C(this,\"nodeAtom\",new WeakMap),C(this,\"setDefault\",(0,r.action)(K=>{this.defaultContextValue.set({type:\"value\",value:K})})),C(this,\"setDefaultComputed\",(0,r.action)(K=>{this.defaultContextValue.set({type:\"computed\",value:(0,r.computed)(K)})})),C(this,\"set\",(0,r.action)((K,Se)=>{Wt(K,\"node\"),this.nodeContextValue.set(K,{type:\"value\",value:Se}),this.getNodeAtom(K).reportChanged()})),C(this,\"setComputed\",(0,r.action)((K,Se)=>{this._setComputed(K,(0,r.computed)(Se))})),C(this,\"unset\",(0,r.action)(K=>{Wt(K,\"node\"),this.nodeContextValue.delete(K),this.getNodeAtom(K).reportChanged()})),C(this,\"apply\",(0,r.action)((K,Se)=>{const He=this.overrideContextValue.get();this.overrideContextValue.set({type:\"value\",value:Se});try{const Ye=K();return Zt(Ye,!0)&&this.set(Ye,Se),Ye}finally{this.overrideContextValue.set(He)}})),C(this,\"applyComputed\",(0,r.action)((K,Se)=>{const He=(0,r.computed)(Se),Ye=this.overrideContextValue.get();this.overrideContextValue.set({type:\"computed\",value:He});try{const Et=K();return Zt(Et,!0)&&this._setComputed(Et,He),Et}finally{this.overrideContextValue.set(Ye)}})),this.setDefault(B)}getNodeAtom(B){return hr(this.nodeAtom,B,kl)}fastGet(B){this.getNodeAtom(B).reportObserved();const K=this.nodeContextValue.get(B);if(K)return af(K);const Se=Ku(B);if(!Se){const He=this.overrideContextValue.get();return He?af(He):this.getDefault()}return this.fastGet(Se)}get(B){return Wt(B,\"node\"),this.fastGet(B)}fastGetProviderNode(B){if(this.getNodeAtom(B).reportObserved(),this.nodeContextValue.get(B))return B;const Se=Ku(B);if(Se)return this.fastGetProviderNode(Se)}getProviderNode(B){return Wt(B,\"node\"),this.fastGetProviderNode(B)}getDefault(){return af(this.defaultContextValue.get())}_setComputed(B,K){Wt(B,\"node\"),this.nodeContextValue.set(B,{type:\"computed\",value:K}),this.getNodeAtom(B).reportChanged()}}function Pf(T){return new Nl(T)}const jl=Pf(!1);function qf(T){return jl.get(T)}const sf=new WeakSet;function If(T,B,K){const Se=ga(T,{parent:B,path:K});return gt(Se)&&!sf.has(Se)&&(sf.add(Se),uu(Se),jl.set(Se,!0)),Se}const cu=new WeakMap;function tu(T){return hr(cu,T,()=>new Map)}function uf(T,B,K){if(!K.get)throw xe(\"@computedTree requires a 'get' accessor\");const Se=T.constructor;if(!ru(Se)&&!Va(Se))throw xe(\"@computedTree can only decorate 'get' accessors of class or data models\");const He=K.get;K.get=function(){const Ye=tu(this).get(B),Et=Ye.value,bn=Ye.computed.get();if(Et===bn)return Ye.tweakedValue;const Qn=Ye.tweakedValue;ga(Qn,void 0),Fi(Qn);const yr=If(bn,this,B);return Ye.value=bn,Ye.tweakedValue=yr,yr},Fe(T,ht,Ye=>{const Et=computed(()=>He.call(Ye),{keepAlive:!0}),bn=Et.get(),Qn=If(bn,Ye,B);tu(Ye).set(B,{computed:Et,value:bn,tweakedValue:Qn})})}function Qf(...T){let B,K;if(Va(T[0]))B=T[0],K=T[1];else{const Se=T[0]();B=Se.baseModel,K=Se.props}return Ls(B,\"baseModel\"),bl(K,B)}function cf(T){const B=typeof T==\"function\"?T():T;return bl(B,void 0)}function bl(T,B){return Bu({modelProps:T,baseModel:B,type:\"data\",valueType:!1,fromSnapshotProcessor:void 0,toSnapshotProcessor:void 0})}function fd(T,B,K,Se){Wt(K,\"target\");const He=Rs({logArgsNearName:!0},Se);let Ye=0;B.subscribe($o=>{$o.type===\"DISPATCH\"&&yr(B,K,$o)});const Et=mn(K);B.init(Et);let bn=0;const Qn=Symbol(\"actionId\");ua(K,{onStart($o){$o.data[Qn]=bn++},onResume($o){$o.parentContext&&no($o.parentContext,void 0),no($o,void 0)},onSuspend($o){no($o,void 0)},onFinish($o,Lr){no($o,Lr.result)}});function yr($o,Lr,co){try{switch(Ye++,co.payload.type){case\"RESET\":return fa(Lr,Et),$o.init(Et);case\"COMMIT\":return $o.init(mn(Lr));case\"ROLLBACK\":return $o.init(T.extractState(co));case\"JUMP_TO_STATE\":case\"JUMP_TO_ACTION\":fa(Lr,T.extractState(co));return;case\"IMPORT_STATE\":const Do=co.payload.nextLiftedState,yi=Do.computedStates;fa(Lr,yi[yi.length-1].state),$o.send(null,Do);return;default:}}finally{Ye--}}let vr=Et;function no($o,Lr){if(Ye)return;const co=mn(K);if(co===vr&&Lr!==Ci.Throw)return;vr=co;const Do=Wu($o.target),Fo={type:Wo($o,Do,Lr),path:Do.path,args:$o.args};B.send(Fo,co)}function Wo($o,Lr,co){let yi=\"[/\"+Lr.path.join(\"/\")+\"] \"+$o.actionName;if(He.logArgsNearName){let Bo=$o.args.map(Uo=>{try{return JSON.stringify(Uo)}catch(Gi){return\"**unserializable**\"}}).join(\", \");Bo.length>64&&(Bo=Bo.slice(0,64)+\"...\"),yi+=`(${Bo})`}const Fo=$o.data[Qn];if(yi+=` (id ${Fo!==void 0?Fo:\"?\"}`,$o.type===M.Async&&(yi+=\", async\"),yi+=\")\",co===Ci.Throw&&(yi+=\" -error thrown-\"),$o.parentContext){const Bo=Wo($o.parentContext,Wu($o.parentContext.target),void 0);Bo&&(yi=`${Bo} >>> ${yi}`)}return yi}}const Gc=\"applyAction\";function kf(T){return{type:Gc,payload:T}}function Nf(T,...B){Wt(T,\"target\");const K=Ye=>{if(Ye.type!==Gc)throw xe(`action type was expected to be '${Gc}', but it was '${Ye.type}'`);return sl(T,Ye.payload),Ye};let Se={getState(){return mn(T)},dispatch(Ye){return jf(Ye,He,K)},subscribe(Ye){return Li(T,Ye)}};const He=B.map(Ye=>Ye(Se));return Se}function jf(T,B,K){let Se=0;function He(Ye){const Et=B[Se];return Se++,Et?Et(He)(Ye):K(Ye)}return He(T)}class cl extends Zu({id:Lu(Ae)}){get maybeCurrent(){return this.resolve()}get isValid(){return!!this.maybeCurrent}get current(){const B=this.maybeCurrent;if(!B)throw xe(`a reference of type '${this[re]}' could not resolve an object with id '${this.id}'`);return B}}ls([r.computed],cl.prototype,\"maybeCurrent\",null),ls([r.computed],cl.prototype,\"isValid\",null),ls([r.computed],cl.prototype,\"current\",null);function Df(T,B){return T instanceof B.refClass}const Rf=new WeakMap;function xl(T,B,K,Se){let He=class extends cl{constructor(){super(...arguments),C(this,\"resolver\"),C(this,\"savedOldTarget\")}resolve(){return this.resolver||(this.resolver=B(this)),this.resolver(this)}internalForceUpdateBackRefs(Qn){const yr=this.savedOldTarget;this.savedOldTarget=Qn,lf(this,Et,Qn,yr)}forceUpdateBackRefs(){this.internalForceUpdateBackRefs(this.maybeCurrent)}onInit(){let Qn,yr=!0;(0,r.reaction)(()=>this.maybeCurrent,vr=>{this.internalForceUpdateBackRefs(vr);const no=Qn,Wo=yr;Qn=vr,yr=!1,!Wo&&Se&&vr!==no&&Se(this,vr,no)},{fireImmediately:!0})}};ls([r.action],He.prototype,\"forceUpdateBackRefs\",null),He=ls([Hc(T)],He);const Ye=bn=>{let Qn;if(typeof bn==\"string\"?Qn=bn:(X(bn,\"target\"),Qn=K(bn)),typeof Qn!=\"string\")throw xe(\"ref target object must have an id of string type\");return new He({id:Qn})};Ye.refClass=He;const Et=Ye;return Et}function Wc(T){if(Ya(T)&&T.getRefId){const B=T.getRefId();if(B!==void 0&&typeof B!=\"string\")throw xe(\"'getRefId()' must return a string or undefined when present\");return B}}const Dl=new WeakMap;function Rl(T,B,K=Wc){const He=hr(Dl,K,()=>En(Ye=>K(Ye))).walk(T);return He?He.get(B):void 0}function hc(T,B){let K=Rf.get(T);if(K||(K={all:r.observable.set(void 0,{deep:!1}),byType:new WeakMap},Rf.set(T,K)),B){let Se=K.byType.get(B);return Se||(Se=r.observable.set(void 0,{deep:!1}),K.byType.set(B,Se)),Se}else return K.all}function wl(T,B,K){if(Wt(T,\"target\"),K!=null&&K.updateAllRefsIfNeeded&&ff()){const Se=new Set,He=Qn=>{Se.has(Qn)||((!B||Qn instanceof B.refClass)&&Qn.forceUpdateBackRefs(),Se.add(Qn))};hc(T,B).forEach(He);const Et=df(It(Du(T)));let bn;B?bn=Et.byType.get(B.refClass):bn=Et.all,bn==null||bn.forEach(He)}return hc(T,B)}const lf=(0,r.action)(\"updateBackRefs\",(T,B,K,Se)=>{K!==Se&&(Se&&(hc(Se).delete(T),hc(Se,B).delete(T)),K&&(hc(K).add(T),hc(K,B).add(T)))});function ff(){let T=!0;return when(()=>!0,()=>{T=!1})(),T}const df=zt({initData(){return{all:new Set,byType:new WeakMap}},addNode(T,B){T instanceof cl&&(B.all.add(T),hr(B.byType,T.constructor,()=>new Set).add(T))}}),Ll=(0,r.action)(\"customRef\",(T,B)=>{var K;const Se=(K=B.getId)!=null?K:Wc;return xl(T,()=>B.resolve,Se,B.onResolvedValueChange)}),hf=(0,r.action)(\"rootRef\",(T,B)=>{var K;const Se=(K=B==null?void 0:B.getId)!=null?K:Wc,He=B==null?void 0:B.onResolvedValueChange;return xl(T,Et=>{let bn;return()=>{const Qn=Du(Et);if(ec(Et,Qn,bn,Se))return bn;const yr=Rl(Qn,Et.id,Se);return yr&&(bn=yr),yr}},Se,He)});function ec(T,B,K,Se){return!(!K||T.id!==Se(K)||B!==Du(K))}function $s(T,B){return pl(T,B,!1)}function dd(T,B){return pl(T,B,!0)}function Lf(T,...B){return T.splice(...B)}const Eu=`${Ft}/arrayActions`,ll={set:$s(`${Eu}::set`,(T,B,K)=>{(0,r.set)(T,B,K)}),delete:$s(`${Eu}::delete`,(T,B)=>(0,r.remove)(T,\"\"+B)),setLength:$s(`${Eu}::setLength`,(T,B)=>{T.length=B}),concat:$s(`${Eu}::concat`,(T,...B)=>T.concat(...B)),copyWithin:$s(`${Eu}::copyWithin`,(T,B,K,Se)=>T.copyWithin(B,K,Se)),fill:$s(`${Eu}::fill`,(T,B,K,Se)=>T.fill(B,K,Se)),pop:$s(`${Eu}::pop`,T=>T.pop()),push:$s(`${Eu}::push`,(T,...B)=>T.push(...B)),reverse:$s(`${Eu}::reverse`,T=>T.reverse()),shift:$s(`${Eu}::shift`,T=>T.shift()),slice:$s(`${Eu}::slice`,(T,B,K)=>T.slice(B,K)),sort:$s(`${Eu}::sort`,(T,B)=>T.sort(B)),splice:$s(`${Eu}::splice`,Lf),unshift:$s(`${Eu}::unshift`,(T,...B)=>T.unshift(...B)),swap:$s(`${Eu}::swap`,(T,B,K)=>{if(B<0||K<0||B>=T.length||K>=T.length)return!1;K<B&&([B,K]=[K,B]);const[Se]=T.splice(B,1),[He]=T.splice(K-1,1);return T.splice(B,0,He),T.splice(K,0,Se),!0}),create:T=>Ia(T)},Sl=`${Ft}/objectActions`,hd={set:$s(`${Sl}::set`,(T,B,K)=>{(0,r.isObservable)(T)?(0,r.set)(T,B,K):T[B]=K}),assign:$s(`${Sl}::assign`,(T,B)=>{X(B,\"partialObject\");const K=Object.keys(B);if((0,r.isObservable)(T))for(const Se of K)(0,r.set)(T,Se,B[Se]);else for(const Se of K)T[Se]=B[Se]}),delete:$s(`${Sl}::delete`,(T,B)=>(0,r.remove)(T,B)),call:$s(`${Sl}::call`,(T,B,...K)=>T[B](...K)),create:T=>Ia(T)};function pf(T){const B=new WeakMap;return{for(K){if(B.has(K))return B.get(K);{const Se=T(K);return B.set(K,Se),Se}}}}const Bf=(0,r.action)(T=>{if(ve&&!(0,r.isObservableObject)(T))throw xe(\"assertion failed: expected an observable object\");const B=r.observable.map();B.dataObject=T;const K=Object.keys(T);for(let Ye=0;Ye<K.length;Ye++){const Et=K[Ye];B.set(Et,T[Et])}let Se=!1,He=!1;return(0,r.observe)(T,(0,r.action)(Ye=>{if(!Se){He=!0;try{switch(Ye.type){case\"add\":case\"update\":{B.set(Ye.name,Ye.newValue);break}case\"remove\":{B.delete(Ye.name);break}}}finally{He=!1}}})),(0,r.intercept)(B,(0,r.action)(Ye=>{if(Se)return null;if(He)return Ye;Se=!0;try{switch(Ye.type){case\"add\":case\"update\":{(0,r.set)(T,Ye.name,Ye.newValue);break}case\"delete\":{(0,r.remove)(T,Ye.name);break}}return Ye}finally{Se=!1}})),B}),Bl=(0,r.action)(T=>{if(ve&&!(0,r.isObservableArray)(T))throw xe(\"assertion failed: expected an observable array\");let B;if(In()>=6?B=r.observable.map(T):(B=r.observable.map(),T.forEach(([He,Ye])=>{B.set(He,Ye)})),B.dataObject=T,B.size!==T.length)throw xe(\"arrays backing a map cannot contain duplicate keys\");let K=!1,Se=!1;return(0,r.observe)(T,(0,r.action)(He=>{if(!K){Se=!0;try{switch(He.type){case\"splice\":{{const Ye=He.removed;for(let Et=0;Et<Ye.length;Et++)B.delete(Ye[Et][0])}{const Ye=He.added;for(let Et=0;Et<Ye.length;Et++)B.set(Ye[Et][0],Ye[Et][1])}break}case\"update\":{B.delete(He.oldValue[0]),B.set(He.newValue[0],He.newValue[1]);break}}}finally{Se=!1}}})),(0,r.intercept)(B,(0,r.action)(He=>{if(K)return null;if(Se)return He;K=!0;try{switch(He.type){case\"update\":{const Ye=T.findIndex(Et=>Et[0]===He.name);T[Ye]=[He.name,He.newValue];break}case\"add\":{T.push([He.name,He.newValue]);break}case\"delete\":{const Ye=T.findIndex(Et=>Et[0]===He.name);Ye>=0&&T.splice(Ye,1);break}}return He}finally{K=!1}})),B}),Jf=pf(T=>ae(T)?(_e(T,\"objOrArray\"),Bl(T)):(fe(T,\"objOrArray\"),Bf(T)));function gf(T){return Jf.for(T)}function pd(T){be(T,\"map\");const B=T.dataObject;if(B&&!ae(B))return B;const K={};for(const Se of T.keys())K[Se]=T.get(Se);return K}function gd(T){be(T,\"map\");const B=T.dataObject;if(B&&ae(B))return B;const K=[];for(const Se of T.keys())K.push([Se,T.get(Se)]);return K}const vf={transform({originalValue:T,cachedTransformedValue:B}){return B!=null?B:gf(T)},untransform({transformedValue:T}){const B={};for(const K of T.keys())B[K]=T.get(K);return B}},mf=()=>vf,Ff={transform({originalValue:T,cachedTransformedValue:B}){return B!=null?B:gf(T)},untransform({transformedValue:T}){const B=[];for(const K of T.keys())B.push([K,T.get(K)]);return B}},vd=()=>Ff,ed=(0,r.action)(T=>{if(ve&&!(0,r.isObservableArray)(T))throw xe(\"assertion failed: expected an observable array\");let B;if(In()>=6?B=r.observable.set(T):(B=r.observable.set(),T.forEach(He=>{B.add(He)})),B.dataObject=T,B.size!==T.length)throw xe(\"arrays backing a set cannot contain duplicate values\");let K=!1,Se=!1;return(0,r.observe)(T,(0,r.action)(He=>{if(!K){Se=!0;try{switch(He.type){case\"splice\":{{const Ye=He.removed;for(let Et=0;Et<Ye.length;Et++)B.delete(Ye[Et])}{const Ye=He.added;for(let Et=0;Et<Ye.length;Et++)B.add(Ye[Et])}break}case\"update\":{B.delete(He.oldValue),B.add(He.newValue);break}}}finally{Se=!1}}})),(0,r.intercept)(B,(0,r.action)(He=>{if(K)return null;if(Se)return He;K=!0;try{switch(He.type){case\"add\":{T.push(He.newValue);break}case\"delete\":{const Ye=T.indexOf(He.oldValue);Ye>=0&&T.splice(Ye,1);break}}return He}finally{K=!1}})),B}),td=pf(T=>(_e(T,\"array\"),ed(T)));function yf(T){return td.for(T)}function nd(T){We(T,\"set\");const B=T.dataObject;return B||Array.from(T.values())}const rd={transform({originalValue:T,cachedTransformedValue:B}){return B!=null?B:yf(T)},untransform({transformedValue:T}){return Array.from(T.values())}},od=()=>rd,zf={transform({originalValue:T,cachedTransformedValue:B}){return B!=null?B:BigInt(T)},untransform({transformedValue:T,cacheTransformedValue:B}){return typeof T==\"bigint\"&&B(),T.toString()}},$f=()=>zf,du=\"this Date object is immutable\";class Ou extends Date{setTime(){throw xe(du)}setMilliseconds(){throw xe(du)}setUTCMilliseconds(){throw xe(du)}setSeconds(){throw xe(du)}setUTCSeconds(){throw xe(du)}setMinutes(){throw xe(du)}setUTCMinutes(){throw xe(du)}setHours(){throw xe(du)}setUTCHours(){throw xe(du)}setDate(){throw xe(du)}setUTCDate(){throw xe(du)}setMonth(){throw xe(du)}setUTCMonth(){throw xe(du)}setFullYear(){throw xe(du)}setUTCFullYear(){throw xe(du)}}const Hf={transform({originalValue:T,cachedTransformedValue:B}){return B!=null?B:new Ou(T)},untransform({transformedValue:T,cacheTransformedValue:B}){return T instanceof Ou&&B(),+T}},id=()=>Hf,ad={transform({originalValue:T,cachedTransformedValue:B}){return B!=null?B:new Ou(T)},untransform({transformedValue:T,cacheTransformedValue:B}){return T instanceof Ou&&B(),T.toISOString()}},o=()=>ad;class t{constructor(B){C(this,\"data\"),C(this,\"originalData\"),Wt(B,\"original\"),this.originalData=B,this.data=le(this.originalSnapshot,{generateNewIds:!1})}commit(){fa(this.originalData,mn(this.data))}commitByPath(B){const K=js(this.data,B);if(!K.resolved)throw xe(`path ${JSON.stringify(B)} could not be resolved in draft object`);const Se=n(this.data,B);if(!wu(this.originalData,B,Se).resolved)throw xe(`path ${JSON.stringify(B)} could not be resolved in original object`);$t(this.originalData,[{path:B,op:\"replace\",value:mn(K.value)}])}reset(){fa(this.data,this.originalSnapshot)}resetByPath(B){const K=js(this.originalData,B);if(!K.resolved)throw xe(`path ${JSON.stringify(B)} could not be resolved in original object`);const Se=n(this.originalData,B);if(!wu(this.data,B,Se).resolved)throw xe(`path ${JSON.stringify(B)} could not be resolved in draft object`);$t(this.data,[{path:B,op:\"replace\",value:mn(K.value)}])}get isDirty(){return!vs(mn(this.data),this.originalSnapshot)}isDirtyByPath(B){const K=js(this.data,B);if(!K.resolved)throw xe(`path ${JSON.stringify(B)} could not be resolved in draft object`);const Se=n(this.data,B),He=wu(this.originalData,B,Se);return He.resolved?!vs(K.value,He.value):!0}get originalSnapshot(){return mn(this.originalData)}}ls([r.action],t.prototype,\"commit\",null),ls([r.action],t.prototype,\"commitByPath\",null),ls([r.action],t.prototype,\"reset\",null),ls([r.action],t.prototype,\"resetByPath\",null),ls([r.computed],t.prototype,\"isDirty\",null),ls([r.computed],t.prototype,\"originalSnapshot\",null);function e(T){return new t(T)}function n(T,B){const K=at(T,B);return K.length>=1&&(K[K.length-1]=xu),K}const i=Pf();function d(T){return i.get(T)}function g(T){return!!d(T)}class _{constructor(B){C(this,\"subtreeRoot\"),C(this,\"subtreeRootClone\"),C(this,\"disposer\"),C(this,\"withSandboxPatchRecorder\"),C(this,\"allowWrite\"),C(this,\"isCommitting\",!1),this.subtreeRoot=B,Wt(B,\"subtreeRoot\");let K=i.getDefault();i.setDefault(this);try{this.subtreeRootClone=qn(B,{generateNewIds:!1}),i.set(this.subtreeRootClone,this)}catch(Qn){throw Qn}finally{i.setDefault(K)}let Se=!1;const He=reaction(()=>Go(B),Qn=>{Qn!==Se&&(Se=Qn,Qn?ho(this.subtreeRootClone):vo(this.subtreeRootClone))},{fireImmediately:!0}),Ye=Jo(B,Qn=>{if(this.withSandboxPatchRecorder)throw xe(\"original subtree must not change while 'withSandbox' executes\");this.isCommitting||this.allowWrite(()=>{$t(this.subtreeRootClone,Qn)})}),{allowWrite:Et,dispose:bn}=uu(this.subtreeRootClone);this.allowWrite=Et,this.disposer=()=>{He(),Ye(),bn(),Go(this.subtreeRootClone)&&vo(this.subtreeRootClone),this.disposer=()=>{}}}withSandbox(B,K){for(let Et=0;Et<B.length;Et++)Wt(B[Et],`nodes[${Et}]`);we(K,\"fn\");const{sandboxNodes:Se,applyRecorderChanges:He}=this.prepareSandboxChanges(B);let Ye=!1;try{const Et=this.allowWrite(()=>K(...Se));if(typeof Et==\"boolean\"){Ye=Et;return}else return Ye=Et.commit,Et.return}finally{He(Ye)}}dispose(){this.disposer()}prepareSandboxChanges(B){const K=!!this.withSandboxPatchRecorder,Se=B.map(bn=>{const Qn=Ys(K?this.subtreeRootClone:this.subtreeRoot,bn);if(!Qn)throw xe(`node is not a child of subtreeRoot${K?\"Clone\":\"\"}`);const yr=js(this.subtreeRootClone,Qn).value;if(!yr)throw xe(\"path could not be resolved - sandbox may be out of sync with original tree\");return yr});this.withSandboxPatchRecorder||(this.withSandboxPatchRecorder=Xl(this.subtreeRootClone));const He=this.withSandboxPatchRecorder,Ye=He.events.length;return{sandboxNodes:Se,applyRecorderChanges:bn=>{if(K||(He.dispose(),this.withSandboxPatchRecorder=void 0),bn){if(!K){const Qn=[],yr=He.events.length;for(let no=0;no<yr;no++)Qn.push(...He.events[no].patches);const vr=this.isCommitting;this.isCommitting=!0;try{$t(this.subtreeRoot,Qn)}finally{this.isCommitting=vr}}}else this.allowWrite(()=>{runInAction(()=>{let Qn=He.events.length;for(;Qn-- >Ye;)$t(this.subtreeRootClone,He.events[Qn].inversePatches,!0)})})}}}}function I(T){return new _(T)}function D(...T){const B=K=>new H(K,T.map(Ir));return ti(()=>{const K=T.map(Dr),Se=(...Ye)=>\"[\"+K.map(bn=>Ye.includes(bn)?\"...\":bn.getTypeName(...Ye,bn)).join(\", \")+\"]\",He=new Mo(ar.Array,(Ye,Et,bn)=>{if(!ae(Ye)||Ye.length!==T.length)return new $e(Et,Se(He),Ye,bn);for(let Qn=0;Qn<Ye.length;Qn++){const yr=K[Qn].check(Ye[Qn],[...Et,Qn],bn);if(yr)return yr}return null},Se,B,Ye=>{if(!ae(Ye)||Ye.length!==T.length)return null;for(let Et=0;Et<Ye.length;Et++)if(!K[Et].snapshotType(Ye[Et]))return null;return He},Ye=>Ye.map((Et,bn)=>K[bn].fromSnapshotProcessor(Et)),Ye=>Ye.map((Et,bn)=>K[bn].toSnapshotProcessor(Et)));return He},B)}class H extends ni{constructor(B,K){super(B),C(this,\"itemTypes\"),C(this,\"_itemTypeInfos\",qt(()=>this.itemTypes.map(si))),this.itemTypes=K}get itemTypeInfos(){return this._itemTypeInfos()}}let Z=class extends Zu({[me]:yo,items:Lu(Fu(Ec()),()=>[])}){add(B){const K=this.items;return K.includes(B)||K.push(B),this}clear(){this.items.length=0}delete(B){const K=this.items,Se=K.findIndex(He=>He===B);return Se>=0?(K.splice(Se,1),!0):!1}forEach(B,K){const Se=this.items,He=Se.length;for(let Ye=0;Ye<He;Ye++){const Et=Se[Ye];B.call(K,Et,Et,this)}}has(B){return this.items.includes(B)}get size(){return this.items.length}keys(){return this.values()}values(){const B=this.items;return(0,r.values)(B)[Symbol.iterator]()}entries(){return this.items.map(K=>[K,K]).values()}[Symbol.iterator](){return this.values()}get[Symbol.toStringTag](){return\"ArraySet\"}};ls([ou],Z.prototype,\"add\",null),ls([ou],Z.prototype,\"clear\",null),ls([ou],Z.prototype,\"delete\",null),Z=ls([Hc(`${Ft}/ArraySet`)],Z);function te(T){const B=T?T.slice():[];return new Z({items:B})}function de(T){const B=K=>new Pe(K,Ir(T));return ti(()=>{const K=Mn.get(Z),Se=Dr(T),He=(...bn)=>`ArraySet<${Se.getTypeName(...bn,Se)}>`,Ye=Sc(()=>({items:Fu(Se)})),Et=new Mo(ar.Object,(bn,Qn,yr)=>bn instanceof Z?Dr(Ye).check(bn.$,Qn,yr):new $e(Qn,He(Et),bn,yr),He,B,bn=>ye(bn)?bn[re]!==void 0?bn[re]===K.name?Et:null:Dr(Ye).snapshotType(bn)?Et:null:null,bn=>Mu(Rs({},bn),{[re]:K.name,items:bn.items.map(Qn=>Se.fromSnapshotProcessor(Qn))}),bn=>Mu(Rs({},bn),{items:bn.items.map(yr=>Se.toSnapshotProcessor(yr))}));return Et},B)}class Pe extends ni{constructor(B,K){super(B),C(this,\"valueType\"),this.valueType=K}get valueTypeInfo(){return si(this.valueType)}}function Ge(T){const B=K=>new Qe(K,Ir(T));return ti(()=>{const K=Dr(T),Se=(...Et)=>`Record<${K.getTypeName(...Et,K)}>`,He=(Et,bn)=>{if(K.unchecked)return Et;const Qn={},yr=Object.keys(Et);for(let vr=0;vr<yr.length;vr++){const no=yr[vr],Wo=bn===\"from\"?K.fromSnapshotProcessor(Et[no]):K.toSnapshotProcessor(Et[no]);Qn[no]=Wo}return Qn},Ye=new Mo(ar.Object,(Et,bn,Qn)=>{if(!ye(Et))return new $e(bn,Se(Ye),Et,Qn);if(!K.unchecked){const yr=Object.keys(Et);for(let vr=0;vr<yr.length;vr++){const no=yr[vr],Wo=Et[no],$o=K.check(Wo,[...bn,no],Qn);if($o)return $o}}return null},Se,B,Et=>{if(!ye(Et))return null;if(!K.unchecked){const bn=Object.keys(Et);for(let Qn=0;Qn<bn.length;Qn++){const yr=bn[Qn],vr=Et[yr];if(!K.snapshotType(vr))return null}}return Ye},Et=>He(Et,\"from\"),Et=>He(Et,\"to\"));return Ye},B)}class Qe extends ni{constructor(B,K){super(B),C(this,\"valueType\"),this.valueType=K}get valueTypeInfo(){return si(this.valueType)}}let Xe=class extends Zu({[me]:yo,items:Lu(Ge(Ec()),()=>({}))}){clear(){const B=this.items,K=Object.keys(B),Se=K.length;for(let He=0;He<Se;He++){const Ye=K[He];(0,r.remove)(B,Ye)}}delete(B){return this.has(B)?((0,r.remove)(this.items,B),!0):!1}forEach(B,K){const Se=this.items,He=Object.keys(Se),Ye=He.length;for(let Et=0;Et<Ye;Et++){const bn=He[Et];B.call(K,Se[bn],bn,this)}}get(B){return(0,r.get)(this.items,B)}has(B){return(0,r.has)(this.items,B)}set(B,K){return(0,r.set)(this.items,B,K),this}get size(){return(0,r.keys)(this.items).length}keys(){return(0,r.keys)(this.items)[Symbol.iterator]()}values(){return(0,r.values)(this.items)[Symbol.iterator]()}entries(){return(0,r.entries)(this.items)[Symbol.iterator]()}[Symbol.iterator](){return this.entries()}get[Symbol.toStringTag](){return\"ObjectMap\"}};ls([ou],Xe.prototype,\"clear\",null),ls([ou],Xe.prototype,\"delete\",null),ls([ou],Xe.prototype,\"set\",null),Xe=ls([Hc(`${Ft}/ObjectMap`)],Xe);function yt(T){const B={};if(T){let K=T.length;for(let Se=0;Se<K;Se++){const He=T[Se];B[He[0]]=He[1]}}return new Xe({items:B})}function Ct(T){const B=K=>new on(K,Ir(T));return ti(()=>{const K=Mn.get(Xe),Se=Dr(T),He=(...Qn)=>`ObjectMap<${Se.getTypeName(...Qn,Se)}>`,Ye=Sc(()=>({items:Ge(Se)})),Et=Dr(Ye),bn=new Mo(ar.Object,(Qn,yr,vr)=>Qn instanceof Xe?Et.check(Qn.$,yr,vr):new $e(yr,He(bn),Qn,vr),He,B,Qn=>ye(Qn)?Qn[re]!==void 0?Qn[re]===K.name?bn:null:Et.snapshotType(Qn)?bn:null:null,Qn=>{const yr={};for(const vr of Object.keys(Qn.items))yr[vr]=Se.fromSnapshotProcessor(Qn.items[vr]);return Mu(Rs({},Qn),{[re]:K.name,items:yr})},Qn=>{const yr={};for(const no of Object.keys(Qn.items))yr[no]=Se.toSnapshotProcessor(Qn.items[no]);return Mu(Rs({},Qn),{items:yr})});return bn},B)}class on extends ni{constructor(B,K){super(B),C(this,\"valueType\"),this.valueType=K}get valueTypeInfo(){return si(this.valueType)}}function sn(T){const B=\"Ref\",K=Mn.get(T.refClass),Se=Dr(Sc(()=>({id:Ae}))),He=new Mo(ar.Object,(Ye,Et,bn)=>Ye instanceof cl?Se.check(Ye.$,Et,bn):new $e(Et,B,Ye,bn),()=>B,Ye=>new Nn(Ye),Ye=>ye(Ye)?Ye[re]!==void 0?Ye[re]===K.name?He:null:Se.snapshotType(Ye)?He:null:null,Ye=>Ye[re]?Ye:Mu(Rs({},Ye),{[re]:K.name}),Ye=>Ye);return He}class Nn extends ni{}function Tn(T){const B=[];for(const K of Object.keys(T)){const Se=T[K];!B.includes(Se)&&(typeof Se!=\"string\"&&Se!==+K||T[Se]!==+K)&&B.push(Se)}return B}function Bn(T){X(T,\"enumObject\");const B=Tn(T).map(K=>Re(K));return dc(...B)}function Hn(T,B,K){const Se=He=>new Sr(He,Ir(T),B,K);return ti(()=>{const He=Dr(T),Ye=(...bn)=>{const Qn=He.getTypeName(...bn,He);return`${K||\"refinementOf\"}<${Qn}>`},Et=new Mo(He.baseType,(bn,Qn,yr)=>{const vr=He.check(bn,Qn,yr);if(vr)return vr;const no=B(bn);return no===!0||no==null?null:no===!1?new $e(Qn,Ye(Et),bn,yr):new $e(no.path,no.expectedTypeName,no.actualValue,yr)},Ye,Se,bn=>He.snapshotType(bn),bn=>He.fromSnapshotProcessor(bn),bn=>He.toSnapshotProcessor(bn));return Et},Se)}class Sr extends ni{constructor(B,K,Se,He){super(B),C(this,\"baseType\"),C(this,\"checkFunction\"),C(this,\"typeName\"),this.baseType=K,this.checkFunction=Se,this.typeName=He}get baseTypeInfo(){return si(this.baseType)}}const Cr=Hn(Cn,T=>Number.isInteger(T),\"integer\"),po=Hn(Ae,T=>T!==\"\",\"nonEmpty\");function wo(T){return dc(T,nt)}function Po(T){return dc(T,rt)}function Xo(T,B,K){const Se=He=>new ri(He,Ir(T),B,K);return ti(()=>{const He=Dr(T),Ye=(...bn)=>{const Qn=He.getTypeName(...bn,He);return`${K||\"tagged\"}<${Qn}>`};return new Mo(He.baseType,(bn,Qn,yr)=>He.check(bn,Qn,yr),Ye,Se,bn=>He.snapshotType(bn),bn=>He.fromSnapshotProcessor(bn),bn=>He.toSnapshotProcessor(bn))},Se)}class ri extends ni{constructor(B,K,Se,He){super(B),C(this,\"baseType\"),C(this,\"tag\"),C(this,\"typeName\"),this.baseType=K,this.tag=Se,this.typeName=He}get baseTypeInfo(){return si(this.baseType)}}const ki={literal:Re,undefined:nt,null:rt,boolean:Xt,number:Cn,string:Ae,or:dc,maybe:wo,maybeNull:Po,array:Fu,record:Ge,unchecked:Ec,model:Ki,dataModelData:$i,object:Sc,ref:sn,frozen:fc,enum:Bn,tag:Xo,refinement:Hn,integer:Cr,nonEmptyString:po,objectMap:Ct,arraySet:de,tuple:D,mapArray(T){return Fu(D(Ae,T))},setArray(T){return Fu(T)},mapObject(T){return Ge(T)},dateString:po,dateTimestamp:Cr}}}]);\n"
  },
  {
    "path": "docker/public/558.58fc54b3.chunk.css",
    "content": "/*!\n * Project: Heti\n * URL: https://github.com/sivan/heti\n * Author: Sivan [sun.sivan@gmail.com]\n */@font-face{font-family:Heti Hei;src:\"Heti Hei SC\",\"Heti Hei TC\",\"Heti Hei JP\",\"Heti Hei KR\"}@font-face{font-family:Heti Hei SC;src:local(\"PingFang SC Regular\"),local(\"Heiti SC Regular\"),local(\"Microsoft YaHei\"),local(\"Source Han Sans CN Regular\"),local(\"Noto Sans CJK SC Regular\"),local(\"WenQuanYi Micro Hei\"),local(\"Droid Sans Fallback\")}@font-face{font-family:Heti Hei TC;src:local(\"PingFang TC Regular\"),local(\"Heiti TC Regular\"),local(\"Microsoft Jhenghei\"),local(\"Source Han Sans HK Regular\"),local(\"Source Han Sans TW Regular\"),local(\"Noto Sans CJK TC Regular\"),local(\"WenQuanYi Micro Hei\"),local(\"Droid Sans Fallback\")}@font-face{font-family:Heti Hei JP;src:local(\"Hiragino Sans GB W3\"),local(\"Source Han Sans JP Regular\"),local(\"Noto Sans CJK JP Regular\"),local(\"Droid Sans Fallback\")}@font-face{font-family:Heti Hei KR;src:local(\"Source Han Sans KR Regular\"),local(\"Noto Sans CJK KR Regular\"),local(\"Droid Sans Fallback\")}@font-face{font-family:Heti Hei;font-weight:200;src:\"Heti Hei SC Light\",\"Heti Hei TC Light\",\"Heti Hei JP Light\",\"Heti Hei KR Light\"}@font-face{font-family:Heti Hei SC Light;font-weight:200;src:local(\"PingFang SC Light\"),local(\"Heiti SC Light\"),\"Heti Hei SC Light Fallback\",local(\"Source Han Sans CN Light\"),local(\"Noto Sans CJK SC Light\")}@font-face{font-family:Heti Hei TC Light;font-weight:200;src:local(\"PingFang TC Light\"),local(\"Heiti TC Light\"),local(\"Microsoft Jhenghei Light\"),local(\"Source Han Sans HK Light\"),local(\"Source Han Sans TW Light\"),local(\"Noto Sans CJK TC Light\")}@font-face{font-family:Heti Hei JP Light;font-weight:200;src:local(\"Source Han Sans JP Light\"),local(\"Noto Sans CJK JP Light\")}@font-face{font-family:Heti Hei KR Light;font-weight:200;src:local(\"Source Han Sans KR Light\"),local(\"Noto Sans CJK KR Light\")}@font-face{font-family:Heti Hei SC Light Fallback;font-weight:200;src:local(\"Microsoft YaHei\"),local(\"Droid Sans Fallback\")}@font-face{font-family:Heti Hei;font-weight:600;src:\"Heti Hei SC Bold\",\"Heti Hei TC Bold\",\"Heti Hei JP Bold\",\"Heti Hei KR Bold\"}@font-face{font-family:Heti Hei SC Bold;font-weight:600;src:local(\"PingFang SC Medium\"),local(\"Heiti SC Medium\"),\"Heti Hei SC Bold Fallback\",local(\"Source Han Sans CN Bold\"),local(\"Noto Sans CJK SC Bold\")}@font-face{font-family:Heti Hei TC Bold;font-weight:600;src:local(\"PingFang TC Medium\"),local(\"Heiti TC Medium\"),local(\"Microsoft Jhenghei Bold\"),local(\"Source Han Sans HK Bold\"),local(\"Source Han Sans TW Bold\"),local(\"Noto Sans CJK TC Bold\")}@font-face{font-family:Heti Hei JP Bold;font-weight:600;src:local(\"Hiragino Sans GB W6\"),local(\"Source Han Sans JP Bold\"),local(\"Noto Sans CJK JP Bold\")}@font-face{font-family:Heti Hei KR Bold;font-weight:600;src:local(\"Source Han Sans KR Bold\"),local(\"Noto Sans CJK KR Bold\")}@font-face{font-family:Heti Hei SC Bold Fallback;font-weight:600;src:local(\"Microsoft YaHei\"),local(\"Droid Sans Fallback\")}@font-face{font-family:Heti Hei Black;font-weight:800;src:\"Heti Hei SC Black\",\"Heti Hei TC Black\",\"Heti Hei JP Black\",\"Heti Hei KR Black\"}@font-face{font-family:Heti Hei SC Black;font-weight:800;src:local(\"Lantinghei SC Heavy\"),local(\"PingFang SC Semibold\"),local(\"Heiti SC Medium\"),\"Heti Hei SC Black Fallback\",local(\"Source Han Sans CN Heavy\"),local(\"Noto Sans CJK SC Heavy\")}@font-face{font-family:Heti Hei TC Black;font-weight:800;src:local(\"Lantinghei TC Heavy\"),local(\"PingFang TC Semibold\"),local(\"Heiti TC Medium\"),local(\"Microsoft Jhenghei Bold\"),local(\"Source Han Sans HK Heavy\"),local(\"Source Han Sans TW Heavy\"),local(\"Noto Sans CJK TC Heavy\")}@font-face{font-family:Heti Hei JP Black;font-weight:800;src:local(\"Hiragino Sans GB W6\"),local(\"Source Han Sans JP Heavy\"),local(\"Noto Sans CJK JP Heavy\")}@font-face{font-family:Heti Hei KR Black;font-weight:800;src:local(\"Source Han Sans KR Heavy\"),local(\"Noto Sans CJK KR Heavy\")}@font-face{font-family:Heti Hei SC Black Fallback;font-weight:800;src:local(\"Microsoft YaHei\"),local(\"Droid Sans Fallback\")}@font-face{font-family:Heti Song;src:local(\"Songti SC Regular\"),local(\"Songti TC Regular\"),local(\"SimSun\")}@font-face{font-family:Heti Song;font-weight:200;src:local(\"Songti SC Light\"),local(\"Songti TC Light\"),\"Heti Song Light Fallback\"}@font-face{font-family:Heti Song Light Fallback;font-weight:200;src:local(\"SimSun\")}@font-face{font-family:Heti Song;font-weight:600;src:local(\"Songti SC Bold\"),local(\"Songti TC Bold\"),\"Heti Song Bold Fallback\"}@font-face{font-family:Heti Song Bold Fallback;font-weight:600;src:local(\"SimSun\")}@font-face{font-family:Heti Song Black;font-weight:800;src:local(\"Songti SC Black\"),local(\"SimSun\")}@font-face{font-family:Heti Kai;src:local(\"Kaiti SC Regular\"),local(\"Kaiti TC Regular\"),local(\"STKaiti\"),local(\"Kaiti\"),local(\"BiauKai\")}@font-face{font-family:Heti Kai;font-weight:600;src:local(\"Kaiti SC Bold\"),local(\"Kaiti TC Bold\")}@font-face{font-family:Heti Kai Bold Fallback;font-weight:600;src:local(\"STKaiti\"),local(\"Kaiti\") local(\"BiauKai\")}@font-face{font-family:Heti Kai Black;font-weight:800;src:local(\"Kaiti SC Black\"),local(\"Kaiti TC Black\"),local(\"STKaiti\"),local(\"Kaiti\")}.markdown{max-width:100%;font-size:16px;font-weight:400;-webkit-font-smoothing:subpixel-antialiased;line-height:1.5;overflow-wrap:break-word;word-wrap:break-word;hyphens:auto;letter-spacing:.02em}.markdown:before,.markdown:after{content:\"\";display:table}.markdown:after{clear:both}.markdown>*:first-child,.markdown section>*:first-child,.markdown td>*:first-child{margin-block-start:0!important}.markdown>*:last-child,.markdown section>*:last-child,.markdown td>*:last-child{margin-block-end:0!important}.markdown blockquote{margin-block-start:12px;margin-block-end:24px;margin-inline-start:32px;margin-inline-end:32px;padding-block-start:12px;padding-block-end:12px;padding-inline-start:16px;padding-inline-end:16px;background-color:#0000000e}@media (prefers-color-scheme: dark){.markdown blockquote{background-color:#ffffff0e}}.markdown figure{display:block;text-align:center}.markdown figure>img{display:block;margin-inline-start:auto;margin-inline-end:auto}.markdown hr{width:30%;height:1px;margin-block-start:48px;margin-block-end:47px;margin-inline-start:auto;margin-inline-end:auto;border:0;background-color:#ccc}@media (prefers-color-scheme: dark){.markdown hr{background-color:#404040}}.markdown p{margin-block-start:12px;margin-block-end:24px;text-align:justify}.markdown p:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)),.markdown p:not(:lang(zh)){text-align:start}.markdown pre{margin-block-start:12px;margin-block-end:12px;margin-inline-start:0;margin-inline-end:0;padding-block-start:12px;padding-block-end:12px;padding-inline-start:16px;padding-inline-end:16px;overflow:auto;font-family:SFMono-Regular,consolas,Liberation Mono,menlo,courier,monospace,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol;white-space:pre;word-wrap:normal;border-radius:4px;background-color:#0000000e}@media (prefers-color-scheme: dark){.markdown pre{background-color:#ffffff0e}}.markdown pre code{margin:0;padding:0;border:0;border-radius:0;background-color:#0000;color:inherit}.markdown:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)),.markdown:not(:lang(zh)){letter-spacing:0}.markdown a,.markdown abbr,.markdown code,.markdown heti-spacing,.markdown [lang=en-US]{letter-spacing:normal}.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6{position:relative;margin:0;margin-block-start:24px;margin-block-end:12px;font-weight:600}.markdown h1{margin-block-end:24px;font-size:32px;line-height:48px}.markdown h2{font-size:24px;line-height:36px}.markdown h3{font-size:20px;line-height:36px}.markdown h4{font-size:18px;line-height:24px}.markdown h5{font-size:16px;line-height:24px}.markdown h6{font-size:14px;line-height:24px}.markdown h1,.markdown h2,.markdown h3{letter-spacing:.05em}.markdown h1:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)),.markdown h1:not(:lang(zh)),.markdown h2:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)),.markdown h2:not(:lang(zh)),.markdown h3:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)),.markdown h3:not(:lang(zh)){letter-spacing:0}.markdown h1+h2,.markdown h2+h3,.markdown h3+h4,.markdown h4+h5,.markdown h5+h6{margin-block-start:12px}.markdown ul,.markdown ol,.markdown dl{margin-block-start:12px;margin-block-end:24px}.markdown ul,.markdown ol{padding-inline-start:32px}.markdown ul ul,.markdown ul ol,.markdown ol ul,.markdown ol ol{margin-block-start:0;margin-block-end:0}.markdown ul{list-style-type:disc}.markdown ol{list-style-type:decimal}.markdown ul ul,.markdown ol ul{list-style-type:circle}.markdown ul ul ul,.markdown ul ol ul,.markdown ol ul ul,.markdown ol ol ul{list-style-type:square}.markdown li{list-style-type:unset}.markdown table{box-sizing:border-box;table-layout:fixed;margin-block-start:12px;margin-block-end:24px;margin-inline-start:auto;margin-inline-end:auto;border-collapse:collapse;border-width:1px;border-style:solid;border-color:#ccc;word-break:break-word}@media (prefers-color-scheme: dark){.markdown table{border-color:#404040}}.markdown th,.markdown td{padding-block-start:6px;padding-block-end:6px;padding-inline-start:8px;padding-inline-end:8px;border-width:1px;border-style:solid;border-color:#ccc}@media (prefers-color-scheme: dark){.markdown th,.markdown td{border-color:#404040}}.markdown caption{caption-side:bottom;margin-block-start:2px;margin-block-end:-4px;font-size:14px;line-height:24px}.markdown a{text-decoration:none}.markdown a:hover{padding-block-end:1px;border-block-end:1px solid currentColor;text-decoration:none}.markdown abbr[title]{padding-block-end:1px;border-block-end:1px dotted;text-decoration:none;cursor:help}.markdown b,.markdown strong{font-weight:600}.markdown code{margin-inline-start:.25em;margin-inline-end:.25em;font-family:SFMono-Regular,consolas,Liberation Mono,menlo,courier,monospace,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol;font-size:.875em}.markdown dfn{font-weight:600}.markdown dfn:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)),.markdown dfn:not(:lang(zh)){font-weight:400}.markdown em{font-weight:600}.markdown figcaption{display:inline-block;vertical-align:top;font-size:14px;text-align:start}.markdown i{font-style:italic}.markdown ins,.markdown u{padding-block-end:1px;border-block-end:1px solid;text-decoration:none}.markdown mark{padding-block-start:2px;padding-block-end:2px;padding-inline-start:1px;padding-inline-end:1px;margin-inline-start:1px;margin-inline-end:1px;background-color:#fff700e0;color:inherit}@media (prefers-color-scheme: dark){.markdown mark{background-color:#4d4a00e0}}.markdown q{quotes:\"\\300c\" \"\\300d\" \"\\300e\" \"\\300f\"}.markdown q:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)),.markdown q:not(:lang(zh)){quotes:initial;quotes:auto}.markdown rt{font-size:.875em;font-weight:400}.markdown small{font-size:.875em}.markdown strong{font-weight:600}.markdown sub,.markdown sup{position:relative;margin-inline-start:.25em;margin-inline-end:.25em;font-size:.75em;font-family:Helvetica Neue,helvetica,arial,Heti Hei,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol;font-style:normal;line-height:1;vertical-align:baseline}.markdown sub{bottom:-.25em}.markdown sup{top:-.5em}.markdown sup:target,.markdown sup a:target{background-color:#dbedff}@media (prefers-color-scheme: dark){.markdown sup:target,.markdown sup a:target{background-color:#3a6188}}.markdown summary{padding-inline-start:1em;outline:0;cursor:pointer}.markdown summary::-webkit-details-marker{width:.6em;margin-inline-end:.4em}.markdown u[title]{cursor:help;border-block-end-width:3px;border-block-end-style:double;border-block-end-color:#0000008a}@media (prefers-color-scheme: dark){.markdown u[title]{border-block-end-color:#ffffff8a}}.markdown address,.markdown cite,.markdown dfn,.markdown dt,.markdown em{font-style:normal}.markdown address:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)),.markdown address:not(:lang(zh)),.markdown cite:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)),.markdown cite:not(:lang(zh)),.markdown dfn:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)),.markdown dfn:not(:lang(zh)),.markdown dt:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)),.markdown dt:not(:lang(zh)),.markdown em:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)),.markdown em:not(:lang(zh)){font-style:italic}.markdown abbr[title],.markdown del,.markdown ins,.markdown s,.markdown u{margin-inline-start:1px;margin-inline-end:1px}.markdown,.markdown--sans{font-family:Helvetica Neue,helvetica,arial,Heti Hei,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol}.markdown--serif,.markdown--classic{font-family:Times New Roman,times,Heti Song,serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol}.markdown--classic h1,.markdown--classic h2,.markdown--classic h3,.markdown--classic h4,.markdown--classic h5,.markdown--classic h6{font-family:Times New Roman,times,Heti Kai Black,serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol;font-weight:800}.markdown--classic blockquote,.markdown--classic cite,.markdown--classic q{font-family:Times New Roman,times,Heti Kai,serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol}.markdown--classic figcaption,.markdown--classic caption,.markdown--classic th{font-family:Helvetica Neue,helvetica,arial,Heti Hei,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol}.markdown--hei{font-family:Helvetica Neue,helvetica,arial,Heti Hei,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol}.markdown--song{font-family:Times New Roman,times,Heti Song,serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol}.markdown--kai{font-family:Times New Roman,times,Heti Kai,serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol}.markdown--columns-1,.markdown--columns-2,.markdown--columns-3,.markdown--columns-4,.markdown--columns-16em,.markdown--columns-20em,.markdown--columns-24em,.markdown--columns-28em,.markdown--columns-32em,.markdown--columns-36em,.markdown--columns-40em,.markdown--columns-44em,.markdown--columns-48em,.markdown comma{max-width:none;column-gap:2em}.markdown--columns-1 p,.markdown--columns-2 p,.markdown--columns-3 p,.markdown--columns-4 p,.markdown--columns-16em p,.markdown--columns-20em p,.markdown--columns-24em p,.markdown--columns-28em p,.markdown--columns-32em p,.markdown--columns-36em p,.markdown--columns-40em p,.markdown--columns-44em p,.markdown--columns-48em p,.markdown comma p{margin-block-start:6px;margin-block-end:12px;text-indent:2em}.markdown--columns-1{column-count:1}.markdown--columns-2{column-count:2}.markdown--columns-3{column-count:3}.markdown--columns-4{column-count:4}.markdown--columns-16em{column-width:16em}.markdown--columns-20em{column-width:20em}.markdown--columns-24em{column-width:24em}.markdown--columns-28em{column-width:28em}.markdown--columns-32em{column-width:32em}.markdown--columns-36em{column-width:36em}.markdown--columns-40em{column-width:40em}.markdown--columns-44em{column-width:44em}.markdown--columns-48em{column-width:48em}.markdown--vertical{max-width:none;max-height:100%;writing-mode:vertical-rl;letter-spacing:.125em}.markdown--vertical h1,.markdown--vertical h2,.markdown--vertical h3,.markdown--vertical h4,.markdown--vertical h5,.markdown--vertical h6{text-align:start}.markdown--vertical q{quotes:\"\\300c\" \"\\300d\" \"\\300e\" \"\\300f\"}.markdown--ancient,.markdown--poetry{font-family:Times New Roman,times,Heti Song,serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol}.markdown--ancient h1,.markdown--ancient h2,.markdown--ancient h3,.markdown--ancient h4,.markdown--ancient h5,.markdown--ancient h6,.markdown--poetry h1,.markdown--poetry h2,.markdown--poetry h3,.markdown--poetry h4,.markdown--poetry h5,.markdown--poetry h6{font-family:Times New Roman,times,Heti Kai Black,serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol;font-weight:800;text-align:center}.markdown--ancient h1 .markdown-meta,.markdown--ancient h2 .markdown-meta,.markdown--ancient h3 .markdown-meta,.markdown--ancient h4 .markdown-meta,.markdown--ancient h5 .markdown-meta,.markdown--ancient h6 .markdown-meta,.markdown--poetry h1 .markdown-meta,.markdown--poetry h2 .markdown-meta,.markdown--poetry h3 .markdown-meta,.markdown--poetry h4 .markdown-meta,.markdown--poetry h5 .markdown-meta,.markdown--poetry h6 .markdown-meta{font-weight:400}@media screen and (min-width: 640px){.markdown--ancient h1 .markdown-meta,.markdown--ancient h2 .markdown-meta,.markdown--ancient h3 .markdown-meta,.markdown--ancient h4 .markdown-meta,.markdown--ancient h5 .markdown-meta,.markdown--ancient h6 .markdown-meta,.markdown--poetry h1 .markdown-meta,.markdown--poetry h2 .markdown-meta,.markdown--poetry h3 .markdown-meta,.markdown--poetry h4 .markdown-meta,.markdown--poetry h5 .markdown-meta,.markdown--poetry h6 .markdown-meta{position:absolute;line-height:inherit;text-indent:0;display:inline;margin-block-start:4px;margin-inline-start:8px}}.markdown--ancient .markdown-meta,.markdown--poetry .markdown-meta{line-height:24px;text-align:center;text-indent:0}.markdown--ancient p{text-indent:2em}.markdown--poetry p{text-align:center;text-indent:0}.markdown--annotation p{margin-block-start:0;margin-block-end:0;line-height:2.25;text-indent:2em}.markdown--annotation em{-webkit-text-emphasis:filled circle;-webkit-text-emphasis-position:under;text-emphasis:filled circle;text-emphasis-position:under right;font-weight:400}.markdown--annotation em:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)),.markdown--annotation em:not(:lang(zh)){-webkit-text-emphasis:none;text-emphasis:none}.markdown--annotation .markdown-meta{margin-block-start:12px;margin-block-end:24px}.markdown .markdown-meta{display:block;text-indent:0}.markdown .markdown-verse{text-align:center;text-indent:0}.markdown .markdown-large{font-size:18px;line-height:24px}.markdown .markdown-x-large{font-size:20px;line-height:30px;letter-spacing:.05em}.markdown .markdown-small{font-size:14px;line-height:24px}.markdown .markdown-x-small{font-size:12px;line-height:18px}.markdown .markdown-list-latin{list-style-type:upper-latin}.markdown .markdown-list-latin ol{list-style-type:lower-roman}.markdown .markdown-list-latin ol ol{list-style-type:lower-latin}.markdown .markdown-list-han{list-style-type:cjk-ideographic}.markdown .markdown-list-han ol{list-style-type:decimal}.markdown .markdown-list-han ol ol{list-style-type:decimal-leading-zero}.markdown .markdown-fn{margin-block-start:59px;border-block-start:1px solid;border-block-start-color:#ccc;font-size:14px;font-family:Helvetica Neue,helvetica,arial,Heti Hei,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol;line-height:24px}@media (prefers-color-scheme: dark){.markdown .markdown-fn{border-block-start-color:#404040}}.markdown .markdown-fn ol{margin-block-start:12px;margin-block-end:0}.markdown .markdown-fn li:target{background-color:#dbedff}@media (prefers-color-scheme: dark){.markdown .markdown-fn li:target{background-color:#3a6188}}.markdown .markdown-hang{position:absolute;line-height:inherit;text-indent:0}.markdown .markdown-em{-webkit-text-emphasis:filled circle;-webkit-text-emphasis-position:under;text-emphasis:filled circle;text-emphasis-position:under right}.markdown .markdown-em:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)),.markdown .markdown-em:not(:lang(zh)){-webkit-text-emphasis:none;text-emphasis:none}.markdown .markdown-ruby--inline{display:inline-flex;flex-direction:column-reverse;height:1.5em;vertical-align:top}.markdown .markdown-ruby--inline rt{display:inline;margin-bottom:-.25em;line-height:1;text-align:center}.markdown heti-spacing{display:inline}.markdown heti-spacing+sup,.markdown heti-spacing+sub{margin-inline-start:0}.markdown .heti-spacing-start{margin-inline-end:.25em}.markdown .heti-spacing-end{margin-inline-start:.25em}.markdown heti-adjacent{display:inline}.markdown .heti-adjacent-half{margin-inline-end:-.5em}.markdown .heti-adjacent-quarter{margin-inline-end:-.25em}.markdown{color:#30363f}[data-prefers-color=dark] .markdown{color:#c6c9cd}.markdown a{color:#1677ff}[data-prefers-color=dark] .markdown a{color:#0053c8}.markdown img{max-width:100%}[data-prefers-color=dark] .markdown img{opacity:.8}.markdown *:not(pre) code{padding:2px 5px;color:#d56161;background:#f0f4f8;border-radius:2px}[data-prefers-color=dark] .markdown *:not(pre) code{background:#0d141a}.markdown pre{font-size:14px;padding-left:24px;padding-right:24px;background-color:#fbfcfd}[data-prefers-color=dark] .markdown pre{background-color:#020305}.markdown table{width:100%;table-layout:auto}.markdown th{background-color:#fbfcfd}[data-prefers-color=dark] .markdown th{background-color:#020305}.markdown th,.markdown td{padding-block-start:10px;padding-block-end:10px;padding-inline-start:16px;padding-inline-end:16px;border-color:#e4e9ec}[data-prefers-color=dark] .markdown th,[data-prefers-color=dark] .markdown td{border-color:#2a353c}.markdown blockquote{font-style:italic;margin-inline-start:0;margin-inline-end:0;background-color:#fbfcfd;border-left:5px solid #e4e9ec}[data-prefers-color=dark] .markdown blockquote{background-color:#020305;border-left-color:#2a353c}.markdown ul li{line-height:1.8}.markdown h1>a[aria-hidden]:first-child,.markdown h2>a[aria-hidden]:first-child,.markdown h3>a[aria-hidden]:first-child,.markdown h4>a[aria-hidden]:first-child,.markdown h5>a[aria-hidden]:first-child,.markdown h6>a[aria-hidden]:first-child{float:left;width:20px;padding-inline-end:4px;margin-inline-start:-24px;color:#30363f;font-size:0;text-align:right;line-height:inherit}[data-prefers-color=dark] .markdown h1>a[aria-hidden]:first-child,[data-prefers-color=dark] .markdown h2>a[aria-hidden]:first-child,[data-prefers-color=dark] .markdown h3>a[aria-hidden]:first-child,[data-prefers-color=dark] .markdown h4>a[aria-hidden]:first-child,[data-prefers-color=dark] .markdown h5>a[aria-hidden]:first-child,[data-prefers-color=dark] .markdown h6>a[aria-hidden]:first-child{color:#c6c9cd}[data-direction=rtl] .markdown h1>a[aria-hidden]:first-child,[data-direction=rtl] .markdown h2>a[aria-hidden]:first-child,[data-direction=rtl] .markdown h3>a[aria-hidden]:first-child,[data-direction=rtl] .markdown h4>a[aria-hidden]:first-child,[data-direction=rtl] .markdown h5>a[aria-hidden]:first-child,[data-direction=rtl] .markdown h6>a[aria-hidden]:first-child{float:right}.markdown h1>a[aria-hidden]:first-child:hover,.markdown h2>a[aria-hidden]:first-child:hover,.markdown h3>a[aria-hidden]:first-child:hover,.markdown h4>a[aria-hidden]:first-child:hover,.markdown h5>a[aria-hidden]:first-child:hover,.markdown h6>a[aria-hidden]:first-child:hover{border:0}.markdown h1>a[aria-hidden]:first-child>.icon-link:before,.markdown h2>a[aria-hidden]:first-child>.icon-link:before,.markdown h3>a[aria-hidden]:first-child>.icon-link:before,.markdown h4>a[aria-hidden]:first-child>.icon-link:before,.markdown h5>a[aria-hidden]:first-child>.icon-link:before,.markdown h6>a[aria-hidden]:first-child>.icon-link:before{content:\"#\";color:#4f5866;font-size:20px}[data-prefers-color=dark] .markdown h1>a[aria-hidden]:first-child>.icon-link:before,[data-prefers-color=dark] .markdown h2>a[aria-hidden]:first-child>.icon-link:before,[data-prefers-color=dark] .markdown h3>a[aria-hidden]:first-child>.icon-link:before,[data-prefers-color=dark] .markdown h4>a[aria-hidden]:first-child>.icon-link:before,[data-prefers-color=dark] .markdown h5>a[aria-hidden]:first-child>.icon-link:before,[data-prefers-color=dark] .markdown h6>a[aria-hidden]:first-child>.icon-link:before{color:#8590a0}.markdown h1:not(:hover)>a[aria-hidden]:first-child>.icon-link,.markdown h2:not(:hover)>a[aria-hidden]:first-child>.icon-link,.markdown h3:not(:hover)>a[aria-hidden]:first-child>.icon-link,.markdown h4:not(:hover)>a[aria-hidden]:first-child>.icon-link,.markdown h5:not(:hover)>a[aria-hidden]:first-child>.icon-link,.markdown h6:not(:hover)>a[aria-hidden]:first-child>.icon-link{visibility:hidden}.dumi-default-content{flex:1 1;min-width:0;max-width:100%;box-sizing:border-box}.dumi-default-content:not([data-no-sidebar]){padding:48px 48px 0;background-color:#fff;border-top-left-radius:10px;border-top-right-radius:10px;box-shadow:0 8px 24px #0000000d}[data-prefers-color=dark] .dumi-default-content:not([data-no-sidebar]){background-color:#0a0e13}.dumi-default-content:not([data-no-sidebar])[data-no-footer]{padding-bottom:48px}@media only screen and (max-width: 767px){.dumi-default-content:not([data-no-sidebar]){max-width:initial;margin:0 -24px;padding:24px 24px 0;border-radius:0;box-shadow:none}.dumi-default-content:not([data-no-sidebar])[data-no-footer]{padding:24px}}.dumi-default-header+main>.dumi-default-content,.dumi-default-doc-layout-mobile-bar+main>.dumi-default-content{min-height:calc(100vh - 76px)}@media only screen and (max-width: 767px){.dumi-default-header+main>.dumi-default-content,.dumi-default-doc-layout-mobile-bar+main>.dumi-default-content{min-height:calc(100vh - 52px)}}.dumi-default-content[data-no-sidebar][data-no-footer]{margin-bottom:48px}@media only screen and (max-width: 767px){.dumi-default-content[data-no-sidebar][data-no-footer]{margin-bottom:24px}}.dumi-default-features{margin:0 auto 48px;max-width:1392px;padding:0 24px;overflow:hidden;box-sizing:border-box}.dumi-default-features[data-cols=\"2\"]>.dumi-default-features-item{width:46%}.dumi-default-features[data-cols=\"2\"]>.dumi-default-features-item:nth-child(odd){margin-inline-end:8%}@media only screen and (max-width: 767px){.dumi-default-features[data-cols=\"2\"]>.dumi-default-features-item{width:100%;margin-inline-end:0}}.dumi-default-features[data-cols=\"3\"]>.dumi-default-features-item{width:31.4%}.dumi-default-features[data-cols=\"3\"]>.dumi-default-features-item:not(:nth-child(3n)){margin-inline-end:2.9%}@media only screen and (max-width: 767px){.dumi-default-features[data-cols=\"3\"]>.dumi-default-features-item{width:100%;margin-inline-end:0}}.dumi-default-features-item{margin:12px 0;float:left}.dumi-default-features-item>i{font-size:64px;font-style:normal}@media only screen and (max-width: 767px){.dumi-default-features-item>i{font-size:48px}}.dumi-default-features-item>h3{margin:4px 0;color:#30363f;font-weight:400;font-size:20px}[data-prefers-color=dark] .dumi-default-features-item>h3{color:#c6c9cd}.dumi-default-features-item>h3 a{color:#1677ff}[data-prefers-color=dark] .dumi-default-features-item>h3 a{color:#0053c8}.dumi-default-features-item>h3 a:not(:hover){text-decoration:none}@media only screen and (max-width: 767px){.dumi-default-features-item>h3{font-size:18px}}.dumi-default-features-item>p{margin:12px 0;color:#4f5866;font-size:16px;line-height:1.475}[data-prefers-color=dark] .dumi-default-features-item>p{color:#8590a0}@media only screen and (max-width: 767px){.dumi-default-features-item>p{font-size:14px}}.dumi-default-features-item>p a{color:#1677ff}[data-prefers-color=dark] .dumi-default-features-item>p a{color:#0053c8}.dumi-default-features-item>p a:not(:hover){text-decoration:none}.dumi-default-footer{margin-top:48px;border-top:1px solid #e4e9ec;color:#8a9099;font-size:15px;line-height:26px;text-align:center;padding:28.8px 0}[data-prefers-color=dark] .dumi-default-footer{border-top-color:#2a353c;color:#616d7f}@media only screen and (max-width: 767px){.dumi-default-footer{padding:14.4px 0;font-size:13px}}.dumi-default-footer a{color:#1677ff}[data-prefers-color=dark] .dumi-default-footer a{color:#0053c8}.dumi-default-footer a:not(:hover){text-decoration:none}.dumi-default-color-switch{position:relative;font-size:0;line-height:0}@media screen and (max-width: 1430px){.dumi-default-color-switch:before{left:auto;right:auto;inset-inline-end:-15px;transform:none}[class*=-switch]+.dumi-default-color-switch:before{inset-inline-end:0}}[class*=-switch]+.dumi-default-color-switch{margin-inline-start:15px;margin-inline-end:-15px;padding-inline:15px;border-inline-start:1px solid #d0d5d8}[data-prefers-color=dark] [class*=-switch]+.dumi-default-color-switch{border-inline-start-color:#1c2022}.dumi-default-color-switch svg{width:16px;fill:#4f5866}[data-prefers-color=dark] .dumi-default-color-switch svg{fill:#8590a0}.dumi-default-color-switch:hover svg{fill:#1677ff}[data-prefers-color=dark] .dumi-default-color-switch:hover svg{fill:#0053c8}.dumi-default-color-switch select{position:absolute;top:0;left:0;opacity:0;max-width:100%;max-height:16px;cursor:pointer}.dumi-default-logo{display:inline-flex;align-items:center;color:#30363f;font-size:22px;line-height:1;font-weight:700;text-decoration:none}[data-prefers-color=dark] .dumi-default-logo{color:#c6c9cd}@media only screen and (max-width: 767px){.dumi-default-logo{font-size:18px}.dumi-default-logo img{height:32px}}.dumi-default-logo img{margin-inline-end:10px;height:40px}@media only screen and (max-width: 767px){.dumi-default-logo img{height:32px}}.dumi-default-navbar{list-style:none;margin:0;padding:0;display:flex;align-items:center}@media only screen and (max-width: 767px){.dumi-default-navbar{display:block;padding-top:24px}}.dumi-default-navbar>li{font-size:18px;line-height:1;text-align:center}@media only screen and (max-width: 767px){.dumi-default-navbar>li{padding:12px 0}}.dumi-default-navbar>li>a{color:#4f5866;text-decoration:none;transition:all .3s}[data-prefers-color=dark] .dumi-default-navbar>li>a{color:#8590a0}.dumi-default-navbar>li>a:hover{color:#1677ff}[data-prefers-color=dark] .dumi-default-navbar>li>a:hover{color:#0053c8}.dumi-default-navbar>li>a.active{color:#30363f;font-weight:700}[data-prefers-color=dark] .dumi-default-navbar>li>a.active{color:#c6c9cd}.dumi-default-navbar>li:not(:last-child){margin-inline-end:48px}@media only screen and (max-width: 767px){.dumi-default-navbar>li:not(:last-child){margin-inline-end:0}}.dumi-default-lang-switch{color:#4f5866;font-size:14px;line-height:16px;text-decoration:none;transition:all .3s;cursor:pointer}[data-prefers-color=dark] .dumi-default-lang-switch{color:#8590a0}.dumi-default-lang-switch:hover{color:#1677ff}[data-prefers-color=dark] .dumi-default-lang-switch:hover{color:#0053c8}.dumi-default-lang-select{display:inline-flex;align-items:center}.dumi-default-lang-select>select{-webkit-appearance:none;appearance:none;padding:6px 0;padding-inline-start:10px;padding-inline-end:18px;color:#4f5866;text-align:right;font-size:14px;line-height:1;border:0;background-color:transparent}[data-prefers-color=dark] .dumi-default-lang-select>select{color:#8590a0}.dumi-default-lang-select>svg{margin-inline-start:-16px;width:12px;fill:#b4bcc1;pointer-events:none}[data-prefers-color=dark] .dumi-default-lang-select>svg{fill:#333a3e}.dumi-default-rtl-switch{height:16px;-webkit-appearance:none;appearance:none;border:0;background-color:transparent;cursor:pointer}[class*=-switch]+.dumi-default-rtl-switch{margin-inline-start:15px;margin-inline-end:-15px;padding-inline:15px;border-inline-start:1px solid #e4e9ec}.dumi-default-rtl-switch>svg{height:16px;fill:#4f5866}[data-prefers-color=dark] .dumi-default-rtl-switch>svg{fill:#8590a0}.dumi-default-rtl-switch:hover svg{fill:#1677ff}[data-prefers-color=dark] .dumi-default-rtl-switch:hover svg{fill:#0053c8}html[data-direction=rtl]{direction:rtl}.dumi-default-search-result>dl{margin:2px 0}.dumi-default-search-result>dl>dt{height:30px;padding:0 16px;font-weight:700;font-size:14px;line-height:30px;color:#4f5866;background-color:#e4e9ec}[data-prefers-color=dark] .dumi-default-search-result>dl>dt{color:#8590a0;background-color:#2a353c}.dumi-default-search-result>dl>dt:first-child{margin-top:-2px}.dumi-default-search-result>dl>dt+dd{margin-top:2px}.dumi-default-search-result>dl>dd{margin:0 4px;padding:2px 0}.dumi-default-search-result>dl>dd+dd{border-top:1px dashed #e4e9ec}[data-prefers-color=dark] .dumi-default-search-result>dl>dd+dd{border-top-color:#2a353c}.dumi-default-search-result>dl>dd+dt{margin-top:2px}.dumi-default-search-result>dl>dd>a{position:relative;display:flex;height:60px;flex-direction:column;justify-content:center;padding-top:6px;padding-bottom:8px;padding-inline-start:54px;padding-inline-end:12px;text-decoration:none;box-sizing:border-box;border-radius:4px}.dumi-default-search-result>dl>dd>a[data-active],.dumi-default-search-result>dl>dd>a:hover{background-color:#1677ff}[data-prefers-color=dark] .dumi-default-search-result>dl>dd>a[data-active],[data-prefers-color=dark] .dumi-default-search-result>dl>dd>a:hover{background-color:#00183a}.dumi-default-search-result>dl>dd>a[data-active]>h4,.dumi-default-search-result>dl>dd>a:hover>h4,.dumi-default-search-result>dl>dd>a[data-active]>p,.dumi-default-search-result>dl>dd>a:hover>p{color:#fff}[data-prefers-color=dark] .dumi-default-search-result>dl>dd>a[data-active]>h4,[data-prefers-color=dark] .dumi-default-search-result>dl>dd>a:hover>h4,[data-prefers-color=dark] .dumi-default-search-result>dl>dd>a[data-active]>p,[data-prefers-color=dark] .dumi-default-search-result>dl>dd>a:hover>p{color:#ccc}.dumi-default-search-result>dl>dd>a[data-active]>svg,.dumi-default-search-result>dl>dd>a:hover>svg{fill:#fff}[data-prefers-color=dark] .dumi-default-search-result>dl>dd>a[data-active]>svg,[data-prefers-color=dark] .dumi-default-search-result>dl>dd>a:hover>svg{fill:#ccc}.dumi-default-search-result>dl>dd>a>svg{position:absolute;top:14px;inset-inline-start:14px;width:32px;height:32px;fill:#c2c9cc}[data-prefers-color=dark] .dumi-default-search-result>dl>dd>a>svg{fill:#282d30}.dumi-default-search-result>dl>dd>a>h4,.dumi-default-search-result>dl>dd>a>p{margin:0;line-height:1.4;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.dumi-default-search-result>dl>dd>a>h4{color:#4f5866;font-size:14px}[data-prefers-color=dark] .dumi-default-search-result>dl>dd>a>h4{color:#8590a0}.dumi-default-search-result>dl>dd>a>p{margin-top:2px;font-size:13px;color:#8a9099}[data-prefers-color=dark] .dumi-default-search-result>dl>dd>a>p{color:#616d7f}.dumi-default-search-result>dl>dd>a>p:empty{display:none}.dumi-default-search-result mark{color:#484607;padding:0 2px;border-radius:2px;background-color:#fff9c5}[data-prefers-color=dark] .dumi-default-search-result mark{color:#939147;background-color:#382506}.dumi-default-search-result .dumi-default-search-empty{display:flex;height:140px;align-items:center;justify-content:center;color:#8a9099;font-size:16px}[data-prefers-color=dark] .dumi-default-search-result .dumi-default-search-empty{color:#616d7f}.dumi-default-search-result .dumi-default-search-empty>svg{margin-inline-end:8px;width:48px;fill:#c0c4c9}[data-prefers-color=dark] .dumi-default-search-result .dumi-default-search-empty>svg{fill:#343b45}.dumi-default-search-bar{position:relative}@media only screen and (max-width: 767px){.dumi-default-search-bar{display:none}}.dumi-default-search-bar:not(:last-child){margin-inline-end:28px}.dumi-default-search-bar-svg{position:absolute;top:50%;margin-top:1px;inset-inline-start:16px;width:16px;fill:#8a9099;transform:translateY(-50%)}[data-prefers-color=dark] .dumi-default-search-bar-svg{fill:#616d7f}.dumi-default-search-bar-input{width:280px;height:40px;padding:0;padding-inline-start:40px;padding-inline-end:12px;color:#30363f;font-size:14px;border:1px solid #d0d5d8;border-radius:20px;box-sizing:border-box;outline:none;transition:all .3s;background-color:transparent}[data-prefers-color=dark] .dumi-default-search-bar-input{color:#c6c9cd;border-color:#1c2022}.dumi-default-search-bar-input:focus{border-color:#1677ff80;background-color:#fff;box-shadow:0 0 0 3px #1677ff1a}[data-prefers-color=dark] .dumi-default-search-bar-input:focus{border-color:#0053c880;background-color:#050709;box-shadow:0 0 0 3px #0053c81a}.dumi-default-search-bar-input:focus~.dumi-default-search-shortcut{opacity:0}.dumi-default-search-bar .dumi-default-search-shortcut{position:absolute;top:50%;inset-inline-end:11px;display:inline-block;padding:4px 8px;color:#8a9099;font-size:12px;line-height:1;white-space:nowrap;background-color:#fffc;border-radius:11px;border:1px solid #d0d5d8;transform:translateY(-50%);transition:all .3s;pointer-events:none}[data-prefers-color=dark] .dumi-default-search-bar .dumi-default-search-shortcut{background-color:#0003;border-color:#1c2022}@media only screen and (max-width: 767px){.dumi-default-search-bar .dumi-default-search-shortcut{display:none}}.dumi-default-search-bar .dumi-default-search-popover{position:absolute;top:100%;inset-inline-end:0;display:flex;flex-direction:column;width:540px;max-height:460px;margin-top:18px;background-color:#fff;border-radius:8px;box-shadow:0 4px 30px #0003}[data-prefers-color=dark] .dumi-default-search-bar .dumi-default-search-popover{background-color:#0f161d}.dumi-default-search-bar .dumi-default-search-popover:before{content:\"\";position:absolute;bottom:100%;inset-inline-end:100px;display:inline-block;width:0;height:0;border:8px solid transparent;border-bottom-color:#fff}[data-prefers-color=dark] .dumi-default-search-bar .dumi-default-search-popover:before{border-bottom-color:#0f161d}.dumi-default-search-bar .dumi-default-search-popover>section{flex:1 1;min-height:60px;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border-radius:inherit}.dumi-default-search-bar .dumi-default-search-modal{position:fixed;top:0;inset-inline-start:0;z-index:1000;width:100vw;height:100vh;display:flex;justify-content:center}.dumi-default-search-bar .dumi-default-search-modal-mask{background-color:#00000073;width:100%;height:100%}.dumi-default-search-bar .dumi-default-search-modal-content{position:absolute;top:60px;background-color:#fff;width:500px;padding:12px;box-sizing:border-box;box-shadow:inset 1px 1px #ffffff80,0 3px 8px #555a64;border-radius:8px;max-height:calc(100% - 120px);display:flex;flex-direction:column}[data-prefers-color=dark] .dumi-default-search-bar .dumi-default-search-modal-content{background-color:#0f161d}.dumi-default-search-bar .dumi-default-search-modal .dumi-default-search-bar-input{width:100%;border-radius:4px}.dumi-default-search-bar .dumi-default-search-modal .dumi-default-search-result{min-height:60px;margin-top:12px;flex:auto;overflow:auto}.dumi-default-search-bar .dumi-default-search-modal .dumi-default-search-result>dl>dd{margin:0 auto}.dumi-default-search-bar .dumi-default-search-modal-commands{justify-content:flex-start;font-size:12px;color:#8a9099;list-style:none;padding:12px 0 0;margin:0;border-top:1px solid #e4e9ec;display:flex;align-items:center;user-select:none}[data-prefers-color=dark] .dumi-default-search-bar .dumi-default-search-modal-commands{color:#616d7f;border-top-color:#2a353c}.dumi-default-search-bar .dumi-default-search-modal-commands>li{margin-inline-end:10px}.dumi-default-search-bar .dumi-default-search-modal-commands-arrow .dumi-default-search-modal-shortcut{margin-inline-end:4px}.dumi-default-search-bar .dumi-default-search-modal-commands-text{margin-inline-start:5px}.dumi-default-search-bar .dumi-default-search-modal-shortcut{display:inline-block;padding:4px 8px;color:#8a9099;font-size:12px;line-height:1;white-space:nowrap;background-color:#f7f9fb;border-radius:3px;border:1px solid #d0d5d8;border-bottom-width:2px;transition:all .3s;pointer-events:none}[data-prefers-color=dark] .dumi-default-search-bar .dumi-default-search-modal-shortcut{color:#616d7f;background-color:#050709;border-color:#1c2022}.dumi-default-icon{font-size:0;line-height:0}[class*=-switch]+.dumi-default-icon{margin-inline-start:15px;margin-inline-end:-15px;padding-inline:15px;border-inline-start:1px solid #d0d5d8}[data-prefers-color=dark] [class*=-switch]+.dumi-default-icon{border-inline-start-color:#1c2022}.dumi-default-icon+.dumi-default-icon{margin-inline-start:18px}.dumi-default-icon>svg{height:16px;fill:#4f5866}[data-prefers-color=dark] .dumi-default-icon>svg{fill:#8590a0}.dumi-default-icon:hover svg{fill:#1677ff}[data-prefers-color=dark] .dumi-default-icon:hover svg{fill:#0053c8}.dumi-default-header{position:relative;z-index:10}.dumi-default-header:not([data-static]){top:0;position:sticky;background-color:#f7f9fbe6;backdrop-filter:blur(6px)}[data-prefers-color=dark] .dumi-default-header:not([data-static]){background-color:#050709e6}.dumi-default-header:not([data-static])[data-mobile-active]{background-color:#f7f9fb;backdrop-filter:none}[data-prefers-color=dark] .dumi-default-header:not([data-static])[data-mobile-active]{background-color:#050709}.dumi-default-header-content{display:flex;align-items:center;margin:0 auto;padding:0 24px;max-width:1392px;height:76px;box-sizing:border-box}@media only screen and (max-width: 767px){.dumi-default-header-content{height:52px}}.dumi-default-header-left{width:184px}.dumi-default-header-right{flex:1 1;display:flex;justify-content:space-between}.dumi-default-header-right-aside{display:flex;align-items:center}@media only screen and (max-width: 767px){.dumi-default-header-right-aside{margin:8px 16px;padding-top:24px;justify-content:center;border-top:1px solid #e4e9ec}[data-prefers-color=dark] .dumi-default-header-right-aside{border-top-color:#2a353c}}@media only screen and (max-width: 767px){.dumi-default-header-right{position:fixed;top:52px;left:0;right:0;height:calc(100vh - 52px);display:block;background-color:#f7f9fb99;border-top:1px solid #e4e9ec;backdrop-filter:blur(30px);box-sizing:border-box;transition:all .2s}[data-prefers-color=dark] .dumi-default-header-right{background-color:#05070999;border-top:1px solid #2a353c}.dumi-default-header:not([data-mobile-active]) .dumi-default-header-right{opacity:0;visibility:hidden;padding-top:20px}}.dumi-default-header-menu-btn{position:absolute;top:50%;inset-inline-end:24px;padding:0;border:0;background:transparent;transform:translateY(-50%);display:none}@media only screen and (max-width: 767px){.dumi-default-header-menu-btn{display:block}}.dumi-default-header-menu-btn>svg{width:20px;fill:#4f5866}[data-prefers-color=dark] .dumi-default-header-menu-btn>svg{fill:#8590a0}@font-face{font-family:Alibaba-PuHuiTi;src:url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAJU8AAoAAAAAlPQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAAA9AAAAGAAAABgW3sPM2NtYXAAAAFUAAB2YgAAdmKn3pnYZ2x5ZgAAd7gAABicAAAYnDRxnIhoZWFkAACQVAAAADYAAAA2ISMfgGhoZWEAAJCMAAAAJAAAACQIXQLHaG10eAAAkLAAAAF8AAABfNY7DpVsb2NhAACSLAAAAMAAAADAJ6EtjG1heHAAAJLsAAAAIAAAACAAZQBBbmFtZQAAkwwAAAFNAAABTRBB3Hpwb3N0AACUXAAAAOAAAADgCUkJ6QAEAkEBkAAFAAACigK8AAAAjAKKArwAAAHgADEBAgAAAgAFAwAAAAAAAKAAAv8QAAAAAAAAHgAAAABQZkVkAAAAAf8AAyD/OABaBBoBQiAWAZ/f1wAAAAAAAAAAACAAAAAAAAMAAAADAAAAHAABAAAAAHVcAAMAAQAAABwABHVAAAAdTBAAAAsNTAABAAsADAApACoAfgGQAZEBzwHRAdMB1QHXAdkB2wJ3AngDBQMJBJQElQSYBJkEsASxIBIgHyAjICQgMSA4IQQhBiEHIQghFCEVISMhJCElIZQhlSIDIgQiBSIHIhAiEyIUIhYiFyIYIhsiHCIhIiIiJCImIiwiLSJJIkoiSyJiImMiliKXIpglkCWRJZIlyCXJJcwlzSYHJggmQTAEMAUwBjA/MEAznzOgM88z0DPTM9ROAk4STiNOJk4pTi5OL04xTjNONU43TjxOQE5BTkJORE5GTlVOV05nTmhOck6HTplOnE6dTp5Or06wTrFOtE7MTs9O0E7gTuJO5k7nTulO7U7uTu9O8U70TvhO+U76TvxO/k8ATyFPI08oTylPLE8tTy5PMU8zTzVPN085TztPRE9FT1RPZk9oT2pPa09tT25PcU9yT3VPfU+AT4FPgk+FT4ZPh0+KT4xPjk+QT5JPk0+VT5ZPmE+ZT5pPnE+eT59PoU+iT61PwE/BT8JPy0/MT81P2U/bT+BP4k/kT+VP50/rT+xP8E/yT/lP+0/8T/1QDlAQUBFQE1AVUBZQF1AbUB1QHlAgUCJQI1AkUCdQK1A7UD1QRFBFUEZQSVBKUEtQTVBbUHhQeVB6UHxQfVCGUIdQpFCmUKpQq1DXUNhQ2VD0UQhRCVEKUUJRR1FKUUxRTlFPUVBRUlFTUVdRWFFZUVtRY1FkUWZRZ1FpUWpRb1F+UX9Rg1GEUYZRh1GKUYtRk1GUUZhRmlGdUZ5Rn1GhUaNRuFG5UbpRvlG/UcFRwlHDUcVRyFHKUc1RzlHQUdxR3lHfUeJR41HsUe5R8VHyUfRSCVILUgxSD1IQUh5SH1IhUiJSI1IlUiZSJ1IqUixSL1IxUjJSS1JOUk9SUlJTUlVSXVJfUmBSYlJjUmRSZlJoUnBScVJ+UoBSkVKSUsBSwVLCUsRSxVLGUshSylLRUtNS1FLVUtdS+1L8Uv1TB1MOUxhTG1McUx5TH1MiUyRTJVMnUyhTKVMrUyxTLVM8Uz1TQFNCU0RTRlNLU0xTTVNQU1RTWFNZU1tTaFNqU2xTbVNyU3ZTeVOAU4FTg1OHU4hTilOWU5dTmVObU5xTnlOgU6FTpFOnU7xTvVO+U8BT0lPTU9VT2lPcU91T3lPhU+JT/lP/VABUAlQFVAdUGFQZVBpUJFQlVDNUNlQ3VDpUPVQ/VEFUQlREVEVUR1RJVGNUZVRnVHRUeVR6VH5Uf1SBVINUhVSNVJFUk1SXVJhUnFSwVLJUtVS2VLdUuVS6VLxUvlTDVMVU2FTbVO9U8FTxVPtU/lUAVQhVElUTVSFVJVUmVShVKVUrVS1VMlU0VTVVNlU9VUBVQlVFVUdVSFViVWNVaFVpVWtVeVV6VX1VkFWSVZNVlVWWVZdVmlWbVZ5VslW0VbZVuFW6VbxVxlXHVchVylXLVc5Vz1XQVdVV3lXgVeJV51XpVe1V7lXwVfFV9FX2Vf9WClYLVg1WGVYaVhxWHVYgViFWIlYlViZWLlYvVjBWM1Y1VjdWOFY6VjxWPVY+VlVWVlZaVltWY1aQVpFWklbVVtZW2FbZVuxW7lbvVvJW81b2VvdW+Fb7VvxXAFcBVwJXBVcHVx1XHlcgVyFXIlc8Vz1XP1dBV0hXSVdlV2dXbFduV3BXcVdyV3RXdVd4V3lXeleoV6pXrFevV7BXsVezV7VXtle3V8xXzVfQV9FX01fWV9dX21fcV95X4VfiV+NX7lf1V/ZX91f7V/xX/lf/WAFYA1gEWAVYCFgJWApYDFgOWA9YEFgSWBNYFFgWWBdYGFgfWCJYI1hOWE9YUFhSWFNYVVhWWFdYf1iCWIRYhliHWIhYm1icWJ1YwljDWMRY0ljTWNRY7VjvWPFY8lj0WPVY91j4WQNZBVkGWQ5ZF1kYWRtZHVkeWSZZKFksWTBZMlkzWTVZNlk7WUNZRVlGWUpZTFlNWVBZYVljWWRZdVl3WXpZe1l8WX5Zf1mAWYVZiVmLWYxZlFmVWZhZplmnWaxZrVmwWbFZulm8Wb1Zx1nIWclZ2VnbWeRZ5lnnWelZ6lnrWfpZ/Fn9Wf5aAFoSWhlaGlobWh1aHlohWiJaJFomWidaKFozWjVaPVo+Wj9aR1pIWmhaaVp4WnlatFq2Wrdav1rAWspay1rTWtVa11rZWtpa21rdWt5a31riWuRa5VrnWuha6lszWzVbNltSW2tbbVtuW29bclt0W3tbfFt+W39bgluGW4pbjVuOW5BbkVuSW5RbsVuyW7dbulu7W7xbwFvBW8NbzVvOW89b0VvgW+Jb41vmW+db71wAXAJcA1wFXAdcCFwQXBJcE1wXXBlcG1wjXCZcMlwzXEZcR1xMXE1cUlxTXFRcVlxXXFhcX1xiXGRccFyAXIlcilyLXI5cj1ySXJNcqlyuXK9csFyyXLRctly+XMBcwlzDXOJc41znXOlc61zsXO5c710EXQVdFV0cXR1dJV0oXSpdK10sXUhdSV1ZXVpdXF1qXW1dbl2aXZtdnF3cXd9d4F3sXe1d8F31XfZd/14AXgReB14JXgpeC14NXg5eEl4TXi9eMF45XjpeQ15cXl1eX15gXnVed155Xn5egV6CXoNehV6IXolejF6NXo5em16dXtRe1V7pXvVe+F75XwlfDF8NXw5fEF8SXxRfFl8ZXxpfHF8dXx5fKF8rXyxfLl8wXztfPV8+Xz9fUV9UX15fX19gX2NfZV9nX2hfa19uX29fcl90X3Vfdl94X3pffV9+X39fg1+RX5NflF+WX5pfm1+pX6tfrF+2X8dfyF/KX8tfzl/TX9Rf1V/aX9tf3F/eX99f4l/jX+Vf5l/oX+lf7F/vX/Bf8l/zX/Rf9l/3X/lf+mALYAxgEGARYBNgF2AYYBpgHmAfYD1gPmBAYExgTmBPYFFgU2BUYFZgV2BYYFtgXGBxYHJgdGB1YIBggWCCYIpgi2CTYJVgl2CYYJlgnGCeYKFgomCkYKVgp2CpYKpgrmCwYLNgtWC2YLdguWC6YMdgyGDJYNJg02DUYNZg12DZYNtg3mD1YPdg+GEHYQphC2EMYSFhImElYShhKWEqYUlhS2FNYU9hUGFSYVNhVGF2YYxhjWGqYathv2HAYcFhyWHTYgdiGWIcYh1iHmIgYiNiK2ItYjViNmJEYkViRmJKYk9iUGJVYlZiV2JZYlpiZGJlYnRidWJ3YnhiemJ7Yn1igWKCYoNilGKZYpxinWKeYqNipmKnYqliqmKyYrNitGK2YrdiuGK6Yr5iwGLBYs9i0WLgYuFi8GLyYvVjAGMPYxBjF2MYYxljKWMsYy1jLmMwYzFjO2M8Y0RjR2NIY2BjZGNlY2ZjaGNqY2tjbGNvY3BjeGN5Y4Fji2ONY5Fjk2OUY5Vjl2OhY6RjpmOrY69jsWOyY7VjtmO5Y7tjvWPFY8djyGPKY8tjzGPRY9Nj1GPVY99j4mPrY+xj82P1Y/dj/mQDZARkDWQOZBFkEmQdZB9kJ2QoZClkK2Q7ZDxkPmRAZFNkVWRWZFdkaGRqZGtkbGSDZIZkk2SUZJdkmGSqZKtkr2S2ZLlku2S9ZL5kv2TBZMNkxGTPZNFk32TgZOFk42TlZSxlLWU3ZTplPGU9ZUZlR2VKZUtlTWVOZVBlUmVTZVRlV2VYZVplXGVfZWBlYWVkZWVlbWVuZW9lcWVzZXVldmWIZYllimWNZY5lj2WSZZRllWWWZZhlmmWdZZ5loGWiZaNlpmWoZaplrGWuZbplu2W+Zb9lwGXCZc1l0GXRZdNl1GXVZeFl+GX5ZgFmBGYFZgdmCGYJZgtmDWYQZhFmEmYWZhdmGGYaZhtmHGYeZiZmLmYwZjJmM2Y9Zj9mQGZCZk1mTmZgZmJmY2ZlZmdmcWZyZnNmdWZ4Znlme2Z8Zn1mf2aAZoFmg2aFZoZm2mbnZuhm8Wb1ZvZm+Gb6Zvtm/WcMZw5nD2cRZxJnE2cWZxhnGWcaZxxnHmcnZylnLmcwZzJnM2c7ZzxnPmc/Z0FnRGdFZ0dnSmdLZ01nUmdUZ1VnXWdiZ2NnZGdmZ2dna2dsZ25ncWd0Z3ZnfWeAZ4Jng2eFZ4ZniGeKZ5ZnmWebZ59noGehZ6RnpmepZ6xnrmexZ7JntGfCZ9tn32fhZ+Nn5GfmZ+dn6GfqZ+tn7WfuZ/Jn/mgQaBJoFGgVaB5oH2ggaDRoNWg2aDpoO2hLaE1oT2hSaHVogmiEaJBokWiSaJRolWiWaKNopGilaK5osWiyaLRowWjKaMxo02jUaNZo12jZaOFo4mjvaPJo82j0aPZo92j4aPtpAmkDaQRpDGkPaRFpIWkiaSNpLmkvaTFpMmkzaTppO2k8aT5pQGlBaVVpVmlYaVlpW2lcaV9pYWliaWRpZWlsaW1pb2lwaXppe2l9aX5pf2mBaYNphWmKaYtpjGmWaZdpmWmaaalpqmmsaa5pr2mwabJps2m1abZpuGm5abppy2nNac9p0WnSadNp3Gndad5p/mogailqMGoyajNqNGpFakZqWmpiamNqZGp6antqfWp+an9qgWqCaoNqj2qqazhrO2s8az1rRGtFa0hrSmtLa3prhWuIa4xrlGuVa5drmGuZa7ZrwGvDa8RrzGvOa9pr7Gvta+5r8Gvxa/Jr9Gv2a/dr+Gv6a/tr/GwObBJsF2wcbB1sHmwgbCNsMWwzbDZsN2w+bD9sQ2xEbEVsSGxRbFJsU2xWbGVsZmxnbHFsc2x1bHdseGx6bHtsfGx/bIBshGyHbIpsi2yNbI5skWySbJpsnGydbJ5soGysbK9ssGzGbMdsyGzLbM1szmzPbNxs3WzfbORs5mznbOls7GztbPJs9G0CbQNtBW0GbQhtCW0KbQ1tD20QbRFtGG0cbR1tJm0obSltLG0tbS9tMG00bTZtN204bTptP21AbUJtRG1JbUxtUG1bbV1tX21hbWJtZG1lbWdtaG1rbWxtbW11bXZteW16bXttg22EbYZth22KbYttjW2PbZBtkm2wbbFts220bbZtt23BbcJtw23Ibcltym3Xbdpt223cbd9t4m3jbeVt7W3vbfBt8m30bfVt9m34bfpuC24PbhJuE24VbhhuGW4bbhxuHm4fbiJuJm4nbihuKm4sbi5uMG4xbjNuNW42bjduOW5VblduWW5ablxuXW5ebmxubW6AboFugm6EboduiG6Zbppum26dbp5uoG6hbqNupG6mbqhuqW6wbrNutW64brluvG6+br9uwG7Ibsluym7Mbs1uzm7QbtJu1m7Ybtlu528DbwRvBW8HbwhvEG8RbxJvIW8ibyNvLG8ubzBvMm80bzVvSG9Jb0pvTG9Zb1pvW29db19vYG9hb2NvZG9lb29vcG9xb3NvdW92b3dveW97b4Vvhm+Hb4pvi2+0b7Vvt2+4b8Fv33A2cDdwOHBNcE5wbnB3cHlwenB7cH1whnCHcIhwi3CMcI1wj3CQcJFwk3CXcJhwmnCbcLJwtHC1cLZwunC+cL9wyXDacNxw3XDecOVw6nDucPhw+nD7cPxxEXEScRRxF3FLcU1xXXFlcW9xcHFxcXlxe3F8cZVxlnGXcalxqnGrcbRxtnG3cbhx5nIpcityLXIuci9yPHI+cklySnJLclNyVHJVcldyWHJaclxyXnJgcmNyZHJlcmhycHJxcnNydHJ2cndyeHJ7cnxyfXKCcoNyjHKOcpBykXKucrFysnKzcrVyxXLGcsdyz3LRcthy33L5cwJzC3MMcw1zFHMYcxlzGnMfcyBzI3MkcyZzJ3Mocy1zL3MwczJzM3M1czZzTnNPc1FzbnOFc4ZziHOKc4xzjXOPc5BznHOdc55zoHOhc6pzrHOtc7FztHO1c7ZzuHO5c8Fzy3PMc85z33Pmc+hz6nPrc+x0BHQHdAh0I3QkdCd0KXQrdC10L3QxdDJ0VnRYdF10bnRvdH90gnSEdIV0hnSIdIl0inSMdI10j3SddN1033ThdOV09XUOdRB1EnUbdR11HnUmdSd1KnU2dTl1PHU9dT91RnVHdUl1SnVNdWd1aHVpdXN1dXV2dXd1gHWBdYJ1hHWFdYx1jXWOdZB1k3WVdZh1m3WcdZ51onW6dbt1v3XAdcF1xnXLdcx103XXddl12nXcdd1133XgdeF15XXpdfJ183X6dft1/XX+dgJ2BHYLdg12DnYPdhZ2GnYcdh12HnYhdiN2J3Yodix2LnYvdjF2MnY2djd2OXY6djt2PXZBdkJ2VXZddmx2bXZudnl2enZ8dn92gHaBdoN2hXaJdop2jHaNdo92kHaSdpR2lXaXdph2r3awdrN2wHbBdsN2xHbHdsl21XbZdtp23Hbddt528HbzdvV29nb3dvp2+3b9dv93AHcCdwN3BXcGdwp3DHchdyN3JHcldyd3Kncrdyx3Lnc5dzt3PXc+dz93QndEd0V3Rndkd2d3aXdqd3p3e3d8d4F3gneDd493kHehd6N3pHemd6h3q3etd653r3exd7J3tHe8d7532HfZd9p35Hfmd+h36nf0d/V393gKeAt4DngPeBB4E3gVeBl4G3geeCB4IXgieCR4KHgqeCt4LngveDF4MngzeD94RnhNeE94UXhTeFR4iHiKeIt4j3iQeJJ4lHiVeJZ4mXideJ54oHiieKR4pni/eMB4wnjDeMR4xnjHeMh40XjSeNN41njXeNh46XjqeOt483j1ePZ4+Hj5eQJ5A3kEeT15P3lHeVR5VXljeWR5ZnlueXl5gnmDebx5v3nCecR5xXnHech5ynnMec55z3nQedN51HnWedd54HnheeJ55Xnoeep57Hnuefl5+nn8ef55/3oBegR6BXoMehV6FnoYehl6G3oceh16H3oheiJ6NHo1ejZ6OHo6ej56cXpyenN6gnqFeod6jnqPepB6k3qUepl6mnqbep56p3qpeqp6q3rXeth64XrieuR67nr7evx6/nsAewF7AnsFewd7CXsMew17DnsQexJ7E3sWexd7GHsaexx7HXsfeyF7Insjeyd7KXstey97MHsyezl7O3s9e0Z7SHtKe017TntTe1V7V3tZe1x7Xntfe2F7b3twe3N7dHt2e3h7ent8e317f3uOe497kXuSe5N7lnuee597oHuye7N7tXu2e7d70nvbe9x73nvfe+B74nvje+R753voe+l763vse+1773vwe/18CHwJfAp8DXwOfCh8KXyTfJR8lnyZfJp8m3ygfKF8o3yrfKx8rXyvfLB8uny7fL98wHzCfMN8xHzGfMl8y3zYfNp823zdfN58+Xz6fSF9KH0pfSp9LH0tfS5/OX9Df1J/U39Wf1l/YH9rf2x/bX9vf3B/c39/f4B/i3+Nf5t/nH+gf6J/o3+lf6Z/sX+6f7t/vn/Af8J/w3/Ef8t/zX/Wf9d/4n/jf+R/53/of+9/8n/9f/5//4ACgA6AD4ARgB2AHoAfgCGAMoA0gDmAOoA8gD6AQIBBgESARYBHgEiASYBTgFWAVoBXgFmAgYCCgIWAiICKgJSAlYCXgJmAnoCjgKaAp4CogKyAsICzgLWAtoC4gLmA4oDjgPeA+YD7gQOBBIEFgQeBCIEXgRmBG4EcgR2BLYEugTCBM4E0gTWBN4FHgUmBTYFOgU+BUoFWgVeBWIFmgWiBaoFrgWyBb4FygXOBiYGQgZmBmoGkgaWBp4GpgcSBxYHHgciByYHLgeSB5YHmgeiB6YHrgf2B/4IDgg6CD4IRghOCHYIggimCLoI8gj2CRYJGgkiCSoJMgk2CToJZgnGCe4J8goCCgYKDgoWChoKHgomCjIKQgpqCm4KegqCCooKjgrWCtoK6gruCvIK/gsCCwoLDgsWCxoLZgtqC3YLiguyC7YLugvCC8oLzgvWC9oL4gvqDDYMQgxKDE4MWgxiDGYMpgyqDLoMwgzKDN4M7gz2DPoM/g0GDQoNEg0WDSINTg12DeYN6g4eDiIOPg5CDkYOZg5qDnYOfg76Dv4PCg8ODxIPGg8iDyYPLg82DzoPVg9eD2YPag9uD3oPig+OD5IPmg+eD6IP6g/uD/IP+g/+EAIQChAWEGYQahBuEOYQ6hDuEWIRihGqEboRvhHCEcoR0hHeEeYSKhI2EmISahJuEsISxhLOEtYS2hLeEu4S8hL6EwITChMOEy4TMhM6Ez4TShNSE1YTehOGE4oTkhO2E7oTvhP2E/oUShRSFFYUWhRiFGYUghVeFWIVlhWaFZ4VzhXyFfYWGhaWFpoWnhamFq4Wsha2FuIXRhdKF1IX8hf2F/oYohjmGOoY7hluGXIZdhl+GYIZhhm2Gb4ZwhpSGpYamhquGrYauhrKGs4a3hriGuYbBhsKGw4bFhsiGzIbNhtKG04bVhtaG14bahtyG3YbqhuuG7Ib/hwGHBIcFhwaHC4cMhxSHFocZhxuHHYcfhyCHJIcmhyeHKIcvhzCHMoczhzWHNoc4hzmHOoc8hz2HSodLh02HVIdVh1aHWIdhh2KHb4dxh3KHc4d1h3+HgIeBh4SHhoeHh4mHioeMh5SHlYeWh6mHqoeuh7CHsYeyh7SHu4e8h76Hv4fHh8iHyYfrh+yH7YgUiDqIO4g9iD6IP4hBiEKIQ4hViFaIWIhqiG2Ib4hxiICIg4iGiIeIiYiKiIyIk4iUiJWIo4isiK6Ir4iwiMOIxIjHiMiIz4jQiNGI04jWiNeI4IjhiOaI54jyiPWI9oj3iPqI+4j9iP+JAIkBiRGJIokjiSSJMYkyiTOJNYlCiUOJfIl9iX6JgImCiYSJhYnXidiJ2Ynbid2J5Insie2J7onwifGJ8oxIjEqMS4yDjISMhoyHjIiMi4yVjJaMl41ojWmNao1sjW6Nb42CjYONko2TjaCNoY2ijbKNto23jbmNu429jcCNwY3CjcWNzY3QjdiN2Y3cjeCN4Y3ijeWN5o3njemN7Y3ujfCN8Y3yjfSOBo4HjgiOC44Njg6OII4hjiuOLY4wjjKOM440jjaON444jjuOPI4+jj+OQ45njmiOao5rjm6OcY5zjnWOfY5+joCOgo6DjoSOho6RjpKOk46djq2Oro6wjrGPoI+hj6KPqo+3j7iPuo+7j7yPv4/Aj8OPxo/Pj9KP1o/Xj+OP54/sj++P8Y/yj/SP9Y/2j/qP+4/8kAyQDpATkBWQGJAZkDeQOZA6kD2QP5BAkEOQRZBGkFmQWpBkkGaQZ5B+kIGQiZCKkJKQlJCWkJiQmpCckJ6Qn5CgkKSQpZCnkKiQqZCrkK2QspC3kLyQvZC/kMCQwpDDkMaQyJDJkMuQzJDNkNKQ1JDVkNaQ2JDZkNqQ3pDfkOCQ45DkkOWQ6ZDqkOyQ7pD1kPaQ95D/kQCRAZEDkR+RIJEhkTCRRJFFkViRWZFbkVyRa5GGkYiRipGOkY+Rq5GskciRy5HQlJaVSJYYlhuWHpYgliuWLJYtlj6WQZZOlk+WUZZSllOWXJZdll6WYJZjlmWWZpZrlnOWh5aJloqWjJaOlpGWkpaTlpWWlpaalpuWsZaylrSWtZa3lriWupa7lr+WwpbDlsiWypbLltCW0ZbTltSW8JbxlvKW9Jb1lviW/5cClwOXBZcKlwuXDJcQlxGXEpcUlxWXHZcrlyyXLpcvlzGXVJdVl1eXWJdal1yXXZdfl2OXZJdml2eXaJd1l4yXjpePl5CXk5eVl5aXl5ehl6KXrJeul7CXsZezl/SYjpiSmJWYz5jQmNSY1pjXmNuY3JjdmQ6ZD5lkmXiZeZl7mX6ZjJmmmaeauZq7mr2avpq/msOaxJrSmuCa7JrumvqbEJsRmxKbIJshmyKbMJsxm0qbS5tMm06bUJtSm1OcfZx+nICcg5yEnImcipyMnI+ck5ysnOCc4Z4wnlCeUp5TnlSeVp5Znl2ecp6AnoGeiZ6Knp6etZ62nreeuZ66nryeyp7Lnsye0J7SntOe1Z7Wntee2Z7ant6e4Z7jnuSe5p7onvqe/Z8Mnw+fEZ8SnxSfFZ8WnxifIZ8tny6fOJ86nzyfnJ+dn57+Mv5T/lj+Z/8A/////wAAAAEACwAMACEAKgArAZABkQHPAdEB0wHVAdcB2QHbAncCeAMFAwkElASVBJgEmQSwBLEgEiAfICMgJCAxIDghBCEGIQchCCEUIRUhIyEkISUhlCGVIgMiBCIFIgciECITIhQiFiIXIhgiGyIcIiEiIiIkIiYiLCItIkkiSiJLImIiYyKWIpcimCWQJZElkiXIJcklzCXNJgcmCCZBMAQwBTAGMD8wQDOfM6AzzzPQM9Mz1E4CThJOI04mTilOLk4vTjFOM041TjdOPE5ATkFOQk5ETkZOVU5XTmdOaE5yTodOmU6cTp1Onk6vTrBOsU60TsxOz07QTuBO4k7mTudO6U7tTu5O707xTvRO+E75TvpO/E7+TwBPIU8jTyhPKU8sTy1PLk8xTzNPNU83TzlPO09ET0VPVE9mT2hPak9rT21Pbk9xT3JPdU99T4BPgU+CT4VPhk+HT4pPjE+OT5BPkk+TT5VPlk+YT5lPmk+cT55Pn0+hT6JPrU/AT8FPwk/LT8xPzU/ZT9tP4E/iT+RP5U/nT+tP7E/wT/JP+U/7T/xP/VAOUBBQEVATUBVQFlAXUBtQHVAeUCBQIlAjUCRQJ1ArUDtQPVBEUEVQRlBJUEpQS1BNUFtQeFB5UHpQfFB9UIZQh1CkUKZQqlCrUNdQ2FDZUPRRCFEJUQpRQlFHUUpRTFFOUU9RUFFSUVNRV1FYUVlRW1FjUWRRZlFnUWlRalFvUX5Rf1GDUYRRhlGHUYpRi1GTUZRRmFGaUZ1RnlGfUaFRo1G4UblRulG+Ub9RwVHCUcNRxVHIUcpRzVHOUdBR3FHeUd9R4lHjUexR7lHxUfJR9FIJUgtSDFIPUhBSHlIfUiFSIlIjUiVSJlInUipSLFIvUjFSMlJLUk5ST1JSUlNSVVJdUl9SYFJiUmNSZFJmUmhScFJxUn5SgFKRUpJSwFLBUsJSxFLFUsZSyFLKUtFS01LUUtVS11L7UvxS/VMHUw5TGFMbUxxTHlMfUyJTJFMlUydTKFMpUytTLFMtUzxTPVNAU0JTRFNGU0tTTFNNU1BTVFNYU1lTW1NoU2pTbFNtU3JTdlN5U4BTgVODU4dTiFOKU5ZTl1OZU5tTnFOeU6BToVOkU6dTvFO9U75TwFPSU9NT1VPaU9xT3VPeU+FT4lP+U/9UAFQCVAVUB1QYVBlUGlQkVCVUM1Q2VDdUOlQ9VD9UQVRCVERURVRHVElUY1RlVGdUdFR5VHpUflR/VIFUg1SFVI1UkVSTVJdUmFScVLBUslS1VLZUt1S5VLpUvFS+VMNUxVTYVNtU71TwVPFU+1T+VQBVCFUSVRNVIVUlVSZVKFUpVStVLVUyVTRVNVU2VT1VQFVCVUVVR1VIVWJVY1VoVWlVa1V5VXpVfVWQVZJVk1WVVZZVl1WaVZtVnlWyVbRVtlW4VbpVvFXGVcdVyFXKVctVzlXPVdBV1VXeVeBV4lXnVelV7VXuVfBV8VX0VfZV/1YKVgtWDVYZVhpWHFYdViBWIVYiViVWJlYuVi9WMFYzVjVWN1Y4VjpWPFY9Vj5WVVZWVlpWW1ZjVpBWkVaSVtVW1lbYVtlW7FbuVu9W8lbzVvZW91b4VvtW/FcAVwFXAlcFVwdXHVceVyBXIVciVzxXPVc/V0FXSFdJV2VXZ1dsV25XcFdxV3JXdFd1V3hXeVd6V6hXqlesV69XsFexV7NXtVe2V7dXzFfNV9BX0VfTV9ZX11fbV9xX3lfhV+JX41fuV/VX9lf3V/tX/Ff+V/9YAVgDWARYBVgIWAlYClgMWA5YD1gQWBJYE1gUWBZYF1gYWB9YIlgjWE5YT1hQWFJYU1hVWFZYV1h/WIJYhFiGWIdYiFibWJxYnVjCWMNYxFjSWNNY1FjtWO9Y8VjyWPRY9Vj3WPhZA1kFWQZZDlkXWRhZG1kdWR5ZJlkoWSxZMFkyWTNZNVk2WTtZQ1lFWUZZSllMWU1ZUFlhWWNZZFl1WXdZell7WXxZfll/WYBZhVmJWYtZjFmUWZVZmFmmWadZrFmtWbBZsVm6WbxZvVnHWchZyVnZWdtZ5FnmWedZ6VnqWetZ+ln8Wf1Z/loAWhJaGVoaWhtaHVoeWiFaIlokWiZaJ1ooWjNaNVo9Wj5aP1pHWkhaaFppWnhaeVq0WrZat1q/WsBaylrLWtNa1VrXWtla2lrbWt1a3lrfWuJa5FrlWuda6FrqWzNbNVs2W1Jba1ttW25bb1tyW3Rbe1t8W35bf1uCW4ZbiluNW45bkFuRW5JblFuxW7Jbt1u6W7tbvFvAW8Fbw1vNW85bz1vRW+Bb4lvjW+Zb51vvXABcAlwDXAVcB1wIXBBcElwTXBdcGVwbXCNcJlwyXDNcRlxHXExcTVxSXFNcVFxWXFdcWFxfXGJcZFxwXIBciVyKXItcjlyPXJJck1yqXK5cr1ywXLJctFy2XL5cwFzCXMNc4lzjXOdc6VzrXOxc7lzvXQRdBV0VXRxdHV0lXShdKl0rXSxdSF1JXVldWl1cXWpdbV1uXZpdm12cXdxd313gXexd7V3wXfVd9l3/XgBeBF4HXgleCl4LXg1eDl4SXhNeL14wXjleOl5DXlxeXV5fXmBedV53Xnlefl6BXoJeg16FXoheiV6MXo1ejl6bXp1e1F7VXule9V74XvlfCV8MXw1fDl8QXxJfFF8WXxlfGl8cXx1fHl8oXytfLF8uXzBfO189Xz5fP19RX1RfXl9fX2BfY19lX2dfaF9rX25fb19yX3RfdV92X3hfel99X35ff1+DX5Ffk1+UX5Zfml+bX6lfq1+sX7Zfx1/IX8pfy1/OX9Nf1F/VX9pf21/cX95f31/iX+Nf5V/mX+hf6V/sX+9f8F/yX/Nf9F/2X/df+V/6YAtgDGAQYBFgE2AXYBhgGmAeYB9gPWA+YEBgTGBOYE9gUWBTYFRgVmBXYFhgW2BcYHFgcmB0YHVggGCBYIJgimCLYJNglWCXYJhgmWCcYJ5goWCiYKRgpWCnYKlgqmCuYLBgs2C1YLZgt2C5YLpgx2DIYMlg0mDTYNRg1mDXYNlg22DeYPVg92D4YQdhCmELYQxhIWEiYSVhKGEpYSphSWFLYU1hT2FQYVJhU2FUYXZhjGGNYaphq2G/YcBhwWHJYdNiB2IZYhxiHWIeYiBiI2IrYi1iNWI2YkRiRWJGYkpiT2JQYlViVmJXYlliWmJkYmVidGJ1YndieGJ6YntifWKBYoJig2KUYplinGKdYp5io2KmYqdiqWKqYrJis2K0YrZit2K4YrpivmLAYsFiz2LRYuBi4WLwYvJi9WMAYw9jEGMXYxhjGWMpYyxjLWMuYzBjMWM7YzxjRGNHY0hjYGNkY2VjZmNoY2pja2NsY29jcGN4Y3ljgWOLY41jkWOTY5RjlWOXY6FjpGOmY6tjr2OxY7JjtWO2Y7lju2O9Y8Vjx2PIY8pjy2PMY9Fj02PUY9Vj32PiY+tj7GPzY/Vj92P+ZANkBGQNZA5kEWQSZB1kH2QnZChkKWQrZDtkPGQ+ZEBkU2RVZFZkV2RoZGpka2RsZINkhmSTZJRkl2SYZKpkq2SvZLZkuWS7ZL1kvmS/ZMFkw2TEZM9k0WTfZOBk4WTjZOVlLGUtZTdlOmU8ZT1lRmVHZUplS2VNZU5lUGVSZVNlVGVXZVhlWmVcZV9lYGVhZWRlZWVtZW5lb2VxZXNldWV2ZYhliWWKZY1ljmWPZZJllGWVZZZlmGWaZZ1lnmWgZaJlo2WmZahlqmWsZa5lumW7Zb5lv2XAZcJlzWXQZdFl02XUZdVl4WX4ZflmAWYEZgVmB2YIZglmC2YNZhBmEWYSZhZmF2YYZhpmG2YcZh5mJmYuZjBmMmYzZj1mP2ZAZkJmTWZOZmBmYmZjZmVmZ2ZxZnJmc2Z1ZnhmeWZ7ZnxmfWZ/ZoBmgWaDZoVmhmbaZudm6GbxZvVm9mb4Zvpm+2b9ZwxnDmcPZxFnEmcTZxZnGGcZZxpnHGceZydnKWcuZzBnMmczZztnPGc+Zz9nQWdEZ0VnR2dKZ0tnTWdSZ1RnVWddZ2JnY2dkZ2ZnZ2drZ2xnbmdxZ3Rndmd9Z4BngmeDZ4VnhmeIZ4pnlmeZZ5tnn2egZ6FnpGemZ6lnrGeuZ7Fnsme0Z8Jn22ffZ+Fn42fkZ+Zn52foZ+pn62ftZ+5n8mf+aBBoEmgUaBVoHmgfaCBoNGg1aDZoOmg7aEtoTWhPaFJodWiCaIRokGiRaJJolGiVaJZoo2ikaKVormixaLJotGjBaMpozGjTaNRo1mjXaNlo4WjiaO9o8mjzaPRo9mj3aPho+2kCaQNpBGkMaQ9pEWkhaSJpI2kuaS9pMWkyaTNpOmk7aTxpPmlAaUFpVWlWaVhpWWlbaVxpX2lhaWJpZGllaWxpbWlvaXBpeml7aX1pfml/aYFpg2mFaYppi2mMaZZpl2mZaZppqWmqaaxprmmvabBpsmmzabVptmm4ablpumnLac1pz2nRadJp02ncad1p3mn+aiBqKWowajJqM2o0akVqRmpaamJqY2pkanpqe2p9an5qf2qBaoJqg2qPaqprOGs7azxrPWtEa0VrSGtKa0tremuFa4hrjGuUa5Vrl2uYa5lrtmvAa8NrxGvMa85r2mvsa+1r7mvwa/Fr8mv0a/Zr92v4a/pr+2v8bA5sEmwXbBxsHWwebCBsI2wxbDNsNmw3bD5sP2xDbERsRWxIbFFsUmxTbFZsZWxmbGdscWxzbHVsd2x4bHpse2x8bH9sgGyEbIdsimyLbI1sjmyRbJJsmmycbJ1snmygbKxsr2ywbMZsx2zIbMtszWzObM9s3GzdbN9s5GzmbOds6WzsbO1s8mz0bQJtA20FbQZtCG0JbQptDW0PbRBtEW0YbRxtHW0mbShtKW0sbS1tL20wbTRtNm03bThtOm0/bUBtQm1EbUltTG1QbVttXW1fbWFtYm1kbWVtZ21obWttbG1tbXVtdm15bXpte22DbYRthm2HbYpti22NbY9tkG2SbbBtsW2zbbRttm23bcFtwm3DbchtyW3Kbddt2m3bbdxt323ibeNt5W3tbe9t8G3ybfRt9W32bfht+m4Lbg9uEm4TbhVuGG4ZbhtuHG4ebh9uIm4mbiduKG4qbixuLm4wbjFuM241bjZuN245blVuV25ZblpuXG5dbl5ubG5tboBugW6CboRuh26Ibplumm6bbp1unm6gbqFuo26kbqZuqG6pbrBus261brhuuW68br5uv27AbshuyW7KbsxuzW7ObtBu0m7Wbthu2W7nbwNvBG8FbwdvCG8QbxFvEm8hbyJvI28sby5vMG8ybzRvNW9Ib0lvSm9Mb1lvWm9bb11vX29gb2FvY29kb2Vvb29wb3Fvc291b3Zvd295b3tvhW+Gb4dvim+Lb7RvtW+3b7hvwW/fcDZwN3A4cE1wTnBucHdweXB6cHtwfXCGcIdwiHCLcIxwjXCPcJBwkXCTcJdwmHCacJtwsnC0cLVwtnC6cL5wv3DJcNpw3HDdcN5w5XDqcO5w+HD6cPtw/HERcRJxFHEXcUtxTXFdcWVxb3FwcXFxeXF7cXxxlXGWcZdxqXGqcatxtHG2cbdxuHHmcilyK3Itci5yL3I8cj5ySXJKcktyU3JUclVyV3JYclpyXHJecmByY3JkcmVyaHJwcnFyc3J0cnZyd3J4cntyfHJ9coJyg3KMco5ykHKRcq5ysXKycrNytXLFcsZyx3LPctFy2HLfcvlzAnMLcwxzDXMUcxhzGXMacx9zIHMjcyRzJnMncyhzLXMvczBzMnMzczVzNnNOc09zUXNuc4VzhnOIc4pzjHONc49zkHOcc51znnOgc6FzqnOsc61zsXO0c7VztnO4c7lzwXPLc8xzznPfc+Zz6HPqc+tz7HQEdAd0CHQjdCR0J3QpdCt0LXQvdDF0MnRWdFh0XXRudG90f3SCdIR0hXSGdIh0iXSKdIx0jXSPdJ103XTfdOF05XT1dQ51EHUSdRt1HXUedSZ1J3UqdTZ1OXU8dT11P3VGdUd1SXVKdU11Z3VodWl1c3V1dXZ1d3WAdYF1gnWEdYV1jHWNdY51kHWTdZV1mHWbdZx1nnWidbp1u3W/dcB1wXXGdct1zHXTddd12XXaddx13XXfdeB14XXldel18nXzdfp1+3X9df52AnYEdgt2DXYOdg92FnYadhx2HXYediF2I3Yndih2LHYudi92MXYydjZ2N3Y5djp2O3Y9dkF2QnZVdl12bHZtdm52eXZ6dnx2f3aAdoF2g3aFdol2inaMdo12j3aQdpJ2lHaVdpd2mHavdrB2s3bAdsF2w3bEdsd2yXbVdtl22nbcdt123nbwdvN29Xb2dvd2+nb7dv12/3cAdwJ3A3cFdwZ3CncMdyF3I3ckdyV3J3cqdyt3LHcudzl3O3c9dz53P3dCd0R3RXdGd2R3Z3dpd2p3end7d3x3gXeCd4N3j3eQd6F3o3ekd6Z3qHerd613rnevd7F3sne0d7x3vnfYd9l32nfkd+Z36Hfqd/R39Xf3eAp4C3gOeA94EHgTeBV4GXgbeB54IHgheCJ4JHgoeCp4K3gueC94MXgyeDN4P3hGeE14T3hReFN4VHiIeIp4i3iPeJB4kniUeJV4lniZeJ14nnigeKJ4pHimeL94wHjCeMN4xHjGeMd4yHjReNJ403jWeNd42HjpeOp463jzePV49nj4ePl5AnkDeQR5PXk/eUd5VHlVeWN5ZHlmeW55eXmCeYN5vHm/ecJ5xHnFecd5yHnKecx5znnPedB503nUedZ513ngeeF54nnleeh56nnsee55+Xn6efx5/nn/egF6BHoFegx6FXoWehh6GXobehx6HXofeiF6Ino0ejV6Nno4ejp6PnpxenJ6c3qCeoV6h3qOeo96kHqTepR6mXqaept6nnqneql6qnqretd62HrheuJ65Hruevt6/Hr+ewB7AXsCewV7B3sJewx7DXsOexB7EnsTexZ7F3sYexp7HHsdex97IXsieyN7J3spey17L3swezJ7OXs7ez17RntIe0p7TXtOe1N7VXtXe1l7XHtee197YXtve3B7c3t0e3Z7eHt6e3x7fXt/e457j3uRe5J7k3uWe557n3uge7J7s3u1e7Z7t3vSe9t73Hvee9974Hvie+N75Hvne+h76Xvre+x77Xvve/B7/XwIfAl8CnwNfA58KHwpfJN8lHyWfJl8mnybfKB8oXyjfKt8rHytfK98sHy6fLt8v3zAfMJ8w3zEfMZ8yXzLfNh82nzbfN183nz5fPp9IX0ofSl9Kn0sfS19Ln85f0N/Un9Tf1Z/WX9gf2t/bH9tf29/cH9zf39/gH+Lf41/m3+cf6B/on+jf6V/pn+xf7p/u3++f8B/wn/Df8R/y3/Nf9Z/13/if+N/5H/nf+h/73/yf/1//n//gAKADoAPgBGAHYAegB+AIYAygDSAOYA6gDyAPoBAgEGARIBFgEeASIBJgFOAVYBWgFeAWYCBgIKAhYCIgIqAlICVgJeAmYCegKOApoCngKiArICwgLOAtYC2gLiAuYDigOOA94D5gPuBA4EEgQWBB4EIgReBGYEbgRyBHYEtgS6BMIEzgTSBNYE3gUeBSYFNgU6BT4FSgVaBV4FYgWaBaIFqgWuBbIFvgXKBc4GJgZCBmYGagaSBpYGngamBxIHFgceByIHJgcuB5IHlgeaB6IHpgeuB/YH/ggOCDoIPghGCE4IdgiCCKYIugjyCPYJFgkaCSIJKgkyCTYJOglmCcYJ7gnyCgIKBgoOChYKGgoeCiYKMgpCCmoKbgp6CoIKigqOCtYK2grqCu4K8gr+CwILCgsOCxYLGgtmC2oLdguKC7ILtgu6C8ILygvOC9YL2gviC+oMNgxCDEoMTgxaDGIMZgymDKoMugzCDMoM3gzuDPYM+gz+DQYNCg0SDRYNIg1ODXYN5g3qDh4OIg4+DkIORg5mDmoOdg5+DvoO/g8KDw4PEg8aDyIPJg8uDzYPOg9WD14PZg9qD24Peg+KD44Pkg+aD54Pog/qD+4P8g/6D/4QAhAKEBYQZhBqEG4Q5hDqEO4RYhGKEaoRuhG+EcIRyhHSEd4R5hIqEjYSYhJqEm4SwhLGEs4S1hLaEt4S7hLyEvoTAhMKEw4TLhMyEzoTPhNKE1ITVhN6E4YTihOSE7YTuhO+E/YT+hRKFFIUVhRaFGIUZhSCFV4VYhWWFZoVnhXOFfIV9hYaFpYWmhaeFqYWrhayFrYW4hdGF0oXUhfyF/YX+hiiGOYY6hjuGW4Zchl2GX4ZghmGGbYZvhnCGlIalhqaGq4athq6GsoazhreGuIa5hsGGwobDhsWGyIbMhs2G0obThtWG1obXhtqG3IbdhuqG64bshv+HAYcEhwWHBocLhwyHFIcWhxmHG4cdhx+HIIckhyaHJ4cohy+HMIcyhzOHNYc2hziHOYc6hzyHPYdKh0uHTYdUh1WHVodYh2GHYodvh3GHcodzh3WHf4eAh4GHhIeGh4eHiYeKh4yHlIeVh5aHqYeqh66HsIexh7KHtIe7h7yHvoe/h8eHyIfJh+uH7IftiBSIOog7iD2IPog/iEGIQohDiFWIVohYiGqIbYhviHGIgIiDiIaIh4iJiIqIjIiTiJSIlYijiKyIroiviLCIw4jEiMeIyIjPiNCI0YjTiNaI14jgiOGI5ojniPKI9Yj2iPeI+oj7iP2I/4kAiQGJEYkiiSOJJIkxiTKJM4k1iUKJQ4l8iX2JfomAiYKJhImFideJ2InZiduJ3YnkieyJ7YnuifCJ8YnyjEiMSoxLjIOMhIyGjIeMiIyLjJWMloyXjWiNaY1qjWyNbo1vjYKNg42SjZONoI2hjaKNso22jbeNuY27jb2NwI3BjcKNxY3NjdCN2I3ZjdyN4I3hjeKN5Y3mjeeN6Y3tje6N8I3xjfKN9I4GjgeOCI4Ljg2ODo4gjiGOK44tjjCOMo4zjjSONo43jjiOO448jj6OP45DjmeOaI5qjmuObo5xjnOOdY59jn6OgI6CjoOOhI6GjpGOko6Tjp2OrY6ujrCOsY+gj6GPoo+qj7ePuI+6j7uPvI+/j8CPw4/Gj8+P0o/Wj9eP44/nj+yP74/xj/KP9I/1j/aP+o/7j/yQDJAOkBOQFZAYkBmQN5A5kDqQPZA/kECQQ5BFkEaQWZBakGSQZpBnkH6QgZCJkIqQkpCUkJaQmJCakJyQnpCfkKCQpJClkKeQqJCpkKuQrZCykLeQvJC9kL+QwJDCkMOQxpDIkMmQy5DMkM2Q0pDUkNWQ1pDYkNmQ2pDekN+Q4JDjkOSQ5ZDpkOqQ7JDukPWQ9pD3kP+RAJEBkQORH5EgkSGRMJFEkUWRWJFZkVuRXJFrkYaRiJGKkY6Rj5GrkayRyJHLkdCUlpVIlhiWG5YeliCWK5Ysli2WPpZBlk6WT5ZRllKWU5Zcll2WXpZglmOWZZZmlmuWc5aHlomWipaMlo6WkZaSlpOWlZaWlpqWm5axlrKWtJa1lreWuJa6lruWv5bClsOWyJbKlsuW0JbRltOW1JbwlvGW8pb0lvWW+Jb/lwKXA5cFlwqXC5cMlxCXEZcSlxSXFZcdlyuXLJculy+XMZdUl1WXV5dYl1qXXJddl1+XY5dkl2aXZ5dol3WXjJeOl4+XkJeTl5WXlpeXl6GXopesl66XsJexl7OX9JiOmJKYlZjPmNCY1JjWmNeY25jcmN2ZDpkPmWSZeJl5mXuZfpmMmaaZp5q5mruavZq+mr+aw5rEmtKa4Jrsmu6a+psQmxGbEpsgmyGbIpswmzGbSptLm0ybTptQm1KbU5x9nH6cgJyDnISciZyKnIycj5yTnKyc4JzhnjCeUJ5SnlOeVJ5WnlmeXZ5ynoCegZ6Jnoqenp61nraet565nrqevJ7KnsuezJ7QntKe057Vntae157Zntqe3p7hnuOe5J7mnuie+p79nwyfD58RnxKfFJ8VnxafGJ8hny2fLp84nzqfPJ+cn52fnv4y/lP+WP5n/wD/////////9f/0/+H/1//g/nD+b/4x/i/+Lf4r/in+J/4l/Yn9iPz7/Pf7bPtr+2j7Z/tQ+0/f7t/h393f3N/P38je/N763vne+N7s3uve3d7c3tvebN5r3f3d/N373fnd8N3t3ezd6t3p3ejd5d3k3d/d3t3c3drd1N3T3bfdtt213Z7dnd1q3WndaNpw2m/abto42jfaNNoz2fnZ+Nm/z/zP+8/6z8HPwMxhzGDMMcwwzC3MLLH+se6x3bHasdex0rHRsc+xzbHLscmxxLHAsb+xvrG8sbqxq7GpsZmxmLGOsXmxZ7FksWOxYrFRsVCxT7FMsTSxMbEwsSCxHrEasRmxF7ETsRKxEbEPsQyxCLEHsQaxBLECsQCw37DdsNiw17DUsNOw0rDPsM2wy7DJsMewxbC8sLuwrLCasJiwlrCVsJOwkrCPsI6wi7CDsICwf7B+sHuwerB5sHawdLBysHCwbrBtsGuwarBosGewZrBksGKwYbBfsF6wU7BAsD+wPrA1sDSwM7AnsCWwILAesBywG7AZsBWwFLAQsA6wB7AFsASwA6/yr/Cv76/tr+uv6q/pr+Wv46/ir+Cv3q/dr9yv2a/Vr8Wvw6+8r7uvuq+3r7avta+zr6WviK+Hr4avhK+Dr3qvea9cr1qvVq9VrymvKK8nrwyu+K73rvauvq65rrautK6yrrGusK6urq2uqa6orqeupa6drpyumq6Zrpeulq6RroKuga59rnyueq55rnauda5trmyuaK5mrmOuYq5hrl+uXa5IrkeuRq5CrkGuP64+rj2uO644rjauM64yrjCuJK4iriGuHq4drhSuEq4Prg6uDK33rfWt9K3xrfCt4q3hrd+t3q3drdut2q3Zrdat1K3Rrc+tzq21rbKtsa2ura2tq62jraGtoK2erZ2tnK2arZitkK2PrYKtgK1vrW6tQK0/rT6tPK07rTqtOK02rS+tLa0srSutKa0FrQStA6z5rPKs6KzlrOSs4qzhrN6s3KzbrNms2KzXrNWs1KzTrMSsw6zArL6svKy6rLWstKyzrLCsrKyorKespayYrJaslKyTrI6siqyHrICsf6x9rHmseKx2rGqsaaxnrGWsZKxirGCsX6xcrFmsRKxDrEKsQKwurC2sK6wmrCSsI6wirB+sHqwCrAGsAKv+q/ur+avoq+er5qvcq9urzavKq8mrxqvDq8Grv6u+q7yru6u5q7ernaubq5mrjKuHq4argquBq3+rfat7q3Orb6ttq2mraKtkq1CrTqtLq0qrSatHq0arRKtCqz2rO6soqyWrEasQqw+rBasCqwCq+Kruqu2q36rbqtqq2KrXqtWq06rOqsyqy6rKqsOqwKq+qruquaq4qp6qnaqYqpeqlaqHqoaqg6pwqm6qbaprqmqqaapmqmWqYqpOqkyqSqpIqkaqRKo6qjmqOKo2qjWqMqoxqjCqK6oiqiCqHqoZqheqE6oSqhCqD6oMqgqqAan2qfWp86nnqeap5KnjqeCp36neqdup2qnSqdGp0KnNqcupyanIqcapxKnDqcKpq6mqqaappamdqXCpb6luqSupKqkoqSepFKkSqRGpDqkNqQqpCakIqQWpBKkAqP+o/qj7qPmo46jiqOCo36jeqMSow6jBqL+ouKi3qJuomaiUqJKokKiPqI6ojKiLqIioh6iGqFioVqhUqFGoUKhPqE2oS6hKqEmoNKgzqDCoL6gtqCqoKaglqCSoIqgfqB6oHagSqAuoCqgJqAWoBKgCqAGn/6f9p/yn+6f4p/en9qf0p/Kn8afwp+6n7afsp+qn6afop+Gn3qfdp7Knsaewp66nraerp6qnqaeBp36nfKd6p3mneKdlp2SnY6c+pz2nPKcupy2nLKcTpxGnD6cOpwynC6cJpwim/ab7pvqm8qbppuim5abjpuKm2qbYptSm0KbOps2my6bKpsWmvaa7prqmtqa0prOmsKafpp2mnKaLpommhqaFpoSmgqaBpoCme6Z3pnWmdKZspmumaKZaplmmVKZTplCmT6ZGpkSmQ6Y5pjimN6YnpiWmHKYaphmmF6YWphWmBqYEpgOmAqYApe6l56XmpeWl46Xipd+l3qXcpdql2aXYpc2ly6XDpcKlwaW5pbilmKWXpYilh6VMpUqlSaVBpUClNqU1pS2lK6UppSelJqUlpSOlIqUhpR6lHKUbpRmlGKUWpM2ky6TKpK6klaSTpJKkkaSOpIykhaSEpIKkgaR+pHqkdqRzpHKkcKRvpG6kbKRPpE6kSaRGpEWkRKRApD+kPaQzpDKkMaQvpCCkHqQdpBqkGaQRpACj/qP9o/uj+aP4o/Cj7qPto+mj56Plo92j2qPOo82juqO5o7Sjs6Ouo62jrKOqo6mjqKOho56jnKOQo4Cjd6N2o3WjcqNxo26jbaNWo1KjUaNQo06jTKNKo0KjQKM+oz2jHqMdoxmjF6MVoxSjEqMRovyi+6LrouSi46Lbotii1qLVotSiuKK3oqeipqKkopaik6KSomaiZaJkoiSiIaIgohSiE6IQoguiCqIBogCh/KH5ofeh9qH1ofOh8qHuoe2h0aHQocehxqG9oaSho6GhoaChi6GJoYehgqF/oX6hfaF7oXihd6F0oXOhcqFloWOhLKEroRehC6EIoQeg96D0oPOg8qDwoO6g7KDqoOeg5qDkoOOg4qDYoNWg1KDSoNCgxaDDoMKgwaCvoKygoqChoKCgnaCboJmgmKCVoJKgkaCOoIygi6CKoIighqCDoIKggaB9oG+gbaBsoGqgZqBloFegVaBUoEqgOaA4oDagNaAyoC2gLKAroCagJaAkoCKgIaAeoB2gG6AaoBigF6AUoBGgEKAOoA2gDKAKoAmgB6AGn/Wf9J/wn++f7Z/pn+if5p/in+Gfw5/Cn8CftJ+yn7Gfr5+tn6yfqp+pn6ifpZ+kn4+fjp+Mn4ufgJ9/n36fdp91n22fa59pn2ifZ59kn2KfX59en1yfW59Zn1efVp9Sn1CfTZ9Ln0qfSZ9Hn0afOZ84nzefLp8tnyyfKp8pnyefJZ8inwufCZ8Invme9p71nvSe357entue2J7Xntaet561nrOesZ6wnq6erZ6snoqedJ5znlaeVZ5BnkCeP543ni2d+Z3nneSd453ineCd3Z3VndOdy53Knbydu526nbadsZ2wnaudqp2pnaedpp2cnZudjJ2LnYmdiJ2GnYWdg51/nX6dfZ1snWedZJ1jnWKdXZ1anVmdV51WnU6dTZ1MnUqdSZ1InUadQp1AnT+dMZ0vnSCdH50QnQ6dC50AnPGc8JzpnOic55zXnNSc05zSnNCcz5zFnMScvJy5nLicoJycnJucmpyYnJaclZyUnJGckJyInIecf5x1nHOcb5xtnGyca5xpnF+cXJxanFWcUZxPnE6cS5xKnEecRZxDnDucOZw4nDacNZw0nC+cLZwsnCucIZwenBWcFJwNnAucCZwCm/2b/Jvzm/Kb75vum+Ob4ZvZm9ib15vVm8WbxJvCm8CbrZurm6qbqZuYm5ablZuUm32bepttm2ybaZtom1abVZtRm0qbR5tFm0ObQptBmz+bPZs8mzGbL5shmyCbH5sdmxua1JrTmsmaxprEmsOaupq5mraatZqzmrKasJqumq2arJqpmqiappqkmqGaoJqfmpyam5qTmpKakZqPmo2ai5qKmniad5p2mnOacppxmm6abJprmmqaaJpmmmOaYppgml6aXZpamliaVppUmlKaRppFmkKaQZpAmj6aM5owmi+aLZosmiuaH5oImgeZ/5n8mfuZ+Zn4mfeZ9ZnzmfCZ75numeqZ6ZnomeaZ5ZnkmeKZ2pnSmdCZzpnNmcOZwZnAmb6Zs5mymaCZnpmdmZuZmZmPmY6ZjZmLmYiZh5mFmYSZg5mBmYCZf5l9mXuZepkmmRmZGJkPmQuZCpkImQaZBZkDmPSY8pjxmO+Y7pjtmOqY6JjnmOaY5JjimNmY15jSmNCYzpjNmMWYxJjCmMGYv5i8mLuYuZi2mLWYs5iumKyYq5ijmJ6YnZicmJqYmZiVmJSYkpiPmIyYipiDmICYfph9mHuYeph4mHaYaphnmGWYYZhgmF+YXJhamFeYVJhSmE+YTphMmD6YJZghmB+YHZgcmBqYGZgYmBaYFZgTmBKYDpgCl/CX7pfsl+uX4pfhl+CXzJfLl8qXxpfFl7WXs5exl66Xi5d+l3yXcJdvl26XbJdrl2qXXZdcl1uXUpdPl06XTJc/lzaXNJctlyyXKpcplyeXH5celxGXDpcNlwyXCpcJlwiXBZb+lv2W/Jb0lvGW75bflt6W3ZbSltGWz5bOls2WxpbFlsSWwpbAlr+Wq5aqlqiWp5allqSWoZaflp6WnJablpSWk5aRlpCWhpaFloOWgpaBln+WfZZ7lnaWdZZ0lmqWaZZnlmaWV5ZWllSWUpZRllCWTpZNlkuWSpZIlkeWRpY1ljOWMZYvli6WLZYkliOWIpYCleCV15XQlc6VzZXMlbuVupWmlZ6VnZWclYaVhZWDlYKVgZV/lX6VfZVxlVaUyJTFlMSUw5S8lLuUuJS2lLWUhpR7lHiUdJRslGuUaZRolGeUSpRAlD2UPJQ0lDKUJpQUlBOUEpQQlA+UDpQMlAqUCZQIlAaUBZQEk/KT7pPpk+ST45Pik+CT3ZPPk82TypPJk8KTwZO9k7yTu5O4k6+TrpOtk6qTm5Oak5mTj5ONk4uTiZOIk4aThZOEk4GTgJN8k3mTdpN1k3OTcpNvk26TZpNkk2OTYpNgk1STUZNQkzqTOZM4kzWTM5MykzGTJJMjkyGTHJMakxmTF5MUkxOTDpMMkv6S/ZL7kvqS+JL3kvaS85LxkvCS75LokuSS45LaktiS15LUktOS0ZLQksySypLJksiSxpLBksCSvpK8kreStJKwkqWSo5Khkp+SnpKckpuSmZKYkpWSlJKTkouSipKHkoaShZJ9knySepJ5knaSdZJzknGScJJuklCST5JNkkySSpJJkj+SPpI9kjiSN5I2kimSJpIlkiSSIZIekh2SG5ITkhGSEJIOkgySC5IKkgiSBpH1kfGR7pHtkeuR6JHnkeWR5JHikeGR3pHakdmR2JHWkdSR0pHQkc+RzZHLkcqRyZHHkauRqZGnkaaRpJGjkaKRlJGTkYCRf5F+kXyReZF4kWeRZpFlkWORYpFgkV+RXZFckVqRWJFXkVCRTZFLkUiRR5FEkUKRQZFAkTiRN5E2kTSRM5EykTCRLpEqkSiRJ5EZkP2Q/JD7kPmQ+JDwkO+Q7pDfkN6Q3ZDUkNKQ0JDOkMyQy5C4kLeQtpC0kKeQppClkKOQoZCgkJ+QnZCckJuQkZCQkI+QjZCLkIqQiZCHkIWQe5B6kHmQdpB1kEyQS5BJkEiQP5Ahj8qPyY/Ij7OPso+Sj4mPh4+Gj4WPg496j3mPeI91j3SPc49xj3CPb49tj2mPaI9mj2WPTo9Mj0uPSo9Gj0KPQY83jyaPJI8jjyKPG48WjxKPCI8GjwWPBI7vju6O7I7pjrWOs46jjpuOkY6Qjo+Oh46FjoSOa45qjmmOV45WjlWOTI5KjkmOSI4ajdeN1Y3TjdKN0Y3EjcKNt422jbWNrY2sjauNqY2ojaaNpI2ijaCNnY2cjZuNmI2QjY+NjY2MjYqNiY2IjYWNhI2DjX6NfY10jXKNcI1vjVKNT41OjU2NS407jTqNOY0xjS+NKI0hjQeM/oz1jPSM84zsjOiM54zmjOGM4IzdjNyM2ozZjNiM04zRjNCMzozNjMuMyoyyjLGMr4ySjHuMeox4jHaMdIxzjHGMcIxkjGOMYoxgjF+MVoxUjFOMT4xMjEuMSoxIjEeMP4w1jDSMMowhjBqMGIwWjBWMFIv8i/mL+Ivdi9yL2YvXi9WL04vRi8+Lzouqi6iLo4uSi5GLgYt+i3yLe4t6i3iLd4t2i3SLc4txi2OLI4shix+LG4sLivKK8IruiuWK44riitqK2YrWisqKx4rEisOKwYq6irmKt4q2irOKmYqYipeKjYqLioqKiYqAin+Kfop8inuKdIpzinKKcIptimuKaIplimSKYopeikaKRYpBikCKP4o6ijWKNIotiimKJ4omiiSKI4ohiiCKH4obiheKDooNigaKBYoDigKJ/on8ifWJ84nyifGJ6onmieSJ44niid+J3YnZidiJ1InSidGJz4nOicqJyYnHicaJxYnDib+JvomriaOJlImTiZKJh4mGiYSJgYmAiX+JfYl7iXeJdol0iXOJcYlwiW6JbIlriWmJaIlRiVCJTYlAiT+JPYk8iTmJN4kriSeJJokkiSOJIokQiQ2JC4kKiQmJBokFiQOJAYkAiP6I/Yj7iPqI9oj0iN+I3YjciNuI2YjWiNWI1IjSiMeIxYjDiMKIwYi+iLyIu4i6iJyImYiXiJaIhoiFiISIf4h+iH2IcYhwiF+IXYhciFqIWIhViFOIUohRiE+ITohMiESIQogoiCeIJogciBqIGIgWiAyIC4gJh/aH9Yfyh/GH8Ifth+uH54flh+KH4Iffh96H3IfYh9aH1YfSh9GHz4fOh82HwYe6h7OHsYevh62HrId4h3aHdYdxh3CHbodsh2uHaodnh2OHYodgh16HXIdah0GHQIc+hz2HPIc6hzmHOIcvhy6HLYcqhymHKIcXhxaHFYcNhwuHCocIhweG/ob9hvyGw4bBhrmGrIarhp2GnIaahpKGh4Z+hn2GRIZBhj6GPIY7hjmGOIY2hjSGMoYxhjCGLYYshiqGKYYghh+GHoYbhhiGFoYUhhKGB4YGhgSGAoYBhf+F/IX7hfSF64XqheiF54XlheSF44Xhhd+F3oXMhcuFyoXIhcaFwoWPhY6FjYV+hXuFeYVyhXGFcIVthWyFZ4VmhWWFYoVZhVeFVoVVhSmFKIUfhR6FHIUShQWFBIUChQCE/4T+hPuE+YT3hPSE84TyhPCE7oTthOqE6YTohOaE5ITjhOGE34TehN2E2YTXhNOE0YTQhM6Ex4TFhMOEuoS4hLaEs4SyhK2Eq4SphKeEpISihKGEn4SRhJCEjYSMhIqEiISGhISEg4SBhHKEcYRvhG6EbYRqhGKEYYRghE6ETYRLhEqESYQuhCWEJIQihCGEIIQehB2EHIQZhBiEF4QVhBSEE4QRhBCEA4P4g/eD9oPzg/KD2IPXg22DbINqg2eDZoNlg2CDX4Ndg1WDVINTg1GDUINGg0WDQYNAgz6DPYM8gzqDN4M1gyiDJoMlgyODIoMHgwaC34LYgteC1oLUgtOC0oDHgL2AroCtgKqAp4CggJWAlICTgJGAkICNgIGAgIB1gHOAZYBkgGCAXoBdgFuAWoBPgEaARYBCgECAPoA9gDyANYAzgCqAKYAegB2AHIAZgBiAEYAOgAOAAoABf/5/8n/xf+9/43/if+F/33/Of8x/x3/Gf8R/wn/Af79/vH+7f7l/uH+3f61/q3+qf6l/p39/f35/e394f3Z/bH9rf2l/Z39if11/Wn9Zf1h/VH9Qf01/S39Kf0h/R38efx1/CX8HfwV+/X78fvt++X74ful+537lfuR+437TftJ+0H7Nfsx+y37Jfrl+t36zfrJ+sX6ufqp+qX6ofpp+mH6WfpV+lH6Rfo5+jX53fnB+Z35mflx+W35Zfld+PH47fjl+OH43fjV+HH4bfhp+GH4XfhV+A34Bff198n3xfe997X3jfeB9133SfcR9w327fbp9uH22fbR9s32yfad9j32FfYR9gH1/fX19e316fXl9d310fXB9Zn1lfWJ9YH1efV19S31KfUZ9RX1EfUF9QH0+fT19O306fSd9Jn0jfR59FH0TfRJ9EH0OfQ19C30KfQh9BnzzfPB87nztfOp86HznfNd81nzSfNB8znzJfMV8w3zCfMF8v3y+fLx8u3y4fK18o3yHfIZ8eXx4fHF8cHxvfGd8ZnxjfGF8QnxBfD58PXw8fDp8OHw3fDV8M3wyfCt8KXwnfCZ8JXwifB58HXwcfBp8GXwYfAZ8BXwEfAJ8AXwAe/57+3vne+Z75XvHe8Z7xXuoe557lnuSe5F7kHuOe4x7iXuHe3Z7c3toe2Z7ZXtQe097TXtLe0p7SXtFe0R7QntAez57PXs1ezR7Mnsxey57LHsreyJ7H3seexx7E3sSexF7A3sCeu567Hrreup66HrneuB6qXqoept6mnqZeo16hHqDenp6W3paell6V3pVelR6U3pIei96LnosegR6A3oCedh5x3nGecV5pXmkeaN5oXmgeZ95k3mReZB5bHlbeVp5VXlTeVJ5TnlNeUl5SHlHeT95Pnk9eTt5OHk0eTN5LnkteSt5KnkpeSZ5JHkjeRZ5FXkUeQF4/3j8ePt4+nj1ePR47HjqeOd45XjjeOF44HjceNp42XjYeNF40HjOeM14y3jKeMh4x3jGeMR4w3i2eLV4s3iseKt4qnioeJ94nniReI94jniNeIt4gXiAeH94fHh6eHl4d3h2eHR4bHhreGp4V3hWeFJ4UHhPeE54THhFeER4QnhBeDl4OHg3eBV4FHgTd+x3xnfFd8N3wnfBd793vne9d6t3qneod5Z3k3eRd493gHd9d3p3eXd3d3Z3dHdtd2x3a3ddd1R3UndRd1B3PXc8dzl3OHcxdzB3L3ctdyp3KXcgdx93GncZdw53C3cKdwl3BncFdwN3AXcAdv9273bedt123HbPds52zXbLdr52vXaEdoN2gnaAdn52fHZ7dil2KHYndiV2I3YcdhR2E3YSdhB2D3YOc7hztnO1c31zfHN6c3lzeHN1c2tzanNpcphyl3KWcpRyknKRcn5yfXJucm1yYHJfcl5yTnJKcklyR3JFckNyQHI/cj5yO3IzcjByKHInciRyIHIfch5yG3IachlyF3ITchJyEHIPcg5yDHH6cflx+HH1cfNx8nHgcd9x1XHTcdBxznHNccxxynHJcchxxXHEccJxwXG9cZlxmHGWcZVxknGPcY1xi3GDcYJxgHF+cX1xfHF6cW9xbnFtcWNxU3FScVBxT3BgcF9wXnBWcElwSHBGcEVwRHBBcEBwPXA6cDFwLnAqcClwHXAZcBRwEXAPcA5wDHALcApwBnAFcARv9G/yb+1v62/ob+dvyW/Hb8Zvw2/Bb8BvvW+7b7pvp2+mb5xvmm+Zb4Jvf293b3Zvbm9sb2pvaG9mb2RvYm9hb2BvXG9bb1lvWG9Xb1VvU29Ob0lvRG9Db0FvQG8+bz1vOm84bzdvNW80bzNvLm8sbytvKm8obydvJm8ibyFvIG8dbxxvG28XbxZvFG8SbwtvCm8JbwFvAG7/bv1u4W7gbt9u0G68brtuqG6nbqVupG6VbnpueG52bnJucW5VblRuOG41bjBramq4aehp5WniaeBp1WnUadNpwmm/abJpsWmvaa5prWmkaaNpommgaZ1pm2maaZVpjWl5aXdpdml0aXJpb2luaW1pa2lqaWZpZWlPaU5pTGlLaUlpSGlGaUVpQWk+aT1pOGk2aTVpMGkvaS1pLGkQaQ9pDmkMaQtpCGkBaP5o/Wj7aPZo9Wj0aPBo72juaOxo62jjaNVo1GjSaNFoz2isaKtoqWioaKZopGijaKFonWicaJpomWiYaItodGhyaHFocGhtaGtoamhpaF9oXmhUaFJoUGhPaE1oDGdyZ25na2cxZzBnLGcqZylnJWckZyNm8mbxZpxmiGaHZoVmgmZ0ZlpmWWVHZUVlQ2VCZUFlPWU8ZS5lIGUUZRJlBmTwZO9k7mTgZN9k3mTQZM9ktmS1ZLRksmSwZK5krWODY4JjgGN9Y3xjd2N2Y3RjcWNtY1RjIGMfYdBhsGGuYa1hrGGqYadho2GOYYBhf2F3YXZhYmFLYUphSWFHYUZhRGE2YTVhNGEwYS5hLWErYSphKWEnYSZhImEfYR1hHGEaYRhhBmEDYPRg8WDvYO5g7GDrYOpg6GDfYNNg0mDIYMZgxGBkYGNgYgHOAa0BqAGZAQAAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgMEBQYHCAkKAQsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2Nzg5Ojs8PT4/QEFCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaW1xdXgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAUAAAAe8C5gADAAcAADcRIRElIREhUAGf/qcBFP7sAALm/RpCAmMAAAAAAQAeAWIByAL4AA4AABMnNyc3FyczBzcXBxcHJ7p5YYQudRmWGXUuhGF5OQFiWFwQj0CDg0CPEFxYeQAAAgBX//oBJwK2AAMADQAAEwMzAwIiJjU0NjIWFRRuF9AXDoYiIoYiASEBlf5r/tkkP0AjI0A/AAACABMB0AGVAvgAAwAHAAATAzMDMwMzAzAdrBxjH64cAdABKP7YASj+2AAAAAIACwAAAksCtgAbAB8AAAEjBzMVIwcjNyMHIzcjNTM3IzUzNzMHMzczBzMHNyMHAktGD1VmFpIVexaSFTlKDlhoFJUUeRSVFDXoDnoPAZlxgaenp6eBcYGcnJyc8nFxAAMAKf92AjEDEwAfACUALAAAJRQGBxUjNSYnNRYXNS4BNTQ2NzUzFRYXFSYnFR4DABQWFzUGExU+ATU0JgIxZHVUnDtLjIJZbm1UbDlIXUVWLhD+oRQeHnIcEhLPYmMIjIoGEqIUBXUVXWRrWAddXQUSmRQEeQwiN0ABBDAXCGgE/uxiBBUWFBYAAAAABQA5//YDEALAAAsADwAbACcAMgAAEyImNTQ2MzIWFRQGAwEzAQMyNjU0JiMiBhUUFgEiJjU0NjMyFhUUBicyNjQmIyIGFRQW0EtMTUpMTU1zAYR1/ntNFxERFxYREQG9S0xNSkxNTUwXEhIXFhERAUNUa2pUVGprVP69Arb9SgGeJz08KSk8PSf+WFRralRUamtUWyh4KSk8PScAAwAK//YCbQLAAB4AJgAvAAAlFSImJwYjIiY1NDY3JjU0NjMyFRQGBxc2NTMUBgcWASIVFBc2NTQDFBYzMjcnDgECbVFQJV5ganU8SzVvZME3QD8RoCApFv75JBssjyUbHydeGBCPjxIhPXFVOF0uSVRHXaE5VCtRJFJQcC8OAa8wFyQdIiz+jh0nFnMRHwAAAQATAdAAvwL4AAMAABMDMwMwHawcAdABKP7YAAEANP84AZ0C+AAKAAAFIyY1NDY3MwYVFAGXwqFRVcOdyO/sg+Z8/+HoAAAAAQAL/zgBdAL4AAoAABcjNjU0JzMWFRQGzsOdl8KhUcj/4ej48umD5gAAAAABABkAGQI/Aj8ACwAAARUjFSM1IzUzNTMVAj/LkcrKkQF1kcvLkcrKAAAAAAEAFf94ASIAuQAHAAAXIz4BNTMUBq6ZIDe2S4g/wUE8zgAAAAEAPgDpAXoBfQADAAA3NSEVPgE86ZSUAAEARf/6ARoA0wAKAAAXIiY1NDYzMhYUBq9JISFJSCMjBiVHSCUmjiUAAAAAAQAz/+IBwgLUAAMAABcBMwEzAQ+A/vEeAvL9DgAAAAACACL/9gI1AsAADwAbAAAEIi4CND4CMh4CFA4BJzI2NTQmIyIGFRQWAW2CXUgkJEhdglxJIyRInTAhITAvIiIKIE+O0o1OICBOjdKOT4JNdndOT3Z1TgAAAQBcAAABwwK2AAYAACURBzU3MxEBBKjUkwACDSGgKv1KAAAAAQAuAAACKALAABgAADc1PgE1NCYjIgc1NjMyFhUUDgIPARUhFS6ufys6TVVXdXyFDClURTABBQCdj34sKyQgmyBkXys6SlI2JgaaAAEAQv/2AhoCwAAnAAAXIic1FjMyNjU0JisBNTMyPgM1NCYjIgc1NjMyFhUUBxUeARUUBuFfQE9BPEJLSTQzHx4rFBA4NUNAQV+BkGc4QZ4KDZ8RHSwnHI8BBw0aFCMXFJYVWGxrJAYNVz1uYgAAAAACABMAAAI1ArYACgAPAAABFSMVIzUhNQEzESEzNSMHAjVGtv7aAQXX/sSGBoABIZ+CgrEBg/5r0swAAAABAEf/9gIlArYAFwAAFyInNRYzMjY0JiMiBxMhFSMHNjMyFRQG7FNKTD0+RjpAQ1gzAYDnESIj3qEKDZ8RIVgfDwGcnmoH2HN0AAAAAgAm//YCNwLAAA4AGAAABSARECEVDgEHMzYzMhUUJTI2NTQjIhUUFgEw/vYBq25yDAQtTdT+8i0zWlgpCgERAbmhAjxBHdvskC8qVVUoMQABADcAAAIRArYABgAANxMhNSEVA23t/t0B2t8AAhiet/4BAAADACL/9AI2AsIAGAAhACsAAAUiJjU0Njc1LgE1NDYzMhYVFAYHFRYVFAYDMjU0IyIVFBYTMjU0JiMiBhUUAS2AizsxLC2Bd3WBMzF3in9SUlQrKV00KSszDGJgSk8WBBVHQV1fYFw+SRYEL4FfYgG2SEJCIib+3kMnKysnQwAAAAIAI//2AjQCwAATAB0AABc1MjY3IwYjIiY1NDYzIBEUDgITMjU0JiMiBhQWiW16CAQpRXFygoUBCihhpilVKykuMzEKoi5CGnNrc4H+3HCYbDIBfVsoNzRWMAAAAgBq//oBPwIjAAoAFQAAEyImNTQ2MzIWFAYDIiY1NDYzMhYUBtRJISFJSCMjSEkhIUlIIyMBSiVHSCUmjiX+sCVHSCUmjiUAAgAm/3gBPwIjAAoAEgAAEyImNTQ2MzIWFAYDIz4BNTMUBtRJISFJSCMjXZkgN7ZLAUolR0glJo4l/i4/wUE8zgAAAAABABn/8QI/AmcABgAAARUNARUlNQI//kEBv/3aAmeRqqqR4LYAAAAAAgAZAFoCPwH/AAMABwAAEzUhFQE1IRUZAib92gImAW6Rkf7skZEAAAEAGf/xAj8CZwAGAAATBRUFNS0BGQIm/doBv/5BAmfgtuCRqqoAAAACACP/+gGvAsQAGAAiAAA3NTQ2Nz4BNTQmIgc1NjMyFhUUBgcOAR0BAiImNTQ2MhYVFHwcJhcPI2o0OF2KbSExLRkKhiIihiL6LS42IhQbGCASDZwPSmg9TCYkIBQR/wAkP0AjI0A/AAIAFP+SAzICvwAzAD4AAAUiJjU0PgEzMh4CFRQGIyInDgEjIiY1NDYzMhYXNxcHBhUUMzI1NCYjIgYVFBYzMjcVBgMyNzY1NCMiBhUUAbzM3Hm/cWGUViptWFQnIDYpREx7RicjCQl9IAkjNHR6eKaSjWtKX4MyEgUnGyxuurWIz2c3XW8/gqNCIiBaS3SMGx0sArIyEC6dbmenl35yFXoaAT1cGxAvTjA4AAAC//0AAAMGArYABwALAAAlJyEHIxMhEwEzJyMCMjD+/DHQ/wEN/f4tm0cMAJKSArb9SgEy2QAAAAMAQgAAAm8CtgAOABcAIAAANxEhMhYVFAYHFRYVFAYjAzMyNjU0JisBETMyNjU0JisBQgEDnnouN3d6mlIlPC0tPCU0PSwsPTQAArZbYjhEDwQmemVlAaUXJSMW/oMZJCUcAAABADD/9gI4AsAAFwAABSIuAjU0NjMyFxUmIyIGFRQWMzI3FQYBjlV4YTCvpmhDSFNMP0FNWkZLCh9MkGrApRmpGlRpbE0ZqRwAAAAAAgBCAAACoQK2AAoAEwAAEyEyHgIVFAYjITczMjY1NCYrAUIBClR0Xy6up/72xzdXOz1VNwK2HEmMar+cqkhpbEkAAAABAEIAAAINArYACwAAJSEVIREhFSMVMxUjAQkBBP41AcX+6emrqwK2rFilAAEAQgAAAgcCtgAJAAABIxUzFSMVIxEhAgf+6enHAcUCCnCq8AK2AAABADD/9gJ/AsAAGwAABSIuAjU0NjMyFxUmIyIGFRQWMzI3NSM1IREGAZJZe2Autq51SVNaVkM2Wh0PZgEdagoeTo5rwKUXrRxUaXFPAWWm/m8gAAABAEIAAAKsArYACwAAATMRIxEjESMRMxUzAeXHx9zHx9wCtv1KAR3+4wK28wAAAAABAEIAAAEJArYAAwAANxEzEULHAAK2/UoAAAAAAf+f/z4BCAK2AA0AAAciJzUWMzI2NREzERQGCy0pHSM6KcaTwgaWBTxBAmT9lYiFAAAAAAEAQgAAArsCtgAMAAABEyMDIxEjETMVMzczAcvw7aobx8cbqOUBdf6LASD+4AK2+voAAAABAEIAAAIKArYABQAAJSEVIREzAQkBAf44x6urArYAAAEAQgAAA1cCtgAPAAA3ESETMxMhESMRIwMjAyMRQgFFRAZNATnDBmPCYAYAArb+pAFc/UoB9/54AYj+CQAAAAABAEIAAALGArYACwAANxEhEzMRMxEhAyMRQgEskAbC/uulBgACtv5NAbP9SgHQ/jAAAAAAAgAw//YCvgLAABAAGgAABCIuAjQ+AjMyHgIUDgEkMjY1NCYiBhUUAcmkclgrK1hzUVJyWCsrWP72jDAwjC8KIE6O0o1PICBPjdKOToRQcXNRUXNxAAAAAAIAQgAAAm8CtgAKABMAADcRITIWFRQGKwEVETMyNjU0JisBQgEOon2BnkcqPzIzPioAArZviJFxvQFbKTY5KgACADD/bwK+AsAAFAAeAAABFAYHFyMnLgM1ND4CMzIeAgUUFjI2NTQmIgYCvk1MfupPTm5VKStYc1FSclgr/kQvjDAwjC8BW4yeH6OHASJPjGdpjU8gIE+NaXFQUHFzUVEAAAAAAgBCAAACqgK2AA0AFgAAJSMnIxUjESEyFhUUBgcDFTMyNjU0JiMCquuPJ8cBGoiFOj/nMD0vLj4A6ekCtm95VGUXASCnJjEvIQAAAAEAMP/2AhcCwAAkAAAXIic1FjMyNjU0JicuATU0NjMyFxUuASMiBhUUFhceAxUUBv1qXlxhPCImPnBMi4VpSxZtKC8qI0JBTSgMgAoXqxoXIhgcDxpWXnVjGZ8IEBcZGBQRESY5PjRtbgAAAAEAFAAAAiUCtgAHAAABFSMRIxEjNQIlpsalArau/fgCCK4AAAEAP//2ArACtgAPAAAFIiY1ETMRFBYzMjURMxEUAXedm8cwQXPGCmqLAcv+QygxWQG9/jX1AAAAAQALAAAC7QK2AAcAADcDMxMzEzMD/fLekgaa0vkAArb+HgHi/UoAAAEADAAAA88CtgAPAAA3AzMTMxMzEzMTMwMjAyMDmo7RTQZQ4kYGUdCb+FEGUwACtv45AY/+cQHH/UoBgP6AAAABAAgAAALUArYADQAANxMDMxczNzMDEyMnIwcI1MfocQZv6sjP73QGeAABYQFV3d3+sf6Z5uYAAAEAAQAAAswCtgAJAAAlEQEzFzM3MwERAQH/AOt3BoHi/v4AAQEBtfj4/lH++QAAAAEAMQAAAnQCtgALAAA3NQE1ITUhFQEVIRUxASr+6AIT/tQBSgCpAVwGq6X+oAarAAEARv84AVsC+AAHAAAXESEVIxEzFUYBFVdXyAPAlv1slgAAAAEABv+eAfAC+AADAAAFATMBAW7+mIMBZ2IDWvymAAAAAQAM/zgBIQL4AAcAABc1MxEjNSERDFdXARXIlgKUlvxAAAAAAQA4AToCIAK2AAYAAAEjCwEjEzMCIJFkYpGYtgE6ARH+7wF8AAAAAAEAAP8rAfT/nwADAAAXNSEVAAH01XR0AAEAQwJfAWMC7QADAAATJzMX6KW/YQJfjo4AAAACAB7/9gIuAiUAFgAgAAABMhYVESMnBiMiJjU0NjsBLgEjIgc1NhMyNzUjIgYVFBYBJo17rA8keVhgbHhvAic9OzQ1QUQbTC0iHQIlV1/+kTI8UlVcTigXCZ8J/l4iKhEYFA8AAgA8//YCZAL4ABEAGwAAATIWFRQOAiMiJicHIxEzETYCMjY1NCYiBhUUAZN4WRItVD5ISA8Jr74rEGwjI2wmAiaJj0BfUCkkJD4C+P73N/5aRkhKRkRMSQAAAAABACL/9gHLAiYAFAAABSImEDYzMhcVJiMiBhUUFjMyNxUGATqOioqOWTEvOj08O0I9LzIKegE8eg+aEThISTUSlxUAAAIAIv/2AkoC+AARABsAAAEzESMnDgEjIiY1ND4CMzIXAjI2NTQmIgYVFAGOvK8LEUZFeVkSLVU+eSGJbCYnaiQC+P0IQSUmiY9AX08qQP6aQkxISElHSgACACL/9gIxAiYAEwAaAAABFAcFFjMyNjcVDgEjIiYQNjMyFgU3NCYjIgYCMQb+tA9sNW4ZGntNiYmLkItp/q2rISoyKwExRRAUQhgPjBIZegE8enRpDSIjIgAAAAEACwAAAYUC/AAXAAABIgYdATMVIxEjESM1MzU0PgIzMhcVJgFnNRxaWr1OTh9DTzsdIw8CeCI4ApL+dgGKkgVEWS4QBYMEAAIAIv84Ak8CJgAZACcAAAEzERQOAiMiJzUWMzI2PQEGIiY1EDMyFhcDMjY1NCYjIg4CFRQWAZO8H0iBXlhTSk1ZRSHyXtdERhBYPyIiPxwlEQckAhz+ETpWQyINkxMsPw4+jYYBExse/pZBT0tAFiosH0VLAAAAAAEAOwAAAlEC+AARAAABMhYVESMRNCYjIgcRIxEzETYBoF9Svh8uQQy+viwCJlZj/pMBQjEdMv6iAvj+6kQAAAACAC8AAAD9AxMACgAOAAASIiY1NDYzMhYVFAMRMxHZhiQkQ0Qjxr4CVCBBQB4eQEH9jAIc/eQAAAL/2P84AP0DEwAKABgAABIiJjU0NjMyFhUUAyInNRYzMjY1ETMRFAbZhiQkQ0Qj5SAgCxUnGL5tAlQgQUAeHkBB/MQFiAMbJAIb/eJ0UgAAAQA7AAACXgL4AAwAAAETIycjFSMRMxEzNzMBtKrjbBa+viBp1gEg/uDV1QL4/m62AAAAAAEAOf/6ATUC+AANAAAXIiY1ETMRFBYzMjcVBvJrTr4SFw4HIQZKVgJe/c8iGAKPBgAAAAABADsAAAOHAiYAHwAAATIWFREjETQmIyIGBxEjETQmIyIGBxEjETMVNjMyFzYCz11bvh4kJR8GviAjIh0Evr4pbXEmKQImW3D+pQFCMB4eIP6uAUIvHxkY/qECHDdBQkIAAAAAAQA7AAACUQImABEAAAEyFhURIxE0JiMiBxEjETMVNgGgX1K+Hy5ADb6+LwImVmP+kwFCMR0s/pwCHDdBAAAAAAIAIv/2AkoCJgAHAA8AAAQgJhA2IBYQJDI2NCYiBhQBwf7qiYkBFon+vGAkJGAkCnoBPHp6/sQQPKQ+PqQAAAACADz/OAJkAiYAEAAaAAABMhYVFA4CIyInFSMRMxU2AjI2NTQmIgYVFAGTeFkSLVQ+diO+visQbCMjbCYCJomPQF9QKT37AuQtN/5aRkhKRkRMSQACACL/OAJKAiYAEAAaAAABMxEjEQYjIiY1ND4CMzIXAjI2NTQmIgYVFAGMvr4kdHlZEi1VPnYih2wmJ2okAhz9HAEAQomPQF9PKjz+lkJMSEhJR0oAAAAAAQA8AAABlgImAA0AAAEzByMiBgcRIxEzFT4BAYsLBA82TQa+vhZGAiapLzT+5gIcXjwsAAEAKv/6AcgCJgAiAAAXIic1FjMyNjQmJy4BNTQ2MzIXByYjIgYVFBYXFhceARUUBuFlUl5MJRkgOlM3Z4JqNAZJRygXFSQaEFIzcwYRnBwMKhIPFj1FWVMSjRQMEAwKCgYFF0JLZVEAAQAL//oBaQKcABUAAAEjFRQWMzI3FQYjIiY9ASM1MzUzFTMBaWAUHhkGIyptVUBAvmABisYjFgKOBU9p2JKAgAAAAAABADj/9gJJAhwAEQAAATMRIycGIyImNREzERQWMzI3AYy9rwwvc2BUvh8tOw8CHP3kNkBXYAFv/r4vHywAAAAAAQABAAACawIcAAcAADcDMxMzEzMDv77ZWQZlzcIAAhz+rQFT/eQAAAEADQAAA4MCHAAPAAA3AzMTMxMzEzMTMwMjAyMDn5LOPgZC0z8GP8uT7jgGNgACHP6qAVb+qgFW/eQBOP7IAAABAAUAAAKHAhwADQAANxMDMxczNzMDEyMnIwcFvLDiUQZT4LC65VgGWwABFQEHk5P++f7rnp4AAAEAAf84AmsCHAAPAAAXNTI2NwMzEzMTMwMOA1FAOAbO1GQGXNCrIj1YZMilFBYCFf6vAVH+LltoPRIAAAEANgAAAhcCHAALAAA3NTc1IzUhFQcVMxU23M0BuuX9AKTbBpea4waZAAAAAQAU/zgBdwL4AB4AAAUVIiY9ATQmIzUyNj0BNDYzFSIGHQEUBgceAR0BFBYBd5GGIykpI4eQOx5ER0dEIEt9aHV1Mx19HDN1dWh9Iz11Rz4JCT5HdT8hAAEAMv84AM0C+AADAAAXETMRMpvIA8D8QAAAAAABAAz/OAFvAvgAHgAAFzUyNj0BNDY3LgE9ATQmIzUyFh0BFBYzFSIGHQEUBgw7HkRHR0QgOZGGIykpI4fIfSM9dUc+CQk+R3U/IX1odXUzHX0cM3V1aAAAAQAbAL8CPQGZABUAACUiJicmIyIHJz4BMzIXHgEzMjcXDgEBmChBKikcGwWFBldIRU4bGREbBYUGV78ZHh1MC1tsNxILTAtbbAAAAAEAAAABAACzZI5sXw889QALA+gAAAAA33LvLQAAAADfIu0w/5//KwPPAxMAAAAIAAIAAAAAAAAAAQAABJL+ogBaA9z/n//pA88AAQAAAAAAAAAAAAAAAAAAAF8CPwBQAeYAHgF/AFcBqAATAlgACwJaACkDSAA5AoAACgDSABMBqAA0AagACwJYABkBXgAVAbgAPgFeAEUB9QAzAloAIgJZAFwCWQAuAlkAQgJZABMCWQBHAlkAJgJZADcCWQAiAlkAIwGoAGoBqAAmAlgAGQJYABkCWAAZAc8AIwNSABQDAf/9Ap0AQgJeADAC1ABCAjcAQgIlAEICuwAwAu4AQgFLAEIBRv+fArMAQgIgAEIDmQBCAwgAQgLuADAClQBCAu4AMAKlAEICSwAwAjgAFALwAD8C+AALA9wADALdAAgCzQABApsAMQFnAEYB9gAGAWcADAJYADgB9AAAAfQAQwJvAB4ChgA8AfQAIgKGACICUAAiAW4ACwKLACICigA7ASwALwEs/9gCYAA7AT0AOQO/ADsCigA7AmwAIgKGADwChgAiAaIAPAHyACoBdQALAoUAOAJsAAEDjwANAowABQJsAAECRQA2AYMAFAD/ADIBgwAMAlgAGwAAABYANABQAGYAlgDcASoBcgGAAZYBrAHCAdQB4AH2AgYCMgJEAmoCogLAAuYDDgMgA2ADjgOyA9QD6AP8BBAERASaBLYE6AUOBTAFRgVaBYQFnAWqBcQF3gXuBg4GKAZUBnQGpgbMBwIHFAcwB0QHZAeAB5gHsAfCB9IH5Af4CAQIEghECHIIlAjACO4JEglOCW4JigmyCcwJ5goYCjgKWAqCCq4KyAr8Cx4LPgtSC3ILjgusC8IL7gv8DCgMTgABAAAAXwA/AAUAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAACABmAAEAAAAAAAIABwAAAAEAAAAAAAMALAAHAAEAAAAAAAUACwAzAAEAAAAAAAYADwA+AAMAAQQJAAIADgBNAAMAAQQJAAMAWABbAAMAAQQJAAUAFgCzAAMAAQQJAAYAHgDJUmVndWxhckZvbnRGb3JnZSAyLjAgOiBBbGliYWJhUHVIdWlUaUggOiAxNy0xMC0yMDIyVmVyc2lvbiAxLjBBbGliYWJhUHVIdWlUaUgAUgBlAGcAdQBsAGEAcgBGAG8AbgB0AEYAbwByAGcAZQAgADIALgAwACAAOgAgAEEAbABpAGIAYQBiAGEAUAB1AEgAdQBpAFQAaQBIACAAOgAgADEANwAtADEAMAAtADIAMAAyADIAVgBlAHIAcwBpAG8AbgAgADEALgAwAEEAbABpAGIAYQBiAGEAUAB1AEgAdQBpAFQAaQBIAAAAAAIAAAAAAAD/tQAyAAAAAAAAAAAAAAAAAAAAAAAAAF8AXwAAAA0ABAAFAAYABwAIAAkACgALAAwADgAPABAAEQASABMAFAAVABYAFwAYABkAGgAbABwAHQAeAB8AIAAhACIAIwAkACUAJgAnACgAKQAqACsALAAtAC4ALwAwADEAMgAzADQANQA2ADcAOAA5ADoAOwA8AD0APgA/AEAAQQBCAEMARABFAEYARwBIAEkASgBLAEwATQBOAE8AUABRAFIAUwBUAFUAVgBXAFgAWQBaAFsAXABdAF4AXwBgAGE=)}.dumi-default-hero-title{margin:0 0 32px;display:inline-block;font-family:Alibaba-PuHuiTi,Gill Sans,Gill Sans MT,Calibri,Trebuchet MS,sans-serif;color:#83cdf8;font-size:180px;line-height:1}.dumi-default-hero-title>span{color:transparent;text-shadow:0 10px 20px rgba(22,119,255,.15);background:linear-gradient(30deg,#90d5ff 30%,#65a5ff);-webkit-background-clip:text;background-clip:text}@media only screen and (max-width: 767px){.dumi-default-hero-title{font-size:60px}}[data-prefers-color=dark] .dumi-default-hero-title{opacity:.7}.dumi-default-hero{position:relative;margin:-96px auto -160px;max-width:1392px;height:932px;padding-top:220px;text-align:center;box-sizing:border-box}@media only screen and (max-width: 767px){.dumi-default-hero{margin-top:-72px;padding-top:160px;height:660px}}.dumi-default-hero+*{position:relative}.dumi-default-hero:before{content:\"\";position:absolute;display:block;top:0;left:0;right:0;bottom:0;opacity:.8;pointer-events:none;background:no-repeat center / cover;background-image:url(https://gw.alipayobjects.com/zos/bmw-prod/a6c3488a-994c-4dd3-8e92-2324d9a1ca48/l9dmd9wl_w2858_h1864.png)}[data-prefers-color=dark] .dumi-default-hero:before{opacity:1}.dumi-default-hero>p{margin:32px;color:#4f5866;font-size:20px;line-height:1.6}[data-prefers-color=dark] .dumi-default-hero>p{color:#8590a0}@media only screen and (max-width: 767px){.dumi-default-hero>p{font-size:16px}}.dumi-default-hero-actions{margin-top:48px;display:flex;justify-content:center}.dumi-default-hero-actions>a{display:inline-block;height:52px;font-size:18px;line-height:52px;text-decoration:none;min-width:168px;border-radius:26px;box-sizing:border-box;transition:opacity .2s}@media only screen and (max-width: 767px){.dumi-default-hero-actions>a{font-size:16px;height:42px;line-height:40px;min-width:128px}}.dumi-default-hero-actions>a:hover{opacity:.8}.dumi-default-hero-actions>a:not(:first-child){margin-inline-start:48px;color:#1677ff;border:1px solid #1677ff}[data-prefers-color=dark] .dumi-default-hero-actions>a:not(:first-child){color:#0053c8;border-color:#0053c8}.dumi-default-hero-actions>a:first-child{color:#fff;background-color:#1677ff}[data-prefers-color=dark] .dumi-default-hero-actions>a:first-child{background-color:#0053c8}.dumi-default-toc{list-style:none;margin:12px 0 0;padding:4px 0;border-inline-start:1px solid #d0d5d8}[data-prefers-color=dark] .dumi-default-toc{border-inline-start-color:#1c2022}.dumi-default-toc:empty{display:none}.dumi-default-toc>li>a{display:block;margin:6px 0;padding:3px 12px;color:#4f5866;font-size:13px;line-height:1;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}[data-prefers-color=dark] .dumi-default-toc>li>a{color:#8590a0}.dumi-default-toc>li>a:hover{color:#30363f}[data-prefers-color=dark] .dumi-default-toc>li>a:hover{color:#c6c9cd}.dumi-default-toc>li>a.active{margin-inline-start:-1px;color:#30363f;border-inline-start:1px solid #1677ff}[data-prefers-color=dark] .dumi-default-toc>li>a.active{color:#c6c9cd;border-inline-start-color:#0053c8}.dumi-default-toc>li[data-depth=\"3\"]>a{padding-inline-start:20px}.dumi-default-sidebar{position:sticky;top:76px;width:184px;max-height:calc(100vh - 76px);padding-top:20px;padding-bottom:24px;padding-inline-start:8px;padding-inline-end:32px;box-sizing:border-box;overflow:auto}@media only screen and (max-width: 767px){.dumi-default-sidebar{position:fixed;z-index:20;top:0;left:0;bottom:0;max-height:initial;padding-inline-start:32px;background-color:#f7f9fb;border-top:1px solid #e4e9ec;box-shadow:0 0 20px #0000001a;transition:.2s all}[data-prefers-color=dark] .dumi-default-sidebar{background-color:#050709;border-top-color:#2a353c}.dumi-default-doc-layout:not([data-mobile-sidebar-active]) .dumi-default-sidebar{opacity:0;visibility:hidden;transform:translate(-100%)}}.dumi-default-sidebar>dl{margin:0;padding:0;line-height:1}.dumi-default-sidebar>dl>dt{margin:8px 0;color:#30363f;font-size:14px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase}[data-prefers-color=dark] .dumi-default-sidebar>dl>dt{color:#c6c9cd}.dumi-default-sidebar>dl>dd{margin:0;padding:8px 0}.dumi-default-sidebar>dl>dd>a{display:block;color:#4f5866;font-size:16px;line-height:20px;text-decoration:none;transition:all .3s;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}[data-prefers-color=dark] .dumi-default-sidebar>dl>dd>a{color:#8590a0}.dumi-default-sidebar>dl>dd>a:hover{color:#1677ff}[data-prefers-color=dark] .dumi-default-sidebar>dl>dd>a:hover{color:#0053c8}.dumi-default-sidebar>dl>dd>a.active{color:#1677ff;font-weight:700}[data-prefers-color=dark] .dumi-default-sidebar>dl>dd>a.active{color:#0053c8}.dumi-default-sidebar>dl+dl{margin-top:16px;padding-top:16px;border-top:1px solid #d0d5d8}[data-prefers-color=dark] .dumi-default-sidebar>dl+dl{border-top-color:#1c2022}[data-prefers-color=dark]{color-scheme:dark}body{margin:0;padding:0;background-color:#f7f9fb}[data-prefers-color=dark] body{background-color:#050709}.dumi-default-doc-layout{font-family:sans-serif;background-color:#f7f9fb}[data-prefers-color=dark] .dumi-default-doc-layout{background-color:#050709}@media only screen and (max-width: 767px){.dumi-default-doc-layout:before{content:\"\";position:fixed;z-index:11;top:0;right:0;left:0;bottom:0;background-color:#00000080;transition:all .1s}.dumi-default-doc-layout:not([data-mobile-sidebar-active]):before{opacity:0;visibility:hidden}}.dumi-default-doc-layout-mobile-bar{position:sticky;z-index:9;top:52px;left:0;right:0;display:none;align-items:center;padding:0 24px;height:36px;border-top:1px solid #e4e9ec;background-color:#f7f9fbe6;backdrop-filter:blur(6px)}[data-prefers-color=dark] .dumi-default-doc-layout-mobile-bar{border-top-color:#2a353c;background-color:#050709}@media only screen and (max-width: 767px){.dumi-default-doc-layout-mobile-bar{display:flex}}.dumi-default-doc-layout-mobile-bar .dumi-default-sidebar-btn{padding:0;color:#4f5866;border:0;background-color:transparent}[data-prefers-color=dark] .dumi-default-doc-layout-mobile-bar .dumi-default-sidebar-btn{color:#8590a0}.dumi-default-doc-layout-mobile-bar .dumi-default-sidebar-btn>svg{width:16px;margin-right:6px;fill:#4f5866;vertical-align:middle}[data-prefers-color=dark] .dumi-default-doc-layout-mobile-bar .dumi-default-sidebar-btn>svg{fill:#8590a0}.dumi-default-doc-layout>main{display:flex;align-items:flex-start;margin:0 auto;padding:0 24px;max-width:1392px;box-sizing:border-box}.dumi-default-doc-layout>main>section{flex:1 1;max-width:100%}.dumi-default-doc-layout>main>.dumi-default-doc-layout-toc-wrapper{position:sticky;top:106px;width:184px;margin-inline-start:24px;max-height:80vh;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}@media only screen and (max-width: 767px){.dumi-default-doc-layout>main>.dumi-default-doc-layout-toc-wrapper{display:none}}.dumi-default-doc-layout>main>.dumi-default-doc-layout-toc-wrapper>h4{margin:0 0 8px;color:#8a9099;font-size:13px;line-height:1}[data-prefers-color=dark] .dumi-default-doc-layout>main>.dumi-default-doc-layout-toc-wrapper>h4{color:#616d7f}\n"
  },
  {
    "path": "docker/public/558.b2514152.async.js",
    "content": "(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[558],{87056:function(M,N,a){\"use strict\";a.r(N),a.d(N,{default:function(){return T}});var e=a(50959),f=Object.defineProperty,g=Object.getOwnPropertySymbols,j=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,E=(s,l,i)=>l in s?f(s,l,{enumerable:!0,configurable:!0,writable:!0,value:i}):s[l]=i,S=(s,l)=>{for(var i in l||(l={}))j.call(l,i)&&E(s,i,l[i]);if(g)for(var i of g(l))d.call(l,i)&&E(s,i,l[i]);return s};const z=s=>e.createElement(\"svg\",S({viewBox:\"64 64 896 896\"},s),e.createElement(\"path\",{d:\"M120 230h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 424h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm784 140H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-424H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z\"}));var O=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNMTIwIDIzMGg0OTZjNC40IDAgOC0zLjYgOC04di01NmMwLTQuNC0zLjYtOC04LThIMTIwYy00LjQgMC04IDMuNi04IDh2NTZjMCA0LjQgMy42IDggOCA4em0wIDQyNGg0OTZjNC40IDAgOC0zLjYgOC04di01NmMwLTQuNC0zLjYtOC04LThIMTIwYy00LjQgMC04IDMuNi04IDh2NTZjMCA0LjQgMy42IDggOCA4em03ODQgMTQwSDEyMGMtNC40IDAtOCAzLjYtOCA4djU2YzAgNC40IDMuNiA4IDggOGg3ODRjNC40IDAgOC0zLjYgOC04di01NmMwLTQuNC0zLjYtOC04LTh6bTAtNDI0SDEyMGMtNC40IDAtOCAzLjYtOCA4djU2YzAgNC40IDMuNiA4IDggOGg3ODRjNC40IDAgOC0zLjYgOC04di01NmMwLTQuNC0zLjYtOC04LTh6Ii8+PC9zdmc+\",C=function(s,l,i,m){function Y(y){return y instanceof i?y:new i(function(U){U(y)})}return new(i||(i=Promise))(function(y,U){function X(b){try{oe(m.next(b))}catch(q){U(q)}}function ae(b){try{oe(m.throw(b))}catch(q){U(q)}}function oe(b){b.done?y(b.value):Y(b.value).then(X,ae)}oe((m=m.apply(s,l||[])).next())})};function w(s){let l=0,i=0,m=s;do l+=m.offsetTop||0,i+=m.offsetLeft||0,m=m.offsetParent;while(m);return{top:l,left:i}}class K{constructor(l){this.element=l}getHorizontalScroll(){return this.element.scrollLeft}getVerticalScroll(){return this.element.scrollTop}getMaxHorizontalScroll(){return this.element.scrollWidth-this.element.clientWidth}getMaxVerticalScroll(){return this.element.scrollHeight-this.element.clientHeight}getHorizontalElementScrollOffset(l,i){return w(l).left-w(i).left}getVerticalElementScrollOffset(l,i){return w(l).top-w(i).top}scrollTo(l,i){this.element.scrollLeft=l,this.element.scrollTop=i}}class V{constructor(){this.element=window}getHorizontalScroll(){return window.scrollX||document.documentElement.scrollLeft}getVerticalScroll(){return window.scrollY||document.documentElement.scrollTop}getMaxHorizontalScroll(){return Math.max(document.body.scrollWidth,document.documentElement.scrollWidth,document.body.offsetWidth,document.documentElement.offsetWidth,document.body.clientWidth,document.documentElement.clientWidth)-window.innerWidth}getMaxVerticalScroll(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)-window.innerHeight}getHorizontalElementScrollOffset(l){return(window.scrollX||document.documentElement.scrollLeft)+l.getBoundingClientRect().left}getVerticalElementScrollOffset(l){return(window.scrollY||document.documentElement.scrollTop)+l.getBoundingClientRect().top}scrollTo(l,i){window.scrollTo(l,i)}}const I={elements:[],cancelMethods:[],add:(s,l)=>{I.elements.push(s),I.cancelMethods.push(l)},remove:(s,l)=>{const i=I.elements.indexOf(s);i>-1&&(l&&I.cancelMethods[i](),I.elements.splice(i,1),I.cancelMethods.splice(i,1))}},v=typeof window!=\"undefined\",h={cancelOnUserAction:!0,easing:s=>--s*s*s+1,elementToScroll:v?window:null,horizontalOffset:0,maxDuration:3e3,minDuration:250,speed:500,verticalOffset:0};function D(s,l={}){return C(this,void 0,void 0,function*(){if(v){if(!window.Promise)throw\"Browser doesn't support Promises, and animated-scroll-to depends on it, please provide a polyfill.\"}else return new Promise(ye=>{ye(!1)});let i,m,Y,y=Object.assign(Object.assign({},h),l);const U=y.elementToScroll===window,X=!!y.elementToScroll.nodeName;if(!U&&!X)throw\"Element to scroll needs to be either window or DOM element.\";const ae=U?document.documentElement:y.elementToScroll;getComputedStyle(ae).getPropertyValue(\"scroll-behavior\")===\"smooth\"&&console.warn(`${ae.tagName} has \"scroll-behavior: smooth\" which can mess up with animated-scroll-to's animations`);const b=U?new V:new K(y.elementToScroll);if(s instanceof Element){if(Y=s,X&&(!y.elementToScroll.contains(Y)||y.elementToScroll.isSameNode(Y)))throw\"options.elementToScroll has to be a parent of scrollToElement\";i=b.getHorizontalElementScrollOffset(Y,y.elementToScroll),m=b.getVerticalElementScrollOffset(Y,y.elementToScroll)}else if(typeof s==\"number\")i=b.getHorizontalScroll(),m=s;else if(Array.isArray(s)&&s.length===2)i=s[0]===null?b.getHorizontalScroll():s[0],m=s[1]===null?b.getVerticalScroll():s[1];else throw`Wrong function signature. Check documentation.\nAvailable method signatures are:\n  animateScrollTo(y:number, options)\n  animateScrollTo([x:number | null, y:number | null], options)\n  animateScrollTo(scrollToElement:Element, options)`;i+=y.horizontalOffset,m+=y.verticalOffset;const q=b.getMaxHorizontalScroll(),se=b.getHorizontalScroll();i>q&&(i=q);const Q=i-se,_=b.getMaxVerticalScroll(),k=b.getVerticalScroll();m>_&&(m=_);const J=m-k,ue=Math.abs(Math.round(Q/1e3*y.speed)),Me=Math.abs(Math.round(J/1e3*y.speed));let fe=ue>Me?ue:Me;return fe<y.minDuration?fe=y.minDuration:fe>y.maxDuration&&(fe=y.maxDuration),new Promise((ye,Ce)=>{Q===0&&J===0&&ye(!0),I.remove(b.element,!0);let Ie;const Qe=()=>{o(),cancelAnimationFrame(Ie),ye(!1)};I.add(b.element,Qe);const be=x=>x.preventDefault(),we=y.cancelOnUserAction?Qe:be,Ye=y.cancelOnUserAction?{passive:!0}:{passive:!1},ke=[\"wheel\",\"touchstart\",\"keydown\",\"mousedown\"],o=()=>{ke.forEach(x=>{b.element.removeEventListener(x,we,Ye)})};ke.forEach(x=>{b.element.addEventListener(x,we,Ye)});const u=Date.now(),c=()=>{var x=Date.now()-u,Z=x/fe;const W=Math.round(se+Q*y.easing(Z)),F=Math.round(k+J*y.easing(Z));x<fe&&(W!==i||F!==m)?(b.scrollTo(W,F),Ie=requestAnimationFrame(c)):(b.scrollTo(i,m),cancelAnimationFrame(Ie),o(),I.remove(b.element,!1),ye(!0))};Ie=requestAnimationFrame(c)})})}var H=D,B=a(81229),$=a(88459),A=a(25e3),p=a(94995),L=a(98428),P=a(4291),R=a(99711),G=a(86064);function te(s,l){return De(s)||Le(s,l)||ce(s,l)||re()}function re(){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 ce(s,l){if(s){if(typeof s==\"string\")return me(s,l);var i=Object.prototype.toString.call(s).slice(8,-1);if(i===\"Object\"&&s.constructor&&(i=s.constructor.name),i===\"Map\"||i===\"Set\")return Array.from(s);if(i===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return me(s,l)}}function me(s,l){(l==null||l>s.length)&&(l=s.length);for(var i=0,m=new Array(l);i<l;i++)m[i]=s[i];return m}function Le(s,l){var i=s==null?null:typeof Symbol!=\"undefined\"&&s[Symbol.iterator]||s[\"@@iterator\"];if(i!=null){var m=[],Y=!0,y=!1,U,X;try{for(i=i.call(s);!(Y=(U=i.next()).done)&&(m.push(U.value),!(l&&m.length===l));Y=!0);}catch(ae){y=!0,X=ae}finally{try{!Y&&i.return!=null&&i.return()}finally{if(y)throw X}}return m}}function De(s){if(Array.isArray(s))return s}var Oe=function(){var l=(0,B.YB)(),i=(0,B.pC)(),m=(0,B.tx)(),Y=(0,B.TH)(),y=Y.hash,U=(0,B.WF)(),X=U.loading,ae=(0,e.useState)(!1),oe=te(ae,2),b=oe[0],q=oe[1],se=(0,B.eL)(),Q=se.frontmatter,_=Q.sidebar!==!1&&(m==null?void 0:m.length)>0;return(0,e.useEffect)(function(){var k=y.replace(\"#\",\"\");k&&setTimeout(function(){var J=document.getElementById(decodeURIComponent(k));J&&H(J.offsetTop-80,{maxDuration:300})},1)},[X,y]),e.createElement(\"div\",{className:\"dumi-default-doc-layout\",\"data-mobile-sidebar-active\":b||void 0,onClick:function(){return q(!1)}},e.createElement(B.ql,null,e.createElement(\"html\",{lang:l.locale.replace(/-.+$/,\"\")}),Q.title&&e.createElement(\"title\",null,Q.title),Q.title&&e.createElement(\"meta\",{property:\"og:title\",content:Q.title}),Q.description&&e.createElement(\"meta\",{name:\"description\",content:Q.description}),Q.description&&e.createElement(\"meta\",{property:\"og:description\",content:Q.description}),Q.keywords&&e.createElement(\"meta\",{name:\"keywords\",content:Q.keywords.join(\",\")}),Q.keywords&&e.createElement(\"meta\",{property:\"og:keywords\",content:Q.keywords.join(\",\")})),e.createElement(L.Z,null),e.createElement(P.Z,null),e.createElement(A.Z,null),_&&e.createElement(\"div\",{className:\"dumi-default-doc-layout-mobile-bar\"},e.createElement(\"button\",{type:\"button\",className:\"dumi-default-sidebar-btn\",onClick:function(J){J.stopPropagation(),q(function(ue){return!ue})}},e.createElement(z,null),l.formatMessage({id:\"layout.sidebar.btn\"}))),e.createElement(\"main\",null,_&&e.createElement(R.Z,null),e.createElement($.Z,null,i,e.createElement(p.Z,null)),Q.toc===\"content\"&&e.createElement(\"div\",{className:\"dumi-default-doc-layout-toc-wrapper\"},e.createElement(\"h4\",null,\"TABLE OF CONTENTS\"),e.createElement(G.Z,null))))},T=Oe},8338:function(M,N,a){\"use strict\";a.d(N,{Z:function(){return I}});var e=a(81229),f=a(50959);function g(v,h){return z(v)||S(v,h)||d(v,h)||j()}function j(){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 d(v,h){if(v){if(typeof v==\"string\")return E(v,h);var D=Object.prototype.toString.call(v).slice(8,-1);if(D===\"Object\"&&v.constructor&&(D=v.constructor.name),D===\"Map\"||D===\"Set\")return Array.from(v);if(D===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return E(v,h)}}function E(v,h){(h==null||h>v.length)&&(h=v.length);for(var D=0,H=new Array(h);D<h;D++)H[D]=v[D];return H}function S(v,h){var D=v==null?null:typeof Symbol!=\"undefined\"&&v[Symbol.iterator]||v[\"@@iterator\"];if(D!=null){var H=[],B=!0,$=!1,A,p;try{for(D=D.call(v);!(B=(A=D.next()).done)&&(H.push(A.value),!(h&&H.length===h));B=!0);}catch(L){$=!0,p=L}finally{try{!B&&D.return!=null&&D.return()}finally{if($)throw p}}return H}}function z(v){if(Array.isArray(v))return v}var O=function(){return f.createElement(\"svg\",{viewBox:\"0 0 16 16\"},f.createElement(\"path\",{d:\"M8.218 1.455c3.527.109 6.327 3.018 6.327 6.545 0 3.6-2.945 6.545-6.545 6.545a6.562 6.562 0 0 1-6.036-4h.218c3.6 0 6.545-2.945 6.545-6.545 0-.91-.182-1.745-.509-2.545m0-1.455c-.473 0-.909.218-1.2.618-.29.4-.327.946-.145 1.382.254.655.4 1.31.4 2 0 2.8-2.291 5.09-5.091 5.09h-.218c-.473 0-.91.22-1.2.62-.291.4-.328.945-.146 1.38C1.891 14.074 4.764 16 8 16c4.4 0 8-3.6 8-8a7.972 7.972 0 0 0-7.745-8h-.037Z\"}))},C=function(){return f.createElement(\"svg\",{viewBox:\"0 0 16 16\"},f.createElement(\"path\",{d:\"M8 13a1 1 0 0 1 1 1v1a1 1 0 1 1-2 0v-1a1 1 0 0 1 1-1ZM8 3a1 1 0 0 1-1-1V1a1 1 0 1 1 2 0v1a1 1 0 0 1-1 1Zm7 4a1 1 0 1 1 0 2h-1a1 1 0 1 1 0-2h1ZM3 8a1 1 0 0 1-1 1H1a1 1 0 1 1 0-2h1a1 1 0 0 1 1 1Zm9.95 3.536.707.707a1 1 0 0 1-1.414 1.414l-.707-.707a1 1 0 0 1 1.414-1.414Zm-9.9-7.072-.707-.707a1 1 0 0 1 1.414-1.414l.707.707A1 1 0 0 1 3.05 4.464Zm9.9 0a1 1 0 0 1-1.414-1.414l.707-.707a1 1 0 0 1 1.414 1.414l-.707.707Zm-9.9 7.072a1 1 0 0 1 1.414 1.414l-.707.707a1 1 0 0 1-1.414-1.414l.707-.707ZM8 4a4 4 0 1 0 0 8 4 4 0 0 0 0-8Zm0 6.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5Z\"}))},w=function(){return f.createElement(\"svg\",{viewBox:\"0 0 16 16\"},f.createElement(\"path\",{d:\"M14.595 8a6.595 6.595 0 1 1-13.19 0 6.595 6.595 0 0 1 13.19 0ZM8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0Zm0 2.014v11.972A5.986 5.986 0 0 0 8 2.014Z\"}))},K={light:C,dark:O,auto:w},V=function(){var h=(0,e.WF)(),D=h.themeConfig.prefersColor.default,H=(0,e.YB)(),B=(0,e.OI)(),$=g(B,3),A=$[1],p=A===void 0?D:A,L=$[2],P=K[p];return f.createElement(\"span\",{className:\"dumi-default-color-switch\",\"data-dumi-tooltip\":H.formatMessage({id:\"header.color.mode.\".concat(p)}),\"data-dumi-tooltip-bottom\":!0},P&&f.createElement(P,null),f.createElement(\"select\",{onChange:function(G){return L(G.target.value)},value:p},[\"light\",\"dark\",\"auto\"].map(function(R){return f.createElement(\"option\",{value:R,key:R},H.formatMessage({id:\"header.color.mode.\".concat(R)}))})))},I=V},90697:function(M,N,a){\"use strict\";a.d(N,{Z:function(){return j}});var e=a(81229),f=a(50959),g=function(E){var S=(0,e.tx)(),z=(0,e.WF)(),O=z.themeConfig;return f.createElement(\"div\",{className:\"dumi-default-content\",\"data-no-sidebar\":!S||void 0,\"data-no-footer\":O.footer===!1||void 0},E.children)},j=g},50557:function(M,N,a){\"use strict\";a.d(N,{Z:function(){return j}});var e=a(81229),f=a(50959),g=function(){var E,S=(0,e.eL)(),z=S.frontmatter;return Boolean((E=z.features)===null||E===void 0?void 0:E.length)?f.createElement(\"div\",{className:\"dumi-default-features\",\"data-cols\":[3,2].find(function(O){return z.features.length%O===0})||3},z.features.map(function(O){var C=O.title,w=O.description,K=O.emoji,V=O.link,I;return V&&(I=/^(\\w+:)\\/\\/|^(mailto|tel):/.test(V)?f.createElement(\"a\",{href:V,target:\"_blank\",rel:\"noreferrer\"},C):f.createElement(e.rU,{to:V},C)),f.createElement(\"div\",{key:C,className:\"dumi-default-features-item\"},K&&f.createElement(\"i\",null,K),C&&f.createElement(\"h3\",null,I||C),w&&f.createElement(\"p\",{dangerouslySetInnerHTML:{__html:w}}))})):null},j=g},44191:function(M,N,a){\"use strict\";a.d(N,{Z:function(){return j}});var e=a(81229),f=a(50959),g=function(){var E=(0,e.WF)(),S=E.themeConfig;return S.footer?f.createElement(\"div\",{className:\"dumi-default-footer\",dangerouslySetInnerHTML:{__html:S.footer}}):null},j=g},98862:function(M,N,a){\"use strict\";a.d(N,{Z:function(){return ut}});var e=a(50959),f=function(){return e.createElement(e.Fragment,null)},g=f,j=Object.defineProperty,d=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,z=(n,t,r)=>t in n?j(n,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[t]=r,O=(n,t)=>{for(var r in t||(t={}))E.call(t,r)&&z(n,r,t[r]);if(d)for(var r of d(t))S.call(t,r)&&z(n,r,t[r]);return n};const C=n=>e.createElement(\"svg\",O({viewBox:\"64 64 896 896\"},n),e.createElement(\"path\",{d:\"m563.8 512 262.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 0 0 203 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\"}));var w=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJtNTYzLjggNTEyIDI2Mi41LTMxMi45YzQuNC01LjIuNy0xMy4xLTYuMS0xMy4xaC03OS44Yy00LjcgMC05LjIgMi4xLTEyLjMgNS43TDUxMS42IDQ0OS44IDI5NS4xIDE5MS43Yy0zLTMuNi03LjUtNS43LTEyLjMtNS43SDIwM2MtNi44IDAtMTAuNSA3LjktNi4xIDEzLjFMNDU5LjQgNTEyIDE5Ni45IDgyNC45QTcuOTUgNy45NSAwIDAgMCAyMDMgODM4aDc5LjhjNC43IDAgOS4yLTIuMSAxMi4zLTUuN2wyMTYuNS0yNTguMSAyMTYuNSAyNTguMWMzIDMuNiA3LjUgNS43IDEyLjMgNS43aDc5LjhjNi44IDAgMTAuNS03LjkgNi4xLTEzLjFMNTYzLjggNTEyeiIvPjwvc3ZnPg==\",K=Object.defineProperty,V=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,h=(n,t,r)=>t in n?K(n,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[t]=r,D=(n,t)=>{for(var r in t||(t={}))I.call(t,r)&&h(n,r,t[r]);if(V)for(var r of V(t))v.call(t,r)&&h(n,r,t[r]);return n};const H=n=>e.createElement(\"svg\",D({viewBox:\"64 64 896 896\"},n),e.createElement(\"path\",{d:\"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z\"}));var B=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNOTA0IDE2MEgxMjBjLTQuNCAwLTggMy42LTggOHY2NGMwIDQuNCAzLjYgOCA4IDhoNzg0YzQuNCAwIDgtMy42IDgtOHYtNjRjMC00LjQtMy42LTgtOC04em0wIDYyNEgxMjBjLTQuNCAwLTggMy42LTggOHY2NGMwIDQuNCAzLjYgOCA4IDhoNzg0YzQuNCAwIDgtMy42IDgtOHYtNjRjMC00LjQtMy42LTgtOC04em0wLTMxMkgxMjBjLTQuNCAwLTggMy42LTggOHY2NGMwIDQuNCAzLjYgOCA4IDhoNzg0YzQuNCAwIDgtMy42IDgtOHYtNjRjMC00LjQtMy42LTgtOC04eiIvPjwvc3ZnPg==\",$=a(81229),A=a(66279),p=a(77621),L=a(5491),P=a(49279),R=a(64814),G=a(90346),te=Object.defineProperty,re=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,Le=(n,t,r)=>t in n?te(n,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[t]=r,De=(n,t)=>{for(var r in t||(t={}))ce.call(t,r)&&Le(n,r,t[r]);if(re)for(var r of re(t))me.call(t,r)&&Le(n,r,t[r]);return n};const Oe=n=>e.createElement(\"svg\",De({viewBox:\"64 64 896 896\"},n),e.createElement(\"path\",{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-32 736H663.9V602.2h104l15.6-120.7H663.9v-77.1c0-35 9.7-58.8 59.8-58.8h63.9v-108c-11.1-1.5-49-4.8-93.2-4.8-92.2 0-155.3 56.3-155.3 159.6v89H434.9v120.7h104.3V848H176V176h672v672z\"}));var T=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODgwIDExMkgxNDRjLTE3LjcgMC0zMiAxNC4zLTMyIDMydjczNmMwIDE3LjcgMTQuMyAzMiAzMiAzMmg3MzZjMTcuNyAwIDMyLTE0LjMgMzItMzJWMTQ0YzAtMTcuNy0xNC4zLTMyLTMyLTMyem0tMzIgNzM2SDY2My45VjYwMi4yaDEwNGwxNS42LTEyMC43SDY2My45di03Ny4xYzAtMzUgOS43LTU4LjggNTkuOC01OC44aDYzLjl2LTEwOGMtMTEuMS0xLjUtNDktNC44LTkzLjItNC44LTkyLjIgMC0xNTUuMyA1Ni4zLTE1NS4zIDE1OS42djg5SDQzNC45djEyMC43aDEwNC4zVjg0OEgxNzZWMTc2aDY3MnY2NzJ6Ii8+PC9zdmc+\",s=Object.defineProperty,l=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,Y=(n,t,r)=>t in n?s(n,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[t]=r,y=(n,t)=>{for(var r in t||(t={}))i.call(t,r)&&Y(n,r,t[r]);if(l)for(var r of l(t))m.call(t,r)&&Y(n,r,t[r]);return n};const U=n=>e.createElement(\"svg\",y({viewBox:\"64 64 896 896\"},n),e.createElement(\"path\",{d:\"M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0 1 38.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z\"}));var X=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNTExLjYgNzYuM0MyNjQuMyA3Ni4yIDY0IDI3Ni40IDY0IDUyMy41IDY0IDcxOC45IDE4OS4zIDg4NSAzNjMuOCA5NDZjMjMuNSA1LjkgMTkuOS0xMC44IDE5LjktMjIuMnYtNzcuNWMtMTM1LjcgMTUuOS0xNDEuMi03My45LTE1MC4zLTg4LjlDMjE1IDcyNiAxNzEuNSA3MTggMTg0LjUgNzAzYzMwLjktMTUuOSA2Mi40IDQgOTguOSA1Ny45IDI2LjQgMzkuMSA3Ny45IDMyLjUgMTA0IDI2IDUuNy0yMy41IDE3LjktNDQuNSAzNC43LTYwLjgtMTQwLjYtMjUuMi0xOTkuMi0xMTEtMTk5LjItMjEzIDAtNDkuNSAxNi4zLTk1IDQ4LjMtMTMxLjctMjAuNC02MC41IDEuOS0xMTIuMyA0LjktMTIwIDU4LjEtNS4yIDExOC41IDQxLjYgMTIzLjIgNDUuMyAzMy04LjkgNzAuNy0xMy42IDExMi45LTEzLjYgNDIuNCAwIDgwLjIgNC45IDExMy41IDEzLjkgMTEuMy04LjYgNjcuMy00OC44IDEyMS4zLTQzLjkgMi45IDcuNyAyNC43IDU4LjMgNS41IDExOCAzMi40IDM2LjggNDguOSA4Mi43IDQ4LjkgMTMyLjMgMCAxMDIuMi01OSAxODguMS0yMDAgMjEyLjlhMTI3LjUgMTI3LjUgMCAwIDEgMzguMSA5MXYxMTIuNWMuOCA5IDAgMTcuOSAxNSAxNy45IDE3Ny4xLTU5LjcgMzA0LjYtMjI3IDMwNC42LTQyNC4xIDAtMjQ3LjItMjAwLjQtNDQ3LjMtNDQ3LjUtNDQ3LjN6Ii8+PC9zdmc+\",ae=Object.defineProperty,oe=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable,se=(n,t,r)=>t in n?ae(n,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[t]=r,Q=(n,t)=>{for(var r in t||(t={}))b.call(t,r)&&se(n,r,t[r]);if(oe)for(var r of oe(t))q.call(t,r)&&se(n,r,t[r]);return n};const _=n=>e.createElement(\"svg\",Q({viewBox:\"64 64 896 896\"},n),e.createElement(\"path\",{d:\"M913.9 552.2 805 181.4v-.1c-7.6-22.9-25.7-36.5-48.3-36.5-23.4 0-42.5 13.5-49.7 35.2l-71.4 213H388.8l-71.4-213c-7.2-21.7-26.3-35.2-49.7-35.2-23.1 0-42.5 14.8-48.4 36.6L110.5 552.2c-4.4 14.7 1.2 31.4 13.5 40.7l368.5 276.4c2.6 3.6 6.2 6.3 10.4 7.8l8.6 6.4 8.5-6.4c4.9-1.7 9-4.7 11.9-8.9l368.4-275.4c12.4-9.2 18-25.9 13.6-40.6zM751.7 193.4c1-1.8 2.9-1.9 3.5-1.9 1.1 0 2.5.3 3.4 3L818 394.3H684.5l67.2-200.9zm-487.4 1c.9-2.6 2.3-2.9 3.4-2.9 2.7 0 2.9.1 3.4 1.7l67.3 201.2H206.5l57.8-200zM158.8 558.7l28.2-97.3 202.4 270.2-230.6-172.9zm73.9-116.4h122.1l90.8 284.3-212.9-284.3zM512.9 776 405.7 442.3H620L512.9 776zm157.9-333.7h119.5L580 723.1l90.8-280.8zm-40.7 293.9 207.3-276.7 29.5 99.2-236.8 177.5z\"}));var k=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNOTEzLjkgNTUyLjIgODA1IDE4MS40di0uMWMtNy42LTIyLjktMjUuNy0zNi41LTQ4LjMtMzYuNS0yMy40IDAtNDIuNSAxMy41LTQ5LjcgMzUuMmwtNzEuNCAyMTNIMzg4LjhsLTcxLjQtMjEzYy03LjItMjEuNy0yNi4zLTM1LjItNDkuNy0zNS4yLTIzLjEgMC00Mi41IDE0LjgtNDguNCAzNi42TDExMC41IDU1Mi4yYy00LjQgMTQuNyAxLjIgMzEuNCAxMy41IDQwLjdsMzY4LjUgMjc2LjRjMi42IDMuNiA2LjIgNi4zIDEwLjQgNy44bDguNiA2LjQgOC41LTYuNGM0LjktMS43IDktNC43IDExLjktOC45bDM2OC40LTI3NS40YzEyLjQtOS4yIDE4LTI1LjkgMTMuNi00MC42ek03NTEuNyAxOTMuNGMxLTEuOCAyLjktMS45IDMuNS0xLjkgMS4xIDAgMi41LjMgMy40IDNMODE4IDM5NC4zSDY4NC41bDY3LjItMjAwLjl6bS00ODcuNCAxYy45LTIuNiAyLjMtMi45IDMuNC0yLjkgMi43IDAgMi45LjEgMy40IDEuN2w2Ny4zIDIwMS4ySDIwNi41bDU3LjgtMjAwek0xNTguOCA1NTguN2wyOC4yLTk3LjMgMjAyLjQgMjcwLjItMjMwLjYtMTcyLjl6bTczLjktMTE2LjRoMTIyLjFsOTAuOCAyODQuMy0yMTIuOS0yODQuM3pNNTEyLjkgNzc2IDQwNS43IDQ0Mi4zSDYyMEw1MTIuOSA3NzZ6bTE1Ny45LTMzMy43aDExOS41TDU4MCA3MjMuMWw5MC44LTI4MC44em0tNDAuNyAyOTMuOSAyMDcuMy0yNzYuNyAyOS41IDk5LjItMjM2LjggMTc3LjV6Ii8+PC9zdmc+\",J=Object.defineProperty,ue=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,ye=(n,t,r)=>t in n?J(n,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[t]=r,Ce=(n,t)=>{for(var r in t||(t={}))Me.call(t,r)&&ye(n,r,t[r]);if(ue)for(var r of ue(t))fe.call(t,r)&&ye(n,r,t[r]);return n};const Ie=n=>e.createElement(\"svg\",Ce({viewBox:\"64 64 896 896\"},n),e.createElement(\"path\",{d:\"M847.7 112H176.3c-35.5 0-64.3 28.8-64.3 64.3v671.4c0 35.5 28.8 64.3 64.3 64.3h671.4c35.5 0 64.3-28.8 64.3-64.3V176.3c0-35.5-28.8-64.3-64.3-64.3zm0 736c-447.8-.1-671.7-.2-671.7-.3.1-447.8.2-671.7.3-671.7 447.8.1 671.7.2 671.7.3-.1 447.8-.2 671.7-.3 671.7zM230.6 411.9h118.7v381.8H230.6zm59.4-52.2c37.9 0 68.8-30.8 68.8-68.8a68.8 68.8 0 1 0-137.6 0c-.1 38 30.7 68.8 68.8 68.8zm252.3 245.1c0-49.8 9.5-98 71.2-98 60.8 0 61.7 56.9 61.7 101.2v185.7h118.6V584.3c0-102.8-22.2-181.9-142.3-181.9-57.7 0-96.4 31.7-112.3 61.7h-1.6v-52.2H423.7v381.8h118.6V604.8z\"}));var Qe=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODQ3LjcgMTEySDE3Ni4zYy0zNS41IDAtNjQuMyAyOC44LTY0LjMgNjQuM3Y2NzEuNGMwIDM1LjUgMjguOCA2NC4zIDY0LjMgNjQuM2g2NzEuNGMzNS41IDAgNjQuMy0yOC44IDY0LjMtNjQuM1YxNzYuM2MwLTM1LjUtMjguOC02NC4zLTY0LjMtNjQuM3ptMCA3MzZjLTQ0Ny44LS4xLTY3MS43LS4yLTY3MS43LS4zLjEtNDQ3LjguMi02NzEuNy4zLTY3MS43IDQ0Ny44LjEgNjcxLjcuMiA2NzEuNy4zLS4xIDQ0Ny44LS4yIDY3MS43LS4zIDY3MS43ek0yMzAuNiA0MTEuOWgxMTguN3YzODEuOEgyMzAuNnptNTkuNC01Mi4yYzM3LjkgMCA2OC44LTMwLjggNjguOC02OC44YTY4LjggNjguOCAwIDEgMC0xMzcuNiAwYy0uMSAzOCAzMC43IDY4LjggNjguOCA2OC44em0yNTIuMyAyNDUuMWMwLTQ5LjggOS41LTk4IDcxLjItOTggNjAuOCAwIDYxLjcgNTYuOSA2MS43IDEwMS4ydjE4NS43aDExOC42VjU4NC4zYzAtMTAyLjgtMjIuMi0xODEuOS0xNDIuMy0xODEuOS01Ny43IDAtOTYuNCAzMS43LTExMi4zIDYxLjdoLTEuNnYtNTIuMkg0MjMuN3YzODEuOGgxMTguNlY2MDQuOHoiLz48L3N2Zz4=\",be=Object.defineProperty,we=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,o=(n,t,r)=>t in n?be(n,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[t]=r,u=(n,t)=>{for(var r in t||(t={}))Ye.call(t,r)&&o(n,r,t[r]);if(we)for(var r of we(t))ke.call(t,r)&&o(n,r,t[r]);return n};const c=n=>e.createElement(\"svg\",u({viewBox:\"64 64 896 896\"},n),e.createElement(\"path\",{d:\"M928 254.3c-30.6 13.2-63.9 22.7-98.2 26.4a170.1 170.1 0 0 0 75-94 336.64 336.64 0 0 1-108.2 41.2A170.1 170.1 0 0 0 672 174c-94.5 0-170.5 76.6-170.5 170.6 0 13.2 1.6 26.4 4.2 39.1-141.5-7.4-267.7-75-351.6-178.5a169.32 169.32 0 0 0-23.2 86.1c0 59.2 30.1 111.4 76 142.1a172 172 0 0 1-77.1-21.7v2.1c0 82.9 58.6 151.6 136.7 167.4a180.6 180.6 0 0 1-44.9 5.8c-11.1 0-21.6-1.1-32.2-2.6C211 652 273.9 701.1 348.8 702.7c-58.6 45.9-132 72.9-211.7 72.9-14.3 0-27.5-.5-41.2-2.1C171.5 822 261.2 850 357.8 850 671.4 850 843 590.2 843 364.7c0-7.4 0-14.8-.5-22.2 33.2-24.3 62.3-54.4 85.5-88.2z\"}));var x=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNOTI4IDI1NC4zYy0zMC42IDEzLjItNjMuOSAyMi43LTk4LjIgMjYuNGExNzAuMSAxNzAuMSAwIDAgMCA3NS05NCAzMzYuNjQgMzM2LjY0IDAgMCAxLTEwOC4yIDQxLjJBMTcwLjEgMTcwLjEgMCAwIDAgNjcyIDE3NGMtOTQuNSAwLTE3MC41IDc2LjYtMTcwLjUgMTcwLjYgMCAxMy4yIDEuNiAyNi40IDQuMiAzOS4xLTE0MS41LTcuNC0yNjcuNy03NS0zNTEuNi0xNzguNWExNjkuMzIgMTY5LjMyIDAgMCAwLTIzLjIgODYuMWMwIDU5LjIgMzAuMSAxMTEuNCA3NiAxNDIuMWExNzIgMTcyIDAgMCAxLTc3LjEtMjEuN3YyLjFjMCA4Mi45IDU4LjYgMTUxLjYgMTM2LjcgMTY3LjRhMTgwLjYgMTgwLjYgMCAwIDEtNDQuOSA1LjhjLTExLjEgMC0yMS42LTEuMS0zMi4yLTIuNkMyMTEgNjUyIDI3My45IDcwMS4xIDM0OC44IDcwMi43Yy01OC42IDQ1LjktMTMyIDcyLjktMjExLjcgNzIuOS0xNC4zIDAtMjcuNS0uNS00MS4yLTIuMUMxNzEuNSA4MjIgMjYxLjIgODUwIDM1Ny44IDg1MCA2NzEuNCA4NTAgODQzIDU5MC4yIDg0MyAzNjQuN2MwLTcuNCAwLTE0LjgtLjUtMjIuMiAzMy4yLTI0LjMgNjIuMy01NC40IDg1LjUtODguMnoiLz48L3N2Zz4=\",Z=Object.defineProperty,W=Object.getOwnPropertySymbols,F=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,ne=(n,t,r)=>t in n?Z(n,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[t]=r,de=(n,t)=>{for(var r in t||(t={}))F.call(t,r)&&ne(n,r,t[r]);if(W)for(var r of W(t))le.call(t,r)&&ne(n,r,t[r]);return n};const ee=n=>e.createElement(\"svg\",de({viewBox:\"64 64 896 896\"},n),e.createElement(\"path\",{d:\"M457.3 543c-68.1-17.7-145 16.2-174.6 76.2-30.1 61.2-1 129.1 67.8 151.3 71.2 23 155.2-12.2 184.4-78.3 28.7-64.6-7.2-131-77.6-149.2zm-52 156.2c-13.8 22.1-43.5 31.7-65.8 21.6-22-10-28.5-35.7-14.6-57.2 13.7-21.4 42.3-31 64.4-21.7 22.4 9.5 29.6 35 16 57.3zm45.5-58.5c-5 8.6-16.1 12.7-24.7 9.1-8.5-3.5-11.2-13.1-6.4-21.5 5-8.4 15.6-12.4 24.1-9.1 8.7 3.2 11.8 12.9 7 21.5zm334.5-197.2c15 4.8 31-3.4 35.9-18.3 11.8-36.6 4.4-78.4-23.2-109a111.39 111.39 0 0 0-106-34.3 28.45 28.45 0 0 0-21.9 33.8 28.39 28.39 0 0 0 33.8 21.8c18.4-3.9 38.3 1.8 51.9 16.7a54.2 54.2 0 0 1 11.3 53.3 28.45 28.45 0 0 0 18.2 36zm99.8-206c-56.7-62.9-140.4-86.9-217.7-70.5a32.98 32.98 0 0 0-25.4 39.3 33.12 33.12 0 0 0 39.3 25.5c55-11.7 114.4 5.4 154.8 50.1 40.3 44.7 51.2 105.7 34 159.1-5.6 17.4 3.9 36 21.3 41.7 17.4 5.6 36-3.9 41.6-21.2v-.1c24.1-75.4 8.9-161.1-47.9-223.9zM729 499c-12.2-3.6-20.5-6.1-14.1-22.1 13.8-34.7 15.2-64.7.3-86-28-40.1-104.8-37.9-192.8-1.1 0 0-27.6 12.1-20.6-9.8 13.5-43.5 11.5-79.9-9.6-101-47.7-47.8-174.6 1.8-283.5 110.6C127.3 471.1 80 557.5 80 632.2 80 775.1 263.2 862 442.5 862c235 0 391.3-136.5 391.3-245 0-65.5-55.2-102.6-104.8-118zM443 810.8c-143 14.1-266.5-50.5-275.8-144.5-9.3-93.9 99.2-181.5 242.2-195.6 143-14.2 266.5 50.5 275.8 144.4C694.4 709 586 796.6 443 810.8z\"}));var Ae=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNDU3LjMgNTQzYy02OC4xLTE3LjctMTQ1IDE2LjItMTc0LjYgNzYuMi0zMC4xIDYxLjItMSAxMjkuMSA2Ny44IDE1MS4zIDcxLjIgMjMgMTU1LjItMTIuMiAxODQuNC03OC4zIDI4LjctNjQuNi03LjItMTMxLTc3LjYtMTQ5LjJ6bS01MiAxNTYuMmMtMTMuOCAyMi4xLTQzLjUgMzEuNy02NS44IDIxLjYtMjItMTAtMjguNS0zNS43LTE0LjYtNTcuMiAxMy43LTIxLjQgNDIuMy0zMSA2NC40LTIxLjcgMjIuNCA5LjUgMjkuNiAzNSAxNiA1Ny4zem00NS41LTU4LjVjLTUgOC42LTE2LjEgMTIuNy0yNC43IDkuMS04LjUtMy41LTExLjItMTMuMS02LjQtMjEuNSA1LTguNCAxNS42LTEyLjQgMjQuMS05LjEgOC43IDMuMiAxMS44IDEyLjkgNyAyMS41em0zMzQuNS0xOTcuMmMxNSA0LjggMzEtMy40IDM1LjktMTguMyAxMS44LTM2LjYgNC40LTc4LjQtMjMuMi0xMDlhMTExLjM5IDExMS4zOSAwIDAgMC0xMDYtMzQuMyAyOC40NSAyOC40NSAwIDAgMC0yMS45IDMzLjggMjguMzkgMjguMzkgMCAwIDAgMzMuOCAyMS44YzE4LjQtMy45IDM4LjMgMS44IDUxLjkgMTYuN2E1NC4yIDU0LjIgMCAwIDEgMTEuMyA1My4zIDI4LjQ1IDI4LjQ1IDAgMCAwIDE4LjIgMzZ6bTk5LjgtMjA2Yy01Ni43LTYyLjktMTQwLjQtODYuOS0yMTcuNy03MC41YTMyLjk4IDMyLjk4IDAgMCAwLTI1LjQgMzkuMyAzMy4xMiAzMy4xMiAwIDAgMCAzOS4zIDI1LjVjNTUtMTEuNyAxMTQuNCA1LjQgMTU0LjggNTAuMSA0MC4zIDQ0LjcgNTEuMiAxMDUuNyAzNCAxNTkuMS01LjYgMTcuNCAzLjkgMzYgMjEuMyA0MS43IDE3LjQgNS42IDM2LTMuOSA0MS42LTIxLjJ2LS4xYzI0LjEtNzUuNCA4LjktMTYxLjEtNDcuOS0yMjMuOXpNNzI5IDQ5OWMtMTIuMi0zLjYtMjAuNS02LjEtMTQuMS0yMi4xIDEzLjgtMzQuNyAxNS4yLTY0LjcuMy04Ni0yOC00MC4xLTEwNC44LTM3LjktMTkyLjgtMS4xIDAgMC0yNy42IDEyLjEtMjAuNi05LjggMTMuNS00My41IDExLjUtNzkuOS05LjYtMTAxLTQ3LjctNDcuOC0xNzQuNiAxLjgtMjgzLjUgMTEwLjZDMTI3LjMgNDcxLjEgODAgNTU3LjUgODAgNjMyLjIgODAgNzc1LjEgMjYzLjIgODYyIDQ0Mi41IDg2MmMyMzUgMCAzOTEuMy0xMzYuNSAzOTEuMy0yNDUgMC02NS41LTU1LjItMTAyLjYtMTA0LjgtMTE4ek00NDMgODEwLjhjLTE0MyAxNC4xLTI2Ni41LTUwLjUtMjc1LjgtMTQ0LjUtOS4zLTkzLjkgOTkuMi0xODEuNSAyNDIuMi0xOTUuNiAxNDMtMTQuMiAyNjYuNSA1MC41IDI3NS44IDE0NC40QzY5NC40IDcwOSA1ODYgNzk2LjYgNDQzIDgxMC44eiIvPjwvc3ZnPg==\",je=Object.defineProperty,ie=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,Ve=(n,t,r)=>t in n?je(n,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[t]=r,Ze=(n,t)=>{for(var r in t||(t={}))pe.call(t,r)&&Ve(n,r,t[r]);if(ie)for(var r of ie(t))he.call(t,r)&&Ve(n,r,t[r]);return n};const We=n=>e.createElement(\"svg\",Ze({viewBox:\"64 64 896 896\"},n),e.createElement(\"path\",{d:\"M854.6 370.6c-9.9-39.4 9.9-102.2 73.4-124.4l-67.9-3.6s-25.7-90-143.6-98c-117.8-8.1-194.9-3-195-3 .1 0 87.4 55.6 52.4 154.7-25.6 52.5-65.8 95.6-108.8 144.7-1.3 1.3-2.5 2.6-3.5 3.7C319.4 605 96 860 96 860c245.9 64.4 410.7-6.3 508.2-91.1 20.5-.2 35.9-.3 46.3-.3 135.8 0 250.6-117.6 245.9-248.4-3.2-89.9-31.9-110.2-41.8-149.6zm-204.1 334c-10.6 0-26.2.1-46.8.3l-23.6.2-17.8 15.5c-47.1 41-104.4 71.5-171.4 87.6-52.5 12.6-110 16.2-172.7 9.6 18-20.5 36.5-41.6 55.4-63.1 92-104.6 173.8-197.5 236.9-268.5l1.4-1.4 1.3-1.5c4.1-4.6 20.6-23.3 24.7-28.1 9.7-11.1 17.3-19.9 24.5-28.6 30.7-36.7 52.2-67.8 69-102.2l1.6-3.3 1.2-3.4c13.7-38.8 15.4-76.9 6.2-112.8 22.5.7 46.5 1.9 71.7 3.6 33.3 2.3 55.5 12.9 71.1 29.2 5.8 6 10.2 12.5 13.4 18.7 1 2 1.7 3.6 2.3 5l5 17.7c-15.7 34.5-19.9 73.3-11.4 107.2 3 11.8 6.9 22.4 12.3 34.4 2.1 4.7 9.5 20.1 11 23.3 10.3 22.7 15.4 43 16.7 78.7 3.3 94.6-82.7 181.9-182 181.9z\"}));var Ue=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODU0LjYgMzcwLjZjLTkuOS0zOS40IDkuOS0xMDIuMiA3My40LTEyNC40bC02Ny45LTMuNnMtMjUuNy05MC0xNDMuNi05OGMtMTE3LjgtOC4xLTE5NC45LTMtMTk1LTMgLjEgMCA4Ny40IDU1LjYgNTIuNCAxNTQuNy0yNS42IDUyLjUtNjUuOCA5NS42LTEwOC44IDE0NC43LTEuMyAxLjMtMi41IDIuNi0zLjUgMy43QzMxOS40IDYwNSA5NiA4NjAgOTYgODYwYzI0NS45IDY0LjQgNDEwLjctNi4zIDUwOC4yLTkxLjEgMjAuNS0uMiAzNS45LS4zIDQ2LjMtLjMgMTM1LjggMCAyNTAuNi0xMTcuNiAyNDUuOS0yNDguNC0zLjItODkuOS0zMS45LTExMC4yLTQxLjgtMTQ5LjZ6bS0yMDQuMSAzMzRjLTEwLjYgMC0yNi4yLjEtNDYuOC4zbC0yMy42LjItMTcuOCAxNS41Yy00Ny4xIDQxLTEwNC40IDcxLjUtMTcxLjQgODcuNi01Mi41IDEyLjYtMTEwIDE2LjItMTcyLjcgOS42IDE4LTIwLjUgMzYuNS00MS42IDU1LjQtNjMuMSA5Mi0xMDQuNiAxNzMuOC0xOTcuNSAyMzYuOS0yNjguNWwxLjQtMS40IDEuMy0xLjVjNC4xLTQuNiAyMC42LTIzLjMgMjQuNy0yOC4xIDkuNy0xMS4xIDE3LjMtMTkuOSAyNC41LTI4LjYgMzAuNy0zNi43IDUyLjItNjcuOCA2OS0xMDIuMmwxLjYtMy4zIDEuMi0zLjRjMTMuNy0zOC44IDE1LjQtNzYuOSA2LjItMTEyLjggMjIuNS43IDQ2LjUgMS45IDcxLjcgMy42IDMzLjMgMi4zIDU1LjUgMTIuOSA3MS4xIDI5LjIgNS44IDYgMTAuMiAxMi41IDEzLjQgMTguNyAxIDIgMS43IDMuNiAyLjMgNWw1IDE3LjdjLTE1LjcgMzQuNS0xOS45IDczLjMtMTEuNCAxMDcuMiAzIDExLjggNi45IDIyLjQgMTIuMyAzNC40IDIuMSA0LjcgOS41IDIwLjEgMTEgMjMuMyAxMC4zIDIyLjcgMTUuNCA0MyAxNi43IDc4LjcgMy4zIDk0LjYtODIuNyAxODEuOS0xODIgMTgxLjl6Ii8+PC9zdmc+\",ge=Object.defineProperty,xe=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,Fe=(n,t,r)=>t in n?ge(n,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[t]=r,_e=(n,t)=>{for(var r in t||(t={}))Ne.call(t,r)&&Fe(n,r,t[r]);if(xe)for(var r of xe(t))Pe.call(t,r)&&Fe(n,r,t[r]);return n};const Je=n=>e.createElement(\"svg\",_e({viewBox:\"64 64 896 896\"},n),e.createElement(\"path\",{d:\"M564.7 230.1V803h60l25.2 71.4L756.3 803h131.5V230.1H564.7zm247.7 497h-59.9l-75.1 50.4-17.8-50.4h-18V308.3h170.7v418.8zM526.1 486.9H393.3c2.1-44.9 4.3-104.3 6.6-172.9h130.9l-.1-8.1c0-.6-.2-14.7-2.3-29.1-2.1-15-6.6-34.9-21-34.9H287.8c4.4-20.6 15.7-69.7 29.4-93.8l6.4-11.2-12.9-.7c-.8 0-19.6-.9-41.4 10.6-35.7 19-51.7 56.4-58.7 84.4-18.4 73.1-44.6 123.9-55.7 145.6-3.3 6.4-5.3 10.2-6.2 12.8-1.8 4.9-.8 9.8 2.8 13 10.5 9.5 38.2-2.9 38.5-3 .6-.3 1.3-.6 2.2-1 13.9-6.3 55.1-25 69.8-84.5h56.7c.7 32.2 3.1 138.4 2.9 172.9h-141l-2.1 1.5c-23.1 16.9-30.5 63.2-30.8 65.2l-1.4 9.2h167c-12.3 78.3-26.5 113.4-34 127.4-3.7 7-7.3 14-10.7 20.8-21.3 42.2-43.4 85.8-126.3 153.6-3.6 2.8-7 8-4.8 13.7 2.4 6.3 9.3 9.1 24.6 9.1 5.4 0 11.8-.3 19.4-1 49.9-4.4 100.8-18 135.1-87.6 17-35.1 31.7-71.7 43.9-108.9L497 850l5-12c.8-1.9 19-46.3 5.1-95.9l-.5-1.8-108.1-123-22 16.6c6.4-26.1 10.6-49.9 12.5-71.1h158.7v-8c0-40.1-18.5-63.9-19.2-64.9l-2.4-3z\"}));var Ke=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNTY0LjcgMjMwLjFWODAzaDYwbDI1LjIgNzEuNEw3NTYuMyA4MDNoMTMxLjVWMjMwLjFINTY0Ljd6bTI0Ny43IDQ5N2gtNTkuOWwtNzUuMSA1MC40LTE3LjgtNTAuNGgtMThWMzA4LjNoMTcwLjd2NDE4Ljh6TTUyNi4xIDQ4Ni45SDM5My4zYzIuMS00NC45IDQuMy0xMDQuMyA2LjYtMTcyLjloMTMwLjlsLS4xLTguMWMwLS42LS4yLTE0LjctMi4zLTI5LjEtMi4xLTE1LTYuNi0zNC45LTIxLTM0LjlIMjg3LjhjNC40LTIwLjYgMTUuNy02OS43IDI5LjQtOTMuOGw2LjQtMTEuMi0xMi45LS43Yy0uOCAwLTE5LjYtLjktNDEuNCAxMC42LTM1LjcgMTktNTEuNyA1Ni40LTU4LjcgODQuNC0xOC40IDczLjEtNDQuNiAxMjMuOS01NS43IDE0NS42LTMuMyA2LjQtNS4zIDEwLjItNi4yIDEyLjgtMS44IDQuOS0uOCA5LjggMi44IDEzIDEwLjUgOS41IDM4LjItMi45IDM4LjUtMyAuNi0uMyAxLjMtLjYgMi4yLTEgMTMuOS02LjMgNTUuMS0yNSA2OS44LTg0LjVoNTYuN2MuNyAzMi4yIDMuMSAxMzguNCAyLjkgMTcyLjloLTE0MWwtMi4xIDEuNWMtMjMuMSAxNi45LTMwLjUgNjMuMi0zMC44IDY1LjJsLTEuNCA5LjJoMTY3Yy0xMi4zIDc4LjMtMjYuNSAxMTMuNC0zNCAxMjcuNC0zLjcgNy03LjMgMTQtMTAuNyAyMC44LTIxLjMgNDIuMi00My40IDg1LjgtMTI2LjMgMTUzLjYtMy42IDIuOC03IDgtNC44IDEzLjcgMi40IDYuMyA5LjMgOS4xIDI0LjYgOS4xIDUuNCAwIDExLjgtLjMgMTkuNC0xIDQ5LjktNC40IDEwMC44LTE4IDEzNS4xLTg3LjYgMTctMzUuMSAzMS43LTcxLjcgNDMuOS0xMDguOUw0OTcgODUwbDUtMTJjLjgtMS45IDE5LTQ2LjMgNS4xLTk1LjlsLS41LTEuOC0xMDguMS0xMjMtMjIgMTYuNmM2LjQtMjYuMSAxMC42LTQ5LjkgMTIuNS03MS4xaDE1OC43di04YzAtNDAuMS0xOC41LTYzLjktMTkuMi02NC45bC0yLjQtM3oiLz48L3N2Zz4=\",Ge=a(9e3),He={github:U,weibo:ee,twitter:c,gitlab:_,facebook:Oe,zhihu:Je,yuque:We,linkedin:Ie},$e=function(t){var r=t.icon,ve=t.link,Se=(0,Ge.Z)(),Ee=(0,e.useMemo)(function(){return{Icon:He[r],link:ve}},[r,ve]);return e.createElement(\"a\",{className:\"dumi-default-icon\",\"data-dumi-tooltip\":Se.formatMessage({id:\"header.social.\".concat(r)}),\"data-dumi-tooltip-bottom\":!0,target:\"_blank\",href:Ee.link,rel:\"noreferrer\"},e.createElement(Ee.Icon,null))},qe=$e;function et(n,t){return at(n)||nt(n,t)||rt(n,t)||tt()}function tt(){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 rt(n,t){if(n){if(typeof n==\"string\")return Xe(n,t);var r=Object.prototype.toString.call(n).slice(8,-1);if(r===\"Object\"&&n.constructor&&(r=n.constructor.name),r===\"Map\"||r===\"Set\")return Array.from(n);if(r===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Xe(n,t)}}function Xe(n,t){(t==null||t>n.length)&&(t=n.length);for(var r=0,ve=new Array(t);r<t;r++)ve[r]=n[r];return ve}function nt(n,t){var r=n==null?null:typeof Symbol!=\"undefined\"&&n[Symbol.iterator]||n[\"@@iterator\"];if(r!=null){var ve=[],Se=!0,Ee=!1,Be,Re;try{for(r=r.call(n);!(Se=(Be=r.next()).done)&&(ve.push(Be.value),!(t&&ve.length===t));Se=!0);}catch(ze){Ee=!0,Re=ze}finally{try{!Se&&r.return!=null&&r.return()}finally{if(Ee)throw Re}}return ve}}function at(n){if(Array.isArray(n))return n}var ot=function(){var t=(0,$.eL)(),r=t.frontmatter,ve=(0,e.useState)(!1),Se=et(ve,2),Ee=Se[0],Be=Se[1],Re=(0,$.WF)(),ze=Re.themeConfig,lt=(0,e.useMemo)(function(){return ze.socialLinks?Object.keys(ze.socialLinks).slice(0,5).map(function(Te){return{icon:Te,link:ze.socialLinks[Te]}}):[]},[ze.socialLinks]);return e.createElement(\"div\",{className:\"dumi-default-header\",\"data-static\":Boolean(r.hero)||void 0,\"data-mobile-active\":Ee||void 0,onClick:function(){return Be(!1)}},e.createElement(\"div\",{className:\"dumi-default-header-content\"},e.createElement(\"section\",{className:\"dumi-default-header-left\"},e.createElement(L.Z,null)),e.createElement(\"section\",{className:\"dumi-default-header-right\"},e.createElement(P.Z,null),e.createElement(\"div\",{className:\"dumi-default-header-right-aside\"},e.createElement(G.ZP,null),e.createElement(p.Z,null),e.createElement(R.Z,null),ze.prefersColor.switch&&e.createElement(A.Z,null),lt.map(function(Te){return e.createElement(qe,{icon:Te.icon,link:Te.link,key:Te.link})}),e.createElement(g,null))),e.createElement(\"button\",{type:\"button\",className:\"dumi-default-header-menu-btn\",onClick:function(it){it.stopPropagation(),Be(function(ct){return!ct})}},Ee?e.createElement(C,null):e.createElement(H,null))))},ut=ot},68806:function(M,N,a){\"use strict\";a.d(N,{Z:function(){return d}});var e=a(81229),f=a(69698),g=a(50959),j=function(){var S,z=(0,e.eL)(),O=z.frontmatter;return\"hero\"in O?g.createElement(\"div\",{className:\"dumi-default-hero\"},O.hero.title&&g.createElement(f.Z,null,O.hero.title),O.hero.description&&g.createElement(\"p\",{dangerouslySetInnerHTML:{__html:O.hero.description}}),Boolean((S=O.hero.actions)===null||S===void 0?void 0:S.length)&&g.createElement(\"div\",{className:\"dumi-default-hero-actions\"},O.hero.actions.map(function(C){var w=C.text,K=C.link;return/^(\\w+:)\\/\\/|^(mailto|tel):/.test(K)?g.createElement(\"a\",{href:K,target:\"_blank\",rel:\"noreferrer\",key:w},w):g.createElement(e.rU,{key:w,to:K},w)}))):null},d=j},63301:function(M,N,a){\"use strict\";a.d(N,{Z:function(){return g}});var e=a(50959),f=function(d){return e.createElement(\"h1\",{className:\"dumi-default-hero-title\"},e.createElement(\"span\",null,d.children))},g=f},53371:function(M,N,a){\"use strict\";a.d(N,{Z:function(){return $}});var e=a(50959),f=Object.defineProperty,g=Object.getOwnPropertySymbols,j=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,E=(A,p,L)=>p in A?f(A,p,{enumerable:!0,configurable:!0,writable:!0,value:L}):A[p]=L,S=(A,p)=>{for(var L in p||(p={}))j.call(p,L)&&E(A,L,p[L]);if(g)for(var L of g(p))d.call(p,L)&&E(A,L,p[L]);return A};const z=A=>e.createElement(\"svg\",S({viewBox:\"64 64 896 896\"},A),e.createElement(\"path\",{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\"}));var O=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODg0IDI1NmgtNzVjLTUuMSAwLTkuOSAyLjUtMTIuOSA2LjZMNTEyIDY1NC4yIDIyNy45IDI2Mi42Yy0zLTQuMS03LjgtNi42LTEyLjktNi42aC03NWMtNi41IDAtMTAuMyA3LjQtNi41IDEyLjdsMzUyLjYgNDg2LjFjMTIuOCAxNy42IDM5IDE3LjYgNTEuNyAwbDM1Mi42LTQ4Ni4xYzMuOS01LjMuMS0xMi43LTYuNC0xMi43eiIvPjwvc3ZnPg==\",C=a(81229);function w(A,p){return h(A)||v(A,p)||V(A,p)||K()}function K(){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 V(A,p){if(A){if(typeof A==\"string\")return I(A,p);var L=Object.prototype.toString.call(A).slice(8,-1);if(L===\"Object\"&&A.constructor&&(L=A.constructor.name),L===\"Map\"||L===\"Set\")return Array.from(A);if(L===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(L))return I(A,p)}}function I(A,p){(p==null||p>A.length)&&(p=A.length);for(var L=0,P=new Array(p);L<p;L++)P[L]=A[L];return P}function v(A,p){var L=A==null?null:typeof Symbol!=\"undefined\"&&A[Symbol.iterator]||A[\"@@iterator\"];if(L!=null){var P=[],R=!0,G=!1,te,re;try{for(L=L.call(A);!(R=(te=L.next()).done)&&(P.push(te.value),!(p&&P.length===p));R=!0);}catch(ce){G=!0,re=ce}finally{try{!R&&L.return!=null&&L.return()}finally{if(G)throw re}}return P}}function h(A){if(Array.isArray(A))return A}function D(A){var p=A.pathname,L=A.current,P=A.target,R=\"base\"in L?p.replace(L.base.replace(/\\/$/,\"\"),\"\")||\"/\":p.replace(new RegExp(\"\".concat(L.suffix,\"$\")),\"\");return\"base\"in P?\"\".concat(P.base.replace(/\\/$/,\"\")).concat(R).replace(/([^/])\\/$/,\"$1\"):\"\".concat(R).concat(P.suffix)}var H=function(p){var L=p.locale,P=p.current,R=(0,C.TH)(),G=R.pathname,te=(0,e.useState)(function(){return D({pathname:G,current:P,target:L})}),re=w(te,2),ce=re[0],me=re[1];return(0,e.useEffect)(function(){me(D({pathname:G,current:P,target:L}))},[G,P.id,L.id]),e.createElement(C.rU,{className:\"dumi-default-lang-switch\",to:ce},L.name)},B=function(){var p=(0,C.WF)(),L=p.locales,P=(0,C.YB)(),R=P.locale,G=(0,C.bU)();return L.length<=1?null:L.length>2?e.createElement(\"div\",{className:\"dumi-default-lang-select\"},e.createElement(\"select\",{defaultValue:R,onChange:function(re){C.m8.push(D({pathname:C.m8.location.pathname,current:G,target:L.find(function(ce){var me=ce.id;return me===re.target.value})}))}},L.map(function(te){return e.createElement(\"option\",{key:te.id,value:te.id},te.name)})),e.createElement(z,null)):e.createElement(H,{locale:L.find(function(te){var re=te.id;return re!==R}),current:G})},$=B},89811:function(M,N,a){\"use strict\";a.d(N,{Z:function(){return j}});var e=a(81229),f=a(50959),g=function(){var E=(0,e.WF)(),S=E.themeConfig,z=(0,e.bU)();return f.createElement(e.rU,{className:\"dumi-default-logo\",to:\"base\"in z?z.base:\"/\"},S.logo!==!1&&f.createElement(\"img\",{src:S.logo||\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIQAAACCCAMAAACww5CIAAACf1BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8YkP8AAAACCxMamv/6+voaGhoXi/YYjv8aoP8cq/8dr/8bo/8cqP8bpv8Ykv8drv8BAwUcrP8Zlf8Xjf/s7OzLy8scp/8anP8ZmP/d3d0BBArg4ODT09O7u7sEGCsKCgoanf8YlP/8/Pz09PTIyMgMTIV1dXUGKEVEREQ0NDQODg4GBgYdsv8dsf8Zl//m5uYVgOXj4+MWgtfW1tYTc87BwcERbLWzs7Ovr6+np6cQX6OgoKCTk5MMSXlwcHBra2tiYmIVFRUetf/39/fp6ekWhOkXi+QVfNvY2NjPz88TdcUSb7u6urq3t7cPYK0NUJGQkJCLi4ttbW0JO2cINFtVVVVRUVEHMFEHLEs6OjoEHDEiIiIcHBwXj/vx8fEWh+4Sb8gRbL+rq6upqakOVZiWlpaJiYmGhoYMSIF9fX15eXkKPnQLRHJMTExHR0c9PT0FHzkqKiomJiYEFyUBBw8bovfu7u4Wht4UedsUeMrFxcW9vb0RZrOkpKSampoPXZqAgIALQmtlZWUJOGJZWVkIMFcFIUExMTEwMDAtLS0DEh8Zl/v4+PgXj/QWhvEWhvAYku8YjuwUfNcUfNAVfc0RaLkSaKsRZ6kPWqENUYlbW1sCEBhkSPCkAAAAOHRSTlMA87y4BeKrltbFnUDo0MCup6D67t7ayZKGemtmWS8rEwLNso1wVEpFGaR+UDUlHwmBYls5i1oN/DMym4YAAAfTSURBVHjaxNndS1NxHMfxX5s6t1Kz1KzsuazMnqjgyxv03ovtQrYxUBEfLkREVBQf0AsFBRUUQvEiSVFQ0YsuiiIiqKC/oH+o31lzjtPZg55zttfVNnbx5ffw+X53pmx5UFl2+XLZ4zpVOPWlJFTntYyiBwF/VbX39Sv9upYU9/QHjbXe6qqayrrnylXXi0kov3GVuFiMuNqbHhIu3FcuuohZZ+jDh7mdXkwqlGtKMGmOSFzrGiYe5ZL4+vdsd/SHFyYxtIQlIdiD4ftCa39osTlxRtzwHO1tUOLm0XYk6T3asMRtdKHdUs6qv+L1l/vKgak2SYjqN+1yYg2G5NgR4Pd5/F7fk9sO3YhSkoYkaW40KCk2Rj9KUoikqmtOn8YpydE6J7xFyq5yUhxIjvZJcUfZ5EOb6oxGQmPdtEQlR4Mxupc6IoOdzWiVypabaF1BiesIS876OiSufRXtvO0DcSi2dAN+ZcclYFZsCaOps3nYUOKprDTiSWzqAioCnpIX9ep03pxkw7jYtMWx0pdn7Jb2i1jixN3cM6OGFCti0zgpyopOsw6xiZHoyHIPLIhNHdD7bWR+c7znFD3+PNp+vxhmRkNi28BoWAzBPbQHKhdlQLe4ogsoVTl4ijYjrmiKATdUdvfjh9Ely8DVHFvWe3HJMBBQ2QWAd+KSeeBxjtuxKC7ZzG07Ht0DusQlfwDfs2wZ4b2EYVBcESHO81BlcIWESXHFV7Qss5aXY1FxRSj7L7QAhv3tsaVBMVn8Ou1MFUtjW3sYKjL0jO6QWJiA7iZxysBbtDplpRT4KZbQWkUbHRMnGFUUKwuNaH1iaRJ+Tf8bDbqcWJH2HuCV+l9DpkuxtdsuGlpYHNAJ1FqNMjnE9QocOXJCPwJ309zPT9la8e5yUJwwC/jTBNWQ5EkIqEyzHROSJzvWSeFDW5M8OUArsdgMq2EmanOyGB4WSyMYAhZp2TwkJouw2mZvmusUSwtraA//m7DXZ8SsBxiQM5tGSxNuv3+ZU/NmIpfN9qDXxp1sO4LDNrE202J6cHE1TVq2f1uNiA39K9/7JJ0JwGe6nvOSZ4OA1/R0bFbyrBWoMUX2nOTZAOA3pcSXjFW7UOJnU17VAYeZv98pTvsB1KsTRVXAtqQVA/rFWSNo11SKiuRYZeknEBRn7WJ4rZKuX8pcROvBj6g4rLUZQ8NJYBo2Jb/ax2KkhKYf6I1I3oWngKqUhfgkBTCL1pics1elICaS/5Y9jk+XBdEBeJKhHZGCCLZAWTIkBqQgNlr+NbGi2wHgS1tTAbQNAxW3i1R58WWgd725ANZ7gXPFNaqagrvwt1t7aW0qiOIAPlErPqJCq6JWrW8r1ar1xf0n4NxnnpCELEKyCNmkJZSQRSCbQltooS4sVApiC10U2kWhFRUEEdGF4vuNH8g7c9NQ2pjepPcB/r5ADjlnzp2ZM+QMXHeYb+1WfO5hi5QfveYe33XJ4+d8a3MNQHbI75KhMt9z9wF4FRNcIi3wO94bAHJiQHCHNgmgh3QD8D1MCK6I+KeNCUgbgFFRcEX8Qwhov014o/juUlEoxeqrgpsA7oWp4AZprnpv1ANgShFcoU4a+36jMgOuVGYmnuJ1Wb0hKWqCC8QCgI4dqyfRbNCFoqDBX7Xz6C0AS660K3UKQCdhuqAbdqFT+B8mAXQTbhtbpM7ng4Yn1oytOwFMu5AP9QGAa4Qz8lFwvFWIH6G7Qjijc8/LDueDyvd4z151EYBvwOF+lRFTAK6TGi+ACWdLk0ozANqvkpojAFJKRnCSlFt3m8pLc9bJTylVn64ty9rJfEl1cpVKbH3uJ2v1QleUqOCI2h9xeeP0aVqLCA4JSLk6s7hu6CbkqOAIGpyB7iRZ5xLvFWlHEkITyjK/41/v9h0AC3lngpCz0PXWf0yDUcmBhFDt0T/flx8CkNL8VLAZjUhvAHSQek5AtyALdqP5e9BdbPCkZsbuFRKVvlRHs/W1AfC902yNgoriWwCeqw1fSL+J2VkWNBF8vckr6mPQ3ZcjtkVBA/3z4Ju6Bs5ANzck2BQFpUMTxlVZQ4ege95vUxRUHoPOe5s01OWBbryf2hEFDX4Fc4Vs4gaYZ3ZEQeXBJPgMcFPnwYzJVmeE6jGsGCNAE/rAlPIBamkMQv9YCLpzxJRjYMr5BLXyg5EvgTlKTOoEkw2LUct6dTz4ojqCNO04mMm4ZE150mhMuQ+jHppwAUxqUM5QK9qkPLIE5jhpygkvmHJYiW45FaL8IwmdZy9pUtc2MK9HtvgloZngJyMVp3tJ846ASb7Q1NYrg1JN+ukDs4e05LwHTO5bUKG0tRBEeXAKzJ3rpEXdB8C9fBIWKW0hhOBIBdy2K6R11zvALY6EFYE21yHF4OdKEkz7ObIlXXvAhV4OquoApaYbpCo9qayA29lLturibhimSgOSFjG1ILRwYnwShn09xArnT8PwdnHML6n+hl+2gD8Wjj+rLMOwq49Y5dZpVKUWS++VcCwdCdT5/Uhck5SH45VpVO3qJFbq2Y5Vvly2VBgQY5KqKWI6HY+n06KiqVJMSQyP/37wB6v29xGrnThyEDWh5dyr+fJscbQw/OjRcGG0OFvO3n+QSqKm7exlYgsvNgolkyFs1HGV2OQgTGsjNjnVBtO8Owj3nwbhgWnttgWxy2PaoWaC+AuAXqWYKHupMgAAAABJRU5ErkJggg==\",alt:S.name}),S.name)},j=g},89317:function(M,N,a){\"use strict\";a.d(N,{Z:function(){return E}});var e=a(81229),f=a(66591),g=a(50959);function j(){return j=Object.assign?Object.assign.bind():function(S){for(var z=1;z<arguments.length;z++){var O=arguments[z];for(var C in O)Object.prototype.hasOwnProperty.call(O,C)&&(S[C]=O[C])}return S},j.apply(this,arguments)}var d=function(){var z=(0,e.OK)(),O=(0,e.TH)(),C=O.pathname;return g.createElement(\"ul\",{className:\"dumi-default-navbar\"},z.map(function(w){return g.createElement(\"li\",{key:w.link},/^(\\w+:)\\/\\/|^(mailto|tel):/.test(w.link)?g.createElement(\"a\",{href:w.link,target:\"_blank\",rel:\"noreferrer\"},w.title):g.createElement(e.rU,j({to:w.link},C.startsWith(w.activePath||w.link)?{className:\"active\"}:{}),w.title))}),g.createElement(f.Z,null))},E=d},66216:function(M,N,a){\"use strict\";var e=a(50959),f=function(){return e.createElement(e.Fragment,null)};N.Z=f},9850:function(M,N,a){\"use strict\";a.d(N,{Z:function(){return V}});var e=a(81229),f=a(50959);function g(I,v){return z(I)||S(I,v)||d(I,v)||j()}function j(){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 d(I,v){if(I){if(typeof I==\"string\")return E(I,v);var h=Object.prototype.toString.call(I).slice(8,-1);if(h===\"Object\"&&I.constructor&&(h=I.constructor.name),h===\"Map\"||h===\"Set\")return Array.from(I);if(h===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h))return E(I,v)}}function E(I,v){(v==null||v>I.length)&&(v=I.length);for(var h=0,D=new Array(v);h<v;h++)D[h]=I[h];return D}function S(I,v){var h=I==null?null:typeof Symbol!=\"undefined\"&&I[Symbol.iterator]||I[\"@@iterator\"];if(h!=null){var D=[],H=!0,B=!1,$,A;try{for(h=h.call(I);!(H=($=h.next()).done)&&(D.push($.value),!(v&&D.length===v));H=!0);}catch(p){B=!0,A=p}finally{try{!H&&h.return!=null&&h.return()}finally{if(B)throw A}}return D}}function z(I){if(Array.isArray(I))return I}var O=function(){return f.createElement(\"svg\",{viewBox:\"0 0 14 16\"},f.createElement(\"path\",{d:\"M5.003 6.39v3.594c0 .4.275.674.674.674.4 0 .674-.274.674-.674V1.323h1.997v8.661c0 .4.274.674.674.674s.674-.274.674-.674V1.323h3.295c.399 0 .674-.275.674-.674 0-.4-.275-.649-.674-.649H4.928C3.131 0 1.733 1.398 1.733 3.195S3.206 6.39 5.003 6.39Zm0-5.067v3.72c-1.073 0-1.922-.8-1.922-1.873s.799-1.847 1.922-1.847Zm7.988 11.332H2.73l.8-.674c.274-.2.324-.674.124-.923-.2-.275-.674-.325-.923-.125L.735 12.53c-.275.275-.4.525-.4.874 0 .325.125.674.4.874l1.997 1.597a.829.829 0 0 0 .4.125c.199 0 .398-.075.523-.275.2-.274.2-.723-.125-.923l-.998-.799h10.459c.399 0 .674-.274.674-.674 0-.424-.275-.674-.674-.674Z\"}))},C=function(){return f.createElement(\"svg\",{viewBox:\"0 0 14 16\"},f.createElement(\"path\",{d:\"M5.003 6.39v3.594c0 .4.275.674.674.674.4 0 .674-.274.674-.674V1.323h1.997v8.661c0 .4.274.674.674.674s.674-.274.674-.674V1.323h3.295c.399 0 .674-.275.674-.674 0-.4-.275-.649-.674-.649H4.928C3.131 0 1.733 1.398 1.733 3.195S3.206 6.39 5.003 6.39Zm0-5.067v3.72c-1.073 0-1.922-.8-1.922-1.873s.799-1.847 1.922-1.847ZM1.01 12.655h10.26l-.8-.674c-.274-.2-.324-.674-.124-.923.2-.275.674-.325.923-.125l1.997 1.597c.275.275.4.525.4.874 0 .325-.125.674-.4.874l-1.997 1.597a.829.829 0 0 1-.399.125.59.59 0 0 1-.524-.275c-.2-.274-.2-.723.125-.923l.998-.799H1.009c-.399 0-.674-.274-.674-.674 0-.424.275-.674.674-.674Z\"}))},w=\"dumi:rtl\",K=function(){var v=(0,f.useState)(!1),h=g(v,2),D=h[0],H=h[1],B=(0,e.WF)(),$=B.themeConfig;return(0,f.useEffect)(function(){localStorage.getItem(w)&&(H(!0),document.documentElement.setAttribute(\"data-direction\",\"rtl\"))},[]),$.rtl?f.createElement(\"button\",{type:\"button\",className:\"dumi-default-rtl-switch\",onClick:function(){D?(document.documentElement.removeAttribute(\"data-direction\"),localStorage.removeItem(w)):(document.documentElement.setAttribute(\"data-direction\",\"rtl\"),localStorage.setItem(w,\"1\")),H(!D)},\"data-dumi-tooltip\":D?\"RTL\":\"LTR\",\"data-dumi-tooltip-bottom\":!0},D?f.createElement(O,null):f.createElement(C,null)):null},V=K},64387:function(M,N,a){\"use strict\";a.d(N,{ZP:function(){return ke}});var e=a(50959),f=Object.defineProperty,g=Object.getOwnPropertySymbols,j=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,E=(o,u,c)=>u in o?f(o,u,{enumerable:!0,configurable:!0,writable:!0,value:c}):o[u]=c,S=(o,u)=>{for(var c in u||(u={}))j.call(u,c)&&E(o,c,u[c]);if(g)for(var c of g(u))d.call(u,c)&&E(o,c,u[c]);return o};const z=o=>e.createElement(\"svg\",S({viewBox:\"64 64 896 896\"},o),e.createElement(\"path\",{d:\"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0 0 48.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z\"}));var O=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODYyIDQ2NS4zaC04MWMtNC42IDAtOSAyLTEyLjEgNS41TDU1MCA3MjMuMVYxNjBjMC00LjQtMy42LTgtOC04aC02MGMtNC40IDAtOCAzLjYtOCA4djU2My4xTDI1NS4xIDQ3MC44Yy0zLTMuNS03LjQtNS41LTEyLjEtNS41aC04MWMtNi44IDAtMTAuNSA4LjEtNiAxMy4yTDQ4Ny45IDg2MWEzMS45NiAzMS45NiAwIDAgMCA0OC4zIDBMODY4IDQ3OC41YzQuNS01LjIuOC0xMy4yLTYtMTMuMnoiLz48L3N2Zz4=\",C=Object.defineProperty,w=Object.getOwnPropertySymbols,K=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable,I=(o,u,c)=>u in o?C(o,u,{enumerable:!0,configurable:!0,writable:!0,value:c}):o[u]=c,v=(o,u)=>{for(var c in u||(u={}))K.call(u,c)&&I(o,c,u[c]);if(w)for(var c of w(u))V.call(u,c)&&I(o,c,u[c]);return o};const h=o=>e.createElement(\"svg\",v({viewBox:\"64 64 896 896\"},o),e.createElement(\"path\",{d:\"M868 545.5 536.1 163a31.96 31.96 0 0 0-48.3 0L156 545.5a7.97 7.97 0 0 0 6 13.2h81c4.6 0 9-2 12.1-5.5L474 300.9V864c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V300.9l218.9 252.3c3 3.5 7.4 5.5 12.1 5.5h81c6.8 0 10.5-8 6-13.2z\"}));var D=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODY4IDU0NS41IDUzNi4xIDE2M2EzMS45NiAzMS45NiAwIDAgMC00OC4zIDBMMTU2IDU0NS41YTcuOTcgNy45NyAwIDAgMCA2IDEzLjJoODFjNC42IDAgOS0yIDEyLjEtNS41TDQ3NCAzMDAuOVY4NjRjMCA0LjQgMy42IDggOCA4aDYwYzQuNCAwIDgtMy42IDgtOFYzMDAuOWwyMTguOSAyNTIuM2MzIDMuNSA3LjQgNS41IDEyLjEgNS41aDgxYzYuOCAwIDEwLjUtOCA2LTEzLjJ6Ii8+PC9zdmc+\",H=Object.defineProperty,B=Object.getOwnPropertySymbols,$=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,p=(o,u,c)=>u in o?H(o,u,{enumerable:!0,configurable:!0,writable:!0,value:c}):o[u]=c,L=(o,u)=>{for(var c in u||(u={}))$.call(u,c)&&p(o,c,u[c]);if(B)for(var c of B(u))A.call(u,c)&&p(o,c,u[c]);return o};const P=o=>e.createElement(\"svg\",L({viewBox:\"64 64 896 896\"},o),e.createElement(\"path\",{d:\"M909.6 854.5 649.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 0 0 11.6 0l43.6-43.5a8.2 8.2 0 0 0 0-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\"}));var R=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNOTA5LjYgODU0LjUgNjQ5LjkgNTk0LjhDNjkwLjIgNTQyLjcgNzEyIDQ3OSA3MTIgNDEyYzAtODAuMi0zMS4zLTE1NS40LTg3LjktMjEyLjEtNTYuNi01Ni43LTEzMi04Ny45LTIxMi4xLTg3LjlzLTE1NS41IDMxLjMtMjEyLjEgODcuOUMxNDMuMiAyNTYuNSAxMTIgMzMxLjggMTEyIDQxMmMwIDgwLjEgMzEuMyAxNTUuNSA4Ny45IDIxMi4xQzI1Ni41IDY4MC44IDMzMS44IDcxMiA0MTIgNzEyYzY3IDAgMTMwLjYtMjEuOCAxODIuNy02MmwyNTkuNyAyNTkuNmE4LjIgOC4yIDAgMCAwIDExLjYgMGw0My42LTQzLjVhOC4yIDguMiAwIDAgMCAwLTExLjZ6TTU3MC40IDU3MC40QzUyOCA2MTIuNyA0NzEuOCA2MzYgNDEyIDYzNnMtMTE2LTIzLjMtMTU4LjQtNjUuNkMyMTEuMyA1MjggMTg4IDQ3MS44IDE4OCA0MTJzMjMuMy0xMTYuMSA2NS42LTE1OC40QzI5NiAyMTEuMyAzNTIuMiAxODggNDEyIDE4OHMxMTYuMSAyMy4yIDE1OC40IDY1LjZTNjM2IDM1Mi4yIDYzNiA0MTJzLTIzLjMgMTE2LjEtNjUuNiAxNTguNHoiLz48L3N2Zz4=\",G=a(81229),te=Object.defineProperty,re=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,Le=(o,u,c)=>u in o?te(o,u,{enumerable:!0,configurable:!0,writable:!0,value:c}):o[u]=c,De=(o,u)=>{for(var c in u||(u={}))ce.call(u,c)&&Le(o,c,u[c]);if(re)for(var c of re(u))me.call(u,c)&&Le(o,c,u[c]);return o};const Oe=o=>e.createElement(\"svg\",De({viewBox:\"0 0 1024 1024\"},o),e.createElement(\"path\",{d:\"m885.2 446.3-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0 0 60.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z\"}));var T=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0Ij48cGF0aCBkPSJtODg1LjIgNDQ2LjMtLjItLjgtMTEyLjItMjg1LjFjLTUtMTYuMS0xOS45LTI3LjItMzYuOC0yNy4ySDI4MS4yYy0xNyAwLTMyLjEgMTEuMy0zNi45IDI3LjZMMTM5LjQgNDQzbC0uMy43LS4yLjhjLTEuMyA0LjktMS43IDkuOS0xIDE0LjgtLjEgMS42LS4yIDMuMi0uMiA0LjhWODMwYTYwLjkgNjAuOSAwIDAgMCA2MC44IDYwLjhoNjI3LjJjMzMuNSAwIDYwLjgtMjcuMyA2MC45LTYwLjhWNDY0LjFjMC0xLjMgMC0yLjYtLjEtMy43LjQtNC45IDAtOS42LTEuMy0xNC4xem0tMjk1LjgtNDMtLjMgMTUuN2MtLjggNDQuOS0zMS44IDc1LjEtNzcuMSA3NS4xLTIyLjEgMC00MS4xLTcuMS01NC44LTIwLjZTNDM2IDQ0MS4yIDQzNS42IDQxOWwtLjMtMTUuN0gyMjkuNUwzMDkgMjEwaDM5OS4ybDgxLjcgMTkzLjNINTg5LjR6bS0zNzUgNzYuOGgxNTcuM2MyNC4zIDU3LjEgNzYgOTAuOCAxNDAuNCA5MC44IDMzLjcgMCA2NS05LjQgOTAuMy0yNy4yIDIyLjItMTUuNiAzOS41LTM3LjQgNTAuNy02My42aDE1Ni41VjgxNEgyMTQuNFY0ODAuMXoiLz48L3N2Zz4=\";function s(o,u){return y(o)||Y(o,u)||i(o,u)||l()}function l(){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 i(o,u){if(o){if(typeof o==\"string\")return m(o,u);var c=Object.prototype.toString.call(o).slice(8,-1);if(c===\"Object\"&&o.constructor&&(c=o.constructor.name),c===\"Map\"||c===\"Set\")return Array.from(o);if(c===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return m(o,u)}}function m(o,u){(u==null||u>o.length)&&(u=o.length);for(var c=0,x=new Array(u);c<u;c++)x[c]=o[c];return x}function Y(o,u){var c=o==null?null:typeof Symbol!=\"undefined\"&&o[Symbol.iterator]||o[\"@@iterator\"];if(c!=null){var x=[],Z=!0,W=!1,F,le;try{for(c=c.call(o);!(Z=(F=c.next()).done)&&(x.push(F.value),!(u&&x.length===u));Z=!0);}catch(ne){W=!0,le=ne}finally{try{!Z&&c.return!=null&&c.return()}finally{if(W)throw le}}return x}}function y(o){if(Array.isArray(o))return o}var U=function(){return e.createElement(\"svg\",{viewBox:\"0 0 32 32\",xmlns:\"http://www.w3.org/2000/svg\"},e.createElement(\"path\",{d:\"M5.333 10.667h21.334c.889 0 1.333.444 1.333 1.333s-.444 1.333-1.333 1.333H5.333C4.444 13.333 4 12.89 4 12s.444-1.333 1.333-1.333Z\"}),e.createElement(\"path\",{d:\"M13.207 2.667h.126a1.206 1.206 0 0 1 1.2 1.326l-2.413 24.14a1.333 1.333 0 0 1-1.327 1.2h-.126a1.206 1.206 0 0 1-1.2-1.326l2.413-24.14c.068-.682.642-1.2 1.327-1.2Zm8 0h.126a1.206 1.206 0 0 1 1.2 1.326l-2.413 24.14a1.333 1.333 0 0 1-1.327 1.2h-.126a1.206 1.206 0 0 1-1.2-1.326l2.413-24.14c.068-.682.642-1.2 1.327-1.2Z\"}),e.createElement(\"path\",{d:\"M5.333 18.667h21.334c.889 0 1.333.444 1.333 1.333s-.444 1.333-1.333 1.333H5.333C4.444 21.333 4 20.89 4 20s.444-1.333 1.333-1.333Z\"}))},X=function(){return e.createElement(\"svg\",{viewBox:\"0 0 32 32\",xmlns:\"http://www.w3.org/2000/svg\"},e.createElement(\"path\",{d:\"M9.402 0h14.78L30 6.16V24.5c0 1.933-1.71 3.5-3.589 3.5H9.401C7.524 28 6 26.433 6 24.5v-21C6 1.567 7.523 0 9.402 0ZM23 2v4.183c0 .451.366.817.817.817H28l-5-5Zm3.333 24c.92 0 1.667-.768 1.667-1.714V8.857h-5c-.92 0-1.667-.767-1.667-1.714V2H9.667C8.747 2 8 2.768 8 3.714v20.572C8 25.232 8.746 26 9.667 26h16.666Z\"}))},ae=function(){return e.createElement(\"svg\",{viewBox:\"0 0 32 32\",xmlns:\"http://www.w3.org/2000/svg\"},e.createElement(\"path\",{d:\"M6.12 14.589h6.628l1.52 4.004h2.485l-5.938-15.19H8.053L2.115 18.732H4.6l1.52-4.143ZM8.88 6.855c.139-.414.277-.828.415-1.38h.138c0 .138.138.414.414 1.104 0 .138.138.276.138.276 0 .138.829 2.072 2.21 5.938H6.672c1.519-3.866 2.21-5.8 2.21-5.938Zm8.148 2.348h12.705v1.933H17.029V9.203ZM2.115 20.665h27.619v1.933H2.114v-1.933Zm14.914-5.662h12.705v1.933H17.029v-1.933ZM2.115 26.327h27.619v1.933H2.114v-1.933ZM17.029 3.54h12.705v1.934H17.029V3.54Z\"}))},oe=function(){return e.createElement(\"svg\",{viewBox:\"0 0 32 32\",xmlns:\"http://www.w3.org/2000/svg\"},e.createElement(\"path\",{d:\"M28 6h-5a5 5 0 0 0-10 0H8a2 2 0 0 0-2 2v5a5 5 0 0 0 0 10v5a2 2 0 0 0 2 2h7v-2a3 3 0 0 1 6 0v2h7a2 2 0 0 0 2-2v-7h-2a3 3 0 0 1 0-6h2V8a2 2 0 0 0-2-2Zm-5 12a5 5 0 0 0 5 5v5h-5a5 5 0 0 0-10 0H8v-7H6a3 3 0 0 1 0-6h2V8h7V6a3 3 0 0 1 6 0v2h7v5a5 5 0 0 0-5 5Z\"}))},b={title:U,page:X,content:ae,demo:oe},q=function(u){return e.createElement(e.Fragment,null,u.texts.map(function(c,x){return e.createElement(e.Fragment,{key:x},c.highlighted?e.createElement(\"mark\",null,c.text):c.text)}))},se=function(u){var c=(0,e.useCallback)(function(){var le=0,ne=[];return u.forEach(function(de){de.title&&ne.push({type:\"title\",value:{title:de.title}}),de.hints.forEach(function(ee){ne.push({type:\"hint\",activeIndex:le++,value:ee})})}),[ne,le]},[u]),x=(0,e.useState)(c),Z=s(x,2),W=Z[0],F=Z[1];return(0,e.useEffect)(function(){F(c)},[u]),W},Q=function(u){var c=se(u.data),x=s(c,2),Z=x[0],W=x[1],F=(0,e.useState)(-1),le=s(F,2),ne=le[0],de=le[1];return(0,e.useEffect)(function(){var ee=function(je){if(je.key===\"ArrowDown\")de((ne+1)%W);else if(je.key===\"ArrowUp\")de((ne+W-1)%W);else if(je.key===\"Enter\"&&ne>=0){var ie,pe=Z.find(function(he){return he.type===\"hint\"&&he.activeIndex===ne}).value;G.m8.push(pe.link),(ie=u.onItemSelect)===null||ie===void 0||ie.call(u,pe),document.activeElement.blur()}[\"Escape\",\"Enter\"].includes(je.key)&&de(-1)};return document.addEventListener(\"keydown\",ee),function(){return document.removeEventListener(\"keydown\",ee)}}),e.createElement(\"div\",{className:\"dumi-default-search-result\",onMouseEnter:function(){return de(-1)},onMouseDownCapture:function(Ae){return Ae.preventDefault()},onMouseUpCapture:function(){document.activeElement.blur()}},Boolean(u.data.length||u.loading)?e.createElement(\"dl\",null,Z.map(function(ee,Ae){return ee.type===\"title\"?e.createElement(\"dt\",{key:String(Ae)},ee.value.title):e.createElement(\"dd\",{key:String(Ae)},e.createElement(G.rU,{to:ee.value.link,\"data-active\":ne===ee.activeIndex||void 0,onClick:function(){var ie;return(ie=u.onItemSelect)===null||ie===void 0?void 0:ie.call(u,ee.value)}},e.createElement(b[ee.value.type]),e.createElement(\"h4\",null,e.createElement(q,{texts:ee.value.highlightTitleTexts})),e.createElement(\"p\",null,e.createElement(q,{texts:ee.value.highlightTexts}))))})):e.createElement(\"div\",{className:\"dumi-default-search-empty\"},e.createElement(Oe,null),e.createElement(G._H,{id:\"search.not.found\"})))},_=Q,k=(0,e.forwardRef)(function(o,u){var c=(0,G.YB)(),x=(0,e.useRef)(!1),Z=(0,e.useRef)(null);return(0,e.useImperativeHandle)(u,function(){return Z.current}),e.createElement(\"input\",{className:\"dumi-default-search-bar-input\",onCompositionStart:function(){return x.current=!0},onCompositionEnd:function(F){x.current=!1,o.onChange(F.currentTarget.value)},onFocus:o.onFocus,onBlur:o.onBlur,onKeyDown:function(F){[\"ArrowDown\",\"ArrowUp\"].includes(F.key)&&F.preventDefault(),F.key===\"Escape\"&&!x.current&&F.currentTarget.blur()},onChange:function(F){setTimeout(function(){x.current||o.onChange(F.target.value)},1)},placeholder:c.formatMessage({id:\"header.search.placeholder\"}),ref:Z})}),J=function(u){return(0,e.useEffect)(function(){if(u.visible)document.body.style.overflow=\"hidden\";else{var c;document.body.style.overflow=\"\",(c=u.onClose)===null||c===void 0||c.call(u)}},[u.visible]),u.visible?e.createElement(\"div\",{className:\"dumi-default-search-modal\"},e.createElement(\"div\",{className:\"dumi-default-search-modal-mask\",onClick:u.onMaskClick}),e.createElement(\"div\",{className:\"dumi-default-search-modal-content\"},u.children)):null},ue;function Me(o,u){return Qe(o)||Ie(o,u)||ye(o,u)||fe()}function fe(){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 ye(o,u){if(o){if(typeof o==\"string\")return Ce(o,u);var c=Object.prototype.toString.call(o).slice(8,-1);if(c===\"Object\"&&o.constructor&&(c=o.constructor.name),c===\"Map\"||c===\"Set\")return Array.from(o);if(c===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return Ce(o,u)}}function Ce(o,u){(u==null||u>o.length)&&(u=o.length);for(var c=0,x=new Array(u);c<u;c++)x[c]=o[c];return x}function Ie(o,u){var c=o==null?null:typeof Symbol!=\"undefined\"&&o[Symbol.iterator]||o[\"@@iterator\"];if(c!=null){var x=[],Z=!0,W=!1,F,le;try{for(c=c.call(o);!(Z=(F=c.next()).done)&&(x.push(F.value),!(u&&x.length===u));Z=!0);}catch(ne){W=!0,le=ne}finally{try{!Z&&c.return!=null&&c.return()}finally{if(W)throw le}}return x}}function Qe(o){if(Array.isArray(o))return o}var be=/(mac|iphone|ipod|ipad)/i.test(typeof navigator!=\"undefined\"?(ue=navigator)===null||ue===void 0?void 0:ue.platform:\"\"),we=function(u){return[\"TEXTAREA\",\"INPUT\"].includes(u.tagName)||u.contentEditable===\"true\"},Ye=function(){var u=(0,e.useState)(!1),c=Me(u,2),x=c[0],Z=c[1],W=(0,e.useRef)(null),F=(0,e.useRef)(null),le=(0,e.useState)(\"\\u2318\"),ne=Me(le,2),de=ne[0],ee=ne[1],Ae=(0,G.OO)(),je=Ae.keywords,ie=Ae.setKeywords,pe=Ae.result,he=Ae.loading,Ve=(0,e.useState)(!1),Ze=Me(Ve,2),We=Ze[0],Ue=Ze[1];return(0,e.useEffect)(function(){be||ee(\"Ctrl\");var ge=function(Ne){if(((be?Ne.metaKey:Ne.ctrlKey)&&Ne.key===\"k\"||Ne.key===\"/\"&&!we(Ne.target))&&(Ne.preventDefault(),W.current)){var Pe=W.current.getBoundingClientRect(),Fe=Pe.top,_e=Pe.bottom,Je=Pe.left,Ke=Pe.right,Ge=Fe>=0&&Je>=0&&_e<=window.innerHeight&&Ke<=window.innerWidth;Ge?W.current.focus():(ie(\"\"),Ue(!0),setTimeout(function(){var He;(He=F.current)===null||He===void 0||He.focus()}))}Ne.key===\"Escape\"&&(Ne.preventDefault(),Ue(!1))};return document.addEventListener(\"keydown\",ge),function(){return document.removeEventListener(\"keydown\",ge)}},[]),e.createElement(\"div\",{className:\"dumi-default-search-bar\"},e.createElement(P,{className:\"dumi-default-search-bar-svg\"}),e.createElement(k,{onFocus:function(){return Z(!0)},onBlur:function(){setTimeout(function(){Z(!1)},1)},onChange:function(xe){return ie(xe)},ref:W}),e.createElement(\"span\",{className:\"dumi-default-search-shortcut\"},de,\" K\"),je.trim()&&x&&(pe.length||!he)&&!We&&e.createElement(\"div\",{className:\"dumi-default-search-popover\"},e.createElement(\"section\",null,e.createElement(_,{data:pe,loading:he}))),e.createElement(J,{visible:We,onMaskClick:function(){Ue(!1)},onClose:function(){return ie(\"\")}},e.createElement(\"div\",{style:{position:\"relative\"}},e.createElement(P,{className:\"dumi-default-search-bar-svg\"}),e.createElement(k,{onFocus:function(){return Z(!0)},onBlur:function(){setTimeout(function(){Z(!1)},1)},onChange:function(xe){return ie(xe)},ref:F})),e.createElement(_,{data:pe,loading:he,onItemSelect:function(){Ue(!1)}}),e.createElement(\"footer\",null,e.createElement(\"ul\",{className:\"dumi-default-search-modal-commands\"},e.createElement(\"li\",{className:\"dumi-default-search-modal-commands-arrow\"},e.createElement(\"span\",{className:\"dumi-default-search-modal-shortcut\"},e.createElement(h,{width:\"10px\",height:\"10px\",fill:\"rgba(0, 0, 0, 0.45)\"})),e.createElement(\"span\",{className:\"dumi-default-search-modal-shortcut\"},e.createElement(z,{width:\"10px\",height:\"10px\",fill:\"rgba(0, 0, 0, 0.45)\"})),e.createElement(\"span\",{className:\"dumi-default-search-modal-commands-text\"},\"to navigate\")),e.createElement(\"li\",null,e.createElement(\"span\",{className:\"dumi-default-search-modal-shortcut\"},\"esc\"),e.createElement(\"span\",{className:\"dumi-default-search-modal-commands-text\"},\"to close\"))))))},ke=Ye},64586:function(M,N,a){\"use strict\";a.d(N,{Z:function(){return d}});var e=a(81229),f=a(86064),g=a(50959),j=function(){var S=(0,e.TH)(),z=S.pathname,O=(0,e.eL)(),C=(0,e.tx)();return C?g.createElement(\"div\",{className:\"dumi-default-sidebar\"},C.map(function(w,K){return g.createElement(\"dl\",{className:\"dumi-default-sidebar-group\",key:String(K)},w.title&&g.createElement(\"dt\",null,w.title),w.children.map(function(V){return g.createElement(\"dd\",{key:V.link},g.createElement(e.OL,{to:V.link,title:V.title,end:!0},V.title),V.link===z&&O.frontmatter.toc===\"menu\"&&g.createElement(f.Z,null))}))})):null},d=j},29847:function(M,N,a){\"use strict\";a.d(N,{Z:function(){return Oe}});var e=a(93525),f=a.n(e),g=a(54306),j=a.n(g),d=a(50959),E=a(21140),S=a.n(E),z=a(63466),O=a.n(z),C=a(68608),w=a.n(C),K=a(58853),V=a.n(K),I=a(38888),v=a.n(I),h=a(52510),D=a.n(h),H=O()(function T(){S()(this,T)}),B=function(T){V()(l,T);var s=v()(l);function l(i){var m;return S()(this,l),m=s.call(this),D()(w()(m),\"el\",void 0),m.el=i,m}return O()(l,[{key:\"top\",get:function(){return this.el.getBoundingClientRect().top}},{key:\"outerHeight\",get:function(){return this.el.getBoundingClientRect().height}},{key:\"scrollTop\",get:function(){return this.el.scrollTop}},{key:\"scrollHeight\",get:function(){return this.el.scrollHeight}},{key:\"isScrolledToBottom\",value:function(){return this.scrollTop+this.outerHeight>=this.scrollHeight}},{key:\"registerScrollEvent\",value:function(m){this.el.addEventListener(\"scroll\",m)}},{key:\"unregisterScrollEvent\",value:function(m){this.el.removeEventListener(\"scroll\",m)}}],[{key:\"create\",value:function(m){var Y=document.querySelector(m);if(!Y)throw new Error(\"element is not found.\");return new l(Y)}}]),l}(H),$=function(T){V()(l,T);var s=v()(l);function l(){return S()(this,l),s.apply(this,arguments)}return O()(l,[{key:\"outerHeight\",get:function(){return window.innerHeight}},{key:\"scrollTop\",get:function(){return document.documentElement.scrollTop}},{key:\"scrollHeight\",get:function(){return document.documentElement.scrollHeight}},{key:\"isScrolledToBottom\",value:function(){return this.scrollTop+this.outerHeight>=this.scrollHeight}},{key:\"registerScrollEvent\",value:function(m){document.addEventListener(\"scroll\",m)}},{key:\"unregisterScrollEvent\",value:function(m){document.removeEventListener(\"scroll\",m)}}],[{key:\"create\",value:function(){return new l}}]),l}(H),A=function(){function T(){S()(this,T)}return O()(T,null,[{key:\"create\",value:function(l){return l?B.create(l):$.create()}}]),T}(),p=function(s){var l=s.sectionRefs,i=s.rootSelector,m=s.offset,Y=m===void 0?0:m,y=(0,d.useRef)(null);(0,d.useEffect)(function(){y.current=A.create(i)},[i]);var U=(0,d.useCallback)(function(){return y.current?y.current.isScrolledToBottom():!1},[y]),X=(0,d.useCallback)(function(k){if(!y.current)return!1;var J=y.current.scrollTop,ue=J+y.current.outerHeight,Me=k.getBoundingClientRect(),fe=y.current instanceof B?J+Me.top-y.current.top+Y:J+Me.top+Y,ye=fe+Me.height;return[fe<ue,ye>J].every(function(Ce){return Ce})},[y,Y]),ae=(0,d.useCallback)(function(){return l.map(function(k){return k.current?X(k.current):!1})},[X,l]),oe=(0,d.useState)([]),b=j()(oe,2),q=b[0],se=b[1],Q=(0,d.useMemo)(function(){return q.findIndex(function(k){return k})},[q]),_=(0,d.useCallback)(function(){var k=U()?[].concat(f()(new Array(l.length-1).fill(!1).map(function(J){return J})),[!0]):ae();se(k)},[ae,U,l]);return(0,d.useEffect)(function(){return _(),y.current&&y.current.registerScrollEvent(_),function(){y.current&&y.current.unregisterScrollEvent(_)}},[_]),{elementsStatusInViewport:q,currentElementIndexInViewport:Q}},L=function(s){var l=s.children,i=s.sectionRefs,m=s.rootSelector,Y=s.offset,y=p({sectionRefs:i,rootSelector:m,offset:Y}),U=y.elementsStatusInViewport,X=y.currentElementIndexInViewport;return l({elementsStatusInViewport:U,currentElementIndexInViewport:X})},P=a(81229);function R(){return R=Object.assign?Object.assign.bind():function(T){for(var s=1;s<arguments.length;s++){var l=arguments[s];for(var i in l)Object.prototype.hasOwnProperty.call(l,i)&&(T[i]=l[i])}return T},R.apply(this,arguments)}function G(T,s){return Le(T)||me(T,s)||re(T,s)||te()}function te(){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 re(T,s){if(T){if(typeof T==\"string\")return ce(T,s);var l=Object.prototype.toString.call(T).slice(8,-1);if(l===\"Object\"&&T.constructor&&(l=T.constructor.name),l===\"Map\"||l===\"Set\")return Array.from(T);if(l===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return ce(T,s)}}function ce(T,s){(s==null||s>T.length)&&(s=T.length);for(var l=0,i=new Array(s);l<s;l++)i[l]=T[l];return i}function me(T,s){var l=T==null?null:typeof Symbol!=\"undefined\"&&T[Symbol.iterator]||T[\"@@iterator\"];if(l!=null){var i=[],m=!0,Y=!1,y,U;try{for(l=l.call(T);!(m=(y=l.next()).done)&&(i.push(y.value),!(s&&i.length===s));m=!0);}catch(X){Y=!0,U=X}finally{try{!m&&l.return!=null&&l.return()}finally{if(Y)throw U}}return i}}function Le(T){if(Array.isArray(T))return T}var De=function(){var s=(0,P.TH)(),l=s.pathname,i=s.search,m=(0,P.eL)(),Y=(0,P.zh)(),y=(0,P.WF)(),U=y.loading,X=(0,d.useRef)(0),ae=(0,d.useState)([]),oe=G(ae,2),b=oe[0],q=oe[1],se=d.useMemo(function(){var Q=m.toc;return Y&&(Q=Y.toc),Q.filter(function(_){var k=_.depth;return k>1&&k<4})},[m,Y]);return(0,d.useEffect)(function(){if(!U){var Q=se.map(function(_){var k=_.id;return{current:document.getElementById(k)}});q(Q)}},[l,i,U]),b.length?d.createElement(L,{sectionRefs:b},function(Q){var _=Q.currentElementIndexInViewport;return _>-1&&(X.current=_),d.createElement(\"ul\",{className:\"dumi-default-toc\"},se.filter(function(k){var J=k.depth;return J>1&&J<4}).map(function(k,J){var ue=\"\".concat(i,\"#\").concat(encodeURIComponent(k.id)),Me=_>-1?_:X.current;return d.createElement(\"li\",{key:k.id,\"data-depth\":k.depth},d.createElement(P.rU,R({to:ue,title:k.title},Me===J?{className:\"active\"}:{}),k.title))}))}):null},Oe=De},30006:function(M,N,a){var e=a(25705);function f(g){if(Array.isArray(g))return e(g)}M.exports=f,M.exports.__esModule=!0,M.exports.default=M.exports},68608:function(M){function N(a){if(a===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return a}M.exports=N,M.exports.__esModule=!0,M.exports.default=M.exports},21140:function(M){function N(a,e){if(!(a instanceof e))throw new TypeError(\"Cannot call a class as a function\")}M.exports=N,M.exports.__esModule=!0,M.exports.default=M.exports},63466:function(M,N,a){var e=a(26982);function f(j,d){for(var E=0;E<d.length;E++){var S=d[E];S.enumerable=S.enumerable||!1,S.configurable=!0,\"value\"in S&&(S.writable=!0),Object.defineProperty(j,e(S.key),S)}}function g(j,d,E){return d&&f(j.prototype,d),E&&f(j,E),Object.defineProperty(j,\"prototype\",{writable:!1}),j}M.exports=g,M.exports.__esModule=!0,M.exports.default=M.exports},38888:function(M,N,a){var e=a(44908),f=a(14614),g=a(91621);function j(d){var E=f();return function(){var z=e(d),O;if(E){var C=e(this).constructor;O=Reflect.construct(z,arguments,C)}else O=z.apply(this,arguments);return g(this,O)}}M.exports=j,M.exports.__esModule=!0,M.exports.default=M.exports},44908:function(M){function N(a){return M.exports=N=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(f){return f.__proto__||Object.getPrototypeOf(f)},M.exports.__esModule=!0,M.exports.default=M.exports,N(a)}M.exports=N,M.exports.__esModule=!0,M.exports.default=M.exports},58853:function(M,N,a){var e=a(49154);function f(g,j){if(typeof j!=\"function\"&&j!==null)throw new TypeError(\"Super expression must either be null or a function\");g.prototype=Object.create(j&&j.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),Object.defineProperty(g,\"prototype\",{writable:!1}),j&&e(g,j)}M.exports=f,M.exports.__esModule=!0,M.exports.default=M.exports},14614:function(M){function N(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}M.exports=N,M.exports.__esModule=!0,M.exports.default=M.exports},16660:function(M){function N(a){if(typeof Symbol!=\"undefined\"&&a[Symbol.iterator]!=null||a[\"@@iterator\"]!=null)return Array.from(a)}M.exports=N,M.exports.__esModule=!0,M.exports.default=M.exports},95848:function(M){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.`)}M.exports=N,M.exports.__esModule=!0,M.exports.default=M.exports},91621:function(M,N,a){var e=a(37635).default,f=a(68608);function g(j,d){if(d&&(e(d)===\"object\"||typeof d==\"function\"))return d;if(d!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return f(j)}M.exports=g,M.exports.__esModule=!0,M.exports.default=M.exports},49154:function(M){function N(a,e){return M.exports=N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(g,j){return g.__proto__=j,g},M.exports.__esModule=!0,M.exports.default=M.exports,N(a,e)}M.exports=N,M.exports.__esModule=!0,M.exports.default=M.exports},93525:function(M,N,a){var e=a(30006),f=a(16660),g=a(41442),j=a(95848);function d(E){return e(E)||f(E)||g(E)||j()}M.exports=d,M.exports.__esModule=!0,M.exports.default=M.exports}}]);\n"
  },
  {
    "path": "docker/public/874.753377bf.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[874],{63874:function(e,s,p){e.exports=p.p+\"static/group.ff1b0e18.jpeg\"}}]);\n"
  },
  {
    "path": "docker/public/config/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docker/public/demo/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docker/public/demos.10478156.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[433],{80858:function(at,J,b){b.d(J,{Z:function(){return xi}});var d=b(50959),u=b(41477),Q=b(65707),M=b(32699),Ke=function(e,a,r,i){return re(r?i:e,a)},me=function(e,a,r,i){var n=e?{color:\"green\"}:{},l={color:\"#f50\"};return d.createElement(\"span\",null,d.createElement(\"span\",{style:n},a),d.createElement(\"span\",{style:l},i),d.createElement(\"span\",{style:n},r))},re=function(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:\"\",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(!a)return e;var i=e.indexOf(a),n=e.substr(0,i),l=e.substr(i+a.length),o=i>-1?me(r,n,l,a):nt(r,e);return o},nt=function(e,a){var r=e?{color:\"green\"}:{};return d.createElement(\"span\",{style:r},a)};function G(t){return G=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(e){return typeof e}:function(e){return e&&typeof Symbol==\"function\"&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},G(t)}var it,lt,V;function mr(t){return br(t)||gr(t)||fr(t)||pr()}function pr(){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 fr(t,e){if(t){if(typeof t==\"string\")return Ne(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);if(a===\"Object\"&&t.constructor&&(a=t.constructor.name),a===\"Map\"||a===\"Set\")return Array.from(t);if(a===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Ne(t,e)}}function gr(t){if(typeof Symbol!=\"undefined\"&&t[Symbol.iterator]!=null||t[\"@@iterator\"]!=null)return Array.from(t)}function br(t){if(Array.isArray(t))return Ne(t)}function Ne(t,e){(e==null||e>t.length)&&(e=t.length);for(var a=0,r=new Array(e);a<e;a++)r[a]=t[a];return r}function hr(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function ot(t,e){for(var a=0;a<e.length;a++){var r=e[a];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,Tr(r.key),r)}}function vr(t,e,a){return e&&ot(t.prototype,e),a&&ot(t,a),Object.defineProperty(t,\"prototype\",{writable:!1}),t}function Tr(t){var e=_r(t,\"string\");return G(e)===\"symbol\"?e:String(e)}function _r(t,e){if(G(t)!==\"object\"||t===null)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var r=a.call(t,e||\"default\");if(G(r)!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(e===\"string\"?String:Number)(t)}function Kr(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Super expression must either be null or a function\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\"prototype\",{writable:!1}),e&&Fe(t,e)}function Fe(t,e){return Fe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Fe(t,e)}function Ir(t){var e=Or();return function(){var r=Ie(t),i;if(e){var n=Ie(this).constructor;i=Reflect.construct(r,arguments,n)}else i=r.apply(this,arguments);return Pr(this,i)}}function Pr(t,e){if(e&&(G(e)===\"object\"||typeof e==\"function\"))return e;if(e!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return Dr(t)}function Dr(t){if(t===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return t}function Or(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Ie(t){return Ie=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},Ie(t)}function yt(t,e,a,r,i){var n={};return Object.keys(r).forEach(function(l){n[l]=r[l]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,(\"value\"in n||n.initializer)&&(n.writable=!0),n=a.slice().reverse().reduce(function(l,o){return o(t,e,l)||l},n),i&&n.initializer!==void 0&&(n.value=n.initializer?n.initializer.call(i):void 0,n.initializer=void 0),n.initializer===void 0&&(Object.defineProperty(t,e,n),n=null),n}var Sr=(it=(0,u.o4J)(\"webpdm/Model\"),it(lt=(V=function(t){Kr(a,t);var e=Ir(a);function a(){return hr(this,a),e.apply(this,arguments)}return vr(a,[{key:\"fields\",get:function(){var i=this,n=(0,u.yjm)(this),l=mr(n.Fields.values());return l.filter(function(o){return o.modelId===i.id})}},{key:\"renderModelTitle\",value:function(){var i=(0,u.yjm)(this);return Ke(this.label,i.sys.search,i.sys.showNameOrLabel,this.name)}},{key:\"filterModel\",value:function(){var i=(0,u.yjm)(this),n=i.sys.search;return!n||(i.sys.showNameOrLabel?this.name.indexOf(n)>=0:this.label.indexOf(n)>=0)}}]),a}((0,u.Hnr)({id:(0,u.vgT)(),name:(0,u.vgT)(),label:(0,u.vgT)(\"\"),moduleId:(0,u.vgT)(\"\"),aggregateRoot:(0,u.vgT)(!1),aggregateModelKey:(0,u.vgT)(),belongAggregate:(0,u.vgT)()})),yt(V.prototype,\"renderModelTitle\",[u.ZBq],Object.getOwnPropertyDescriptor(V.prototype,\"renderModelTitle\"),V.prototype),yt(V.prototype,\"filterModel\",[u.ZBq],Object.getOwnPropertyDescriptor(V.prototype,\"filterModel\"),V.prototype),V))||lt);function ae(t){return ae=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(e){return typeof e}:function(e){return e&&typeof Symbol==\"function\"&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},ae(t)}var ct,ut,pe;function Er(t){return Rr(t)||wr(t)||Mr(t)||Cr()}function Cr(){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 Mr(t,e){if(t){if(typeof t==\"string\")return ke(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);if(a===\"Object\"&&t.constructor&&(a=t.constructor.name),a===\"Map\"||a===\"Set\")return Array.from(t);if(a===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return ke(t,e)}}function wr(t){if(typeof Symbol!=\"undefined\"&&t[Symbol.iterator]!=null||t[\"@@iterator\"]!=null)return Array.from(t)}function Rr(t){if(Array.isArray(t))return ke(t)}function ke(t,e){(e==null||e>t.length)&&(e=t.length);for(var a=0,r=new Array(e);a<e;a++)r[a]=t[a];return r}function Ar(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function st(t,e){for(var a=0;a<e.length;a++){var r=e[a];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,Fr(r.key),r)}}function Nr(t,e,a){return e&&st(t.prototype,e),a&&st(t,a),Object.defineProperty(t,\"prototype\",{writable:!1}),t}function Fr(t){var e=kr(t,\"string\");return ae(e)===\"symbol\"?e:String(e)}function kr(t,e){if(ae(t)!==\"object\"||t===null)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var r=a.call(t,e||\"default\");if(ae(r)!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(e===\"string\"?String:Number)(t)}function jr(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Super expression must either be null or a function\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\"prototype\",{writable:!1}),e&&je(t,e)}function je(t,e){return je=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},je(t,e)}function xr(t){var e=Br();return function(){var r=Pe(t),i;if(e){var n=Pe(this).constructor;i=Reflect.construct(r,arguments,n)}else i=r.apply(this,arguments);return Lr(this,i)}}function Lr(t,e){if(e&&(ae(e)===\"object\"||typeof e==\"function\"))return e;if(e!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return Ur(t)}function Ur(t){if(t===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return t}function Br(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Pe(t){return Pe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},Pe(t)}function Hr(t,e,a,r,i){var n={};return Object.keys(r).forEach(function(l){n[l]=r[l]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,(\"value\"in n||n.initializer)&&(n.writable=!0),n=a.slice().reverse().reduce(function(l,o){return o(t,e,l)||l},n),i&&n.initializer!==void 0&&(n.value=n.initializer?n.initializer.call(i):void 0,n.initializer=void 0),n.initializer===void 0&&(Object.defineProperty(t,e,n),n=null),n}var zr=(ct=(0,u.o4J)(\"webpdm/TModule\"),ct(ut=(pe=function(t){jr(a,t);var e=xr(a);function a(){return Ar(this,a),e.apply(this,arguments)}return Nr(a,[{key:\"models\",get:function(){var i=this,n=(0,u.yjm)(this),l=Er(n.Models.values()).filter(function(o){return o.moduleId===i.id});return l}}]),a}((0,u.Hnr)({id:(0,u.vgT)(),name:(0,u.vgT)(),label:(0,u.vgT)()})),Hr(pe.prototype,\"models\",[Q.computed],Object.getOwnPropertyDescriptor(pe.prototype,\"models\"),pe.prototype),pe))||ut),Zr=function(e,a){if(e){a.getNodes().filter(function(l){return!l.isSys}).forEach(function(l){l.getContainer().show()}),a.zoomTo(.8),a.focusItem(e);var r=a.get(\"height\"),i=e.getKeyShape().attr(\"height\"),n=r/2;a.translate(0,-n+i/2+120)}};function ne(t){return ne=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(e){return typeof e}:function(e){return e&&typeof Symbol==\"function\"&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},ne(t)}var dt,mt,I,pt,ft,gt,bt,ht,vt;function ie(t,e,a,r){a&&Object.defineProperty(t,e,{enumerable:a.enumerable,configurable:a.configurable,writable:a.writable,value:a.initializer?a.initializer.call(r):void 0})}function Wr(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function Tt(t,e){for(var a=0;a<e.length;a++){var r=e[a];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,Kt(r.key),r)}}function Gr(t,e,a){return e&&Tt(t.prototype,e),a&&Tt(t,a),Object.defineProperty(t,\"prototype\",{writable:!1}),t}function Qr(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Super expression must either be null or a function\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\"prototype\",{writable:!1}),e&&xe(t,e)}function xe(t,e){return xe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},xe(t,e)}function Vr(t){var e=Jr();return function(){var r=De(t),i;if(e){var n=De(this).constructor;i=Reflect.construct(r,arguments,n)}else i=r.apply(this,arguments);return $r(this,i)}}function $r(t,e){if(e&&(ne(e)===\"object\"||typeof e==\"function\"))return e;if(e!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return w(t)}function w(t){if(t===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return t}function Jr(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function De(t){return De=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},De(t)}function _t(t,e,a){return e=Kt(e),e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function Kt(t){var e=Yr(t,\"string\");return ne(e)===\"symbol\"?e:String(e)}function Yr(t,e){if(ne(t)!==\"object\"||t===null)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var r=a.call(t,e||\"default\");if(ne(r)!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(e===\"string\"?String:Number)(t)}function Ui(t,e){throw new Error(\"Decorating class property failed. Please ensure that proposal-class-properties is enabled and runs after the decorators transform.\")}function k(t,e,a,r,i){var n={};return Object.keys(r).forEach(function(l){n[l]=r[l]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,(\"value\"in n||n.initializer)&&(n.writable=!0),n=a.slice().reverse().reduce(function(l,o){return o(t,e,l)||l},n),i&&n.initializer!==void 0&&(n.value=n.initializer?n.initializer.call(i):void 0,n.initializer=void 0),n.initializer===void 0&&(Object.defineProperty(t,e,n),n=null),n}var Xr=(dt=(0,u.o4J)(\"webpdm/TSys\"),dt(mt=(I=function(t){Qr(a,t);var e=Vr(a);function a(){var r;Wr(this,a);for(var i=arguments.length,n=new Array(i),l=0;l<i;l++)n[l]=arguments[l];return r=e.call.apply(e,[this].concat(n)),_t(w(r),\"onIgnoreEdge\",void 0),_t(w(r),\"onModelDetail\",void 0),ie(w(r),\"setExpandedKeys\",pt,w(r)),ie(w(r),\"setCheckedKeys\",ft,w(r)),ie(w(r),\"toggleTabOrTree\",gt,w(r)),ie(w(r),\"changeModuleValue\",bt,w(r)),ie(w(r),\"setSearch\",ht,w(r)),ie(w(r),\"toggleShowNameOrLabel\",vt,w(r)),r}return Gr(a,[{key:\"setOnIgnoreEdge\",value:function(i){this.onIgnoreEdge=i}},{key:\"setOnModelDetail\",value:function(i){this.onModelDetail=i}},{key:\"toggleArrangeLayout\",value:function(){this.isArrangeLayout=!this.isArrangeLayout}},{key:\"setDisableMiniMap\",value:function(i){this.disableMiniMap=i}},{key:\"setCurrentModel\",value:function(i){var n=+new Date,l=i.length>1?i[1]:i[0],o=(0,u.yjm)(this),c=o.graph.G6Graph;if(c){var y=c.findById(\"model-\"+l);y&&y.toFront()}this.currentModel=l;var s=+new Date}},{key:\"centerCurrentModel\",value:function(i){var n=i.length>1?i[1]:i[0];this.currentModel=n;var l=(0,u.yjm)(this),o=l.graph.G6Graph;if(o){var c=o.findById(\"model-\"+n);c&&c.toFront(),Zr(c,o),l.graph.setZoom(o.getZoom())}}},{key:\"openModel\",value:function(i){var n=(0,u.yjm)(this),l=n.graph.G6Graph;if(l){var o=l.findById(\"model-\"+i);this.onModelDetail&&this.onModelDetail(o.getModel().data)}}},{key:\"onInit\",value:function(){this.toggleShowNameOrLabel=this.toggleShowNameOrLabel.bind(this)}},{key:\"setDagreLayout\",value:function(i){this.dagreLayout=i}}]),a}((0,u.Hnr)({search:(0,u.vgT)(\"\"),layouting:(0,u.vgT)(!1),isArrangeLayout:(0,u.vgT)(!1),expandedKeys:(0,u.vgT)(function(){return[]}),currentModel:(0,u.vgT)(\"\"),currentModule:(0,u.vgT)(\"\"),checkedKeys:(0,u.vgT)(function(){return[]}),showNameOrLabel:(0,u.vgT)(!1),tabOrTree:(0,u.vgT)(!1),snapshot:(0,u.vgT)(!0),height:(0,u.vgT)(\"100%\"),dagreLayout:(0,u.vgT)(!1),intl:(0,u.vgT)(\"CH\"),disableMiniMap:(0,u.vgT)(!1),onlyMode:(0,u.vgT)(!1)})),k(I.prototype,\"toggleArrangeLayout\",[u.ZBq],Object.getOwnPropertyDescriptor(I.prototype,\"toggleArrangeLayout\"),I.prototype),pt=k(I.prototype,\"setExpandedKeys\",[u.ZBq],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){var e=this;return function(a){e.expandedKeys=a}}}),ft=k(I.prototype,\"setCheckedKeys\",[u.ZBq],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){var e=this;return function(a){e.checkedKeys=a}}}),k(I.prototype,\"setDisableMiniMap\",[u.ZBq],Object.getOwnPropertyDescriptor(I.prototype,\"setDisableMiniMap\"),I.prototype),k(I.prototype,\"setCurrentModel\",[u.ZBq],Object.getOwnPropertyDescriptor(I.prototype,\"setCurrentModel\"),I.prototype),k(I.prototype,\"centerCurrentModel\",[u.ZBq],Object.getOwnPropertyDescriptor(I.prototype,\"centerCurrentModel\"),I.prototype),k(I.prototype,\"openModel\",[u.ZBq],Object.getOwnPropertyDescriptor(I.prototype,\"openModel\"),I.prototype),gt=k(I.prototype,\"toggleTabOrTree\",[u.ZBq],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){var e=this;return function(){e.tabOrTree=!e.tabOrTree}}}),bt=k(I.prototype,\"changeModuleValue\",[u.ZBq],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){var e=this;return function(a){e.currentModule=a}}}),ht=k(I.prototype,\"setSearch\",[u.ZBq],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){var e=this;return function(a){e.search=a}}}),vt=k(I.prototype,\"toggleShowNameOrLabel\",[u.ZBq],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){var e=this;return function(){e.showNameOrLabel=!e.showNameOrLabel}}}),k(I.prototype,\"setDagreLayout\",[u.ZBq],Object.getOwnPropertyDescriptor(I.prototype,\"setDagreLayout\"),I.prototype),I))||mt);function le(t){return le=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(e){return typeof e}:function(e){return e&&typeof Symbol==\"function\"&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},le(t)}var It,Pt,C;function qr(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function Dt(t,e){for(var a=0;a<e.length;a++){var r=e[a];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,St(r.key),r)}}function ea(t,e,a){return e&&Dt(t.prototype,e),a&&Dt(t,a),Object.defineProperty(t,\"prototype\",{writable:!1}),t}function ta(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Super expression must either be null or a function\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\"prototype\",{writable:!1}),e&&Le(t,e)}function Le(t,e){return Le=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Le(t,e)}function ra(t){var e=na();return function(){var r=Oe(t),i;if(e){var n=Oe(this).constructor;i=Reflect.construct(r,arguments,n)}else i=r.apply(this,arguments);return aa(this,i)}}function aa(t,e){if(e&&(le(e)===\"object\"||typeof e==\"function\"))return e;if(e!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return Ot(t)}function Ot(t){if(t===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return t}function na(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Oe(t){return Oe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},Oe(t)}function ia(t,e,a){return e=St(e),e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function St(t){var e=la(t,\"string\");return le(e)===\"symbol\"?e:String(e)}function la(t,e){if(le(t)!==\"object\"||t===null)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var r=a.call(t,e||\"default\");if(le(r)!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(e===\"string\"?String:Number)(t)}function fe(t,e,a,r,i){var n={};return Object.keys(r).forEach(function(l){n[l]=r[l]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,(\"value\"in n||n.initializer)&&(n.writable=!0),n=a.slice().reverse().reduce(function(l,o){return o(t,e,l)||l},n),i&&n.initializer!==void 0&&(n.value=n.initializer?n.initializer.call(i):void 0,n.initializer=void 0),n.initializer===void 0&&(Object.defineProperty(t,e,n),n=null),n}var Et=(It=(0,u.o4J)(\"webpdm/TGraph\"),It(Pt=(C=function(t){ta(a,t);var e=ra(a);function a(){var r;qr(this,a);for(var i=arguments.length,n=new Array(i),l=0;l<i;l++)n[l]=arguments[l];return r=e.call.apply(e,[this].concat(n)),ia(Ot(r),\"G6Graph\",void 0),r}return ea(a,[{key:\"setG6Graph\",value:function(i){this.G6Graph=i}},{key:\"setZoom\",value:function(i){this.zoom=i}},{key:\"minZoom\",value:function(i){var n=this.zoom;n>.2?this.zoom=n-.1:this.zoom=n-.02}},{key:\"maxZoom\",value:function(i){var n=this.zoom;n>.2?this.zoom=n+.1:this.zoom=n+.02}},{key:\"container\",value:function(i){i.fitView(0),this.zoom=i.getZoom()}},{key:\"downAsImage\",value:function(){var i=this.G6Graph;if(i){var n=this.G6Graph.getZoom();i.isExporting=!0,i.getNodes().filter(function(y){return!y.isSys}).forEach(function(y){y.getContainer().show(),i.updateItem(y,{isKeySharp:!1,isCardSharp:!1})});var l=i.get(\"width\"),o=i.get(\"height\"),c=i.getCanvasByPoint(l/2,o/2);i.zoomTo(.8),i.downloadFullImage(\"\\u6A21\\u578B\\u56FE\",void 0,{backgroundColor:\"rgb(245, 247, 255)\"}),i.isExporting=void 0,i.zoomTo(n),this.setZoom(n),i.getNodes().filter(function(y){return!y.isSys}).forEach(function(y){y.getContainer().show(),i.updateItem(y,{isKeySharp:n<.4,isCardSharp:!1})})}}},{key:\"actionEdges\",value:function(i){this.G6Graph&&this.G6Graph.getEdges().forEach(function(n){var l=n.getModel();l.target!==\"model-SYS-CENTER-POINT\"&&(n.setState(\"active\",!1),(l.source===\"model-\"+i||l.target===\"model-\"+i)&&(n.setState(\"active\",!0),n.toFront()))})}}]),a}((0,u.Hnr)({zoom:(0,u.vgT)(0)})),fe(C.prototype,\"setZoom\",[u.ZBq],Object.getOwnPropertyDescriptor(C.prototype,\"setZoom\"),C.prototype),fe(C.prototype,\"minZoom\",[u.ZBq],Object.getOwnPropertyDescriptor(C.prototype,\"minZoom\"),C.prototype),fe(C.prototype,\"maxZoom\",[u.ZBq],Object.getOwnPropertyDescriptor(C.prototype,\"maxZoom\"),C.prototype),fe(C.prototype,\"container\",[u.ZBq],Object.getOwnPropertyDescriptor(C.prototype,\"container\"),C.prototype),fe(C.prototype,\"downAsImage\",[u.ZBq],Object.getOwnPropertyDescriptor(C.prototype,\"downAsImage\"),C.prototype),C))||Pt),oa=b(16011),z=b.n(oa),Ue=function(e){var a=e.primaryColor,r={blue:a,white:\"#FFFFFF\",head:a,black:\"black\"},i={naviWidth:370,default:{node:{fill:\"#FFFFFF\",shadowColor:\"rgba(0,0,0,0.2)\",shadowBlur:10,shadowOffsetX:.5,shadowOffsetY:.5,radius:10,lineWidth:4,opacity:.9,stroke:\"rgba(0,0,0,0.01)\"},edge:{lineWidth:2,size:2,lineAppendWidth:4,endArrow:{path:z().Arrow.triangleRect(10,10,10,2,4)},startArrow:{path:z().Arrow.circle(3,3),d:6},radius:5,labelCfg:{autoRotate:!0,style:{fontSize:34}},stroke:a}},selected:{node:{stroke:\"rgba(11,108,149)\",shadowColor:\"rgba(11,108,149)\"}},isNoModule:{node:{opacity:.2}},fieldRelation:{node:{fill:\"#FFFFFF\",shadowColor:\"rgba(0,0,0,0.2)\",shadowBlur:10,shadowOffsetX:.5,shadowOffsetY:.5,radius:10,lineWidth:4,opacity:.9,stroke:\"rgba(0,0,0,0.01)\"},edge:{lineWidth:2,size:2,lineAppendWidth:4,endArrow:{path:z().Arrow.triangle(5,10,10),d:10},startArrow:{path:z().Arrow.circle(3,3),d:6},radius:5,labelCfg:{autoRotate:!0,style:{fontSize:34}},stroke:a}}};return{colors:r,style:i}};function ge(t){return ge=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(e){return typeof e}:function(e){return e&&typeof Symbol==\"function\"&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},ge(t)}function Ct(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),a.push.apply(a,r)}return a}function Mt(t){for(var e=1;e<arguments.length;e++){var a=arguments[e]!=null?arguments[e]:{};e%2?Ct(Object(a),!0).forEach(function(r){ya(t,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):Ct(Object(a)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(a,r))})}return t}function ya(t,e,a){return e=ca(e),e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function ca(t){var e=ua(t,\"string\");return ge(e)===\"symbol\"?e:String(e)}function ua(t,e){if(ge(t)!==\"object\"||t===null)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var r=a.call(t,e||\"default\");if(ge(r)!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(e===\"string\"?String:Number)(t)}function oe(t){return pa(t)||ma(t)||da(t)||sa()}function sa(){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 da(t,e){if(t){if(typeof t==\"string\")return Be(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);if(a===\"Object\"&&t.constructor&&(a=t.constructor.name),a===\"Map\"||a===\"Set\")return Array.from(t);if(a===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Be(t,e)}}function ma(t){if(typeof Symbol!=\"undefined\"&&t[Symbol.iterator]!=null||t[\"@@iterator\"]!=null)return Array.from(t)}function pa(t){if(Array.isArray(t))return Be(t)}function Be(t,e){(e==null||e>t.length)&&(e=t.length);for(var a=0,r=new Array(e);a<e;a++)r[a]=t[a];return r}var wt=function(e){return e>=20?e:20},fa=function(e){var a=+new Date,r=Ue({primaryColor:e.Ui.themeColor}),i=r.style,n=r.colors,l=oe(e.Models.values()).filter(function(o){return!e.sys.dagreLayout||e.sys.dagreLayout&&o.aggregateModelKey}).map(function(o){return{id:\"model-\"+o.id,type:\"console-model-Node\",isKeySharp:e.graph.zoom<=.4,visible:!!e.sys.checkedKeys.find(function(c){return c===o.id}),selected:o.id===e.sys.currentModel,showNameOrLabel:e.sys.showNameOrLabel,config:{width:300,headerHeight:48,fieldHeight:32,labelSize:14,styleConfig:i,colors:n},data:{moduleKey:o.moduleId,label:o.label,fields:o.fields.map(function(c){return Mt(Mt({},c),{},{relationModel:c.relationModel})}),key:o.id,name:o.name,tag:\"aggregate\",aggregateRoot:o.aggregateRoot,aggregateModelKey:o.aggregateModelKey,belongAggregate:o.belongAggregate,nodeSize:(48+wt(o.fields.length)*48)/6*6/6},themeColor:n.blue,darkness:e.Ui.darkness,size:(48+wt(o.fields.length)*48)/6*6}}).filter(function(o){return o.visible});return l.length>0?l.concat([ga()]):l},ga=function(){return{id:\"model-SYS-CENTER-POINT\",type:\"circle\",isSys:!0,visible:!0,isKeySharp:!0,size:10,style:{opacity:0}}},He={ToOne:\"1:1\",ToMany:\"1:n\",lookup:\"\\u67E5\\u627E\",toOne:\"1:1\",toMany:\"1:n\",Lookup:\"\\u67E5\\u627E\"},ba=function(e){var a=Ue({primaryColor:e.Ui.themeColor}),r=a.style,i=oe(e.Models.values()).reduce(function(n,l){if(!e.sys.checkedKeys.find(function(y){return y===l.id}))return n;var o={key:\"model-\"+l.id+\"~model-SYS-CENTER-POINT\",source:\"model-\"+l.id,isSys:!0,target:\"model-SYS-CENTER-POINT\",type:\"console-line\",style:{opacity:0}},c=l.fields.reduce(function(y,s,f){var g=y;if(Array.isArray(s.typeMeta))var _=s.typeMeta.forEach(function(O){var Z=O.type===\"Relation\"&&(O==null?void 0:O.relationModel);if(Z){if(e.sys.onIgnoreEdge&&e.sys.onIgnoreEdge(s))return y;var E=e.findModelByName(O.relationModel);if(!E||!e.sys.checkedKeys.find(function(W){return W===E.id}))return y;var ee=!0,v=l.fields.length,m=ee?2+f+v:f+2,P=oe(e.Models.values()).find(function(W){return W.id===E.id}),$=(P==null?void 0:P.fields.findIndex(function(W){return W.name===O.field}))+2,te={key:\"model-\"+l.id+\"~model-\"+E.id,source:\"model-\"+l.id,target:\"model-\"+E.id,sourceAnchor:m,targetAnchor:$,fieldIndex:f,tooltip:\"<div>\\u4ECE <span class='text'>\".concat(E==null?void 0:E.label,\"</span> \\u5230 <span class='text'>\").concat(l==null?void 0:l.label,\"=> \").concat(O.field,\"</span> \").concat(He[s.type]||s.type,\" \\u5173\\u7CFB</div>\"),fieldsLength:v,style:r.fieldRelation.edge,type:\"console-line\",labelAutoRotate:!0,loopCfg:{clockwise:!0,dist:100}};return g.push(te),g}else return g});else{var K,p=s.typeMeta&&s.typeMeta.type===\"Relation\"&&((K=s.typeMeta)===null||K===void 0?void 0:K.relationModel);if(p){if(e.sys.onIgnoreEdge&&e.sys.onIgnoreEdge(s))return y;var h=e.findModelByName(s.typeMeta.relationModel);if(!h||!e.sys.checkedKeys.find(function(O){return O===h.id}))return y;var S=!0,R=l.fields.length,F=S?2+f+R:f+2;return[].concat(oe(y),[{key:\"model-\"+l.id+\"~model-\"+h.id,source:\"model-\"+l.id,target:\"model-\"+h.id,sourceAnchor:F,targetAnchor:l.id===h.id?F-1:void 0,fieldIndex:f,tooltip:\"<div>\\u4ECE <span class='text'>\".concat(h==null?void 0:h.label,\"</span> \\u5230 <span class='text'>\").concat(l==null?void 0:l.label,\"</span> \").concat(He[s.type]||s.type,\" \\u5173\\u7CFB</div>\"),fieldsLength:R,style:r.default.edge,type:\"console-line\",label:He[s.type]||s.type,labelAutoRotate:!0,loopCfg:{clockwise:!0,dist:100},labelCfg:{style:{stroke:\"#fff\",lineWidth:30}}}])}}return y},[]);return[].concat(oe(n),oe(c),[o])},[]);return i.filter(function(n){return!!n})};function ye(t){return ye=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(e){return typeof e}:function(e){return e&&typeof Symbol==\"function\"&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},ye(t)}var Rt,At,U;function Nt(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),a.push.apply(a,r)}return a}function Ft(t){for(var e=1;e<arguments.length;e++){var a=arguments[e]!=null?arguments[e]:{};e%2?Nt(Object(a),!0).forEach(function(r){x(t,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):Nt(Object(a)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(a,r))})}return t}function ha(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function kt(t,e){for(var a=0;a<e.length;a++){var r=e[a];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,jt(r.key),r)}}function va(t,e,a){return e&&kt(t.prototype,e),a&&kt(t,a),Object.defineProperty(t,\"prototype\",{writable:!1}),t}function Ta(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Super expression must either be null or a function\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\"prototype\",{writable:!1}),e&&ze(t,e)}function ze(t,e){return ze=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},ze(t,e)}function _a(t){var e=Ia();return function(){var r=Se(t),i;if(e){var n=Se(this).constructor;i=Reflect.construct(r,arguments,n)}else i=r.apply(this,arguments);return Ka(this,i)}}function Ka(t,e){if(e&&(ye(e)===\"object\"||typeof e==\"function\"))return e;if(e!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return j(t)}function j(t){if(t===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return t}function Ia(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},Se(t)}function x(t,e,a){return e=jt(e),e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function jt(t){var e=Pa(t,\"string\");return ye(e)===\"symbol\"?e:String(e)}function Pa(t,e){if(ye(t)!==\"object\"||t===null)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var r=a.call(t,e||\"default\");if(ye(r)!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(e===\"string\"?String:Number)(t)}function Ze(t,e,a,r,i){var n={};return Object.keys(r).forEach(function(l){n[l]=r[l]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,(\"value\"in n||n.initializer)&&(n.writable=!0),n=a.slice().reverse().reduce(function(l,o){return o(t,e,l)||l},n),i&&n.initializer!==void 0&&(n.value=n.initializer?n.initializer.call(i):void 0,n.initializer=void 0),n.initializer===void 0&&(Object.defineProperty(t,e,n),n=null),n}var xt=(Rt=(0,u.o4J)(\"webpdm/TUi\"),Rt(At=(U=function(t){Ta(a,t);var e=_a(a);function a(){var r;ha(this,a);for(var i=arguments.length,n=new Array(i),l=0;l<i;l++)n[l]=arguments[l];return r=e.call.apply(e,[this].concat(n)),x(j(r),\"Tree\",void 0),x(j(r),\"Input\",void 0),x(j(r),\"Button\",void 0),x(j(r),\"Dropdown\",void 0),x(j(r),\"Menu\",void 0),x(j(r),\"Select\",void 0),x(j(r),\"Tooltip\",void 0),x(j(r),\"Popover\",void 0),x(j(r),\"IconRenders\",{}),x(j(r),\"isToogle\",!1),x(j(r),\"disableIcons\",[]),r}return va(a,[{key:\"registComponents\",value:function(i,n,l){var o=this;i&&Object.keys(i).forEach(function(c){o[c]=i[c]}),n&&(this.IconRenders=Ft(Ft({},this.IconRenders),n)),l&&(this.disableIcons=l)}},{key:\"toggle\",value:function(i){this.registComponents(this.isToogle?void 0:i),this.update=+new Date,this.isToogle=!this.isToogle}},{key:\"setThemeColor\",value:function(i){this.themeColor=i}},{key:\"setDarkness\",value:function(i){this.darkness=i}}]),a}((0,u.Hnr)({update:(0,u.vgT)(+new Date),themeColor:(0,u.vgT)(\"black\"),selectedColor:(0,u.vgT)(\"rgba(11,108,149)\"),darkness:(0,u.vgT)(!0)})),Ze(U.prototype,\"toggle\",[u.ZBq],Object.getOwnPropertyDescriptor(U.prototype,\"toggle\"),U.prototype),Ze(U.prototype,\"setThemeColor\",[u.ZBq],Object.getOwnPropertyDescriptor(U.prototype,\"setThemeColor\"),U.prototype),Ze(U.prototype,\"setDarkness\",[u.ZBq],Object.getOwnPropertyDescriptor(U.prototype,\"setDarkness\"),U.prototype),U))||At),Da={EN:{\\u5B9A\\u4F4D\\u6A21\\u578B:\"location model\",\\u67E5\\u770B:\"detail\",\\u6240\\u6709:\"all\",\\u9009\\u62E9\\u6240\\u6709:\"select all\",\\u6E05\\u9664\\u6240\\u6709:\"clear all\",\\u663E\\u793A:\"display\",\\u540D\\u79F0:\"name\",\\u6807\\u7B7E:\"label\",\\u5206\\u7C7B:\"category\",\\u6A21\\u5F0F:\"model\",\\u64A4\\u9500:\"undo\",\\u91CD\\u505A:\"redo\",\\u653E\\u5927:\"max\",\\u7F29\\u5C0F:\"min\",\\u5168\\u666F:\"full screen\",\\u5237\\u65B0\\u6570\\u636E:\"refresh data\",\\u4E0B\\u8F7D\\u56FE\\u7247:\"download image\",\\u5207\\u6362\\u5C42\\u6B21\\u5E03\\u5C40:\"togglr dagre layout\",\\u5207\\u6362\\u5173\\u8054\\u5E03\\u5C40:\"toggle relation layout\",\\u5207\\u6362\\u5E95\\u8272:\"toggle color\",\\u70B9\\u51FB:\"clock\",\\u5173\\u95ED:\"close\",\\u6253\\u5F00:\"open\",\\u989C\\u8272\\u9762\\u677F:\"color panel\"}};function ce(t){return ce=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(e){return typeof e}:function(e){return e&&typeof Symbol==\"function\"&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},ce(t)}var Lt,Ut,T,Bt;function Oa(t,e,a,r){a&&Object.defineProperty(t,e,{enumerable:a.enumerable,configurable:a.configurable,writable:a.writable,value:a.initializer?a.initializer.call(r):void 0})}function Sa(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function Ht(t,e){for(var a=0;a<e.length;a++){var r=e[a];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,Zt(r.key),r)}}function Ea(t,e,a){return e&&Ht(t.prototype,e),a&&Ht(t,a),Object.defineProperty(t,\"prototype\",{writable:!1}),t}function Ca(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Super expression must either be null or a function\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\"prototype\",{writable:!1}),e&&We(t,e)}function We(t,e){return We=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},We(t,e)}function Ma(t){var e=Ra();return function(){var r=Ee(t),i;if(e){var n=Ee(this).constructor;i=Reflect.construct(r,arguments,n)}else i=r.apply(this,arguments);return wa(this,i)}}function wa(t,e){if(e&&(ce(e)===\"object\"||typeof e==\"function\"))return e;if(e!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return Y(t)}function Y(t){if(t===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return t}function Ra(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Ee(t){return Ee=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},Ee(t)}function Bi(t,e){throw new Error(\"Decorating class property failed. Please ensure that proposal-class-properties is enabled and runs after the decorators transform.\")}function N(t,e,a,r,i){var n={};return Object.keys(r).forEach(function(l){n[l]=r[l]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,(\"value\"in n||n.initializer)&&(n.writable=!0),n=a.slice().reverse().reduce(function(l,o){return o(t,e,l)||l},n),i&&n.initializer!==void 0&&(n.value=n.initializer?n.initializer.call(i):void 0,n.initializer=void 0),n.initializer===void 0&&(Object.defineProperty(t,e,n),n=null),n}function zt(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),a.push.apply(a,r)}return a}function Ce(t){for(var e=1;e<arguments.length;e++){var a=arguments[e]!=null?arguments[e]:{};e%2?zt(Object(a),!0).forEach(function(r){be(t,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):zt(Object(a)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(a,r))})}return t}function be(t,e,a){return e=Zt(e),e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function Zt(t){var e=Aa(t,\"string\");return ce(e)===\"symbol\"?e:String(e)}function Aa(t,e){if(ce(t)!==\"object\"||t===null)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var r=a.call(t,e||\"default\");if(ce(r)!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(e===\"string\"?String:Number)(t)}function B(t){return ja(t)||ka(t)||Fa(t)||Na()}function Na(){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 Fa(t,e){if(t){if(typeof t==\"string\")return Ge(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);if(a===\"Object\"&&t.constructor&&(a=t.constructor.name),a===\"Map\"||a===\"Set\")return Array.from(t);if(a===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Ge(t,e)}}function ka(t){if(typeof Symbol!=\"undefined\"&&t[Symbol.iterator]!=null||t[\"@@iterator\"]!=null)return Array.from(t)}function ja(t){if(Array.isArray(t))return Ge(t)}function Ge(t,e){(e==null||e>t.length)&&(e=t.length);for(var a=0,r=new Array(e);a<e;a++)r[a]=t[a];return r}var Wt=function t(e,a){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],i=e.find(function(c){return c.name===a}),n=i?[].concat(B(r),[a]):r,l=i.aggregateModelKey&&i.aggregateModelKey!==a,o=l?t(e,i.aggregateModelKey,n):n;return o},Hi=function(e,a){var r=a.model,i=Wt(e.models,r,[]),n=e.models.filter(function(l){return l.key===r||i.indexOf(l.aggregateModelKey)>=0}).map(function(l){return\"model-\"+l.key});return Ce(Ce({},e),{},{checkedKeys:n,currentModel:r,isArrangeLayout:!0})};function xa(){return((1+Math.random())*65536|0).toString(16).substring(1)}function Qe(){return xa()}function Gt(){return(0,u.vgT)(function(){return(0,u.xhb)()})}var La=(Lt=(0,u.o4J)(\"webpdm/RootStore\"),Lt(Ut=(T=function(t){Ca(a,t);var e=Ma(a);function a(){var r;Sa(this,a);for(var i=arguments.length,n=new Array(i),l=0;l<i;l++)n[l]=arguments[l];return r=e.call.apply(e,[this].concat(n)),be(Y(r),\"undoManager\",void 0),be(Y(r),\"Fields\",new Map),be(Y(r),\"onReload\",void 0),be(Y(r),\"onIntl\",void 0),Oa(Y(r),\"setCheckedKeys\",Bt,Y(r)),r}return Ea(a,[{key:\"setOnReload\",value:function(i){this.onReload=i}},{key:\"intl\",value:function(i){var n=this.onIntl&&this.onIntl(i);if(n)return n;var l=Da[this.sys.intl];return l&&l[i]||i}},{key:\"setUndoManager\",value:function(i){this.undoManager=i}},{key:\"setFields\",value:function(i){this.Fields=i}},{key:\"moduleList\",get:function(){return B(this.Modules.values())}},{key:\"Nodes\",get:function(){var i=fa(this);return i}},{key:\"edges\",get:function(){return ba(this)}},{key:\"arrangeShow\",value:function(i){var n=B(this.Models.values()),l=Wt(n,i,[]),o=n.filter(function(c){return c.name===i||l.indexOf(c.aggregateModelKey)>=0}).map(function(c){return c.id});this.sys.setCheckedKeys(o)}},{key:\"findModelByName\",value:function(i){return B(this.Models.values()).find(function(n){return n.name===i})}},{key:\"renderModelTitle\",value:function(i){return Ke(i.label,this.sys.search,this.sys.showNameOrLabel,i.name)}},{key:\"initData\",value:function(i,n,l){var o=this,c=+new Date,y={};n.forEach(function(p){var h=Qe().toString();o.Modules.set(h,new zr({id:h,label:p.label,name:p.name})),y[p.name]=h,o.sys.expandedKeys.push(h)});var s=+new Date,f=[],g={};i.forEach(function(p){var h=Qe().toString();o.Models.set(h,new Sr({id:h,belongAggregate:p.belongAggregate,aggregateModelKey:p.aggregateModelKey,aggregateRoot:p.aggregateRoot,label:p.label,name:p.name,moduleId:y[p.module]||\"\"})),g[p.name]=h,f.push(h)}),i.forEach(function(p){p.fields.forEach(function(h){var S,R=Qe().toString(),F=h==null||(S=h.typeMeta)===null||S===void 0?void 0:S.relationModel,O=F?o.Models.get(g[F]):void 0;o.Fields.set(R,{id:R,label:h.label,name:h.name,type:h.type||\"string\",modelId:g[p.name],typeMeta:h.typeMeta,relationModel:O&&(0,u.vMv)(O)}),O&&console.log(O.name)})});var _=+new Date;this.sys.setCheckedKeys(f),l!=null&&l.height&&(this.sys.height=l.height);var K=+new Date}},{key:\"reload\",value:function(){if(this.onReload){var i=this.onReload();i&&(this.Models.clear(),this.Modules.clear(),this.Fields.clear(),this.initData(i.models,i.modules))}}},{key:\"undo\",value:function(){this.undoManager.undo()}},{key:\"redo\",value:function(){this.undoManager.redo()}},{key:\"checkAllFun\",value:function(){var i,n,l=this.sys.currentModule,o=l?(i=this.Modules.get(l))===null||i===void 0||(n=i.models)===null||n===void 0?void 0:n.map(function(c){return c.id}):B(this.Models.values()).map(function(c){return c.id});this.sys.checkedKeys=(0,M.union)(this.sys.checkedKeys,o)}},{key:\"checkAllCancleFun\",value:function(){var i,n,l=this.sys.currentModule;l||(this.sys.checkedKeys=[]);var o=(i=this.Modules.get(l))===null||i===void 0||(n=i.models)===null||n===void 0?void 0:n.map(function(c){return c.id});this.sys.checkedKeys=B(M.without.apply(void 0,[B(this.sys.checkedKeys)].concat(B(o||[]))))}},{key:\"onInit\",value:function(){this.intl=this.intl.bind(this)}}]),a}((0,u.Hnr)({sys:(0,u.vgT)(),Models:Gt(),Modules:Gt(),graph:(0,u.vgT)(function(){return new Et({})}),Ui:(0,u.vgT)(function(){return new xt({})})})),N(T.prototype,\"moduleList\",[Q.computed],Object.getOwnPropertyDescriptor(T.prototype,\"moduleList\"),T.prototype),N(T.prototype,\"Nodes\",[Q.computed],Object.getOwnPropertyDescriptor(T.prototype,\"Nodes\"),T.prototype),N(T.prototype,\"edges\",[Q.computed],Object.getOwnPropertyDescriptor(T.prototype,\"edges\"),T.prototype),N(T.prototype,\"arrangeShow\",[u.ZBq],Object.getOwnPropertyDescriptor(T.prototype,\"arrangeShow\"),T.prototype),N(T.prototype,\"findModelByName\",[u.ZBq],Object.getOwnPropertyDescriptor(T.prototype,\"findModelByName\"),T.prototype),N(T.prototype,\"renderModelTitle\",[u.ZBq],Object.getOwnPropertyDescriptor(T.prototype,\"renderModelTitle\"),T.prototype),N(T.prototype,\"initData\",[u.ZBq],Object.getOwnPropertyDescriptor(T.prototype,\"initData\"),T.prototype),N(T.prototype,\"reload\",[u.ZBq],Object.getOwnPropertyDescriptor(T.prototype,\"reload\"),T.prototype),N(T.prototype,\"undo\",[u.ZBq],Object.getOwnPropertyDescriptor(T.prototype,\"undo\"),T.prototype),N(T.prototype,\"redo\",[u.ZBq],Object.getOwnPropertyDescriptor(T.prototype,\"redo\"),T.prototype),N(T.prototype,\"checkAllFun\",[u.ZBq],Object.getOwnPropertyDescriptor(T.prototype,\"checkAllFun\"),T.prototype),N(T.prototype,\"checkAllCancleFun\",[u.ZBq],Object.getOwnPropertyDescriptor(T.prototype,\"checkAllCancleFun\"),T.prototype),Bt=N(T.prototype,\"setCheckedKeys\",[u.ZBq],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){var e=this;return function(a){if(!e.sys.tabOrTree)e.sys.checkedKeys=a;else{var r=B(e.Models.values()).filter(function(n){return!e.sys.currentModule||n.moduleId===e.sys.currentModule}).map(function(n){return n.id}),i=M.without.apply(void 0,[r].concat(B(a)));e.sys.checkedKeys=(0,M.union)(M.without.apply(void 0,[e.sys.checkedKeys].concat(B(i))),a)}}}}),T))||Ut),Ua=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{sys:{},graph:{},components:{},Ui:{},IconRenders:void 0,disableIcons:[]},a=new xt(e.Ui);return a.registComponents(e.components,e.IconRenders,e.disableIcons),new La({$modelId:\"webpdm\",sys:new Xr(Ce({isArrangeLayout:!1,layouting:!0,search:\"\"},e.sys)),Ui:a,graph:new Et(Ce({},e.graph))})};function he(t){return he=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(e){return typeof e}:function(e){return e&&typeof Symbol==\"function\"&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},he(t)}function Qt(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),a.push.apply(a,r)}return a}function Me(t){for(var e=1;e<arguments.length;e++){var a=arguments[e]!=null?arguments[e]:{};e%2?Qt(Object(a),!0).forEach(function(r){Ba(t,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):Qt(Object(a)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(a,r))})}return t}function Ba(t,e,a){return e=Ha(e),e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function Ha(t){var e=za(t,\"string\");return he(e)===\"symbol\"?e:String(e)}function za(t,e){if(he(t)!==\"object\"||t===null)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var r=a.call(t,e||\"default\");if(he(r)!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(e===\"string\"?String:Number)(t)}var Vt=(0,d.createContext)(null),Za=Vt.Provider;function X(){var t=(0,d.useContext)(Vt);if(t===null)throw new Error(\"Store cannot be null, please add a context provider\");return t}var Wa=function(e){var a,r,i=e==null||(a=e.sys)===null||a===void 0?void 0:a.onIgnoreEdge,n=Me(Me({},e),{},{sys:Me(Me({},e.sys),{},{onIgnoreEdge:void 0,onModelDetail:e.onModelDetail})}),l=Ua(n);return l.setOnReload(e.onReload),l.onIntl=e.onIntl,l.sys.setOnModelDetail(e==null||(r=e.sys)===null||r===void 0?void 0:r.onModelDetail),i&&(l.sys.onIgnoreEdge=i),l.setUndoManager((0,u.GXc)(l)),l},we=b(15751),Ga=b(84875),$t=b.n(Ga),zi=b(90795);function Qa(t){return Ya(t)||Ja(t)||$a(t)||Va()}function Va(){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 $a(t,e){if(t){if(typeof t==\"string\")return Ve(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);if(a===\"Object\"&&t.constructor&&(a=t.constructor.name),a===\"Map\"||a===\"Set\")return Array.from(t);if(a===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Ve(t,e)}}function Ja(t){if(typeof Symbol!=\"undefined\"&&t[Symbol.iterator]!=null||t[\"@@iterator\"]!=null)return Array.from(t)}function Ya(t){if(Array.isArray(t))return Ve(t)}function Ve(t,e){(e==null||e>t.length)&&(e=t.length);for(var a=0,r=new Array(e);a<e;a++)r[a]=t[a];return r}function $e(t){return $e=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(e){return typeof e}:function(e){return e&&typeof Symbol==\"function\"&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},$e(t)}var Xa=function(e){var a=e.setup,r=e.displayName;return a.displayName=r,a},Zi=function(e){var a=e.setup,r=e.displayName;return observer(Xa({setup:a,displayName:r}))},Je=function(e){var a=e.useLocal,r=e.useSetup,i=e.render,n=e.displayName,l=(0,we.Pi)(i),o=l;return o.displayName=n,o},qa=function(e,a,r){var i=a||null,n=r||2;return JSON.stringify(e,i,n)},en=function(){var e=[],a=[];return function(r,i){if($e(i)===\"object\"&&i!==null){if(isValidElement(i))return reactString(i);var n=e.indexOf(i);if(n!==-1)return\"[Circular \".concat(a[n],\"]\");e.push(i),a.push(r||\"root\")}return i}},Wi=function(e,a,r){var i=a||en(),n=JSON.stringify(e,i,r),l=JSON.parse(n);return React.createElement(\"pre\",null,React.createElement(\"code\",null,qa(l)))};function Gi(t){return Qa(t.values())}var Qi=function(e){return e},tn=function(e){var a=parseFloat(e);if(isNaN(a))return 0;a=Math.round(e*100)/100;var r=a.toString(),i=r.indexOf(\".\");for(i<0&&(i=r.length,r+=\".\");r.length<=i+2;)r+=\"0\";return r>=100?100:r},rn=b(1409),an=b(56461);function Jt(t,e){return on(t)||ln(t,e)||Yt(t,e)||nn()}function nn(){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 ln(t,e){var a=t==null?null:typeof Symbol!=\"undefined\"&&t[Symbol.iterator]||t[\"@@iterator\"];if(a!=null){var r,i,n,l,o=[],c=!0,y=!1;try{if(n=(a=a.call(t)).next,e===0){if(Object(a)!==a)return;c=!1}else for(;!(c=(r=n.call(a)).done)&&(o.push(r.value),o.length!==e);c=!0);}catch(s){y=!0,i=s}finally{try{if(!c&&a.return!=null&&(l=a.return(),Object(l)!==l))return}finally{if(y)throw i}}return o}}function on(t){if(Array.isArray(t))return t}function ue(t){return un(t)||cn(t)||Yt(t)||yn()}function yn(){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 Yt(t,e){if(t){if(typeof t==\"string\")return Ye(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);if(a===\"Object\"&&t.constructor&&(a=t.constructor.name),a===\"Map\"||a===\"Set\")return Array.from(t);if(a===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Ye(t,e)}}function cn(t){if(typeof Symbol!=\"undefined\"&&t[Symbol.iterator]!=null||t[\"@@iterator\"]!=null)return Array.from(t)}function un(t){if(Array.isArray(t))return Ye(t)}function Ye(t,e){(e==null||e>t.length)&&(e=t.length);for(var a=0,r=new Array(e);a<e;a++)r[a]=t[a];return r}console.log(\"hezk test =======\");var Xt=function(e,a,r){return d.createElement(r,{data:{title:a.renderModelTitle(e),options:[{title:d.createElement(\"span\",null,\" \",a.intl(\"\\u5B9A\\u4F4D\\u6A21\\u578B\")),key:1,click:function(n){a.sys.centerCurrentModel([e.id]),n.stopPropagation()}},{key:2,title:d.createElement(\"span\",null,\" \",a.intl(\"\\u67E5\\u770B\")),click:function(n){a.sys.openModel(e.id),n.stopPropagation()}}]}})},sn=Je({render:function(e){var a=X(),r=a.intl,i=a.Ui,n=i.Input,l=i.Button,o=i.Dropdown,c=i.Menu,y=i.Select,s=i.Tree,f=s,g=f.TreeNode,_=f.OptionBuilder,K=(0,d.useMemo)(function(){return a.sys.tabOrTree?ue(a.Models.values()).filter(function(m){return(!a.sys.currentModule||m.moduleId===a.sys.currentModule)&&m.filterModel()}).map(function(m){return d.createElement(g,{key:m.id,title:Xt(m,a,_)})}):a.moduleList.map(function(m){return d.createElement(g,{title:a.sys.showNameOrLabel?m.name:m.label,key:m.id},ue(m.models.values()).filter(function(P){return P.filterModel()}).map(function(P){return d.createElement(g,{key:P.id,title:Xt(P,a,_)})}))})},[a.sys.tabOrTree,a.moduleList,a.sys.showNameOrLabel,a.sys.currentModule,a.sys.search]);(0,d.useEffect)(function(){},[a.Ui.update]);var p=dn(),h=p.search,S=p.onExpand,R=p.checkAllFun,F=p.checkAllCancleFun,O=p.toggleShowNameOrLabel,Z=p.toggleTabOrTree,E=p.Sys,ee=p.changeModuleValue,v=p.setSearch;return d.createElement(\"div\",{className:\"console-models-tree\",style:{height:a.sys.height}},d.createElement(\"div\",{className:\"header\"},d.createElement(\"div\",{className:\"console-erd-search\"},d.createElement(n,{allowClear:!0,value:h,size:\"small\",onChange:function(P){return v(P.target.value)},addonAfter:E.tabOrTree&&d.createElement(y,{size:\"small\",defaultValue:E.currentModule,value:E.currentModule,className:\"select-after\",onChange:ee},[d.createElement(y.Option,{value:\"\"},r(\"\\u6240\\u6709\"))].concat(ue(ue(a.Modules.values()).map(function(m){return d.createElement(y.Option,{value:m.id,key:m.id},m.label)}))))})),d.createElement(\"div\",{className:\"console-erd-search btns\"},a.sys.tabOrTree&&d.createElement(l,{size:\"small\",type:\"text\",onClick:R},r(\"\\u9009\\u62E9\\u6240\\u6709\")),a.sys.tabOrTree&&d.createElement(l,{size:\"small\",type:\"text\",onClick:F},r(\"\\u6E05\\u9664\\u6240\\u6709\")),d.createElement(l,{size:\"small\",type:\"text\",onClick:O},r(\"\\u663E\\u793A\"),a.sys.showNameOrLabel?r(\"\\u6807\\u7B7E\"):r(\"\\u540D\\u79F0\")),!E.onlyMode&&d.createElement(o,{className:\"right\",overlay:d.createElement(c,null,d.createElement(c.Item,{key:\"1\",onClick:Z},E.tabOrTree?r(\"\\u6811\\u5F62\"):r(\"\\u5206\\u7C7B\"),\" \",r(\"\\u6A21\\u5F0F\")))},d.createElement(\"span\",null,d.createElement(rn.Z,null))))),d.createElement(\"div\",{className:\"navitree-warp\"},d.createElement(an.ZP,{autoHide:!0,autoHeight:!0,autoHideTimeout:1e3,autoHideDuration:200,autoHeightMin:\"100%\",autoHeightMax:\"100%\"},d.createElement(s,{showIcon:!1,className:\"console-models-tree-tree\",onSelect:a.sys.setCurrentModel.bind(a.sys),selectedKeys:[a.sys.currentModel],checkedKeys:ue(a.sys.checkedKeys),onCheck:a.setCheckedKeys.bind(a),checkable:!0,onExpand:S,multiple:!0,expandedKeys:ue(a.sys.expandedKeys)},K))))},displayName:\"navi\"}),dn=function(){var e=X(),a=(0,d.useState)(e.sys.search),r=Jt(a,2),i=r[0],n=r[1],l=(0,d.useState)(!1),o=Jt(l,2),c=o[0],y=o[1],s=(0,d.useCallback)(function(f){y(!0),n(f),(0,M.debounce)(function(){e.sys.setSearch(f),y(!1)},500)()},[e.sys.setSearch,n]);return{search:i,get modules(){return e.moduleList},onExpand:function(g){e.sys.setExpandedKeys(g)},get expandedKeys(){return e.sys.expandedKeys},checkAllFun:function(){return e.checkAllFun()},checkAllCancleFun:function(){return e.checkAllCancleFun()},toggleShowNameOrLabel:e.sys.toggleShowNameOrLabel,toggleTabOrTree:e.sys.toggleTabOrTree.bind(e.sys),get Sys(){return e.sys},changeModuleValue:e.sys.changeModuleValue.bind(e.sys),setSearch:s}},mn=b(39671),Re={ToOne:\"1:1\",ToMany:\"1:n\"};function pn(t,e){return hn(t)||bn(t,e)||gn(t,e)||fn()}function fn(){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 gn(t,e){if(t){if(typeof t==\"string\")return qt(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);if(a===\"Object\"&&t.constructor&&(a=t.constructor.name),a===\"Map\"||a===\"Set\")return Array.from(t);if(a===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return qt(t,e)}}function qt(t,e){(e==null||e>t.length)&&(e=t.length);for(var a=0,r=new Array(e);a<e;a++)r[a]=t[a];return r}function bn(t,e){var a=t==null?null:typeof Symbol!=\"undefined\"&&t[Symbol.iterator]||t[\"@@iterator\"];if(a!=null){var r,i,n,l,o=[],c=!0,y=!1;try{if(n=(a=a.call(t)).next,e===0){if(Object(a)!==a)return;c=!1}else for(;!(c=(r=n.call(a)).done)&&(o.push(r.value),o.length!==e);c=!0);}catch(s){y=!0,i=s}finally{try{if(!c&&a.return!=null&&(l=a.return(),Object(l)!==l))return}finally{if(y)throw i}}return o}}function hn(t){if(Array.isArray(t))return t}var q=function(e,a,r){r.config.styleConfig[e]&&Object.entries(r.config.styleConfig[e].node).forEach(function(i){var n=pn(i,2),l=n[0],o=n[1];a.attr(l,o)})},vn=function(e){for(var a=0;a<e.length;a++){var r=e.charCodeAt(a);if(r<0||r>128)return!1}return!0},Vi=function(e){if(vn(e))return Tn(e);var a=/.{5}/g,r=e.match(a)||[e];return r.push(e.substring(r.join(\"\").length)),r},Tn=function(e){var a=new RegExp(\"(?<!^)([A-Z]\",\"g\"),r=e.replace(a,\"-$1\");return r.split(\"-\")},$i=function(e){for(var a=0,r=e.length,i=-1,n=0;n<r;n++)i=e.charCodeAt(n),i>=0&&i<=128?a+=1:a+=2;return a},_n=function(e){for(var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=[],i=0;i<e;i++)r.push([(i+1)/e,a]);return r},Kn=function(e){for(var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,r=[],i=0;i<=e;i++)r.push([i/e,a]);return r},In=function(e){for(var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=[],i=0;i<e;i++)r.push([a,(i+1)/e]);return r},Pn=function(e){for(var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,r=[],i=0;i<=e;i++)r.push([a,i/e]);return r},A=function(e){return e>=8?e:8};function ve(t){return ve=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(e){return typeof e}:function(e){return e&&typeof Symbol==\"function\"&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},ve(t)}function er(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),a.push.apply(a,r)}return a}function tr(t){for(var e=1;e<arguments.length;e++){var a=arguments[e]!=null?arguments[e]:{};e%2?er(Object(a),!0).forEach(function(r){Dn(t,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):er(Object(a)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(a,r))})}return t}function Dn(t,e,a){return e=On(e),e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function On(t){var e=Sn(t,\"string\");return ve(e)===\"symbol\"?e:String(e)}function Sn(t,e){if(ve(t)!==\"object\"||t===null)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var r=a.call(t,e||\"default\");if(ve(r)!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(e===\"string\"?String:Number)(t)}function se(t){return wn(t)||Mn(t)||Cn(t)||En()}function En(){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 Cn(t,e){if(t){if(typeof t==\"string\")return Xe(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);if(a===\"Object\"&&t.constructor&&(a=t.constructor.name),a===\"Map\"||a===\"Set\")return Array.from(t);if(a===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Xe(t,e)}}function Mn(t){if(typeof Symbol!=\"undefined\"&&t[Symbol.iterator]!=null||t[\"@@iterator\"]!=null)return Array.from(t)}function wn(t){if(Array.isArray(t))return Xe(t)}function Xe(t,e){(e==null||e>t.length)&&(e=t.length);for(var a=0,r=new Array(e);a<e;a++)r[a]=t[a];return r}var Rn=function(e){z().registerNode(\"console-model-Node\",{getAnchorPoints:function(r){var i=r.config,n=r.data,l=n.fields,o=i.headerHeight+A(l.length)*i.fieldHeight;return[[0,i.headerHeight/2/o],[1,i.headerHeight/2/o]].concat(se(l.map(function(c,y){var s=0,f=i.headerHeight+i.fieldHeight*(y+1)-i.fieldHeight/2,g=f/o;return[s,g]})),se(l.map(function(c,y){var s=1,f=i.headerHeight+i.fieldHeight*(y+1)-i.fieldHeight/2,g=f/o;return[s,g]})),se(_n(50)),se(Kn(50)),se(In(100)),se(Pn(100)))},update:function(r,i){var n=\"rgba(7,10,26,0.06)\",l=r.isKeySharp,o=r.active,c=r.selected,y=r.into,s=r.inactive,f=r.isCardSharp,g=r.out,_=r.isNoModule,K=r.showNameOrLabel,p=r.config,h=r.themeColor,S=r.darkness,R=p.colors,F=i.getContainer(),O=F.get(\"children\"),Z=S?h:n,E=S?R.white:h,ee=S?R.white:h;O.forEach(function(v){var m=v.attr(\"id\");switch(m){case\"keySharp\":q(\"default\",v,r),s&&q(\"inactive\",v,r),o&&q(\"active\",v,r),y&&q(\"into\",v,r),g&&q(\"out\",v,r),f?(q(\"cardSharp\",v,r),v.attr(\"old_fill\")||v.attr(\"old_fill\",v.attr(\"fill\"))):v.attr(\"old_fill\")&&v.attr(\"fill\",v.attr(\"old_fill\")),(r.data.aggregateModelKey||r.data.aggregateRoot)&&(v.attr(\"stroke\",h),v.attr(\"shadowColor\",h)),c&&q(\"selected\",v,r);break;case\"headerlabel1.1\":case\"headerlabel1.2\":v.set(\"visible\",!r.isKeySharp&&o&&!r.isCardSharp);break;case\"headerlabel0\":case\"headerlabel1\":var P=v.attr(\"fieldLable\");P&&v.attr(\"text\",K?P:v.attr(\"nameLable\")),v.set(\"visible\",!r.isKeySharp&&!r.isCardSharp),v.attr(\"fill\",c&&!S?r.config.styleConfig.selected.node.stroke:E);break;case\"header\":v.attr(\"fill\",c&&S?r.config.styleConfig.selected.node.stroke:Z),v.set(\"visible\",!r.isCardSharp&&!r.isKeySharp);break;case\"headerlabel2\":case\"headerlabel3\":var $=v.get(\"showNameOrLabel\");v.attr(\"fill\",h),$&&K||!$&&!K?v.set(\"visible\",r.isKeySharp&&!f):v.set(\"visible\",!1);break;case\"field\":var te=s&&!y&&!g&&!o?.2:1,W=!r.isKeySharp&&!v.attr(\"fieldHoverShow\")?te:0;v.set(\"visible\",!r.isKeySharp);var de=v.attr(\"fieldLable\");de&&v.attr(\"text\",K?de:v.attr(\"nameLable\")),v.get(\"themeColor\")&&v.attr(\"fill\",c?r.config.styleConfig.selected.node.stroke:h);break;case\"field-text\":v.set(\"visible\",!r.isKeySharp);case\"field-line\":v.set(\"visible\",!r.isKeySharp);break;case\"themeColor\":v.attr(\"fill\",c?r.config.styleConfig.selected.node.stroke:h);break;default:break}}),r.hide?i.hide():i.show()},render:function(r,i){var n=r.config,l=r.data,o=r.selected,c=r.showNameOrLabel,y=r.themeColor,s=r.darkness,f=\"rgba(7,10,26,0.06)\",g=n.colors,_=s?y:f,K=s?g.white:y,p=s?g.white:y,h={bg:_,font:K,mFront:p};i.addShape(\"rect\",{visible:!r.isKeySharp,name:l.key,draggable:!0,attrs:{y:-(A(l.fields.length)*n.fieldHeight/2)-n.headerHeight/2,x:-(n.width/2),width:n.width,height:n.headerHeight,radius:[10,10,0,0],id:\"header\",className:\"header\",shadowColor:\"rgba(0,0,0,0.06)\",cursor:\"move\",fill:o?n.styleConfig.selected.node.stroke:_}}),i.addShape(\"text\",{visible:!r.isKeySharp,name:l.key,fontFamily:\"\",draggable:!0,attrs:{x:-(n.width/2)+20,y:-(A(l.fields.length)*n.fieldHeight/2),text:c?l.name:l.label,fieldLable:l.name,nameLable:l.label,id:\"headerlabel1\",cursor:\"move\",fontSize:n.fieldHeight/2,className:\"headerlabel\",textBaseline:\"middle\",textAlign:\"left\",fontWeight:20,fill:h.mFront}}),r.data.aggregateModelKey&&i.addShape(\"text\",{visible:r.data.aggregateModelKey,name:l.key,fontFamily:\"\",draggable:!0,attrs:{fontFamily:\"iconFont\",x:n.width/2-100,y:-(A(l.fields.length)*n.fieldHeight/2),text:\"\\u805A\\u5408\\u5173\\u7CFB\",arg:r.data.aggregateModelKey,id:\"headerlabel1\",cursor:\"pointer\",click:\"arrangeShow\",fontSize:n.labelSize,className:\"headerlabel\",textBaseline:\"middle\",textAlign:\"left\",fill:h.font}}),i.addShape(\"text\",{visible:!r.isKeySharp,name:l.key,fontFamily:\"\",draggable:!0,attrs:{fontFamily:\"iconFont\",x:n.width/2-40,y:-(A(l.fields.length)*n.fieldHeight/2),text:\"\\u67E5\\u770B\",id:\"headerlabel1\",cursor:\"pointer\",click:\"modelEdit\",fontSize:n.labelSize,className:\"headerlabel\",textBaseline:\"middle\",textAlign:\"left\",fill:h.font}});var S=[l.label],R=n.headerHeight+(l.fields.length>=12?l.fields.length:12)*n.fieldHeight,F=S.length;S.forEach(function(m,P){i.addShape(\"text\",{visible:r.isKeySharp&&!c&&!r.isCardSharp,name:m,showNameOrLabel:!1,draggable:!0,attrs:{x:0,y:-R/2+R/(F+1)*(P+1),fontSize:n.width/5,text:m,id:\"headerlabel2\",className:\"headerlabel\",textBaseline:\"middle\",textAlign:\"center\",fill:y}})});var O=[l.name],Z=n.headerHeight+(l.fields.length>=12?l.fields.length:12)*n.fieldHeight,E=S.length;O.forEach(function(m,P){i.addShape(\"text\",{visible:r.isKeySharp&&c&&!r.isCardSharp,showNameOrLabel:!0,name:m,draggable:!0,attrs:{x:0,y:-Z/2+Z/(E+1)*(P+1),fontSize:n.width/5,text:m,id:\"headerlabel2\",className:\"headerlabel\",textBaseline:\"middle\",textAlign:\"center\",fill:y}})}),l.fields.forEach(function(m,P){var $,te,W,de,et,tt,rt,L=m.typeMeta,Ji=m==null||($=m.typeMeta)===null||$===void 0?void 0:$.relationModel,sr=-((n.headerHeight+A(l.fields.length)*n.fieldHeight)/2)+n.headerHeight+n.fieldHeight*P+n.fieldHeight/2-2;i.addShape(\"rect\",{visible:!r.isKeySharp,name:m.id,draggable:!0,attrs:{x:-(n.width/2)+2,fieldName:m.id,name:m.id,draggable:!0,fieldBg:!0,arg:m.name,fieldHover:!0,y:-((n.headerHeight+A(l.fields.length)*n.fieldHeight)/2)+n.headerHeight+n.fieldHeight*P,width:n.width-4,id:\"field\",height:n.fieldHeight,fill:\"white\",cursor:\"move\"}}),i.addShape(\"path\",{visible:!r.isKeySharp,draggable:!0,name:m.id,attrs:{draggable:!0,fieldName:m.id,id:\"field-line\",name:m.id,path:[[\"M\",-n.width/2+20,sr+2],[\"L\",n.width/2-40,sr+2]],stroke:\"rgba(0,0,0,0.60)\",lineWidth:1,lineDash:[5,5],opacity:.1}});var Li=L;Li&&i.addShape(\"circle\",{visible:!0,name:m.id,draggable:!0,themeColor:!0,attrs:{x:-(n.width/2)+10,fieldName:m.id,name:m.id,draggable:!0,arg:m.name,fieldHover:!0,y:-((n.headerHeight+A(l.fields.length)*n.fieldHeight)/2)+n.headerHeight+n.fieldHeight*P+n.fieldHeight/2-2,id:\"field\",r:2,fill:y,cursor:\"move\"}}),i.addShape(\"text\",{visible:!r.isKeySharp,name:m.id,draggable:!0,themeColor:L,attrs:{x:-n.width/2+20,fieldHover:!0,name:m.id,draggable:!0,y:-((n.headerHeight+A(l.fields.length)*n.fieldHeight)/2)+n.headerHeight+n.fieldHeight*P+n.fieldHeight/2,text:c?m.name:m.label,fieldLable:m.name,nameLable:m.label,fieldName:m.id,arg:m.name,fontSize:n.labelSize,textBaseline:\"middle\",cursor:\"move\",id:\"field\",textAlign:\"start\",fill:L?y:\"rgba(0,0,0,0.60)\"}});var dr=c?m==null||(te=m.relationModel)===null||te===void 0?void 0:te.name:m==null||(W=m.relationModel)===null||W===void 0?void 0:W.label;i.addShape(\"text\",{visible:!r.isKeySharp,name:m.id,draggable:!0,themeColor:L,attrs:{x:n.width/2-20,fieldHover:!L,y:-((n.headerHeight+A(l.fields.length)*n.fieldHeight)/2)+n.headerHeight+n.fieldHeight*P+n.fieldHeight/2,text:L&&dr?dr:\"\".concat(m.type||\"\"),fieldLable:L?m.type&&Re[m.type]?\"\".concat(m==null||(de=m.relationModel)===null||de===void 0?void 0:de.name,\"(\").concat(Re[m.type]||\"\",\")\"):m==null||(et=m.relationModel)===null||et===void 0?void 0:et.name:\"\".concat(m.type||\"\"),nameLable:L?m.type&&Re[m.type]?\"\".concat(m==null||(tt=m.relationModel)===null||tt===void 0?void 0:tt.label,\"(\").concat(Re[m.type]||\"\",\")\"):m==null||(rt=m.relationModel)===null||rt===void 0?void 0:rt.label:\"\".concat(m.type||\"\"),id:\"field\",textBaseline:\"middle\",fieldName:m.id,arg:m,fontSize:n.labelSize,click:L?\"fieldSelect\":void 0,textAlign:\"right\",cursor:L?\"pointer\":\"undefined\",fill:L?y:\"rgba(0,0,0,0.30)\"}}),L&&i.addShape(\"circle\",{visible:!0,name:m.id,draggable:!0,themeColor:!0,attrs:{x:n.width/2-10,fieldName:m.id,name:m.id,draggable:!0,arg:m.name,fieldHover:!0,y:-((n.headerHeight+A(l.fields.length)*n.fieldHeight)/2)+n.headerHeight+n.fieldHeight*P+n.fieldHeight/2-2,id:\"field\",r:2,fill:y,cursor:\"move\"}})});var ee=A(l.fields.length)-l.fields.length;if(ee)for(var v=0;v<ee;v++)i.addShape(\"rect\",{name:v,draggable:!0,visible:!r.isKeySharp,attrs:{x:-(n.width/2)+2,y:-((n.headerHeight+A(l.fields.length)*n.fieldHeight)/2)+n.headerHeight+n.fieldHeight*(l.fields.length+v),width:n.width-4,id:\"field\",height:n.fieldHeight,fill:\"white\",cursor:\"move\"}})},draw:function(r,i){var n=r.config,l=r.data,o=r.selected,c=n.headerHeight+A(l.fields.length)*n.fieldHeight,y=i.addShape(\"rect\",{name:l.key,draggable:!0,attrs:tr(tr({id:\"keySharp\",x:-(n.width/2),y:-c/2,width:n.width,cursor:\"move\",height:c+10},r.config.styleConfig.default.node),{},{stroke:o?r.config.styleConfig.selected.node.stroke:r.config.styleConfig.default.node.stroke})});return this.render(r,i),y}},\"single-shape\")},An=function(){z().registerEdge(\"console-line\",{labelAutoRotate:!0,label:\"cubic-vertical\"},\"line\"),z().registerEdge(\"console-arrange-line\",{labelAutoRotate:!0},\"line\")},Nn=function(t){Rn(t),An()},Fn=b(12739);function Te(t){return Te=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(e){return typeof e}:function(e){return e&&typeof Symbol==\"function\"&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},Te(t)}function kn(t,e){return Un(t)||Ln(t,e)||xn(t,e)||jn()}function jn(){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 xn(t,e){if(t){if(typeof t==\"string\")return rr(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);if(a===\"Object\"&&t.constructor&&(a=t.constructor.name),a===\"Map\"||a===\"Set\")return Array.from(t);if(a===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return rr(t,e)}}function rr(t,e){(e==null||e>t.length)&&(e=t.length);for(var a=0,r=new Array(e);a<e;a++)r[a]=t[a];return r}function Ln(t,e){var a=t==null?null:typeof Symbol!=\"undefined\"&&t[Symbol.iterator]||t[\"@@iterator\"];if(a!=null){var r,i,n,l,o=[],c=!0,y=!1;try{if(n=(a=a.call(t)).next,e===0){if(Object(a)!==a)return;c=!1}else for(;!(c=(r=n.call(a)).done)&&(o.push(r.value),o.length!==e);c=!0);}catch(s){y=!0,i=s}finally{try{if(!c&&a.return!=null&&(l=a.return(),Object(l)!==l))return}finally{if(y)throw i}}return o}}function Un(t){if(Array.isArray(t))return t}function ar(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),a.push.apply(a,r)}return a}function Bn(t){for(var e=1;e<arguments.length;e++){var a=arguments[e]!=null?arguments[e]:{};e%2?ar(Object(a),!0).forEach(function(r){Hn(t,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):ar(Object(a)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(a,r))})}return t}function Hn(t,e,a){return e=zn(e),e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function zn(t){var e=Zn(t,\"string\");return Te(e)===\"symbol\"?e:String(e)}function Zn(t,e){if(Te(t)!==\"object\"||t===null)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var r=a.call(t,e||\"default\");if(Te(r)!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(e===\"string\"?String:Number)(t)}var Wn=(0,we.Pi)(function(t){var e,a=t.graph,r=X(),i=r.intl,n=r.undoManager,l=r.Ui,o=l.Tooltip,c=l.Popover,y=Bn({},r.Ui.IconRenders),s=(0,d.useState)(!1),f=kn(s,2),g=f[0],_=f[1],K=(0,d.useCallback)((0,M.throttle)(function(h){r.Ui.setThemeColor(h.hex)},200),[g]),p=a&&tn(parseFloat(((e=r.graph)===null||e===void 0?void 0:e.zoom)*100+\"\")+\"\")||0;return a?d.createElement(\"div\",{className:\"console-erd-toolbar\"},d.createElement(\"div\",{className:\"right\"},d.createElement(H,{IconRenders:y,key:1,Tooltip:o,title:i(\"\\u64A4\\u9500\"),color:r.Ui.darkness&&n.canUndo?r.Ui.themeColor:void 0,disable:!n.canUndo,icon:\"undo\",onClick:r.undo.bind(r)}),d.createElement(H,{IconRenders:y,key:2,Tooltip:o,title:i(\"\\u91CD\\u505A\"),color:r.Ui.darkness&&n.canRedo?r.Ui.themeColor:void 0,disable:!n.canRedo,icon:\"redo\",onClick:r.redo.bind(r)}),d.createElement(H,{IconRenders:y,key:3,Tooltip:o,title:i(\"\\u653E\\u5927\"),color:r.Ui.darkness?r.Ui.themeColor:void 0,disable:p>=100,icon:\"max\",onClick:r.graph.maxZoom.bind(r.graph,a)}),d.createElement(\"span\",{className:\"zoomNum noselect\"},a&&\"\".concat(p>=100?100:p,\"%\")),d.createElement(H,{IconRenders:y,key:4,Tooltip:o,title:i(\"\\u7F29\\u5C0F\"),color:r.Ui.darkness?r.Ui.themeColor:void 0,disable:p<5,icon:\"min\",onClick:r.graph.minZoom.bind(r.graph,a)}),d.createElement(H,{IconRenders:y,key:5,Tooltip:o,title:i(\"\\u5168\\u666F\"),color:r.Ui.darkness?r.Ui.themeColor:void 0,icon:\"full\",onClick:r.graph.container.bind(r.graph,a)}),d.createElement(H,{IconRenders:y,key:6,Tooltip:o,title:i(r.sys.disableMiniMap?\"\\u5C4F\\u853D\\u5C0F\\u5730\\u56FE\":\"\\u663E\\u793A\\u5C0F\\u5730\\u56FE\"),color:r.Ui.darkness?r.Ui.themeColor:void 0,icon:r.sys.disableMiniMap?\"miniMap\":\"miniMapNo\",onClick:r.sys.setDisableMiniMap.bind(r.sys,!r.sys.disableMiniMap)}),d.createElement(H,{IconRenders:y,key:7,Tooltip:o,title:i(\"\\u5237\\u65B0\\u6570\\u636E\"),color:r.Ui.darkness?r.Ui.themeColor:void 0,icon:\"reload\",onClick:r.reload.bind(r)}),d.createElement(H,{IconRenders:y,key:8,Tooltip:o,title:i(\"\\u4E0B\\u8F7D\\u56FE\\u7247\"),color:r.Ui.darkness?r.Ui.themeColor:void 0,icon:\"image\",onClick:r.graph.downAsImage.bind(r.graph,a)}),d.createElement(H,{IconRenders:y,key:9,Tooltip:o,title:r.sys.dagreLayout?i(\"\\u5207\\u6362\\u5C42\\u6B21\\u5E03\\u5C40\"):i(\"\\u5207\\u6362\\u5173\\u8054\\u5E03\\u5C40\"),icon:r.sys.dagreLayout?\"relationLayout\":\"dagreLayout\",color:r.Ui.darkness?r.Ui.themeColor:void 0,onClick:r.sys.setDagreLayout.bind(r.sys,!r.sys.dagreLayout)}),d.createElement(H,{IconRenders:y,key:10,Tooltip:o,title:i(\"\\u5207\\u6362\\u5E95\\u8272\"),icon:r.Ui.darkness?\"darkness\":\"light\",color:r.Ui.darkness?r.Ui.themeColor:void 0,onClick:r.Ui.setDarkness.bind(r.Ui,!r.Ui.darkness)}),d.createElement(c,{placement:\"rightTop\",arrowPointAtCenter:!0,footer:null,content:d.createElement(Fn.xS,{color:r.Ui.themeColor,onChange:K}),visible:g},d.createElement(H,{IconRenders:y,Tooltip:o,title:\"\".concat(i(\"\\u70B9\\u51FB\")).concat(i(g?\"\\u5173\\u95ED\":\"\\u6253\\u5F00\"),\" \").concat(i(\"\\u989C\\u8272\\u9762\\u677F\")),color:r.Ui.themeColor,icon:g?\"colorClose\":\"colorOpen\",onClick:_.bind(null,!g)})))):d.createElement(\"div\",{className:\"console-erd-toolbar\"},i(\"\\u6B63\\u5728\\u521D\\u59CB\\u5316\\u4E2D\"),\"....\")}),H=Je({render:function(e){var a=X(),r=e.Tooltip;if(a.Ui.disableIcons.indexOf(e.icon)>=0)return null;var i=(0,d.isValidElement)(e.icon)?e.icon:e.IconRenders[e.icon];return d.createElement(r,{title:e.title},d.createElement(\"span\",{style:{color:e.color},className:$t()({enable:!e.disable,\"command-btn\":!0}),onClick:e.disable?void 0:e.onClick},i))}}),Gn=function(t,e){var a=(0,M.debounce)(function(r){e.graph.setZoom(r)},100);t.on(\"wheelzoom\",(0,M.throttle)(function(){e.graph.setZoom(t.getZoom())},200)),t.on(\"beforepaint\",(0,M.throttle)(function(){if(!t.isLayouting){var r=t.isExporting,i=t.get(\"width\"),n=t.get(\"height\"),l=t.getPointByCanvas(0,0),o=t.getPointByCanvas(i,n);t.getNodes().filter(function(y){return!y.isSys}).forEach(function(y){var s=y.getModel();if(!s.isSys&&(s.visible||t.hideItem(y),!r)){var f=s.data,g=s.config,_=(g.headerHeight+f.fields.length*g.fieldHeight+4)/2,K=g.width/2;!s.selected&&(s.x+K<l.x-200||s.x-K>o.x||s.y+_<l.y||s.y-_>o.y)?(y.getContainer().hide(),y.getEdges().forEach(function(p){return p.hide()})):(y.getContainer().show(),y.getEdges().forEach(function(p){return p.show()}))}});var c=t.endLayout;t.getEdges().forEach(function(y){var s=y.get(\"sourceNode\"),f=y.get(\"targetNode\"),g=f.getModel(),_=y.getModel();if((g.visible||s.getModel().visible)&&t.getZoom()>=.3&&!_.self&&!_.isSys){var K=s.getModel().x<f.getModel().x,p=_.fieldIndex,h=_.fieldsLength,S=K?2+p+h:p+2;t.updateItem(y,{sourceAnchor:S})}(!g.visible||!s.getModel().visible)&&y.hide(),!s.getContainer().get(\"visible\")&&!f.getContainer().get(\"visible\")?y.hide():y.show()})}},300)),t.on(\"canvas:dragstart\",function(){var r=t.get(\"canvas\").get(\"el\");r.style.cursor=\"grabbing\"}),t.on(\"canvas:dragend\",function(){var r=t.get(\"canvas\").get(\"el\");r.style.cursor=\"grab\"}),t.on(\"node:click\",function(r){var i=r.target;if(i.attr(\"click\")){var n,l,o=i.attr(\"click\");if(o===\"modelEdit\"&&e.sys.onModelDetail&&e.sys.onModelDetail(r.item.getModel().data),o===\"arrangeShow\"&&e.arrangeShow(i.attr(\"arg\")),(n=i.attr(\"arg\"))!==null&&n!==void 0&&(l=n.relationModel)!==null&&l!==void 0&&l.id){var c,y;e.sys.centerCurrentModel([(c=i.attr(\"arg\"))===null||c===void 0||(y=c.relationModel)===null||y===void 0?void 0:y.id])}}else if(r.item.getModel().id){var s=r.item.getModel().id,f=s.replace(\"model-\",\"\");e.sys.setCurrentModel([f])}}),t.on(\"node:mouseout\",function(r){var i=r.item,n=t.get(\"autoPaint\");t.setAutoPaint(!1),i.getContainer().findAll(function(l){return l.attr(\"fieldHover\")}).forEach(function(l){l.attr(\"fill-old\")&&(l.attr(\"fill\",l.attr(\"fill-old\")),l.attr(\"fill-old\",void 0)),l.attr(\"opacity-old\")&&(l.attr(\"opacity\",l.attr(\"opacity-old\")),l.attr(\"opacity-old\",void 0))}),t.paint(),t.setAutoPaint(n)}),t.on(\"node:mousemove\",function(r){var i=r.target,n=r.item,l=t.get(\"autoPaint\");t.get(\"canvas\").set(\"localRefresh\",!1),t.setAutoPaint(!1);var o=i.attr(\"fieldName\");n.getContainer().findAll(function(c){return c.attr(\"fieldHover\")}).forEach(function(c){c.attr(\"fill-old\")&&(c.attr(\"fill\",c.attr(\"fill-old\")),c.attr(\"fill-old\",void 0)),c.attr(\"fieldHoverShow\")&&c.attr(\"opacity\",0),c.attr(\"fieldName\")===o&&(c.attr(\"fill-old\",c.attr(\"fill\")),c.attr(\"fill\",c.attr(\"fieldBg\")?\"rgb(204,204,204)\":\"white\"),c.attr(\"fieldHoverShow\")&&(c.attr(\"opacity-old\",c.attr(\"opacity\")),c.attr(\"opacity\",1)))}),t.paint(),t.setAutoPaint(l)}),t.on(\"node:dragend\",function(r){var i=r.item,n=i.getEdges();n.forEach(function(l){var o=l.get(\"sourceNode\"),c=l.get(\"targetNode\"),y=c.getModel(),s=l.getModel();if((y.visible||o.getModel().visible)&&t.getZoom()>=.3&&!s.self&&!s.isSys){var f=o.getModel().x<c.getModel().x,g=s.fieldIndex,_=s.fieldsLength,K=f?2+g+_:g+2;t.updateItem(l,{sourceAnchor:K})}(!y.visible||!o.getModel().visible)&&l.hide(),!o.getContainer().get(\"visible\")&&!c.getContainer().get(\"visible\")?l.hide():l.show()})})},Qn=function(e){var a=e.currentModel,r=e.graph,i=e.showNameOrLabel,n=e.zoom,l=e.themeColor,o=e.darkness;(0,d.useEffect)(function(){var c=\"model-\"+a;if(r){var y=r.getNodes();if(!y.length)return;var s=+new Date,f=n<=.4,g=n<=.1;y.forEach(function(K){if(!K.isSys){var p=K.getModel(),h=p.id,S=p?p.data:void 0,R=(c||\"\").indexOf(\"module-\")>=0&&(S&&S.moduleKey)!==c,F={selected:p.selected,noSelected:p.noSelected,isNoModule:p.isNoModule,isKeySharp:p.isKeySharp,isCardSharp:p.isCardSharp,showNameOrLabel:p.showNameOrLabel,themeColor:p.themeColor,darkness:p.darkness},O={selected:h===c,noSelected:h!==c,isNoModule:R,isKeySharp:f,isCardSharp:g,showNameOrLabel:i,themeColor:l,darkness:o},Z=!(0,M.isEqual)(F,O);Z&&r.updateItem(K,O)}});var _=+new Date}},[a,i,n>=.4,n>=.1,n!==0,l,o])},Vn=(0,we.Pi)(function(){var t=$n(),e=t.setRef,a=t.erdGraph,r=t.containerRef;return d.createElement(d.Fragment,null,d.createElement(Wn,{graph:a}),d.createElement(\"div\",{ref:e,className:\"graph\"}))}),$n=function(){var e=X(),a=(0,d.useRef)(null),r=(0,d.useRef)(null),i=(0,d.useRef)(null);(0,d.useEffect)(function(){Nn(e)},[]);var n=(0,d.useRef)(+new Date),l=(0,mn.Z)(a)||{};(0,d.useEffect)(function(){if(r.current)Yn(r.current,e.Nodes,e.edges,e);else{var y=Jn(a.current,e.Nodes,e.edges,e);r.current=y.graph,i.current=y.miniMap,Ae(function(){e.graph.setG6Graph(r.current)})}},[JSON.stringify(e.sys.checkedKeys),e]),(0,d.useEffect)(function(){if(r.current&&l.width&&l.height&&!r.current.isLayouting){var y=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,s=e.sys.height===\"100%\"?y-45:e.sys.height-45;r.current.changeSize(l.width,s),r.current.fitView(0)}},[l.height,l.width]);var o=(0,d.useCallback)(function(y){a.current=y},[a]);(0,d.useEffect)(function(){var y=r.current;if(y){var s=y.get(\"width\"),f=y.get(\"height\"),g=y.getCanvasByPoint(s/2,f/2);y.zoomTo(e.graph.zoom,g)}},[e.graph.zoom]);var c=(0,d.useRef)(!1);return(0,d.useEffect)(function(){var y=r.current;if(y){if(!c.current){c.current=!0;return}var s=y.getNodes().length>50;y.updateLayout({type:e.sys.dagreLayout?\"dagre\":\"fruchterman\",workerEnabled:!0,linkDistance:0,pixelRatio:2,clusterGravity:100,speed:2,gravity:100,gpuEnabled:!0,onLayoutEnd:function(){Ae(function(){y.isLayouting=!1,y.fitView(0),(0,u.cjq)(function(){e.graph.setZoom(y.getZoom())})},1e3)}}),e.sys.dagreLayout&&Ae(function(){y.fitView(0)},1e3)}},[e.sys.dagreLayout]),Qn({currentModel:e.sys.currentModel,graph:r.current,showNameOrLabel:e.sys.showNameOrLabel,zoom:e.graph.zoom,checkNum:n.current,themeColor:e.Ui.themeColor,darkness:e.Ui.darkness}),(0,d.useEffect)(function(){if(r.current&&i.current)if(e.sys.disableMiniMap){var s,f=new(z()).Minimap({type:\"delegate\",viewportClassName:\"g6-minimap-viewport-erd\",delegateStyle:{fill:\"rgba(0,0,0,0.10)\"}});i.current=f,(s=r.current)===null||s===void 0||s.addPlugin(f)}else{var y;(y=r.current)===null||y===void 0||y.removePlugin(i.current)}},[e.sys.disableMiniMap]),{containerRef:a,setRef:o,erdGraph:r.current}},Jn=function(e,a,r,i){var n=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,l=i.sys.height===\"100%\"?n-45:i.sys.height-45,o=Ue({primaryColor:i.Ui.themeColor}).style,c=a.length>50,y=new(z()).Minimap({type:\"delegate\",viewportClassName:\"g6-minimap-viewport-erd\",delegateStyle:{fill:\"rgba(0,0,0,0.10)\"}}),s=new(z()).Graph({height:l,width:e.offsetWidth-20,container:e,fitView:!0,fitCenter:!0,enabledStack:!0,animate:!0,gpuEnabled:!0,pixelRatio:2,defaultEdge:o.default.edge,edgeStateStyles:{default:o.default.edge,active:{opacity:1,size:3}},minZoom:.01,maxZoom:1.1,layout:{type:i.sys.dagreLayout?\"dagre\":\"force\",condense:!0,cols:3,workerEnabled:!0,linkDistance:0,alphaDecay:c?.3:void 0,preventOverlap:!0,nodeSpacing:c?-100:-180,onLayoutEnd:function(){s.isLayouting=!1,s.endLayout=!0,s.fitView(0),s.endLayout=!1,(0,u.cjq)(function(){i.graph.setZoom(s.getZoom())})}},modes:{default:[\"drag-canvas\",{type:\"zoom-canvas\",minZoom:1e-4,maxZoom:2.1},{type:\"drag-node\"},{type:\"edge-tooltip\",formatText:function(g){return g.tooltip},offset:10}]},plugins:[]});return Gn(s,i),s.data({nodes:a,edges:r}),s.isLayouting=!0,s.render(),s.fitView(0),i.sys.dagreLayout&&Ae(function(){s.fitView(0),(0,u.cjq)(function(){i.graph.setZoom(s.getZoom())})}),{graph:s,miniMap:y}},Yn=function(e,a,r,i){return e.changeData({nodes:a,edges:r}),e},Ae=function(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500;setTimeout(e,a)},Xn=Je({displayName:\"page\",render:function(e){var a=X();return d.createElement(\"div\",{className:$t()(\"console-g6-page\",e.className),style:{height:a.sys.height}},d.createElement(\"div\",{className:\"console-erd-fps\"}),d.createElement(\"div\",{className:\"g6-modelnavi\"},d.createElement(sn,null)),d.createElement(\"div\",{className:\"g6-graph\"},d.createElement(Vn,null)))}});function qn(t,e){return ai(t)||ri(t,e)||ti(t,e)||ei()}function ei(){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 ti(t,e){if(t){if(typeof t==\"string\")return nr(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);if(a===\"Object\"&&t.constructor&&(a=t.constructor.name),a===\"Map\"||a===\"Set\")return Array.from(t);if(a===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return nr(t,e)}}function nr(t,e){(e==null||e>t.length)&&(e=t.length);for(var a=0,r=new Array(e);a<e;a++)r[a]=t[a];return r}function ri(t,e){var a=t==null?null:typeof Symbol!=\"undefined\"&&t[Symbol.iterator]||t[\"@@iterator\"];if(a!=null){var r,i,n,l,o=[],c=!0,y=!1;try{if(n=(a=a.call(t)).next,e===0){if(Object(a)!==a)return;c=!1}else for(;!(c=(r=n.call(a)).done)&&(o.push(r.value),o.length!==e);c=!0);}catch(s){y=!0,i=s}finally{try{if(!c&&a.return!=null&&(l=a.return(),Object(l)!==l))return}finally{if(y)throw i}}return o}}function ai(t){if(Array.isArray(t))return t}var ni=(0,we.Pi)(function(t){var e=t.onIntl,a=t.onReload,r=t.onModelDetail,i=t.models,n=t.modules,l=t.erdkey,o=t.className,c=t.style,y=t.height,s=t.onIgnoreEdge,f=t.components,g=t.IconRenders,_=X();return(0,d.useEffect)(function(){var K=sessionStorage.getItem(\"web-pdm\"+l);if(!K)(0,u.cjq)(function(){return _.initData(i,n)});else{var p=JSON.parse(K);p.sys.height=y,(0,u.cjq)(function(){var h=sessionStorage.getItem(\"web-pdm-fields\"+l);h&&_.setFields(new Map(JSON.parse(h))),(0,u.Xx3)(_,p),_.sys.setOnIgnoreEdge(s),_.sys.setOnModelDetail(r),_.Ui.registComponents(f,g),_.setOnReload(a),_.onIntl=e})}},[]),(0,d.useEffect)(function(){_.Models.clear(),_.Modules.clear(),_.Fields.clear(),(0,u.cjq)(function(){return _.initData(i,n)})},[i]),d.createElement(Xn,{className:o,style:c})}),ii=function(e){var a=(0,d.useState)(function(){return Wa({sys:{height:e.height,onIgnoreEdge:e.onIgnoreEdge,onModelDetail:e.onModelDetail,intl:e.intl,onlyMode:e.onlyMode},Ui:{themeColor:e.themeColor,darkness:e.darkness},components:e.components,onReload:e.onReload,onIntl:e.onIntl,IconRenders:e.IconRenders,disableIcons:e.disableIcons})}),r=qn(a,1),i=r[0];return d.createElement(Za,{value:i},i&&d.createElement(ni,e))},li=ii,oi=li,yi=b(87137),ci=b(54887),ir=b(51634),qe=b(28646),ui=b(66559),si=b(17104),di=b(74825),lr=b(30211),mi=b(97378),pi=b(57773),fi=b(82204),gi=b(60623),bi=b(61567),hi=b(21926),vi=b(40367),Ti=b(78624),_i=b(59944),Ki=b(52962),Ii=b(98052),or=b(58218),yr=b(84666),D=b(11527);function Pi(t,e){return Ei(t)||Si(t,e)||Oi(t,e)||Di()}function Di(){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 Oi(t,e){if(t){if(typeof t==\"string\")return cr(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);if(a===\"Object\"&&t.constructor&&(a=t.constructor.name),a===\"Map\"||a===\"Set\")return Array.from(t);if(a===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return cr(t,e)}}function cr(t,e){(e==null||e>t.length)&&(e=t.length);for(var a=0,r=new Array(e);a<e;a++)r[a]=t[a];return r}function Si(t,e){var a=t==null?null:typeof Symbol!=\"undefined\"&&t[Symbol.iterator]||t[\"@@iterator\"];if(a!=null){var r,i,n,l,o=[],c=!0,y=!1;try{if(n=(a=a.call(t)).next,e===0){if(Object(a)!==a)return;c=!1}else for(;!(c=(r=n.call(a)).done)&&(o.push(r.value),o.length!==e);c=!0);}catch(s){y=!0,i=s}finally{try{if(!c&&a.return!=null&&(l=a.return(),Object(l)!==l))return}finally{if(y)throw i}}return o}}function Ei(t){if(Array.isArray(t))return t}var Ci=function(e){var a=e.data,r=a.title,i=a.options,n=i===void 0?[]:i,l=(0,d.useState)(!1),o=Pi(l,2),c=o[0],y=o[1],s=(0,d.useCallback)(function(g){return function(){y(g)}},[]),f=(0,D.jsx)(qe.Z,{children:n.map(function(g){return(0,D.jsx)(qe.Z.Item,{children:(0,D.jsx)(\"a\",{onClick:g.click,children:g.title})},g)})});return(0,D.jsxs)(\"div\",{className:\"tree-node-title\",onMouseEnter:s(!0),onMouseLeave:s(!1),children:[(0,D.jsx)(\"span\",{className:\"tree-node-title-title\",children:r}),!!n.length&&c&&(0,D.jsx)(ir.Z,{overlay:f,children:(0,D.jsx)(\"span\",{className:\"tree-node-title-options\",children:\"...\"})})]})};yr.Z.OptionBuilder=Ci;var Mi=yr.Z;function _e(t){return _e=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(e){return typeof e}:function(e){return e&&typeof Symbol==\"function\"&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},_e(t)}function ur(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),a.push.apply(a,r)}return a}function wi(t){for(var e=1;e<arguments.length;e++){var a=arguments[e]!=null?arguments[e]:{};e%2?ur(Object(a),!0).forEach(function(r){Ri(t,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):ur(Object(a)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(a,r))})}return t}function Ri(t,e,a){return e=Ai(e),e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function Ai(t){var e=Ni(t,\"string\");return _e(e)===\"symbol\"?e:String(e)}function Ni(t,e){if(_e(t)!==\"object\"||t===null)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var r=a.call(t,e||\"default\");if(_e(r)!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(e===\"string\"?String:Number)(t)}var Fi={undo:(0,D.jsx)(lr.Z,{}),redo:(0,D.jsx)(lr.Z,{style:{transform:\"scaleX(-1)\"}}),min:(0,D.jsx)(mi.Z,{}),max:(0,D.jsx)(pi.Z,{}),full:(0,D.jsx)(fi.Z,{}),miniMap:(0,D.jsx)(gi.Z,{}),miniMapNo:(0,D.jsx)(bi.Z,{}),dagreLayout:(0,D.jsx)(hi.Z,{}),relationLayout:(0,D.jsx)(vi.Z,{}),reload:(0,D.jsx)(Ti.Z,{}),image:(0,D.jsx)(_i.Z,{}),darkness:(0,D.jsx)(Ki.Z,{}),light:(0,D.jsx)(Ii.Z,{}),colorClose:(0,D.jsx)(or.Z,{}),colorOpen:(0,D.jsx)(or.Z,{})},ki=function(e){return(0,D.jsx)(oi,wi({IconRenders:Fi,components:{Input:yi.Z,Button:ci.ZP,Dropdown:ir.Z,Menu:qe.Z,Select:ui.Z,Tooltip:si.Z,Tree:Mi,Popover:di.Z}},e))},ji=ki,xi=ji},30408:function(at,J,b){b.r(J),b.d(J,{default:function(){return re}});var d=b(50959),u=b(80858),Q=[{name:\"bd_Quota_Apply\",originalKey:\"bd_Quota_Apply\",label:\"\\u989D\\u5EA6\\u7533\\u8BF7\",module:\"finance\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"FlowNumber\",originalKey:\"FlowNumber\",label:\"\\u6D41\\u6C34\\u53F7\"},{type:\"nvarchar(50)\",name:\"ApplyUserId\",originalKey:\"ApplyUserId\",label:\"\\u7533\\u8BF7\\u4EBA\"},{type:\"nvarchar(200)\",name:\"AcceptBank\",originalKey:\"AcceptBank\",label:\"\\u627F\\u5151\\u884C\"},{type:\"numeric(18,2)\",name:\"Amount\",originalKey:\"Amount\",label:\"\\u91D1\\u989D\"},{type:\"numeric(18,2)\",name:\"Price\",originalKey:\"Price\",label:\"\\u62A5\\u4EF7\"},{type:\"nvarchar(20)\",name:\"PriceType\",originalKey:\"PriceType\",label:\"\\u62A5\\u4EF7\\u7C7B\\u522B\"},{type:\"nvarchar(20)\",name:\"BankType\",originalKey:\"BankType\",label:\"\\u627F\\u5151\\u884C\\u7C7B\\u522B\"},{type:\"nvarchar(20)\",name:\"Acceptkind\",originalKey:\"Acceptkind\",label:\"\\u627F\\u5151\\u65B9\\u5F0F\"},{type:\"nvarchar(500)\",name:\"Remark\",originalKey:\"Remark\",label:\"\\u5907\\u6CE8\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u7533\\u8BF7\\u65F6\\u95F4\"},{type:\"int\",name:\"Status\",originalKey:\"Status\",label:\"\\u72B6\\u6001\"},{type:\"nvarchar(50)\",name:\"ApproveUserId\",originalKey:\"ApproveUserId\",label:\"\\u5BA1\\u6279\\u4EBA\"}]},{name:\"bd_PayInfo\",originalKey:\"bd_PayInfo\",label:\"\\u6253\\u6B3E\\u4FE1\\u606F\",module:\"finance\",fields:[{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"FID\",typeMeta:{relationModel:\"bd_Pay_Apply\",type:\"Relation\"},label:\"FID\"},{type:\"nvarchar(50)\",name:\"FlowNumber\",originalKey:\"FlowNumber\",label:\"\\u6D41\\u6C34\\u53F7\"},{type:\"nvarchar(20)\",name:\"TotalAmount\",originalKey:\"TotalAmount\",label:\"\\u603B\\u91D1\\u989D\"},{type:\"nvarchar(50)\",name:\"InvoiceBank\",originalKey:\"InvoiceBank\",label:\"\\u5F00\\u7968\\u884C\"},{type:\"datetime\",name:\"ExpireDate\",originalKey:\"ExpireDate\",label:\"\\u5230\\u671F\\u65E5\"},{type:\"int\",name:\"DiscountDays\",originalKey:\"DiscountDays\",label:\"\\u8D34\\u73B0\\u5929\\u6570\"},{type:\"numeric(18,2)\",name:\"DiscountInterest\",originalKey:\"DiscountInterest\",label:\"\\u8D34\\u73B0\\u5229\\u606F\"},{type:\"numeric(18,2)\",name:\"PriceRate\",originalKey:\"PriceRate\",label:\"\\u62A5\\u4EF7\\u5229\\u7387\"},{type:\"int\",name:\"PriceType\",originalKey:\"PriceType\",label:\"\\u62A5\\u4EF7\\u7C7B\\u522B\"},{type:\"numeric(18,2)\",name:\"PayRate\",originalKey:\"PayRate\",label:\"\\u6253\\u6B3E\\u5229\\u7387\"},{type:\"int\",name:\"PayType\",originalKey:\"PayType\",label:\"\\u6253\\u6B3E\\u7C7B\\u522B\"},{type:\"int\",name:\"PaperCount\",originalKey:\"PaperCount\",label:\"\\u5F20\\u6570\"},{type:\"numeric(18,2)\",name:\"Commissions\",originalKey:\"Commissions\",label:\"\\u624B\\u7EED\\u8D39\"},{type:\"int\",name:\"CommissionsType\",originalKey:\"CommissionsType\",label:\"\\u624B\\u7EED\\u8D39\\u7C7B\\u522B\"},{type:\"numeric(18,2)\",name:\"PayAmount\",originalKey:\"PayAmount\",label:\"\\u5212\\u6B3E\\u91D1\\u989D\"},{type:\"nvarchar(50)\",name:\"Payee\",originalKey:\"Payee\",label:\"\\u6536\\u6B3E\\u5355\\u4F4D\"},{type:\"nvarchar(50)\",name:\"PayeeAccount\",originalKey:\"PayeeAccount\",label:\"\\u6536\\u6B3E\\u5355\\u4F4D\\u8D26\\u53F7\"},{type:\"nvarchar(50)\",name:\"OpeningBankName\",originalKey:\"OpeningBankName\",label:\"\\u5F00\\u6237\\u884C\"},{type:\"nvarchar(50)\",name:\"OpeningBankNumber\",originalKey:\"OpeningBankNumber\",label:\"\\u5F00\\u6237\\u884C\\u884C\\u53F7\"},{type:\"nvarchar(500)\",name:\"Remark\",originalKey:\"Remark\",label:\"\\u5907\\u6CE8\"},{type:\"ntext\",name:\"DraftImage\",originalKey:\"DraftImage\",label:\"\\u7968\\u9762\\u56FE\\u7247\"},{name:\"\\u7533\\u8BF7\\u4EBA\",originalKey:\"\\u7533\\u8BF7\\u4EBA\",label:\"\\u7533\\u8BF7\\u4EBA\"},{type:\"ntext \",name:\"DEFAULTVAL\",originalKey:\"DEFAULTVAL\",label:\"\\u9ED8\\u8BA4\\u503C\"}]},{name:\"bd_Draft_Element\",originalKey:\"bd_Draft_Element\",label:\"\\u7968\\u9762\\u8981\\u7D20\",module:\"finance\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"FlowNumber\",originalKey:\"FlowNumber\",label:\"\\u6D41\\u6C34\\u53F7\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"PayApplyId\",typeMeta:{relationModel:\"bd_Pay_Apply\",type:\"Relation\"},label:\"\\u5212\\u6B3E\\u7533\\u8BF7Id\"},{type:\"nvarchar(50)\",name:\"Drawer\",originalKey:\"Drawer\",label:\"\\u51FA\\u7968\\u4EBA\\u5168\\u79F0\"},{type:\"nvarchar(50)\",name:\"Payee\",originalKey:\"Payee\",label:\"\\u6536\\u6B3E\\u4EBA\\u5168\\u79F0\"},{type:\"nvarchar(50)\",name:\"PayBank\",originalKey:\"PayBank\",label:\"\\u4ED8\\u6B3E\\u884C\\u5168\\u79F0\"},{type:\"numeric(18,2)\",name:\"Amount\",originalKey:\"Amount\",label:\"\\u91D1\\u989D\"},{type:\"datetime\",name:\"DraftDate\",originalKey:\"DraftDate\",label:\"\\u51FA\\u7968\\u65E5\\u671F\"},{type:\"datetime\",name:\"DraftExpireDate\",originalKey:\"DraftExpireDate\",label:\"\\u6C47\\u7968\\u5230\\u671F\\u65E5\"},{type:\"nvarchar(50)\",name:\"PayBankNumber\",originalKey:\"PayBankNumber\",label:\"\\u4ED8\\u6B3E\\u884C\\u884C\\u53F7\"},{type:\"nvarchar(500)\",name:\"DraftNumber\",originalKey:\"DraftNumber\",label:\"\\u7968\\u53F7\"},{type:\"nvarchar(500)\",name:\"Remark\",originalKey:\"Remark\",label:\"\\u5907\\u6CE8\"}]},{name:\"db_Draft_Number\",originalKey:\"db_Draft_Number\",label:\"\\u7968\\u53F7\",module:\"finance\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"FlowNumber\",originalKey:\"FlowNumber\",label:\"\\u6D41\\u6C34\\u53F7\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"DraftId\",typeMeta:{relationModel:\"bd_Draft_Element\",type:\"Relation\"},label:\"\\u7968\\u9762Id\"},{type:\"nvarchar(50)\",name:\"DraftNumber\",originalKey:\"DraftNumber\",label:\"\\u7968\\u53F7\"},{type:\"numeric(18,2)\",name:\"Amount\",originalKey:\"Amount\",label:\"\\u91D1\\u989D\"}]},{name:\"bd_Pay_Other\",originalKey:\"bd_Pay_Other\",label:\"\\u5176\\u4ED6\\u4FE1\\u606F\",module:\"finance\",fields:[{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"FID\",typeMeta:{relationModel:\"bd_Pay_Apply\",type:\"Relation\"},label:\"FID\"},{type:\"nvarchar(50)\",name:\"FlowNumber\",originalKey:\"FlowNumber\",label:\"\\u6D41\\u6C34\\u53F7\"},{type:\"nvarchar(50)\",name:\"Account\",originalKey:\"Account\",label:\"\\u8D26\\u53F7\"},{type:\"nvarchar(50)\",name:\"Payee\",originalKey:\"Payee\",label:\"\\u6536\\u6B3E\\u65B9\"},{type:\"nvarchar(50)\",name:\"OpeningBankName\",originalKey:\"OpeningBankName\",label:\"\\u5F00\\u6237\\u884C\"},{type:\"numeric(18,2)\",name:\"Amount\",originalKey:\"Amount\",label:\"\\u91D1\\u989D\"},{type:\"nvarchar(500)\",name:\"Remark\",originalKey:\"Remark\",label:\"\\u5907\\u6CE8\"}]},{name:\"bd_Pay_Apply\",originalKey:\"bd_Pay_Apply\",label:\"\\u5212\\u6B3E\\u7533\\u8BF7\",module:\"finance\",fields:[{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"FID\",typeMeta:{relationModel:\"bd_Quota_Apply\",type:\"Relation\"},label:\"FID\"},{type:\"nvarchar(50)\",name:\"FlowNumber\",originalKey:\"FlowNumber\",label:\"\\u6D41\\u6C34\\u53F7\"},{type:\"int\",name:\"ApproveStatus\",originalKey:\"ApproveStatus\",label:\"\\u5BA1\\u6279\\u72B6\\u6001\"},{type:\"int\",name:\"ReviewStatus\",originalKey:\"ReviewStatus\",label:\"\\u590D\\u6838\\u72B6\\u6001\"},{type:\"int\",name:\"PayStatus\",originalKey:\"PayStatus\",label:\"\\u6253\\u6B3E\\u72B6\\u6001\"},{type:\"nvarchar(50)\",name:\"ApproveUserId\",originalKey:\"ApproveUserId\",label:\"\\u5BA1\\u6279\\u4EBA\"},{type:\"nvarchar(50)\",name:\"PayUserId\",originalKey:\"PayUserId\",label:\"\\u6253\\u6B3E\\u4EBA\"},{type:\"nvarchar(50)\",name:\"ReviewUserId\",originalKey:\"ReviewUserId\",label:\"\\u590D\\u6838\\u4EBA\"},{type:\"nvarchar\",name:\"\\u7533\\u8BF7\\u4EBA\",originalKey:\"\\u7533\\u8BF7\\u4EBA\",label:\"\\u7533\\u8BF7\\u4EBA\"}]},{name:\"bd_Quota_Day\",originalKey:\"bd_Quota_Day\",label:\"\\u6BCF\\u65E5\\u989D\\u5EA6\",module:\"finance\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"numeric(18,2)\",name:\"TotalQuota\",originalKey:\"TotalQuota\",label:\"\\u603B\\u989D\\u5EA6\"},{type:\"numeric(18,2)\",name:\"RestQuota\",originalKey:\"RestQuota\",label:\"\\u5269\\u4F59\\u989D\\u5EA6\"},{type:\"numeric(18,2)\",name:\"LockQuota\",originalKey:\"LockQuota\",label:\"\\u9501\\u5B9A\\u989D\\u5EA6\"},{type:\"datetime\",name:\"QuotaDate\",originalKey:\"QuotaDate\",label:\"\\u989D\\u5EA6\\u65E5\\u671F\"},{type:\"numeric(18,2)\",name:\"PayQuota\",originalKey:\"PayQuota\",label:\"\\u6253\\u6B3E\\u989D\\u5EA6\"},{type:\"numeric(18,2)\",name:\"UnPayQuota\",originalKey:\"UnPayQuota\",label:\"\\u672A\\u6253\\u6B3E\\u989D\\u5EA6\"}]},{name:\"bd_User\",originalKey:\"bd_User\",label:\"\\u7528\\u6237\\u4FE1\\u606F\",module:\"finance\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"WechatAccount\",originalKey:\"WechatAccount\",label:\"\\u5FAE\\u4FE1\\u8D26\\u53F7\"}]},{name:\"bd_Message\",originalKey:\"bd_Message\",label:\"\\u7CFB\\u7EDF\\u6D88\\u606F\",module:\"finance\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(2000)\",name:\"Content\",originalKey:\"Content\",label:\"\\u5185\\u5BB9\"},{type:\"nvarchar(20)\",name:\"Type\",originalKey:\"Type\",label:\"\\u7C7B\\u522B\"},{type:\"datetime\",name:\"SendTime\",originalKey:\"SendTime\",label:\"\\u53D1\\u9001\\u65F6\\u95F4\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u521B\\u5EFA\\u65F6\\u95F4\"},{type:\"ntext\",name:`SendeeList\\r\nSendeeList`,originalKey:`SendeeList\\r\nSendeeList`,label:\"\\u63A5\\u6536\\u4EBA\"}]},{name:\"bd_User_Message\",originalKey:\"bd_User_Message\",label:\"\\u7528\\u6237\\u6D88\\u606F\",module:\"finance\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"MessageId\",typeMeta:{relationModel:\"bd_Message\",type:\"Relation\"},label:\"\\u6D88\\u606FId\"},{type:\"nvarchar(50)\",name:\"ReceiveUserId\",originalKey:\"ReceiveUserId\",label:\"\\u63A5\\u6536\\u4EBA\"},{type:\"int\",name:\"Status\",originalKey:\"Status\",label:\"\\u72B6\\u6001\"}]},{name:\"bd_Operation_Log\",originalKey:\"bd_Operation_Log\",label:\"\\u64CD\\u4F5C\\u65E5\\u5FD7\",module:\"finance\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(20)\",name:\"ModuleName\",originalKey:\"ModuleName\",label:\"\\u6A21\\u5757\\u540D\"},{type:\"nvarchar(20)\",name:\"OpreationName\",originalKey:\"OpreationName\",label:\"\\u64CD\\u4F5C\\u540D\"},{type:\"nvarchar(500)\",name:\"Remark\",originalKey:\"Remark\",label:\"\\u63CF\\u8FF0\"}]},{name:\"erp_WarehouseCat\",originalKey:\"erp_WarehouseCat\",label:\"\\u4ED3\\u5E93\\u7C7B\\u522B\\u8868\",module:\"ERP\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"ewc_Code\",originalKey:\"ewc_Code\",label:\"\\u7F16\\u7801\"},{type:\"nvarchar(50)\",name:\"ewc_Name\",originalKey:\"ewc_Name\",label:\"\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"ParentId\",originalKey:\"ParentId\",label:\"\\u4E0A\\u7EA7\\u5206\\u7C7B\"},{type:\"bit\",name:\"IsParent\",originalKey:\"IsParent\",label:\"\\u662F\\u5426\\u7236\\u8282\\u70B9\"},{type:\"bit\",name:\"IsLeaf\",originalKey:\"IsLeaf\",label:\"\\u662F\\u5426\\u53F6\\u8282\\u70B9\"},{type:\"nvarchar(2000)\",name:\"Arrange\",originalKey:\"Arrange\",label:\"\\u6811\\u72B6\\u652F\\u6301\\u7B26\\u53F7\"},{type:\"int\",name:\"TreeOrder\",originalKey:\"TreeOrder\",label:\"\\u6392\\u5E8F\"},{type:\"nvarchar(500)\",name:\"ewc_Remark\",originalKey:\"ewc_Remark\",label:\"\\u5907\\u6CE8\"},{type:\"nvarchar(50)\",name:\"CREATE_ID\",originalKey:\"CREATE_ID\",label:\"\\u521B\\u5EFA\\u4EBA\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u521B\\u5EFA\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"UPDATE_ID\",originalKey:\"UPDATE_ID\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u4EBA\"},{type:\"datetime\",name:\"UPDATE_TIME\",originalKey:\"UPDATE_TIME\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"FControlUnitID\",originalKey:\"FControlUnitID\",label:\"\\u7EC4\\u7EC7\\u673A\\u6784\"}]},{name:\"erp_WarehouseInfo\",originalKey:\"erp_WarehouseInfo\",label:\"\\u4ED3\\u5E93\\u4FE1\\u606F\\u8868\",module:\"ERP\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"ew_Code\",originalKey:\"ew_Code\",label:\"\\u7F16\\u7801\"},{type:\"nvarchar(50)\",name:\"ew_Name\",originalKey:\"ew_Name\",label:\"\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"ew_SimpleName\",originalKey:\"ew_SimpleName\",label:\"\\u7B80\\u79F0\"},{type:\"nvarchar(50)\",name:\"ew_WhmanID\",originalKey:\"ew_WhmanID\",label:\"\\u9ED8\\u8BA4\\u4ED3\\u7BA1\\u5458\"},{type:\"nvarchar(50)\",name:\"ew_Addr\",originalKey:\"ew_Addr\",label:\"\\u4ED3\\u5E93\\u5730\\u5740\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"ew_Cat\",typeMeta:{relationModel:\"erp_WarehouseCat\",type:\"Relation\"},label:\"\\u6240\\u5C5E\\u5206\\u7C7B\"},{type:\"numeric(18,4)\",name:\"ew_QtyMax\",originalKey:\"ew_QtyMax\",label:\"\\u6700\\u9AD8\\u5E93\\u5B58\\u91CF\"},{type:\"numeric(18,4)\",name:\"ew_QtyMin\",originalKey:\"ew_QtyMin\",label:\"\\u6700\\u4F4E\\u5E93\\u5B58\\u91CF\"},{type:\"navarchar(500)\",name:\"ew_Remark\",originalKey:\"ew_Remark\",label:\"\\u5907\\u6CE8\"},{type:\"nvarchar(50)\",name:\"CREATE_ID\",originalKey:\"CREATE_ID\",label:\"\\u521B\\u5EFA\\u4EBA\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u521B\\u5EFA\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"UPDATE_ID\",originalKey:\"UPDATE_ID\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u4EBA\"},{type:\"datetime\",name:\"UPDATE_TIME\",originalKey:\"UPDATE_TIME\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"FControlUnitID\",originalKey:\"FControlUnitID\",label:\"\\u7EC4\\u7EC7\\u673A\\u6784\"}]},{name:\"erp_GoodsCat\",originalKey:\"erp_GoodsCat\",label:\"\\u5546\\u54C1\\u7C7B\\u522B\\u8868\",module:\"ERP\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"egc_Code\",originalKey:\"egc_Code\",label:\"\\u7F16\\u7801\"},{type:\"nvarchar(50)\",name:\"egc_Name\",originalKey:\"egc_Name\",label:\"\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"ParentId\",originalKey:\"ParentId\",label:\"\\u4E0A\\u7EA7\\u5206\\u7C7B\"},{type:\"bit\",name:\"IsParent\",originalKey:\"IsParent\",label:\"\\u662F\\u5426\\u7236\\u8282\\u70B9\"},{type:\"bit\",name:\"IsLeaf\",originalKey:\"IsLeaf\",label:\"\\u662F\\u5426\\u53F6\\u8282\\u70B9\"},{type:\"nvarchar(2000)\",name:\"Arrange\",originalKey:\"Arrange\",label:\"\\u6811\\u72B6\\u652F\\u6301\\u7B26\\u53F7\"},{type:\"int\",name:\"TreeOrder\",originalKey:\"TreeOrder\",label:\"\\u6392\\u5E8F\"},{type:\"nvarchar(500)\",name:\"egc_Remark\",originalKey:\"egc_Remark\",label:\"\\u5907\\u6CE8\"},{type:\"nvarchar(50)\",name:\"CREATE_ID\",originalKey:\"CREATE_ID\",label:\"\\u521B\\u5EFA\\u4EBA\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u521B\\u5EFA\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"UPDATE_ID\",originalKey:\"UPDATE_ID\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u4EBA\"},{type:\"datetime\",name:\"UPDATE_TIME\",originalKey:\"UPDATE_TIME\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"FControlUnitID\",originalKey:\"FControlUnitID\",label:\"\\u7EC4\\u7EC7\\u673A\\u6784\"}]},{name:\"erp_Goods\",originalKey:\"erp_Goods\",label:\"\\u5546\\u54C1\\u4FE1\\u606F\\u8868\",module:\"ERP\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"eg_Code\",originalKey:\"eg_Code\",label:\"\\u7F16\\u7801\"},{type:\"nvarchar(50)\",name:\"eg_Name\",originalKey:\"eg_Name\",label:\"\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"eg_SimpleName\",originalKey:\"eg_SimpleName\",label:\"\\u7B80\\u79F0\"},{type:\"nvarchar(50)\",name:\"eg_EnglishName\",originalKey:\"eg_EnglishName\",label:\"\\u5916\\u6587\\u540D\\u79F0\"},{type:\"nvarchar(200)\",name:\"eg_Specifications\",originalKey:\"eg_Specifications\",label:\"\\u89C4\\u683C\"},{type:\"nvarchar(50)\",name:\"eg_Brand\",originalKey:\"eg_Brand\",label:\"\\u54C1\\u724C\"},{type:\"nvarchar(50)\",name:\"eg_Unit\",originalKey:\"eg_Unit\",label:\"\\u5355\\u4F4D\"},{type:\"nvarchar(50)\",name:\"eg_BarCode\",originalKey:\"eg_BarCode\",label:\"\\u6761\\u5F62\\u7801\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"eg_Cat\",typeMeta:{relationModel:\"erp_GoodsCat\",type:\"Relation\"},label:\"\\u6240\\u5C5E\\u7C7B\\u522B\"},{type:\"nvarchar(50)\",name:\"eg_Warehouse\",originalKey:\"eg_Warehouse\",label:\"\\u6240\\u5C5E\\u4ED3\\u5E93\"},{type:\"int\",name:\"eg_Status\",originalKey:\"eg_Status\",label:\"\\u72B6\\u6001\"},{type:\"nvarchar(500)\",name:\"eg_Remark\",originalKey:\"eg_Remark\",label:\"\\u5907\\u6CE8\"},{type:\"nvarchar(50)\",name:\"CREATE_ID\",originalKey:\"CREATE_ID\",label:\"\\u521B\\u5EFA\\u4EBA\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u521B\\u5EFA\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"UPDATE_ID\",originalKey:\"UPDATE_ID\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u4EBA\"},{type:\"datetime\",name:\"UPDATE_TIME\",originalKey:\"UPDATE_TIME\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"FControlUnitID\",originalKey:\"FControlUnitID\",label:\"\\u7EC4\\u7EC7\\u673A\\u6784\"}]},{name:\"erp_GoodsPrice\",originalKey:\"erp_GoodsPrice\",label:\"\\u5546\\u54C1\\u4EF7\\u683C\\u8868\",module:\"ERP\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"egp_GoodsId\",typeMeta:{relationModel:\"erp_Goods\",type:\"Relation\"},label:\"\\u5546\\u54C1\"},{type:\"nvarchar(50)\",name:\"egp_Code\",originalKey:\"egp_Code\",label:\"\\u7F16\\u7801\"},{type:\"nvarchar(50)\",name:\"egp_Name\",originalKey:\"egp_Name\",label:\"\\u540D\\u79F0\"},{type:\"datetime\",name:\"egp_BeginTime\",originalKey:\"egp_BeginTime\",label:\"\\u8D77\\u59CB\\u65F6\\u95F4\\u6BB5\"},{type:\"datetime\",name:\"egp_EndTime\",originalKey:\"egp_EndTime\",label:\"\\u7ED3\\u675F\\u65F6\\u95F4\\u6BB5\"},{type:\"numeric(18,4)\",name:\"egp_Price\",originalKey:\"egp_Price\",label:\"\\u5355\\u4EF7\"},{type:\"numeric(18,4)\",name:\"egp_Discount\",originalKey:\"egp_Discount\",label:\"\\u6298\\u6263\\u7387\"},{type:\"numeric(18,4)\",name:\"egp_FavorablePrice\",originalKey:\"egp_FavorablePrice\",label:\"\\u4F18\\u60E0\\u540E\\u4EF7\\u683C\"},{type:\"nvarchar(200)\",name:\"egp_Remark\",originalKey:\"egp_Remark\",label:\"\\u5907\\u6CE8\"},{type:\"nvarchar(50)\",name:\"CREATE_ID\",originalKey:\"CREATE_ID\",label:\"\\u521B\\u5EFA\\u4EBA\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u521B\\u5EFA\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"UPDATE_ID\",originalKey:\"UPDATE_ID\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u4EBA\"},{type:\"datetime\",name:\"UPDATE_TIME\",originalKey:\"UPDATE_TIME\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"FControlUnitID\",originalKey:\"FControlUnitID\",label:\"\\u7EC4\\u7EC7\\u673A\\u6784\"}]},{name:\"erp_CustomerCat\",originalKey:\"erp_CustomerCat\",label:\"\\u5BA2\\u6237\\u7C7B\\u522B\\u8868\",module:\"ERP\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"ecc_Code\",originalKey:\"ecc_Code\",label:\"\\u7F16\\u7801\"},{type:\"nvarchar(50)\",name:\"ecc_Name\",originalKey:\"ecc_Name\",label:\"\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"ParentId\",originalKey:\"ParentId\",label:\"\\u4E0A\\u7EA7\\u5206\\u7C7B\"},{type:\"bit\",name:\"IsParent\",originalKey:\"IsParent\",label:\"\\u662F\\u5426\\u7236\\u8282\\u70B9\"},{type:\"bit\",name:\"IsLeaf\",originalKey:\"IsLeaf\",label:\"\\u662F\\u5426\\u53F6\\u8282\\u70B9\"},{type:\"nvarchar(2000)\",name:\"Arrange\",originalKey:\"Arrange\",label:\"\\u6811\\u72B6\\u652F\\u6301\\u7B26\\u53F7\"},{type:\"int\",name:\"TreeOrder\",originalKey:\"TreeOrder\",label:\"\\u6392\\u5E8F\"},{type:\"nvarchar(500)\",name:\"ecc_Remark\",originalKey:\"ecc_Remark\",label:\"\\u5907\\u6CE8\"},{type:\"nvarchar(50)\",name:\"CREATE_ID\",originalKey:\"CREATE_ID\",label:\"\\u521B\\u5EFA\\u4EBA\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u521B\\u5EFA\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"UPDATE_ID\",originalKey:\"UPDATE_ID\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u4EBA\"},{type:\"datetime\",name:\"UPDATE_TIME\",originalKey:\"UPDATE_TIME\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"FControlUnitID\",originalKey:\"FControlUnitID\",label:\"\\u7EC4\\u7EC7\\u673A\\u6784\"}]},{name:\"erp_SupplierCat\",originalKey:\"erp_SupplierCat\",label:\"\\u4F9B\\u5E94\\u5546\\u7C7B\\u522B\\u8868\",module:\"ERP\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"esc_Code\",originalKey:\"esc_Code\",label:\"\\u7F16\\u7801\"},{type:\"nvarchar(50)\",name:\"esc_Name\",originalKey:\"esc_Name\",label:\"\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"ParentId\",originalKey:\"ParentId\",label:\"\\u4E0A\\u7EA7\\u5206\\u7C7B\"},{type:\"bit\",name:\"IsParent\",originalKey:\"IsParent\",label:\"\\u662F\\u5426\\u7236\\u8282\\u70B9\"},{type:\"bit\",name:\"IsLeaf\",originalKey:\"IsLeaf\",label:\"\\u662F\\u5426\\u53F6\\u8282\\u70B9\"},{type:\"nvarchar(2000)\",name:\"Arrange\",originalKey:\"Arrange\",label:\"\\u6811\\u72B6\\u652F\\u6301\\u7B26\\u53F7\"},{type:\"int\",name:\"TreeOrder\",originalKey:\"TreeOrder\",label:\"\\u6392\\u5E8F\"},{type:\"nvarchar(500)\",name:\"esc_Remark\",originalKey:\"esc_Remark\",label:\"\\u5907\\u6CE8\"},{type:\"nvarchar(50)\",name:\"CREATE_ID\",originalKey:\"CREATE_ID\",label:\"\\u521B\\u5EFA\\u4EBA\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u521B\\u5EFA\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"UPDATE_ID\",originalKey:\"UPDATE_ID\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u4EBA\"},{type:\"datetime\",name:\"UPDATE_TIME\",originalKey:\"UPDATE_TIME\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"FControlUnitID\",originalKey:\"FControlUnitID\",label:\"\\u7EC4\\u7EC7\\u673A\\u6784\"}]},{name:\"erp_CustomerInfo\",originalKey:\"erp_CustomerInfo\",label:\"\\u5BA2\\u6237\\u4FE1\\u606F\\u8868\",module:\"ERP\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"ec_Code\",originalKey:\"ec_Code\",label:\"\\u7F16\\u7801\"},{type:\"nvarchar(50)\",name:\"ec_Name\",originalKey:\"ec_Name\",label:\"\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"ec_SimpleName\",originalKey:\"ec_SimpleName\",label:\"\\u7B80\\u79F0\"},{type:\"nvarchar(50)\",name:\"ec_EnglishName\",originalKey:\"ec_EnglishName\",label:\"\\u5916\\u6587\\u540D\\u5B57\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"ec_Cat\",typeMeta:{relationModel:\"erp_CustomerCat\",type:\"Relation\"},label:\"\\u6240\\u5C5E\\u7C7B\\u522B\"},{type:\"nvarchar(50)\",name:\"ec_LegalPerson\",originalKey:\"ec_LegalPerson\",label:\"\\u6CD5\\u4EBA\\u4EE3\\u8868\"},{type:\"nvarchar(50)\",name:\"ec_Linkman\",originalKey:\"ec_Linkman\",label:\"\\u8054\\u7CFB\\u4EBA\"},{type:\"nvarchar(50)\",name:\"ec_Tel\",originalKey:\"ec_Tel\",label:\"\\u8054\\u7CFB\\u7535\\u8BDD\"},{type:\"nvarchar(50)\",name:\"ec_Email\",originalKey:\"ec_Email\",label:\"\\u7535\\u5B50\\u90AE\\u7BB1\"},{type:\"nvarchar(50)\",name:\"ec_Area\",originalKey:\"ec_Area\",label:\"\\u6240\\u5C5E\\u5730\\u533A\"},{type:\"nvarchar(50)\",name:\"ec_PostalCode\",originalKey:\"ec_PostalCode\",label:\"\\u90AE\\u7F16\"},{type:\"nvarchar(200)\",name:\"ec_Addr\",originalKey:\"ec_Addr\",label:\"\\u5730\\u5740\"},{type:\"nvarchar(50)\",name:\"ec_Salesman\",originalKey:\"ec_Salesman\",label:\"\\u4E1A\\u52A1\\u5458\"},{type:\"int\",name:\"ec_Status\",originalKey:\"ec_Status\",label:\"\\u72B6\\u6001\"},{type:\"nvarchar(500)\",name:\"ec_Remark\",originalKey:\"ec_Remark\",label:\"\\u5907\\u6CE8\"},{type:\"nvarchar(50)\",name:\"CREATE_ID\",originalKey:\"CREATE_ID\",label:\"\\u521B\\u5EFA\\u4EBA\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u521B\\u5EFA\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"UPDATE_ID\",originalKey:\"UPDATE_ID\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u4EBA\"},{type:\"datetime\",name:\"UPDATE_TIME\",originalKey:\"UPDATE_TIME\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"FControlUnitID\",originalKey:\"FControlUnitID\",label:\"\\u7EC4\\u7EC7\\u673A\\u6784\"}]},{name:\"erp_SupplierInfo\",originalKey:\"erp_SupplierInfo\",label:\"\\u4F9B\\u5E94\\u5546\\u4FE1\\u606F\\u8868\",module:\"ERP\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"es_Cat\",typeMeta:{relationModel:\"erp_SupplierCat\",type:\"Relation\"},label:\"\\u6240\\u5C5E\\u7C7B\\u522B\"},{type:\"nvarchar(50)\",name:\"es_Code\",originalKey:\"es_Code\",label:\"\\u7F16\\u7801\"},{type:\"nvarchar(50)\",name:\"es_Name\",originalKey:\"es_Name\",label:\"\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"es_SimpleName\",originalKey:\"es_SimpleName\",label:\"\\u7B80\\u79F0\"},{type:\"nvarchar(50)\",name:\"es_EnglishName\",originalKey:\"es_EnglishName\",label:\"\\u5916\\u6587\\u540D\\u5B57\"},{type:\"nvarchar(50)\",name:\"es_LegalPerson\",originalKey:\"es_LegalPerson\",label:\"\\u6CD5\\u4EBA\\u4EE3\\u8868\"},{type:\"nvarchar(50)\",name:\"es_Tel\",originalKey:\"es_Tel\",label:\"\\u8054\\u7CFB\\u7535\\u8BDD\"},{type:\"nvarchar(50)\",name:\"es_Eamil\",originalKey:\"es_Eamil\",label:\"\\u7535\\u5B50\\u90AE\\u7BB1\"},{type:\"nvarchar(50)\",name:\"es_Addr\",originalKey:\"es_Addr\",label:\"\\u5730\\u5740\"},{type:\"nvarchar(50)\",name:\"es_Salesman\",originalKey:\"es_Salesman\",label:\"\\u4E1A\\u52A1\\u5458\"},{type:\"nvarchar(50)\",name:\"es_BizRegisterNo\",originalKey:\"es_BizRegisterNo\",label:\"\\u5DE5\\u5546\\u6CE8\\u518C\\u53F7\"},{type:\"nvarchar(50)\",name:\"es_BusiLicence\",originalKey:\"es_BusiLicence\",label:\"\\u8425\\u4E1A\\u6267\\u7167\"},{type:\"nvarchar(50)\",name:\"es_TaxRegisterNo\",originalKey:\"es_TaxRegisterNo\",label:\"\\u7A0E\\u52A1\\u767B\\u8BB0\\u53F7\"},{type:\"int\",name:\"es_Status\",originalKey:\"es_Status\",label:\"\\u72B6\\u6001\"},{type:\"nvarchar(200)\",name:\"es_Remark\",originalKey:\"es_Remark\",label:\"\\u5907\\u6CE8\"},{type:\"nvarchar(50)\",name:\"CREATE_ID\",originalKey:\"CREATE_ID\",label:\"\\u521B\\u5EFA\\u4EBA\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u521B\\u5EFA\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"UPDATE_ID\",originalKey:\"UPDATE_ID\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u4EBA\"},{type:\"datetime\",name:\"UPDATE_TIME\",originalKey:\"UPDATE_TIME\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"FControlUnitID\",originalKey:\"FControlUnitID\",label:\"\\u7EC4\\u7EC7\\u673A\\u6784\"}]},{name:\"erp_DepartmentInfo\",originalKey:\"erp_DepartmentInfo\",label:\"\\u90E8\\u95E8\\u4FE1\\u606F\\u8868\",module:\"ERP\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"ed_Code\",originalKey:\"ed_Code\",label:\"\\u7F16\\u7801\"},{type:\"nvarchar(50)\",name:\"ed_Name\",originalKey:\"ed_Name\",label:\"\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"ParentId\",originalKey:\"ParentId\",label:\"\\u4E0A\\u7EA7\\u5206\\u7C7B\"},{type:\"bit\",name:\"IsParent\",originalKey:\"IsParent\",label:\"\\u662F\\u5426\\u7236\\u8282\\u70B9\"},{type:\"bit\",name:\"IsLeaf\",originalKey:\"IsLeaf\",label:\"\\u662F\\u5426\\u53F6\\u8282\\u70B9\"},{type:\"nvarchar(2000)\",name:\"Arrange\",originalKey:\"Arrange\",label:\"\\u6811\\u72B6\\u652F\\u6301\\u7B26\\u53F7\"},{type:\"int\",name:\"TreeOrder\",originalKey:\"TreeOrder\",label:\"\\u6392\\u5E8F\"},{type:\"nvarchar(500)\",name:\"ed_Remark\",originalKey:\"ed_Remark\",label:\"\\u5907\\u6CE8\"},{type:\"nvarchar(50)\",name:\"CREATE_ID\",originalKey:\"CREATE_ID\",label:\"\\u521B\\u5EFA\\u4EBA\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u521B\\u5EFA\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"UPDATE_ID\",originalKey:\"UPDATE_ID\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u4EBA\"},{type:\"datetime\",name:\"UPDATE_TIME\",originalKey:\"UPDATE_TIME\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"FControlUnitID\",originalKey:\"FControlUnitID\",label:\"\\u7EC4\\u7EC7\\u673A\\u6784\"}]},{name:\"erp_UserInfo\",originalKey:\"erp_UserInfo\",label:\"\\u5458\\u5DE5\\u4FE1\\u606F\\u8868\",module:\"ERP\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"eu_Code\",originalKey:\"eu_Code\",label:\"\\u7F16\\u7801\"},{type:\"nvarchar(50)\",name:\"eu_Name\",originalKey:\"eu_Name\",label:\"\\u540D\\u5B57\"},{type:\"nvarchar(50)\",name:\"eu_EnglishName\",originalKey:\"eu_EnglishName\",label:\"\\u5916\\u6587\\u540D\\u5B57\"},{type:\"nvarchar(50)\",name:\"eu_BirthDate\",originalKey:\"eu_BirthDate\",label:\"\\u51FA\\u751F\\u5E74\\u6708\"},{type:\"nvarchar(50)\",name:\"eu_EntryDate\",originalKey:\"eu_EntryDate\",label:\"\\u5165\\u804C\\u65F6\\u95F4\"},{type:\"int\",name:\"eu_Cultural\",originalKey:\"eu_Cultural\",label:\"\\u6587\\u5316\\u6C34\\u5E73\"},{type:\"nvarchar(50)\",name:\"eu_IDCard\",originalKey:\"eu_IDCard\",label:\"\\u8EAB\\u4EFD\\u8BC1\\u53F7\"},{type:\"nvarchar(50)\",name:\"eu_Tel\",originalKey:\"eu_Tel\",label:\"\\u7535\\u8BDD\"},{type:\"nvarchar(50)\",name:\"eu_Position\",originalKey:\"eu_Position\",label:\"\\u804C\\u4F4D\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"eu_Department\",typeMeta:{relationModel:\"erp_DepartmentInfo\",type:\"Relation\"},label:\"\\u6240\\u5C5E\\u90E8\\u95E8\"},{type:\"nvarchar(500)\",name:\"eu_Remark\",originalKey:\"eu_Remark\",label:\"\\u5907\\u6CE8\"},{type:\"nvarchar(50)\",name:\"CREATE_ID\",originalKey:\"CREATE_ID\",label:\"\\u521B\\u5EFA\\u4EBA\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u521B\\u5EFA\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"UPDATE_ID\",originalKey:\"UPDATE_ID\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u4EBA\"},{type:\"datetime\",name:\"UPDATE_TIME\",originalKey:\"UPDATE_TIME\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"FControlUnitID\",originalKey:\"FControlUnitID\",label:\"\\u7EC4\\u7EC7\\u673A\\u6784\"}]},{name:\"erp_BaseOperatorLog\",originalKey:\"erp_BaseOperatorLog\",label:\"\\u57FA\\u7840\\u4FE1\\u606F\\u64CD\\u4F5C\\u65E5\\u5FD7\",module:\"ERP\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"ebol_Operator\",originalKey:\"ebol_Operator\",label:\"\\u64CD\\u4F5C\\u4EBA\"},{type:\"nvarchar(50)\",name:\"ebol_TableName\",originalKey:\"ebol_TableName\",label:\"\\u8868\\u540D\"},{type:\"int\",name:\"ebol_OperationType\",originalKey:\"ebol_OperationType\",label:\"\\u64CD\\u4F5C\\u7C7B\\u578B\"},{type:\"nvarchar(500)\",name:\"ebol_Content\",originalKey:\"ebol_Content\",label:\"\\u64CD\\u4F5C\\u5185\\u5BB9\"},{type:\"nvarchar(50)\",name:\"CREATE_ID\",originalKey:\"CREATE_ID\",label:\"\\u521B\\u5EFA\\u4EBA\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u521B\\u5EFA\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"UPDATE_ID\",originalKey:\"UPDATE_ID\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u4EBA\"},{type:\"datetime\",name:\"UPDATE_TIME\",originalKey:\"UPDATE_TIME\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"FControlUnitID\",originalKey:\"FControlUnitID\",label:\"\\u7EC4\\u7EC7\\u673A\\u6784\"}]},{name:\"erp_ContactInfo\",originalKey:\"erp_ContactInfo\",label:\"\\u8054\\u7CFB\\u4EBA\",module:\"ERP\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"ec_ForeignKey\",typeMeta:{relationModel:\"erp_CustomerInfo\",type:\"Relation\"},label:\"\\u5916\\u952E\"},{type:\"nvarchar(50)\",name:\"ec_ContactName\",originalKey:\"ec_ContactName\",label:\"\\u8054\\u7CFB\\u4EBA\"},{type:\"nvarchar(50)\",name:\"ec_Post\",originalKey:\"ec_Post\",label:\"\\u804C\\u52A1\"},{type:\"nvarchar(50)\",name:\"ec_Phone\",originalKey:\"ec_Phone\",label:\"\\u7535\\u8BDD\"},{type:\"nvarchar(50)\",name:\"ec_TelPhone\",originalKey:\"ec_TelPhone\",label:\"\\u624B\\u673A\"},{type:\"nvarchar(50)\",name:\"ec_Fax\",originalKey:\"ec_Fax\",label:\"\\u4F20\\u771F\"},{type:\"nvarchar(50)\",name:\"ec_Email\",originalKey:\"ec_Email\",label:\"\\u90AE\\u7BB1\"},{type:\"nvarchar(50)\",name:\"ec_Postalcode\",originalKey:\"ec_Postalcode\",label:\"\\u90AE\\u653F\\u7F16\\u7801\"},{type:\"nvarchar(200)\",name:\"ec_Addr\",originalKey:\"ec_Addr\",label:\"\\u5730\\u5740\"},{type:\"nvarchar(50)\",name:\"CREATE_ID\",originalKey:\"CREATE_ID\",label:\"\\u521B\\u5EFA\\u4EBA\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u521B\\u5EFA\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"UPDATE_ID\",originalKey:\"UPDATE_ID\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u4EBA\"},{type:\"datetime\",name:\"UPDATE_TIME\",originalKey:\"UPDATE_TIME\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"FControlUnitID\",originalKey:\"FControlUnitID\",label:\"\\u7EC4\\u7EC7\\u673A\\u6784\"}]},{name:\"erp_BankAccount\",originalKey:\"erp_BankAccount\",label:\"\\u94F6\\u884C\\u8D26\\u53F7\",module:\"ERP\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"eba_ForeignKey\",typeMeta:{relationModel:\"erp_CustomerInfo\",type:\"Relation\"},label:\"\\u5916\\u952E\"},{type:\"int\",name:\"eba_Type\",originalKey:\"eba_Type\",label:\"\\u8D26\\u6237\\u7C7B\\u578B\"},{type:\"nvarchar(50)\",name:\"eba_Bank\",originalKey:\"eba_Bank\",label:\"\\u5F00\\u6237\\u94F6\\u884C\"},{type:\"nvarchar(50)\",name:\"eba_Number\",originalKey:\"eba_Number\",label:\"\\u8D26\\u53F7\"},{type:\"nvarchar(50)\",name:\"eba_Currency\",originalKey:\"eba_Currency\",label:\"\\u5E01\\u79CD\"},{type:\"nvarchar(50)\",name:\"eba_Property\",originalKey:\"eba_Property\",label:\"\\u8D26\\u6237\\u7528\\u9014\"},{type:\"nvarchar(200)\",name:\"eba_Addr\",originalKey:\"eba_Addr\",label:\"\\u94F6\\u884C\\u5730\\u5740\"},{type:\"nvarchar(50)\",name:\"CREATE_ID\",originalKey:\"CREATE_ID\",label:\"\\u521B\\u5EFA\\u4EBA\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u521B\\u5EFA\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"UPDATE_ID\",originalKey:\"UPDATE_ID\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u4EBA\"},{type:\"datetime\",name:\"UPDATE_TIME\",originalKey:\"UPDATE_TIME\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4\"}]},{name:\"T9_Customer\",originalKey:\"T9_Customer\",label:\"\\u5BA2\\u6237\\u4FE1\\u606F\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"FID\",typeMeta:{relationModel:\"T9_Repair_flow\",type:\"Relation\"},label:\"\\u7F16\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9C_CarNum\",originalKey:\"T9C_CarNum\",label:\"\\u8F66\\u8F86\\u7F16\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9C_Name\",originalKey:\"T9C_Name\",label:\"\\u59D3\\u540D\"},{type:\"nvarchar(200)\",name:\"T9C_Number\",originalKey:\"T9C_Number\",label:\"\\u8054\\u7CFB\\u65B9\\u5F0F\"},{type:\"datetime\",name:\"T9C_DateOfBirth\",originalKey:\"T9C_DateOfBirth\",label:\"\\u51FA\\u751F\\u65E5\\u671F\"},{type:\"nvarchar(max)\",name:\"T9C_Address\",originalKey:\"T9C_Address\",label:\"\\u5730\\u5740\"},{type:\"int\",name:\"T9C_Sex\",originalKey:\"T9C_Sex\",label:\"\\u6027\\u522B\"},{type:\"nvarchar(50)\",name:\"T9C_LinkMan\",originalKey:\"T9C_LinkMan\",label:\"\\u8054\\u7CFB\\u4EBA\"}]},{name:\"T9_Repair_flow\",originalKey:\"T9_Repair_flow\",label:\"\\u7EF4\\u4FEE\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"T9R_RepairId\",typeMeta:{relationModel:\"T9_NewRepairParts\",type:\"Relation\"},label:\"\\u6D3E\\u5355\\u7F16\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9R_CustomerId\",originalKey:\"T9R_CustomerId\",label:\"\\u8F66\\u4E3B\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"T9R_CarId\",typeMeta:{relationModel:\"T9_Car\",type:\"Relation\"},label:\"\\u6C7D\\u8F66\\u7F16\\u53F7\"},{type:\"int\",name:\"T9R_Satisfaction\",originalKey:\"T9R_Satisfaction\",label:\"\\u6EE1\\u610F\\u5EA6\"},{type:\"numeric(18,4)\",name:\"T9R_Taxfee\",originalKey:\"T9R_Taxfee\",label:\"\\u7A0E\\u8D39\"},{type:\"nvarchar(50)\",name:\"T9R_PickMan\",originalKey:\"T9R_PickMan\",label:\"\\u63A5\\u8F66\\u4EBA\"},{type:\"int\",name:\"T9R_RepairType\",originalKey:\"T9R_RepairType\",label:\"\\u7EF4\\u4FEE\\u7C7B\\u578B\"},{type:\"nvarchar(max)\",name:\"T9R_PartNote\",originalKey:\"T9R_PartNote\",label:\"\\u914D\\u4EF6\\u5907\\u6CE8\"},{type:\"nvarchar(max)\",name:\"T9R_WorkHoursNote\",originalKey:\"T9R_WorkHoursNote\",label:\"\\u5DE5\\u65F6\\u5907\\u6CE8\"},{type:\"nvarchar(max)\",name:\"T9R_SettlementNote\",originalKey:\"T9R_SettlementNote\",label:\"\\u7ED3\\u7B97\\u5907\\u6CE8\"},{type:\"nvarchar(50)\",name:\"T9R_ContractNum\",originalKey:\"T9R_ContractNum\",label:\"\\u7EF4\\u4FEE\\u5408\\u540C\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9R_WorkOrderNum\",originalKey:\"T9R_WorkOrderNum\",label:\"\\u5DE5\\u5355\\u53F7\\u7801\"},{type:\"nvarchar(50)\",name:\"T9R_HandNumber\",originalKey:\"T9R_HandNumber\",label:\"\\u4EA4\\u63A5\\u5355\\u53F7\"},{type:\"numeric(18,4)\",name:\"T9R_Withholding\",originalKey:\"T9R_Withholding\",label:\"\\u4EE3\\u6536\\u4EE3\\u7F34\"},{type:\"numeric(18,4)\",name:\"T9R_Total\",originalKey:\"T9R_Total\",label:\"\\u603B\\u8BA1\\uFF08\\u5143\\uFF09\"},{type:\"nvarchar(50)\",name:\"T9R_Reckoner\",originalKey:\"T9R_Reckoner\",label:\"\\u7ED3\\u7B97\\u4EBA\"},{type:\"nvarchar(50)\",name:\"T9R_AccountNum\",originalKey:\"T9R_AccountNum\",label:\"\\u8D26\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9R_DutyParagraph\",originalKey:\"T9R_DutyParagraph\",label:\"\\u7A0E\\u53F7\"},{type:\"datetime\",name:\"T9R_OutfactoryTime\",originalKey:\"T9R_OutfactoryTime\",label:\"\\u51FA\\u5382\\u65F6\\u95F4\"},{type:\"datetime\",name:\"T9R_IntofactoryTime\",originalKey:\"T9R_IntofactoryTime\",label:\"\\u8FDB\\u5382\\u65F6\\u95F4\"},{type:\"datetime\",name:\"T9R_SettementDate\",originalKey:\"T9R_SettementDate\",label:\"\\u7ED3\\u7B97\\u65E5\\u671F\"},{type:\"datetime\",name:\"T9R_HandDate\",originalKey:\"T9R_HandDate\",label:\"\\u4EA4\\u63A5\\u65E5\\u671F\"},{type:\"datetime\",name:\"T9R_PreHandDate\",originalKey:\"T9R_PreHandDate\",label:\"\\u9884\\u8BA1\\u4EA4\\u4ED8\\u65E5\\u671F\"},{type:\"numeric(18,4)\",name:\"T9R_PreMaterial\",originalKey:\"T9R_PreMaterial\",label:\"\\u9884\\u8BA1\\u6750\\u6599\\u8D39\\uFF08\\u542B\\u7BA1\\u7406\\u8D39\\uFF09\"},{type:\"numeric(18,4)\",name:\"T9R_PreLabor\",originalKey:\"T9R_PreLabor\",label:\"\\u9884\\u8BA1\\u5DE5\\u65F6\\u8D39\"},{type:\"numeric(18,4)\",name:\"T9R_PreRepairSum\",originalKey:\"T9R_PreRepairSum\",label:\"\\u9884\\u8BA1\\u4FEE\\u7406\\u8D39\\u603B\\u548C\"},{type:\"numeric(18,4)\",name:\"T9R_AddMater\",originalKey:\"T9R_AddMater\",label:\"\\u9700\\u589E\\u6750\\u6599\\u8D39\"},{type:\"numeric(18,4)\",name:\"T9R_AddLabor\",originalKey:\"T9R_AddLabor\",label:\"\\u9700\\u589E\\u5DE5\\u65F6\\u8D39\"},{type:\"numeric(18,4)\",name:\"T9R_AddRepairSum\",originalKey:\"T9R_AddRepairSum\",label:\"\\u9700\\u589E\\u4FEE\\u7406\\u8D39\\u603B\\u8BA1\"},{type:\"datetime\",name:\"T9R_DateAlter\",originalKey:\"T9R_DateAlter\",label:\"\\u4EA4\\u4ED8\\u65E5\\u671F\\u4FEE\\u8BA2\"},{type:\"nvarchar(50)\",name:\"T9R_Detection\",originalKey:\"T9R_Detection\",label:\"\\u59D4\\u6258\\u4FEE\\u7406\\u9879\\u76EE\\u68C0\\u9A8C\"},{type:\"nvarchar(200)\",name:\"T9R_Opinion\",originalKey:\"T9R_Opinion\",label:\"\\u63D0\\u793A\\u548C\\u5EFA\\u8BAE\"},{type:\"numeric(18,4)\",name:\"T9R_PartPercen\",originalKey:\"T9R_PartPercen\",label:\"\\u6750\\u6599\\u767E\\u5206\\u6BD4\"},{type:\"nvarchar(50)\",name:\"T9R_ChassisID\",originalKey:\"T9R_ChassisID\",label:\"\\u8F66\\u67B6\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9R_ReceiveID\",originalKey:\"T9R_ReceiveID\",label:\"\\u63A5\\u5F85\\u8005id\"}]},{name:\"T9eng_WorkHours\",originalKey:\"T9eng_WorkHours\",label:\"\\u5DE5\\u65F6\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9W_RepairId\",originalKey:\"T9W_RepairId\",label:\"\\u6D3E\\u5355\\u53F7\"},{type:\"nvarchar(max)\",name:\"T9W_Content\",originalKey:\"T9W_Content\",label:\"\\u5185\\u5BB9\"},{type:\"numeric(18,4)\",name:\"T9W_Money\",originalKey:\"T9W_Money\",label:\"\\u5DE5\\u65F6\\u603B\\u4EF7\"},{type:\"numeric(18,4)\",name:\"T9W_Price\",originalKey:\"T9W_Price\",label:\"\\u5DE5\\u65F6\\u5355\\u4EF7\"},{type:\"datetime\",name:\"T9W_WorkTime\",originalKey:\"T9W_WorkTime\",label:\"\\u5DE5\\u65F6\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"T9W_Class\",typeMeta:{relationModel:\"T9_ClassGroup\",type:\"Relation\"},label:\"\\u73ED\\u7EC4\"}]},{name:\"T9_RepairParts\",originalKey:\"T9_RepairParts\",label:\"\\u7EF4\\u4FEE\\u914D\\u4EF6\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9P_RepairId\",originalKey:\"T9P_RepairId\",label:\"\\u6D3E\\u5355\\u53F7\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"T9P_Partsid\",typeMeta:{relationModel:\"T9_PartManger\",type:\"Relation\"},label:\"\\u914D\\u4EF6\\u540D\\u79F0\"},{type:\"int\",name:\"T9P_Number\",originalKey:\"T9P_Number\",label:\"\\u6570\\u91CF\"},{type:\"decimal(18,4)\",name:\"T9P_ExpectPrice\",originalKey:\"T9P_ExpectPrice\",label:\"\\u9884\\u8BA1\\u5355\\u4EF7\\u8D39\"},{type:\"decimal(18,4)\",name:\"T9P_ExpectAllCost\",originalKey:\"T9P_ExpectAllCost\",label:\"\\u9884\\u8BA1\\u603B\\u8D39\\u7528\"},{type:\"decimal(18,4)\",name:\"T9P_RealPrice\",originalKey:\"T9P_RealPrice\",label:\"\\u5B9E\\u9645\\u5355\\u4EF7\\u8D39\"},{type:\"decimal(18,4)\",name:\"T9P_RealAllCost\",originalKey:\"T9P_RealAllCost\",label:\"\\u5B9E\\u9645\\u603B\\u8D39\\u7528\"}]},{name:\"T9_Car\",originalKey:\"T9_Car\",label:\"\\u6C7D\\u8F66\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9C_LicenseMember\",originalKey:\"T9C_LicenseMember\",label:\"\\u8F66\\u724C\\u53F7\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"T9C_CarType\",typeMeta:{relationModel:\"T9_CarStyle\",type:\"Relation\"},label:\"\\u8F66\\u578B\"},{type:\"nvarchar(50)\",name:\"T9C_Color\",originalKey:\"T9C_Color\",label:\"\\u989C\\u8272\"},{type:\"nvarchar(50)\",name:\"T9C_CustomerId\",originalKey:\"T9C_CustomerId\",label:\"\\u8F66\\u4E3BID\"},{type:\"datetime\",name:\"T9C_DateOfAcquistion\",originalKey:\"T9C_DateOfAcquistion\",label:\"\\u8D2D\\u7F6E\\u65E5\\u671F\"},{type:\"nvarchar(50)\",name:\"T9C_Journey\",originalKey:\"T9C_Journey\",label:\"\\u884C\\u7A0B\\u516C\\u91CC\"}]},{name:\"T9_NewRepairParts\",originalKey:\"T9_NewRepairParts\",label:\"\\u65B0\\u589E\\u7EF4\\u4FEE\\u914D\\u4EF6\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9P_RepairId\",originalKey:\"T9P_RepairId\",label:\"\\u6D3E\\u5355\\u53F7\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"T9P_PartsId\",typeMeta:{relationModel:\"T9_PartManger\",type:\"Relation\"},label:\"\\u914D\\u4EF6\\u540D\\u79F0\"},{type:\"int\",name:\"T9P_Number\",originalKey:\"T9P_Number\",label:\"\\u6570\\u91CF\"},{type:\"decimal(18,4)\",name:\"T9P_ExpectPrice\",originalKey:\"T9P_ExpectPrice\",label:\"\\u9884\\u8BA1\\u5355\\u4EF7\\u8D39\"},{type:\"decimal(18,4)\",name:\"T9P_ExpectAllCost\",originalKey:\"T9P_ExpectAllCost\",label:\"\\u9884\\u8BA1\\u603B\\u8D39\\u7528\"},{type:\"decimal(18,4)\",name:\"T9P_RealPrice\",originalKey:\"T9P_RealPrice\",label:\"\\u5B9E\\u9645\\u5355\\u4EF7\\u8D39\"},{type:\"decimal(18,4)\",name:\"T9P_RealAllCost\",originalKey:\"T9P_RealAllCost\",label:\"\\u5B9E\\u9645\\u603B\\u8D39\\u7528\"}]},{name:\"T9_PartManger\",originalKey:\"T9_PartManger\",label:\"\\u914D\\u4EF6\\u7BA1\\u7406\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"FID\",typeMeta:{relationModel:\"T9_PartsPrice\",type:\"Relation\"},label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9P_ID\",originalKey:\"T9P_ID\",label:\"\\u914D\\u4EF6\\u7F16\\u53F7\"},{type:\"nvarchar(max)\",name:\"T9P_Name\",originalKey:\"T9P_Name\",label:\"\\u914D\\u4EF6\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"T9P_Unit\",originalKey:\"T9P_Unit\",label:\"\\u5355\\u4F4D\"},{type:\"numeric(18,4)\",name:\"T9P_Money\",originalKey:\"T9P_Money\",label:\"\\u91D1\\u989D\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"T9P_CarKind\",typeMeta:{relationModel:\"T9_CarStyle\",type:\"Relation\"},label:\"\\u8F66\\u7CFB\"},{type:\"numeric(18,4)\",name:\"T9P_RemainMoney\",originalKey:\"T9P_RemainMoney\",label:\"\\u5E93\\u5B58\\u4F59\\u989D\"},{type:\"nvarchar(50)\",name:\"T9P_CarStyle\",originalKey:\"T9P_CarStyle\",label:\"\\u8F66\\u578B\"},{type:\"nvarchar(50)\",name:\"T9P_CarBrand\",originalKey:\"T9P_CarBrand\",label:\"\\u8F66\\u54C1\\u724C\"},{type:\"nvarchar(50)\",name:\"T9P_OriFactoryID\",originalKey:\"T9P_OriFactoryID\",label:\"\\u539F\\u5382\\u7F16\\u7801\"},{type:\"nvarchar(50)\",name:\"T9P_InventoryID\",originalKey:\"T9P_InventoryID\",label:\"\\u5E93\\u5B58\\u7F16\\u7801\"},{type:\"nvarchar(50)\",name:\"T9P_GoodsID\",originalKey:\"T9P_GoodsID\",label:\"\\u8D27\\u4F4D\\u7F16\\u7801\"}]},{name:\"T9_Repairshops\",originalKey:\"T9_Repairshops\",label:\"\\u7EF4\\u4FEE\\u5382\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9R_Name\",originalKey:\"T9R_Name\",label:\"\\u7EF4\\u4FEE\\u5382\\u540D\\u79F0\"},{type:\"nvarchar(Max)\",name:\"T9R_Adress\",originalKey:\"T9R_Adress\",label:\"\\u7EF4\\u4FEE\\u5382\\u5730\\u5740\"},{type:\"nvarchar(50)\",name:\"T9R_Area\",originalKey:\"T9R_Area\",label:\"\\u6240\\u5728\\u533A\\u57DF\"},{type:\"nvarchar(50)\",name:\"T9R_LinkMan\",originalKey:\"T9R_LinkMan\",label:\"\\u8054\\u7CFB\\u4EBA\"},{type:\"nvarchar(50)\",name:\"T9R_Tel\",originalKey:\"T9R_Tel\",label:\"\\u8054\\u7CFB\\u7535\\u8BDD\"},{type:\"nvarchar(50)\",name:\"T9R_ Facsimile\",originalKey:\"T9R_ Facsimile\",label:\"\\u4F20\\u771F\"},{type:\"nvarchar(50)\",name:\"T9R_Postalcode\",originalKey:\"T9R_Postalcode\",label:\"\\u90AE\\u653F\\u7F16\\u7801\"},{type:\"nvarchar(200)\",name:\"T9R_Note\",originalKey:\"T9R_Note\",label:\"\\u5907\\u6CE8\"},{type:\"nvarchar(50)\",name:\"T9R_GroupSign\",originalKey:\"T9R_GroupSign\",label:\"\\u7EC4\\u7EC7\\u6807\\u5FD7\"}]},{name:\"T9_Supplier\",originalKey:\"T9_Supplier\",label:\"\\u4F9B\\u5E94\\u5546\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9S_Name\",originalKey:\"T9S_Name\",label:\"\\u4F9B\\u5E94\\u5546\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"T9S_Brand\",originalKey:\"T9S_Brand\",label:\"\\u4F9B\\u5E94\\u54C1\\u724C\"},{type:\"nvarchar(Max)\",name:\"T9S_RepairAdress\",originalKey:\"T9S_RepairAdress\",label:\"\\u7EF4\\u4FEE\\u5382\\u5730\\u5740\"},{type:\"nvarchar(50)\",name:\"T9S_Area\",originalKey:\"T9S_Area\",label:\"\\u6240\\u5728\\u533A\\u57DF\"},{type:\"nvarchar(50)\",name:\"T9S_LinkMan\",originalKey:\"T9S_LinkMan\",label:\"\\u8054\\u7CFB\\u4EBA\"},{type:\"nvarchar(50)\",name:\"T9S_Tel\",originalKey:\"T9S_Tel\",label:\"\\u8054\\u7CFB\\u7535\\u8BDD\"},{type:\"nvarchar(50)\",name:\"T9S_ Facsimile\",originalKey:\"T9S_ Facsimile\",label:\"\\u4F20\\u771F\"},{type:\"nvarchar(50)\",name:\"T9S_Postalcode\",originalKey:\"T9S_Postalcode\",label:\"\\u90AE\\u653F\\u7F16\\u7801\"},{type:\"nvarchar(200)\",name:\"T9S_Note\",originalKey:\"T9S_Note\",label:\"\\u5907\\u6CE8\"},{type:\"vnarchar(50)\",name:\"T9S_GroupSign\",originalKey:\"T9S_GroupSign\",label:\"\\u7EC4\\u7EC7\\u6807\\u5FD7\"}]},{name:\"T9_CarStyle\",originalKey:\"T9_CarStyle\",label:\"\\u8F66\\u578B\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9C_Name\",originalKey:\"T9C_Name\",label:\"\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"T9C_SeriesID\",typeMeta:{relationModel:\"T9_CarKind\",type:\"Relation\"},label:\"\\u8F66\\u7CFBID\"}]},{name:\"T9_Procurement\",originalKey:\"T9_Procurement\",label:\"\\u7ADE\\u4EF7\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9P_RepairfactoryFID\",originalKey:\"T9P_RepairfactoryFID\",label:\"\\u7EF4\\u4FEE\\u5382FID\"},{type:\"nvarchar(Max)\",name:\"T9P_Adress\",originalKey:\"T9P_Adress\",label:\"\\u6536\\u8D27\\u5730\\u5740\"},{type:\"nvarchar(50)\",name:\"T9P_LinkMan\",originalKey:\"T9P_LinkMan\",label:\"\\u6536\\u8D27\\u4EBA\"},{type:\"nvarchar(50)\",name:\"T9P_LinkTel\",originalKey:\"T9P_LinkTel\",label:\"\\u6536\\u4EBA\\u8054\\u7CFB\\u65B9\\u5F0F\"},{type:\"nvarchar(50)\",name:\"T9P_CarStyleID\",originalKey:\"T9P_CarStyleID\",label:\"\\u8F66\\u7CFBID\"},{type:\"nvarchar(50)\",name:\"T9P_PartName\",originalKey:\"T9P_PartName\",label:\"\\u914D\\u4EF6ID\"},{type:\"nvarchar(200)\",name:\"T9P_Note\",originalKey:\"T9P_Note\",label:\"\\u5907\\u6CE8\"},{type:\"nvarchar(50)\",name:\"T9P_Num\",originalKey:\"T9P_Num\",label:\"\\u6570\\u91CF\"},{type:\"numeric(18,4)\",name:`T9P_finallyprice\\r\nT9P_FinallyPirce`,originalKey:`T9P_finallyprice\\r\nT9P_FinallyPirce`,label:\"\\u6700\\u7EC8\\u6210\\u4EA4\\u4EF7\\u683C\"},{type:\"numeric(18,4)\",name:\"T9P_MinPrice\",originalKey:\"T9P_MinPrice\",label:\"\\u7ADE\\u4EF7\\u6700\\u4F4E\\u4EF7\\u683C\"},{type:\"int\",name:\"T9P_PriceState\",originalKey:\"T9P_PriceState\",label:\"\\u91C7\\u8D2D\\u4FE1\\u606F\\u72B6\\u6001\"},{type:\"nvarchar(50)\",name:\"T9P_SupplierID\",originalKey:\"T9P_SupplierID\",label:\"\\u4F9B\\u5E94\\u5546ID\"},{type:\"nvarchar(50)\",name:\"T9P_CarKind\",originalKey:\"T9P_CarKind\",label:\"\\u8F66\\u7CFB\"},{type:\"nvarchar(50)\",name:\"T9P_CarStyle\",originalKey:\"T9P_CarStyle\",label:\"\\u8F66\\u578B\"},{type:\"nvarchar(50)\",name:\"T9P_CarBrand\",originalKey:\"T9P_CarBrand\",label:\"\\u8F66\\u54C1\\u724C\"},{type:\"nvarchar(50)\",name:\"T9P_PartUnit\",originalKey:\"T9P_PartUnit\",label:\"\\u914D\\u4EF6\\u5355\\u4F4D\"},{name:\"T9P_finallyOnePrice\",originalKey:\"T9P_finallyOnePrice\",label:\"\\u6700\\u603B\\u5355\\u4EF7\"},{type:\"nvarchar(50)\",name:\"T9P_ServiceID\",originalKey:\"T9P_ServiceID\",label:\"\\u7EF4\\u4FEE\\u7F16\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9P_CarID\",originalKey:\"T9P_CarID\",label:\"\\u6C7D\\u8F66\\u7F16\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9P_CustomerID\",originalKey:\"T9P_CustomerID\",label:\"\\u5BA2\\u6237\\u7F16\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9P_OrderID\",originalKey:\"T9P_OrderID\",label:\"\\u8BA2\\u5355\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9P_ChassisID\",originalKey:\"T9P_ChassisID\",label:\"\\u8F66\\u67B6\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9P_LicenseID\",originalKey:\"T9P_LicenseID\",label:\"\\u8F66\\u724C\\u53F7\"},{type:\"ntext\",name:\"T9P_Picture\",originalKey:\"T9P_Picture\",label:\"\\u7167\\u7247\"}]},{name:\"T9_Bidding\",originalKey:\"T9_Bidding\",label:\"\\u62A5\\u4EF7\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"FID\",typeMeta:{relationModel:\"T9_Procurement\",type:\"Relation\"},label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9P_FID\",originalKey:\"T9P_FID\",label:\"\\u4F9B\\u5E94\\u5546FID\"},{type:\"nvarchar(50)\",name:\"T9B_FID\",originalKey:\"T9B_FID\",label:\"\\u91C7\\u8D2DFID\"},{type:\"numeric(18,4)\",name:\"T9B_Price\",originalKey:\"T9B_Price\",label:\"\\u7ADE\\u4EF7\"},{type:\"nvarchar(50)\",name:\"T9B_Number\",originalKey:\"T9B_Number\",label:\"\\u6570\\u91CF\"},{type:\"numeric(18,4)\",name:\"T9B_Money\",originalKey:\"T9B_Money\",label:\"\\u91D1\\u989D\"},{type:\"nvarchar(50)\",name:\"T9B_WinBidding\",originalKey:\"T9B_WinBidding\",label:\"\\u662F\\u5426\\u4E2D\\u6807\"}]},{name:\"T9_ClassGroup\",originalKey:\"T9_ClassGroup\",label:\"\\u73ED\\u7EC4\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9C_Name\",originalKey:\"T9C_Name\",label:\"\\u73ED\\u7EC4\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"T9C_Sign\",originalKey:\"T9C_Sign\",label:\"\\u73ED\\u7EC4\\u6807\\u8BC6(\\u82F1\\u6587\\u540D)\"},{type:\"decimal(18,4)\",name:\"T9C_HourlyRate\",originalKey:\"T9C_HourlyRate\",label:\"\\u65F6\\u85AA\"}]},{name:\"T9_CarKind\",originalKey:\"T9_CarKind\",label:\"\\u8F66\\u7CFB\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9C_Kind\",originalKey:\"T9C_Kind\",label:\"\\u8F66\\u7CFB\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"T9C_BrandFID\",typeMeta:{relationModel:\"T9_CarBrand\",type:\"Relation\"},label:\"\\u54C1\\u724CFID\"}]},{name:\"T9_CarBrand\",originalKey:\"T9_CarBrand\",label:\"\\u8F66\\u4E3B\\u54C1\\u724C\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9C_Brand\",originalKey:\"T9C_Brand\",label:\"\\u54C1\\u724C\\u540D\\u79F0\"}]},{name:\"T9_PartsPrice\",originalKey:\"T9_PartsPrice\",label:\"\\u914D\\u4EF6\\u4EF7\\u683C\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9P_FID\",originalKey:\"T9P_FID\",label:\"\\u914D\\u4EF6FID\"},{type:\"numeric(18,4)\",name:\"T9P_Price\",originalKey:\"T9P_Price\",label:\"\\u4EF7\\u683C\"},{type:\"datetime\",name:\"T9P_UpdateTime\",originalKey:\"T9P_UpdateTime\",label:\"\\u66F4\\u65B0\\u65F6\\u95F4\"}]},{name:\"T9_Changebound\",originalKey:\"T9_Changebound\",label:\"\\u5E93\\u5B58\\u53D8\\u52A8\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"FID\",typeMeta:{relationModel:\"T9_PartManger\",type:\"Relation\"},label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9C_PartID\",originalKey:\"T9C_PartID\",label:\"\\u914D\\u4EF6ID\"},{type:\"nvarchar(50)\",name:\"T9C_PartKind\",originalKey:\"T9C_PartKind\",label:\"\\u914D\\u4EF6\\u5206\\u7C7B\"},{type:\"nvarchar(50)\",name:\"T9C_PartName\",originalKey:\"T9C_PartName\",label:\"\\u914D\\u4EF6\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"T9C_Measuringunit\",originalKey:\"T9C_Measuringunit\",label:\"\\u8BA1\\u91CF\\u5355\\u4F4D\"},{type:\"numeric(18,4)\",name:\"T9C_Price\",originalKey:\"T9C_Price\",label:\"\\u91C7\\u8D2D\\u4EF7\\u683C\"},{type:\"nvarchar(50)\",name:\"T9C_Number\",originalKey:\"T9C_Number\",label:\"\\u91C7\\u8D2D\\u6570\\u91CF\"},{type:\"int\",name:\"T9C_OperationKind\",originalKey:\"T9C_OperationKind\",label:\"\\u64CD\\u4F5C\\u7C7B\\u578B\"},{type:\"nvarchar(50)\",name:\"T9C_RepairID\",originalKey:\"T9C_RepairID\",label:\"\\u7EF4\\u4FEE\\u5355ID\"},{type:\"nvarchar(50)\",name:\"T9C_PurchaseID\",originalKey:\"T9C_PurchaseID\",label:\"\\u91C7\\u8D2D\\u5355Id\"},{type:\"nvarchar(50)\",name:\"T9C_StartNum\",originalKey:\"T9C_StartNum\",label:\"\\u521D\\u59CB\\u4F59\\u989D\"},{type:\"nvarchar(50)\",name:\"T9C_OnePrice\",originalKey:\"T9C_OnePrice\",label:\"\\u53D8\\u52A8\\u62A5\\u4EF7\"},{type:\"nvarchar(50)\",name:\"T9C_EndNum\",originalKey:\"T9C_EndNum\",label:\"\\u6700\\u7EC8\\u6570\\u76EE\"}]},{name:\"T9_StorageList\",originalKey:\"T9_StorageList\",label:\"\\u5165\\u5E93\\u5355\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9I_InFID\",originalKey:\"T9I_InFID\",label:\"\\u5165\\u5E93\\u5355\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9I_Supplier\",originalKey:\"T9I_Supplier\",label:\"\\u4F9B\\u5E94\\u5546\"},{type:\"nvarchar(50)\",name:\"T9I_BillType\",originalKey:\"T9I_BillType\",label:\"\\u5355\\u636E\\u7C7B\\u578B\"},{type:\"datetime\",name:\"T9I_InDateTime\",originalKey:\"T9I_InDateTime\",label:\"\\u5165\\u5E93\\u65E5\\u671F\"},{type:\"nvarchar(50)\",name:\"T9I_PayType\",originalKey:\"T9I_PayType\",label:\"\\u4ED8\\u6B3E\\u65B9\\u5F0F\"},{type:\"nvarchar(50)\",name:\"T9I_Operator\",originalKey:\"T9I_Operator\",label:\"\\u7ECF\\u529E\\u4EBA\"},{type:\"nvarchar(50)\",name:\"T9I_InType\",originalKey:\"T9I_InType\",label:\"\\u5165\\u5E93\\u7C7B\\u578B\"},{type:\"nvarchar(50)\",name:\"T9I_CarLicense\",originalKey:\"T9I_CarLicense\",label:\"\\u8F66\\u724C\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9I_ChassisNumber\",originalKey:\"T9I_ChassisNumber\",label:\"\\u8F66\\u67B6\\u53F7\"},{type:\"decimal(18,4)\",name:\"T9I_ToalPrice\",originalKey:\"T9I_ToalPrice\",label:\"\\u5408\\u8BA1\\u91D1\\u989D\"},{type:\"decimal(18,4)\",name:\"T9I_Rate\",originalKey:\"T9I_Rate\",label:\"\\u7A0E\\u7387\"},{type:\"decimal(18,4)\",name:\"T9I_TaxRate\",originalKey:\"T9I_TaxRate\",label:\"\\u7A0E\\u989D\"},{type:\"decimal(18,4)\",name:\"T9I_TaxAmount\",originalKey:\"T9I_TaxAmount\",label:\"\\u542B\\u7A0E\\u91D1\\u989D\"},{type:\"nvarchar(50)\",name:\"T9I_WarehouseKeeper\",originalKey:\"T9I_WarehouseKeeper\",label:\"\\u4ED3\\u7BA1\"},{type:\"nvarchar(50)\",name:\"T9I_Audit\",originalKey:\"T9I_Audit\",label:\"\\u5BA1\\u6838\"}]},{name:\"T9_StorageListDetail\",originalKey:\"T9_StorageListDetail\",label:\"\\u5165\\u5E93\\u660E\\u7EC6\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9I_InFID\",originalKey:\"T9I_InFID\",label:\"\\u5165\\u5E93\\u5355\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9I_PartFID\",originalKey:\"T9I_PartFID\",label:\"\\u5546\\u54C1\\u7F16\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9I_PartName\",originalKey:\"T9I_PartName\",label:\"\\u5546\\u54C1\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"T9I_Model\",originalKey:\"T9I_Model\",label:\"\\u578B\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9I_Unit\",originalKey:\"T9I_Unit\",label:\"\\u5355\\u4F4D\"},{type:\"int\",name:\"T9I_Number\",originalKey:\"T9I_Number\",label:\"\\u6570\\u91CF\"},{type:\"decimal(18,4)\",name:\"T9I_OnePrice\",originalKey:\"T9I_OnePrice\",label:\"\\u5355\\u4EF7\"},{type:\"decimal(18,4)\",name:\"T9I_Price\",originalKey:\"T9I_Price\",label:\"\\u91D1\\u989D\"},{type:\"nvarchar(50)\",name:\"T9I_ProductClass\",originalKey:\"T9I_ProductClass\",label:\"\\u4EA7\\u54C1\\u7C7B\\u522B\"}]},{name:\"T9_DeliveryOrder\",originalKey:\"T9_DeliveryOrder\",label:\"\\u51FA\\u5E93\\u5355\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9O_BoundID\",originalKey:\"T9O_BoundID\",label:\"\\u51FA\\u5E93\\u5355\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9O_ClientName\",originalKey:\"T9O_ClientName\",label:\"\\u5BA2\\u6237\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"T9O_Type\",originalKey:\"T9O_Type\",label:\"\\u7C7B\\u578B\"},{type:\"datetime\",name:\"T9O_OutDate\",originalKey:\"T9O_OutDate\",label:\"\\u51FA\\u5E93\\u65E5\\u671F\"},{type:\"nvarchar(50)\",name:\"T9O_Dispatch\",originalKey:\"T9O_Dispatch\",label:\"\\u6D3E\\u5355\\u7F16\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9O_ChargeName\",originalKey:\"T9O_ChargeName\",label:\"\\u7ECF\\u529E\\u4EBA\"},{type:\"nvarchar(50)\",name:\"T9O_Class\",originalKey:\"T9O_Class\",label:\"\\u9886\\u73ED\\u73ED\\u7EC4\"},{type:\"nvarchar(50)\",name:\"T9O_Note\",originalKey:\"T9O_Note\",label:\"\\u5907\\u6CE8\"},{type:\"nvarchar(50)\",name:\"T9O_CarNumber\",originalKey:\"T9O_CarNumber\",label:\"\\u8F66\\u724C\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9O_Amount\",originalKey:\"T9O_Amount\",label:\"\\u5408\\u8BA1\\u91D1\\u989D\"},{type:\"nvarchar(50)\",name:\"T9O_BoundManger\",originalKey:\"T9O_BoundManger\",label:\"\\u4ED3\\u7BA1\"},{type:\"nvarchar(50)\",name:\"T9O_Reviewer\",originalKey:\"T9O_Reviewer\",label:\"\\u5BA1\\u6838\\u4EBA\"},{type:\"nvarchar(50)\",name:\"T9O_Pick\",originalKey:\"T9O_Pick\",label:\"\\u9886\\u6599\"}]},{name:\"T9_DeliveryOrderDetail\",originalKey:\"T9_DeliveryOrderDetail\",label:\"\\u51FA\\u5E93\\u660E\\u7EC6\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9C_FID\",originalKey:\"T9C_FID\",label:\"\\u51FA\\u5E93\\u5355\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9D_PartID\",originalKey:\"T9D_PartID\",label:\"\\u5546\\u54C1\\u7F16\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9D_PartName\",originalKey:\"T9D_PartName\",label:\"\\u5546\\u54C1\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"T9D_Type\",originalKey:\"T9D_Type\",label:\"\\u578B\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9D_Num\",originalKey:\"T9D_Num\",label:\"\\u6570\\u91CF\"},{type:\"nvarchar(50))\",name:\"T9D_Unit\",originalKey:\"T9D_Unit\",label:\"\\u5355\\u4F4D\"},{type:\"decimarl(18,4)\",name:\"T9D_Price\",originalKey:\"T9D_Price\",label:\"\\u5355\\u4EF7\"},{type:\"decimal(18,4)\",name:\"T9D_Money\",originalKey:\"T9D_Money\",label:\"\\u91D1\\u989D\"},{type:\"nvarchar(50)\",name:\"T9D_Bound\",originalKey:\"T9D_Bound\",label:\"\\u4ED3\\u5E93\"}]}],M=[{name:\"finance\",label:\"\\u91D1\\u878D\"},{name:\"ERP\",label:\"\\u8FDB\\u9500\\u5B58\"},{label:\"\\u6C7D\\u4FEE\",name:\"T9engSQ\"}],Ke=b(82518),me=b(11527),re=function(){return(0,me.jsx)(u.Z,{models:Q,modules:M,erdkey:\"codedemo\",height:\"850\",className:\"console-g6-page-dumi\"})}},53926:function(at,J,b){b.r(J),b.d(J,{default:function(){return re}});var d=b(50959),u=b(80858),Q=[{label:\"ER\\u56FE\",name:\"web-pdm\"}],M=[{name:\"model\",label:\"\\u5B9E\\u4F53\\u6A21\\u578B\",module:\"web-pdm\",type:\"\",fields:[{name:\"id\",label:\"\\u4E3B\\u952E\",type:\"string\"},{name:\"label\",label:\"\\u6807\\u7B7E\",type:\"string\"},{name:\"name\",label:\"\\u540D\\u79F0\",type:\"string\"},{name:\"module\",label:\"\\u6A21\\u5757\",type:\"toOne\",typeMeta:{type:\"Relation\",relationModel:\"module\"}},{name:\"fields\",label:\"\\u62E5\\u6709\\u5B57\\u6BB5\",type:\"toMany\",typeMeta:{type:\"Relation\",relationModel:\"field\"}}]},{name:\"module\",label:\"\\u6A21\\u5757\",module:\"web-pdm\",type:\"\",fields:[{name:\"id\",label:\"\\u4E3B\\u952E\",type:\"string\"},{name:\"label\",label:\"\\u6807\\u7B7E\",type:\"string\"},{name:\"name\",label:\"\\u540D\\u79F0\",type:\"string\"},{name:\"models\",label:\"\\u62E5\\u6709\\u6A21\\u578B\",type:\"toMany\",typeMeta:{type:\"Relation\",relationModel:\"model\"}}]},{name:\"field\",label:\"\\u5B57\\u6BB5\",module:\"web-pdm\",type:\"\",fields:[{name:\"id\",label:\"\\u4E3B\\u952E\",type:\"string\"},{name:\"label\",label:\"\\u6807\\u7B7E\",type:\"string\"},{name:\"name\",label:\"\\u540D\\u79F0\",type:\"string\"},{name:\"model\",label:\"\\u6A21\\u578B\",type:\"toOne\",typeMeta:{type:\"Relation\",relationModel:\"model\"}},{name:\"metaType\",label:\"\\u5173\\u8054\\u4FE1\\u606F\",type:\"toOne\",typeMeta:{type:\"Relation\",relationModel:\"metaType\"}}]},{name:\"metaType\",label:\"\\u5B57\\u6BB5\\u5143\\u6570\\u636E\",module:\"web-pdm\",type:\"\",fields:[{name:\"id\",label:\"\\u4E3B\\u952E\",type:\"string\"},{name:\"label\",label:\"\\u6807\\u7B7E\",type:\"string\"},{name:\"name\",label:\"\\u540D\\u79F0\",type:\"string\"}]}],Ke=b(82518),me=b(11527),re=function(){return(0,me.jsx)(u.Z,{models:M,onModelDetail:function(G){alert(\"\\u6253\\u5F00\\u6A21\\u578B\".concat(G.label,\"(\").concat(G.name,\") \\u7684\\u67E5\\u770B\\u94FE\\u63A5\"))},modules:Q,erdkey:\"api\",height:\"600\",className:\"console-g6-page-dumi-api\"})}},82518:function(){}}]);\n"
  },
  {
    "path": "docker/public/demos.24639f3d.chunk.css",
    "content": ".console-g6-page{background-color:#fff;display:flex;flex:1 1;flex-direction:row;overflow:hidden;height:100%}.console-g6-page .g6-graph{margin-right:16px;flex:1 1;width:0;height:100%}.console-g6-page .g6-graph .ant-spin-nested-loading,.console-g6-page .g6-graph .ant-spin-nested-loading .ant-spin-container{height:100%}.console-g6-page .g6-info{width:50px}.console-g6-page .g6-modelnavi{width:270px;margin-bottom:16px;height:100%}.console-g6-page .g6-modelnavi .console-models-tree{overflow:hidden;display:flex;flex-direction:column;padding-bottom:50px;height:100%;margin-right:25px}.console-g6-page .g6-modelnavi .console-models-tree .header{height:60px}.console-g6-page .g6-modelnavi .console-models-tree .navitree-warp{flex:1 1;display:flex;flex-direction:column;overflow:hidden;height:100%;margin-left:10px;border:1px solid rgba(0,0,0,.1)}.console-g6-page .g6-modelnavi .console-models-tree .console-erd-search{margin-top:3px;margin-bottom:4px;margin-left:10px;display:flex}.console-g6-page .g6-modelnavi .console-models-tree .console-erd-search .right{float:right}.console-g6-page .g6-modelnavi .console-models-tree .console-erd-search .console-erd-add{font-size:20px;color:#0006;cursor:pointer;margin-left:5px}.console-g6-page .g6-modelnavi .console-models-tree .console-models-tree-tree{flex:1 1;padding-right:5px}.console-g6-page .g6-modelnavi .console-models-tree .console-models-tree-tree .ant-tree-treenode{width:100%}.noselect{-webkit-touch-callout:none;user-select:none}.console-g6-page{height:100%}.console-g6-page .model-page{height:100%;display:flex;flex-direction:column}.console-g6-page .g6-tooltip{padding:10px 6px;background-color:#fff;box-shadow:10px 10px 5px #888;border:1px solid #0b6c95;opacity:1;border-radius:4px}.console-g6-page .g6-tooltip .text{color:#0b6c95}.g6-minimap{position:absolute;right:25px;bottom:40px;padding:5px;overflow:visible!important;background:#fff;border:0px solid rgba(0,0,0,.1)}.graph{width:100%;cursor:grab;margin-right:20px;margin-bottom:23px;flex:1 1;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAACNAAAAUuCAMAAACGGanNAAAABlBMVEUAAAAAAAClZ7nPAAAAAnRSTlMFD5tbJOwAABWrSURBVHja7N0hDsRADATB5P+fvqHBJtdSFWtDo9USPw8AAAAAAAAAAAAAAADAP3hfrbXWWut6fydaa6211rW2EK211lr3HzS+qLTWWmud70201lprreMNAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABw4LiV1lprrfvt/LjWWmut220hWmutte4/aHxRaa211jrfm2ittdZaxxsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAODAcSuttdZa99v5ca211lq320K01lpr3X/Q+KLSWmutdb430VprrbWONwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwIHjVlprrbXut/PjWmuttW63hWittda6/6DxRaW11lrrfG+itdZaax1vAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAA8ettNZaa91v58e11lpr3W4L0VprrXX/QeOLSmuttdb53kRrrbXWOt4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHjltprbXWut/Oj2uttda63RaitdZa6/6DxheV1lprrfO9idZaa611vAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ct9Jaa611v50f11prrXW7LURrrbXW/QeNLyqttdZa53sTrbXWWut4AwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHDhupbXWWut+Oz+utdZa63ZbiNZaa637DxpfVFprrbXO9yZaa6211vEGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4cNxKa6211v12flxrrbXW7bYQrbXWWvcfNL6otNZaa53vTbTWWmut4w0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHDguJXWWmut++38uNZaa63bbSFaa6217j9ofFFprbXWOt+baK211lrHGwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4MBxK6211lr32/lxrbXWWrfbQrTWWmvdf9D4otJaa611vjfRWmuttY43AAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAgeNWWmutte638+Naa621breFaK211rr/oPFFpbXWWut8b6K11lprHW8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIADx6201lpr3W/nx7XWWmvdbgvRWmutdf9B44tKa6211vneRGuttdY63gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAeOW2mttda6386Pa6211rrdFqK11lrr/oPGF5XWWmut872J1lprrXW8AQAAAAAAAAAAAAAAAAAAAAAAAAAAfuzdoQ0AQAgEwf67hh5ObTLj9iWKvAEAAGDguJXWWmut++38uNZaa63bbSBaa6217i80vqi01lprne9/0VprrbWONwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwMBxK6211lr32/lxrbXWWrfbQLTWWmvdX2h8UWmttdY63/+itdZaax1vAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAgeNWWmutte638+Naa621breBaK211rq/0Pii0lprrXW+/0VrrbXWOt4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADx6201lpr3W/nx7XWWmvdbgPRWmutdX+h8UWltdZa63z/i9Zaa611vAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaOW2mttda6386Pa6211rrdBqK11lrr/kLji0prrbXW+f4XrbXWWut4AwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADBy30lprrXW/nR/XWmutdbsNRGuttdb9hcYXldZaa63z/S9aa6211vEGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYOG6ltdZa6347P6611lrrdhuI1lprrfsLjS8qrbXWWuf7X7TWWmut4w0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAADBw3EprrbXW/XZ+XGuttdbtNhCttdZa9xcaX1Raa621zve/aK211lrHGwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYOC4ldZaa6377fy41lprrdttIFprrbXuLzS+qLTWWmud73/RWmuttY43AAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAwHErrbXWWvfb+XGttdZat9tAtNZaa91faHxRaa211jrf/6K11lprHW8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAICB41Zaa6217rfz41prrbVut4ForbXWur/Q+KLSWmutdb7/RWuttdY63gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPHrbTWWmvdb+fHtdZaa91uA9Faa611f6HxRaW11lrrfP+L1lprrXW8AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABo5baa211rrfzo9rrbXWut0GorXWWuv+QuOLSmuttdb5/hettdZa63gDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMHLfSWmutdb+dH9daa611uw1Ea6211v2FxheV1lprrfP9L1prrbXW8QYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABg4bqW11lrrfjs/rrXWWut2G4jWWmut+wuNLyqttT727tAGACAEgmD/XXM9oDaZcYtEfd6gtc73JlprrbXW8QYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHhw3EprrbXW/XZ+XGuttdbtthCttdZa9x80vqi01lprne9NtNZaa63jDQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8OC4ldZaa6377fy41lprrdttIVprrbXuP2h8UWmttdY635torbXWWscbAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgwXErrbXWWvfb+XGttdZat9tCtNZaa91/0Pii0lprrXW+N9Faa621jjcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMCD41Zaa6217rfz41prrbVut4VorbXWuv+g8UWltdZa63xvorXWWmsdbwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAfHrbTWWmvdb+fHtdZaa91uC9Faa611/0Hji0prrbXW+d5Ea6211jreAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD45baa211rrfzo9rrbXWut0WorXWWuv+g8YXldZaa63zvYnWWmutdbwBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAeHLfSWmutdb+dH9daa611uy1Ea6211v0HjS8qrbXWWud7E6211lrreAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADw4bqW11lrrfjs/rrXWWut2W4jWWmut+w8aX1Raa621zvcmWmuttdbxBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAeHDcSmuttdb9dn5ca6211u22EK211lr3HzS+qLTWWmud70201lprreMNAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADw4LiV1lprrfvt/LjWWmut220hWmutte4/aHxRaa211jrfm2ittdZaxxsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAODBcSuttdZa99v5ca211lq320K01lpr3X/Q+KLSWmutdb430VprrbWONwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwIPjVlprrbXut/PjWmuttW63hWittda6/6DxRaW11lrrfG+itdZaax1vAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAB8ettNZaa91v58e11lpr3W4L0VprrXX/QeOLSmuttdb53kRrrbXWOt4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPjltprbXWut/Oj2uttda63RaitdZa6/6DxheV1lprrfO9idZaa611vAEAAAAAAACAY+8ObQAAQiAI9t811wNqkxm3yFcfDAAAAAAAAAAAAAAAAAAAAAA8OG6ltdZa6347P6611lrrdnsQrbXWWvc/NFZUWmuttc73JlprrbXW8QYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHhw3EprrbXW/XZ+XGuttdbt9iBaa6217n9orKi01lprne9NtNZaa63jDQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8OC4ldZaa6377fy41lprrdvtQbTWWmvd/9BYUWmttdY635torbXWWscbAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgwXErrbXWWvfb+XGttdZat9uDaK211rr/obGi0lprrXW+N9Faa621jjcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMCD41Zaa6217rfz41prrbVutwfRWmutdf9DY0WltdZa63xvorXWWmsdbwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAfHrbTWWmvdb+fHtdZaa91uD6K11lrr/ofGikprrbXW+d5Ea6211jreAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD45baa211rrfzo9rrbXWut0eRGuttdb9D40VldZaa63zvYnWWmutdbwBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAeHLfSWmutdb+dH9daa611uz2I1lprrfsfGisqrbXWWud7E6211lrreAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADw4bqW11lrrfjs/rrXWWut2exCttdZa9z80VlRaa621zvcmWmuttdbxBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAeHDcSmuttdb9dn5ca6211u32IFprrbXuf2isqLTWWmud70201lprreMNAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADw4LiV1lprrfvt/LjWWmut2+1BtNZaa93/0FhRaa211jrfm2ittdZaxxsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAODBcSuttdZa99v5ca211lq324NorbXWuv+hsaLSWmutdb430VprrbWONwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwIPjVlprrbXut/PjWmuttW63B9Faa611/0NjRaW11lrrfG+itdZaax1vAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAB8ettNZaa91v58e11lpr3W4PorXWWuv+h8aKSmuttdb53kRrrbXWOt4AAAAAAAAAAAAAAAAAAAAAAAAAx94d2gAAA0EM23/r/x0ORbJZCouqkgMAAAAAGBi30lprrXW/zY9rrbXWut0uRGuttdb9B40vKq211lrn+0+01lprreMNAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwMG6ltdZa636bH9daa611u12I1lprrfsPGl9UWmuttc73n2ittdZaxxsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGBg3EprrbXW/TY/rrXWWut2uxCttdZa9x80vqi01lprne8/0VprrbWONwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwMC4ldZaa637bX5ca6211u12IVprrbXuP2h8UWmttdY633+itdZaax1vAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAgXErrbXWWvfb/LjWWmut2+1CtNZaa91/0Pii0lprrXW+/0RrrbXWOt4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD41Zaa6217rf5ca211lq324VorbXWuv+g8UWltdZa63z/idZaa611vAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAbGrbTWWmvdb/PjWmuttW63C9Faa611/0Hji0prrbXW+f4TrbXWWut4AwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADIxbaa211rrf5se11lpr3W4XorXWWuv+g8YXldZaa63z/Sdaa6211vEGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYGLfSWmutdb/Nj2uttda63S5Ea6211v0HjS8qrbXWWuf7T7TWWmut4w0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAwbqW11lrrfpsf11prrXW7XYjWWmut+w8aX1Raa621zvefaK211lrHGwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYGDcSmuttdb9Nj+utdZa63a7EK211lr3HzS+qLTWWmud7z/RWmuttY43AAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAwLiV1lprrfttflxrrbXW7XYhWmutte4/aHxRaa211jrff6K11lprHW8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAICBcSuttdZa99v8uNZaa63b7UK01lpr3X/Q+KLSWmutdb7/RGuttdY63gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPjVlprrbXut/lxrbXWWrfbhWittda6/6DxRaW11lrrfP+J1lprrXW8AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABsattNZaa91v8+Naa621brcL0Vprfe3doQ0AMAwEsf237s/QoJNsdoVFUUi07g80VlRaa621zvdetNZaa63jDQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcOC4ldZaa6377fy41lprrdvtQ7TWWmvdH2isqLTWWmud771orbXWWscbAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgwHErrbXWWvfb+XGttdZat9uHaK211ro/0FhRaa211jrfe9Faa621jjcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMCB41Zaa6217rfz41prrbVutw/RWmutdX+gsaLSWmutdb73orXWWmsdbwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAPHrbTWWmvdb+fHtdZaa91uH6K11lrr/kBjRaW11lrrfO9Fa6211jreAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB45baa211rrfzo9rrbXWut0+RGuttdb9gcaKSmuttdb53ovWWmutdbwBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOHLfSWmutdb+dH9daa611u32I1lprrfsDjRWV1lprrfO9F6211lrreAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABw4bqW11lrrfjs/rrXWWut2+xCttdZa9wcaKyqttdZa53svWmuttdbxBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOHDcSmuttdb9dn5ca6211u32IVprrbXuDzRWVFprrbXO91601lprreMNAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABw4LiV1lprrfvt/LjWWmut2+1DtNZaa90faKyotNZaa53vvWittdZaxxsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAODAcSuttdZa99v5ca211lq324dorbXWuj/QWFFprbXWOt970VprrbWONwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwIHjVlprrbXut/PjWmuttW63D9Faa611f6CxotJaa611vveitdZaax1vAAAAAAAA+PQAhsRSajjPOYgAAAAASUVORK5CYII=);background-repeat:repeat;background-size:contain;border:1px solid rgba(0,0,0,.1)}.graph .text{border:1px solid rgba(0,0,0,.1);opacity:1}.g6-minimap-viewport-erd{border:1px solid rgba(0,0,0,.06);margin-top:2px;margin-right:2px}.console-erd-toolbar{z-index:1;width:100%;height:28px}.console-erd-toolbar .split-span{margin-right:30px}.console-erd-toolbar .left{float:left;margin-left:30px}.console-erd-toolbar .ant-upload-list{display:none}.console-erd-toolbar .zoomNum{font-size:17px;text-align:center;margin-right:10px;width:50px;color:#0006;display:inline-block}.console-erd-toolbar .right{float:right;margin-right:30px}.console-erd-toolbar .command-btn{margin:8px;font-size:18px;color:#0006;cursor:pointer}.console-erd-toolbar .enable{color:#000}.console-erd-toolbar .zoomleft{margin-right:10px}.console-erd-fps{position:absolute;bottom:50px;right:0px}.g6-tooltip{padding:10px 6px;opacity:.5;color:#444;background-color:#ffffffe6;border:1px solid #e2e2e2;border-radius:4px}:fullscreen{background-color:#fff!important}.navitree-warp .tree-node-title{display:flex}.navitree-warp .tree-node-title-title{flex:1 1}.navitree-warp div.tree-node-title-options:hover{display:block;color:red}.navitree-warp .ant-tree-node-content-wrapper{width:100%}.console-g6-page-dumi{height:850px!important}.console-g6-page-dumi-api{height:550px!important;position:relative}\n"
  },
  {
    "path": "docker/public/docs__config__index.md.c8dd8580.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[253],{64897:function(h,d,l){l.r(d);var c=l(61875),x=l(57275),o=l(39761),u=l(21646),n=l(45626),j=l(70810),s=l(81229),_=l(50959),e=l(11527);function a(){var r=(0,s.eL)(),i=r.texts;return(0,e.jsx)(s.dY,{children:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(\"div\",{className:\"markdown\",children:(0,e.jsxs)(\"h1\",{id:\"props\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#props\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"props\"]})}),(0,e.jsx)(s.Dl,{demo:{id:\"docs-config-demo-type-erd\",inline:!0},previewerProps:{}}),(0,e.jsxs)(\"div\",{className:\"markdown\",children:[(0,e.jsxs)(\"h2\",{id:\"models\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#models\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"models\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[0].value}),(0,e.jsx)(\"li\",{children:i[1].value})]}),(0,e.jsx)(n.Z,{children:i[2].value}),(0,e.jsxs)(\"h2\",{id:\"modules\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#modules\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"modules\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[3].value}),(0,e.jsx)(\"li\",{children:i[4].value})]}),(0,e.jsx)(n.Z,{children:i[5].value}),(0,e.jsxs)(\"h2\",{id:\"height\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#height\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"height\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[6].value}),(0,e.jsx)(\"li\",{children:i[7].value}),(0,e.jsx)(\"li\",{children:i[8].value})]}),(0,e.jsxs)(\"h2\",{id:\"style\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#style\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"style\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[9].value}),(0,e.jsx)(\"li\",{children:i[10].value}),(0,e.jsx)(\"li\",{children:i[11].value})]}),(0,e.jsxs)(\"h2\",{id:\"themecolor\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#themecolor\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"themeColor\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[12].value}),(0,e.jsx)(\"li\",{children:i[13].value}),(0,e.jsx)(\"li\",{children:i[14].value})]}),(0,e.jsxs)(\"h2\",{id:\"darkness\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#darkness\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"darkness\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[15].value}),(0,e.jsx)(\"li\",{children:i[16].value}),(0,e.jsx)(\"li\",{children:i[17].value})]}),(0,e.jsxs)(\"h2\",{id:\"onignoreedge\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#onignoreedge\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"onIgnoreEdge\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[18].value}),(0,e.jsx)(\"li\",{children:i[19].value})]}),(0,e.jsxs)(\"h2\",{id:\"onmodeldetail\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#onmodeldetail\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"onModelDetail\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[20].value}),(0,e.jsx)(\"li\",{children:i[21].value})]}),(0,e.jsxs)(\"h2\",{id:\"onreload\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#onreload\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"onReload\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[22].value}),(0,e.jsx)(\"li\",{children:i[23].value}),(0,e.jsx)(\"li\",{children:i[24].value})]}),(0,e.jsx)(n.Z,{children:i[25].value}),(0,e.jsxs)(\"h2\",{id:\"intl\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#intl\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"intl\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[26].value}),(0,e.jsx)(\"li\",{children:i[27].value}),(0,e.jsx)(\"li\",{children:i[28].value})]}),(0,e.jsxs)(\"h2\",{id:\"onintl\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#onintl\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"onIntl\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[29].value}),(0,e.jsx)(\"li\",{children:i[30].value}),(0,e.jsx)(\"li\",{children:i[31].value})]}),(0,e.jsxs)(\"h2\",{id:\"components\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#components\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"components\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[32].value}),(0,e.jsx)(\"li\",{children:i[33].value}),(0,e.jsx)(\"li\",{children:i[34].value})]}),(0,e.jsx)(n.Z,{children:i[35].value}),(0,e.jsxs)(\"h2\",{id:\"iconrenders\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#iconrenders\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"IconRenders\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[36].value}),(0,e.jsx)(\"li\",{children:i[37].value}),(0,e.jsx)(\"li\",{children:i[38].value})]}),(0,e.jsx)(n.Z,{children:i[39].value}),(0,e.jsxs)(\"h2\",{id:\"disableicons\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#disableicons\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"disableIcons\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[40].value}),(0,e.jsx)(\"li\",{children:i[41].value}),(0,e.jsx)(\"li\",{children:i[42].value})]}),(0,e.jsxs)(\"h2\",{id:\"onlymode\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#onlymode\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"onlyMode\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[43].value}),(0,e.jsx)(\"li\",{children:i[44].value}),(0,e.jsx)(\"li\",{children:i[45].value})]})]})]})})}d.default=a}}]);\n"
  },
  {
    "path": "docker/public/docs__config__index.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docker/public/docs__config__index.zh-CN.md.92917182.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[887],{49751:function(h,d,l){l.r(d);var c=l(61875),x=l(57275),o=l(39761),u=l(21646),n=l(45626),j=l(70810),s=l(81229),_=l(50959),e=l(11527);function a(){var r=(0,s.eL)(),i=r.texts;return(0,e.jsx)(s.dY,{children:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(\"div\",{className:\"markdown\",children:(0,e.jsxs)(\"h1\",{id:\"props\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#props\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"props\"]})}),(0,e.jsx)(s.Dl,{demo:{id:\"docs-config-demo-type-erd\",inline:!0},previewerProps:{}}),(0,e.jsxs)(\"div\",{className:\"markdown\",children:[(0,e.jsxs)(\"h2\",{id:\"models\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#models\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"models\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[0].value}),(0,e.jsx)(\"li\",{children:i[1].value})]}),(0,e.jsx)(n.Z,{children:i[2].value}),(0,e.jsxs)(\"h2\",{id:\"modules\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#modules\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"modules\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[3].value}),(0,e.jsx)(\"li\",{children:i[4].value})]}),(0,e.jsx)(n.Z,{children:i[5].value}),(0,e.jsxs)(\"h2\",{id:\"height\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#height\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"height\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[6].value}),(0,e.jsx)(\"li\",{children:i[7].value}),(0,e.jsx)(\"li\",{children:i[8].value})]}),(0,e.jsxs)(\"h2\",{id:\"style\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#style\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"style\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[9].value}),(0,e.jsx)(\"li\",{children:i[10].value}),(0,e.jsx)(\"li\",{children:i[11].value})]}),(0,e.jsxs)(\"h2\",{id:\"themecolor\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#themecolor\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"themeColor\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[12].value}),(0,e.jsx)(\"li\",{children:i[13].value}),(0,e.jsx)(\"li\",{children:i[14].value})]}),(0,e.jsxs)(\"h2\",{id:\"darkness\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#darkness\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"darkness\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[15].value}),(0,e.jsx)(\"li\",{children:i[16].value}),(0,e.jsx)(\"li\",{children:i[17].value})]}),(0,e.jsxs)(\"h2\",{id:\"onignoreedge\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#onignoreedge\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"onIgnoreEdge\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[18].value}),(0,e.jsx)(\"li\",{children:i[19].value})]}),(0,e.jsxs)(\"h2\",{id:\"onmodeldetail\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#onmodeldetail\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"onModelDetail\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[20].value}),(0,e.jsx)(\"li\",{children:i[21].value})]}),(0,e.jsxs)(\"h2\",{id:\"onreload\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#onreload\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"onReload\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[22].value}),(0,e.jsx)(\"li\",{children:i[23].value}),(0,e.jsx)(\"li\",{children:i[24].value})]}),(0,e.jsx)(n.Z,{children:i[25].value}),(0,e.jsxs)(\"h2\",{id:\"intl\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#intl\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"intl\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[26].value}),(0,e.jsx)(\"li\",{children:i[27].value}),(0,e.jsx)(\"li\",{children:i[28].value})]}),(0,e.jsxs)(\"h2\",{id:\"onintl\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#onintl\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"onIntl\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[29].value}),(0,e.jsx)(\"li\",{children:i[30].value}),(0,e.jsx)(\"li\",{children:i[31].value})]}),(0,e.jsxs)(\"h2\",{id:\"components\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#components\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"components\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[32].value}),(0,e.jsx)(\"li\",{children:i[33].value}),(0,e.jsx)(\"li\",{children:i[34].value})]}),(0,e.jsx)(n.Z,{children:i[35].value}),(0,e.jsxs)(\"h2\",{id:\"iconrenders\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#iconrenders\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"IconRenders\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[36].value}),(0,e.jsx)(\"li\",{children:i[37].value}),(0,e.jsx)(\"li\",{children:i[38].value})]}),(0,e.jsx)(n.Z,{children:i[39].value}),(0,e.jsxs)(\"h2\",{id:\"disableicons\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#disableicons\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"disableIcons\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[40].value}),(0,e.jsx)(\"li\",{children:i[41].value}),(0,e.jsx)(\"li\",{children:i[42].value})]}),(0,e.jsxs)(\"h2\",{id:\"onlymode\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#onlymode\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"onlyMode\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[43].value}),(0,e.jsx)(\"li\",{children:i[44].value}),(0,e.jsx)(\"li\",{children:i[45].value})]})]})]})})}d.default=a}}]);\n"
  },
  {
    "path": "docker/public/docs__config__index.zh-CN.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docker/public/docs__demo__index.md.6a4d1b75.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[570],{21443:function(n,i,_){_.r(i);var t=_(61875),u=_(57275),o=_(39761),l=_(21646),E=_(45626),r=_(70810),d=_(81229),P=_(50959),e=_(11527);function m(){var s=(0,d.eL)(),D=s.texts;return(0,e.jsx)(d.dY,{children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(d.Dl,{demo:{id:\"docs-demo-demo-erd\"},previewerProps:{filename:\"docs/erd.tsx\"}})})})}i.default=m}}]);\n"
  },
  {
    "path": "docker/public/docs__demo__index.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docker/public/docs__demo__index.zh-CN.md.721550ee.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[447],{67093:function(n,i,_){_.r(i);var t=_(61875),u=_(57275),o=_(39761),l=_(21646),E=_(45626),r=_(70810),d=_(81229),P=_(50959),e=_(11527);function m(){var s=(0,d.eL)(),D=s.texts;return(0,e.jsx)(d.dY,{children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(d.Dl,{demo:{id:\"docs-demo-demo-erd\"},previewerProps:{filename:\"docs/erd.tsx\"}})})})}i.default=m}}]);\n"
  },
  {
    "path": "docker/public/docs__demo__index.zh-CN.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docker/public/docs__guide__ddd.md.a9a823b3.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[826],{8930:function(l,i,d){d.r(i);var a=d(61875),m=d(57275),t=d(39761),o=d(21646),c=d(45626),r=d(70810),s=d(81229),h=d(50959),e=d(11527);function u(){var n=(0,s.eL)(),_=n.texts;return(0,e.jsx)(s.dY,{children:(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(\"div\",{className:\"markdown\",children:[(0,e.jsxs)(\"h1\",{id:\"\\u6A21\\u578B\\u9A71\\u52A8\\u524D\\u7AEF\\u5F00\\u53D1\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u6A21\\u578B\\u9A71\\u52A8\\u524D\\u7AEF\\u5F00\\u53D1\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u6A21\\u578B\\u9A71\\u52A8\\u524D\\u7AEF\\u5F00\\u53D1\"]}),(0,e.jsx)(\"p\",{children:_[0].value}),(0,e.jsx)(\"p\",{children:_[1].value}),(0,e.jsx)(\"p\",{children:_[2].value}),(0,e.jsxs)(\"blockquote\",{children:[(0,e.jsxs)(\"p\",{children:[_[3].value,(0,e.jsx)(\"br\",{}),_[4].value]}),(0,e.jsx)(\"blockquote\",{children:(0,e.jsxs)(\"p\",{children:[_[5].value,(0,e.jsx)(\"a\",{href:\"https://hackernoon.com/becoming-fully-reactive-an-in-depth-explanation-of-mobservable-55995262a254\",children:_[6].value}),_[7].value]})})]}),(0,e.jsx)(\"p\",{children:_[8].value}),_[9].value,(0,e.jsx)(\"img\",{src:\"https://pic1.zhimg.com/80/v2-acc79877c4337e90c1d107c7ffbddeb9_1440w.jpg\"}),_[10].value,(0,e.jsx)(\"img\",{src:\"https://pic3.zhimg.com/80/v2-821e9e52949a3004b5eab05f855deefb_1440w.jpg\"}),(0,e.jsx)(\"p\",{children:_[11].value}),(0,e.jsx)(\"p\",{children:_[12].value}),_[13].value,(0,e.jsx)(\"img\",{src:\"https://pic1.zhimg.com/80/v2-a6c752edeb8ce3f65c0e059650f57daa_1440w.jpg\"}),(0,e.jsx)(\"p\",{children:_[14].value}),(0,e.jsx)(\"p\",{children:_[15].value}),(0,e.jsx)(\"p\",{children:_[16].value}),(0,e.jsx)(\"p\",{children:_[17].value}),(0,e.jsxs)(\"p\",{children:[_[18].value,(0,e.jsx)(\"br\",{}),_[19].value]})]})})})}i.default=u}}]);\n"
  },
  {
    "path": "docker/public/docs__guide__ddd.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docker/public/docs__guide__faq.md.e2bc2716.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[205],{4273:function(t,d,_){_.r(d);var n=_(61875),s=_(57275),o=_(39761),E=_(21646),l=_(45626),M=_(70810),i=_(81229),P=_(50959),e=_(11527);function u(){var m=(0,i.eL)(),D=m.texts;return(0,e.jsx)(i.dY,{children:(0,e.jsx)(e.Fragment,{})})}d.default=u}}]);\n"
  },
  {
    "path": "docker/public/docs__guide__faq.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docker/public/docs__guide__getting-started.md.617b1c20.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[655],{12269:function(t,d,_){_.r(d);var o=_(61875),l=_(57275),E=_(39761),a=_(21646),n=_(45626),r=_(70810),i=_(81229),h=_(50959),e=_(11527);function s(){var m=(0,i.eL)(),u=m.texts;return(0,e.jsx)(i.dY,{children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(\"div\",{className:\"markdown\",children:(0,e.jsx)(n.Z,{lang:\"bash\",children:u[0].value})})})})}d.default=s}}]);\n"
  },
  {
    "path": "docker/public/docs__guide__getting-started.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docker/public/docs__guide__index.md.1f2709ec.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[825],{33300:function(a,n,d){d.r(n);var j=d(61875),l=d(57275),_=d(39761),h=d(21646),t=d(45626),r=d(70810),i=d(81229),c=d(50959),s=d(11527);function u(){var x=(0,i.eL)(),e=x.texts;return(0,s.jsx)(i.dY,{children:(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(\"div\",{className:\"markdown\",children:[(0,s.jsx)(\"p\",{children:(0,s.jsx)(\"a\",{name:\"TCs1r\"})}),(0,s.jsxs)(\"h1\",{id:\"what\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#what\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"What?\"]}),(0,s.jsxs)(\"p\",{children:[(0,s.jsx)(\"br\",{}),e[0].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),e[1].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{})]}),(0,s.jsx)(\"p\",{children:(0,s.jsx)(\"a\",{name:\"MufSR\"})}),(0,s.jsxs)(\"h1\",{id:\"why\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#why\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"Why?\"]}),(0,s.jsx)(\"p\",{children:(0,s.jsx)(\"a\",{name:\"WHzcf\"})}),(0,s.jsxs)(\"h2\",{id:\"\\u4E1A\\u52A1\\u8BBE\\u8BA1--\\u6A21\\u578B\\u8BBE\\u8BA1--\\u6570\\u636E\\u5E93\\u8BBE\\u8BA1\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u4E1A\\u52A1\\u8BBE\\u8BA1--\\u6A21\\u578B\\u8BBE\\u8BA1--\\u6570\\u636E\\u5E93\\u8BBE\\u8BA1\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u4E1A\\u52A1\\u8BBE\\u8BA1 \\u2248 \\u6A21\\u578B\\u8BBE\\u8BA1 \\xA0\\u2248 \\u6570\\u636E\\u5E93\\u8BBE\\u8BA1\"]}),(0,s.jsxs)(\"p\",{children:[e[2].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),e[3].value,(0,s.jsx)(\"br\",{}),e[4].value,(0,s.jsx)(\"br\",{}),e[5].value,(0,s.jsx)(\"br\",{}),e[6].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),e[7].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{})]}),(0,s.jsx)(\"p\",{children:(0,s.jsx)(\"a\",{name:\"uZ1ai\"})}),(0,s.jsxs)(\"h2\",{id:\"\\u5B9A\\u5236\\u5316\\u7684-er-\\u56FE\\u66F4\\u6709\\u4EF7\\u503C\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u5B9A\\u5236\\u5316\\u7684-er-\\u56FE\\u66F4\\u6709\\u4EF7\\u503C\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u5B9A\\u5236\\u5316\\u7684 ER \\u56FE\\u66F4\\u6709\\u4EF7\\u503C\"]}),(0,s.jsxs)(\"p\",{children:[(0,s.jsx)(\"br\",{}),e[8].value,(0,s.jsx)(\"br\",{}),e[9].value,(0,s.jsx)(\"br\",{}),e[10].value,(0,s.jsx)(\"br\",{}),e[11].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"a\",{name:\"cxCfH\"})]}),(0,s.jsxs)(\"h2\",{id:\"\\u5728\\u7EBF\\u7248\\u672C\\u7684-powerdesigner\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u5728\\u7EBF\\u7248\\u672C\\u7684-powerdesigner\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u5728\\u7EBF\\u7248\\u672C\\u7684 powerdesigner\"]}),(0,s.jsxs)(\"p\",{children:[(0,s.jsx)(\"br\",{}),e[12].value,(0,s.jsx)(\"br\",{}),e[13].value]}),(0,s.jsxs)(\"p\",{children:[e[14].value,(0,s.jsx)(\"br\",{}),e[15].value,(0,s.jsx)(\"br\",{}),e[16].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{})]}),(0,s.jsx)(\"p\",{children:(0,s.jsx)(\"a\",{name:\"2YlkC\"})}),(0,s.jsxs)(\"h1\",{id:\"how\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#how\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"How?\"]}),(0,s.jsx)(\"p\",{children:(0,s.jsx)(\"a\",{name:\"GV29M\"})}),(0,s.jsxs)(\"h2\",{id:\"\\u6280\\u672F\\u9009\\u578B\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u6280\\u672F\\u9009\\u578B\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u6280\\u672F\\u9009\\u578B\"]}),(0,s.jsx)(\"p\",{children:(0,s.jsx)(\"a\",{name:\"Yx7HF\"})}),(0,s.jsxs)(\"h3\",{id:\"svg-vs-canvas\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#svg-vs-canvas\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"SVG vs Canvas\"]}),(0,s.jsxs)(\"p\",{children:[(0,s.jsx)(\"br\",{}),e[17].value]}),(0,s.jsxs)(r.Z,{children:[(0,s.jsx)(\"thead\",{children:(0,s.jsxs)(\"tr\",{children:[(0,s.jsx)(\"th\",{}),(0,s.jsx)(\"th\",{children:e[18].value}),(0,s.jsx)(\"th\",{children:e[19].value}),(0,s.jsx)(\"th\",{})]})}),(0,s.jsxs)(\"tbody\",{children:[(0,s.jsxs)(\"tr\",{children:[(0,s.jsx)(\"td\",{}),(0,s.jsx)(\"td\",{children:e[20].value}),(0,s.jsx)(\"td\",{children:e[21].value}),(0,s.jsx)(\"td\",{})]}),(0,s.jsxs)(\"tr\",{children:[(0,s.jsx)(\"td\",{}),(0,s.jsx)(\"td\",{children:e[22].value}),(0,s.jsx)(\"td\",{children:e[23].value}),(0,s.jsx)(\"td\",{})]}),(0,s.jsxs)(\"tr\",{children:[(0,s.jsx)(\"td\",{}),(0,s.jsx)(\"td\",{children:e[24].value}),(0,s.jsx)(\"td\",{children:e[25].value}),(0,s.jsx)(\"td\",{})]}),(0,s.jsxs)(\"tr\",{children:[(0,s.jsx)(\"td\",{}),(0,s.jsx)(\"td\",{children:e[26].value}),(0,s.jsx)(\"td\",{children:e[27].value}),(0,s.jsx)(\"td\",{})]}),(0,s.jsxs)(\"tr\",{children:[(0,s.jsx)(\"td\",{}),(0,s.jsx)(\"td\",{children:e[28].value}),(0,s.jsx)(\"td\",{children:e[29].value}),(0,s.jsx)(\"td\",{})]})]})]}),(0,s.jsxs)(\"p\",{children:[(0,s.jsx)(\"br\",{}),e[30].value,(0,s.jsx)(\"br\",{}),e[31].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),e[32].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{})]})]})})})}n.default=u}}]);\n"
  },
  {
    "path": "docker/public/docs__guide__index.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docker/public/docs__guide__index.zh-CN.md.25f260c5.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[981],{40111:function(a,n,d){d.r(n);var j=d(61875),l=d(57275),_=d(39761),h=d(21646),t=d(45626),r=d(70810),i=d(81229),c=d(50959),s=d(11527);function u(){var x=(0,i.eL)(),e=x.texts;return(0,s.jsx)(i.dY,{children:(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(\"div\",{className:\"markdown\",children:[(0,s.jsx)(\"p\",{children:(0,s.jsx)(\"a\",{name:\"TCs1r\"})}),(0,s.jsxs)(\"h1\",{id:\"what\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#what\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"What?\"]}),(0,s.jsxs)(\"p\",{children:[(0,s.jsx)(\"br\",{}),e[0].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),e[1].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{})]}),(0,s.jsx)(\"p\",{children:(0,s.jsx)(\"a\",{name:\"MufSR\"})}),(0,s.jsxs)(\"h1\",{id:\"why\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#why\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"Why?\"]}),(0,s.jsx)(\"p\",{children:(0,s.jsx)(\"a\",{name:\"WHzcf\"})}),(0,s.jsxs)(\"h2\",{id:\"\\u4E1A\\u52A1\\u8BBE\\u8BA1--\\u6A21\\u578B\\u8BBE\\u8BA1--\\u6570\\u636E\\u5E93\\u8BBE\\u8BA1\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u4E1A\\u52A1\\u8BBE\\u8BA1--\\u6A21\\u578B\\u8BBE\\u8BA1--\\u6570\\u636E\\u5E93\\u8BBE\\u8BA1\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u4E1A\\u52A1\\u8BBE\\u8BA1 \\u2248 \\u6A21\\u578B\\u8BBE\\u8BA1 \\xA0\\u2248 \\u6570\\u636E\\u5E93\\u8BBE\\u8BA1\"]}),(0,s.jsxs)(\"p\",{children:[e[2].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),e[3].value,(0,s.jsx)(\"br\",{}),e[4].value,(0,s.jsx)(\"br\",{}),e[5].value,(0,s.jsx)(\"br\",{}),e[6].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),e[7].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{})]}),(0,s.jsx)(\"p\",{children:(0,s.jsx)(\"a\",{name:\"uZ1ai\"})}),(0,s.jsxs)(\"h2\",{id:\"\\u5B9A\\u5236\\u5316\\u7684-er-\\u56FE\\u66F4\\u6709\\u4EF7\\u503C\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u5B9A\\u5236\\u5316\\u7684-er-\\u56FE\\u66F4\\u6709\\u4EF7\\u503C\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u5B9A\\u5236\\u5316\\u7684 ER \\u56FE\\u66F4\\u6709\\u4EF7\\u503C\"]}),(0,s.jsxs)(\"p\",{children:[(0,s.jsx)(\"br\",{}),e[8].value,(0,s.jsx)(\"br\",{}),e[9].value,(0,s.jsx)(\"br\",{}),e[10].value,(0,s.jsx)(\"br\",{}),e[11].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"a\",{name:\"cxCfH\"})]}),(0,s.jsxs)(\"h2\",{id:\"\\u5728\\u7EBF\\u7248\\u672C\\u7684-powerdesigner\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u5728\\u7EBF\\u7248\\u672C\\u7684-powerdesigner\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u5728\\u7EBF\\u7248\\u672C\\u7684 powerdesigner\"]}),(0,s.jsxs)(\"p\",{children:[(0,s.jsx)(\"br\",{}),e[12].value,(0,s.jsx)(\"br\",{}),e[13].value]}),(0,s.jsxs)(\"p\",{children:[e[14].value,(0,s.jsx)(\"br\",{}),e[15].value,(0,s.jsx)(\"br\",{}),e[16].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{})]}),(0,s.jsx)(\"p\",{children:(0,s.jsx)(\"a\",{name:\"2YlkC\"})}),(0,s.jsxs)(\"h1\",{id:\"how\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#how\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"How?\"]}),(0,s.jsx)(\"p\",{children:(0,s.jsx)(\"a\",{name:\"GV29M\"})}),(0,s.jsxs)(\"h2\",{id:\"\\u6280\\u672F\\u9009\\u578B\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u6280\\u672F\\u9009\\u578B\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u6280\\u672F\\u9009\\u578B\"]}),(0,s.jsx)(\"p\",{children:(0,s.jsx)(\"a\",{name:\"Yx7HF\"})}),(0,s.jsxs)(\"h3\",{id:\"svg-vs-canvas\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#svg-vs-canvas\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"SVG vs Canvas\"]}),(0,s.jsxs)(\"p\",{children:[(0,s.jsx)(\"br\",{}),e[17].value]}),(0,s.jsxs)(r.Z,{children:[(0,s.jsx)(\"thead\",{children:(0,s.jsxs)(\"tr\",{children:[(0,s.jsx)(\"th\",{}),(0,s.jsx)(\"th\",{children:e[18].value}),(0,s.jsx)(\"th\",{children:e[19].value}),(0,s.jsx)(\"th\",{})]})}),(0,s.jsxs)(\"tbody\",{children:[(0,s.jsxs)(\"tr\",{children:[(0,s.jsx)(\"td\",{}),(0,s.jsx)(\"td\",{children:e[20].value}),(0,s.jsx)(\"td\",{children:e[21].value}),(0,s.jsx)(\"td\",{})]}),(0,s.jsxs)(\"tr\",{children:[(0,s.jsx)(\"td\",{}),(0,s.jsx)(\"td\",{children:e[22].value}),(0,s.jsx)(\"td\",{children:e[23].value}),(0,s.jsx)(\"td\",{})]}),(0,s.jsxs)(\"tr\",{children:[(0,s.jsx)(\"td\",{}),(0,s.jsx)(\"td\",{children:e[24].value}),(0,s.jsx)(\"td\",{children:e[25].value}),(0,s.jsx)(\"td\",{})]}),(0,s.jsxs)(\"tr\",{children:[(0,s.jsx)(\"td\",{}),(0,s.jsx)(\"td\",{children:e[26].value}),(0,s.jsx)(\"td\",{children:e[27].value}),(0,s.jsx)(\"td\",{})]}),(0,s.jsxs)(\"tr\",{children:[(0,s.jsx)(\"td\",{}),(0,s.jsx)(\"td\",{children:e[28].value}),(0,s.jsx)(\"td\",{children:e[29].value}),(0,s.jsx)(\"td\",{})]})]})]}),(0,s.jsxs)(\"p\",{children:[(0,s.jsx)(\"br\",{}),e[30].value,(0,s.jsx)(\"br\",{}),e[31].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),e[32].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{})]})]})})})}n.default=u}}]);\n"
  },
  {
    "path": "docker/public/docs__guide__index.zh-CN.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docker/public/docs__guide__migration.md.7accafe8.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[935],{73887:function(u,d,_){_.r(d);var m=_(61875),t=_(57275),o=_(39761),l=_(21646),E=_(45626),a=_(70810),i=_(81229),r=_(50959),e=_(11527);function n(){var s=(0,i.eL)(),h=s.texts;return(0,e.jsx)(i.dY,{children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(\"div\",{className:\"markdown\",children:(0,e.jsxs)(\"h1\",{id:\"\\u4ECE-00x-\\u8FC1\\u79FB\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u4ECE-00x-\\u8FC1\\u79FB\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u4ECE 0.0.X \\u8FC1\\u79FB\"]})})})})}d.default=n}}]);\n"
  },
  {
    "path": "docker/public/docs__guide__migration.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docker/public/docs__guide__model.md.4423bc7a.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[956],{92313:function(u,d,_){_.r(d);var t=_(61875),o=_(57275),l=_(39761),E=_(21646),a=_(45626),r=_(70810),i=_(81229),M=_(50959),e=_(11527);function n(){var m=(0,i.eL)(),s=m.texts;return(0,e.jsx)(i.dY,{children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(\"div\",{className:\"markdown\",children:(0,e.jsx)(\"p\",{children:s[0].value})})})})}d.default=n}}]);\n"
  },
  {
    "path": "docker/public/docs__guide__model.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docker/public/docs__guide__next.md.bbbf7fb8.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[708],{9830:function(j,a,i){i.r(a);var h=i(61875),x=i(57275),c=i(39761),g=i(21646),n=i(45626),r=i(70810),l=i(81229),u=i(50959),e=i(11527);function t(){var d=(0,l.eL)(),s=d.texts;return(0,e.jsx)(l.dY,{children:(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(\"div\",{className:\"markdown\",children:[(0,e.jsx)(\"p\",{children:(0,e.jsx)(\"a\",{name:\"tPlOC\"})}),(0,e.jsxs)(\"h2\",{id:\"\\u8E29\\u5751\\u548C\\u5B9E\\u8DF5\\u5206\\u4EAB\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u8E29\\u5751\\u548C\\u5B9E\\u8DF5\\u5206\\u4EAB\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u8E29\\u5751\\u548C\\u5B9E\\u8DF5\\u5206\\u4EAB\"]}),(0,e.jsx)(\"p\",{children:(0,e.jsx)(\"a\",{name:\"2hOYO\"})}),(0,e.jsxs)(\"h3\",{id:\"\\u8FDE\\u63A5\\u7EBF\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u8FDE\\u63A5\\u7EBF\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u8FDE\\u63A5\\u7EBF\"]}),(0,e.jsxs)(\"p\",{children:[(0,e.jsx)(\"br\",{}),s[0].value,(0,e.jsx)(\"br\",{}),s[1].value,(0,e.jsx)(\"br\",{})]}),(0,e.jsxs)(r.Z,{children:[(0,e.jsx)(\"thead\",{children:(0,e.jsxs)(\"tr\",{children:[(0,e.jsx)(\"th\",{children:(0,e.jsx)(\"img\",{src:\"https://intranetproxy.alipay.com/skylark/lark/0/2020/png/150917/1588136918824-2cfa106e-f0f7-4f3e-b299-426371c92b0f.png#align=left&display=inline&height=1246&margin=%5Bobject%20Object%5D&name=5AA91131-06CD-48A6-8BBD-C2FE93AF8848.png&originHeight=1246&originWidth=2106&size=1279016&status=done&style=none&width=2106\",alt:\"5AA91131-06CD-48A6-8BBD-C2FE93AF8848.png\"})}),(0,e.jsx)(\"th\",{children:(0,e.jsx)(\"img\",{src:\"https://intranetproxy.alipay.com/skylark/lark/0/2020/png/150917/1588136926989-d34026c1-f3f5-4f8c-9416-f6fb9d10219f.png#align=left&display=inline&height=335&margin=%5Bobject%20Object%5D&name=F8593258-BA3E-4F5F-B642-7774155DA7B4.png&originHeight=1194&originWidth=1838&size=1068211&status=done&style=none&width=515\",alt:\"F8593258-BA3E-4F5F-B642-7774155DA7B4.png\"})})]})}),(0,e.jsx)(\"tbody\",{children:(0,e.jsxs)(\"tr\",{children:[(0,e.jsx)(\"td\",{children:s[2].value}),(0,e.jsx)(\"td\",{children:s[3].value})]})})]}),(0,e.jsxs)(\"p\",{children:[(0,e.jsx)(\"br\",{}),s[4].value,(0,e.jsx)(\"strong\",{children:s[5].value}),s[6].value,(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),s[7].value]}),(0,e.jsx)(n.Z,{lang:\"javascript\",children:s[8].value}),(0,e.jsxs)(\"p\",{children:[(0,e.jsx)(\"br\",{}),s[9].value,(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{})]}),(0,e.jsxs)(r.Z,{children:[(0,e.jsx)(\"thead\",{children:(0,e.jsxs)(\"tr\",{children:[(0,e.jsx)(\"th\",{children:(0,e.jsx)(\"img\",{src:\"https://intranetproxy.alipay.com/skylark/lark/0/2020/png/150917/1588138245488-e6eab8cf-339a-46c4-82c0-c40ee057e8a3.png#align=left&display=inline&height=1084&margin=%5Bobject%20Object%5D&name=BBB8B7C5-068A-4E1C-85F2-A3EE116C80D2.png&originHeight=1084&originWidth=1514&size=876975&status=done&style=none&width=1514\",alt:\"BBB8B7C5-068A-4E1C-85F2-A3EE116C80D2.png\"})}),(0,e.jsx)(\"th\",{children:(0,e.jsx)(\"img\",{src:\"https://intranetproxy.alipay.com/skylark/lark/0/2020/png/150917/1588138310858-5f9276ad-7c78-4a94-b7f0-402bd0dc3306.png#align=left&display=inline&height=1186&margin=%5Bobject%20Object%5D&name=608DE2AA-3015-44CA-8A4D-2828EA38313D.png&originHeight=1186&originWidth=1734&size=948049&status=done&style=none&width=1734\",alt:\"608DE2AA-3015-44CA-8A4D-2828EA38313D.png\"})})]})}),(0,e.jsx)(\"tbody\",{children:(0,e.jsxs)(\"tr\",{children:[(0,e.jsx)(\"td\",{children:s[10].value}),(0,e.jsx)(\"td\",{children:s[11].value})]})})]}),(0,e.jsxs)(\"p\",{children:[(0,e.jsx)(\"br\",{}),s[12].value]}),(0,e.jsx)(n.Z,{lang:\"javascript\",children:s[13].value}),(0,e.jsxs)(\"p\",{children:[s[14].value,(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{})]}),(0,e.jsx)(\"p\",{children:(0,e.jsx)(\"a\",{name:\"6IGxj\"})}),(0,e.jsxs)(\"h3\",{id:\"\\u5E03\\u5C40\\u7B97\\u6CD5\\u9009\\u62E9\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u5E03\\u5C40\\u7B97\\u6CD5\\u9009\\u62E9\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u5E03\\u5C40\\u7B97\\u6CD5\\u9009\\u62E9\"]}),(0,e.jsxs)(\"p\",{children:[(0,e.jsx)(\"br\",{}),s[15].value,(0,e.jsx)(\"a\",{href:\"https://g6.antv.vision/zh/docs/api/layout/Graph\",children:s[16].value}),s[17].value,(0,e.jsx)(\"br\",{})]}),(0,e.jsxs)(\"p\",{children:[s[18].value,(0,e.jsx)(\"img\",{src:\"https://intranetproxy.alipay.com/skylark/lark/0/2020/png/150917/1588140199877-89698070-c195-4852-87a1-eb73b7e39a63.png#align=left&display=inline&height=1358&margin=%5Bobject%20Object%5D&name=B21C9A4F-566E-43AA-B077-F0897DA98834.png&originHeight=1358&originWidth=2316&size=1314821&status=done&style=none&width=2316\",alt:\"B21C9A4F-566E-43AA-B077-F0897DA98834.png\"})]}),(0,e.jsxs)(r.Z,{children:[(0,e.jsx)(\"thead\",{children:(0,e.jsxs)(\"tr\",{children:[(0,e.jsx)(\"th\",{children:(0,e.jsx)(\"img\",{src:\"https://intranetproxy.alipay.com/skylark/lark/0/2020/png/150917/1588140208864-f1eac2fe-bf72-4a4b-8190-a9aa9e6c2ce6.png#align=left&display=inline&height=1394&margin=%5Bobject%20Object%5D&name=7B2EE233-E3D9-44B5-B4D9-1EAFFF05EB92.png&originHeight=1394&originWidth=1652&size=1083333&status=done&style=none&width=1652\",alt:\"7B2EE233-E3D9-44B5-B4D9-1EAFFF05EB92.png\"})}),(0,e.jsx)(\"th\",{children:(0,e.jsx)(\"img\",{src:\"https://intranetproxy.alipay.com/skylark/lark/0/2020/png/150917/1588140216177-62b07b4b-c295-46ba-96b8-1ece48b58d4c.png#align=left&display=inline&height=1334&margin=%5Bobject%20Object%5D&name=FD8ACE85-1901-4157-8CAA-09EC1E093DCC.png&originHeight=1334&originWidth=1826&size=1028342&status=done&style=none&width=1826\",alt:\"FD8ACE85-1901-4157-8CAA-09EC1E093DCC.png\"})}),(0,e.jsx)(\"th\",{children:(0,e.jsx)(\"img\",{src:\"https://intranetproxy.alipay.com/skylark/lark/0/2020/png/150917/1588140844047-a0922410-2456-453d-b05c-219aa794758b.png#align=left&display=inline&height=1386&margin=%5Bobject%20Object%5D&name=8E6536A6-1007-435A-8B3F-2BE275636860.png&originHeight=1386&originWidth=1934&size=1137435&status=done&style=none&width=1934\",alt:\"8E6536A6-1007-435A-8B3F-2BE275636860.png\"})})]})}),(0,e.jsx)(\"tbody\",{children:(0,e.jsxs)(\"tr\",{children:[(0,e.jsx)(\"td\",{children:s[19].value}),(0,e.jsx)(\"td\",{children:s[20].value}),(0,e.jsx)(\"td\",{children:s[21].value})]})})]}),(0,e.jsxs)(\"p\",{children:[(0,e.jsx)(\"br\",{}),s[22].value,(0,e.jsx)(\"br\",{}),s[23].value,(0,e.jsx)(\"br\",{}),s[24].value,(0,e.jsx)(\"br\",{}),s[25].value,(0,e.jsx)(\"br\",{}),s[26].value,(0,e.jsx)(\"br\",{})]}),(0,e.jsx)(n.Z,{lang:\"javascript\",children:s[27].value}),(0,e.jsxs)(\"p\",{children:[(0,e.jsx)(\"br\",{}),s[28].value,(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"img\",{src:\"https://cdn.nlark.com/yuque/0/2020/png/250863/1588147821674-a4562cc3-7151-4319-94d7-e48f72442f86.png#align=left&display=inline&height=1304&margin=%5Bobject%20Object%5D&name=638978A4-5A10-4576-986B-2BD3A509080C.png&originHeight=1304&originWidth=1690&size=1121802&status=done&style=none&width=1690\",alt:\"638978A4-5A10-4576-986B-2BD3A509080C.png\"}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),s[29].value,(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),s[30].value,(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"a\",{href:\"https://g6.antv.vision/zh/docs/manual/middle/layout#%E4%BD%BF%E7%94%A8-web-worker\",children:s[31].value}),s[32].value,(0,e.jsx)(\"br\",{}),s[33].value,(0,e.jsx)(\"a\",{href:\"https://www.webpackjs.com/loaders/worker-loader/\",children:s[34].value}),s[35].value]}),(0,e.jsx)(n.Z,{lang:\"javascript\",children:s[36].value}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"p\",{children:(0,e.jsx)(\"a\",{name:\"RSDvc\"})}),(0,e.jsxs)(\"h3\",{id:\"\\u6027\\u80FD\\u4F18\\u5316\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u6027\\u80FD\\u4F18\\u5316\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u6027\\u80FD\\u4F18\\u5316\"]}),(0,e.jsxs)(\"p\",{children:[(0,e.jsx)(\"br\",{}),s[37].value,(0,e.jsx)(\"br\",{})]}),(0,e.jsx)(n.Z,{lang:\"javascript\",children:s[38].value}),(0,e.jsxs)(\"p\",{children:[(0,e.jsx)(\"img\",{src:\"https://cdn.nlark.com/yuque/0/2020/png/250863/1588147821658-ce332202-2378-4b2b-ac4a-9615cca7c734.png#align=left&display=inline&height=294&margin=%5Bobject%20Object%5D&name=21D2E555-F70B-4BD7-A799-174B8B102A2E.png&originHeight=294&originWidth=494&size=93996&status=done&style=none&width=494\",alt:\"21D2E555-F70B-4BD7-A799-174B8B102A2E.png\"}),(0,e.jsx)(\"br\",{}),s[39].value,(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"img\",{src:\"https://cdn.nlark.com/yuque/0/2020/png/250863/1588147821894-651b35ab-c463-438d-bf90-d7efbbecdeeb.png#align=left&display=inline&height=353&margin=%5Bobject%20Object%5D&name=1487709-20190809150507384-1624695011.png&originHeight=353&originWidth=678&size=52005&status=done&style=none&width=678\",alt:\"1487709-20190809150507384-1624695011.png\"}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),s[40].value]}),(0,e.jsx)(\"blockquote\",{children:(0,e.jsx)(\"p\",{children:s[41].value})}),(0,e.jsxs)(\"p\",{children:[s[42].value,(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"strong\",{children:s[43].value}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"strong\",{children:(0,e.jsx)(\"br\",{})}),(0,e.jsx)(\"img\",{src:\"https://cdn.nlark.com/yuque/0/2020/png/250863/1588147821642-9bbb019f-2068-4a39-a19f-b1929a4e3a9a.png#align=left&display=inline&height=270&margin=%5Bobject%20Object%5D&name=DB424001-A1F4-40F1-8F25-7CA8561759B8.png&originHeight=364&originWidth=782&size=94461&status=done&style=none&width=579\",alt:\"DB424001-A1F4-40F1-8F25-7CA8561759B8.png\"}),(0,e.jsx)(\"strong\",{children:(0,e.jsx)(\"br\",{})}),(0,e.jsx)(\"br\",{}),s[44].value]}),(0,e.jsx)(n.Z,{lang:\"javascript\",children:s[45].value}),(0,e.jsxs)(\"p\",{children:[(0,e.jsx)(\"br\",{}),s[46].value,(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"strong\",{children:s[47].value}),(0,e.jsx)(\"br\",{}),s[48].value,(0,e.jsx)(\"br\",{}),s[49].value,(0,e.jsx)(\"br\",{})]}),(0,e.jsxs)(r.Z,{children:[(0,e.jsx)(\"thead\",{children:(0,e.jsxs)(\"tr\",{children:[(0,e.jsx)(\"th\",{children:s[50].value}),(0,e.jsx)(\"th\",{children:s[51].value})]})}),(0,e.jsxs)(\"tbody\",{children:[(0,e.jsxs)(\"tr\",{children:[(0,e.jsx)(\"td\",{children:(0,e.jsx)(\"img\",{src:\"https://intranetproxy.alipay.com/skylark/lark/0/2020/png/150917/1588131029353-7f4ca53f-6b84-491c-bfaa-9d84536ce02f.png#align=left&display=inline&height=1074&margin=%5Bobject%20Object%5D&name=0D84075E-E987-4125-A257-5B357678BF8C.png&originHeight=1074&originWidth=1428&size=596128&status=done&style=none&width=1428\",alt:\"0D84075E-E987-4125-A257-5B357678BF8C.png\"})}),(0,e.jsx)(\"td\",{children:(0,e.jsx)(\"img\",{src:\"https://intranetproxy.alipay.com/skylark/lark/0/2020/png/150917/1588131052471-82746406-ea60-402b-9254-87d9c26dba09.png#align=left&display=inline&height=1174&margin=%5Bobject%20Object%5D&name=D94A188C-F8B1-4085-8554-77B8D5A834BF.png&originHeight=1174&originWidth=1624&size=621290&status=done&style=none&width=1624\",alt:\"D94A188C-F8B1-4085-8554-77B8D5A834BF.png\"})})]}),(0,e.jsxs)(\"tr\",{children:[(0,e.jsxs)(\"td\",{children:[s[52].value,(0,e.jsx)(\"br\",{}),s[53].value]}),(0,e.jsxs)(\"td\",{children:[s[54].value,(0,e.jsx)(\"br\",{}),s[55].value]})]})]})]}),(0,e.jsxs)(\"p\",{children:[(0,e.jsx)(\"br\",{}),s[56].value,(0,e.jsx)(\"br\",{}),s[57].value]}),(0,e.jsx)(n.Z,{lang:\"javascript\",children:s[58].value}),(0,e.jsxs)(\"ol\",{children:[(0,e.jsx)(\"li\",{children:s[59].value}),(0,e.jsx)(\"li\",{children:s[60].value}),(0,e.jsx)(\"li\",{children:s[61].value})]})]})})})}a.default=t}}]);\n"
  },
  {
    "path": "docker/public/docs__guide__next.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docker/public/docs__guide__relation.md.35f01354.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[575],{13337:function(u,d,_){_.r(d);var t=_(61875),o=_(57275),l=_(39761),E=_(21646),a=_(45626),r=_(70810),i=_(81229),M=_(50959),e=_(11527);function n(){var m=(0,i.eL)(),s=m.texts;return(0,e.jsx)(i.dY,{children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(\"div\",{className:\"markdown\",children:(0,e.jsx)(\"p\",{children:s[0].value})})})})}d.default=n}}]);\n"
  },
  {
    "path": "docker/public/docs__guide__relation.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docker/public/docs__guide__toolbar.md.b1f08561.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[244],{58130:function(t,d,_){_.r(d);var n=_(61875),s=_(57275),o=_(39761),E=_(21646),l=_(45626),M=_(70810),i=_(81229),P=_(50959),e=_(11527);function u(){var m=(0,i.eL)(),D=m.texts;return(0,e.jsx)(i.dY,{children:(0,e.jsx)(e.Fragment,{})})}d.default=u}}]);\n"
  },
  {
    "path": "docker/public/docs__guide__toolbar.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docker/public/docs__index.md.8fe22eab.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[533],{40717:function(o,i,_){_.r(i);var r=_(61875),l=_(57275),m=_(39761),u=_(21646),n=_(45626),h=_(70810),d=_(81229),c=_(50959),e=_(11527);function s(){var t=(0,d.eL)(),a=t.texts;return(0,e.jsx)(d.dY,{children:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(\"div\",{className:\"markdown\",children:[(0,e.jsxs)(\"h2\",{id:\"install\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#install\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"Install\"]}),(0,e.jsx)(n.Z,{lang:\"bash\",children:a[0].value}),(0,e.jsxs)(\"h2\",{id:\"getting-started\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#getting-started\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"Getting Started\"]})]}),(0,e.jsx)(d.Dl,{demo:{id:\"docs-demo-type-erd\"},previewerProps:{defaultshowcode:!0,filename:\"docs/type-erd.tsx\"}}),(0,e.jsx)(\"div\",{className:\"markdown\",children:(0,e.jsxs)(\"h2\",{id:\"contributing\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#contributing\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"Contributing\"]})}),(0,e.jsx)(d.Dl,{demo:{id:\"docs-demo-0\",inline:!0},previewerProps:{}}),(0,e.jsx)(\"div\",{className:\"markdown\",children:(0,e.jsxs)(\"h2\",{id:\"donate\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#donate\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"Donate\"]})}),(0,e.jsx)(d.Dl,{demo:{id:\"docs-demo-1\",inline:!0},previewerProps:{}})]})})}i.default=s}}]);\n"
  },
  {
    "path": "docker/public/docs__index.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docker/public/docs__index.zh-CN.md.8e8bec0b.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[834],{39583:function(a,i,_){_.r(i);var m=_(61875),r=_(57275),t=_(39761),l=_(21646),s=_(45626),h=_(70810),d=_(81229),E=_(50959),e=_(11527);function n(){var u=(0,d.eL)(),o=u.texts;return(0,e.jsx)(d.dY,{children:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(\"div\",{className:\"markdown\",children:[(0,e.jsxs)(\"h2\",{id:\"\\u5B89\\u88C5\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u5B89\\u88C5\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u5B89\\u88C5\"]}),(0,e.jsx)(s.Z,{lang:\"bash\",children:o[0].value}),(0,e.jsxs)(\"h2\",{id:\"\\u5FEB\\u901F\\u4F53\\u9A8C\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u5FEB\\u901F\\u4F53\\u9A8C\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u5FEB\\u901F\\u4F53\\u9A8C\"]})]}),(0,e.jsx)(d.Dl,{demo:{id:\"docs-demo-type-erd\"},previewerProps:{defaultshowcode:!0,filename:\"docs/type-erd.tsx\"}}),(0,e.jsx)(\"div\",{className:\"markdown\",children:(0,e.jsxs)(\"h2\",{id:\"\\u53CD\\u9988\\u4E0E\\u5171\\u5EFA\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u53CD\\u9988\\u4E0E\\u5171\\u5EFA\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u53CD\\u9988\\u4E0E\\u5171\\u5EFA\"]})}),(0,e.jsx)(d.Dl,{demo:{id:\"docs-demo-0\",inline:!0},previewerProps:{}}),(0,e.jsx)(\"div\",{className:\"markdown\",children:(0,e.jsxs)(\"h2\",{id:\"\\u8D5E\\u52A9\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u8D5E\\u52A9\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u8D5E\\u52A9\"]})}),(0,e.jsx)(d.Dl,{demo:{id:\"docs-demo-1\",inline:!0},previewerProps:{}})]})})}i.default=n}}]);\n"
  },
  {
    "path": "docker/public/docs__index.zh-CN.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docker/public/dumi__tmp-production__dumi__theme__ContextWrapper.129554bf.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[923],{79586:function(f,l,e){e.r(l),e.d(l,{default:function(){return c}});var r=e(54306),u=e.n(r),t=e(50959),i=e(81229),a=e(41110),n=e(80134),m=e(24982),p=e(11527),g={};function c(){var h=(0,i.pC)(),b=(0,t.useState)(!0),o=u()(b,2),E=o[0],_=o[1],d=(0,t.useRef)(i.m8.location.pathname);return(0,t.useEffect)(function(){return i.m8.listen(function(s){s.location.pathname!==d.current&&(d.current=s.location.pathname,_(!0),document.documentElement.scrollTo(0,0))})},[]),(0,p.jsx)(a.D.Provider,{value:{pkg:{name:\"web-pdm-doc\",description:\"A react library developed with dumi\",version:\"0.0.1\",license:\"MIT\",authors:[]},entryExports:g,demos:n.DE,components:n.wx,locales:m.k,loading:E,setLoading:_,themeConfig:{title:\"web-pdm\",footer:\"Open-source MIT Licensed | Copyright \\xA9 2019-present<br />Powered by self\",prefersColor:{default:\"light\",switch:!0},hd:{rules:[]},rtl:!0,favicon:\"https://erd.zyking.xyz/assets/logo.png\",logo:\"https://erd.zyking.xyz/assets/logo.png\",navs:{\"en-US\":[{title:\"API\",path:\"/typedoc/\"},{title:\"GitHub\",path:\"https://github.com/lusess123/web-pdm\"},{title:\"Changelog\",path:\"https://github.com/lusess123/web-pdm/blob/master/packages/web-pdm-lib/CHANGELOG.md\"}],\"zh-CN\":[{title:\"API\",path:\"/typedoc/\"},{title:\"GitHub\",path:\"https://github.com/lusess123/web-pdm\"},{title:\"\\u66F4\\u65B0\\u65E5\\u5FD7\",path:\"https://github.com/lusess123/web-pdm/blob/master/packages/web-pdm-lib/CHANGELOG.md\"}]},sidebar:{\"/guide\":[{title:\"\\u4ECB\\u7ECD\",children:[{title:\"\\u9996\\u9875\",link:\"guide/index\"},{title:\"\\u5FEB\\u901F\\u5F00\\u59CB\",link:\"guide/getting-started\"}]},{title:\"\\u6A21\\u578B\\u5B9A\\u4E49\",children:[{title:\"\\u6A21\\u578B\",link:\"guide/model\"},{title:\"\\u5173\\u8054\\u5173\\u7CFB\",link:\"guide/relation\"}]},{title:\"\\u5DE5\\u5177\\u680F\",children:[{title:\"\\u5DE5\\u5177\",link:\"guide/toolbar\"}]},{title:\"\\u5176\\u4ED6\",children:[{title:\"\\u5347\\u7EA7\",link:\"guide/migration\"},{title:\"\\u89E3\\u7B54\",link:\"guide/faq\"},{title:\"\\u4E0B\\u4E00\\u6B65\",link:\"guide/next\"},{title:\"\\u6A21\\u578B\\u9A71\\u52A8\",link:\"guide/ddd\"}]}]}}},children:h})}}}]);\n"
  },
  {
    "path": "docker/public/guide/ddd/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docker/public/guide/faq/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docker/public/guide/getting-started/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docker/public/guide/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docker/public/guide/migration/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docker/public/guide/model/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docker/public/guide/next/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docker/public/guide/relation/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docker/public/guide/toolbar/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docker/public/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docker/public/nm__dumi__dist__client__pages__404.173bfe00.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[65],{36264:function(o,n,e){e.r(n),e.d(n,{default:function(){return r}});var t=e(81229),a=e(50959),l=function(){var u=(0,t.YB)(),d=(0,t.bU)();return a.createElement(\"div\",{className:\"dumi-default-not-found\"},a.createElement(\"h1\",null,u.formatMessage({id:\"404.title\"})),a.createElement(t.rU,{to:\"base\"in d?d.base:\"/\",replace:!0},u.formatMessage({id:\"404.back\"}),\" \\u2192\"))},r=l}}]);\n"
  },
  {
    "path": "docker/public/nm__dumi__dist__client__pages__404.8b85f2d9.chunk.css",
    "content": ".dumi-default-not-found{display:flex;flex-direction:column;height:65vh;align-items:center;justify-content:center}.dumi-default-not-found>h1{position:relative;margin:24px 0;color:#e4e9ec;font-size:78px;font-weight:700;text-shadow:-1px -1px 0 #d0d5d8}[data-prefers-color=dark] .dumi-default-not-found>h1{color:#2a353c;text-shadow:-1px -1px 0 #1c2022}.dumi-default-not-found>a{color:#1677ff}[data-prefers-color=dark] .dumi-default-not-found>a{color:#0053c8}.dumi-default-not-found>a:not(:hover){text-decoration:none}\n"
  },
  {
    "path": "docker/public/nm__dumi__dist__client__pages__Demo__index.34d43b3c.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[9],{38699:function(v,n,e){e.r(n),e.d(n,{default:function(){return m}});var a=e(81229),o=e(50959),t=function(){var r=(0,a.UO)(),u=r.id,s=(0,a.WF)(),c=s.demos,f=c[u]||{},d=f.component;return d&&(0,o.createElement)(d)},m=t}}]);\n"
  },
  {
    "path": "docker/public/nm__dumi__dist__client__pages__Demo__index.578aa5c0.chunk.css",
    "content": "body{margin:0;padding:0}\n"
  },
  {
    "path": "docker/public/nm__dumi__theme-default__layouts__DocLayout__index.e98c1e2a.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[519],{66279:function(u,e,_){_.d(e,{Z:function(){return d.Z}});var d=_(8338)},88459:function(u,e,_){_.d(e,{Z:function(){return d.Z}});var d=_(90697)},25e3:function(u,e,_){_.d(e,{Z:function(){return d.Z}});var d=_(50557)},94995:function(u,e,_){_.d(e,{Z:function(){return d.Z}});var d=_(44191)},98428:function(u,e,_){_.d(e,{Z:function(){return d.Z}});var d=_(98862)},4291:function(u,e,_){_.d(e,{Z:function(){return d.Z}});var d=_(68806)},69698:function(u,e,_){_.d(e,{Z:function(){return d.Z}});var d=_(63301)},77621:function(u,e,_){_.d(e,{Z:function(){return d.Z}});var d=_(53371)},5491:function(u,e,_){_.d(e,{Z:function(){return d.Z}});var d=_(89811)},49279:function(u,e,_){_.d(e,{Z:function(){return d.Z}});var d=_(89317)},66591:function(u,e,_){_.d(e,{Z:function(){return d.Z}});var d=_(66216)},64814:function(u,e,_){_.d(e,{Z:function(){return d.Z}});var d=_(9850)},90346:function(u,e,_){_.d(e,{ZP:function(){return d.ZP}});var d=_(64387)},99711:function(u,e,_){_.d(e,{Z:function(){return d.Z}});var d=_(64586)},86064:function(u,e,_){_.d(e,{Z:function(){return d.Z}});var d=_(29847)}}]);\n"
  },
  {
    "path": "docker/public/umi.5a19b5a0.css",
    "content": ".dumi-default-container.markdown{padding:18px 0;padding-inline-start:44px;padding-inline-end:16px;border-radius:4px}.dumi-default-container.markdown:not(:first-child){margin-bottom:24px}.dumi-default-container.markdown:not(:last-child){margin-top:32px}.dumi-default-container.markdown>svg{float:left;fill:currentcolor;margin-inline-start:-26px;width:18px}[data-direction=rtl] .dumi-default-container.markdown>svg{float:right}.dumi-default-container.markdown>h4{clear:none;margin:0 0 12px;font-size:15px;line-height:17px}.dumi-default-container.markdown>section{font-size:15px}.dumi-default-container.markdown[data-type=info]{background:#ecf4ff}.dumi-default-container.markdown[data-type=info]>h4,.dumi-default-container.markdown[data-type=info]>svg{color:#3367af}.dumi-default-container.markdown[data-type=info]>section{color:#496a99}[data-prefers-color=dark] .dumi-default-container.markdown[data-type=info]{background:#001c44}[data-prefers-color=dark] .dumi-default-container.markdown[data-type=info]>h4,[data-prefers-color=dark] .dumi-default-container.markdown[data-type=info]>svg{color:#5e8ed0}[data-prefers-color=dark] .dumi-default-container.markdown[data-type=info]>section{color:#7391bc}.dumi-default-container.markdown[data-type=warning]{background:#fff3da}.dumi-default-container.markdown[data-type=warning]>h4,.dumi-default-container.markdown[data-type=warning]>svg{color:#b78314}.dumi-default-container.markdown[data-type=warning]>section{color:#9e7a2d}[data-prefers-color=dark] .dumi-default-container.markdown[data-type=warning]{background:#2d1f00}[data-prefers-color=dark] .dumi-default-container.markdown[data-type=warning]>h4,[data-prefers-color=dark] .dumi-default-container.markdown[data-type=warning]>svg{color:#cd9417}[data-prefers-color=dark] .dumi-default-container.markdown[data-type=warning]>section{color:#b78c2e}.dumi-default-container.markdown[data-type=success]{background:#dff8e7}.dumi-default-container.markdown[data-type=success]>h4,.dumi-default-container.markdown[data-type=success]>svg{color:#238241}.dumi-default-container.markdown[data-type=success]>section{color:#357047}[data-prefers-color=dark] .dumi-default-container.markdown[data-type=success]{background:#082210}[data-prefers-color=dark] .dumi-default-container.markdown[data-type=success]>h4,[data-prefers-color=dark] .dumi-default-container.markdown[data-type=success]>svg{color:#2a9a4d}[data-prefers-color=dark] .dumi-default-container.markdown[data-type=success]>section{color:#3d8654}.dumi-default-container.markdown[data-type=error]{background:#fdf4f5}.dumi-default-container.markdown[data-type=error]>h4,.dumi-default-container.markdown[data-type=error]>svg{color:#b23642}.dumi-default-container.markdown[data-type=error]>section{color:#955359}[data-prefers-color=dark] .dumi-default-container.markdown[data-type=error]{background:#2a060a}[data-prefers-color=dark] .dumi-default-container.markdown[data-type=error]>h4,[data-prefers-color=dark] .dumi-default-container.markdown[data-type=error]>svg{color:#c6414e}[data-prefers-color=dark] .dumi-default-container.markdown[data-type=error]>section{color:#ad5962}code[class*=language-],pre[class*=language-]{background:hsl(230,1%,98%);color:#383a42;font-family:Fira Code,Fira Mono,Menlo,Consolas,DejaVu Sans Mono,monospace;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:2;hyphens:none}code[class*=language-]::selection,code[class*=language-] *::selection,pre[class*=language-] *::selection{background:hsl(230,1%,90%);color:inherit}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}:not(pre)>code[class*=language-]{padding:.2em .3em;border-radius:.3em;white-space:normal}.token.comment,.token.prolog,.token.cdata{color:#a0a1a7}.token.doctype,.token.punctuation,.token.entity{color:#383a42}.token.attr-name,.token.class-name,.token.boolean,.token.constant,.token.number,.token.atrule{color:#b76b01}.token.keyword{color:#a626a4}.token.property,.token.tag,.token.symbol,.token.deleted,.token.important{color:#e45649}.token.selector,.token.string,.token.char,.token.builtin,.token.inserted,.token.regex,.token.attr-value,.token.attr-value>.token.punctuation{color:#50a14f}.token.variable,.token.operator,.token.function{color:#4078f2}.token.url{color:#0184bc}.token.attr-value>.token.punctuation.attr-equals,.token.special-attr>.token.attr-value>.token.value.css{color:#383a42}.language-css .token.selector{color:#e45649}.language-css .token.property{color:#383a42}.language-css .token.function,.language-css .token.url>.token.function{color:#0184bc}.language-css .token.url>.token.string.url{color:#50a14f}.language-css .token.important,.language-css .token.atrule .token.rule,.language-javascript .token.operator{color:#a626a4}.language-javascript .token.template-string>.token.interpolation>.token.interpolation-punctuation.punctuation{color:#ca1243}.language-json .token.operator{color:#383a42}.language-json .token.null.keyword{color:#b76b01}.language-markdown .token.url,.language-markdown .token.url>.token.operator,.language-markdown .token.url-reference.url>.token.string{color:#383a42}.language-markdown .token.url>.token.content{color:#4078f2}.language-markdown .token.url>.token.url,.language-markdown .token.url-reference.url{color:#0184bc}.language-markdown .token.blockquote.punctuation,.language-markdown .token.hr.punctuation{color:#a0a1a7;font-style:italic}.language-markdown .token.code-snippet{color:#50a14f}.language-markdown .token.bold .token.content{color:#b76b01}.language-markdown .token.italic .token.content{color:#a626a4}.language-markdown .token.strike .token.content,.language-markdown .token.strike .token.punctuation,.language-markdown .token.list.punctuation,.language-markdown .token.title.important>.token.punctuation{color:#e45649}.token.bold{font-weight:700}.token.comment,.token.italic{font-style:italic}.token.entity{cursor:help}.token.namespace{opacity:.8}.token.token.tab:not(:empty):before,.token.token.cr:before,.token.token.lf:before,.token.token.space:before{color:#383a4233}div.code-toolbar>.toolbar.toolbar>.toolbar-item{margin-right:.4em}div.code-toolbar>.toolbar.toolbar>.toolbar-item>button,div.code-toolbar>.toolbar.toolbar>.toolbar-item>a,div.code-toolbar>.toolbar.toolbar>.toolbar-item>span{background:hsl(230,1%,90%);color:#696c77;padding:.1em .4em;border-radius:.3em}div.code-toolbar>.toolbar.toolbar>.toolbar-item>button:hover,div.code-toolbar>.toolbar.toolbar>.toolbar-item>button:focus,div.code-toolbar>.toolbar.toolbar>.toolbar-item>a:hover,div.code-toolbar>.toolbar.toolbar>.toolbar-item>a:focus,div.code-toolbar>.toolbar.toolbar>.toolbar-item>span:hover,div.code-toolbar>.toolbar.toolbar>.toolbar-item>span:focus{background:hsl(230,1%,78%);color:#383a42}.line-highlight.line-highlight{background:hsla(230,8%,24%,.05)}.line-highlight.line-highlight:before,.line-highlight.line-highlight[data-end]:after{background:hsl(230,1%,90%);color:#383a42;padding:.1em .6em;border-radius:.3em;box-shadow:0 2px #0003}pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows>span:hover:before{background-color:#383a420d}.line-numbers.line-numbers .line-numbers-rows,.command-line .command-line-prompt{border-right-color:#383a4233}.line-numbers .line-numbers-rows>span:before,.command-line .command-line-prompt>span:before{color:#9d9d9f}.rainbow-braces .token.token.punctuation.brace-level-1,.rainbow-braces .token.token.punctuation.brace-level-5,.rainbow-braces .token.token.punctuation.brace-level-9{color:#e45649}.rainbow-braces .token.token.punctuation.brace-level-2,.rainbow-braces .token.token.punctuation.brace-level-6,.rainbow-braces .token.token.punctuation.brace-level-10{color:#50a14f}.rainbow-braces .token.token.punctuation.brace-level-3,.rainbow-braces .token.token.punctuation.brace-level-7,.rainbow-braces .token.token.punctuation.brace-level-11{color:#4078f2}.rainbow-braces .token.token.punctuation.brace-level-4,.rainbow-braces .token.token.punctuation.brace-level-8,.rainbow-braces .token.token.punctuation.brace-level-12{color:#a626a4}pre.diff-highlight>code .token.token.deleted:not(.prefix),pre>code.diff-highlight .token.token.deleted:not(.prefix){background-color:#ff526626}pre.diff-highlight>code .token.token.deleted:not(.prefix)::selection,pre.diff-highlight>code .token.token.deleted:not(.prefix) *::selection,pre>code.diff-highlight .token.token.deleted:not(.prefix)::selection,pre>code.diff-highlight .token.token.deleted:not(.prefix) *::selection{background-color:#fb566940}pre.diff-highlight>code .token.token.inserted:not(.prefix),pre>code.diff-highlight .token.token.inserted:not(.prefix){background-color:#1aff5b26}pre.diff-highlight>code .token.token.inserted:not(.prefix)::selection,pre.diff-highlight>code .token.token.inserted:not(.prefix) *::selection,pre>code.diff-highlight .token.token.inserted:not(.prefix)::selection,pre>code.diff-highlight .token.token.inserted:not(.prefix) *::selection{background-color:#38e06240}.prism-previewer.prism-previewer:before,.prism-previewer-gradient.prism-previewer-gradient div{border-color:hsl(0,0,95%)}.prism-previewer-color.prism-previewer-color:before,.prism-previewer-gradient.prism-previewer-gradient div,.prism-previewer-easing.prism-previewer-easing:before{border-radius:.3em}.prism-previewer.prism-previewer:after{border-top-color:hsl(0,0,95%)}.prism-previewer-flipped.prism-previewer-flipped.after{border-bottom-color:hsl(0,0,95%)}.prism-previewer-angle.prism-previewer-angle:before,.prism-previewer-time.prism-previewer-time:before,.prism-previewer-easing.prism-previewer-easing{background:hsl(0,0%,100%)}.prism-previewer-angle.prism-previewer-angle circle,.prism-previewer-time.prism-previewer-time circle{stroke:#383a42;stroke-opacity:1}.prism-previewer-easing.prism-previewer-easing circle,.prism-previewer-easing.prism-previewer-easing path,.prism-previewer-easing.prism-previewer-easing line{stroke:#383a42}.prism-previewer-easing.prism-previewer-easing circle{fill:transparent}[data-prefers-color=dark] .token.doctype,[data-prefers-color=dark] .token.punctuation,[data-prefers-color=dark] .token.entity,[data-prefers-color=dark] code[class*=language-],[data-prefers-color=dark] pre[class*=language-]{color:#8590a0}[data-prefers-color=dark] .token.comment,[data-prefers-color=dark] .token.prolog,[data-prefers-color=dark] .token.cdata{color:#616d7f}.dumi-default-source-code{position:relative;background-color:#fbfcfd;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.dumi-default-source-code>pre.prism-code{margin:0;padding:18px 24px;font-size:14px;line-height:1.58;direction:ltr;background:transparent}.dumi-default-source-code>pre.prism-code:before,.dumi-default-source-code>pre.prism-code:after{content:none}.dumi-default-source-code>pre.prism-code>.highlighted{background-color:#eeeff0;width:calc(100% + 48px);margin-inline-start:-24px;padding-inline-start:24px}.dumi-default-source-code-copy{position:absolute;top:9px;right:12px;display:inline-block;padding:8px 12px;background-color:#fbfcfdcc;border:0;border-radius:2px;cursor:pointer;transition:all .2s}.dumi-default-source-code-copy>svg{width:16px;fill:#98a3aa;transition:fill .2s}[data-prefers-color=dark] .dumi-default-source-code-copy>svg{fill:#4a545a}.dumi-default-source-code-copy:hover>svg{fill:#7c8a93}[data-prefers-color=dark] .dumi-default-source-code-copy:hover>svg{fill:#616e75}.dumi-default-source-code-copy[data-copied]>svg{fill:#208a41}[data-prefers-color=dark] .dumi-default-source-code-copy[data-copied]>svg{fill:#124c24}.dumi-default-source-code:not(:hover) .dumi-default-source-code-copy{opacity:0;visibility:hidden}[data-prefers-color=dark] .dumi-default-source-code{background-color:#020305}[data-prefers-color=dark] .dumi-default-source-code-copy{background-color:#02030533}[data-prefers-color=dark] .dumi-default-source-code>pre.prism-code>.highlighted{background-color:#1c1d1e}[data-dumi-tooltip]{position:relative}[data-dumi-tooltip]:before,[data-dumi-tooltip]:after{position:absolute;bottom:100%;left:50%;transform:translate(-50%);display:inline-block;opacity:.7;pointer-events:none;transition:all .2s}[data-dumi-tooltip]:before{content:attr(data-dumi-tooltip);min-width:30px;margin-bottom:8px;padding:5px 8px;color:#fff;font-size:13px;line-height:1.1;white-space:nowrap;background-color:#000;border-radius:2px;box-shadow:0 4px 10px #0000001a;box-sizing:border-box}[data-prefers-color=dark] [data-dumi-tooltip]:before{background-color:#222}[data-dumi-tooltip]:after{content:\"\";width:0;height:0;border:4px solid transparent;border-top-color:#000}[data-prefers-color=dark] [data-dumi-tooltip]:after{border-top-color:#222}[data-dumi-tooltip]:not(:hover):before,[data-dumi-tooltip]:not(:hover):after{visibility:hidden;opacity:0}[data-dumi-tooltip][data-dumi-tooltip-bottom]:before,[data-dumi-tooltip][data-dumi-tooltip-bottom]:after{bottom:auto;top:100%}[data-dumi-tooltip][data-dumi-tooltip-bottom]:before{margin-top:8px;margin-bottom:0}[data-dumi-tooltip][data-dumi-tooltip-bottom]:after{border-top-color:transparent;border-bottom-color:#000}[data-prefers-color=dark] [data-dumi-tooltip][data-dumi-tooltip-bottom]:after{border-bottom-color:#222}.dumi-default-previewer-actions{display:flex;height:32px;align-items:center;justify-content:center}.dumi-default-previewer-actions:not(:last-child){border-bottom:1px dashed #e4e9ec}[data-prefers-color=dark] .dumi-default-previewer-actions:not(:last-child){border-bottom-color:#2a353c}.dumi-default-previewer-action-btn{display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:0;background:transparent;cursor:pointer}.dumi-default-previewer-action-btn>svg{width:16px;fill:#98a3aa;transition:fill .2s}[data-prefers-color=dark] .dumi-default-previewer-action-btn>svg{fill:#4a545a}.dumi-default-previewer-action-btn:hover>svg{fill:#7c8a93}[data-prefers-color=dark] .dumi-default-previewer-action-btn:hover>svg{fill:#616e75}.dumi-default-previewer-action-btn:not(:last-child){margin-inline-end:4px}.dumi-default-previewer-tabs{position:relative;padding:0 12px}.dumi-default-previewer-tabs:after{content:\"\";position:absolute;left:0;bottom:0;width:100%;height:0;border-bottom:1px dashed #e4e9ec}[data-prefers-color=dark] .dumi-default-previewer-tabs:after{border-bottom-color:#2a353c}.dumi-default-tabs{overflow:hidden}.dumi-default-tabs-top{flex-direction:column}.dumi-default-tabs-top .dumi-default-tabs-ink-bar{bottom:0}.dumi-default-tabs-nav{display:flex}.dumi-default-tabs-nav-wrap{display:flex;white-space:nowrap;overflow:hidden}.dumi-default-tabs-nav-wrap.dumi-default-tabs-nav-wrap-ping-left{box-shadow:5px 0 5px -5px #0000001a inset}.dumi-default-tabs-nav-wrap.dumi-default-tabs-nav-wrap-ping-right~*>.dumi-default-tabs-nav-more{box-shadow:0 0 5px #0000001a}.dumi-default-tabs-nav-list{position:relative;z-index:1;display:flex;transition:transform .2s}.dumi-default-tabs-nav-more{height:100%;cursor:pointer;background:none;border:0;transition:box-shadow .2s}.dumi-default-tabs-tab{display:flex;margin:0 12px}.dumi-default-tabs-tab-btn{padding:0;color:#4f5866;font-size:14px;line-height:36px;border:0;outline:none;background:transparent;box-sizing:border-box;cursor:pointer;transition:all .2s}[data-prefers-color=dark] .dumi-default-tabs-tab-btn{color:#8590a0}.dumi-default-tabs-tab-btn:hover{color:#30363f}[data-prefers-color=dark] .dumi-default-tabs-tab-btn:hover{color:#c6c9cd}.dumi-default-tabs-tab-active .dumi-default-tabs-tab-btn{color:#30363f}[data-prefers-color=dark] .dumi-default-tabs-tab-active .dumi-default-tabs-tab-btn{color:#c6c9cd}.dumi-default-tabs-ink-bar{position:absolute;height:1px;background:#1677ff;transition:left .2s,width .2s;pointer-events:none}[data-prefers-color=dark] .dumi-default-tabs-ink-bar{background:#0053c8}.dumi-default-tabs-dropdown{position:absolute;background:inherit;border:1px solid #d0d5d8;max-height:200px;overflow:auto}[data-prefers-color=dark] .dumi-default-tabs-dropdown{border-color:#1c2022}.dumi-default-tabs-dropdown>ul{list-style:none;margin:0;padding:0}.dumi-default-tabs-dropdown>ul>li{padding:4px 12px;font-size:14px;cursor:pointer}.dumi-default-tabs-dropdown>ul>li:hover{color:#1677ff}[data-prefers-color=dark] .dumi-default-tabs-dropdown>ul>li:hover{color:#0053c8}.dumi-default-tabs-dropdown>ul>li:not(:last-child){border-bottom:1px dashed #d0d5d8}[data-prefers-color=dark] .dumi-default-tabs-dropdown>ul>li:not(:last-child){border-bottom-color:#1c2022}.dumi-default-tabs-dropdown-hidden{display:none}.dumi-default-previewer{margin:24px 0 32px;border:1px solid #e4e9ec;border-radius:4px;background-color:inherit}[data-prefers-color=dark] .dumi-default-previewer{border-color:#2a353c}[data-dumi-demo-grid] .dumi-default-previewer{margin:0 0 16px}[data-dumi-demo-grid] .dumi-default-previewer:first-child{margin-top:24px}[data-dumi-demo-grid] .dumi-default-previewer:last-child{margin-bottom:32px}.dumi-default-previewer-demo{border-top-left-radius:2px;border-top-right-radius:2px;padding:40px 24px}.dumi-default-previewer-demo>iframe{display:block;width:100%;height:300px;border:0}.dumi-default-previewer-demo[data-iframe]{position:relative;padding:0;overflow:hidden}.dumi-default-previewer-demo[data-iframe]:before{content:\"\";display:block;height:24px;background-color:#e4e9ec}[data-prefers-color=dark] .dumi-default-previewer-demo[data-iframe]:before{background-color:#2a353c}.dumi-default-previewer-demo[data-iframe]:after{content:\"\";position:absolute;top:5px;left:8px;display:inline-block;width:12px;height:12px;border-radius:50%;background-color:#fd6458;box-shadow:20px 0 #ffbf2b,40px 0 #24cc3d}.dumi-default-previewer-demo[data-transform]{transform:translate(0)}.dumi-default-previewer-demo[data-compact]{padding:0}.dumi-default-previewer-meta{border-top:1px solid #e4e9ec}[data-prefers-color=dark] .dumi-default-previewer-meta{border-top-color:#2a353c}.dumi-default-previewer-desc{position:relative}.dumi-default-previewer-desc>.markdown{padding:14px 24px;border-bottom:1px dashed #e4e9ec}[data-prefers-color=dark] .dumi-default-previewer-desc>.markdown{border-bottom-color:#2a353c}.dumi-default-previewer-desc>h5{position:absolute;top:-7px;left:20px;margin:0;padding:0 4px;display:inline-block;font-size:14px;line-height:1;font-weight:700;background:linear-gradient(to top,#ffffff,#ffffff 50%,rgba(255,255,255,0)) 100%}[data-prefers-color=dark] .dumi-default-previewer-desc>h5{background:linear-gradient(to top,rgba(0,0,0,.95),rgba(0,0,0,.95) 50%,rgba(0,0,0,0)) 100%}.dumi-default-previewer-desc>h5>a{color:#30363f}[data-prefers-color=dark] .dumi-default-previewer-desc>h5>a{color:#c6c9cd}.dumi-default-previewer-desc>h5>a:not(:hover){text-decoration:none}.dumi-default-previewer-desc>h5>a>strong{float:inline-start;padding-inline-end:8px;color:#d59200;font-size:12px;line-height:15px}[data-prefers-color=dark] .dumi-default-previewer-desc>h5>a>strong{color:#895e00}.dumi-default-previewer[data-active]{box-shadow:0 0 0 4px #1677ff1a;border-color:#7cb3ff}[data-prefers-color=dark] .dumi-default-previewer[data-active]{box-shadow:0 0 0 4px #0053c81a;border-color:#002962}.dumi-default-previewer[data-debug]{border-color:#ffc23c}[data-prefers-color=dark] .dumi-default-previewer[data-debug]{border-color:#231800}.dumi-default-previewer[data-debug][data-active]{box-shadow:0 0 0 4px #d592001a}[data-prefers-color=dark] .dumi-default-previewer[data-debug][data-active]{box-shadow:0 0 0 4px #895e001a}.dumi-default-content-tabs{list-style-type:none;display:flex;align-items:center;height:60px;margin:-48px -48px 48px;padding:0 48px;border-bottom:1px solid #e4e9ec}[data-prefers-color=dark] .dumi-default-content-tabs{border-bottom-color:#2a353c}@media only screen and (max-width: 767px){.dumi-default-content-tabs{margin:-24px -24px 24px;padding:0 24px;height:42px}}[data-no-sidebar] .dumi-default-content-tabs{margin:0 0 48px;padding:0}@media only screen and (max-width: 767px){[data-no-sidebar] .dumi-default-content-tabs{margin-bottom:24px}}.dumi-default-content-tabs>li{height:inherit}.dumi-default-content-tabs>li>button{padding:0;height:inherit;color:#4f5866;font-size:17px;border:0;background:transparent;cursor:pointer;transition:all .2s}[data-prefers-color=dark] .dumi-default-content-tabs>li>button{color:#8590a0}.dumi-default-content-tabs>li>button:hover{color:#1677ff}[data-prefers-color=dark] .dumi-default-content-tabs>li>button:hover{color:#0053c8}.dumi-default-content-tabs>li:not(last-child){margin-inline-end:42px}@media only screen and (max-width: 767px){.dumi-default-content-tabs>li:not(last-child){margin-inline-end:20px}}.dumi-default-content-tabs>li[data-active]{position:relative}.dumi-default-content-tabs>li[data-active]>button{color:#30363f}[data-prefers-color=dark] .dumi-default-content-tabs>li[data-active]>button{color:#c6c9cd}.dumi-default-content-tabs>li[data-active]:after{content:\"\";position:absolute;left:0;right:0;bottom:-1px;height:1px;background-color:#1677ff}[data-prefers-color=dark] .dumi-default-content-tabs>li[data-active]:after{background-color:#0053c8}\n"
  },
  {
    "path": "docker/public/umi.ec46dd8b.js",
    "content": "(function(){var __webpack_modules__={34688:function(c,m,e){\"use strict\";e.d(m,{kG:function(){return h}});function a(g){return Math.floor(Math.log(g)*Math.LOG10E)}function o(g,y){if(typeof g.repeat==\"function\")return g.repeat(y);for(var S=new Array(y),I=0;I<S.length;I++)S[I]=g;return S.join(\"\")}function r(g,y,S,I){g.get(y)||g.set(y,Object.create(null));var N=g.get(y);N[S]=I}function u(g,y,S){for(var I=0,N=Object.keys(S);I<N.length;I++){var _=N[I];r(g,y,_,S[_])}}function l(g,y,S){return d(g,y,S)[S]}function d(g,y){for(var S=[],I=2;I<arguments.length;I++)S[I-2]=arguments[I];var N=g.get(y);if(!N)throw new TypeError(\"\".concat(y,\" InternalSlot has not been initialized\"));return S.reduce(function(_,M){return _[M]=N[M],_},Object.create(null))}function f(g){return g.type===\"literal\"}function v(g,y,S){var I=S.value;Object.defineProperty(g,y,{configurable:!0,enumerable:!1,writable:!0,value:I})}var p=/-u(?:-[0-9a-z]{2,8})+/gi;function h(g,y,S){if(S===void 0&&(S=Error),!g)throw new S(y)}},61829:function(c,m,e){\"use strict\";e.d(m,{A:function(){return y},H:function(){return a}});function a(S,I){var N=I&&I.cache?I.cache:g,_=I&&I.serializer?I.serializer:p,M=I&&I.strategy?I.strategy:d;return M(S,{cache:N,serializer:_})}function o(S){return S==null||typeof S==\"number\"||typeof S==\"boolean\"}function r(S,I,N,_){var M=o(_)?_:N(_),L=I.get(M);return typeof L==\"undefined\"&&(L=S.call(this,_),I.set(M,L)),L}function u(S,I,N){var _=Array.prototype.slice.call(arguments,3),M=N(_),L=I.get(M);return typeof L==\"undefined\"&&(L=S.apply(this,_),I.set(M,L)),L}function l(S,I,N,_,M){return N.bind(I,S,_,M)}function d(S,I){var N=S.length===1?r:u;return l(S,this,N,I.cache.create(),I.serializer)}function f(S,I){return l(S,this,u,I.cache.create(),I.serializer)}function v(S,I){return l(S,this,r,I.cache.create(),I.serializer)}var p=function(){return JSON.stringify(arguments)};function h(){this.cache=Object.create(null)}h.prototype.get=function(S){return this.cache[S]},h.prototype.set=function(S,I){this.cache[S]=I};var g={create:function(){return new h}},y={variadic:f,monadic:v}},72988:function(c,m,e){\"use strict\";e.d(m,{wD:function(){return r},VG:function(){return d},rp:function(){return v},Ii:function(){return N},O4:function(){return l},uf:function(){return f},Wh:function(){return I},Jo:function(){return g},yx:function(){return y},Wi:function(){return h},HI:function(){return S},pe:function(){return p},Qc:function(){return ft}});var a=e(96583),o;(function(b){b[b.EXPECT_ARGUMENT_CLOSING_BRACE=1]=\"EXPECT_ARGUMENT_CLOSING_BRACE\",b[b.EMPTY_ARGUMENT=2]=\"EMPTY_ARGUMENT\",b[b.MALFORMED_ARGUMENT=3]=\"MALFORMED_ARGUMENT\",b[b.EXPECT_ARGUMENT_TYPE=4]=\"EXPECT_ARGUMENT_TYPE\",b[b.INVALID_ARGUMENT_TYPE=5]=\"INVALID_ARGUMENT_TYPE\",b[b.EXPECT_ARGUMENT_STYLE=6]=\"EXPECT_ARGUMENT_STYLE\",b[b.INVALID_NUMBER_SKELETON=7]=\"INVALID_NUMBER_SKELETON\",b[b.INVALID_DATE_TIME_SKELETON=8]=\"INVALID_DATE_TIME_SKELETON\",b[b.EXPECT_NUMBER_SKELETON=9]=\"EXPECT_NUMBER_SKELETON\",b[b.EXPECT_DATE_TIME_SKELETON=10]=\"EXPECT_DATE_TIME_SKELETON\",b[b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]=\"UNCLOSED_QUOTE_IN_ARGUMENT_STYLE\",b[b.EXPECT_SELECT_ARGUMENT_OPTIONS=12]=\"EXPECT_SELECT_ARGUMENT_OPTIONS\",b[b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]=\"EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE\",b[b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]=\"INVALID_PLURAL_ARGUMENT_OFFSET_VALUE\",b[b.EXPECT_SELECT_ARGUMENT_SELECTOR=15]=\"EXPECT_SELECT_ARGUMENT_SELECTOR\",b[b.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]=\"EXPECT_PLURAL_ARGUMENT_SELECTOR\",b[b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]=\"EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT\",b[b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]=\"EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT\",b[b.INVALID_PLURAL_ARGUMENT_SELECTOR=19]=\"INVALID_PLURAL_ARGUMENT_SELECTOR\",b[b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]=\"DUPLICATE_PLURAL_ARGUMENT_SELECTOR\",b[b.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]=\"DUPLICATE_SELECT_ARGUMENT_SELECTOR\",b[b.MISSING_OTHER_CLAUSE=22]=\"MISSING_OTHER_CLAUSE\",b[b.INVALID_TAG=23]=\"INVALID_TAG\",b[b.INVALID_TAG_NAME=25]=\"INVALID_TAG_NAME\",b[b.UNMATCHED_CLOSING_TAG=26]=\"UNMATCHED_CLOSING_TAG\",b[b.UNCLOSED_TAG=27]=\"UNCLOSED_TAG\"})(o||(o={}));var r;(function(b){b[b.literal=0]=\"literal\",b[b.argument=1]=\"argument\",b[b.number=2]=\"number\",b[b.date=3]=\"date\",b[b.time=4]=\"time\",b[b.select=5]=\"select\",b[b.plural=6]=\"plural\",b[b.pound=7]=\"pound\",b[b.tag=8]=\"tag\"})(r||(r={}));var u;(function(b){b[b.number=0]=\"number\",b[b.dateTime=1]=\"dateTime\"})(u||(u={}));function l(b){return b.type===r.literal}function d(b){return b.type===r.argument}function f(b){return b.type===r.number}function v(b){return b.type===r.date}function p(b){return b.type===r.time}function h(b){return b.type===r.select}function g(b){return b.type===r.plural}function y(b){return b.type===r.pound}function S(b){return b.type===r.tag}function I(b){return!!(b&&typeof b==\"object\"&&b.type===u.number)}function N(b){return!!(b&&typeof b==\"object\"&&b.type===u.dateTime)}function _(b){return{type:r.literal,value:b}}function M(b,W){return{type:r.number,value:b,style:W}}var L=/[ \\xA0\\u1680\\u2000-\\u200A\\u202F\\u205F\\u3000]/,k=/[\\t-\\r \\x85\\u200E\\u200F\\u2028\\u2029]/,U=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function x(b){var W={};return b.replace(U,function(de){var ye=de.length;switch(de[0]){case\"G\":W.era=ye===4?\"long\":ye===5?\"narrow\":\"short\";break;case\"y\":W.year=ye===2?\"2-digit\":\"numeric\";break;case\"Y\":case\"u\":case\"U\":case\"r\":throw new RangeError(\"`Y/u/U/r` (year) patterns are not supported, use `y` instead\");case\"q\":case\"Q\":throw new RangeError(\"`q/Q` (quarter) patterns are not supported\");case\"M\":case\"L\":W.month=[\"numeric\",\"2-digit\",\"short\",\"long\",\"narrow\"][ye-1];break;case\"w\":case\"W\":throw new RangeError(\"`w/W` (week) patterns are not supported\");case\"d\":W.day=[\"numeric\",\"2-digit\"][ye-1];break;case\"D\":case\"F\":case\"g\":throw new RangeError(\"`D/F/g` (day) patterns are not supported, use `d` instead\");case\"E\":W.weekday=ye===4?\"short\":ye===5?\"narrow\":\"short\";break;case\"e\":if(ye<4)throw new RangeError(\"`e..eee` (weekday) patterns are not supported\");W.weekday=[\"short\",\"long\",\"narrow\",\"short\"][ye-4];break;case\"c\":if(ye<4)throw new RangeError(\"`c..ccc` (weekday) patterns are not supported\");W.weekday=[\"short\",\"long\",\"narrow\",\"short\"][ye-4];break;case\"a\":W.hour12=!0;break;case\"b\":case\"B\":throw new RangeError(\"`b/B` (period) patterns are not supported, use `a` instead\");case\"h\":W.hourCycle=\"h12\",W.hour=[\"numeric\",\"2-digit\"][ye-1];break;case\"H\":W.hourCycle=\"h23\",W.hour=[\"numeric\",\"2-digit\"][ye-1];break;case\"K\":W.hourCycle=\"h11\",W.hour=[\"numeric\",\"2-digit\"][ye-1];break;case\"k\":W.hourCycle=\"h24\",W.hour=[\"numeric\",\"2-digit\"][ye-1];break;case\"j\":case\"J\":case\"C\":throw new RangeError(\"`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead\");case\"m\":W.minute=[\"numeric\",\"2-digit\"][ye-1];break;case\"s\":W.second=[\"numeric\",\"2-digit\"][ye-1];break;case\"S\":case\"A\":throw new RangeError(\"`S/A` (second) patterns are not supported, use `s` instead\");case\"z\":W.timeZoneName=ye<4?\"short\":\"long\";break;case\"Z\":case\"O\":case\"v\":case\"V\":case\"X\":case\"x\":throw new RangeError(\"`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead\")}return\"\"}),W}var F=/[\\t-\\r \\x85\\u200E\\u200F\\u2028\\u2029]/i;function K(b){if(b.length===0)throw new Error(\"Number skeleton cannot be empty\");for(var W=b.split(F).filter(function(jt){return jt.length>0}),de=[],ye=0,He=W;ye<He.length;ye++){var rt=He[ye],$e=rt.split(\"/\");if($e.length===0)throw new Error(\"Invalid number skeleton\");for(var pt=$e[0],Ot=$e.slice(1),at=0,wt=Ot;at<wt.length;at++){var vt=wt[at];if(vt.length===0)throw new Error(\"Invalid number skeleton\")}de.push({stem:pt,options:Ot})}return de}function G(b){return b.replace(/^(.*?)-/,\"\")}var q=/^\\.(?:(0+)(\\*)?|(#+)|(0+)(#+))$/g,X=/^(@+)?(\\+|#+)?[rs]?$/g,oe=/(\\*)(0+)|(#+)(0+)|(0+)/g,Ee=/^(0+)$/;function Te(b){var W={};return b[b.length-1]===\"r\"?W.roundingPriority=\"morePrecision\":b[b.length-1]===\"s\"&&(W.roundingPriority=\"lessPrecision\"),b.replace(X,function(de,ye,He){return typeof He!=\"string\"?(W.minimumSignificantDigits=ye.length,W.maximumSignificantDigits=ye.length):He===\"+\"?W.minimumSignificantDigits=ye.length:ye[0]===\"#\"?W.maximumSignificantDigits=ye.length:(W.minimumSignificantDigits=ye.length,W.maximumSignificantDigits=ye.length+(typeof He==\"string\"?He.length:0)),\"\"}),W}function ae(b){switch(b){case\"sign-auto\":return{signDisplay:\"auto\"};case\"sign-accounting\":case\"()\":return{currencySign:\"accounting\"};case\"sign-always\":case\"+!\":return{signDisplay:\"always\"};case\"sign-accounting-always\":case\"()!\":return{signDisplay:\"always\",currencySign:\"accounting\"};case\"sign-except-zero\":case\"+?\":return{signDisplay:\"exceptZero\"};case\"sign-accounting-except-zero\":case\"()?\":return{signDisplay:\"exceptZero\",currencySign:\"accounting\"};case\"sign-never\":case\"+_\":return{signDisplay:\"never\"}}}function z(b){var W;if(b[0]===\"E\"&&b[1]===\"E\"?(W={notation:\"engineering\"},b=b.slice(2)):b[0]===\"E\"&&(W={notation:\"scientific\"},b=b.slice(1)),W){var de=b.slice(0,2);if(de===\"+!\"?(W.signDisplay=\"always\",b=b.slice(2)):de===\"+?\"&&(W.signDisplay=\"exceptZero\",b=b.slice(2)),!Ee.test(b))throw new Error(\"Malformed concise eng/scientific notation\");W.minimumIntegerDigits=b.length}return W}function A(b){var W={},de=ae(b);return de||W}function T(b){for(var W={},de=0,ye=b;de<ye.length;de++){var He=ye[de];switch(He.stem){case\"percent\":case\"%\":W.style=\"percent\";continue;case\"%x100\":W.style=\"percent\",W.scale=100;continue;case\"currency\":W.style=\"currency\",W.currency=He.options[0];continue;case\"group-off\":case\",_\":W.useGrouping=!1;continue;case\"precision-integer\":case\".\":W.maximumFractionDigits=0;continue;case\"measure-unit\":case\"unit\":W.style=\"unit\",W.unit=G(He.options[0]);continue;case\"compact-short\":case\"K\":W.notation=\"compact\",W.compactDisplay=\"short\";continue;case\"compact-long\":case\"KK\":W.notation=\"compact\",W.compactDisplay=\"long\";continue;case\"scientific\":W=(0,a.pi)((0,a.pi)((0,a.pi)({},W),{notation:\"scientific\"}),He.options.reduce(function(Ot,at){return(0,a.pi)((0,a.pi)({},Ot),A(at))},{}));continue;case\"engineering\":W=(0,a.pi)((0,a.pi)((0,a.pi)({},W),{notation:\"engineering\"}),He.options.reduce(function(Ot,at){return(0,a.pi)((0,a.pi)({},Ot),A(at))},{}));continue;case\"notation-simple\":W.notation=\"standard\";continue;case\"unit-width-narrow\":W.currencyDisplay=\"narrowSymbol\",W.unitDisplay=\"narrow\";continue;case\"unit-width-short\":W.currencyDisplay=\"code\",W.unitDisplay=\"short\";continue;case\"unit-width-full-name\":W.currencyDisplay=\"name\",W.unitDisplay=\"long\";continue;case\"unit-width-iso-code\":W.currencyDisplay=\"symbol\";continue;case\"scale\":W.scale=parseFloat(He.options[0]);continue;case\"integer-width\":if(He.options.length>1)throw new RangeError(\"integer-width stems only accept a single optional option\");He.options[0].replace(oe,function(Ot,at,wt,vt,jt,At){if(at)W.minimumIntegerDigits=wt.length;else{if(vt&&jt)throw new Error(\"We currently do not support maximum integer digits\");if(At)throw new Error(\"We currently do not support exact integer digits\")}return\"\"});continue}if(Ee.test(He.stem)){W.minimumIntegerDigits=He.stem.length;continue}if(q.test(He.stem)){if(He.options.length>1)throw new RangeError(\"Fraction-precision stems only accept a single optional option\");He.stem.replace(q,function(Ot,at,wt,vt,jt,At){return wt===\"*\"?W.minimumFractionDigits=at.length:vt&&vt[0]===\"#\"?W.maximumFractionDigits=vt.length:jt&&At?(W.minimumFractionDigits=jt.length,W.maximumFractionDigits=jt.length+At.length):(W.minimumFractionDigits=at.length,W.maximumFractionDigits=at.length),\"\"});var rt=He.options[0];rt===\"w\"?W=(0,a.pi)((0,a.pi)({},W),{trailingZeroDisplay:\"stripIfInteger\"}):rt&&(W=(0,a.pi)((0,a.pi)({},W),Te(rt)));continue}if(X.test(He.stem)){W=(0,a.pi)((0,a.pi)({},W),Te(He.stem));continue}var $e=ae(He.stem);$e&&(W=(0,a.pi)((0,a.pi)({},W),$e));var pt=z(He.stem);pt&&(W=(0,a.pi)((0,a.pi)({},W),pt))}return W}var R={AX:[\"H\"],BQ:[\"H\"],CP:[\"H\"],CZ:[\"H\"],DK:[\"H\"],FI:[\"H\"],ID:[\"H\"],IS:[\"H\"],ML:[\"H\"],NE:[\"H\"],RU:[\"H\"],SE:[\"H\"],SJ:[\"H\"],SK:[\"H\"],AS:[\"h\",\"H\"],BT:[\"h\",\"H\"],DJ:[\"h\",\"H\"],ER:[\"h\",\"H\"],GH:[\"h\",\"H\"],IN:[\"h\",\"H\"],LS:[\"h\",\"H\"],PG:[\"h\",\"H\"],PW:[\"h\",\"H\"],SO:[\"h\",\"H\"],TO:[\"h\",\"H\"],VU:[\"h\",\"H\"],WS:[\"h\",\"H\"],\"001\":[\"H\",\"h\"],AL:[\"h\",\"H\",\"hB\"],TD:[\"h\",\"H\",\"hB\"],\"ca-ES\":[\"H\",\"h\",\"hB\"],CF:[\"H\",\"h\",\"hB\"],CM:[\"H\",\"h\",\"hB\"],\"fr-CA\":[\"H\",\"h\",\"hB\"],\"gl-ES\":[\"H\",\"h\",\"hB\"],\"it-CH\":[\"H\",\"h\",\"hB\"],\"it-IT\":[\"H\",\"h\",\"hB\"],LU:[\"H\",\"h\",\"hB\"],NP:[\"H\",\"h\",\"hB\"],PF:[\"H\",\"h\",\"hB\"],SC:[\"H\",\"h\",\"hB\"],SM:[\"H\",\"h\",\"hB\"],SN:[\"H\",\"h\",\"hB\"],TF:[\"H\",\"h\",\"hB\"],VA:[\"H\",\"h\",\"hB\"],CY:[\"h\",\"H\",\"hb\",\"hB\"],GR:[\"h\",\"H\",\"hb\",\"hB\"],CO:[\"h\",\"H\",\"hB\",\"hb\"],DO:[\"h\",\"H\",\"hB\",\"hb\"],KP:[\"h\",\"H\",\"hB\",\"hb\"],KR:[\"h\",\"H\",\"hB\",\"hb\"],NA:[\"h\",\"H\",\"hB\",\"hb\"],PA:[\"h\",\"H\",\"hB\",\"hb\"],PR:[\"h\",\"H\",\"hB\",\"hb\"],VE:[\"h\",\"H\",\"hB\",\"hb\"],AC:[\"H\",\"h\",\"hb\",\"hB\"],AI:[\"H\",\"h\",\"hb\",\"hB\"],BW:[\"H\",\"h\",\"hb\",\"hB\"],BZ:[\"H\",\"h\",\"hb\",\"hB\"],CC:[\"H\",\"h\",\"hb\",\"hB\"],CK:[\"H\",\"h\",\"hb\",\"hB\"],CX:[\"H\",\"h\",\"hb\",\"hB\"],DG:[\"H\",\"h\",\"hb\",\"hB\"],FK:[\"H\",\"h\",\"hb\",\"hB\"],GB:[\"H\",\"h\",\"hb\",\"hB\"],GG:[\"H\",\"h\",\"hb\",\"hB\"],GI:[\"H\",\"h\",\"hb\",\"hB\"],IE:[\"H\",\"h\",\"hb\",\"hB\"],IM:[\"H\",\"h\",\"hb\",\"hB\"],IO:[\"H\",\"h\",\"hb\",\"hB\"],JE:[\"H\",\"h\",\"hb\",\"hB\"],LT:[\"H\",\"h\",\"hb\",\"hB\"],MK:[\"H\",\"h\",\"hb\",\"hB\"],MN:[\"H\",\"h\",\"hb\",\"hB\"],MS:[\"H\",\"h\",\"hb\",\"hB\"],NF:[\"H\",\"h\",\"hb\",\"hB\"],NG:[\"H\",\"h\",\"hb\",\"hB\"],NR:[\"H\",\"h\",\"hb\",\"hB\"],NU:[\"H\",\"h\",\"hb\",\"hB\"],PN:[\"H\",\"h\",\"hb\",\"hB\"],SH:[\"H\",\"h\",\"hb\",\"hB\"],SX:[\"H\",\"h\",\"hb\",\"hB\"],TA:[\"H\",\"h\",\"hb\",\"hB\"],ZA:[\"H\",\"h\",\"hb\",\"hB\"],\"af-ZA\":[\"H\",\"h\",\"hB\",\"hb\"],AR:[\"H\",\"h\",\"hB\",\"hb\"],CL:[\"H\",\"h\",\"hB\",\"hb\"],CR:[\"H\",\"h\",\"hB\",\"hb\"],CU:[\"H\",\"h\",\"hB\",\"hb\"],EA:[\"H\",\"h\",\"hB\",\"hb\"],\"es-BO\":[\"H\",\"h\",\"hB\",\"hb\"],\"es-BR\":[\"H\",\"h\",\"hB\",\"hb\"],\"es-EC\":[\"H\",\"h\",\"hB\",\"hb\"],\"es-ES\":[\"H\",\"h\",\"hB\",\"hb\"],\"es-GQ\":[\"H\",\"h\",\"hB\",\"hb\"],\"es-PE\":[\"H\",\"h\",\"hB\",\"hb\"],GT:[\"H\",\"h\",\"hB\",\"hb\"],HN:[\"H\",\"h\",\"hB\",\"hb\"],IC:[\"H\",\"h\",\"hB\",\"hb\"],KG:[\"H\",\"h\",\"hB\",\"hb\"],KM:[\"H\",\"h\",\"hB\",\"hb\"],LK:[\"H\",\"h\",\"hB\",\"hb\"],MA:[\"H\",\"h\",\"hB\",\"hb\"],MX:[\"H\",\"h\",\"hB\",\"hb\"],NI:[\"H\",\"h\",\"hB\",\"hb\"],PY:[\"H\",\"h\",\"hB\",\"hb\"],SV:[\"H\",\"h\",\"hB\",\"hb\"],UY:[\"H\",\"h\",\"hB\",\"hb\"],JP:[\"H\",\"h\",\"K\"],AD:[\"H\",\"hB\"],AM:[\"H\",\"hB\"],AO:[\"H\",\"hB\"],AT:[\"H\",\"hB\"],AW:[\"H\",\"hB\"],BE:[\"H\",\"hB\"],BF:[\"H\",\"hB\"],BJ:[\"H\",\"hB\"],BL:[\"H\",\"hB\"],BR:[\"H\",\"hB\"],CG:[\"H\",\"hB\"],CI:[\"H\",\"hB\"],CV:[\"H\",\"hB\"],DE:[\"H\",\"hB\"],EE:[\"H\",\"hB\"],FR:[\"H\",\"hB\"],GA:[\"H\",\"hB\"],GF:[\"H\",\"hB\"],GN:[\"H\",\"hB\"],GP:[\"H\",\"hB\"],GW:[\"H\",\"hB\"],HR:[\"H\",\"hB\"],IL:[\"H\",\"hB\"],IT:[\"H\",\"hB\"],KZ:[\"H\",\"hB\"],MC:[\"H\",\"hB\"],MD:[\"H\",\"hB\"],MF:[\"H\",\"hB\"],MQ:[\"H\",\"hB\"],MZ:[\"H\",\"hB\"],NC:[\"H\",\"hB\"],NL:[\"H\",\"hB\"],PM:[\"H\",\"hB\"],PT:[\"H\",\"hB\"],RE:[\"H\",\"hB\"],RO:[\"H\",\"hB\"],SI:[\"H\",\"hB\"],SR:[\"H\",\"hB\"],ST:[\"H\",\"hB\"],TG:[\"H\",\"hB\"],TR:[\"H\",\"hB\"],WF:[\"H\",\"hB\"],YT:[\"H\",\"hB\"],BD:[\"h\",\"hB\",\"H\"],PK:[\"h\",\"hB\",\"H\"],AZ:[\"H\",\"hB\",\"h\"],BA:[\"H\",\"hB\",\"h\"],BG:[\"H\",\"hB\",\"h\"],CH:[\"H\",\"hB\",\"h\"],GE:[\"H\",\"hB\",\"h\"],LI:[\"H\",\"hB\",\"h\"],ME:[\"H\",\"hB\",\"h\"],RS:[\"H\",\"hB\",\"h\"],UA:[\"H\",\"hB\",\"h\"],UZ:[\"H\",\"hB\",\"h\"],XK:[\"H\",\"hB\",\"h\"],AG:[\"h\",\"hb\",\"H\",\"hB\"],AU:[\"h\",\"hb\",\"H\",\"hB\"],BB:[\"h\",\"hb\",\"H\",\"hB\"],BM:[\"h\",\"hb\",\"H\",\"hB\"],BS:[\"h\",\"hb\",\"H\",\"hB\"],CA:[\"h\",\"hb\",\"H\",\"hB\"],DM:[\"h\",\"hb\",\"H\",\"hB\"],\"en-001\":[\"h\",\"hb\",\"H\",\"hB\"],FJ:[\"h\",\"hb\",\"H\",\"hB\"],FM:[\"h\",\"hb\",\"H\",\"hB\"],GD:[\"h\",\"hb\",\"H\",\"hB\"],GM:[\"h\",\"hb\",\"H\",\"hB\"],GU:[\"h\",\"hb\",\"H\",\"hB\"],GY:[\"h\",\"hb\",\"H\",\"hB\"],JM:[\"h\",\"hb\",\"H\",\"hB\"],KI:[\"h\",\"hb\",\"H\",\"hB\"],KN:[\"h\",\"hb\",\"H\",\"hB\"],KY:[\"h\",\"hb\",\"H\",\"hB\"],LC:[\"h\",\"hb\",\"H\",\"hB\"],LR:[\"h\",\"hb\",\"H\",\"hB\"],MH:[\"h\",\"hb\",\"H\",\"hB\"],MP:[\"h\",\"hb\",\"H\",\"hB\"],MW:[\"h\",\"hb\",\"H\",\"hB\"],NZ:[\"h\",\"hb\",\"H\",\"hB\"],SB:[\"h\",\"hb\",\"H\",\"hB\"],SG:[\"h\",\"hb\",\"H\",\"hB\"],SL:[\"h\",\"hb\",\"H\",\"hB\"],SS:[\"h\",\"hb\",\"H\",\"hB\"],SZ:[\"h\",\"hb\",\"H\",\"hB\"],TC:[\"h\",\"hb\",\"H\",\"hB\"],TT:[\"h\",\"hb\",\"H\",\"hB\"],UM:[\"h\",\"hb\",\"H\",\"hB\"],US:[\"h\",\"hb\",\"H\",\"hB\"],VC:[\"h\",\"hb\",\"H\",\"hB\"],VG:[\"h\",\"hb\",\"H\",\"hB\"],VI:[\"h\",\"hb\",\"H\",\"hB\"],ZM:[\"h\",\"hb\",\"H\",\"hB\"],BO:[\"H\",\"hB\",\"h\",\"hb\"],EC:[\"H\",\"hB\",\"h\",\"hb\"],ES:[\"H\",\"hB\",\"h\",\"hb\"],GQ:[\"H\",\"hB\",\"h\",\"hb\"],PE:[\"H\",\"hB\",\"h\",\"hb\"],AE:[\"h\",\"hB\",\"hb\",\"H\"],\"ar-001\":[\"h\",\"hB\",\"hb\",\"H\"],BH:[\"h\",\"hB\",\"hb\",\"H\"],DZ:[\"h\",\"hB\",\"hb\",\"H\"],EG:[\"h\",\"hB\",\"hb\",\"H\"],EH:[\"h\",\"hB\",\"hb\",\"H\"],HK:[\"h\",\"hB\",\"hb\",\"H\"],IQ:[\"h\",\"hB\",\"hb\",\"H\"],JO:[\"h\",\"hB\",\"hb\",\"H\"],KW:[\"h\",\"hB\",\"hb\",\"H\"],LB:[\"h\",\"hB\",\"hb\",\"H\"],LY:[\"h\",\"hB\",\"hb\",\"H\"],MO:[\"h\",\"hB\",\"hb\",\"H\"],MR:[\"h\",\"hB\",\"hb\",\"H\"],OM:[\"h\",\"hB\",\"hb\",\"H\"],PH:[\"h\",\"hB\",\"hb\",\"H\"],PS:[\"h\",\"hB\",\"hb\",\"H\"],QA:[\"h\",\"hB\",\"hb\",\"H\"],SA:[\"h\",\"hB\",\"hb\",\"H\"],SD:[\"h\",\"hB\",\"hb\",\"H\"],SY:[\"h\",\"hB\",\"hb\",\"H\"],TN:[\"h\",\"hB\",\"hb\",\"H\"],YE:[\"h\",\"hB\",\"hb\",\"H\"],AF:[\"H\",\"hb\",\"hB\",\"h\"],LA:[\"H\",\"hb\",\"hB\",\"h\"],CN:[\"H\",\"hB\",\"hb\",\"h\"],LV:[\"H\",\"hB\",\"hb\",\"h\"],TL:[\"H\",\"hB\",\"hb\",\"h\"],\"zu-ZA\":[\"H\",\"hB\",\"hb\",\"h\"],CD:[\"hB\",\"H\"],IR:[\"hB\",\"H\"],\"hi-IN\":[\"hB\",\"h\",\"H\"],\"kn-IN\":[\"hB\",\"h\",\"H\"],\"ml-IN\":[\"hB\",\"h\",\"H\"],\"te-IN\":[\"hB\",\"h\",\"H\"],KH:[\"hB\",\"h\",\"H\",\"hb\"],\"ta-IN\":[\"hB\",\"h\",\"hb\",\"H\"],BN:[\"hb\",\"hB\",\"h\",\"H\"],MY:[\"hb\",\"hB\",\"h\",\"H\"],ET:[\"hB\",\"hb\",\"h\",\"H\"],\"gu-IN\":[\"hB\",\"hb\",\"h\",\"H\"],\"mr-IN\":[\"hB\",\"hb\",\"h\",\"H\"],\"pa-IN\":[\"hB\",\"hb\",\"h\",\"H\"],TW:[\"hB\",\"hb\",\"h\",\"H\"],KE:[\"hB\",\"hb\",\"H\",\"h\"],MM:[\"hB\",\"hb\",\"H\",\"h\"],TZ:[\"hB\",\"hb\",\"H\",\"h\"],UG:[\"hB\",\"hb\",\"H\",\"h\"]};function j(b,W){for(var de=\"\",ye=0;ye<b.length;ye++){var He=b.charAt(ye);if(He===\"j\"){for(var rt=0;ye+1<b.length&&b.charAt(ye+1)===He;)rt++,ye++;var $e=1+(rt&1),pt=rt<2?1:3+(rt>>1),Ot=\"a\",at=C(W);for((at==\"H\"||at==\"k\")&&(pt=0);pt-- >0;)de+=Ot;for(;$e-- >0;)de=at+de}else He===\"J\"?de+=\"H\":de+=He}return de}function C(b){var W=b.hourCycle;if(W===void 0&&b.hourCycles&&b.hourCycles.length&&(W=b.hourCycles[0]),W)switch(W){case\"h24\":return\"k\";case\"h23\":return\"H\";case\"h12\":return\"h\";case\"h11\":return\"K\";default:throw new Error(\"Invalid hourCycle\")}var de=b.language,ye;de!==\"root\"&&(ye=b.maximize().region);var He=R[ye||\"\"]||R[de||\"\"]||R[\"\".concat(de,\"-001\")]||R[\"001\"];return He[0]}var B,fe=new RegExp(\"^\".concat(L.source,\"*\")),Ae=new RegExp(\"\".concat(L.source,\"*$\"));function ge(b,W){return{start:b,end:W}}var ce=!!String.prototype.startsWith,Me=!!String.fromCodePoint,_e=!!Object.fromEntries,De=!!String.prototype.codePointAt,Ce=!!String.prototype.trimStart,it=!!String.prototype.trimEnd,V=!!Number.isSafeInteger,we=V?Number.isSafeInteger:function(b){return typeof b==\"number\"&&isFinite(b)&&Math.floor(b)===b&&Math.abs(b)<=9007199254740991},Ie=!0;try{var le=Q(\"([^\\\\p{White_Space}\\\\p{Pattern_Syntax}]*)\",\"yu\");Ie=((B=le.exec(\"a\"))===null||B===void 0?void 0:B[0])===\"a\"}catch(b){Ie=!1}var Ne=ce?function(W,de,ye){return W.startsWith(de,ye)}:function(W,de,ye){return W.slice(ye,ye+de.length)===de},te=Me?String.fromCodePoint:function(){for(var W=[],de=0;de<arguments.length;de++)W[de]=arguments[de];for(var ye=\"\",He=W.length,rt=0,$e;He>rt;){if($e=W[rt++],$e>1114111)throw RangeError($e+\" is not a valid code point\");ye+=$e<65536?String.fromCharCode($e):String.fromCharCode((($e-=65536)>>10)+55296,$e%1024+56320)}return ye},se=_e?Object.fromEntries:function(W){for(var de={},ye=0,He=W;ye<He.length;ye++){var rt=He[ye],$e=rt[0],pt=rt[1];de[$e]=pt}return de},pe=De?function(W,de){return W.codePointAt(de)}:function(W,de){var ye=W.length;if(!(de<0||de>=ye)){var He=W.charCodeAt(de),rt;return He<55296||He>56319||de+1===ye||(rt=W.charCodeAt(de+1))<56320||rt>57343?He:(He-55296<<10)+(rt-56320)+65536}},ee=Ce?function(W){return W.trimStart()}:function(W){return W.replace(fe,\"\")},Se=it?function(W){return W.trimEnd()}:function(W){return W.replace(Ae,\"\")};function Q(b,W){return new RegExp(b,W)}var Z;if(Ie){var Y=Q(\"([^\\\\p{White_Space}\\\\p{Pattern_Syntax}]*)\",\"yu\");Z=function(W,de){var ye;Y.lastIndex=de;var He=Y.exec(W);return(ye=He[1])!==null&&ye!==void 0?ye:\"\"}}else Z=function(W,de){for(var ye=[];;){var He=pe(W,de);if(He===void 0||We(He)||ke(He))break;ye.push(He),de+=He>=65536?2:1}return te.apply(void 0,ye)};var ue=function(){function b(W,de){de===void 0&&(de={}),this.message=W,this.position={offset:0,line:1,column:1},this.ignoreTag=!!de.ignoreTag,this.locale=de.locale,this.requiresOtherClause=!!de.requiresOtherClause,this.shouldParseSkeletons=!!de.shouldParseSkeletons}return b.prototype.parse=function(){if(this.offset()!==0)throw Error(\"parser can only be used once\");return this.parseMessage(0,\"\",!1)},b.prototype.parseMessage=function(W,de,ye){for(var He=[];!this.isEOF();){var rt=this.char();if(rt===123){var $e=this.parseArgument(W,ye);if($e.err)return $e;He.push($e.val)}else{if(rt===125&&W>0)break;if(rt===35&&(de===\"plural\"||de===\"selectordinal\")){var pt=this.clonePosition();this.bump(),He.push({type:r.pound,location:ge(pt,this.clonePosition())})}else if(rt===60&&!this.ignoreTag&&this.peek()===47){if(ye)break;return this.error(o.UNMATCHED_CLOSING_TAG,ge(this.clonePosition(),this.clonePosition()))}else if(rt===60&&!this.ignoreTag&&he(this.peek()||0)){var $e=this.parseTag(W,de);if($e.err)return $e;He.push($e.val)}else{var $e=this.parseLiteral(W,de);if($e.err)return $e;He.push($e.val)}}}return{val:He,err:null}},b.prototype.parseTag=function(W,de){var ye=this.clonePosition();this.bump();var He=this.parseTagName();if(this.bumpSpace(),this.bumpIf(\"/>\"))return{val:{type:r.literal,value:\"<\".concat(He,\"/>\"),location:ge(ye,this.clonePosition())},err:null};if(this.bumpIf(\">\")){var rt=this.parseMessage(W+1,de,!0);if(rt.err)return rt;var $e=rt.val,pt=this.clonePosition();if(this.bumpIf(\"</\")){if(this.isEOF()||!he(this.char()))return this.error(o.INVALID_TAG,ge(pt,this.clonePosition()));var Ot=this.clonePosition(),at=this.parseTagName();return He!==at?this.error(o.UNMATCHED_CLOSING_TAG,ge(Ot,this.clonePosition())):(this.bumpSpace(),this.bumpIf(\">\")?{val:{type:r.tag,value:He,children:$e,location:ge(ye,this.clonePosition())},err:null}:this.error(o.INVALID_TAG,ge(pt,this.clonePosition())))}else return this.error(o.UNCLOSED_TAG,ge(ye,this.clonePosition()))}else return this.error(o.INVALID_TAG,ge(ye,this.clonePosition()))},b.prototype.parseTagName=function(){var W=this.offset();for(this.bump();!this.isEOF()&&Oe(this.char());)this.bump();return this.message.slice(W,this.offset())},b.prototype.parseLiteral=function(W,de){for(var ye=this.clonePosition(),He=\"\";;){var rt=this.tryParseQuote(de);if(rt){He+=rt;continue}var $e=this.tryParseUnquoted(W,de);if($e){He+=$e;continue}var pt=this.tryParseLeftAngleBracket();if(pt){He+=pt;continue}break}var Ot=ge(ye,this.clonePosition());return{val:{type:r.literal,value:He,location:Ot},err:null}},b.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!me(this.peek()||0))?(this.bump(),\"<\"):null},b.prototype.tryParseQuote=function(W){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),\"'\";case 123:case 60:case 62:case 125:break;case 35:if(W===\"plural\"||W===\"selectordinal\")break;return null;default:return null}this.bump();var de=[this.char()];for(this.bump();!this.isEOF();){var ye=this.char();if(ye===39)if(this.peek()===39)de.push(39),this.bump();else{this.bump();break}else de.push(ye);this.bump()}return te.apply(void 0,de)},b.prototype.tryParseUnquoted=function(W,de){if(this.isEOF())return null;var ye=this.char();return ye===60||ye===123||ye===35&&(de===\"plural\"||de===\"selectordinal\")||ye===125&&W>0?null:(this.bump(),te(ye))},b.prototype.parseArgument=function(W,de){var ye=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,ge(ye,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(o.EMPTY_ARGUMENT,ge(ye,this.clonePosition()));var He=this.parseIdentifierIfPossible().value;if(!He)return this.error(o.MALFORMED_ARGUMENT,ge(ye,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,ge(ye,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:r.argument,value:He,location:ge(ye,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,ge(ye,this.clonePosition())):this.parseArgumentOptions(W,de,He,ye);default:return this.error(o.MALFORMED_ARGUMENT,ge(ye,this.clonePosition()))}},b.prototype.parseIdentifierIfPossible=function(){var W=this.clonePosition(),de=this.offset(),ye=Z(this.message,de),He=de+ye.length;this.bumpTo(He);var rt=this.clonePosition(),$e=ge(W,rt);return{value:ye,location:$e}},b.prototype.parseArgumentOptions=function(W,de,ye,He){var rt,$e=this.clonePosition(),pt=this.parseIdentifierIfPossible().value,Ot=this.clonePosition();switch(pt){case\"\":return this.error(o.EXPECT_ARGUMENT_TYPE,ge($e,Ot));case\"number\":case\"date\":case\"time\":{this.bumpSpace();var at=null;if(this.bumpIf(\",\")){this.bumpSpace();var wt=this.clonePosition(),vt=this.parseSimpleArgStyleIfPossible();if(vt.err)return vt;var jt=Se(vt.val);if(jt.length===0)return this.error(o.EXPECT_ARGUMENT_STYLE,ge(this.clonePosition(),this.clonePosition()));var At=ge(wt,this.clonePosition());at={style:jt,styleLocation:At}}var qt=this.tryParseArgumentClose(He);if(qt.err)return qt;var En=ge(He,this.clonePosition());if(at&&Ne(at==null?void 0:at.style,\"::\",0)){var Ft=ee(at.style.slice(2));if(pt===\"number\"){var vt=this.parseNumberSkeletonFromString(Ft,at.styleLocation);return vt.err?vt:{val:{type:r.number,value:ye,location:En,style:vt.val},err:null}}else{if(Ft.length===0)return this.error(o.EXPECT_DATE_TIME_SKELETON,En);var _n=Ft;this.locale&&(_n=j(Ft,this.locale));var jt={type:u.dateTime,pattern:_n,location:at.styleLocation,parsedOptions:this.shouldParseSkeletons?x(_n):{}},xn=pt===\"date\"?r.date:r.time;return{val:{type:xn,value:ye,location:En,style:jt},err:null}}}return{val:{type:pt===\"number\"?r.number:pt===\"date\"?r.date:r.time,value:ye,location:En,style:(rt=at==null?void 0:at.style)!==null&&rt!==void 0?rt:null},err:null}}case\"plural\":case\"selectordinal\":case\"select\":{var Zn=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(\",\"))return this.error(o.EXPECT_SELECT_ARGUMENT_OPTIONS,ge(Zn,(0,a.pi)({},Zn)));this.bumpSpace();var Wn=this.parseIdentifierIfPossible(),Jn=0;if(pt!==\"select\"&&Wn.value===\"offset\"){if(!this.bumpIf(\":\"))return this.error(o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ge(this.clonePosition(),this.clonePosition()));this.bumpSpace();var vt=this.tryParseDecimalInteger(o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,o.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(vt.err)return vt;this.bumpSpace(),Wn=this.parseIdentifierIfPossible(),Jn=vt.val}var Un=this.tryParsePluralOrSelectOptions(W,pt,de,Wn);if(Un.err)return Un;var qt=this.tryParseArgumentClose(He);if(qt.err)return qt;var qn=ge(He,this.clonePosition());return pt===\"select\"?{val:{type:r.select,value:ye,options:se(Un.val),location:qn},err:null}:{val:{type:r.plural,value:ye,options:se(Un.val),offset:Jn,pluralType:pt===\"plural\"?\"cardinal\":\"ordinal\",location:qn},err:null}}default:return this.error(o.INVALID_ARGUMENT_TYPE,ge($e,Ot))}},b.prototype.tryParseArgumentClose=function(W){return this.isEOF()||this.char()!==125?this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,ge(W,this.clonePosition())):(this.bump(),{val:!0,err:null})},b.prototype.parseSimpleArgStyleIfPossible=function(){for(var W=0,de=this.clonePosition();!this.isEOF();){var ye=this.char();switch(ye){case 39:{this.bump();var He=this.clonePosition();if(!this.bumpUntil(\"'\"))return this.error(o.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,ge(He,this.clonePosition()));this.bump();break}case 123:{W+=1,this.bump();break}case 125:{if(W>0)W-=1;else return{val:this.message.slice(de.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(de.offset,this.offset()),err:null}},b.prototype.parseNumberSkeletonFromString=function(W,de){var ye=[];try{ye=K(W)}catch(He){return this.error(o.INVALID_NUMBER_SKELETON,de)}return{val:{type:u.number,tokens:ye,location:de,parsedOptions:this.shouldParseSkeletons?T(ye):{}},err:null}},b.prototype.tryParsePluralOrSelectOptions=function(W,de,ye,He){for(var rt,$e=!1,pt=[],Ot=new Set,at=He.value,wt=He.location;;){if(at.length===0){var vt=this.clonePosition();if(de!==\"select\"&&this.bumpIf(\"=\")){var jt=this.tryParseDecimalInteger(o.EXPECT_PLURAL_ARGUMENT_SELECTOR,o.INVALID_PLURAL_ARGUMENT_SELECTOR);if(jt.err)return jt;wt=ge(vt,this.clonePosition()),at=this.message.slice(vt.offset,this.offset())}else break}if(Ot.has(at))return this.error(de===\"select\"?o.DUPLICATE_SELECT_ARGUMENT_SELECTOR:o.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,wt);at===\"other\"&&($e=!0),this.bumpSpace();var At=this.clonePosition();if(!this.bumpIf(\"{\"))return this.error(de===\"select\"?o.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:o.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,ge(this.clonePosition(),this.clonePosition()));var qt=this.parseMessage(W+1,de,ye);if(qt.err)return qt;var En=this.tryParseArgumentClose(At);if(En.err)return En;pt.push([at,{value:qt.val,location:ge(At,this.clonePosition())}]),Ot.add(at),this.bumpSpace(),rt=this.parseIdentifierIfPossible(),at=rt.value,wt=rt.location}return pt.length===0?this.error(de===\"select\"?o.EXPECT_SELECT_ARGUMENT_SELECTOR:o.EXPECT_PLURAL_ARGUMENT_SELECTOR,ge(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!$e?this.error(o.MISSING_OTHER_CLAUSE,ge(this.clonePosition(),this.clonePosition())):{val:pt,err:null}},b.prototype.tryParseDecimalInteger=function(W,de){var ye=1,He=this.clonePosition();this.bumpIf(\"+\")||this.bumpIf(\"-\")&&(ye=-1);for(var rt=!1,$e=0;!this.isEOF();){var pt=this.char();if(pt>=48&&pt<=57)rt=!0,$e=$e*10+(pt-48),this.bump();else break}var Ot=ge(He,this.clonePosition());return rt?($e*=ye,we($e)?{val:$e,err:null}:this.error(de,Ot)):this.error(W,Ot)},b.prototype.offset=function(){return this.position.offset},b.prototype.isEOF=function(){return this.offset()===this.message.length},b.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},b.prototype.char=function(){var W=this.position.offset;if(W>=this.message.length)throw Error(\"out of bound\");var de=pe(this.message,W);if(de===void 0)throw Error(\"Offset \".concat(W,\" is at invalid UTF-16 code unit boundary\"));return de},b.prototype.error=function(W,de){return{val:null,err:{kind:W,message:this.message,location:de}}},b.prototype.bump=function(){if(!this.isEOF()){var W=this.char();W===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=W<65536?1:2)}},b.prototype.bumpIf=function(W){if(Ne(this.message,W,this.offset())){for(var de=0;de<W.length;de++)this.bump();return!0}return!1},b.prototype.bumpUntil=function(W){var de=this.offset(),ye=this.message.indexOf(W,de);return ye>=0?(this.bumpTo(ye),!0):(this.bumpTo(this.message.length),!1)},b.prototype.bumpTo=function(W){if(this.offset()>W)throw Error(\"targetOffset \".concat(W,\" must be greater than or equal to the current offset \").concat(this.offset()));for(W=Math.min(W,this.message.length);;){var de=this.offset();if(de===W)break;if(de>W)throw Error(\"targetOffset \".concat(W,\" is at invalid UTF-16 code unit boundary\"));if(this.bump(),this.isEOF())break}},b.prototype.bumpSpace=function(){for(;!this.isEOF()&&We(this.char());)this.bump()},b.prototype.peek=function(){if(this.isEOF())return null;var W=this.char(),de=this.offset(),ye=this.message.charCodeAt(de+(W>=65536?2:1));return ye!=null?ye:null},b}();function he(b){return b>=97&&b<=122||b>=65&&b<=90}function me(b){return he(b)||b===47}function Oe(b){return b===45||b===46||b>=48&&b<=57||b===95||b>=97&&b<=122||b>=65&&b<=90||b==183||b>=192&&b<=214||b>=216&&b<=246||b>=248&&b<=893||b>=895&&b<=8191||b>=8204&&b<=8205||b>=8255&&b<=8256||b>=8304&&b<=8591||b>=11264&&b<=12271||b>=12289&&b<=55295||b>=63744&&b<=64975||b>=65008&&b<=65533||b>=65536&&b<=983039}function We(b){return b>=9&&b<=13||b===32||b===133||b>=8206&&b<=8207||b===8232||b===8233}function ke(b){return b>=33&&b<=35||b===36||b>=37&&b<=39||b===40||b===41||b===42||b===43||b===44||b===45||b>=46&&b<=47||b>=58&&b<=59||b>=60&&b<=62||b>=63&&b<=64||b===91||b===92||b===93||b===94||b===96||b===123||b===124||b===125||b===126||b===161||b>=162&&b<=165||b===166||b===167||b===169||b===171||b===172||b===174||b===176||b===177||b===182||b===187||b===191||b===215||b===247||b>=8208&&b<=8213||b>=8214&&b<=8215||b===8216||b===8217||b===8218||b>=8219&&b<=8220||b===8221||b===8222||b===8223||b>=8224&&b<=8231||b>=8240&&b<=8248||b===8249||b===8250||b>=8251&&b<=8254||b>=8257&&b<=8259||b===8260||b===8261||b===8262||b>=8263&&b<=8273||b===8274||b===8275||b>=8277&&b<=8286||b>=8592&&b<=8596||b>=8597&&b<=8601||b>=8602&&b<=8603||b>=8604&&b<=8607||b===8608||b>=8609&&b<=8610||b===8611||b>=8612&&b<=8613||b===8614||b>=8615&&b<=8621||b===8622||b>=8623&&b<=8653||b>=8654&&b<=8655||b>=8656&&b<=8657||b===8658||b===8659||b===8660||b>=8661&&b<=8691||b>=8692&&b<=8959||b>=8960&&b<=8967||b===8968||b===8969||b===8970||b===8971||b>=8972&&b<=8991||b>=8992&&b<=8993||b>=8994&&b<=9e3||b===9001||b===9002||b>=9003&&b<=9083||b===9084||b>=9085&&b<=9114||b>=9115&&b<=9139||b>=9140&&b<=9179||b>=9180&&b<=9185||b>=9186&&b<=9254||b>=9255&&b<=9279||b>=9280&&b<=9290||b>=9291&&b<=9311||b>=9472&&b<=9654||b===9655||b>=9656&&b<=9664||b===9665||b>=9666&&b<=9719||b>=9720&&b<=9727||b>=9728&&b<=9838||b===9839||b>=9840&&b<=10087||b===10088||b===10089||b===10090||b===10091||b===10092||b===10093||b===10094||b===10095||b===10096||b===10097||b===10098||b===10099||b===10100||b===10101||b>=10132&&b<=10175||b>=10176&&b<=10180||b===10181||b===10182||b>=10183&&b<=10213||b===10214||b===10215||b===10216||b===10217||b===10218||b===10219||b===10220||b===10221||b===10222||b===10223||b>=10224&&b<=10239||b>=10240&&b<=10495||b>=10496&&b<=10626||b===10627||b===10628||b===10629||b===10630||b===10631||b===10632||b===10633||b===10634||b===10635||b===10636||b===10637||b===10638||b===10639||b===10640||b===10641||b===10642||b===10643||b===10644||b===10645||b===10646||b===10647||b===10648||b>=10649&&b<=10711||b===10712||b===10713||b===10714||b===10715||b>=10716&&b<=10747||b===10748||b===10749||b>=10750&&b<=11007||b>=11008&&b<=11055||b>=11056&&b<=11076||b>=11077&&b<=11078||b>=11079&&b<=11084||b>=11085&&b<=11123||b>=11124&&b<=11125||b>=11126&&b<=11157||b===11158||b>=11159&&b<=11263||b>=11776&&b<=11777||b===11778||b===11779||b===11780||b===11781||b>=11782&&b<=11784||b===11785||b===11786||b===11787||b===11788||b===11789||b>=11790&&b<=11798||b===11799||b>=11800&&b<=11801||b===11802||b===11803||b===11804||b===11805||b>=11806&&b<=11807||b===11808||b===11809||b===11810||b===11811||b===11812||b===11813||b===11814||b===11815||b===11816||b===11817||b>=11818&&b<=11822||b===11823||b>=11824&&b<=11833||b>=11834&&b<=11835||b>=11836&&b<=11839||b===11840||b===11841||b===11842||b>=11843&&b<=11855||b>=11856&&b<=11857||b===11858||b>=11859&&b<=11903||b>=12289&&b<=12291||b===12296||b===12297||b===12298||b===12299||b===12300||b===12301||b===12302||b===12303||b===12304||b===12305||b>=12306&&b<=12307||b===12308||b===12309||b===12310||b===12311||b===12312||b===12313||b===12314||b===12315||b===12316||b===12317||b>=12318&&b<=12319||b===12320||b===12336||b===64830||b===64831||b>=65093&&b<=65094}function It(b){b.forEach(function(W){if(delete W.location,h(W)||g(W))for(var de in W.options)delete W.options[de].location,It(W.options[de].value);else f(W)&&I(W.style)||(v(W)||p(W))&&N(W.style)?delete W.style.location:S(W)&&It(W.children)})}function ft(b,W){W===void 0&&(W={}),W=(0,a.pi)({shouldParseSkeletons:!0,requiresOtherClause:!0},W);var de=new ue(b,W).parse();if(de.err){var ye=SyntaxError(o[de.err.kind]);throw ye.location=de.err.location,ye.originalMessage=de.err.message,ye}return W!=null&&W.captureLocation||It(de.val),de.val}var nn=null},25068:function(c,m,e){\"use strict\";e.d(m,{$6:function(){return p},OV:function(){return l},Qe:function(){return f},Rw:function(){return r},X9:function(){return v},bc:function(){return o},gb:function(){return d},wI:function(){return u}});var a=e(96583),o;(function(h){h.FORMAT_ERROR=\"FORMAT_ERROR\",h.UNSUPPORTED_FORMATTER=\"UNSUPPORTED_FORMATTER\",h.INVALID_CONFIG=\"INVALID_CONFIG\",h.MISSING_DATA=\"MISSING_DATA\",h.MISSING_TRANSLATION=\"MISSING_TRANSLATION\"})(o||(o={}));var r=function(h){(0,a.ZT)(g,h);function g(y,S,I){var N=this,_=I?I instanceof Error?I:new Error(String(I)):void 0;return N=h.call(this,\"[@formatjs/intl Error \".concat(y,\"] \").concat(S,`\n`).concat(_?`\n`.concat(_.message,`\n`).concat(_.stack):\"\"))||this,N.code=y,typeof Error.captureStackTrace==\"function\"&&Error.captureStackTrace(N,g),N}return g}(Error),u=function(h){(0,a.ZT)(g,h);function g(y,S){return h.call(this,o.UNSUPPORTED_FORMATTER,y,S)||this}return g}(r),l=function(h){(0,a.ZT)(g,h);function g(y,S){return h.call(this,o.INVALID_CONFIG,y,S)||this}return g}(r),d=function(h){(0,a.ZT)(g,h);function g(y,S){return h.call(this,o.MISSING_DATA,y,S)||this}return g}(r),f=function(h){(0,a.ZT)(g,h);function g(y,S,I){return h.call(this,o.FORMAT_ERROR,\"\".concat(y,`\nLocale: `).concat(S,`\n`),I)||this}return g}(r),v=function(h){(0,a.ZT)(g,h);function g(y,S,I,N){var _=h.call(this,\"\".concat(y,`\nMessageID: `).concat(I==null?void 0:I.id,`\nDefault Message: `).concat(I==null?void 0:I.defaultMessage,`\nDescription: `).concat(I==null?void 0:I.description,`\n`),S,N)||this;return _.descriptor=I,_}return g}(f),p=function(h){(0,a.ZT)(g,h);function g(y,S){var I=h.call(this,o.MISSING_TRANSLATION,'Missing message: \"'.concat(y.id,'\" for locale \"').concat(S,'\", using ').concat(y.defaultMessage?\"default message (\".concat(typeof y.defaultMessage==\"string\"?y.defaultMessage:y.defaultMessage.map(function(N){var _;return(_=N.value)!==null&&_!==void 0?_:JSON.stringify(N)}).join(),\")\"):\"id\",\" as fallback.\"))||this;return I.descriptor=y,I}return g}(r)},12216:function(c,m,e){\"use strict\";e.d(m,{L6:function(){return l},Sn:function(){return p},TB:function(){return y},Z0:function(){return v},ax:function(){return g}});var a=e(96583),o=e(75983),r=e(61829),u=e(25068);function l(S,I,N){return N===void 0&&(N={}),I.reduce(function(_,M){return M in S?_[M]=S[M]:M in N&&(_[M]=N[M]),_},{})}var d=function(S){},f=function(S){},v={formats:{},messages:{},timeZone:void 0,defaultLocale:\"en\",defaultFormats:{},fallbackOnEmptyString:!0,onError:d,onWarn:f};function p(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function h(S){return{create:function(){return{get:function(I){return S[I]},set:function(I,N){S[I]=N}}}}}function g(S){S===void 0&&(S=p());var I=Intl.RelativeTimeFormat,N=Intl.ListFormat,_=Intl.DisplayNames,M=(0,r.H)(function(){for(var U,x=[],F=0;F<arguments.length;F++)x[F]=arguments[F];return new((U=Intl.DateTimeFormat).bind.apply(U,(0,a.ev)([void 0],x,!1)))},{cache:h(S.dateTime),strategy:r.A.variadic}),L=(0,r.H)(function(){for(var U,x=[],F=0;F<arguments.length;F++)x[F]=arguments[F];return new((U=Intl.NumberFormat).bind.apply(U,(0,a.ev)([void 0],x,!1)))},{cache:h(S.number),strategy:r.A.variadic}),k=(0,r.H)(function(){for(var U,x=[],F=0;F<arguments.length;F++)x[F]=arguments[F];return new((U=Intl.PluralRules).bind.apply(U,(0,a.ev)([void 0],x,!1)))},{cache:h(S.pluralRules),strategy:r.A.variadic});return{getDateTimeFormat:M,getNumberFormat:L,getMessageFormat:(0,r.H)(function(U,x,F,K){return new o.C(U,x,F,(0,a.pi)({formatters:{getNumberFormat:L,getDateTimeFormat:M,getPluralRules:k}},K||{}))},{cache:h(S.message),strategy:r.A.variadic}),getRelativeTimeFormat:(0,r.H)(function(){for(var U=[],x=0;x<arguments.length;x++)U[x]=arguments[x];return new(I.bind.apply(I,(0,a.ev)([void 0],U,!1)))},{cache:h(S.relativeTime),strategy:r.A.variadic}),getPluralRules:k,getListFormat:(0,r.H)(function(){for(var U=[],x=0;x<arguments.length;x++)U[x]=arguments[x];return new(N.bind.apply(N,(0,a.ev)([void 0],U,!1)))},{cache:h(S.list),strategy:r.A.variadic}),getDisplayNames:(0,r.H)(function(){for(var U=[],x=0;x<arguments.length;x++)U[x]=arguments[x];return new(_.bind.apply(_,(0,a.ev)([void 0],U,!1)))},{cache:h(S.displayNames),strategy:r.A.variadic})}}function y(S,I,N,_){var M=S&&S[I],L;if(M&&(L=M[N]),L)return L;_(new u.wI(\"No \".concat(I,\" format named: \").concat(N)))}},40966:function(c,m,e){\"use strict\";e.d(m,{f:function(){return v},m:function(){return d}});var a=e(37635),o=e.n(a),r=e(57213),u=e.n(r),l=e(18280),d,f=\"/\";function v(g){var y;return g.type===\"hash\"?y=(0,l.q_)():g.type===\"memory\"?y=(0,l.PP)(g):y=(0,l.lX)(),g.basename&&(f=g.basename),d=u()(u()({},y),{},{push:function(I,N){y.push(p(I,y),N)},replace:function(I,N){y.replace(p(I,y),N)},get location(){return y.location},get action(){return y.action}}),y}function p(g,y){if(typeof g==\"string\")return\"\".concat(h(f)).concat(g);if(o()(g)===\"object\"){var S=y.location.pathname;return u()(u()({},g),{},{pathname:g.pathname?\"\".concat(h(f)).concat(g.pathname):S})}else throw new Error(\"Unexpected to: \".concat(g))}function h(g){return g.slice(-1)===\"/\"?g.slice(0,-1):g}},81229:function(c,m,e){\"use strict\";e.d(m,{Dl:function(){return L},dY:function(){return De},_H:function(){return p},ql:function(){return a.ql},rU:function(){return a.rU},OL:function(){return a.OL},m8:function(){return a.m8},fp:function(){return a.fp},il:function(){return ee},Sc:function(){return En},Ov:function(){return a.Ov},yh:function(){return Zt},YB:function(){return u.Z},bU:function(){return _n.b},TH:function(){return a.TH},OK:function(){return br},pC:function(){return a.pC},UO:function(){return a.UO},OI:function(){return ln},Qt:function(){return a.Qt},eL:function(){return lt},lr:function(){return a.lr},tx:function(){return sn},WF:function(){return g.W},OO:function(){return J},zh:function(){return B}});var a=e(55187),o=e(96583),r=e(50959),u=e(9e3),l=e(55267);function d(w,P){var D=w.values,ne=(0,o._T)(w,[\"values\"]),be=P.values,Le=(0,o._T)(P,[\"values\"]);return(0,l.wU)(be,D)&&(0,l.wU)(ne,Le)}function f(w){var P=(0,u.Z)(),D=P.formatMessage,ne=P.textComponent,be=ne===void 0?r.Fragment:ne,Le=w.id,je=w.description,ze=w.defaultMessage,ut=w.values,dt=w.children,Ct=w.tagName,Rt=Ct===void 0?be:Ct,kt=w.ignoreTag,Ut={id:Le,description:je,defaultMessage:ze},Qt=D(Ut,ut,{ignoreTag:kt});return typeof dt==\"function\"?dt(Array.isArray(Qt)?Qt:[Qt]):Rt?r.createElement(Rt,null,r.Children.toArray(Qt)):r.createElement(r.Fragment,null,Qt)}f.displayName=\"FormattedMessage\";var v=r.memo(f,d);v.displayName=\"MemoizedFormattedMessage\";var p=v,h=e(88781),g=e(41110),y=e(59851),S=e(39761),I=e(21646),N=e(60481);function _(){return _=Object.assign?Object.assign.bind():function(w){for(var P=1;P<arguments.length;P++){var D=arguments[P];for(var ne in D)Object.prototype.hasOwnProperty.call(D,ne)&&(w[ne]=D[ne])}return w},_.apply(this,arguments)}var M=function(P){return r.createElement(N.ErrorBoundary,{fallbackRender:function(ne){var be=ne.error;return r.createElement(S.Z,{type:\"error\"},r.createElement(\"p\",null,r.createElement(\"strong\",null,be.message||\"This demo has been crashed.\")),be.stack&&r.createElement(\"p\",null,r.createElement(\"details\",{open:!0},r.createElement(\"summary\",null,\"Error stack\"),r.createElement(\"pre\",null,be.stack))))}},P.children)},L=function(P){var D=(0,g.W)(),ne=D.demos,be=(0,a.Ov)(),Le=be.basename,je=ne[P.demo.id],ze=je.component,ut=je.asset;return P.previewerProps.debug?null:P.demo.inline?r.createElement(M,null,(0,r.createElement)(ze)):r.createElement(I.Z,_({asset:ut,demoUrl:P.previewerProps.demoUrl||\"\".concat(Le).concat(y.SP_ROUTE_PREFIX,\"demos/\").concat(P.demo.id)},P.previewerProps),P.previewerProps.iframe?null:r.createElement(M,null,(0,r.createElement)(ze)))};function k(){return k=Object.assign?Object.assign.bind():function(w){for(var P=1;P<arguments.length;P++){var D=arguments[P];for(var ne in D)Object.prototype.hasOwnProperty.call(D,ne)&&(w[ne]=D[ne])}return w},k.apply(this,arguments)}function U(w,P){return q(w)||G(w,P)||F(w,P)||x()}function x(){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 F(w,P){if(w){if(typeof w==\"string\")return K(w,P);var D=Object.prototype.toString.call(w).slice(8,-1);if(D===\"Object\"&&w.constructor&&(D=w.constructor.name),D===\"Map\"||D===\"Set\")return Array.from(w);if(D===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return K(w,P)}}function K(w,P){(P==null||P>w.length)&&(P=w.length);for(var D=0,ne=new Array(P);D<P;D++)ne[D]=w[D];return ne}function G(w,P){var D=w==null?null:typeof Symbol!=\"undefined\"&&w[Symbol.iterator]||w[\"@@iterator\"];if(D!=null){var ne=[],be=!0,Le=!1,je,ze;try{for(D=D.call(w);!(be=(je=D.next()).done)&&(ne.push(je.value),!(P&&ne.length===P));be=!0);}catch(ut){Le=!0,ze=ut}finally{try{!be&&D.return!=null&&D.return()}finally{if(Le)throw ze}}return ne}}function q(w){if(Array.isArray(w))return w}var X=function(P){var D=useRouteMeta(),ne=D.frontmatter,be=useCallback(function(dt,Ct){var Rt,kt=[],Ut=Ct.filter(function(cn){return!cn.previewerProps.debug});if((Rt=dt.demo)!==null&&Rt!==void 0&&Rt.cols&&dt.demo.cols>1&&(typeof window==\"undefined\"||window.innerWidth>1024)){for(var Qt=0;Qt<Ut.length;Qt+=dt.demo.cols)Ut.slice(Qt,Qt+dt.demo.cols).forEach(function(cn,wn){var gn;(gn=kt[wn])!==null&&gn!==void 0||(kt[wn]=[]),kt[wn].push(cn)});return kt}else kt.push(Ut);return kt},[]),Le=useState(function(){return be(ne,P.items)}),je=U(Le,2),ze=je[0],ut=je[1];return useEffect(function(){var dt=function(){return ut(be(ne,P.items))};return window.addEventListener(\"resize\",dt),function(){return window.removeEventListener(\"resize\",dt)}},[]),React.createElement(\"div\",{style:{display:\"flex\",margin:-8},\"data-dumi-demo-grid\":!0},ze.map(function(dt,Ct){return React.createElement(\"section\",{style:{flex:1,padding:8,width:0},key:String(Ct)},dt.map(function(Rt){return React.createElement(DumiDemo,k({key:Rt.demo.id},Rt))}))}))},oe=function(P){var D=P.tabs,ne=P.tabKey,be=P.onChange,Le=(0,u.Z)();return Boolean(D==null?void 0:D.length)?r.createElement(\"ul\",{className:\"dumi-default-content-tabs\"},r.createElement(\"li\",{onClick:function(){return be()},\"data-active\":!ne||void 0},r.createElement(\"button\",{type:\"button\"},Le.formatMessage({id:\"content.tabs.default\"}))),D.map(function(je){return r.createElement(\"li\",{key:je.key,onClick:function(){return be(je)},\"data-active\":ne===je.key||void 0},r.createElement(\"button\",{type:\"button\"},je.titleIntlId?Le.formatMessage({id:je.titleIntlId}):je.meta.frontmatter.title))})):null},Ee=oe;function Te(w,P){return R(w)||T(w,P)||z(w,P)||ae()}function ae(){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 z(w,P){if(w){if(typeof w==\"string\")return A(w,P);var D=Object.prototype.toString.call(w).slice(8,-1);if(D===\"Object\"&&w.constructor&&(D=w.constructor.name),D===\"Map\"||D===\"Set\")return Array.from(w);if(D===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return A(w,P)}}function A(w,P){(P==null||P>w.length)&&(P=w.length);for(var D=0,ne=new Array(P);D<P;D++)ne[D]=w[D];return ne}function T(w,P){var D=w==null?null:typeof Symbol!=\"undefined\"&&w[Symbol.iterator]||w[\"@@iterator\"];if(D!=null){var ne=[],be=!0,Le=!1,je,ze;try{for(D=D.call(w);!(be=(je=D.next()).done)&&(ne.push(je.value),!(P&&ne.length===P));be=!0);}catch(ut){Le=!0,ze=ut}finally{try{!be&&D.return!=null&&D.return()}finally{if(Le)throw ze}}return ne}}function R(w){if(Array.isArray(w))return w}var j=\"tab\",C=function(){var P=(0,a.TH)(),D=P.pathname,ne=(0,a.lr)(),be=Te(ne,1),Le=be[0],je=(0,r.useCallback)(function(ze){ze?Le.set(j,ze):Le.delete(j),a.m8.push({pathname:D,search:Le.toString()})},[Le]);return[Le.get(j),je]},B=function(){var P,D=lt(),ne=D.tabs,be=C(),Le=Te(be,1),je=Le[0];return ne==null||(P=ne.find(function(ze){var ut=ze.key;return je===ut}))===null||P===void 0?void 0:P.meta};function fe(w,P){return _e(w)||Me(w,P)||ge(w,P)||Ae()}function Ae(){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 ge(w,P){if(w){if(typeof w==\"string\")return ce(w,P);var D=Object.prototype.toString.call(w).slice(8,-1);if(D===\"Object\"&&w.constructor&&(D=w.constructor.name),D===\"Map\"||D===\"Set\")return Array.from(w);if(D===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return ce(w,P)}}function ce(w,P){(P==null||P>w.length)&&(P=w.length);for(var D=0,ne=new Array(P);D<P;D++)ne[D]=w[D];return ne}function Me(w,P){var D=w==null?null:typeof Symbol!=\"undefined\"&&w[Symbol.iterator]||w[\"@@iterator\"];if(D!=null){var ne=[],be=!0,Le=!1,je,ze;try{for(D=D.call(w);!(be=(je=D.next()).done)&&(ne.push(je.value),!(P&&ne.length===P));be=!0);}catch(ut){Le=!0,ze=ut}finally{try{!be&&D.return!=null&&D.return()}finally{if(Le)throw ze}}return ne}}function _e(w){if(Array.isArray(w))return w}var De=function(P){var D=lt(),ne=D.tabs,be=C(),Le=fe(be,2),je=Le[0],ze=Le[1],ut=(0,r.useState)(function(){return ne==null?void 0:ne.find(function(Qt){var cn=Qt.key;return cn===je})}),dt=fe(ut,2),Ct=dt[0],Rt=dt[1],kt=(0,g.W)(),Ut=kt.setLoading;return(0,r.useEffect)(function(){Ut(!1)},[]),r.createElement(r.Fragment,null,r.createElement(Ee,{tabs:ne,tabKey:je,onChange:function(cn){Rt(cn),ze(cn==null?void 0:cn.key)}}),Ct?r.createElement(Ct.components.default):P.children)},Ce=e(71401),it=e(75586);function V(w,P){return te(w)||Ne(w,P)||Ie(w,P)||we()}function we(){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 Ie(w,P){if(w){if(typeof w==\"string\")return le(w,P);var D=Object.prototype.toString.call(w).slice(8,-1);if(D===\"Object\"&&w.constructor&&(D=w.constructor.name),D===\"Map\"||D===\"Set\")return Array.from(w);if(D===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return le(w,P)}}function le(w,P){(P==null||P>w.length)&&(P=w.length);for(var D=0,ne=new Array(P);D<P;D++)ne[D]=w[D];return ne}function Ne(w,P){var D=w==null?null:typeof Symbol!=\"undefined\"&&w[Symbol.iterator]||w[\"@@iterator\"];if(D!=null){var ne=[],be=!0,Le=!1,je,ze;try{for(D=D.call(w);!(be=(je=D.next()).done)&&(ne.push(je.value),!(P&&ne.length===P));be=!0);}catch(ut){Le=!0,ze=ut}finally{try{!be&&D.return!=null&&D.return()}finally{if(Le)throw ze}}return ne}}function te(w){if(Array.isArray(w))return w}var se=\"https://codesandbox.io/api/v1/sandboxes/define\";function pe(w){var P,D,ne,be,Le,je=Boolean((P=w.asset.dependencies)===null||P===void 0?void 0:P[\"index.tsx\"]),ze=je?\".tsx\":\".jsx\",ut={},dt={},Ct=\"index\".concat(ze);return Object.entries(w.asset.dependencies).forEach(function(Rt){var kt=V(Rt,2),Ut=kt[0],Qt=kt[1],cn=Qt.type,wn=Qt.value;cn===\"NPM\"?dt[Ut]=wn:ut[Ut===Ct?\"App\".concat(ze):Ut]={content:wn,isBinary:!1}}),(ne=dt[D=\"react\"])!==null&&ne!==void 0||(dt[D]=\"latest\"),(Le=dt[be=\"react-dom\"])!==null&&Le!==void 0||(dt[be]=dt.react),ut[\"sandbox.config.json\"]={content:JSON.stringify({template:\"create-react-app\"},null,2),isBinary:!1},ut[\"package.json\"]={content:JSON.stringify({name:w.title,description:w.description||\"An auto-generated demo by dumi\",main:Ct,dependencies:dt,devDependencies:je?{typescript:\"^4\"}:{}},null,2),isBinary:!1},ut[\"index.html\"]={content:'<div style=\"margin: 16px;\" id=\"root\"></div>',isBinary:!1},ut[Ct]={content:(0,it.AM)(dt.react),isBinary:!1},(0,Ce.Z)({files:ut})}var ee=function(P,D){var ne,be=document.createElement(\"form\"),Le=document.createElement(\"input\"),je=pe(P);be.method=\"POST\",be.target=\"_blank\",be.style.display=\"none\",be.action=(D==null?void 0:D.api)||se,be.appendChild(Le),be.setAttribute(\"data-demo\",((ne=P.assets)===null||ne===void 0?void 0:ne.id)||\"\"),Le.name=\"parameters\",Le.value=je,document.body.appendChild(be),be.submit(),be.remove()},Se=[\"angular-cli\",\"create-react-app\",\"html\",\"javascript\",\"node\",\"polymer\",\"typescript\",\"vue\"],Q={clickToLoad:function(w){return Y(\"ctl\",w)},devToolsHeight:function(w){return ue(\"devtoolsheight\",w)},forceEmbedLayout:function(w){return Y(\"embed\",w)},hideDevTools:function(w){return Y(\"hidedevtools\",w)},hideExplorer:function(w){return Y(\"hideExplorer\",w)},hideNavigation:function(w){return Y(\"hideNavigation\",w)},showSidebar:function(w){return function(P,D){return typeof D==\"boolean\"?\"showSidebar=\"+(D?\"1\":\"0\"):\"\"}(0,w)},openFile:function(w){return function(P,D){return(Array.isArray(D)?D:[D]).filter(function(ne){return typeof ne==\"string\"&&ne.trim()!==\"\"}).map(function(ne){return\"file=\"+encodeURIComponent(ne.trim())})}(0,w).join(\"&\")},terminalHeight:function(w){return ue(\"terminalHeight\",w)},theme:function(w){return he(\"theme\",[\"light\",\"dark\"],w)},view:function(w){return he(\"view\",[\"preview\",\"editor\"],w)}};function Z(w){w===void 0&&(w={});var P=Object.entries(w).map(function(D){var ne=D[0],be=D[1];return be!=null&&Q.hasOwnProperty(ne)?Q[ne](be):\"\"}).filter(Boolean);return P.length?\"?\"+P.join(\"&\"):\"\"}function Y(w,P){return P===!0?w+\"=1\":\"\"}function ue(w,P){return typeof P==\"number\"&&P>=0&&P<=100?w+\"=\"+Math.round(P):\"\"}function he(w,P,D){return typeof D==\"string\"&&P.includes(D)?w+\"=\"+D:\"\"}function me(){return Math.random().toString(36).slice(2,6)+Math.random().toString(36).slice(2,6)}function Oe(w,P){return\"\"+ke(P)+w+Z(P)}function We(w,P){var D={forceEmbedLayout:!0};return P&&typeof P==\"object\"&&Object.assign(D,P),\"\"+ke(D)+w+Z(D)}function ke(w){return w===void 0&&(w={}),typeof w.origin==\"string\"?w.origin:\"https://stackblitz.com\"}function It(w,P,D){if(!P||!w||!w.parentNode)throw new Error(\"Invalid Element\");w.id&&(P.id=w.id),w.className&&(P.className=w.className),function(ne,be){be&&typeof be==\"object\"&&(Object.hasOwnProperty.call(be,\"height\")&&(ne.height=\"\"+be.height),Object.hasOwnProperty.call(be,\"width\")&&(ne.width=\"\"+be.width)),ne.height||(ne.height=\"300\"),ne.width||ne.setAttribute(\"style\",\"width:100%;\")}(P,D),w.parentNode.replaceChild(P,w)}function ft(w){if(typeof w==\"string\"){var P=document.getElementById(w);if(!P)throw new Error(\"Could not find element with id '\"+w+\"'\");return P}if(w instanceof HTMLElement)return w;throw new Error(\"Invalid element: \"+w)}function nn(w){return w&&w.newWindow===!1?\"_self\":\"_blank\"}function b(){return b=Object.assign||function(w){for(var P=1;P<arguments.length;P++){var D=arguments[P];for(var ne in D)Object.prototype.hasOwnProperty.call(D,ne)&&(w[ne]=D[ne])}return w},b.apply(this,arguments)}var W=function(){function w(D){this.port=void 0,this.pending={},this.port=D,this.port.onmessage=this.messageListener.bind(this)}var P=w.prototype;return P.request=function(D){var ne=this,be=D.type,Le=D.payload,je=me();return new Promise(function(ze,ut){ne.pending[je]={resolve:ze,reject:ut},ne.port.postMessage({type:be,payload:b({},Le,{__reqid:je})})})},P.messageListener=function(D){var ne;if(typeof((ne=D.data.payload)==null?void 0:ne.__reqid)==\"string\"){var be=D.data,Le=be.type,je=be.payload,ze=je.__reqid,ut=je.__error;this.pending[ze]&&(je.__success?this.pending[ze].resolve(function(dt){var Ct=b({},dt);return delete Ct.__reqid,delete Ct.__success,delete Ct.__error,Object.keys(Ct).length?Ct:null}(je)):this.pending[ze].reject(ut?Le+\": \"+ut:Le),delete this.pending[ze])}},w}(),de=function(){function w(D,ne){var be=this;this._rdc=void 0,this.editor={openFile:function(Le){return be._rdc.request({type:\"SDK_OPEN_FILE\",payload:{path:Le}})},setCurrentFile:function(Le){return be._rdc.request({type:\"SDK_SET_CURRENT_FILE\",payload:{path:Le}})},setTheme:function(Le){return be._rdc.request({type:\"SDK_SET_UI_THEME\",payload:{theme:Le}})},setView:function(Le){return be._rdc.request({type:\"SDK_SET_UI_VIEW\",payload:{view:Le}})},showSidebar:function(Le){return Le===void 0&&(Le=!0),be._rdc.request({type:\"SDK_TOGGLE_SIDEBAR\",payload:{visible:Le}})}},this.preview={origin:\"\",getUrl:function(){return be._rdc.request({type:\"SDK_GET_PREVIEW_URL\",payload:{}}).then(function(Le){var je;return(je=Le==null?void 0:Le.url)!=null?je:null})},setUrl:function(Le){if(Le===void 0&&(Le=\"/\"),typeof Le!=\"string\"||!Le.startsWith(\"/\"))throw new Error(\"Invalid argument: expected a path starting with '/', got '\"+Le+\"'\");return be._rdc.request({type:\"SDK_SET_PREVIEW_URL\",payload:{path:Le}})}},this._rdc=new W(D),Object.defineProperty(this.preview,\"origin\",{value:typeof ne.previewOrigin==\"string\"?ne.previewOrigin:null,writable:!1})}var P=w.prototype;return P.applyFsDiff=function(D){var ne=function(be){return be!==null&&typeof be==\"object\"};if(!ne(D)||!ne(D.create))throw new Error(\"Invalid diff object: expected diff.create to be an object.\");if(!Array.isArray(D.destroy))throw new Error(\"Invalid diff object: expected diff.create to be an array.\");return this._rdc.request({type:\"SDK_APPLY_FS_DIFF\",payload:D})},P.getDependencies=function(){return this._rdc.request({type:\"SDK_GET_DEPS_SNAPSHOT\",payload:{}})},P.getFsSnapshot=function(){return this._rdc.request({type:\"SDK_GET_FS_SNAPSHOT\",payload:{}})},w}(),ye=[],He=function(w){var P=this;this.element=void 0,this.id=void 0,this.pending=void 0,this.vm=void 0,this.id=me(),this.element=w,this.pending=new Promise(function(D,ne){var be=function(dt){var Ct=dt.data;(Ct==null?void 0:Ct.action)===\"SDK_INIT_SUCCESS\"&&Ct.id===P.id&&(P.vm=new de(dt.ports[0],Ct.payload),D(P.vm),je())},Le=function(){var dt;(dt=P.element.contentWindow)==null||dt.postMessage({action:\"SDK_INIT\",id:P.id},\"*\")};function je(){window.clearInterval(ut),window.removeEventListener(\"message\",be)}window.addEventListener(\"message\",be),Le();var ze=0,ut=window.setInterval(function(){if(P.vm)je();else{if(ze>=20)return je(),ne(\"Timeout: Unable to establish a connection with the StackBlitz VM\"),void ye.forEach(function(dt,Ct){dt.id===P.id&&ye.splice(Ct,1)});ze++,Le()}},500)}),ye.push(this)};function rt(w,P){var D=document.createElement(\"input\");return D.type=\"hidden\",D.name=w,D.value=P,D}function $e(w){if(!Se.includes(w.template)){var P=Se.map(function(be){return\"'\"+be+\"'\"}).join(\", \");console.warn(\"Unsupported project.template: must be one of \"+P)}var D=w.template===\"node\",ne=document.createElement(\"form\");return ne.method=\"POST\",ne.setAttribute(\"style\",\"display:none!important;\"),ne.appendChild(rt(\"project[title]\",w.title)),ne.appendChild(rt(\"project[description]\",w.description)),ne.appendChild(rt(\"project[template]\",w.template)),w.dependencies&&(D?console.warn(\"Invalid project.dependencies: dependencies must be provided as a 'package.json' file when using the 'node' template.\"):ne.appendChild(rt(\"project[dependencies]\",JSON.stringify(w.dependencies)))),w.settings&&ne.appendChild(rt(\"project[settings]\",JSON.stringify(w.settings))),Object.keys(w.files).forEach(function(be){var Le=\"project[files]\"+function(ze){return\"[\"+ze.replace(/\\[/g,\"%5B\").replace(/\\]/g,\"%5D\")+\"]\"}(be),je=w.files[be];typeof je==\"string\"&&ne.appendChild(rt(Le,je))}),ne}function pt(w){var P,D,ne,be;return w!=null&&w.contentWindow?(be=(D=w)instanceof Element?\"element\":\"id\",(P=(ne=ye.find(function(Le){return Le[be]===D}))!=null?ne:null)!=null?P:new He(w)).pending:Promise.reject(\"Provided element is not an iframe.\")}var Ot={connect:pt,embedGithubProject:function(w,P,D){var ne=ft(w),be=document.createElement(\"iframe\");return be.src=We(\"/github/\"+P,D),It(ne,be,D),pt(be)},embedProject:function(w,P,D){var ne,be=ft(w),Le=function(ze,ut){var dt=$e(ze);return dt.action=We(\"/run\",ut),dt.id=\"sb\",\"<html><head><title></title></head><body>\"+dt.outerHTML+\"<script>document.getElementById('\"+dt.id+\"').submit();<\\/script></body></html>\"}(P,D),je=document.createElement(\"iframe\");return It(be,je,D),(ne=je.contentDocument)==null||ne.write(Le),pt(je)},embedProjectId:function(w,P,D){var ne=ft(w),be=document.createElement(\"iframe\");return be.src=We(\"/edit/\"+P,D),It(ne,be,D),pt(be)},openGithubProject:function(w,P){var D=Oe(\"/github/\"+w,P),ne=nn(P);window.open(D,ne)},openProject:function(w,P){(function(D,ne){var be=$e(D);be.action=Oe(\"/run\",ne),be.target=nn(ne),document.body.appendChild(be),be.submit(),document.body.removeChild(be)})(w,P)},openProjectId:function(w,P){var D=Oe(\"/edit/\"+w,P),ne=nn(P);window.open(D,ne)}};function at(w,P){return qt(w)||At(w,P)||vt(w,P)||wt()}function wt(){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 vt(w,P){if(w){if(typeof w==\"string\")return jt(w,P);var D=Object.prototype.toString.call(w).slice(8,-1);if(D===\"Object\"&&w.constructor&&(D=w.constructor.name),D===\"Map\"||D===\"Set\")return Array.from(w);if(D===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return jt(w,P)}}function jt(w,P){(P==null||P>w.length)&&(P=w.length);for(var D=0,ne=new Array(P);D<P;D++)ne[D]=w[D];return ne}function At(w,P){var D=w==null?null:typeof Symbol!=\"undefined\"&&w[Symbol.iterator]||w[\"@@iterator\"];if(D!=null){var ne=[],be=!0,Le=!1,je,ze;try{for(D=D.call(w);!(be=(je=D.next()).done)&&(ne.push(je.value),!(P&&ne.length===P));be=!0);}catch(ut){Le=!0,ze=ut}finally{try{!be&&D.return!=null&&D.return()}finally{if(Le)throw ze}}return ne}}function qt(w){if(Array.isArray(w))return w}var En=function(P){var D,ne,be,Le,je,ze=Boolean((D=P.asset.dependencies)===null||D===void 0?void 0:D[\"index.tsx\"]),ut=ze?\".tsx\":\".jsx\",dt={},Ct=\"index\".concat(ut),Rt={\"index.html\":'<div style=\"margin: 16px;\" id=\"root\"></div>'},kt={title:P.title||\"\",description:P.description||\"An auto-generated demo by dumi\",template:\"create-react-app\",files:{}};Object.entries(P.asset.dependencies).forEach(function(Ut){var Qt=at(Ut,2),cn=Qt[0],wn=Qt[1],gn=wn.type,Kn=wn.value;gn===\"NPM\"?dt[cn]=Kn:Rt[cn===Ct?\"App\".concat(ut):cn]=Kn}),(be=dt[ne=\"react\"])!==null&&be!==void 0||(dt[ne]=\"latest\"),(je=dt[Le=\"react-dom\"])!==null&&je!==void 0||(dt[Le]=dt.react),Rt[\"package.json\"]=JSON.stringify({name:P.title,description:P.description||\"An auto-generated demo by dumi\",dependencies:dt,devDependencies:ze?{typescript:\"^4\"}:{}},null,2),Rt[Ct]=(0,it.AM)(dt.react),kt.files=Rt,Ot.openProject(kt)},Ft=function(){var P=useSiteData(),D=P.components;return{components:D}},_n=e(4849);function xn(w){return Jn(w)||Wn(w)||cr(w)||Zn()}function Zn(){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 Wn(w){if(typeof Symbol!=\"undefined\"&&w[Symbol.iterator]!=null||w[\"@@iterator\"]!=null)return Array.from(w)}function Jn(w){if(Array.isArray(w))return pr(w)}function Un(w,P){return Dn(w)||vr(w,P)||cr(w,P)||qn()}function qn(){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 cr(w,P){if(w){if(typeof w==\"string\")return pr(w,P);var D=Object.prototype.toString.call(w).slice(8,-1);if(D===\"Object\"&&w.constructor&&(D=w.constructor.name),D===\"Map\"||D===\"Set\")return Array.from(w);if(D===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return pr(w,P)}}function pr(w,P){(P==null||P>w.length)&&(P=w.length);for(var D=0,ne=new Array(P);D<P;D++)ne[D]=w[D];return ne}function vr(w,P){var D=w==null?null:typeof Symbol!=\"undefined\"&&w[Symbol.iterator]||w[\"@@iterator\"];if(D!=null){var ne=[],be=!0,Le=!1,je,ze;try{for(D=D.call(w);!(be=(je=D.next()).done)&&(ne.push(je.value),!(P&&ne.length===P));be=!0);}catch(ut){Le=!0,ze=ut}finally{try{!be&&D.return!=null&&D.return()}finally{if(Le)throw ze}}return ne}}function Dn(w){if(Array.isArray(w))return w}var br=function(){var P=(0,_n.b)(),D=(0,it.RX)(),ne=(0,g.W)(),be=ne.themeConfig,Le=Zt(),je=(0,it.M7)(),ze=(0,r.useState)(function(){var Ct=[],Rt;if(be.nav&&(\"mode\"in be.nav&&typeof be.nav.mode==\"string\"?(Rt=be.nav.mode,Ct=(0,it.m7)(be.nav.value,P)):\"mode\"in be.nav||(Ct=(0,it.m7)(be.nav,P)),!Rt||Rt===\"override\"))return Ct;var kt=Object.entries(Le).map(function(Ut){var Qt=Un(Ut,2),cn=Qt[0],wn=Qt[1],gn=Object.values(D).reduce(function(Kn,Pn){return Pn.path.startsWith(cn.slice(1))&&(0,it.qu)(Kn,\"nav\",Pn.meta.frontmatter),Kn},{});return{title:gn.title||wn[0].title||wn[0].children[0].title,order:gn.order||0,link:wn[0].children[0].link,activePath:cn}});return kt.sort(je),Rt===\"prepend\"?kt.unshift.apply(kt,xn(Ct)):Rt===\"append\"&&kt.push.apply(kt,xn(Ct)),kt}),ut=Un(ze,1),dt=ut[0];return dt};function zn(w,P){return Nt(w)||Dt(w,P)||Ge(w,P)||Re()}function Re(){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 Ge(w,P){if(w){if(typeof w==\"string\")return ot(w,P);var D=Object.prototype.toString.call(w).slice(8,-1);if(D===\"Object\"&&w.constructor&&(D=w.constructor.name),D===\"Map\"||D===\"Set\")return Array.from(w);if(D===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return ot(w,P)}}function ot(w,P){(P==null||P>w.length)&&(P=w.length);for(var D=0,ne=new Array(P);D<P;D++)ne[D]=w[D];return ne}function Dt(w,P){var D=w==null?null:typeof Symbol!=\"undefined\"&&w[Symbol.iterator]||w[\"@@iterator\"];if(D!=null){var ne=[],be=!0,Le=!1,je,ze;try{for(D=D.call(w);!(be=(je=D.next()).done)&&(ne.push(je.value),!(P&&ne.length===P));be=!0);}catch(ut){Le=!0,ze=ut}finally{try{!be&&D.return!=null&&D.return()}finally{if(Le)throw ze}}return ne}}function Nt(w){if(Array.isArray(w))return w}function Lt(w,P){if(!(w instanceof P))throw new TypeError(\"Cannot call a class as a function\")}function Ht(w,P){for(var D=0;D<P.length;D++){var ne=P[D];ne.enumerable=ne.enumerable||!1,ne.configurable=!0,\"value\"in ne&&(ne.writable=!0),Object.defineProperty(w,ne.key,ne)}}function Vt(w,P,D){return P&&Ht(w.prototype,P),D&&Ht(w,D),Object.defineProperty(w,\"prototype\",{writable:!1}),w}function an(w,P,D){return P in w?Object.defineProperty(w,P,{value:D,enumerable:!0,configurable:!0,writable:!0}):w[P]=D,w}var Wt,bn=function(){function w(P){var D=this;Lt(this,w),an(this,\"color\",void 0),an(this,\"prefersColor\",void 0),an(this,\"callbacks\",[]),this.prefersColor=navigator.cookieEnabled&&localStorage.getItem(y.PREFERS_COLOR_LS_KEY)||P.default,this.color=document.documentElement.getAttribute(y.PREFERS_COLOR_ATTR),[\"light\",\"dark\"].forEach(function(ne){var be=D.getColorMedia(ne),Le=function(ze){ze.matches&&D.prefersColor===\"auto\"&&(D.color=ne,document.documentElement.setAttribute(y.PREFERS_COLOR_ATTR,ne),D.applyCallbacks())};be.addEventListener?be.addEventListener(\"change\",Le):be.addListener&&be.addListener(Le)})}return Vt(w,[{key:\"getColorMedia\",value:function(D){return window.matchMedia(\"(prefers-color-scheme: \".concat(D,\")\"))}},{key:\"isColorMode\",value:function(D){return this.getColorMedia(D).matches}},{key:\"applyCallbacks\",value:function(){var D=this;this.callbacks.forEach(function(ne){return ne({color:D.color,prefersColor:D.prefersColor})})}},{key:\"listen\",value:function(D){this.callbacks.push(D)}},{key:\"unlisten\",value:function(D){this.callbacks.splice(this.callbacks.indexOf(D),1)}},{key:\"tryPrefersColor\",value:function(D){return navigator.cookieEnabled&&localStorage.setItem(y.PREFERS_COLOR_LS_KEY,D),this.prefersColor=D,this.color=D===\"auto\"?this.isColorMode(\"dark\")?\"dark\":\"light\":D,document.documentElement.setAttribute(y.PREFERS_COLOR_ATTR,D),this.applyCallbacks(),D}}]),w}(),ln=function(){var P=(0,g.W)(),D=P.themeConfig,ne=(0,r.useState)(),be=zn(ne,2),Le=be[0],je=be[1],ze=(0,r.useState)(),ut=zn(ze,2),dt=ut[0],Ct=ut[1],Rt=(0,r.useCallback)(function(Ut){Wt.tryPrefersColor(Ut)},[]),kt=(0,r.useCallback)(function(Ut){je(Ut.color),Ct(Ut.prefersColor)},[]);return(0,r.useEffect)(function(){var Ut;return(Ut=Wt)!==null&&Ut!==void 0||(Wt=new bn({default:D.prefersColor.default})),Wt.listen(kt),je(Wt.color),Ct(Wt.prefersColor),function(){return Wt.unlisten(kt)}},[]),[Le,dt,Rt]};function tt(w,P){return ct(w)||Qe(w,P)||nt(w,P)||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 nt(w,P){if(w){if(typeof w==\"string\")return st(w,P);var D=Object.prototype.toString.call(w).slice(8,-1);if(D===\"Object\"&&w.constructor&&(D=w.constructor.name),D===\"Map\"||D===\"Set\")return Array.from(w);if(D===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return st(w,P)}}function st(w,P){(P==null||P>w.length)&&(P=w.length);for(var D=0,ne=new Array(P);D<P;D++)ne[D]=w[D];return ne}function Qe(w,P){var D=w==null?null:typeof Symbol!=\"undefined\"&&w[Symbol.iterator]||w[\"@@iterator\"];if(D!=null){var ne=[],be=!0,Le=!1,je,ze;try{for(D=D.call(w);!(be=(je=D.next()).done)&&(ne.push(je.value),!(P&&ne.length===P));be=!0);}catch(ut){Le=!0,ze=ut}finally{try{!be&&D.return!=null&&D.return()}finally{if(Le)throw ze}}return ne}}function ct(w){if(Array.isArray(w))return w}var lt=function(){var P=(0,a.Qt)(),D=P.route,ne=(0,a.TH)(),be=ne.pathname,Le=(0,a.Ov)(),je=Le.clientRoutes,ze=(0,r.useCallback)(function(){var kt;if(D.path===be&&!(\"isLayout\"in D))kt=D.meta;else{var Ut,Qt,cn=(Ut=(0,a.fp)(je,be))===null||Ut===void 0?void 0:Ut.pop();kt=cn==null||(Qt=cn.route)===null||Qt===void 0?void 0:Qt.meta}return kt||{frontmatter:{},toc:[],texts:[]}},[je.length,be]),ut=(0,r.useState)(ze),dt=tt(ut,2),Ct=dt[0],Rt=dt[1];return(0,it.LI)(function(){Rt(ze)},[je.length,be]),Ct};function gt(w,P){var D=Object.keys(w);if(Object.getOwnPropertySymbols){var ne=Object.getOwnPropertySymbols(w);P&&(ne=ne.filter(function(be){return Object.getOwnPropertyDescriptor(w,be).enumerable})),D.push.apply(D,ne)}return D}function mt(w){for(var P=1;P<arguments.length;P++){var D=arguments[P]!=null?arguments[P]:{};P%2?gt(Object(D),!0).forEach(function(ne){Et(w,ne,D[ne])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(D)):gt(Object(D)).forEach(function(ne){Object.defineProperty(w,ne,Object.getOwnPropertyDescriptor(D,ne))})}return w}function Et(w,P,D){return P in w?Object.defineProperty(w,P,{value:D,enumerable:!0,configurable:!0,writable:!0}):w[P]=D,w}function Pt(w,P){var D=typeof Symbol!=\"undefined\"&&w[Symbol.iterator]||w[\"@@iterator\"];if(!D){if(Array.isArray(w)||(D=Xt(w))||P&&w&&typeof w.length==\"number\"){D&&(w=D);var ne=0,be=function(){};return{s:be,n:function(){return ne>=w.length?{done:!0}:{done:!1,value:w[ne++]}},e:function(dt){throw dt},f:be}}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 Le=!0,je=!1,ze;return{s:function(){D=D.call(w)},n:function(){var dt=D.next();return Le=dt.done,dt},e:function(dt){je=!0,ze=dt},f:function(){try{!Le&&D.return!=null&&D.return()}finally{if(je)throw ze}}}}function Mt(w){return Yt(w)||Kt(w)||Xt(w)||Bt()}function Bt(){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 Kt(w){if(typeof Symbol!=\"undefined\"&&w[Symbol.iterator]!=null||w[\"@@iterator\"]!=null)return Array.from(w)}function Yt(w){if(Array.isArray(w))return en(w)}function $t(w,P){return pn(w)||hn(w,P)||Xt(w,P)||dn()}function dn(){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 Xt(w,P){if(w){if(typeof w==\"string\")return en(w,P);var D=Object.prototype.toString.call(w).slice(8,-1);if(D===\"Object\"&&w.constructor&&(D=w.constructor.name),D===\"Map\"||D===\"Set\")return Array.from(w);if(D===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return en(w,P)}}function en(w,P){(P==null||P>w.length)&&(P=w.length);for(var D=0,ne=new Array(P);D<P;D++)ne[D]=w[D];return ne}function hn(w,P){var D=w==null?null:typeof Symbol!=\"undefined\"&&w[Symbol.iterator]||w[\"@@iterator\"];if(D!=null){var ne=[],be=!0,Le=!1,je,ze;try{for(D=D.call(w);!(be=(je=D.next()).done)&&(ne.push(je.value),!(P&&ne.length===P));be=!0);}catch(ut){Le=!0,ze=ut}finally{try{!be&&D.return!=null&&D.return()}finally{if(Le)throw ze}}return ne}}function pn(w){if(Array.isArray(w))return w}var Sn=\"$default-group-title\",fn=function(P,D){return\"base\"in D?P.replace(D.base.slice(1),\"\").replace(/^\\//,\"\"):P},Zt=function(){var P=(0,_n.b)(),D=(0,it.RX)(),ne=(0,g.W)(),be=ne.themeConfig,Le=(0,it.M7)(),je=(0,r.useState)(function(){var dt=Object.values(D).reduce(function(Rt,kt){var Ut=fn(kt.path,P);if(Ut&&kt.meta){var Qt,cn,wn,gn=\"/\".concat(kt.path.replace(Ut,function(or){return or.replace(/\\/[^/]+$/,\"\")})),Kn=(0,it.qu)({order:0},\"group\",kt.meta.frontmatter),Pn=Kn.title,Ln=Kn.order,er=Pn||Sn;(Qt=Rt[gn])!==null&&Qt!==void 0||(Rt[gn]={}),Rt[gn][er]={title:Pn,order:((cn=Rt[gn][er])===null||cn===void 0?void 0:cn.order)||Ln,children:[].concat(Mt(((wn=Rt[gn][er])===null||wn===void 0?void 0:wn.children)||[]),[{title:kt.meta.frontmatter.title,link:\"/\".concat(kt.path),order:kt.meta.frontmatter.order||0,frontmatter:kt.meta.frontmatter}])}}return Rt},{}),Ct=Object.entries(dt).reduce(function(Rt,kt){var Ut=$t(kt,2),Qt=Ut[0],cn=Ut[1];return Rt[Qt]=Object.values(cn).sort(Le),Rt[Qt].forEach(function(wn){return wn.children.sort(Le)}),Rt},{});return Object.assign(Ct,be.sidebar)}),ze=$t(je,1),ut=ze[0];return ut};function ar(w){var P={order:0,title:\"\"},D=Pt(w),ne;try{for(D.s();!(ne=D.n()).done;){var be=ne.value,Le=Pt(be.children),je;try{for(Le.s();!(je=Le.n()).done;){var ze=je.value;\"frontmatter\"in ze&&pickRouteSortMeta(P,\"nav\",ze.frontmatter)}}catch(ut){Le.e(ut)}finally{Le.f()}}}catch(ut){D.e(ut)}finally{D.f()}return P}var An=function(){var P=Zt(),D=useRouteDataComparer(),ne=useState(function(){var je=Object.entries(P).sort(function(ze,ut){return ut[0].split(\"/\").length-ze[0].split(\"/\").length}).reduce(function(ze,ut){var dt=$t(ut,2),Ct=dt[0],Rt=dt[1],kt=Ct.replace(/\\/[^/]+$/,\"\");if(kt){var Ut;if((Ut=ze[kt])!==null&&Ut!==void 0||(ze[kt]=mt({path:kt,children:P[kt]||[]},ar(P[kt]||[]))),ze[Ct])ze[Ct].children.sort(D),ze[kt].children.push(ze[Ct]),delete ze[Ct];else{var Qt;(Qt=ze[kt].children).push.apply(Qt,Mt(Rt))}}else Rt.sort(D),ze[Ct]=mt({path:Ct,children:Rt},ar(Rt));return ze},{});return Object.values(je)}),be=$t(ne,1),Le=be[0];return Le},sn=function(){var P=(0,_n.b)(),D=Zt(),ne=(0,a.TH)(),be=ne.pathname,Le=fn(be.slice(1),P),je=Le?be.replace(Le,function(ze){return ze.replace(/([^/]+)(\\/[^/]+\\/?)$/,\"$1\")}):be;return je?D[je]:[]},Rn='\"use strict\";(()=>{var P=Object.create;var k=Object.defineProperty;var z=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames,R=Object.getOwnPropertySymbols,B=Object.getPrototypeOf,E=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable;var O=(i,e,n)=>e in i?k(i,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):i[e]=n,I=(i,e)=>{for(var n in e||(e={}))E.call(e,n)&&O(i,n,e[n]);if(R)for(var n of R(e))L.call(e,n)&&O(i,n,e[n]);return i};var N=(i,e)=>()=>(e||i((e={exports:{}}).exports,e),e.exports);var F=(i,e,n,u)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let r of D(e))!E.call(i,r)&&r!==n&&k(i,r,{get:()=>e[r],enumerable:!(u=z(e,r))||u.enumerable});return i};var W=(i,e,n)=>(n=i!=null?P(B(i)):{},F(e||!i||!i.__esModule?k(n,\"default\",{value:i,enumerable:!0}):n,i));var j=N((K,w)=>{w.exports=function(i){var e={};function n(u){if(e[u])return e[u].exports;var r=e[u]={exports:{},id:u,loaded:!1};return i[u].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}return n.m=i,n.c=e,n.p=\"\",n(0)}([function(i,e,n){i.exports=n(1)},function(i,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var u=n(2);Object.defineProperty(e,\"combineChunks\",{enumerable:!0,get:function(){return u.combineChunks}}),Object.defineProperty(e,\"fillInChunks\",{enumerable:!0,get:function(){return u.fillInChunks}}),Object.defineProperty(e,\"findAll\",{enumerable:!0,get:function(){return u.findAll}}),Object.defineProperty(e,\"findChunks\",{enumerable:!0,get:function(){return u.findChunks}})},function(i,e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var n=e.findAll=function(t){var g=t.autoEscape,c=t.caseSensitive,f=c===void 0?!1:c,d=t.findChunks,o=d===void 0?r:d,h=t.sanitize,v=t.searchWords,T=t.textToHighlight;return l({chunksToHighlight:u({chunks:o({autoEscape:g,caseSensitive:f,sanitize:h,searchWords:v,textToHighlight:T})}),totalLength:T?T.length:0})},u=e.combineChunks=function(t){var g=t.chunks;return g=g.sort(function(c,f){return c.start-f.start}).reduce(function(c,f){if(c.length===0)return[f];var d=c.pop();if(f.start<=d.end){var o=Math.max(d.end,f.end);c.push({highlight:!1,start:d.start,end:o})}else c.push(d,f);return c},[]),g},r=function(t){var g=t.autoEscape,c=t.caseSensitive,f=t.sanitize,d=f===void 0?p:f,o=t.searchWords,h=t.textToHighlight;return h=d(h),o.filter(function(v){return v}).reduce(function(v,T){T=d(T),g&&(T=a(T));for(var m=new RegExp(T,c?\"g\":\"gi\"),y=void 0;y=m.exec(h);){var S=y.index,$=m.lastIndex;$>S&&v.push({highlight:!1,start:S,end:$}),y.index===m.lastIndex&&m.lastIndex++}return v},[])};e.findChunks=r;var l=e.fillInChunks=function(t){var g=t.chunksToHighlight,c=t.totalLength,f=[],d=function(v,T,m){T-v>0&&f.push({start:v,end:T,highlight:m})};if(g.length===0)d(0,c,!1);else{var o=0;g.forEach(function(h){d(o,h.start,!1),d(h.start,h.end,!0),o=h.end}),d(o,c,!1)}return f};function p(s){return s}function a(s){return s.replace(/[\\\\-\\\\[\\\\]\\\\/\\\\{\\\\}\\\\(\\\\)\\\\*\\\\+\\\\?\\\\.\\\\\\\\\\\\^\\\\$\\\\|]/g,\"\\\\\\\\$&\")}}])});var C=W(j()),H=\"tab\";function M(i,e,n,u,r){let l=r!==void 0,p=u.reduce((a,s)=>(s.tocIndex===r&&(a[s.paraId]=(a[s.paraId]||\"\").concat(s.value)),a),[]).filter(Boolean);return Boolean(p.length)||l?{rawTitle:i,title:e,link:n,paragraphs:u.reduce((a,s)=>{var t,g;return s.tocIndex===r&&((g=a[t=s.paraId])!=null||(a[t]=\"\"),a[s.paraId]+=s.value),a},[]).filter(Boolean)}:null}function x(i){return[i.title,i.subtitle].filter(Boolean).join(\" \")}function _(i,e,n){let u=[],r=Object.values(e).reduce((l,p)=>{var a,s;return p.asset&&((s=l[a=p.routeId])!=null||(l[a]=[]),l[p.routeId].push(p)),l},{});return Object.values(i).forEach(l=>{var p;if(\"meta\"in l&&!(\"isLayout\"in l)){let a=l.meta,s=l.path.replace(/^([^/])/,\"/$1\")||\"/\",t=n.find(o=>s===o.link||s.startsWith(`${o.activePath}/`)),g=(r[l.id]||[]).map(o=>{var h;return(h=o.asset)==null?void 0:h.id}),c=M(\"\",x(a.frontmatter),s,a.texts),f=a.toc.reduce((o,h,v)=>(!g.includes(h.id)&&h.depth>1&&o.push(M(h.title,`${x(a.frontmatter)} - ${h.title}`,`${s}#${h.id}`,a.texts,v)),o),[]),d=(a.tabs||[]).reduce((o,{key:h,meta:v})=>{let T=M(\"\",`${x(a.frontmatter)} - ${v.frontmatter.title}`,`${s}?${H}=${h}`,v.texts);return T&&o.push(T),o.push(...v.toc.map((m,y)=>M(m.title,`${x(a.frontmatter)} - ${v.frontmatter.title} - ${m.title}`,`${s}?${H}=${h}#${m.id}`,v.texts,y))),o},[]);u.push({navTitle:t==null?void 0:t.title,navOrder:t?n.indexOf(t):1/0,title:x(a.frontmatter),link:s,sections:[...c?[c]:[],...f,...d],demos:((p=r[l.id])==null?void 0:p.map(o=>({link:`${s}#${o.asset.id}`,rawTitle:o.asset.title||\"\",title:o.asset.title||x(a.frontmatter),description:o.asset.description||\"\",keywords:o.asset.keywords||[]})))||[]})}}),u}function b(i=\"\",e,n=1){let u=(0,C.findAll)({textToHighlight:i,searchWords:e,autoEscape:!0}),r={};return[u.map(({start:l,end:p,highlight:a},s)=>{let t={text:i.slice(l,p)};return s===0&&!a&&u.length>1&&t.text.length>20&&(t.text=`...${t.text.slice(-20)}`),a&&(t.highlighted=!0,r[e.find(g=>t.text.includes(g))]=n),t}),r]}function Y(i,e){let n=e.split(\" \"),u=new RegExp(e.replace(/[.*+?^${}()|[\\\\]\\\\\\\\]/g,\"\\\\\\\\$&\").replace(\" \",\"|\"),\"gi\"),r={};return i.forEach(l=>{var a,s;let p=[];if(l.sections.forEach(t=>{for(let g of t.paragraphs)if(u.test(g)){let[c,f]=b(t.title,n,10),[d,o]=b(g,n);p.push({type:\"content\",link:t.link,priority:Object.values(I(I({},o),f)).reduce((h,v)=>h+v,0),highlightTitleTexts:c,highlightTexts:d});return}if(u.test(t.rawTitle)){let[g,c]=b(t.title,n,10);p.push({type:\"title\",link:t.link,priority:Object.values(c).reduce((f,d)=>f+d,0),highlightTitleTexts:g,highlightTexts:b(t.paragraphs[0]||\"\",n)[0]})}}),l.demos.forEach(t=>{if(u.test(t.rawTitle)||u.test(t.description)){let[g,c]=b(t.title,n,10),[f,d]=b(t.description,n);p.push({type:\"demo\",link:t.link,priority:Object.values(I(I({},d),c)).reduce((o,h)=>o+h,0),highlightTitleTexts:g,highlightTexts:f})}}),u.test(l.title)){let[t,g]=b(l.title,n,100);p.push({type:\"page\",link:l.link,priority:Object.values(g).reduce((c,f)=>c+f,0),highlightTitleTexts:t,highlightTexts:b(((a=l.sections[0])==null?void 0:a.paragraphs[0])||\"\",n)[0]})}if(p.length){let t=l.navTitle||\"$ROOT\";(s=r[t])!=null||(r[t]={title:l.navTitle,priority:l.navOrder*1e3,hints:[]}),r[t].hints.push(...p)}}),Object.values(r).forEach(({hints:l})=>{l.sort((p,a)=>a.priority-p.priority)}),Object.values(r).sort((l,p)=>p.priority-l.priority)}var A;self.onmessage=({data:i})=>{switch(i.action){case\"generate-metadata\":A=_(i.args.routes,i.args.demos,i.args.nav);break;case\"get-search-result\":self.postMessage(Y(A,i.args.keywords));break;default:}};})();\\n';function Nn(w,P){var D=Object.keys(w);if(Object.getOwnPropertySymbols){var ne=Object.getOwnPropertySymbols(w);P&&(ne=ne.filter(function(be){return Object.getOwnPropertyDescriptor(w,be).enumerable})),D.push.apply(D,ne)}return D}function Bn(w){for(var P=1;P<arguments.length;P++){var D=arguments[P]!=null?arguments[P]:{};P%2?Nn(Object(D),!0).forEach(function(ne){Vn(w,ne,D[ne])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(D)):Nn(Object(D)).forEach(function(ne){Object.defineProperty(w,ne,Object.getOwnPropertyDescriptor(D,ne))})}return w}function Vn(w,P,D){return P in w?Object.defineProperty(w,P,{value:D,enumerable:!0,configurable:!0,writable:!0}):w[P]=D,w}function Fn(w,P){return Ke(w)||xe(w,P)||ie(w,P)||H()}function H(){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 ie(w,P){if(w){if(typeof w==\"string\")return re(w,P);var D=Object.prototype.toString.call(w).slice(8,-1);if(D===\"Object\"&&w.constructor&&(D=w.constructor.name),D===\"Map\"||D===\"Set\")return Array.from(w);if(D===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return re(w,P)}}function re(w,P){(P==null||P>w.length)&&(P=w.length);for(var D=0,ne=new Array(P);D<P;D++)ne[D]=w[D];return ne}function xe(w,P){var D=w==null?null:typeof Symbol!=\"undefined\"&&w[Symbol.iterator]||w[\"@@iterator\"];if(D!=null){var ne=[],be=!0,Le=!1,je,ze;try{for(D=D.call(w);!(be=(je=D.next()).done)&&(ne.push(je.value),!(P&&ne.length===P));be=!0);}catch(ut){Le=!0,ze=ut}finally{try{!be&&D.return!=null&&D.return()}finally{if(Le)throw ze}}return ne}}function Ke(w){if(Array.isArray(w))return w}var Ue;typeof window!=\"undefined\"&&(Ue=new Worker(URL.createObjectURL(new Blob([Rn],{type:\"application/javascript\"}))));var J=function(){var P=(0,r.useRef)(),D=(0,it.RX)(),ne=(0,g.W)(),be=ne.demos,Le=(0,r.useState)(!1),je=Fn(Le,2),ze=je[0],ut=je[1],dt=(0,r.useState)(\"\"),Ct=Fn(dt,2),Rt=Ct[0],kt=Ct[1],Ut=br(),Qt=(0,r.useState)([]),cn=Fn(Qt,2),wn=cn[0],gn=cn[1],Kn=(0,r.useCallback)(function(Pn){ut(!0),kt(Pn)},[]);return(0,r.useEffect)(function(){Ue.onmessage=function(Pn){gn(Pn.data),ut(!1)}},[]),(0,r.useEffect)(function(){var Pn=Object.entries(be).reduce(function(Ln,er){var or=Fn(er,2),Ar=or[0],Xn=or[1],Yn=Xn.asset,Er=Xn.routeId;return Bn(Bn({},Ln),{},Vn({},Ar,{asset:Yn,routeId:Er}))},{});Ue.postMessage({action:\"generate-metadata\",args:{routes:JSON.parse(JSON.stringify(D)),nav:Ut,demos:Pn}})},[D,be,Ut]),(0,r.useEffect)(function(){var Pn=Rt.trim();Pn?(clearTimeout(P.current),P.current=window.setTimeout(function(){Ue.postMessage({action:\"get-search-result\",args:{keywords:Pn}})},200)):gn([])},[Rt]),{keywords:Rt,setKeywords:Kn,result:wn,loading:ze}}},24982:function(c,m,e){\"use strict\";e.d(m,{k:function(){return a},s:function(){return o}});var a=[{id:\"en-US\",name:\"English\",base:\"/\"},{id:\"zh-CN\",name:\"\\u4E2D\\u6587\",base:\"/zh-CN\"}],o={\"en-US\":{\"header.search.placeholder\":\"Type keywords...\",\"header.color.mode.light\":\"Light Mode\",\"header.color.mode.dark\":\"Dark Mode\",\"header.color.mode.auto\":\"Follow System\",\"header.social.github\":\"GitHub\",\"header.social.weibo\":\"Weibo\",\"header.social.twitter\":\"Twitter\",\"header.social.gitlab\":\"GitLab\",\"header.social.facebook\":\"Facebook\",\"header.social.zhihu\":\"Zhihu\",\"header.social.yuque\":\"Yuque\",\"header.social.linkedin\":\"Linkedin\",\"previewer.actions.code.expand\":\"Show Code\",\"previewer.actions.code.shrink\":\"Hide Code\",\"previewer.actions.codesandbox\":\"Open in CodeSandbox\",\"previewer.actions.codepen\":\"Open in CodePen (Not implemented)\",\"previewer.actions.stackblitz\":\"Open in StackBlitz\",\"previewer.actions.separate\":\"Open in separate page\",\"404.title\":\"PAGE NOT FOUND\",\"404.back\":\"Back to homepage\",\"api.component.name\":\"Name\",\"api.component.description\":\"Description\",\"api.component.type\":\"Type\",\"api.component.default\":\"Default\",\"api.component.required\":\"(required)\",\"api.component.unavailable\":\"apiParser must be enabled to use auto-generated API\",\"api.component.loading\":\"Properties definition is resolving, wait a moment...\",\"api.component.not.found\":\"Properties definition not found for {id} component\",\"content.tabs.default\":\"Doc\",\"search.not.found\":\"No content was found\",\"layout.sidebar.btn\":\"Sidebar\"},\"zh-CN\":{\"header.search.placeholder\":\"\\u8F93\\u5165\\u5173\\u952E\\u5B57\\u641C\\u7D22...\",\"header.color.mode.light\":\"\\u4EAE\\u8272\\u6A21\\u5F0F\",\"header.color.mode.dark\":\"\\u6697\\u8272\\u6A21\\u5F0F\",\"header.color.mode.auto\":\"\\u8DDF\\u968F\\u7CFB\\u7EDF\",\"header.social.github\":\"GitHub\",\"header.social.weibo\":\"\\u5FAE\\u535A\",\"header.social.twitter\":\"Twitter\",\"header.social.gitlab\":\"GitLab\",\"header.social.facebook\":\"Facebook\",\"header.social.zhihu\":\"\\u77E5\\u4E4E\",\"header.social.yuque\":\"\\u8BED\\u96C0\",\"header.social.linkedin\":\"Linkedin\",\"previewer.actions.code.expand\":\"\\u5C55\\u5F00\\u4EE3\\u7801\",\"previewer.actions.code.shrink\":\"\\u6536\\u8D77\\u4EE3\\u7801\",\"previewer.actions.codesandbox\":\"\\u5728 CodeSandbox \\u4E2D\\u6253\\u5F00\",\"previewer.actions.codepen\":\"\\u5728 CodePen \\u4E2D\\u6253\\u5F00\\uFF08\\u672A\\u5B9E\\u73B0\\uFF09\",\"previewer.actions.stackblitz\":\"\\u5728 StackBlitz \\u4E2D\\u6253\\u5F00\",\"previewer.actions.separate\":\"\\u5728\\u72EC\\u7ACB\\u9875\\u9762\\u4E2D\\u6253\\u5F00\",\"404.title\":\"\\u9875\\u9762\\u672A\\u627E\\u5230\",\"404.back\":\"\\u8FD4\\u56DE\\u9996\\u9875\",\"api.component.name\":\"\\u5C5E\\u6027\\u540D\",\"api.component.description\":\"\\u63CF\\u8FF0\",\"api.component.type\":\"\\u7C7B\\u578B\",\"api.component.default\":\"\\u9ED8\\u8BA4\\u503C\",\"api.component.required\":\"(\\u5FC5\\u9009)\",\"api.component.unavailable\":\"\\u5FC5\\u987B\\u542F\\u7528 apiParser \\u624D\\u80FD\\u4F7F\\u7528\\u81EA\\u52A8 API \\u7279\\u6027\",\"api.component.loading\":\"\\u5C5E\\u6027\\u5B9A\\u4E49\\u6B63\\u5728\\u89E3\\u6790\\u4E2D\\uFF0C\\u7A0D\\u7B49\\u7247\\u523B...\",\"api.component.not.found\":\"\\u672A\\u627E\\u5230 {id} \\u7EC4\\u4EF6\\u7684\\u5C5E\\u6027\\u5B9A\\u4E49\",\"content.tabs.default\":\"\\u6587\\u6863\",\"search.not.found\":\"\\u672A\\u627E\\u5230\\u76F8\\u5173\\u5185\\u5BB9\",\"layout.sidebar.btn\":\"\\u4FA7\\u8FB9\\u83DC\\u5355\"}}},80134:function(c,m,e){\"use strict\";e.d(m,{wx:function(){return ye},DE:function(){return $e},C3:function(){return rt},eA:function(){return He}});var a=e(54306),o=e.n(a),r=e(50959),u={},l={title:\"\\u5FEB\\u901F\\u4E0A\\u624B\",toc:\"menu\",filename:\"docs/guide/getting-started.md\",legacy:\"/getting\"},d=[],f=[{value:`\n$ npm i web-pdm\n\n`,paraId:0}],v={\"docs-config-demo-type-erd\":{component:r.lazy(function(){return Promise.all([e.e(448),e.e(433)]).then(e.bind(e,53926))}),asset:null}},p={title:\"props\",toc:\"menu\",filename:\"docs/config/index.zh-CN.md\",order:1,nav:{order:2,title:\"\\u914D\\u7F6E\\u9879\"}},h=[{id:\"props\",depth:1,title:\"props\"},{id:\"models\",depth:2,title:\"models\"},{id:\"modules\",depth:2,title:\"modules\"},{id:\"height\",depth:2,title:\"height\"},{id:\"style\",depth:2,title:\"style\"},{id:\"themecolor\",depth:2,title:\"themeColor\"},{id:\"darkness\",depth:2,title:\"darkness\"},{id:\"onignoreedge\",depth:2,title:\"onIgnoreEdge\"},{id:\"onmodeldetail\",depth:2,title:\"onModelDetail\"},{id:\"onreload\",depth:2,title:\"onReload\"},{id:\"intl\",depth:2,title:\"intl\"},{id:\"onintl\",depth:2,title:\"onIntl\"},{id:\"components\",depth:2,title:\"components\"},{id:\"iconrenders\",depth:2,title:\"IconRenders\"},{id:\"disableicons\",depth:2,title:\"disableIcons\"},{id:\"onlymode\",depth:2,title:\"onlyMode\"}],g=[{value:\"\\u8BF4\\u660E\\uFF1A \\u6A21\\u578B\\u548C\\u5B57\\u6BB5\\u7684\\u521D\\u59CB\\u5316\\u914D\\u7F6E\",paraId:0,tocIndex:1},{value:\"\\u7C7B\\u578B\\uFF1A ModelConfig[]\",paraId:0,tocIndex:1},{value:`\nexport type ModelConfig = {\n    name: string\n    label: string\n    fields: FieldConfig[]\n    module: string\n    type?: string\n\n    aggregateRoot?: boolean\n    aggregateModelKey: string\n    belongAggregate: string\n}\n\nexport type MetaTypeConfig = {\n    relationModel: string\n    type: 'Relation'\n}\n\nexport type FieldMetaTypeConfig = {\n    relationModel: string\n    type: 'Relation'\n    field: string\n}\n\nexport type FieldConfig = {\n    name: string\n    label: string\n    typeMeta?: MetaTypeConfig | FieldMetaTypeConfig[]\n    type: string\n}\n\n\n\n\n\n\n\n\n\n\n\n`,paraId:1,tocIndex:1},{value:\"\\u8BF4\\u660E\\uFF1A \\u6A21\\u5757\\u7684\\u521D\\u59CB\\u5316\\u914D\\u7F6E\",paraId:2,tocIndex:2},{value:\"\\u7C7B\\u578B\\uFF1A ModuleConfig[]\",paraId:2,tocIndex:2},{value:`export type ModuleConfig = {\n    name: string,\n    label: string,\n}\n\n`,paraId:3,tocIndex:2},{value:\"\\u8BF4\\u660E\\uFF1A \\u5BB9\\u5668\\u7684\\u9AD8\\u5EA6\",paraId:4,tocIndex:3},{value:\"\\u7C7B\\u578B\\uFF1A number | string \\uFF5C undefined\",paraId:4,tocIndex:3},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1A undefined\",paraId:4,tocIndex:3},{value:\"\\u8BF4\\u660E\\uFF1A \\u5BB9\\u5668\\u7684\\u6837\\u5F0F\\u8BBE\\u7F6E\",paraId:5,tocIndex:4},{value:\"\\u7C7B\\u578B\\uFF1A html style \\xA0 \\u5BF9\\u8C61\",paraId:5,tocIndex:4},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1A undefined\",paraId:5,tocIndex:4},{value:\"\\u8BF4\\u660E\\uFF1A \\u76AE\\u80A4\\u4E3B\\u989C\\u8272\",paraId:6,tocIndex:5},{value:\"\\u7C7B\\u578B\\uFF1A string\",paraId:6,tocIndex:5},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1A black\",paraId:6,tocIndex:5},{value:\"\\u8BF4\\u660E\\uFF1A \\u662F\\u5426\\u6697\\u8272\\u80CC\\u666F\",paraId:7,tocIndex:6},{value:\"\\u7C7B\\u578B\\uFF1A boolean\",paraId:7,tocIndex:6},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1Afalse\",paraId:7,tocIndex:6},{value:\"\\u8BF4\\u660E\\uFF1A \\u662F\\u5426\\u5FFD\\u7565\\u8FDE\\u63A5\\u7EBF\\u7684\\u521B\\u5EFA\",paraId:8,tocIndex:7},{value:\"\\u7C7B\\u578B\\uFF1A (field: FieldConfig) => boolean\",paraId:8,tocIndex:7},{value:\"\\u8BF4\\u660E\\uFF1A \\u70B9\\u51FB\\u6A21\\u578B\\u201C\\u67E5\\u770B\\u201D\\u6309\\u94AE\\u4E8B\\u4EF6\",paraId:9,tocIndex:8},{value:\"\\u7C7B\\u578B\\uFF1A (model: ModelConfig) => void\",paraId:9,tocIndex:8},{value:\"\\u8BF4\\u660E\\uFF1A \\u5237\\u65B0\\u6570\\u636E\\u6309\\u94AE\\u63A5\\u53E3\",paraId:10,tocIndex:9},{value:\"\\u7C7B\\u578B\\uFF1A () => TData\",paraId:10,tocIndex:9},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1A undefine\",paraId:10,tocIndex:9},{value:` export type TData = {\n    models : ModelConfig[],\n    modules :ModuleConfig[]\n}\n`,paraId:11,tocIndex:9},{value:\"\\u8BF4\\u660E\\uFF1A \\u5185\\u7F6E\\u56FD\\u9645\\u5316\\u914D\\u7F6E\",paraId:12,tocIndex:10},{value:\"\\u7C7B\\u578B\\uFF1A 'EN'|'CH'\",paraId:12,tocIndex:10},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1A'CH'\",paraId:12,tocIndex:10},{value:\"\\u8BF4\\u660E\\uFF1A \\u5916\\u7F6E\\u7684\\u56FD\\u9645\\u5316\\u4F20\\u5165\\u63A5\\u53E3\",paraId:13,tocIndex:11},{value:\"\\u7C7B\\u578B\\uFF1A (text: string) => string\",paraId:13,tocIndex:11},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1Aundefine\",paraId:13,tocIndex:11},{value:\"\\u8BF4\\u660E\\uFF1A \\u7528\\u4E8E\\u66FF\\u6362antd\\u7684\\u9ED8\\u8BA4\\u7EC4\\u4EF6\",paraId:14,tocIndex:12},{value:\"\\u7C7B\\u578B\\uFF1A IComponentConfig\",paraId:14,tocIndex:12},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1Aundefine\",paraId:14,tocIndex:12},{value:`export type IComponentConfig = {\n    Tree?: React.ComponentType\n    Input?: React.ComponentType\n    Button?: React.ComponentType\n    Dropdown?: React.ComponentType\n    Menu?: React.ComponentType\n    Select?: React.ComponentType\n    Tooltip?: React.ComponentType\n}\n\n`,paraId:15,tocIndex:12},{value:\"\\u8BF4\\u660E\\uFF1A \\u7528\\u4E8E\\u66FF\\u6362\\u5DE5\\u5177\\u680F\\u7684\\u56FE\\u6807\\u7EC4\\u4EF6\",paraId:16,tocIndex:13},{value:\"\\u7C7B\\u578B\\uFF1A Record<string, React.ReactNode>\",paraId:16,tocIndex:13},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1Aundefine\",paraId:16,tocIndex:13},{value:`    undo: <RollbackOutlined />,   \\u91CD\\u505A\n    redo: <RollbackOutlined style={{ transform: 'scaleX(-1)' }} />, \\u64A4\\u9500\n    min: <ZoomOutOutlined />, \\u7F29\\u5C0F\n    max: <ZoomInOutlined />,  \\u653E\\u5927\n    full: <BorderOutlined />, \\u5168\\u5C4F\n    miniMap: <PictureFilled />, \\u5C0F\\u5730\\u56FE\\u663E\\u793A\n    miniMapNo: <PictureOutlined />, \\u5C0F\\u5730\\u56FE\\u5173\\u95ED\n    dagreLayout: <PartitionOutlined />, \\u5C42\\u6B21\\u5E03\\u5C40\n    relationLayout: <UngroupOutlined />, \\u5173\\u8054\\u5E03\\u5C40\n    reload: <ReloadOutlined />, \\u5237\\u65B0\n    image: <DownloadOutlined />, \\u4E0B\\u8F7D\\u5730\\u56FE\n    darkness: <SnippetsFilled />, \\u6697\\u9ED1\\u6A21\\u578B\n    light: <SnippetsOutlined />,  \\u5149\\u660E\\u6A21\\u5F0F\n    colorClose: <BgColorsOutlined />, \\u5F69\\u8272\\u9762\\u677F\\u5173\\u95ED\n    colorOpen: <BgColorsOutlined />   \\u5F69\\u8272\\u9762\\u677F\\u6253\\u5F00\n\n`,paraId:17,tocIndex:13},{value:\"\\u8BF4\\u660E\\uFF1A \\u7528\\u4E8E\\u7981\\u7528\\u5DE5\\u5177\\u680F\\u7684\\u56FE\\u6807,\\u540D\\u79F0\\u540C\\u4E0A\",paraId:18,tocIndex:14},{value:\"\\u7C7B\\u578B\\uFF1A string[]\",paraId:18,tocIndex:14},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1A[]\",paraId:18,tocIndex:14},{value:\"\\u8BF4\\u660E\\uFF1A \\u662F\\u5426\\u53EA\\u6709\\u4E00\\u79CD\\u6A21\\u5F0F\\uFF0C\\u5F00\\u542F\\u540E\\u9ED8\\u8BA4\\u53EA\\u6709\\u6811\\u5F62\\u6A21\\u5F0F\",paraId:19,tocIndex:15},{value:\"\\u7C7B\\u578B\\uFF1A boolean\",paraId:19,tocIndex:15},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1Afalse\",paraId:19,tocIndex:15}],y={},S={title:\"\\u6307\\u5357\",toc:\"menu\",filename:\"docs/guide/index.zh-CN.md\",nav:{title:\"\\u6307\\u5357\",order:1},description:\"E-R \\u65B9\\u6CD5\\u662F\\u201C\\u5B9E\\u4F53-\\u8054\\u7CFB\\u65B9\\u6CD5\\u201D\\uFF08Entity-Relationship Approach\\uFF09\\u7684\\u7B80\\u79F0\\u3002\\u5B83\\u662F\\u63CF\\u8FF0\\u73B0\\u5B9E\\u4E16\\u754C\\u6982\\u5FF5\\u7ED3\\u6784\\u6A21\\u578B\\u7684\\u6709\\u6548\\u65B9\\u6CD5\\uFF0C\\u800C ER \\u56FE\\u5C31\\u662F\\u8FD9\\u4E2A\\u65B9\\u6CD5\\u5728\\u754C\\u9762\\u4E0A\\u7684\\u53EF\\u89C6\\u5316\\u5448\\u73B0\\u3002\\xA0 \\xA0 \\u65E0\\u8BBA\\u662F\\u666E\\u904D\\u7684\\u6570\\u636E\\u5E93\\u9A71\\u52A8\\u7684\\u5F00\\u53D1\\u65B9\\u5F0F\\uFF0C\\u8FD8\\u662F\\u9AD8\\u5927\\u4E0A\\u7684 DDD\\uFF0C\\u6216\\u8005\\u662F\\u6A21\\u578B\\u9A71\\u52A8\\u7684 Lowcode \\u5E73\\u53F0\\uFF0C \\u4EA6\\u6216\\u4E3B\\u6570\\u636E\\u9A71\\u52A8\\u7684 APaas \\u5E73\\u53F0\\uFF0CER \\u56FE\\u63D0\\u4F9B\\u4E86\\u4E00\\u79CD\\u53EF\\u89C6\\u5316\\u4E1A\\u52A1\\u7684\\u89C6\\u89D2\\u3002\"},I=[{id:\"what\",depth:1,title:\"What?\"},{id:\"why\",depth:1,title:\"Why?\"},{id:\"\\u4E1A\\u52A1\\u8BBE\\u8BA1--\\u6A21\\u578B\\u8BBE\\u8BA1--\\u6570\\u636E\\u5E93\\u8BBE\\u8BA1\",depth:2,title:\"\\u4E1A\\u52A1\\u8BBE\\u8BA1 \\u2248 \\u6A21\\u578B\\u8BBE\\u8BA1 \\xA0\\u2248 \\u6570\\u636E\\u5E93\\u8BBE\\u8BA1\"},{id:\"\\u5B9A\\u5236\\u5316\\u7684-er-\\u56FE\\u66F4\\u6709\\u4EF7\\u503C\",depth:2,title:\"\\u5B9A\\u5236\\u5316\\u7684 ER \\u56FE\\u66F4\\u6709\\u4EF7\\u503C\"},{id:\"\\u5728\\u7EBF\\u7248\\u672C\\u7684-powerdesigner\",depth:2,title:\"\\u5728\\u7EBF\\u7248\\u672C\\u7684 powerdesigner\"},{id:\"how\",depth:1,title:\"How?\"},{id:\"\\u6280\\u672F\\u9009\\u578B\",depth:2,title:\"\\u6280\\u672F\\u9009\\u578B\"},{id:\"svg-vs-canvas\",depth:3,title:\"SVG vs Canvas\"}],N=[{value:\"\\xA0 \\xA0E-R \\u65B9\\u6CD5\\u662F\\u201C\\u5B9E\\u4F53-\\u8054\\u7CFB\\u65B9\\u6CD5\\u201D\\uFF08Entity-Relationship Approach\\uFF09\\u7684\\u7B80\\u79F0\\u3002\\u5B83\\u662F\\u63CF\\u8FF0\\u73B0\\u5B9E\\u4E16\\u754C\\u6982\\u5FF5\\u7ED3\\u6784\\u6A21\\u578B\\u7684\\u6709\\u6548\\u65B9\\u6CD5\\uFF0C\\u800C ER \\u56FE\\u5C31\\u662F\\u8FD9\\u4E2A\\u65B9\\u6CD5\\u5728\\u754C\\u9762\\u4E0A\\u7684\\u53EF\\u89C6\\u5316\\u5448\\u73B0\\u3002\",paraId:0,tocIndex:0},{value:\"\\xA0 \\xA0 \\u65E0\\u8BBA\\u662F\\u666E\\u904D\\u7684\\u6570\\u636E\\u5E93\\u9A71\\u52A8\\u7684\\u5F00\\u53D1\\u65B9\\u5F0F\\uFF0C\\u8FD8\\u662F\\u9AD8\\u5927\\u4E0A\\u7684 DDD\\uFF0C\\u6216\\u8005\\u662F\\u6A21\\u578B\\u9A71\\u52A8\\u7684 Lowcode \\u5E73\\u53F0\\uFF0C \\u4EA6\\u6216\\u4E3B\\u6570\\u636E\\u9A71\\u52A8\\u7684 APaas \\u5E73\\u53F0\\uFF0CER \\u56FE\\u63D0\\u4F9B\\u4E86\\u4E00\\u79CD\\u53EF\\u89C6\\u5316\\u4E1A\\u52A1\\u7684\\u89C6\\u89D2\\u3002\",paraId:0,tocIndex:0},{value:\"\\u6211\\u4EEC\\u77E5\\u9053\\uFF0C\\u4E00\\u4E2A\\u597D\\u7684 APaas/Lowcode \\u5E73\\u53F0\\u80FD\\u5145\\u5206\\u9694\\u79BB\\u4E86\\u6280\\u672F\\u590D\\u6742\\u5EA6\\u548C\\u4E1A\\u52A1\\u590D\\u6742\\u5EA6\\uFF0C\\u800C\\u6A21\\u578B\\u5143\\u6570\\u636E\\u4F5C\\u4E3A\\u7CFB\\u7EDF\\u8F93\\u5165\\u53C2\\u6570\\uFF08\\u6BCF\\u4E2A\\u9879\\u76EE\\u7684\\u6A21\\u578B\\u5B57\\u6BB5\\u4E0D\\u76F8\\u540C\\uFF09\\uFF0CER \\u56FE\\u53EF\\u4EE5\\u4ECE\\u8FD9\\u4E2A\\u89D2\\u5EA6\\u4E0A\\u6765\\u5EA6\\u91CF\\u4E00\\u4E2A\\u7CFB\\u7EDF\\u7684\\u4E1A\\u52A1\\u590D\\u6742\\u5EA6\\u3002\",paraId:1,tocIndex:2},{value:\"\\xA0 \\xA0 \\u5728\\u4E1A\\u52A1\\u590D\\u6742\\u5927\\u578B\\u9879\\u76EE\\u91CC\\u9762\\uFF0C\\u4E00\\u822C\\u4F1A\\u91C7\\u7528 DDD \\u7684\\u65B9\\u6CD5\\u8BBA\\u6765\\u8FDB\\u884C\\u4E1A\\u52A1\\u8BBE\\u8BA1\\uFF0C\\u800C\\u9886\\u57DF\\u6A21\\u578B\\u7684\\u8BBE\\u8BA1\\u662F\\u5176\\u4E2D\\u5F88\\u91CD\\u8981\\u7684\\u4E00\\u90E8\\u5206\\uFF0C\\u4E00\\u822C\\u8BBE\\u8BA1\\u6A21\\u578B\\u7684\\u4EBA\\u662F\\u9886\\u57DF\\u4E13\\u5BB6\\u548C\\u5B9E\\u73B0\\u529F\\u80FD\\u7684\\u5F00\\u53D1\\u8005\\u5E76\\u4E0D\\u662F\\u4E00\\u6CE2\\u4EBA\\uFF0C\\u53EF\\u89C6\\u5316\\u7684 ER \\u56FE\\u53EF\\u80FD\\u4F5C\\u4E3A\\u4E2D\\u95F4\\u6001\\u4EA7\\u7269\\u6210\\u4E3A\\u4E86\\u91CD\\u8981\\u7684\\u4EA4\\u6D41\\u5DE5\\u5177\\u3002\",paraId:1,tocIndex:2},{value:\"\\xA0\\xA0\",paraId:1,tocIndex:2},{value:\"\\xA0\\xA0\",paraId:1,tocIndex:2},{value:\"\\xA0 \\xA0 \\xA0 \\u800C\\u5728\\u4E2D\\u5C0F\\u578B\\u9879\\u76EE\\u4E2D\\uFF0C\\u7531\\u4E8E\\u4E1A\\u52A1\\u548C\\u754C\\u9762\\u4EA4\\u4ED8\\u7B80\\u5355\\uFF0C\\u89C6\\u56FE\\u6A21\\u578B\\uFF08VO\\uFF09\\uFF0C\\u4E1A\\u52A1\\u6A21\\u578B\\uFF08BO\\uFF09\\uFF0C\\u6570\\u636E\\u6A21\\u578B\\uFF08DO\\uFF09 \\u503E\\u5411\\u4E8E\\u4E09\\u5143\\u5408\\u4E00\\uFF0CER \\u56FE\\u5219\\u5145\\u5F53\\u6570\\u636E\\u5E93\\u8BBE\\u8BA1\\u5DE5\\u5177\\u3002\",paraId:1,tocIndex:2},{value:\"\\xA0 \\xA0 \\xA0 \\u4E1A\\u52A1\\u5982\\u6B64\\u91CD\\u8981\\uFF0C\\u60F3\\u8C61\\u4E00\\u4E0B\\uFF0C\\u4E00\\u822C\\u5728\\u9879\\u76EE KO \\u6216\\u8005\\u8BC4\\u5BA1\\u671F\\u95F4\\uFF0C\\u6240\\u6709\\u4EBA\\u805A\\u5728\\u4E00\\u8D77\\uFF0C\\u57FA\\u672C\\u4E0A\\u90FD\\u4F1A\\u628A ER \\u56FE\\u5C55\\u5F00\\u6765\\u5171\\u540C\\u8BA8\\u8BBA\\u3002\\u5BF9\\u4E8E\\u4E00\\u4E9B\\u4E2D\\u5C0F\\u578B\\u9879\\u76EE\\uFF0CER \\u56FE\\u786E\\u5B9A\\u4E86\\uFF0C\\u57FA\\u672C\\u4E0A\\u4E1A\\u52A1\\u903B\\u8F91\\uFF0C\\u5DE5\\u4F5C\\u91CF\\u90FD\\u786E\\u5B9A\\u4E86\\uFF0C\\u901A\\u4FD7\\u7684\\u8BF4\\uFF0C\\u8001\\u7A0B\\u5E8F\\u5458\\u548C\\u67B6\\u6784\\u5E08\\u4F1A\\u628A\\u8FD9\\u4E2A\\u8FC7\\u7A0B\\u53EB\\u201C\\u9879\\u76EE\\u5F00\\u59CB\\u7F16\\u7801\\u4E4B\\u524D\\u4E25\\u683C\\u628A\\u63A7\\u6570\\u636E\\u5E93\\u8BBE\\u8BA1\\u201D\\u3002\",paraId:1,tocIndex:2},{value:\"\\xA0 \\xA0 \\u4EFB\\u4F55\\u53EF\\u843D\\u5730\\u7684 APaas/Lowcode \\u4E00\\u5B9A\\u4E0D\\u662F\\u901A\\u7528\\u5316\\u7684\\u3002\\u5E73\\u53F0\\u5EFA\\u8BBE\\uFF0C\\u5E76\\u975E\\u4ECE 0 \\u5F00\\u59CB\\u7684\\uFF0C\\u4ED6\\u662F\\u5BF9\\u672C\\u516C\\u53F8\\u5E73\\u53F0\\u5316\\u4E4B\\u524D\\u7684\\u6280\\u672F\\u6808\\uFF0C\\u9879\\u76EE\\u4EA4\\u4ED8\\u8FC7\\u7A0B\\u7684\\u62BD\\u8C61\\uFF0C\\u5FC5\\u7136\\u4F1A\\u660E\\u663E\\u504F\\u5411\\u67D0\\u4E9B\\u5B58\\u91CF\\u7684\\u4E1A\\u52A1\\u9886\\u57DF\\u3002\\u800C\\u6B63\\u662F\\u7531\\u4E8E\\u7ED3\\u5408\\u4E86\\u6280\\u672F\\u6808\\u7ED1\\u5B9A\\u548C\\u4E1A\\u52A1\\u5C5E\\u6027\\uFF0C\\u5E73\\u53F0\\u624D\\u6781\\u5177\\u4EF7\\u503C\\u548C\\u7ADE\\u4E89\\u529B\\uFF08\\u65E0\\u53EF\\u66FF\\u4EE3\\uFF09\\u3002\",paraId:2,tocIndex:3},{value:\"\\xA0 \\xA0 \\u56E0\\u6B64\\u4F1A\\u4EA7\\u751F\\u5F88\\u591A\\u5728\\u672C\\u516C\\u53F8\\u6280\\u672F\\u548C\\u4E1A\\u52A1\\u751F\\u6001\\u91CC\\u9762\\u7EA6\\u5B9A\\u6210\\u4FD7\\u7684\\u6982\\u5FF5\\u5143\\u7D20\\uFF08\\u8D44\\u6E90\\uFF09\\uFF0C\\u4EE5\\u51CF\\u5C11\\u6C9F\\u901A\\u6210\\u672C\\u3002\",paraId:2,tocIndex:3},{value:\"\\xA0 \\xA0 \\u7531\\u4E8E\\u5E73\\u53F0\\u662F\\u4EE5\\u6A21\\u578B\\u4E3A\\u4E2D\\u5FC3\\u7684\\uFF0C\\u56E0\\u6B64 ER \\u56FE\\u662F\\u8FD9\\u4E9B\\u6982\\u5FF5\\u5143\\u7D20\\uFF08\\u8D44\\u6E90\\uFF09\\u53EF\\u89C6\\u5316\\u8868\\u73B0\\u7684\\u6700\\u4F73\\u821E\\u53F0\\uFF0C\\u9700\\u8981\\u5BF9\\u901A\\u7528\\u7684 ERD \\u8FDB\\u884C\\u5B9A\\u5236\\u5316\\u6269\\u5C55\\u4E1A\\u52A1\\u542B\\u4E49\\u7684\\u5143\\u7D20\\uFF0C\\u9886\\u57DF\\u4E13\\u5BB6\\u53EF\\u4EE5\\u5728\\u4E0A\\u9762\\u8FDB\\u884C\\u4E1A\\u52A1\\u521B\\u9020\\u3002\",paraId:2,tocIndex:3},{value:\"\\xA0 \\xA0\",paraId:2,tocIndex:3},{value:\"\\xA0 \\xA0ER \\u56FE\\u8BBE\\u8BA1\\u5DE5\\u5177\\u6709\\u4E00\\u4E2A\\u795E\\u5668\\uFF0C\\u5C31\\u662F sysbase \\u7684 powerdesigner, \\u7531\\u4E8E\\u662F\\u5982\\u6B64\\u666E\\u904D\\uFF0C\\u6709\\u4E0D\\u5C11\\u516C\\u53F8\\u56E0\\u4E3A\\u7528\\u4E86\\u7834\\u89E3\\u7248\\u88AB\\u76EF\\u4E0A\\u8981\\u6C42\\u8D2D\\u4E70 license\\u3002\",paraId:3,tocIndex:4},{value:\"\\xA0 \\xA0powerdesigner \\u53EA\\u6240\\u4EE5\\u6D41\\u884C\\uFF0C\\u9664\\u4E86\\u57FA\\u672C\\u529F\\u80FD\\u8FC7\\u786C\\u5916\\uFF0C\\u6700\\u5927\\u7684\\u4F18\\u70B9\\u5728\\u4E8E\\u80FD\\u591F\\u5F88\\u597D\\u7684\\u652F\\u6301\\u5143\\u4FE1\\u606F\\u4E2D\\u6587\\uFF0C\\u8FD9\\u4E2A\\u662F\\u540C\\u7C7B\\u7684 ER \\u56FE\\u8F6F\\u4EF6\\u7F3A\\u5C11\\u7684\\uFF08\\u539F\\u56E0\\u662F ER \\u56FE\\u8F6F\\u4EF6\\u90FD\\u662F\\u6D77\\u5916\\u516C\\u53F8\\u5F00\\u53D1\\u7684\\uFF09\\u3002\",paraId:3,tocIndex:4},{value:\"powerdesigner \\u7684\\u4E00\\u4E2A\\u7F3A\\u70B9\\u662F\\uFF0C\\u53EA\\u652F\\u6301 windows\",paraId:4,tocIndex:4},{value:\"\\xA0 \\xA0 \\u53EF\\u80FD\\u662F\\u6211\\u5B64\\u964B\\u5BE1\\u95FB\\uFF0C\\u5728 mac \\u4E0A\\u9762\\u6CA1\\u6709\\u627E\\u5230\\u5F88\\u597D\\u7684\\u66FF\\u4EE3\\u54C1....\",paraId:4,tocIndex:4},{value:\"\\xA0 \\u6240\\u4EE5\\uFF0C \\u505A\\u5728\\u7EBF ER \\u56FE\\uFF0C\\u9664\\u4E86\\u4EA7\\u54C1\\u672C\\u8EAB\\u7684\\u9700\\u8981\\u5916\\uFF0C\\u6050\\u6015\\u8FD9\\u4E5F\\u662F\\u4E00\\u4E2A\\u91CD\\u8981\\u7684\\u539F\\u56E0\\u3002\",paraId:4,tocIndex:4},{value:\"\\u4EE5\\u4E0B\\u6458\\u5F55 w3cschool \\u7684\\u539F\\u6587\\uFF1A\",paraId:5,tocIndex:7},{value:\"Canvas\",paraId:6,tocIndex:7},{value:\"SVG\",paraId:6,tocIndex:7},{value:\"\\u4F9D\\u8D56\\u5206\\u8FA8\\u7387\",paraId:6,tocIndex:7},{value:\"\\u4E0D\\u4F9D\\u8D56\\u5206\\u8FA8\\u7387\",paraId:6,tocIndex:7},{value:\"\\u4E0D\\u652F\\u6301\\u4E8B\\u4EF6\\u5904\\u7406\\u5668\",paraId:6,tocIndex:7},{value:\"\\u652F\\u6301\\u4E8B\\u4EF6\\u5904\\u7406\\u5668\",paraId:6,tocIndex:7},{value:\"\\u5F31\\u7684\\u6587\\u672C\\u6E32\\u67D3\\u80FD\\u529B\",paraId:6,tocIndex:7},{value:\"\\u6700\\u9002\\u5408\\u5E26\\u6709\\u5927\\u578B\\u6E32\\u67D3\\u533A\\u57DF\\u7684\\u5E94\\u7528\\u7A0B\\u5E8F\\uFF08\\u6BD4\\u5982\\u8C37\\u6B4C\\u5730\\u56FE\\uFF09\",paraId:6,tocIndex:7},{value:\"\\u80FD\\u591F\\u4EE5 .png \\u6216 .jpg \\u683C\\u5F0F\\u4FDD\\u5B58\\u7ED3\\u679C\\u56FE\\u50CF\",paraId:6,tocIndex:7},{value:\"\\u590D\\u6742\\u5EA6\\u9AD8\\u4F1A\\u51CF\\u6162\\u6E32\\u67D3\\u901F\\u5EA6\\uFF08\\u4EFB\\u4F55\\u8FC7\\u5EA6\\u4F7F\\u7528 DOM \\u7684\\u5E94\\u7528\\u90FD\\u4E0D\\u5FEB\\uFF09\",paraId:6,tocIndex:7},{value:\"\\u6700\\u9002\\u5408\\u56FE\\u50CF\\u5BC6\\u96C6\\u578B\\u7684\\u6E38\\u620F\\uFF0C\\u5176\\u4E2D\\u7684\\u8BB8\\u591A\\u5BF9\\u8C61\\u4F1A\\u88AB\\u9891\\u7E41\\u91CD\\u7ED8\",paraId:6,tocIndex:7},{value:\"\\u4E0D\\u9002\\u5408\\u6E38\\u620F\\u5E94\\u7528\",paraId:6,tocIndex:7},{value:\"\\xA0 \\xA0 \\xA0 \\u76F8\\u6BD4 SVG\\uFF0CCanvas \\u66F4\\u50CF\\u662F\\u66F4\\u5E95\\u5C42\\u7684\\u5B9E\\u73B0\\uFF0C\\u540C\\u65F6 Canvas \\u662F WebGL \\u7684\\u5165\\u53E3\\uFF0C \\u6027\\u80FD\\u4F18\\u5316\\u7684\\u7A7A\\u95F4\\u66F4\\u5927\\u3002\",paraId:7,tocIndex:7},{value:\"\\xA0 \\xA0 \\xA0 \\u5BF9\\u4E8E\\u5BF9\\u6807 powerdesigner \\u7684 web \\u7248\\u7684 ER \\u56FE\\u6765\\u8BF4\\uFF0C\\xA0\\u201C\\u9700\\u8981\\u5C55\\u793A\\u6210\\u767E\\u4E0A\\u5343\\u4E2A\\u6A21\\u578B\\u201D\\u8FD9\\u4E2A\\u662F\\u6700\\u6838\\u5FC3\\u7684\\u529F\\u80FD \\xA0\\uFF0C Canvas \\u6210\\u4E86\\u5FC5\\u7136\\u7684\\u9009\\u62E9\\u3002\\u4F46\\u662F\\uFF0C\\u7531\\u4E8E Canvas \\u63D0\\u4F9B\\u7684\\u662F\\u66F4\\u5E95\\u5C42\\u7ED8\\u56FE api, \\u7F3A\\u4E4F\\u4E0A\\u5C42\\u5C01\\u88C5 \\uFF0C\\u4F1A\\u5BFC\\u81F4\\u5F00\\u53D1\\u4F53\\u9A8C\\u548C\\u901F\\u5EA6\\u4E0A\\u8FC7\\u4E8E\\u539F\\u59CB \\uFF0C\\u800C G6 \\u4F5C\\u4E3A\\u4E00\\u6B3E\\u56FE\\u53EF\\u89C6\\u5316\\u5F15\\u64CE\\uFF0C\\u53EF\\u4EE5\\u5F25\\u8865\\u8FD9\\u91CC\\u9762\\u7684\\u5DEE\\u8DDD \\u3002\",paraId:7,tocIndex:7},{value:\"\\xA0 \\xA0 \\xA0\\xA0\",paraId:7,tocIndex:7}],_={\"docs-demo-demo-erd\":{component:r.lazy(function(){return Promise.all([e.e(448),e.e(433)]).then(e.bind(e,30408))}),asset:{type:\"BLOCK\",id:\"docs-demo-demo-erd\",refAtomIds:[],dependencies:{\"index.tsx\":{type:\"FILE\",value:e(48109).Z},react:{type:\"NPM\",value:\"18.2.0\"},\"web-pdm\":{type:\"NPM\",value:\"1.0.0\"},\"style.less\":{type:\"FILE\",value:e(71539).Z},\"test/g6-test/mock/module-test.ts\":{type:\"FILE\",value:e(18043).Z},\"test/g6-test/mock/model-test.ts\":{type:\"FILE\",value:e(84912).Z}}}}},M={title:\"\\u4F8B\\u5B50\",toc:\"menu\",filename:\"docs/demo/index.zh-CN.md\",order:1,nav:{order:3,title:\"\\u4F8B\\u5B50\"}},L=[],k=[],U={},x={title:\"\\u4ECE 0.0.X \\u8FC1\\u79FB\",toc:\"menu\",filename:\"docs/guide/migration.md\",legacy:\"/migration\"},F=[{id:\"\\u4ECE-00x-\\u8FC1\\u79FB\",depth:1,title:\"\\u4ECE 0.0.X \\u8FC1\\u79FB\"}],K=[],G={},q={title:\"Relation\",toc:\"menu\",filename:\"docs/guide/relation.md\",description:\"(\\u5EFA\\u8BBE\\u4E2D)\"},X=[],oe=[{value:\"(\\u5EFA\\u8BBE\\u4E2D)\",paraId:0}],Ee={},Te={title:\"\\u57FA\\u672C\\u64CD\\u4F5C\",toc:\"menu\",filename:\"docs/guide/toolbar.md\"},ae=[],z=[],A={\"docs-config-demo-type-erd\":{component:r.lazy(function(){return Promise.all([e.e(448),e.e(433)]).then(e.bind(e,53926))}),asset:null}},T={title:\"props\",toc:\"menu\",filename:\"docs/config/index.md\",order:1,nav:{order:2,title:\"Config\"}},R=[{id:\"props\",depth:1,title:\"props\"},{id:\"models\",depth:2,title:\"models\"},{id:\"modules\",depth:2,title:\"modules\"},{id:\"height\",depth:2,title:\"height\"},{id:\"style\",depth:2,title:\"style\"},{id:\"themecolor\",depth:2,title:\"themeColor\"},{id:\"darkness\",depth:2,title:\"darkness\"},{id:\"onignoreedge\",depth:2,title:\"onIgnoreEdge\"},{id:\"onmodeldetail\",depth:2,title:\"onModelDetail\"},{id:\"onreload\",depth:2,title:\"onReload\"},{id:\"intl\",depth:2,title:\"intl\"},{id:\"onintl\",depth:2,title:\"onIntl\"},{id:\"components\",depth:2,title:\"components\"},{id:\"iconrenders\",depth:2,title:\"IconRenders\"},{id:\"disableicons\",depth:2,title:\"disableIcons\"},{id:\"onlymode\",depth:2,title:\"onlyMode\"}],j=[{value:\"Description\\uFF1A Model and Filed init config\",paraId:0,tocIndex:1},{value:\"Type\\uFF1A ModelConfig[]\",paraId:0,tocIndex:1},{value:`\nexport type ModelConfig = {\n    name: string\n    label: string\n    fields: FieldConfig[]\n    module: string\n    type?: string\n\n    aggregateRoot?: boolean\n    aggregateModelKey: string\n    belongAggregate: string\n}\n\nexport type MetaTypeConfig = {\n    relationModel: string\n    type: 'Relation'\n}\n\nexport type FieldMetaTypeConfig = {\n    relationModel: string\n    type: 'Relation'\n    field: string\n}\n\nexport type FieldConfig = {\n    name: string\n    label: string\n    typeMeta?: MetaTypeConfig | FieldMetaTypeConfig[]\n    type: string\n}\n\n\n\n\n\n\n\n\n\n\n\n`,paraId:1,tocIndex:1},{value:\"\\u8BF4\\u660E\\uFF1A \\u6A21\\u5757\\u7684\\u521D\\u59CB\\u5316\\u914D\\u7F6E\",paraId:2,tocIndex:2},{value:\"\\u7C7B\\u578B\\uFF1A ModuleConfig[]\",paraId:2,tocIndex:2},{value:`export type ModuleConfig = {\n    name: string,\n    label: string,\n}\n\n`,paraId:3,tocIndex:2},{value:\"\\u8BF4\\u660E\\uFF1A \\u5BB9\\u5668\\u7684\\u9AD8\\u5EA6\",paraId:4,tocIndex:3},{value:\"\\u7C7B\\u578B\\uFF1A number | string \\uFF5C undefined\",paraId:4,tocIndex:3},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1A undefined\",paraId:4,tocIndex:3},{value:\"\\u8BF4\\u660E\\uFF1A \\u5BB9\\u5668\\u7684\\u6837\\u5F0F\\u8BBE\\u7F6E\",paraId:5,tocIndex:4},{value:\"\\u7C7B\\u578B\\uFF1A html style \\xA0 \\u5BF9\\u8C61\",paraId:5,tocIndex:4},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1A undefined\",paraId:5,tocIndex:4},{value:\"\\u8BF4\\u660E\\uFF1A \\u76AE\\u80A4\\u4E3B\\u989C\\u8272\",paraId:6,tocIndex:5},{value:\"\\u7C7B\\u578B\\uFF1A string\",paraId:6,tocIndex:5},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1A black\",paraId:6,tocIndex:5},{value:\"\\u8BF4\\u660E\\uFF1A \\u662F\\u5426\\u6697\\u8272\\u80CC\\u666F\",paraId:7,tocIndex:6},{value:\"\\u7C7B\\u578B\\uFF1A boolean\",paraId:7,tocIndex:6},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1Afalse\",paraId:7,tocIndex:6},{value:\"\\u8BF4\\u660E\\uFF1A \\u662F\\u5426\\u5FFD\\u7565\\u8FDE\\u63A5\\u7EBF\\u7684\\u521B\\u5EFA\",paraId:8,tocIndex:7},{value:\"\\u7C7B\\u578B\\uFF1A (field: FieldConfig) => boolean\",paraId:8,tocIndex:7},{value:\"\\u8BF4\\u660E\\uFF1A \\u70B9\\u51FB\\u6A21\\u578B\\u201C\\u67E5\\u770B\\u201D\\u6309\\u94AE\\u4E8B\\u4EF6\",paraId:9,tocIndex:8},{value:\"\\u7C7B\\u578B\\uFF1A (model: ModelConfig) => void\",paraId:9,tocIndex:8},{value:\"\\u8BF4\\u660E\\uFF1A \\u5237\\u65B0\\u6570\\u636E\\u6309\\u94AE\\u63A5\\u53E3\",paraId:10,tocIndex:9},{value:\"\\u7C7B\\u578B\\uFF1A () => TData\",paraId:10,tocIndex:9},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1A undefine\",paraId:10,tocIndex:9},{value:` export type TData = {\n    models : ModelConfig[],\n    modules :ModuleConfig[]\n}\n`,paraId:11,tocIndex:9},{value:\"\\u8BF4\\u660E\\uFF1A \\u5185\\u7F6E\\u56FD\\u9645\\u5316\\u914D\\u7F6E\",paraId:12,tocIndex:10},{value:\"\\u7C7B\\u578B\\uFF1A 'EN'|'CH'\",paraId:12,tocIndex:10},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1A'CH'\",paraId:12,tocIndex:10},{value:\"\\u8BF4\\u660E\\uFF1A \\u5916\\u7F6E\\u7684\\u56FD\\u9645\\u5316\\u4F20\\u5165\\u63A5\\u53E3\",paraId:13,tocIndex:11},{value:\"\\u7C7B\\u578B\\uFF1A (text: string) => string\",paraId:13,tocIndex:11},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1Aundefine\",paraId:13,tocIndex:11},{value:\"\\u8BF4\\u660E\\uFF1A \\u7528\\u4E8E\\u66FF\\u6362antd\\u7684\\u9ED8\\u8BA4\\u7EC4\\u4EF6\",paraId:14,tocIndex:12},{value:\"\\u7C7B\\u578B\\uFF1A IComponentConfig\",paraId:14,tocIndex:12},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1Aundefine\",paraId:14,tocIndex:12},{value:`export type IComponentConfig = {\n    Tree?: React.ComponentType\n    Input?: React.ComponentType\n    Button?: React.ComponentType\n    Dropdown?: React.ComponentType\n    Menu?: React.ComponentType\n    Select?: React.ComponentType\n    Tooltip?: React.ComponentType\n}\n\n`,paraId:15,tocIndex:12},{value:\"\\u8BF4\\u660E\\uFF1A \\u7528\\u4E8E\\u66FF\\u6362\\u5DE5\\u5177\\u680F\\u7684\\u56FE\\u6807\\u7EC4\\u4EF6\",paraId:16,tocIndex:13},{value:\"\\u7C7B\\u578B\\uFF1A Record<string, React.ReactNode>\",paraId:16,tocIndex:13},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1Aundefine\",paraId:16,tocIndex:13},{value:`    undo: <RollbackOutlined />,   \\u91CD\\u505A\n    redo: <RollbackOutlined style={{ transform: 'scaleX(-1)' }} />, \\u64A4\\u9500\n    min: <ZoomOutOutlined />, \\u7F29\\u5C0F\n    max: <ZoomInOutlined />,  \\u653E\\u5927\n    full: <BorderOutlined />, \\u5168\\u5C4F\n    miniMap: <PictureFilled />, \\u5C0F\\u5730\\u56FE\\u663E\\u793A\n    miniMapNo: <PictureOutlined />, \\u5C0F\\u5730\\u56FE\\u5173\\u95ED\n    dagreLayout: <PartitionOutlined />, \\u5C42\\u6B21\\u5E03\\u5C40\n    relationLayout: <UngroupOutlined />, \\u5173\\u8054\\u5E03\\u5C40\n    reload: <ReloadOutlined />, \\u5237\\u65B0\n    image: <DownloadOutlined />, \\u4E0B\\u8F7D\\u5730\\u56FE\n    darkness: <SnippetsFilled />, \\u6697\\u9ED1\\u6A21\\u578B\n    light: <SnippetsOutlined />,  \\u5149\\u660E\\u6A21\\u5F0F\n    colorClose: <BgColorsOutlined />, \\u5F69\\u8272\\u9762\\u677F\\u5173\\u95ED\n    colorOpen: <BgColorsOutlined />   \\u5F69\\u8272\\u9762\\u677F\\u6253\\u5F00\n\n`,paraId:17,tocIndex:13},{value:\"\\u8BF4\\u660E\\uFF1A \\u7528\\u4E8E\\u7981\\u7528\\u5DE5\\u5177\\u680F\\u7684\\u56FE\\u6807,\\u540D\\u79F0\\u540C\\u4E0A\",paraId:18,tocIndex:14},{value:\"\\u7C7B\\u578B\\uFF1A string[]\",paraId:18,tocIndex:14},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1A[]\",paraId:18,tocIndex:14},{value:\"\\u8BF4\\u660E\\uFF1A \\u662F\\u5426\\u53EA\\u6709\\u4E00\\u79CD\\u6A21\\u5F0F\\uFF0C\\u5F00\\u542F\\u540E\\u9ED8\\u8BA4\\u53EA\\u6709\\u6811\\u5F62\\u6A21\\u5F0F\",paraId:19,tocIndex:15},{value:\"\\u7C7B\\u578B\\uFF1A boolean\",paraId:19,tocIndex:15},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1Afalse\",paraId:19,tocIndex:15}],C={},B={title:\"Guide\",toc:\"menu\",filename:\"docs/guide/index.md\",nav:{title:\"Guide\",order:1},description:\"E-R \\u65B9\\u6CD5\\u662F\\u201C\\u5B9E\\u4F53-\\u8054\\u7CFB\\u65B9\\u6CD5\\u201D\\uFF08Entity-Relationship Approach\\uFF09\\u7684\\u7B80\\u79F0\\u3002\\u5B83\\u662F\\u63CF\\u8FF0\\u73B0\\u5B9E\\u4E16\\u754C\\u6982\\u5FF5\\u7ED3\\u6784\\u6A21\\u578B\\u7684\\u6709\\u6548\\u65B9\\u6CD5\\uFF0C\\u800C ER \\u56FE\\u5C31\\u662F\\u8FD9\\u4E2A\\u65B9\\u6CD5\\u5728\\u754C\\u9762\\u4E0A\\u7684\\u53EF\\u89C6\\u5316\\u5448\\u73B0\\u3002\\xA0 \\xA0 \\u65E0\\u8BBA\\u662F\\u666E\\u904D\\u7684\\u6570\\u636E\\u5E93\\u9A71\\u52A8\\u7684\\u5F00\\u53D1\\u65B9\\u5F0F\\uFF0C\\u8FD8\\u662F\\u9AD8\\u5927\\u4E0A\\u7684 DDD\\uFF0C\\u6216\\u8005\\u662F\\u6A21\\u578B\\u9A71\\u52A8\\u7684 Lowcode \\u5E73\\u53F0\\uFF0C \\u4EA6\\u6216\\u4E3B\\u6570\\u636E\\u9A71\\u52A8\\u7684 APaas \\u5E73\\u53F0\\uFF0CER \\u56FE\\u63D0\\u4F9B\\u4E86\\u4E00\\u79CD\\u53EF\\u89C6\\u5316\\u4E1A\\u52A1\\u7684\\u89C6\\u89D2\\u3002\"},fe=[{id:\"what\",depth:1,title:\"What?\"},{id:\"why\",depth:1,title:\"Why?\"},{id:\"\\u4E1A\\u52A1\\u8BBE\\u8BA1--\\u6A21\\u578B\\u8BBE\\u8BA1--\\u6570\\u636E\\u5E93\\u8BBE\\u8BA1\",depth:2,title:\"\\u4E1A\\u52A1\\u8BBE\\u8BA1 \\u2248 \\u6A21\\u578B\\u8BBE\\u8BA1 \\xA0\\u2248 \\u6570\\u636E\\u5E93\\u8BBE\\u8BA1\"},{id:\"\\u5B9A\\u5236\\u5316\\u7684-er-\\u56FE\\u66F4\\u6709\\u4EF7\\u503C\",depth:2,title:\"\\u5B9A\\u5236\\u5316\\u7684 ER \\u56FE\\u66F4\\u6709\\u4EF7\\u503C\"},{id:\"\\u5728\\u7EBF\\u7248\\u672C\\u7684-powerdesigner\",depth:2,title:\"\\u5728\\u7EBF\\u7248\\u672C\\u7684 powerdesigner\"},{id:\"how\",depth:1,title:\"How?\"},{id:\"\\u6280\\u672F\\u9009\\u578B\",depth:2,title:\"\\u6280\\u672F\\u9009\\u578B\"},{id:\"svg-vs-canvas\",depth:3,title:\"SVG vs Canvas\"}],Ae=[{value:\"\\xA0 \\xA0E-R \\u65B9\\u6CD5\\u662F\\u201C\\u5B9E\\u4F53-\\u8054\\u7CFB\\u65B9\\u6CD5\\u201D\\uFF08Entity-Relationship Approach\\uFF09\\u7684\\u7B80\\u79F0\\u3002\\u5B83\\u662F\\u63CF\\u8FF0\\u73B0\\u5B9E\\u4E16\\u754C\\u6982\\u5FF5\\u7ED3\\u6784\\u6A21\\u578B\\u7684\\u6709\\u6548\\u65B9\\u6CD5\\uFF0C\\u800C ER \\u56FE\\u5C31\\u662F\\u8FD9\\u4E2A\\u65B9\\u6CD5\\u5728\\u754C\\u9762\\u4E0A\\u7684\\u53EF\\u89C6\\u5316\\u5448\\u73B0\\u3002\",paraId:0,tocIndex:0},{value:\"\\xA0 \\xA0 \\u65E0\\u8BBA\\u662F\\u666E\\u904D\\u7684\\u6570\\u636E\\u5E93\\u9A71\\u52A8\\u7684\\u5F00\\u53D1\\u65B9\\u5F0F\\uFF0C\\u8FD8\\u662F\\u9AD8\\u5927\\u4E0A\\u7684 DDD\\uFF0C\\u6216\\u8005\\u662F\\u6A21\\u578B\\u9A71\\u52A8\\u7684 Lowcode \\u5E73\\u53F0\\uFF0C \\u4EA6\\u6216\\u4E3B\\u6570\\u636E\\u9A71\\u52A8\\u7684 APaas \\u5E73\\u53F0\\uFF0CER \\u56FE\\u63D0\\u4F9B\\u4E86\\u4E00\\u79CD\\u53EF\\u89C6\\u5316\\u4E1A\\u52A1\\u7684\\u89C6\\u89D2\\u3002\",paraId:0,tocIndex:0},{value:\"\\u6211\\u4EEC\\u77E5\\u9053\\uFF0C\\u4E00\\u4E2A\\u597D\\u7684 APaas/Lowcode \\u5E73\\u53F0\\u80FD\\u5145\\u5206\\u9694\\u79BB\\u4E86\\u6280\\u672F\\u590D\\u6742\\u5EA6\\u548C\\u4E1A\\u52A1\\u590D\\u6742\\u5EA6\\uFF0C\\u800C\\u6A21\\u578B\\u5143\\u6570\\u636E\\u4F5C\\u4E3A\\u7CFB\\u7EDF\\u8F93\\u5165\\u53C2\\u6570\\uFF08\\u6BCF\\u4E2A\\u9879\\u76EE\\u7684\\u6A21\\u578B\\u5B57\\u6BB5\\u4E0D\\u76F8\\u540C\\uFF09\\uFF0CER \\u56FE\\u53EF\\u4EE5\\u4ECE\\u8FD9\\u4E2A\\u89D2\\u5EA6\\u4E0A\\u6765\\u5EA6\\u91CF\\u4E00\\u4E2A\\u7CFB\\u7EDF\\u7684\\u4E1A\\u52A1\\u590D\\u6742\\u5EA6\\u3002\",paraId:1,tocIndex:2},{value:\"\\xA0 \\xA0 \\u5728\\u4E1A\\u52A1\\u590D\\u6742\\u5927\\u578B\\u9879\\u76EE\\u91CC\\u9762\\uFF0C\\u4E00\\u822C\\u4F1A\\u91C7\\u7528 DDD \\u7684\\u65B9\\u6CD5\\u8BBA\\u6765\\u8FDB\\u884C\\u4E1A\\u52A1\\u8BBE\\u8BA1\\uFF0C\\u800C\\u9886\\u57DF\\u6A21\\u578B\\u7684\\u8BBE\\u8BA1\\u662F\\u5176\\u4E2D\\u5F88\\u91CD\\u8981\\u7684\\u4E00\\u90E8\\u5206\\uFF0C\\u4E00\\u822C\\u8BBE\\u8BA1\\u6A21\\u578B\\u7684\\u4EBA\\u662F\\u9886\\u57DF\\u4E13\\u5BB6\\u548C\\u5B9E\\u73B0\\u529F\\u80FD\\u7684\\u5F00\\u53D1\\u8005\\u5E76\\u4E0D\\u662F\\u4E00\\u6CE2\\u4EBA\\uFF0C\\u53EF\\u89C6\\u5316\\u7684 ER \\u56FE\\u53EF\\u80FD\\u4F5C\\u4E3A\\u4E2D\\u95F4\\u6001\\u4EA7\\u7269\\u6210\\u4E3A\\u4E86\\u91CD\\u8981\\u7684\\u4EA4\\u6D41\\u5DE5\\u5177\\u3002\",paraId:1,tocIndex:2},{value:\"\\xA0\\xA0\",paraId:1,tocIndex:2},{value:\"\\xA0\\xA0\",paraId:1,tocIndex:2},{value:\"\\xA0 \\xA0 \\xA0 \\u800C\\u5728\\u4E2D\\u5C0F\\u578B\\u9879\\u76EE\\u4E2D\\uFF0C\\u7531\\u4E8E\\u4E1A\\u52A1\\u548C\\u754C\\u9762\\u4EA4\\u4ED8\\u7B80\\u5355\\uFF0C\\u89C6\\u56FE\\u6A21\\u578B\\uFF08VO\\uFF09\\uFF0C\\u4E1A\\u52A1\\u6A21\\u578B\\uFF08BO\\uFF09\\uFF0C\\u6570\\u636E\\u6A21\\u578B\\uFF08DO\\uFF09 \\u503E\\u5411\\u4E8E\\u4E09\\u5143\\u5408\\u4E00\\uFF0CER \\u56FE\\u5219\\u5145\\u5F53\\u6570\\u636E\\u5E93\\u8BBE\\u8BA1\\u5DE5\\u5177\\u3002\",paraId:1,tocIndex:2},{value:\"\\xA0 \\xA0 \\xA0 \\u4E1A\\u52A1\\u5982\\u6B64\\u91CD\\u8981\\uFF0C\\u60F3\\u8C61\\u4E00\\u4E0B\\uFF0C\\u4E00\\u822C\\u5728\\u9879\\u76EE KO \\u6216\\u8005\\u8BC4\\u5BA1\\u671F\\u95F4\\uFF0C\\u6240\\u6709\\u4EBA\\u805A\\u5728\\u4E00\\u8D77\\uFF0C\\u57FA\\u672C\\u4E0A\\u90FD\\u4F1A\\u628A ER \\u56FE\\u5C55\\u5F00\\u6765\\u5171\\u540C\\u8BA8\\u8BBA\\u3002\\u5BF9\\u4E8E\\u4E00\\u4E9B\\u4E2D\\u5C0F\\u578B\\u9879\\u76EE\\uFF0CER \\u56FE\\u786E\\u5B9A\\u4E86\\uFF0C\\u57FA\\u672C\\u4E0A\\u4E1A\\u52A1\\u903B\\u8F91\\uFF0C\\u5DE5\\u4F5C\\u91CF\\u90FD\\u786E\\u5B9A\\u4E86\\uFF0C\\u901A\\u4FD7\\u7684\\u8BF4\\uFF0C\\u8001\\u7A0B\\u5E8F\\u5458\\u548C\\u67B6\\u6784\\u5E08\\u4F1A\\u628A\\u8FD9\\u4E2A\\u8FC7\\u7A0B\\u53EB\\u201C\\u9879\\u76EE\\u5F00\\u59CB\\u7F16\\u7801\\u4E4B\\u524D\\u4E25\\u683C\\u628A\\u63A7\\u6570\\u636E\\u5E93\\u8BBE\\u8BA1\\u201D\\u3002\",paraId:1,tocIndex:2},{value:\"\\xA0 \\xA0 \\u4EFB\\u4F55\\u53EF\\u843D\\u5730\\u7684 APaas/Lowcode \\u4E00\\u5B9A\\u4E0D\\u662F\\u901A\\u7528\\u5316\\u7684\\u3002\\u5E73\\u53F0\\u5EFA\\u8BBE\\uFF0C\\u5E76\\u975E\\u4ECE 0 \\u5F00\\u59CB\\u7684\\uFF0C\\u4ED6\\u662F\\u5BF9\\u672C\\u516C\\u53F8\\u5E73\\u53F0\\u5316\\u4E4B\\u524D\\u7684\\u6280\\u672F\\u6808\\uFF0C\\u9879\\u76EE\\u4EA4\\u4ED8\\u8FC7\\u7A0B\\u7684\\u62BD\\u8C61\\uFF0C\\u5FC5\\u7136\\u4F1A\\u660E\\u663E\\u504F\\u5411\\u67D0\\u4E9B\\u5B58\\u91CF\\u7684\\u4E1A\\u52A1\\u9886\\u57DF\\u3002\\u800C\\u6B63\\u662F\\u7531\\u4E8E\\u7ED3\\u5408\\u4E86\\u6280\\u672F\\u6808\\u7ED1\\u5B9A\\u548C\\u4E1A\\u52A1\\u5C5E\\u6027\\uFF0C\\u5E73\\u53F0\\u624D\\u6781\\u5177\\u4EF7\\u503C\\u548C\\u7ADE\\u4E89\\u529B\\uFF08\\u65E0\\u53EF\\u66FF\\u4EE3\\uFF09\\u3002\",paraId:2,tocIndex:3},{value:\"\\xA0 \\xA0 \\u56E0\\u6B64\\u4F1A\\u4EA7\\u751F\\u5F88\\u591A\\u5728\\u672C\\u516C\\u53F8\\u6280\\u672F\\u548C\\u4E1A\\u52A1\\u751F\\u6001\\u91CC\\u9762\\u7EA6\\u5B9A\\u6210\\u4FD7\\u7684\\u6982\\u5FF5\\u5143\\u7D20\\uFF08\\u8D44\\u6E90\\uFF09\\uFF0C\\u4EE5\\u51CF\\u5C11\\u6C9F\\u901A\\u6210\\u672C\\u3002\",paraId:2,tocIndex:3},{value:\"\\xA0 \\xA0 \\u7531\\u4E8E\\u5E73\\u53F0\\u662F\\u4EE5\\u6A21\\u578B\\u4E3A\\u4E2D\\u5FC3\\u7684\\uFF0C\\u56E0\\u6B64 ER \\u56FE\\u662F\\u8FD9\\u4E9B\\u6982\\u5FF5\\u5143\\u7D20\\uFF08\\u8D44\\u6E90\\uFF09\\u53EF\\u89C6\\u5316\\u8868\\u73B0\\u7684\\u6700\\u4F73\\u821E\\u53F0\\uFF0C\\u9700\\u8981\\u5BF9\\u901A\\u7528\\u7684 ERD \\u8FDB\\u884C\\u5B9A\\u5236\\u5316\\u6269\\u5C55\\u4E1A\\u52A1\\u542B\\u4E49\\u7684\\u5143\\u7D20\\uFF0C\\u9886\\u57DF\\u4E13\\u5BB6\\u53EF\\u4EE5\\u5728\\u4E0A\\u9762\\u8FDB\\u884C\\u4E1A\\u52A1\\u521B\\u9020\\u3002\",paraId:2,tocIndex:3},{value:\"\\xA0 \\xA0\",paraId:2,tocIndex:3},{value:\"\\xA0 \\xA0ER \\u56FE\\u8BBE\\u8BA1\\u5DE5\\u5177\\u6709\\u4E00\\u4E2A\\u795E\\u5668\\uFF0C\\u5C31\\u662F sysbase \\u7684 powerdesigner, \\u7531\\u4E8E\\u662F\\u5982\\u6B64\\u666E\\u904D\\uFF0C\\u6709\\u4E0D\\u5C11\\u516C\\u53F8\\u56E0\\u4E3A\\u7528\\u4E86\\u7834\\u89E3\\u7248\\u88AB\\u76EF\\u4E0A\\u8981\\u6C42\\u8D2D\\u4E70 license\\u3002\",paraId:3,tocIndex:4},{value:\"\\xA0 \\xA0powerdesigner \\u53EA\\u6240\\u4EE5\\u6D41\\u884C\\uFF0C\\u9664\\u4E86\\u57FA\\u672C\\u529F\\u80FD\\u8FC7\\u786C\\u5916\\uFF0C\\u6700\\u5927\\u7684\\u4F18\\u70B9\\u5728\\u4E8E\\u80FD\\u591F\\u5F88\\u597D\\u7684\\u652F\\u6301\\u5143\\u4FE1\\u606F\\u4E2D\\u6587\\uFF0C\\u8FD9\\u4E2A\\u662F\\u540C\\u7C7B\\u7684 ER \\u56FE\\u8F6F\\u4EF6\\u7F3A\\u5C11\\u7684\\uFF08\\u539F\\u56E0\\u662F ER \\u56FE\\u8F6F\\u4EF6\\u90FD\\u662F\\u6D77\\u5916\\u516C\\u53F8\\u5F00\\u53D1\\u7684\\uFF09\\u3002\",paraId:3,tocIndex:4},{value:\"powerdesigner \\u7684\\u4E00\\u4E2A\\u7F3A\\u70B9\\u662F\\uFF0C\\u53EA\\u652F\\u6301 windows\",paraId:4,tocIndex:4},{value:\"\\xA0 \\xA0 \\u53EF\\u80FD\\u662F\\u6211\\u5B64\\u964B\\u5BE1\\u95FB\\uFF0C\\u5728 mac \\u4E0A\\u9762\\u6CA1\\u6709\\u627E\\u5230\\u5F88\\u597D\\u7684\\u66FF\\u4EE3\\u54C1....\",paraId:4,tocIndex:4},{value:\"\\xA0 \\u6240\\u4EE5\\uFF0C \\u505A\\u5728\\u7EBF ER \\u56FE\\uFF0C\\u9664\\u4E86\\u4EA7\\u54C1\\u672C\\u8EAB\\u7684\\u9700\\u8981\\u5916\\uFF0C\\u6050\\u6015\\u8FD9\\u4E5F\\u662F\\u4E00\\u4E2A\\u91CD\\u8981\\u7684\\u539F\\u56E0\\u3002\",paraId:4,tocIndex:4},{value:\"\\u4EE5\\u4E0B\\u6458\\u5F55 w3cschool \\u7684\\u539F\\u6587\\uFF1A\",paraId:5,tocIndex:7},{value:\"Canvas\",paraId:6,tocIndex:7},{value:\"SVG\",paraId:6,tocIndex:7},{value:\"\\u4F9D\\u8D56\\u5206\\u8FA8\\u7387\",paraId:6,tocIndex:7},{value:\"\\u4E0D\\u4F9D\\u8D56\\u5206\\u8FA8\\u7387\",paraId:6,tocIndex:7},{value:\"\\u4E0D\\u652F\\u6301\\u4E8B\\u4EF6\\u5904\\u7406\\u5668\",paraId:6,tocIndex:7},{value:\"\\u652F\\u6301\\u4E8B\\u4EF6\\u5904\\u7406\\u5668\",paraId:6,tocIndex:7},{value:\"\\u5F31\\u7684\\u6587\\u672C\\u6E32\\u67D3\\u80FD\\u529B\",paraId:6,tocIndex:7},{value:\"\\u6700\\u9002\\u5408\\u5E26\\u6709\\u5927\\u578B\\u6E32\\u67D3\\u533A\\u57DF\\u7684\\u5E94\\u7528\\u7A0B\\u5E8F\\uFF08\\u6BD4\\u5982\\u8C37\\u6B4C\\u5730\\u56FE\\uFF09\",paraId:6,tocIndex:7},{value:\"\\u80FD\\u591F\\u4EE5 .png \\u6216 .jpg \\u683C\\u5F0F\\u4FDD\\u5B58\\u7ED3\\u679C\\u56FE\\u50CF\",paraId:6,tocIndex:7},{value:\"\\u590D\\u6742\\u5EA6\\u9AD8\\u4F1A\\u51CF\\u6162\\u6E32\\u67D3\\u901F\\u5EA6\\uFF08\\u4EFB\\u4F55\\u8FC7\\u5EA6\\u4F7F\\u7528 DOM \\u7684\\u5E94\\u7528\\u90FD\\u4E0D\\u5FEB\\uFF09\",paraId:6,tocIndex:7},{value:\"\\u6700\\u9002\\u5408\\u56FE\\u50CF\\u5BC6\\u96C6\\u578B\\u7684\\u6E38\\u620F\\uFF0C\\u5176\\u4E2D\\u7684\\u8BB8\\u591A\\u5BF9\\u8C61\\u4F1A\\u88AB\\u9891\\u7E41\\u91CD\\u7ED8\",paraId:6,tocIndex:7},{value:\"\\u4E0D\\u9002\\u5408\\u6E38\\u620F\\u5E94\\u7528\",paraId:6,tocIndex:7},{value:\"\\xA0 \\xA0 \\xA0 \\u76F8\\u6BD4 SVG\\uFF0CCanvas \\u66F4\\u50CF\\u662F\\u66F4\\u5E95\\u5C42\\u7684\\u5B9E\\u73B0\\uFF0C\\u540C\\u65F6 Canvas \\u662F WebGL \\u7684\\u5165\\u53E3\\uFF0C \\u6027\\u80FD\\u4F18\\u5316\\u7684\\u7A7A\\u95F4\\u66F4\\u5927\\u3002\",paraId:7,tocIndex:7},{value:\"\\xA0 \\xA0 \\xA0 \\u5BF9\\u4E8E\\u5BF9\\u6807 powerdesigner \\u7684 web \\u7248\\u7684 ER \\u56FE\\u6765\\u8BF4\\uFF0C\\xA0\\u201C\\u9700\\u8981\\u5C55\\u793A\\u6210\\u767E\\u4E0A\\u5343\\u4E2A\\u6A21\\u578B\\u201D\\u8FD9\\u4E2A\\u662F\\u6700\\u6838\\u5FC3\\u7684\\u529F\\u80FD \\xA0\\uFF0C Canvas \\u6210\\u4E86\\u5FC5\\u7136\\u7684\\u9009\\u62E9\\u3002\\u4F46\\u662F\\uFF0C\\u7531\\u4E8E Canvas \\u63D0\\u4F9B\\u7684\\u662F\\u66F4\\u5E95\\u5C42\\u7ED8\\u56FE api, \\u7F3A\\u4E4F\\u4E0A\\u5C42\\u5C01\\u88C5 \\uFF0C\\u4F1A\\u5BFC\\u81F4\\u5F00\\u53D1\\u4F53\\u9A8C\\u548C\\u901F\\u5EA6\\u4E0A\\u8FC7\\u4E8E\\u539F\\u59CB \\uFF0C\\u800C G6 \\u4F5C\\u4E3A\\u4E00\\u6B3E\\u56FE\\u53EF\\u89C6\\u5316\\u5F15\\u64CE\\uFF0C\\u53EF\\u4EE5\\u5F25\\u8865\\u8FD9\\u91CC\\u9762\\u7684\\u5DEE\\u8DDD \\u3002\",paraId:7,tocIndex:7},{value:\"\\xA0 \\xA0 \\xA0\\xA0\",paraId:7,tocIndex:7}],ge={},ce={title:\"Model\",toc:\"menu\",filename:\"docs/guide/model.md\",description:\"(\\u5EFA\\u8BBE\\u4E2D)\"},Me=[],_e=[{value:\"(\\u5EFA\\u8BBE\\u4E2D)\",paraId:0}],De=e(25359),Ce=e.n(De),it=e(49811),V=e.n(it),we={\"docs-demo-type-erd\":{component:r.lazy(function(){return Promise.all([e.e(448),e.e(433)]).then(e.bind(e,53926))}),asset:{type:\"BLOCK\",id:\"docs-demo-type-erd\",refAtomIds:[],dependencies:{\"index.tsx\":{type:\"FILE\",value:e(96764).Z},react:{type:\"NPM\",value:\"18.2.0\"},\"web-pdm\":{type:\"NPM\",value:\"1.0.0\"},\"style.less\":{type:\"FILE\",value:e(71539).Z},\"typedata.tsx\":{type:\"FILE\",value:e(29379).Z}}}},\"docs-demo-0\":{component:r.lazy(V()(Ce()().mark(function pt(){var Ot,at,wt,vt;return Ce()().wrap(function(At){for(;;)switch(At.prev=At.next){case 0:return At.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return Ot=At.sent,at=Ot.default,At.next=6,e.e(874).then(e.t.bind(e,63874,17));case 6:return wt=At.sent,vt=wt.default,At.abrupt(\"return\",{default:function(){return at.createElement(\"img\",{src:vt,width:\"260\"})}});case 9:case\"end\":return At.stop()}},pt)}))),asset:null},\"docs-demo-1\":{component:r.lazy(V()(Ce()().mark(function pt(){var Ot,at,wt,vt;return Ce()().wrap(function(At){for(;;)switch(At.prev=At.next){case 0:return At.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return Ot=At.sent,at=Ot.default,At.next=6,e.e(1).then(e.t.bind(e,1001,17));case 6:return wt=At.sent,vt=wt.default,At.abrupt(\"return\",{default:function(){return at.createElement(\"img\",{src:vt,width:\"260\"})}});case 9:case\"end\":return At.stop()}},pt)}))),asset:null}},Ie={title:\"web-pdm - \\u4E00\\u4E2A\\u7528G6\\u505A\\u7684ER\\u56FE\\u5DE5\\u5177\\uFF0C\\u6700\\u7EC8\\u76EE\\u6807\\u662F\\u60F3\\u505A\\u6210\\u5728\\u7EBF\\u7248\\u7684 powerdesigner\",toc:\"menu\",filename:\"docs/index.zh-CN.md\",order:10,hero:{title:\"web-pdm\",description:`\\u4E00\\u4E2A\\u7528G6\\u505A\\u7684ER\\u56FE\\u5DE5\\u5177\\uFF0C\\u6700\\u7EC8\\u76EE\\u6807\\u662F\\u60F3\\u505A\\u6210\\u5728\\u7EBF\\u7248\\u7684 powerdesigner\n`,actions:[{text:\"\\u7ACB\\u5373\\u4E0A\\u624B\",link:\"/guide/getting-started\"},{text:\"GitHub\",link:\"https://github.com/lusess123/web-pdm\"}]}},le=[{id:\"\\u5B89\\u88C5\",depth:2,title:\"\\u5B89\\u88C5\"},{id:\"\\u5FEB\\u901F\\u4F53\\u9A8C\",depth:2,title:\"\\u5FEB\\u901F\\u4F53\\u9A8C\"},{id:\"\\u53CD\\u9988\\u4E0E\\u5171\\u5EFA\",depth:2,title:\"\\u53CD\\u9988\\u4E0E\\u5171\\u5EFA\"},{id:\"\\u8D5E\\u52A9\",depth:2,title:\"\\u8D5E\\u52A9\"}],Ne=[{value:`\n$ npm i web-pdm\n\n`,paraId:0,tocIndex:0}],te={\"docs-demo-demo-erd\":{component:r.lazy(function(){return Promise.all([e.e(448),e.e(433)]).then(e.bind(e,30408))}),asset:{type:\"BLOCK\",id:\"docs-demo-demo-erd\",refAtomIds:[],dependencies:{\"index.tsx\":{type:\"FILE\",value:e(48109).Z},react:{type:\"NPM\",value:\"18.2.0\"},\"web-pdm\":{type:\"NPM\",value:\"1.0.0\"},\"style.less\":{type:\"FILE\",value:e(71539).Z},\"test/g6-test/mock/model-test.ts\":{type:\"FILE\",value:e(84912).Z},\"test/g6-test/mock/module-test.ts\":{type:\"FILE\",value:e(18043).Z}}}}},se={title:\"Demo\",toc:\"menu\",filename:\"docs/demo/index.md\",order:1,nav:{order:3,title:\"Demo\"}},pe=[],ee=[],Se={},Q={title:\"Next\",toc:\"menu\",filename:\"docs/guide/next.md\",legacy:\"/next\",description:'ER \\u56FE\\u7684\\u8FDE\\u7EBF\\uFF0C \"\\u5B57\\u6BB5\" --- \"\\u6A21\\u578B\"\\xA0\\u8FDE\\u63A5\\u70B9\\uFF0C\\u5728 G6 \\u91CC\\u9762\\u662F\\u901A\\u8FC7\"\\u951A\\u70B9\" \\u8FD9\\u4E2A\\u6982\\u5FF5\\u6765\\u5B9E\\u73B0\\u7684'},Z=[{id:\"\\u8E29\\u5751\\u548C\\u5B9E\\u8DF5\\u5206\\u4EAB\",depth:2,title:\"\\u8E29\\u5751\\u548C\\u5B9E\\u8DF5\\u5206\\u4EAB\"},{id:\"\\u8FDE\\u63A5\\u7EBF\",depth:3,title:\"\\u8FDE\\u63A5\\u7EBF\"},{id:\"\\u5E03\\u5C40\\u7B97\\u6CD5\\u9009\\u62E9\",depth:3,title:\"\\u5E03\\u5C40\\u7B97\\u6CD5\\u9009\\u62E9\"},{id:\"\\u6027\\u80FD\\u4F18\\u5316\",depth:3,title:\"\\u6027\\u80FD\\u4F18\\u5316\"}],Y=[{value:'ER \\u56FE\\u7684\\u8FDE\\u7EBF\\uFF0C \"\\u5B57\\u6BB5\" --- \"\\u6A21\\u578B\"\\xA0',paraId:0,tocIndex:1},{value:'\\u8FDE\\u63A5\\u70B9\\uFF0C\\u5728 G6 \\u91CC\\u9762\\u662F\\u901A\\u8FC7\"\\u951A\\u70B9\" \\u8FD9\\u4E2A\\u6982\\u5FF5\\u6765\\u5B9E\\u73B0\\u7684',paraId:0,tocIndex:1},{value:\"\\u8FDE\\u63A5\\u70B9\\u5728\\u5DE6\\u8FB9\",paraId:1,tocIndex:1},{value:\"\\u8FDE\\u63A5\\u70B9\\u5728\\u53F3\\u8FB9\",paraId:1,tocIndex:1},{value:\"\\u201C\\u8FDE\\u5B57\\u6BB5\\u4E0A\\u7684\\u951A\\u70B9\\u201D\\uFF0C\\u56FA\\u5B9A\\u4E0A\\u6709\\u4E24\\u4E2A\\uFF0C\\u5206\\u522B\\u653E\\u5728\\u4E00\\u5DE6\\u4E00\\u53F3.\",paraId:2,tocIndex:1},{value:\"\\u5982\\u4F55\\u6839\\u636E\\u4E24\\u4E2A\\u5173\\u8054\\u6A21\\u578B\\u7684\\u76F8\\u5BF9\\u65B9\\u4F4D\\u81EA\\u52A8\\u9009\\u62E9\\u5DE6\\u8FB9\\u8FD8\\u662F\\u53F3\\u8FB9\",paraId:2,tocIndex:1},{value:\"\\uFF1F\",paraId:2,tocIndex:1},{value:\"\\u6211\\u7684\\u65B9\\u6848\\u662F\\u5728 node:dragend \\u4E8B\\u4EF6\\u91CC\\u9762\\u6839\\u636E\\u76F8\\u5BF9\\u65B9\\u4F4D\\u505A\\u5224\\u65AD\\uFF0C\\u4FEE\\u6539 dege \\u7684 sourceAnchor \\u7684\\u503C\\uFF1A\",paraId:2,tocIndex:1},{value:` graph.on('node:dragend', (ev) => {\n    const shape = ev.target\n    const node = ev.item\n    const edges = node.getEdges()\n    const x = ev.x\n    edges.forEach((edge) => {\n      const sourceNode = edge.getSource()\n      const targetNode = edge.getTarget()\n\n      if (node === sourceNode) {\n        const edgeModel = edge.getModel()\n        const isTo = x < targetNode.getModel().x\n        const i = edgeModel.fieldIndex\n        const l = edgeModel.fieldsLength\n        if (sourceNode !== targetNode) {\n          graph.updateItem(edge, {\n            sourceAnchor: !isTo ? i + 2 : 2 + i + l,\n            // targetAnchor: isTo ? 0 : 1,\n          })\n\n        }\n\n      } else {\n        const edgeModel = edge.getModel()\n        const isTo = sourceNode.getModel().x < x\n        const i = edgeModel.fieldIndex\n        const l = edgeModel.fieldsLength\n\n        if (sourceNode !== targetNode) {\n        graph.updateItem(edge, {\n          sourceAnchor: !isTo ? i + 2 : 2 + i + l,\n        })\n      }\n      }\n    }) // ----\\u83B7\\u53D6\\u6240\\u6709\\u7684\\u8FB9\n`,paraId:3,tocIndex:1},{value:\"\\u201C\\u8FDE\\u5230\\u6A21\\u578B\\u4E0A\\u7684\\u951A\\u70B9\\u201D\\u5E94\\u8BE5\\u6CA1\\u6709\\u56FA\\u5B9A\\u7684\\u4F4D\\u7F6E\\uFF0C\\u800C\\u662F\\u5E94\\u8BE5\\u5728\\u6574\\u4E2A\\u6A21\\u578B\\u8282\\u70B9\\u8868\\u9762\\u81EA\\u52A8\\u8FDE\\u63A5\\u6700\\u8FD1\\u7684\\u951A\\u70B9\\uFF0C\\u5426\\u5219\\u8FDE\\u7EBF\\u4F1A\\u5F88\\u4E0D\\u597D\\u770B\",paraId:4,tocIndex:1},{value:\"\\u65E7\\u7248\\u672C\\u201C\\u8FDE\\u5230\\u6A21\\u578B\\u4E0A\\u7684\\u951A\\u70B9\\u201D\\u662F\\u56FA\\u5B9A\\u5728\\u6A21\\u578B\\u7684\\u4E24\\u8FB9\",paraId:5,tocIndex:1},{value:\"\\u6700\\u65B0\\u7248\\u672C\\u201C\\u8FDE\\u5230\\u6A21\\u578B\\u4E0A\\u7684\\u951A\\u70B9\\u201D\\u4F1A\\u81EA\\u52A8\\u627E\\u5230\\u6574\\u4E2A\\u5468\\u8FB9\\u6700\\u63A5\\u8FD1\\u7684\\u70B9\",paraId:5,tocIndex:1},{value:\"\\u5B9E\\u73B0\\u601D\\u8DEF\\u662F\\uFF0C\\u5F53\\u6211\\u5728 edge \\u6CA1\\u6709\\u8BBE\\u7F6E\\u951A\\u70B9\\u7684\\u65F6\\u5019\\uFF0Cg6 \\u4F1A\\u81EA\\u52A8\\u9009\\u62E9\\u6700\\u63A5\\u8FD1\\u7684\\u951A\\u70B9\\uFF0C\\u56E0\\u4E3A\\u6211\\u5728\\u6574\\u4E2A\\u6A21\\u578B\\u56FE\\u4E0A\\u9762\\u90FD\\u8BBE\\u7F6E\\u4E86\\u65E0\\u6570\\u7684\\u951A\\u70B9\\u53EF\\u4F9B\\u9009\\u62E9\\uFF1A\",paraId:6,tocIndex:1},{value:`    getAnchorPoints(cfg) {\n      const {\n        config,\n        data,\n      } = cfg\n      const {\n        fields,\n      } = data\n      const h = config.headerHeight + getLength(fields.length) * config.fieldHeight\n      return [[0, config.headerHeight / 2 / h], // \\u5DE6\\u4E0A\\u65B9\n      [1, config.headerHeight / 2 / h], // \\u53F3\\u4E0A\\u65B9\n      ...fields.map((field, index) => {\n        const x = 10 / config.width\n        const l = config.headerHeight + config.fieldHeight * (index + 1) - config.fieldHeight / 2\n        const y = l / h\n        return [x, y]\n      }), ...fields.map((field, index) => {\n        const x = (config.width - 10) / config.width\n        const l = config.headerHeight + config.fieldHeight * (index + 1) - config.fieldHeight / 2\n        const y = l / h\n        return [x, y]\n      }),\n      ...getTopAnch(50),\n     ...getBottomAnch(50),\n     ...getLeftAnch(100),\n     ...getRightAnch(100),\n    ]\n`,paraId:7,tocIndex:1},{value:\"\\u4E0A\\u4E0B\\u5DE6\\u53F3\\u7684\\u8FB9\\u754C\\u603B\\u5171\\u8BBE\\u7F6E\\u4E86 300 \\u4E2A\\u951A\\u70B9\\uFF0C\\u5E76\\u4E14\\u5747\\u5300\\u5206\\u5E03\",paraId:8,tocIndex:1},{value:\"\\u5BF9\\u4E8E ER \\u56FE\\u6765\\u8BF4\\uFF0C\\u5E03\\u5C40\\u6548\\u679C\\u7684\\u597D\\u574F\\u5F88\\u5F71\\u54CD\\u6574\\u4F53\\u7684\\u89C2\\u611F\\u3002\",paraId:9,tocIndex:2},{value:\"g6 \\u5185\\u7F6E\\u4E86\\u5404\\u79CD\\u5404\\u6837\\u7684\\u5E03\\u5C40\",paraId:9,tocIndex:2},{value:\"\\uFF0C\\u5230\\u5E95\\u54EA\\u4E00\\u79CD\\u6700\\u9002\\u5408 ER \\u56FE\\u5462\\uFF1F\",paraId:9,tocIndex:2},{value:\"| \",paraId:10,tocIndex:2},{value:\"\\u5C42\\u6B21\\u5E03\\u5C40\",paraId:11,tocIndex:2},{value:\"grid \\u5E03\\u5C40\",paraId:11,tocIndex:2},{value:\"concentric \\u5E03\\u5C40\",paraId:11,tocIndex:2},{value:\"\\u8BD5\\u8FC7\\u5404\\u79CD\\u5404\\u6837\\u7684\\u5E03\\u5C40\",paraId:12,tocIndex:2},{value:\"\\u6700\\u5F00\\u59CB\\u7528\\u7684\\u662F\\u5C42\\u6B21\\u5E03\\u5C40\\uFF0C\\u4F46\\u662F\\u5F53\\u6CA1\\u6709\\u5173\\u8054\\u7684\\u6A21\\u578B\\u591A\\u7684\\u8BDD\\uFF0C\\u4F1A\\u5728\\u540C\\u4E00\\u6C34\\u5E73\\u4E0A\\u6392\\u5F88\\u957F\\u7684\\u6A21\\u578B\\uFF0C \\u770B\\u8D77\\u6765\\u5C42\\u6B21\\u5E03\\u5C40\\u9002\\u5408\\u4E8E\\u6D41\\u7A0B\\u56FE\\u7684\\u60C5\\u51B5\",paraId:12,tocIndex:2},{value:\"\\u6700\\u540E\\u4E00\\u4E2A\\u662F\\u529B\\u5BFC\\u5E03\\u5C40\\uFF08force\\uFF09\",paraId:12,tocIndex:2},{value:\"\\u529B\\u5BFC\\u5E03\\u5C40\\u6700\\u63A5\\u8FD1\\u7ED3\\u679C\\u4E86\\uFF0C\\u4F46\\u662F\\u8FD9\\u4E2A\\u9ED8\\u8BA4\\u5E03\\u5C40\\u6709\\u4E2A\\u95EE\\u9898\\uFF0C\\u6CA1\\u6709\\u5173\\u8054\\u5173\\u7CFB\\u7684\\u6A21\\u578B\\u4F1A\\u62C9\\u5F97\\u5F88\\u5F00\\uFF0C\\u9020\\u6210\\u7A7A\\u95F4\\u4E0A\\u7684\\u6D6A\\u8D39\\u3002\",paraId:12,tocIndex:2},{value:\"\\u6211\\u6700\\u540E\\u89E3\\u51B3\\u7684\\u601D\\u8DEF\\u662F\\uFF0C\\u865A\\u62DF\\u4E00\\u4E2A\\u4E0D\\u53EF\\u89C1\\u7684\\u8282\\u70B9\\uFF0C\\u628A\\u6240\\u6709\\u7684\\u6A21\\u578B\\u62C9\\u5728\\u4E00\\u8D77\\u3002\",paraId:12,tocIndex:2},{value:`const createSysNode = () => {\n    return {\n        id: 'model-SYS-CENTER-POINT',\n        type: 'circle',\n        isSys: true,\n        isKeySharp: true,\n        size: 10,\n    }\n}\n`,paraId:13,tocIndex:2},{value:\"\\u6700\\u7EC8\\u7ED3\\u679C\\uFF1A\",paraId:14,tocIndex:2},{value:\"\\u7531\\u4E8E\\u529B\\u5BFC\\u5411\\u5E03\\u5C40\\u4E0D\\u662F\\u4E00\\u6B21\\u6027\\u5E03\\u5C40\\u597D\\u7684\\uFF0C\\u4E2D\\u95F4\\u4F1A\\u4EA7\\u751F\\u591A\\u6B21\\u5E03\\u5C40\\uFF0C\\u53D8\\u5316\\u4F1A\\u53CD\\u5E94\\u5230\\u754C\\u9762\\u4E0A\\uFF0C\\u56E0\\u6B64\\u4F1A\\u6709\\u52A8\\u753B\\u7684\\u6548\\u679C\\u3002\",paraId:14,tocIndex:2},{value:\"\\u6CE8\\u610F\\uFF1A\",paraId:14,tocIndex:2},{value:\"g6 \\u7684 graph \\u7684\\u5E03\\u5C40\\u662F\\u652F\\u6301 webworker \\u7684\",paraId:14,tocIndex:2},{value:\"\\uFF0C\\u4F46\\u662F\\u5BF9\\u4E8E subgraphLayout \\u65B9\\u5F0F\\u5E76\\u4E0D\\u652F\\u6301 webworker, \\u9700\\u8981\\u81EA\\u5DF1\\u5B9E\\u73B0\\u3002\",paraId:14,tocIndex:2},{value:\"\\u5982\\u679C\\u4F7F\\u7528 es \\u65B9\\u5F0F\\u5F15\\u7528 g6 \\u7684\\u5316\\uFF0Cwebworker \\u5E76\\u4E0D\\u4F1A\\u652F\\u6301\\uFF0C\\u539F\\u56E0\\u662F es \\u4EE3\\u7801\\u9700\\u8981\\u7ECF\\u8FC7 webpack \\u9884\\u5904\\u7406\\uFF0C\\u5982\\u679C\\u8981\\u89E3\\u51B3\\u5728\\u8FD9\\u4E2A\\u95EE\\u9898\\uFF0Cwebpack \\u9700\\u8981\\u914D\\u7F6E\",paraId:14,tocIndex:2},{value:\"worker-loader\",paraId:14,tocIndex:2},{value:\"\\uFF0C\\u7528\\u4E8E\\u5C01\\u88C5 webwoker \\u6267\\u884C\\u903B\\u8F91\\u7684\\u4EE3\\u7801\\u3002\",paraId:14,tocIndex:2},{value:`    {\n        test: /\\\\.worker\\\\.ts$/,\n        exclude: /(node_modules)/,\n        use: [\n          {\n            loader: 'worker-loader',\n            options: {\n              inline: true,\n              fallback: false,\n              name: 'g6Layout.worker.js',\n            },\n          },\n        ],\n      },\n`,paraId:15,tocIndex:2},{value:\"\\u901A\\u8FC7\\u5F15\\u5165 fps \\u6D4B\\u8BD5\\u7EC4\\u4EF6\\u6765\\u8861\\u91CF\\u6027\\u80FD\\u4F18\\u5316\\u7684\\u7A0B\\u5EA6\",paraId:16,tocIndex:3},{value:`export const useFpsHook = () => {\n    const fpsRef = useRef(null)\n    useEffect(() => {\n        if (\n            fpsRef.current &&\n            window.SYS_backEndConfig &&\n            window.SYS_backEndConfig.ERD_FPS\n        ) {\n            const stats = new Stats() // alert(stats.dom)\n\n            stats.showPanel(0) // 0: fps, 1: ms, 2: mb, 3+: custom\n\n            fpsRef.current.appendChild(stats.dom)\n            stats.dom.style.position = 'relative'\n\n            function animate() {\n                stats.begin() // monitored code goes here\n\n                stats.end()\n                requestAnimationFrame(animate)\n            }\n\n            requestAnimationFrame(animate)\n        }\n    }, [])\n    return {\n        fpsRef,\n    }\n}\n`,paraId:17,tocIndex:3},{value:\"\\u4ECE\\u6700\\u5F00\\u59CB\\u7684 FPS \\u4E2A\\u4F4D\\u6570\\uFF0C800 \\u4E2A\\u6A21\\u578B\\u60C5\\u51B5\\uFF0C\\u5230\\u73B0\\u5728\\u7684 20 \\u5DE6\\u53F3 \\uFF0C\\u4EE5\\u4E0B\\u8BB0\\u5F55\\u4E00\\u4E9B\\u4F18\\u5316\\u5FC3\\u5F97\\u3002\",paraId:18,tocIndex:3},{value:\"\\u4EE5\\u4E0A\\u7684\\u56FE\\u6211\\u4EEC\\u53EF\\u4EE5\\u63A8\\u51FA\\u8FD9\\u4E2A\\u7ED3\\u8BBA\\uFF1A\",paraId:18,tocIndex:3},{value:\"\\u6027\\u80FD =\\xA0 1 /\\uFF08\\u753B\\u5E03\\u5927\\u5C0F * \\u8282\\u70B9\\u5BF9\\u8C61\\u6570\\u91CF\\uFF09\",paraId:19,tocIndex:3},{value:\"\\u56E0\\u6B64\\u6027\\u80FD\\u4F18\\u5316\\u7684\\u5927\\u4F53\\u601D\\u8DEF\\u5C31\\u662F\\u8BA9 \\u753B\\u5E03\\u8D8A\\u5C0F\\uFF0C \\u53EF\\u89C6\\u533A\\u57DF\\u7684\\u8282\\u70B9\\u5BF9\\u8C61\\u6570\\u91CF\\u8D8A\\u5C11\\u3002\",paraId:20,tocIndex:3},{value:\"\\u7F29\\u5C0F\\u753B\\u5E03\",paraId:20,tocIndex:3},{value:\"\\u4EE3\\u7801\\uFF1A\",paraId:20,tocIndex:3},{value:`<Popover\n    footer={false}\n    content={\n        <RadioGroup value={zoomNum * 2} onChange={zoomChange}>\n            <Radio value={200}>100%</Radio>\n            <Radio value={100}>50%</Radio>\n            <Radio value={20}>10%</Radio>\n        </RadioGroup>\n    }\n    placement=\"bottom\"\n>\n    {graph && \\`\\${zoomNum * 2}%\\`}\n</Popover>\n`,paraId:21,tocIndex:3},{value:\"\\u771F\\u5B9E\\u7F29\\u653E\\u6BD4\\u4F8B\\u5176\\u5B9E\\u662F 1.13%\\uFF0C\\u6211\\u5176\\u5B9E\\u662F\\u628A\\u753B\\u5E03\\u7F29\\u5C0F\\u4E86\\u4E00\\u534A\\uFF0C\\u663E\\u793A\\u6BD4\\u4F8B*2\\uFF0C\\u6027\\u80FD\\u63D0\\u5347\\u8FD8\\u662F\\u633A\\u660E\\u663E\\u7684\\uFF0C\\u8FD9\\u4E2A\\u5176\\u5B9E\\u662F\\u53EF\\u4EE5\\u7EE7\\u7EED\\u7F29\\u5C0F\\uFF0C\\u8FD8\\u6709\\u5F88\\u5927\\u7684\\u4F18\\u5316\\u7A7A\\u95F4\\u3002\",paraId:22,tocIndex:3},{value:\"\\u51CF\\u5C11\\u53EF\\u89C6\\u533A\\u57DF\\u7684\\u8282\\u70B9\\u6570\\u91CF\",paraId:22,tocIndex:3},{value:\"**\",paraId:22,tocIndex:3},{value:\"\\u6211\\u4EEC\\u53D1\\u73B0\\uFF1A\",paraId:22,tocIndex:3},{value:\"\\u7F29\\u653E\\u6BD4\\u4F8B\\u8D8A\\u5C0F\",paraId:23,tocIndex:3},{value:\"\\u7F29\\u653E\\u6BD4\\u4F8B\\u8D8A\\u5927\",paraId:23,tocIndex:3},{value:\"\\u6A21\\u578B\\u6570\\u91CF\\u8D8A\\u591A\\uFF0C\",paraId:23,tocIndex:3},{value:\"\\u4F46\\u662F\\u6A21\\u578B\\u7684\\u7EC6\\u8282\\u5C31\\u770B\\u4E0D\\u6E05\\u695A\",paraId:23,tocIndex:3},{value:\"\\u6A21\\u578B\\u7EC6\\u8282\\u5C31\\u8D8A\\u591A\\uFF0C\",paraId:23,tocIndex:3},{value:\"\\u4F46\\u662F\\u6A21\\u578B\\u6570\\u91CF\\u8D8A\\u5C0F\",paraId:23,tocIndex:3},{value:\"\\u4E0D\\u6E05\\u695A\\u7684\\u5730\\u65B9\\uFF0C\\u6211\\u4EEC\\u5E72\\u8106\\u5C31\\u4E0D\\u663E\\u793A\\uFF0C\\u201C\\u6240\\u89C1\\u5373\\u6240\\u6E32\\u67D3\\u201D\",paraId:24,tocIndex:3},{value:\"\\u6838\\u5FC3\\u4EE3\\u7801\\uFF1A\",paraId:24,tocIndex:3},{value:`graph.on(\n    'beforepaint',\n    _.throttle(() => {\n        // alert()\n        const gWidth = graph.get('width')\n        const gHeight = graph.get('height')\n        // \\u83B7\\u53D6\\u89C6\\u7A97\\u5DE6\\u4E0A\\u89D2\\u5BF9\\u5E94\\u753B\\u5E03\\u7684\\u5750\\u6807\\u70B9\n        const topLeft = graph.getPointByCanvas(0, 0) // \\u83B7\\u53D6\\u89C6\\u7A97\\u53F3\\u4E0B\\u89D2\\u5BF9\\u5E94\\u753B\\u5E03\\u5750\\u6807\\u70B9\n\n        const bottomRight = graph.getPointByCanvas(gWidth, gHeight)\n        graph\n            .getNodes()\n            .filter((a) => !a.isSys)\n            .forEach((node) => {\n                const model = node.getModel()\n                if (model.isSys) {\n                    node.getContainer().hide()\n                    return\n                }\n                const { config, data: _data } = model\n                const h =\n                    (config.headerHeight +\n                        _data.fields.length * config.fieldHeight +\n                        4) /\n                    2\n                const w = config.width / 2 // \\u5982\\u679C\\u8282\\u70B9\\u4E0D\\u5728\\u89C6\\u7A97\\u4E2D\\uFF0C\\u9690\\u85CF\\u8BE5\\u8282\\u70B9\\uFF0C\\u5219\\u4E0D\\u7ED8\\u5236\n                // note:\\u7531\\u4E8E\\u6B64\\u5E94\\u7528\\u4E2D\\u6709minimap\\uFF0C\\u76F4\\u63A5\\u9690\\u85CF\\u8282\\u70B9\\u4F1A\\u5F71\\u54CD\\u7F29\\u7565\\u56FE\\u89C6\\u56FE\\uFF0C\\u76F4\\u63A5\\u9690\\u85CF\\u8282\\u70B9\\u5177\\u4F53\\u5185\\u5BB9\n\n                if (\n                    !model.selected &&\n                    (model.x + w < topLeft.x - 200 ||\n                        model.x - w > bottomRight.x ||\n                        model.y + h < topLeft.y ||\n                        model.y - h > bottomRight.y)\n                ) {\n                    node.getContainer().hide()\n                } else {\n                    // \\u8282\\u70B9\\u5728\\u89C6\\u7A97\\u4E2D\\uFF0C\\u5219\\u5C55\\u793A\n                    node.getContainer().show()\n                }\n            })\n        const edges = graph.getEdges()\n        edges.forEach((edge) => {\n            let sourceNode = edge.get('sourceNode')\n            let targetNode = edge.get('targetNode')\n\n            if (targetNode.getModel().isSys) {\n                edge.hide()\n                return\n            }\n\n            if (\n                !sourceNode.getContainer().get('visible') &&\n                !targetNode.getContainer().get('visible')\n            ) {\n                edge.hide()\n            } else {\n                edge.show()\n            }\n        })\n    }, 10)\n)\n`,paraId:25,tocIndex:3},{value:\"\\u5728 graph \\u201Cbeforepaint\\u201D\\u91CC\\u9762\\u505A\\u5224\\u65AD\\u663E\\u793A\\u548C\\u9690\\u85CF\\u903B\\u8F91\\uFF0C\",paraId:26,tocIndex:3},{value:\"G6 \\u5BF9 show \\u548C hide \\u7684\\u5B9E\\u73B0\\u8DDF HTML \\u4E0D\\u4E00\\u6837\\uFF0C\\u53EF\\u4EE5\\u771F\\u6B63\\u7684\\u4E0D render \\u5BF9\\u8C61\",paraId:26,tocIndex:3},{value:\"\\u53E6\\u5916\\u52A0\\u5165\\u4E86 throttle \\u9632\\u6B62\\u9891\\u7E41\\u6E32\\u67D3\\u3002\",paraId:26,tocIndex:3}],ue={},he={title:\"\\u6A21\\u578B\\u9A71\\u52A8\\u524D\\u7AEF\\u5F00\\u53D1\",toc:\"menu\",filename:\"docs/guide/ddd.md\",legacy:\"/ddd\",description:\"\\u524D\\u7AEF\\u72B6\\u6001\\u7BA1\\u7406\\u662F\\u8001\\u751F\\u5E38\\u8C08\\u7684\\u8BDD\\u9898\\uFF0C\\u4E5F\\u8BB8\\u4E0D\\u540C\\u7684\\u4EBA\\u5728\\u4E0D\\u540C\\u65F6\\u671F\\u7684\\u8BA4\\u8BC6\\u548C\\u611F\\u53D7\\u90FD\\u4E0D\\u4E00\\u6837\\uFF0C\\u5728\\u5173\\u4E8E\\u8BF4\\u8BF4\\u4E0B\\u4E2A\\u7248\\u672C\\u7684\\u60F3\\u6CD5\\u4E4B\\u524D\\uFF0C\\u9996\\u5148\\u6211\\u4EEC\\u6765\\u8C08\\u8C08\\uFF0C\\u6211\\u5FC3\\u76EE\\u4E2D\\u8BA4\\u4E3A\\u6700\\u597D\\u7684\\u524D\\u7AEF\\u72B6\\u6001\\u7BA1\\u7406\\u65B9\\u6848\\u662F\\u4EC0\\u4E48\\u5462\\uFF1F\"},me=[{id:\"\\u6A21\\u578B\\u9A71\\u52A8\\u524D\\u7AEF\\u5F00\\u53D1\",depth:1,title:\"\\u6A21\\u578B\\u9A71\\u52A8\\u524D\\u7AEF\\u5F00\\u53D1\"}],Oe=[{value:\"\\u524D\\u7AEF\\u72B6\\u6001\\u7BA1\\u7406\\u662F\\u8001\\u751F\\u5E38\\u8C08\\u7684\\u8BDD\\u9898\\uFF0C\\u4E5F\\u8BB8\\u4E0D\\u540C\\u7684\\u4EBA\\u5728\\u4E0D\\u540C\\u65F6\\u671F\\u7684\\u8BA4\\u8BC6\\u548C\\u611F\\u53D7\\u90FD\\u4E0D\\u4E00\\u6837\\uFF0C\\u5728\\u5173\\u4E8E\\u8BF4\\u8BF4\\u4E0B\\u4E2A\\u7248\\u672C\\u7684\\u60F3\\u6CD5\\u4E4B\\u524D\\uFF0C\\u9996\\u5148\\u6211\\u4EEC\\u6765\\u8C08\\u8C08\\uFF0C\\u6211\\u5FC3\\u76EE\\u4E2D\\u8BA4\\u4E3A\\u6700\\u597D\\u7684\\u524D\\u7AEF\\u72B6\\u6001\\u7BA1\\u7406\\u65B9\\u6848\\u662F\\u4EC0\\u4E48\\u5462\\uFF1F\",paraId:0,tocIndex:0},{value:\"redux \\u6709\\u4E00\\u4E2A\\u6700\\u4F73\\u5B9E\\u8DF5\\u5C31\\u662F\\u8981 data normalization \\uFF0C\\u7B80\\u5355\\u7684\\u8BF4\\u5C31\\u662F\\u62CD\\u5E73\\u6570\\u636E\\u5B58\\u50A8\\uFF0C\\u5C3D\\u91CF\\u7F29\\u77ED\\u6570\\u636E\\u7684\\u5D4C\\u5957\\u5C42\\u6B21\\u3002\\u8FD9\\u4E2A\\u5176\\u5B9E\\u662F\\u9075\\u5FAA\\u5173\\u7CFB\\u6570\\u636E\\u7684\\u8303\\u5F0F\\u8BBE\\u8BA1\\u3002\",paraId:1,tocIndex:0},{value:\"\\u5DE7\\u5408\\u7684\\u662F\\uFF0C\\u53E6\\u5916\\u4E00\\u4E2A\\u7684\\u72B6\\u6001\\u7BA1\\u7406\\u6846\\u67B6 mobx \\u4F5C\\u8005\\u5B98\\u65B9\\u535A\\u5BA2\\u91CC\\u9762\\u76F4\\u63A5\\u5C31\\u8FD9\\u4E48\\u8BF4\\uFF1A\",paraId:2,tocIndex:0},{value:\"The second important idea behind MobX is that for any app that is more complex than TodoMVC, you will often need a data graph, instead of a normalized tree, to store the state in a mentally manageable yet optimal way. Graphs enable referential consistency and avoid data duplication so that it can be guaranteed that derived values are never stale.\",paraId:3,tocIndex:0},{value:`\nMobX \\u80CC\\u540E\\u7684\\u7B2C\\u4E8C\\u4E2A\\u91CD\\u8981\\u601D\\u60F3\\u662F\\uFF0C\\u5BF9\\u4E8E\\u4EFB\\u4F55\\u6BD4 TodoMVC \\u66F4\\u590D\\u6742\\u7684\\u5E94\\u7528\\uFF0C\\u60A8\\u901A\\u5E38\\u9700\\u8981\\u4E00\\u4E2A\\u6570\\u636E\\u56FE\\uFF0C\\u800C\\u4E0D\\u662F\\u89C4\\u8303\\u5316\\u7684\\u6811\\uFF0C\\u4EE5\\u4E00\\u79CD\\u7CBE\\u795E\\u4E0A\\u53EF\\u7BA1\\u7406\\u4F46\\u6700\\u4F73\\u7684\\u65B9\\u5F0F\\u5B58\\u50A8\\u72B6\\u6001\\u3002\\u56FE\\u5F62\\u652F\\u6301\\u5F15\\u7528\\u4E00\\u81F4\\u6027\\uFF0C\\u5E76\\u907F\\u514D\\u6570\\u636E\\u91CD\\u590D\\uFF0C\\u4EE5\\u4FBF\\u4FDD\\u8BC1\\u6D3E\\u751F\\u503C\\u6C38\\u8FDC\\u4E0D\\u4F1A\\u8FC7\\u65F6\\u3002`,paraId:3,tocIndex:0},{value:\"(\\u6765\\u6E90\\uFF1A\",paraId:4,tocIndex:0},{value:\"https://hackernoon.com/becoming-fully-reactive-an-in-depth-explanation-of-mobservable-55995262a254\",paraId:4,tocIndex:0},{value:\")\",paraId:4,tocIndex:0},{value:\"\\u6709\\u610F\\u601D\\u7684\\u662F\\uFF0Cfacebook \\u5185\\u90E8 react \\u56E2\\u961F\\u6700\\u65B0\\u63A8\\u51FA\\u7684\\u524D\\u7AEF\\u72B6\\u6001\\u7BA1\\u7406\\u5E93 Recoli \\u4E5F\\u662F\\u57FA\\u4E8E\\u5173\\u8054\\u56FE\\u5F62\\u7684\",paraId:5,tocIndex:0},{value:`\n  `,paraId:6},{value:` \n  `,paraId:6},{value:\"redux, mobx, recoli \\u7684\\u5B9E\\u8DF5\\u90FD\\u6307\\u5411\\u8FD9\\u4E2A\\u542F\\u793A\\uFF0C\\u5728\\u590D\\u6742\\u7684\\u5E94\\u7528\\u91CC\\u9762\\uFF0C\\u8BBE\\u8BA1\\u72B6\\u6001\\u7684\\u7ED3\\u6784\\u548C\\u5B58\\u50A8\\u5C31\\u5E94\\u8BE5\\u8C61\\u56FE\\u5F62\\u4E00\\u6837\\uFF0C\\u8D34\\u8FD1\\u95EE\\u9898\\u57DF\\u6A21\\u578B\\uFF0C\\u9075\\u5FAA\\u5173\\u7CFB\\u6570\\u636E\\u7684\\u8303\\u5F0F\\u8BBE\\u8BA1\\uFF0C\\u8FD9\\u6837\\u53EF\\u4EE5\\u5C3D\\u53EF\\u80FD\\u4FDD\\u6301\\u5F15\\u7528\\u4E00\\u81F4\\u6027\\uFF0C\\u907F\\u514D\\u6570\\u636E\\u91CD\\u590D\\u3002\",paraId:7,tocIndex:0},{value:\"\\u800C ORM \\u53EF\\u4EE5\\u8BA9\\u6570\\u636E\\u5E93 schema \\u53D8\\u6210\\u5BF9\\u8C61\\u6A21\\u578B\\u8868\\u7684\\u5916\\u952E\\u5173\\u8054\\u5C31\\u8F6C\\u6362\\u6210\\u5BF9\\u8C61\\u95F4\\u7684\\u5F15\\u7528\\uFF0C\\u8FD9\\u6837\\u770B\\u8D77\\u6765\\u590D\\u6742\\u524D\\u7AEF\\u72B6\\u6001\\u7BA1\\u7406 \\u8DDF\\u540E\\u7AEF\\u5BF9\\u4E8E\\u590D\\u6742\\u4E1A\\u52A1\\u7CFB\\u7EDF \\u201C\\u5C60\\u9F99\\u5200\\u201D DDD\\uFF08\\u9886\\u57DF\\u6A21\\u578B\\u9A71\\u52A8\\u5F00\\u53D1\\uFF09 \\u7684\\u7406\\u5FF5\\u4E0D\\u8C0B\\u800C\\u548C\\u3002\",paraId:8,tocIndex:0},{value:`\n   `,paraId:6},{value:\"\\u8FD9\\u6837\\u524D\\u7AEF\\u7684\\u72B6\\u6001\\u7ED3\\u6784\\u53EF\\u4EE5\\u901A\\u8FC7\\u4E00\\u5F20 ER \\u5448\\u73B0\\u51FA\\u6765\\uFF0C\\u5C31\\u8C61\\u6211\\u4EEC\\u5728\\u4E00\\u4E2A\\u4E1A\\u52A1\\u7CFB\\u7EDF\\u4E4B\\u524D\\u4F1A\\u8BBE\\u8BA1\\u597D ER \\u56FE\\uFF0C\\u901A\\u8FC7\\u8FD9\\u5F20 ER \\u56FE\\uFF0C\\u53EF\\u4EE5\\u5F88\\u76F4\\u89C2\\u7684\\u5448\\u73B0\\u4E1A\\u52A1\\u903B\\u8F91\\u7279\\u5F81\\u548C\\u590D\\u6742\\u5EA6\\u3002\",paraId:9,tocIndex:0},{value:\"\\u6211\\u4EEC\\u751A\\u81F3\\u53EF\\u4EE5\\u76F4\\u63A5\\u5728 ER \\u56FE\\u64CD\\u4F5C\\u8FDB\\u884C\\u8BBE\\u8BA1\\u8C03\\u6574\\u548C\\u4FEE\\u6539\\uFF0C\\u901A\\u5E38\\u4F7F\\u7528\\u7684\\u5DE5\\u5177\\u662F power-designer\\u3002\",paraId:10,tocIndex:0},{value:\"Web-pdm \\u8981\\u505A\\u6210\\u5728\\u7EBF\\u7248\\u672C\\u7684 power-designer \\u5DE5\\u5177\\u3002\\u540C\\u65F6\\uFF0C\\u6839\\u636E\\u4E0A\\u8FF0\\u7406\\u8BBA\\uFF0C\\u4E00\\u4E2A\\u5E94\\u7528\\u573A\\u666F\\u662F\\uFF0C\\u4ED6\\u53EF\\u4EE5\\u6210\\u4E3A\\u67D0\\u4E2A\\u524D\\u7AEF\\u72B6\\u6001\\u7BA1\\u7406\\u5E93\\uFF08\\u53D6\\u4E2A\\u540D\\u5B57\\u5C31\\u53EB boxer\\uFF09\\u7684\\u914D\\u5957\\u8BBE\\u8BA1\\u5DE5\\u5177\\u3002\",paraId:11,tocIndex:0},{value:\"boxer \\u7684\\u8BBE\\u8BA1\\u4E5F\\u662F\\u7AD9\\u5728\\u5DE8\\u4EBA\\u7684\\u80A9\\u8180\\u4E4B\\u4E0A\\uFF0C\\u8C03\\u7814\\u4E86\\u7279\\u6027\\u76F8\\u8FD1\\u7684\\u5E93 redux-orm \\u548C mobx-state-tree , \\u6700\\u7EC8\\u9009\\u62E9\\u4E86 mobx-state-tree \\u505A\\u4E3A\\u8F6E\\u5B50 ,\\u4E00\\u4E2A\\u5F88\\u91CD\\u8981\\u7684\\u539F\\u56E0\\u662F\\u7C7B\\u578B\\u652F\\u6301\\u5F97\\u66F4\\u597D\\u3002boxer \\u7684\\u8BBE\\u60F3\\u662F\\u5BF9 mobx-state-tree \\u7684\\u4E00\\u5C42\\u5C01\\u88C5\\u3002\",paraId:12,tocIndex:0},{value:\"Web-pdm \\u505A\\u4E3A\\u4E00\\u4E2A boxer \\u7684\\u914D\\u5957\\u5DE5\\u5177 \\uFF0C\\u5176\\u5F00\\u53D1\\u4E5F\\u662F\\u901A\\u8FC7 boxer \\u6765\\u5B8C\\u6210\\u7684\\uFF0C\\u672C\\u8EAB\\u524D\\u7AEF\\u7684\\u72B6\\u6001\\u7BA1\\u7406\\u8DB3\\u591F\\u590D\\u6742\\uFF0C \\u53EF\\u4EE5\\u505A\\u4E3A boxer \\u7684\\u4E00\\u4E2A\\u6848\\u4F8B\\u548C\\u6700\\u4F73\\u5B9E\\u8DF5\\u3002\",paraId:13,tocIndex:0},{value:`\n\\u5728 Web-pdm \\u9875\\u9762\\u4E0A\\u8BBE\\u8BA1\\u597D\\u6A21\\u578B \\u548C \\u5173\\u8054\\u5173\\u7CFB\\u540E\\uFF0C \\u53EF\\u4EE5\\u4E00\\u952E\\u751F\\u6210 boxer\\uFF08mobx-state-tree\\uFF09 \\u7684\\u6A21\\u578B\\u5B9A\\u4E49\\u4EE3\\u7801\\uFF08\\u4EE5\\u540E\\u751A\\u81F3\\u53EF\\u4EE5\\u505A\\u5230\\u53CC\\u5411\\u751F\\u6210\\uFF09\\uFF0C\\u7136\\u540E\\u5BF9\\u4E8E\\u6A21\\u578B\\u53EF\\u4EE5\\u589E\\u52A0 action \\u8BA9\\u6A21\\u578B\\u5145\\u8840\\uFF08\\xA0rich domain model\\uFF09`,paraId:13,tocIndex:0}],We={},ke={title:\"FAQ\",toc:\"menu\",filename:\"docs/guide/faq.md\"},It=[],ft=[],nn={\"docs-demo-type-erd\":{component:r.lazy(function(){return Promise.all([e.e(448),e.e(433)]).then(e.bind(e,53926))}),asset:{type:\"BLOCK\",id:\"docs-demo-type-erd\",refAtomIds:[],dependencies:{\"index.tsx\":{type:\"FILE\",value:e(96764).Z},react:{type:\"NPM\",value:\"18.2.0\"},\"web-pdm\":{type:\"NPM\",value:\"1.0.0\"},\"style.less\":{type:\"FILE\",value:e(71539).Z},\"typedata.tsx\":{type:\"FILE\",value:e(29379).Z}}}},\"docs-demo-0\":{component:r.lazy(V()(Ce()().mark(function pt(){var Ot,at,wt,vt;return Ce()().wrap(function(At){for(;;)switch(At.prev=At.next){case 0:return At.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return Ot=At.sent,at=Ot.default,At.next=6,e.e(874).then(e.t.bind(e,63874,17));case 6:return wt=At.sent,vt=wt.default,At.abrupt(\"return\",{default:function(){return at.createElement(\"img\",{src:vt,width:\"260\"})}});case 9:case\"end\":return At.stop()}},pt)}))),asset:null},\"docs-demo-1\":{component:r.lazy(V()(Ce()().mark(function pt(){var Ot,at,wt,vt;return Ce()().wrap(function(At){for(;;)switch(At.prev=At.next){case 0:return At.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return Ot=At.sent,at=Ot.default,At.next=6,e.e(1).then(e.t.bind(e,1001,17));case 6:return wt=At.sent,vt=wt.default,At.abrupt(\"return\",{default:function(){return at.createElement(\"img\",{src:vt,width:\"260\"})}});case 9:case\"end\":return At.stop()}},pt)}))),asset:null}},b={title:\"web-pdm - An ER graph tool made with G6, the ultimate goal is to make an online PowerDesigner\",toc:\"menu\",filename:\"docs/index.md\",order:10,hero:{title:\"web-pdm\",description:\"An ER graph tool made with G6, the ultimate goal is to make an online PowerDesigner\",actions:[{text:\"Getting Started\",link:\"/guide/getting-started\"},{text:\"GitHub\",link:\"https://github.com/lusess123/web-pdm\"}]}},W=[{id:\"install\",depth:2,title:\"Install\"},{id:\"getting-started\",depth:2,title:\"Getting Started\"},{id:\"contributing\",depth:2,title:\"Contributing\"},{id:\"donate\",depth:2,title:\"Donate\"}],de=[{value:`\n$ npm i web-pdm\n\n`,paraId:0,tocIndex:0}],ye=null,He={},rt={\"docs/guide/getting-started\":{frontmatter:l,toc:d,texts:f,demos:u},\"docs/config/index.zh-CN\":{frontmatter:p,toc:h,texts:g,demos:v},\"docs/guide/index.zh-CN\":{frontmatter:S,toc:I,texts:N,demos:y},\"docs/demo/index.zh-CN\":{frontmatter:M,toc:L,texts:k,demos:_},\"docs/guide/migration\":{frontmatter:x,toc:F,texts:K,demos:U},\"docs/guide/relation\":{frontmatter:q,toc:X,texts:oe,demos:G},\"docs/guide/toolbar\":{frontmatter:Te,toc:ae,texts:z,demos:Ee},\"docs/config/index\":{frontmatter:T,toc:R,texts:j,demos:A},\"docs/guide/index\":{frontmatter:B,toc:fe,texts:Ae,demos:C},\"docs/guide/model\":{frontmatter:ce,toc:Me,texts:_e,demos:ge},\"docs/index.zh-CN\":{frontmatter:Ie,toc:le,texts:Ne,demos:we},\"docs/demo/index\":{frontmatter:se,toc:pe,texts:ee,demos:te},\"docs/guide/next\":{frontmatter:Q,toc:Z,texts:Y,demos:Se},\"docs/guide/ddd\":{frontmatter:he,toc:me,texts:Oe,demos:ue},\"docs/guide/faq\":{frontmatter:ke,toc:It,texts:ft,demos:We},\"docs/index\":{frontmatter:b,toc:W,texts:de,demos:nn}},$e=Object.entries(rt).reduce(function(pt,Ot){var at=o()(Ot,2),wt=at[0],vt=at[1];return Object.values(vt.demos).forEach(function(jt){jt.routeId=wt}),Object.assign(pt,vt.demos),delete vt.demos,pt},{})},55187:function(c,m,e){\"use strict\";e.d(m,{Ac:function(){return fe},ql:function(){return K.ql},rU:function(){return F},OL:function(){return I},Q$:function(){return Ae},m8:function(){return ge.m},fp:function(){return o.fp},Ov:function(){return U.Ov},TH:function(){return o.TH},pC:function(){return o.pC},UO:function(){return o.UO},Qt:function(){return G.Q},lr:function(){return _}});var a=e(50959),o=e(44492),r=e(18280);function u(){return u=Object.assign||function(le){for(var Ne=1;Ne<arguments.length;Ne++){var te=arguments[Ne];for(var se in te)Object.prototype.hasOwnProperty.call(te,se)&&(le[se]=te[se])}return le},u.apply(this,arguments)}function l(le,Ne){if(le==null)return{};var te={},se=Object.keys(le),pe,ee;for(ee=0;ee<se.length;ee++)pe=se[ee],!(Ne.indexOf(pe)>=0)&&(te[pe]=le[pe]);return te}const d=[\"onClick\",\"reloadDocument\",\"replace\",\"state\",\"target\",\"to\"],f=[\"aria-current\",\"caseSensitive\",\"className\",\"end\",\"style\",\"to\",\"children\"];function v(le,Ne){if(!le){typeof console!=\"undefined\"&&console.warn(Ne);try{throw new Error(Ne)}catch(te){}}}function p(le){let{basename:Ne,children:te,window:se}=le,pe=useRef();pe.current==null&&(pe.current=createBrowserHistory({window:se}));let ee=pe.current,[Se,Q]=useState({action:ee.action,location:ee.location});return useLayoutEffect(()=>ee.listen(Q),[ee]),createElement(Router,{basename:Ne,children:te,location:Se.location,navigationType:Se.action,navigator:ee})}function h(le){let{basename:Ne,children:te,window:se}=le,pe=useRef();pe.current==null&&(pe.current=createHashHistory({window:se}));let ee=pe.current,[Se,Q]=useState({action:ee.action,location:ee.location});return useLayoutEffect(()=>ee.listen(Q),[ee]),createElement(Router,{basename:Ne,children:te,location:Se.location,navigationType:Se.action,navigator:ee})}function g(le){let{basename:Ne,children:te,history:se}=le;const[pe,ee]=useState({action:se.action,location:se.location});return useLayoutEffect(()=>se.listen(ee),[se]),createElement(Router,{basename:Ne,children:te,location:pe.location,navigationType:pe.action,navigator:se})}function y(le){return!!(le.metaKey||le.altKey||le.ctrlKey||le.shiftKey)}const S=(0,a.forwardRef)(function(Ne,te){let{onClick:se,reloadDocument:pe,replace:ee=!1,state:Se,target:Q,to:Z}=Ne,Y=l(Ne,d),ue=(0,o.oQ)(Z),he=N(Z,{replace:ee,state:Se,target:Q});function me(Oe){se&&se(Oe),!Oe.defaultPrevented&&!pe&&he(Oe)}return(0,a.createElement)(\"a\",u({},Y,{href:ue,onClick:me,ref:te,target:Q}))}),I=(0,a.forwardRef)(function(Ne,te){let{\"aria-current\":se=\"page\",caseSensitive:pe=!1,className:ee=\"\",end:Se=!1,style:Q,to:Z,children:Y}=Ne,ue=l(Ne,f),he=(0,o.TH)(),me=(0,o.WU)(Z),Oe=he.pathname,We=me.pathname;pe||(Oe=Oe.toLowerCase(),We=We.toLowerCase());let ke=Oe===We||!Se&&Oe.startsWith(We)&&Oe.charAt(We.length)===\"/\",It=ke?se:void 0,ft;typeof ee==\"function\"?ft=ee({isActive:ke}):ft=[ee,ke?\"active\":null].filter(Boolean).join(\" \");let nn=typeof Q==\"function\"?Q({isActive:ke}):Q;return(0,a.createElement)(S,u({},ue,{\"aria-current\":It,className:ft,ref:te,style:nn,to:Z}),typeof Y==\"function\"?Y({isActive:ke}):Y)});function N(le,Ne){let{target:te,replace:se,state:pe}=Ne===void 0?{}:Ne,ee=(0,o.s0)(),Se=(0,o.TH)(),Q=(0,o.WU)(le);return(0,a.useCallback)(Z=>{if(Z.button===0&&(!te||te===\"_self\")&&!y(Z)){Z.preventDefault();let Y=!!se||(0,r.Ep)(Se)===(0,r.Ep)(Q);ee(le,{replace:Y,state:pe})}},[Se,ee,Q,se,pe,te,le])}function _(le){let Ne=(0,a.useRef)(M(le)),te=(0,o.TH)(),se=(0,a.useMemo)(()=>{let Se=M(te.search);for(let Q of Ne.current.keys())Se.has(Q)||Ne.current.getAll(Q).forEach(Z=>{Se.append(Q,Z)});return Se},[te.search]),pe=(0,o.s0)(),ee=(0,a.useCallback)((Se,Q)=>{pe(\"?\"+M(Se),Q)},[pe]);return[se,ee]}function M(le){return le===void 0&&(le=\"\"),new URLSearchParams(typeof le==\"string\"||Array.isArray(le)||le instanceof URLSearchParams?le:Object.keys(le).reduce((Ne,te)=>{let se=le[te];return Ne.concat(Array.isArray(se)?se.map(pe=>[te,pe]):[[te,se]])},[]))}var L=e(51163),k=e(58733),U=e(77759),x=[\"prefetch\"];function F(le){var Ne,te=le.prefetch,se=(0,k.Z)(le,x),pe=(0,U.Ov)(),ee=typeof le.to==\"string\"?le.to:(Ne=le.to)===null||Ne===void 0?void 0:Ne.pathname;return ee?a.createElement(S,(0,L.Z)({onMouseEnter:function(){var Q;return te&&ee&&((Q=pe.preloadRoute)===null||Q===void 0?void 0:Q.call(pe,ee))}},se),le.children):null}var K=e(87593),G=e(14828),q=e(99932),X=e(75782),oe=e(78450),Ee=e(26143),Te=e(22266);function ae(le,Ne){var te=typeof Symbol!=\"undefined\"&&le[Symbol.iterator]||le[\"@@iterator\"];if(!te){if(Array.isArray(le)||(te=(0,Te.Z)(le))||Ne&&le&&typeof le.length==\"number\"){te&&(le=te);var se=0,pe=function(){};return{s:pe,n:function(){return se>=le.length?{done:!0}:{done:!1,value:le[se++]}},e:function(Y){throw Y},f:pe}}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 ee=!0,Se=!1,Q;return{s:function(){te=te.call(le)},n:function(){var Y=te.next();return ee=Y.done,Y},e:function(Y){Se=!0,Q=Y},f:function(){try{!ee&&te.return!=null&&te.return()}finally{if(Se)throw Q}}}}var z=e(9942),A=e(40936),T=e(49962),R=e(24572);function j(le,Ne){if(!le)throw new Error(Ne)}function C(le){var Ne=le.fns,te=le.args;if(Ne.length===1)return Ne[0];var se=Ne.pop();return Ne.reduce(function(pe,ee){return function(){return ee(pe,te)}},se)}function B(le){return!!le&&(0,Ee.Z)(le)===\"object\"&&typeof le.then==\"function\"}var fe;(function(le){le.compose=\"compose\",le.modify=\"modify\",le.event=\"event\"})(fe||(fe={}));var Ae=function(){function le(Ne){(0,A.Z)(this,le),(0,R.Z)(this,\"opts\",void 0),(0,R.Z)(this,\"hooks\",{}),this.opts=Ne}return(0,T.Z)(le,[{key:\"register\",value:function(te){var se=this;j(te.apply,\"plugin register failed, apply must supplied\"),Object.keys(te.apply).forEach(function(pe){j(se.opts.validKeys.indexOf(pe)>-1,\"register failed, invalid key \".concat(pe,\" \").concat(te.path?\"from plugin \".concat(te.path):\"\",\".\")),se.hooks[pe]=(se.hooks[pe]||[]).concat(te.apply[pe])})}},{key:\"getHooks\",value:function(te){var se=te.split(\".\"),pe=(0,z.Z)(se),ee=pe[0],Se=pe.slice(1),Q=this.hooks[ee]||[];return Se.length&&(Q=Q.map(function(Z){try{var Y=Z,ue=ae(Se),he;try{for(ue.s();!(he=ue.n()).done;){var me=he.value;Y=Y[me]}}catch(Oe){ue.e(Oe)}finally{ue.f()}return Y}catch(Oe){return null}}).filter(Boolean)),Q}},{key:\"applyPlugins\",value:function(te){var se=te.key,pe=te.type,ee=te.initialValue,Se=te.args,Q=te.async,Z=this.getHooks(se)||[];switch(Se&&j((0,Ee.Z)(Se)===\"object\",\"applyPlugins failed, args must be plain object.\"),Q&&j(pe===fe.modify||pe===fe.event,\"async only works with modify and event type.\"),pe){case fe.modify:return Q?Z.reduce(function(){var Y=(0,oe.Z)((0,q.Z)().mark(function ue(he,me){var Oe;return(0,q.Z)().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:if(j(typeof me==\"function\"||(0,Ee.Z)(me)===\"object\"||B(me),\"applyPlugins failed, all hooks for key \".concat(se,\" must be function, plain object or Promise.\")),!B(he)){ke.next=5;break}return ke.next=4,he;case 4:he=ke.sent;case 5:if(typeof me!=\"function\"){ke.next=16;break}if(Oe=me(he,Se),!B(Oe)){ke.next=13;break}return ke.next=10,Oe;case 10:return ke.abrupt(\"return\",ke.sent);case 13:return ke.abrupt(\"return\",Oe);case 14:ke.next=21;break;case 16:if(!B(me)){ke.next=20;break}return ke.next=19,me;case 19:me=ke.sent;case 20:return ke.abrupt(\"return\",(0,X.Z)((0,X.Z)({},he),me));case 21:case\"end\":return ke.stop()}},ue)}));return function(ue,he){return Y.apply(this,arguments)}}(),B(ee)?ee:Promise.resolve(ee)):Z.reduce(function(Y,ue){return j(typeof ue==\"function\"||(0,Ee.Z)(ue)===\"object\",\"applyPlugins failed, all hooks for key \".concat(se,\" must be function or plain object.\")),typeof ue==\"function\"?ue(Y,Se):(0,X.Z)((0,X.Z)({},Y),ue)},ee);case fe.event:return(0,oe.Z)((0,q.Z)().mark(function Y(){var ue,he,me,Oe;return(0,q.Z)().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:ue=ae(Z),ke.prev=1,ue.s();case 3:if((he=ue.n()).done){ke.next=12;break}if(me=he.value,j(typeof me==\"function\",\"applyPlugins failed, all hooks for key \".concat(se,\" must be function.\")),Oe=me(Se),!(Q&&B(Oe))){ke.next=10;break}return ke.next=10,Oe;case 10:ke.next=3;break;case 12:ke.next=17;break;case 14:ke.prev=14,ke.t0=ke.catch(1),ue.e(ke.t0);case 17:return ke.prev=17,ue.f(),ke.finish(17);case 20:case\"end\":return ke.stop()}},Y,null,[[1,14,17,20]])}))();case fe.compose:return function(){return C({fns:Z.concat(ee),args:Se})()}}}}],[{key:\"create\",value:function(te){var se=new le({validKeys:te.validKeys});return te.plugins.forEach(function(pe){se.register(pe)}),se}}]),le}(),ge=e(40966),ce=e(37635),Me=e.n(ce),_e=0,De=0;function Ce(le,Ne){if(!1)var te}function it(le){return JSON.stringify(le,null,2)}function V(le){var Ne=le.length>1?le.map(we).join(\" \"):le[0];return Me()(Ne)===\"object\"?\"\".concat(it(Ne)):Ne.toString()}function we(le){return Me()(le)===\"object\"?\"\".concat(JSON.stringify(le)):le.toString()}var Ie={log:function(){for(var Ne=arguments.length,te=new Array(Ne),se=0;se<Ne;se++)te[se]=arguments[se];Ce(\"log\",V(te))},info:function(){for(var Ne=arguments.length,te=new Array(Ne),se=0;se<Ne;se++)te[se]=arguments[se];Ce(\"info\",V(te))},warn:function(){for(var Ne=arguments.length,te=new Array(Ne),se=0;se<Ne;se++)te[se]=arguments[se];Ce(\"warn\",V(te))},error:function(){for(var Ne=arguments.length,te=new Array(Ne),se=0;se<Ne;se++)te[se]=arguments[se];Ce(\"error\",V(te))},group:function(){De++},groupCollapsed:function(){De++},groupEnd:function(){De&&--De},clear:function(){Ce(\"clear\")},trace:function(){var Ne;(Ne=console).trace.apply(Ne,arguments)},profile:function(){var Ne;(Ne=console).profile.apply(Ne,arguments)},profileEnd:function(){var Ne;(Ne=console).profileEnd.apply(Ne,arguments)}}},88781:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){\"use strict\";var dumi__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(81229),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(50959);function ownKeys(c,m){var e=Object.keys(c);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(c);m&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(c,o).enumerable})),e.push.apply(e,a)}return e}function _objectSpread(c){for(var m=1;m<arguments.length;m++){var e=arguments[m]!=null?arguments[m]:{};m%2?ownKeys(Object(e),!0).forEach(function(a){_defineProperty(c,a,e[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(e)):ownKeys(Object(e)).forEach(function(a){Object.defineProperty(c,a,Object.getOwnPropertyDescriptor(e,a))})}return c}function _defineProperty(c,m,e){return m in c?Object.defineProperty(c,m,{value:e,enumerable:!0,configurable:!0,writable:!0}):c[m]=e,c}function _slicedToArray(c,m){return _arrayWithHoles(c)||_iterableToArrayLimit(c,m)||_unsupportedIterableToArray(c,m)||_nonIterableRest()}function _nonIterableRest(){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 _unsupportedIterableToArray(c,m){if(c){if(typeof c==\"string\")return _arrayLikeToArray(c,m);var e=Object.prototype.toString.call(c).slice(8,-1);if(e===\"Object\"&&c.constructor&&(e=c.constructor.name),e===\"Map\"||e===\"Set\")return Array.from(c);if(e===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return _arrayLikeToArray(c,m)}}function _arrayLikeToArray(c,m){(m==null||m>c.length)&&(m=c.length);for(var e=0,a=new Array(m);e<m;e++)a[e]=c[e];return a}function _iterableToArrayLimit(c,m){var e=c==null?null:typeof Symbol!=\"undefined\"&&c[Symbol.iterator]||c[\"@@iterator\"];if(e!=null){var a=[],o=!0,r=!1,u,l;try{for(e=e.call(c);!(o=(u=e.next()).done)&&(a.push(u.value),!(m&&a.length===m));o=!0);}catch(d){r=!0,l=d}finally{try{!o&&e.return!=null&&e.return()}finally{if(r)throw l}}return a}}function _arrayWithHoles(c){if(Array.isArray(c))return c}function _typeof(c){return _typeof=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(m){return typeof m}:function(m){return m&&typeof Symbol==\"function\"&&m.constructor===Symbol&&m!==Symbol.prototype?\"symbol\":typeof m},_typeof(c)}function builtInProcessor(entity,entryExports){var mod;switch(entity.$$__type){case\"function\":return eval(entity.$$__body.sourceCode);case\"element\":return mod=entity.$$__body.componentName.split(\".\").reduce(function(c,m){return c[m]},entryExports),mod===void 0?entity.$$__body.componentName:\"_InternalPanelDoNotUseOrYouWillBeFired\"in mod?mod._InternalPanelDoNotUseOrYouWillBeFired:mod}}function deepReplace(c,m){return Array.isArray(c)?c.map(function(e){return deepReplace(e,m)}):_typeof(c)===\"object\"&&(c==null?void 0:c.$$__type)===\"element\"?translatePresetToReact(c.$$__body,m):_typeof(c)===\"object\"&&Object.prototype.toString.call(c)===\"[object Object]\"?Object.entries(c).reduce(function(e,a){var o=_slicedToArray(a,2),r=o[0],u=o[1];return _objectSpread(_objectSpread({},e),{},_defineProperty({},r,deepReplace(u,m)))},{}):c}function translatePresetToReact(c,m){var e=c.props,a=c.size,o=m({$$__type:\"element\",$$__body:c});return React.createElement(o,deepReplace(_objectSpread(_objectSpread({},e),{},{style:_objectSpread(_objectSpread({},e.style),a)}),m))}var AtomRenderer=function c(m){var e=useSiteData(),a=e.entryExports;switch(m.type){case\"COMPONENT\":return translatePresetToReact(m.value,function(o){var r,u;return(r=(u=m.processor)===null||u===void 0?void 0:u.call(m,o,a))!==null&&r!==void 0?r:builtInProcessor(o,a)});default:return React.createElement(React.Fragment,null,m.type,\" atom is not supported.\")}}},41110:function(c,m,e){\"use strict\";e.d(m,{D:function(){return o},W:function(){return r}});var a=e(50959),o=(0,a.createContext)({pkg:{},entryExports:{},demos:{},components:{},locales:[],themeConfig:{},loading:!1,setLoading:function(){}}),r=function(){return(0,a.useContext)(o)}},4849:function(c,m,e){\"use strict\";e.d(m,{b:function(){return p}});var a=e(81229),o=e(50959);function r(h,g){return v(h)||f(h,g)||l(h,g)||u()}function u(){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 l(h,g){if(h){if(typeof h==\"string\")return d(h,g);var y=Object.prototype.toString.call(h).slice(8,-1);if(y===\"Object\"&&h.constructor&&(y=h.constructor.name),y===\"Map\"||y===\"Set\")return Array.from(h);if(y===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return d(h,g)}}function d(h,g){(g==null||g>h.length)&&(g=h.length);for(var y=0,S=new Array(g);y<g;y++)S[y]=h[y];return S}function f(h,g){var y=h==null?null:typeof Symbol!=\"undefined\"&&h[Symbol.iterator]||h[\"@@iterator\"];if(y!=null){var S=[],I=!0,N=!1,_,M;try{for(y=y.call(h);!(I=(_=y.next()).done)&&(S.push(_.value),!(g&&S.length===g));I=!0);}catch(L){N=!0,M=L}finally{try{!I&&y.return!=null&&y.return()}finally{if(N)throw M}}return S}}function v(h){if(Array.isArray(h))return h}var p=function(){var g=(0,a.YB)(),y=(0,a.WF)(),S=y.locales,I=(0,o.useState)(function(){return S.find(function(M){var L=M.id;return L===g.locale})}),N=r(I,1),_=N[0];return _}},75586:function(c,m,e){\"use strict\";e.d(m,{AM:function(){return y},LI:function(){return S},M7:function(){return I},RX:function(){return g},m7:function(){return _},qu:function(){return N}});var a=e(81229),o=e(50959),r=e(4849);function u(M){return u=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(L){return typeof L}:function(L){return L&&typeof Symbol==\"function\"&&L.constructor===Symbol&&L!==Symbol.prototype?\"symbol\":typeof L},u(M)}function l(M,L){return h(M)||p(M,L)||f(M,L)||d()}function d(){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 f(M,L){if(M){if(typeof M==\"string\")return v(M,L);var k=Object.prototype.toString.call(M).slice(8,-1);if(k===\"Object\"&&M.constructor&&(k=M.constructor.name),k===\"Map\"||k===\"Set\")return Array.from(M);if(k===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(k))return v(M,L)}}function v(M,L){(L==null||L>M.length)&&(L=M.length);for(var k=0,U=new Array(L);k<L;k++)U[k]=M[k];return U}function p(M,L){var k=M==null?null:typeof Symbol!=\"undefined\"&&M[Symbol.iterator]||M[\"@@iterator\"];if(k!=null){var U=[],x=!0,F=!1,K,G;try{for(k=k.call(M);!(x=(K=k.next()).done)&&(U.push(K.value),!(L&&U.length===L));x=!0);}catch(q){F=!0,G=q}finally{try{!x&&k.return!=null&&k.return()}finally{if(F)throw G}}return U}}function h(M){if(Array.isArray(M))return M}var g=function(){var L=(0,a.YB)(),k=(0,a.Ov)(),U=k.routes,x=(0,a.WF)(),F=x.locales,K=(0,o.useState)(function(){var X=F.slice().reverse();return Object.values(U).reduce(function(oe,Ee){var Te=X.find(function(ae){return\"suffix\"in ae?Ee.path.endsWith(ae.suffix):Ee.path.startsWith(ae.base.slice(1))});return Ee.parentId===\"DocLayout\"&&Te.id===L.locale&&(oe[Ee.id]=Ee),oe},{})}),G=l(K,1),q=G[0];return q},y=function(L){var k=`/**\n * This is an auto-generated demo by dumi\n * if you think it is not working as expected,\n * please report the issue at\n * https://github.com/umijs/dumi/issues\n */`;return L.startsWith(\"18.\")||L===\"latest\"?\"\".concat(k,`\n\nimport React from 'react';\nimport { createRoot } from \"react-dom/client\";\nimport App from \"./App\";\n\nconst rootElement = document.getElementById(\"root\");\nconst root = createRoot(rootElement);\n\nroot.render(<App />);`):\"\".concat(k,`\n\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport App from './App';\n\nReactDOM.render(\n  <App />,\n  document.getElementById('root'),\n);`)},S=typeof window!=\"undefined\"?o.useLayoutEffect:o.useEffect,I=function(){var L=(0,r.b)();return(0,o.useCallback)(function(k,U){return(\"order\"in k&&\"order\"in U?k.order-U.order:0)||(\"link\"in k&&\"link\"in U?k.link.split(\"/\").length-U.link.split(\"/\").length:0)||(\"path\"in k&&\"path\"in U?k.path.split(\"/\").length-U.path.split(\"/\").length:0)||(k.title?k.title.localeCompare(U.title||\"\",L.id):-1)},[])},N=function(L,k,U){var x,F=U[k];switch(u(F)){case\"object\":L.title=F.title||L.title,L.order=(x=F.order)!==null&&x!==void 0?x:L.order;break;case\"string\":L.title=F||L.title;break;default:}return L};function _(M,L){return Array.isArray(M)?M:M[L.id]}},39761:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return Me}});var a=e(50959),o=Object.defineProperty,r=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,d=(_e,De,Ce)=>De in _e?o(_e,De,{enumerable:!0,configurable:!0,writable:!0,value:Ce}):_e[De]=Ce,f=(_e,De)=>{for(var Ce in De||(De={}))u.call(De,Ce)&&d(_e,Ce,De[Ce]);if(r)for(var Ce of r(De))l.call(De,Ce)&&d(_e,Ce,De[Ce]);return _e};const v=_e=>a.createElement(\"svg\",f({viewBox:\"64 64 896 896\"},_e),a.createElement(\"path\",{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 0 0 51.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z\"}),a.createElement(\"path\",{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\"}));var p=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNjk5IDM1M2gtNDYuOWMtMTAuMiAwLTE5LjkgNC45LTI1LjkgMTMuM0w0NjkgNTg0LjNsLTcxLjItOTguOGMtNi04LjMtMTUuNi0xMy4zLTI1LjktMTMuM0gzMjVjLTYuNSAwLTEwLjMgNy40LTYuNSAxMi43bDEyNC42IDE3Mi44YTMxLjggMzEuOCAwIDAgMCA1MS43IDBsMjEwLjYtMjkyYzMuOS01LjMuMS0xMi43LTYuNC0xMi43eiIvPjxwYXRoIGQ9Ik01MTIgNjRDMjY0LjYgNjQgNjQgMjY0LjYgNjQgNTEyczIwMC42IDQ0OCA0NDggNDQ4IDQ0OC0yMDAuNiA0NDgtNDQ4Uzc1OS40IDY0IDUxMiA2NHptMCA4MjBjLTIwNS40IDAtMzcyLTE2Ni42LTM3Mi0zNzJzMTY2LjYtMzcyIDM3Mi0zNzIgMzcyIDE2Ni42IDM3MiAzNzItMTY2LjYgMzcyLTM3MiAzNzJ6Ii8+PC9zdmc+\",h=Object.defineProperty,g=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,I=(_e,De,Ce)=>De in _e?h(_e,De,{enumerable:!0,configurable:!0,writable:!0,value:Ce}):_e[De]=Ce,N=(_e,De)=>{for(var Ce in De||(De={}))y.call(De,Ce)&&I(_e,Ce,De[Ce]);if(g)for(var Ce of g(De))S.call(De,Ce)&&I(_e,Ce,De[Ce]);return _e};const _=_e=>a.createElement(\"svg\",N({viewBox:\"64 64 896 896\"},_e),a.createElement(\"path\",{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 0 0-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\"}),a.createElement(\"path\",{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\"}));var M=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNjg1LjQgMzU0LjhjMC00LjQtMy42LTgtOC04bC02NiAuM0w1MTIgNDY1LjZsLTk5LjMtMTE4LjQtNjYuMS0uM2MtNC40IDAtOCAzLjUtOCA4IDAgMS45LjcgMy43IDEuOSA1LjJsMTMwLjEgMTU1TDM0MC41IDY3MGE4LjMyIDguMzIgMCAwIDAtMS45IDUuMmMwIDQuNCAzLjYgOCA4IDhsNjYuMS0uM0w1MTIgNTY0LjRsOTkuMyAxMTguNCA2NiAuM2M0LjQgMCA4LTMuNSA4LTggMC0xLjktLjctMy43LTEuOS01LjJMNTUzLjUgNTE1bDEzMC4xLTE1NWMxLjItMS40IDEuOC0zLjMgMS44LTUuMnoiLz48cGF0aCBkPSJNNTEyIDY1QzI2NC42IDY1IDY0IDI2NS42IDY0IDUxM3MyMDAuNiA0NDggNDQ4IDQ0OCA0NDgtMjAwLjYgNDQ4LTQ0OFM3NTkuNCA2NSA1MTIgNjV6bTAgODIwYy0yMDUuNCAwLTM3Mi0xNjYuNi0zNzItMzcyczE2Ni42LTM3MiAzNzItMzcyIDM3MiAxNjYuNiAzNzIgMzcyLTE2Ni42IDM3Mi0zNzIgMzcyeiIvPjwvc3ZnPg==\",L=Object.defineProperty,k=Object.getOwnPropertySymbols,U=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,F=(_e,De,Ce)=>De in _e?L(_e,De,{enumerable:!0,configurable:!0,writable:!0,value:Ce}):_e[De]=Ce,K=(_e,De)=>{for(var Ce in De||(De={}))U.call(De,Ce)&&F(_e,Ce,De[Ce]);if(k)for(var Ce of k(De))x.call(De,Ce)&&F(_e,Ce,De[Ce]);return _e};const G=_e=>a.createElement(\"svg\",K({viewBox:\"64 64 896 896\"},_e),a.createElement(\"path\",{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\"}),a.createElement(\"path\",{d:\"M464 336a48 48 0 1 0 96 0 48 48 0 1 0-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\"}));var q=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNTEyIDY0QzI2NC42IDY0IDY0IDI2NC42IDY0IDUxMnMyMDAuNiA0NDggNDQ4IDQ0OCA0NDgtMjAwLjYgNDQ4LTQ0OFM3NTkuNCA2NCA1MTIgNjR6bTAgODIwYy0yMDUuNCAwLTM3Mi0xNjYuNi0zNzItMzcyczE2Ni42LTM3MiAzNzItMzcyIDM3MiAxNjYuNiAzNzIgMzcyLTE2Ni42IDM3Mi0zNzIgMzcyeiIvPjxwYXRoIGQ9Ik00NjQgMzM2YTQ4IDQ4IDAgMSAwIDk2IDAgNDggNDggMCAxIDAtOTYgMHptNzIgMTEyaC00OGMtNC40IDAtOCAzLjYtOCA4djI3MmMwIDQuNCAzLjYgOCA4IDhoNDhjNC40IDAgOC0zLjYgOC04VjQ1NmMwLTQuNC0zLjYtOC04LTh6Ii8+PC9zdmc+\",X=Object.defineProperty,oe=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,ae=(_e,De,Ce)=>De in _e?X(_e,De,{enumerable:!0,configurable:!0,writable:!0,value:Ce}):_e[De]=Ce,z=(_e,De)=>{for(var Ce in De||(De={}))Ee.call(De,Ce)&&ae(_e,Ce,De[Ce]);if(oe)for(var Ce of oe(De))Te.call(De,Ce)&&ae(_e,Ce,De[Ce]);return _e};const A=_e=>a.createElement(\"svg\",z({viewBox:\"64 64 896 896\"},_e),a.createElement(\"path\",{d:\"M464 720a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z\"}));var T=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNDY0IDcyMGE0OCA0OCAwIDEgMCA5NiAwIDQ4IDQ4IDAgMSAwLTk2IDB6bTE2LTMwNHYxODRjMCA0LjQgMy42IDggOCA4aDQ4YzQuNCAwIDgtMy42IDgtOFY0MTZjMC00LjQtMy42LTgtOC04aC00OGMtNC40IDAtOCAzLjYtOCA4em00NzUuNyA0NDAtNDE2LTcyMGMtNi4yLTEwLjctMTYuOS0xNi0yNy43LTE2cy0yMS42IDUuMy0yNy43IDE2bC00MTYgNzIwQzU2IDg3Ny40IDcxLjQgOTA0IDk2IDkwNGg4MzJjMjQuNiAwIDQwLTI2LjYgMjcuNy00OHptLTc4My41LTI3LjlMNTEyIDIzOS45bDMzOS44IDU4OC4ySDE3Mi4yeiIvPjwvc3ZnPg==\";function R(_e,De){return Ae(_e)||fe(_e,De)||C(_e,De)||j()}function j(){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,De){if(_e){if(typeof _e==\"string\")return B(_e,De);var Ce=Object.prototype.toString.call(_e).slice(8,-1);if(Ce===\"Object\"&&_e.constructor&&(Ce=_e.constructor.name),Ce===\"Map\"||Ce===\"Set\")return Array.from(_e);if(Ce===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ce))return B(_e,De)}}function B(_e,De){(De==null||De>_e.length)&&(De=_e.length);for(var Ce=0,it=new Array(De);Ce<De;Ce++)it[Ce]=_e[Ce];return it}function fe(_e,De){var Ce=_e==null?null:typeof Symbol!=\"undefined\"&&_e[Symbol.iterator]||_e[\"@@iterator\"];if(Ce!=null){var it=[],V=!0,we=!1,Ie,le;try{for(Ce=Ce.call(_e);!(V=(Ie=Ce.next()).done)&&(it.push(Ie.value),!(De&&it.length===De));V=!0);}catch(Ne){we=!0,le=Ne}finally{try{!V&&Ce.return!=null&&Ce.return()}finally{if(we)throw le}}return it}}function Ae(_e){if(Array.isArray(_e))return _e}var ge={info:G,warning:A,success:v,error:_},ce=function(De){var Ce=(0,a.useState)(function(){return ge[De.type]}),it=R(Ce,1),V=it[0];return a.createElement(\"div\",{className:\"dumi-default-container markdown\",\"data-type\":De.type},a.createElement(V,null),a.createElement(\"h4\",null,De.title||De.type.toUpperCase()),a.createElement(\"section\",null,De.children))},Me=ce},21646:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return zn}});var a=e(84875),o=e.n(a),r=e(81229),u=e(50959),l=Object.defineProperty,d=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,p=(Re,Ge,ot)=>Ge in Re?l(Re,Ge,{enumerable:!0,configurable:!0,writable:!0,value:ot}):Re[Ge]=ot,h=(Re,Ge)=>{for(var ot in Ge||(Ge={}))f.call(Ge,ot)&&p(Re,ot,Ge[ot]);if(d)for(var ot of d(Ge))v.call(Ge,ot)&&p(Re,ot,Ge[ot]);return Re};const g=Re=>u.createElement(\"svg\",h({viewBox:\"64 64 896 896\"},Re),u.createElement(\"path\",{d:\"m709.6 210 .4-.2h.2L512 96 313.9 209.8h-.2l.7.3L151.5 304v416L512 928l360.5-208V304l-162.9-94zM482.7 843.6 339.6 761V621.4L210 547.8V372.9l272.7 157.3v313.4zM238.2 321.5l134.7-77.8 138.9 79.7 139.1-79.9 135.2 78-273.9 158-274-158zM814 548.3l-128.8 73.1v139.1l-143.9 83V530.4L814 373.1v175.2z\"}));var y=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJtNzA5LjYgMjEwIC40LS4yaC4yTDUxMiA5NiAzMTMuOSAyMDkuOGgtLjJsLjcuM0wxNTEuNSAzMDR2NDE2TDUxMiA5MjhsMzYwLjUtMjA4VjMwNGwtMTYyLjktOTR6TTQ4Mi43IDg0My42IDMzOS42IDc2MVY2MjEuNEwyMTAgNTQ3LjhWMzcyLjlsMjcyLjcgMTU3LjN2MzEzLjR6TTIzOC4yIDMyMS41bDEzNC43LTc3LjggMTM4LjkgNzkuNyAxMzkuMS03OS45IDEzNS4yIDc4LTI3My45IDE1OC0yNzQtMTU4ek04MTQgNTQ4LjNsLTEyOC44IDczLjF2MTM5LjFsLTE0My45IDgzVjUzMC40TDgxNCAzNzMuMXYxNzUuMnoiLz48L3N2Zz4=\",S=Object.defineProperty,I=Object.getOwnPropertySymbols,N=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,M=(Re,Ge,ot)=>Ge in Re?S(Re,Ge,{enumerable:!0,configurable:!0,writable:!0,value:ot}):Re[Ge]=ot,L=(Re,Ge)=>{for(var ot in Ge||(Ge={}))N.call(Ge,ot)&&M(Re,ot,Ge[ot]);if(I)for(var ot of I(Ge))_.call(Ge,ot)&&M(Re,ot,Ge[ot]);return Re};const k=Re=>u.createElement(\"svg\",L({viewBox:\"64 64 896 896\"},Re),u.createElement(\"path\",{d:\"M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.2 732.5l60.3-241H281.1l189.6-327.4h224.6L487 427.4h211L378.2 732.5z\"}));var U=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODQ4IDM1OS4zSDYyNy43TDgyNS44IDEwOWM0LjEtNS4zLjQtMTMtNi4zLTEzSDQzNmMtMi44IDAtNS41IDEuNS02LjkgNEwxNzAgNTQ3LjVjLTMuMSA1LjMuNyAxMiA2LjkgMTJoMTc0LjRsLTg5LjQgMzU3LjZjLTEuOSA3LjggNy41IDEzLjMgMTMuMyA3LjdMODUzLjUgMzczYzUuMi00LjkgMS43LTEzLjctNS41LTEzLjd6TTM3OC4yIDczMi41bDYwLjMtMjQxSDI4MS4xbDE4OS42LTMyNy40aDIyNC42TDQ4NyA0MjcuNGgyMTFMMzc4LjIgNzMyLjV6Ii8+PC9zdmc+\",x=e(45626),F=function(){return u.createElement(u.Fragment,null)},K=F,G=e(51163),q=e(24572),X=e(75782),oe=e(91600),Ee=e(26143),Te=e(58733),ae=e(31591),z=e(47280),A=e(81676),T=(0,u.createContext)(null),R=u.forwardRef(function(Re,Ge){var ot=Re.prefixCls,Dt=Re.className,Nt=Re.style,Lt=Re.id,Ht=Re.active,Vt=Re.tabKey,an=Re.children;return u.createElement(\"div\",{id:Lt&&\"\".concat(Lt,\"-panel-\").concat(Vt),role:\"tabpanel\",tabIndex:Ht?0:-1,\"aria-labelledby\":Lt&&\"\".concat(Lt,\"-tab-\").concat(Vt),\"aria-hidden\":!Ht,style:Nt,className:o()(ot,Ht&&\"\".concat(ot,\"-active\"),Dt),ref:Ge},an)}),j=R,C=[\"key\",\"forceRender\",\"style\",\"className\"];function B(Re){var Ge=Re.id,ot=Re.activeKey,Dt=Re.animated,Nt=Re.tabPosition,Lt=Re.destroyInactiveTabPane,Ht=u.useContext(T),Vt=Ht.prefixCls,an=Ht.tabs,Wt=Dt.tabPane,bn=\"\".concat(Vt,\"-tabpane\");return u.createElement(\"div\",{className:o()(\"\".concat(Vt,\"-content-holder\"))},u.createElement(\"div\",{className:o()(\"\".concat(Vt,\"-content\"),\"\".concat(Vt,\"-content-\").concat(Nt),(0,q.Z)({},\"\".concat(Vt,\"-content-animated\"),Wt))},an.map(function(ln){var tt=ln.key,Ze=ln.forceRender,nt=ln.style,st=ln.className,Qe=(0,Te.Z)(ln,C),ct=tt===ot;return u.createElement(A.Z,(0,G.Z)({key:tt,visible:ct,forceRender:Ze,removeOnLeave:!!Lt,leavedClassName:\"\".concat(bn,\"-hidden\")},Dt.tabPaneMotion),function(lt,gt){var mt=lt.style,Et=lt.className;return u.createElement(j,(0,G.Z)({},Qe,{prefixCls:bn,id:Ge,tabKey:tt,animated:Wt,active:ct,style:(0,X.Z)((0,X.Z)({},nt),mt),className:o()(st,Et),ref:gt}))})})))}var fe=e(49544),Ae=e(60555),ge=e(51761),ce=e(40086),Me=e(64111),_e={width:0,height:0,left:0,top:0};function De(Re,Ge,ot){return(0,u.useMemo)(function(){for(var Dt,Nt=new Map,Lt=Ge.get((Dt=Re[0])===null||Dt===void 0?void 0:Dt.key)||_e,Ht=Lt.left+Lt.width,Vt=0;Vt<Re.length;Vt+=1){var an=Re[Vt].key,Wt=Ge.get(an);if(!Wt){var bn;Wt=Ge.get((bn=Re[Vt-1])===null||bn===void 0?void 0:bn.key)||_e}var ln=Nt.get(an)||(0,X.Z)({},Wt);ln.right=Ht-ln.left-ln.width,Nt.set(an,ln)}return Nt},[Re.map(function(Dt){return Dt.key}).join(\"_\"),Ge,ot])}function Ce(Re,Ge){var ot=u.useRef(Re),Dt=u.useState({}),Nt=(0,oe.Z)(Dt,2),Lt=Nt[1];function Ht(Vt){var an=typeof Vt==\"function\"?Vt(ot.current):Vt;an!==ot.current&&Ge(an,ot.current),ot.current=an,Lt({})}return[ot.current,Ht]}var it=.1,V=.01,we=20,Ie=Math.pow(.995,we);function le(Re,Ge){var ot=(0,u.useState)(),Dt=(0,oe.Z)(ot,2),Nt=Dt[0],Lt=Dt[1],Ht=(0,u.useState)(0),Vt=(0,oe.Z)(Ht,2),an=Vt[0],Wt=Vt[1],bn=(0,u.useState)(0),ln=(0,oe.Z)(bn,2),tt=ln[0],Ze=ln[1],nt=(0,u.useState)(),st=(0,oe.Z)(nt,2),Qe=st[0],ct=st[1],lt=(0,u.useRef)();function gt(Kt){var Yt=Kt.touches[0],$t=Yt.screenX,dn=Yt.screenY;Lt({x:$t,y:dn}),window.clearInterval(lt.current)}function mt(Kt){if(Nt){Kt.preventDefault();var Yt=Kt.touches[0],$t=Yt.screenX,dn=Yt.screenY;Lt({x:$t,y:dn});var Xt=$t-Nt.x,en=dn-Nt.y;Ge(Xt,en);var hn=Date.now();Wt(hn),Ze(hn-an),ct({x:Xt,y:en})}}function Et(){if(Nt&&(Lt(null),ct(null),Qe)){var Kt=Qe.x/tt,Yt=Qe.y/tt,$t=Math.abs(Kt),dn=Math.abs(Yt);if(Math.max($t,dn)<it)return;var Xt=Kt,en=Yt;lt.current=window.setInterval(function(){if(Math.abs(Xt)<V&&Math.abs(en)<V){window.clearInterval(lt.current);return}Xt*=Ie,en*=Ie,Ge(Xt*we,en*we)},we)}}var Pt=(0,u.useRef)();function Mt(Kt){var Yt=Kt.deltaX,$t=Kt.deltaY,dn=0,Xt=Math.abs(Yt),en=Math.abs($t);Xt===en?dn=Pt.current===\"x\"?Yt:$t:Xt>en?(dn=Yt,Pt.current=\"x\"):(dn=$t,Pt.current=\"y\"),Ge(-dn,-dn)&&Kt.preventDefault()}var Bt=(0,u.useRef)(null);Bt.current={onTouchStart:gt,onTouchMove:mt,onTouchEnd:Et,onWheel:Mt},u.useEffect(function(){function Kt(Xt){Bt.current.onTouchStart(Xt)}function Yt(Xt){Bt.current.onTouchMove(Xt)}function $t(Xt){Bt.current.onTouchEnd(Xt)}function dn(Xt){Bt.current.onWheel(Xt)}return document.addEventListener(\"touchmove\",Yt,{passive:!1}),document.addEventListener(\"touchend\",$t,{passive:!1}),Re.current.addEventListener(\"touchstart\",Kt,{passive:!1}),Re.current.addEventListener(\"wheel\",dn),function(){document.removeEventListener(\"touchmove\",Yt),document.removeEventListener(\"touchend\",$t)}},[])}var Ne=e(57770);function te(Re){var Ge=(0,u.useState)(0),ot=(0,oe.Z)(Ge,2),Dt=ot[0],Nt=ot[1],Lt=(0,u.useRef)(0),Ht=(0,u.useRef)();return Ht.current=Re,(0,Ne.o)(function(){var Vt;(Vt=Ht.current)===null||Vt===void 0||Vt.call(Ht)},[Dt]),function(){Lt.current===Dt&&(Lt.current+=1,Nt(Lt.current))}}function se(Re){var Ge=(0,u.useRef)([]),ot=(0,u.useState)({}),Dt=(0,oe.Z)(ot,2),Nt=Dt[1],Lt=(0,u.useRef)(typeof Re==\"function\"?Re():Re),Ht=te(function(){var an=Lt.current;Ge.current.forEach(function(Wt){an=Wt(an)}),Ge.current=[],Lt.current=an,Nt({})});function Vt(an){Ge.current.push(an),Ht()}return[Lt.current,Vt]}var pe={width:0,height:0,left:0,top:0,right:0};function ee(Re,Ge,ot,Dt,Nt,Lt,Ht){var Vt=Ht.tabs,an=Ht.tabPosition,Wt=Ht.rtl,bn,ln,tt;return[\"top\",\"bottom\"].includes(an)?(bn=\"width\",ln=Wt?\"right\":\"left\",tt=Math.abs(ot)):(bn=\"height\",ln=\"top\",tt=-ot),(0,u.useMemo)(function(){if(!Vt.length)return[0,0];for(var Ze=Vt.length,nt=Ze,st=0;st<Ze;st+=1){var Qe=Re.get(Vt[st].key)||pe;if(Qe[ln]+Qe[bn]>tt+Ge){nt=st-1;break}}for(var ct=0,lt=Ze-1;lt>=0;lt-=1){var gt=Re.get(Vt[lt].key)||pe;if(gt[ln]<tt){ct=lt+1;break}}return[ct,nt]},[Re,Ge,Dt,Nt,Lt,tt,an,Vt.map(function(Ze){return Ze.key}).join(\"_\"),Wt])}function Se(Re){var Ge;return Re instanceof Map?(Ge={},Re.forEach(function(ot,Dt){Ge[Dt]=ot})):Ge=Re,JSON.stringify(Ge)}var Q=\"TABS_DQ\";function Z(Re){return String(Re).replace(/\"/g,Q)}function Y(Re,Ge){var ot=Re.prefixCls,Dt=Re.editable,Nt=Re.locale,Lt=Re.style;return!Dt||Dt.showAdd===!1?null:u.createElement(\"button\",{ref:Ge,type:\"button\",className:\"\".concat(ot,\"-nav-add\"),style:Lt,\"aria-label\":(Nt==null?void 0:Nt.addAriaLabel)||\"Add tab\",onClick:function(Vt){Dt.onEdit(\"add\",{event:Vt})}},Dt.addIcon||\"+\")}var ue=u.forwardRef(Y),he=u.forwardRef(function(Re,Ge){var ot=Re.position,Dt=Re.prefixCls,Nt=Re.extra;if(!Nt)return null;var Lt,Ht={};return(0,Ee.Z)(Nt)===\"object\"&&!u.isValidElement(Nt)?Ht=Nt:Ht.right=Nt,ot===\"right\"&&(Lt=Ht.right),ot===\"left\"&&(Lt=Ht.left),Lt?u.createElement(\"div\",{className:\"\".concat(Dt,\"-extra-content\"),ref:Ge},Lt):null}),me=he,Oe=e(75294),We=e(58048),ke=e(59158);function It(Re,Ge){var ot=Re.prefixCls,Dt=Re.id,Nt=Re.tabs,Lt=Re.locale,Ht=Re.mobile,Vt=Re.moreIcon,an=Vt===void 0?\"More\":Vt,Wt=Re.moreTransitionName,bn=Re.style,ln=Re.className,tt=Re.editable,Ze=Re.tabBarGutter,nt=Re.rtl,st=Re.removeAriaLabel,Qe=Re.onTabClick,ct=Re.getPopupContainer,lt=Re.popupClassName,gt=(0,u.useState)(!1),mt=(0,oe.Z)(gt,2),Et=mt[0],Pt=mt[1],Mt=(0,u.useState)(null),Bt=(0,oe.Z)(Mt,2),Kt=Bt[0],Yt=Bt[1],$t=\"\".concat(Dt,\"-more-popup\"),dn=\"\".concat(ot,\"-dropdown\"),Xt=Kt!==null?\"\".concat($t,\"-\").concat(Kt):null,en=Lt==null?void 0:Lt.dropdownAriaLabel;function hn(sn,Rn){sn.preventDefault(),sn.stopPropagation(),tt.onEdit(\"remove\",{key:Rn,event:sn})}var pn=u.createElement(We.ZP,{onClick:function(Rn){var Nn=Rn.key,Bn=Rn.domEvent;Qe(Nn,Bn),Pt(!1)},prefixCls:\"\".concat(dn,\"-menu\"),id:$t,tabIndex:-1,role:\"listbox\",\"aria-activedescendant\":Xt,selectedKeys:[Kt],\"aria-label\":en!==void 0?en:\"expanded dropdown\"},Nt.map(function(sn){var Rn=tt&&sn.closable!==!1&&!sn.disabled;return u.createElement(We.sN,{key:sn.key,id:\"\".concat($t,\"-\").concat(sn.key),role:\"option\",\"aria-controls\":Dt&&\"\".concat(Dt,\"-panel-\").concat(sn.key),disabled:sn.disabled},u.createElement(\"span\",null,sn.label),Rn&&u.createElement(\"button\",{type:\"button\",\"aria-label\":st||\"remove\",tabIndex:0,className:\"\".concat(dn,\"-menu-item-remove\"),onClick:function(Bn){Bn.stopPropagation(),hn(Bn,sn.key)}},sn.closeIcon||tt.removeIcon||\"\\xD7\"))}));function Sn(sn){for(var Rn=Nt.filter(function(H){return!H.disabled}),Nn=Rn.findIndex(function(H){return H.key===Kt})||0,Bn=Rn.length,Vn=0;Vn<Bn;Vn+=1){Nn=(Nn+sn+Bn)%Bn;var Fn=Rn[Nn];if(!Fn.disabled){Yt(Fn.key);return}}}function fn(sn){var Rn=sn.which;if(!Et){[ke.Z.DOWN,ke.Z.SPACE,ke.Z.ENTER].includes(Rn)&&(Pt(!0),sn.preventDefault());return}switch(Rn){case ke.Z.UP:Sn(-1),sn.preventDefault();break;case ke.Z.DOWN:Sn(1),sn.preventDefault();break;case ke.Z.ESC:Pt(!1);break;case ke.Z.SPACE:case ke.Z.ENTER:Kt!==null&&Qe(Kt,sn);break}}(0,u.useEffect)(function(){var sn=document.getElementById(Xt);sn&&sn.scrollIntoView&&sn.scrollIntoView(!1)},[Kt]),(0,u.useEffect)(function(){Et||Yt(null)},[Et]);var Zt=(0,q.Z)({},nt?\"marginRight\":\"marginLeft\",Ze);Nt.length||(Zt.visibility=\"hidden\",Zt.order=1);var ar=o()((0,q.Z)({},\"\".concat(dn,\"-rtl\"),nt)),An=Ht?null:u.createElement(Oe.Z,{prefixCls:dn,overlay:pn,trigger:[\"hover\"],visible:Nt.length?Et:!1,transitionName:Wt,onVisibleChange:Pt,overlayClassName:o()(ar,lt),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:ct},u.createElement(\"button\",{type:\"button\",className:\"\".concat(ot,\"-nav-more\"),style:Zt,tabIndex:-1,\"aria-hidden\":\"true\",\"aria-haspopup\":\"listbox\",\"aria-controls\":$t,id:\"\".concat(Dt,\"-more\"),\"aria-expanded\":Et,onKeyDown:fn},an));return u.createElement(\"div\",{className:o()(\"\".concat(ot,\"-nav-operations\"),ln),style:bn,ref:Ge},An,u.createElement(ue,{prefixCls:ot,locale:Lt,editable:tt}))}var ft=u.memo(u.forwardRef(It),function(Re,Ge){return Ge.tabMoving});function nn(Re){var Ge,ot=Re.prefixCls,Dt=Re.id,Nt=Re.active,Lt=Re.tab,Ht=Lt.key,Vt=Lt.label,an=Lt.disabled,Wt=Lt.closeIcon,bn=Re.closable,ln=Re.renderWrapper,tt=Re.removeAriaLabel,Ze=Re.editable,nt=Re.onClick,st=Re.onFocus,Qe=Re.style,ct=\"\".concat(ot,\"-tab\"),lt=Ze&&bn!==!1&&!an;function gt(Pt){an||nt(Pt)}function mt(Pt){Pt.preventDefault(),Pt.stopPropagation(),Ze.onEdit(\"remove\",{key:Ht,event:Pt})}var Et=u.createElement(\"div\",{key:Ht,\"data-node-key\":Z(Ht),className:o()(ct,(Ge={},(0,q.Z)(Ge,\"\".concat(ct,\"-with-remove\"),lt),(0,q.Z)(Ge,\"\".concat(ct,\"-active\"),Nt),(0,q.Z)(Ge,\"\".concat(ct,\"-disabled\"),an),Ge)),style:Qe,onClick:gt},u.createElement(\"div\",{role:\"tab\",\"aria-selected\":Nt,id:Dt&&\"\".concat(Dt,\"-tab-\").concat(Ht),className:\"\".concat(ct,\"-btn\"),\"aria-controls\":Dt&&\"\".concat(Dt,\"-panel-\").concat(Ht),\"aria-disabled\":an,tabIndex:an?null:0,onClick:function(Mt){Mt.stopPropagation(),gt(Mt)},onKeyDown:function(Mt){[ke.Z.SPACE,ke.Z.ENTER].includes(Mt.which)&&(Mt.preventDefault(),gt(Mt))},onFocus:st},Vt),lt&&u.createElement(\"button\",{type:\"button\",\"aria-label\":tt||\"remove\",tabIndex:0,className:\"\".concat(ct,\"-remove\"),onClick:function(Mt){Mt.stopPropagation(),mt(Mt)}},Wt||Ze.removeIcon||\"\\xD7\"));return ln?ln(Et):Et}var b=nn,W=function(Ge){var ot=Ge.current||{},Dt=ot.offsetWidth,Nt=Dt===void 0?0:Dt,Lt=ot.offsetHeight,Ht=Lt===void 0?0:Lt;return[Nt,Ht]},de=function(Ge,ot){return Ge[ot?0:1]};function ye(Re,Ge){var ot,Dt=u.useContext(T),Nt=Dt.prefixCls,Lt=Dt.tabs,Ht=Re.className,Vt=Re.style,an=Re.id,Wt=Re.animated,bn=Re.activeKey,ln=Re.rtl,tt=Re.extra,Ze=Re.editable,nt=Re.locale,st=Re.tabPosition,Qe=Re.tabBarGutter,ct=Re.children,lt=Re.onTabClick,gt=Re.onTabScroll,mt=(0,u.useRef)(),Et=(0,u.useRef)(),Pt=(0,u.useRef)(),Mt=(0,u.useRef)(),Bt=(0,u.useRef)(),Kt=(0,u.useRef)(),Yt=(0,u.useRef)(),$t=st===\"top\"||st===\"bottom\",dn=Ce(0,function(Cn,xt){$t&&gt&&gt({direction:Cn>xt?\"left\":\"right\"})}),Xt=(0,oe.Z)(dn,2),en=Xt[0],hn=Xt[1],pn=Ce(0,function(Cn,xt){!$t&&gt&&gt({direction:Cn>xt?\"top\":\"bottom\"})}),Sn=(0,oe.Z)(pn,2),fn=Sn[0],Zt=Sn[1],ar=(0,u.useState)([0,0]),An=(0,oe.Z)(ar,2),sn=An[0],Rn=An[1],Nn=(0,u.useState)([0,0]),Bn=(0,oe.Z)(Nn,2),Vn=Bn[0],Fn=Bn[1],H=(0,u.useState)([0,0]),ie=(0,oe.Z)(H,2),re=ie[0],xe=ie[1],Ke=(0,u.useState)([0,0]),Ue=(0,oe.Z)(Ke,2),J=Ue[0],w=Ue[1],P=se(new Map),D=(0,oe.Z)(P,2),ne=D[0],be=D[1],Le=De(Lt,ne,Vn[0]),je=de(sn,$t),ze=de(Vn,$t),ut=de(re,$t),dt=de(J,$t),Ct=je<ze+ut,Rt=Ct?je-dt:je-ut,kt=\"\".concat(Nt,\"-nav-operations-hidden\"),Ut=0,Qt=0;$t&&ln?(Ut=0,Qt=Math.max(0,ze-Rt)):(Ut=Math.min(0,Rt-ze),Qt=0);function cn(Cn){return Cn<Ut?Ut:Cn>Qt?Qt:Cn}var wn=(0,u.useRef)(),gn=(0,u.useState)(),Kn=(0,oe.Z)(gn,2),Pn=Kn[0],Ln=Kn[1];function er(){Ln(Date.now())}function or(){window.clearTimeout(wn.current)}le(Mt,function(Cn,xt){function ur(tr,Fr){tr(function(_r){var To=cn(_r+Fr);return To})}return Ct?($t?ur(hn,Cn):ur(Zt,xt),or(),er(),!0):!1}),(0,u.useEffect)(function(){return or(),Pn&&(wn.current=window.setTimeout(function(){Ln(0)},100)),or},[Pn]);var Ar=ee(Le,Rt,$t?en:fn,ze,ut,dt,(0,X.Z)((0,X.Z)({},Re),{},{tabs:Lt})),Xn=(0,oe.Z)(Ar,2),Yn=Xn[0],Er=Xn[1],Hn=(0,ge.Z)(function(){var Cn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:bn,xt=Le.get(Cn)||{width:0,height:0,left:0,right:0,top:0};if($t){var ur=en;ln?xt.right<en?ur=xt.right:xt.right+xt.width>en+Rt&&(ur=xt.right+xt.width-Rt):xt.left<-en?ur=-xt.left:xt.left+xt.width>-en+Rt&&(ur=-(xt.left+xt.width-Rt)),Zt(0),hn(cn(ur))}else{var tr=fn;xt.top<-fn?tr=-xt.top:xt.top+xt.height>-fn+Rt&&(tr=-(xt.top+xt.height-Rt)),hn(0),Zt(cn(tr))}}),Ir={};st===\"top\"||st===\"bottom\"?Ir[ln?\"marginRight\":\"marginLeft\"]=Qe:Ir.marginTop=Qe;var kr=Lt.map(function(Cn,xt){var ur=Cn.key;return u.createElement(b,{id:an,prefixCls:Nt,key:ur,tab:Cn,style:xt===0?void 0:Ir,closable:Cn.closable,editable:Ze,active:ur===bn,renderWrapper:ct,removeAriaLabel:nt==null?void 0:nt.removeAriaLabel,onClick:function(Fr){lt(ur,Fr)},onFocus:function(){Hn(ur),er(),Mt.current&&(ln||(Mt.current.scrollLeft=0),Mt.current.scrollTop=0)}})}),fr=function(){return be(function(){var xt=new Map;return Lt.forEach(function(ur){var tr,Fr=ur.key,_r=(tr=Bt.current)===null||tr===void 0?void 0:tr.querySelector('[data-node-key=\"'.concat(Z(Fr),'\"]'));_r&&xt.set(Fr,{width:_r.offsetWidth,height:_r.offsetHeight,left:_r.offsetLeft,top:_r.offsetTop})}),xt})};(0,u.useEffect)(function(){fr()},[Lt.map(function(Cn){return Cn.key}).join(\"_\")]);var Rr=te(function(){var Cn=W(mt),xt=W(Et),ur=W(Pt);Rn([Cn[0]-xt[0]-ur[0],Cn[1]-xt[1]-ur[1]]);var tr=W(Yt);xe(tr);var Fr=W(Kt);w(Fr);var _r=W(Bt);Fn([_r[0]-tr[0],_r[1]-tr[1]]),fr()}),hr=Lt.slice(0,Yn),Tr=Lt.slice(Er+1),La=[].concat((0,fe.Z)(hr),(0,fe.Z)(Tr)),za=(0,u.useState)(),Ha=(0,oe.Z)(za,2),Gr=Ha[0],$a=Ha[1],Vr=Le.get(bn),pa=(0,u.useRef)();function ya(){ce.Z.cancel(pa.current)}(0,u.useEffect)(function(){var Cn={};return Vr&&($t?(ln?Cn.right=Vr.right:Cn.left=Vr.left,Cn.width=Vr.width):(Cn.top=Vr.top,Cn.height=Vr.height)),ya(),pa.current=(0,ce.Z)(function(){$a(Cn)}),ya},[Vr,$t,ln]),(0,u.useEffect)(function(){Hn()},[bn,Ut,Qt,Se(Vr),Se(Le),$t]),(0,u.useEffect)(function(){Rr()},[ln]);var ir=!!La.length,Pr=\"\".concat(Nt,\"-nav-wrap\"),Yr,xr,Oa,na;return $t?ln?(xr=en>0,Yr=en!==Qt):(Yr=en<0,xr=en!==Ut):(Oa=fn<0,na=fn!==Ut),u.createElement(Ae.Z,{onResize:Rr},u.createElement(\"div\",{ref:(0,Me.x1)(Ge,mt),role:\"tablist\",className:o()(\"\".concat(Nt,\"-nav\"),Ht),style:Vt,onKeyDown:function(){er()}},u.createElement(me,{ref:Et,position:\"left\",extra:tt,prefixCls:Nt}),u.createElement(\"div\",{className:o()(Pr,(ot={},(0,q.Z)(ot,\"\".concat(Pr,\"-ping-left\"),Yr),(0,q.Z)(ot,\"\".concat(Pr,\"-ping-right\"),xr),(0,q.Z)(ot,\"\".concat(Pr,\"-ping-top\"),Oa),(0,q.Z)(ot,\"\".concat(Pr,\"-ping-bottom\"),na),ot)),ref:Mt},u.createElement(Ae.Z,{onResize:Rr},u.createElement(\"div\",{ref:Bt,className:\"\".concat(Nt,\"-nav-list\"),style:{transform:\"translate(\".concat(en,\"px, \").concat(fn,\"px)\"),transition:Pn?\"none\":void 0}},kr,u.createElement(ue,{ref:Yt,prefixCls:Nt,locale:nt,editable:Ze,style:(0,X.Z)((0,X.Z)({},kr.length===0?void 0:Ir),{},{visibility:ir?\"hidden\":null})}),u.createElement(\"div\",{className:o()(\"\".concat(Nt,\"-ink-bar\"),(0,q.Z)({},\"\".concat(Nt,\"-ink-bar-animated\"),Wt.inkBar)),style:Gr})))),u.createElement(ft,(0,G.Z)({},Re,{removeAriaLabel:nt==null?void 0:nt.removeAriaLabel,ref:Kt,prefixCls:Nt,tabs:La,className:!ir&&kt,tabMoving:!!Pn})),u.createElement(me,{ref:Pt,position:\"right\",extra:tt,prefixCls:Nt})))}var He=u.forwardRef(ye),rt=[\"renderTabBar\"],$e=[\"label\",\"key\"];function pt(Re){var Ge=Re.renderTabBar,ot=(0,Te.Z)(Re,rt),Dt=u.useContext(T),Nt=Dt.tabs;if(Ge){var Lt=(0,X.Z)((0,X.Z)({},ot),{},{panes:Nt.map(function(Ht){var Vt=Ht.label,an=Ht.key,Wt=(0,Te.Z)(Ht,$e);return u.createElement(j,(0,G.Z)({tab:Vt,key:an,tabKey:an},Wt))})});return Ge(Lt,He)}return u.createElement(He,ot)}var Ot=e(53675);function at(){var Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},Ge;return Re===!1?Ge={inkBar:!1,tabPane:!1}:Re===!0?Ge={inkBar:!0,tabPane:!1}:Ge=(0,X.Z)({inkBar:!0},(0,Ee.Z)(Re)===\"object\"?Re:{}),Ge.tabPaneMotion&&Ge.tabPane===void 0&&(Ge.tabPane=!0),!Ge.tabPaneMotion&&Ge.tabPane&&(Ge.tabPane=!1),Ge}var wt=[\"id\",\"prefixCls\",\"className\",\"items\",\"direction\",\"activeKey\",\"defaultActiveKey\",\"editable\",\"animated\",\"tabPosition\",\"tabBarGutter\",\"tabBarStyle\",\"tabBarExtraContent\",\"locale\",\"moreIcon\",\"moreTransitionName\",\"destroyInactiveTabPane\",\"renderTabBar\",\"onChange\",\"onTabClick\",\"onTabScroll\",\"getPopupContainer\",\"popupClassName\"],vt=0;function jt(Re,Ge){var ot,Dt=Re.id,Nt=Re.prefixCls,Lt=Nt===void 0?\"rc-tabs\":Nt,Ht=Re.className,Vt=Re.items,an=Re.direction,Wt=Re.activeKey,bn=Re.defaultActiveKey,ln=Re.editable,tt=Re.animated,Ze=Re.tabPosition,nt=Ze===void 0?\"top\":Ze,st=Re.tabBarGutter,Qe=Re.tabBarStyle,ct=Re.tabBarExtraContent,lt=Re.locale,gt=Re.moreIcon,mt=Re.moreTransitionName,Et=Re.destroyInactiveTabPane,Pt=Re.renderTabBar,Mt=Re.onChange,Bt=Re.onTabClick,Kt=Re.onTabScroll,Yt=Re.getPopupContainer,$t=Re.popupClassName,dn=(0,Te.Z)(Re,wt),Xt=u.useMemo(function(){return(Vt||[]).filter(function(P){return P&&(0,Ee.Z)(P)===\"object\"&&\"key\"in P})},[Vt]),en=an===\"rtl\",hn=at(tt),pn=(0,u.useState)(!1),Sn=(0,oe.Z)(pn,2),fn=Sn[0],Zt=Sn[1];(0,u.useEffect)(function(){Zt((0,ae.Z)())},[]);var ar=(0,z.Z)(function(){var P;return(P=Xt[0])===null||P===void 0?void 0:P.key},{value:Wt,defaultValue:bn}),An=(0,oe.Z)(ar,2),sn=An[0],Rn=An[1],Nn=(0,u.useState)(function(){return Xt.findIndex(function(P){return P.key===sn})}),Bn=(0,oe.Z)(Nn,2),Vn=Bn[0],Fn=Bn[1];(0,u.useEffect)(function(){var P=Xt.findIndex(function(ne){return ne.key===sn});if(P===-1){var D;P=Math.max(0,Math.min(Vn,Xt.length-1)),Rn((D=Xt[P])===null||D===void 0?void 0:D.key)}Fn(P)},[Xt.map(function(P){return P.key}).join(\"_\"),sn,Vn]);var H=(0,z.Z)(null,{value:Dt}),ie=(0,oe.Z)(H,2),re=ie[0],xe=ie[1];(0,u.useEffect)(function(){Dt||(xe(\"rc-tabs-\".concat(vt)),vt+=1)},[]);function Ke(P,D){Bt==null||Bt(P,D);var ne=P!==sn;Rn(P),ne&&(Mt==null||Mt(P))}var Ue={id:re,activeKey:sn,animated:hn,tabPosition:nt,rtl:en,mobile:fn},J,w=(0,X.Z)((0,X.Z)({},Ue),{},{editable:ln,locale:lt,moreIcon:gt,moreTransitionName:mt,tabBarGutter:st,onTabClick:Ke,onTabScroll:Kt,extra:ct,style:Qe,panes:null,getPopupContainer:Yt,popupClassName:$t});return u.createElement(T.Provider,{value:{tabs:Xt,prefixCls:Lt}},u.createElement(\"div\",(0,G.Z)({ref:Ge,id:Dt,className:o()(Lt,\"\".concat(Lt,\"-\").concat(nt),(ot={},(0,q.Z)(ot,\"\".concat(Lt,\"-mobile\"),fn),(0,q.Z)(ot,\"\".concat(Lt,\"-editable\"),ln),(0,q.Z)(ot,\"\".concat(Lt,\"-rtl\"),en),ot),Ht)},dn),J,u.createElement(pt,(0,G.Z)({},w,{renderTabBar:Pt})),u.createElement(B,(0,G.Z)({destroyInactiveTabPane:Et},Ue,{animated:hn}))))}var At=u.forwardRef(jt),qt=At,En=qt;function Ft(Re,Ge){return Jn(Re)||Wn(Re,Ge)||xn(Re,Ge)||_n()}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.`)}function xn(Re,Ge){if(Re){if(typeof Re==\"string\")return Zn(Re,Ge);var ot=Object.prototype.toString.call(Re).slice(8,-1);if(ot===\"Object\"&&Re.constructor&&(ot=Re.constructor.name),ot===\"Map\"||ot===\"Set\")return Array.from(Re);if(ot===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ot))return Zn(Re,Ge)}}function Zn(Re,Ge){(Ge==null||Ge>Re.length)&&(Ge=Re.length);for(var ot=0,Dt=new Array(Ge);ot<Ge;ot++)Dt[ot]=Re[ot];return Dt}function Wn(Re,Ge){var ot=Re==null?null:typeof Symbol!=\"undefined\"&&Re[Symbol.iterator]||Re[\"@@iterator\"];if(ot!=null){var Dt=[],Nt=!0,Lt=!1,Ht,Vt;try{for(ot=ot.call(Re);!(Nt=(Ht=ot.next()).done)&&(Dt.push(Ht.value),!(Ge&&Dt.length===Ge));Nt=!0);}catch(an){Lt=!0,Vt=an}finally{try{!Nt&&ot.return!=null&&ot.return()}finally{if(Lt)throw Vt}}return Dt}}function Jn(Re){if(Array.isArray(Re))return Re}var Un=function(){return u.createElement(\"svg\",{viewBox:\"0 0 200 117\"},u.createElement(\"path\",{d:\"M59.688 2.578c-3.438-3.437-8.438-3.437-11.563 0L3.75 48.516c-5 5.937-5 14.062 0 19.062l44.063 45.938c1.562 1.562 4.062 2.5 5.937 2.5s4.063-.938 5.938-2.5c3.437-3.438 3.437-8.438 0-11.563l-42.5-43.437 42.5-44.063c3.437-3.437 3.437-8.437 0-11.875Zm135.937 45.938L151.25 2.578c-3.438-3.437-8.438-3.437-11.563 0-3.125 3.438-3.437 8.438 0 11.563l42.5 44.375-42.5 44.062c-3.437 3.438-3.437 8.438 0 11.563 1.563 1.562 3.438 2.5 5.938 2.5 2.5 0 4.063-.938 5.938-2.5l44.062-45.938c5.625-5.625 5.625-13.75 0-19.687Zm-75.938-45c-4.062-1.563-9.062.937-10.937 5l-34.063 95c-1.562 4.062.938 9.062 5 10.937.938 0 1.563.938 2.5.938 3.438 0 6.563-2.5 7.5-5.938l35-95.937c1.563-4.063-.937-9.063-5-10Z\"}))},qn=function(){return u.createElement(\"svg\",{viewBox:\"0 0 200 117\"},u.createElement(\"path\",{d:\"M59.688 2.578c-3.438-3.437-8.438-3.437-11.563 0L3.75 48.516c-5 5.937-5 14.062 0 19.062l44.063 45.938c1.562 1.562 4.062 2.5 5.937 2.5s4.063-.938 5.938-2.5c3.437-3.438 3.437-8.438 0-11.563l-42.5-43.437 42.5-44.063c3.437-3.437 3.437-8.437 0-11.875Zm135.937 45.938L151.25 2.578c-3.438-3.437-8.438-3.437-11.563 0-3.125 3.438-3.437 8.438 0 11.563l42.5 44.375-42.5 44.062c-3.437 3.438-3.437 8.438 0 11.563 1.563 1.562 3.438 2.5 5.938 2.5 2.5 0 4.063-.938 5.938-2.5l44.062-45.938c5.625-5.625 5.625-13.75 0-19.687Z\"}))},cr=function(){return u.createElement(\"svg\",{viewBox:\"0 0 1024 1024\"},u.createElement(\"path\",{d:\"M853.333 469.333A42.667 42.667 0 0 0 810.667 512v256A42.667 42.667 0 0 1 768 810.667H256A42.667 42.667 0 0 1 213.333 768V256A42.667 42.667 0 0 1 256 213.333h256A42.667 42.667 0 0 0 512 128H256a128 128 0 0 0-128 128v512a128 128 0 0 0 128 128h512a128 128 0 0 0 128-128V512a42.667 42.667 0 0 0-42.667-42.667z\"}),u.createElement(\"path\",{d:\"M682.667 213.333h67.413L481.707 481.28a42.667 42.667 0 0 0 0 60.587 42.667 42.667 0 0 0 60.586 0L810.667 273.92v67.413A42.667 42.667 0 0 0 853.333 384 42.667 42.667 0 0 0 896 341.333V170.667A42.667 42.667 0 0 0 853.333 128H682.667a42.667 42.667 0 0 0 0 85.333z\"}))},pr=function(Ge){var ot,Dt,Nt,Lt,Ht=(0,r.YB)(),Vt=Object.entries(Ge.asset.dependencies).filter(function(lt){var gt=Ft(lt,2),mt=gt[1].type;return mt===\"FILE\"}),an=(0,u.useState)(0),Wt=Ft(an,2),bn=Wt[0],ln=Wt[1],tt=(0,u.useState)(Ge.forceShowCode||Ge.defaultShowCode),Ze=Ft(tt,2),nt=Ze[0],st=Ze[1],Qe=Vt.length===1,ct=((ot=Vt[bn][0].match(/\\.([^.]+)$/))===null||ot===void 0?void 0:ot[1])||\"text\";return u.createElement(u.Fragment,null,u.createElement(\"div\",{className:\"dumi-default-previewer-actions\"},!((Dt=Ge.disabledActions)!==null&&Dt!==void 0&&Dt.includes(\"CSB\"))&&u.createElement(\"button\",{className:\"dumi-default-previewer-action-btn\",type:\"button\",\"data-dumi-tooltip\":Ht.formatMessage({id:\"previewer.actions.codesandbox\"}),onClick:function(){return(0,r.il)(Ge)}},u.createElement(g,null)),!((Nt=Ge.disabledActions)!==null&&Nt!==void 0&&Nt.includes(\"STACKBLITZ\"))&&u.createElement(\"button\",{className:\"dumi-default-previewer-action-btn\",type:\"button\",\"data-dumi-tooltip\":Ht.formatMessage({id:\"previewer.actions.stackblitz\"}),onClick:function(){return(0,r.Sc)(Ge)}},u.createElement(k,null)),!((Lt=Ge.disabledActions)!==null&&Lt!==void 0&&Lt.includes(\"EXTERNAL\"))&&u.createElement(\"a\",{target:\"_blank\",rel:\"noreferrer\",href:Ge.demoUrl,className:\"dumi-default-previewer-action-btn\",\"data-dumi-tooltip\":Ht.formatMessage({id:\"previewer.actions.separate\"})},u.createElement(cr,null)),u.createElement(K,Ge),!Ge.forceShowCode&&u.createElement(\"button\",{className:\"dumi-default-previewer-action-btn\",type:\"button\",onClick:function(){return st(function(gt){return!gt})},\"data-dumi-tooltip\":Ht.formatMessage({id:\"previewer.actions.code.\".concat(nt?\"shrink\":\"expand\")})},nt?u.createElement(qn,null):u.createElement(Un,null))),nt&&u.createElement(u.Fragment,null,u.createElement(\"div\",{className:\"dumi-default-previewer-sources\"},!Qe&&u.createElement(En,{className:\"dumi-default-previewer-tabs\",prefixCls:\"dumi-default-tabs\",moreIcon:\"\\xB7\\xB7\\xB7\",defaultActiveKey:String(bn),onChange:function(gt){return ln(Number(gt))},items:Vt.map(function(lt,gt){var mt=Ft(lt,1),Et=mt[0];return{key:String(gt),label:Et}})})),u.createElement(x.Z,{lang:ct},Vt[bn][1].value)))},vr=pr;function Dn(Re){return Dn=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(Ge){return typeof Ge}:function(Ge){return Ge&&typeof Symbol==\"function\"&&Ge.constructor===Symbol&&Ge!==Symbol.prototype?\"symbol\":typeof Ge},Dn(Re)}var br=function(Ge){var ot=(0,r.TH)(),Dt=ot.hash,Nt=\"#\".concat(Ge.asset.id);return u.createElement(\"div\",{id:Ge.asset.id,className:o()(\"dumi-default-previewer\",Ge.className),style:Ge.style,\"data-debug\":Ge.debug,\"data-active\":Dt===Nt||void 0},u.createElement(\"div\",{className:\"dumi-default-previewer-demo\",style:{background:Ge.background},\"data-compact\":Ge.compact||void 0,\"data-transform\":Ge.transform||void 0,\"data-iframe\":Ge.iframe||void 0},Ge.iframe?u.createElement(\"iframe\",{style:[\"string\",\"number\"].includes(Dn(Ge.iframe))?{height:Number(Ge.iframe)}:{},src:Ge.demoUrl}):Ge.children),u.createElement(\"div\",{className:\"dumi-default-previewer-meta\"},(Ge.title||Ge.debug)&&u.createElement(\"div\",{className:\"dumi-default-previewer-desc\"},u.createElement(\"h5\",null,u.createElement(\"a\",{href:Nt},Ge.debug&&u.createElement(\"strong\",null,\"DEV ONLY\"),Ge.title)),Ge.description&&u.createElement(\"div\",{className:\"markdown\",dangerouslySetInnerHTML:{__html:Ge.description}})),u.createElement(vr,Ge)))},zn=br},45626:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return it}});var a=e(50959),o=Object.defineProperty,r=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,d=(V,we,Ie)=>we in V?o(V,we,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):V[we]=Ie,f=(V,we)=>{for(var Ie in we||(we={}))u.call(we,Ie)&&d(V,Ie,we[Ie]);if(r)for(var Ie of r(we))l.call(we,Ie)&&d(V,Ie,we[Ie]);return V};const v=V=>a.createElement(\"svg\",f({viewBox:\"64 64 896 896\"},V),a.createElement(\"path\",{d:\"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z\"}));var p=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNOTEyIDE5MGgtNjkuOWMtOS44IDAtMTkuMSA0LjUtMjUuMSAxMi4yTDQwNC43IDcyNC41IDIwNyA0NzRhMzIgMzIgMCAwIDAtMjUuMS0xMi4ySDExMmMtNi43IDAtMTAuNCA3LjctNi4zIDEyLjlsMjczLjkgMzQ3YzEyLjggMTYuMiAzNy40IDE2LjIgNTAuMyAwbDQ4OC40LTYxOC45YzQuMS01LjEuNC0xMi44LTYuMy0xMi44eiIvPjwvc3ZnPg==\",h=Object.defineProperty,g=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,I=(V,we,Ie)=>we in V?h(V,we,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):V[we]=Ie,N=(V,we)=>{for(var Ie in we||(we={}))y.call(we,Ie)&&I(V,Ie,we[Ie]);if(g)for(var Ie of g(we))S.call(we,Ie)&&I(V,Ie,we[Ie]);return V};const _=V=>a.createElement(\"svg\",N({viewBox:\"64 64 896 896\"},V),a.createElement(\"path\",{d:\"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2 263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z\"}));var M=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODMyIDY0SDI5NmMtNC40IDAtOCAzLjYtOCA4djU2YzAgNC40IDMuNiA4IDggOGg0OTZ2Njg4YzAgNC40IDMuNiA4IDggOGg1NmM0LjQgMCA4LTMuNiA4LThWOTZjMC0xNy43LTE0LjMtMzItMzItMzJ6TTcwNCAxOTJIMTkyYy0xNy43IDAtMzIgMTQuMy0zMiAzMnY1MzAuN2MwIDguNSAzLjQgMTYuNiA5LjQgMjIuNmwxNzMuMyAxNzMuM2MyLjIgMi4yIDQuNyA0IDcuNCA1LjV2MS45aDQuMmMzLjUgMS4zIDcuMiAyIDExIDJINzA0YzE3LjcgMCAzMi0xNC4zIDMyLTMyVjIyNGMwLTE3LjctMTQuMy0zMi0zMi0zMnpNMzUwIDg1Ni4yIDI2My45IDc3MEgzNTB2ODYuMnpNNjY0IDg4OEg0MTRWNzQ2YzAtMjIuMS0xNy45LTQwLTQwLTQwSDIzMlYyNjRoNDMydjYyNHoiLz48L3N2Zz4=\",L=e(84875),k=e.n(L);var U=function(){var V=/(?:^|\\s)lang(?:uage)?-([\\w-]+)(?=\\s|$)/i,we=0,Ie={},le={util:{encode:function Z(Y){return Y instanceof Ne?new Ne(Y.type,Z(Y.content),Y.alias):Array.isArray(Y)?Y.map(Z):Y.replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/\\u00a0/g,\" \")},type:function(Z){return Object.prototype.toString.call(Z).slice(8,-1)},objId:function(Z){return Z.__id||Object.defineProperty(Z,\"__id\",{value:++we}),Z.__id},clone:function Z(Y,ue){ue=ue||{};var he,me;switch(le.util.type(Y)){case\"Object\":if(me=le.util.objId(Y),ue[me])return ue[me];he={},ue[me]=he;for(var Oe in Y)Y.hasOwnProperty(Oe)&&(he[Oe]=Z(Y[Oe],ue));return he;case\"Array\":return me=le.util.objId(Y),ue[me]?ue[me]:(he=[],ue[me]=he,Y.forEach(function(We,ke){he[ke]=Z(We,ue)}),he);default:return Y}},getLanguage:function(Z){for(;Z;){var Y=V.exec(Z.className);if(Y)return Y[1].toLowerCase();Z=Z.parentElement}return\"none\"},setLanguage:function(Z,Y){Z.className=Z.className.replace(RegExp(V,\"gi\"),\"\"),Z.classList.add(\"language-\"+Y)},isActive:function(Z,Y,ue){for(var he=\"no-\"+Y;Z;){var me=Z.classList;if(me.contains(Y))return!0;if(me.contains(he))return!1;Z=Z.parentElement}return!!ue}},languages:{plain:Ie,plaintext:Ie,text:Ie,txt:Ie,extend:function(Z,Y){var ue=le.util.clone(le.languages[Z]);for(var he in Y)ue[he]=Y[he];return ue},insertBefore:function(Z,Y,ue,he){he=he||le.languages;var me=he[Z],Oe={};for(var We in me)if(me.hasOwnProperty(We)){if(We==Y)for(var ke in ue)ue.hasOwnProperty(ke)&&(Oe[ke]=ue[ke]);ue.hasOwnProperty(We)||(Oe[We]=me[We])}var It=he[Z];return he[Z]=Oe,le.languages.DFS(le.languages,function(ft,nn){nn===It&&ft!=Z&&(this[ft]=Oe)}),Oe},DFS:function Z(Y,ue,he,me){me=me||{};var Oe=le.util.objId;for(var We in Y)if(Y.hasOwnProperty(We)){ue.call(Y,We,Y[We],he||We);var ke=Y[We],It=le.util.type(ke);It===\"Object\"&&!me[Oe(ke)]?(me[Oe(ke)]=!0,Z(ke,ue,null,me)):It===\"Array\"&&!me[Oe(ke)]&&(me[Oe(ke)]=!0,Z(ke,ue,We,me))}}},plugins:{},highlight:function(Z,Y,ue){var he={code:Z,grammar:Y,language:ue};return le.hooks.run(\"before-tokenize\",he),he.tokens=le.tokenize(he.code,he.grammar),le.hooks.run(\"after-tokenize\",he),Ne.stringify(le.util.encode(he.tokens),he.language)},tokenize:function(Z,Y){var ue=Y.rest;if(ue){for(var he in ue)Y[he]=ue[he];delete Y.rest}var me=new pe;return ee(me,me.head,Z),se(Z,me,Y,me.head,0),Q(me)},hooks:{all:{},add:function(Z,Y){var ue=le.hooks.all;ue[Z]=ue[Z]||[],ue[Z].push(Y)},run:function(Z,Y){var ue=le.hooks.all[Z];if(!(!ue||!ue.length))for(var he=0,me;me=ue[he++];)me(Y)}},Token:Ne};function Ne(Z,Y,ue,he){this.type=Z,this.content=Y,this.alias=ue,this.length=(he||\"\").length|0}Ne.stringify=function Z(Y,ue){if(typeof Y==\"string\")return Y;if(Array.isArray(Y)){var he=\"\";return Y.forEach(function(It){he+=Z(It,ue)}),he}var me={type:Y.type,content:Z(Y.content,ue),tag:\"span\",classes:[\"token\",Y.type],attributes:{},language:ue},Oe=Y.alias;Oe&&(Array.isArray(Oe)?Array.prototype.push.apply(me.classes,Oe):me.classes.push(Oe)),le.hooks.run(\"wrap\",me);var We=\"\";for(var ke in me.attributes)We+=\" \"+ke+'=\"'+(me.attributes[ke]||\"\").replace(/\"/g,\"&quot;\")+'\"';return\"<\"+me.tag+' class=\"'+me.classes.join(\" \")+'\"'+We+\">\"+me.content+\"</\"+me.tag+\">\"};function te(Z,Y,ue,he){Z.lastIndex=Y;var me=Z.exec(ue);if(me&&he&&me[1]){var Oe=me[1].length;me.index+=Oe,me[0]=me[0].slice(Oe)}return me}function se(Z,Y,ue,he,me,Oe){for(var We in ue)if(!(!ue.hasOwnProperty(We)||!ue[We])){var ke=ue[We];ke=Array.isArray(ke)?ke:[ke];for(var It=0;It<ke.length;++It){if(Oe&&Oe.cause==We+\",\"+It)return;var ft=ke[It],nn=ft.inside,b=!!ft.lookbehind,W=!!ft.greedy,de=ft.alias;if(W&&!ft.pattern.global){var ye=ft.pattern.toString().match(/[imsuy]*$/)[0];ft.pattern=RegExp(ft.pattern.source,ye+\"g\")}for(var He=ft.pattern||ft,rt=he.next,$e=me;rt!==Y.tail&&!(Oe&&$e>=Oe.reach);$e+=rt.value.length,rt=rt.next){var pt=rt.value;if(Y.length>Z.length)return;if(!(pt instanceof Ne)){var Ot=1,at;if(W){if(at=te(He,$e,Z,b),!at||at.index>=Z.length)break;var At=at.index,wt=at.index+at[0].length,vt=$e;for(vt+=rt.value.length;At>=vt;)rt=rt.next,vt+=rt.value.length;if(vt-=rt.value.length,$e=vt,rt.value instanceof Ne)continue;for(var jt=rt;jt!==Y.tail&&(vt<wt||typeof jt.value==\"string\");jt=jt.next)Ot++,vt+=jt.value.length;Ot--,pt=Z.slice($e,vt),at.index-=$e}else if(at=te(He,0,pt,b),!at)continue;var At=at.index,qt=at[0],En=pt.slice(0,At),Ft=pt.slice(At+qt.length),_n=$e+pt.length;Oe&&_n>Oe.reach&&(Oe.reach=_n);var xn=rt.prev;En&&(xn=ee(Y,xn,En),$e+=En.length),Se(Y,xn,Ot);var Zn=new Ne(We,nn?le.tokenize(qt,nn):qt,de,qt);if(rt=ee(Y,xn,Zn),Ft&&ee(Y,rt,Ft),Ot>1){var Wn={cause:We+\",\"+It,reach:_n};se(Z,Y,ue,rt.prev,$e,Wn),Oe&&Wn.reach>Oe.reach&&(Oe.reach=Wn.reach)}}}}}}function pe(){var Z={value:null,prev:null,next:null},Y={value:null,prev:Z,next:null};Z.next=Y,this.head=Z,this.tail=Y,this.length=0}function ee(Z,Y,ue){var he=Y.next,me={value:ue,prev:Y,next:he};return Y.next=me,he.prev=me,Z.length++,me}function Se(Z,Y,ue){for(var he=Y.next,me=0;me<ue&&he!==Z.tail;me++)he=he.next;Y.next=he,he.prev=Y,Z.length-=me}function Q(Z){for(var Y=[],ue=Z.head.next;ue!==Z.tail;)Y.push(ue.value),ue=ue.next;return Y}return le}(),x=U;U.default=U,x.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\\s\\S])*?-->/,greedy:!0},prolog:{pattern:/<\\?[\\s\\S]+?\\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>\"'[\\]]|\"[^\"]*\"|'[^']*')+(?:\\[(?:[^<\"'\\]]|\"[^\"]*\"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\\]\\s*)?>/i,greedy:!0,inside:{\"internal-subset\":{pattern:/(^[^\\[]*\\[)[\\s\\S]+(?=\\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/\"[^\"]*\"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\\]]/,\"doctype-tag\":/^DOCTYPE/i,name:/[^\\s<>'\"]+/}},cdata:{pattern:/<!\\[CDATA\\[[\\s\\S]*?\\]\\]>/i,greedy:!0},tag:{pattern:/<\\/?(?!\\d)[^\\s>\\/=$<%]+(?:\\s(?:\\s*[^\\s>\\/=]+(?:\\s*=\\s*(?:\"[^\"]*\"|'[^']*'|[^\\s'\">=]+(?=[\\s>]))|(?=[\\s/>])))+)?\\s*\\/?>/,greedy:!0,inside:{tag:{pattern:/^<\\/?[^\\s>\\/]+/,inside:{punctuation:/^<\\/?/,namespace:/^[^\\s>\\/:]+:/}},\"special-attr\":[],\"attr-value\":{pattern:/=\\s*(?:\"[^\"]*\"|'[^']*'|[^\\s'\">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:\"attr-equals\"},/\"|'/]}},punctuation:/\\/?>/,\"attr-name\":{pattern:/[^\\s>\\/]+/,inside:{namespace:/^[^\\s>\\/:]+:/}}}},entity:[{pattern:/&[\\da-z]{1,8};/i,alias:\"named-entity\"},/&#x?[\\da-f]{1,8};/i]},x.languages.markup.tag.inside[\"attr-value\"].inside.entity=x.languages.markup.entity,x.languages.markup.doctype.inside[\"internal-subset\"].inside=x.languages.markup,x.hooks.add(\"wrap\",function(V){V.type===\"entity\"&&(V.attributes.title=V.content.replace(/&amp;/,\"&\"))}),Object.defineProperty(x.languages.markup.tag,\"addInlined\",{value:function(we,Ie){var le={};le[\"language-\"+Ie]={pattern:/(^<!\\[CDATA\\[)[\\s\\S]+?(?=\\]\\]>$)/i,lookbehind:!0,inside:x.languages[Ie]},le.cdata=/^<!\\[CDATA\\[|\\]\\]>$/i;var Ne={\"included-cdata\":{pattern:/<!\\[CDATA\\[[\\s\\S]*?\\]\\]>/i,inside:le}};Ne[\"language-\"+Ie]={pattern:/[\\s\\S]+/,inside:x.languages[Ie]};var te={};te[we]={pattern:RegExp(/(<__[^>]*>)(?:<!\\[CDATA\\[(?:[^\\]]|\\](?!\\]>))*\\]\\]>|(?!<!\\[CDATA\\[)[\\s\\S])*?(?=<\\/__>)/.source.replace(/__/g,function(){return we}),\"i\"),lookbehind:!0,greedy:!0,inside:Ne},x.languages.insertBefore(\"markup\",\"cdata\",te)}}),Object.defineProperty(x.languages.markup.tag,\"addAttribute\",{value:function(V,we){x.languages.markup.tag.inside[\"special-attr\"].push({pattern:RegExp(/(^|[\"'\\s])/.source+\"(?:\"+V+\")\"+/\\s*=\\s*(?:\"[^\"]*\"|'[^']*'|[^\\s'\">=]+(?=[\\s>]))/.source,\"i\"),lookbehind:!0,inside:{\"attr-name\":/^[^\\s=]+/,\"attr-value\":{pattern:/=[\\s\\S]+/,inside:{value:{pattern:/(^=\\s*([\"']|(?![\"'])))\\S[\\s\\S]*(?=\\2$)/,lookbehind:!0,alias:[we,\"language-\"+we],inside:x.languages[we]},punctuation:[{pattern:/^=/,alias:\"attr-equals\"},/\"|'/]}}}})}}),x.languages.html=x.languages.markup,x.languages.mathml=x.languages.markup,x.languages.svg=x.languages.markup,x.languages.xml=x.languages.extend(\"markup\",{}),x.languages.ssml=x.languages.xml,x.languages.atom=x.languages.xml,x.languages.rss=x.languages.xml,function(V){var we=\"\\\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\\\b\",Ie={pattern:/(^([\"']?)\\w+\\2)[ \\t]+\\S.*/,lookbehind:!0,alias:\"punctuation\",inside:null},le={bash:Ie,environment:{pattern:RegExp(\"\\\\$\"+we),alias:\"constant\"},variable:[{pattern:/\\$?\\(\\([\\s\\S]+?\\)\\)/,greedy:!0,inside:{variable:[{pattern:/(^\\$\\(\\([\\s\\S]+)\\)\\)/,lookbehind:!0},/^\\$\\(\\(/],number:/\\b0x[\\dA-Fa-f]+\\b|(?:\\b\\d+(?:\\.\\d*)?|\\B\\.\\d+)(?:[Ee]-?\\d+)?/,operator:/--|\\+\\+|\\*\\*=?|<<=?|>>=?|&&|\\|\\||[=!+\\-*/%<>^&|]=?|[?~:]/,punctuation:/\\(\\(?|\\)\\)?|,|;/}},{pattern:/\\$\\((?:\\([^)]+\\)|[^()])+\\)|`[^`]+`/,greedy:!0,inside:{variable:/^\\$\\(|^`|\\)$|`$/}},{pattern:/\\$\\{[^}]+\\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\\/]|##?|%%?|\\^\\^?|,,?/,punctuation:/[\\[\\]]/,environment:{pattern:RegExp(\"(\\\\{)\"+we),lookbehind:!0,alias:\"constant\"}}},/\\$(?:\\w+|[#?*!@$])/],entity:/\\\\(?:[abceEfnrtv\\\\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};V.languages.bash={shebang:{pattern:/^#!\\s*\\/.*/,alias:\"important\"},comment:{pattern:/(^|[^\"{\\\\$])#.*/,lookbehind:!0},\"function-name\":[{pattern:/(\\bfunction\\s+)[\\w-]+(?=(?:\\s*\\(?:\\s*\\))?\\s*\\{)/,lookbehind:!0,alias:\"function\"},{pattern:/\\b[\\w-]+(?=\\s*\\(\\s*\\)\\s*\\{)/,alias:\"function\"}],\"for-or-select\":{pattern:/(\\b(?:for|select)\\s+)\\w+(?=\\s+in\\s)/,alias:\"variable\",lookbehind:!0},\"assign-left\":{pattern:/(^|[\\s;|&]|[<>]\\()\\w+(?=\\+?=)/,inside:{environment:{pattern:RegExp(\"(^|[\\\\s;|&]|[<>]\\\\()\"+we),lookbehind:!0,alias:\"constant\"}},alias:\"variable\",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\\s*)(\\w+)\\s[\\s\\S]*?(?:\\r?\\n|\\r)\\2/,lookbehind:!0,greedy:!0,inside:le},{pattern:/((?:^|[^<])<<-?\\s*)([\"'])(\\w+)\\2\\s[\\s\\S]*?(?:\\r?\\n|\\r)\\3/,lookbehind:!0,greedy:!0,inside:{bash:Ie}},{pattern:/(^|[^\\\\](?:\\\\\\\\)*)\"(?:\\\\[\\s\\S]|\\$\\([^)]+\\)|\\$(?!\\()|`[^`]+`|[^\"\\\\`$])*\"/,lookbehind:!0,greedy:!0,inside:le},{pattern:/(^|[^$\\\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\\$'(?:[^'\\\\]|\\\\[\\s\\S])*'/,greedy:!0,inside:{entity:le.entity}}],environment:{pattern:RegExp(\"\\\\$?\"+we),alias:\"constant\"},variable:le.variable,function:{pattern:/(^|[\\s;|&]|[<>]\\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\\s;|&]|[<>]\\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\\s;|&]|[<>]\\()(?:\\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\\s;|&])/,lookbehind:!0,alias:\"class-name\"},boolean:{pattern:/(^|[\\s;|&]|[<>]\\()(?:false|true)(?=$|[)\\s;|&])/,lookbehind:!0},\"file-descriptor\":{pattern:/\\B&\\d\\b/,alias:\"important\"},operator:{pattern:/\\d?<>|>\\||\\+=|=[=~]?|!=?|<<[<-]?|[&\\d]?>>|\\d[<>]&?|[<>][&=]?|&[>&]?|\\|[&|]?/,inside:{\"file-descriptor\":{pattern:/^\\d/,alias:\"important\"}}},punctuation:/\\$?\\(\\(?|\\)\\)?|\\.\\.|[{}[\\];\\\\]/,number:{pattern:/(^|\\s)(?:[1-9]\\d*|0)(?:[.,]\\d+)?\\b/,lookbehind:!0}},Ie.inside=V.languages.bash;for(var Ne=[\"comment\",\"function-name\",\"for-or-select\",\"assign-left\",\"string\",\"environment\",\"function\",\"keyword\",\"builtin\",\"boolean\",\"file-descriptor\",\"operator\",\"punctuation\",\"number\"],te=le.variable[1].inside,se=0;se<Ne.length;se++)te[Ne[se]]=V.languages.bash[Ne[se]];V.languages.shell=V.languages.bash}(x),x.languages.clike={comment:[{pattern:/(^|[^\\\\])\\/\\*[\\s\\S]*?(?:\\*\\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\\\:])\\/\\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/([\"'])(?:\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,greedy:!0},\"class-name\":{pattern:/(\\b(?:class|extends|implements|instanceof|interface|new|trait)\\s+|\\bcatch\\s+\\()[\\w.\\\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\\\]/}},keyword:/\\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\\b/,boolean:/\\b(?:false|true)\\b/,function:/\\b\\w+(?=\\()/,number:/\\b0x[\\da-f]+\\b|(?:\\b\\d+(?:\\.\\d*)?|\\B\\.\\d+)(?:e[+-]?\\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\\+\\+?|&&?|\\|\\|?|[?*/~^%]/,punctuation:/[{}[\\];(),.:]/},x.languages.c=x.languages.extend(\"clike\",{comment:{pattern:/\\/\\/(?:[^\\r\\n\\\\]|\\\\(?:\\r\\n?|\\n|(?![\\r\\n])))*|\\/\\*[\\s\\S]*?(?:\\*\\/|$)/,greedy:!0},string:{pattern:/\"(?:\\\\(?:\\r\\n|[\\s\\S])|[^\"\\\\\\r\\n])*\"/,greedy:!0},\"class-name\":{pattern:/(\\b(?:enum|struct)\\s+(?:__attribute__\\s*\\(\\([\\s\\S]*?\\)\\)\\s*)?)\\w+|\\b[a-z]\\w*_t\\b/,lookbehind:!0},keyword:/\\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\\b/,function:/\\b[a-z_]\\w*(?=\\s*\\()/i,number:/(?:\\b0x(?:[\\da-f]+(?:\\.[\\da-f]*)?|\\.[\\da-f]+)(?:p[+-]?\\d+)?|(?:\\b\\d+(?:\\.\\d*)?|\\B\\.\\d+)(?:e[+-]?\\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\\1|[?:~]|[-+*/%&|^!=<>]=?/}),x.languages.insertBefore(\"c\",\"string\",{char:{pattern:/'(?:\\\\(?:\\r\\n|[\\s\\S])|[^'\\\\\\r\\n]){0,32}'/,greedy:!0}}),x.languages.insertBefore(\"c\",\"string\",{macro:{pattern:/(^[\\t ]*)#\\s*[a-z](?:[^\\r\\n\\\\/]|\\/(?!\\*)|\\/\\*(?:[^*]|\\*(?!\\/))*\\*\\/|\\\\(?:\\r\\n|[\\s\\S]))*/im,lookbehind:!0,greedy:!0,alias:\"property\",inside:{string:[{pattern:/^(#\\s*include\\s*)<[^>]+>/,lookbehind:!0},x.languages.c.string],char:x.languages.c.char,comment:x.languages.c.comment,\"macro-name\":[{pattern:/(^#\\s*define\\s+)\\w+\\b(?!\\()/i,lookbehind:!0},{pattern:/(^#\\s*define\\s+)\\w+\\b(?=\\()/i,lookbehind:!0,alias:\"function\"}],directive:{pattern:/^(#\\s*)[a-z]+/,lookbehind:!0,alias:\"keyword\"},\"directive-hash\":/^#/,punctuation:/##|\\\\(?=[\\r\\n])/,expression:{pattern:/\\S[\\s\\S]*/,inside:x.languages.c}}}}),x.languages.insertBefore(\"c\",\"function\",{constant:/\\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\\b/}),delete x.languages.c.boolean,function(V){var we=/\\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\\b/,Ie=/\\b(?!<keyword>)\\w+(?:\\s*\\.\\s*\\w+)*\\b/.source.replace(/<keyword>/g,function(){return we.source});V.languages.cpp=V.languages.extend(\"c\",{\"class-name\":[{pattern:RegExp(/(\\b(?:class|concept|enum|struct|typename)\\s+)(?!<keyword>)\\w+/.source.replace(/<keyword>/g,function(){return we.source})),lookbehind:!0},/\\b[A-Z]\\w*(?=\\s*::\\s*\\w+\\s*\\()/,/\\b[A-Z_]\\w*(?=\\s*::\\s*~\\w+\\s*\\()/i,/\\b\\w+(?=\\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\\s*::\\s*\\w+\\s*\\()/],keyword:we,number:{pattern:/(?:\\b0b[01']+|\\b0x(?:[\\da-f']+(?:\\.[\\da-f']*)?|\\.[\\da-f']+)(?:p[+-]?[\\d']+)?|(?:\\b[\\d']+(?:\\.[\\d']*)?|\\B\\.[\\d']+)(?:e[+-]?[\\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\\+\\+|&&|\\|\\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\\b/,boolean:/\\b(?:false|true)\\b/}),V.languages.insertBefore(\"cpp\",\"string\",{module:{pattern:RegExp(/(\\b(?:import|module)\\s+)/.source+\"(?:\"+/\"(?:\\\\(?:\\r\\n|[\\s\\S])|[^\"\\\\\\r\\n])*\"|<[^<>\\r\\n]*>/.source+\"|\"+/<mod-name>(?:\\s*:\\s*<mod-name>)?|:\\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return Ie})+\")\"),lookbehind:!0,greedy:!0,inside:{string:/^[<\"][\\s\\S]+/,operator:/:/,punctuation:/\\./}},\"raw-string\":{pattern:/R\"([^()\\\\ ]{0,16})\\([\\s\\S]*?\\)\\1\"/,alias:\"string\",greedy:!0}}),V.languages.insertBefore(\"cpp\",\"keyword\",{\"generic-function\":{pattern:/\\b(?!operator\\b)[a-z_]\\w*\\s*<(?:[^<>]|<[^<>]*>)*>(?=\\s*\\()/i,inside:{function:/^\\w+/,generic:{pattern:/<[\\s\\S]+/,alias:\"class-name\",inside:V.languages.cpp}}}}),V.languages.insertBefore(\"cpp\",\"operator\",{\"double-colon\":{pattern:/::/,alias:\"punctuation\"}}),V.languages.insertBefore(\"cpp\",\"class-name\",{\"base-clause\":{pattern:/(\\b(?:class|struct)\\s+\\w+\\s*:\\s*)[^;{}\"'\\s]+(?:\\s+[^;{}\"'\\s]+)*(?=\\s*[;{])/,lookbehind:!0,greedy:!0,inside:V.languages.extend(\"cpp\",{})}}),V.languages.insertBefore(\"inside\",\"double-colon\",{\"class-name\":/\\b[a-z_]\\w*\\b(?!\\s*::)/i},V.languages.cpp[\"base-clause\"])}(x),function(V){var we=/(?:\"(?:\\\\(?:\\r\\n|[\\s\\S])|[^\"\\\\\\r\\n])*\"|'(?:\\\\(?:\\r\\n|[\\s\\S])|[^'\\\\\\r\\n])*')/;V.languages.css={comment:/\\/\\*[\\s\\S]*?\\*\\//,atrule:{pattern:/@[\\w-](?:[^;{\\s]|\\s+(?![\\s{]))*(?:;|(?=\\s*\\{))/,inside:{rule:/^@[\\w-]+/,\"selector-function-argument\":{pattern:/(\\bselector\\s*\\(\\s*(?![\\s)]))(?:[^()\\s]|\\s+(?![\\s)])|\\((?:[^()]|\\([^()]*\\))*\\))+(?=\\s*\\))/,lookbehind:!0,alias:\"selector\"},keyword:{pattern:/(^|[^\\w-])(?:and|not|only|or)(?![\\w-])/,lookbehind:!0}}},url:{pattern:RegExp(\"\\\\burl\\\\((?:\"+we.source+\"|\"+/(?:[^\\\\\\r\\n()\"']|\\\\[\\s\\S])*/.source+\")\\\\)\",\"i\"),greedy:!0,inside:{function:/^url/i,punctuation:/^\\(|\\)$/,string:{pattern:RegExp(\"^\"+we.source+\"$\"),alias:\"url\"}}},selector:{pattern:RegExp(`(^|[{}\\\\s])[^{}\\\\s](?:[^{};\"'\\\\s]|\\\\s+(?![\\\\s{])|`+we.source+\")*(?=\\\\s*\\\\{)\"),lookbehind:!0},string:{pattern:we,greedy:!0},property:{pattern:/(^|[^-\\w\\xA0-\\uFFFF])(?!\\s)[-_a-z\\xA0-\\uFFFF](?:(?!\\s)[-\\w\\xA0-\\uFFFF])*(?=\\s*:)/i,lookbehind:!0},important:/!important\\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\\()/i,lookbehind:!0},punctuation:/[(){};:,]/},V.languages.css.atrule.inside.rest=V.languages.css;var Ie=V.languages.markup;Ie&&(Ie.tag.addInlined(\"style\",\"css\"),Ie.tag.addAttribute(\"style\",\"css\"))}(x),function(V){var we=/(\"|')(?:\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,Ie;V.languages.css.selector={pattern:V.languages.css.selector.pattern,lookbehind:!0,inside:Ie={\"pseudo-element\":/:(?:after|before|first-letter|first-line|selection)|::[-\\w]+/,\"pseudo-class\":/:[-\\w]+/,class:/\\.[-\\w]+/,id:/#[-\\w]+/,attribute:{pattern:RegExp(`\\\\[(?:[^[\\\\]\"']|`+we.source+\")*\\\\]\"),greedy:!0,inside:{punctuation:/^\\[|\\]$/,\"case-sensitivity\":{pattern:/(\\s)[si]$/i,lookbehind:!0,alias:\"keyword\"},namespace:{pattern:/^(\\s*)(?:(?!\\s)[-*\\w\\xA0-\\uFFFF])*\\|(?!=)/,lookbehind:!0,inside:{punctuation:/\\|$/}},\"attr-name\":{pattern:/^(\\s*)(?:(?!\\s)[-\\w\\xA0-\\uFFFF])+/,lookbehind:!0},\"attr-value\":[we,{pattern:/(=\\s*)(?:(?!\\s)[-\\w\\xA0-\\uFFFF])+(?=\\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},\"n-th\":[{pattern:/(\\(\\s*)[+-]?\\d*[\\dn](?:\\s*[+-]\\s*\\d+)?(?=\\s*\\))/,lookbehind:!0,inside:{number:/[\\dn]+/,operator:/[+-]/}},{pattern:/(\\(\\s*)(?:even|odd)(?=\\s*\\))/i,lookbehind:!0}],combinator:/>|\\+|~|\\|\\|/,punctuation:/[(),]/}},V.languages.css.atrule.inside[\"selector-function-argument\"].inside=Ie,V.languages.insertBefore(\"css\",\"property\",{variable:{pattern:/(^|[^-\\w\\xA0-\\uFFFF])--(?!\\s)[-_a-z\\xA0-\\uFFFF](?:(?!\\s)[-\\w\\xA0-\\uFFFF])*/i,lookbehind:!0}});var le={pattern:/(\\b\\d+)(?:%|[a-z]+(?![\\w-]))/,lookbehind:!0},Ne={pattern:/(^|[^\\w.-])-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)/,lookbehind:!0};V.languages.insertBefore(\"css\",\"function\",{operator:{pattern:/(\\s)[+\\-*\\/](?=\\s)/,lookbehind:!0},hexcode:{pattern:/\\B#[\\da-f]{3,8}\\b/i,alias:\"color\"},color:[{pattern:/(^|[^\\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\\w-])/i,lookbehind:!0},{pattern:/\\b(?:hsl|rgb)\\(\\s*\\d{1,3}\\s*,\\s*\\d{1,3}%?\\s*,\\s*\\d{1,3}%?\\s*\\)\\B|\\b(?:hsl|rgb)a\\(\\s*\\d{1,3}\\s*,\\s*\\d{1,3}%?\\s*,\\s*\\d{1,3}%?\\s*,\\s*(?:0|0?\\.\\d+|1)\\s*\\)\\B/i,inside:{unit:le,number:Ne,function:/[\\w-]+(?=\\()/,punctuation:/[(),]/}}],entity:/\\\\[\\da-f]{1,8}/i,unit:le,number:Ne})}(x),x.languages.javascript=x.languages.extend(\"clike\",{\"class-name\":[x.languages.clike[\"class-name\"],{pattern:/(^|[^$\\w\\xA0-\\uFFFF])(?!\\s)[_$A-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*(?=\\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\\})\\s*)catch\\b/,lookbehind:!0},{pattern:/(^|[^.]|\\.\\.\\.\\s*)\\b(?:as|assert(?=\\s*\\{)|async(?=\\s*(?:function\\b|\\(|[$\\w\\xA0-\\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\\s*(?:\\{|$))|for|from(?=\\s*(?:['\"]|$))|function|(?:get|set)(?=\\s*(?:[#\\[$\\w\\xA0-\\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\\b/,lookbehind:!0}],function:/#?(?!\\s)[_$a-zA-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*(?=\\s*(?:\\.\\s*(?:apply|bind|call)\\s*)?\\()/,number:{pattern:RegExp(/(^|[^\\w$])/.source+\"(?:\"+(/NaN|Infinity/.source+\"|\"+/0[bB][01]+(?:_[01]+)*n?/.source+\"|\"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+\"|\"+/0[xX][\\dA-Fa-f]+(?:_[\\dA-Fa-f]+)*n?/.source+\"|\"+/\\d+(?:_\\d+)*n/.source+\"|\"+/(?:\\d+(?:_\\d+)*(?:\\.(?:\\d+(?:_\\d+)*)?)?|\\.\\d+(?:_\\d+)*)(?:[Ee][+-]?\\d+(?:_\\d+)*)?/.source)+\")\"+/(?![\\w$])/.source),lookbehind:!0},operator:/--|\\+\\+|\\*\\*=?|=>|&&=?|\\|\\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\\.{3}|\\?\\?=?|\\?\\.?|[~:]/}),x.languages.javascript[\"class-name\"][0].pattern=/(\\b(?:class|extends|implements|instanceof|interface|new)\\s+)[\\w.\\\\]+/,x.languages.insertBefore(\"javascript\",\"keyword\",{regex:{pattern:/((?:^|[^$\\w\\xA0-\\uFFFF.\"'\\])\\s]|\\b(?:return|yield))\\s*)\\/(?:\\[(?:[^\\]\\\\\\r\\n]|\\\\.)*\\]|\\\\.|[^/\\\\\\[\\r\\n])+\\/[dgimyus]{0,7}(?=(?:\\s|\\/\\*(?:[^*]|\\*(?!\\/))*\\*\\/)*(?:$|[\\r\\n,.;:})\\]]|\\/\\/))/,lookbehind:!0,greedy:!0,inside:{\"regex-source\":{pattern:/^(\\/)[\\s\\S]+(?=\\/[a-z]*$)/,lookbehind:!0,alias:\"language-regex\",inside:x.languages.regex},\"regex-delimiter\":/^\\/|\\/$/,\"regex-flags\":/^[a-z]+$/}},\"function-variable\":{pattern:/#?(?!\\s)[_$a-zA-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*(?=\\s*[=:]\\s*(?:async\\s*)?(?:\\bfunction\\b|(?:\\((?:[^()]|\\([^()]*\\))*\\)|(?!\\s)[_$a-zA-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*)\\s*=>))/,alias:\"function\"},parameter:[{pattern:/(function(?:\\s+(?!\\s)[_$a-zA-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*)?\\s*\\(\\s*)(?!\\s)(?:[^()\\s]|\\s+(?![\\s)])|\\([^()]*\\))+(?=\\s*\\))/,lookbehind:!0,inside:x.languages.javascript},{pattern:/(^|[^$\\w\\xA0-\\uFFFF])(?!\\s)[_$a-z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*(?=\\s*=>)/i,lookbehind:!0,inside:x.languages.javascript},{pattern:/(\\(\\s*)(?!\\s)(?:[^()\\s]|\\s+(?![\\s)])|\\([^()]*\\))+(?=\\s*\\)\\s*=>)/,lookbehind:!0,inside:x.languages.javascript},{pattern:/((?:\\b|\\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\\w\\xA0-\\uFFFF]))(?:(?!\\s)[_$a-zA-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*\\s*)\\(\\s*|\\]\\s*\\(\\s*)(?!\\s)(?:[^()\\s]|\\s+(?![\\s)])|\\([^()]*\\))+(?=\\s*\\)\\s*\\{)/,lookbehind:!0,inside:x.languages.javascript}],constant:/\\b[A-Z](?:[A-Z_]|\\dx?)*\\b/}),x.languages.insertBefore(\"javascript\",\"string\",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:\"comment\"},\"template-string\":{pattern:/`(?:\\\\[\\s\\S]|\\$\\{(?:[^{}]|\\{(?:[^{}]|\\{[^}]*\\})*\\})+\\}|(?!\\$\\{)[^\\\\`])*`/,greedy:!0,inside:{\"template-punctuation\":{pattern:/^`|`$/,alias:\"string\"},interpolation:{pattern:/((?:^|[^\\\\])(?:\\\\{2})*)\\$\\{(?:[^{}]|\\{(?:[^{}]|\\{[^}]*\\})*\\})+\\}/,lookbehind:!0,inside:{\"interpolation-punctuation\":{pattern:/^\\$\\{|\\}$/,alias:\"punctuation\"},rest:x.languages.javascript}},string:/[\\s\\S]+/}},\"string-property\":{pattern:/((?:^|[,{])[ \\t]*)([\"'])(?:\\\\(?:\\r\\n|[\\s\\S])|(?!\\2)[^\\\\\\r\\n])*\\2(?=\\s*:)/m,lookbehind:!0,greedy:!0,alias:\"property\"}}),x.languages.insertBefore(\"javascript\",\"operator\",{\"literal-property\":{pattern:/((?:^|[,{])[ \\t]*)(?!\\s)[_$a-zA-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*(?=\\s*:)/m,lookbehind:!0,alias:\"property\"}}),x.languages.markup&&(x.languages.markup.tag.addInlined(\"script\",\"javascript\"),x.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,\"javascript\")),x.languages.js=x.languages.javascript,function(V){var we=/#(?!\\{).+/,Ie={pattern:/#\\{[^}]+\\}/,alias:\"variable\"};V.languages.coffeescript=V.languages.extend(\"javascript\",{comment:we,string:[{pattern:/'(?:\\\\[\\s\\S]|[^\\\\'])*'/,greedy:!0},{pattern:/\"(?:\\\\[\\s\\S]|[^\\\\\"])*\"/,greedy:!0,inside:{interpolation:Ie}}],keyword:/\\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\\b/,\"class-member\":{pattern:/@(?!\\d)\\w+/,alias:\"variable\"}}),V.languages.insertBefore(\"coffeescript\",\"comment\",{\"multiline-comment\":{pattern:/###[\\s\\S]+?###/,alias:\"comment\"},\"block-regex\":{pattern:/\\/{3}[\\s\\S]*?\\/{3}/,alias:\"regex\",inside:{comment:we,interpolation:Ie}}}),V.languages.insertBefore(\"coffeescript\",\"string\",{\"inline-javascript\":{pattern:/`(?:\\\\[\\s\\S]|[^\\\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:\"punctuation\"},script:{pattern:/[\\s\\S]+/,alias:\"language-javascript\",inside:V.languages.javascript}}},\"multiline-string\":[{pattern:/'''[\\s\\S]*?'''/,greedy:!0,alias:\"string\"},{pattern:/\"\"\"[\\s\\S]*?\"\"\"/,greedy:!0,alias:\"string\",inside:{interpolation:Ie}}]}),V.languages.insertBefore(\"coffeescript\",\"keyword\",{property:/(?!\\d)\\w+(?=\\s*:(?!:))/}),delete V.languages.coffeescript[\"template-string\"],V.languages.coffee=V.languages.coffeescript}(x),function(V){var we=/[*&][^\\s[\\]{},]+/,Ie=/!(?:<[\\w\\-%#;/?:@&=+$,.!~*'()[\\]]+>|(?:[a-zA-Z\\d-]*!)?[\\w\\-%#;/?:@&=+$.~*'()]+)?/,le=\"(?:\"+Ie.source+\"(?:[ \t]+\"+we.source+\")?|\"+we.source+\"(?:[ \t]+\"+Ie.source+\")?)\",Ne=/(?:[^\\s\\x00-\\x08\\x0e-\\x1f!\"#%&'*,\\-:>?@[\\]`{|}\\x7f-\\x84\\x86-\\x9f\\ud800-\\udfff\\ufffe\\uffff]|[?:-]<PLAIN>)(?:[ \\t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\\s\\x00-\\x08\\x0e-\\x1f,[\\]{}\\x7f-\\x84\\x86-\\x9f\\ud800-\\udfff\\ufffe\\uffff]/.source}),te=/\"(?:[^\"\\\\\\r\\n]|\\\\.)*\"|'(?:[^'\\\\\\r\\n]|\\\\.)*'/.source;function se(pe,ee){ee=(ee||\"\").replace(/m/g,\"\")+\"m\";var Se=/([:\\-,[{]\\s*(?:\\s<<prop>>[ \\t]+)?)(?:<<value>>)(?=[ \\t]*(?:$|,|\\]|\\}|(?:[\\r\\n]\\s*)?#))/.source.replace(/<<prop>>/g,function(){return le}).replace(/<<value>>/g,function(){return pe});return RegExp(Se,ee)}V.languages.yaml={scalar:{pattern:RegExp(/([\\-:]\\s*(?:\\s<<prop>>[ \\t]+)?[|>])[ \\t]*(?:((?:\\r?\\n|\\r)[ \\t]+)\\S[^\\r\\n]*(?:\\2[^\\r\\n]+)*)/.source.replace(/<<prop>>/g,function(){return le})),lookbehind:!0,alias:\"string\"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\\-,[{\\r\\n?])[ \\t]*(?:<<prop>>[ \\t]+)?)<<key>>(?=\\s*:\\s)/.source.replace(/<<prop>>/g,function(){return le}).replace(/<<key>>/g,function(){return\"(?:\"+Ne+\"|\"+te+\")\"})),lookbehind:!0,greedy:!0,alias:\"atrule\"},directive:{pattern:/(^[ \\t]*)%.+/m,lookbehind:!0,alias:\"important\"},datetime:{pattern:se(/\\d{4}-\\d\\d?-\\d\\d?(?:[tT]|[ \\t]+)\\d\\d?:\\d{2}:\\d{2}(?:\\.\\d*)?(?:[ \\t]*(?:Z|[-+]\\d\\d?(?::\\d{2})?))?|\\d{4}-\\d{2}-\\d{2}|\\d\\d?:\\d{2}(?::\\d{2}(?:\\.\\d*)?)?/.source),lookbehind:!0,alias:\"number\"},boolean:{pattern:se(/false|true/.source,\"i\"),lookbehind:!0,alias:\"important\"},null:{pattern:se(/null|~/.source,\"i\"),lookbehind:!0,alias:\"important\"},string:{pattern:se(te),lookbehind:!0,greedy:!0},number:{pattern:se(/[+-]?(?:0x[\\da-f]+|0o[0-7]+|(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:e[+-]?\\d+)?|\\.inf|\\.nan)/.source,\"i\"),lookbehind:!0},tag:Ie,important:we,punctuation:/---|[:[\\]{}\\-,|>?]|\\.\\.\\./},V.languages.yml=V.languages.yaml}(x),function(V){var we=/(?:\\\\.|[^\\\\\\n\\r]|(?:\\n|\\r\\n?)(?![\\r\\n]))/.source;function Ie(Q){return Q=Q.replace(/<inner>/g,function(){return we}),RegExp(/((?:^|[^\\\\])(?:\\\\{2})*)/.source+\"(?:\"+Q+\")\")}var le=/(?:\\\\.|``(?:[^`\\r\\n]|`(?!`))+``|`[^`\\r\\n]+`|[^\\\\|\\r\\n`])+/.source,Ne=/\\|?__(?:\\|__)+\\|?(?:(?:\\n|\\r\\n?)|(?![\\s\\S]))/.source.replace(/__/g,function(){return le}),te=/\\|?[ \\t]*:?-{3,}:?[ \\t]*(?:\\|[ \\t]*:?-{3,}:?[ \\t]*)+\\|?(?:\\n|\\r\\n?)/.source;V.languages.markdown=V.languages.extend(\"markup\",{}),V.languages.insertBefore(\"markdown\",\"prolog\",{\"front-matter-block\":{pattern:/(^(?:\\s*[\\r\\n])?)---(?!.)[\\s\\S]*?[\\r\\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,\"front-matter\":{pattern:/\\S+(?:\\s+\\S+)*/,alias:[\"yaml\",\"language-yaml\"],inside:V.languages.yaml}}},blockquote:{pattern:/^>(?:[\\t ]*>)*/m,alias:\"punctuation\"},table:{pattern:RegExp(\"^\"+Ne+te+\"(?:\"+Ne+\")*\",\"m\"),inside:{\"table-data-rows\":{pattern:RegExp(\"^(\"+Ne+te+\")(?:\"+Ne+\")*$\"),lookbehind:!0,inside:{\"table-data\":{pattern:RegExp(le),inside:V.languages.markdown},punctuation:/\\|/}},\"table-line\":{pattern:RegExp(\"^(\"+Ne+\")\"+te+\"$\"),lookbehind:!0,inside:{punctuation:/\\||:?-{3,}:?/}},\"table-header-row\":{pattern:RegExp(\"^\"+Ne+\"$\"),inside:{\"table-header\":{pattern:RegExp(le),alias:\"important\",inside:V.languages.markdown},punctuation:/\\|/}}}},code:[{pattern:/((?:^|\\n)[ \\t]*\\n|(?:^|\\r\\n?)[ \\t]*\\r\\n?)(?: {4}|\\t).+(?:(?:\\n|\\r\\n?)(?: {4}|\\t).+)*/,lookbehind:!0,alias:\"keyword\"},{pattern:/^```[\\s\\S]*?^```$/m,greedy:!0,inside:{\"code-block\":{pattern:/^(```.*(?:\\n|\\r\\n?))[\\s\\S]+?(?=(?:\\n|\\r\\n?)^```$)/m,lookbehind:!0},\"code-language\":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\\S.*(?:\\n|\\r\\n?)(?:==+|--+)(?=[ \\t]*$)/m,alias:\"important\",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\\s*)#.+/m,lookbehind:!0,alias:\"important\",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\\s*)([*-])(?:[\\t ]*\\2){2,}(?=\\s*$)/m,lookbehind:!0,alias:\"punctuation\"},list:{pattern:/(^\\s*)(?:[*+-]|\\d+\\.)(?=[\\t ].)/m,lookbehind:!0,alias:\"punctuation\"},\"url-reference\":{pattern:/!?\\[[^\\]]+\\]:[\\t ]+(?:\\S+|<(?:\\\\.|[^>\\\\])+>)(?:[\\t ]+(?:\"(?:\\\\.|[^\"\\\\])*\"|'(?:\\\\.|[^'\\\\])*'|\\((?:\\\\.|[^)\\\\])*\\)))?/,inside:{variable:{pattern:/^(!?\\[)[^\\]]+/,lookbehind:!0},string:/(?:\"(?:\\\\.|[^\"\\\\])*\"|'(?:\\\\.|[^'\\\\])*'|\\((?:\\\\.|[^)\\\\])*\\))$/,punctuation:/^[\\[\\]!:]|[<>]/},alias:\"url\"},bold:{pattern:Ie(/\\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\\b|\\*\\*(?:(?!\\*)<inner>|\\*(?:(?!\\*)<inner>)+\\*)+\\*\\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\\s\\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\\*\\*|__/}},italic:{pattern:Ie(/\\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\\b|\\*(?:(?!\\*)<inner>|\\*\\*(?:(?!\\*)<inner>)+\\*\\*)+\\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\\s\\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:Ie(/(~~?)(?:(?!~)<inner>)+\\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\\s\\S]+(?=\\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},\"code-snippet\":{pattern:/(^|[^\\\\`])(?:``[^`\\r\\n]+(?:`[^`\\r\\n]+)*``(?!`)|`[^`\\r\\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:[\"code\",\"keyword\"]},url:{pattern:Ie(/!?\\[(?:(?!\\])<inner>)+\\](?:\\([^\\s)]+(?:[\\t ]+\"(?:\\\\.|[^\"\\\\])*\")?\\)|[ \\t]?\\[(?:(?!\\])<inner>)+\\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\\[)[^\\]]+(?=\\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\\][ \\t]?\\[)[^\\]]+(?=\\]$)/,lookbehind:!0},url:{pattern:/(^\\]\\()[^\\s)]+/,lookbehind:!0},string:{pattern:/(^[ \\t]+)\"(?:\\\\.|[^\"\\\\])*\"(?=\\)$)/,lookbehind:!0}}}}),[\"url\",\"bold\",\"italic\",\"strike\"].forEach(function(Q){[\"url\",\"bold\",\"italic\",\"strike\",\"code-snippet\"].forEach(function(Z){Q!==Z&&(V.languages.markdown[Q].inside.content.inside[Z]=V.languages.markdown[Z])})}),V.hooks.add(\"after-tokenize\",function(Q){if(Q.language!==\"markdown\"&&Q.language!==\"md\")return;function Z(Y){if(!(!Y||typeof Y==\"string\"))for(var ue=0,he=Y.length;ue<he;ue++){var me=Y[ue];if(me.type!==\"code\"){Z(me.content);continue}var Oe=me.content[1],We=me.content[3];if(Oe&&We&&Oe.type===\"code-language\"&&We.type===\"code-block\"&&typeof Oe.content==\"string\"){var ke=Oe.content.replace(/\\b#/g,\"sharp\").replace(/\\b\\+\\+/g,\"pp\");ke=(/[a-z][\\w-]*/i.exec(ke)||[\"\"])[0].toLowerCase();var It=\"language-\"+ke;We.alias?typeof We.alias==\"string\"?We.alias=[We.alias,It]:We.alias.push(It):We.alias=[It]}}}Z(Q.tokens)}),V.hooks.add(\"wrap\",function(Q){if(Q.type===\"code-block\"){for(var Z=\"\",Y=0,ue=Q.classes.length;Y<ue;Y++){var he=Q.classes[Y],me=/language-(.+)/.exec(he);if(me){Z=me[1];break}}var Oe=V.languages[Z];if(Oe)Q.content=V.highlight(Se(Q.content),Oe,Z);else if(Z&&Z!==\"none\"&&V.plugins.autoloader){var We=\"md-\"+new Date().valueOf()+\"-\"+Math.floor(Math.random()*1e16);Q.attributes.id=We,V.plugins.autoloader.loadLanguages(Z,function(){var ke=document.getElementById(We);ke&&(ke.innerHTML=V.highlight(ke.textContent,V.languages[Z],Z))})}}});var se=RegExp(V.languages.markup.tag.pattern.source,\"gi\"),pe={amp:\"&\",lt:\"<\",gt:\">\",quot:'\"'},ee=String.fromCodePoint||String.fromCharCode;function Se(Q){var Z=Q.replace(se,\"\");return Z=Z.replace(/&(\\w{1,8}|#x?[\\da-f]{1,8});/gi,function(Y,ue){if(ue=ue.toLowerCase(),ue[0]===\"#\"){var he;return ue[1]===\"x\"?he=parseInt(ue.slice(2),16):he=Number(ue.slice(1)),ee(he)}else{var me=pe[ue];return me||Y}}),Z}V.languages.md=V.languages.markdown}(x),x.languages.graphql={comment:/#.*/,description:{pattern:/(?:\"\"\"(?:[^\"]|(?!\"\"\")\")*\"\"\"|\"(?:\\\\.|[^\\\\\"\\r\\n])*\")(?=\\s*[a-z_])/i,greedy:!0,alias:\"string\",inside:{\"language-markdown\":{pattern:/(^\"(?:\"\")?)(?!\\1)[\\s\\S]+(?=\\1$)/,lookbehind:!0,inside:x.languages.markdown}}},string:{pattern:/\"\"\"(?:[^\"]|(?!\"\"\")\")*\"\"\"|\"(?:\\\\.|[^\\\\\"\\r\\n])*\"/,greedy:!0},number:/(?:\\B-|\\b)\\d+(?:\\.\\d+)?(?:e[+-]?\\d+)?\\b/i,boolean:/\\b(?:false|true)\\b/,variable:/\\$[a-z_]\\w*/i,directive:{pattern:/@[a-z_]\\w*/i,alias:\"function\"},\"attr-name\":{pattern:/\\b[a-z_]\\w*(?=\\s*(?:\\((?:[^()\"]|\"(?:\\\\.|[^\\\\\"\\r\\n])*\")*\\))?:)/i,greedy:!0},\"atom-input\":{pattern:/\\b[A-Z]\\w*Input\\b/,alias:\"class-name\"},scalar:/\\b(?:Boolean|Float|ID|Int|String)\\b/,constant:/\\b[A-Z][A-Z_\\d]*\\b/,\"class-name\":{pattern:/(\\b(?:enum|implements|interface|on|scalar|type|union)\\s+|&\\s*|:\\s*|\\[)[A-Z_]\\w*/,lookbehind:!0},fragment:{pattern:/(\\bfragment\\s+|\\.{3}\\s*(?!on\\b))[a-zA-Z_]\\w*/,lookbehind:!0,alias:\"function\"},\"definition-mutation\":{pattern:/(\\bmutation\\s+)[a-zA-Z_]\\w*/,lookbehind:!0,alias:\"function\"},\"definition-query\":{pattern:/(\\bquery\\s+)[a-zA-Z_]\\w*/,lookbehind:!0,alias:\"function\"},keyword:/\\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\\b/,operator:/[!=|&]|\\.{3}/,\"property-query\":/\\w+(?=\\s*\\()/,object:/\\w+(?=\\s*\\{)/,punctuation:/[!(){}\\[\\]:=,]/,property:/\\w+/},x.hooks.add(\"after-tokenize\",function(we){if(we.language!==\"graphql\")return;var Ie=we.tokens.filter(function(me){return typeof me!=\"string\"&&me.type!==\"comment\"&&me.type!==\"scalar\"}),le=0;function Ne(me){return Ie[le+me]}function te(me,Oe){Oe=Oe||0;for(var We=0;We<me.length;We++){var ke=Ne(We+Oe);if(!ke||ke.type!==me[We])return!1}return!0}function se(me,Oe){for(var We=1,ke=le;ke<Ie.length;ke++){var It=Ie[ke],ft=It.content;if(It.type===\"punctuation\"&&typeof ft==\"string\"){if(me.test(ft))We++;else if(Oe.test(ft)&&(We--,We===0))return ke}}return-1}function pe(me,Oe){var We=me.alias;We?Array.isArray(We)||(me.alias=We=[We]):me.alias=We=[],We.push(Oe)}for(;le<Ie.length;){var ee=Ie[le++];if(ee.type===\"keyword\"&&ee.content===\"mutation\"){var Se=[];if(te([\"definition-mutation\",\"punctuation\"])&&Ne(1).content===\"(\"){le+=2;var Q=se(/^\\($/,/^\\)$/);if(Q===-1)continue;for(;le<Q;le++){var Z=Ne(0);Z.type===\"variable\"&&(pe(Z,\"variable-input\"),Se.push(Z.content))}le=Q+1}if(te([\"punctuation\",\"property-query\"])&&Ne(0).content===\"{\"&&(le++,pe(Ne(0),\"property-mutation\"),Se.length>0)){var Y=se(/^\\{$/,/^\\}$/);if(Y===-1)continue;for(var ue=le;ue<Y;ue++){var he=Ie[ue];he.type===\"variable\"&&Se.indexOf(he.content)>=0&&pe(he,\"variable-input\")}}}}}),x.languages.sql={comment:{pattern:/(^|[^\\\\])(?:\\/\\*[\\s\\S]*?\\*\\/|(?:--|\\/\\/|#).*)/,lookbehind:!0},variable:[{pattern:/@([\"'`])(?:\\\\[\\s\\S]|(?!\\1)[^\\\\])+\\1/,greedy:!0},/@[\\w.$]+/],string:{pattern:/(^|[^@\\\\])(\"|')(?:\\\\[\\s\\S]|(?!\\2)[^\\\\]|\\2\\2)*\\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\\\])`(?:\\\\[\\s\\S]|[^`\\\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\\s*\\()/i,keyword:/\\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\\b/i,boolean:/\\b(?:FALSE|NULL|TRUE)\\b/i,number:/\\b0x[\\da-f]+\\b|\\b\\d+(?:\\.\\d*)?|\\B\\.\\d+\\b/i,operator:/[-+*\\/=%^~]|&&?|\\|\\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\\b/i,punctuation:/[;[\\]()`,.]/},function(V){var we=V.languages.javascript[\"template-string\"],Ie=we.pattern.source,le=we.inside.interpolation,Ne=le.inside[\"interpolation-punctuation\"],te=le.pattern.source;function se(ue,he){if(V.languages[ue])return{pattern:RegExp(\"((?:\"+he+\")\\\\s*)\"+Ie),lookbehind:!0,greedy:!0,inside:{\"template-punctuation\":{pattern:/^`|`$/,alias:\"string\"},\"embedded-code\":{pattern:/[\\s\\S]+/,alias:ue}}}}V.languages.javascript[\"template-string\"]=[se(\"css\",/\\b(?:styled(?:\\([^)]*\\))?(?:\\s*\\.\\s*\\w+(?:\\([^)]*\\))*)*|css(?:\\s*\\.\\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),se(\"html\",/\\bhtml|\\.\\s*(?:inner|outer)HTML\\s*\\+?=/.source),se(\"svg\",/\\bsvg/.source),se(\"markdown\",/\\b(?:markdown|md)/.source),se(\"graphql\",/\\b(?:gql|graphql(?:\\s*\\.\\s*experimental)?)/.source),se(\"sql\",/\\bsql/.source),we].filter(Boolean);function pe(ue,he){return\"___\"+he.toUpperCase()+\"_\"+ue+\"___\"}function ee(ue,he,me){var Oe={code:ue,grammar:he,language:me};return V.hooks.run(\"before-tokenize\",Oe),Oe.tokens=V.tokenize(Oe.code,Oe.grammar),V.hooks.run(\"after-tokenize\",Oe),Oe.tokens}function Se(ue){var he={};he[\"interpolation-punctuation\"]=Ne;var me=V.tokenize(ue,he);if(me.length===3){var Oe=[1,1];Oe.push.apply(Oe,ee(me[1],V.languages.javascript,\"javascript\")),me.splice.apply(me,Oe)}return new V.Token(\"interpolation\",me,le.alias,ue)}function Q(ue,he,me){var Oe=V.tokenize(ue,{interpolation:{pattern:RegExp(te),lookbehind:!0}}),We=0,ke={},It=Oe.map(function(W){if(typeof W==\"string\")return W;for(var de=W.content,ye;ue.indexOf(ye=pe(We++,me))!==-1;);return ke[ye]=de,ye}).join(\"\"),ft=ee(It,he,me),nn=Object.keys(ke);We=0;function b(W){for(var de=0;de<W.length;de++){if(We>=nn.length)return;var ye=W[de];if(typeof ye==\"string\"||typeof ye.content==\"string\"){var He=nn[We],rt=typeof ye==\"string\"?ye:ye.content,$e=rt.indexOf(He);if($e!==-1){++We;var pt=rt.substring(0,$e),Ot=Se(ke[He]),at=rt.substring($e+He.length),wt=[];if(pt&&wt.push(pt),wt.push(Ot),at){var vt=[at];b(vt),wt.push.apply(wt,vt)}typeof ye==\"string\"?(W.splice.apply(W,[de,1].concat(wt)),de+=wt.length-1):ye.content=wt}}else{var jt=ye.content;Array.isArray(jt)?b(jt):b([jt])}}}return b(ft),new V.Token(me,ft,\"language-\"+me,ue)}var Z={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};V.hooks.add(\"after-tokenize\",function(ue){if(!(ue.language in Z))return;function he(me){for(var Oe=0,We=me.length;Oe<We;Oe++){var ke=me[Oe];if(typeof ke!=\"string\"){var It=ke.content;if(!Array.isArray(It)){typeof It!=\"string\"&&he([It]);continue}if(ke.type===\"template-string\"){var ft=It[1];if(It.length===3&&typeof ft!=\"string\"&&ft.type===\"embedded-code\"){var nn=Y(ft),b=ft.alias,W=Array.isArray(b)?b[0]:b,de=V.languages[W];if(!de)continue;It[1]=Q(nn,de,W)}}else he(It)}}}he(ue.tokens)});function Y(ue){return typeof ue==\"string\"?ue:Array.isArray(ue)?ue.map(Y).join(\"\"):Y(ue.content)}}(x),function(V){V.languages.typescript=V.languages.extend(\"javascript\",{\"class-name\":{pattern:/(\\b(?:class|extends|implements|instanceof|interface|new|type)\\s+)(?!keyof\\b)(?!\\s)[_$a-zA-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*(?:\\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\\b/}),V.languages.typescript.keyword.push(/\\b(?:abstract|declare|is|keyof|readonly|require)\\b/,/\\b(?:asserts|infer|interface|module|namespace|type)\\b(?=\\s*(?:[{_$a-zA-Z\\xA0-\\uFFFF]|$))/,/\\btype\\b(?=\\s*(?:[\\{*]|$))/),delete V.languages.typescript.parameter,delete V.languages.typescript[\"literal-property\"];var we=V.languages.extend(\"typescript\",{});delete we[\"class-name\"],V.languages.typescript[\"class-name\"].inside=we,V.languages.insertBefore(\"typescript\",\"function\",{decorator:{pattern:/@[$\\w\\xA0-\\uFFFF]+/,inside:{at:{pattern:/^@/,alias:\"operator\"},function:/^[\\s\\S]+/}},\"generic-function\":{pattern:/#?(?!\\s)[_$a-zA-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*\\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\\s*\\()/,greedy:!0,inside:{function:/^#?(?!\\s)[_$a-zA-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*/,generic:{pattern:/<[\\s\\S]+/,alias:\"class-name\",inside:we}}}}),V.languages.ts=V.languages.typescript}(x),function(V){V.languages.insertBefore(\"javascript\",\"function-variable\",{\"method-variable\":{pattern:RegExp(\"(\\\\.\\\\s*)\"+V.languages.javascript[\"function-variable\"].pattern.source),lookbehind:!0,alias:[\"function-variable\",\"method\",\"function\",\"property-access\"]}}),V.languages.insertBefore(\"javascript\",\"function\",{method:{pattern:RegExp(\"(\\\\.\\\\s*)\"+V.languages.javascript.function.source),lookbehind:!0,alias:[\"function\",\"property-access\"]}}),V.languages.insertBefore(\"javascript\",\"constant\",{\"known-class-name\":[{pattern:/\\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\\b/,alias:\"class-name\"},{pattern:/\\b(?:[A-Z]\\w*)Error\\b/,alias:\"class-name\"}]});function we(pe,ee){return RegExp(pe.replace(/<ID>/g,function(){return/(?!\\s)[_$a-zA-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*/.source}),ee)}V.languages.insertBefore(\"javascript\",\"keyword\",{imports:{pattern:we(/(\\bimport\\b\\s*)(?:<ID>(?:\\s*,\\s*(?:\\*\\s*as\\s+<ID>|\\{[^{}]*\\}))?|\\*\\s*as\\s+<ID>|\\{[^{}]*\\})(?=\\s*\\bfrom\\b)/.source),lookbehind:!0,inside:V.languages.javascript},exports:{pattern:we(/(\\bexport\\b\\s*)(?:\\*(?:\\s*as\\s+<ID>)?(?=\\s*\\bfrom\\b)|\\{[^{}]*\\})/.source),lookbehind:!0,inside:V.languages.javascript}}),V.languages.javascript.keyword.unshift({pattern:/\\b(?:as|default|export|from|import)\\b/,alias:\"module\"},{pattern:/\\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\\b/,alias:\"control-flow\"},{pattern:/\\bnull\\b/,alias:[\"null\",\"nil\"]},{pattern:/\\bundefined\\b/,alias:\"nil\"}),V.languages.insertBefore(\"javascript\",\"operator\",{spread:{pattern:/\\.{3}/,alias:\"operator\"},arrow:{pattern:/=>/,alias:\"operator\"}}),V.languages.insertBefore(\"javascript\",\"punctuation\",{\"property-access\":{pattern:we(/(\\.\\s*)#?<ID>/.source),lookbehind:!0},\"maybe-class-name\":{pattern:/(^|[^$\\w\\xA0-\\uFFFF])[A-Z][$\\w\\xA0-\\uFFFF]+/,lookbehind:!0},dom:{pattern:/\\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\\b/,alias:\"variable\"},console:{pattern:/\\bconsole(?=\\s*\\.)/,alias:\"class-name\"}});for(var Ie=[\"function\",\"function-variable\",\"method\",\"method-variable\",\"property-access\"],le=0;le<Ie.length;le++){var Ne=Ie[le],te=V.languages.javascript[Ne];V.util.type(te)===\"RegExp\"&&(te=V.languages.javascript[Ne]={pattern:te});var se=te.inside||{};te.inside=se,se[\"maybe-class-name\"]=/^[A-Z][\\s\\S]*/}}(x),function(V){var we=V.util.clone(V.languages.javascript),Ie=/(?:\\s|\\/\\/.*(?!.)|\\/\\*(?:[^*]|\\*(?!\\/))\\*\\/)/.source,le=/(?:\\{(?:\\{(?:\\{[^{}]*\\}|[^{}])*\\}|[^{}])*\\})/.source,Ne=/(?:\\{<S>*\\.{3}(?:[^{}]|<BRACES>)*\\})/.source;function te(ee,Se){return ee=ee.replace(/<S>/g,function(){return Ie}).replace(/<BRACES>/g,function(){return le}).replace(/<SPREAD>/g,function(){return Ne}),RegExp(ee,Se)}Ne=te(Ne).source,V.languages.jsx=V.languages.extend(\"markup\",we),V.languages.jsx.tag.pattern=te(/<\\/?(?:[\\w.:-]+(?:<S>+(?:[\\w.:$-]+(?:=(?:\"(?:\\\\[\\s\\S]|[^\\\\\"])*\"|'(?:\\\\[\\s\\S]|[^\\\\'])*'|[^\\s{'\"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\\/?)?>/.source),V.languages.jsx.tag.inside.tag.pattern=/^<\\/?[^\\s>\\/]*/,V.languages.jsx.tag.inside[\"attr-value\"].pattern=/=(?!\\{)(?:\"(?:\\\\[\\s\\S]|[^\\\\\"])*\"|'(?:\\\\[\\s\\S]|[^\\\\'])*'|[^\\s'\">]+)/,V.languages.jsx.tag.inside.tag.inside[\"class-name\"]=/^[A-Z]\\w*(?:\\.[A-Z]\\w*)*$/,V.languages.jsx.tag.inside.comment=we.comment,V.languages.insertBefore(\"inside\",\"attr-name\",{spread:{pattern:te(/<SPREAD>/.source),inside:V.languages.jsx}},V.languages.jsx.tag),V.languages.insertBefore(\"inside\",\"special-attr\",{script:{pattern:te(/=<BRACES>/.source),alias:\"language-javascript\",inside:{\"script-punctuation\":{pattern:/^=(?=\\{)/,alias:\"punctuation\"},rest:V.languages.jsx}}},V.languages.jsx.tag);var se=function(ee){return ee?typeof ee==\"string\"?ee:typeof ee.content==\"string\"?ee.content:ee.content.map(se).join(\"\"):\"\"},pe=function(ee){for(var Se=[],Q=0;Q<ee.length;Q++){var Z=ee[Q],Y=!1;if(typeof Z!=\"string\"&&(Z.type===\"tag\"&&Z.content[0]&&Z.content[0].type===\"tag\"?Z.content[0].content[0].content===\"</\"?Se.length>0&&Se[Se.length-1].tagName===se(Z.content[0].content[1])&&Se.pop():Z.content[Z.content.length-1].content===\"/>\"||Se.push({tagName:se(Z.content[0].content[1]),openedBraces:0}):Se.length>0&&Z.type===\"punctuation\"&&Z.content===\"{\"?Se[Se.length-1].openedBraces++:Se.length>0&&Se[Se.length-1].openedBraces>0&&Z.type===\"punctuation\"&&Z.content===\"}\"?Se[Se.length-1].openedBraces--:Y=!0),(Y||typeof Z==\"string\")&&Se.length>0&&Se[Se.length-1].openedBraces===0){var ue=se(Z);Q<ee.length-1&&(typeof ee[Q+1]==\"string\"||ee[Q+1].type===\"plain-text\")&&(ue+=se(ee[Q+1]),ee.splice(Q+1,1)),Q>0&&(typeof ee[Q-1]==\"string\"||ee[Q-1].type===\"plain-text\")&&(ue=se(ee[Q-1])+ue,ee.splice(Q-1,1),Q--),ee[Q]=new V.Token(\"plain-text\",ue,null,ue)}Z.content&&typeof Z.content!=\"string\"&&pe(Z.content)}};V.hooks.add(\"after-tokenize\",function(ee){ee.language!==\"jsx\"&&ee.language!==\"tsx\"||pe(ee.tokens)})}(x),function(V){V.languages.diff={coord:[/^(?:\\*{3}|-{3}|\\+{3}).*$/m,/^@@.*@@$/m,/^\\d.*$/m]};var we={\"deleted-sign\":\"-\",\"deleted-arrow\":\"<\",\"inserted-sign\":\"+\",\"inserted-arrow\":\">\",unchanged:\" \",diff:\"!\"};Object.keys(we).forEach(function(Ie){var le=we[Ie],Ne=[];/^\\w+$/.test(Ie)||Ne.push(/\\w+/.exec(Ie)[0]),Ie===\"diff\"&&Ne.push(\"bold\"),V.languages.diff[Ie]={pattern:RegExp(\"^(?:[\"+le+`].*(?:\\r\n?|\n|(?![\\\\s\\\\S])))+`,\"m\"),alias:Ne,inside:{line:{pattern:/(.)(?=[\\s\\S]).*(?:\\r\\n?|\\n)?/,lookbehind:!0},prefix:{pattern:/[\\s\\S]/,alias:/\\w+/.exec(Ie)[0]}}}}),Object.defineProperty(V.languages.diff,\"PREFIXES\",{value:we})}(x),x.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\\+.*/m,string:/(\"|')(?:\\\\.|(?!\\1)[^\\\\\\r\\n])*\\1/,command:{pattern:/^.*\\$ git .*$/m,inside:{parameter:/\\s--?\\w+/}},coord:/^@@.*@@$/m,\"commit-sha1\":/^commit \\w{40}$/m},x.languages.go=x.languages.extend(\"clike\",{string:{pattern:/(^|[^\\\\])\"(?:\\\\.|[^\"\\\\\\r\\n])*\"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\\b/,boolean:/\\b(?:_|false|iota|nil|true)\\b/,number:[/\\b0(?:b[01_]+|o[0-7_]+)i?\\b/i,/\\b0x(?:[a-f\\d_]+(?:\\.[a-f\\d_]*)?|\\.[a-f\\d_]+)(?:p[+-]?\\d+(?:_\\d+)*)?i?(?!\\w)/i,/(?:\\b\\d[\\d_]*(?:\\.[\\d_]*)?|\\B\\.\\d[\\d_]*)(?:e[+-]?[\\d_]+)?i?(?!\\w)/i],operator:/[*\\/%^!=]=?|\\+[=+]?|-[=-]?|\\|[=|]?|&(?:=|&|\\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\\.\\.\\./,builtin:/\\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\\b/}),x.languages.insertBefore(\"go\",\"string\",{char:{pattern:/'(?:\\\\.|[^'\\\\\\r\\n]){0,10}'/,greedy:!0}}),delete x.languages.go[\"class-name\"],function(V){function we(Ie,le){return\"___\"+Ie.toUpperCase()+le+\"___\"}Object.defineProperties(V.languages[\"markup-templating\"]={},{buildPlaceholders:{value:function(Ie,le,Ne,te){if(Ie.language===le){var se=Ie.tokenStack=[];Ie.code=Ie.code.replace(Ne,function(pe){if(typeof te==\"function\"&&!te(pe))return pe;for(var ee=se.length,Se;Ie.code.indexOf(Se=we(le,ee))!==-1;)++ee;return se[ee]=pe,Se}),Ie.grammar=V.languages.markup}}},tokenizePlaceholders:{value:function(Ie,le){if(Ie.language!==le||!Ie.tokenStack)return;Ie.grammar=V.languages[le];var Ne=0,te=Object.keys(Ie.tokenStack);function se(pe){for(var ee=0;ee<pe.length&&!(Ne>=te.length);ee++){var Se=pe[ee];if(typeof Se==\"string\"||Se.content&&typeof Se.content==\"string\"){var Q=te[Ne],Z=Ie.tokenStack[Q],Y=typeof Se==\"string\"?Se:Se.content,ue=we(le,Q),he=Y.indexOf(ue);if(he>-1){++Ne;var me=Y.substring(0,he),Oe=new V.Token(le,V.tokenize(Z,Ie.grammar),\"language-\"+le,Z),We=Y.substring(he+ue.length),ke=[];me&&ke.push.apply(ke,se([me])),ke.push(Oe),We&&ke.push.apply(ke,se([We])),typeof Se==\"string\"?pe.splice.apply(pe,[ee,1].concat(ke)):Se.content=ke}}else Se.content&&se(Se.content)}return pe}se(Ie.tokens)}}})}(x),function(V){V.languages.handlebars={comment:/\\{\\{![\\s\\S]*?\\}\\}/,delimiter:{pattern:/^\\{\\{\\{?|\\}\\}\\}?$/,alias:\"punctuation\"},string:/([\"'])(?:\\\\.|(?!\\1)[^\\\\\\r\\n])*\\1/,number:/\\b0x[\\dA-Fa-f]+\\b|(?:\\b\\d+(?:\\.\\d*)?|\\B\\.\\d+)(?:[Ee][+-]?\\d+)?/,boolean:/\\b(?:false|true)\\b/,block:{pattern:/^(\\s*(?:~\\s*)?)[#\\/]\\S+?(?=\\s*(?:~\\s*)?$|\\s)/,lookbehind:!0,alias:\"keyword\"},brackets:{pattern:/\\[[^\\]]+\\]/,inside:{punctuation:/\\[|\\]/,variable:/[\\s\\S]+/}},punctuation:/[!\"#%&':()*+,.\\/;<=>@\\[\\\\\\]^`{|}~]/,variable:/[^!\"#%&'()*+,\\/;<=>@\\[\\\\\\]^`{|}~\\s]+/},V.hooks.add(\"before-tokenize\",function(we){var Ie=/\\{\\{\\{[\\s\\S]+?\\}\\}\\}|\\{\\{[\\s\\S]+?\\}\\}/g;V.languages[\"markup-templating\"].buildPlaceholders(we,\"handlebars\",Ie)}),V.hooks.add(\"after-tokenize\",function(we){V.languages[\"markup-templating\"].tokenizePlaceholders(we,\"handlebars\")}),V.languages.hbs=V.languages.handlebars}(x),x.languages.json={property:{pattern:/(^|[^\\\\])\"(?:\\\\.|[^\\\\\"\\r\\n])*\"(?=\\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\\\])\"(?:\\\\.|[^\\\\\"\\r\\n])*\"(?!\\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\\/\\/.*|\\/\\*[\\s\\S]*?(?:\\*\\/|$)/,greedy:!0},number:/-?\\b\\d+(?:\\.\\d+)?(?:e[+-]?\\d+)?\\b/i,punctuation:/[{}[\\],]/,operator:/:/,boolean:/\\b(?:false|true)\\b/,null:{pattern:/\\bnull\\b/,alias:\"keyword\"}},x.languages.webmanifest=x.languages.json,x.languages.less=x.languages.extend(\"css\",{comment:[/\\/\\*[\\s\\S]*?\\*\\//,{pattern:/(^|[^\\\\])\\/\\/.*/,lookbehind:!0}],atrule:{pattern:/@[\\w-](?:\\((?:[^(){}]|\\([^(){}]*\\))*\\)|[^(){};\\s]|\\s+(?!\\s))*?(?=\\s*\\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\\{[\\w-]+\\}|[^{};\\s@])(?:@\\{[\\w-]+\\}|\\((?:[^(){}]|\\([^(){}]*\\))*\\)|[^(){};@\\s]|\\s+(?!\\s))*?(?=\\s*\\{)/,inside:{variable:/@+[\\w-]+/}},property:/(?:@\\{[\\w-]+\\}|[\\w-])+(?:\\+_?)?(?=\\s*:)/,operator:/[+\\-*\\/]/}),x.languages.insertBefore(\"less\",\"property\",{variable:[{pattern:/@[\\w-]+\\s*:/,inside:{punctuation:/:/}},/@@?[\\w-]+/],\"mixin-usage\":{pattern:/([{;]\\s*)[.#](?!\\d)[\\w-].*?(?=[(;])/,lookbehind:!0,alias:\"function\"}}),x.languages.makefile={comment:{pattern:/(^|[^\\\\])#(?:\\\\(?:\\r\\n|[\\s\\S])|[^\\\\\\r\\n])*/,lookbehind:!0},string:{pattern:/([\"'])(?:\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,greedy:!0},\"builtin-target\":{pattern:/\\.[A-Z][^:#=\\s]+(?=\\s*:(?!=))/,alias:\"builtin\"},target:{pattern:/^(?:[^:=\\s]|[ \\t]+(?![\\s:]))+(?=\\s*:(?!=))/m,alias:\"symbol\",inside:{variable:/\\$+(?:(?!\\$)[^(){}:#=\\s]+|(?=[({]))/}},variable:/\\$+(?:(?!\\$)[^(){}:#=\\s]+|\\([@*%<^+?][DF]\\)|(?=[({]))/,keyword:/-include\\b|\\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\\b/,function:{pattern:/(\\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \\t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},x.languages.objectivec=x.languages.extend(\"c\",{string:{pattern:/@?\"(?:\\\\(?:\\r\\n|[\\s\\S])|[^\"\\\\\\r\\n])*\"/,greedy:!0},keyword:/\\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\\b/,operator:/-[->]?|\\+\\+?|!=?|<<?=?|>>?=?|==?|&&?|\\|\\|?|[~^%?*\\/@]/}),delete x.languages.objectivec[\"class-name\"],x.languages.objc=x.languages.objectivec,x.languages.ocaml={comment:{pattern:/\\(\\*[\\s\\S]*?\\*\\)/,greedy:!0},char:{pattern:/'(?:[^\\\\\\r\\n']|\\\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/\"(?:\\\\(?:[\\s\\S]|\\r\\n)|[^\\\\\\r\\n\"])*\"/,greedy:!0},{pattern:/\\{([a-z_]*)\\|[\\s\\S]*?\\|\\1\\}/,greedy:!0}],number:[/\\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\\b/i,/\\b0x[a-f0-9][a-f0-9_]*(?:\\.[a-f0-9_]*)?(?:p[+-]?\\d[\\d_]*)?(?!\\w)/i,/\\b\\d[\\d_]*(?:\\.[\\d_]*)?(?:e[+-]?\\d[\\d_]*)?(?!\\w)/i],directive:{pattern:/\\B#\\w+/,alias:\"property\"},label:{pattern:/\\B~\\w+/,alias:\"property\"},\"type-variable\":{pattern:/\\B'\\w+/,alias:\"function\"},variant:{pattern:/`\\w+/,alias:\"symbol\"},keyword:/\\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\\b/,boolean:/\\b(?:false|true)\\b/,\"operator-like-punctuation\":{pattern:/\\[[<>|]|[>|]\\]|\\{<|>\\}/,alias:\"punctuation\"},operator:/\\.[.~]|:[=>]|[=<>@^|&+\\-*\\/$%!?~][!$%&*+\\-.\\/:<=>?@^|~]*|\\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\\b/,punctuation:/;;|::|[(){}\\[\\].,:;#]|\\b_\\b/},x.languages.python={comment:{pattern:/(^|[^\\\\])#.*/,lookbehind:!0,greedy:!0},\"string-interpolation\":{pattern:/(?:f|fr|rf)(?:(\"\"\"|''')[\\s\\S]*?\\1|(\"|')(?:\\\\.|(?!\\2)[^\\\\\\r\\n])*\\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\\{\\{)*)\\{(?!\\{)(?:[^{}]|\\{(?!\\{)(?:[^{}]|\\{(?!\\{)(?:[^{}])+\\})+\\})+\\}/,lookbehind:!0,inside:{\"format-spec\":{pattern:/(:)[^:(){}]+(?=\\}$)/,lookbehind:!0},\"conversion-option\":{pattern:/![sra](?=[:}]$)/,alias:\"punctuation\"},rest:null}},string:/[\\s\\S]+/}},\"triple-quoted-string\":{pattern:/(?:[rub]|br|rb)?(\"\"\"|''')[\\s\\S]*?\\1/i,greedy:!0,alias:\"string\"},string:{pattern:/(?:[rub]|br|rb)?(\"|')(?:\\\\.|(?!\\1)[^\\\\\\r\\n])*\\1/i,greedy:!0},function:{pattern:/((?:^|\\s)def[ \\t]+)[a-zA-Z_]\\w*(?=\\s*\\()/g,lookbehind:!0},\"class-name\":{pattern:/(\\bclass\\s+)\\w+/i,lookbehind:!0},decorator:{pattern:/(^[\\t ]*)@\\w+(?:\\.\\w+)*/m,lookbehind:!0,alias:[\"annotation\",\"punctuation\"],inside:{punctuation:/\\./}},keyword:/\\b(?:_(?=\\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\\b/,builtin:/\\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\\b/,boolean:/\\b(?:False|None|True)\\b/,number:/\\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\\b|(?:\\b\\d+(?:_\\d+)*(?:\\.(?:\\d+(?:_\\d+)*)?)?|\\B\\.\\d+(?:_\\d+)*)(?:e[+-]?\\d+(?:_\\d+)*)?j?(?!\\w)/i,operator:/[-+%=]=?|!=|:=|\\*\\*?=?|\\/\\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\\];(),.:]/},x.languages.python[\"string-interpolation\"].inside.interpolation.inside.rest=x.languages.python,x.languages.py=x.languages.python,x.languages.reason=x.languages.extend(\"clike\",{string:{pattern:/\"(?:\\\\(?:\\r\\n|[\\s\\S])|[^\\\\\\r\\n\"])*\"/,greedy:!0},\"class-name\":/\\b[A-Z]\\w*/,keyword:/\\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\\b/,operator:/\\.{3}|:[:=]|\\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\\-*\\/]\\.?|\\b(?:asr|land|lor|lsl|lsr|lxor|mod)\\b/}),x.languages.insertBefore(\"reason\",\"class-name\",{char:{pattern:/'(?:\\\\x[\\da-f]{2}|\\\\o[0-3][0-7][0-7]|\\\\\\d{3}|\\\\.|[^'\\\\\\r\\n])'/,greedy:!0},constructor:/\\b[A-Z]\\w*\\b(?!\\s*\\.)/,label:{pattern:/\\b[a-z]\\w*(?=::)/,alias:\"symbol\"}}),delete x.languages.reason.function,function(V){V.languages.sass=V.languages.extend(\"css\",{comment:{pattern:/^([ \\t]*)\\/[\\/*].*(?:(?:\\r?\\n|\\r)\\1[ \\t].+)*/m,lookbehind:!0,greedy:!0}}),V.languages.insertBefore(\"sass\",\"atrule\",{\"atrule-line\":{pattern:/^(?:[ \\t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\\w-]+|[+=])/}}}),delete V.languages.sass.atrule;var we=/\\$[-\\w]+|#\\{\\$[-\\w]+\\}/,Ie=[/[+*\\/%]|[=!]=|<=?|>=?|\\b(?:and|not|or)\\b/,{pattern:/(\\s)-(?=\\s)/,lookbehind:!0}];V.languages.insertBefore(\"sass\",\"property\",{\"variable-line\":{pattern:/^[ \\t]*\\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:we,operator:Ie}},\"property-line\":{pattern:/^[ \\t]*(?:[^:\\s]+ *:.*|:[^:\\s].*)/m,greedy:!0,inside:{property:[/[^:\\s]+(?=\\s*:)/,{pattern:/(:)[^:\\s]+/,lookbehind:!0}],punctuation:/:/,variable:we,operator:Ie,important:V.languages.sass.important}}}),delete V.languages.sass.property,delete V.languages.sass.important,V.languages.insertBefore(\"sass\",\"punctuation\",{selector:{pattern:/^([ \\t]*)\\S(?:,[^,\\r\\n]+|[^,\\r\\n]*)(?:,[^,\\r\\n]+)*(?:,(?:\\r?\\n|\\r)\\1[ \\t]+\\S(?:,[^,\\r\\n]+|[^,\\r\\n]*)(?:,[^,\\r\\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(x),x.languages.scss=x.languages.extend(\"css\",{comment:{pattern:/(^|[^\\\\])(?:\\/\\*[\\s\\S]*?\\*\\/|\\/\\/.*)/,lookbehind:!0},atrule:{pattern:/@[\\w-](?:\\([^()]+\\)|[^()\\s]|\\s+(?!\\s))*?(?=\\s+[{;])/,inside:{rule:/@[\\w-]+/}},url:/(?:[-a-z]+-)?url(?=\\()/i,selector:{pattern:/(?=\\S)[^@;{}()]?(?:[^@;{}()\\s]|\\s+(?!\\s)|#\\{\\$[-\\w]+\\})+(?=\\s*\\{(?:\\}|\\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:\"important\"},placeholder:/%[-\\w]+/,variable:/\\$[-\\w]+|#\\{\\$[-\\w]+\\}/}},property:{pattern:/(?:[-\\w]|\\$[-\\w]|#\\{\\$[-\\w]+\\})+(?=\\s*:)/,inside:{variable:/\\$[-\\w]+|#\\{\\$[-\\w]+\\}/}}}),x.languages.insertBefore(\"scss\",\"atrule\",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),x.languages.insertBefore(\"scss\",\"important\",{variable:/\\$[-\\w]+|#\\{\\$[-\\w]+\\}/}),x.languages.insertBefore(\"scss\",\"function\",{\"module-modifier\":{pattern:/\\b(?:as|hide|show|with)\\b/i,alias:\"keyword\"},placeholder:{pattern:/%[-\\w]+/,alias:\"selector\"},statement:{pattern:/\\B!(?:default|optional)\\b/i,alias:\"keyword\"},boolean:/\\b(?:false|true)\\b/,null:{pattern:/\\bnull\\b/,alias:\"keyword\"},operator:{pattern:/(\\s)(?:[-+*\\/%]|[=!]=|<=?|>=?|and|not|or)(?=\\s)/,lookbehind:!0}}),x.languages.scss.atrule.inside.rest=x.languages.scss,function(V){var we={pattern:/(\\b\\d+)(?:%|[a-z]+)/,lookbehind:!0},Ie={pattern:/(^|[^\\w.-])-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)/,lookbehind:!0},le={comment:{pattern:/(^|[^\\\\])(?:\\/\\*[\\s\\S]*?\\*\\/|\\/\\/.*)/,lookbehind:!0},url:{pattern:/\\burl\\(([\"']?).*?\\1\\)/i,greedy:!0},string:{pattern:/(\"|')(?:(?!\\1)[^\\\\\\r\\n]|\\\\(?:\\r\\n|[\\s\\S]))*\\1/,greedy:!0},interpolation:null,func:null,important:/\\B!(?:important|optional)\\b/i,keyword:{pattern:/(^|\\s+)(?:(?:else|for|if|return|unless)(?=\\s|$)|@[\\w-]+)/,lookbehind:!0},hexcode:/#[\\da-f]{3,6}/i,color:[/\\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\\b/i,{pattern:/\\b(?:hsl|rgb)\\(\\s*\\d{1,3}\\s*,\\s*\\d{1,3}%?\\s*,\\s*\\d{1,3}%?\\s*\\)\\B|\\b(?:hsl|rgb)a\\(\\s*\\d{1,3}\\s*,\\s*\\d{1,3}%?\\s*,\\s*\\d{1,3}%?\\s*,\\s*(?:0|0?\\.\\d+|1)\\s*\\)\\B/i,inside:{unit:we,number:Ie,function:/[\\w-]+(?=\\()/,punctuation:/[(),]/}}],entity:/\\\\[\\da-f]{1,8}/i,unit:we,boolean:/\\b(?:false|true)\\b/,operator:[/~|[+!\\/%<>?=]=?|[-:]=|\\*[*=]?|\\.{2,3}|&&|\\|\\||\\B-\\B|\\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\\b/],number:Ie,punctuation:/[{}()\\[\\];:,]/};le.interpolation={pattern:/\\{[^\\r\\n}:]+\\}/,alias:\"variable\",inside:{delimiter:{pattern:/^\\{|\\}$/,alias:\"punctuation\"},rest:le}},le.func={pattern:/[\\w-]+\\([^)]*\\).*/,inside:{function:/^[^(]+/,rest:le}},V.languages.stylus={\"atrule-declaration\":{pattern:/(^[ \\t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\\w-]+/,rest:le}},\"variable-declaration\":{pattern:/(^[ \\t]*)[\\w$-]+\\s*.?=[ \\t]*(?:\\{[^{}]*\\}|\\S.*|$)/m,lookbehind:!0,inside:{variable:/^\\S+/,rest:le}},statement:{pattern:/(^[ \\t]*)(?:else|for|if|return|unless)[ \\t].+/m,lookbehind:!0,inside:{keyword:/^\\S+/,rest:le}},\"property-declaration\":{pattern:/((?:^|\\{)([ \\t]*))(?:[\\w-]|\\{[^}\\r\\n]+\\})+(?:\\s*:\\s*|[ \\t]+)(?!\\s)[^{\\r\\n]*(?:;|[^{\\r\\n,]$(?!(?:\\r?\\n|\\r)(?:\\{|\\2[ \\t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\\s:]+/,inside:{interpolation:le.interpolation}},rest:le}},selector:{pattern:/(^[ \\t]*)(?:(?=\\S)(?:[^{}\\r\\n:()]|::?[\\w-]+(?:\\([^)\\r\\n]*\\)|(?![\\w-]))|\\{[^}\\r\\n]+\\})+)(?:(?:\\r?\\n|\\r)(?:\\1(?:(?=\\S)(?:[^{}\\r\\n:()]|::?[\\w-]+(?:\\([^)\\r\\n]*\\)|(?![\\w-]))|\\{[^}\\r\\n]+\\})+)))*(?:,$|\\{|(?=(?:\\r?\\n|\\r)(?:\\{|\\1[ \\t])))/m,lookbehind:!0,inside:{interpolation:le.interpolation,comment:le.comment,punctuation:/[{},]/}},func:le.func,string:le.string,comment:{pattern:/(^|[^\\\\])(?:\\/\\*[\\s\\S]*?\\*\\/|\\/\\/.*)/,lookbehind:!0,greedy:!0},interpolation:le.interpolation,punctuation:/[{}()\\[\\];:.]/}}(x),function(V){var we=V.util.clone(V.languages.typescript);V.languages.tsx=V.languages.extend(\"jsx\",we),delete V.languages.tsx.parameter,delete V.languages.tsx[\"literal-property\"];var Ie=V.languages.tsx.tag;Ie.pattern=RegExp(/(^|[^\\w$]|(?=<\\/))/.source+\"(?:\"+Ie.pattern.source+\")\",Ie.pattern.flags),Ie.lookbehind=!0}(x),x.languages.wasm={comment:[/\\(;[\\s\\S]*?;\\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/\"(?:\\\\[\\s\\S]|[^\"\\\\])*\"/,greedy:!0},keyword:[{pattern:/\\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\\b(?:(?:f32|f64|i32|i64)(?:\\.(?:abs|add|and|ceil|clz|const|convert_[su]\\/i(?:32|64)|copysign|ctz|demote\\/f64|div(?:_[su])?|eqz?|extend_[su]\\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\\/f32|reinterpret\\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\\/f(?:32|64))?|wrap\\/i64|xor))?|memory\\.(?:grow|size))\\b/,inside:{punctuation:/\\./}},/\\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\\b/],variable:/\\$[\\w!#$%&'*+\\-./:<=>?@\\\\^`|~]+/,number:/[+-]?\\b(?:\\d(?:_?\\d)*(?:\\.\\d(?:_?\\d)*)?(?:[eE][+-]?\\d(?:_?\\d)*)?|0x[\\da-fA-F](?:_?[\\da-fA-F])*(?:\\.[\\da-fA-F](?:_?[\\da-fA-D])*)?(?:[pP][+-]?\\d(?:_?\\d)*)?)\\b|\\binf\\b|\\bnan(?::0x[\\da-fA-F](?:_?[\\da-fA-D])*)?\\b/,punctuation:/[()]/};var F=x,K={plain:{backgroundColor:\"#2a2734\",color:\"#9a86fd\"},styles:[{types:[\"comment\",\"prolog\",\"doctype\",\"cdata\",\"punctuation\"],style:{color:\"#6c6783\"}},{types:[\"namespace\"],style:{opacity:.7}},{types:[\"tag\",\"operator\",\"number\"],style:{color:\"#e09142\"}},{types:[\"property\",\"function\"],style:{color:\"#9a86fd\"}},{types:[\"tag-id\",\"selector\",\"atrule-id\"],style:{color:\"#eeebff\"}},{types:[\"attr-name\"],style:{color:\"#c4b9fe\"}},{types:[\"boolean\",\"string\",\"entity\",\"url\",\"attr-value\",\"keyword\",\"control\",\"directive\",\"unit\",\"statement\",\"regex\",\"atrule\",\"placeholder\",\"variable\"],style:{color:\"#ffcc99\"}},{types:[\"deleted\"],style:{textDecorationLine:\"line-through\"}},{types:[\"inserted\"],style:{textDecorationLine:\"underline\"}},{types:[\"italic\"],style:{fontStyle:\"italic\"}},{types:[\"important\",\"bold\"],style:{fontWeight:\"bold\"}},{types:[\"important\"],style:{color:\"#c4b9fe\"}}]},G=K,q={Prism:F,theme:G};function X(V,we,Ie){return we in V?Object.defineProperty(V,we,{value:Ie,enumerable:!0,configurable:!0,writable:!0}):V[we]=Ie,V}function oe(){return oe=Object.assign||function(V){for(var we=1;we<arguments.length;we++){var Ie=arguments[we];for(var le in Ie)Object.prototype.hasOwnProperty.call(Ie,le)&&(V[le]=Ie[le])}return V},oe.apply(this,arguments)}var Ee=/\\r\\n|\\r|\\n/,Te=function(V){V.length===0?V.push({types:[\"plain\"],content:`\n`,empty:!0}):V.length===1&&V[0].content===\"\"&&(V[0].content=`\n`,V[0].empty=!0)},ae=function(V,we){var Ie=V.length;return Ie>0&&V[Ie-1]===we?V:V.concat(we)},z=function(V){for(var we=[[]],Ie=[V],le=[0],Ne=[V.length],te=0,se=0,pe=[],ee=[pe];se>-1;){for(;(te=le[se]++)<Ne[se];){var Se=void 0,Q=we[se],Z=Ie[se],Y=Z[te];if(typeof Y==\"string\"?(Q=se>0?Q:[\"plain\"],Se=Y):(Q=ae(Q,Y.type),Y.alias&&(Q=ae(Q,Y.alias)),Se=Y.content),typeof Se!=\"string\"){se++,we.push(Q),Ie.push(Se),le.push(0),Ne.push(Se.length);continue}var ue=Se.split(Ee),he=ue.length;pe.push({types:Q,content:ue[0]});for(var me=1;me<he;me++)Te(pe),ee.push(pe=[]),pe.push({types:Q,content:ue[me]})}se--,we.pop(),Ie.pop(),le.pop(),Ne.pop()}return Te(pe),ee},A=function(V,we){var Ie=V.plain,le=Object.create(null),Ne=V.styles.reduce(function(te,se){var pe=se.languages,ee=se.style;return pe&&!pe.includes(we)||se.types.forEach(function(Se){var Q=oe({},te[Se],ee);te[Se]=Q}),te},le);return Ne.root=Ie,Ne.plain=oe({},Ie,{backgroundColor:null}),Ne};function T(V,we){var Ie={};for(var le in V)Object.prototype.hasOwnProperty.call(V,le)&&we.indexOf(le)===-1&&(Ie[le]=V[le]);return Ie}var R=function(V){function we(){for(var Ie=this,le=[],Ne=arguments.length;Ne--;)le[Ne]=arguments[Ne];V.apply(this,le),X(this,\"getThemeDict\",function(te){if(Ie.themeDict!==void 0&&te.theme===Ie.prevTheme&&te.language===Ie.prevLanguage)return Ie.themeDict;Ie.prevTheme=te.theme,Ie.prevLanguage=te.language;var se=te.theme?A(te.theme,te.language):void 0;return Ie.themeDict=se}),X(this,\"getLineProps\",function(te){var se=te.key,pe=te.className,ee=te.style,Se=T(te,[\"key\",\"className\",\"style\",\"line\"]),Q=Se,Z=oe({},Q,{className:\"token-line\",style:void 0,key:void 0}),Y=Ie.getThemeDict(Ie.props);return Y!==void 0&&(Z.style=Y.plain),ee!==void 0&&(Z.style=Z.style!==void 0?oe({},Z.style,ee):ee),se!==void 0&&(Z.key=se),pe&&(Z.className+=\" \"+pe),Z}),X(this,\"getStyleForToken\",function(te){var se=te.types,pe=te.empty,ee=se.length,Se=Ie.getThemeDict(Ie.props);if(Se!==void 0){{if(ee===1&&se[0]===\"plain\")return pe?{display:\"inline-block\"}:void 0;if(ee===1&&!pe)return Se[se[0]]}var Q=pe?{display:\"inline-block\"}:{},Z=se.map(function(Y){return Se[Y]});return Object.assign.apply(Object,[Q].concat(Z))}}),X(this,\"getTokenProps\",function(te){var se=te.key,pe=te.className,ee=te.style,Se=te.token,Q=T(te,[\"key\",\"className\",\"style\",\"token\"]),Z=Q,Y=oe({},Z,{className:\"token \"+Se.types.join(\" \"),children:Se.content,style:Ie.getStyleForToken(Se),key:void 0});return ee!==void 0&&(Y.style=Y.style!==void 0?oe({},Y.style,ee):ee),se!==void 0&&(Y.key=se),pe&&(Y.className+=\" \"+pe),Y}),X(this,\"tokenize\",function(te,se,pe,ee){var Se={code:se,grammar:pe,language:ee,tokens:[]};te.hooks.run(\"before-tokenize\",Se);var Q=Se.tokens=te.tokenize(Se.code,Se.grammar,Se.language);return te.hooks.run(\"after-tokenize\",Se),Q})}return V&&(we.__proto__=V),we.prototype=Object.create(V&&V.prototype),we.prototype.constructor=we,we.prototype.render=function(){var le=this.props,Ne=le.Prism,te=le.language,se=le.code,pe=le.children,ee=this.getThemeDict(this.props),Se=Ne.languages[te],Q=Se!==void 0?this.tokenize(Ne,se,Se,te):[se],Z=z(Q);return pe({tokens:Z,className:\"prism-code language-\"+te,style:ee!==void 0?ee.root:{},getLineProps:this.getLineProps,getTokenProps:this.getTokenProps})},we}(a.Component),j=R,C=e(90943);function B(){return B=Object.assign?Object.assign.bind():function(V){for(var we=1;we<arguments.length;we++){var Ie=arguments[we];for(var le in Ie)Object.prototype.hasOwnProperty.call(Ie,le)&&(V[le]=Ie[le])}return V},B.apply(this,arguments)}function fe(V,we){return _e(V)||Me(V,we)||ge(V,we)||Ae()}function Ae(){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 ge(V,we){if(V){if(typeof V==\"string\")return ce(V,we);var Ie=Object.prototype.toString.call(V).slice(8,-1);if(Ie===\"Object\"&&V.constructor&&(Ie=V.constructor.name),Ie===\"Map\"||Ie===\"Set\")return Array.from(V);if(Ie===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ie))return ce(V,we)}}function ce(V,we){(we==null||we>V.length)&&(we=V.length);for(var Ie=0,le=new Array(we);Ie<we;Ie++)le[Ie]=V[Ie];return le}function Me(V,we){var Ie=V==null?null:typeof Symbol!=\"undefined\"&&V[Symbol.iterator]||V[\"@@iterator\"];if(Ie!=null){var le=[],Ne=!0,te=!1,se,pe;try{for(Ie=Ie.call(V);!(Ne=(se=Ie.next()).done)&&(le.push(se.value),!(we&&le.length===we));Ne=!0);}catch(ee){te=!0,pe=ee}finally{try{!Ne&&Ie.return!=null&&Ie.return()}finally{if(te)throw pe}}return le}}function _e(V){if(Array.isArray(V))return V}var De={acss:\"css\",axml:\"markup\"},Ce=function(we){var Ie=we.children,le=we.lang,Ne=we.highlightLines,te=Ne===void 0?[]:Ne,se=(0,a.useRef)(),pe=(0,a.useState)(!1),ee=fe(pe,2),Se=ee[0],Q=ee[1];return a.createElement(\"div\",{className:\"dumi-default-source-code\"},a.createElement(C.CopyToClipboard,{text:Ie,onCopy:function(){Q(!0),clearTimeout(se.current),se.current=window.setTimeout(function(){return Q(!1)},2e3)}},a.createElement(\"button\",{type:\"button\",className:\"dumi-default-source-code-copy\",\"data-copied\":Se||void 0},Se?a.createElement(v,null):a.createElement(_,null))),a.createElement(j,B({},q,{code:Ie.trim(),language:De[le]||le,theme:void 0}),function(Z){var Y=Z.className,ue=Z.style,he=Z.tokens,me=Z.getLineProps,Oe=Z.getTokenProps;return a.createElement(\"pre\",{className:Y,style:ue},he.map(function(We,ke){return a.createElement(\"div\",B({key:String(ke)},me({line:We,key:ke,className:k()({highlighted:te.includes(ke+1)})})),We.map(function(It,ft){return a.createElement(\"span\",B({key:String(ke)},Oe({token:It,key:ft})))}))}))}))},it=Ce},77759:function(c,m,e){\"use strict\";e.d(m,{Il:function(){return r},Ov:function(){return u}});var a=e(50959),o=null,r=a.createContext({});function u(){return a.useContext(r)}function l(){var p=useLocation(),h=u(),g=h.clientRoutes,y=matchRoutes(g,p.pathname);return y||[]}function d(){var p,h=l().slice(-1),g=((p=h[0])===null||p===void 0?void 0:p.route)||{},y=g.element,S=_objectWithoutProperties(g,o);return S}function f(){var p=useRouteData(),h=u();return{data:h.serverLoaderData[p.route.id]}}function v(){var p=useRouteData(),h=u();return{data:h.clientLoaderData[p.route.id]}}},14828:function(c,m,e){\"use strict\";e.d(m,{Q:function(){return r},X:function(){return o}});var a=e(50959),o=a.createContext(void 0);function r(){return a.useContext(o)}},84875:function(c,m){var e,a;(function(){\"use strict\";var o={}.hasOwnProperty,r=\"[native code]\";function u(){for(var l=[],d=0;d<arguments.length;d++){var f=arguments[d];if(f){var v=typeof f;if(v===\"string\"||v===\"number\")l.push(f);else if(Array.isArray(f)){if(f.length){var p=u.apply(null,f);p&&l.push(p)}}else if(v===\"object\"){if(f.toString!==Object.prototype.toString&&!f.toString.toString().includes(\"[native code]\")){l.push(f.toString());continue}for(var h in f)o.call(f,h)&&f[h]&&l.push(h)}}}return l.join(\" \")}c.exports?(u.default=u,c.exports=u):(e=[],a=function(){return u}.apply(m,e),a!==void 0&&(c.exports=a))})()},14978:function(c,m,e){\"use strict\";Object.defineProperty(m,\"__esModule\",{value:!0}),m.getParameters=void 0;var a=e(37581);function o(u){return a.compressToBase64(u).replace(/\\+/g,\"-\").replace(/\\//g,\"_\").replace(/=+$/,\"\")}function r(u){return o(JSON.stringify(u))}m.getParameters=r},71401:function(c,m,e){\"use strict\";var a;a=!0,m.Z=void 0;var o=e(14978);m.Z=o.getParameters},874:function(c,m,e){\"use strict\";var a=e(16935),o={\"text/plain\":\"Text\",\"text/html\":\"Url\",default:\"Text\"},r=\"Copy to clipboard: #{key}, Enter\";function u(d){var f=(/mac os x/i.test(navigator.userAgent)?\"\\u2318\":\"Ctrl\")+\"+C\";return d.replace(/#{\\s*key\\s*}/g,f)}function l(d,f){var v,p,h,g,y,S,I=!1;f||(f={}),v=f.debug||!1;try{h=a(),g=document.createRange(),y=document.getSelection(),S=document.createElement(\"span\"),S.textContent=d,S.ariaHidden=\"true\",S.style.all=\"unset\",S.style.position=\"fixed\",S.style.top=0,S.style.clip=\"rect(0, 0, 0, 0)\",S.style.whiteSpace=\"pre\",S.style.webkitUserSelect=\"text\",S.style.MozUserSelect=\"text\",S.style.msUserSelect=\"text\",S.style.userSelect=\"text\",S.addEventListener(\"copy\",function(_){if(_.stopPropagation(),f.format)if(_.preventDefault(),typeof _.clipboardData==\"undefined\"){v&&console.warn(\"unable to use e.clipboardData\"),v&&console.warn(\"trying IE specific stuff\"),window.clipboardData.clearData();var M=o[f.format]||o.default;window.clipboardData.setData(M,d)}else _.clipboardData.clearData(),_.clipboardData.setData(f.format,d);f.onCopy&&(_.preventDefault(),f.onCopy(_.clipboardData))}),document.body.appendChild(S),g.selectNodeContents(S),y.addRange(g);var N=document.execCommand(\"copy\");if(!N)throw new Error(\"copy command was unsuccessful\");I=!0}catch(_){v&&console.error(\"unable to copy using execCommand: \",_),v&&console.warn(\"trying IE specific stuff\");try{window.clipboardData.setData(f.format||\"text\",d),f.onCopy&&f.onCopy(window.clipboardData),I=!0}catch(M){v&&console.error(\"unable to copy using clipboardData: \",M),v&&console.error(\"falling back to prompt\"),p=u(\"message\"in f?f.message:r),window.prompt(p,d)}}finally{y&&(typeof y.removeRange==\"function\"?y.removeRange(g):y.removeAllRanges()),S&&document.body.removeChild(S),h()}return I}c.exports=l},21209:function(c,m,e){var a=e(99476),o=e(82424),r=TypeError;c.exports=function(u){if(a(u))return u;throw r(o(u)+\" is not a function\")}},94956:function(c,m,e){var a=e(3437),o=e(82424),r=TypeError;c.exports=function(u){if(a(u))return u;throw r(o(u)+\" is not a constructor\")}},45640:function(c,m,e){var a=e(95722).has;c.exports=function(o){return a(o),o}},72137:function(c,m,e){var a=e(99476),o=String,r=TypeError;c.exports=function(u){if(typeof u==\"object\"||a(u))return u;throw r(\"Can't set \"+o(u)+\" as a prototype\")}},27458:function(c,m,e){var a=e(67410).has;c.exports=function(o){return a(o),o}},4573:function(c,m,e){var a=e(3222).has;c.exports=function(o){return a(o),o}},24351:function(c,m,e){var a=e(82487).has;c.exports=function(o){return a(o),o}},39847:function(c,m,e){var a=e(42721),o=e(12992),r=e(79722),u=e(64264),l=e(36329),d=e(9591),f=d(\"asyncDispose\"),v=d(\"dispose\"),p=a([].push),h=function(y,S){return S==\"async-dispose\"&&l(y,f)||l(y,v)},g=function(y,S,I){return o(I||h(y,S),y)};c.exports=function(y,S,I,N){var _;if(N)u(S)?_=g(void 0,I,N):_=g(r(S),I,N);else{if(u(S))return;_=g(S,I)}p(y.stack,_)}},57415:function(c,m,e){var a=e(9591),o=e(14832),r=e(62886).f,u=a(\"unscopables\"),l=Array.prototype;l[u]==null&&r(l,u,{configurable:!0,value:o(null)}),c.exports=function(d){l[u][d]=!0}},91372:function(c,m,e){var a=e(36915),o=TypeError;c.exports=function(r,u){if(a(u,r))return r;throw o(\"Incorrect invocation\")}},79722:function(c,m,e){var a=e(98822),o=String,r=TypeError;c.exports=function(u){if(a(u))return u;throw r(o(u)+\" is not an object\")}},29738:function(c){c.exports=typeof ArrayBuffer!=\"undefined\"&&typeof DataView!=\"undefined\"},66129:function(c,m,e){var a=e(242);c.exports=a(function(){if(typeof ArrayBuffer==\"function\"){var o=new ArrayBuffer(8);Object.isExtensible(o)&&Object.defineProperty(o,\"a\",{value:8})}})},45133:function(c,m,e){\"use strict\";var a=e(29738),o=e(41737),r=e(38521),u=e(99476),l=e(98822),d=e(67781),f=e(24518),v=e(82424),p=e(84446),h=e(75001),g=e(73538),y=e(36915),S=e(60533),I=e(89555),N=e(9591),_=e(50216),M=e(27956),L=M.enforce,k=M.get,U=r.Int8Array,x=U&&U.prototype,F=r.Uint8ClampedArray,K=F&&F.prototype,G=U&&S(U),q=x&&S(x),X=Object.prototype,oe=r.TypeError,Ee=N(\"toStringTag\"),Te=_(\"TYPED_ARRAY_TAG\"),ae=\"TypedArrayConstructor\",z=a&&!!I&&f(r.opera)!==\"Opera\",A=!1,T,R,j,C={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},B={BigInt64Array:8,BigUint64Array:8},fe=function(it){if(!l(it))return!1;var V=f(it);return V===\"DataView\"||d(C,V)||d(B,V)},Ae=function(Ce){var it=S(Ce);if(l(it)){var V=k(it);return V&&d(V,ae)?V[ae]:Ae(it)}},ge=function(Ce){if(!l(Ce))return!1;var it=f(Ce);return d(C,it)||d(B,it)},ce=function(Ce){if(ge(Ce))return Ce;throw oe(\"Target is not a typed array\")},Me=function(Ce){if(u(Ce)&&(!I||y(G,Ce)))return Ce;throw oe(v(Ce)+\" is not a typed array constructor\")},_e=function(Ce,it,V,we){if(o){if(V)for(var Ie in C){var le=r[Ie];if(le&&d(le.prototype,Ce))try{delete le.prototype[Ce]}catch(Ne){try{le.prototype[Ce]=it}catch(te){}}}(!q[Ce]||V)&&h(q,Ce,V?it:z&&x[Ce]||it,we)}},De=function(Ce,it,V){var we,Ie;if(o){if(I){if(V){for(we in C)if(Ie=r[we],Ie&&d(Ie,Ce))try{delete Ie[Ce]}catch(le){}}if(!G[Ce]||V)try{return h(G,Ce,V?it:z&&G[Ce]||it)}catch(le){}else return}for(we in C)Ie=r[we],Ie&&(!Ie[Ce]||V)&&h(Ie,Ce,it)}};for(T in C)R=r[T],j=R&&R.prototype,j?L(j)[ae]=R:z=!1;for(T in B)R=r[T],j=R&&R.prototype,j&&(L(j)[ae]=R);if((!z||!u(G)||G===Function.prototype)&&(G=function(){throw oe(\"Incorrect invocation\")},z))for(T in C)r[T]&&I(r[T],G);if((!z||!q||q===X)&&(q=G.prototype,z))for(T in C)r[T]&&I(r[T].prototype,q);if(z&&S(K)!==q&&I(K,q),o&&!d(q,Ee)){A=!0,g(q,Ee,{configurable:!0,get:function(){return l(this)?this[Te]:void 0}});for(T in C)r[T]&&p(r[T],Te,T)}c.exports={NATIVE_ARRAY_BUFFER_VIEWS:z,TYPED_ARRAY_TAG:A&&Te,aTypedArray:ce,aTypedArrayConstructor:Me,exportTypedArrayMethod:_e,exportTypedArrayStaticMethod:De,getTypedArrayConstructor:Ae,isView:fe,isTypedArray:ge,TypedArray:G,TypedArrayPrototype:q}},24706:function(c,m,e){\"use strict\";var a=e(12992),o=e(42721),r=e(17311),u=e(3437),l=e(56275),d=e(48429),f=e(44059),v=e(62666),p=e(36329),h=e(59439),g=e(44660),y=e(9591),S=e(24758),I=e(18142).toArray,N=y(\"asyncIterator\"),_=o(h(\"Array\").values),M=o(_([]).next),L=function(){return new k(this)},k=function(U){this.iterator=_(U)};k.prototype.next=function(){return M(this.iterator)},c.exports=function(x){var F=this,K=arguments.length,G=K>1?arguments[1]:void 0,q=K>2?arguments[2]:void 0;return new(g(\"Promise\"))(function(X){var oe=r(x);G!==void 0&&(G=a(G,q));var Ee=p(oe,N),Te=Ee?void 0:v(oe)||L,ae=u(F)?new F:[],z=Ee?l(oe,Ee):new S(f(d(oe,Te)));X(I(z,G,ae))})}},1715:function(c,m,e){var a=e(46831);c.exports=function(o,r){for(var u=0,l=a(r),d=new o(l);l>u;)d[u]=r[u++];return d}},24793:function(c,m,e){\"use strict\";var a=e(12992),o=e(42721),r=e(84551),u=e(17311),l=e(46831),d=e(95722),f=d.Map,v=d.get,p=d.has,h=d.set,g=o([].push);c.exports=function(S){for(var I=u(this),N=r(I),_=a(S,arguments.length>1?arguments[1]:void 0),M=new f,L=l(N),k=0,U,x;L>k;k++)x=N[k],U=_(x,k,I),p(M,U)?g(v(M,U),x):h(M,U,[x]);return M}},46792:function(c,m,e){var a=e(12992),o=e(42721),r=e(84551),u=e(17311),l=e(82098),d=e(46831),f=e(14832),v=e(1715),p=Array,h=o([].push);c.exports=function(g,y,S,I){for(var N=u(g),_=r(N),M=a(y,S),L=f(null),k=d(_),U=0,x,F,K;k>U;U++)K=_[U],F=l(M(K,U,N)),F in L?h(L[F],K):L[F]=[K];if(I&&(x=I(N),x!==p))for(F in L)L[F]=v(x,L[F]);return L}},31851:function(c,m,e){var a=e(88378),o=e(99928),r=e(46831),u=function(l){return function(d,f,v){var p=a(d),h=r(p),g=o(v,h),y;if(l&&f!=f){for(;h>g;)if(y=p[g++],y!=y)return!0}else for(;h>g;g++)if((l||g in p)&&p[g]===f)return l||g||0;return!l&&-1}};c.exports={includes:u(!0),indexOf:u(!1)}},91321:function(c,m,e){var a=e(12992),o=e(84551),r=e(17311),u=e(46831),l=function(d){var f=d==1;return function(v,p,h){for(var g=r(v),y=o(g),S=a(p,h),I=u(y),N,_;I-- >0;)if(N=y[I],_=S(N,I,g),_)switch(d){case 0:return N;case 1:return I}return f?-1:void 0}};c.exports={findLast:l(0),findLastIndex:l(1)}},20111:function(c,m,e){var a=e(12992),o=e(42721),r=e(84551),u=e(17311),l=e(46831),d=e(16005),f=o([].push),v=function(p){var h=p==1,g=p==2,y=p==3,S=p==4,I=p==6,N=p==7,_=p==5||I;return function(M,L,k,U){for(var x=u(M),F=r(x),K=a(L,k),G=l(F),q=0,X=U||d,oe=h?X(M,G):g||N?X(M,0):void 0,Ee,Te;G>q;q++)if((_||q in F)&&(Ee=F[q],Te=K(Ee,q,x),p))if(h)oe[q]=Te;else if(Te)switch(p){case 3:return!0;case 5:return Ee;case 6:return q;case 2:f(oe,Ee)}else switch(p){case 4:return!1;case 7:f(oe,Ee)}return I?-1:y||S?S:oe}};c.exports={forEach:v(0),map:v(1),filter:v(2),some:v(3),every:v(4),find:v(5),findIndex:v(6),filterReject:v(7)}},55578:function(c,m,e){\"use strict\";var a=e(242);c.exports=function(o,r){var u=[][o];return!!u&&a(function(){u.call(null,r||function(){return 1},1)})}},31484:function(c,m,e){var a=e(21209),o=e(17311),r=e(84551),u=e(46831),l=TypeError,d=function(f){return function(v,p,h,g){a(p);var y=o(v),S=r(y),I=u(y),N=f?I-1:0,_=f?-1:1;if(h<2)for(;;){if(N in S){g=S[N],N+=_;break}if(N+=_,f?N<0:I<=N)throw l(\"Reduce of empty array with no initial value\")}for(;f?N>=0:I>N;N+=_)N in S&&(g=p(g,S[N],N,y));return g}};c.exports={left:d(!1),right:d(!0)}},32936:function(c,m,e){\"use strict\";var a=e(41737),o=e(53326),r=TypeError,u=Object.getOwnPropertyDescriptor,l=a&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],\"length\",{writable:!1}).length=1}catch(d){return d instanceof TypeError}}();c.exports=l?function(d,f){if(o(d)&&!u(d,\"length\").writable)throw r(\"Cannot set read only .length\");return d.length=f}:function(d,f){return d.length=f}},70582:function(c,m,e){var a=e(99928),o=e(46831),r=e(40053),u=Array,l=Math.max;c.exports=function(d,f,v){for(var p=o(d),h=a(f,p),g=a(v===void 0?p:v,p),y=u(l(g-h,0)),S=0;h<g;h++,S++)r(y,S,d[h]);return y.length=S,y}},70489:function(c,m,e){var a=e(42721);c.exports=a([].slice)},68310:function(c,m,e){var a=e(53326),o=e(3437),r=e(98822),u=e(9591),l=u(\"species\"),d=Array;c.exports=function(f){var v;return a(f)&&(v=f.constructor,o(v)&&(v===d||a(v.prototype))?v=void 0:r(v)&&(v=v[l],v===null&&(v=void 0))),v===void 0?d:v}},16005:function(c,m,e){var a=e(68310);c.exports=function(o,r){return new(a(o))(r===0?0:r)}},53584:function(c,m,e){var a=e(46831);c.exports=function(o,r){for(var u=a(o),l=new r(u),d=0;d<u;d++)l[d]=o[u-d-1];return l}},94763:function(c,m,e){\"use strict\";var a=e(42721),o=e(21209),r=e(64264),u=e(46831),l=e(17311),d=e(95722),f=e(79298),v=d.Map,p=d.has,h=d.set,g=a([].push);c.exports=function(S){var I=l(this),N=u(I),_=[],M=new v,L=r(S)?function(F){return F}:o(S),k,U,x;for(k=0;k<N;k++)U=I[k],x=L(U),p(M,x)||h(M,x,U);return f(M,function(F){g(_,F)}),_}},77634:function(c,m,e){var a=e(46831),o=e(76628),r=RangeError;c.exports=function(u,l,d,f){var v=a(u),p=o(d),h=p<0?v+p:p;if(h>=v||h<0)throw r(\"Incorrect index\");for(var g=new l(v),y=0;y<v;y++)g[y]=y===h?f:u[y];return g}},24758:function(c,m,e){\"use strict\";var a=e(61217),o=e(79722),r=e(14832),u=e(36329),l=e(82709),d=e(27956),f=e(44660),v=e(83033),p=e(84810),h=f(\"Promise\"),g=\"AsyncFromSyncIterator\",y=d.set,S=d.getterFor(g),I=function(_,M,L){var k=_.done;h.resolve(_.value).then(function(U){M(p(U,k))},L)},N=function(M){M.type=g,y(this,M)};N.prototype=l(r(v),{next:function(){var M=S(this);return new h(function(L,k){var U=o(a(M.next,M.iterator));I(U,L,k)})},return:function(){var _=S(this).iterator;return new h(function(M,L){var k=u(_,\"return\");if(k===void 0)return M(p(void 0,!0));var U=o(a(k,_));I(U,M,L)})}}),c.exports=N},19969:function(c,m,e){var a=e(61217),o=e(44660),r=e(36329);c.exports=function(u,l,d,f){try{var v=r(u,\"return\");if(v)return o(\"Promise\").resolve(a(v,u)).then(function(){l(d)},function(p){f(p)})}catch(p){return f(p)}l(d)}},87890:function(c,m,e){\"use strict\";var a=e(61217),o=e(62738),r=e(79722),u=e(14832),l=e(84446),d=e(82709),f=e(9591),v=e(27956),p=e(44660),h=e(36329),g=e(83033),y=e(84810),S=e(58530),I=p(\"Promise\"),N=f(\"toStringTag\"),_=\"AsyncIteratorHelper\",M=\"WrapForValidAsyncIterator\",L=v.set,k=function(F){var K=!F,G=v.getterFor(F?M:_),q=function(X){var oe=o(function(){return G(X)}),Ee=oe.error,Te=oe.value;return Ee||K&&Te.done?{exit:!0,value:Ee?I.reject(Te):I.resolve(y(void 0,!0))}:{exit:!1,value:Te}};return d(u(g),{next:function(){var oe=q(this),Ee=oe.value;if(oe.exit)return Ee;var Te=o(function(){return r(Ee.nextHandler(I))}),ae=Te.error,z=Te.value;return ae&&(Ee.done=!0),ae?I.reject(z):I.resolve(z)},return:function(){var X=q(this),oe=X.value;if(X.exit)return oe;oe.done=!0;var Ee=oe.iterator,Te,ae,z=o(function(){if(oe.inner)try{S(oe.inner.iterator,\"normal\")}catch(A){return S(Ee,\"throw\",A)}return h(Ee,\"return\")});return Te=ae=z.value,z.error?I.reject(ae):Te===void 0?I.resolve(y(void 0,!0)):(z=o(function(){return a(Te,Ee)}),ae=z.value,z.error?I.reject(ae):F?I.resolve(ae):I.resolve(ae).then(function(A){return r(A),y(void 0,!0)}))}})},U=k(!0),x=k(!1);l(x,N,\"Async Iterator Helper\"),c.exports=function(F,K){var G=function(X,oe){oe?(oe.iterator=X.iterator,oe.next=X.next):oe=X,oe.type=K?M:_,oe.nextHandler=F,oe.counter=0,oe.done=!1,L(this,oe)};return G.prototype=K?U:x,G}},94317:function(c,m,e){\"use strict\";var a=e(61217),o=e(14291),r=function(u,l){return[l,u]};c.exports=function(){return a(o,this,r)}},18142:function(c,m,e){\"use strict\";var a=e(61217),o=e(21209),r=e(79722),u=e(98822),l=e(3802),d=e(44660),f=e(44059),v=e(19969),p=function(h){var g=h==0,y=h==1,S=h==2,I=h==3;return function(N,_,M){var L=f(N),k=d(\"Promise\"),U=L.iterator,x=L.next,F=0,K=_!==void 0;return(K||!g)&&o(_),new k(function(G,q){var X=function(Ee){v(U,q,Ee,q)},oe=function(){try{if(K)try{l(F)}catch(Ee){X(Ee)}k.resolve(r(a(x,U))).then(function(Ee){try{if(r(Ee).done)g?(M.length=F,G(M)):G(I?!1:S||void 0);else{var Te=Ee.value;try{if(K){var ae=_(Te,F),z=function(A){if(y)oe();else if(S)A?oe():v(U,G,!1,q);else if(g)try{M[F++]=A,oe()}catch(T){X(T)}else A?v(U,G,I||Te,q):oe()};u(ae)?k.resolve(ae).then(z,X):z(ae)}else M[F++]=Te,oe()}catch(A){X(A)}}}catch(A){q(A)}},q)}catch(Ee){q(Ee)}};oe()})}};c.exports={toArray:p(0),forEach:p(1),every:p(2),some:p(3),find:p(4)}},14291:function(c,m,e){\"use strict\";var a=e(61217),o=e(21209),r=e(79722),u=e(98822),l=e(44059),d=e(87890),f=e(84810),v=e(19969),p=d(function(h){var g=this,y=g.iterator,S=g.mapper;return new h(function(I,N){var _=function(L){g.done=!0,N(L)},M=function(L){v(y,_,L,_)};h.resolve(r(a(g.next,y))).then(function(L){try{if(r(L).done)g.done=!0,I(f(void 0,!0));else{var k=L.value;try{var U=S(k,g.counter++),x=function(F){I(f(F,!1))};u(U)?h.resolve(U).then(x,M):x(U)}catch(F){M(F)}}}catch(F){_(F)}},_)})});c.exports=function(g){return new p(l(this),{mapper:o(g)})}},83033:function(c,m,e){var a=e(38521),o=e(26495),r=e(99476),u=e(14832),l=e(60533),d=e(75001),f=e(9591),v=e(62761),p=\"USE_FUNCTION_CONSTRUCTOR\",h=f(\"asyncIterator\"),g=a.AsyncIterator,y=o.AsyncIteratorPrototype,S,I;if(y)S=y;else if(r(g))S=g.prototype;else if(o[p]||a[p])try{I=l(l(l(Function(\"return async function*(){}()\")()))),l(I)===Object.prototype&&(S=I)}catch(N){}S?v&&(S=u(S)):S={},r(S[h])||d(S,h,function(){return this}),c.exports=S},25475:function(c,m,e){var a=e(61217),o=e(87890);c.exports=o(function(){return a(this.next,this.iterator)},!0)},76854:function(c,m,e){var a=e(79722),o=e(58530);c.exports=function(r,u,l,d){try{return d?u(a(l)[0],l[1]):u(l)}catch(f){o(r,\"throw\",f)}}},80121:function(c,m,e){var a=e(9591),o=a(\"iterator\"),r=!1;try{var u=0,l={next:function(){return{done:!!u++}},return:function(){r=!0}};l[o]=function(){return this},Array.from(l,function(){throw 2})}catch(d){}c.exports=function(d,f){if(!f&&!r)return!1;var v=!1;try{var p={};p[o]=function(){return{next:function(){return{done:v=!0}}}},d(p)}catch(h){}return v}},11995:function(c,m,e){var a=e(42721),o=a({}.toString),r=a(\"\".slice);c.exports=function(u){return r(o(u),8,-1)}},24518:function(c,m,e){var a=e(10303),o=e(99476),r=e(11995),u=e(9591),l=u(\"toStringTag\"),d=Object,f=r(function(){return arguments}())==\"Arguments\",v=function(p,h){try{return p[h]}catch(g){}};c.exports=a?r:function(p){var h,g,y;return p===void 0?\"Undefined\":p===null?\"Null\":typeof(g=v(h=d(p),l))==\"string\"?g:f?r(h):(y=r(h))==\"Object\"&&o(h.callee)?\"Arguments\":y}},30786:function(c,m,e){\"use strict\";var a=e(12992),o=e(61217),r=e(21209),u=e(94956),l=e(64264),d=e(10917),f=[].push;c.exports=function(p){var h=arguments.length,g=h>1?arguments[1]:void 0,y,S,I,N;return u(this),y=g!==void 0,y&&r(g),l(p)?new this:(S=[],y?(I=0,N=a(g,h>2?arguments[2]:void 0),d(p,function(_){o(f,S,N(_,I++))})):d(p,f,{that:S}),new this(S))}},73083:function(c,m,e){\"use strict\";var a=e(70489);c.exports=function(){return new this(a(arguments))}},46590:function(c,m,e){\"use strict\";var a=e(14832),o=e(73538),r=e(82709),u=e(12992),l=e(91372),d=e(64264),f=e(10917),v=e(36436),p=e(84810),h=e(32520),g=e(41737),y=e(30436).fastKey,S=e(27956),I=S.set,N=S.getterFor;c.exports={getConstructor:function(_,M,L,k){var U=_(function(q,X){l(q,x),I(q,{type:M,index:a(null),first:void 0,last:void 0,size:0}),g||(q.size=0),d(X)||f(X,q[k],{that:q,AS_ENTRIES:L})}),x=U.prototype,F=N(M),K=function(q,X,oe){var Ee=F(q),Te=G(q,X),ae,z;return Te?Te.value=oe:(Ee.last=Te={index:z=y(X,!0),key:X,value:oe,previous:ae=Ee.last,next:void 0,removed:!1},Ee.first||(Ee.first=Te),ae&&(ae.next=Te),g?Ee.size++:q.size++,z!==\"F\"&&(Ee.index[z]=Te)),q},G=function(q,X){var oe=F(q),Ee=y(X),Te;if(Ee!==\"F\")return oe.index[Ee];for(Te=oe.first;Te;Te=Te.next)if(Te.key==X)return Te};return r(x,{clear:function(){for(var X=this,oe=F(X),Ee=oe.index,Te=oe.first;Te;)Te.removed=!0,Te.previous&&(Te.previous=Te.previous.next=void 0),delete Ee[Te.index],Te=Te.next;oe.first=oe.last=void 0,g?oe.size=0:X.size=0},delete:function(q){var X=this,oe=F(X),Ee=G(X,q);if(Ee){var Te=Ee.next,ae=Ee.previous;delete oe.index[Ee.index],Ee.removed=!0,ae&&(ae.next=Te),Te&&(Te.previous=ae),oe.first==Ee&&(oe.first=Te),oe.last==Ee&&(oe.last=ae),g?oe.size--:X.size--}return!!Ee},forEach:function(X){for(var oe=F(this),Ee=u(X,arguments.length>1?arguments[1]:void 0),Te;Te=Te?Te.next:oe.first;)for(Ee(Te.value,Te.key,this);Te&&Te.removed;)Te=Te.previous},has:function(X){return!!G(this,X)}}),r(x,L?{get:function(X){var oe=G(this,X);return oe&&oe.value},set:function(X,oe){return K(this,X===0?0:X,oe)}}:{add:function(X){return K(this,X=X===0?0:X,X)}}),g&&o(x,\"size\",{configurable:!0,get:function(){return F(this).size}}),U},setStrong:function(_,M,L){var k=M+\" Iterator\",U=N(M),x=N(k);v(_,M,function(F,K){I(this,{type:k,target:F,state:U(F),kind:K,last:void 0})},function(){for(var F=x(this),K=F.kind,G=F.last;G&&G.removed;)G=G.previous;return!F.target||!(F.last=G=G?G.next:F.state.first)?(F.target=void 0,p(void 0,!0)):K==\"keys\"?p(G.key,!1):K==\"values\"?p(G.value,!1):p([G.key,G.value],!1)},L?\"entries\":\"values\",!L,!0),h(M)}}},72131:function(c,m,e){\"use strict\";var a=e(42721),o=e(82709),r=e(30436).getWeakData,u=e(91372),l=e(79722),d=e(64264),f=e(98822),v=e(10917),p=e(20111),h=e(67781),g=e(27956),y=g.set,S=g.getterFor,I=p.find,N=p.findIndex,_=a([].splice),M=0,L=function(x){return x.frozen||(x.frozen=new k)},k=function(){this.entries=[]},U=function(x,F){return I(x.entries,function(K){return K[0]===F})};k.prototype={get:function(x){var F=U(this,x);if(F)return F[1]},has:function(x){return!!U(this,x)},set:function(x,F){var K=U(this,x);K?K[1]=F:this.entries.push([x,F])},delete:function(x){var F=N(this.entries,function(K){return K[0]===x});return~F&&_(this.entries,F,1),!!~F}},c.exports={getConstructor:function(x,F,K,G){var q=x(function(Te,ae){u(Te,X),y(Te,{type:F,id:M++,frozen:void 0}),d(ae)||v(ae,Te[G],{that:Te,AS_ENTRIES:K})}),X=q.prototype,oe=S(F),Ee=function(Te,ae,z){var A=oe(Te),T=r(l(ae),!0);return T===!0?L(A).set(ae,z):T[A.id]=z,Te};return o(X,{delete:function(Te){var ae=oe(this);if(!f(Te))return!1;var z=r(Te);return z===!0?L(ae).delete(Te):z&&h(z,ae.id)&&delete z[ae.id]},has:function(ae){var z=oe(this);if(!f(ae))return!1;var A=r(ae);return A===!0?L(z).has(ae):A&&h(A,z.id)}}),o(X,K?{get:function(ae){var z=oe(this);if(f(ae)){var A=r(ae);return A===!0?L(z).get(ae):A?A[z.id]:void 0}},set:function(ae,z){return Ee(this,ae,z)}}:{add:function(ae){return Ee(this,ae,!0)}}),q}}},8651:function(c,m,e){\"use strict\";var a=e(79053),o=e(38521),r=e(42721),u=e(34180),l=e(75001),d=e(30436),f=e(10917),v=e(91372),p=e(99476),h=e(64264),g=e(98822),y=e(242),S=e(80121),I=e(81404),N=e(2707);c.exports=function(_,M,L){var k=_.indexOf(\"Map\")!==-1,U=_.indexOf(\"Weak\")!==-1,x=k?\"set\":\"add\",F=o[_],K=F&&F.prototype,G=F,q={},X=function(T){var R=r(K[T]);l(K,T,T==\"add\"?function(C){return R(this,C===0?0:C),this}:T==\"delete\"?function(j){return U&&!g(j)?!1:R(this,j===0?0:j)}:T==\"get\"?function(C){return U&&!g(C)?void 0:R(this,C===0?0:C)}:T==\"has\"?function(C){return U&&!g(C)?!1:R(this,C===0?0:C)}:function(C,B){return R(this,C===0?0:C,B),this})},oe=u(_,!p(F)||!(U||K.forEach&&!y(function(){new F().entries().next()})));if(oe)G=L.getConstructor(M,_,k,x),d.enable();else if(u(_,!0)){var Ee=new G,Te=Ee[x](U?{}:-0,1)!=Ee,ae=y(function(){Ee.has(1)}),z=S(function(T){new F(T)}),A=!U&&y(function(){for(var T=new F,R=5;R--;)T[x](R,R);return!T.has(-0)});z||(G=M(function(T,R){v(T,K);var j=N(new F,T,G);return h(R)||f(R,j[x],{that:j,AS_ENTRIES:k}),j}),G.prototype=K,K.constructor=G),(ae||A)&&(X(\"delete\"),X(\"has\"),k&&X(\"get\")),(A||Te)&&X(x),U&&K.clear&&delete K.clear}return q[_]=G,a({global:!0,constructor:!0,forced:G!=F},q),I(G,_),U||L.setStrong(G,_,k),G}},97810:function(c,m,e){e(28541),e(37684);var a=e(44660),o=e(14832),r=e(98822),u=Object,l=TypeError,d=a(\"Map\"),f=a(\"WeakMap\"),v=function(){this.object=null,this.symbol=null,this.primitives=null,this.objectsByIndex=o(null)};v.prototype.get=function(h,g){return this[h]||(this[h]=g())},v.prototype.next=function(h,g,y){var S=y?this.objectsByIndex[h]||(this.objectsByIndex[h]=new f):this.primitives||(this.primitives=new d),I=S.get(g);return I||S.set(g,I=new v),I};var p=new v;c.exports=function(){var h=p,g=arguments.length,y,S;for(y=0;y<g;y++)r(S=arguments[y])&&(h=h.next(y,S,!0));if(this===u&&h===p)throw l(\"Composite keys must contain a non-primitive component\");for(y=0;y<g;y++)r(S=arguments[y])||(h=h.next(y,S,!1));return h}},10315:function(c,m,e){var a=e(67781),o=e(42198),r=e(98999),u=e(62886);c.exports=function(l,d,f){for(var v=o(d),p=u.f,h=r.f,g=0;g<v.length;g++){var y=v[g];!a(l,y)&&!(f&&a(f,y))&&p(l,y,h(d,y))}}},44607:function(c,m,e){var a=e(242);c.exports=!a(function(){function o(){}return o.prototype.constructor=null,Object.getPrototypeOf(new o)!==o.prototype})},84810:function(c){c.exports=function(m,e){return{value:m,done:e}}},84446:function(c,m,e){var a=e(41737),o=e(62886),r=e(38382);c.exports=a?function(u,l,d){return o.f(u,l,r(1,d))}:function(u,l,d){return u[l]=d,u}},38382:function(c){c.exports=function(m,e){return{enumerable:!(m&1),configurable:!(m&2),writable:!(m&4),value:e}}},40053:function(c,m,e){\"use strict\";var a=e(82098),o=e(62886),r=e(38382);c.exports=function(u,l,d){var f=a(l);f in u?o.f(u,f,r(0,d)):u[f]=d}},73538:function(c,m,e){var a=e(71784),o=e(62886);c.exports=function(r,u,l){return l.get&&a(l.get,u,{getter:!0}),l.set&&a(l.set,u,{setter:!0}),o.f(r,u,l)}},75001:function(c,m,e){var a=e(99476),o=e(62886),r=e(71784),u=e(80542);c.exports=function(l,d,f,v){v||(v={});var p=v.enumerable,h=v.name!==void 0?v.name:d;if(a(f)&&r(f,h,v),v.global)p?l[d]=f:u(d,f);else{try{v.unsafe?l[d]&&(p=!0):delete l[d]}catch(g){}p?l[d]=f:o.f(l,d,{value:f,enumerable:!1,configurable:!v.nonConfigurable,writable:!v.nonWritable})}return l}},82709:function(c,m,e){var a=e(75001);c.exports=function(o,r,u){for(var l in r)a(o,l,r[l],u);return o}},80542:function(c,m,e){var a=e(38521),o=Object.defineProperty;c.exports=function(r,u){try{o(a,r,{value:u,configurable:!0,writable:!0})}catch(l){a[r]=u}return u}},41737:function(c,m,e){var a=e(242);c.exports=!a(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},49274:function(c){var m=typeof document==\"object\"&&document.all,e=typeof m==\"undefined\"&&m!==void 0;c.exports={all:m,IS_HTMLDDA:e}},50398:function(c,m,e){var a=e(38521),o=e(98822),r=a.document,u=o(r)&&o(r.createElement);c.exports=function(l){return u?r.createElement(l):{}}},3802:function(c){var m=TypeError,e=9007199254740991;c.exports=function(a){if(a>e)throw m(\"Maximum allowed index exceeded\");return a}},76168:function(c){c.exports={IndexSizeError:{s:\"INDEX_SIZE_ERR\",c:1,m:1},DOMStringSizeError:{s:\"DOMSTRING_SIZE_ERR\",c:2,m:0},HierarchyRequestError:{s:\"HIERARCHY_REQUEST_ERR\",c:3,m:1},WrongDocumentError:{s:\"WRONG_DOCUMENT_ERR\",c:4,m:1},InvalidCharacterError:{s:\"INVALID_CHARACTER_ERR\",c:5,m:1},NoDataAllowedError:{s:\"NO_DATA_ALLOWED_ERR\",c:6,m:0},NoModificationAllowedError:{s:\"NO_MODIFICATION_ALLOWED_ERR\",c:7,m:1},NotFoundError:{s:\"NOT_FOUND_ERR\",c:8,m:1},NotSupportedError:{s:\"NOT_SUPPORTED_ERR\",c:9,m:1},InUseAttributeError:{s:\"INUSE_ATTRIBUTE_ERR\",c:10,m:1},InvalidStateError:{s:\"INVALID_STATE_ERR\",c:11,m:1},SyntaxError:{s:\"SYNTAX_ERR\",c:12,m:1},InvalidModificationError:{s:\"INVALID_MODIFICATION_ERR\",c:13,m:1},NamespaceError:{s:\"NAMESPACE_ERR\",c:14,m:1},InvalidAccessError:{s:\"INVALID_ACCESS_ERR\",c:15,m:1},ValidationError:{s:\"VALIDATION_ERR\",c:16,m:0},TypeMismatchError:{s:\"TYPE_MISMATCH_ERR\",c:17,m:1},SecurityError:{s:\"SECURITY_ERR\",c:18,m:1},NetworkError:{s:\"NETWORK_ERR\",c:19,m:1},AbortError:{s:\"ABORT_ERR\",c:20,m:1},URLMismatchError:{s:\"URL_MISMATCH_ERR\",c:21,m:1},QuotaExceededError:{s:\"QUOTA_EXCEEDED_ERR\",c:22,m:1},TimeoutError:{s:\"TIMEOUT_ERR\",c:23,m:1},InvalidNodeTypeError:{s:\"INVALID_NODE_TYPE_ERR\",c:24,m:1},DataCloneError:{s:\"DATA_CLONE_ERR\",c:25,m:1}}},30756:function(c,m,e){var a=e(73677),o=e(35606);c.exports=!a&&!o&&typeof window==\"object\"&&typeof document==\"object\"},89369:function(c){c.exports=typeof Bun==\"function\"&&Bun&&typeof Bun.version==\"string\"},73677:function(c){c.exports=typeof Deno==\"object\"&&Deno&&typeof Deno.version==\"object\"},23126:function(c,m,e){var a=e(58158);c.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(a)},35606:function(c,m,e){var a=e(14224),o=e(11995);c.exports=typeof a!=\"undefined\"&&o(a)==\"process\"},58158:function(c){c.exports=typeof navigator!=\"undefined\"&&String(navigator.userAgent)||\"\"},59476:function(c,m,e){var a=e(38521),o=e(58158),r=a.process,u=a.Deno,l=r&&r.versions||u&&u.version,d=l&&l.v8,f,v;d&&(f=d.split(\".\"),v=f[0]>0&&f[0]<4?1:+(f[0]+f[1])),!v&&o&&(f=o.match(/Edge\\/(\\d+)/),(!f||f[1]>=74)&&(f=o.match(/Chrome\\/(\\d+)/),f&&(v=+f[1]))),c.exports=v},59439:function(c,m,e){var a=e(38521);c.exports=function(o){return a[o].prototype}},91222:function(c){c.exports=[\"constructor\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIsEnumerable\",\"toLocaleString\",\"toString\",\"valueOf\"]},63354:function(c,m,e){var a=e(42721),o=Error,r=a(\"\".replace),u=function(f){return String(o(f).stack)}(\"zxcasd\"),l=/\\n\\s*at [^:]*:[^\\n]*/,d=l.test(u);c.exports=function(f,v){if(d&&typeof f==\"string\"&&!o.prepareStackTrace)for(;v--;)f=r(f,l,\"\");return f}},38247:function(c,m,e){var a=e(84446),o=e(63354),r=e(89121),u=Error.captureStackTrace;c.exports=function(l,d,f,v){r&&(u?u(l,d):a(l,\"stack\",o(f,v)))}},89121:function(c,m,e){var a=e(242),o=e(38382);c.exports=!a(function(){var r=Error(\"a\");return\"stack\"in r?(Object.defineProperty(r,\"stack\",o(1,7)),r.stack!==7):!0})},79053:function(c,m,e){var a=e(38521),o=e(98999).f,r=e(84446),u=e(75001),l=e(80542),d=e(10315),f=e(34180);c.exports=function(v,p){var h=v.target,g=v.global,y=v.stat,S,I,N,_,M,L;if(g?I=a:y?I=a[h]||l(h,{}):I=(a[h]||{}).prototype,I)for(N in p){if(M=p[N],v.dontCallGetSet?(L=o(I,N),_=L&&L.value):_=I[N],S=f(g?N:h+(y?\".\":\"#\")+N,v.forced),!S&&_!==void 0){if(typeof M==typeof _)continue;d(M,_)}(v.sham||_&&_.sham)&&r(M,\"sham\",!0),u(I,N,M,v)}}},242:function(c){c.exports=function(m){try{return!!m()}catch(e){return!0}}},98170:function(c,m,e){var a=e(242);c.exports=!a(function(){return Object.isExtensible(Object.preventExtensions({}))})},9266:function(c,m,e){var a=e(62768),o=Function.prototype,r=o.apply,u=o.call;c.exports=typeof Reflect==\"object\"&&Reflect.apply||(a?u.bind(r):function(){return u.apply(r,arguments)})},12992:function(c,m,e){var a=e(66474),o=e(21209),r=e(62768),u=a(a.bind);c.exports=function(l,d){return o(l),d===void 0?l:r?u(l,d):function(){return l.apply(d,arguments)}}},62768:function(c,m,e){var a=e(242);c.exports=!a(function(){var o=function(){}.bind();return typeof o!=\"function\"||o.hasOwnProperty(\"prototype\")})},61217:function(c,m,e){var a=e(62768),o=Function.prototype.call;c.exports=a?o.bind(o):function(){return o.apply(o,arguments)}},51857:function(c,m,e){\"use strict\";var a=e(42721),o=e(21209);c.exports=function(){return a(o(this))}},5114:function(c,m,e){var a=e(41737),o=e(67781),r=Function.prototype,u=a&&Object.getOwnPropertyDescriptor,l=o(r,\"name\"),d=l&&function(){}.name===\"something\",f=l&&(!a||a&&u(r,\"name\").configurable);c.exports={EXISTS:l,PROPER:d,CONFIGURABLE:f}},29472:function(c,m,e){var a=e(42721),o=e(21209);c.exports=function(r,u,l){try{return a(o(Object.getOwnPropertyDescriptor(r,u)[l]))}catch(d){}}},66474:function(c,m,e){var a=e(11995),o=e(42721);c.exports=function(r){if(a(r)===\"Function\")return o(r)}},42721:function(c,m,e){var a=e(62768),o=Function.prototype,r=o.call,u=a&&o.bind.bind(r,r);c.exports=a?u:function(l){return function(){return r.apply(l,arguments)}}},43517:function(c,m,e){var a=e(61217),o=e(99476),r=e(79722),u=e(44059),l=e(62666),d=e(36329),f=e(9591),v=e(24758),p=f(\"asyncIterator\");c.exports=function(g){var y=r(g),S=!0,I=d(y,p),N;return o(I)||(I=l(y),S=!1),o(I)?N=a(I,y):(N=y,S=!0),r(N),u(S?N:new v(u(N)))}},56275:function(c,m,e){var a=e(61217),o=e(24758),r=e(79722),u=e(48429),l=e(44059),d=e(36329),f=e(9591),v=f(\"asyncIterator\");c.exports=function(p,h){var g=arguments.length<2?d(p,v):h;return g?r(a(g,p)):new o(l(u(p)))}},44660:function(c,m,e){var a=e(38521),o=e(99476),r=function(u){return o(u)?u:void 0};c.exports=function(u,l){return arguments.length<2?r(a[u]):a[u]&&a[u][l]}},44059:function(c,m,e){var a=e(21209),o=e(79722);c.exports=function(r){return{iterator:r,next:a(o(r).next)}}},44880:function(c,m,e){var a=e(61217),o=e(99476),r=e(79722),u=e(44059),l=e(62666);c.exports=function(d){var f=r(d),v=l(f);return u(r(o(v)?a(v,f):f))}},62666:function(c,m,e){var a=e(24518),o=e(36329),r=e(64264),u=e(76939),l=e(9591),d=l(\"iterator\");c.exports=function(f){if(!r(f))return o(f,d)||o(f,\"@@iterator\")||u[a(f)]}},48429:function(c,m,e){var a=e(61217),o=e(21209),r=e(79722),u=e(82424),l=e(62666),d=TypeError;c.exports=function(f,v){var p=arguments.length<2?l(f):v;if(o(p))return r(a(p,f));throw d(u(f)+\" is not iterable\")}},36329:function(c,m,e){var a=e(21209),o=e(64264);c.exports=function(r,u){var l=r[u];return o(l)?void 0:a(l)}},53487:function(c,m,e){var a=e(21209),o=e(79722),r=e(61217),u=e(76628),l=TypeError,d=Math.max,f=function(v,p,h,g){this.set=v,this.size=p,this.has=h,this.keys=g};f.prototype={getIterator:function(){return o(r(this.keys,this.set))},includes:function(v){return r(this.has,this.set,v)}},c.exports=function(v){o(v);var p=+v.size;if(p!=p)throw l(\"Invalid size\");return new f(v,d(u(p),0),a(v.has),a(v.keys))}},14604:function(c,m,e){var a=e(42721),o=e(17311),r=Math.floor,u=a(\"\".charAt),l=a(\"\".replace),d=a(\"\".slice),f=/\\$([$&'`]|\\d{1,2}|<[^>]*>)/g,v=/\\$([$&'`]|\\d{1,2})/g;c.exports=function(p,h,g,y,S,I){var N=g+p.length,_=y.length,M=v;return S!==void 0&&(S=o(S),M=f),l(I,M,function(L,k){var U;switch(u(k,0)){case\"$\":return\"$\";case\"&\":return p;case\"`\":return d(h,0,g);case\"'\":return d(h,N);case\"<\":U=S[d(k,1,-1)];break;default:var x=+k;if(x===0)return L;if(x>_){var F=r(x/10);return F===0?L:F<=_?y[F-1]===void 0?u(k,1):y[F-1]+u(k,1):L}U=y[x-1]}return U===void 0?\"\":U})}},38521:function(c,m,e){var a=function(o){return o&&o.Math==Math&&o};c.exports=a(typeof globalThis==\"object\"&&globalThis)||a(typeof window==\"object\"&&window)||a(typeof self==\"object\"&&self)||a(typeof e.g==\"object\"&&e.g)||function(){return this}()||Function(\"return this\")()},67781:function(c,m,e){var a=e(42721),o=e(17311),r=a({}.hasOwnProperty);c.exports=Object.hasOwn||function(l,d){return r(o(l),d)}},86743:function(c){c.exports={}},30129:function(c){c.exports=function(m,e){try{arguments.length==1?console.error(m):console.error(m,e)}catch(a){}}},2e3:function(c,m,e){var a=e(44660);c.exports=a(\"document\",\"documentElement\")},4707:function(c,m,e){var a=e(41737),o=e(242),r=e(50398);c.exports=!a&&!o(function(){return Object.defineProperty(r(\"div\"),\"a\",{get:function(){return 7}}).a!=7})},84551:function(c,m,e){var a=e(42721),o=e(242),r=e(11995),u=Object,l=a(\"\".split);c.exports=o(function(){return!u(\"z\").propertyIsEnumerable(0)})?function(d){return r(d)==\"String\"?l(d,\"\"):u(d)}:u},2707:function(c,m,e){var a=e(99476),o=e(98822),r=e(89555);c.exports=function(u,l,d){var f,v;return r&&a(f=l.constructor)&&f!==d&&o(v=f.prototype)&&v!==d.prototype&&r(u,v),u}},8777:function(c,m,e){var a=e(42721),o=e(99476),r=e(26495),u=a(Function.toString);o(r.inspectSource)||(r.inspectSource=function(l){return u(l)}),c.exports=r.inspectSource},28143:function(c,m,e){var a=e(98822),o=e(84446);c.exports=function(r,u){a(u)&&\"cause\"in u&&o(r,\"cause\",u.cause)}},30436:function(c,m,e){var a=e(79053),o=e(42721),r=e(86743),u=e(98822),l=e(67781),d=e(62886).f,f=e(1230),v=e(44247),p=e(49877),h=e(50216),g=e(98170),y=!1,S=h(\"meta\"),I=0,N=function(x){d(x,S,{value:{objectID:\"O\"+I++,weakData:{}}})},_=function(x,F){if(!u(x))return typeof x==\"symbol\"?x:(typeof x==\"string\"?\"S\":\"P\")+x;if(!l(x,S)){if(!p(x))return\"F\";if(!F)return\"E\";N(x)}return x[S].objectID},M=function(x,F){if(!l(x,S)){if(!p(x))return!0;if(!F)return!1;N(x)}return x[S].weakData},L=function(x){return g&&y&&p(x)&&!l(x,S)&&N(x),x},k=function(){U.enable=function(){},y=!0;var x=f.f,F=o([].splice),K={};K[S]=1,x(K).length&&(f.f=function(G){for(var q=x(G),X=0,oe=q.length;X<oe;X++)if(q[X]===S){F(q,X,1);break}return q},a({target:\"Object\",stat:!0,forced:!0},{getOwnPropertyNames:v.f}))},U=c.exports={enable:k,fastKey:_,getWeakData:M,onFreeze:L};r[S]=!0},27956:function(c,m,e){var a=e(58730),o=e(38521),r=e(98822),u=e(84446),l=e(67781),d=e(26495),f=e(97469),v=e(86743),p=\"Object already initialized\",h=o.TypeError,g=o.WeakMap,y,S,I,N=function(k){return I(k)?S(k):y(k,{})},_=function(k){return function(U){var x;if(!r(U)||(x=S(U)).type!==k)throw h(\"Incompatible receiver, \"+k+\" required\");return x}};if(a||d.state){var M=d.state||(d.state=new g);M.get=M.get,M.has=M.has,M.set=M.set,y=function(k,U){if(M.has(k))throw h(p);return U.facade=k,M.set(k,U),U},S=function(k){return M.get(k)||{}},I=function(k){return M.has(k)}}else{var L=f(\"state\");v[L]=!0,y=function(k,U){if(l(k,L))throw h(p);return U.facade=k,u(k,L,U),U},S=function(k){return l(k,L)?k[L]:{}},I=function(k){return l(k,L)}}c.exports={set:y,get:S,has:I,enforce:N,getterFor:_}},83937:function(c,m,e){var a=e(9591),o=e(76939),r=a(\"iterator\"),u=Array.prototype;c.exports=function(l){return l!==void 0&&(o.Array===l||u[r]===l)}},53326:function(c,m,e){var a=e(11995);c.exports=Array.isArray||function(r){return a(r)==\"Array\"}},66103:function(c,m,e){var a=e(24518);c.exports=function(o){var r=a(o);return r==\"BigInt64Array\"||r==\"BigUint64Array\"}},99476:function(c,m,e){var a=e(49274),o=a.all;c.exports=a.IS_HTMLDDA?function(r){return typeof r==\"function\"||r===o}:function(r){return typeof r==\"function\"}},3437:function(c,m,e){var a=e(42721),o=e(242),r=e(99476),u=e(24518),l=e(44660),d=e(8777),f=function(){},v=[],p=l(\"Reflect\",\"construct\"),h=/^\\s*(?:class|function)\\b/,g=a(h.exec),y=!h.exec(f),S=function(_){if(!r(_))return!1;try{return p(f,v,_),!0}catch(M){return!1}},I=function(_){if(!r(_))return!1;switch(u(_)){case\"AsyncFunction\":case\"GeneratorFunction\":case\"AsyncGeneratorFunction\":return!1}try{return y||!!g(h,d(_))}catch(M){return!0}};I.sham=!0,c.exports=!p||o(function(){var N;return S(S.call)||!S(Object)||!S(function(){N=!0})||N})?I:S},34180:function(c,m,e){var a=e(242),o=e(99476),r=/#|\\.prototype\\./,u=function(p,h){var g=d[l(p)];return g==v?!0:g==f?!1:o(h)?a(h):!!h},l=u.normalize=function(p){return String(p).replace(r,\".\").toLowerCase()},d=u.data={},f=u.NATIVE=\"N\",v=u.POLYFILL=\"P\";c.exports=u},76669:function(c,m,e){var a=e(24518),o=e(67781),r=e(64264),u=e(9591),l=e(76939),d=u(\"iterator\"),f=Object;c.exports=function(v){if(r(v))return!1;var p=f(v);return p[d]!==void 0||\"@@iterator\"in p||o(l,a(p))}},64264:function(c){c.exports=function(m){return m==null}},98822:function(c,m,e){var a=e(99476),o=e(49274),r=o.all;c.exports=o.IS_HTMLDDA?function(u){return typeof u==\"object\"?u!==null:a(u)||u===r}:function(u){return typeof u==\"object\"?u!==null:a(u)}},62761:function(c){c.exports=!1},98938:function(c,m,e){var a=e(98822),o=e(11995),r=e(9591),u=r(\"match\");c.exports=function(l){var d;return a(l)&&((d=l[u])!==void 0?!!d:o(l)==\"RegExp\")}},74206:function(c,m,e){var a=e(44660),o=e(99476),r=e(36915),u=e(65190),l=Object;c.exports=u?function(d){return typeof d==\"symbol\"}:function(d){var f=a(\"Symbol\");return o(f)&&r(f.prototype,l(d))}},15758:function(c,m,e){var a=e(61217);c.exports=function(o,r,u){for(var l=u||o.next,d,f;!(d=a(l,o)).done;)if(f=r(d.value),f!==void 0)return f}},10917:function(c,m,e){var a=e(12992),o=e(61217),r=e(79722),u=e(82424),l=e(83937),d=e(46831),f=e(36915),v=e(48429),p=e(62666),h=e(58530),g=TypeError,y=function(I,N){this.stopped=I,this.result=N},S=y.prototype;c.exports=function(I,N,_){var M=_&&_.that,L=!!(_&&_.AS_ENTRIES),k=!!(_&&_.IS_RECORD),U=!!(_&&_.IS_ITERATOR),x=!!(_&&_.INTERRUPTED),F=a(N,M),K,G,q,X,oe,Ee,Te,ae=function(A){return K&&h(K,\"normal\",A),new y(!0,A)},z=function(A){return L?(r(A),x?F(A[0],A[1],ae):F(A[0],A[1])):x?F(A,ae):F(A)};if(k)K=I.iterator;else if(U)K=I;else{if(G=p(I),!G)throw g(u(I)+\" is not iterable\");if(l(G)){for(q=0,X=d(I);X>q;q++)if(oe=z(I[q]),oe&&f(S,oe))return oe;return new y(!1)}K=v(I,G)}for(Ee=k?I.next:K.next;!(Te=o(Ee,K)).done;){try{oe=z(Te.value)}catch(A){h(K,\"throw\",A)}if(typeof oe==\"object\"&&oe&&f(S,oe))return oe}return new y(!1)}},58530:function(c,m,e){var a=e(61217),o=e(79722),r=e(36329);c.exports=function(u,l,d){var f,v;o(u);try{if(f=r(u,\"return\"),!f){if(l===\"throw\")throw d;return d}f=a(f,u)}catch(p){v=!0,f=p}if(l===\"throw\")throw d;if(v)throw f;return o(f),d}},12021:function(c,m,e){\"use strict\";var a=e(64462).IteratorPrototype,o=e(14832),r=e(38382),u=e(81404),l=e(76939),d=function(){return this};c.exports=function(f,v,p,h){var g=v+\" Iterator\";return f.prototype=o(a,{next:r(+!h,p)}),u(f,g,!1,!0),l[g]=d,f}},53192:function(c,m,e){\"use strict\";var a=e(61217),o=e(14832),r=e(84446),u=e(82709),l=e(9591),d=e(27956),f=e(36329),v=e(64462).IteratorPrototype,p=e(84810),h=e(58530),g=l(\"toStringTag\"),y=\"IteratorHelper\",S=\"WrapForValidIterator\",I=d.set,N=function(L){var k=d.getterFor(L?S:y);return u(o(v),{next:function(){var x=k(this);if(L)return x.nextHandler();try{var F=x.done?void 0:x.nextHandler();return p(F,x.done)}catch(K){throw x.done=!0,K}},return:function(){var U=k(this),x=U.iterator;if(U.done=!0,L){var F=f(x,\"return\");return F?a(F,x):p(void 0,!0)}if(U.inner)try{h(U.inner.iterator,\"normal\")}catch(K){return h(x,\"throw\",K)}return h(x,\"normal\"),p(void 0,!0)}})},_=N(!0),M=N(!1);r(M,g,\"Iterator Helper\"),c.exports=function(L,k){var U=function(F,K){K?(K.iterator=F.iterator,K.next=F.next):K=F,K.type=k?S:y,K.nextHandler=L,K.counter=0,K.done=!1,I(this,K)};return U.prototype=k?_:M,U}},36436:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(62761),u=e(5114),l=e(99476),d=e(12021),f=e(60533),v=e(89555),p=e(81404),h=e(84446),g=e(75001),y=e(9591),S=e(76939),I=e(64462),N=u.PROPER,_=u.CONFIGURABLE,M=I.IteratorPrototype,L=I.BUGGY_SAFARI_ITERATORS,k=y(\"iterator\"),U=\"keys\",x=\"values\",F=\"entries\",K=function(){return this};c.exports=function(G,q,X,oe,Ee,Te,ae){d(X,q,oe);var z=function(ce){if(ce===Ee&&C)return C;if(!L&&ce in R)return R[ce];switch(ce){case U:return function(){return new X(this,ce)};case x:return function(){return new X(this,ce)};case F:return function(){return new X(this,ce)}}return function(){return new X(this)}},A=q+\" Iterator\",T=!1,R=G.prototype,j=R[k]||R[\"@@iterator\"]||Ee&&R[Ee],C=!L&&j||z(Ee),B=q==\"Array\"&&R.entries||j,fe,Ae,ge;if(B&&(fe=f(B.call(new G)),fe!==Object.prototype&&fe.next&&(!r&&f(fe)!==M&&(v?v(fe,M):l(fe[k])||g(fe,k,K)),p(fe,A,!0,!0),r&&(S[A]=K))),N&&Ee==x&&j&&j.name!==x&&(!r&&_?h(R,\"name\",x):(T=!0,C=function(){return o(j,this)})),Ee)if(Ae={values:z(x),keys:Te?C:z(U),entries:z(F)},ae)for(ge in Ae)(L||T||!(ge in R))&&g(R,ge,Ae[ge]);else a({target:q,proto:!0,forced:L||T},Ae);return(!r||ae)&&R[k]!==C&&g(R,k,C,{name:Ee}),S[q]=C,Ae}},71267:function(c,m,e){\"use strict\";var a=e(61217),o=e(32578),r=function(u,l){return[l,u]};c.exports=function(){return a(o,this,r)}},32578:function(c,m,e){\"use strict\";var a=e(61217),o=e(21209),r=e(79722),u=e(44059),l=e(53192),d=e(76854),f=l(function(){var v=this.iterator,p=r(a(this.next,v)),h=this.done=!!p.done;if(!h)return d(v,this.mapper,[p.value,this.counter++],!0)});c.exports=function(p){return new f(u(this),{mapper:o(p)})}},64462:function(c,m,e){\"use strict\";var a=e(242),o=e(99476),r=e(98822),u=e(14832),l=e(60533),d=e(75001),f=e(9591),v=e(62761),p=f(\"iterator\"),h=!1,g,y,S;[].keys&&(S=[].keys(),\"next\"in S?(y=l(l(S)),y!==Object.prototype&&(g=y)):h=!0);var I=!r(g)||a(function(){var N={};return g[p].call(N)!==N});I?g={}:v&&(g=u(g)),o(g[p])||d(g,p,function(){return this}),c.exports={IteratorPrototype:g,BUGGY_SAFARI_ITERATORS:h}},76939:function(c){c.exports={}},46831:function(c,m,e){var a=e(59030);c.exports=function(o){return a(o.length)}},71784:function(c,m,e){var a=e(42721),o=e(242),r=e(99476),u=e(67781),l=e(41737),d=e(5114).CONFIGURABLE,f=e(8777),v=e(27956),p=v.enforce,h=v.get,g=String,y=Object.defineProperty,S=a(\"\".slice),I=a(\"\".replace),N=a([].join),_=l&&!o(function(){return y(function(){},\"length\",{value:8}).length!==8}),M=String(String).split(\"String\"),L=c.exports=function(k,U,x){S(g(U),0,7)===\"Symbol(\"&&(U=\"[\"+I(g(U),/^Symbol\\(([^)]*)\\)/,\"$1\")+\"]\"),x&&x.getter&&(U=\"get \"+U),x&&x.setter&&(U=\"set \"+U),(!u(k,\"name\")||d&&k.name!==U)&&(l?y(k,\"name\",{value:U,configurable:!0}):k.name=U),_&&x&&u(x,\"arity\")&&k.length!==x.arity&&y(k,\"length\",{value:x.arity});try{x&&u(x,\"constructor\")&&x.constructor?l&&y(k,\"prototype\",{writable:!1}):k.prototype&&(k.prototype=void 0)}catch(K){}var F=p(k);return u(F,\"source\")||(F.source=N(M,typeof U==\"string\"?U:\"\")),k};Function.prototype.toString=L(function(){return r(this)&&h(this).source||f(this)},\"toString\")},95722:function(c,m,e){var a=e(42721),o=Map.prototype;c.exports={Map,set:a(o.set),get:a(o.get),has:a(o.has),remove:a(o.delete),proto:o}},79298:function(c,m,e){var a=e(42721),o=e(15758),r=e(95722),u=r.Map,l=r.proto,d=a(l.forEach),f=a(l.entries),v=f(new u).next;c.exports=function(p,h,g){return g?o(f(p),function(y){return h(y[1],y[0])},v):d(p,h)}},61977:function(c,m,e){\"use strict\";var a=e(61217),o=e(21209),r=e(99476),u=e(79722),l=TypeError;c.exports=function(f,v){var p=u(this),h=o(p.get),g=o(p.has),y=o(p.set),S=arguments.length>2?arguments[2]:void 0,I;if(!r(v)&&!r(S))throw l(\"At least one callback required\");return a(g,p,f)?(I=a(h,p,f),r(v)&&(I=v(I),a(y,p,f,I))):r(S)&&(I=S(),a(y,p,f,I)),I}},76420:function(c,m,e){var a=e(14484),o=Math.abs,r=Math.pow,u=r(2,-52),l=r(2,-23),d=r(2,127)*(2-l),f=r(2,-126),v=function(p){return p+1/u-1/u};c.exports=Math.fround||function(h){var g=+h,y=o(g),S=a(g),I,N;return y<f?S*v(y/f/l)*f*l:(I=(1+l/u)*y,N=I-(I-y),N>d||N!=N?S*(1/0):S*N)}},40652:function(c){c.exports=Math.scale||function(e,a,o,r,u){var l=+e,d=+a,f=+o,v=+r,p=+u;return l!=l||d!=d||f!=f||v!=v||p!=p?NaN:l===1/0||l===-1/0?l:(l-d)*(p-v)/(f-d)+v}},14484:function(c){c.exports=Math.sign||function(e){var a=+e;return a==0||a!=a?a:a<0?-1:1}},77376:function(c){var m=Math.ceil,e=Math.floor;c.exports=Math.trunc||function(o){var r=+o;return(r>0?e:m)(r)}},75517:function(c,m,e){\"use strict\";var a=e(21209),o=TypeError,r=function(u){var l,d;this.promise=new u(function(f,v){if(l!==void 0||d!==void 0)throw o(\"Bad Promise constructor\");l=f,d=v}),this.resolve=a(l),this.reject=a(d)};c.exports.f=function(u){return new r(u)}},48436:function(c,m,e){var a=e(17664);c.exports=function(o,r){return o===void 0?arguments.length<2?\"\":r:a(o)}},28144:function(c){var m=RangeError;c.exports=function(e){if(e===e)return e;throw m(\"NaN is not allowed\")}},73781:function(c,m,e){var a=e(38521),o=a.isFinite;c.exports=Number.isFinite||function(u){return typeof u==\"number\"&&o(u)}},22592:function(c,m,e){var a=e(38521),o=e(242),r=e(42721),u=e(17664),l=e(49463).trim,d=e(45460),f=a.parseInt,v=a.Symbol,p=v&&v.iterator,h=/^[+-]?0x/i,g=r(h.exec),y=f(d+\"08\")!==8||f(d+\"0x16\")!==22||p&&!o(function(){f(Object(p))});c.exports=y?function(I,N){var _=l(u(I));return f(_,N>>>0||(g(h,_)?16:10))}:f},15827:function(c,m,e){\"use strict\";var a=e(27956),o=e(12021),r=e(84810),u=e(64264),l=e(98822),d=e(35126).f,f=e(41737),v=\"Incorrect Iterator.range arguments\",p=\"NumericRangeIterator\",h=a.set,g=a.getterFor(p),y=RangeError,S=TypeError,I=o(function(M,L,k,U,x,F){if(typeof M!=U||L!==1/0&&L!==-1/0&&typeof L!=U)throw S(v);if(M===1/0||M===-1/0)throw y(v);var K=L>M,G=!1,q;if(k===void 0)q=void 0;else if(l(k))q=k.step,G=!!k.inclusive;else if(typeof k==U)q=k;else throw S(v);if(u(q)&&(q=K?F:-F),typeof q!=U)throw S(v);if(q===1/0||q===-1/0||q===x&&M!==L)throw y(v);var X=M!=M||L!=L||q!=q||L>M!=q>x;h(this,{type:p,start:M,end:L,step:q,inclusiveEnd:G,hitsEnd:X,currentCount:x,zero:x}),f||(this.start=M,this.end=L,this.step=q,this.inclusive=G)},p,function(){var M=g(this);if(M.hitsEnd)return r(void 0,!0);var L=M.start,k=M.end,U=M.step,x=L+U*M.currentCount++;x===k&&(M.hitsEnd=!0);var F=M.inclusiveEnd,K;return k>L?K=F?x>k:x>=k:K=F?k>x:k>=x,K?(M.hitsEnd=!0,r(void 0,!0)):r(x,!1)}),N=function(_){return{get:_,set:function(){},configurable:!0,enumerable:!1}};f&&d(I.prototype,{start:N(function(){return g(this).start}),end:N(function(){return g(this).end}),inclusive:N(function(){return g(this).inclusiveEnd}),step:N(function(){return g(this).step})}),c.exports=I},14832:function(c,m,e){var a=e(79722),o=e(35126),r=e(91222),u=e(86743),l=e(2e3),d=e(50398),f=e(97469),v=\">\",p=\"<\",h=\"prototype\",g=\"script\",y=f(\"IE_PROTO\"),S=function(){},I=function(k){return p+g+v+k+p+\"/\"+g+v},N=function(k){k.write(I(\"\")),k.close();var U=k.parentWindow.Object;return k=null,U},_=function(){var k=d(\"iframe\"),U=\"java\"+g+\":\",x;return k.style.display=\"none\",l.appendChild(k),k.src=String(U),x=k.contentWindow.document,x.open(),x.write(I(\"document.F=Object\")),x.close(),x.F},M,L=function(){try{M=new ActiveXObject(\"htmlfile\")}catch(U){}L=typeof document!=\"undefined\"?document.domain&&M?N(M):_():N(M);for(var k=r.length;k--;)delete L[h][r[k]];return L()};u[y]=!0,c.exports=Object.create||function(U,x){var F;return U!==null?(S[h]=a(U),F=new S,S[h]=null,F[y]=U):F=L(),x===void 0?F:o.f(F,x)}},35126:function(c,m,e){var a=e(41737),o=e(20154),r=e(62886),u=e(79722),l=e(88378),d=e(40809);m.f=a&&!o?Object.defineProperties:function(v,p){u(v);for(var h=l(p),g=d(p),y=g.length,S=0,I;y>S;)r.f(v,I=g[S++],h[I]);return v}},62886:function(c,m,e){var a=e(41737),o=e(4707),r=e(20154),u=e(79722),l=e(82098),d=TypeError,f=Object.defineProperty,v=Object.getOwnPropertyDescriptor,p=\"enumerable\",h=\"configurable\",g=\"writable\";m.f=a?r?function(S,I,N){if(u(S),I=l(I),u(N),typeof S==\"function\"&&I===\"prototype\"&&\"value\"in N&&g in N&&!N[g]){var _=v(S,I);_&&_[g]&&(S[I]=N.value,N={configurable:h in N?N[h]:_[h],enumerable:p in N?N[p]:_[p],writable:!1})}return f(S,I,N)}:f:function(S,I,N){if(u(S),I=l(I),u(N),o)try{return f(S,I,N)}catch(_){}if(\"get\"in N||\"set\"in N)throw d(\"Accessors not supported\");return\"value\"in N&&(S[I]=N.value),S}},98999:function(c,m,e){var a=e(41737),o=e(61217),r=e(91197),u=e(38382),l=e(88378),d=e(82098),f=e(67781),v=e(4707),p=Object.getOwnPropertyDescriptor;m.f=a?p:function(g,y){if(g=l(g),y=d(y),v)try{return p(g,y)}catch(S){}if(f(g,y))return u(!o(r.f,g,y),g[y])}},44247:function(c,m,e){var a=e(11995),o=e(88378),r=e(1230).f,u=e(70582),l=typeof window==\"object\"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],d=function(f){try{return r(f)}catch(v){return u(l)}};c.exports.f=function(v){return l&&a(v)==\"Window\"?d(v):r(o(v))}},1230:function(c,m,e){var a=e(88543),o=e(91222),r=o.concat(\"length\",\"prototype\");m.f=Object.getOwnPropertyNames||function(l){return a(l,r)}},22336:function(c,m){m.f=Object.getOwnPropertySymbols},60533:function(c,m,e){var a=e(67781),o=e(99476),r=e(17311),u=e(97469),l=e(44607),d=u(\"IE_PROTO\"),f=Object,v=f.prototype;c.exports=l?f.getPrototypeOf:function(p){var h=r(p);if(a(h,d))return h[d];var g=h.constructor;return o(g)&&h instanceof g?g.prototype:h instanceof f?v:null}},49877:function(c,m,e){var a=e(242),o=e(98822),r=e(11995),u=e(66129),l=Object.isExtensible,d=a(function(){l(1)});c.exports=d||u?function(v){return!o(v)||u&&r(v)==\"ArrayBuffer\"?!1:l?l(v):!0}:l},36915:function(c,m,e){var a=e(42721);c.exports=a({}.isPrototypeOf)},23891:function(c,m,e){\"use strict\";var a=e(27956),o=e(12021),r=e(84810),u=e(67781),l=e(40809),d=e(17311),f=\"Object Iterator\",v=a.set,p=a.getterFor(f);c.exports=o(function(g,y){var S=d(g);v(this,{type:f,mode:y,object:S,keys:l(S),index:0})},\"Object\",function(){for(var g=p(this),y=g.keys;;){if(y===null||g.index>=y.length)return g.object=g.keys=null,r(void 0,!0);var S=y[g.index++],I=g.object;if(u(I,S)){switch(g.mode){case\"keys\":return r(S,!1);case\"values\":return r(I[S],!1)}return r([S,I[S]],!1)}}})},88543:function(c,m,e){var a=e(42721),o=e(67781),r=e(88378),u=e(31851).indexOf,l=e(86743),d=a([].push);c.exports=function(f,v){var p=r(f),h=0,g=[],y;for(y in p)!o(l,y)&&o(p,y)&&d(g,y);for(;v.length>h;)o(p,y=v[h++])&&(~u(g,y)||d(g,y));return g}},40809:function(c,m,e){var a=e(88543),o=e(91222);c.exports=Object.keys||function(u){return a(u,o)}},91197:function(c,m){\"use strict\";var e={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,o=a&&!e.call({1:2},1);m.f=o?function(u){var l=a(this,u);return!!l&&l.enumerable}:e},89555:function(c,m,e){var a=e(29472),o=e(79722),r=e(72137);c.exports=Object.setPrototypeOf||(\"__proto__\"in{}?function(){var u=!1,l={},d;try{d=a(Object.prototype,\"__proto__\",\"set\"),d(l,[]),u=l instanceof Array}catch(f){}return function(v,p){return o(v),r(p),u?d(v,p):v.__proto__=p,v}}():void 0)},17985:function(c,m,e){var a=e(38521),o=e(99476),r=e(9591),u=r(\"observable\"),l=a.Observable,d=l&&l.prototype;c.exports=!o(l)||!o(l.from)||!o(l.of)||!o(d.subscribe)||!o(d[u])},37698:function(c,m,e){var a=e(61217),o=e(99476),r=e(98822),u=TypeError;c.exports=function(l,d){var f,v;if(d===\"string\"&&o(f=l.toString)&&!r(v=a(f,l))||o(f=l.valueOf)&&!r(v=a(f,l))||d!==\"string\"&&o(f=l.toString)&&!r(v=a(f,l)))return v;throw u(\"Can't convert object to primitive value\")}},42198:function(c,m,e){var a=e(44660),o=e(42721),r=e(1230),u=e(22336),l=e(79722),d=o([].concat);c.exports=a(\"Reflect\",\"ownKeys\")||function(v){var p=r.f(l(v)),h=u.f;return h?d(p,h(v)):p}},49158:function(c,m,e){var a=e(38521);c.exports=a},62738:function(c){c.exports=function(m){try{return{error:!1,value:m()}}catch(e){return{error:!0,value:e}}}},8968:function(c,m,e){var a=e(38521),o=e(54257),r=e(99476),u=e(34180),l=e(8777),d=e(9591),f=e(30756),v=e(73677),p=e(62761),h=e(59476),g=o&&o.prototype,y=d(\"species\"),S=!1,I=r(a.PromiseRejectionEvent),N=u(\"Promise\",function(){var _=l(o),M=_!==String(o);if(!M&&h===66||p&&!(g.catch&&g.finally))return!0;if(!h||h<51||!/native code/.test(_)){var L=new o(function(x){x(1)}),k=function(x){x(function(){},function(){})},U=L.constructor={};if(U[y]=k,S=L.then(function(){})instanceof k,!S)return!0}return!M&&(f||v)&&!I});c.exports={CONSTRUCTOR:N,REJECTION_EVENT:I,SUBCLASSING:S}},54257:function(c,m,e){var a=e(38521);c.exports=a.Promise},94400:function(c,m,e){var a=e(54257),o=e(80121),r=e(8968).CONSTRUCTOR;c.exports=r||!o(function(u){a.all(u).then(void 0,function(){})})},3623:function(c,m,e){var a=e(62886).f;c.exports=function(o,r,u){u in o||a(o,u,{configurable:!0,get:function(){return r[u]},set:function(l){r[u]=l}})}},10136:function(c,m,e){e(28541),e(37684);var a=e(44660),o=e(42721),r=e(85561),u=a(\"Map\"),l=a(\"WeakMap\"),d=o([].push),f=r(\"metadata\"),v=f.store||(f.store=new l),p=function(N,_,M){var L=v.get(N);if(!L){if(!M)return;v.set(N,L=new u)}var k=L.get(_);if(!k){if(!M)return;L.set(_,k=new u)}return k},h=function(N,_,M){var L=p(_,M,!1);return L===void 0?!1:L.has(N)},g=function(N,_,M){var L=p(_,M,!1);return L===void 0?void 0:L.get(N)},y=function(N,_,M,L){p(M,L,!0).set(N,_)},S=function(N,_){var M=p(N,_,!1),L=[];return M&&M.forEach(function(k,U){d(L,U)}),L},I=function(N){return N===void 0||typeof N==\"symbol\"?N:String(N)};c.exports={store:v,getMap:p,has:h,get:g,set:y,keys:S,toKey:I}},88042:function(c,m,e){\"use strict\";var a=e(79722);c.exports=function(){var o=a(this),r=\"\";return o.hasIndices&&(r+=\"d\"),o.global&&(r+=\"g\"),o.ignoreCase&&(r+=\"i\"),o.multiline&&(r+=\"m\"),o.dotAll&&(r+=\"s\"),o.unicode&&(r+=\"u\"),o.unicodeSets&&(r+=\"v\"),o.sticky&&(r+=\"y\"),r}},72760:function(c,m,e){var a=e(61217),o=e(67781),r=e(36915),u=e(88042),l=RegExp.prototype;c.exports=function(d){var f=d.flags;return f===void 0&&!(\"flags\"in l)&&!o(d,\"flags\")&&r(l,d)?a(u,d):f}},73017:function(c,m,e){var a=e(64264),o=TypeError;c.exports=function(r){if(a(r))throw o(\"Can't call method on \"+r);return r}},82318:function(c){c.exports=function(m,e){return m===e||m!=m&&e!=e}},89232:function(c,m,e){\"use strict\";var a=e(38521),o=e(9266),r=e(99476),u=e(89369),l=e(58158),d=e(70489),f=e(11899),v=a.Function,p=/MSIE .\\./.test(l)||u&&function(){var h=a.Bun.version.split(\".\");return h.length<3||h[0]==0&&(h[1]<3||h[1]==3&&h[2]==0)}();c.exports=function(h,g){var y=g?2:1;return p?function(S,I){var N=f(arguments.length,1)>y,_=r(S)?S:v(S),M=N?d(arguments,y):[],L=N?function(){o(_,this,M)}:_;return g?h(L,I):h(L)}:h}},74448:function(c,m,e){var a=e(67410),o=e(46357),r=a.Set,u=a.add;c.exports=function(l){var d=new r;return o(l,function(f){u(d,f)}),d}},69873:function(c,m,e){\"use strict\";var a=e(27458),o=e(67410),r=e(74448),u=e(5071),l=e(53487),d=e(46357),f=e(15758),v=o.has,p=o.remove;c.exports=function(g){var y=a(this),S=l(g),I=r(y);return u(y)<=S.size?d(y,function(N){S.includes(N)&&p(I,N)}):f(S.getIterator(),function(N){v(y,N)&&p(I,N)}),I}},67410:function(c,m,e){var a=e(42721),o=Set.prototype;c.exports={Set,add:a(o.add),has:a(o.has),remove:a(o.delete),proto:o,$has:o.has,$keys:o.keys}},18940:function(c,m,e){\"use strict\";var a=e(27458),o=e(67410),r=e(5071),u=e(53487),l=e(46357),d=e(15758),f=o.Set,v=o.add,p=o.has,h=o.$has,g=o.$keys,y=function(S){return S.has===h&&S.keys===g};c.exports=function(I){var N=a(this),_=u(I),M=new f;if(!y(_)&&r(N)>_.size){if(d(_.getIterator(),function(k){p(N,k)&&v(M,k)}),r(M)<2)return M;var L=M;M=new f,l(N,function(k){p(L,k)&&v(M,k)})}else l(N,function(k){_.includes(k)&&v(M,k)});return M}},85208:function(c,m,e){\"use strict\";var a=e(27458),o=e(67410).has,r=e(5071),u=e(53487),l=e(46357),d=e(15758),f=e(58530);c.exports=function(p){var h=a(this),g=u(p);if(r(h)<=g.size)return l(h,function(S){if(g.includes(S))return!1},!0)!==!1;var y=g.getIterator();return d(y,function(S){if(o(h,S))return f(y,\"normal\",!1)})!==!1}},15465:function(c,m,e){\"use strict\";var a=e(27458),o=e(5071),r=e(46357),u=e(53487);c.exports=function(d){var f=a(this),v=u(d);return o(f)>v.size?!1:r(f,function(p){if(!v.includes(p))return!1},!0)!==!1}},71541:function(c,m,e){\"use strict\";var a=e(27458),o=e(67410).has,r=e(5071),u=e(53487),l=e(15758),d=e(58530);c.exports=function(v){var p=a(this),h=u(v);if(r(p)<h.size)return!1;var g=h.getIterator();return l(g,function(y){if(!o(p,y))return d(g,\"normal\",!1)})!==!1}},46357:function(c,m,e){var a=e(42721),o=e(15758),r=e(67410),u=r.Set,l=r.proto,d=a(l.forEach),f=a(l.keys),v=f(new u).next;c.exports=function(p,h,g){return g?o(f(p),h,v):d(p,h)}},39069:function(c,m,e){var a=e(44660),o=function(){return{size:0,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}};c.exports=function(r){try{var u=a(\"Set\");return new u()[r](o()),!0}catch(l){return!1}}},5071:function(c,m,e){var a=e(29472),o=e(67410);c.exports=a(o.proto,\"size\",\"get\")||function(r){return r.size}},32520:function(c,m,e){\"use strict\";var a=e(44660),o=e(73538),r=e(9591),u=e(41737),l=r(\"species\");c.exports=function(d){var f=a(d);u&&f&&!f[l]&&o(f,l,{configurable:!0,get:function(){return this}})}},2457:function(c,m,e){\"use strict\";var a=e(27458),o=e(67410),r=e(74448),u=e(53487),l=e(15758),d=o.add,f=o.has,v=o.remove;c.exports=function(h){var g=a(this),y=u(h).getIterator(),S=r(g);return l(y,function(I){f(g,I)?v(S,I):d(S,I)}),S}},81404:function(c,m,e){var a=e(62886).f,o=e(67781),r=e(9591),u=r(\"toStringTag\");c.exports=function(l,d,f){l&&!f&&(l=l.prototype),l&&!o(l,u)&&a(l,u,{configurable:!0,value:d})}},50871:function(c,m,e){\"use strict\";var a=e(27458),o=e(67410).add,r=e(74448),u=e(53487),l=e(15758);c.exports=function(f){var v=a(this),p=u(f).getIterator(),h=r(v);return l(p,function(g){o(h,g)}),h}},97469:function(c,m,e){var a=e(85561),o=e(50216),r=a(\"keys\");c.exports=function(u){return r[u]||(r[u]=o(u))}},26495:function(c,m,e){var a=e(38521),o=e(80542),r=\"__core-js_shared__\",u=a[r]||o(r,{});c.exports=u},85561:function(c,m,e){var a=e(62761),o=e(26495);(c.exports=function(r,u){return o[r]||(o[r]=u!==void 0?u:{})})(\"versions\",[]).push({version:\"3.28.0\",mode:a?\"pure\":\"global\",copyright:\"\\xA9 2014-2023 Denis Pushkarev (zloirock.ru)\",license:\"https://github.com/zloirock/core-js/blob/v3.28.0/LICENSE\",source:\"https://github.com/zloirock/core-js\"})},87077:function(c,m,e){var a=e(79722),o=e(94956),r=e(64264),u=e(9591),l=u(\"species\");c.exports=function(d,f){var v=a(d).constructor,p;return v===void 0||r(p=a(v)[l])?f:o(p)}},44125:function(c,m,e){var a=e(42721),o=e(88378),r=e(17664),u=e(46831),l=TypeError,d=a([].push),f=a([].join);c.exports=function(p){var h=o(p),g=u(h);if(!g)return\"\";for(var y=arguments.length,S=[],I=0;;){var N=h[I++];if(N===void 0)throw l(\"Incorrect template\");if(d(S,r(N)),I===g)return f(S,\"\");I<y&&d(S,r(arguments[I]))}}},47423:function(c,m,e){var a=e(42721),o=e(76628),r=e(17664),u=e(73017),l=a(\"\".charAt),d=a(\"\".charCodeAt),f=a(\"\".slice),v=function(p){return function(h,g){var y=r(u(h)),S=o(g),I=y.length,N,_;return S<0||S>=I?p?\"\":void 0:(N=d(y,S),N<55296||N>56319||S+1===I||(_=d(y,S+1))<56320||_>57343?p?l(y,S):N:p?f(y,S,S+2):(N-55296<<10)+(_-56320)+65536)}};c.exports={codeAt:v(!1),charAt:v(!0)}},29180:function(c,m,e){var a=e(44660),o=e(42721),r=String.fromCharCode,u=a(\"String\",\"fromCodePoint\"),l=o(\"\".charAt),d=o(\"\".charCodeAt),f=o(\"\".indexOf),v=o(\"\".slice),p=48,h=57,g=97,y=102,S=65,I=70,N=function(L,k){var U=d(L,k);return U>=p&&U<=h},_=function(L,k,U){if(U>=L.length)return-1;for(var x=0;k<U;k++){var F=M(d(L,k));if(F===-1)return-1;x=x*16+F}return x},M=function(L){return L>=p&&L<=h?L-p:L>=g&&L<=y?L-g+10:L>=S&&L<=I?L-S+10:-1};c.exports=function(L){for(var k=\"\",U=0,x=0,F;(x=f(L,\"\\\\\",x))>-1;){if(k+=v(L,U,x),++x===L.length)return;var K=l(L,x++);switch(K){case\"b\":k+=\"\\b\";break;case\"t\":k+=\"\t\";break;case\"n\":k+=`\n`;break;case\"v\":k+=\"\\v\";break;case\"f\":k+=\"\\f\";break;case\"r\":k+=\"\\r\";break;case\"\\r\":x<L.length&&l(L,x)===`\n`&&++x;case`\n`:case\"\\u2028\":case\"\\u2029\":break;case\"0\":if(N(L,x))return;k+=\"\\0\";break;case\"x\":if(F=_(L,x,x+2),F===-1)return;x+=2,k+=r(F);break;case\"u\":if(x<L.length&&l(L,x)===\"{\"){var G=f(L,\"}\",++x);if(G===-1)return;F=_(L,x,G),x=G+1}else F=_(L,x,x+4),x+=4;if(F===-1||F>1114111)return;k+=u(F);break;default:if(N(K,0))return;k+=K}U=x}return k+v(L,U)}},49463:function(c,m,e){var a=e(42721),o=e(73017),r=e(17664),u=e(45460),l=a(\"\".replace),d=RegExp(\"^[\"+u+\"]+\"),f=RegExp(\"(^|[^\"+u+\"])[\"+u+\"]+$\"),v=function(p){return function(h){var g=r(o(h));return p&1&&(g=l(g,d,\"\")),p&2&&(g=l(g,f,\"$1\")),g}};c.exports={start:v(1),end:v(2),trim:v(3)}},65774:function(c,m,e){var a=e(38521),o=e(242),r=e(59476),u=e(30756),l=e(73677),d=e(35606),f=a.structuredClone;c.exports=!!f&&!o(function(){if(l&&r>92||d&&r>94||u&&r>97)return!1;var v=new ArrayBuffer(8),p=f(v,{transfer:[v]});return v.byteLength!=0||p.byteLength!=8})},32496:function(c,m,e){var a=e(59476),o=e(242);c.exports=!!Object.getOwnPropertySymbols&&!o(function(){var r=Symbol();return!String(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&a&&a<41})},82585:function(c,m,e){var a=e(38521),o=e(9266),r=e(12992),u=e(99476),l=e(67781),d=e(242),f=e(2e3),v=e(70489),p=e(50398),h=e(11899),g=e(23126),y=e(35606),S=a.setImmediate,I=a.clearImmediate,N=a.process,_=a.Dispatch,M=a.Function,L=a.MessageChannel,k=a.String,U=0,x={},F=\"onreadystatechange\",K,G,q,X;d(function(){K=a.location});var oe=function(z){if(l(x,z)){var A=x[z];delete x[z],A()}},Ee=function(z){return function(){oe(z)}},Te=function(z){oe(z.data)},ae=function(z){a.postMessage(k(z),K.protocol+\"//\"+K.host)};(!S||!I)&&(S=function(A){h(arguments.length,1);var T=u(A)?A:M(A),R=v(arguments,1);return x[++U]=function(){o(T,void 0,R)},G(U),U},I=function(A){delete x[A]},y?G=function(z){N.nextTick(Ee(z))}:_&&_.now?G=function(z){_.now(Ee(z))}:L&&!g?(q=new L,X=q.port2,q.port1.onmessage=Te,G=r(X.postMessage,X)):a.addEventListener&&u(a.postMessage)&&!a.importScripts&&K&&K.protocol!==\"file:\"&&!d(ae)?(G=ae,a.addEventListener(\"message\",Te,!1)):F in p(\"script\")?G=function(z){f.appendChild(p(\"script\"))[F]=function(){f.removeChild(this),oe(z)}}:G=function(z){setTimeout(Ee(z),0)}),c.exports={set:S,clear:I}},99928:function(c,m,e){var a=e(76628),o=Math.max,r=Math.min;c.exports=function(u,l){var d=a(u);return d<0?o(d+l,0):r(d,l)}},16715:function(c,m,e){var a=e(90594),o=TypeError;c.exports=function(r){var u=a(r,\"number\");if(typeof u==\"number\")throw o(\"Can't convert number to bigint\");return BigInt(u)}},88378:function(c,m,e){var a=e(84551),o=e(73017);c.exports=function(r){return a(o(r))}},76628:function(c,m,e){var a=e(77376);c.exports=function(o){var r=+o;return r!==r||r===0?0:a(r)}},59030:function(c,m,e){var a=e(76628),o=Math.min;c.exports=function(r){return r>0?o(a(r),9007199254740991):0}},17311:function(c,m,e){var a=e(73017),o=Object;c.exports=function(r){return o(a(r))}},8058:function(c,m,e){var a=e(13645),o=RangeError;c.exports=function(r,u){var l=a(r);if(l%u)throw o(\"Wrong offset\");return l}},13645:function(c,m,e){var a=e(76628),o=RangeError;c.exports=function(r){var u=a(r);if(u<0)throw o(\"The argument can't be less than 0\");return u}},90594:function(c,m,e){var a=e(61217),o=e(98822),r=e(74206),u=e(36329),l=e(37698),d=e(9591),f=TypeError,v=d(\"toPrimitive\");c.exports=function(p,h){if(!o(p)||r(p))return p;var g=u(p,v),y;if(g){if(h===void 0&&(h=\"default\"),y=a(g,p,h),!o(y)||r(y))return y;throw f(\"Can't convert object to primitive value\")}return h===void 0&&(h=\"number\"),l(p,h)}},82098:function(c,m,e){var a=e(90594),o=e(74206);c.exports=function(r){var u=a(r,\"string\");return o(u)?u:u+\"\"}},90020:function(c,m,e){var a=e(44660),o=e(99476),r=e(76669),u=e(98822),l=a(\"Set\"),d=function(f){return u(f)&&typeof f.size==\"number\"&&o(f.has)&&o(f.keys)};c.exports=function(f){if(d(f))return f;if(r(f))return new l(f)}},10303:function(c,m,e){var a=e(9591),o=a(\"toStringTag\"),r={};r[o]=\"z\",c.exports=String(r)===\"[object z]\"},17664:function(c,m,e){var a=e(24518),o=String;c.exports=function(r){if(a(r)===\"Symbol\")throw TypeError(\"Cannot convert a Symbol value to a string\");return o(r)}},82424:function(c){var m=String;c.exports=function(e){try{return m(e)}catch(a){return\"Object\"}}},91275:function(c,m,e){var a=e(1715),o=e(62911);c.exports=function(r,u){return a(o(r),u)}},62911:function(c,m,e){var a=e(45133),o=e(87077),r=a.aTypedArrayConstructor,u=a.getTypedArrayConstructor;c.exports=function(l){return r(o(l,u(l)))}},50216:function(c,m,e){var a=e(42721),o=0,r=Math.random(),u=a(1 .toString);c.exports=function(l){return\"Symbol(\"+(l===void 0?\"\":l)+\")_\"+u(++o+r,36)}},65190:function(c,m,e){var a=e(32496);c.exports=a&&!Symbol.sham&&typeof Symbol.iterator==\"symbol\"},20154:function(c,m,e){var a=e(41737),o=e(242);c.exports=a&&o(function(){return Object.defineProperty(function(){},\"prototype\",{value:42,writable:!1}).prototype!=42})},11899:function(c){var m=TypeError;c.exports=function(e,a){if(e<a)throw m(\"Not enough arguments\");return e}},58730:function(c,m,e){var a=e(38521),o=e(99476),r=a.WeakMap;c.exports=o(r)&&/native code/.test(String(r))},3222:function(c,m,e){var a=e(42721),o=WeakMap.prototype;c.exports={WeakMap,set:a(o.set),get:a(o.get),has:a(o.has),remove:a(o.delete)}},82487:function(c,m,e){var a=e(42721),o=WeakSet.prototype;c.exports={WeakSet,add:a(o.add),has:a(o.has),remove:a(o.delete)}},96541:function(c,m,e){var a=e(49158),o=e(67781),r=e(41961),u=e(62886).f;c.exports=function(l){var d=a.Symbol||(a.Symbol={});o(d,l)||u(d,l,{value:r.f(l)})}},41961:function(c,m,e){var a=e(9591);m.f=a},9591:function(c,m,e){var a=e(38521),o=e(85561),r=e(67781),u=e(50216),l=e(32496),d=e(65190),f=a.Symbol,v=o(\"wks\"),p=d?f.for||f:f&&f.withoutSetter||u;c.exports=function(h){return r(v,h)||(v[h]=l&&r(f,h)?f[h]:p(\"Symbol.\"+h)),v[h]}},45460:function(c){c.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`},61014:function(c,m,e){\"use strict\";var a=e(44660),o=e(67781),r=e(84446),u=e(36915),l=e(89555),d=e(10315),f=e(3623),v=e(2707),p=e(48436),h=e(28143),g=e(38247),y=e(41737),S=e(62761);c.exports=function(I,N,_,M){var L=\"stackTraceLimit\",k=M?2:1,U=I.split(\".\"),x=U[U.length-1],F=a.apply(null,U);if(F){var K=F.prototype;if(!S&&o(K,\"cause\")&&delete K.cause,!_)return F;var G=a(\"Error\"),q=N(function(X,oe){var Ee=p(M?oe:X,void 0),Te=M?new F(X):new F;return Ee!==void 0&&r(Te,\"message\",Ee),g(Te,q,Te.stack,2),this&&u(K,this)&&v(Te,this,q),arguments.length>k&&h(Te,arguments[k]),Te});if(q.prototype=K,x!==\"Error\"?l?l(q,G):d(q,G,{name:!0}):y&&L in F&&(f(q,F,L),f(q,F,\"prepareStackTrace\")),d(q,F),!S)try{K.name!==x&&r(K,\"name\",x),K.constructor=q}catch(X){}return q}}},72978:function(c,m,e){var a=e(79053),o=e(44660),r=e(9266),u=e(242),l=e(61014),d=\"AggregateError\",f=o(d),v=!u(function(){return f([1]).errors[0]!==1})&&u(function(){return f([1],d,{cause:7}).cause!==7});a({global:!0,constructor:!0,arity:2,forced:v},{AggregateError:l(d,function(p){return function(g,y){return r(p,this,arguments)}},v,!0)})},40498:function(c,m,e){\"use strict\";var a=e(79053),o=e(36915),r=e(60533),u=e(89555),l=e(10315),d=e(14832),f=e(84446),v=e(38382),p=e(28143),h=e(38247),g=e(10917),y=e(48436),S=e(9591),I=S(\"toStringTag\"),N=Error,_=[].push,M=function(U,x){var F=o(L,this),K;u?K=u(N(),F?r(this):L):(K=F?this:d(L),f(K,I,\"Error\")),x!==void 0&&f(K,\"message\",y(x)),h(K,M,K.stack,1),arguments.length>2&&p(K,arguments[2]);var G=[];return g(U,_,{that:G}),f(K,\"errors\",G),K};u?u(M,N):l(M,N,{name:!0});var L=M.prototype=d(N.prototype,{constructor:v(1,M),message:v(1,\"\"),name:v(1,\"AggregateError\")});a({global:!0,constructor:!0,arity:2},{AggregateError:M})},94380:function(c,m,e){e(40498)},18759:function(c,m,e){\"use strict\";var a=e(79053),o=e(17311),r=e(46831),u=e(76628),l=e(57415);a({target:\"Array\",proto:!0},{at:function(f){var v=o(this),p=r(v),h=u(f),g=h>=0?h:p+h;return g<0||g>=p?void 0:v[g]}}),l(\"at\")},93324:function(c,m,e){\"use strict\";var a=e(79053),o=e(91321).findLastIndex,r=e(57415);a({target:\"Array\",proto:!0},{findLastIndex:function(l){return o(this,l,arguments.length>1?arguments[1]:void 0)}}),r(\"findLastIndex\")},2757:function(c,m,e){\"use strict\";var a=e(79053),o=e(91321).findLast,r=e(57415);a({target:\"Array\",proto:!0},{findLast:function(l){return o(this,l,arguments.length>1?arguments[1]:void 0)}}),r(\"findLast\")},87477:function(c,m,e){\"use strict\";var a=e(79053),o=e(17311),r=e(46831),u=e(32936),l=e(3802),d=e(242),f=d(function(){return[].push.call({length:4294967296},1)!==4294967297}),v=function(){try{Object.defineProperty([],\"length\",{writable:!1}).push()}catch(h){return h instanceof TypeError}},p=f||!v();a({target:\"Array\",proto:!0,arity:1,forced:p},{push:function(g){var y=o(this),S=r(y),I=arguments.length;l(S+I);for(var N=0;N<I;N++)y[S]=arguments[N],S++;return u(y,S),S}})},10375:function(c,m,e){\"use strict\";var a=e(79053),o=e(31484).right,r=e(55578),u=e(59476),l=e(35606),d=!l&&u>79&&u<83,f=d||!r(\"reduceRight\");a({target:\"Array\",proto:!0,forced:f},{reduceRight:function(p){return o(this,p,arguments.length,arguments.length>1?arguments[1]:void 0)}})},97220:function(c,m,e){\"use strict\";var a=e(79053),o=e(31484).left,r=e(55578),u=e(59476),l=e(35606),d=!l&&u>79&&u<83,f=d||!r(\"reduce\");a({target:\"Array\",proto:!0,forced:f},{reduce:function(p){var h=arguments.length;return o(this,p,h,h>1?arguments[1]:void 0)}})},5547:function(c,m,e){\"use strict\";var a=e(79053),o=e(53584),r=e(88378),u=e(57415),l=Array;a({target:\"Array\",proto:!0},{toReversed:function(){return o(r(this),l)}}),u(\"toReversed\")},458:function(c,m,e){\"use strict\";var a=e(79053),o=e(42721),r=e(21209),u=e(88378),l=e(1715),d=e(59439),f=e(57415),v=Array,p=o(d(\"Array\").sort);a({target:\"Array\",proto:!0},{toSorted:function(g){g!==void 0&&r(g);var y=u(this),S=l(v,y);return p(S,g)}}),f(\"toSorted\")},78206:function(c,m,e){\"use strict\";var a=e(79053),o=e(57415),r=e(3802),u=e(46831),l=e(99928),d=e(88378),f=e(76628),v=Array,p=Math.max,h=Math.min;a({target:\"Array\",proto:!0},{toSpliced:function(y,S){var I=d(this),N=u(I),_=l(y,N),M=arguments.length,L=0,k,U,x,F;for(M===0?k=U=0:M===1?(k=0,U=N-_):(k=M-2,U=h(p(f(S),0),N-_)),x=r(N+k-U),F=v(x);L<_;L++)F[L]=I[L];for(;L<_+k;L++)F[L]=arguments[L-_+2];for(;L<x;L++)F[L]=I[L+U-k];return F}}),o(\"toSpliced\")},61765:function(c,m,e){\"use strict\";var a=e(79053),o=e(77634),r=e(88378),u=Array;a({target:\"Array\",proto:!0},{with:function(l,d){return o(r(this),u,l,d)}})},10711:function(c,m,e){var a=e(79053),o=e(38521),r=e(9266),u=e(61014),l=\"WebAssembly\",d=o[l],f=Error(\"e\",{cause:7}).cause!==7,v=function(h,g){var y={};y[h]=u(h,g,f),a({global:!0,constructor:!0,arity:1,forced:f},y)},p=function(h,g){if(d&&d[h]){var y={};y[h]=u(l+\".\"+h,g,f),a({target:l,stat:!0,constructor:!0,arity:1,forced:f},y)}};v(\"Error\",function(h){return function(y){return r(h,this,arguments)}}),v(\"EvalError\",function(h){return function(y){return r(h,this,arguments)}}),v(\"RangeError\",function(h){return function(y){return r(h,this,arguments)}}),v(\"ReferenceError\",function(h){return function(y){return r(h,this,arguments)}}),v(\"SyntaxError\",function(h){return function(y){return r(h,this,arguments)}}),v(\"TypeError\",function(h){return function(y){return r(h,this,arguments)}}),v(\"URIError\",function(h){return function(y){return r(h,this,arguments)}}),p(\"CompileError\",function(h){return function(y){return r(h,this,arguments)}}),p(\"LinkError\",function(h){return function(y){return r(h,this,arguments)}}),p(\"RuntimeError\",function(h){return function(y){return r(h,this,arguments)}})},78418:function(c,m,e){\"use strict\";var a=e(8651),o=e(46590);a(\"Map\",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},o)},28541:function(c,m,e){e(78418)},17934:function(c,m,e){var a=e(79053),o=e(67781);a({target:\"Object\",stat:!0},{hasOwn:o})},59055:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(21209),u=e(44660),l=e(75517),d=e(62738),f=e(10917),v=e(94400),p=\"No one promise resolved\";a({target:\"Promise\",stat:!0,forced:v},{any:function(g){var y=this,S=u(\"AggregateError\"),I=l.f(y),N=I.resolve,_=I.reject,M=d(function(){var L=r(y.resolve),k=[],U=0,x=1,F=!1;f(g,function(K){var G=U++,q=!1;x++,o(L,y,K).then(function(X){q||F||(F=!0,N(X))},function(X){q||F||(q=!0,k[G]=X,--x||_(new S(k,p)))})}),--x||_(new S(k,p))});return M.error&&_(M.value),I.promise}})},9333:function(c,m,e){var a=e(79053),o=e(38521),r=e(81404);a({global:!0},{Reflect:{}}),r(o.Reflect,\"Reflect\",!0)},39117:function(c,m,e){var a=e(38521),o=e(41737),r=e(73538),u=e(88042),l=e(242),d=a.RegExp,f=d.prototype,v=o&&l(function(){var p=!0;try{d(\".\",\"d\")}catch(M){p=!1}var h={},g=\"\",y=p?\"dgimsy\":\"gimsy\",S=function(M,L){Object.defineProperty(h,M,{get:function(){return g+=L,!0}})},I={dotAll:\"s\",global:\"g\",ignoreCase:\"i\",multiline:\"m\",sticky:\"y\"};p&&(I.hasIndices=\"d\");for(var N in I)S(N,I[N]);var _=Object.getOwnPropertyDescriptor(f,\"flags\").get.call(h);return _!==y||g!==y});v&&r(f,\"flags\",{configurable:!0,get:u})},92648:function(c,m,e){\"use strict\";var a=e(79053),o=e(42721),r=e(73017),u=e(76628),l=e(17664),d=e(242),f=o(\"\".charAt),v=d(function(){return\"\\u{20BB7}\".at(-2)!==\"\\uD842\"});a({target:\"String\",proto:!0,forced:v},{at:function(h){var g=l(r(this)),y=g.length,S=u(h),I=S>=0?S:y+S;return I<0||I>=y?void 0:f(g,I)}})},99971:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(42721),u=e(73017),l=e(99476),d=e(64264),f=e(98938),v=e(17664),p=e(36329),h=e(72760),g=e(14604),y=e(9591),S=e(62761),I=y(\"replace\"),N=TypeError,_=r(\"\".indexOf),M=r(\"\".replace),L=r(\"\".slice),k=Math.max,U=function(x,F,K){return K>x.length?-1:F===\"\"?K:_(x,F,K)};a({target:\"String\",proto:!0},{replaceAll:function(F,K){var G=u(this),q,X,oe,Ee,Te,ae,z,A,T,R=0,j=0,C=\"\";if(!d(F)){if(q=f(F),q&&(X=v(u(h(F))),!~_(X,\"g\")))throw N(\"`.replaceAll` does not allow non-global regexes\");if(oe=p(F,I),oe)return o(oe,F,G,K);if(S&&q)return M(v(G),F,K)}for(Ee=v(G),Te=v(F),ae=l(K),ae||(K=v(K)),z=Te.length,A=k(1,z),R=U(Ee,Te,0);R!==-1;)T=ae?v(K(Te,R,Ee)):g(Te,Ee,R,[],void 0,K),C+=L(Ee,j,R)+T,j=R+z,R=U(Ee,Te,R+A);return j<Ee.length&&(C+=L(Ee,j)),C}})},72287:function(c,m,e){\"use strict\";var a=e(45133),o=e(46831),r=e(76628),u=a.aTypedArray,l=a.exportTypedArrayMethod;l(\"at\",function(f){var v=u(this),p=o(v),h=r(f),g=h>=0?h:p+h;return g<0||g>=p?void 0:v[g]})},64974:function(c,m,e){\"use strict\";var a=e(45133),o=e(91321).findLastIndex,r=a.aTypedArray,u=a.exportTypedArrayMethod;u(\"findLastIndex\",function(d){return o(r(this),d,arguments.length>1?arguments[1]:void 0)})},42074:function(c,m,e){\"use strict\";var a=e(45133),o=e(91321).findLast,r=a.aTypedArray,u=a.exportTypedArrayMethod;u(\"findLast\",function(d){return o(r(this),d,arguments.length>1?arguments[1]:void 0)})},50481:function(c,m,e){\"use strict\";var a=e(38521),o=e(61217),r=e(45133),u=e(46831),l=e(8058),d=e(17311),f=e(242),v=a.RangeError,p=a.Int8Array,h=p&&p.prototype,g=h&&h.set,y=r.aTypedArray,S=r.exportTypedArrayMethod,I=!f(function(){var _=new Uint8ClampedArray(2);return o(g,_,{length:1,0:3},1),_[1]!==3}),N=I&&r.NATIVE_ARRAY_BUFFER_VIEWS&&f(function(){var _=new p(2);return _.set(1),_.set(\"2\",1),_[0]!==0||_[1]!==2});S(\"set\",function(M){y(this);var L=l(arguments.length>1?arguments[1]:void 0,1),k=d(M);if(I)return o(g,this,k,L);var U=this.length,x=u(k),F=0;if(x+L>U)throw v(\"Wrong length\");for(;F<x;)this[L+F]=k[F++]},!I||N)},58145:function(c,m,e){\"use strict\";var a=e(53584),o=e(45133),r=o.aTypedArray,u=o.exportTypedArrayMethod,l=o.getTypedArrayConstructor;u(\"toReversed\",function(){return a(r(this),l(this))})},12904:function(c,m,e){\"use strict\";var a=e(45133),o=e(42721),r=e(21209),u=e(1715),l=a.aTypedArray,d=a.getTypedArrayConstructor,f=a.exportTypedArrayMethod,v=o(a.TypedArrayPrototype.sort);f(\"toSorted\",function(h){h!==void 0&&r(h);var g=l(this),y=u(d(g),g);return v(y,h)})},88274:function(c,m,e){\"use strict\";var a=e(77634),o=e(45133),r=e(66103),u=e(76628),l=e(16715),d=o.aTypedArray,f=o.getTypedArrayConstructor,v=o.exportTypedArrayMethod,p=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(h){return h===8}}();v(\"with\",function(h,g){var y=d(this),S=u(h),I=r(y)?l(g):+g;return a(y,f(y),S,I)},!p)},98454:function(c,m,e){\"use strict\";var a=e(98170),o=e(38521),r=e(42721),u=e(82709),l=e(30436),d=e(8651),f=e(72131),v=e(98822),p=e(27956).enforce,h=e(242),g=e(58730),y=Object,S=Array.isArray,I=y.isExtensible,N=y.isFrozen,_=y.isSealed,M=y.freeze,L=y.seal,k={},U={},x=!o.ActiveXObject&&\"ActiveXObject\"in o,F,K=function(z){return function(){return z(this,arguments.length?arguments[0]:void 0)}},G=d(\"WeakMap\",K,f),q=G.prototype,X=r(q.set),oe=function(){return a&&h(function(){var z=M([]);return X(new G,z,1),!N(z)})};if(g)if(x){F=f.getConstructor(K,\"WeakMap\",!0),l.enable();var Ee=r(q.delete),Te=r(q.has),ae=r(q.get);u(q,{delete:function(z){if(v(z)&&!I(z)){var A=p(this);return A.frozen||(A.frozen=new F),Ee(this,z)||A.frozen.delete(z)}return Ee(this,z)},has:function(A){if(v(A)&&!I(A)){var T=p(this);return T.frozen||(T.frozen=new F),Te(this,A)||T.frozen.has(A)}return Te(this,A)},get:function(A){if(v(A)&&!I(A)){var T=p(this);return T.frozen||(T.frozen=new F),Te(this,A)?ae(this,A):T.frozen.get(A)}return ae(this,A)},set:function(A,T){if(v(A)&&!I(A)){var R=p(this);R.frozen||(R.frozen=new F),Te(this,A)?X(this,A,T):R.frozen.set(A,T)}else X(this,A,T);return this}})}else oe()&&u(q,{set:function(A,T){var R;return S(A)&&(N(A)?R=k:_(A)&&(R=U)),X(this,A,T),R==k&&M(A),R==U&&L(A),this}})},37684:function(c,m,e){e(98454)},60730:function(c,m,e){\"use strict\";var a=e(79053),o=e(20111).filterReject,r=e(57415);a({target:\"Array\",proto:!0,forced:!0},{filterOut:function(l){return o(this,l,arguments.length>1?arguments[1]:void 0)}}),r(\"filterOut\")},27224:function(c,m,e){\"use strict\";var a=e(79053),o=e(20111).filterReject,r=e(57415);a({target:\"Array\",proto:!0,forced:!0},{filterReject:function(l){return o(this,l,arguments.length>1?arguments[1]:void 0)}}),r(\"filterReject\")},56260:function(c,m,e){var a=e(79053),o=e(24706);a({target:\"Array\",stat:!0},{fromAsync:o})},5270:function(c,m,e){var a=e(79053),o=e(55578),r=e(57415),u=e(24793),l=e(62761);a({target:\"Array\",proto:!0,name:\"groupToMap\",forced:l||!o(\"groupByToMap\")},{groupByToMap:u}),r(\"groupByToMap\")},71242:function(c,m,e){\"use strict\";var a=e(79053),o=e(46792),r=e(55578),u=e(57415);a({target:\"Array\",proto:!0,forced:!r(\"groupBy\")},{groupBy:function(d){var f=arguments.length>1?arguments[1]:void 0;return o(this,d,f)}}),u(\"groupBy\")},66386:function(c,m,e){var a=e(79053),o=e(57415),r=e(24793),u=e(62761);a({target:\"Array\",proto:!0,forced:u},{groupToMap:r}),o(\"groupToMap\")},30542:function(c,m,e){\"use strict\";var a=e(79053),o=e(46792),r=e(57415);a({target:\"Array\",proto:!0},{group:function(l){var d=arguments.length>1?arguments[1]:void 0;return o(this,l,d)}}),r(\"group\")},3368:function(c,m,e){var a=e(79053),o=e(53326),r=Object.isFrozen,u=function(l,d){if(!r||!o(l)||!r(l))return!1;for(var f=0,v=l.length,p;f<v;)if(p=l[f++],!(typeof p==\"string\"||d&&p===void 0))return!1;return v!==0};a({target:\"Array\",stat:!0,sham:!0,forced:!0},{isTemplateObject:function(d){if(!u(d,!0))return!1;var f=d.raw;return f.length===d.length&&u(f,!1)}})},7098:function(c,m,e){\"use strict\";var a=e(41737),o=e(57415),r=e(17311),u=e(46831),l=e(73538);a&&(l(Array.prototype,\"lastIndex\",{configurable:!0,get:function(){var f=r(this),v=u(f);return v==0?0:v-1}}),o(\"lastIndex\"))},32736:function(c,m,e){\"use strict\";var a=e(41737),o=e(57415),r=e(17311),u=e(46831),l=e(73538);a&&(l(Array.prototype,\"lastItem\",{configurable:!0,get:function(){var f=r(this),v=u(f);return v==0?void 0:f[v-1]},set:function(f){var v=r(this),p=u(v);return v[p==0?0:p-1]=f}}),o(\"lastItem\"))},55350:function(c,m,e){e(5547)},47887:function(c,m,e){e(458)},19661:function(c,m,e){e(78206)},14658:function(c,m,e){\"use strict\";var a=e(79053),o=e(57415),r=e(94763);a({target:\"Array\",proto:!0,forced:!0},{uniqueBy:r}),o(\"uniqueBy\")},89387:function(c,m,e){e(61765)},95458:function(c,m,e){\"use strict\";var a=e(79053),o=e(41737),r=e(44660),u=e(21209),l=e(91372),d=e(75001),f=e(82709),v=e(73538),p=e(9591),h=e(27956),g=e(39847),y=r(\"Promise\"),S=r(\"SuppressedError\"),I=ReferenceError,N=p(\"asyncDispose\"),_=p(\"toStringTag\"),M=\"AsyncDisposableStack\",L=h.set,k=h.getterFor(M),U=\"async-dispose\",x=\"disposed\",F=\"pending\",K=M+\" already disposed\",G=function(){L(l(this,q),{type:M,state:F,stack:[]}),o||(this.disposed=!1)},q=G.prototype;f(q,{disposeAsync:function(){var oe=this;return new y(function(Ee,Te){var ae=k(oe);if(ae.state==x)return Ee(void 0);ae.state=x,o||(oe.disposed=!0);var z=ae.stack,A=z.length,T=!1,R,j=function(B){T?R=new S(B,R):(T=!0,R=B),C()},C=function(){if(A){var B=z[--A];z[A]=null;try{y.resolve(B()).then(C,j)}catch(fe){j(fe)}}else ae.stack=null,T?Te(R):Ee(void 0)};C()})},use:function(oe){var Ee=k(this);if(Ee.state==x)throw I(K);return g(Ee,oe,U),oe},adopt:function(oe,Ee){var Te=k(this);if(Te.state==x)throw I(K);return u(Ee),g(Te,void 0,U,function(){Ee(oe)}),oe},defer:function(oe){var Ee=k(this);if(Ee.state==x)throw I(K);u(oe),g(Ee,void 0,U,oe)},move:function(){var oe=k(this);if(oe.state==x)throw I(K);var Ee=new G;return k(Ee).stack=oe.stack,oe.stack=[],Ee}}),o&&v(q,\"disposed\",{configurable:!0,get:function(){return k(this).state==x}}),d(q,N,q.disposeAsync,{name:\"disposeAsync\"}),d(q,_,M,{nonWritable:!0}),a({global:!0,constructor:!0,forced:!0},{AsyncDisposableStack:G})},70533:function(c,m,e){var a=e(79053),o=e(94317);a({target:\"AsyncIterator\",name:\"indexed\",proto:!0,real:!0,forced:!0},{asIndexedPairs:o})},92617:function(c,m,e){\"use strict\";var a=e(61217),o=e(75001),r=e(44660),u=e(36329),l=e(67781),d=e(9591),f=e(83033),v=d(\"asyncDispose\"),p=r(\"Promise\");l(f,v)||o(f,v,function(){var h=this;return new p(function(g,y){var S=u(h,\"return\");S?p.resolve(a(S,h)).then(function(){g(void 0)},y):g(void 0)})})},18133:function(c,m,e){\"use strict\";var a=e(79053),o=e(91372),r=e(84446),u=e(67781),l=e(9591),d=e(83033),f=e(62761),v=l(\"toStringTag\"),p=function(){o(this,d)};p.prototype=d,u(d,v)||r(d,v,\"AsyncIterator\"),(f||!u(d,\"constructor\")||d.constructor===Object)&&r(d,\"constructor\",p),a({global:!0,constructor:!0,forced:f},{AsyncIterator:p})},5408:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(79722),u=e(44059),l=e(28144),d=e(13645),f=e(87890),v=e(84810),p=f(function(h){var g=this;return new h(function(y,S){var I=function(_){g.done=!0,S(_)},N=function(){try{h.resolve(r(o(g.next,g.iterator))).then(function(_){try{r(_).done?(g.done=!0,y(v(void 0,!0))):g.remaining?(g.remaining--,N()):y(v(_.value,!1))}catch(M){I(M)}},I)}catch(_){I(_)}};N()})});a({target:\"AsyncIterator\",proto:!0,real:!0},{drop:function(g){return new p(u(this),{remaining:d(l(+g))})}})},30750:function(c,m,e){\"use strict\";var a=e(79053),o=e(18142).every;a({target:\"AsyncIterator\",proto:!0,real:!0},{every:function(u){return o(this,u)}})},17638:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(21209),u=e(79722),l=e(98822),d=e(44059),f=e(87890),v=e(84810),p=e(19969),h=f(function(g){var y=this,S=y.iterator,I=y.predicate;return new g(function(N,_){var M=function(U){y.done=!0,_(U)},L=function(U){p(S,M,U,M)},k=function(){try{g.resolve(u(o(y.next,S))).then(function(U){try{if(u(U).done)y.done=!0,N(v(void 0,!0));else{var x=U.value;try{var F=I(x,y.counter++),K=function(G){G?N(v(x,!1)):k()};l(F)?g.resolve(F).then(K,L):K(F)}catch(G){L(G)}}}catch(G){M(G)}},M)}catch(U){M(U)}};k()})});a({target:\"AsyncIterator\",proto:!0,real:!0},{filter:function(y){return new h(d(this),{predicate:r(y)})}})},8758:function(c,m,e){\"use strict\";var a=e(79053),o=e(18142).find;a({target:\"AsyncIterator\",proto:!0,real:!0},{find:function(u){return o(this,u)}})},98805:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(21209),u=e(79722),l=e(98822),d=e(44059),f=e(87890),v=e(84810),p=e(43517),h=e(19969),g=f(function(y){var S=this,I=S.iterator,N=S.mapper;return new y(function(_,M){var L=function(F){S.done=!0,M(F)},k=function(F){h(I,L,F,L)},U=function(){try{y.resolve(u(o(S.next,I))).then(function(F){try{if(u(F).done)S.done=!0,_(v(void 0,!0));else{var K=F.value;try{var G=N(K,S.counter++),q=function(X){try{S.inner=p(X),x()}catch(oe){k(oe)}};l(G)?y.resolve(G).then(q,k):q(G)}catch(X){k(X)}}}catch(X){L(X)}},L)}catch(F){L(F)}},x=function(){var F=S.inner;if(F)try{y.resolve(u(o(F.next,F.iterator))).then(function(K){try{u(K).done?(S.inner=null,U()):_(v(K.value,!1))}catch(G){k(G)}},k)}catch(K){k(K)}else U()};x()})});a({target:\"AsyncIterator\",proto:!0,real:!0},{flatMap:function(S){return new g(d(this),{mapper:r(S),inner:null})}})},92602:function(c,m,e){\"use strict\";var a=e(79053),o=e(18142).forEach;a({target:\"AsyncIterator\",proto:!0,real:!0},{forEach:function(u){return o(this,u)}})},49111:function(c,m,e){var a=e(79053),o=e(17311),r=e(36915),u=e(43517),l=e(83033),d=e(25475);a({target:\"AsyncIterator\",stat:!0},{from:function(v){var p=u(typeof v==\"string\"?o(v):v);return r(l,p.iterator)?p.iterator:new d(p)}})},25131:function(c,m,e){var a=e(79053),o=e(94317);a({target:\"AsyncIterator\",proto:!0,real:!0,forced:!0},{indexed:o})},26698:function(c,m,e){var a=e(79053),o=e(14291);a({target:\"AsyncIterator\",proto:!0,real:!0},{map:o})},89590:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(21209),u=e(79722),l=e(98822),d=e(44660),f=e(44059),v=e(19969),p=d(\"Promise\"),h=TypeError;a({target:\"AsyncIterator\",proto:!0,real:!0},{reduce:function(y){var S=f(this),I=S.iterator,N=S.next,_=arguments.length<2,M=_?void 0:arguments[1],L=0;return r(y),new p(function(k,U){var x=function(K){v(I,U,K,U)},F=function(){try{p.resolve(u(o(N,I))).then(function(K){try{if(u(K).done)_?U(h(\"Reduce of empty iterator with no initial value\")):k(M);else{var G=K.value;if(_)_=!1,M=G,F();else try{var q=y(M,G,L),X=function(oe){M=oe,F()};l(q)?p.resolve(q).then(X,x):X(q)}catch(oe){x(oe)}}L++}catch(oe){U(oe)}},U)}catch(K){U(K)}};F()})}})},28987:function(c,m,e){\"use strict\";var a=e(79053),o=e(18142).some;a({target:\"AsyncIterator\",proto:!0,real:!0},{some:function(u){return o(this,u)}})},65975:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(79722),u=e(44059),l=e(28144),d=e(13645),f=e(87890),v=e(84810),p=f(function(h){var g=this,y=g.iterator,S;if(!g.remaining--){var I=v(void 0,!0);return g.done=!0,S=y.return,S!==void 0?h.resolve(o(S,y,void 0)).then(function(){return I}):I}return h.resolve(o(g.next,y)).then(function(N){return r(N).done?(g.done=!0,v(void 0,!0)):v(N.value,!1)}).then(null,function(N){throw g.done=!0,N})});a({target:\"AsyncIterator\",proto:!0,real:!0},{take:function(g){return new p(u(this),{remaining:d(l(+g))})}})},46618:function(c,m,e){\"use strict\";var a=e(79053),o=e(18142).toArray;a({target:\"AsyncIterator\",proto:!0,real:!0},{toArray:function(){return o(this,void 0,[])}})},2155:function(c,m,e){\"use strict\";var a=e(79053),o=e(15827);typeof BigInt==\"function\"&&a({target:\"BigInt\",stat:!0,forced:!0},{range:function(u,l,d){return new o(u,l,d,\"bigint\",BigInt(0),BigInt(1))}})},34737:function(c,m,e){var a=e(79053),o=e(9266),r=e(97810),u=e(44660),l=e(14832),d=Object,f=function(){var v=u(\"Object\",\"freeze\");return v?v(l(null)):l(null)};a({global:!0,forced:!0},{compositeKey:function(){return o(r,d,arguments).get(\"object\",f)}})},42596:function(c,m,e){var a=e(79053),o=e(97810),r=e(44660),u=e(9266);a({global:!0,forced:!0},{compositeSymbol:function(){return arguments.length==1&&typeof arguments[0]==\"string\"?r(\"Symbol\").for(arguments[0]):u(o,null,arguments).get(\"symbol\",r(\"Symbol\"))}})},40977:function(c,m,e){\"use strict\";var a=e(79053),o=e(41737),r=e(44660),u=e(21209),l=e(91372),d=e(75001),f=e(82709),v=e(73538),p=e(9591),h=e(27956),g=e(39847),y=r(\"SuppressedError\"),S=ReferenceError,I=p(\"dispose\"),N=p(\"toStringTag\"),_=\"DisposableStack\",M=h.set,L=h.getterFor(_),k=\"sync-dispose\",U=\"disposed\",x=\"pending\",F=_+\" already disposed\",K=function(){M(l(this,G),{type:_,state:x,stack:[]}),o||(this.disposed=!1)},G=K.prototype;f(G,{dispose:function(){var X=L(this);if(X.state!=U){X.state=U,o||(this.disposed=!0);for(var oe=X.stack,Ee=oe.length,Te=!1,ae;Ee;){var z=oe[--Ee];oe[Ee]=null;try{z()}catch(A){Te?ae=new y(A,ae):(Te=!0,ae=A)}}if(X.stack=null,Te)throw ae}},use:function(X){var oe=L(this);if(oe.state==U)throw S(F);return g(oe,X,k),X},adopt:function(X,oe){var Ee=L(this);if(Ee.state==U)throw S(F);return u(oe),g(Ee,void 0,k,function(){oe(X)}),X},defer:function(X){var oe=L(this);if(oe.state==U)throw S(F);u(X),g(oe,void 0,k,X)},move:function(){var X=L(this);if(X.state==U)throw S(F);var oe=new K;return L(oe).stack=X.stack,X.stack=[],oe}}),o&&v(G,\"disposed\",{configurable:!0,get:function(){return L(this).state==U}}),d(G,I,G.dispose,{name:\"dispose\"}),d(G,N,_,{nonWritable:!0}),a({global:!0,constructor:!0},{DisposableStack:K})},82921:function(c,m,e){var a=e(79053),o=e(42721),r=e(99476),u=e(8777),l=e(67781),d=e(41737),f=Object.getOwnPropertyDescriptor,v=/^\\s*class\\b/,p=o(v.exec),h=function(g){try{if(!d||!p(v,u(g)))return!1}catch(S){}var y=f(g,\"prototype\");return!!y&&l(y,\"writable\")&&!y.writable};a({target:\"Function\",stat:!0,sham:!0,forced:!0},{isCallable:function(y){return r(y)&&!h(y)}})},79529:function(c,m,e){var a=e(79053),o=e(3437);a({target:\"Function\",stat:!0,forced:!0},{isConstructor:o})},56722:function(c,m,e){var a=e(79053),o=e(51857);a({target:\"Function\",proto:!0,forced:!0,name:\"demethodize\"},{unThis:o})},201:function(c,m,e){var a=e(79053),o=e(71267);a({target:\"Iterator\",name:\"indexed\",proto:!0,real:!0,forced:!0},{asIndexedPairs:o})},79608:function(c,m,e){\"use strict\";var a=e(79053),o=e(38521),r=e(91372),u=e(99476),l=e(84446),d=e(242),f=e(67781),v=e(9591),p=e(64462).IteratorPrototype,h=e(62761),g=v(\"toStringTag\"),y=o.Iterator,S=h||!u(y)||y.prototype!==p||!d(function(){y({})}),I=function(){r(this,p)};f(p,g)||l(p,g,\"Iterator\"),(S||!f(p,\"constructor\")||p.constructor===Object)&&l(p,\"constructor\",I),I.prototype=p,a({global:!0,constructor:!0,forced:S},{Iterator:I})},79592:function(c,m,e){\"use strict\";var a=e(61217),o=e(75001),r=e(36329),u=e(67781),l=e(9591),d=e(64462).IteratorPrototype,f=l(\"dispose\");u(d,f)||o(d,f,function(){var v=r(this,\"return\");v&&a(v,this)})},65690:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(79722),u=e(44059),l=e(28144),d=e(13645),f=e(53192),v=f(function(){for(var p=this.iterator,h=this.next,g,y;this.remaining;)if(this.remaining--,g=r(o(h,p)),y=this.done=!!g.done,y)return;if(g=r(o(h,p)),y=this.done=!!g.done,!y)return g.value});a({target:\"Iterator\",proto:!0,real:!0},{drop:function(h){return new v(u(this),{remaining:d(l(+h))})}})},3776:function(c,m,e){\"use strict\";var a=e(79053),o=e(10917),r=e(21209),u=e(44059);a({target:\"Iterator\",proto:!0,real:!0},{every:function(d){var f=u(this),v=0;return r(d),!o(f,function(p,h){if(!d(p,v++))return h()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},83432:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(21209),u=e(79722),l=e(44059),d=e(53192),f=e(76854),v=d(function(){for(var p=this.iterator,h=this.predicate,g=this.next,y,S,I;;){if(y=u(o(g,p)),S=this.done=!!y.done,S)return;if(I=y.value,f(p,h,[I,this.counter++],!0))return I}});a({target:\"Iterator\",proto:!0,real:!0},{filter:function(h){return new v(l(this),{predicate:r(h)})}})},48025:function(c,m,e){\"use strict\";var a=e(79053),o=e(10917),r=e(21209),u=e(44059);a({target:\"Iterator\",proto:!0,real:!0},{find:function(d){var f=u(this),v=0;return r(d),o(f,function(p,h){if(d(p,v++))return h(p)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},96451:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(21209),u=e(79722),l=e(44059),d=e(44880),f=e(53192),v=e(58530),p=f(function(){for(var h=this.iterator,g=this.mapper,y,S;;){if(S=this.inner)try{if(y=u(o(S.next,S.iterator)),!y.done)return y.value;this.inner=null}catch(I){v(h,\"throw\",I)}if(y=u(o(this.next,h)),this.done=!!y.done)return;try{this.inner=d(g(y.value,this.counter++))}catch(I){v(h,\"throw\",I)}}});a({target:\"Iterator\",proto:!0,real:!0},{flatMap:function(g){return new p(l(this),{mapper:r(g),inner:null})}})},79593:function(c,m,e){\"use strict\";var a=e(79053),o=e(10917),r=e(21209),u=e(44059);a({target:\"Iterator\",proto:!0,real:!0},{forEach:function(d){var f=u(this),v=0;r(d),o(f,function(p){d(p,v++)},{IS_RECORD:!0})}})},75272:function(c,m,e){var a=e(79053),o=e(61217),r=e(17311),u=e(36915),l=e(64462).IteratorPrototype,d=e(53192),f=e(44880),v=d(function(){return o(this.next,this.iterator)},!0);a({target:\"Iterator\",stat:!0},{from:function(h){var g=f(typeof h==\"string\"?r(h):h);return u(l,g.iterator)?g.iterator:new v(g)}})},82570:function(c,m,e){var a=e(79053),o=e(71267);a({target:\"Iterator\",proto:!0,real:!0,forced:!0},{indexed:o})},50952:function(c,m,e){var a=e(79053),o=e(32578);a({target:\"Iterator\",proto:!0,real:!0},{map:o})},64317:function(c,m,e){\"use strict\";var a=e(79053),o=e(10917),r=e(21209),u=e(44059),l=TypeError;a({target:\"Iterator\",proto:!0,real:!0},{reduce:function(f){var v=u(this);r(f);var p=arguments.length<2,h=p?void 0:arguments[1],g=0;if(o(v,function(y){p?(p=!1,h=y):h=f(h,y,g),g++},{IS_RECORD:!0}),p)throw l(\"Reduce of empty iterator with no initial value\");return h}})},13685:function(c,m,e){\"use strict\";var a=e(79053),o=e(10917),r=e(21209),u=e(44059);a({target:\"Iterator\",proto:!0,real:!0},{some:function(d){var f=u(this),v=0;return r(d),o(f,function(p,h){if(d(p,v++))return h()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},53494:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(79722),u=e(44059),l=e(28144),d=e(13645),f=e(53192),v=e(58530),p=f(function(){var h=this.iterator;if(!this.remaining--)return this.done=!0,v(h,\"normal\",void 0);var g=r(o(this.next,h)),y=this.done=!!g.done;if(!y)return g.value});a({target:\"Iterator\",proto:!0,real:!0},{take:function(g){return new p(u(this),{remaining:d(l(+g))})}})},83489:function(c,m,e){\"use strict\";var a=e(79053),o=e(10917),r=e(44059),u=[].push;a({target:\"Iterator\",proto:!0,real:!0},{toArray:function(){var d=[];return o(r(this),u,{that:d,IS_RECORD:!0}),d}})},70704:function(c,m,e){\"use strict\";var a=e(79053),o=e(24758),r=e(25475),u=e(44059);a({target:\"Iterator\",proto:!0,real:!0},{toAsync:function(){return new r(u(new o(u(this))))}})},64086:function(c,m,e){\"use strict\";var a=e(79053),o=e(45640),r=e(95722).remove;a({target:\"Map\",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var l=o(this),d=!0,f,v=0,p=arguments.length;v<p;v++)f=r(l,arguments[v]),d=d&&f;return!!d}})},17046:function(c,m,e){\"use strict\";var a=e(79053),o=e(45640),r=e(95722),u=r.get,l=r.has,d=r.set;a({target:\"Map\",proto:!0,real:!0,forced:!0},{emplace:function(v,p){var h=o(this),g,y;return l(h,v)?(g=u(h,v),\"update\"in p&&(g=p.update(g,v,h),d(h,v,g)),g):(y=p.insert(v,h),d(h,v,y),y)}})},98003:function(c,m,e){\"use strict\";var a=e(79053),o=e(12992),r=e(45640),u=e(79298);a({target:\"Map\",proto:!0,real:!0,forced:!0},{every:function(d){var f=r(this),v=o(d,arguments.length>1?arguments[1]:void 0);return u(f,function(p,h){if(!v(p,h,f))return!1},!0)!==!1}})},29730:function(c,m,e){\"use strict\";var a=e(79053),o=e(12992),r=e(45640),u=e(95722),l=e(79298),d=u.Map,f=u.set;a({target:\"Map\",proto:!0,real:!0,forced:!0},{filter:function(p){var h=r(this),g=o(p,arguments.length>1?arguments[1]:void 0),y=new d;return l(h,function(S,I){g(S,I,h)&&f(y,I,S)}),y}})},538:function(c,m,e){\"use strict\";var a=e(79053),o=e(12992),r=e(45640),u=e(79298);a({target:\"Map\",proto:!0,real:!0,forced:!0},{findKey:function(d){var f=r(this),v=o(d,arguments.length>1?arguments[1]:void 0),p=u(f,function(h,g){if(v(h,g,f))return{key:g}},!0);return p&&p.key}})},71029:function(c,m,e){\"use strict\";var a=e(79053),o=e(12992),r=e(45640),u=e(79298);a({target:\"Map\",proto:!0,real:!0,forced:!0},{find:function(d){var f=r(this),v=o(d,arguments.length>1?arguments[1]:void 0),p=u(f,function(h,g){if(v(h,g,f))return{value:h}},!0);return p&&p.value}})},13613:function(c,m,e){var a=e(79053),o=e(30786);a({target:\"Map\",stat:!0,forced:!0},{from:o})},20127:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(42721),u=e(99476),l=e(21209),d=e(10917),f=e(95722).Map,v=r([].push);a({target:\"Map\",stat:!0,forced:!0},{groupBy:function(h,g){var y=u(this)?this:f,S=new y;l(g);var I=l(S.has),N=l(S.get),_=l(S.set);return d(h,function(M){var L=g(M);o(I,S,L)?v(o(N,S,L),M):o(_,S,L,[M])}),S}})},30003:function(c,m,e){\"use strict\";var a=e(79053),o=e(82318),r=e(45640),u=e(79298);a({target:\"Map\",proto:!0,real:!0,forced:!0},{includes:function(d){return u(r(this),function(f){if(o(f,d))return!0},!0)===!0}})},29643:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(10917),u=e(99476),l=e(21209),d=e(95722).Map;a({target:\"Map\",stat:!0,forced:!0},{keyBy:function(v,p){var h=u(this)?this:d,g=new h;l(p);var y=l(g.set);return r(v,function(S){o(y,g,p(S),S)}),g}})},7769:function(c,m,e){\"use strict\";var a=e(79053),o=e(45640),r=e(79298);a({target:\"Map\",proto:!0,real:!0,forced:!0},{keyOf:function(l){var d=r(o(this),function(f,v){if(f===l)return{key:v}},!0);return d&&d.key}})},10805:function(c,m,e){\"use strict\";var a=e(79053),o=e(12992),r=e(45640),u=e(95722),l=e(79298),d=u.Map,f=u.set;a({target:\"Map\",proto:!0,real:!0,forced:!0},{mapKeys:function(p){var h=r(this),g=o(p,arguments.length>1?arguments[1]:void 0),y=new d;return l(h,function(S,I){f(y,g(S,I,h),S)}),y}})},56672:function(c,m,e){\"use strict\";var a=e(79053),o=e(12992),r=e(45640),u=e(95722),l=e(79298),d=u.Map,f=u.set;a({target:\"Map\",proto:!0,real:!0,forced:!0},{mapValues:function(p){var h=r(this),g=o(p,arguments.length>1?arguments[1]:void 0),y=new d;return l(h,function(S,I){f(y,I,g(S,I,h))}),y}})},91618:function(c,m,e){\"use strict\";var a=e(79053),o=e(45640),r=e(10917),u=e(95722).set;a({target:\"Map\",proto:!0,real:!0,arity:1,forced:!0},{merge:function(d){for(var f=o(this),v=arguments.length,p=0;p<v;)r(arguments[p++],function(h,g){u(f,h,g)},{AS_ENTRIES:!0});return f}})},78043:function(c,m,e){var a=e(79053),o=e(73083);a({target:\"Map\",stat:!0,forced:!0},{of:o})},29737:function(c,m,e){\"use strict\";var a=e(79053),o=e(21209),r=e(45640),u=e(79298),l=TypeError;a({target:\"Map\",proto:!0,real:!0,forced:!0},{reduce:function(f){var v=r(this),p=arguments.length<2,h=p?void 0:arguments[1];if(o(f),u(v,function(g,y){p?(p=!1,h=g):h=f(h,g,y,v)}),p)throw l(\"Reduce of empty map with no initial value\");return h}})},46765:function(c,m,e){\"use strict\";var a=e(79053),o=e(12992),r=e(45640),u=e(79298);a({target:\"Map\",proto:!0,real:!0,forced:!0},{some:function(d){var f=r(this),v=o(d,arguments.length>1?arguments[1]:void 0);return u(f,function(p,h){if(v(p,h,f))return!0},!0)===!0}})},6910:function(c,m,e){\"use strict\";var a=e(79053),o=e(61977);a({target:\"Map\",proto:!0,real:!0,name:\"upsert\",forced:!0},{updateOrInsert:o})},61323:function(c,m,e){\"use strict\";var a=e(79053),o=e(21209),r=e(45640),u=e(95722),l=TypeError,d=u.get,f=u.has,v=u.set;a({target:\"Map\",proto:!0,real:!0,forced:!0},{update:function(h,g){var y=r(this),S=arguments.length;o(g);var I=f(y,h);if(!I&&S<3)throw l(\"Updating absent value\");var N=I?d(y,h):o(S>2?arguments[2]:void 0)(h,y);return v(y,h,g(N,h,y)),y}})},68360:function(c,m,e){\"use strict\";var a=e(79053),o=e(61977);a({target:\"Map\",proto:!0,real:!0,forced:!0},{upsert:o})},88865:function(c,m,e){var a=e(79053),o=Math.min,r=Math.max;a({target:\"Math\",stat:!0,forced:!0},{clamp:function(l,d,f){return o(f,r(d,l))}})},58598:function(c,m,e){var a=e(79053);a({target:\"Math\",stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180})},18066:function(c,m,e){var a=e(79053),o=180/Math.PI;a({target:\"Math\",stat:!0,forced:!0},{degrees:function(u){return u*o}})},45852:function(c,m,e){var a=e(79053),o=e(40652),r=e(76420);a({target:\"Math\",stat:!0,forced:!0},{fscale:function(l,d,f,v,p){return r(o(l,d,f,v,p))}})},32483:function(c,m,e){var a=e(79053);a({target:\"Math\",stat:!0,forced:!0},{iaddh:function(r,u,l,d){var f=r>>>0,v=u>>>0,p=l>>>0;return v+(d>>>0)+((f&p|(f|p)&~(f+p>>>0))>>>31)|0}})},74796:function(c,m,e){var a=e(79053);a({target:\"Math\",stat:!0,forced:!0},{imulh:function(r,u){var l=65535,d=+r,f=+u,v=d&l,p=f&l,h=d>>16,g=f>>16,y=(h*p>>>0)+(v*p>>>16);return h*g+(y>>16)+((v*g>>>0)+(y&l)>>16)}})},61003:function(c,m,e){var a=e(79053);a({target:\"Math\",stat:!0,forced:!0},{isubh:function(r,u,l,d){var f=r>>>0,v=u>>>0,p=l>>>0;return v-(d>>>0)-((~f&p|~(f^p)&f-p>>>0)>>>31)|0}})},81600:function(c,m,e){var a=e(79053);a({target:\"Math\",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI})},37355:function(c,m,e){var a=e(79053),o=Math.PI/180;a({target:\"Math\",stat:!0,forced:!0},{radians:function(u){return u*o}})},17468:function(c,m,e){var a=e(79053),o=e(40652);a({target:\"Math\",stat:!0,forced:!0},{scale:o})},83036:function(c,m,e){var a=e(79053),o=e(79722),r=e(73781),u=e(12021),l=e(84810),d=e(27956),f=\"Seeded Random\",v=f+\" Generator\",p='Math.seededPRNG() argument should have a \"seed\" field with a finite value.',h=d.set,g=d.getterFor(v),y=TypeError,S=u(function(N){h(this,{type:v,seed:N%2147483647})},f,function(){var N=g(this),_=N.seed=(N.seed*1103515245+12345)%2147483647;return l((_&1073741823)/1073741823,!1)});a({target:\"Math\",stat:!0,forced:!0},{seededPRNG:function(N){var _=o(N).seed;if(!r(_))throw y(p);return new S(_)}})},64516:function(c,m,e){var a=e(79053);a({target:\"Math\",stat:!0,forced:!0},{signbit:function(r){var u=+r;return u==u&&u==0?1/u==-1/0:u<0}})},97121:function(c,m,e){var a=e(79053);a({target:\"Math\",stat:!0,forced:!0},{umulh:function(r,u){var l=65535,d=+r,f=+u,v=d&l,p=f&l,h=d>>>16,g=f>>>16,y=(h*p>>>0)+(v*p>>>16);return h*g+(y>>>16)+((v*g>>>0)+(y&l)>>>16)}})},3749:function(c,m,e){\"use strict\";var a=e(79053),o=e(42721),r=e(76628),u=e(22592),l=\"Invalid number representation\",d=\"Invalid radix\",f=RangeError,v=SyntaxError,p=TypeError,h=/^[\\da-z]+$/,g=o(\"\".charAt),y=o(h.exec),S=o(1 .toString),I=o(\"\".slice);a({target:\"Number\",stat:!0,forced:!0},{fromString:function(_,M){var L=1,k,U;if(typeof _!=\"string\")throw p(l);if(!_.length||g(_,0)==\"-\"&&(L=-1,_=I(_,1),!_.length))throw v(l);if(k=M===void 0?10:r(M),k<2||k>36)throw f(d);if(!y(h,_)||S(U=u(_,k),k)!==_)throw v(l);return L*U}})},32585:function(c,m,e){\"use strict\";var a=e(79053),o=e(15827);a({target:\"Number\",stat:!0,forced:!0},{range:function(u,l,d){return new o(u,l,d,\"number\",0,1)}})},80676:function(c,m,e){\"use strict\";var a=e(79053),o=e(23891);a({target:\"Object\",stat:!0,forced:!0},{iterateEntries:function(u){return new o(u,\"entries\")}})},2939:function(c,m,e){\"use strict\";var a=e(79053),o=e(23891);a({target:\"Object\",stat:!0,forced:!0},{iterateKeys:function(u){return new o(u,\"keys\")}})},43645:function(c,m,e){\"use strict\";var a=e(79053),o=e(23891);a({target:\"Object\",stat:!0,forced:!0},{iterateValues:function(u){return new o(u,\"values\")}})},37730:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(41737),u=e(32520),l=e(21209),d=e(79722),f=e(91372),v=e(99476),p=e(64264),h=e(98822),g=e(36329),y=e(75001),S=e(82709),I=e(73538),N=e(30129),_=e(9591),M=e(27956),L=e(17985),k=_(\"observable\"),U=\"Observable\",x=\"Subscription\",F=\"SubscriptionObserver\",K=M.getterFor,G=M.set,q=K(U),X=K(x),oe=K(F),Ee=function(T){this.observer=d(T),this.cleanup=void 0,this.subscriptionObserver=void 0};Ee.prototype={type:x,clean:function(){var T=this.cleanup;if(T){this.cleanup=void 0;try{T()}catch(R){N(R)}}},close:function(){if(!r){var T=this.facade,R=this.subscriptionObserver;T.closed=!0,R&&(R.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var Te=function(T,R){var j=G(this,new Ee(T)),C;r||(this.closed=!1);try{(C=g(T,\"start\"))&&o(C,T,this)}catch(ge){N(ge)}if(!j.isClosed()){var B=j.subscriptionObserver=new ae(j);try{var fe=R(B),Ae=fe;p(fe)||(j.cleanup=v(fe.unsubscribe)?function(){Ae.unsubscribe()}:l(fe))}catch(ge){B.error(ge);return}j.isClosed()&&j.clean()}};Te.prototype=S({},{unsubscribe:function(){var R=X(this);R.isClosed()||(R.close(),R.clean())}}),r&&I(Te.prototype,\"closed\",{configurable:!0,get:function(){return X(this).isClosed()}});var ae=function(T){G(this,{type:F,subscriptionState:T}),r||(this.closed=!1)};ae.prototype=S({},{next:function(R){var j=oe(this).subscriptionState;if(!j.isClosed()){var C=j.observer;try{var B=g(C,\"next\");B&&o(B,C,R)}catch(fe){N(fe)}}},error:function(R){var j=oe(this).subscriptionState;if(!j.isClosed()){var C=j.observer;j.close();try{var B=g(C,\"error\");B?o(B,C,R):N(R)}catch(fe){N(fe)}j.clean()}},complete:function(){var R=oe(this).subscriptionState;if(!R.isClosed()){var j=R.observer;R.close();try{var C=g(j,\"complete\");C&&o(C,j)}catch(B){N(B)}R.clean()}}}),r&&I(ae.prototype,\"closed\",{configurable:!0,get:function(){return oe(this).subscriptionState.isClosed()}});var z=function(R){f(this,A),G(this,{type:U,subscriber:l(R)})},A=z.prototype;S(A,{subscribe:function(R){var j=arguments.length;return new Te(v(R)?{next:R,error:j>1?arguments[1]:void 0,complete:j>2?arguments[2]:void 0}:h(R)?R:{},q(this).subscriber)}}),y(A,k,function(){return this}),a({global:!0,constructor:!0,forced:L},{Observable:z}),u(U)},8284:function(c,m,e){\"use strict\";var a=e(79053),o=e(44660),r=e(61217),u=e(79722),l=e(3437),d=e(48429),f=e(36329),v=e(10917),p=e(9591),h=e(17985),g=p(\"observable\");a({target:\"Observable\",stat:!0,forced:h},{from:function(S){var I=l(this)?this:o(\"Observable\"),N=f(u(S),g);if(N){var _=u(r(N,S));return _.constructor===I?_:new I(function(L){return _.subscribe(L)})}var M=d(S);return new I(function(L){v(M,function(k,U){if(L.next(k),L.closed)return U()},{IS_ITERATOR:!0,INTERRUPTED:!0}),L.complete()})}})},52180:function(c,m,e){e(37730),e(8284),e(89340)},89340:function(c,m,e){\"use strict\";var a=e(79053),o=e(44660),r=e(3437),u=e(17985),l=o(\"Array\");a({target:\"Observable\",stat:!0,forced:u},{of:function(){for(var f=r(this)?this:o(\"Observable\"),v=arguments.length,p=l(v),h=0;h<v;)p[h]=arguments[h++];return new f(function(g){for(var y=0;y<v;y++)if(g.next(p[y]),g.closed)return;g.complete()})}})},15496:function(c,m,e){\"use strict\";var a=e(79053),o=e(75517),r=e(62738);a({target:\"Promise\",stat:!0,forced:!0},{try:function(u){var l=o.f(this),d=r(u);return(d.error?l.reject:l.resolve)(d.value),l.promise}})},26169:function(c,m,e){var a=e(79053),o=e(10136),r=e(79722),u=o.toKey,l=o.set;a({target:\"Reflect\",stat:!0},{defineMetadata:function(f,v,p){var h=arguments.length<4?void 0:u(arguments[3]);l(f,v,r(p),h)}})},20051:function(c,m,e){var a=e(79053),o=e(10136),r=e(79722),u=o.toKey,l=o.getMap,d=o.store;a({target:\"Reflect\",stat:!0},{deleteMetadata:function(v,p){var h=arguments.length<3?void 0:u(arguments[2]),g=l(r(p),h,!1);if(g===void 0||!g.delete(v))return!1;if(g.size)return!0;var y=d.get(p);return y.delete(h),!!y.size||d.delete(p)}})},90351:function(c,m,e){var a=e(79053),o=e(42721),r=e(10136),u=e(79722),l=e(60533),d=e(94763),f=o(d),v=o([].concat),p=r.keys,h=r.toKey,g=function(y,S){var I=p(y,S),N=l(y);if(N===null)return I;var _=g(N,S);return _.length?I.length?f(v(I,_)):_:I};a({target:\"Reflect\",stat:!0},{getMetadataKeys:function(S){var I=arguments.length<2?void 0:h(arguments[1]);return g(u(S),I)}})},92056:function(c,m,e){var a=e(79053),o=e(10136),r=e(79722),u=e(60533),l=o.has,d=o.get,f=o.toKey,v=function(p,h,g){var y=l(p,h,g);if(y)return d(p,h,g);var S=u(h);return S!==null?v(p,S,g):void 0};a({target:\"Reflect\",stat:!0},{getMetadata:function(h,g){var y=arguments.length<3?void 0:f(arguments[2]);return v(h,r(g),y)}})},60765:function(c,m,e){var a=e(79053),o=e(10136),r=e(79722),u=o.keys,l=o.toKey;a({target:\"Reflect\",stat:!0},{getOwnMetadataKeys:function(f){var v=arguments.length<2?void 0:l(arguments[1]);return u(r(f),v)}})},21764:function(c,m,e){var a=e(79053),o=e(10136),r=e(79722),u=o.get,l=o.toKey;a({target:\"Reflect\",stat:!0},{getOwnMetadata:function(f,v){var p=arguments.length<3?void 0:l(arguments[2]);return u(f,r(v),p)}})},3723:function(c,m,e){var a=e(79053),o=e(10136),r=e(79722),u=e(60533),l=o.has,d=o.toKey,f=function(v,p,h){var g=l(v,p,h);if(g)return!0;var y=u(p);return y!==null?f(v,y,h):!1};a({target:\"Reflect\",stat:!0},{hasMetadata:function(p,h){var g=arguments.length<3?void 0:d(arguments[2]);return f(p,r(h),g)}})},39332:function(c,m,e){var a=e(79053),o=e(10136),r=e(79722),u=o.has,l=o.toKey;a({target:\"Reflect\",stat:!0},{hasOwnMetadata:function(f,v){var p=arguments.length<3?void 0:l(arguments[2]);return u(f,r(v),p)}})},71669:function(c,m,e){var a=e(79053),o=e(10136),r=e(79722),u=o.toKey,l=o.set;a({target:\"Reflect\",stat:!0},{metadata:function(f,v){return function(h,g){l(f,v,r(h),u(g))}}})},6772:function(c,m,e){\"use strict\";var a=e(79053),o=e(27458),r=e(67410).add;a({target:\"Set\",proto:!0,real:!0,forced:!0},{addAll:function(){for(var l=o(this),d=0,f=arguments.length;d<f;d++)r(l,arguments[d]);return l}})},5135:function(c,m,e){\"use strict\";var a=e(79053),o=e(27458),r=e(67410).remove;a({target:\"Set\",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var l=o(this),d=!0,f,v=0,p=arguments.length;v<p;v++)f=r(l,arguments[v]),d=d&&f;return!!d}})},49395:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(90020),u=e(69873);a({target:\"Set\",proto:!0,real:!0,forced:!0},{difference:function(d){return o(u,this,r(d))}})},52074:function(c,m,e){var a=e(79053),o=e(69873),r=e(39069);a({target:\"Set\",proto:!0,real:!0,forced:!r(\"difference\")},{difference:o})},35939:function(c,m,e){\"use strict\";var a=e(79053),o=e(12992),r=e(27458),u=e(46357);a({target:\"Set\",proto:!0,real:!0,forced:!0},{every:function(d){var f=r(this),v=o(d,arguments.length>1?arguments[1]:void 0);return u(f,function(p){if(!v(p,p,f))return!1},!0)!==!1}})},26910:function(c,m,e){\"use strict\";var a=e(79053),o=e(12992),r=e(27458),u=e(67410),l=e(46357),d=u.Set,f=u.add;a({target:\"Set\",proto:!0,real:!0,forced:!0},{filter:function(p){var h=r(this),g=o(p,arguments.length>1?arguments[1]:void 0),y=new d;return l(h,function(S){g(S,S,h)&&f(y,S)}),y}})},48534:function(c,m,e){\"use strict\";var a=e(79053),o=e(12992),r=e(27458),u=e(46357);a({target:\"Set\",proto:!0,real:!0,forced:!0},{find:function(d){var f=r(this),v=o(d,arguments.length>1?arguments[1]:void 0),p=u(f,function(h){if(v(h,h,f))return{value:h}},!0);return p&&p.value}})},37821:function(c,m,e){var a=e(79053),o=e(30786);a({target:\"Set\",stat:!0,forced:!0},{from:o})},31998:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(90020),u=e(18940);a({target:\"Set\",proto:!0,real:!0,forced:!0},{intersection:function(d){return o(u,this,r(d))}})},90435:function(c,m,e){var a=e(79053),o=e(18940),r=e(39069);a({target:\"Set\",proto:!0,real:!0,forced:!r(\"intersection\")},{intersection:o})},67894:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(90020),u=e(85208);a({target:\"Set\",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(d){return o(u,this,r(d))}})},67786:function(c,m,e){var a=e(79053),o=e(85208),r=e(39069);a({target:\"Set\",proto:!0,real:!0,forced:!r(\"isDisjointFrom\")},{isDisjointFrom:o})},17250:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(90020),u=e(15465);a({target:\"Set\",proto:!0,real:!0,forced:!0},{isSubsetOf:function(d){return o(u,this,r(d))}})},11573:function(c,m,e){var a=e(79053),o=e(15465),r=e(39069);a({target:\"Set\",proto:!0,real:!0,forced:!r(\"isSubsetOf\")},{isSubsetOf:o})},45816:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(90020),u=e(71541);a({target:\"Set\",proto:!0,real:!0,forced:!0},{isSupersetOf:function(d){return o(u,this,r(d))}})},53587:function(c,m,e){var a=e(79053),o=e(71541),r=e(39069);a({target:\"Set\",proto:!0,real:!0,forced:!r(\"isSupersetOf\")},{isSupersetOf:o})},39268:function(c,m,e){\"use strict\";var a=e(79053),o=e(42721),r=e(27458),u=e(46357),l=e(17664),d=o([].join),f=o([].push);a({target:\"Set\",proto:!0,real:!0,forced:!0},{join:function(p){var h=r(this),g=p===void 0?\",\":l(p),y=[];return u(h,function(S){f(y,S)}),d(y,g)}})},58625:function(c,m,e){\"use strict\";var a=e(79053),o=e(12992),r=e(27458),u=e(67410),l=e(46357),d=u.Set,f=u.add;a({target:\"Set\",proto:!0,real:!0,forced:!0},{map:function(p){var h=r(this),g=o(p,arguments.length>1?arguments[1]:void 0),y=new d;return l(h,function(S){f(y,g(S,S,h))}),y}})},86562:function(c,m,e){var a=e(79053),o=e(73083);a({target:\"Set\",stat:!0,forced:!0},{of:o})},55631:function(c,m,e){\"use strict\";var a=e(79053),o=e(21209),r=e(27458),u=e(46357),l=TypeError;a({target:\"Set\",proto:!0,real:!0,forced:!0},{reduce:function(f){var v=r(this),p=arguments.length<2,h=p?void 0:arguments[1];if(o(f),u(v,function(g){p?(p=!1,h=g):h=f(h,g,g,v)}),p)throw l(\"Reduce of empty set with no initial value\");return h}})},55916:function(c,m,e){\"use strict\";var a=e(79053),o=e(12992),r=e(27458),u=e(46357);a({target:\"Set\",proto:!0,real:!0,forced:!0},{some:function(d){var f=r(this),v=o(d,arguments.length>1?arguments[1]:void 0);return u(f,function(p){if(v(p,p,f))return!0},!0)===!0}})},46537:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(90020),u=e(2457);a({target:\"Set\",proto:!0,real:!0,forced:!0},{symmetricDifference:function(d){return o(u,this,r(d))}})},94277:function(c,m,e){var a=e(79053),o=e(2457),r=e(39069);a({target:\"Set\",proto:!0,real:!0,forced:!r(\"symmetricDifference\")},{symmetricDifference:o})},50376:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(90020),u=e(50871);a({target:\"Set\",proto:!0,real:!0,forced:!0},{union:function(d){return o(u,this,r(d))}})},36585:function(c,m,e){var a=e(79053),o=e(50871),r=e(39069);a({target:\"Set\",proto:!0,real:!0,forced:!r(\"union\")},{union:o})},17994:function(c,m,e){\"use strict\";var a=e(79053),o=e(47423).charAt,r=e(73017),u=e(76628),l=e(17664);a({target:\"String\",proto:!0,forced:!0},{at:function(f){var v=l(r(this)),p=v.length,h=u(f),g=h>=0?h:p+h;return g<0||g>=p?void 0:o(v,g)}})},35841:function(c,m,e){\"use strict\";var a=e(79053),o=e(12021),r=e(84810),u=e(73017),l=e(17664),d=e(27956),f=e(47423),v=f.codeAt,p=f.charAt,h=\"String Iterator\",g=d.set,y=d.getterFor(h),S=o(function(N){g(this,{type:h,string:N,index:0})},\"String\",function(){var N=y(this),_=N.string,M=N.index,L;return M>=_.length?r(void 0,!0):(L=p(_,M),N.index+=L.length,r({codePoint:v(L,0),position:M},!1))});a({target:\"String\",proto:!0,forced:!0},{codePoints:function(){return new S(l(u(this)))}})},13470:function(c,m,e){var a=e(79053),o=e(44125);a({target:\"String\",stat:!0,forced:!0},{cooked:o})},15284:function(c,m,e){\"use strict\";var a=e(98170),o=e(79053),r=e(85561),u=e(44660),l=e(71784),d=e(42721),f=e(9266),v=e(79722),p=e(17311),h=e(99476),g=e(46831),y=e(62886).f,S=e(70582),I=e(44125),N=e(29180),_=e(45460),M=u(\"WeakMap\"),L=r(\"GlobalDedentRegistry\",new M);L.has=L.has,L.get=L.get,L.set=L.set;var k=Array,U=TypeError,x=Object.freeze||Object,F=Object.isFrozen,K=Math.min,G=d(\"\".charAt),q=d(\"\".slice),X=d(\"\".split),oe=d(/./.exec),Ee=/([\\n\\u2028\\u2029]|\\r\\n?)/g,Te=RegExp(\"^[\"+_+\"]*\"),ae=RegExp(\"[^\"+_+\"]\"),z=\"Invalid tag\",A=\"Invalid opening line\",T=\"Invalid closing line\",R=function(ge){var ce=ge.raw;if(a&&!F(ce))throw U(\"Raw template should be frozen\");if(L.has(ce))return L.get(ce);var Me=j(ce),_e=B(Me);return y(_e,\"raw\",{value:x(Me)}),x(_e),L.set(ce,_e),_e},j=function(ge){var ce=p(ge),Me=g(ce),_e=k(Me),De=k(Me),Ce=0,it,V;if(!Me)throw U(z);for(;Ce<Me;Ce++){var we=ce[Ce];if(typeof we==\"string\")_e[Ce]=X(we,Ee);else throw U(z)}for(Ce=0;Ce<Me;Ce++){var Ie=Ce+1===Me;if(it=_e[Ce],Ce===0){if(it.length===1||it[0].length>0)throw U(A);it[1]=\"\"}if(Ie){if(it.length===1||oe(ae,it[it.length-1]))throw U(T);it[it.length-2]=\"\",it[it.length-1]=\"\"}for(var le=2;le<it.length;le+=2){var Ne=it[le],te=le+1===it.length&&!Ie,se=oe(Te,Ne)[0];if(!te&&se.length===Ne.length){it[le]=\"\";continue}V=C(se,V)}}var pe=V?V.length:0;for(Ce=0;Ce<Me;Ce++){it=_e[Ce];for(var ee=it[0],Se=1;Se<it.length;Se+=2)ee+=it[Se]+q(it[Se+1],pe);De[Ce]=ee}return De},C=function(ge,ce){if(ce===void 0||ge===ce)return ge;for(var Me=0,_e=K(ge.length,ce.length);Me<_e&&G(ge,Me)===G(ce,Me);Me++);return q(ge,0,Me)},B=function(ge){for(var ce=0,Me=ge.length,_e=k(Me);ce<Me;ce++)_e[ce]=N(ge[ce]);return _e},fe=function(ge){return l(function(ce){var Me=S(arguments);return Me[0]=R(v(ce)),f(ge,this,Me)},\"\")},Ae=fe(I);o({target:\"String\",stat:!0,forced:!0},{dedent:function(ce){return v(ce),h(ce)?fe(ce):f(Ae,this,arguments)}})},69308:function(c,m,e){\"use strict\";var a=e(79053),o=e(42721),r=e(73017),u=e(17664),l=o(\"\".charCodeAt);a({target:\"String\",proto:!0},{isWellFormed:function(){for(var f=u(r(this)),v=f.length,p=0;p<v;p++){var h=l(f,p);if((h&63488)==55296&&(h>=56320||++p>=v||(l(f,p)&64512)!=56320))return!1}return!0}})},87828:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(42721),u=e(73017),l=e(17664),d=e(242),f=Array,v=r(\"\".charAt),p=r(\"\".charCodeAt),h=r([].join),g=\"\".toWellFormed,y=\"\\uFFFD\",S=g&&d(function(){return o(g,1)!==\"1\"});a({target:\"String\",proto:!0,forced:S},{toWellFormed:function(){var N=l(u(this));if(S)return o(g,N);for(var _=N.length,M=f(_),L=0;L<_;L++){var k=p(N,L);(k&63488)!=55296?M[L]=v(N,L):k>=56320||L+1>=_||(p(N,L+1)&64512)!=56320?M[L]=y:(M[L]=v(N,L),M[++L]=v(N,L))}return h(M,\"\")}})},60843:function(c,m,e){\"use strict\";var a=e(79053),o=e(36915),r=e(60533),u=e(89555),l=e(10315),d=e(14832),f=e(84446),v=e(38382),p=e(38247),h=e(48436),g=e(9591),y=g(\"toStringTag\"),S=Error,I=function(M,L,k){var U=o(N,this),x;return u?x=u(S(),U?r(this):N):(x=U?this:d(N),f(x,y,\"Error\")),k!==void 0&&f(x,\"message\",h(k)),p(x,I,x.stack,1),f(x,\"error\",M),f(x,\"suppressed\",L),x};u?u(I,S):l(I,S,{name:!0});var N=I.prototype=d(S.prototype,{constructor:v(1,I),message:v(1,\"\"),name:v(1,\"SuppressedError\")});a({global:!0,constructor:!0,arity:3},{SuppressedError:I})},4832:function(c,m,e){var a=e(96541);a(\"asyncDispose\")},57893:function(c,m,e){var a=e(96541);a(\"dispose\")},20310:function(c,m,e){var a=e(96541);a(\"matcher\")},66502:function(c,m,e){var a=e(96541);a(\"metadataKey\")},52417:function(c,m,e){var a=e(96541);a(\"metadata\")},84726:function(c,m,e){var a=e(96541);a(\"observable\")},92787:function(c,m,e){var a=e(96541);a(\"patternMatch\")},59213:function(c,m,e){var a=e(96541);a(\"replaceAll\")},54809:function(c,m,e){\"use strict\";var a=e(45133),o=e(20111).filterReject,r=e(91275),u=a.aTypedArray,l=a.exportTypedArrayMethod;l(\"filterOut\",function(f){var v=o(u(this),f,arguments.length>1?arguments[1]:void 0);return r(this,v)},!0)},34739:function(c,m,e){\"use strict\";var a=e(45133),o=e(20111).filterReject,r=e(91275),u=a.aTypedArray,l=a.exportTypedArrayMethod;l(\"filterReject\",function(f){var v=o(u(this),f,arguments.length>1?arguments[1]:void 0);return r(this,v)},!0)},82035:function(c,m,e){\"use strict\";var a=e(44660),o=e(94956),r=e(24706),u=e(45133),l=e(1715),d=u.aTypedArrayConstructor,f=u.exportTypedArrayStaticMethod;f(\"fromAsync\",function(p){var h=this,g=arguments.length,y=g>1?arguments[1]:void 0,S=g>2?arguments[2]:void 0;return new(a(\"Promise\"))(function(I){o(h),I(r(p,y,S))}).then(function(I){return l(d(h),I)})},!0)},73071:function(c,m,e){\"use strict\";var a=e(45133),o=e(46792),r=e(62911),u=a.aTypedArray,l=a.exportTypedArrayMethod;l(\"groupBy\",function(f){var v=arguments.length>1?arguments[1]:void 0;return o(u(this),f,v,r)},!0)},97599:function(c,m,e){e(58145)},15267:function(c,m,e){e(12904)},28291:function(c,m,e){\"use strict\";var a=e(45133),o=e(46831),r=e(66103),u=e(99928),l=e(16715),d=e(76628),f=e(242),v=a.aTypedArray,p=a.getTypedArrayConstructor,h=a.exportTypedArrayMethod,g=Math.max,y=Math.min,S=!f(function(){var I=new Int8Array([1]),N=I.toSpliced(1,0,{valueOf:function(){return I[0]=2,3}});return N[0]!==2||N[1]!==3});h(\"toSpliced\",function(N,_){var M=v(this),L=p(M),k=o(M),U=u(N,k),x=arguments.length,F=0,K,G,q,X,oe,Ee,Te;if(x===0)K=G=0;else if(x===1)K=0,G=k-U;else if(G=y(g(d(_),0),k-U),K=x-2,K){X=new L(K),q=r(X);for(var ae=2;ae<x;ae++)oe=arguments[ae],X[ae-2]=q?l(oe):+oe}for(Ee=k+K-G,Te=new L(Ee);F<U;F++)Te[F]=M[F];for(;F<U+K;F++)Te[F]=X[F-U];for(;F<Ee;F++)Te[F]=M[F+G-K];return Te},!S)},50634:function(c,m,e){\"use strict\";var a=e(42721),o=e(45133),r=e(1715),u=e(94763),l=o.aTypedArray,d=o.getTypedArrayConstructor,f=o.exportTypedArrayMethod,v=a(u);f(\"uniqueBy\",function(h){return l(this),r(d(this),v(this,h))},!0)},43059:function(c,m,e){e(88274)},80287:function(c,m,e){\"use strict\";var a=e(79053),o=e(4573),r=e(3222).remove;a({target:\"WeakMap\",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var l=o(this),d=!0,f,v=0,p=arguments.length;v<p;v++)f=r(l,arguments[v]),d=d&&f;return!!d}})},58907:function(c,m,e){\"use strict\";var a=e(79053),o=e(4573),r=e(3222),u=r.get,l=r.has,d=r.set;a({target:\"WeakMap\",proto:!0,real:!0,forced:!0},{emplace:function(v,p){var h=o(this),g,y;return l(h,v)?(g=u(h,v),\"update\"in p&&(g=p.update(g,v,h),d(h,v,g)),g):(y=p.insert(v,h),d(h,v,y),y)}})},54957:function(c,m,e){var a=e(79053),o=e(30786);a({target:\"WeakMap\",stat:!0,forced:!0},{from:o})},54889:function(c,m,e){var a=e(79053),o=e(73083);a({target:\"WeakMap\",stat:!0,forced:!0},{of:o})},54722:function(c,m,e){\"use strict\";var a=e(79053),o=e(61977);a({target:\"WeakMap\",proto:!0,real:!0,forced:!0},{upsert:o})},30861:function(c,m,e){\"use strict\";var a=e(79053),o=e(24351),r=e(82487).add;a({target:\"WeakSet\",proto:!0,real:!0,forced:!0},{addAll:function(){for(var l=o(this),d=0,f=arguments.length;d<f;d++)r(l,arguments[d]);return l}})},78674:function(c,m,e){\"use strict\";var a=e(79053),o=e(24351),r=e(82487).remove;a({target:\"WeakSet\",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var l=o(this),d=!0,f,v=0,p=arguments.length;v<p;v++)f=r(l,arguments[v]),d=d&&f;return!!d}})},94523:function(c,m,e){var a=e(79053),o=e(30786);a({target:\"WeakSet\",stat:!0,forced:!0},{from:o})},69055:function(c,m,e){var a=e(79053),o=e(73083);a({target:\"WeakSet\",stat:!0,forced:!0},{of:o})},45508:function(c,m,e){var a=e(79053),o=e(38521),r=e(82585).clear;a({global:!0,bind:!0,enumerable:!0,forced:o.clearImmediate!==r},{clearImmediate:r})},69121:function(c,m,e){\"use strict\";var a=e(79053),o=e(38521),r=e(44660),u=e(38382),l=e(62886).f,d=e(67781),f=e(91372),v=e(2707),p=e(48436),h=e(76168),g=e(63354),y=e(41737),S=e(62761),I=\"DOMException\",N=r(\"Error\"),_=r(I),M=function(){f(this,L);var ae=arguments.length,z=p(ae<1?void 0:arguments[0]),A=p(ae<2?void 0:arguments[1],\"Error\"),T=new _(z,A),R=N(z);return R.name=I,l(T,\"stack\",u(1,g(R.stack,1))),v(T,this,M),T},L=M.prototype=_.prototype,k=\"stack\"in N(I),U=\"stack\"in new _(1,2),x=_&&y&&Object.getOwnPropertyDescriptor(o,I),F=!!x&&!(x.writable&&x.configurable),K=k&&!F&&!U;a({global:!0,constructor:!0,forced:S||K},{DOMException:K?M:_});var G=r(I),q=G.prototype;if(q.constructor!==G){S||l(q,\"constructor\",u(1,G));for(var X in h)if(d(h,X)){var oe=h[X],Ee=oe.s;d(G,Ee)||l(G,Ee,u(6,oe.c))}}},2220:function(c,m,e){e(45508),e(5507)},58075:function(c,m,e){\"use strict\";var a=e(79053),o=e(38521),r=e(73538),u=e(41737),l=TypeError,d=Object.defineProperty,f=o.self!==o;try{if(u){var v=Object.getOwnPropertyDescriptor(o,\"self\");(f||!v||!v.get||!v.enumerable)&&r(o,\"self\",{get:function(){return o},set:function(h){if(this!==o)throw l(\"Illegal invocation\");d(o,\"self\",{value:h,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else a({global:!0,simple:!0,forced:f},{self:o})}catch(p){}},5507:function(c,m,e){var a=e(79053),o=e(38521),r=e(82585).set,u=e(89232),l=o.setImmediate?u(r,!1):r;a({global:!0,bind:!0,enumerable:!0,forced:o.setImmediate!==l},{setImmediate:l})},25271:function(c,m,e){var a=e(62761),o=e(79053),r=e(38521),u=e(44660),l=e(42721),d=e(242),f=e(50216),v=e(99476),p=e(3437),h=e(64264),g=e(98822),y=e(74206),S=e(10917),I=e(79722),N=e(24518),_=e(67781),M=e(40053),L=e(84446),k=e(46831),U=e(11899),x=e(72760),F=e(95722),K=e(67410),G=e(89121),q=e(65774),X=r.Object,oe=r.Array,Ee=r.Date,Te=r.Error,ae=r.EvalError,z=r.RangeError,A=r.ReferenceError,T=r.SyntaxError,R=r.TypeError,j=r.URIError,C=r.PerformanceMark,B=r.WebAssembly,fe=B&&B.CompileError||Te,Ae=B&&B.LinkError||Te,ge=B&&B.RuntimeError||Te,ce=u(\"DOMException\"),Me=F.Map,_e=F.has,De=F.get,Ce=F.set,it=K.Set,V=K.add,we=u(\"Object\",\"keys\"),Ie=l([].push),le=l((!0).valueOf),Ne=l(1 .valueOf),te=l(\"\".valueOf),se=l(Ee.prototype.getTime),pe=f(\"structuredClone\"),ee=\"DataCloneError\",Se=\"Transferring\",Q=function(b){return!d(function(){var W=new r.Set([7]),de=b(W),ye=b(X(7));return de==W||!de.has(7)||typeof ye!=\"object\"||ye!=7})&&b},Z=function(b,W){return!d(function(){var de=new W,ye=b({a:de,b:de});return!(ye&&ye.a===ye.b&&ye.a instanceof W&&ye.a.stack===de.stack)})},Y=function(b){return!d(function(){var W=b(new r.AggregateError([1],pe,{cause:3}));return W.name!=\"AggregateError\"||W.errors[0]!=1||W.message!=pe||W.cause!=3})},ue=r.structuredClone,he=a||!Z(ue,Te)||!Z(ue,ce)||!Y(ue),me=!ue&&Q(function(b){return new C(pe,{detail:b}).detail}),Oe=Q(ue)||me,We=function(b){throw new ce(\"Uncloneable type: \"+b,ee)},ke=function(b,W){throw new ce((W||\"Cloning\")+\" of \"+b+\" cannot be properly polyfilled in this engine\",ee)},It=function(){var b;try{b=new r.DataTransfer}catch(W){try{b=new r.ClipboardEvent(\"\").clipboardData}catch(de){}}return b&&b.items&&b.files?b:null},ft=function(b,W){if(y(b)&&We(\"Symbol\"),!g(b))return b;if(W){if(_e(W,b))return De(W,b)}else W=new Me;var de=N(b),ye=!1,He,rt,$e,pt,Ot,at,wt,vt,jt,At;switch(de){case\"Array\":$e=oe(k(b)),ye=!0;break;case\"Object\":$e={},ye=!0;break;case\"Map\":$e=new Me,ye=!0;break;case\"Set\":$e=new it,ye=!0;break;case\"RegExp\":$e=new RegExp(b.source,x(b));break;case\"Error\":switch(rt=b.name,rt){case\"AggregateError\":$e=u(\"AggregateError\")([]);break;case\"EvalError\":$e=ae();break;case\"RangeError\":$e=z();break;case\"ReferenceError\":$e=A();break;case\"SyntaxError\":$e=T();break;case\"TypeError\":$e=R();break;case\"URIError\":$e=j();break;case\"CompileError\":$e=fe();break;case\"LinkError\":$e=Ae();break;case\"RuntimeError\":$e=ge();break;default:$e=Te()}ye=!0;break;case\"DOMException\":$e=new ce(b.message,b.name),ye=!0;break;case\"DataView\":case\"Int8Array\":case\"Uint8Array\":case\"Uint8ClampedArray\":case\"Int16Array\":case\"Uint16Array\":case\"Int32Array\":case\"Uint32Array\":case\"Float32Array\":case\"Float64Array\":case\"BigInt64Array\":case\"BigUint64Array\":He=r[de],g(He)||ke(de),$e=new He(ft(b.buffer,W),b.byteOffset,de===\"DataView\"?b.byteLength:b.length);break;case\"DOMQuad\":try{$e=new DOMQuad(ft(b.p1,W),ft(b.p2,W),ft(b.p3,W),ft(b.p4,W))}catch(qt){Oe?$e=Oe(b):ke(de)}break;case\"FileList\":if(pt=It(),pt){for(Ot=0,at=k(b);Ot<at;Ot++)pt.items.add(ft(b[Ot],W));$e=pt.files}else Oe?$e=Oe(b):ke(de);break;case\"ImageData\":try{$e=new ImageData(ft(b.data,W),b.width,b.height,{colorSpace:b.colorSpace})}catch(qt){Oe?$e=Oe(b):ke(de)}break;default:if(Oe)$e=Oe(b);else switch(de){case\"BigInt\":$e=X(b.valueOf());break;case\"Boolean\":$e=X(le(b));break;case\"Number\":$e=X(Ne(b));break;case\"String\":$e=X(te(b));break;case\"Date\":$e=new Ee(se(b));break;case\"ArrayBuffer\":He=r.DataView,!He&&typeof b.slice!=\"function\"&&ke(de);try{if(typeof b.slice==\"function\")$e=b.slice(0);else for(at=b.byteLength,$e=new ArrayBuffer(at),jt=new He(b),At=new He($e),Ot=0;Ot<at;Ot++)At.setUint8(Ot,jt.getUint8(Ot))}catch(qt){throw new ce(\"ArrayBuffer is detached\",ee)}break;case\"SharedArrayBuffer\":$e=b;break;case\"Blob\":try{$e=b.slice(0,b.size,b.type)}catch(qt){ke(de)}break;case\"DOMPoint\":case\"DOMPointReadOnly\":He=r[de];try{$e=He.fromPoint?He.fromPoint(b):new He(b.x,b.y,b.z,b.w)}catch(qt){ke(de)}break;case\"DOMRect\":case\"DOMRectReadOnly\":He=r[de];try{$e=He.fromRect?He.fromRect(b):new He(b.x,b.y,b.width,b.height)}catch(qt){ke(de)}break;case\"DOMMatrix\":case\"DOMMatrixReadOnly\":He=r[de];try{$e=He.fromMatrix?He.fromMatrix(b):new He(b)}catch(qt){ke(de)}break;case\"AudioData\":case\"VideoFrame\":v(b.clone)||ke(de);try{$e=b.clone()}catch(qt){We(de)}break;case\"File\":try{$e=new File([b],b.name,b)}catch(qt){ke(de)}break;case\"CropTarget\":case\"CryptoKey\":case\"FileSystemDirectoryHandle\":case\"FileSystemFileHandle\":case\"FileSystemHandle\":case\"GPUCompilationInfo\":case\"GPUCompilationMessage\":case\"ImageBitmap\":case\"RTCCertificate\":case\"WebAssembly.Module\":ke(de);default:We(de)}}if(Ce(W,b,$e),ye)switch(de){case\"Array\":case\"Object\":for(wt=we(b),Ot=0,at=k(wt);Ot<at;Ot++)vt=wt[Ot],M($e,vt,ft(b[vt],W));break;case\"Map\":b.forEach(function(qt,En){Ce($e,ft(En,W),ft(qt,W))});break;case\"Set\":b.forEach(function(qt){V($e,ft(qt,W))});break;case\"Error\":L($e,\"message\",ft(b.message,W)),_(b,\"cause\")&&L($e,\"cause\",ft(b.cause,W)),rt==\"AggregateError\"&&($e.errors=ft(b.errors,W));case\"DOMException\":G&&L($e,\"stack\",ft(b.stack,W))}return $e},nn=function(b,W){if(!g(b))throw R(\"Transfer option cannot be converted to a sequence\");var de=[];S(b,function(jt){Ie(de,I(jt))});var ye=0,He=k(de),rt,$e,pt,Ot,at,wt,vt;if(q)for(Ot=ue(de,{transfer:de});ye<He;)Ce(W,de[ye],Ot[ye++]);else for(;ye<He;){if(rt=de[ye++],_e(W,rt))throw new ce(\"Duplicate transferable\",ee);switch($e=N(rt),$e){case\"ImageBitmap\":pt=r.OffscreenCanvas,p(pt)||ke($e,Se);try{wt=new pt(rt.width,rt.height),vt=wt.getContext(\"bitmaprenderer\"),vt.transferFromImageBitmap(rt),at=wt.transferToImageBitmap()}catch(jt){}break;case\"AudioData\":case\"VideoFrame\":(!v(rt.clone)||!v(rt.close))&&ke($e,Se);try{at=rt.clone(),rt.close()}catch(jt){}break;case\"ArrayBuffer\":v(rt.transfer)||ke($e,Se),at=rt.transfer();break;case\"MediaSourceHandle\":case\"MessagePort\":case\"OffscreenCanvas\":case\"ReadableStream\":case\"TransformStream\":case\"WritableStream\":ke($e,Se)}if(at===void 0)throw new ce(\"This object cannot be transferred: \"+$e,ee);Ce(W,rt,at)}};o({global:!0,enumerable:!0,sham:!q,forced:he},{structuredClone:function(W){var de=U(arguments.length,1)>1&&!h(arguments[1])?I(arguments[1]):void 0,ye=de?de.transfer:void 0,He;return ye!==void 0&&(He=new Me,nn(ye,He)),ft(W,He)}})},12454:function(c){\"use strict\";var m=function(M){return e(M)&&!a(M)};function e(_){return!!_&&typeof _==\"object\"}function a(_){var M=Object.prototype.toString.call(_);return M===\"[object RegExp]\"||M===\"[object Date]\"||u(_)}var o=typeof Symbol==\"function\"&&Symbol.for,r=o?Symbol.for(\"react.element\"):60103;function u(_){return _.$$typeof===r}function l(_){return Array.isArray(_)?[]:{}}function d(_,M){return M.clone!==!1&&M.isMergeableObject(_)?I(l(_),_,M):_}function f(_,M,L){return _.concat(M).map(function(k){return d(k,L)})}function v(_,M){if(!M.customMerge)return I;var L=M.customMerge(_);return typeof L==\"function\"?L:I}function p(_){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(_).filter(function(M){return Object.propertyIsEnumerable.call(_,M)}):[]}function h(_){return Object.keys(_).concat(p(_))}function g(_,M){try{return M in _}catch(L){return!1}}function y(_,M){return g(_,M)&&!(Object.hasOwnProperty.call(_,M)&&Object.propertyIsEnumerable.call(_,M))}function S(_,M,L){var k={};return L.isMergeableObject(_)&&h(_).forEach(function(U){k[U]=d(_[U],L)}),h(M).forEach(function(U){y(_,U)||(g(_,U)&&L.isMergeableObject(M[U])?k[U]=v(U,L)(_[U],M[U],L):k[U]=d(M[U],L))}),k}function I(_,M,L){L=L||{},L.arrayMerge=L.arrayMerge||f,L.isMergeableObject=L.isMergeableObject||m,L.cloneUnlessOtherwiseSpecified=d;var k=Array.isArray(M),U=Array.isArray(_),x=k===U;return x?k?L.arrayMerge(_,M,L):S(_,M,L):d(M,L)}I.all=function(M,L){if(!Array.isArray(M))throw new Error(\"first argument should be an array\");return M.reduce(function(k,U){return I(k,U,L)},{})};var N=I;c.exports=N},59851:function(c){var m=Object.defineProperty,e=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,r=(_,M)=>{for(var L in M)m(_,L,{get:M[L],enumerable:!0})},u=(_,M,L,k)=>{if(M&&typeof M==\"object\"||typeof M==\"function\")for(let U of a(M))!o.call(_,U)&&U!==L&&m(_,U,{get:()=>M[U],enumerable:!(k=e(M,U))||k.enumerable});return _},l=_=>u(m({},\"__esModule\",{value:!0}),_),d={};r(d,{LOCAL_DUMI_DIR:()=>f,LOCAL_PAGES_DIR:()=>p,LOCAL_THEME_DIR:()=>v,PICKED_PKG_FIELDS:()=>I,PREFERS_COLOR_ATTR:()=>y,PREFERS_COLOR_LS_KEY:()=>S,SP_ROUTE_PREFIX:()=>g,THEME_PREFIX:()=>h,USELESS_TMP_FILES:()=>N}),c.exports=l(d);var f=\".dumi\",v=`${f}/theme`,p=`${f}/pages`,h=\"dumi-theme-\",g=\"~\",y=\"data-prefers-color\",S=\"dumi:prefers-color\",I={name:\"\",description:\"\",version:\"\",license:\"\",repository:\"\",author:\"\",authors:\"\"},N=[\"tsconfig.json\",\"typings.d.ts\"]},18280:function(c,m,e){\"use strict\";e.d(m,{Ep:function(){return N},PP:function(){return h},aU:function(){return o},cP:function(){return _},lX:function(){return v},q_:function(){return p}});var a=e(51163),o;(function(M){M.Pop=\"POP\",M.Push=\"PUSH\",M.Replace=\"REPLACE\"})(o||(o={}));var r=function(M){return M};function u(M,L){if(!M){typeof console!=\"undefined\"&&console.warn(L);try{throw new Error(L)}catch(k){}}}var l=\"beforeunload\",d=\"hashchange\",f=\"popstate\";function v(M){M===void 0&&(M={});var L=M,k=L.window,U=k===void 0?document.defaultView:k,x=U.history;function F(){var ge=U.location,ce=ge.pathname,Me=ge.search,_e=ge.hash,De=x.state||{};return[De.idx,r({pathname:ce,search:Me,hash:_e,state:De.usr||null,key:De.key||\"default\"})]}var K=null;function G(){if(K)ae.call(K),K=null;else{var ge=o.Pop,ce=F(),Me=ce[0],_e=ce[1];if(ae.length){if(Me!=null){var De=oe-Me;De&&(K={action:ge,location:_e,retry:function(){fe(De*-1)}},fe(De))}}else j(ge)}}U.addEventListener(f,G);var q=o.Pop,X=F(),oe=X[0],Ee=X[1],Te=S(),ae=S();oe==null&&(oe=0,x.replaceState((0,a.Z)({},x.state,{idx:oe}),\"\"));function z(ge){return typeof ge==\"string\"?ge:N(ge)}function A(ge,ce){return ce===void 0&&(ce=null),r((0,a.Z)({pathname:Ee.pathname,hash:\"\",search:\"\"},typeof ge==\"string\"?_(ge):ge,{state:ce,key:I()}))}function T(ge,ce){return[{usr:ge.state,key:ge.key,idx:ce},z(ge)]}function R(ge,ce,Me){return!ae.length||(ae.call({action:ge,location:ce,retry:Me}),!1)}function j(ge){q=ge;var ce=F();oe=ce[0],Ee=ce[1],Te.call({action:q,location:Ee})}function C(ge,ce){var Me=o.Push,_e=A(ge,ce);function De(){C(ge,ce)}if(R(Me,_e,De)){var Ce=T(_e,oe+1),it=Ce[0],V=Ce[1];try{x.pushState(it,\"\",V)}catch(we){U.location.assign(V)}j(Me)}}function B(ge,ce){var Me=o.Replace,_e=A(ge,ce);function De(){B(ge,ce)}if(R(Me,_e,De)){var Ce=T(_e,oe),it=Ce[0],V=Ce[1];x.replaceState(it,\"\",V),j(Me)}}function fe(ge){x.go(ge)}var Ae={get action(){return q},get location(){return Ee},createHref:z,push:C,replace:B,go:fe,back:function(){fe(-1)},forward:function(){fe(1)},listen:function(ce){return Te.push(ce)},block:function(ce){var Me=ae.push(ce);return ae.length===1&&U.addEventListener(l,y),function(){Me(),ae.length||U.removeEventListener(l,y)}}};return Ae}function p(M){M===void 0&&(M={});var L=M,k=L.window,U=k===void 0?document.defaultView:k,x=U.history;function F(){var ce=_(U.location.hash.substr(1)),Me=ce.pathname,_e=Me===void 0?\"/\":Me,De=ce.search,Ce=De===void 0?\"\":De,it=ce.hash,V=it===void 0?\"\":it,we=x.state||{};return[we.idx,r({pathname:_e,search:Ce,hash:V,state:we.usr||null,key:we.key||\"default\"})]}var K=null;function G(){if(K)ae.call(K),K=null;else{var ce=o.Pop,Me=F(),_e=Me[0],De=Me[1];if(ae.length){if(_e!=null){var Ce=oe-_e;Ce&&(K={action:ce,location:De,retry:function(){Ae(Ce*-1)}},Ae(Ce))}}else C(ce)}}U.addEventListener(f,G),U.addEventListener(d,function(){var ce=F(),Me=ce[1];N(Me)!==N(Ee)&&G()});var q=o.Pop,X=F(),oe=X[0],Ee=X[1],Te=S(),ae=S();oe==null&&(oe=0,x.replaceState((0,a.Z)({},x.state,{idx:oe}),\"\"));function z(){var ce=document.querySelector(\"base\"),Me=\"\";if(ce&&ce.getAttribute(\"href\")){var _e=U.location.href,De=_e.indexOf(\"#\");Me=De===-1?_e:_e.slice(0,De)}return Me}function A(ce){return z()+\"#\"+(typeof ce==\"string\"?ce:N(ce))}function T(ce,Me){return Me===void 0&&(Me=null),r((0,a.Z)({pathname:Ee.pathname,hash:\"\",search:\"\"},typeof ce==\"string\"?_(ce):ce,{state:Me,key:I()}))}function R(ce,Me){return[{usr:ce.state,key:ce.key,idx:Me},A(ce)]}function j(ce,Me,_e){return!ae.length||(ae.call({action:ce,location:Me,retry:_e}),!1)}function C(ce){q=ce;var Me=F();oe=Me[0],Ee=Me[1],Te.call({action:q,location:Ee})}function B(ce,Me){var _e=o.Push,De=T(ce,Me);function Ce(){B(ce,Me)}if(j(_e,De,Ce)){var it=R(De,oe+1),V=it[0],we=it[1];try{x.pushState(V,\"\",we)}catch(Ie){U.location.assign(we)}C(_e)}}function fe(ce,Me){var _e=o.Replace,De=T(ce,Me);function Ce(){fe(ce,Me)}if(j(_e,De,Ce)){var it=R(De,oe),V=it[0],we=it[1];x.replaceState(V,\"\",we),C(_e)}}function Ae(ce){x.go(ce)}var ge={get action(){return q},get location(){return Ee},createHref:A,push:B,replace:fe,go:Ae,back:function(){Ae(-1)},forward:function(){Ae(1)},listen:function(Me){return Te.push(Me)},block:function(Me){var _e=ae.push(Me);return ae.length===1&&U.addEventListener(l,y),function(){_e(),ae.length||U.removeEventListener(l,y)}}};return ge}function h(M){M===void 0&&(M={});var L=M,k=L.initialEntries,U=k===void 0?[\"/\"]:k,x=L.initialIndex,F=U.map(function(C){var B=r((0,a.Z)({pathname:\"/\",search:\"\",hash:\"\",state:null,key:I()},typeof C==\"string\"?_(C):C));return B}),K=g(x==null?F.length-1:x,0,F.length-1),G=o.Pop,q=F[K],X=S(),oe=S();function Ee(C){return typeof C==\"string\"?C:N(C)}function Te(C,B){return B===void 0&&(B=null),r((0,a.Z)({pathname:q.pathname,search:\"\",hash:\"\"},typeof C==\"string\"?_(C):C,{state:B,key:I()}))}function ae(C,B,fe){return!oe.length||(oe.call({action:C,location:B,retry:fe}),!1)}function z(C,B){G=C,q=B,X.call({action:G,location:q})}function A(C,B){var fe=o.Push,Ae=Te(C,B);function ge(){A(C,B)}ae(fe,Ae,ge)&&(K+=1,F.splice(K,F.length,Ae),z(fe,Ae))}function T(C,B){var fe=o.Replace,Ae=Te(C,B);function ge(){T(C,B)}ae(fe,Ae,ge)&&(F[K]=Ae,z(fe,Ae))}function R(C){var B=g(K+C,0,F.length-1),fe=o.Pop,Ae=F[B];function ge(){R(C)}ae(fe,Ae,ge)&&(K=B,z(fe,Ae))}var j={get index(){return K},get action(){return G},get location(){return q},createHref:Ee,push:A,replace:T,go:R,back:function(){R(-1)},forward:function(){R(1)},listen:function(B){return X.push(B)},block:function(B){return oe.push(B)}};return j}function g(M,L,k){return Math.min(Math.max(M,L),k)}function y(M){M.preventDefault(),M.returnValue=\"\"}function S(){var M=[];return{get length(){return M.length},push:function(k){return M.push(k),function(){M=M.filter(function(U){return U!==k})}},call:function(k){M.forEach(function(U){return U&&U(k)})}}}function I(){return Math.random().toString(36).substr(2,8)}function N(M){var L=M.pathname,k=L===void 0?\"/\":L,U=M.search,x=U===void 0?\"\":U,F=M.hash,K=F===void 0?\"\":F;return x&&x!==\"?\"&&(k+=x.charAt(0)===\"?\"?x:\"?\"+x),K&&K!==\"#\"&&(k+=K.charAt(0)===\"#\"?K:\"#\"+K),k}function _(M){var L={};if(M){var k=M.indexOf(\"#\");k>=0&&(L.hash=M.substr(k),M=M.substr(0,k));var U=M.indexOf(\"?\");U>=0&&(L.search=M.substr(U),M=M.substr(0,U)),M&&(L.pathname=M)}return L}},72535:function(c,m,e){\"use strict\";var a=e(56237),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},u={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},d={};d[a.ForwardRef]=u,d[a.Memo]=l;function f(N){return a.isMemo(N)?l:d[N.$$typeof]||o}var v=Object.defineProperty,p=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,g=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,S=Object.prototype;function I(N,_,M){if(typeof _!=\"string\"){if(S){var L=y(_);L&&L!==S&&I(N,L,M)}var k=p(_);h&&(k=k.concat(h(_)));for(var U=f(N),x=f(_),F=0;F<k.length;++F){var K=k[F];if(!r[K]&&!(M&&M[K])&&!(x&&x[K])&&!(U&&U[K])){var G=g(_,K);try{v(N,K,G)}catch(q){}}}}return N}c.exports=I},75983:function(c,m,e){\"use strict\";e.d(m,{C:function(){return p}});var a=e(96583),o=e(72988),r=e(61829),u=e(2443);function l(h,g){return g?(0,a.pi)((0,a.pi)((0,a.pi)({},h||{}),g||{}),Object.keys(h).reduce(function(y,S){return y[S]=(0,a.pi)((0,a.pi)({},h[S]),g[S]||{}),y},{})):h}function d(h,g){return g?Object.keys(h).reduce(function(y,S){return y[S]=l(h[S],g[S]),y},(0,a.pi)({},h)):h}function f(h){return{create:function(){return{get:function(g){return h[g]},set:function(g,y){h[g]=y}}}}}function v(h){return h===void 0&&(h={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,r.H)(function(){for(var g,y=[],S=0;S<arguments.length;S++)y[S]=arguments[S];return new((g=Intl.NumberFormat).bind.apply(g,(0,a.ev)([void 0],y,!1)))},{cache:f(h.number),strategy:r.A.variadic}),getDateTimeFormat:(0,r.H)(function(){for(var g,y=[],S=0;S<arguments.length;S++)y[S]=arguments[S];return new((g=Intl.DateTimeFormat).bind.apply(g,(0,a.ev)([void 0],y,!1)))},{cache:f(h.dateTime),strategy:r.A.variadic}),getPluralRules:(0,r.H)(function(){for(var g,y=[],S=0;S<arguments.length;S++)y[S]=arguments[S];return new((g=Intl.PluralRules).bind.apply(g,(0,a.ev)([void 0],y,!1)))},{cache:f(h.pluralRules),strategy:r.A.variadic})}}var p=function(){function h(g,y,S,I){y===void 0&&(y=h.defaultLocale);var N=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(k){var U=N.formatToParts(k);if(U.length===1)return U[0].value;var x=U.reduce(function(F,K){return!F.length||K.type!==u.du.literal||typeof F[F.length-1]!=\"string\"?F.push(K.value):F[F.length-1]+=K.value,F},[]);return x.length<=1?x[0]||\"\":x},this.formatToParts=function(k){return(0,u.FK)(N.ast,N.locales,N.formatters,N.formats,k,void 0,N.message)},this.resolvedOptions=function(){var k;return{locale:((k=N.resolvedLocale)===null||k===void 0?void 0:k.toString())||Intl.NumberFormat.supportedLocalesOf(N.locales)[0]}},this.getAst=function(){return N.ast},this.locales=y,this.resolvedLocale=h.resolveLocale(y),typeof g==\"string\"){if(this.message=g,!h.__parse)throw new TypeError(\"IntlMessageFormat.__parse must be set to process `message` of type `string`\");var _=I||{},M=_.formatters,L=(0,a._T)(_,[\"formatters\"]);this.ast=h.__parse(g,(0,a.pi)((0,a.pi)({},L),{locale:this.resolvedLocale}))}else this.ast=g;if(!Array.isArray(this.ast))throw new TypeError(\"A message must be provided as a String or AST.\");this.formats=d(h.formats,S),this.formatters=I&&I.formatters||v(this.formatterCache)}return Object.defineProperty(h,\"defaultLocale\",{get:function(){return h.memoizedDefaultLocale||(h.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),h.memoizedDefaultLocale},enumerable:!1,configurable:!0}),h.memoizedDefaultLocale=null,h.resolveLocale=function(g){if(typeof Intl.Locale!=\"undefined\"){var y=Intl.NumberFormat.supportedLocalesOf(g);return y.length>0?new Intl.Locale(y[0]):new Intl.Locale(typeof g==\"string\"?g:g[0])}},h.__parse=o.Qc,h.formats={number:{integer:{maximumFractionDigits:0},currency:{style:\"currency\"},percent:{style:\"percent\"}},date:{short:{month:\"numeric\",day:\"numeric\",year:\"2-digit\"},medium:{month:\"short\",day:\"numeric\",year:\"numeric\"},long:{month:\"long\",day:\"numeric\",year:\"numeric\"},full:{weekday:\"long\",month:\"long\",day:\"numeric\",year:\"numeric\"}},time:{short:{hour:\"numeric\",minute:\"numeric\"},medium:{hour:\"numeric\",minute:\"numeric\",second:\"numeric\"},long:{hour:\"numeric\",minute:\"numeric\",second:\"numeric\",timeZoneName:\"short\"},full:{hour:\"numeric\",minute:\"numeric\",second:\"numeric\",timeZoneName:\"short\"}}},h}()},86126:function(c,m,e){\"use strict\";e.d(m,{C8:function(){return u},HR:function(){return d},YR:function(){return l},jK:function(){return o},u_:function(){return r}});var a=e(96583),o;(function(f){f.MISSING_VALUE=\"MISSING_VALUE\",f.INVALID_VALUE=\"INVALID_VALUE\",f.MISSING_INTL_API=\"MISSING_INTL_API\"})(o||(o={}));var r=function(f){(0,a.ZT)(v,f);function v(p,h,g){var y=f.call(this,p)||this;return y.code=h,y.originalMessage=g,y}return v.prototype.toString=function(){return\"[formatjs Error: \".concat(this.code,\"] \").concat(this.message)},v}(Error),u=function(f){(0,a.ZT)(v,f);function v(p,h,g,y){return f.call(this,'Invalid values for \"'.concat(p,'\": \"').concat(h,'\". Options are \"').concat(Object.keys(g).join('\", \"'),'\"'),o.INVALID_VALUE,y)||this}return v}(r),l=function(f){(0,a.ZT)(v,f);function v(p,h,g){return f.call(this,'Value for \"'.concat(p,'\" must be of type ').concat(h),o.INVALID_VALUE,g)||this}return v}(r),d=function(f){(0,a.ZT)(v,f);function v(p,h){return f.call(this,'The intl string context variable \"'.concat(p,'\" was not provided to the string \"').concat(h,'\"'),o.MISSING_VALUE,h)||this}return v}(r)},2443:function(c,m,e){\"use strict\";e.d(m,{FK:function(){return d},Gt:function(){return l},du:function(){return r}});var a=e(72988),o=e(86126),r;(function(f){f[f.literal=0]=\"literal\",f[f.object=1]=\"object\"})(r||(r={}));function u(f){return f.length<2?f:f.reduce(function(v,p){var h=v[v.length-1];return!h||h.type!==r.literal||p.type!==r.literal?v.push(p):h.value+=p.value,v},[])}function l(f){return typeof f==\"function\"}function d(f,v,p,h,g,y,S){if(f.length===1&&(0,a.O4)(f[0]))return[{type:r.literal,value:f[0].value}];for(var I=[],N=0,_=f;N<_.length;N++){var M=_[N];if((0,a.O4)(M)){I.push({type:r.literal,value:M.value});continue}if((0,a.yx)(M)){typeof y==\"number\"&&I.push({type:r.literal,value:p.getNumberFormat(v).format(y)});continue}var L=M.value;if(!(g&&L in g))throw new o.HR(L,S);var k=g[L];if((0,a.VG)(M)){(!k||typeof k==\"string\"||typeof k==\"number\")&&(k=typeof k==\"string\"||typeof k==\"number\"?String(k):\"\"),I.push({type:typeof k==\"string\"?r.literal:r.object,value:k});continue}if((0,a.rp)(M)){var U=typeof M.style==\"string\"?h.date[M.style]:(0,a.Ii)(M.style)?M.style.parsedOptions:void 0;I.push({type:r.literal,value:p.getDateTimeFormat(v,U).format(k)});continue}if((0,a.pe)(M)){var U=typeof M.style==\"string\"?h.time[M.style]:(0,a.Ii)(M.style)?M.style.parsedOptions:h.time.medium;I.push({type:r.literal,value:p.getDateTimeFormat(v,U).format(k)});continue}if((0,a.uf)(M)){var U=typeof M.style==\"string\"?h.number[M.style]:(0,a.Wh)(M.style)?M.style.parsedOptions:void 0;U&&U.scale&&(k=k*(U.scale||1)),I.push({type:r.literal,value:p.getNumberFormat(v,U).format(k)});continue}if((0,a.HI)(M)){var x=M.children,F=M.value,K=g[F];if(!l(K))throw new o.YR(F,\"function\",S);var G=d(x,v,p,h,g,y),q=K(G.map(function(Ee){return Ee.value}));Array.isArray(q)||(q=[q]),I.push.apply(I,q.map(function(Ee){return{type:typeof Ee==\"string\"?r.literal:r.object,value:Ee}}))}if((0,a.Wi)(M)){var X=M.options[k]||M.options.other;if(!X)throw new o.C8(M.value,k,Object.keys(M.options),S);I.push.apply(I,d(X.value,v,p,h,g));continue}if((0,a.Jo)(M)){var X=M.options[\"=\".concat(k)];if(!X){if(!Intl.PluralRules)throw new o.u_(`Intl.PluralRules is not available in this environment.\nTry polyfilling it using \"@formatjs/intl-pluralrules\"\n`,o.jK.MISSING_INTL_API,S);var oe=p.getPluralRules(v,{type:M.pluralType}).select(k-(M.offset||0));X=M.options[oe]||M.options.other}if(!X)throw new o.C8(M.value,k,Object.keys(M.options),S);I.push.apply(I,d(X.value,v,p,h,g,k-(M.offset||0)));continue}}return u(I)}},53670:function(c){\"use strict\";var m=function(e,a,o,r,u,l,d,f){if(!e){var v;if(a===void 0)v=new Error(\"Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.\");else{var p=[o,r,u,l,d,f],h=0;v=new Error(a.replace(/%s/g,function(){return p[h++]})),v.name=\"Invariant Violation\"}throw v.framesToPop=1,v}};c.exports=m},37581:function(c,m,e){var a,o=function(){var r=String.fromCharCode,u=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\",l=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$\",d={};function f(p,h){if(!d[p]){d[p]={};for(var g=0;g<p.length;g++)d[p][p.charAt(g)]=g}return d[p][h]}var v={compressToBase64:function(p){if(p==null)return\"\";var h=v._compress(p,6,function(g){return u.charAt(g)});switch(h.length%4){default:case 0:return h;case 1:return h+\"===\";case 2:return h+\"==\";case 3:return h+\"=\"}},decompressFromBase64:function(p){return p==null?\"\":p==\"\"?null:v._decompress(p.length,32,function(h){return f(u,p.charAt(h))})},compressToUTF16:function(p){return p==null?\"\":v._compress(p,15,function(h){return r(h+32)})+\" \"},decompressFromUTF16:function(p){return p==null?\"\":p==\"\"?null:v._decompress(p.length,16384,function(h){return p.charCodeAt(h)-32})},compressToUint8Array:function(p){for(var h=v.compress(p),g=new Uint8Array(h.length*2),y=0,S=h.length;y<S;y++){var I=h.charCodeAt(y);g[y*2]=I>>>8,g[y*2+1]=I%256}return g},decompressFromUint8Array:function(p){if(p==null)return v.decompress(p);for(var h=new Array(p.length/2),g=0,y=h.length;g<y;g++)h[g]=p[g*2]*256+p[g*2+1];var S=[];return h.forEach(function(I){S.push(r(I))}),v.decompress(S.join(\"\"))},compressToEncodedURIComponent:function(p){return p==null?\"\":v._compress(p,6,function(h){return l.charAt(h)})},decompressFromEncodedURIComponent:function(p){return p==null?\"\":p==\"\"?null:(p=p.replace(/ /g,\"+\"),v._decompress(p.length,32,function(h){return f(l,p.charAt(h))}))},compress:function(p){return v._compress(p,16,function(h){return r(h)})},_compress:function(p,h,g){if(p==null)return\"\";var y,S,I={},N={},_=\"\",M=\"\",L=\"\",k=2,U=3,x=2,F=[],K=0,G=0,q;for(q=0;q<p.length;q+=1)if(_=p.charAt(q),Object.prototype.hasOwnProperty.call(I,_)||(I[_]=U++,N[_]=!0),M=L+_,Object.prototype.hasOwnProperty.call(I,M))L=M;else{if(Object.prototype.hasOwnProperty.call(N,L)){if(L.charCodeAt(0)<256){for(y=0;y<x;y++)K=K<<1,G==h-1?(G=0,F.push(g(K)),K=0):G++;for(S=L.charCodeAt(0),y=0;y<8;y++)K=K<<1|S&1,G==h-1?(G=0,F.push(g(K)),K=0):G++,S=S>>1}else{for(S=1,y=0;y<x;y++)K=K<<1|S,G==h-1?(G=0,F.push(g(K)),K=0):G++,S=0;for(S=L.charCodeAt(0),y=0;y<16;y++)K=K<<1|S&1,G==h-1?(G=0,F.push(g(K)),K=0):G++,S=S>>1}k--,k==0&&(k=Math.pow(2,x),x++),delete N[L]}else for(S=I[L],y=0;y<x;y++)K=K<<1|S&1,G==h-1?(G=0,F.push(g(K)),K=0):G++,S=S>>1;k--,k==0&&(k=Math.pow(2,x),x++),I[M]=U++,L=String(_)}if(L!==\"\"){if(Object.prototype.hasOwnProperty.call(N,L)){if(L.charCodeAt(0)<256){for(y=0;y<x;y++)K=K<<1,G==h-1?(G=0,F.push(g(K)),K=0):G++;for(S=L.charCodeAt(0),y=0;y<8;y++)K=K<<1|S&1,G==h-1?(G=0,F.push(g(K)),K=0):G++,S=S>>1}else{for(S=1,y=0;y<x;y++)K=K<<1|S,G==h-1?(G=0,F.push(g(K)),K=0):G++,S=0;for(S=L.charCodeAt(0),y=0;y<16;y++)K=K<<1|S&1,G==h-1?(G=0,F.push(g(K)),K=0):G++,S=S>>1}k--,k==0&&(k=Math.pow(2,x),x++),delete N[L]}else for(S=I[L],y=0;y<x;y++)K=K<<1|S&1,G==h-1?(G=0,F.push(g(K)),K=0):G++,S=S>>1;k--,k==0&&(k=Math.pow(2,x),x++)}for(S=2,y=0;y<x;y++)K=K<<1|S&1,G==h-1?(G=0,F.push(g(K)),K=0):G++,S=S>>1;for(;;)if(K=K<<1,G==h-1){F.push(g(K));break}else G++;return F.join(\"\")},decompress:function(p){return p==null?\"\":p==\"\"?null:v._decompress(p.length,32768,function(h){return p.charCodeAt(h)})},_decompress:function(p,h,g){var y=[],S,I=4,N=4,_=3,M=\"\",L=[],k,U,x,F,K,G,q,X={val:g(0),position:h,index:1};for(k=0;k<3;k+=1)y[k]=k;for(x=0,K=Math.pow(2,2),G=1;G!=K;)F=X.val&X.position,X.position>>=1,X.position==0&&(X.position=h,X.val=g(X.index++)),x|=(F>0?1:0)*G,G<<=1;switch(S=x){case 0:for(x=0,K=Math.pow(2,8),G=1;G!=K;)F=X.val&X.position,X.position>>=1,X.position==0&&(X.position=h,X.val=g(X.index++)),x|=(F>0?1:0)*G,G<<=1;q=r(x);break;case 1:for(x=0,K=Math.pow(2,16),G=1;G!=K;)F=X.val&X.position,X.position>>=1,X.position==0&&(X.position=h,X.val=g(X.index++)),x|=(F>0?1:0)*G,G<<=1;q=r(x);break;case 2:return\"\"}for(y[3]=q,U=q,L.push(q);;){if(X.index>p)return\"\";for(x=0,K=Math.pow(2,_),G=1;G!=K;)F=X.val&X.position,X.position>>=1,X.position==0&&(X.position=h,X.val=g(X.index++)),x|=(F>0?1:0)*G,G<<=1;switch(q=x){case 0:for(x=0,K=Math.pow(2,8),G=1;G!=K;)F=X.val&X.position,X.position>>=1,X.position==0&&(X.position=h,X.val=g(X.index++)),x|=(F>0?1:0)*G,G<<=1;y[N++]=r(x),q=N-1,I--;break;case 1:for(x=0,K=Math.pow(2,16),G=1;G!=K;)F=X.val&X.position,X.position>>=1,X.position==0&&(X.position=h,X.val=g(X.index++)),x|=(F>0?1:0)*G,G<<=1;y[N++]=r(x),q=N-1,I--;break;case 2:return L.join(\"\")}if(I==0&&(I=Math.pow(2,_),_++),y[q])M=y[q];else if(q===N)M=U+U.charAt(0);else return null;L.push(M),y[N++]=U+M.charAt(0),I--,U=M,I==0&&(I=Math.pow(2,_),_++)}}};return v}();a=function(){return o}.call(m,e,m,c),a!==void 0&&(c.exports=a)},14224:function(c){var m=c.exports={},e,a;function o(){throw new Error(\"setTimeout has not been defined\")}function r(){throw new Error(\"clearTimeout has not been defined\")}(function(){try{typeof setTimeout==\"function\"?e=setTimeout:e=o}catch(I){e=o}try{typeof clearTimeout==\"function\"?a=clearTimeout:a=r}catch(I){a=r}})();function u(I){if(e===setTimeout)return setTimeout(I,0);if((e===o||!e)&&setTimeout)return e=setTimeout,setTimeout(I,0);try{return e(I,0)}catch(N){try{return e.call(null,I,0)}catch(_){return e.call(this,I,0)}}}function l(I){if(a===clearTimeout)return clearTimeout(I);if((a===r||!a)&&clearTimeout)return a=clearTimeout,clearTimeout(I);try{return a(I)}catch(N){try{return a.call(null,I)}catch(_){return a.call(this,I)}}}var d=[],f=!1,v,p=-1;function h(){!f||!v||(f=!1,v.length?d=v.concat(d):p=-1,d.length&&g())}function g(){if(!f){var I=u(h);f=!0;for(var N=d.length;N;){for(v=d,d=[];++p<N;)v&&v[p].run();p=-1,N=d.length}v=null,f=!1,l(I)}}m.nextTick=function(I){var N=new Array(arguments.length-1);if(arguments.length>1)for(var _=1;_<arguments.length;_++)N[_-1]=arguments[_];d.push(new y(I,N)),d.length===1&&!f&&u(g)};function y(I,N){this.fun=I,this.array=N}y.prototype.run=function(){this.fun.apply(null,this.array)},m.title=\"browser\",m.browser=!0,m.env={},m.argv=[],m.version=\"\",m.versions={};function S(){}m.on=S,m.addListener=S,m.once=S,m.off=S,m.removeListener=S,m.removeAllListeners=S,m.emit=S,m.prependListener=S,m.prependOnceListener=S,m.listeners=function(I){return[]},m.binding=function(I){throw new Error(\"process.binding is not supported\")},m.cwd=function(){return\"/\"},m.chdir=function(I){throw new Error(\"process.chdir is not supported\")},m.umask=function(){return 0}},74049:function(c,m,e){\"use strict\";var a=e(36257);function o(){}function r(){}r.resetWarningCache=o,c.exports=function(){function u(f,v,p,h,g,y){if(y!==a){var S=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 S.name=\"Invariant Violation\",S}}u.isRequired=u;function l(){return u}var d={array:u,bigint:u,bool:u,func:u,number:u,object:u,string:u,symbol:u,any:u,arrayOf:l,element:u,elementType:u,instanceOf:l,node:u,objectOf:l,oneOf:l,oneOfType:l,shape:l,exact:l,checkPropTypes:r,resetWarningCache:o};return d.PropTypes=d,d}},40507:function(c,m,e){if(!1)var a,o;else c.exports=e(74049)()},36257:function(c){\"use strict\";var m=\"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED\";c.exports=m},48109:function(c,m){\"use strict\";m.Z=`import React from 'react'\nimport WebPdm from 'web-pdm'\nimport ModelTest from '../test/g6-test/mock/model-test'\nimport ModuleTest from '../test/g6-test/mock/module-test'\n// import \"../test/style.less\"\nimport './style.less'\n// import 'antd/dist/antd.css'\n\nexport default () => {\n    return (\n        <WebPdm\n            models={ModelTest}\n            modules={ModuleTest}\n            erdkey='codedemo'\n            height='850'\n            className='console-g6-page-dumi'\n        />\n    )\n}\n\n//ReactDom.render(<Page />, document.getElementById('app'))\n`},71539:function(c,m){\"use strict\";m.Z=`.console-g6-page-dumi {\n    height: 850px !important;\n}\n\n.console-g6-page-dumi-api {\n    height: 550px !important; //\\u56E0\\u4E3A\\u6587\\u4EF6\\u7684\\u5173\\u7CFB\\uFF0C\\u8FD9\\u8FB9\\u9700\\u8981\\u5F3A\\u5236\\u6307\\u5B9A\\u9AD8\\u5EA6\n    position: relative;\n}\n`},96764:function(c,m){\"use strict\";m.Z=`import React from 'react'\nimport WebPdm from 'web-pdm'\nimport { models, modules } from './typedata'\n// import 'antd/dist/antd.css'\nimport './style.less'\n\nexport default () => {\n    return (\n        <WebPdm\n            models={models}\n            onModelDetail={a => {\n                alert(\\`\\u6253\\u5F00\\u6A21\\u578B\\${a.label}(\\${a.name}) \\u7684\\u67E5\\u770B\\u94FE\\u63A5\\`)\n            }}\n            modules={modules}\n            erdkey='api'\n            height='600'\n            className='console-g6-page-dumi-api'\n        />\n    )\n}\n`},29379:function(c,m){\"use strict\";m.Z=`import { ModelConfig, ModuleConfig } from 'web-pdm'\nexport const modules: ModuleConfig[] = [\n    {\n        label: 'ER\\u56FE',\n        name: 'web-pdm'\n    }\n]\n\nexport const models: ModelConfig[] = [\n    {\n        name: 'model',\n        label: '\\u5B9E\\u4F53\\u6A21\\u578B',\n        module: 'web-pdm',\n        type: '',\n        fields: [\n            {\n                name: 'id',\n                label: '\\u4E3B\\u952E',\n                type: 'string'\n            },\n            {\n                name: 'label',\n                label: '\\u6807\\u7B7E',\n                type: 'string'\n            },\n            {\n                name: 'name',\n                label: '\\u540D\\u79F0',\n                type: 'string'\n            },\n            {\n                name: 'module',\n                label: '\\u6A21\\u5757',\n                type: 'toOne',\n                typeMeta: {\n                    type: 'Relation',\n                    relationModel: 'module'\n                }\n            },\n            {\n                name: 'fields',\n                label: '\\u62E5\\u6709\\u5B57\\u6BB5',\n                type: 'toMany',\n                typeMeta: {\n                    type: 'Relation',\n                    relationModel: 'field'\n                }\n            }\n        ]\n    },\n    {\n        name: 'module',\n        label: '\\u6A21\\u5757',\n        module: 'web-pdm',\n        type: '',\n        fields: [\n            {\n                name: 'id',\n                label: '\\u4E3B\\u952E',\n                type: 'string'\n            },\n            {\n                name: 'label',\n                label: '\\u6807\\u7B7E',\n                type: 'string'\n            },\n            {\n                name: 'name',\n                label: '\\u540D\\u79F0',\n                type: 'string'\n            },\n            {\n                name: 'models',\n                label: '\\u62E5\\u6709\\u6A21\\u578B',\n                type: 'toMany',\n                typeMeta: {\n                    type: 'Relation',\n                    relationModel: 'model'\n                }\n            }\n        ]\n    },\n    {\n        name: 'field',\n        label: '\\u5B57\\u6BB5',\n        module: 'web-pdm',\n        type: '',\n        fields: [\n            {\n                name: 'id',\n                label: '\\u4E3B\\u952E',\n                type: 'string'\n            },\n            {\n                name: 'label',\n                label: '\\u6807\\u7B7E',\n                type: 'string'\n            },\n            {\n                name: 'name',\n                label: '\\u540D\\u79F0',\n                type: 'string'\n            },\n            {\n                name: 'model',\n                label: '\\u6A21\\u578B',\n                type: 'toOne',\n                typeMeta: {\n                    type: 'Relation',\n                    relationModel: 'model'\n                }\n            },\n            {\n                name: 'metaType',\n                label: '\\u5173\\u8054\\u4FE1\\u606F',\n                type: 'toOne',\n                typeMeta: {\n                    type: 'Relation',\n                    relationModel: 'metaType'\n                }\n            }\n        ]\n    },\n    {\n        name: 'metaType',\n        label: '\\u5B57\\u6BB5\\u5143\\u6570\\u636E',\n        module: 'web-pdm',\n        type: '',\n        fields: [\n            {\n                name: 'id',\n                label: '\\u4E3B\\u952E',\n                type: 'string'\n            },\n            {\n                name: 'label',\n                label: '\\u6807\\u7B7E',\n                type: 'string'\n            },\n            {\n                name: 'name',\n                label: '\\u540D\\u79F0',\n                type: 'string'\n            }\n        ]\n    }\n]\n`},84912:function(c,m){\"use strict\";m.Z=`export default [\n  {\n    name: 'bd_Quota_Apply',\n    originalKey: 'bd_Quota_Apply',\n    label: '\\u989D\\u5EA6\\u7533\\u8BF7',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '\\u6D41\\u6C34\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ApplyUserId',\n        originalKey: 'ApplyUserId',\n        label: '\\u7533\\u8BF7\\u4EBA',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'AcceptBank',\n        originalKey: 'AcceptBank',\n        label: '\\u627F\\u5151\\u884C',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Amount',\n        originalKey: 'Amount',\n        label: '\\u91D1\\u989D',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Price',\n        originalKey: 'Price',\n        label: '\\u62A5\\u4EF7',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'PriceType',\n        originalKey: 'PriceType',\n        label: '\\u62A5\\u4EF7\\u7C7B\\u522B',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'BankType',\n        originalKey: 'BankType',\n        label: '\\u627F\\u5151\\u884C\\u7C7B\\u522B',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'Acceptkind',\n        originalKey: 'Acceptkind',\n        label: '\\u627F\\u5151\\u65B9\\u5F0F',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'Remark',\n        originalKey: 'Remark',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u7533\\u8BF7\\u65F6\\u95F4',\n      },\n      {\n        type: 'int',\n        name: 'Status',\n        originalKey: 'Status',\n        label: '\\u72B6\\u6001',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ApproveUserId',\n        originalKey: 'ApproveUserId',\n        label: '\\u5BA1\\u6279\\u4EBA',\n      },\n    ],\n  },\n  {\n    name: 'bd_PayInfo',\n    originalKey: 'bd_PayInfo',\n    label: '\\u6253\\u6B3E\\u4FE1\\u606F',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'bd_Pay_Apply',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '\\u6D41\\u6C34\\u53F7',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'TotalAmount',\n        originalKey: 'TotalAmount',\n        label: '\\u603B\\u91D1\\u989D',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'InvoiceBank',\n        originalKey: 'InvoiceBank',\n        label: '\\u5F00\\u7968\\u884C',\n      },\n      {\n        type: 'datetime',\n        name: 'ExpireDate',\n        originalKey: 'ExpireDate',\n        label: '\\u5230\\u671F\\u65E5',\n      },\n      {\n        type: 'int',\n        name: 'DiscountDays',\n        originalKey: 'DiscountDays',\n        label: '\\u8D34\\u73B0\\u5929\\u6570',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'DiscountInterest',\n        originalKey: 'DiscountInterest',\n        label: '\\u8D34\\u73B0\\u5229\\u606F',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'PriceRate',\n        originalKey: 'PriceRate',\n        label: '\\u62A5\\u4EF7\\u5229\\u7387',\n      },\n      {\n        type: 'int',\n        name: 'PriceType',\n        originalKey: 'PriceType',\n        label: '\\u62A5\\u4EF7\\u7C7B\\u522B',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'PayRate',\n        originalKey: 'PayRate',\n        label: '\\u6253\\u6B3E\\u5229\\u7387',\n      },\n      {\n        type: 'int',\n        name: 'PayType',\n        originalKey: 'PayType',\n        label: '\\u6253\\u6B3E\\u7C7B\\u522B',\n      },\n      {\n        type: 'int',\n        name: 'PaperCount',\n        originalKey: 'PaperCount',\n        label: '\\u5F20\\u6570',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Commissions',\n        originalKey: 'Commissions',\n        label: '\\u624B\\u7EED\\u8D39',\n      },\n      {\n        type: 'int',\n        name: 'CommissionsType',\n        originalKey: 'CommissionsType',\n        label: '\\u624B\\u7EED\\u8D39\\u7C7B\\u522B',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'PayAmount',\n        originalKey: 'PayAmount',\n        label: '\\u5212\\u6B3E\\u91D1\\u989D',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'Payee',\n        originalKey: 'Payee',\n        label: '\\u6536\\u6B3E\\u5355\\u4F4D',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'PayeeAccount',\n        originalKey: 'PayeeAccount',\n        label: '\\u6536\\u6B3E\\u5355\\u4F4D\\u8D26\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'OpeningBankName',\n        originalKey: 'OpeningBankName',\n        label: '\\u5F00\\u6237\\u884C',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'OpeningBankNumber',\n        originalKey: 'OpeningBankNumber',\n        label: '\\u5F00\\u6237\\u884C\\u884C\\u53F7',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'Remark',\n        originalKey: 'Remark',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'ntext',\n        name: 'DraftImage',\n        originalKey: 'DraftImage',\n        label: '\\u7968\\u9762\\u56FE\\u7247',\n      },\n      {\n        name: '\\u7533\\u8BF7\\u4EBA',\n        originalKey: '\\u7533\\u8BF7\\u4EBA',\n        label: '\\u7533\\u8BF7\\u4EBA',\n      },\n      {\n        type: 'ntext ',\n        name: 'DEFAULTVAL',\n        originalKey: 'DEFAULTVAL',\n        label: '\\u9ED8\\u8BA4\\u503C',\n      },\n    ],\n  },\n  {\n    name: 'bd_Draft_Element',\n    originalKey: 'bd_Draft_Element',\n    label: '\\u7968\\u9762\\u8981\\u7D20',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '\\u6D41\\u6C34\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'PayApplyId',\n        typeMeta: {\n          relationModel: 'bd_Pay_Apply',\n          type: 'Relation',\n        },\n        label: '\\u5212\\u6B3E\\u7533\\u8BF7Id',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'Drawer',\n        originalKey: 'Drawer',\n        label: '\\u51FA\\u7968\\u4EBA\\u5168\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'Payee',\n        originalKey: 'Payee',\n        label: '\\u6536\\u6B3E\\u4EBA\\u5168\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'PayBank',\n        originalKey: 'PayBank',\n        label: '\\u4ED8\\u6B3E\\u884C\\u5168\\u79F0',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Amount',\n        originalKey: 'Amount',\n        label: '\\u91D1\\u989D',\n      },\n      {\n        type: 'datetime',\n        name: 'DraftDate',\n        originalKey: 'DraftDate',\n        label: '\\u51FA\\u7968\\u65E5\\u671F',\n      },\n      {\n        type: 'datetime',\n        name: 'DraftExpireDate',\n        originalKey: 'DraftExpireDate',\n        label: '\\u6C47\\u7968\\u5230\\u671F\\u65E5',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'PayBankNumber',\n        originalKey: 'PayBankNumber',\n        label: '\\u4ED8\\u6B3E\\u884C\\u884C\\u53F7',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'DraftNumber',\n        originalKey: 'DraftNumber',\n        label: '\\u7968\\u53F7',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'Remark',\n        originalKey: 'Remark',\n        label: '\\u5907\\u6CE8',\n      },\n    ],\n  },\n  {\n    name: 'db_Draft_Number',\n    originalKey: 'db_Draft_Number',\n    label: '\\u7968\\u53F7',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '\\u6D41\\u6C34\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'DraftId',\n        typeMeta: {\n          relationModel: 'bd_Draft_Element',\n          type: 'Relation',\n        },\n        label: '\\u7968\\u9762Id',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'DraftNumber',\n        originalKey: 'DraftNumber',\n        label: '\\u7968\\u53F7',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Amount',\n        originalKey: 'Amount',\n        label: '\\u91D1\\u989D',\n      },\n    ],\n  },\n  {\n    name: 'bd_Pay_Other',\n    originalKey: 'bd_Pay_Other',\n    label: '\\u5176\\u4ED6\\u4FE1\\u606F',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'bd_Pay_Apply',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '\\u6D41\\u6C34\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'Account',\n        originalKey: 'Account',\n        label: '\\u8D26\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'Payee',\n        originalKey: 'Payee',\n        label: '\\u6536\\u6B3E\\u65B9',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'OpeningBankName',\n        originalKey: 'OpeningBankName',\n        label: '\\u5F00\\u6237\\u884C',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Amount',\n        originalKey: 'Amount',\n        label: '\\u91D1\\u989D',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'Remark',\n        originalKey: 'Remark',\n        label: '\\u5907\\u6CE8',\n      },\n    ],\n  },\n  {\n    name: 'bd_Pay_Apply',\n    originalKey: 'bd_Pay_Apply',\n    label: '\\u5212\\u6B3E\\u7533\\u8BF7',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'bd_Quota_Apply',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '\\u6D41\\u6C34\\u53F7',\n      },\n      {\n        type: 'int',\n        name: 'ApproveStatus',\n        originalKey: 'ApproveStatus',\n        label: '\\u5BA1\\u6279\\u72B6\\u6001',\n      },\n      {\n        type: 'int',\n        name: 'ReviewStatus',\n        originalKey: 'ReviewStatus',\n        label: '\\u590D\\u6838\\u72B6\\u6001',\n      },\n      {\n        type: 'int',\n        name: 'PayStatus',\n        originalKey: 'PayStatus',\n        label: '\\u6253\\u6B3E\\u72B6\\u6001',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ApproveUserId',\n        originalKey: 'ApproveUserId',\n        label: '\\u5BA1\\u6279\\u4EBA',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'PayUserId',\n        originalKey: 'PayUserId',\n        label: '\\u6253\\u6B3E\\u4EBA',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ReviewUserId',\n        originalKey: 'ReviewUserId',\n        label: '\\u590D\\u6838\\u4EBA',\n      },\n      {\n        type: 'nvarchar',\n        name: '\\u7533\\u8BF7\\u4EBA',\n        originalKey: '\\u7533\\u8BF7\\u4EBA',\n        label: '\\u7533\\u8BF7\\u4EBA',\n      },\n    ],\n  },\n  {\n    name: 'bd_Quota_Day',\n    originalKey: 'bd_Quota_Day',\n    label: '\\u6BCF\\u65E5\\u989D\\u5EA6',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'TotalQuota',\n        originalKey: 'TotalQuota',\n        label: '\\u603B\\u989D\\u5EA6',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'RestQuota',\n        originalKey: 'RestQuota',\n        label: '\\u5269\\u4F59\\u989D\\u5EA6',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'LockQuota',\n        originalKey: 'LockQuota',\n        label: '\\u9501\\u5B9A\\u989D\\u5EA6',\n      },\n      {\n        type: 'datetime',\n        name: 'QuotaDate',\n        originalKey: 'QuotaDate',\n        label: '\\u989D\\u5EA6\\u65E5\\u671F',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'PayQuota',\n        originalKey: 'PayQuota',\n        label: '\\u6253\\u6B3E\\u989D\\u5EA6',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'UnPayQuota',\n        originalKey: 'UnPayQuota',\n        label: '\\u672A\\u6253\\u6B3E\\u989D\\u5EA6',\n      },\n    ],\n  },\n  {\n    name: 'bd_User',\n    originalKey: 'bd_User',\n    label: '\\u7528\\u6237\\u4FE1\\u606F',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'WechatAccount',\n        originalKey: 'WechatAccount',\n        label: '\\u5FAE\\u4FE1\\u8D26\\u53F7',\n      },\n    ],\n  },\n  {\n    name: 'bd_Message',\n    originalKey: 'bd_Message',\n    label: '\\u7CFB\\u7EDF\\u6D88\\u606F',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Content',\n        originalKey: 'Content',\n        label: '\\u5185\\u5BB9',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'Type',\n        originalKey: 'Type',\n        label: '\\u7C7B\\u522B',\n      },\n      {\n        type: 'datetime',\n        name: 'SendTime',\n        originalKey: 'SendTime',\n        label: '\\u53D1\\u9001\\u65F6\\u95F4',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u521B\\u5EFA\\u65F6\\u95F4',\n      },\n      {\n        type: 'ntext',\n        name: 'SendeeList\\\\r\\\\nSendeeList',\n        originalKey: 'SendeeList\\\\r\\\\nSendeeList',\n        label: '\\u63A5\\u6536\\u4EBA',\n      },\n    ],\n  },\n  {\n    name: 'bd_User_Message',\n    originalKey: 'bd_User_Message',\n    label: '\\u7528\\u6237\\u6D88\\u606F',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'MessageId',\n        typeMeta: {\n          relationModel: 'bd_Message',\n          type: 'Relation',\n        },\n        label: '\\u6D88\\u606FId',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ReceiveUserId',\n        originalKey: 'ReceiveUserId',\n        label: '\\u63A5\\u6536\\u4EBA',\n      },\n      {\n        type: 'int',\n        name: 'Status',\n        originalKey: 'Status',\n        label: '\\u72B6\\u6001',\n      },\n    ],\n  },\n  {\n    name: 'bd_Operation_Log',\n    originalKey: 'bd_Operation_Log',\n    label: '\\u64CD\\u4F5C\\u65E5\\u5FD7',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'ModuleName',\n        originalKey: 'ModuleName',\n        label: '\\u6A21\\u5757\\u540D',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'OpreationName',\n        originalKey: 'OpreationName',\n        label: '\\u64CD\\u4F5C\\u540D',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'Remark',\n        originalKey: 'Remark',\n        label: '\\u63CF\\u8FF0',\n      },\n    ],\n  },\n  {\n    name: 'erp_WarehouseCat',\n    originalKey: 'erp_WarehouseCat',\n    label: '\\u4ED3\\u5E93\\u7C7B\\u522B\\u8868',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ewc_Code',\n        originalKey: 'ewc_Code',\n        label: '\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ewc_Name',\n        originalKey: 'ewc_Name',\n        label: '\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ParentId',\n        originalKey: 'ParentId',\n        label: '\\u4E0A\\u7EA7\\u5206\\u7C7B',\n      },\n      {\n        type: 'bit',\n        name: 'IsParent',\n        originalKey: 'IsParent',\n        label: '\\u662F\\u5426\\u7236\\u8282\\u70B9',\n      },\n      {\n        type: 'bit',\n        name: 'IsLeaf',\n        originalKey: 'IsLeaf',\n        label: '\\u662F\\u5426\\u53F6\\u8282\\u70B9',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Arrange',\n        originalKey: 'Arrange',\n        label: '\\u6811\\u72B6\\u652F\\u6301\\u7B26\\u53F7',\n      },\n      {\n        type: 'int',\n        name: 'TreeOrder',\n        originalKey: 'TreeOrder',\n        label: '\\u6392\\u5E8F',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'ewc_Remark',\n        originalKey: 'ewc_Remark',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '\\u521B\\u5EFA\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u521B\\u5EFA\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '\\u7EC4\\u7EC7\\u673A\\u6784',\n      },\n    ],\n  },\n  {\n    name: 'erp_WarehouseInfo',\n    originalKey: 'erp_WarehouseInfo',\n    label: '\\u4ED3\\u5E93\\u4FE1\\u606F\\u8868',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ew_Code',\n        originalKey: 'ew_Code',\n        label: '\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ew_Name',\n        originalKey: 'ew_Name',\n        label: '\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ew_SimpleName',\n        originalKey: 'ew_SimpleName',\n        label: '\\u7B80\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ew_WhmanID',\n        originalKey: 'ew_WhmanID',\n        label: '\\u9ED8\\u8BA4\\u4ED3\\u7BA1\\u5458',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ew_Addr',\n        originalKey: 'ew_Addr',\n        label: '\\u4ED3\\u5E93\\u5730\\u5740',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'ew_Cat',\n        typeMeta: {\n          relationModel: 'erp_WarehouseCat',\n          type: 'Relation',\n        },\n        label: '\\u6240\\u5C5E\\u5206\\u7C7B',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'ew_QtyMax',\n        originalKey: 'ew_QtyMax',\n        label: '\\u6700\\u9AD8\\u5E93\\u5B58\\u91CF',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'ew_QtyMin',\n        originalKey: 'ew_QtyMin',\n        label: '\\u6700\\u4F4E\\u5E93\\u5B58\\u91CF',\n      },\n      {\n        type: 'navarchar(500)',\n        name: 'ew_Remark',\n        originalKey: 'ew_Remark',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '\\u521B\\u5EFA\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u521B\\u5EFA\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '\\u7EC4\\u7EC7\\u673A\\u6784',\n      },\n    ],\n  },\n  {\n    name: 'erp_GoodsCat',\n    originalKey: 'erp_GoodsCat',\n    label: '\\u5546\\u54C1\\u7C7B\\u522B\\u8868',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'egc_Code',\n        originalKey: 'egc_Code',\n        label: '\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'egc_Name',\n        originalKey: 'egc_Name',\n        label: '\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ParentId',\n        originalKey: 'ParentId',\n        label: '\\u4E0A\\u7EA7\\u5206\\u7C7B',\n      },\n      {\n        type: 'bit',\n        name: 'IsParent',\n        originalKey: 'IsParent',\n        label: '\\u662F\\u5426\\u7236\\u8282\\u70B9',\n      },\n      {\n        type: 'bit',\n        name: 'IsLeaf',\n        originalKey: 'IsLeaf',\n        label: '\\u662F\\u5426\\u53F6\\u8282\\u70B9',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Arrange',\n        originalKey: 'Arrange',\n        label: '\\u6811\\u72B6\\u652F\\u6301\\u7B26\\u53F7',\n      },\n      {\n        type: 'int',\n        name: 'TreeOrder',\n        originalKey: 'TreeOrder',\n        label: '\\u6392\\u5E8F',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'egc_Remark',\n        originalKey: 'egc_Remark',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '\\u521B\\u5EFA\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u521B\\u5EFA\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '\\u7EC4\\u7EC7\\u673A\\u6784',\n      },\n    ],\n  },\n  {\n    name: 'erp_Goods',\n    originalKey: 'erp_Goods',\n    label: '\\u5546\\u54C1\\u4FE1\\u606F\\u8868',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_Code',\n        originalKey: 'eg_Code',\n        label: '\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_Name',\n        originalKey: 'eg_Name',\n        label: '\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_SimpleName',\n        originalKey: 'eg_SimpleName',\n        label: '\\u7B80\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_EnglishName',\n        originalKey: 'eg_EnglishName',\n        label: '\\u5916\\u6587\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'eg_Specifications',\n        originalKey: 'eg_Specifications',\n        label: '\\u89C4\\u683C',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_Brand',\n        originalKey: 'eg_Brand',\n        label: '\\u54C1\\u724C',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_Unit',\n        originalKey: 'eg_Unit',\n        label: '\\u5355\\u4F4D',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_BarCode',\n        originalKey: 'eg_BarCode',\n        label: '\\u6761\\u5F62\\u7801',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'eg_Cat',\n        typeMeta: {\n          relationModel: 'erp_GoodsCat',\n          type: 'Relation',\n        },\n        label: '\\u6240\\u5C5E\\u7C7B\\u522B',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_Warehouse',\n        originalKey: 'eg_Warehouse',\n        label: '\\u6240\\u5C5E\\u4ED3\\u5E93',\n      },\n      {\n        type: 'int',\n        name: 'eg_Status',\n        originalKey: 'eg_Status',\n        label: '\\u72B6\\u6001',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'eg_Remark',\n        originalKey: 'eg_Remark',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '\\u521B\\u5EFA\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u521B\\u5EFA\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '\\u7EC4\\u7EC7\\u673A\\u6784',\n      },\n    ],\n  },\n  {\n    name: 'erp_GoodsPrice',\n    originalKey: 'erp_GoodsPrice',\n    label: '\\u5546\\u54C1\\u4EF7\\u683C\\u8868',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'egp_GoodsId',\n        typeMeta: {\n          relationModel: 'erp_Goods',\n          type: 'Relation',\n        },\n        label: '\\u5546\\u54C1',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'egp_Code',\n        originalKey: 'egp_Code',\n        label: '\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'egp_Name',\n        originalKey: 'egp_Name',\n        label: '\\u540D\\u79F0',\n      },\n      {\n        type: 'datetime',\n        name: 'egp_BeginTime',\n        originalKey: 'egp_BeginTime',\n        label: '\\u8D77\\u59CB\\u65F6\\u95F4\\u6BB5',\n      },\n      {\n        type: 'datetime',\n        name: 'egp_EndTime',\n        originalKey: 'egp_EndTime',\n        label: '\\u7ED3\\u675F\\u65F6\\u95F4\\u6BB5',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'egp_Price',\n        originalKey: 'egp_Price',\n        label: '\\u5355\\u4EF7',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'egp_Discount',\n        originalKey: 'egp_Discount',\n        label: '\\u6298\\u6263\\u7387',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'egp_FavorablePrice',\n        originalKey: 'egp_FavorablePrice',\n        label: '\\u4F18\\u60E0\\u540E\\u4EF7\\u683C',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'egp_Remark',\n        originalKey: 'egp_Remark',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '\\u521B\\u5EFA\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u521B\\u5EFA\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '\\u7EC4\\u7EC7\\u673A\\u6784',\n      },\n    ],\n  },\n  {\n    name: 'erp_CustomerCat',\n    originalKey: 'erp_CustomerCat',\n    label: '\\u5BA2\\u6237\\u7C7B\\u522B\\u8868',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ecc_Code',\n        originalKey: 'ecc_Code',\n        label: '\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ecc_Name',\n        originalKey: 'ecc_Name',\n        label: '\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ParentId',\n        originalKey: 'ParentId',\n        label: '\\u4E0A\\u7EA7\\u5206\\u7C7B',\n      },\n      {\n        type: 'bit',\n        name: 'IsParent',\n        originalKey: 'IsParent',\n        label: '\\u662F\\u5426\\u7236\\u8282\\u70B9',\n      },\n      {\n        type: 'bit',\n        name: 'IsLeaf',\n        originalKey: 'IsLeaf',\n        label: '\\u662F\\u5426\\u53F6\\u8282\\u70B9',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Arrange',\n        originalKey: 'Arrange',\n        label: '\\u6811\\u72B6\\u652F\\u6301\\u7B26\\u53F7',\n      },\n      {\n        type: 'int',\n        name: 'TreeOrder',\n        originalKey: 'TreeOrder',\n        label: '\\u6392\\u5E8F',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'ecc_Remark',\n        originalKey: 'ecc_Remark',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '\\u521B\\u5EFA\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u521B\\u5EFA\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '\\u7EC4\\u7EC7\\u673A\\u6784',\n      },\n    ],\n  },\n  {\n    name: 'erp_SupplierCat',\n    originalKey: 'erp_SupplierCat',\n    label: '\\u4F9B\\u5E94\\u5546\\u7C7B\\u522B\\u8868',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'esc_Code',\n        originalKey: 'esc_Code',\n        label: '\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'esc_Name',\n        originalKey: 'esc_Name',\n        label: '\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ParentId',\n        originalKey: 'ParentId',\n        label: '\\u4E0A\\u7EA7\\u5206\\u7C7B',\n      },\n      {\n        type: 'bit',\n        name: 'IsParent',\n        originalKey: 'IsParent',\n        label: '\\u662F\\u5426\\u7236\\u8282\\u70B9',\n      },\n      {\n        type: 'bit',\n        name: 'IsLeaf',\n        originalKey: 'IsLeaf',\n        label: '\\u662F\\u5426\\u53F6\\u8282\\u70B9',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Arrange',\n        originalKey: 'Arrange',\n        label: '\\u6811\\u72B6\\u652F\\u6301\\u7B26\\u53F7',\n      },\n      {\n        type: 'int',\n        name: 'TreeOrder',\n        originalKey: 'TreeOrder',\n        label: '\\u6392\\u5E8F',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'esc_Remark',\n        originalKey: 'esc_Remark',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '\\u521B\\u5EFA\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u521B\\u5EFA\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '\\u7EC4\\u7EC7\\u673A\\u6784',\n      },\n    ],\n  },\n  {\n    name: 'erp_CustomerInfo',\n    originalKey: 'erp_CustomerInfo',\n    label: '\\u5BA2\\u6237\\u4FE1\\u606F\\u8868',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Code',\n        originalKey: 'ec_Code',\n        label: '\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Name',\n        originalKey: 'ec_Name',\n        label: '\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_SimpleName',\n        originalKey: 'ec_SimpleName',\n        label: '\\u7B80\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_EnglishName',\n        originalKey: 'ec_EnglishName',\n        label: '\\u5916\\u6587\\u540D\\u5B57',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'ec_Cat',\n        typeMeta: {\n          relationModel: 'erp_CustomerCat',\n          type: 'Relation',\n        },\n        label: '\\u6240\\u5C5E\\u7C7B\\u522B',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_LegalPerson',\n        originalKey: 'ec_LegalPerson',\n        label: '\\u6CD5\\u4EBA\\u4EE3\\u8868',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Linkman',\n        originalKey: 'ec_Linkman',\n        label: '\\u8054\\u7CFB\\u4EBA',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Tel',\n        originalKey: 'ec_Tel',\n        label: '\\u8054\\u7CFB\\u7535\\u8BDD',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Email',\n        originalKey: 'ec_Email',\n        label: '\\u7535\\u5B50\\u90AE\\u7BB1',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Area',\n        originalKey: 'ec_Area',\n        label: '\\u6240\\u5C5E\\u5730\\u533A',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_PostalCode',\n        originalKey: 'ec_PostalCode',\n        label: '\\u90AE\\u7F16',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'ec_Addr',\n        originalKey: 'ec_Addr',\n        label: '\\u5730\\u5740',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Salesman',\n        originalKey: 'ec_Salesman',\n        label: '\\u4E1A\\u52A1\\u5458',\n      },\n      {\n        type: 'int',\n        name: 'ec_Status',\n        originalKey: 'ec_Status',\n        label: '\\u72B6\\u6001',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'ec_Remark',\n        originalKey: 'ec_Remark',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '\\u521B\\u5EFA\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u521B\\u5EFA\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '\\u7EC4\\u7EC7\\u673A\\u6784',\n      },\n    ],\n  },\n  {\n    name: 'erp_SupplierInfo',\n    originalKey: 'erp_SupplierInfo',\n    label: '\\u4F9B\\u5E94\\u5546\\u4FE1\\u606F\\u8868',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'es_Cat',\n        typeMeta: {\n          relationModel: 'erp_SupplierCat',\n          type: 'Relation',\n        },\n        label: '\\u6240\\u5C5E\\u7C7B\\u522B',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Code',\n        originalKey: 'es_Code',\n        label: '\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Name',\n        originalKey: 'es_Name',\n        label: '\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_SimpleName',\n        originalKey: 'es_SimpleName',\n        label: '\\u7B80\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_EnglishName',\n        originalKey: 'es_EnglishName',\n        label: '\\u5916\\u6587\\u540D\\u5B57',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_LegalPerson',\n        originalKey: 'es_LegalPerson',\n        label: '\\u6CD5\\u4EBA\\u4EE3\\u8868',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Tel',\n        originalKey: 'es_Tel',\n        label: '\\u8054\\u7CFB\\u7535\\u8BDD',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Eamil',\n        originalKey: 'es_Eamil',\n        label: '\\u7535\\u5B50\\u90AE\\u7BB1',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Addr',\n        originalKey: 'es_Addr',\n        label: '\\u5730\\u5740',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Salesman',\n        originalKey: 'es_Salesman',\n        label: '\\u4E1A\\u52A1\\u5458',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_BizRegisterNo',\n        originalKey: 'es_BizRegisterNo',\n        label: '\\u5DE5\\u5546\\u6CE8\\u518C\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_BusiLicence',\n        originalKey: 'es_BusiLicence',\n        label: '\\u8425\\u4E1A\\u6267\\u7167',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_TaxRegisterNo',\n        originalKey: 'es_TaxRegisterNo',\n        label: '\\u7A0E\\u52A1\\u767B\\u8BB0\\u53F7',\n      },\n      {\n        type: 'int',\n        name: 'es_Status',\n        originalKey: 'es_Status',\n        label: '\\u72B6\\u6001',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'es_Remark',\n        originalKey: 'es_Remark',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '\\u521B\\u5EFA\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u521B\\u5EFA\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '\\u7EC4\\u7EC7\\u673A\\u6784',\n      },\n    ],\n  },\n  {\n    name: 'erp_DepartmentInfo',\n    originalKey: 'erp_DepartmentInfo',\n    label: '\\u90E8\\u95E8\\u4FE1\\u606F\\u8868',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ed_Code',\n        originalKey: 'ed_Code',\n        label: '\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ed_Name',\n        originalKey: 'ed_Name',\n        label: '\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ParentId',\n        originalKey: 'ParentId',\n        label: '\\u4E0A\\u7EA7\\u5206\\u7C7B',\n      },\n      {\n        type: 'bit',\n        name: 'IsParent',\n        originalKey: 'IsParent',\n        label: '\\u662F\\u5426\\u7236\\u8282\\u70B9',\n      },\n      {\n        type: 'bit',\n        name: 'IsLeaf',\n        originalKey: 'IsLeaf',\n        label: '\\u662F\\u5426\\u53F6\\u8282\\u70B9',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Arrange',\n        originalKey: 'Arrange',\n        label: '\\u6811\\u72B6\\u652F\\u6301\\u7B26\\u53F7',\n      },\n      {\n        type: 'int',\n        name: 'TreeOrder',\n        originalKey: 'TreeOrder',\n        label: '\\u6392\\u5E8F',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'ed_Remark',\n        originalKey: 'ed_Remark',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '\\u521B\\u5EFA\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u521B\\u5EFA\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '\\u7EC4\\u7EC7\\u673A\\u6784',\n      },\n    ],\n  },\n  {\n    name: 'erp_UserInfo',\n    originalKey: 'erp_UserInfo',\n    label: '\\u5458\\u5DE5\\u4FE1\\u606F\\u8868',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_Code',\n        originalKey: 'eu_Code',\n        label: '\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_Name',\n        originalKey: 'eu_Name',\n        label: '\\u540D\\u5B57',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_EnglishName',\n        originalKey: 'eu_EnglishName',\n        label: '\\u5916\\u6587\\u540D\\u5B57',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_BirthDate',\n        originalKey: 'eu_BirthDate',\n        label: '\\u51FA\\u751F\\u5E74\\u6708',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_EntryDate',\n        originalKey: 'eu_EntryDate',\n        label: '\\u5165\\u804C\\u65F6\\u95F4',\n      },\n      {\n        type: 'int',\n        name: 'eu_Cultural',\n        originalKey: 'eu_Cultural',\n        label: '\\u6587\\u5316\\u6C34\\u5E73',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_IDCard',\n        originalKey: 'eu_IDCard',\n        label: '\\u8EAB\\u4EFD\\u8BC1\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_Tel',\n        originalKey: 'eu_Tel',\n        label: '\\u7535\\u8BDD',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_Position',\n        originalKey: 'eu_Position',\n        label: '\\u804C\\u4F4D',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'eu_Department',\n        typeMeta: {\n          relationModel: 'erp_DepartmentInfo',\n          type: 'Relation',\n        },\n        label: '\\u6240\\u5C5E\\u90E8\\u95E8',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'eu_Remark',\n        originalKey: 'eu_Remark',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '\\u521B\\u5EFA\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u521B\\u5EFA\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '\\u7EC4\\u7EC7\\u673A\\u6784',\n      },\n    ],\n  },\n  {\n    name: 'erp_BaseOperatorLog',\n    originalKey: 'erp_BaseOperatorLog',\n    label: '\\u57FA\\u7840\\u4FE1\\u606F\\u64CD\\u4F5C\\u65E5\\u5FD7',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ebol_Operator',\n        originalKey: 'ebol_Operator',\n        label: '\\u64CD\\u4F5C\\u4EBA',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ebol_TableName',\n        originalKey: 'ebol_TableName',\n        label: '\\u8868\\u540D',\n      },\n      {\n        type: 'int',\n        name: 'ebol_OperationType',\n        originalKey: 'ebol_OperationType',\n        label: '\\u64CD\\u4F5C\\u7C7B\\u578B',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'ebol_Content',\n        originalKey: 'ebol_Content',\n        label: '\\u64CD\\u4F5C\\u5185\\u5BB9',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '\\u521B\\u5EFA\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u521B\\u5EFA\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '\\u7EC4\\u7EC7\\u673A\\u6784',\n      },\n    ],\n  },\n  {\n    name: 'erp_ContactInfo',\n    originalKey: 'erp_ContactInfo',\n    label: '\\u8054\\u7CFB\\u4EBA',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'ec_ForeignKey',\n        typeMeta: {\n          relationModel: 'erp_CustomerInfo',\n          type: 'Relation',\n        },\n        label: '\\u5916\\u952E',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_ContactName',\n        originalKey: 'ec_ContactName',\n        label: '\\u8054\\u7CFB\\u4EBA',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Post',\n        originalKey: 'ec_Post',\n        label: '\\u804C\\u52A1',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Phone',\n        originalKey: 'ec_Phone',\n        label: '\\u7535\\u8BDD',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_TelPhone',\n        originalKey: 'ec_TelPhone',\n        label: '\\u624B\\u673A',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Fax',\n        originalKey: 'ec_Fax',\n        label: '\\u4F20\\u771F',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Email',\n        originalKey: 'ec_Email',\n        label: '\\u90AE\\u7BB1',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Postalcode',\n        originalKey: 'ec_Postalcode',\n        label: '\\u90AE\\u653F\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'ec_Addr',\n        originalKey: 'ec_Addr',\n        label: '\\u5730\\u5740',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '\\u521B\\u5EFA\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u521B\\u5EFA\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '\\u7EC4\\u7EC7\\u673A\\u6784',\n      },\n    ],\n  },\n  {\n    name: 'erp_BankAccount',\n    originalKey: 'erp_BankAccount',\n    label: '\\u94F6\\u884C\\u8D26\\u53F7',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'eba_ForeignKey',\n        typeMeta: {\n          relationModel: 'erp_CustomerInfo',\n          type: 'Relation',\n        },\n        label: '\\u5916\\u952E',\n      },\n      {\n        type: 'int',\n        name: 'eba_Type',\n        originalKey: 'eba_Type',\n        label: '\\u8D26\\u6237\\u7C7B\\u578B',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eba_Bank',\n        originalKey: 'eba_Bank',\n        label: '\\u5F00\\u6237\\u94F6\\u884C',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eba_Number',\n        originalKey: 'eba_Number',\n        label: '\\u8D26\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eba_Currency',\n        originalKey: 'eba_Currency',\n        label: '\\u5E01\\u79CD',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eba_Property',\n        originalKey: 'eba_Property',\n        label: '\\u8D26\\u6237\\u7528\\u9014',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'eba_Addr',\n        originalKey: 'eba_Addr',\n        label: '\\u94F6\\u884C\\u5730\\u5740',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '\\u521B\\u5EFA\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u521B\\u5EFA\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4',\n      },\n    ],\n  },\n  {\n    name: 'T9_Customer',\n    originalKey: 'T9_Customer',\n    label: '\\u5BA2\\u6237\\u4FE1\\u606F',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'T9_Repair_flow',\n          type: 'Relation',\n        },\n        label: '\\u7F16\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_CarNum',\n        originalKey: 'T9C_CarNum',\n        label: '\\u8F66\\u8F86\\u7F16\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Name',\n        originalKey: 'T9C_Name',\n        label: '\\u59D3\\u540D',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'T9C_Number',\n        originalKey: 'T9C_Number',\n        label: '\\u8054\\u7CFB\\u65B9\\u5F0F',\n      },\n      {\n        type: 'datetime',\n        name: 'T9C_DateOfBirth',\n        originalKey: 'T9C_DateOfBirth',\n        label: '\\u51FA\\u751F\\u65E5\\u671F',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9C_Address',\n        originalKey: 'T9C_Address',\n        label: '\\u5730\\u5740',\n      },\n      {\n        type: 'int',\n        name: 'T9C_Sex',\n        originalKey: 'T9C_Sex',\n        label: '\\u6027\\u522B',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_LinkMan',\n        originalKey: 'T9C_LinkMan',\n        label: '\\u8054\\u7CFB\\u4EBA',\n      },\n    ],\n  },\n  {\n    name: 'T9_Repair_flow',\n    originalKey: 'T9_Repair_flow',\n    label: '\\u7EF4\\u4FEE\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9R_RepairId',\n        typeMeta: {\n          relationModel: 'T9_NewRepairParts',\n          type: 'Relation',\n        },\n        label: '\\u6D3E\\u5355\\u7F16\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_CustomerId',\n        originalKey: 'T9R_CustomerId',\n        label: '\\u8F66\\u4E3B',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9R_CarId',\n        typeMeta: {\n          relationModel: 'T9_Car',\n          type: 'Relation',\n        },\n        label: '\\u6C7D\\u8F66\\u7F16\\u53F7',\n      },\n      {\n        type: 'int',\n        name: 'T9R_Satisfaction',\n        originalKey: 'T9R_Satisfaction',\n        label: '\\u6EE1\\u610F\\u5EA6',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_Taxfee',\n        originalKey: 'T9R_Taxfee',\n        label: '\\u7A0E\\u8D39',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_PickMan',\n        originalKey: 'T9R_PickMan',\n        label: '\\u63A5\\u8F66\\u4EBA',\n      },\n      {\n        type: 'int',\n        name: 'T9R_RepairType',\n        originalKey: 'T9R_RepairType',\n        label: '\\u7EF4\\u4FEE\\u7C7B\\u578B',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9R_PartNote',\n        originalKey: 'T9R_PartNote',\n        label: '\\u914D\\u4EF6\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9R_WorkHoursNote',\n        originalKey: 'T9R_WorkHoursNote',\n        label: '\\u5DE5\\u65F6\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9R_SettlementNote',\n        originalKey: 'T9R_SettlementNote',\n        label: '\\u7ED3\\u7B97\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_ContractNum',\n        originalKey: 'T9R_ContractNum',\n        label: '\\u7EF4\\u4FEE\\u5408\\u540C\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_WorkOrderNum',\n        originalKey: 'T9R_WorkOrderNum',\n        label: '\\u5DE5\\u5355\\u53F7\\u7801',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_HandNumber',\n        originalKey: 'T9R_HandNumber',\n        label: '\\u4EA4\\u63A5\\u5355\\u53F7',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_Withholding',\n        originalKey: 'T9R_Withholding',\n        label: '\\u4EE3\\u6536\\u4EE3\\u7F34',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_Total',\n        originalKey: 'T9R_Total',\n        label: '\\u603B\\u8BA1\\uFF08\\u5143\\uFF09',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Reckoner',\n        originalKey: 'T9R_Reckoner',\n        label: '\\u7ED3\\u7B97\\u4EBA',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_AccountNum',\n        originalKey: 'T9R_AccountNum',\n        label: '\\u8D26\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_DutyParagraph',\n        originalKey: 'T9R_DutyParagraph',\n        label: '\\u7A0E\\u53F7',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_OutfactoryTime',\n        originalKey: 'T9R_OutfactoryTime',\n        label: '\\u51FA\\u5382\\u65F6\\u95F4',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_IntofactoryTime',\n        originalKey: 'T9R_IntofactoryTime',\n        label: '\\u8FDB\\u5382\\u65F6\\u95F4',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_SettementDate',\n        originalKey: 'T9R_SettementDate',\n        label: '\\u7ED3\\u7B97\\u65E5\\u671F',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_HandDate',\n        originalKey: 'T9R_HandDate',\n        label: '\\u4EA4\\u63A5\\u65E5\\u671F',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_PreHandDate',\n        originalKey: 'T9R_PreHandDate',\n        label: '\\u9884\\u8BA1\\u4EA4\\u4ED8\\u65E5\\u671F',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_PreMaterial',\n        originalKey: 'T9R_PreMaterial',\n        label: '\\u9884\\u8BA1\\u6750\\u6599\\u8D39\\uFF08\\u542B\\u7BA1\\u7406\\u8D39\\uFF09',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_PreLabor',\n        originalKey: 'T9R_PreLabor',\n        label: '\\u9884\\u8BA1\\u5DE5\\u65F6\\u8D39',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_PreRepairSum',\n        originalKey: 'T9R_PreRepairSum',\n        label: '\\u9884\\u8BA1\\u4FEE\\u7406\\u8D39\\u603B\\u548C',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_AddMater',\n        originalKey: 'T9R_AddMater',\n        label: '\\u9700\\u589E\\u6750\\u6599\\u8D39',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_AddLabor',\n        originalKey: 'T9R_AddLabor',\n        label: '\\u9700\\u589E\\u5DE5\\u65F6\\u8D39',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_AddRepairSum',\n        originalKey: 'T9R_AddRepairSum',\n        label: '\\u9700\\u589E\\u4FEE\\u7406\\u8D39\\u603B\\u8BA1',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_DateAlter',\n        originalKey: 'T9R_DateAlter',\n        label: '\\u4EA4\\u4ED8\\u65E5\\u671F\\u4FEE\\u8BA2',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Detection',\n        originalKey: 'T9R_Detection',\n        label: '\\u59D4\\u6258\\u4FEE\\u7406\\u9879\\u76EE\\u68C0\\u9A8C',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'T9R_Opinion',\n        originalKey: 'T9R_Opinion',\n        label: '\\u63D0\\u793A\\u548C\\u5EFA\\u8BAE',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_PartPercen',\n        originalKey: 'T9R_PartPercen',\n        label: '\\u6750\\u6599\\u767E\\u5206\\u6BD4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_ChassisID',\n        originalKey: 'T9R_ChassisID',\n        label: '\\u8F66\\u67B6\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_ReceiveID',\n        originalKey: 'T9R_ReceiveID',\n        label: '\\u63A5\\u5F85\\u8005id',\n      },\n    ],\n  },\n  {\n    name: 'T9eng_WorkHours',\n    originalKey: 'T9eng_WorkHours',\n    label: '\\u5DE5\\u65F6\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9W_RepairId',\n        originalKey: 'T9W_RepairId',\n        label: '\\u6D3E\\u5355\\u53F7',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9W_Content',\n        originalKey: 'T9W_Content',\n        label: '\\u5185\\u5BB9',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9W_Money',\n        originalKey: 'T9W_Money',\n        label: '\\u5DE5\\u65F6\\u603B\\u4EF7',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9W_Price',\n        originalKey: 'T9W_Price',\n        label: '\\u5DE5\\u65F6\\u5355\\u4EF7',\n      },\n      {\n        type: 'datetime',\n        name: 'T9W_WorkTime',\n        originalKey: 'T9W_WorkTime',\n        label: '\\u5DE5\\u65F6',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9W_Class',\n        typeMeta: {\n          relationModel: 'T9_ClassGroup',\n          type: 'Relation',\n        },\n        label: '\\u73ED\\u7EC4',\n      },\n    ],\n  },\n  {\n    name: 'T9_RepairParts',\n    originalKey: 'T9_RepairParts',\n    label: '\\u7EF4\\u4FEE\\u914D\\u4EF6\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_RepairId',\n        originalKey: 'T9P_RepairId',\n        label: '\\u6D3E\\u5355\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9P_Partsid',\n        typeMeta: {\n          relationModel: 'T9_PartManger',\n          type: 'Relation',\n        },\n        label: '\\u914D\\u4EF6\\u540D\\u79F0',\n      },\n      {\n        type: 'int',\n        name: 'T9P_Number',\n        originalKey: 'T9P_Number',\n        label: '\\u6570\\u91CF',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_ExpectPrice',\n        originalKey: 'T9P_ExpectPrice',\n        label: '\\u9884\\u8BA1\\u5355\\u4EF7\\u8D39',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_ExpectAllCost',\n        originalKey: 'T9P_ExpectAllCost',\n        label: '\\u9884\\u8BA1\\u603B\\u8D39\\u7528',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_RealPrice',\n        originalKey: 'T9P_RealPrice',\n        label: '\\u5B9E\\u9645\\u5355\\u4EF7\\u8D39',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_RealAllCost',\n        originalKey: 'T9P_RealAllCost',\n        label: '\\u5B9E\\u9645\\u603B\\u8D39\\u7528',\n      },\n    ],\n  },\n  {\n    name: 'T9_Car',\n    originalKey: 'T9_Car',\n    label: '\\u6C7D\\u8F66\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_LicenseMember',\n        originalKey: 'T9C_LicenseMember',\n        label: '\\u8F66\\u724C\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9C_CarType',\n        typeMeta: {\n          relationModel: 'T9_CarStyle',\n          type: 'Relation',\n        },\n        label: '\\u8F66\\u578B',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Color',\n        originalKey: 'T9C_Color',\n        label: '\\u989C\\u8272',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_CustomerId',\n        originalKey: 'T9C_CustomerId',\n        label: '\\u8F66\\u4E3BID',\n      },\n      {\n        type: 'datetime',\n        name: 'T9C_DateOfAcquistion',\n        originalKey: 'T9C_DateOfAcquistion',\n        label: '\\u8D2D\\u7F6E\\u65E5\\u671F',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Journey',\n        originalKey: 'T9C_Journey',\n        label: '\\u884C\\u7A0B\\u516C\\u91CC',\n      },\n    ],\n  },\n  {\n    name: 'T9_NewRepairParts',\n    originalKey: 'T9_NewRepairParts',\n    label: '\\u65B0\\u589E\\u7EF4\\u4FEE\\u914D\\u4EF6\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_RepairId',\n        originalKey: 'T9P_RepairId',\n        label: '\\u6D3E\\u5355\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9P_PartsId',\n        typeMeta: {\n          relationModel: 'T9_PartManger',\n          type: 'Relation',\n        },\n        label: '\\u914D\\u4EF6\\u540D\\u79F0',\n      },\n      {\n        type: 'int',\n        name: 'T9P_Number',\n        originalKey: 'T9P_Number',\n        label: '\\u6570\\u91CF',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_ExpectPrice',\n        originalKey: 'T9P_ExpectPrice',\n        label: '\\u9884\\u8BA1\\u5355\\u4EF7\\u8D39',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_ExpectAllCost',\n        originalKey: 'T9P_ExpectAllCost',\n        label: '\\u9884\\u8BA1\\u603B\\u8D39\\u7528',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_RealPrice',\n        originalKey: 'T9P_RealPrice',\n        label: '\\u5B9E\\u9645\\u5355\\u4EF7\\u8D39',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_RealAllCost',\n        originalKey: 'T9P_RealAllCost',\n        label: '\\u5B9E\\u9645\\u603B\\u8D39\\u7528',\n      },\n    ],\n  },\n  {\n    name: 'T9_PartManger',\n    originalKey: 'T9_PartManger',\n    label: '\\u914D\\u4EF6\\u7BA1\\u7406\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'T9_PartsPrice',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_ID',\n        originalKey: 'T9P_ID',\n        label: '\\u914D\\u4EF6\\u7F16\\u53F7',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9P_Name',\n        originalKey: 'T9P_Name',\n        label: '\\u914D\\u4EF6\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_Unit',\n        originalKey: 'T9P_Unit',\n        label: '\\u5355\\u4F4D',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9P_Money',\n        originalKey: 'T9P_Money',\n        label: '\\u91D1\\u989D',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9P_CarKind',\n        typeMeta: {\n          relationModel: 'T9_CarStyle',\n          type: 'Relation',\n        },\n        label: '\\u8F66\\u7CFB',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9P_RemainMoney',\n        originalKey: 'T9P_RemainMoney',\n        label: '\\u5E93\\u5B58\\u4F59\\u989D',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarStyle',\n        originalKey: 'T9P_CarStyle',\n        label: '\\u8F66\\u578B',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarBrand',\n        originalKey: 'T9P_CarBrand',\n        label: '\\u8F66\\u54C1\\u724C',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_OriFactoryID',\n        originalKey: 'T9P_OriFactoryID',\n        label: '\\u539F\\u5382\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_InventoryID',\n        originalKey: 'T9P_InventoryID',\n        label: '\\u5E93\\u5B58\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_GoodsID',\n        originalKey: 'T9P_GoodsID',\n        label: '\\u8D27\\u4F4D\\u7F16\\u7801',\n      },\n    ],\n  },\n  {\n    name: 'T9_Repairshops',\n    originalKey: 'T9_Repairshops',\n    label: '\\u7EF4\\u4FEE\\u5382\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Name',\n        originalKey: 'T9R_Name',\n        label: '\\u7EF4\\u4FEE\\u5382\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(Max)',\n        name: 'T9R_Adress',\n        originalKey: 'T9R_Adress',\n        label: '\\u7EF4\\u4FEE\\u5382\\u5730\\u5740',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Area',\n        originalKey: 'T9R_Area',\n        label: '\\u6240\\u5728\\u533A\\u57DF',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_LinkMan',\n        originalKey: 'T9R_LinkMan',\n        label: '\\u8054\\u7CFB\\u4EBA',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Tel',\n        originalKey: 'T9R_Tel',\n        label: '\\u8054\\u7CFB\\u7535\\u8BDD',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_ Facsimile',\n        originalKey: 'T9R_ Facsimile',\n        label: '\\u4F20\\u771F',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Postalcode',\n        originalKey: 'T9R_Postalcode',\n        label: '\\u90AE\\u653F\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'T9R_Note',\n        originalKey: 'T9R_Note',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_GroupSign',\n        originalKey: 'T9R_GroupSign',\n        label: '\\u7EC4\\u7EC7\\u6807\\u5FD7',\n      },\n    ],\n  },\n  {\n    name: 'T9_Supplier',\n    originalKey: 'T9_Supplier',\n    label: '\\u4F9B\\u5E94\\u5546\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_Name',\n        originalKey: 'T9S_Name',\n        label: '\\u4F9B\\u5E94\\u5546\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_Brand',\n        originalKey: 'T9S_Brand',\n        label: '\\u4F9B\\u5E94\\u54C1\\u724C',\n      },\n      {\n        type: 'nvarchar(Max)',\n        name: 'T9S_RepairAdress',\n        originalKey: 'T9S_RepairAdress',\n        label: '\\u7EF4\\u4FEE\\u5382\\u5730\\u5740',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_Area',\n        originalKey: 'T9S_Area',\n        label: '\\u6240\\u5728\\u533A\\u57DF',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_LinkMan',\n        originalKey: 'T9S_LinkMan',\n        label: '\\u8054\\u7CFB\\u4EBA',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_Tel',\n        originalKey: 'T9S_Tel',\n        label: '\\u8054\\u7CFB\\u7535\\u8BDD',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_ Facsimile',\n        originalKey: 'T9S_ Facsimile',\n        label: '\\u4F20\\u771F',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_Postalcode',\n        originalKey: 'T9S_Postalcode',\n        label: '\\u90AE\\u653F\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'T9S_Note',\n        originalKey: 'T9S_Note',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'vnarchar(50)',\n        name: 'T9S_GroupSign',\n        originalKey: 'T9S_GroupSign',\n        label: '\\u7EC4\\u7EC7\\u6807\\u5FD7',\n      },\n    ],\n  },\n  {\n    name: 'T9_CarStyle',\n    originalKey: 'T9_CarStyle',\n    label: '\\u8F66\\u578B\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Name',\n        originalKey: 'T9C_Name',\n        label: '\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9C_SeriesID',\n        typeMeta: {\n          relationModel: 'T9_CarKind',\n          type: 'Relation',\n        },\n        label: '\\u8F66\\u7CFBID',\n      },\n    ],\n  },\n  {\n    name: 'T9_Procurement',\n    originalKey: 'T9_Procurement',\n    label: '\\u7ADE\\u4EF7\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_RepairfactoryFID',\n        originalKey: 'T9P_RepairfactoryFID',\n        label: '\\u7EF4\\u4FEE\\u5382FID',\n      },\n      {\n        type: 'nvarchar(Max)',\n        name: 'T9P_Adress',\n        originalKey: 'T9P_Adress',\n        label: '\\u6536\\u8D27\\u5730\\u5740',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_LinkMan',\n        originalKey: 'T9P_LinkMan',\n        label: '\\u6536\\u8D27\\u4EBA',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_LinkTel',\n        originalKey: 'T9P_LinkTel',\n        label: '\\u6536\\u4EBA\\u8054\\u7CFB\\u65B9\\u5F0F',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarStyleID',\n        originalKey: 'T9P_CarStyleID',\n        label: '\\u8F66\\u7CFBID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_PartName',\n        originalKey: 'T9P_PartName',\n        label: '\\u914D\\u4EF6ID',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'T9P_Note',\n        originalKey: 'T9P_Note',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_Num',\n        originalKey: 'T9P_Num',\n        label: '\\u6570\\u91CF',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9P_finallyprice\\\\r\\\\nT9P_FinallyPirce',\n        originalKey: 'T9P_finallyprice\\\\r\\\\nT9P_FinallyPirce',\n        label: '\\u6700\\u7EC8\\u6210\\u4EA4\\u4EF7\\u683C',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9P_MinPrice',\n        originalKey: 'T9P_MinPrice',\n        label: '\\u7ADE\\u4EF7\\u6700\\u4F4E\\u4EF7\\u683C',\n      },\n      {\n        type: 'int',\n        name: 'T9P_PriceState',\n        originalKey: 'T9P_PriceState',\n        label: '\\u91C7\\u8D2D\\u4FE1\\u606F\\u72B6\\u6001',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_SupplierID',\n        originalKey: 'T9P_SupplierID',\n        label: '\\u4F9B\\u5E94\\u5546ID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarKind',\n        originalKey: 'T9P_CarKind',\n        label: '\\u8F66\\u7CFB',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarStyle',\n        originalKey: 'T9P_CarStyle',\n        label: '\\u8F66\\u578B',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarBrand',\n        originalKey: 'T9P_CarBrand',\n        label: '\\u8F66\\u54C1\\u724C',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_PartUnit',\n        originalKey: 'T9P_PartUnit',\n        label: '\\u914D\\u4EF6\\u5355\\u4F4D',\n      },\n      {\n        name: 'T9P_finallyOnePrice',\n        originalKey: 'T9P_finallyOnePrice',\n        label: '\\u6700\\u603B\\u5355\\u4EF7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_ServiceID',\n        originalKey: 'T9P_ServiceID',\n        label: '\\u7EF4\\u4FEE\\u7F16\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarID',\n        originalKey: 'T9P_CarID',\n        label: '\\u6C7D\\u8F66\\u7F16\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CustomerID',\n        originalKey: 'T9P_CustomerID',\n        label: '\\u5BA2\\u6237\\u7F16\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_OrderID',\n        originalKey: 'T9P_OrderID',\n        label: '\\u8BA2\\u5355\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_ChassisID',\n        originalKey: 'T9P_ChassisID',\n        label: '\\u8F66\\u67B6\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_LicenseID',\n        originalKey: 'T9P_LicenseID',\n        label: '\\u8F66\\u724C\\u53F7',\n      },\n      {\n        type: 'ntext',\n        name: 'T9P_Picture',\n        originalKey: 'T9P_Picture',\n        label: '\\u7167\\u7247',\n      },\n    ],\n  },\n  {\n    name: 'T9_Bidding',\n    originalKey: 'T9_Bidding',\n    label: '\\u62A5\\u4EF7\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'T9_Procurement',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_FID',\n        originalKey: 'T9P_FID',\n        label: '\\u4F9B\\u5E94\\u5546FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9B_FID',\n        originalKey: 'T9B_FID',\n        label: '\\u91C7\\u8D2DFID',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9B_Price',\n        originalKey: 'T9B_Price',\n        label: '\\u7ADE\\u4EF7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9B_Number',\n        originalKey: 'T9B_Number',\n        label: '\\u6570\\u91CF',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9B_Money',\n        originalKey: 'T9B_Money',\n        label: '\\u91D1\\u989D',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9B_WinBidding',\n        originalKey: 'T9B_WinBidding',\n        label: '\\u662F\\u5426\\u4E2D\\u6807',\n      },\n    ],\n  },\n  {\n    name: 'T9_ClassGroup',\n    originalKey: 'T9_ClassGroup',\n    label: '\\u73ED\\u7EC4\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Name',\n        originalKey: 'T9C_Name',\n        label: '\\u73ED\\u7EC4\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Sign',\n        originalKey: 'T9C_Sign',\n        label: '\\u73ED\\u7EC4\\u6807\\u8BC6(\\u82F1\\u6587\\u540D)',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9C_HourlyRate',\n        originalKey: 'T9C_HourlyRate',\n        label: '\\u65F6\\u85AA',\n      },\n    ],\n  },\n  {\n    name: 'T9_CarKind',\n    originalKey: 'T9_CarKind',\n    label: '\\u8F66\\u7CFB',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Kind',\n        originalKey: 'T9C_Kind',\n        label: '\\u8F66\\u7CFB',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9C_BrandFID',\n        typeMeta: {\n          relationModel: 'T9_CarBrand',\n          type: 'Relation',\n        },\n        label: '\\u54C1\\u724CFID',\n      },\n    ],\n  },\n  {\n    name: 'T9_CarBrand',\n    originalKey: 'T9_CarBrand',\n    label: '\\u8F66\\u4E3B\\u54C1\\u724C\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Brand',\n        originalKey: 'T9C_Brand',\n        label: '\\u54C1\\u724C\\u540D\\u79F0',\n      },\n    ],\n  },\n  {\n    name: 'T9_PartsPrice',\n    originalKey: 'T9_PartsPrice',\n    label: '\\u914D\\u4EF6\\u4EF7\\u683C\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_FID',\n        originalKey: 'T9P_FID',\n        label: '\\u914D\\u4EF6FID',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9P_Price',\n        originalKey: 'T9P_Price',\n        label: '\\u4EF7\\u683C',\n      },\n      {\n        type: 'datetime',\n        name: 'T9P_UpdateTime',\n        originalKey: 'T9P_UpdateTime',\n        label: '\\u66F4\\u65B0\\u65F6\\u95F4',\n      },\n    ],\n  },\n  {\n    name: 'T9_Changebound',\n    originalKey: 'T9_Changebound',\n    label: '\\u5E93\\u5B58\\u53D8\\u52A8\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'T9_PartManger',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_PartID',\n        originalKey: 'T9C_PartID',\n        label: '\\u914D\\u4EF6ID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_PartKind',\n        originalKey: 'T9C_PartKind',\n        label: '\\u914D\\u4EF6\\u5206\\u7C7B',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_PartName',\n        originalKey: 'T9C_PartName',\n        label: '\\u914D\\u4EF6\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Measuringunit',\n        originalKey: 'T9C_Measuringunit',\n        label: '\\u8BA1\\u91CF\\u5355\\u4F4D',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9C_Price',\n        originalKey: 'T9C_Price',\n        label: '\\u91C7\\u8D2D\\u4EF7\\u683C',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Number',\n        originalKey: 'T9C_Number',\n        label: '\\u91C7\\u8D2D\\u6570\\u91CF',\n      },\n      {\n        type: 'int',\n        name: 'T9C_OperationKind',\n        originalKey: 'T9C_OperationKind',\n        label: '\\u64CD\\u4F5C\\u7C7B\\u578B',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_RepairID',\n        originalKey: 'T9C_RepairID',\n        label: '\\u7EF4\\u4FEE\\u5355ID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_PurchaseID',\n        originalKey: 'T9C_PurchaseID',\n        label: '\\u91C7\\u8D2D\\u5355Id',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_StartNum',\n        originalKey: 'T9C_StartNum',\n        label: '\\u521D\\u59CB\\u4F59\\u989D',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_OnePrice',\n        originalKey: 'T9C_OnePrice',\n        label: '\\u53D8\\u52A8\\u62A5\\u4EF7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_EndNum',\n        originalKey: 'T9C_EndNum',\n        label: '\\u6700\\u7EC8\\u6570\\u76EE',\n      },\n    ],\n  },\n  {\n    name: 'T9_StorageList',\n    originalKey: 'T9_StorageList',\n    label: '\\u5165\\u5E93\\u5355',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_InFID',\n        originalKey: 'T9I_InFID',\n        label: '\\u5165\\u5E93\\u5355\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_Supplier',\n        originalKey: 'T9I_Supplier',\n        label: '\\u4F9B\\u5E94\\u5546',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_BillType',\n        originalKey: 'T9I_BillType',\n        label: '\\u5355\\u636E\\u7C7B\\u578B',\n      },\n      {\n        type: 'datetime',\n        name: 'T9I_InDateTime',\n        originalKey: 'T9I_InDateTime',\n        label: '\\u5165\\u5E93\\u65E5\\u671F',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_PayType',\n        originalKey: 'T9I_PayType',\n        label: '\\u4ED8\\u6B3E\\u65B9\\u5F0F',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_Operator',\n        originalKey: 'T9I_Operator',\n        label: '\\u7ECF\\u529E\\u4EBA',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_InType',\n        originalKey: 'T9I_InType',\n        label: '\\u5165\\u5E93\\u7C7B\\u578B',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_CarLicense',\n        originalKey: 'T9I_CarLicense',\n        label: '\\u8F66\\u724C\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_ChassisNumber',\n        originalKey: 'T9I_ChassisNumber',\n        label: '\\u8F66\\u67B6\\u53F7',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_ToalPrice',\n        originalKey: 'T9I_ToalPrice',\n        label: '\\u5408\\u8BA1\\u91D1\\u989D',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_Rate',\n        originalKey: 'T9I_Rate',\n        label: '\\u7A0E\\u7387',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_TaxRate',\n        originalKey: 'T9I_TaxRate',\n        label: '\\u7A0E\\u989D',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_TaxAmount',\n        originalKey: 'T9I_TaxAmount',\n        label: '\\u542B\\u7A0E\\u91D1\\u989D',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_WarehouseKeeper',\n        originalKey: 'T9I_WarehouseKeeper',\n        label: '\\u4ED3\\u7BA1',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_Audit',\n        originalKey: 'T9I_Audit',\n        label: '\\u5BA1\\u6838',\n      },\n    ],\n  },\n  {\n    name: 'T9_StorageListDetail',\n    originalKey: 'T9_StorageListDetail',\n    label: '\\u5165\\u5E93\\u660E\\u7EC6',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_InFID',\n        originalKey: 'T9I_InFID',\n        label: '\\u5165\\u5E93\\u5355\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_PartFID',\n        originalKey: 'T9I_PartFID',\n        label: '\\u5546\\u54C1\\u7F16\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_PartName',\n        originalKey: 'T9I_PartName',\n        label: '\\u5546\\u54C1\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_Model',\n        originalKey: 'T9I_Model',\n        label: '\\u578B\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_Unit',\n        originalKey: 'T9I_Unit',\n        label: '\\u5355\\u4F4D',\n      },\n      {\n        type: 'int',\n        name: 'T9I_Number',\n        originalKey: 'T9I_Number',\n        label: '\\u6570\\u91CF',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_OnePrice',\n        originalKey: 'T9I_OnePrice',\n        label: '\\u5355\\u4EF7',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_Price',\n        originalKey: 'T9I_Price',\n        label: '\\u91D1\\u989D',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_ProductClass',\n        originalKey: 'T9I_ProductClass',\n        label: '\\u4EA7\\u54C1\\u7C7B\\u522B',\n      },\n    ],\n  },\n  {\n    name: 'T9_DeliveryOrder',\n    originalKey: 'T9_DeliveryOrder',\n    label: '\\u51FA\\u5E93\\u5355',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_BoundID',\n        originalKey: 'T9O_BoundID',\n        label: '\\u51FA\\u5E93\\u5355\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_ClientName',\n        originalKey: 'T9O_ClientName',\n        label: '\\u5BA2\\u6237\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Type',\n        originalKey: 'T9O_Type',\n        label: '\\u7C7B\\u578B',\n      },\n      {\n        type: 'datetime',\n        name: 'T9O_OutDate',\n        originalKey: 'T9O_OutDate',\n        label: '\\u51FA\\u5E93\\u65E5\\u671F',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Dispatch',\n        originalKey: 'T9O_Dispatch',\n        label: '\\u6D3E\\u5355\\u7F16\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_ChargeName',\n        originalKey: 'T9O_ChargeName',\n        label: '\\u7ECF\\u529E\\u4EBA',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Class',\n        originalKey: 'T9O_Class',\n        label: '\\u9886\\u73ED\\u73ED\\u7EC4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Note',\n        originalKey: 'T9O_Note',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_CarNumber',\n        originalKey: 'T9O_CarNumber',\n        label: '\\u8F66\\u724C\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Amount',\n        originalKey: 'T9O_Amount',\n        label: '\\u5408\\u8BA1\\u91D1\\u989D',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_BoundManger',\n        originalKey: 'T9O_BoundManger',\n        label: '\\u4ED3\\u7BA1',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Reviewer',\n        originalKey: 'T9O_Reviewer',\n        label: '\\u5BA1\\u6838\\u4EBA',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Pick',\n        originalKey: 'T9O_Pick',\n        label: '\\u9886\\u6599',\n      },\n    ],\n  },\n  {\n    name: 'T9_DeliveryOrderDetail',\n    originalKey: 'T9_DeliveryOrderDetail',\n    label: '\\u51FA\\u5E93\\u660E\\u7EC6\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_FID',\n        originalKey: 'T9C_FID',\n        label: '\\u51FA\\u5E93\\u5355\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9D_PartID',\n        originalKey: 'T9D_PartID',\n        label: '\\u5546\\u54C1\\u7F16\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9D_PartName',\n        originalKey: 'T9D_PartName',\n        label: '\\u5546\\u54C1\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9D_Type',\n        originalKey: 'T9D_Type',\n        label: '\\u578B\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9D_Num',\n        originalKey: 'T9D_Num',\n        label: '\\u6570\\u91CF',\n      },\n      {\n        type: 'nvarchar(50))',\n        name: 'T9D_Unit',\n        originalKey: 'T9D_Unit',\n        label: '\\u5355\\u4F4D',\n      },\n      {\n        type: 'decimarl(18,4)',\n        name: 'T9D_Price',\n        originalKey: 'T9D_Price',\n        label: '\\u5355\\u4EF7',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9D_Money',\n        originalKey: 'T9D_Money',\n        label: '\\u91D1\\u989D',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9D_Bound',\n        originalKey: 'T9D_Bound',\n        label: '\\u4ED3\\u5E93',\n      },\n    ],\n  },\n]\n`},18043:function(c,m){\"use strict\";m.Z=`export default [\n    {\n        name: 'finance',\n        label: '\\u91D1\\u878D',\n    },\n    {\n        name: 'ERP',\n        label: '\\u8FDB\\u9500\\u5B58',\n    },\n    {\n        label: '\\u6C7D\\u4FEE',\n        name: 'T9engSQ',\n    },\n]\n`},75294:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return F}});var a=e(24572),o=e(75782),r=e(91600),u=e(58733),l=e(50959),d=e(62855),f=e(84875),v=e.n(f),p={adjustX:1,adjustY:1},h=[0,0],g={topLeft:{points:[\"bl\",\"tl\"],overflow:p,offset:[0,-4],targetOffset:h},topCenter:{points:[\"bc\",\"tc\"],overflow:p,offset:[0,-4],targetOffset:h},topRight:{points:[\"br\",\"tr\"],overflow:p,offset:[0,-4],targetOffset:h},bottomLeft:{points:[\"tl\",\"bl\"],overflow:p,offset:[0,4],targetOffset:h},bottomCenter:{points:[\"tc\",\"bc\"],overflow:p,offset:[0,4],targetOffset:h},bottomRight:{points:[\"tr\",\"br\"],overflow:p,offset:[0,4],targetOffset:h}},y=g,S=e(59158),I=e(40086),N=e(23318),_=S.Z.ESC,M=S.Z.TAB;function L(K){var G=K.visible,q=K.setTriggerVisible,X=K.triggerRef,oe=K.onVisibleChange,Ee=K.autoFocus,Te=l.useRef(!1),ae=function(){if(G&&X.current){var R,j,C,B;(R=X.current)===null||R===void 0||(j=R.triggerRef)===null||j===void 0||(C=j.current)===null||C===void 0||(B=C.focus)===null||B===void 0||B.call(C),q(!1),typeof oe==\"function\"&&oe(!1)}},z=function(){var R,j,C,B,fe=(0,N.tS)((R=X.current)===null||R===void 0||(j=R.popupRef)===null||j===void 0||(C=j.current)===null||C===void 0||(B=C.getElement)===null||B===void 0?void 0:B.call(C)),Ae=fe[0];return Ae!=null&&Ae.focus?(Ae.focus(),Te.current=!0,!0):!1},A=function(R){switch(R.keyCode){case _:ae();break;case M:{var j=!1;Te.current||(j=z()),j?R.preventDefault():ae();break}}};l.useEffect(function(){return G?(window.addEventListener(\"keydown\",A),Ee&&(0,I.Z)(z,3),function(){window.removeEventListener(\"keydown\",A),Te.current=!1}):function(){Te.current=!1}},[G])}var k=[\"arrow\",\"prefixCls\",\"transitionName\",\"animation\",\"align\",\"placement\",\"placements\",\"getPopupContainer\",\"showAction\",\"hideAction\",\"overlayClassName\",\"overlayStyle\",\"visible\",\"trigger\",\"autoFocus\"];function U(K,G){var q=K.arrow,X=q===void 0?!1:q,oe=K.prefixCls,Ee=oe===void 0?\"rc-dropdown\":oe,Te=K.transitionName,ae=K.animation,z=K.align,A=K.placement,T=A===void 0?\"bottomLeft\":A,R=K.placements,j=R===void 0?y:R,C=K.getPopupContainer,B=K.showAction,fe=K.hideAction,Ae=K.overlayClassName,ge=K.overlayStyle,ce=K.visible,Me=K.trigger,_e=Me===void 0?[\"hover\"]:Me,De=K.autoFocus,Ce=(0,u.Z)(K,k),it=l.useState(),V=(0,r.Z)(it,2),we=V[0],Ie=V[1],le=\"visible\"in K?ce:we,Ne=l.useRef(null);l.useImperativeHandle(G,function(){return Ne.current}),L({visible:le,setTriggerVisible:Ie,triggerRef:Ne,onVisibleChange:K.onVisibleChange,autoFocus:De});var te=function(){var me=K.overlay,Oe;return typeof me==\"function\"?Oe=me():Oe=me,Oe},se=function(me){var Oe=K.onOverlayClick;Ie(!1),Oe&&Oe(me)},pe=function(me){var Oe=K.onVisibleChange;Ie(me),typeof Oe==\"function\"&&Oe(me)},ee=function(){var me=te();return l.createElement(l.Fragment,null,X&&l.createElement(\"div\",{className:\"\".concat(Ee,\"-arrow\")}),me)},Se=function(){var me=K.overlay;return typeof me==\"function\"?ee:ee()},Q=function(){var me=K.minOverlayWidthMatchTrigger,Oe=K.alignPoint;return\"minOverlayWidthMatchTrigger\"in K?me:!Oe},Z=function(){var me=K.openClassName;return me!==void 0?me:\"\".concat(Ee,\"-open\")},Y=function(){var me=K.children,Oe=me.props?me.props:{},We=v()(Oe.className,Z());return le&&me?l.cloneElement(me,{className:We}):me},ue=fe;return!ue&&_e.indexOf(\"contextMenu\")!==-1&&(ue=[\"click\"]),l.createElement(d.Z,(0,o.Z)((0,o.Z)({builtinPlacements:j},Ce),{},{prefixCls:Ee,ref:Ne,popupClassName:v()(Ae,(0,a.Z)({},\"\".concat(Ee,\"-show-arrow\"),X)),popupStyle:ge,action:_e,showAction:B,hideAction:ue||[],popupPlacement:T,popupAlign:z,popupTransitionName:Te,popupAnimation:ae,popupVisible:le,stretch:Q()?\"minWidth\":\"\",popup:Se(),onPopupVisibleChange:pe,onPopupClick:se,getPopupContainer:C}),Y())}var x=l.forwardRef(U),F=x},58048:function(c,m,e){\"use strict\";e.d(m,{iz:function(){return Wt},ck:function(){return $e},BW:function(){return an},sN:function(){return $e},GP:function(){return an},Wd:function(){return Re},ZP:function(){return ln},Xl:function(){return oe}});var a=e(51163),o=e(24572),r=e(75782),u=e(49544),l=e(91600),d=e(58733),f=e(84875),v=e.n(f),p=e(93883),h=e(47280),g=e(53675),y=e(50959),S=e(10422),I=e(37304),N=y.createContext(null);function _(tt,Ze){return tt===void 0?null:\"\".concat(tt,\"-\").concat(Ze)}function M(tt){var Ze=y.useContext(N);return _(Ze,tt)}var L=e(49308),k=[\"children\",\"locked\"],U=y.createContext(null);function x(tt,Ze){var nt=(0,r.Z)({},tt);return Object.keys(Ze).forEach(function(st){var Qe=Ze[st];Qe!==void 0&&(nt[st]=Qe)}),nt}function F(tt){var Ze=tt.children,nt=tt.locked,st=(0,d.Z)(tt,k),Qe=y.useContext(U),ct=(0,L.Z)(function(){return x(Qe,st)},[Qe,st],function(lt,gt){return!nt&&(lt[0]!==gt[0]||!(0,I.Z)(lt[1],gt[1],!0))});return y.createElement(U.Provider,{value:ct},Ze)}var K=[],G=y.createContext(null);function q(){return y.useContext(G)}var X=y.createContext(K);function oe(tt){var Ze=y.useContext(X);return y.useMemo(function(){return tt!==void 0?[].concat((0,u.Z)(Ze),[tt]):Ze},[Ze,tt])}var Ee=y.createContext(null),Te=y.createContext({}),ae=Te,z=e(59158),A=e(40086),T=e(23318),R=z.Z.LEFT,j=z.Z.RIGHT,C=z.Z.UP,B=z.Z.DOWN,fe=z.Z.ENTER,Ae=z.Z.ESC,ge=z.Z.HOME,ce=z.Z.END,Me=[C,B,R,j];function _e(tt,Ze,nt,st){var Qe,ct,lt,gt,mt=\"prev\",Et=\"next\",Pt=\"children\",Mt=\"parent\";if(tt===\"inline\"&&st===fe)return{inlineTrigger:!0};var Bt=(Qe={},(0,o.Z)(Qe,C,mt),(0,o.Z)(Qe,B,Et),Qe),Kt=(ct={},(0,o.Z)(ct,R,nt?Et:mt),(0,o.Z)(ct,j,nt?mt:Et),(0,o.Z)(ct,B,Pt),(0,o.Z)(ct,fe,Pt),ct),Yt=(lt={},(0,o.Z)(lt,C,mt),(0,o.Z)(lt,B,Et),(0,o.Z)(lt,fe,Pt),(0,o.Z)(lt,Ae,Mt),(0,o.Z)(lt,R,nt?Pt:Mt),(0,o.Z)(lt,j,nt?Mt:Pt),lt),$t={inline:Bt,horizontal:Kt,vertical:Yt,inlineSub:Bt,horizontalSub:Yt,verticalSub:Yt},dn=(gt=$t[\"\".concat(tt).concat(Ze?\"\":\"Sub\")])===null||gt===void 0?void 0:gt[st];switch(dn){case mt:return{offset:-1,sibling:!0};case Et:return{offset:1,sibling:!0};case Mt:return{offset:-1,sibling:!1};case Pt:return{offset:1,sibling:!1};default:return null}}function De(tt){for(var Ze=tt;Ze;){if(Ze.getAttribute(\"data-menu-list\"))return Ze;Ze=Ze.parentElement}return null}function Ce(tt,Ze){for(var nt=tt||document.activeElement;nt;){if(Ze.has(nt))return nt;nt=nt.parentElement}return null}function it(tt,Ze){var nt=(0,T.tS)(tt,!0);return nt.filter(function(st){return Ze.has(st)})}function V(tt,Ze,nt){var st=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!tt)return null;var Qe=it(tt,Ze),ct=Qe.length,lt=Qe.findIndex(function(gt){return nt===gt});return st<0?lt===-1?lt=ct-1:lt-=1:st>0&&(lt+=1),lt=(lt+ct)%ct,Qe[lt]}function we(tt,Ze,nt,st,Qe,ct,lt,gt,mt,Et){var Pt=y.useRef(),Mt=y.useRef();Mt.current=Ze;var Bt=function(){A.Z.cancel(Pt.current)};return y.useEffect(function(){return function(){Bt()}},[]),function(Kt){var Yt=Kt.which;if([].concat(Me,[fe,Ae,ge,ce]).includes(Yt)){var $t,dn,Xt,en=function(){$t=new Set,dn=new Map,Xt=new Map;var Fn=ct();return Fn.forEach(function(H){var ie=document.querySelector(\"[data-menu-id='\".concat(_(st,H),\"']\"));ie&&($t.add(ie),Xt.set(ie,H),dn.set(H,ie))}),$t};en();var hn=dn.get(Ze),pn=Ce(hn,$t),Sn=Xt.get(pn),fn=_e(tt,lt(Sn,!0).length===1,nt,Yt);if(!fn&&Yt!==ge&&Yt!==ce)return;(Me.includes(Yt)||[ge,ce].includes(Yt))&&Kt.preventDefault();var Zt=function(Fn){if(Fn){var H=Fn,ie=Fn.querySelector(\"a\");ie!=null&&ie.getAttribute(\"href\")&&(H=ie);var re=Xt.get(Fn);gt(re),Bt(),Pt.current=(0,A.Z)(function(){Mt.current===re&&H.focus()})}};if([ge,ce].includes(Yt)||fn.sibling||!pn){var ar;!pn||tt===\"inline\"?ar=Qe.current:ar=De(pn);var An,sn=it(ar,$t);Yt===ge?An=sn[0]:Yt===ce?An=sn[sn.length-1]:An=V(ar,$t,pn,fn.offset),Zt(An)}else if(fn.inlineTrigger)mt(Sn);else if(fn.offset>0)mt(Sn,!0),Bt(),Pt.current=(0,A.Z)(function(){en();var Vn=pn.getAttribute(\"aria-controls\"),Fn=document.getElementById(Vn),H=V(Fn,$t);Zt(H)},5);else if(fn.offset<0){var Rn=lt(Sn,!0),Nn=Rn[Rn.length-2],Bn=dn.get(Nn);mt(Nn,!1),Zt(Bn)}}Et==null||Et(Kt)}}function Ie(tt){Promise.resolve().then(tt)}var le=\"__RC_UTIL_PATH_SPLIT__\",Ne=function(Ze){return Ze.join(le)},te=function(Ze){return Ze.split(le)},se=\"rc-menu-more\";function pe(){var tt=y.useState({}),Ze=(0,l.Z)(tt,2),nt=Ze[1],st=(0,y.useRef)(new Map),Qe=(0,y.useRef)(new Map),ct=y.useState([]),lt=(0,l.Z)(ct,2),gt=lt[0],mt=lt[1],Et=(0,y.useRef)(0),Pt=(0,y.useRef)(!1),Mt=function(){Pt.current||nt({})},Bt=(0,y.useCallback)(function(hn,pn){var Sn=Ne(pn);Qe.current.set(Sn,hn),st.current.set(hn,Sn),Et.current+=1;var fn=Et.current;Ie(function(){fn===Et.current&&Mt()})},[]),Kt=(0,y.useCallback)(function(hn,pn){var Sn=Ne(pn);Qe.current.delete(Sn),st.current.delete(hn)},[]),Yt=(0,y.useCallback)(function(hn){mt(hn)},[]),$t=(0,y.useCallback)(function(hn,pn){var Sn=st.current.get(hn)||\"\",fn=te(Sn);return pn&&gt.includes(fn[0])&&fn.unshift(se),fn},[gt]),dn=(0,y.useCallback)(function(hn,pn){return hn.some(function(Sn){var fn=$t(Sn,!0);return fn.includes(pn)})},[$t]),Xt=function(){var pn=(0,u.Z)(st.current.keys());return gt.length&&pn.push(se),pn},en=(0,y.useCallback)(function(hn){var pn=\"\".concat(st.current.get(hn)).concat(le),Sn=new Set;return(0,u.Z)(Qe.current.keys()).forEach(function(fn){fn.startsWith(pn)&&Sn.add(Qe.current.get(fn))}),Sn},[]);return y.useEffect(function(){return function(){Pt.current=!0}},[]),{registerPath:Bt,unregisterPath:Kt,refreshOverflowKeys:Yt,isSubPathKey:dn,getKeyPath:$t,getKeys:Xt,getSubPathKeys:en}}function ee(tt){var Ze=y.useRef(tt);Ze.current=tt;var nt=y.useCallback(function(){for(var st,Qe=arguments.length,ct=new Array(Qe),lt=0;lt<Qe;lt++)ct[lt]=arguments[lt];return(st=Ze.current)===null||st===void 0?void 0:st.call.apply(st,[Ze].concat(ct))},[]);return tt?nt:void 0}var Se=Math.random().toFixed(5).toString().slice(2),Q=0;function Z(tt){var Ze=(0,h.Z)(tt,{value:tt}),nt=(0,l.Z)(Ze,2),st=nt[0],Qe=nt[1];return y.useEffect(function(){Q+=1;var ct=\"\".concat(Se,\"-\").concat(Q);Qe(\"rc-menu-uuid-\".concat(ct))},[]),st}var Y=e(40936),ue=e(49962),he=e(39027),me=e(76614),Oe=e(97318);function We(tt,Ze,nt,st){var Qe=y.useContext(U),ct=Qe.activeKey,lt=Qe.onActive,gt=Qe.onInactive,mt={active:ct===tt};return Ze||(mt.onMouseEnter=function(Et){nt==null||nt({key:tt,domEvent:Et}),lt(tt)},mt.onMouseLeave=function(Et){st==null||st({key:tt,domEvent:Et}),gt(tt)}),mt}var ke=[\"item\"];function It(tt){var Ze=tt.item,nt=(0,d.Z)(tt,ke);return Object.defineProperty(nt,\"item\",{get:function(){return(0,g.ZP)(!1,\"`info.item` is deprecated since we will move to function component that not provides React Node instance in future.\"),Ze}}),nt}function ft(tt){var Ze=tt.icon,nt=tt.props,st=tt.children,Qe;return typeof Ze==\"function\"?Qe=y.createElement(Ze,(0,r.Z)({},nt)):Qe=Ze,Qe||st||null}function nn(tt){var Ze=y.useContext(U),nt=Ze.mode,st=Ze.rtl,Qe=Ze.inlineIndent;if(nt!==\"inline\")return null;var ct=tt;return st?{paddingRight:ct*Qe}:{paddingLeft:ct*Qe}}var b=[\"title\",\"attribute\",\"elementRef\"],W=[\"style\",\"className\",\"eventKey\",\"warnKey\",\"disabled\",\"itemIcon\",\"children\",\"role\",\"onMouseEnter\",\"onMouseLeave\",\"onClick\",\"onKeyDown\",\"onFocus\"],de=[\"active\"],ye=function(tt){(0,he.Z)(nt,tt);var Ze=(0,me.Z)(nt);function nt(){return(0,Y.Z)(this,nt),Ze.apply(this,arguments)}return(0,ue.Z)(nt,[{key:\"render\",value:function(){var Qe=this.props,ct=Qe.title,lt=Qe.attribute,gt=Qe.elementRef,mt=(0,d.Z)(Qe,b),Et=(0,Oe.Z)(mt,[\"eventKey\"]);return(0,g.ZP)(!lt,\"`attribute` of Menu.Item is deprecated. Please pass attribute directly.\"),y.createElement(p.Z.Item,(0,a.Z)({},lt,{title:typeof ct==\"string\"?ct:void 0},Et,{ref:gt}))}}]),nt}(y.Component),He=function(Ze){var nt,st=Ze.style,Qe=Ze.className,ct=Ze.eventKey,lt=Ze.warnKey,gt=Ze.disabled,mt=Ze.itemIcon,Et=Ze.children,Pt=Ze.role,Mt=Ze.onMouseEnter,Bt=Ze.onMouseLeave,Kt=Ze.onClick,Yt=Ze.onKeyDown,$t=Ze.onFocus,dn=(0,d.Z)(Ze,W),Xt=M(ct),en=y.useContext(U),hn=en.prefixCls,pn=en.onItemClick,Sn=en.disabled,fn=en.overflowDisabled,Zt=en.itemIcon,ar=en.selectedKeys,An=en.onActive,sn=y.useContext(ae),Rn=sn._internalRenderMenuItem,Nn=\"\".concat(hn,\"-item\"),Bn=y.useRef(),Vn=y.useRef(),Fn=Sn||gt,H=oe(ct),ie=function(ze){return{key:ct,keyPath:(0,u.Z)(H).reverse(),item:Bn.current,domEvent:ze}},re=mt||Zt,xe=We(ct,Fn,Mt,Bt),Ke=xe.active,Ue=(0,d.Z)(xe,de),J=ar.includes(ct),w=nn(H.length),P=function(ze){if(!Fn){var ut=ie(ze);Kt==null||Kt(It(ut)),pn(ut)}},D=function(ze){if(Yt==null||Yt(ze),ze.which===z.Z.ENTER){var ut=ie(ze);Kt==null||Kt(It(ut)),pn(ut)}},ne=function(ze){An(ct),$t==null||$t(ze)},be={};Ze.role===\"option\"&&(be[\"aria-selected\"]=J);var Le=y.createElement(ye,(0,a.Z)({ref:Bn,elementRef:Vn,role:Pt===null?\"none\":Pt||\"menuitem\",tabIndex:gt?null:-1,\"data-menu-id\":fn&&Xt?null:Xt},dn,Ue,be,{component:\"li\",\"aria-disabled\":gt,style:(0,r.Z)((0,r.Z)({},w),st),className:v()(Nn,(nt={},(0,o.Z)(nt,\"\".concat(Nn,\"-active\"),Ke),(0,o.Z)(nt,\"\".concat(Nn,\"-selected\"),J),(0,o.Z)(nt,\"\".concat(Nn,\"-disabled\"),Fn),nt),Qe),onClick:P,onKeyDown:D,onFocus:ne}),Et,y.createElement(ft,{props:(0,r.Z)((0,r.Z)({},Ze),{},{isSelected:J}),icon:re}));return Rn&&(Le=Rn(Le,Ze,{selected:J})),Le};function rt(tt){var Ze=tt.eventKey,nt=q(),st=oe(Ze);return y.useEffect(function(){if(nt)return nt.registerPath(Ze,st),function(){nt.unregisterPath(Ze,st)}},[st]),nt?null:y.createElement(He,tt)}var $e=rt,pt=[\"className\",\"children\"],Ot=function(Ze,nt){var st=Ze.className,Qe=Ze.children,ct=(0,d.Z)(Ze,pt),lt=y.useContext(U),gt=lt.prefixCls,mt=lt.mode,Et=lt.rtl;return y.createElement(\"ul\",(0,a.Z)({className:v()(gt,Et&&\"\".concat(gt,\"-rtl\"),\"\".concat(gt,\"-sub\"),\"\".concat(gt,\"-\").concat(mt===\"inline\"?\"inline\":\"vertical\"),st),role:\"menu\"},ct,{\"data-menu-list\":!0,ref:nt}),Qe)},at=y.forwardRef(Ot);at.displayName=\"SubMenuList\";var wt=at,vt=e(26143),jt=e(16030),At=[\"label\",\"children\",\"key\",\"type\"];function qt(tt,Ze){return(0,jt.Z)(tt).map(function(nt,st){if(y.isValidElement(nt)){var Qe,ct,lt=nt.key,gt=(Qe=(ct=nt.props)===null||ct===void 0?void 0:ct.eventKey)!==null&&Qe!==void 0?Qe:lt,mt=gt==null;mt&&(gt=\"tmp_key-\".concat([].concat((0,u.Z)(Ze),[st]).join(\"-\")));var Et={key:gt,eventKey:gt};return y.cloneElement(nt,Et)}return nt})}function En(tt){return(tt||[]).map(function(Ze,nt){if(Ze&&(0,vt.Z)(Ze)===\"object\"){var st=Ze,Qe=st.label,ct=st.children,lt=st.key,gt=st.type,mt=(0,d.Z)(st,At),Et=lt!=null?lt:\"tmp-\".concat(nt);return ct||gt===\"group\"?gt===\"group\"?y.createElement(an,(0,a.Z)({key:Et},mt,{title:Qe}),En(ct)):y.createElement(Re,(0,a.Z)({key:Et},mt,{title:Qe}),En(ct)):gt===\"divider\"?y.createElement(Wt,(0,a.Z)({key:Et},mt)):y.createElement($e,(0,a.Z)({key:Et},mt),Qe)}return null}).filter(function(Ze){return Ze})}function Ft(tt,Ze,nt){var st=tt;return Ze&&(st=En(Ze)),qt(st,nt)}var _n=e(62855),xn={adjustX:1,adjustY:1},Zn={topLeft:{points:[\"bl\",\"tl\"],overflow:xn,offset:[0,-7]},bottomLeft:{points:[\"tl\",\"bl\"],overflow:xn,offset:[0,7]},leftTop:{points:[\"tr\",\"tl\"],overflow:xn,offset:[-4,0]},rightTop:{points:[\"tl\",\"tr\"],overflow:xn,offset:[4,0]}},Wn={topLeft:{points:[\"bl\",\"tl\"],overflow:xn,offset:[0,-7]},bottomLeft:{points:[\"tl\",\"bl\"],overflow:xn,offset:[0,7]},rightTop:{points:[\"tr\",\"tl\"],overflow:xn,offset:[-4,0]},leftTop:{points:[\"tl\",\"tr\"],overflow:xn,offset:[4,0]}},Jn=null;function Un(tt,Ze,nt){if(Ze)return Ze;if(nt)return nt[tt]||nt.other}var qn={horizontal:\"bottomLeft\",vertical:\"rightTop\",\"vertical-left\":\"rightTop\",\"vertical-right\":\"leftTop\"};function cr(tt){var Ze=tt.prefixCls,nt=tt.visible,st=tt.children,Qe=tt.popup,ct=tt.popupClassName,lt=tt.popupOffset,gt=tt.disabled,mt=tt.mode,Et=tt.onVisibleChange,Pt=y.useContext(U),Mt=Pt.getPopupContainer,Bt=Pt.rtl,Kt=Pt.subMenuOpenDelay,Yt=Pt.subMenuCloseDelay,$t=Pt.builtinPlacements,dn=Pt.triggerSubMenuAction,Xt=Pt.forceSubMenuRender,en=Pt.rootClassName,hn=Pt.motion,pn=Pt.defaultMotions,Sn=y.useState(!1),fn=(0,l.Z)(Sn,2),Zt=fn[0],ar=fn[1],An=Bt?(0,r.Z)((0,r.Z)({},Wn),$t):(0,r.Z)((0,r.Z)({},Zn),$t),sn=qn[mt],Rn=Un(mt,hn,pn),Nn=y.useRef(Rn);mt!==\"inline\"&&(Nn.current=Rn);var Bn=(0,r.Z)((0,r.Z)({},Nn.current),{},{leavedClassName:\"\".concat(Ze,\"-hidden\"),removeOnLeave:!1,motionAppear:!0}),Vn=y.useRef();return y.useEffect(function(){return Vn.current=(0,A.Z)(function(){ar(nt)}),function(){A.Z.cancel(Vn.current)}},[nt]),y.createElement(_n.Z,{prefixCls:Ze,popupClassName:v()(\"\".concat(Ze,\"-popup\"),(0,o.Z)({},\"\".concat(Ze,\"-rtl\"),Bt),ct,en),stretch:mt===\"horizontal\"?\"minWidth\":null,getPopupContainer:Mt,builtinPlacements:An,popupPlacement:sn,popupVisible:Zt,popup:Qe,popupAlign:lt&&{offset:lt},action:gt?[]:[dn],mouseEnterDelay:Kt,mouseLeaveDelay:Yt,onPopupVisibleChange:Et,forceRender:Xt,popupMotion:Bn},st)}var pr=e(81676);function vr(tt){var Ze=tt.id,nt=tt.open,st=tt.keyPath,Qe=tt.children,ct=\"inline\",lt=y.useContext(U),gt=lt.prefixCls,mt=lt.forceSubMenuRender,Et=lt.motion,Pt=lt.defaultMotions,Mt=lt.mode,Bt=y.useRef(!1);Bt.current=Mt===ct;var Kt=y.useState(!Bt.current),Yt=(0,l.Z)(Kt,2),$t=Yt[0],dn=Yt[1],Xt=Bt.current?nt:!1;y.useEffect(function(){Bt.current&&dn(!1)},[Mt]);var en=(0,r.Z)({},Un(ct,Et,Pt));st.length>1&&(en.motionAppear=!1);var hn=en.onVisibleChanged;return en.onVisibleChanged=function(pn){return!Bt.current&&!pn&&dn(!0),hn==null?void 0:hn(pn)},$t?null:y.createElement(F,{mode:ct,locked:!Bt.current},y.createElement(pr.Z,(0,a.Z)({visible:Xt},en,{forceRender:mt,removeOnLeave:!1,leavedClassName:\"\".concat(gt,\"-hidden\")}),function(pn){var Sn=pn.className,fn=pn.style;return y.createElement(wt,{id:Ze,className:Sn,style:fn},Qe)}))}var Dn=[\"style\",\"className\",\"title\",\"eventKey\",\"warnKey\",\"disabled\",\"internalPopupClose\",\"children\",\"itemIcon\",\"expandIcon\",\"popupClassName\",\"popupOffset\",\"onClick\",\"onMouseEnter\",\"onMouseLeave\",\"onTitleClick\",\"onTitleMouseEnter\",\"onTitleMouseLeave\"],br=[\"active\"],zn=function(Ze){var nt,st=Ze.style,Qe=Ze.className,ct=Ze.title,lt=Ze.eventKey,gt=Ze.warnKey,mt=Ze.disabled,Et=Ze.internalPopupClose,Pt=Ze.children,Mt=Ze.itemIcon,Bt=Ze.expandIcon,Kt=Ze.popupClassName,Yt=Ze.popupOffset,$t=Ze.onClick,dn=Ze.onMouseEnter,Xt=Ze.onMouseLeave,en=Ze.onTitleClick,hn=Ze.onTitleMouseEnter,pn=Ze.onTitleMouseLeave,Sn=(0,d.Z)(Ze,Dn),fn=M(lt),Zt=y.useContext(U),ar=Zt.prefixCls,An=Zt.mode,sn=Zt.openKeys,Rn=Zt.disabled,Nn=Zt.overflowDisabled,Bn=Zt.activeKey,Vn=Zt.selectedKeys,Fn=Zt.itemIcon,H=Zt.expandIcon,ie=Zt.onItemClick,re=Zt.onOpenChange,xe=Zt.onActive,Ke=y.useContext(ae),Ue=Ke._internalRenderSubMenuItem,J=y.useContext(Ee),w=J.isSubPathKey,P=oe(),D=\"\".concat(ar,\"-submenu\"),ne=Rn||mt,be=y.useRef(),Le=y.useRef(),je=Mt||Fn,ze=Bt||H,ut=sn.includes(lt),dt=!Nn&&ut,Ct=w(Vn,lt),Rt=We(lt,ne,hn,pn),kt=Rt.active,Ut=(0,d.Z)(Rt,br),Qt=y.useState(!1),cn=(0,l.Z)(Qt,2),wn=cn[0],gn=cn[1],Kn=function(Tr){ne||gn(Tr)},Pn=function(Tr){Kn(!0),dn==null||dn({key:lt,domEvent:Tr})},Ln=function(Tr){Kn(!1),Xt==null||Xt({key:lt,domEvent:Tr})},er=y.useMemo(function(){return kt||(An!==\"inline\"?wn||w([Bn],lt):!1)},[An,kt,Bn,wn,lt,w]),or=nn(P.length),Ar=function(Tr){ne||(en==null||en({key:lt,domEvent:Tr}),An===\"inline\"&&re(lt,!ut))},Xn=ee(function(hr){$t==null||$t(It(hr)),ie(hr)}),Yn=function(Tr){An!==\"inline\"&&re(lt,Tr)},Er=function(){xe(lt)},Hn=fn&&\"\".concat(fn,\"-popup\"),Ir=y.createElement(\"div\",(0,a.Z)({role:\"menuitem\",style:or,className:\"\".concat(D,\"-title\"),tabIndex:ne?null:-1,ref:be,title:typeof ct==\"string\"?ct:null,\"data-menu-id\":Nn&&fn?null:fn,\"aria-expanded\":dt,\"aria-haspopup\":!0,\"aria-controls\":Hn,\"aria-disabled\":ne,onClick:Ar,onFocus:Er},Ut),ct,y.createElement(ft,{icon:An!==\"horizontal\"?ze:null,props:(0,r.Z)((0,r.Z)({},Ze),{},{isOpen:dt,isSubMenu:!0})},y.createElement(\"i\",{className:\"\".concat(D,\"-arrow\")}))),kr=y.useRef(An);if(An!==\"inline\"&&P.length>1?kr.current=\"vertical\":kr.current=An,!Nn){var fr=kr.current;Ir=y.createElement(cr,{mode:fr,prefixCls:D,visible:!Et&&dt&&An!==\"inline\",popupClassName:Kt,popupOffset:Yt,popup:y.createElement(F,{mode:fr===\"horizontal\"?\"vertical\":fr},y.createElement(wt,{id:Hn,ref:Le},Pt)),disabled:ne,onVisibleChange:Yn},Ir)}var Rr=y.createElement(p.Z.Item,(0,a.Z)({role:\"none\"},Sn,{component:\"li\",style:st,className:v()(D,\"\".concat(D,\"-\").concat(An),Qe,(nt={},(0,o.Z)(nt,\"\".concat(D,\"-open\"),dt),(0,o.Z)(nt,\"\".concat(D,\"-active\"),er),(0,o.Z)(nt,\"\".concat(D,\"-selected\"),Ct),(0,o.Z)(nt,\"\".concat(D,\"-disabled\"),ne),nt)),onMouseEnter:Pn,onMouseLeave:Ln}),Ir,!Nn&&y.createElement(vr,{id:Hn,open:dt,keyPath:P},Pt));return Ue&&(Rr=Ue(Rr,Ze,{selected:Ct,active:er,open:dt,disabled:ne})),y.createElement(F,{onItemClick:Xn,mode:An===\"horizontal\"?\"vertical\":An,itemIcon:je,expandIcon:ze},Rr)};function Re(tt){var Ze=tt.eventKey,nt=tt.children,st=oe(Ze),Qe=qt(nt,st),ct=q();y.useEffect(function(){if(ct)return ct.registerPath(Ze,st),function(){ct.unregisterPath(Ze,st)}},[st]);var lt;return ct?lt=Qe:lt=y.createElement(zn,tt,Qe),y.createElement(X.Provider,{value:st},lt)}var Ge=[\"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\"],ot=[],Dt=y.forwardRef(function(tt,Ze){var nt,st,Qe=tt,ct=Qe.prefixCls,lt=ct===void 0?\"rc-menu\":ct,gt=Qe.rootClassName,mt=Qe.style,Et=Qe.className,Pt=Qe.tabIndex,Mt=Pt===void 0?0:Pt,Bt=Qe.items,Kt=Qe.children,Yt=Qe.direction,$t=Qe.id,dn=Qe.mode,Xt=dn===void 0?\"vertical\":dn,en=Qe.inlineCollapsed,hn=Qe.disabled,pn=Qe.disabledOverflow,Sn=Qe.subMenuOpenDelay,fn=Sn===void 0?.1:Sn,Zt=Qe.subMenuCloseDelay,ar=Zt===void 0?.1:Zt,An=Qe.forceSubMenuRender,sn=Qe.defaultOpenKeys,Rn=Qe.openKeys,Nn=Qe.activeKey,Bn=Qe.defaultActiveFirst,Vn=Qe.selectable,Fn=Vn===void 0?!0:Vn,H=Qe.multiple,ie=H===void 0?!1:H,re=Qe.defaultSelectedKeys,xe=Qe.selectedKeys,Ke=Qe.onSelect,Ue=Qe.onDeselect,J=Qe.inlineIndent,w=J===void 0?24:J,P=Qe.motion,D=Qe.defaultMotions,ne=Qe.triggerSubMenuAction,be=ne===void 0?\"hover\":ne,Le=Qe.builtinPlacements,je=Qe.itemIcon,ze=Qe.expandIcon,ut=Qe.overflowedIndicator,dt=ut===void 0?\"...\":ut,Ct=Qe.overflowedIndicatorPopupClassName,Rt=Qe.getPopupContainer,kt=Qe.onClick,Ut=Qe.onOpenChange,Qt=Qe.onKeyDown,cn=Qe.openAnimation,wn=Qe.openTransitionName,gn=Qe._internalRenderMenuItem,Kn=Qe._internalRenderSubMenuItem,Pn=(0,d.Z)(Qe,Ge),Ln=y.useMemo(function(){return Ft(Kt,Bt,ot)},[Kt,Bt]),er=y.useState(!1),or=(0,l.Z)(er,2),Ar=or[0],Xn=or[1],Yn=y.useRef(),Er=Z($t),Hn=Yt===\"rtl\",Ir=(0,h.Z)(sn,{value:Rn,postState:function(jn){return jn||ot}}),kr=(0,l.Z)(Ir,2),fr=kr[0],Rr=kr[1],hr=function(jn){var nr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function jr(){Rr(jn),Ut==null||Ut(jn)}nr?(0,S.flushSync)(jr):jr()},Tr=y.useState(fr),La=(0,l.Z)(Tr,2),za=La[0],Ha=La[1],Gr=y.useRef(!1),$a=y.useMemo(function(){return(Xt===\"inline\"||Xt===\"vertical\")&&en?[\"vertical\",en]:[Xt,!1]},[Xt,en]),Vr=(0,l.Z)($a,2),pa=Vr[0],ya=Vr[1],ir=pa===\"inline\",Pr=y.useState(pa),Yr=(0,l.Z)(Pr,2),xr=Yr[0],Oa=Yr[1],na=y.useState(ya),Cn=(0,l.Z)(na,2),xt=Cn[0],ur=Cn[1];y.useEffect(function(){Oa(pa),ur(ya),Gr.current&&(ir?Rr(za):hr(ot))},[pa,ya]);var tr=y.useState(0),Fr=(0,l.Z)(tr,2),_r=Fr[0],To=Fr[1],ro=_r>=Ln.length-1||xr!==\"horizontal\"||pn;y.useEffect(function(){ir&&Ha(fr)},[fr]),y.useEffect(function(){return Gr.current=!0,function(){Gr.current=!1}},[]);var Aa=pe(),xo=Aa.registerPath,Wo=Aa.unregisterPath,Ti=Aa.refreshOverflowKeys,ao=Aa.isSubPathKey,Za=Aa.getKeyPath,xi=Aa.getKeys,oo=Aa.getSubPathKeys,wi=y.useMemo(function(){return{registerPath:xo,unregisterPath:Wo}},[xo,Wo]),Go=y.useMemo(function(){return{isSubPathKey:ao}},[ao]);y.useEffect(function(){Ti(ro?ot:Ln.slice(_r+1).map(function(lr){return lr.key}))},[_r,ro]);var Vo=(0,h.Z)(Nn||Bn&&((nt=Ln[0])===null||nt===void 0?void 0:nt.key),{value:Nn}),wo=(0,l.Z)(Vo,2),la=wo[0],Co=wo[1],Ci=ee(function(lr){Co(lr)}),Oo=ee(function(){Co(void 0)});(0,y.useImperativeHandle)(Ze,function(){return{list:Yn.current,focus:function(jn){var nr,jr=la!=null?la:(nr=Ln.find(function(Mo){return!Mo.props.disabled}))===null||nr===void 0?void 0:nr.key;if(jr){var In,wr,Qr;(In=Yn.current)===null||In===void 0||(wr=In.querySelector(\"li[data-menu-id='\".concat(_(Er,jr),\"']\")))===null||wr===void 0||(Qr=wr.focus)===null||Qr===void 0||Qr.call(wr,jn)}}}});var Yo=(0,h.Z)(re||[],{value:xe,postState:function(jn){return Array.isArray(jn)?jn:jn==null?ot:[jn]}}),Ao=(0,l.Z)(Yo,2),ga=Ao[0],Wa=Ao[1],ka=function(jn){if(Fn){var nr=jn.key,jr=ga.includes(nr),In;ie?jr?In=ga.filter(function(Qr){return Qr!==nr}):In=[].concat((0,u.Z)(ga),[nr]):In=[nr],Wa(In);var wr=(0,r.Z)((0,r.Z)({},jn),{},{selectedKeys:In});jr?Ue==null||Ue(wr):Ke==null||Ke(wr)}!ie&&fr.length&&xr!==\"inline\"&&hr(ot)},io=ee(function(lr){kt==null||kt(It(lr)),ka(lr)}),Qo=ee(function(lr,jn){var nr=fr.filter(function(In){return In!==lr});if(jn)nr.push(lr);else if(xr!==\"inline\"){var jr=oo(lr);nr=nr.filter(function(In){return!jr.has(In)})}(0,I.Z)(fr,nr,!0)||hr(nr,!0)}),Xo=ee(Rt),Ro=function(jn,nr){var jr=nr!=null?nr:!fr.includes(jn);Qo(jn,jr)},Po=we(xr,la,Hn,Er,Yn,xi,Za,Co,Ro,Qt);y.useEffect(function(){Xn(!0)},[]);var uo=y.useMemo(function(){return{_internalRenderMenuItem:gn,_internalRenderSubMenuItem:Kn}},[gn,Kn]),Dr=xr!==\"horizontal\"||pn?Ln:Ln.map(function(lr,jn){return y.createElement(F,{key:lr.key,overflowDisabled:jn>_r},lr)}),$n=y.createElement(p.Z,(0,a.Z)({id:$t,ref:Yn,prefixCls:\"\".concat(lt,\"-overflow\"),component:\"ul\",itemComponent:$e,className:v()(lt,\"\".concat(lt,\"-root\"),\"\".concat(lt,\"-\").concat(xr),Et,(st={},(0,o.Z)(st,\"\".concat(lt,\"-inline-collapsed\"),xt),(0,o.Z)(st,\"\".concat(lt,\"-rtl\"),Hn),st),gt),dir:Yt,style:mt,role:\"menu\",tabIndex:Mt,data:Dr,renderRawItem:function(jn){return jn},renderRawRest:function(jn){var nr=jn.length,jr=nr?Ln.slice(-nr):null;return y.createElement(Re,{eventKey:se,title:dt,disabled:ro,internalPopupClose:nr===0,popupClassName:Ct},jr)},maxCount:xr!==\"horizontal\"||pn?p.Z.INVALIDATE:p.Z.RESPONSIVE,ssr:\"full\",\"data-menu-list\":!0,onVisibleChange:function(jn){To(jn)},onKeyDown:Po},Pn));return y.createElement(ae.Provider,{value:uo},y.createElement(N.Provider,{value:Er},y.createElement(F,{prefixCls:lt,rootClassName:gt,mode:xr,openKeys:fr,rtl:Hn,disabled:hn,motion:Ar?P:null,defaultMotions:Ar?D:null,activeKey:la,onActive:Ci,onInactive:Oo,selectedKeys:ga,inlineIndent:w,subMenuOpenDelay:fn,subMenuCloseDelay:ar,forceSubMenuRender:An,builtinPlacements:Le,triggerSubMenuAction:be,getPopupContainer:Xo,itemIcon:je,expandIcon:ze,onItemClick:io,onOpenChange:Qo},y.createElement(Ee.Provider,{value:Go},$n),y.createElement(\"div\",{style:{display:\"none\"},\"aria-hidden\":!0},y.createElement(G.Provider,{value:wi},Ln)))))}),Nt=Dt,Lt=[\"className\",\"title\",\"eventKey\",\"children\"],Ht=[\"children\"],Vt=function(Ze){var nt=Ze.className,st=Ze.title,Qe=Ze.eventKey,ct=Ze.children,lt=(0,d.Z)(Ze,Lt),gt=y.useContext(U),mt=gt.prefixCls,Et=\"\".concat(mt,\"-item-group\");return y.createElement(\"li\",(0,a.Z)({role:\"presentation\"},lt,{onClick:function(Mt){return Mt.stopPropagation()},className:v()(Et,nt)}),y.createElement(\"div\",{role:\"presentation\",className:\"\".concat(Et,\"-title\"),title:typeof st==\"string\"?st:void 0},st),y.createElement(\"ul\",{role:\"group\",className:\"\".concat(Et,\"-list\")},ct))};function an(tt){var Ze=tt.children,nt=(0,d.Z)(tt,Ht),st=oe(nt.eventKey),Qe=qt(Ze,st),ct=q();return ct?Qe:y.createElement(Vt,(0,Oe.Z)(nt,[\"warnKey\"]),Qe)}function Wt(tt){var Ze=tt.className,nt=tt.style,st=y.useContext(U),Qe=st.prefixCls,ct=q();return ct?null:y.createElement(\"li\",{className:v()(\"\".concat(Qe,\"-item-divider\"),Ze),style:nt})}var bn=Nt;bn.Item=$e,bn.SubMenu=Re,bn.ItemGroup=an,bn.Divider=Wt;var ln=bn},81676:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return nn}});var a=e(24572),o=e(75782),r=e(91600),u=e(26143),l=e(50959),d=e(90899),f=e(64111),v=e(84875),p=e.n(v),h=e(61237);function g(b,W){var de={};return de[b.toLowerCase()]=W.toLowerCase(),de[\"Webkit\".concat(b)]=\"webkit\".concat(W),de[\"Moz\".concat(b)]=\"moz\".concat(W),de[\"ms\".concat(b)]=\"MS\".concat(W),de[\"O\".concat(b)]=\"o\".concat(W.toLowerCase()),de}function y(b,W){var de={animationend:g(\"Animation\",\"AnimationEnd\"),transitionend:g(\"Transition\",\"TransitionEnd\")};return b&&(\"AnimationEvent\"in W||delete de.animationend.animation,\"TransitionEvent\"in W||delete de.transitionend.transition),de}var S=y((0,h.Z)(),typeof window!=\"undefined\"?window:{}),I={};if((0,h.Z)()){var N=document.createElement(\"div\");I=N.style}var _={};function M(b){if(_[b])return _[b];var W=S[b];if(W)for(var de=Object.keys(W),ye=de.length,He=0;He<ye;He+=1){var rt=de[He];if(Object.prototype.hasOwnProperty.call(W,rt)&&rt in I)return _[b]=W[rt],_[b]}return\"\"}var L=M(\"animationend\"),k=M(\"transitionend\"),U=!!(L&&k),x=L||\"animationend\",F=k||\"transitionend\";function K(b,W){if(!b)return null;if((0,u.Z)(b)===\"object\"){var de=W.replace(/-\\w/g,function(ye){return ye[1].toUpperCase()});return b[de]}return\"\".concat(b,\"-\").concat(W)}var G=\"none\",q=\"appear\",X=\"enter\",oe=\"leave\",Ee=\"none\",Te=\"prepare\",ae=\"start\",z=\"active\",A=\"end\",T=e(13043),R=e(40086),j=function(){var b=l.useRef(null);function W(){R.Z.cancel(b.current)}function de(ye){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;W();var rt=(0,R.Z)(function(){He<=1?ye({isCanceled:function(){return rt!==b.current}}):de(ye,He-1)});b.current=rt}return l.useEffect(function(){return function(){W()}},[]),[de,W]},C=(0,h.Z)()?l.useLayoutEffect:l.useEffect,B=C,fe=[Te,ae,z,A],Ae=!1,ge=!0;function ce(b){return b===z||b===A}var Me=function(b,W){var de=(0,T.Z)(Ee),ye=(0,r.Z)(de,2),He=ye[0],rt=ye[1],$e=j(),pt=(0,r.Z)($e,2),Ot=pt[0],at=pt[1];function wt(){rt(Te,!0)}return B(function(){if(He!==Ee&&He!==A){var vt=fe.indexOf(He),jt=fe[vt+1],At=W(He);At===Ae?rt(jt,!0):Ot(function(qt){function En(){qt.isCanceled()||rt(jt,!0)}At===!0?En():Promise.resolve(At).then(En)})}},[b,He]),l.useEffect(function(){return function(){at()}},[]),[wt,He]},_e=function(b){var W=(0,l.useRef)(),de=(0,l.useRef)(b);de.current=b;var ye=l.useCallback(function($e){de.current($e)},[]);function He($e){$e&&($e.removeEventListener(F,ye),$e.removeEventListener(x,ye))}function rt($e){W.current&&W.current!==$e&&He(W.current),$e&&$e!==W.current&&($e.addEventListener(F,ye),$e.addEventListener(x,ye),W.current=$e)}return l.useEffect(function(){return function(){He(W.current)}},[]),[rt,He]};function De(b,W,de,ye){var He=ye.motionEnter,rt=He===void 0?!0:He,$e=ye.motionAppear,pt=$e===void 0?!0:$e,Ot=ye.motionLeave,at=Ot===void 0?!0:Ot,wt=ye.motionDeadline,vt=ye.motionLeaveImmediately,jt=ye.onAppearPrepare,At=ye.onEnterPrepare,qt=ye.onLeavePrepare,En=ye.onAppearStart,Ft=ye.onEnterStart,_n=ye.onLeaveStart,xn=ye.onAppearActive,Zn=ye.onEnterActive,Wn=ye.onLeaveActive,Jn=ye.onAppearEnd,Un=ye.onEnterEnd,qn=ye.onLeaveEnd,cr=ye.onVisibleChanged,pr=(0,T.Z)(),vr=(0,r.Z)(pr,2),Dn=vr[0],br=vr[1],zn=(0,T.Z)(G),Re=(0,r.Z)(zn,2),Ge=Re[0],ot=Re[1],Dt=(0,T.Z)(null),Nt=(0,r.Z)(Dt,2),Lt=Nt[0],Ht=Nt[1],Vt=(0,l.useRef)(!1),an=(0,l.useRef)(null);function Wt(){return de()}var bn=(0,l.useRef)(!1);function ln(Mt){var Bt=Wt();if(!(Mt&&!Mt.deadline&&Mt.target!==Bt)){var Kt=bn.current,Yt;Ge===q&&Kt?Yt=Jn==null?void 0:Jn(Bt,Mt):Ge===X&&Kt?Yt=Un==null?void 0:Un(Bt,Mt):Ge===oe&&Kt&&(Yt=qn==null?void 0:qn(Bt,Mt)),Ge!==G&&Kt&&Yt!==!1&&(ot(G,!0),Ht(null,!0))}}var tt=_e(ln),Ze=(0,r.Z)(tt,1),nt=Ze[0],st=l.useMemo(function(){var Mt,Bt,Kt;switch(Ge){case q:return Mt={},(0,a.Z)(Mt,Te,jt),(0,a.Z)(Mt,ae,En),(0,a.Z)(Mt,z,xn),Mt;case X:return Bt={},(0,a.Z)(Bt,Te,At),(0,a.Z)(Bt,ae,Ft),(0,a.Z)(Bt,z,Zn),Bt;case oe:return Kt={},(0,a.Z)(Kt,Te,qt),(0,a.Z)(Kt,ae,_n),(0,a.Z)(Kt,z,Wn),Kt;default:return{}}},[Ge]),Qe=Me(Ge,function(Mt){if(Mt===Te){var Bt=st[Te];return Bt?Bt(Wt()):Ae}if(gt in st){var Kt;Ht(((Kt=st[gt])===null||Kt===void 0?void 0:Kt.call(st,Wt(),null))||null)}return gt===z&&(nt(Wt()),wt>0&&(clearTimeout(an.current),an.current=setTimeout(function(){ln({deadline:!0})},wt))),ge}),ct=(0,r.Z)(Qe,2),lt=ct[0],gt=ct[1],mt=ce(gt);bn.current=mt,B(function(){br(W);var Mt=Vt.current;if(Vt.current=!0,!!b){var Bt;!Mt&&W&&pt&&(Bt=q),Mt&&W&&rt&&(Bt=X),(Mt&&!W&&at||!Mt&&vt&&!W&&at)&&(Bt=oe),Bt&&(ot(Bt),lt())}},[W]),(0,l.useEffect)(function(){(Ge===q&&!pt||Ge===X&&!rt||Ge===oe&&!at)&&ot(G)},[pt,rt,at]),(0,l.useEffect)(function(){return function(){Vt.current=!1,clearTimeout(an.current)}},[]);var Et=l.useRef(!1);(0,l.useEffect)(function(){Dn&&(Et.current=!0),Dn!==void 0&&Ge===G&&((Et.current||Dn)&&(cr==null||cr(Dn)),Et.current=!0)},[Dn,Ge]);var Pt=Lt;return st[Te]&&gt===ae&&(Pt=(0,o.Z)({transition:\"none\"},Pt)),[Ge,gt,Pt,Dn!=null?Dn:W]}var Ce=e(40936),it=e(49962),V=e(39027),we=e(76614),Ie=function(b){(0,V.Z)(de,b);var W=(0,we.Z)(de);function de(){return(0,Ce.Z)(this,de),W.apply(this,arguments)}return(0,it.Z)(de,[{key:\"render\",value:function(){return this.props.children}}]),de}(l.Component),le=Ie;function Ne(b){var W=b;(0,u.Z)(b)===\"object\"&&(W=b.transitionSupport);function de(He){return!!(He.motionName&&W)}var ye=l.forwardRef(function(He,rt){var $e=He.visible,pt=$e===void 0?!0:$e,Ot=He.removeOnLeave,at=Ot===void 0?!0:Ot,wt=He.forceRender,vt=He.children,jt=He.motionName,At=He.leavedClassName,qt=He.eventProps,En=de(He),Ft=(0,l.useRef)(),_n=(0,l.useRef)();function xn(){try{return Ft.current instanceof HTMLElement?Ft.current:(0,d.Z)(_n.current)}catch(Dt){return null}}var Zn=De(En,pt,xn,He),Wn=(0,r.Z)(Zn,4),Jn=Wn[0],Un=Wn[1],qn=Wn[2],cr=Wn[3],pr=l.useRef(cr);cr&&(pr.current=!0);var vr=l.useCallback(function(Dt){Ft.current=Dt,(0,f.mH)(rt,Dt)},[rt]),Dn,br=(0,o.Z)((0,o.Z)({},qt),{},{visible:pt});if(!vt)Dn=null;else if(Jn===G||!de(He))cr?Dn=vt((0,o.Z)({},br),vr):!at&&pr.current&&At?Dn=vt((0,o.Z)((0,o.Z)({},br),{},{className:At}),vr):wt||!at&&!At?Dn=vt((0,o.Z)((0,o.Z)({},br),{},{style:{display:\"none\"}}),vr):Dn=null;else{var zn,Re;Un===Te?Re=\"prepare\":ce(Un)?Re=\"active\":Un===ae&&(Re=\"start\"),Dn=vt((0,o.Z)((0,o.Z)({},br),{},{className:p()(K(jt,Jn),(zn={},(0,a.Z)(zn,K(jt,\"\".concat(Jn,\"-\").concat(Re)),Re),(0,a.Z)(zn,jt,typeof jt==\"string\"),zn)),style:qn}),vr)}if(l.isValidElement(Dn)&&(0,f.Yr)(Dn)){var Ge=Dn,ot=Ge.ref;ot||(Dn=l.cloneElement(Dn,{ref:vr}))}return l.createElement(le,{ref:_n},Dn)});return ye.displayName=\"CSSMotion\",ye}var te=Ne(U),se=e(51163),pe=e(58733),ee=e(60790),Se=\"add\",Q=\"keep\",Z=\"remove\",Y=\"removed\";function ue(b){var W;return b&&(0,u.Z)(b)===\"object\"&&\"key\"in b?W=b:W={key:b},(0,o.Z)((0,o.Z)({},W),{},{key:String(W.key)})}function he(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return b.map(ue)}function me(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],de=[],ye=0,He=W.length,rt=he(b),$e=he(W);rt.forEach(function(at){for(var wt=!1,vt=ye;vt<He;vt+=1){var jt=$e[vt];if(jt.key===at.key){ye<vt&&(de=de.concat($e.slice(ye,vt).map(function(At){return(0,o.Z)((0,o.Z)({},At),{},{status:Se})})),ye=vt),de.push((0,o.Z)((0,o.Z)({},jt),{},{status:Q})),ye+=1,wt=!0;break}}wt||de.push((0,o.Z)((0,o.Z)({},at),{},{status:Z}))}),ye<He&&(de=de.concat($e.slice(ye).map(function(at){return(0,o.Z)((0,o.Z)({},at),{},{status:Se})})));var pt={};de.forEach(function(at){var wt=at.key;pt[wt]=(pt[wt]||0)+1});var Ot=Object.keys(pt).filter(function(at){return pt[at]>1});return Ot.forEach(function(at){de=de.filter(function(wt){var vt=wt.key,jt=wt.status;return vt!==at||jt!==Z}),de.forEach(function(wt){wt.key===at&&(wt.status=Q)})}),de}var Oe=[\"component\",\"children\",\"onVisibleChanged\",\"onAllRemoved\"],We=[\"status\"],ke=[\"eventProps\",\"visible\",\"children\",\"motionName\",\"motionAppear\",\"motionEnter\",\"motionLeave\",\"motionLeaveImmediately\",\"motionDeadline\",\"removeOnLeave\",\"leavedClassName\",\"onAppearStart\",\"onAppearActive\",\"onAppearEnd\",\"onEnterStart\",\"onEnterActive\",\"onEnterEnd\",\"onLeaveStart\",\"onLeaveActive\",\"onLeaveEnd\"];function It(b){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:te,de=function(ye){(0,V.Z)(rt,ye);var He=(0,we.Z)(rt);function rt(){var $e;(0,Ce.Z)(this,rt);for(var pt=arguments.length,Ot=new Array(pt),at=0;at<pt;at++)Ot[at]=arguments[at];return $e=He.call.apply(He,[this].concat(Ot)),(0,a.Z)((0,ee.Z)($e),\"state\",{keyEntities:[]}),(0,a.Z)((0,ee.Z)($e),\"removeKey\",function(wt){var vt=$e.state.keyEntities,jt=vt.map(function(At){return At.key!==wt?At:(0,o.Z)((0,o.Z)({},At),{},{status:Y})});return $e.setState({keyEntities:jt}),jt.filter(function(At){var qt=At.status;return qt!==Y}).length}),$e}return(0,it.Z)(rt,[{key:\"render\",value:function(){var pt=this,Ot=this.state.keyEntities,at=this.props,wt=at.component,vt=at.children,jt=at.onVisibleChanged,At=at.onAllRemoved,qt=(0,pe.Z)(at,Oe),En=wt||l.Fragment,Ft={};return ke.forEach(function(_n){Ft[_n]=qt[_n],delete qt[_n]}),delete qt.keys,l.createElement(En,qt,Ot.map(function(_n){var xn=_n.status,Zn=(0,pe.Z)(_n,We),Wn=xn===Se||xn===Q;return l.createElement(W,(0,se.Z)({},Ft,{key:Zn.key,visible:Wn,eventProps:Zn,onVisibleChanged:function(Un){if(jt==null||jt(Un,{key:Zn.key}),!Un){var qn=pt.removeKey(Zn.key);qn===0&&At&&At()}}}),vt)}))}}],[{key:\"getDerivedStateFromProps\",value:function(pt,Ot){var at=pt.keys,wt=Ot.keyEntities,vt=he(at),jt=me(wt,vt);return{keyEntities:jt.filter(function(At){var qt=wt.find(function(En){var Ft=En.key;return At.key===Ft});return!(qt&&qt.status===Y&&At.status===Z)})}}}]),rt}(l.Component);return(0,a.Z)(de,\"defaultProps\",{component:\"div\"}),de}var ft=It(U),nn=te},93883:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return j}});var a=e(51163),o=e(75782),r=e(91600),u=e(58733),l=e(50959),d=e(84875),f=e.n(d),v=e(60555),p=e(57770),h=[\"prefixCls\",\"invalidate\",\"item\",\"renderItem\",\"responsive\",\"responsiveDisabled\",\"registerSize\",\"itemKey\",\"className\",\"style\",\"children\",\"display\",\"order\",\"component\"],g=void 0;function y(C,B){var fe=C.prefixCls,Ae=C.invalidate,ge=C.item,ce=C.renderItem,Me=C.responsive,_e=C.responsiveDisabled,De=C.registerSize,Ce=C.itemKey,it=C.className,V=C.style,we=C.children,Ie=C.display,le=C.order,Ne=C.component,te=Ne===void 0?\"div\":Ne,se=(0,u.Z)(C,h),pe=Me&&!Ie;function ee(ue){De(Ce,ue)}l.useEffect(function(){return function(){ee(null)}},[]);var Se=ce&&ge!==g?ce(ge):we,Q;Ae||(Q={opacity:pe?0:1,height:pe?0:g,overflowY:pe?\"hidden\":g,order:Me?le:g,pointerEvents:pe?\"none\":g,position:pe?\"absolute\":g});var Z={};pe&&(Z[\"aria-hidden\"]=!0);var Y=l.createElement(te,(0,a.Z)({className:f()(!Ae&&fe,it),style:(0,o.Z)((0,o.Z)({},Q),V)},Z,se,{ref:B}),Se);return Me&&(Y=l.createElement(v.Z,{onResize:function(he){var me=he.offsetWidth;ee(me)},disabled:_e},Y)),Y}var S=l.forwardRef(y);S.displayName=\"Item\";var I=S,N=e(51761),_=e(10422),M=e(40086);function L(C){if(typeof MessageChannel==\"undefined\")(0,M.Z)(C);else{var B=new MessageChannel;B.port1.onmessage=function(){return C()},B.port2.postMessage(void 0)}}function k(){var C=l.useRef(null),B=function(Ae){C.current||(C.current=[],L(function(){(0,_.unstable_batchedUpdates)(function(){C.current.forEach(function(ge){ge()}),C.current=null})})),C.current.push(Ae)};return B}function U(C,B){var fe=l.useState(B),Ae=(0,r.Z)(fe,2),ge=Ae[0],ce=Ae[1],Me=(0,N.Z)(function(_e){C(function(){ce(_e)})});return[ge,Me]}var x=[\"component\"],F=[\"className\"],K=[\"className\"],G=function(B,fe){var Ae=l.useContext(Ee);if(!Ae){var ge=B.component,ce=ge===void 0?\"div\":ge,Me=(0,u.Z)(B,x);return l.createElement(ce,(0,a.Z)({},Me,{ref:fe}))}var _e=Ae.className,De=(0,u.Z)(Ae,F),Ce=B.className,it=(0,u.Z)(B,K);return l.createElement(Ee.Provider,{value:null},l.createElement(I,(0,a.Z)({ref:fe,className:f()(_e,Ce)},De,it)))},q=l.forwardRef(G);q.displayName=\"RawItem\";var X=q,oe=[\"prefixCls\",\"data\",\"renderItem\",\"renderRawItem\",\"itemKey\",\"itemWidth\",\"ssr\",\"style\",\"className\",\"maxCount\",\"renderRest\",\"renderRawRest\",\"suffix\",\"component\",\"itemComponent\",\"onVisibleChange\"],Ee=l.createContext(null),Te=\"responsive\",ae=\"invalidate\";function z(C){return\"+ \".concat(C.length,\" ...\")}function A(C,B){var fe=C.prefixCls,Ae=fe===void 0?\"rc-overflow\":fe,ge=C.data,ce=ge===void 0?[]:ge,Me=C.renderItem,_e=C.renderRawItem,De=C.itemKey,Ce=C.itemWidth,it=Ce===void 0?10:Ce,V=C.ssr,we=C.style,Ie=C.className,le=C.maxCount,Ne=C.renderRest,te=C.renderRawRest,se=C.suffix,pe=C.component,ee=pe===void 0?\"div\":pe,Se=C.itemComponent,Q=C.onVisibleChange,Z=(0,u.Z)(C,oe),Y=V===\"full\",ue=k(),he=U(ue,null),me=(0,r.Z)(he,2),Oe=me[0],We=me[1],ke=Oe||0,It=U(ue,new Map),ft=(0,r.Z)(It,2),nn=ft[0],b=ft[1],W=U(ue,0),de=(0,r.Z)(W,2),ye=de[0],He=de[1],rt=U(ue,0),$e=(0,r.Z)(rt,2),pt=$e[0],Ot=$e[1],at=U(ue,0),wt=(0,r.Z)(at,2),vt=wt[0],jt=wt[1],At=(0,l.useState)(null),qt=(0,r.Z)(At,2),En=qt[0],Ft=qt[1],_n=(0,l.useState)(null),xn=(0,r.Z)(_n,2),Zn=xn[0],Wn=xn[1],Jn=l.useMemo(function(){return Zn===null&&Y?Number.MAX_SAFE_INTEGER:Zn||0},[Zn,Oe]),Un=(0,l.useState)(!1),qn=(0,r.Z)(Un,2),cr=qn[0],pr=qn[1],vr=\"\".concat(Ae,\"-item\"),Dn=Math.max(ye,pt),br=le===Te,zn=ce.length&&br,Re=le===ae,Ge=zn||typeof le==\"number\"&&ce.length>le,ot=(0,l.useMemo)(function(){var mt=ce;return zn?Oe===null&&Y?mt=ce:mt=ce.slice(0,Math.min(ce.length,ke/it)):typeof le==\"number\"&&(mt=ce.slice(0,le)),mt},[ce,it,Oe,le,zn]),Dt=(0,l.useMemo)(function(){return zn?ce.slice(Jn+1):ce.slice(ot.length)},[ce,ot,zn,Jn]),Nt=(0,l.useCallback)(function(mt,Et){var Pt;return typeof De==\"function\"?De(mt):(Pt=De&&(mt==null?void 0:mt[De]))!==null&&Pt!==void 0?Pt:Et},[De]),Lt=(0,l.useCallback)(Me||function(mt){return mt},[Me]);function Ht(mt,Et,Pt){Zn===mt&&(Et===void 0||Et===En)||(Wn(mt),Pt||(pr(mt<ce.length-1),Q==null||Q(mt)),Et!==void 0&&Ft(Et))}function Vt(mt,Et){We(Et.clientWidth)}function an(mt,Et){b(function(Pt){var Mt=new Map(Pt);return Et===null?Mt.delete(mt):Mt.set(mt,Et),Mt})}function Wt(mt,Et){Ot(Et),He(pt)}function bn(mt,Et){jt(Et)}function ln(mt){return nn.get(Nt(ot[mt],mt))}(0,p.Z)(function(){if(ke&&typeof Dn==\"number\"&&ot){var mt=vt,Et=ot.length,Pt=Et-1;if(!Et){Ht(0,null);return}for(var Mt=0;Mt<Et;Mt+=1){var Bt=ln(Mt);if(Y&&(Bt=Bt||0),Bt===void 0){Ht(Mt-1,void 0,!0);break}if(mt+=Bt,Pt===0&&mt<=ke||Mt===Pt-1&&mt+ln(Pt)<=ke){Ht(Pt,null);break}else if(mt+Dn>ke){Ht(Mt-1,mt-Bt-vt+pt);break}}se&&ln(0)+vt>ke&&Ft(null)}},[ke,nn,pt,vt,Nt,ot]);var tt=cr&&!!Dt.length,Ze={};En!==null&&zn&&(Ze={position:\"absolute\",left:En,top:0});var nt={prefixCls:vr,responsive:zn,component:Se,invalidate:Re},st=_e?function(mt,Et){var Pt=Nt(mt,Et);return l.createElement(Ee.Provider,{key:Pt,value:(0,o.Z)((0,o.Z)({},nt),{},{order:Et,item:mt,itemKey:Pt,registerSize:an,display:Et<=Jn})},_e(mt,Et))}:function(mt,Et){var Pt=Nt(mt,Et);return l.createElement(I,(0,a.Z)({},nt,{order:Et,key:Pt,item:mt,renderItem:Lt,itemKey:Pt,registerSize:an,display:Et<=Jn}))},Qe,ct={order:tt?Jn:Number.MAX_SAFE_INTEGER,className:\"\".concat(vr,\"-rest\"),registerSize:Wt,display:tt};if(te)te&&(Qe=l.createElement(Ee.Provider,{value:(0,o.Z)((0,o.Z)({},nt),ct)},te(Dt)));else{var lt=Ne||z;Qe=l.createElement(I,(0,a.Z)({},nt,ct),typeof lt==\"function\"?lt(Dt):lt)}var gt=l.createElement(ee,(0,a.Z)({className:f()(!Re&&Ae,Ie),style:we,ref:B},Z),ot.map(st),Ge?Qe:null,se&&l.createElement(I,(0,a.Z)({},nt,{responsive:br,responsiveDisabled:!zn,order:Jn,className:\"\".concat(vr,\"-suffix\"),registerSize:bn,display:!0,style:Ze}),se));return br&&(gt=l.createElement(v.Z,{onResize:Vt,disabled:!zn},gt)),gt}var T=l.forwardRef(A);T.displayName=\"Overflow\",T.Item=X,T.RESPONSIVE=Te,T.INVALIDATE=ae;var R=T,j=R},60555:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return Te}});var a=e(51163),o=e(50959),r=e(16030),u=e(53675),l=e(75782),d=e(64111),f=e(90899),v=e(73023),p=new Map;function h(ae){ae.forEach(function(z){var A,T=z.target;(A=p.get(T))===null||A===void 0||A.forEach(function(R){return R(T)})})}var g=new v.Z(h),y=null,S=null;function I(ae,z){p.has(ae)||(p.set(ae,new Set),g.observe(ae)),p.get(ae).add(z)}function N(ae,z){p.has(ae)&&(p.get(ae).delete(z),p.get(ae).size||(g.unobserve(ae),p.delete(ae)))}var _=e(40936),M=e(49962),L=e(39027),k=e(76614),U=function(ae){(0,L.Z)(A,ae);var z=(0,k.Z)(A);function A(){return(0,_.Z)(this,A),z.apply(this,arguments)}return(0,M.Z)(A,[{key:\"render\",value:function(){return this.props.children}}]),A}(o.Component),x=o.createContext(null);function F(ae){var z=ae.children,A=ae.onBatchResize,T=o.useRef(0),R=o.useRef([]),j=o.useContext(x),C=o.useCallback(function(B,fe,Ae){T.current+=1;var ge=T.current;R.current.push({size:B,element:fe,data:Ae}),Promise.resolve().then(function(){ge===T.current&&(A==null||A(R.current),R.current=[])}),j==null||j(B,fe,Ae)},[A,j]);return o.createElement(x.Provider,{value:C},z)}function K(ae,z){var A=ae.children,T=ae.disabled,R=o.useRef(null),j=o.useRef(null),C=o.useContext(x),B=typeof A==\"function\",fe=B?A(R):A,Ae=o.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),ge=!B&&o.isValidElement(fe)&&(0,d.Yr)(fe),ce=ge?fe.ref:null,Me=o.useMemo(function(){return(0,d.sQ)(ce,R)},[ce,R]),_e=function(){return(0,f.Z)(R.current)||(0,f.Z)(j.current)};o.useImperativeHandle(z,function(){return _e()});var De=o.useRef(ae);De.current=ae;var Ce=o.useCallback(function(it){var V=De.current,we=V.onResize,Ie=V.data,le=it.getBoundingClientRect(),Ne=le.width,te=le.height,se=it.offsetWidth,pe=it.offsetHeight,ee=Math.floor(Ne),Se=Math.floor(te);if(Ae.current.width!==ee||Ae.current.height!==Se||Ae.current.offsetWidth!==se||Ae.current.offsetHeight!==pe){var Q={width:ee,height:Se,offsetWidth:se,offsetHeight:pe};Ae.current=Q;var Z=se===Math.round(Ne)?Ne:se,Y=pe===Math.round(te)?te:pe,ue=(0,l.Z)((0,l.Z)({},Q),{},{offsetWidth:Z,offsetHeight:Y});C==null||C(ue,it,Ie),we&&Promise.resolve().then(function(){we(ue,it)})}},[]);return o.useEffect(function(){var it=_e();return it&&!T&&I(it,Ce),function(){return N(it,Ce)}},[R.current,T]),o.createElement(U,{ref:j},ge?o.cloneElement(fe,{ref:Me}):fe)}var G=o.forwardRef(K),q=G,X=\"rc-observer-key\";function oe(ae,z){var A=ae.children,T=typeof A==\"function\"?[A]:(0,r.Z)(A);return T.map(function(R,j){var C=(R==null?void 0:R.key)||\"\".concat(X,\"-\").concat(j);return o.createElement(q,(0,a.Z)({},ae,{key:C,ref:j===0?z:void 0}),R)})}var Ee=o.forwardRef(oe);Ee.Collection=F;var Te=Ee},62855:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return Fn}});var a=e(75782),o=e(51163),r=e(40936),u=e(49962),l=e(60790),d=e(39027),f=e(76614),v=e(24572),p=e(50959),h=e(10422),g=e(40086),y=e(89013),S=e(90899),I=e(64111);function N(H,ie,re,xe){var Ke=h.unstable_batchedUpdates?function(J){h.unstable_batchedUpdates(re,J)}:re;return H.addEventListener&&H.addEventListener(ie,Ke,xe),{remove:function(){H.removeEventListener&&H.removeEventListener(ie,Ke,xe)}}}var _=e(61237),M=(0,p.forwardRef)(function(H,ie){var re=H.didUpdate,xe=H.getContainer,Ke=H.children,Ue=(0,p.useRef)(),J=(0,p.useRef)();(0,p.useImperativeHandle)(ie,function(){return{}});var w=(0,p.useRef)(!1);return!w.current&&(0,_.Z)()&&(J.current=xe(),Ue.current=J.current.parentNode,w.current=!0),(0,p.useEffect)(function(){re==null||re(H)}),(0,p.useEffect)(function(){return J.current.parentNode===null&&Ue.current!==null&&Ue.current.appendChild(J.current),function(){var P,D;(P=J.current)===null||P===void 0||(D=P.parentNode)===null||D===void 0||D.removeChild(J.current)}},[]),J.current?h.createPortal(Ke,J.current):null}),L=M,k=e(84875),U=e.n(k);function x(H,ie,re){return re?H[0]===ie[0]:H[0]===ie[0]&&H[1]===ie[1]}function F(H,ie,re){var xe=H[ie]||{};return(0,a.Z)((0,a.Z)({},xe),re)}function K(H,ie,re,xe){for(var Ke=re.points,Ue=Object.keys(H),J=0;J<Ue.length;J+=1){var w=Ue[J];if(x(H[w].points,Ke,xe))return\"\".concat(ie,\"-placement-\").concat(w)}return\"\"}var G=e(91600),q=e(58733),X=e(31591),oe=e(81676);function Ee(H){var ie=H.prefixCls,re=H.motion,xe=H.animation,Ke=H.transitionName;return re||(xe?{motionName:\"\".concat(ie,\"-\").concat(xe)}:Ke?{motionName:Ke}:null)}function Te(H){var ie=H.prefixCls,re=H.visible,xe=H.zIndex,Ke=H.mask,Ue=H.maskMotion,J=H.maskAnimation,w=H.maskTransitionName;if(!Ke)return null;var P={};return(Ue||w||J)&&(P=(0,a.Z)({motionAppear:!0},Ee({motion:Ue,prefixCls:ie,transitionName:w,animation:J}))),p.createElement(oe.Z,(0,o.Z)({},P,{visible:re,removeOnLeave:!0}),function(D){var ne=D.className;return p.createElement(\"div\",{style:{zIndex:xe},className:U()(\"\".concat(ie,\"-mask\"),ne)})})}var ae=e(26143);function z(H,ie){var re=Object.keys(H);if(Object.getOwnPropertySymbols){var xe=Object.getOwnPropertySymbols(H);ie&&(xe=xe.filter(function(Ke){return Object.getOwnPropertyDescriptor(H,Ke).enumerable})),re.push.apply(re,xe)}return re}function A(H){for(var ie=1;ie<arguments.length;ie++){var re=arguments[ie]!=null?arguments[ie]:{};ie%2?z(Object(re),!0).forEach(function(xe){R(H,xe,re[xe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(H,Object.getOwnPropertyDescriptors(re)):z(Object(re)).forEach(function(xe){Object.defineProperty(H,xe,Object.getOwnPropertyDescriptor(re,xe))})}return H}function T(H){return T=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(ie){return typeof ie}:function(ie){return ie&&typeof Symbol==\"function\"&&ie.constructor===Symbol&&ie!==Symbol.prototype?\"symbol\":typeof ie},T(H)}function R(H,ie,re){return ie in H?Object.defineProperty(H,ie,{value:re,enumerable:!0,configurable:!0,writable:!0}):H[ie]=re,H}var j,C={Webkit:\"-webkit-\",Moz:\"-moz-\",ms:\"-ms-\",O:\"-o-\"};function B(){if(j!==void 0)return j;j=\"\";var H=document.createElement(\"p\").style,ie=\"Transform\";for(var re in C)re+ie in H&&(j=re);return j}function fe(){return B()?\"\".concat(B(),\"TransitionProperty\"):\"transitionProperty\"}function Ae(){return B()?\"\".concat(B(),\"Transform\"):\"transform\"}function ge(H,ie){var re=fe();re&&(H.style[re]=ie,re!==\"transitionProperty\"&&(H.style.transitionProperty=ie))}function ce(H,ie){var re=Ae();re&&(H.style[re]=ie,re!==\"transform\"&&(H.style.transform=ie))}function Me(H){return H.style.transitionProperty||H.style[fe()]}function _e(H){var ie=window.getComputedStyle(H,null),re=ie.getPropertyValue(\"transform\")||ie.getPropertyValue(Ae());if(re&&re!==\"none\"){var xe=re.replace(/[^0-9\\-.,]/g,\"\").split(\",\");return{x:parseFloat(xe[12]||xe[4],0),y:parseFloat(xe[13]||xe[5],0)}}return{x:0,y:0}}var De=/matrix\\((.*)\\)/,Ce=/matrix3d\\((.*)\\)/;function it(H,ie){var re=window.getComputedStyle(H,null),xe=re.getPropertyValue(\"transform\")||re.getPropertyValue(Ae());if(xe&&xe!==\"none\"){var Ke,Ue=xe.match(De);if(Ue)Ue=Ue[1],Ke=Ue.split(\",\").map(function(w){return parseFloat(w,10)}),Ke[4]=ie.x,Ke[5]=ie.y,ce(H,\"matrix(\".concat(Ke.join(\",\"),\")\"));else{var J=xe.match(Ce)[1];Ke=J.split(\",\").map(function(w){return parseFloat(w,10)}),Ke[12]=ie.x,Ke[13]=ie.y,ce(H,\"matrix3d(\".concat(Ke.join(\",\"),\")\"))}}else ce(H,\"translateX(\".concat(ie.x,\"px) translateY(\").concat(ie.y,\"px) translateZ(0)\"))}var V=/[\\-+]?(?:\\d*\\.|)\\d+(?:[eE][\\-+]?\\d+|)/.source,we;function Ie(H){var ie=H.style.display;H.style.display=\"none\",H.offsetHeight,H.style.display=ie}function le(H,ie,re){var xe=re;if(T(ie)===\"object\"){for(var Ke in ie)ie.hasOwnProperty(Ke)&&le(H,Ke,ie[Ke]);return}if(typeof xe!=\"undefined\"){typeof xe==\"number\"&&(xe=\"\".concat(xe,\"px\")),H.style[ie]=xe;return}return we(H,ie)}function Ne(H){var ie,re,xe,Ke=H.ownerDocument,Ue=Ke.body,J=Ke&&Ke.documentElement;return ie=H.getBoundingClientRect(),re=Math.floor(ie.left),xe=Math.floor(ie.top),re-=J.clientLeft||Ue.clientLeft||0,xe-=J.clientTop||Ue.clientTop||0,{left:re,top:xe}}function te(H,ie){var re=H[\"page\".concat(ie?\"Y\":\"X\",\"Offset\")],xe=\"scroll\".concat(ie?\"Top\":\"Left\");if(typeof re!=\"number\"){var Ke=H.document;re=Ke.documentElement[xe],typeof re!=\"number\"&&(re=Ke.body[xe])}return re}function se(H){return te(H)}function pe(H){return te(H,!0)}function ee(H){var ie=Ne(H),re=H.ownerDocument,xe=re.defaultView||re.parentWindow;return ie.left+=se(xe),ie.top+=pe(xe),ie}function Se(H){return H!=null&&H==H.window}function Q(H){return Se(H)?H.document:H.nodeType===9?H:H.ownerDocument}function Z(H,ie,re){var xe=re,Ke=\"\",Ue=Q(H);return xe=xe||Ue.defaultView.getComputedStyle(H,null),xe&&(Ke=xe.getPropertyValue(ie)||xe[ie]),Ke}var Y=new RegExp(\"^(\".concat(V,\")(?!px)[a-z%]+$\"),\"i\"),ue=/^(top|right|bottom|left)$/,he=\"currentStyle\",me=\"runtimeStyle\",Oe=\"left\",We=\"px\";function ke(H,ie){var re=H[he]&&H[he][ie];if(Y.test(re)&&!ue.test(ie)){var xe=H.style,Ke=xe[Oe],Ue=H[me][Oe];H[me][Oe]=H[he][Oe],xe[Oe]=ie===\"fontSize\"?\"1em\":re||0,re=xe.pixelLeft+We,xe[Oe]=Ke,H[me][Oe]=Ue}return re===\"\"?\"auto\":re}typeof window!=\"undefined\"&&(we=window.getComputedStyle?Z:ke);function It(H,ie){return H===\"left\"?ie.useCssRight?\"right\":H:ie.useCssBottom?\"bottom\":H}function ft(H){if(H===\"left\")return\"right\";if(H===\"right\")return\"left\";if(H===\"top\")return\"bottom\";if(H===\"bottom\")return\"top\"}function nn(H,ie,re){le(H,\"position\")===\"static\"&&(H.style.position=\"relative\");var xe=-999,Ke=-999,Ue=It(\"left\",re),J=It(\"top\",re),w=ft(Ue),P=ft(J);Ue!==\"left\"&&(xe=999),J!==\"top\"&&(Ke=999);var D=\"\",ne=ee(H);(\"left\"in ie||\"top\"in ie)&&(D=Me(H)||\"\",ge(H,\"none\")),\"left\"in ie&&(H.style[w]=\"\",H.style[Ue]=\"\".concat(xe,\"px\")),\"top\"in ie&&(H.style[P]=\"\",H.style[J]=\"\".concat(Ke,\"px\")),Ie(H);var be=ee(H),Le={};for(var je in ie)if(ie.hasOwnProperty(je)){var ze=It(je,re),ut=je===\"left\"?xe:Ke,dt=ne[je]-be[je];ze===je?Le[ze]=ut+dt:Le[ze]=ut-dt}le(H,Le),Ie(H),(\"left\"in ie||\"top\"in ie)&&ge(H,D);var Ct={};for(var Rt in ie)if(ie.hasOwnProperty(Rt)){var kt=It(Rt,re),Ut=ie[Rt]-ne[Rt];Rt===kt?Ct[kt]=Le[kt]+Ut:Ct[kt]=Le[kt]-Ut}le(H,Ct)}function b(H,ie){var re=ee(H),xe=_e(H),Ke={x:xe.x,y:xe.y};\"left\"in ie&&(Ke.x=xe.x+ie.left-re.left),\"top\"in ie&&(Ke.y=xe.y+ie.top-re.top),it(H,Ke)}function W(H,ie,re){if(re.ignoreShake){var xe=ee(H),Ke=xe.left.toFixed(0),Ue=xe.top.toFixed(0),J=ie.left.toFixed(0),w=ie.top.toFixed(0);if(Ke===J&&Ue===w)return}re.useCssRight||re.useCssBottom?nn(H,ie,re):re.useCssTransform&&Ae()in document.body.style?b(H,ie):nn(H,ie,re)}function de(H,ie){for(var re=0;re<H.length;re++)ie(H[re])}function ye(H){return we(H,\"boxSizing\")===\"border-box\"}var He=[\"margin\",\"border\",\"padding\"],rt=-1,$e=2,pt=1,Ot=0;function at(H,ie,re){var xe={},Ke=H.style,Ue;for(Ue in ie)ie.hasOwnProperty(Ue)&&(xe[Ue]=Ke[Ue],Ke[Ue]=ie[Ue]);re.call(H);for(Ue in ie)ie.hasOwnProperty(Ue)&&(Ke[Ue]=xe[Ue])}function wt(H,ie,re){var xe=0,Ke,Ue,J;for(Ue=0;Ue<ie.length;Ue++)if(Ke=ie[Ue],Ke)for(J=0;J<re.length;J++){var w=void 0;Ke===\"border\"?w=\"\".concat(Ke).concat(re[J],\"Width\"):w=Ke+re[J],xe+=parseFloat(we(H,w))||0}return xe}var vt={getParent:function(ie){var re=ie;do re.nodeType===11&&re.host?re=re.host:re=re.parentNode;while(re&&re.nodeType!==1&&re.nodeType!==9);return re}};de([\"Width\",\"Height\"],function(H){vt[\"doc\".concat(H)]=function(ie){var re=ie.document;return Math.max(re.documentElement[\"scroll\".concat(H)],re.body[\"scroll\".concat(H)],vt[\"viewport\".concat(H)](re))},vt[\"viewport\".concat(H)]=function(ie){var re=\"client\".concat(H),xe=ie.document,Ke=xe.body,Ue=xe.documentElement,J=Ue[re];return xe.compatMode===\"CSS1Compat\"&&J||Ke&&Ke[re]||J}});function jt(H,ie,re){var xe=re;if(Se(H))return ie===\"width\"?vt.viewportWidth(H):vt.viewportHeight(H);if(H.nodeType===9)return ie===\"width\"?vt.docWidth(H):vt.docHeight(H);var Ke=ie===\"width\"?[\"Left\",\"Right\"]:[\"Top\",\"Bottom\"],Ue=Math.floor(ie===\"width\"?H.getBoundingClientRect().width:H.getBoundingClientRect().height),J=ye(H),w=0;(Ue==null||Ue<=0)&&(Ue=void 0,w=we(H,ie),(w==null||Number(w)<0)&&(w=H.style[ie]||0),w=Math.floor(parseFloat(w))||0),xe===void 0&&(xe=J?pt:rt);var P=Ue!==void 0||J,D=Ue||w;return xe===rt?P?D-wt(H,[\"border\",\"padding\"],Ke):w:P?xe===pt?D:D+(xe===$e?-wt(H,[\"border\"],Ke):wt(H,[\"margin\"],Ke)):w+wt(H,He.slice(xe),Ke)}var At={position:\"absolute\",visibility:\"hidden\",display:\"block\"};function qt(){for(var H=arguments.length,ie=new Array(H),re=0;re<H;re++)ie[re]=arguments[re];var xe,Ke=ie[0];return Ke.offsetWidth!==0?xe=jt.apply(void 0,ie):at(Ke,At,function(){xe=jt.apply(void 0,ie)}),xe}de([\"width\",\"height\"],function(H){var ie=H.charAt(0).toUpperCase()+H.slice(1);vt[\"outer\".concat(ie)]=function(xe,Ke){return xe&&qt(xe,H,Ke?Ot:pt)};var re=H===\"width\"?[\"Left\",\"Right\"]:[\"Top\",\"Bottom\"];vt[H]=function(xe,Ke){var Ue=Ke;if(Ue!==void 0){if(xe){var J=ye(xe);return J&&(Ue+=wt(xe,[\"padding\",\"border\"],re)),le(xe,H,Ue)}return}return xe&&qt(xe,H,rt)}});function En(H,ie){for(var re in ie)ie.hasOwnProperty(re)&&(H[re]=ie[re]);return H}var Ft={getWindow:function(ie){if(ie&&ie.document&&ie.setTimeout)return ie;var re=ie.ownerDocument||ie;return re.defaultView||re.parentWindow},getDocument:Q,offset:function(ie,re,xe){if(typeof re!=\"undefined\")W(ie,re,xe||{});else return ee(ie)},isWindow:Se,each:de,css:le,clone:function(ie){var re,xe={};for(re in ie)ie.hasOwnProperty(re)&&(xe[re]=ie[re]);var Ke=ie.overflow;if(Ke)for(re in ie)ie.hasOwnProperty(re)&&(xe.overflow[re]=ie.overflow[re]);return xe},mix:En,getWindowScrollLeft:function(ie){return se(ie)},getWindowScrollTop:function(ie){return pe(ie)},merge:function(){for(var ie={},re=0;re<arguments.length;re++)Ft.mix(ie,re<0||arguments.length<=re?void 0:arguments[re]);return ie},viewportWidth:0,viewportHeight:0};En(Ft,vt);var _n=Ft.getParent;function xn(H){if(Ft.isWindow(H)||H.nodeType===9)return null;var ie=Ft.getDocument(H),re=ie.body,xe,Ke=Ft.css(H,\"position\"),Ue=Ke===\"fixed\"||Ke===\"absolute\";if(!Ue)return H.nodeName.toLowerCase()===\"html\"?null:_n(H);for(xe=_n(H);xe&&xe!==re&&xe.nodeType!==9;xe=_n(xe))if(Ke=Ft.css(xe,\"position\"),Ke!==\"static\")return xe;return null}var Zn=Ft.getParent;function Wn(H){if(Ft.isWindow(H)||H.nodeType===9)return!1;var ie=Ft.getDocument(H),re=ie.body,xe=null;for(xe=Zn(H);xe&&xe!==re&&xe!==ie;xe=Zn(xe)){var Ke=Ft.css(xe,\"position\");if(Ke===\"fixed\")return!0}return!1}function Jn(H,ie){for(var re={left:0,right:1/0,top:0,bottom:1/0},xe=xn(H),Ke=Ft.getDocument(H),Ue=Ke.defaultView||Ke.parentWindow,J=Ke.body,w=Ke.documentElement;xe;){if((navigator.userAgent.indexOf(\"MSIE\")===-1||xe.clientWidth!==0)&&xe!==J&&xe!==w&&Ft.css(xe,\"overflow\")!==\"visible\"){var P=Ft.offset(xe);P.left+=xe.clientLeft,P.top+=xe.clientTop,re.top=Math.max(re.top,P.top),re.right=Math.min(re.right,P.left+xe.clientWidth),re.bottom=Math.min(re.bottom,P.top+xe.clientHeight),re.left=Math.max(re.left,P.left)}else if(xe===J||xe===w)break;xe=xn(xe)}var D=null;if(!Ft.isWindow(H)&&H.nodeType!==9){D=H.style.position;var ne=Ft.css(H,\"position\");ne===\"absolute\"&&(H.style.position=\"fixed\")}var be=Ft.getWindowScrollLeft(Ue),Le=Ft.getWindowScrollTop(Ue),je=Ft.viewportWidth(Ue),ze=Ft.viewportHeight(Ue),ut=w.scrollWidth,dt=w.scrollHeight,Ct=window.getComputedStyle(J);if(Ct.overflowX===\"hidden\"&&(ut=Ue.innerWidth),Ct.overflowY===\"hidden\"&&(dt=Ue.innerHeight),H.style&&(H.style.position=D),ie||Wn(H))re.left=Math.max(re.left,be),re.top=Math.max(re.top,Le),re.right=Math.min(re.right,be+je),re.bottom=Math.min(re.bottom,Le+ze);else{var Rt=Math.max(ut,be+je);re.right=Math.min(re.right,Rt);var kt=Math.max(dt,Le+ze);re.bottom=Math.min(re.bottom,kt)}return re.top>=0&&re.left>=0&&re.bottom>re.top&&re.right>re.left?re:null}function Un(H,ie,re,xe){var Ke=Ft.clone(H),Ue={width:ie.width,height:ie.height};return xe.adjustX&&Ke.left<re.left&&(Ke.left=re.left),xe.resizeWidth&&Ke.left>=re.left&&Ke.left+Ue.width>re.right&&(Ue.width-=Ke.left+Ue.width-re.right),xe.adjustX&&Ke.left+Ue.width>re.right&&(Ke.left=Math.max(re.right-Ue.width,re.left)),xe.adjustY&&Ke.top<re.top&&(Ke.top=re.top),xe.resizeHeight&&Ke.top>=re.top&&Ke.top+Ue.height>re.bottom&&(Ue.height-=Ke.top+Ue.height-re.bottom),xe.adjustY&&Ke.top+Ue.height>re.bottom&&(Ke.top=Math.max(re.bottom-Ue.height,re.top)),Ft.mix(Ke,Ue)}function qn(H){var ie,re,xe;if(!Ft.isWindow(H)&&H.nodeType!==9)ie=Ft.offset(H),re=Ft.outerWidth(H),xe=Ft.outerHeight(H);else{var Ke=Ft.getWindow(H);ie={left:Ft.getWindowScrollLeft(Ke),top:Ft.getWindowScrollTop(Ke)},re=Ft.viewportWidth(Ke),xe=Ft.viewportHeight(Ke)}return ie.width=re,ie.height=xe,ie}function cr(H,ie){var re=ie.charAt(0),xe=ie.charAt(1),Ke=H.width,Ue=H.height,J=H.left,w=H.top;return re===\"c\"?w+=Ue/2:re===\"b\"&&(w+=Ue),xe===\"c\"?J+=Ke/2:xe===\"r\"&&(J+=Ke),{left:J,top:w}}function pr(H,ie,re,xe,Ke){var Ue=cr(ie,re[1]),J=cr(H,re[0]),w=[J.left-Ue.left,J.top-Ue.top];return{left:Math.round(H.left-w[0]+xe[0]-Ke[0]),top:Math.round(H.top-w[1]+xe[1]-Ke[1])}}function vr(H,ie,re){return H.left<re.left||H.left+ie.width>re.right}function Dn(H,ie,re){return H.top<re.top||H.top+ie.height>re.bottom}function br(H,ie,re){return H.left>re.right||H.left+ie.width<re.left}function zn(H,ie,re){return H.top>re.bottom||H.top+ie.height<re.top}function Re(H,ie,re){var xe=[];return Ft.each(H,function(Ke){xe.push(Ke.replace(ie,function(Ue){return re[Ue]}))}),xe}function Ge(H,ie){return H[ie]=-H[ie],H}function ot(H,ie){var re;return/%$/.test(H)?re=parseInt(H.substring(0,H.length-1),10)/100*ie:re=parseInt(H,10),re||0}function Dt(H,ie){H[0]=ot(H[0],ie.width),H[1]=ot(H[1],ie.height)}function Nt(H,ie,re,xe){var Ke=re.points,Ue=re.offset||[0,0],J=re.targetOffset||[0,0],w=re.overflow,P=re.source||H;Ue=[].concat(Ue),J=[].concat(J),w=w||{};var D={},ne=0,be=!!(w&&w.alwaysByViewport),Le=Jn(P,be),je=qn(P);Dt(Ue,je),Dt(J,ie);var ze=pr(je,ie,Ke,Ue,J),ut=Ft.merge(je,ze);if(Le&&(w.adjustX||w.adjustY)&&xe){if(w.adjustX&&vr(ze,je,Le)){var dt=Re(Ke,/[lr]/gi,{l:\"r\",r:\"l\"}),Ct=Ge(Ue,0),Rt=Ge(J,0),kt=pr(je,ie,dt,Ct,Rt);br(kt,je,Le)||(ne=1,Ke=dt,Ue=Ct,J=Rt)}if(w.adjustY&&Dn(ze,je,Le)){var Ut=Re(Ke,/[tb]/gi,{t:\"b\",b:\"t\"}),Qt=Ge(Ue,1),cn=Ge(J,1),wn=pr(je,ie,Ut,Qt,cn);zn(wn,je,Le)||(ne=1,Ke=Ut,Ue=Qt,J=cn)}ne&&(ze=pr(je,ie,Ke,Ue,J),Ft.mix(ut,ze));var gn=vr(ze,je,Le),Kn=Dn(ze,je,Le);if(gn||Kn){var Pn=Ke;gn&&(Pn=Re(Ke,/[lr]/gi,{l:\"r\",r:\"l\"})),Kn&&(Pn=Re(Ke,/[tb]/gi,{t:\"b\",b:\"t\"})),Ke=Pn,Ue=re.offset||[0,0],J=re.targetOffset||[0,0]}D.adjustX=w.adjustX&&gn,D.adjustY=w.adjustY&&Kn,(D.adjustX||D.adjustY)&&(ut=Un(ze,je,Le,D))}return ut.width!==je.width&&Ft.css(P,\"width\",Ft.width(P)+ut.width-je.width),ut.height!==je.height&&Ft.css(P,\"height\",Ft.height(P)+ut.height-je.height),Ft.offset(P,{left:ut.left,top:ut.top},{useCssRight:re.useCssRight,useCssBottom:re.useCssBottom,useCssTransform:re.useCssTransform,ignoreShake:re.ignoreShake}),{points:Ke,offset:Ue,targetOffset:J,overflow:D}}function Lt(H,ie){var re=Jn(H,ie),xe=qn(H);return!re||xe.left+xe.width<=re.left||xe.top+xe.height<=re.top||xe.left>=re.right||xe.top>=re.bottom}function Ht(H,ie,re){var xe=re.target||ie,Ke=qn(xe),Ue=!Lt(xe,re.overflow&&re.overflow.alwaysByViewport);return Nt(H,Ke,re,Ue)}Ht.__getOffsetParent=xn,Ht.__getVisibleRectForElement=Jn;function Vt(H,ie,re){var xe,Ke,Ue=Ft.getDocument(H),J=Ue.defaultView||Ue.parentWindow,w=Ft.getWindowScrollLeft(J),P=Ft.getWindowScrollTop(J),D=Ft.viewportWidth(J),ne=Ft.viewportHeight(J);\"pageX\"in ie?xe=ie.pageX:xe=w+ie.clientX,\"pageY\"in ie?Ke=ie.pageY:Ke=P+ie.clientY;var be={left:xe,top:Ke,width:0,height:0},Le=xe>=0&&xe<=w+D&&Ke>=0&&Ke<=P+ne,je=[re.points[0],\"cc\"];return Nt(H,be,A(A({},re),{},{points:je}),Le)}var an=null,Wt=e(37304),bn=e(25155),ln=e(57770),tt=function(H,ie){var re=p.useRef(!1),xe=p.useRef(null);function Ke(){window.clearTimeout(xe.current)}function Ue(J){if(Ke(),!re.current||J===!0){if(H(J)===!1)return;re.current=!0,xe.current=window.setTimeout(function(){re.current=!1},ie)}else xe.current=window.setTimeout(function(){re.current=!1,Ue()},ie)}return[Ue,function(){re.current=!1,Ke()}]},Ze=e(73023);function nt(H,ie){return H===ie?!0:!H||!ie?!1:\"pageX\"in ie&&\"pageY\"in ie?H.pageX===ie.pageX&&H.pageY===ie.pageY:\"clientX\"in ie&&\"clientY\"in ie?H.clientX===ie.clientX&&H.clientY===ie.clientY:!1}function st(H,ie){H!==document.activeElement&&(0,y.Z)(ie,H)&&typeof H.focus==\"function\"&&H.focus()}function Qe(H,ie){var re=null,xe=null;function Ke(J){var w=(0,G.Z)(J,1),P=w[0].target;if(document.documentElement.contains(P)){var D=P.getBoundingClientRect(),ne=D.width,be=D.height,Le=Math.floor(ne),je=Math.floor(be);(re!==Le||xe!==je)&&Promise.resolve().then(function(){ie({width:Le,height:je})}),re=Le,xe=je}}var Ue=new Ze.Z(Ke);return H&&Ue.observe(H),function(){Ue.disconnect()}}function ct(H){return typeof H!=\"function\"?null:H()}function lt(H){return(0,ae.Z)(H)!==\"object\"||!H?null:H}var gt=function(ie,re){var xe=ie.children,Ke=ie.disabled,Ue=ie.target,J=ie.align,w=ie.onAlign,P=ie.monitorWindowResize,D=ie.monitorBufferTime,ne=D===void 0?0:D,be=p.useRef({}),Le=p.useRef(),je=p.Children.only(xe),ze=p.useRef({});ze.current.disabled=Ke,ze.current.target=Ue,ze.current.align=J,ze.current.onAlign=w;var ut=tt(function(){var Ln=ze.current,er=Ln.disabled,or=Ln.target,Ar=Ln.align,Xn=Ln.onAlign,Yn=Le.current;if(!er&&or&&Yn){var Er,Hn=ct(or),Ir=lt(or);be.current.element=Hn,be.current.point=Ir,be.current.align=Ar;var kr=document,fr=kr.activeElement;return Hn&&(0,bn.Z)(Hn)?Er=Ht(Yn,Hn,Ar):Ir&&(Er=Vt(Yn,Ir,Ar)),st(fr,Yn),Xn&&Er&&Xn(Yn,Er),!0}return!1},ne),dt=(0,G.Z)(ut,2),Ct=dt[0],Rt=dt[1],kt=p.useState(),Ut=(0,G.Z)(kt,2),Qt=Ut[0],cn=Ut[1],wn=p.useState(),gn=(0,G.Z)(wn,2),Kn=gn[0],Pn=gn[1];return(0,ln.Z)(function(){cn(ct(Ue)),Pn(lt(Ue))}),p.useEffect(function(){(be.current.element!==Qt||!nt(be.current.point,Kn)||!(0,Wt.Z)(be.current.align,J))&&Ct()}),p.useEffect(function(){var Ln=Qe(Le.current,Ct);return Ln},[Le.current]),p.useEffect(function(){var Ln=Qe(Qt,Ct);return Ln},[Qt]),p.useEffect(function(){Ke?Rt():Ct()},[Ke]),p.useEffect(function(){if(P){var Ln=N(window,\"resize\",Ct);return Ln.remove}},[P]),p.useEffect(function(){return function(){Rt()}},[]),p.useImperativeHandle(re,function(){return{forceAlign:function(){return Ct(!0)}}}),p.isValidElement(je)&&(je=p.cloneElement(je,{ref:(0,I.sQ)(je.ref,Le)})),je},mt=p.forwardRef(gt);mt.displayName=\"Align\";var Et=mt,Pt=Et,Mt=e(99932),Bt=e(78450),Kt=e(13043),Yt=[\"measure\",\"alignPre\",\"align\",null,\"motion\"],$t=function(H,ie){var re=(0,Kt.Z)(null),xe=(0,G.Z)(re,2),Ke=xe[0],Ue=xe[1],J=(0,p.useRef)();function w(ne){Ue(ne,!0)}function P(){g.Z.cancel(J.current)}function D(ne){P(),J.current=(0,g.Z)(function(){w(function(be){switch(Ke){case\"align\":return\"motion\";case\"motion\":return\"stable\";default:}return be}),ne==null||ne()})}return(0,p.useEffect)(function(){w(\"measure\")},[H]),(0,p.useEffect)(function(){switch(Ke){case\"measure\":ie();break;default:}Ke&&(J.current=(0,g.Z)((0,Bt.Z)((0,Mt.Z)().mark(function ne(){var be,Le;return(0,Mt.Z)().wrap(function(ze){for(;;)switch(ze.prev=ze.next){case 0:be=Yt.indexOf(Ke),Le=Yt[be+1],Le&&be!==-1&&w(Le);case 3:case\"end\":return ze.stop()}},ne)}))))},[Ke]),(0,p.useEffect)(function(){return function(){P()}},[]),[Ke,D]},dn=function(H){var ie=p.useState({width:0,height:0}),re=(0,G.Z)(ie,2),xe=re[0],Ke=re[1];function Ue(w){var P=w.offsetWidth,D=w.offsetHeight,ne=w.getBoundingClientRect(),be=ne.width,Le=ne.height;Math.abs(P-be)<1&&Math.abs(D-Le)<1&&(P=be,D=Le),Ke({width:P,height:D})}var J=p.useMemo(function(){var w={};if(H){var P=xe.width,D=xe.height;H.indexOf(\"height\")!==-1&&D?w.height=D:H.indexOf(\"minHeight\")!==-1&&D&&(w.minHeight=D),H.indexOf(\"width\")!==-1&&P?w.width=P:H.indexOf(\"minWidth\")!==-1&&P&&(w.minWidth=P)}return w},[H,xe]);return[J,Ue]},Xt=p.forwardRef(function(H,ie){var re=H.visible,xe=H.prefixCls,Ke=H.className,Ue=H.style,J=H.children,w=H.zIndex,P=H.stretch,D=H.destroyPopupOnHide,ne=H.forceRender,be=H.align,Le=H.point,je=H.getRootDomNode,ze=H.getClassNameFromAlign,ut=H.onAlign,dt=H.onMouseEnter,Ct=H.onMouseLeave,Rt=H.onMouseDown,kt=H.onTouchStart,Ut=H.onClick,Qt=(0,p.useRef)(),cn=(0,p.useRef)(),wn=(0,p.useState)(),gn=(0,G.Z)(wn,2),Kn=gn[0],Pn=gn[1],Ln=dn(P),er=(0,G.Z)(Ln,2),or=er[0],Ar=er[1];function Xn(){P&&Ar(je())}var Yn=$t(re,Xn),Er=(0,G.Z)(Yn,2),Hn=Er[0],Ir=Er[1],kr=(0,p.useState)(0),fr=(0,G.Z)(kr,2),Rr=fr[0],hr=fr[1],Tr=(0,p.useRef)();(0,ln.Z)(function(){Hn===\"alignPre\"&&hr(0)},[Hn]);function La(){return Le||je}function za(){var ir;(ir=Qt.current)===null||ir===void 0||ir.forceAlign()}function Ha(ir,Pr){var Yr=ze(Pr);Kn!==Yr&&Pn(Yr),hr(function(xr){return xr+1}),Hn===\"align\"&&(ut==null||ut(ir,Pr))}(0,ln.Z)(function(){Hn===\"align\"&&(Rr<3?za():Ir(function(){var ir;(ir=Tr.current)===null||ir===void 0||ir.call(Tr)}))},[Rr]);var Gr=(0,a.Z)({},Ee(H));[\"onAppearEnd\",\"onEnterEnd\",\"onLeaveEnd\"].forEach(function(ir){var Pr=Gr[ir];Gr[ir]=function(Yr,xr){return Ir(),Pr==null?void 0:Pr(Yr,xr)}});function $a(){return new Promise(function(ir){Tr.current=ir})}p.useEffect(function(){!Gr.motionName&&Hn===\"motion\"&&Ir()},[Gr.motionName,Hn]),p.useImperativeHandle(ie,function(){return{forceAlign:za,getElement:function(){return cn.current}}});var Vr=(0,a.Z)((0,a.Z)({},or),{},{zIndex:w,opacity:Hn===\"motion\"||Hn===\"stable\"||!re?void 0:0,pointerEvents:!re&&Hn!==\"stable\"?\"none\":void 0},Ue),pa=!0;be!=null&&be.points&&(Hn===\"align\"||Hn===\"stable\")&&(pa=!1);var ya=J;return p.Children.count(J)>1&&(ya=p.createElement(\"div\",{className:\"\".concat(xe,\"-content\")},J)),p.createElement(oe.Z,(0,o.Z)({visible:re,ref:cn,leavedClassName:\"\".concat(xe,\"-hidden\")},Gr,{onAppearPrepare:$a,onEnterPrepare:$a,removeOnLeave:D,forceRender:ne}),function(ir,Pr){var Yr=ir.className,xr=ir.style,Oa=U()(xe,Ke,Kn,Yr);return p.createElement(Pt,{target:La(),key:\"popup\",ref:Qt,monitorWindowResize:!0,disabled:pa,align:be,onAlign:Ha},p.createElement(\"div\",{ref:Pr,className:Oa,onMouseEnter:dt,onMouseLeave:Ct,onMouseDownCapture:Rt,onTouchStartCapture:kt,onClick:Ut,style:(0,a.Z)((0,a.Z)({},xr),Vr)},ya))})});Xt.displayName=\"PopupInner\";var en=Xt,hn=p.forwardRef(function(H,ie){var re=H.prefixCls,xe=H.visible,Ke=H.zIndex,Ue=H.children,J=H.mobile;J=J===void 0?{}:J;var w=J.popupClassName,P=J.popupStyle,D=J.popupMotion,ne=D===void 0?{}:D,be=J.popupRender,Le=H.onClick,je=p.useRef();p.useImperativeHandle(ie,function(){return{forceAlign:function(){},getElement:function(){return je.current}}});var ze=(0,a.Z)({zIndex:Ke},P),ut=Ue;return p.Children.count(Ue)>1&&(ut=p.createElement(\"div\",{className:\"\".concat(re,\"-content\")},Ue)),be&&(ut=be(ut)),p.createElement(oe.Z,(0,o.Z)({visible:xe,ref:je,removeOnLeave:!0},ne),function(dt,Ct){var Rt=dt.className,kt=dt.style,Ut=U()(re,w,Rt);return p.createElement(\"div\",{ref:Ct,className:Ut,onClick:Le,style:(0,a.Z)((0,a.Z)({},kt),ze)},ut)})});hn.displayName=\"MobilePopupInner\";var pn=hn,Sn=[\"visible\",\"mobile\"],fn=p.forwardRef(function(H,ie){var re=H.visible,xe=H.mobile,Ke=(0,q.Z)(H,Sn),Ue=(0,p.useState)(re),J=(0,G.Z)(Ue,2),w=J[0],P=J[1],D=(0,p.useState)(!1),ne=(0,G.Z)(D,2),be=ne[0],Le=ne[1],je=(0,a.Z)((0,a.Z)({},Ke),{},{visible:w});(0,p.useEffect)(function(){P(re),re&&xe&&Le((0,X.Z)())},[re,xe]);var ze=be?p.createElement(pn,(0,o.Z)({},je,{mobile:xe,ref:ie})):p.createElement(en,(0,o.Z)({},je,{ref:ie}));return p.createElement(\"div\",null,p.createElement(Te,je),ze)});fn.displayName=\"Popup\";var Zt=fn,ar=p.createContext(null),An=ar;function sn(){}function Rn(){return\"\"}function Nn(H){return H?H.ownerDocument:window.document}var Bn=[\"onClick\",\"onMouseDown\",\"onTouchStart\",\"onMouseEnter\",\"onMouseLeave\",\"onFocus\",\"onBlur\",\"onContextMenu\"];function Vn(H){var ie=function(re){(0,d.Z)(Ke,re);var xe=(0,f.Z)(Ke);function Ke(Ue){var J;(0,r.Z)(this,Ke),J=xe.call(this,Ue),(0,v.Z)((0,l.Z)(J),\"popupRef\",p.createRef()),(0,v.Z)((0,l.Z)(J),\"triggerRef\",p.createRef()),(0,v.Z)((0,l.Z)(J),\"portalContainer\",void 0),(0,v.Z)((0,l.Z)(J),\"attachId\",void 0),(0,v.Z)((0,l.Z)(J),\"clickOutsideHandler\",void 0),(0,v.Z)((0,l.Z)(J),\"touchOutsideHandler\",void 0),(0,v.Z)((0,l.Z)(J),\"contextMenuOutsideHandler1\",void 0),(0,v.Z)((0,l.Z)(J),\"contextMenuOutsideHandler2\",void 0),(0,v.Z)((0,l.Z)(J),\"mouseDownTimeout\",void 0),(0,v.Z)((0,l.Z)(J),\"focusTime\",void 0),(0,v.Z)((0,l.Z)(J),\"preClickTime\",void 0),(0,v.Z)((0,l.Z)(J),\"preTouchTime\",void 0),(0,v.Z)((0,l.Z)(J),\"delayTimer\",void 0),(0,v.Z)((0,l.Z)(J),\"hasPopupMouseDown\",void 0),(0,v.Z)((0,l.Z)(J),\"onMouseEnter\",function(P){var D=J.props.mouseEnterDelay;J.fireEvents(\"onMouseEnter\",P),J.delaySetPopupVisible(!0,D,D?null:P)}),(0,v.Z)((0,l.Z)(J),\"onMouseMove\",function(P){J.fireEvents(\"onMouseMove\",P),J.setPoint(P)}),(0,v.Z)((0,l.Z)(J),\"onMouseLeave\",function(P){J.fireEvents(\"onMouseLeave\",P),J.delaySetPopupVisible(!1,J.props.mouseLeaveDelay)}),(0,v.Z)((0,l.Z)(J),\"onPopupMouseEnter\",function(){J.clearDelayTimer()}),(0,v.Z)((0,l.Z)(J),\"onPopupMouseLeave\",function(P){var D;P.relatedTarget&&!P.relatedTarget.setTimeout&&(0,y.Z)((D=J.popupRef.current)===null||D===void 0?void 0:D.getElement(),P.relatedTarget)||J.delaySetPopupVisible(!1,J.props.mouseLeaveDelay)}),(0,v.Z)((0,l.Z)(J),\"onFocus\",function(P){J.fireEvents(\"onFocus\",P),J.clearDelayTimer(),J.isFocusToShow()&&(J.focusTime=Date.now(),J.delaySetPopupVisible(!0,J.props.focusDelay))}),(0,v.Z)((0,l.Z)(J),\"onMouseDown\",function(P){J.fireEvents(\"onMouseDown\",P),J.preClickTime=Date.now()}),(0,v.Z)((0,l.Z)(J),\"onTouchStart\",function(P){J.fireEvents(\"onTouchStart\",P),J.preTouchTime=Date.now()}),(0,v.Z)((0,l.Z)(J),\"onBlur\",function(P){J.fireEvents(\"onBlur\",P),J.clearDelayTimer(),J.isBlurToHide()&&J.delaySetPopupVisible(!1,J.props.blurDelay)}),(0,v.Z)((0,l.Z)(J),\"onContextMenu\",function(P){P.preventDefault(),J.fireEvents(\"onContextMenu\",P),J.setPopupVisible(!0,P)}),(0,v.Z)((0,l.Z)(J),\"onContextMenuClose\",function(){J.isContextMenuToShow()&&J.close()}),(0,v.Z)((0,l.Z)(J),\"onClick\",function(P){if(J.fireEvents(\"onClick\",P),J.focusTime){var D;if(J.preClickTime&&J.preTouchTime?D=Math.min(J.preClickTime,J.preTouchTime):J.preClickTime?D=J.preClickTime:J.preTouchTime&&(D=J.preTouchTime),Math.abs(D-J.focusTime)<20)return;J.focusTime=0}J.preClickTime=0,J.preTouchTime=0,J.isClickToShow()&&(J.isClickToHide()||J.isBlurToHide())&&P&&P.preventDefault&&P.preventDefault();var ne=!J.state.popupVisible;(J.isClickToHide()&&!ne||ne&&J.isClickToShow())&&J.setPopupVisible(!J.state.popupVisible,P)}),(0,v.Z)((0,l.Z)(J),\"onPopupMouseDown\",function(){if(J.hasPopupMouseDown=!0,clearTimeout(J.mouseDownTimeout),J.mouseDownTimeout=window.setTimeout(function(){J.hasPopupMouseDown=!1},0),J.context){var P;(P=J.context).onPopupMouseDown.apply(P,arguments)}}),(0,v.Z)((0,l.Z)(J),\"onDocumentClick\",function(P){if(!(J.props.mask&&!J.props.maskClosable)){var D=P.target,ne=J.getRootDomNode(),be=J.getPopupDomNode();(!(0,y.Z)(ne,D)||J.isContextMenuOnly())&&!(0,y.Z)(be,D)&&!J.hasPopupMouseDown&&J.close()}}),(0,v.Z)((0,l.Z)(J),\"getRootDomNode\",function(){var P=J.props.getTriggerDOMNode;if(P)return P(J.triggerRef.current);try{var D=(0,S.Z)(J.triggerRef.current);if(D)return D}catch(ne){}return h.findDOMNode((0,l.Z)(J))}),(0,v.Z)((0,l.Z)(J),\"getPopupClassNameFromAlign\",function(P){var D=[],ne=J.props,be=ne.popupPlacement,Le=ne.builtinPlacements,je=ne.prefixCls,ze=ne.alignPoint,ut=ne.getPopupClassNameFromAlign;return be&&Le&&D.push(K(Le,je,P,ze)),ut&&D.push(ut(P)),D.join(\" \")}),(0,v.Z)((0,l.Z)(J),\"getComponent\",function(){var P=J.props,D=P.prefixCls,ne=P.destroyPopupOnHide,be=P.popupClassName,Le=P.onPopupAlign,je=P.popupMotion,ze=P.popupAnimation,ut=P.popupTransitionName,dt=P.popupStyle,Ct=P.mask,Rt=P.maskAnimation,kt=P.maskTransitionName,Ut=P.maskMotion,Qt=P.zIndex,cn=P.popup,wn=P.stretch,gn=P.alignPoint,Kn=P.mobile,Pn=P.forceRender,Ln=P.onPopupClick,er=J.state,or=er.popupVisible,Ar=er.point,Xn=J.getPopupAlign(),Yn={};return J.isMouseEnterToShow()&&(Yn.onMouseEnter=J.onPopupMouseEnter),J.isMouseLeaveToHide()&&(Yn.onMouseLeave=J.onPopupMouseLeave),Yn.onMouseDown=J.onPopupMouseDown,Yn.onTouchStart=J.onPopupMouseDown,p.createElement(Zt,(0,o.Z)({prefixCls:D,destroyPopupOnHide:ne,visible:or,point:gn&&Ar,className:be,align:Xn,onAlign:Le,animation:ze,getClassNameFromAlign:J.getPopupClassNameFromAlign},Yn,{stretch:wn,getRootDomNode:J.getRootDomNode,style:dt,mask:Ct,zIndex:Qt,transitionName:ut,maskAnimation:Rt,maskTransitionName:kt,maskMotion:Ut,ref:J.popupRef,motion:je,mobile:Kn,forceRender:Pn,onClick:Ln}),typeof cn==\"function\"?cn():cn)}),(0,v.Z)((0,l.Z)(J),\"attachParent\",function(P){g.Z.cancel(J.attachId);var D=J.props,ne=D.getPopupContainer,be=D.getDocument,Le=J.getRootDomNode(),je;ne?(Le||ne.length===0)&&(je=ne(Le)):je=be(J.getRootDomNode()).body,je?je.appendChild(P):J.attachId=(0,g.Z)(function(){J.attachParent(P)})}),(0,v.Z)((0,l.Z)(J),\"getContainer\",function(){if(!J.portalContainer){var P=J.props.getDocument,D=P(J.getRootDomNode()).createElement(\"div\");D.style.position=\"absolute\",D.style.top=\"0\",D.style.left=\"0\",D.style.width=\"100%\",J.portalContainer=D}return J.attachParent(J.portalContainer),J.portalContainer}),(0,v.Z)((0,l.Z)(J),\"setPoint\",function(P){var D=J.props.alignPoint;!D||!P||J.setState({point:{pageX:P.pageX,pageY:P.pageY}})}),(0,v.Z)((0,l.Z)(J),\"handlePortalUpdate\",function(){J.state.prevPopupVisible!==J.state.popupVisible&&J.props.afterPopupVisibleChange(J.state.popupVisible)}),(0,v.Z)((0,l.Z)(J),\"triggerContextValue\",{onPopupMouseDown:J.onPopupMouseDown});var w;return\"popupVisible\"in Ue?w=!!Ue.popupVisible:w=!!Ue.defaultPopupVisible,J.state={prevPopupVisible:w,popupVisible:w},Bn.forEach(function(P){J[\"fire\".concat(P)]=function(D){J.fireEvents(P,D)}}),J}return(0,u.Z)(Ke,[{key:\"componentDidMount\",value:function(){this.componentDidUpdate()}},{key:\"componentDidUpdate\",value:function(){var J=this.props,w=this.state;if(w.popupVisible){var P;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(P=J.getDocument(this.getRootDomNode()),this.clickOutsideHandler=N(P,\"mousedown\",this.onDocumentClick)),this.touchOutsideHandler||(P=P||J.getDocument(this.getRootDomNode()),this.touchOutsideHandler=N(P,\"touchstart\",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(P=P||J.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=N(P,\"scroll\",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=N(window,\"blur\",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:\"componentWillUnmount\",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),g.Z.cancel(this.attachId)}},{key:\"getPopupDomNode\",value:function(){var J;return((J=this.popupRef.current)===null||J===void 0?void 0:J.getElement())||null}},{key:\"getPopupAlign\",value:function(){var J=this.props,w=J.popupPlacement,P=J.popupAlign,D=J.builtinPlacements;return w&&D?F(D,w,P):P}},{key:\"setPopupVisible\",value:function(J,w){var P=this.props.alignPoint,D=this.state.popupVisible;this.clearDelayTimer(),D!==J&&(\"popupVisible\"in this.props||this.setState({popupVisible:J,prevPopupVisible:D}),this.props.onPopupVisibleChange(J)),P&&w&&J&&this.setPoint(w)}},{key:\"delaySetPopupVisible\",value:function(J,w,P){var D=this,ne=w*1e3;if(this.clearDelayTimer(),ne){var be=P?{pageX:P.pageX,pageY:P.pageY}:null;this.delayTimer=window.setTimeout(function(){D.setPopupVisible(J,be),D.clearDelayTimer()},ne)}else this.setPopupVisible(J,P)}},{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(J){var w=this.props.children.props,P=this.props;return w[J]&&P[J]?this[\"fire\".concat(J)]:w[J]||P[J]}},{key:\"isClickToShow\",value:function(){var J=this.props,w=J.action,P=J.showAction;return w.indexOf(\"click\")!==-1||P.indexOf(\"click\")!==-1}},{key:\"isContextMenuOnly\",value:function(){var J=this.props.action;return J===\"contextMenu\"||J.length===1&&J[0]===\"contextMenu\"}},{key:\"isContextMenuToShow\",value:function(){var J=this.props,w=J.action,P=J.showAction;return w.indexOf(\"contextMenu\")!==-1||P.indexOf(\"contextMenu\")!==-1}},{key:\"isClickToHide\",value:function(){var J=this.props,w=J.action,P=J.hideAction;return w.indexOf(\"click\")!==-1||P.indexOf(\"click\")!==-1}},{key:\"isMouseEnterToShow\",value:function(){var J=this.props,w=J.action,P=J.showAction;return w.indexOf(\"hover\")!==-1||P.indexOf(\"mouseEnter\")!==-1}},{key:\"isMouseLeaveToHide\",value:function(){var J=this.props,w=J.action,P=J.hideAction;return w.indexOf(\"hover\")!==-1||P.indexOf(\"mouseLeave\")!==-1}},{key:\"isFocusToShow\",value:function(){var J=this.props,w=J.action,P=J.showAction;return w.indexOf(\"focus\")!==-1||P.indexOf(\"focus\")!==-1}},{key:\"isBlurToHide\",value:function(){var J=this.props,w=J.action,P=J.hideAction;return w.indexOf(\"focus\")!==-1||P.indexOf(\"blur\")!==-1}},{key:\"forcePopupAlign\",value:function(){if(this.state.popupVisible){var J;(J=this.popupRef.current)===null||J===void 0||J.forceAlign()}}},{key:\"fireEvents\",value:function(J,w){var P=this.props.children.props[J];P&&P(w);var D=this.props[J];D&&D(w)}},{key:\"close\",value:function(){this.setPopupVisible(!1)}},{key:\"render\",value:function(){var J=this.state.popupVisible,w=this.props,P=w.children,D=w.forceRender,ne=w.alignPoint,be=w.className,Le=w.autoDestroy,je=p.Children.only(P),ze={key:\"trigger\"};this.isContextMenuToShow()?ze.onContextMenu=this.onContextMenu:ze.onContextMenu=this.createTwoChains(\"onContextMenu\"),this.isClickToHide()||this.isClickToShow()?(ze.onClick=this.onClick,ze.onMouseDown=this.onMouseDown,ze.onTouchStart=this.onTouchStart):(ze.onClick=this.createTwoChains(\"onClick\"),ze.onMouseDown=this.createTwoChains(\"onMouseDown\"),ze.onTouchStart=this.createTwoChains(\"onTouchStart\")),this.isMouseEnterToShow()?(ze.onMouseEnter=this.onMouseEnter,ne&&(ze.onMouseMove=this.onMouseMove)):ze.onMouseEnter=this.createTwoChains(\"onMouseEnter\"),this.isMouseLeaveToHide()?ze.onMouseLeave=this.onMouseLeave:ze.onMouseLeave=this.createTwoChains(\"onMouseLeave\"),this.isFocusToShow()||this.isBlurToHide()?(ze.onFocus=this.onFocus,ze.onBlur=this.onBlur):(ze.onFocus=this.createTwoChains(\"onFocus\"),ze.onBlur=this.createTwoChains(\"onBlur\"));var ut=U()(je&&je.props&&je.props.className,be);ut&&(ze.className=ut);var dt=(0,a.Z)({},ze);(0,I.Yr)(je)&&(dt.ref=(0,I.sQ)(this.triggerRef,je.ref));var Ct=p.cloneElement(je,dt),Rt;return(J||this.popupRef.current||D)&&(Rt=p.createElement(H,{key:\"portal\",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!J&&Le&&(Rt=null),p.createElement(An.Provider,{value:this.triggerContextValue},Ct,Rt)}}],[{key:\"getDerivedStateFromProps\",value:function(J,w){var P=J.popupVisible,D={};return P!==void 0&&w.popupVisible!==P&&(D.popupVisible=P,D.prevPopupVisible=w.popupVisible),D}}]),Ke}(p.Component);return(0,v.Z)(ie,\"contextType\",An),(0,v.Z)(ie,\"defaultProps\",{prefixCls:\"rc-trigger-popup\",getPopupClassNameFromAlign:Rn,getDocument:Nn,onPopupVisibleChange:sn,afterPopupVisibleChange:sn,onPopupAlign:sn,popupClassName:\"\",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1}),ie}var Fn=Vn(L)},16030:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return r}});var a=e(50959),o=e(56237);function r(u){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=[];return a.Children.forEach(u,function(f){f==null&&!l.keepEmpty||(Array.isArray(f)?d=d.concat(r(f)):(0,o.isFragment)(f)&&f.props?d=d.concat(r(f.props.children,l)):d.push(f))}),d}},61237:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return a}});function a(){return!!(typeof window!=\"undefined\"&&window.document&&window.document.createElement)}},89013:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return a}});function a(o,r){if(!o)return!1;if(o.contains)return o.contains(r);for(var u=r;u;){if(u===o)return!0;u=u.parentNode}return!1}},90899:function(c,m,e){\"use strict\";e.d(m,{S:function(){return r},Z:function(){return u}});var a=e(50959),o=e(10422);function r(l){return l instanceof HTMLElement||l instanceof SVGElement}function u(l){return r(l)?l:l instanceof a.Component?o.findDOMNode(l):null}},23318:function(c,m,e){\"use strict\";e.d(m,{tS:function(){return u}});var a=e(49544),o=e(25155);function r(h){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,o.Z)(h)){var y=h.nodeName.toLowerCase(),S=[\"input\",\"select\",\"textarea\",\"button\"].includes(y)||h.isContentEditable||y===\"a\"&&!!h.getAttribute(\"href\"),I=h.getAttribute(\"tabindex\"),N=Number(I),_=null;return I&&!Number.isNaN(N)?_=N:S&&_===null&&(_=0),S&&h.disabled&&(_=null),_!==null&&(_>=0||g&&_<0)}return!1}function u(h){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,y=(0,a.Z)(h.querySelectorAll(\"*\")).filter(function(S){return r(S,g)});return r(h,g)&&y.unshift(h),y}var l=null;function d(){l=document.activeElement}function f(){l=null}function v(){if(l)try{l.focus()}catch(h){}}function p(h,g){if(g.keyCode===9){var y=u(h),S=y[g.shiftKey?0:y.length-1],I=S===document.activeElement||h===document.activeElement;if(I){var N=y[g.shiftKey?y.length-1:0];N.focus(),g.preventDefault()}}}},25155:function(c,m){\"use strict\";m.Z=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var a=e.getBBox(),o=a.width,r=a.height;if(o||r)return!0}if(e.getBoundingClientRect){var u=e.getBoundingClientRect(),l=u.width,d=u.height;if(l||d)return!0}}return!1}},59158:function(c,m){\"use strict\";var e={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(o){var r=o.keyCode;if(o.altKey&&!o.ctrlKey||o.metaKey||r>=e.F1&&r<=e.F12)return!1;switch(r){case e.ALT:case e.CAPS_LOCK:case e.CONTEXT_MENU:case e.CTRL:case e.DOWN:case e.END:case e.ESC:case e.HOME:case e.INSERT:case e.LEFT:case e.MAC_FF_META:case e.META:case e.NUMLOCK:case e.NUM_CENTER:case e.PAGE_DOWN:case e.PAGE_UP:case e.PAUSE:case e.PRINT_SCREEN:case e.RIGHT:case e.SHIFT:case e.UP:case e.WIN_KEY:case e.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(o){if(o>=e.ZERO&&o<=e.NINE||o>=e.NUM_ZERO&&o<=e.NUM_MULTIPLY||o>=e.A&&o<=e.Z||window.navigator.userAgent.indexOf(\"WebKit\")!==-1&&o===0)return!0;switch(o){case e.SPACE:case e.QUESTION_MARK:case e.NUM_PLUS:case e.NUM_MINUS:case e.NUM_PERIOD:case e.NUM_DIVISION:case e.SEMICOLON:case e.DASH:case e.EQUALS:case e.COMMA:case e.PERIOD:case e.SLASH:case e.APOSTROPHE:case e.SINGLE_QUOTE:case e.OPEN_SQUARE_BRACKET:case e.BACKSLASH:case e.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};m.Z=e},51761:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return o}});var a=e(50959);function o(r){var u=a.useRef();u.current=r;var l=a.useCallback(function(){for(var d,f=arguments.length,v=new Array(f),p=0;p<f;p++)v[p]=arguments[p];return(d=u.current)===null||d===void 0?void 0:d.call.apply(d,[u].concat(v))},[]);return l}},57770:function(c,m,e){\"use strict\";e.d(m,{o:function(){return u}});var a=e(50959),o=e(61237),r=(0,o.Z)()?a.useLayoutEffect:a.useEffect;m.Z=r;var u=function(d,f){var v=a.useRef(!0);r(function(){if(!v.current)return d()},f),r(function(){return v.current=!1,function(){v.current=!0}},[])}},49308:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return o}});var a=e(50959);function o(r,u,l){var d=a.useRef({});return(!(\"value\"in d.current)||l(d.current.condition,u))&&(d.current.value=r(),d.current.condition=u),d.current.value}},47280:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return d}});var a=e(91600),o=e(51761),r=e(57770),u=e(13043);function l(f){return f!==void 0}function d(f,v){var p=v||{},h=p.defaultValue,g=p.value,y=p.onChange,S=p.postState,I=(0,u.Z)(function(){return l(g)?g:l(h)?typeof h==\"function\"?h():h:typeof f==\"function\"?f():f}),N=(0,a.Z)(I,2),_=N[0],M=N[1],L=g!==void 0?g:_,k=S?S(L):L,U=(0,o.Z)(y),x=(0,u.Z)([L]),F=(0,a.Z)(x,2),K=F[0],G=F[1];(0,r.o)(function(){var X=K[0];_!==X&&U(_,X)},[K]),(0,r.o)(function(){l(g)||M(g)},[g]);var q=(0,o.Z)(function(X,oe){M(X,oe),G([L],oe)});return[k,q]}},13043:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return r}});var a=e(91600),o=e(50959);function r(u){var l=o.useRef(!1),d=o.useState(u),f=(0,a.Z)(d,2),v=f[0],p=f[1];o.useEffect(function(){return l.current=!1,function(){l.current=!0}},[]);function h(g,y){y&&l.current||p(g)}return[v,h]}},37304:function(c,m,e){\"use strict\";var a=e(26143),o=e(53675);function r(u,l){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,f=new Set;function v(p,h){var g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,y=f.has(p);if((0,o.ZP)(!y,\"Warning: There may be circular references\"),y)return!1;if(p===h)return!0;if(d&&g>1)return!1;f.add(p);var S=g+1;if(Array.isArray(p)){if(!Array.isArray(h)||p.length!==h.length)return!1;for(var I=0;I<p.length;I++)if(!v(p[I],h[I],S))return!1;return!0}if(p&&h&&(0,a.Z)(p)===\"object\"&&(0,a.Z)(h)===\"object\"){var N=Object.keys(p);return N.length!==Object.keys(h).length?!1:N.every(function(_){return v(p[_],h[_],S)})}return!1}return v(u,l)}m.Z=r},31591:function(c,m){\"use strict\";m.Z=function(){if(typeof navigator==\"undefined\"||typeof window==\"undefined\")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(e==null?void 0:e.substr(0,4))}},97318:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return o}});var a=e(75782);function o(r,u){var l=(0,a.Z)({},r);return Array.isArray(u)&&u.forEach(function(d){delete l[d]}),l}},40086:function(c,m){\"use strict\";var e=function(f){return+setTimeout(f,16)},a=function(f){return clearTimeout(f)};typeof window!=\"undefined\"&&\"requestAnimationFrame\"in window&&(e=function(f){return window.requestAnimationFrame(f)},a=function(f){return window.cancelAnimationFrame(f)});var o=0,r=new Map;function u(d){r.delete(d)}var l=function(f){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;o+=1;var p=o;function h(g){if(g===0)u(p),f();else{var y=e(function(){h(g-1)});r.set(p,y)}}return h(v),p};l.cancel=function(d){var f=r.get(d);return u(f),a(f)},m.Z=l},64111:function(c,m,e){\"use strict\";e.d(m,{Yr:function(){return f},mH:function(){return u},sQ:function(){return l},x1:function(){return d}});var a=e(26143),o=e(56237),r=e(49308);function u(v,p){typeof v==\"function\"?v(p):(0,a.Z)(v)===\"object\"&&v&&\"current\"in v&&(v.current=p)}function l(){for(var v=arguments.length,p=new Array(v),h=0;h<v;h++)p[h]=arguments[h];var g=p.filter(function(y){return y});return g.length<=1?g[0]:function(y){p.forEach(function(S){u(S,y)})}}function d(){for(var v=arguments.length,p=new Array(v),h=0;h<v;h++)p[h]=arguments[h];return(0,r.Z)(function(){return l.apply(void 0,p)},p,function(g,y){return g.length===y.length&&g.every(function(S,I){return S===y[I]})})}function f(v){var p,h,g=(0,o.isMemo)(v)?v.type.type:v.type;return!(typeof g==\"function\"&&!((p=g.prototype)!==null&&p!==void 0&&p.render)||typeof v==\"function\"&&!((h=v.prototype)!==null&&h!==void 0&&h.render))}},53675:function(c,m,e){\"use strict\";e.d(m,{Kp:function(){return o}});var a={};function o(v,p){}function r(v,p){}function u(){a={}}function l(v,p,h){!p&&!a[h]&&(v(!1,h),a[h]=!0)}function d(v,p){l(o,v,p)}function f(v,p){l(r,v,p)}m.ZP=d},92015:function(c,m,e){\"use strict\";function a(F){return a=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(K){return typeof K}:function(K){return K&&typeof Symbol==\"function\"&&K.constructor===Symbol&&K!==Symbol.prototype?\"symbol\":typeof K},a(F)}Object.defineProperty(m,\"__esModule\",{value:!0}),m.CopyToClipboard=void 0;var o=l(e(50959)),r=l(e(874)),u=[\"text\",\"onCopy\",\"options\",\"children\"];function l(F){return F&&F.__esModule?F:{default:F}}function d(F,K){var G=Object.keys(F);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(F);K&&(q=q.filter(function(X){return Object.getOwnPropertyDescriptor(F,X).enumerable})),G.push.apply(G,q)}return G}function f(F){for(var K=1;K<arguments.length;K++){var G=arguments[K]!=null?arguments[K]:{};K%2?d(Object(G),!0).forEach(function(q){U(F,q,G[q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(F,Object.getOwnPropertyDescriptors(G)):d(Object(G)).forEach(function(q){Object.defineProperty(F,q,Object.getOwnPropertyDescriptor(G,q))})}return F}function v(F,K){if(F==null)return{};var G=p(F,K),q,X;if(Object.getOwnPropertySymbols){var oe=Object.getOwnPropertySymbols(F);for(X=0;X<oe.length;X++)q=oe[X],!(K.indexOf(q)>=0)&&Object.prototype.propertyIsEnumerable.call(F,q)&&(G[q]=F[q])}return G}function p(F,K){if(F==null)return{};var G={},q=Object.keys(F),X,oe;for(oe=0;oe<q.length;oe++)X=q[oe],!(K.indexOf(X)>=0)&&(G[X]=F[X]);return G}function h(F,K){if(!(F instanceof K))throw new TypeError(\"Cannot call a class as a function\")}function g(F,K){for(var G=0;G<K.length;G++){var q=K[G];q.enumerable=q.enumerable||!1,q.configurable=!0,\"value\"in q&&(q.writable=!0),Object.defineProperty(F,q.key,q)}}function y(F,K,G){return K&&g(F.prototype,K),G&&g(F,G),Object.defineProperty(F,\"prototype\",{writable:!1}),F}function S(F,K){if(typeof K!=\"function\"&&K!==null)throw new TypeError(\"Super expression must either be null or a function\");F.prototype=Object.create(K&&K.prototype,{constructor:{value:F,writable:!0,configurable:!0}}),Object.defineProperty(F,\"prototype\",{writable:!1}),K&&I(F,K)}function I(F,K){return I=Object.setPrototypeOf||function(q,X){return q.__proto__=X,q},I(F,K)}function N(F){var K=L();return function(){var q=k(F),X;if(K){var oe=k(this).constructor;X=Reflect.construct(q,arguments,oe)}else X=q.apply(this,arguments);return _(this,X)}}function _(F,K){if(K&&(a(K)===\"object\"||typeof K==\"function\"))return K;if(K!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return M(F)}function M(F){if(F===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return F}function L(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(F){return!1}}function k(F){return k=Object.setPrototypeOf?Object.getPrototypeOf:function(G){return G.__proto__||Object.getPrototypeOf(G)},k(F)}function U(F,K,G){return K in F?Object.defineProperty(F,K,{value:G,enumerable:!0,configurable:!0,writable:!0}):F[K]=G,F}var x=function(F){S(G,F);var K=N(G);function G(){var q;h(this,G);for(var X=arguments.length,oe=new Array(X),Ee=0;Ee<X;Ee++)oe[Ee]=arguments[Ee];return q=K.call.apply(K,[this].concat(oe)),U(M(q),\"onClick\",function(Te){var ae=q.props,z=ae.text,A=ae.onCopy,T=ae.children,R=ae.options,j=o.default.Children.only(T),C=(0,r.default)(z,R);A&&A(z,C),j&&j.props&&typeof j.props.onClick==\"function\"&&j.props.onClick(Te)}),q}return y(G,[{key:\"render\",value:function(){var X=this.props,oe=X.text,Ee=X.onCopy,Te=X.options,ae=X.children,z=v(X,u),A=o.default.Children.only(ae);return o.default.cloneElement(A,f(f({},z),{},{onClick:this.onClick}))}}]),G}(o.default.PureComponent);m.CopyToClipboard=x,U(x,\"defaultProps\",{onCopy:void 0,options:void 0})},90943:function(c,m,e){\"use strict\";var a=e(92015),o=a.CopyToClipboard;o.CopyToClipboard=o,c.exports=o},53746:function(c,m,e){\"use strict\";var a=e(50959),o=e(22962);function r(t){for(var n=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+t,i=1;i<arguments.length;i++)n+=\"&args[]=\"+encodeURIComponent(arguments[i]);return\"Minified React error #\"+t+\"; visit \"+n+\" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"}var u=new Set,l={};function d(t,n){f(t,n),f(t+\"Capture\",n)}function f(t,n){for(l[t]=n,t=0;t<n.length;t++)u.add(n[t])}var v=!(typeof window==\"undefined\"||typeof window.document==\"undefined\"||typeof window.document.createElement==\"undefined\"),p=Object.prototype.hasOwnProperty,h=/^[: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]*$/,g={},y={};function S(t){return p.call(y,t)?!0:p.call(g,t)?!1:h.test(t)?y[t]=!0:(g[t]=!0,!1)}function I(t,n,i,s){if(i!==null&&i.type===0)return!1;switch(typeof n){case\"function\":case\"symbol\":return!0;case\"boolean\":return s?!1:i!==null?!i.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!==\"data-\"&&t!==\"aria-\");default:return!1}}function N(t,n,i,s){if(n===null||typeof n==\"undefined\"||I(t,n,i,s))return!0;if(s)return!1;if(i!==null)switch(i.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function _(t,n,i,s,E,O,$){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=s,this.attributeNamespace=E,this.mustUseProperty=i,this.propertyName=t,this.type=n,this.sanitizeURL=O,this.removeEmptyString=$}var M={};\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach(function(t){M[t]=new _(t,0,!1,t,null,!1,!1)}),[[\"acceptCharset\",\"accept-charset\"],[\"className\",\"class\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"]].forEach(function(t){var n=t[0];M[n]=new _(n,1,!1,t[1],null,!1,!1)}),[\"contentEditable\",\"draggable\",\"spellCheck\",\"value\"].forEach(function(t){M[t]=new _(t,2,!1,t.toLowerCase(),null,!1,!1)}),[\"autoReverse\",\"externalResourcesRequired\",\"focusable\",\"preserveAlpha\"].forEach(function(t){M[t]=new _(t,2,!1,t,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(t){M[t]=new _(t,3,!1,t.toLowerCase(),null,!1,!1)}),[\"checked\",\"multiple\",\"muted\",\"selected\"].forEach(function(t){M[t]=new _(t,3,!0,t,null,!1,!1)}),[\"capture\",\"download\"].forEach(function(t){M[t]=new _(t,4,!1,t,null,!1,!1)}),[\"cols\",\"rows\",\"size\",\"span\"].forEach(function(t){M[t]=new _(t,6,!1,t,null,!1,!1)}),[\"rowSpan\",\"start\"].forEach(function(t){M[t]=new _(t,5,!1,t.toLowerCase(),null,!1,!1)});var L=/[\\-:]([a-z])/g;function k(t){return t[1].toUpperCase()}\"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(t){var n=t.replace(L,k);M[n]=new _(n,1,!1,t,null,!1,!1)}),\"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type\".split(\" \").forEach(function(t){var n=t.replace(L,k);M[n]=new _(n,1,!1,t,\"http://www.w3.org/1999/xlink\",!1,!1)}),[\"xml:base\",\"xml:lang\",\"xml:space\"].forEach(function(t){var n=t.replace(L,k);M[n]=new _(n,1,!1,t,\"http://www.w3.org/XML/1998/namespace\",!1,!1)}),[\"tabIndex\",\"crossOrigin\"].forEach(function(t){M[t]=new _(t,1,!1,t.toLowerCase(),null,!1,!1)}),M.xlinkHref=new _(\"xlinkHref\",1,!1,\"xlink:href\",\"http://www.w3.org/1999/xlink\",!0,!1),[\"src\",\"href\",\"action\",\"formAction\"].forEach(function(t){M[t]=new _(t,1,!1,t.toLowerCase(),null,!0,!0)});function U(t,n,i,s){var E=M.hasOwnProperty(n)?M[n]:null;(E!==null?E.type!==0:s||!(2<n.length)||n[0]!==\"o\"&&n[0]!==\"O\"||n[1]!==\"n\"&&n[1]!==\"N\")&&(N(n,i,E,s)&&(i=null),s||E===null?S(n)&&(i===null?t.removeAttribute(n):t.setAttribute(n,\"\"+i)):E.mustUseProperty?t[E.propertyName]=i===null?E.type===3?!1:\"\":i:(n=E.attributeName,s=E.attributeNamespace,i===null?t.removeAttribute(n):(E=E.type,i=E===3||E===4&&i===!0?\"\":\"\"+i,s?t.setAttributeNS(s,n,i):t.setAttribute(n,i))))}var x=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,F=Symbol.for(\"react.element\"),K=Symbol.for(\"react.portal\"),G=Symbol.for(\"react.fragment\"),q=Symbol.for(\"react.strict_mode\"),X=Symbol.for(\"react.profiler\"),oe=Symbol.for(\"react.provider\"),Ee=Symbol.for(\"react.context\"),Te=Symbol.for(\"react.forward_ref\"),ae=Symbol.for(\"react.suspense\"),z=Symbol.for(\"react.suspense_list\"),A=Symbol.for(\"react.memo\"),T=Symbol.for(\"react.lazy\");Symbol.for(\"react.scope\"),Symbol.for(\"react.debug_trace_mode\");var R=Symbol.for(\"react.offscreen\");Symbol.for(\"react.legacy_hidden\"),Symbol.for(\"react.cache\"),Symbol.for(\"react.tracing_marker\");var j=Symbol.iterator;function C(t){return t===null||typeof t!=\"object\"?null:(t=j&&t[j]||t[\"@@iterator\"],typeof t==\"function\"?t:null)}var B=Object.assign,fe;function Ae(t){if(fe===void 0)try{throw Error()}catch(i){var n=i.stack.trim().match(/\\n( *(at )?)/);fe=n&&n[1]||\"\"}return`\n`+fe+t}var ge=!1;function ce(t,n){if(!t||ge)return\"\";ge=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,\"props\",{set:function(){throw Error()}}),typeof Reflect==\"object\"&&Reflect.construct){try{Reflect.construct(n,[])}catch(et){var s=et}Reflect.construct(t,[],n)}else{try{n.call()}catch(et){s=et}t.call(n.prototype)}else{try{throw Error()}catch(et){s=et}t()}}catch(et){if(et&&s&&typeof et.stack==\"string\"){for(var E=et.stack.split(`\n`),O=s.stack.split(`\n`),$=E.length-1,ve=O.length-1;1<=$&&0<=ve&&E[$]!==O[ve];)ve--;for(;1<=$&&0<=ve;$--,ve--)if(E[$]!==O[ve]){if($!==1||ve!==1)do if($--,ve--,0>ve||E[$]!==O[ve]){var Pe=`\n`+E[$].replace(\" at new \",\" at \");return t.displayName&&Pe.includes(\"<anonymous>\")&&(Pe=Pe.replace(\"<anonymous>\",t.displayName)),Pe}while(1<=$&&0<=ve);break}}}finally{ge=!1,Error.prepareStackTrace=i}return(t=t?t.displayName||t.name:\"\")?Ae(t):\"\"}function Me(t){switch(t.tag){case 5:return Ae(t.type);case 16:return Ae(\"Lazy\");case 13:return Ae(\"Suspense\");case 19:return Ae(\"SuspenseList\");case 0:case 2:case 15:return t=ce(t.type,!1),t;case 11:return t=ce(t.type.render,!1),t;case 1:return t=ce(t.type,!0),t;default:return\"\"}}function _e(t){if(t==null)return null;if(typeof t==\"function\")return t.displayName||t.name||null;if(typeof t==\"string\")return t;switch(t){case G:return\"Fragment\";case K:return\"Portal\";case X:return\"Profiler\";case q:return\"StrictMode\";case ae:return\"Suspense\";case z:return\"SuspenseList\"}if(typeof t==\"object\")switch(t.$$typeof){case Ee:return(t.displayName||\"Context\")+\".Consumer\";case oe:return(t._context.displayName||\"Context\")+\".Provider\";case Te:var n=t.render;return t=t.displayName,t||(t=n.displayName||n.name||\"\",t=t!==\"\"?\"ForwardRef(\"+t+\")\":\"ForwardRef\"),t;case A:return n=t.displayName||null,n!==null?n:_e(t.type)||\"Memo\";case T:n=t._payload,t=t._init;try{return _e(t(n))}catch(i){}}return null}function De(t){var n=t.type;switch(t.tag){case 24:return\"Cache\";case 9:return(n.displayName||\"Context\")+\".Consumer\";case 10:return(n._context.displayName||\"Context\")+\".Provider\";case 18:return\"DehydratedFragment\";case 11:return t=n.render,t=t.displayName||t.name||\"\",n.displayName||(t!==\"\"?\"ForwardRef(\"+t+\")\":\"ForwardRef\");case 7:return\"Fragment\";case 5:return n;case 4:return\"Portal\";case 3:return\"Root\";case 6:return\"Text\";case 16:return _e(n);case 8:return n===q?\"StrictMode\":\"Mode\";case 22:return\"Offscreen\";case 12:return\"Profiler\";case 21:return\"Scope\";case 13:return\"Suspense\";case 19:return\"SuspenseList\";case 25:return\"TracingMarker\";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n==\"function\")return n.displayName||n.name||null;if(typeof n==\"string\")return n}return null}function Ce(t){switch(typeof t){case\"boolean\":case\"number\":case\"string\":case\"undefined\":return t;case\"object\":return t;default:return\"\"}}function it(t){var n=t.type;return(t=t.nodeName)&&t.toLowerCase()===\"input\"&&(n===\"checkbox\"||n===\"radio\")}function V(t){var n=it(t)?\"checked\":\"value\",i=Object.getOwnPropertyDescriptor(t.constructor.prototype,n),s=\"\"+t[n];if(!t.hasOwnProperty(n)&&typeof i!=\"undefined\"&&typeof i.get==\"function\"&&typeof i.set==\"function\"){var E=i.get,O=i.set;return Object.defineProperty(t,n,{configurable:!0,get:function(){return E.call(this)},set:function($){s=\"\"+$,O.call(this,$)}}),Object.defineProperty(t,n,{enumerable:i.enumerable}),{getValue:function(){return s},setValue:function($){s=\"\"+$},stopTracking:function(){t._valueTracker=null,delete t[n]}}}}function we(t){t._valueTracker||(t._valueTracker=V(t))}function Ie(t){if(!t)return!1;var n=t._valueTracker;if(!n)return!0;var i=n.getValue(),s=\"\";return t&&(s=it(t)?t.checked?\"true\":\"false\":t.value),t=s,t!==i?(n.setValue(t),!0):!1}function le(t){if(t=t||(typeof document!=\"undefined\"?document:void 0),typeof t==\"undefined\")return null;try{return t.activeElement||t.body}catch(n){return t.body}}function Ne(t,n){var i=n.checked;return B({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i!=null?i:t._wrapperState.initialChecked})}function te(t,n){var i=n.defaultValue==null?\"\":n.defaultValue,s=n.checked!=null?n.checked:n.defaultChecked;i=Ce(n.value!=null?n.value:i),t._wrapperState={initialChecked:s,initialValue:i,controlled:n.type===\"checkbox\"||n.type===\"radio\"?n.checked!=null:n.value!=null}}function se(t,n){n=n.checked,n!=null&&U(t,\"checked\",n,!1)}function pe(t,n){se(t,n);var i=Ce(n.value),s=n.type;if(i!=null)s===\"number\"?(i===0&&t.value===\"\"||t.value!=i)&&(t.value=\"\"+i):t.value!==\"\"+i&&(t.value=\"\"+i);else if(s===\"submit\"||s===\"reset\"){t.removeAttribute(\"value\");return}n.hasOwnProperty(\"value\")?Se(t,n.type,i):n.hasOwnProperty(\"defaultValue\")&&Se(t,n.type,Ce(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(t.defaultChecked=!!n.defaultChecked)}function ee(t,n,i){if(n.hasOwnProperty(\"value\")||n.hasOwnProperty(\"defaultValue\")){var s=n.type;if(!(s!==\"submit\"&&s!==\"reset\"||n.value!==void 0&&n.value!==null))return;n=\"\"+t._wrapperState.initialValue,i||n===t.value||(t.value=n),t.defaultValue=n}i=t.name,i!==\"\"&&(t.name=\"\"),t.defaultChecked=!!t._wrapperState.initialChecked,i!==\"\"&&(t.name=i)}function Se(t,n,i){(n!==\"number\"||le(t.ownerDocument)!==t)&&(i==null?t.defaultValue=\"\"+t._wrapperState.initialValue:t.defaultValue!==\"\"+i&&(t.defaultValue=\"\"+i))}var Q=Array.isArray;function Z(t,n,i,s){if(t=t.options,n){n={};for(var E=0;E<i.length;E++)n[\"$\"+i[E]]=!0;for(i=0;i<t.length;i++)E=n.hasOwnProperty(\"$\"+t[i].value),t[i].selected!==E&&(t[i].selected=E),E&&s&&(t[i].defaultSelected=!0)}else{for(i=\"\"+Ce(i),n=null,E=0;E<t.length;E++){if(t[E].value===i){t[E].selected=!0,s&&(t[E].defaultSelected=!0);return}n!==null||t[E].disabled||(n=t[E])}n!==null&&(n.selected=!0)}}function Y(t,n){if(n.dangerouslySetInnerHTML!=null)throw Error(r(91));return B({},n,{value:void 0,defaultValue:void 0,children:\"\"+t._wrapperState.initialValue})}function ue(t,n){var i=n.value;if(i==null){if(i=n.children,n=n.defaultValue,i!=null){if(n!=null)throw Error(r(92));if(Q(i)){if(1<i.length)throw Error(r(93));i=i[0]}n=i}n==null&&(n=\"\"),i=n}t._wrapperState={initialValue:Ce(i)}}function he(t,n){var i=Ce(n.value),s=Ce(n.defaultValue);i!=null&&(i=\"\"+i,i!==t.value&&(t.value=i),n.defaultValue==null&&t.defaultValue!==i&&(t.defaultValue=i)),s!=null&&(t.defaultValue=\"\"+s)}function me(t){var n=t.textContent;n===t._wrapperState.initialValue&&n!==\"\"&&n!==null&&(t.value=n)}function Oe(t){switch(t){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 We(t,n){return t==null||t===\"http://www.w3.org/1999/xhtml\"?Oe(n):t===\"http://www.w3.org/2000/svg\"&&n===\"foreignObject\"?\"http://www.w3.org/1999/xhtml\":t}var ke,It=function(t){return typeof MSApp!=\"undefined\"&&MSApp.execUnsafeLocalFunction?function(n,i,s,E){MSApp.execUnsafeLocalFunction(function(){return t(n,i,s,E)})}:t}(function(t,n){if(t.namespaceURI!==\"http://www.w3.org/2000/svg\"||\"innerHTML\"in t)t.innerHTML=n;else{for(ke=ke||document.createElement(\"div\"),ke.innerHTML=\"<svg>\"+n.valueOf().toString()+\"</svg>\",n=ke.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;n.firstChild;)t.appendChild(n.firstChild)}});function ft(t,n){if(n){var i=t.firstChild;if(i&&i===t.lastChild&&i.nodeType===3){i.nodeValue=n;return}}t.textContent=n}var nn={animationIterationCount:!0,aspectRatio:!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},b=[\"Webkit\",\"ms\",\"Moz\",\"O\"];Object.keys(nn).forEach(function(t){b.forEach(function(n){n=n+t.charAt(0).toUpperCase()+t.substring(1),nn[n]=nn[t]})});function W(t,n,i){return n==null||typeof n==\"boolean\"||n===\"\"?\"\":i||typeof n!=\"number\"||n===0||nn.hasOwnProperty(t)&&nn[t]?(\"\"+n).trim():n+\"px\"}function de(t,n){t=t.style;for(var i in n)if(n.hasOwnProperty(i)){var s=i.indexOf(\"--\")===0,E=W(i,n[i],s);i===\"float\"&&(i=\"cssFloat\"),s?t.setProperty(i,E):t[i]=E}}var ye=B({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 He(t,n){if(n){if(ye[t]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(r(137,t));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(r(60));if(typeof n.dangerouslySetInnerHTML!=\"object\"||!(\"__html\"in n.dangerouslySetInnerHTML))throw Error(r(61))}if(n.style!=null&&typeof n.style!=\"object\")throw Error(r(62))}}function rt(t,n){if(t.indexOf(\"-\")===-1)return typeof n.is==\"string\";switch(t){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}}var $e=null;function pt(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Ot=null,at=null,wt=null;function vt(t){if(t=Mn(t)){if(typeof Ot!=\"function\")throw Error(r(280));var n=t.stateNode;n&&(n=$r(n),Ot(t.stateNode,t.type,n))}}function jt(t){at?wt?wt.push(t):wt=[t]:at=t}function At(){if(at){var t=at,n=wt;if(wt=at=null,vt(t),n)for(t=0;t<n.length;t++)vt(n[t])}}function qt(t,n){return t(n)}function En(){}var Ft=!1;function _n(t,n,i){if(Ft)return t(n,i);Ft=!0;try{return qt(t,n,i)}finally{Ft=!1,(at!==null||wt!==null)&&(En(),At())}}function xn(t,n){var i=t.stateNode;if(i===null)return null;var s=$r(i);if(s===null)return null;i=s[n];e:switch(n){case\"onClick\":case\"onClickCapture\":case\"onDoubleClick\":case\"onDoubleClickCapture\":case\"onMouseDown\":case\"onMouseDownCapture\":case\"onMouseMove\":case\"onMouseMoveCapture\":case\"onMouseUp\":case\"onMouseUpCapture\":case\"onMouseEnter\":(s=!s.disabled)||(t=t.type,s=!(t===\"button\"||t===\"input\"||t===\"select\"||t===\"textarea\")),t=!s;break e;default:t=!1}if(t)return null;if(i&&typeof i!=\"function\")throw Error(r(231,n,typeof i));return i}var Zn=!1;if(v)try{var Wn={};Object.defineProperty(Wn,\"passive\",{get:function(){Zn=!0}}),window.addEventListener(\"test\",Wn,Wn),window.removeEventListener(\"test\",Wn,Wn)}catch(t){Zn=!1}function Jn(t,n,i,s,E,O,$,ve,Pe){var et=Array.prototype.slice.call(arguments,3);try{n.apply(i,et)}catch(St){this.onError(St)}}var Un=!1,qn=null,cr=!1,pr=null,vr={onError:function(t){Un=!0,qn=t}};function Dn(t,n,i,s,E,O,$,ve,Pe){Un=!1,qn=null,Jn.apply(vr,arguments)}function br(t,n,i,s,E,O,$,ve,Pe){if(Dn.apply(this,arguments),Un){if(Un){var et=qn;Un=!1,qn=null}else throw Error(r(198));cr||(cr=!0,pr=et)}}function zn(t){var n=t,i=t;if(t.alternate)for(;n.return;)n=n.return;else{t=n;do n=t,n.flags&4098&&(i=n.return),t=n.return;while(t)}return n.tag===3?i:null}function Re(t){if(t.tag===13){var n=t.memoizedState;if(n===null&&(t=t.alternate,t!==null&&(n=t.memoizedState)),n!==null)return n.dehydrated}return null}function Ge(t){if(zn(t)!==t)throw Error(r(188))}function ot(t){var n=t.alternate;if(!n){if(n=zn(t),n===null)throw Error(r(188));return n!==t?null:t}for(var i=t,s=n;;){var E=i.return;if(E===null)break;var O=E.alternate;if(O===null){if(s=E.return,s!==null){i=s;continue}break}if(E.child===O.child){for(O=E.child;O;){if(O===i)return Ge(E),t;if(O===s)return Ge(E),n;O=O.sibling}throw Error(r(188))}if(i.return!==s.return)i=E,s=O;else{for(var $=!1,ve=E.child;ve;){if(ve===i){$=!0,i=E,s=O;break}if(ve===s){$=!0,s=E,i=O;break}ve=ve.sibling}if(!$){for(ve=O.child;ve;){if(ve===i){$=!0,i=O,s=E;break}if(ve===s){$=!0,s=O,i=E;break}ve=ve.sibling}if(!$)throw Error(r(189))}}if(i.alternate!==s)throw Error(r(190))}if(i.tag!==3)throw Error(r(188));return i.stateNode.current===i?t:n}function Dt(t){return t=ot(t),t!==null?Nt(t):null}function Nt(t){if(t.tag===5||t.tag===6)return t;for(t=t.child;t!==null;){var n=Nt(t);if(n!==null)return n;t=t.sibling}return null}var Lt=o.unstable_scheduleCallback,Ht=o.unstable_cancelCallback,Vt=o.unstable_shouldYield,an=o.unstable_requestPaint,Wt=o.unstable_now,bn=o.unstable_getCurrentPriorityLevel,ln=o.unstable_ImmediatePriority,tt=o.unstable_UserBlockingPriority,Ze=o.unstable_NormalPriority,nt=o.unstable_LowPriority,st=o.unstable_IdlePriority,Qe=null,ct=null;function lt(t){if(ct&&typeof ct.onCommitFiberRoot==\"function\")try{ct.onCommitFiberRoot(Qe,t,void 0,(t.current.flags&128)===128)}catch(n){}}var gt=Math.clz32?Math.clz32:Pt,mt=Math.log,Et=Math.LN2;function Pt(t){return t>>>=0,t===0?32:31-(mt(t)/Et|0)|0}var Mt=64,Bt=4194304;function Kt(t){switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function Yt(t,n){var i=t.pendingLanes;if(i===0)return 0;var s=0,E=t.suspendedLanes,O=t.pingedLanes,$=i&268435455;if($!==0){var ve=$&~E;ve!==0?s=Kt(ve):(O&=$,O!==0&&(s=Kt(O)))}else $=i&~E,$!==0?s=Kt($):O!==0&&(s=Kt(O));if(s===0)return 0;if(n!==0&&n!==s&&!(n&E)&&(E=s&-s,O=n&-n,E>=O||E===16&&(O&4194240)!==0))return n;if(s&4&&(s|=i&16),n=t.entangledLanes,n!==0)for(t=t.entanglements,n&=s;0<n;)i=31-gt(n),E=1<<i,s|=t[i],n&=~E;return s}function $t(t,n){switch(t){case 1:case 2:case 4:return n+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function dn(t,n){for(var i=t.suspendedLanes,s=t.pingedLanes,E=t.expirationTimes,O=t.pendingLanes;0<O;){var $=31-gt(O),ve=1<<$,Pe=E[$];Pe===-1?(!(ve&i)||ve&s)&&(E[$]=$t(ve,n)):Pe<=n&&(t.expiredLanes|=ve),O&=~ve}}function Xt(t){return t=t.pendingLanes&-1073741825,t!==0?t:t&1073741824?1073741824:0}function en(){var t=Mt;return Mt<<=1,!(Mt&4194240)&&(Mt=64),t}function hn(t){for(var n=[],i=0;31>i;i++)n.push(t);return n}function pn(t,n,i){t.pendingLanes|=n,n!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,n=31-gt(n),t[n]=i}function Sn(t,n){var i=t.pendingLanes&~n;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=n,t.mutableReadLanes&=n,t.entangledLanes&=n,n=t.entanglements;var s=t.eventTimes;for(t=t.expirationTimes;0<i;){var E=31-gt(i),O=1<<E;n[E]=0,s[E]=-1,t[E]=-1,i&=~O}}function fn(t,n){var i=t.entangledLanes|=n;for(t=t.entanglements;i;){var s=31-gt(i),E=1<<s;E&n|t[s]&n&&(t[s]|=n),i&=~E}}var Zt=0;function ar(t){return t&=-t,1<t?4<t?t&268435455?16:536870912:4:1}var An,sn,Rn,Nn,Bn,Vn=!1,Fn=[],H=null,ie=null,re=null,xe=new Map,Ke=new Map,Ue=[],J=\"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 w(t,n){switch(t){case\"focusin\":case\"focusout\":H=null;break;case\"dragenter\":case\"dragleave\":ie=null;break;case\"mouseover\":case\"mouseout\":re=null;break;case\"pointerover\":case\"pointerout\":xe.delete(n.pointerId);break;case\"gotpointercapture\":case\"lostpointercapture\":Ke.delete(n.pointerId)}}function P(t,n,i,s,E,O){return t===null||t.nativeEvent!==O?(t={blockedOn:n,domEventName:i,eventSystemFlags:s,nativeEvent:O,targetContainers:[E]},n!==null&&(n=Mn(n),n!==null&&sn(n)),t):(t.eventSystemFlags|=s,n=t.targetContainers,E!==null&&n.indexOf(E)===-1&&n.push(E),t)}function D(t,n,i,s,E){switch(n){case\"focusin\":return H=P(H,t,n,i,s,E),!0;case\"dragenter\":return ie=P(ie,t,n,i,s,E),!0;case\"mouseover\":return re=P(re,t,n,i,s,E),!0;case\"pointerover\":var O=E.pointerId;return xe.set(O,P(xe.get(O)||null,t,n,i,s,E)),!0;case\"gotpointercapture\":return O=E.pointerId,Ke.set(O,P(Ke.get(O)||null,t,n,i,s,E)),!0}return!1}function ne(t){var n=dr(t.target);if(n!==null){var i=zn(n);if(i!==null){if(n=i.tag,n===13){if(n=Re(i),n!==null){t.blockedOn=n,Bn(t.priority,function(){Rn(i)});return}}else if(n===3&&i.stateNode.current.memoizedState.isDehydrated){t.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}t.blockedOn=null}function be(t){if(t.blockedOn!==null)return!1;for(var n=t.targetContainers;0<n.length;){var i=cn(t.domEventName,t.eventSystemFlags,n[0],t.nativeEvent);if(i===null){i=t.nativeEvent;var s=new i.constructor(i.type,i);$e=s,i.target.dispatchEvent(s),$e=null}else return n=Mn(i),n!==null&&sn(n),t.blockedOn=i,!1;n.shift()}return!0}function Le(t,n,i){be(t)&&i.delete(n)}function je(){Vn=!1,H!==null&&be(H)&&(H=null),ie!==null&&be(ie)&&(ie=null),re!==null&&be(re)&&(re=null),xe.forEach(Le),Ke.forEach(Le)}function ze(t,n){t.blockedOn===n&&(t.blockedOn=null,Vn||(Vn=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,je)))}function ut(t){function n(E){return ze(E,t)}if(0<Fn.length){ze(Fn[0],t);for(var i=1;i<Fn.length;i++){var s=Fn[i];s.blockedOn===t&&(s.blockedOn=null)}}for(H!==null&&ze(H,t),ie!==null&&ze(ie,t),re!==null&&ze(re,t),xe.forEach(n),Ke.forEach(n),i=0;i<Ue.length;i++)s=Ue[i],s.blockedOn===t&&(s.blockedOn=null);for(;0<Ue.length&&(i=Ue[0],i.blockedOn===null);)ne(i),i.blockedOn===null&&Ue.shift()}var dt=x.ReactCurrentBatchConfig,Ct=!0;function Rt(t,n,i,s){var E=Zt,O=dt.transition;dt.transition=null;try{Zt=1,Ut(t,n,i,s)}finally{Zt=E,dt.transition=O}}function kt(t,n,i,s){var E=Zt,O=dt.transition;dt.transition=null;try{Zt=4,Ut(t,n,i,s)}finally{Zt=E,dt.transition=O}}function Ut(t,n,i,s){if(Ct){var E=cn(t,n,i,s);if(E===null)Ni(t,n,s,Qt,i),w(t,s);else if(D(E,t,n,i,s))s.stopPropagation();else if(w(t,s),n&4&&-1<J.indexOf(t)){for(;E!==null;){var O=Mn(E);if(O!==null&&An(O),O=cn(t,n,i,s),O===null&&Ni(t,n,s,Qt,i),O===E)break;E=O}E!==null&&s.stopPropagation()}else Ni(t,n,s,null,i)}}var Qt=null;function cn(t,n,i,s){if(Qt=null,t=pt(s),t=dr(t),t!==null)if(n=zn(t),n===null)t=null;else if(i=n.tag,i===13){if(t=Re(n),t!==null)return t;t=null}else if(i===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;t=null}else n!==t&&(t=null);return Qt=t,null}function wn(t){switch(t){case\"cancel\":case\"click\":case\"close\":case\"contextmenu\":case\"copy\":case\"cut\":case\"auxclick\":case\"dblclick\":case\"dragend\":case\"dragstart\":case\"drop\":case\"focusin\":case\"focusout\":case\"input\":case\"invalid\":case\"keydown\":case\"keypress\":case\"keyup\":case\"mousedown\":case\"mouseup\":case\"paste\":case\"pause\":case\"play\":case\"pointercancel\":case\"pointerdown\":case\"pointerup\":case\"ratechange\":case\"reset\":case\"resize\":case\"seeked\":case\"submit\":case\"touchcancel\":case\"touchend\":case\"touchstart\":case\"volumechange\":case\"change\":case\"selectionchange\":case\"textInput\":case\"compositionstart\":case\"compositionend\":case\"compositionupdate\":case\"beforeblur\":case\"afterblur\":case\"beforeinput\":case\"blur\":case\"fullscreenchange\":case\"focus\":case\"hashchange\":case\"popstate\":case\"select\":case\"selectstart\":return 1;case\"drag\":case\"dragenter\":case\"dragexit\":case\"dragleave\":case\"dragover\":case\"mousemove\":case\"mouseout\":case\"mouseover\":case\"pointermove\":case\"pointerout\":case\"pointerover\":case\"scroll\":case\"toggle\":case\"touchmove\":case\"wheel\":case\"mouseenter\":case\"mouseleave\":case\"pointerenter\":case\"pointerleave\":return 4;case\"message\":switch(bn()){case ln:return 1;case tt:return 4;case Ze:case nt:return 16;case st:return 536870912;default:return 16}default:return 16}}var gn=null,Kn=null,Pn=null;function Ln(){if(Pn)return Pn;var t,n=Kn,i=n.length,s,E=\"value\"in gn?gn.value:gn.textContent,O=E.length;for(t=0;t<i&&n[t]===E[t];t++);var $=i-t;for(s=1;s<=$&&n[i-s]===E[O-s];s++);return Pn=E.slice(t,1<s?1-s:void 0)}function er(t){var n=t.keyCode;return\"charCode\"in t?(t=t.charCode,t===0&&n===13&&(t=13)):t=n,t===10&&(t=13),32<=t||t===13?t:0}function or(){return!0}function Ar(){return!1}function Xn(t){function n(i,s,E,O,$){this._reactName=i,this._targetInst=E,this.type=s,this.nativeEvent=O,this.target=$,this.currentTarget=null;for(var ve in t)t.hasOwnProperty(ve)&&(i=t[ve],this[ve]=i?i(O):O[ve]);return this.isDefaultPrevented=(O.defaultPrevented!=null?O.defaultPrevented:O.returnValue===!1)?or:Ar,this.isPropagationStopped=Ar,this}return B(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!=\"unknown\"&&(i.returnValue=!1),this.isDefaultPrevented=or)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!=\"unknown\"&&(i.cancelBubble=!0),this.isPropagationStopped=or)},persist:function(){},isPersistent:or}),n}var Yn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Er=Xn(Yn),Hn=B({},Yn,{view:0,detail:0}),Ir=Xn(Hn),kr,fr,Rr,hr=B({},Hn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return\"movementX\"in t?t.movementX:(t!==Rr&&(Rr&&t.type===\"mousemove\"?(kr=t.screenX-Rr.screenX,fr=t.screenY-Rr.screenY):fr=kr=0,Rr=t),kr)},movementY:function(t){return\"movementY\"in t?t.movementY:fr}}),Tr=Xn(hr),La=B({},hr,{dataTransfer:0}),za=Xn(La),Ha=B({},Hn,{relatedTarget:0}),Gr=Xn(Ha),$a=B({},Yn,{animationName:0,elapsedTime:0,pseudoElement:0}),Vr=Xn($a),pa=B({},Yn,{clipboardData:function(t){return\"clipboardData\"in t?t.clipboardData:window.clipboardData}}),ya=Xn(pa),ir=B({},Yn,{data:0}),Pr=Xn(ir),Yr={Esc:\"Escape\",Spacebar:\" \",Left:\"ArrowLeft\",Up:\"ArrowUp\",Right:\"ArrowRight\",Down:\"ArrowDown\",Del:\"Delete\",Win:\"OS\",Menu:\"ContextMenu\",Apps:\"ContextMenu\",Scroll:\"ScrollLock\",MozPrintableKey:\"Unidentified\"},xr={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\"},Oa={Alt:\"altKey\",Control:\"ctrlKey\",Meta:\"metaKey\",Shift:\"shiftKey\"};function na(t){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(t):(t=Oa[t])?!!n[t]:!1}function Cn(){return na}var xt=B({},Hn,{key:function(t){if(t.key){var n=Yr[t.key]||t.key;if(n!==\"Unidentified\")return n}return t.type===\"keypress\"?(t=er(t),t===13?\"Enter\":String.fromCharCode(t)):t.type===\"keydown\"||t.type===\"keyup\"?xr[t.keyCode]||\"Unidentified\":\"\"},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(t){return t.type===\"keypress\"?er(t):0},keyCode:function(t){return t.type===\"keydown\"||t.type===\"keyup\"?t.keyCode:0},which:function(t){return t.type===\"keypress\"?er(t):t.type===\"keydown\"||t.type===\"keyup\"?t.keyCode:0}}),ur=Xn(xt),tr=B({},hr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Fr=Xn(tr),_r=B({},Hn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn}),To=Xn(_r),ro=B({},Yn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Aa=Xn(ro),xo=B({},hr,{deltaX:function(t){return\"deltaX\"in t?t.deltaX:\"wheelDeltaX\"in t?-t.wheelDeltaX:0},deltaY:function(t){return\"deltaY\"in t?t.deltaY:\"wheelDeltaY\"in t?-t.wheelDeltaY:\"wheelDelta\"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),Wo=Xn(xo),Ti=[9,13,27,32],ao=v&&\"CompositionEvent\"in window,Za=null;v&&\"documentMode\"in document&&(Za=document.documentMode);var xi=v&&\"TextEvent\"in window&&!Za,oo=v&&(!ao||Za&&8<Za&&11>=Za),wi=String.fromCharCode(32),Go=!1;function Vo(t,n){switch(t){case\"keyup\":return Ti.indexOf(n.keyCode)!==-1;case\"keydown\":return n.keyCode!==229;case\"keypress\":case\"mousedown\":case\"focusout\":return!0;default:return!1}}function wo(t){return t=t.detail,typeof t==\"object\"&&\"data\"in t?t.data:null}var la=!1;function Co(t,n){switch(t){case\"compositionend\":return wo(n);case\"keypress\":return n.which!==32?null:(Go=!0,wi);case\"textInput\":return t=n.data,t===wi&&Go?null:t;default:return null}}function Ci(t,n){if(la)return t===\"compositionend\"||!ao&&Vo(t,n)?(t=Ln(),Pn=Kn=gn=null,la=!1,t):null;switch(t){case\"paste\":return null;case\"keypress\":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case\"compositionend\":return oo&&n.locale!==\"ko\"?null:n.data;default:return null}}var Oo={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 Yo(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n===\"input\"?!!Oo[t.type]:n===\"textarea\"}function Ao(t,n,i,s){jt(s),n=oi(n,\"onChange\"),0<n.length&&(i=new Er(\"onChange\",\"change\",null,i,s),t.push({event:i,listeners:n}))}var ga=null,Wa=null;function ka(t){ni(t,0)}function io(t){var n=Br(t);if(Ie(n))return t}function Qo(t,n){if(t===\"change\")return n}var Xo=!1;if(v){var Ro;if(v){var Po=\"oninput\"in document;if(!Po){var uo=document.createElement(\"div\");uo.setAttribute(\"oninput\",\"return;\"),Po=typeof uo.oninput==\"function\"}Ro=Po}else Ro=!1;Xo=Ro&&(!document.documentMode||9<document.documentMode)}function Dr(){ga&&(ga.detachEvent(\"onpropertychange\",$n),Wa=ga=null)}function $n(t){if(t.propertyName===\"value\"&&io(Wa)){var n=[];Ao(n,Wa,t,pt(t)),_n(ka,n)}}function lr(t,n,i){t===\"focusin\"?(Dr(),ga=n,Wa=i,ga.attachEvent(\"onpropertychange\",$n)):t===\"focusout\"&&Dr()}function jn(t){if(t===\"selectionchange\"||t===\"keyup\"||t===\"keydown\")return io(Wa)}function nr(t,n){if(t===\"click\")return io(n)}function jr(t,n){if(t===\"input\"||t===\"change\")return io(n)}function In(t,n){return t===n&&(t!==0||1/t===1/n)||t!==t&&n!==n}var wr=typeof Object.is==\"function\"?Object.is:In;function Qr(t,n){if(wr(t,n))return!0;if(typeof t!=\"object\"||t===null||typeof n!=\"object\"||n===null)return!1;var i=Object.keys(t),s=Object.keys(n);if(i.length!==s.length)return!1;for(s=0;s<i.length;s++){var E=i[s];if(!p.call(n,E)||!wr(t[E],n[E]))return!1}return!0}function Mo(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Oi(t,n){var i=Mo(t);t=0;for(var s;i;){if(i.nodeType===3){if(s=t+i.textContent.length,t<=n&&s>=n)return{node:i,offset:n-t};t=s}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=Mo(i)}}function Jo(t,n){return t&&n?t===n?!0:t&&t.nodeType===3?!1:n&&n.nodeType===3?Jo(t,n.parentNode):\"contains\"in t?t.contains(n):t.compareDocumentPosition?!!(t.compareDocumentPosition(n)&16):!1:!1}function qi(){for(var t=window,n=le();n instanceof t.HTMLIFrameElement;){try{var i=typeof n.contentWindow.location.href==\"string\"}catch(s){i=!1}if(i)t=n.contentWindow;else break;n=le(t.document)}return n}function qo(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n&&(n===\"input\"&&(t.type===\"text\"||t.type===\"search\"||t.type===\"tel\"||t.type===\"url\"||t.type===\"password\")||n===\"textarea\"||t.contentEditable===\"true\")}function Zu(t){var n=qi(),i=t.focusedElem,s=t.selectionRange;if(n!==i&&i&&i.ownerDocument&&Jo(i.ownerDocument.documentElement,i)){if(s!==null&&qo(i)){if(n=s.start,t=s.end,t===void 0&&(t=n),\"selectionStart\"in i)i.selectionStart=n,i.selectionEnd=Math.min(t,i.value.length);else if(t=(n=i.ownerDocument||document)&&n.defaultView||window,t.getSelection){t=t.getSelection();var E=i.textContent.length,O=Math.min(s.start,E);s=s.end===void 0?O:Math.min(s.end,E),!t.extend&&O>s&&(E=s,s=O,O=E),E=Oi(i,O);var $=Oi(i,s);E&&$&&(t.rangeCount!==1||t.anchorNode!==E.node||t.anchorOffset!==E.offset||t.focusNode!==$.node||t.focusOffset!==$.offset)&&(n=n.createRange(),n.setStart(E.node,E.offset),t.removeAllRanges(),O>s?(t.addRange(n),t.extend($.node,$.offset)):(n.setEnd($.node,$.offset),t.addRange(n)))}}for(n=[],t=i;t=t.parentNode;)t.nodeType===1&&n.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof i.focus==\"function\"&&i.focus(),i=0;i<n.length;i++)t=n[i],t.element.scrollLeft=t.left,t.element.scrollTop=t.top}}var Wu=v&&\"documentMode\"in document&&11>=document.documentMode,ra=null,Ai=null,_o=null,Ri=!1;function Pi(t,n,i){var s=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Ri||ra==null||ra!==le(s)||(s=ra,\"selectionStart\"in s&&qo(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),_o&&Qr(_o,s)||(_o=s,s=oi(Ai,\"onSelect\"),0<s.length&&(n=new Er(\"onSelect\",\"select\",null,n,i),t.push({event:n,listeners:s}),n.target=ra)))}function Ga(t,n){var i={};return i[t.toLowerCase()]=n.toLowerCase(),i[\"Webkit\"+t]=\"webkit\"+n,i[\"Moz\"+t]=\"moz\"+n,i}var lo={animationend:Ga(\"Animation\",\"AnimationEnd\"),animationiteration:Ga(\"Animation\",\"AnimationIteration\"),animationstart:Ga(\"Animation\",\"AnimationStart\"),transitionend:Ga(\"Transition\",\"TransitionEnd\")},Mi={},eu={};v&&(eu=document.createElement(\"div\").style,\"AnimationEvent\"in window||(delete lo.animationend.animation,delete lo.animationiteration.animation,delete lo.animationstart.animation),\"TransitionEvent\"in window||delete lo.transitionend.transition);function ei(t){if(Mi[t])return Mi[t];if(!lo[t])return t;var n=lo[t],i;for(i in n)if(n.hasOwnProperty(i)&&i in eu)return Mi[t]=n[i];return t}var tu=ei(\"animationend\"),nu=ei(\"animationiteration\"),ru=ei(\"animationstart\"),au=ei(\"transitionend\"),_i=new Map,ou=\"abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel\".split(\" \");function Fa(t,n){_i.set(t,n),d(n,[t])}for(var ti=0;ti<ou.length;ti++){var Di=ou[ti],Gu=Di.toLowerCase(),Vu=Di[0].toUpperCase()+Di.slice(1);Fa(Gu,\"on\"+Vu)}Fa(tu,\"onAnimationEnd\"),Fa(nu,\"onAnimationIteration\"),Fa(ru,\"onAnimationStart\"),Fa(\"dblclick\",\"onDoubleClick\"),Fa(\"focusin\",\"onFocus\"),Fa(\"focusout\",\"onBlur\"),Fa(au,\"onTransitionEnd\"),f(\"onMouseEnter\",[\"mouseout\",\"mouseover\"]),f(\"onMouseLeave\",[\"mouseout\",\"mouseover\"]),f(\"onPointerEnter\",[\"pointerout\",\"pointerover\"]),f(\"onPointerLeave\",[\"pointerout\",\"pointerover\"]),d(\"onChange\",\"change click focusin focusout input keydown keyup selectionchange\".split(\" \")),d(\"onSelect\",\"focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange\".split(\" \")),d(\"onBeforeInput\",[\"compositionend\",\"keypress\",\"textInput\",\"paste\"]),d(\"onCompositionEnd\",\"compositionend focusout keydown keypress keyup mousedown\".split(\" \")),d(\"onCompositionStart\",\"compositionstart focusout keydown keypress keyup mousedown\".split(\" \")),d(\"onCompositionUpdate\",\"compositionupdate focusout keydown keypress keyup mousedown\".split(\" \"));var Do=\"abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting\".split(\" \"),Yu=new Set(\"cancel close invalid load scroll toggle\".split(\" \").concat(Do));function iu(t,n,i){var s=t.type||\"unknown-event\";t.currentTarget=i,br(s,n,void 0,t),t.currentTarget=null}function ni(t,n){n=(n&4)!==0;for(var i=0;i<t.length;i++){var s=t[i],E=s.event;s=s.listeners;e:{var O=void 0;if(n)for(var $=s.length-1;0<=$;$--){var ve=s[$],Pe=ve.instance,et=ve.currentTarget;if(ve=ve.listener,Pe!==O&&E.isPropagationStopped())break e;iu(E,ve,et),O=Pe}else for($=0;$<s.length;$++){if(ve=s[$],Pe=ve.instance,et=ve.currentTarget,ve=ve.listener,Pe!==O&&E.isPropagationStopped())break e;iu(E,ve,et),O=Pe}}}if(cr)throw t=pr,cr=!1,pr=null,t}function rr(t,n){var i=n[zt];i===void 0&&(i=n[zt]=new Set);var s=t+\"__bubble\";i.has(s)||(Qu(n,t,2,!1),i.add(s))}function ri(t,n,i){var s=0;n&&(s|=4),Qu(i,t,s,n)}var so=\"_reactListening\"+Math.random().toString(36).slice(2);function ai(t){if(!t[so]){t[so]=!0,u.forEach(function(i){i!==\"selectionchange\"&&(Yu.has(i)||ri(i,!1,t),ri(i,!0,t))});var n=t.nodeType===9?t:t.ownerDocument;n===null||n[so]||(n[so]=!0,ri(\"selectionchange\",!1,n))}}function Qu(t,n,i,s){switch(wn(n)){case 1:var E=Rt;break;case 4:E=kt;break;default:E=Ut}i=E.bind(null,n,i,t),E=void 0,!Zn||n!==\"touchstart\"&&n!==\"touchmove\"&&n!==\"wheel\"||(E=!0),s?E!==void 0?t.addEventListener(n,i,{capture:!0,passive:E}):t.addEventListener(n,i,!0):E!==void 0?t.addEventListener(n,i,{passive:E}):t.addEventListener(n,i,!1)}function Ni(t,n,i,s,E){var O=s;if(!(n&1)&&!(n&2)&&s!==null)e:for(;;){if(s===null)return;var $=s.tag;if($===3||$===4){var ve=s.stateNode.containerInfo;if(ve===E||ve.nodeType===8&&ve.parentNode===E)break;if($===4)for($=s.return;$!==null;){var Pe=$.tag;if((Pe===3||Pe===4)&&(Pe=$.stateNode.containerInfo,Pe===E||Pe.nodeType===8&&Pe.parentNode===E))return;$=$.return}for(;ve!==null;){if($=dr(ve),$===null)return;if(Pe=$.tag,Pe===5||Pe===6){s=O=$;continue e}ve=ve.parentNode}}s=s.return}_n(function(){var et=O,St=pt(i),Tt=[];e:{var bt=_i.get(t);if(bt!==void 0){var Gt=Er,tn=t;switch(t){case\"keypress\":if(er(i)===0)break e;case\"keydown\":case\"keyup\":Gt=ur;break;case\"focusin\":tn=\"focus\",Gt=Gr;break;case\"focusout\":tn=\"blur\",Gt=Gr;break;case\"beforeblur\":case\"afterblur\":Gt=Gr;break;case\"click\":if(i.button===2)break e;case\"auxclick\":case\"dblclick\":case\"mousedown\":case\"mousemove\":case\"mouseup\":case\"mouseout\":case\"mouseover\":case\"contextmenu\":Gt=Tr;break;case\"drag\":case\"dragend\":case\"dragenter\":case\"dragexit\":case\"dragleave\":case\"dragover\":case\"dragstart\":case\"drop\":Gt=za;break;case\"touchcancel\":case\"touchend\":case\"touchmove\":case\"touchstart\":Gt=To;break;case tu:case nu:case ru:Gt=Vr;break;case au:Gt=Aa;break;case\"scroll\":Gt=Ir;break;case\"wheel\":Gt=Wo;break;case\"copy\":case\"cut\":case\"paste\":Gt=ya;break;case\"gotpointercapture\":case\"lostpointercapture\":case\"pointercancel\":case\"pointerdown\":case\"pointermove\":case\"pointerout\":case\"pointerover\":case\"pointerup\":Gt=Fr}var rn=(n&4)!==0,Or=!rn&&t===\"scroll\",Ve=rn?bt!==null?bt+\"Capture\":null:bt;rn=[];for(var Fe=et,Ye;Fe!==null;){Ye=Fe;var _t=Ye.stateNode;if(Ye.tag===5&&_t!==null&&(Ye=_t,Ve!==null&&(_t=xn(Fe,Ve),_t!=null&&rn.push(Va(Fe,_t,Ye)))),Or)break;Fe=Fe.return}0<rn.length&&(bt=new Gt(bt,tn,null,i,St),Tt.push({event:bt,listeners:rn}))}}if(!(n&7)){e:{if(bt=t===\"mouseover\"||t===\"pointerover\",Gt=t===\"mouseout\"||t===\"pointerout\",bt&&i!==$e&&(tn=i.relatedTarget||i.fromElement)&&(dr(tn)||tn[ht]))break e;if((Gt||bt)&&(bt=St.window===St?St:(bt=St.ownerDocument)?bt.defaultView||bt.parentWindow:window,Gt?(tn=i.relatedTarget||i.toElement,Gt=et,tn=tn?dr(tn):null,tn!==null&&(Or=zn(tn),tn!==Or||tn.tag!==5&&tn.tag!==6)&&(tn=null)):(Gt=null,tn=et),Gt!==tn)){if(rn=Tr,_t=\"onMouseLeave\",Ve=\"onMouseEnter\",Fe=\"mouse\",(t===\"pointerout\"||t===\"pointerover\")&&(rn=Fr,_t=\"onPointerLeave\",Ve=\"onPointerEnter\",Fe=\"pointer\"),Or=Gt==null?bt:Br(Gt),Ye=tn==null?bt:Br(tn),bt=new rn(_t,Fe+\"leave\",Gt,i,St),bt.target=Or,bt.relatedTarget=Ye,_t=null,dr(St)===et&&(rn=new rn(Ve,Fe+\"enter\",tn,i,St),rn.target=Ye,rn.relatedTarget=Or,_t=rn),Or=_t,Gt&&tn)t:{for(rn=Gt,Ve=tn,Fe=0,Ye=rn;Ye;Ye=co(Ye))Fe++;for(Ye=0,_t=Ve;_t;_t=co(_t))Ye++;for(;0<Fe-Ye;)rn=co(rn),Fe--;for(;0<Ye-Fe;)Ve=co(Ve),Ye--;for(;Fe--;){if(rn===Ve||Ve!==null&&rn===Ve.alternate)break t;rn=co(rn),Ve=co(Ve)}rn=null}else rn=null;Gt!==null&&uu(Tt,bt,Gt,rn,!1),tn!==null&&Or!==null&&uu(Tt,Or,tn,rn,!0)}}e:{if(bt=et?Br(et):window,Gt=bt.nodeName&&bt.nodeName.toLowerCase(),Gt===\"select\"||Gt===\"input\"&&bt.type===\"file\")var un=Qo;else if(Yo(bt))if(Xo)un=jr;else{un=jn;var vn=lr}else(Gt=bt.nodeName)&&Gt.toLowerCase()===\"input\"&&(bt.type===\"checkbox\"||bt.type===\"radio\")&&(un=nr);if(un&&(un=un(t,et))){Ao(Tt,un,i,St);break e}vn&&vn(t,bt,et),t===\"focusout\"&&(vn=bt._wrapperState)&&vn.controlled&&bt.type===\"number\"&&Se(bt,\"number\",bt.value)}switch(vn=et?Br(et):window,t){case\"focusin\":(Yo(vn)||vn.contentEditable===\"true\")&&(ra=vn,Ai=et,_o=null);break;case\"focusout\":_o=Ai=ra=null;break;case\"mousedown\":Ri=!0;break;case\"contextmenu\":case\"mouseup\":case\"dragend\":Ri=!1,Pi(Tt,i,St);break;case\"selectionchange\":if(Wu)break;case\"keydown\":case\"keyup\":Pi(Tt,i,St)}var mn;if(ao)e:{switch(t){case\"compositionstart\":var yn=\"onCompositionStart\";break e;case\"compositionend\":yn=\"onCompositionEnd\";break e;case\"compositionupdate\":yn=\"onCompositionUpdate\";break e}yn=void 0}else la?Vo(t,i)&&(yn=\"onCompositionEnd\"):t===\"keydown\"&&i.keyCode===229&&(yn=\"onCompositionStart\");yn&&(oo&&i.locale!==\"ko\"&&(la||yn!==\"onCompositionStart\"?yn===\"onCompositionEnd\"&&la&&(mn=Ln()):(gn=St,Kn=\"value\"in gn?gn.value:gn.textContent,la=!0)),vn=oi(et,yn),0<vn.length&&(yn=new Pr(yn,t,null,i,St),Tt.push({event:yn,listeners:vn}),mn?yn.data=mn:(mn=wo(i),mn!==null&&(yn.data=mn)))),(mn=xi?Co(t,i):Ci(t,i))&&(et=oi(et,\"onBeforeInput\"),0<et.length&&(St=new Pr(\"onBeforeInput\",\"beforeinput\",null,i,St),Tt.push({event:St,listeners:et}),St.data=mn))}ni(Tt,n)})}function Va(t,n,i){return{instance:t,listener:n,currentTarget:i}}function oi(t,n){for(var i=n+\"Capture\",s=[];t!==null;){var E=t,O=E.stateNode;E.tag===5&&O!==null&&(E=O,O=xn(t,i),O!=null&&s.unshift(Va(t,O,E)),O=xn(t,n),O!=null&&s.push(Va(t,O,E))),t=t.return}return s}function co(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5);return t||null}function uu(t,n,i,s,E){for(var O=n._reactName,$=[];i!==null&&i!==s;){var ve=i,Pe=ve.alternate,et=ve.stateNode;if(Pe!==null&&Pe===s)break;ve.tag===5&&et!==null&&(ve=et,E?(Pe=xn(i,O),Pe!=null&&$.unshift(Va(i,Pe,ve))):E||(Pe=xn(i,O),Pe!=null&&$.push(Va(i,Pe,ve)))),i=i.return}$.length!==0&&t.push({event:n,listeners:$})}var Xu=/\\r\\n?/g,Ju=/\\u0000|\\uFFFD/g;function fo(t){return(typeof t==\"string\"?t:\"\"+t).replace(Xu,`\n`).replace(Ju,\"\")}function Li(t,n,i){if(n=fo(n),fo(t)!==n&&i)throw Error(r(425))}function ii(){}var ki=null,No=null;function Fi(t,n){return t===\"textarea\"||t===\"noscript\"||typeof n.children==\"string\"||typeof n.children==\"number\"||typeof n.dangerouslySetInnerHTML==\"object\"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var lu=typeof setTimeout==\"function\"?setTimeout:void 0,qu=typeof clearTimeout==\"function\"?clearTimeout:void 0,su=typeof Promise==\"function\"?Promise:void 0,el=typeof queueMicrotask==\"function\"?queueMicrotask:typeof su!=\"undefined\"?function(t){return su.resolve(null).then(t).catch(tl)}:lu;function tl(t){setTimeout(function(){throw t})}function Lo(t,n){var i=n,s=0;do{var E=i.nextSibling;if(t.removeChild(i),E&&E.nodeType===8)if(i=E.data,i===\"/$\"){if(s===0){t.removeChild(E),ut(n);return}s--}else i!==\"$\"&&i!==\"$?\"&&i!==\"$!\"||s++;i=E}while(i);ut(n)}function Be(t){for(;t!=null;t=t.nextSibling){var n=t.nodeType;if(n===1||n===3)break;if(n===8){if(n=t.data,n===\"$\"||n===\"$!\"||n===\"$?\")break;if(n===\"/$\")return null}}return t}function qe(t){t=t.previousSibling;for(var n=0;t;){if(t.nodeType===8){var i=t.data;if(i===\"$\"||i===\"$!\"||i===\"$?\"){if(n===0)return t;n--}else i===\"/$\"&&n++}t=t.previousSibling}return null}var Je=Math.random().toString(36).slice(2),Xe=\"__reactFiber$\"+Je,yt=\"__reactProps$\"+Je,ht=\"__reactContainer$\"+Je,zt=\"__reactEvents$\"+Je,on=\"__reactListeners$\"+Je,On=\"__reactHandles$\"+Je;function dr(t){var n=t[Xe];if(n)return n;for(var i=t.parentNode;i;){if(n=i[ht]||i[Xe]){if(i=n.alternate,n.child!==null||i!==null&&i.child!==null)for(t=qe(t);t!==null;){if(i=t[Xe])return i;t=qe(t)}return n}t=i,i=t.parentNode}return null}function Mn(t){return t=t[Xe]||t[ht],!t||t.tag!==5&&t.tag!==6&&t.tag!==13&&t.tag!==3?null:t}function Br(t){if(t.tag===5||t.tag===6)return t.stateNode;throw Error(r(33))}function $r(t){return t[yt]||null}var ba=[],Ra=-1;function Cr(t){return{current:t}}function kn(t){0>Ra||(t.current=ba[Ra],ba[Ra]=null,Ra--)}function Tn(t,n){Ra++,ba[Ra]=t.current,t.current=n}var Xr={},sr=Cr(Xr),Kr=Cr(!1),Ya=Xr;function ja(t,n){var i=t.type.contextTypes;if(!i)return Xr;var s=t.stateNode;if(s&&s.__reactInternalMemoizedUnmaskedChildContext===n)return s.__reactInternalMemoizedMaskedChildContext;var E={},O;for(O in i)E[O]=n[O];return s&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=n,t.__reactInternalMemoizedMaskedChildContext=E),E}function Jr(t){return t=t.childContextTypes,t!=null}function sa(){kn(Kr),kn(sr)}function ui(t,n,i){if(sr.current!==Xr)throw Error(r(168));Tn(sr,n),Tn(Kr,i)}function li(t,n,i){var s=t.stateNode;if(n=n.childContextTypes,typeof s.getChildContext!=\"function\")return i;s=s.getChildContext();for(var E in s)if(!(E in n))throw Error(r(108,De(t)||\"Unknown\",E));return B({},i,s)}function po(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Xr,Ya=sr.current,Tn(sr,t),Tn(Kr,Kr.current),!0}function ji(t,n,i){var s=t.stateNode;if(!s)throw Error(r(169));i?(t=li(t,n,Ya),s.__reactInternalMemoizedMergedChildContext=t,kn(Kr),kn(sr),Tn(sr,t)):kn(Kr),Tn(Kr,i)}var Ea=null,si=!1,ci=!1;function aa(t){Ea===null?Ea=[t]:Ea.push(t)}function Qa(t){si=!0,aa(t)}function oa(){if(!ci&&Ea!==null){ci=!0;var t=0,n=Zt;try{var i=Ea;for(Zt=1;t<i.length;t++){var s=i[t];do s=s(!0);while(s!==null)}Ea=null,si=!1}catch(E){throw Ea!==null&&(Ea=Ea.slice(t+1)),Lt(ln,oa),E}finally{Zt=n,ci=!1}}return null}var fi=[],di=0,cu=null,fu=0,Sa=[],Ia=0,ko=null,Xa=1,Ja=\"\";function Fo(t,n){fi[di++]=fu,fi[di++]=cu,cu=t,fu=n}function rs(t,n,i){Sa[Ia++]=Xa,Sa[Ia++]=Ja,Sa[Ia++]=ko,ko=t;var s=Xa;t=Ja;var E=32-gt(s)-1;s&=~(1<<E),i+=1;var O=32-gt(n)+E;if(30<O){var $=E-E%5;O=(s&(1<<$)-1).toString(32),s>>=$,E-=$,Xa=1<<32-gt(n)+E|i<<E|s,Ja=O+t}else Xa=1<<O|i<<E|s,Ja=t}function nl(t){t.return!==null&&(Fo(t,1),rs(t,1,0))}function rl(t){for(;t===cu;)cu=fi[--di],fi[di]=null,fu=fi[--di],fi[di]=null;for(;t===ko;)ko=Sa[--Ia],Sa[Ia]=null,Ja=Sa[--Ia],Sa[Ia]=null,Xa=Sa[--Ia],Sa[Ia]=null}var va=null,ma=null,mr=!1,Pa=null;function as(t,n){var i=Ca(5,null,null,0);i.elementType=\"DELETED\",i.stateNode=n,i.return=t,n=t.deletions,n===null?(t.deletions=[i],t.flags|=16):n.push(i)}function os(t,n){switch(t.tag){case 5:var i=t.type;return n=n.nodeType!==1||i.toLowerCase()!==n.nodeName.toLowerCase()?null:n,n!==null?(t.stateNode=n,va=t,ma=Be(n.firstChild),!0):!1;case 6:return n=t.pendingProps===\"\"||n.nodeType!==3?null:n,n!==null?(t.stateNode=n,va=t,ma=null,!0):!1;case 13:return n=n.nodeType!==8?null:n,n!==null?(i=ko!==null?{id:Xa,overflow:Ja}:null,t.memoizedState={dehydrated:n,treeContext:i,retryLane:1073741824},i=Ca(18,null,null,0),i.stateNode=n,i.return=t,t.child=i,va=t,ma=null,!0):!1;default:return!1}}function al(t){return(t.mode&1)!==0&&(t.flags&128)===0}function ol(t){if(mr){var n=ma;if(n){var i=n;if(!os(t,n)){if(al(t))throw Error(r(418));n=Be(i.nextSibling);var s=va;n&&os(t,n)?as(s,i):(t.flags=t.flags&-4097|2,mr=!1,va=t)}}else{if(al(t))throw Error(r(418));t.flags=t.flags&-4097|2,mr=!1,va=t}}}function is(t){for(t=t.return;t!==null&&t.tag!==5&&t.tag!==3&&t.tag!==13;)t=t.return;va=t}function du(t){if(t!==va)return!1;if(!mr)return is(t),mr=!0,!1;var n;if((n=t.tag!==3)&&!(n=t.tag!==5)&&(n=t.type,n=n!==\"head\"&&n!==\"body\"&&!Fi(t.type,t.memoizedProps)),n&&(n=ma)){if(al(t))throw us(),Error(r(418));for(;n;)as(t,n),n=Be(n.nextSibling)}if(is(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));e:{for(t=t.nextSibling,n=0;t;){if(t.nodeType===8){var i=t.data;if(i===\"/$\"){if(n===0){ma=Be(t.nextSibling);break e}n--}else i!==\"$\"&&i!==\"$!\"&&i!==\"$?\"||n++}t=t.nextSibling}ma=null}}else ma=va?Be(t.stateNode.nextSibling):null;return!0}function us(){for(var t=ma;t;)t=Be(t.nextSibling)}function pi(){ma=va=null,mr=!1}function il(t){Pa===null?Pa=[t]:Pa.push(t)}var _c=x.ReactCurrentBatchConfig;function Ma(t,n){if(t&&t.defaultProps){n=B({},n),t=t.defaultProps;for(var i in t)n[i]===void 0&&(n[i]=t[i]);return n}return n}var pu=Cr(null),vu=null,vi=null,ul=null;function ll(){ul=vi=vu=null}function sl(t){var n=pu.current;kn(pu),t._currentValue=n}function cl(t,n,i){for(;t!==null;){var s=t.alternate;if((t.childLanes&n)!==n?(t.childLanes|=n,s!==null&&(s.childLanes|=n)):s!==null&&(s.childLanes&n)!==n&&(s.childLanes|=n),t===i)break;t=t.return}}function mi(t,n){vu=t,ul=vi=null,t=t.dependencies,t!==null&&t.firstContext!==null&&(t.lanes&n&&(ca=!0),t.firstContext=null)}function Ta(t){var n=t._currentValue;if(ul!==t)if(t={context:t,memoizedValue:n,next:null},vi===null){if(vu===null)throw Error(r(308));vi=t,vu.dependencies={lanes:0,firstContext:t}}else vi=vi.next=t;return n}var jo=null;function fl(t){jo===null?jo=[t]:jo.push(t)}function ls(t,n,i,s){var E=n.interleaved;return E===null?(i.next=i,fl(n)):(i.next=E.next,E.next=i),n.interleaved=i,qa(t,s)}function qa(t,n){t.lanes|=n;var i=t.alternate;for(i!==null&&(i.lanes|=n),i=t,t=t.return;t!==null;)t.childLanes|=n,i=t.alternate,i!==null&&(i.childLanes|=n),i=t,t=t.return;return i.tag===3?i.stateNode:null}var vo=!1;function dl(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ss(t,n){t=t.updateQueue,n.updateQueue===t&&(n.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function eo(t,n){return{eventTime:t,lane:n,tag:0,payload:null,callback:null,next:null}}function mo(t,n,i){var s=t.updateQueue;if(s===null)return null;if(s=s.shared,Gn&2){var E=s.pending;return E===null?n.next=n:(n.next=E.next,E.next=n),s.pending=n,qa(t,i)}return E=s.interleaved,E===null?(n.next=n,fl(s)):(n.next=E.next,E.next=n),s.interleaved=n,qa(t,i)}function mu(t,n,i){if(n=n.updateQueue,n!==null&&(n=n.shared,(i&4194240)!==0)){var s=n.lanes;s&=t.pendingLanes,i|=s,n.lanes=i,fn(t,i)}}function cs(t,n){var i=t.updateQueue,s=t.alternate;if(s!==null&&(s=s.updateQueue,i===s)){var E=null,O=null;if(i=i.firstBaseUpdate,i!==null){do{var $={eventTime:i.eventTime,lane:i.lane,tag:i.tag,payload:i.payload,callback:i.callback,next:null};O===null?E=O=$:O=O.next=$,i=i.next}while(i!==null);O===null?E=O=n:O=O.next=n}else E=O=n;i={baseState:s.baseState,firstBaseUpdate:E,lastBaseUpdate:O,shared:s.shared,effects:s.effects},t.updateQueue=i;return}t=i.lastBaseUpdate,t===null?i.firstBaseUpdate=n:t.next=n,i.lastBaseUpdate=n}function hu(t,n,i,s){var E=t.updateQueue;vo=!1;var O=E.firstBaseUpdate,$=E.lastBaseUpdate,ve=E.shared.pending;if(ve!==null){E.shared.pending=null;var Pe=ve,et=Pe.next;Pe.next=null,$===null?O=et:$.next=et,$=Pe;var St=t.alternate;St!==null&&(St=St.updateQueue,ve=St.lastBaseUpdate,ve!==$&&(ve===null?St.firstBaseUpdate=et:ve.next=et,St.lastBaseUpdate=Pe))}if(O!==null){var Tt=E.baseState;$=0,St=et=Pe=null,ve=O;do{var bt=ve.lane,Gt=ve.eventTime;if((s&bt)===bt){St!==null&&(St=St.next={eventTime:Gt,lane:0,tag:ve.tag,payload:ve.payload,callback:ve.callback,next:null});e:{var tn=t,rn=ve;switch(bt=n,Gt=i,rn.tag){case 1:if(tn=rn.payload,typeof tn==\"function\"){Tt=tn.call(Gt,Tt,bt);break e}Tt=tn;break e;case 3:tn.flags=tn.flags&-65537|128;case 0:if(tn=rn.payload,bt=typeof tn==\"function\"?tn.call(Gt,Tt,bt):tn,bt==null)break e;Tt=B({},Tt,bt);break e;case 2:vo=!0}}ve.callback!==null&&ve.lane!==0&&(t.flags|=64,bt=E.effects,bt===null?E.effects=[ve]:bt.push(ve))}else Gt={eventTime:Gt,lane:bt,tag:ve.tag,payload:ve.payload,callback:ve.callback,next:null},St===null?(et=St=Gt,Pe=Tt):St=St.next=Gt,$|=bt;if(ve=ve.next,ve===null){if(ve=E.shared.pending,ve===null)break;bt=ve,ve=bt.next,bt.next=null,E.lastBaseUpdate=bt,E.shared.pending=null}}while(1);if(St===null&&(Pe=Tt),E.baseState=Pe,E.firstBaseUpdate=et,E.lastBaseUpdate=St,n=E.shared.interleaved,n!==null){E=n;do $|=E.lane,E=E.next;while(E!==n)}else O===null&&(E.shared.lanes=0);Uo|=$,t.lanes=$,t.memoizedState=Tt}}function fs(t,n,i){if(t=n.effects,n.effects=null,t!==null)for(n=0;n<t.length;n++){var s=t[n],E=s.callback;if(E!==null){if(s.callback=null,s=i,typeof E!=\"function\")throw Error(r(191,E));E.call(s)}}}var ds=new a.Component().refs;function pl(t,n,i,s){n=t.memoizedState,i=i(s,n),i=i==null?n:B({},n,i),t.memoizedState=i,t.lanes===0&&(t.updateQueue.baseState=i)}var yu={isMounted:function(t){return(t=t._reactInternals)?zn(t)===t:!1},enqueueSetState:function(t,n,i){t=t._reactInternals;var s=ua(),E=bo(t),O=eo(s,E);O.payload=n,i!=null&&(O.callback=i),n=mo(t,O,E),n!==null&&(Na(n,t,E,s),mu(n,t,E))},enqueueReplaceState:function(t,n,i){t=t._reactInternals;var s=ua(),E=bo(t),O=eo(s,E);O.tag=1,O.payload=n,i!=null&&(O.callback=i),n=mo(t,O,E),n!==null&&(Na(n,t,E,s),mu(n,t,E))},enqueueForceUpdate:function(t,n){t=t._reactInternals;var i=ua(),s=bo(t),E=eo(i,s);E.tag=2,n!=null&&(E.callback=n),n=mo(t,E,s),n!==null&&(Na(n,t,s,i),mu(n,t,s))}};function ps(t,n,i,s,E,O,$){return t=t.stateNode,typeof t.shouldComponentUpdate==\"function\"?t.shouldComponentUpdate(s,O,$):n.prototype&&n.prototype.isPureReactComponent?!Qr(i,s)||!Qr(E,O):!0}function vs(t,n,i){var s=!1,E=Xr,O=n.contextType;return typeof O==\"object\"&&O!==null?O=Ta(O):(E=Jr(n)?Ya:sr.current,s=n.contextTypes,O=(s=s!=null)?ja(t,E):Xr),n=new n(i,O),t.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=yu,t.stateNode=n,n._reactInternals=t,s&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=E,t.__reactInternalMemoizedMaskedChildContext=O),n}function ms(t,n,i,s){t=n.state,typeof n.componentWillReceiveProps==\"function\"&&n.componentWillReceiveProps(i,s),typeof n.UNSAFE_componentWillReceiveProps==\"function\"&&n.UNSAFE_componentWillReceiveProps(i,s),n.state!==t&&yu.enqueueReplaceState(n,n.state,null)}function vl(t,n,i,s){var E=t.stateNode;E.props=i,E.state=t.memoizedState,E.refs=ds,dl(t);var O=n.contextType;typeof O==\"object\"&&O!==null?E.context=Ta(O):(O=Jr(n)?Ya:sr.current,E.context=ja(t,O)),E.state=t.memoizedState,O=n.getDerivedStateFromProps,typeof O==\"function\"&&(pl(t,n,O,i),E.state=t.memoizedState),typeof n.getDerivedStateFromProps==\"function\"||typeof E.getSnapshotBeforeUpdate==\"function\"||typeof E.UNSAFE_componentWillMount!=\"function\"&&typeof E.componentWillMount!=\"function\"||(n=E.state,typeof E.componentWillMount==\"function\"&&E.componentWillMount(),typeof E.UNSAFE_componentWillMount==\"function\"&&E.UNSAFE_componentWillMount(),n!==E.state&&yu.enqueueReplaceState(E,E.state,null),hu(t,i,E,s),E.state=t.memoizedState),typeof E.componentDidMount==\"function\"&&(t.flags|=4194308)}function Bi(t,n,i){if(t=i.ref,t!==null&&typeof t!=\"function\"&&typeof t!=\"object\"){if(i._owner){if(i=i._owner,i){if(i.tag!==1)throw Error(r(309));var s=i.stateNode}if(!s)throw Error(r(147,t));var E=s,O=\"\"+t;return n!==null&&n.ref!==null&&typeof n.ref==\"function\"&&n.ref._stringRef===O?n.ref:(n=function($){var ve=E.refs;ve===ds&&(ve=E.refs={}),$===null?delete ve[O]:ve[O]=$},n._stringRef=O,n)}if(typeof t!=\"string\")throw Error(r(284));if(!i._owner)throw Error(r(290,t))}return t}function gu(t,n){throw t=Object.prototype.toString.call(n),Error(r(31,t===\"[object Object]\"?\"object with keys {\"+Object.keys(n).join(\", \")+\"}\":t))}function hs(t){var n=t._init;return n(t._payload)}function ys(t){function n(Ve,Fe){if(t){var Ye=Ve.deletions;Ye===null?(Ve.deletions=[Fe],Ve.flags|=16):Ye.push(Fe)}}function i(Ve,Fe){if(!t)return null;for(;Fe!==null;)n(Ve,Fe),Fe=Fe.sibling;return null}function s(Ve,Fe){for(Ve=new Map;Fe!==null;)Fe.key!==null?Ve.set(Fe.key,Fe):Ve.set(Fe.index,Fe),Fe=Fe.sibling;return Ve}function E(Ve,Fe){return Ve=So(Ve,Fe),Ve.index=0,Ve.sibling=null,Ve}function O(Ve,Fe,Ye){return Ve.index=Ye,t?(Ye=Ve.alternate,Ye!==null?(Ye=Ye.index,Ye<Fe?(Ve.flags|=2,Fe):Ye):(Ve.flags|=2,Fe)):(Ve.flags|=1048576,Fe)}function $(Ve){return t&&Ve.alternate===null&&(Ve.flags|=2),Ve}function ve(Ve,Fe,Ye,_t){return Fe===null||Fe.tag!==6?(Fe=Xl(Ye,Ve.mode,_t),Fe.return=Ve,Fe):(Fe=E(Fe,Ye),Fe.return=Ve,Fe)}function Pe(Ve,Fe,Ye,_t){var un=Ye.type;return un===G?St(Ve,Fe,Ye.props.children,_t,Ye.key):Fe!==null&&(Fe.elementType===un||typeof un==\"object\"&&un!==null&&un.$$typeof===T&&hs(un)===Fe.type)?(_t=E(Fe,Ye.props),_t.ref=Bi(Ve,Fe,Ye),_t.return=Ve,_t):(_t=Fu(Ye.type,Ye.key,Ye.props,null,Ve.mode,_t),_t.ref=Bi(Ve,Fe,Ye),_t.return=Ve,_t)}function et(Ve,Fe,Ye,_t){return Fe===null||Fe.tag!==4||Fe.stateNode.containerInfo!==Ye.containerInfo||Fe.stateNode.implementation!==Ye.implementation?(Fe=Jl(Ye,Ve.mode,_t),Fe.return=Ve,Fe):(Fe=E(Fe,Ye.children||[]),Fe.return=Ve,Fe)}function St(Ve,Fe,Ye,_t,un){return Fe===null||Fe.tag!==7?(Fe=Zo(Ye,Ve.mode,_t,un),Fe.return=Ve,Fe):(Fe=E(Fe,Ye),Fe.return=Ve,Fe)}function Tt(Ve,Fe,Ye){if(typeof Fe==\"string\"&&Fe!==\"\"||typeof Fe==\"number\")return Fe=Xl(\"\"+Fe,Ve.mode,Ye),Fe.return=Ve,Fe;if(typeof Fe==\"object\"&&Fe!==null){switch(Fe.$$typeof){case F:return Ye=Fu(Fe.type,Fe.key,Fe.props,null,Ve.mode,Ye),Ye.ref=Bi(Ve,null,Fe),Ye.return=Ve,Ye;case K:return Fe=Jl(Fe,Ve.mode,Ye),Fe.return=Ve,Fe;case T:var _t=Fe._init;return Tt(Ve,_t(Fe._payload),Ye)}if(Q(Fe)||C(Fe))return Fe=Zo(Fe,Ve.mode,Ye,null),Fe.return=Ve,Fe;gu(Ve,Fe)}return null}function bt(Ve,Fe,Ye,_t){var un=Fe!==null?Fe.key:null;if(typeof Ye==\"string\"&&Ye!==\"\"||typeof Ye==\"number\")return un!==null?null:ve(Ve,Fe,\"\"+Ye,_t);if(typeof Ye==\"object\"&&Ye!==null){switch(Ye.$$typeof){case F:return Ye.key===un?Pe(Ve,Fe,Ye,_t):null;case K:return Ye.key===un?et(Ve,Fe,Ye,_t):null;case T:return un=Ye._init,bt(Ve,Fe,un(Ye._payload),_t)}if(Q(Ye)||C(Ye))return un!==null?null:St(Ve,Fe,Ye,_t,null);gu(Ve,Ye)}return null}function Gt(Ve,Fe,Ye,_t,un){if(typeof _t==\"string\"&&_t!==\"\"||typeof _t==\"number\")return Ve=Ve.get(Ye)||null,ve(Fe,Ve,\"\"+_t,un);if(typeof _t==\"object\"&&_t!==null){switch(_t.$$typeof){case F:return Ve=Ve.get(_t.key===null?Ye:_t.key)||null,Pe(Fe,Ve,_t,un);case K:return Ve=Ve.get(_t.key===null?Ye:_t.key)||null,et(Fe,Ve,_t,un);case T:var vn=_t._init;return Gt(Ve,Fe,Ye,vn(_t._payload),un)}if(Q(_t)||C(_t))return Ve=Ve.get(Ye)||null,St(Fe,Ve,_t,un,null);gu(Fe,_t)}return null}function tn(Ve,Fe,Ye,_t){for(var un=null,vn=null,mn=Fe,yn=Fe=0,Hr=null;mn!==null&&yn<Ye.length;yn++){mn.index>yn?(Hr=mn,mn=null):Hr=mn.sibling;var Qn=bt(Ve,mn,Ye[yn],_t);if(Qn===null){mn===null&&(mn=Hr);break}t&&mn&&Qn.alternate===null&&n(Ve,mn),Fe=O(Qn,Fe,yn),vn===null?un=Qn:vn.sibling=Qn,vn=Qn,mn=Hr}if(yn===Ye.length)return i(Ve,mn),mr&&Fo(Ve,yn),un;if(mn===null){for(;yn<Ye.length;yn++)mn=Tt(Ve,Ye[yn],_t),mn!==null&&(Fe=O(mn,Fe,yn),vn===null?un=mn:vn.sibling=mn,vn=mn);return mr&&Fo(Ve,yn),un}for(mn=s(Ve,mn);yn<Ye.length;yn++)Hr=Gt(mn,Ve,yn,Ye[yn],_t),Hr!==null&&(t&&Hr.alternate!==null&&mn.delete(Hr.key===null?yn:Hr.key),Fe=O(Hr,Fe,yn),vn===null?un=Hr:vn.sibling=Hr,vn=Hr);return t&&mn.forEach(function(Io){return n(Ve,Io)}),mr&&Fo(Ve,yn),un}function rn(Ve,Fe,Ye,_t){var un=C(Ye);if(typeof un!=\"function\")throw Error(r(150));if(Ye=un.call(Ye),Ye==null)throw Error(r(151));for(var vn=un=null,mn=Fe,yn=Fe=0,Hr=null,Qn=Ye.next();mn!==null&&!Qn.done;yn++,Qn=Ye.next()){mn.index>yn?(Hr=mn,mn=null):Hr=mn.sibling;var Io=bt(Ve,mn,Qn.value,_t);if(Io===null){mn===null&&(mn=Hr);break}t&&mn&&Io.alternate===null&&n(Ve,mn),Fe=O(Io,Fe,yn),vn===null?un=Io:vn.sibling=Io,vn=Io,mn=Hr}if(Qn.done)return i(Ve,mn),mr&&Fo(Ve,yn),un;if(mn===null){for(;!Qn.done;yn++,Qn=Ye.next())Qn=Tt(Ve,Qn.value,_t),Qn!==null&&(Fe=O(Qn,Fe,yn),vn===null?un=Qn:vn.sibling=Qn,vn=Qn);return mr&&Fo(Ve,yn),un}for(mn=s(Ve,mn);!Qn.done;yn++,Qn=Ye.next())Qn=Gt(mn,Ve,yn,Qn.value,_t),Qn!==null&&(t&&Qn.alternate!==null&&mn.delete(Qn.key===null?yn:Qn.key),Fe=O(Qn,Fe,yn),vn===null?un=Qn:vn.sibling=Qn,vn=Qn);return t&&mn.forEach(function(df){return n(Ve,df)}),mr&&Fo(Ve,yn),un}function Or(Ve,Fe,Ye,_t){if(typeof Ye==\"object\"&&Ye!==null&&Ye.type===G&&Ye.key===null&&(Ye=Ye.props.children),typeof Ye==\"object\"&&Ye!==null){switch(Ye.$$typeof){case F:e:{for(var un=Ye.key,vn=Fe;vn!==null;){if(vn.key===un){if(un=Ye.type,un===G){if(vn.tag===7){i(Ve,vn.sibling),Fe=E(vn,Ye.props.children),Fe.return=Ve,Ve=Fe;break e}}else if(vn.elementType===un||typeof un==\"object\"&&un!==null&&un.$$typeof===T&&hs(un)===vn.type){i(Ve,vn.sibling),Fe=E(vn,Ye.props),Fe.ref=Bi(Ve,vn,Ye),Fe.return=Ve,Ve=Fe;break e}i(Ve,vn);break}else n(Ve,vn);vn=vn.sibling}Ye.type===G?(Fe=Zo(Ye.props.children,Ve.mode,_t,Ye.key),Fe.return=Ve,Ve=Fe):(_t=Fu(Ye.type,Ye.key,Ye.props,null,Ve.mode,_t),_t.ref=Bi(Ve,Fe,Ye),_t.return=Ve,Ve=_t)}return $(Ve);case K:e:{for(vn=Ye.key;Fe!==null;){if(Fe.key===vn)if(Fe.tag===4&&Fe.stateNode.containerInfo===Ye.containerInfo&&Fe.stateNode.implementation===Ye.implementation){i(Ve,Fe.sibling),Fe=E(Fe,Ye.children||[]),Fe.return=Ve,Ve=Fe;break e}else{i(Ve,Fe);break}else n(Ve,Fe);Fe=Fe.sibling}Fe=Jl(Ye,Ve.mode,_t),Fe.return=Ve,Ve=Fe}return $(Ve);case T:return vn=Ye._init,Or(Ve,Fe,vn(Ye._payload),_t)}if(Q(Ye))return tn(Ve,Fe,Ye,_t);if(C(Ye))return rn(Ve,Fe,Ye,_t);gu(Ve,Ye)}return typeof Ye==\"string\"&&Ye!==\"\"||typeof Ye==\"number\"?(Ye=\"\"+Ye,Fe!==null&&Fe.tag===6?(i(Ve,Fe.sibling),Fe=E(Fe,Ye),Fe.return=Ve,Ve=Fe):(i(Ve,Fe),Fe=Xl(Ye,Ve.mode,_t),Fe.return=Ve,Ve=Fe),$(Ve)):i(Ve,Fe)}return Or}var hi=ys(!0),gs=ys(!1),Ki={},Ba=Cr(Ki),Ui=Cr(Ki),zi=Cr(Ki);function Bo(t){if(t===Ki)throw Error(r(174));return t}function ml(t,n){switch(Tn(zi,n),Tn(Ui,t),Tn(Ba,Ki),t=n.nodeType,t){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:We(null,\"\");break;default:t=t===8?n.parentNode:n,n=t.namespaceURI||null,t=t.tagName,n=We(n,t)}kn(Ba),Tn(Ba,n)}function yi(){kn(Ba),kn(Ui),kn(zi)}function bs(t){Bo(zi.current);var n=Bo(Ba.current),i=We(n,t.type);n!==i&&(Tn(Ui,t),Tn(Ba,i))}function hl(t){Ui.current===t&&(kn(Ba),kn(Ui))}var yr=Cr(0);function bu(t){for(var n=t;n!==null;){if(n.tag===13){var i=n.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||i.data===\"$?\"||i.data===\"$!\"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if(n.flags&128)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var yl=[];function gl(){for(var t=0;t<yl.length;t++)yl[t]._workInProgressVersionPrimary=null;yl.length=0}var Eu=x.ReactCurrentDispatcher,bl=x.ReactCurrentBatchConfig,Ko=0,gr=null,Nr=null,Ur=null,Su=!1,Hi=!1,$i=0,Dc=0;function qr(){throw Error(r(321))}function El(t,n){if(n===null)return!1;for(var i=0;i<n.length&&i<t.length;i++)if(!wr(t[i],n[i]))return!1;return!0}function Sl(t,n,i,s,E,O){if(Ko=O,gr=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,Eu.current=t===null||t.memoizedState===null?Fc:jc,t=i(s,E),Hi){O=0;do{if(Hi=!1,$i=0,25<=O)throw Error(r(301));O+=1,Ur=Nr=null,n.updateQueue=null,Eu.current=Bc,t=i(s,E)}while(Hi)}if(Eu.current=xu,n=Nr!==null&&Nr.next!==null,Ko=0,Ur=Nr=gr=null,Su=!1,n)throw Error(r(300));return t}function Il(){var t=$i!==0;return $i=0,t}function Ka(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ur===null?gr.memoizedState=Ur=t:Ur=Ur.next=t,Ur}function xa(){if(Nr===null){var t=gr.alternate;t=t!==null?t.memoizedState:null}else t=Nr.next;var n=Ur===null?gr.memoizedState:Ur.next;if(n!==null)Ur=n,Nr=t;else{if(t===null)throw Error(r(310));Nr=t,t={memoizedState:Nr.memoizedState,baseState:Nr.baseState,baseQueue:Nr.baseQueue,queue:Nr.queue,next:null},Ur===null?gr.memoizedState=Ur=t:Ur=Ur.next=t}return Ur}function Zi(t,n){return typeof n==\"function\"?n(t):n}function Tl(t){var n=xa(),i=n.queue;if(i===null)throw Error(r(311));i.lastRenderedReducer=t;var s=Nr,E=s.baseQueue,O=i.pending;if(O!==null){if(E!==null){var $=E.next;E.next=O.next,O.next=$}s.baseQueue=E=O,i.pending=null}if(E!==null){O=E.next,s=s.baseState;var ve=$=null,Pe=null,et=O;do{var St=et.lane;if((Ko&St)===St)Pe!==null&&(Pe=Pe.next={lane:0,action:et.action,hasEagerState:et.hasEagerState,eagerState:et.eagerState,next:null}),s=et.hasEagerState?et.eagerState:t(s,et.action);else{var Tt={lane:St,action:et.action,hasEagerState:et.hasEagerState,eagerState:et.eagerState,next:null};Pe===null?(ve=Pe=Tt,$=s):Pe=Pe.next=Tt,gr.lanes|=St,Uo|=St}et=et.next}while(et!==null&&et!==O);Pe===null?$=s:Pe.next=ve,wr(s,n.memoizedState)||(ca=!0),n.memoizedState=s,n.baseState=$,n.baseQueue=Pe,i.lastRenderedState=s}if(t=i.interleaved,t!==null){E=t;do O=E.lane,gr.lanes|=O,Uo|=O,E=E.next;while(E!==t)}else E===null&&(i.lanes=0);return[n.memoizedState,i.dispatch]}function xl(t){var n=xa(),i=n.queue;if(i===null)throw Error(r(311));i.lastRenderedReducer=t;var s=i.dispatch,E=i.pending,O=n.memoizedState;if(E!==null){i.pending=null;var $=E=E.next;do O=t(O,$.action),$=$.next;while($!==E);wr(O,n.memoizedState)||(ca=!0),n.memoizedState=O,n.baseQueue===null&&(n.baseState=O),i.lastRenderedState=O}return[O,s]}function Es(){}function Ss(t,n){var i=gr,s=xa(),E=n(),O=!wr(s.memoizedState,E);if(O&&(s.memoizedState=E,ca=!0),s=s.queue,wl(xs.bind(null,i,s,t),[t]),s.getSnapshot!==n||O||Ur!==null&&Ur.memoizedState.tag&1){if(i.flags|=2048,Wi(9,Ts.bind(null,i,s,E,n),void 0,null),zr===null)throw Error(r(349));Ko&30||Is(i,n,E)}return E}function Is(t,n,i){t.flags|=16384,t={getSnapshot:n,value:i},n=gr.updateQueue,n===null?(n={lastEffect:null,stores:null},gr.updateQueue=n,n.stores=[t]):(i=n.stores,i===null?n.stores=[t]:i.push(t))}function Ts(t,n,i,s){n.value=i,n.getSnapshot=s,ws(n)&&Cs(t)}function xs(t,n,i){return i(function(){ws(n)&&Cs(t)})}function ws(t){var n=t.getSnapshot;t=t.value;try{var i=n();return!wr(t,i)}catch(s){return!0}}function Cs(t){var n=qa(t,1);n!==null&&Na(n,t,1,-1)}function Os(t){var n=Ka();return typeof t==\"function\"&&(t=t()),n.memoizedState=n.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Zi,lastRenderedState:t},n.queue=t,t=t.dispatch=kc.bind(null,gr,t),[n.memoizedState,t]}function Wi(t,n,i,s){return t={tag:t,create:n,destroy:i,deps:s,next:null},n=gr.updateQueue,n===null?(n={lastEffect:null,stores:null},gr.updateQueue=n,n.lastEffect=t.next=t):(i=n.lastEffect,i===null?n.lastEffect=t.next=t:(s=i.next,i.next=t,t.next=s,n.lastEffect=t)),t}function As(){return xa().memoizedState}function Iu(t,n,i,s){var E=Ka();gr.flags|=t,E.memoizedState=Wi(1|n,i,void 0,s===void 0?null:s)}function Tu(t,n,i,s){var E=xa();s=s===void 0?null:s;var O=void 0;if(Nr!==null){var $=Nr.memoizedState;if(O=$.destroy,s!==null&&El(s,$.deps)){E.memoizedState=Wi(n,i,O,s);return}}gr.flags|=t,E.memoizedState=Wi(1|n,i,O,s)}function Rs(t,n){return Iu(8390656,8,t,n)}function wl(t,n){return Tu(2048,8,t,n)}function Ps(t,n){return Tu(4,2,t,n)}function Ms(t,n){return Tu(4,4,t,n)}function _s(t,n){if(typeof n==\"function\")return t=t(),n(t),function(){n(null)};if(n!=null)return t=t(),n.current=t,function(){n.current=null}}function Ds(t,n,i){return i=i!=null?i.concat([t]):null,Tu(4,4,_s.bind(null,n,t),i)}function Cl(){}function Ns(t,n){var i=xa();n=n===void 0?null:n;var s=i.memoizedState;return s!==null&&n!==null&&El(n,s[1])?s[0]:(i.memoizedState=[t,n],t)}function Ls(t,n){var i=xa();n=n===void 0?null:n;var s=i.memoizedState;return s!==null&&n!==null&&El(n,s[1])?s[0]:(t=t(),i.memoizedState=[t,n],t)}function ks(t,n,i){return Ko&21?(wr(i,n)||(i=en(),gr.lanes|=i,Uo|=i,t.baseState=!0),n):(t.baseState&&(t.baseState=!1,ca=!0),t.memoizedState=i)}function Nc(t,n){var i=Zt;Zt=i!==0&&4>i?i:4,t(!0);var s=bl.transition;bl.transition={};try{t(!1),n()}finally{Zt=i,bl.transition=s}}function Fs(){return xa().memoizedState}function Lc(t,n,i){var s=bo(t);if(i={lane:s,action:i,hasEagerState:!1,eagerState:null,next:null},js(t))Bs(n,i);else if(i=ls(t,n,i,s),i!==null){var E=ua();Na(i,t,s,E),Ks(i,n,s)}}function kc(t,n,i){var s=bo(t),E={lane:s,action:i,hasEagerState:!1,eagerState:null,next:null};if(js(t))Bs(n,E);else{var O=t.alternate;if(t.lanes===0&&(O===null||O.lanes===0)&&(O=n.lastRenderedReducer,O!==null))try{var $=n.lastRenderedState,ve=O($,i);if(E.hasEagerState=!0,E.eagerState=ve,wr(ve,$)){var Pe=n.interleaved;Pe===null?(E.next=E,fl(n)):(E.next=Pe.next,Pe.next=E),n.interleaved=E;return}}catch(et){}finally{}i=ls(t,n,E,s),i!==null&&(E=ua(),Na(i,t,s,E),Ks(i,n,s))}}function js(t){var n=t.alternate;return t===gr||n!==null&&n===gr}function Bs(t,n){Hi=Su=!0;var i=t.pending;i===null?n.next=n:(n.next=i.next,i.next=n),t.pending=n}function Ks(t,n,i){if(i&4194240){var s=n.lanes;s&=t.pendingLanes,i|=s,n.lanes=i,fn(t,i)}}var xu={readContext:Ta,useCallback:qr,useContext:qr,useEffect:qr,useImperativeHandle:qr,useInsertionEffect:qr,useLayoutEffect:qr,useMemo:qr,useReducer:qr,useRef:qr,useState:qr,useDebugValue:qr,useDeferredValue:qr,useTransition:qr,useMutableSource:qr,useSyncExternalStore:qr,useId:qr,unstable_isNewReconciler:!1},Fc={readContext:Ta,useCallback:function(t,n){return Ka().memoizedState=[t,n===void 0?null:n],t},useContext:Ta,useEffect:Rs,useImperativeHandle:function(t,n,i){return i=i!=null?i.concat([t]):null,Iu(4194308,4,_s.bind(null,n,t),i)},useLayoutEffect:function(t,n){return Iu(4194308,4,t,n)},useInsertionEffect:function(t,n){return Iu(4,2,t,n)},useMemo:function(t,n){var i=Ka();return n=n===void 0?null:n,t=t(),i.memoizedState=[t,n],t},useReducer:function(t,n,i){var s=Ka();return n=i!==void 0?i(n):n,s.memoizedState=s.baseState=n,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:n},s.queue=t,t=t.dispatch=Lc.bind(null,gr,t),[s.memoizedState,t]},useRef:function(t){var n=Ka();return t={current:t},n.memoizedState=t},useState:Os,useDebugValue:Cl,useDeferredValue:function(t){return Ka().memoizedState=t},useTransition:function(){var t=Os(!1),n=t[0];return t=Nc.bind(null,t[1]),Ka().memoizedState=t,[n,t]},useMutableSource:function(){},useSyncExternalStore:function(t,n,i){var s=gr,E=Ka();if(mr){if(i===void 0)throw Error(r(407));i=i()}else{if(i=n(),zr===null)throw Error(r(349));Ko&30||Is(s,n,i)}E.memoizedState=i;var O={value:i,getSnapshot:n};return E.queue=O,Rs(xs.bind(null,s,O,t),[t]),s.flags|=2048,Wi(9,Ts.bind(null,s,O,i,n),void 0,null),i},useId:function(){var t=Ka(),n=zr.identifierPrefix;if(mr){var i=Ja,s=Xa;i=(s&~(1<<32-gt(s)-1)).toString(32)+i,n=\":\"+n+\"R\"+i,i=$i++,0<i&&(n+=\"H\"+i.toString(32)),n+=\":\"}else i=Dc++,n=\":\"+n+\"r\"+i.toString(32)+\":\";return t.memoizedState=n},unstable_isNewReconciler:!1},jc={readContext:Ta,useCallback:Ns,useContext:Ta,useEffect:wl,useImperativeHandle:Ds,useInsertionEffect:Ps,useLayoutEffect:Ms,useMemo:Ls,useReducer:Tl,useRef:As,useState:function(){return Tl(Zi)},useDebugValue:Cl,useDeferredValue:function(t){var n=xa();return ks(n,Nr.memoizedState,t)},useTransition:function(){var t=Tl(Zi)[0],n=xa().memoizedState;return[t,n]},useMutableSource:Es,useSyncExternalStore:Ss,useId:Fs,unstable_isNewReconciler:!1},Bc={readContext:Ta,useCallback:Ns,useContext:Ta,useEffect:wl,useImperativeHandle:Ds,useInsertionEffect:Ps,useLayoutEffect:Ms,useMemo:Ls,useReducer:xl,useRef:As,useState:function(){return xl(Zi)},useDebugValue:Cl,useDeferredValue:function(t){var n=xa();return Nr===null?n.memoizedState=t:ks(n,Nr.memoizedState,t)},useTransition:function(){var t=xl(Zi)[0],n=xa().memoizedState;return[t,n]},useMutableSource:Es,useSyncExternalStore:Ss,useId:Fs,unstable_isNewReconciler:!1};function gi(t,n){try{var i=\"\",s=n;do i+=Me(s),s=s.return;while(s);var E=i}catch(O){E=`\nError generating stack: `+O.message+`\n`+O.stack}return{value:t,source:n,stack:E,digest:null}}function Ol(t,n,i){return{value:t,source:null,stack:i!=null?i:null,digest:n!=null?n:null}}function Al(t,n){try{console.error(n.value)}catch(i){setTimeout(function(){throw i})}}var Kc=typeof WeakMap==\"function\"?WeakMap:Map;function Us(t,n,i){i=eo(-1,i),i.tag=3,i.payload={element:null};var s=n.value;return i.callback=function(){Mu||(Mu=!0,Hl=s),Al(t,n)},i}function zs(t,n,i){i=eo(-1,i),i.tag=3;var s=t.type.getDerivedStateFromError;if(typeof s==\"function\"){var E=n.value;i.payload=function(){return s(E)},i.callback=function(){Al(t,n)}}var O=t.stateNode;return O!==null&&typeof O.componentDidCatch==\"function\"&&(i.callback=function(){Al(t,n),typeof s!=\"function\"&&(yo===null?yo=new Set([this]):yo.add(this));var $=n.stack;this.componentDidCatch(n.value,{componentStack:$!==null?$:\"\"})}),i}function Hs(t,n,i){var s=t.pingCache;if(s===null){s=t.pingCache=new Kc;var E=new Set;s.set(n,E)}else E=s.get(n),E===void 0&&(E=new Set,s.set(n,E));E.has(i)||(E.add(i),t=ef.bind(null,t,n,i),n.then(t,t))}function $s(t){do{var n;if((n=t.tag===13)&&(n=t.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return t;t=t.return}while(t!==null);return null}function Zs(t,n,i,s,E){return t.mode&1?(t.flags|=65536,t.lanes=E,t):(t===n?t.flags|=65536:(t.flags|=128,i.flags|=131072,i.flags&=-52805,i.tag===1&&(i.alternate===null?i.tag=17:(n=eo(-1,1),n.tag=2,mo(i,n,1))),i.lanes|=1),t)}var Uc=x.ReactCurrentOwner,ca=!1;function ia(t,n,i,s){n.child=t===null?gs(n,null,i,s):hi(n,t.child,i,s)}function Ws(t,n,i,s,E){i=i.render;var O=n.ref;return mi(n,E),s=Sl(t,n,i,s,O,E),i=Il(),t!==null&&!ca?(n.updateQueue=t.updateQueue,n.flags&=-2053,t.lanes&=~E,to(t,n,E)):(mr&&i&&nl(n),n.flags|=1,ia(t,n,s,E),n.child)}function Gs(t,n,i,s,E){if(t===null){var O=i.type;return typeof O==\"function\"&&!Ql(O)&&O.defaultProps===void 0&&i.compare===null&&i.defaultProps===void 0?(n.tag=15,n.type=O,Vs(t,n,O,s,E)):(t=Fu(i.type,null,s,n,n.mode,E),t.ref=n.ref,t.return=n,n.child=t)}if(O=t.child,!(t.lanes&E)){var $=O.memoizedProps;if(i=i.compare,i=i!==null?i:Qr,i($,s)&&t.ref===n.ref)return to(t,n,E)}return n.flags|=1,t=So(O,s),t.ref=n.ref,t.return=n,n.child=t}function Vs(t,n,i,s,E){if(t!==null){var O=t.memoizedProps;if(Qr(O,s)&&t.ref===n.ref)if(ca=!1,n.pendingProps=s=O,(t.lanes&E)!==0)t.flags&131072&&(ca=!0);else return n.lanes=t.lanes,to(t,n,E)}return Rl(t,n,i,s,E)}function Ys(t,n,i){var s=n.pendingProps,E=s.children,O=t!==null?t.memoizedState:null;if(s.mode===\"hidden\")if(!(n.mode&1))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},Tn(Ei,ha),ha|=i;else{if(!(i&1073741824))return t=O!==null?O.baseLanes|i:i,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:t,cachePool:null,transitions:null},n.updateQueue=null,Tn(Ei,ha),ha|=t,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},s=O!==null?O.baseLanes:i,Tn(Ei,ha),ha|=s}else O!==null?(s=O.baseLanes|i,n.memoizedState=null):s=i,Tn(Ei,ha),ha|=s;return ia(t,n,E,i),n.child}function Qs(t,n){var i=n.ref;(t===null&&i!==null||t!==null&&t.ref!==i)&&(n.flags|=512,n.flags|=2097152)}function Rl(t,n,i,s,E){var O=Jr(i)?Ya:sr.current;return O=ja(n,O),mi(n,E),i=Sl(t,n,i,s,O,E),s=Il(),t!==null&&!ca?(n.updateQueue=t.updateQueue,n.flags&=-2053,t.lanes&=~E,to(t,n,E)):(mr&&s&&nl(n),n.flags|=1,ia(t,n,i,E),n.child)}function Xs(t,n,i,s,E){if(Jr(i)){var O=!0;po(n)}else O=!1;if(mi(n,E),n.stateNode===null)Cu(t,n),vs(n,i,s),vl(n,i,s,E),s=!0;else if(t===null){var $=n.stateNode,ve=n.memoizedProps;$.props=ve;var Pe=$.context,et=i.contextType;typeof et==\"object\"&&et!==null?et=Ta(et):(et=Jr(i)?Ya:sr.current,et=ja(n,et));var St=i.getDerivedStateFromProps,Tt=typeof St==\"function\"||typeof $.getSnapshotBeforeUpdate==\"function\";Tt||typeof $.UNSAFE_componentWillReceiveProps!=\"function\"&&typeof $.componentWillReceiveProps!=\"function\"||(ve!==s||Pe!==et)&&ms(n,$,s,et),vo=!1;var bt=n.memoizedState;$.state=bt,hu(n,s,$,E),Pe=n.memoizedState,ve!==s||bt!==Pe||Kr.current||vo?(typeof St==\"function\"&&(pl(n,i,St,s),Pe=n.memoizedState),(ve=vo||ps(n,i,ve,s,bt,Pe,et))?(Tt||typeof $.UNSAFE_componentWillMount!=\"function\"&&typeof $.componentWillMount!=\"function\"||(typeof $.componentWillMount==\"function\"&&$.componentWillMount(),typeof $.UNSAFE_componentWillMount==\"function\"&&$.UNSAFE_componentWillMount()),typeof $.componentDidMount==\"function\"&&(n.flags|=4194308)):(typeof $.componentDidMount==\"function\"&&(n.flags|=4194308),n.memoizedProps=s,n.memoizedState=Pe),$.props=s,$.state=Pe,$.context=et,s=ve):(typeof $.componentDidMount==\"function\"&&(n.flags|=4194308),s=!1)}else{$=n.stateNode,ss(t,n),ve=n.memoizedProps,et=n.type===n.elementType?ve:Ma(n.type,ve),$.props=et,Tt=n.pendingProps,bt=$.context,Pe=i.contextType,typeof Pe==\"object\"&&Pe!==null?Pe=Ta(Pe):(Pe=Jr(i)?Ya:sr.current,Pe=ja(n,Pe));var Gt=i.getDerivedStateFromProps;(St=typeof Gt==\"function\"||typeof $.getSnapshotBeforeUpdate==\"function\")||typeof $.UNSAFE_componentWillReceiveProps!=\"function\"&&typeof $.componentWillReceiveProps!=\"function\"||(ve!==Tt||bt!==Pe)&&ms(n,$,s,Pe),vo=!1,bt=n.memoizedState,$.state=bt,hu(n,s,$,E);var tn=n.memoizedState;ve!==Tt||bt!==tn||Kr.current||vo?(typeof Gt==\"function\"&&(pl(n,i,Gt,s),tn=n.memoizedState),(et=vo||ps(n,i,et,s,bt,tn,Pe)||!1)?(St||typeof $.UNSAFE_componentWillUpdate!=\"function\"&&typeof $.componentWillUpdate!=\"function\"||(typeof $.componentWillUpdate==\"function\"&&$.componentWillUpdate(s,tn,Pe),typeof $.UNSAFE_componentWillUpdate==\"function\"&&$.UNSAFE_componentWillUpdate(s,tn,Pe)),typeof $.componentDidUpdate==\"function\"&&(n.flags|=4),typeof $.getSnapshotBeforeUpdate==\"function\"&&(n.flags|=1024)):(typeof $.componentDidUpdate!=\"function\"||ve===t.memoizedProps&&bt===t.memoizedState||(n.flags|=4),typeof $.getSnapshotBeforeUpdate!=\"function\"||ve===t.memoizedProps&&bt===t.memoizedState||(n.flags|=1024),n.memoizedProps=s,n.memoizedState=tn),$.props=s,$.state=tn,$.context=Pe,s=et):(typeof $.componentDidUpdate!=\"function\"||ve===t.memoizedProps&&bt===t.memoizedState||(n.flags|=4),typeof $.getSnapshotBeforeUpdate!=\"function\"||ve===t.memoizedProps&&bt===t.memoizedState||(n.flags|=1024),s=!1)}return Pl(t,n,i,s,O,E)}function Pl(t,n,i,s,E,O){Qs(t,n);var $=(n.flags&128)!==0;if(!s&&!$)return E&&ji(n,i,!1),to(t,n,O);s=n.stateNode,Uc.current=n;var ve=$&&typeof i.getDerivedStateFromError!=\"function\"?null:s.render();return n.flags|=1,t!==null&&$?(n.child=hi(n,t.child,null,O),n.child=hi(n,null,ve,O)):ia(t,n,ve,O),n.memoizedState=s.state,E&&ji(n,i,!0),n.child}function Js(t){var n=t.stateNode;n.pendingContext?ui(t,n.pendingContext,n.pendingContext!==n.context):n.context&&ui(t,n.context,!1),ml(t,n.containerInfo)}function qs(t,n,i,s,E){return pi(),il(E),n.flags|=256,ia(t,n,i,s),n.child}var Ml={dehydrated:null,treeContext:null,retryLane:0};function _l(t){return{baseLanes:t,cachePool:null,transitions:null}}function ec(t,n,i){var s=n.pendingProps,E=yr.current,O=!1,$=(n.flags&128)!==0,ve;if((ve=$)||(ve=t!==null&&t.memoizedState===null?!1:(E&2)!==0),ve?(O=!0,n.flags&=-129):(t===null||t.memoizedState!==null)&&(E|=1),Tn(yr,E&1),t===null)return ol(n),t=n.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?(n.mode&1?t.data===\"$!\"?n.lanes=8:n.lanes=1073741824:n.lanes=1,null):($=s.children,t=s.fallback,O?(s=n.mode,O=n.child,$={mode:\"hidden\",children:$},!(s&1)&&O!==null?(O.childLanes=0,O.pendingProps=$):O=ju($,s,0,null),t=Zo(t,s,i,null),O.return=n,t.return=n,O.sibling=t,n.child=O,n.child.memoizedState=_l(i),n.memoizedState=Ml,t):Dl(n,$));if(E=t.memoizedState,E!==null&&(ve=E.dehydrated,ve!==null))return zc(t,n,$,s,ve,E,i);if(O){O=s.fallback,$=n.mode,E=t.child,ve=E.sibling;var Pe={mode:\"hidden\",children:s.children};return!($&1)&&n.child!==E?(s=n.child,s.childLanes=0,s.pendingProps=Pe,n.deletions=null):(s=So(E,Pe),s.subtreeFlags=E.subtreeFlags&14680064),ve!==null?O=So(ve,O):(O=Zo(O,$,i,null),O.flags|=2),O.return=n,s.return=n,s.sibling=O,n.child=s,s=O,O=n.child,$=t.child.memoizedState,$=$===null?_l(i):{baseLanes:$.baseLanes|i,cachePool:null,transitions:$.transitions},O.memoizedState=$,O.childLanes=t.childLanes&~i,n.memoizedState=Ml,s}return O=t.child,t=O.sibling,s=So(O,{mode:\"visible\",children:s.children}),!(n.mode&1)&&(s.lanes=i),s.return=n,s.sibling=null,t!==null&&(i=n.deletions,i===null?(n.deletions=[t],n.flags|=16):i.push(t)),n.child=s,n.memoizedState=null,s}function Dl(t,n){return n=ju({mode:\"visible\",children:n},t.mode,0,null),n.return=t,t.child=n}function wu(t,n,i,s){return s!==null&&il(s),hi(n,t.child,null,i),t=Dl(n,n.pendingProps.children),t.flags|=2,n.memoizedState=null,t}function zc(t,n,i,s,E,O,$){if(i)return n.flags&256?(n.flags&=-257,s=Ol(Error(r(422))),wu(t,n,$,s)):n.memoizedState!==null?(n.child=t.child,n.flags|=128,null):(O=s.fallback,E=n.mode,s=ju({mode:\"visible\",children:s.children},E,0,null),O=Zo(O,E,$,null),O.flags|=2,s.return=n,O.return=n,s.sibling=O,n.child=s,n.mode&1&&hi(n,t.child,null,$),n.child.memoizedState=_l($),n.memoizedState=Ml,O);if(!(n.mode&1))return wu(t,n,$,null);if(E.data===\"$!\"){if(s=E.nextSibling&&E.nextSibling.dataset,s)var ve=s.dgst;return s=ve,O=Error(r(419)),s=Ol(O,s,void 0),wu(t,n,$,s)}if(ve=($&t.childLanes)!==0,ca||ve){if(s=zr,s!==null){switch($&-$){case 4:E=2;break;case 16:E=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:E=32;break;case 536870912:E=268435456;break;default:E=0}E=E&(s.suspendedLanes|$)?0:E,E!==0&&E!==O.retryLane&&(O.retryLane=E,qa(t,E),Na(s,t,E,-1))}return Yl(),s=Ol(Error(r(421))),wu(t,n,$,s)}return E.data===\"$?\"?(n.flags|=128,n.child=t.child,n=tf.bind(null,t),E._reactRetry=n,null):(t=O.treeContext,ma=Be(E.nextSibling),va=n,mr=!0,Pa=null,t!==null&&(Sa[Ia++]=Xa,Sa[Ia++]=Ja,Sa[Ia++]=ko,Xa=t.id,Ja=t.overflow,ko=n),n=Dl(n,s.children),n.flags|=4096,n)}function tc(t,n,i){t.lanes|=n;var s=t.alternate;s!==null&&(s.lanes|=n),cl(t.return,n,i)}function Nl(t,n,i,s,E){var O=t.memoizedState;O===null?t.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:s,tail:i,tailMode:E}:(O.isBackwards=n,O.rendering=null,O.renderingStartTime=0,O.last=s,O.tail=i,O.tailMode=E)}function nc(t,n,i){var s=n.pendingProps,E=s.revealOrder,O=s.tail;if(ia(t,n,s.children,i),s=yr.current,s&2)s=s&1|2,n.flags|=128;else{if(t!==null&&t.flags&128)e:for(t=n.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&tc(t,i,n);else if(t.tag===19)tc(t,i,n);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===n)break e;for(;t.sibling===null;){if(t.return===null||t.return===n)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}s&=1}if(Tn(yr,s),!(n.mode&1))n.memoizedState=null;else switch(E){case\"forwards\":for(i=n.child,E=null;i!==null;)t=i.alternate,t!==null&&bu(t)===null&&(E=i),i=i.sibling;i=E,i===null?(E=n.child,n.child=null):(E=i.sibling,i.sibling=null),Nl(n,!1,E,i,O);break;case\"backwards\":for(i=null,E=n.child,n.child=null;E!==null;){if(t=E.alternate,t!==null&&bu(t)===null){n.child=E;break}t=E.sibling,E.sibling=i,i=E,E=t}Nl(n,!0,i,null,O);break;case\"together\":Nl(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function Cu(t,n){!(n.mode&1)&&t!==null&&(t.alternate=null,n.alternate=null,n.flags|=2)}function to(t,n,i){if(t!==null&&(n.dependencies=t.dependencies),Uo|=n.lanes,!(i&n.childLanes))return null;if(t!==null&&n.child!==t.child)throw Error(r(153));if(n.child!==null){for(t=n.child,i=So(t,t.pendingProps),n.child=i,i.return=n;t.sibling!==null;)t=t.sibling,i=i.sibling=So(t,t.pendingProps),i.return=n;i.sibling=null}return n.child}function Hc(t,n,i){switch(n.tag){case 3:Js(n),pi();break;case 5:bs(n);break;case 1:Jr(n.type)&&po(n);break;case 4:ml(n,n.stateNode.containerInfo);break;case 10:var s=n.type._context,E=n.memoizedProps.value;Tn(pu,s._currentValue),s._currentValue=E;break;case 13:if(s=n.memoizedState,s!==null)return s.dehydrated!==null?(Tn(yr,yr.current&1),n.flags|=128,null):i&n.child.childLanes?ec(t,n,i):(Tn(yr,yr.current&1),t=to(t,n,i),t!==null?t.sibling:null);Tn(yr,yr.current&1);break;case 19:if(s=(i&n.childLanes)!==0,t.flags&128){if(s)return nc(t,n,i);n.flags|=128}if(E=n.memoizedState,E!==null&&(E.rendering=null,E.tail=null,E.lastEffect=null),Tn(yr,yr.current),s)break;return null;case 22:case 23:return n.lanes=0,Ys(t,n,i)}return to(t,n,i)}var rc,Ll,ac,oc;rc=function(t,n){for(var i=n.child;i!==null;){if(i.tag===5||i.tag===6)t.appendChild(i.stateNode);else if(i.tag!==4&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===n)break;for(;i.sibling===null;){if(i.return===null||i.return===n)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},Ll=function(){},ac=function(t,n,i,s){var E=t.memoizedProps;if(E!==s){t=n.stateNode,Bo(Ba.current);var O=null;switch(i){case\"input\":E=Ne(t,E),s=Ne(t,s),O=[];break;case\"select\":E=B({},E,{value:void 0}),s=B({},s,{value:void 0}),O=[];break;case\"textarea\":E=Y(t,E),s=Y(t,s),O=[];break;default:typeof E.onClick!=\"function\"&&typeof s.onClick==\"function\"&&(t.onclick=ii)}He(i,s);var $;i=null;for(et in E)if(!s.hasOwnProperty(et)&&E.hasOwnProperty(et)&&E[et]!=null)if(et===\"style\"){var ve=E[et];for($ in ve)ve.hasOwnProperty($)&&(i||(i={}),i[$]=\"\")}else et!==\"dangerouslySetInnerHTML\"&&et!==\"children\"&&et!==\"suppressContentEditableWarning\"&&et!==\"suppressHydrationWarning\"&&et!==\"autoFocus\"&&(l.hasOwnProperty(et)?O||(O=[]):(O=O||[]).push(et,null));for(et in s){var Pe=s[et];if(ve=E!=null?E[et]:void 0,s.hasOwnProperty(et)&&Pe!==ve&&(Pe!=null||ve!=null))if(et===\"style\")if(ve){for($ in ve)!ve.hasOwnProperty($)||Pe&&Pe.hasOwnProperty($)||(i||(i={}),i[$]=\"\");for($ in Pe)Pe.hasOwnProperty($)&&ve[$]!==Pe[$]&&(i||(i={}),i[$]=Pe[$])}else i||(O||(O=[]),O.push(et,i)),i=Pe;else et===\"dangerouslySetInnerHTML\"?(Pe=Pe?Pe.__html:void 0,ve=ve?ve.__html:void 0,Pe!=null&&ve!==Pe&&(O=O||[]).push(et,Pe)):et===\"children\"?typeof Pe!=\"string\"&&typeof Pe!=\"number\"||(O=O||[]).push(et,\"\"+Pe):et!==\"suppressContentEditableWarning\"&&et!==\"suppressHydrationWarning\"&&(l.hasOwnProperty(et)?(Pe!=null&&et===\"onScroll\"&&rr(\"scroll\",t),O||ve===Pe||(O=[])):(O=O||[]).push(et,Pe))}i&&(O=O||[]).push(\"style\",i);var et=O;(n.updateQueue=et)&&(n.flags|=4)}},oc=function(t,n,i,s){i!==s&&(n.flags|=4)};function Gi(t,n){if(!mr)switch(t.tailMode){case\"hidden\":n=t.tail;for(var i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?t.tail=null:i.sibling=null;break;case\"collapsed\":i=t.tail;for(var s=null;i!==null;)i.alternate!==null&&(s=i),i=i.sibling;s===null?n||t.tail===null?t.tail=null:t.tail.sibling=null:s.sibling=null}}function ea(t){var n=t.alternate!==null&&t.alternate.child===t.child,i=0,s=0;if(n)for(var E=t.child;E!==null;)i|=E.lanes|E.childLanes,s|=E.subtreeFlags&14680064,s|=E.flags&14680064,E.return=t,E=E.sibling;else for(E=t.child;E!==null;)i|=E.lanes|E.childLanes,s|=E.subtreeFlags,s|=E.flags,E.return=t,E=E.sibling;return t.subtreeFlags|=s,t.childLanes=i,n}function $c(t,n,i){var s=n.pendingProps;switch(rl(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ea(n),null;case 1:return Jr(n.type)&&sa(),ea(n),null;case 3:return s=n.stateNode,yi(),kn(Kr),kn(sr),gl(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(t===null||t.child===null)&&(du(n)?n.flags|=4:t===null||t.memoizedState.isDehydrated&&!(n.flags&256)||(n.flags|=1024,Pa!==null&&(Wl(Pa),Pa=null))),Ll(t,n),ea(n),null;case 5:hl(n);var E=Bo(zi.current);if(i=n.type,t!==null&&n.stateNode!=null)ac(t,n,i,s,E),t.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!s){if(n.stateNode===null)throw Error(r(166));return ea(n),null}if(t=Bo(Ba.current),du(n)){s=n.stateNode,i=n.type;var O=n.memoizedProps;switch(s[Xe]=n,s[yt]=O,t=(n.mode&1)!==0,i){case\"dialog\":rr(\"cancel\",s),rr(\"close\",s);break;case\"iframe\":case\"object\":case\"embed\":rr(\"load\",s);break;case\"video\":case\"audio\":for(E=0;E<Do.length;E++)rr(Do[E],s);break;case\"source\":rr(\"error\",s);break;case\"img\":case\"image\":case\"link\":rr(\"error\",s),rr(\"load\",s);break;case\"details\":rr(\"toggle\",s);break;case\"input\":te(s,O),rr(\"invalid\",s);break;case\"select\":s._wrapperState={wasMultiple:!!O.multiple},rr(\"invalid\",s);break;case\"textarea\":ue(s,O),rr(\"invalid\",s)}He(i,O),E=null;for(var $ in O)if(O.hasOwnProperty($)){var ve=O[$];$===\"children\"?typeof ve==\"string\"?s.textContent!==ve&&(O.suppressHydrationWarning!==!0&&Li(s.textContent,ve,t),E=[\"children\",ve]):typeof ve==\"number\"&&s.textContent!==\"\"+ve&&(O.suppressHydrationWarning!==!0&&Li(s.textContent,ve,t),E=[\"children\",\"\"+ve]):l.hasOwnProperty($)&&ve!=null&&$===\"onScroll\"&&rr(\"scroll\",s)}switch(i){case\"input\":we(s),ee(s,O,!0);break;case\"textarea\":we(s),me(s);break;case\"select\":case\"option\":break;default:typeof O.onClick==\"function\"&&(s.onclick=ii)}s=E,n.updateQueue=s,s!==null&&(n.flags|=4)}else{$=E.nodeType===9?E:E.ownerDocument,t===\"http://www.w3.org/1999/xhtml\"&&(t=Oe(i)),t===\"http://www.w3.org/1999/xhtml\"?i===\"script\"?(t=$.createElement(\"div\"),t.innerHTML=\"<script><\\/script>\",t=t.removeChild(t.firstChild)):typeof s.is==\"string\"?t=$.createElement(i,{is:s.is}):(t=$.createElement(i),i===\"select\"&&($=t,s.multiple?$.multiple=!0:s.size&&($.size=s.size))):t=$.createElementNS(t,i),t[Xe]=n,t[yt]=s,rc(t,n,!1,!1),n.stateNode=t;e:{switch($=rt(i,s),i){case\"dialog\":rr(\"cancel\",t),rr(\"close\",t),E=s;break;case\"iframe\":case\"object\":case\"embed\":rr(\"load\",t),E=s;break;case\"video\":case\"audio\":for(E=0;E<Do.length;E++)rr(Do[E],t);E=s;break;case\"source\":rr(\"error\",t),E=s;break;case\"img\":case\"image\":case\"link\":rr(\"error\",t),rr(\"load\",t),E=s;break;case\"details\":rr(\"toggle\",t),E=s;break;case\"input\":te(t,s),E=Ne(t,s),rr(\"invalid\",t);break;case\"option\":E=s;break;case\"select\":t._wrapperState={wasMultiple:!!s.multiple},E=B({},s,{value:void 0}),rr(\"invalid\",t);break;case\"textarea\":ue(t,s),E=Y(t,s),rr(\"invalid\",t);break;default:E=s}He(i,E),ve=E;for(O in ve)if(ve.hasOwnProperty(O)){var Pe=ve[O];O===\"style\"?de(t,Pe):O===\"dangerouslySetInnerHTML\"?(Pe=Pe?Pe.__html:void 0,Pe!=null&&It(t,Pe)):O===\"children\"?typeof Pe==\"string\"?(i!==\"textarea\"||Pe!==\"\")&&ft(t,Pe):typeof Pe==\"number\"&&ft(t,\"\"+Pe):O!==\"suppressContentEditableWarning\"&&O!==\"suppressHydrationWarning\"&&O!==\"autoFocus\"&&(l.hasOwnProperty(O)?Pe!=null&&O===\"onScroll\"&&rr(\"scroll\",t):Pe!=null&&U(t,O,Pe,$))}switch(i){case\"input\":we(t),ee(t,s,!1);break;case\"textarea\":we(t),me(t);break;case\"option\":s.value!=null&&t.setAttribute(\"value\",\"\"+Ce(s.value));break;case\"select\":t.multiple=!!s.multiple,O=s.value,O!=null?Z(t,!!s.multiple,O,!1):s.defaultValue!=null&&Z(t,!!s.multiple,s.defaultValue,!0);break;default:typeof E.onClick==\"function\"&&(t.onclick=ii)}switch(i){case\"button\":case\"input\":case\"select\":case\"textarea\":s=!!s.autoFocus;break e;case\"img\":s=!0;break e;default:s=!1}}s&&(n.flags|=4)}n.ref!==null&&(n.flags|=512,n.flags|=2097152)}return ea(n),null;case 6:if(t&&n.stateNode!=null)oc(t,n,t.memoizedProps,s);else{if(typeof s!=\"string\"&&n.stateNode===null)throw Error(r(166));if(i=Bo(zi.current),Bo(Ba.current),du(n)){if(s=n.stateNode,i=n.memoizedProps,s[Xe]=n,(O=s.nodeValue!==i)&&(t=va,t!==null))switch(t.tag){case 3:Li(s.nodeValue,i,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&Li(s.nodeValue,i,(t.mode&1)!==0)}O&&(n.flags|=4)}else s=(i.nodeType===9?i:i.ownerDocument).createTextNode(s),s[Xe]=n,n.stateNode=s}return ea(n),null;case 13:if(kn(yr),s=n.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(mr&&ma!==null&&n.mode&1&&!(n.flags&128))us(),pi(),n.flags|=98560,O=!1;else if(O=du(n),s!==null&&s.dehydrated!==null){if(t===null){if(!O)throw Error(r(318));if(O=n.memoizedState,O=O!==null?O.dehydrated:null,!O)throw Error(r(317));O[Xe]=n}else pi(),!(n.flags&128)&&(n.memoizedState=null),n.flags|=4;ea(n),O=!1}else Pa!==null&&(Wl(Pa),Pa=null),O=!0;if(!O)return n.flags&65536?n:null}return n.flags&128?(n.lanes=i,n):(s=s!==null,s!==(t!==null&&t.memoizedState!==null)&&s&&(n.child.flags|=8192,n.mode&1&&(t===null||yr.current&1?Lr===0&&(Lr=3):Yl())),n.updateQueue!==null&&(n.flags|=4),ea(n),null);case 4:return yi(),Ll(t,n),t===null&&ai(n.stateNode.containerInfo),ea(n),null;case 10:return sl(n.type._context),ea(n),null;case 17:return Jr(n.type)&&sa(),ea(n),null;case 19:if(kn(yr),O=n.memoizedState,O===null)return ea(n),null;if(s=(n.flags&128)!==0,$=O.rendering,$===null)if(s)Gi(O,!1);else{if(Lr!==0||t!==null&&t.flags&128)for(t=n.child;t!==null;){if($=bu(t),$!==null){for(n.flags|=128,Gi(O,!1),s=$.updateQueue,s!==null&&(n.updateQueue=s,n.flags|=4),n.subtreeFlags=0,s=i,i=n.child;i!==null;)O=i,t=s,O.flags&=14680066,$=O.alternate,$===null?(O.childLanes=0,O.lanes=t,O.child=null,O.subtreeFlags=0,O.memoizedProps=null,O.memoizedState=null,O.updateQueue=null,O.dependencies=null,O.stateNode=null):(O.childLanes=$.childLanes,O.lanes=$.lanes,O.child=$.child,O.subtreeFlags=0,O.deletions=null,O.memoizedProps=$.memoizedProps,O.memoizedState=$.memoizedState,O.updateQueue=$.updateQueue,O.type=$.type,t=$.dependencies,O.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),i=i.sibling;return Tn(yr,yr.current&1|2),n.child}t=t.sibling}O.tail!==null&&Wt()>Si&&(n.flags|=128,s=!0,Gi(O,!1),n.lanes=4194304)}else{if(!s)if(t=bu($),t!==null){if(n.flags|=128,s=!0,i=t.updateQueue,i!==null&&(n.updateQueue=i,n.flags|=4),Gi(O,!0),O.tail===null&&O.tailMode===\"hidden\"&&!$.alternate&&!mr)return ea(n),null}else 2*Wt()-O.renderingStartTime>Si&&i!==1073741824&&(n.flags|=128,s=!0,Gi(O,!1),n.lanes=4194304);O.isBackwards?($.sibling=n.child,n.child=$):(i=O.last,i!==null?i.sibling=$:n.child=$,O.last=$)}return O.tail!==null?(n=O.tail,O.rendering=n,O.tail=n.sibling,O.renderingStartTime=Wt(),n.sibling=null,i=yr.current,Tn(yr,s?i&1|2:i&1),n):(ea(n),null);case 22:case 23:return Vl(),s=n.memoizedState!==null,t!==null&&t.memoizedState!==null!==s&&(n.flags|=8192),s&&n.mode&1?ha&1073741824&&(ea(n),n.subtreeFlags&6&&(n.flags|=8192)):ea(n),null;case 24:return null;case 25:return null}throw Error(r(156,n.tag))}function Zc(t,n){switch(rl(n),n.tag){case 1:return Jr(n.type)&&sa(),t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 3:return yi(),kn(Kr),kn(sr),gl(),t=n.flags,t&65536&&!(t&128)?(n.flags=t&-65537|128,n):null;case 5:return hl(n),null;case 13:if(kn(yr),t=n.memoizedState,t!==null&&t.dehydrated!==null){if(n.alternate===null)throw Error(r(340));pi()}return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 19:return kn(yr),null;case 4:return yi(),null;case 10:return sl(n.type._context),null;case 22:case 23:return Vl(),null;case 24:return null;default:return null}}var Ou=!1,ta=!1,Wc=typeof WeakSet==\"function\"?WeakSet:Set,Jt=null;function bi(t,n){var i=t.ref;if(i!==null)if(typeof i==\"function\")try{i(null)}catch(s){Sr(t,n,s)}else i.current=null}function kl(t,n,i){try{i()}catch(s){Sr(t,n,s)}}var ic=!1;function Gc(t,n){if(ki=Ct,t=qi(),qo(t)){if(\"selectionStart\"in t)var i={start:t.selectionStart,end:t.selectionEnd};else e:{i=(i=t.ownerDocument)&&i.defaultView||window;var s=i.getSelection&&i.getSelection();if(s&&s.rangeCount!==0){i=s.anchorNode;var E=s.anchorOffset,O=s.focusNode;s=s.focusOffset;try{i.nodeType,O.nodeType}catch(_t){i=null;break e}var $=0,ve=-1,Pe=-1,et=0,St=0,Tt=t,bt=null;t:for(;;){for(var Gt;Tt!==i||E!==0&&Tt.nodeType!==3||(ve=$+E),Tt!==O||s!==0&&Tt.nodeType!==3||(Pe=$+s),Tt.nodeType===3&&($+=Tt.nodeValue.length),(Gt=Tt.firstChild)!==null;)bt=Tt,Tt=Gt;for(;;){if(Tt===t)break t;if(bt===i&&++et===E&&(ve=$),bt===O&&++St===s&&(Pe=$),(Gt=Tt.nextSibling)!==null)break;Tt=bt,bt=Tt.parentNode}Tt=Gt}i=ve===-1||Pe===-1?null:{start:ve,end:Pe}}else i=null}i=i||{start:0,end:0}}else i=null;for(No={focusedElem:t,selectionRange:i},Ct=!1,Jt=n;Jt!==null;)if(n=Jt,t=n.child,(n.subtreeFlags&1028)!==0&&t!==null)t.return=n,Jt=t;else for(;Jt!==null;){n=Jt;try{var tn=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(tn!==null){var rn=tn.memoizedProps,Or=tn.memoizedState,Ve=n.stateNode,Fe=Ve.getSnapshotBeforeUpdate(n.elementType===n.type?rn:Ma(n.type,rn),Or);Ve.__reactInternalSnapshotBeforeUpdate=Fe}break;case 3:var Ye=n.stateNode.containerInfo;Ye.nodeType===1?Ye.textContent=\"\":Ye.nodeType===9&&Ye.documentElement&&Ye.removeChild(Ye.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(_t){Sr(n,n.return,_t)}if(t=n.sibling,t!==null){t.return=n.return,Jt=t;break}Jt=n.return}return tn=ic,ic=!1,tn}function Vi(t,n,i){var s=n.updateQueue;if(s=s!==null?s.lastEffect:null,s!==null){var E=s=s.next;do{if((E.tag&t)===t){var O=E.destroy;E.destroy=void 0,O!==void 0&&kl(n,i,O)}E=E.next}while(E!==s)}}function Au(t,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var i=n=n.next;do{if((i.tag&t)===t){var s=i.create;i.destroy=s()}i=i.next}while(i!==n)}}function Fl(t){var n=t.ref;if(n!==null){var i=t.stateNode;switch(t.tag){case 5:t=i;break;default:t=i}typeof n==\"function\"?n(t):n.current=t}}function uc(t){var n=t.alternate;n!==null&&(t.alternate=null,uc(n)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(n=t.stateNode,n!==null&&(delete n[Xe],delete n[yt],delete n[zt],delete n[on],delete n[On])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function lc(t){return t.tag===5||t.tag===3||t.tag===4}function sc(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||lc(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function jl(t,n,i){var s=t.tag;if(s===5||s===6)t=t.stateNode,n?i.nodeType===8?i.parentNode.insertBefore(t,n):i.insertBefore(t,n):(i.nodeType===8?(n=i.parentNode,n.insertBefore(t,i)):(n=i,n.appendChild(t)),i=i._reactRootContainer,i!=null||n.onclick!==null||(n.onclick=ii));else if(s!==4&&(t=t.child,t!==null))for(jl(t,n,i),t=t.sibling;t!==null;)jl(t,n,i),t=t.sibling}function Bl(t,n,i){var s=t.tag;if(s===5||s===6)t=t.stateNode,n?i.insertBefore(t,n):i.appendChild(t);else if(s!==4&&(t=t.child,t!==null))for(Bl(t,n,i),t=t.sibling;t!==null;)Bl(t,n,i),t=t.sibling}var Zr=null,_a=!1;function ho(t,n,i){for(i=i.child;i!==null;)cc(t,n,i),i=i.sibling}function cc(t,n,i){if(ct&&typeof ct.onCommitFiberUnmount==\"function\")try{ct.onCommitFiberUnmount(Qe,i)}catch(ve){}switch(i.tag){case 5:ta||bi(i,n);case 6:var s=Zr,E=_a;Zr=null,ho(t,n,i),Zr=s,_a=E,Zr!==null&&(_a?(t=Zr,i=i.stateNode,t.nodeType===8?t.parentNode.removeChild(i):t.removeChild(i)):Zr.removeChild(i.stateNode));break;case 18:Zr!==null&&(_a?(t=Zr,i=i.stateNode,t.nodeType===8?Lo(t.parentNode,i):t.nodeType===1&&Lo(t,i),ut(t)):Lo(Zr,i.stateNode));break;case 4:s=Zr,E=_a,Zr=i.stateNode.containerInfo,_a=!0,ho(t,n,i),Zr=s,_a=E;break;case 0:case 11:case 14:case 15:if(!ta&&(s=i.updateQueue,s!==null&&(s=s.lastEffect,s!==null))){E=s=s.next;do{var O=E,$=O.destroy;O=O.tag,$!==void 0&&(O&2||O&4)&&kl(i,n,$),E=E.next}while(E!==s)}ho(t,n,i);break;case 1:if(!ta&&(bi(i,n),s=i.stateNode,typeof s.componentWillUnmount==\"function\"))try{s.props=i.memoizedProps,s.state=i.memoizedState,s.componentWillUnmount()}catch(ve){Sr(i,n,ve)}ho(t,n,i);break;case 21:ho(t,n,i);break;case 22:i.mode&1?(ta=(s=ta)||i.memoizedState!==null,ho(t,n,i),ta=s):ho(t,n,i);break;default:ho(t,n,i)}}function fc(t){var n=t.updateQueue;if(n!==null){t.updateQueue=null;var i=t.stateNode;i===null&&(i=t.stateNode=new Wc),n.forEach(function(s){var E=nf.bind(null,t,s);i.has(s)||(i.add(s),s.then(E,E))})}}function Da(t,n){var i=n.deletions;if(i!==null)for(var s=0;s<i.length;s++){var E=i[s];try{var O=t,$=n,ve=$;e:for(;ve!==null;){switch(ve.tag){case 5:Zr=ve.stateNode,_a=!1;break e;case 3:Zr=ve.stateNode.containerInfo,_a=!0;break e;case 4:Zr=ve.stateNode.containerInfo,_a=!0;break e}ve=ve.return}if(Zr===null)throw Error(r(160));cc(O,$,E),Zr=null,_a=!1;var Pe=E.alternate;Pe!==null&&(Pe.return=null),E.return=null}catch(et){Sr(E,n,et)}}if(n.subtreeFlags&12854)for(n=n.child;n!==null;)dc(n,t),n=n.sibling}function dc(t,n){var i=t.alternate,s=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(Da(n,t),Ua(t),s&4){try{Vi(3,t,t.return),Au(3,t)}catch(rn){Sr(t,t.return,rn)}try{Vi(5,t,t.return)}catch(rn){Sr(t,t.return,rn)}}break;case 1:Da(n,t),Ua(t),s&512&&i!==null&&bi(i,i.return);break;case 5:if(Da(n,t),Ua(t),s&512&&i!==null&&bi(i,i.return),t.flags&32){var E=t.stateNode;try{ft(E,\"\")}catch(rn){Sr(t,t.return,rn)}}if(s&4&&(E=t.stateNode,E!=null)){var O=t.memoizedProps,$=i!==null?i.memoizedProps:O,ve=t.type,Pe=t.updateQueue;if(t.updateQueue=null,Pe!==null)try{ve===\"input\"&&O.type===\"radio\"&&O.name!=null&&se(E,O),rt(ve,$);var et=rt(ve,O);for($=0;$<Pe.length;$+=2){var St=Pe[$],Tt=Pe[$+1];St===\"style\"?de(E,Tt):St===\"dangerouslySetInnerHTML\"?It(E,Tt):St===\"children\"?ft(E,Tt):U(E,St,Tt,et)}switch(ve){case\"input\":pe(E,O);break;case\"textarea\":he(E,O);break;case\"select\":var bt=E._wrapperState.wasMultiple;E._wrapperState.wasMultiple=!!O.multiple;var Gt=O.value;Gt!=null?Z(E,!!O.multiple,Gt,!1):bt!==!!O.multiple&&(O.defaultValue!=null?Z(E,!!O.multiple,O.defaultValue,!0):Z(E,!!O.multiple,O.multiple?[]:\"\",!1))}E[yt]=O}catch(rn){Sr(t,t.return,rn)}}break;case 6:if(Da(n,t),Ua(t),s&4){if(t.stateNode===null)throw Error(r(162));E=t.stateNode,O=t.memoizedProps;try{E.nodeValue=O}catch(rn){Sr(t,t.return,rn)}}break;case 3:if(Da(n,t),Ua(t),s&4&&i!==null&&i.memoizedState.isDehydrated)try{ut(n.containerInfo)}catch(rn){Sr(t,t.return,rn)}break;case 4:Da(n,t),Ua(t);break;case 13:Da(n,t),Ua(t),E=t.child,E.flags&8192&&(O=E.memoizedState!==null,E.stateNode.isHidden=O,!O||E.alternate!==null&&E.alternate.memoizedState!==null||(zl=Wt())),s&4&&fc(t);break;case 22:if(St=i!==null&&i.memoizedState!==null,t.mode&1?(ta=(et=ta)||St,Da(n,t),ta=et):Da(n,t),Ua(t),s&8192){if(et=t.memoizedState!==null,(t.stateNode.isHidden=et)&&!St&&t.mode&1)for(Jt=t,St=t.child;St!==null;){for(Tt=Jt=St;Jt!==null;){switch(bt=Jt,Gt=bt.child,bt.tag){case 0:case 11:case 14:case 15:Vi(4,bt,bt.return);break;case 1:bi(bt,bt.return);var tn=bt.stateNode;if(typeof tn.componentWillUnmount==\"function\"){s=bt,i=bt.return;try{n=s,tn.props=n.memoizedProps,tn.state=n.memoizedState,tn.componentWillUnmount()}catch(rn){Sr(s,i,rn)}}break;case 5:bi(bt,bt.return);break;case 22:if(bt.memoizedState!==null){mc(Tt);continue}}Gt!==null?(Gt.return=bt,Jt=Gt):mc(Tt)}St=St.sibling}e:for(St=null,Tt=t;;){if(Tt.tag===5){if(St===null){St=Tt;try{E=Tt.stateNode,et?(O=E.style,typeof O.setProperty==\"function\"?O.setProperty(\"display\",\"none\",\"important\"):O.display=\"none\"):(ve=Tt.stateNode,Pe=Tt.memoizedProps.style,$=Pe!=null&&Pe.hasOwnProperty(\"display\")?Pe.display:null,ve.style.display=W(\"display\",$))}catch(rn){Sr(t,t.return,rn)}}}else if(Tt.tag===6){if(St===null)try{Tt.stateNode.nodeValue=et?\"\":Tt.memoizedProps}catch(rn){Sr(t,t.return,rn)}}else if((Tt.tag!==22&&Tt.tag!==23||Tt.memoizedState===null||Tt===t)&&Tt.child!==null){Tt.child.return=Tt,Tt=Tt.child;continue}if(Tt===t)break e;for(;Tt.sibling===null;){if(Tt.return===null||Tt.return===t)break e;St===Tt&&(St=null),Tt=Tt.return}St===Tt&&(St=null),Tt.sibling.return=Tt.return,Tt=Tt.sibling}}break;case 19:Da(n,t),Ua(t),s&4&&fc(t);break;case 21:break;default:Da(n,t),Ua(t)}}function Ua(t){var n=t.flags;if(n&2){try{e:{for(var i=t.return;i!==null;){if(lc(i)){var s=i;break e}i=i.return}throw Error(r(160))}switch(s.tag){case 5:var E=s.stateNode;s.flags&32&&(ft(E,\"\"),s.flags&=-33);var O=sc(t);Bl(t,O,E);break;case 3:case 4:var $=s.stateNode.containerInfo,ve=sc(t);jl(t,ve,$);break;default:throw Error(r(161))}}catch(Pe){Sr(t,t.return,Pe)}t.flags&=-3}n&4096&&(t.flags&=-4097)}function Vc(t,n,i){Jt=t,pc(t,n,i)}function pc(t,n,i){for(var s=(t.mode&1)!==0;Jt!==null;){var E=Jt,O=E.child;if(E.tag===22&&s){var $=E.memoizedState!==null||Ou;if(!$){var ve=E.alternate,Pe=ve!==null&&ve.memoizedState!==null||ta;ve=Ou;var et=ta;if(Ou=$,(ta=Pe)&&!et)for(Jt=E;Jt!==null;)$=Jt,Pe=$.child,$.tag===22&&$.memoizedState!==null?hc(E):Pe!==null?(Pe.return=$,Jt=Pe):hc(E);for(;O!==null;)Jt=O,pc(O,n,i),O=O.sibling;Jt=E,Ou=ve,ta=et}vc(t,n,i)}else E.subtreeFlags&8772&&O!==null?(O.return=E,Jt=O):vc(t,n,i)}}function vc(t){for(;Jt!==null;){var n=Jt;if(n.flags&8772){var i=n.alternate;try{if(n.flags&8772)switch(n.tag){case 0:case 11:case 15:ta||Au(5,n);break;case 1:var s=n.stateNode;if(n.flags&4&&!ta)if(i===null)s.componentDidMount();else{var E=n.elementType===n.type?i.memoizedProps:Ma(n.type,i.memoizedProps);s.componentDidUpdate(E,i.memoizedState,s.__reactInternalSnapshotBeforeUpdate)}var O=n.updateQueue;O!==null&&fs(n,O,s);break;case 3:var $=n.updateQueue;if($!==null){if(i=null,n.child!==null)switch(n.child.tag){case 5:i=n.child.stateNode;break;case 1:i=n.child.stateNode}fs(n,$,i)}break;case 5:var ve=n.stateNode;if(i===null&&n.flags&4){i=ve;var Pe=n.memoizedProps;switch(n.type){case\"button\":case\"input\":case\"select\":case\"textarea\":Pe.autoFocus&&i.focus();break;case\"img\":Pe.src&&(i.src=Pe.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(n.memoizedState===null){var et=n.alternate;if(et!==null){var St=et.memoizedState;if(St!==null){var Tt=St.dehydrated;Tt!==null&&ut(Tt)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}ta||n.flags&512&&Fl(n)}catch(bt){Sr(n,n.return,bt)}}if(n===t){Jt=null;break}if(i=n.sibling,i!==null){i.return=n.return,Jt=i;break}Jt=n.return}}function mc(t){for(;Jt!==null;){var n=Jt;if(n===t){Jt=null;break}var i=n.sibling;if(i!==null){i.return=n.return,Jt=i;break}Jt=n.return}}function hc(t){for(;Jt!==null;){var n=Jt;try{switch(n.tag){case 0:case 11:case 15:var i=n.return;try{Au(4,n)}catch(Pe){Sr(n,i,Pe)}break;case 1:var s=n.stateNode;if(typeof s.componentDidMount==\"function\"){var E=n.return;try{s.componentDidMount()}catch(Pe){Sr(n,E,Pe)}}var O=n.return;try{Fl(n)}catch(Pe){Sr(n,O,Pe)}break;case 5:var $=n.return;try{Fl(n)}catch(Pe){Sr(n,$,Pe)}}}catch(Pe){Sr(n,n.return,Pe)}if(n===t){Jt=null;break}var ve=n.sibling;if(ve!==null){ve.return=n.return,Jt=ve;break}Jt=n.return}}var Yc=Math.ceil,Ru=x.ReactCurrentDispatcher,Kl=x.ReactCurrentOwner,wa=x.ReactCurrentBatchConfig,Gn=0,zr=null,Mr=null,Wr=0,ha=0,Ei=Cr(0),Lr=0,Yi=null,Uo=0,Pu=0,Ul=0,Qi=null,fa=null,zl=0,Si=1/0,no=null,Mu=!1,Hl=null,yo=null,_u=!1,go=null,Du=0,Xi=0,$l=null,Nu=-1,Lu=0;function ua(){return Gn&6?Wt():Nu!==-1?Nu:Nu=Wt()}function bo(t){return t.mode&1?Gn&2&&Wr!==0?Wr&-Wr:_c.transition!==null?(Lu===0&&(Lu=en()),Lu):(t=Zt,t!==0||(t=window.event,t=t===void 0?16:wn(t.type)),t):1}function Na(t,n,i,s){if(50<Xi)throw Xi=0,$l=null,Error(r(185));pn(t,i,s),(!(Gn&2)||t!==zr)&&(t===zr&&(!(Gn&2)&&(Pu|=i),Lr===4&&Eo(t,Wr)),da(t,s),i===1&&Gn===0&&!(n.mode&1)&&(Si=Wt()+500,si&&oa()))}function da(t,n){var i=t.callbackNode;dn(t,n);var s=Yt(t,t===zr?Wr:0);if(s===0)i!==null&&Ht(i),t.callbackNode=null,t.callbackPriority=0;else if(n=s&-s,t.callbackPriority!==n){if(i!=null&&Ht(i),n===1)t.tag===0?Qa(gc.bind(null,t)):aa(gc.bind(null,t)),el(function(){!(Gn&6)&&oa()}),i=null;else{switch(ar(s)){case 1:i=ln;break;case 4:i=tt;break;case 16:i=Ze;break;case 536870912:i=st;break;default:i=Ze}i=Cc(i,yc.bind(null,t))}t.callbackPriority=n,t.callbackNode=i}}function yc(t,n){if(Nu=-1,Lu=0,Gn&6)throw Error(r(327));var i=t.callbackNode;if(Ii()&&t.callbackNode!==i)return null;var s=Yt(t,t===zr?Wr:0);if(s===0)return null;if(s&30||s&t.expiredLanes||n)n=ku(t,s);else{n=s;var E=Gn;Gn|=2;var O=Ec();(zr!==t||Wr!==n)&&(no=null,Si=Wt()+500,Ho(t,n));do try{Jc();break}catch(ve){bc(t,ve)}while(1);ll(),Ru.current=O,Gn=E,Mr!==null?n=0:(zr=null,Wr=0,n=Lr)}if(n!==0){if(n===2&&(E=Xt(t),E!==0&&(s=E,n=Zl(t,E))),n===1)throw i=Yi,Ho(t,0),Eo(t,s),da(t,Wt()),i;if(n===6)Eo(t,s);else{if(E=t.current.alternate,!(s&30)&&!Qc(E)&&(n=ku(t,s),n===2&&(O=Xt(t),O!==0&&(s=O,n=Zl(t,O))),n===1))throw i=Yi,Ho(t,0),Eo(t,s),da(t,Wt()),i;switch(t.finishedWork=E,t.finishedLanes=s,n){case 0:case 1:throw Error(r(345));case 2:$o(t,fa,no);break;case 3:if(Eo(t,s),(s&130023424)===s&&(n=zl+500-Wt(),10<n)){if(Yt(t,0)!==0)break;if(E=t.suspendedLanes,(E&s)!==s){ua(),t.pingedLanes|=t.suspendedLanes&E;break}t.timeoutHandle=lu($o.bind(null,t,fa,no),n);break}$o(t,fa,no);break;case 4:if(Eo(t,s),(s&4194240)===s)break;for(n=t.eventTimes,E=-1;0<s;){var $=31-gt(s);O=1<<$,$=n[$],$>E&&(E=$),s&=~O}if(s=E,s=Wt()-s,s=(120>s?120:480>s?480:1080>s?1080:1920>s?1920:3e3>s?3e3:4320>s?4320:1960*Yc(s/1960))-s,10<s){t.timeoutHandle=lu($o.bind(null,t,fa,no),s);break}$o(t,fa,no);break;case 5:$o(t,fa,no);break;default:throw Error(r(329))}}}return da(t,Wt()),t.callbackNode===i?yc.bind(null,t):null}function Zl(t,n){var i=Qi;return t.current.memoizedState.isDehydrated&&(Ho(t,n).flags|=256),t=ku(t,n),t!==2&&(n=fa,fa=i,n!==null&&Wl(n)),t}function Wl(t){fa===null?fa=t:fa.push.apply(fa,t)}function Qc(t){for(var n=t;;){if(n.flags&16384){var i=n.updateQueue;if(i!==null&&(i=i.stores,i!==null))for(var s=0;s<i.length;s++){var E=i[s],O=E.getSnapshot;E=E.value;try{if(!wr(O(),E))return!1}catch($){return!1}}}if(i=n.child,n.subtreeFlags&16384&&i!==null)i.return=n,n=i;else{if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function Eo(t,n){for(n&=~Ul,n&=~Pu,t.suspendedLanes|=n,t.pingedLanes&=~n,t=t.expirationTimes;0<n;){var i=31-gt(n),s=1<<i;t[i]=-1,n&=~s}}function gc(t){if(Gn&6)throw Error(r(327));Ii();var n=Yt(t,0);if(!(n&1))return da(t,Wt()),null;var i=ku(t,n);if(t.tag!==0&&i===2){var s=Xt(t);s!==0&&(n=s,i=Zl(t,s))}if(i===1)throw i=Yi,Ho(t,0),Eo(t,n),da(t,Wt()),i;if(i===6)throw Error(r(345));return t.finishedWork=t.current.alternate,t.finishedLanes=n,$o(t,fa,no),da(t,Wt()),null}function Gl(t,n){var i=Gn;Gn|=1;try{return t(n)}finally{Gn=i,Gn===0&&(Si=Wt()+500,si&&oa())}}function zo(t){go!==null&&go.tag===0&&!(Gn&6)&&Ii();var n=Gn;Gn|=1;var i=wa.transition,s=Zt;try{if(wa.transition=null,Zt=1,t)return t()}finally{Zt=s,wa.transition=i,Gn=n,!(Gn&6)&&oa()}}function Vl(){ha=Ei.current,kn(Ei)}function Ho(t,n){t.finishedWork=null,t.finishedLanes=0;var i=t.timeoutHandle;if(i!==-1&&(t.timeoutHandle=-1,qu(i)),Mr!==null)for(i=Mr.return;i!==null;){var s=i;switch(rl(s),s.tag){case 1:s=s.type.childContextTypes,s!=null&&sa();break;case 3:yi(),kn(Kr),kn(sr),gl();break;case 5:hl(s);break;case 4:yi();break;case 13:kn(yr);break;case 19:kn(yr);break;case 10:sl(s.type._context);break;case 22:case 23:Vl()}i=i.return}if(zr=t,Mr=t=So(t.current,null),Wr=ha=n,Lr=0,Yi=null,Ul=Pu=Uo=0,fa=Qi=null,jo!==null){for(n=0;n<jo.length;n++)if(i=jo[n],s=i.interleaved,s!==null){i.interleaved=null;var E=s.next,O=i.pending;if(O!==null){var $=O.next;O.next=E,s.next=$}i.pending=s}jo=null}return t}function bc(t,n){do{var i=Mr;try{if(ll(),Eu.current=xu,Su){for(var s=gr.memoizedState;s!==null;){var E=s.queue;E!==null&&(E.pending=null),s=s.next}Su=!1}if(Ko=0,Ur=Nr=gr=null,Hi=!1,$i=0,Kl.current=null,i===null||i.return===null){Lr=1,Yi=n,Mr=null;break}e:{var O=t,$=i.return,ve=i,Pe=n;if(n=Wr,ve.flags|=32768,Pe!==null&&typeof Pe==\"object\"&&typeof Pe.then==\"function\"){var et=Pe,St=ve,Tt=St.tag;if(!(St.mode&1)&&(Tt===0||Tt===11||Tt===15)){var bt=St.alternate;bt?(St.updateQueue=bt.updateQueue,St.memoizedState=bt.memoizedState,St.lanes=bt.lanes):(St.updateQueue=null,St.memoizedState=null)}var Gt=$s($);if(Gt!==null){Gt.flags&=-257,Zs(Gt,$,ve,O,n),Gt.mode&1&&Hs(O,et,n),n=Gt,Pe=et;var tn=n.updateQueue;if(tn===null){var rn=new Set;rn.add(Pe),n.updateQueue=rn}else tn.add(Pe);break e}else{if(!(n&1)){Hs(O,et,n),Yl();break e}Pe=Error(r(426))}}else if(mr&&ve.mode&1){var Or=$s($);if(Or!==null){!(Or.flags&65536)&&(Or.flags|=256),Zs(Or,$,ve,O,n),il(gi(Pe,ve));break e}}O=Pe=gi(Pe,ve),Lr!==4&&(Lr=2),Qi===null?Qi=[O]:Qi.push(O),O=$;do{switch(O.tag){case 3:O.flags|=65536,n&=-n,O.lanes|=n;var Ve=Us(O,Pe,n);cs(O,Ve);break e;case 1:ve=Pe;var Fe=O.type,Ye=O.stateNode;if(!(O.flags&128)&&(typeof Fe.getDerivedStateFromError==\"function\"||Ye!==null&&typeof Ye.componentDidCatch==\"function\"&&(yo===null||!yo.has(Ye)))){O.flags|=65536,n&=-n,O.lanes|=n;var _t=zs(O,ve,n);cs(O,_t);break e}}O=O.return}while(O!==null)}Ic(i)}catch(un){n=un,Mr===i&&i!==null&&(Mr=i=i.return);continue}break}while(1)}function Ec(){var t=Ru.current;return Ru.current=xu,t===null?xu:t}function Yl(){(Lr===0||Lr===3||Lr===2)&&(Lr=4),zr===null||!(Uo&268435455)&&!(Pu&268435455)||Eo(zr,Wr)}function ku(t,n){var i=Gn;Gn|=2;var s=Ec();(zr!==t||Wr!==n)&&(no=null,Ho(t,n));do try{Xc();break}catch(E){bc(t,E)}while(1);if(ll(),Gn=i,Ru.current=s,Mr!==null)throw Error(r(261));return zr=null,Wr=0,Lr}function Xc(){for(;Mr!==null;)Sc(Mr)}function Jc(){for(;Mr!==null&&!Vt();)Sc(Mr)}function Sc(t){var n=wc(t.alternate,t,ha);t.memoizedProps=t.pendingProps,n===null?Ic(t):Mr=n,Kl.current=null}function Ic(t){var n=t;do{var i=n.alternate;if(t=n.return,n.flags&32768){if(i=Zc(i,n),i!==null){i.flags&=32767,Mr=i;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{Lr=6,Mr=null;return}}else if(i=$c(i,n,ha),i!==null){Mr=i;return}if(n=n.sibling,n!==null){Mr=n;return}Mr=n=t}while(n!==null);Lr===0&&(Lr=5)}function $o(t,n,i){var s=Zt,E=wa.transition;try{wa.transition=null,Zt=1,qc(t,n,i,s)}finally{wa.transition=E,Zt=s}return null}function qc(t,n,i,s){do Ii();while(go!==null);if(Gn&6)throw Error(r(327));i=t.finishedWork;var E=t.finishedLanes;if(i===null)return null;if(t.finishedWork=null,t.finishedLanes=0,i===t.current)throw Error(r(177));t.callbackNode=null,t.callbackPriority=0;var O=i.lanes|i.childLanes;if(Sn(t,O),t===zr&&(Mr=zr=null,Wr=0),!(i.subtreeFlags&2064)&&!(i.flags&2064)||_u||(_u=!0,Cc(Ze,function(){return Ii(),null})),O=(i.flags&15990)!==0,i.subtreeFlags&15990||O){O=wa.transition,wa.transition=null;var $=Zt;Zt=1;var ve=Gn;Gn|=4,Kl.current=null,Gc(t,i),dc(i,t),Zu(No),Ct=!!ki,No=ki=null,t.current=i,Vc(i,t,E),an(),Gn=ve,Zt=$,wa.transition=O}else t.current=i;if(_u&&(_u=!1,go=t,Du=E),O=t.pendingLanes,O===0&&(yo=null),lt(i.stateNode,s),da(t,Wt()),n!==null)for(s=t.onRecoverableError,i=0;i<n.length;i++)E=n[i],s(E.value,{componentStack:E.stack,digest:E.digest});if(Mu)throw Mu=!1,t=Hl,Hl=null,t;return Du&1&&t.tag!==0&&Ii(),O=t.pendingLanes,O&1?t===$l?Xi++:(Xi=0,$l=t):Xi=0,oa(),null}function Ii(){if(go!==null){var t=ar(Du),n=wa.transition,i=Zt;try{if(wa.transition=null,Zt=16>t?16:t,go===null)var s=!1;else{if(t=go,go=null,Du=0,Gn&6)throw Error(r(331));var E=Gn;for(Gn|=4,Jt=t.current;Jt!==null;){var O=Jt,$=O.child;if(Jt.flags&16){var ve=O.deletions;if(ve!==null){for(var Pe=0;Pe<ve.length;Pe++){var et=ve[Pe];for(Jt=et;Jt!==null;){var St=Jt;switch(St.tag){case 0:case 11:case 15:Vi(8,St,O)}var Tt=St.child;if(Tt!==null)Tt.return=St,Jt=Tt;else for(;Jt!==null;){St=Jt;var bt=St.sibling,Gt=St.return;if(uc(St),St===et){Jt=null;break}if(bt!==null){bt.return=Gt,Jt=bt;break}Jt=Gt}}}var tn=O.alternate;if(tn!==null){var rn=tn.child;if(rn!==null){tn.child=null;do{var Or=rn.sibling;rn.sibling=null,rn=Or}while(rn!==null)}}Jt=O}}if(O.subtreeFlags&2064&&$!==null)$.return=O,Jt=$;else e:for(;Jt!==null;){if(O=Jt,O.flags&2048)switch(O.tag){case 0:case 11:case 15:Vi(9,O,O.return)}var Ve=O.sibling;if(Ve!==null){Ve.return=O.return,Jt=Ve;break e}Jt=O.return}}var Fe=t.current;for(Jt=Fe;Jt!==null;){$=Jt;var Ye=$.child;if($.subtreeFlags&2064&&Ye!==null)Ye.return=$,Jt=Ye;else e:for($=Fe;Jt!==null;){if(ve=Jt,ve.flags&2048)try{switch(ve.tag){case 0:case 11:case 15:Au(9,ve)}}catch(un){Sr(ve,ve.return,un)}if(ve===$){Jt=null;break e}var _t=ve.sibling;if(_t!==null){_t.return=ve.return,Jt=_t;break e}Jt=ve.return}}if(Gn=E,oa(),ct&&typeof ct.onPostCommitFiberRoot==\"function\")try{ct.onPostCommitFiberRoot(Qe,t)}catch(un){}s=!0}return s}finally{Zt=i,wa.transition=n}}return!1}function Tc(t,n,i){n=gi(i,n),n=Us(t,n,1),t=mo(t,n,1),n=ua(),t!==null&&(pn(t,1,n),da(t,n))}function Sr(t,n,i){if(t.tag===3)Tc(t,t,i);else for(;n!==null;){if(n.tag===3){Tc(n,t,i);break}else if(n.tag===1){var s=n.stateNode;if(typeof n.type.getDerivedStateFromError==\"function\"||typeof s.componentDidCatch==\"function\"&&(yo===null||!yo.has(s))){t=gi(i,t),t=zs(n,t,1),n=mo(n,t,1),t=ua(),n!==null&&(pn(n,1,t),da(n,t));break}}n=n.return}}function ef(t,n,i){var s=t.pingCache;s!==null&&s.delete(n),n=ua(),t.pingedLanes|=t.suspendedLanes&i,zr===t&&(Wr&i)===i&&(Lr===4||Lr===3&&(Wr&130023424)===Wr&&500>Wt()-zl?Ho(t,0):Ul|=i),da(t,n)}function xc(t,n){n===0&&(t.mode&1?(n=Bt,Bt<<=1,!(Bt&130023424)&&(Bt=4194304)):n=1);var i=ua();t=qa(t,n),t!==null&&(pn(t,n,i),da(t,i))}function tf(t){var n=t.memoizedState,i=0;n!==null&&(i=n.retryLane),xc(t,i)}function nf(t,n){var i=0;switch(t.tag){case 13:var s=t.stateNode,E=t.memoizedState;E!==null&&(i=E.retryLane);break;case 19:s=t.stateNode;break;default:throw Error(r(314))}s!==null&&s.delete(n),xc(t,i)}var wc;wc=function(t,n,i){if(t!==null)if(t.memoizedProps!==n.pendingProps||Kr.current)ca=!0;else{if(!(t.lanes&i)&&!(n.flags&128))return ca=!1,Hc(t,n,i);ca=!!(t.flags&131072)}else ca=!1,mr&&n.flags&1048576&&rs(n,fu,n.index);switch(n.lanes=0,n.tag){case 2:var s=n.type;Cu(t,n),t=n.pendingProps;var E=ja(n,sr.current);mi(n,i),E=Sl(null,n,s,t,E,i);var O=Il();return n.flags|=1,typeof E==\"object\"&&E!==null&&typeof E.render==\"function\"&&E.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,Jr(s)?(O=!0,po(n)):O=!1,n.memoizedState=E.state!==null&&E.state!==void 0?E.state:null,dl(n),E.updater=yu,n.stateNode=E,E._reactInternals=n,vl(n,s,t,i),n=Pl(null,n,s,!0,O,i)):(n.tag=0,mr&&O&&nl(n),ia(null,n,E,i),n=n.child),n;case 16:s=n.elementType;e:{switch(Cu(t,n),t=n.pendingProps,E=s._init,s=E(s._payload),n.type=s,E=n.tag=af(s),t=Ma(s,t),E){case 0:n=Rl(null,n,s,t,i);break e;case 1:n=Xs(null,n,s,t,i);break e;case 11:n=Ws(null,n,s,t,i);break e;case 14:n=Gs(null,n,s,Ma(s.type,t),i);break e}throw Error(r(306,s,\"\"))}return n;case 0:return s=n.type,E=n.pendingProps,E=n.elementType===s?E:Ma(s,E),Rl(t,n,s,E,i);case 1:return s=n.type,E=n.pendingProps,E=n.elementType===s?E:Ma(s,E),Xs(t,n,s,E,i);case 3:e:{if(Js(n),t===null)throw Error(r(387));s=n.pendingProps,O=n.memoizedState,E=O.element,ss(t,n),hu(n,s,null,i);var $=n.memoizedState;if(s=$.element,O.isDehydrated)if(O={element:s,isDehydrated:!1,cache:$.cache,pendingSuspenseBoundaries:$.pendingSuspenseBoundaries,transitions:$.transitions},n.updateQueue.baseState=O,n.memoizedState=O,n.flags&256){E=gi(Error(r(423)),n),n=qs(t,n,s,i,E);break e}else if(s!==E){E=gi(Error(r(424)),n),n=qs(t,n,s,i,E);break e}else for(ma=Be(n.stateNode.containerInfo.firstChild),va=n,mr=!0,Pa=null,i=gs(n,null,s,i),n.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(pi(),s===E){n=to(t,n,i);break e}ia(t,n,s,i)}n=n.child}return n;case 5:return bs(n),t===null&&ol(n),s=n.type,E=n.pendingProps,O=t!==null?t.memoizedProps:null,$=E.children,Fi(s,E)?$=null:O!==null&&Fi(s,O)&&(n.flags|=32),Qs(t,n),ia(t,n,$,i),n.child;case 6:return t===null&&ol(n),null;case 13:return ec(t,n,i);case 4:return ml(n,n.stateNode.containerInfo),s=n.pendingProps,t===null?n.child=hi(n,null,s,i):ia(t,n,s,i),n.child;case 11:return s=n.type,E=n.pendingProps,E=n.elementType===s?E:Ma(s,E),Ws(t,n,s,E,i);case 7:return ia(t,n,n.pendingProps,i),n.child;case 8:return ia(t,n,n.pendingProps.children,i),n.child;case 12:return ia(t,n,n.pendingProps.children,i),n.child;case 10:e:{if(s=n.type._context,E=n.pendingProps,O=n.memoizedProps,$=E.value,Tn(pu,s._currentValue),s._currentValue=$,O!==null)if(wr(O.value,$)){if(O.children===E.children&&!Kr.current){n=to(t,n,i);break e}}else for(O=n.child,O!==null&&(O.return=n);O!==null;){var ve=O.dependencies;if(ve!==null){$=O.child;for(var Pe=ve.firstContext;Pe!==null;){if(Pe.context===s){if(O.tag===1){Pe=eo(-1,i&-i),Pe.tag=2;var et=O.updateQueue;if(et!==null){et=et.shared;var St=et.pending;St===null?Pe.next=Pe:(Pe.next=St.next,St.next=Pe),et.pending=Pe}}O.lanes|=i,Pe=O.alternate,Pe!==null&&(Pe.lanes|=i),cl(O.return,i,n),ve.lanes|=i;break}Pe=Pe.next}}else if(O.tag===10)$=O.type===n.type?null:O.child;else if(O.tag===18){if($=O.return,$===null)throw Error(r(341));$.lanes|=i,ve=$.alternate,ve!==null&&(ve.lanes|=i),cl($,i,n),$=O.sibling}else $=O.child;if($!==null)$.return=O;else for($=O;$!==null;){if($===n){$=null;break}if(O=$.sibling,O!==null){O.return=$.return,$=O;break}$=$.return}O=$}ia(t,n,E.children,i),n=n.child}return n;case 9:return E=n.type,s=n.pendingProps.children,mi(n,i),E=Ta(E),s=s(E),n.flags|=1,ia(t,n,s,i),n.child;case 14:return s=n.type,E=Ma(s,n.pendingProps),E=Ma(s.type,E),Gs(t,n,s,E,i);case 15:return Vs(t,n,n.type,n.pendingProps,i);case 17:return s=n.type,E=n.pendingProps,E=n.elementType===s?E:Ma(s,E),Cu(t,n),n.tag=1,Jr(s)?(t=!0,po(n)):t=!1,mi(n,i),vs(n,s,E),vl(n,s,E,i),Pl(null,n,s,!0,t,i);case 19:return nc(t,n,i);case 22:return Ys(t,n,i)}throw Error(r(156,n.tag))};function Cc(t,n){return Lt(t,n)}function rf(t,n,i,s){this.tag=t,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ca(t,n,i,s){return new rf(t,n,i,s)}function Ql(t){return t=t.prototype,!(!t||!t.isReactComponent)}function af(t){if(typeof t==\"function\")return Ql(t)?1:0;if(t!=null){if(t=t.$$typeof,t===Te)return 11;if(t===A)return 14}return 2}function So(t,n){var i=t.alternate;return i===null?(i=Ca(t.tag,n,t.key,t.mode),i.elementType=t.elementType,i.type=t.type,i.stateNode=t.stateNode,i.alternate=t,t.alternate=i):(i.pendingProps=n,i.type=t.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=t.flags&14680064,i.childLanes=t.childLanes,i.lanes=t.lanes,i.child=t.child,i.memoizedProps=t.memoizedProps,i.memoizedState=t.memoizedState,i.updateQueue=t.updateQueue,n=t.dependencies,i.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},i.sibling=t.sibling,i.index=t.index,i.ref=t.ref,i}function Fu(t,n,i,s,E,O){var $=2;if(s=t,typeof t==\"function\")Ql(t)&&($=1);else if(typeof t==\"string\")$=5;else e:switch(t){case G:return Zo(i.children,E,O,n);case q:$=8,E|=8;break;case X:return t=Ca(12,i,n,E|2),t.elementType=X,t.lanes=O,t;case ae:return t=Ca(13,i,n,E),t.elementType=ae,t.lanes=O,t;case z:return t=Ca(19,i,n,E),t.elementType=z,t.lanes=O,t;case R:return ju(i,E,O,n);default:if(typeof t==\"object\"&&t!==null)switch(t.$$typeof){case oe:$=10;break e;case Ee:$=9;break e;case Te:$=11;break e;case A:$=14;break e;case T:$=16,s=null;break e}throw Error(r(130,t==null?t:typeof t,\"\"))}return n=Ca($,i,n,E),n.elementType=t,n.type=s,n.lanes=O,n}function Zo(t,n,i,s){return t=Ca(7,t,s,n),t.lanes=i,t}function ju(t,n,i,s){return t=Ca(22,t,s,n),t.elementType=R,t.lanes=i,t.stateNode={isHidden:!1},t}function Xl(t,n,i){return t=Ca(6,t,null,n),t.lanes=i,t}function Jl(t,n,i){return n=Ca(4,t.children!==null?t.children:[],t.key,n),n.lanes=i,n.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},n}function of(t,n,i,s,E){this.tag=n,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=hn(0),this.expirationTimes=hn(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=hn(0),this.identifierPrefix=s,this.onRecoverableError=E,this.mutableSourceEagerHydrationData=null}function ql(t,n,i,s,E,O,$,ve,Pe){return t=new of(t,n,i,ve,Pe),n===1?(n=1,O===!0&&(n|=8)):n=0,O=Ca(3,null,null,n),t.current=O,O.stateNode=t,O.memoizedState={element:s,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null},dl(O),t}function uf(t,n,i){var s=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:K,key:s==null?null:\"\"+s,children:t,containerInfo:n,implementation:i}}function Oc(t){if(!t)return Xr;t=t._reactInternals;e:{if(zn(t)!==t||t.tag!==1)throw Error(r(170));var n=t;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(Jr(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(n!==null);throw Error(r(171))}if(t.tag===1){var i=t.type;if(Jr(i))return li(t,i,n)}return n}function Ac(t,n,i,s,E,O,$,ve,Pe){return t=ql(i,s,!0,t,E,O,$,ve,Pe),t.context=Oc(null),i=t.current,s=ua(),E=bo(i),O=eo(s,E),O.callback=n!=null?n:null,mo(i,O,E),t.current.lanes=E,pn(t,E,s),da(t,s),t}function Bu(t,n,i,s){var E=n.current,O=ua(),$=bo(E);return i=Oc(i),n.context===null?n.context=i:n.pendingContext=i,n=eo(O,$),n.payload={element:t},s=s===void 0?null:s,s!==null&&(n.callback=s),t=mo(E,n,$),t!==null&&(Na(t,E,$,O),mu(t,E,$)),$}function Ku(t){if(t=t.current,!t.child)return null;switch(t.child.tag){case 5:return t.child.stateNode;default:return t.child.stateNode}}function Rc(t,n){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var i=t.retryLane;t.retryLane=i!==0&&i<n?i:n}}function es(t,n){Rc(t,n),(t=t.alternate)&&Rc(t,n)}function lf(){return null}var Pc=typeof reportError==\"function\"?reportError:function(t){console.error(t)};function ts(t){this._internalRoot=t}Uu.prototype.render=ts.prototype.render=function(t){var n=this._internalRoot;if(n===null)throw Error(r(409));Bu(t,n,null,null)},Uu.prototype.unmount=ts.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var n=t.containerInfo;zo(function(){Bu(null,t,null,null)}),n[ht]=null}};function Uu(t){this._internalRoot=t}Uu.prototype.unstable_scheduleHydration=function(t){if(t){var n=Nn();t={blockedOn:null,target:t,priority:n};for(var i=0;i<Ue.length&&n!==0&&n<Ue[i].priority;i++);Ue.splice(i,0,t),i===0&&ne(t)}};function ns(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function zu(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==\" react-mount-point-unstable \"))}function Mc(){}function sf(t,n,i,s,E){if(E){if(typeof s==\"function\"){var O=s;s=function(){var et=Ku($);O.call(et)}}var $=Ac(n,s,t,0,null,!1,!1,\"\",Mc);return t._reactRootContainer=$,t[ht]=$.current,ai(t.nodeType===8?t.parentNode:t),zo(),$}for(;E=t.lastChild;)t.removeChild(E);if(typeof s==\"function\"){var ve=s;s=function(){var et=Ku(Pe);ve.call(et)}}var Pe=ql(t,0,!1,null,null,!1,!1,\"\",Mc);return t._reactRootContainer=Pe,t[ht]=Pe.current,ai(t.nodeType===8?t.parentNode:t),zo(function(){Bu(n,Pe,i,s)}),Pe}function Hu(t,n,i,s,E){var O=i._reactRootContainer;if(O){var $=O;if(typeof E==\"function\"){var ve=E;E=function(){var Pe=Ku($);ve.call(Pe)}}Bu(n,$,t,E)}else $=sf(i,n,t,E,s);return Ku($)}An=function(t){switch(t.tag){case 3:var n=t.stateNode;if(n.current.memoizedState.isDehydrated){var i=Kt(n.pendingLanes);i!==0&&(fn(n,i|1),da(n,Wt()),!(Gn&6)&&(Si=Wt()+500,oa()))}break;case 13:zo(function(){var s=qa(t,1);if(s!==null){var E=ua();Na(s,t,1,E)}}),es(t,1)}},sn=function(t){if(t.tag===13){var n=qa(t,134217728);if(n!==null){var i=ua();Na(n,t,134217728,i)}es(t,134217728)}},Rn=function(t){if(t.tag===13){var n=bo(t),i=qa(t,n);if(i!==null){var s=ua();Na(i,t,n,s)}es(t,n)}},Nn=function(){return Zt},Bn=function(t,n){var i=Zt;try{return Zt=t,n()}finally{Zt=i}},Ot=function(t,n,i){switch(n){case\"input\":if(pe(t,i),n=i.name,i.type===\"radio\"&&n!=null){for(i=t;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll(\"input[name=\"+JSON.stringify(\"\"+n)+'][type=\"radio\"]'),n=0;n<i.length;n++){var s=i[n];if(s!==t&&s.form===t.form){var E=$r(s);if(!E)throw Error(r(90));Ie(s),pe(s,E)}}}break;case\"textarea\":he(t,i);break;case\"select\":n=i.value,n!=null&&Z(t,!!i.multiple,n,!1)}},qt=Gl,En=zo;var cf={usingClientEntryPoint:!1,Events:[Mn,Br,$r,jt,At,Gl]},Ji={findFiberByHostInstance:dr,bundleType:0,version:\"18.2.0\",rendererPackageName:\"react-dom\"},ff={bundleType:Ji.bundleType,version:Ji.version,rendererPackageName:Ji.rendererPackageName,rendererConfig:Ji.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=Dt(t),t===null?null:t.stateNode},findFiberByHostInstance:Ji.findFiberByHostInstance||lf,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:\"18.2.0-next-9e3b772b8-20220608\"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=\"undefined\"){var $u=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!$u.isDisabled&&$u.supportsFiber)try{Qe=$u.inject(ff),ct=$u}catch(t){}}m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=cf,m.createPortal=function(t,n){var i=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ns(n))throw Error(r(200));return uf(t,n,null,i)},m.createRoot=function(t,n){if(!ns(t))throw Error(r(299));var i=!1,s=\"\",E=Pc;return n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(E=n.onRecoverableError)),n=ql(t,1,!1,null,null,i,!1,s,E),t[ht]=n.current,ai(t.nodeType===8?t.parentNode:t),new ts(n)},m.findDOMNode=function(t){if(t==null)return null;if(t.nodeType===1)return t;var n=t._reactInternals;if(n===void 0)throw typeof t.render==\"function\"?Error(r(188)):(t=Object.keys(t).join(\",\"),Error(r(268,t)));return t=Dt(n),t=t===null?null:t.stateNode,t},m.flushSync=function(t){return zo(t)},m.hydrate=function(t,n,i){if(!zu(n))throw Error(r(200));return Hu(null,t,n,!0,i)},m.hydrateRoot=function(t,n,i){if(!ns(t))throw Error(r(405));var s=i!=null&&i.hydratedSources||null,E=!1,O=\"\",$=Pc;if(i!=null&&(i.unstable_strictMode===!0&&(E=!0),i.identifierPrefix!==void 0&&(O=i.identifierPrefix),i.onRecoverableError!==void 0&&($=i.onRecoverableError)),n=Ac(n,null,t,1,i!=null?i:null,E,!1,O,$),t[ht]=n.current,ai(t),s)for(t=0;t<s.length;t++)i=s[t],E=i._getVersion,E=E(i._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[i,E]:n.mutableSourceEagerHydrationData.push(i,E);return new Uu(n)},m.render=function(t,n,i){if(!zu(n))throw Error(r(200));return Hu(null,t,n,!1,i)},m.unmountComponentAtNode=function(t){if(!zu(t))throw Error(r(40));return t._reactRootContainer?(zo(function(){Hu(null,null,t,!1,function(){t._reactRootContainer=null,t[ht]=null})}),!0):!1},m.unstable_batchedUpdates=Gl,m.unstable_renderSubtreeIntoContainer=function(t,n,i,s){if(!zu(i))throw Error(r(200));if(t==null||t._reactInternals===void 0)throw Error(r(38));return Hu(t,n,i,!1,s)},m.version=\"18.2.0-next-9e3b772b8-20220608\"},44478:function(c,m,e){\"use strict\";var a=e(10422);if(!0)m.createRoot=a.createRoot,m.hydrateRoot=a.hydrateRoot;else var o},10422:function(c,m,e){\"use strict\";function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__==\"undefined\"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=\"function\"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(o){console.error(o)}}a(),c.exports=e(53746)},60481:function(c,m,e){(function(a,o){o(m,e(50959))})(this,function(a,o){\"use strict\";function r(y){if(y&&y.__esModule)return y;var S=Object.create(null);return y&&Object.keys(y).forEach(function(I){if(I!==\"default\"){var N=Object.getOwnPropertyDescriptor(y,I);Object.defineProperty(S,I,N.get?N:{enumerable:!0,get:function(){return y[I]}})}}),S.default=y,Object.freeze(S)}var u=r(o);function l(y,S){return l=Object.setPrototypeOf||function(N,_){return N.__proto__=_,N},l(y,S)}function d(y,S){y.prototype=Object.create(S.prototype),y.prototype.constructor=y,l(y,S)}var f=function(S,I){return S===void 0&&(S=[]),I===void 0&&(I=[]),S.length!==I.length||S.some(function(N,_){return!Object.is(N,I[_])})},v={error:null},p=function(y){d(S,y);function S(){for(var N,_=arguments.length,M=new Array(_),L=0;L<_;L++)M[L]=arguments[L];return N=y.call.apply(y,[this].concat(M))||this,N.state=v,N.resetErrorBoundary=function(){for(var k,U=arguments.length,x=new Array(U),F=0;F<U;F++)x[F]=arguments[F];N.props.onReset==null||(k=N.props).onReset.apply(k,x),N.reset()},N}S.getDerivedStateFromError=function(_){return{error:_}};var I=S.prototype;return I.reset=function(){this.setState(v)},I.componentDidCatch=function(_,M){var L,k;(L=(k=this.props).onError)==null||L.call(k,_,M)},I.componentDidUpdate=function(_,M){var L=this.state.error,k=this.props.resetKeys;if(L!==null&&M.error!==null&&f(_.resetKeys,k)){var U,x;(U=(x=this.props).onResetKeysChange)==null||U.call(x,_.resetKeys,k),this.reset()}},I.render=function(){var _=this.state.error,M=this.props,L=M.fallbackRender,k=M.FallbackComponent,U=M.fallback;if(_!==null){var x={error:_,resetErrorBoundary:this.resetErrorBoundary};if(u.isValidElement(U))return U;if(typeof L==\"function\")return L(x);if(k)return u.createElement(k,x);throw new Error(\"react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop\")}return this.props.children},S}(u.Component);function h(y,S){var I=function(M){return u.createElement(p,S,u.createElement(y,M))},N=y.displayName||y.name||\"Unknown\";return I.displayName=\"withErrorBoundary(\"+N+\")\",I}function g(y){var S=u.useState(null),I=S[0],N=S[1];if(y!=null)throw y;if(I!=null)throw I;return N}a.ErrorBoundary=p,a.useErrorHandler=g,a.withErrorBoundary=h,Object.defineProperty(a,\"__esModule\",{value:!0})})},36858:function(c){var m=typeof Element!=\"undefined\",e=typeof Map==\"function\",a=typeof Set==\"function\",o=typeof ArrayBuffer==\"function\"&&!!ArrayBuffer.isView;function r(u,l){if(u===l)return!0;if(u&&l&&typeof u==\"object\"&&typeof l==\"object\"){if(u.constructor!==l.constructor)return!1;var d,f,v;if(Array.isArray(u)){if(d=u.length,d!=l.length)return!1;for(f=d;f--!==0;)if(!r(u[f],l[f]))return!1;return!0}var p;if(e&&u instanceof Map&&l instanceof Map){if(u.size!==l.size)return!1;for(p=u.entries();!(f=p.next()).done;)if(!l.has(f.value[0]))return!1;for(p=u.entries();!(f=p.next()).done;)if(!r(f.value[1],l.get(f.value[0])))return!1;return!0}if(a&&u instanceof Set&&l instanceof Set){if(u.size!==l.size)return!1;for(p=u.entries();!(f=p.next()).done;)if(!l.has(f.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(u)&&ArrayBuffer.isView(l)){if(d=u.length,d!=l.length)return!1;for(f=d;f--!==0;)if(u[f]!==l[f])return!1;return!0}if(u.constructor===RegExp)return u.source===l.source&&u.flags===l.flags;if(u.valueOf!==Object.prototype.valueOf&&typeof u.valueOf==\"function\"&&typeof l.valueOf==\"function\")return u.valueOf()===l.valueOf();if(u.toString!==Object.prototype.toString&&typeof u.toString==\"function\"&&typeof l.toString==\"function\")return u.toString()===l.toString();if(v=Object.keys(u),d=v.length,d!==Object.keys(l).length)return!1;for(f=d;f--!==0;)if(!Object.prototype.hasOwnProperty.call(l,v[f]))return!1;if(m&&u instanceof Element)return!1;for(f=d;f--!==0;)if(!((v[f]===\"_owner\"||v[f]===\"__v\"||v[f]===\"__o\")&&u.$$typeof)&&!r(u[v[f]],l[v[f]]))return!1;return!0}return u!==u&&l!==l}c.exports=function(l,d){try{return r(l,d)}catch(f){if((f.message||\"\").match(/stack|recursion/i))return console.warn(\"react-fast-compare cannot handle circular refs\"),!1;throw f}}},87593:function(c,m,e){\"use strict\";e.d(m,{B6:function(){return _e},ql:function(){return Ne}});var a=e(50959),o=e(40507),r=e.n(o),u=e(36858),l=e.n(u),d=e(53670),f=e.n(d),v=e(50631),p=e.n(v);function h(){return h=Object.assign||function(te){for(var se=1;se<arguments.length;se++){var pe=arguments[se];for(var ee in pe)Object.prototype.hasOwnProperty.call(pe,ee)&&(te[ee]=pe[ee])}return te},h.apply(this,arguments)}function g(te,se){te.prototype=Object.create(se.prototype),te.prototype.constructor=te,y(te,se)}function y(te,se){return y=Object.setPrototypeOf||function(pe,ee){return pe.__proto__=ee,pe},y(te,se)}function S(te,se){if(te==null)return{};var pe,ee,Se={},Q=Object.keys(te);for(ee=0;ee<Q.length;ee++)se.indexOf(pe=Q[ee])>=0||(Se[pe]=te[pe]);return Se}var I={BASE:\"base\",BODY:\"body\",HEAD:\"head\",HTML:\"html\",LINK:\"link\",META:\"meta\",NOSCRIPT:\"noscript\",SCRIPT:\"script\",STYLE:\"style\",TITLE:\"title\",FRAGMENT:\"Symbol(react.fragment)\"},N={rel:[\"amphtml\",\"canonical\",\"alternate\"]},_={type:[\"application/ld+json\"]},M={charset:\"\",name:[\"robots\",\"description\"],property:[\"og:type\",\"og:title\",\"og:url\",\"og:image\",\"og:image:alt\",\"og:description\",\"twitter:url\",\"twitter:title\",\"twitter:description\",\"twitter:image\",\"twitter:image:alt\",\"twitter:card\",\"twitter:site\"]},L=Object.keys(I).map(function(te){return I[te]}),k={accesskey:\"accessKey\",charset:\"charSet\",class:\"className\",contenteditable:\"contentEditable\",contextmenu:\"contextMenu\",\"http-equiv\":\"httpEquiv\",itemprop:\"itemProp\",tabindex:\"tabIndex\"},U=Object.keys(k).reduce(function(te,se){return te[k[se]]=se,te},{}),x=function(te,se){for(var pe=te.length-1;pe>=0;pe-=1){var ee=te[pe];if(Object.prototype.hasOwnProperty.call(ee,se))return ee[se]}return null},F=function(te){var se=x(te,I.TITLE),pe=x(te,\"titleTemplate\");if(Array.isArray(se)&&(se=se.join(\"\")),pe&&se)return pe.replace(/%s/g,function(){return se});var ee=x(te,\"defaultTitle\");return se||ee||void 0},K=function(te){return x(te,\"onChangeClientState\")||function(){}},G=function(te,se){return se.filter(function(pe){return pe[te]!==void 0}).map(function(pe){return pe[te]}).reduce(function(pe,ee){return h({},pe,ee)},{})},q=function(te,se){return se.filter(function(pe){return pe[I.BASE]!==void 0}).map(function(pe){return pe[I.BASE]}).reverse().reduce(function(pe,ee){if(!pe.length)for(var Se=Object.keys(ee),Q=0;Q<Se.length;Q+=1){var Z=Se[Q].toLowerCase();if(te.indexOf(Z)!==-1&&ee[Z])return pe.concat(ee)}return pe},[])},X=function(te,se,pe){var ee={};return pe.filter(function(Se){return!!Array.isArray(Se[te])||(Se[te]!==void 0&&console&&typeof console.warn==\"function\"&&console.warn(\"Helmet: \"+te+' should be of type \"Array\". Instead found type \"'+typeof Se[te]+'\"'),!1)}).map(function(Se){return Se[te]}).reverse().reduce(function(Se,Q){var Z={};Q.filter(function(Oe){for(var We,ke=Object.keys(Oe),It=0;It<ke.length;It+=1){var ft=ke[It],nn=ft.toLowerCase();se.indexOf(nn)===-1||We===\"rel\"&&Oe[We].toLowerCase()===\"canonical\"||nn===\"rel\"&&Oe[nn].toLowerCase()===\"stylesheet\"||(We=nn),se.indexOf(ft)===-1||ft!==\"innerHTML\"&&ft!==\"cssText\"&&ft!==\"itemprop\"||(We=ft)}if(!We||!Oe[We])return!1;var b=Oe[We].toLowerCase();return ee[We]||(ee[We]={}),Z[We]||(Z[We]={}),!ee[We][b]&&(Z[We][b]=!0,!0)}).reverse().forEach(function(Oe){return Se.push(Oe)});for(var Y=Object.keys(Z),ue=0;ue<Y.length;ue+=1){var he=Y[ue],me=h({},ee[he],Z[he]);ee[he]=me}return Se},[]).reverse()},oe=function(te,se){if(Array.isArray(te)&&te.length){for(var pe=0;pe<te.length;pe+=1)if(te[pe][se])return!0}return!1},Ee=function(te){return Array.isArray(te)?te.join(\"\"):te},Te=function(te,se){return Array.isArray(te)?te.reduce(function(pe,ee){return function(Se,Q){for(var Z=Object.keys(Se),Y=0;Y<Z.length;Y+=1)if(Q[Z[Y]]&&Q[Z[Y]].includes(Se[Z[Y]]))return!0;return!1}(ee,se)?pe.priority.push(ee):pe.default.push(ee),pe},{priority:[],default:[]}):{default:te}},ae=function(te,se){var pe;return h({},te,((pe={})[se]=void 0,pe))},z=[I.NOSCRIPT,I.SCRIPT,I.STYLE],A=function(te,se){return se===void 0&&(se=!0),se===!1?String(te):String(te).replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\"/g,\"&quot;\").replace(/'/g,\"&#x27;\")},T=function(te){return Object.keys(te).reduce(function(se,pe){var ee=te[pe]!==void 0?pe+'=\"'+te[pe]+'\"':\"\"+pe;return se?se+\" \"+ee:ee},\"\")},R=function(te,se){return se===void 0&&(se={}),Object.keys(te).reduce(function(pe,ee){return pe[k[ee]||ee]=te[ee],pe},se)},j=function(te,se){return se.map(function(pe,ee){var Se,Q=((Se={key:ee})[\"data-rh\"]=!0,Se);return Object.keys(pe).forEach(function(Z){var Y=k[Z]||Z;Y===\"innerHTML\"||Y===\"cssText\"?Q.dangerouslySetInnerHTML={__html:pe.innerHTML||pe.cssText}:Q[Y]=pe[Z]}),a.createElement(te,Q)})},C=function(te,se,pe){switch(te){case I.TITLE:return{toComponent:function(){return Se=se.titleAttributes,(Q={key:ee=se.title})[\"data-rh\"]=!0,Z=R(Se,Q),[a.createElement(I.TITLE,Z,ee)];var ee,Se,Q,Z},toString:function(){return function(ee,Se,Q,Z){var Y=T(Q),ue=Ee(Se);return Y?\"<\"+ee+' data-rh=\"true\" '+Y+\">\"+A(ue,Z)+\"</\"+ee+\">\":\"<\"+ee+' data-rh=\"true\">'+A(ue,Z)+\"</\"+ee+\">\"}(te,se.title,se.titleAttributes,pe)}};case\"bodyAttributes\":case\"htmlAttributes\":return{toComponent:function(){return R(se)},toString:function(){return T(se)}};default:return{toComponent:function(){return j(te,se)},toString:function(){return function(ee,Se,Q){return Se.reduce(function(Z,Y){var ue=Object.keys(Y).filter(function(Oe){return!(Oe===\"innerHTML\"||Oe===\"cssText\")}).reduce(function(Oe,We){var ke=Y[We]===void 0?We:We+'=\"'+A(Y[We],Q)+'\"';return Oe?Oe+\" \"+ke:ke},\"\"),he=Y.innerHTML||Y.cssText||\"\",me=z.indexOf(ee)===-1;return Z+\"<\"+ee+' data-rh=\"true\" '+ue+(me?\"/>\":\">\"+he+\"</\"+ee+\">\")},\"\")}(te,se,pe)}}}},B=function(te){var se=te.baseTag,pe=te.bodyAttributes,ee=te.encode,Se=te.htmlAttributes,Q=te.noscriptTags,Z=te.styleTags,Y=te.title,ue=Y===void 0?\"\":Y,he=te.titleAttributes,me=te.linkTags,Oe=te.metaTags,We=te.scriptTags,ke={toComponent:function(){},toString:function(){return\"\"}};if(te.prioritizeSeoTags){var It=function(ft){var nn=ft.linkTags,b=ft.scriptTags,W=ft.encode,de=Te(ft.metaTags,M),ye=Te(nn,N),He=Te(b,_);return{priorityMethods:{toComponent:function(){return[].concat(j(I.META,de.priority),j(I.LINK,ye.priority),j(I.SCRIPT,He.priority))},toString:function(){return C(I.META,de.priority,W)+\" \"+C(I.LINK,ye.priority,W)+\" \"+C(I.SCRIPT,He.priority,W)}},metaTags:de.default,linkTags:ye.default,scriptTags:He.default}}(te);ke=It.priorityMethods,me=It.linkTags,Oe=It.metaTags,We=It.scriptTags}return{priority:ke,base:C(I.BASE,se,ee),bodyAttributes:C(\"bodyAttributes\",pe,ee),htmlAttributes:C(\"htmlAttributes\",Se,ee),link:C(I.LINK,me,ee),meta:C(I.META,Oe,ee),noscript:C(I.NOSCRIPT,Q,ee),script:C(I.SCRIPT,We,ee),style:C(I.STYLE,Z,ee),title:C(I.TITLE,{title:ue,titleAttributes:he},ee)}},fe=[],Ae=function(te,se){var pe=this;se===void 0&&(se=typeof document!=\"undefined\"),this.instances=[],this.value={setHelmet:function(ee){pe.context.helmet=ee},helmetInstances:{get:function(){return pe.canUseDOM?fe:pe.instances},add:function(ee){(pe.canUseDOM?fe:pe.instances).push(ee)},remove:function(ee){var Se=(pe.canUseDOM?fe:pe.instances).indexOf(ee);(pe.canUseDOM?fe:pe.instances).splice(Se,1)}}},this.context=te,this.canUseDOM=se,se||(te.helmet=B({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:\"\",titleAttributes:{}}))},ge=a.createContext({}),ce=r().shape({setHelmet:r().func,helmetInstances:r().shape({get:r().func,add:r().func,remove:r().func})}),Me=typeof document!=\"undefined\",_e=function(te){function se(pe){var ee;return(ee=te.call(this,pe)||this).helmetData=new Ae(ee.props.context,se.canUseDOM),ee}return g(se,te),se.prototype.render=function(){return a.createElement(ge.Provider,{value:this.helmetData.value},this.props.children)},se}(a.Component);_e.canUseDOM=Me,_e.propTypes={context:r().shape({helmet:r().shape()}),children:r().node.isRequired},_e.defaultProps={context:{}},_e.displayName=\"HelmetProvider\";var De=function(te,se){var pe,ee=document.head||document.querySelector(I.HEAD),Se=ee.querySelectorAll(te+\"[data-rh]\"),Q=[].slice.call(Se),Z=[];return se&&se.length&&se.forEach(function(Y){var ue=document.createElement(te);for(var he in Y)Object.prototype.hasOwnProperty.call(Y,he)&&(he===\"innerHTML\"?ue.innerHTML=Y.innerHTML:he===\"cssText\"?ue.styleSheet?ue.styleSheet.cssText=Y.cssText:ue.appendChild(document.createTextNode(Y.cssText)):ue.setAttribute(he,Y[he]===void 0?\"\":Y[he]));ue.setAttribute(\"data-rh\",\"true\"),Q.some(function(me,Oe){return pe=Oe,ue.isEqualNode(me)})?Q.splice(pe,1):Z.push(ue)}),Q.forEach(function(Y){return Y.parentNode.removeChild(Y)}),Z.forEach(function(Y){return ee.appendChild(Y)}),{oldTags:Q,newTags:Z}},Ce=function(te,se){var pe=document.getElementsByTagName(te)[0];if(pe){for(var ee=pe.getAttribute(\"data-rh\"),Se=ee?ee.split(\",\"):[],Q=[].concat(Se),Z=Object.keys(se),Y=0;Y<Z.length;Y+=1){var ue=Z[Y],he=se[ue]||\"\";pe.getAttribute(ue)!==he&&pe.setAttribute(ue,he),Se.indexOf(ue)===-1&&Se.push(ue);var me=Q.indexOf(ue);me!==-1&&Q.splice(me,1)}for(var Oe=Q.length-1;Oe>=0;Oe-=1)pe.removeAttribute(Q[Oe]);Se.length===Q.length?pe.removeAttribute(\"data-rh\"):pe.getAttribute(\"data-rh\")!==Z.join(\",\")&&pe.setAttribute(\"data-rh\",Z.join(\",\"))}},it=function(te,se){var pe=te.baseTag,ee=te.htmlAttributes,Se=te.linkTags,Q=te.metaTags,Z=te.noscriptTags,Y=te.onChangeClientState,ue=te.scriptTags,he=te.styleTags,me=te.title,Oe=te.titleAttributes;Ce(I.BODY,te.bodyAttributes),Ce(I.HTML,ee),function(ft,nn){ft!==void 0&&document.title!==ft&&(document.title=Ee(ft)),Ce(I.TITLE,nn)}(me,Oe);var We={baseTag:De(I.BASE,pe),linkTags:De(I.LINK,Se),metaTags:De(I.META,Q),noscriptTags:De(I.NOSCRIPT,Z),scriptTags:De(I.SCRIPT,ue),styleTags:De(I.STYLE,he)},ke={},It={};Object.keys(We).forEach(function(ft){var nn=We[ft],b=nn.newTags,W=nn.oldTags;b.length&&(ke[ft]=b),W.length&&(It[ft]=We[ft].oldTags)}),se&&se(),Y(te,ke,It)},V=null,we=function(te){function se(){for(var ee,Se=arguments.length,Q=new Array(Se),Z=0;Z<Se;Z++)Q[Z]=arguments[Z];return(ee=te.call.apply(te,[this].concat(Q))||this).rendered=!1,ee}g(se,te);var pe=se.prototype;return pe.shouldComponentUpdate=function(ee){return!p()(ee,this.props)},pe.componentDidUpdate=function(){this.emitChange()},pe.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},pe.emitChange=function(){var ee,Se,Q=this.props.context,Z=Q.setHelmet,Y=null,ue=(ee=Q.helmetInstances.get().map(function(he){var me=h({},he.props);return delete me.context,me}),{baseTag:q([\"href\"],ee),bodyAttributes:G(\"bodyAttributes\",ee),defer:x(ee,\"defer\"),encode:x(ee,\"encodeSpecialCharacters\"),htmlAttributes:G(\"htmlAttributes\",ee),linkTags:X(I.LINK,[\"rel\",\"href\"],ee),metaTags:X(I.META,[\"name\",\"charset\",\"http-equiv\",\"property\",\"itemprop\"],ee),noscriptTags:X(I.NOSCRIPT,[\"innerHTML\"],ee),onChangeClientState:K(ee),scriptTags:X(I.SCRIPT,[\"src\",\"innerHTML\"],ee),styleTags:X(I.STYLE,[\"cssText\"],ee),title:F(ee),titleAttributes:G(\"titleAttributes\",ee),prioritizeSeoTags:oe(ee,\"prioritizeSeoTags\")});_e.canUseDOM?(Se=ue,V&&cancelAnimationFrame(V),Se.defer?V=requestAnimationFrame(function(){it(Se,function(){V=null})}):(it(Se),V=null)):B&&(Y=B(ue)),Z(Y)},pe.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},pe.render=function(){return this.init(),null},se}(a.Component);we.propTypes={context:ce.isRequired},we.displayName=\"HelmetDispatcher\";var Ie=[\"children\"],le=[\"children\"],Ne=function(te){function se(){return te.apply(this,arguments)||this}g(se,te);var pe=se.prototype;return pe.shouldComponentUpdate=function(ee){return!l()(ae(this.props,\"helmetData\"),ae(ee,\"helmetData\"))},pe.mapNestedChildrenToProps=function(ee,Se){if(!Se)return null;switch(ee.type){case I.SCRIPT:case I.NOSCRIPT:return{innerHTML:Se};case I.STYLE:return{cssText:Se};default:throw new Error(\"<\"+ee.type+\" /> elements are self-closing and can not contain children. Refer to our API for more information.\")}},pe.flattenArrayTypeChildren=function(ee){var Se,Q=ee.child,Z=ee.arrayTypeChildren;return h({},Z,((Se={})[Q.type]=[].concat(Z[Q.type]||[],[h({},ee.newChildProps,this.mapNestedChildrenToProps(Q,ee.nestedChildren))]),Se))},pe.mapObjectTypeChildren=function(ee){var Se,Q,Z=ee.child,Y=ee.newProps,ue=ee.newChildProps,he=ee.nestedChildren;switch(Z.type){case I.TITLE:return h({},Y,((Se={})[Z.type]=he,Se.titleAttributes=h({},ue),Se));case I.BODY:return h({},Y,{bodyAttributes:h({},ue)});case I.HTML:return h({},Y,{htmlAttributes:h({},ue)});default:return h({},Y,((Q={})[Z.type]=h({},ue),Q))}},pe.mapArrayTypeChildrenToProps=function(ee,Se){var Q=h({},Se);return Object.keys(ee).forEach(function(Z){var Y;Q=h({},Q,((Y={})[Z]=ee[Z],Y))}),Q},pe.warnOnInvalidChildren=function(ee,Se){return f()(L.some(function(Q){return ee.type===Q}),typeof ee.type==\"function\"?\"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.\":\"Only elements types \"+L.join(\", \")+\" are allowed. Helmet does not support rendering <\"+ee.type+\"> elements. Refer to our API for more information.\"),f()(!Se||typeof Se==\"string\"||Array.isArray(Se)&&!Se.some(function(Q){return typeof Q!=\"string\"}),\"Helmet expects a string as a child of <\"+ee.type+\">. Did you forget to wrap your children in braces? ( <\"+ee.type+\">{``}</\"+ee.type+\"> ) Refer to our API for more information.\"),!0},pe.mapChildrenToProps=function(ee,Se){var Q=this,Z={};return a.Children.forEach(ee,function(Y){if(Y&&Y.props){var ue=Y.props,he=ue.children,me=S(ue,Ie),Oe=Object.keys(me).reduce(function(ke,It){return ke[U[It]||It]=me[It],ke},{}),We=Y.type;switch(typeof We==\"symbol\"?We=We.toString():Q.warnOnInvalidChildren(Y,he),We){case I.FRAGMENT:Se=Q.mapChildrenToProps(he,Se);break;case I.LINK:case I.META:case I.NOSCRIPT:case I.SCRIPT:case I.STYLE:Z=Q.flattenArrayTypeChildren({child:Y,arrayTypeChildren:Z,newChildProps:Oe,nestedChildren:he});break;default:Se=Q.mapObjectTypeChildren({child:Y,newProps:Se,newChildProps:Oe,nestedChildren:he})}}}),this.mapArrayTypeChildrenToProps(Z,Se)},pe.render=function(){var ee=this.props,Se=ee.children,Q=S(ee,le),Z=h({},Q),Y=Q.helmetData;return Se&&(Z=this.mapChildrenToProps(Se,Z)),!Y||Y instanceof Ae||(Y=new Ae(Y.context,Y.instances)),Y?a.createElement(we,h({},Z,{context:Y.value,helmetData:void 0})):a.createElement(ge.Consumer,null,function(ue){return a.createElement(we,h({},Z,{context:ue}))})},se}(a.Component);Ne.propTypes={base:r().object,bodyAttributes:r().object,children:r().oneOfType([r().arrayOf(r().node),r().node]),defaultTitle:r().string,defer:r().bool,encodeSpecialCharacters:r().bool,htmlAttributes:r().object,link:r().arrayOf(r().object),meta:r().arrayOf(r().object),noscript:r().arrayOf(r().object),onChangeClientState:r().func,script:r().arrayOf(r().object),style:r().arrayOf(r().object),title:r().string,titleAttributes:r().object,titleTemplate:r().string,prioritizeSeoTags:r().bool,helmetData:r().object},Ne.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Ne.displayName=\"Helmet\"},8067:function(c,m,e){\"use strict\";e.d(m,{_y:function(){return p},zt:function(){return v}});var a=e(50959),o=e(72535),r=e.n(o);function u(g){return g.displayName||g.name||\"Component\"}var l=typeof window!=\"undefined\"?window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=a.createContext(null)):a.createContext(null),d=l.Consumer,f=l.Provider,v=f,p=l;function h(g,y){var S=y||{},I=S.intlPropName,N=I===void 0?\"intl\":I,_=S.forwardRef,M=_===void 0?!1:_,L=S.enforceContext,k=L===void 0?!0:L,U=function(x){return React.createElement(d,null,function(F){var K;k&&invariantIntlContext(F);var G=(K={},K[N]=F,K);return React.createElement(g,__assign({},x,G,{ref:M?x.forwardedRef:null}))})};return U.displayName=\"injectIntl(\".concat(u(g),\")\"),U.WrappedComponent=g,M?hoistNonReactStatics(React.forwardRef(function(x,F){return React.createElement(U,__assign({},x,{forwardedRef:F}))}),g):hoistNonReactStatics(U,g)}},9e3:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return u}});var a=e(50959),o=e(8067),r=e(55267);function u(){var l=a.useContext(o._y);return(0,r.lq)(l),l}},55267:function(c,m,e){\"use strict\";e.d(m,{Z0:function(){return d},dt:function(){return f},lq:function(){return l},wU:function(){return v}});var a=e(96583),o=e(50959),r=e(34688),u=e(12216);function l(p){(0,r.kG)(p,\"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.\")}var d=(0,a.pi)((0,a.pi)({},u.Z0),{textComponent:o.Fragment});function f(p){return function(h){return p(o.Children.toArray(h))}}function v(p,h){if(p===h)return!0;if(!p||!h)return!1;var g=Object.keys(p),y=Object.keys(h),S=g.length;if(y.length!==S)return!1;for(var I=0;I<S;I++){var N=g[I];if(p[N]!==h[N]||!Object.prototype.hasOwnProperty.call(h,N))return!1}return!0}},60198:function(c,m){\"use strict\";var e=typeof Symbol==\"function\"&&Symbol.for,a=e?Symbol.for(\"react.element\"):60103,o=e?Symbol.for(\"react.portal\"):60106,r=e?Symbol.for(\"react.fragment\"):60107,u=e?Symbol.for(\"react.strict_mode\"):60108,l=e?Symbol.for(\"react.profiler\"):60114,d=e?Symbol.for(\"react.provider\"):60109,f=e?Symbol.for(\"react.context\"):60110,v=e?Symbol.for(\"react.async_mode\"):60111,p=e?Symbol.for(\"react.concurrent_mode\"):60111,h=e?Symbol.for(\"react.forward_ref\"):60112,g=e?Symbol.for(\"react.suspense\"):60113,y=e?Symbol.for(\"react.suspense_list\"):60120,S=e?Symbol.for(\"react.memo\"):60115,I=e?Symbol.for(\"react.lazy\"):60116,N=e?Symbol.for(\"react.block\"):60121,_=e?Symbol.for(\"react.fundamental\"):60117,M=e?Symbol.for(\"react.responder\"):60118,L=e?Symbol.for(\"react.scope\"):60119;function k(x){if(typeof x==\"object\"&&x!==null){var F=x.$$typeof;switch(F){case a:switch(x=x.type,x){case v:case p:case r:case l:case u:case g:return x;default:switch(x=x&&x.$$typeof,x){case f:case h:case I:case S:case d:return x;default:return F}}case o:return F}}}function U(x){return k(x)===p}m.AsyncMode=v,m.ConcurrentMode=p,m.ContextConsumer=f,m.ContextProvider=d,m.Element=a,m.ForwardRef=h,m.Fragment=r,m.Lazy=I,m.Memo=S,m.Portal=o,m.Profiler=l,m.StrictMode=u,m.Suspense=g,m.isAsyncMode=function(x){return U(x)||k(x)===v},m.isConcurrentMode=U,m.isContextConsumer=function(x){return k(x)===f},m.isContextProvider=function(x){return k(x)===d},m.isElement=function(x){return typeof x==\"object\"&&x!==null&&x.$$typeof===a},m.isForwardRef=function(x){return k(x)===h},m.isFragment=function(x){return k(x)===r},m.isLazy=function(x){return k(x)===I},m.isMemo=function(x){return k(x)===S},m.isPortal=function(x){return k(x)===o},m.isProfiler=function(x){return k(x)===l},m.isStrictMode=function(x){return k(x)===u},m.isSuspense=function(x){return k(x)===g},m.isValidElementType=function(x){return typeof x==\"string\"||typeof x==\"function\"||x===r||x===p||x===l||x===u||x===g||x===y||typeof x==\"object\"&&x!==null&&(x.$$typeof===I||x.$$typeof===S||x.$$typeof===d||x.$$typeof===f||x.$$typeof===h||x.$$typeof===_||x.$$typeof===M||x.$$typeof===L||x.$$typeof===N)},m.typeOf=k},56237:function(c,m,e){\"use strict\";c.exports=e(60198)},44492:function(c,m,e){\"use strict\";e.d(m,{F0:function(){return se},Fg:function(){return le},Gn:function(){return h},TH:function(){return fe},UO:function(){return Ce},V$:function(){return V},WU:function(){return it},fp:function(){return g},j3:function(){return Ne},oQ:function(){return C},pC:function(){return De},s0:function(){return ce}});var a=e(18280),o=e(50959);const r=(0,o.createContext)(null),u=(0,o.createContext)(null),l=(0,o.createContext)({outlet:null,matches:[]});function d(Q,Z){if(!Q)throw new Error(Z)}function f(Q,Z){if(!Q){typeof console!=\"undefined\"&&console.warn(Z);try{throw new Error(Z)}catch(Y){}}}const v={};function p(Q,Z,Y){!Z&&!v[Q]&&(v[Q]=!0)}function h(Q,Z){return Z===void 0&&(Z={}),Q.replace(/:(\\w+)/g,(Y,ue)=>(Z[ue]==null&&d(!1),Z[ue])).replace(/\\/*\\*$/,Y=>Z[\"*\"]==null?\"\":Z[\"*\"].replace(/^\\/*/,\"/\"))}function g(Q,Z,Y){Y===void 0&&(Y=\"/\");let ue=typeof Z==\"string\"?(0,a.cP)(Z):Z,he=z(ue.pathname||\"/\",Y);if(he==null)return null;let me=y(Q);S(me);let Oe=null;for(let We=0;Oe==null&&We<me.length;++We)Oe=K(me[We],he);return Oe}function y(Q,Z,Y,ue){return Z===void 0&&(Z=[]),Y===void 0&&(Y=[]),ue===void 0&&(ue=\"\"),Q.forEach((he,me)=>{let Oe={relativePath:he.path||\"\",caseSensitive:he.caseSensitive===!0,childrenIndex:me,route:he};Oe.relativePath.startsWith(\"/\")&&(Oe.relativePath.startsWith(ue)||d(!1),Oe.relativePath=Oe.relativePath.slice(ue.length));let We=A([ue,Oe.relativePath]),ke=Y.concat(Oe);he.children&&he.children.length>0&&(he.index===!0&&d(!1),y(he.children,Z,ke,We)),!(he.path==null&&!he.index)&&Z.push({path:We,score:x(We,he.index),routesMeta:ke})}),Z}function S(Q){Q.sort((Z,Y)=>Z.score!==Y.score?Y.score-Z.score:F(Z.routesMeta.map(ue=>ue.childrenIndex),Y.routesMeta.map(ue=>ue.childrenIndex)))}const I=/^:\\w+$/,N=3,_=2,M=1,L=10,k=-2,U=Q=>Q===\"*\";function x(Q,Z){let Y=Q.split(\"/\"),ue=Y.length;return Y.some(U)&&(ue+=k),Z&&(ue+=_),Y.filter(he=>!U(he)).reduce((he,me)=>he+(I.test(me)?N:me===\"\"?M:L),ue)}function F(Q,Z){return Q.length===Z.length&&Q.slice(0,-1).every((ue,he)=>ue===Z[he])?Q[Q.length-1]-Z[Z.length-1]:0}function K(Q,Z){let{routesMeta:Y}=Q,ue={},he=\"/\",me=[];for(let Oe=0;Oe<Y.length;++Oe){let We=Y[Oe],ke=Oe===Y.length-1,It=he===\"/\"?Z:Z.slice(he.length)||\"/\",ft=G({path:We.relativePath,caseSensitive:We.caseSensitive,end:ke},It);if(!ft)return null;Object.assign(ue,ft.params);let nn=We.route;me.push({params:ue,pathname:A([he,ft.pathname]),pathnameBase:T(A([he,ft.pathnameBase])),route:nn}),ft.pathnameBase!==\"/\"&&(he=A([he,ft.pathnameBase]))}return me}function G(Q,Z){typeof Q==\"string\"&&(Q={path:Q,caseSensitive:!1,end:!0});let[Y,ue]=q(Q.path,Q.caseSensitive,Q.end),he=Z.match(Y);if(!he)return null;let me=he[0],Oe=me.replace(/(.)\\/+$/,\"$1\"),We=he.slice(1);return{params:ue.reduce((It,ft,nn)=>{if(ft===\"*\"){let b=We[nn]||\"\";Oe=me.slice(0,me.length-b.length).replace(/(.)\\/+$/,\"$1\")}return It[ft]=X(We[nn]||\"\",ft),It},{}),pathname:me,pathnameBase:Oe,pattern:Q}}function q(Q,Z,Y){Z===void 0&&(Z=!1),Y===void 0&&(Y=!0);let ue=[],he=\"^\"+Q.replace(/\\/*\\*?$/,\"\").replace(/^\\/*/,\"/\").replace(/[\\\\.*+^$?{}|()[\\]]/g,\"\\\\$&\").replace(/:(\\w+)/g,(Oe,We)=>(ue.push(We),\"([^\\\\/]+)\"));return Q.endsWith(\"*\")?(ue.push(\"*\"),he+=Q===\"*\"||Q===\"/*\"?\"(.*)$\":\"(?:\\\\/(.+)|\\\\/*)$\"):he+=Y?\"\\\\/*$\":\"(?:(?=[.~-]|%[0-9A-F]{2})|\\\\b|\\\\/|$)\",[new RegExp(he,Z?void 0:\"i\"),ue]}function X(Q,Z){try{return decodeURIComponent(Q)}catch(Y){return Q}}function oe(Q,Z){Z===void 0&&(Z=\"/\");let{pathname:Y,search:ue=\"\",hash:he=\"\"}=typeof Q==\"string\"?(0,a.cP)(Q):Q;return{pathname:Y?Y.startsWith(\"/\")?Y:Ee(Y,Z):Z,search:R(ue),hash:j(he)}}function Ee(Q,Z){let Y=Z.replace(/\\/+$/,\"\").split(\"/\");return Q.split(\"/\").forEach(he=>{he===\"..\"?Y.length>1&&Y.pop():he!==\".\"&&Y.push(he)}),Y.length>1?Y.join(\"/\"):\"/\"}function Te(Q,Z,Y){let ue=typeof Q==\"string\"?(0,a.cP)(Q):Q,he=Q===\"\"||ue.pathname===\"\"?\"/\":ue.pathname,me;if(he==null)me=Y;else{let We=Z.length-1;if(he.startsWith(\"..\")){let ke=he.split(\"/\");for(;ke[0]===\"..\";)ke.shift(),We-=1;ue.pathname=ke.join(\"/\")}me=We>=0?Z[We]:\"/\"}let Oe=oe(ue,me);return he&&he!==\"/\"&&he.endsWith(\"/\")&&!Oe.pathname.endsWith(\"/\")&&(Oe.pathname+=\"/\"),Oe}function ae(Q){return Q===\"\"||Q.pathname===\"\"?\"/\":typeof Q==\"string\"?(0,a.cP)(Q).pathname:Q.pathname}function z(Q,Z){if(Z===\"/\")return Q;if(!Q.toLowerCase().startsWith(Z.toLowerCase()))return null;let Y=Q.charAt(Z.length);return Y&&Y!==\"/\"?null:Q.slice(Z.length)||\"/\"}const A=Q=>Q.join(\"/\").replace(/\\/\\/+/g,\"/\"),T=Q=>Q.replace(/\\/+$/,\"\").replace(/^\\/*/,\"/\"),R=Q=>!Q||Q===\"?\"?\"\":Q.startsWith(\"?\")?Q:\"?\"+Q,j=Q=>!Q||Q===\"#\"?\"\":Q.startsWith(\"#\")?Q:\"#\"+Q;function C(Q){B()||d(!1);let{basename:Z,navigator:Y}=(0,o.useContext)(r),{hash:ue,pathname:he,search:me}=it(Q),Oe=he;if(Z!==\"/\"){let We=ae(Q),ke=We!=null&&We.endsWith(\"/\");Oe=he===\"/\"?Z+(ke?\"/\":\"\"):A([Z,he])}return Y.createHref({pathname:Oe,search:me,hash:ue})}function B(){return(0,o.useContext)(u)!=null}function fe(){return B()||d(!1),(0,o.useContext)(u).location}function Ae(){return useContext(u).navigationType}function ge(Q){B()||d(!1);let{pathname:Z}=fe();return useMemo(()=>G(Q,Z),[Z,Q])}function ce(){B()||d(!1);let{basename:Q,navigator:Z}=(0,o.useContext)(r),{matches:Y}=(0,o.useContext)(l),{pathname:ue}=fe(),he=JSON.stringify(Y.map(We=>We.pathnameBase)),me=(0,o.useRef)(!1);return(0,o.useEffect)(()=>{me.current=!0}),(0,o.useCallback)(function(We,ke){if(ke===void 0&&(ke={}),!me.current)return;if(typeof We==\"number\"){Z.go(We);return}let It=Te(We,JSON.parse(he),ue);Q!==\"/\"&&(It.pathname=A([Q,It.pathname])),(ke.replace?Z.replace:Z.push)(It,ke.state)},[Q,Z,he,ue])}const Me=(0,o.createContext)(null);function _e(){return useContext(Me)}function De(Q){let Z=(0,o.useContext)(l).outlet;return Z&&(0,o.createElement)(Me.Provider,{value:Q},Z)}function Ce(){let{matches:Q}=(0,o.useContext)(l),Z=Q[Q.length-1];return Z?Z.params:{}}function it(Q){let{matches:Z}=(0,o.useContext)(l),{pathname:Y}=fe(),ue=JSON.stringify(Z.map(he=>he.pathnameBase));return(0,o.useMemo)(()=>Te(Q,JSON.parse(ue),Y),[Q,ue,Y])}function V(Q,Z){B()||d(!1);let{matches:Y}=(0,o.useContext)(l),ue=Y[Y.length-1],he=ue?ue.params:{},me=ue?ue.pathname:\"/\",Oe=ue?ue.pathnameBase:\"/\",We=ue&&ue.route,ke=fe(),It;if(Z){var ft;let de=typeof Z==\"string\"?(0,a.cP)(Z):Z;Oe===\"/\"||(ft=de.pathname)!=null&&ft.startsWith(Oe)||d(!1),It=de}else It=ke;let nn=It.pathname||\"/\",b=Oe===\"/\"?nn:nn.slice(Oe.length)||\"/\",W=g(Q,{pathname:b});return we(W&&W.map(de=>Object.assign({},de,{params:Object.assign({},he,de.params),pathname:A([Oe,de.pathname]),pathnameBase:de.pathnameBase===\"/\"?Oe:A([Oe,de.pathnameBase])})),Y)}function we(Q,Z){return Z===void 0&&(Z=[]),Q==null?null:Q.reduceRight((Y,ue,he)=>(0,o.createElement)(l.Provider,{children:ue.route.element!==void 0?ue.route.element:Y,value:{outlet:Y,matches:Z.concat(Q.slice(0,he+1))}}),null)}function Ie(Q){let{basename:Z,children:Y,initialEntries:ue,initialIndex:he}=Q,me=useRef();me.current==null&&(me.current=createMemoryHistory({initialEntries:ue,initialIndex:he}));let Oe=me.current,[We,ke]=useState({action:Oe.action,location:Oe.location});return useLayoutEffect(()=>Oe.listen(ke),[Oe]),createElement(se,{basename:Z,children:Y,location:We.location,navigationType:We.action,navigator:Oe})}function le(Q){let{to:Z,replace:Y,state:ue}=Q;B()||d(!1);let he=ce();return(0,o.useEffect)(()=>{he(Z,{replace:Y,state:ue})}),null}function Ne(Q){return De(Q.context)}function te(Q){d(!1)}function se(Q){let{basename:Z=\"/\",children:Y=null,location:ue,navigationType:he=a.aU.Pop,navigator:me,static:Oe=!1}=Q;B()&&d(!1);let We=T(Z),ke=(0,o.useMemo)(()=>({basename:We,navigator:me,static:Oe}),[We,me,Oe]);typeof ue==\"string\"&&(ue=(0,a.cP)(ue));let{pathname:It=\"/\",search:ft=\"\",hash:nn=\"\",state:b=null,key:W=\"default\"}=ue,de=(0,o.useMemo)(()=>{let ye=z(It,We);return ye==null?null:{pathname:ye,search:ft,hash:nn,state:b,key:W}},[We,It,ft,nn,b,W]);return de==null?null:(0,o.createElement)(r.Provider,{value:ke},(0,o.createElement)(u.Provider,{children:Y,value:{location:de,navigationType:he}}))}function pe(Q){let{children:Z,location:Y}=Q;return V(ee(Z),Y)}function ee(Q){let Z=[];return Children.forEach(Q,Y=>{if(!isValidElement(Y))return;if(Y.type===Fragment){Z.push.apply(Z,ee(Y.props.children));return}Y.type!==te&&d(!1);let ue={caseSensitive:Y.props.caseSensitive,element:Y.props.element,index:Y.props.index,path:Y.props.path};Y.props.children&&(ue.children=ee(Y.props.children)),Z.push(ue)}),Z}function Se(Q){return we(Q)}},3354:function(c,m,e){\"use strict\";var a=e(50959),o=Symbol.for(\"react.element\"),r=Symbol.for(\"react.fragment\"),u=Object.prototype.hasOwnProperty,l=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,d={key:!0,ref:!0,__self:!0,__source:!0};function f(v,p,h){var g,y={},S=null,I=null;h!==void 0&&(S=\"\"+h),p.key!==void 0&&(S=\"\"+p.key),p.ref!==void 0&&(I=p.ref);for(g in p)u.call(p,g)&&!d.hasOwnProperty(g)&&(y[g]=p[g]);if(v&&v.defaultProps)for(g in p=v.defaultProps,p)y[g]===void 0&&(y[g]=p[g]);return{$$typeof:o,type:v,key:S,ref:I,props:y,_owner:l.current}}m.Fragment=r,m.jsx=f,m.jsxs=f},95257:function(c,m){\"use strict\";var e=Symbol.for(\"react.element\"),a=Symbol.for(\"react.portal\"),o=Symbol.for(\"react.fragment\"),r=Symbol.for(\"react.strict_mode\"),u=Symbol.for(\"react.profiler\"),l=Symbol.for(\"react.provider\"),d=Symbol.for(\"react.context\"),f=Symbol.for(\"react.forward_ref\"),v=Symbol.for(\"react.suspense\"),p=Symbol.for(\"react.memo\"),h=Symbol.for(\"react.lazy\"),g=Symbol.iterator;function y(C){return C===null||typeof C!=\"object\"?null:(C=g&&C[g]||C[\"@@iterator\"],typeof C==\"function\"?C:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},I=Object.assign,N={};function _(C,B,fe){this.props=C,this.context=B,this.refs=N,this.updater=fe||S}_.prototype.isReactComponent={},_.prototype.setState=function(C,B){if(typeof C!=\"object\"&&typeof C!=\"function\"&&C!=null)throw Error(\"setState(...): takes an object of state variables to update or a function which returns an object of state variables.\");this.updater.enqueueSetState(this,C,B,\"setState\")},_.prototype.forceUpdate=function(C){this.updater.enqueueForceUpdate(this,C,\"forceUpdate\")};function M(){}M.prototype=_.prototype;function L(C,B,fe){this.props=C,this.context=B,this.refs=N,this.updater=fe||S}var k=L.prototype=new M;k.constructor=L,I(k,_.prototype),k.isPureReactComponent=!0;var U=Array.isArray,x=Object.prototype.hasOwnProperty,F={current:null},K={key:!0,ref:!0,__self:!0,__source:!0};function G(C,B,fe){var Ae,ge={},ce=null,Me=null;if(B!=null)for(Ae in B.ref!==void 0&&(Me=B.ref),B.key!==void 0&&(ce=\"\"+B.key),B)x.call(B,Ae)&&!K.hasOwnProperty(Ae)&&(ge[Ae]=B[Ae]);var _e=arguments.length-2;if(_e===1)ge.children=fe;else if(1<_e){for(var De=Array(_e),Ce=0;Ce<_e;Ce++)De[Ce]=arguments[Ce+2];ge.children=De}if(C&&C.defaultProps)for(Ae in _e=C.defaultProps,_e)ge[Ae]===void 0&&(ge[Ae]=_e[Ae]);return{$$typeof:e,type:C,key:ce,ref:Me,props:ge,_owner:F.current}}function q(C,B){return{$$typeof:e,type:C.type,key:B,ref:C.ref,props:C.props,_owner:C._owner}}function X(C){return typeof C==\"object\"&&C!==null&&C.$$typeof===e}function oe(C){var B={\"=\":\"=0\",\":\":\"=2\"};return\"$\"+C.replace(/[=:]/g,function(fe){return B[fe]})}var Ee=/\\/+/g;function Te(C,B){return typeof C==\"object\"&&C!==null&&C.key!=null?oe(\"\"+C.key):B.toString(36)}function ae(C,B,fe,Ae,ge){var ce=typeof C;(ce===\"undefined\"||ce===\"boolean\")&&(C=null);var Me=!1;if(C===null)Me=!0;else switch(ce){case\"string\":case\"number\":Me=!0;break;case\"object\":switch(C.$$typeof){case e:case a:Me=!0}}if(Me)return Me=C,ge=ge(Me),C=Ae===\"\"?\".\"+Te(Me,0):Ae,U(ge)?(fe=\"\",C!=null&&(fe=C.replace(Ee,\"$&/\")+\"/\"),ae(ge,B,fe,\"\",function(Ce){return Ce})):ge!=null&&(X(ge)&&(ge=q(ge,fe+(!ge.key||Me&&Me.key===ge.key?\"\":(\"\"+ge.key).replace(Ee,\"$&/\")+\"/\")+C)),B.push(ge)),1;if(Me=0,Ae=Ae===\"\"?\".\":Ae+\":\",U(C))for(var _e=0;_e<C.length;_e++){ce=C[_e];var De=Ae+Te(ce,_e);Me+=ae(ce,B,fe,De,ge)}else if(De=y(C),typeof De==\"function\")for(C=De.call(C),_e=0;!(ce=C.next()).done;)ce=ce.value,De=Ae+Te(ce,_e++),Me+=ae(ce,B,fe,De,ge);else if(ce===\"object\")throw B=String(C),Error(\"Objects are not valid as a React child (found: \"+(B===\"[object Object]\"?\"object with keys {\"+Object.keys(C).join(\", \")+\"}\":B)+\"). If you meant to render a collection of children, use an array instead.\");return Me}function z(C,B,fe){if(C==null)return C;var Ae=[],ge=0;return ae(C,Ae,\"\",\"\",function(ce){return B.call(fe,ce,ge++)}),Ae}function A(C){if(C._status===-1){var B=C._result;B=B(),B.then(function(fe){(C._status===0||C._status===-1)&&(C._status=1,C._result=fe)},function(fe){(C._status===0||C._status===-1)&&(C._status=2,C._result=fe)}),C._status===-1&&(C._status=0,C._result=B)}if(C._status===1)return C._result.default;throw C._result}var T={current:null},R={transition:null},j={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:R,ReactCurrentOwner:F};m.Children={map:z,forEach:function(C,B,fe){z(C,function(){B.apply(this,arguments)},fe)},count:function(C){var B=0;return z(C,function(){B++}),B},toArray:function(C){return z(C,function(B){return B})||[]},only:function(C){if(!X(C))throw Error(\"React.Children.only expected to receive a single React element child.\");return C}},m.Component=_,m.Fragment=o,m.Profiler=u,m.PureComponent=L,m.StrictMode=r,m.Suspense=v,m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=j,m.cloneElement=function(C,B,fe){if(C==null)throw Error(\"React.cloneElement(...): The argument must be a React element, but you passed \"+C+\".\");var Ae=I({},C.props),ge=C.key,ce=C.ref,Me=C._owner;if(B!=null){if(B.ref!==void 0&&(ce=B.ref,Me=F.current),B.key!==void 0&&(ge=\"\"+B.key),C.type&&C.type.defaultProps)var _e=C.type.defaultProps;for(De in B)x.call(B,De)&&!K.hasOwnProperty(De)&&(Ae[De]=B[De]===void 0&&_e!==void 0?_e[De]:B[De])}var De=arguments.length-2;if(De===1)Ae.children=fe;else if(1<De){_e=Array(De);for(var Ce=0;Ce<De;Ce++)_e[Ce]=arguments[Ce+2];Ae.children=_e}return{$$typeof:e,type:C.type,key:ge,ref:ce,props:Ae,_owner:Me}},m.createContext=function(C){return C={$$typeof:d,_currentValue:C,_currentValue2:C,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},C.Provider={$$typeof:l,_context:C},C.Consumer=C},m.createElement=G,m.createFactory=function(C){var B=G.bind(null,C);return B.type=C,B},m.createRef=function(){return{current:null}},m.forwardRef=function(C){return{$$typeof:f,render:C}},m.isValidElement=X,m.lazy=function(C){return{$$typeof:h,_payload:{_status:-1,_result:C},_init:A}},m.memo=function(C,B){return{$$typeof:p,type:C,compare:B===void 0?null:B}},m.startTransition=function(C){var B=R.transition;R.transition={};try{C()}finally{R.transition=B}},m.unstable_act=function(){throw Error(\"act(...) is not supported in production builds of React.\")},m.useCallback=function(C,B){return T.current.useCallback(C,B)},m.useContext=function(C){return T.current.useContext(C)},m.useDebugValue=function(){},m.useDeferredValue=function(C){return T.current.useDeferredValue(C)},m.useEffect=function(C,B){return T.current.useEffect(C,B)},m.useId=function(){return T.current.useId()},m.useImperativeHandle=function(C,B,fe){return T.current.useImperativeHandle(C,B,fe)},m.useInsertionEffect=function(C,B){return T.current.useInsertionEffect(C,B)},m.useLayoutEffect=function(C,B){return T.current.useLayoutEffect(C,B)},m.useMemo=function(C,B){return T.current.useMemo(C,B)},m.useReducer=function(C,B,fe){return T.current.useReducer(C,B,fe)},m.useRef=function(C){return T.current.useRef(C)},m.useState=function(C){return T.current.useState(C)},m.useSyncExternalStore=function(C,B,fe){return T.current.useSyncExternalStore(C,B,fe)},m.useTransition=function(){return T.current.useTransition()},m.version=\"18.2.0\"},50959:function(c,m,e){\"use strict\";c.exports=e(95257)},11527:function(c,m,e){\"use strict\";c.exports=e(3354)},90250:function(c){var m=function(e){\"use strict\";var a=Object.prototype,o=a.hasOwnProperty,r=Object.defineProperty||function(T,R,j){T[R]=j.value},u,l=typeof Symbol==\"function\"?Symbol:{},d=l.iterator||\"@@iterator\",f=l.asyncIterator||\"@@asyncIterator\",v=l.toStringTag||\"@@toStringTag\";function p(T,R,j){return Object.defineProperty(T,R,{value:j,enumerable:!0,configurable:!0,writable:!0}),T[R]}try{p({},\"\")}catch(T){p=function(R,j,C){return R[j]=C}}function h(T,R,j,C){var B=R&&R.prototype instanceof M?R:M,fe=Object.create(B.prototype),Ae=new ae(C||[]);return r(fe,\"_invoke\",{value:X(T,j,Ae)}),fe}e.wrap=h;function g(T,R,j){try{return{type:\"normal\",arg:T.call(R,j)}}catch(C){return{type:\"throw\",arg:C}}}var y=\"suspendedStart\",S=\"suspendedYield\",I=\"executing\",N=\"completed\",_={};function M(){}function L(){}function k(){}var U={};p(U,d,function(){return this});var x=Object.getPrototypeOf,F=x&&x(x(z([])));F&&F!==a&&o.call(F,d)&&(U=F);var K=k.prototype=M.prototype=Object.create(U);L.prototype=k,r(K,\"constructor\",{value:k,configurable:!0}),r(k,\"constructor\",{value:L,configurable:!0}),L.displayName=p(k,v,\"GeneratorFunction\");function G(T){[\"next\",\"throw\",\"return\"].forEach(function(R){p(T,R,function(j){return this._invoke(R,j)})})}e.isGeneratorFunction=function(T){var R=typeof T==\"function\"&&T.constructor;return R?R===L||(R.displayName||R.name)===\"GeneratorFunction\":!1},e.mark=function(T){return Object.setPrototypeOf?Object.setPrototypeOf(T,k):(T.__proto__=k,p(T,v,\"GeneratorFunction\")),T.prototype=Object.create(K),T},e.awrap=function(T){return{__await:T}};function q(T,R){function j(fe,Ae,ge,ce){var Me=g(T[fe],T,Ae);if(Me.type===\"throw\")ce(Me.arg);else{var _e=Me.arg,De=_e.value;return De&&typeof De==\"object\"&&o.call(De,\"__await\")?R.resolve(De.__await).then(function(Ce){j(\"next\",Ce,ge,ce)},function(Ce){j(\"throw\",Ce,ge,ce)}):R.resolve(De).then(function(Ce){_e.value=Ce,ge(_e)},function(Ce){return j(\"throw\",Ce,ge,ce)})}}var C;function B(fe,Ae){function ge(){return new R(function(ce,Me){j(fe,Ae,ce,Me)})}return C=C?C.then(ge,ge):ge()}r(this,\"_invoke\",{value:B})}G(q.prototype),p(q.prototype,f,function(){return this}),e.AsyncIterator=q,e.async=function(T,R,j,C,B){B===void 0&&(B=Promise);var fe=new q(h(T,R,j,C),B);return e.isGeneratorFunction(R)?fe:fe.next().then(function(Ae){return Ae.done?Ae.value:fe.next()})};function X(T,R,j){var C=y;return function(fe,Ae){if(C===I)throw new Error(\"Generator is already running\");if(C===N){if(fe===\"throw\")throw Ae;return A()}for(j.method=fe,j.arg=Ae;;){var ge=j.delegate;if(ge){var ce=oe(ge,j);if(ce){if(ce===_)continue;return ce}}if(j.method===\"next\")j.sent=j._sent=j.arg;else if(j.method===\"throw\"){if(C===y)throw C=N,j.arg;j.dispatchException(j.arg)}else j.method===\"return\"&&j.abrupt(\"return\",j.arg);C=I;var Me=g(T,R,j);if(Me.type===\"normal\"){if(C=j.done?N:S,Me.arg===_)continue;return{value:Me.arg,done:j.done}}else Me.type===\"throw\"&&(C=N,j.method=\"throw\",j.arg=Me.arg)}}}function oe(T,R){var j=R.method,C=T.iterator[j];if(C===u)return R.delegate=null,j===\"throw\"&&T.iterator.return&&(R.method=\"return\",R.arg=u,oe(T,R),R.method===\"throw\")||j!==\"return\"&&(R.method=\"throw\",R.arg=new TypeError(\"The iterator does not provide a '\"+j+\"' method\")),_;var B=g(C,T.iterator,R.arg);if(B.type===\"throw\")return R.method=\"throw\",R.arg=B.arg,R.delegate=null,_;var fe=B.arg;if(!fe)return R.method=\"throw\",R.arg=new TypeError(\"iterator result is not an object\"),R.delegate=null,_;if(fe.done)R[T.resultName]=fe.value,R.next=T.nextLoc,R.method!==\"return\"&&(R.method=\"next\",R.arg=u);else return fe;return R.delegate=null,_}G(K),p(K,v,\"Generator\"),p(K,d,function(){return this}),p(K,\"toString\",function(){return\"[object Generator]\"});function Ee(T){var R={tryLoc:T[0]};1 in T&&(R.catchLoc=T[1]),2 in T&&(R.finallyLoc=T[2],R.afterLoc=T[3]),this.tryEntries.push(R)}function Te(T){var R=T.completion||{};R.type=\"normal\",delete R.arg,T.completion=R}function ae(T){this.tryEntries=[{tryLoc:\"root\"}],T.forEach(Ee,this),this.reset(!0)}e.keys=function(T){var R=Object(T),j=[];for(var C in R)j.push(C);return j.reverse(),function B(){for(;j.length;){var fe=j.pop();if(fe in R)return B.value=fe,B.done=!1,B}return B.done=!0,B}};function z(T){if(T){var R=T[d];if(R)return R.call(T);if(typeof T.next==\"function\")return T;if(!isNaN(T.length)){var j=-1,C=function B(){for(;++j<T.length;)if(o.call(T,j))return B.value=T[j],B.done=!1,B;return B.value=u,B.done=!0,B};return C.next=C}}return{next:A}}e.values=z;function A(){return{value:u,done:!0}}return ae.prototype={constructor:ae,reset:function(T){if(this.prev=0,this.next=0,this.sent=this._sent=u,this.done=!1,this.delegate=null,this.method=\"next\",this.arg=u,this.tryEntries.forEach(Te),!T)for(var R in this)R.charAt(0)===\"t\"&&o.call(this,R)&&!isNaN(+R.slice(1))&&(this[R]=u)},stop:function(){this.done=!0;var T=this.tryEntries[0],R=T.completion;if(R.type===\"throw\")throw R.arg;return this.rval},dispatchException:function(T){if(this.done)throw T;var R=this;function j(ce,Me){return fe.type=\"throw\",fe.arg=T,R.next=ce,Me&&(R.method=\"next\",R.arg=u),!!Me}for(var C=this.tryEntries.length-1;C>=0;--C){var B=this.tryEntries[C],fe=B.completion;if(B.tryLoc===\"root\")return j(\"end\");if(B.tryLoc<=this.prev){var Ae=o.call(B,\"catchLoc\"),ge=o.call(B,\"finallyLoc\");if(Ae&&ge){if(this.prev<B.catchLoc)return j(B.catchLoc,!0);if(this.prev<B.finallyLoc)return j(B.finallyLoc)}else if(Ae){if(this.prev<B.catchLoc)return j(B.catchLoc,!0)}else if(ge){if(this.prev<B.finallyLoc)return j(B.finallyLoc)}else throw new Error(\"try statement without catch or finally\")}}},abrupt:function(T,R){for(var j=this.tryEntries.length-1;j>=0;--j){var C=this.tryEntries[j];if(C.tryLoc<=this.prev&&o.call(C,\"finallyLoc\")&&this.prev<C.finallyLoc){var B=C;break}}B&&(T===\"break\"||T===\"continue\")&&B.tryLoc<=R&&R<=B.finallyLoc&&(B=null);var fe=B?B.completion:{};return fe.type=T,fe.arg=R,B?(this.method=\"next\",this.next=B.finallyLoc,_):this.complete(fe)},complete:function(T,R){if(T.type===\"throw\")throw T.arg;return T.type===\"break\"||T.type===\"continue\"?this.next=T.arg:T.type===\"return\"?(this.rval=this.arg=T.arg,this.method=\"return\",this.next=\"end\"):T.type===\"normal\"&&R&&(this.next=R),_},finish:function(T){for(var R=this.tryEntries.length-1;R>=0;--R){var j=this.tryEntries[R];if(j.finallyLoc===T)return this.complete(j.completion,j.afterLoc),Te(j),_}},catch:function(T){for(var R=this.tryEntries.length-1;R>=0;--R){var j=this.tryEntries[R];if(j.tryLoc===T){var C=j.completion;if(C.type===\"throw\"){var B=C.arg;Te(j)}return B}}throw new Error(\"illegal catch attempt\")},delegateYield:function(T,R,j){return this.delegate={iterator:z(T),resultName:R,nextLoc:j},this.method===\"next\"&&(this.arg=u),_}},e}(c.exports);try{regeneratorRuntime=m}catch(e){typeof globalThis==\"object\"?globalThis.regeneratorRuntime=m:Function(\"r\",\"regeneratorRuntime = r\")(m)}},73023:function(c,m,e){\"use strict\";var a=function(){if(typeof Map!=\"undefined\")return Map;function ae(z,A){var T=-1;return z.some(function(R,j){return R[0]===A?(T=j,!0):!1}),T}return function(){function z(){this.__entries__=[]}return Object.defineProperty(z.prototype,\"size\",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),z.prototype.get=function(A){var T=ae(this.__entries__,A),R=this.__entries__[T];return R&&R[1]},z.prototype.set=function(A,T){var R=ae(this.__entries__,A);~R?this.__entries__[R][1]=T:this.__entries__.push([A,T])},z.prototype.delete=function(A){var T=this.__entries__,R=ae(T,A);~R&&T.splice(R,1)},z.prototype.has=function(A){return!!~ae(this.__entries__,A)},z.prototype.clear=function(){this.__entries__.splice(0)},z.prototype.forEach=function(A,T){T===void 0&&(T=null);for(var R=0,j=this.__entries__;R<j.length;R++){var C=j[R];A.call(T,C[1],C[0])}},z}()}(),o=typeof window!=\"undefined\"&&typeof document!=\"undefined\"&&window.document===document,r=function(){return typeof e.g!=\"undefined\"&&e.g.Math===Math?e.g:typeof self!=\"undefined\"&&self.Math===Math?self:typeof window!=\"undefined\"&&window.Math===Math?window:Function(\"return this\")()}(),u=function(){return typeof requestAnimationFrame==\"function\"?requestAnimationFrame.bind(r):function(ae){return setTimeout(function(){return ae(Date.now())},1e3/60)}}(),l=2;function d(ae,z){var A=!1,T=!1,R=0;function j(){A&&(A=!1,ae()),T&&B()}function C(){u(j)}function B(){var fe=Date.now();if(A){if(fe-R<l)return;T=!0}else A=!0,T=!1,setTimeout(C,z);R=fe}return B}var f=20,v=[\"top\",\"right\",\"bottom\",\"left\",\"width\",\"height\",\"size\",\"weight\"],p=typeof MutationObserver!=\"undefined\",h=function(){function ae(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=d(this.refresh.bind(this),f)}return ae.prototype.addObserver=function(z){~this.observers_.indexOf(z)||this.observers_.push(z),this.connected_||this.connect_()},ae.prototype.removeObserver=function(z){var A=this.observers_,T=A.indexOf(z);~T&&A.splice(T,1),!A.length&&this.connected_&&this.disconnect_()},ae.prototype.refresh=function(){var z=this.updateObservers_();z&&this.refresh()},ae.prototype.updateObservers_=function(){var z=this.observers_.filter(function(A){return A.gatherActive(),A.hasActive()});return z.forEach(function(A){return A.broadcastActive()}),z.length>0},ae.prototype.connect_=function(){!o||this.connected_||(document.addEventListener(\"transitionend\",this.onTransitionEnd_),window.addEventListener(\"resize\",this.refresh),p?(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)},ae.prototype.disconnect_=function(){!o||!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)},ae.prototype.onTransitionEnd_=function(z){var A=z.propertyName,T=A===void 0?\"\":A,R=v.some(function(j){return!!~T.indexOf(j)});R&&this.refresh()},ae.getInstance=function(){return this.instance_||(this.instance_=new ae),this.instance_},ae.instance_=null,ae}(),g=function(ae,z){for(var A=0,T=Object.keys(z);A<T.length;A++){var R=T[A];Object.defineProperty(ae,R,{value:z[R],enumerable:!1,writable:!1,configurable:!0})}return ae},y=function(ae){var z=ae&&ae.ownerDocument&&ae.ownerDocument.defaultView;return z||r},S=K(0,0,0,0);function I(ae){return parseFloat(ae)||0}function N(ae){for(var z=[],A=1;A<arguments.length;A++)z[A-1]=arguments[A];return z.reduce(function(T,R){var j=ae[\"border-\"+R+\"-width\"];return T+I(j)},0)}function _(ae){for(var z=[\"top\",\"right\",\"bottom\",\"left\"],A={},T=0,R=z;T<R.length;T++){var j=R[T],C=ae[\"padding-\"+j];A[j]=I(C)}return A}function M(ae){var z=ae.getBBox();return K(0,0,z.width,z.height)}function L(ae){var z=ae.clientWidth,A=ae.clientHeight;if(!z&&!A)return S;var T=y(ae).getComputedStyle(ae),R=_(T),j=R.left+R.right,C=R.top+R.bottom,B=I(T.width),fe=I(T.height);if(T.boxSizing===\"border-box\"&&(Math.round(B+j)!==z&&(B-=N(T,\"left\",\"right\")+j),Math.round(fe+C)!==A&&(fe-=N(T,\"top\",\"bottom\")+C)),!U(ae)){var Ae=Math.round(B+j)-z,ge=Math.round(fe+C)-A;Math.abs(Ae)!==1&&(B-=Ae),Math.abs(ge)!==1&&(fe-=ge)}return K(R.left,R.top,B,fe)}var k=function(){return typeof SVGGraphicsElement!=\"undefined\"?function(ae){return ae instanceof y(ae).SVGGraphicsElement}:function(ae){return ae instanceof y(ae).SVGElement&&typeof ae.getBBox==\"function\"}}();function U(ae){return ae===y(ae).document.documentElement}function x(ae){return o?k(ae)?M(ae):L(ae):S}function F(ae){var z=ae.x,A=ae.y,T=ae.width,R=ae.height,j=typeof DOMRectReadOnly!=\"undefined\"?DOMRectReadOnly:Object,C=Object.create(j.prototype);return g(C,{x:z,y:A,width:T,height:R,top:A,right:z+T,bottom:R+A,left:z}),C}function K(ae,z,A,T){return{x:ae,y:z,width:A,height:T}}var G=function(){function ae(z){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=K(0,0,0,0),this.target=z}return ae.prototype.isActive=function(){var z=x(this.target);return this.contentRect_=z,z.width!==this.broadcastWidth||z.height!==this.broadcastHeight},ae.prototype.broadcastRect=function(){var z=this.contentRect_;return this.broadcastWidth=z.width,this.broadcastHeight=z.height,z},ae}(),q=function(){function ae(z,A){var T=F(A);g(this,{target:z,contentRect:T})}return ae}(),X=function(){function ae(z,A,T){if(this.activeObservations_=[],this.observations_=new a,typeof z!=\"function\")throw new TypeError(\"The callback provided as parameter 1 is not a function.\");this.callback_=z,this.controller_=A,this.callbackCtx_=T}return ae.prototype.observe=function(z){if(!arguments.length)throw new TypeError(\"1 argument required, but only 0 present.\");if(!(typeof Element==\"undefined\"||!(Element instanceof Object))){if(!(z instanceof y(z).Element))throw new TypeError('parameter 1 is not of type \"Element\".');var A=this.observations_;A.has(z)||(A.set(z,new G(z)),this.controller_.addObserver(this),this.controller_.refresh())}},ae.prototype.unobserve=function(z){if(!arguments.length)throw new TypeError(\"1 argument required, but only 0 present.\");if(!(typeof Element==\"undefined\"||!(Element instanceof Object))){if(!(z instanceof y(z).Element))throw new TypeError('parameter 1 is not of type \"Element\".');var A=this.observations_;A.has(z)&&(A.delete(z),A.size||this.controller_.removeObserver(this))}},ae.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},ae.prototype.gatherActive=function(){var z=this;this.clearActive(),this.observations_.forEach(function(A){A.isActive()&&z.activeObservations_.push(A)})},ae.prototype.broadcastActive=function(){if(this.hasActive()){var z=this.callbackCtx_,A=this.activeObservations_.map(function(T){return new q(T.target,T.broadcastRect())});this.callback_.call(z,A,z),this.clearActive()}},ae.prototype.clearActive=function(){this.activeObservations_.splice(0)},ae.prototype.hasActive=function(){return this.activeObservations_.length>0},ae}(),oe=typeof WeakMap!=\"undefined\"?new WeakMap:new a,Ee=function(){function ae(z){if(!(this instanceof ae))throw new TypeError(\"Cannot call a class as a function.\");if(!arguments.length)throw new TypeError(\"1 argument required, but only 0 present.\");var A=h.getInstance(),T=new X(z,A,this);oe.set(this,T)}return ae}();[\"observe\",\"unobserve\",\"disconnect\"].forEach(function(ae){Ee.prototype[ae]=function(){var z;return(z=oe.get(this))[ae].apply(z,arguments)}});var Te=function(){return typeof r.ResizeObserver!=\"undefined\"?r.ResizeObserver:Ee}();m.Z=Te},85568:function(c,m){\"use strict\";function e(T,R){var j=T.length;T.push(R);e:for(;0<j;){var C=j-1>>>1,B=T[C];if(0<r(B,R))T[C]=R,T[j]=B,j=C;else break e}}function a(T){return T.length===0?null:T[0]}function o(T){if(T.length===0)return null;var R=T[0],j=T.pop();if(j!==R){T[0]=j;e:for(var C=0,B=T.length,fe=B>>>1;C<fe;){var Ae=2*(C+1)-1,ge=T[Ae],ce=Ae+1,Me=T[ce];if(0>r(ge,j))ce<B&&0>r(Me,ge)?(T[C]=Me,T[ce]=j,C=ce):(T[C]=ge,T[Ae]=j,C=Ae);else if(ce<B&&0>r(Me,j))T[C]=Me,T[ce]=j,C=ce;else break e}}return R}function r(T,R){var j=T.sortIndex-R.sortIndex;return j!==0?j:T.id-R.id}if(typeof performance==\"object\"&&typeof performance.now==\"function\"){var u=performance;m.unstable_now=function(){return u.now()}}else{var l=Date,d=l.now();m.unstable_now=function(){return l.now()-d}}var f=[],v=[],p=1,h=null,g=3,y=!1,S=!1,I=!1,N=typeof setTimeout==\"function\"?setTimeout:null,_=typeof clearTimeout==\"function\"?clearTimeout:null,M=typeof setImmediate!=\"undefined\"?setImmediate:null;typeof navigator!=\"undefined\"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function L(T){for(var R=a(v);R!==null;){if(R.callback===null)o(v);else if(R.startTime<=T)o(v),R.sortIndex=R.expirationTime,e(f,R);else break;R=a(v)}}function k(T){if(I=!1,L(T),!S)if(a(f)!==null)S=!0,z(U);else{var R=a(v);R!==null&&A(k,R.startTime-T)}}function U(T,R){S=!1,I&&(I=!1,_(K),K=-1),y=!0;var j=g;try{for(L(R),h=a(f);h!==null&&(!(h.expirationTime>R)||T&&!X());){var C=h.callback;if(typeof C==\"function\"){h.callback=null,g=h.priorityLevel;var B=C(h.expirationTime<=R);R=m.unstable_now(),typeof B==\"function\"?h.callback=B:h===a(f)&&o(f),L(R)}else o(f);h=a(f)}if(h!==null)var fe=!0;else{var Ae=a(v);Ae!==null&&A(k,Ae.startTime-R),fe=!1}return fe}finally{h=null,g=j,y=!1}}var x=!1,F=null,K=-1,G=5,q=-1;function X(){return!(m.unstable_now()-q<G)}function oe(){if(F!==null){var T=m.unstable_now();q=T;var R=!0;try{R=F(!0,T)}finally{R?Ee():(x=!1,F=null)}}else x=!1}var Ee;if(typeof M==\"function\")Ee=function(){M(oe)};else if(typeof MessageChannel!=\"undefined\"){var Te=new MessageChannel,ae=Te.port2;Te.port1.onmessage=oe,Ee=function(){ae.postMessage(null)}}else Ee=function(){N(oe,0)};function z(T){F=T,x||(x=!0,Ee())}function A(T,R){K=N(function(){T(m.unstable_now())},R)}m.unstable_IdlePriority=5,m.unstable_ImmediatePriority=1,m.unstable_LowPriority=4,m.unstable_NormalPriority=3,m.unstable_Profiling=null,m.unstable_UserBlockingPriority=2,m.unstable_cancelCallback=function(T){T.callback=null},m.unstable_continueExecution=function(){S||y||(S=!0,z(U))},m.unstable_forceFrameRate=function(T){0>T||125<T?console.error(\"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported\"):G=0<T?Math.floor(1e3/T):5},m.unstable_getCurrentPriorityLevel=function(){return g},m.unstable_getFirstCallbackNode=function(){return a(f)},m.unstable_next=function(T){switch(g){case 1:case 2:case 3:var R=3;break;default:R=g}var j=g;g=R;try{return T()}finally{g=j}},m.unstable_pauseExecution=function(){},m.unstable_requestPaint=function(){},m.unstable_runWithPriority=function(T,R){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var j=g;g=T;try{return R()}finally{g=j}},m.unstable_scheduleCallback=function(T,R,j){var C=m.unstable_now();switch(typeof j==\"object\"&&j!==null?(j=j.delay,j=typeof j==\"number\"&&0<j?C+j:C):j=C,T){case 1:var B=-1;break;case 2:B=250;break;case 5:B=1073741823;break;case 4:B=1e4;break;default:B=5e3}return B=j+B,T={id:p++,callback:R,priorityLevel:T,startTime:j,expirationTime:B,sortIndex:-1},j>C?(T.sortIndex=j,e(v,T),a(f)===null&&T===a(v)&&(I?(_(K),K=-1):I=!0,A(k,j-C))):(T.sortIndex=B,e(f,T),S||y||(S=!0,z(U))),T},m.unstable_shouldYield=X,m.unstable_wrapCallback=function(T){var R=g;return function(){var j=g;g=R;try{return T.apply(this,arguments)}finally{g=j}}}},22962:function(c,m,e){\"use strict\";c.exports=e(85568)},50631:function(c){c.exports=function(e,a,o,r){var u=o?o.call(r,e,a):void 0;if(u!==void 0)return!!u;if(e===a)return!0;if(typeof e!=\"object\"||!e||typeof a!=\"object\"||!a)return!1;var l=Object.keys(e),d=Object.keys(a);if(l.length!==d.length)return!1;for(var f=Object.prototype.hasOwnProperty.bind(a),v=0;v<l.length;v++){var p=l[v];if(!f(p))return!1;var h=e[p],g=a[p];if(u=o?o.call(r,h,g,p):void 0,u===!1||u===void 0&&h!==g)return!1}return!0}},16935:function(c){c.exports=function(){var m=document.getSelection();if(!m.rangeCount)return function(){};for(var e=document.activeElement,a=[],o=0;o<m.rangeCount;o++)a.push(m.getRangeAt(o));switch(e.tagName.toUpperCase()){case\"INPUT\":case\"TEXTAREA\":e.blur();break;default:e=null;break}return m.removeAllRanges(),function(){m.type===\"Caret\"&&m.removeAllRanges(),m.rangeCount||a.forEach(function(r){m.addRange(r)}),e&&e.focus()}}},96583:function(c,m,e){\"use strict\";e.d(m,{CR:function(){return M},ZT:function(){return o},_T:function(){return u},ev:function(){return U},pi:function(){return r}});var a=function(A,T){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,j){R.__proto__=j}||function(R,j){for(var C in j)Object.prototype.hasOwnProperty.call(j,C)&&(R[C]=j[C])},a(A,T)};function o(A,T){if(typeof T!=\"function\"&&T!==null)throw new TypeError(\"Class extends value \"+String(T)+\" is not a constructor or null\");a(A,T);function R(){this.constructor=A}A.prototype=T===null?Object.create(T):(R.prototype=T.prototype,new R)}var r=function(){return r=Object.assign||function(T){for(var R,j=1,C=arguments.length;j<C;j++){R=arguments[j];for(var B in R)Object.prototype.hasOwnProperty.call(R,B)&&(T[B]=R[B])}return T},r.apply(this,arguments)};function u(A,T){var R={};for(var j in A)Object.prototype.hasOwnProperty.call(A,j)&&T.indexOf(j)<0&&(R[j]=A[j]);if(A!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var C=0,j=Object.getOwnPropertySymbols(A);C<j.length;C++)T.indexOf(j[C])<0&&Object.prototype.propertyIsEnumerable.call(A,j[C])&&(R[j[C]]=A[j[C]]);return R}function l(A,T,R,j){var C=arguments.length,B=C<3?T:j===null?j=Object.getOwnPropertyDescriptor(T,R):j,fe;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")B=Reflect.decorate(A,T,R,j);else for(var Ae=A.length-1;Ae>=0;Ae--)(fe=A[Ae])&&(B=(C<3?fe(B):C>3?fe(T,R,B):fe(T,R))||B);return C>3&&B&&Object.defineProperty(T,R,B),B}function d(A,T){return function(R,j){T(R,j,A)}}function f(A,T,R,j,C,B){function fe(Ie){if(Ie!==void 0&&typeof Ie!=\"function\")throw new TypeError(\"Function expected\");return Ie}for(var Ae=j.kind,ge=Ae===\"getter\"?\"get\":Ae===\"setter\"?\"set\":\"value\",ce=!T&&A?j.static?A:A.prototype:null,Me=T||(ce?Object.getOwnPropertyDescriptor(ce,j.name):{}),_e,De=!1,Ce=R.length-1;Ce>=0;Ce--){var it={};for(var V in j)it[V]=V===\"access\"?{}:j[V];for(var V in j.access)it.access[V]=j.access[V];it.addInitializer=function(Ie){if(De)throw new TypeError(\"Cannot add initializers after decoration has completed\");B.push(fe(Ie||null))};var we=(0,R[Ce])(Ae===\"accessor\"?{get:Me.get,set:Me.set}:Me[ge],it);if(Ae===\"accessor\"){if(we===void 0)continue;if(we===null||typeof we!=\"object\")throw new TypeError(\"Object expected\");(_e=fe(we.get))&&(Me.get=_e),(_e=fe(we.set))&&(Me.set=_e),(_e=fe(we.init))&&C.push(_e)}else(_e=fe(we))&&(Ae===\"field\"?C.push(_e):Me[ge]=_e)}ce&&Object.defineProperty(ce,j.name,Me),De=!0}function v(A,T,R){for(var j=arguments.length>2,C=0;C<T.length;C++)R=j?T[C].call(A,R):T[C].call(A);return j?R:void 0}function p(A){return typeof A==\"symbol\"?A:\"\".concat(A)}function h(A,T,R){return typeof T==\"symbol\"&&(T=T.description?\"[\".concat(T.description,\"]\"):\"\"),Object.defineProperty(A,\"name\",{configurable:!0,value:R?\"\".concat(R,\" \",T):T})}function g(A,T){if(typeof Reflect==\"object\"&&typeof Reflect.metadata==\"function\")return Reflect.metadata(A,T)}function y(A,T,R,j){function C(B){return B instanceof R?B:new R(function(fe){fe(B)})}return new(R||(R=Promise))(function(B,fe){function Ae(Me){try{ce(j.next(Me))}catch(_e){fe(_e)}}function ge(Me){try{ce(j.throw(Me))}catch(_e){fe(_e)}}function ce(Me){Me.done?B(Me.value):C(Me.value).then(Ae,ge)}ce((j=j.apply(A,T||[])).next())})}function S(A,T){var R={label:0,sent:function(){if(B[0]&1)throw B[1];return B[1]},trys:[],ops:[]},j,C,B,fe;return fe={next:Ae(0),throw:Ae(1),return:Ae(2)},typeof Symbol==\"function\"&&(fe[Symbol.iterator]=function(){return this}),fe;function Ae(ce){return function(Me){return ge([ce,Me])}}function ge(ce){if(j)throw new TypeError(\"Generator is already executing.\");for(;fe&&(fe=0,ce[0]&&(R=0)),R;)try{if(j=1,C&&(B=ce[0]&2?C.return:ce[0]?C.throw||((B=C.return)&&B.call(C),0):C.next)&&!(B=B.call(C,ce[1])).done)return B;switch(C=0,B&&(ce=[ce[0]&2,B.value]),ce[0]){case 0:case 1:B=ce;break;case 4:return R.label++,{value:ce[1],done:!1};case 5:R.label++,C=ce[1],ce=[0];continue;case 7:ce=R.ops.pop(),R.trys.pop();continue;default:if(B=R.trys,!(B=B.length>0&&B[B.length-1])&&(ce[0]===6||ce[0]===2)){R=0;continue}if(ce[0]===3&&(!B||ce[1]>B[0]&&ce[1]<B[3])){R.label=ce[1];break}if(ce[0]===6&&R.label<B[1]){R.label=B[1],B=ce;break}if(B&&R.label<B[2]){R.label=B[2],R.ops.push(ce);break}B[2]&&R.ops.pop(),R.trys.pop();continue}ce=T.call(A,R)}catch(Me){ce=[6,Me],C=0}finally{j=B=0}if(ce[0]&5)throw ce[1];return{value:ce[0]?ce[1]:void 0,done:!0}}}var I=Object.create?function(A,T,R,j){j===void 0&&(j=R);var C=Object.getOwnPropertyDescriptor(T,R);(!C||(\"get\"in C?!T.__esModule:C.writable||C.configurable))&&(C={enumerable:!0,get:function(){return T[R]}}),Object.defineProperty(A,j,C)}:function(A,T,R,j){j===void 0&&(j=R),A[j]=T[R]};function N(A,T){for(var R in A)R!==\"default\"&&!Object.prototype.hasOwnProperty.call(T,R)&&I(T,A,R)}function _(A){var T=typeof Symbol==\"function\"&&Symbol.iterator,R=T&&A[T],j=0;if(R)return R.call(A);if(A&&typeof A.length==\"number\")return{next:function(){return A&&j>=A.length&&(A=void 0),{value:A&&A[j++],done:!A}}};throw new TypeError(T?\"Object is not iterable.\":\"Symbol.iterator is not defined.\")}function M(A,T){var R=typeof Symbol==\"function\"&&A[Symbol.iterator];if(!R)return A;var j=R.call(A),C,B=[],fe;try{for(;(T===void 0||T-- >0)&&!(C=j.next()).done;)B.push(C.value)}catch(Ae){fe={error:Ae}}finally{try{C&&!C.done&&(R=j.return)&&R.call(j)}finally{if(fe)throw fe.error}}return B}function L(){for(var A=[],T=0;T<arguments.length;T++)A=A.concat(M(arguments[T]));return A}function k(){for(var A=0,T=0,R=arguments.length;T<R;T++)A+=arguments[T].length;for(var j=Array(A),C=0,T=0;T<R;T++)for(var B=arguments[T],fe=0,Ae=B.length;fe<Ae;fe++,C++)j[C]=B[fe];return j}function U(A,T,R){if(R||arguments.length===2)for(var j=0,C=T.length,B;j<C;j++)(B||!(j in T))&&(B||(B=Array.prototype.slice.call(T,0,j)),B[j]=T[j]);return A.concat(B||Array.prototype.slice.call(T))}function x(A){return this instanceof x?(this.v=A,this):new x(A)}function F(A,T,R){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var j=R.apply(A,T||[]),C,B=[];return C={},fe(\"next\"),fe(\"throw\"),fe(\"return\"),C[Symbol.asyncIterator]=function(){return this},C;function fe(De){j[De]&&(C[De]=function(Ce){return new Promise(function(it,V){B.push([De,Ce,it,V])>1||Ae(De,Ce)})})}function Ae(De,Ce){try{ge(j[De](Ce))}catch(it){_e(B[0][3],it)}}function ge(De){De.value instanceof x?Promise.resolve(De.value.v).then(ce,Me):_e(B[0][2],De)}function ce(De){Ae(\"next\",De)}function Me(De){Ae(\"throw\",De)}function _e(De,Ce){De(Ce),B.shift(),B.length&&Ae(B[0][0],B[0][1])}}function K(A){var T,R;return T={},j(\"next\"),j(\"throw\",function(C){throw C}),j(\"return\"),T[Symbol.iterator]=function(){return this},T;function j(C,B){T[C]=A[C]?function(fe){return(R=!R)?{value:x(A[C](fe)),done:!1}:B?B(fe):fe}:B}}function G(A){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var T=A[Symbol.asyncIterator],R;return T?T.call(A):(A=typeof _==\"function\"?_(A):A[Symbol.iterator](),R={},j(\"next\"),j(\"throw\"),j(\"return\"),R[Symbol.asyncIterator]=function(){return this},R);function j(B){R[B]=A[B]&&function(fe){return new Promise(function(Ae,ge){fe=A[B](fe),C(Ae,ge,fe.done,fe.value)})}}function C(B,fe,Ae,ge){Promise.resolve(ge).then(function(ce){B({value:ce,done:Ae})},fe)}}function q(A,T){return Object.defineProperty?Object.defineProperty(A,\"raw\",{value:T}):A.raw=T,A}var X=Object.create?function(A,T){Object.defineProperty(A,\"default\",{enumerable:!0,value:T})}:function(A,T){A.default=T};function oe(A){if(A&&A.__esModule)return A;var T={};if(A!=null)for(var R in A)R!==\"default\"&&Object.prototype.hasOwnProperty.call(A,R)&&I(T,A,R);return X(T,A),T}function Ee(A){return A&&A.__esModule?A:{default:A}}function Te(A,T,R,j){if(R===\"a\"&&!j)throw new TypeError(\"Private accessor was defined without a getter\");if(typeof T==\"function\"?A!==T||!j:!T.has(A))throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");return R===\"m\"?j:R===\"a\"?j.call(A):j?j.value:T.get(A)}function ae(A,T,R,j,C){if(j===\"m\")throw new TypeError(\"Private method is not writable\");if(j===\"a\"&&!C)throw new TypeError(\"Private accessor was defined without a setter\");if(typeof T==\"function\"?A!==T||!C:!T.has(A))throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");return j===\"a\"?C.call(A,R):C?C.value=R:T.set(A,R),R}function z(A,T){if(T===null||typeof T!=\"object\"&&typeof T!=\"function\")throw new TypeError(\"Cannot use 'in' operator on non-object\");return typeof A==\"function\"?T===A:A.has(T)}},25705:function(c){function m(e,a){(a==null||a>e.length)&&(a=e.length);for(var o=0,r=new Array(a);o<a;o++)r[o]=e[o];return r}c.exports=m,c.exports.__esModule=!0,c.exports.default=c.exports},5548:function(c){function m(e){if(Array.isArray(e))return e}c.exports=m,c.exports.__esModule=!0,c.exports.default=c.exports},49811:function(c){function m(a,o,r,u,l,d,f){try{var v=a[d](f),p=v.value}catch(h){r(h);return}v.done?o(p):Promise.resolve(p).then(u,l)}function e(a){return function(){var o=this,r=arguments;return new Promise(function(u,l){var d=a.apply(o,r);function f(p){m(d,u,l,f,v,\"next\",p)}function v(p){m(d,u,l,f,v,\"throw\",p)}f(void 0)})}}c.exports=e,c.exports.__esModule=!0,c.exports.default=c.exports},52510:function(c,m,e){var a=e(26982);function o(r,u,l){return u=a(u),u in r?Object.defineProperty(r,u,{value:l,enumerable:!0,configurable:!0,writable:!0}):r[u]=l,r}c.exports=o,c.exports.__esModule=!0,c.exports.default=c.exports},40790:function(c){function m(e,a){var o=e==null?null:typeof Symbol!=\"undefined\"&&e[Symbol.iterator]||e[\"@@iterator\"];if(o!=null){var r,u,l,d,f=[],v=!0,p=!1;try{if(l=(o=o.call(e)).next,a===0){if(Object(o)!==o)return;v=!1}else for(;!(v=(r=l.call(o)).done)&&(f.push(r.value),f.length!==a);v=!0);}catch(h){p=!0,u=h}finally{try{if(!v&&o.return!=null&&(d=o.return(),Object(d)!==d))return}finally{if(p)throw u}}return f}}c.exports=m,c.exports.__esModule=!0,c.exports.default=c.exports},15324:function(c){function m(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}c.exports=m,c.exports.__esModule=!0,c.exports.default=c.exports},57213:function(c,m,e){var a=e(52510);function o(u,l){var d=Object.keys(u);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(u);l&&(f=f.filter(function(v){return Object.getOwnPropertyDescriptor(u,v).enumerable})),d.push.apply(d,f)}return d}function r(u){for(var l=1;l<arguments.length;l++){var d=arguments[l]!=null?arguments[l]:{};l%2?o(Object(d),!0).forEach(function(f){a(u,f,d[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(d)):o(Object(d)).forEach(function(f){Object.defineProperty(u,f,Object.getOwnPropertyDescriptor(d,f))})}return u}c.exports=r,c.exports.__esModule=!0,c.exports.default=c.exports},25359:function(c,m,e){var a=e(37635).default;function o(){\"use strict\";c.exports=o=function(){return r},c.exports.__esModule=!0,c.exports.default=c.exports;var r={},u=Object.prototype,l=u.hasOwnProperty,d=Object.defineProperty||function(z,A,T){z[A]=T.value},f=typeof Symbol==\"function\"?Symbol:{},v=f.iterator||\"@@iterator\",p=f.asyncIterator||\"@@asyncIterator\",h=f.toStringTag||\"@@toStringTag\";function g(z,A,T){return Object.defineProperty(z,A,{value:T,enumerable:!0,configurable:!0,writable:!0}),z[A]}try{g({},\"\")}catch(z){g=function(T,R,j){return T[R]=j}}function y(z,A,T,R){var j=A&&A.prototype instanceof N?A:N,C=Object.create(j.prototype),B=new Ee(R||[]);return d(C,\"_invoke\",{value:G(z,T,B)}),C}function S(z,A,T){try{return{type:\"normal\",arg:z.call(A,T)}}catch(R){return{type:\"throw\",arg:R}}}r.wrap=y;var I={};function N(){}function _(){}function M(){}var L={};g(L,v,function(){return this});var k=Object.getPrototypeOf,U=k&&k(k(Te([])));U&&U!==u&&l.call(U,v)&&(L=U);var x=M.prototype=N.prototype=Object.create(L);function F(z){[\"next\",\"throw\",\"return\"].forEach(function(A){g(z,A,function(T){return this._invoke(A,T)})})}function K(z,A){function T(j,C,B,fe){var Ae=S(z[j],z,C);if(Ae.type!==\"throw\"){var ge=Ae.arg,ce=ge.value;return ce&&a(ce)==\"object\"&&l.call(ce,\"__await\")?A.resolve(ce.__await).then(function(Me){T(\"next\",Me,B,fe)},function(Me){T(\"throw\",Me,B,fe)}):A.resolve(ce).then(function(Me){ge.value=Me,B(ge)},function(Me){return T(\"throw\",Me,B,fe)})}fe(Ae.arg)}var R;d(this,\"_invoke\",{value:function(C,B){function fe(){return new A(function(Ae,ge){T(C,B,Ae,ge)})}return R=R?R.then(fe,fe):fe()}})}function G(z,A,T){var R=\"suspendedStart\";return function(j,C){if(R===\"executing\")throw new Error(\"Generator is already running\");if(R===\"completed\"){if(j===\"throw\")throw C;return ae()}for(T.method=j,T.arg=C;;){var B=T.delegate;if(B){var fe=q(B,T);if(fe){if(fe===I)continue;return fe}}if(T.method===\"next\")T.sent=T._sent=T.arg;else if(T.method===\"throw\"){if(R===\"suspendedStart\")throw R=\"completed\",T.arg;T.dispatchException(T.arg)}else T.method===\"return\"&&T.abrupt(\"return\",T.arg);R=\"executing\";var Ae=S(z,A,T);if(Ae.type===\"normal\"){if(R=T.done?\"completed\":\"suspendedYield\",Ae.arg===I)continue;return{value:Ae.arg,done:T.done}}Ae.type===\"throw\"&&(R=\"completed\",T.method=\"throw\",T.arg=Ae.arg)}}}function q(z,A){var T=A.method,R=z.iterator[T];if(R===void 0)return A.delegate=null,T===\"throw\"&&z.iterator.return&&(A.method=\"return\",A.arg=void 0,q(z,A),A.method===\"throw\")||T!==\"return\"&&(A.method=\"throw\",A.arg=new TypeError(\"The iterator does not provide a '\"+T+\"' method\")),I;var j=S(R,z.iterator,A.arg);if(j.type===\"throw\")return A.method=\"throw\",A.arg=j.arg,A.delegate=null,I;var C=j.arg;return C?C.done?(A[z.resultName]=C.value,A.next=z.nextLoc,A.method!==\"return\"&&(A.method=\"next\",A.arg=void 0),A.delegate=null,I):C:(A.method=\"throw\",A.arg=new TypeError(\"iterator result is not an object\"),A.delegate=null,I)}function X(z){var A={tryLoc:z[0]};1 in z&&(A.catchLoc=z[1]),2 in z&&(A.finallyLoc=z[2],A.afterLoc=z[3]),this.tryEntries.push(A)}function oe(z){var A=z.completion||{};A.type=\"normal\",delete A.arg,z.completion=A}function Ee(z){this.tryEntries=[{tryLoc:\"root\"}],z.forEach(X,this),this.reset(!0)}function Te(z){if(z){var A=z[v];if(A)return A.call(z);if(typeof z.next==\"function\")return z;if(!isNaN(z.length)){var T=-1,R=function j(){for(;++T<z.length;)if(l.call(z,T))return j.value=z[T],j.done=!1,j;return j.value=void 0,j.done=!0,j};return R.next=R}}return{next:ae}}function ae(){return{value:void 0,done:!0}}return _.prototype=M,d(x,\"constructor\",{value:M,configurable:!0}),d(M,\"constructor\",{value:_,configurable:!0}),_.displayName=g(M,h,\"GeneratorFunction\"),r.isGeneratorFunction=function(z){var A=typeof z==\"function\"&&z.constructor;return!!A&&(A===_||(A.displayName||A.name)===\"GeneratorFunction\")},r.mark=function(z){return Object.setPrototypeOf?Object.setPrototypeOf(z,M):(z.__proto__=M,g(z,h,\"GeneratorFunction\")),z.prototype=Object.create(x),z},r.awrap=function(z){return{__await:z}},F(K.prototype),g(K.prototype,p,function(){return this}),r.AsyncIterator=K,r.async=function(z,A,T,R,j){j===void 0&&(j=Promise);var C=new K(y(z,A,T,R),j);return r.isGeneratorFunction(A)?C:C.next().then(function(B){return B.done?B.value:C.next()})},F(x),g(x,h,\"Generator\"),g(x,v,function(){return this}),g(x,\"toString\",function(){return\"[object Generator]\"}),r.keys=function(z){var A=Object(z),T=[];for(var R in A)T.push(R);return T.reverse(),function j(){for(;T.length;){var C=T.pop();if(C in A)return j.value=C,j.done=!1,j}return j.done=!0,j}},r.values=Te,Ee.prototype={constructor:Ee,reset:function(A){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(oe),!A)for(var T in this)T.charAt(0)===\"t\"&&l.call(this,T)&&!isNaN(+T.slice(1))&&(this[T]=void 0)},stop:function(){this.done=!0;var A=this.tryEntries[0].completion;if(A.type===\"throw\")throw A.arg;return this.rval},dispatchException:function(A){if(this.done)throw A;var T=this;function R(ge,ce){return B.type=\"throw\",B.arg=A,T.next=ge,ce&&(T.method=\"next\",T.arg=void 0),!!ce}for(var j=this.tryEntries.length-1;j>=0;--j){var C=this.tryEntries[j],B=C.completion;if(C.tryLoc===\"root\")return R(\"end\");if(C.tryLoc<=this.prev){var fe=l.call(C,\"catchLoc\"),Ae=l.call(C,\"finallyLoc\");if(fe&&Ae){if(this.prev<C.catchLoc)return R(C.catchLoc,!0);if(this.prev<C.finallyLoc)return R(C.finallyLoc)}else if(fe){if(this.prev<C.catchLoc)return R(C.catchLoc,!0)}else{if(!Ae)throw new Error(\"try statement without catch or finally\");if(this.prev<C.finallyLoc)return R(C.finallyLoc)}}}},abrupt:function(A,T){for(var R=this.tryEntries.length-1;R>=0;--R){var j=this.tryEntries[R];if(j.tryLoc<=this.prev&&l.call(j,\"finallyLoc\")&&this.prev<j.finallyLoc){var C=j;break}}C&&(A===\"break\"||A===\"continue\")&&C.tryLoc<=T&&T<=C.finallyLoc&&(C=null);var B=C?C.completion:{};return B.type=A,B.arg=T,C?(this.method=\"next\",this.next=C.finallyLoc,I):this.complete(B)},complete:function(A,T){if(A.type===\"throw\")throw A.arg;return A.type===\"break\"||A.type===\"continue\"?this.next=A.arg:A.type===\"return\"?(this.rval=this.arg=A.arg,this.method=\"return\",this.next=\"end\"):A.type===\"normal\"&&T&&(this.next=T),I},finish:function(A){for(var T=this.tryEntries.length-1;T>=0;--T){var R=this.tryEntries[T];if(R.finallyLoc===A)return this.complete(R.completion,R.afterLoc),oe(R),I}},catch:function(A){for(var T=this.tryEntries.length-1;T>=0;--T){var R=this.tryEntries[T];if(R.tryLoc===A){var j=R.completion;if(j.type===\"throw\"){var C=j.arg;oe(R)}return C}}throw new Error(\"illegal catch attempt\")},delegateYield:function(A,T,R){return this.delegate={iterator:Te(A),resultName:T,nextLoc:R},this.method===\"next\"&&(this.arg=void 0),I}},r}c.exports=o,c.exports.__esModule=!0,c.exports.default=c.exports},54306:function(c,m,e){var a=e(5548),o=e(40790),r=e(41442),u=e(15324);function l(d,f){return a(d)||o(d,f)||r(d,f)||u()}c.exports=l,c.exports.__esModule=!0,c.exports.default=c.exports},93299:function(c,m,e){var a=e(37635).default;function o(r,u){if(a(r)!==\"object\"||r===null)return r;var l=r[Symbol.toPrimitive];if(l!==void 0){var d=l.call(r,u||\"default\");if(a(d)!==\"object\")return d;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(u===\"string\"?String:Number)(r)}c.exports=o,c.exports.__esModule=!0,c.exports.default=c.exports},26982:function(c,m,e){var a=e(37635).default,o=e(93299);function r(u){var l=o(u,\"string\");return a(l)===\"symbol\"?l:String(l)}c.exports=r,c.exports.__esModule=!0,c.exports.default=c.exports},37635:function(c){function m(e){return c.exports=m=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(a){return typeof a}:function(a){return a&&typeof Symbol==\"function\"&&a.constructor===Symbol&&a!==Symbol.prototype?\"symbol\":typeof a},c.exports.__esModule=!0,c.exports.default=c.exports,m(e)}c.exports=m,c.exports.__esModule=!0,c.exports.default=c.exports},41442:function(c,m,e){var a=e(25705);function o(r,u){if(r){if(typeof r==\"string\")return a(r,u);var l=Object.prototype.toString.call(r).slice(8,-1);if(l===\"Object\"&&r.constructor&&(l=r.constructor.name),l===\"Map\"||l===\"Set\")return Array.from(r);if(l===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return a(r,u)}}c.exports=o,c.exports.__esModule=!0,c.exports.default=c.exports},8681:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return a}});function a(o,r){(r==null||r>o.length)&&(r=o.length);for(var u=0,l=new Array(r);u<r;u++)l[u]=o[u];return l}},20533:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return a}});function a(o){if(Array.isArray(o))return o}},60790:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return a}});function a(o){if(o===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return o}},78450:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return o}});function a(r,u,l,d,f,v,p){try{var h=r[v](p),g=h.value}catch(y){l(y);return}h.done?u(g):Promise.resolve(g).then(d,f)}function o(r){return function(){var u=this,l=arguments;return new Promise(function(d,f){var v=r.apply(u,l);function p(g){a(v,d,f,p,h,\"next\",g)}function h(g){a(v,d,f,p,h,\"throw\",g)}p(void 0)})}}},40936:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return a}});function a(o,r){if(!(o instanceof r))throw new TypeError(\"Cannot call a class as a function\")}},49962:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return r}});var a=e(1536);function o(u,l){for(var d=0;d<l.length;d++){var f=l[d];f.enumerable=f.enumerable||!1,f.configurable=!0,\"value\"in f&&(f.writable=!0),Object.defineProperty(u,(0,a.Z)(f.key),f)}}function r(u,l,d){return l&&o(u.prototype,l),d&&o(u,d),Object.defineProperty(u,\"prototype\",{writable:!1}),u}},76614:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return d}});function a(f){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},a(f)}function o(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(f){return!1}}var r=e(26143),u=e(60790);function l(f,v){if(v&&((0,r.Z)(v)===\"object\"||typeof v==\"function\"))return v;if(v!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return(0,u.Z)(f)}function d(f){var v=o();return function(){var h=a(f),g;if(v){var y=a(this).constructor;g=Reflect.construct(h,arguments,y)}else g=h.apply(this,arguments);return l(this,g)}}},24572:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return o}});var a=e(1536);function o(r,u,l){return u=(0,a.Z)(u),u in r?Object.defineProperty(r,u,{value:l,enumerable:!0,configurable:!0,writable:!0}):r[u]=l,r}},51163:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return a}});function a(){return a=Object.assign?Object.assign.bind():function(o){for(var r=1;r<arguments.length;r++){var u=arguments[r];for(var l in u)Object.prototype.hasOwnProperty.call(u,l)&&(o[l]=u[l])}return o},a.apply(this,arguments)}},39027:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return o}});function a(r,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,f){return d.__proto__=f,d},a(r,u)}function o(r,u){if(typeof u!=\"function\"&&u!==null)throw new TypeError(\"Super expression must either be null or a function\");r.prototype=Object.create(u&&u.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,\"prototype\",{writable:!1}),u&&a(r,u)}},52987:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return a}});function a(o){if(typeof Symbol!=\"undefined\"&&o[Symbol.iterator]!=null||o[\"@@iterator\"]!=null)return Array.from(o)}},71885:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return a}});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.`)}},75782:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return r}});var a=e(24572);function o(u,l){var d=Object.keys(u);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(u);l&&(f=f.filter(function(v){return Object.getOwnPropertyDescriptor(u,v).enumerable})),d.push.apply(d,f)}return d}function r(u){for(var l=1;l<arguments.length;l++){var d=arguments[l]!=null?arguments[l]:{};l%2?o(Object(d),!0).forEach(function(f){(0,a.Z)(u,f,d[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(d)):o(Object(d)).forEach(function(f){Object.defineProperty(u,f,Object.getOwnPropertyDescriptor(d,f))})}return u}},58733:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return o}});function a(r,u){if(r==null)return{};var l={},d=Object.keys(r),f,v;for(v=0;v<d.length;v++)f=d[v],!(u.indexOf(f)>=0)&&(l[f]=r[f]);return l}function o(r,u){if(r==null)return{};var l=a(r,u),d,f;if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(r);for(f=0;f<v.length;f++)d=v[f],!(u.indexOf(d)>=0)&&Object.prototype.propertyIsEnumerable.call(r,d)&&(l[d]=r[d])}return l}},99932:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return o}});var a=e(26143);function o(){\"use strict\";o=function(){return r};var r={},u=Object.prototype,l=u.hasOwnProperty,d=Object.defineProperty||function(z,A,T){z[A]=T.value},f=typeof Symbol==\"function\"?Symbol:{},v=f.iterator||\"@@iterator\",p=f.asyncIterator||\"@@asyncIterator\",h=f.toStringTag||\"@@toStringTag\";function g(z,A,T){return Object.defineProperty(z,A,{value:T,enumerable:!0,configurable:!0,writable:!0}),z[A]}try{g({},\"\")}catch(z){g=function(T,R,j){return T[R]=j}}function y(z,A,T,R){var j=A&&A.prototype instanceof N?A:N,C=Object.create(j.prototype),B=new Ee(R||[]);return d(C,\"_invoke\",{value:G(z,T,B)}),C}function S(z,A,T){try{return{type:\"normal\",arg:z.call(A,T)}}catch(R){return{type:\"throw\",arg:R}}}r.wrap=y;var I={};function N(){}function _(){}function M(){}var L={};g(L,v,function(){return this});var k=Object.getPrototypeOf,U=k&&k(k(Te([])));U&&U!==u&&l.call(U,v)&&(L=U);var x=M.prototype=N.prototype=Object.create(L);function F(z){[\"next\",\"throw\",\"return\"].forEach(function(A){g(z,A,function(T){return this._invoke(A,T)})})}function K(z,A){function T(j,C,B,fe){var Ae=S(z[j],z,C);if(Ae.type!==\"throw\"){var ge=Ae.arg,ce=ge.value;return ce&&(0,a.Z)(ce)==\"object\"&&l.call(ce,\"__await\")?A.resolve(ce.__await).then(function(Me){T(\"next\",Me,B,fe)},function(Me){T(\"throw\",Me,B,fe)}):A.resolve(ce).then(function(Me){ge.value=Me,B(ge)},function(Me){return T(\"throw\",Me,B,fe)})}fe(Ae.arg)}var R;d(this,\"_invoke\",{value:function(C,B){function fe(){return new A(function(Ae,ge){T(C,B,Ae,ge)})}return R=R?R.then(fe,fe):fe()}})}function G(z,A,T){var R=\"suspendedStart\";return function(j,C){if(R===\"executing\")throw new Error(\"Generator is already running\");if(R===\"completed\"){if(j===\"throw\")throw C;return ae()}for(T.method=j,T.arg=C;;){var B=T.delegate;if(B){var fe=q(B,T);if(fe){if(fe===I)continue;return fe}}if(T.method===\"next\")T.sent=T._sent=T.arg;else if(T.method===\"throw\"){if(R===\"suspendedStart\")throw R=\"completed\",T.arg;T.dispatchException(T.arg)}else T.method===\"return\"&&T.abrupt(\"return\",T.arg);R=\"executing\";var Ae=S(z,A,T);if(Ae.type===\"normal\"){if(R=T.done?\"completed\":\"suspendedYield\",Ae.arg===I)continue;return{value:Ae.arg,done:T.done}}Ae.type===\"throw\"&&(R=\"completed\",T.method=\"throw\",T.arg=Ae.arg)}}}function q(z,A){var T=A.method,R=z.iterator[T];if(R===void 0)return A.delegate=null,T===\"throw\"&&z.iterator.return&&(A.method=\"return\",A.arg=void 0,q(z,A),A.method===\"throw\")||T!==\"return\"&&(A.method=\"throw\",A.arg=new TypeError(\"The iterator does not provide a '\"+T+\"' method\")),I;var j=S(R,z.iterator,A.arg);if(j.type===\"throw\")return A.method=\"throw\",A.arg=j.arg,A.delegate=null,I;var C=j.arg;return C?C.done?(A[z.resultName]=C.value,A.next=z.nextLoc,A.method!==\"return\"&&(A.method=\"next\",A.arg=void 0),A.delegate=null,I):C:(A.method=\"throw\",A.arg=new TypeError(\"iterator result is not an object\"),A.delegate=null,I)}function X(z){var A={tryLoc:z[0]};1 in z&&(A.catchLoc=z[1]),2 in z&&(A.finallyLoc=z[2],A.afterLoc=z[3]),this.tryEntries.push(A)}function oe(z){var A=z.completion||{};A.type=\"normal\",delete A.arg,z.completion=A}function Ee(z){this.tryEntries=[{tryLoc:\"root\"}],z.forEach(X,this),this.reset(!0)}function Te(z){if(z){var A=z[v];if(A)return A.call(z);if(typeof z.next==\"function\")return z;if(!isNaN(z.length)){var T=-1,R=function j(){for(;++T<z.length;)if(l.call(z,T))return j.value=z[T],j.done=!1,j;return j.value=void 0,j.done=!0,j};return R.next=R}}return{next:ae}}function ae(){return{value:void 0,done:!0}}return _.prototype=M,d(x,\"constructor\",{value:M,configurable:!0}),d(M,\"constructor\",{value:_,configurable:!0}),_.displayName=g(M,h,\"GeneratorFunction\"),r.isGeneratorFunction=function(z){var A=typeof z==\"function\"&&z.constructor;return!!A&&(A===_||(A.displayName||A.name)===\"GeneratorFunction\")},r.mark=function(z){return Object.setPrototypeOf?Object.setPrototypeOf(z,M):(z.__proto__=M,g(z,h,\"GeneratorFunction\")),z.prototype=Object.create(x),z},r.awrap=function(z){return{__await:z}},F(K.prototype),g(K.prototype,p,function(){return this}),r.AsyncIterator=K,r.async=function(z,A,T,R,j){j===void 0&&(j=Promise);var C=new K(y(z,A,T,R),j);return r.isGeneratorFunction(A)?C:C.next().then(function(B){return B.done?B.value:C.next()})},F(x),g(x,h,\"Generator\"),g(x,v,function(){return this}),g(x,\"toString\",function(){return\"[object Generator]\"}),r.keys=function(z){var A=Object(z),T=[];for(var R in A)T.push(R);return T.reverse(),function j(){for(;T.length;){var C=T.pop();if(C in A)return j.value=C,j.done=!1,j}return j.done=!0,j}},r.values=Te,Ee.prototype={constructor:Ee,reset:function(A){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(oe),!A)for(var T in this)T.charAt(0)===\"t\"&&l.call(this,T)&&!isNaN(+T.slice(1))&&(this[T]=void 0)},stop:function(){this.done=!0;var A=this.tryEntries[0].completion;if(A.type===\"throw\")throw A.arg;return this.rval},dispatchException:function(A){if(this.done)throw A;var T=this;function R(ge,ce){return B.type=\"throw\",B.arg=A,T.next=ge,ce&&(T.method=\"next\",T.arg=void 0),!!ce}for(var j=this.tryEntries.length-1;j>=0;--j){var C=this.tryEntries[j],B=C.completion;if(C.tryLoc===\"root\")return R(\"end\");if(C.tryLoc<=this.prev){var fe=l.call(C,\"catchLoc\"),Ae=l.call(C,\"finallyLoc\");if(fe&&Ae){if(this.prev<C.catchLoc)return R(C.catchLoc,!0);if(this.prev<C.finallyLoc)return R(C.finallyLoc)}else if(fe){if(this.prev<C.catchLoc)return R(C.catchLoc,!0)}else{if(!Ae)throw new Error(\"try statement without catch or finally\");if(this.prev<C.finallyLoc)return R(C.finallyLoc)}}}},abrupt:function(A,T){for(var R=this.tryEntries.length-1;R>=0;--R){var j=this.tryEntries[R];if(j.tryLoc<=this.prev&&l.call(j,\"finallyLoc\")&&this.prev<j.finallyLoc){var C=j;break}}C&&(A===\"break\"||A===\"continue\")&&C.tryLoc<=T&&T<=C.finallyLoc&&(C=null);var B=C?C.completion:{};return B.type=A,B.arg=T,C?(this.method=\"next\",this.next=C.finallyLoc,I):this.complete(B)},complete:function(A,T){if(A.type===\"throw\")throw A.arg;return A.type===\"break\"||A.type===\"continue\"?this.next=A.arg:A.type===\"return\"?(this.rval=this.arg=A.arg,this.method=\"return\",this.next=\"end\"):A.type===\"normal\"&&T&&(this.next=T),I},finish:function(A){for(var T=this.tryEntries.length-1;T>=0;--T){var R=this.tryEntries[T];if(R.finallyLoc===A)return this.complete(R.completion,R.afterLoc),oe(R),I}},catch:function(A){for(var T=this.tryEntries.length-1;T>=0;--T){var R=this.tryEntries[T];if(R.tryLoc===A){var j=R.completion;if(j.type===\"throw\"){var C=j.arg;oe(R)}return C}}throw new Error(\"illegal catch attempt\")},delegateYield:function(A,T,R){return this.delegate={iterator:Te(A),resultName:T,nextLoc:R},this.method===\"next\"&&(this.arg=void 0),I}},r}},91600:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return l}});var a=e(20533);function o(d,f){var v=d==null?null:typeof Symbol!=\"undefined\"&&d[Symbol.iterator]||d[\"@@iterator\"];if(v!=null){var p,h,g,y,S=[],I=!0,N=!1;try{if(g=(v=v.call(d)).next,f===0){if(Object(v)!==v)return;I=!1}else for(;!(I=(p=g.call(v)).done)&&(S.push(p.value),S.length!==f);I=!0);}catch(_){N=!0,h=_}finally{try{if(!I&&v.return!=null&&(y=v.return(),Object(y)!==y))return}finally{if(N)throw h}}return S}}var r=e(22266),u=e(71885);function l(d,f){return(0,a.Z)(d)||o(d,f)||(0,r.Z)(d,f)||(0,u.Z)()}},9942:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return l}});var a=e(20533),o=e(52987),r=e(22266),u=e(71885);function l(d){return(0,a.Z)(d)||(0,o.Z)(d)||(0,r.Z)(d)||(0,u.Z)()}},49544:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return d}});var a=e(8681);function o(f){if(Array.isArray(f))return(0,a.Z)(f)}var r=e(52987),u=e(22266);function l(){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 d(f){return o(f)||(0,r.Z)(f)||(0,u.Z)(f)||l()}},1536:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return r}});var a=e(26143);function o(u,l){if((0,a.Z)(u)!==\"object\"||u===null)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var f=d.call(u,l||\"default\");if((0,a.Z)(f)!==\"object\")return f;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(l===\"string\"?String:Number)(u)}function r(u){var l=o(u,\"string\");return(0,a.Z)(l)===\"symbol\"?l:String(l)}},26143:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return a}});function a(o){return a=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(r){return typeof r}:function(r){return r&&typeof Symbol==\"function\"&&r.constructor===Symbol&&r!==Symbol.prototype?\"symbol\":typeof r},a(o)}},22266:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return o}});var a=e(8681);function o(r,u){if(r){if(typeof r==\"string\")return(0,a.Z)(r,u);var l=Object.prototype.toString.call(r).slice(8,-1);if(l===\"Object\"&&r.constructor&&(l=r.constructor.name),l===\"Map\"||l===\"Set\")return Array.from(r);if(l===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return(0,a.Z)(r,u)}}}},__webpack_module_cache__={};function __webpack_require__(c){var m=__webpack_module_cache__[c];if(m!==void 0)return m.exports;var e=__webpack_module_cache__[c]={id:c,loaded:!1,exports:{}};return __webpack_modules__[c].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.n=function(c){var m=c&&c.__esModule?function(){return c.default}:function(){return c};return __webpack_require__.d(m,{a:m}),m}}(),function(){var c=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},m;__webpack_require__.t=function(e,a){if(a&1&&(e=this(e)),a&8||typeof e==\"object\"&&e&&(a&4&&e.__esModule||a&16&&typeof e.then==\"function\"))return e;var o=Object.create(null);__webpack_require__.r(o);var r={};m=m||[null,c({}),c([]),c(c)];for(var u=a&2&&e;typeof u==\"object\"&&!~m.indexOf(u);u=c(u))Object.getOwnPropertyNames(u).forEach(function(l){r[l]=function(){return e[l]}});return r.default=function(){return e},__webpack_require__.d(o,r),o}}(),function(){__webpack_require__.d=function(c,m){for(var e in m)__webpack_require__.o(m,e)&&!__webpack_require__.o(c,e)&&Object.defineProperty(c,e,{enumerable:!0,get:m[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(c){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(m,e){return __webpack_require__.f[e](c,m),m},[]))}}(),function(){__webpack_require__.u=function(c){return\"\"+({9:\"nm__dumi__dist__client__pages__Demo__index\",65:\"nm__dumi__dist__client__pages__404\",205:\"docs__guide__faq.md\",244:\"docs__guide__toolbar.md\",253:\"docs__config__index.md\",433:\"demos\",447:\"docs__demo__index.zh-CN.md\",519:\"nm__dumi__theme-default__layouts__DocLayout__index\",533:\"docs__index.md\",570:\"docs__demo__index.md\",575:\"docs__guide__relation.md\",655:\"docs__guide__getting-started.md\",708:\"docs__guide__next.md\",825:\"docs__guide__index.md\",826:\"docs__guide__ddd.md\",834:\"docs__index.zh-CN.md\",887:\"docs__config__index.zh-CN.md\",923:\"dumi__tmp-production__dumi__theme__ContextWrapper\",935:\"docs__guide__migration.md\",956:\"docs__guide__model.md\",981:\"docs__guide__index.zh-CN.md\"}[c]||c)+\".\"+{1:\"b481cf9f\",9:\"34d43b3c\",65:\"173bfe00\",182:\"7fbd14ca\",205:\"e2bc2716\",244:\"b1f08561\",253:\"c8dd8580\",433:\"10478156\",447:\"721550ee\",448:\"040494bf\",519:\"e98c1e2a\",533:\"8fe22eab\",558:\"b2514152\",570:\"6a4d1b75\",575:\"35f01354\",655:\"617b1c20\",708:\"bbbf7fb8\",825:\"1f2709ec\",826:\"a9a823b3\",834:\"8e8bec0b\",874:\"753377bf\",887:\"92917182\",923:\"129554bf\",935:\"7accafe8\",956:\"4423bc7a\",981:\"25f260c5\"}[c]+\".async.js\"}}(),function(){__webpack_require__.miniCssF=function(c){return\"\"+({9:\"nm__dumi__dist__client__pages__Demo__index\",65:\"nm__dumi__dist__client__pages__404\",205:\"docs__guide__faq.md\",244:\"docs__guide__toolbar.md\",253:\"docs__config__index.md\",433:\"demos\",447:\"docs__demo__index.zh-CN.md\",533:\"docs__index.md\",570:\"docs__demo__index.md\",575:\"docs__guide__relation.md\",655:\"docs__guide__getting-started.md\",708:\"docs__guide__next.md\",825:\"docs__guide__index.md\",826:\"docs__guide__ddd.md\",834:\"docs__index.zh-CN.md\",887:\"docs__config__index.zh-CN.md\",935:\"docs__guide__migration.md\",956:\"docs__guide__model.md\",981:\"docs__guide__index.zh-CN.md\"}[c]||c)+\".\"+{9:\"578aa5c0\",65:\"8b85f2d9\",205:\"ffc024b8\",244:\"ffc024b8\",253:\"ffc024b8\",433:\"24639f3d\",447:\"ffc024b8\",533:\"ffc024b8\",558:\"58fc54b3\",570:\"ffc024b8\",575:\"ffc024b8\",655:\"ffc024b8\",708:\"ffc024b8\",825:\"ffc024b8\",826:\"ffc024b8\",834:\"ffc024b8\",887:\"ffc024b8\",935:\"ffc024b8\",956:\"ffc024b8\",981:\"ffc024b8\"}[c]+\".chunk.css\"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis==\"object\")return globalThis;try{return this||new Function(\"return this\")()}catch(c){if(typeof window==\"object\")return window}}()}(),function(){__webpack_require__.o=function(c,m){return Object.prototype.hasOwnProperty.call(c,m)}}(),function(){var c={},m=\"web-pdm-doc:\";__webpack_require__.l=function(e,a,o,r){if(c[e]){c[e].push(a);return}var u,l;if(o!==void 0)for(var d=document.getElementsByTagName(\"script\"),f=0;f<d.length;f++){var v=d[f];if(v.getAttribute(\"src\")==e||v.getAttribute(\"data-webpack\")==m+o){u=v;break}}u||(l=!0,u=document.createElement(\"script\"),u.charset=\"utf-8\",u.timeout=120,__webpack_require__.nc&&u.setAttribute(\"nonce\",__webpack_require__.nc),u.setAttribute(\"data-webpack\",m+o),u.src=e),c[e]=[a];var p=function(g,y){u.onerror=u.onload=null,clearTimeout(h);var S=c[e];if(delete c[e],u.parentNode&&u.parentNode.removeChild(u),S&&S.forEach(function(I){return I(y)}),g)return g(y)},h=setTimeout(p.bind(null,void 0,{type:\"timeout\",target:u}),12e4);u.onerror=p.bind(null,u.onerror),u.onload=p.bind(null,u.onload),l&&document.head.appendChild(u)}}(),function(){__webpack_require__.r=function(c){typeof Symbol!=\"undefined\"&&Symbol.toStringTag&&Object.defineProperty(c,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(c,\"__esModule\",{value:!0})}}(),function(){__webpack_require__.nmd=function(c){return c.paths=[],c.children||(c.children=[]),c}}(),function(){__webpack_require__.p=\"/\"}(),function(){if(typeof document!=\"undefined\"){var c=function(o,r,u,l,d){var f=document.createElement(\"link\");f.rel=\"stylesheet\",f.type=\"text/css\";var v=function(p){if(f.onerror=f.onload=null,p.type===\"load\")l();else{var h=p&&(p.type===\"load\"?\"missing\":p.type),g=p&&p.target&&p.target.href||r,y=new Error(\"Loading CSS chunk \"+o+` failed.\n(`+g+\")\");y.code=\"CSS_CHUNK_LOAD_FAILED\",y.type=h,y.request=g,f.parentNode.removeChild(f),d(y)}};return f.onerror=f.onload=v,f.href=r,u?u.parentNode.insertBefore(f,u.nextSibling):document.head.appendChild(f),f},m=function(o,r){for(var u=document.getElementsByTagName(\"link\"),l=0;l<u.length;l++){var d=u[l],f=d.getAttribute(\"data-href\")||d.getAttribute(\"href\");if(d.rel===\"stylesheet\"&&(f===o||f===r))return d}for(var v=document.getElementsByTagName(\"style\"),l=0;l<v.length;l++){var d=v[l],f=d.getAttribute(\"data-href\");if(f===o||f===r)return d}},e=function(o){return new Promise(function(r,u){var l=__webpack_require__.miniCssF(o),d=__webpack_require__.p+l;if(m(l,d))return r();c(o,d,null,r,u)})},a={620:0};__webpack_require__.f.miniCss=function(o,r){var u={9:1,65:1,205:1,244:1,253:1,433:1,447:1,533:1,558:1,570:1,575:1,655:1,708:1,825:1,826:1,834:1,887:1,935:1,956:1,981:1};a[o]?r.push(a[o]):a[o]!==0&&u[o]&&r.push(a[o]=e(o).then(function(){a[o]=0},function(l){throw delete a[o],l}))}}}(),function(){var c={620:0};__webpack_require__.f.j=function(a,o){var r=__webpack_require__.o(c,a)?c[a]:void 0;if(r!==0)if(r)o.push(r[2]);else{var u=new Promise(function(v,p){r=c[a]=[v,p]});o.push(r[2]=u);var l=__webpack_require__.p+__webpack_require__.u(a),d=new Error,f=function(v){if(__webpack_require__.o(c,a)&&(r=c[a],r!==0&&(c[a]=void 0),r)){var p=v&&(v.type===\"load\"?\"missing\":v.type),h=v&&v.target&&v.target.src;d.message=\"Loading chunk \"+a+` failed.\n(`+p+\": \"+h+\")\",d.name=\"ChunkLoadError\",d.type=p,d.request=h,r[1](d)}};__webpack_require__.l(l,f,\"chunk-\"+a,a)}};var m=function(a,o){var r=o[0],u=o[1],l=o[2],d,f,v=0;if(r.some(function(h){return c[h]!==0})){for(d in u)__webpack_require__.o(u,d)&&(__webpack_require__.m[d]=u[d]);if(l)var p=l(__webpack_require__)}for(a&&a(o);v<r.length;v++)f=r[v],__webpack_require__.o(c,f)&&c[f]&&c[f][0](),c[f]=0},e=self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[];e.forEach(m.bind(null,0)),e.push=m.bind(null,e.push.bind(e))}();var __webpack_exports__={};(function(){\"use strict\";var c={};__webpack_require__.r(c),__webpack_require__.d(c,{modifyClientRenderOpts:function(){return Yo}});var m={};__webpack_require__.r(m),__webpack_require__.d(m,{innerProvider:function(){return Wa}});var e={};__webpack_require__.r(e),__webpack_require__.d(e,{patchRoutes:function(){return Xo}});var a={};__webpack_require__.r(a),__webpack_require__.d(a,{i18nProvider:function(){return Xu}});var o={};__webpack_require__.r(o),__webpack_require__.d(o,{modifyClientRenderOpts:function(){return Ju}});var r=__webpack_require__(25359),u=__webpack_require__.n(r),l=__webpack_require__(57213),d=__webpack_require__.n(l),f=__webpack_require__(49811),v=__webpack_require__.n(f),p=__webpack_require__(10711),h=__webpack_require__(94380),g=__webpack_require__(72978),y=__webpack_require__(18759),S=__webpack_require__(2757),I=__webpack_require__(93324),N=__webpack_require__(87477),_=__webpack_require__(97220),M=__webpack_require__(10375),L=__webpack_require__(17934),k=__webpack_require__(59055),U=__webpack_require__(9333),x=__webpack_require__(39117),F=__webpack_require__(92648),K=__webpack_require__(99971),G=__webpack_require__(72287),q=__webpack_require__(42074),X=__webpack_require__(64974),oe=__webpack_require__(50481),Ee=__webpack_require__(60843),Te=__webpack_require__(56260),ae=__webpack_require__(60730),z=__webpack_require__(27224),A=__webpack_require__(30542),T=__webpack_require__(71242),R=__webpack_require__(5270),j=__webpack_require__(66386),C=__webpack_require__(3368),B=__webpack_require__(7098),fe=__webpack_require__(32736),Ae=__webpack_require__(55350),ge=__webpack_require__(47887),ce=__webpack_require__(19661),Me=__webpack_require__(14658),_e=__webpack_require__(89387),De=__webpack_require__(95458),Ce=__webpack_require__(18133),it=__webpack_require__(70533),V=__webpack_require__(92617),we=__webpack_require__(5408),Ie=__webpack_require__(30750),le=__webpack_require__(17638),Ne=__webpack_require__(8758),te=__webpack_require__(98805),se=__webpack_require__(92602),pe=__webpack_require__(49111),ee=__webpack_require__(25131),Se=__webpack_require__(26698),Q=__webpack_require__(89590),Z=__webpack_require__(28987),Y=__webpack_require__(65975),ue=__webpack_require__(46618),he=__webpack_require__(2155),me=__webpack_require__(34737),Oe=__webpack_require__(42596),We=__webpack_require__(40977),ke=__webpack_require__(82921),It=__webpack_require__(79529),ft=__webpack_require__(56722),nn=__webpack_require__(79608),b=__webpack_require__(201),W=__webpack_require__(79592),de=__webpack_require__(65690),ye=__webpack_require__(3776),He=__webpack_require__(83432),rt=__webpack_require__(48025),$e=__webpack_require__(96451),pt=__webpack_require__(79593),Ot=__webpack_require__(75272),at=__webpack_require__(82570),wt=__webpack_require__(50952),vt=__webpack_require__(64317),jt=__webpack_require__(13685),At=__webpack_require__(53494),qt=__webpack_require__(83489),En=__webpack_require__(70704),Ft=__webpack_require__(64086),_n=__webpack_require__(17046),xn=__webpack_require__(98003),Zn=__webpack_require__(29730),Wn=__webpack_require__(71029),Jn=__webpack_require__(538),Un=__webpack_require__(13613),qn=__webpack_require__(20127),cr=__webpack_require__(30003),pr=__webpack_require__(29643),vr=__webpack_require__(7769),Dn=__webpack_require__(10805),br=__webpack_require__(56672),zn=__webpack_require__(91618),Re=__webpack_require__(78043),Ge=__webpack_require__(29737),ot=__webpack_require__(46765),Dt=__webpack_require__(61323),Nt=__webpack_require__(6910),Lt=__webpack_require__(68360),Ht=__webpack_require__(88865),Vt=__webpack_require__(58598),an=__webpack_require__(18066),Wt=__webpack_require__(45852),bn=__webpack_require__(32483),ln=__webpack_require__(74796),tt=__webpack_require__(61003),Ze=__webpack_require__(81600),nt=__webpack_require__(37355),st=__webpack_require__(17468),Qe=__webpack_require__(83036),ct=__webpack_require__(64516),lt=__webpack_require__(97121),gt=__webpack_require__(3749),mt=__webpack_require__(32585),Et=__webpack_require__(80676),Pt=__webpack_require__(2939),Mt=__webpack_require__(43645),Bt=__webpack_require__(52180),Kt=__webpack_require__(15496),Yt=__webpack_require__(26169),$t=__webpack_require__(20051),dn=__webpack_require__(92056),Xt=__webpack_require__(90351),en=__webpack_require__(21764),hn=__webpack_require__(60765),pn=__webpack_require__(3723),Sn=__webpack_require__(39332),fn=__webpack_require__(71669),Zt=__webpack_require__(6772),ar=__webpack_require__(5135),An=__webpack_require__(52074),sn=__webpack_require__(49395),Rn=__webpack_require__(35939),Nn=__webpack_require__(26910),Bn=__webpack_require__(48534),Vn=__webpack_require__(37821),Fn=__webpack_require__(90435),H=__webpack_require__(31998),ie=__webpack_require__(67786),re=__webpack_require__(67894),xe=__webpack_require__(11573),Ke=__webpack_require__(17250),Ue=__webpack_require__(53587),J=__webpack_require__(45816),w=__webpack_require__(39268),P=__webpack_require__(58625),D=__webpack_require__(86562),ne=__webpack_require__(55631),be=__webpack_require__(55916),Le=__webpack_require__(94277),je=__webpack_require__(46537),ze=__webpack_require__(36585),ut=__webpack_require__(50376),dt=__webpack_require__(17994),Ct=__webpack_require__(13470),Rt=__webpack_require__(35841),kt=__webpack_require__(15284),Ut=__webpack_require__(69308),Qt=__webpack_require__(87828),cn=__webpack_require__(4832),wn=__webpack_require__(57893),gn=__webpack_require__(20310),Kn=__webpack_require__(52417),Pn=__webpack_require__(66502),Ln=__webpack_require__(84726),er=__webpack_require__(92787),or=__webpack_require__(59213),Ar=__webpack_require__(82035),Xn=__webpack_require__(54809),Yn=__webpack_require__(34739),Er=__webpack_require__(73071),Hn=__webpack_require__(97599),Ir=__webpack_require__(15267),kr=__webpack_require__(28291),fr=__webpack_require__(50634),Rr=__webpack_require__(43059),hr=__webpack_require__(80287),Tr=__webpack_require__(54957),La=__webpack_require__(54889),za=__webpack_require__(58907),Ha=__webpack_require__(54722),Gr=__webpack_require__(30861),$a=__webpack_require__(78674),Vr=__webpack_require__(94523),pa=__webpack_require__(69055),ya=__webpack_require__(69121),ir=__webpack_require__(2220),Pr=__webpack_require__(58075),Yr=__webpack_require__(25271),xr=__webpack_require__(90250),Oa=__webpack_require__(24572),na=__webpack_require__(75782),Cn=__webpack_require__(91600),xt=__webpack_require__(50959),ur=__webpack_require__(44478),tr=__webpack_require__(44492),Fr=__webpack_require__(77759),_r=__webpack_require__(58733),To=__webpack_require__(51163),ro=__webpack_require__(14828),Aa=[\"redirect\"];function xo(Be){var qe=Be.routesById,Je=Be.parentId,Xe=Be.routeComponents;return Object.keys(qe).filter(function(yt){return qe[yt].parentId===Je}).map(function(yt){var ht=Ti((0,na.Z)({route:qe[yt],routeComponent:Xe[yt],loadingComponent:Be.loadingComponent,reactRouter5Compat:Be.reactRouter5Compat},Be.reactRouter5Compat&&{hasChildren:Object.keys(qe).filter(function(on){return qe[on].parentId===yt}).length>0})),zt=xo({routesById:qe,routeComponents:Xe,parentId:ht.id,loadingComponent:Be.loadingComponent,reactRouter5Compat:Be.reactRouter5Compat});return zt.length>0&&(ht.children=zt,ht.routes=zt),ht})}function Wo(Be){var qe=(0,tr.UO)(),Je=(0,na.Z)((0,na.Z)({},Be),{},{to:(0,tr.Gn)(Be.to,qe)});return xt.createElement(tr.Fg,(0,To.Z)({replace:!0},Je))}function Ti(Be){var qe=Be.route,Je=qe.redirect,Xe=(0,_r.Z)(qe,Aa),yt=Be.reactRouter5Compat?Za:xi;return(0,na.Z)({element:Je?xt.createElement(Wo,{to:Je}):xt.createElement(ro.X.Provider,{value:{route:Be.route}},xt.createElement(yt,{loader:xt.memo(Be.routeComponent),loadingComponent:Be.loadingComponent||ao,hasChildren:Be.hasChildren}))},Xe)}function ao(){return xt.createElement(\"div\",null)}function Za(Be){var qe=(0,ro.Q)(),Je=qe.route,Xe=(0,Fr.Ov)(),yt=Xe.history,ht=Xe.clientRoutes,zt=(0,tr.UO)(),on={params:zt,isExact:!0,path:Je.path,url:yt.location.pathname},On=Be.loader;return xt.createElement(xt.Suspense,{fallback:xt.createElement(Be.loadingComponent,null)},xt.createElement(On,{location:yt.location,match:on,history:yt,params:zt,route:Je,routes:ht},Be.hasChildren&&xt.createElement(tr.j3,null)))}function xi(Be){var qe=Be.loader;return xt.createElement(xt.Suspense,{fallback:xt.createElement(Be.loadingComponent,null)},xt.createElement(qe,null))}var oo=null;function wi(){return oo}function Go(Be){var qe=Be.history,Je=xt.useState({action:qe.action,location:qe.location}),Xe=(0,Cn.Z)(Je,2),yt=Xe[0],ht=Xe[1];return(0,xt.useLayoutEffect)(function(){return qe.listen(ht)},[qe]),(0,xt.useLayoutEffect)(function(){function zt(on){Be.pluginManager.applyPlugins({key:\"onRouteChange\",type:\"event\",args:{routes:Be.routes,clientRoutes:Be.clientRoutes,location:on.location,action:on.action,basename:Be.basename}})}qe.listen(zt),zt({location:yt.location,action:yt.action})},[qe,Be.routes,Be.clientRoutes]),xt.createElement(tr.F0,{navigator:qe,location:yt.location,basename:Be.basename},Be.children)}function Vo(){var Be=(0,Fr.Ov)(),qe=Be.clientRoutes;return(0,tr.V$)(qe)}var wo=[\"innerProvider\",\"i18nProvider\",\"accessProvider\",\"dataflowProvider\",\"outerProvider\",\"rootContainer\"],la=function(qe,Je){var Xe=qe.basename||\"/\",yt=xo({routesById:qe.routes,routeComponents:qe.routeComponents,loadingComponent:qe.loadingComponent,reactRouter5Compat:qe.reactRouter5Compat});qe.pluginManager.applyPlugins({key:\"patchClientRoutes\",type:\"event\",args:{routes:yt}});for(var ht=xt.createElement(Go,{basename:Xe,pluginManager:qe.pluginManager,routes:qe.routes,clientRoutes:yt,history:qe.history},Je),zt=0,on=wo;zt<on.length;zt++){var On=on[zt];ht=qe.pluginManager.applyPlugins({type:\"modify\",key:On,initialValue:ht,args:{routes:qe.routes,history:qe.history,plugin:qe.pluginManager}})}var dr=function(){var Br=(0,xt.useState)({}),$r=(0,Cn.Z)(Br,2),ba=$r[0],Ra=$r[1],Cr=(0,xt.useState)(window.__UMI_LOADER_DATA__||{}),kn=(0,Cn.Z)(Cr,2),Tn=kn[0],Xr=kn[1],sr=(0,xt.useCallback)(function(Kr,Ya){var ja,Jr=(((ja=(0,tr.fp)(yt,Kr,Xe))===null||ja===void 0?void 0:ja.map(function(sa){return sa.route.id}))||[]).filter(Boolean);Jr.forEach(function(sa){var ui,li,po=window.__umi_manifest__;if(po){var ji=sa.replace(/[\\/\\-]/g,\"_\"),Ea=\"preload-\".concat(ji,\".js\");if(!document.getElementById(Ea)){var si=Object.keys(po).filter(function(aa){return aa.startsWith(ji+\".\")});si.forEach(function(aa){if(!/\\.(js|css)$/.test(aa))throw Error(\"preload not support \".concat(aa,\" file\"));var Qa=po[aa],oa=document.createElement(\"link\");oa.rel=\"preload\",oa.as=\"style\",aa.endsWith(\".js\")&&(oa.as=\"script\",oa.id=Ea),qe.runtimePublicPath&&(Qa=Qa.replace(new RegExp(\"^\".concat(qe.publicPath)),window.publicPath)),oa.href=Qa,document.head.appendChild(oa)})}}!Ya&&(ui=qe.routes[sa])!==null&&ui!==void 0&&ui.hasServerLoader&&fetch(\"/__serverLoader?route=\"+sa).then(function(aa){return aa.json()}).then(function(aa){xt.startTransition(function(){Xr(function(Qa){return(0,na.Z)((0,na.Z)({},Qa),{},(0,Oa.Z)({},sa,aa))})})}).catch(console.error);var ci=(li=qe.routes[sa])===null||li===void 0?void 0:li.clientLoader;ci&&!ba[sa]&&ci().then(function(aa){Ra(function(Qa){return(0,na.Z)((0,na.Z)({},Qa),{},(0,Oa.Z)({},sa,aa))})})})},[ba]);return(0,xt.useEffect)(function(){return sr(window.location.pathname,!0),qe.history.listen(function(Kr){sr(Kr.location.pathname)})},[]),(0,xt.useLayoutEffect)(function(){typeof qe.callback==\"function\"&&qe.callback()},[]),xt.createElement(Fr.Il.Provider,{value:{routes:qe.routes,routeComponents:qe.routeComponents,clientRoutes:yt,pluginManager:qe.pluginManager,rootElement:qe.rootElement,basename:Xe,clientLoaderData:ba,serverLoaderData:Tn,preloadRoute:sr,history:qe.history}},ht)};return dr};function Co(Be){var qe=Be.rootElement||document.getElementById(\"root\"),Je=la(Be,xt.createElement(Vo,null));if(Be.components)return Je;if(Be.hydrate){ur.hydrateRoot(qe,xt.createElement(Je,null));return}if(ur.createRoot){oo=ur.createRoot(qe),oo.render(xt.createElement(Je,null));return}ur.render(xt.createElement(Je,null),qe)}function Ci(){return Oo.apply(this,arguments)}function Oo(){return Oo=v()(u()().mark(function Be(){var qe;return u()().wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:return qe={404:{id:\"404\",path:\"*\",parentId:\"DocLayout\"},\"dumi-context-layout\":{id:\"dumi-context-layout\",path:\"/\",isLayout:!0},DocLayout:{id:\"DocLayout\",path:\"/\",parentId:\"dumi-context-layout\",isLayout:!0},\"docs/guide/getting-started\":{path:\"guide/getting-started\",id:\"docs/guide/getting-started\",parentId:\"DocLayout\"},\"docs/config/index.zh-CN\":{path:\"zh-CN/config\",id:\"docs/config/index.zh-CN\",parentId:\"DocLayout\"},\"docs/guide/index.zh-CN\":{path:\"zh-CN/guide\",id:\"docs/guide/index.zh-CN\",parentId:\"DocLayout\"},\"docs/demo/index.zh-CN\":{path:\"zh-CN/demo\",id:\"docs/demo/index.zh-CN\",parentId:\"DocLayout\"},\"docs/guide/migration\":{path:\"guide/migration\",id:\"docs/guide/migration\",parentId:\"DocLayout\"},\"docs/guide/relation\":{path:\"guide/relation\",id:\"docs/guide/relation\",parentId:\"DocLayout\"},\"docs/guide/toolbar\":{path:\"guide/toolbar\",id:\"docs/guide/toolbar\",parentId:\"DocLayout\"},\"docs/config/index\":{path:\"config\",id:\"docs/config/index\",parentId:\"DocLayout\"},\"docs/guide/index\":{path:\"guide\",id:\"docs/guide/index\",parentId:\"DocLayout\"},\"docs/guide/model\":{path:\"guide/model\",id:\"docs/guide/model\",parentId:\"DocLayout\"},\"docs/index.zh-CN\":{path:\"zh-CN/\",id:\"docs/index.zh-CN\",parentId:\"DocLayout\"},\"docs/demo/index\":{path:\"demo\",id:\"docs/demo/index\",parentId:\"DocLayout\"},\"docs/guide/next\":{path:\"guide/next\",id:\"docs/guide/next\",parentId:\"DocLayout\"},\"docs/guide/ddd\":{path:\"guide/ddd\",id:\"docs/guide/ddd\",parentId:\"DocLayout\"},\"docs/guide/faq\":{path:\"guide/faq\",id:\"docs/guide/faq\",parentId:\"DocLayout\"},\"docs/index\":{path:\"\",id:\"docs/index\",parentId:\"DocLayout\"},\"demo-render\":{id:\"demo-render\",path:\"~demos/:id\",parentId:\"dumi-context-layout\",prerender:!1}},Xe.abrupt(\"return\",{routes:qe,routeComponents:{404:xt.lazy(function(){return __webpack_require__.e(65).then(__webpack_require__.bind(__webpack_require__,36264))}),\"dumi-context-layout\":xt.lazy(function(){return __webpack_require__.e(923).then(__webpack_require__.bind(__webpack_require__,79586))}),DocLayout:xt.lazy(function(){return Promise.all([__webpack_require__.e(558),__webpack_require__.e(519)]).then(__webpack_require__.bind(__webpack_require__,87056))}),\"docs/guide/getting-started\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(655)]).then(__webpack_require__.bind(__webpack_require__,12269))}),\"docs/config/index.zh-CN\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(887)]).then(__webpack_require__.bind(__webpack_require__,49751))}),\"docs/guide/index.zh-CN\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(981)]).then(__webpack_require__.bind(__webpack_require__,40111))}),\"docs/demo/index.zh-CN\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(447)]).then(__webpack_require__.bind(__webpack_require__,67093))}),\"docs/guide/migration\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(935)]).then(__webpack_require__.bind(__webpack_require__,73887))}),\"docs/guide/relation\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(575)]).then(__webpack_require__.bind(__webpack_require__,13337))}),\"docs/guide/toolbar\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(244)]).then(__webpack_require__.bind(__webpack_require__,58130))}),\"docs/config/index\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(253)]).then(__webpack_require__.bind(__webpack_require__,64897))}),\"docs/guide/index\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(825)]).then(__webpack_require__.bind(__webpack_require__,33300))}),\"docs/guide/model\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(956)]).then(__webpack_require__.bind(__webpack_require__,92313))}),\"docs/index.zh-CN\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(834)]).then(__webpack_require__.bind(__webpack_require__,39583))}),\"docs/demo/index\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(570)]).then(__webpack_require__.bind(__webpack_require__,21443))}),\"docs/guide/next\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(708)]).then(__webpack_require__.bind(__webpack_require__,9830))}),\"docs/guide/ddd\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(826)]).then(__webpack_require__.bind(__webpack_require__,8930))}),\"docs/guide/faq\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(205)]).then(__webpack_require__.bind(__webpack_require__,4273))}),\"docs/index\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,40717))}),\"demo-render\":xt.lazy(function(){return __webpack_require__.e(9).then(__webpack_require__.bind(__webpack_require__,38699))})}});case 2:case\"end\":return Xe.stop()}},Be)})),Oo.apply(this,arguments)}function Yo(Be){var qe=Be.history,Je=Be.hydrate;return d()(d()({},Be),{},{hydrate:Je&&![\"/~demos/:id\"].includes(qe.location.pathname)})}var Ao=__webpack_require__(87593),ga={},Wa=function(qe){return xt.createElement(Ao.B6,{context:ga},qe)},ka=__webpack_require__(80134),io=__webpack_require__(12454),Qo=__webpack_require__.n(io),Xo=function(qe){var Je=qe.routes;Object.values(Je).forEach(function(Xe){if(ka.C3[Xe.id]){var yt,ht;if((yt=Xe.meta)!==null&&yt!==void 0&&(ht=yt.frontmatter)!==null&&ht!==void 0&&ht.debug||ka.C3[Xe.id].frontmatter.debug)delete Je[Xe.id];else{var zt;Xe.meta=Qo()(Xe.meta,ka.C3[Xe.id]),Xe.meta.tabs=(zt=Xe.meta.tabs)===null||zt===void 0?void 0:zt.map(function(on){var On={frontmatter:{title:ka.eA[on].title},toc:[],texts:[]};return d()(d()({},ka.eA[on]),{},{meta:ka.C3[on]||On})})}}})},Ro=__webpack_require__(54306),Po=__webpack_require__.n(Ro),uo=__webpack_require__(81229),Dr=__webpack_require__(12216),$n=__webpack_require__(96583),lr=__webpack_require__(8067),jn=__webpack_require__(55267),nr=__webpack_require__(34688),jr=__webpack_require__(75983),In=__webpack_require__(25068),wr=__webpack_require__(72988);function Qr(Be,qe){return Object.keys(Be).reduce(function(Je,Xe){return Je[Xe]=(0,$n.pi)({timeZone:qe},Be[Xe]),Je},{})}function Mo(Be,qe){var Je=Object.keys((0,$n.pi)((0,$n.pi)({},Be),qe));return Je.reduce(function(Xe,yt){return Xe[yt]=(0,$n.pi)((0,$n.pi)({},Be[yt]||{}),qe[yt]||{}),Xe},{})}function Oi(Be,qe){if(!qe)return Be;var Je=jr.C.formats;return(0,$n.pi)((0,$n.pi)((0,$n.pi)({},Je),Be),{date:Mo(Qr(Je.date,qe),Qr(Be.date||{},qe)),time:Mo(Qr(Je.time,qe),Qr(Be.time||{},qe))})}var Jo=function(Be,qe,Je,Xe,yt){var ht=Be.locale,zt=Be.formats,on=Be.messages,On=Be.defaultLocale,dr=Be.defaultFormats,Mn=Be.fallbackOnEmptyString,Br=Be.onError,$r=Be.timeZone,ba=Be.defaultRichTextElements;Je===void 0&&(Je={id:\"\"});var Ra=Je.id,Cr=Je.defaultMessage;(0,nr.kG)(!!Ra,\"[@formatjs/intl] An `id` must be provided to format a message. You can either:\\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\\nto autofix this issue\");var kn=String(Ra),Tn=on&&Object.prototype.hasOwnProperty.call(on,kn)&&on[kn];if(Array.isArray(Tn)&&Tn.length===1&&Tn[0].type===wr.wD.literal)return Tn[0].value;if(!Xe&&Tn&&typeof Tn==\"string\"&&!ba)return Tn.replace(/'\\{(.*?)\\}'/gi,\"{$1}\");if(Xe=(0,$n.pi)((0,$n.pi)({},ba),Xe||{}),zt=Oi(zt,$r),dr=Oi(dr,$r),!Tn){if(Mn===!1&&Tn===\"\")return Tn;if((!Cr||ht&&ht.toLowerCase()!==On.toLowerCase())&&Br(new In.$6(Je,ht)),Cr)try{var Xr=qe.getMessageFormat(Cr,On,dr,yt);return Xr.format(Xe)}catch(sr){return Br(new In.X9('Error formatting default message for: \"'.concat(kn,'\", rendering default message verbatim'),ht,Je,sr)),typeof Cr==\"string\"?Cr:kn}return kn}try{var Xr=qe.getMessageFormat(Tn,ht,zt,(0,$n.pi)({formatters:qe},yt||{}));return Xr.format(Xe)}catch(sr){Br(new In.X9('Error formatting message: \"'.concat(kn,'\", using ').concat(Cr?\"default message\":\"id\",\" as fallback.\"),ht,Je,sr))}if(Cr)try{var Xr=qe.getMessageFormat(Cr,On,dr,yt);return Xr.format(Xe)}catch(sr){Br(new In.X9('Error formatting the default message for: \"'.concat(kn,'\", rendering message verbatim'),ht,Je,sr))}return typeof Tn==\"string\"?Tn:typeof Cr==\"string\"?Cr:kn},qi=[\"style\",\"currency\",\"currencyDisplay\",\"unit\",\"unitDisplay\",\"useGrouping\",\"minimumIntegerDigits\",\"minimumFractionDigits\",\"maximumFractionDigits\",\"minimumSignificantDigits\",\"maximumSignificantDigits\",\"compactDisplay\",\"currencyDisplay\",\"currencySign\",\"notation\",\"signDisplay\",\"unit\",\"unitDisplay\",\"numberingSystem\"];function qo(Be,qe,Je){var Xe=Be.locale,yt=Be.formats,ht=Be.onError;Je===void 0&&(Je={});var zt=Je.format,on=zt&&(0,Dr.TB)(yt,\"number\",zt,ht)||{},On=(0,Dr.L6)(Je,qi,on);return qe(Xe,On)}function Zu(Be,qe,Je,Xe){Xe===void 0&&(Xe={});try{return qo(Be,qe,Xe).format(Je)}catch(yt){Be.onError(new In.Rw(In.bc.FORMAT_ERROR,\"Error formatting number.\",yt))}return String(Je)}function Wu(Be,qe,Je,Xe){Xe===void 0&&(Xe={});try{return qo(Be,qe,Xe).formatToParts(Je)}catch(yt){Be.onError(new In.Rw(In.bc.FORMAT_ERROR,\"Error formatting number.\",yt))}return[]}var ra=__webpack_require__(86126),Ai=[\"numeric\",\"style\"];function _o(Be,qe,Je){var Xe=Be.locale,yt=Be.formats,ht=Be.onError;Je===void 0&&(Je={});var zt=Je.format,on=!!zt&&(0,Dr.TB)(yt,\"relative\",zt,ht)||{},On=(0,Dr.L6)(Je,Ai,on);return qe(Xe,On)}function Ri(Be,qe,Je,Xe,yt){yt===void 0&&(yt={}),Xe||(Xe=\"second\");var ht=Intl.RelativeTimeFormat;ht||Be.onError(new ra.u_(`Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using \"@formatjs/intl-relativetimeformat\"\n`,ra.jK.MISSING_INTL_API));try{return _o(Be,qe,yt).format(Je,Xe)}catch(zt){Be.onError(new In.Qe(\"Error formatting relative time.\",Be.locale,zt))}return String(Je)}var Pi=[\"formatMatcher\",\"timeZone\",\"hour12\",\"weekday\",\"era\",\"year\",\"month\",\"day\",\"hour\",\"minute\",\"second\",\"timeZoneName\",\"hourCycle\",\"dateStyle\",\"timeStyle\",\"calendar\",\"numberingSystem\",\"fractionalSecondDigits\"];function Ga(Be,qe,Je,Xe){var yt=Be.locale,ht=Be.formats,zt=Be.onError,on=Be.timeZone;Xe===void 0&&(Xe={});var On=Xe.format,dr=(0,$n.pi)((0,$n.pi)({},on&&{timeZone:on}),On&&(0,Dr.TB)(ht,qe,On,zt)),Mn=(0,Dr.L6)(Xe,Pi,dr);return qe===\"time\"&&!Mn.hour&&!Mn.minute&&!Mn.second&&!Mn.timeStyle&&!Mn.dateStyle&&(Mn=(0,$n.pi)((0,$n.pi)({},Mn),{hour:\"numeric\",minute:\"numeric\"})),Je(yt,Mn)}function lo(Be,qe){for(var Je=[],Xe=2;Xe<arguments.length;Xe++)Je[Xe-2]=arguments[Xe];var yt=Je[0],ht=Je[1],zt=ht===void 0?{}:ht,on=typeof yt==\"string\"?new Date(yt||0):yt;try{return Ga(Be,\"date\",qe,zt).format(on)}catch(On){Be.onError(new In.Rw(In.bc.FORMAT_ERROR,\"Error formatting date.\",On))}return String(on)}function Mi(Be,qe){for(var Je=[],Xe=2;Xe<arguments.length;Xe++)Je[Xe-2]=arguments[Xe];var yt=Je[0],ht=Je[1],zt=ht===void 0?{}:ht,on=typeof yt==\"string\"?new Date(yt||0):yt;try{return Ga(Be,\"time\",qe,zt).format(on)}catch(On){Be.onError(new In.Rw(In.bc.FORMAT_ERROR,\"Error formatting time.\",On))}return String(on)}function eu(Be,qe){for(var Je=[],Xe=2;Xe<arguments.length;Xe++)Je[Xe-2]=arguments[Xe];var yt=Je[0],ht=Je[1],zt=Je[2],on=zt===void 0?{}:zt,On=Be.timeZone,dr=Be.locale,Mn=Be.onError,Br=(0,Dr.L6)(on,Pi,On?{timeZone:On}:{});try{return qe(dr,Br).formatRange(yt,ht)}catch($r){Mn(new In.Rw(In.bc.FORMAT_ERROR,\"Error formatting date time range.\",$r))}return String(yt)}function ei(Be,qe){for(var Je=[],Xe=2;Xe<arguments.length;Xe++)Je[Xe-2]=arguments[Xe];var yt=Je[0],ht=Je[1],zt=ht===void 0?{}:ht,on=typeof yt==\"string\"?new Date(yt||0):yt;try{return Ga(Be,\"date\",qe,zt).formatToParts(on)}catch(On){Be.onError(new In.Rw(In.bc.FORMAT_ERROR,\"Error formatting date.\",On))}return[]}function tu(Be,qe){for(var Je=[],Xe=2;Xe<arguments.length;Xe++)Je[Xe-2]=arguments[Xe];var yt=Je[0],ht=Je[1],zt=ht===void 0?{}:ht,on=typeof yt==\"string\"?new Date(yt||0):yt;try{return Ga(Be,\"time\",qe,zt).formatToParts(on)}catch(On){Be.onError(new In.Rw(In.bc.FORMAT_ERROR,\"Error formatting time.\",On))}return[]}var nu=[\"type\"];function ru(Be,qe,Je,Xe){var yt=Be.locale,ht=Be.onError;Xe===void 0&&(Xe={}),Intl.PluralRules||ht(new ra.u_(`Intl.PluralRules is not available in this environment.\nTry polyfilling it using \"@formatjs/intl-pluralrules\"\n`,ra.jK.MISSING_INTL_API));var zt=(0,Dr.L6)(Xe,nu);try{return qe(yt,zt).select(Je)}catch(on){ht(new In.Qe(\"Error formatting plural.\",yt,on))}return\"other\"}var au=[\"type\",\"style\"],_i=Date.now();function ou(Be){return\"\".concat(_i,\"_\").concat(Be,\"_\").concat(_i)}function Fa(Be,qe,Je,Xe){Xe===void 0&&(Xe={});var yt=ti(Be,qe,Je,Xe).reduce(function(ht,zt){var on=zt.value;return typeof on!=\"string\"?ht.push(on):typeof ht[ht.length-1]==\"string\"?ht[ht.length-1]+=on:ht.push(on),ht},[]);return yt.length===1?yt[0]:yt.length===0?\"\":yt}function ti(Be,qe,Je,Xe){var yt=Be.locale,ht=Be.onError;Xe===void 0&&(Xe={});var zt=Intl.ListFormat;zt||ht(new ra.u_(`Intl.ListFormat is not available in this environment.\nTry polyfilling it using \"@formatjs/intl-listformat\"\n`,ra.jK.MISSING_INTL_API));var on=(0,Dr.L6)(Xe,au);try{var On={},dr=Je.map(function(Mn,Br){if(typeof Mn==\"object\"){var $r=ou(Br);return On[$r]=Mn,$r}return String(Mn)});return qe(yt,on).formatToParts(dr).map(function(Mn){return Mn.type===\"literal\"?Mn:(0,$n.pi)((0,$n.pi)({},Mn),{value:On[Mn.value]||Mn.value})})}catch(Mn){ht(new In.Rw(In.bc.FORMAT_ERROR,\"Error formatting list.\",Mn))}return Je}var Di=[\"style\",\"type\",\"fallback\",\"languageDisplay\"];function Gu(Be,qe,Je,Xe){var yt=Be.locale,ht=Be.onError,zt=Intl.DisplayNames;zt||ht(new ra.u_(`Intl.DisplayNames is not available in this environment.\nTry polyfilling it using \"@formatjs/intl-displaynames\"\n`,ra.jK.MISSING_INTL_API));var on=(0,Dr.L6)(Xe,Di);try{return qe(yt,on).of(Je)}catch(On){ht(new In.Rw(In.bc.FORMAT_ERROR,\"Error formatting display name.\",On))}}function Vu(Be){var qe=Be?Be[Object.keys(Be)[0]]:void 0;return typeof qe==\"string\"}function Do(Be){Be.onWarn&&Be.defaultRichTextElements&&Vu(Be.messages||{})&&Be.onWarn(`[@formatjs/intl] \"defaultRichTextElements\" was specified but \"message\" was not pre-compiled. \nPlease consider using \"@formatjs/cli\" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution`)}function Yu(Be,qe){var Je=(0,Dr.ax)(qe),Xe=(0,$n.pi)((0,$n.pi)({},Dr.Z0),Be),yt=Xe.locale,ht=Xe.defaultLocale,zt=Xe.onError;return yt?!Intl.NumberFormat.supportedLocalesOf(yt).length&&zt?zt(new In.gb('Missing locale data for locale: \"'.concat(yt,'\" in Intl.NumberFormat. Using default locale: \"').concat(ht,'\" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(yt).length&&zt&&zt(new In.gb('Missing locale data for locale: \"'.concat(yt,'\" in Intl.DateTimeFormat. Using default locale: \"').concat(ht,'\" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(zt&&zt(new In.OV('\"locale\" was not configured, using \"'.concat(ht,'\" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),Xe.locale=Xe.defaultLocale||\"en\"),Do(Xe),(0,$n.pi)((0,$n.pi)({},Xe),{formatters:Je,formatNumber:Zu.bind(null,Xe,Je.getNumberFormat),formatNumberToParts:Wu.bind(null,Xe,Je.getNumberFormat),formatRelativeTime:Ri.bind(null,Xe,Je.getRelativeTimeFormat),formatDate:lo.bind(null,Xe,Je.getDateTimeFormat),formatDateToParts:ei.bind(null,Xe,Je.getDateTimeFormat),formatTime:Mi.bind(null,Xe,Je.getDateTimeFormat),formatDateTimeRange:eu.bind(null,Xe,Je.getDateTimeFormat),formatTimeToParts:tu.bind(null,Xe,Je.getDateTimeFormat),formatPlural:ru.bind(null,Xe,Je.getPluralRules),formatMessage:Jo.bind(null,Xe,Je),$t:Jo.bind(null,Xe,Je),formatList:Fa.bind(null,Xe,Je.getListFormat),formatListToParts:ti.bind(null,Xe,Je.getListFormat),formatDisplayName:Gu.bind(null,Xe,Je.getDisplayNames)})}var iu=__webpack_require__(2443);function ni(Be){return{locale:Be.locale,timeZone:Be.timeZone,fallbackOnEmptyString:Be.fallbackOnEmptyString,formats:Be.formats,textComponent:Be.textComponent,messages:Be.messages,defaultLocale:Be.defaultLocale,defaultFormats:Be.defaultFormats,onError:Be.onError,onWarn:Be.onWarn,wrapRichTextChunksInFragment:Be.wrapRichTextChunksInFragment,defaultRichTextElements:Be.defaultRichTextElements}}function rr(Be){return Be&&Object.keys(Be).reduce(function(qe,Je){var Xe=Be[Je];return qe[Je]=(0,iu.Gt)(Xe)?(0,jn.dt)(Xe):Xe,qe},{})}var ri=function(Be,qe,Je,Xe){for(var yt=[],ht=4;ht<arguments.length;ht++)yt[ht-4]=arguments[ht];var zt=rr(Xe),on=Jo.apply(void 0,(0,$n.ev)([Be,qe,Je,zt],yt,!1));return Array.isArray(on)?xt.Children.toArray(on):on},so=function(Be,qe){var Je=Be.defaultRichTextElements,Xe=(0,$n._T)(Be,[\"defaultRichTextElements\"]),yt=rr(Je),ht=Yu((0,$n.pi)((0,$n.pi)((0,$n.pi)({},jn.Z0),Xe),{defaultRichTextElements:yt}),qe),zt={locale:ht.locale,timeZone:ht.timeZone,fallbackOnEmptyString:ht.fallbackOnEmptyString,formats:ht.formats,defaultLocale:ht.defaultLocale,defaultFormats:ht.defaultFormats,messages:ht.messages,onError:ht.onError,defaultRichTextElements:yt};return(0,$n.pi)((0,$n.pi)({},ht),{formatMessage:ri.bind(null,zt,ht.formatters),$t:ri.bind(null,zt,ht.formatters)})},ai=function(Be){(0,$n.ZT)(qe,Be);function qe(){var Je=Be!==null&&Be.apply(this,arguments)||this;return Je.cache=(0,Dr.Sn)(),Je.state={cache:Je.cache,intl:so(ni(Je.props),Je.cache),prevConfig:ni(Je.props)},Je}return qe.getDerivedStateFromProps=function(Je,Xe){var yt=Xe.prevConfig,ht=Xe.cache,zt=ni(Je);return(0,jn.wU)(yt,zt)?null:{intl:so(zt,ht),prevConfig:zt}},qe.prototype.render=function(){return(0,jn.lq)(this.state.intl),xt.createElement(lr.zt,{value:this.state.intl},this.props.children)},qe.displayName=\"IntlProvider\",qe.defaultProps=jn.Z0,qe}(xt.PureComponent),Qu=null,Ni=__webpack_require__(75586),Va=__webpack_require__(24982),oi=__webpack_require__(11527),co=(0,Dr.Sn)(),uu=function(qe){var Je=(0,xt.useCallback)(function(){var on=Va.k.slice().reverse().find(function(dr){return\"suffix\"in dr?uo.m8.location.pathname.replace(/([^/])\\/$/,\"$1\").endsWith(dr.suffix):uo.m8.location.pathname.replace(/([^/])\\/$/,\"$1\").startsWith(dr.base)}),On=on?on.id:Va.k[0].id;return so({locale:On,messages:Va.s[On]||{}},co)},[]),Xe=(0,xt.useState)(function(){return Je()}),yt=Po()(Xe,2),ht=yt[0],zt=yt[1];return(0,Ni.LI)(function(){return uo.m8.listen(function(){zt(Je())})},[]),(0,oi.jsx)(lr.zt,{value:ht,children:qe.children},ht.locale)};function Xu(Be){return xt.createElement(uu,null,Be)}function Ju(Be){var qe=Be.history,Je=Be.hydrate;return d()(d()({},Be),{},{hydrate:Je&&!qe.location.pathname.startsWith(\"/~demos\")})}var fo=__webpack_require__(55187);function Li(Be){return Be.default?typeof Be.default==\"function\"?Be.default():Be.default:Be}function ii(){return[{apply:c,path:void 0},{apply:m,path:void 0},{apply:e,path:void 0},{apply:a,path:void 0},{apply:o,path:void 0}]}function ki(){return[\"patchRoutes\",\"patchClientRoutes\",\"modifyContextOpts\",\"modifyClientRenderOpts\",\"rootContainer\",\"innerProvider\",\"i18nProvider\",\"accessProvider\",\"dataflowProvider\",\"outerProvider\",\"render\",\"onRouteChange\"]}var No=null;function Fi(){return No=fo.Q$.create({plugins:ii(),validKeys:ki()}),No}function lu(){return No}var qu=__webpack_require__(40966),su=\"/\",el=!1;function tl(){return Lo.apply(this,arguments)}function Lo(){return Lo=v()(u()().mark(function Be(){var qe,Je,Xe,yt,ht,zt,on,On;return u()().wrap(function(Mn){for(;;)switch(Mn.prev=Mn.next){case 0:return qe=Fi(),Mn.next=3,Ci(qe);case 3:return Je=Mn.sent,Xe=Je.routes,yt=Je.routeComponents,Mn.next=8,qe.applyPlugins({key:\"patchRoutes\",type:fo.Ac.event,args:{routes:Xe,routeComponents:yt}});case 8:return ht=qe.applyPlugins({key:\"modifyContextOpts\",type:fo.Ac.modify,initialValue:{}}),zt=ht.basename||\"/\",on=ht.historyType||\"browser\",On=(0,qu.f)(d()({type:on,basename:zt},ht.historyOpts)),Mn.abrupt(\"return\",qe.applyPlugins({key:\"render\",type:fo.Ac.compose,initialValue:function(){var $r={routes:Xe,routeComponents:yt,pluginManager:qe,rootElement:ht.rootElement||document.getElementById(\"root\"),publicPath:su,runtimePublicPath:el,history:On,historyType:on,basename:zt,callback:ht.callback},ba=qe.applyPlugins({key:\"modifyClientRenderOpts\",type:fo.Ac.modify,initialValue:$r});return Co(ba)}})());case 13:case\"end\":return Mn.stop()}},Be)})),Lo.apply(this,arguments)}typeof history!=\"undefined\"&&location.pathname.length>1&&location.pathname.endsWith(\"/\")&&history.replaceState({},\"\",location.pathname.slice(0,-1)+location.search+location.hash),function(){var Be=typeof navigator!=\"undefined\"&&navigator.cookieEnabled&&typeof window.localStorage!=\"undefined\"&&localStorage.getItem(\"dumi:prefers-color\")||\"light\",qe=window.matchMedia(\"(prefers-color-scheme: dark)\").matches,Je=[\"light\",\"dark\",\"auto\"];document.documentElement.setAttribute(\"data-prefers-color\",Be===Je[2]?qe?Je[1]:Je[0]:Je.indexOf(Be)>-1?Be:Je[0])}(),tl(),window.g_umi={version:\"4.0.63\"}})()})();\n"
  },
  {
    "path": "docker/public/zh-CN/config/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docker/public/zh-CN/demo/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docker/public/zh-CN/guide/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docker/public/zh-CN/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docker/public/~demos/:id/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docker/public/~demos/docs-demo-demo-erd/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docker/public/~demos/docs-demo-type-erd/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docker/upload.sh",
    "content": "#  scp -r ./ root@$SERVER_IP:/root/webpdm-docker\nscp -r ./ root@$SERVER_IP:/root/webpdmdoc-docker"
  },
  {
    "path": "docs/config/index.md",
    "content": "---\norder: 1\nnav:\n    order: 2\n    title: Config\ntoc: menu\n---\n\n# props\n\n <code src=\"../type-erd.tsx\"  inline > </code>\n\n## models\n\n-   Description： Model and Filed init config \n-   Type： ModelConfig[]\n\n```\n\nexport type ModelConfig = {\n    name: string\n    label: string\n    fields: FieldConfig[]\n    module: string\n    type?: string\n\n    aggregateRoot?: boolean\n    aggregateModelKey: string\n    belongAggregate: string\n}\n\nexport type MetaTypeConfig = {\n    relationModel: string\n    type: 'Relation'\n}\n\nexport type FieldMetaTypeConfig = {\n    relationModel: string\n    type: 'Relation'\n    field: string\n}\n\nexport type FieldConfig = {\n    name: string\n    label: string\n    typeMeta?: MetaTypeConfig | FieldMetaTypeConfig[]\n    type: string\n}\n\n\n\n\n\n\n\n\n\n\n\n```\n\n## modules\n\n-   说明： 模块的初始化配置\n-   类型： ModuleConfig[]\n\n```\nexport type ModuleConfig = {\n    name: string,\n    label: string,\n}\n\n```\n\n## height\n\n-   说明： 容器的高度\n-   类型： number | string ｜ undefined\n-   默认值： undefined\n\n## style\n\n-   说明： 容器的样式设置\n-   类型： html style   对象\n-   默认值： undefined\n\n## themeColor\n\n-   说明： 皮肤主颜色\n-   类型： string\n-   默认值： black\n\n## darkness\n\n-   说明： 是否暗色背景\n-   类型： boolean\n-   默认值：false\n\n## onIgnoreEdge\n\n-   说明： 是否忽略连接线的创建\n-   类型： (field: FieldConfig) => boolean\n\n## onModelDetail\n\n-   说明： 点击模型“查看”按钮事件\n-   类型： (model: ModelConfig) => void\n\n## onReload\n\n-   说明： 刷新数据按钮接口\n-   类型： () => TData\n-   默认值： undefine\n\n```\n export type TData = {\n    models : ModelConfig[],\n    modules :ModuleConfig[]\n}\n```\n\n## intl\n\n-   说明： 内置国际化配置\n-   类型： 'EN'|'CH'\n-   默认值：'CH'\n\n## onIntl\n\n-   说明： 外置的国际化传入接口\n-   类型： (text: string) => string\n-   默认值：undefine\n\n## components\n\n-   说明： 用于替换antd的默认组件\n-   类型： IComponentConfig\n-   默认值：undefine\n\n```\nexport type IComponentConfig = {\n    Tree?: React.ComponentType\n    Input?: React.ComponentType\n    Button?: React.ComponentType\n    Dropdown?: React.ComponentType\n    Menu?: React.ComponentType\n    Select?: React.ComponentType\n    Tooltip?: React.ComponentType\n}\n\n```\n\n##  IconRenders\n-   说明： 用于替换工具栏的图标组件\n-   类型： Record<string, React.ReactNode>\n-   默认值：undefine\n\n```\n    undo: <RollbackOutlined />,   重做\n    redo: <RollbackOutlined style={{ transform: 'scaleX(-1)' }} />, 撤销\n    min: <ZoomOutOutlined />, 缩小\n    max: <ZoomInOutlined />,  放大\n    full: <BorderOutlined />, 全屏\n    miniMap: <PictureFilled />, 小地图显示\n    miniMapNo: <PictureOutlined />, 小地图关闭\n    dagreLayout: <PartitionOutlined />, 层次布局\n    relationLayout: <UngroupOutlined />, 关联布局\n    reload: <ReloadOutlined />, 刷新\n    image: <DownloadOutlined />, 下载地图\n    darkness: <SnippetsFilled />, 暗黑模型\n    light: <SnippetsOutlined />,  光明模式\n    colorClose: <BgColorsOutlined />, 彩色面板关闭\n    colorOpen: <BgColorsOutlined />   彩色面板打开\n\n```\n\n## disableIcons\n-   说明： 用于禁用工具栏的图标,名称同上\n-   类型： string[]\n-   默认值：[]\n\n## onlyMode\n-   说明： 是否只有一种模式，开启后默认只有树形模式\n-   类型： boolean\n-   默认值：false\n\n"
  },
  {
    "path": "docs/config/index.zh-CN.md",
    "content": "---\norder: 1\nnav:\n    order: 2\n    title: 配置项\ntoc: menu\n---\n\n# props\n\n <code src=\"../type-erd.tsx\"  inline ></code>\n\n## models\n\n-   说明： 模型和字段的初始化配置\n-   类型： ModelConfig[]\n\n```\n\nexport type ModelConfig = {\n    name: string\n    label: string\n    fields: FieldConfig[]\n    module: string\n    type?: string\n\n    aggregateRoot?: boolean\n    aggregateModelKey: string\n    belongAggregate: string\n}\n\nexport type MetaTypeConfig = {\n    relationModel: string\n    type: 'Relation'\n}\n\nexport type FieldMetaTypeConfig = {\n    relationModel: string\n    type: 'Relation'\n    field: string\n}\n\nexport type FieldConfig = {\n    name: string\n    label: string\n    typeMeta?: MetaTypeConfig | FieldMetaTypeConfig[]\n    type: string\n}\n\n\n\n\n\n\n\n\n\n\n\n```\n\n## modules\n\n-   说明： 模块的初始化配置\n-   类型： ModuleConfig[]\n\n```\nexport type ModuleConfig = {\n    name: string,\n    label: string,\n}\n\n```\n\n## height\n\n-   说明： 容器的高度\n-   类型： number | string ｜ undefined\n-   默认值： undefined\n\n## style\n\n-   说明： 容器的样式设置\n-   类型： html style   对象\n-   默认值： undefined\n\n## themeColor\n\n-   说明： 皮肤主颜色\n-   类型： string\n-   默认值： black\n\n## darkness\n\n-   说明： 是否暗色背景\n-   类型： boolean\n-   默认值：false\n\n## onIgnoreEdge\n\n-   说明： 是否忽略连接线的创建\n-   类型： (field: FieldConfig) => boolean\n\n## onModelDetail\n\n-   说明： 点击模型“查看”按钮事件\n-   类型： (model: ModelConfig) => void\n\n## onReload\n\n-   说明： 刷新数据按钮接口\n-   类型： () => TData\n-   默认值： undefine\n\n```\n export type TData = {\n    models : ModelConfig[],\n    modules :ModuleConfig[]\n}\n```\n\n## intl\n\n-   说明： 内置国际化配置\n-   类型： 'EN'|'CH'\n-   默认值：'CH'\n\n## onIntl\n\n-   说明： 外置的国际化传入接口\n-   类型： (text: string) => string\n-   默认值：undefine\n\n## components\n\n-   说明： 用于替换antd的默认组件\n-   类型： IComponentConfig\n-   默认值：undefine\n\n```\nexport type IComponentConfig = {\n    Tree?: React.ComponentType\n    Input?: React.ComponentType\n    Button?: React.ComponentType\n    Dropdown?: React.ComponentType\n    Menu?: React.ComponentType\n    Select?: React.ComponentType\n    Tooltip?: React.ComponentType\n}\n\n```\n\n##  IconRenders\n-   说明： 用于替换工具栏的图标组件\n-   类型： Record<string, React.ReactNode>\n-   默认值：undefine\n\n```\n    undo: <RollbackOutlined />,   重做\n    redo: <RollbackOutlined style={{ transform: 'scaleX(-1)' }} />, 撤销\n    min: <ZoomOutOutlined />, 缩小\n    max: <ZoomInOutlined />,  放大\n    full: <BorderOutlined />, 全屏\n    miniMap: <PictureFilled />, 小地图显示\n    miniMapNo: <PictureOutlined />, 小地图关闭\n    dagreLayout: <PartitionOutlined />, 层次布局\n    relationLayout: <UngroupOutlined />, 关联布局\n    reload: <ReloadOutlined />, 刷新\n    image: <DownloadOutlined />, 下载地图\n    darkness: <SnippetsFilled />, 暗黑模型\n    light: <SnippetsOutlined />,  光明模式\n    colorClose: <BgColorsOutlined />, 彩色面板关闭\n    colorOpen: <BgColorsOutlined />   彩色面板打开\n\n```\n\n## disableIcons\n-   说明： 用于禁用工具栏的图标,名称同上\n-   类型： string[]\n-   默认值：[]\n\n## onlyMode\n-   说明： 是否只有一种模式，开启后默认只有树形模式\n-   类型： boolean\n-   默认值：false\n\n"
  },
  {
    "path": "docs/demo/index.md",
    "content": "---\norder: 1\ntitle: Demo\nnav:\n    order: 3\n    title: Demo\ntoc: menu\n---\n\n <code src=\"../erd.tsx\"  ></code>\n"
  },
  {
    "path": "docs/demo/index.zh-CN.md",
    "content": "---\norder: 1\ntitle: 例子\nnav:\n    order: 3\n    title: 例子\ntoc: menu\n---\n\n <code src=\"../erd.tsx\"  ></code>\n"
  },
  {
    "path": "docs/erd.tsx",
    "content": "import React from 'react'\nimport WebPdm from 'web-pdm'\nimport ModelTest from '../test/g6-test/mock/model-test'\nimport ModuleTest from '../test/g6-test/mock/module-test'\n// import \"../test/style.less\"\nimport './style.less'\n// import 'antd/dist/antd.css'\n\nexport default () => {\n    return (\n        <WebPdm\n            models={ModelTest}\n            modules={ModuleTest}\n            erdkey='codedemo'\n            height='850'\n            className='console-g6-page-dumi'\n        />\n    )\n}\n\n//ReactDom.render(<Page />, document.getElementById('app'))\n"
  },
  {
    "path": "docs/guide/ddd.md",
    "content": "---\nlegacy: /ddd\n---\n\n# 模型驱动前端开发\n\n前端状态管理是老生常谈的话题，也许不同的人在不同时期的认识和感受都不一样，在关于说说下个版本的想法之前，首先我们来谈谈，我心目中认为最好的前端状态管理方案是什么呢？\n\nredux 有一个最佳实践就是要 data normalization ，简单的说就是拍平数据存储，尽量缩短数据的嵌套层次。这个其实是遵循关系数据的范式设计。\n\n巧合的是，另外一个的状态管理框架 mobx 作者官方博客里面直接就这么说：\n\n> The second important idea behind MobX is that for any app that is more complex than TodoMVC, you will often need a data graph, instead of a normalized tree, to store the state in a mentally manageable yet optimal way. Graphs enable referential consistency and avoid data duplication so that it can be guaranteed that derived values are never stale.\n> MobX 背后的第二个重要思想是，对于任何比 TodoMVC 更复杂的应用，您通常需要一个数据图，而不是规范化的树，以一种精神上可管理但最佳的方式存储状态。图形支持引用一致性，并避免数据重复，以便保证派生值永远不会过时。\n>> (来源：https://hackernoon.com/becoming-fully-reactive-an-in-depth-explanation-of-mobservable-55995262a254)\n\n有意思的是，facebook 内部 react 团队最新推出的前端状态管理库 Recoli 也是基于关联图形的\n\n  <img src='https://pic1.zhimg.com/80/v2-acc79877c4337e90c1d107c7ffbddeb9_1440w.jpg' /> \n  \n  <img  src=\"https://pic3.zhimg.com/80/v2-821e9e52949a3004b5eab05f855deefb_1440w.jpg\" />\n\nredux, mobx, recoli 的实践都指向这个启示，在复杂的应用里面，设计状态的结构和存储就应该象图形一样，贴近问题域模型，遵循关系数据的范式设计，这样可以尽可能保持引用一致性，避免数据重复。\n\n而 ORM 可以让数据库 schema 变成对象模型表的外键关联就转换成对象间的引用，这样看起来复杂前端状态管理 跟后端对于复杂业务系统 “屠龙刀” DDD（领域模型驱动开发） 的理念不谋而和。\n\n   <img src=\"https://pic1.zhimg.com/80/v2-a6c752edeb8ce3f65c0e059650f57daa_1440w.jpg\"  />\n\n这样前端的状态结构可以通过一张 ER 呈现出来，就象我们在一个业务系统之前会设计好 ER 图，通过这张 ER 图，可以很直观的呈现业务逻辑特征和复杂度。\n\n我们甚至可以直接在 ER 图操作进行设计调整和修改，通常使用的工具是 power-designer。\n\nWeb-pdm 要做成在线版本的 power-designer 工具。同时，根据上述理论，一个应用场景是，他可以成为某个前端状态管理库（取个名字就叫 boxer）的配套设计工具。\n\nboxer 的设计也是站在巨人的肩膀之上，调研了特性相近的库 redux-orm 和 mobx-state-tree , 最终选择了 mobx-state-tree 做为轮子 ,一个很重要的原因是类型支持得更好。boxer 的设想是对 mobx-state-tree 的一层封装。\n\nWeb-pdm 做为一个 boxer 的配套工具 ，其开发也是通过 boxer 来完成的，本身前端的状态管理足够复杂， 可以做为 boxer 的一个案例和最佳实践。\n在 Web-pdm 页面上设计好模型 和 关联关系后， 可以一键生成 boxer（mobx-state-tree） 的模型定义代码（以后甚至可以做到双向生成），然后对于模型可以增加 action 让模型充血（ rich domain model）\n"
  },
  {
    "path": "docs/guide/faq.md",
    "content": "---\ntitle: FAQ\n---\n"
  },
  {
    "path": "docs/guide/getting-started.md",
    "content": "---\ntitle: 快速上手\nlegacy: /getting\n---\n\n```bash\n\n$ npm i web-pdm\n\n```\n"
  },
  {
    "path": "docs/guide/index.md",
    "content": "---\ntitle: Guide\nnav:\n    title: Guide\n    order: 1\n---\n\n<a name=\"TCs1r\"></a>\n\n# What?\n\n<br />   E-R 方法是“实体-联系方法”（Entity-Relationship Approach）的简称。它是描述现实世界概念结构模型的有效方法，而 ER 图就是这个方法在界面上的可视化呈现。<br />\n<br />    无论是普遍的数据库驱动的开发方式，还是高大上的 DDD，或者是模型驱动的 Lowcode 平台， 亦或主数据驱动的 APaas 平台，ER 图提供了一种可视化业务的视角。<br />\n<br />\n\n<a name=\"MufSR\"></a>\n\n# Why?\n\n<a name=\"WHzcf\"></a>\n\n## 业务设计 ≈ 模型设计  ≈ 数据库设计\n\n我们知道，一个好的 APaas/Lowcode 平台能充分隔离了技术复杂度和业务复杂度，而模型元数据作为系统输入参数（每个项目的模型字段不相同），ER 图可以从这个角度上来度量一个系统的业务复杂度。<br />\n<br />    在业务复杂大型项目里面，一般会采用 DDD 的方法论来进行业务设计，而领域模型的设计是其中很重要的一部分，一般设计模型的人是领域专家和实现功能的开发者并不是一波人，可视化的 ER 图可能作为中间态产物成为了重要的交流工具。<br />  <br />  <br />      而在中小型项目中，由于业务和界面交付简单，视图模型（VO），业务模型（BO），数据模型（DO） 倾向于三元合一，ER 图则充当数据库设计工具。<br />\n<br />      业务如此重要，想象一下，一般在项目 KO 或者评审期间，所有人聚在一起，基本上都会把 ER 图展开来共同讨论。对于一些中小型项目，ER 图确定了，基本上业务逻辑，工作量都确定了，通俗的说，老程序员和架构师会把这个过程叫“项目开始编码之前严格把控数据库设计”。<br />\n<br />\n\n<a name=\"uZ1ai\"></a>\n\n## 定制化的 ER 图更有价值\n\n<br />    任何可落地的 APaas/Lowcode 一定不是通用化的。平台建设，并非从 0 开始的，他是对本公司平台化之前的技术栈，项目交付过程的抽象，必然会明显偏向某些存量的业务领域。而正是由于结合了技术栈绑定和业务属性，平台才极具价值和竞争力（无可替代）。<br />    因此会产生很多在本公司技术和业务生态里面约定成俗的概念元素（资源），以减少沟通成本。<br />    由于平台是以模型为中心的，因此 ER 图是这些概念元素（资源）可视化表现的最佳舞台，需要对通用的 ERD 进行定制化扩展业务含义的元素，领域专家可以在上面进行业务创造。<br />   \n<a name=\"cxCfH\"></a>\n\n## 在线版本的 powerdesigner\n\n<br />   ER 图设计工具有一个神器，就是 sysbase 的 powerdesigner, 由于是如此普遍，有不少公司因为用了破解版被盯上要求购买 license。<br />   powerdesigner 只所以流行，除了基本功能过硬外，最大的优点在于能够很好的支持元信息中文，这个是同类的 ER 图软件缺少的（原因是 ER 图软件都是海外公司开发的）。\n\npowerdesigner 的一个缺点是，只支持 windows<br />    可能是我孤陋寡闻，在 mac 上面没有找到很好的替代品....<br />  所以， 做在线 ER 图，除了产品本身的需要外，恐怕这也是一个重要的原因。<br />\n<br />\n\n<a name=\"2YlkC\"></a>\n\n# How?\n\n<a name=\"GV29M\"></a>\n\n## 技术选型\n\n<a name=\"Yx7HF\"></a>\n\n### SVG vs Canvas\n\n<br />以下摘录 w3cschool 的原文：\n\n|     | Canvas                                             | SVG                                                     |     |\n| --- | -------------------------------------------------- | ------------------------------------------------------- | --- |\n|     | 依赖分辨率                                         | 不依赖分辨率                                            |     |\n|     | 不支持事件处理器                                   | 支持事件处理器                                          |     |\n|     | 弱的文本渲染能力                                   | 最适合带有大型渲染区域的应用程序（比如谷歌地图）        |     |\n|     | 能够以 .png 或 .jpg 格式保存结果图像               | 复杂度高会减慢渲染速度（任何过度使用 DOM 的应用都不快） |     |\n|     | 最适合图像密集型的游戏，其中的许多对象会被频繁重绘 | 不适合游戏应用                                          |     |\n\n<br />      相比 SVG，Canvas 更像是更底层的实现，同时 Canvas 是 WebGL 的入口， 性能优化的空间更大。<br />      对于对标 powerdesigner 的 web 版的 ER 图来说， “需要展示成百上千个模型”这个是最核心的功能  ， Canvas 成了必然的选择。但是，由于 Canvas 提供的是更底层绘图 api, 缺乏上层封装 ，会导致开发体验和速度上过于原始 ，而 G6 作为一款图可视化引擎，可以弥补这里面的差距 。<br />\n<br />      <br />\n<br />\n"
  },
  {
    "path": "docs/guide/index.zh-CN.md",
    "content": "---\ntitle: 指南\nnav:\n    title: 指南\n    order: 1\n---\n\n<a name=\"TCs1r\"></a>\n\n# What?\n\n<br />   E-R 方法是“实体-联系方法”（Entity-Relationship Approach）的简称。它是描述现实世界概念结构模型的有效方法，而 ER 图就是这个方法在界面上的可视化呈现。<br />\n<br />    无论是普遍的数据库驱动的开发方式，还是高大上的 DDD，或者是模型驱动的 Lowcode 平台， 亦或主数据驱动的 APaas 平台，ER 图提供了一种可视化业务的视角。<br />\n<br />\n\n<a name=\"MufSR\"></a>\n\n# Why?\n\n<a name=\"WHzcf\"></a>\n\n## 业务设计 ≈ 模型设计  ≈ 数据库设计\n\n我们知道，一个好的 APaas/Lowcode 平台能充分隔离了技术复杂度和业务复杂度，而模型元数据作为系统输入参数（每个项目的模型字段不相同），ER 图可以从这个角度上来度量一个系统的业务复杂度。<br />\n<br />    在业务复杂大型项目里面，一般会采用 DDD 的方法论来进行业务设计，而领域模型的设计是其中很重要的一部分，一般设计模型的人是领域专家和实现功能的开发者并不是一波人，可视化的 ER 图可能作为中间态产物成为了重要的交流工具。<br />  <br />  <br />      而在中小型项目中，由于业务和界面交付简单，视图模型（VO），业务模型（BO），数据模型（DO） 倾向于三元合一，ER 图则充当数据库设计工具。<br />\n<br />      业务如此重要，想象一下，一般在项目 KO 或者评审期间，所有人聚在一起，基本上都会把 ER 图展开来共同讨论。对于一些中小型项目，ER 图确定了，基本上业务逻辑，工作量都确定了，通俗的说，老程序员和架构师会把这个过程叫“项目开始编码之前严格把控数据库设计”。<br />\n<br />\n\n<a name=\"uZ1ai\"></a>\n\n## 定制化的 ER 图更有价值\n\n<br />    任何可落地的 APaas/Lowcode 一定不是通用化的。平台建设，并非从 0 开始的，他是对本公司平台化之前的技术栈，项目交付过程的抽象，必然会明显偏向某些存量的业务领域。而正是由于结合了技术栈绑定和业务属性，平台才极具价值和竞争力（无可替代）。<br />    因此会产生很多在本公司技术和业务生态里面约定成俗的概念元素（资源），以减少沟通成本。<br />    由于平台是以模型为中心的，因此 ER 图是这些概念元素（资源）可视化表现的最佳舞台，需要对通用的 ERD 进行定制化扩展业务含义的元素，领域专家可以在上面进行业务创造。<br />   \n<a name=\"cxCfH\"></a>\n\n## 在线版本的 powerdesigner\n\n<br />   ER 图设计工具有一个神器，就是 sysbase 的 powerdesigner, 由于是如此普遍，有不少公司因为用了破解版被盯上要求购买 license。<br />   powerdesigner 只所以流行，除了基本功能过硬外，最大的优点在于能够很好的支持元信息中文，这个是同类的 ER 图软件缺少的（原因是 ER 图软件都是海外公司开发的）。\n\npowerdesigner 的一个缺点是，只支持 windows<br />    可能是我孤陋寡闻，在 mac 上面没有找到很好的替代品....<br />  所以， 做在线 ER 图，除了产品本身的需要外，恐怕这也是一个重要的原因。<br />\n<br />\n\n<a name=\"2YlkC\"></a>\n\n# How?\n\n<a name=\"GV29M\"></a>\n\n## 技术选型\n\n<a name=\"Yx7HF\"></a>\n\n### SVG vs Canvas\n\n<br />以下摘录 w3cschool 的原文：\n\n|     | Canvas                                             | SVG                                                     |     |\n| --- | -------------------------------------------------- | ------------------------------------------------------- | --- |\n|     | 依赖分辨率                                         | 不依赖分辨率                                            |     |\n|     | 不支持事件处理器                                   | 支持事件处理器                                          |     |\n|     | 弱的文本渲染能力                                   | 最适合带有大型渲染区域的应用程序（比如谷歌地图）        |     |\n|     | 能够以 .png 或 .jpg 格式保存结果图像               | 复杂度高会减慢渲染速度（任何过度使用 DOM 的应用都不快） |     |\n|     | 最适合图像密集型的游戏，其中的许多对象会被频繁重绘 | 不适合游戏应用                                          |     |\n\n<br />      相比 SVG，Canvas 更像是更底层的实现，同时 Canvas 是 WebGL 的入口， 性能优化的空间更大。<br />      对于对标 powerdesigner 的 web 版的 ER 图来说， “需要展示成百上千个模型”这个是最核心的功能  ， Canvas 成了必然的选择。但是，由于 Canvas 提供的是更底层绘图 api, 缺乏上层封装 ，会导致开发体验和速度上过于原始 ，而 G6 作为一款图可视化引擎，可以弥补这里面的差距 。<br />\n<br />      <br />\n<br />\n"
  },
  {
    "path": "docs/guide/migration.md",
    "content": "---\nlegacy: /migration\n---\n\n# 从 0.0.X 迁移\n"
  },
  {
    "path": "docs/guide/model.md",
    "content": "(建设中)\n"
  },
  {
    "path": "docs/guide/next.md",
    "content": "---\nlegacy: /next\n---\n\n<a name=\"tPlOC\"></a>\n\n## 踩坑和实践分享\n\n<a name=\"2hOYO\"></a>\n\n### 连接线\n\n<br />ER 图的连线， \"字段\" --- \"模型\" <br />连接点，在 G6 里面是通过\"锚点\" 这个概念来实现的<br />\n\n| ![5AA91131-06CD-48A6-8BBD-C2FE93AF8848.png](https://intranetproxy.alipay.com/skylark/lark/0/2020/png/150917/1588136918824-2cfa106e-f0f7-4f3e-b299-426371c92b0f.png#align=left&display=inline&height=1246&margin=%5Bobject%20Object%5D&name=5AA91131-06CD-48A6-8BBD-C2FE93AF8848.png&originHeight=1246&originWidth=2106&size=1279016&status=done&style=none&width=2106) | ![F8593258-BA3E-4F5F-B642-7774155DA7B4.png](https://intranetproxy.alipay.com/skylark/lark/0/2020/png/150917/1588136926989-d34026c1-f3f5-4f8c-9416-f6fb9d10219f.png#align=left&display=inline&height=335&margin=%5Bobject%20Object%5D&name=F8593258-BA3E-4F5F-B642-7774155DA7B4.png&originHeight=1194&originWidth=1838&size=1068211&status=done&style=none&width=515) |\n| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| 连接点在左边                                                                                                                                                                                                                                                                                                                                                           | 连接点在右边                                                                                                                                                                                                                                                                                                                                                         |\n\n<br />“连字段上的锚点”，固定上有两个，分别放在一左一右.**如何根据两个关联模型的相对方位自动选择左边还是右边**？<br />\n<br />\n<br />\n<br />我的方案是在 node:dragend 事件里面根据相对方位做判断，修改 dege 的 sourceAnchor 的值：\n\n```javascript\n graph.on('node:dragend', (ev) => {\n    const shape = ev.target\n    const node = ev.item\n    const edges = node.getEdges()\n    const x = ev.x\n    edges.forEach((edge) => {\n      const sourceNode = edge.getSource()\n      const targetNode = edge.getTarget()\n\n      if (node === sourceNode) {\n        const edgeModel = edge.getModel()\n        const isTo = x < targetNode.getModel().x\n        const i = edgeModel.fieldIndex\n        const l = edgeModel.fieldsLength\n        if (sourceNode !== targetNode) {\n          graph.updateItem(edge, {\n            sourceAnchor: !isTo ? i + 2 : 2 + i + l,\n            // targetAnchor: isTo ? 0 : 1,\n          })\n\n        }\n\n      } else {\n        const edgeModel = edge.getModel()\n        const isTo = sourceNode.getModel().x < x\n        const i = edgeModel.fieldIndex\n        const l = edgeModel.fieldsLength\n\n        if (sourceNode !== targetNode) {\n        graph.updateItem(edge, {\n          sourceAnchor: !isTo ? i + 2 : 2 + i + l,\n        })\n      }\n      }\n    }) // ----获取所有的边\n```\n\n<br />“连到模型上的锚点”应该没有固定的位置，而是应该在整个模型节点表面自动连接最近的锚点，否则连线会很不好看<br />\n<br />\n<br />\n<br />\n\n| ![BBB8B7C5-068A-4E1C-85F2-A3EE116C80D2.png](https://intranetproxy.alipay.com/skylark/lark/0/2020/png/150917/1588138245488-e6eab8cf-339a-46c4-82c0-c40ee057e8a3.png#align=left&display=inline&height=1084&margin=%5Bobject%20Object%5D&name=BBB8B7C5-068A-4E1C-85F2-A3EE116C80D2.png&originHeight=1084&originWidth=1514&size=876975&status=done&style=none&width=1514) | ![608DE2AA-3015-44CA-8A4D-2828EA38313D.png](https://intranetproxy.alipay.com/skylark/lark/0/2020/png/150917/1588138310858-5f9276ad-7c78-4a94-b7f0-402bd0dc3306.png#align=left&display=inline&height=1186&margin=%5Bobject%20Object%5D&name=608DE2AA-3015-44CA-8A4D-2828EA38313D.png&originHeight=1186&originWidth=1734&size=948049&status=done&style=none&width=1734) |\n| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| 旧版本“连到模型上的锚点”是固定在模型的两边                                                                                                                                                                                                                                                                                                                            | 最新版本“连到模型上的锚点”会自动找到整个周边最接近的点                                                                                                                                                                                                                                                                                                                |\n\n<br />实现思路是，当我在 edge 没有设置锚点的时候，g6 会自动选择最接近的锚点，因为我在整个模型图上面都设置了无数的锚点可供选择：\n\n```javascript\n    getAnchorPoints(cfg) {\n      const {\n        config,\n        data,\n      } = cfg\n      const {\n        fields,\n      } = data\n      const h = config.headerHeight + getLength(fields.length) * config.fieldHeight\n      return [[0, config.headerHeight / 2 / h], // 左上方\n      [1, config.headerHeight / 2 / h], // 右上方\n      ...fields.map((field, index) => {\n        const x = 10 / config.width\n        const l = config.headerHeight + config.fieldHeight * (index + 1) - config.fieldHeight / 2\n        const y = l / h\n        return [x, y]\n      }), ...fields.map((field, index) => {\n        const x = (config.width - 10) / config.width\n        const l = config.headerHeight + config.fieldHeight * (index + 1) - config.fieldHeight / 2\n        const y = l / h\n        return [x, y]\n      }),\n      ...getTopAnch(50),\n     ...getBottomAnch(50),\n     ...getLeftAnch(100),\n     ...getRightAnch(100),\n    ]\n```\n\n上下左右的边界总共设置了 300 个锚点，并且均匀分布<br />\n<br />\n\n<a name=\"6IGxj\"></a>\n\n### 布局算法选择\n\n<br />对于 ER 图来说，布局效果的好坏很影响整体的观感。[g6 内置了各种各样的布局](https://g6.antv.vision/zh/docs/api/layout/Graph)，到底哪一种最适合 ER 图呢？<br />\n\n| ![B21C9A4F-566E-43AA-B077-F0897DA98834.png](https://intranetproxy.alipay.com/skylark/lark/0/2020/png/150917/1588140199877-89698070-c195-4852-87a1-eb73b7e39a63.png#align=left&display=inline&height=1358&margin=%5Bobject%20Object%5D&name=B21C9A4F-566E-43AA-B077-F0897DA98834.png&originHeight=1358&originWidth=2316&size=1314821&status=done&style=none&width=2316)\n\n| ![7B2EE233-E3D9-44B5-B4D9-1EAFFF05EB92.png](https://intranetproxy.alipay.com/skylark/lark/0/2020/png/150917/1588140208864-f1eac2fe-bf72-4a4b-8190-a9aa9e6c2ce6.png#align=left&display=inline&height=1394&margin=%5Bobject%20Object%5D&name=7B2EE233-E3D9-44B5-B4D9-1EAFFF05EB92.png&originHeight=1394&originWidth=1652&size=1083333&status=done&style=none&width=1652) | ![FD8ACE85-1901-4157-8CAA-09EC1E093DCC.png](https://intranetproxy.alipay.com/skylark/lark/0/2020/png/150917/1588140216177-62b07b4b-c295-46ba-96b8-1ece48b58d4c.png#align=left&display=inline&height=1334&margin=%5Bobject%20Object%5D&name=FD8ACE85-1901-4157-8CAA-09EC1E093DCC.png&originHeight=1334&originWidth=1826&size=1028342&status=done&style=none&width=1826) | ![8E6536A6-1007-435A-8B3F-2BE275636860.png](https://intranetproxy.alipay.com/skylark/lark/0/2020/png/150917/1588140844047-a0922410-2456-453d-b05c-219aa794758b.png#align=left&display=inline&height=1386&margin=%5Bobject%20Object%5D&name=8E6536A6-1007-435A-8B3F-2BE275636860.png&originHeight=1386&originWidth=1934&size=1137435&status=done&style=none&width=1934) |\n| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| 层次布局                                                                                                                                                                                                                                                                                                                                                               | grid 布局                                                                                                                                                                                                                                                                                                                                                              | concentric 布局                                                                                                                                                                                                                                                                                                                                                        | 力导布局 |\n\n<br />试过各种各样的布局<br />最开始用的是层次布局，但是当没有关联的模型多的话，会在同一水平上排很长的模型， 看起来层次布局适合于流程图的情况<br />最后一个是力导布局（force）<br />力导布局最接近结果了，但是这个默认布局有个问题，没有关联关系的模型会拉得很开，造成空间上的浪费。<br />我最后解决的思路是，虚拟一个不可见的节点，把所有的模型拉在一起。<br />\n\n```javascript\nconst createSysNode = () => {\n    return {\n        id: 'model-SYS-CENTER-POINT',\n        type: 'circle',\n        isSys: true,\n        isKeySharp: true,\n        size: 10,\n    }\n}\n```\n\n<br />最终结果：<br />\n<br />![638978A4-5A10-4576-986B-2BD3A509080C.png](https://cdn.nlark.com/yuque/0/2020/png/250863/1588147821674-a4562cc3-7151-4319-94d7-e48f72442f86.png#align=left&display=inline&height=1304&margin=%5Bobject%20Object%5D&name=638978A4-5A10-4576-986B-2BD3A509080C.png&originHeight=1304&originWidth=1690&size=1121802&status=done&style=none&width=1690)<br />\n<br />\n<br />由于力导向布局不是一次性布局好的，中间会产生多次布局，变化会反应到界面上，因此会有动画的效果。<br />\n<br />注意：<br />\n<br />[g6 的 graph 的布局是支持 webworker 的](https://g6.antv.vision/zh/docs/manual/middle/layout#%E4%BD%BF%E7%94%A8-web-worker)，但是对于 subgraphLayout 方式并不支持 webworker, 需要自己实现。<br />如果使用 es 方式引用 g6 的化，webworker 并不会支持，原因是 es 代码需要经过 webpack 预处理，如果要解决在这个问题，webpack 需要配置[worker-loader](https://www.webpackjs.com/loaders/worker-loader/)，用于封装 webwoker 执行逻辑的代码。\n\n```javascript\n    {\n        test: /\\.worker\\.ts$/,\n        exclude: /(node_modules)/,\n        use: [\n          {\n            loader: 'worker-loader',\n            options: {\n              inline: true,\n              fallback: false,\n              name: 'g6Layout.worker.js',\n            },\n          },\n        ],\n      },\n```\n\n<br />\n<br />\n<br />\n<br />\n\n<a name=\"RSDvc\"></a>\n\n### 性能优化\n\n<br />通过引入 fps 测试组件来衡量性能优化的程度<br />\n\n```javascript\nexport const useFpsHook = () => {\n    const fpsRef = useRef(null)\n    useEffect(() => {\n        if (\n            fpsRef.current &&\n            window.SYS_backEndConfig &&\n            window.SYS_backEndConfig.ERD_FPS\n        ) {\n            const stats = new Stats() // alert(stats.dom)\n\n            stats.showPanel(0) // 0: fps, 1: ms, 2: mb, 3+: custom\n\n            fpsRef.current.appendChild(stats.dom)\n            stats.dom.style.position = 'relative'\n\n            function animate() {\n                stats.begin() // monitored code goes here\n\n                stats.end()\n                requestAnimationFrame(animate)\n            }\n\n            requestAnimationFrame(animate)\n        }\n    }, [])\n    return {\n        fpsRef,\n    }\n}\n```\n\n![21D2E555-F70B-4BD7-A799-174B8B102A2E.png](https://cdn.nlark.com/yuque/0/2020/png/250863/1588147821658-ce332202-2378-4b2b-ac4a-9615cca7c734.png#align=left&display=inline&height=294&margin=%5Bobject%20Object%5D&name=21D2E555-F70B-4BD7-A799-174B8B102A2E.png&originHeight=294&originWidth=494&size=93996&status=done&style=none&width=494)<br />从最开始的 FPS 个位数，800 个模型情况，到现在的 20 左右 ，以下记录一些优化心得。<br />\n<br />![1487709-20190809150507384-1624695011.png](https://cdn.nlark.com/yuque/0/2020/png/250863/1588147821894-651b35ab-c463-438d-bf90-d7efbbecdeeb.png#align=left&display=inline&height=353&margin=%5Bobject%20Object%5D&name=1487709-20190809150507384-1624695011.png&originHeight=353&originWidth=678&size=52005&status=done&style=none&width=678)<br />\n<br />以上的图我们可以推出这个结论：\n\n> 性能 =  1 /（画布大小 \\* 节点对象数量）\n\n因此性能优化的大体思路就是让 画布越小， 可视区域的节点对象数量越少。<br />\n<br />**缩小画布**<br />**<br />**![DB424001-A1F4-40F1-8F25-7CA8561759B8.png](https://cdn.nlark.com/yuque/0/2020/png/250863/1588147821642-9bbb019f-2068-4a39-a19f-b1929a4e3a9a.png#align=left&display=inline&height=270&margin=%5Bobject%20Object%5D&name=DB424001-A1F4-40F1-8F25-7CA8561759B8.png&originHeight=364&originWidth=782&size=94461&status=done&style=none&width=579)**<br />**<br />代码：\n\n```javascript\n<Popover\n    footer={false}\n    content={\n        <RadioGroup value={zoomNum * 2} onChange={zoomChange}>\n            <Radio value={200}>100%</Radio>\n            <Radio value={100}>50%</Radio>\n            <Radio value={20}>10%</Radio>\n        </RadioGroup>\n    }\n    placement=\"bottom\"\n>\n    {graph && `${zoomNum * 2}%`}\n</Popover>\n```\n\n<br />真实缩放比例其实是 1.13%，我其实是把画布缩小了一半，显示比例\\*2，性能提升还是挺明显的，这个其实是可以继续缩小，还有很大的优化空间。<br />\n<br />\n<br />**减少可视区域的节点数量**<br />\\*\\*<br />我们发现：<br />\n\n| 缩放比例越小                                                                                                                                                                                                                                                                                                                                                          | 缩放比例越大                                                                                                                                                                                                                                                                                                                                                          |\n| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| ![0D84075E-E987-4125-A257-5B357678BF8C.png](https://intranetproxy.alipay.com/skylark/lark/0/2020/png/150917/1588131029353-7f4ca53f-6b84-491c-bfaa-9d84536ce02f.png#align=left&display=inline&height=1074&margin=%5Bobject%20Object%5D&name=0D84075E-E987-4125-A257-5B357678BF8C.png&originHeight=1074&originWidth=1428&size=596128&status=done&style=none&width=1428) | ![D94A188C-F8B1-4085-8554-77B8D5A834BF.png](https://intranetproxy.alipay.com/skylark/lark/0/2020/png/150917/1588131052471-82746406-ea60-402b-9254-87d9c26dba09.png#align=left&display=inline&height=1174&margin=%5Bobject%20Object%5D&name=D94A188C-F8B1-4085-8554-77B8D5A834BF.png&originHeight=1174&originWidth=1624&size=621290&status=done&style=none&width=1624) |\n| 模型数量越多，<br />但是模型的细节就看不清楚                                                                                                                                                                                                                                                                                                                          | 模型细节就越多，<br />但是模型数量越小                                                                                                                                                                                                                                                                                                                                |\n\n<br />不清楚的地方，我们干脆就不显示，“所见即所渲染”<br />核心代码：\n\n```javascript\ngraph.on(\n    'beforepaint',\n    _.throttle(() => {\n        // alert()\n        const gWidth = graph.get('width')\n        const gHeight = graph.get('height')\n        // 获取视窗左上角对应画布的坐标点\n        const topLeft = graph.getPointByCanvas(0, 0) // 获取视窗右下角对应画布坐标点\n\n        const bottomRight = graph.getPointByCanvas(gWidth, gHeight)\n        graph\n            .getNodes()\n            .filter((a) => !a.isSys)\n            .forEach((node) => {\n                const model = node.getModel()\n                if (model.isSys) {\n                    node.getContainer().hide()\n                    return\n                }\n                const { config, data: _data } = model\n                const h =\n                    (config.headerHeight +\n                        _data.fields.length * config.fieldHeight +\n                        4) /\n                    2\n                const w = config.width / 2 // 如果节点不在视窗中，隐藏该节点，则不绘制\n                // note:由于此应用中有minimap，直接隐藏节点会影响缩略图视图，直接隐藏节点具体内容\n\n                if (\n                    !model.selected &&\n                    (model.x + w < topLeft.x - 200 ||\n                        model.x - w > bottomRight.x ||\n                        model.y + h < topLeft.y ||\n                        model.y - h > bottomRight.y)\n                ) {\n                    node.getContainer().hide()\n                } else {\n                    // 节点在视窗中，则展示\n                    node.getContainer().show()\n                }\n            })\n        const edges = graph.getEdges()\n        edges.forEach((edge) => {\n            let sourceNode = edge.get('sourceNode')\n            let targetNode = edge.get('targetNode')\n\n            if (targetNode.getModel().isSys) {\n                edge.hide()\n                return\n            }\n\n            if (\n                !sourceNode.getContainer().get('visible') &&\n                !targetNode.getContainer().get('visible')\n            ) {\n                edge.hide()\n            } else {\n                edge.show()\n            }\n        })\n    }, 10)\n)\n```\n\n1. 在 graph “beforepaint”里面做判断显示和隐藏逻辑，\n1. G6 对 show 和 hide 的实现跟 HTML 不一样，可以真正的不 render 对象\n1. 另外加入了 throttle 防止频繁渲染。\n"
  },
  {
    "path": "docs/guide/relation.md",
    "content": "(建设中)\n"
  },
  {
    "path": "docs/guide/toolbar.md",
    "content": "---\ntitle: 基本操作\n---\n"
  },
  {
    "path": "docs/index.md",
    "content": "---\ntitle: web-pdm - An ER graph tool made with G6, the ultimate goal is to make an online PowerDesigner\norder: 10\nhero:\n    title: web-pdm\n    description: An ER graph tool made with G6, the ultimate goal is to make an online PowerDesigner\n    actions:\n        - text: Getting Started\n          link: /guide/getting-started\n        - text: GitHub\n          link: https://github.com/lusess123/web-pdm\n---\n\n## Install\n\n```bash\n\n$ npm i web-pdm\n\n```\n\n## Getting Started\n\n <code src=\"./type-erd.tsx\" defaultShowCode  ></code>\n\n## Contributing\n\n```jsx | inline\nimport React from 'react'\nimport Groupjpeg from './assets/group.jpeg'\nexport default () => <img src={Groupjpeg} width=\"260\" />\n```\n\n## Donate\n\n```jsx | inline\nimport React from 'react'\nimport Groupjpeg from './assets/pay.jpeg'\nexport default () => <img src={Groupjpeg} width=\"260\" />\n```"
  },
  {
    "path": "docs/index.zh-CN.md",
    "content": "---\ntitle: web-pdm - 一个用G6做的ER图工具，最终目标是想做成在线版的 powerdesigner\norder: 10\nhero:\n  title: web-pdm\n  description: |\n    一个用G6做的ER图工具，最终目标是想做成在线版的 powerdesigner\n  actions:\n    - text: 立即上手\n      link: /guide/getting-started\n    - text: GitHub\n      link: https://github.com/lusess123/web-pdm\n---\n\n\n\n## 安装\n\n```bash\n\n$ npm i web-pdm\n\n```\n\n## 快速体验\n\n <code src=\"./type-erd.tsx\" defaultShowCode  ></code>\n\n## 反馈与共建\n\n```jsx | inline\nimport React from 'react'\nimport Groupjpeg from './assets/group.jpeg'\nexport default () => <img src={Groupjpeg} width=\"260\" />\n```\n\n## 赞助\n\n```jsx | inline\nimport React from 'react'\nimport Groupjpeg from './assets/pay.jpeg'\nexport default () => <img src={Groupjpeg} width=\"260\" />\n```"
  },
  {
    "path": "docs/style.less",
    "content": ".console-g6-page-dumi {\n    height: 850px !important;\n}\n\n.console-g6-page-dumi-api {\n    height: 550px !important; //因为文件的关系，这边需要强制指定高度\n    position: relative;\n}\n"
  },
  {
    "path": "docs/type-erd.tsx",
    "content": "import React from 'react'\nimport WebPdm from 'web-pdm'\nimport { models, modules } from './typedata'\n// import 'antd/dist/antd.css'\nimport './style.less'\n\nexport default () => {\n    return (\n        <WebPdm\n            models={models}\n            onModelDetail={a => {\n                alert(`打开模型${a.label}(${a.name}) 的查看链接`)\n            }}\n            modules={modules}\n            erdkey='api'\n            height='600'\n            className='console-g6-page-dumi-api'\n        />\n    )\n}\n"
  },
  {
    "path": "docs/typedata.tsx",
    "content": "import { ModelConfig, ModuleConfig } from 'web-pdm'\nexport const modules: ModuleConfig[] = [\n    {\n        label: 'ER图',\n        name: 'web-pdm'\n    }\n]\n\nexport const models: ModelConfig[] = [\n    {\n        name: 'model',\n        label: '实体模型',\n        module: 'web-pdm',\n        type: '',\n        fields: [\n            {\n                name: 'id',\n                label: '主键',\n                type: 'string'\n            },\n            {\n                name: 'label',\n                label: '标签',\n                type: 'string'\n            },\n            {\n                name: 'name',\n                label: '名称',\n                type: 'string'\n            },\n            {\n                name: 'module',\n                label: '模块',\n                type: 'toOne',\n                typeMeta: {\n                    type: 'Relation',\n                    relationModel: 'module'\n                }\n            },\n            {\n                name: 'fields',\n                label: '拥有字段',\n                type: 'toMany',\n                typeMeta: {\n                    type: 'Relation',\n                    relationModel: 'field'\n                }\n            }\n        ]\n    },\n    {\n        name: 'module',\n        label: '模块',\n        module: 'web-pdm',\n        type: '',\n        fields: [\n            {\n                name: 'id',\n                label: '主键',\n                type: 'string'\n            },\n            {\n                name: 'label',\n                label: '标签',\n                type: 'string'\n            },\n            {\n                name: 'name',\n                label: '名称',\n                type: 'string'\n            },\n            {\n                name: 'models',\n                label: '拥有模型',\n                type: 'toMany',\n                typeMeta: {\n                    type: 'Relation',\n                    relationModel: 'model'\n                }\n            }\n        ]\n    },\n    {\n        name: 'field',\n        label: '字段',\n        module: 'web-pdm',\n        type: '',\n        fields: [\n            {\n                name: 'id',\n                label: '主键',\n                type: 'string'\n            },\n            {\n                name: 'label',\n                label: '标签',\n                type: 'string'\n            },\n            {\n                name: 'name',\n                label: '名称',\n                type: 'string'\n            },\n            {\n                name: 'model',\n                label: '模型',\n                type: 'toOne',\n                typeMeta: {\n                    type: 'Relation',\n                    relationModel: 'model'\n                }\n            },\n            {\n                name: 'metaType',\n                label: '关联信息',\n                type: 'toOne',\n                typeMeta: {\n                    type: 'Relation',\n                    relationModel: 'metaType'\n                }\n            }\n        ]\n    },\n    {\n        name: 'metaType',\n        label: '字段元数据',\n        module: 'web-pdm',\n        type: '',\n        fields: [\n            {\n                name: 'id',\n                label: '主键',\n                type: 'string'\n            },\n            {\n                name: 'label',\n                label: '标签',\n                type: 'string'\n            },\n            {\n                name: 'name',\n                label: '名称',\n                type: 'string'\n            }\n        ]\n    }\n]\n"
  },
  {
    "path": "docs-dist/1.b481cf9f.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[1],{1001:function(e,s,p){e.exports=p.p+\"static/pay.59254b34.jpeg\"}}]);\n"
  },
  {
    "path": "docs-dist/182.7fbd14ca.async.js",
    "content": "(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[182],{61875:function(x,L,y){\"use strict\";var I=y(81229),A=y(50959),p=y(70810);function j(a,e){return k(a)||S(a,e)||_(a,e)||E()}function E(){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 _(a,e){if(a){if(typeof a==\"string\")return O(a,e);var t=Object.prototype.toString.call(a).slice(8,-1);if(t===\"Object\"&&a.constructor&&(t=a.constructor.name),t===\"Map\"||t===\"Set\")return Array.from(a);if(t===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return O(a,e)}}function O(a,e){(e==null||e>a.length)&&(e=a.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=a[t];return n}function S(a,e){var t=a==null?null:typeof Symbol!=\"undefined\"&&a[Symbol.iterator]||a[\"@@iterator\"];if(t!=null){var n=[],i=!0,o=!1,u,d;try{for(t=t.call(a);!(i=(u=t.next()).done)&&(n.push(u.value),!(e&&n.length===e));i=!0);}catch(s){o=!0,d=s}finally{try{!i&&t.return!=null&&t.return()}finally{if(o)throw d}}return n}}function k(a){if(Array.isArray(a))return a}var C={toString:function(e){return typeof e.type==\"string\"&&e.type in this?\"enum\"in e?this.enum(e):this[e.type](e):e.type?this.getValidClassName(e)||e.type:\"const\"in e?e.const:\"oneOf\"in e?this.oneOf(e):\"unknown\"},string:function(e){return e.type},number:function(e){return e.type},boolean:function(e){return e.type},any:function(e){return e.type},object:function(e){var t=this,n=[];return Object.entries(e.properties||{}).forEach(function(i){var o,u=j(i,2),d=u[0],s=u[1];n.push(\"\".concat(d).concat((o=e.required)!==null&&o!==void 0&&o.includes(d)?\"\":\"?\",\": \").concat(s.type===\"object\"?\"object\":t.toString(s)))}),n.length?\"{ \".concat(n.join(\"; \"),\" }\"):\"{}\"},array:function(e){if(e.items){var t=this.getValidClassName(e.items);return t?\"\".concat(t,\"[]\"):\"\".concat(this.toString(e.items),\"[]\")}return\"any[]\"},element:function(e){return\"<\".concat(e.componentName,\" />\")},function:function(e){var t=this,n=e.signature;return\"\".concat(n.isAsync?\"async \":\"\",\"(\").concat(n.arguments.map(function(i){return\"\".concat(i.key,\": \").concat(t.toString(i))}).join(\", \"),\") => \").concat(this.toString(n.returnType))},dom:function(e){return e.className||\"DOM\"},enum:function(e){return e.enum.map(function(t){return JSON.stringify(t)}).join(\" | \")},oneOf:function(e){var t=this;return e.oneOf.map(function(n){return t.getValidClassName(n)||t.toString(n)}).join(\" | \")},getValidClassName:function(e){return\"className\"in e&&typeof e.className==\"string\"&&e.className!==\"__type\"?e.className:null}},w=function(e){var t=useState(function(){return C.toString(e)}),n=j(t,2),i=n[0],o=n[1];return useEffect(function(){o(C.toString(e))},[e]),React.createElement(\"code\",null,i)},W=function(e){var t,n=useRouteMeta(),i=n.frontmatter,o=useAtomAssets(),u=o.components,d=e.id||i.atomId,s=useIntl();if(!d)throw new Error(\"`id` properties if required for API component!\");var r=u==null?void 0:u[d];return React.createElement(\"div\",{className:\"markdown\"},React.createElement(Table,null,React.createElement(\"thead\",null,React.createElement(\"tr\",null,React.createElement(\"th\",null,s.formatMessage({id:\"api.component.name\"})),React.createElement(\"th\",null,s.formatMessage({id:\"api.component.description\"})),React.createElement(\"th\",null,s.formatMessage({id:\"api.component.type\"})),React.createElement(\"th\",null,s.formatMessage({id:\"api.component.default\"})))),React.createElement(\"tbody\",null,r&&(t=r.propsConfig)!==null&&t!==void 0&&t.properties?Object.entries(r.propsConfig.properties).map(function(c){var l,g=j(c,2),v=g[0],m=g[1];return React.createElement(\"tr\",{key:v},React.createElement(\"td\",null,v),React.createElement(\"td\",null,m.description||\"--\"),React.createElement(\"td\",null,React.createElement(w,m)),React.createElement(\"td\",null,React.createElement(\"code\",null,(l=r.propsConfig.required)!==null&&l!==void 0&&l.includes(v)?s.formatMessage({id:\"api.component.required\"}):JSON.stringify(m.default)||\"--\")))}):React.createElement(\"tr\",null,React.createElement(\"td\",{colSpan:4},s.formatMessage({id:\"api.component.\".concat(u?\"not.found\":\"unavailable\")},{id:d}))))))},B=null},57275:function(x,L,y){\"use strict\";var I=y(50959);function A(){return A=Object.assign?Object.assign.bind():function(E){for(var _=1;_<arguments.length;_++){var O=arguments[_];for(var S in O)Object.prototype.hasOwnProperty.call(O,S)&&(E[S]=O[S])}return E},A.apply(this,arguments)}var p=function(_){return React.createElement(\"span\",A({className:\"dumi-default-badge\"},_))},j=null},70810:function(x,L,y){\"use strict\";y.d(L,{Z:function(){return a}});var I=y(30826),A=y.n(I),p=y(50959),j=[\"children\"];function E(e,t){return C(e)||k(e,t)||O(e,t)||_()}function _(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function O(e,t){if(e){if(typeof e==\"string\")return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===\"Object\"&&e.constructor&&(n=e.constructor.name),n===\"Map\"||n===\"Set\")return Array.from(e);if(n===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return S(e,t)}}function S(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function k(e,t){var n=e==null?null:typeof Symbol!=\"undefined\"&&e[Symbol.iterator]||e[\"@@iterator\"];if(n!=null){var i=[],o=!0,u=!1,d,s;try{for(n=n.call(e);!(o=(d=n.next()).done)&&(i.push(d.value),!(t&&i.length===t));o=!0);}catch(r){u=!0,s=r}finally{try{!o&&n.return!=null&&n.return()}finally{if(u)throw s}}return i}}function C(e){if(Array.isArray(e))return e}function w(e,t){if(e==null)return{};var n=W(e,t),i,o;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(o=0;o<u.length;o++)i=u[o],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function W(e,t){if(e==null)return{};var n={},i=Object.keys(e),o,u;for(u=0;u<i.length;u++)o=i[u],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var B=function(t){var n=t.children,i=w(t,j),o=(0,p.useRef)(null),u=(0,p.useState)(!1),d=E(u,2),s=d[0],r=d[1],c=(0,p.useState)(!1),l=E(c,2),g=l[0],v=l[1];return(0,p.useEffect)(function(){var m=o.current;if(m){var b=A()(function(){r(m.scrollLeft>0),v(m.scrollLeft<m.scrollWidth-m.offsetWidth)},100);return b(),m.addEventListener(\"scroll\",b),window.addEventListener(\"resize\",b),function(){m.removeEventListener(\"scroll\",b),window.removeEventListener(\"resize\",b)}}},[]),p.createElement(\"div\",{className:\"dumi-default-table\"},p.createElement(\"div\",{className:\"dumi-default-table-content\",ref:o,\"data-left-folded\":s||void 0,\"data-right-folded\":g||void 0},p.createElement(\"table\",i,n)))},a=B},30826:function(x,L,y){var I=\"Expected a function\",A=NaN,p=\"[object Symbol]\",j=/^\\s+|\\s+$/g,E=/^[-+]0x[0-9a-f]+$/i,_=/^0b[01]+$/i,O=/^0o[0-7]+$/i,S=parseInt,k=typeof y.g==\"object\"&&y.g&&y.g.Object===Object&&y.g,C=typeof self==\"object\"&&self&&self.Object===Object&&self,w=k||C||Function(\"return this\")(),W=Object.prototype,B=W.toString,a=Math.max,e=Math.min,t=function(){return w.Date.now()};function n(r,c,l){var g,v,m,b,h,R,M=0,V=!1,N=!1,$=!0;if(typeof r!=\"function\")throw new TypeError(I);c=s(c)||0,o(l)&&(V=!!l.leading,N=\"maxWait\"in l,m=N?a(s(l.maxWait)||0,c):m,$=\"trailing\"in l?!!l.trailing:$);function F(f){var T=g,P=v;return g=v=void 0,M=f,b=r.apply(P,T),b}function J(f){return M=f,h=setTimeout(D,c),V?F(f):b}function X(f){var T=f-R,P=f-M,z=c-T;return N?e(z,m-P):z}function H(f){var T=f-R,P=f-M;return R===void 0||T>=c||T<0||N&&P>=m}function D(){var f=t();if(H(f))return K(f);h=setTimeout(D,X(f))}function K(f){return h=void 0,$&&g?F(f):(g=v=void 0,b)}function G(){h!==void 0&&clearTimeout(h),M=0,g=R=v=h=void 0}function Z(){return h===void 0?b:K(t())}function U(){var f=t(),T=H(f);if(g=arguments,v=this,R=f,T){if(h===void 0)return J(R);if(N)return h=setTimeout(D,c),F(R)}return h===void 0&&(h=setTimeout(D,c)),b}return U.cancel=G,U.flush=Z,U}function i(r,c,l){var g=!0,v=!0;if(typeof r!=\"function\")throw new TypeError(I);return o(l)&&(g=\"leading\"in l?!!l.leading:g,v=\"trailing\"in l?!!l.trailing:v),n(r,c,{leading:g,maxWait:c,trailing:v})}function o(r){var c=typeof r;return!!r&&(c==\"object\"||c==\"function\")}function u(r){return!!r&&typeof r==\"object\"}function d(r){return typeof r==\"symbol\"||u(r)&&B.call(r)==p}function s(r){if(typeof r==\"number\")return r;if(d(r))return A;if(o(r)){var c=typeof r.valueOf==\"function\"?r.valueOf():r;r=o(c)?c+\"\":c}if(typeof r!=\"string\")return r===0?r:+r;r=r.replace(j,\"\");var l=_.test(r);return l||O.test(r)?S(r.slice(2),l?2:8):E.test(r)?A:+r}x.exports=i}}]);\n"
  },
  {
    "path": "docs-dist/404.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docs-dist/448.040494bf.async.js",
    "content": "var sg=Object.defineProperty,ug=Object.defineProperties;var cg=Object.getOwnPropertyDescriptors;var zh=Object.getOwnPropertySymbols;var lg=Object.prototype.hasOwnProperty,fg=Object.prototype.propertyIsEnumerable;var $h=(Pt,Ee,c)=>Ee in Pt?sg(Pt,Ee,{enumerable:!0,configurable:!0,writable:!0,value:c}):Pt[Ee]=c,Rs=(Pt,Ee)=>{for(var c in Ee||(Ee={}))lg.call(Ee,c)&&$h(Pt,c,Ee[c]);if(zh)for(var c of zh(Ee))fg.call(Ee,c)&&$h(Pt,c,Ee[c]);return Pt},Mu=(Pt,Ee)=>ug(Pt,cg(Ee));(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[448],{81548:function(Pt,Ee,c){\"use strict\";c.d(Ee,{R_:function(){return M}});var r=c(36914),y=c(31105),N=2,C=.16,w=.05,O=.05,b=.15,p=5,u=4,a=[{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 f(Ce){var oe=Ce.r,he=Ce.g,ie=Ce.b,ae=(0,r.py)(oe,he,ie);return{h:ae.h*360,s:ae.s,v:ae.v}}function h(Ce){var oe=Ce.r,he=Ce.g,ie=Ce.b;return\"#\".concat((0,r.vq)(oe,he,ie,!1))}function l(Ce,oe,he){var ie=he/100,ae={r:(oe.r-Ce.r)*ie+Ce.r,g:(oe.g-Ce.g)*ie+Ce.g,b:(oe.b-Ce.b)*ie+Ce.b};return ae}function s(Ce,oe,he){var ie;return Math.round(Ce.h)>=60&&Math.round(Ce.h)<=240?ie=he?Math.round(Ce.h)-N*oe:Math.round(Ce.h)+N*oe:ie=he?Math.round(Ce.h)+N*oe:Math.round(Ce.h)-N*oe,ie<0?ie+=360:ie>=360&&(ie-=360),ie}function m(Ce,oe,he){if(Ce.h===0&&Ce.s===0)return Ce.s;var ie;return he?ie=Ce.s-C*oe:oe===u?ie=Ce.s+C:ie=Ce.s+w*oe,ie>1&&(ie=1),he&&oe===p&&ie>.1&&(ie=.1),ie<.06&&(ie=.06),Number(ie.toFixed(2))}function x(Ce,oe,he){var ie;return he?ie=Ce.v+O*oe:ie=Ce.v-b*oe,ie>1&&(ie=1),Number(ie.toFixed(2))}function M(Ce){for(var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},he=[],ie=(0,y.uA)(Ce),ae=p;ae>0;ae-=1){var ve=f(ie),X=h((0,y.uA)({h:s(ve,ae,!0),s:m(ve,ae,!0),v:x(ve,ae,!0)}));he.push(X)}he.push(h(ie));for(var se=1;se<=u;se+=1){var fe=f(ie),_e=h((0,y.uA)({h:s(fe,se),s:m(fe,se),v:x(fe,se)}));he.push(_e)}return oe.theme===\"dark\"?a.map(function(be){var We=be.index,we=be.opacity,Ze=h(l((0,y.uA)(oe.backgroundColor||\"#141414\"),(0,y.uA)(he[We]),we*100));return Ze}):he}var E={red:\"#F5222D\",volcano:\"#FA541C\",orange:\"#FA8C16\",gold:\"#FAAD14\",yellow:\"#FADB14\",lime:\"#A0D911\",green:\"#52C41A\",cyan:\"#13C2C2\",blue:\"#1677FF\",geekblue:\"#2F54EB\",purple:\"#722ED1\",magenta:\"#EB2F96\",grey:\"#666666\"},j={},L={};Object.keys(E).forEach(function(Ce){j[Ce]=M(E[Ce]),j[Ce].primary=j[Ce][5],L[Ce]=M(E[Ce],{theme:\"dark\",backgroundColor:\"#141414\"}),L[Ce].primary=L[Ce][5]});var A=j.red,J=j.volcano,q=j.gold,re=j.orange,me=j.yellow,Te=j.lime,ee=j.green,xe=j.cyan,Ie=j.blue,Le=j.geekblue,De=j.purple,ce=j.magenta,ye=j.grey,Oe=j.grey},8439:function(Pt,Ee,c){\"use strict\";c.d(Ee,{E4:function(){return lr},jG:function(){return _o},fp:function(){return we},xy:function(){return Ut}});var r=c(75782),y=c(49544),N=c(50959);function C(ct){for(var tn=0,An,Rt=0,un=ct.length;un>=4;++Rt,un-=4)An=ct.charCodeAt(Rt)&255|(ct.charCodeAt(++Rt)&255)<<8|(ct.charCodeAt(++Rt)&255)<<16|(ct.charCodeAt(++Rt)&255)<<24,An=(An&65535)*1540483477+((An>>>16)*59797<<16),An^=An>>>24,tn=(An&65535)*1540483477+((An>>>16)*59797<<16)^(tn&65535)*1540483477+((tn>>>16)*59797<<16);switch(un){case 3:tn^=(ct.charCodeAt(Rt+2)&255)<<16;case 2:tn^=(ct.charCodeAt(Rt+1)&255)<<8;case 1:tn^=ct.charCodeAt(Rt)&255,tn=(tn&65535)*1540483477+((tn>>>16)*59797<<16)}return tn^=tn>>>13,tn=(tn&65535)*1540483477+((tn>>>16)*59797<<16),((tn^tn>>>15)>>>0).toString(36)}var w=C,O=c(49308),b=c(37304),p=c(40936),u=c(49962),a=c(24572),f=function(){function ct(){(0,p.Z)(this,ct),(0,a.Z)(this,\"cache\",new Map)}return(0,u.Z)(ct,[{key:\"get\",value:function(An){return this.cache.get(An.join(\"%\"))||null}},{key:\"update\",value:function(An,Rt){var un=An.join(\"%\"),Dn=this.cache.get(un),dr=Rt(Dn);dr===null?this.cache.delete(un):this.cache.set(un,dr)}}]),ct}(),h=f,l=null,s=\"data-token-hash\",m=\"data-css-hash\",x=\"data-dev-cache-path\",M=\"__cssinjs_instance__\",E=Math.random().toString(12).slice(2);function j(){if(typeof document!=\"undefined\"&&document.head&&document.body){var ct=document.body.querySelectorAll(\"style[\".concat(m,\"]\"))||[],tn=document.head.firstChild;Array.from(ct).forEach(function(Rt){Rt[M]=Rt[M]||E,document.head.insertBefore(Rt,tn)});var An={};Array.from(document.querySelectorAll(\"style[\".concat(m,\"]\"))).forEach(function(Rt){var un=Rt.getAttribute(m);if(An[un]){if(Rt[M]===E){var Dn;(Dn=Rt.parentNode)===null||Dn===void 0||Dn.removeChild(Rt)}}else An[un]=!0})}return new h}var L=N.createContext({hashPriority:\"low\",cache:j(),defaultCache:!0}),A=function(tn){var An=tn.children,Rt=_objectWithoutProperties(tn,l),un=React.useContext(L),Dn=useMemo(function(){var dr=_objectSpread({},un);Object.keys(Rt).forEach(function(Gr){var Pr=Rt[Gr];Rt[Gr]!==void 0&&(dr[Gr]=Pr)});var Ar=Rt.cache;return dr.cache=dr.cache||j(),dr.defaultCache=!Ar&&un.defaultCache,dr},[un,Rt],function(dr,Ar){return!isEqual(dr[0],Ar[0],!0)||!isEqual(dr[1],Ar[1],!0)});return React.createElement(L.Provider,{value:Dn},An)},J=L,q=c(91600);function re(){return!1}var me=!1;function Te(){return me}var ee=re;if(!1)var xe,Ie;function Le(ct,tn,An,Rt){var un=N.useContext(J),Dn=un.cache,dr=[ct].concat((0,y.Z)(tn)),Ar=ee();return N.useMemo(function(){Dn.update(dr,function(Gr){var Pr=Gr||[],Xr=(0,q.Z)(Pr,2),oo=Xr[0],io=oo===void 0?0:oo,to=Xr[1],To=to,jn=To||An();return[io+1,jn]})},[dr.join(\"_\")]),N.useEffect(function(){return function(){Dn.update(dr,function(Gr){var Pr=Gr||[],Xr=(0,q.Z)(Pr,2),oo=Xr[0],io=oo===void 0?0:oo,to=Xr[1],To=io-1;return To===0?(Rt==null||Rt(to,!1),null):[io-1,to]})}},dr),Dn.get(dr)[1]}var De=c(26143),ce=c(61237),ye=c(52797);function Oe(ct){var tn=\"\";return Object.keys(ct).forEach(function(An){var Rt=ct[An];tn+=An,Rt&&(0,De.Z)(Rt)===\"object\"?tn+=Oe(Rt):tn+=Rt}),tn}function Ce(ct,tn){return w(\"\".concat(tn,\"_\").concat(Oe(ct)))}var oe=\"layer-\".concat(Date.now(),\"-\").concat(Math.random()).replace(/\\./g,\"\"),he=\"903px\";function ie(ct,tn){if((0,ce.Z)()){var An;(0,ye.hq)(ct,oe);var Rt=document.createElement(\"div\");Rt.style.position=\"fixed\",Rt.style.left=\"0\",Rt.style.top=\"0\",tn==null||tn(Rt),document.body.appendChild(Rt);var un=getComputedStyle(Rt).width===he;return(An=Rt.parentNode)===null||An===void 0||An.removeChild(Rt),(0,ye.jL)(oe),un}return!1}var ae=void 0;function ve(){return ae===void 0&&(ae=ie(\"@layer \".concat(oe,\" { .\").concat(oe,\" { width: \").concat(he,\"!important; } }\"),function(ct){ct.className=oe})),ae}var X={},se=\"css\",fe=new Map;function _e(ct){fe.set(ct,(fe.get(ct)||0)+1)}function be(ct){if(typeof document!=\"undefined\"){var tn=document.querySelectorAll(\"style[\".concat(s,'=\"').concat(ct,'\"]'));tn.forEach(function(An){if(An[M]===E){var Rt;(Rt=An.parentNode)===null||Rt===void 0||Rt.removeChild(An)}})}}function We(ct){fe.set(ct,(fe.get(ct)||0)-1);var tn=Array.from(fe.keys()),An=tn.filter(function(Rt){var un=fe.get(Rt)||0;return un<=0});An.length<tn.length&&An.forEach(function(Rt){be(Rt),fe.delete(Rt)})}function we(ct,tn){var An=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Rt=An.salt,un=Rt===void 0?\"\":Rt,Dn=An.override,dr=Dn===void 0?X:Dn,Ar=An.formatToken,Gr=N.useMemo(function(){return Object.assign.apply(Object,[{}].concat((0,y.Z)(tn)))},[tn]),Pr=N.useMemo(function(){return Oe(Gr)},[Gr]),Xr=N.useMemo(function(){return Oe(dr)},[dr]),oo=Le(\"token\",[un,ct.id,Pr,Xr],function(){var io=ct.getDerivativeToken(Gr),to=(0,r.Z)((0,r.Z)({},io),dr);Ar&&(to=Ar(to));var To=Ce(to,un);to._tokenKey=To,_e(To);var jn=\"\".concat(se,\"-\").concat(w(To));return to._hashId=jn,[to,jn]},function(io){We(io[0]._tokenKey)});return oo}var Ze=c(51163),Ve={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},et=Ve,ht=\"-ms-\",Fe=\"-moz-\",mt=\"-webkit-\",dt=\"comm\",Lt=\"rule\",lt=\"decl\",rn=\"@page\",qt=\"@media\",hn=\"@import\",Kt=\"@charset\",an=\"@viewport\",In=\"@supports\",Ft=\"@document\",kt=\"@namespace\",At=\"@keyframes\",Fn=\"@font-face\",pn=\"@counter-style\",en=\"@font-feature-values\",Wn=Math.abs,Mn=String.fromCharCode,Kn=Object.assign;function hr(ct,tn){return Kr(ct,0)^45?(((tn<<2^Kr(ct,0))<<2^Kr(ct,1))<<2^Kr(ct,2))<<2^Kr(ct,3):0}function pr(ct){return ct.trim()}function zr(ct,tn){return(ct=tn.exec(ct))?ct[0]:ct}function Wr(ct,tn,An){return ct.replace(tn,An)}function Nr(ct,tn){return ct.indexOf(tn)}function Kr(ct,tn){return ct.charCodeAt(tn)|0}function ko(ct,tn,An){return ct.slice(tn,An)}function Ur(ct){return ct.length}function gn(ct){return ct.length}function Gt(ct,tn){return tn.push(ct),ct}function bt(ct,tn){return ct.map(tn).join(\"\")}function Zt(ct,tn){for(var An=\"\",Rt=gn(ct),un=0;un<Rt;un++)An+=tn(ct[un],un,ct,tn)||\"\";return An}function gt(ct,tn,An,Rt){switch(ct.type){case hn:case lt:return ct.return=ct.return||ct.value;case dt:return\"\";case At:return ct.return=ct.value+\"{\"+Zt(ct.children,Rt)+\"}\";case Lt:ct.value=ct.props.join(\",\")}return Ur(An=Zt(ct.children,Rt))?ct.return=ct.value+\"{\"+An+\"}\":\"\"}var Wt=1,xn=1,Dt=0,Xn=0,Rn=0,wt=\"\";function pt(ct,tn,An,Rt,un,Dn,dr){return{value:ct,root:tn,parent:An,type:Rt,props:un,children:Dn,line:Wt,column:xn,length:dr,return:\"\"}}function Ue(ct,tn){return assign(pt(\"\",null,null,\"\",null,null,0),ct,{length:-ct.length},tn)}function xt(){return Rn}function cn(){return Rn=Xn>0?Kr(wt,--Xn):0,xn--,Rn===10&&(xn=1,Wt--),Rn}function er(){return Rn=Xn<Dt?Kr(wt,Xn++):0,xn++,Rn===10&&(xn=1,Wt++),Rn}function Mr(){return Kr(wt,Xn)}function xr(){return Xn}function jr(ct,tn){return ko(wt,ct,tn)}function yo(ct){switch(ct){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function eo(ct){return Wt=xn=1,Dt=Ur(wt=ct),Xn=0,[]}function vi(ct){return wt=\"\",ct}function Ti(ct){return pr(jr(Xn-1,$e(ct===91?ct+2:ct===40?ct+1:ct)))}function wi(ct){return vi(Zi(eo(ct)))}function mi(ct){for(;(Rn=Mr())&&Rn<33;)er();return yo(ct)>2||yo(Rn)>3?\"\":\" \"}function Zi(ct){for(;er();)switch(yo(Rn)){case 0:append(Un(Xn-1),ct);break;case 2:append(Ti(Rn),ct);break;default:append(from(Rn),ct)}return ct}function aa(ct,tn){for(;--tn&&er()&&!(Rn<48||Rn>102||Rn>57&&Rn<65||Rn>70&&Rn<97););return jr(ct,xr()+(tn<6&&Mr()==32&&er()==32))}function $e(ct){for(;er();)switch(Rn){case ct:return Xn;case 34:case 39:ct!==34&&ct!==39&&$e(Rn);break;case 40:ct===41&&$e(ct);break;case 92:er();break}return Xn}function dn(ct,tn){for(;er()&&ct+Rn!==47+10;)if(ct+Rn===42+42&&Mr()===47)break;return\"/*\"+jr(tn,Xn-1)+\"*\"+Mn(ct===47?ct:er())}function Un(ct){for(;!yo(Mr());)er();return jr(ct,Xn)}function ar(ct){return vi(Rr(\"\",null,null,null,[\"\"],ct=eo(ct),0,[0],ct))}function Rr(ct,tn,An,Rt,un,Dn,dr,Ar,Gr){for(var Pr=0,Xr=0,oo=dr,io=0,to=0,To=0,jn=1,W=1,P=1,k=0,z=\"\",Q=un,F=Dn,V=Rt,U=z;W;)switch(To=k,k=er()){case 40:if(To!=108&&Kr(U,oo-1)==58){Nr(U+=Wr(Ti(k),\"&\",\"&\\f\"),\"&\\f\")!=-1&&(P=-1);break}case 34:case 39:case 91:U+=Ti(k);break;case 9:case 10:case 13:case 32:U+=mi(To);break;case 92:U+=aa(xr()-1,7);continue;case 47:switch(Mr()){case 42:case 47:Gt(Vo(dn(er(),xr()),tn,An),Gr);break;default:U+=\"/\"}break;case 123*jn:Ar[Pr++]=Ur(U)*P;case 125*jn:case 59:case 0:switch(k){case 0:case 125:W=0;case 59+Xr:to>0&&Ur(U)-oo&&Gt(to>32?Co(U+\";\",Rt,An,oo-1):Co(Wr(U,\" \",\"\")+\";\",Rt,An,oo-2),Gr);break;case 59:U+=\";\";default:if(Gt(V=Ro(U,tn,An,Pr,Xr,un,Ar,z,Q=[],F=[],oo),Dn),k===123)if(Xr===0)Rr(U,tn,V,V,Q,Dn,oo,Ar,F);else switch(io===99&&Kr(U,3)===110?100:io){case 100:case 109:case 115:Rr(ct,V,V,Rt&&Gt(Ro(ct,V,V,0,0,un,Ar,z,un,Q=[],oo),F),un,F,oo,Ar,Rt?Q:F);break;default:Rr(U,V,V,V,[\"\"],F,0,Ar,F)}}Pr=Xr=to=0,jn=P=1,z=U=\"\",oo=dr;break;case 58:oo=1+Ur(U),to=To;default:if(jn<1){if(k==123)--jn;else if(k==125&&jn++==0&&cn()==125)continue}switch(U+=Mn(k),k*jn){case 38:P=Xr>0?1:(U+=\"\\f\",-1);break;case 44:Ar[Pr++]=(Ur(U)-1)*P,P=1;break;case 64:Mr()===45&&(U+=Ti(er())),io=Mr(),Xr=oo=Ur(z=U+=Un(xr())),k++;break;case 45:To===45&&Ur(U)==2&&(jn=0)}}return Dn}function Ro(ct,tn,An,Rt,un,Dn,dr,Ar,Gr,Pr,Xr){for(var oo=un-1,io=un===0?Dn:[\"\"],to=gn(io),To=0,jn=0,W=0;To<Rt;++To)for(var P=0,k=ko(ct,oo+1,oo=Wn(jn=dr[To])),z=ct;P<to;++P)(z=pr(jn>0?io[P]+\" \"+k:Wr(k,/&\\f/g,io[P])))&&(Gr[W++]=z);return pt(ct,tn,An,un===0?Lt:Ar,Gr,Pr,Xr)}function Vo(ct,tn,An){return pt(ct,tn,An,dt,Mn(xt()),ko(ct,2,-2),0)}function Co(ct,tn,An,Rt){return pt(ct,tn,An,lt,ko(ct,0,Rt),ko(ct,Rt+1,-1),Rt)}var Mo=c(53675);function qo(ct,tn){var An=tn.path,Rt=tn.parentSelectors;devWarning(!1,\"[Ant Design CSS-in-JS] \".concat(An?\"Error in \".concat(An,\": \"):\"\").concat(ct).concat(Rt.length?\" Selector: \".concat(Rt.join(\" | \")):\"\"))}var ti=function(tn,An,Rt){if(tn===\"content\"){var un=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\\(|(no-)?(open|close)-quote/,Dn=[\"normal\",\"none\",\"initial\",\"inherit\",\"unset\"];(typeof An!=\"string\"||Dn.indexOf(An)===-1&&!un.test(An)&&(An.charAt(0)!==An.charAt(An.length-1)||An.charAt(0)!=='\"'&&An.charAt(0)!==\"'\"))&&lintWarning(\"You seem to be using a value for 'content' without quotes, try replacing it with `content: '\\\"\".concat(An,\"\\\"'`.\"),Rt)}},pi=null,ni=function(tn,An,Rt){tn===\"animation\"&&Rt.hashId&&An!==\"none\"&&lintWarning(\"You seem to be using hashed animation '\".concat(An,\"', in which case 'animationName' with Keyframe as value is recommended.\"),Rt)},si=null;function Oi(ct){var tn,An=((tn=ct.match(/:not\\(([^)]*)\\)/))===null||tn===void 0?void 0:tn[1])||\"\",Rt=An.split(/(\\[[^[]*])|(?=[.#])/).filter(function(un){return un});return Rt.length>1}function Ki(ct){return ct.parentSelectors.reduce(function(tn,An){return tn?An.includes(\"&\")?An.replace(/&/g,tn):\"\".concat(tn,\" \").concat(An):An},\"\")}var ca=function(tn,An,Rt){var un=Ki(Rt),Dn=un.match(/:not\\([^)]*\\)/g)||[];Dn.length>0&&Dn.some(Oi)&&lintWarning(\"Concat ':not' selector not support in legacy browsers.\",Rt)},zi=null,br=function(tn,An,Rt){switch(tn){case\"marginLeft\":case\"marginRight\":case\"paddingLeft\":case\"paddingRight\":case\"left\":case\"right\":case\"borderLeft\":case\"borderLeftWidth\":case\"borderLeftStyle\":case\"borderLeftColor\":case\"borderRight\":case\"borderRightWidth\":case\"borderRightStyle\":case\"borderRightColor\":case\"borderTopLeftRadius\":case\"borderTopRightRadius\":case\"borderBottomLeftRadius\":case\"borderBottomRightRadius\":lintWarning(\"You seem to be using non-logical property '\".concat(tn,\"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.\"),Rt);return;case\"margin\":case\"padding\":case\"borderWidth\":case\"borderStyle\":if(typeof An==\"string\"){var un=An.split(\" \").map(function(Ar){return Ar.trim()});un.length===4&&un[1]!==un[3]&&lintWarning(\"You seem to be using '\".concat(tn,\"' property with different left \").concat(tn,\" and right \").concat(tn,\", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.\"),Rt)}return;case\"clear\":case\"textAlign\":(An===\"left\"||An===\"right\")&&lintWarning(\"You seem to be using non-logical value '\".concat(An,\"' of \").concat(tn,\", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.\"),Rt);return;case\"borderRadius\":if(typeof An==\"string\"){var Dn=An.split(\"/\").map(function(Ar){return Ar.trim()}),dr=Dn.reduce(function(Ar,Gr){if(Ar)return Ar;var Pr=Gr.split(\" \").map(function(Xr){return Xr.trim()});return Pr.length>=2&&Pr[0]!==Pr[1]||Pr.length===3&&Pr[1]!==Pr[2]||Pr.length===4&&Pr[2]!==Pr[3]?!0:Ar},!1);dr&&lintWarning(\"You seem to be using non-logical value '\".concat(An,\"' of \").concat(tn,\", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.\"),Rt)}return;default:}},Re=null,je=function(tn,An,Rt){Rt.parentSelectors.some(function(un){var Dn=un.split(\",\");return Dn.some(function(dr){return dr.split(\"&\").length>2})})&&lintWarning(\"Should not use more than one `&` in a selector.\",Rt)},nt=null,rt=(0,ce.Z)(),Xt=\"_skip_check_\";function fn(ct){var tn=Zt(ar(ct),gt);return tn.replace(/\\{%%%\\:[^;];}/g,\";\")}function Cn(ct){return(0,De.Z)(ct)===\"object\"&&ct&&Xt in ct}function Yn(ct,tn,An){if(!tn)return ct;var Rt=\".\".concat(tn),un=An===\"low\"?\":where(\".concat(Rt,\")\"):Rt,Dn=ct.split(\",\").map(function(dr){var Ar,Gr=dr.trim().split(/\\s+/),Pr=Gr[0]||\"\",Xr=((Ar=Pr.match(/^\\w+/))===null||Ar===void 0?void 0:Ar[0])||\"\";return Pr=\"\".concat(Xr).concat(un).concat(Pr.slice(Xr.length)),[Pr].concat((0,y.Z)(Gr.slice(1))).join(\" \")});return Dn.join(\",\")}var Ae=function ct(tn){var An=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},un=Rt.root,Dn=Rt.injectHash,dr=Rt.parentSelectors,Ar=An.hashId,Gr=An.layer,Pr=An.path,Xr=An.hashPriority,oo=An.transformers,io=oo===void 0?[]:oo,to=An.linters,To=to===void 0?[]:to,jn=\"\",W={};function P(V){var U=V.getName(Ar);if(!W[U]){var ge=ct(V.style,An,{root:!1,parentSelectors:dr}),ke=(0,q.Z)(ge,1),St=ke[0];W[U]=\"@keyframes \".concat(V.getName(Ar)).concat(St)}}function k(V){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return V.forEach(function(ge){Array.isArray(ge)?k(ge,U):ge&&U.push(ge)}),U}var z=k(Array.isArray(tn)?tn:[tn]);if(z.forEach(function(V){var U=typeof V==\"string\"&&!un?{}:V;if(typeof U==\"string\")jn+=\"\".concat(U,`\n`);else if(U._keyframe)P(U);else{var ge=io.reduce(function(ke,St){var Je;return(St==null||(Je=St.visit)===null||Je===void 0?void 0:Je.call(St,ke))||ke},U);Object.keys(ge).forEach(function(ke){var St=ge[ke];if((0,De.Z)(St)===\"object\"&&St&&(ke!==\"animationName\"||!St._keyframe)&&!Cn(St)){var Je=!1,Ot=ke.trim(),It=!1;(un||Dn)&&Ar?Ot.startsWith(\"@\")?Je=!0:Ot=Yn(ke,Ar,Xr):un&&!Ar&&(Ot===\"&\"||Ot===\"\")&&(Ot=\"\",It=!0);var jt=ct(St,An,{root:It,injectHash:Je,parentSelectors:[].concat((0,y.Z)(dr),[Ot])}),Vt=(0,q.Z)(jt,2),Pn=Vt[0],Jn=Vt[1];W=(0,r.Z)((0,r.Z)({},W),Jn),jn+=\"\".concat(Ot).concat(Pn)}else{var vn,Vn=(vn=St==null?void 0:St.value)!==null&&vn!==void 0?vn:St,zt=ke.replace(/[A-Z]/g,function(nr){return\"-\".concat(nr.toLowerCase())}),ir=Vn;!et[ke]&&typeof ir==\"number\"&&ir!==0&&(ir=\"\".concat(ir,\"px\")),ke===\"animationName\"&&St!==null&&St!==void 0&&St._keyframe&&(P(St),ir=St.getName(Ar)),jn+=\"\".concat(zt,\":\").concat(ir,\";\")}})}}),!un)jn=\"{\".concat(jn,\"}\");else if(Gr&&ve()){var Q=Gr.split(\",\"),F=Q[Q.length-1].trim();jn=\"@layer \".concat(F,\" {\").concat(jn,\"}\"),Q.length>1&&(jn=\"@layer \".concat(Gr,\"{%%%:%}\").concat(jn))}return[jn,W]};function Ke(ct,tn){return w(\"\".concat(ct.join(\"%\")).concat(tn))}function Mt(){return null}function Ut(ct,tn){var An=ct.token,Rt=ct.path,un=ct.hashId,Dn=ct.layer,dr=N.useContext(J),Ar=dr.autoClear,Gr=dr.mock,Pr=dr.defaultCache,Xr=dr.hashPriority,oo=dr.container,io=dr.ssrInline,to=dr.transformers,To=dr.linters,jn=An._tokenKey,W=[jn].concat((0,y.Z)(Rt)),P=rt,k=Le(\"style\",W,function(){var U=tn(),ge=Ae(U,{hashId:un,hashPriority:Xr,layer:Dn,path:Rt.join(\"-\"),transformers:to,linters:To}),ke=(0,q.Z)(ge,2),St=ke[0],Je=ke[1],Ot=fn(St),It=Ke(W,Ot);if(P){var jt=(0,ye.hq)(Ot,It,{mark:m,prepend:\"queue\",attachTo:oo});jt[M]=E,jt.setAttribute(s,jn),Object.keys(Je).forEach(function(Vt){(0,ye.hq)(fn(Je[Vt]),\"_effect-\".concat(Vt),{mark:m,prepend:\"queue\",attachTo:oo})})}return[Ot,jn,It]},function(U,ge){var ke=(0,q.Z)(U,3),St=ke[2];(ge||Ar)&&rt&&(0,ye.jL)(St,{mark:m})}),z=(0,q.Z)(k,3),Q=z[0],F=z[1],V=z[2];return function(U){var ge;if(!io||P||!Pr)ge=N.createElement(Mt,null);else{var ke;ge=N.createElement(\"style\",(0,Ze.Z)({},(ke={},(0,a.Z)(ke,s,F),(0,a.Z)(ke,m,V),ke),{dangerouslySetInnerHTML:{__html:Q}}))}return N.createElement(N.Fragment,null,ge,U)}}function kn(ct){var tn=Array.from(ct.cache.keys()).filter(function(Rt){return Rt.startsWith(\"style%\")}),An=\"\";return tn.forEach(function(Rt){var un=_slicedToArray(ct.cache.get(Rt)[1],3),Dn=un[0],dr=un[1],Ar=un[2];An+=\"<style \".concat(ATTR_TOKEN,'=\"').concat(dr,'\" ').concat(ATTR_MARK,'=\"').concat(Ar,'\">').concat(Dn,\"</style>\")}),An}var Zn=function(){function ct(tn,An){(0,p.Z)(this,ct),(0,a.Z)(this,\"name\",void 0),(0,a.Z)(this,\"style\",void 0),(0,a.Z)(this,\"_keyframe\",!0),this.name=tn,this.style=An}return(0,u.Z)(ct,[{key:\"getName\",value:function(){var An=arguments.length>0&&arguments[0]!==void 0?arguments[0]:\"\";return An?\"\".concat(An,\"-\").concat(this.name):this.name}}]),ct}(),lr=Zn;function wr(ct,tn){if(ct.length!==tn.length)return!1;for(var An=0;An<ct.length;An++)if(ct[An]!==tn[An])return!1;return!0}var Dr=function(){function ct(){(0,p.Z)(this,ct),(0,a.Z)(this,\"cache\",void 0),(0,a.Z)(this,\"keys\",void 0),(0,a.Z)(this,\"cacheCallTimes\",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,u.Z)(ct,[{key:\"size\",value:function(){return this.keys.length}},{key:\"internalGet\",value:function(An){var Rt,un,Dn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,dr={map:this.cache};return An.forEach(function(Ar){if(!dr)dr=void 0;else{var Gr,Pr;dr=(Gr=dr)===null||Gr===void 0||(Pr=Gr.map)===null||Pr===void 0?void 0:Pr.get(Ar)}}),(Rt=dr)!==null&&Rt!==void 0&&Rt.value&&Dn&&(dr.value[1]=this.cacheCallTimes++),(un=dr)===null||un===void 0?void 0:un.value}},{key:\"get\",value:function(An){var Rt;return(Rt=this.internalGet(An,!0))===null||Rt===void 0?void 0:Rt[0]}},{key:\"has\",value:function(An){return!!this.internalGet(An)}},{key:\"set\",value:function(An,Rt){var un=this;if(!this.has(An)){if(this.size()+1>ct.MAX_CACHE_SIZE+ct.MAX_CACHE_OFFSET){var Dn=this.keys.reduce(function(Pr,Xr){var oo=(0,q.Z)(Pr,2),io=oo[1];return un.internalGet(Xr)[1]<io?[Xr,un.internalGet(Xr)[1]]:Pr},[this.keys[0],this.cacheCallTimes]),dr=(0,q.Z)(Dn,1),Ar=dr[0];this.delete(Ar)}this.keys.push(An)}var Gr=this.cache;An.forEach(function(Pr,Xr){if(Xr===An.length-1)Gr.set(Pr,{value:[Rt,un.cacheCallTimes++]});else{var oo=Gr.get(Pr);oo?oo.map||(oo.map=new Map):Gr.set(Pr,{map:new Map}),Gr=Gr.get(Pr).map}})}},{key:\"deleteByPath\",value:function(An,Rt){var un=An.get(Rt[0]);if(Rt.length===1){var Dn;return un.map?An.set(Rt[0],{map:un.map}):An.delete(Rt[0]),(Dn=un.value)===null||Dn===void 0?void 0:Dn[0]}var dr=this.deleteByPath(un.map,Rt.slice(1));return(!un.map||un.map.size===0)&&!un.value&&An.delete(Rt[0]),dr}},{key:\"delete\",value:function(An){if(this.has(An))return this.keys=this.keys.filter(function(Rt){return!wr(Rt,An)}),this.deleteByPath(this.cache,An)}}]),ct}();(0,a.Z)(Dr,\"MAX_CACHE_SIZE\",20),(0,a.Z)(Dr,\"MAX_CACHE_OFFSET\",5);var go=0,Ir=function(){function ct(tn){(0,p.Z)(this,ct),(0,a.Z)(this,\"derivatives\",void 0),(0,a.Z)(this,\"id\",void 0),this.derivatives=Array.isArray(tn)?tn:[tn],this.id=go,tn.length===0&&(0,Mo.Kp)(tn.length>0,\"[Ant Design CSS-in-JS] Theme should have at least one derivative function.\"),go+=1}return(0,u.Z)(ct,[{key:\"getDerivativeToken\",value:function(An){return this.derivatives.reduce(function(Rt,un){return un(An,Rt)},void 0)}}]),ct}(),Jr=new Dr;function _o(ct){var tn=Array.isArray(ct)?ct:[ct];return Jr.has(tn)||Jr.set(tn,new Ir(tn)),Jr.get(tn)}function No(ct){if(typeof ct==\"number\")return[[ct],!1];var tn=String(ct).trim(),An=tn.match(/(.*)(!important)/),Rt=(An?An[1]:tn).trim().split(/\\s+/),un=\"\",Dn=0;return[Rt.reduce(function(dr,Ar){return Ar.includes(\"(\")?(un+=Ar,Dn+=Ar.split(\"(\").length-1):Ar.includes(\")\")?(un+=Ar,Dn-=Ar.split(\")\").length-1,Dn===0&&(dr.push(un),un=\"\")):Dn>0?un+=Ar:dr.push(Ar),dr},[]),!!An]}function ii(ct){return ct.notSplit=!0,ct}var Lo={inset:[\"top\",\"right\",\"bottom\",\"left\"],insetBlock:[\"top\",\"bottom\"],insetBlockStart:[\"top\"],insetBlockEnd:[\"bottom\"],insetInline:[\"left\",\"right\"],insetInlineStart:[\"left\"],insetInlineEnd:[\"right\"],marginBlock:[\"marginTop\",\"marginBottom\"],marginBlockStart:[\"marginTop\"],marginBlockEnd:[\"marginBottom\"],marginInline:[\"marginLeft\",\"marginRight\"],marginInlineStart:[\"marginLeft\"],marginInlineEnd:[\"marginRight\"],paddingBlock:[\"paddingTop\",\"paddingBottom\"],paddingBlockStart:[\"paddingTop\"],paddingBlockEnd:[\"paddingBottom\"],paddingInline:[\"paddingLeft\",\"paddingRight\"],paddingInlineStart:[\"paddingLeft\"],paddingInlineEnd:[\"paddingRight\"],borderBlock:ii([\"borderTop\",\"borderBottom\"]),borderBlockStart:ii([\"borderTop\"]),borderBlockEnd:ii([\"borderBottom\"]),borderInline:ii([\"borderLeft\",\"borderRight\"]),borderInlineStart:ii([\"borderLeft\"]),borderInlineEnd:ii([\"borderRight\"]),borderBlockWidth:[\"borderTopWidth\",\"borderBottomWidth\"],borderBlockStartWidth:[\"borderTopWidth\"],borderBlockEndWidth:[\"borderBottomWidth\"],borderInlineWidth:[\"borderLeftWidth\",\"borderRightWidth\"],borderInlineStartWidth:[\"borderLeftWidth\"],borderInlineEndWidth:[\"borderRightWidth\"],borderBlockStyle:[\"borderTopStyle\",\"borderBottomStyle\"],borderBlockStartStyle:[\"borderTopStyle\"],borderBlockEndStyle:[\"borderBottomStyle\"],borderInlineStyle:[\"borderLeftStyle\",\"borderRightStyle\"],borderInlineStartStyle:[\"borderLeftStyle\"],borderInlineEndStyle:[\"borderRightStyle\"],borderBlockColor:[\"borderTopColor\",\"borderBottomColor\"],borderBlockStartColor:[\"borderTopColor\"],borderBlockEndColor:[\"borderBottomColor\"],borderInlineColor:[\"borderLeftColor\",\"borderRightColor\"],borderInlineStartColor:[\"borderLeftColor\"],borderInlineEndColor:[\"borderRightColor\"],borderStartStartRadius:[\"borderTopLeftRadius\"],borderStartEndRadius:[\"borderTopRightRadius\"],borderEndStartRadius:[\"borderBottomLeftRadius\"],borderEndEndRadius:[\"borderBottomRightRadius\"]};function ai(ct,tn){var An=ct;return tn&&(An=\"\".concat(An,\" !important\")),{_skip_check_:!0,value:An}}var Si={visit:function(tn){var An={};return Object.keys(tn).forEach(function(Rt){var un=tn[Rt],Dn=Lo[Rt];if(Dn&&(typeof un==\"number\"||typeof un==\"string\")){var dr=No(un),Ar=(0,q.Z)(dr,2),Gr=Ar[0],Pr=Ar[1];Dn.length&&Dn.notSplit?Dn.forEach(function(Xr){An[Xr]=ai(un,Pr)}):Dn.length===1?An[Dn[0]]=ai(un,Pr):Dn.length===2?Dn.forEach(function(Xr,oo){var io;An[Xr]=ai((io=Gr[oo])!==null&&io!==void 0?io:Gr[0],Pr)}):Dn.length===4?Dn.forEach(function(Xr,oo){var io,to;An[Xr]=ai((io=(to=Gr[oo])!==null&&to!==void 0?to:Gr[oo-2])!==null&&io!==void 0?io:Gr[0],Pr)}):An[Rt]=un}else An[Rt]=un}),An}},Ui=null,ln=/url\\([^)]+\\)|var\\([^)]+\\)|(\\d*\\.?\\d+)px/g;function mn(ct,tn){var An=Math.pow(10,tn+1),Rt=Math.floor(ct*An);return Math.round(Rt/10)*10/An}var fr=function(){var tn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},An=tn.rootValue,Rt=An===void 0?16:An,un=tn.precision,Dn=un===void 0?5:un,dr=tn.mediaQuery,Ar=dr===void 0?!1:dr,Gr=function(oo,io){if(!io)return oo;var to=parseFloat(io);if(to<=1)return oo;var To=mn(to/Rt,Dn);return\"\".concat(To,\"rem\")},Pr=function(oo){var io=_objectSpread({},oo);return Object.entries(oo).forEach(function(to){var To=_slicedToArray(to,2),jn=To[0],W=To[1];if(typeof W==\"string\"&&W.includes(\"px\")){var P=W.replace(ln,Gr);io[jn]=P}!unitless[jn]&&typeof W==\"number\"&&W!==0&&(io[jn]=\"\".concat(W,\"px\").replace(ln,Gr));var k=jn.trim();if(k.startsWith(\"@\")&&k.includes(\"px\")&&Ar){var z=jn.replace(ln,Gr);io[z]=io[jn],delete io[jn]}}),io};return{visit:Pr}},ft=null},58649:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return ce}});var r=c(75782),y=c(91600),N=c(24572),C=c(58733),w=c(50959),O=c(84875),b=c.n(O),p=c(35807),u=c(26143),a=c(81548),f=c(53675),h=c(52797);function l(ye,Oe){(0,f.ZP)(ye,\"[@ant-design/icons] \".concat(Oe))}function s(ye){return(0,u.Z)(ye)===\"object\"&&typeof ye.name==\"string\"&&typeof ye.theme==\"string\"&&((0,u.Z)(ye.icon)===\"object\"||typeof ye.icon==\"function\")}function m(){var ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(ye).reduce(function(Oe,Ce){var oe=ye[Ce];switch(Ce){case\"class\":Oe.className=oe,delete Oe.class;break;default:Oe[Ce]=oe}return Oe},{})}function x(ye,Oe,Ce){return Ce?w.createElement(ye.tag,(0,r.Z)((0,r.Z)({key:Oe},m(ye.attrs)),Ce),(ye.children||[]).map(function(oe,he){return x(oe,\"\".concat(Oe,\"-\").concat(ye.tag,\"-\").concat(he))})):w.createElement(ye.tag,(0,r.Z)({key:Oe},m(ye.attrs)),(ye.children||[]).map(function(oe,he){return x(oe,\"\".concat(Oe,\"-\").concat(ye.tag,\"-\").concat(he))}))}function M(ye){return(0,a.R_)(ye)[0]}function E(ye){return ye?Array.isArray(ye)?ye:[ye]:[]}var j={width:\"1em\",height:\"1em\",fill:\"currentColor\",\"aria-hidden\":\"true\",focusable:\"false\"},L=`\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`,A=function(){var Oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:L,Ce=(0,w.useContext)(p.Z),oe=Ce.csp,he=Ce.prefixCls,ie=Oe;he&&(ie=ie.replace(/anticon/g,he)),(0,w.useEffect)(function(){(0,h.hq)(ie,\"@ant-design-icons\",{prepend:!0,csp:oe})},[])},J=[\"icon\",\"className\",\"onClick\",\"style\",\"primaryColor\",\"secondaryColor\"],q={primaryColor:\"#333\",secondaryColor:\"#E6E6E6\",calculated:!1};function re(ye){var Oe=ye.primaryColor,Ce=ye.secondaryColor;q.primaryColor=Oe,q.secondaryColor=Ce||M(Oe),q.calculated=!!Ce}function me(){return(0,r.Z)({},q)}var Te=function(Oe){var Ce=Oe.icon,oe=Oe.className,he=Oe.onClick,ie=Oe.style,ae=Oe.primaryColor,ve=Oe.secondaryColor,X=(0,C.Z)(Oe,J),se=q;if(ae&&(se={primaryColor:ae,secondaryColor:ve||M(ae)}),A(),l(s(Ce),\"icon should be icon definiton, but got \".concat(Ce)),!s(Ce))return null;var fe=Ce;return fe&&typeof fe.icon==\"function\"&&(fe=(0,r.Z)((0,r.Z)({},fe),{},{icon:fe.icon(se.primaryColor,se.secondaryColor)})),x(fe.icon,\"svg-\".concat(fe.name),(0,r.Z)({className:oe,onClick:he,style:ie,\"data-icon\":fe.name,width:\"1em\",height:\"1em\",fill:\"currentColor\",\"aria-hidden\":\"true\"},X))};Te.displayName=\"IconReact\",Te.getTwoToneColors=me,Te.setTwoToneColors=re;var ee=Te;function xe(ye){var Oe=E(ye),Ce=(0,y.Z)(Oe,2),oe=Ce[0],he=Ce[1];return ee.setTwoToneColors({primaryColor:oe,secondaryColor:he})}function Ie(){var ye=ee.getTwoToneColors();return ye.calculated?[ye.primaryColor,ye.secondaryColor]:ye.primaryColor}var Le=[\"className\",\"icon\",\"spin\",\"rotate\",\"tabIndex\",\"onClick\",\"twoToneColor\"];xe(\"#1890ff\");var De=w.forwardRef(function(ye,Oe){var Ce,oe=ye.className,he=ye.icon,ie=ye.spin,ae=ye.rotate,ve=ye.tabIndex,X=ye.onClick,se=ye.twoToneColor,fe=(0,C.Z)(ye,Le),_e=w.useContext(p.Z),be=_e.prefixCls,We=be===void 0?\"anticon\":be,we=_e.rootClassName,Ze=b()(we,We,(Ce={},(0,N.Z)(Ce,\"\".concat(We,\"-\").concat(he.name),!!he.name),(0,N.Z)(Ce,\"\".concat(We,\"-spin\"),!!ie||he.name===\"loading\"),Ce),oe),Ve=ve;Ve===void 0&&X&&(Ve=-1);var et=ae?{msTransform:\"rotate(\".concat(ae,\"deg)\"),transform:\"rotate(\".concat(ae,\"deg)\")}:void 0,ht=E(se),Fe=(0,y.Z)(ht,2),mt=Fe[0],dt=Fe[1];return w.createElement(\"span\",(0,r.Z)((0,r.Z)({role:\"img\",\"aria-label\":he.name},fe),{},{ref:Oe,tabIndex:Ve,onClick:X,className:Ze}),w.createElement(ee,{icon:he,primaryColor:mt,secondaryColor:dt,style:et}))});De.displayName=\"AntdIcon\",De.getTwoToneColor=Ie,De.setTwoToneColor=xe;var ce=De},35807:function(Pt,Ee,c){\"use strict\";var r=c(50959),y=(0,r.createContext)({});Ee.Z=y},58218:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M766.4 744.3c43.7 0 79.4-36.2 79.4-80.5 0-53.5-79.4-140.8-79.4-140.8S687 610.3 687 663.8c0 44.3 35.7 80.5 79.4 80.5zm-377.1-44.1c7.1 7.1 18.6 7.1 25.6 0l256.1-256c7.1-7.1 7.1-18.6 0-25.6l-256-256c-.6-.6-1.3-1.2-2-1.7l-78.2-78.2a9.11 9.11 0 00-12.8 0l-48 48a9.11 9.11 0 000 12.8l67.2 67.2-207.8 207.9c-7.1 7.1-7.1 18.6 0 25.6l255.9 256zm12.9-448.6l178.9 178.9H223.4l178.8-178.9zM904 816H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8z\"}}]},name:\"bg-colors\",theme:\"outlined\"},C=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"BgColorsOutlined\";var b=y.forwardRef(O)},82204:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{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:\"border\",theme:\"outlined\"},C=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"BorderOutlined\";var b=y.forwardRef(O)},39810:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={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\"},C=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"CloseCircleFilled\";var b=y.forwardRef(O)},59944:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z\"}}]},name:\"download\",theme:\"outlined\"},C=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"DownloadOutlined\";var b=y.forwardRef(O)},1409:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={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=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"EllipsisOutlined\";var b=y.forwardRef(O)},19e3:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={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\"},C=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"LoadingOutlined\";var b=y.forwardRef(O)},21926:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"defs\",attrs:{},children:[{tag:\"style\",attrs:{}}]},{tag:\"path\",attrs:{d:\"M640.6 429.8h257.1c7.9 0 14.3-6.4 14.3-14.3V158.3c0-7.9-6.4-14.3-14.3-14.3H640.6c-7.9 0-14.3 6.4-14.3 14.3v92.9H490.6c-3.9 0-7.1 3.2-7.1 7.1v221.5h-85.7v-96.5c0-7.9-6.4-14.3-14.3-14.3H126.3c-7.9 0-14.3 6.4-14.3 14.3v257.2c0 7.9 6.4 14.3 14.3 14.3h257.1c7.9 0 14.3-6.4 14.3-14.3V544h85.7v221.5c0 3.9 3.2 7.1 7.1 7.1h135.7v92.9c0 7.9 6.4 14.3 14.3 14.3h257.1c7.9 0 14.3-6.4 14.3-14.3v-257c0-7.9-6.4-14.3-14.3-14.3h-257c-7.9 0-14.3 6.4-14.3 14.3v100h-78.6v-393h78.6v100c0 7.9 6.4 14.3 14.3 14.3zm53.5-217.9h150V362h-150V211.9zM329.9 587h-150V437h150v150zm364.2 75.1h150v150.1h-150V662.1z\"}}]},name:\"partition\",theme:\"outlined\"},C=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"PartitionOutlined\";var b=y.forwardRef(O)},60623:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zM338 304c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm513.9 437.1a8.11 8.11 0 01-5.2 1.9H177.2c-4.4 0-8-3.6-8-8 0-1.9.7-3.7 1.9-5.2l170.3-202c2.8-3.4 7.9-3.8 11.3-1 .3.3.7.6 1 1l99.4 118 158.1-187.5c2.8-3.4 7.9-3.8 11.3-1 .3.3.7.6 1 1l229.6 271.6c2.6 3.3 2.2 8.4-1.2 11.2z\"}}]},name:\"picture\",theme:\"filled\"},C=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"PictureFilled\";var b=y.forwardRef(O)},61567:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2zM304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z\"}}]},name:\"picture\",theme:\"outlined\"},C=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"PictureOutlined\";var b=y.forwardRef(O)},78624:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z\"}}]},name:\"reload\",theme:\"outlined\"},C=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"ReloadOutlined\";var b=y.forwardRef(O)},30211:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M793 242H366v-74c0-6.7-7.7-10.4-12.9-6.3l-142 112a8 8 0 000 12.6l142 112c5.2 4.1 12.9.4 12.9-6.3v-74h415v470H175c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h618c35.3 0 64-28.7 64-64V306c0-35.3-28.7-64-64-64z\"}}]},name:\"rollback\",theme:\"outlined\"},C=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"RollbackOutlined\";var b=y.forwardRef(O)},30716:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={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=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"SearchOutlined\";var b=y.forwardRef(O)},52962:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M832 112H724V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H500V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H320c-17.7 0-32 14.3-32 32v120h-96c-17.7 0-32 14.3-32 32v632c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32v-96h96c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM664 486H514V336h.2L664 485.8v.2zm128 274h-56V456L544 264H360v-80h68v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h152v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h68v576z\"}}]},name:\"snippets\",theme:\"filled\"},C=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"SnippetsFilled\";var b=y.forwardRef(O)},98052:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M832 112H724V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H500V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H320c-17.7 0-32 14.3-32 32v120h-96c-17.7 0-32 14.3-32 32v632c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32v-96h96c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM664 888H232V336h218v174c0 22.1 17.9 40 40 40h174v338zm0-402H514V336h.2L664 485.8v.2zm128 274h-56V456L544 264H360v-80h68v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h152v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h68v576z\"}}]},name:\"snippets\",theme:\"outlined\"},C=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"SnippetsOutlined\";var b=y.forwardRef(O)},40367:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"defs\",attrs:{},children:[{tag:\"style\",attrs:{}}]},{tag:\"path\",attrs:{d:\"M736 550H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16h448c8.8 0 16-7.2 16-16V566c0-8.8-7.2-16-16-16zm-56 136H344v-64h336v64zm208 130c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zM736 266H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16h448c8.8 0 16-7.2 16-16V282c0-8.8-7.2-16-16-16zm-56 136H344v-64h336v64zm208-194c39.8 0 72-32.2 72-72s-32.2-72-72-72-72 32.2-72 72 32.2 72 72 72zm0-96c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zM136 64c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm0 656c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24z\"}}]},name:\"ungroup\",theme:\"outlined\"},C=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"UngroupOutlined\";var b=y.forwardRef(O)},57773:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z\"}}]},name:\"zoom-in\",theme:\"outlined\"},C=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"ZoomInOutlined\";var b=y.forwardRef(O)},97378:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(75782),y=c(50959),N={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z\"}}]},name:\"zoom-out\",theme:\"outlined\"},C=N,w=c(58649),O=function(u,a){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},u),{},{ref:a,icon:C}))};O.displayName=\"ZoomOutOutlined\";var b=y.forwardRef(O)},16011:function(Pt){(function(Ee,c){Pt.exports=c()})(this,function(){return function(Ee){var c={};function r(y){if(c[y])return c[y].exports;var N=c[y]={i:y,l:!1,exports:{}};return Ee[y].call(N.exports,N,N.exports,r),N.l=!0,N.exports}return r.m=Ee,r.c=c,r.d=function(y,N,C){r.o(y,N)||Object.defineProperty(y,N,{enumerable:!0,get:C})},r.r=function(y){typeof Symbol!=\"undefined\"&&Symbol.toStringTag&&Object.defineProperty(y,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(y,\"__esModule\",{value:!0})},r.t=function(y,N){if(1&N&&(y=r(y)),8&N||4&N&&typeof y==\"object\"&&y&&y.__esModule)return y;var C=Object.create(null);if(r.r(C),Object.defineProperty(C,\"default\",{enumerable:!0,value:y}),2&N&&typeof y!=\"string\")for(var w in y)r.d(C,w,function(O){return y[O]}.bind(null,w));return C},r.n=function(y){var N=y&&y.__esModule?function(){return y.default}:function(){return y};return r.d(N,\"a\",N),N},r.o=function(y,N){return Object.prototype.hasOwnProperty.call(y,N)},r.p=\"\",r(r.s=210)}([function(Ee,c,r){\"use strict\";r.r(c),r.d(c,\"contains\",function(){return N}),r.d(c,\"includes\",function(){return N}),r.d(c,\"difference\",function(){return w}),r.d(c,\"find\",function(){return j}),r.d(c,\"findIndex\",function(){return L}),r.d(c,\"firstValue\",function(){return A}),r.d(c,\"flatten\",function(){return J}),r.d(c,\"flattenDeep\",function(){return q}),r.d(c,\"getRange\",function(){return Te}),r.d(c,\"pull\",function(){return Le}),r.d(c,\"pullAt\",function(){return ce}),r.d(c,\"reduce\",function(){return ye}),r.d(c,\"remove\",function(){return Oe}),r.d(c,\"sortBy\",function(){return oe}),r.d(c,\"union\",function(){return ie}),r.d(c,\"uniq\",function(){return he}),r.d(c,\"valuesOfKey\",function(){return ae}),r.d(c,\"head\",function(){return ve}),r.d(c,\"last\",function(){return X}),r.d(c,\"startsWith\",function(){return se}),r.d(c,\"endsWith\",function(){return fe}),r.d(c,\"filter\",function(){return C}),r.d(c,\"every\",function(){return _e}),r.d(c,\"some\",function(){return be}),r.d(c,\"group\",function(){return Ve}),r.d(c,\"groupBy\",function(){return we}),r.d(c,\"groupToMap\",function(){return Ze}),r.d(c,\"getWrapBehavior\",function(){return et}),r.d(c,\"wrapBehavior\",function(){return ht}),r.d(c,\"number2color\",function(){return mt}),r.d(c,\"parseRadius\",function(){return dt}),r.d(c,\"clamp\",function(){return Lt}),r.d(c,\"fixedBase\",function(){return lt}),r.d(c,\"isDecimal\",function(){return qt}),r.d(c,\"isEven\",function(){return hn}),r.d(c,\"isInteger\",function(){return Kt}),r.d(c,\"isNegative\",function(){return an}),r.d(c,\"isNumberEqual\",function(){return In}),r.d(c,\"isOdd\",function(){return Ft}),r.d(c,\"isPositive\",function(){return kt}),r.d(c,\"max\",function(){return re}),r.d(c,\"maxBy\",function(){return At}),r.d(c,\"min\",function(){return me}),r.d(c,\"minBy\",function(){return Fn}),r.d(c,\"mod\",function(){return pn}),r.d(c,\"toDegree\",function(){return Wn}),r.d(c,\"toInteger\",function(){return Mn}),r.d(c,\"toRadian\",function(){return hr}),r.d(c,\"forIn\",function(){return pr}),r.d(c,\"has\",function(){return zr}),r.d(c,\"hasKey\",function(){return Wr}),r.d(c,\"hasValue\",function(){return Kr}),r.d(c,\"keys\",function(){return s}),r.d(c,\"isMatch\",function(){return m}),r.d(c,\"values\",function(){return Nr}),r.d(c,\"lowerCase\",function(){return Ur}),r.d(c,\"lowerFirst\",function(){return gn}),r.d(c,\"substitute\",function(){return Gt}),r.d(c,\"upperCase\",function(){return bt}),r.d(c,\"upperFirst\",function(){return Zt}),r.d(c,\"getType\",function(){return Wt}),r.d(c,\"isArguments\",function(){return xn}),r.d(c,\"isArray\",function(){return a}),r.d(c,\"isArrayLike\",function(){return y}),r.d(c,\"isBoolean\",function(){return Dt}),r.d(c,\"isDate\",function(){return Xn}),r.d(c,\"isError\",function(){return Rn}),r.d(c,\"isFunction\",function(){return p}),r.d(c,\"isFinite\",function(){return wt}),r.d(c,\"isNil\",function(){return u}),r.d(c,\"isNull\",function(){return pt}),r.d(c,\"isNumber\",function(){return rn}),r.d(c,\"isObject\",function(){return h}),r.d(c,\"isObjectLike\",function(){return M}),r.d(c,\"isPlainObject\",function(){return E}),r.d(c,\"isPrototype\",function(){return xt}),r.d(c,\"isRegExp\",function(){return cn}),r.d(c,\"isString\",function(){return Ce}),r.d(c,\"isType\",function(){return b}),r.d(c,\"isUndefined\",function(){return er}),r.d(c,\"isElement\",function(){return Mr}),r.d(c,\"requestAnimationFrame\",function(){return xr}),r.d(c,\"clearAnimationFrame\",function(){return jr}),r.d(c,\"augment\",function(){return vi}),r.d(c,\"clone\",function(){return wi}),r.d(c,\"debounce\",function(){return mi}),r.d(c,\"memoize\",function(){return Zi}),r.d(c,\"deepMix\",function(){return $e}),r.d(c,\"each\",function(){return l}),r.d(c,\"extend\",function(){return dn}),r.d(c,\"indexOf\",function(){return Un}),r.d(c,\"isEmpty\",function(){return Rr}),r.d(c,\"isEqual\",function(){return Ro}),r.d(c,\"isEqualWith\",function(){return Vo}),r.d(c,\"map\",function(){return Co}),r.d(c,\"mapValues\",function(){return qo}),r.d(c,\"mix\",function(){return eo}),r.d(c,\"assign\",function(){return eo}),r.d(c,\"get\",function(){return ti}),r.d(c,\"set\",function(){return pi}),r.d(c,\"pick\",function(){return si}),r.d(c,\"omit\",function(){return Oi}),r.d(c,\"throttle\",function(){return Ki}),r.d(c,\"toArray\",function(){return ca}),r.d(c,\"toString\",function(){return ko}),r.d(c,\"uniqueId\",function(){return br}),r.d(c,\"noop\",function(){return Re}),r.d(c,\"identity\",function(){return je}),r.d(c,\"size\",function(){return nt}),r.d(c,\"measureTextWidth\",function(){return fn}),r.d(c,\"getEllipsisText\",function(){return Cn}),r.d(c,\"Cache\",function(){return Yn});var y=function(Ae){return Ae!==null&&typeof Ae!=\"function\"&&isFinite(Ae.length)},N=function(Ae,Ke){return!!y(Ae)&&Ae.indexOf(Ke)>-1},C=function(Ae,Ke){if(!y(Ae))return Ae;for(var Mt=[],Ut=0;Ut<Ae.length;Ut++){var kn=Ae[Ut];Ke(kn,Ut)&&Mt.push(kn)}return Mt},w=function(Ae,Ke){return Ke===void 0&&(Ke=[]),C(Ae,function(Mt){return!N(Ke,Mt)})},O={}.toString,b=function(Ae,Ke){return O.call(Ae)===\"[object \"+Ke+\"]\"},p=function(Ae){return b(Ae,\"Function\")},u=function(Ae){return Ae==null},a=function(Ae){return Array.isArray?Array.isArray(Ae):b(Ae,\"Array\")};function f(Ae){return(f=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(Ke){return typeof Ke}:function(Ke){return Ke&&typeof Symbol==\"function\"&&Ke.constructor===Symbol&&Ke!==Symbol.prototype?\"symbol\":typeof Ke})(Ae)}var h=function(Ae){var Ke=f(Ae);return Ae!==null&&Ke===\"object\"||Ke===\"function\"},l=function(Ae,Ke){if(Ae){if(a(Ae))for(var Mt=0,Ut=Ae.length;Mt<Ut&&Ke(Ae[Mt],Mt)!==!1;Mt++);else if(h(Ae)){for(var kn in Ae)if(Ae.hasOwnProperty(kn)&&Ke(Ae[kn],kn)===!1)break}}},s=Object.keys?function(Ae){return Object.keys(Ae)}:function(Ae){var Ke=[];return l(Ae,function(Mt,Ut){p(Ae)&&Ut===\"prototype\"||Ke.push(Ut)}),Ke},m=function(Ae,Ke){var Mt=s(Ke),Ut=Mt.length;if(u(Ae))return!Ut;for(var kn=0;kn<Ut;kn+=1){var Zn=Mt[kn];if(Ke[Zn]!==Ae[Zn]||!(Zn in Ae))return!1}return!0};function x(Ae){return(x=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(Ke){return typeof Ke}:function(Ke){return Ke&&typeof Symbol==\"function\"&&Ke.constructor===Symbol&&Ke!==Symbol.prototype?\"symbol\":typeof Ke})(Ae)}var M=function(Ae){return x(Ae)===\"object\"&&Ae!==null},E=function(Ae){if(!M(Ae)||!b(Ae,\"Object\"))return!1;if(Object.getPrototypeOf(Ae)===null)return!0;for(var Ke=Ae;Object.getPrototypeOf(Ke)!==null;)Ke=Object.getPrototypeOf(Ke);return Object.getPrototypeOf(Ae)===Ke},j=function(Ae,Ke){if(!a(Ae))return null;var Mt;if(p(Ke)&&(Mt=Ke),E(Ke)&&(Mt=function(kn){return m(kn,Ke)}),Mt){for(var Ut=0;Ut<Ae.length;Ut+=1)if(Mt(Ae[Ut]))return Ae[Ut]}return null},L=function(Ae,Ke,Mt){Mt===void 0&&(Mt=0);for(var Ut=Mt;Ut<Ae.length;Ut++)if(Ke(Ae[Ut],Ut))return Ut;return-1},A=function(Ae,Ke){for(var Mt=null,Ut=0;Ut<Ae.length;Ut++){var kn=Ae[Ut][Ke];if(!u(kn)){Mt=a(kn)?kn[0]:kn;break}}return Mt},J=function(Ae){if(!a(Ae))return[];for(var Ke=[],Mt=0;Mt<Ae.length;Mt++)Ke=Ke.concat(Ae[Mt]);return Ke},q=function Ae(Ke,Mt){if(Mt===void 0&&(Mt=[]),a(Ke))for(var Ut=0;Ut<Ke.length;Ut+=1)Ae(Ke[Ut],Mt);else Mt.push(Ke);return Mt},re=function(Ae){if(a(Ae))return Ae.reduce(function(Ke,Mt){return Math.max(Ke,Mt)},Ae[0])},me=function(Ae){if(a(Ae))return Ae.reduce(function(Ke,Mt){return Math.min(Ke,Mt)},Ae[0])},Te=function(Ae){var Ke=Ae.filter(function(Zn){return!isNaN(Zn)});if(!Ke.length)return{min:0,max:0};if(a(Ae[0])){for(var Mt=[],Ut=0;Ut<Ae.length;Ut++)Mt=Mt.concat(Ae[Ut]);Ke=Mt}var kn=re(Ke);return{min:me(Ke),max:kn}},ee=Array.prototype,xe=ee.splice,Ie=ee.indexOf,Le=function(Ae){for(var Ke=[],Mt=1;Mt<arguments.length;Mt++)Ke[Mt-1]=arguments[Mt];for(var Ut=0;Ut<Ke.length;Ut++)for(var kn=Ke[Ut],Zn=-1;(Zn=Ie.call(Ae,kn))>-1;)xe.call(Ae,Zn,1);return Ae},De=Array.prototype.splice,ce=function(Ae,Ke){if(!y(Ae))return[];for(var Mt=Ae?Ke.length:0,Ut=Mt-1;Mt--;){var kn=void 0,Zn=Ke[Mt];Mt!==Ut&&Zn===kn||(kn=Zn,De.call(Ae,Zn,1))}return Ae},ye=function(Ae,Ke,Mt){if(!a(Ae)&&!E(Ae))return Ae;var Ut=Mt;return l(Ae,function(kn,Zn){Ut=Ke(Ut,kn,Zn)}),Ut},Oe=function(Ae,Ke){var Mt=[];if(!y(Ae))return Mt;for(var Ut=-1,kn=[],Zn=Ae.length;++Ut<Zn;){var lr=Ae[Ut];Ke(lr,Ut,Ae)&&(Mt.push(lr),kn.push(Ut))}return ce(Ae,kn),Mt},Ce=function(Ae){return b(Ae,\"String\")},oe=function(Ae,Ke){var Mt;if(p(Ke))Mt=function(kn,Zn){return Ke(kn)-Ke(Zn)};else{var Ut=[];Ce(Ke)?Ut.push(Ke):a(Ke)&&(Ut=Ke),Mt=function(kn,Zn){for(var lr=0;lr<Ut.length;lr+=1){var wr=Ut[lr];if(kn[wr]>Zn[wr])return 1;if(kn[wr]<Zn[wr])return-1}return 0}}return Ae.sort(Mt),Ae};function he(Ae,Ke){Ke===void 0&&(Ke=new Map);var Mt=[];if(Array.isArray(Ae))for(var Ut=0,kn=Ae.length;Ut<kn;Ut++){var Zn=Ae[Ut];Ke.has(Zn)||(Mt.push(Zn),Ke.set(Zn,!0))}return Mt}var ie=function(){for(var Ae=[],Ke=0;Ke<arguments.length;Ke++)Ae[Ke]=arguments[Ke];return he([].concat.apply([],Ae))},ae=function(Ae,Ke){for(var Mt=[],Ut={},kn=0;kn<Ae.length;kn++){var Zn=Ae[kn][Ke];if(!u(Zn)){a(Zn)||(Zn=[Zn]);for(var lr=0;lr<Zn.length;lr++){var wr=Zn[lr];Ut[wr]||(Mt.push(wr),Ut[wr]=!0)}}}return Mt};function ve(Ae){if(y(Ae))return Ae[0]}function X(Ae){if(y(Ae))return Ae[Ae.length-1]}var se=function(Ae,Ke){return!(!a(Ae)&&!Ce(Ae))&&Ae[0]===Ke},fe=function(Ae,Ke){return!(!a(Ae)&&!Ce(Ae))&&Ae[Ae.length-1]===Ke},_e=function(Ae,Ke){for(var Mt=0;Mt<Ae.length;Mt++)if(!Ke(Ae[Mt],Mt))return!1;return!0},be=function(Ae,Ke){for(var Mt=0;Mt<Ae.length;Mt++)if(Ke(Ae[Mt],Mt))return!0;return!1},We=Object.prototype.hasOwnProperty,we=function(Ae,Ke){if(!Ke||!a(Ae))return{};for(var Mt,Ut={},kn=p(Ke)?Ke:function(wr){return wr[Ke]},Zn=0;Zn<Ae.length;Zn++){var lr=Ae[Zn];Mt=kn(lr),We.call(Ut,Mt)?Ut[Mt].push(lr):Ut[Mt]=[lr]}return Ut};function Ze(Ae,Ke){if(!Ke)return{0:Ae};if(!p(Ke)){var Mt=a(Ke)?Ke:Ke.replace(/\\s+/g,\"\").split(\"*\");Ke=function(Ut){for(var kn=\"_\",Zn=0,lr=Mt.length;Zn<lr;Zn++)kn+=Ut[Mt[Zn]]&&Ut[Mt[Zn]].toString();return kn}}return we(Ae,Ke)}var Ve=function(Ae,Ke){if(!Ke)return[Ae];var Mt=Ze(Ae,Ke),Ut=[];for(var kn in Mt)Ut.push(Mt[kn]);return Ut},et=function(Ae,Ke){return Ae[\"_wrap_\"+Ke]},ht=function(Ae,Ke){if(Ae[\"_wrap_\"+Ke])return Ae[\"_wrap_\"+Ke];var Mt=function(Ut){Ae[Ke](Ut)};return Ae[\"_wrap_\"+Ke]=Mt,Mt},Fe={},mt=function(Ae){var Ke=Fe[Ae];if(!Ke){for(var Mt=Ae.toString(16),Ut=Mt.length;Ut<6;Ut++)Mt=\"0\"+Mt;Ke=\"#\"+Mt,Fe[Ae]=Ke}return Ke},dt=function(Ae){var Ke=0,Mt=0,Ut=0,kn=0;return a(Ae)?Ae.length===1?Ke=Mt=Ut=kn=Ae[0]:Ae.length===2?(Ke=Ut=Ae[0],Mt=kn=Ae[1]):Ae.length===3?(Ke=Ae[0],Mt=kn=Ae[1],Ut=Ae[2]):(Ke=Ae[0],Mt=Ae[1],Ut=Ae[2],kn=Ae[3]):Ke=Mt=Ut=kn=Ae,{r1:Ke,r2:Mt,r3:Ut,r4:kn}},Lt=function(Ae,Ke,Mt){return Ae<Ke?Ke:Ae>Mt?Mt:Ae},lt=function(Ae,Ke){var Mt=Ke.toString(),Ut=Mt.indexOf(\".\");if(Ut===-1)return Math.round(Ae);var kn=Mt.substr(Ut+1).length;return kn>20&&(kn=20),parseFloat(Ae.toFixed(kn))},rn=function(Ae){return b(Ae,\"Number\")},qt=function(Ae){return rn(Ae)&&Ae%1!=0},hn=function(Ae){return rn(Ae)&&Ae%2==0},Kt=Number.isInteger?Number.isInteger:function(Ae){return rn(Ae)&&Ae%1==0},an=function(Ae){return rn(Ae)&&Ae<0};function In(Ae,Ke,Mt){return Mt===void 0&&(Mt=1e-5),Math.abs(Ae-Ke)<Mt}var Ft=function(Ae){return rn(Ae)&&Ae%2!=0},kt=function(Ae){return rn(Ae)&&Ae>0},At=function(Ae,Ke){if(a(Ae)){for(var Mt,Ut=-1/0,kn=0;kn<Ae.length;kn++){var Zn=Ae[kn],lr=p(Ke)?Ke(Zn):Zn[Ke];lr>Ut&&(Mt=Zn,Ut=lr)}return Mt}},Fn=function(Ae,Ke){if(a(Ae)){for(var Mt,Ut=1/0,kn=0;kn<Ae.length;kn++){var Zn=Ae[kn],lr=p(Ke)?Ke(Zn):Zn[Ke];lr<Ut&&(Mt=Zn,Ut=lr)}return Mt}},pn=function(Ae,Ke){return(Ae%Ke+Ke)%Ke},en=180/Math.PI,Wn=function(Ae){return en*Ae},Mn=parseInt,Kn=Math.PI/180,hr=function(Ae){return Kn*Ae},pr=l,zr=function(Ae,Ke){return Ae.hasOwnProperty(Ke)},Wr=zr,Nr=Object.values?function(Ae){return Object.values(Ae)}:function(Ae){var Ke=[];return l(Ae,function(Mt,Ut){p(Ae)&&Ut===\"prototype\"||Ke.push(Mt)}),Ke},Kr=function(Ae,Ke){return N(Nr(Ae),Ke)},ko=function(Ae){return u(Ae)?\"\":Ae.toString()},Ur=function(Ae){return ko(Ae).toLowerCase()},gn=function(Ae){var Ke=ko(Ae);return Ke.charAt(0).toLowerCase()+Ke.substring(1)},Gt=function(Ae,Ke){return Ae&&Ke?Ae.replace(/\\\\?\\{([^{}]+)\\}/g,function(Mt,Ut){return Mt.charAt(0)===\"\\\\\"?Mt.slice(1):Ke[Ut]===void 0?\"\":Ke[Ut]}):Ae},bt=function(Ae){return ko(Ae).toUpperCase()},Zt=function(Ae){var Ke=ko(Ae);return Ke.charAt(0).toUpperCase()+Ke.substring(1)},gt={}.toString,Wt=function(Ae){return gt.call(Ae).replace(/^\\[object /,\"\").replace(/]$/,\"\")},xn=function(Ae){return b(Ae,\"Arguments\")},Dt=function(Ae){return b(Ae,\"Boolean\")},Xn=function(Ae){return b(Ae,\"Date\")},Rn=function(Ae){return b(Ae,\"Error\")},wt=function(Ae){return rn(Ae)&&isFinite(Ae)},pt=function(Ae){return Ae===null},Ue=Object.prototype,xt=function(Ae){var Ke=Ae&&Ae.constructor;return Ae===(typeof Ke==\"function\"&&Ke.prototype||Ue)},cn=function(Ae){return b(Ae,\"RegExp\")},er=function(Ae){return Ae===void 0},Mr=function(Ae){return Ae instanceof Element||Ae instanceof HTMLDocument};function xr(Ae){return(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(Ke){return setTimeout(Ke,16)})(Ae)}function jr(Ae){(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame||clearTimeout)(Ae)}function yo(Ae,Ke){for(var Mt in Ke)Ke.hasOwnProperty(Mt)&&Mt!==\"constructor\"&&Ke[Mt]!==void 0&&(Ae[Mt]=Ke[Mt])}function eo(Ae,Ke,Mt,Ut){return Ke&&yo(Ae,Ke),Mt&&yo(Ae,Mt),Ut&&yo(Ae,Ut),Ae}var vi=function(){for(var Ae=[],Ke=0;Ke<arguments.length;Ke++)Ae[Ke]=arguments[Ke];for(var Mt=Ae[0],Ut=1;Ut<Ae.length;Ut++){var kn=Ae[Ut];p(kn)&&(kn=kn.prototype),eo(Mt.prototype,kn)}};function Ti(Ae){return(Ti=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(Ke){return typeof Ke}:function(Ke){return Ke&&typeof Symbol==\"function\"&&Ke.constructor===Symbol&&Ke!==Symbol.prototype?\"symbol\":typeof Ke})(Ae)}var wi=function Ae(Ke){if(Ti(Ke)!==\"object\"||Ke===null)return Ke;var Mt;if(a(Ke)){Mt=[];for(var Ut=0,kn=Ke.length;Ut<kn;Ut++)Ti(Ke[Ut])===\"object\"&&Ke[Ut]!=null?Mt[Ut]=Ae(Ke[Ut]):Mt[Ut]=Ke[Ut]}else for(var Zn in Mt={},Ke)Ti(Ke[Zn])===\"object\"&&Ke[Zn]!=null?Mt[Zn]=Ae(Ke[Zn]):Mt[Zn]=Ke[Zn];return Mt},mi=function(Ae,Ke,Mt){var Ut;return function(){var kn=this,Zn=arguments,lr=function(){Ut=null,Mt||Ae.apply(kn,Zn)},wr=Mt&&!Ut;clearTimeout(Ut),Ut=setTimeout(lr,Ke),wr&&Ae.apply(kn,Zn)}},Zi=function(Ae,Ke){if(!p(Ae))throw new TypeError(\"Expected a function\");var Mt=function Ut(){for(var kn=[],Zn=0;Zn<arguments.length;Zn++)kn[Zn]=arguments[Zn];var lr=Ke?Ke.apply(this,kn):kn[0],wr=Ut.cache;if(wr.has(lr))return wr.get(lr);var Dr=Ae.apply(this,kn);return wr.set(lr,Dr),Dr};return Mt.cache=new Map,Mt};function aa(Ae,Ke,Mt,Ut){for(var kn in Mt=Mt||0,Ut=Ut||5,Ke)if(Ke.hasOwnProperty(kn)){var Zn=Ke[kn];Zn!==null&&E(Zn)?(E(Ae[kn])||(Ae[kn]={}),Mt<Ut?aa(Ae[kn],Zn,Mt+1,Ut):Ae[kn]=Ke[kn]):a(Zn)?(Ae[kn]=[],Ae[kn]=Ae[kn].concat(Zn)):Zn!==void 0&&(Ae[kn]=Zn)}}var $e=function(Ae){for(var Ke=[],Mt=1;Mt<arguments.length;Mt++)Ke[Mt-1]=arguments[Mt];for(var Ut=0;Ut<Ke.length;Ut+=1)aa(Ae,Ke[Ut]);return Ae},dn=function(Ae,Ke,Mt,Ut){p(Ke)||(Mt=Ke,Ke=Ae,Ae=function(){});var kn=Object.create?function(lr,wr){return Object.create(lr,{constructor:{value:wr}})}:function(lr,wr){function Dr(){}Dr.prototype=lr;var go=new Dr;return go.constructor=wr,go},Zn=kn(Ke.prototype,Ae);return Ae.prototype=eo(Zn,Ae.prototype),Ae.superclass=kn(Ke.prototype,Ke),eo(Zn,Mt),eo(Ae,Ut),Ae},Un=function(Ae,Ke){if(!y(Ae))return-1;var Mt=Array.prototype.indexOf;if(Mt)return Mt.call(Ae,Ke);for(var Ut=-1,kn=0;kn<Ae.length;kn++)if(Ae[kn]===Ke){Ut=kn;break}return Ut},ar=Object.prototype.hasOwnProperty,Rr=function(Ae){if(u(Ae))return!0;if(y(Ae))return!Ae.length;var Ke=Wt(Ae);if(Ke===\"Map\"||Ke===\"Set\")return!Ae.size;if(xt(Ae))return!Object.keys(Ae).length;for(var Mt in Ae)if(ar.call(Ae,Mt))return!1;return!0},Ro=function Ae(Ke,Mt){if(Ke===Mt)return!0;if(!Ke||!Mt||Ce(Ke)||Ce(Mt))return!1;if(y(Ke)||y(Mt)){if(Ke.length!==Mt.length)return!1;for(var Ut=!0,kn=0;kn<Ke.length&&(Ut=Ae(Ke[kn],Mt[kn]));kn++);return Ut}if(M(Ke)||M(Mt)){var Zn=Object.keys(Ke),lr=Object.keys(Mt);if(Zn.length!==lr.length)return!1;for(Ut=!0,kn=0;kn<Zn.length&&(Ut=Ae(Ke[Zn[kn]],Mt[Zn[kn]]));kn++);return Ut}return!1},Vo=function(Ae,Ke,Mt){return p(Mt)?!!Mt(Ae,Ke):Ro(Ae,Ke)},Co=function(Ae,Ke){if(!y(Ae))return Ae;for(var Mt=[],Ut=0;Ut<Ae.length;Ut++){var kn=Ae[Ut];Mt.push(Ke(kn,Ut))}return Mt},Mo=function(Ae){return Ae},qo=function(Ae,Ke){Ke===void 0&&(Ke=Mo);var Mt={};return h(Ae)&&!u(Ae)&&Object.keys(Ae).forEach(function(Ut){Mt[Ut]=Ke(Ae[Ut],Ut)}),Mt},ti=function(Ae,Ke,Mt){for(var Ut=0,kn=Ce(Ke)?Ke.split(\".\"):Ke;Ae&&Ut<kn.length;)Ae=Ae[kn[Ut++]];return Ae===void 0||Ut<kn.length?Mt:Ae},pi=function(Ae,Ke,Mt){var Ut=Ae,kn=Ce(Ke)?Ke.split(\".\"):Ke;return kn.forEach(function(Zn,lr){lr<kn.length-1?(h(Ut[Zn])||(Ut[Zn]=rn(kn[lr+1])?[]:{}),Ut=Ut[Zn]):Ut[Zn]=Mt}),Ae},ni=Object.prototype.hasOwnProperty,si=function(Ae,Ke){if(Ae===null||!E(Ae))return{};var Mt={};return l(Ke,function(Ut){ni.call(Ae,Ut)&&(Mt[Ut]=Ae[Ut])}),Mt},Oi=function(Ae,Ke){return ye(Ae,function(Mt,Ut,kn){return Ke.includes(kn)||(Mt[kn]=Ut),Mt},{})},Ki=function(Ae,Ke,Mt){var Ut,kn,Zn,lr,wr=0;Mt||(Mt={});var Dr=function(){wr=Mt.leading===!1?0:Date.now(),Ut=null,lr=Ae.apply(kn,Zn),Ut||(kn=Zn=null)},go=function(){var Ir=Date.now();wr||Mt.leading!==!1||(wr=Ir);var Jr=Ke-(Ir-wr);return kn=this,Zn=arguments,Jr<=0||Jr>Ke?(Ut&&(clearTimeout(Ut),Ut=null),wr=Ir,lr=Ae.apply(kn,Zn),Ut||(kn=Zn=null)):Ut||Mt.trailing===!1||(Ut=setTimeout(Dr,Jr)),lr};return go.cancel=function(){clearTimeout(Ut),wr=0,Ut=kn=Zn=null},go},ca=function(Ae){return y(Ae)?Array.prototype.slice.call(Ae):[]},zi={},br=function(Ae){return zi[Ae=Ae||\"g\"]?zi[Ae]+=1:zi[Ae]=1,Ae+zi[Ae]},Re=function(){},je=function(Ae){return Ae};function nt(Ae){return u(Ae)?0:y(Ae)?Ae.length:Object.keys(Ae).length}var rt,Xt=r(1),fn=Zi(function(Ae,Ke){Ke===void 0&&(Ke={});var Mt=Ke.fontSize,Ut=Ke.fontFamily,kn=Ke.fontWeight,Zn=Ke.fontStyle,lr=Ke.fontVariant;return rt||(rt=document.createElement(\"canvas\").getContext(\"2d\")),rt.font=[Zn,lr,kn,Mt+\"px\",Ut].join(\" \"),rt.measureText(Ce(Ae)?Ae:\"\").width},function(Ae,Ke){return Ke===void 0&&(Ke={}),Object(Xt.__spreadArrays)([Ae],Nr(Ke)).join(\"\")}),Cn=function(Ae,Ke,Mt,Ut){Ut===void 0&&(Ut=\"...\");var kn,Zn,lr=fn(Ut,Mt),wr=Ce(Ae)?Ae:ko(Ae),Dr=Ke,go=[];if(fn(Ae,Mt)<=Ke)return Ae;for(;kn=wr.substr(0,16),!((Zn=fn(kn,Mt))+lr>Dr&&Zn>Dr);)if(go.push(kn),Dr-=Zn,!(wr=wr.substr(16)))return go.join(\"\");for(;kn=wr.substr(0,1),!((Zn=fn(kn,Mt))+lr>Dr);)if(go.push(kn),Dr-=Zn,!(wr=wr.substr(1)))return go.join(\"\");return\"\"+go.join(\"\")+Ut},Yn=function(){function Ae(){this.map={}}return Ae.prototype.has=function(Ke){return this.map[Ke]!==void 0},Ae.prototype.get=function(Ke,Mt){var Ut=this.map[Ke];return Ut===void 0?Mt:Ut},Ae.prototype.set=function(Ke,Mt){this.map[Ke]=Mt},Ae.prototype.clear=function(){this.map={}},Ae.prototype.delete=function(Ke){delete this.map[Ke]},Ae.prototype.size=function(){return Object.keys(this.map).length},Ae}()},function(Ee,c,r){\"use strict\";function y(Oe){return(y=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(Ce){return typeof Ce}:function(Ce){return Ce&&typeof Symbol==\"function\"&&Ce.constructor===Symbol&&Ce!==Symbol.prototype?\"symbol\":typeof Ce})(Oe)}r.r(c),r.d(c,\"__extends\",function(){return C}),r.d(c,\"__assign\",function(){return w}),r.d(c,\"__rest\",function(){return O}),r.d(c,\"__decorate\",function(){return b}),r.d(c,\"__param\",function(){return p}),r.d(c,\"__esDecorate\",function(){return u}),r.d(c,\"__runInitializers\",function(){return a}),r.d(c,\"__propKey\",function(){return f}),r.d(c,\"__setFunctionName\",function(){return h}),r.d(c,\"__metadata\",function(){return l}),r.d(c,\"__awaiter\",function(){return s}),r.d(c,\"__generator\",function(){return m}),r.d(c,\"__createBinding\",function(){return x}),r.d(c,\"__exportStar\",function(){return M}),r.d(c,\"__values\",function(){return E}),r.d(c,\"__read\",function(){return j}),r.d(c,\"__spread\",function(){return L}),r.d(c,\"__spreadArrays\",function(){return A}),r.d(c,\"__spreadArray\",function(){return J}),r.d(c,\"__await\",function(){return q}),r.d(c,\"__asyncGenerator\",function(){return re}),r.d(c,\"__asyncDelegator\",function(){return me}),r.d(c,\"__asyncValues\",function(){return Te}),r.d(c,\"__makeTemplateObject\",function(){return ee}),r.d(c,\"__importStar\",function(){return Ie}),r.d(c,\"__importDefault\",function(){return Le}),r.d(c,\"__classPrivateFieldGet\",function(){return De}),r.d(c,\"__classPrivateFieldSet\",function(){return ce}),r.d(c,\"__classPrivateFieldIn\",function(){return ye});var N=function(Oe,Ce){return(N=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(oe,he){oe.__proto__=he}||function(oe,he){for(var ie in he)Object.prototype.hasOwnProperty.call(he,ie)&&(oe[ie]=he[ie])})(Oe,Ce)};function C(Oe,Ce){if(typeof Ce!=\"function\"&&Ce!==null)throw new TypeError(\"Class extends value \"+String(Ce)+\" is not a constructor or null\");function oe(){this.constructor=Oe}N(Oe,Ce),Oe.prototype=Ce===null?Object.create(Ce):(oe.prototype=Ce.prototype,new oe)}var w=function(){return(w=Object.assign||function(Oe){for(var Ce,oe=1,he=arguments.length;oe<he;oe++)for(var ie in Ce=arguments[oe])Object.prototype.hasOwnProperty.call(Ce,ie)&&(Oe[ie]=Ce[ie]);return Oe}).apply(this,arguments)};function O(Oe,Ce){var oe={};for(var he in Oe)Object.prototype.hasOwnProperty.call(Oe,he)&&Ce.indexOf(he)<0&&(oe[he]=Oe[he]);if(Oe!=null&&typeof Object.getOwnPropertySymbols==\"function\"){var ie=0;for(he=Object.getOwnPropertySymbols(Oe);ie<he.length;ie++)Ce.indexOf(he[ie])<0&&Object.prototype.propertyIsEnumerable.call(Oe,he[ie])&&(oe[he[ie]]=Oe[he[ie]])}return oe}function b(Oe,Ce,oe,he){var ie,ae=arguments.length,ve=ae<3?Ce:he===null?he=Object.getOwnPropertyDescriptor(Ce,oe):he;if((typeof Reflect==\"undefined\"?\"undefined\":y(Reflect))===\"object\"&&typeof Reflect.decorate==\"function\")ve=Reflect.decorate(Oe,Ce,oe,he);else for(var X=Oe.length-1;X>=0;X--)(ie=Oe[X])&&(ve=(ae<3?ie(ve):ae>3?ie(Ce,oe,ve):ie(Ce,oe))||ve);return ae>3&&ve&&Object.defineProperty(Ce,oe,ve),ve}function p(Oe,Ce){return function(oe,he){Ce(oe,he,Oe)}}function u(Oe,Ce,oe,he,ie,ae){function ve(ht){if(ht!==void 0&&typeof ht!=\"function\")throw new TypeError(\"Function expected\");return ht}for(var X,se=he.kind,fe=se===\"getter\"?\"get\":se===\"setter\"?\"set\":\"value\",_e=!Ce&&Oe?he.static?Oe:Oe.prototype:null,be=Ce||(_e?Object.getOwnPropertyDescriptor(_e,he.name):{}),We=!1,we=oe.length-1;we>=0;we--){var Ze={};for(var Ve in he)Ze[Ve]=Ve===\"access\"?{}:he[Ve];for(var Ve in he.access)Ze.access[Ve]=he.access[Ve];Ze.addInitializer=function(ht){if(We)throw new TypeError(\"Cannot add initializers after decoration has completed\");ae.push(ve(ht||null))};var et=(0,oe[we])(se===\"accessor\"?{get:be.get,set:be.set}:be[fe],Ze);if(se===\"accessor\"){if(et===void 0)continue;if(et===null||y(et)!==\"object\")throw new TypeError(\"Object expected\");(X=ve(et.get))&&(be.get=X),(X=ve(et.set))&&(be.set=X),(X=ve(et.init))&&ie.push(X)}else(X=ve(et))&&(se===\"field\"?ie.push(X):be[fe]=X)}_e&&Object.defineProperty(_e,he.name,be),We=!0}function a(Oe,Ce,oe){for(var he=arguments.length>2,ie=0;ie<Ce.length;ie++)oe=he?Ce[ie].call(Oe,oe):Ce[ie].call(Oe);return he?oe:void 0}function f(Oe){return y(Oe)===\"symbol\"?Oe:\"\".concat(Oe)}function h(Oe,Ce,oe){return y(Ce)===\"symbol\"&&(Ce=Ce.description?\"[\".concat(Ce.description,\"]\"):\"\"),Object.defineProperty(Oe,\"name\",{configurable:!0,value:oe?\"\".concat(oe,\" \",Ce):Ce})}function l(Oe,Ce){if((typeof Reflect==\"undefined\"?\"undefined\":y(Reflect))===\"object\"&&typeof Reflect.metadata==\"function\")return Reflect.metadata(Oe,Ce)}function s(Oe,Ce,oe,he){return new(oe||(oe=Promise))(function(ie,ae){function ve(fe){try{se(he.next(fe))}catch(_e){ae(_e)}}function X(fe){try{se(he.throw(fe))}catch(_e){ae(_e)}}function se(fe){var _e;fe.done?ie(fe.value):(_e=fe.value,_e instanceof oe?_e:new oe(function(be){be(_e)})).then(ve,X)}se((he=he.apply(Oe,Ce||[])).next())})}function m(Oe,Ce){var oe,he,ie,ae,ve={label:0,sent:function(){if(1&ie[0])throw ie[1];return ie[1]},trys:[],ops:[]};return ae={next:X(0),throw:X(1),return:X(2)},typeof Symbol==\"function\"&&(ae[Symbol.iterator]=function(){return this}),ae;function X(se){return function(fe){return function(_e){if(oe)throw new TypeError(\"Generator is already executing.\");for(;ae&&(ae=0,_e[0]&&(ve=0)),ve;)try{if(oe=1,he&&(ie=2&_e[0]?he.return:_e[0]?he.throw||((ie=he.return)&&ie.call(he),0):he.next)&&!(ie=ie.call(he,_e[1])).done)return ie;switch(he=0,ie&&(_e=[2&_e[0],ie.value]),_e[0]){case 0:case 1:ie=_e;break;case 4:return ve.label++,{value:_e[1],done:!1};case 5:ve.label++,he=_e[1],_e=[0];continue;case 7:_e=ve.ops.pop(),ve.trys.pop();continue;default:if(ie=ve.trys,!((ie=ie.length>0&&ie[ie.length-1])||_e[0]!==6&&_e[0]!==2)){ve=0;continue}if(_e[0]===3&&(!ie||_e[1]>ie[0]&&_e[1]<ie[3])){ve.label=_e[1];break}if(_e[0]===6&&ve.label<ie[1]){ve.label=ie[1],ie=_e;break}if(ie&&ve.label<ie[2]){ve.label=ie[2],ve.ops.push(_e);break}ie[2]&&ve.ops.pop(),ve.trys.pop();continue}_e=Ce.call(Oe,ve)}catch(be){_e=[6,be],he=0}finally{oe=ie=0}if(5&_e[0])throw _e[1];return{value:_e[0]?_e[1]:void 0,done:!0}}([se,fe])}}}var x=Object.create?function(Oe,Ce,oe,he){he===void 0&&(he=oe);var ie=Object.getOwnPropertyDescriptor(Ce,oe);ie&&!(\"get\"in ie?!Ce.__esModule:ie.writable||ie.configurable)||(ie={enumerable:!0,get:function(){return Ce[oe]}}),Object.defineProperty(Oe,he,ie)}:function(Oe,Ce,oe,he){he===void 0&&(he=oe),Oe[he]=Ce[oe]};function M(Oe,Ce){for(var oe in Oe)oe===\"default\"||Object.prototype.hasOwnProperty.call(Ce,oe)||x(Ce,Oe,oe)}function E(Oe){var Ce=typeof Symbol==\"function\"&&Symbol.iterator,oe=Ce&&Oe[Ce],he=0;if(oe)return oe.call(Oe);if(Oe&&typeof Oe.length==\"number\")return{next:function(){return Oe&&he>=Oe.length&&(Oe=void 0),{value:Oe&&Oe[he++],done:!Oe}}};throw new TypeError(Ce?\"Object is not iterable.\":\"Symbol.iterator is not defined.\")}function j(Oe,Ce){var oe=typeof Symbol==\"function\"&&Oe[Symbol.iterator];if(!oe)return Oe;var he,ie,ae=oe.call(Oe),ve=[];try{for(;(Ce===void 0||Ce-- >0)&&!(he=ae.next()).done;)ve.push(he.value)}catch(X){ie={error:X}}finally{try{he&&!he.done&&(oe=ae.return)&&oe.call(ae)}finally{if(ie)throw ie.error}}return ve}function L(){for(var Oe=[],Ce=0;Ce<arguments.length;Ce++)Oe=Oe.concat(j(arguments[Ce]));return Oe}function A(){for(var Oe=0,Ce=0,oe=arguments.length;Ce<oe;Ce++)Oe+=arguments[Ce].length;var he=Array(Oe),ie=0;for(Ce=0;Ce<oe;Ce++)for(var ae=arguments[Ce],ve=0,X=ae.length;ve<X;ve++,ie++)he[ie]=ae[ve];return he}function J(Oe,Ce,oe){if(oe||arguments.length===2)for(var he,ie=0,ae=Ce.length;ie<ae;ie++)!he&&ie in Ce||(he||(he=Array.prototype.slice.call(Ce,0,ie)),he[ie]=Ce[ie]);return Oe.concat(he||Array.prototype.slice.call(Ce))}function q(Oe){return this instanceof q?(this.v=Oe,this):new q(Oe)}function re(Oe,Ce,oe){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var he,ie=oe.apply(Oe,Ce||[]),ae=[];return he={},ve(\"next\"),ve(\"throw\"),ve(\"return\"),he[Symbol.asyncIterator]=function(){return this},he;function ve(be){ie[be]&&(he[be]=function(We){return new Promise(function(we,Ze){ae.push([be,We,we,Ze])>1||X(be,We)})})}function X(be,We){try{(we=ie[be](We)).value instanceof q?Promise.resolve(we.value.v).then(se,fe):_e(ae[0][2],we)}catch(Ze){_e(ae[0][3],Ze)}var we}function se(be){X(\"next\",be)}function fe(be){X(\"throw\",be)}function _e(be,We){be(We),ae.shift(),ae.length&&X(ae[0][0],ae[0][1])}}function me(Oe){var Ce,oe;return Ce={},he(\"next\"),he(\"throw\",function(ie){throw ie}),he(\"return\"),Ce[Symbol.iterator]=function(){return this},Ce;function he(ie,ae){Ce[ie]=Oe[ie]?function(ve){return(oe=!oe)?{value:q(Oe[ie](ve)),done:!1}:ae?ae(ve):ve}:ae}}function Te(Oe){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var Ce,oe=Oe[Symbol.asyncIterator];return oe?oe.call(Oe):(Oe=E(Oe),Ce={},he(\"next\"),he(\"throw\"),he(\"return\"),Ce[Symbol.asyncIterator]=function(){return this},Ce);function he(ie){Ce[ie]=Oe[ie]&&function(ae){return new Promise(function(ve,X){(function(se,fe,_e,be){Promise.resolve(be).then(function(We){se({value:We,done:_e})},fe)})(ve,X,(ae=Oe[ie](ae)).done,ae.value)})}}}function ee(Oe,Ce){return Object.defineProperty?Object.defineProperty(Oe,\"raw\",{value:Ce}):Oe.raw=Ce,Oe}var xe=Object.create?function(Oe,Ce){Object.defineProperty(Oe,\"default\",{enumerable:!0,value:Ce})}:function(Oe,Ce){Oe.default=Ce};function Ie(Oe){if(Oe&&Oe.__esModule)return Oe;var Ce={};if(Oe!=null)for(var oe in Oe)oe!==\"default\"&&Object.prototype.hasOwnProperty.call(Oe,oe)&&x(Ce,Oe,oe);return xe(Ce,Oe),Ce}function Le(Oe){return Oe&&Oe.__esModule?Oe:{default:Oe}}function De(Oe,Ce,oe,he){if(oe===\"a\"&&!he)throw new TypeError(\"Private accessor was defined without a getter\");if(typeof Ce==\"function\"?Oe!==Ce||!he:!Ce.has(Oe))throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");return oe===\"m\"?he:oe===\"a\"?he.call(Oe):he?he.value:Ce.get(Oe)}function ce(Oe,Ce,oe,he,ie){if(he===\"m\")throw new TypeError(\"Private method is not writable\");if(he===\"a\"&&!ie)throw new TypeError(\"Private accessor was defined without a setter\");if(typeof Ce==\"function\"?Oe!==Ce||!ie:!Ce.has(Oe))throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");return he===\"a\"?ie.call(Oe,oe):ie?ie.value=oe:Ce.set(Oe,oe),oe}function ye(Oe,Ce){if(Ce===null||y(Ce)!==\"object\"&&typeof Ce!=\"function\")throw new TypeError(\"Cannot use 'in' operator on non-object\");return typeof Oe==\"function\"?Ce===Oe:Oe.has(Ce)}},function(Ee,c,r){\"use strict\";r.r(c),r.d(c,\"EPSILON\",function(){return y}),r.d(c,\"ARRAY_TYPE\",function(){return N}),r.d(c,\"RANDOM\",function(){return C}),r.d(c,\"setMatrixArrayType\",function(){return w}),r.d(c,\"toRadian\",function(){return b}),r.d(c,\"equals\",function(){return p});var y=1e-6,N=typeof Float32Array!=\"undefined\"?Float32Array:Array,C=Math.random;function w(u){N=u}var O=Math.PI/180;function b(u){return u*O}function p(u,a){return Math.abs(u-a)<=y*Math.max(1,Math.abs(u),Math.abs(a))}Math.hypot||(Math.hypot=function(){for(var u=0,a=arguments.length;a--;)u+=arguments[a]*arguments[a];return Math.sqrt(u)})},function(Ee,c,r){var y=r(97);Ee.exports=function(N,C,w){return(C=y(C))in N?Object.defineProperty(N,C,{value:w,enumerable:!0,configurable:!0,writable:!0}):N[C]=w,N},Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports},function(Ee,c,r){\"use strict\";r.d(c,\"b\",function(){return N.mat3}),r.d(c,\"c\",function(){return N.vec2}),r.d(c,\"d\",function(){return N.vec3}),r.d(c,\"a\",function(){return y});var y={};r.r(y),r.d(y,\"leftTranslate\",function(){return C}),r.d(y,\"leftRotate\",function(){return w}),r.d(y,\"leftScale\",function(){return O}),r.d(y,\"transform\",function(){return b}),r.d(y,\"direction\",function(){return p}),r.d(y,\"angleTo\",function(){return u}),r.d(y,\"vertical\",function(){return a});var N=r(12);function C(f,h,l){var s=[0,0,0,0,0,0,0,0,0];return N.mat3.fromTranslation(s,l),N.mat3.multiply(f,s,h)}function w(f,h,l){var s=[0,0,0,0,0,0,0,0,0];return N.mat3.fromRotation(s,l),N.mat3.multiply(f,s,h)}function O(f,h,l){var s=[0,0,0,0,0,0,0,0,0];return N.mat3.fromScaling(s,l),N.mat3.multiply(f,s,h)}function b(f,h){for(var l,s,m,x=f?[].concat(f):[1,0,0,0,1,0,0,0,1],M=0,E=h.length;M<E;M++){var j=h[M];switch(j[0]){case\"t\":C(x,x,[j[1],j[2]]);break;case\"s\":O(x,x,[j[1],j[2]]);break;case\"r\":w(x,x,j[1]);break;case\"m\":l=x,s=x,m=j[1],N.mat3.multiply(l,m,s)}}return x}function p(f,h){return f[0]*h[1]-h[0]*f[1]}function u(f,h,l){var s=N.vec2.angle(f,h),m=p(f,h)>=0;return l?m?2*Math.PI-s:s:m?s:2*Math.PI-s}function a(f,h,l){return l?(f[0]=h[1],f[1]=-1*h[0]):(f[0]=-1*h[1],f[1]=h[0]),f}},function(Ee,c,r){\"use strict\";r.d(c,\"d\",function(){return N}),r.d(c,\"b\",function(){return C}),r.d(c,\"e\",function(){return w}),r.d(c,\"f\",function(){return O}),r.d(c,\"l\",function(){return b}),r.d(c,\"j\",function(){return p});var y=r(0);function N(){return window?window.devicePixelRatio:1}function C(u,a,f,h){var l=u-f,s=a-h;return Math.sqrt(l*l+s*s)}function w(u,a,f,h,l,s){return l>=u&&l<=u+f&&s>=a&&s<=a+h}function O(u,a){return!(a.minX>u.maxX||a.maxX<u.minX||a.minY>u.maxY||a.maxY<u.minY)}function b(u,a){return u&&a?{minX:Math.min(u.minX,a.minX),minY:Math.min(u.minY,a.minY),maxX:Math.max(u.maxX,a.maxX),maxY:Math.max(u.maxY,a.maxY)}:u||a}function p(u,a){return u[0]===a[0]&&u[1]===a[1]}r.d(c,\"i\",function(){return y.isNil}),r.d(c,\"k\",function(){return y.isString}),r.d(c,\"h\",function(){return y.isFunction}),r.d(c,\"g\",function(){return y.isArray}),r.d(c,\"c\",function(){return y.each}),r.d(c,\"o\",function(){return y.toRadian}),r.d(c,\"m\",function(){return y.mod}),r.d(c,\"n\",function(){return y.requestAnimationFrame}),r.d(c,\"a\",function(){return y.clearAnimationFrame})},function(Ee,c,r){\"use strict\";r.d(c,\"a\",function(){return y}),r.d(c,\"b\",function(){return N});var y={rect:\"path\",circle:\"circle\",line:\"line\",path:\"path\",marker:\"path\",text:\"text\",polyline:\"polyline\",polygon:\"polygon\",image:\"image\",ellipse:\"ellipse\",dom:\"foreignObject\"},N={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(Ee,c,r){\"use strict\";var y=this&&this.__createBinding||(Object.create?function(w,O,b,p){p===void 0&&(p=b);var u=Object.getOwnPropertyDescriptor(O,b);u&&!(\"get\"in u?!O.__esModule:u.writable||u.configurable)||(u={enumerable:!0,get:function(){return O[b]}}),Object.defineProperty(w,p,u)}:function(w,O,b,p){p===void 0&&(p=b),w[p]=O[b]}),N=this&&this.__exportStar||function(w,O){for(var b in w)b===\"default\"||Object.prototype.hasOwnProperty.call(O,b)||y(O,w,b)};Object.defineProperty(c,\"__esModule\",{value:!0}),c.getLayoutByName=c.unRegisterLayout=c.registerLayout=void 0;var C=r(79);Object.defineProperty(c,\"registerLayout\",{enumerable:!0,get:function(){return C.registerLayout}}),Object.defineProperty(c,\"unRegisterLayout\",{enumerable:!0,get:function(){return C.unRegisterLayout}}),Object.defineProperty(c,\"getLayoutByName\",{enumerable:!0,get:function(){return C.getLayoutByName}}),N(r(82),c)},function(Ee,c,r){\"use strict\";r.d(c,\"j\",function(){return N}),r.d(c,\"c\",function(){return C}),r.d(c,\"g\",function(){return w}),r.d(c,\"b\",function(){return O});var y=r(0);function N(b,p){var u=b.indexOf(p);u!==-1&&b.splice(u,1)}r.d(c,\"e\",function(){return y.isNil}),r.d(c,\"d\",function(){return y.isFunction}),r.d(c,\"h\",function(){return y.isString}),r.d(c,\"f\",function(){return y.isObject}),r.d(c,\"i\",function(){return y.mix}),r.d(c,\"a\",function(){return y.each}),r.d(c,\"k\",function(){return y.upperFirst});var C=typeof window!=\"undefined\"&&window.document!==void 0;function w(b,p){if(b.isCanvas())return!0;for(var u=p.getParent(),a=!1;u;){if(u===b){a=!0;break}u=u.getParent()}return a}function O(b){return b.cfg.visible&&b.cfg.capture}},function(Ee,c,r){\"use strict\";r.d(c,\"e\",function(){return x}),r.d(c,\"b\",function(){return J}),r.d(c,\"a\",function(){return Ie}),r.d(c,\"c\",function(){return a}),r.d(c,\"d\",function(){return Ce}),r.d(c,\"f\",function(){return y});var y={};r.r(y),r.d(y,\"distance\",function(){return C}),r.d(y,\"isNumberEqual\",function(){return w}),r.d(y,\"getBBoxByArray\",function(){return O}),r.d(y,\"getBBoxRange\",function(){return b}),r.d(y,\"piMod\",function(){return p});var N=r(0);function C(oe,he,ie,ae){var ve=oe-ie,X=he-ae;return Math.sqrt(ve*ve+X*X)}function w(oe,he){return Math.abs(oe-he)<.001}function O(oe,he){var ie=Object(N.min)(oe),ae=Object(N.min)(he);return{x:ie,y:ae,width:Object(N.max)(oe)-ie,height:Object(N.max)(he)-ae}}function b(oe,he,ie,ae){return{minX:Object(N.min)([oe,ie]),maxX:Object(N.max)([oe,ie]),minY:Object(N.min)([he,ae]),maxY:Object(N.max)([he,ae])}}function p(oe){return(oe+2*Math.PI)%(2*Math.PI)}var u=r(39),a={box:function(oe,he,ie,ae){return O([oe,ie],[he,ae])},length:function(oe,he,ie,ae){return C(oe,he,ie,ae)},pointAt:function(oe,he,ie,ae,ve){return{x:(1-ve)*oe+ve*ie,y:(1-ve)*he+ve*ae}},pointDistance:function(oe,he,ie,ae,ve,X){var se=(ie-oe)*(ve-oe)+(ae-he)*(X-he);return se<0?C(oe,he,ve,X):se>(ie-oe)*(ie-oe)+(ae-he)*(ae-he)?C(ie,ae,ve,X):this.pointToLine(oe,he,ie,ae,ve,X)},pointToLine:function(oe,he,ie,ae,ve,X){var se=[ie-oe,ae-he];if(u.exactEquals(se,[0,0]))return Math.sqrt((ve-oe)*(ve-oe)+(X-he)*(X-he));var fe=[-se[1],se[0]];u.normalize(fe,fe);var _e=[ve-oe,X-he];return Math.abs(u.dot(_e,fe))},tangentAngle:function(oe,he,ie,ae){return Math.atan2(ae-he,ie-oe)}};function f(oe,he,ie,ae,ve,X){var se,fe=1/0,_e=[ie,ae],be=20;X&&X>200&&(be=X/10);for(var We=1/be,we=We/10,Ze=0;Ze<=be;Ze++){var Ve=Ze*We,et=[ve.apply(null,oe.concat([Ve])),ve.apply(null,he.concat([Ve]))];(dt=C(_e[0],_e[1],et[0],et[1]))<fe&&(se=Ve,fe=dt)}if(se===0)return{x:oe[0],y:he[0]};if(se===1){var ht=oe.length;return{x:oe[ht-1],y:he[ht-1]}}for(fe=1/0,Ze=0;Ze<32&&!(we<1e-4);Ze++){var Fe=se-we,mt=se+we,dt=(et=[ve.apply(null,oe.concat([Fe])),ve.apply(null,he.concat([Fe]))],C(_e[0],_e[1],et[0],et[1]));if(Fe>=0&&dt<fe)se=Fe,fe=dt;else{var Lt=[ve.apply(null,oe.concat([mt])),ve.apply(null,he.concat([mt]))],lt=C(_e[0],_e[1],Lt[0],Lt[1]);mt<=1&&lt<fe?(se=mt,fe=lt):we*=.5}}return{x:ve.apply(null,oe.concat([se])),y:ve.apply(null,he.concat([se]))}}function h(oe,he,ie,ae){var ve=1-ae;return ve*ve*oe+2*ae*ve*he+ae*ae*ie}function l(oe,he,ie){var ae=oe+ie-2*he;if(w(ae,0))return[.5];var ve=(oe-he)/ae;return ve<=1&&ve>=0?[ve]:[]}function s(oe,he,ie,ae){return 2*(1-ae)*(he-oe)+2*ae*(ie-he)}function m(oe,he,ie,ae,ve,X,se){var fe=h(oe,ie,ve,se),_e=h(he,ae,X,se),be=a.pointAt(oe,he,ie,ae,se),We=a.pointAt(ie,ae,ve,X,se);return[[oe,he,be.x,be.y,fe,_e],[fe,_e,We.x,We.y,ve,X]]}var x={box:function(oe,he,ie,ae,ve,X){var se=l(oe,ie,ve)[0],fe=l(he,ae,X)[0],_e=[oe,ve],be=[he,X];return se!==void 0&&_e.push(h(oe,ie,ve,se)),fe!==void 0&&be.push(h(he,ae,X,fe)),O(_e,be)},length:function(oe,he,ie,ae,ve,X){return function se(fe,_e,be,We,we,Ze,Ve){if(Ve===0)return(C(fe,_e,be,We)+C(be,We,we,Ze)+C(fe,_e,we,Ze))/2;var et=m(fe,_e,be,We,we,Ze,.5),ht=et[0],Fe=et[1];return ht.push(Ve-1),Fe.push(Ve-1),se.apply(null,ht)+se.apply(null,Fe)}(oe,he,ie,ae,ve,X,3)},nearestPoint:function(oe,he,ie,ae,ve,X,se,fe){return f([oe,ie,ve],[he,ae,X],se,fe,h)},pointDistance:function(oe,he,ie,ae,ve,X,se,fe){var _e=this.nearestPoint(oe,he,ie,ae,ve,X,se,fe);return C(_e.x,_e.y,se,fe)},interpolationAt:h,pointAt:function(oe,he,ie,ae,ve,X,se){return{x:h(oe,ie,ve,se),y:h(he,ae,X,se)}},divide:function(oe,he,ie,ae,ve,X,se){return m(oe,he,ie,ae,ve,X,se)},tangentAngle:function(oe,he,ie,ae,ve,X,se){var fe=s(oe,ie,ve,se),_e=s(he,ae,X,se);return p(Math.atan2(_e,fe))}};function M(oe,he,ie,ae,ve){var X=1-ve;return X*X*X*oe+3*he*ve*X*X+3*ie*ve*ve*X+ae*ve*ve*ve}function E(oe,he,ie,ae,ve){var X=1-ve;return 3*(X*X*(he-oe)+2*X*ve*(ie-he)+ve*ve*(ae-ie))}function j(oe,he,ie,ae){var ve,X,se,fe=-3*oe+9*he-9*ie+3*ae,_e=6*oe-12*he+6*ie,be=3*he-3*oe,We=[];if(w(fe,0))w(_e,0)||(ve=-be/_e)>=0&&ve<=1&&We.push(ve);else{var we=_e*_e-4*fe*be;w(we,0)?We.push(-_e/(2*fe)):we>0&&(X=(-_e-(se=Math.sqrt(we)))/(2*fe),(ve=(-_e+se)/(2*fe))>=0&&ve<=1&&We.push(ve),X>=0&&X<=1&&We.push(X))}return We}function L(oe,he,ie,ae,ve,X,se,fe,_e){var be=M(oe,ie,ve,se,_e),We=M(he,ae,X,fe,_e),we=a.pointAt(oe,he,ie,ae,_e),Ze=a.pointAt(ie,ae,ve,X,_e),Ve=a.pointAt(ve,X,se,fe,_e),et=a.pointAt(we.x,we.y,Ze.x,Ze.y,_e),ht=a.pointAt(Ze.x,Ze.y,Ve.x,Ve.y,_e);return[[oe,he,we.x,we.y,et.x,et.y,be,We],[be,We,ht.x,ht.y,Ve.x,Ve.y,se,fe]]}function A(oe,he,ie,ae,ve,X,se,fe,_e){if(_e===0)return function(Ze,Ve){for(var et=0,ht=Ze.length,Fe=0;Fe<ht;Fe++)et+=C(Ze[Fe],Ve[Fe],Ze[(Fe+1)%ht],Ve[(Fe+1)%ht]);return et/2}([oe,ie,ve,se],[he,ae,X,fe]);var be=L(oe,he,ie,ae,ve,X,se,fe,.5),We=be[0],we=be[1];return We.push(_e-1),we.push(_e-1),A.apply(null,We)+A.apply(null,we)}var J={extrema:j,box:function(oe,he,ie,ae,ve,X,se,fe){for(var _e=[oe,se],be=[he,fe],We=j(oe,ie,ve,se),we=j(he,ae,X,fe),Ze=0;Ze<We.length;Ze++)_e.push(M(oe,ie,ve,se,We[Ze]));for(Ze=0;Ze<we.length;Ze++)be.push(M(he,ae,X,fe,we[Ze]));return O(_e,be)},length:function(oe,he,ie,ae,ve,X,se,fe){return A(oe,he,ie,ae,ve,X,se,fe,3)},nearestPoint:function(oe,he,ie,ae,ve,X,se,fe,_e,be,We){return f([oe,ie,ve,se],[he,ae,X,fe],_e,be,M,We)},pointDistance:function(oe,he,ie,ae,ve,X,se,fe,_e,be,We){var we=this.nearestPoint(oe,he,ie,ae,ve,X,se,fe,_e,be,We);return C(we.x,we.y,_e,be)},interpolationAt:M,pointAt:function(oe,he,ie,ae,ve,X,se,fe,_e){return{x:M(oe,ie,ve,se,_e),y:M(he,ae,X,fe,_e)}},divide:function(oe,he,ie,ae,ve,X,se,fe,_e){return L(oe,he,ie,ae,ve,X,se,fe,_e)},tangentAngle:function(oe,he,ie,ae,ve,X,se,fe,_e){var be=E(oe,ie,ve,se,_e),We=E(he,ae,X,fe,_e);return p(Math.atan2(We,be))}};function q(oe,he){var ie=Math.abs(oe);return he>0?ie:-1*ie}var re=function(oe,he,ie,ae,ve,X){var se=ie,fe=ae;if(se===0||fe===0)return{x:oe,y:he};for(var _e,be,We=ve-oe,we=X-he,Ze=Math.abs(We),Ve=Math.abs(we),et=se*se,ht=fe*fe,Fe=Math.PI/4,mt=0;mt<4;mt++){_e=se*Math.cos(Fe),be=fe*Math.sin(Fe);var dt=(et-ht)*Math.pow(Math.cos(Fe),3)/se,Lt=(ht-et)*Math.pow(Math.sin(Fe),3)/fe,lt=_e-dt,rn=be-Lt,qt=Ze-dt,hn=Ve-Lt,Kt=Math.hypot(rn,lt),an=Math.hypot(hn,qt);Fe+=Kt*Math.asin((lt*hn-rn*qt)/(Kt*an))/Math.sqrt(et+ht-_e*_e-be*be),Fe=Math.min(Math.PI/2,Math.max(0,Fe))}return{x:oe+q(_e,We),y:he+q(be,we)}};function me(oe,he,ie,ae,ve,X){return ie*Math.cos(ve)*Math.cos(X)-ae*Math.sin(ve)*Math.sin(X)+oe}function Te(oe,he,ie,ae,ve,X){return ie*Math.sin(ve)*Math.cos(X)+ae*Math.cos(ve)*Math.sin(X)+he}function ee(oe,he,ie){return{x:oe*Math.cos(ie),y:he*Math.sin(ie)}}function xe(oe,he,ie){var ae=Math.cos(ie),ve=Math.sin(ie);return[oe*ae-he*ve,oe*ve+he*ae]}var Ie={box:function(oe,he,ie,ae,ve,X,se){for(var fe=function(lt,rn,qt){return Math.atan(-rn/lt*Math.tan(qt))}(ie,ae,ve),_e=1/0,be=-1/0,We=[X,se],we=2*-Math.PI;we<=2*Math.PI;we+=Math.PI){var Ze=fe+we;X<se?X<Ze&&Ze<se&&We.push(Ze):se<Ze&&Ze<X&&We.push(Ze)}for(we=0;we<We.length;we++){var Ve=me(oe,0,ie,ae,ve,We[we]);Ve<_e&&(_e=Ve),Ve>be&&(be=Ve)}var et=function(lt,rn,qt){return Math.atan(rn/(lt*Math.tan(qt)))}(ie,ae,ve),ht=1/0,Fe=-1/0,mt=[X,se];for(we=2*-Math.PI;we<=2*Math.PI;we+=Math.PI){var dt=et+we;X<se?X<dt&&dt<se&&mt.push(dt):se<dt&&dt<X&&mt.push(dt)}for(we=0;we<mt.length;we++){var Lt=Te(0,he,ie,ae,ve,mt[we]);Lt<ht&&(ht=Lt),Lt>Fe&&(Fe=Lt)}return{x:_e,y:ht,width:be-_e,height:Fe-ht}},length:function(oe,he,ie,ae,ve,X,se){},nearestPoint:function(oe,he,ie,ae,ve,X,se,fe,_e){var be=xe(fe-oe,_e-he,-ve),We=be[0],we=be[1],Ze=re(0,0,ie,ae,We,we),Ve=function(ht,Fe,mt,dt){return(Math.atan2(dt*ht,mt*Fe)+2*Math.PI)%(2*Math.PI)}(ie,ae,Ze.x,Ze.y);Ve<X?Ze=ee(ie,ae,X):Ve>se&&(Ze=ee(ie,ae,se));var et=xe(Ze.x,Ze.y,ve);return{x:et[0]+oe,y:et[1]+he}},pointDistance:function(oe,he,ie,ae,ve,X,se,fe,_e){var be=this.nearestPoint(oe,he,ie,ae,fe,_e);return C(be.x,be.y,fe,_e)},pointAt:function(oe,he,ie,ae,ve,X,se,fe){var _e=(se-X)*fe+X;return{x:me(oe,0,ie,ae,ve,_e),y:Te(0,he,ie,ae,ve,_e)}},tangentAngle:function(oe,he,ie,ae,ve,X,se,fe){var _e=(se-X)*fe+X,be=function(we,Ze,Ve,et,ht,Fe,mt,dt){return-1*Ve*Math.cos(ht)*Math.sin(dt)-et*Math.sin(ht)*Math.cos(dt)}(0,0,ie,ae,ve,0,0,_e),We=function(we,Ze,Ve,et,ht,Fe,mt,dt){return-1*Ve*Math.sin(ht)*Math.sin(dt)+et*Math.cos(ht)*Math.cos(dt)}(0,0,ie,ae,ve,0,0,_e);return p(Math.atan2(We,be))}};function Le(oe){for(var he=0,ie=[],ae=0;ae<oe.length-1;ae++){var ve=oe[ae],X=oe[ae+1],se=C(ve[0],ve[1],X[0],X[1]),fe={from:ve,to:X,length:se};ie.push(fe),he+=se}return{segments:ie,totalLength:he}}function De(oe){if(oe.length<2)return 0;for(var he=0,ie=0;ie<oe.length-1;ie++){var ae=oe[ie],ve=oe[ie+1];he+=C(ae[0],ae[1],ve[0],ve[1])}return he}function ce(oe,he){if(he>1||he<0||oe.length<2)return null;var ie=Le(oe),ae=ie.segments,ve=ie.totalLength;if(ve===0)return{x:oe[0][0],y:oe[0][1]};for(var X=0,se=null,fe=0;fe<ae.length;fe++){var _e=ae[fe],be=_e.from,We=_e.to,we=_e.length/ve;if(he>=X&&he<=X+we){var Ze=(he-X)/we;se=a.pointAt(be[0],be[1],We[0],We[1],Ze);break}X+=we}return se}function ye(oe,he){if(he>1||he<0||oe.length<2)return 0;for(var ie=Le(oe),ae=ie.segments,ve=ie.totalLength,X=0,se=0,fe=0;fe<ae.length;fe++){var _e=ae[fe],be=_e.from,We=_e.to,we=_e.length/ve;if(he>=X&&he<=X+we){se=Math.atan2(We[1]-be[1],We[0]-be[0]);break}X+=we}return se}function Oe(oe,he,ie){for(var ae=1/0,ve=0;ve<oe.length-1;ve++){var X=oe[ve],se=oe[ve+1],fe=a.pointDistance(X[0],X[1],se[0],se[1],he,ie);fe<ae&&(ae=fe)}return ae}var Ce={box:function(oe){for(var he=[],ie=[],ae=0;ae<oe.length;ae++){var ve=oe[ae];he.push(ve[0]),ie.push(ve[1])}return O(he,ie)},length:function(oe){return De(oe)},pointAt:function(oe,he){return ce(oe,he)},pointDistance:function(oe,he,ie){return Oe(oe,he,ie)},tangentAngle:function(oe,he){return ye(oe,he)}}},function(Ee,c,r){\"use strict\";var y=r(28);r.d(c,\"PathUtil\",function(){return y}),r(69),r(70);var N=r(48);r.d(c,\"Event\",function(){return N.a}),r(49);var C=r(110);r.d(c,\"AbstractCanvas\",function(){return C.a});var w=r(71);r.d(c,\"AbstractGroup\",function(){return w.a});var O=r(72);r.d(c,\"AbstractShape\",function(){return O.a});var b=r(67);r.d(c,\"getBBoxMethod\",function(){return b.a});var p=r(32);r.d(c,\"getTextHeight\",function(){return p.b}),r.d(c,\"assembleFont\",function(){return p.a});var u=r(8);r.d(c,\"isAllowCapture\",function(){return u.b});var a=r(22);r.d(c,\"multiplyVec2\",function(){return a.c}),r.d(c,\"invert\",function(){return a.a});var f=r(50);r.d(c,\"getOffScreenContext\",function(){return f.a}),r(51)},function(Ee,c,r){\"use strict\";r.d(c,\"b\",function(){return C}),r.d(c,\"a\",function(){return w}),r.d(c,\"d\",function(){return O}),r.d(c,\"c\",function(){return b});var y=r(0),N=r(6);function C(p){return document.createElementNS(\"http://www.w3.org/2000/svg\",p)}function w(p){var u=N.a[p.type],a=p.getParent();if(!u)throw new Error(\"the type \"+p.type+\" is not supported by svg\");var f=C(u);if(p.get(\"id\")&&(f.id=p.get(\"id\")),p.set(\"el\",f),p.set(\"attrs\",{}),a){var h=a.get(\"el\");h||(h=a.createDom(),a.set(\"el\",h)),h.appendChild(f)}return f}function O(p,u){var a=p.get(\"el\"),f=Object(y.toArray)(a.children).sort(u),h=document.createDocumentFragment();f.forEach(function(l){h.appendChild(l)}),a.appendChild(h)}function b(p,u){var a=p.parentNode,f=Array.from(a.childNodes).filter(function(m){return m.nodeType===1&&m.nodeName.toLowerCase()!==\"defs\"}),h=f[u],l=f.indexOf(p);if(h){if(l>u)a.insertBefore(p,h);else if(l<u){var s=f[u+1];s?a.insertBefore(p,s):a.appendChild(p)}}else a.appendChild(p)}},function(Ee,c,r){\"use strict\";r.r(c),r.d(c,\"glMatrix\",function(){return u}),r.d(c,\"mat2\",function(){return y}),r.d(c,\"mat2d\",function(){return N}),r.d(c,\"mat3\",function(){return C}),r.d(c,\"mat4\",function(){return w}),r.d(c,\"quat\",function(){return b}),r.d(c,\"quat2\",function(){return p}),r.d(c,\"vec2\",function(){return Ts}),r.d(c,\"vec3\",function(){return Ir}),r.d(c,\"vec4\",function(){return O});var y={};r.r(y),r.d(y,\"create\",function(){return a}),r.d(y,\"clone\",function(){return f}),r.d(y,\"copy\",function(){return h}),r.d(y,\"identity\",function(){return l}),r.d(y,\"fromValues\",function(){return s}),r.d(y,\"set\",function(){return m}),r.d(y,\"transpose\",function(){return x}),r.d(y,\"invert\",function(){return M}),r.d(y,\"adjoint\",function(){return E}),r.d(y,\"determinant\",function(){return j}),r.d(y,\"multiply\",function(){return L}),r.d(y,\"rotate\",function(){return A}),r.d(y,\"scale\",function(){return J}),r.d(y,\"fromRotation\",function(){return q}),r.d(y,\"fromScaling\",function(){return re}),r.d(y,\"str\",function(){return me}),r.d(y,\"frob\",function(){return Te}),r.d(y,\"LDU\",function(){return ee}),r.d(y,\"add\",function(){return xe}),r.d(y,\"subtract\",function(){return Ie}),r.d(y,\"exactEquals\",function(){return Le}),r.d(y,\"equals\",function(){return De}),r.d(y,\"multiplyScalar\",function(){return ce}),r.d(y,\"multiplyScalarAndAdd\",function(){return ye}),r.d(y,\"mul\",function(){return Oe}),r.d(y,\"sub\",function(){return Ce});var N={};r.r(N),r.d(N,\"create\",function(){return oe}),r.d(N,\"clone\",function(){return he}),r.d(N,\"copy\",function(){return ie}),r.d(N,\"identity\",function(){return ae}),r.d(N,\"fromValues\",function(){return ve}),r.d(N,\"set\",function(){return X}),r.d(N,\"invert\",function(){return se}),r.d(N,\"determinant\",function(){return fe}),r.d(N,\"multiply\",function(){return _e}),r.d(N,\"rotate\",function(){return be}),r.d(N,\"scale\",function(){return We}),r.d(N,\"translate\",function(){return we}),r.d(N,\"fromRotation\",function(){return Ze}),r.d(N,\"fromScaling\",function(){return Ve}),r.d(N,\"fromTranslation\",function(){return et}),r.d(N,\"str\",function(){return ht}),r.d(N,\"frob\",function(){return Fe}),r.d(N,\"add\",function(){return mt}),r.d(N,\"subtract\",function(){return dt}),r.d(N,\"multiplyScalar\",function(){return Lt}),r.d(N,\"multiplyScalarAndAdd\",function(){return lt}),r.d(N,\"exactEquals\",function(){return rn}),r.d(N,\"equals\",function(){return qt}),r.d(N,\"mul\",function(){return hn}),r.d(N,\"sub\",function(){return Kt});var C={};r.r(C),r.d(C,\"create\",function(){return an}),r.d(C,\"fromMat4\",function(){return In}),r.d(C,\"clone\",function(){return Ft}),r.d(C,\"copy\",function(){return kt}),r.d(C,\"fromValues\",function(){return At}),r.d(C,\"set\",function(){return Fn}),r.d(C,\"identity\",function(){return pn}),r.d(C,\"transpose\",function(){return en}),r.d(C,\"invert\",function(){return Wn}),r.d(C,\"adjoint\",function(){return Mn}),r.d(C,\"determinant\",function(){return Kn}),r.d(C,\"multiply\",function(){return hr}),r.d(C,\"translate\",function(){return pr}),r.d(C,\"rotate\",function(){return zr}),r.d(C,\"scale\",function(){return Wr}),r.d(C,\"fromTranslation\",function(){return Nr}),r.d(C,\"fromRotation\",function(){return Kr}),r.d(C,\"fromScaling\",function(){return ko}),r.d(C,\"fromMat2d\",function(){return Ur}),r.d(C,\"fromQuat\",function(){return gn}),r.d(C,\"normalFromMat4\",function(){return Gt}),r.d(C,\"projection\",function(){return bt}),r.d(C,\"str\",function(){return Zt}),r.d(C,\"frob\",function(){return gt}),r.d(C,\"add\",function(){return Wt}),r.d(C,\"subtract\",function(){return xn}),r.d(C,\"multiplyScalar\",function(){return Dt}),r.d(C,\"multiplyScalarAndAdd\",function(){return Xn}),r.d(C,\"exactEquals\",function(){return Rn}),r.d(C,\"equals\",function(){return wt}),r.d(C,\"mul\",function(){return pt}),r.d(C,\"sub\",function(){return Ue});var w={};r.r(w),r.d(w,\"create\",function(){return xt}),r.d(w,\"clone\",function(){return cn}),r.d(w,\"copy\",function(){return er}),r.d(w,\"fromValues\",function(){return Mr}),r.d(w,\"set\",function(){return xr}),r.d(w,\"identity\",function(){return jr}),r.d(w,\"transpose\",function(){return yo}),r.d(w,\"invert\",function(){return eo}),r.d(w,\"adjoint\",function(){return vi}),r.d(w,\"determinant\",function(){return Ti}),r.d(w,\"multiply\",function(){return wi}),r.d(w,\"translate\",function(){return mi}),r.d(w,\"scale\",function(){return Zi}),r.d(w,\"rotate\",function(){return aa}),r.d(w,\"rotateX\",function(){return $e}),r.d(w,\"rotateY\",function(){return dn}),r.d(w,\"rotateZ\",function(){return Un}),r.d(w,\"fromTranslation\",function(){return ar}),r.d(w,\"fromScaling\",function(){return Rr}),r.d(w,\"fromRotation\",function(){return Ro}),r.d(w,\"fromXRotation\",function(){return Vo}),r.d(w,\"fromYRotation\",function(){return Co}),r.d(w,\"fromZRotation\",function(){return Mo}),r.d(w,\"fromRotationTranslation\",function(){return qo}),r.d(w,\"fromQuat2\",function(){return ti}),r.d(w,\"getTranslation\",function(){return pi}),r.d(w,\"getScaling\",function(){return ni}),r.d(w,\"getRotation\",function(){return si}),r.d(w,\"fromRotationTranslationScale\",function(){return Oi}),r.d(w,\"fromRotationTranslationScaleOrigin\",function(){return Ki}),r.d(w,\"fromQuat\",function(){return ca}),r.d(w,\"frustum\",function(){return zi}),r.d(w,\"perspectiveNO\",function(){return br}),r.d(w,\"perspective\",function(){return Re}),r.d(w,\"perspectiveZO\",function(){return je}),r.d(w,\"perspectiveFromFieldOfView\",function(){return nt}),r.d(w,\"orthoNO\",function(){return rt}),r.d(w,\"ortho\",function(){return Xt}),r.d(w,\"orthoZO\",function(){return fn}),r.d(w,\"lookAt\",function(){return Cn}),r.d(w,\"targetTo\",function(){return Yn}),r.d(w,\"str\",function(){return Ae}),r.d(w,\"frob\",function(){return Ke}),r.d(w,\"add\",function(){return Mt}),r.d(w,\"subtract\",function(){return Ut}),r.d(w,\"multiplyScalar\",function(){return kn}),r.d(w,\"multiplyScalarAndAdd\",function(){return Zn}),r.d(w,\"exactEquals\",function(){return lr}),r.d(w,\"equals\",function(){return wr}),r.d(w,\"mul\",function(){return Dr}),r.d(w,\"sub\",function(){return go});var O={};r.r(O),r.d(O,\"create\",function(){return Jr}),r.d(O,\"clone\",function(){return _o}),r.d(O,\"fromValues\",function(){return No}),r.d(O,\"copy\",function(){return ii}),r.d(O,\"set\",function(){return Lo}),r.d(O,\"add\",function(){return ai}),r.d(O,\"subtract\",function(){return Si}),r.d(O,\"multiply\",function(){return Ui}),r.d(O,\"divide\",function(){return ln}),r.d(O,\"ceil\",function(){return mn}),r.d(O,\"floor\",function(){return fr}),r.d(O,\"min\",function(){return ft}),r.d(O,\"max\",function(){return ct}),r.d(O,\"round\",function(){return tn}),r.d(O,\"scale\",function(){return An}),r.d(O,\"scaleAndAdd\",function(){return Rt}),r.d(O,\"distance\",function(){return un}),r.d(O,\"squaredDistance\",function(){return Dn}),r.d(O,\"length\",function(){return dr}),r.d(O,\"squaredLength\",function(){return Ar}),r.d(O,\"negate\",function(){return Gr}),r.d(O,\"inverse\",function(){return Pr}),r.d(O,\"normalize\",function(){return Xr}),r.d(O,\"dot\",function(){return oo}),r.d(O,\"cross\",function(){return io}),r.d(O,\"lerp\",function(){return to}),r.d(O,\"random\",function(){return To}),r.d(O,\"transformMat4\",function(){return jn}),r.d(O,\"transformQuat\",function(){return W}),r.d(O,\"zero\",function(){return P}),r.d(O,\"str\",function(){return k}),r.d(O,\"exactEquals\",function(){return z}),r.d(O,\"equals\",function(){return Q}),r.d(O,\"sub\",function(){return V}),r.d(O,\"mul\",function(){return U}),r.d(O,\"div\",function(){return ge}),r.d(O,\"dist\",function(){return ke}),r.d(O,\"sqrDist\",function(){return St}),r.d(O,\"len\",function(){return Je}),r.d(O,\"sqrLen\",function(){return Ot}),r.d(O,\"forEach\",function(){return It});var b={};r.r(b),r.d(b,\"create\",function(){return jt}),r.d(b,\"identity\",function(){return Vt}),r.d(b,\"setAxisAngle\",function(){return Pn}),r.d(b,\"getAxisAngle\",function(){return Jn}),r.d(b,\"getAngle\",function(){return vn}),r.d(b,\"multiply\",function(){return Vn}),r.d(b,\"rotateX\",function(){return zt}),r.d(b,\"rotateY\",function(){return ir}),r.d(b,\"rotateZ\",function(){return nr}),r.d(b,\"calculateW\",function(){return ur}),r.d(b,\"exp\",function(){return sr}),r.d(b,\"ln\",function(){return Ln}),r.d(b,\"pow\",function(){return Bt}),r.d(b,\"slerp\",function(){return En}),r.d(b,\"random\",function(){return _n}),r.d(b,\"invert\",function(){return cr}),r.d(b,\"conjugate\",function(){return ao}),r.d(b,\"fromMat3\",function(){return kr}),r.d(b,\"fromEuler\",function(){return jo}),r.d(b,\"str\",function(){return ui}),r.d(b,\"clone\",function(){return la}),r.d(b,\"fromValues\",function(){return Vi}),r.d(b,\"copy\",function(){return ha}),r.d(b,\"set\",function(){return xa}),r.d(b,\"add\",function(){return qi}),r.d(b,\"mul\",function(){return Jo}),r.d(b,\"scale\",function(){return Ji}),r.d(b,\"dot\",function(){return Yi}),r.d(b,\"lerp\",function(){return Ii}),r.d(b,\"length\",function(){return pa}),r.d(b,\"len\",function(){return na}),r.d(b,\"squaredLength\",function(){return $i}),r.d(b,\"sqrLen\",function(){return La}),r.d(b,\"normalize\",function(){return ss}),r.d(b,\"exactEquals\",function(){return Oa}),r.d(b,\"equals\",function(){return Ma}),r.d(b,\"rotationTo\",function(){return Ka}),r.d(b,\"sqlerp\",function(){return Ba}),r.d(b,\"setAxes\",function(){return Ua});var p={};r.r(p),r.d(p,\"create\",function(){return Va}),r.d(p,\"clone\",function(){return Ls}),r.d(p,\"fromValues\",function(){return Qo}),r.d(p,\"fromRotationTranslationValues\",function(){return ws}),r.d(p,\"fromRotationTranslation\",function(){return Za}),r.d(p,\"fromTranslation\",function(){return rr}),r.d(p,\"fromRotation\",function(){return Eo}),r.d(p,\"fromMat4\",function(){return Br}),r.d(p,\"copy\",function(){return Ao}),r.d(p,\"identity\",function(){return Di}),r.d(p,\"set\",function(){return Aa}),r.d(p,\"getReal\",function(){return Na}),r.d(p,\"getDual\",function(){return Fa}),r.d(p,\"setReal\",function(){return Bs}),r.d(p,\"setDual\",function(){return Ms}),r.d(p,\"getTranslation\",function(){return Qa}),r.d(p,\"translate\",function(){return us}),r.d(p,\"rotateX\",function(){return Fs}),r.d(p,\"rotateY\",function(){return $a}),r.d(p,\"rotateZ\",function(){return Hs}),r.d(p,\"rotateByQuatAppend\",function(){return ys}),r.d(p,\"rotateByQuatPrepend\",function(){return sa}),r.d(p,\"rotateAroundAxis\",function(){return Xa}),r.d(p,\"add\",function(){return os}),r.d(p,\"multiply\",function(){return As}),r.d(p,\"mul\",function(){return oa}),r.d(p,\"scale\",function(){return di}),r.d(p,\"dot\",function(){return ia}),r.d(p,\"lerp\",function(){return _i}),r.d(p,\"invert\",function(){return gi}),r.d(p,\"conjugate\",function(){return fa}),r.d(p,\"length\",function(){return Pa}),r.d(p,\"len\",function(){return xs}),r.d(p,\"squaredLength\",function(){return Li}),r.d(p,\"sqrLen\",function(){return vs}),r.d(p,\"normalize\",function(){return Ca}),r.d(p,\"str\",function(){return ra}),r.d(p,\"exactEquals\",function(){return Ja}),r.d(p,\"equals\",function(){return qa});var u=r(2);function a(){var v=new u.ARRAY_TYPE(4);return u.ARRAY_TYPE!=Float32Array&&(v[1]=0,v[2]=0),v[0]=1,v[3]=1,v}function f(v){var G=new u.ARRAY_TYPE(4);return G[0]=v[0],G[1]=v[1],G[2]=v[2],G[3]=v[3],G}function h(v,G){return v[0]=G[0],v[1]=G[1],v[2]=G[2],v[3]=G[3],v}function l(v){return v[0]=1,v[1]=0,v[2]=0,v[3]=1,v}function s(v,G,ze,ut){var _t=new u.ARRAY_TYPE(4);return _t[0]=v,_t[1]=G,_t[2]=ze,_t[3]=ut,_t}function m(v,G,ze,ut,_t){return v[0]=G,v[1]=ze,v[2]=ut,v[3]=_t,v}function x(v,G){if(v===G){var ze=G[1];v[1]=G[2],v[2]=ze}else v[0]=G[0],v[1]=G[2],v[2]=G[1],v[3]=G[3];return v}function M(v,G){var ze=G[0],ut=G[1],_t=G[2],Ht=G[3],$t=ze*Ht-_t*ut;return $t?($t=1/$t,v[0]=Ht*$t,v[1]=-ut*$t,v[2]=-_t*$t,v[3]=ze*$t,v):null}function E(v,G){var ze=G[0];return v[0]=G[3],v[1]=-G[1],v[2]=-G[2],v[3]=ze,v}function j(v){return v[0]*v[3]-v[2]*v[1]}function L(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=ze[0],On=ze[1],$n=ze[2],gr=ze[3];return v[0]=ut*wn+Ht*On,v[1]=_t*wn+$t*On,v[2]=ut*$n+Ht*gr,v[3]=_t*$n+$t*gr,v}function A(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=Math.sin(ze),On=Math.cos(ze);return v[0]=ut*On+Ht*wn,v[1]=_t*On+$t*wn,v[2]=ut*-wn+Ht*On,v[3]=_t*-wn+$t*On,v}function J(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=ze[0],On=ze[1];return v[0]=ut*wn,v[1]=_t*wn,v[2]=Ht*On,v[3]=$t*On,v}function q(v,G){var ze=Math.sin(G),ut=Math.cos(G);return v[0]=ut,v[1]=ze,v[2]=-ze,v[3]=ut,v}function re(v,G){return v[0]=G[0],v[1]=0,v[2]=0,v[3]=G[1],v}function me(v){return\"mat2(\"+v[0]+\", \"+v[1]+\", \"+v[2]+\", \"+v[3]+\")\"}function Te(v){return Math.hypot(v[0],v[1],v[2],v[3])}function ee(v,G,ze,ut){return v[2]=ut[2]/ut[0],ze[0]=ut[0],ze[1]=ut[1],ze[3]=ut[3]-v[2]*ze[1],[v,G,ze]}function xe(v,G,ze){return v[0]=G[0]+ze[0],v[1]=G[1]+ze[1],v[2]=G[2]+ze[2],v[3]=G[3]+ze[3],v}function Ie(v,G,ze){return v[0]=G[0]-ze[0],v[1]=G[1]-ze[1],v[2]=G[2]-ze[2],v[3]=G[3]-ze[3],v}function Le(v,G){return v[0]===G[0]&&v[1]===G[1]&&v[2]===G[2]&&v[3]===G[3]}function De(v,G){var ze=v[0],ut=v[1],_t=v[2],Ht=v[3],$t=G[0],wn=G[1],On=G[2],$n=G[3];return Math.abs(ze-$t)<=u.EPSILON*Math.max(1,Math.abs(ze),Math.abs($t))&&Math.abs(ut-wn)<=u.EPSILON*Math.max(1,Math.abs(ut),Math.abs(wn))&&Math.abs(_t-On)<=u.EPSILON*Math.max(1,Math.abs(_t),Math.abs(On))&&Math.abs(Ht-$n)<=u.EPSILON*Math.max(1,Math.abs(Ht),Math.abs($n))}function ce(v,G,ze){return v[0]=G[0]*ze,v[1]=G[1]*ze,v[2]=G[2]*ze,v[3]=G[3]*ze,v}function ye(v,G,ze,ut){return v[0]=G[0]+ze[0]*ut,v[1]=G[1]+ze[1]*ut,v[2]=G[2]+ze[2]*ut,v[3]=G[3]+ze[3]*ut,v}var Oe=L,Ce=Ie;function oe(){var v=new u.ARRAY_TYPE(6);return u.ARRAY_TYPE!=Float32Array&&(v[1]=0,v[2]=0,v[4]=0,v[5]=0),v[0]=1,v[3]=1,v}function he(v){var G=new u.ARRAY_TYPE(6);return G[0]=v[0],G[1]=v[1],G[2]=v[2],G[3]=v[3],G[4]=v[4],G[5]=v[5],G}function ie(v,G){return v[0]=G[0],v[1]=G[1],v[2]=G[2],v[3]=G[3],v[4]=G[4],v[5]=G[5],v}function ae(v){return v[0]=1,v[1]=0,v[2]=0,v[3]=1,v[4]=0,v[5]=0,v}function ve(v,G,ze,ut,_t,Ht){var $t=new u.ARRAY_TYPE(6);return $t[0]=v,$t[1]=G,$t[2]=ze,$t[3]=ut,$t[4]=_t,$t[5]=Ht,$t}function X(v,G,ze,ut,_t,Ht,$t){return v[0]=G,v[1]=ze,v[2]=ut,v[3]=_t,v[4]=Ht,v[5]=$t,v}function se(v,G){var ze=G[0],ut=G[1],_t=G[2],Ht=G[3],$t=G[4],wn=G[5],On=ze*Ht-ut*_t;return On?(On=1/On,v[0]=Ht*On,v[1]=-ut*On,v[2]=-_t*On,v[3]=ze*On,v[4]=(_t*wn-Ht*$t)*On,v[5]=(ut*$t-ze*wn)*On,v):null}function fe(v){return v[0]*v[3]-v[1]*v[2]}function _e(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=G[4],On=G[5],$n=ze[0],gr=ze[1],Fr=ze[2],Qr=ze[3],qr=ze[4],mo=ze[5];return v[0]=ut*$n+Ht*gr,v[1]=_t*$n+$t*gr,v[2]=ut*Fr+Ht*Qr,v[3]=_t*Fr+$t*Qr,v[4]=ut*qr+Ht*mo+wn,v[5]=_t*qr+$t*mo+On,v}function be(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=G[4],On=G[5],$n=Math.sin(ze),gr=Math.cos(ze);return v[0]=ut*gr+Ht*$n,v[1]=_t*gr+$t*$n,v[2]=ut*-$n+Ht*gr,v[3]=_t*-$n+$t*gr,v[4]=wn,v[5]=On,v}function We(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=G[4],On=G[5],$n=ze[0],gr=ze[1];return v[0]=ut*$n,v[1]=_t*$n,v[2]=Ht*gr,v[3]=$t*gr,v[4]=wn,v[5]=On,v}function we(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=G[4],On=G[5],$n=ze[0],gr=ze[1];return v[0]=ut,v[1]=_t,v[2]=Ht,v[3]=$t,v[4]=ut*$n+Ht*gr+wn,v[5]=_t*$n+$t*gr+On,v}function Ze(v,G){var ze=Math.sin(G),ut=Math.cos(G);return v[0]=ut,v[1]=ze,v[2]=-ze,v[3]=ut,v[4]=0,v[5]=0,v}function Ve(v,G){return v[0]=G[0],v[1]=0,v[2]=0,v[3]=G[1],v[4]=0,v[5]=0,v}function et(v,G){return v[0]=1,v[1]=0,v[2]=0,v[3]=1,v[4]=G[0],v[5]=G[1],v}function ht(v){return\"mat2d(\"+v[0]+\", \"+v[1]+\", \"+v[2]+\", \"+v[3]+\", \"+v[4]+\", \"+v[5]+\")\"}function Fe(v){return Math.hypot(v[0],v[1],v[2],v[3],v[4],v[5],1)}function mt(v,G,ze){return v[0]=G[0]+ze[0],v[1]=G[1]+ze[1],v[2]=G[2]+ze[2],v[3]=G[3]+ze[3],v[4]=G[4]+ze[4],v[5]=G[5]+ze[5],v}function dt(v,G,ze){return v[0]=G[0]-ze[0],v[1]=G[1]-ze[1],v[2]=G[2]-ze[2],v[3]=G[3]-ze[3],v[4]=G[4]-ze[4],v[5]=G[5]-ze[5],v}function Lt(v,G,ze){return v[0]=G[0]*ze,v[1]=G[1]*ze,v[2]=G[2]*ze,v[3]=G[3]*ze,v[4]=G[4]*ze,v[5]=G[5]*ze,v}function lt(v,G,ze,ut){return v[0]=G[0]+ze[0]*ut,v[1]=G[1]+ze[1]*ut,v[2]=G[2]+ze[2]*ut,v[3]=G[3]+ze[3]*ut,v[4]=G[4]+ze[4]*ut,v[5]=G[5]+ze[5]*ut,v}function rn(v,G){return v[0]===G[0]&&v[1]===G[1]&&v[2]===G[2]&&v[3]===G[3]&&v[4]===G[4]&&v[5]===G[5]}function qt(v,G){var ze=v[0],ut=v[1],_t=v[2],Ht=v[3],$t=v[4],wn=v[5],On=G[0],$n=G[1],gr=G[2],Fr=G[3],Qr=G[4],qr=G[5];return Math.abs(ze-On)<=u.EPSILON*Math.max(1,Math.abs(ze),Math.abs(On))&&Math.abs(ut-$n)<=u.EPSILON*Math.max(1,Math.abs(ut),Math.abs($n))&&Math.abs(_t-gr)<=u.EPSILON*Math.max(1,Math.abs(_t),Math.abs(gr))&&Math.abs(Ht-Fr)<=u.EPSILON*Math.max(1,Math.abs(Ht),Math.abs(Fr))&&Math.abs($t-Qr)<=u.EPSILON*Math.max(1,Math.abs($t),Math.abs(Qr))&&Math.abs(wn-qr)<=u.EPSILON*Math.max(1,Math.abs(wn),Math.abs(qr))}var hn=_e,Kt=dt;function an(){var v=new u.ARRAY_TYPE(9);return u.ARRAY_TYPE!=Float32Array&&(v[1]=0,v[2]=0,v[3]=0,v[5]=0,v[6]=0,v[7]=0),v[0]=1,v[4]=1,v[8]=1,v}function In(v,G){return v[0]=G[0],v[1]=G[1],v[2]=G[2],v[3]=G[4],v[4]=G[5],v[5]=G[6],v[6]=G[8],v[7]=G[9],v[8]=G[10],v}function Ft(v){var G=new u.ARRAY_TYPE(9);return G[0]=v[0],G[1]=v[1],G[2]=v[2],G[3]=v[3],G[4]=v[4],G[5]=v[5],G[6]=v[6],G[7]=v[7],G[8]=v[8],G}function kt(v,G){return v[0]=G[0],v[1]=G[1],v[2]=G[2],v[3]=G[3],v[4]=G[4],v[5]=G[5],v[6]=G[6],v[7]=G[7],v[8]=G[8],v}function At(v,G,ze,ut,_t,Ht,$t,wn,On){var $n=new u.ARRAY_TYPE(9);return $n[0]=v,$n[1]=G,$n[2]=ze,$n[3]=ut,$n[4]=_t,$n[5]=Ht,$n[6]=$t,$n[7]=wn,$n[8]=On,$n}function Fn(v,G,ze,ut,_t,Ht,$t,wn,On,$n){return v[0]=G,v[1]=ze,v[2]=ut,v[3]=_t,v[4]=Ht,v[5]=$t,v[6]=wn,v[7]=On,v[8]=$n,v}function pn(v){return v[0]=1,v[1]=0,v[2]=0,v[3]=0,v[4]=1,v[5]=0,v[6]=0,v[7]=0,v[8]=1,v}function en(v,G){if(v===G){var ze=G[1],ut=G[2],_t=G[5];v[1]=G[3],v[2]=G[6],v[3]=ze,v[5]=G[7],v[6]=ut,v[7]=_t}else v[0]=G[0],v[1]=G[3],v[2]=G[6],v[3]=G[1],v[4]=G[4],v[5]=G[7],v[6]=G[2],v[7]=G[5],v[8]=G[8];return v}function Wn(v,G){var ze=G[0],ut=G[1],_t=G[2],Ht=G[3],$t=G[4],wn=G[5],On=G[6],$n=G[7],gr=G[8],Fr=gr*$t-wn*$n,Qr=-gr*Ht+wn*On,qr=$n*Ht-$t*On,mo=ze*Fr+ut*Qr+_t*qr;return mo?(mo=1/mo,v[0]=Fr*mo,v[1]=(-gr*ut+_t*$n)*mo,v[2]=(wn*ut-_t*$t)*mo,v[3]=Qr*mo,v[4]=(gr*ze-_t*On)*mo,v[5]=(-wn*ze+_t*Ht)*mo,v[6]=qr*mo,v[7]=(-$n*ze+ut*On)*mo,v[8]=($t*ze-ut*Ht)*mo,v):null}function Mn(v,G){var ze=G[0],ut=G[1],_t=G[2],Ht=G[3],$t=G[4],wn=G[5],On=G[6],$n=G[7],gr=G[8];return v[0]=$t*gr-wn*$n,v[1]=_t*$n-ut*gr,v[2]=ut*wn-_t*$t,v[3]=wn*On-Ht*gr,v[4]=ze*gr-_t*On,v[5]=_t*Ht-ze*wn,v[6]=Ht*$n-$t*On,v[7]=ut*On-ze*$n,v[8]=ze*$t-ut*Ht,v}function Kn(v){var G=v[0],ze=v[1],ut=v[2],_t=v[3],Ht=v[4],$t=v[5],wn=v[6],On=v[7],$n=v[8];return G*($n*Ht-$t*On)+ze*(-$n*_t+$t*wn)+ut*(On*_t-Ht*wn)}function hr(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=G[4],On=G[5],$n=G[6],gr=G[7],Fr=G[8],Qr=ze[0],qr=ze[1],mo=ze[2],Ho=ze[3],fo=ze[4],ei=ze[5],ea=ze[6],Xi=ze[7],hi=ze[8];return v[0]=Qr*ut+qr*$t+mo*$n,v[1]=Qr*_t+qr*wn+mo*gr,v[2]=Qr*Ht+qr*On+mo*Fr,v[3]=Ho*ut+fo*$t+ei*$n,v[4]=Ho*_t+fo*wn+ei*gr,v[5]=Ho*Ht+fo*On+ei*Fr,v[6]=ea*ut+Xi*$t+hi*$n,v[7]=ea*_t+Xi*wn+hi*gr,v[8]=ea*Ht+Xi*On+hi*Fr,v}function pr(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=G[4],On=G[5],$n=G[6],gr=G[7],Fr=G[8],Qr=ze[0],qr=ze[1];return v[0]=ut,v[1]=_t,v[2]=Ht,v[3]=$t,v[4]=wn,v[5]=On,v[6]=Qr*ut+qr*$t+$n,v[7]=Qr*_t+qr*wn+gr,v[8]=Qr*Ht+qr*On+Fr,v}function zr(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=G[4],On=G[5],$n=G[6],gr=G[7],Fr=G[8],Qr=Math.sin(ze),qr=Math.cos(ze);return v[0]=qr*ut+Qr*$t,v[1]=qr*_t+Qr*wn,v[2]=qr*Ht+Qr*On,v[3]=qr*$t-Qr*ut,v[4]=qr*wn-Qr*_t,v[5]=qr*On-Qr*Ht,v[6]=$n,v[7]=gr,v[8]=Fr,v}function Wr(v,G,ze){var ut=ze[0],_t=ze[1];return v[0]=ut*G[0],v[1]=ut*G[1],v[2]=ut*G[2],v[3]=_t*G[3],v[4]=_t*G[4],v[5]=_t*G[5],v[6]=G[6],v[7]=G[7],v[8]=G[8],v}function Nr(v,G){return v[0]=1,v[1]=0,v[2]=0,v[3]=0,v[4]=1,v[5]=0,v[6]=G[0],v[7]=G[1],v[8]=1,v}function Kr(v,G){var ze=Math.sin(G),ut=Math.cos(G);return v[0]=ut,v[1]=ze,v[2]=0,v[3]=-ze,v[4]=ut,v[5]=0,v[6]=0,v[7]=0,v[8]=1,v}function ko(v,G){return v[0]=G[0],v[1]=0,v[2]=0,v[3]=0,v[4]=G[1],v[5]=0,v[6]=0,v[7]=0,v[8]=1,v}function Ur(v,G){return v[0]=G[0],v[1]=G[1],v[2]=0,v[3]=G[2],v[4]=G[3],v[5]=0,v[6]=G[4],v[7]=G[5],v[8]=1,v}function gn(v,G){var ze=G[0],ut=G[1],_t=G[2],Ht=G[3],$t=ze+ze,wn=ut+ut,On=_t+_t,$n=ze*$t,gr=ut*$t,Fr=ut*wn,Qr=_t*$t,qr=_t*wn,mo=_t*On,Ho=Ht*$t,fo=Ht*wn,ei=Ht*On;return v[0]=1-Fr-mo,v[3]=gr-ei,v[6]=Qr+fo,v[1]=gr+ei,v[4]=1-$n-mo,v[7]=qr-Ho,v[2]=Qr-fo,v[5]=qr+Ho,v[8]=1-$n-Fr,v}function Gt(v,G){var ze=G[0],ut=G[1],_t=G[2],Ht=G[3],$t=G[4],wn=G[5],On=G[6],$n=G[7],gr=G[8],Fr=G[9],Qr=G[10],qr=G[11],mo=G[12],Ho=G[13],fo=G[14],ei=G[15],ea=ze*wn-ut*$t,Xi=ze*On-_t*$t,hi=ze*$n-Ht*$t,Yo=ut*On-_t*wn,Bi=ut*$n-Ht*wn,_a=_t*$n-Ht*On,wa=gr*Ho-Fr*mo,Ia=gr*fo-Qr*mo,tr=gr*ei-qr*mo,Sa=Fr*fo-Qr*Ho,Ta=Fr*ei-qr*Ho,ga=Qr*ei-qr*fo,Fi=ea*ga-Xi*Ta+hi*Sa+Yo*tr-Bi*Ia+_a*wa;return Fi?(Fi=1/Fi,v[0]=(wn*ga-On*Ta+$n*Sa)*Fi,v[1]=(On*tr-$t*ga-$n*Ia)*Fi,v[2]=($t*Ta-wn*tr+$n*wa)*Fi,v[3]=(_t*Ta-ut*ga-Ht*Sa)*Fi,v[4]=(ze*ga-_t*tr+Ht*Ia)*Fi,v[5]=(ut*tr-ze*Ta-Ht*wa)*Fi,v[6]=(Ho*_a-fo*Bi+ei*Yo)*Fi,v[7]=(fo*hi-mo*_a-ei*Xi)*Fi,v[8]=(mo*Bi-Ho*hi+ei*ea)*Fi,v):null}function bt(v,G,ze){return v[0]=2/G,v[1]=0,v[2]=0,v[3]=0,v[4]=-2/ze,v[5]=0,v[6]=-1,v[7]=1,v[8]=1,v}function Zt(v){return\"mat3(\"+v[0]+\", \"+v[1]+\", \"+v[2]+\", \"+v[3]+\", \"+v[4]+\", \"+v[5]+\", \"+v[6]+\", \"+v[7]+\", \"+v[8]+\")\"}function gt(v){return Math.hypot(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8])}function Wt(v,G,ze){return v[0]=G[0]+ze[0],v[1]=G[1]+ze[1],v[2]=G[2]+ze[2],v[3]=G[3]+ze[3],v[4]=G[4]+ze[4],v[5]=G[5]+ze[5],v[6]=G[6]+ze[6],v[7]=G[7]+ze[7],v[8]=G[8]+ze[8],v}function xn(v,G,ze){return v[0]=G[0]-ze[0],v[1]=G[1]-ze[1],v[2]=G[2]-ze[2],v[3]=G[3]-ze[3],v[4]=G[4]-ze[4],v[5]=G[5]-ze[5],v[6]=G[6]-ze[6],v[7]=G[7]-ze[7],v[8]=G[8]-ze[8],v}function Dt(v,G,ze){return v[0]=G[0]*ze,v[1]=G[1]*ze,v[2]=G[2]*ze,v[3]=G[3]*ze,v[4]=G[4]*ze,v[5]=G[5]*ze,v[6]=G[6]*ze,v[7]=G[7]*ze,v[8]=G[8]*ze,v}function Xn(v,G,ze,ut){return v[0]=G[0]+ze[0]*ut,v[1]=G[1]+ze[1]*ut,v[2]=G[2]+ze[2]*ut,v[3]=G[3]+ze[3]*ut,v[4]=G[4]+ze[4]*ut,v[5]=G[5]+ze[5]*ut,v[6]=G[6]+ze[6]*ut,v[7]=G[7]+ze[7]*ut,v[8]=G[8]+ze[8]*ut,v}function Rn(v,G){return v[0]===G[0]&&v[1]===G[1]&&v[2]===G[2]&&v[3]===G[3]&&v[4]===G[4]&&v[5]===G[5]&&v[6]===G[6]&&v[7]===G[7]&&v[8]===G[8]}function wt(v,G){var ze=v[0],ut=v[1],_t=v[2],Ht=v[3],$t=v[4],wn=v[5],On=v[6],$n=v[7],gr=v[8],Fr=G[0],Qr=G[1],qr=G[2],mo=G[3],Ho=G[4],fo=G[5],ei=G[6],ea=G[7],Xi=G[8];return Math.abs(ze-Fr)<=u.EPSILON*Math.max(1,Math.abs(ze),Math.abs(Fr))&&Math.abs(ut-Qr)<=u.EPSILON*Math.max(1,Math.abs(ut),Math.abs(Qr))&&Math.abs(_t-qr)<=u.EPSILON*Math.max(1,Math.abs(_t),Math.abs(qr))&&Math.abs(Ht-mo)<=u.EPSILON*Math.max(1,Math.abs(Ht),Math.abs(mo))&&Math.abs($t-Ho)<=u.EPSILON*Math.max(1,Math.abs($t),Math.abs(Ho))&&Math.abs(wn-fo)<=u.EPSILON*Math.max(1,Math.abs(wn),Math.abs(fo))&&Math.abs(On-ei)<=u.EPSILON*Math.max(1,Math.abs(On),Math.abs(ei))&&Math.abs($n-ea)<=u.EPSILON*Math.max(1,Math.abs($n),Math.abs(ea))&&Math.abs(gr-Xi)<=u.EPSILON*Math.max(1,Math.abs(gr),Math.abs(Xi))}var pt=hr,Ue=xn;function xt(){var v=new u.ARRAY_TYPE(16);return u.ARRAY_TYPE!=Float32Array&&(v[1]=0,v[2]=0,v[3]=0,v[4]=0,v[6]=0,v[7]=0,v[8]=0,v[9]=0,v[11]=0,v[12]=0,v[13]=0,v[14]=0),v[0]=1,v[5]=1,v[10]=1,v[15]=1,v}function cn(v){var G=new u.ARRAY_TYPE(16);return G[0]=v[0],G[1]=v[1],G[2]=v[2],G[3]=v[3],G[4]=v[4],G[5]=v[5],G[6]=v[6],G[7]=v[7],G[8]=v[8],G[9]=v[9],G[10]=v[10],G[11]=v[11],G[12]=v[12],G[13]=v[13],G[14]=v[14],G[15]=v[15],G}function er(v,G){return v[0]=G[0],v[1]=G[1],v[2]=G[2],v[3]=G[3],v[4]=G[4],v[5]=G[5],v[6]=G[6],v[7]=G[7],v[8]=G[8],v[9]=G[9],v[10]=G[10],v[11]=G[11],v[12]=G[12],v[13]=G[13],v[14]=G[14],v[15]=G[15],v}function Mr(v,G,ze,ut,_t,Ht,$t,wn,On,$n,gr,Fr,Qr,qr,mo,Ho){var fo=new u.ARRAY_TYPE(16);return fo[0]=v,fo[1]=G,fo[2]=ze,fo[3]=ut,fo[4]=_t,fo[5]=Ht,fo[6]=$t,fo[7]=wn,fo[8]=On,fo[9]=$n,fo[10]=gr,fo[11]=Fr,fo[12]=Qr,fo[13]=qr,fo[14]=mo,fo[15]=Ho,fo}function xr(v,G,ze,ut,_t,Ht,$t,wn,On,$n,gr,Fr,Qr,qr,mo,Ho,fo){return v[0]=G,v[1]=ze,v[2]=ut,v[3]=_t,v[4]=Ht,v[5]=$t,v[6]=wn,v[7]=On,v[8]=$n,v[9]=gr,v[10]=Fr,v[11]=Qr,v[12]=qr,v[13]=mo,v[14]=Ho,v[15]=fo,v}function jr(v){return v[0]=1,v[1]=0,v[2]=0,v[3]=0,v[4]=0,v[5]=1,v[6]=0,v[7]=0,v[8]=0,v[9]=0,v[10]=1,v[11]=0,v[12]=0,v[13]=0,v[14]=0,v[15]=1,v}function yo(v,G){if(v===G){var ze=G[1],ut=G[2],_t=G[3],Ht=G[6],$t=G[7],wn=G[11];v[1]=G[4],v[2]=G[8],v[3]=G[12],v[4]=ze,v[6]=G[9],v[7]=G[13],v[8]=ut,v[9]=Ht,v[11]=G[14],v[12]=_t,v[13]=$t,v[14]=wn}else v[0]=G[0],v[1]=G[4],v[2]=G[8],v[3]=G[12],v[4]=G[1],v[5]=G[5],v[6]=G[9],v[7]=G[13],v[8]=G[2],v[9]=G[6],v[10]=G[10],v[11]=G[14],v[12]=G[3],v[13]=G[7],v[14]=G[11],v[15]=G[15];return v}function eo(v,G){var ze=G[0],ut=G[1],_t=G[2],Ht=G[3],$t=G[4],wn=G[5],On=G[6],$n=G[7],gr=G[8],Fr=G[9],Qr=G[10],qr=G[11],mo=G[12],Ho=G[13],fo=G[14],ei=G[15],ea=ze*wn-ut*$t,Xi=ze*On-_t*$t,hi=ze*$n-Ht*$t,Yo=ut*On-_t*wn,Bi=ut*$n-Ht*wn,_a=_t*$n-Ht*On,wa=gr*Ho-Fr*mo,Ia=gr*fo-Qr*mo,tr=gr*ei-qr*mo,Sa=Fr*fo-Qr*Ho,Ta=Fr*ei-qr*Ho,ga=Qr*ei-qr*fo,Fi=ea*ga-Xi*Ta+hi*Sa+Yo*tr-Bi*Ia+_a*wa;return Fi?(Fi=1/Fi,v[0]=(wn*ga-On*Ta+$n*Sa)*Fi,v[1]=(_t*Ta-ut*ga-Ht*Sa)*Fi,v[2]=(Ho*_a-fo*Bi+ei*Yo)*Fi,v[3]=(Qr*Bi-Fr*_a-qr*Yo)*Fi,v[4]=(On*tr-$t*ga-$n*Ia)*Fi,v[5]=(ze*ga-_t*tr+Ht*Ia)*Fi,v[6]=(fo*hi-mo*_a-ei*Xi)*Fi,v[7]=(gr*_a-Qr*hi+qr*Xi)*Fi,v[8]=($t*Ta-wn*tr+$n*wa)*Fi,v[9]=(ut*tr-ze*Ta-Ht*wa)*Fi,v[10]=(mo*Bi-Ho*hi+ei*ea)*Fi,v[11]=(Fr*hi-gr*Bi-qr*ea)*Fi,v[12]=(wn*Ia-$t*Sa-On*wa)*Fi,v[13]=(ze*Sa-ut*Ia+_t*wa)*Fi,v[14]=(Ho*Xi-mo*Yo-fo*ea)*Fi,v[15]=(gr*Yo-Fr*Xi+Qr*ea)*Fi,v):null}function vi(v,G){var ze=G[0],ut=G[1],_t=G[2],Ht=G[3],$t=G[4],wn=G[5],On=G[6],$n=G[7],gr=G[8],Fr=G[9],Qr=G[10],qr=G[11],mo=G[12],Ho=G[13],fo=G[14],ei=G[15];return v[0]=wn*(Qr*ei-qr*fo)-Fr*(On*ei-$n*fo)+Ho*(On*qr-$n*Qr),v[1]=-(ut*(Qr*ei-qr*fo)-Fr*(_t*ei-Ht*fo)+Ho*(_t*qr-Ht*Qr)),v[2]=ut*(On*ei-$n*fo)-wn*(_t*ei-Ht*fo)+Ho*(_t*$n-Ht*On),v[3]=-(ut*(On*qr-$n*Qr)-wn*(_t*qr-Ht*Qr)+Fr*(_t*$n-Ht*On)),v[4]=-($t*(Qr*ei-qr*fo)-gr*(On*ei-$n*fo)+mo*(On*qr-$n*Qr)),v[5]=ze*(Qr*ei-qr*fo)-gr*(_t*ei-Ht*fo)+mo*(_t*qr-Ht*Qr),v[6]=-(ze*(On*ei-$n*fo)-$t*(_t*ei-Ht*fo)+mo*(_t*$n-Ht*On)),v[7]=ze*(On*qr-$n*Qr)-$t*(_t*qr-Ht*Qr)+gr*(_t*$n-Ht*On),v[8]=$t*(Fr*ei-qr*Ho)-gr*(wn*ei-$n*Ho)+mo*(wn*qr-$n*Fr),v[9]=-(ze*(Fr*ei-qr*Ho)-gr*(ut*ei-Ht*Ho)+mo*(ut*qr-Ht*Fr)),v[10]=ze*(wn*ei-$n*Ho)-$t*(ut*ei-Ht*Ho)+mo*(ut*$n-Ht*wn),v[11]=-(ze*(wn*qr-$n*Fr)-$t*(ut*qr-Ht*Fr)+gr*(ut*$n-Ht*wn)),v[12]=-($t*(Fr*fo-Qr*Ho)-gr*(wn*fo-On*Ho)+mo*(wn*Qr-On*Fr)),v[13]=ze*(Fr*fo-Qr*Ho)-gr*(ut*fo-_t*Ho)+mo*(ut*Qr-_t*Fr),v[14]=-(ze*(wn*fo-On*Ho)-$t*(ut*fo-_t*Ho)+mo*(ut*On-_t*wn)),v[15]=ze*(wn*Qr-On*Fr)-$t*(ut*Qr-_t*Fr)+gr*(ut*On-_t*wn),v}function Ti(v){var G=v[0],ze=v[1],ut=v[2],_t=v[3],Ht=v[4],$t=v[5],wn=v[6],On=v[7],$n=v[8],gr=v[9],Fr=v[10],Qr=v[11],qr=v[12],mo=v[13],Ho=v[14],fo=v[15];return(G*$t-ze*Ht)*(Fr*fo-Qr*Ho)-(G*wn-ut*Ht)*(gr*fo-Qr*mo)+(G*On-_t*Ht)*(gr*Ho-Fr*mo)+(ze*wn-ut*$t)*($n*fo-Qr*qr)-(ze*On-_t*$t)*($n*Ho-Fr*qr)+(ut*On-_t*wn)*($n*mo-gr*qr)}function wi(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=G[4],On=G[5],$n=G[6],gr=G[7],Fr=G[8],Qr=G[9],qr=G[10],mo=G[11],Ho=G[12],fo=G[13],ei=G[14],ea=G[15],Xi=ze[0],hi=ze[1],Yo=ze[2],Bi=ze[3];return v[0]=Xi*ut+hi*wn+Yo*Fr+Bi*Ho,v[1]=Xi*_t+hi*On+Yo*Qr+Bi*fo,v[2]=Xi*Ht+hi*$n+Yo*qr+Bi*ei,v[3]=Xi*$t+hi*gr+Yo*mo+Bi*ea,Xi=ze[4],hi=ze[5],Yo=ze[6],Bi=ze[7],v[4]=Xi*ut+hi*wn+Yo*Fr+Bi*Ho,v[5]=Xi*_t+hi*On+Yo*Qr+Bi*fo,v[6]=Xi*Ht+hi*$n+Yo*qr+Bi*ei,v[7]=Xi*$t+hi*gr+Yo*mo+Bi*ea,Xi=ze[8],hi=ze[9],Yo=ze[10],Bi=ze[11],v[8]=Xi*ut+hi*wn+Yo*Fr+Bi*Ho,v[9]=Xi*_t+hi*On+Yo*Qr+Bi*fo,v[10]=Xi*Ht+hi*$n+Yo*qr+Bi*ei,v[11]=Xi*$t+hi*gr+Yo*mo+Bi*ea,Xi=ze[12],hi=ze[13],Yo=ze[14],Bi=ze[15],v[12]=Xi*ut+hi*wn+Yo*Fr+Bi*Ho,v[13]=Xi*_t+hi*On+Yo*Qr+Bi*fo,v[14]=Xi*Ht+hi*$n+Yo*qr+Bi*ei,v[15]=Xi*$t+hi*gr+Yo*mo+Bi*ea,v}function mi(v,G,ze){var ut,_t,Ht,$t,wn,On,$n,gr,Fr,Qr,qr,mo,Ho=ze[0],fo=ze[1],ei=ze[2];return G===v?(v[12]=G[0]*Ho+G[4]*fo+G[8]*ei+G[12],v[13]=G[1]*Ho+G[5]*fo+G[9]*ei+G[13],v[14]=G[2]*Ho+G[6]*fo+G[10]*ei+G[14],v[15]=G[3]*Ho+G[7]*fo+G[11]*ei+G[15]):(ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=G[4],On=G[5],$n=G[6],gr=G[7],Fr=G[8],Qr=G[9],qr=G[10],mo=G[11],v[0]=ut,v[1]=_t,v[2]=Ht,v[3]=$t,v[4]=wn,v[5]=On,v[6]=$n,v[7]=gr,v[8]=Fr,v[9]=Qr,v[10]=qr,v[11]=mo,v[12]=ut*Ho+wn*fo+Fr*ei+G[12],v[13]=_t*Ho+On*fo+Qr*ei+G[13],v[14]=Ht*Ho+$n*fo+qr*ei+G[14],v[15]=$t*Ho+gr*fo+mo*ei+G[15]),v}function Zi(v,G,ze){var ut=ze[0],_t=ze[1],Ht=ze[2];return v[0]=G[0]*ut,v[1]=G[1]*ut,v[2]=G[2]*ut,v[3]=G[3]*ut,v[4]=G[4]*_t,v[5]=G[5]*_t,v[6]=G[6]*_t,v[7]=G[7]*_t,v[8]=G[8]*Ht,v[9]=G[9]*Ht,v[10]=G[10]*Ht,v[11]=G[11]*Ht,v[12]=G[12],v[13]=G[13],v[14]=G[14],v[15]=G[15],v}function aa(v,G,ze,ut){var _t,Ht,$t,wn,On,$n,gr,Fr,Qr,qr,mo,Ho,fo,ei,ea,Xi,hi,Yo,Bi,_a,wa,Ia,tr,Sa,Ta=ut[0],ga=ut[1],Fi=ut[2],Cs=Math.hypot(Ta,ga,Fi);return Cs<u.EPSILON?null:(Ta*=Cs=1/Cs,ga*=Cs,Fi*=Cs,_t=Math.sin(ze),$t=1-(Ht=Math.cos(ze)),wn=G[0],On=G[1],$n=G[2],gr=G[3],Fr=G[4],Qr=G[5],qr=G[6],mo=G[7],Ho=G[8],fo=G[9],ei=G[10],ea=G[11],Xi=Ta*Ta*$t+Ht,hi=ga*Ta*$t+Fi*_t,Yo=Fi*Ta*$t-ga*_t,Bi=Ta*ga*$t-Fi*_t,_a=ga*ga*$t+Ht,wa=Fi*ga*$t+Ta*_t,Ia=Ta*Fi*$t+ga*_t,tr=ga*Fi*$t-Ta*_t,Sa=Fi*Fi*$t+Ht,v[0]=wn*Xi+Fr*hi+Ho*Yo,v[1]=On*Xi+Qr*hi+fo*Yo,v[2]=$n*Xi+qr*hi+ei*Yo,v[3]=gr*Xi+mo*hi+ea*Yo,v[4]=wn*Bi+Fr*_a+Ho*wa,v[5]=On*Bi+Qr*_a+fo*wa,v[6]=$n*Bi+qr*_a+ei*wa,v[7]=gr*Bi+mo*_a+ea*wa,v[8]=wn*Ia+Fr*tr+Ho*Sa,v[9]=On*Ia+Qr*tr+fo*Sa,v[10]=$n*Ia+qr*tr+ei*Sa,v[11]=gr*Ia+mo*tr+ea*Sa,G!==v&&(v[12]=G[12],v[13]=G[13],v[14]=G[14],v[15]=G[15]),v)}function $e(v,G,ze){var ut=Math.sin(ze),_t=Math.cos(ze),Ht=G[4],$t=G[5],wn=G[6],On=G[7],$n=G[8],gr=G[9],Fr=G[10],Qr=G[11];return G!==v&&(v[0]=G[0],v[1]=G[1],v[2]=G[2],v[3]=G[3],v[12]=G[12],v[13]=G[13],v[14]=G[14],v[15]=G[15]),v[4]=Ht*_t+$n*ut,v[5]=$t*_t+gr*ut,v[6]=wn*_t+Fr*ut,v[7]=On*_t+Qr*ut,v[8]=$n*_t-Ht*ut,v[9]=gr*_t-$t*ut,v[10]=Fr*_t-wn*ut,v[11]=Qr*_t-On*ut,v}function dn(v,G,ze){var ut=Math.sin(ze),_t=Math.cos(ze),Ht=G[0],$t=G[1],wn=G[2],On=G[3],$n=G[8],gr=G[9],Fr=G[10],Qr=G[11];return G!==v&&(v[4]=G[4],v[5]=G[5],v[6]=G[6],v[7]=G[7],v[12]=G[12],v[13]=G[13],v[14]=G[14],v[15]=G[15]),v[0]=Ht*_t-$n*ut,v[1]=$t*_t-gr*ut,v[2]=wn*_t-Fr*ut,v[3]=On*_t-Qr*ut,v[8]=Ht*ut+$n*_t,v[9]=$t*ut+gr*_t,v[10]=wn*ut+Fr*_t,v[11]=On*ut+Qr*_t,v}function Un(v,G,ze){var ut=Math.sin(ze),_t=Math.cos(ze),Ht=G[0],$t=G[1],wn=G[2],On=G[3],$n=G[4],gr=G[5],Fr=G[6],Qr=G[7];return G!==v&&(v[8]=G[8],v[9]=G[9],v[10]=G[10],v[11]=G[11],v[12]=G[12],v[13]=G[13],v[14]=G[14],v[15]=G[15]),v[0]=Ht*_t+$n*ut,v[1]=$t*_t+gr*ut,v[2]=wn*_t+Fr*ut,v[3]=On*_t+Qr*ut,v[4]=$n*_t-Ht*ut,v[5]=gr*_t-$t*ut,v[6]=Fr*_t-wn*ut,v[7]=Qr*_t-On*ut,v}function ar(v,G){return v[0]=1,v[1]=0,v[2]=0,v[3]=0,v[4]=0,v[5]=1,v[6]=0,v[7]=0,v[8]=0,v[9]=0,v[10]=1,v[11]=0,v[12]=G[0],v[13]=G[1],v[14]=G[2],v[15]=1,v}function Rr(v,G){return v[0]=G[0],v[1]=0,v[2]=0,v[3]=0,v[4]=0,v[5]=G[1],v[6]=0,v[7]=0,v[8]=0,v[9]=0,v[10]=G[2],v[11]=0,v[12]=0,v[13]=0,v[14]=0,v[15]=1,v}function Ro(v,G,ze){var ut,_t,Ht,$t=ze[0],wn=ze[1],On=ze[2],$n=Math.hypot($t,wn,On);return $n<u.EPSILON?null:($t*=$n=1/$n,wn*=$n,On*=$n,ut=Math.sin(G),Ht=1-(_t=Math.cos(G)),v[0]=$t*$t*Ht+_t,v[1]=wn*$t*Ht+On*ut,v[2]=On*$t*Ht-wn*ut,v[3]=0,v[4]=$t*wn*Ht-On*ut,v[5]=wn*wn*Ht+_t,v[6]=On*wn*Ht+$t*ut,v[7]=0,v[8]=$t*On*Ht+wn*ut,v[9]=wn*On*Ht-$t*ut,v[10]=On*On*Ht+_t,v[11]=0,v[12]=0,v[13]=0,v[14]=0,v[15]=1,v)}function Vo(v,G){var ze=Math.sin(G),ut=Math.cos(G);return v[0]=1,v[1]=0,v[2]=0,v[3]=0,v[4]=0,v[5]=ut,v[6]=ze,v[7]=0,v[8]=0,v[9]=-ze,v[10]=ut,v[11]=0,v[12]=0,v[13]=0,v[14]=0,v[15]=1,v}function Co(v,G){var ze=Math.sin(G),ut=Math.cos(G);return v[0]=ut,v[1]=0,v[2]=-ze,v[3]=0,v[4]=0,v[5]=1,v[6]=0,v[7]=0,v[8]=ze,v[9]=0,v[10]=ut,v[11]=0,v[12]=0,v[13]=0,v[14]=0,v[15]=1,v}function Mo(v,G){var ze=Math.sin(G),ut=Math.cos(G);return v[0]=ut,v[1]=ze,v[2]=0,v[3]=0,v[4]=-ze,v[5]=ut,v[6]=0,v[7]=0,v[8]=0,v[9]=0,v[10]=1,v[11]=0,v[12]=0,v[13]=0,v[14]=0,v[15]=1,v}function qo(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=ut+ut,On=_t+_t,$n=Ht+Ht,gr=ut*wn,Fr=ut*On,Qr=ut*$n,qr=_t*On,mo=_t*$n,Ho=Ht*$n,fo=$t*wn,ei=$t*On,ea=$t*$n;return v[0]=1-(qr+Ho),v[1]=Fr+ea,v[2]=Qr-ei,v[3]=0,v[4]=Fr-ea,v[5]=1-(gr+Ho),v[6]=mo+fo,v[7]=0,v[8]=Qr+ei,v[9]=mo-fo,v[10]=1-(gr+qr),v[11]=0,v[12]=ze[0],v[13]=ze[1],v[14]=ze[2],v[15]=1,v}function ti(v,G){var ze=new u.ARRAY_TYPE(3),ut=-G[0],_t=-G[1],Ht=-G[2],$t=G[3],wn=G[4],On=G[5],$n=G[6],gr=G[7],Fr=ut*ut+_t*_t+Ht*Ht+$t*$t;return Fr>0?(ze[0]=2*(wn*$t+gr*ut+On*Ht-$n*_t)/Fr,ze[1]=2*(On*$t+gr*_t+$n*ut-wn*Ht)/Fr,ze[2]=2*($n*$t+gr*Ht+wn*_t-On*ut)/Fr):(ze[0]=2*(wn*$t+gr*ut+On*Ht-$n*_t),ze[1]=2*(On*$t+gr*_t+$n*ut-wn*Ht),ze[2]=2*($n*$t+gr*Ht+wn*_t-On*ut)),qo(v,G,ze),v}function pi(v,G){return v[0]=G[12],v[1]=G[13],v[2]=G[14],v}function ni(v,G){var ze=G[0],ut=G[1],_t=G[2],Ht=G[4],$t=G[5],wn=G[6],On=G[8],$n=G[9],gr=G[10];return v[0]=Math.hypot(ze,ut,_t),v[1]=Math.hypot(Ht,$t,wn),v[2]=Math.hypot(On,$n,gr),v}function si(v,G){var ze=new u.ARRAY_TYPE(3);ni(ze,G);var ut=1/ze[0],_t=1/ze[1],Ht=1/ze[2],$t=G[0]*ut,wn=G[1]*_t,On=G[2]*Ht,$n=G[4]*ut,gr=G[5]*_t,Fr=G[6]*Ht,Qr=G[8]*ut,qr=G[9]*_t,mo=G[10]*Ht,Ho=$t+gr+mo,fo=0;return Ho>0?(fo=2*Math.sqrt(Ho+1),v[3]=.25*fo,v[0]=(Fr-qr)/fo,v[1]=(Qr-On)/fo,v[2]=(wn-$n)/fo):$t>gr&&$t>mo?(fo=2*Math.sqrt(1+$t-gr-mo),v[3]=(Fr-qr)/fo,v[0]=.25*fo,v[1]=(wn+$n)/fo,v[2]=(Qr+On)/fo):gr>mo?(fo=2*Math.sqrt(1+gr-$t-mo),v[3]=(Qr-On)/fo,v[0]=(wn+$n)/fo,v[1]=.25*fo,v[2]=(Fr+qr)/fo):(fo=2*Math.sqrt(1+mo-$t-gr),v[3]=(wn-$n)/fo,v[0]=(Qr+On)/fo,v[1]=(Fr+qr)/fo,v[2]=.25*fo),v}function Oi(v,G,ze,ut){var _t=G[0],Ht=G[1],$t=G[2],wn=G[3],On=_t+_t,$n=Ht+Ht,gr=$t+$t,Fr=_t*On,Qr=_t*$n,qr=_t*gr,mo=Ht*$n,Ho=Ht*gr,fo=$t*gr,ei=wn*On,ea=wn*$n,Xi=wn*gr,hi=ut[0],Yo=ut[1],Bi=ut[2];return v[0]=(1-(mo+fo))*hi,v[1]=(Qr+Xi)*hi,v[2]=(qr-ea)*hi,v[3]=0,v[4]=(Qr-Xi)*Yo,v[5]=(1-(Fr+fo))*Yo,v[6]=(Ho+ei)*Yo,v[7]=0,v[8]=(qr+ea)*Bi,v[9]=(Ho-ei)*Bi,v[10]=(1-(Fr+mo))*Bi,v[11]=0,v[12]=ze[0],v[13]=ze[1],v[14]=ze[2],v[15]=1,v}function Ki(v,G,ze,ut,_t){var Ht=G[0],$t=G[1],wn=G[2],On=G[3],$n=Ht+Ht,gr=$t+$t,Fr=wn+wn,Qr=Ht*$n,qr=Ht*gr,mo=Ht*Fr,Ho=$t*gr,fo=$t*Fr,ei=wn*Fr,ea=On*$n,Xi=On*gr,hi=On*Fr,Yo=ut[0],Bi=ut[1],_a=ut[2],wa=_t[0],Ia=_t[1],tr=_t[2],Sa=(1-(Ho+ei))*Yo,Ta=(qr+hi)*Yo,ga=(mo-Xi)*Yo,Fi=(qr-hi)*Bi,Cs=(1-(Qr+ei))*Bi,yn=(fo+ea)*Bi,zs=(mo+Xi)*_a,ds=(fo-ea)*_a,gs=(1-(Qr+Ho))*_a;return v[0]=Sa,v[1]=Ta,v[2]=ga,v[3]=0,v[4]=Fi,v[5]=Cs,v[6]=yn,v[7]=0,v[8]=zs,v[9]=ds,v[10]=gs,v[11]=0,v[12]=ze[0]+wa-(Sa*wa+Fi*Ia+zs*tr),v[13]=ze[1]+Ia-(Ta*wa+Cs*Ia+ds*tr),v[14]=ze[2]+tr-(ga*wa+yn*Ia+gs*tr),v[15]=1,v}function ca(v,G){var ze=G[0],ut=G[1],_t=G[2],Ht=G[3],$t=ze+ze,wn=ut+ut,On=_t+_t,$n=ze*$t,gr=ut*$t,Fr=ut*wn,Qr=_t*$t,qr=_t*wn,mo=_t*On,Ho=Ht*$t,fo=Ht*wn,ei=Ht*On;return v[0]=1-Fr-mo,v[1]=gr+ei,v[2]=Qr-fo,v[3]=0,v[4]=gr-ei,v[5]=1-$n-mo,v[6]=qr+Ho,v[7]=0,v[8]=Qr+fo,v[9]=qr-Ho,v[10]=1-$n-Fr,v[11]=0,v[12]=0,v[13]=0,v[14]=0,v[15]=1,v}function zi(v,G,ze,ut,_t,Ht,$t){var wn=1/(ze-G),On=1/(_t-ut),$n=1/(Ht-$t);return v[0]=2*Ht*wn,v[1]=0,v[2]=0,v[3]=0,v[4]=0,v[5]=2*Ht*On,v[6]=0,v[7]=0,v[8]=(ze+G)*wn,v[9]=(_t+ut)*On,v[10]=($t+Ht)*$n,v[11]=-1,v[12]=0,v[13]=0,v[14]=$t*Ht*2*$n,v[15]=0,v}function br(v,G,ze,ut,_t){var Ht,$t=1/Math.tan(G/2);return v[0]=$t/ze,v[1]=0,v[2]=0,v[3]=0,v[4]=0,v[5]=$t,v[6]=0,v[7]=0,v[8]=0,v[9]=0,v[11]=-1,v[12]=0,v[13]=0,v[15]=0,_t!=null&&_t!==1/0?(Ht=1/(ut-_t),v[10]=(_t+ut)*Ht,v[14]=2*_t*ut*Ht):(v[10]=-1,v[14]=-2*ut),v}var Re=br;function je(v,G,ze,ut,_t){var Ht,$t=1/Math.tan(G/2);return v[0]=$t/ze,v[1]=0,v[2]=0,v[3]=0,v[4]=0,v[5]=$t,v[6]=0,v[7]=0,v[8]=0,v[9]=0,v[11]=-1,v[12]=0,v[13]=0,v[15]=0,_t!=null&&_t!==1/0?(Ht=1/(ut-_t),v[10]=_t*Ht,v[14]=_t*ut*Ht):(v[10]=-1,v[14]=-ut),v}function nt(v,G,ze,ut){var _t=Math.tan(G.upDegrees*Math.PI/180),Ht=Math.tan(G.downDegrees*Math.PI/180),$t=Math.tan(G.leftDegrees*Math.PI/180),wn=Math.tan(G.rightDegrees*Math.PI/180),On=2/($t+wn),$n=2/(_t+Ht);return v[0]=On,v[1]=0,v[2]=0,v[3]=0,v[4]=0,v[5]=$n,v[6]=0,v[7]=0,v[8]=-($t-wn)*On*.5,v[9]=(_t-Ht)*$n*.5,v[10]=ut/(ze-ut),v[11]=-1,v[12]=0,v[13]=0,v[14]=ut*ze/(ze-ut),v[15]=0,v}function rt(v,G,ze,ut,_t,Ht,$t){var wn=1/(G-ze),On=1/(ut-_t),$n=1/(Ht-$t);return v[0]=-2*wn,v[1]=0,v[2]=0,v[3]=0,v[4]=0,v[5]=-2*On,v[6]=0,v[7]=0,v[8]=0,v[9]=0,v[10]=2*$n,v[11]=0,v[12]=(G+ze)*wn,v[13]=(_t+ut)*On,v[14]=($t+Ht)*$n,v[15]=1,v}var Xt=rt;function fn(v,G,ze,ut,_t,Ht,$t){var wn=1/(G-ze),On=1/(ut-_t),$n=1/(Ht-$t);return v[0]=-2*wn,v[1]=0,v[2]=0,v[3]=0,v[4]=0,v[5]=-2*On,v[6]=0,v[7]=0,v[8]=0,v[9]=0,v[10]=$n,v[11]=0,v[12]=(G+ze)*wn,v[13]=(_t+ut)*On,v[14]=Ht*$n,v[15]=1,v}function Cn(v,G,ze,ut){var _t,Ht,$t,wn,On,$n,gr,Fr,Qr,qr,mo=G[0],Ho=G[1],fo=G[2],ei=ut[0],ea=ut[1],Xi=ut[2],hi=ze[0],Yo=ze[1],Bi=ze[2];return Math.abs(mo-hi)<u.EPSILON&&Math.abs(Ho-Yo)<u.EPSILON&&Math.abs(fo-Bi)<u.EPSILON?jr(v):(gr=mo-hi,Fr=Ho-Yo,Qr=fo-Bi,_t=ea*(Qr*=qr=1/Math.hypot(gr,Fr,Qr))-Xi*(Fr*=qr),Ht=Xi*(gr*=qr)-ei*Qr,$t=ei*Fr-ea*gr,(qr=Math.hypot(_t,Ht,$t))?(_t*=qr=1/qr,Ht*=qr,$t*=qr):(_t=0,Ht=0,$t=0),wn=Fr*$t-Qr*Ht,On=Qr*_t-gr*$t,$n=gr*Ht-Fr*_t,(qr=Math.hypot(wn,On,$n))?(wn*=qr=1/qr,On*=qr,$n*=qr):(wn=0,On=0,$n=0),v[0]=_t,v[1]=wn,v[2]=gr,v[3]=0,v[4]=Ht,v[5]=On,v[6]=Fr,v[7]=0,v[8]=$t,v[9]=$n,v[10]=Qr,v[11]=0,v[12]=-(_t*mo+Ht*Ho+$t*fo),v[13]=-(wn*mo+On*Ho+$n*fo),v[14]=-(gr*mo+Fr*Ho+Qr*fo),v[15]=1,v)}function Yn(v,G,ze,ut){var _t=G[0],Ht=G[1],$t=G[2],wn=ut[0],On=ut[1],$n=ut[2],gr=_t-ze[0],Fr=Ht-ze[1],Qr=$t-ze[2],qr=gr*gr+Fr*Fr+Qr*Qr;qr>0&&(gr*=qr=1/Math.sqrt(qr),Fr*=qr,Qr*=qr);var mo=On*Qr-$n*Fr,Ho=$n*gr-wn*Qr,fo=wn*Fr-On*gr;return(qr=mo*mo+Ho*Ho+fo*fo)>0&&(mo*=qr=1/Math.sqrt(qr),Ho*=qr,fo*=qr),v[0]=mo,v[1]=Ho,v[2]=fo,v[3]=0,v[4]=Fr*fo-Qr*Ho,v[5]=Qr*mo-gr*fo,v[6]=gr*Ho-Fr*mo,v[7]=0,v[8]=gr,v[9]=Fr,v[10]=Qr,v[11]=0,v[12]=_t,v[13]=Ht,v[14]=$t,v[15]=1,v}function Ae(v){return\"mat4(\"+v[0]+\", \"+v[1]+\", \"+v[2]+\", \"+v[3]+\", \"+v[4]+\", \"+v[5]+\", \"+v[6]+\", \"+v[7]+\", \"+v[8]+\", \"+v[9]+\", \"+v[10]+\", \"+v[11]+\", \"+v[12]+\", \"+v[13]+\", \"+v[14]+\", \"+v[15]+\")\"}function Ke(v){return Math.hypot(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15])}function Mt(v,G,ze){return v[0]=G[0]+ze[0],v[1]=G[1]+ze[1],v[2]=G[2]+ze[2],v[3]=G[3]+ze[3],v[4]=G[4]+ze[4],v[5]=G[5]+ze[5],v[6]=G[6]+ze[6],v[7]=G[7]+ze[7],v[8]=G[8]+ze[8],v[9]=G[9]+ze[9],v[10]=G[10]+ze[10],v[11]=G[11]+ze[11],v[12]=G[12]+ze[12],v[13]=G[13]+ze[13],v[14]=G[14]+ze[14],v[15]=G[15]+ze[15],v}function Ut(v,G,ze){return v[0]=G[0]-ze[0],v[1]=G[1]-ze[1],v[2]=G[2]-ze[2],v[3]=G[3]-ze[3],v[4]=G[4]-ze[4],v[5]=G[5]-ze[5],v[6]=G[6]-ze[6],v[7]=G[7]-ze[7],v[8]=G[8]-ze[8],v[9]=G[9]-ze[9],v[10]=G[10]-ze[10],v[11]=G[11]-ze[11],v[12]=G[12]-ze[12],v[13]=G[13]-ze[13],v[14]=G[14]-ze[14],v[15]=G[15]-ze[15],v}function kn(v,G,ze){return v[0]=G[0]*ze,v[1]=G[1]*ze,v[2]=G[2]*ze,v[3]=G[3]*ze,v[4]=G[4]*ze,v[5]=G[5]*ze,v[6]=G[6]*ze,v[7]=G[7]*ze,v[8]=G[8]*ze,v[9]=G[9]*ze,v[10]=G[10]*ze,v[11]=G[11]*ze,v[12]=G[12]*ze,v[13]=G[13]*ze,v[14]=G[14]*ze,v[15]=G[15]*ze,v}function Zn(v,G,ze,ut){return v[0]=G[0]+ze[0]*ut,v[1]=G[1]+ze[1]*ut,v[2]=G[2]+ze[2]*ut,v[3]=G[3]+ze[3]*ut,v[4]=G[4]+ze[4]*ut,v[5]=G[5]+ze[5]*ut,v[6]=G[6]+ze[6]*ut,v[7]=G[7]+ze[7]*ut,v[8]=G[8]+ze[8]*ut,v[9]=G[9]+ze[9]*ut,v[10]=G[10]+ze[10]*ut,v[11]=G[11]+ze[11]*ut,v[12]=G[12]+ze[12]*ut,v[13]=G[13]+ze[13]*ut,v[14]=G[14]+ze[14]*ut,v[15]=G[15]+ze[15]*ut,v}function lr(v,G){return v[0]===G[0]&&v[1]===G[1]&&v[2]===G[2]&&v[3]===G[3]&&v[4]===G[4]&&v[5]===G[5]&&v[6]===G[6]&&v[7]===G[7]&&v[8]===G[8]&&v[9]===G[9]&&v[10]===G[10]&&v[11]===G[11]&&v[12]===G[12]&&v[13]===G[13]&&v[14]===G[14]&&v[15]===G[15]}function wr(v,G){var ze=v[0],ut=v[1],_t=v[2],Ht=v[3],$t=v[4],wn=v[5],On=v[6],$n=v[7],gr=v[8],Fr=v[9],Qr=v[10],qr=v[11],mo=v[12],Ho=v[13],fo=v[14],ei=v[15],ea=G[0],Xi=G[1],hi=G[2],Yo=G[3],Bi=G[4],_a=G[5],wa=G[6],Ia=G[7],tr=G[8],Sa=G[9],Ta=G[10],ga=G[11],Fi=G[12],Cs=G[13],yn=G[14],zs=G[15];return Math.abs(ze-ea)<=u.EPSILON*Math.max(1,Math.abs(ze),Math.abs(ea))&&Math.abs(ut-Xi)<=u.EPSILON*Math.max(1,Math.abs(ut),Math.abs(Xi))&&Math.abs(_t-hi)<=u.EPSILON*Math.max(1,Math.abs(_t),Math.abs(hi))&&Math.abs(Ht-Yo)<=u.EPSILON*Math.max(1,Math.abs(Ht),Math.abs(Yo))&&Math.abs($t-Bi)<=u.EPSILON*Math.max(1,Math.abs($t),Math.abs(Bi))&&Math.abs(wn-_a)<=u.EPSILON*Math.max(1,Math.abs(wn),Math.abs(_a))&&Math.abs(On-wa)<=u.EPSILON*Math.max(1,Math.abs(On),Math.abs(wa))&&Math.abs($n-Ia)<=u.EPSILON*Math.max(1,Math.abs($n),Math.abs(Ia))&&Math.abs(gr-tr)<=u.EPSILON*Math.max(1,Math.abs(gr),Math.abs(tr))&&Math.abs(Fr-Sa)<=u.EPSILON*Math.max(1,Math.abs(Fr),Math.abs(Sa))&&Math.abs(Qr-Ta)<=u.EPSILON*Math.max(1,Math.abs(Qr),Math.abs(Ta))&&Math.abs(qr-ga)<=u.EPSILON*Math.max(1,Math.abs(qr),Math.abs(ga))&&Math.abs(mo-Fi)<=u.EPSILON*Math.max(1,Math.abs(mo),Math.abs(Fi))&&Math.abs(Ho-Cs)<=u.EPSILON*Math.max(1,Math.abs(Ho),Math.abs(Cs))&&Math.abs(fo-yn)<=u.EPSILON*Math.max(1,Math.abs(fo),Math.abs(yn))&&Math.abs(ei-zs)<=u.EPSILON*Math.max(1,Math.abs(ei),Math.abs(zs))}var Dr=wi,go=Ut,Ir=r(24);function Jr(){var v=new u.ARRAY_TYPE(4);return u.ARRAY_TYPE!=Float32Array&&(v[0]=0,v[1]=0,v[2]=0,v[3]=0),v}function _o(v){var G=new u.ARRAY_TYPE(4);return G[0]=v[0],G[1]=v[1],G[2]=v[2],G[3]=v[3],G}function No(v,G,ze,ut){var _t=new u.ARRAY_TYPE(4);return _t[0]=v,_t[1]=G,_t[2]=ze,_t[3]=ut,_t}function ii(v,G){return v[0]=G[0],v[1]=G[1],v[2]=G[2],v[3]=G[3],v}function Lo(v,G,ze,ut,_t){return v[0]=G,v[1]=ze,v[2]=ut,v[3]=_t,v}function ai(v,G,ze){return v[0]=G[0]+ze[0],v[1]=G[1]+ze[1],v[2]=G[2]+ze[2],v[3]=G[3]+ze[3],v}function Si(v,G,ze){return v[0]=G[0]-ze[0],v[1]=G[1]-ze[1],v[2]=G[2]-ze[2],v[3]=G[3]-ze[3],v}function Ui(v,G,ze){return v[0]=G[0]*ze[0],v[1]=G[1]*ze[1],v[2]=G[2]*ze[2],v[3]=G[3]*ze[3],v}function ln(v,G,ze){return v[0]=G[0]/ze[0],v[1]=G[1]/ze[1],v[2]=G[2]/ze[2],v[3]=G[3]/ze[3],v}function mn(v,G){return v[0]=Math.ceil(G[0]),v[1]=Math.ceil(G[1]),v[2]=Math.ceil(G[2]),v[3]=Math.ceil(G[3]),v}function fr(v,G){return v[0]=Math.floor(G[0]),v[1]=Math.floor(G[1]),v[2]=Math.floor(G[2]),v[3]=Math.floor(G[3]),v}function ft(v,G,ze){return v[0]=Math.min(G[0],ze[0]),v[1]=Math.min(G[1],ze[1]),v[2]=Math.min(G[2],ze[2]),v[3]=Math.min(G[3],ze[3]),v}function ct(v,G,ze){return v[0]=Math.max(G[0],ze[0]),v[1]=Math.max(G[1],ze[1]),v[2]=Math.max(G[2],ze[2]),v[3]=Math.max(G[3],ze[3]),v}function tn(v,G){return v[0]=Math.round(G[0]),v[1]=Math.round(G[1]),v[2]=Math.round(G[2]),v[3]=Math.round(G[3]),v}function An(v,G,ze){return v[0]=G[0]*ze,v[1]=G[1]*ze,v[2]=G[2]*ze,v[3]=G[3]*ze,v}function Rt(v,G,ze,ut){return v[0]=G[0]+ze[0]*ut,v[1]=G[1]+ze[1]*ut,v[2]=G[2]+ze[2]*ut,v[3]=G[3]+ze[3]*ut,v}function un(v,G){var ze=G[0]-v[0],ut=G[1]-v[1],_t=G[2]-v[2],Ht=G[3]-v[3];return Math.hypot(ze,ut,_t,Ht)}function Dn(v,G){var ze=G[0]-v[0],ut=G[1]-v[1],_t=G[2]-v[2],Ht=G[3]-v[3];return ze*ze+ut*ut+_t*_t+Ht*Ht}function dr(v){var G=v[0],ze=v[1],ut=v[2],_t=v[3];return Math.hypot(G,ze,ut,_t)}function Ar(v){var G=v[0],ze=v[1],ut=v[2],_t=v[3];return G*G+ze*ze+ut*ut+_t*_t}function Gr(v,G){return v[0]=-G[0],v[1]=-G[1],v[2]=-G[2],v[3]=-G[3],v}function Pr(v,G){return v[0]=1/G[0],v[1]=1/G[1],v[2]=1/G[2],v[3]=1/G[3],v}function Xr(v,G){var ze=G[0],ut=G[1],_t=G[2],Ht=G[3],$t=ze*ze+ut*ut+_t*_t+Ht*Ht;return $t>0&&($t=1/Math.sqrt($t)),v[0]=ze*$t,v[1]=ut*$t,v[2]=_t*$t,v[3]=Ht*$t,v}function oo(v,G){return v[0]*G[0]+v[1]*G[1]+v[2]*G[2]+v[3]*G[3]}function io(v,G,ze,ut){var _t=ze[0]*ut[1]-ze[1]*ut[0],Ht=ze[0]*ut[2]-ze[2]*ut[0],$t=ze[0]*ut[3]-ze[3]*ut[0],wn=ze[1]*ut[2]-ze[2]*ut[1],On=ze[1]*ut[3]-ze[3]*ut[1],$n=ze[2]*ut[3]-ze[3]*ut[2],gr=G[0],Fr=G[1],Qr=G[2],qr=G[3];return v[0]=Fr*$n-Qr*On+qr*wn,v[1]=-gr*$n+Qr*$t-qr*Ht,v[2]=gr*On-Fr*$t+qr*_t,v[3]=-gr*wn+Fr*Ht-Qr*_t,v}function to(v,G,ze,ut){var _t=G[0],Ht=G[1],$t=G[2],wn=G[3];return v[0]=_t+ut*(ze[0]-_t),v[1]=Ht+ut*(ze[1]-Ht),v[2]=$t+ut*(ze[2]-$t),v[3]=wn+ut*(ze[3]-wn),v}function To(v,G){var ze,ut,_t,Ht,$t,wn;G=G||1;do $t=(ze=2*u.RANDOM()-1)*ze+(ut=2*u.RANDOM()-1)*ut;while($t>=1);do wn=(_t=2*u.RANDOM()-1)*_t+(Ht=2*u.RANDOM()-1)*Ht;while(wn>=1);var On=Math.sqrt((1-$t)/wn);return v[0]=G*ze,v[1]=G*ut,v[2]=G*_t*On,v[3]=G*Ht*On,v}function jn(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3];return v[0]=ze[0]*ut+ze[4]*_t+ze[8]*Ht+ze[12]*$t,v[1]=ze[1]*ut+ze[5]*_t+ze[9]*Ht+ze[13]*$t,v[2]=ze[2]*ut+ze[6]*_t+ze[10]*Ht+ze[14]*$t,v[3]=ze[3]*ut+ze[7]*_t+ze[11]*Ht+ze[15]*$t,v}function W(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=ze[0],wn=ze[1],On=ze[2],$n=ze[3],gr=$n*ut+wn*Ht-On*_t,Fr=$n*_t+On*ut-$t*Ht,Qr=$n*Ht+$t*_t-wn*ut,qr=-$t*ut-wn*_t-On*Ht;return v[0]=gr*$n+qr*-$t+Fr*-On-Qr*-wn,v[1]=Fr*$n+qr*-wn+Qr*-$t-gr*-On,v[2]=Qr*$n+qr*-On+gr*-wn-Fr*-$t,v[3]=G[3],v}function P(v){return v[0]=0,v[1]=0,v[2]=0,v[3]=0,v}function k(v){return\"vec4(\"+v[0]+\", \"+v[1]+\", \"+v[2]+\", \"+v[3]+\")\"}function z(v,G){return v[0]===G[0]&&v[1]===G[1]&&v[2]===G[2]&&v[3]===G[3]}function Q(v,G){var ze=v[0],ut=v[1],_t=v[2],Ht=v[3],$t=G[0],wn=G[1],On=G[2],$n=G[3];return Math.abs(ze-$t)<=u.EPSILON*Math.max(1,Math.abs(ze),Math.abs($t))&&Math.abs(ut-wn)<=u.EPSILON*Math.max(1,Math.abs(ut),Math.abs(wn))&&Math.abs(_t-On)<=u.EPSILON*Math.max(1,Math.abs(_t),Math.abs(On))&&Math.abs(Ht-$n)<=u.EPSILON*Math.max(1,Math.abs(Ht),Math.abs($n))}var F,V=Si,U=Ui,ge=ln,ke=un,St=Dn,Je=dr,Ot=Ar,It=(F=Jr(),function(v,G,ze,ut,_t,Ht){var $t,wn;for(G||(G=4),ze||(ze=0),wn=ut?Math.min(ut*G+ze,v.length):v.length,$t=ze;$t<wn;$t+=G)F[0]=v[$t],F[1]=v[$t+1],F[2]=v[$t+2],F[3]=v[$t+3],_t(F,F,Ht),v[$t]=F[0],v[$t+1]=F[1],v[$t+2]=F[2],v[$t+3]=F[3];return v});function jt(){var v=new u.ARRAY_TYPE(4);return u.ARRAY_TYPE!=Float32Array&&(v[0]=0,v[1]=0,v[2]=0),v[3]=1,v}function Vt(v){return v[0]=0,v[1]=0,v[2]=0,v[3]=1,v}function Pn(v,G,ze){ze*=.5;var ut=Math.sin(ze);return v[0]=ut*G[0],v[1]=ut*G[1],v[2]=ut*G[2],v[3]=Math.cos(ze),v}function Jn(v,G){var ze=2*Math.acos(G[3]),ut=Math.sin(ze/2);return ut>u.EPSILON?(v[0]=G[0]/ut,v[1]=G[1]/ut,v[2]=G[2]/ut):(v[0]=1,v[1]=0,v[2]=0),ze}function vn(v,G){var ze=Yi(v,G);return Math.acos(2*ze*ze-1)}function Vn(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=ze[0],On=ze[1],$n=ze[2],gr=ze[3];return v[0]=ut*gr+$t*wn+_t*$n-Ht*On,v[1]=_t*gr+$t*On+Ht*wn-ut*$n,v[2]=Ht*gr+$t*$n+ut*On-_t*wn,v[3]=$t*gr-ut*wn-_t*On-Ht*$n,v}function zt(v,G,ze){ze*=.5;var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=Math.sin(ze),On=Math.cos(ze);return v[0]=ut*On+$t*wn,v[1]=_t*On+Ht*wn,v[2]=Ht*On-_t*wn,v[3]=$t*On-ut*wn,v}function ir(v,G,ze){ze*=.5;var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=Math.sin(ze),On=Math.cos(ze);return v[0]=ut*On-Ht*wn,v[1]=_t*On+$t*wn,v[2]=Ht*On+ut*wn,v[3]=$t*On-_t*wn,v}function nr(v,G,ze){ze*=.5;var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=Math.sin(ze),On=Math.cos(ze);return v[0]=ut*On+_t*wn,v[1]=_t*On-ut*wn,v[2]=Ht*On+$t*wn,v[3]=$t*On-Ht*wn,v}function ur(v,G){var ze=G[0],ut=G[1],_t=G[2];return v[0]=ze,v[1]=ut,v[2]=_t,v[3]=Math.sqrt(Math.abs(1-ze*ze-ut*ut-_t*_t)),v}function sr(v,G){var ze=G[0],ut=G[1],_t=G[2],Ht=G[3],$t=Math.sqrt(ze*ze+ut*ut+_t*_t),wn=Math.exp(Ht),On=$t>0?wn*Math.sin($t)/$t:0;return v[0]=ze*On,v[1]=ut*On,v[2]=_t*On,v[3]=wn*Math.cos($t),v}function Ln(v,G){var ze=G[0],ut=G[1],_t=G[2],Ht=G[3],$t=Math.sqrt(ze*ze+ut*ut+_t*_t),wn=$t>0?Math.atan2($t,Ht)/$t:0;return v[0]=ze*wn,v[1]=ut*wn,v[2]=_t*wn,v[3]=.5*Math.log(ze*ze+ut*ut+_t*_t+Ht*Ht),v}function Bt(v,G,ze){return Ln(v,G),Ji(v,v,ze),sr(v,v),v}function En(v,G,ze,ut){var _t,Ht,$t,wn,On,$n=G[0],gr=G[1],Fr=G[2],Qr=G[3],qr=ze[0],mo=ze[1],Ho=ze[2],fo=ze[3];return(Ht=$n*qr+gr*mo+Fr*Ho+Qr*fo)<0&&(Ht=-Ht,qr=-qr,mo=-mo,Ho=-Ho,fo=-fo),1-Ht>u.EPSILON?(_t=Math.acos(Ht),$t=Math.sin(_t),wn=Math.sin((1-ut)*_t)/$t,On=Math.sin(ut*_t)/$t):(wn=1-ut,On=ut),v[0]=wn*$n+On*qr,v[1]=wn*gr+On*mo,v[2]=wn*Fr+On*Ho,v[3]=wn*Qr+On*fo,v}function _n(v){var G=u.RANDOM(),ze=u.RANDOM(),ut=u.RANDOM(),_t=Math.sqrt(1-G),Ht=Math.sqrt(G);return v[0]=_t*Math.sin(2*Math.PI*ze),v[1]=_t*Math.cos(2*Math.PI*ze),v[2]=Ht*Math.sin(2*Math.PI*ut),v[3]=Ht*Math.cos(2*Math.PI*ut),v}function cr(v,G){var ze=G[0],ut=G[1],_t=G[2],Ht=G[3],$t=ze*ze+ut*ut+_t*_t+Ht*Ht,wn=$t?1/$t:0;return v[0]=-ze*wn,v[1]=-ut*wn,v[2]=-_t*wn,v[3]=Ht*wn,v}function ao(v,G){return v[0]=-G[0],v[1]=-G[1],v[2]=-G[2],v[3]=G[3],v}function kr(v,G){var ze,ut=G[0]+G[4]+G[8];if(ut>0)ze=Math.sqrt(ut+1),v[3]=.5*ze,ze=.5/ze,v[0]=(G[5]-G[7])*ze,v[1]=(G[6]-G[2])*ze,v[2]=(G[1]-G[3])*ze;else{var _t=0;G[4]>G[0]&&(_t=1),G[8]>G[3*_t+_t]&&(_t=2);var Ht=(_t+1)%3,$t=(_t+2)%3;ze=Math.sqrt(G[3*_t+_t]-G[3*Ht+Ht]-G[3*$t+$t]+1),v[_t]=.5*ze,ze=.5/ze,v[3]=(G[3*Ht+$t]-G[3*$t+Ht])*ze,v[Ht]=(G[3*Ht+_t]+G[3*_t+Ht])*ze,v[$t]=(G[3*$t+_t]+G[3*_t+$t])*ze}return v}function jo(v,G,ze,ut){var _t=.5*Math.PI/180;G*=_t,ze*=_t,ut*=_t;var Ht=Math.sin(G),$t=Math.cos(G),wn=Math.sin(ze),On=Math.cos(ze),$n=Math.sin(ut),gr=Math.cos(ut);return v[0]=Ht*On*gr-$t*wn*$n,v[1]=$t*wn*gr+Ht*On*$n,v[2]=$t*On*$n-Ht*wn*gr,v[3]=$t*On*gr+Ht*wn*$n,v}function ui(v){return\"quat(\"+v[0]+\", \"+v[1]+\", \"+v[2]+\", \"+v[3]+\")\"}var Vr,ho,vo,uo,Go,Pi,la=_o,Vi=No,ha=ii,xa=Lo,qi=ai,Jo=Vn,Ji=An,Yi=oo,Ii=to,pa=dr,na=pa,$i=Ar,La=$i,ss=Xr,Oa=z,Ma=Q,Ka=(Vr=Ir.create(),ho=Ir.fromValues(1,0,0),vo=Ir.fromValues(0,1,0),function(v,G,ze){var ut=Ir.dot(G,ze);return ut<-.999999?(Ir.cross(Vr,ho,G),Ir.len(Vr)<1e-6&&Ir.cross(Vr,vo,G),Ir.normalize(Vr,Vr),Pn(v,Vr,Math.PI),v):ut>.999999?(v[0]=0,v[1]=0,v[2]=0,v[3]=1,v):(Ir.cross(Vr,G,ze),v[0]=Vr[0],v[1]=Vr[1],v[2]=Vr[2],v[3]=1+ut,ss(v,v))}),Ba=(uo=jt(),Go=jt(),function(v,G,ze,ut,_t,Ht){return En(uo,G,_t,Ht),En(Go,ze,ut,Ht),En(v,uo,Go,2*Ht*(1-Ht)),v}),Ua=(Pi=an(),function(v,G,ze,ut){return Pi[0]=ze[0],Pi[3]=ze[1],Pi[6]=ze[2],Pi[1]=ut[0],Pi[4]=ut[1],Pi[7]=ut[2],Pi[2]=-G[0],Pi[5]=-G[1],Pi[8]=-G[2],ss(v,kr(v,Pi))});function Va(){var v=new u.ARRAY_TYPE(8);return u.ARRAY_TYPE!=Float32Array&&(v[0]=0,v[1]=0,v[2]=0,v[4]=0,v[5]=0,v[6]=0,v[7]=0),v[3]=1,v}function Ls(v){var G=new u.ARRAY_TYPE(8);return G[0]=v[0],G[1]=v[1],G[2]=v[2],G[3]=v[3],G[4]=v[4],G[5]=v[5],G[6]=v[6],G[7]=v[7],G}function Qo(v,G,ze,ut,_t,Ht,$t,wn){var On=new u.ARRAY_TYPE(8);return On[0]=v,On[1]=G,On[2]=ze,On[3]=ut,On[4]=_t,On[5]=Ht,On[6]=$t,On[7]=wn,On}function ws(v,G,ze,ut,_t,Ht,$t){var wn=new u.ARRAY_TYPE(8);wn[0]=v,wn[1]=G,wn[2]=ze,wn[3]=ut;var On=.5*_t,$n=.5*Ht,gr=.5*$t;return wn[4]=On*ut+$n*ze-gr*G,wn[5]=$n*ut+gr*v-On*ze,wn[6]=gr*ut+On*G-$n*v,wn[7]=-On*v-$n*G-gr*ze,wn}function Za(v,G,ze){var ut=.5*ze[0],_t=.5*ze[1],Ht=.5*ze[2],$t=G[0],wn=G[1],On=G[2],$n=G[3];return v[0]=$t,v[1]=wn,v[2]=On,v[3]=$n,v[4]=ut*$n+_t*On-Ht*wn,v[5]=_t*$n+Ht*$t-ut*On,v[6]=Ht*$n+ut*wn-_t*$t,v[7]=-ut*$t-_t*wn-Ht*On,v}function rr(v,G){return v[0]=0,v[1]=0,v[2]=0,v[3]=1,v[4]=.5*G[0],v[5]=.5*G[1],v[6]=.5*G[2],v[7]=0,v}function Eo(v,G){return v[0]=G[0],v[1]=G[1],v[2]=G[2],v[3]=G[3],v[4]=0,v[5]=0,v[6]=0,v[7]=0,v}function Br(v,G){var ze=jt();si(ze,G);var ut=new u.ARRAY_TYPE(3);return pi(ut,G),Za(v,ze,ut),v}function Ao(v,G){return v[0]=G[0],v[1]=G[1],v[2]=G[2],v[3]=G[3],v[4]=G[4],v[5]=G[5],v[6]=G[6],v[7]=G[7],v}function Di(v){return v[0]=0,v[1]=0,v[2]=0,v[3]=1,v[4]=0,v[5]=0,v[6]=0,v[7]=0,v}function Aa(v,G,ze,ut,_t,Ht,$t,wn,On){return v[0]=G,v[1]=ze,v[2]=ut,v[3]=_t,v[4]=Ht,v[5]=$t,v[6]=wn,v[7]=On,v}var Na=ha;function Fa(v,G){return v[0]=G[4],v[1]=G[5],v[2]=G[6],v[3]=G[7],v}var Bs=ha;function Ms(v,G){return v[4]=G[0],v[5]=G[1],v[6]=G[2],v[7]=G[3],v}function Qa(v,G){var ze=G[4],ut=G[5],_t=G[6],Ht=G[7],$t=-G[0],wn=-G[1],On=-G[2],$n=G[3];return v[0]=2*(ze*$n+Ht*$t+ut*On-_t*wn),v[1]=2*(ut*$n+Ht*wn+_t*$t-ze*On),v[2]=2*(_t*$n+Ht*On+ze*wn-ut*$t),v}function us(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=.5*ze[0],On=.5*ze[1],$n=.5*ze[2],gr=G[4],Fr=G[5],Qr=G[6],qr=G[7];return v[0]=ut,v[1]=_t,v[2]=Ht,v[3]=$t,v[4]=$t*wn+_t*$n-Ht*On+gr,v[5]=$t*On+Ht*wn-ut*$n+Fr,v[6]=$t*$n+ut*On-_t*wn+Qr,v[7]=-ut*wn-_t*On-Ht*$n+qr,v}function Fs(v,G,ze){var ut=-G[0],_t=-G[1],Ht=-G[2],$t=G[3],wn=G[4],On=G[5],$n=G[6],gr=G[7],Fr=wn*$t+gr*ut+On*Ht-$n*_t,Qr=On*$t+gr*_t+$n*ut-wn*Ht,qr=$n*$t+gr*Ht+wn*_t-On*ut,mo=gr*$t-wn*ut-On*_t-$n*Ht;return zt(v,G,ze),ut=v[0],_t=v[1],Ht=v[2],$t=v[3],v[4]=Fr*$t+mo*ut+Qr*Ht-qr*_t,v[5]=Qr*$t+mo*_t+qr*ut-Fr*Ht,v[6]=qr*$t+mo*Ht+Fr*_t-Qr*ut,v[7]=mo*$t-Fr*ut-Qr*_t-qr*Ht,v}function $a(v,G,ze){var ut=-G[0],_t=-G[1],Ht=-G[2],$t=G[3],wn=G[4],On=G[5],$n=G[6],gr=G[7],Fr=wn*$t+gr*ut+On*Ht-$n*_t,Qr=On*$t+gr*_t+$n*ut-wn*Ht,qr=$n*$t+gr*Ht+wn*_t-On*ut,mo=gr*$t-wn*ut-On*_t-$n*Ht;return ir(v,G,ze),ut=v[0],_t=v[1],Ht=v[2],$t=v[3],v[4]=Fr*$t+mo*ut+Qr*Ht-qr*_t,v[5]=Qr*$t+mo*_t+qr*ut-Fr*Ht,v[6]=qr*$t+mo*Ht+Fr*_t-Qr*ut,v[7]=mo*$t-Fr*ut-Qr*_t-qr*Ht,v}function Hs(v,G,ze){var ut=-G[0],_t=-G[1],Ht=-G[2],$t=G[3],wn=G[4],On=G[5],$n=G[6],gr=G[7],Fr=wn*$t+gr*ut+On*Ht-$n*_t,Qr=On*$t+gr*_t+$n*ut-wn*Ht,qr=$n*$t+gr*Ht+wn*_t-On*ut,mo=gr*$t-wn*ut-On*_t-$n*Ht;return nr(v,G,ze),ut=v[0],_t=v[1],Ht=v[2],$t=v[3],v[4]=Fr*$t+mo*ut+Qr*Ht-qr*_t,v[5]=Qr*$t+mo*_t+qr*ut-Fr*Ht,v[6]=qr*$t+mo*Ht+Fr*_t-Qr*ut,v[7]=mo*$t-Fr*ut-Qr*_t-qr*Ht,v}function ys(v,G,ze){var ut=ze[0],_t=ze[1],Ht=ze[2],$t=ze[3],wn=G[0],On=G[1],$n=G[2],gr=G[3];return v[0]=wn*$t+gr*ut+On*Ht-$n*_t,v[1]=On*$t+gr*_t+$n*ut-wn*Ht,v[2]=$n*$t+gr*Ht+wn*_t-On*ut,v[3]=gr*$t-wn*ut-On*_t-$n*Ht,wn=G[4],On=G[5],$n=G[6],gr=G[7],v[4]=wn*$t+gr*ut+On*Ht-$n*_t,v[5]=On*$t+gr*_t+$n*ut-wn*Ht,v[6]=$n*$t+gr*Ht+wn*_t-On*ut,v[7]=gr*$t-wn*ut-On*_t-$n*Ht,v}function sa(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=ze[0],On=ze[1],$n=ze[2],gr=ze[3];return v[0]=ut*gr+$t*wn+_t*$n-Ht*On,v[1]=_t*gr+$t*On+Ht*wn-ut*$n,v[2]=Ht*gr+$t*$n+ut*On-_t*wn,v[3]=$t*gr-ut*wn-_t*On-Ht*$n,wn=ze[4],On=ze[5],$n=ze[6],gr=ze[7],v[4]=ut*gr+$t*wn+_t*$n-Ht*On,v[5]=_t*gr+$t*On+Ht*wn-ut*$n,v[6]=Ht*gr+$t*$n+ut*On-_t*wn,v[7]=$t*gr-ut*wn-_t*On-Ht*$n,v}function Xa(v,G,ze,ut){if(Math.abs(ut)<u.EPSILON)return Ao(v,G);var _t=Math.hypot(ze[0],ze[1],ze[2]);ut*=.5;var Ht=Math.sin(ut),$t=Ht*ze[0]/_t,wn=Ht*ze[1]/_t,On=Ht*ze[2]/_t,$n=Math.cos(ut),gr=G[0],Fr=G[1],Qr=G[2],qr=G[3];v[0]=gr*$n+qr*$t+Fr*On-Qr*wn,v[1]=Fr*$n+qr*wn+Qr*$t-gr*On,v[2]=Qr*$n+qr*On+gr*wn-Fr*$t,v[3]=qr*$n-gr*$t-Fr*wn-Qr*On;var mo=G[4],Ho=G[5],fo=G[6],ei=G[7];return v[4]=mo*$n+ei*$t+Ho*On-fo*wn,v[5]=Ho*$n+ei*wn+fo*$t-mo*On,v[6]=fo*$n+ei*On+mo*wn-Ho*$t,v[7]=ei*$n-mo*$t-Ho*wn-fo*On,v}function os(v,G,ze){return v[0]=G[0]+ze[0],v[1]=G[1]+ze[1],v[2]=G[2]+ze[2],v[3]=G[3]+ze[3],v[4]=G[4]+ze[4],v[5]=G[5]+ze[5],v[6]=G[6]+ze[6],v[7]=G[7]+ze[7],v}function As(v,G,ze){var ut=G[0],_t=G[1],Ht=G[2],$t=G[3],wn=ze[4],On=ze[5],$n=ze[6],gr=ze[7],Fr=G[4],Qr=G[5],qr=G[6],mo=G[7],Ho=ze[0],fo=ze[1],ei=ze[2],ea=ze[3];return v[0]=ut*ea+$t*Ho+_t*ei-Ht*fo,v[1]=_t*ea+$t*fo+Ht*Ho-ut*ei,v[2]=Ht*ea+$t*ei+ut*fo-_t*Ho,v[3]=$t*ea-ut*Ho-_t*fo-Ht*ei,v[4]=ut*gr+$t*wn+_t*$n-Ht*On+Fr*ea+mo*Ho+Qr*ei-qr*fo,v[5]=_t*gr+$t*On+Ht*wn-ut*$n+Qr*ea+mo*fo+qr*Ho-Fr*ei,v[6]=Ht*gr+$t*$n+ut*On-_t*wn+qr*ea+mo*ei+Fr*fo-Qr*Ho,v[7]=$t*gr-ut*wn-_t*On-Ht*$n+mo*ea-Fr*Ho-Qr*fo-qr*ei,v}var oa=As;function di(v,G,ze){return v[0]=G[0]*ze,v[1]=G[1]*ze,v[2]=G[2]*ze,v[3]=G[3]*ze,v[4]=G[4]*ze,v[5]=G[5]*ze,v[6]=G[6]*ze,v[7]=G[7]*ze,v}var ia=Yi;function _i(v,G,ze,ut){var _t=1-ut;return ia(G,ze)<0&&(ut=-ut),v[0]=G[0]*_t+ze[0]*ut,v[1]=G[1]*_t+ze[1]*ut,v[2]=G[2]*_t+ze[2]*ut,v[3]=G[3]*_t+ze[3]*ut,v[4]=G[4]*_t+ze[4]*ut,v[5]=G[5]*_t+ze[5]*ut,v[6]=G[6]*_t+ze[6]*ut,v[7]=G[7]*_t+ze[7]*ut,v}function gi(v,G){var ze=Li(G);return v[0]=-G[0]/ze,v[1]=-G[1]/ze,v[2]=-G[2]/ze,v[3]=G[3]/ze,v[4]=-G[4]/ze,v[5]=-G[5]/ze,v[6]=-G[6]/ze,v[7]=G[7]/ze,v}function fa(v,G){return v[0]=-G[0],v[1]=-G[1],v[2]=-G[2],v[3]=G[3],v[4]=-G[4],v[5]=-G[5],v[6]=-G[6],v[7]=G[7],v}var Pa=pa,xs=Pa,Li=$i,vs=Li;function Ca(v,G){var ze=Li(G);if(ze>0){ze=Math.sqrt(ze);var ut=G[0]/ze,_t=G[1]/ze,Ht=G[2]/ze,$t=G[3]/ze,wn=G[4],On=G[5],$n=G[6],gr=G[7],Fr=ut*wn+_t*On+Ht*$n+$t*gr;v[0]=ut,v[1]=_t,v[2]=Ht,v[3]=$t,v[4]=(wn-ut*Fr)/ze,v[5]=(On-_t*Fr)/ze,v[6]=($n-Ht*Fr)/ze,v[7]=(gr-$t*Fr)/ze}return v}function ra(v){return\"quat2(\"+v[0]+\", \"+v[1]+\", \"+v[2]+\", \"+v[3]+\", \"+v[4]+\", \"+v[5]+\", \"+v[6]+\", \"+v[7]+\")\"}function Ja(v,G){return v[0]===G[0]&&v[1]===G[1]&&v[2]===G[2]&&v[3]===G[3]&&v[4]===G[4]&&v[5]===G[5]&&v[6]===G[6]&&v[7]===G[7]}function qa(v,G){var ze=v[0],ut=v[1],_t=v[2],Ht=v[3],$t=v[4],wn=v[5],On=v[6],$n=v[7],gr=G[0],Fr=G[1],Qr=G[2],qr=G[3],mo=G[4],Ho=G[5],fo=G[6],ei=G[7];return Math.abs(ze-gr)<=u.EPSILON*Math.max(1,Math.abs(ze),Math.abs(gr))&&Math.abs(ut-Fr)<=u.EPSILON*Math.max(1,Math.abs(ut),Math.abs(Fr))&&Math.abs(_t-Qr)<=u.EPSILON*Math.max(1,Math.abs(_t),Math.abs(Qr))&&Math.abs(Ht-qr)<=u.EPSILON*Math.max(1,Math.abs(Ht),Math.abs(qr))&&Math.abs($t-mo)<=u.EPSILON*Math.max(1,Math.abs($t),Math.abs(mo))&&Math.abs(wn-Ho)<=u.EPSILON*Math.max(1,Math.abs(wn),Math.abs(Ho))&&Math.abs(On-fo)<=u.EPSILON*Math.max(1,Math.abs(On),Math.abs(fo))&&Math.abs($n-ei)<=u.EPSILON*Math.max(1,Math.abs($n),Math.abs(ei))}var Ts=r(39)},function(Ee,c){Ee.exports=function(r,y){if(!(r instanceof y))throw new TypeError(\"Cannot call a class as a function\")},Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports},function(Ee,c,r){var y=r(97);function N(C,w){for(var O=0;O<w.length;O++){var b=w[O];b.enumerable=b.enumerable||!1,b.configurable=!0,\"value\"in b&&(b.writable=!0),Object.defineProperty(C,y(b.key),b)}}Ee.exports=function(C,w,O){return w&&N(C.prototype,w),O&&N(C,O),Object.defineProperty(C,\"prototype\",{writable:!1}),C},Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports},function(Ee,c,r){\"use strict\";var y=this&&this.__createBinding||(Object.create?function(C,w,O,b){b===void 0&&(b=O);var p=Object.getOwnPropertyDescriptor(w,O);p&&!(\"get\"in p?!w.__esModule:p.writable||p.configurable)||(p={enumerable:!0,get:function(){return w[O]}}),Object.defineProperty(C,b,p)}:function(C,w,O,b){b===void 0&&(b=O),C[b]=w[O]}),N=this&&this.__exportStar||function(C,w){for(var O in C)O===\"default\"||Object.prototype.hasOwnProperty.call(w,O)||y(w,C,O)};Object.defineProperty(c,\"__esModule\",{value:!0}),N(r(151),c),N(r(80),c),N(r(59),c),N(r(60),c),N(r(81),c),N(r(152),c)},function(Ee,c,r){\"use strict\";r.d(c,\"a\",function(){return p}),r.d(c,\"d\",function(){return u}),r.d(c,\"b\",function(){return a}),r.d(c,\"c\",function(){return f}),r.d(c,\"e\",function(){return s}),r.d(c,\"h\",function(){return m}),r.d(c,\"f\",function(){return x}),r.d(c,\"g\",function(){return M});var y=r(0),N=r(56),C=r(43),w=r(5),O=r(19),b={fill:\"fillStyle\",stroke:\"strokeStyle\",opacity:\"globalAlpha\"};function p(E,j){var L=j.attr();for(var A in L){var J=L[A],q=b[A]?b[A]:A;q===\"matrix\"&&J?E.transform(J[0],J[1],J[3],J[4],J[6],J[7]):q===\"lineDash\"&&E.setLineDash?Object(y.isArray)(J)&&E.setLineDash(J):(q===\"strokeStyle\"||q===\"fillStyle\"?J=Object(N.b)(E,j,J):q===\"globalAlpha\"&&(J*=E.globalAlpha),E[q]=J)}}function u(E,j,L){for(var A=0;A<j.length;A++){var J=j[A];J.cfg.visible?J.draw(E,L):J.skipDraw()}}function a(E,j,L){var A=E.get(\"refreshElements\");Object(y.each)(A,function(J){if(J!==E)for(var q=J.cfg.parent;q&&q!==E&&!q.cfg.refresh;)q.cfg.refresh=!0,q=q.cfg.parent}),A[0]===E?h(j,L):function J(q,re){for(var me=0;me<q.length;me++){var Te=q[me];if(Te.cfg.visible)if(Te.cfg.hasChanged)Te.cfg.refresh=!0,Te.isGroup()&&h(Te.cfg.children,re);else if(Te.cfg.refresh)Te.isGroup()&&J(Te.cfg.children,re);else{var ee=l(Te,re);Te.cfg.refresh=ee,ee&&Te.isGroup()&&J(Te.cfg.children,re)}}}(j,L)}function f(E){for(var j=0;j<E.length;j++){var L=E[j];L.cfg.hasChanged=!1,L.isGroup()&&!L.destroyed&&f(L.cfg.children)}}function h(E,j){for(var L=0;L<E.length;L++){var A=E[L];A.cfg.refresh=!0,A.isGroup()&&h(A.get(\"children\"),j)}}function l(E,j){var L=E.cfg.cacheCanvasBBox;return E.cfg.isInView&&L&&Object(w.f)(L,j)}function s(E,j,L,A){var J=L.path,q=L.startArrow,re=L.endArrow;if(J){var me=[0,0],Te=[0,0],ee={dx:0,dy:0};j.beginPath();for(var xe=0;xe<J.length;xe++){var Ie=J[xe],Le=Ie[0];if(xe===0&&q&&q.d){var De=E.getStartTangent();ee=O.c(De[0][0],De[0][1],De[1][0],De[1][1],q.d)}else xe===J.length-2&&J[xe+1][0]===\"Z\"&&re&&re.d?J[xe+1][0]===\"Z\"&&(De=E.getEndTangent(),ee=O.c(De[0][0],De[0][1],De[1][0],De[1][1],re.d)):xe===J.length-1&&re&&re.d&&J[0]!==\"Z\"&&(De=E.getEndTangent(),ee=O.c(De[0][0],De[0][1],De[1][0],De[1][1],re.d));var ce=ee.dx,ye=ee.dy;switch(Le){case\"M\":j.moveTo(Ie[1]-ce,Ie[2]-ye),Te=[Ie[1],Ie[2]];break;case\"L\":j.lineTo(Ie[1]-ce,Ie[2]-ye);break;case\"Q\":j.quadraticCurveTo(Ie[1],Ie[2],Ie[3]-ce,Ie[4]-ye);break;case\"C\":j.bezierCurveTo(Ie[1],Ie[2],Ie[3],Ie[4],Ie[5]-ce,Ie[6]-ye);break;case\"A\":var Oe=void 0;A?(Oe=A[xe])||(Oe=Object(C.a)(me,Ie),A[xe]=Oe):Oe=Object(C.a)(me,Ie);var Ce=Oe.cx,oe=Oe.cy,he=Oe.rx,ie=Oe.ry,ae=Oe.startAngle,ve=Oe.endAngle,X=Oe.xRotation,se=Oe.sweepFlag;if(j.ellipse)j.ellipse(Ce,oe,he,ie,X,ae,ve,1-se);else{var fe=he>ie?he:ie,_e=he>ie?1:he/ie,be=he>ie?ie/he:1;j.translate(Ce,oe),j.rotate(X),j.scale(_e,be),j.arc(0,0,fe,ae,ve,1-se),j.scale(1/_e,1/be),j.rotate(-X),j.translate(-Ce,-oe)}break;case\"Z\":j.closePath()}if(Le===\"Z\")me=Te;else{var We=Ie.length;me=[Ie[We-2],Ie[We-1]]}}}}function m(E,j){var L=E.get(\"canvas\");L&&(j===\"remove\"&&(E._cacheCanvasBBox=E.get(\"cacheCanvasBBox\")),E.get(\"hasChanged\")||(E.set(\"hasChanged\",!0),E.cfg.parent&&E.cfg.parent.get(\"hasChanged\")||(L.refreshElement(E,j,L),L.get(\"autoDraw\")&&L.draw())))}function x(E){if(!E.length)return null;var j=[],L=[],A=[],J=[];return Object(y.each)(E,function(q){var re=function(me){var Te;if(me.destroyed)Te=me._cacheCanvasBBox;else{var ee=me.get(\"cacheCanvasBBox\"),xe=ee&&!(!ee.width||!ee.height),Ie=me.getCanvasBBox(),Le=Ie&&!(!Ie.width||!Ie.height);xe&&Le?Te=Object(w.l)(ee,Ie):xe?Te=ee:Le&&(Te=Ie)}return Te}(q);re&&(j.push(re.minX),L.push(re.minY),A.push(re.maxX),J.push(re.maxY))}),{minX:Object(y.min)(j),minY:Object(y.min)(L),maxX:Object(y.max)(A),maxY:Object(y.max)(J)}}function M(E,j){return E&&j&&Object(w.f)(E,j)?{minX:Math.max(E.minX,j.minX),minY:Math.max(E.minY,j.minY),maxX:Math.min(E.maxX,j.maxX),maxY:Math.min(E.maxY,j.maxY)}:null}},function(Ee,c,r){function y(C){return(y=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(w){return typeof w}:function(w){return w&&typeof Symbol==\"function\"&&w.constructor===Symbol&&w!==Symbol.prototype?\"symbol\":typeof w})(C)}var N=r(192)();Ee.exports=N;try{regeneratorRuntime=N}catch(C){(typeof globalThis==\"undefined\"?\"undefined\":y(globalThis))===\"object\"?globalThis.regeneratorRuntime=N:Function(\"r\",\"regeneratorRuntime = r\")(N)}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.Base=void 0;var y=function(){function N(){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 N.prototype.layout=function(C){return this.init(C),this.execute(!0)},N.prototype.init=function(C){this.nodes=C.nodes||[],this.edges=C.edges||[],this.combos=C.combos||[],this.comboEdges=C.comboEdges||[],this.hiddenNodes=C.hiddenNodes||[],this.hiddenEdges=C.hiddenEdges||[],this.hiddenCombos=C.hiddenCombos||[],this.vedges=C.vedges||[]},N.prototype.execute=function(C){},N.prototype.executeWithWorker=function(){},N.prototype.getDefaultCfg=function(){return{}},N.prototype.updateCfg=function(C){C&&Object.assign(this,C)},N.prototype.getType=function(){return\"base\"},N.prototype.destroy=function(){this.nodes=null,this.edges=null,this.combos=null,this.positions=null,this.destroyed=!0},N}();c.Base=y},function(Ee,c,r){\"use strict\";r.d(c,\"c\",function(){return f}),r.d(c,\"b\",function(){return h}),r.d(c,\"a\",function(){return l});var y=r(1),N=r(29);function C(s){return(C=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(m){return typeof m}:function(m){return m&&typeof Symbol==\"function\"&&m.constructor===Symbol&&m!==Symbol.prototype?\"symbol\":typeof m})(s)}var w=Math.sin,O=Math.cos,b=Math.atan2,p=Math.PI;function u(s,m,x,M,E,j,L){var A=m.stroke,J=m.lineWidth,q=b(M-j,x-E),re=new N.Path({type:\"path\",canvas:s.get(\"canvas\"),isArrowShape:!0,attrs:{path:\"M\"+10*O(p/6)+\",\"+10*w(p/6)+\" L0,0 L\"+10*O(p/6)+\",-\"+10*w(p/6),stroke:A,lineWidth:J}});re.translate(E,j),re.rotateAtPoint(E,j,q),s.set(L?\"startArrowShape\":\"endArrowShape\",re)}function a(s,m,x,M,E,j,L){var A=m.startArrow,J=m.endArrow,q=m.stroke,re=m.lineWidth,me=L?A:J,Te=me.d,ee=me.fill,xe=me.stroke,Ie=me.lineWidth,Le=Object(y.__rest)(me,[\"d\",\"fill\",\"stroke\",\"lineWidth\"]),De=b(M-j,x-E);Te&&(E-=O(De)*Te,j-=w(De)*Te);var ce=new N.Path({type:\"path\",canvas:s.get(\"canvas\"),isArrowShape:!0,attrs:Object(y.__assign)(Object(y.__assign)({},Le),{stroke:xe||q,lineWidth:Ie||re,fill:ee})});ce.translate(E,j),ce.rotateAtPoint(E,j,De),s.set(L?\"startArrowShape\":\"endArrowShape\",ce)}function f(s,m,x,M,E){var j=b(M-m,x-s);return{dx:O(j)*E,dy:w(j)*E}}function h(s,m,x,M,E,j){C(m.startArrow)===\"object\"?a(s,m,x,M,E,j,!0):m.startArrow?u(s,m,x,M,E,j,!0):s.set(\"startArrowShape\",null)}function l(s,m,x,M,E,j){C(m.endArrow)===\"object\"?a(s,m,x,M,E,j,!1):m.endArrow?u(s,m,x,M,E,j,!1):s.set(\"startArrowShape\",null)}},function(Ee,c,r){\"use strict\";r.d(c,\"b\",function(){return N}),r.d(c,\"c\",function(){return C}),r.d(c,\"a\",function(){return w});var y=r(11);function N(O,b){var p=O.cfg.el,u=O.attr(),a={dx:u.shadowOffsetX,dy:u.shadowOffsetY,blur:u.shadowBlur,color:u.shadowColor};if(a.dx||a.dy||a.blur||a.color){var f=b.find(\"filter\",a);f||(f=b.addShadow(a)),p.setAttribute(\"filter\",\"url(#\"+f+\")\")}else p.removeAttribute(\"filter\")}function C(O){var b=O.attr().matrix;if(b){for(var p=O.cfg.el,u=[],a=0;a<9;a+=3)u.push(b[a]+\",\"+b[a+1]);(u=u.join(\",\")).indexOf(\"NaN\")===-1?p.setAttribute(\"transform\",\"matrix(\"+u+\")\"):console.warn(\"invalid matrix:\",b)}}function w(O,b){var p=O.getClip(),u=O.get(\"el\");if(p){if(p&&!u.hasAttribute(\"clip-path\")){Object(y.a)(p),p.createPath(b);var a=b.addClip(p);u.setAttribute(\"clip-path\",\"url(#\"+a+\")\")}}else u.removeAttribute(\"clip-path\")}},function(Ee,c,r){\"use strict\";r.d(c,\"a\",function(){return b}),r.d(c,\"b\",function(){return f}),r.d(c,\"c\",function(){return s}),r.d(c,\"d\",function(){return A});var y=r(0),N=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,C=/[^\\s\\,]+/gi,w=function(J){var q=J||[];return Object(y.isArray)(q)?q:Object(y.isString)(q)?(q=q.match(N),Object(y.each)(q,function(re,me){if((re=re.match(C))[0].length>1){var Te=re[0].charAt(0);re.splice(1,0,re[0].substr(1)),re[0]=Te}Object(y.each)(re,function(ee,xe){isNaN(ee)||(re[xe]=+ee)}),q[me]=re}),q):void 0},O=r(12),b=function(J,q,re){q===void 0&&(q=!1),re===void 0&&(re=[[0,0],[1,1]]);for(var me=!!q,Te=[],ee=0,xe=J.length;ee<xe;ee+=2)Te.push([J[ee],J[ee+1]]);var Ie,Le,De,ce=function(Ce,oe,he,ie){var ae,ve,X,se,fe,_e,be,We=[],we=!!ie;if(we){X=ie[0],se=ie[1];for(var Ze=0,Ve=Ce.length;Ze<Ve;Ze+=1){var et=Ce[Ze];X=O.vec2.min([0,0],X,et),se=O.vec2.max([0,0],se,et)}}Ze=0;for(var ht=Ce.length;Ze<ht;Ze+=1)if(et=Ce[Ze],Ze!==0||he)if(Ze!==ht-1||he){ae=Ce[[Ze?Ze-1:ht-1,Ze-1][he?0:1]],ve=Ce[he?(Ze+1)%ht:Ze+1];var Fe=[0,0];Fe=O.vec2.sub(Fe,ve,ae),Fe=O.vec2.scale(Fe,Fe,oe);var mt=O.vec2.distance(et,ae),dt=O.vec2.distance(et,ve),Lt=mt+dt;Lt!==0&&(mt/=Lt,dt/=Lt);var lt=O.vec2.scale([0,0],Fe,-mt),rn=O.vec2.scale([0,0],Fe,dt);_e=O.vec2.add([0,0],et,lt),fe=O.vec2.add([0,0],et,rn),fe=O.vec2.min([0,0],fe,O.vec2.max([0,0],ve,et)),fe=O.vec2.max([0,0],fe,O.vec2.min([0,0],ve,et)),lt=O.vec2.sub([0,0],fe,et),lt=O.vec2.scale([0,0],lt,-mt/dt),_e=O.vec2.add([0,0],et,lt),_e=O.vec2.min([0,0],_e,O.vec2.max([0,0],ae,et)),_e=O.vec2.max([0,0],_e,O.vec2.min([0,0],ae,et)),rn=O.vec2.sub([0,0],et,_e),rn=O.vec2.scale([0,0],rn,dt/mt),fe=O.vec2.add([0,0],et,rn),we&&(_e=O.vec2.max([0,0],_e,X),_e=O.vec2.min([0,0],_e,se),fe=O.vec2.max([0,0],fe,X),fe=O.vec2.min([0,0],fe,se)),We.push(be),We.push(_e),be=fe}else _e=et,We.push(be),We.push(_e);else be=et;return he&&We.push(We.shift()),We}(Te,.4,me,re),ye=Te.length,Oe=[];for(ee=0;ee<ye-1;ee+=1)Ie=ce[2*ee],Le=ce[2*ee+1],De=Te[ee+1],Oe.push([\"C\",Ie[0],Ie[1],Le[0],Le[1],De[0],De[1]]);return me&&(Ie=ce[ye],Le=ce[ye+1],De=Te[0],Oe.push([\"C\",Ie[0],Ie[1],Le[0],Le[1],De[0],De[1]])),Oe},p=`\t\n\\v\\f\\r \\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029`,u=new RegExp(\"([a-z])[\"+p+\",]*((-?\\\\d*\\\\.?\\\\d*(?:e[\\\\-+]?\\\\d+)?[\"+p+\"]*,?[\"+p+\"]*)+)\",\"ig\"),a=new RegExp(\"(-?\\\\d*\\\\.?\\\\d*(?:e[\\\\-+]?\\\\d+)?)[\"+p+\"]*,?[\"+p+\"]*\",\"ig\");function f(J){if(!J)return null;if(Object(y.isArray)(J))return J;var q={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},re=[];return String(J).replace(u,function(me,Te,ee){var xe=[],Ie=Te.toLowerCase();if(ee.replace(a,function(Le,De){De&&xe.push(+De)}),Ie===\"m\"&&xe.length>2&&(re.push([Te].concat(xe.splice(0,2))),Ie=\"l\",Te=Te===\"m\"?\"l\":\"L\"),Ie===\"o\"&&xe.length===1&&re.push([Te,xe[0]]),Ie===\"r\")re.push([Te].concat(xe));else for(;xe.length>=q[Ie]&&(re.push([Te].concat(xe.splice(0,q[Ie]))),q[Ie]););return\"\"}),re}var h=/[a-z]/;function l(J,q){return[q[0]+(q[0]-J[0]),q[1]+(q[1]-J[1])]}function s(J){var q=f(J);if(!q||!q.length)return[[\"M\",0,0]];for(var re=!1,me=0;me<q.length;me++){var Te=q[me][0];if(h.test(Te)||[\"V\",\"H\",\"T\",\"S\"].indexOf(Te)>=0){re=!0;break}}if(!re)return q;var ee=[],xe=0,Ie=0,Le=0,De=0,ce=0,ye=q[0];ye[0]!==\"M\"&&ye[0]!==\"m\"||(Le=xe=+ye[1],De=Ie=+ye[2],ce++,ee[0]=[\"M\",xe,Ie]),me=ce;for(var Oe=q.length;me<Oe;me++){var Ce=q[me],oe=ee[me-1],he=[],ie=(Te=Ce[0]).toUpperCase();if(Te!==ie)switch(he[0]=ie,ie){case\"A\":he[1]=Ce[1],he[2]=Ce[2],he[3]=Ce[3],he[4]=Ce[4],he[5]=Ce[5],he[6]=+Ce[6]+xe,he[7]=+Ce[7]+Ie;break;case\"V\":he[1]=+Ce[1]+Ie;break;case\"H\":he[1]=+Ce[1]+xe;break;case\"M\":Le=+Ce[1]+xe,De=+Ce[2]+Ie,he[1]=Le,he[2]=De;break;default:for(var ae=1,ve=Ce.length;ae<ve;ae++)he[ae]=+Ce[ae]+(ae%2?xe:Ie)}else he=q[me];switch(ie){case\"Z\":xe=+Le,Ie=+De;break;case\"H\":he=[\"L\",xe=he[1],Ie];break;case\"V\":he=[\"L\",xe,Ie=he[1]];break;case\"T\":xe=he[1],Ie=he[2];var X=l([oe[1],oe[2]],[oe[3],oe[4]]);he=[\"Q\",X[0],X[1],xe,Ie];break;case\"S\":xe=he[he.length-2],Ie=he[he.length-1];var se=oe.length,fe=l([oe[se-4],oe[se-3]],[oe[se-2],oe[se-1]]);he=[\"C\",fe[0],fe[1],he[1],he[2],xe,Ie];break;case\"M\":Le=he[he.length-2],De=he[he.length-1];break;default:xe=he[he.length-2],Ie=he[he.length-1]}ee.push(he)}return ee}function m(J){return Math.sqrt(J[0]*J[0]+J[1]*J[1])}function x(J,q){return m(J)*m(q)?(J[0]*q[0]+J[1]*q[1])/(m(J)*m(q)):1}function M(J,q){return(J[0]*q[1]<J[1]*q[0]?-1:1)*Math.acos(x(J,q))}function E(J,q){return J[0]===q[0]&&J[1]===q[1]}function j(J,q){var re=q[1],me=q[2],Te=Object(y.mod)(Object(y.toRadian)(q[3]),2*Math.PI),ee=q[4],xe=q[5],Ie=J[0],Le=J[1],De=q[6],ce=q[7],ye=Math.cos(Te)*(Ie-De)/2+Math.sin(Te)*(Le-ce)/2,Oe=-1*Math.sin(Te)*(Ie-De)/2+Math.cos(Te)*(Le-ce)/2,Ce=ye*ye/(re*re)+Oe*Oe/(me*me);Ce>1&&(re*=Math.sqrt(Ce),me*=Math.sqrt(Ce));var oe=re*re*(Oe*Oe)+me*me*(ye*ye),he=oe?Math.sqrt((re*re*(me*me)-oe)/oe):1;ee===xe&&(he*=-1),isNaN(he)&&(he=0);var ie=me?he*re*Oe/me:0,ae=re?he*-me*ye/re:0,ve=(Ie+De)/2+Math.cos(Te)*ie-Math.sin(Te)*ae,X=(Le+ce)/2+Math.sin(Te)*ie+Math.cos(Te)*ae,se=[(ye-ie)/re,(Oe-ae)/me],fe=[(-1*ye-ie)/re,(-1*Oe-ae)/me],_e=M([1,0],se),be=M(se,fe);return x(se,fe)<=-1&&(be=Math.PI),x(se,fe)>=1&&(be=0),xe===0&&be>0&&(be-=2*Math.PI),xe===1&&be<0&&(be+=2*Math.PI),{cx:ve,cy:X,rx:E(J,[De,ce])?0:re,ry:E(J,[De,ce])?0:me,startAngle:_e,endAngle:_e+be,xRotation:Te,arcFlag:ee,sweepFlag:xe}}function L(J,q){return[q[0]+(q[0]-J[0]),q[1]+(q[1]-J[1])]}function A(J){for(var q=[],re=null,me=null,Te=null,ee=0,xe=(J=w(J)).length,Ie=0;Ie<xe;Ie++){var Le=J[Ie];me=J[Ie+1];var De=Le[0],ce={command:De,prePoint:re,params:Le,startTangent:null,endTangent:null};switch(De){case\"M\":Te=[Le[1],Le[2]],ee=Ie;break;case\"A\":var ye=j(re,Le);ce.arcParams=ye}if(De===\"Z\")re=Te,me=J[ee+1];else{var Oe=Le.length;re=[Le[Oe-2],Le[Oe-1]]}me&&me[0]===\"Z\"&&(me=J[ee],q[ee]&&(q[ee].prePoint=re)),ce.currentPoint=re,q[ee]&&E(re,q[ee].currentPoint)&&(q[ee].prePoint=ce.prePoint);var Ce=me?[me[me.length-2],me[me.length-1]]:null;ce.nextPoint=Ce;var oe=ce.prePoint;if([\"L\",\"H\",\"V\"].includes(De))ce.startTangent=[oe[0]-re[0],oe[1]-re[1]],ce.endTangent=[re[0]-oe[0],re[1]-oe[1]];else if(De===\"Q\"){var he=[Le[1],Le[2]];ce.startTangent=[oe[0]-he[0],oe[1]-he[1]],ce.endTangent=[re[0]-he[0],re[1]-he[1]]}else if(De===\"T\")he=L((ve=q[Ie-1]).currentPoint,oe),ve.command===\"Q\"?(ce.command=\"Q\",ce.startTangent=[oe[0]-he[0],oe[1]-he[1]],ce.endTangent=[re[0]-he[0],re[1]-he[1]]):(ce.command=\"TL\",ce.startTangent=[oe[0]-re[0],oe[1]-re[1]],ce.endTangent=[re[0]-oe[0],re[1]-oe[1]]);else if(De===\"C\"){var ie=[Le[1],Le[2]],ae=[Le[3],Le[4]];ce.startTangent=[oe[0]-ie[0],oe[1]-ie[1]],ce.endTangent=[re[0]-ae[0],re[1]-ae[1]],ce.startTangent[0]===0&&ce.startTangent[1]===0&&(ce.startTangent=[ie[0]-ae[0],ie[1]-ae[1]]),ce.endTangent[0]===0&&ce.endTangent[1]===0&&(ce.endTangent=[ae[0]-ie[0],ae[1]-ie[1]])}else if(De===\"S\"){var ve;ie=L((ve=q[Ie-1]).currentPoint,oe),ae=[Le[1],Le[2]],ve.command===\"C\"?(ce.command=\"C\",ce.startTangent=[oe[0]-ie[0],oe[1]-ie[1]],ce.endTangent=[re[0]-ae[0],re[1]-ae[1]]):(ce.command=\"SQ\",ce.startTangent=[oe[0]-ae[0],oe[1]-ae[1]],ce.endTangent=[re[0]-ae[0],re[1]-ae[1]])}else if(De===\"A\"){var X=.001,se=ce.arcParams||{},fe=se.cx,_e=fe===void 0?0:fe,be=se.cy,We=be===void 0?0:be,we=se.rx,Ze=we===void 0?0:we,Ve=se.ry,et=Ve===void 0?0:Ve,ht=se.sweepFlag,Fe=ht===void 0?0:ht,mt=se.startAngle,dt=mt===void 0?0:mt,Lt=se.endAngle,lt=Lt===void 0?0:Lt;Fe===0&&(X*=-1);var rn=Ze*Math.cos(dt-X)+_e,qt=et*Math.sin(dt-X)+We;ce.startTangent=[rn-Te[0],qt-Te[1]];var hn=Ze*Math.cos(dt+lt+X)+_e,Kt=et*Math.sin(dt+lt-X)+We;ce.endTangent=[oe[0]-hn,oe[1]-Kt]}q.push(ce)}return q}},function(Ee,c,r){\"use strict\";function y(w,O){var b=[],p=w[0],u=w[1],a=w[2],f=w[3],h=w[4],l=w[5],s=w[6],m=w[7],x=w[8],M=O[0],E=O[1],j=O[2],L=O[3],A=O[4],J=O[5],q=O[6],re=O[7],me=O[8];return b[0]=M*p+E*f+j*s,b[1]=M*u+E*h+j*m,b[2]=M*a+E*l+j*x,b[3]=L*p+A*f+J*s,b[4]=L*u+A*h+J*m,b[5]=L*a+A*l+J*x,b[6]=q*p+re*f+me*s,b[7]=q*u+re*h+me*m,b[8]=q*a+re*l+me*x,b}function N(w,O){var b=[],p=O[0],u=O[1];return b[0]=w[0]*p+w[3]*u+w[6],b[1]=w[1]*p+w[4]*u+w[7],b}function C(w){var O=[],b=w[0],p=w[1],u=w[2],a=w[3],f=w[4],h=w[5],l=w[6],s=w[7],m=w[8],x=m*f-h*s,M=-m*a+h*l,E=s*a-f*l,j=b*x+p*M+u*E;return j?(j=1/j,O[0]=x*j,O[1]=(-m*p+u*s)*j,O[2]=(h*p-u*f)*j,O[3]=M*j,O[4]=(m*b-u*l)*j,O[5]=(-h*b+u*a)*j,O[6]=E*j,O[7]=(-s*b+p*l)*j,O[8]=(f*b-p*a)*j,O):null}r.d(c,\"b\",function(){return y}),r.d(c,\"c\",function(){return N}),r.d(c,\"a\",function(){return C})},function(Ee,c,r){\"use strict\";r(29),r(10);var y=r(113);r.d(c,\"Canvas\",function(){return y.a}),r(36),r(43)},function(Ee,c,r){\"use strict\";r.r(c),r.d(c,\"create\",function(){return N}),r.d(c,\"clone\",function(){return C}),r.d(c,\"length\",function(){return w}),r.d(c,\"fromValues\",function(){return O}),r.d(c,\"copy\",function(){return b}),r.d(c,\"set\",function(){return p}),r.d(c,\"add\",function(){return u}),r.d(c,\"subtract\",function(){return a}),r.d(c,\"multiply\",function(){return f}),r.d(c,\"divide\",function(){return h}),r.d(c,\"ceil\",function(){return l}),r.d(c,\"floor\",function(){return s}),r.d(c,\"min\",function(){return m}),r.d(c,\"max\",function(){return x}),r.d(c,\"round\",function(){return M}),r.d(c,\"scale\",function(){return E}),r.d(c,\"scaleAndAdd\",function(){return j}),r.d(c,\"distance\",function(){return L}),r.d(c,\"squaredDistance\",function(){return A}),r.d(c,\"squaredLength\",function(){return J}),r.d(c,\"negate\",function(){return q}),r.d(c,\"inverse\",function(){return re}),r.d(c,\"normalize\",function(){return me}),r.d(c,\"dot\",function(){return Te}),r.d(c,\"cross\",function(){return ee}),r.d(c,\"lerp\",function(){return xe}),r.d(c,\"hermite\",function(){return Ie}),r.d(c,\"bezier\",function(){return Le}),r.d(c,\"random\",function(){return De}),r.d(c,\"transformMat4\",function(){return ce}),r.d(c,\"transformMat3\",function(){return ye}),r.d(c,\"transformQuat\",function(){return Oe}),r.d(c,\"rotateX\",function(){return Ce}),r.d(c,\"rotateY\",function(){return oe}),r.d(c,\"rotateZ\",function(){return he}),r.d(c,\"angle\",function(){return ie}),r.d(c,\"zero\",function(){return ae}),r.d(c,\"str\",function(){return ve}),r.d(c,\"exactEquals\",function(){return X}),r.d(c,\"equals\",function(){return se}),r.d(c,\"sub\",function(){return _e}),r.d(c,\"mul\",function(){return be}),r.d(c,\"div\",function(){return We}),r.d(c,\"dist\",function(){return we}),r.d(c,\"sqrDist\",function(){return Ze}),r.d(c,\"len\",function(){return Ve}),r.d(c,\"sqrLen\",function(){return et}),r.d(c,\"forEach\",function(){return ht});var y=r(2);function N(){var Fe=new y.ARRAY_TYPE(3);return y.ARRAY_TYPE!=Float32Array&&(Fe[0]=0,Fe[1]=0,Fe[2]=0),Fe}function C(Fe){var mt=new y.ARRAY_TYPE(3);return mt[0]=Fe[0],mt[1]=Fe[1],mt[2]=Fe[2],mt}function w(Fe){var mt=Fe[0],dt=Fe[1],Lt=Fe[2];return Math.hypot(mt,dt,Lt)}function O(Fe,mt,dt){var Lt=new y.ARRAY_TYPE(3);return Lt[0]=Fe,Lt[1]=mt,Lt[2]=dt,Lt}function b(Fe,mt){return Fe[0]=mt[0],Fe[1]=mt[1],Fe[2]=mt[2],Fe}function p(Fe,mt,dt,Lt){return Fe[0]=mt,Fe[1]=dt,Fe[2]=Lt,Fe}function u(Fe,mt,dt){return Fe[0]=mt[0]+dt[0],Fe[1]=mt[1]+dt[1],Fe[2]=mt[2]+dt[2],Fe}function a(Fe,mt,dt){return Fe[0]=mt[0]-dt[0],Fe[1]=mt[1]-dt[1],Fe[2]=mt[2]-dt[2],Fe}function f(Fe,mt,dt){return Fe[0]=mt[0]*dt[0],Fe[1]=mt[1]*dt[1],Fe[2]=mt[2]*dt[2],Fe}function h(Fe,mt,dt){return Fe[0]=mt[0]/dt[0],Fe[1]=mt[1]/dt[1],Fe[2]=mt[2]/dt[2],Fe}function l(Fe,mt){return Fe[0]=Math.ceil(mt[0]),Fe[1]=Math.ceil(mt[1]),Fe[2]=Math.ceil(mt[2]),Fe}function s(Fe,mt){return Fe[0]=Math.floor(mt[0]),Fe[1]=Math.floor(mt[1]),Fe[2]=Math.floor(mt[2]),Fe}function m(Fe,mt,dt){return Fe[0]=Math.min(mt[0],dt[0]),Fe[1]=Math.min(mt[1],dt[1]),Fe[2]=Math.min(mt[2],dt[2]),Fe}function x(Fe,mt,dt){return Fe[0]=Math.max(mt[0],dt[0]),Fe[1]=Math.max(mt[1],dt[1]),Fe[2]=Math.max(mt[2],dt[2]),Fe}function M(Fe,mt){return Fe[0]=Math.round(mt[0]),Fe[1]=Math.round(mt[1]),Fe[2]=Math.round(mt[2]),Fe}function E(Fe,mt,dt){return Fe[0]=mt[0]*dt,Fe[1]=mt[1]*dt,Fe[2]=mt[2]*dt,Fe}function j(Fe,mt,dt,Lt){return Fe[0]=mt[0]+dt[0]*Lt,Fe[1]=mt[1]+dt[1]*Lt,Fe[2]=mt[2]+dt[2]*Lt,Fe}function L(Fe,mt){var dt=mt[0]-Fe[0],Lt=mt[1]-Fe[1],lt=mt[2]-Fe[2];return Math.hypot(dt,Lt,lt)}function A(Fe,mt){var dt=mt[0]-Fe[0],Lt=mt[1]-Fe[1],lt=mt[2]-Fe[2];return dt*dt+Lt*Lt+lt*lt}function J(Fe){var mt=Fe[0],dt=Fe[1],Lt=Fe[2];return mt*mt+dt*dt+Lt*Lt}function q(Fe,mt){return Fe[0]=-mt[0],Fe[1]=-mt[1],Fe[2]=-mt[2],Fe}function re(Fe,mt){return Fe[0]=1/mt[0],Fe[1]=1/mt[1],Fe[2]=1/mt[2],Fe}function me(Fe,mt){var dt=mt[0],Lt=mt[1],lt=mt[2],rn=dt*dt+Lt*Lt+lt*lt;return rn>0&&(rn=1/Math.sqrt(rn)),Fe[0]=mt[0]*rn,Fe[1]=mt[1]*rn,Fe[2]=mt[2]*rn,Fe}function Te(Fe,mt){return Fe[0]*mt[0]+Fe[1]*mt[1]+Fe[2]*mt[2]}function ee(Fe,mt,dt){var Lt=mt[0],lt=mt[1],rn=mt[2],qt=dt[0],hn=dt[1],Kt=dt[2];return Fe[0]=lt*Kt-rn*hn,Fe[1]=rn*qt-Lt*Kt,Fe[2]=Lt*hn-lt*qt,Fe}function xe(Fe,mt,dt,Lt){var lt=mt[0],rn=mt[1],qt=mt[2];return Fe[0]=lt+Lt*(dt[0]-lt),Fe[1]=rn+Lt*(dt[1]-rn),Fe[2]=qt+Lt*(dt[2]-qt),Fe}function Ie(Fe,mt,dt,Lt,lt,rn){var qt=rn*rn,hn=qt*(2*rn-3)+1,Kt=qt*(rn-2)+rn,an=qt*(rn-1),In=qt*(3-2*rn);return Fe[0]=mt[0]*hn+dt[0]*Kt+Lt[0]*an+lt[0]*In,Fe[1]=mt[1]*hn+dt[1]*Kt+Lt[1]*an+lt[1]*In,Fe[2]=mt[2]*hn+dt[2]*Kt+Lt[2]*an+lt[2]*In,Fe}function Le(Fe,mt,dt,Lt,lt,rn){var qt=1-rn,hn=qt*qt,Kt=rn*rn,an=hn*qt,In=3*rn*hn,Ft=3*Kt*qt,kt=Kt*rn;return Fe[0]=mt[0]*an+dt[0]*In+Lt[0]*Ft+lt[0]*kt,Fe[1]=mt[1]*an+dt[1]*In+Lt[1]*Ft+lt[1]*kt,Fe[2]=mt[2]*an+dt[2]*In+Lt[2]*Ft+lt[2]*kt,Fe}function De(Fe,mt){mt=mt||1;var dt=2*y.RANDOM()*Math.PI,Lt=2*y.RANDOM()-1,lt=Math.sqrt(1-Lt*Lt)*mt;return Fe[0]=Math.cos(dt)*lt,Fe[1]=Math.sin(dt)*lt,Fe[2]=Lt*mt,Fe}function ce(Fe,mt,dt){var Lt=mt[0],lt=mt[1],rn=mt[2],qt=dt[3]*Lt+dt[7]*lt+dt[11]*rn+dt[15];return qt=qt||1,Fe[0]=(dt[0]*Lt+dt[4]*lt+dt[8]*rn+dt[12])/qt,Fe[1]=(dt[1]*Lt+dt[5]*lt+dt[9]*rn+dt[13])/qt,Fe[2]=(dt[2]*Lt+dt[6]*lt+dt[10]*rn+dt[14])/qt,Fe}function ye(Fe,mt,dt){var Lt=mt[0],lt=mt[1],rn=mt[2];return Fe[0]=Lt*dt[0]+lt*dt[3]+rn*dt[6],Fe[1]=Lt*dt[1]+lt*dt[4]+rn*dt[7],Fe[2]=Lt*dt[2]+lt*dt[5]+rn*dt[8],Fe}function Oe(Fe,mt,dt){var Lt=dt[0],lt=dt[1],rn=dt[2],qt=dt[3],hn=mt[0],Kt=mt[1],an=mt[2],In=lt*an-rn*Kt,Ft=rn*hn-Lt*an,kt=Lt*Kt-lt*hn,At=lt*kt-rn*Ft,Fn=rn*In-Lt*kt,pn=Lt*Ft-lt*In,en=2*qt;return In*=en,Ft*=en,kt*=en,At*=2,Fn*=2,pn*=2,Fe[0]=hn+In+At,Fe[1]=Kt+Ft+Fn,Fe[2]=an+kt+pn,Fe}function Ce(Fe,mt,dt,Lt){var lt=[],rn=[];return lt[0]=mt[0]-dt[0],lt[1]=mt[1]-dt[1],lt[2]=mt[2]-dt[2],rn[0]=lt[0],rn[1]=lt[1]*Math.cos(Lt)-lt[2]*Math.sin(Lt),rn[2]=lt[1]*Math.sin(Lt)+lt[2]*Math.cos(Lt),Fe[0]=rn[0]+dt[0],Fe[1]=rn[1]+dt[1],Fe[2]=rn[2]+dt[2],Fe}function oe(Fe,mt,dt,Lt){var lt=[],rn=[];return lt[0]=mt[0]-dt[0],lt[1]=mt[1]-dt[1],lt[2]=mt[2]-dt[2],rn[0]=lt[2]*Math.sin(Lt)+lt[0]*Math.cos(Lt),rn[1]=lt[1],rn[2]=lt[2]*Math.cos(Lt)-lt[0]*Math.sin(Lt),Fe[0]=rn[0]+dt[0],Fe[1]=rn[1]+dt[1],Fe[2]=rn[2]+dt[2],Fe}function he(Fe,mt,dt,Lt){var lt=[],rn=[];return lt[0]=mt[0]-dt[0],lt[1]=mt[1]-dt[1],lt[2]=mt[2]-dt[2],rn[0]=lt[0]*Math.cos(Lt)-lt[1]*Math.sin(Lt),rn[1]=lt[0]*Math.sin(Lt)+lt[1]*Math.cos(Lt),rn[2]=lt[2],Fe[0]=rn[0]+dt[0],Fe[1]=rn[1]+dt[1],Fe[2]=rn[2]+dt[2],Fe}function ie(Fe,mt){var dt=Fe[0],Lt=Fe[1],lt=Fe[2],rn=mt[0],qt=mt[1],hn=mt[2],Kt=Math.sqrt(dt*dt+Lt*Lt+lt*lt)*Math.sqrt(rn*rn+qt*qt+hn*hn),an=Kt&&Te(Fe,mt)/Kt;return Math.acos(Math.min(Math.max(an,-1),1))}function ae(Fe){return Fe[0]=0,Fe[1]=0,Fe[2]=0,Fe}function ve(Fe){return\"vec3(\"+Fe[0]+\", \"+Fe[1]+\", \"+Fe[2]+\")\"}function X(Fe,mt){return Fe[0]===mt[0]&&Fe[1]===mt[1]&&Fe[2]===mt[2]}function se(Fe,mt){var dt=Fe[0],Lt=Fe[1],lt=Fe[2],rn=mt[0],qt=mt[1],hn=mt[2];return Math.abs(dt-rn)<=y.EPSILON*Math.max(1,Math.abs(dt),Math.abs(rn))&&Math.abs(Lt-qt)<=y.EPSILON*Math.max(1,Math.abs(Lt),Math.abs(qt))&&Math.abs(lt-hn)<=y.EPSILON*Math.max(1,Math.abs(lt),Math.abs(hn))}var fe,_e=a,be=f,We=h,we=L,Ze=A,Ve=w,et=J,ht=(fe=N(),function(Fe,mt,dt,Lt,lt,rn){var qt,hn;for(mt||(mt=3),dt||(dt=0),hn=Lt?Math.min(Lt*mt+dt,Fe.length):Fe.length,qt=dt;qt<hn;qt+=mt)fe[0]=Fe[qt],fe[1]=Fe[qt+1],fe[2]=Fe[qt+2],lt(fe,fe,rn),Fe[qt]=fe[0],Fe[qt+1]=fe[1],Fe[qt+2]=fe[2];return Fe})},function(Ee,c){function r(y,N,C,w,O,b,p){try{var u=y[b](p),a=u.value}catch(f){return void C(f)}u.done?N(a):Promise.resolve(a).then(w,O)}Ee.exports=function(y){return function(){var N=this,C=arguments;return new Promise(function(w,O){var b=y.apply(N,C);function p(a){r(b,w,O,p,u,\"next\",a)}function u(a){r(b,w,O,p,u,\"throw\",a)}p(void 0)})}},Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.minBy=c.notime=c.time=c.partition=c.maxRank=c.addBorderNode=c.removeEmptyRanks=c.normalizeRanks=c.buildLayerMatrix=c.intersectRect=c.predecessorWeights=c.successorWeights=c.zipObject=c.asNonCompoundGraph=c.simplify=c.addDummyNode=void 0;var y=r(15),N=r(35);c.addDummyNode=function(C,w,O,b){var p;do p=\"\".concat(b).concat(Math.random());while(C.hasNode(p));return O.dummy=w,C.setNode(p,O),p},c.simplify=function(C){var w=new N.Graph().setGraph(C.graph());return C.nodes().forEach(function(O){w.setNode(O,C.node(O))}),C.edges().forEach(function(O){var b=w.edgeFromArgs(O.v,O.w)||{weight:0,minlen:1},p=C.edge(O);w.setEdge(O.v,O.w,{weight:b.weight+p.weight,minlen:Math.max(b.minlen,p.minlen)})}),w},c.asNonCompoundGraph=function(C){var w=new N.Graph({multigraph:C.isMultigraph()}).setGraph(C.graph());return C.nodes().forEach(function(O){var b;!((b=C.children(O))===null||b===void 0)&&b.length||w.setNode(O,C.node(O))}),C.edges().forEach(function(O){w.setEdgeObj(O,C.edge(O))}),w},c.zipObject=function(C,w){return C==null?void 0:C.reduce(function(O,b,p){return O[b]=w[p],O},{})},c.successorWeights=function(C){var w={};return C.nodes().forEach(function(O){var b,p={};(b=C.outEdges(O))===null||b===void 0||b.forEach(function(u){var a;p[u.w]=(p[u.w]||0)+(((a=C.edge(u))===null||a===void 0?void 0:a.weight)||0)}),w[O]=p}),w},c.predecessorWeights=function(C){var w=C.nodes(),O=w.map(function(b){var p,u={};return(p=C.inEdges(b))===null||p===void 0||p.forEach(function(a){u[a.v]=(u[a.v]||0)+C.edge(a).weight}),u});return(0,c.zipObject)(w,O)},c.intersectRect=function(C,w){var O,b,p=Number(C.x),u=Number(C.y),a=Number(w.x)-p,f=Number(w.y)-u,h=Number(C.width)/2,l=Number(C.height)/2;return a||f?(Math.abs(f)*h>Math.abs(a)*l?(f<0&&(l=-l),O=l*a/f,b=l):(a<0&&(h=-h),O=h,b=h*f/a),{x:p+O,y:u+b}):{x:0,y:0}},c.buildLayerMatrix=function(C){for(var w=[],O=(0,c.maxRank)(C)+1,b=0;b<O;b++)w.push([]);for(C.nodes().forEach(function(p){var u=C.node(p);if(u){var a=u.rank;a!==void 0&&w[a]&&w[a].push(p)}}),b=0;b<O;b++)w[b]=w[b].sort(function(p,u){var a,f,h,l;return h=(a=C.node(p))===null||a===void 0?void 0:a.order,l=(f=C.node(u))===null||f===void 0?void 0:f.order,Number(h)-Number(l)});return w},c.normalizeRanks=function(C){var w=C.nodes().filter(function(b){var p;return((p=C.node(b))===null||p===void 0?void 0:p.rank)!==void 0}).map(function(b){return C.node(b).rank}),O=Math.min.apply(Math,w);C.nodes().forEach(function(b){var p=C.node(b);p.hasOwnProperty(\"rank\")&&O!==1/0&&(p.rank-=O)})},c.removeEmptyRanks=function(C){var w=C.nodes(),O=w.filter(function(l){var s;return((s=C.node(l))===null||s===void 0?void 0:s.rank)!==void 0}).map(function(l){return C.node(l).rank}),b=Math.min.apply(Math,O),p=[];w.forEach(function(l){var s,m=(((s=C.node(l))===null||s===void 0?void 0:s.rank)||0)-b;p[m]||(p[m]=[]),p[m].push(l)});for(var u=0,a=C.graph().nodeRankFactor||0,f=0;f<p.length;f++){var h=p[f];h===void 0?f%a!=0&&(u-=1):u&&(h==null||h.forEach(function(l){var s=C.node(l);s&&(s.rank=s.rank||0,s.rank+=u)}))}},c.addBorderNode=function(C,w,O,b){var p={width:0,height:0};return(0,y.isNumber)(O)&&(0,y.isNumber)(b)&&(p.rank=O,p.order=b),(0,c.addDummyNode)(C,\"border\",p,w)},c.maxRank=function(C){var w;return C.nodes().forEach(function(O){var b,p=(b=C.node(O))===null||b===void 0?void 0:b.rank;p!==void 0&&(w===void 0||p>w)&&(w=p)}),w||(w=0),w},c.partition=function(C,w){var O={lhs:[],rhs:[]};return C==null||C.forEach(function(b){w(b)?O.lhs.push(b):O.rhs.push(b)}),O},c.time=function(C,w){var O=Date.now();try{return w()}finally{console.log(\"\".concat(C,\" time: \").concat(Date.now()-O,\"ms\"))}},c.notime=function(C,w){return w()},c.minBy=function(C,w){return C.reduce(function(O,b){return w(O)>w(b)?b:O})}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.uniqueId=c.getOutEdgesNodeId=c.getNeighbors=c.getEdgesByNodeId=void 0,c.getNeighbors=function(y,N,C){N===void 0&&(N=[]);var w=N.filter(function(O){return O.source===y||O.target===y});return C===\"target\"?w.filter(function(O){return O.source===y}).map(function(O){return O.target}):C===\"source\"?w.filter(function(O){return O.target===y}).map(function(O){return O.source}):w.map(function(O){return O.source===y?O.target:O.source})},c.getOutEdgesNodeId=function(y,N){return N.filter(function(C){return C.source===y})},c.getEdgesByNodeId=function(y,N){return N.filter(function(C){return C.source===y||C.target===y})},c.uniqueId=function(y){y===void 0&&(y=0);var N=\"\".concat(Math.random()).split(\".\")[1].substr(0,5),C=\"\".concat(Math.random()).split(\".\")[1].substr(0,5);return\"\".concat(y,\"-\").concat(N).concat(C)}},function(Ee,c,r){\"use strict\";r.r(c),r.d(c,\"catmullRomToBezier\",function(){return b}),r.d(c,\"fillPath\",function(){return Ie}),r.d(c,\"fillPathByDiff\",function(){return ce}),r.d(c,\"formatPath\",function(){return Ce}),r.d(c,\"intersection\",function(){return Te}),r.d(c,\"parsePathArray\",function(){return m}),r.d(c,\"parsePathString\",function(){return O}),r.d(c,\"pathToAbsolute\",function(){return u}),r.d(c,\"pathToCurve\",function(){return l}),r.d(c,\"rectPath\",function(){return A});var y=r(0),N=`\t\n\\v\\f\\r \\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029`,C=new RegExp(\"([a-z])[\"+N+\",]*((-?\\\\d*\\\\.?\\\\d*(?:e[\\\\-+]?\\\\d+)?[\"+N+\"]*,?[\"+N+\"]*)+)\",\"ig\"),w=new RegExp(\"(-?\\\\d*\\\\.?\\\\d*(?:e[\\\\-+]?\\\\d+)?)[\"+N+\"]*,?[\"+N+\"]*\",\"ig\"),O=function(oe){if(!oe)return null;if(Object(y.isArray)(oe))return oe;var he={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},ie=[];return String(oe).replace(C,function(ae,ve,X){var se=[],fe=ve.toLowerCase();if(X.replace(w,function(_e,be){be&&se.push(+be)}),fe===\"m\"&&se.length>2&&(ie.push([ve].concat(se.splice(0,2))),fe=\"l\",ve=ve===\"m\"?\"l\":\"L\"),fe===\"o\"&&se.length===1&&ie.push([ve,se[0]]),fe===\"r\")ie.push([ve].concat(se));else for(;se.length>=he[fe]&&(ie.push([ve].concat(se.splice(0,he[fe]))),he[fe]););return oe}),ie},b=function(oe,he){for(var ie=[],ae=0,ve=oe.length;ve-2*!he>ae;ae+=2){var X=[{x:+oe[ae-2],y:+oe[ae-1]},{x:+oe[ae],y:+oe[ae+1]},{x:+oe[ae+2],y:+oe[ae+3]},{x:+oe[ae+4],y:+oe[ae+5]}];he?ae?ve-4===ae?X[3]={x:+oe[0],y:+oe[1]}:ve-2===ae&&(X[2]={x:+oe[0],y:+oe[1]},X[3]={x:+oe[2],y:+oe[3]}):X[0]={x:+oe[ve-2],y:+oe[ve-1]}:ve-4===ae?X[3]=X[2]:ae||(X[0]={x:+oe[ae],y:+oe[ae+1]}),ie.push([\"C\",(-X[0].x+6*X[1].x+X[2].x)/6,(-X[0].y+6*X[1].y+X[2].y)/6,(X[1].x+6*X[2].x-X[3].x)/6,(X[1].y+6*X[2].y-X[3].y)/6,X[2].x,X[2].y])}return ie},p=function(oe,he,ie,ae,ve){var X=[];if(ve===null&&ae===null&&(ae=ie),oe=+oe,he=+he,ie=+ie,ae=+ae,ve!==null){var se=Math.PI/180,fe=oe+ie*Math.cos(-ae*se),_e=oe+ie*Math.cos(-ve*se);X=[[\"M\",fe,he+ie*Math.sin(-ae*se)],[\"A\",ie,ie,0,+(ve-ae>180),0,_e,he+ie*Math.sin(-ve*se)]]}else X=[[\"M\",oe,he],[\"m\",0,-ae],[\"a\",ie,ae,0,1,1,0,2*ae],[\"a\",ie,ae,0,1,1,0,-2*ae],[\"z\"]];return X},u=function(oe){if(!(oe=O(oe))||!oe.length)return[[\"M\",0,0]];var he,ie,ae=[],ve=0,X=0,se=0,fe=0,_e=0;oe[0][0]===\"M\"&&(se=ve=+oe[0][1],fe=X=+oe[0][2],_e++,ae[0]=[\"M\",ve,X]);for(var be=oe.length===3&&oe[0][0]===\"M\"&&oe[1][0].toUpperCase()===\"R\"&&oe[2][0].toUpperCase()===\"Z\",We=void 0,we=void 0,Ze=_e,Ve=oe.length;Ze<Ve;Ze++){if(ae.push(We=[]),(he=(we=oe[Ze])[0])!==he.toUpperCase())switch(We[0]=he.toUpperCase(),We[0]){case\"A\":We[1]=we[1],We[2]=we[2],We[3]=we[3],We[4]=we[4],We[5]=we[5],We[6]=+we[6]+ve,We[7]=+we[7]+X;break;case\"V\":We[1]=+we[1]+X;break;case\"H\":We[1]=+we[1]+ve;break;case\"R\":for(var et=2,ht=(ie=[ve,X].concat(we.slice(1))).length;et<ht;et++)ie[et]=+ie[et]+ve,ie[++et]=+ie[et]+X;ae.pop(),ae=ae.concat(b(ie,be));break;case\"O\":ae.pop(),(ie=p(ve,X,we[1],we[2])).push(ie[0]),ae=ae.concat(ie);break;case\"U\":ae.pop(),ae=ae.concat(p(ve,X,we[1],we[2],we[3])),We=[\"U\"].concat(ae[ae.length-1].slice(-2));break;case\"M\":se=+we[1]+ve,fe=+we[2]+X;break;default:for(et=1,ht=we.length;et<ht;et++)We[et]=+we[et]+(et%2?ve:X)}else if(he===\"R\")ie=[ve,X].concat(we.slice(1)),ae.pop(),ae=ae.concat(b(ie,be)),We=[\"R\"].concat(we.slice(-2));else if(he===\"O\")ae.pop(),(ie=p(ve,X,we[1],we[2])).push(ie[0]),ae=ae.concat(ie);else if(he===\"U\")ae.pop(),ae=ae.concat(p(ve,X,we[1],we[2],we[3])),We=[\"U\"].concat(ae[ae.length-1].slice(-2));else for(var Fe=0,mt=we.length;Fe<mt;Fe++)We[Fe]=we[Fe];if((he=he.toUpperCase())!==\"O\")switch(We[0]){case\"Z\":ve=+se,X=+fe;break;case\"H\":ve=We[1];break;case\"V\":X=We[1];break;case\"M\":se=We[We.length-2],fe=We[We.length-1];break;default:ve=We[We.length-2],X=We[We.length-1]}}return ae},a=function(oe,he,ie,ae){return[oe,he,ie,ae,ie,ae]},f=function(oe,he,ie,ae,ve,X){return[1/3*oe+2/3*ie,1/3*he+2/3*ae,1/3*ve+2/3*ie,1/3*X+2/3*ae,ve,X]},h=function oe(he,ie,ae,ve,X,se,fe,_e,be,We){ae===ve&&(ae+=1);var we,Ze,Ve,et,ht,Fe=120*Math.PI/180,mt=Math.PI/180*(+X||0),dt=[],Lt=function(gn,Gt,bt){return{x:gn*Math.cos(bt)-Gt*Math.sin(bt),y:gn*Math.sin(bt)+Gt*Math.cos(bt)}};if(We)Ze=We[0],Ve=We[1],et=We[2],ht=We[3];else{he=(we=Lt(he,ie,-mt)).x,ie=we.y,_e=(we=Lt(_e,be,-mt)).x,be=we.y,he===_e&&ie===be&&(_e+=1,be+=1);var lt=(he-_e)/2,rn=(ie-be)/2,qt=lt*lt/(ae*ae)+rn*rn/(ve*ve);qt>1&&(ae*=qt=Math.sqrt(qt),ve*=qt);var hn=ae*ae,Kt=ve*ve,an=(se===fe?-1:1)*Math.sqrt(Math.abs((hn*Kt-hn*rn*rn-Kt*lt*lt)/(hn*rn*rn+Kt*lt*lt)));et=an*ae*rn/ve+(he+_e)/2,ht=an*-ve*lt/ae+(ie+be)/2,Ze=Math.asin(((ie-ht)/ve).toFixed(9)),Ve=Math.asin(((be-ht)/ve).toFixed(9)),Ze=he<et?Math.PI-Ze:Ze,Ve=_e<et?Math.PI-Ve:Ve,Ze<0&&(Ze=2*Math.PI+Ze),Ve<0&&(Ve=2*Math.PI+Ve),fe&&Ze>Ve&&(Ze-=2*Math.PI),!fe&&Ve>Ze&&(Ve-=2*Math.PI)}var In=Ve-Ze;if(Math.abs(In)>Fe){var Ft=Ve,kt=_e,At=be;Ve=Ze+Fe*(fe&&Ve>Ze?1:-1),dt=oe(_e=et+ae*Math.cos(Ve),be=ht+ve*Math.sin(Ve),ae,ve,X,0,fe,kt,At,[Ve,Ft,et,ht])}In=Ve-Ze;var Fn=Math.cos(Ze),pn=Math.sin(Ze),en=Math.cos(Ve),Wn=Math.sin(Ve),Mn=Math.tan(In/4),Kn=4/3*ae*Mn,hr=4/3*ve*Mn,pr=[he,ie],zr=[he+Kn*pn,ie-hr*Fn],Wr=[_e+Kn*Wn,be-hr*en],Nr=[_e,be];if(zr[0]=2*pr[0]-zr[0],zr[1]=2*pr[1]-zr[1],We)return[zr,Wr,Nr].concat(dt);for(var Kr=[],ko=0,Ur=(dt=[zr,Wr,Nr].concat(dt).join().split(\",\")).length;ko<Ur;ko++)Kr[ko]=ko%2?Lt(dt[ko-1],dt[ko],mt).y:Lt(dt[ko],dt[ko+1],mt).x;return Kr},l=function(oe,he){var ie,ae=u(oe),ve=he&&u(he),X={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},se={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},fe=[],_e=[],be=\"\",We=\"\",we=function(Lt,lt,rn){var qt,hn;if(!Lt)return[\"C\",lt.x,lt.y,lt.x,lt.y,lt.x,lt.y];switch(!(Lt[0]in{T:1,Q:1})&&(lt.qx=lt.qy=null),Lt[0]){case\"M\":lt.X=Lt[1],lt.Y=Lt[2];break;case\"A\":Lt=[\"C\"].concat(h.apply(0,[lt.x,lt.y].concat(Lt.slice(1))));break;case\"S\":rn===\"C\"||rn===\"S\"?(qt=2*lt.x-lt.bx,hn=2*lt.y-lt.by):(qt=lt.x,hn=lt.y),Lt=[\"C\",qt,hn].concat(Lt.slice(1));break;case\"T\":rn===\"Q\"||rn===\"T\"?(lt.qx=2*lt.x-lt.qx,lt.qy=2*lt.y-lt.qy):(lt.qx=lt.x,lt.qy=lt.y),Lt=[\"C\"].concat(f(lt.x,lt.y,lt.qx,lt.qy,Lt[1],Lt[2]));break;case\"Q\":lt.qx=Lt[1],lt.qy=Lt[2],Lt=[\"C\"].concat(f(lt.x,lt.y,Lt[1],Lt[2],Lt[3],Lt[4]));break;case\"L\":Lt=[\"C\"].concat(a(lt.x,lt.y,Lt[1],Lt[2]));break;case\"H\":Lt=[\"C\"].concat(a(lt.x,lt.y,Lt[1],lt.y));break;case\"V\":Lt=[\"C\"].concat(a(lt.x,lt.y,lt.x,Lt[1]));break;case\"Z\":Lt=[\"C\"].concat(a(lt.x,lt.y,lt.X,lt.Y))}return Lt},Ze=function(Lt,lt){if(Lt[lt].length>7){Lt[lt].shift();for(var rn=Lt[lt];rn.length;)fe[lt]=\"A\",ve&&(_e[lt]=\"A\"),Lt.splice(lt++,0,[\"C\"].concat(rn.splice(0,6)));Lt.splice(lt,1),ie=Math.max(ae.length,ve&&ve.length||0)}},Ve=function(Lt,lt,rn,qt,hn){Lt&&lt&&Lt[hn][0]===\"M\"&&lt[hn][0]!==\"M\"&&(lt.splice(hn,0,[\"M\",qt.x,qt.y]),rn.bx=0,rn.by=0,rn.x=Lt[hn][1],rn.y=Lt[hn][2],ie=Math.max(ae.length,ve&&ve.length||0))};ie=Math.max(ae.length,ve&&ve.length||0);for(var et=0;et<ie;et++){ae[et]&&(be=ae[et][0]),be!==\"C\"&&(fe[et]=be,et&&(We=fe[et-1])),ae[et]=we(ae[et],X,We),fe[et]!==\"A\"&&be===\"C\"&&(fe[et]=\"C\"),Ze(ae,et),ve&&(ve[et]&&(be=ve[et][0]),be!==\"C\"&&(_e[et]=be,et&&(We=_e[et-1])),ve[et]=we(ve[et],se,We),_e[et]!==\"A\"&&be===\"C\"&&(_e[et]=\"C\"),Ze(ve,et)),Ve(ae,ve,X,se,et),Ve(ve,ae,se,X,et);var ht=ae[et],Fe=ve&&ve[et],mt=ht.length,dt=ve&&Fe.length;X.x=ht[mt-2],X.y=ht[mt-1],X.bx=parseFloat(ht[mt-4])||X.x,X.by=parseFloat(ht[mt-3])||X.y,se.bx=ve&&(parseFloat(Fe[dt-4])||se.x),se.by=ve&&(parseFloat(Fe[dt-3])||se.y),se.x=ve&&Fe[dt-2],se.y=ve&&Fe[dt-1]}return ve?[ae,ve]:ae},s=/,?([a-z]),?/gi,m=function(oe){return oe.join(\",\").replace(s,\"$1\")},x=function(oe,he,ie,ae,ve){return oe*(oe*(-3*he+9*ie-9*ae+3*ve)+6*he-12*ie+6*ae)-3*he+3*ie},M=function(oe,he,ie,ae,ve,X,se,fe,_e){_e===null&&(_e=1);for(var be=(_e=_e>1?1:_e<0?0:_e)/2,We=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],we=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],Ze=0,Ve=0;Ve<12;Ve++){var et=be*We[Ve]+be,ht=x(et,oe,ie,ve,se),Fe=x(et,he,ae,X,fe),mt=ht*ht+Fe*Fe;Ze+=we[Ve]*Math.sqrt(mt)}return be*Ze},E=function(oe,he,ie,ae,ve,X,se,fe){for(var _e,be,We,we,Ze=[],Ve=[[],[]],et=0;et<2;++et)if(et===0?(be=6*oe-12*ie+6*ve,_e=-3*oe+9*ie-9*ve+3*se,We=3*ie-3*oe):(be=6*he-12*ae+6*X,_e=-3*he+9*ae-9*X+3*fe,We=3*ae-3*he),Math.abs(_e)<1e-12){if(Math.abs(be)<1e-12)continue;(we=-We/be)>0&&we<1&&Ze.push(we)}else{var ht=be*be-4*We*_e,Fe=Math.sqrt(ht);if(!(ht<0)){var mt=(-be+Fe)/(2*_e);mt>0&&mt<1&&Ze.push(mt);var dt=(-be-Fe)/(2*_e);dt>0&&dt<1&&Ze.push(dt)}}for(var Lt,lt=Ze.length,rn=lt;lt--;)Lt=1-(we=Ze[lt]),Ve[0][lt]=Lt*Lt*Lt*oe+3*Lt*Lt*we*ie+3*Lt*we*we*ve+we*we*we*se,Ve[1][lt]=Lt*Lt*Lt*he+3*Lt*Lt*we*ae+3*Lt*we*we*X+we*we*we*fe;return Ve[0][rn]=oe,Ve[1][rn]=he,Ve[0][rn+1]=se,Ve[1][rn+1]=fe,Ve[0].length=Ve[1].length=rn+2,{min:{x:Math.min.apply(0,Ve[0]),y:Math.min.apply(0,Ve[1])},max:{x:Math.max.apply(0,Ve[0]),y:Math.max.apply(0,Ve[1])}}},j=function(oe,he,ie,ae,ve,X,se,fe){if(!(Math.max(oe,ie)<Math.min(ve,se)||Math.min(oe,ie)>Math.max(ve,se)||Math.max(he,ae)<Math.min(X,fe)||Math.min(he,ae)>Math.max(X,fe))){var _e=(oe-ie)*(X-fe)-(he-ae)*(ve-se);if(_e){var be=((oe*ae-he*ie)*(ve-se)-(oe-ie)*(ve*fe-X*se))/_e,We=((oe*ae-he*ie)*(X-fe)-(he-ae)*(ve*fe-X*se))/_e,we=+be.toFixed(2),Ze=+We.toFixed(2);if(!(we<+Math.min(oe,ie).toFixed(2)||we>+Math.max(oe,ie).toFixed(2)||we<+Math.min(ve,se).toFixed(2)||we>+Math.max(ve,se).toFixed(2)||Ze<+Math.min(he,ae).toFixed(2)||Ze>+Math.max(he,ae).toFixed(2)||Ze<+Math.min(X,fe).toFixed(2)||Ze>+Math.max(X,fe).toFixed(2)))return{x:be,y:We}}}},L=function(oe,he,ie){return he>=oe.x&&he<=oe.x+oe.width&&ie>=oe.y&&ie<=oe.y+oe.height},A=function(oe,he,ie,ae,ve){if(ve)return[[\"M\",+oe+ +ve,he],[\"l\",ie-2*ve,0],[\"a\",ve,ve,0,0,1,ve,ve],[\"l\",0,ae-2*ve],[\"a\",ve,ve,0,0,1,-ve,ve],[\"l\",2*ve-ie,0],[\"a\",ve,ve,0,0,1,-ve,-ve],[\"l\",0,2*ve-ae],[\"a\",ve,ve,0,0,1,ve,-ve],[\"z\"]];var X=[[\"M\",oe,he],[\"l\",ie,0],[\"l\",0,ae],[\"l\",-ie,0],[\"z\"]];return X.parsePathArray=m,X},J=function(oe,he,ie,ae){return oe===null&&(oe=he=ie=ae=0),he===null&&(he=oe.y,ie=oe.width,ae=oe.height,oe=oe.x),{x:oe,y:he,width:ie,w:ie,height:ae,h:ae,x2:oe+ie,y2:he+ae,cx:oe+ie/2,cy:he+ae/2,r1:Math.min(ie,ae)/2,r2:Math.max(ie,ae)/2,r0:Math.sqrt(ie*ie+ae*ae)/2,path:A(oe,he,ie,ae),vb:[oe,he,ie,ae].join(\" \")}},q=function(oe,he,ie,ae,ve,X,se,fe){Object(y.isArray)(oe)||(oe=[oe,he,ie,ae,ve,X,se,fe]);var _e=E.apply(null,oe);return J(_e.min.x,_e.min.y,_e.max.x-_e.min.x,_e.max.y-_e.min.y)},re=function(oe,he,ie,ae,ve,X,se,fe,_e){var be=1-_e,We=Math.pow(be,3),we=Math.pow(be,2),Ze=_e*_e,Ve=Ze*_e,et=oe+2*_e*(ie-oe)+Ze*(ve-2*ie+oe),ht=he+2*_e*(ae-he)+Ze*(X-2*ae+he),Fe=ie+2*_e*(ve-ie)+Ze*(se-2*ve+ie),mt=ae+2*_e*(X-ae)+Ze*(fe-2*X+ae);return{x:We*oe+3*we*_e*ie+3*be*_e*_e*ve+Ve*se,y:We*he+3*we*_e*ae+3*be*_e*_e*X+Ve*fe,m:{x:et,y:ht},n:{x:Fe,y:mt},start:{x:be*oe+_e*ie,y:be*he+_e*ae},end:{x:be*ve+_e*se,y:be*X+_e*fe},alpha:90-180*Math.atan2(et-Fe,ht-mt)/Math.PI}},me=function(oe,he,ie){if(!function(rn,qt){return rn=J(rn),qt=J(qt),L(qt,rn.x,rn.y)||L(qt,rn.x2,rn.y)||L(qt,rn.x,rn.y2)||L(qt,rn.x2,rn.y2)||L(rn,qt.x,qt.y)||L(rn,qt.x2,qt.y)||L(rn,qt.x,qt.y2)||L(rn,qt.x2,qt.y2)||(rn.x<qt.x2&&rn.x>qt.x||qt.x<rn.x2&&qt.x>rn.x)&&(rn.y<qt.y2&&rn.y>qt.y||qt.y<rn.y2&&qt.y>rn.y)}(q(oe),q(he)))return ie?0:[];for(var ae=~~(M.apply(0,oe)/8),ve=~~(M.apply(0,he)/8),X=[],se=[],fe={},_e=ie?0:[],be=0;be<ae+1;be++){var We=re.apply(0,oe.concat(be/ae));X.push({x:We.x,y:We.y,t:be/ae})}for(be=0;be<ve+1;be++)We=re.apply(0,he.concat(be/ve)),se.push({x:We.x,y:We.y,t:be/ve});for(be=0;be<ae;be++)for(var we=0;we<ve;we++){var Ze=X[be],Ve=X[be+1],et=se[we],ht=se[we+1],Fe=Math.abs(Ve.x-Ze.x)<.001?\"y\":\"x\",mt=Math.abs(ht.x-et.x)<.001?\"y\":\"x\",dt=j(Ze.x,Ze.y,Ve.x,Ve.y,et.x,et.y,ht.x,ht.y);if(dt){if(fe[dt.x.toFixed(4)]===dt.y.toFixed(4))continue;fe[dt.x.toFixed(4)]=dt.y.toFixed(4);var Lt=Ze.t+Math.abs((dt[Fe]-Ze[Fe])/(Ve[Fe]-Ze[Fe]))*(Ve.t-Ze.t),lt=et.t+Math.abs((dt[mt]-et[mt])/(ht[mt]-et[mt]))*(ht.t-et.t);Lt>=0&&Lt<=1&&lt>=0&&lt<=1&&(ie?_e+=1:_e.push({x:dt.x,y:dt.y,t1:Lt,t2:lt}))}}return _e},Te=function(oe,he){return function(ie,ae,ve){var X,se,fe,_e,be,We,we,Ze,Ve,et;ie=l(ie),ae=l(ae);for(var ht=ve?0:[],Fe=0,mt=ie.length;Fe<mt;Fe++){var dt=ie[Fe];if(dt[0]===\"M\")X=be=dt[1],se=We=dt[2];else{dt[0]===\"C\"?(Ve=[X,se].concat(dt.slice(1)),X=Ve[6],se=Ve[7]):(Ve=[X,se,X,se,be,We,be,We],X=be,se=We);for(var Lt=0,lt=ae.length;Lt<lt;Lt++){var rn=ae[Lt];if(rn[0]===\"M\")fe=we=rn[1],_e=Ze=rn[2];else{rn[0]===\"C\"?(et=[fe,_e].concat(rn.slice(1)),fe=et[6],_e=et[7]):(et=[fe,_e,fe,_e,we,Ze,we,Ze],fe=we,_e=Ze);var qt=me(Ve,et,ve);if(ve)ht+=qt;else{for(var hn=0,Kt=qt.length;hn<Kt;hn++)qt[hn].segment1=Fe,qt[hn].segment2=Lt,qt[hn].bez1=Ve,qt[hn].bez2=et;ht=ht.concat(qt)}}}}}return ht}(oe,he)};function ee(oe,he){var ie=[],ae=[];return oe.length&&function ve(X,se){if(X.length===1)ie.push(X[0]),ae.push(X[0]);else{for(var fe=[],_e=0;_e<X.length-1;_e++)_e===0&&ie.push(X[0]),_e===X.length-2&&ae.push(X[_e+1]),fe[_e]=[(1-se)*X[_e][0]+se*X[_e+1][0],(1-se)*X[_e][1]+se*X[_e+1][1]];ve(fe,se)}}(oe,he),{left:ie,right:ae.reverse()}}var xe=function(oe,he,ie){if(ie===1)return[[].concat(oe)];var ae=[];if(he[0]===\"L\"||he[0]===\"C\"||he[0]===\"Q\")ae=ae.concat(function(se,fe,_e){var be=[[se[1],se[2]]];_e=_e||2;var We=[];fe[0]===\"A\"?(be.push(fe[6]),be.push(fe[7])):fe[0]===\"C\"?(be.push([fe[1],fe[2]]),be.push([fe[3],fe[4]]),be.push([fe[5],fe[6]])):fe[0]===\"S\"||fe[0]===\"Q\"?(be.push([fe[1],fe[2]]),be.push([fe[3],fe[4]])):be.push([fe[1],fe[2]]);for(var we=be,Ze=1/_e,Ve=0;Ve<_e-1;Ve++){var et=ee(we,Ze/(1-Ze*Ve));We.push(et.left),we=et.right}return We.push(we),We.map(function(ht){var Fe=[];return ht.length===4&&(Fe.push(\"C\"),Fe=Fe.concat(ht[2])),ht.length>=3&&(ht.length===3&&Fe.push(\"Q\"),Fe=Fe.concat(ht[1])),ht.length===2&&Fe.push(\"L\"),Fe=Fe.concat(ht[ht.length-1])})}(oe,he,ie));else{var ve=[].concat(oe);ve[0]===\"M\"&&(ve[0]=\"L\");for(var X=0;X<=ie-1;X++)ae.push(ve)}return ae},Ie=function(oe,he){if(oe.length===1)return oe;var ie=oe.length-1,ae=he.length-1,ve=ie/ae,X=[];if(oe.length===1&&oe[0][0]===\"M\"){for(var se=0;se<ae-ie;se++)oe.push(oe[0]);return oe}for(se=0;se<ae;se++){var fe=Math.floor(ve*se);X[fe]=(X[fe]||0)+1}var _e=X.reduce(function(be,We,we){return we===ie?be.concat(oe[ie]):be.concat(xe(oe[we],oe[we+1],We))},[]);return _e.unshift(oe[0]),he[ae]!==\"Z\"&&he[ae]!==\"z\"||_e.push(\"Z\"),_e},Le=function(oe,he){if(oe.length!==he.length)return!1;var ie=!0;return Object(y.each)(oe,function(ae,ve){if(ae!==he[ve])return ie=!1,!1}),ie};function De(oe,he,ie){var ae=null,ve=ie;return he<ve&&(ve=he,ae=\"add\"),oe<ve&&(ve=oe,ae=\"del\"),{type:ae,min:ve}}var ce=function(oe,he){var ie=function(Ze,Ve){var et,ht,Fe=Ze.length,mt=Ve.length,dt=0;if(Fe===0||mt===0)return null;for(var Lt=[],lt=0;lt<=Fe;lt++)Lt[lt]=[],Lt[lt][0]={min:lt};for(var rn=0;rn<=mt;rn++)Lt[0][rn]={min:rn};for(lt=1;lt<=Fe;lt++)for(et=Ze[lt-1],rn=1;rn<=mt;rn++){ht=Ve[rn-1],dt=Le(et,ht)?0:1;var qt=Lt[lt-1][rn].min+1,hn=Lt[lt][rn-1].min+1,Kt=Lt[lt-1][rn-1].min+dt;Lt[lt][rn]=De(qt,hn,Kt)}return Lt}(oe,he),ae=oe.length,ve=he.length,X=[],se=1,fe=1;if(ie[ae][ve].min!==ae){for(var _e=1;_e<=ae;_e++){var be=ie[_e][_e].min;fe=_e;for(var We=se;We<=ve;We++)ie[_e][We].min<be&&(be=ie[_e][We].min,fe=We);se=fe,ie[_e][se].type&&X.push({index:_e-1,type:ie[_e][se].type})}for(_e=X.length-1;_e>=0;_e--)se=X[_e].index,X[_e].type===\"add\"?oe.splice(se,0,[].concat(oe[se])):oe.splice(se,1)}var we=ve-(ae=oe.length);if(ae<ve)for(_e=0;_e<we;_e++)oe[ae-1][0]===\"z\"||oe[ae-1][0]===\"Z\"?oe.splice(ae-2,0,oe[ae-2]):oe.push(oe[ae-1]),ae+=1;return oe};function ye(oe,he,ie){for(var ae,ve=[].concat(oe),X=1/(ie+1),se=Oe(he)[0],fe=1;fe<=ie;fe++)X*=fe,(ae=Math.floor(oe.length*X))===0?ve.unshift([se[0]*X+oe[ae][0]*(1-X),se[1]*X+oe[ae][1]*(1-X)]):ve.splice(ae,0,[se[0]*X+oe[ae][0]*(1-X),se[1]*X+oe[ae][1]*(1-X)]);return ve}function Oe(oe){var he=[];switch(oe[0]){case\"M\":case\"L\":he.push([oe[1],oe[2]]);break;case\"A\":he.push([oe[6],oe[7]]);break;case\"Q\":he.push([oe[3],oe[4]]),he.push([oe[1],oe[2]]);break;case\"T\":he.push([oe[1],oe[2]]);break;case\"C\":he.push([oe[5],oe[6]]),he.push([oe[1],oe[2]]),he.push([oe[3],oe[4]]);break;case\"S\":he.push([oe[3],oe[4]]),he.push([oe[1],oe[2]]);break;case\"H\":case\"V\":he.push([oe[1],oe[1]])}return he}var Ce=function(oe,he){if(oe.length<=1)return oe;for(var ie,ae=0;ae<he.length;ae++)if(oe[ae][0]!==he[ae][0])switch(ie=Oe(oe[ae]),he[ae][0]){case\"M\":oe[ae]=[\"M\"].concat(ie[0]);break;case\"L\":oe[ae]=[\"L\"].concat(ie[0]);break;case\"A\":oe[ae]=[].concat(he[ae]),oe[ae][6]=ie[0][0],oe[ae][7]=ie[0][1];break;case\"Q\":if(ie.length<2){if(!(ae>0)){oe[ae]=he[ae];break}ie=ye(ie,oe[ae-1],1)}oe[ae]=[\"Q\"].concat(ie.reduce(function(ve,X){return ve.concat(X)},[]));break;case\"T\":oe[ae]=[\"T\"].concat(ie[0]);break;case\"C\":if(ie.length<3){if(!(ae>0)){oe[ae]=he[ae];break}ie=ye(ie,oe[ae-1],2)}oe[ae]=[\"C\"].concat(ie.reduce(function(ve,X){return ve.concat(X)},[]));break;case\"S\":if(ie.length<2){if(!(ae>0)){oe[ae]=he[ae];break}ie=ye(ie,oe[ae-1],1)}oe[ae]=[\"S\"].concat(ie.reduce(function(ve,X){return ve.concat(X)},[]));break;default:oe[ae]=he[ae]}return oe}},function(Ee,c,r){\"use strict\";r.r(c),r.d(c,\"Base\",function(){return p}),r.d(c,\"Circle\",function(){return u}),r.d(c,\"Ellipse\",function(){return f}),r.d(c,\"Image\",function(){return l}),r.d(c,\"Line\",function(){return M}),r.d(c,\"Marker\",function(){return A}),r.d(c,\"Path\",function(){return ce}),r.d(c,\"Polygon\",function(){return Oe}),r.d(c,\"Polyline\",function(){return Ce}),r.d(c,\"Rect\",function(){return he}),r.d(c,\"Text\",function(){return ie});var y={};r.r(y),r.d(y,\"Base\",function(){return p}),r.d(y,\"Circle\",function(){return u}),r.d(y,\"Ellipse\",function(){return f}),r.d(y,\"Image\",function(){return l}),r.d(y,\"Line\",function(){return M}),r.d(y,\"Marker\",function(){return A}),r.d(y,\"Path\",function(){return ce}),r.d(y,\"Polygon\",function(){return Oe}),r.d(y,\"Polyline\",function(){return Ce}),r.d(y,\"Rect\",function(){return he}),r.d(y,\"Text\",function(){return ie});var N=r(1),C=r(10),w=r(5),O=r(16),b=r(36),p=function(ae){function ve(){return ae!==null&&ae.apply(this,arguments)||this}return Object(N.__extends)(ve,ae),ve.prototype.getDefaultAttrs=function(){var X=ae.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},X),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},ve.prototype.getShapeBase=function(){return y},ve.prototype.getGroupBase=function(){return b.a},ve.prototype.onCanvasChange=function(X){Object(O.h)(this,X)},ve.prototype.calculateBBox=function(){var X=this.get(\"type\"),se=this.getHitLineWidth(),fe=Object(C.getBBoxMethod)(X)(this),_e=se/2,be=fe.x-_e,We=fe.y-_e,we=fe.x+fe.width+_e,Ze=fe.y+fe.height+_e;return{x:be,minX:be,y:We,minY:We,width:fe.width+se,height:fe.height+se,maxX:we,maxY:Ze}},ve.prototype.isFill=function(){return!!this.attrs.fill||this.isClipShape()},ve.prototype.isStroke=function(){return!!this.attrs.stroke},ve.prototype._applyClip=function(X,se){se&&(X.save(),Object(O.a)(X,se),se.createPath(X),X.restore(),X.clip(),se._afterDraw())},ve.prototype.draw=function(X,se){var fe=this.cfg.clipShape;if(se){if(this.cfg.refresh===!1)return void this.set(\"hasChanged\",!1);var _e=this.getCanvasBBox();if(!Object(w.f)(se,_e))return this.set(\"hasChanged\",!1),void(this.cfg.isInView&&this._afterDraw())}X.save(),Object(O.a)(X,this),this._applyClip(X,fe),this.drawPath(X),X.restore(),this._afterDraw()},ve.prototype.getCanvasViewBox=function(){var X=this.cfg.canvas;return X?X.getViewRange():null},ve.prototype.cacheCanvasBBox=function(){var X=this.getCanvasViewBox();if(X){var se=this.getCanvasBBox(),fe=Object(w.f)(se,X);this.set(\"isInView\",fe),fe?this.set(\"cacheCanvasBBox\",se):this.set(\"cacheCanvasBBox\",null)}},ve.prototype._afterDraw=function(){this.cacheCanvasBBox(),this.set(\"hasChanged\",!1),this.set(\"refresh\",null)},ve.prototype.skipDraw=function(){this.set(\"cacheCanvasBBox\",null),this.set(\"isInView\",null),this.set(\"hasChanged\",!1)},ve.prototype.drawPath=function(X){this.createPath(X),this.strokeAndFill(X),this.afterDrawPath(X)},ve.prototype.fill=function(X){X.fill()},ve.prototype.stroke=function(X){X.stroke()},ve.prototype.strokeAndFill=function(X){var se=this.attrs,fe=se.lineWidth,_e=se.opacity,be=se.strokeOpacity,We=se.fillOpacity;this.isFill()&&(Object(w.i)(We)||We===1?this.fill(X):(X.globalAlpha=We,this.fill(X),X.globalAlpha=_e)),this.isStroke()&&fe>0&&(Object(w.i)(be)||be===1||(X.globalAlpha=be),this.stroke(X)),this.afterDrawPath(X)},ve.prototype.createPath=function(X){},ve.prototype.afterDrawPath=function(X){},ve.prototype.isInShape=function(X,se){var fe=this.isStroke(),_e=this.isFill(),be=this.getHitLineWidth();return this.isInStrokeOrPath(X,se,fe,_e,be)},ve.prototype.isInStrokeOrPath=function(X,se,fe,_e,be){return!1},ve.prototype.getHitLineWidth=function(){if(!this.isStroke())return 0;var X=this.attrs;return X.lineWidth+X.lineAppendWidth},ve}(C.AbstractShape),u=function(ae){function ve(){return ae!==null&&ae.apply(this,arguments)||this}return Object(N.__extends)(ve,ae),ve.prototype.getDefaultAttrs=function(){var X=ae.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},X),{x:0,y:0,r:0})},ve.prototype.isInStrokeOrPath=function(X,se,fe,_e,be){var We=this.attr(),we=We.x,Ze=We.y,Ve=We.r,et=be/2,ht=Object(w.b)(we,Ze,X,se);return _e&&fe?ht<=Ve+et:_e?ht<=Ve:!!fe&&ht>=Ve-et&&ht<=Ve+et},ve.prototype.createPath=function(X){var se=this.attr(),fe=se.x,_e=se.y,be=se.r;X.beginPath(),X.arc(fe,_e,be,0,2*Math.PI,!1),X.closePath()},ve}(p);function a(ae,ve,X,se){return ae/(X*X)+ve/(se*se)}var f=function(ae){function ve(){return ae!==null&&ae.apply(this,arguments)||this}return Object(N.__extends)(ve,ae),ve.prototype.getDefaultAttrs=function(){var X=ae.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},X),{x:0,y:0,rx:0,ry:0})},ve.prototype.isInStrokeOrPath=function(X,se,fe,_e,be){var We=this.attr(),we=be/2,Ze=We.x,Ve=We.y,et=We.rx,ht=We.ry,Fe=(X-Ze)*(X-Ze),mt=(se-Ve)*(se-Ve);return _e&&fe?a(Fe,mt,et+we,ht+we)<=1:_e?a(Fe,mt,et,ht)<=1:!!fe&&a(Fe,mt,et-we,ht-we)>=1&&a(Fe,mt,et+we,ht+we)<=1},ve.prototype.createPath=function(X){var se=this.attr(),fe=se.x,_e=se.y,be=se.rx,We=se.ry;if(X.beginPath(),X.ellipse)X.ellipse(fe,_e,be,We,0,0,2*Math.PI,!1);else{var we=be>We?be:We,Ze=be>We?1:be/We,Ve=be>We?We/be:1;X.save(),X.translate(fe,_e),X.scale(Ze,Ve),X.arc(0,0,we,0,2*Math.PI),X.restore(),X.closePath()}},ve}(p);function h(ae){return ae instanceof HTMLElement&&Object(w.k)(ae.nodeName)&&ae.nodeName.toUpperCase()===\"CANVAS\"}var l=function(ae){function ve(){return ae!==null&&ae.apply(this,arguments)||this}return Object(N.__extends)(ve,ae),ve.prototype.getDefaultAttrs=function(){var X=ae.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},X),{x:0,y:0,width:0,height:0})},ve.prototype.initAttrs=function(X){this._setImage(X.img)},ve.prototype.isStroke=function(){return!1},ve.prototype.isOnlyHitBox=function(){return!0},ve.prototype._afterLoading=function(){if(this.get(\"toDraw\")===!0){var X=this.get(\"canvas\");X?X.draw():this.createPath(this.get(\"context\"))}},ve.prototype._setImage=function(X){var se=this,fe=this.attrs;if(Object(w.k)(X)){var _e=new Image;_e.onload=function(){if(se.destroyed)return!1;se.attr(\"img\",_e),se.set(\"loading\",!1),se._afterLoading();var be=se.get(\"callback\");be&&be.call(se)},_e.crossOrigin=\"Anonymous\",_e.src=X,this.set(\"loading\",!0)}else X instanceof Image?(fe.width||(fe.width=X.width),fe.height||(fe.height=X.height)):h(X)&&(fe.width||(fe.width=Number(X.getAttribute(\"width\"))),fe.height||(fe.height,Number(X.getAttribute(\"height\"))))},ve.prototype.onAttrChange=function(X,se,fe){ae.prototype.onAttrChange.call(this,X,se,fe),X===\"img\"&&this._setImage(se)},ve.prototype.createPath=function(X){if(this.get(\"loading\"))return this.set(\"toDraw\",!0),void this.set(\"context\",X);var se=this.attr(),fe=se.x,_e=se.y,be=se.width,We=se.height,we=se.sx,Ze=se.sy,Ve=se.swidth,et=se.sheight,ht=se.img;(ht instanceof Image||h(ht))&&(Object(w.i)(we)||Object(w.i)(Ze)||Object(w.i)(Ve)||Object(w.i)(et)?X.drawImage(ht,fe,_e,be,We):X.drawImage(ht,we,Ze,Ve,et,fe,_e,be,We))},ve}(p),s=r(9);function m(ae,ve,X,se,fe,_e,be){var We=Math.min(ae,X),we=Math.max(ae,X),Ze=Math.min(ve,se),Ve=Math.max(ve,se),et=fe/2;return _e>=We-et&&_e<=we+et&&be>=Ze-et&&be<=Ve+et&&s.c.pointToLine(ae,ve,X,se,_e,be)<=fe/2}var x=r(19),M=function(ae){function ve(){return ae!==null&&ae.apply(this,arguments)||this}return Object(N.__extends)(ve,ae),ve.prototype.getDefaultAttrs=function(){var X=ae.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},X),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},ve.prototype.initAttrs=function(X){this.setArrow()},ve.prototype.onAttrChange=function(X,se,fe){ae.prototype.onAttrChange.call(this,X,se,fe),this.setArrow()},ve.prototype.setArrow=function(){var X=this.attr(),se=X.x1,fe=X.y1,_e=X.x2,be=X.y2,We=X.startArrow,we=X.endArrow;We&&x.b(this,X,_e,be,se,fe),we&&x.a(this,X,se,fe,_e,be)},ve.prototype.isInStrokeOrPath=function(X,se,fe,_e,be){if(!fe||!be)return!1;var We=this.attr();return m(We.x1,We.y1,We.x2,We.y2,be,X,se)},ve.prototype.createPath=function(X){var se=this.attr(),fe=se.x1,_e=se.y1,be=se.x2,We=se.y2,we=se.startArrow,Ze=se.endArrow,Ve={dx:0,dy:0},et={dx:0,dy:0};we&&we.d&&(Ve=x.c(fe,_e,be,We,se.startArrow.d)),Ze&&Ze.d&&(et=x.c(fe,_e,be,We,se.endArrow.d)),X.beginPath(),X.moveTo(fe+Ve.dx,_e+Ve.dy),X.lineTo(be-et.dx,We-et.dy)},ve.prototype.afterDrawPath=function(X){var se=this.get(\"startArrowShape\"),fe=this.get(\"endArrowShape\");se&&se.draw(X),fe&&fe.draw(X)},ve.prototype.getTotalLength=function(){var X=this.attr(),se=X.x1,fe=X.y1,_e=X.x2,be=X.y2;return s.c.length(se,fe,_e,be)},ve.prototype.getPoint=function(X){var se=this.attr(),fe=se.x1,_e=se.y1,be=se.x2,We=se.y2;return s.c.pointAt(fe,_e,be,We,X)},ve}(p),E=r(0),j=r(21),L={circle:function(ae,ve,X){return[[\"M\",ae-X,ve],[\"A\",X,X,0,1,0,ae+X,ve],[\"A\",X,X,0,1,0,ae-X,ve]]},square:function(ae,ve,X){return[[\"M\",ae-X,ve-X],[\"L\",ae+X,ve-X],[\"L\",ae+X,ve+X],[\"L\",ae-X,ve+X],[\"Z\"]]},diamond:function(ae,ve,X){return[[\"M\",ae-X,ve],[\"L\",ae,ve-X],[\"L\",ae+X,ve],[\"L\",ae,ve+X],[\"Z\"]]},triangle:function(ae,ve,X){var se=X*Math.sin(.3333333333333333*Math.PI);return[[\"M\",ae-X,ve+se],[\"L\",ae,ve-se],[\"L\",ae+X,ve+se],[\"Z\"]]},\"triangle-down\":function(ae,ve,X){var se=X*Math.sin(.3333333333333333*Math.PI);return[[\"M\",ae-X,ve-se],[\"L\",ae+X,ve-se],[\"L\",ae,ve+se],[\"Z\"]]}},A=function(ae){function ve(){return ae!==null&&ae.apply(this,arguments)||this}return Object(N.__extends)(ve,ae),ve.prototype.initAttrs=function(X){this._resetParamsCache()},ve.prototype._resetParamsCache=function(){this.set(\"paramsCache\",{})},ve.prototype.onAttrChange=function(X,se,fe){ae.prototype.onAttrChange.call(this,X,se,fe),[\"symbol\",\"x\",\"y\",\"r\",\"radius\"].indexOf(X)!==-1&&this._resetParamsCache()},ve.prototype.isOnlyHitBox=function(){return!0},ve.prototype._getR=function(X){return Object(E.isNil)(X.r)?X.radius:X.r},ve.prototype._getPath=function(){var X,se,fe=this.attr(),_e=fe.x,be=fe.y,We=fe.symbol||\"circle\",we=this._getR(fe);if(Object(w.h)(We))se=(X=We)(_e,be,we),se=Object(j.c)(se);else{if(!(X=ve.Symbols[We]))return console.warn(We+\" marker is not supported.\"),null;se=X(_e,be,we)}return se},ve.prototype.createPath=function(X){var se=this._getPath(),fe=this.get(\"paramsCache\");Object(O.e)(this,X,{path:se},fe)},ve.Symbols=L,ve}(p);function J(ae,ve,X){var se=Object(C.getOffScreenContext)();return ae.createPath(se),se.isPointInPath(ve,X)}function q(ae){return Math.abs(ae)<1e-6?0:ae<0?-1:1}function re(ae,ve,X){return(X[0]-ae[0])*(ve[1]-ae[1])==(ve[0]-ae[0])*(X[1]-ae[1])&&Math.min(ae[0],ve[0])<=X[0]&&X[0]<=Math.max(ae[0],ve[0])&&Math.min(ae[1],ve[1])<=X[1]&&X[1]<=Math.max(ae[1],ve[1])}function me(ae,ve,X){var se=!1,fe=ae.length;if(fe<=2)return!1;for(var _e=0;_e<fe;_e++){var be=ae[_e],We=ae[(_e+1)%fe];if(re(be,We,[ve,X]))return!0;q(be[1]-X)>0!=q(We[1]-X)>0&&q(ve-(X-be[1])*(be[0]-We[0])/(be[1]-We[1])-be[0])<0&&(se=!se)}return se}var Te=r(4),ee=r(24);function xe(ae,ve,X,se,fe,_e,be,We){var we=(Math.atan2(We-ve,be-ae)+2*Math.PI)%(2*Math.PI);if(we<se||we>fe)return!1;var Ze={x:ae+X*Math.cos(we),y:ve+X*Math.sin(we)};return Object(w.b)(Ze.x,Ze.y,be,We)<=_e/2}var Ie=Te.a.transform,Le=Object(N.__assign)({hasArc:function(ae){for(var ve=!1,X=ae.length,se=0;se<X;se++){var fe=ae[se][0];if(fe===\"C\"||fe===\"A\"||fe===\"Q\"){ve=!0;break}}return ve},extractPolygons:function(ae){for(var ve=ae.length,X=[],se=[],fe=[],_e=0;_e<ve;_e++){var be=ae[_e],We=be[0];We===\"M\"?(fe.length&&(se.push(fe),fe=[]),fe.push([be[1],be[2]])):We===\"Z\"?fe.length&&(X.push(fe),fe=[]):fe.push([be[1],be[2]])}return fe.length>0&&se.push(fe),{polygons:X,polylines:se}},isPointInStroke:function(ae,ve,X,se,fe){for(var _e=!1,be=ve/2,We=0;We<ae.length;We++){var we=ae[We],Ze=we.currentPoint,Ve=we.params,et=we.prePoint,ht=we.box;if(!ht||Object(w.e)(ht.x-be,ht.y-be,ht.width+ve,ht.height+ve,X,se)){switch(we.command){case\"L\":case\"Z\":_e=m(et[0],et[1],Ze[0],Ze[1],ve,X,se);break;case\"Q\":_e=s.e.pointDistance(et[0],et[1],Ve[1],Ve[2],Ve[3],Ve[4],X,se)<=ve/2;break;case\"C\":_e=s.b.pointDistance(et[0],et[1],Ve[1],Ve[2],Ve[3],Ve[4],Ve[5],Ve[6],X,se,fe)<=ve/2;break;case\"A\":var Fe=we.arcParams,mt=Fe.cx,dt=Fe.cy,Lt=Fe.rx,lt=Fe.ry,rn=Fe.startAngle,qt=Fe.endAngle,hn=Fe.xRotation,Kt=[X,se,1],an=Lt>lt?Lt:lt,In=Ie(null,[[\"t\",-mt,-dt],[\"r\",-hn],[\"s\",1/(Lt>lt?1:Lt/lt),1/(Lt>lt?lt/Lt:1)]]);ee.transformMat3(Kt,Kt,In),_e=xe(0,0,an,rn,qt,ve,Kt[0],Kt[1])}if(_e)break}}return _e}},C.PathUtil);function De(ae,ve,X){for(var se=!1,fe=0;fe<ae.length&&!(se=me(ae[fe],ve,X));fe++);return se}var ce=function(ae){function ve(){return ae!==null&&ae.apply(this,arguments)||this}return Object(N.__extends)(ve,ae),ve.prototype.getDefaultAttrs=function(){var X=ae.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},X),{startArrow:!1,endArrow:!1})},ve.prototype.initAttrs=function(X){this._setPathArr(X.path),this.setArrow()},ve.prototype.onAttrChange=function(X,se,fe){ae.prototype.onAttrChange.call(this,X,se,fe),X===\"path\"&&this._setPathArr(se),this.setArrow()},ve.prototype._setPathArr=function(X){this.attrs.path=Object(j.c)(X);var se=Le.hasArc(X);this.set(\"hasArc\",se),this.set(\"paramsCache\",{}),this.set(\"segments\",null),this.set(\"curve\",null),this.set(\"tCache\",null),this.set(\"totalLength\",null)},ve.prototype.getSegments=function(){var X=this.get(\"segements\");return X||(X=Object(j.d)(this.attr(\"path\")),this.set(\"segments\",X)),X},ve.prototype.setArrow=function(){var X=this.attr(),se=X.startArrow,fe=X.endArrow;if(se){var _e=this.getStartTangent();x.b(this,X,_e[0][0],_e[0][1],_e[1][0],_e[1][1])}fe&&(_e=this.getEndTangent(),x.a(this,X,_e[0][0],_e[0][1],_e[1][0],_e[1][1]))},ve.prototype.isInStrokeOrPath=function(X,se,fe,_e,be){var We=this.getSegments(),we=this.get(\"hasArc\"),Ze=!1;if(fe){var Ve=this.getTotalLength();Ze=Le.isPointInStroke(We,be,X,se,Ve)}if(!Ze&&_e)if(we)Ze=J(this,X,se);else{var et=this.attr(\"path\"),ht=Le.extractPolygons(et);Ze=De(ht.polygons,X,se)||De(ht.polylines,X,se)}return Ze},ve.prototype.createPath=function(X){var se=this.attr(),fe=this.get(\"paramsCache\");Object(O.e)(this,X,se,fe)},ve.prototype.afterDrawPath=function(X){var se=this.get(\"startArrowShape\"),fe=this.get(\"endArrowShape\");se&&se.draw(X),fe&&fe.draw(X)},ve.prototype.getTotalLength=function(){var X=this.get(\"totalLength\");return Object(E.isNil)(X)?(this._calculateCurve(),this._setTcache(),this.get(\"totalLength\")):X},ve.prototype.getPoint=function(X){var se,fe,_e=this.get(\"tCache\");_e||(this._calculateCurve(),this._setTcache(),_e=this.get(\"tCache\"));var be=this.get(\"curve\");if(!_e||_e.length===0)return be?{x:be[0][1],y:be[0][2]}:null;Object(E.each)(_e,function(Ve,et){X>=Ve[0]&&X<=Ve[1]&&(se=(X-Ve[0])/(Ve[1]-Ve[0]),fe=et)});var We=be[fe];if(Object(E.isNil)(We)||Object(E.isNil)(fe))return null;var we=We.length,Ze=be[fe+1];return s.b.pointAt(We[we-2],We[we-1],Ze[1],Ze[2],Ze[3],Ze[4],Ze[5],Ze[6],se)},ve.prototype._calculateCurve=function(){var X=this.attr().path;this.set(\"curve\",Le.pathToCurve(X))},ve.prototype._setTcache=function(){var X,se,fe,_e,be=0,We=0,we=[],Ze=this.get(\"curve\");Ze&&(Object(E.each)(Ze,function(Ve,et){fe=Ze[et+1],_e=Ve.length,fe&&(be+=s.b.length(Ve[_e-2],Ve[_e-1],fe[1],fe[2],fe[3],fe[4],fe[5],fe[6])||0)}),this.set(\"totalLength\",be),be!==0?(Object(E.each)(Ze,function(Ve,et){fe=Ze[et+1],_e=Ve.length,fe&&((X=[])[0]=We/be,se=s.b.length(Ve[_e-2],Ve[_e-1],fe[1],fe[2],fe[3],fe[4],fe[5],fe[6]),We+=se||0,X[1]=We/be,we.push(X))}),this.set(\"tCache\",we)):this.set(\"tCache\",[]))},ve.prototype.getStartTangent=function(){var X,se=this.getSegments();if(se.length>1){var fe=se[0].currentPoint,_e=se[1].currentPoint,be=se[1].startTangent;X=[],be?(X.push([fe[0]-be[0],fe[1]-be[1]]),X.push([fe[0],fe[1]])):(X.push([_e[0],_e[1]]),X.push([fe[0],fe[1]]))}return X},ve.prototype.getEndTangent=function(){var X,se=this.getSegments(),fe=se.length;if(fe>1){var _e=se[fe-2].currentPoint,be=se[fe-1].currentPoint,We=se[fe-1].endTangent;X=[],We?(X.push([be[0]-We[0],be[1]-We[1]]),X.push([be[0],be[1]])):(X.push([_e[0],_e[1]]),X.push([be[0],be[1]]))}return X},ve}(p);function ye(ae,ve,X,se,fe){var _e=ae.length;if(_e<2)return!1;for(var be=0;be<_e-1;be++)if(m(ae[be][0],ae[be][1],ae[be+1][0],ae[be+1][1],ve,X,se))return!0;if(fe){var We=ae[0],we=ae[_e-1];if(m(We[0],We[1],we[0],we[1],ve,X,se))return!0}return!1}var Oe=function(ae){function ve(){return ae!==null&&ae.apply(this,arguments)||this}return Object(N.__extends)(ve,ae),ve.prototype.isInStrokeOrPath=function(X,se,fe,_e,be){var We=this.attr().points,we=!1;return fe&&(we=ye(We,be,X,se,!0)),!we&&_e&&(we=me(We,X,se)),we},ve.prototype.createPath=function(X){var se=this.attr().points;if(!(se.length<2)){X.beginPath();for(var fe=0;fe<se.length;fe++){var _e=se[fe];fe===0?X.moveTo(_e[0],_e[1]):X.lineTo(_e[0],_e[1])}X.closePath()}},ve}(p),Ce=function(ae){function ve(){return ae!==null&&ae.apply(this,arguments)||this}return Object(N.__extends)(ve,ae),ve.prototype.getDefaultAttrs=function(){var X=ae.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},X),{startArrow:!1,endArrow:!1})},ve.prototype.initAttrs=function(X){this.setArrow()},ve.prototype.onAttrChange=function(X,se,fe){ae.prototype.onAttrChange.call(this,X,se,fe),this.setArrow(),[\"points\"].indexOf(X)!==-1&&this._resetCache()},ve.prototype._resetCache=function(){this.set(\"totalLength\",null),this.set(\"tCache\",null)},ve.prototype.setArrow=function(){var X=this.attr(),se=this.attrs,fe=se.points,_e=se.startArrow,be=se.endArrow,We=fe.length,we=fe[0][0],Ze=fe[0][1],Ve=fe[We-1][0],et=fe[We-1][1];_e&&x.b(this,X,fe[1][0],fe[1][1],we,Ze),be&&x.a(this,X,fe[We-2][0],fe[We-2][1],Ve,et)},ve.prototype.isFill=function(){return!1},ve.prototype.isInStrokeOrPath=function(X,se,fe,_e,be){return!(!fe||!be)&&ye(this.attr().points,be,X,se,!1)},ve.prototype.isStroke=function(){return!0},ve.prototype.createPath=function(X){var se=this.attr(),fe=se.points,_e=se.startArrow,be=se.endArrow,We=fe.length;if(!(fe.length<2)){var we,Ze=fe[0][0],Ve=fe[0][1],et=fe[We-1][0],ht=fe[We-1][1];_e&&_e.d&&(Ze+=(we=x.c(Ze,Ve,fe[1][0],fe[1][1],_e.d)).dx,Ve+=we.dy),be&&be.d&&(et-=(we=x.c(fe[We-2][0],fe[We-2][1],et,ht,be.d)).dx,ht-=we.dy),X.beginPath(),X.moveTo(Ze,Ve);for(var Fe=0;Fe<We-1;Fe++){var mt=fe[Fe];X.lineTo(mt[0],mt[1])}X.lineTo(et,ht)}},ve.prototype.afterDrawPath=function(X){var se=this.get(\"startArrowShape\"),fe=this.get(\"endArrowShape\");se&&se.draw(X),fe&&fe.draw(X)},ve.prototype.getTotalLength=function(){var X=this.attr().points,se=this.get(\"totalLength\");return Object(E.isNil)(se)?(this.set(\"totalLength\",s.d.length(X)),this.get(\"totalLength\")):se},ve.prototype.getPoint=function(X){var se,fe,_e=this.attr().points,be=this.get(\"tCache\");return be||(this._setTcache(),be=this.get(\"tCache\")),Object(E.each)(be,function(We,we){X>=We[0]&&X<=We[1]&&(se=(X-We[0])/(We[1]-We[0]),fe=we)}),s.c.pointAt(_e[fe][0],_e[fe][1],_e[fe+1][0],_e[fe+1][1],se)},ve.prototype._setTcache=function(){var X=this.attr().points;if(X&&X.length!==0){var se=this.getTotalLength();if(!(se<=0)){var fe,_e,be=0,We=[];Object(E.each)(X,function(we,Ze){X[Ze+1]&&((fe=[])[0]=be/se,_e=s.c.length(we[0],we[1],X[Ze+1][0],X[Ze+1][1]),be+=_e,fe[1]=be/se,We.push(fe))}),this.set(\"tCache\",We)}}},ve.prototype.getStartTangent=function(){var X=this.attr().points,se=[];return se.push([X[1][0],X[1][1]]),se.push([X[0][0],X[0][1]]),se},ve.prototype.getEndTangent=function(){var X=this.attr().points,se=X.length-1,fe=[];return fe.push([X[se-1][0],X[se-1][1]]),fe.push([X[se][0],X[se][1]]),fe},ve}(p),oe=r(56),he=function(ae){function ve(){return ae!==null&&ae.apply(this,arguments)||this}return Object(N.__extends)(ve,ae),ve.prototype.getDefaultAttrs=function(){var X=ae.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},X),{x:0,y:0,width:0,height:0,radius:0})},ve.prototype.isInStrokeOrPath=function(X,se,fe,_e,be){var We=this.attr(),we=We.x,Ze=We.y,Ve=We.width,et=We.height,ht=We.radius;if(ht){var Fe=!1;return fe&&(Fe=function(dt,Lt,lt,rn,qt,hn,Kt,an){return m(dt+qt,Lt,dt+lt-qt,Lt,hn,Kt,an)||m(dt+lt,Lt+qt,dt+lt,Lt+rn-qt,hn,Kt,an)||m(dt+lt-qt,Lt+rn,dt+qt,Lt+rn,hn,Kt,an)||m(dt,Lt+rn-qt,dt,Lt+qt,hn,Kt,an)||xe(dt+lt-qt,Lt+qt,qt,1.5*Math.PI,2*Math.PI,hn,Kt,an)||xe(dt+lt-qt,Lt+rn-qt,qt,0,.5*Math.PI,hn,Kt,an)||xe(dt+qt,Lt+rn-qt,qt,.5*Math.PI,Math.PI,hn,Kt,an)||xe(dt+qt,Lt+qt,qt,Math.PI,1.5*Math.PI,hn,Kt,an)}(we,Ze,Ve,et,ht,be,X,se)),!Fe&&_e&&(Fe=J(this,X,se)),Fe}var mt=be/2;return _e&&fe?Object(w.e)(we-mt,Ze-mt,Ve+mt,et+mt,X,se):_e?Object(w.e)(we,Ze,Ve,et,X,se):fe?function(dt,Lt,lt,rn,qt,hn,Kt){var an=qt/2;return Object(w.e)(dt-an,Lt-an,lt,qt,hn,Kt)||Object(w.e)(dt+lt-an,Lt-an,qt,rn,hn,Kt)||Object(w.e)(dt+an,Lt+rn-an,lt,qt,hn,Kt)||Object(w.e)(dt-an,Lt+an,qt,rn,hn,Kt)}(we,Ze,Ve,et,be,X,se):void 0},ve.prototype.createPath=function(X){var se=this.attr(),fe=se.x,_e=se.y,be=se.width,We=se.height,we=se.radius;if(X.beginPath(),we===0)X.rect(fe,_e,be,We);else{var Ze=Object(oe.a)(we),Ve=Ze[0],et=Ze[1],ht=Ze[2],Fe=Ze[3];X.moveTo(fe+Ve,_e),X.lineTo(fe+be-et,_e),et!==0&&X.arc(fe+be-et,_e+et,et,-Math.PI/2,0),X.lineTo(fe+be,_e+We-ht),ht!==0&&X.arc(fe+be-ht,_e+We-ht,ht,0,Math.PI/2),X.lineTo(fe+Fe,_e+We),Fe!==0&&X.arc(fe+Fe,_e+We-Fe,Fe,Math.PI/2,Math.PI),X.lineTo(fe,_e+Ve),Ve!==0&&X.arc(fe+Ve,_e+Ve,Ve,Math.PI,1.5*Math.PI),X.closePath()}},ve}(p),ie=function(ae){function ve(){return ae!==null&&ae.apply(this,arguments)||this}return Object(N.__extends)(ve,ae),ve.prototype.getDefaultAttrs=function(){var X=ae.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},X),{x:0,y:0,text:null,fontSize:12,fontFamily:\"sans-serif\",fontStyle:\"normal\",fontWeight:\"normal\",fontVariant:\"normal\",textAlign:\"start\",textBaseline:\"bottom\"})},ve.prototype.isOnlyHitBox=function(){return!0},ve.prototype.initAttrs=function(X){this._assembleFont(),X.text&&this._setText(X.text)},ve.prototype._assembleFont=function(){var X=this.attrs;X.font=Object(C.assembleFont)(X)},ve.prototype._setText=function(X){var se=null;Object(w.k)(X)&&X.indexOf(`\n`)!==-1&&(se=X.split(`\n`)),this.set(\"textArr\",se)},ve.prototype.onAttrChange=function(X,se,fe){ae.prototype.onAttrChange.call(this,X,se,fe),X.startsWith(\"font\")&&this._assembleFont(),X===\"text\"&&this._setText(se)},ve.prototype._getSpaceingY=function(){var X=this.attrs,se=X.lineHeight,fe=1*X.fontSize;return se?se-fe:.14*fe},ve.prototype._drawTextArr=function(X,se,fe){var _e,be=this.attrs,We=be.textBaseline,we=be.x,Ze=be.y,Ve=1*be.fontSize,et=this._getSpaceingY(),ht=Object(C.getTextHeight)(be.text,be.fontSize,be.lineHeight);Object(w.c)(se,function(Fe,mt){_e=Ze+mt*(et+Ve)-ht+Ve,We===\"middle\"&&(_e+=ht-Ve-(ht-Ve)/2),We===\"top\"&&(_e+=ht-Ve),Object(w.i)(Fe)||(fe?X.fillText(Fe,we,_e):X.strokeText(Fe,we,_e))})},ve.prototype._drawText=function(X,se){var fe=this.attr(),_e=fe.x,be=fe.y,We=this.get(\"textArr\");if(We)this._drawTextArr(X,We,se);else{var we=fe.text;Object(w.i)(we)||(se?X.fillText(we,_e,be):X.strokeText(we,_e,be))}},ve.prototype.strokeAndFill=function(X){var se=this.attrs,fe=se.lineWidth,_e=se.opacity,be=se.strokeOpacity,We=se.fillOpacity;this.isStroke()&&fe>0&&(Object(w.i)(be)||be===1||(X.globalAlpha=_e),this.stroke(X)),this.isFill()&&(Object(w.i)(We)||We===1?this.fill(X):(X.globalAlpha=We,this.fill(X),X.globalAlpha=_e)),this.afterDrawPath(X)},ve.prototype.fill=function(X){this._drawText(X,!0)},ve.prototype.stroke=function(X){this._drawText(X,!1)},ve}(p)},function(Ee,c){var r=[],y=[];function N(C,w){if(w=w||{},C===void 0)throw new Error(\"insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).\");var O,b=w.prepend===!0?\"prepend\":\"append\",p=w.container!==void 0?w.container:document.querySelector(\"head\"),u=r.indexOf(p);return u===-1&&(u=r.push(p)-1,y[u]={}),y[u]!==void 0&&y[u][b]!==void 0?O=y[u][b]:(O=y[u][b]=function(){var a=document.createElement(\"style\");return a.setAttribute(\"type\",\"text/css\"),a}(),b===\"prepend\"?p.insertBefore(O,p.childNodes[0]):p.appendChild(O)),C.charCodeAt(0)===65279&&(C=C.substr(1,C.length)),O.styleSheet?O.styleSheet.cssText+=C:O.textContent+=C,O}Ee.exports=N,Ee.exports.insertCss=N},function(Ee,c,r){\"use strict\";r(38),r(10);var y=r(112);r.d(c,\"Canvas\",function(){return y.a}),r(37)},function(Ee,c,r){\"use strict\";r.d(c,\"b\",function(){return C}),r.d(c,\"c\",function(){return w}),r.d(c,\"a\",function(){return O});var y=r(8),N=r(50);function C(b,p,u){var a=1;return Object(y.h)(b)&&(a=b.split(`\n`).length),a>1?p*a+function(f,h){return h?h-f:.14*f}(p,u)*(a-1):p}function w(b,p){var u=Object(N.a)(),a=0;if(Object(y.e)(b)||b===\"\")return a;if(u.save(),u.font=p,Object(y.h)(b)&&b.includes(`\n`)){var f=b.split(`\n`);Object(y.a)(f,function(h){var l=u.measureText(h).width;a<l&&(a=l)})}else a=u.measureText(b).width;return u.restore(),a}function O(b){var p=b.fontSize,u=b.fontFamily,a=b.fontWeight;return[b.fontStyle,b.fontVariant,a,p+\"px\",u].join(\" \").trim()}},function(Ee,c,r){\"use strict\";r.d(c,\"a\",function(){return C}),r.d(c,\"b\",function(){return w});var y=r(20),N=r(11);function C(O,b){b.forEach(function(p){p.draw(O)})}function w(O,b){var p=O.get(\"canvas\");if(p&&p.get(\"autoDraw\")){var u=p.get(\"context\"),a=O.getParent(),f=a?a.getChildren():[p],h=O.get(\"el\");if(b===\"remove\")if(O.get(\"isClipShape\")){var l=h&&h.parentNode,s=l&&l.parentNode;l&&s&&s.removeChild(l)}else h&&h.parentNode&&h.parentNode.removeChild(h);else if(b===\"show\")h.setAttribute(\"visibility\",\"visible\");else if(b===\"hide\")h.setAttribute(\"visibility\",\"hidden\");else if(b===\"zIndex\")Object(N.c)(h,f.indexOf(O));else if(b===\"sort\"){var m=O.get(\"children\");m&&m.length&&Object(N.d)(O,function(x,M){return m.indexOf(x)-m.indexOf(M)?1:0})}else b===\"clear\"?h&&(h.innerHTML=\"\"):b===\"matrix\"?Object(y.c)(O):b===\"clip\"?Object(y.a)(O,u):b===\"attr\"||b===\"add\"&&O.draw(u)}}},function(Ee,c,r){var y=r(185),N=r(190),C=r(191),w=C&&C.isTypedArray,O=w?N(w):y;Ee.exports=O},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(w,O){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,p){b.__proto__=p}||function(b,p){for(var u in p)Object.prototype.hasOwnProperty.call(p,u)&&(b[u]=p[u])})(w,O)},function(w,O){if(typeof O!=\"function\"&&O!==null)throw new TypeError(\"Class extends value \"+String(O)+\" is not a constructor or null\");function b(){this.constructor=w}y(w,O),w.prototype=O===null?Object.create(O):(b.prototype=O.prototype,new b)});Object.defineProperty(c,\"__esModule\",{value:!0}),c.Graph=void 0;var C=function(w){function O(){return w!==null&&w.apply(this,arguments)||this}return N(O,w),O}(r(47).Graph);c.Graph=C},function(Ee,c,r){\"use strict\";var y=r(1),N=r(10),C=r(29),w=r(16),O=r(0),b=r(5),p=function(u){function a(){return u!==null&&u.apply(this,arguments)||this}return Object(y.__extends)(a,u),a.prototype.onCanvasChange=function(f){Object(w.h)(this,f)},a.prototype.getShapeBase=function(){return C},a.prototype.getGroupBase=function(){return a},a.prototype._applyClip=function(f,h){h&&(f.save(),Object(w.a)(f,h),h.createPath(f),f.restore(),f.clip(),h._afterDraw())},a.prototype.cacheCanvasBBox=function(){var f=this.cfg.children,h=[],l=[];Object(O.each)(f,function(A){var J=A.cfg.cacheCanvasBBox;J&&A.cfg.isInView&&(h.push(J.minX,J.maxX),l.push(J.minY,J.maxY))});var s=null;if(h.length){var m=Object(O.min)(h),x=Object(O.max)(h),M=Object(O.min)(l),E=Object(O.max)(l);s={minX:m,minY:M,x:m,y:M,maxX:x,maxY:E,width:x-m,height:E-M};var j=this.cfg.canvas;if(j){var L=j.getViewRange();this.set(\"isInView\",Object(b.f)(s,L))}}else this.set(\"isInView\",!1);this.set(\"cacheCanvasBBox\",s)},a.prototype.draw=function(f,h){var l=this.cfg.children,s=!h||this.cfg.refresh;l.length&&s&&(f.save(),Object(w.a)(f,this),this._applyClip(f,this.getClip()),Object(w.d)(f,l,h),f.restore(),this.cacheCanvasBBox()),this.cfg.refresh=null,this.set(\"hasChanged\",!1)},a.prototype.skipDraw=function(){this.set(\"cacheCanvasBBox\",null),this.set(\"hasChanged\",!1)},a}(N.AbstractGroup);c.a=p},function(Ee,c,r){\"use strict\";var y=r(1),N=r(10),C=r(0),w=r(38),O=r(33),b=r(20),p=r(6),u=r(11),a=function(f){function h(){return f!==null&&f.apply(this,arguments)||this}return Object(y.__extends)(h,f),h.prototype.isEntityGroup=function(){return!0},h.prototype.createDom=function(){var l=Object(u.b)(\"g\");this.set(\"el\",l);var s=this.getParent();if(s){var m=s.get(\"el\");m||(m=s.createDom(),s.set(\"el\",m)),m.appendChild(l)}return l},h.prototype.afterAttrsChange=function(l){f.prototype.afterAttrsChange.call(this,l);var s=this.get(\"canvas\");if(s&&s.get(\"autoDraw\")){var m=s.get(\"context\");this.createPath(m,l)}},h.prototype.onCanvasChange=function(l){Object(O.b)(this,l)},h.prototype.getShapeBase=function(){return w},h.prototype.getGroupBase=function(){return h},h.prototype.draw=function(l){var s=this.getChildren(),m=this.get(\"el\");this.get(\"destroyed\")?m&&m.parentNode.removeChild(m):(m||this.createDom(),Object(b.a)(this,l),this.createPath(l),s.length&&Object(O.a)(l,s))},h.prototype.createPath=function(l,s){var m=this.attr(),x=this.get(\"el\");Object(C.each)(s||m,function(M,E){p.b[E]&&x.setAttribute(p.b[E],M)}),Object(b.c)(this)},h}(N.AbstractGroup);c.a=a},function(Ee,c,r){\"use strict\";r.r(c),r.d(c,\"Base\",function(){return a}),r.d(c,\"Circle\",function(){return h}),r.d(c,\"Dom\",function(){return l}),r.d(c,\"Ellipse\",function(){return s}),r.d(c,\"Image\",function(){return m}),r.d(c,\"Line\",function(){return M}),r.d(c,\"Marker\",function(){return L}),r.d(c,\"Path\",function(){return A}),r.d(c,\"Polygon\",function(){return J}),r.d(c,\"Polyline\",function(){return q}),r.d(c,\"Rect\",function(){return re}),r.d(c,\"Text\",function(){return Ie});var y={};r.r(y),r.d(y,\"Base\",function(){return a}),r.d(y,\"Circle\",function(){return h}),r.d(y,\"Dom\",function(){return l}),r.d(y,\"Ellipse\",function(){return s}),r.d(y,\"Image\",function(){return m}),r.d(y,\"Line\",function(){return M}),r.d(y,\"Marker\",function(){return L}),r.d(y,\"Path\",function(){return A}),r.d(y,\"Polygon\",function(){return J}),r.d(y,\"Polyline\",function(){return q}),r.d(y,\"Rect\",function(){return re}),r.d(y,\"Text\",function(){return Ie});var N=r(1),C=r(10),w=r(20),O=r(11),b=r(33),p=r(6),u=r(37),a=function(Le){function De(){var ce=Le!==null&&Le.apply(this,arguments)||this;return ce.type=\"svg\",ce.canFill=!1,ce.canStroke=!1,ce}return Object(N.__extends)(De,Le),De.prototype.getDefaultAttrs=function(){var ce=Le.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},ce),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},De.prototype.afterAttrsChange=function(ce){Le.prototype.afterAttrsChange.call(this,ce);var ye=this.get(\"canvas\");if(ye&&ye.get(\"autoDraw\")){var Oe=ye.get(\"context\");this.draw(Oe,ce)}},De.prototype.getShapeBase=function(){return y},De.prototype.getGroupBase=function(){return u.a},De.prototype.onCanvasChange=function(ce){Object(b.b)(this,ce)},De.prototype.calculateBBox=function(){var ce=this.get(\"el\"),ye=null;if(ce)ye=ce.getBBox();else{var Oe=Object(C.getBBoxMethod)(this.get(\"type\"));Oe&&(ye=Oe(this))}if(ye){var Ce=ye.x,oe=ye.y,he=ye.width,ie=ye.height,ae=this.getHitLineWidth(),ve=ae/2,X=Ce-ve,se=oe-ve;return{x:X,y:se,minX:X,minY:se,maxX:Ce+he+ve,maxY:oe+ie+ve,width:he+ae,height:ie+ae}}return{x:0,y:0,minX:0,minY:0,maxX:0,maxY:0,width:0,height:0}},De.prototype.isFill=function(){var ce=this.attr(),ye=ce.fill,Oe=ce.fillStyle;return(ye||Oe||this.isClipShape())&&this.canFill},De.prototype.isStroke=function(){var ce=this.attr(),ye=ce.stroke,Oe=ce.strokeStyle;return(ye||Oe)&&this.canStroke},De.prototype.draw=function(ce,ye){var Oe=this.get(\"el\");this.get(\"destroyed\")?Oe&&Oe.parentNode.removeChild(Oe):(Oe||Object(O.a)(this),Object(w.a)(this,ce),this.createPath(ce,ye),this.shadow(ce,ye),this.strokeAndFill(ce,ye),this.transform(ye))},De.prototype.createPath=function(ce,ye){},De.prototype.strokeAndFill=function(ce,ye){var Oe=ye||this.attr(),Ce=Oe.fill,oe=Oe.fillStyle,he=Oe.stroke,ie=Oe.strokeStyle,ae=Oe.fillOpacity,ve=Oe.strokeOpacity,X=Oe.lineWidth,se=this.get(\"el\");this.canFill&&(ye?\"fill\"in Oe?this._setColor(ce,\"fill\",Ce):\"fillStyle\"in Oe&&this._setColor(ce,\"fill\",oe):this._setColor(ce,\"fill\",Ce||oe),ae&&se.setAttribute(p.b.fillOpacity,ae)),this.canStroke&&X>0&&(ye?\"stroke\"in Oe?this._setColor(ce,\"stroke\",he):\"strokeStyle\"in Oe&&this._setColor(ce,\"stroke\",ie):this._setColor(ce,\"stroke\",he||ie),ve&&se.setAttribute(p.b.strokeOpacity,ve),X&&se.setAttribute(p.b.lineWidth,X))},De.prototype._setColor=function(ce,ye,Oe){var Ce=this.get(\"el\");if(Oe)if(Oe=Oe.trim(),/^[r,R,L,l]{1}[\\s]*\\(/.test(Oe))(oe=ce.find(\"gradient\",Oe))||(oe=ce.addGradient(Oe)),Ce.setAttribute(p.b[ye],\"url(#\"+oe+\")\");else if(/^[p,P]{1}[\\s]*\\(/.test(Oe)){var oe;(oe=ce.find(\"pattern\",Oe))||(oe=ce.addPattern(Oe)),Ce.setAttribute(p.b[ye],\"url(#\"+oe+\")\")}else Ce.setAttribute(p.b[ye],Oe);else Ce.setAttribute(p.b[ye],\"none\")},De.prototype.shadow=function(ce,ye){var Oe=this.attr(),Ce=ye||Oe,oe=Ce.shadowOffsetX,he=Ce.shadowOffsetY,ie=Ce.shadowBlur,ae=Ce.shadowColor;(oe||he||ie||ae)&&Object(w.b)(this,ce)},De.prototype.transform=function(ce){var ye=this.attr();(ce||ye).matrix&&Object(w.c)(this)},De.prototype.isInShape=function(ce,ye){return this.isPointInPath(ce,ye)},De.prototype.isPointInPath=function(ce,ye){var Oe=this.get(\"el\"),Ce=this.get(\"canvas\").get(\"el\").getBoundingClientRect(),oe=ce+Ce.left,he=ye+Ce.top,ie=document.elementFromPoint(oe,he);return!(!ie||!ie.isEqualNode(Oe))},De.prototype.getHitLineWidth=function(){var ce=this.attrs,ye=ce.lineWidth,Oe=ce.lineAppendWidth;return this.isStroke()?ye+Oe:0},De}(C.AbstractShape),f=r(0),h=function(Le){function De(){var ce=Le!==null&&Le.apply(this,arguments)||this;return ce.type=\"circle\",ce.canFill=!0,ce.canStroke=!0,ce}return Object(N.__extends)(De,Le),De.prototype.getDefaultAttrs=function(){var ce=Le.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},ce),{x:0,y:0,r:0})},De.prototype.createPath=function(ce,ye){var Oe=this.attr(),Ce=this.get(\"el\");Object(f.each)(ye||Oe,function(oe,he){he===\"x\"||he===\"y\"?Ce.setAttribute(\"c\"+he,oe):p.b[he]&&Ce.setAttribute(p.b[he],oe)})},De}(a),l=function(Le){function De(){var ce=Le!==null&&Le.apply(this,arguments)||this;return ce.type=\"dom\",ce.canFill=!1,ce.canStroke=!1,ce}return Object(N.__extends)(De,Le),De.prototype.createPath=function(ce,ye){var Oe=this.attr(),Ce=this.get(\"el\");if(Object(f.each)(ye||Oe,function(ae,ve){p.b[ve]&&Ce.setAttribute(p.b[ve],ae)}),typeof Oe.html==\"function\"){var oe=Oe.html.call(this,Oe);if(oe instanceof Element||oe instanceof HTMLDocument){for(var he=Ce.childNodes,ie=he.length-1;ie>=0;ie--)Ce.removeChild(he[ie]);Ce.appendChild(oe)}else Ce.innerHTML=oe}else Ce.innerHTML=Oe.html},De}(a),s=function(Le){function De(){var ce=Le!==null&&Le.apply(this,arguments)||this;return ce.type=\"ellipse\",ce.canFill=!0,ce.canStroke=!0,ce}return Object(N.__extends)(De,Le),De.prototype.getDefaultAttrs=function(){var ce=Le.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},ce),{x:0,y:0,rx:0,ry:0})},De.prototype.createPath=function(ce,ye){var Oe=this.attr(),Ce=this.get(\"el\");Object(f.each)(ye||Oe,function(oe,he){he===\"x\"||he===\"y\"?Ce.setAttribute(\"c\"+he,oe):p.b[he]&&Ce.setAttribute(p.b[he],oe)})},De}(a),m=function(Le){function De(){var ce=Le!==null&&Le.apply(this,arguments)||this;return ce.type=\"image\",ce.canFill=!1,ce.canStroke=!1,ce}return Object(N.__extends)(De,Le),De.prototype.getDefaultAttrs=function(){var ce=Le.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},ce),{x:0,y:0,width:0,height:0})},De.prototype.createPath=function(ce,ye){var Oe=this,Ce=this.attr(),oe=this.get(\"el\");Object(f.each)(ye||Ce,function(he,ie){ie===\"img\"?Oe._setImage(Ce.img):p.b[ie]&&oe.setAttribute(p.b[ie],he)})},De.prototype.setAttr=function(ce,ye){this.attrs[ce]=ye,ce===\"img\"&&this._setImage(ye)},De.prototype._setImage=function(ce){var ye=this.attr(),Oe=this.get(\"el\");if(Object(f.isString)(ce))Oe.setAttribute(\"href\",ce);else if(ce instanceof window.Image)ye.width||(Oe.setAttribute(\"width\",ce.width),this.attr(\"width\",ce.width)),ye.height||(Oe.setAttribute(\"height\",ce.height),this.attr(\"height\",ce.height)),Oe.setAttribute(\"href\",ce.src);else if(ce instanceof HTMLElement&&Object(f.isString)(ce.nodeName)&&ce.nodeName.toUpperCase()===\"CANVAS\")Oe.setAttribute(\"href\",ce.toDataURL());else if(ce instanceof ImageData){var Ce=document.createElement(\"canvas\");Ce.setAttribute(\"width\",\"\"+ce.width),Ce.setAttribute(\"height\",\"\"+ce.height),Ce.getContext(\"2d\").putImageData(ce,0,0),ye.width||(Oe.setAttribute(\"width\",\"\"+ce.width),this.attr(\"width\",ce.width)),ye.height||(Oe.setAttribute(\"height\",\"\"+ce.height),this.attr(\"height\",ce.height)),Oe.setAttribute(\"href\",Ce.toDataURL())}},De}(a),x=r(9),M=function(Le){function De(){var ce=Le!==null&&Le.apply(this,arguments)||this;return ce.type=\"line\",ce.canFill=!1,ce.canStroke=!0,ce}return Object(N.__extends)(De,Le),De.prototype.getDefaultAttrs=function(){var ce=Le.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},ce),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},De.prototype.createPath=function(ce,ye){var Oe=this.attr(),Ce=this.get(\"el\");Object(f.each)(ye||Oe,function(oe,he){if(he===\"startArrow\"||he===\"endArrow\")if(oe){var ie=Object(f.isObject)(oe)?ce.addArrow(Oe,p.b[he]):ce.getDefaultArrow(Oe,p.b[he]);Ce.setAttribute(p.b[he],\"url(#\"+ie+\")\")}else Ce.removeAttribute(p.b[he]);else p.b[he]&&Ce.setAttribute(p.b[he],oe)})},De.prototype.getTotalLength=function(){var ce=this.attr(),ye=ce.x1,Oe=ce.y1,Ce=ce.x2,oe=ce.y2;return x.c.length(ye,Oe,Ce,oe)},De.prototype.getPoint=function(ce){var ye=this.attr(),Oe=ye.x1,Ce=ye.y1,oe=ye.x2,he=ye.y2;return x.c.pointAt(Oe,Ce,oe,he,ce)},De}(a),E={circle:function(Le,De,ce){return[[\"M\",Le,De],[\"m\",-ce,0],[\"a\",ce,ce,0,1,0,2*ce,0],[\"a\",ce,ce,0,1,0,2*-ce,0]]},square:function(Le,De,ce){return[[\"M\",Le-ce,De-ce],[\"L\",Le+ce,De-ce],[\"L\",Le+ce,De+ce],[\"L\",Le-ce,De+ce],[\"Z\"]]},diamond:function(Le,De,ce){return[[\"M\",Le-ce,De],[\"L\",Le,De-ce],[\"L\",Le+ce,De],[\"L\",Le,De+ce],[\"Z\"]]},triangle:function(Le,De,ce){var ye=ce*Math.sin(.3333333333333333*Math.PI);return[[\"M\",Le-ce,De+ye],[\"L\",Le,De-ye],[\"L\",Le+ce,De+ye],[\"z\"]]},triangleDown:function(Le,De,ce){var ye=ce*Math.sin(.3333333333333333*Math.PI);return[[\"M\",Le-ce,De-ye],[\"L\",Le+ce,De-ye],[\"L\",Le,De+ye],[\"Z\"]]}},j={get:function(Le){return E[Le]},register:function(Le,De){E[Le]=De},remove:function(Le){delete E[Le]},getAll:function(){return E}},L=function(Le){function De(){var ce=Le!==null&&Le.apply(this,arguments)||this;return ce.type=\"marker\",ce.canFill=!0,ce.canStroke=!0,ce}return Object(N.__extends)(De,Le),De.prototype.createPath=function(ce){this.get(\"el\").setAttribute(\"d\",this._assembleMarker())},De.prototype._assembleMarker=function(){var ce=this._getPath();return Object(f.isArray)(ce)?ce.map(function(ye){return ye.join(\" \")}).join(\"\"):ce},De.prototype._getPath=function(){var ce,ye=this.attr(),Oe=ye.x,Ce=ye.y,oe=ye.r||ye.radius,he=ye.symbol||\"circle\";return(ce=Object(f.isFunction)(he)?he:j.get(he))?ce(Oe,Ce,oe):(console.warn(ce+\" symbol is not exist.\"),null)},De.symbolsFactory=j,De}(a),A=function(Le){function De(){var ce=Le!==null&&Le.apply(this,arguments)||this;return ce.type=\"path\",ce.canFill=!0,ce.canStroke=!0,ce}return Object(N.__extends)(De,Le),De.prototype.getDefaultAttrs=function(){var ce=Le.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},ce),{startArrow:!1,endArrow:!1})},De.prototype.createPath=function(ce,ye){var Oe=this,Ce=this.attr(),oe=this.get(\"el\");Object(f.each)(ye||Ce,function(he,ie){if(ie===\"path\"&&Object(f.isArray)(he))oe.setAttribute(\"d\",Oe._formatPath(he));else if(ie===\"startArrow\"||ie===\"endArrow\")if(he){var ae=Object(f.isObject)(he)?ce.addArrow(Ce,p.b[ie]):ce.getDefaultArrow(Ce,p.b[ie]);oe.setAttribute(p.b[ie],\"url(#\"+ae+\")\")}else oe.removeAttribute(p.b[ie]);else p.b[ie]&&oe.setAttribute(p.b[ie],he)})},De.prototype._formatPath=function(ce){var ye=ce.map(function(Oe){return Oe.join(\" \")}).join(\"\");return~ye.indexOf(\"NaN\")?\"\":ye},De.prototype.getTotalLength=function(){var ce=this.get(\"el\");return ce?ce.getTotalLength():null},De.prototype.getPoint=function(ce){var ye=this.get(\"el\"),Oe=this.getTotalLength();if(Oe===0)return null;var Ce=ye?ye.getPointAtLength(ce*Oe):null;return Ce?{x:Ce.x,y:Ce.y}:null},De}(a),J=function(Le){function De(){var ce=Le!==null&&Le.apply(this,arguments)||this;return ce.type=\"polygon\",ce.canFill=!0,ce.canStroke=!0,ce}return Object(N.__extends)(De,Le),De.prototype.createPath=function(ce,ye){var Oe=this.attr(),Ce=this.get(\"el\");Object(f.each)(ye||Oe,function(oe,he){he===\"points\"&&Object(f.isArray)(oe)&&oe.length>=2?Ce.setAttribute(\"points\",oe.map(function(ie){return ie[0]+\",\"+ie[1]}).join(\" \")):p.b[he]&&Ce.setAttribute(p.b[he],oe)})},De}(a),q=function(Le){function De(){var ce=Le!==null&&Le.apply(this,arguments)||this;return ce.type=\"polyline\",ce.canFill=!0,ce.canStroke=!0,ce}return Object(N.__extends)(De,Le),De.prototype.getDefaultAttrs=function(){var ce=Le.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},ce),{startArrow:!1,endArrow:!1})},De.prototype.onAttrChange=function(ce,ye,Oe){Le.prototype.onAttrChange.call(this,ce,ye,Oe),[\"points\"].indexOf(ce)!==-1&&this._resetCache()},De.prototype._resetCache=function(){this.set(\"totalLength\",null),this.set(\"tCache\",null)},De.prototype.createPath=function(ce,ye){var Oe=this.attr(),Ce=this.get(\"el\");Object(f.each)(ye||Oe,function(oe,he){he===\"points\"&&Object(f.isArray)(oe)&&oe.length>=2?Ce.setAttribute(\"points\",oe.map(function(ie){return ie[0]+\",\"+ie[1]}).join(\" \")):p.b[he]&&Ce.setAttribute(p.b[he],oe)})},De.prototype.getTotalLength=function(){var ce=this.attr().points,ye=this.get(\"totalLength\");return Object(f.isNil)(ye)?(this.set(\"totalLength\",x.d.length(ce)),this.get(\"totalLength\")):ye},De.prototype.getPoint=function(ce){var ye,Oe,Ce=this.attr().points,oe=this.get(\"tCache\");return oe||(this._setTcache(),oe=this.get(\"tCache\")),Object(f.each)(oe,function(he,ie){ce>=he[0]&&ce<=he[1]&&(ye=(ce-he[0])/(he[1]-he[0]),Oe=ie)}),x.c.pointAt(Ce[Oe][0],Ce[Oe][1],Ce[Oe+1][0],Ce[Oe+1][1],ye)},De.prototype._setTcache=function(){var ce=this.attr().points;if(ce&&ce.length!==0){var ye=this.getTotalLength();if(!(ye<=0)){var Oe,Ce,oe=0,he=[];Object(f.each)(ce,function(ie,ae){ce[ae+1]&&((Oe=[])[0]=oe/ye,Ce=x.c.length(ie[0],ie[1],ce[ae+1][0],ce[ae+1][1]),oe+=Ce,Oe[1]=oe/ye,he.push(Oe))}),this.set(\"tCache\",he)}}},De.prototype.getStartTangent=function(){var ce=this.attr().points,ye=[];return ye.push([ce[1][0],ce[1][1]]),ye.push([ce[0][0],ce[0][1]]),ye},De.prototype.getEndTangent=function(){var ce=this.attr().points,ye=ce.length-1,Oe=[];return Oe.push([ce[ye-1][0],ce[ye-1][1]]),Oe.push([ce[ye][0],ce[ye][1]]),Oe},De}(a),re=function(Le){function De(){var ce=Le!==null&&Le.apply(this,arguments)||this;return ce.type=\"rect\",ce.canFill=!0,ce.canStroke=!0,ce}return Object(N.__extends)(De,Le),De.prototype.getDefaultAttrs=function(){var ce=Le.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},ce),{x:0,y:0,width:0,height:0,radius:0})},De.prototype.createPath=function(ce,ye){var Oe=this,Ce=this.attr(),oe=this.get(\"el\"),he=!1,ie=[\"x\",\"y\",\"width\",\"height\",\"radius\"];Object(f.each)(ye||Ce,function(ae,ve){ie.indexOf(ve)===-1||he?ie.indexOf(ve)===-1&&p.b[ve]&&oe.setAttribute(p.b[ve],ae):(oe.setAttribute(\"d\",Oe._assembleRect(Ce)),he=!0)})},De.prototype._assembleRect=function(ce){var ye=ce.x,Oe=ce.y,Ce=ce.width,oe=ce.height,he=ce.radius;if(!he)return\"M \"+ye+\",\"+Oe+\" l \"+Ce+\",0 l 0,\"+oe+\" l\"+-Ce+\" 0 z\";var ie=function(ae){var ve=0,X=0,se=0,fe=0;return Object(f.isArray)(ae)?ae.length===1?ve=X=se=fe=ae[0]:ae.length===2?(ve=se=ae[0],X=fe=ae[1]):ae.length===3?(ve=ae[0],X=fe=ae[1],se=ae[2]):(ve=ae[0],X=ae[1],se=ae[2],fe=ae[3]):ve=X=se=fe=ae,{r1:ve,r2:X,r3:se,r4:fe}}(he);return Object(f.isArray)(he)?he.length===1?ie.r1=ie.r2=ie.r3=ie.r4=he[0]:he.length===2?(ie.r1=ie.r3=he[0],ie.r2=ie.r4=he[1]):he.length===3?(ie.r1=he[0],ie.r2=ie.r4=he[1],ie.r3=he[2]):(ie.r1=he[0],ie.r2=he[1],ie.r3=he[2],ie.r4=he[3]):ie.r1=ie.r2=ie.r3=ie.r4=he,[[\"M \"+(ye+ie.r1)+\",\"+Oe],[\"l \"+(Ce-ie.r1-ie.r2)+\",0\"],[\"a \"+ie.r2+\",\"+ie.r2+\",0,0,1,\"+ie.r2+\",\"+ie.r2],[\"l 0,\"+(oe-ie.r2-ie.r3)],[\"a \"+ie.r3+\",\"+ie.r3+\",0,0,1,\"+-ie.r3+\",\"+ie.r3],[\"l \"+(ie.r3+ie.r4-Ce)+\",0\"],[\"a \"+ie.r4+\",\"+ie.r4+\",0,0,1,\"+-ie.r4+\",\"+-ie.r4],[\"l 0,\"+(ie.r4+ie.r1-oe)],[\"a \"+ie.r1+\",\"+ie.r1+\",0,0,1,\"+ie.r1+\",\"+-ie.r1],[\"z\"]].join(\" \")},De}(a),me=r(55),Te={top:\"before-edge\",middle:\"central\",bottom:\"after-edge\",alphabetic:\"baseline\",hanging:\"hanging\"},ee={top:\"text-before-edge\",middle:\"central\",bottom:\"text-after-edge\",alphabetic:\"alphabetic\",hanging:\"hanging\"},xe={left:\"left\",start:\"left\",center:\"middle\",right:\"end\",end:\"end\"},Ie=function(Le){function De(){var ce=Le!==null&&Le.apply(this,arguments)||this;return ce.type=\"text\",ce.canFill=!0,ce.canStroke=!0,ce}return Object(N.__extends)(De,Le),De.prototype.getDefaultAttrs=function(){var ce=Le.prototype.getDefaultAttrs.call(this);return Object(N.__assign)(Object(N.__assign)({},ce),{x:0,y:0,text:null,fontSize:12,fontFamily:\"sans-serif\",fontStyle:\"normal\",fontWeight:\"normal\",fontVariant:\"normal\",textAlign:\"start\",textBaseline:\"bottom\"})},De.prototype.createPath=function(ce,ye){var Oe=this,Ce=this.attr(),oe=this.get(\"el\");this._setFont(),Object(f.each)(ye||Ce,function(he,ie){ie===\"text\"?Oe._setText(\"\"+he):ie===\"matrix\"&&he?Object(w.c)(Oe):p.b[ie]&&oe.setAttribute(p.b[ie],he)}),oe.setAttribute(\"paint-order\",\"stroke\"),oe.setAttribute(\"style\",\"stroke-linecap:butt; stroke-linejoin:miter;\")},De.prototype._setFont=function(){var ce=this.get(\"el\"),ye=this.attr(),Oe=ye.textBaseline,Ce=ye.textAlign,oe=Object(me.a)();oe&&oe.name===\"firefox\"?ce.setAttribute(\"dominant-baseline\",ee[Oe]||\"alphabetic\"):ce.setAttribute(\"alignment-baseline\",Te[Oe]||\"baseline\"),ce.setAttribute(\"text-anchor\",xe[Ce]||\"left\")},De.prototype._setText=function(ce){var ye=this.get(\"el\"),Oe=this.attr(),Ce=Oe.x,oe=Oe.textBaseline,he=oe===void 0?\"bottom\":oe;if(ce)if(~ce.indexOf(`\n`)){var ie=ce.split(`\n`),ae=ie.length-1,ve=\"\";Object(f.each)(ie,function(X,se){se===0?he===\"alphabetic\"?ve+='<tspan x=\"'+Ce+'\" dy=\"'+-ae+'em\">'+X+\"</tspan>\":he===\"top\"?ve+='<tspan x=\"'+Ce+'\" dy=\"0.9em\">'+X+\"</tspan>\":he===\"middle\"?ve+='<tspan x=\"'+Ce+'\" dy=\"'+-(ae-1)/2+'em\">'+X+\"</tspan>\":he===\"bottom\"?ve+='<tspan x=\"'+Ce+'\" dy=\"-'+(ae+.3)+'em\">'+X+\"</tspan>\":he===\"hanging\"&&(ve+='<tspan x=\"'+Ce+'\" dy=\"'+(-(ae-1)-.3)+'em\">'+X+\"</tspan>\"):ve+='<tspan x=\"'+Ce+'\" dy=\"1em\">'+X+\"</tspan>\"}),ye.innerHTML=ve}else ye.innerHTML=ce;else ye.innerHTML=\"\"},De}(a)},function(Ee,c,r){\"use strict\";r.r(c),r.d(c,\"create\",function(){return N}),r.d(c,\"clone\",function(){return C}),r.d(c,\"fromValues\",function(){return w}),r.d(c,\"copy\",function(){return O}),r.d(c,\"set\",function(){return b}),r.d(c,\"add\",function(){return p}),r.d(c,\"subtract\",function(){return u}),r.d(c,\"multiply\",function(){return a}),r.d(c,\"divide\",function(){return f}),r.d(c,\"ceil\",function(){return h}),r.d(c,\"floor\",function(){return l}),r.d(c,\"min\",function(){return s}),r.d(c,\"max\",function(){return m}),r.d(c,\"round\",function(){return x}),r.d(c,\"scale\",function(){return M}),r.d(c,\"scaleAndAdd\",function(){return E}),r.d(c,\"distance\",function(){return j}),r.d(c,\"squaredDistance\",function(){return L}),r.d(c,\"length\",function(){return A}),r.d(c,\"squaredLength\",function(){return J}),r.d(c,\"negate\",function(){return q}),r.d(c,\"inverse\",function(){return re}),r.d(c,\"normalize\",function(){return me}),r.d(c,\"dot\",function(){return Te}),r.d(c,\"cross\",function(){return ee}),r.d(c,\"lerp\",function(){return xe}),r.d(c,\"random\",function(){return Ie}),r.d(c,\"transformMat2\",function(){return Le}),r.d(c,\"transformMat2d\",function(){return De}),r.d(c,\"transformMat3\",function(){return ce}),r.d(c,\"transformMat4\",function(){return ye}),r.d(c,\"rotate\",function(){return Oe}),r.d(c,\"angle\",function(){return Ce}),r.d(c,\"zero\",function(){return oe}),r.d(c,\"str\",function(){return he}),r.d(c,\"exactEquals\",function(){return ie}),r.d(c,\"equals\",function(){return ae}),r.d(c,\"len\",function(){return X}),r.d(c,\"sub\",function(){return se}),r.d(c,\"mul\",function(){return fe}),r.d(c,\"div\",function(){return _e}),r.d(c,\"dist\",function(){return be}),r.d(c,\"sqrDist\",function(){return We}),r.d(c,\"sqrLen\",function(){return we}),r.d(c,\"forEach\",function(){return Ze});var y=r(2);function N(){var Ve=new y.ARRAY_TYPE(2);return y.ARRAY_TYPE!=Float32Array&&(Ve[0]=0,Ve[1]=0),Ve}function C(Ve){var et=new y.ARRAY_TYPE(2);return et[0]=Ve[0],et[1]=Ve[1],et}function w(Ve,et){var ht=new y.ARRAY_TYPE(2);return ht[0]=Ve,ht[1]=et,ht}function O(Ve,et){return Ve[0]=et[0],Ve[1]=et[1],Ve}function b(Ve,et,ht){return Ve[0]=et,Ve[1]=ht,Ve}function p(Ve,et,ht){return Ve[0]=et[0]+ht[0],Ve[1]=et[1]+ht[1],Ve}function u(Ve,et,ht){return Ve[0]=et[0]-ht[0],Ve[1]=et[1]-ht[1],Ve}function a(Ve,et,ht){return Ve[0]=et[0]*ht[0],Ve[1]=et[1]*ht[1],Ve}function f(Ve,et,ht){return Ve[0]=et[0]/ht[0],Ve[1]=et[1]/ht[1],Ve}function h(Ve,et){return Ve[0]=Math.ceil(et[0]),Ve[1]=Math.ceil(et[1]),Ve}function l(Ve,et){return Ve[0]=Math.floor(et[0]),Ve[1]=Math.floor(et[1]),Ve}function s(Ve,et,ht){return Ve[0]=Math.min(et[0],ht[0]),Ve[1]=Math.min(et[1],ht[1]),Ve}function m(Ve,et,ht){return Ve[0]=Math.max(et[0],ht[0]),Ve[1]=Math.max(et[1],ht[1]),Ve}function x(Ve,et){return Ve[0]=Math.round(et[0]),Ve[1]=Math.round(et[1]),Ve}function M(Ve,et,ht){return Ve[0]=et[0]*ht,Ve[1]=et[1]*ht,Ve}function E(Ve,et,ht,Fe){return Ve[0]=et[0]+ht[0]*Fe,Ve[1]=et[1]+ht[1]*Fe,Ve}function j(Ve,et){var ht=et[0]-Ve[0],Fe=et[1]-Ve[1];return Math.hypot(ht,Fe)}function L(Ve,et){var ht=et[0]-Ve[0],Fe=et[1]-Ve[1];return ht*ht+Fe*Fe}function A(Ve){var et=Ve[0],ht=Ve[1];return Math.hypot(et,ht)}function J(Ve){var et=Ve[0],ht=Ve[1];return et*et+ht*ht}function q(Ve,et){return Ve[0]=-et[0],Ve[1]=-et[1],Ve}function re(Ve,et){return Ve[0]=1/et[0],Ve[1]=1/et[1],Ve}function me(Ve,et){var ht=et[0],Fe=et[1],mt=ht*ht+Fe*Fe;return mt>0&&(mt=1/Math.sqrt(mt)),Ve[0]=et[0]*mt,Ve[1]=et[1]*mt,Ve}function Te(Ve,et){return Ve[0]*et[0]+Ve[1]*et[1]}function ee(Ve,et,ht){var Fe=et[0]*ht[1]-et[1]*ht[0];return Ve[0]=Ve[1]=0,Ve[2]=Fe,Ve}function xe(Ve,et,ht,Fe){var mt=et[0],dt=et[1];return Ve[0]=mt+Fe*(ht[0]-mt),Ve[1]=dt+Fe*(ht[1]-dt),Ve}function Ie(Ve,et){et=et||1;var ht=2*y.RANDOM()*Math.PI;return Ve[0]=Math.cos(ht)*et,Ve[1]=Math.sin(ht)*et,Ve}function Le(Ve,et,ht){var Fe=et[0],mt=et[1];return Ve[0]=ht[0]*Fe+ht[2]*mt,Ve[1]=ht[1]*Fe+ht[3]*mt,Ve}function De(Ve,et,ht){var Fe=et[0],mt=et[1];return Ve[0]=ht[0]*Fe+ht[2]*mt+ht[4],Ve[1]=ht[1]*Fe+ht[3]*mt+ht[5],Ve}function ce(Ve,et,ht){var Fe=et[0],mt=et[1];return Ve[0]=ht[0]*Fe+ht[3]*mt+ht[6],Ve[1]=ht[1]*Fe+ht[4]*mt+ht[7],Ve}function ye(Ve,et,ht){var Fe=et[0],mt=et[1];return Ve[0]=ht[0]*Fe+ht[4]*mt+ht[12],Ve[1]=ht[1]*Fe+ht[5]*mt+ht[13],Ve}function Oe(Ve,et,ht,Fe){var mt=et[0]-ht[0],dt=et[1]-ht[1],Lt=Math.sin(Fe),lt=Math.cos(Fe);return Ve[0]=mt*lt-dt*Lt+ht[0],Ve[1]=mt*Lt+dt*lt+ht[1],Ve}function Ce(Ve,et){var ht=Ve[0],Fe=Ve[1],mt=et[0],dt=et[1],Lt=Math.sqrt(ht*ht+Fe*Fe)*Math.sqrt(mt*mt+dt*dt),lt=Lt&&(ht*mt+Fe*dt)/Lt;return Math.acos(Math.min(Math.max(lt,-1),1))}function oe(Ve){return Ve[0]=0,Ve[1]=0,Ve}function he(Ve){return\"vec2(\"+Ve[0]+\", \"+Ve[1]+\")\"}function ie(Ve,et){return Ve[0]===et[0]&&Ve[1]===et[1]}function ae(Ve,et){var ht=Ve[0],Fe=Ve[1],mt=et[0],dt=et[1];return Math.abs(ht-mt)<=y.EPSILON*Math.max(1,Math.abs(ht),Math.abs(mt))&&Math.abs(Fe-dt)<=y.EPSILON*Math.max(1,Math.abs(Fe),Math.abs(dt))}var ve,X=A,se=u,fe=a,_e=f,be=j,We=L,we=J,Ze=(ve=N(),function(Ve,et,ht,Fe,mt,dt){var Lt,lt;for(et||(et=2),ht||(ht=0),lt=Fe?Math.min(Fe*et+ht,Ve.length):Ve.length,Lt=ht;Lt<lt;Lt+=et)ve[0]=Ve[Lt],ve[1]=Ve[Lt+1],mt(ve,ve,dt),Ve[Lt]=ve[0],Ve[Lt+1]=ve[1];return Ve})},function(Ee,c,r){(function(y){var N,C,w,O;function b(p){return(b=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(u){return typeof u}:function(u){return u&&typeof Symbol==\"function\"&&u.constructor===Symbol&&u!==Symbol.prototype?\"symbol\":typeof u})(p)}O=function(){return function(p){var u={};function a(f){if(u[f])return u[f].exports;var h=u[f]={i:f,l:!1,exports:{}};return p[f].call(h.exports,h,h.exports,a),h.l=!0,h.exports}return a.m=p,a.c=u,a.d=function(f,h,l){a.o(f,h)||Object.defineProperty(f,h,{configurable:!1,enumerable:!0,get:l})},a.n=function(f){var h=f&&f.__esModule?function(){return f.default}:function(){return f};return a.d(h,\"a\",h),h},a.o=function(f,h){return Object.prototype.hasOwnProperty.call(f,h)},a.p=\"\",a(a.s=36)}([function(p,u,a){\"use strict\";var f=a(3);u.a=function(h){return Array.isArray?Array.isArray(h):Object(f.a)(h,\"Array\")}},function(p,u,a){\"use strict\";u.a=function(f){return f!==null&&typeof f!=\"function\"&&isFinite(f.length)}},function(p,u,a){\"use strict\";var f=a(3);u.a=function(h){return Object(f.a)(h,\"Function\")}},function(p,u,a){\"use strict\";var f={}.toString;u.a=function(h,l){return f.call(h)===\"[object \"+l+\"]\"}},function(p,u,a){\"use strict\";var f=a(3);u.a=function(h){return Object(f.a)(h,\"String\")}},function(p,u,a){\"use strict\";var f=a(3);u.a=function(h){return Object(f.a)(h,\"Number\")}},function(p,u,a){var f=a(38).mix;p.exports={assign:f,getHeight:function(h,l,s,m){return m===void 0&&(m=\"height\"),s===\"center\"?(h[m]+l[m])/2:h.height}}},function(p,u,a){\"use strict\";u.a=function(f){return f==null}},function(p,u,a){\"use strict\";var f=a(0),h=a(12);u.a=function(l,s){if(l){if(Object(f.a)(l))for(var m=0,x=l.length;m<x&&s(l[m],m)!==!1;m++);else if(Object(h.a)(l)){for(var M in l)if(l.hasOwnProperty(M)&&s(l[M],M)===!1)break}}}},function(p,u,a){\"use strict\";var f=a(7);u.a=function(h){return Object(f.a)(h)?\"\":h.toString()}},function(p,u,a){\"use strict\";var f=a(14),h=a(3);u.a=function(l){if(!Object(f.a)(l)||!Object(h.a)(l,\"Object\"))return!1;if(Object.getPrototypeOf(l)===null)return!0;for(var s=l;Object.getPrototypeOf(s)!==null;)s=Object.getPrototypeOf(s);return Object.getPrototypeOf(l)===s}},function(p,u,a){var f=a(18),h=function(){function l(s,m){m===void 0&&(m={}),this.options=m,this.rootNode=f(s,m)}return l.prototype.execute=function(){throw new Error(\"please override this method\")},l}();p.exports=h},function(p,u,a){\"use strict\";u.a=function(f){var h=b(f);return f!==null&&h===\"object\"||h===\"function\"}},function(p,u,a){\"use strict\";var f=a(1);u.a=function(h,l){return!!Object(f.a)(h)&&h.indexOf(l)>-1}},function(p,u,a){\"use strict\";u.a=function(f){return b(f)===\"object\"&&f!==null}},function(p,u,a){\"use strict\";var f=a(8),h=a(2),l=Object.values?function(s){return Object.values(s)}:function(s){var m=[];return Object(f.a)(s,function(x,M){Object(h.a)(s)&&M===\"prototype\"||m.push(x)}),m};u.a=l},function(p,u,a){\"use strict\";function f(h,l){for(var s in l)l.hasOwnProperty(s)&&s!==\"constructor\"&&l[s]!==void 0&&(h[s]=l[s])}u.a=function(h,l,s,m){return l&&f(h,l),s&&f(h,s),m&&f(h,m),h}},function(p,u,a){var f=a(35),h=[\"LR\",\"RL\",\"TB\",\"BT\",\"H\",\"V\"],l=[\"LR\",\"RL\",\"H\"],s=h[0];p.exports=function(m,x,M){var E=x.direction||s;if(x.isHorizontal=function(re){return l.indexOf(re)>-1}(E),E&&h.indexOf(E)===-1)throw new TypeError(\"Invalid direction: \"+E);if(E===h[0])M(m,x);else if(E===h[1])M(m,x),m.right2left();else if(E===h[2])M(m,x);else if(E===h[3])M(m,x),m.bottom2top();else if(E===h[4]||E===h[5]){var j=f(m,x),L=j.left,A=j.right;M(L,x),M(A,x),x.isHorizontal?L.right2left():L.bottom2top(),A.translate(L.x-A.x,L.y-A.y),m.x=L.x,m.y=A.y;var J=m.getBoundingBox();x.isHorizontal?J.top<0&&m.translate(0,-J.top):J.left<0&&m.translate(-J.left,0)}var q=x.fixedRoot;return q===void 0&&(q=!0),q&&m.translate(-(m.x+m.width/2+m.hgap),-(m.y+m.height/2+m.vgap)),m}},function(p,u,a){var f=a(6),h={getId:function(s){return s.id||s.name},getPreH:function(s){return s.preH||0},getPreV:function(s){return s.preV||0},getHGap:function(s){return s.hgap||18},getVGap:function(s){return s.vgap||18},getChildren:function(s){return s.children},getHeight:function(s){return s.height||36},getWidth:function(s){var m=s.label||\" \";return s.width||18*m.split(\"\").length}};function l(s,m){var x=this;if(x.vgap=x.hgap=0,s instanceof l)return s;x.data=s;var M=m.getHGap(s),E=m.getVGap(s);return x.preH=m.getPreH(s),x.preV=m.getPreV(s),x.width=m.getWidth(s),x.height=m.getHeight(s),x.width+=x.preH,x.height+=x.preV,x.id=m.getId(s),x.x=x.y=0,x.depth=0,x.children||(x.children=[]),x.addGap(M,E),x}f.assign(l.prototype,{isRoot:function(){return this.depth===0},isLeaf:function(){return this.children.length===0},addGap:function(s,m){this.hgap+=s,this.vgap+=m,this.width+=2*s,this.height+=2*m},eachNode:function(s){for(var m,x=[this];m=x.shift();)s(m),x=m.children.concat(x)},DFTraverse:function(s){this.eachNode(s)},BFTraverse:function(s){for(var m,x=[this];m=x.shift();)s(m),x=x.concat(m.children)},getBoundingBox:function(){var s={left:Number.MAX_VALUE,top:Number.MAX_VALUE,width:0,height:0};return this.eachNode(function(m){s.left=Math.min(s.left,m.x),s.top=Math.min(s.top,m.y),s.width=Math.max(s.width,m.x+m.width),s.height=Math.max(s.height,m.y+m.height)}),s},translate:function(s,m){s===void 0&&(s=0),m===void 0&&(m=0),this.eachNode(function(x){x.x+=s,x.y+=m,x.x+=x.preH,x.y+=x.preV})},right2left:function(){var s=this.getBoundingBox();this.eachNode(function(m){m.x=m.x-2*(m.x-s.left)-m.width}),this.translate(s.width,0)},bottom2top:function(){var s=this.getBoundingBox();this.eachNode(function(m){m.y=m.y-2*(m.y-s.top)-m.height}),this.translate(0,s.height)}}),p.exports=function(s,m,x){m===void 0&&(m={});var M,E=new l(s,m=f.assign({},h,m)),j=[E];if(!x&&!s.collapsed){for(;M=j.shift();)if(!M.data.collapsed){var L=m.getChildren(M.data),A=L?L.length:0;if(M.children=new Array(A),L&&A)for(var J=0;J<A;J++){var q=new l(L[J],m);M.children[J]=q,j.push(q),q.parent=M,q.depth=M.depth+1}}}return E}},function(p,u,a){\"use strict\";var f=a(1);u.a=function(h,l){if(!Object(f.a)(h))return h;for(var s=[],m=0;m<h.length;m++){var x=h[m];l(x,m)&&s.push(x)}return s}},function(p,u,a){\"use strict\";var f=a(7),h=a(21);u.a=function(l,s){var m=Object(h.a)(s),x=m.length;if(Object(f.a)(l))return!x;for(var M=0;M<x;M+=1){var E=m[M];if(s[E]!==l[E]||!(E in l))return!1}return!0}},function(p,u,a){\"use strict\";var f=a(8),h=a(2),l=Object.keys?function(s){return Object.keys(s)}:function(s){var m=[];return Object(f.a)(s,function(x,M){Object(h.a)(s)&&M===\"prototype\"||m.push(M)}),m};u.a=l},function(p,u,a){\"use strict\";var f=a(0);u.a=function(h){if(Object(f.a)(h))return h.reduce(function(l,s){return Math.max(l,s)},h[0])}},function(p,u,a){\"use strict\";var f=a(0);u.a=function(h){if(Object(f.a)(h))return h.reduce(function(l,s){return Math.min(l,s)},h[0])}},function(p,u,a){\"use strict\";var f=a(1),h=Array.prototype.splice;u.a=function(l,s){if(!Object(f.a)(l))return[];for(var m=l?s.length:0,x=m-1;m--;){var M=void 0,E=s[m];m!==x&&E===M||(M=E,h.call(l,E,1))}return l}},function(p,u,a){\"use strict\";var f=a(8),h=a(0),l=a(10);u.a=function(s,m,x){if(!Object(h.a)(s)&&!Object(l.a)(s))return s;var M=x;return Object(f.a)(s,function(E,j){M=m(M,E,j)}),M}},function(p,u,a){\"use strict\";u.a=function(f,h){h===void 0&&(h=new Map);var l=[];if(Array.isArray(f))for(var s=0,m=f.length;s<m;s++){var x=f[s];h.has(x)||(l.push(x),h.set(x,!0))}return l}},function(p,u,a){\"use strict\";u.a=function(s,m){if(!m)return{0:s};if(!Object(h.a)(m)){var x=Object(f.a)(m)?m:m.replace(/\\s+/g,\"\").split(\"*\");m=function(M){for(var E=\"_\",j=0,L=x.length;j<L;j++)E+=M[x[j]]&&M[x[j]].toString();return E}}return Object(l.a)(s,m)};var f=a(0),h=a(2),l=a(28)},function(p,u,a){\"use strict\";var f=a(0),h=a(2),l=Object.prototype.hasOwnProperty;u.a=function(s,m){if(!m||!Object(f.a)(s))return{};for(var x,M={},E=Object(h.a)(m)?m:function(A){return A[m]},j=0;j<s.length;j++){var L=s[j];x=E(L),l.call(M,x)?M[x].push(L):M[x]=[L]}return M}},function(p,u,a){\"use strict\";u.a=function(f,h){return f.hasOwnProperty(h)}},function(p,u,a){\"use strict\";var f={}.toString;u.a=function(h){return f.call(h).replace(/^\\[object /,\"\").replace(/]$/,\"\")}},function(p,u,a){\"use strict\";var f=Object.prototype;u.a=function(h){var l=h&&h.constructor;return h===(typeof l==\"function\"&&l.prototype||f)}},function(p,u,a){\"use strict\";var f=a(2);u.a=function(h,l){if(!Object(f.a)(h))throw new TypeError(\"Expected a function\");var s=function m(){for(var x=[],M=0;M<arguments.length;M++)x[M]=arguments[M];var E=l?l.apply(this,x):x[0],j=m.cache;if(j.has(E))return j.get(E);var L=h.apply(this,x);return j.set(E,L),L};return s.cache=new Map,s}},function(p,u,a){\"use strict\";var f=a(14),h=a(1),l=a(4);u.a=function s(m,x){if(m===x)return!0;if(!m||!x||Object(l.a)(m)||Object(l.a)(x))return!1;if(Object(h.a)(m)||Object(h.a)(x)){if(m.length!==x.length)return!1;for(var M=!0,E=0;E<m.length&&(M=s(m[E],x[E]));E++);return M}if(Object(f.a)(m)||Object(f.a)(x)){var j=Object.keys(m),L=Object.keys(x);if(j.length!==L.length)return!1;for(M=!0,E=0;E<j.length&&(M=s(m[j[E]],x[j[E]]));E++);return M}return!1}},function(p,u,a){\"use strict\";var f,h=a(116),l=a(15),s=a(32),m=a(4);u.a=Object(s.a)(function(x,M){M===void 0&&(M={});var E=M.fontSize,j=M.fontFamily,L=M.fontWeight,A=M.fontStyle,J=M.fontVariant;return f||(f=document.createElement(\"canvas\").getContext(\"2d\")),f.font=[A,J,L,E+\"px\",j].join(\" \"),f.measureText(Object(m.a)(x)?x:\"\").width},function(x,M){return M===void 0&&(M={}),Object(h.a)([x],Object(l.a)(M)).join(\"\")})},function(p,u,a){var f=a(18);p.exports=function(h,l){for(var s=f(h.data,l,!0),m=f(h.data,l,!0),x=h.children.length,M=Math.round(x/2),E=l.getSide||function(A,J){return J<M?\"right\":\"left\"},j=0;j<x;j++){var L=h.children[j];E(L,j)===\"right\"?m.children.push(L):s.children.push(L)}return s.eachNode(function(A){A.isRoot()||(A.side=\"left\")}),m.eachNode(function(A){A.isRoot()||(A.side=\"right\")}),{left:s,right:m}}},function(p,u,a){var f={compactBox:a(37),dendrogram:a(120),indented:a(122),mindmap:a(124)};p.exports=f},function(p,u,a){function f(E,j){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(L,A){return L.__proto__=A,L})(E,j)}var h=a(11),l=a(119),s=a(17),m=a(6),x=function(E){var j,L;function A(){return E.apply(this,arguments)||this}return L=E,(j=A).prototype=Object.create(L.prototype),j.prototype.constructor=j,f(j,L),A.prototype.execute=function(){return s(this.rootNode,this.options,l)},A}(h),M={};p.exports=function(E,j){return j=m.assign({},M,j),new x(E,j).execute()}},function(p,u,a){\"use strict\";Object.defineProperty(u,\"__esModule\",{value:!0});var f=a(13);a.d(u,\"contains\",function(){return f.a}),a.d(u,\"includes\",function(){return f.a});var h=a(39);a.d(u,\"difference\",function(){return h.a});var l=a(40);a.d(u,\"find\",function(){return l.a});var s=a(41);a.d(u,\"findIndex\",function(){return s.a});var m=a(42);a.d(u,\"firstValue\",function(){return m.a});var x=a(43);a.d(u,\"flatten\",function(){return x.a});var M=a(44);a.d(u,\"flattenDeep\",function(){return M.a});var E=a(45);a.d(u,\"getRange\",function(){return E.a});var j=a(46);a.d(u,\"pull\",function(){return j.a});var L=a(24);a.d(u,\"pullAt\",function(){return L.a});var A=a(25);a.d(u,\"reduce\",function(){return A.a});var J=a(47);a.d(u,\"remove\",function(){return J.a});var q=a(48);a.d(u,\"sortBy\",function(){return q.a});var re=a(49);a.d(u,\"union\",function(){return re.a});var me=a(26);a.d(u,\"uniq\",function(){return me.a});var Te=a(50);a.d(u,\"valuesOfKey\",function(){return Te.a});var ee=a(51);a.d(u,\"head\",function(){return ee.a});var xe=a(52);a.d(u,\"last\",function(){return xe.a});var Ie=a(53);a.d(u,\"startsWith\",function(){return Ie.a});var Le=a(54);a.d(u,\"endsWith\",function(){return Le.a});var De=a(19);a.d(u,\"filter\",function(){return De.a});var ce=a(55);a.d(u,\"every\",function(){return ce.a});var ye=a(56);a.d(u,\"some\",function(){return ye.a});var Oe=a(57);a.d(u,\"group\",function(){return Oe.a});var Ce=a(28);a.d(u,\"groupBy\",function(){return Ce.a});var oe=a(27);a.d(u,\"groupToMap\",function(){return oe.a});var he=a(58);a.d(u,\"getWrapBehavior\",function(){return he.a});var ie=a(59);a.d(u,\"wrapBehavior\",function(){return ie.a});var ae=a(60);a.d(u,\"number2color\",function(){return ae.a});var ve=a(61);a.d(u,\"parseRadius\",function(){return ve.a});var X=a(62);a.d(u,\"clamp\",function(){return X.a});var se=a(63);a.d(u,\"fixedBase\",function(){return se.a});var fe=a(64);a.d(u,\"isDecimal\",function(){return fe.a});var _e=a(65);a.d(u,\"isEven\",function(){return _e.a});var be=a(66);a.d(u,\"isInteger\",function(){return be.a});var We=a(67);a.d(u,\"isNegative\",function(){return We.a});var we=a(68);a.d(u,\"isNumberEqual\",function(){return we.a});var Ze=a(69);a.d(u,\"isOdd\",function(){return Ze.a});var Ve=a(70);a.d(u,\"isPositive\",function(){return Ve.a});var et=a(22);a.d(u,\"max\",function(){return et.a});var ht=a(71);a.d(u,\"maxBy\",function(){return ht.a});var Fe=a(23);a.d(u,\"min\",function(){return Fe.a});var mt=a(72);a.d(u,\"minBy\",function(){return mt.a});var dt=a(73);a.d(u,\"mod\",function(){return dt.a});var Lt=a(74);a.d(u,\"toDegree\",function(){return Lt.a});var lt=a(75);a.d(u,\"toInteger\",function(){return lt.a});var rn=a(76);a.d(u,\"toRadian\",function(){return rn.a});var qt=a(77);a.d(u,\"forIn\",function(){return qt.a});var hn=a(29);a.d(u,\"has\",function(){return hn.a});var Kt=a(78);a.d(u,\"hasKey\",function(){return Kt.a});var an=a(79);a.d(u,\"hasValue\",function(){return an.a});var In=a(21);a.d(u,\"keys\",function(){return In.a});var Ft=a(20);a.d(u,\"isMatch\",function(){return Ft.a});var kt=a(15);a.d(u,\"values\",function(){return kt.a});var At=a(80);a.d(u,\"lowerCase\",function(){return At.a});var Fn=a(81);a.d(u,\"lowerFirst\",function(){return Fn.a});var pn=a(82);a.d(u,\"substitute\",function(){return pn.a});var en=a(83);a.d(u,\"upperCase\",function(){return en.a});var Wn=a(84);a.d(u,\"upperFirst\",function(){return Wn.a});var Mn=a(30);a.d(u,\"getType\",function(){return Mn.a});var Kn=a(85);a.d(u,\"isArguments\",function(){return Kn.a});var hr=a(0);a.d(u,\"isArray\",function(){return hr.a});var pr=a(1);a.d(u,\"isArrayLike\",function(){return pr.a});var zr=a(86);a.d(u,\"isBoolean\",function(){return zr.a});var Wr=a(87);a.d(u,\"isDate\",function(){return Wr.a});var Nr=a(88);a.d(u,\"isError\",function(){return Nr.a});var Kr=a(2);a.d(u,\"isFunction\",function(){return Kr.a});var ko=a(89);a.d(u,\"isFinite\",function(){return ko.a});var Ur=a(7);a.d(u,\"isNil\",function(){return Ur.a});var gn=a(90);a.d(u,\"isNull\",function(){return gn.a});var Gt=a(5);a.d(u,\"isNumber\",function(){return Gt.a});var bt=a(12);a.d(u,\"isObject\",function(){return bt.a});var Zt=a(14);a.d(u,\"isObjectLike\",function(){return Zt.a});var gt=a(10);a.d(u,\"isPlainObject\",function(){return gt.a});var Wt=a(31);a.d(u,\"isPrototype\",function(){return Wt.a});var xn=a(91);a.d(u,\"isRegExp\",function(){return xn.a});var Dt=a(4);a.d(u,\"isString\",function(){return Dt.a});var Xn=a(3);a.d(u,\"isType\",function(){return Xn.a});var Rn=a(92);a.d(u,\"isUndefined\",function(){return Rn.a});var wt=a(93);a.d(u,\"isElement\",function(){return wt.a});var pt=a(94);a.d(u,\"requestAnimationFrame\",function(){return pt.a});var Ue=a(95);a.d(u,\"clearAnimationFrame\",function(){return Ue.a});var xt=a(96);a.d(u,\"augment\",function(){return xt.a});var cn=a(97);a.d(u,\"clone\",function(){return cn.a});var er=a(98);a.d(u,\"debounce\",function(){return er.a});var Mr=a(32);a.d(u,\"memoize\",function(){return Mr.a});var xr=a(99);a.d(u,\"deepMix\",function(){return xr.a});var jr=a(8);a.d(u,\"each\",function(){return jr.a});var yo=a(100);a.d(u,\"extend\",function(){return yo.a});var eo=a(101);a.d(u,\"indexOf\",function(){return eo.a});var vi=a(102);a.d(u,\"isEmpty\",function(){return vi.a});var Ti=a(33);a.d(u,\"isEqual\",function(){return Ti.a});var wi=a(103);a.d(u,\"isEqualWith\",function(){return wi.a});var mi=a(104);a.d(u,\"map\",function(){return mi.a});var Zi=a(105);a.d(u,\"mapValues\",function(){return Zi.a});var aa=a(16);a.d(u,\"mix\",function(){return aa.a}),a.d(u,\"assign\",function(){return aa.a});var $e=a(106);a.d(u,\"get\",function(){return $e.a});var dn=a(107);a.d(u,\"set\",function(){return dn.a});var Un=a(108);a.d(u,\"pick\",function(){return Un.a});var ar=a(109);a.d(u,\"omit\",function(){return ar.a});var Rr=a(110);a.d(u,\"throttle\",function(){return Rr.a});var Ro=a(111);a.d(u,\"toArray\",function(){return Ro.a});var Vo=a(9);a.d(u,\"toString\",function(){return Vo.a});var Co=a(112);a.d(u,\"uniqueId\",function(){return Co.a});var Mo=a(113);a.d(u,\"noop\",function(){return Mo.a});var qo=a(114);a.d(u,\"identity\",function(){return qo.a});var ti=a(115);a.d(u,\"size\",function(){return ti.a});var pi=a(34);a.d(u,\"measureTextWidth\",function(){return pi.a});var ni=a(117);a.d(u,\"getEllipsisText\",function(){return ni.a});var si=a(118);a.d(u,\"Cache\",function(){return si.a})},function(p,u,a){\"use strict\";var f=a(19),h=a(13);u.a=function(l,s){return s===void 0&&(s=[]),Object(f.a)(l,function(m){return!Object(h.a)(s,m)})}},function(p,u,a){\"use strict\";var f=a(2),h=a(20),l=a(0),s=a(10);u.a=function(m,x){if(!Object(l.a)(m))return null;var M;if(Object(f.a)(x)&&(M=x),Object(s.a)(x)&&(M=function(j){return Object(h.a)(j,x)}),M){for(var E=0;E<m.length;E+=1)if(M(m[E]))return m[E]}return null}},function(p,u,a){\"use strict\";u.a=function(f,h,l){l===void 0&&(l=0);for(var s=l;s<f.length;s++)if(h(f[s],s))return s;return-1}},function(p,u,a){\"use strict\";var f=a(7),h=a(0);u.a=function(l,s){for(var m=null,x=0;x<l.length;x++){var M=l[x][s];if(!Object(f.a)(M)){m=Object(h.a)(M)?M[0]:M;break}}return m}},function(p,u,a){\"use strict\";var f=a(0);u.a=function(h){if(!Object(f.a)(h))return[];for(var l=[],s=0;s<h.length;s++)l=l.concat(h[s]);return l}},function(p,u,a){\"use strict\";var f=a(0);u.a=function h(l,s){if(s===void 0&&(s=[]),Object(f.a)(l))for(var m=0;m<l.length;m+=1)h(l[m],s);else s.push(l);return s}},function(p,u,a){\"use strict\";var f=a(0),h=a(22),l=a(23);u.a=function(s){var m=s.filter(function(j){return!isNaN(j)});if(!m.length)return{min:0,max:0};if(Object(f.a)(s[0])){for(var x=[],M=0;M<s.length;M++)x=x.concat(s[M]);m=x}var E=Object(h.a)(m);return{min:Object(l.a)(m),max:E}}},function(p,u,a){\"use strict\";var f=Array.prototype,h=f.splice,l=f.indexOf;u.a=function(s){for(var m=[],x=1;x<arguments.length;x++)m[x-1]=arguments[x];for(var M=0;M<m.length;M++)for(var E=m[M],j=-1;(j=l.call(s,E))>-1;)h.call(s,j,1);return s}},function(p,u,a){\"use strict\";var f=a(1),h=a(24);u.a=function(l,s){var m=[];if(!Object(f.a)(l))return m;for(var x=-1,M=[],E=l.length;++x<E;){var j=l[x];s(j,x,l)&&(m.push(j),M.push(x))}return Object(h.a)(l,M),m}},function(p,u,a){\"use strict\";var f=a(0),h=a(4),l=a(2);u.a=function(s,m){var x;if(Object(l.a)(m))x=function(E,j){return m(E)-m(j)};else{var M=[];Object(h.a)(m)?M.push(m):Object(f.a)(m)&&(M=m),x=function(E,j){for(var L=0;L<M.length;L+=1){var A=M[L];if(E[A]>j[A])return 1;if(E[A]<j[A])return-1}return 0}}return s.sort(x),s}},function(p,u,a){\"use strict\";var f=a(26);u.a=function(){for(var h=[],l=0;l<arguments.length;l++)h[l]=arguments[l];return Object(f.a)([].concat.apply([],h))}},function(p,u,a){\"use strict\";var f=a(0),h=a(7);u.a=function(l,s){for(var m=[],x={},M=0;M<l.length;M++){var E=l[M][s];if(!Object(h.a)(E)){Object(f.a)(E)||(E=[E]);for(var j=0;j<E.length;j++){var L=E[j];x[L]||(m.push(L),x[L]=!0)}}}return m}},function(p,u,a){\"use strict\";u.a=function(h){if(Object(f.a)(h))return h[0]};var f=a(1)},function(p,u,a){\"use strict\";u.a=function(h){if(Object(f.a)(h))return h[h.length-1]};var f=a(1)},function(p,u,a){\"use strict\";var f=a(0),h=a(4);u.a=function(l,s){return!(!Object(f.a)(l)&&!Object(h.a)(l))&&l[0]===s}},function(p,u,a){\"use strict\";var f=a(0),h=a(4);u.a=function(l,s){return!(!Object(f.a)(l)&&!Object(h.a)(l))&&l[l.length-1]===s}},function(p,u,a){\"use strict\";u.a=function(f,h){for(var l=0;l<f.length;l++)if(!h(f[l],l))return!1;return!0}},function(p,u,a){\"use strict\";u.a=function(f,h){for(var l=0;l<f.length;l++)if(h(f[l],l))return!0;return!1}},function(p,u,a){\"use strict\";var f=a(27);u.a=function(h,l){if(!l)return[h];var s=Object(f.a)(h,l),m=[];for(var x in s)m.push(s[x]);return m}},function(p,u,a){\"use strict\";u.a=function(f,h){return f[\"_wrap_\"+h]}},function(p,u,a){\"use strict\";u.a=function(f,h){if(f[\"_wrap_\"+h])return f[\"_wrap_\"+h];var l=function(s){f[h](s)};return f[\"_wrap_\"+h]=l,l}},function(p,u,a){\"use strict\";var f={};u.a=function(h){var l=f[h];if(!l){for(var s=h.toString(16),m=s.length;m<6;m++)s=\"0\"+s;l=\"#\"+s,f[h]=l}return l}},function(p,u,a){\"use strict\";var f=a(0);u.a=function(h){var l=0,s=0,m=0,x=0;return Object(f.a)(h)?h.length===1?l=s=m=x=h[0]:h.length===2?(l=m=h[0],s=x=h[1]):h.length===3?(l=h[0],s=x=h[1],m=h[2]):(l=h[0],s=h[1],m=h[2],x=h[3]):l=s=m=x=h,{r1:l,r2:s,r3:m,r4:x}}},function(p,u,a){\"use strict\";u.a=function(f,h,l){return f<h?h:f>l?l:f}},function(p,u,a){\"use strict\";u.a=function(f,h){var l=h.toString(),s=l.indexOf(\".\");if(s===-1)return Math.round(f);var m=l.substr(s+1).length;return m>20&&(m=20),parseFloat(f.toFixed(m))}},function(p,u,a){\"use strict\";var f=a(5);u.a=function(h){return Object(f.a)(h)&&h%1!=0}},function(p,u,a){\"use strict\";var f=a(5);u.a=function(h){return Object(f.a)(h)&&h%2==0}},function(p,u,a){\"use strict\";var f=a(5),h=Number.isInteger?Number.isInteger:function(l){return Object(f.a)(l)&&l%1==0};u.a=h},function(p,u,a){\"use strict\";var f=a(5);u.a=function(h){return Object(f.a)(h)&&h<0}},function(p,u,a){\"use strict\";u.a=function(f,h,l){return l===void 0&&(l=1e-5),Math.abs(f-h)<l}},function(p,u,a){\"use strict\";var f=a(5);u.a=function(h){return Object(f.a)(h)&&h%2!=0}},function(p,u,a){\"use strict\";var f=a(5);u.a=function(h){return Object(f.a)(h)&&h>0}},function(p,u,a){\"use strict\";var f=a(0),h=a(2);u.a=function(l,s){if(Object(f.a)(l)){for(var m,x=-1/0,M=0;M<l.length;M++){var E=l[M],j=Object(h.a)(s)?s(E):E[s];j>x&&(m=E,x=j)}return m}}},function(p,u,a){\"use strict\";var f=a(0),h=a(2);u.a=function(l,s){if(Object(f.a)(l)){for(var m,x=1/0,M=0;M<l.length;M++){var E=l[M],j=Object(h.a)(s)?s(E):E[s];j<x&&(m=E,x=j)}return m}}},function(p,u,a){\"use strict\";u.a=function(f,h){return(f%h+h)%h}},function(p,u,a){\"use strict\";var f=180/Math.PI;u.a=function(h){return f*h}},function(p,u,a){\"use strict\";u.a=parseInt},function(p,u,a){\"use strict\";var f=Math.PI/180;u.a=function(h){return f*h}},function(p,u,a){\"use strict\";var f=a(8);u.a=f.a},function(p,u,a){\"use strict\";var f=a(29);u.a=f.a},function(p,u,a){\"use strict\";var f=a(13),h=a(15);u.a=function(l,s){return Object(f.a)(Object(h.a)(l),s)}},function(p,u,a){\"use strict\";var f=a(9);u.a=function(h){return Object(f.a)(h).toLowerCase()}},function(p,u,a){\"use strict\";var f=a(9);u.a=function(h){var l=Object(f.a)(h);return l.charAt(0).toLowerCase()+l.substring(1)}},function(p,u,a){\"use strict\";u.a=function(f,h){return f&&h?f.replace(/\\\\?\\{([^{}]+)\\}/g,function(l,s){return l.charAt(0)===\"\\\\\"?l.slice(1):h[s]===void 0?\"\":h[s]}):f}},function(p,u,a){\"use strict\";var f=a(9);u.a=function(h){return Object(f.a)(h).toUpperCase()}},function(p,u,a){\"use strict\";var f=a(9);u.a=function(h){var l=Object(f.a)(h);return l.charAt(0).toUpperCase()+l.substring(1)}},function(p,u,a){\"use strict\";var f=a(3);u.a=function(h){return Object(f.a)(h,\"Arguments\")}},function(p,u,a){\"use strict\";var f=a(3);u.a=function(h){return Object(f.a)(h,\"Boolean\")}},function(p,u,a){\"use strict\";var f=a(3);u.a=function(h){return Object(f.a)(h,\"Date\")}},function(p,u,a){\"use strict\";var f=a(3);u.a=function(h){return Object(f.a)(h,\"Error\")}},function(p,u,a){\"use strict\";var f=a(5);u.a=function(h){return Object(f.a)(h)&&isFinite(h)}},function(p,u,a){\"use strict\";u.a=function(f){return f===null}},function(p,u,a){\"use strict\";var f=a(3);u.a=function(h){return Object(f.a)(h,\"RegExp\")}},function(p,u,a){\"use strict\";u.a=function(f){return f===void 0}},function(p,u,a){\"use strict\";u.a=function(f){return f instanceof Element||f instanceof HTMLDocument}},function(p,u,a){\"use strict\";u.a=function(f){return(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(h){return setTimeout(h,16)})(f)}},function(p,u,a){\"use strict\";u.a=function(f){(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame||clearTimeout)(f)}},function(p,u,a){\"use strict\";var f=a(16),h=a(2);u.a=function(){for(var l=[],s=0;s<arguments.length;s++)l[s]=arguments[s];for(var m=l[0],x=1;x<l.length;x++){var M=l[x];Object(h.a)(M)&&(M=M.prototype),Object(f.a)(m.prototype,M)}}},function(p,u,a){\"use strict\";var f=a(0);u.a=function h(l){if(b(l)!==\"object\"||l===null)return l;var s;if(Object(f.a)(l)){s=[];for(var m=0,x=l.length;m<x;m++)b(l[m])===\"object\"&&l[m]!=null?s[m]=h(l[m]):s[m]=l[m]}else for(var M in s={},l)b(l[M])===\"object\"&&l[M]!=null?s[M]=h(l[M]):s[M]=l[M];return s}},function(p,u,a){\"use strict\";u.a=function(f,h,l){var s;return function(){var m=this,x=arguments,M=function(){s=null,l||f.apply(m,x)},E=l&&!s;clearTimeout(s),s=setTimeout(M,h),E&&f.apply(m,x)}}},function(p,u,a){\"use strict\";var f=a(0),h=a(10);function l(s,m,x,M){for(var E in x=x||0,M=M||5,m)if(m.hasOwnProperty(E)){var j=m[E];j!==null&&Object(h.a)(j)?(Object(h.a)(s[E])||(s[E]={}),x<M?l(s[E],j,x+1,M):s[E]=m[E]):Object(f.a)(j)?(s[E]=[],s[E]=s[E].concat(j)):j!==void 0&&(s[E]=j)}}u.a=function(s){for(var m=[],x=1;x<arguments.length;x++)m[x-1]=arguments[x];for(var M=0;M<m.length;M+=1)l(s,m[M]);return s}},function(p,u,a){\"use strict\";var f=a(16),h=a(2);u.a=function(l,s,m,x){Object(h.a)(s)||(m=s,s=l,l=function(){});var M=Object.create?function(j,L){return Object.create(j,{constructor:{value:L}})}:function(j,L){function A(){}A.prototype=j;var J=new A;return J.constructor=L,J},E=M(s.prototype,l);return l.prototype=Object(f.a)(E,l.prototype),l.superclass=M(s.prototype,s),Object(f.a)(E,m),Object(f.a)(l,x),l}},function(p,u,a){\"use strict\";var f=a(1);u.a=function(h,l){if(!Object(f.a)(h))return-1;var s=Array.prototype.indexOf;if(s)return s.call(h,l);for(var m=-1,x=0;x<h.length;x++)if(h[x]===l){m=x;break}return m}},function(p,u,a){\"use strict\";var f=a(7),h=a(1),l=a(30),s=a(31),m=Object.prototype.hasOwnProperty;u.a=function(x){if(Object(f.a)(x))return!0;if(Object(h.a)(x))return!x.length;var M=Object(l.a)(x);if(M===\"Map\"||M===\"Set\")return!x.size;if(Object(s.a)(x))return!Object.keys(x).length;for(var E in x)if(m.call(x,E))return!1;return!0}},function(p,u,a){\"use strict\";var f=a(2),h=a(33);u.a=function(l,s,m){return Object(f.a)(m)?!!m(l,s):Object(h.a)(l,s)}},function(p,u,a){\"use strict\";var f=a(1);u.a=function(h,l){if(!Object(f.a)(h))return h;for(var s=[],m=0;m<h.length;m++){var x=h[m];s.push(l(x,m))}return s}},function(p,u,a){\"use strict\";var f=a(7),h=a(12),l=function(s){return s};u.a=function(s,m){m===void 0&&(m=l);var x={};return Object(h.a)(s)&&!Object(f.a)(s)&&Object.keys(s).forEach(function(M){x[M]=m(s[M],M)}),x}},function(p,u,a){\"use strict\";var f=a(4);u.a=function(h,l,s){for(var m=0,x=Object(f.a)(l)?l.split(\".\"):l;h&&m<x.length;)h=h[x[m++]];return h===void 0||m<x.length?s:h}},function(p,u,a){\"use strict\";var f=a(12),h=a(4),l=a(5);u.a=function(s,m,x){var M=s,E=Object(h.a)(m)?m.split(\".\"):m;return E.forEach(function(j,L){L<E.length-1?(Object(f.a)(M[j])||(M[j]=Object(l.a)(E[L+1])?[]:{}),M=M[j]):M[j]=x}),s}},function(p,u,a){\"use strict\";var f=a(8),h=a(10),l=Object.prototype.hasOwnProperty;u.a=function(s,m){if(s===null||!Object(h.a)(s))return{};var x={};return Object(f.a)(m,function(M){l.call(s,M)&&(x[M]=s[M])}),x}},function(p,u,a){\"use strict\";var f=a(25);u.a=function(h,l){return Object(f.a)(h,function(s,m,x){return l.includes(x)||(s[x]=m),s},{})}},function(p,u,a){\"use strict\";u.a=function(f,h,l){var s,m,x,M,E=0;l||(l={});var j=function(){E=l.leading===!1?0:Date.now(),s=null,M=f.apply(m,x),s||(m=x=null)},L=function(){var A=Date.now();E||l.leading!==!1||(E=A);var J=h-(A-E);return m=this,x=arguments,J<=0||J>h?(s&&(clearTimeout(s),s=null),E=A,M=f.apply(m,x),s||(m=x=null)):s||l.trailing===!1||(s=setTimeout(j,J)),M};return L.cancel=function(){clearTimeout(s),E=0,s=m=x=null},L}},function(p,u,a){\"use strict\";var f=a(1);u.a=function(h){return Object(f.a)(h)?Array.prototype.slice.call(h):[]}},function(p,u,a){\"use strict\";var f={};u.a=function(h){return f[h=h||\"g\"]?f[h]+=1:f[h]=1,h+f[h]}},function(p,u,a){\"use strict\";u.a=function(){}},function(p,u,a){\"use strict\";u.a=function(f){return f}},function(p,u,a){\"use strict\";u.a=function(l){return Object(f.a)(l)?0:Object(h.a)(l)?l.length:Object.keys(l).length};var f=a(7),h=a(1)},function(p,u,a){\"use strict\";u.a=function(){for(var f=0,h=0,l=arguments.length;h<l;h++)f+=arguments[h].length;var s=Array(f),m=0;for(h=0;h<l;h++)for(var x=arguments[h],M=0,E=x.length;M<E;M++,m++)s[m]=x[M];return s}},function(p,u,a){\"use strict\";var f=a(4),h=a(9),l=a(34);u.a=function(s,m,x,M){M===void 0&&(M=\"...\");var E,j,L=Object(l.a)(M,x),A=Object(f.a)(s)?s:Object(h.a)(s),J=m,q=[];if(Object(l.a)(s,x)<=m)return s;for(;E=A.substr(0,16),!((j=Object(l.a)(E,x))+L>J&&j>J);)if(q.push(E),J-=j,!(A=A.substr(16)))return q.join(\"\");for(;E=A.substr(0,1),!((j=Object(l.a)(E,x))+L>J);)if(q.push(E),J-=j,!(A=A.substr(1)))return q.join(\"\");return\"\"+q.join(\"\")+M}},function(p,u,a){\"use strict\";var f=function(){function h(){this.map={}}return h.prototype.has=function(l){return this.map[l]!==void 0},h.prototype.get=function(l,s){var m=this.map[l];return m===void 0?s:m},h.prototype.set=function(l,s){this.map[l]=s},h.prototype.clear=function(){this.map={}},h.prototype.delete=function(l){delete this.map[l]},h.prototype.size=function(){return Object.keys(this.map).length},h}();u.a=f},function(p,u){function a(h,l,s,m){m===void 0&&(m=[]);var x=this;x.w=h||0,x.h=l||0,x.y=s||0,x.x=0,x.c=m||[],x.cs=m.length,x.prelim=0,x.mod=0,x.shift=0,x.change=0,x.tl=null,x.tr=null,x.el=null,x.er=null,x.msel=0,x.mser=0}function f(h,l){var s=function m(x,M){var E=M?x.y:x.x;return x.children.forEach(function(j){E=Math.min(m(j,M),E)}),E}(h,l);(function m(x,M,E){E?x.y+=M:x.x+=M,x.children.forEach(function(j){m(j,M,E)})})(h,-s,l)}a.fromNode=function(h,l){if(!h)return null;var s=[];return h.children.forEach(function(m){s.push(a.fromNode(m,l))}),l?new a(h.height,h.width,h.x,s):new a(h.width,h.height,h.y,s)},p.exports=function(h,l){l===void 0&&(l={});var s=l.isHorizontal;function m(q){q.cs===0?(q.el=q,q.er=q,q.msel=q.mser=0):(q.el=q.c[0].el,q.msel=q.c[0].msel,q.er=q.c[q.cs-1].er,q.mser=q.c[q.cs-1].mser)}function x(q,re,me){for(var Te=q.c[re-1],ee=Te.mod,xe=q.c[re],Ie=xe.mod;Te!==null&&xe!==null;){L(Te)>me.low&&(me=me.nxt);var Le=ee+Te.prelim+Te.w-(Ie+xe.prelim);Le>0&&(Ie+=Le,M(q,re,me.index,Le));var De=L(Te),ce=L(xe);De<=ce&&(Te=j(Te))!==null&&(ee+=Te.mod),De>=ce&&(xe=E(xe))!==null&&(Ie+=xe.mod)}!Te&&xe?function(ye,Oe,Ce,oe){var he=ye.c[0].el;he.tl=Ce;var ie=oe-Ce.mod-ye.c[0].msel;he.mod+=ie,he.prelim-=ie,ye.c[0].el=ye.c[Oe].el,ye.c[0].msel=ye.c[Oe].msel}(q,re,xe,Ie):Te&&!xe&&function(ye,Oe,Ce,oe){var he=ye.c[Oe].er;he.tr=Ce;var ie=oe-Ce.mod-ye.c[Oe].mser;he.mod+=ie,he.prelim-=ie,ye.c[Oe].er=ye.c[Oe-1].er,ye.c[Oe].mser=ye.c[Oe-1].mser}(q,re,Te,ee)}function M(q,re,me,Te){q.c[re].mod+=Te,q.c[re].msel+=Te,q.c[re].mser+=Te,function(ee,xe,Ie,Le){if(Ie!==xe-1){var De=xe-Ie;ee.c[Ie+1].shift+=Le/De,ee.c[xe].shift-=Le/De,ee.c[xe].change-=Le-Le/De}}(q,re,me,Te)}function E(q){return q.cs===0?q.tl:q.c[0]}function j(q){return q.cs===0?q.tr:q.c[q.cs-1]}function L(q){return q.y+q.h}function A(q,re,me){for(;me!==null&&q>=me.low;)me=me.nxt;return{low:q,index:re,nxt:me}}(function q(re,me,Te){Te===void 0&&(Te=0),me?(re.x=Te,Te+=re.width):(re.y=Te,Te+=re.height),re.children.forEach(function(ee){q(ee,me,Te)})})(h,s);var J=a.fromNode(h,s);return function q(re){if(re.cs!==0){q(re.c[0]);for(var me=A(L(re.c[0].el),0,null),Te=1;Te<re.cs;++Te){q(re.c[Te]);var ee=L(re.c[Te].er);x(re,Te,me),me=A(ee,Te,me)}(function(xe){xe.prelim=(xe.c[0].prelim+xe.c[0].mod+xe.c[xe.cs-1].mod+xe.c[xe.cs-1].prelim+xe.c[xe.cs-1].w)/2-xe.w/2})(re),m(re)}else m(re)}(J),function q(re,me){me+=re.mod,re.x=re.prelim+me,function(ee){for(var xe=0,Ie=0,Le=0;Le<ee.cs;Le++)xe+=ee.c[Le].shift,Ie+=xe+ee.c[Le].change,ee.c[Le].mod+=Ie}(re);for(var Te=0;Te<re.cs;Te++)q(re.c[Te],me)}(J,0),function q(re,me,Te){Te?me.y=re.x:me.x=re.x,re.c.forEach(function(ee,xe){q(ee,me.children[xe],Te)})}(J,h,s),f(h,s),h}},function(p,u,a){function f(E,j){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(L,A){return L.__proto__=A,L})(E,j)}var h=a(11),l=a(121),s=a(17),m=a(6),x=function(E){var j,L;function A(){return E.apply(this,arguments)||this}return L=E,(j=A).prototype=Object.create(L.prototype),j.prototype.constructor=j,f(j,L),A.prototype.execute=function(){return this.rootNode.width=0,s(this.rootNode,this.options,l)},A}(h),M={};p.exports=function(E,j){return j=m.assign({},M,j),new x(E,j).execute()}},function(p,u,a){var f=a(6);function h(s,m){s===void 0&&(s=0),m===void 0&&(m=[]);var x=this;x.x=x.y=0,x.leftChild=x.rightChild=null,x.height=0,x.children=m}var l={isHorizontal:!0,nodeSep:20,nodeSize:20,rankSep:200,subTreeSep:10};p.exports=function(s,m){m===void 0&&(m={}),m=f.assign({},l,m);var x,M=0,E=function j(L){if(!L)return null;L.width=0,L.depth&&L.depth>M&&(M=L.depth);var A=L.children,J=A.length,q=new h(L.height,[]);return A.forEach(function(re,me){var Te=j(re);q.children.push(Te),me===0&&(q.leftChild=Te),me===J-1&&(q.rightChild=Te)}),q.originNode=L,q.isLeaf=L.isLeaf(),q}(s);return function j(L){if(L.isLeaf||L.children.length===0)L.drawingDepth=M;else{var A=L.children.map(function(q){return j(q)}),J=Math.min.apply(null,A);L.drawingDepth=J-1}return L.drawingDepth}(E),function j(L){L.x=L.drawingDepth*m.rankSep,L.isLeaf?(L.y=0,x&&(L.y=x.y+x.height+m.nodeSep,L.originNode.parent!==x.originNode.parent&&(L.y+=m.subTreeSep)),x=L):(L.children.forEach(function(A){j(A)}),L.y=(L.leftChild.y+L.rightChild.y)/2)}(E),function j(L,A,J){J?(A.x=L.x,A.y=L.y):(A.x=L.y,A.y=L.x),L.children.forEach(function(q,re){j(q,A.children[re],J)})}(E,s,m.isHorizontal),s}},function(p,u,a){function f(L,A){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(J,q){return J.__proto__=q,J})(L,A)}var h=a(11),l=a(123),s=a(35),m=a(6),x=[\"LR\",\"RL\",\"H\"],M=x[0],E=function(L){var A,J;function q(){return L.apply(this,arguments)||this}return J=L,(A=q).prototype=Object.create(J.prototype),A.prototype.constructor=A,f(A,J),q.prototype.execute=function(){var re=this.options,me=this.rootNode;re.isHorizontal=!0;var Te=re.indent,ee=Te===void 0?20:Te,xe=re.dropCap,Ie=xe===void 0||xe,Le=re.direction,De=Le===void 0?M:Le,ce=re.align;if(De&&x.indexOf(De)===-1)throw new TypeError(\"Invalid direction: \"+De);if(De===x[0])l(me,ee,Ie,ce);else if(De===x[1])l(me,ee,Ie,ce),me.right2left();else if(De===x[2]){var ye=s(me,re),Oe=ye.left,Ce=ye.right;l(Oe,ee,Ie,ce),Oe.right2left(),l(Ce,ee,Ie,ce);var oe=Oe.getBoundingBox();Ce.translate(oe.width,0),me.x=Ce.x-me.width/2}return me},q}(h),j={};p.exports=function(L,A){return A=m.assign({},j,A),new E(L,A).execute()}},function(p,u,a){var f=a(6);p.exports=function(h,l,s,m){var x=null;h.eachNode(function(M){(function(E,j,L,A,J){var q=typeof L==\"function\"?L(E):L*E.depth;if(!A)try{if(E.id===E.parent.children[0].id)return E.x+=q,void(E.y=j?j.y:0)}catch(Te){}if(E.x+=q,j){if(E.y=j.y+f.getHeight(j,E,J),j.parent&&E.parent.id!==j.parent.id){var re=j.parent,me=re.y+f.getHeight(re,E,J);E.y=me>E.y?me:E.y}}else E.y=0})(M,x,l,s,m),x=M})}},function(p,u,a){function f(E,j){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(L,A){return L.__proto__=A,L})(E,j)}var h=a(11),l=a(125),s=a(17),m=a(6),x=function(E){var j,L;function A(){return E.apply(this,arguments)||this}return L=E,(j=A).prototype=Object.create(L.prototype),j.prototype.constructor=j,f(j,L),A.prototype.execute=function(){return s(this.rootNode,this.options,l)},A}(h),M={};p.exports=function(E,j){return j=m.assign({},M,j),new x(E,j).execute()}},function(p,u,a){var f=a(6),h={getSubTreeSep:function(){return 0}};p.exports=function(l,s){s===void 0&&(s={}),s=f.assign({},h,s),l.parent={x:0,width:0,height:0,y:0},l.BFTraverse(function(m){m.x=m.parent.x+m.parent.width}),l.parent=null,function m(x,M){var E=0;return x.children.length?x.children.forEach(function(j){E+=m(j,M)}):E=x.height,x._subTreeSep=M.getSubTreeSep(x.data),x.totalHeight=Math.max(x.height,E)+2*x._subTreeSep,x.totalHeight}(l,s),l.startY=0,l.y=l.totalHeight/2-l.height/2,l.eachNode(function(m){var x=m.children,M=x.length;if(M){var E=x[0];if(E.startY=m.startY+m._subTreeSep,M===1)E.y=m.y+m.height/2-E.height/2;else{E.y=E.startY+E.totalHeight/2-E.height/2;for(var j=1;j<M;j++){var L=x[j];L.startY=x[j-1].startY+x[j-1].totalHeight,L.y=L.startY+L.totalHeight/2-L.height/2}}}}),function m(x){var M=x.children,E=M.length;if(E){M.forEach(function(re){m(re)});var j=M[0],L=M[E-1],A=L.y-j.y+L.height,J=0;if(M.forEach(function(re){J+=re.totalHeight}),A>x.height)x.y=j.y+A/2-x.height/2;else if(M.length!==1||x.height>J){var q=x.y+(x.height-A)/2-j.y;M.forEach(function(re){re.translate(0,q)})}else x.y=(j.y+j.height/2+L.y+L.height/2)/2-x.height/2}}(l)}}])},b(c)===\"object\"&&b(y)===\"object\"?y.exports=O():(C=[],(w=typeof(N=O)==\"function\"?N.apply(c,C):N)===void 0||(y.exports=w))}).call(this,r(100)(Ee))},function(Ee,c,r){\"use strict\";function y(s){return(y=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(m){return typeof m}:function(m){return m&&typeof Symbol==\"function\"&&m.constructor===Symbol&&m!==Symbol.prototype?\"symbol\":typeof m})(s)}var N=r(144),C=r(148),w=[].slice,O=[\"keyword\",\"gray\",\"hex\"],b={};Object.keys(C).forEach(function(s){b[w.call(C[s].labels).sort().join(\"\")]=s});var p={};function u(s,m){if(!(this instanceof u))return new u(s,m);if(m&&m in O&&(m=null),m&&!(m in C))throw new Error(\"Unknown model: \"+m);var x,M;if(s==null)this.model=\"rgb\",this.color=[0,0,0],this.valpha=1;else if(s instanceof u)this.model=s.model,this.color=s.color.slice(),this.valpha=s.valpha;else if(typeof s==\"string\"){var E=N.get(s);if(E===null)throw new Error(\"Unable to parse color from string: \"+s);this.model=E.model,M=C[this.model].channels,this.color=E.value.slice(0,M),this.valpha=typeof E.value[M]==\"number\"?E.value[M]:1}else if(s.length){this.model=m||\"rgb\",M=C[this.model].channels;var j=w.call(s,0,M);this.color=l(j,M),this.valpha=typeof s[M]==\"number\"?s[M]:1}else if(typeof s==\"number\")s&=16777215,this.model=\"rgb\",this.color=[s>>16&255,s>>8&255,255&s],this.valpha=1;else{this.valpha=1;var L=Object.keys(s);\"alpha\"in s&&(L.splice(L.indexOf(\"alpha\"),1),this.valpha=typeof s.alpha==\"number\"?s.alpha:0);var A=L.sort().join(\"\");if(!(A in b))throw new Error(\"Unable to parse color from object: \"+JSON.stringify(s));this.model=b[A];var J=C[this.model].labels,q=[];for(x=0;x<J.length;x++)q.push(s[J[x]]);this.color=l(q)}if(p[this.model])for(M=C[this.model].channels,x=0;x<M;x++){var re=p[this.model][x];re&&(this.color[x]=re(this.color[x]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}function a(s,m,x){return(s=Array.isArray(s)?s:[s]).forEach(function(M){(p[M]||(p[M]=[]))[m]=x}),s=s[0],function(M){var E;return arguments.length?(x&&(M=x(M)),(E=this[s]()).color[m]=M,E):(E=this[s]().color[m],x&&(E=x(E)),E)}}function f(s){return function(m){return Math.max(0,Math.min(s,m))}}function h(s){return Array.isArray(s)?s:[s]}function l(s,m){for(var x=0;x<m;x++)typeof s[x]!=\"number\"&&(s[x]=0);return s}u.prototype={toString:function(){return this.string()},toJSON:function(){return this[this.model]()},string:function(s){var m=this.model in N.to?this:this.rgb(),x=(m=m.round(typeof s==\"number\"?s:1)).valpha===1?m.color:m.color.concat(this.valpha);return N.to[m.model](x)},percentString:function(s){var m=this.rgb().round(typeof s==\"number\"?s:1),x=m.valpha===1?m.color:m.color.concat(this.valpha);return N.to.rgb.percent(x)},array:function(){return this.valpha===1?this.color.slice():this.color.concat(this.valpha)},object:function(){for(var s={},m=C[this.model].channels,x=C[this.model].labels,M=0;M<m;M++)s[x[M]]=this.color[M];return this.valpha!==1&&(s.alpha=this.valpha),s},unitArray:function(){var s=this.rgb().color;return s[0]/=255,s[1]/=255,s[2]/=255,this.valpha!==1&&s.push(this.valpha),s},unitObject:function(){var s=this.rgb().object();return s.r/=255,s.g/=255,s.b/=255,this.valpha!==1&&(s.alpha=this.valpha),s},round:function(s){return s=Math.max(s||0,0),new u(this.color.map(function(m){return function(x){return function(M,E){return Number(M.toFixed(E))}(x,m)}}(s)).concat(this.valpha),this.model)},alpha:function(s){return arguments.length?new u(this.color.concat(Math.max(0,Math.min(1,s))),this.model):this.valpha},red:a(\"rgb\",0,f(255)),green:a(\"rgb\",1,f(255)),blue:a(\"rgb\",2,f(255)),hue:a([\"hsl\",\"hsv\",\"hsl\",\"hwb\",\"hcg\"],0,function(s){return(s%360+360)%360}),saturationl:a(\"hsl\",1,f(100)),lightness:a(\"hsl\",2,f(100)),saturationv:a(\"hsv\",1,f(100)),value:a(\"hsv\",2,f(100)),chroma:a(\"hcg\",1,f(100)),gray:a(\"hcg\",2,f(100)),white:a(\"hwb\",1,f(100)),wblack:a(\"hwb\",2,f(100)),cyan:a(\"cmyk\",0,f(100)),magenta:a(\"cmyk\",1,f(100)),yellow:a(\"cmyk\",2,f(100)),black:a(\"cmyk\",3,f(100)),x:a(\"xyz\",0,f(100)),y:a(\"xyz\",1,f(100)),z:a(\"xyz\",2,f(100)),l:a(\"lab\",0,f(100)),a:a(\"lab\",1),b:a(\"lab\",2),keyword:function(s){return arguments.length?new u(s):C[this.model].keyword(this.color)},hex:function(s){return arguments.length?new u(s):N.to.hex(this.rgb().round().color)},rgbNumber:function(){var s=this.rgb().color;return(255&s[0])<<16|(255&s[1])<<8|255&s[2]},luminosity:function(){for(var s=this.rgb().color,m=[],x=0;x<s.length;x++){var M=s[x]/255;m[x]=M<=.03928?M/12.92:Math.pow((M+.055)/1.055,2.4)}return .2126*m[0]+.7152*m[1]+.0722*m[2]},contrast:function(s){var m=this.luminosity(),x=s.luminosity();return m>x?(m+.05)/(x+.05):(x+.05)/(m+.05)},level:function(s){var m=this.contrast(s);return m>=7.1?\"AAA\":m>=4.5?\"AA\":\"\"},isDark:function(){var s=this.rgb().color;return(299*s[0]+587*s[1]+114*s[2])/1e3<128},isLight:function(){return!this.isDark()},negate:function(){for(var s=this.rgb(),m=0;m<3;m++)s.color[m]=255-s.color[m];return s},lighten:function(s){var m=this.hsl();return m.color[2]+=m.color[2]*s,m},darken:function(s){var m=this.hsl();return m.color[2]-=m.color[2]*s,m},saturate:function(s){var m=this.hsl();return m.color[1]+=m.color[1]*s,m},desaturate:function(s){var m=this.hsl();return m.color[1]-=m.color[1]*s,m},whiten:function(s){var m=this.hwb();return m.color[1]+=m.color[1]*s,m},blacken:function(s){var m=this.hwb();return m.color[2]+=m.color[2]*s,m},grayscale:function(){var s=this.rgb().color,m=.3*s[0]+.59*s[1]+.11*s[2];return u.rgb(m,m,m)},fade:function(s){return this.alpha(this.valpha-this.valpha*s)},opaquer:function(s){return this.alpha(this.valpha+this.valpha*s)},rotate:function(s){var m=this.hsl(),x=m.color[0];return x=(x=(x+s)%360)<0?360+x:x,m.color[0]=x,m},mix:function(s,m){if(!s||!s.rgb)throw new Error('Argument to \"mix\" was not a Color instance, but rather an instance of '+y(s));var x=s.rgb(),M=this.rgb(),E=m===void 0?.5:m,j=2*E-1,L=x.alpha()-M.alpha(),A=((j*L==-1?j:(j+L)/(1+j*L))+1)/2,J=1-A;return u.rgb(A*x.red()+J*M.red(),A*x.green()+J*M.green(),A*x.blue()+J*M.blue(),x.alpha()*E+M.alpha()*(1-E))}},Object.keys(C).forEach(function(s){if(O.indexOf(s)===-1){var m=C[s].channels;u.prototype[s]=function(){if(this.model===s)return new u(this);if(arguments.length)return new u(arguments,s);var x=typeof arguments[m]==\"number\"?m:this.valpha;return new u(h(C[this.model][s].raw(this.color)).concat(x),s)},u[s]=function(x){return typeof x==\"number\"&&(x=l(w.call(arguments),m)),new u(x,s)}}}),Ee.exports=u},function(Ee,c){function r(y){return Ee.exports=r=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(N){return typeof N}:function(N){return N&&typeof Symbol==\"function\"&&N.constructor===Symbol&&N!==Symbol.prototype?\"symbol\":typeof N},Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports,r(y)}Ee.exports=r,Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports},function(Ee,c,r){\"use strict\";r.d(c,\"a\",function(){return O});var y=r(5);function N(b){return Math.sqrt(b[0]*b[0]+b[1]*b[1])}function C(b,p){return N(b)*N(p)?(b[0]*p[0]+b[1]*p[1])/(N(b)*N(p)):1}function w(b,p){return(b[0]*p[1]<b[1]*p[0]?-1:1)*Math.acos(C(b,p))}function O(b,p){var u=p[1],a=p[2],f=Object(y.m)(Object(y.o)(p[3]),2*Math.PI),h=p[4],l=p[5],s=b[0],m=b[1],x=p[6],M=p[7],E=Math.cos(f)*(s-x)/2+Math.sin(f)*(m-M)/2,j=-1*Math.sin(f)*(s-x)/2+Math.cos(f)*(m-M)/2,L=E*E/(u*u)+j*j/(a*a);L>1&&(u*=Math.sqrt(L),a*=Math.sqrt(L));var A=u*u*(j*j)+a*a*(E*E),J=A?Math.sqrt((u*u*(a*a)-A)/A):1;h===l&&(J*=-1),isNaN(J)&&(J=0);var q=a?J*u*j/a:0,re=u?J*-a*E/u:0,me=(s+x)/2+Math.cos(f)*q-Math.sin(f)*re,Te=(m+M)/2+Math.sin(f)*q+Math.cos(f)*re,ee=[(E-q)/u,(j-re)/a],xe=[(-1*E-q)/u,(-1*j-re)/a],Ie=w([1,0],ee),Le=w(ee,xe);return C(ee,xe)<=-1&&(Le=Math.PI),C(ee,xe)>=1&&(Le=0),l===0&&Le>0&&(Le-=2*Math.PI),l===1&&Le<0&&(Le+=2*Math.PI),{cx:me,cy:Te,rx:Object(y.j)(b,[x,M])?0:u,ry:Object(y.j)(b,[x,M])?0:a,startAngle:Ie,endAngle:Ie+Le,xRotation:f,arcFlag:h,sweepFlag:l}}},function(Ee,c,r){var y,N,C;function w(O){return(w=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(b){return typeof b}:function(b){return b&&typeof Symbol==\"function\"&&b.constructor===Symbol&&b!==Symbol.prototype?\"symbol\":typeof b})(O)}C=function(){\"use strict\";function O(X){return(O=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(se){return typeof se}:function(se){return se&&typeof Symbol==\"function\"&&se.constructor===Symbol&&se!==Symbol.prototype?\"symbol\":typeof se})(X)}var b=/^\\s+/,p=/\\s+$/;function u(X,se){if(se=se||{},(X=X||\"\")instanceof u)return X;if(!(this instanceof u))return new u(X,se);var fe=function(_e){var be,We,we,Ze={r:0,g:0,b:0},Ve=1,et=null,ht=null,Fe=null,mt=!1,dt=!1;return typeof _e==\"string\"&&(_e=function(Lt){Lt=Lt.replace(b,\"\").replace(p,\"\").toLowerCase();var lt,rn=!1;if(Te[Lt])Lt=Te[Lt],rn=!0;else if(Lt==\"transparent\")return{r:0,g:0,b:0,a:0,format:\"name\"};return(lt=ae.rgb.exec(Lt))?{r:lt[1],g:lt[2],b:lt[3]}:(lt=ae.rgba.exec(Lt))?{r:lt[1],g:lt[2],b:lt[3],a:lt[4]}:(lt=ae.hsl.exec(Lt))?{h:lt[1],s:lt[2],l:lt[3]}:(lt=ae.hsla.exec(Lt))?{h:lt[1],s:lt[2],l:lt[3],a:lt[4]}:(lt=ae.hsv.exec(Lt))?{h:lt[1],s:lt[2],v:lt[3]}:(lt=ae.hsva.exec(Lt))?{h:lt[1],s:lt[2],v:lt[3],a:lt[4]}:(lt=ae.hex8.exec(Lt))?{r:De(lt[1]),g:De(lt[2]),b:De(lt[3]),a:Ce(lt[4]),format:rn?\"name\":\"hex8\"}:(lt=ae.hex6.exec(Lt))?{r:De(lt[1]),g:De(lt[2]),b:De(lt[3]),format:rn?\"name\":\"hex\"}:(lt=ae.hex4.exec(Lt))?{r:De(lt[1]+\"\"+lt[1]),g:De(lt[2]+\"\"+lt[2]),b:De(lt[3]+\"\"+lt[3]),a:Ce(lt[4]+\"\"+lt[4]),format:rn?\"name\":\"hex8\"}:!!(lt=ae.hex3.exec(Lt))&&{r:De(lt[1]+\"\"+lt[1]),g:De(lt[2]+\"\"+lt[2]),b:De(lt[3]+\"\"+lt[3]),format:rn?\"name\":\"hex\"}}(_e)),O(_e)==\"object\"&&(ve(_e.r)&&ve(_e.g)&&ve(_e.b)?(be=_e.r,We=_e.g,we=_e.b,Ze={r:255*Ie(be,255),g:255*Ie(We,255),b:255*Ie(we,255)},mt=!0,dt=String(_e.r).substr(-1)===\"%\"?\"prgb\":\"rgb\"):ve(_e.h)&&ve(_e.s)&&ve(_e.v)?(et=ye(_e.s),ht=ye(_e.v),Ze=function(Lt,lt,rn){Lt=6*Ie(Lt,360),lt=Ie(lt,100),rn=Ie(rn,100);var qt=Math.floor(Lt),hn=Lt-qt,Kt=rn*(1-lt),an=rn*(1-hn*lt),In=rn*(1-(1-hn)*lt),Ft=qt%6;return{r:255*[rn,an,Kt,Kt,In,rn][Ft],g:255*[In,rn,rn,an,Kt,Kt][Ft],b:255*[Kt,Kt,In,rn,rn,an][Ft]}}(_e.h,et,ht),mt=!0,dt=\"hsv\"):ve(_e.h)&&ve(_e.s)&&ve(_e.l)&&(et=ye(_e.s),Fe=ye(_e.l),Ze=function(Lt,lt,rn){var qt,hn,Kt;function an(kt,At,Fn){return Fn<0&&(Fn+=1),Fn>1&&(Fn-=1),Fn<1/6?kt+6*(At-kt)*Fn:Fn<.5?At:Fn<2/3?kt+(At-kt)*(2/3-Fn)*6:kt}if(Lt=Ie(Lt,360),lt=Ie(lt,100),rn=Ie(rn,100),lt===0)qt=hn=Kt=rn;else{var In=rn<.5?rn*(1+lt):rn+lt-rn*lt,Ft=2*rn-In;qt=an(Ft,In,Lt+1/3),hn=an(Ft,In,Lt),Kt=an(Ft,In,Lt-1/3)}return{r:255*qt,g:255*hn,b:255*Kt}}(_e.h,et,Fe),mt=!0,dt=\"hsl\"),_e.hasOwnProperty(\"a\")&&(Ve=_e.a)),Ve=xe(Ve),{ok:mt,format:_e.format||dt,r:Math.min(255,Math.max(Ze.r,0)),g:Math.min(255,Math.max(Ze.g,0)),b:Math.min(255,Math.max(Ze.b,0)),a:Ve}}(X);this._originalInput=X,this._r=fe.r,this._g=fe.g,this._b=fe.b,this._a=fe.a,this._roundA=Math.round(100*this._a)/100,this._format=se.format||fe.format,this._gradientType=se.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._ok=fe.ok}function a(X,se,fe){X=Ie(X,255),se=Ie(se,255),fe=Ie(fe,255);var _e,be,We=Math.max(X,se,fe),we=Math.min(X,se,fe),Ze=(We+we)/2;if(We==we)_e=be=0;else{var Ve=We-we;switch(be=Ze>.5?Ve/(2-We-we):Ve/(We+we),We){case X:_e=(se-fe)/Ve+(se<fe?6:0);break;case se:_e=(fe-X)/Ve+2;break;case fe:_e=(X-se)/Ve+4}_e/=6}return{h:_e,s:be,l:Ze}}function f(X,se,fe){X=Ie(X,255),se=Ie(se,255),fe=Ie(fe,255);var _e,be,We=Math.max(X,se,fe),we=Math.min(X,se,fe),Ze=We,Ve=We-we;if(be=We===0?0:Ve/We,We==we)_e=0;else{switch(We){case X:_e=(se-fe)/Ve+(se<fe?6:0);break;case se:_e=(fe-X)/Ve+2;break;case fe:_e=(X-se)/Ve+4}_e/=6}return{h:_e,s:be,v:Ze}}function h(X,se,fe,_e){var be=[ce(Math.round(X).toString(16)),ce(Math.round(se).toString(16)),ce(Math.round(fe).toString(16))];return _e&&be[0].charAt(0)==be[0].charAt(1)&&be[1].charAt(0)==be[1].charAt(1)&&be[2].charAt(0)==be[2].charAt(1)?be[0].charAt(0)+be[1].charAt(0)+be[2].charAt(0):be.join(\"\")}function l(X,se,fe,_e){return[ce(Oe(_e)),ce(Math.round(X).toString(16)),ce(Math.round(se).toString(16)),ce(Math.round(fe).toString(16))].join(\"\")}function s(X,se){se=se===0?0:se||10;var fe=u(X).toHsl();return fe.s-=se/100,fe.s=Le(fe.s),u(fe)}function m(X,se){se=se===0?0:se||10;var fe=u(X).toHsl();return fe.s+=se/100,fe.s=Le(fe.s),u(fe)}function x(X){return u(X).desaturate(100)}function M(X,se){se=se===0?0:se||10;var fe=u(X).toHsl();return fe.l+=se/100,fe.l=Le(fe.l),u(fe)}function E(X,se){se=se===0?0:se||10;var fe=u(X).toRgb();return fe.r=Math.max(0,Math.min(255,fe.r-Math.round(-se/100*255))),fe.g=Math.max(0,Math.min(255,fe.g-Math.round(-se/100*255))),fe.b=Math.max(0,Math.min(255,fe.b-Math.round(-se/100*255))),u(fe)}function j(X,se){se=se===0?0:se||10;var fe=u(X).toHsl();return fe.l-=se/100,fe.l=Le(fe.l),u(fe)}function L(X,se){var fe=u(X).toHsl(),_e=(fe.h+se)%360;return fe.h=_e<0?360+_e:_e,u(fe)}function A(X){var se=u(X).toHsl();return se.h=(se.h+180)%360,u(se)}function J(X,se){if(isNaN(se)||se<=0)throw new Error(\"Argument to polyad must be a positive number\");for(var fe=u(X).toHsl(),_e=[u(X)],be=360/se,We=1;We<se;We++)_e.push(u({h:(fe.h+We*be)%360,s:fe.s,l:fe.l}));return _e}function q(X){var se=u(X).toHsl(),fe=se.h;return[u(X),u({h:(fe+72)%360,s:se.s,l:se.l}),u({h:(fe+216)%360,s:se.s,l:se.l})]}function re(X,se,fe){se=se||6,fe=fe||30;var _e=u(X).toHsl(),be=360/fe,We=[u(X)];for(_e.h=(_e.h-(be*se>>1)+720)%360;--se;)_e.h=(_e.h+be)%360,We.push(u(_e));return We}function me(X,se){se=se||6;for(var fe=u(X).toHsv(),_e=fe.h,be=fe.s,We=fe.v,we=[],Ze=1/se;se--;)we.push(u({h:_e,s:be,v:We})),We=(We+Ze)%1;return we}u.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 X=this.toRgb();return(299*X.r+587*X.g+114*X.b)/1e3},getLuminance:function(){var X,se,fe,_e=this.toRgb();return X=_e.r/255,se=_e.g/255,fe=_e.b/255,.2126*(X<=.03928?X/12.92:Math.pow((X+.055)/1.055,2.4))+.7152*(se<=.03928?se/12.92:Math.pow((se+.055)/1.055,2.4))+.0722*(fe<=.03928?fe/12.92:Math.pow((fe+.055)/1.055,2.4))},setAlpha:function(X){return this._a=xe(X),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var X=f(this._r,this._g,this._b);return{h:360*X.h,s:X.s,v:X.v,a:this._a}},toHsvString:function(){var X=f(this._r,this._g,this._b),se=Math.round(360*X.h),fe=Math.round(100*X.s),_e=Math.round(100*X.v);return this._a==1?\"hsv(\"+se+\", \"+fe+\"%, \"+_e+\"%)\":\"hsva(\"+se+\", \"+fe+\"%, \"+_e+\"%, \"+this._roundA+\")\"},toHsl:function(){var X=a(this._r,this._g,this._b);return{h:360*X.h,s:X.s,l:X.l,a:this._a}},toHslString:function(){var X=a(this._r,this._g,this._b),se=Math.round(360*X.h),fe=Math.round(100*X.s),_e=Math.round(100*X.l);return this._a==1?\"hsl(\"+se+\", \"+fe+\"%, \"+_e+\"%)\":\"hsla(\"+se+\", \"+fe+\"%, \"+_e+\"%, \"+this._roundA+\")\"},toHex:function(X){return h(this._r,this._g,this._b,X)},toHexString:function(X){return\"#\"+this.toHex(X)},toHex8:function(X){return function(se,fe,_e,be,We){var we=[ce(Math.round(se).toString(16)),ce(Math.round(fe).toString(16)),ce(Math.round(_e).toString(16)),ce(Oe(be))];return We&&we[0].charAt(0)==we[0].charAt(1)&&we[1].charAt(0)==we[1].charAt(1)&&we[2].charAt(0)==we[2].charAt(1)&&we[3].charAt(0)==we[3].charAt(1)?we[0].charAt(0)+we[1].charAt(0)+we[2].charAt(0)+we[3].charAt(0):we.join(\"\")}(this._r,this._g,this._b,this._a,X)},toHex8String:function(X){return\"#\"+this.toHex8(X)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?\"rgb(\"+Math.round(this._r)+\", \"+Math.round(this._g)+\", \"+Math.round(this._b)+\")\":\"rgba(\"+Math.round(this._r)+\", \"+Math.round(this._g)+\", \"+Math.round(this._b)+\", \"+this._roundA+\")\"},toPercentageRgb:function(){return{r:Math.round(100*Ie(this._r,255))+\"%\",g:Math.round(100*Ie(this._g,255))+\"%\",b:Math.round(100*Ie(this._b,255))+\"%\",a:this._a}},toPercentageRgbString:function(){return this._a==1?\"rgb(\"+Math.round(100*Ie(this._r,255))+\"%, \"+Math.round(100*Ie(this._g,255))+\"%, \"+Math.round(100*Ie(this._b,255))+\"%)\":\"rgba(\"+Math.round(100*Ie(this._r,255))+\"%, \"+Math.round(100*Ie(this._g,255))+\"%, \"+Math.round(100*Ie(this._b,255))+\"%, \"+this._roundA+\")\"},toName:function(){return this._a===0?\"transparent\":!(this._a<1)&&(ee[h(this._r,this._g,this._b,!0)]||!1)},toFilter:function(X){var se=\"#\"+l(this._r,this._g,this._b,this._a),fe=se,_e=this._gradientType?\"GradientType = 1, \":\"\";if(X){var be=u(X);fe=\"#\"+l(be._r,be._g,be._b,be._a)}return\"progid:DXImageTransform.Microsoft.gradient(\"+_e+\"startColorstr=\"+se+\",endColorstr=\"+fe+\")\"},toString:function(X){var se=!!X;X=X||this._format;var fe=!1,_e=this._a<1&&this._a>=0;return se||!_e||X!==\"hex\"&&X!==\"hex6\"&&X!==\"hex3\"&&X!==\"hex4\"&&X!==\"hex8\"&&X!==\"name\"?(X===\"rgb\"&&(fe=this.toRgbString()),X===\"prgb\"&&(fe=this.toPercentageRgbString()),X!==\"hex\"&&X!==\"hex6\"||(fe=this.toHexString()),X===\"hex3\"&&(fe=this.toHexString(!0)),X===\"hex4\"&&(fe=this.toHex8String(!0)),X===\"hex8\"&&(fe=this.toHex8String()),X===\"name\"&&(fe=this.toName()),X===\"hsl\"&&(fe=this.toHslString()),X===\"hsv\"&&(fe=this.toHsvString()),fe||this.toHexString()):X===\"name\"&&this._a===0?this.toName():this.toRgbString()},clone:function(){return u(this.toString())},_applyModification:function(X,se){var fe=X.apply(null,[this].concat([].slice.call(se)));return this._r=fe._r,this._g=fe._g,this._b=fe._b,this.setAlpha(fe._a),this},lighten:function(){return this._applyModification(M,arguments)},brighten:function(){return this._applyModification(E,arguments)},darken:function(){return this._applyModification(j,arguments)},desaturate:function(){return this._applyModification(s,arguments)},saturate:function(){return this._applyModification(m,arguments)},greyscale:function(){return this._applyModification(x,arguments)},spin:function(){return this._applyModification(L,arguments)},_applyCombination:function(X,se){return X.apply(null,[this].concat([].slice.call(se)))},analogous:function(){return this._applyCombination(re,arguments)},complement:function(){return this._applyCombination(A,arguments)},monochromatic:function(){return this._applyCombination(me,arguments)},splitcomplement:function(){return this._applyCombination(q,arguments)},triad:function(){return this._applyCombination(J,[3])},tetrad:function(){return this._applyCombination(J,[4])}},u.fromRatio=function(X,se){if(O(X)==\"object\"){var fe={};for(var _e in X)X.hasOwnProperty(_e)&&(fe[_e]=_e===\"a\"?X[_e]:ye(X[_e]));X=fe}return u(X,se)},u.equals=function(X,se){return!(!X||!se)&&u(X).toRgbString()==u(se).toRgbString()},u.random=function(){return u.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},u.mix=function(X,se,fe){fe=fe===0?0:fe||50;var _e=u(X).toRgb(),be=u(se).toRgb(),We=fe/100;return u({r:(be.r-_e.r)*We+_e.r,g:(be.g-_e.g)*We+_e.g,b:(be.b-_e.b)*We+_e.b,a:(be.a-_e.a)*We+_e.a})},u.readability=function(X,se){var fe=u(X),_e=u(se);return(Math.max(fe.getLuminance(),_e.getLuminance())+.05)/(Math.min(fe.getLuminance(),_e.getLuminance())+.05)},u.isReadable=function(X,se,fe){var _e,be,We,we,Ze,Ve=u.readability(X,se);switch(be=!1,(We=fe,we=((We=We||{level:\"AA\",size:\"small\"}).level||\"AA\").toUpperCase(),Ze=(We.size||\"small\").toLowerCase(),we!==\"AA\"&&we!==\"AAA\"&&(we=\"AA\"),Ze!==\"small\"&&Ze!==\"large\"&&(Ze=\"small\"),_e={level:we,size:Ze}).level+_e.size){case\"AAsmall\":case\"AAAlarge\":be=Ve>=4.5;break;case\"AAlarge\":be=Ve>=3;break;case\"AAAsmall\":be=Ve>=7}return be},u.mostReadable=function(X,se,fe){var _e,be,We,we,Ze=null,Ve=0;be=(fe=fe||{}).includeFallbackColors,We=fe.level,we=fe.size;for(var et=0;et<se.length;et++)(_e=u.readability(X,se[et]))>Ve&&(Ve=_e,Ze=u(se[et]));return u.isReadable(X,Ze,{level:We,size:we})||!be?Ze:(fe.includeFallbackColors=!1,u.mostReadable(X,[\"#fff\",\"#000\"],fe))};var Te=u.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\"},ee=u.hexNames=function(X){var se={};for(var fe in X)X.hasOwnProperty(fe)&&(se[X[fe]]=fe);return se}(Te);function xe(X){return X=parseFloat(X),(isNaN(X)||X<0||X>1)&&(X=1),X}function Ie(X,se){(function(_e){return typeof _e==\"string\"&&_e.indexOf(\".\")!=-1&&parseFloat(_e)===1})(X)&&(X=\"100%\");var fe=function(_e){return typeof _e==\"string\"&&_e.indexOf(\"%\")!=-1}(X);return X=Math.min(se,Math.max(0,parseFloat(X))),fe&&(X=parseInt(X*se,10)/100),Math.abs(X-se)<1e-6?1:X%se/parseFloat(se)}function Le(X){return Math.min(1,Math.max(0,X))}function De(X){return parseInt(X,16)}function ce(X){return X.length==1?\"0\"+X:\"\"+X}function ye(X){return X<=1&&(X=100*X+\"%\"),X}function Oe(X){return Math.round(255*parseFloat(X)).toString(16)}function Ce(X){return De(X)/255}var oe,he,ie,ae=(he=\"[\\\\s|\\\\(]+(\"+(oe=\"(?:[-\\\\+]?\\\\d*\\\\.\\\\d+%?)|(?:[-\\\\+]?\\\\d+%?)\")+\")[,|\\\\s]+(\"+oe+\")[,|\\\\s]+(\"+oe+\")\\\\s*\\\\)?\",ie=\"[\\\\s|\\\\(]+(\"+oe+\")[,|\\\\s]+(\"+oe+\")[,|\\\\s]+(\"+oe+\")[,|\\\\s]+(\"+oe+\")\\\\s*\\\\)?\",{CSS_UNIT:new RegExp(oe),rgb:new RegExp(\"rgb\"+he),rgba:new RegExp(\"rgba\"+ie),hsl:new RegExp(\"hsl\"+he),hsla:new RegExp(\"hsla\"+ie),hsv:new RegExp(\"hsv\"+he),hsva:new RegExp(\"hsva\"+ie),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 ve(X){return!!ae.CSS_UNIT.exec(X)}return u},w(c)===\"object\"&&Ee!==void 0?Ee.exports=C():(N=typeof(y=C)==\"function\"?y.call(c,r,c,Ee):y)===void 0||(Ee.exports=N)},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var y=function(N,C){var w=N.nodes,O=N.edges,b=[],p={};if(!w)throw new Error(\"invalid nodes data!\");return w&&w.forEach(function(u,a){p[u.id]=a,b.push([])}),O&&O.forEach(function(u){var a=u.source,f=u.target,h=p[a],l=p[f];!h&&h!==0||!l&&l!==0||(b[h][l]=1,C||(b[l][h]=1))}),b};c.default=y},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.FORCE_LAYOUT_TYPE_MAP=c.LAYOUT_MESSAGE=void 0,c.LAYOUT_MESSAGE={RUN:\"LAYOUT_RUN\",END:\"LAYOUT_END\",ERROR:\"LAYOUT_ERROR\",TICK:\"LAYOUT_TICK\",GPURUN:\"GPU_LAYOUT_RUN\",GPUEND:\"GPU_LAYOUT_END\"},c.FORCE_LAYOUT_TYPE_MAP={gForce:!0,force2:!0,fruchterman:!0,forceAtlas2:!0,force:!0,\"graphin-force\":!0}},function(Ee,c,r){\"use strict\";r.r(c),r.d(c,\"Graph\",function(){return J}),r.d(c,\"GraphWithEvent\",function(){return ce}),r.d(c,\"algorithm\",function(){return y}),r.d(c,\"comparision\",function(){return C}),r.d(c,\"essence\",function(){return N}),r.d(c,\"generate\",function(){return O});var y={};r.r(y),r.d(y,\"components\",function(){return he}),r.d(y,\"dfs\",function(){return ie}),r.d(y,\"dijkstra\",function(){return fe}),r.d(y,\"dijkstraAll\",function(){return _e}),r.d(y,\"findCycles\",function(){return We}),r.d(y,\"tarjan\",function(){return be}),r.d(y,\"isAcyclic\",function(){return qt}),r.d(y,\"postorder\",function(){return hn}),r.d(y,\"preorder\",function(){return Kt}),r.d(y,\"prim\",function(){return oe}),r.d(y,\"topsort\",function(){return rn}),r.d(y,\"floydWarshall\",function(){return In});var N={};r.r(N),r.d(N,\"isGraph\",function(){return zr}),r.d(N,\"isSimpleGraph\",function(){return Wr}),r.d(N,\"isNullGraph\",function(){return Nr}),r.d(N,\"hasSelfLoop\",function(){return Kr});var C={};r.r(C),r.d(C,\"containAllSameEdges\",function(){return Wn}),r.d(C,\"containAllSameNodes\",function(){return en}),r.d(C,\"containSameEdges\",function(){return kt}),r.d(C,\"containSameNodes\",function(){return Ft}),r.d(C,\"isGraphComplement\",function(){return ko}),r.d(C,\"isGraphOptionSame\",function(){return pn}),r.d(C,\"getSameEdges\",function(){return Fn}),r.d(C,\"getSameNodes\",function(){return At}),r.d(C,\"isGraphSame\",function(){return Mn}),r.d(C,\"isGraphContainsAnother\",function(){return Kn});var w,O={};function b(gn,Gt){var bt=gn.get(Gt)||0;gn.set(Gt,bt+1)}function p(gn,Gt){var bt=gn.get(Gt);bt!==void 0&&((bt-=1)>0?gn.set(Gt,bt):gn.delete(Gt))}function u(gn,Gt,bt,Zt){var gt=String(Gt),Wt=String(bt);if(!gn&&gt>Wt){var xn=gt;gt=Wt,Wt=xn}return gt+w.EDGE_KEY_DELIM+Wt+w.EDGE_KEY_DELIM+(Zt===void 0?w.DEFAULT_EDGE_NAME:Zt)}function a(gn,Gt,bt,Zt){var gt=String(Gt),Wt=String(bt),xn={v:Gt,w:bt};if(!gn&&gt>Wt){var Dt=xn.v;xn.v=xn.w,xn.w=Dt}return Zt!==void 0&&(xn.name=Zt),xn}function f(gn,Gt){return u(gn,Gt.v,Gt.w,Gt.name)}function h(gn){return typeof gn==\"function\"}r.r(O),r.d(O,\"getGraphComplement\",function(){return Ur}),function(gn){gn.DEFAULT_EDGE_NAME=\"\\0\",gn.GRAPH_NODE=\"\\0\",gn.EDGE_KEY_DELIM=\"\u0001\"}(w||(w={}));var l=function(gn){return gn.nodes().map(function(Gt){var bt={id:Gt,value:gn.node(Gt),parent:gn.parent(Gt)};return bt.value===void 0&&delete bt.value,bt.parent===void 0&&delete bt.parent,bt})},s=function(gn){return gn.edges().map(function(Gt){var bt=gn.edge(Gt),Zt={v:Gt.v,w:Gt.w,value:bt,name:Gt.name};return Zt.name===void 0&&delete Zt.name,Zt.value===void 0&&delete Zt.value,Zt})},m=function(gn){var Gt={options:{directed:gn.isDirected(),multigraph:gn.isMultigraph(),compound:gn.isCompound()},nodes:l(gn),edges:s(gn),value:gn.graph()};return Gt.value===void 0&&delete Gt.value,Gt};function x(gn,Gt){var bt=Object.keys(gn);if(Object.getOwnPropertySymbols){var Zt=Object.getOwnPropertySymbols(gn);Gt&&(Zt=Zt.filter(function(gt){return Object.getOwnPropertyDescriptor(gn,gt).enumerable})),bt.push.apply(bt,Zt)}return bt}function M(gn){for(var Gt=1;Gt<arguments.length;Gt++){var bt=arguments[Gt]!=null?arguments[Gt]:{};Gt%2?x(Object(bt),!0).forEach(function(Zt){E(gn,Zt,bt[Zt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(gn,Object.getOwnPropertyDescriptors(bt)):x(Object(bt)).forEach(function(Zt){Object.defineProperty(gn,Zt,Object.getOwnPropertyDescriptor(bt,Zt))})}return gn}function E(gn,Gt,bt){return Gt in gn?Object.defineProperty(gn,Gt,{value:bt,enumerable:!0,configurable:!0,writable:!0}):gn[Gt]=bt,gn}function j(gn,Gt){if(!(gn instanceof Gt))throw new TypeError(\"Cannot call a class as a function\")}function L(gn,Gt){for(var bt=0;bt<Gt.length;bt++){var Zt=Gt[bt];Zt.enumerable=Zt.enumerable||!1,Zt.configurable=!0,\"value\"in Zt&&(Zt.writable=!0),Object.defineProperty(gn,Zt.key,Zt)}}var A={compound:!1,multigraph:!1,directed:!0},J=function(){function gn(){var gt=this,Wt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};j(this,gn),this.directed=!0,this.multigraph=!1,this.compound=!1,this.GRAPH_NODE=w.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 gt.directed},this.isMultigraph=function(){return gt.multigraph},this.isCompound=function(){return gt.compound},this.setGraph=function(Dt){return gt.label=Dt,gt},this.graph=function(){return gt.label},this.setDefaultNodeLabel=function(Dt){return h(Dt)?gt.defaultNodeLabelFn=Dt:gt.defaultNodeLabelFn=function(){return Dt},gt},this.nodeCount=function(){return gt.nodeCountNum},this.node=function(Dt){return gt.nodesLabelMap.get(Dt)},this.nodes=function(){return Array.from(gt.nodesLabelMap.keys())},this.sources=function(){return gt.nodes().filter(function(Dt){var Xn;return!(!((Xn=gt.inEdgesMap.get(Dt))===null||Xn===void 0)&&Xn.size)})},this.sinks=function(){return gt.nodes().filter(function(Dt){var Xn;return!(!((Xn=gt.outEdgesMap.get(Dt))===null||Xn===void 0)&&Xn.size)})},this.setNodes=function(Dt,Xn){return Dt.map(function(Rn){return gt.setNode(Rn,Xn)}),gt},this.hasNode=function(Dt){return gt.nodesLabelMap.has(Dt)},this.checkCompound=function(){if(!gt.isCompound())throw new Error(\"Cannot construct parent-children relations in a non-compound graph\")},this.parent=function(Dt){if(gt.isCompound()){var Xn,Rn=(Xn=gt.parentMap)===null||Xn===void 0?void 0:Xn.get(Dt);if(Rn!==gt.GRAPH_NODE)return Rn}},this.removeFromParentsChildList=function(Dt){var Xn=gt.parentMap.get(Dt);gt.childrenMap.get(Xn).delete(Dt)},this.setParent=function(Dt,Xn){var Rn,wt;gt.checkCompound();for(var pt=Xn===void 0?gt.GRAPH_NODE:Xn,Ue=gt.parent(pt);Ue;){if(Dt===Ue)throw new Error(\"Setting \"+Xn+\" as parent of \"+Dt+\" would create a cycle\");Ue=gt.parent(Ue)}Xn&&gt.setNode(Xn),gt.setNode(Dt),gt.removeFromParentsChildList(Dt),(Rn=gt.parentMap)===null||Rn===void 0||Rn.set(Dt,pt);var xt=gt.childrenMap.get(pt);return xt.set(Dt,!0),(wt=gt.childrenMap)===null||wt===void 0||wt.set(pt,xt),gt},this.children=function(Dt){var Xn=Dt===void 0?gt.GRAPH_NODE:Dt;if(gt.isCompound()){var Rn,wt=(Rn=gt.childrenMap)===null||Rn===void 0?void 0:Rn.get(Xn);return wt?Array.from(wt.keys()):void 0}return Xn===gt.GRAPH_NODE?gt.nodes():Dt&&gt.hasNode(Dt)?[]:void 0},this.predecessors=function(Dt){var Xn=gt.predecessorsMap.get(Dt);return Xn?Array.from(Xn.keys()):void 0},this.successors=function(Dt){var Xn=gt.successorsMap.get(Dt);return Xn?Array.from(Xn.keys()):void 0},this.neighbors=function(Dt){var Xn;if(gt.hasNode(Dt))return Array.from(new Set((Xn=gt.predecessors(Dt))===null||Xn===void 0?void 0:Xn.concat(gt.successors(Dt))))},this.isLeaf=function(Dt){var Xn,Rn;return gt.isDirected()?!(!((Rn=gt.successors(Dt))===null||Rn===void 0)&&Rn.length):!(!((Xn=gt.neighbors(Dt))===null||Xn===void 0)&&Xn.length)},this.filterNodes=function(Dt){var Xn=gt.directed,Rn=gt.multigraph,wt=gt.compound,pt=new gn({directed:Xn,multigraph:Rn,compound:wt});return pt.setGraph(gt.graph()),gt.nodes().forEach(function(Ue){Dt(Ue)&&pt.setNode(Ue,gt.node(Ue))}),gt.edges().forEach(function(Ue){pt.hasNode(Ue.v)&&pt.hasNode(Ue.w)&&pt.setEdgeObj(Ue,gt.edge(Ue))}),wt&&pt.nodes().forEach(function(Ue){pt.setParent(Ue,function(xt){for(var cn=gt.parent(xt);cn!==void 0&&!pt.hasNode(cn);)cn=gt.parent(cn);return cn}(Ue))}),pt},this.setDefaultEdgeLabel=function(Dt){return h(Dt)?gt.defaultEdgeLabelFn=Dt:gt.defaultEdgeLabelFn=function(){return Dt},gt},this.edgeCount=function(){return gt.edgeCountNum},this.setEdgeObj=function(Dt,Xn){return gt.setEdge(Dt.v,Dt.w,Xn,Dt.name)},this.setPath=function(Dt,Xn){return Dt.reduce(function(Rn,wt){return gt.setEdge(Rn,wt,Xn),wt}),gt},this.edgeFromArgs=function(Dt,Xn,Rn){return gt.edge({v:Dt,w:Xn,name:Rn})},this.edge=function(Dt){return gt.edgesLabelsMap.get(f(gt.isDirected(),Dt))},this.hasEdge=function(Dt,Xn,Rn){return gt.edgesLabelsMap.has(f(gt.isDirected(),{v:Dt,w:Xn,name:Rn}))},this.removeEdgeObj=function(Dt){var Xn=Dt.v,Rn=Dt.w,wt=Dt.name;return gt.removeEdge(Xn,Rn,wt)},this.edges=function(){return Array.from(gt.edgesMap.values())},this.inEdges=function(Dt,Xn){var Rn=gt.inEdgesMap.get(Dt);if(Rn)return Array.from(Rn.values()).filter(function(wt){return!Xn||wt.v===Xn})},this.outEdges=function(Dt,Xn){var Rn=gt.outEdgesMap.get(Dt);if(Rn)return Array.from(Rn.values()).filter(function(wt){return!Xn||wt.w===Xn})},this.nodeEdges=function(Dt,Xn){var Rn;if(gt.hasNode(Dt))return(Rn=gt.inEdges(Dt,Xn))===null||Rn===void 0?void 0:Rn.concat(gt.outEdges(Dt,Xn))},this.toJSON=function(){return m(gt)},this.nodeInDegree=function(Dt){var Xn=gt.inEdgesMap.get(Dt);return Xn?Xn.size:0},this.nodeOutDegree=function(Dt){var Xn=gt.outEdgesMap.get(Dt);return Xn?Xn.size:0},this.nodeDegree=function(Dt){return gt.nodeInDegree(Dt)+gt.nodeOutDegree(Dt)},this.source=function(Dt){return Dt.v},this.target=function(Dt){return Dt.w};var xn=M(M({},A),Wt);this.compound=xn.compound,this.directed=xn.directed,this.multigraph=xn.multigraph,this.compound&&(this.parentMap=new Map,this.childrenMap=new Map)}var Gt,bt,Zt;return Gt=gn,(bt=[{key:\"setNode\",value:function(gt,Wt){var xn,Dt=this.nodesLabelMap,Xn=this.defaultNodeLabelFn,Rn=this.isCompound,wt=this.parentMap,pt=this.childrenMap,Ue=this.inEdgesMap,xt=this.outEdgesMap,cn=this.predecessorsMap,er=this.successorsMap;return Dt.has(gt)?(Wt!==void 0&&Dt.set(gt,Wt),this):(Dt.set(gt,Wt||Xn(gt)),Rn()&&(wt==null||wt.set(gt,this.GRAPH_NODE),pt==null||pt.set(gt,new Map),pt!=null&&pt.has(this.GRAPH_NODE)||pt==null||pt.set(this.GRAPH_NODE,new Map),pt==null||(xn=pt.get(this.GRAPH_NODE))===null||xn===void 0||xn.set(gt,!0)),[Ue,xt,cn,er].forEach(function(Mr){return Mr.set(gt,new Map)}),this.nodeCountNum+=1,this)}},{key:\"removeNode\",value:function(gt){var Wt=this;if(this.hasNode(gt)){var xn,Dt,Xn,Rn=function(xr){Wt.removeEdge(xr.v,xr.w,xr.name)},wt=this.inEdgesMap,pt=this.outEdgesMap,Ue=this.predecessorsMap,xt=this.successorsMap,cn=this.nodesLabelMap;this.isCompound()&&(this.removeFromParentsChildList(gt),(xn=this.parentMap)===null||xn===void 0||xn.delete(gt),(Dt=this.children(gt))===null||Dt===void 0||Dt.forEach(function(xr){return Wt.setParent(xr)}),(Xn=this.childrenMap)===null||Xn===void 0||Xn.delete(gt));var er=wt.get(gt),Mr=pt.get(gt);Array.from(er.values()).forEach(function(xr){return Rn(xr)}),Array.from(Mr.values()).forEach(function(xr){return Rn(xr)}),cn.delete(gt),wt.delete(gt),pt.delete(gt),Ue.delete(gt),xt.delete(gt),this.nodeCountNum-=1}return this}},{key:\"setEdge\",value:function(gt,Wt,xn,Dt){var Xn,Rn,wt=a(this.isDirected(),gt,Wt,Dt),pt=f(this.isDirected(),wt),Ue=wt.v,xt=wt.w;if(this.edgesLabelsMap.has(pt))return this.edgesLabelsMap.set(pt,xn),this;if(Dt!==void 0&&!this.isMultigraph())throw new Error(\"Cannot set a named edge when isMultigraph = false\");this.setNode(Ue),this.setNode(xt),this.edgesLabelsMap.set(pt,xn||this.defaultEdgeLabelFn(Ue,xt,Dt)),Object.freeze(wt),this.edgesMap.set(pt,wt);var cn=this.predecessorsMap.get(xt),er=this.successorsMap.get(Ue);return b(cn,Ue),b(er,xt),(Xn=this.inEdgesMap.get(xt))===null||Xn===void 0||Xn.set(pt,wt),(Rn=this.outEdgesMap.get(Ue))===null||Rn===void 0||Rn.set(pt,wt),this.edgeCountNum+=1,this}},{key:\"removeEdge\",value:function(gt,Wt,xn){var Dt=u(this.isDirected(),gt,Wt,xn);if(this.edgesMap.get(Dt)){var Xn=a(this.isDirected(),gt,Wt,xn),Rn=Xn.v,wt=Xn.w;this.edgesLabelsMap.delete(Dt),this.edgesMap.delete(Dt);var pt=this.predecessorsMap.get(wt),Ue=this.successorsMap.get(Rn);p(pt,Rn),p(Ue,wt),this.inEdgesMap.get(wt).delete(Dt),this.outEdgesMap.get(Rn).delete(Dt),this.edgeCountNum-=1}return this}}])&&L(Gt.prototype,bt),Zt&&L(Gt,Zt),Object.defineProperty(Gt,\"prototype\",{writable:!1}),gn}();function q(gn){return(q=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(Gt){return typeof Gt}:function(Gt){return Gt&&typeof Symbol==\"function\"&&Gt.constructor===Symbol&&Gt!==Symbol.prototype?\"symbol\":typeof Gt})(gn)}function re(gn,Gt){if(!(gn instanceof Gt))throw new TypeError(\"Cannot call a class as a function\")}function me(gn,Gt){for(var bt=0;bt<Gt.length;bt++){var Zt=Gt[bt];Zt.enumerable=Zt.enumerable||!1,Zt.configurable=!0,\"value\"in Zt&&(Zt.writable=!0),Object.defineProperty(gn,Zt.key,Zt)}}function Te(){return(Te=typeof Reflect!=\"undefined\"&&Reflect.get?Reflect.get:function(gn,Gt,bt){var Zt=ee(gn,Gt);if(Zt){var gt=Object.getOwnPropertyDescriptor(Zt,Gt);return gt.get?gt.get.call(arguments.length<3?gn:bt):gt.value}}).apply(this,arguments)}function ee(gn,Gt){for(;!Object.prototype.hasOwnProperty.call(gn,Gt)&&(gn=De(gn))!==null;);return gn}function xe(gn,Gt){return(xe=Object.setPrototypeOf||function(bt,Zt){return bt.__proto__=Zt,bt})(gn,Gt)}function Ie(gn){var Gt=function(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(bt){return!1}}();return function(){var bt,Zt=De(gn);if(Gt){var gt=De(this).constructor;bt=Reflect.construct(Zt,arguments,gt)}else bt=Zt.apply(this,arguments);return Le(this,bt)}}function Le(gn,Gt){if(Gt&&(q(Gt)===\"object\"||typeof Gt==\"function\"))return Gt;if(Gt!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(bt){if(bt===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return bt}(gn)}function De(gn){return(De=Object.setPrototypeOf?Object.getPrototypeOf:function(Gt){return Gt.__proto__||Object.getPrototypeOf(Gt)})(gn)}J.fromJSON=function(gn){var Gt=new J(gn.options);return gn.value!==void 0&&Gt.setGraph(gn.value),gn.nodes.forEach(function(bt){Gt.setNode(bt.id,bt.value),bt.parent&&Gt.setParent(bt.id,bt.parent)}),gn.edges.forEach(function(bt){Gt.setEdge(bt.v,bt.w,bt.value,bt.name)}),Gt};var ce=function(gn){(function(xn,Dt){if(typeof Dt!=\"function\"&&Dt!==null)throw new TypeError(\"Super expression must either be null or a function\");xn.prototype=Object.create(Dt&&Dt.prototype,{constructor:{value:xn,writable:!0,configurable:!0}}),Object.defineProperty(xn,\"prototype\",{writable:!1}),Dt&&xe(xn,Dt)})(Wt,gn);var Gt,bt,Zt,gt=Ie(Wt);function Wt(){var xn;re(this,Wt);for(var Dt=arguments.length,Xn=new Array(Dt),Rn=0;Rn<Dt;Rn++)Xn[Rn]=arguments[Rn];return(xn=gt.call.apply(gt,[this].concat(Xn))).eventPool={},xn}return Gt=Wt,(bt=[{key:\"appendEvent\",value:function(xn,Dt){this.eventPool[xn]||(this.eventPool[xn]=[]),this.eventPool[xn].push(Dt)}},{key:\"removeEvent\",value:function(xn,Dt){if(this.eventPool[xn]){var Xn=this.eventPool[xn].indexOf(Dt);Xn>-1&&this.eventPool[xn].splice(Xn,1)}}},{key:\"emitEvent\",value:function(xn){for(var Dt=arguments.length,Xn=new Array(Dt>1?Dt-1:0),Rn=1;Rn<Dt;Rn++)Xn[Rn-1]=arguments[Rn];this.eventPool[xn]&&this.eventPool[xn].forEach(function(wt){wt.apply(void 0,Xn)})}},{key:\"setNode\",value:function(xn,Dt){return Te(De(Wt.prototype),\"setNode\",this).call(this,xn,Dt),this.emitEvent(\"nodeAdd\",xn,Dt),this}},{key:\"removeNode\",value:function(xn){return Te(De(Wt.prototype),\"removeNode\",this).call(this,xn),this.emitEvent(\"nodeRemove\",xn),this}},{key:\"setEdge\",value:function(xn,Dt,Xn,Rn){return Te(De(Wt.prototype),\"setEdge\",this).call(this,xn,Dt,Xn,Rn),this.emitEvent(\"edgeAdd\",xn,Dt,Xn,Rn),this}},{key:\"removeEdge\",value:function(xn,Dt,Xn){return Te(De(Wt.prototype),\"removeEdge\",this).call(this,xn,Dt,Xn),this.emitEvent(\"edgeRemove\",xn,Dt,Xn),this}}])&&me(Gt.prototype,bt),Zt&&me(Gt,Zt),Object.defineProperty(Gt,\"prototype\",{writable:!1}),Wt}(J);function ye(gn,Gt){for(var bt=0;bt<Gt.length;bt++){var Zt=Gt[bt];Zt.enumerable=Zt.enumerable||!1,Zt.configurable=!0,\"value\"in Zt&&(Zt.writable=!0),Object.defineProperty(gn,Zt.key,Zt)}}function Oe(gn,Gt,bt){return Gt&&ye(gn.prototype,Gt),bt&&ye(gn,bt),Object.defineProperty(gn,\"prototype\",{writable:!1}),gn}var Ce=Oe(function gn(){var Gt=this;(function(bt,Zt){if(!(bt instanceof Zt))throw new TypeError(\"Cannot call a class as a function\")})(this,gn),this.arr=[],this.keyIndice=new Map,this.size=function(){return Gt.arr.length},this.keys=function(){return Gt.arr.map(function(bt){return bt.key})},this.has=function(bt){return Gt.keyIndice.has(bt)},this.priority=function(bt){var Zt=Gt.keyIndice.get(bt);if(Zt!==void 0)return Gt.arr[Zt].priority},this.swap=function(bt,Zt){var gt=Gt.arr,Wt=Gt.keyIndice,xn=[gt[bt],gt[Zt]],Dt=xn[0],Xn=xn[1];gt[bt]=Xn,gt[Zt]=Dt,Wt.set(Dt.key,Zt),Wt.set(Xn.key,bt)},this.innerDecrease=function(bt){for(var Zt,gt=Gt.arr,Wt=gt[bt].priority,xn=bt;xn!==0;){var Dt;if(((Dt=gt[Zt=xn>>1])===null||Dt===void 0?void 0:Dt.priority)<Wt)break;Gt.swap(xn,Zt),xn=Zt}},this.heapify=function(bt){var Zt=Gt.arr,gt=bt<<1,Wt=gt+1,xn=bt;gt<Zt.length&&(xn=Zt[gt].priority<Zt[xn].priority?gt:xn,Wt<Zt.length&&(xn=Zt[Wt].priority<Zt[xn].priority?Wt:xn),xn!==bt&&(Gt.swap(bt,xn),Gt.heapify(xn)))},this.min=function(){if(Gt.size()===0)throw new Error(\"Queue underflow\");return Gt.arr[0].key},this.add=function(bt,Zt){var gt=Gt.keyIndice,Wt=Gt.arr;if(!gt.has(bt)){var xn=Wt.length;return gt.set(bt,xn),Wt.push({key:bt,priority:Zt}),Gt.innerDecrease(xn),!0}return!1},this.removeMin=function(){Gt.swap(0,Gt.arr.length-1);var bt=Gt.arr.pop();return Gt.keyIndice.delete(bt.key),Gt.heapify(0),bt.key},this.decrease=function(bt,Zt){if(!Gt.has(bt))throw new Error(\"There's no key named \".concat(bt));var gt=Gt.keyIndice.get(bt);if(Zt>Gt.arr[gt].priority)throw new Error(\"New priority is greater than current priority.Key: \".concat(bt,\" Old: + \").concat(Gt.arr[gt].priority,\" New: \").concat(Zt));Gt.arr[gt].priority=Zt,Gt.innerDecrease(gt)}}),oe=function(gn,Gt){var bt,Zt=new J,gt=new Map,Wt=new Ce;function xn(Rn){var wt=Rn.v===bt?Rn.w:Rn.v,pt=Wt.priority(wt);if(pt!==void 0){var Ue=Gt(Rn);Ue<pt&&(gt.set(wt,bt),Wt.decrease(wt,Ue))}}if(gn.nodeCount()===0)return Zt;gn.nodes().forEach(function(Rn){Wt.add(Rn,Number.POSITIVE_INFINITY),Zt.setNode(Rn)}),Wt.decrease(gn.nodes()[0],0);for(var Dt=!1;Wt.size()>0;){var Xn;if(bt=Wt.removeMin(),gt.has(bt))Zt.setEdge(bt,gt.get(bt));else{if(Dt)throw new Error(\"Input graph is not connected: \"+gn.graph());Dt=!0}(Xn=gn.nodeEdges(bt))===null||Xn===void 0||Xn.forEach(xn)}return Zt},he=function(gn){var Gt=new Set,bt=[];return gn.nodes().forEach(function(Zt){for(var gt=[],Wt=[Zt];Wt.length>0;){var xn,Dt,Xn=Wt.pop();Gt.has(Xn)||(Gt.add(Xn),gt.push(Xn),(xn=gn.successors(Xn))===null||xn===void 0||xn.forEach(function(Rn){return Wt.push(Rn)}),(Dt=gn.predecessors(Xn))===null||Dt===void 0||Dt.forEach(function(Rn){return Wt.push(Rn)}))}gt.length&&bt.push(gt)}),bt},ie=function(gn,Gt,bt){var Zt=Array.isArray(Gt)?Gt:[Gt],gt=function(Dt){return gn.isDirected()?gn.successors(Dt):gn.neighbors(Dt)},Wt=[],xn=[];return Zt.forEach(function(Dt){if(!gn.hasNode(Dt))throw new Error(\"Graph does not have node: \"+Dt);(function Xn(Rn,wt,pt,Ue,xt,cn){Ue.includes(wt)||(Ue.push(wt),pt||cn.push(wt),xt(wt).forEach(function(er){return Xn(Rn,er,pt,Ue,xt,cn)}),pt&&cn.push(wt))})(gn,Dt,bt===\"post\",xn,gt,Wt)}),Wt};function ae(gn,Gt){return function(bt){if(Array.isArray(bt))return bt}(gn)||function(bt,Zt){var gt=bt==null?null:typeof Symbol!=\"undefined\"&&bt[Symbol.iterator]||bt[\"@@iterator\"];if(gt!=null){var Wt,xn,Dt=[],Xn=!0,Rn=!1;try{for(gt=gt.call(bt);!(Xn=(Wt=gt.next()).done)&&(Dt.push(Wt.value),!Zt||Dt.length!==Zt);Xn=!0);}catch(wt){Rn=!0,xn=wt}finally{try{Xn||gt.return==null||gt.return()}finally{if(Rn)throw xn}}return Dt}}(gn,Gt)||function(bt,Zt){if(bt){if(typeof bt==\"string\")return ve(bt,Zt);var gt=Object.prototype.toString.call(bt).slice(8,-1);if(gt===\"Object\"&&bt.constructor&&(gt=bt.constructor.name),gt===\"Map\"||gt===\"Set\")return Array.from(bt);if(gt===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(gt))return ve(bt,Zt)}}(gn,Gt)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ve(gn,Gt){(Gt==null||Gt>gn.length)&&(Gt=gn.length);for(var bt=0,Zt=new Array(Gt);bt<Gt;bt++)Zt[bt]=gn[bt];return Zt}var X=function(){return 1},se=function(gn,Gt,bt,Zt){var gt,Wt,xn=new Map,Dt=new Ce,Xn=function(wt){var pt=wt.v!==gt?wt.v:wt.w,Ue=xn.get(pt),xt=bt(wt),cn=Wt.distance+xt;if(xt<0)throw new Error(\"dijkstra does not allow negative edge weights. Bad edge: \"+wt+\" Weight: \"+xt);cn<Ue.distance&&(Ue.distance=cn,Ue.predecessor=gt,Dt.decrease(pt,cn))};for(gn.nodes().forEach(function(wt){var pt=wt===Gt?0:Number.POSITIVE_INFINITY;xn.set(wt,{distance:pt}),Dt.add(wt,pt)});Dt.size()>0&&(gt=Dt.removeMin(),!(Wt=xn.get(gt))||Wt.distance!==Number.POSITIVE_INFINITY);)Zt(gt).forEach(Xn);var Rn={};return Array.from(xn.entries()).forEach(function(wt){var pt=ae(wt,2),Ue=pt[0],xt=pt[1];return Rn[String(Ue)]=xt,Rn}),Rn},fe=function(gn,Gt,bt,Zt){return se(gn,Gt,bt||X,Zt||function(gt){return gn.outEdges(gt)})},_e=function(gn,Gt,bt){var Zt={};return gn.nodes().forEach(function(gt){return Zt[String(gt)]=fe(gn,gt,Gt,bt),Zt}),Zt},be=function(gn){var Gt=0,bt=[],Zt=new Map,gt=[];return gn.nodes().forEach(function(Wt){Zt.has(Wt)||function xn(Dt){var Xn,Rn={onStack:!0,lowlink:Gt,index:Gt};if(Zt.set(Dt,Rn),Gt+=1,bt.push(Dt),(Xn=gn.successors(Dt))===null||Xn===void 0||Xn.forEach(function(Ue){var xt;if(Zt.has(Ue)){if(!((xt=Zt.get(Ue))===null||xt===void 0)&&xt.onStack){var cn=Zt.get(Ue);Rn.lowlink=Math.min(Rn.lowlink,cn.index)}}else{xn(Ue);var er=Zt.get(Ue);Rn.lowlink=Math.min(Rn.lowlink,er.lowlink)}}),Rn.lowlink===Rn.index){var wt,pt=[];do wt=bt.pop(),Zt.get(wt).onStack=!1,pt.push(wt);while(Dt!==wt);gt.push(pt)}}(Wt)}),gt},We=function(gn){return be(gn).filter(function(Gt){return Gt.length>1||Gt.length===1&&gn.hasEdge(Gt[0],Gt[0])})};function we(gn){return(we=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(Gt){return typeof Gt}:function(Gt){return Gt&&typeof Symbol==\"function\"&&Gt.constructor===Symbol&&Gt!==Symbol.prototype?\"symbol\":typeof Gt})(gn)}function Ze(gn,Gt){for(var bt=0;bt<Gt.length;bt++){var Zt=Gt[bt];Zt.enumerable=Zt.enumerable||!1,Zt.configurable=!0,\"value\"in Zt&&(Zt.writable=!0),Object.defineProperty(gn,Zt.key,Zt)}}function Ve(gn,Gt){if(!(gn instanceof Gt))throw new TypeError(\"Cannot call a class as a function\")}function et(gn,Gt){if(Gt&&(we(Gt)===\"object\"||typeof Gt==\"function\"))return Gt;if(Gt!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(bt){if(bt===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return bt}(gn)}function ht(gn){var Gt=typeof Map==\"function\"?new Map:void 0;return(ht=function(bt){if(bt===null||(Zt=bt,Function.toString.call(Zt).indexOf(\"[native code]\")===-1))return bt;var Zt;if(typeof bt!=\"function\")throw new TypeError(\"Super expression must either be null or a function\");if(Gt!==void 0){if(Gt.has(bt))return Gt.get(bt);Gt.set(bt,gt)}function gt(){return Fe(bt,arguments,Lt(this).constructor)}return gt.prototype=Object.create(bt.prototype,{constructor:{value:gt,enumerable:!1,writable:!0,configurable:!0}}),dt(gt,bt)})(gn)}function Fe(gn,Gt,bt){return(Fe=mt()?Reflect.construct:function(Zt,gt,Wt){var xn=[null];xn.push.apply(xn,gt);var Dt=new(Function.bind.apply(Zt,xn));return Wt&&dt(Dt,Wt.prototype),Dt}).apply(null,arguments)}function mt(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(gn){return!1}}function dt(gn,Gt){return(dt=Object.setPrototypeOf||function(bt,Zt){return bt.__proto__=Zt,bt})(gn,Gt)}function Lt(gn){return(Lt=Object.setPrototypeOf?Object.getPrototypeOf:function(Gt){return Gt.__proto__||Object.getPrototypeOf(Gt)})(gn)}var lt=function(gn){(function(Xn,Rn){if(typeof Rn!=\"function\"&&Rn!==null)throw new TypeError(\"Super expression must either be null or a function\");Xn.prototype=Object.create(Rn&&Rn.prototype,{constructor:{value:Xn,writable:!0,configurable:!0}}),Object.defineProperty(Xn,\"prototype\",{writable:!1}),Rn&&dt(Xn,Rn)})(Dt,gn);var Gt,bt,Zt,gt,Wt,xn=(Gt=Dt,bt=mt(),function(){var Xn,Rn=Lt(Gt);if(bt){var wt=Lt(this).constructor;Xn=Reflect.construct(Rn,arguments,wt)}else Xn=Rn.apply(this,arguments);return et(this,Xn)});function Dt(){return Ve(this,Dt),xn.apply(this,arguments)}return Zt=Dt,gt&&Ze(Zt.prototype,gt),Wt&&Ze(Zt,Wt),Object.defineProperty(Zt,\"prototype\",{writable:!1}),Zt}(ht(Error)),rn=function(gn){var Gt=new Set,bt=new Set,Zt=[];if(gn.sinks().forEach(function gt(Wt){if(bt.has(Wt))throw new lt;var xn;Gt.has(Wt)||(bt.add(Wt),Gt.add(Wt),(xn=gn.predecessors(Wt))===null||xn===void 0||xn.forEach(gt),bt.delete(Wt),Zt.push(Wt))}),Gt.size!==gn.nodeCount())throw new lt;return Zt},qt=function(gn){try{rn(gn)}catch(Gt){if(Gt instanceof lt)return!1;throw Gt}return!0},hn=function(gn,Gt){return ie(gn,Gt,\"post\")},Kt=function(gn,Gt){return ie(gn,Gt,\"pre\")},an=function(){return 1},In=function(gn,Gt,bt){return function(Zt,gt,Wt){var xn={},Dt=Zt.nodes();return Dt.forEach(function(Xn){var Rn=String(Xn);xn[Rn]={},xn[Rn][Rn]={distance:0},Dt.forEach(function(wt){Xn!==wt&&(xn[Rn][String(wt)]={distance:Number.POSITIVE_INFINITY})}),Wt(Xn).forEach(function(wt){var pt=wt.v===Xn?wt.w:wt.v,Ue=gt(wt);xn[Rn][String(pt)]={distance:Ue,predecessor:Xn}})}),Dt.forEach(function(Xn){var Rn=String(Xn),wt=xn[Rn];Dt.forEach(function(pt){var Ue=String(pt),xt=xn[Ue];Dt.forEach(function(cn){var er=String(cn),Mr=xt[Rn],xr=wt[er],jr=xt[er],yo=Mr.distance+xr.distance;yo<jr.distance&&(jr.distance=yo,jr.predecessor=xr.predecessor)})})}),xn}(gn,Gt||an,bt||function(Zt){return gn.outEdges(Zt)})},Ft=function(gn,Gt){for(var bt=gn.nodes(),Zt=0;Zt<bt.length;Zt++){var gt=bt[Zt];if(Gt.hasNode(gt))return!0}return!1},kt=function(gn,Gt){for(var bt=gn.edges(),Zt=0;Zt<bt.length;Zt++){var gt=bt[Zt];if(Gt.hasEdge(gt.v,gt.w,gt.name))return!0}return!1},At=function(gn,Gt){return gn.nodes().filter(function(bt){return Gt.hasNode(bt)})},Fn=function(gn,Gt){return gn.edges().filter(function(bt){return Gt.hasEdge(bt.v,bt.w,bt.name)})},pn=function(gn,Gt){return gn.isCompound()===Gt.isCompound()&&gn.isDirected()===Gt.isDirected()&&gn.isMultigraph()===Gt.isMultigraph()},en=function(gn,Gt){return At(gn,Gt).length===gn.nodes().length},Wn=function(gn,Gt){return Fn(gn,Gt).length===gn.edges().length},Mn=function(gn,Gt){return pn(gn,Gt)&&gn.nodeCount()===Gt.nodeCount()&&en(gn,Gt)&&gn.edgeCount()===Gt.edgeCount()&&Wn(gn,Gt)},Kn=function(gn,Gt){return en(gn,Gt)&&Wn(gn,Gt)};function hr(gn,Gt){return function(bt){if(Array.isArray(bt))return bt}(gn)||function(bt,Zt){var gt=bt==null?null:typeof Symbol!=\"undefined\"&&bt[Symbol.iterator]||bt[\"@@iterator\"];if(gt!=null){var Wt,xn,Dt=[],Xn=!0,Rn=!1;try{for(gt=gt.call(bt);!(Xn=(Wt=gt.next()).done)&&(Dt.push(Wt.value),!Zt||Dt.length!==Zt);Xn=!0);}catch(wt){Rn=!0,xn=wt}finally{try{Xn||gt.return==null||gt.return()}finally{if(Rn)throw xn}}return Dt}}(gn,Gt)||function(bt,Zt){if(bt){if(typeof bt==\"string\")return pr(bt,Zt);var gt=Object.prototype.toString.call(bt).slice(8,-1);if(gt===\"Object\"&&bt.constructor&&(gt=bt.constructor.name),gt===\"Map\"||gt===\"Set\")return Array.from(bt);if(gt===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(gt))return pr(bt,Zt)}}(gn,Gt)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function pr(gn,Gt){(Gt==null||Gt>gn.length)&&(Gt=gn.length);for(var bt=0,Zt=new Array(Gt);bt<Gt;bt++)Zt[bt]=gn[bt];return Zt}function zr(gn){return gn instanceof J}function Wr(gn){if(gn.isMultigraph())return!1;for(var Gt=gn.edges(),bt=new Map,Zt=0;Zt<Gt.length;Zt++){var gt=Gt[Zt];if(gt.v===gt.w)return!1;var Wt=hr([gt.v,gt.w].sort(),2),xn=Wt[0],Dt=Wt[1],Xn=\"\".concat(xn,\"-\").concat(Dt);if(bt.has(Xn))return!1;bt.set(Xn,!0)}return!0}function Nr(gn){return gn.nodes().length===0}function Kr(gn){for(var Gt=gn.edges(),bt=0;bt<Gt.length;bt++){var Zt=Gt[bt];if(Zt.v===Zt.w)return!0}return!1}var ko=function(gn,Gt){if(!Wr(gn)||!Wr(Gt)||!en(gn,Gt)||kt(gn,Gt))return!1;var bt=gn.nodeCount();return gn.edgeCount()+Gt.edgeCount()===bt*(bt-1)/2},Ur=function(gn){if(!Wr(gn))return null;for(var Gt=gn.nodeCount(),bt=new J({compound:gn.isCompound(),directed:gn.isDirected(),multigraph:gn.isMultigraph()}),Zt=gn.nodes(),gt=0;gt<Gt;gt++){var Wt=Zt[gt];bt.setNode(Wt,gn.node(Wt));for(var xn=gt+1;xn<Gt;xn++){var Dt=Zt[xn];gn.hasEdge(Wt,Dt)||bt.setEdge(Wt,Dt)}}return bt}},function(Ee,c,r){\"use strict\";var y=function(){function N(C,w){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=C,this.name=C,this.originalEvent=w,this.timeStamp=w.timeStamp}return N.prototype.preventDefault=function(){this.defaultPrevented=!0,this.originalEvent.preventDefault&&this.originalEvent.preventDefault()},N.prototype.stopPropagation=function(){this.propagationStopped=!0},N.prototype.toString=function(){return\"[Event (type=\"+this.type+\")]\"},N.prototype.save=function(){},N.prototype.restore=function(){},N}();c.a=y},function(Ee,c,r){\"use strict\";var y=r(1),N=r(52),C=r(8),w=function(O){function b(p){var u=O.call(this)||this;u.destroyed=!1;var a=u.getDefaultCfg();return u.cfg=Object(C.i)(a,p),u}return Object(y.__extends)(b,O),b.prototype.getDefaultCfg=function(){return{}},b.prototype.get=function(p){return this.cfg[p]},b.prototype.set=function(p,u){this.cfg[p]=u},b.prototype.destroy=function(){this.cfg={destroyed:!0},this.off(),this.destroyed=!0},b}(N.a);c.a=w},function(Ee,c,r){\"use strict\";r.d(c,\"a\",function(){return N});var y=null;function N(){if(!y){var C=document.createElement(\"canvas\");C.width=1,C.height=1,y=C.getContext(\"2d\")}return y}},function(Ee,c,r){\"use strict\";r.d(c,\"a\",function(){return he});var y={};function N(ie){return+ie}function C(ie){return ie*ie}function w(ie){return ie*(2-ie)}function O(ie){return((ie*=2)<=1?ie*ie:--ie*(2-ie)+1)/2}function b(ie){return ie*ie*ie}function p(ie){return--ie*ie*ie+1}function u(ie){return((ie*=2)<=1?ie*ie*ie:(ie-=2)*ie*ie+2)/2}r.r(y),r.d(y,\"easeLinear\",function(){return N}),r.d(y,\"easeQuad\",function(){return O}),r.d(y,\"easeQuadIn\",function(){return C}),r.d(y,\"easeQuadOut\",function(){return w}),r.d(y,\"easeQuadInOut\",function(){return O}),r.d(y,\"easeCubic\",function(){return u}),r.d(y,\"easeCubicIn\",function(){return b}),r.d(y,\"easeCubicOut\",function(){return p}),r.d(y,\"easeCubicInOut\",function(){return u}),r.d(y,\"easePoly\",function(){return h}),r.d(y,\"easePolyIn\",function(){return a}),r.d(y,\"easePolyOut\",function(){return f}),r.d(y,\"easePolyInOut\",function(){return h}),r.d(y,\"easeSin\",function(){return M}),r.d(y,\"easeSinIn\",function(){return m}),r.d(y,\"easeSinOut\",function(){return x}),r.d(y,\"easeSinInOut\",function(){return M}),r.d(y,\"easeExp\",function(){return A}),r.d(y,\"easeExpIn\",function(){return j}),r.d(y,\"easeExpOut\",function(){return L}),r.d(y,\"easeExpInOut\",function(){return A}),r.d(y,\"easeCircle\",function(){return re}),r.d(y,\"easeCircleIn\",function(){return J}),r.d(y,\"easeCircleOut\",function(){return q}),r.d(y,\"easeCircleInOut\",function(){return re}),r.d(y,\"easeBounce\",function(){return ee}),r.d(y,\"easeBounceIn\",function(){return Te}),r.d(y,\"easeBounceOut\",function(){return ee}),r.d(y,\"easeBounceInOut\",function(){return xe}),r.d(y,\"easeBack\",function(){return De}),r.d(y,\"easeBackIn\",function(){return Ie}),r.d(y,\"easeBackOut\",function(){return Le}),r.d(y,\"easeBackInOut\",function(){return De}),r.d(y,\"easeElastic\",function(){return Oe}),r.d(y,\"easeElasticIn\",function(){return ye}),r.d(y,\"easeElasticOut\",function(){return Oe}),r.d(y,\"easeElasticInOut\",function(){return Ce});var a=function ie(ae){function ve(X){return Math.pow(X,ae)}return ae=+ae,ve.exponent=ie,ve}(3),f=function ie(ae){function ve(X){return 1-Math.pow(1-X,ae)}return ae=+ae,ve.exponent=ie,ve}(3),h=function ie(ae){function ve(X){return((X*=2)<=1?Math.pow(X,ae):2-Math.pow(2-X,ae))/2}return ae=+ae,ve.exponent=ie,ve}(3),l=Math.PI,s=l/2;function m(ie){return+ie==1?1:1-Math.cos(ie*s)}function x(ie){return Math.sin(ie*s)}function M(ie){return(1-Math.cos(l*ie))/2}function E(ie){return 1.0009775171065494*(Math.pow(2,-10*ie)-.0009765625)}function j(ie){return E(1-+ie)}function L(ie){return 1-E(ie)}function A(ie){return((ie*=2)<=1?E(1-ie):2-E(ie-1))/2}function J(ie){return 1-Math.sqrt(1-ie*ie)}function q(ie){return Math.sqrt(1- --ie*ie)}function re(ie){return((ie*=2)<=1?1-Math.sqrt(1-ie*ie):Math.sqrt(1-(ie-=2)*ie)+1)/2}var me=7.5625;function Te(ie){return 1-ee(1-ie)}function ee(ie){return(ie=+ie)<4/11?me*ie*ie:ie<8/11?me*(ie-=6/11)*ie+3/4:ie<10/11?me*(ie-=9/11)*ie+15/16:me*(ie-=21/22)*ie+63/64}function xe(ie){return((ie*=2)<=1?1-ee(1-ie):ee(ie-1)+1)/2}var Ie=function ie(ae){function ve(X){return(X=+X)*X*(ae*(X-1)+X)}return ae=+ae,ve.overshoot=ie,ve}(1.70158),Le=function ie(ae){function ve(X){return--X*X*((X+1)*ae+X)+1}return ae=+ae,ve.overshoot=ie,ve}(1.70158),De=function ie(ae){function ve(X){return((X*=2)<1?X*X*((ae+1)*X-ae):(X-=2)*X*((ae+1)*X+ae)+2)/2}return ae=+ae,ve.overshoot=ie,ve}(1.70158),ce=2*Math.PI,ye=function ie(ae,ve){var X=Math.asin(1/(ae=Math.max(1,ae)))*(ve/=ce);function se(fe){return ae*E(- --fe)*Math.sin((X-fe)/ve)}return se.amplitude=function(fe){return ie(fe,ve*ce)},se.period=function(fe){return ie(ae,fe)},se}(1,.3),Oe=function ie(ae,ve){var X=Math.asin(1/(ae=Math.max(1,ae)))*(ve/=ce);function se(fe){return 1-ae*E(fe=+fe)*Math.sin((fe+X)/ve)}return se.amplitude=function(fe){return ie(fe,ve*ce)},se.period=function(fe){return ie(ae,fe)},se}(1,.3),Ce=function ie(ae,ve){var X=Math.asin(1/(ae=Math.max(1,ae)))*(ve/=ce);function se(fe){return((fe=2*fe-1)<0?ae*E(-fe)*Math.sin((X-fe)/ve):2-ae*E(fe)*Math.sin((X+fe)/ve))/2}return se.amplitude=function(fe){return ie(fe,ve*ce)},se.period=function(fe){return ie(ae,fe)},se}(1,.3),oe={};function he(ie){return oe[ie.toLowerCase()]||y[ie]}},function(Ee,c,r){\"use strict\";var y=function(){function N(){this._events={}}return N.prototype.on=function(C,w,O){return this._events[C]||(this._events[C]=[]),this._events[C].push({callback:w,once:!!O}),this},N.prototype.once=function(C,w){return this.on(C,w,!0)},N.prototype.emit=function(C){for(var w=this,O=[],b=1;b<arguments.length;b++)O[b-1]=arguments[b];var p=this._events[C]||[],u=this._events[\"*\"]||[],a=function(f){for(var h=f.length,l=0;l<h;l++)if(f[l]){var s=f[l],m=s.callback;s.once&&(f.splice(l,1),f.length===0&&delete w._events[C],h--,l--),m.apply(w,O)}};a(p),a(u)},N.prototype.off=function(C,w){if(C)if(w){for(var O=this._events[C]||[],b=O.length,p=0;p<b;p++)O[p].callback===w&&(O.splice(p,1),b--,p--);O.length===0&&delete this._events[C]}else delete this._events[C];else this._events={};return this},N.prototype.getEvents=function(){return this._events},N}();c.a=y},function(Ee,c,r){\"use strict\";var y=r(1),N=r(0),C=r(54),w=r(8),O={},b=function(p){function u(){return p!==null&&p.apply(this,arguments)||this}return Object(y.__extends)(u,p),u.prototype.isCanvas=function(){return!1},u.prototype.getBBox=function(){var a=1/0,f=-1/0,h=1/0,l=-1/0,s=[],m=[],x=this.getChildren().filter(function(M){return M.get(\"visible\")&&(!M.isGroup()||M.isGroup()&&M.getChildren().length>0)});return x.length>0?(Object(w.a)(x,function(M){var E=M.getBBox();s.push(E.minX,E.maxX),m.push(E.minY,E.maxY)}),a=Object(N.min)(s),f=Object(N.max)(s),h=Object(N.min)(m),l=Object(N.max)(m)):(a=0,f=0,h=0,l=0),{x:a,y:h,minX:a,minY:h,maxX:f,maxY:l,width:f-a,height:l-h}},u.prototype.getCanvasBBox=function(){var a=1/0,f=-1/0,h=1/0,l=-1/0,s=[],m=[],x=this.getChildren().filter(function(M){return M.get(\"visible\")&&(!M.isGroup()||M.isGroup()&&M.getChildren().length>0)});return x.length>0?(Object(w.a)(x,function(M){var E=M.getCanvasBBox();s.push(E.minX,E.maxX),m.push(E.minY,E.maxY)}),a=Object(N.min)(s),f=Object(N.max)(s),h=Object(N.min)(m),l=Object(N.max)(m)):(a=0,f=0,h=0,l=0),{x:a,y:h,minX:a,minY:h,maxX:f,maxY:l,width:f-a,height:l-h}},u.prototype.getDefaultCfg=function(){var a=p.prototype.getDefaultCfg.call(this);return a.children=[],a},u.prototype.onAttrChange=function(a,f,h){if(p.prototype.onAttrChange.call(this,a,f,h),a===\"matrix\"){var l=this.getTotalMatrix();this._applyChildrenMarix(l)}},u.prototype.applyMatrix=function(a){var f=this.getTotalMatrix();p.prototype.applyMatrix.call(this,a);var h=this.getTotalMatrix();h!==f&&this._applyChildrenMarix(h)},u.prototype._applyChildrenMarix=function(a){var f=this.getChildren();Object(w.a)(f,function(h){h.applyMatrix(a)})},u.prototype.addShape=function(){for(var a=[],f=0;f<arguments.length;f++)a[f]=arguments[f];var h=a[0],l=a[1];Object(w.f)(h)?l=h:l.type=h;var s=O[l.type];s||(s=Object(w.k)(l.type),O[l.type]=s);var m=this.getShapeBase(),x=new m[s](l);return this.add(x),x},u.prototype.addGroup=function(){for(var a=[],f=0;f<arguments.length;f++)a[f]=arguments[f];var h,l=a[0],s=a[1];if(Object(w.d)(l))h=new l(s||{parent:this});else{var m=l||{},x=this.getGroupBase();h=new x(m)}return this.add(h),h},u.prototype.getCanvas=function(){return this.isCanvas()?this:this.get(\"canvas\")},u.prototype.getShape=function(a,f,h){if(!Object(w.b)(this))return null;var l,s=this.getChildren();if(this.isCanvas())l=this._findShape(s,a,f,h);else{var m=[a,f,1];m=this.invertFromMatrix(m),this.isClipped(m[0],m[1])||(l=this._findShape(s,m[0],m[1],h))}return l},u.prototype._findShape=function(a,f,h,l){for(var s=null,m=a.length-1;m>=0;m--){var x=a[m];if(Object(w.b)(x)&&(x.isGroup()?s=x.getShape(f,h,l):x.isHit(f,h)&&(s=x)),s)break}return s},u.prototype.add=function(a){var f=this.getCanvas(),h=this.getChildren(),l=this.get(\"timeline\"),s=a.getParent();s&&function(m,x,M){M===void 0&&(M=!0),M?x.destroy():(x.set(\"parent\",null),x.set(\"canvas\",null)),Object(w.j)(m.getChildren(),x)}(s,a,!1),a.set(\"parent\",this),f&&function m(x,M){if(x.set(\"canvas\",M),x.isGroup()){var E=x.get(\"children\");E.length&&E.forEach(function(j){m(j,M)})}}(a,f),l&&function m(x,M){if(x.set(\"timeline\",M),x.isGroup()){var E=x.get(\"children\");E.length&&E.forEach(function(j){m(j,M)})}}(a,l),h.push(a),a.onCanvasChange(\"add\"),this._applyElementMatrix(a)},u.prototype._applyElementMatrix=function(a){var f=this.getTotalMatrix();f&&a.applyMatrix(f)},u.prototype.getChildren=function(){return this.get(\"children\")},u.prototype.sort=function(){var a,f=this.getChildren();Object(w.a)(f,function(h,l){return h._INDEX=l,h}),f.sort((a=function(h,l){return h.get(\"zIndex\")-l.get(\"zIndex\")},function(h,l){var s=a(h,l);return s===0?h._INDEX-l._INDEX:s})),this.onCanvasChange(\"sort\")},u.prototype.clear=function(){if(this.set(\"clearing\",!0),!this.destroyed){for(var a=this.getChildren(),f=a.length-1;f>=0;f--)a[f].destroy();this.set(\"children\",[]),this.onCanvasChange(\"clear\"),this.set(\"clearing\",!1)}},u.prototype.destroy=function(){this.get(\"destroyed\")||(this.clear(),p.prototype.destroy.call(this))},u.prototype.getFirst=function(){return this.getChildByIndex(0)},u.prototype.getLast=function(){var a=this.getChildren();return this.getChildByIndex(a.length-1)},u.prototype.getChildByIndex=function(a){return this.getChildren()[a]},u.prototype.getCount=function(){return this.getChildren().length},u.prototype.contain=function(a){return this.getChildren().indexOf(a)>-1},u.prototype.removeChild=function(a,f){f===void 0&&(f=!0),this.contain(a)&&a.remove(f)},u.prototype.findAll=function(a){var f=[],h=this.getChildren();return Object(w.a)(h,function(l){a(l)&&f.push(l),l.isGroup()&&(f=f.concat(l.findAll(a)))}),f},u.prototype.find=function(a){var f=null,h=this.getChildren();return Object(w.a)(h,function(l){if(a(l)?f=l:l.isGroup()&&(f=l.find(a)),f)return!1}),f},u.prototype.findById=function(a){return this.find(function(f){return f.get(\"id\")===a})},u.prototype.findByClassName=function(a){return this.find(function(f){return f.get(\"className\")===a})},u.prototype.findAllByName=function(a){return this.findAll(function(f){return f.get(\"name\")===a})},u}(C.a);c.a=b},function(Ee,c,r){\"use strict\";var y=r(1),N=r(0),C=r(4),w=r(8),O=r(22),b=r(49),p=C.a.transform,u=[\"zIndex\",\"capture\",\"visible\",\"type\"],a=[\"repeat\"];function f(m,x){var M={},E=x.attrs;for(var j in m)M[j]=E[j];return M}function h(m,x){var M={},E=x.attr();return Object(N.each)(m,function(j,L){a.indexOf(L)!==-1||Object(N.isEqual)(E[L],j)||(M[L]=j)}),M}function l(m,x){if(x.onFrame)return m;var M=x.startTime,E=x.delay,j=x.duration,L=Object.prototype.hasOwnProperty;return Object(N.each)(m,function(A){M+E<A.startTime+A.delay+A.duration&&j>A.delay&&Object(N.each)(x.toAttrs,function(J,q){L.call(A.toAttrs,q)&&(delete A.toAttrs[q],delete A.fromAttrs[q])})}),m}var s=function(m){function x(M){var E=m.call(this,M)||this;E.attrs={};var j=E.getDefaultAttrs();return Object(N.mix)(j,M.attrs),E.attrs=j,E.initAttrs(j),E.initAnimate(),E}return Object(y.__extends)(x,m),x.prototype.getDefaultCfg=function(){return{visible:!0,capture:!0,zIndex:0}},x.prototype.getDefaultAttrs=function(){return{matrix:this.getDefaultMatrix(),opacity:1}},x.prototype.onCanvasChange=function(M){},x.prototype.initAttrs=function(M){},x.prototype.initAnimate=function(){this.set(\"animable\",!0),this.set(\"animating\",!1)},x.prototype.isGroup=function(){return!1},x.prototype.getParent=function(){return this.get(\"parent\")},x.prototype.getCanvas=function(){return this.get(\"canvas\")},x.prototype.attr=function(){for(var M,E=[],j=0;j<arguments.length;j++)E[j]=arguments[j];var L=E[0],A=E[1];if(!L)return this.attrs;if(Object(N.isObject)(L)){for(var J in L)this.setAttr(J,L[J]);return this.afterAttrsChange(L),this}return E.length===2?(this.setAttr(L,A),this.afterAttrsChange(((M={})[L]=A,M)),this):this.attrs[L]},x.prototype.isClipped=function(M,E){var j=this.getClip();return j&&!j.isHit(M,E)},x.prototype.setAttr=function(M,E){var j=this.attrs[M];j!==E&&(this.attrs[M]=E,this.onAttrChange(M,E,j))},x.prototype.onAttrChange=function(M,E,j){M===\"matrix\"&&this.set(\"totalMatrix\",null)},x.prototype.afterAttrsChange=function(M){if(this.cfg.isClipShape){var E=this.cfg.applyTo;E&&E.onCanvasChange(\"clip\")}else this.onCanvasChange(\"attr\")},x.prototype.show=function(){return this.set(\"visible\",!0),this.onCanvasChange(\"show\"),this},x.prototype.hide=function(){return this.set(\"visible\",!1),this.onCanvasChange(\"hide\"),this},x.prototype.setZIndex=function(M){this.set(\"zIndex\",M);var E=this.getParent();return E&&E.sort(),this},x.prototype.toFront=function(){var M=this.getParent();if(M){var E=M.getChildren(),j=(this.get(\"el\"),E.indexOf(this));E.splice(j,1),E.push(this),this.onCanvasChange(\"zIndex\")}},x.prototype.toBack=function(){var M=this.getParent();if(M){var E=M.getChildren(),j=(this.get(\"el\"),E.indexOf(this));E.splice(j,1),E.unshift(this),this.onCanvasChange(\"zIndex\")}},x.prototype.remove=function(M){M===void 0&&(M=!0);var E=this.getParent();E?(Object(w.j)(E.getChildren(),this),E.get(\"clearing\")||this.onCanvasChange(\"remove\")):this.onCanvasChange(\"remove\"),M&&this.destroy()},x.prototype.resetMatrix=function(){this.attr(\"matrix\",this.getDefaultMatrix()),this.onCanvasChange(\"matrix\")},x.prototype.getMatrix=function(){return this.attr(\"matrix\")},x.prototype.setMatrix=function(M){this.attr(\"matrix\",M),this.onCanvasChange(\"matrix\")},x.prototype.getTotalMatrix=function(){var M=this.cfg.totalMatrix;if(!M){var E=this.attr(\"matrix\"),j=this.cfg.parentMatrix;M=j&&E?Object(O.b)(j,E):E||j,this.set(\"totalMatrix\",M)}return M},x.prototype.applyMatrix=function(M){var E=this.attr(\"matrix\"),j=null;j=M&&E?Object(O.b)(M,E):E||M,this.set(\"totalMatrix\",j),this.set(\"parentMatrix\",M)},x.prototype.getDefaultMatrix=function(){return null},x.prototype.applyToMatrix=function(M){var E=this.attr(\"matrix\");return E?Object(O.c)(E,M):M},x.prototype.invertFromMatrix=function(M){var E=this.attr(\"matrix\");if(E){var j=Object(O.a)(E);if(j)return Object(O.c)(j,M)}return M},x.prototype.setClip=function(M){var E=this.getCanvas(),j=null;if(M){var L=this.getShapeBase()[Object(N.upperFirst)(M.type)];L&&(j=new L({type:M.type,isClipShape:!0,applyTo:this,attrs:M.attrs,canvas:E}))}return this.set(\"clipShape\",j),this.onCanvasChange(\"clip\"),j},x.prototype.getClip=function(){var M=this.cfg.clipShape;return M||null},x.prototype.clone=function(){var M=this,E=this.attrs,j={};Object(N.each)(E,function(A,J){Object(N.isArray)(E[J])?j[J]=function(q){for(var re=[],me=0;me<q.length;me++)Object(N.isArray)(q[me])?re.push([].concat(q[me])):re.push(q[me]);return re}(E[J]):j[J]=E[J]});var L=new this.constructor({attrs:j});return Object(N.each)(u,function(A){L.set(A,M.get(A))}),L},x.prototype.destroy=function(){this.destroyed||(this.attrs={},m.prototype.destroy.call(this))},x.prototype.isAnimatePaused=function(){return this.get(\"_pause\").isPaused},x.prototype.animate=function(){for(var M=[],E=0;E<arguments.length;E++)M[E]=arguments[E];if(this.get(\"timeline\")||this.get(\"canvas\")){this.set(\"animating\",!0);var j=this.get(\"timeline\");j||(j=this.get(\"canvas\").get(\"timeline\"),this.set(\"timeline\",j));var L=this.get(\"animations\")||[];j.timer||j.initTimer();var A,J,q,re,me,Te=M[0],ee=M[1],xe=M[2],Ie=xe===void 0?\"easeLinear\":xe,Le=M[3],De=Le===void 0?N.noop:Le,ce=M[4],ye=ce===void 0?0:ce;Object(N.isFunction)(Te)?(A=Te,Te={}):Object(N.isObject)(Te)&&Te.onFrame&&(A=Te.onFrame,J=Te.repeat),Object(N.isObject)(ee)?(ee=(me=ee).duration,Ie=me.easing||\"easeLinear\",ye=me.delay||0,J=me.repeat||J||!1,De=me.callback||N.noop,q=me.pauseCallback||N.noop,re=me.resumeCallback||N.noop):(Object(N.isNumber)(De)&&(ye=De,De=null),Object(N.isFunction)(Ie)?(De=Ie,Ie=\"easeLinear\"):Ie=Ie||\"easeLinear\");var Oe=h(Te,this),Ce={fromAttrs:f(Oe,this),toAttrs:Oe,duration:ee,easing:Ie,repeat:J,callback:De,pauseCallback:q,resumeCallback:re,delay:ye,startTime:j.getTime(),id:Object(N.uniqueId)(),onFrame:A,pathFormatted:!1};L.length>0?L=l(L,Ce):j.addAnimator(this),L.push(Ce),this.set(\"animations\",L),this.set(\"_pause\",{isPaused:!1})}},x.prototype.stopAnimate=function(M){var E=this;M===void 0&&(M=!0);var j=this.get(\"animations\");Object(N.each)(j,function(L){M&&(L.onFrame?E.attr(L.onFrame(1)):E.attr(L.toAttrs)),L.callback&&L.callback()}),this.set(\"animating\",!1),this.set(\"animations\",[])},x.prototype.pauseAnimate=function(){var M=this.get(\"timeline\"),E=this.get(\"animations\"),j=M.getTime();return Object(N.each)(E,function(L){L._paused=!0,L._pauseTime=j,L.pauseCallback&&L.pauseCallback()}),this.set(\"_pause\",{isPaused:!0,pauseTime:j}),this},x.prototype.resumeAnimate=function(){var M=this.get(\"timeline\").getTime(),E=this.get(\"animations\"),j=this.get(\"_pause\").pauseTime;return Object(N.each)(E,function(L){L.startTime=L.startTime+(M-j),L._paused=!1,L._pauseTime=null,L.resumeCallback&&L.resumeCallback()}),this.set(\"_pause\",{isPaused:!1}),this.set(\"animations\",E),this},x.prototype.emitDelegation=function(M,E){var j,L=this,A=E.propagationPath;this.getEvents(),M===\"mouseenter\"?j=E.fromShape:M===\"mouseleave\"&&(j=E.toShape);for(var J=function(me){var Te=A[me],ee=Te.get(\"name\");if(ee){if((Te.isGroup()||Te.isCanvas&&Te.isCanvas())&&j&&Object(w.g)(Te,j))return\"break\";Object(N.isArray)(ee)?Object(N.each)(ee,function(xe){L.emitDelegateEvent(Te,xe,E)}):q.emitDelegateEvent(Te,ee,E)}},q=this,re=0;re<A.length&&J(re)!==\"break\";re++);},x.prototype.emitDelegateEvent=function(M,E,j){var L=this.getEvents(),A=E+\":\"+j.type;(L[A]||L[\"*\"])&&(j.name=A,j.currentTarget=M,j.delegateTarget=this,j.delegateObject=M.get(\"delegateObject\"),this.emit(A,j))},x.prototype.translate=function(M,E){M===void 0&&(M=0),E===void 0&&(E=0);var j=this.getMatrix(),L=p(j,[[\"t\",M,E]]);return this.setMatrix(L),this},x.prototype.move=function(M,E){var j=this.attr(\"x\")||0,L=this.attr(\"y\")||0;return this.translate(M-j,E-L),this},x.prototype.moveTo=function(M,E){return this.move(M,E)},x.prototype.scale=function(M,E){var j=this.getMatrix(),L=p(j,[[\"s\",M,E||M]]);return this.setMatrix(L),this},x.prototype.rotate=function(M){var E=this.getMatrix(),j=p(E,[[\"r\",M]]);return this.setMatrix(j),this},x.prototype.rotateAtStart=function(M){var E=this.attr(),j=E.x,L=E.y,A=this.getMatrix(),J=p(A,[[\"t\",-j,-L],[\"r\",M],[\"t\",j,L]]);return this.setMatrix(J),this},x.prototype.rotateAtPoint=function(M,E,j){var L=this.getMatrix(),A=p(L,[[\"t\",-M,-E],[\"r\",j],[\"t\",M,E]]);return this.setMatrix(A),this},x}(b.a);c.a=s},function(Ee,c,r){\"use strict\";(function(y){r.d(c,\"a\",function(){return h});var N=function(m,x,M){if(M||arguments.length===2)for(var E,j=0,L=x.length;j<L;j++)!E&&j in x||(E||(E=Array.prototype.slice.call(x,0,j)),E[j]=x[j]);return m.concat(E||Array.prototype.slice.call(x))},C=function(m,x,M){this.name=m,this.version=x,this.os=M,this.type=\"browser\"},w=function(m){this.version=m,this.type=\"node\",this.name=\"node\",this.os=y.platform},O=function(m,x,M,E){this.name=m,this.version=x,this.os=M,this.bot=E,this.type=\"bot-device\"},b=function(){this.type=\"bot\",this.bot=!0,this.name=\"bot\",this.version=null,this.os=null},p=function(){this.type=\"react-native\",this.name=\"react-native\",this.version=null,this.os=null},u=/(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\\ Jeeves\\/Teoma|ia_archiver)/,a=[[\"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\",/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/]],f=[[\"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 h(m){return m?s(m):typeof document==\"undefined\"&&typeof navigator!=\"undefined\"&&navigator.product===\"ReactNative\"?new p:typeof navigator!=\"undefined\"?s(navigator.userAgent):y!==void 0&&y.version?new w(y.version.slice(1)):null}function l(m){return m!==\"\"&&a.reduce(function(x,M){var E=M[0],j=M[1];if(x)return x;var L=j.exec(m);return!!L&&[E,L]},!1)}function s(m){var x=l(m);if(!x)return null;var M=x[0],E=x[1];if(M===\"searchbot\")return new b;var j=E[1]&&E[1].split(\".\").join(\"_\").split(\"_\").slice(0,3);j?j.length<3&&(j=N(N([],j,!0),function(q){for(var re=[],me=0;me<q;me++)re.push(\"0\");return re}(3-j.length),!0)):j=[];var L=j.join(\".\"),A=function(q){for(var re=0,me=f.length;re<me;re++){var Te=f[re],ee=Te[0];if(Te[1].exec(q))return ee}return null}(m),J=u.exec(m);return J&&J[1]?new O(M,L,A,J[1]):new C(M,L,A)}}).call(this,r(121))},function(Ee,c,r){\"use strict\";r.d(c,\"b\",function(){return p}),r.d(c,\"a\",function(){return u});var y=r(5),N=/^l\\s*\\(\\s*([\\d.]+)\\s*\\)\\s*(.*)/i,C=/^r\\s*\\(\\s*([\\d.]+)\\s*,\\s*([\\d.]+)\\s*,\\s*([\\d.]+)\\s*\\)\\s*(.*)/i,w=/^p\\s*\\(\\s*([axyn])\\s*\\)\\s*(.*)/i,O=/[\\d.]+:(#[^\\s]+|[^\\)]+\\))/gi;function b(a,f){var h=a.match(O);Object(y.c)(h,function(l){var s=l.split(\":\");f.addColorStop(s[0],s[1])})}function p(a,f,h){var l=f.getBBox();if(isNaN(l.x)||isNaN(l.y)||isNaN(l.width)||isNaN(l.height))return h;if(Object(y.k)(h)){if(h[1]===\"(\"||h[2]===\"(\"){if(h[0]===\"l\")return function(s,m,x){var M,E,j=N.exec(x),L=parseFloat(j[1])%360*(Math.PI/180),A=j[2],J=m.getBBox();L>=0&&L<.5*Math.PI?(M={x:J.minX,y:J.minY},E={x:J.maxX,y:J.maxY}):.5*Math.PI<=L&&L<Math.PI?(M={x:J.maxX,y:J.minY},E={x:J.minX,y:J.maxY}):Math.PI<=L&&L<1.5*Math.PI?(M={x:J.maxX,y:J.maxY},E={x:J.minX,y:J.minY}):(M={x:J.minX,y:J.maxY},E={x:J.maxX,y:J.minY});var q=Math.tan(L),re=q*q,me=(E.x-M.x+q*(E.y-M.y))/(re+1)+M.x,Te=q*(E.x-M.x+q*(E.y-M.y))/(re+1)+M.y,ee=s.createLinearGradient(M.x,M.y,me,Te);return b(A,ee),ee}(a,f,h);if(h[0]===\"r\")return function(s,m,x){var M=C.exec(x),E=parseFloat(M[1]),j=parseFloat(M[2]),L=parseFloat(M[3]),A=M[4];if(L===0){var J=A.match(O);return J[J.length-1].split(\":\")[1]}var q=m.getBBox(),re=q.maxX-q.minX,me=q.maxY-q.minY,Te=Math.sqrt(re*re+me*me)/2,ee=s.createRadialGradient(q.minX+re*E,q.minY+me*j,0,q.minX+re/2,q.minY+me/2,L*Te);return b(A,ee),ee}(a,f,h);if(h[0]===\"p\")return function(s,m,x){if(m.get(\"patternSource\")&&m.get(\"patternSource\")===x)return m.get(\"pattern\");var M,E,j=w.exec(x),L=j[1],A=j[2];function J(){M=s.createPattern(E,L),m.set(\"pattern\",M),m.set(\"patternSource\",x)}switch(L){case\"a\":L=\"repeat\";break;case\"x\":L=\"repeat-x\";break;case\"y\":L=\"repeat-y\";break;case\"n\":L=\"no-repeat\";break;default:L=\"no-repeat\"}return E=new Image,A.match(/^data:/i)||(E.crossOrigin=\"Anonymous\"),E.src=A,E.complete?J():(E.onload=J,E.src=E.src),M}(a,f,h)}return h}return h instanceof CanvasPattern?h:void 0}function u(a){var f=0,h=0,l=0,s=0;return Object(y.g)(a)?a.length===1?f=h=l=s=a[0]:a.length===2?(f=l=a[0],h=s=a[1]):a.length===3?(f=a[0],h=s=a[1],l=a[2]):(f=a[0],h=a[1],l=a[2],s=a[3]):f=h=l=s=a,[f,h,l,s]}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.MESSAGE=c.ALGORITHM=void 0,c.ALGORITHM={pageRank:\"pageRank\",breadthFirstSearch:\"breadthFirstSearch\",connectedComponent:\"connectedComponent\",depthFirstSearch:\"depthFirstSearch\",detectCycle:\"detectCycle\",detectDirectedCycle:\"detectDirectedCycle\",detectAllCycles:\"detectAllCycles\",detectAllDirectedCycle:\"detectAllDirectedCycle\",detectAllUndirectedCycle:\"detectAllUndirectedCycle\",dijkstra:\"dijkstra\",findAllPath:\"findAllPath\",findShortestPath:\"findShortestPath\",floydWarshall:\"floydWarshall\",getAdjMatrix:\"getAdjMatrix\",getDegree:\"getDegree\",getInDegree:\"getInDegree\",getNeighbors:\"getNeighbors\",getOutDegree:\"getOutDegree\",labelPropagation:\"labelPropagation\",louvain:\"louvain\",GADDI:\"GADDI\",minimumSpanningTree:\"minimumSpanningTree\",SUCCESS:\"SUCCESS\",FAILURE:\"FAILURE\"},c.MESSAGE={SUCCESS:\"SUCCESS\",FAILURE:\"FAILURE\"}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var y=r(1),N=r(0),C=r(27),w=function(b,p,u,a){var f=b.nodes,h=f===void 0?[]:f,l=b.edges,s=l===void 0?[]:l,m=[],x={},M={},E={};h.forEach(function(me,Te){var ee=me.id;m.push(ee),M[ee]=1/0,ee===p&&(M[ee]=0)});for(var j=h.length,L=function(me){var Te=function(xe,Ie,Le){for(var De,ce=1/0,ye=0;ye<Ie.length;ye++){var Oe=Ie[ye].id;!Le[Oe]&&xe[Oe]<=ce&&(ce=xe[Oe],De=Ie[ye])}return De}(M,h,x),ee=Te.id;if(x[ee]=!0,M[ee]===1/0)return\"continue\";(u?(0,C.getOutEdgesNodeId)(ee,s):(0,C.getEdgesByNodeId)(ee,s)).forEach(function(xe){var Ie=xe.target,Le=xe.source,De=Ie===ee?Le:Ie,ce=a&&xe[a]?xe[a]:1;M[De]>M[Te.id]+ce?(M[De]=M[Te.id]+ce,E[De]=[Te.id]):M[De]===M[Te.id]+ce&&E[De].push(Te.id)})},A=0;A<j;A++)L();E[p]=[p];var J={};for(var q in M)M[q]!==1/0&&O(p,q,E,J);var re={};for(var q in J)re[q]=J[q][0];return{length:M,path:re,allPath:J}};function O(b,p,u,a){if(b===p)return[b];if(a[p])return a[p];for(var f=[],h=0,l=u[p];h<l.length;h++){var s=O(b,l[h],u,a);if(!s)return;for(var m=0,x=s;m<x.length;m++){var M=x[m];(0,N.isArray)(M)?f.push((0,y.__spreadArray)((0,y.__spreadArray)([],M,!0),[p],!1)):f.push([M,p])}}return a[p]=f,a[p]}c.default=w},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.toNumber=c.isNaN=c.isNumber=void 0,c.isNumber=function(y){return typeof y==\"number\"},c.isNaN=function(y){return Number.isNaN(Number(y))},c.toNumber=function(y){var N=parseFloat(y);return(0,c.isNaN)(N)?y:N}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.getCoreNodeAndRelativeLeafNodes=c.getAvgNodePosition=c.getLayoutBBox=c.traverseTreeUp=c.scaleMatrix=c.getAdjMatrix=c.floydWarshall=c.getDegreeMap=c.getDegree=c.getEdgeTerminal=void 0;var y=r(80),N=r(59),C=r(81);c.getEdgeTerminal=function(b,p){var u=b[p];return(0,C.isObject)(u)?u.cell:u},c.getDegree=function(b,p,u){for(var a=[],f=0;f<b;f++)a[f]={in:0,out:0,all:0};return u&&u.forEach(function(h){var l=(0,c.getEdgeTerminal)(h,\"source\"),s=(0,c.getEdgeTerminal)(h,\"target\");l&&a[p[l]]&&(a[p[l]].out+=1,a[p[l]].all+=1),s&&a[p[s]]&&(a[p[s]].in+=1,a[p[s]].all+=1)}),a},c.getDegreeMap=function(b,p){var u={};return b.forEach(function(a){u[a.id]={in:0,out:0,all:0}}),p&&p.forEach(function(a){var f=(0,c.getEdgeTerminal)(a,\"source\"),h=(0,c.getEdgeTerminal)(a,\"target\");f&&(u[f].out+=1,u[f].all+=1),h&&(u[h].in+=1,u[h].all+=1)}),u},c.floydWarshall=function(b){for(var p=[],u=b.length,a=0;a<u;a+=1){p[a]=[];for(var f=0;f<u;f+=1)a===f?p[a][f]=0:b[a][f]!==0&&b[a][f]?p[a][f]=b[a][f]:p[a][f]=1/0}for(var h=0;h<u;h+=1)for(a=0;a<u;a+=1)for(f=0;f<u;f+=1)p[a][f]>p[a][h]+p[h][f]&&(p[a][f]=p[a][h]+p[h][f]);return p},c.getAdjMatrix=function(b,p){var u=b.nodes,a=b.edges,f=[],h={};if(!u)throw new Error(\"invalid nodes data!\");return u&&u.forEach(function(l,s){h[l.id]=s,f.push([])}),a==null||a.forEach(function(l){var s=(0,c.getEdgeTerminal)(l,\"source\"),m=(0,c.getEdgeTerminal)(l,\"target\"),x=h[s],M=h[m];x!==void 0&&M!==void 0&&(f[x][M]=1,p||(f[M][x]=1))}),f},c.scaleMatrix=function(b,p){var u=[];return b.forEach(function(a){var f=[];a.forEach(function(h){f.push(h*p)}),u.push(f)}),u},c.traverseTreeUp=function(b,p){typeof p==\"function\"&&function u(a,f){if(a&&a.children){for(var h=a.children.length-1;h>=0;h--)if(!u(a.children[h],f))return}return!!f(a)}(b,p)},c.getLayoutBBox=function(b){var p=1/0,u=1/0,a=-1/0,f=-1/0;return b.forEach(function(h){var l=h.size;(0,y.isArray)(l)?l.length===1&&(l=[l[0],l[0]]):(0,N.isNumber)(l)?l=[l,l]:(l===void 0||isNaN(l))&&(l=[30,30]);var s=[l[0]/2,l[1]/2],m=h.x-s[0],x=h.x+s[0],M=h.y-s[1],E=h.y+s[1];p>m&&(p=m),u>M&&(u=M),a<x&&(a=x),f<E&&(f=E)}),{minX:p,minY:u,maxX:a,maxY:f}},c.getAvgNodePosition=function(b){var p={x:0,y:0};b.forEach(function(a){p.x+=a.x||0,p.y+=a.y||0});var u=b.length||1;return{x:p.x/u,y:p.y/u}};var w=function(b,p,u){var a,f;return b===\"source\"?((a=u==null?void 0:u.find(function(h){return h.target===p.id}))===null||a===void 0?void 0:a.source)||{}:((f=u==null?void 0:u.find(function(h){return h.source===p.id}))===null||f===void 0?void 0:f.target)||{}},O=function(b,p,u){var a=[];switch(b){case\"source\":a=u==null?void 0:u.filter(function(h){return h.source===p.id}).map(function(h){return h.target});break;case\"target\":a=u==null?void 0:u.filter(function(h){return h.target===p.id}).map(function(h){return h.source});break;case\"both\":a=u==null?void 0:u.filter(function(h){return h.source===p.id}).map(function(h){return h.target}).concat(u==null?void 0:u.filter(function(h){return h.target===p.id}).map(function(h){return h.source}))}var f=new Set(a);return Array.from(f)};c.getCoreNodeAndRelativeLeafNodes=function(b,p,u,a,f,h){var l=f[p.id],s=l.in,m=l.out,x=p,M=[];return s===0?(x=w(\"source\",p,u),M=O(\"both\",x,u).map(function(E){return h[E]})):m===0&&(x=w(\"target\",p,u),M=O(\"both\",x,u).map(function(E){return h[E]})),{coreNode:x,relativeLeafNodes:M=M.filter(function(E){return f[E.id]&&(f[E.id].in===0||f[E.id].out===0)}),sameTypeLeafNodes:function(E,j,L,A,J){var q=L[j]||\"\",re=(A==null?void 0:A.filter(function(me){return me[j]===q}))||[];return E===\"leaf\"&&(re=re.filter(function(me){var Te,ee;return((Te=J[me.id])===null||Te===void 0?void 0:Te.in)===0||((ee=J[me.id])===null||ee===void 0?void 0:ee.out)===0})),re}(b,a,p,M,f)}}},function(Ee,c,r){\"use strict\";r.r(c);var y=r(111);r.d(c,\"quadtree\",function(){return y.a})},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(f,h){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,s){l.__proto__=s}||function(l,s){for(var m in s)Object.prototype.hasOwnProperty.call(s,m)&&(l[m]=s[m])})(f,h)},function(f,h){if(typeof h!=\"function\"&&h!==null)throw new TypeError(\"Class extends value \"+String(h)+\" is not a constructor or null\");function l(){this.constructor=f}y(f,h),f.prototype=h===null?Object.create(h):(l.prototype=h.prototype,new l)}),C=this&&this.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(c,\"__esModule\",{value:!0}),c.DagreLayout=void 0;var w=C(r(156)),O=r(15),b=r(18),p=r(35),u=function(f){function h(l){var s=f.call(this)||this;return s.rankdir=\"TB\",s.nodesep=50,s.ranksep=50,s.controlPoints=!1,s.sortByCombo=!1,s.edgeLabelSpace=!0,s.radial=!1,s.nodes=[],s.edges=[],s.onLayoutEnd=function(){},s.layoutNode=function(m){var x=s.nodes.find(function(M){return M.id===m});return!x||x.layout!==!1},s.updateCfg(l),s}return N(h,f),h.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}},h.prototype.execute=function(){var l,s,m,x=this,M=this,E=M.nodes,j=M.nodeSize,L=M.rankdir,A=M.combos,J=M.begin,q=M.radial,re=M.comboEdges,me=re===void 0?[]:re,Te=M.vedges,ee=Te===void 0?[]:Te;if(E){var xe=M.edges||[],Ie=new p.Graph({multigraph:!0,compound:!0});M.nodeMap={};var Le,De={};E.forEach(function(Ft){M.nodeMap[Ft.id]=Ft,Ft.comboId&&(De[Ft.comboId]=De[Ft.comboId]||[],De[Ft.comboId].push(Ft.id))}),Le=j?(0,O.isArray)(j)?function(){return j}:function(){return[j,j]}:function(Ft){return Ft.size?(0,O.isArray)(Ft.size)?Ft.size:(0,O.isObject)(Ft.size)?[Ft.size.width||40,Ft.size.height||40]:[Ft.size,Ft.size]:[40,40]};var ce=(0,O.getFunc)(M.ranksep,50,M.ranksepFunc),ye=(0,O.getFunc)(M.nodesep,50,M.nodesepFunc),Oe=ye,Ce=ce;L!==\"LR\"&&L!==\"RL\"||(Oe=ce,Ce=ye),Ie.setDefaultEdgeLabel(function(){return{}}),Ie.setGraph(M);var oe={};this.sortByCombo&&A&&A.forEach(function(Ft){if(oe[Ft.id]=Ft,Ft.collapsed){var kt=Le(Ft),At=Ce(Ft),Fn=Oe(Ft),pn=kt[0]+2*Fn,en=kt[1]+2*At;Ie.setNode(Ft.id,{width:pn,height:en})}Ft.parentId&&(oe[Ft.parentId]||Ie.setNode(Ft.parentId,{}),Ie.setParent(Ft.id,Ft.parentId))}),E.filter(function(Ft){return Ft.layout!==!1}).forEach(function(Ft){var kt=Le(Ft),At=Ce(Ft),Fn=Oe(Ft),pn=kt[0]+2*Fn,en=kt[1]+2*At,Wn=Ft.layer;(0,O.isNumber)(Wn)?Ie.setNode(Ft.id,{width:pn,height:en,layer:Wn}):Ie.setNode(Ft.id,{width:pn,height:en}),x.sortByCombo&&Ft.comboId&&(oe[Ft.comboId]||(oe[Ft.comboId]={id:Ft.comboId},Ie.setNode(Ft.comboId,{})),Ie.setParent(Ft.id,Ft.comboId))}),xe.forEach(function(Ft){var kt=(0,O.getEdgeTerminal)(Ft,\"source\"),At=(0,O.getEdgeTerminal)(Ft,\"target\");x.layoutNode(kt)&&x.layoutNode(At)&&Ie.setEdge(kt,At,{weight:Ft.weight||1})}),(l=me==null?void 0:me.concat(ee||[]))===null||l===void 0||l.forEach(function(Ft){var kt,At,Fn=Ft.source,pn=Ft.target,en=!((kt=oe[Fn])===null||kt===void 0)&&kt.collapsed?[Fn]:De[Fn]||[Fn],Wn=!((At=oe[pn])===null||At===void 0)&&At.collapsed?[pn]:De[pn]||[pn];en.forEach(function(Mn){Wn.forEach(function(Kn){Ie.setEdge(Mn,Kn,{weight:Ft.weight||1})})})});var he=void 0;!((s=M.preset)===null||s===void 0)&&s.nodes&&(he=new p.Graph({multigraph:!0,compound:!0}),M.preset.nodes.forEach(function(Ft){he==null||he.setNode(Ft.id,Ft)})),w.default.layout(Ie,{prevGraph:he,edgeLabelSpace:M.edgeLabelSpace,keepNodeOrder:Boolean(!!M.nodeOrder),nodeOrder:M.nodeOrder});var ie=[0,0];if(J){var ae=1/0,ve=1/0;Ie.nodes().forEach(function(Ft){var kt=Ie.node(Ft);ae>kt.x&&(ae=kt.x),ve>kt.y&&(ve=kt.y)}),Ie.edges().forEach(function(Ft){var kt;(kt=Ie.edge(Ft).points)===null||kt===void 0||kt.forEach(function(At){ae>At.x&&(ae=At.x),ve>At.y&&(ve=At.y)})}),ie[0]=J[0]-ae,ie[1]=J[1]-ve}var X=L===\"LR\"||L===\"RL\";if(q){var se=this.focusNode,fe=this.ranksep,_e=this.getRadialPos,be=(0,O.isString)(se)?se:se==null?void 0:se.id,We=be?(m=Ie.node(be))===null||m===void 0?void 0:m._rank:0,we=[],Ze=X?\"y\":\"x\",Ve=X?\"height\":\"width\",et=1/0,ht=-1/0;Ie.nodes().forEach(function(Ft){var kt=Ie.node(Ft),At=E.findIndex(function(Kn){return Kn.id===Ft});if(E[At]){var Fn=ye(E[At]);if(We===0)we[kt._rank]||(we[kt._rank]={nodes:[],totalWidth:0,maxSize:-1/0}),we[kt._rank].nodes.push(Ft),we[kt._rank].totalWidth+=2*Fn+kt[Ve],we[kt._rank].maxSize<Math.max(kt.width,kt.height)&&(we[kt._rank].maxSize=Math.max(kt.width,kt.height));else{var pn=kt._rank-We;if(pn===0)we[pn]||(we[pn]={nodes:[],totalWidth:0,maxSize:-1/0}),we[pn].nodes.push(Ft),we[pn].totalWidth+=2*Fn+kt[Ve],we[pn].maxSize<Math.max(kt.width,kt.height)&&(we[pn].maxSize=Math.max(kt.width,kt.height));else{var en=Math.abs(pn);we[en]||(we[en]={left:[],right:[],totalWidth:0,maxSize:-1/0}),we[en].totalWidth+=2*Fn+kt[Ve],we[en].maxSize<Math.max(kt.width,kt.height)&&(we[en].maxSize=Math.max(kt.width,kt.height)),pn<0?we[en].left.push(Ft):we[en].right.push(Ft)}}var Wn=kt[Ze]-kt[Ve]/2-Fn,Mn=kt[Ze]+kt[Ve]/2+Fn;Wn<et&&(et=Wn),Mn>ht&&(ht=Mn)}});var Fe=fe||50,mt={},dt=(ht-et)/.9,Lt=[.5*(et+ht-dt),.5*(et+ht+dt)],lt=function(Ft,kt,At,Fn){At===void 0&&(At=-1/0),Fn===void 0&&(Fn=[0,1]);var pn=At;return Ft.forEach(function(en){var Wn=Ie.node(en);mt[en]=kt;var Mn=_e(Wn[Ze],Lt,dt,kt,Fn),Kn=Mn.x,hr=Mn.y,pr=E.findIndex(function(Wr){return Wr.id===en});if(E[pr]){E[pr].x=Kn+ie[0],E[pr].y=hr+ie[1],E[pr]._order=Wn._order;var zr=ce(E[pr]);pn<zr&&(pn=zr)}}),pn},rn=!0;we.forEach(function(Ft){var kt,At,Fn,pn,en,Wn,Mn;if(!((kt=Ft==null?void 0:Ft.nodes)===null||kt===void 0)&&kt.length||!((At=Ft==null?void 0:Ft.left)===null||At===void 0)&&At.length||!((Fn=Ft==null?void 0:Ft.right)===null||Fn===void 0)&&Fn.length){if(rn&&Ft.nodes.length===1){var Kn=E.findIndex(function(zr){return zr.id===Ft.nodes[0]});return Kn<=-1?void 0:(E[Kn].x=ie[0],E[Kn].y=ie[1],mt[Ft.nodes[0]]=0,Fe=ce(E[Kn]),void(rn=!1))}Fe=Math.max(Fe,Ft.totalWidth/(2*Math.PI));var hr=-1/0;if(We===0||!((pn=Ft.nodes)===null||pn===void 0)&&pn.length)hr=lt(Ft.nodes,Fe,hr,[0,1]);else{var pr=((en=Ft.left)===null||en===void 0?void 0:en.length)/(((Wn=Ft.left)===null||Wn===void 0?void 0:Wn.length)+((Mn=Ft.right)===null||Mn===void 0?void 0:Mn.length));hr=lt(Ft.left,Fe,hr,[0,pr]),hr=lt(Ft.right,Fe,hr,[pr+.05,1])}Fe+=hr,rn=!1,Ft.maxSize}}),Ie.edges().forEach(function(Ft){var kt,At,Fn,pn=Ie.edge(Ft),en=xe.findIndex(function(Nr){var Kr=(0,O.getEdgeTerminal)(Nr,\"source\"),ko=(0,O.getEdgeTerminal)(Nr,\"target\");return Kr===Ft.v&&ko===Ft.w});if(!(en<=-1)&&M.edgeLabelSpace&&M.controlPoints&&xe[en].type!==\"loop\"){var Wn=Ze===\"x\"?\"y\":\"x\",Mn=(kt=pn==null?void 0:pn.points)===null||kt===void 0?void 0:kt.slice(1,pn.points.length-1),Kn=[],hr=(At=Ie.node(Ft.v))===null||At===void 0?void 0:At[Wn],pr=hr-((Fn=Ie.node(Ft.w))===null||Fn===void 0?void 0:Fn[Wn]),zr=mt[Ft.v],Wr=zr-mt[Ft.w];Mn==null||Mn.forEach(function(Nr){var Kr=(Nr[Wn]-hr)/pr*Wr+zr,ko=_e(Nr[Ze],Lt,dt,Kr);Kn.push({x:ko.x+ie[0],y:ko.y+ie[1]})}),xe[en].controlPoints=Kn}})}else{var qt=new Set,hn=L===\"BT\"||L===\"RL\"?function(Ft,kt){return kt-Ft}:function(Ft,kt){return Ft-kt};Ie.nodes().forEach(function(Ft){var kt=Ie.node(Ft);if(kt){var At=x.nodeMap[Ft];At||(At=A==null?void 0:A.find(function(Fn){return Fn.id===Ft})),At&&(At.x=kt.x+ie[0],At.y=kt.y+ie[1],At._order=kt._order,qt.add(X?At.x:At.y))}});var Kt=Array.from(qt).sort(hn),an=X?function(Ft,kt){return Ft.x!==kt.x}:function(Ft,kt){return Ft.y!==kt.y},In=X?function(Ft,kt,At){var Fn=Math.max(kt.y,At.y),pn=Math.min(kt.y,At.y);return Ft.filter(function(en){return en.y<=Fn&&en.y>=pn})}:function(Ft,kt,At){var Fn=Math.max(kt.x,At.x),pn=Math.min(kt.x,At.x);return Ft.filter(function(en){return en.x<=Fn&&en.x>=pn})};Ie.edges().forEach(function(Ft){var kt=Ie.edge(Ft),At=xe.findIndex(function(en){var Wn=(0,O.getEdgeTerminal)(en,\"source\"),Mn=(0,O.getEdgeTerminal)(en,\"target\");return Wn===Ft.v&&Mn===Ft.w});if(!(At<=-1)&&M.edgeLabelSpace&&M.controlPoints&&xe[At].type!==\"loop\"){var Fn=M.nodeMap[Ft.v],pn=M.nodeMap[Ft.w];xe[At].controlPoints=a(kt==null?void 0:kt.points,Fn,pn,Kt,X,an,In),xe[At].controlPoints.forEach(function(en){en.x+=ie[0],en.y+=ie[1]})}})}return M.onLayoutEnd&&M.onLayoutEnd(),{nodes:E,edges:xe}}},h.prototype.getRadialPos=function(l,s,m,x,M){M===void 0&&(M=[0,1]);var E=(l-s[0])/m,j=2*(E=E*(M[1]-M[0])+M[0])*Math.PI;return{x:Math.cos(j)*x,y:Math.sin(j)*x}},h.prototype.getType=function(){return\"dagre\"},h}(b.Base);c.DagreLayout=u;var a=function(f,h,l,s,m,x,M){var E=(f==null?void 0:f.slice(1,f.length-1))||[];if(h&&l){var j=h.x,L=h.y,A=l.x,J=l.y;if(m&&(j=h.y,L=h.x,A=l.y,J=l.x),J!==L&&j!==A){var q=s.indexOf(L),re=s[q+1];if(re){var me=E[0],Te=m?{x:(L+re)/2,y:(me==null?void 0:me.y)||A}:{x:(me==null?void 0:me.x)||A,y:(L+re)/2};me&&!x(me,Te)||E.unshift(Te)}var ee=s.indexOf(J),xe=Math.abs(ee-q);if(xe===1)(E=M(E,h,l)).length||E.push(m?{x:(L+J)/2,y:j}:{x:j,y:(L+J)/2});else if(xe>1){var Ie=s[ee-1];if(Ie){var Le=E[E.length-1],De=m?{x:(J+Ie)/2,y:(Le==null?void 0:Le.y)||A}:{x:(Le==null?void 0:Le.x)||j,y:(J+Ie)/2};Le&&!x(Le,De)||E.push(De)}}}}return E}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.slack=c.longestPathWithLayer=c.longestPath=void 0;var y=function(w){var O,b={};(O=w.sources())===null||O===void 0||O.forEach(function(p){return function u(a){var f,h,l=w.node(a);return l?b[a]?l.rank:(b[a]=!0,(f=w.outEdges(a))===null||f===void 0||f.forEach(function(s){var m=u(s.w)-w.edge(s).minlen;m&&(h===void 0||m<h)&&(h=m)}),h||(h=0),l.rank=h,h):0}(p)})};c.longestPath=y;var N=function(w){var O,b,p={};(O=w.sources())===null||O===void 0||O.forEach(function(a){w.node(a)&&function f(h){var l,s,m=w.node(h);return m?p[h]?m.rank:(p[h]=!0,(l=w.outEdges(h))===null||l===void 0||l.forEach(function(x){var M=f(x.w)-w.edge(x).minlen;M&&(s===void 0||M<s)&&(s=M)}),s||(s=0),(b===void 0||s<b)&&(b=s),m.rank=s,s):0}(a)}),b===void 0&&(b=0);var u={};w.nodes().forEach(function(a){var f=w.node(a);f&&(isNaN(f.layer)?f.rank-=b:function h(l,s){var m,x=w.node(l),M=isNaN(x.layer)?s:x.layer;(x.rank===void 0||x.rank<M)&&(x.rank=M),u[l]||(u[l]=!0,(m=w.outEdges(l))===null||m===void 0||m.map(function(E){h(E.w,M+w.edge(E).minlen)}))}(a,f.layer))})};c.longestPathWithLayer=N;var C=function(w,O){return w.node(O.w).rank-w.node(O.v).rank-w.edge(O).minlen};c.slack=C,c.default={longestPath:y,longestPathWithLayer:N,slack:C}},function(Ee,c,r){var y=r(98),N=r(187),C=r(188),w=y?y.toStringTag:void 0;Ee.exports=function(O){return O==null?O===void 0?\"[object Undefined]\":\"[object Null]\":w&&w in Object(O)?N(O):C(O)}},function(Ee,c){function r(y){return(r=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(N){return typeof N}:function(N){return N&&typeof Symbol==\"function\"&&N.constructor===Symbol&&N!==Symbol.prototype?\"symbol\":typeof N})(y)}Ee.exports=function(y){return y!=null&&r(y)==\"object\"}},function(Ee,c,r){\"use strict\";r.r(c),r.d(c,\"forceCenter\",function(){return y}),r.d(c,\"forceCollide\",function(){return p}),r.d(c,\"forceLink\",function(){return h}),r.d(c,\"forceManyBody\",function(){return fe}),r.d(c,\"forceRadial\",function(){return _e}),r.d(c,\"forceSimulation\",function(){return se}),r.d(c,\"forceX\",function(){return be}),r.d(c,\"forceY\",function(){return We});var y=function(we,Ze){var Ve,et=1;function ht(){var Fe,mt,dt=Ve.length,Lt=0,lt=0;for(Fe=0;Fe<dt;++Fe)Lt+=(mt=Ve[Fe]).x,lt+=mt.y;for(Lt=(Lt/dt-we)*et,lt=(lt/dt-Ze)*et,Fe=0;Fe<dt;++Fe)(mt=Ve[Fe]).x-=Lt,mt.y-=lt}return we==null&&(we=0),Ze==null&&(Ze=0),ht.initialize=function(Fe){Ve=Fe},ht.x=function(Fe){return arguments.length?(we=+Fe,ht):we},ht.y=function(Fe){return arguments.length?(Ze=+Fe,ht):Ze},ht.strength=function(Fe){return arguments.length?(et=+Fe,ht):et},ht},N=r(111),C=function(we){return function(){return we}},w=function(we){return 1e-6*(we()-.5)};function O(we){return we.x+we.vx}function b(we){return we.y+we.vy}var p=function(we){var Ze,Ve,et,ht=1,Fe=1;function mt(){for(var lt,rn,qt,hn,Kt,an,In,Ft=Ze.length,kt=0;kt<Fe;++kt)for(rn=Object(N.a)(Ze,O,b).visitAfter(dt),lt=0;lt<Ft;++lt)qt=Ze[lt],an=Ve[qt.index],In=an*an,hn=qt.x+qt.vx,Kt=qt.y+qt.vy,rn.visit(At);function At(Fn,pn,en,Wn,Mn){var Kn=Fn.data,hr=Fn.r,pr=an+hr;if(!Kn)return pn>hn+pr||Wn<hn-pr||en>Kt+pr||Mn<Kt-pr;if(Kn.index>qt.index){var zr=hn-Kn.x-Kn.vx,Wr=Kt-Kn.y-Kn.vy,Nr=zr*zr+Wr*Wr;Nr<pr*pr&&(zr===0&&(Nr+=(zr=w(et))*zr),Wr===0&&(Nr+=(Wr=w(et))*Wr),Nr=(pr-(Nr=Math.sqrt(Nr)))/Nr*ht,qt.vx+=(zr*=Nr)*(pr=(hr*=hr)/(In+hr)),qt.vy+=(Wr*=Nr)*pr,Kn.vx-=zr*(pr=1-pr),Kn.vy-=Wr*pr)}}}function dt(lt){if(lt.data)return lt.r=Ve[lt.data.index];for(var rn=lt.r=0;rn<4;++rn)lt[rn]&&lt[rn].r>lt.r&&(lt.r=lt[rn].r)}function Lt(){if(Ze){var lt,rn,qt=Ze.length;for(Ve=new Array(qt),lt=0;lt<qt;++lt)rn=Ze[lt],Ve[rn.index]=+we(rn,lt,Ze)}}return typeof we!=\"function\"&&(we=C(we==null?1:+we)),mt.initialize=function(lt,rn){Ze=lt,et=rn,Lt()},mt.iterations=function(lt){return arguments.length?(Fe=+lt,mt):Fe},mt.strength=function(lt){return arguments.length?(ht=+lt,mt):ht},mt.radius=function(lt){return arguments.length?(we=typeof lt==\"function\"?lt:C(+lt),Lt(),mt):we},mt};function u(we){return(u=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(Ze){return typeof Ze}:function(Ze){return Ze&&typeof Symbol==\"function\"&&Ze.constructor===Symbol&&Ze!==Symbol.prototype?\"symbol\":typeof Ze})(we)}function a(we){return we.index}function f(we,Ze){var Ve=we.get(Ze);if(!Ve)throw new Error(\"node not found: \"+Ze);return Ve}var h=function(we){var Ze,Ve,et,ht,Fe,mt,dt=a,Lt=function(In){return 1/Math.min(ht[In.source.index],ht[In.target.index])},lt=C(30),rn=1;function qt(In){for(var Ft=0,kt=we.length;Ft<rn;++Ft)for(var At,Fn,pn,en,Wn,Mn,Kn,hr=0;hr<kt;++hr)Fn=(At=we[hr]).source,en=(pn=At.target).x+pn.vx-Fn.x-Fn.vx||w(mt),Wn=pn.y+pn.vy-Fn.y-Fn.vy||w(mt),en*=Mn=((Mn=Math.sqrt(en*en+Wn*Wn))-Ve[hr])/Mn*In*Ze[hr],Wn*=Mn,pn.vx-=en*(Kn=Fe[hr]),pn.vy-=Wn*Kn,Fn.vx+=en*(Kn=1-Kn),Fn.vy+=Wn*Kn}function hn(){if(et){var In,Ft,kt=et.length,At=we.length,Fn=new Map(et.map(function(pn,en){return[dt(pn,en,et),pn]}));for(In=0,ht=new Array(kt);In<At;++In)(Ft=we[In]).index=In,u(Ft.source)!==\"object\"&&(Ft.source=f(Fn,Ft.source)),u(Ft.target)!==\"object\"&&(Ft.target=f(Fn,Ft.target)),ht[Ft.source.index]=(ht[Ft.source.index]||0)+1,ht[Ft.target.index]=(ht[Ft.target.index]||0)+1;for(In=0,Fe=new Array(At);In<At;++In)Ft=we[In],Fe[In]=ht[Ft.source.index]/(ht[Ft.source.index]+ht[Ft.target.index]);Ze=new Array(At),Kt(),Ve=new Array(At),an()}}function Kt(){if(et)for(var In=0,Ft=we.length;In<Ft;++In)Ze[In]=+Lt(we[In],In,we)}function an(){if(et)for(var In=0,Ft=we.length;In<Ft;++In)Ve[In]=+lt(we[In],In,we)}return we==null&&(we=[]),qt.initialize=function(In,Ft){et=In,mt=Ft,hn()},qt.links=function(In){return arguments.length?(we=In,hn(),qt):we},qt.id=function(In){return arguments.length?(dt=In,qt):dt},qt.iterations=function(In){return arguments.length?(rn=+In,qt):rn},qt.strength=function(In){return arguments.length?(Lt=typeof In==\"function\"?In:C(+In),Kt(),qt):Lt},qt.distance=function(In){return arguments.length?(lt=typeof In==\"function\"?In:C(+In),an(),qt):lt},qt},l={value:function(){}};function s(){for(var we,Ze=0,Ve=arguments.length,et={};Ze<Ve;++Ze){if(!(we=arguments[Ze]+\"\")||we in et||/[\\s.]/.test(we))throw new Error(\"illegal type: \"+we);et[we]=[]}return new m(et)}function m(we){this._=we}function x(we,Ze){return we.trim().split(/^|\\s+/).map(function(Ve){var et=\"\",ht=Ve.indexOf(\".\");if(ht>=0&&(et=Ve.slice(ht+1),Ve=Ve.slice(0,ht)),Ve&&!Ze.hasOwnProperty(Ve))throw new Error(\"unknown type: \"+Ve);return{type:Ve,name:et}})}function M(we,Ze){for(var Ve,et=0,ht=we.length;et<ht;++et)if((Ve=we[et]).name===Ze)return Ve.value}function E(we,Ze,Ve){for(var et=0,ht=we.length;et<ht;++et)if(we[et].name===Ze){we[et]=l,we=we.slice(0,et).concat(we.slice(et+1));break}return Ve!=null&&we.push({name:Ze,value:Ve}),we}m.prototype=s.prototype={constructor:m,on:function(we,Ze){var Ve,et=this._,ht=x(we+\"\",et),Fe=-1,mt=ht.length;if(!(arguments.length<2)){if(Ze!=null&&typeof Ze!=\"function\")throw new Error(\"invalid callback: \"+Ze);for(;++Fe<mt;)if(Ve=(we=ht[Fe]).type)et[Ve]=E(et[Ve],we.name,Ze);else if(Ze==null)for(Ve in et)et[Ve]=E(et[Ve],we.name,null);return this}for(;++Fe<mt;)if((Ve=(we=ht[Fe]).type)&&(Ve=M(et[Ve],we.name)))return Ve},copy:function(){var we={},Ze=this._;for(var Ve in Ze)we[Ve]=Ze[Ve].slice();return new m(we)},call:function(we,Ze){if((Ve=arguments.length-2)>0)for(var Ve,et,ht=new Array(Ve),Fe=0;Fe<Ve;++Fe)ht[Fe]=arguments[Fe+2];if(!this._.hasOwnProperty(we))throw new Error(\"unknown type: \"+we);for(Fe=0,Ve=(et=this._[we]).length;Fe<Ve;++Fe)et[Fe].value.apply(Ze,ht)},apply:function(we,Ze,Ve){if(!this._.hasOwnProperty(we))throw new Error(\"unknown type: \"+we);for(var et=this._[we],ht=0,Fe=et.length;ht<Fe;++ht)et[ht].value.apply(Ze,Ve)}};var j=s;function L(we){return(L=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(Ze){return typeof Ze}:function(Ze){return Ze&&typeof Symbol==\"function\"&&Ze.constructor===Symbol&&Ze!==Symbol.prototype?\"symbol\":typeof Ze})(we)}var A,J,q=0,re=0,me=0,Te=0,ee=0,xe=0,Ie=(typeof performance==\"undefined\"?\"undefined\":L(performance))===\"object\"&&performance.now?performance:Date,Le=(typeof window==\"undefined\"?\"undefined\":L(window))===\"object\"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(we){setTimeout(we,17)};function De(){return ee||(Le(ce),ee=Ie.now()+xe)}function ce(){ee=0}function ye(){this._call=this._time=this._next=null}function Oe(we,Ze,Ve){var et=new ye;return et.restart(we,Ze,Ve),et}function Ce(){ee=(Te=Ie.now())+xe,q=re=0;try{(function(){De(),++q;for(var we,Ze=A;Ze;)(we=ee-Ze._time)>=0&&Ze._call.call(null,we),Ze=Ze._next;--q})()}finally{q=0,function(){for(var we,Ze,Ve=A,et=1/0;Ve;)Ve._call?(et>Ve._time&&(et=Ve._time),we=Ve,Ve=Ve._next):(Ze=Ve._next,Ve._next=null,Ve=we?we._next=Ze:A=Ze);J=we,he(et)}(),ee=0}}function oe(){var we=Ie.now(),Ze=we-Te;Ze>1e3&&(xe-=Ze,Te=we)}function he(we){q||(re&&(re=clearTimeout(re)),we-ee>24?(we<1/0&&(re=setTimeout(Ce,we-Ie.now()-xe)),me&&(me=clearInterval(me))):(me||(Te=Ie.now(),me=setInterval(oe,1e3)),q=1,Le(Ce)))}ye.prototype=Oe.prototype={constructor:ye,restart:function(we,Ze,Ve){if(typeof we!=\"function\")throw new TypeError(\"callback is not a function\");Ve=(Ve==null?De():+Ve)+(Ze==null?0:+Ze),this._next||J===this||(J?J._next=this:A=this,J=this),this._call=we,this._time=Ve,he()},stop:function(){this._call&&(this._call=null,this._time=1/0,he())}};var ie=4294967296;function ae(we){return we.x}function ve(we){return we.y}var X=Math.PI*(3-Math.sqrt(5)),se=function(we){var Ze,Ve,et=1,ht=.001,Fe=1-Math.pow(ht,1/300),mt=0,dt=.6,Lt=new Map,lt=Oe(hn),rn=j(\"tick\",\"end\"),qt=(Ve=1,function(){return(Ve=(1664525*Ve+1013904223)%ie)/ie});function hn(){Kt(),rn.call(\"tick\",Ze),et<ht&&(lt.stop(),rn.call(\"end\",Ze))}function Kt(Ft){var kt,At,Fn=we.length;Ft===void 0&&(Ft=1);for(var pn=0;pn<Ft;++pn)for(et+=(mt-et)*Fe,Lt.forEach(function(en){en(et)}),kt=0;kt<Fn;++kt)(At=we[kt]).fx==null?At.x+=At.vx*=dt:(At.x=At.fx,At.vx=0),At.fy==null?At.y+=At.vy*=dt:(At.y=At.fy,At.vy=0);return Ze}function an(){for(var Ft,kt=0,At=we.length;kt<At;++kt){if((Ft=we[kt]).index=kt,Ft.fx!=null&&(Ft.x=Ft.fx),Ft.fy!=null&&(Ft.y=Ft.fy),isNaN(Ft.x)||isNaN(Ft.y)){var Fn=10*Math.sqrt(.5+kt),pn=kt*X;Ft.x=Fn*Math.cos(pn),Ft.y=Fn*Math.sin(pn)}(isNaN(Ft.vx)||isNaN(Ft.vy))&&(Ft.vx=Ft.vy=0)}}function In(Ft){return Ft.initialize&&Ft.initialize(we,qt),Ft}return we==null&&(we=[]),an(),Ze={tick:Kt,restart:function(){return lt.restart(hn),Ze},stop:function(){return lt.stop(),Ze},nodes:function(Ft){return arguments.length?(we=Ft,an(),Lt.forEach(In),Ze):we},alpha:function(Ft){return arguments.length?(et=+Ft,Ze):et},alphaMin:function(Ft){return arguments.length?(ht=+Ft,Ze):ht},alphaDecay:function(Ft){return arguments.length?(Fe=+Ft,Ze):+Fe},alphaTarget:function(Ft){return arguments.length?(mt=+Ft,Ze):mt},velocityDecay:function(Ft){return arguments.length?(dt=1-Ft,Ze):1-dt},randomSource:function(Ft){return arguments.length?(qt=Ft,Lt.forEach(In),Ze):qt},force:function(Ft,kt){return arguments.length>1?(kt==null?Lt.delete(Ft):Lt.set(Ft,In(kt)),Ze):Lt.get(Ft)},find:function(Ft,kt,At){var Fn,pn,en,Wn,Mn,Kn=0,hr=we.length;for(At==null?At=1/0:At*=At,Kn=0;Kn<hr;++Kn)(en=(Fn=Ft-(Wn=we[Kn]).x)*Fn+(pn=kt-Wn.y)*pn)<At&&(Mn=Wn,At=en);return Mn},on:function(Ft,kt){return arguments.length>1?(rn.on(Ft,kt),Ze):rn.on(Ft)}}},fe=function(){var we,Ze,Ve,et,ht,Fe=C(-30),mt=1,dt=1/0,Lt=.81;function lt(Kt){var an,In=we.length,Ft=Object(N.a)(we,ae,ve).visitAfter(qt);for(et=Kt,an=0;an<In;++an)Ze=we[an],Ft.visit(hn)}function rn(){if(we){var Kt,an,In=we.length;for(ht=new Array(In),Kt=0;Kt<In;++Kt)an=we[Kt],ht[an.index]=+Fe(an,Kt,we)}}function qt(Kt){var an,In,Ft,kt,At,Fn=0,pn=0;if(Kt.length){for(Ft=kt=At=0;At<4;++At)(an=Kt[At])&&(In=Math.abs(an.value))&&(Fn+=an.value,pn+=In,Ft+=In*an.x,kt+=In*an.y);Kt.x=Ft/pn,Kt.y=kt/pn}else{(an=Kt).x=an.data.x,an.y=an.data.y;do Fn+=ht[an.data.index];while(an=an.next)}Kt.value=Fn}function hn(Kt,an,In,Ft){if(!Kt.value)return!0;var kt=Kt.x-Ze.x,At=Kt.y-Ze.y,Fn=Ft-an,pn=kt*kt+At*At;if(Fn*Fn/Lt<pn)return pn<dt&&(kt===0&&(pn+=(kt=w(Ve))*kt),At===0&&(pn+=(At=w(Ve))*At),pn<mt&&(pn=Math.sqrt(mt*pn)),Ze.vx+=kt*Kt.value*et/pn,Ze.vy+=At*Kt.value*et/pn),!0;if(!(Kt.length||pn>=dt)){(Kt.data!==Ze||Kt.next)&&(kt===0&&(pn+=(kt=w(Ve))*kt),At===0&&(pn+=(At=w(Ve))*At),pn<mt&&(pn=Math.sqrt(mt*pn)));do Kt.data!==Ze&&(Fn=ht[Kt.data.index]*et/pn,Ze.vx+=kt*Fn,Ze.vy+=At*Fn);while(Kt=Kt.next)}}return lt.initialize=function(Kt,an){we=Kt,Ve=an,rn()},lt.strength=function(Kt){return arguments.length?(Fe=typeof Kt==\"function\"?Kt:C(+Kt),rn(),lt):Fe},lt.distanceMin=function(Kt){return arguments.length?(mt=Kt*Kt,lt):Math.sqrt(mt)},lt.distanceMax=function(Kt){return arguments.length?(dt=Kt*Kt,lt):Math.sqrt(dt)},lt.theta=function(Kt){return arguments.length?(Lt=Kt*Kt,lt):Math.sqrt(Lt)},lt},_e=function(we,Ze,Ve){var et,ht,Fe,mt=C(.1);function dt(lt){for(var rn=0,qt=et.length;rn<qt;++rn){var hn=et[rn],Kt=hn.x-Ze||1e-6,an=hn.y-Ve||1e-6,In=Math.sqrt(Kt*Kt+an*an),Ft=(Fe[rn]-In)*ht[rn]*lt/In;hn.vx+=Kt*Ft,hn.vy+=an*Ft}}function Lt(){if(et){var lt,rn=et.length;for(ht=new Array(rn),Fe=new Array(rn),lt=0;lt<rn;++lt)Fe[lt]=+we(et[lt],lt,et),ht[lt]=isNaN(Fe[lt])?0:+mt(et[lt],lt,et)}}return typeof we!=\"function\"&&(we=C(+we)),Ze==null&&(Ze=0),Ve==null&&(Ve=0),dt.initialize=function(lt){et=lt,Lt()},dt.strength=function(lt){return arguments.length?(mt=typeof lt==\"function\"?lt:C(+lt),Lt(),dt):mt},dt.radius=function(lt){return arguments.length?(we=typeof lt==\"function\"?lt:C(+lt),Lt(),dt):we},dt.x=function(lt){return arguments.length?(Ze=+lt,dt):Ze},dt.y=function(lt){return arguments.length?(Ve=+lt,dt):Ve},dt},be=function(we){var Ze,Ve,et,ht=C(.1);function Fe(dt){for(var Lt,lt=0,rn=Ze.length;lt<rn;++lt)(Lt=Ze[lt]).vx+=(et[lt]-Lt.x)*Ve[lt]*dt}function mt(){if(Ze){var dt,Lt=Ze.length;for(Ve=new Array(Lt),et=new Array(Lt),dt=0;dt<Lt;++dt)Ve[dt]=isNaN(et[dt]=+we(Ze[dt],dt,Ze))?0:+ht(Ze[dt],dt,Ze)}}return typeof we!=\"function\"&&(we=C(we==null?0:+we)),Fe.initialize=function(dt){Ze=dt,mt()},Fe.strength=function(dt){return arguments.length?(ht=typeof dt==\"function\"?dt:C(+dt),mt(),Fe):ht},Fe.x=function(dt){return arguments.length?(we=typeof dt==\"function\"?dt:C(+dt),mt(),Fe):we},Fe},We=function(we){var Ze,Ve,et,ht=C(.1);function Fe(dt){for(var Lt,lt=0,rn=Ze.length;lt<rn;++lt)(Lt=Ze[lt]).vy+=(et[lt]-Lt.y)*Ve[lt]*dt}function mt(){if(Ze){var dt,Lt=Ze.length;for(Ve=new Array(Lt),et=new Array(Lt),dt=0;dt<Lt;++dt)Ve[dt]=isNaN(et[dt]=+we(Ze[dt],dt,Ze))?0:+ht(Ze[dt],dt,Ze)}}return typeof we!=\"function\"&&(we=C(we==null?0:+we)),Fe.initialize=function(dt){Ze=dt,mt()},Fe.strength=function(dt){return arguments.length?(ht=typeof dt==\"function\"?dt:C(+dt),mt(),Fe):ht},Fe.y=function(dt){return arguments.length?(we=typeof dt==\"function\"?dt:C(+dt),mt(),Fe):we},Fe}},function(Ee,c,r){\"use strict\";r.d(c,\"a\",function(){return C});var y=new Map;function N(s,m){y.set(s,m)}function C(s){return y.get(s)}var w=function(s){var m=s.attr();return{x:m.x,y:m.y,width:m.width,height:m.height}},O=function(s){var m=s.attr(),x=m.x,M=m.y,E=m.r;return{x:x-E,y:M-E,width:2*E,height:2*E}},b=r(9);function p(s,m){return s&&m?{minX:Math.min(s.minX,m.minX),minY:Math.min(s.minY,m.minY),maxX:Math.max(s.maxX,m.maxX),maxY:Math.max(s.maxY,m.maxY)}:s||m}function u(s,m){var x=s.get(\"startArrowShape\"),M=s.get(\"endArrowShape\");return x&&(m=p(m,x.getCanvasBBox())),M&&(m=p(m,M.getCanvasBBox())),m}var a=r(32),f=r(21),h=r(0);function l(s,m){var x=s.prePoint,M=s.currentPoint,E=s.nextPoint,j=Math.pow(M[0]-x[0],2)+Math.pow(M[1]-x[1],2),L=Math.pow(M[0]-E[0],2)+Math.pow(M[1]-E[1],2),A=Math.pow(x[0]-E[0],2)+Math.pow(x[1]-E[1],2),J=Math.acos((j+L-A)/(2*Math.sqrt(j)*Math.sqrt(L)));if(!J||Math.sin(J)===0||Object(h.isNumberEqual)(J,0))return{xExtra:0,yExtra:0};var q=Math.abs(Math.atan2(E[1]-M[1],E[0]-M[0])),re=Math.abs(Math.atan2(E[0]-M[0],E[1]-M[1]));return q=q>Math.PI/2?Math.PI-q:q,re=re>Math.PI/2?Math.PI-re:re,{xExtra:Math.cos(J/2-q)*(m/2*(1/Math.sin(J/2)))-m/2||0,yExtra:Math.cos(re-J/2)*(m/2*(1/Math.sin(J/2)))-m/2||0}}N(\"rect\",w),N(\"image\",w),N(\"circle\",O),N(\"marker\",O),N(\"polyline\",function(s){for(var m=s.attr().points,x=[],M=[],E=0;E<m.length;E++){var j=m[E];x.push(j[0]),M.push(j[1])}var L=b.f.getBBoxByArray(x,M),A=L.x,J=L.y,q={minX:A,minY:J,maxX:A+L.width,maxY:J+L.height};return{x:(q=u(s,q)).minX,y:q.minY,width:q.maxX-q.minX,height:q.maxY-q.minY}}),N(\"polygon\",function(s){for(var m=s.attr().points,x=[],M=[],E=0;E<m.length;E++){var j=m[E];x.push(j[0]),M.push(j[1])}return b.f.getBBoxByArray(x,M)}),N(\"text\",function(s){var m=s.attr(),x=m.x,M=m.y,E=m.text,j=m.fontSize,L=m.lineHeight,A=m.font;A||(A=Object(a.a)(m));var J,q=Object(a.c)(E,A);if(q){var re=m.textAlign,me=m.textBaseline,Te=Object(a.b)(E,j,L),ee={x,y:M-Te};re&&(re===\"end\"||re===\"right\"?ee.x-=q:re===\"center\"&&(ee.x-=q/2)),me&&(me===\"top\"?ee.y+=Te:me===\"middle\"&&(ee.y+=Te/2)),J={x:ee.x,y:ee.y,width:q,height:Te}}else J={x,y:M,width:0,height:0};return J}),N(\"path\",function(s){var m=s.attr(),x=m.path,M=m.stroke?m.lineWidth:0,E=function(J,q){for(var re=[],me=[],Te=[],ee=0;ee<J.length;ee++){var xe=(he=J[ee]).currentPoint,Ie=he.params,Le=he.prePoint,De=void 0;switch(he.command){case\"Q\":De=b.e.box(Le[0],Le[1],Ie[1],Ie[2],Ie[3],Ie[4]);break;case\"C\":De=b.b.box(Le[0],Le[1],Ie[1],Ie[2],Ie[3],Ie[4],Ie[5],Ie[6]);break;case\"A\":var ce=he.arcParams;De=b.a.box(ce.cx,ce.cy,ce.rx,ce.ry,ce.xRotation,ce.startAngle,ce.endAngle);break;default:re.push(xe[0]),me.push(xe[1])}De&&(he.box=De,re.push(De.x,De.x+De.width),me.push(De.y,De.y+De.height)),q&&(he.command===\"L\"||he.command===\"M\")&&he.prePoint&&he.nextPoint&&Te.push(he)}re=re.filter(function(ie){return!Number.isNaN(ie)&&ie!==1/0&&ie!==-1/0}),me=me.filter(function(ie){return!Number.isNaN(ie)&&ie!==1/0&&ie!==-1/0});var ye=Object(h.min)(re),Oe=Object(h.min)(me),Ce=Object(h.max)(re),oe=Object(h.max)(me);if(Te.length===0)return{x:ye,y:Oe,width:Ce-ye,height:oe-Oe};for(ee=0;ee<Te.length;ee++){var he;(xe=(he=Te[ee]).currentPoint)[0]===ye?ye-=l(he,q).xExtra:xe[0]===Ce&&(Ce+=l(he,q).xExtra),xe[1]===Oe?Oe-=l(he,q).yExtra:xe[1]===oe&&(oe+=l(he,q).yExtra)}return{x:ye,y:Oe,width:Ce-ye,height:oe-Oe}}(s.get(\"segments\")||Object(f.d)(x),M),j=E.x,L=E.y,A={minX:j,minY:L,maxX:j+E.width,maxY:L+E.height};return{x:(A=u(s,A)).minX,y:A.minY,width:A.maxX-A.minX,height:A.maxY-A.minY}}),N(\"line\",function(s){var m=s.attr(),x=m.x1,M=m.y1,E=m.x2,j=m.y2,L={minX:Math.min(x,E),maxX:Math.max(x,E),minY:Math.min(M,j),maxY:Math.max(M,j)};return{x:(L=u(s,L)).minX,y:L.minY,width:L.maxX-L.minX,height:L.maxY-L.minY}}),N(\"ellipse\",function(s){var m=s.attr(),x=m.x,M=m.y,E=m.rx,j=m.ry;return{x:x-E,y:M-j,width:2*E,height:2*j}})},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=r(12);function N(b,p,u){var a=[0,0,0,0,0,0,0,0,0];return y.mat3.fromTranslation(a,u),y.mat3.multiply(b,a,p)}function C(b,p,u){var a=[0,0,0,0,0,0,0,0,0];return y.mat3.fromRotation(a,u),y.mat3.multiply(b,a,p)}function w(b,p,u){var a=[0,0,0,0,0,0,0,0,0];return y.mat3.fromScaling(a,u),y.mat3.multiply(b,a,p)}function O(b,p){return b[0]*p[1]-p[0]*b[1]}c.leftTranslate=N,c.leftRotate=C,c.leftScale=w,c.transform=function(b,p){for(var u,a,f,h=b?[].concat(b):[1,0,0,0,1,0,0,0,1],l=0,s=p.length;l<s;l++){var m=p[l];switch(m[0]){case\"t\":N(h,h,[m[1],m[2]]);break;case\"s\":w(h,h,[m[1],m[2]]);break;case\"r\":C(h,h,m[1]);break;case\"m\":u=h,a=h,f=m[1],y.mat3.multiply(u,f,a)}}return h},c.direction=O,c.angleTo=function(b,p,u){var a=y.vec2.angle(b,p),f=O(b,p)>=0;return u?f?2*Math.PI-a:a:f?a:2*Math.PI-a},c.vertical=function(b,p,u){return u?(b[0]=p[1],b[1]=-1*p[0]):(b[0]=-1*p[1],b[1]=p[0]),b}},function(Ee,c){},function(Ee,c){},function(Ee,c,r){\"use strict\";var y=r(1),N=function(C){function w(){return C!==null&&C.apply(this,arguments)||this}return Object(y.__extends)(w,C),w.prototype.isGroup=function(){return!0},w.prototype.isEntityGroup=function(){return!1},w.prototype.clone=function(){for(var O=C.prototype.clone.call(this),b=this.getChildren(),p=0;p<b.length;p++){var u=b[p];O.add(u.clone())}return O},w}(r(53).a);c.a=N},function(Ee,c,r){\"use strict\";var y=r(1),N=r(54),C=r(22),w=function(O){function b(p){return O.call(this,p)||this}return Object(y.__extends)(b,O),b.prototype._isInBBox=function(p,u){var a=this.getBBox();return a.minX<=p&&a.maxX>=p&&a.minY<=u&&a.maxY>=u},b.prototype.afterAttrsChange=function(p){O.prototype.afterAttrsChange.call(this,p),this.clearCacheBBox()},b.prototype.getBBox=function(){var p=this.cfg.bbox;return p||(p=this.calculateBBox(),this.set(\"bbox\",p)),p},b.prototype.getCanvasBBox=function(){var p=this.cfg.canvasBBox;return p||(p=this.calculateCanvasBBox(),this.set(\"canvasBBox\",p)),p},b.prototype.applyMatrix=function(p){O.prototype.applyMatrix.call(this,p),this.set(\"canvasBBox\",null)},b.prototype.calculateCanvasBBox=function(){var p=this.getBBox(),u=this.getTotalMatrix(),a=p.minX,f=p.minY,h=p.maxX,l=p.maxY;if(u){var s=Object(C.c)(u,[p.minX,p.minY]),m=Object(C.c)(u,[p.maxX,p.minY]),x=Object(C.c)(u,[p.minX,p.maxY]),M=Object(C.c)(u,[p.maxX,p.maxY]);a=Math.min(s[0],m[0],x[0],M[0]),h=Math.max(s[0],m[0],x[0],M[0]),f=Math.min(s[1],m[1],x[1],M[1]),l=Math.max(s[1],m[1],x[1],M[1])}var E=this.attrs;if(E.shadowColor){var j=E.shadowBlur,L=j===void 0?0:j,A=E.shadowOffsetX,J=A===void 0?0:A,q=E.shadowOffsetY,re=q===void 0?0:q,me=a-L+J,Te=h+L+J,ee=f-L+re,xe=l+L+re;a=Math.min(a,me),h=Math.max(h,Te),f=Math.min(f,ee),l=Math.max(l,xe)}return{x:a,y:f,minX:a,minY:f,maxX:h,maxY:l,width:h-a,height:l-f}},b.prototype.clearCacheBBox=function(){this.set(\"bbox\",null),this.set(\"canvasBBox\",null)},b.prototype.isClipShape=function(){return this.get(\"isClipShape\")},b.prototype.isInShape=function(p,u){return!1},b.prototype.isOnlyHitBox=function(){return!1},b.prototype.isHit=function(p,u){var a=this.get(\"startArrowShape\"),f=this.get(\"endArrowShape\"),h=[p,u,1],l=(h=this.invertFromMatrix(h))[0],s=h[1],m=this._isInBBox(l,s);return this.isOnlyHitBox()?m:!!(m&&!this.isClipped(l,s)&&(this.isInShape(l,s)||a&&a.isHit(l,s)||f&&f.isHit(l,s)))},b}(N.a);c.a=w},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=function(w,O){return O?C(w):N(w)},c.detectStrongConnectComponents=c.detectConnectedComponents=void 0;var y=r(27),N=function(w){for(var O=w.nodes,b=O===void 0?[]:O,p=w.edges,u=p===void 0?[]:p,a=[],f={},h=[],l=function M(E){h.push(E),f[E.id]=!0;for(var j=(0,y.getNeighbors)(E.id,u),L=function(J){var q=j[J];if(!f[q]){var re=b.filter(function(me){return me.id===q});re.length>0&&M(re[0])}},A=0;A<j.length;++A)L(A)},s=0;s<b.length;s++){var m=b[s];if(!f[m.id]){l(m);for(var x=[];h.length>0;)x.push(h.pop());a.push(x)}}return a};c.detectConnectedComponents=N;var C=function(w){for(var O=w.nodes,b=O===void 0?[]:O,p=w.edges,u=p===void 0?[]:p,a=[],f={},h={},l={},s=[],m=0,x=function L(A){h[A.id]=m,l[A.id]=m,m+=1,a.push(A),f[A.id]=!0;for(var J=(0,y.getNeighbors)(A.id,u,\"target\").filter(function(ee){return b.map(function(xe){return xe.id}).indexOf(ee)>-1}),q=function(ee){var xe=J[ee];if(h[xe]||h[xe]===0)f[xe]&&(l[A.id]=Math.min(l[A.id],h[xe]));else{var Ie=b.filter(function(Le){return Le.id===xe});Ie.length>0&&L(Ie[0]),l[A.id]=Math.min(l[A.id],l[xe])}},re=0;re<J.length;re++)q(re);if(l[A.id]===h[A.id]){for(var me=[];a.length>0;){var Te=a.pop();if(f[Te.id]=!1,me.push(Te),Te===A)break}me.length>0&&s.push(me)}},M=0,E=b;M<E.length;M++){var j=E[M];h[j.id]||h[j.id]===0||x(j)}return s};c.detectStrongConnectComponents=C},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.getOutDegree=c.getInDegree=c.default=void 0;var y=function(C){var w={},O=C.nodes,b=O===void 0?[]:O,p=C.edges,u=p===void 0?[]:p;return b.forEach(function(a){w[a.id]={degree:0,inDegree:0,outDegree:0}}),u.forEach(function(a){w[a.source].degree++,w[a.source].outDegree++,w[a.target].degree++,w[a.target].inDegree++}),w},N=y;c.default=N,c.getInDegree=function(C,w){return y(C)[w]?y(C)[w].inDegree:0},c.getOutDegree=function(C,w){return y(C)[w]?y(C)[w].outDegree:0}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=function(N,C,w){(function O(b,p,u,a){a.enter({current:p,previous:u});var f=b.edges,h=f===void 0?[]:f;(0,y.getNeighbors)(p,h,\"target\").forEach(function(l){a.allowTraversal({previous:u,current:p,next:l})&&O(b,l,p,a)}),a.leave({current:p,previous:u})})(N,C,\"\",function(O){O===void 0&&(O={});var b=O,p=function(){},u=(a={},function(f){var h=f.next;return!a[h]&&(a[h]=!0,!0)}),a;return b.allowTraversal=O.allowTraversal||u,b.enter=O.enter||p,b.leave=O.leave||p,b}(w))};var y=r(27)},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var y,N=(y=r(45))&&y.__esModule?y:{default:y},C=function(w,O){for(var b=(0,N.default)(w,O),p=[],u=b.length,a=0;a<u;a+=1){p[a]=[];for(var f=0;f<u;f+=1)a===f?p[a][f]=0:b[a][f]!==0&&b[a][f]?p[a][f]=b[a][f]:p[a][f]=1/0}for(var h=0;h<u;h+=1)for(a=0;a<u;a+=1)for(f=0;f<u;f+=1)p[a][f]>p[a][h]+p[h][f]&&(p[a][f]=p[a][h]+p[h][f]);return p};c.default=C},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var y=r(0),N=function(){function C(w){this.arr=w}return C.prototype.getArr=function(){return this.arr||[]},C.prototype.add=function(w){var O,b=w.arr;if(!(!((O=this.arr)===null||O===void 0)&&O.length))return new C(b);if(!(b!=null&&b.length))return new C(this.arr);if(this.arr.length===b.length){var p=[];for(var u in this.arr)p[u]=this.arr[u]+b[u];return new C(p)}},C.prototype.subtract=function(w){var O,b=w.arr;if(!(!((O=this.arr)===null||O===void 0)&&O.length))return new C(b);if(!(b!=null&&b.length))return new C(this.arr);if(this.arr.length===b.length){var p=[];for(var u in this.arr)p[u]=this.arr[u]-b[u];return new C(p)}},C.prototype.avg=function(w){var O=[];if(w!==0)for(var b in this.arr)O[b]=this.arr[b]/w;return new C(O)},C.prototype.negate=function(){var w=[];for(var O in this.arr)w[O]=-this.arr[O];return new C(w)},C.prototype.squareEuclideanDistance=function(w){var O,b=w.arr;if(!(!((O=this.arr)===null||O===void 0)&&O.length)||!(b!=null&&b.length))return 0;if(this.arr.length===b.length){var p=0;for(var u in this.arr)p+=Math.pow(this.arr[u]-w.arr[u],2);return p}},C.prototype.euclideanDistance=function(w){var O,b=w.arr;if(!(!((O=this.arr)===null||O===void 0)&&O.length)||!(b!=null&&b.length))return 0;if(this.arr.length===b.length){var p=0;for(var u in this.arr)p+=Math.pow(this.arr[u]-w.arr[u],2);return Math.sqrt(p)}console.error(\"The two vectors are unequal in length.\")},C.prototype.normalize=function(){var w=[],O=(0,y.clone)(this.arr);O.sort(function(a,f){return a-f});var b=O[O.length-1],p=O[0];for(var u in this.arr)w[u]=(this.arr[u]-p)/(b-p);return new C(w)},C.prototype.norm2=function(){var w;if(!(!((w=this.arr)===null||w===void 0)&&w.length))return 0;var O=0;for(var b in this.arr)O+=Math.pow(this.arr[b],2);return Math.sqrt(O)},C.prototype.dot=function(w){var O,b=w.arr;if(!(!((O=this.arr)===null||O===void 0)&&O.length)||!(b!=null&&b.length))return 0;if(this.arr.length===b.length){var p=0;for(var u in this.arr)p+=this.arr[u]*w.arr[u];return p}console.error(\"The two vectors are unequal in length.\")},C.prototype.equal=function(w){var O,b=w.arr;if(((O=this.arr)===null||O===void 0?void 0:O.length)!==(b==null?void 0:b.length))return!1;for(var p in this.arr)if(this.arr[p]!==b[p])return!1;return!0},C}();c.default=N},function(Ee,c,r){var y=r(149),N={};for(var C in y)y.hasOwnProperty(C)&&(N[y[C]]=C);var w=Ee.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 O in w)if(w.hasOwnProperty(O)){if(!(\"channels\"in w[O]))throw new Error(\"missing channels property: \"+O);if(!(\"labels\"in w[O]))throw new Error(\"missing channel labels property: \"+O);if(w[O].labels.length!==w[O].channels)throw new Error(\"channel and label counts mismatch: \"+O);var b=w[O].channels,p=w[O].labels;delete w[O].channels,delete w[O].labels,Object.defineProperty(w[O],\"channels\",{value:b}),Object.defineProperty(w[O],\"labels\",{value:p})}w.rgb.hsl=function(u){var a,f,h=u[0]/255,l=u[1]/255,s=u[2]/255,m=Math.min(h,l,s),x=Math.max(h,l,s),M=x-m;return x===m?a=0:h===x?a=(l-s)/M:l===x?a=2+(s-h)/M:s===x&&(a=4+(h-l)/M),(a=Math.min(60*a,360))<0&&(a+=360),f=(m+x)/2,[a,100*(x===m?0:f<=.5?M/(x+m):M/(2-x-m)),100*f]},w.rgb.hsv=function(u){var a,f,h,l,s,m=u[0]/255,x=u[1]/255,M=u[2]/255,E=Math.max(m,x,M),j=E-Math.min(m,x,M),L=function(A){return(E-A)/6/j+.5};return j===0?l=s=0:(s=j/E,a=L(m),f=L(x),h=L(M),m===E?l=h-f:x===E?l=1/3+a-h:M===E&&(l=2/3+f-a),l<0?l+=1:l>1&&(l-=1)),[360*l,100*s,100*E]},w.rgb.hwb=function(u){var a=u[0],f=u[1],h=u[2];return[w.rgb.hsl(u)[0],100*(1/255*Math.min(a,Math.min(f,h))),100*(h=1-1/255*Math.max(a,Math.max(f,h)))]},w.rgb.cmyk=function(u){var a,f=u[0]/255,h=u[1]/255,l=u[2]/255;return[100*((1-f-(a=Math.min(1-f,1-h,1-l)))/(1-a)||0),100*((1-h-a)/(1-a)||0),100*((1-l-a)/(1-a)||0),100*a]},w.rgb.keyword=function(u){var a=N[u];if(a)return a;var f,h,l,s=1/0;for(var m in y)if(y.hasOwnProperty(m)){var x=y[m],M=(h=u,l=x,Math.pow(h[0]-l[0],2)+Math.pow(h[1]-l[1],2)+Math.pow(h[2]-l[2],2));M<s&&(s=M,f=m)}return f},w.keyword.rgb=function(u){return y[u]},w.rgb.xyz=function(u){var a=u[0]/255,f=u[1]/255,h=u[2]/255;return[100*(.4124*(a=a>.04045?Math.pow((a+.055)/1.055,2.4):a/12.92)+.3576*(f=f>.04045?Math.pow((f+.055)/1.055,2.4):f/12.92)+.1805*(h=h>.04045?Math.pow((h+.055)/1.055,2.4):h/12.92)),100*(.2126*a+.7152*f+.0722*h),100*(.0193*a+.1192*f+.9505*h)]},w.rgb.lab=function(u){var a=w.rgb.xyz(u),f=a[0],h=a[1],l=a[2];return h/=100,l/=108.883,f=(f/=95.047)>.008856?Math.pow(f,1/3):7.787*f+16/116,[116*(h=h>.008856?Math.pow(h,1/3):7.787*h+16/116)-16,500*(f-h),200*(h-(l=l>.008856?Math.pow(l,1/3):7.787*l+16/116))]},w.hsl.rgb=function(u){var a,f,h,l,s,m=u[0]/360,x=u[1]/100,M=u[2]/100;if(x===0)return[s=255*M,s,s];a=2*M-(f=M<.5?M*(1+x):M+x-M*x),l=[0,0,0];for(var E=0;E<3;E++)(h=m+1/3*-(E-1))<0&&h++,h>1&&h--,s=6*h<1?a+6*(f-a)*h:2*h<1?f:3*h<2?a+(f-a)*(2/3-h)*6:a,l[E]=255*s;return l},w.hsl.hsv=function(u){var a=u[0],f=u[1]/100,h=u[2]/100,l=f,s=Math.max(h,.01);return f*=(h*=2)<=1?h:2-h,l*=s<=1?s:2-s,[a,100*(h===0?2*l/(s+l):2*f/(h+f)),100*((h+f)/2)]},w.hsv.rgb=function(u){var a=u[0]/60,f=u[1]/100,h=u[2]/100,l=Math.floor(a)%6,s=a-Math.floor(a),m=255*h*(1-f),x=255*h*(1-f*s),M=255*h*(1-f*(1-s));switch(h*=255,l){case 0:return[h,M,m];case 1:return[x,h,m];case 2:return[m,h,M];case 3:return[m,x,h];case 4:return[M,m,h];case 5:return[h,m,x]}},w.hsv.hsl=function(u){var a,f,h,l=u[0],s=u[1]/100,m=u[2]/100,x=Math.max(m,.01);return h=(2-s)*m,f=s*x,[l,100*(f=(f/=(a=(2-s)*x)<=1?a:2-a)||0),100*(h/=2)]},w.hwb.rgb=function(u){var a,f,h,l,s,m,x,M=u[0]/360,E=u[1]/100,j=u[2]/100,L=E+j;switch(L>1&&(E/=L,j/=L),h=6*M-(a=Math.floor(6*M)),1&a&&(h=1-h),l=E+h*((f=1-j)-E),a){default:case 6:case 0:s=f,m=l,x=E;break;case 1:s=l,m=f,x=E;break;case 2:s=E,m=f,x=l;break;case 3:s=E,m=l,x=f;break;case 4:s=l,m=E,x=f;break;case 5:s=f,m=E,x=l}return[255*s,255*m,255*x]},w.cmyk.rgb=function(u){var a=u[0]/100,f=u[1]/100,h=u[2]/100,l=u[3]/100;return[255*(1-Math.min(1,a*(1-l)+l)),255*(1-Math.min(1,f*(1-l)+l)),255*(1-Math.min(1,h*(1-l)+l))]},w.xyz.rgb=function(u){var a,f,h,l=u[0]/100,s=u[1]/100,m=u[2]/100;return f=-.9689*l+1.8758*s+.0415*m,h=.0557*l+-.204*s+1.057*m,a=(a=3.2406*l+-1.5372*s+-.4986*m)>.0031308?1.055*Math.pow(a,1/2.4)-.055:12.92*a,f=f>.0031308?1.055*Math.pow(f,1/2.4)-.055:12.92*f,h=h>.0031308?1.055*Math.pow(h,1/2.4)-.055:12.92*h,[255*(a=Math.min(Math.max(0,a),1)),255*(f=Math.min(Math.max(0,f),1)),255*(h=Math.min(Math.max(0,h),1))]},w.xyz.lab=function(u){var a=u[0],f=u[1],h=u[2];return f/=100,h/=108.883,a=(a/=95.047)>.008856?Math.pow(a,1/3):7.787*a+16/116,[116*(f=f>.008856?Math.pow(f,1/3):7.787*f+16/116)-16,500*(a-f),200*(f-(h=h>.008856?Math.pow(h,1/3):7.787*h+16/116))]},w.lab.xyz=function(u){var a,f,h,l=u[0];a=u[1]/500+(f=(l+16)/116),h=f-u[2]/200;var s=Math.pow(f,3),m=Math.pow(a,3),x=Math.pow(h,3);return f=s>.008856?s:(f-16/116)/7.787,a=m>.008856?m:(a-16/116)/7.787,h=x>.008856?x:(h-16/116)/7.787,[a*=95.047,f*=100,h*=108.883]},w.lab.lch=function(u){var a,f=u[0],h=u[1],l=u[2];return(a=360*Math.atan2(l,h)/2/Math.PI)<0&&(a+=360),[f,Math.sqrt(h*h+l*l),a]},w.lch.lab=function(u){var a,f=u[0],h=u[1];return a=u[2]/360*2*Math.PI,[f,h*Math.cos(a),h*Math.sin(a)]},w.rgb.ansi16=function(u){var a=u[0],f=u[1],h=u[2],l=1 in arguments?arguments[1]:w.rgb.hsv(u)[2];if((l=Math.round(l/50))===0)return 30;var s=30+(Math.round(h/255)<<2|Math.round(f/255)<<1|Math.round(a/255));return l===2&&(s+=60),s},w.hsv.ansi16=function(u){return w.rgb.ansi16(w.hsv.rgb(u),u[2])},w.rgb.ansi256=function(u){var a=u[0],f=u[1],h=u[2];return a===f&&f===h?a<8?16:a>248?231:Math.round((a-8)/247*24)+232:16+36*Math.round(a/255*5)+6*Math.round(f/255*5)+Math.round(h/255*5)},w.ansi16.rgb=function(u){var a=u%10;if(a===0||a===7)return u>50&&(a+=3.5),[a=a/10.5*255,a,a];var f=.5*(1+~~(u>50));return[(1&a)*f*255,(a>>1&1)*f*255,(a>>2&1)*f*255]},w.ansi256.rgb=function(u){if(u>=232){var a=10*(u-232)+8;return[a,a,a]}var f;return u-=16,[Math.floor(u/36)/5*255,Math.floor((f=u%36)/6)/5*255,f%6/5*255]},w.rgb.hex=function(u){var a=(((255&Math.round(u[0]))<<16)+((255&Math.round(u[1]))<<8)+(255&Math.round(u[2]))).toString(16).toUpperCase();return\"000000\".substring(a.length)+a},w.hex.rgb=function(u){var a=u.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!a)return[0,0,0];var f=a[0];a[0].length===3&&(f=f.split(\"\").map(function(l){return l+l}).join(\"\"));var h=parseInt(f,16);return[h>>16&255,h>>8&255,255&h]},w.rgb.hcg=function(u){var a,f=u[0]/255,h=u[1]/255,l=u[2]/255,s=Math.max(Math.max(f,h),l),m=Math.min(Math.min(f,h),l),x=s-m;return a=x<=0?0:s===f?(h-l)/x%6:s===h?2+(l-f)/x:4+(f-h)/x+4,a/=6,[360*(a%=1),100*x,100*(x<1?m/(1-x):0)]},w.hsl.hcg=function(u){var a=u[1]/100,f=u[2]/100,h=1,l=0;return(h=f<.5?2*a*f:2*a*(1-f))<1&&(l=(f-.5*h)/(1-h)),[u[0],100*h,100*l]},w.hsv.hcg=function(u){var a=u[1]/100,f=u[2]/100,h=a*f,l=0;return h<1&&(l=(f-h)/(1-h)),[u[0],100*h,100*l]},w.hcg.rgb=function(u){var a=u[0]/360,f=u[1]/100,h=u[2]/100;if(f===0)return[255*h,255*h,255*h];var l,s=[0,0,0],m=a%1*6,x=m%1,M=1-x;switch(Math.floor(m)){case 0:s[0]=1,s[1]=x,s[2]=0;break;case 1:s[0]=M,s[1]=1,s[2]=0;break;case 2:s[0]=0,s[1]=1,s[2]=x;break;case 3:s[0]=0,s[1]=M,s[2]=1;break;case 4:s[0]=x,s[1]=0,s[2]=1;break;default:s[0]=1,s[1]=0,s[2]=M}return l=(1-f)*h,[255*(f*s[0]+l),255*(f*s[1]+l),255*(f*s[2]+l)]},w.hcg.hsv=function(u){var a=u[1]/100,f=a+u[2]/100*(1-a),h=0;return f>0&&(h=a/f),[u[0],100*h,100*f]},w.hcg.hsl=function(u){var a=u[1]/100,f=u[2]/100*(1-a)+.5*a,h=0;return f>0&&f<.5?h=a/(2*f):f>=.5&&f<1&&(h=a/(2*(1-f))),[u[0],100*h,100*f]},w.hcg.hwb=function(u){var a=u[1]/100,f=a+u[2]/100*(1-a);return[u[0],100*(f-a),100*(1-f)]},w.hwb.hcg=function(u){var a=u[1]/100,f=1-u[2]/100,h=f-a,l=0;return h<1&&(l=(f-h)/(1-h)),[u[0],100*h,100*l]},w.apple.rgb=function(u){return[u[0]/65535*255,u[1]/65535*255,u[2]/65535*255]},w.rgb.apple=function(u){return[u[0]/255*65535,u[1]/255*65535,u[2]/255*65535]},w.gray.rgb=function(u){return[u[0]/100*255,u[0]/100*255,u[0]/100*255]},w.gray.hsl=w.gray.hsv=function(u){return[0,0,u[0]]},w.gray.hwb=function(u){return[0,100,u[0]]},w.gray.cmyk=function(u){return[0,0,0,u[0]]},w.gray.lab=function(u){return[u[0],0,0]},w.gray.hex=function(u){var a=255&Math.round(u[0]/100*255),f=((a<<16)+(a<<8)+a).toString(16).toUpperCase();return\"000000\".substring(f.length)+f},w.rgb.gray=function(u){return[(u[0]+u[1]+u[2])/3/255*100]}},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(b,p){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,a){u.__proto__=a}||function(u,a){for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&(u[f]=a[f])})(b,p)},function(b,p){if(typeof p!=\"function\"&&p!==null)throw new TypeError(\"Class extends value \"+String(p)+\" is not a constructor or null\");function u(){this.constructor=b}y(b,p),b.prototype=p===null?Object.create(p):(u.prototype=p.prototype,new u)});Object.defineProperty(c,\"__esModule\",{value:!0}),c.getLayoutByName=c.unRegisterLayout=c.registerLayout=void 0;var C=r(18),w=r(15),O=new Map;c.registerLayout=function(b,p){if(O.get(b)&&console.warn(\"The layout with the name \".concat(b,\" exists already, it will be overridden\")),(0,w.isObject)(p)){var u=function(a){function f(h){var l=a.call(this)||this,s=l,m={},x=s.getDefaultCfg();return Object.assign(m,x,p,h),Object.keys(m).forEach(function(M){var E=m[M];s[M]=E}),l}return N(f,a),f}(C.Base);O.set(b,u)}else O.set(b,p);return O.get(b)},c.unRegisterLayout=function(b){O.has(b)&&O.delete(b)},c.getLayoutByName=function(b){return O.has(b)?O.get(b):null}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.isArray=void 0,c.isArray=Array.isArray},function(Ee,c,r){\"use strict\";function y(C){return(y=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(w){return typeof w}:function(w){return w&&typeof Symbol==\"function\"&&w.constructor===Symbol&&w!==Symbol.prototype?\"symbol\":typeof w})(C)}var N=this&&this.__assign||function(){return(N=Object.assign||function(C){for(var w,O=1,b=arguments.length;O<b;O++)for(var p in w=arguments[O])Object.prototype.hasOwnProperty.call(w,p)&&(C[p]=w[p]);return C}).apply(this,arguments)};Object.defineProperty(c,\"__esModule\",{value:!0}),c.clone=c.isObject=void 0,c.isObject=function(C){return C!==null&&y(C)===\"object\"},c.clone=function(C){if(C===null)return C;if(C instanceof Date)return new Date(C.getTime());if(C instanceof Array){var w=[];return C.forEach(function(b){w.push(b)}),w.map(function(b){return(0,c.clone)(b)})}if(y(C)===\"object\"&&Object.keys(C).length){var O=N({},C);return Object.keys(O).forEach(function(b){O[b]=(0,c.clone)(O[b])}),O}return C}},function(Ee,c,r){\"use strict\";var y=this&&this.__createBinding||(Object.create?function(q,re,me,Te){Te===void 0&&(Te=me);var ee=Object.getOwnPropertyDescriptor(re,me);ee&&!(\"get\"in ee?!re.__esModule:ee.writable||ee.configurable)||(ee={enumerable:!0,get:function(){return re[me]}}),Object.defineProperty(q,Te,ee)}:function(q,re,me,Te){Te===void 0&&(Te=me),q[Te]=re[me]}),N=this&&this.__exportStar||function(q,re){for(var me in q)me===\"default\"||Object.prototype.hasOwnProperty.call(re,me)||y(re,q,me)};Object.defineProperty(c,\"__esModule\",{value:!0}),c.ERLayout=c.ForceAtlas2Layout=c.ComboCombinedLayout=c.ComboForceLayout=c.GForceGPULayout=c.FruchtermanGPULayout=c.FruchtermanLayout=c.MDSLayout=c.ConcentricLayout=c.RadialLayout=c.DagreCompoundLayout=c.DagreLayout=c.CircularLayout=c.ForceLayout=c.Force2Layout=c.GForceLayout=c.RandomLayout=c.GridLayout=c.Layouts=c.Layout=void 0;var C=r(83);Object.defineProperty(c,\"GridLayout\",{enumerable:!0,get:function(){return C.GridLayout}});var w=r(84);Object.defineProperty(c,\"RandomLayout\",{enumerable:!0,get:function(){return w.RandomLayout}});var O=r(85);Object.defineProperty(c,\"GForceLayout\",{enumerable:!0,get:function(){return O.GForceLayout}});var b=r(86);Object.defineProperty(c,\"Force2Layout\",{enumerable:!0,get:function(){return b.Force2Layout}});var p=r(87);Object.defineProperty(c,\"ForceLayout\",{enumerable:!0,get:function(){return p.ForceLayout}});var u=r(88);Object.defineProperty(c,\"CircularLayout\",{enumerable:!0,get:function(){return u.CircularLayout}});var a=r(62);Object.defineProperty(c,\"DagreLayout\",{enumerable:!0,get:function(){return a.DagreLayout}});var f=r(90);Object.defineProperty(c,\"DagreCompoundLayout\",{enumerable:!0,get:function(){return f.DagreCompoundLayout}});var h=r(92);Object.defineProperty(c,\"RadialLayout\",{enumerable:!0,get:function(){return h.RadialLayout}});var l=r(93);Object.defineProperty(c,\"ConcentricLayout\",{enumerable:!0,get:function(){return l.ConcentricLayout}});var s=r(94);Object.defineProperty(c,\"MDSLayout\",{enumerable:!0,get:function(){return s.MDSLayout}});var m=r(95);Object.defineProperty(c,\"FruchtermanLayout\",{enumerable:!0,get:function(){return m.FruchtermanLayout}});var x=r(96);Object.defineProperty(c,\"FruchtermanGPULayout\",{enumerable:!0,get:function(){return x.FruchtermanGPULayout}});var M=r(103);Object.defineProperty(c,\"GForceGPULayout\",{enumerable:!0,get:function(){return M.GForceGPULayout}});var E=r(104);Object.defineProperty(c,\"ComboForceLayout\",{enumerable:!0,get:function(){return E.ComboForceLayout}});var j=r(105);Object.defineProperty(c,\"ComboCombinedLayout\",{enumerable:!0,get:function(){return j.ComboCombinedLayout}});var L=r(106);Object.defineProperty(c,\"ForceAtlas2Layout\",{enumerable:!0,get:function(){return L.ForceAtlas2Layout}});var A=r(107);Object.defineProperty(c,\"ERLayout\",{enumerable:!0,get:function(){return A.ERLayout}});var J=r(208);Object.defineProperty(c,\"Layout\",{enumerable:!0,get:function(){return J.Layout}}),Object.defineProperty(c,\"Layouts\",{enumerable:!0,get:function(){return J.Layouts}}),N(r(209),c)},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(O,b){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,u){p.__proto__=u}||function(p,u){for(var a in u)Object.prototype.hasOwnProperty.call(u,a)&&(p[a]=u[a])})(O,b)},function(O,b){if(typeof b!=\"function\"&&b!==null)throw new TypeError(\"Class extends value \"+String(b)+\" is not a constructor or null\");function p(){this.constructor=O}y(O,b),O.prototype=b===null?Object.create(b):(p.prototype=b.prototype,new p)});Object.defineProperty(c,\"__esModule\",{value:!0}),c.GridLayout=void 0;var C=r(15),w=function(O){function b(p){var u=O.call(this)||this;return u.begin=[0,0],u.preventOverlap=!0,u.preventOverlapPadding=10,u.condense=!1,u.sortBy=\"degree\",u.nodes=[],u.edges=[],u.width=300,u.height=300,u.row=0,u.col=0,u.cellWidth=0,u.cellHeight=0,u.cellUsed={},u.id2manPos={},u.onLayoutEnd=function(){},u.updateCfg(p),u}return N(b,O),b.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}},b.prototype.execute=function(){var p=this,u=p.nodes,a=p.edges,f=p.begin,h=u.length;if(h===0)return p.onLayoutEnd&&p.onLayoutEnd(),{nodes:u,edges:a};if(h===1)return u[0].x=f[0],u[0].y=f[1],p.onLayoutEnd&&p.onLayoutEnd(),{nodes:u,edges:a};var l=p.sortBy,s=p.width,m=p.height,x=p.condense,M=p.preventOverlapPadding,E=p.preventOverlap,j=p.nodeSpacing,L=p.nodeSize,A=[];u.forEach(function(Oe){A.push(Oe)});var J={};if(A.forEach(function(Oe,Ce){J[Oe.id]=Ce}),(l===\"degree\"||!(0,C.isString)(l)||A[0][l]===void 0)&&(l=\"degree\",(0,C.isNaN)(u[0].degree))){var q=(0,C.getDegree)(A.length,J,a);A.forEach(function(Oe,Ce){Oe.degree=q[Ce].all})}A.sort(function(Oe,Ce){return Ce[l]-Oe[l]}),s||typeof window==\"undefined\"||(s=window.innerWidth),m||typeof window==\"undefined\"||(m=window.innerHeight);var re=p.rows,me=p.cols!=null?p.cols:p.columns;if(p.cells=h,re!=null&&me!=null?(p.rows=re,p.cols=me):re!=null&&me==null?(p.rows=re,p.cols=Math.ceil(p.cells/p.rows)):re==null&&me!=null?(p.cols=me,p.rows=Math.ceil(p.cells/p.cols)):(p.splits=Math.sqrt(p.cells*p.height/p.width),p.rows=Math.round(p.splits),p.cols=Math.round(p.width/p.height*p.splits)),p.rows=Math.max(p.rows,1),p.cols=Math.max(p.cols,1),p.cols*p.rows>p.cells)((ee=p.small())-1)*(Te=p.large())>=p.cells?p.small(ee-1):(Te-1)*ee>=p.cells&&p.large(Te-1);else for(;p.cols*p.rows<p.cells;){var Te,ee=p.small();((Te=p.large())+1)*ee>=p.cells?p.large(Te+1):p.small(ee+1)}if(p.cellWidth=s/p.cols,p.cellHeight=m/p.rows,x&&(p.cellWidth=0,p.cellHeight=0),E||j){var xe=(0,C.getFuncByUnknownType)(10,j),Ie=(0,C.getFuncByUnknownType)(30,L,!1);A.forEach(function(Oe){Oe.x&&Oe.y||(Oe.x=0,Oe.y=0);var Ce,oe,he=Ie(Oe)||30;(0,C.isArray)(he)?(Ce=he[0],oe=he[1]):(Ce=he,oe=he);var ie=xe!==void 0?xe(Oe):M,ae=Ce+ie,ve=oe+ie;p.cellWidth=Math.max(p.cellWidth,ae),p.cellHeight=Math.max(p.cellHeight,ve)})}p.cellUsed={},p.row=0,p.col=0,p.id2manPos={};for(var Le=0;Le<A.length;Le++){var De=A[Le],ce=void 0;if(p.position&&(ce=p.position(De)),ce&&(ce.row!==void 0||ce.col!==void 0)){var ye={row:ce.row,col:ce.col};if(ye.col===void 0)for(ye.col=0;p.used(ye.row,ye.col);)ye.col++;else if(ye.row===void 0)for(ye.row=0;p.used(ye.row,ye.col);)ye.row++;p.id2manPos[De.id]=ye,p.use(ye.row,ye.col)}p.getPos(De)}return p.onLayoutEnd&&p.onLayoutEnd(),{edges:a,nodes:A}},b.prototype.small=function(p){var u,a=this.rows||5,f=this.cols||5;return p==null?u=Math.min(a,f):Math.min(a,f)===this.rows?this.rows=p:this.cols=p,u},b.prototype.large=function(p){var u,a=this.rows||5,f=this.cols||5;return p==null?u=Math.max(a,f):Math.max(a,f)===this.rows?this.rows=p:this.cols=p,u},b.prototype.used=function(p,u){return this.cellUsed[\"c-\".concat(p,\"-\").concat(u)]||!1},b.prototype.use=function(p,u){this.cellUsed[\"c-\".concat(p,\"-\").concat(u)]=!0},b.prototype.moveToNextCell=function(){var p=this.cols||5;this.col++,this.col>=p&&(this.col=0,this.row++)},b.prototype.getPos=function(p){var u,a,f=this.begin,h=this.cellWidth,l=this.cellHeight,s=this.id2manPos[p.id];if(s)u=s.col*h+h/2+f[0],a=s.row*l+l/2+f[1];else{for(;this.used(this.row,this.col);)this.moveToNextCell();u=this.col*h+h/2+f[0],a=this.row*l+l/2+f[1],this.use(this.row,this.col),this.moveToNextCell()}p.x=u,p.y=a},b.prototype.getType=function(){return\"grid\"},b}(r(18).Base);c.GridLayout=w},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(w,O){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,p){b.__proto__=p}||function(b,p){for(var u in p)Object.prototype.hasOwnProperty.call(p,u)&&(b[u]=p[u])})(w,O)},function(w,O){if(typeof O!=\"function\"&&O!==null)throw new TypeError(\"Class extends value \"+String(O)+\" is not a constructor or null\");function b(){this.constructor=w}y(w,O),w.prototype=O===null?Object.create(O):(b.prototype=O.prototype,new b)});Object.defineProperty(c,\"__esModule\",{value:!0}),c.RandomLayout=void 0;var C=function(w){function O(b){var p=w.call(this)||this;return p.center=[0,0],p.width=300,p.height=300,p.nodes=[],p.edges=[],p.onLayoutEnd=function(){},p.updateCfg(b),p}return N(O,w),O.prototype.getDefaultCfg=function(){return{center:[0,0],width:300,height:300}},O.prototype.execute=function(){var b=this,p=b.nodes,u=b.center;return b.width||typeof window==\"undefined\"||(b.width=window.innerWidth),b.height||typeof window==\"undefined\"||(b.height=window.innerHeight),p&&p.forEach(function(a){a.x=.9*(Math.random()-.5)*b.width+u[0],a.y=.9*(Math.random()-.5)*b.height+u[1]}),b.onLayoutEnd&&b.onLayoutEnd(),{nodes:p,edges:this.edges}},O.prototype.getType=function(){return\"random\"},O}(r(18).Base);c.RandomLayout=C},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(p,u){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,f){a.__proto__=f}||function(a,f){for(var h in f)Object.prototype.hasOwnProperty.call(f,h)&&(a[h]=f[h])})(p,u)},function(p,u){if(typeof u!=\"function\"&&u!==null)throw new TypeError(\"Class extends value \"+String(u)+\" is not a constructor or null\");function a(){this.constructor=p}y(p,u),p.prototype=u===null?Object.create(u):(a.prototype=u.prototype,new a)});Object.defineProperty(c,\"__esModule\",{value:!0}),c.GForceLayout=void 0;var C=r(18),w=r(15),O=function(p,u){return p?(0,w.isNumber)(p)?function(a){return p}:p:function(a){return u||1}},b=function(p){function u(a){var f=p.call(this)||this;return f.maxIteration=500,f.workerEnabled=!1,f.edgeStrength=200,f.nodeStrength=1e3,f.coulombDisScale=.005,f.damping=.9,f.maxSpeed=1e3,f.minMovement=.5,f.interval=.02,f.factor=1,f.linkDistance=1,f.gravity=10,f.preventOverlap=!0,f.collideStrength=1,f.tick=function(){},f.nodes=[],f.edges=[],f.width=300,f.height=300,f.nodeMap={},f.nodeIdxMap={},f.animate=!0,f.updateCfg(a),f}return N(u,p),u.prototype.getDefaultCfg=function(){return{maxIteration:500,gravity:10,enableTick:!0,animate:!0}},u.prototype.execute=function(){var a,f,h=this,l=h.nodes;if(h.timeInterval!==void 0&&typeof window!=\"undefined\"&&window.clearInterval(h.timeInterval),l&&l.length!==0){h.width||typeof window==\"undefined\"||(h.width=window.innerWidth),h.height||typeof window==\"undefined\"||(h.height=window.innerHeight),h.center||(h.center=[h.width/2,h.height/2]);var s=h.center;if(l.length===1)return l[0].x=s[0],l[0].y=s[1],void((f=h.onLayoutEnd)===null||f===void 0||f.call(h));var m={},x={};l.forEach(function(J,q){(0,w.isNumber)(J.x)||(J.x=Math.random()*h.width),(0,w.isNumber)(J.y)||(J.y=Math.random()*h.height),m[J.id]=J,x[J.id]=q}),h.nodeMap=m,h.nodeIdxMap=x,h.linkDistance=O(h.linkDistance,1),h.nodeStrength=O(h.nodeStrength,1),h.edgeStrength=O(h.edgeStrength,1);var M,E=h.nodeSize;if(h.preventOverlap){var j,L=h.nodeSpacing;j=(0,w.isNumber)(L)?function(){return L}:(0,w.isFunction)(L)?L:function(){return 0},M=E?(0,w.isArray)(E)?function(J){return Math.max(E[0],E[1])+j(J)}:function(J){return E+j(J)}:function(J){return J.size?(0,w.isArray)(J.size)?Math.max(J.size[0],J.size[1])+j(J):(0,w.isObject)(J.size)?Math.max(J.size.width,J.size.height)+j(J):J.size+j(J):10+j(J)}}h.nodeSize=M;var A=h.edges;h.degrees=(0,w.getDegree)(l.length,h.nodeIdxMap,A),h.getMass||(h.getMass=function(J){return J.mass||h.degrees[h.nodeIdxMap[J.id]].all||1}),h.run()}else(a=h.onLayoutEnd)===null||a===void 0||a.call(h)},u.prototype.run=function(){var a,f=this,h=f.maxIteration,l=f.nodes,s=f.workerEnabled,m=f.minMovement,x=f.animate;if(l)if(s||!x){for(var M=0;M<h;M++){var E=f.runOneStep(M);if(f.reachMoveThreshold(l,E,m))break}(a=f.onLayoutEnd)===null||a===void 0||a.call(f)}else{if(typeof window==\"undefined\")return;var j=0;this.timeInterval=window.setInterval(function(){var L,A;if(l){var J=f.runOneStep(j)||[];f.reachMoveThreshold(l,J,m)&&((L=f.onLayoutEnd)===null||L===void 0||L.call(f),window.clearInterval(f.timeInterval)),++j>=h&&((A=f.onLayoutEnd)===null||A===void 0||A.call(f),window.clearInterval(f.timeInterval))}},0)}},u.prototype.reachMoveThreshold=function(a,f,h){var l=0;return a.forEach(function(s,m){var x=s.x-f[m].x,M=s.y-f[m].y;l+=Math.sqrt(x*x+M*M)}),(l/=a.length)<h},u.prototype.runOneStep=function(a){var f,h=this.nodes,l=this.edges,s=[],m=[];if(h){h.forEach(function(E,j){s[2*j]=0,s[2*j+1]=0,m[2*j]=0,m[2*j+1]=0}),this.calRepulsive(s,h),l&&this.calAttractive(s,l),this.calGravity(s,h);var x=Math.max(.02,this.interval-.002*a);this.updateVelocity(s,m,x,h);var M=[];return h.forEach(function(E){M.push({x:E.x,y:E.y})}),this.updatePosition(m,x,h),(f=this.tick)===null||f===void 0||f.call(this),M}},u.prototype.calRepulsive=function(a,f){var h=this.getMass,l=this.factor,s=this.coulombDisScale,m=this.preventOverlap,x=this.collideStrength,M=x===void 0?1:x,E=this.nodeStrength,j=this.nodeSize;f.forEach(function(L,A){var J=h?h(L):1;f.forEach(function(q,re){if(!(A>=re)){var me=L.x-q.x,Te=L.y-q.y;me===0&&Te===0&&(me=.01*Math.random(),Te=.01*Math.random());var ee=me*me+Te*Te,xe=Math.sqrt(ee),Ie=(xe+.1)*s,Le=me/xe,De=Te/xe,ce=.5*(E(L)+E(q))*l/(Ie*Ie),ye=h?h(q):1;if(a[2*A]+=Le*ce,a[2*A+1]+=De*ce,a[2*re]-=Le*ce,a[2*re+1]-=De*ce,m&&(j(L)+j(q))/2>xe){var Oe=M*(E(L)+E(q))*.5/ee;a[2*A]+=Le*Oe/J,a[2*A+1]+=De*Oe/J,a[2*re]-=Le*Oe/ye,a[2*re+1]-=De*Oe/ye}}})})},u.prototype.calAttractive=function(a,f){var h=this.nodeMap,l=this.nodeIdxMap,s=this.linkDistance,m=this.edgeStrength,x=this.nodeSize,M=this.getMass;f.forEach(function(E,j){var L=(0,w.getEdgeTerminal)(E,\"source\"),A=(0,w.getEdgeTerminal)(E,\"target\"),J=h[L],q=h[A],re=q.x-J.x,me=q.y-J.y;re===0&&me===0&&(re=.01*Math.random(),me=.01*Math.random());var Te=Math.sqrt(re*re+me*me),ee=re/Te,xe=me/Te,Ie=((s(E,J,q)||1+(x(J)+x(q)||0)/2)-Te)*m(E),Le=l[L],De=l[A],ce=M?M(J):1,ye=M?M(q):1;a[2*Le]-=ee*Ie/ce,a[2*Le+1]-=xe*Ie/ce,a[2*De]+=ee*Ie/ye,a[2*De+1]+=xe*Ie/ye})},u.prototype.calGravity=function(a,f){for(var h=this.center,l=this.gravity,s=this.degrees,m=f.length,x=0;x<m;x++){var M=f[x],E=M.x-h[0],j=M.y-h[1],L=l;if(this.getCenter){var A=this.getCenter(M,s[x].all);A&&(0,w.isNumber)(A[0])&&(0,w.isNumber)(A[1])&&(0,w.isNumber)(A[2])&&(E=M.x-A[0],j=M.y-A[1],L=A[2])}L&&(a[2*x]-=L*E,a[2*x+1]-=L*j)}},u.prototype.updateVelocity=function(a,f,h,l){var s=this,m=h*s.damping;l.forEach(function(x,M){var E=a[2*M]*m||.01,j=a[2*M+1]*m||.01,L=Math.sqrt(E*E+j*j);if(L>s.maxSpeed){var A=s.maxSpeed/L;E*=A,j*=A}f[2*M]=E,f[2*M+1]=j})},u.prototype.updatePosition=function(a,f,h){h.forEach(function(l,s){if((0,w.isNumber)(l.fx)&&(0,w.isNumber)(l.fy))return l.x=l.fx,void(l.y=l.fy);var m=a[2*s]*f,x=a[2*s+1]*f;l.x+=m,l.y+=x})},u.prototype.stop=function(){this.timeInterval&&typeof window!=\"undefined\"&&window.clearInterval(this.timeInterval)},u.prototype.destroy=function(){this.stop(),this.tick=null,this.nodes=null,this.edges=null,this.destroyed=!0},u.prototype.getType=function(){return\"gForce\"},u}(C.Base);c.GForceLayout=b},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(a,f){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,l){h.__proto__=l}||function(h,l){for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&(h[s]=l[s])})(a,f)},function(a,f){if(typeof f!=\"function\"&&f!==null)throw new TypeError(\"Class extends value \"+String(f)+\" is not a constructor or null\");function h(){this.constructor=a}y(a,f),a.prototype=f===null?Object.create(f):(h.prototype=f.prototype,new h)}),C=this&&this.__assign||function(){return(C=Object.assign||function(a){for(var f,h=1,l=arguments.length;h<l;h++)for(var s in f=arguments[h])Object.prototype.hasOwnProperty.call(f,s)&&(a[s]=f[s]);return a}).apply(this,arguments)};Object.defineProperty(c,\"__esModule\",{value:!0}),c.Force2Layout=void 0;var w=r(18),O=r(15),b=r(153),p=function(a,f){return a?(0,O.isNumber)(a)?function(h){return a}:a:function(h){return f||1}},u=function(a){function f(h){var l=a.call(this)||this;l.maxIteration=1e3,l.workerEnabled=!1,l.edgeStrength=200,l.nodeStrength=1e3,l.coulombDisScale=.005,l.damping=.9,l.maxSpeed=500,l.minMovement=.4,l.interval=.02,l.factor=1,l.linkDistance=200,l.gravity=0,l.clusterNodeStrength=20,l.preventOverlap=!0,l.distanceThresholdMode=\"mean\",l.tick=function(){},l.nodes=[],l.edges=[],l.width=300,l.height=300,l.nodeMap={},l.nodeIdxMap={},l.judgingDistance=0,l.centripetalOptions={leaf:2,single:2,others:1,center:function(m){return{x:l.width/2,y:l.height/2}}};var s=h.getMass;return l.propsGetMass=s,l.updateCfg(h),l}return N(f,a),f.prototype.getCentripetalOptions=function(){var h,l=this,s=l.leafCluster,m=l.clustering,x=l.nodeClusterBy,M=l.nodes,E=l.nodeMap,j=l.clusterNodeStrength,L=function(Ie){return typeof j==\"function\"?j(Ie):j},A={};if(s){h=this.getSameTypeLeafMap()||{};var J=Array.from(new Set(M==null?void 0:M.map(function(Ie){return Ie[x]})))||[];A={single:100,leaf:function(Ie,Le,De){var ce=h[Ie.id]||{},ye=ce.relativeLeafNodes,Oe=ce.sameTypeLeafNodes;return(Oe==null?void 0:Oe.length)===(ye==null?void 0:ye.length)||(J==null?void 0:J.length)===1?1:L(Ie)},others:1,center:function(Ie,Le,De){var ce,ye,Oe=(((ce=Ie.data)===null||ce===void 0?void 0:ce.layout)||{}).degree;if(!Oe)return{x:100,y:100};if(Oe===1){var Ce=(h[Ie.id]||{}).sameTypeLeafNodes,oe=Ce===void 0?[]:Ce;oe.length===1?ye=void 0:oe.length>1&&(ye=(0,O.getAvgNodePosition)(oe))}else ye=void 0;return{x:ye==null?void 0:ye.x,y:ye==null?void 0:ye.y}}}}if(m){h||(h=this.getSameTypeLeafMap());var q=Array.from(new Set(M.map(function(Ie,Le){return Ie[x]}))).filter(function(Ie){return Ie!==void 0}),re={};q.forEach(function(Ie){var Le=M.filter(function(De){return De[x]===Ie}).map(function(De){return E[De.id]});re[Ie]=(0,O.getAvgNodePosition)(Le)}),A={single:function(Ie){return L(Ie)},leaf:function(Ie){return L(Ie)},others:function(Ie){return L(Ie)},center:function(Ie,Le,De){var ce=re[Ie[x]];return{x:ce==null?void 0:ce.x,y:ce==null?void 0:ce.y}}}}this.centripetalOptions=C(C({},this.centripetalOptions),A);var me=this.centripetalOptions,Te=me.leaf,ee=me.single,xe=me.others;Te&&typeof Te!=\"function\"&&(this.centripetalOptions.leaf=function(){return Te}),ee&&typeof ee!=\"function\"&&(this.centripetalOptions.single=function(){return ee}),xe&&typeof xe!=\"function\"&&(this.centripetalOptions.others=function(){return xe})},f.prototype.updateCfg=function(h){h&&Object.assign(this,h)},f.prototype.getDefaultCfg=function(){return{maxIteration:500,gravity:10,enableTick:!0,animate:!0}},f.prototype.execute=function(){var h=this;h.stop();var l=h.nodes,s=h.edges,m=h.defSpringLen;if(h.judgingDistance=0,l&&l.length!==0){h.width||typeof window==\"undefined\"||(h.width=window.innerWidth),h.height||typeof window==\"undefined\"||(h.height=window.innerHeight),h.center||(h.center=[h.width/2,h.height/2]);var x=h.center;if(l.length===1)return l[0].x=x[0],l[0].y=x[1],void h.onLayoutEnd([C({},l[0])]);h.degreesMap=(0,O.getDegreeMap)(l,s),h.propsGetMass?h.getMass=h.propsGetMass:h.getMass=function(q){var re=1;(0,O.isNumber)(q.mass)&&(re=q.mass);var me=h.degreesMap[q.id].all;return!me||me<5?re:5*me*re};var M,E=h.nodeSize;if(h.preventOverlap){var j,L=h.nodeSpacing;j=(0,O.isNumber)(L)?function(){return L}:(0,O.isFunction)(L)?L:function(){return 0},M=E?(0,O.isArray)(E)?function(q){return Math.max(E[0],E[1])+j(q)}:function(q){return E+j(q)}:function(q){return q.size?(0,O.isArray)(q.size)?Math.max(q.size[0],q.size[1])+j(q):(0,O.isObject)(q.size)?Math.max(q.size.width,q.size.height)+j(q):q.size+j(q):10+j(q)}}h.nodeSize=M,h.linkDistance=p(h.linkDistance,1),h.nodeStrength=p(h.nodeStrength,1),h.edgeStrength=p(h.edgeStrength,1);var A={},J={};l.forEach(function(q,re){(0,O.isNumber)(q.x)||(q.x=Math.random()*h.width),(0,O.isNumber)(q.y)||(q.y=Math.random()*h.height);var me=h.degreesMap[q.id];A[q.id]=C(C({},q),{data:C(C({},q.data),{size:h.nodeSize(q)||30,layout:{inDegree:me.in,outDegree:me.out,degree:me.all,tDegree:me.in,sDegree:me.out,force:{mass:h.getMass(q),nodeStrength:h.nodeStrength(q)}}})}),J[q.id]=re}),h.nodeMap=A,h.nodeIdxMap=J,h.edgeInfos=[],s==null||s.forEach(function(q){var re=A[q.source],me=A[q.target];re&&me?h.edgeInfos.push({edgeStrength:h.edgeStrength(q),linkDistance:m?m(C(C({},q),{source:re,target:me}),re,me):h.linkDistance(q,re,me)||1+(E(re)+E(re)||0)/2}):elf.edgeInfos.push({})}),this.getCentripetalOptions(),h.onLayoutEnd=h.onLayoutEnd||function(){},h.run()}else h.onLayoutEnd([])},f.prototype.run=function(){var h=this,l=h.maxIteration,s=h.nodes,m=h.workerEnabled,x=h.minMovement,M=h.animate,E=h.nodeMap;if(s){var j=[];s.forEach(function(q,re){j[2*re]=0,j[2*re+1]=0});var L=l;if(m||!M){for(var A=0;(h.judgingDistance>x||A<1)&&A<L;A++)h.runOneStep(A,j);h.onLayoutEnd(Object.values(E))}else{if(typeof window==\"undefined\")return;var J=0;this.timeInterval=window.setInterval(function(){s&&(h.runOneStep(J,j),(++J>=L||h.judgingDistance<x)&&(h.onLayoutEnd(Object.values(E)),window.clearInterval(h.timeInterval)))},0)}}},f.prototype.runOneStep=function(h,l){var s,m=this.nodes,x=this.edges,M=(this.nodeMap,this.monitor),E=[];if(m!=null&&m.length){this.calRepulsive(E),x&&this.calAttractive(E),this.calGravity(E);var j=this.interval;this.updateVelocity(E,l,j),this.updatePosition(l,j),(s=this.tick)===null||s===void 0||s.call(this),M&&M({energy:this.calTotalEnergy(E),nodes:m,edges:x,iterations:h})}},f.prototype.calTotalEnergy=function(h){var l=this.nodes,s=this.nodeMap;if(!(l!=null&&l.length))return 0;var m=0;return l.forEach(function(x,M){var E=h[2*M],j=h[2*M+1],L=E*E+j*j,A=s[x.id].data.layout.force.mass;m+=(A===void 0?1:A)*L*.5}),m},f.prototype.calRepulsive=function(h){var l=this.nodes,s=this.nodeMap,m=this.factor,x=this.coulombDisScale;this.nodeSize,(0,b.forceNBody)(l,s,m,x*x,h)},f.prototype.calAttractive=function(h){var l=this.edges,s=this.nodeMap,m=this.nodeIdxMap,x=this.edgeInfos;this.nodeSize,l.forEach(function(M,E){var j=(0,O.getEdgeTerminal)(M,\"source\"),L=(0,O.getEdgeTerminal)(M,\"target\"),A=s[j],J=s[L];if(A&&J){var q=J.x-A.x,re=J.y-A.y;q||re||(q=.01*Math.random(),re=.01*Math.random());var me=Math.sqrt(q*q+re*re),Te=q/me,ee=re/me,xe=x[E]||{},Ie=xe.linkDistance,Le=Ie===void 0?200:Ie,De=xe.edgeStrength,ce=(Le-me)*(De===void 0?200:De),ye=1/(A.data.layout.force.mass||1),Oe=1/(J.data.layout.force.mass||1),Ce=Te*ce,oe=ee*ce,he=2*m[j],ie=2*m[L];h[he]-=Ce*ye,h[he+1]-=oe*ye,h[ie]+=Ce*Oe,h[ie+1]+=oe*Oe}})},f.prototype.calGravity=function(h){var l,s=this.nodes,m=this.edges,x=m===void 0?[]:m,M=this.nodeMap,E=this.width,j=this.height,L=this.center,A=this.gravity,J=this.degreesMap,q=this.centripetalOptions;if(s)for(var re=s.length,me=0;me<re;me++){var Te=2*me,ee=M[s[me].id],xe=ee.data.layout.force.mass,Ie=xe===void 0?1:xe,Le=0,De=0,ce=A,ye=J[ee.id],Oe=ye.in,Ce=ye.out,oe=ye.all,he=(l=this.getCenter)===null||l===void 0?void 0:l.call(this,ee,oe);if(he){var ie=he[0],ae=he[1],ve=he[2];Le=ee.x-ie,De=ee.y-ae,ce=ve}else Le=ee.x-L[0],De=ee.y-L[1];if(ce&&(h[Te]-=ce*Le/Ie,h[Te+1]-=ce*De/Ie),q){var X=q.leaf,se=q.single,fe=q.others,_e=q.center,be=(_e==null?void 0:_e(ee,s,x,E,j))||{x:0,y:0,centerStrength:0},We=be.x,we=be.y,Ze=be.centerStrength;if(!(0,O.isNumber)(We)||!(0,O.isNumber)(we))continue;var Ve=(ee.x-We)/Ie,et=(ee.y-we)/Ie;if(Ze&&(h[Te]-=Ze*Ve,h[Te+1]-=Ze*et),oe===0){var ht=se(ee);if(!ht)continue;h[Te]-=ht*Ve,h[Te+1]-=ht*et;continue}if(Oe===0||Ce===0){var Fe=X(ee,s,x);if(!Fe)continue;h[Te]-=Fe*Ve,h[Te+1]-=Fe*et;continue}var mt=fe(ee);if(!mt)continue;h[Te]-=mt*Ve,h[Te+1]-=mt*et}}},f.prototype.updateVelocity=function(h,l,s){var m=this.nodes,x=this.damping,M=this.maxSpeed;m!=null&&m.length&&m.forEach(function(E,j){var L=(l[2*j]+h[2*j]*s)*x||.01,A=(l[2*j+1]+h[2*j+1]*s)*x||.01,J=Math.sqrt(L*L+A*A);if(J>M){var q=M/J;L*=q,A*=q}l[2*j]=L,l[2*j+1]=A})},f.prototype.updatePosition=function(h,l){var s=this,m=s.nodes,x=s.distanceThresholdMode,M=s.nodeMap;if(m!=null&&m.length){var E=0;x===\"max\"?s.judgingDistance=-1/0:x===\"min\"&&(s.judgingDistance=1/0),m.forEach(function(j,L){var A=M[j.id];if((0,O.isNumber)(j.fx)&&(0,O.isNumber)(j.fy))return j.x=j.fx,j.y=j.fy,A.x=j.x,void(A.y=j.y);var J=h[2*L]*l,q=h[2*L+1]*l;j.x+=J,j.y+=q,A.x=j.x,A.y=j.y;var re=Math.sqrt(J*J+q*q);switch(x){case\"max\":s.judgingDistance<re&&(s.judgingDistance=re);break;case\"min\":s.judgingDistance>re&&(s.judgingDistance=re);break;default:E+=re}}),x&&x!==\"mean\"||(s.judgingDistance=E/m.length)}else this.judgingDistance=0},f.prototype.stop=function(){this.timeInterval&&typeof window!=\"undefined\"&&window.clearInterval(this.timeInterval)},f.prototype.destroy=function(){this.stop(),this.tick=null,this.nodes=null,this.edges=null,this.destroyed=!0},f.prototype.getType=function(){return\"force2\"},f.prototype.getSameTypeLeafMap=function(){var h=this,l=h.nodeClusterBy,s=h.nodes,m=h.edges,x=h.nodeMap,M=h.degreesMap;if(s!=null&&s.length){var E={};return s.forEach(function(j,L){M[j.id].all===1&&(E[j.id]=(0,O.getCoreNodeAndRelativeLeafNodes)(\"leaf\",j,m,l,M,x))}),E}},f}(w.Base);c.Force2Layout=u},function(Ee,c,r){\"use strict\";var y=this&&this.__createBinding||(Object.create?function(C,w,O,b){b===void 0&&(b=O);var p=Object.getOwnPropertyDescriptor(w,O);p&&!(\"get\"in p?!w.__esModule:p.writable||p.configurable)||(p={enumerable:!0,get:function(){return w[O]}}),Object.defineProperty(C,b,p)}:function(C,w,O,b){b===void 0&&(b=O),C[b]=w[O]}),N=this&&this.__exportStar||function(C,w){for(var O in C)O===\"default\"||Object.prototype.hasOwnProperty.call(w,O)||y(w,C,O)};Object.defineProperty(c,\"__esModule\",{value:!0}),N(r(154),c)},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(p,u){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,f){a.__proto__=f}||function(a,f){for(var h in f)Object.prototype.hasOwnProperty.call(f,h)&&(a[h]=f[h])})(p,u)},function(p,u){if(typeof u!=\"function\"&&u!==null)throw new TypeError(\"Class extends value \"+String(u)+\" is not a constructor or null\");function a(){this.constructor=p}y(p,u),p.prototype=u===null?Object.create(u):(a.prototype=u.prototype,new a)});Object.defineProperty(c,\"__esModule\",{value:!0}),c.CircularLayout=void 0;var C=r(18),w=r(15);function O(p,u){var a=p.degree,f=u.degree;return a<f?-1:a>f?1:0}var b=function(p){function u(a){var f=p.call(this)||this;return f.radius=null,f.nodeSize=void 0,f.startRadius=null,f.endRadius=null,f.startAngle=0,f.endAngle=2*Math.PI,f.clockwise=!0,f.divisions=1,f.ordering=null,f.angleRatio=1,f.nodes=[],f.edges=[],f.nodeMap={},f.degrees=[],f.width=300,f.height=300,f.updateCfg(a),f}return N(u,p),u.prototype.getDefaultCfg=function(){return{radius:null,startRadius:null,endRadius:null,startAngle:0,endAngle:2*Math.PI,clockwise:!0,divisions:1,ordering:null,angleRatio:1}},u.prototype.execute=function(){var a,f=this.nodes,h=this.edges,l=f.length;if(l!==0){this.width||typeof window==\"undefined\"||(this.width=window.innerWidth),this.height||typeof window==\"undefined\"||(this.height=window.innerHeight),this.center||(this.center=[this.width/2,this.height/2]);var s=this.center;if(l===1)return f[0].x=s[0],f[0].y=s[1],void(this.onLayoutEnd&&this.onLayoutEnd());var m=this.radius,x=this.startRadius,M=this.endRadius,E=this.divisions,j=this.startAngle,L=this.endAngle,A=this.angleRatio,J=this.ordering,q=this.clockwise,re=this.nodeSpacing,me=this.nodeSize,Te=(L-j)/l,ee={};f.forEach(function(ae,ve){ee[ae.id]=ve}),this.nodeMap=ee;var xe=(0,w.getDegree)(f.length,ee,h);if(this.degrees=xe,re){var Ie=(0,w.getFuncByUnknownType)(10,re),Le=(0,w.getFuncByUnknownType)(10,me),De=-1/0;f.forEach(function(ae){var ve=Le(ae);De<ve&&(De=ve)});var ce=0;f.forEach(function(ae,ve){ce+=ve===0?De||10:(Ie(ae)||0)+(De||10)}),m=ce/(2*Math.PI)}else m||x||M?!x&&M?x=M:x&&!M&&(M=x):m=this.height>this.width?this.width/2:this.height/2;var ye=Te*A,Oe=[];Oe=J===\"topology\"?this.topologyOrdering():J===\"topology-directed\"?this.topologyOrdering(!0):J===\"degree\"?this.degreeOrdering():f;for(var Ce=Math.ceil(l/E),oe=0;oe<l;++oe){var he=m;he||x===null||M===null||(he=x+oe*(M-x)/(l-1)),he||(he=10+100*oe/(l-1));var ie=j+oe%Ce*ye+2*Math.PI/E*Math.floor(oe/Ce);q||(ie=L-oe%Ce*ye-2*Math.PI/E*Math.floor(oe/Ce)),Oe[oe].x=s[0]+Math.cos(ie)*he,Oe[oe].y=s[1]+Math.sin(ie)*he,Oe[oe].weight=xe[oe].all}return(a=this.onLayoutEnd)===null||a===void 0||a.call(this),{nodes:Oe,edges:this.edges}}this.onLayoutEnd&&this.onLayoutEnd()},u.prototype.topologyOrdering=function(a){a===void 0&&(a=!1);var f=this.degrees,h=this.edges,l=this.nodes,s=(0,w.clone)(l),m=this.nodeMap,x=[s[0]],M=[l[0]],E=[],j=l.length;E[0]=!0,function(A,J,q,re){A.forEach(function(me,Te){A[Te].children=[],A[Te].parent=[]}),re?J.forEach(function(me){var Te=(0,w.getEdgeTerminal)(me,\"source\"),ee=(0,w.getEdgeTerminal)(me,\"target\"),xe=0;Te&&(xe=q[Te]);var Ie=0;ee&&(Ie=q[ee]);var Le=A[xe].children,De=A[Ie].parent;Le.push(A[Ie].id),De.push(A[xe].id)}):J.forEach(function(me){var Te=(0,w.getEdgeTerminal)(me,\"source\"),ee=(0,w.getEdgeTerminal)(me,\"target\"),xe=0;Te&&(xe=q[Te]);var Ie=0;ee&&(Ie=q[ee]);var Le=A[xe].children,De=A[Ie].children;Le.push(A[Ie].id),De.push(A[xe].id)})}(s,h,m,a);var L=0;return s.forEach(function(A,J){if(J!==0)if(J!==j-1&&f[J].all===f[J+1].all&&!function(xe,Ie,Le){for(var De=Le.length,ce=0;ce<De;ce++){var ye=(0,w.getEdgeTerminal)(Le[ce],\"source\"),Oe=(0,w.getEdgeTerminal)(Le[ce],\"target\");if(xe.id===ye&&Ie.id===Oe||Ie.id===ye&&xe.id===Oe)return!0}return!1}(x[L],A,h)||E[J]){for(var q=x[L].children,re=!1,me=0;me<q.length;me++){var Te=m[q[me]];if(f[Te].all===f[J].all&&!E[Te]){x.push(s[Te]),M.push(l[m[s[Te].id]]),E[Te]=!0,re=!0;break}}for(var ee=0;!re&&(E[ee]||(x.push(s[ee]),M.push(l[m[s[ee].id]]),E[ee]=!0,re=!0),++ee!==j););}else x.push(A),M.push(l[m[A.id]]),E[J]=!0,L++}),M},u.prototype.degreeOrdering=function(){var a=this.nodes,f=[],h=this.degrees;return a.forEach(function(l,s){l.degree=h[s].all,f.push(l)}),f.sort(O),f},u.prototype.getType=function(){return\"circular\"},u}(C.Base);c.CircularLayout=b},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.feasibleTreeWithLayer=c.feasibleTree=void 0;var y=r(63),N=r(26),C=r(35),w=function(f){var h,l,s=new C.Graph({directed:!1}),m=f.nodes()[0],x=f.nodeCount();for(s.setNode(m,{});O(s,f)<x;)h=u(s,f),l=s.hasNode(h.v)?(0,y.slack)(f,h):-(0,y.slack)(f,h),a(s,f,l);return s};c.feasibleTree=w;var O=function(f,h){return f.nodes().forEach(function l(s){h.nodeEdges(s).forEach(function(m){var x=m.v,M=s===x?m.w:x;f.hasNode(M)||(0,y.slack)(h,m)||(f.setNode(M,{}),f.setEdge(s,M,{}),l(M))})}),f.nodeCount()},b=function(f){var h,l,s=new C.Graph({directed:!1}),m=f.nodes()[0],x=f.nodes().filter(function(M){return!!f.node(M)}).length;for(s.setNode(m,{});p(s,f)<x;)h=u(s,f),l=s.hasNode(h.v)?(0,y.slack)(f,h):-(0,y.slack)(f,h),a(s,f,l);return s};c.feasibleTreeWithLayer=b;var p=function(f,h){return f.nodes().forEach(function l(s){var m;(m=h.nodeEdges(s))===null||m===void 0||m.forEach(function(x){var M=x.v,E=s===M?x.w:M;f.hasNode(E)||h.node(E).layer===void 0&&(0,y.slack)(h,x)||(f.setNode(E,{}),f.setEdge(s,E,{}),l(E))})}),f.nodeCount()},u=function(f,h){return(0,N.minBy)(h.edges(),function(l){return f.hasNode(l.v)!==f.hasNode(l.w)?(0,y.slack)(h,l):1/0})},a=function(f,h,l){f.nodes().forEach(function(s){h.node(s).rank||(h.node(s).rank=0),h.node(s).rank+=l})};c.default={feasibleTree:w,feasibleTreeWithLayer:b}},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(a,f){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,l){h.__proto__=l}||function(h,l){for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&(h[s]=l[s])})(a,f)},function(a,f){if(typeof f!=\"function\"&&f!==null)throw new TypeError(\"Class extends value \"+String(f)+\" is not a constructor or null\");function h(){this.constructor=a}y(a,f),a.prototype=f===null?Object.create(f):(h.prototype=f.prototype,new h)}),C=this&&this.__assign||function(){return(C=Object.assign||function(a){for(var f,h=1,l=arguments.length;h<l;h++)for(var s in f=arguments[h])Object.prototype.hasOwnProperty.call(f,s)&&(a[s]=f[s]);return a}).apply(this,arguments)},w=this&&this.__spreadArray||function(a,f,h){if(h||arguments.length===2)for(var l,s=0,m=f.length;s<m;s++)!l&&s in f||(l||(l=Array.prototype.slice.call(f,0,s)),l[s]=f[s]);return a.concat(l||Array.prototype.slice.call(f))};Object.defineProperty(c,\"__esModule\",{value:!0}),c.DagreCompoundLayout=void 0;var O=r(18),b=r(180),p=r(15),u=function(a){function f(h){var l=a.call(this)||this;return l.rankdir=\"TB\",l.nodesep=50,l.edgesep=5,l.ranksep=50,l.controlPoints=!0,l.anchorPoint=!0,l.nodes=[],l.edges=[],l.combos=[],l.onLayoutEnd=function(){},l.updateCfg(h),l}return N(f,a),f.prototype.getDefaultCfg=function(){return{rankdir:\"TB\",align:void 0,begin:void 0,nodeSize:void 0,nodesep:50,ranksep:50,controlPoints:!0,anchorPoint:!0}},f.prototype.init=function(h){var l=h.hiddenNodes||[],s=h.hiddenEdges||[],m=h.hiddenCombos||[];this.nodes=this.getDataByOrder((h.nodes||[]).concat(l)),this.edges=this.getDataByOrder((h.edges||[]).concat(s)),this.combos=(h.combos||[]).concat(m.map(function(x){return C(C({},x),{collapsed:!0})}))},f.prototype.execute=function(){var h=this.nodes,l=this.edges;if(h){var s=this.getLayoutConfig(),m=s.graphDef,x=s.graphOption,M=s.graphSettings,E=(0,b.buildGraph)(m,x,M),j=(0,b.flatGraph)(E,!0);return this.updatePosition(j),this.onLayoutEnd&&this.onLayoutEnd(),{nodes:h,edges:l}}},f.prototype.getNodePath=function(h){var l=this.nodes,s=this.combos,m=l.find(function(x){return x.id===h});return m&&m.comboId?function x(M,E){E===void 0&&(E=[]);var j=s.find(function(L){return L.id===M});return j?(E.unshift(M),j.parentId?x(j.parentId,E):E):E}(m.comboId,[h]):[h]},f.prototype.getLayoutConfig=function(){var h,l,s,m,x=this.nodes,M=this.edges,E=this.combos,j=this.nodeSize,L=this.rankdir,A=this.align,J=this.edgesep,q=this.nodesep,re=this.ranksep,me=this.settings,Te=(E||[]).reduce(function(X,se){var fe=x.filter(function(be){return be.comboId===se.id}).map(function(be){return be.id}),_e=(E||[]).filter(function(be){return be.parentId===se.id}).map(function(be){return be.id});return(fe.length||_e.length)&&(X[se.id]=w(w([],fe,!0),_e,!0)),X},{});m=j?(0,p.isArray)(j)?function(){return j}:function(){return[j,j]}:function(X){return X&&X.size?(0,p.isArray)(X.size)?X.size:(0,p.isObject)(X.size)?[X.size.width||40,X.size.height||40]:[X.size,X.size]:[40,40]};var ee,xe=(ee=E==null?void 0:E[0])&&ee.size?(0,p.isArray)(ee.size)?ee.size:[ee.size,ee.size]:[80,40],Ie=xe[0],Le=xe[1],De=(l=(h=this.graphSettings)===null||h===void 0?void 0:h.subScene)===null||l===void 0?void 0:l.meta,ce=((s=E.find(function(X){return!X.collapsed}))===null||s===void 0?void 0:s.padding)||[20,20,20,20],ye=ce[0],Oe=ce[1],Ce=ce[2],oe=ce[3],he={compound:Te,nodes:w([],(x||[]).map(function(X){var se=m(X),fe=se[0],_e=se[1];return C(C({},X),{width:fe,height:_e})}),!0),edges:w([],(M||[]).map(function(X){return C(C({},X),{v:X.source,w:X.target})}),!0)},ie={expanded:(E||[]).filter(function(X){return!X.collapsed}).map(function(X){return X.id})},ae={graph:{meta:{align:A,rankDir:L,nodeSep:q,edgeSep:J,rankSep:re}},subScene:{meta:{paddingTop:ye||(De==null?void 0:De.paddingTop)||20,paddingRight:Oe||(De==null?void 0:De.paddingRight)||20,paddingBottom:Ce||(De==null?void 0:De.paddingBottom)||20,paddingLeft:oe||(De==null?void 0:De.paddingLeft)||20,labelHeight:0}},nodeSize:{meta:{width:Ie,height:Le}}},ve=(0,b.mergeConfig)(me,C({},(0,b.mergeConfig)(ae,b.LAYOUT_CONFIG)));return this.graphSettings=ve,{graphDef:he,graphOption:ie,graphSettings:ve}},f.prototype.updatePosition=function(h){var l=h.nodes,s=h.edges;this.updateNodePosition(l,s),this.updateEdgePosition(l,s)},f.prototype.getBegin=function(h,l){var s=this.begin,m=[0,0];if(s){var x=1/0,M=1/0;h.forEach(function(E){x>E.x&&(x=E.x),M>E.y&&(M=E.y)}),l.forEach(function(E){E.points.forEach(function(j){x>j.x&&(x=j.x),M>j.y&&(M=j.y)})}),m[0]=s[0]-x,m[1]=s[1]-M}return m},f.prototype.updateNodePosition=function(h,l){var s=this.combos,m=this.nodes,x=this.edges,M=this.anchorPoint,E=this.graphSettings,j=this.getBegin(h,l);h.forEach(function(L){var A,J=L.x,q=L.y,re=L.id,me=L.type,Te=L.coreBox;if(me===b.HierarchyNodeType.META&&re!==b.ROOT_NAME){var ee=s.findIndex(function(ce){return ce.id===re}),xe=(A=E==null?void 0:E.subScene)===null||A===void 0?void 0:A.meta;s[ee].offsetX=J+j[0],s[ee].offsetY=q+j[1],s[ee].fixSize=[Te.width,Te.height],s[ee].fixCollapseSize=[Te.width,Te.height],L.expanded?s[ee].padding=[xe==null?void 0:xe.paddingTop,xe==null?void 0:xe.paddingRight,xe==null?void 0:xe.paddingBottom,xe==null?void 0:xe.paddingLeft]:s[ee].padding=[0,0,0,0]}else if(me===b.HierarchyNodeType.OP&&(ee=m.findIndex(function(ce){return ce.id===re}),m[ee].x=J+j[0],m[ee].y=q+j[1],M)){var Ie=[],Le=l.filter(function(ce){return ce.v===re}),De=l.filter(function(ce){return ce.w===re});Le.length>0&&Le.forEach(function(ce){var ye=ce.points[0],Oe=(ye.x-J)/L.width+.5,Ce=(ye.y-q)/L.height+.5;Ie.push([Oe,Ce]),ce.baseEdgeList.forEach(function(oe){var he=x.find(function(ie){return ie.source===oe.v&&ie.target===oe.w});he&&(he.sourceAnchor=Ie.length-1)})}),De.length>0&&De.forEach(function(ce){var ye=ce.points[ce.points.length-1],Oe=(ye.x-J)/L.width+.5,Ce=(ye.y-q)/L.height+.5;Ie.push([Oe,Ce]),ce.baseEdgeList.forEach(function(oe){var he=x.find(function(ie){return ie.source===oe.v&&ie.target===oe.w});he&&(he.targetAnchor=Ie.length-1)})}),m[ee].anchorPoints=Ie.length>0?Ie:m[ee].anchorPoints||[]}})},f.prototype.updateEdgePosition=function(h,l){var s=this,m=s.combos,x=s.edges,M=s.controlPoints,E=this.getBegin(h,l);M&&(m.forEach(function(j){j.inEdges=[],j.outEdges=[]}),x.forEach(function(j){var L,A,J,q,re=h.find(function(ye){return ye.id===j.source}),me=h.find(function(ye){return ye.id===j.target}),Te=[],ee=[];if(re&&me)ee=(0,b.getEdges)(re==null?void 0:re.id,me==null?void 0:me.id,h);else if(!re||!me){var xe=s.getNodePath(j.source),Ie=s.getNodePath(j.target),Le=xe.reverse().slice(re?0:1).find(function(ye){return h.find(function(Oe){return Oe.id===ye})}),De=Ie.reverse().slice(me?0:1).find(function(ye){return h.find(function(Oe){return Oe.id===ye})});re=h.find(function(ye){return ye.id===Le}),me=h.find(function(ye){return ye.id===De}),ee=(0,b.getEdges)(re==null?void 0:re.id,me==null?void 0:me.id,h,{v:j.source,w:j.target})}if(Te=(Te=ee.reduce(function(ye,Oe){return w(w([],ye,!0),Oe.points.map(function(Ce){return C(C({},Ce),{x:Ce.x+E[0],y:Ce.y+E[1]})}),!0)},[])).slice(1,-1),j.controlPoints=Te,(me==null?void 0:me.type)===b.NodeType.META){var ce=m.findIndex(function(ye){return ye.id===(me==null?void 0:me.id)});if(!m[ce]||!((L=m[ce].inEdges)===null||L===void 0)&&L.some(function(ye){return ye.source===re.id&&ye.target===me.id}))return;(A=m[ce].inEdges)===null||A===void 0||A.push({source:re.id,target:me.id,controlPoints:Te})}if((re==null?void 0:re.type)===b.NodeType.META){if(ce=m.findIndex(function(ye){return ye.id===(re==null?void 0:re.id)}),!m[ce]||!((J=m[ce].outEdges)===null||J===void 0)&&J.some(function(ye){return ye.source===re.id&&ye.target===me.id}))return;(q=m[ce].outEdges)===null||q===void 0||q.push({source:re.id,target:me.id,controlPoints:Te})}}))},f.prototype.getType=function(){return\"dagreCompound\"},f.prototype.getDataByOrder=function(h){return h.every(function(l){return l.layoutOrder!==void 0})||h.forEach(function(l,s){l.layoutOrder=s}),h.sort(function(l,s){return l.layoutOrder-s.layoutOrder})},f}(O.Base);c.DagreCompoundLayout=u},function(Ee,c){function r(N){return(r=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(C){return typeof C}:function(C){return C&&typeof Symbol==\"function\"&&C.constructor===Symbol&&C!==Symbol.prototype?\"symbol\":typeof C})(N)}var y;y=function(){return this}();try{y=y||new Function(\"return this\")()}catch(N){(typeof window==\"undefined\"?\"undefined\":r(window))===\"object\"&&(y=window)}Ee.exports=y},function(Ee,c,r){\"use strict\";var y=this&&this.__createBinding||(Object.create?function(C,w,O,b){b===void 0&&(b=O);var p=Object.getOwnPropertyDescriptor(w,O);p&&!(\"get\"in p?!w.__esModule:p.writable||p.configurable)||(p={enumerable:!0,get:function(){return w[O]}}),Object.defineProperty(C,b,p)}:function(C,w,O,b){b===void 0&&(b=O),C[b]=w[O]}),N=this&&this.__exportStar||function(C,w){for(var O in C)O===\"default\"||Object.prototype.hasOwnProperty.call(w,O)||y(w,C,O)};Object.defineProperty(c,\"__esModule\",{value:!0}),N(r(181),c)},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(O,b){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,u){p.__proto__=u}||function(p,u){for(var a in u)Object.prototype.hasOwnProperty.call(u,a)&&(p[a]=u[a])})(O,b)},function(O,b){if(typeof b!=\"function\"&&b!==null)throw new TypeError(\"Class extends value \"+String(b)+\" is not a constructor or null\");function p(){this.constructor=O}y(O,b),O.prototype=b===null?Object.create(b):(p.prototype=b.prototype,new p)});Object.defineProperty(c,\"__esModule\",{value:!0}),c.ConcentricLayout=void 0;var C=r(15),w=function(O){function b(p){var u=O.call(this)||this;return u.nodeSize=30,u.minNodeSpacing=10,u.nodeSpacing=10,u.preventOverlap=!1,u.equidistant=!1,u.startAngle=1.5*Math.PI,u.clockwise=!0,u.sortBy=\"degree\",u.nodes=[],u.edges=[],u.width=300,u.height=300,u.onLayoutEnd=function(){},u.updateCfg(p),u}return N(b,O),b.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\"}},b.prototype.execute=function(){var p,u,a=this,f=a.nodes,h=a.edges,l=f.length;if(l!==0){a.width||typeof window==\"undefined\"||(a.width=window.innerWidth),a.height||typeof window==\"undefined\"||(a.height=window.innerHeight),a.center||(a.center=[a.width/2,a.height/2]);var s=a.center;if(l===1)return f[0].x=s[0],f[0].y=s[1],void((u=a.onLayoutEnd)===null||u===void 0||u.call(a));var m,x=a.nodeSize,M=a.nodeSpacing,E=[],j=0;m=(0,C.isArray)(x)?Math.max(x[0],x[1]):x,(0,C.isArray)(M)?j=Math.max(M[0],M[1]):(0,C.isNumber)(M)&&(j=M),f.forEach(function(ye){E.push(ye);var Oe=m;(0,C.isArray)(ye.size)?Oe=Math.max(ye.size[0],ye.size[1]):(0,C.isNumber)(ye.size)?Oe=ye.size:(0,C.isObject)(ye.size)&&(Oe=Math.max(ye.size.width,ye.size.height)),m=Math.max(m,Oe),(0,C.isFunction)(M)&&(j=Math.max(M(ye),j))}),a.clockwise=a.counterclockwise!==void 0?!a.counterclockwise:a.clockwise;var L={},A={};if(E.forEach(function(ye,Oe){L[ye.id]=ye,A[ye.id]=Oe}),!(a.sortBy!==\"degree\"&&(0,C.isString)(a.sortBy)&&E[0][a.sortBy]!==void 0||(a.sortBy=\"degree\",(0,C.isNumber)(f[0].degree)))){var J=(0,C.getDegree)(f.length,A,h);E.forEach(function(ye,Oe){ye.degree=J[Oe].all})}E.sort(function(ye,Oe){return Oe[a.sortBy]-ye[a.sortBy]}),a.maxValueNode=E[0],a.maxLevelDiff=a.maxLevelDiff||a.maxValueNode[a.sortBy]/4;var q=[[]],re=q[0];E.forEach(function(ye){if(re.length>0){var Oe=Math.abs(re[0][a.sortBy]-ye[a.sortBy]);a.maxLevelDiff&&Oe>=a.maxLevelDiff&&(re=[],q.push(re))}re.push(ye)});var me=m+(j||a.minNodeSpacing);if(!a.preventOverlap){var Te=q.length>0&&q[0].length>1,ee=(Math.min(a.width,a.height)/2-me)/(q.length+(Te?1:0));me=Math.min(me,ee)}var xe=0;if(q.forEach(function(ye){var Oe=a.sweep;Oe===void 0&&(Oe=2*Math.PI-2*Math.PI/ye.length);var Ce=ye.dTheta=Oe/Math.max(1,ye.length-1);if(ye.length>1&&a.preventOverlap){var oe=Math.cos(Ce)-Math.cos(0),he=Math.sin(Ce)-Math.sin(0),ie=Math.sqrt(me*me/(oe*oe+he*he));xe=Math.max(ie,xe)}ye.r=xe,xe+=me}),a.equidistant){for(var Ie=0,Le=0,De=0;De<q.length;De++){var ce=q[De].r-Le;Ie=Math.max(Ie,ce)}Le=0,q.forEach(function(ye,Oe){Oe===0&&(Le=ye.r),ye.r=Le,Le+=Ie})}return q.forEach(function(ye){var Oe=ye.dTheta,Ce=ye.r;ye.forEach(function(oe,he){var ie=a.startAngle+(a.clockwise?1:-1)*Oe*he;oe.x=s[0]+Ce*Math.cos(ie),oe.y=s[1]+Ce*Math.sin(ie)})}),a.onLayoutEnd&&a.onLayoutEnd(),{nodes:f,edges:h}}(p=a.onLayoutEnd)===null||p===void 0||p.call(a)},b.prototype.getType=function(){return\"concentric\"},b}(r(18).Base);c.ConcentricLayout=w},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(b,p){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,a){u.__proto__=a}||function(u,a){for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&(u[f]=a[f])})(b,p)},function(b,p){if(typeof p!=\"function\"&&p!==null)throw new TypeError(\"Class extends value \"+String(p)+\" is not a constructor or null\");function u(){this.constructor=b}y(b,p),b.prototype=p===null?Object.create(p):(u.prototype=p.prototype,new u)});Object.defineProperty(c,\"__esModule\",{value:!0}),c.MDSLayout=void 0;var C=r(108),w=r(15),O=function(b){function p(u){var a=b.call(this)||this;return a.center=[0,0],a.linkDistance=50,a.nodes=[],a.edges=[],a.onLayoutEnd=function(){},a.updateCfg(u),a}return N(p,b),p.prototype.getDefaultCfg=function(){return{center:[0,0],linkDistance:50}},p.prototype.execute=function(){var u=this.nodes,a=this.edges,f=a===void 0?[]:a,h=this.center;if(u&&u.length!==0){if(u.length===1)return u[0].x=h[0],u[0].y=h[1],void(this.onLayoutEnd&&this.onLayoutEnd());var l=this.linkDistance,s=(0,w.getAdjMatrix)({nodes:u,edges:f},!1),m=(0,w.floydWarshall)(s);this.handleInfinity(m);var x=(0,w.scaleMatrix)(m,l);this.scaledDistances=x;var M=this.runMDS();return this.positions=M,M.forEach(function(E,j){u[j].x=E[0]+h[0],u[j].y=E[1]+h[1]}),this.onLayoutEnd&&this.onLayoutEnd(),{nodes:u,edges:f}}this.onLayoutEnd&&this.onLayoutEnd()},p.prototype.runMDS=function(){var u=this.scaledDistances,a=C.Matrix.mul(C.Matrix.pow(u,2),-.5),f=a.mean(\"row\"),h=a.mean(\"column\"),l=a.mean();a.add(l).subRowVector(f).subColumnVector(h);var s=new C.SingularValueDecomposition(a),m=C.Matrix.sqrt(s.diagonalMatrix).diagonal();return s.leftSingularVectors.toJSON().map(function(x){return C.Matrix.mul([x],[m]).toJSON()[0].splice(0,2)})},p.prototype.handleInfinity=function(u){var a=-999999;u.forEach(function(f){f.forEach(function(h){h!==1/0&&a<h&&(a=h)})}),u.forEach(function(f,h){f.forEach(function(l,s){l===1/0&&(u[h][s]=a)})})},p.prototype.getType=function(){return\"mds\"},p}(r(18).Base);c.MDSLayout=O},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(b,p){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,a){u.__proto__=a}||function(u,a){for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&(u[f]=a[f])})(b,p)},function(b,p){if(typeof p!=\"function\"&&p!==null)throw new TypeError(\"Class extends value \"+String(p)+\" is not a constructor or null\");function u(){this.constructor=b}y(b,p),b.prototype=p===null?Object.create(p):(u.prototype=p.prototype,new u)});Object.defineProperty(c,\"__esModule\",{value:!0}),c.FruchtermanLayout=void 0;var C=r(18),w=r(15),O=function(b){function p(u){var a=b.call(this)||this;return a.maxIteration=1e3,a.workerEnabled=!1,a.gravity=10,a.speed=5,a.clustering=!1,a.clusterGravity=10,a.nodes=[],a.edges=[],a.width=300,a.height=300,a.nodeMap={},a.nodeIdxMap={},a.onLayoutEnd=function(){},a.tick=function(){},a.animate=!0,a.updateCfg(u),a}return N(p,b),p.prototype.getDefaultCfg=function(){return{maxIteration:1e3,gravity:10,speed:1,clustering:!1,clusterGravity:10,animate:!0}},p.prototype.execute=function(){var u,a,f=this,h=this.nodes;if(this.timeInterval!==void 0&&typeof window!=\"undefined\"&&window.clearInterval(this.timeInterval),h&&h.length!==0){this.width||typeof window==\"undefined\"||(this.width=window.innerWidth),this.height||typeof window==\"undefined\"||(this.height=window.innerHeight),this.center||(this.center=[this.width/2,this.height/2]);var l=this.center;if(h.length===1)return h[0].x=l[0],h[0].y=l[1],void((a=this.onLayoutEnd)===null||a===void 0||a.call(this));var s={},m={};return h.forEach(function(x,M){(0,w.isNumber)(x.x)||(x.x=Math.random()*f.width),(0,w.isNumber)(x.y)||(x.y=Math.random()*f.height),s[x.id]=x,m[x.id]=M}),this.nodeMap=s,this.nodeIdxMap=m,this.run()}(u=this.onLayoutEnd)===null||u===void 0||u.call(this)},p.prototype.run=function(){var u,a=this,f=a.nodes;if(f){var h=a.edges,l=a.maxIteration,s=a.workerEnabled,m=a.clustering,x=a.animate,M={};if(m&&f.forEach(function(L){M[L.cluster]===void 0&&(M[L.cluster]={name:L.cluster,cx:0,cy:0,count:0})}),s||!x){for(var E=0;E<l;E++)a.runOneStep(M);(u=a.onLayoutEnd)===null||u===void 0||u.call(a)}else{if(typeof window==\"undefined\")return;var j=0;this.timeInterval=window.setInterval(function(){var L;a.runOneStep(M),++j>=l&&((L=a.onLayoutEnd)===null||L===void 0||L.call(a),window.clearInterval(a.timeInterval))},0)}return{nodes:f,edges:h}}},p.prototype.runOneStep=function(u){var a,f=this.nodes;if(f){var h=this.edges,l=this.center,s=this.gravity,m=this.speed,x=this.clustering,M=this.height*this.width,E=Math.sqrt(M)/10,j=M/(f.length+1),L=Math.sqrt(j),A=[];if(f.forEach(function(re,me){A[me]={x:0,y:0}}),this.applyCalculate(f,h,A,L,j),x){for(var J in u)u[J].cx=0,u[J].cy=0,u[J].count=0;for(var J in f.forEach(function(me){var Te=u[me.cluster];(0,w.isNumber)(me.x)&&(Te.cx+=me.x),(0,w.isNumber)(me.y)&&(Te.cy+=me.y),Te.count++}),u)u[J].cx/=u[J].count,u[J].cy/=u[J].count;var q=this.clusterGravity||s;f.forEach(function(re,me){if((0,w.isNumber)(re.x)&&(0,w.isNumber)(re.y)){var Te=u[re.cluster],ee=Math.sqrt((re.x-Te.cx)*(re.x-Te.cx)+(re.y-Te.cy)*(re.y-Te.cy)),xe=L*q;A[me].x-=xe*(re.x-Te.cx)/ee,A[me].y-=xe*(re.y-Te.cy)/ee}})}f.forEach(function(re,me){if((0,w.isNumber)(re.x)&&(0,w.isNumber)(re.y)){var Te=.01*L*s;A[me].x-=Te*(re.x-l[0]),A[me].y-=Te*(re.y-l[1])}}),f.forEach(function(re,me){if((0,w.isNumber)(re.fx)&&(0,w.isNumber)(re.fy))return re.x=re.fx,void(re.y=re.fy);if((0,w.isNumber)(re.x)&&(0,w.isNumber)(re.y)){var Te=Math.sqrt(A[me].x*A[me].x+A[me].y*A[me].y);if(Te>0){var ee=Math.min(E*(m/800),Te);re.x+=A[me].x/Te*ee,re.y+=A[me].y/Te*ee}}}),(a=this.tick)===null||a===void 0||a.call(this)}},p.prototype.applyCalculate=function(u,a,f,h,l){this.calRepulsive(u,f,l),a&&this.calAttractive(a,f,h)},p.prototype.calRepulsive=function(u,a,f){u.forEach(function(h,l){a[l]={x:0,y:0},u.forEach(function(s,m){if(l!==m&&(0,w.isNumber)(h.x)&&(0,w.isNumber)(s.x)&&(0,w.isNumber)(h.y)&&(0,w.isNumber)(s.y)){var x=h.x-s.x,M=h.y-s.y,E=x*x+M*M;if(E===0){E=1;var j=l>m?1:-1;x=.01*j,M=.01*j}var L=f/E;a[l].x+=x*L,a[l].y+=M*L}})})},p.prototype.calAttractive=function(u,a,f){var h=this;u.forEach(function(l){var s=(0,w.getEdgeTerminal)(l,\"source\"),m=(0,w.getEdgeTerminal)(l,\"target\");if(s&&m){var x=h.nodeIdxMap[s],M=h.nodeIdxMap[m];if(x!==M){var E=h.nodeMap[s],j=h.nodeMap[m];if((0,w.isNumber)(j.x)&&(0,w.isNumber)(E.x)&&(0,w.isNumber)(j.y)&&(0,w.isNumber)(E.y)){var L=j.x-E.x,A=j.y-E.y,J=Math.sqrt(L*L+A*A),q=J*J/f;a[M].x-=L/J*q,a[M].y-=A/J*q,a[x].x+=L/J*q,a[x].y+=A/J*q}}}})},p.prototype.stop=function(){this.timeInterval&&typeof window!=\"undefined\"&&window.clearInterval(this.timeInterval)},p.prototype.destroy=function(){this.stop(),this.tick=null,this.nodes=null,this.edges=null,this.destroyed=!0},p.prototype.getType=function(){return\"fruchterman\"},p}(C.Base);c.FruchtermanLayout=O},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(l,s){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,x){m.__proto__=x}||function(m,x){for(var M in x)Object.prototype.hasOwnProperty.call(x,M)&&(m[M]=x[M])})(l,s)},function(l,s){if(typeof s!=\"function\"&&s!==null)throw new TypeError(\"Class extends value \"+String(s)+\" is not a constructor or null\");function m(){this.constructor=l}y(l,s),l.prototype=s===null?Object.create(s):(m.prototype=s.prototype,new m)}),C=this&&this.__awaiter||function(l,s,m,x){return new(m||(m=Promise))(function(M,E){function j(J){try{A(x.next(J))}catch(q){E(q)}}function L(J){try{A(x.throw(J))}catch(q){E(q)}}function A(J){var q;J.done?M(J.value):(q=J.value,q instanceof m?q:new m(function(re){re(q)})).then(j,L)}A((x=x.apply(l,s||[])).next())})},w=this&&this.__generator||function(l,s){var m,x,M,E,j={label:0,sent:function(){if(1&M[0])throw M[1];return M[1]},trys:[],ops:[]};return E={next:L(0),throw:L(1),return:L(2)},typeof Symbol==\"function\"&&(E[Symbol.iterator]=function(){return this}),E;function L(A){return function(J){return function(q){if(m)throw new TypeError(\"Generator is already executing.\");for(;E&&(E=0,q[0]&&(j=0)),j;)try{if(m=1,x&&(M=2&q[0]?x.return:q[0]?x.throw||((M=x.return)&&M.call(x),0):x.next)&&!(M=M.call(x,q[1])).done)return M;switch(x=0,M&&(q=[2&q[0],M.value]),q[0]){case 0:case 1:M=q;break;case 4:return j.label++,{value:q[1],done:!1};case 5:j.label++,x=q[1],q=[0];continue;case 7:q=j.ops.pop(),j.trys.pop();continue;default:if(M=j.trys,!((M=M.length>0&&M[M.length-1])||q[0]!==6&&q[0]!==2)){j=0;continue}if(q[0]===3&&(!M||q[1]>M[0]&&q[1]<M[3])){j.label=q[1];break}if(q[0]===6&&j.label<M[1]){j.label=M[1],M=q;break}if(M&&j.label<M[2]){j.label=M[2],j.ops.push(q);break}M[2]&&j.ops.pop(),j.trys.pop();continue}q=s.call(l,j)}catch(re){q=[6,re],x=0}finally{m=M=0}if(5&q[0])throw q[1];return{value:q[0]?q[1]:void 0,done:!0}}([A,J])}}};Object.defineProperty(c,\"__esModule\",{value:!0}),c.FruchtermanGPULayout=void 0;var O=r(18),b=r(15),p=r(109),u=r(102),a=r(199),f=r(46),h=function(l){function s(m){var x=l.call(this)||this;return x.maxIteration=1e3,x.gravity=10,x.speed=1,x.clustering=!1,x.clusterField=\"cluster\",x.clusterGravity=10,x.workerEnabled=!1,x.nodes=[],x.edges=[],x.width=300,x.height=300,x.nodeMap={},x.nodeIdxMap={},x.updateCfg(m),x}return N(s,l),s.prototype.getDefaultCfg=function(){return{maxIteration:1e3,gravity:10,speed:1,clustering:!1,clusterGravity:10}},s.prototype.execute=function(){return C(this,void 0,void 0,function(){var m,x,M,E,j,L=this;return w(this,function(A){switch(A.label){case 0:return(x=(m=this).nodes)&&x.length!==0?(m.width||typeof window==\"undefined\"||(m.width=window.innerWidth),m.height||typeof window==\"undefined\"||(m.height=window.innerHeight),m.center||(m.center=[m.width/2,m.height/2]),M=m.center,x.length===1?(x[0].x=M[0],x[0].y=M[1],m.onLayoutEnd&&m.onLayoutEnd(),[2]):(E={},j={},x.forEach(function(J,q){(0,b.isNumber)(J.x)||(J.x=Math.random()*L.width),(0,b.isNumber)(J.y)||(J.y=Math.random()*L.height),E[J.id]=J,j[J.id]=q}),m.nodeMap=E,m.nodeIdxMap=j,[4,m.run()])):(m.onLayoutEnd&&m.onLayoutEnd(),[2]);case 1:return A.sent(),[2]}})})},s.prototype.executeWithWorker=function(m,x){return C(this,void 0,void 0,function(){var M,E,j,L,A,J=this;return w(this,function(q){switch(q.label){case 0:return E=(M=this).nodes,j=M.center,E&&E.length!==0?E.length===1?(E[0].x=j[0],E[0].y=j[1],[2]):(L={},A={},E.forEach(function(re,me){(0,b.isNumber)(re.x)||(re.x=Math.random()*J.width),(0,b.isNumber)(re.y)||(re.y=Math.random()*J.height),L[re.id]=re,A[re.id]=me}),M.nodeMap=L,M.nodeIdxMap=A,[4,M.run(m,x)]):[2];case 1:return q.sent(),[2]}})})},s.prototype.run=function(m,x){return C(this,void 0,void 0,function(){var M,E,j,L,A,J,q,re,me,Te,ee,xe,Ie,Le,De,ce,ye,Oe,Ce,oe,he,ie,ae,ve,X,se=this;return w(this,function(fe){switch(fe.label){case 0:for(E=(M=this).nodes,j=M.edges,L=M.maxIteration,A=M.center,J=M.height*M.width,q=Math.sqrt(J)/10,re=J/(E.length+1),me=Math.sqrt(re),Te=M.speed,ee=M.clustering,xe=(0,u.attributesToTextureData)([M.clusterField],E),Ie=xe.array,Le=xe.count,E.forEach(function(_e,be){var We=0,we=0;(0,b.isNumber)(_e.fx)&&(0,b.isNumber)(_e.fy)&&(We=_e.fx||.001,we=_e.fy||.001),Ie[4*be+1]=We,Ie[4*be+2]=we}),De=E.length,ce=(0,u.buildTextureData)(E,j),ye=ce.maxEdgePerVetex,Oe=ce.array,Ce=M.workerEnabled,oe=Ce?p.World.create({canvas:m,engineOptions:{supportCompute:!0}}):p.World.create({engineOptions:{supportCompute:!0}}),he=M.onLayoutEnd,ie=[],ae=0;ae<Le;ae++)ie.push(0,0,0,0);return ve=oe.createKernel(a.fruchtermanBundle).setDispatch([De,1,1]).setBinding({u_Data:Oe,u_K:me,u_K2:re,u_Gravity:M.gravity,u_ClusterGravity:M.clusterGravity||M.gravity||1,u_Speed:Te,u_MaxDisplace:q,u_Clustering:ee?1:0,u_Center:A,u_AttributeArray:Ie,u_ClusterCenters:ie,MAX_EDGE_PER_VERTEX:ye,VERTEX_COUNT:De}),ee&&(X=oe.createKernel(a.clusterBundle).setDispatch([Le,1,1]).setBinding({u_Data:Oe,u_NodeAttributes:Ie,u_ClusterCenters:ie,VERTEX_COUNT:De,CLUSTER_COUNT:Le})),[4,function(){return C(se,void 0,void 0,function(){var _e,be;return w(this,function(We){switch(We.label){case 0:_e=0,We.label=1;case 1:return _e<L?[4,ve.execute()]:[3,6];case 2:return We.sent(),ee?(X.setBinding({u_Data:ve}),[4,X.execute()]):[3,4];case 3:We.sent(),ve.setBinding({u_ClusterCenters:X}),We.label=4;case 4:ve.setBinding({u_MaxDisplace:q*=.99}),We.label=5;case 5:return _e++,[3,1];case 6:return[4,ve.getOutput()];case 7:return be=We.sent(),m?x.postMessage({type:f.LAYOUT_MESSAGE.GPUEND,vertexEdgeData:be}):E.forEach(function(we,Ze){var Ve=be[4*Ze],et=be[4*Ze+1];we.x=Ve,we.y=et}),he&&he(),[2]}})})}()];case 1:return fe.sent(),[2]}})})},s.prototype.getType=function(){return\"fruchterman-gpu\"},s}(O.Base);c.FruchtermanGPULayout=h},function(Ee,c,r){var y=r(42).default,N=r(184);Ee.exports=function(C){var w=N(C,\"string\");return y(w)===\"symbol\"?w:String(w)},Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports},function(Ee,c,r){var y=r(186).Symbol;Ee.exports=y},function(Ee,c,r){(function(y){function N(w){return(N=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(O){return typeof O}:function(O){return O&&typeof Symbol==\"function\"&&O.constructor===Symbol&&O!==Symbol.prototype?\"symbol\":typeof O})(w)}var C=(y===void 0?\"undefined\":N(y))==\"object\"&&y&&y.Object===Object&&y;Ee.exports=C}).call(this,r(91))},function(Ee,c){Ee.exports=function(r){return r.webpackPolyfill||(r.deprecate=function(){},r.paths=[],r.children||(r.children=[]),Object.defineProperty(r,\"loaded\",{enumerable:!0,get:function(){return r.l}}),Object.defineProperty(r,\"id\",{enumerable:!0,get:function(){return r.i}}),r.webpackPolyfill=1),r}},function(Ee,c){Ee.exports=function(r,y){(y==null||y>r.length)&&(y=r.length);for(var N=0,C=new Array(y);N<y;N++)C[N]=r[N];return C},Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.arrayToTextureData=c.attributesToTextureData=c.buildTextureDataWithTwoEdgeAttr=c.buildTextureData=c.proccessToFunc=void 0;var y=r(15),N=r(60);c.proccessToFunc=function(C,w){return C?(0,y.isNumber)(C)?function(){return C}:C:function(){return w||1}},c.buildTextureData=function(C,w){var O=[],b=[],p={},u=0;for(u=0;u<C.length;u++){var a=C[u];p[a.id]=u,O.push(a.x),O.push(a.y),O.push(0),O.push(0),b.push([])}for(u=0;u<w.length;u++){var f=w[u],h=(0,N.getEdgeTerminal)(f,\"source\"),l=(0,N.getEdgeTerminal)(f,\"target\");isNaN(p[h])||isNaN(p[l])||(b[p[h]].push(p[l]),b[p[l]].push(p[h]))}var s=0;for(u=0;u<C.length;u++){var m=O.length,x=b[u],M=x.length;O[4*u+2]=m,O[4*u+3]=M,s=Math.max(s,M);for(var E=0;E<M;++E){var j=x[E];O.push(+j)}}for(;O.length%4!=0;)O.push(0);return{maxEdgePerVetex:s,array:new Float32Array(O)}},c.buildTextureDataWithTwoEdgeAttr=function(C,w,O,b){var p=[],u=[],a={},f=0;for(f=0;f<C.length;f++){var h=C[f];a[h.id]=f,p.push(h.x),p.push(h.y),p.push(0),p.push(0),u.push([])}for(f=0;f<w.length;f++){var l=w[f],s=(0,N.getEdgeTerminal)(l,\"source\"),m=(0,N.getEdgeTerminal)(l,\"target\");u[a[s]].push(a[m]),u[a[s]].push(O(l)),u[a[s]].push(b(l)),u[a[s]].push(0),u[a[m]].push(a[s]),u[a[m]].push(O(l)),u[a[m]].push(b(l)),u[a[m]].push(0)}var x=0;for(f=0;f<C.length;f++){var M=p.length,E=u[f],j=E.length;p[4*f+2]=M+1048576*j/4,p[4*f+3]=0,x=Math.max(x,j/4);for(var L=0;L<j;++L){var A=E[L];p.push(+A)}}for(;p.length%4!=0;)p.push(0);return{maxEdgePerVetex:x,array:new Float32Array(p)}},c.attributesToTextureData=function(C,w){var O=[],b=C.length,p={};return w.forEach(function(u){C.forEach(function(a,f){if(p[u[a]]===void 0&&(p[u[a]]=Object.keys(p).length),O.push(p[u[a]]),f===b-1)for(;O.length%4!=0;)O.push(0)})}),{array:new Float32Array(O),count:Object.keys(p).length}},c.arrayToTextureData=function(C){for(var w=[],O=C.length,b=C[0].length,p=function(a){C.forEach(function(f,h){if(w.push(f[a]),h===O-1)for(;w.length%4!=0;)w.push(0)})},u=0;u<b;u++)p(u);return new Float32Array(w)}},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(s,m){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,M){x.__proto__=M}||function(x,M){for(var E in M)Object.prototype.hasOwnProperty.call(M,E)&&(x[E]=M[E])})(s,m)},function(s,m){if(typeof m!=\"function\"&&m!==null)throw new TypeError(\"Class extends value \"+String(m)+\" is not a constructor or null\");function x(){this.constructor=s}y(s,m),s.prototype=m===null?Object.create(m):(x.prototype=m.prototype,new x)}),C=this&&this.__awaiter||function(s,m,x,M){return new(x||(x=Promise))(function(E,j){function L(q){try{J(M.next(q))}catch(re){j(re)}}function A(q){try{J(M.throw(q))}catch(re){j(re)}}function J(q){var re;q.done?E(q.value):(re=q.value,re instanceof x?re:new x(function(me){me(re)})).then(L,A)}J((M=M.apply(s,m||[])).next())})},w=this&&this.__generator||function(s,m){var x,M,E,j,L={label:0,sent:function(){if(1&E[0])throw E[1];return E[1]},trys:[],ops:[]};return j={next:A(0),throw:A(1),return:A(2)},typeof Symbol==\"function\"&&(j[Symbol.iterator]=function(){return this}),j;function A(J){return function(q){return function(re){if(x)throw new TypeError(\"Generator is already executing.\");for(;j&&(j=0,re[0]&&(L=0)),L;)try{if(x=1,M&&(E=2&re[0]?M.return:re[0]?M.throw||((E=M.return)&&E.call(M),0):M.next)&&!(E=E.call(M,re[1])).done)return E;switch(M=0,E&&(re=[2&re[0],E.value]),re[0]){case 0:case 1:E=re;break;case 4:return L.label++,{value:re[1],done:!1};case 5:L.label++,M=re[1],re=[0];continue;case 7:re=L.ops.pop(),L.trys.pop();continue;default:if(E=L.trys,!((E=E.length>0&&E[E.length-1])||re[0]!==6&&re[0]!==2)){L=0;continue}if(re[0]===3&&(!E||re[1]>E[0]&&re[1]<E[3])){L.label=re[1];break}if(re[0]===6&&L.label<E[1]){L.label=E[1],E=re;break}if(E&&L.label<E[2]){L.label=E[2],L.ops.push(re);break}E[2]&&L.ops.pop(),L.trys.pop();continue}re=m.call(s,L)}catch(me){re=[6,me],M=0}finally{x=E=0}if(5&re[0])throw re[1];return{value:re[0]?re[1]:void 0,done:!0}}([J,q])}}};Object.defineProperty(c,\"__esModule\",{value:!0}),c.GForceGPULayout=void 0;var O=r(18),b=r(15),p=r(109),u=r(102),a=r(60),f=r(200),h=r(46),l=function(s){function m(x){var M=s.call(this)||this;return M.maxIteration=1e3,M.edgeStrength=200,M.nodeStrength=1e3,M.coulombDisScale=.005,M.damping=.9,M.maxSpeed=1e3,M.minMovement=.5,M.interval=.02,M.factor=1,M.linkDistance=1,M.gravity=10,M.workerEnabled=!1,M.nodes=[],M.edges=[],M.width=300,M.height=300,M.nodeMap={},M.nodeIdxMap={},M.updateCfg(x),M}return N(m,s),m.prototype.getDefaultCfg=function(){return{maxIteration:2e3,gravity:10,clustering:!1,clusterGravity:10}},m.prototype.execute=function(){return C(this,void 0,void 0,function(){var x,M,E,j,L;return w(this,function(A){switch(A.label){case 0:return(M=(x=this).nodes)&&M.length!==0?(x.width||typeof window==\"undefined\"||(x.width=window.innerWidth),x.height||typeof window==\"undefined\"||(x.height=window.innerHeight),x.center||(x.center=[x.width/2,x.height/2]),E=x.center,M.length===1?(M[0].x=E[0],M[0].y=E[1],x.onLayoutEnd&&x.onLayoutEnd(),[2]):(j={},L={},M.forEach(function(J,q){(0,b.isNumber)(J.x)||(J.x=Math.random()*x.width),(0,b.isNumber)(J.y)||(J.y=Math.random()*x.height),j[J.id]=J,L[J.id]=q}),x.nodeMap=j,x.nodeIdxMap=L,x.nodeStrength=(0,u.proccessToFunc)(x.nodeStrength,1),x.edgeStrength=(0,u.proccessToFunc)(x.edgeStrength,1),[4,x.run()])):(x.onLayoutEnd&&x.onLayoutEnd(),[2]);case 1:return A.sent(),[2]}})})},m.prototype.executeWithWorker=function(x,M){var E=this,j=E.nodes,L=E.center;if(j&&j.length!==0){if(j.length===1)return j[0].x=L[0],void(j[0].y=L[1]);var A={},J={};j.forEach(function(q,re){(0,b.isNumber)(q.x)||(q.x=Math.random()*E.width),(0,b.isNumber)(q.y)||(q.y=Math.random()*E.height),A[q.id]=q,J[q.id]=re}),E.nodeMap=A,E.nodeIdxMap=J,E.nodeStrength=(0,u.proccessToFunc)(E.nodeStrength,1),E.edgeStrength=(0,u.proccessToFunc)(E.edgeStrength,1),E.run(x,M)}},m.prototype.run=function(x,M){return C(this,void 0,void 0,function(){var E,j,L,A,J,q,re,me,Te,ee,xe,Ie,Le,De,ce,ye,Oe,Ce,oe,he,ie,ae,ve,X,se,fe,_e=this;return w(this,function(be){switch(be.label){case 0:for(j=(E=this).nodes,L=E.edges,A=E.maxIteration,E.width||typeof window==\"undefined\"||(E.width=window.innerWidth),E.height||typeof window==\"undefined\"||(E.height=window.innerHeight),J=j.length,E.linkDistance=(0,u.proccessToFunc)(E.linkDistance),E.edgeStrength=(0,u.proccessToFunc)(E.edgeStrength),q=(0,u.buildTextureDataWithTwoEdgeAttr)(j,L,E.linkDistance,E.edgeStrength),re=q.maxEdgePerVetex,me=q.array,E.degrees=(0,a.getDegree)(j.length,E.nodeIdxMap,L).map(function(We){return We.all}),Te=[],ee=[],xe=[],Ie=[],Le=[],De=[],ce=[],E.getMass||(E.getMass=function(We){return E.degrees[E.nodeIdxMap[We.id]]||1}),ye=E.gravity,Oe=E.center,j.forEach(function(We,we){Te.push(E.getMass(We)),ee.push(E.nodeStrength(We)),E.degrees[we]||(E.degrees[we]=0);var Ze=[Oe[0],Oe[1],ye];if(E.getCenter){var Ve=E.getCenter(We,E.degrees[we]);Ve&&(0,b.isNumber)(Ve[0])&&(0,b.isNumber)(Ve[1])&&(0,b.isNumber)(Ve[2])&&(Ze=Ve)}xe.push(Ze[0]),Ie.push(Ze[1]),Le.push(Ze[2]),(0,b.isNumber)(We.fx)&&(0,b.isNumber)(We.fy)?(De.push(We.fx||.001),ce.push(We.fy||.001)):(De.push(0),ce.push(0))}),Ce=(0,u.arrayToTextureData)([Te,E.degrees,ee,De]),oe=(0,u.arrayToTextureData)([xe,Ie,Le,ce]),he=E.workerEnabled,ie=he?p.World.create({canvas:x,engineOptions:{supportCompute:!0}}):p.World.create({engineOptions:{supportCompute:!0}}),ae=E.onLayoutEnd,ve=[],me.forEach(function(We){ve.push(We)}),X=0;X<4;X++)ve.push(0);return se=ie.createKernel(f.gForceBundle).setDispatch([J,1,1]).setBinding({u_Data:me,u_damping:E.damping,u_maxSpeed:E.maxSpeed,u_minMovement:E.minMovement,u_coulombDisScale:E.coulombDisScale,u_factor:E.factor,u_NodeAttributeArray1:Ce,u_NodeAttributeArray2:oe,MAX_EDGE_PER_VERTEX:re,VERTEX_COUNT:J,u_AveMovement:ve,u_interval:E.interval}),fe=ie.createKernel(f.aveMovementBundle).setDispatch([1,1,1]).setBinding({u_Data:me,VERTEX_COUNT:J,u_AveMovement:[0,0,0,0]}),[4,function(){return C(_e,void 0,void 0,function(){var We,we,Ze;return w(this,function(Ve){switch(Ve.label){case 0:We=0,Ve.label=1;case 1:return We<A?[4,se.execute()]:[3,5];case 2:return Ve.sent(),fe.setBinding({u_Data:se}),[4,fe.execute()];case 3:Ve.sent(),we=Math.max(.02,E.interval-.002*We),se.setBinding({u_interval:we,u_AveMovement:fe}),Ve.label=4;case 4:return We++,[3,1];case 5:return[4,se.getOutput()];case 6:return Ze=Ve.sent(),x?M.postMessage({type:h.LAYOUT_MESSAGE.GPUEND,vertexEdgeData:Ze}):j.forEach(function(et,ht){var Fe=Ze[4*ht],mt=Ze[4*ht+1];et.x=Fe,et.y=mt}),ae&&ae(),[2]}})})}()];case 1:return be.sent(),[2]}})})},m.prototype.getType=function(){return\"gForce-gpu\"},m}(O.Base);c.GForceGPULayout=l},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(b,p){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,a){u.__proto__=a}||function(u,a){for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&(u[f]=a[f])})(b,p)},function(b,p){if(typeof p!=\"function\"&&p!==null)throw new TypeError(\"Class extends value \"+String(p)+\" is not a constructor or null\");function u(){this.constructor=b}y(b,p),b.prototype=p===null?Object.create(p):(u.prototype=p.prototype,new u)});Object.defineProperty(c,\"__esModule\",{value:!0}),c.ComboForceLayout=void 0;var C=r(18),w=r(15),O=function(b){function p(u){var a=b.call(this)||this;return a.center=[0,0],a.maxIteration=100,a.gravity=10,a.comboGravity=10,a.linkDistance=10,a.alpha=1,a.alphaMin=.001,a.alphaDecay=1-Math.pow(a.alphaMin,1/300),a.alphaTarget=0,a.velocityDecay=.6,a.edgeStrength=.6,a.nodeStrength=30,a.preventOverlap=!1,a.preventNodeOverlap=!1,a.preventComboOverlap=!1,a.collideStrength=void 0,a.nodeCollideStrength=.5,a.comboCollideStrength=.5,a.comboSpacing=20,a.comboPadding=10,a.optimizeRangeFactor=1,a.onTick=function(){},a.onLayoutEnd=function(){},a.depthAttractiveForceScale=1,a.depthRepulsiveForceScale=2,a.nodes=[],a.edges=[],a.combos=[],a.comboTrees=[],a.width=300,a.height=300,a.bias=[],a.nodeMap={},a.oriComboMap={},a.indexMap={},a.comboMap={},a.previousLayouted=!1,a.updateCfg(u),a}return N(p,b),p.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}},p.prototype.execute=function(){var u=this.nodes,a=this.center;if(this.comboTree={id:\"comboTreeRoot\",depth:-1,children:this.comboTrees},u&&u.length!==0){if(u.length===1)return u[0].x=a[0],u[0].y=a[1],void(this.onLayoutEnd&&this.onLayoutEnd());this.initVals(),this.run(),this.onLayoutEnd&&this.onLayoutEnd()}else this.onLayoutEnd&&this.onLayoutEnd()},p.prototype.run=function(){var u=this,a=u.nodes,f=u.previousLayouted?u.maxIteration/5:u.maxIteration;u.width||typeof window==\"undefined\"||(u.width=window.innerWidth),u.height||typeof window==\"undefined\"||(u.height=window.innerHeight);var h=u.center,l=u.velocityDecay,s=u.comboMap;u.previousLayouted||u.initPos(s);for(var m=function(j){var L=[];a.forEach(function(A,J){L[J]={x:0,y:0}}),u.applyCalculate(L),u.applyComboCenterForce(L),a.forEach(function(A,J){(0,w.isNumber)(A.x)&&(0,w.isNumber)(A.y)&&(A.x+=L[J].x*l,A.y+=L[J].y*l)}),u.alpha+=(u.alphaTarget-u.alpha)*u.alphaDecay,u.onTick()},x=0;x<f;x++)m();var M=[0,0];a.forEach(function(j){(0,w.isNumber)(j.x)&&(0,w.isNumber)(j.y)&&(M[0]+=j.x,M[1]+=j.y)}),M[0]/=a.length,M[1]/=a.length;var E=[h[0]-M[0],h[1]-M[1]];a.forEach(function(j,L){(0,w.isNumber)(j.x)&&(0,w.isNumber)(j.y)&&(j.x+=E[0],j.y+=E[1])}),u.combos.forEach(function(j){var L=s[j.id];L&&L.empty&&(j.x=L.cx||j.x,j.y=L.cy||j.y)}),u.previousLayouted=!0},p.prototype.initVals=function(){var u=this.edges,a=this.nodes,f=this.combos,h={},l={},s={};a.forEach(function(ie,ae){l[ie.id]=ie,s[ie.id]=ae}),this.nodeMap=l,this.indexMap=s;var m={};f.forEach(function(ie){m[ie.id]=ie}),this.oriComboMap=m,this.comboMap=this.getComboMap();var x=this.preventOverlap;this.preventComboOverlap=this.preventComboOverlap||x,this.preventNodeOverlap=this.preventNodeOverlap||x;var M=this.collideStrength;M&&(this.comboCollideStrength=M,this.nodeCollideStrength=M),this.comboCollideStrength=this.comboCollideStrength?this.comboCollideStrength:0,this.nodeCollideStrength=this.nodeCollideStrength?this.nodeCollideStrength:0;for(var E=0;E<u.length;++E){var j=(0,w.getEdgeTerminal)(u[E],\"source\"),L=(0,w.getEdgeTerminal)(u[E],\"target\");h[j]?h[j]++:h[j]=1,h[L]?h[L]++:h[L]=1}var A=[];for(E=0;E<u.length;++E)j=(0,w.getEdgeTerminal)(u[E],\"source\"),L=(0,w.getEdgeTerminal)(u[E],\"target\"),A[E]=h[j]/(h[j]+h[L]);this.bias=A;var J,q,re=this.nodeSize,me=this.nodeSpacing;if(q=(0,w.isNumber)(me)?function(){return me}:(0,w.isFunction)(me)?me:function(){return 0},this.nodeSpacing=q,re)if((0,w.isFunction)(re))J=function(ie){return re(ie)};else if((0,w.isArray)(re)){var Te=(re[0]>re[1]?re[0]:re[1])/2;J=function(ie){return Te}}else{var ee=re/2;J=function(ie){return ee}}else J=function(ie){return ie.size?(0,w.isArray)(ie.size)?(ie.size[0]>ie.size[1]?ie.size[0]:ie.size[1])/2:(0,w.isObject)(ie.size)?(ie.size.width>ie.size.height?ie.size.width:ie.size.height)/2:ie.size/2:10};this.nodeSize=J;var xe,Ie=this.comboSpacing;xe=(0,w.isNumber)(Ie)?function(){return Ie}:(0,w.isFunction)(Ie)?Ie:function(){return 0},this.comboSpacing=xe;var Le,De=this.comboPadding;Le=(0,w.isNumber)(De)?function(){return De}:(0,w.isArray)(De)?function(){return Math.max.apply(null,De)}:(0,w.isFunction)(De)?De:function(){return 0},this.comboPadding=Le;var ce,ye=this.linkDistance;ye||(ye=10),ce=(0,w.isNumber)(ye)?function(ie){return ye}:ye,this.linkDistance=ce;var Oe,Ce=this.edgeStrength;Ce||(Ce=1),Oe=(0,w.isNumber)(Ce)?function(ie){return Ce}:Ce,this.edgeStrength=Oe;var oe,he=this.nodeStrength;he||(he=30),oe=(0,w.isNumber)(he)?function(ie){return he}:he,this.nodeStrength=oe},p.prototype.initPos=function(u){this.nodes.forEach(function(a,f){var h=a.comboId,l=u[h];h&&l?(a.x=l.cx+100/(f+1),a.y=l.cy+100/(f+1)):(a.x=100/(f+1),a.y=100/(f+1))})},p.prototype.getComboMap=function(){var u=this,a=u.nodeMap,f=u.comboTrees,h=u.oriComboMap,l={};return(f||[]).forEach(function(s){var m=[];(0,w.traverseTreeUp)(s,function(x){if(x.itemType===\"node\"||!h[x.id])return!0;if(l[x.id]===void 0){var M={id:x.id,name:x.id,cx:0,cy:0,count:0,depth:u.oriComboMap[x.id].depth||0,children:[]};l[x.id]=M}var E=x.children;E&&E.forEach(function(A){if(!l[A.id]&&!a[A.id])return!0;m.push(A)});var j=l[x.id];if(j.cx=0,j.cy=0,m.length===0){j.empty=!0;var L=h[x.id];j.cx=L.x,j.cy=L.y}return m.forEach(function(A){if(j.count++,A.itemType!==\"node\"){var J=l[A.id];return(0,w.isNumber)(J.cx)&&(j.cx+=J.cx),void((0,w.isNumber)(J.cy)&&(j.cy+=J.cy))}var q=a[A.id];q&&((0,w.isNumber)(q.x)&&(j.cx+=q.x),(0,w.isNumber)(q.y)&&(j.cy+=q.y))}),j.cx/=j.count||1,j.cy/=j.count||1,j.children=m,!0})}),l},p.prototype.applyComboCenterForce=function(u){var a=this.gravity,f=this.comboGravity||a,h=this.alpha,l=this.comboTrees,s=this.indexMap,m=this.nodeMap,x=this.comboMap;(l||[]).forEach(function(M){(0,w.traverseTreeUp)(M,function(E){if(E.itemType===\"node\"||!x[E.id])return!0;var j=x[E.id],L=(j.depth+1)/10*.5,A=j.cx,J=j.cy;return j.cx=0,j.cy=0,j.children.forEach(function(q){if(q.itemType!==\"node\"){var re=x[q.id];return re&&(0,w.isNumber)(re.cx)&&(j.cx+=re.cx),void(re&&(0,w.isNumber)(re.cy)&&(j.cy+=re.cy))}var me=m[q.id],Te=me.x-A||.005,ee=me.y-J||.005,xe=Math.sqrt(Te*Te+ee*ee),Ie=s[me.id],Le=f*h/xe*L;u[Ie].x-=Te*Le,u[Ie].y-=ee*Le,(0,w.isNumber)(me.x)&&(j.cx+=me.x),(0,w.isNumber)(me.y)&&(j.cy+=me.y)}),j.cx/=j.count||1,j.cy/=j.count||1,!0})})},p.prototype.applyCalculate=function(u){var a=this.comboMap,f=this.nodes,h={};f.forEach(function(l,s){f.forEach(function(m,x){if(!(s<x)){var M=l.x-m.x||.005,E=l.y-m.y||.005,j=M*M+E*E,L=Math.sqrt(j);j<1&&(j=L),h[\"\".concat(l.id,\"-\").concat(m.id)]={vx:M,vy:E,vl2:j,vl:L},h[\"\".concat(m.id,\"-\").concat(l.id)]={vl2:j,vl:L,vx:-M,vy:-E}}})}),this.updateComboSizes(a),this.calRepulsive(u,h),this.calAttractive(u,h),this.preventComboOverlap&&this.comboNonOverlapping(u,a)},p.prototype.updateComboSizes=function(u){var a=this,f=a.comboTrees,h=a.nodeMap,l=a.nodeSize,s=a.comboSpacing,m=a.comboPadding;(f||[]).forEach(function(x){var M=[];(0,w.traverseTreeUp)(x,function(E){if(E.itemType===\"node\")return!0;var j=u[E.id];if(!j)return!1;var L=E.children;L&&L.forEach(function(q){(u[q.id]||h[q.id])&&M.push(q)}),j.minX=1/0,j.minY=1/0,j.maxX=-1/0,j.maxY=-1/0,M.forEach(function(q){if(q.itemType!==\"node\")return!0;var re=h[q.id];if(!re)return!0;var me=l(re),Te=re.x-me,ee=re.y-me,xe=re.x+me,Ie=re.y+me;j.minX>Te&&(j.minX=Te),j.minY>ee&&(j.minY=ee),j.maxX<xe&&(j.maxX=xe),j.maxY<Ie&&(j.maxY=Ie)});var A=a.oriComboMap[E.id].size||10;(0,w.isArray)(A)&&(A=A[0]);var J=Math.max(j.maxX-j.minX,j.maxY-j.minY,A);return j.r=J/2+s(j)/2+m(j),!0})})},p.prototype.comboNonOverlapping=function(u,a){var f=this.comboTree,h=this.comboCollideStrength,l=this.indexMap,s=this.nodeMap;(0,w.traverseTreeUp)(f,function(m){if(!a[m.id]&&!s[m.id]&&m.id!==\"comboTreeRoot\")return!1;var x=m.children;return x&&x.length>1&&x.forEach(function(M,E){if(M.itemType===\"node\")return!1;var j=a[M.id];j&&x.forEach(function(L,A){if(E<=A||L.itemType===\"node\")return!1;var J=a[L.id];if(!J)return!1;var q=j.cx-J.cx||.005,re=j.cy-J.cy||.005,me=q*q+re*re,Te=j.r||1,ee=J.r||1,xe=Te+ee,Ie=ee*ee,Le=Te*Te;if(me<xe*xe){var De=M.children;if(!De||De.length===0)return!1;var ce=L.children;if(!ce||ce.length===0)return!1;var ye=Math.sqrt(me),Oe=(xe-ye)/ye*h,Ce=q*Oe,oe=re*Oe,he=Ie/(Le+Ie),ie=1-he;De.forEach(function(ae){if(ae.itemType!==\"node\")return!1;if(s[ae.id]){var ve=l[ae.id];ce.forEach(function(X){if(X.itemType!==\"node\"||!s[X.id])return!1;var se=l[X.id];u[ve].x+=Ce*he,u[ve].y+=oe*he,u[se].x-=Ce*ie,u[se].y-=oe*ie})}})}})}),!0})},p.prototype.calRepulsive=function(u,a){var f=this,h=f.nodes,l=f.width*f.optimizeRangeFactor,s=f.nodeStrength,m=f.alpha,x=f.nodeCollideStrength,M=f.preventNodeOverlap,E=f.nodeSize,j=f.nodeSpacing,L=f.depthRepulsiveForceScale,A=f.center;h.forEach(function(J,q){if(J.x&&J.y){if(A){var re=f.gravity,me=J.x-A[0]||.005,Te=J.y-A[1]||.005,ee=Math.sqrt(me*me+Te*Te);u[q].x-=me*re*m/ee,u[q].y-=Te*re*m/ee}h.forEach(function(xe,Ie){if(q!==Ie&&xe.x&&xe.y){var Le=a[\"\".concat(J.id,\"-\").concat(xe.id)],De=Le.vl2,ce=Le.vl;if(!(ce>l)){var ye=a[\"\".concat(J.id,\"-\").concat(xe.id)],Oe=ye.vx,Ce=ye.vy,oe=Math.log(Math.abs(xe.depth-J.depth)/10)+1||1;oe=oe<1?1:oe,xe.comboId!==J.comboId&&(oe+=1);var he=oe?Math.pow(L,oe):1,ie=s(xe)*m/De*he;if(u[q].x+=Oe*ie,u[q].y+=Ce*ie,q<Ie&&M){var ae=E(J)+j(J)||1,ve=E(xe)+j(xe)||1,X=ae+ve;if(De<X*X){var se=(X-ce)/ce*x,fe=ve*ve,_e=fe/(ae*ae+fe),be=Oe*se,We=Ce*se;u[q].x+=be*_e,u[q].y+=We*_e,_e=1-_e,u[Ie].x-=be*_e,u[Ie].y-=We*_e}}}}})}})},p.prototype.calAttractive=function(u,a){var f=this,h=f.edges,l=f.linkDistance,s=f.alpha,m=f.edgeStrength,x=f.bias,M=f.depthAttractiveForceScale;h.forEach(function(E,j){var L=(0,w.getEdgeTerminal)(E,\"source\"),A=(0,w.getEdgeTerminal)(E,\"target\");if(L&&A&&L!==A){var J=f.indexMap[L],q=f.indexMap[A],re=f.nodeMap[L],me=f.nodeMap[A];if(re&&me){var Te=re.depth===me.depth?0:Math.log(Math.abs(re.depth-me.depth)/10);re.comboId===me.comboId&&(Te/=2);var ee=Te?Math.pow(M,Te):1;if(re.comboId!==me.comboId&&ee===1?ee=M/2:re.comboId===me.comboId&&(ee=2),(0,w.isNumber)(me.x)&&(0,w.isNumber)(re.x)&&(0,w.isNumber)(me.y)&&(0,w.isNumber)(re.y)){var xe=a[\"\".concat(A,\"-\").concat(L)],Ie=xe.vl,Le=xe.vx,De=xe.vy,ce=(Ie-l(E))/Ie*s*m(E)*ee,ye=Le*ce,Oe=De*ce,Ce=x[j];u[q].x-=ye*Ce,u[q].y-=Oe*Ce,u[J].x+=ye*(1-Ce),u[J].y+=Oe*(1-Ce)}}}})},p.prototype.getType=function(){return\"comboForce\"},p}(C.Base);c.ComboForceLayout=O},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(a,f){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,l){h.__proto__=l}||function(h,l){for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&(h[s]=l[s])})(a,f)},function(a,f){if(typeof f!=\"function\"&&f!==null)throw new TypeError(\"Class extends value \"+String(f)+\" is not a constructor or null\");function h(){this.constructor=a}y(a,f),a.prototype=f===null?Object.create(f):(h.prototype=f.prototype,new h)}),C=this&&this.__assign||function(){return(C=Object.assign||function(a){for(var f,h=1,l=arguments.length;h<l;h++)for(var s in f=arguments[h])Object.prototype.hasOwnProperty.call(f,s)&&(a[s]=f[s]);return a}).apply(this,arguments)};Object.defineProperty(c,\"__esModule\",{value:!0}),c.ComboCombinedLayout=void 0;var w=r(46),O=r(18),b=r(15),p=r(82),u=function(a){function f(h){var l=a.call(this)||this;return l.center=[0,0],l.nodes=[],l.edges=[],l.combos=[],l.comboEdges=[],l.comboPadding=10,l.comboTrees=[],l.updateCfg(h),l}return N(f,a),f.prototype.getDefaultCfg=function(){return{}},f.prototype.execute=function(){var h=this.nodes,l=this.center;if(h&&h.length!==0){if(h.length===1)return h[0].x=l[0],h[0].y=l[1],void(this.onLayoutEnd&&this.onLayoutEnd());this.initVals(),this.run(),this.onLayoutEnd&&this.onLayoutEnd()}else this.onLayoutEnd&&this.onLayoutEnd()},f.prototype.run=function(){var h,l=this.nodes,s=this.edges,m=this.combos,x=this.comboEdges,M=this.center,E={};l.forEach(function(ce){E[ce.id]=ce});var j={};m.forEach(function(ce){j[ce.id]=ce});var L=this.getInnerGraphs(E),A=[],J=[],q={},re=!0;this.comboTrees.forEach(function(ce){var ye=L[ce.id],Oe=C(C({},ce),{x:ye.x||j[ce.id].x,y:ye.y||j[ce.id].y,fx:ye.fx||j[ce.id].fx,fy:ye.fy||j[ce.id].fy,mass:ye.mass||j[ce.id].mass,size:ye.size});J.push(Oe),isNaN(Oe.x)||Oe.x===0||isNaN(Oe.y)||Oe.y===0?(Oe.x=100*Math.random(),Oe.y=100*Math.random()):re=!1,A.push(ce.id),(0,b.traverseTreeUp)(ce,function(Ce){return Ce.id!==ce.id&&(q[Ce.id]=ce.id),!0})}),l.forEach(function(ce){if(!ce.comboId||!j[ce.comboId]){var ye=C({},ce);J.push(ye),isNaN(ye.x)||ye.x===0||isNaN(ye.y)||ye.y===0?(ye.x=100*Math.random(),ye.y=100*Math.random()):re=!1,A.push(ce.id)}});var me=[];if(s.concat(x).forEach(function(ce){var ye=q[ce.source]||ce.source,Oe=q[ce.target]||ce.target;ye!==Oe&&A.includes(ye)&&A.includes(Oe)&&me.push({source:ye,target:Oe})}),J==null?void 0:J.length){if(J.length===1)J[0].x=M[0],J[0].y=M[1];else{var Te={nodes:J,edges:me},ee=this.outerLayout||new p.GForceLayout({gravity:1,factor:4,linkDistance:function(ce,ye,Oe){var Ce,oe,he=((((Ce=ye.size)===null||Ce===void 0?void 0:Ce[0])||30)+(((oe=Oe.size)===null||oe===void 0?void 0:oe[0])||30))/2;return Math.min(1.5*he,700)}}),xe=(h=ee.getType)===null||h===void 0?void 0:h.call(ee);ee.updateCfg({center:M,kg:5,preventOverlap:!0,animate:!1}),re&&w.FORCE_LAYOUT_TYPE_MAP[xe]&&(J.length<100?new p.MDSLayout:new p.GridLayout).layout(Te),ee.layout(Te)}J.forEach(function(ce){var ye=L[ce.id];if(ye)ye.visited=!0,ye.x=ce.x,ye.y=ce.y,ye.nodes.forEach(function(Ce){Ce.x+=ce.x,Ce.y+=ce.y});else{var Oe=E[ce.id];Oe&&(Oe.x=ce.x,Oe.y=ce.y)}})}for(var Ie=Object.keys(L),Le=function(ce){var ye=Ie[ce],Oe=L[ye];if(!Oe)return\"continue\";Oe.nodes.forEach(function(Ce){Oe.visited||(Ce.x+=Oe.x||0,Ce.y+=Oe.y||0),E[Ce.id]&&(E[Ce.id].x=Ce.x,E[Ce.id].y=Ce.y)}),j[ye]&&(j[ye].x=Oe.x,j[ye].y=Oe.y)},De=Ie.length-1;De>=0;De--)Le(De);return{nodes:l,edges:s,combos:m,comboEdges:x}},f.prototype.getInnerGraphs=function(h){var l=this.comboTrees,s=this.nodeSize,m=this.edges,x=this.comboPadding,M=this.spacing,E={},j=this.innerLayout||new p.ConcentricLayout({sortBy:\"id\"});return j.center=[0,0],j.preventOverlap=!0,j.nodeSpacing=M,(l||[]).forEach(function(L){(0,b.traverseTreeUp)(L,function(A){var J,q=(x==null?void 0:x(A))||10;if((0,b.isArray)(q)&&(q=Math.max.apply(Math,q)),(J=A.children)===null||J===void 0?void 0:J.length){var re=A.children.map(function(oe){if(oe.itemType===\"combo\")return E[oe.id];var he=h[oe.id]||{};return C(C({},he),oe)}),me=re.map(function(oe){return oe.id}),Te={nodes:re,edges:m.filter(function(oe){return me.includes(oe.source)&&me.includes(oe.target)})},ee=1/0;re.forEach(function(oe){var he;oe.size||(oe.size=((he=E[oe.id])===null||he===void 0?void 0:he.size)||(s==null?void 0:s(oe))||[30,30]),(0,b.isNumber)(oe.size)&&(oe.size=[oe.size,oe.size]),ee>oe.size[0]&&(ee=oe.size[0]),ee>oe.size[1]&&(ee=oe.size[1])}),j.layout(Te);var xe=(0,b.getLayoutBBox)(re),Ie=xe.minX,Le=xe.minY,De=xe.maxX,ce=xe.maxY,ye={x:(De+Ie)/2,y:(ce+Le)/2};Te.nodes.forEach(function(oe){oe.x-=ye.x,oe.y-=ye.y});var Oe=Math.max(De-Ie,ce-Le,ee)+2*q;E[A.id]={id:A.id,nodes:re,size:[Oe,Oe]}}else if(A.itemType===\"combo\"){var Ce=q?[2*q,2*q]:[30,30];E[A.id]={id:A.id,nodes:[],size:Ce}}return!0})}),E},f.prototype.initVals=function(){var h,l,s=this.nodeSize,m=this.spacing;if(l=(0,b.isNumber)(m)?function(){return m}:(0,b.isFunction)(m)?m:function(){return 0},this.spacing=l,s)if((0,b.isFunction)(s))h=function(L){var A=s(L),J=l(L);return(0,b.isArray)(L.size)?((L.size[0]>L.size[1]?L.size[0]:L.size[1])+J)/2:((A||10)+J)/2};else if((0,b.isArray)(s)){var x=(s[0]>s[1]?s[0]:s[1])/2;h=function(L){return x+l(L)/2}}else{var M=s/2;h=function(L){return M+l(L)/2}}else h=function(L){var A=l(L);return L.size?(0,b.isArray)(L.size)?((L.size[0]>L.size[1]?L.size[0]:L.size[1])+A)/2:(0,b.isObject)(L.size)?((L.size.width>L.size.height?L.size.width:L.size.height)+A)/2:(L.size+A)/2:10+A/2};this.nodeSize=h;var E,j=this.comboPadding;E=(0,b.isNumber)(j)?function(){return j}:(0,b.isArray)(j)?function(){return Math.max.apply(null,j)}:(0,b.isFunction)(j)?j:function(){return 0},this.comboPadding=E},f.prototype.getType=function(){return\"comboCombined\"},f}(O.Base);c.ComboCombinedLayout=u},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(f,h){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,s){l.__proto__=s}||function(l,s){for(var m in s)Object.prototype.hasOwnProperty.call(s,m)&&(l[m]=s[m])})(f,h)},function(f,h){if(typeof h!=\"function\"&&h!==null)throw new TypeError(\"Class extends value \"+String(h)+\" is not a constructor or null\");function l(){this.constructor=f}y(f,h),f.prototype=h===null?Object.create(h):(l.prototype=h.prototype,new l)}),C=this&&this.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(c,\"__esModule\",{value:!0}),c.ForceAtlas2Layout=void 0;var w=r(18),O=r(15),b=C(r(201)),p=C(r(202)),u=C(r(203)),a=function(f){function h(l){var s=f.call(this)||this;return s.center=[0,0],s.width=300,s.height=300,s.nodes=[],s.edges=[],s.kr=5,s.kg=1,s.mode=\"normal\",s.preventOverlap=!1,s.dissuadeHubs=!1,s.barnesHut=void 0,s.maxIteration=0,s.ks=.1,s.ksmax=10,s.tao=.1,s.onLayoutEnd=function(){},s.prune=void 0,s.updateCfg(l),s}return N(h,f),h.prototype.getDefaultCfg=function(){return{}},h.prototype.execute=function(){var l=this.nodes,s=this.onLayoutEnd,m=this.prune,x=this.maxIteration;this.width||typeof window==\"undefined\"||(this.width=window.innerWidth),this.height||typeof window==\"undefined\"||(this.height=window.innerHeight);for(var M=[],E=l.length,j=0;j<E;j+=1){var L=l[j],A=10,J=10;(0,O.isNumber)(L.size)&&(A=L.size,J=L.size),(0,O.isArray)(L.size)?(isNaN(L.size[0])||(A=L.size[0]),isNaN(L.size[1])||(J=L.size[1])):(0,O.isObject)(L.size)&&(A=L.size.width,J=L.size.height),this.getWidth&&!isNaN(this.getWidth(L))&&(J=this.getWidth(L)),this.getHeight&&!isNaN(this.getHeight(L))&&(A=this.getHeight(L));var q=Math.max(A,J);M.push(q)}this.barnesHut===void 0&&E>250&&(this.barnesHut=!0),this.prune===void 0&&E>100&&(this.prune=!0),this.maxIteration!==0||this.prune?this.maxIteration===0&&m&&(x=100,E<=200&&E>100?x=500:E>200&&(x=950),this.maxIteration=x):(x=250,E<=200&&E>100?x=1e3:E>200&&(x=1200),this.maxIteration=x),this.kr||(this.kr=50,E>100&&E<=500?this.kr=20:E>500&&(this.kr=1)),this.kg||(this.kg=20,E>100&&E<=500?this.kg=10:E>500&&(this.kg=1)),this.nodes=this.updateNodesByForces(M),s()},h.prototype.updateNodesByForces=function(l){for(var s=this.edges,m=this.maxIteration,x=this.nodes,M=s.filter(function(ye){return(0,O.getEdgeTerminal)(ye,\"source\")!==(0,O.getEdgeTerminal)(ye,\"target\")}),E=x.length,j=M.length,L=[],A={},J={},q=[],re=0;re<E;re+=1)A[x[re].id]=re,L[re]=0,(x[re].x===void 0||isNaN(x[re].x))&&(x[re].x=1e3*Math.random()),(x[re].y===void 0||isNaN(x[re].y))&&(x[re].y=1e3*Math.random()),q.push({x:x[re].x,y:x[re].y});for(re=0;re<j;re+=1){for(var me=void 0,Te=void 0,ee=0,xe=0,Ie=0;Ie<E;Ie+=1){var Le=(0,O.getEdgeTerminal)(M[re],\"source\"),De=(0,O.getEdgeTerminal)(M[re],\"target\");x[Ie].id===Le?(me=x[Ie],ee=Ie):x[Ie].id===De&&(Te=x[Ie],xe=Ie),J[re]={sourceIdx:ee,targetIdx:xe}}me&&(L[A[me.id]]+=1),Te&&(L[A[Te.id]]+=1)}var ce=m;if(x=this.iterate(ce,A,J,j,L,l),this.prune){for(Ie=0;Ie<j;Ie+=1)L[J[Ie].sourceIdx]<=1?(x[J[Ie].sourceIdx].x=x[J[Ie].targetIdx].x,x[J[Ie].sourceIdx].y=x[J[Ie].targetIdx].y):L[J[Ie].targetIdx]<=1&&(x[J[Ie].targetIdx].x=x[J[Ie].sourceIdx].x,x[J[Ie].targetIdx].y=x[J[Ie].sourceIdx].y);this.prune=!1,this.barnesHut=!1,ce=100,x=this.iterate(ce,A,J,j,L,l)}return x},h.prototype.iterate=function(l,s,m,x,M,E){for(var j=this.nodes,L=this.kr,A=this.preventOverlap,J=this.barnesHut,q=j.length,re=0,me=l,Te=[],ee=[],xe=[],Ie=0;Ie<q;Ie+=1)if(Te[2*Ie]=0,Te[2*Ie+1]=0,J){var Le={id:Ie,rx:j[Ie].x,ry:j[Ie].y,mass:1,g:L,degree:M[Ie]};xe[Ie]=new b.default(Le)}for(;me>0;){for(Ie=0;Ie<q;Ie+=1)ee[2*Ie]=Te[2*Ie],ee[2*Ie+1]=Te[2*Ie+1],Te[2*Ie]=0,Te[2*Ie+1]=0;Te=this.getAttrForces(me,50,x,s,m,M,E,Te),Te=J&&(A&&me>50||!A)?this.getOptRepGraForces(Te,xe,M):this.getRepGraForces(me,50,Te,100,E,M);var De=this.updatePos(Te,ee,re,M);j=De.nodes,re=De.sg,me--,this.tick&&this.tick()}return j},h.prototype.getAttrForces=function(l,s,m,x,M,E,j,L){for(var A=this.nodes,J=this.preventOverlap,q=this.dissuadeHubs,re=this.mode,me=this.prune,Te=0;Te<m;Te+=1){var ee=A[M[Te].sourceIdx],xe=M[Te].sourceIdx,Ie=A[M[Te].targetIdx],Le=M[Te].targetIdx;if(!me||!(E[xe]<=1||E[Le]<=1)){var De=[Ie.x-ee.x,Ie.y-ee.y],ce=Math.hypot(De[0],De[1]);ce=ce<1e-4?1e-4:ce,De[0]=De[0]/ce,De[1]=De[1]/ce,J&&l<s&&(ce=ce-j[xe]-j[Le]);var ye=ce,Oe=ye;re===\"linlog\"&&(Oe=ye=Math.log(1+ce)),q&&(ye=ce/E[xe],Oe=ce/E[Le]),J&&l<s&&ce<=0?(ye=0,Oe=0):J&&l<s&&ce>0&&(ye=ce,Oe=ce),L[2*x[ee.id]]+=ye*De[0],L[2*x[Ie.id]]-=Oe*De[0],L[2*x[ee.id]+1]+=ye*De[1],L[2*x[Ie.id]+1]-=Oe*De[1]}}return L},h.prototype.getRepGraForces=function(l,s,m,x,M,E){for(var j=this.nodes,L=this.preventOverlap,A=this.kr,J=this.kg,q=this.center,re=this.prune,me=j.length,Te=0;Te<me;Te+=1){for(var ee=Te+1;ee<me;ee+=1)if(!re||!(E[Te]<=1||E[ee]<=1)){var xe=[j[ee].x-j[Te].x,j[ee].y-j[Te].y],Ie=Math.hypot(xe[0],xe[1]);Ie=Ie<1e-4?1e-4:Ie,xe[0]=xe[0]/Ie,xe[1]=xe[1]/Ie,L&&l<s&&(Ie=Ie-M[Te]-M[ee]);var Le=A*(E[Te]+1)*(E[ee]+1)/Ie;L&&l<s&&Ie<0?Le=x*(E[Te]+1)*(E[ee]+1):L&&l<s&&Ie===0?Le=0:L&&l<s&&Ie>0&&(Le=A*(E[Te]+1)*(E[ee]+1)/Ie),m[2*Te]-=Le*xe[0],m[2*ee]+=Le*xe[0],m[2*Te+1]-=Le*xe[1],m[2*ee+1]+=Le*xe[1]}var De=[j[Te].x-q[0],j[Te].y-q[1]],ce=Math.hypot(De[0],De[1]);De[0]=De[0]/ce,De[1]=De[1]/ce;var ye=J*(E[Te]+1);m[2*Te]-=ye*De[0],m[2*Te+1]-=ye*De[1]}return m},h.prototype.getOptRepGraForces=function(l,s,m){for(var x=this.nodes,M=this.kg,E=this.center,j=this.prune,L=x.length,A=9e10,J=-9e10,q=9e10,re=-9e10,me=0;me<L;me+=1)j&&m[me]<=1||(s[me].setPos(x[me].x,x[me].y),x[me].x>=J&&(J=x[me].x),x[me].x<=A&&(A=x[me].x),x[me].y>=re&&(re=x[me].y),x[me].y<=q&&(q=x[me].y));var Te={xmid:(J+A)/2,ymid:(re+q)/2,length:Math.max(J-A,re-q),massCenter:E,mass:L},ee=new p.default(Te),xe=new u.default(ee);for(me=0;me<L;me+=1)j&&m[me]<=1||s[me].in(ee)&&xe.insert(s[me]);for(me=0;me<L;me+=1)if(!(j&&m[me]<=1)){s[me].resetForce(),xe.updateForce(s[me]),l[2*me]-=s[me].fx,l[2*me+1]-=s[me].fy;var Ie=[x[me].x-E[0],x[me].y-E[1]],Le=Math.hypot(Ie[0],Ie[1]);Le=Le<1e-4?1e-4:Le,Ie[0]=Ie[0]/Le,Ie[1]=Ie[1]/Le;var De=M*(m[me]+1);l[2*me]-=De*Ie[0],l[2*me+1]-=De*Ie[1]}return l},h.prototype.updatePos=function(l,s,m,x){for(var M=this.nodes,E=this.ks,j=this.tao,L=this.prune,A=this.ksmax,J=M.length,q=[],re=[],me=0,Te=0,ee=0;ee<J;ee+=1)if(!(L&&x[ee]<=1)){var xe=[l[2*ee]-s[2*ee],l[2*ee+1]-s[2*ee+1]],Ie=Math.hypot(xe[0],xe[1]),Le=[l[2*ee]+s[2*ee],l[2*ee+1]+s[2*ee+1]],De=Math.hypot(Le[0],Le[1]);q[ee]=Ie,re[ee]=De/2,me+=(x[ee]+1)*q[ee],Te+=(x[ee]+1)*re[ee]}var ce=m;for(m=j*Te/me,ce!==0&&(m=m>1.5*ce?1.5*ce:m),ee=0;ee<J;ee+=1)if(!(L&&x[ee]<=1||(0,O.isNumber)(M[ee].fx)&&(0,O.isNumber)(M[ee].fy))){var ye=E*m/(1+m*Math.sqrt(q[ee])),Oe=Math.hypot(l[2*ee],l[2*ee+1]),Ce=A/(Oe=Oe<1e-4?1e-4:Oe),oe=(ye=ye>Ce?Ce:ye)*l[2*ee],he=ye*l[2*ee+1];M[ee].x+=oe,M[ee].y+=he}return{nodes:M,sg:m}},h}(w.Base);c.ForceAtlas2Layout=a},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(p,u){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,f){a.__proto__=f}||function(a,f){for(var h in f)Object.prototype.hasOwnProperty.call(f,h)&&(a[h]=f[h])})(p,u)},function(p,u){if(typeof u!=\"function\"&&u!==null)throw new TypeError(\"Class extends value \"+String(u)+\" is not a constructor or null\");function a(){this.constructor=p}y(p,u),p.prototype=u===null?Object.create(u):(a.prototype=u.prototype,new a)}),C=this&&this.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(c,\"__esModule\",{value:!0}),c.ERLayout=void 0;var w=r(18),O=C(r(204)),b=function(p){function u(a){var f=p.call(this)||this;return f.width=300,f.height=300,f.nodeMinGap=50,f.onLayoutEnd=function(){},a&&f.updateCfg(a),f}return N(u,p),u.prototype.getDefaultCfg=function(){return{width:300,height:300,nodeMinGap:50}},u.prototype.execute=function(){var a=this,f=a.nodes,h=a.edges;return f==null||f.forEach(function(l){l.size||(l.size=[50,50])}),(0,O.default)({nodes:f,edges:h},{width:this.width,height:this.height,nodeMinGap:this.nodeMinGap}).then(function(){a.onLayoutEnd&&a.onLayoutEnd()})},u.prototype.getType=function(){return\"er\"},u}(w.Base);c.ERLayout=b},function(Ee,c,r){\"use strict\";r.r(c),r.d(c,\"AbstractMatrix\",function(){return fe}),r.d(c,\"default\",function(){return we}),r.d(c,\"Matrix\",function(){return we}),r.d(c,\"MatrixColumnView\",function(){return an}),r.d(c,\"MatrixColumnSelectionView\",function(){return en}),r.d(c,\"MatrixFlipColumnView\",function(){return Wr}),r.d(c,\"MatrixFlipRowView\",function(){return bt}),r.d(c,\"MatrixRowView\",function(){return Rn}),r.d(c,\"MatrixRowSelectionView\",function(){return Mr}),r.d(c,\"MatrixSelectionView\",function(){return wi}),r.d(c,\"MatrixSubView\",function(){return ar}),r.d(c,\"MatrixTransposeView\",function(){return ti}),r.d(c,\"wrap\",function(){return Yn}),r.d(c,\"WrapperMatrix1D\",function(){return br}),r.d(c,\"WrapperMatrix2D\",function(){return Cn}),r.d(c,\"solve\",function(){return _o}),r.d(c,\"inverse\",function(){return Jr}),r.d(c,\"determinant\",function(){return No}),r.d(c,\"linearDependencies\",function(){return ai}),r.d(c,\"pseudoInverse\",function(){return Si}),r.d(c,\"covariance\",function(){return ln}),r.d(c,\"correlation\",function(){return fr}),r.d(c,\"SingularValueDecomposition\",function(){return Ir}),r.d(c,\"SVD\",function(){return Ir}),r.d(c,\"EigenvalueDecomposition\",function(){return An}),r.d(c,\"EVD\",function(){return An}),r.d(c,\"CholeskyDecomposition\",function(){return Xr}),r.d(c,\"CHO\",function(){return Xr}),r.d(c,\"LuDecomposition\",function(){return Mt}),r.d(c,\"LU\",function(){return Mt}),r.d(c,\"QrDecomposition\",function(){return lr}),r.d(c,\"QR\",function(){return lr}),r.d(c,\"Nipals\",function(){return jn}),r.d(c,\"NIPALS\",function(){return jn});var y=Object.prototype.toString;function N(W){return y.call(W).endsWith(\"Array]\")}function C(W){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!N(W))throw new TypeError(\"input must be an array\");if(W.length===0)throw new TypeError(\"input must not be empty\");var k=P.fromIndex,z=k===void 0?0:k,Q=P.toIndex,F=Q===void 0?W.length:Q;if(z<0||z>=W.length||!Number.isInteger(z))throw new Error(\"fromIndex must be a positive integer smaller than length\");if(F<=z||F>W.length||!Number.isInteger(F))throw new Error(\"toIndex must be an integer greater than fromIndex and at most equal to length\");for(var V=W[z],U=z+1;U<F;U++)W[U]>V&&(V=W[U]);return V}function w(W){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!N(W))throw new TypeError(\"input must be an array\");if(W.length===0)throw new TypeError(\"input must not be empty\");var k=P.fromIndex,z=k===void 0?0:k,Q=P.toIndex,F=Q===void 0?W.length:Q;if(z<0||z>=W.length||!Number.isInteger(z))throw new Error(\"fromIndex must be a positive integer smaller than length\");if(F<=z||F>W.length||!Number.isInteger(F))throw new Error(\"toIndex must be an integer greater than fromIndex and at most equal to length\");for(var V=W[z],U=z+1;U<F;U++)W[U]<V&&(V=W[U]);return V}function O(W){var P,k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!N(W))throw new TypeError(\"input must be an array\");if(W.length===0)throw new TypeError(\"input must not be empty\");if(k.output!==void 0){if(!N(k.output))throw new TypeError(\"output option must be an array if specified\");P=k.output}else P=new Array(W.length);var z=w(W),Q=C(W);if(z===Q)throw new RangeError(\"minimum and maximum input values are equal. Cannot rescale a constant array\");var F=k.min,V=F===void 0?k.autoMinMax?z:0:F,U=k.max,ge=U===void 0?k.autoMinMax?Q:1:U;if(V>=ge)throw new RangeError(\"min option must be smaller than max option\");for(var ke=(ge-V)/(Q-z),St=0;St<W.length;St++)P[St]=(W[St]-z)*ke+V;return P}var b=\" \".repeat(2),p=\" \".repeat(4);function u(W){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},k=P.maxRows,z=k===void 0?15:k,Q=P.maxColumns,F=Q===void 0?10:Q,V=P.maxNumSize,U=V===void 0?8:V,ge=P.padMinus,ke=ge===void 0?\"auto\":ge;return\"\".concat(W.constructor.name,` {\n`).concat(b,`[\n`).concat(p).concat(a(W,z,F,U,ke),`\n`).concat(b,`]\n`).concat(b,\"rows: \").concat(W.rows,`\n`).concat(b,\"columns: \").concat(W.columns,`\n}`)}function a(W,P,k,z,Q){var F=W.rows,V=W.columns,U=Math.min(F,P),ge=Math.min(V,k),ke=[];if(Q===\"auto\"){Q=!1;e:for(var St=0;St<U;St++)for(var Je=0;Je<ge;Je++)if(W.get(St,Je)<0){Q=!0;break e}}for(var Ot=0;Ot<U;Ot++){for(var It=[],jt=0;jt<ge;jt++)It.push(f(W.get(Ot,jt),z,Q));ke.push(\"\".concat(It.join(\" \")))}return ge!==V&&(ke[ke.length-1]+=\" ... \".concat(V-k,\" more columns\")),U!==F&&ke.push(\"... \".concat(F-P,\" more rows\")),ke.join(`\n`.concat(p))}function f(W,P,k){return(W>=0&&k?\" \".concat(h(W,P-1)):h(W,P)).padEnd(P)}function h(W,P){var k=W.toString();if(k.length<=P)return k;var z=W.toFixed(P);if(z.length>P&&(z=W.toFixed(Math.max(0,P-(z.length-P)))),z.length<=P&&!z.startsWith(\"0.000\")&&!z.startsWith(\"-0.000\"))return z;var Q=W.toExponential(P);return Q.length>P&&(Q=W.toExponential(Math.max(0,P-(Q.length-P)))),Q.slice(0)}function l(W,P,k){var z=k?W.rows:W.rows-1;if(P<0||P>z)throw new RangeError(\"Row index out of range\")}function s(W,P,k){var z=k?W.columns:W.columns-1;if(P<0||P>z)throw new RangeError(\"Column index out of range\")}function m(W,P){if(P.to1DArray&&(P=P.to1DArray()),P.length!==W.columns)throw new RangeError(\"vector size must be the same as the number of columns\");return P}function x(W,P){if(P.to1DArray&&(P=P.to1DArray()),P.length!==W.rows)throw new RangeError(\"vector size must be the same as the number of rows\");return P}function M(W,P){if(!N(P))throw new TypeError(\"row indices must be an array\");for(var k=0;k<P.length;k++)if(P[k]<0||P[k]>=W.rows)throw new RangeError(\"row indices are out of range\")}function E(W,P){if(!N(P))throw new TypeError(\"column indices must be an array\");for(var k=0;k<P.length;k++)if(P[k]<0||P[k]>=W.columns)throw new RangeError(\"column indices are out of range\")}function j(W,P,k,z,Q){if(arguments.length!==5)throw new RangeError(\"expected 4 arguments\");if(A(\"startRow\",P),A(\"endRow\",k),A(\"startColumn\",z),A(\"endColumn\",Q),P>k||z>Q||P<0||P>=W.rows||k<0||k>=W.rows||z<0||z>=W.columns||Q<0||Q>=W.columns)throw new RangeError(\"Submatrix indices are out of range\")}function L(W){for(var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,k=[],z=0;z<W;z++)k.push(P);return k}function A(W,P){if(typeof P!=\"number\")throw new TypeError(\"\".concat(W,\" must be a number\"))}function J(W){if(W.isEmpty())throw new Error(\"Empty matrix has no elements to index\")}function q(W,P,k){for(var z=W.rows,Q=W.columns,F=[],V=0;V<z;V++){for(var U=0,ge=0,ke=0,St=0;St<Q;St++)U+=ke=W.get(V,St)-k[V],ge+=ke*ke;P?F.push((ge-U*U/Q)/(Q-1)):F.push((ge-U*U/Q)/Q)}return F}function re(W,P,k){for(var z=W.rows,Q=W.columns,F=[],V=0;V<Q;V++){for(var U=0,ge=0,ke=0,St=0;St<z;St++)U+=ke=W.get(St,V)-k[V],ge+=ke*ke;P?F.push((ge-U*U/z)/(z-1)):F.push((ge-U*U/z)/z)}return F}function me(W,P,k){for(var z=W.rows,Q=W.columns,F=z*Q,V=0,U=0,ge=0,ke=0;ke<z;ke++)for(var St=0;St<Q;St++)V+=ge=W.get(ke,St)-k,U+=ge*ge;return P?(U-V*V/F)/(F-1):(U-V*V/F)/F}function Te(W,P){for(var k=0;k<W.rows;k++)for(var z=0;z<W.columns;z++)W.set(k,z,W.get(k,z)-P[k])}function ee(W,P){for(var k=0;k<W.rows;k++)for(var z=0;z<W.columns;z++)W.set(k,z,W.get(k,z)-P[z])}function xe(W,P){for(var k=0;k<W.rows;k++)for(var z=0;z<W.columns;z++)W.set(k,z,W.get(k,z)-P)}function Ie(W){for(var P=[],k=0;k<W.rows;k++){for(var z=0,Q=0;Q<W.columns;Q++)z+=Math.pow(W.get(k,Q),2)/(W.columns-1);P.push(Math.sqrt(z))}return P}function Le(W,P){for(var k=0;k<W.rows;k++)for(var z=0;z<W.columns;z++)W.set(k,z,W.get(k,z)/P[k])}function De(W){for(var P=[],k=0;k<W.columns;k++){for(var z=0,Q=0;Q<W.rows;Q++)z+=Math.pow(W.get(Q,k),2)/(W.rows-1);P.push(Math.sqrt(z))}return P}function ce(W,P){for(var k=0;k<W.rows;k++)for(var z=0;z<W.columns;z++)W.set(k,z,W.get(k,z)/P[z])}function ye(W){for(var P=W.size-1,k=0,z=0;z<W.columns;z++)for(var Q=0;Q<W.rows;Q++)k+=Math.pow(W.get(Q,z),2)/P;return Math.sqrt(k)}function Oe(W,P){for(var k=0;k<W.rows;k++)for(var z=0;z<W.columns;z++)W.set(k,z,W.get(k,z)/P)}function Ce(W,P){return(Ce=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,z){return k.__proto__=z,k})(W,P)}function oe(W){var P=function(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(k){return!1}}();return function(){var k,z=ie(W);if(P){var Q=ie(this).constructor;k=Reflect.construct(z,arguments,Q)}else k=z.apply(this,arguments);return he(this,k)}}function he(W,P){if(P&&(ae(P)===\"object\"||typeof P==\"function\"))return P;if(P!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(k){if(k===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return k}(W)}function ie(W){return(ie=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(P){return P.__proto__||Object.getPrototypeOf(P)})(W)}function ae(W){return(ae=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function ve(W,P){if(!(W instanceof P))throw new TypeError(\"Cannot call a class as a function\")}function X(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(ae(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(ae(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),ae(F)===\"symbol\"?F:String(F)),z)}var Q,F}function se(W,P,k){return P&&X(W.prototype,P),k&&X(W,k),Object.defineProperty(W,\"prototype\",{writable:!1}),W}var fe=function(){function W(){ve(this,W)}return se(W,[{key:\"size\",get:function(){return this.rows*this.columns}},{key:\"apply\",value:function(P){if(typeof P!=\"function\")throw new TypeError(\"callback must be a function\");for(var k=0;k<this.rows;k++)for(var z=0;z<this.columns;z++)P.call(this,k,z);return this}},{key:\"to1DArray\",value:function(){for(var P=[],k=0;k<this.rows;k++)for(var z=0;z<this.columns;z++)P.push(this.get(k,z));return P}},{key:\"to2DArray\",value:function(){for(var P=[],k=0;k<this.rows;k++){P.push([]);for(var z=0;z<this.columns;z++)P[k].push(this.get(k,z))}return P}},{key:\"toJSON\",value:function(){return this.to2DArray()}},{key:\"isRowVector\",value:function(){return this.rows===1}},{key:\"isColumnVector\",value:function(){return this.columns===1}},{key:\"isVector\",value:function(){return this.rows===1||this.columns===1}},{key:\"isSquare\",value:function(){return this.rows===this.columns}},{key:\"isEmpty\",value:function(){return this.rows===0||this.columns===0}},{key:\"isSymmetric\",value:function(){if(this.isSquare()){for(var P=0;P<this.rows;P++)for(var k=0;k<=P;k++)if(this.get(P,k)!==this.get(k,P))return!1;return!0}return!1}},{key:\"isEchelonForm\",value:function(){for(var P=0,k=0,z=-1,Q=!0,F=!1;P<this.rows&&Q;){for(k=0,F=!1;k<this.columns&&F===!1;)this.get(P,k)===0?k++:this.get(P,k)===1&&k>z?(F=!0,z=k):(Q=!1,F=!0);P++}return Q}},{key:\"isReducedEchelonForm\",value:function(){for(var P=0,k=0,z=-1,Q=!0,F=!1;P<this.rows&&Q;){for(k=0,F=!1;k<this.columns&&F===!1;)this.get(P,k)===0?k++:this.get(P,k)===1&&k>z?(F=!0,z=k):(Q=!1,F=!0);for(var V=k+1;V<this.rows;V++)this.get(P,V)!==0&&(Q=!1);P++}return Q}},{key:\"echelonForm\",value:function(){for(var P=this.clone(),k=0,z=0;k<P.rows&&z<P.columns;){for(var Q=k,F=k;F<P.rows;F++)P.get(F,z)>P.get(Q,z)&&(Q=F);if(P.get(Q,z)===0)z++;else{P.swapRows(k,Q);for(var V=P.get(k,z),U=z;U<P.columns;U++)P.set(k,U,P.get(k,U)/V);for(var ge=k+1;ge<P.rows;ge++){var ke=P.get(ge,z)/P.get(k,z);P.set(ge,z,0);for(var St=z+1;St<P.columns;St++)P.set(ge,St,P.get(ge,St)-P.get(k,St)*ke)}k++,z++}}return P}},{key:\"reducedEchelonForm\",value:function(){for(var P=this.echelonForm(),k=P.columns,z=P.rows,Q=z-1;Q>=0;)if(P.maxRow(Q)===0)Q--;else{for(var F=0,V=!1;F<z&&V===!1;)P.get(Q,F)===1?V=!0:F++;for(var U=0;U<Q;U++)for(var ge=P.get(U,F),ke=F;ke<k;ke++){var St=P.get(U,ke)-ge*P.get(Q,ke);P.set(U,ke,St)}Q--}return P}},{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 P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(ae(P)!==\"object\")throw new TypeError(\"options must be an object\");var k=P.rows,z=k===void 0?1:k,Q=P.columns,F=Q===void 0?1:Q;if(!Number.isInteger(z)||z<=0)throw new TypeError(\"rows must be a positive integer\");if(!Number.isInteger(F)||F<=0)throw new TypeError(\"columns must be a positive integer\");for(var V=new we(this.rows*z,this.columns*F),U=0;U<z;U++)for(var ge=0;ge<F;ge++)V.setSubMatrix(this,this.rows*U,this.columns*ge);return V}},{key:\"fill\",value:function(P){for(var k=0;k<this.rows;k++)for(var z=0;z<this.columns;z++)this.set(k,z,P);return this}},{key:\"neg\",value:function(){return this.mulS(-1)}},{key:\"getRow\",value:function(P){l(this,P);for(var k=[],z=0;z<this.columns;z++)k.push(this.get(P,z));return k}},{key:\"getRowVector\",value:function(P){return we.rowVector(this.getRow(P))}},{key:\"setRow\",value:function(P,k){l(this,P),k=m(this,k);for(var z=0;z<this.columns;z++)this.set(P,z,k[z]);return this}},{key:\"swapRows\",value:function(P,k){l(this,P),l(this,k);for(var z=0;z<this.columns;z++){var Q=this.get(P,z);this.set(P,z,this.get(k,z)),this.set(k,z,Q)}return this}},{key:\"getColumn\",value:function(P){s(this,P);for(var k=[],z=0;z<this.rows;z++)k.push(this.get(z,P));return k}},{key:\"getColumnVector\",value:function(P){return we.columnVector(this.getColumn(P))}},{key:\"setColumn\",value:function(P,k){s(this,P),k=x(this,k);for(var z=0;z<this.rows;z++)this.set(z,P,k[z]);return this}},{key:\"swapColumns\",value:function(P,k){s(this,P),s(this,k);for(var z=0;z<this.rows;z++){var Q=this.get(z,P);this.set(z,P,this.get(z,k)),this.set(z,k,Q)}return this}},{key:\"addRowVector\",value:function(P){P=m(this,P);for(var k=0;k<this.rows;k++)for(var z=0;z<this.columns;z++)this.set(k,z,this.get(k,z)+P[z]);return this}},{key:\"subRowVector\",value:function(P){P=m(this,P);for(var k=0;k<this.rows;k++)for(var z=0;z<this.columns;z++)this.set(k,z,this.get(k,z)-P[z]);return this}},{key:\"mulRowVector\",value:function(P){P=m(this,P);for(var k=0;k<this.rows;k++)for(var z=0;z<this.columns;z++)this.set(k,z,this.get(k,z)*P[z]);return this}},{key:\"divRowVector\",value:function(P){P=m(this,P);for(var k=0;k<this.rows;k++)for(var z=0;z<this.columns;z++)this.set(k,z,this.get(k,z)/P[z]);return this}},{key:\"addColumnVector\",value:function(P){P=x(this,P);for(var k=0;k<this.rows;k++)for(var z=0;z<this.columns;z++)this.set(k,z,this.get(k,z)+P[k]);return this}},{key:\"subColumnVector\",value:function(P){P=x(this,P);for(var k=0;k<this.rows;k++)for(var z=0;z<this.columns;z++)this.set(k,z,this.get(k,z)-P[k]);return this}},{key:\"mulColumnVector\",value:function(P){P=x(this,P);for(var k=0;k<this.rows;k++)for(var z=0;z<this.columns;z++)this.set(k,z,this.get(k,z)*P[k]);return this}},{key:\"divColumnVector\",value:function(P){P=x(this,P);for(var k=0;k<this.rows;k++)for(var z=0;z<this.columns;z++)this.set(k,z,this.get(k,z)/P[k]);return this}},{key:\"mulRow\",value:function(P,k){l(this,P);for(var z=0;z<this.columns;z++)this.set(P,z,this.get(P,z)*k);return this}},{key:\"mulColumn\",value:function(P,k){s(this,P);for(var z=0;z<this.rows;z++)this.set(z,P,this.get(z,P)*k);return this}},{key:\"max\",value:function(P){if(this.isEmpty())return NaN;switch(P){case\"row\":for(var k=new Array(this.rows).fill(Number.NEGATIVE_INFINITY),z=0;z<this.rows;z++)for(var Q=0;Q<this.columns;Q++)this.get(z,Q)>k[z]&&(k[z]=this.get(z,Q));return k;case\"column\":for(var F=new Array(this.columns).fill(Number.NEGATIVE_INFINITY),V=0;V<this.rows;V++)for(var U=0;U<this.columns;U++)this.get(V,U)>F[U]&&(F[U]=this.get(V,U));return F;case void 0:for(var ge=this.get(0,0),ke=0;ke<this.rows;ke++)for(var St=0;St<this.columns;St++)this.get(ke,St)>ge&&(ge=this.get(ke,St));return ge;default:throw new Error(\"invalid option: \".concat(P))}}},{key:\"maxIndex\",value:function(){J(this);for(var P=this.get(0,0),k=[0,0],z=0;z<this.rows;z++)for(var Q=0;Q<this.columns;Q++)this.get(z,Q)>P&&(P=this.get(z,Q),k[0]=z,k[1]=Q);return k}},{key:\"min\",value:function(P){if(this.isEmpty())return NaN;switch(P){case\"row\":for(var k=new Array(this.rows).fill(Number.POSITIVE_INFINITY),z=0;z<this.rows;z++)for(var Q=0;Q<this.columns;Q++)this.get(z,Q)<k[z]&&(k[z]=this.get(z,Q));return k;case\"column\":for(var F=new Array(this.columns).fill(Number.POSITIVE_INFINITY),V=0;V<this.rows;V++)for(var U=0;U<this.columns;U++)this.get(V,U)<F[U]&&(F[U]=this.get(V,U));return F;case void 0:for(var ge=this.get(0,0),ke=0;ke<this.rows;ke++)for(var St=0;St<this.columns;St++)this.get(ke,St)<ge&&(ge=this.get(ke,St));return ge;default:throw new Error(\"invalid option: \".concat(P))}}},{key:\"minIndex\",value:function(){J(this);for(var P=this.get(0,0),k=[0,0],z=0;z<this.rows;z++)for(var Q=0;Q<this.columns;Q++)this.get(z,Q)<P&&(P=this.get(z,Q),k[0]=z,k[1]=Q);return k}},{key:\"maxRow\",value:function(P){if(l(this,P),this.isEmpty())return NaN;for(var k=this.get(P,0),z=1;z<this.columns;z++)this.get(P,z)>k&&(k=this.get(P,z));return k}},{key:\"maxRowIndex\",value:function(P){l(this,P),J(this);for(var k=this.get(P,0),z=[P,0],Q=1;Q<this.columns;Q++)this.get(P,Q)>k&&(k=this.get(P,Q),z[1]=Q);return z}},{key:\"minRow\",value:function(P){if(l(this,P),this.isEmpty())return NaN;for(var k=this.get(P,0),z=1;z<this.columns;z++)this.get(P,z)<k&&(k=this.get(P,z));return k}},{key:\"minRowIndex\",value:function(P){l(this,P),J(this);for(var k=this.get(P,0),z=[P,0],Q=1;Q<this.columns;Q++)this.get(P,Q)<k&&(k=this.get(P,Q),z[1]=Q);return z}},{key:\"maxColumn\",value:function(P){if(s(this,P),this.isEmpty())return NaN;for(var k=this.get(0,P),z=1;z<this.rows;z++)this.get(z,P)>k&&(k=this.get(z,P));return k}},{key:\"maxColumnIndex\",value:function(P){s(this,P),J(this);for(var k=this.get(0,P),z=[0,P],Q=1;Q<this.rows;Q++)this.get(Q,P)>k&&(k=this.get(Q,P),z[0]=Q);return z}},{key:\"minColumn\",value:function(P){if(s(this,P),this.isEmpty())return NaN;for(var k=this.get(0,P),z=1;z<this.rows;z++)this.get(z,P)<k&&(k=this.get(z,P));return k}},{key:\"minColumnIndex\",value:function(P){s(this,P),J(this);for(var k=this.get(0,P),z=[0,P],Q=1;Q<this.rows;Q++)this.get(Q,P)<k&&(k=this.get(Q,P),z[0]=Q);return z}},{key:\"diag\",value:function(){for(var P=Math.min(this.rows,this.columns),k=[],z=0;z<P;z++)k.push(this.get(z,z));return k}},{key:\"norm\",value:function(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:\"frobenius\",k=0;if(P===\"max\")return this.max();if(P===\"frobenius\"){for(var z=0;z<this.rows;z++)for(var Q=0;Q<this.columns;Q++)k+=this.get(z,Q)*this.get(z,Q);return Math.sqrt(k)}throw new RangeError(\"unknown norm type: \".concat(P))}},{key:\"cumulativeSum\",value:function(){for(var P=0,k=0;k<this.rows;k++)for(var z=0;z<this.columns;z++)P+=this.get(k,z),this.set(k,z,P);return this}},{key:\"dot\",value:function(P){W.isMatrix(P)&&(P=P.to1DArray());var k=this.to1DArray();if(k.length!==P.length)throw new RangeError(\"vectors do not have the same size\");for(var z=0,Q=0;Q<k.length;Q++)z+=k[Q]*P[Q];return z}},{key:\"mmul\",value:function(P){P=we.checkMatrix(P);for(var k=this.rows,z=this.columns,Q=P.columns,F=new we(k,Q),V=new Float64Array(z),U=0;U<Q;U++){for(var ge=0;ge<z;ge++)V[ge]=P.get(ge,U);for(var ke=0;ke<k;ke++){for(var St=0,Je=0;Je<z;Je++)St+=this.get(ke,Je)*V[Je];F.set(ke,U,St)}}return F}},{key:\"strassen2x2\",value:function(P){P=we.checkMatrix(P);var k=new we(2,2),z=this.get(0,0),Q=P.get(0,0),F=this.get(0,1),V=P.get(0,1),U=this.get(1,0),ge=P.get(1,0),ke=this.get(1,1),St=P.get(1,1),Je=(z+ke)*(Q+St),Ot=(U+ke)*Q,It=z*(V-St),jt=ke*(ge-Q),Vt=(z+F)*St,Pn=Je+jt-Vt+(F-ke)*(ge+St),Jn=It+Vt,vn=Ot+jt,Vn=Je-Ot+It+(U-z)*(Q+V);return k.set(0,0,Pn),k.set(0,1,Jn),k.set(1,0,vn),k.set(1,1,Vn),k}},{key:\"strassen3x3\",value:function(P){P=we.checkMatrix(P);var k=new we(3,3),z=this.get(0,0),Q=this.get(0,1),F=this.get(0,2),V=this.get(1,0),U=this.get(1,1),ge=this.get(1,2),ke=this.get(2,0),St=this.get(2,1),Je=this.get(2,2),Ot=P.get(0,0),It=P.get(0,1),jt=P.get(0,2),Vt=P.get(1,0),Pn=P.get(1,1),Jn=P.get(1,2),vn=P.get(2,0),Vn=P.get(2,1),zt=P.get(2,2),ir=(z-V)*(-It+Pn),nr=(-z+V+U)*(Ot-It+Pn),ur=(V+U)*(-Ot+It),sr=z*Ot,Ln=(-z+ke+St)*(Ot-jt+Jn),Bt=(-z+ke)*(jt-Jn),En=(ke+St)*(-Ot+jt),_n=(-F+St+Je)*(Pn+vn-Vn),cr=(F-Je)*(Pn-Vn),ao=F*vn,kr=(St+Je)*(-vn+Vn),jo=(-F+U+ge)*(Jn+vn-zt),ui=(F-ge)*(Jn-zt),Vr=(U+ge)*(-vn+zt),ho=sr+ao+Q*Vt,vo=(z+Q+F-V-U-St-Je)*Pn+nr+ur+sr+_n+ao+kr,uo=sr+Ln+En+(z+Q+F-U-ge-ke-St)*Jn+ao+jo+Vr,Go=ir+U*(-Ot+It+Vt-Pn-Jn-vn+zt)+nr+sr+ao+jo+ui,Pi=ir+nr+ur+sr+ge*Vn,la=ao+jo+ui+Vr+V*jt,Vi=sr+Ln+Bt+St*(-Ot+jt+Vt-Pn-Jn-vn+Vn)+_n+cr+ao,ha=_n+cr+ao+kr+ke*It,xa=sr+Ln+Bt+En+Je*zt;return k.set(0,0,ho),k.set(0,1,vo),k.set(0,2,uo),k.set(1,0,Go),k.set(1,1,Pi),k.set(1,2,la),k.set(2,0,Vi),k.set(2,1,ha),k.set(2,2,xa),k}},{key:\"mmulStrassen\",value:function(P){P=we.checkMatrix(P);var k=this.clone(),z=k.rows,Q=k.columns,F=P.rows,V=P.columns;function U(St,Je,Ot){var It=St.rows,jt=St.columns;if(It===Je&&jt===Ot)return St;var Vt=W.zeros(Je,Ot);return Vt=Vt.setSubMatrix(St,0,0)}Q!==F&&console.warn(\"Multiplying \".concat(z,\" x \").concat(Q,\" and \").concat(F,\" x \").concat(V,\" matrix: dimensions do not match.\"));var ge=Math.max(z,F),ke=Math.max(Q,V);return function St(Je,Ot,It,jt){if(It<=512||jt<=512)return Je.mmul(Ot);It%2==1&&jt%2==1?(Je=U(Je,It+1,jt+1),Ot=U(Ot,It+1,jt+1)):It%2==1?(Je=U(Je,It+1,jt),Ot=U(Ot,It+1,jt)):jt%2==1&&(Je=U(Je,It,jt+1),Ot=U(Ot,It,jt+1));var Vt=parseInt(Je.rows/2,10),Pn=parseInt(Je.columns/2,10),Jn=Je.subMatrix(0,Vt-1,0,Pn-1),vn=Ot.subMatrix(0,Vt-1,0,Pn-1),Vn=Je.subMatrix(0,Vt-1,Pn,Je.columns-1),zt=Ot.subMatrix(0,Vt-1,Pn,Ot.columns-1),ir=Je.subMatrix(Vt,Je.rows-1,0,Pn-1),nr=Ot.subMatrix(Vt,Ot.rows-1,0,Pn-1),ur=Je.subMatrix(Vt,Je.rows-1,Pn,Je.columns-1),sr=Ot.subMatrix(Vt,Ot.rows-1,Pn,Ot.columns-1),Ln=St(W.add(Jn,ur),W.add(vn,sr),Vt,Pn),Bt=St(W.add(ir,ur),vn,Vt,Pn),En=St(Jn,W.sub(zt,sr),Vt,Pn),_n=St(ur,W.sub(nr,vn),Vt,Pn),cr=St(W.add(Jn,Vn),sr,Vt,Pn),ao=St(W.sub(ir,Jn),W.add(vn,zt),Vt,Pn),kr=St(W.sub(Vn,ur),W.add(nr,sr),Vt,Pn),jo=W.add(Ln,_n);jo.sub(cr),jo.add(kr);var ui=W.add(En,cr),Vr=W.add(Bt,_n),ho=W.sub(Ln,Bt);ho.add(En),ho.add(ao);var vo=W.zeros(2*jo.rows,2*jo.columns);return(vo=(vo=(vo=(vo=vo.setSubMatrix(jo,0,0)).setSubMatrix(ui,jo.rows,0)).setSubMatrix(Vr,0,jo.columns)).setSubMatrix(ho,jo.rows,jo.columns)).subMatrix(0,It-1,0,jt-1)}(k=U(k,ge,ke),P=U(P,ge,ke),ge,ke)}},{key:\"scaleRows\",value:function(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(ae(P)!==\"object\")throw new TypeError(\"options must be an object\");var k=P.min,z=k===void 0?0:k,Q=P.max,F=Q===void 0?1:Q;if(!Number.isFinite(z))throw new TypeError(\"min must be a number\");if(!Number.isFinite(F))throw new TypeError(\"max must be a number\");if(z>=F)throw new RangeError(\"min must be smaller than max\");for(var V=new we(this.rows,this.columns),U=0;U<this.rows;U++){var ge=this.getRow(U);ge.length>0&&O(ge,{min:z,max:F,output:ge}),V.setRow(U,ge)}return V}},{key:\"scaleColumns\",value:function(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(ae(P)!==\"object\")throw new TypeError(\"options must be an object\");var k=P.min,z=k===void 0?0:k,Q=P.max,F=Q===void 0?1:Q;if(!Number.isFinite(z))throw new TypeError(\"min must be a number\");if(!Number.isFinite(F))throw new TypeError(\"max must be a number\");if(z>=F)throw new RangeError(\"min must be smaller than max\");for(var V=new we(this.rows,this.columns),U=0;U<this.columns;U++){var ge=this.getColumn(U);ge.length&&O(ge,{min:z,max:F,output:ge}),V.setColumn(U,ge)}return V}},{key:\"flipRows\",value:function(){for(var P=Math.ceil(this.columns/2),k=0;k<this.rows;k++)for(var z=0;z<P;z++){var Q=this.get(k,z),F=this.get(k,this.columns-1-z);this.set(k,z,F),this.set(k,this.columns-1-z,Q)}return this}},{key:\"flipColumns\",value:function(){for(var P=Math.ceil(this.rows/2),k=0;k<this.columns;k++)for(var z=0;z<P;z++){var Q=this.get(z,k),F=this.get(this.rows-1-z,k);this.set(z,k,F),this.set(this.rows-1-z,k,Q)}return this}},{key:\"kroneckerProduct\",value:function(P){P=we.checkMatrix(P);for(var k=this.rows,z=this.columns,Q=P.rows,F=P.columns,V=new we(k*Q,z*F),U=0;U<k;U++)for(var ge=0;ge<z;ge++)for(var ke=0;ke<Q;ke++)for(var St=0;St<F;St++)V.set(Q*U+ke,F*ge+St,this.get(U,ge)*P.get(ke,St));return V}},{key:\"kroneckerSum\",value:function(P){if(P=we.checkMatrix(P),!this.isSquare()||!P.isSquare())throw new Error(\"Kronecker Sum needs two Square Matrices\");var k=this.rows,z=P.rows,Q=this.kroneckerProduct(we.eye(z,z)),F=we.eye(k,k).kroneckerProduct(P);return Q.add(F)}},{key:\"transpose\",value:function(){for(var P=new we(this.columns,this.rows),k=0;k<this.rows;k++)for(var z=0;z<this.columns;z++)P.set(z,k,this.get(k,z));return P}},{key:\"sortRows\",value:function(){for(var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:_e,k=0;k<this.rows;k++)this.setRow(k,this.getRow(k).sort(P));return this}},{key:\"sortColumns\",value:function(){for(var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:_e,k=0;k<this.columns;k++)this.setColumn(k,this.getColumn(k).sort(P));return this}},{key:\"subMatrix\",value:function(P,k,z,Q){j(this,P,k,z,Q);for(var F=new we(k-P+1,Q-z+1),V=P;V<=k;V++)for(var U=z;U<=Q;U++)F.set(V-P,U-z,this.get(V,U));return F}},{key:\"subMatrixRow\",value:function(P,k,z){if(k===void 0&&(k=0),z===void 0&&(z=this.columns-1),k>z||k<0||k>=this.columns||z<0||z>=this.columns)throw new RangeError(\"Argument out of range\");for(var Q=new we(P.length,z-k+1),F=0;F<P.length;F++)for(var V=k;V<=z;V++){if(P[F]<0||P[F]>=this.rows)throw new RangeError(\"Row index out of range: \".concat(P[F]));Q.set(F,V-k,this.get(P[F],V))}return Q}},{key:\"subMatrixColumn\",value:function(P,k,z){if(k===void 0&&(k=0),z===void 0&&(z=this.rows-1),k>z||k<0||k>=this.rows||z<0||z>=this.rows)throw new RangeError(\"Argument out of range\");for(var Q=new we(z-k+1,P.length),F=0;F<P.length;F++)for(var V=k;V<=z;V++){if(P[F]<0||P[F]>=this.columns)throw new RangeError(\"Column index out of range: \".concat(P[F]));Q.set(V-k,F,this.get(V,P[F]))}return Q}},{key:\"setSubMatrix\",value:function(P,k,z){if((P=we.checkMatrix(P)).isEmpty())return this;j(this,k,k+P.rows-1,z,z+P.columns-1);for(var Q=0;Q<P.rows;Q++)for(var F=0;F<P.columns;F++)this.set(k+Q,z+F,P.get(Q,F));return this}},{key:\"selection\",value:function(P,k){M(this,P),E(this,k);for(var z=new we(P.length,k.length),Q=0;Q<P.length;Q++)for(var F=P[Q],V=0;V<k.length;V++){var U=k[V];z.set(Q,V,this.get(F,U))}return z}},{key:\"trace\",value:function(){for(var P=Math.min(this.rows,this.columns),k=0,z=0;z<P;z++)k+=this.get(z,z);return k}},{key:\"clone\",value:function(){for(var P=new we(this.rows,this.columns),k=0;k<this.rows;k++)for(var z=0;z<this.columns;z++)P.set(k,z,this.get(k,z));return P}},{key:\"sum\",value:function(P){switch(P){case\"row\":return function(k){for(var z=L(k.rows),Q=0;Q<k.rows;++Q)for(var F=0;F<k.columns;++F)z[Q]+=k.get(Q,F);return z}(this);case\"column\":return function(k){for(var z=L(k.columns),Q=0;Q<k.rows;++Q)for(var F=0;F<k.columns;++F)z[F]+=k.get(Q,F);return z}(this);case void 0:return function(k){for(var z=0,Q=0;Q<k.rows;Q++)for(var F=0;F<k.columns;F++)z+=k.get(Q,F);return z}(this);default:throw new Error(\"invalid option: \".concat(P))}}},{key:\"product\",value:function(P){switch(P){case\"row\":return function(k){for(var z=L(k.rows,1),Q=0;Q<k.rows;++Q)for(var F=0;F<k.columns;++F)z[Q]*=k.get(Q,F);return z}(this);case\"column\":return function(k){for(var z=L(k.columns,1),Q=0;Q<k.rows;++Q)for(var F=0;F<k.columns;++F)z[F]*=k.get(Q,F);return z}(this);case void 0:return function(k){for(var z=1,Q=0;Q<k.rows;Q++)for(var F=0;F<k.columns;F++)z*=k.get(Q,F);return z}(this);default:throw new Error(\"invalid option: \".concat(P))}}},{key:\"mean\",value:function(P){var k=this.sum(P);switch(P){case\"row\":for(var z=0;z<this.rows;z++)k[z]/=this.columns;return k;case\"column\":for(var Q=0;Q<this.columns;Q++)k[Q]/=this.rows;return k;case void 0:return k/this.size;default:throw new Error(\"invalid option: \".concat(P))}}},{key:\"variance\",value:function(P){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(ae(P)===\"object\"&&(k=P,P=void 0),ae(k)!==\"object\")throw new TypeError(\"options must be an object\");var z=k,Q=z.unbiased,F=Q===void 0||Q,V=z.mean,U=V===void 0?this.mean(P):V;if(typeof F!=\"boolean\")throw new TypeError(\"unbiased must be a boolean\");switch(P){case\"row\":if(!N(U))throw new TypeError(\"mean must be an array\");return q(this,F,U);case\"column\":if(!N(U))throw new TypeError(\"mean must be an array\");return re(this,F,U);case void 0:if(typeof U!=\"number\")throw new TypeError(\"mean must be a number\");return me(this,F,U);default:throw new Error(\"invalid option: \".concat(P))}}},{key:\"standardDeviation\",value:function(P,k){ae(P)===\"object\"&&(k=P,P=void 0);var z=this.variance(P,k);if(P===void 0)return Math.sqrt(z);for(var Q=0;Q<z.length;Q++)z[Q]=Math.sqrt(z[Q]);return z}},{key:\"center\",value:function(P){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(ae(P)===\"object\"&&(k=P,P=void 0),ae(k)!==\"object\")throw new TypeError(\"options must be an object\");var z=k,Q=z.center,F=Q===void 0?this.mean(P):Q;switch(P){case\"row\":if(!N(F))throw new TypeError(\"center must be an array\");return Te(this,F),this;case\"column\":if(!N(F))throw new TypeError(\"center must be an array\");return ee(this,F),this;case void 0:if(typeof F!=\"number\")throw new TypeError(\"center must be a number\");return xe(this,F),this;default:throw new Error(\"invalid option: \".concat(P))}}},{key:\"scale\",value:function(P){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(ae(P)===\"object\"&&(k=P,P=void 0),ae(k)!==\"object\")throw new TypeError(\"options must be an object\");var z=k.scale;switch(P){case\"row\":if(z===void 0)z=Ie(this);else if(!N(z))throw new TypeError(\"scale must be an array\");return Le(this,z),this;case\"column\":if(z===void 0)z=De(this);else if(!N(z))throw new TypeError(\"scale must be an array\");return ce(this,z),this;case void 0:if(z===void 0)z=ye(this);else if(typeof z!=\"number\")throw new TypeError(\"scale must be a number\");return Oe(this,z),this;default:throw new Error(\"invalid option: \".concat(P))}}},{key:\"toString\",value:function(P){return u(this,P)}}],[{key:\"from1DArray\",value:function(P,k,z){if(P*k!==z.length)throw new RangeError(\"data length does not match given dimensions\");for(var Q=new we(P,k),F=0;F<P;F++)for(var V=0;V<k;V++)Q.set(F,V,z[F*k+V]);return Q}},{key:\"rowVector\",value:function(P){for(var k=new we(1,P.length),z=0;z<P.length;z++)k.set(0,z,P[z]);return k}},{key:\"columnVector\",value:function(P){for(var k=new we(P.length,1),z=0;z<P.length;z++)k.set(z,0,P[z]);return k}},{key:\"zeros\",value:function(P,k){return new we(P,k)}},{key:\"ones\",value:function(P,k){return new we(P,k).fill(1)}},{key:\"rand\",value:function(P,k){var z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(ae(z)!==\"object\")throw new TypeError(\"options must be an object\");for(var Q=z.random,F=Q===void 0?Math.random:Q,V=new we(P,k),U=0;U<P;U++)for(var ge=0;ge<k;ge++)V.set(U,ge,F());return V}},{key:\"randInt\",value:function(P,k){var z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(ae(z)!==\"object\")throw new TypeError(\"options must be an object\");var Q=z.min,F=Q===void 0?0:Q,V=z.max,U=V===void 0?1e3:V,ge=z.random,ke=ge===void 0?Math.random:ge;if(!Number.isInteger(F))throw new TypeError(\"min must be an integer\");if(!Number.isInteger(U))throw new TypeError(\"max must be an integer\");if(F>=U)throw new RangeError(\"min must be smaller than max\");for(var St=U-F,Je=new we(P,k),Ot=0;Ot<P;Ot++)for(var It=0;It<k;It++){var jt=F+Math.round(ke()*St);Je.set(Ot,It,jt)}return Je}},{key:\"eye\",value:function(P,k,z){k===void 0&&(k=P),z===void 0&&(z=1);for(var Q=Math.min(P,k),F=this.zeros(P,k),V=0;V<Q;V++)F.set(V,V,z);return F}},{key:\"diag\",value:function(P,k,z){var Q=P.length;k===void 0&&(k=Q),z===void 0&&(z=k);for(var F=Math.min(Q,k,z),V=this.zeros(k,z),U=0;U<F;U++)V.set(U,U,P[U]);return V}},{key:\"min\",value:function(P,k){P=this.checkMatrix(P),k=this.checkMatrix(k);for(var z=P.rows,Q=P.columns,F=new we(z,Q),V=0;V<z;V++)for(var U=0;U<Q;U++)F.set(V,U,Math.min(P.get(V,U),k.get(V,U)));return F}},{key:\"max\",value:function(P,k){P=this.checkMatrix(P),k=this.checkMatrix(k);for(var z=P.rows,Q=P.columns,F=new this(z,Q),V=0;V<z;V++)for(var U=0;U<Q;U++)F.set(V,U,Math.max(P.get(V,U),k.get(V,U)));return F}},{key:\"checkMatrix\",value:function(P){return W.isMatrix(P)?P:new we(P)}},{key:\"isMatrix\",value:function(P){return P!=null&&P.klass===\"Matrix\"}}]),W}();function _e(W,P){return W-P}fe.prototype.klass=\"Matrix\",typeof Symbol!=\"undefined\"&&(fe.prototype[Symbol.for(\"nodejs.util.inspect.custom\")]=function(){return u(this)}),fe.random=fe.rand,fe.randomInt=fe.randInt,fe.diagonal=fe.diag,fe.prototype.diagonal=fe.prototype.diag,fe.identity=fe.eye,fe.prototype.negate=fe.prototype.neg,fe.prototype.tensorProduct=fe.prototype.kroneckerProduct;var be,We,we=function(W){(function(z,Q){if(typeof Q!=\"function\"&&Q!==null)throw new TypeError(\"Super expression must either be null or a function\");z.prototype=Object.create(Q&&Q.prototype,{constructor:{value:z,writable:!0,configurable:!0}}),Object.defineProperty(z,\"prototype\",{writable:!1}),Q&&Ce(z,Q)})(k,W);var P=oe(k);function k(z,Q){var F;if(ve(this,k),F=P.call(this),k.isMatrix(z))return he(F,z.clone());if(Number.isInteger(z)&&z>=0){if(F.data=[],!(Number.isInteger(Q)&&Q>=0))throw new TypeError(\"nColumns must be a positive integer\");for(var V=0;V<z;V++)F.data.push(new Float64Array(Q))}else{if(!N(z))throw new TypeError(\"First argument must be a positive number or an array\");var U=z;if(typeof(Q=(z=U.length)?U[0].length:0)!=\"number\")throw new TypeError(\"Data must be a 2D array with at least one element\");F.data=[];for(var ge=0;ge<z;ge++){if(U[ge].length!==Q)throw new RangeError(\"Inconsistent array dimensions\");if(!U[ge].every(function(ke){return typeof ke==\"number\"}))throw new TypeError(\"Input data contains non-numeric values\");F.data.push(Float64Array.from(U[ge]))}}return F.rows=z,F.columns=Q,F}return se(k,[{key:\"set\",value:function(z,Q,F){return this.data[z][Q]=F,this}},{key:\"get\",value:function(z,Q){return this.data[z][Q]}},{key:\"removeRow\",value:function(z){return l(this,z),this.data.splice(z,1),this.rows-=1,this}},{key:\"addRow\",value:function(z,Q){return Q===void 0&&(Q=z,z=this.rows),l(this,z,!0),Q=Float64Array.from(m(this,Q)),this.data.splice(z,0,Q),this.rows+=1,this}},{key:\"removeColumn\",value:function(z){s(this,z);for(var Q=0;Q<this.rows;Q++){for(var F=new Float64Array(this.columns-1),V=0;V<z;V++)F[V]=this.data[Q][V];for(var U=z+1;U<this.columns;U++)F[U-1]=this.data[Q][U];this.data[Q]=F}return this.columns-=1,this}},{key:\"addColumn\",value:function(z,Q){Q===void 0&&(Q=z,z=this.columns),s(this,z,!0),Q=x(this,Q);for(var F=0;F<this.rows;F++){for(var V=new Float64Array(this.columns+1),U=0;U<z;U++)V[U]=this.data[F][U];for(V[U++]=Q[F];U<this.columns+1;U++)V[U]=this.data[F][U-1];this.data[F]=V}return this.columns+=1,this}}]),k}(fe);function Ze(W){return(Ze=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function Ve(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(Ze(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(Ze(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),Ze(F)===\"symbol\"?F:String(F)),z)}var Q,F}function et(W,P){return(et=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,z){return k.__proto__=z,k})(W,P)}function ht(W){var P=function(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(k){return!1}}();return function(){var k,z=mt(W);if(P){var Q=mt(this).constructor;k=Reflect.construct(z,arguments,Q)}else k=z.apply(this,arguments);return Fe(this,k)}}function Fe(W,P){if(P&&(Ze(P)===\"object\"||typeof P==\"function\"))return P;if(P!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(k){if(k===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return k}(W)}function mt(W){return(mt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(P){return P.__proto__||Object.getPrototypeOf(P)})(W)}We=we,(be=fe).prototype.add=function(W){return typeof W==\"number\"?this.addS(W):this.addM(W)},be.prototype.addS=function(W){for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)+W);return this},be.prototype.addM=function(W){if(W=We.checkMatrix(W),this.rows!==W.rows||this.columns!==W.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)+W.get(P,k));return this},be.add=function(W,P){return new We(W).add(P)},be.prototype.sub=function(W){return typeof W==\"number\"?this.subS(W):this.subM(W)},be.prototype.subS=function(W){for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)-W);return this},be.prototype.subM=function(W){if(W=We.checkMatrix(W),this.rows!==W.rows||this.columns!==W.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)-W.get(P,k));return this},be.sub=function(W,P){return new We(W).sub(P)},be.prototype.subtract=be.prototype.sub,be.prototype.subtractS=be.prototype.subS,be.prototype.subtractM=be.prototype.subM,be.subtract=be.sub,be.prototype.mul=function(W){return typeof W==\"number\"?this.mulS(W):this.mulM(W)},be.prototype.mulS=function(W){for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)*W);return this},be.prototype.mulM=function(W){if(W=We.checkMatrix(W),this.rows!==W.rows||this.columns!==W.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)*W.get(P,k));return this},be.mul=function(W,P){return new We(W).mul(P)},be.prototype.multiply=be.prototype.mul,be.prototype.multiplyS=be.prototype.mulS,be.prototype.multiplyM=be.prototype.mulM,be.multiply=be.mul,be.prototype.div=function(W){return typeof W==\"number\"?this.divS(W):this.divM(W)},be.prototype.divS=function(W){for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)/W);return this},be.prototype.divM=function(W){if(W=We.checkMatrix(W),this.rows!==W.rows||this.columns!==W.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)/W.get(P,k));return this},be.div=function(W,P){return new We(W).div(P)},be.prototype.divide=be.prototype.div,be.prototype.divideS=be.prototype.divS,be.prototype.divideM=be.prototype.divM,be.divide=be.div,be.prototype.mod=function(W){return typeof W==\"number\"?this.modS(W):this.modM(W)},be.prototype.modS=function(W){for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)%W);return this},be.prototype.modM=function(W){if(W=We.checkMatrix(W),this.rows!==W.rows||this.columns!==W.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)%W.get(P,k));return this},be.mod=function(W,P){return new We(W).mod(P)},be.prototype.modulus=be.prototype.mod,be.prototype.modulusS=be.prototype.modS,be.prototype.modulusM=be.prototype.modM,be.modulus=be.mod,be.prototype.and=function(W){return typeof W==\"number\"?this.andS(W):this.andM(W)},be.prototype.andS=function(W){for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)&W);return this},be.prototype.andM=function(W){if(W=We.checkMatrix(W),this.rows!==W.rows||this.columns!==W.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)&W.get(P,k));return this},be.and=function(W,P){return new We(W).and(P)},be.prototype.or=function(W){return typeof W==\"number\"?this.orS(W):this.orM(W)},be.prototype.orS=function(W){for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)|W);return this},be.prototype.orM=function(W){if(W=We.checkMatrix(W),this.rows!==W.rows||this.columns!==W.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)|W.get(P,k));return this},be.or=function(W,P){return new We(W).or(P)},be.prototype.xor=function(W){return typeof W==\"number\"?this.xorS(W):this.xorM(W)},be.prototype.xorS=function(W){for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)^W);return this},be.prototype.xorM=function(W){if(W=We.checkMatrix(W),this.rows!==W.rows||this.columns!==W.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)^W.get(P,k));return this},be.xor=function(W,P){return new We(W).xor(P)},be.prototype.leftShift=function(W){return typeof W==\"number\"?this.leftShiftS(W):this.leftShiftM(W)},be.prototype.leftShiftS=function(W){for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)<<W);return this},be.prototype.leftShiftM=function(W){if(W=We.checkMatrix(W),this.rows!==W.rows||this.columns!==W.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)<<W.get(P,k));return this},be.leftShift=function(W,P){return new We(W).leftShift(P)},be.prototype.signPropagatingRightShift=function(W){return typeof W==\"number\"?this.signPropagatingRightShiftS(W):this.signPropagatingRightShiftM(W)},be.prototype.signPropagatingRightShiftS=function(W){for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)>>W);return this},be.prototype.signPropagatingRightShiftM=function(W){if(W=We.checkMatrix(W),this.rows!==W.rows||this.columns!==W.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)>>W.get(P,k));return this},be.signPropagatingRightShift=function(W,P){return new We(W).signPropagatingRightShift(P)},be.prototype.rightShift=function(W){return typeof W==\"number\"?this.rightShiftS(W):this.rightShiftM(W)},be.prototype.rightShiftS=function(W){for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)>>>W);return this},be.prototype.rightShiftM=function(W){if(W=We.checkMatrix(W),this.rows!==W.rows||this.columns!==W.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,this.get(P,k)>>>W.get(P,k));return this},be.rightShift=function(W,P){return new We(W).rightShift(P)},be.prototype.zeroFillRightShift=be.prototype.rightShift,be.prototype.zeroFillRightShiftS=be.prototype.rightShiftS,be.prototype.zeroFillRightShiftM=be.prototype.rightShiftM,be.zeroFillRightShift=be.rightShift,be.prototype.not=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,~this.get(W,P));return this},be.not=function(W){return new We(W).not()},be.prototype.abs=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.abs(this.get(W,P)));return this},be.abs=function(W){return new We(W).abs()},be.prototype.acos=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.acos(this.get(W,P)));return this},be.acos=function(W){return new We(W).acos()},be.prototype.acosh=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.acosh(this.get(W,P)));return this},be.acosh=function(W){return new We(W).acosh()},be.prototype.asin=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.asin(this.get(W,P)));return this},be.asin=function(W){return new We(W).asin()},be.prototype.asinh=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.asinh(this.get(W,P)));return this},be.asinh=function(W){return new We(W).asinh()},be.prototype.atan=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.atan(this.get(W,P)));return this},be.atan=function(W){return new We(W).atan()},be.prototype.atanh=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.atanh(this.get(W,P)));return this},be.atanh=function(W){return new We(W).atanh()},be.prototype.cbrt=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.cbrt(this.get(W,P)));return this},be.cbrt=function(W){return new We(W).cbrt()},be.prototype.ceil=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.ceil(this.get(W,P)));return this},be.ceil=function(W){return new We(W).ceil()},be.prototype.clz32=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.clz32(this.get(W,P)));return this},be.clz32=function(W){return new We(W).clz32()},be.prototype.cos=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.cos(this.get(W,P)));return this},be.cos=function(W){return new We(W).cos()},be.prototype.cosh=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.cosh(this.get(W,P)));return this},be.cosh=function(W){return new We(W).cosh()},be.prototype.exp=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.exp(this.get(W,P)));return this},be.exp=function(W){return new We(W).exp()},be.prototype.expm1=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.expm1(this.get(W,P)));return this},be.expm1=function(W){return new We(W).expm1()},be.prototype.floor=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.floor(this.get(W,P)));return this},be.floor=function(W){return new We(W).floor()},be.prototype.fround=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.fround(this.get(W,P)));return this},be.fround=function(W){return new We(W).fround()},be.prototype.log=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.log(this.get(W,P)));return this},be.log=function(W){return new We(W).log()},be.prototype.log1p=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.log1p(this.get(W,P)));return this},be.log1p=function(W){return new We(W).log1p()},be.prototype.log10=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.log10(this.get(W,P)));return this},be.log10=function(W){return new We(W).log10()},be.prototype.log2=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.log2(this.get(W,P)));return this},be.log2=function(W){return new We(W).log2()},be.prototype.round=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.round(this.get(W,P)));return this},be.round=function(W){return new We(W).round()},be.prototype.sign=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.sign(this.get(W,P)));return this},be.sign=function(W){return new We(W).sign()},be.prototype.sin=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.sin(this.get(W,P)));return this},be.sin=function(W){return new We(W).sin()},be.prototype.sinh=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.sinh(this.get(W,P)));return this},be.sinh=function(W){return new We(W).sinh()},be.prototype.sqrt=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.sqrt(this.get(W,P)));return this},be.sqrt=function(W){return new We(W).sqrt()},be.prototype.tan=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.tan(this.get(W,P)));return this},be.tan=function(W){return new We(W).tan()},be.prototype.tanh=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.tanh(this.get(W,P)));return this},be.tanh=function(W){return new We(W).tanh()},be.prototype.trunc=function(){for(var W=0;W<this.rows;W++)for(var P=0;P<this.columns;P++)this.set(W,P,Math.trunc(this.get(W,P)));return this},be.trunc=function(W){return new We(W).trunc()},be.pow=function(W,P){return new We(W).pow(P)},be.prototype.pow=function(W){return typeof W==\"number\"?this.powS(W):this.powM(W)},be.prototype.powS=function(W){for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,Math.pow(this.get(P,k),W));return this},be.prototype.powM=function(W){if(W=We.checkMatrix(W),this.rows!==W.rows||this.columns!==W.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var P=0;P<this.rows;P++)for(var k=0;k<this.columns;k++)this.set(P,k,Math.pow(this.get(P,k),W.get(P,k)));return this};var dt=function(W){(function(V,U){if(typeof U!=\"function\"&&U!==null)throw new TypeError(\"Super expression must either be null or a function\");V.prototype=Object.create(U&&U.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),Object.defineProperty(V,\"prototype\",{writable:!1}),U&&et(V,U)})(F,W);var P,k,z,Q=ht(F);function F(V,U,ge){var ke;return function(St,Je){if(!(St instanceof Je))throw new TypeError(\"Cannot call a class as a function\")}(this,F),(ke=Q.call(this)).matrix=V,ke.rows=U,ke.columns=ge,ke}return P=F,k&&Ve(P.prototype,k),z&&Ve(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),P}(fe);function Lt(W){return(Lt=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function lt(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(Lt(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(Lt(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),Lt(F)===\"symbol\"?F:String(F)),z)}var Q,F}function rn(W,P){return(rn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,z){return k.__proto__=z,k})(W,P)}function qt(W){var P=function(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(k){return!1}}();return function(){var k,z=Kt(W);if(P){var Q=Kt(this).constructor;k=Reflect.construct(z,arguments,Q)}else k=z.apply(this,arguments);return hn(this,k)}}function hn(W,P){if(P&&(Lt(P)===\"object\"||typeof P==\"function\"))return P;if(P!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(k){if(k===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return k}(W)}function Kt(W){return(Kt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(P){return P.__proto__||Object.getPrototypeOf(P)})(W)}var an=function(W){(function(V,U){if(typeof U!=\"function\"&&U!==null)throw new TypeError(\"Super expression must either be null or a function\");V.prototype=Object.create(U&&U.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),Object.defineProperty(V,\"prototype\",{writable:!1}),U&&rn(V,U)})(F,W);var P,k,z,Q=qt(F);function F(V,U){var ge;return function(ke,St){if(!(ke instanceof St))throw new TypeError(\"Cannot call a class as a function\")}(this,F),s(V,U),(ge=Q.call(this,V,V.rows,1)).column=U,ge}return P=F,(k=[{key:\"set\",value:function(V,U,ge){return this.matrix.set(V,this.column,ge),this}},{key:\"get\",value:function(V){return this.matrix.get(V,this.column)}}])&&lt(P.prototype,k),z&&lt(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),F}(dt);function In(W){return(In=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function Ft(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(In(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(In(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),In(F)===\"symbol\"?F:String(F)),z)}var Q,F}function kt(W,P){return(kt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,z){return k.__proto__=z,k})(W,P)}function At(W){var P=function(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(k){return!1}}();return function(){var k,z=pn(W);if(P){var Q=pn(this).constructor;k=Reflect.construct(z,arguments,Q)}else k=z.apply(this,arguments);return Fn(this,k)}}function Fn(W,P){if(P&&(In(P)===\"object\"||typeof P==\"function\"))return P;if(P!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(k){if(k===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return k}(W)}function pn(W){return(pn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(P){return P.__proto__||Object.getPrototypeOf(P)})(W)}var en=function(W){(function(V,U){if(typeof U!=\"function\"&&U!==null)throw new TypeError(\"Super expression must either be null or a function\");V.prototype=Object.create(U&&U.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),Object.defineProperty(V,\"prototype\",{writable:!1}),U&&kt(V,U)})(F,W);var P,k,z,Q=At(F);function F(V,U){var ge;return function(ke,St){if(!(ke instanceof St))throw new TypeError(\"Cannot call a class as a function\")}(this,F),E(V,U),(ge=Q.call(this,V,V.rows,U.length)).columnIndices=U,ge}return P=F,(k=[{key:\"set\",value:function(V,U,ge){return this.matrix.set(V,this.columnIndices[U],ge),this}},{key:\"get\",value:function(V,U){return this.matrix.get(V,this.columnIndices[U])}}])&&Ft(P.prototype,k),z&&Ft(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),F}(dt);function Wn(W){return(Wn=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function Mn(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(Wn(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(Wn(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),Wn(F)===\"symbol\"?F:String(F)),z)}var Q,F}function Kn(W,P){return(Kn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,z){return k.__proto__=z,k})(W,P)}function hr(W){var P=function(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(k){return!1}}();return function(){var k,z=zr(W);if(P){var Q=zr(this).constructor;k=Reflect.construct(z,arguments,Q)}else k=z.apply(this,arguments);return pr(this,k)}}function pr(W,P){if(P&&(Wn(P)===\"object\"||typeof P==\"function\"))return P;if(P!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(k){if(k===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return k}(W)}function zr(W){return(zr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(P){return P.__proto__||Object.getPrototypeOf(P)})(W)}var Wr=function(W){(function(V,U){if(typeof U!=\"function\"&&U!==null)throw new TypeError(\"Super expression must either be null or a function\");V.prototype=Object.create(U&&U.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),Object.defineProperty(V,\"prototype\",{writable:!1}),U&&Kn(V,U)})(F,W);var P,k,z,Q=hr(F);function F(V){return function(U,ge){if(!(U instanceof ge))throw new TypeError(\"Cannot call a class as a function\")}(this,F),Q.call(this,V,V.rows,V.columns)}return P=F,(k=[{key:\"set\",value:function(V,U,ge){return this.matrix.set(V,this.columns-U-1,ge),this}},{key:\"get\",value:function(V,U){return this.matrix.get(V,this.columns-U-1)}}])&&Mn(P.prototype,k),z&&Mn(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),F}(dt);function Nr(W){return(Nr=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function Kr(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(Nr(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(Nr(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),Nr(F)===\"symbol\"?F:String(F)),z)}var Q,F}function ko(W,P){return(ko=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,z){return k.__proto__=z,k})(W,P)}function Ur(W){var P=function(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(k){return!1}}();return function(){var k,z=Gt(W);if(P){var Q=Gt(this).constructor;k=Reflect.construct(z,arguments,Q)}else k=z.apply(this,arguments);return gn(this,k)}}function gn(W,P){if(P&&(Nr(P)===\"object\"||typeof P==\"function\"))return P;if(P!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(k){if(k===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return k}(W)}function Gt(W){return(Gt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(P){return P.__proto__||Object.getPrototypeOf(P)})(W)}var bt=function(W){(function(V,U){if(typeof U!=\"function\"&&U!==null)throw new TypeError(\"Super expression must either be null or a function\");V.prototype=Object.create(U&&U.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),Object.defineProperty(V,\"prototype\",{writable:!1}),U&&ko(V,U)})(F,W);var P,k,z,Q=Ur(F);function F(V){return function(U,ge){if(!(U instanceof ge))throw new TypeError(\"Cannot call a class as a function\")}(this,F),Q.call(this,V,V.rows,V.columns)}return P=F,(k=[{key:\"set\",value:function(V,U,ge){return this.matrix.set(this.rows-V-1,U,ge),this}},{key:\"get\",value:function(V,U){return this.matrix.get(this.rows-V-1,U)}}])&&Kr(P.prototype,k),z&&Kr(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),F}(dt);function Zt(W){return(Zt=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function gt(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(Zt(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(Zt(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),Zt(F)===\"symbol\"?F:String(F)),z)}var Q,F}function Wt(W,P){return(Wt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,z){return k.__proto__=z,k})(W,P)}function xn(W){var P=function(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(k){return!1}}();return function(){var k,z=Xn(W);if(P){var Q=Xn(this).constructor;k=Reflect.construct(z,arguments,Q)}else k=z.apply(this,arguments);return Dt(this,k)}}function Dt(W,P){if(P&&(Zt(P)===\"object\"||typeof P==\"function\"))return P;if(P!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(k){if(k===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return k}(W)}function Xn(W){return(Xn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(P){return P.__proto__||Object.getPrototypeOf(P)})(W)}var Rn=function(W){(function(V,U){if(typeof U!=\"function\"&&U!==null)throw new TypeError(\"Super expression must either be null or a function\");V.prototype=Object.create(U&&U.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),Object.defineProperty(V,\"prototype\",{writable:!1}),U&&Wt(V,U)})(F,W);var P,k,z,Q=xn(F);function F(V,U){var ge;return function(ke,St){if(!(ke instanceof St))throw new TypeError(\"Cannot call a class as a function\")}(this,F),l(V,U),(ge=Q.call(this,V,1,V.columns)).row=U,ge}return P=F,(k=[{key:\"set\",value:function(V,U,ge){return this.matrix.set(this.row,U,ge),this}},{key:\"get\",value:function(V,U){return this.matrix.get(this.row,U)}}])&&gt(P.prototype,k),z&&gt(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),F}(dt);function wt(W){return(wt=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function pt(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(wt(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(wt(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),wt(F)===\"symbol\"?F:String(F)),z)}var Q,F}function Ue(W,P){return(Ue=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,z){return k.__proto__=z,k})(W,P)}function xt(W){var P=function(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(k){return!1}}();return function(){var k,z=er(W);if(P){var Q=er(this).constructor;k=Reflect.construct(z,arguments,Q)}else k=z.apply(this,arguments);return cn(this,k)}}function cn(W,P){if(P&&(wt(P)===\"object\"||typeof P==\"function\"))return P;if(P!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(k){if(k===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return k}(W)}function er(W){return(er=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(P){return P.__proto__||Object.getPrototypeOf(P)})(W)}var Mr=function(W){(function(V,U){if(typeof U!=\"function\"&&U!==null)throw new TypeError(\"Super expression must either be null or a function\");V.prototype=Object.create(U&&U.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),Object.defineProperty(V,\"prototype\",{writable:!1}),U&&Ue(V,U)})(F,W);var P,k,z,Q=xt(F);function F(V,U){var ge;return function(ke,St){if(!(ke instanceof St))throw new TypeError(\"Cannot call a class as a function\")}(this,F),M(V,U),(ge=Q.call(this,V,U.length,V.columns)).rowIndices=U,ge}return P=F,(k=[{key:\"set\",value:function(V,U,ge){return this.matrix.set(this.rowIndices[V],U,ge),this}},{key:\"get\",value:function(V,U){return this.matrix.get(this.rowIndices[V],U)}}])&&pt(P.prototype,k),z&&pt(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),F}(dt);function xr(W){return(xr=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function jr(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(xr(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(xr(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),xr(F)===\"symbol\"?F:String(F)),z)}var Q,F}function yo(W,P){return(yo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,z){return k.__proto__=z,k})(W,P)}function eo(W){var P=function(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(k){return!1}}();return function(){var k,z=Ti(W);if(P){var Q=Ti(this).constructor;k=Reflect.construct(z,arguments,Q)}else k=z.apply(this,arguments);return vi(this,k)}}function vi(W,P){if(P&&(xr(P)===\"object\"||typeof P==\"function\"))return P;if(P!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(k){if(k===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return k}(W)}function Ti(W){return(Ti=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(P){return P.__proto__||Object.getPrototypeOf(P)})(W)}var wi=function(W){(function(V,U){if(typeof U!=\"function\"&&U!==null)throw new TypeError(\"Super expression must either be null or a function\");V.prototype=Object.create(U&&U.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),Object.defineProperty(V,\"prototype\",{writable:!1}),U&&yo(V,U)})(F,W);var P,k,z,Q=eo(F);function F(V,U,ge){var ke;return function(St,Je){if(!(St instanceof Je))throw new TypeError(\"Cannot call a class as a function\")}(this,F),M(V,U),E(V,ge),(ke=Q.call(this,V,U.length,ge.length)).rowIndices=U,ke.columnIndices=ge,ke}return P=F,(k=[{key:\"set\",value:function(V,U,ge){return this.matrix.set(this.rowIndices[V],this.columnIndices[U],ge),this}},{key:\"get\",value:function(V,U){return this.matrix.get(this.rowIndices[V],this.columnIndices[U])}}])&&jr(P.prototype,k),z&&jr(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),F}(dt);function mi(W){return(mi=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function Zi(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(mi(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(mi(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),mi(F)===\"symbol\"?F:String(F)),z)}var Q,F}function aa(W,P){return(aa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,z){return k.__proto__=z,k})(W,P)}function $e(W){var P=function(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(k){return!1}}();return function(){var k,z=Un(W);if(P){var Q=Un(this).constructor;k=Reflect.construct(z,arguments,Q)}else k=z.apply(this,arguments);return dn(this,k)}}function dn(W,P){if(P&&(mi(P)===\"object\"||typeof P==\"function\"))return P;if(P!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(k){if(k===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return k}(W)}function Un(W){return(Un=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(P){return P.__proto__||Object.getPrototypeOf(P)})(W)}var ar=function(W){(function(V,U){if(typeof U!=\"function\"&&U!==null)throw new TypeError(\"Super expression must either be null or a function\");V.prototype=Object.create(U&&U.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),Object.defineProperty(V,\"prototype\",{writable:!1}),U&&aa(V,U)})(F,W);var P,k,z,Q=$e(F);function F(V,U,ge,ke,St){var Je;return function(Ot,It){if(!(Ot instanceof It))throw new TypeError(\"Cannot call a class as a function\")}(this,F),j(V,U,ge,ke,St),(Je=Q.call(this,V,ge-U+1,St-ke+1)).startRow=U,Je.startColumn=ke,Je}return P=F,(k=[{key:\"set\",value:function(V,U,ge){return this.matrix.set(this.startRow+V,this.startColumn+U,ge),this}},{key:\"get\",value:function(V,U){return this.matrix.get(this.startRow+V,this.startColumn+U)}}])&&Zi(P.prototype,k),z&&Zi(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),F}(dt);function Rr(W){return(Rr=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function Ro(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(Rr(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(Rr(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),Rr(F)===\"symbol\"?F:String(F)),z)}var Q,F}function Vo(W,P){return(Vo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,z){return k.__proto__=z,k})(W,P)}function Co(W){var P=function(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(k){return!1}}();return function(){var k,z=qo(W);if(P){var Q=qo(this).constructor;k=Reflect.construct(z,arguments,Q)}else k=z.apply(this,arguments);return Mo(this,k)}}function Mo(W,P){if(P&&(Rr(P)===\"object\"||typeof P==\"function\"))return P;if(P!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(k){if(k===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return k}(W)}function qo(W){return(qo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(P){return P.__proto__||Object.getPrototypeOf(P)})(W)}var ti=function(W){(function(V,U){if(typeof U!=\"function\"&&U!==null)throw new TypeError(\"Super expression must either be null or a function\");V.prototype=Object.create(U&&U.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),Object.defineProperty(V,\"prototype\",{writable:!1}),U&&Vo(V,U)})(F,W);var P,k,z,Q=Co(F);function F(V){return function(U,ge){if(!(U instanceof ge))throw new TypeError(\"Cannot call a class as a function\")}(this,F),Q.call(this,V,V.columns,V.rows)}return P=F,(k=[{key:\"set\",value:function(V,U,ge){return this.matrix.set(U,V,ge),this}},{key:\"get\",value:function(V,U){return this.matrix.get(U,V)}}])&&Ro(P.prototype,k),z&&Ro(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),F}(dt);function pi(W){return(pi=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function ni(W,P){if(!(W instanceof P))throw new TypeError(\"Cannot call a class as a function\")}function si(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(pi(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(pi(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),pi(F)===\"symbol\"?F:String(F)),z)}var Q,F}function Oi(W,P){return(Oi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,z){return k.__proto__=z,k})(W,P)}function Ki(W){var P=function(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(k){return!1}}();return function(){var k,z=zi(W);if(P){var Q=zi(this).constructor;k=Reflect.construct(z,arguments,Q)}else k=z.apply(this,arguments);return ca(this,k)}}function ca(W,P){if(P&&(pi(P)===\"object\"||typeof P==\"function\"))return P;if(P!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(k){if(k===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return k}(W)}function zi(W){return(zi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(P){return P.__proto__||Object.getPrototypeOf(P)})(W)}var br=function(W){(function(V,U){if(typeof U!=\"function\"&&U!==null)throw new TypeError(\"Super expression must either be null or a function\");V.prototype=Object.create(U&&U.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),Object.defineProperty(V,\"prototype\",{writable:!1}),U&&Oi(V,U)})(F,W);var P,k,z,Q=Ki(F);function F(V){var U,ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ni(this,F);var ke=ge.rows,St=ke===void 0?1:ke;if(V.length%St!=0)throw new Error(\"the data length is not divisible by the number of rows\");return(U=Q.call(this)).rows=St,U.columns=V.length/St,U.data=V,U}return P=F,(k=[{key:\"set\",value:function(V,U,ge){var ke=this._calculateIndex(V,U);return this.data[ke]=ge,this}},{key:\"get\",value:function(V,U){var ge=this._calculateIndex(V,U);return this.data[ge]}},{key:\"_calculateIndex\",value:function(V,U){return V*this.columns+U}}])&&si(P.prototype,k),z&&si(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),F}(fe);function Re(W){return(Re=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function je(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(Re(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(Re(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),Re(F)===\"symbol\"?F:String(F)),z)}var Q,F}function nt(W,P){return(nt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,z){return k.__proto__=z,k})(W,P)}function rt(W){var P=function(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(k){return!1}}();return function(){var k,z=fn(W);if(P){var Q=fn(this).constructor;k=Reflect.construct(z,arguments,Q)}else k=z.apply(this,arguments);return Xt(this,k)}}function Xt(W,P){if(P&&(Re(P)===\"object\"||typeof P==\"function\"))return P;if(P!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(k){if(k===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return k}(W)}function fn(W){return(fn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(P){return P.__proto__||Object.getPrototypeOf(P)})(W)}var Cn=function(W){(function(V,U){if(typeof U!=\"function\"&&U!==null)throw new TypeError(\"Super expression must either be null or a function\");V.prototype=Object.create(U&&U.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),Object.defineProperty(V,\"prototype\",{writable:!1}),U&&nt(V,U)})(F,W);var P,k,z,Q=rt(F);function F(V){var U;return function(ge,ke){if(!(ge instanceof ke))throw new TypeError(\"Cannot call a class as a function\")}(this,F),(U=Q.call(this)).data=V,U.rows=V.length,U.columns=V[0].length,U}return P=F,(k=[{key:\"set\",value:function(V,U,ge){return this.data[V][U]=ge,this}},{key:\"get\",value:function(V,U){return this.data[V][U]}}])&&je(P.prototype,k),z&&je(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),F}(fe);function Yn(W,P){if(N(W))return W[0]&&N(W[0])?new Cn(W):new br(W,P);throw new Error(\"the argument is not an array\")}function Ae(W){return(Ae=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function Ke(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(Ae(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(Ae(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),Ae(F)===\"symbol\"?F:String(F)),z)}var Q,F}var Mt=function(){function W(Q){(function(Vn,zt){if(!(Vn instanceof zt))throw new TypeError(\"Cannot call a class as a function\")})(this,W);var F,V,U,ge,ke,St,Je,Ot,It,jt=(Q=Cn.checkMatrix(Q)).clone(),Vt=jt.rows,Pn=jt.columns,Jn=new Float64Array(Vt),vn=1;for(F=0;F<Vt;F++)Jn[F]=F;for(Ot=new Float64Array(Vt),V=0;V<Pn;V++){for(F=0;F<Vt;F++)Ot[F]=jt.get(F,V);for(F=0;F<Vt;F++){for(It=Math.min(F,V),ke=0,U=0;U<It;U++)ke+=jt.get(F,U)*Ot[U];Ot[F]-=ke,jt.set(F,V,Ot[F])}for(ge=V,F=V+1;F<Vt;F++)Math.abs(Ot[F])>Math.abs(Ot[ge])&&(ge=F);if(ge!==V){for(U=0;U<Pn;U++)St=jt.get(ge,U),jt.set(ge,U,jt.get(V,U)),jt.set(V,U,St);Je=Jn[ge],Jn[ge]=Jn[V],Jn[V]=Je,vn=-vn}if(V<Vt&&jt.get(V,V)!==0)for(F=V+1;F<Vt;F++)jt.set(F,V,jt.get(F,V)/jt.get(V,V))}this.LU=jt,this.pivotVector=Jn,this.pivotSign=vn}var P,k,z;return P=W,(k=[{key:\"isSingular\",value:function(){for(var Q=this.LU,F=Q.columns,V=0;V<F;V++)if(Q.get(V,V)===0)return!0;return!1}},{key:\"solve\",value:function(Q){Q=we.checkMatrix(Q);var F=this.LU;if(F.rows!==Q.rows)throw new Error(\"Invalid matrix dimensions\");if(this.isSingular())throw new Error(\"LU matrix is singular\");var V,U,ge,ke=Q.columns,St=Q.subMatrixRow(this.pivotVector,0,ke-1),Je=F.columns;for(ge=0;ge<Je;ge++)for(V=ge+1;V<Je;V++)for(U=0;U<ke;U++)St.set(V,U,St.get(V,U)-St.get(ge,U)*F.get(V,ge));for(ge=Je-1;ge>=0;ge--){for(U=0;U<ke;U++)St.set(ge,U,St.get(ge,U)/F.get(ge,ge));for(V=0;V<ge;V++)for(U=0;U<ke;U++)St.set(V,U,St.get(V,U)-St.get(ge,U)*F.get(V,ge))}return St}},{key:\"determinant\",get:function(){var Q=this.LU;if(!Q.isSquare())throw new Error(\"Matrix must be square\");for(var F=this.pivotSign,V=Q.columns,U=0;U<V;U++)F*=Q.get(U,U);return F}},{key:\"lowerTriangularMatrix\",get:function(){for(var Q=this.LU,F=Q.rows,V=Q.columns,U=new we(F,V),ge=0;ge<F;ge++)for(var ke=0;ke<V;ke++)ge>ke?U.set(ge,ke,Q.get(ge,ke)):ge===ke?U.set(ge,ke,1):U.set(ge,ke,0);return U}},{key:\"upperTriangularMatrix\",get:function(){for(var Q=this.LU,F=Q.rows,V=Q.columns,U=new we(F,V),ge=0;ge<F;ge++)for(var ke=0;ke<V;ke++)ge<=ke?U.set(ge,ke,Q.get(ge,ke)):U.set(ge,ke,0);return U}},{key:\"pivotPermutationVector\",get:function(){return Array.from(this.pivotVector)}}])&&Ke(P.prototype,k),z&&Ke(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),W}();function Ut(W,P){var k=0;return Math.abs(W)>Math.abs(P)?(k=P/W,Math.abs(W)*Math.sqrt(1+k*k)):P!==0?(k=W/P,Math.abs(P)*Math.sqrt(1+k*k)):0}function kn(W){return(kn=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function Zn(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(kn(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(kn(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),kn(F)===\"symbol\"?F:String(F)),z)}var Q,F}var lr=function(){function W(Q){(function(jt,Vt){if(!(jt instanceof Vt))throw new TypeError(\"Cannot call a class as a function\")})(this,W);var F,V,U,ge,ke=(Q=Cn.checkMatrix(Q)).clone(),St=Q.rows,Je=Q.columns,Ot=new Float64Array(Je);for(U=0;U<Je;U++){var It=0;for(F=U;F<St;F++)It=Ut(It,ke.get(F,U));if(It!==0){for(ke.get(U,U)<0&&(It=-It),F=U;F<St;F++)ke.set(F,U,ke.get(F,U)/It);for(ke.set(U,U,ke.get(U,U)+1),V=U+1;V<Je;V++){for(ge=0,F=U;F<St;F++)ge+=ke.get(F,U)*ke.get(F,V);for(ge=-ge/ke.get(U,U),F=U;F<St;F++)ke.set(F,V,ke.get(F,V)+ge*ke.get(F,U))}}Ot[U]=-It}this.QR=ke,this.Rdiag=Ot}var P,k,z;return P=W,(k=[{key:\"solve\",value:function(Q){Q=we.checkMatrix(Q);var F=this.QR,V=F.rows;if(Q.rows!==V)throw new Error(\"Matrix row dimensions must agree\");if(!this.isFullRank())throw new Error(\"Matrix is rank deficient\");var U,ge,ke,St,Je=Q.columns,Ot=Q.clone(),It=F.columns;for(ke=0;ke<It;ke++)for(ge=0;ge<Je;ge++){for(St=0,U=ke;U<V;U++)St+=F.get(U,ke)*Ot.get(U,ge);for(St=-St/F.get(ke,ke),U=ke;U<V;U++)Ot.set(U,ge,Ot.get(U,ge)+St*F.get(U,ke))}for(ke=It-1;ke>=0;ke--){for(ge=0;ge<Je;ge++)Ot.set(ke,ge,Ot.get(ke,ge)/this.Rdiag[ke]);for(U=0;U<ke;U++)for(ge=0;ge<Je;ge++)Ot.set(U,ge,Ot.get(U,ge)-Ot.get(ke,ge)*F.get(U,ke))}return Ot.subMatrix(0,It-1,0,Je-1)}},{key:\"isFullRank\",value:function(){for(var Q=this.QR.columns,F=0;F<Q;F++)if(this.Rdiag[F]===0)return!1;return!0}},{key:\"upperTriangularMatrix\",get:function(){var Q,F,V=this.QR,U=V.columns,ge=new we(U,U);for(Q=0;Q<U;Q++)for(F=0;F<U;F++)Q<F?ge.set(Q,F,V.get(Q,F)):Q===F?ge.set(Q,F,this.Rdiag[Q]):ge.set(Q,F,0);return ge}},{key:\"orthogonalMatrix\",get:function(){var Q,F,V,U,ge=this.QR,ke=ge.rows,St=ge.columns,Je=new we(ke,St);for(V=St-1;V>=0;V--){for(Q=0;Q<ke;Q++)Je.set(Q,V,0);for(Je.set(V,V,1),F=V;F<St;F++)if(ge.get(V,V)!==0){for(U=0,Q=V;Q<ke;Q++)U+=ge.get(Q,V)*Je.get(Q,F);for(U=-U/ge.get(V,V),Q=V;Q<ke;Q++)Je.set(Q,F,Je.get(Q,F)+U*ge.get(Q,V))}}return Je}}])&&Zn(P.prototype,k),z&&Zn(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),W}();function wr(W){return(wr=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function Dr(W,P){if(!(W instanceof P))throw new TypeError(\"Cannot call a class as a function\")}function go(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(wr(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(wr(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),wr(F)===\"symbol\"?F:String(F)),z)}var Q,F}var Ir=function(){function W(Q){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Dr(this,W),(Q=Cn.checkMatrix(Q)).isEmpty())throw new Error(\"Matrix must be non-empty\");var V,U=Q.rows,ge=Q.columns,ke=F.computeLeftSingularVectors,St=ke===void 0||ke,Je=F.computeRightSingularVectors,Ot=Je===void 0||Je,It=F.autoTranspose,jt=It!==void 0&&It,Vt=Boolean(St),Pn=Boolean(Ot),Jn=!1;if(U<ge)if(jt){U=(V=Q.transpose()).rows,ge=V.columns,Jn=!0;var vn=Vt;Vt=Pn,Pn=vn}else V=Q.clone(),console.warn(\"Computing SVD on a matrix with more columns than rows. Consider enabling autoTranspose\");else V=Q.clone();for(var Vn=Math.min(U,ge),zt=Math.min(U+1,ge),ir=new Float64Array(zt),nr=new we(U,Vn),ur=new we(ge,ge),sr=new Float64Array(ge),Ln=new Float64Array(U),Bt=new Float64Array(zt),En=0;En<zt;En++)Bt[En]=En;for(var _n=Math.min(U-1,ge),cr=Math.max(0,Math.min(ge-2,U)),ao=Math.max(_n,cr),kr=0;kr<ao;kr++){if(kr<_n){ir[kr]=0;for(var jo=kr;jo<U;jo++)ir[kr]=Ut(ir[kr],V.get(jo,kr));if(ir[kr]!==0){V.get(kr,kr)<0&&(ir[kr]=-ir[kr]);for(var ui=kr;ui<U;ui++)V.set(ui,kr,V.get(ui,kr)/ir[kr]);V.set(kr,kr,V.get(kr,kr)+1)}ir[kr]=-ir[kr]}for(var Vr=kr+1;Vr<ge;Vr++){if(kr<_n&&ir[kr]!==0){for(var ho=0,vo=kr;vo<U;vo++)ho+=V.get(vo,kr)*V.get(vo,Vr);ho=-ho/V.get(kr,kr);for(var uo=kr;uo<U;uo++)V.set(uo,Vr,V.get(uo,Vr)+ho*V.get(uo,kr))}sr[Vr]=V.get(kr,Vr)}if(Vt&&kr<_n)for(var Go=kr;Go<U;Go++)nr.set(Go,kr,V.get(Go,kr));if(kr<cr){sr[kr]=0;for(var Pi=kr+1;Pi<ge;Pi++)sr[kr]=Ut(sr[kr],sr[Pi]);if(sr[kr]!==0){sr[kr+1]<0&&(sr[kr]=0-sr[kr]);for(var la=kr+1;la<ge;la++)sr[la]/=sr[kr];sr[kr+1]+=1}if(sr[kr]=-sr[kr],kr+1<U&&sr[kr]!==0){for(var Vi=kr+1;Vi<U;Vi++)Ln[Vi]=0;for(var ha=kr+1;ha<U;ha++)for(var xa=kr+1;xa<ge;xa++)Ln[ha]+=sr[xa]*V.get(ha,xa);for(var qi=kr+1;qi<ge;qi++)for(var Jo=-sr[qi]/sr[kr+1],Ji=kr+1;Ji<U;Ji++)V.set(Ji,qi,V.get(Ji,qi)+Jo*Ln[Ji])}if(Pn)for(var Yi=kr+1;Yi<ge;Yi++)ur.set(Yi,kr,sr[Yi])}}var Ii=Math.min(ge,U+1);if(_n<ge&&(ir[_n]=V.get(_n,_n)),U<Ii&&(ir[Ii-1]=0),cr+1<Ii&&(sr[cr]=V.get(cr,Ii-1)),sr[Ii-1]=0,Vt){for(var pa=_n;pa<Vn;pa++){for(var na=0;na<U;na++)nr.set(na,pa,0);nr.set(pa,pa,1)}for(var $i=_n-1;$i>=0;$i--)if(ir[$i]!==0){for(var La=$i+1;La<Vn;La++){for(var ss=0,Oa=$i;Oa<U;Oa++)ss+=nr.get(Oa,$i)*nr.get(Oa,La);ss=-ss/nr.get($i,$i);for(var Ma=$i;Ma<U;Ma++)nr.set(Ma,La,nr.get(Ma,La)+ss*nr.get(Ma,$i))}for(var Ka=$i;Ka<U;Ka++)nr.set(Ka,$i,-nr.get(Ka,$i));nr.set($i,$i,1+nr.get($i,$i));for(var Ba=0;Ba<$i-1;Ba++)nr.set(Ba,$i,0)}else{for(var Ua=0;Ua<U;Ua++)nr.set(Ua,$i,0);nr.set($i,$i,1)}}if(Pn)for(var Va=ge-1;Va>=0;Va--){if(Va<cr&&sr[Va]!==0)for(var Ls=Va+1;Ls<ge;Ls++){for(var Qo=0,ws=Va+1;ws<ge;ws++)Qo+=ur.get(ws,Va)*ur.get(ws,Ls);Qo=-Qo/ur.get(Va+1,Va);for(var Za=Va+1;Za<ge;Za++)ur.set(Za,Ls,ur.get(Za,Ls)+Qo*ur.get(Za,Va))}for(var rr=0;rr<ge;rr++)ur.set(rr,Va,0);ur.set(Va,Va,1)}for(var Eo=Ii-1,Br=Number.EPSILON;Ii>0;){var Ao=void 0,Di=void 0;for(Ao=Ii-2;Ao>=-1&&Ao!==-1;Ao--){var Aa=Number.MIN_VALUE+Br*Math.abs(ir[Ao]+Math.abs(ir[Ao+1]));if(Math.abs(sr[Ao])<=Aa||Number.isNaN(sr[Ao])){sr[Ao]=0;break}}if(Ao===Ii-2)Di=4;else{var Na=void 0;for(Na=Ii-1;Na>=Ao&&Na!==Ao;Na--){var Fa=(Na!==Ii?Math.abs(sr[Na]):0)+(Na!==Ao+1?Math.abs(sr[Na-1]):0);if(Math.abs(ir[Na])<=Br*Fa){ir[Na]=0;break}}Na===Ao?Di=3:Na===Ii-1?Di=1:(Di=2,Ao=Na)}switch(Ao++,Di){case 1:var Bs=sr[Ii-2];sr[Ii-2]=0;for(var Ms=Ii-2;Ms>=Ao;Ms--){var Qa=Ut(ir[Ms],Bs),us=ir[Ms]/Qa,Fs=Bs/Qa;if(ir[Ms]=Qa,Ms!==Ao&&(Bs=-Fs*sr[Ms-1],sr[Ms-1]=us*sr[Ms-1]),Pn)for(var $a=0;$a<ge;$a++)Qa=us*ur.get($a,Ms)+Fs*ur.get($a,Ii-1),ur.set($a,Ii-1,-Fs*ur.get($a,Ms)+us*ur.get($a,Ii-1)),ur.set($a,Ms,Qa)}break;case 2:var Hs=sr[Ao-1];sr[Ao-1]=0;for(var ys=Ao;ys<Ii;ys++){var sa=Ut(ir[ys],Hs),Xa=ir[ys]/sa,os=Hs/sa;if(ir[ys]=sa,Hs=-os*sr[ys],sr[ys]=Xa*sr[ys],Vt)for(var As=0;As<U;As++)sa=Xa*nr.get(As,ys)+os*nr.get(As,Ao-1),nr.set(As,Ao-1,-os*nr.get(As,ys)+Xa*nr.get(As,Ao-1)),nr.set(As,ys,sa)}break;case 3:var oa=Math.max(Math.abs(ir[Ii-1]),Math.abs(ir[Ii-2]),Math.abs(sr[Ii-2]),Math.abs(ir[Ao]),Math.abs(sr[Ao])),di=ir[Ii-1]/oa,ia=ir[Ii-2]/oa,_i=sr[Ii-2]/oa,gi=ir[Ao]/oa,fa=sr[Ao]/oa,Pa=((ia+di)*(ia-di)+_i*_i)/2,xs=di*_i*(di*_i),Li=0;Pa===0&&xs===0||(Li=xs/(Pa+(Li=Pa<0?0-Math.sqrt(Pa*Pa+xs):Math.sqrt(Pa*Pa+xs))));for(var vs=(gi+di)*(gi-di)+Li,Ca=gi*fa,ra=Ao;ra<Ii-1;ra++){var Ja=Ut(vs,Ca);Ja===0&&(Ja=Number.MIN_VALUE);var qa=vs/Ja,Ts=Ca/Ja;if(ra!==Ao&&(sr[ra-1]=Ja),vs=qa*ir[ra]+Ts*sr[ra],sr[ra]=qa*sr[ra]-Ts*ir[ra],Ca=Ts*ir[ra+1],ir[ra+1]=qa*ir[ra+1],Pn)for(var v=0;v<ge;v++)Ja=qa*ur.get(v,ra)+Ts*ur.get(v,ra+1),ur.set(v,ra+1,-Ts*ur.get(v,ra)+qa*ur.get(v,ra+1)),ur.set(v,ra,Ja);if((Ja=Ut(vs,Ca))===0&&(Ja=Number.MIN_VALUE),qa=vs/Ja,Ts=Ca/Ja,ir[ra]=Ja,vs=qa*sr[ra]+Ts*ir[ra+1],ir[ra+1]=-Ts*sr[ra]+qa*ir[ra+1],Ca=Ts*sr[ra+1],sr[ra+1]=qa*sr[ra+1],Vt&&ra<U-1)for(var G=0;G<U;G++)Ja=qa*nr.get(G,ra)+Ts*nr.get(G,ra+1),nr.set(G,ra+1,-Ts*nr.get(G,ra)+qa*nr.get(G,ra+1)),nr.set(G,ra,Ja)}sr[Ii-2]=vs;break;case 4:if(ir[Ao]<=0&&(ir[Ao]=ir[Ao]<0?-ir[Ao]:0,Pn))for(var ze=0;ze<=Eo;ze++)ur.set(ze,Ao,-ur.get(ze,Ao));for(;Ao<Eo&&!(ir[Ao]>=ir[Ao+1]);){var ut=ir[Ao];if(ir[Ao]=ir[Ao+1],ir[Ao+1]=ut,Pn&&Ao<ge-1)for(var _t=0;_t<ge;_t++)ut=ur.get(_t,Ao+1),ur.set(_t,Ao+1,ur.get(_t,Ao)),ur.set(_t,Ao,ut);if(Vt&&Ao<U-1)for(var Ht=0;Ht<U;Ht++)ut=nr.get(Ht,Ao+1),nr.set(Ht,Ao+1,nr.get(Ht,Ao)),nr.set(Ht,Ao,ut);Ao++}Ii--}}if(Jn){var $t=ur;ur=nr,nr=$t}this.m=U,this.n=ge,this.s=ir,this.U=nr,this.V=ur}var P,k,z;return P=W,(k=[{key:\"solve\",value:function(Q){for(var F=Q,V=this.threshold,U=this.s.length,ge=we.zeros(U,U),ke=0;ke<U;ke++)Math.abs(this.s[ke])<=V?ge.set(ke,ke,0):ge.set(ke,ke,1/this.s[ke]);for(var St=this.U,Je=this.rightSingularVectors,Ot=Je.mmul(ge),It=Je.rows,jt=St.rows,Vt=we.zeros(It,jt),Pn=0;Pn<It;Pn++)for(var Jn=0;Jn<jt;Jn++){for(var vn=0,Vn=0;Vn<U;Vn++)vn+=Ot.get(Pn,Vn)*St.get(Jn,Vn);Vt.set(Pn,Jn,vn)}return Vt.mmul(F)}},{key:\"solveForDiagonal\",value:function(Q){return this.solve(we.diag(Q))}},{key:\"inverse\",value:function(){for(var Q=this.V,F=this.threshold,V=Q.rows,U=Q.columns,ge=new we(V,this.s.length),ke=0;ke<V;ke++)for(var St=0;St<U;St++)Math.abs(this.s[St])>F&&ge.set(ke,St,Q.get(ke,St)/this.s[St]);for(var Je=this.U,Ot=Je.rows,It=Je.columns,jt=new we(V,Ot),Vt=0;Vt<V;Vt++)for(var Pn=0;Pn<Ot;Pn++){for(var Jn=0,vn=0;vn<It;vn++)Jn+=ge.get(Vt,vn)*Je.get(Pn,vn);jt.set(Vt,Pn,Jn)}return jt}},{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 Q=Math.max(this.m,this.n)*this.s[0]*Number.EPSILON,F=0,V=this.s,U=0,ge=V.length;U<ge;U++)V[U]>Q&&F++;return F}},{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 we.diag(this.s)}}])&&go(P.prototype,k),z&&go(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),W}();function Jr(W){var P=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return W=Cn.checkMatrix(W),P?new Ir(W).inverse():_o(W,we.eye(W.rows))}function _o(W,P){var k=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return W=Cn.checkMatrix(W),P=Cn.checkMatrix(P),k?new Ir(W).solve(P):W.isSquare()?new Mt(W).solve(P):new lr(W).solve(P)}function No(W){var P,k,z,Q,F,V;if((W=we.checkMatrix(W)).isSquare())return W.columns===0?1:W.columns===2?(P=W.get(0,0),k=W.get(0,1),z=W.get(1,0),P*W.get(1,1)-k*z):W.columns===3?(Q=new wi(W,[1,2],[1,2]),F=new wi(W,[1,2],[0,2]),V=new wi(W,[1,2],[0,1]),P=W.get(0,0),k=W.get(0,1),z=W.get(0,2),P*No(Q)-k*No(F)+z*No(V)):new Mt(W).determinant;throw Error(\"determinant can only be calculated for a square matrix\")}function ii(W,P){for(var k=[],z=0;z<W;z++)z!==P&&k.push(z);return k}function Lo(W,P,k){var z=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1e-9,Q=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1e-9;if(W>Q)return new Array(P.rows+1).fill(0);for(var F=P.addRow(k,[0]),V=0;V<F.rows;V++)Math.abs(F.get(V,0))<z&&F.set(V,0,0);return F.to1DArray()}function ai(W){for(var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},k=P.thresholdValue,z=k===void 0?1e-9:k,Q=P.thresholdError,F=Q===void 0?1e-9:Q,V=(W=we.checkMatrix(W)).rows,U=new we(V,V),ge=0;ge<V;ge++){var ke=we.columnVector(W.getRow(ge)),St=W.subMatrixRow(ii(V,ge)).transpose(),Je=new Ir(St),Ot=Je.solve(ke),It=we.sub(ke,St.mmul(Ot)).abs().max();U.setRow(ge,Lo(It,Ot,ge,z,F))}return U}function Si(W){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.EPSILON;if((W=we.checkMatrix(W)).isEmpty())return W.transpose();for(var k=new Ir(W,{autoTranspose:!0}),z=k.leftSingularVectors,Q=k.rightSingularVectors,F=k.diagonal,V=0;V<F.length;V++)Math.abs(F[V])>P?F[V]=1/F[V]:F[V]=0;return Q.mmul(we.diag(F).mmul(z.transpose()))}function Ui(W){return(Ui=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function ln(W){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:W,k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};W=new we(W);var z=!1;if(Ui(P)!==\"object\"||we.isMatrix(P)||N(P)?P=new we(P):(k=P,P=W,z=!0),W.rows!==P.rows)throw new TypeError(\"Both matrices must have the same number of rows\");var Q=k,F=Q.center,V=F===void 0||F;V&&(W=W.center(\"column\"),z||(P=P.center(\"column\")));for(var U=W.transpose().mmul(P),ge=0;ge<U.rows;ge++)for(var ke=0;ke<U.columns;ke++)U.set(ge,ke,U.get(ge,ke)*(1/(W.rows-1)));return U}function mn(W){return(mn=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function fr(W){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:W,k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};W=new we(W);var z=!1;if(mn(P)!==\"object\"||we.isMatrix(P)||N(P)?P=new we(P):(k=P,P=W,z=!0),W.rows!==P.rows)throw new TypeError(\"Both matrices must have the same number of rows\");var Q=k,F=Q.center,V=F===void 0||F,U=Q.scale,ge=U===void 0||U;V&&(W.center(\"column\"),z||P.center(\"column\")),ge&&(W.scale(\"column\"),z||P.scale(\"column\"));for(var ke=W.standardDeviation(\"column\",{unbiased:!0}),St=z?ke:P.standardDeviation(\"column\",{unbiased:!0}),Je=W.transpose().mmul(P),Ot=0;Ot<Je.rows;Ot++)for(var It=0;It<Je.columns;It++)Je.set(Ot,It,Je.get(Ot,It)*(1/(ke[Ot]*St[It]))*(1/(W.rows-1)));return Je}function ft(W){return(ft=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function ct(W,P){if(!(W instanceof P))throw new TypeError(\"Cannot call a class as a function\")}function tn(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(ft(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(ft(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),ft(F)===\"symbol\"?F:String(F)),z)}var Q,F}var An=function(){function W(Q){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ct(this,W);var V=F.assumeSymmetric,U=V!==void 0&&V;if(!(Q=Cn.checkMatrix(Q)).isSquare())throw new Error(\"Matrix is not a square matrix\");if(Q.isEmpty())throw new Error(\"Matrix must be non-empty\");var ge,ke,St=Q.columns,Je=new we(St,St),Ot=new Float64Array(St),It=new Float64Array(St),jt=Q;if(U||Q.isSymmetric()){for(ge=0;ge<St;ge++)for(ke=0;ke<St;ke++)Je.set(ge,ke,jt.get(ge,ke));Rt(St,It,Ot,Je),un(St,It,Ot,Je)}else{var Vt=new we(St,St),Pn=new Float64Array(St);for(ke=0;ke<St;ke++)for(ge=0;ge<St;ge++)Vt.set(ge,ke,jt.get(ge,ke));Dn(St,Vt,Pn,Je),dr(St,It,Ot,Je,Vt)}this.n=St,this.e=It,this.d=Ot,this.V=Je}var P,k,z;return P=W,(k=[{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 Q,F,V=this.n,U=this.e,ge=this.d,ke=new we(V,V);for(Q=0;Q<V;Q++){for(F=0;F<V;F++)ke.set(Q,F,0);ke.set(Q,Q,ge[Q]),U[Q]>0?ke.set(Q,Q+1,U[Q]):U[Q]<0&&ke.set(Q,Q-1,U[Q])}return ke}}])&&tn(P.prototype,k),z&&tn(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),W}();function Rt(W,P,k,z){var Q,F,V,U,ge,ke,St,Je;for(ge=0;ge<W;ge++)k[ge]=z.get(W-1,ge);for(U=W-1;U>0;U--){for(Je=0,V=0,ke=0;ke<U;ke++)Je+=Math.abs(k[ke]);if(Je===0)for(P[U]=k[U-1],ge=0;ge<U;ge++)k[ge]=z.get(U-1,ge),z.set(U,ge,0),z.set(ge,U,0);else{for(ke=0;ke<U;ke++)k[ke]/=Je,V+=k[ke]*k[ke];for(Q=k[U-1],F=Math.sqrt(V),Q>0&&(F=-F),P[U]=Je*F,V-=Q*F,k[U-1]=Q-F,ge=0;ge<U;ge++)P[ge]=0;for(ge=0;ge<U;ge++){for(Q=k[ge],z.set(ge,U,Q),F=P[ge]+z.get(ge,ge)*Q,ke=ge+1;ke<=U-1;ke++)F+=z.get(ke,ge)*k[ke],P[ke]+=z.get(ke,ge)*Q;P[ge]=F}for(Q=0,ge=0;ge<U;ge++)P[ge]/=V,Q+=P[ge]*k[ge];for(St=Q/(V+V),ge=0;ge<U;ge++)P[ge]-=St*k[ge];for(ge=0;ge<U;ge++){for(Q=k[ge],F=P[ge],ke=ge;ke<=U-1;ke++)z.set(ke,ge,z.get(ke,ge)-(Q*P[ke]+F*k[ke]));k[ge]=z.get(U-1,ge),z.set(U,ge,0)}}k[U]=V}for(U=0;U<W-1;U++){if(z.set(W-1,U,z.get(U,U)),z.set(U,U,1),(V=k[U+1])!==0){for(ke=0;ke<=U;ke++)k[ke]=z.get(ke,U+1)/V;for(ge=0;ge<=U;ge++){for(F=0,ke=0;ke<=U;ke++)F+=z.get(ke,U+1)*z.get(ke,ge);for(ke=0;ke<=U;ke++)z.set(ke,ge,z.get(ke,ge)-F*k[ke])}}for(ke=0;ke<=U;ke++)z.set(ke,U+1,0)}for(ge=0;ge<W;ge++)k[ge]=z.get(W-1,ge),z.set(W-1,ge,0);z.set(W-1,W-1,1),P[0]=0}function un(W,P,k,z){var Q,F,V,U,ge,ke,St,Je,Ot,It,jt,Vt,Pn,Jn,vn,Vn;for(V=1;V<W;V++)P[V-1]=P[V];P[W-1]=0;var zt=0,ir=0,nr=Number.EPSILON;for(ke=0;ke<W;ke++){for(ir=Math.max(ir,Math.abs(k[ke])+Math.abs(P[ke])),St=ke;St<W&&!(Math.abs(P[St])<=nr*ir);)St++;if(St>ke)do{for(Q=k[ke],Ot=Ut(Je=(k[ke+1]-Q)/(2*P[ke]),1),Je<0&&(Ot=-Ot),k[ke]=P[ke]/(Je+Ot),k[ke+1]=P[ke]*(Je+Ot),It=k[ke+1],F=Q-k[ke],V=ke+2;V<W;V++)k[V]-=F;for(zt+=F,Je=k[St],Vt=jt=1,Pn=jt,Jn=P[ke+1],vn=0,Vn=0,V=St-1;V>=ke;V--)for(Pn=Vt,Vt=jt,Vn=vn,Q=jt*P[V],F=jt*Je,Ot=Ut(Je,P[V]),P[V+1]=vn*Ot,vn=P[V]/Ot,Je=(jt=Je/Ot)*k[V]-vn*Q,k[V+1]=F+vn*(jt*Q+vn*k[V]),ge=0;ge<W;ge++)F=z.get(ge,V+1),z.set(ge,V+1,vn*z.get(ge,V)+jt*F),z.set(ge,V,jt*z.get(ge,V)-vn*F);Je=-vn*Vn*Pn*Jn*P[ke]/It,P[ke]=vn*Je,k[ke]=jt*Je}while(Math.abs(P[ke])>nr*ir);k[ke]=k[ke]+zt,P[ke]=0}for(V=0;V<W-1;V++){for(ge=V,Je=k[V],U=V+1;U<W;U++)k[U]<Je&&(ge=U,Je=k[U]);if(ge!==V)for(k[ge]=k[V],k[V]=Je,U=0;U<W;U++)Je=z.get(U,V),z.set(U,V,z.get(U,ge)),z.set(U,ge,Je)}}function Dn(W,P,k,z){var Q,F,V,U,ge,ke,St,Je=W-1;for(ke=1;ke<=Je-1;ke++){for(St=0,U=ke;U<=Je;U++)St+=Math.abs(P.get(U,ke-1));if(St!==0){for(V=0,U=Je;U>=ke;U--)k[U]=P.get(U,ke-1)/St,V+=k[U]*k[U];for(F=Math.sqrt(V),k[ke]>0&&(F=-F),V-=k[ke]*F,k[ke]=k[ke]-F,ge=ke;ge<W;ge++){for(Q=0,U=Je;U>=ke;U--)Q+=k[U]*P.get(U,ge);for(Q/=V,U=ke;U<=Je;U++)P.set(U,ge,P.get(U,ge)-Q*k[U])}for(U=0;U<=Je;U++){for(Q=0,ge=Je;ge>=ke;ge--)Q+=k[ge]*P.get(U,ge);for(Q/=V,ge=ke;ge<=Je;ge++)P.set(U,ge,P.get(U,ge)-Q*k[ge])}k[ke]=St*k[ke],P.set(ke,ke-1,St*F)}}for(U=0;U<W;U++)for(ge=0;ge<W;ge++)z.set(U,ge,U===ge?1:0);for(ke=Je-1;ke>=1;ke--)if(P.get(ke,ke-1)!==0){for(U=ke+1;U<=Je;U++)k[U]=P.get(U,ke-1);for(ge=ke;ge<=Je;ge++){for(F=0,U=ke;U<=Je;U++)F+=k[U]*z.get(U,ge);for(F=F/k[ke]/P.get(ke,ke-1),U=ke;U<=Je;U++)z.set(U,ge,z.get(U,ge)+F*k[U])}}}function dr(W,P,k,z,Q){var F,V,U,ge,ke,St,Je,Ot,It,jt,Vt,Pn,Jn,vn,Vn,zt=W-1,ir=W-1,nr=Number.EPSILON,ur=0,sr=0,Ln=0,Bt=0,En=0,_n=0,cr=0,ao=0;for(F=0;F<W;F++)for((F<0||F>ir)&&(k[F]=Q.get(F,F),P[F]=0),V=Math.max(F-1,0);V<W;V++)sr+=Math.abs(Q.get(F,V));for(;zt>=0;){for(ge=zt;ge>0&&((_n=Math.abs(Q.get(ge-1,ge-1))+Math.abs(Q.get(ge,ge)))===0&&(_n=sr),!(Math.abs(Q.get(ge,ge-1))<nr*_n));)ge--;if(ge===zt)Q.set(zt,zt,Q.get(zt,zt)+ur),k[zt]=Q.get(zt,zt),P[zt]=0,zt--,ao=0;else if(ge===zt-1){if(Je=Q.get(zt,zt-1)*Q.get(zt-1,zt),Bt=(Ln=(Q.get(zt-1,zt-1)-Q.get(zt,zt))/2)*Ln+Je,cr=Math.sqrt(Math.abs(Bt)),Q.set(zt,zt,Q.get(zt,zt)+ur),Q.set(zt-1,zt-1,Q.get(zt-1,zt-1)+ur),Ot=Q.get(zt,zt),Bt>=0){for(cr=Ln>=0?Ln+cr:Ln-cr,k[zt-1]=Ot+cr,k[zt]=k[zt-1],cr!==0&&(k[zt]=Ot-Je/cr),P[zt-1]=0,P[zt]=0,Ln=(Ot=Q.get(zt,zt-1))/(_n=Math.abs(Ot)+Math.abs(cr)),Bt=cr/_n,Ln/=En=Math.sqrt(Ln*Ln+Bt*Bt),Bt/=En,V=zt-1;V<W;V++)cr=Q.get(zt-1,V),Q.set(zt-1,V,Bt*cr+Ln*Q.get(zt,V)),Q.set(zt,V,Bt*Q.get(zt,V)-Ln*cr);for(F=0;F<=zt;F++)cr=Q.get(F,zt-1),Q.set(F,zt-1,Bt*cr+Ln*Q.get(F,zt)),Q.set(F,zt,Bt*Q.get(F,zt)-Ln*cr);for(F=0;F<=ir;F++)cr=z.get(F,zt-1),z.set(F,zt-1,Bt*cr+Ln*z.get(F,zt)),z.set(F,zt,Bt*z.get(F,zt)-Ln*cr)}else k[zt-1]=Ot+Ln,k[zt]=Ot+Ln,P[zt-1]=cr,P[zt]=-cr;zt-=2,ao=0}else{if(Ot=Q.get(zt,zt),It=0,Je=0,ge<zt&&(It=Q.get(zt-1,zt-1),Je=Q.get(zt,zt-1)*Q.get(zt-1,zt)),ao===10){for(ur+=Ot,F=0;F<=zt;F++)Q.set(F,F,Q.get(F,F)-Ot);Ot=It=.75*(_n=Math.abs(Q.get(zt,zt-1))+Math.abs(Q.get(zt-1,zt-2))),Je=-.4375*_n*_n}if(ao===30&&(_n=(_n=(It-Ot)/2)*_n+Je)>0){for(_n=Math.sqrt(_n),It<Ot&&(_n=-_n),_n=Ot-Je/((It-Ot)/2+_n),F=0;F<=zt;F++)Q.set(F,F,Q.get(F,F)-_n);ur+=_n,Ot=It=Je=.964}for(ao+=1,ke=zt-2;ke>=ge&&(Ln=((En=Ot-(cr=Q.get(ke,ke)))*(_n=It-cr)-Je)/Q.get(ke+1,ke)+Q.get(ke,ke+1),Bt=Q.get(ke+1,ke+1)-cr-En-_n,En=Q.get(ke+2,ke+1),Ln/=_n=Math.abs(Ln)+Math.abs(Bt)+Math.abs(En),Bt/=_n,En/=_n,ke!==ge)&&!(Math.abs(Q.get(ke,ke-1))*(Math.abs(Bt)+Math.abs(En))<nr*(Math.abs(Ln)*(Math.abs(Q.get(ke-1,ke-1))+Math.abs(cr)+Math.abs(Q.get(ke+1,ke+1)))));)ke--;for(F=ke+2;F<=zt;F++)Q.set(F,F-2,0),F>ke+2&&Q.set(F,F-3,0);for(U=ke;U<=zt-1&&(vn=U!==zt-1,U!==ke&&(Ln=Q.get(U,U-1),Bt=Q.get(U+1,U-1),En=vn?Q.get(U+2,U-1):0,(Ot=Math.abs(Ln)+Math.abs(Bt)+Math.abs(En))!==0&&(Ln/=Ot,Bt/=Ot,En/=Ot)),Ot!==0);U++)if(_n=Math.sqrt(Ln*Ln+Bt*Bt+En*En),Ln<0&&(_n=-_n),_n!==0){for(U!==ke?Q.set(U,U-1,-_n*Ot):ge!==ke&&Q.set(U,U-1,-Q.get(U,U-1)),Ot=(Ln+=_n)/_n,It=Bt/_n,cr=En/_n,Bt/=Ln,En/=Ln,V=U;V<W;V++)Ln=Q.get(U,V)+Bt*Q.get(U+1,V),vn&&(Ln+=En*Q.get(U+2,V),Q.set(U+2,V,Q.get(U+2,V)-Ln*cr)),Q.set(U,V,Q.get(U,V)-Ln*Ot),Q.set(U+1,V,Q.get(U+1,V)-Ln*It);for(F=0;F<=Math.min(zt,U+3);F++)Ln=Ot*Q.get(F,U)+It*Q.get(F,U+1),vn&&(Ln+=cr*Q.get(F,U+2),Q.set(F,U+2,Q.get(F,U+2)-Ln*En)),Q.set(F,U,Q.get(F,U)-Ln),Q.set(F,U+1,Q.get(F,U+1)-Ln*Bt);for(F=0;F<=ir;F++)Ln=Ot*z.get(F,U)+It*z.get(F,U+1),vn&&(Ln+=cr*z.get(F,U+2),z.set(F,U+2,z.get(F,U+2)-Ln*En)),z.set(F,U,z.get(F,U)-Ln),z.set(F,U+1,z.get(F,U+1)-Ln*Bt)}}}if(sr!==0){for(zt=W-1;zt>=0;zt--)if(Ln=k[zt],(Bt=P[zt])===0)for(ge=zt,Q.set(zt,zt,1),F=zt-1;F>=0;F--){for(Je=Q.get(F,F)-Ln,En=0,V=ge;V<=zt;V++)En+=Q.get(F,V)*Q.get(V,zt);if(P[F]<0)cr=Je,_n=En;else if(ge=F,P[F]===0?Q.set(F,zt,Je!==0?-En/Je:-En/(nr*sr)):(Ot=Q.get(F,F+1),It=Q.get(F+1,F),St=(Ot*_n-cr*En)/(Bt=(k[F]-Ln)*(k[F]-Ln)+P[F]*P[F]),Q.set(F,zt,St),Q.set(F+1,zt,Math.abs(Ot)>Math.abs(cr)?(-En-Je*St)/Ot:(-_n-It*St)/cr)),nr*(St=Math.abs(Q.get(F,zt)))*St>1)for(V=F;V<=zt;V++)Q.set(V,zt,Q.get(V,zt)/St)}else if(Bt<0)for(ge=zt-1,Math.abs(Q.get(zt,zt-1))>Math.abs(Q.get(zt-1,zt))?(Q.set(zt-1,zt-1,Bt/Q.get(zt,zt-1)),Q.set(zt-1,zt,-(Q.get(zt,zt)-Ln)/Q.get(zt,zt-1))):(Vn=Ar(0,-Q.get(zt-1,zt),Q.get(zt-1,zt-1)-Ln,Bt),Q.set(zt-1,zt-1,Vn[0]),Q.set(zt-1,zt,Vn[1])),Q.set(zt,zt-1,0),Q.set(zt,zt,1),F=zt-2;F>=0;F--){for(jt=0,Vt=0,V=ge;V<=zt;V++)jt+=Q.get(F,V)*Q.get(V,zt-1),Vt+=Q.get(F,V)*Q.get(V,zt);if(Je=Q.get(F,F)-Ln,P[F]<0)cr=Je,En=jt,_n=Vt;else if(ge=F,P[F]===0?(Vn=Ar(-jt,-Vt,Je,Bt),Q.set(F,zt-1,Vn[0]),Q.set(F,zt,Vn[1])):(Ot=Q.get(F,F+1),It=Q.get(F+1,F),Pn=(k[F]-Ln)*(k[F]-Ln)+P[F]*P[F]-Bt*Bt,Jn=2*(k[F]-Ln)*Bt,Pn===0&&Jn===0&&(Pn=nr*sr*(Math.abs(Je)+Math.abs(Bt)+Math.abs(Ot)+Math.abs(It)+Math.abs(cr))),Vn=Ar(Ot*En-cr*jt+Bt*Vt,Ot*_n-cr*Vt-Bt*jt,Pn,Jn),Q.set(F,zt-1,Vn[0]),Q.set(F,zt,Vn[1]),Math.abs(Ot)>Math.abs(cr)+Math.abs(Bt)?(Q.set(F+1,zt-1,(-jt-Je*Q.get(F,zt-1)+Bt*Q.get(F,zt))/Ot),Q.set(F+1,zt,(-Vt-Je*Q.get(F,zt)-Bt*Q.get(F,zt-1))/Ot)):(Vn=Ar(-En-It*Q.get(F,zt-1),-_n-It*Q.get(F,zt),cr,Bt),Q.set(F+1,zt-1,Vn[0]),Q.set(F+1,zt,Vn[1]))),nr*(St=Math.max(Math.abs(Q.get(F,zt-1)),Math.abs(Q.get(F,zt))))*St>1)for(V=F;V<=zt;V++)Q.set(V,zt-1,Q.get(V,zt-1)/St),Q.set(V,zt,Q.get(V,zt)/St)}for(F=0;F<W;F++)if(F<0||F>ir)for(V=F;V<W;V++)z.set(F,V,Q.get(F,V));for(V=W-1;V>=0;V--)for(F=0;F<=ir;F++){for(cr=0,U=0;U<=Math.min(V,ir);U++)cr+=z.get(F,U)*Q.get(U,V);z.set(F,V,cr)}}}function Ar(W,P,k,z){var Q,F;return Math.abs(k)>Math.abs(z)?[(W+(Q=z/k)*P)/(F=k+Q*z),(P-Q*W)/F]:[((Q=k/z)*W+P)/(F=z+Q*k),(Q*P-W)/F]}function Gr(W){return(Gr=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function Pr(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(Gr(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(Gr(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),Gr(F)===\"symbol\"?F:String(F)),z)}var Q,F}var Xr=function(){function W(Q){if(function(jt,Vt){if(!(jt instanceof Vt))throw new TypeError(\"Cannot call a class as a function\")}(this,W),!(Q=Cn.checkMatrix(Q)).isSymmetric())throw new Error(\"Matrix is not symmetric\");var F,V,U,ge=Q,ke=ge.rows,St=new we(ke,ke),Je=!0;for(V=0;V<ke;V++){var Ot=0;for(U=0;U<V;U++){var It=0;for(F=0;F<U;F++)It+=St.get(U,F)*St.get(V,F);It=(ge.get(V,U)-It)/St.get(U,U),St.set(V,U,It),Ot+=It*It}for(Je&=(Ot=ge.get(V,V)-Ot)>0,St.set(V,V,Math.sqrt(Math.max(Ot,0))),U=V+1;U<ke;U++)St.set(V,U,0)}this.L=St,this.positiveDefinite=Boolean(Je)}var P,k,z;return P=W,(k=[{key:\"isPositiveDefinite\",value:function(){return this.positiveDefinite}},{key:\"solve\",value:function(Q){Q=Cn.checkMatrix(Q);var F=this.L,V=F.rows;if(Q.rows!==V)throw new Error(\"Matrix dimensions do not match\");if(this.isPositiveDefinite()===!1)throw new Error(\"Matrix is not positive definite\");var U,ge,ke,St=Q.columns,Je=Q.clone();for(ke=0;ke<V;ke++)for(ge=0;ge<St;ge++){for(U=0;U<ke;U++)Je.set(ke,ge,Je.get(ke,ge)-Je.get(U,ge)*F.get(ke,U));Je.set(ke,ge,Je.get(ke,ge)/F.get(ke,ke))}for(ke=V-1;ke>=0;ke--)for(ge=0;ge<St;ge++){for(U=ke+1;U<V;U++)Je.set(ke,ge,Je.get(ke,ge)-Je.get(U,ge)*F.get(U,ke));Je.set(ke,ge,Je.get(ke,ge)/F.get(ke,ke))}return Je}},{key:\"lowerTriangularMatrix\",get:function(){return this.L}}])&&Pr(P.prototype,k),z&&Pr(P,z),Object.defineProperty(P,\"prototype\",{writable:!1}),W}();function oo(W){return(oo=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(P){return typeof P}:function(P){return P&&typeof Symbol==\"function\"&&P.constructor===Symbol&&P!==Symbol.prototype?\"symbol\":typeof P})(W)}function io(W,P){for(var k=0;k<P.length;k++){var z=P[k];z.enumerable=z.enumerable||!1,z.configurable=!0,\"value\"in z&&(z.writable=!0),Object.defineProperty(W,(Q=z.key,F=void 0,F=function(V,U){if(oo(V)!==\"object\"||V===null)return V;var ge=V[Symbol.toPrimitive];if(ge!==void 0){var ke=ge.call(V,U||\"default\");if(oo(ke)!==\"object\")return ke;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(U===\"string\"?String:Number)(V)}(Q,\"string\"),oo(F)===\"symbol\"?F:String(F)),z)}var Q,F}function to(W,P,k){return P&&io(W.prototype,P),k&&io(W,k),Object.defineProperty(W,\"prototype\",{writable:!1}),W}function To(W,P){if(!(W instanceof P))throw new TypeError(\"Cannot call a class as a function\")}var jn=to(function W(P){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};To(this,W),P=Cn.checkMatrix(P);var z,Q=k.Y,F=k.scaleScores,V=F!==void 0&&F,U=k.maxIterations,ge=U===void 0?1e3:U,ke=k.terminationCriteria,St=ke===void 0?1e-10:ke;if(Q){if((Q=N(Q)&&typeof Q[0]==\"number\"?we.columnVector(Q):Cn.checkMatrix(Q)).rows!==P.rows)throw new Error(\"Y should have the same number of rows as X\");z=Q.getColumnVector(0)}else z=P.getColumnVector(0);for(var Je,Ot,It,jt,Vt=1,Pn=0;Pn<ge&&Vt>St;Pn++)It=(It=P.transpose().mmul(z).div(z.transpose().mmul(z).get(0,0))).div(It.norm()),Je=P.mmul(It).div(It.transpose().mmul(It).get(0,0)),Pn>0&&(Vt=Je.clone().sub(jt).pow(2).sum()),jt=Je.clone(),Q?(Ot=(Ot=Q.transpose().mmul(Je).div(Je.transpose().mmul(Je).get(0,0))).div(Ot.norm()),z=Q.mmul(Ot).div(Ot.transpose().mmul(Ot).get(0,0))):z=Je;if(Q){var Jn=P.transpose().mmul(Je).div(Je.transpose().mmul(Je).get(0,0));Jn=Jn.div(Jn.norm());var vn=P.clone().sub(Je.clone().mmul(Jn.transpose())),Vn=z.transpose().mmul(Je).div(Je.transpose().mmul(Je).get(0,0)),zt=Q.clone().sub(Je.clone().mulS(Vn.get(0,0)).mmul(Ot.transpose()));this.t=Je,this.p=Jn.transpose(),this.w=It.transpose(),this.q=Ot,this.u=z,this.s=Je.transpose().mmul(Je),this.xResidual=vn,this.yResidual=zt,this.betas=Vn}else this.w=It.transpose(),this.s=Je.transpose().mmul(Je).sqrt(),this.t=V?Je.clone().div(this.s.get(0,0)):Je,this.xResidual=P.sub(Je.mmul(It.transpose()))})},function(Ee,c,r){\"use strict\";r.r(c),r.d(c,\"World\",function(){return Gt}),r.d(c,\"Kernel\",function(){return _e});var y=r(25),N=r.n(y),C=r(3),w=r.n(C),O=r(13),b=r.n(O),p=r(14),u=r.n(p),a=r(34),f=r.n(a),h=r(115),l=r.n(h),s=r(116),m=r.n(s),x=r(17),M=r.n(x),E=1;function j(){return E++}var L,A;(A=L||(L={}))[A.DEPTH_BUFFER_BIT=256]=\"DEPTH_BUFFER_BIT\",A[A.STENCIL_BUFFER_BIT=1024]=\"STENCIL_BUFFER_BIT\",A[A.COLOR_BUFFER_BIT=16384]=\"COLOR_BUFFER_BIT\",A[A.POINTS=0]=\"POINTS\",A[A.LINES=1]=\"LINES\",A[A.LINE_LOOP=2]=\"LINE_LOOP\",A[A.LINE_STRIP=3]=\"LINE_STRIP\",A[A.TRIANGLES=4]=\"TRIANGLES\",A[A.TRIANGLE_STRIP=5]=\"TRIANGLE_STRIP\",A[A.TRIANGLE_FAN=6]=\"TRIANGLE_FAN\",A[A.ZERO=0]=\"ZERO\",A[A.ONE=1]=\"ONE\",A[A.SRC_COLOR=768]=\"SRC_COLOR\",A[A.ONE_MINUS_SRC_COLOR=769]=\"ONE_MINUS_SRC_COLOR\",A[A.SRC_ALPHA=770]=\"SRC_ALPHA\",A[A.ONE_MINUS_SRC_ALPHA=771]=\"ONE_MINUS_SRC_ALPHA\",A[A.DST_ALPHA=772]=\"DST_ALPHA\",A[A.ONE_MINUS_DST_ALPHA=773]=\"ONE_MINUS_DST_ALPHA\",A[A.DST_COLOR=774]=\"DST_COLOR\",A[A.ONE_MINUS_DST_COLOR=775]=\"ONE_MINUS_DST_COLOR\",A[A.SRC_ALPHA_SATURATE=776]=\"SRC_ALPHA_SATURATE\",A[A.FUNC_ADD=32774]=\"FUNC_ADD\",A[A.BLEND_EQUATION=32777]=\"BLEND_EQUATION\",A[A.BLEND_EQUATION_RGB=32777]=\"BLEND_EQUATION_RGB\",A[A.BLEND_EQUATION_ALPHA=34877]=\"BLEND_EQUATION_ALPHA\",A[A.FUNC_SUBTRACT=32778]=\"FUNC_SUBTRACT\",A[A.FUNC_REVERSE_SUBTRACT=32779]=\"FUNC_REVERSE_SUBTRACT\",A[A.MAX_EXT=32776]=\"MAX_EXT\",A[A.MIN_EXT=32775]=\"MIN_EXT\",A[A.BLEND_DST_RGB=32968]=\"BLEND_DST_RGB\",A[A.BLEND_SRC_RGB=32969]=\"BLEND_SRC_RGB\",A[A.BLEND_DST_ALPHA=32970]=\"BLEND_DST_ALPHA\",A[A.BLEND_SRC_ALPHA=32971]=\"BLEND_SRC_ALPHA\",A[A.CONSTANT_COLOR=32769]=\"CONSTANT_COLOR\",A[A.ONE_MINUS_CONSTANT_COLOR=32770]=\"ONE_MINUS_CONSTANT_COLOR\",A[A.CONSTANT_ALPHA=32771]=\"CONSTANT_ALPHA\",A[A.ONE_MINUS_CONSTANT_ALPHA=32772]=\"ONE_MINUS_CONSTANT_ALPHA\",A[A.BLEND_COLOR=32773]=\"BLEND_COLOR\",A[A.ARRAY_BUFFER=34962]=\"ARRAY_BUFFER\",A[A.ELEMENT_ARRAY_BUFFER=34963]=\"ELEMENT_ARRAY_BUFFER\",A[A.ARRAY_BUFFER_BINDING=34964]=\"ARRAY_BUFFER_BINDING\",A[A.ELEMENT_ARRAY_BUFFER_BINDING=34965]=\"ELEMENT_ARRAY_BUFFER_BINDING\",A[A.STREAM_DRAW=35040]=\"STREAM_DRAW\",A[A.STATIC_DRAW=35044]=\"STATIC_DRAW\",A[A.DYNAMIC_DRAW=35048]=\"DYNAMIC_DRAW\",A[A.BUFFER_SIZE=34660]=\"BUFFER_SIZE\",A[A.BUFFER_USAGE=34661]=\"BUFFER_USAGE\",A[A.CURRENT_VERTEX_ATTRIB=34342]=\"CURRENT_VERTEX_ATTRIB\",A[A.FRONT=1028]=\"FRONT\",A[A.BACK=1029]=\"BACK\",A[A.FRONT_AND_BACK=1032]=\"FRONT_AND_BACK\",A[A.CULL_FACE=2884]=\"CULL_FACE\",A[A.BLEND=3042]=\"BLEND\",A[A.DITHER=3024]=\"DITHER\",A[A.STENCIL_TEST=2960]=\"STENCIL_TEST\",A[A.DEPTH_TEST=2929]=\"DEPTH_TEST\",A[A.SCISSOR_TEST=3089]=\"SCISSOR_TEST\",A[A.POLYGON_OFFSET_FILL=32823]=\"POLYGON_OFFSET_FILL\",A[A.SAMPLE_ALPHA_TO_COVERAGE=32926]=\"SAMPLE_ALPHA_TO_COVERAGE\",A[A.SAMPLE_COVERAGE=32928]=\"SAMPLE_COVERAGE\",A[A.NO_ERROR=0]=\"NO_ERROR\",A[A.INVALID_ENUM=1280]=\"INVALID_ENUM\",A[A.INVALID_VALUE=1281]=\"INVALID_VALUE\",A[A.INVALID_OPERATION=1282]=\"INVALID_OPERATION\",A[A.OUT_OF_MEMORY=1285]=\"OUT_OF_MEMORY\",A[A.CW=2304]=\"CW\",A[A.CCW=2305]=\"CCW\",A[A.LINE_WIDTH=2849]=\"LINE_WIDTH\",A[A.ALIASED_POINT_SIZE_RANGE=33901]=\"ALIASED_POINT_SIZE_RANGE\",A[A.ALIASED_LINE_WIDTH_RANGE=33902]=\"ALIASED_LINE_WIDTH_RANGE\",A[A.CULL_FACE_MODE=2885]=\"CULL_FACE_MODE\",A[A.FRONT_FACE=2886]=\"FRONT_FACE\",A[A.DEPTH_RANGE=2928]=\"DEPTH_RANGE\",A[A.DEPTH_WRITEMASK=2930]=\"DEPTH_WRITEMASK\",A[A.DEPTH_CLEAR_VALUE=2931]=\"DEPTH_CLEAR_VALUE\",A[A.DEPTH_FUNC=2932]=\"DEPTH_FUNC\",A[A.STENCIL_CLEAR_VALUE=2961]=\"STENCIL_CLEAR_VALUE\",A[A.STENCIL_FUNC=2962]=\"STENCIL_FUNC\",A[A.STENCIL_FAIL=2964]=\"STENCIL_FAIL\",A[A.STENCIL_PASS_DEPTH_FAIL=2965]=\"STENCIL_PASS_DEPTH_FAIL\",A[A.STENCIL_PASS_DEPTH_PASS=2966]=\"STENCIL_PASS_DEPTH_PASS\",A[A.STENCIL_REF=2967]=\"STENCIL_REF\",A[A.STENCIL_VALUE_MASK=2963]=\"STENCIL_VALUE_MASK\",A[A.STENCIL_WRITEMASK=2968]=\"STENCIL_WRITEMASK\",A[A.STENCIL_BACK_FUNC=34816]=\"STENCIL_BACK_FUNC\",A[A.STENCIL_BACK_FAIL=34817]=\"STENCIL_BACK_FAIL\",A[A.STENCIL_BACK_PASS_DEPTH_FAIL=34818]=\"STENCIL_BACK_PASS_DEPTH_FAIL\",A[A.STENCIL_BACK_PASS_DEPTH_PASS=34819]=\"STENCIL_BACK_PASS_DEPTH_PASS\",A[A.STENCIL_BACK_REF=36003]=\"STENCIL_BACK_REF\",A[A.STENCIL_BACK_VALUE_MASK=36004]=\"STENCIL_BACK_VALUE_MASK\",A[A.STENCIL_BACK_WRITEMASK=36005]=\"STENCIL_BACK_WRITEMASK\",A[A.VIEWPORT=2978]=\"VIEWPORT\",A[A.SCISSOR_BOX=3088]=\"SCISSOR_BOX\",A[A.COLOR_CLEAR_VALUE=3106]=\"COLOR_CLEAR_VALUE\",A[A.COLOR_WRITEMASK=3107]=\"COLOR_WRITEMASK\",A[A.UNPACK_ALIGNMENT=3317]=\"UNPACK_ALIGNMENT\",A[A.PACK_ALIGNMENT=3333]=\"PACK_ALIGNMENT\",A[A.MAX_TEXTURE_SIZE=3379]=\"MAX_TEXTURE_SIZE\",A[A.MAX_VIEWPORT_DIMS=3386]=\"MAX_VIEWPORT_DIMS\",A[A.SUBPIXEL_BITS=3408]=\"SUBPIXEL_BITS\",A[A.RED_BITS=3410]=\"RED_BITS\",A[A.GREEN_BITS=3411]=\"GREEN_BITS\",A[A.BLUE_BITS=3412]=\"BLUE_BITS\",A[A.ALPHA_BITS=3413]=\"ALPHA_BITS\",A[A.DEPTH_BITS=3414]=\"DEPTH_BITS\",A[A.STENCIL_BITS=3415]=\"STENCIL_BITS\",A[A.POLYGON_OFFSET_UNITS=10752]=\"POLYGON_OFFSET_UNITS\",A[A.POLYGON_OFFSET_FACTOR=32824]=\"POLYGON_OFFSET_FACTOR\",A[A.TEXTURE_BINDING_2D=32873]=\"TEXTURE_BINDING_2D\",A[A.SAMPLE_BUFFERS=32936]=\"SAMPLE_BUFFERS\",A[A.SAMPLES=32937]=\"SAMPLES\",A[A.SAMPLE_COVERAGE_VALUE=32938]=\"SAMPLE_COVERAGE_VALUE\",A[A.SAMPLE_COVERAGE_INVERT=32939]=\"SAMPLE_COVERAGE_INVERT\",A[A.COMPRESSED_TEXTURE_FORMATS=34467]=\"COMPRESSED_TEXTURE_FORMATS\",A[A.DONT_CARE=4352]=\"DONT_CARE\",A[A.FASTEST=4353]=\"FASTEST\",A[A.NICEST=4354]=\"NICEST\",A[A.GENERATE_MIPMAP_HINT=33170]=\"GENERATE_MIPMAP_HINT\",A[A.BYTE=5120]=\"BYTE\",A[A.UNSIGNED_BYTE=5121]=\"UNSIGNED_BYTE\",A[A.SHORT=5122]=\"SHORT\",A[A.UNSIGNED_SHORT=5123]=\"UNSIGNED_SHORT\",A[A.INT=5124]=\"INT\",A[A.UNSIGNED_INT=5125]=\"UNSIGNED_INT\",A[A.FLOAT=5126]=\"FLOAT\",A[A.DEPTH_COMPONENT=6402]=\"DEPTH_COMPONENT\",A[A.ALPHA=6406]=\"ALPHA\",A[A.RGB=6407]=\"RGB\",A[A.RGBA=6408]=\"RGBA\",A[A.LUMINANCE=6409]=\"LUMINANCE\",A[A.LUMINANCE_ALPHA=6410]=\"LUMINANCE_ALPHA\",A[A.UNSIGNED_SHORT_4_4_4_4=32819]=\"UNSIGNED_SHORT_4_4_4_4\",A[A.UNSIGNED_SHORT_5_5_5_1=32820]=\"UNSIGNED_SHORT_5_5_5_1\",A[A.UNSIGNED_SHORT_5_6_5=33635]=\"UNSIGNED_SHORT_5_6_5\",A[A.FRAGMENT_SHADER=35632]=\"FRAGMENT_SHADER\",A[A.VERTEX_SHADER=35633]=\"VERTEX_SHADER\",A[A.MAX_VERTEX_ATTRIBS=34921]=\"MAX_VERTEX_ATTRIBS\",A[A.MAX_VERTEX_UNIFORM_VECTORS=36347]=\"MAX_VERTEX_UNIFORM_VECTORS\",A[A.MAX_VARYING_VECTORS=36348]=\"MAX_VARYING_VECTORS\",A[A.MAX_COMBINED_TEXTURE_IMAGE_UNITS=35661]=\"MAX_COMBINED_TEXTURE_IMAGE_UNITS\",A[A.MAX_VERTEX_TEXTURE_IMAGE_UNITS=35660]=\"MAX_VERTEX_TEXTURE_IMAGE_UNITS\",A[A.MAX_TEXTURE_IMAGE_UNITS=34930]=\"MAX_TEXTURE_IMAGE_UNITS\",A[A.MAX_FRAGMENT_UNIFORM_VECTORS=36349]=\"MAX_FRAGMENT_UNIFORM_VECTORS\",A[A.SHADER_TYPE=35663]=\"SHADER_TYPE\",A[A.DELETE_STATUS=35712]=\"DELETE_STATUS\",A[A.LINK_STATUS=35714]=\"LINK_STATUS\",A[A.VALIDATE_STATUS=35715]=\"VALIDATE_STATUS\",A[A.ATTACHED_SHADERS=35717]=\"ATTACHED_SHADERS\",A[A.ACTIVE_UNIFORMS=35718]=\"ACTIVE_UNIFORMS\",A[A.ACTIVE_ATTRIBUTES=35721]=\"ACTIVE_ATTRIBUTES\",A[A.SHADING_LANGUAGE_VERSION=35724]=\"SHADING_LANGUAGE_VERSION\",A[A.CURRENT_PROGRAM=35725]=\"CURRENT_PROGRAM\",A[A.NEVER=512]=\"NEVER\",A[A.LESS=513]=\"LESS\",A[A.EQUAL=514]=\"EQUAL\",A[A.LEQUAL=515]=\"LEQUAL\",A[A.GREATER=516]=\"GREATER\",A[A.NOTEQUAL=517]=\"NOTEQUAL\",A[A.GEQUAL=518]=\"GEQUAL\",A[A.ALWAYS=519]=\"ALWAYS\",A[A.KEEP=7680]=\"KEEP\",A[A.REPLACE=7681]=\"REPLACE\",A[A.INCR=7682]=\"INCR\",A[A.DECR=7683]=\"DECR\",A[A.INVERT=5386]=\"INVERT\",A[A.INCR_WRAP=34055]=\"INCR_WRAP\",A[A.DECR_WRAP=34056]=\"DECR_WRAP\",A[A.VENDOR=7936]=\"VENDOR\",A[A.RENDERER=7937]=\"RENDERER\",A[A.VERSION=7938]=\"VERSION\",A[A.NEAREST=9728]=\"NEAREST\",A[A.LINEAR=9729]=\"LINEAR\",A[A.NEAREST_MIPMAP_NEAREST=9984]=\"NEAREST_MIPMAP_NEAREST\",A[A.LINEAR_MIPMAP_NEAREST=9985]=\"LINEAR_MIPMAP_NEAREST\",A[A.NEAREST_MIPMAP_LINEAR=9986]=\"NEAREST_MIPMAP_LINEAR\",A[A.LINEAR_MIPMAP_LINEAR=9987]=\"LINEAR_MIPMAP_LINEAR\",A[A.TEXTURE_MAG_FILTER=10240]=\"TEXTURE_MAG_FILTER\",A[A.TEXTURE_MIN_FILTER=10241]=\"TEXTURE_MIN_FILTER\",A[A.TEXTURE_WRAP_S=10242]=\"TEXTURE_WRAP_S\",A[A.TEXTURE_WRAP_T=10243]=\"TEXTURE_WRAP_T\",A[A.TEXTURE_2D=3553]=\"TEXTURE_2D\",A[A.TEXTURE=5890]=\"TEXTURE\",A[A.TEXTURE_CUBE_MAP=34067]=\"TEXTURE_CUBE_MAP\",A[A.TEXTURE_BINDING_CUBE_MAP=34068]=\"TEXTURE_BINDING_CUBE_MAP\",A[A.TEXTURE_CUBE_MAP_POSITIVE_X=34069]=\"TEXTURE_CUBE_MAP_POSITIVE_X\",A[A.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]=\"TEXTURE_CUBE_MAP_NEGATIVE_X\",A[A.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]=\"TEXTURE_CUBE_MAP_POSITIVE_Y\",A[A.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]=\"TEXTURE_CUBE_MAP_NEGATIVE_Y\",A[A.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]=\"TEXTURE_CUBE_MAP_POSITIVE_Z\",A[A.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]=\"TEXTURE_CUBE_MAP_NEGATIVE_Z\",A[A.MAX_CUBE_MAP_TEXTURE_SIZE=34076]=\"MAX_CUBE_MAP_TEXTURE_SIZE\",A[A.TEXTURE0=33984]=\"TEXTURE0\",A[A.TEXTURE1=33985]=\"TEXTURE1\",A[A.TEXTURE2=33986]=\"TEXTURE2\",A[A.TEXTURE3=33987]=\"TEXTURE3\",A[A.TEXTURE4=33988]=\"TEXTURE4\",A[A.TEXTURE5=33989]=\"TEXTURE5\",A[A.TEXTURE6=33990]=\"TEXTURE6\",A[A.TEXTURE7=33991]=\"TEXTURE7\",A[A.TEXTURE8=33992]=\"TEXTURE8\",A[A.TEXTURE9=33993]=\"TEXTURE9\",A[A.TEXTURE10=33994]=\"TEXTURE10\",A[A.TEXTURE11=33995]=\"TEXTURE11\",A[A.TEXTURE12=33996]=\"TEXTURE12\",A[A.TEXTURE13=33997]=\"TEXTURE13\",A[A.TEXTURE14=33998]=\"TEXTURE14\",A[A.TEXTURE15=33999]=\"TEXTURE15\",A[A.TEXTURE16=34e3]=\"TEXTURE16\",A[A.TEXTURE17=34001]=\"TEXTURE17\",A[A.TEXTURE18=34002]=\"TEXTURE18\",A[A.TEXTURE19=34003]=\"TEXTURE19\",A[A.TEXTURE20=34004]=\"TEXTURE20\",A[A.TEXTURE21=34005]=\"TEXTURE21\",A[A.TEXTURE22=34006]=\"TEXTURE22\",A[A.TEXTURE23=34007]=\"TEXTURE23\",A[A.TEXTURE24=34008]=\"TEXTURE24\",A[A.TEXTURE25=34009]=\"TEXTURE25\",A[A.TEXTURE26=34010]=\"TEXTURE26\",A[A.TEXTURE27=34011]=\"TEXTURE27\",A[A.TEXTURE28=34012]=\"TEXTURE28\",A[A.TEXTURE29=34013]=\"TEXTURE29\",A[A.TEXTURE30=34014]=\"TEXTURE30\",A[A.TEXTURE31=34015]=\"TEXTURE31\",A[A.ACTIVE_TEXTURE=34016]=\"ACTIVE_TEXTURE\",A[A.REPEAT=10497]=\"REPEAT\",A[A.CLAMP_TO_EDGE=33071]=\"CLAMP_TO_EDGE\",A[A.MIRRORED_REPEAT=33648]=\"MIRRORED_REPEAT\",A[A.FLOAT_VEC2=35664]=\"FLOAT_VEC2\",A[A.FLOAT_VEC3=35665]=\"FLOAT_VEC3\",A[A.FLOAT_VEC4=35666]=\"FLOAT_VEC4\",A[A.INT_VEC2=35667]=\"INT_VEC2\",A[A.INT_VEC3=35668]=\"INT_VEC3\",A[A.INT_VEC4=35669]=\"INT_VEC4\",A[A.BOOL=35670]=\"BOOL\",A[A.BOOL_VEC2=35671]=\"BOOL_VEC2\",A[A.BOOL_VEC3=35672]=\"BOOL_VEC3\",A[A.BOOL_VEC4=35673]=\"BOOL_VEC4\",A[A.FLOAT_MAT2=35674]=\"FLOAT_MAT2\",A[A.FLOAT_MAT3=35675]=\"FLOAT_MAT3\",A[A.FLOAT_MAT4=35676]=\"FLOAT_MAT4\",A[A.SAMPLER_2D=35678]=\"SAMPLER_2D\",A[A.SAMPLER_CUBE=35680]=\"SAMPLER_CUBE\",A[A.VERTEX_ATTRIB_ARRAY_ENABLED=34338]=\"VERTEX_ATTRIB_ARRAY_ENABLED\",A[A.VERTEX_ATTRIB_ARRAY_SIZE=34339]=\"VERTEX_ATTRIB_ARRAY_SIZE\",A[A.VERTEX_ATTRIB_ARRAY_STRIDE=34340]=\"VERTEX_ATTRIB_ARRAY_STRIDE\",A[A.VERTEX_ATTRIB_ARRAY_TYPE=34341]=\"VERTEX_ATTRIB_ARRAY_TYPE\",A[A.VERTEX_ATTRIB_ARRAY_NORMALIZED=34922]=\"VERTEX_ATTRIB_ARRAY_NORMALIZED\",A[A.VERTEX_ATTRIB_ARRAY_POINTER=34373]=\"VERTEX_ATTRIB_ARRAY_POINTER\",A[A.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING=34975]=\"VERTEX_ATTRIB_ARRAY_BUFFER_BINDING\",A[A.COMPILE_STATUS=35713]=\"COMPILE_STATUS\",A[A.LOW_FLOAT=36336]=\"LOW_FLOAT\",A[A.MEDIUM_FLOAT=36337]=\"MEDIUM_FLOAT\",A[A.HIGH_FLOAT=36338]=\"HIGH_FLOAT\",A[A.LOW_INT=36339]=\"LOW_INT\",A[A.MEDIUM_INT=36340]=\"MEDIUM_INT\",A[A.HIGH_INT=36341]=\"HIGH_INT\",A[A.FRAMEBUFFER=36160]=\"FRAMEBUFFER\",A[A.RENDERBUFFER=36161]=\"RENDERBUFFER\",A[A.RGBA4=32854]=\"RGBA4\",A[A.RGB5_A1=32855]=\"RGB5_A1\",A[A.RGB565=36194]=\"RGB565\",A[A.DEPTH_COMPONENT16=33189]=\"DEPTH_COMPONENT16\",A[A.STENCIL_INDEX=6401]=\"STENCIL_INDEX\",A[A.STENCIL_INDEX8=36168]=\"STENCIL_INDEX8\",A[A.DEPTH_STENCIL=34041]=\"DEPTH_STENCIL\",A[A.RENDERBUFFER_WIDTH=36162]=\"RENDERBUFFER_WIDTH\",A[A.RENDERBUFFER_HEIGHT=36163]=\"RENDERBUFFER_HEIGHT\",A[A.RENDERBUFFER_INTERNAL_FORMAT=36164]=\"RENDERBUFFER_INTERNAL_FORMAT\",A[A.RENDERBUFFER_RED_SIZE=36176]=\"RENDERBUFFER_RED_SIZE\",A[A.RENDERBUFFER_GREEN_SIZE=36177]=\"RENDERBUFFER_GREEN_SIZE\",A[A.RENDERBUFFER_BLUE_SIZE=36178]=\"RENDERBUFFER_BLUE_SIZE\",A[A.RENDERBUFFER_ALPHA_SIZE=36179]=\"RENDERBUFFER_ALPHA_SIZE\",A[A.RENDERBUFFER_DEPTH_SIZE=36180]=\"RENDERBUFFER_DEPTH_SIZE\",A[A.RENDERBUFFER_STENCIL_SIZE=36181]=\"RENDERBUFFER_STENCIL_SIZE\",A[A.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE=36048]=\"FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE\",A[A.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME=36049]=\"FRAMEBUFFER_ATTACHMENT_OBJECT_NAME\",A[A.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL=36050]=\"FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL\",A[A.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE=36051]=\"FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE\",A[A.COLOR_ATTACHMENT0=36064]=\"COLOR_ATTACHMENT0\",A[A.DEPTH_ATTACHMENT=36096]=\"DEPTH_ATTACHMENT\",A[A.STENCIL_ATTACHMENT=36128]=\"STENCIL_ATTACHMENT\",A[A.DEPTH_STENCIL_ATTACHMENT=33306]=\"DEPTH_STENCIL_ATTACHMENT\",A[A.NONE=0]=\"NONE\",A[A.FRAMEBUFFER_COMPLETE=36053]=\"FRAMEBUFFER_COMPLETE\",A[A.FRAMEBUFFER_INCOMPLETE_ATTACHMENT=36054]=\"FRAMEBUFFER_INCOMPLETE_ATTACHMENT\",A[A.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT=36055]=\"FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT\",A[A.FRAMEBUFFER_INCOMPLETE_DIMENSIONS=36057]=\"FRAMEBUFFER_INCOMPLETE_DIMENSIONS\",A[A.FRAMEBUFFER_UNSUPPORTED=36061]=\"FRAMEBUFFER_UNSUPPORTED\",A[A.FRAMEBUFFER_BINDING=36006]=\"FRAMEBUFFER_BINDING\",A[A.RENDERBUFFER_BINDING=36007]=\"RENDERBUFFER_BINDING\",A[A.MAX_RENDERBUFFER_SIZE=34024]=\"MAX_RENDERBUFFER_SIZE\",A[A.INVALID_FRAMEBUFFER_OPERATION=1286]=\"INVALID_FRAMEBUFFER_OPERATION\",A[A.UNPACK_FLIP_Y_WEBGL=37440]=\"UNPACK_FLIP_Y_WEBGL\",A[A.UNPACK_PREMULTIPLY_ALPHA_WEBGL=37441]=\"UNPACK_PREMULTIPLY_ALPHA_WEBGL\",A[A.CONTEXT_LOST_WEBGL=37442]=\"CONTEXT_LOST_WEBGL\",A[A.UNPACK_COLORSPACE_CONVERSION_WEBGL=37443]=\"UNPACK_COLORSPACE_CONVERSION_WEBGL\",A[A.BROWSER_DEFAULT_WEBGL=37444]=\"BROWSER_DEFAULT_WEBGL\",A[A.COPY_SRC=1]=\"COPY_SRC\",A[A.COPY_DST=2]=\"COPY_DST\",A[A.SAMPLED=4]=\"SAMPLED\",A[A.STORAGE=8]=\"STORAGE\",A[A.RENDER_ATTACHMENT=16]=\"RENDER_ATTACHMENT\";var J,q,re,me,Te=function(){function bt(){b()(this,bt),this.config=void 0}return u()(bt,[{key:\"get\",value:function(){return this.config}},{key:\"set\",value:function(Zt){this.config=Zt}}]),bt}();typeof navigator!=\"undefined\"&&/Version\\/[\\d\\.]+.*Safari/.test(navigator.userAgent),function(bt){bt.Void=\"Void\",bt.Boolean=\"Boolean\",bt.Float=\"Float\",bt.Uint32=\"Uint32\",bt.Int32=\"Int32\",bt.Vector=\"Vector\",bt.Vector2Float=\"vec2<f32>\",bt.Vector3Float=\"vec3<f32>\",bt.Vector4Float=\"vec4<f32>\",bt.Vector2Boolean=\"vec2<bool>\",bt.Vector3Boolean=\"vec3<bool>\",bt.Vector4Boolean=\"vec4<bool>\",bt.Vector2Uint=\"vec2<u32>\",bt.Vector3Uint=\"vec3<u32>\",bt.Vector4Uint=\"vec4<u32>\",bt.Vector2Int=\"vec2<i32>\",bt.Vector3Int=\"vec3<i32>\",bt.Vector4Int=\"vec4<i32>\",bt.Matrix=\"Matrix\",bt.Matrix3x3Float=\"mat3x3<f32>\",bt.Matrix4x4Float=\"mat4x4<i32>\",bt.Struct=\"Struct\",bt.FloatArray=\"Float[]\",bt.Vector4FloatArray=\"vec4<f32>[]\"}(J||(J={})),function(bt){bt.Program=\"Program\",bt.Identifier=\"Identifier\",bt.VariableDeclaration=\"VariableDeclaration\",bt.BlockStatement=\"BlockStatement\",bt.ReturnStatement=\"ReturnStatement\",bt.FunctionDeclaration=\"FunctionDeclaration\",bt.VariableDeclarator=\"VariableDeclarator\",bt.AssignmentExpression=\"AssignmentExpression\",bt.LogicalExpression=\"LogicalExpression\",bt.BinaryExpression=\"BinaryExpression\",bt.ArrayExpression=\"ArrayExpression\",bt.UnaryExpression=\"UnaryExpression\",bt.UpdateExpression=\"UpdateExpression\",bt.FunctionExpression=\"FunctionExpression\",bt.MemberExpression=\"MemberExpression\",bt.ConditionalExpression=\"ConditionalExpression\",bt.ExpressionStatement=\"ExpressionStatement\",bt.CallExpression=\"CallExpression\",bt.NumThreadStatement=\"NumThreadStatement\",bt.StorageStatement=\"StorageStatement\",bt.DoWhileStatement=\"DoWhileStatement\",bt.WhileStatement=\"WhileStatement\",bt.ForStatement=\"ForStatement\",bt.BreakStatement=\"BreakStatement\",bt.ContinueStatement=\"ContinueStatement\",bt.IfStatement=\"IfStatement\",bt.ImportedFunctionStatement=\"ImportedFunctionStatement\"}(q||(q={})),function(bt){bt.Input=\"Input\",bt.Output=\"Output\",bt.Uniform=\"Uniform\",bt.Workgroup=\"Workgroup\",bt.UniformConstant=\"UniformConstant\",bt.Image=\"Image\",bt.StorageBuffer=\"StorageBuffer\",bt.Private=\"Private\",bt.Function=\"Function\"}(re||(re={})),function(bt){bt.GLSL100=\"GLSL100\",bt.GLSL450=\"GLSL450\",bt.WGSL=\"WGSL\"}(me||(me={}));function ee(){if(typeof document!=\"undefined\")return document.createElement(\"canvas\");throw new Error(\"Cannot create a canvas in this context\")}function xe(bt,Zt){var gt=Object.keys(bt);if(Object.getOwnPropertySymbols){var Wt=Object.getOwnPropertySymbols(bt);Zt&&(Wt=Wt.filter(function(xn){return Object.getOwnPropertyDescriptor(bt,xn).enumerable})),gt.push.apply(gt,Wt)}return gt}function Ie(bt){for(var Zt=1;Zt<arguments.length;Zt++){var gt=arguments[Zt]!=null?arguments[Zt]:{};Zt%2?xe(Object(gt),!0).forEach(function(Wt){w()(bt,Wt,gt[Wt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(bt,Object.getOwnPropertyDescriptors(gt)):xe(Object(gt)).forEach(function(Wt){Object.defineProperty(bt,Wt,Object.getOwnPropertyDescriptor(gt,Wt))})}return bt}var Le,De,ce,ye,Oe,Ce,oe,he,ie,ae,ve,X,se,fe,_e=function(){function bt(xn,Dt){b()(this,bt),this.engine=xn,this.configService=Dt,this.model=void 0,this.dirty=!0,this.compiledBundle=void 0,this.initPromise=void 0}var Zt,gt,Wt;return u()(bt,[{key:\"init\",value:function(){var xn=this.configService.get(),Dt=xn.canvas,Xn=xn.engineOptions;this.initPromise=this.engine.init(Ie({canvas:Dt||ee(),antialiasing:!1},Xn))}},{key:\"setBundle\",value:function(xn){this.compiledBundle=JSON.parse(JSON.stringify(xn))}},{key:\"setDispatch\",value:function(xn){return this.compiledBundle.context&&(this.compiledBundle.context.dispatch=xn),this}},{key:\"setMaxIteration\",value:function(xn){return this.compiledBundle.context&&(this.compiledBundle.context.maxIteration=xn),this}},{key:\"setBinding\",value:function(xn,Dt){var Xn=this;if(typeof xn==\"string\"){var Rn=l()(Dt)||f()(Dt)||m()(Dt);if(this.compiledBundle&&this.compiledBundle.context){var wt=this.compiledBundle.context.defines.find(function(Ue){return Ue.name===xn});if(wt)return wt.value=Dt,this;var pt=this.compiledBundle.context.uniforms.find(function(Ue){return Ue.name===xn});pt&&(Rn?(pt.data=Dt,pt.isReferer=!1,pt.storageClass===re.Uniform?this.model&&this.model.updateUniform(xn,Dt):this.model&&this.model.updateBuffer(xn,Dt)):(pt.isReferer=!0,pt.data=Dt))}}else Object.keys(xn).forEach(function(Ue){Xn.setBinding(Ue,xn[Ue])});return this}},{key:\"execute\",value:(Wt=N()(M.a.mark(function xn(){var Dt,Xn,Rn=this,wt=arguments;return M.a.wrap(function(pt){for(;;)switch(pt.prev=pt.next){case 0:if(Dt=wt.length>0&&wt[0]!==void 0?wt[0]:1,!this.dirty){pt.next=6;break}return this.compiledBundle.context&&(Dt>1?this.compiledBundle.context.maxIteration=Dt:this.compiledBundle.context.maxIteration++),pt.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(Ue){return Ue.isReferer}).forEach(function(Ue){var xt=Ue.data,cn=Ue.name;Rn.model.confirmInput(xt.model,cn)}),Xn=0;Xn<Dt;Xn++)this.model.run();return this.engine.endFrame(),pt.abrupt(\"return\",this);case 12:case\"end\":return pt.stop()}},xn,this)})),function(){return Wt.apply(this,arguments)})},{key:\"getOutput\",value:(gt=N()(M.a.mark(function xn(){return M.a.wrap(function(Dt){for(;;)switch(Dt.prev=Dt.next){case 0:return Dt.abrupt(\"return\",this.model.readData());case 1:case\"end\":return Dt.stop()}},xn,this)})),function(){return gt.apply(this,arguments)})},{key:\"compile\",value:(Zt=N()(M.a.mark(function xn(){var Dt,Xn,Rn;return M.a.wrap(function(wt){for(;;)switch(wt.prev=wt.next){case 0:return wt.next=2,this.initPromise;case 2:return Dt=Ie({},this.compiledBundle.context),Xn=this.engine.supportWebGPU?this.engine.useWGSL?me.WGSL:me.GLSL450:me.GLSL100,Rn=this.compiledBundle.shaders[Xn],Dt.defines.filter(function(pt){return pt.runtime}).forEach(function(pt){var Ue=\"\".concat(\"__DefineValuePlaceholder__\").concat(pt.name);Rn=Rn.replace(Ue,\"\".concat(pt.value))}),Dt.shader=Rn,Dt.uniforms.forEach(function(pt){if(!pt.data&&pt.storageClass===re.StorageBuffer){var Ue=1;pt.type===J.FloatArray?Ue=1:pt.type===J.Vector4FloatArray&&(Ue=4),pt.data=new Float32Array(Dt.output.length*Ue).fill(0)}}),this.compiledBundle.context=Dt,wt.next=11,this.engine.createComputeModel(this.compiledBundle.context);case 11:this.model=wt.sent;case 12:case\"end\":return wt.stop()}},xn,this)})),function(){return Zt.apply(this,arguments)})}]),bt}(),be=r(117),We=r.n(be),we=function(){function bt(Zt,gt){b()(this,bt),this.attribute=void 0,this.buffer=void 0;var Wt=gt.buffer,xn=gt.offset,Dt=gt.stride,Xn=gt.normalized,Rn=gt.size,wt=gt.divisor;this.buffer=Wt,this.attribute={buffer:Wt.get(),offset:xn||0,stride:Dt||0,normalized:Xn||!1,divisor:wt||0},Rn&&(this.attribute.size=Rn)}return u()(bt,[{key:\"get\",value:function(){return this.attribute}},{key:\"updateBuffer\",value:function(Zt){this.buffer.subData(Zt)}},{key:\"destroy\",value:function(){this.buffer.destroy()}}]),bt}(),Ze=(Le={},w()(Le,L.POINTS,\"points\"),w()(Le,L.LINES,\"lines\"),w()(Le,L.LINE_LOOP,\"line loop\"),w()(Le,L.LINE_STRIP,\"line strip\"),w()(Le,L.TRIANGLES,\"triangles\"),w()(Le,L.TRIANGLE_FAN,\"triangle fan\"),w()(Le,L.TRIANGLE_STRIP,\"triangle strip\"),Le),Ve=(De={},w()(De,L.STATIC_DRAW,\"static\"),w()(De,L.DYNAMIC_DRAW,\"dynamic\"),w()(De,L.STREAM_DRAW,\"stream\"),De),et=(ce={},w()(ce,L.BYTE,\"int8\"),w()(ce,L.UNSIGNED_INT,\"int16\"),w()(ce,L.INT,\"int32\"),w()(ce,L.UNSIGNED_BYTE,\"uint8\"),w()(ce,L.UNSIGNED_SHORT,\"uint16\"),w()(ce,L.UNSIGNED_INT,\"uint32\"),w()(ce,L.FLOAT,\"float\"),ce),ht=(ye={},w()(ye,L.ALPHA,\"alpha\"),w()(ye,L.LUMINANCE,\"luminance\"),w()(ye,L.LUMINANCE_ALPHA,\"luminance alpha\"),w()(ye,L.RGB,\"rgb\"),w()(ye,L.RGBA,\"rgba\"),w()(ye,L.RGBA4,\"rgba4\"),w()(ye,L.RGB5_A1,\"rgb5 a1\"),w()(ye,L.RGB565,\"rgb565\"),w()(ye,L.DEPTH_COMPONENT,\"depth\"),w()(ye,L.DEPTH_STENCIL,\"depth stencil\"),ye),Fe=(Oe={},w()(Oe,L.DONT_CARE,\"dont care\"),w()(Oe,L.NICEST,\"nice\"),w()(Oe,L.FASTEST,\"fast\"),Oe),mt=(Ce={},w()(Ce,L.NEAREST,\"nearest\"),w()(Ce,L.LINEAR,\"linear\"),w()(Ce,L.LINEAR_MIPMAP_LINEAR,\"mipmap\"),w()(Ce,L.NEAREST_MIPMAP_LINEAR,\"nearest mipmap linear\"),w()(Ce,L.LINEAR_MIPMAP_NEAREST,\"linear mipmap nearest\"),w()(Ce,L.NEAREST_MIPMAP_NEAREST,\"nearest mipmap nearest\"),Ce),dt=(oe={},w()(oe,L.REPEAT,\"repeat\"),w()(oe,L.CLAMP_TO_EDGE,\"clamp\"),w()(oe,L.MIRRORED_REPEAT,\"mirror\"),oe),Lt=(he={},w()(he,L.NONE,\"none\"),w()(he,L.BROWSER_DEFAULT_WEBGL,\"browser\"),he),lt=(ie={},w()(ie,L.NEVER,\"never\"),w()(ie,L.ALWAYS,\"always\"),w()(ie,L.LESS,\"less\"),w()(ie,L.LEQUAL,\"lequal\"),w()(ie,L.GREATER,\"greater\"),w()(ie,L.GEQUAL,\"gequal\"),w()(ie,L.EQUAL,\"equal\"),w()(ie,L.NOTEQUAL,\"notequal\"),ie),rn=(ae={},w()(ae,L.FUNC_ADD,\"add\"),w()(ae,L.MIN_EXT,\"min\"),w()(ae,L.MAX_EXT,\"max\"),w()(ae,L.FUNC_SUBTRACT,\"subtract\"),w()(ae,L.FUNC_REVERSE_SUBTRACT,\"reverse subtract\"),ae),qt=(ve={},w()(ve,L.ZERO,\"zero\"),w()(ve,L.ONE,\"one\"),w()(ve,L.SRC_COLOR,\"src color\"),w()(ve,L.ONE_MINUS_SRC_COLOR,\"one minus src color\"),w()(ve,L.SRC_ALPHA,\"src alpha\"),w()(ve,L.ONE_MINUS_SRC_ALPHA,\"one minus src alpha\"),w()(ve,L.DST_COLOR,\"dst color\"),w()(ve,L.ONE_MINUS_DST_COLOR,\"one minus dst color\"),w()(ve,L.DST_ALPHA,\"dst alpha\"),w()(ve,L.ONE_MINUS_DST_ALPHA,\"one minus dst alpha\"),w()(ve,L.CONSTANT_COLOR,\"constant color\"),w()(ve,L.ONE_MINUS_CONSTANT_COLOR,\"one minus constant color\"),w()(ve,L.CONSTANT_ALPHA,\"constant alpha\"),w()(ve,L.ONE_MINUS_CONSTANT_ALPHA,\"one minus constant alpha\"),w()(ve,L.SRC_ALPHA_SATURATE,\"src alpha saturate\"),ve),hn=(X={},w()(X,L.NEVER,\"never\"),w()(X,L.ALWAYS,\"always\"),w()(X,L.LESS,\"less\"),w()(X,L.LEQUAL,\"lequal\"),w()(X,L.GREATER,\"greater\"),w()(X,L.GEQUAL,\"gequal\"),w()(X,L.EQUAL,\"equal\"),w()(X,L.NOTEQUAL,\"notequal\"),X),Kt=(se={},w()(se,L.ZERO,\"zero\"),w()(se,L.KEEP,\"keep\"),w()(se,L.REPLACE,\"replace\"),w()(se,L.INVERT,\"invert\"),w()(se,L.INCR,\"increment\"),w()(se,L.DECR,\"decrement\"),w()(se,L.INCR_WRAP,\"increment wrap\"),w()(se,L.DECR_WRAP,\"decrement wrap\"),se),an=(fe={},w()(fe,L.FRONT,\"front\"),w()(fe,L.BACK,\"back\"),fe),In=function(){function bt(Zt,gt){b()(this,bt),this.buffer=void 0;var Wt=gt.data,xn=gt.usage,Dt=gt.type;this.buffer=Zt.buffer({data:Wt,usage:Ve[xn||L.STATIC_DRAW],type:et[Dt||L.UNSIGNED_BYTE]})}return u()(bt,[{key:\"get\",value:function(){return this.buffer}},{key:\"destroy\",value:function(){}},{key:\"subData\",value:function(Zt){var gt=Zt.data,Wt=Zt.offset;this.buffer.subdata(gt,Wt)}}]),bt}(),Ft=r(118),kt=r.n(Ft);function At(bt,Zt){var gt=Object.keys(bt);if(Object.getOwnPropertySymbols){var Wt=Object.getOwnPropertySymbols(bt);Zt&&(Wt=Wt.filter(function(xn){return Object.getOwnPropertyDescriptor(bt,xn).enumerable})),gt.push.apply(gt,Wt)}return gt}function Fn(bt){for(var Zt=1;Zt<arguments.length;Zt++){var gt=arguments[Zt]!=null?arguments[Zt]:{};Zt%2?At(Object(gt),!0).forEach(function(Wt){w()(bt,Wt,gt[Wt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(bt,Object.getOwnPropertyDescriptors(gt)):At(Object(gt)).forEach(function(Wt){Object.defineProperty(bt,Wt,Object.getOwnPropertyDescriptor(gt,Wt))})}return bt}var pn=0,en=function(){function bt(gt,Wt){var xn=this;b()(this,bt),this.reGl=gt,this.context=Wt,this.entity=j(),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 Dt={};this.context.uniforms.forEach(function(Ue){var xt=Ue.name,cn=Ue.type,er=Ue.data,Mr=Ue.isReferer,xr=Ue.storageClass;if(xr===re.StorageBuffer){if(Mr)xn.textureCache[xt]={data:void 0},Dt[\"\".concat(xt,\"Size\")]=function(){return er.compiledBundle.context.output.textureSize};else{xn.textureCache[xt]=xn.calcDataTexture(xt,cn,er);var jr=xn.textureCache[xt],yo=jr.textureWidth,eo=jr.isOutput;Dt[\"\".concat(xt,\"Size\")]=[yo,yo],eo&&(xn.outputTextureName=xt,xn.context.needPingpong&&(xn.outputTextureName=\"\".concat(xt,\"Output\"),xn.textureCache[xn.outputTextureName]=xn.calcDataTexture(xt,cn,er)))}Dt[xt]=function(){return xn.textureCache[xt].texture}}else if(xr===re.Uniform){if(er&&(Array.isArray(er)||f()(er))&&er.length>16)throw new Error(\"invalid data type \".concat(cn));Dt[xt]=function(){return Ue.data}}});var Xn=this.getOuputDataTexture(),Rn=Xn.textureWidth,wt=Xn.texelCount;Dt.u_OutputTextureSize=[Rn,Rn],Dt.u_OutputTexelCount=wt,this.context.output.textureSize=[Rn,Rn];var pt={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:Dt,vert:`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}`,primitive:\"triangle strip\",count:4};this.computeCommand=this.reGl(pt)}var Zt;return u()(bt,[{key:\"run\",value:function(){var gt=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(){gt.computeCommand()})}},{key:\"readData\",value:(Zt=N()(M.a.mark(function gt(){var Wt,xn,Dt,Xn,Rn,wt,pt,Ue,xt=this;return M.a.wrap(function(cn){for(;;)switch(cn.prev=cn.next){case 0:if(this.reGl({framebuffer:this.texFBO})(function(){Wt=xt.reGl.read()}),!Wt){cn.next=6;break}if(xn=this.getOuputDataTexture(),Dt=xn.originalDataLength,Xn=xn.elementsPerTexel,Rn=xn.typedArrayConstructor,wt=Rn===void 0?Float32Array:Rn,pt=[],Xn!==4)for(Ue=0;Ue<Wt.length;Ue+=4)Xn===1?pt.push(Wt[Ue]):Xn===2?pt.push(Wt[Ue],Wt[Ue+1]):pt.push(Wt[Ue],Wt[Ue+1],Wt[Ue+2]);else pt=Wt;return cn.abrupt(\"return\",new wt(pt.slice(0,Dt)));case 6:return cn.abrupt(\"return\",new Float32Array);case 7:case\"end\":return cn.stop()}},gt,this)})),function(){return Zt.apply(this,arguments)})},{key:\"confirmInput\",value:function(gt,Wt){var xn;this.entity===gt.entity?(this.dynamicPingpong=!0,xn=this):xn=gt,this.textureCache[Wt].id=xn.getOuputDataTexture().id,this.textureCache[Wt].texture=xn.getOuputDataTexture().texture}},{key:\"updateUniform\",value:function(){}},{key:\"updateBuffer\",value:function(gt,Wt){var xn=this.context.uniforms.find(function(wt){return wt.name===gt});if(xn){var Dt=this.calcDataTexture(gt,xn.type,Wt),Xn=Dt.texture,Rn=Dt.data;this.textureCache[gt].data=Rn,this.textureCache[gt].texture=Xn}}},{key:\"destroy\",value:function(){}},{key:\"swap\",value:function(){if(this.swapOutputTextureName||this.createSwapOutputDataTexture(),this.compiledPingpong){var gt=this.context.output.name;this.textureCache[gt].id=this.getOuputDataTexture().id,this.textureCache[gt].texture=this.getOuputDataTexture().texture}var Wt=this.outputTextureName;this.outputTextureName=this.swapOutputTextureName,this.swapOutputTextureName=Wt}},{key:\"getOuputDataTexture\",value:function(){return this.textureCache[this.outputTextureName]}},{key:\"createSwapOutputDataTexture\",value:function(){var gt=this.cloneDataTexture(this.getOuputDataTexture());this.swapOutputTextureName=\"\".concat(this.entity,\"-swap\"),this.textureCache[this.swapOutputTextureName]=gt}},{key:\"cloneDataTexture\",value:function(gt){var Wt=gt.data,xn=gt.textureWidth;return Fn(Fn({},gt),{},{id:pn++,texture:this.reGl.texture({width:xn,height:xn,data:Wt,type:\"float\"})})}},{key:\"calcDataTexture\",value:function(gt,Wt,xn){var Dt=1;Wt===J.Vector4FloatArray&&(Dt=4);for(var Xn=[],Rn=0;Rn<xn.length;Rn+=Dt)Dt===1?Xn.push(xn[Rn],0,0,0):Dt===2?Xn.push(xn[Rn],xn[Rn+1],0,0):Dt===3?Xn.push(xn[Rn],xn[Rn+1],xn[Rn+2],0):Dt===4&&Xn.push(xn[Rn],xn[Rn+1],xn[Rn+2],xn[Rn+3]);var wt=xn.length,pt=Math.ceil(wt/Dt),Ue=Math.ceil(Math.sqrt(pt)),xt=Ue*Ue;pt<xt&&Xn.push.apply(Xn,kt()(new Array(4*(xt-pt)).fill(0)));var cn=this.reGl.texture({width:Ue,height:Ue,data:Xn,type:\"float\"});return{id:pn++,data:Xn,originalDataLength:wt,typedArrayConstructor:f()(xn)?xn.constructor:void 0,textureWidth:Ue,texture:cn,texelCount:pt,elementsPerTexel:Dt,isOutput:gt===this.context.output.name}}}]),bt}(),Wn=function(){function bt(Zt,gt){b()(this,bt),this.elements=void 0;var Wt=gt.data,xn=gt.usage,Dt=gt.type,Xn=gt.count;this.elements=Zt.elements({data:Wt,usage:Ve[xn||L.STATIC_DRAW],type:et[Dt||L.UNSIGNED_BYTE],count:Xn})}return u()(bt,[{key:\"get\",value:function(){return this.elements}},{key:\"subData\",value:function(Zt){var gt=Zt.data;this.elements.subdata(gt)}},{key:\"destroy\",value:function(){this.elements.destroy()}}]),bt}(),Mn=function(){function bt(Zt,gt){b()(this,bt),this.framebuffer=void 0;var Wt=gt.width,xn=gt.height,Dt=gt.color,Xn=gt.colors,Rn=(gt.depth,gt.stencil,{width:Wt,height:xn});Array.isArray(Xn)&&(Rn.colors=Xn.map(function(wt){return wt.get()})),Dt&&typeof Dt!=\"boolean\"&&(Rn.color=Dt.get()),this.framebuffer=Zt.framebuffer(Rn)}return u()(bt,[{key:\"get\",value:function(){return this.framebuffer}},{key:\"destroy\",value:function(){this.framebuffer.destroy()}},{key:\"resize\",value:function(Zt){var gt=Zt.width,Wt=Zt.height;this.framebuffer.resize(gt,Wt)}}]),bt}(),Kn=r(42),hr=r.n(Kn),pr=r(119),zr=r.n(pr);function Wr(bt){var Zt={};return Object.keys(bt).forEach(function(gt){(function Wt(xn,Dt,Xn,Rn){if(Dt===null||typeof Dt==\"number\"||typeof Dt==\"boolean\"||Array.isArray(Dt)&&typeof Dt[0]==\"number\"||f()(Dt)||Dt===\"\"||Dt.resize!==void 0)return void(Xn[\"\".concat(Rn&&Rn+\".\").concat(xn)]=Dt);zr()(Dt)&&Object.keys(Dt).forEach(function(wt){Wt(wt,Dt[wt],Xn,\"\".concat(Rn&&Rn+\".\").concat(xn))}),Array.isArray(Dt)&&Dt.forEach(function(wt,pt){Object.keys(wt).forEach(function(Ue){Wt(Ue,wt[Ue],Xn,\"\".concat(Rn&&Rn+\".\").concat(xn,\"[\").concat(pt,\"]\"))})})})(gt,bt[gt],Zt,\"\")}),Zt}function Nr(bt,Zt){var gt=Object.keys(bt);if(Object.getOwnPropertySymbols){var Wt=Object.getOwnPropertySymbols(bt);Zt&&(Wt=Wt.filter(function(xn){return Object.getOwnPropertyDescriptor(bt,xn).enumerable})),gt.push.apply(gt,Wt)}return gt}function Kr(bt){for(var Zt=1;Zt<arguments.length;Zt++){var gt=arguments[Zt]!=null?arguments[Zt]:{};Zt%2?Nr(Object(gt),!0).forEach(function(Wt){w()(bt,Wt,gt[Wt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(bt,Object.getOwnPropertyDescriptors(gt)):Nr(Object(gt)).forEach(function(Wt){Object.defineProperty(bt,Wt,Object.getOwnPropertyDescriptor(gt,Wt))})}return bt}var ko=function(){function bt(Zt,gt){b()(this,bt),this.reGl=void 0,this.drawCommand=void 0,this.uniforms={},this.reGl=Zt;var Wt=gt.vs,xn=gt.fs,Dt=gt.defines,Xn=gt.attributes,Rn=gt.uniforms,wt=gt.primitive,pt=gt.count,Ue=gt.elements,xt=gt.depth,cn=gt.blend,er=gt.stencil,Mr=gt.cull,xr=gt.instances,jr=gt.scissor,yo=gt.viewport,eo={};Rn&&(this.uniforms=Wr(Rn),Object.keys(Rn).forEach(function(mi){eo[mi]=Zt.prop(mi)}));var vi={};Object.keys(Xn).forEach(function(mi){vi[mi]=Xn[mi].get()});var Ti=Dt&&this.generateDefines(Dt)||\"\",wi={attributes:vi,frag:`#ifdef GL_FRAGMENT_PRECISION_HIGH\n  precision highp float;\n#else\n  precision mediump float;\n#endif\n`.concat(Ti,`\n`).concat(xn),uniforms:eo,vert:`\n`.concat(Ti,`\n`).concat(Wt),primitive:Ze[wt===void 0?L.TRIANGLES:wt]};xr&&(wi.instances=xr),pt&&(wi.count=pt),Ue&&(wi.elements=Ue.get()),jr&&(wi.scissor=jr),yo&&(wi.viewport=yo),this.initDepthDrawParams({depth:xt},wi),this.initBlendDrawParams({blend:cn},wi),this.initStencilDrawParams({stencil:er},wi),this.initCullDrawParams({cull:Mr},wi),this.drawCommand=Zt(wi)}return u()(bt,[{key:\"addUniforms\",value:function(Zt){this.uniforms=Kr(Kr({},this.uniforms),Wr(Zt))}},{key:\"draw\",value:function(Zt){var gt=Kr(Kr({},this.uniforms),Wr(Zt.uniforms||{})),Wt={};Object.keys(gt).forEach(function(xn){var Dt=hr()(gt[xn]);Dt===\"boolean\"||Dt===\"number\"||Array.isArray(gt[xn])||gt[xn].BYTES_PER_ELEMENT?Wt[xn]=gt[xn]:Dt===\"string\"||(Wt[xn]=gt[xn].get())}),this.drawCommand(Wt)}},{key:\"destroy\",value:function(){}},{key:\"initDepthDrawParams\",value:function(Zt,gt){var Wt=Zt.depth;Wt&&(gt.depth={enable:Wt.enable===void 0||!!Wt.enable,mask:Wt.mask===void 0||!!Wt.mask,func:lt[Wt.func||L.LESS],range:Wt.range||[0,1]})}},{key:\"initBlendDrawParams\",value:function(Zt,gt){var Wt=Zt.blend;if(Wt){var xn=Wt.enable,Dt=Wt.func,Xn=Wt.equation,Rn=Wt.color,wt=Rn===void 0?[0,0,0,0]:Rn;gt.blend={enable:!!xn,func:{srcRGB:qt[Dt&&Dt.srcRGB||L.SRC_ALPHA],srcAlpha:qt[Dt&&Dt.srcAlpha||L.SRC_ALPHA],dstRGB:qt[Dt&&Dt.dstRGB||L.ONE_MINUS_SRC_ALPHA],dstAlpha:qt[Dt&&Dt.dstAlpha||L.ONE_MINUS_SRC_ALPHA]},equation:{rgb:rn[Xn&&Xn.rgb||L.FUNC_ADD],alpha:rn[Xn&&Xn.alpha||L.FUNC_ADD]},color:wt}}}},{key:\"initStencilDrawParams\",value:function(Zt,gt){var Wt=Zt.stencil;if(Wt){var xn=Wt.enable,Dt=Wt.mask,Xn=Dt===void 0?-1:Dt,Rn=Wt.func,wt=Rn===void 0?{cmp:L.ALWAYS,ref:0,mask:-1}:Rn,pt=Wt.opFront,Ue=pt===void 0?{fail:L.KEEP,zfail:L.KEEP,zpass:L.KEEP}:pt,xt=Wt.opBack,cn=xt===void 0?{fail:L.KEEP,zfail:L.KEEP,zpass:L.KEEP}:xt;gt.stencil={enable:!!xn,mask:Xn,func:Kr(Kr({},wt),{},{cmp:hn[wt.cmp]}),opFront:{fail:Kt[Ue.fail],zfail:Kt[Ue.zfail],zpass:Kt[Ue.zpass]},opBack:{fail:Kt[cn.fail],zfail:Kt[cn.zfail],zpass:Kt[cn.zpass]}}}}},{key:\"initCullDrawParams\",value:function(Zt,gt){var Wt=Zt.cull;if(Wt){var xn=Wt.enable,Dt=Wt.face,Xn=Dt===void 0?L.BACK:Dt;gt.cull={enable:!!xn,face:an[Xn]}}}},{key:\"generateDefines\",value:function(Zt){return Object.keys(Zt).map(function(gt){return\"#define \".concat(gt,\" \").concat(Number(Zt[gt]))}).join(`\n`)}}]),bt}(),Ur=function(){function bt(Zt,gt){b()(this,bt),this.texture=void 0,this.width=void 0,this.height=void 0;var Wt=gt.data,xn=gt.type,Dt=xn===void 0?L.UNSIGNED_BYTE:xn,Xn=gt.width,Rn=gt.height,wt=gt.flipY,pt=wt!==void 0&&wt,Ue=gt.format,xt=Ue===void 0?L.RGBA:Ue,cn=gt.mipmap,er=cn!==void 0&&cn,Mr=gt.wrapS,xr=Mr===void 0?L.CLAMP_TO_EDGE:Mr,jr=gt.wrapT,yo=jr===void 0?L.CLAMP_TO_EDGE:jr,eo=gt.aniso,vi=eo===void 0?0:eo,Ti=gt.alignment,wi=Ti===void 0?1:Ti,mi=gt.premultiplyAlpha,Zi=mi!==void 0&&mi,aa=gt.mag,$e=aa===void 0?L.NEAREST:aa,dn=gt.min,Un=dn===void 0?L.NEAREST:dn,ar=gt.colorSpace,Rr=ar===void 0?L.BROWSER_DEFAULT_WEBGL:ar;this.width=Xn,this.height=Rn;var Ro={width:Xn,height:Rn,type:et[Dt],format:ht[xt],wrapS:dt[xr],wrapT:dt[yo],mag:mt[$e],min:mt[Un],alignment:wi,flipY:pt,colorSpace:Lt[Rr],premultiplyAlpha:Zi,aniso:vi};Wt&&(Ro.data=Wt),typeof er==\"number\"?Ro.mipmap=Fe[er]:typeof er==\"boolean\"&&(Ro.mipmap=er),this.texture=Zt.texture(Ro)}return u()(bt,[{key:\"get\",value:function(){return this.texture}},{key:\"update\",value:function(){this.texture._texture.bind()}},{key:\"resize\",value:function(Zt){var gt=Zt.width,Wt=Zt.height;this.texture.resize(gt,Wt),this.width=gt,this.height=Wt}},{key:\"destroy\",value:function(){this.texture.destroy()}}]),bt}(),gn=function(){function bt(){var gt=this;b()(this,bt),this.supportWebGPU=!1,this.useWGSL=!1,this.$canvas=void 0,this.gl=void 0,this.inited=void 0,this.createModel=function(){var Wt=N()(M.a.mark(function xn(Dt){return M.a.wrap(function(Xn){for(;;)switch(Xn.prev=Xn.next){case 0:if(!Dt.uniforms){Xn.next=3;break}return Xn.next=3,Promise.all(Object.keys(Dt.uniforms).map(function(){var Rn=N()(M.a.mark(function wt(pt){var Ue;return M.a.wrap(function(xt){for(;;)switch(xt.prev=xt.next){case 0:if(!Dt.uniforms[pt]||Dt.uniforms[pt].load===void 0){xt.next=5;break}return xt.next=3,Dt.uniforms[pt].load();case 3:Ue=xt.sent,Dt.uniforms[pt]=Ue;case 5:case\"end\":return xt.stop()}},wt)}));return function(wt){return Rn.apply(this,arguments)}}()));case 3:return Xn.abrupt(\"return\",new ko(gt.gl,Dt));case 4:case\"end\":return Xn.stop()}},xn)}));return function(xn){return Wt.apply(this,arguments)}}(),this.createAttribute=function(Wt){return new we(gt.gl,Wt)},this.createBuffer=function(Wt){return new In(gt.gl,Wt)},this.createElements=function(Wt){return new Wn(gt.gl,Wt)},this.createTexture2D=function(Wt){return new Ur(gt.gl,Wt)},this.createFramebuffer=function(Wt){return new Mn(gt.gl,Wt)},this.useFramebuffer=function(Wt,xn){gt.gl({framebuffer:Wt?Wt.get():null})(xn)},this.createComputeModel=function(){var Wt=N()(M.a.mark(function xn(Dt){return M.a.wrap(function(Xn){for(;;)switch(Xn.prev=Xn.next){case 0:return Xn.abrupt(\"return\",new en(gt.gl,Dt));case 1:case\"end\":return Xn.stop()}},xn)}));return function(xn){return Wt.apply(this,arguments)}}(),this.clear=function(Wt){var xn=Wt.color,Dt=Wt.depth,Xn=Wt.stencil,Rn=Wt.framebuffer,wt=Rn===void 0?null:Rn,pt={color:xn,depth:Dt,stencil:Xn};pt.framebuffer=wt===null?wt:wt.get(),gt.gl.clear(pt)},this.setScissor=function(Wt){gt.gl&&gt.gl._gl&&(Wt.enable&&Wt.box?(gt.gl._gl.enable(L.SCISSOR_TEST),gt.gl._gl.scissor(Wt.box.x,Wt.box.y,Wt.box.width,Wt.box.height)):gt.gl._gl.disable(L.SCISSOR_TEST),gt.gl._refresh())},this.viewport=function(Wt){var xn=Wt.x,Dt=Wt.y,Xn=Wt.width,Rn=Wt.height;gt.gl&&gt.gl._gl&&(gt.gl._gl.viewport(xn,Dt,Xn,Rn),gt.gl._refresh())},this.readPixels=function(Wt){var xn=Wt.framebuffer,Dt={x:Wt.x,y:Wt.y,width:Wt.width,height:Wt.height};return xn&&(Dt.framebuffer=xn.get()),gt.gl.read(Dt)},this.getCanvas=function(){return gt.$canvas},this.getGLContext=function(){return gt.gl._gl},this.destroy=function(){gt.gl&&(gt.gl.destroy(),gt.inited=!1)}}var Zt;return u()(bt,[{key:\"init\",value:(Zt=N()(M.a.mark(function gt(Wt){return M.a.wrap(function(xn){for(;;)switch(xn.prev=xn.next){case 0:if(!this.inited){xn.next=2;break}return xn.abrupt(\"return\");case 2:return this.$canvas=Wt.canvas,xn.next=5,new Promise(function(Dt,Xn){We()({canvas:Wt.canvas,attributes:{alpha:!0,antialias:Wt.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(Rn,wt){!Rn&&wt||Xn(Rn),Dt(wt)}})});case 5:this.gl=xn.sent,this.inited=!0;case 7:case\"end\":return xn.stop()}},gt,this)})),function(gt){return Zt.apply(this,arguments)})},{key:\"isFloatSupported\",value:function(){return this.gl.limits.readFloat}},{key:\"beginFrame\",value:function(){}},{key:\"endFrame\",value:function(){}}]),bt}(),Gt=function(){function bt(){b()(this,bt),this.engine=void 0,this.configService=new Te}return u()(bt,[{key:\"setConfig\",value:function(Zt){this.configService.set(Zt)}},{key:\"setEngine\",value:function(Zt){this.engine=Zt}},{key:\"createEntity\",value:function(){return j()}},{key:\"createKernel\",value:function(Zt){var gt=new _e(this.engine,this.configService);return typeof Zt==\"string\"?gt.setBundle(JSON.parse(Zt)):gt.setBundle(Zt),gt.init(),gt}},{key:\"destroy\",value:function(){this.engine.destroy()}}],[{key:\"create\",value:function(){var Zt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},gt=new bt;return gt.setConfig(Zt),gt.setEngine(new gn),gt}}]),bt}()},function(Ee,c,r){\"use strict\";var y=r(1),N=r(55),C=r(53),w=r(8),O=r(0);function b(wt){return(b=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(pt){return typeof pt}:function(pt){return pt&&typeof Symbol==\"function\"&&pt.constructor===Symbol&&pt!==Symbol.prototype?\"symbol\":typeof pt})(wt)}var p,u,a=0,f=0,h=0,l=0,s=0,m=0,x=(typeof performance==\"undefined\"?\"undefined\":b(performance))===\"object\"&&performance.now?performance:Date,M=(typeof window==\"undefined\"?\"undefined\":b(window))===\"object\"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(wt){setTimeout(wt,17)};function E(){return s||(M(j),s=x.now()+m)}function j(){s=0}function L(){this._call=this._time=this._next=null}function A(wt,pt,Ue){var xt=new L;return xt.restart(wt,pt,Ue),xt}function J(){s=(l=x.now())+m,a=f=0;try{(function(){E(),++a;for(var wt,pt=p;pt;)(wt=s-pt._time)>=0&&pt._call.call(null,wt),pt=pt._next;--a})()}finally{a=0,function(){for(var wt,pt,Ue=p,xt=1/0;Ue;)Ue._call?(xt>Ue._time&&(xt=Ue._time),wt=Ue,Ue=Ue._next):(pt=Ue._next,Ue._next=null,Ue=wt?wt._next=pt:p=pt);u=wt,re(xt)}(),s=0}}function q(){var wt=x.now(),pt=wt-l;pt>1e3&&(m-=pt,l=wt)}function re(wt){a||(f&&(f=clearTimeout(f)),wt-s>24?(wt<1/0&&(f=setTimeout(J,wt-x.now()-m)),h&&(h=clearInterval(h))):(h||(l=x.now(),h=setInterval(q,1e3)),a=1,M(J)))}L.prototype=A.prototype={constructor:L,restart:function(wt,pt,Ue){if(typeof wt!=\"function\")throw new TypeError(\"callback is not a function\");Ue=(Ue==null?E():+Ue)+(pt==null?0:+pt),this._next||u===this||(u?u._next=this:p=this,u=this),this._call=wt,this._time=Ue,re()},stop:function(){this._call&&(this._call=null,this._time=1/0,re())}};var me=function(wt,pt,Ue){wt.prototype=pt.prototype=Ue,Ue.constructor=wt};function Te(wt,pt){var Ue=Object.create(wt.prototype);for(var xt in pt)Ue[xt]=pt[xt];return Ue}function ee(){}var xe=\"\\\\s*([+-]?\\\\d+)\\\\s*\",Ie=\"\\\\s*([+-]?(?:\\\\d*\\\\.)?\\\\d+(?:[eE][+-]?\\\\d+)?)\\\\s*\",Le=\"\\\\s*([+-]?(?:\\\\d*\\\\.)?\\\\d+(?:[eE][+-]?\\\\d+)?)%\\\\s*\",De=/^#([0-9a-f]{3,8})$/,ce=new RegExp(\"^rgb\\\\(\".concat(xe,\",\").concat(xe,\",\").concat(xe,\"\\\\)$\")),ye=new RegExp(\"^rgb\\\\(\".concat(Le,\",\").concat(Le,\",\").concat(Le,\"\\\\)$\")),Oe=new RegExp(\"^rgba\\\\(\".concat(xe,\",\").concat(xe,\",\").concat(xe,\",\").concat(Ie,\"\\\\)$\")),Ce=new RegExp(\"^rgba\\\\(\".concat(Le,\",\").concat(Le,\",\").concat(Le,\",\").concat(Ie,\"\\\\)$\")),oe=new RegExp(\"^hsl\\\\(\".concat(Ie,\",\").concat(Le,\",\").concat(Le,\"\\\\)$\")),he=new RegExp(\"^hsla\\\\(\".concat(Ie,\",\").concat(Le,\",\").concat(Le,\",\").concat(Ie,\"\\\\)$\")),ie={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 ae(){return this.rgb().formatHex()}function ve(){return this.rgb().formatRgb()}function X(wt){var pt,Ue;return wt=(wt+\"\").trim().toLowerCase(),(pt=De.exec(wt))?(Ue=pt[1].length,pt=parseInt(pt[1],16),Ue===6?se(pt):Ue===3?new We(pt>>8&15|pt>>4&240,pt>>4&15|240&pt,(15&pt)<<4|15&pt,1):Ue===8?fe(pt>>24&255,pt>>16&255,pt>>8&255,(255&pt)/255):Ue===4?fe(pt>>12&15|pt>>8&240,pt>>8&15|pt>>4&240,pt>>4&15|240&pt,((15&pt)<<4|15&pt)/255):null):(pt=ce.exec(wt))?new We(pt[1],pt[2],pt[3],1):(pt=ye.exec(wt))?new We(255*pt[1]/100,255*pt[2]/100,255*pt[3]/100,1):(pt=Oe.exec(wt))?fe(pt[1],pt[2],pt[3],pt[4]):(pt=Ce.exec(wt))?fe(255*pt[1]/100,255*pt[2]/100,255*pt[3]/100,pt[4]):(pt=oe.exec(wt))?Fe(pt[1],pt[2]/100,pt[3]/100,1):(pt=he.exec(wt))?Fe(pt[1],pt[2]/100,pt[3]/100,pt[4]):ie.hasOwnProperty(wt)?se(ie[wt]):wt===\"transparent\"?new We(NaN,NaN,NaN,0):null}function se(wt){return new We(wt>>16&255,wt>>8&255,255&wt,1)}function fe(wt,pt,Ue,xt){return xt<=0&&(wt=pt=Ue=NaN),new We(wt,pt,Ue,xt)}function _e(wt){return wt instanceof ee||(wt=X(wt)),wt?new We((wt=wt.rgb()).r,wt.g,wt.b,wt.opacity):new We}function be(wt,pt,Ue,xt){return arguments.length===1?_e(wt):new We(wt,pt,Ue,xt==null?1:xt)}function We(wt,pt,Ue,xt){this.r=+wt,this.g=+pt,this.b=+Ue,this.opacity=+xt}function we(){return\"#\".concat(ht(this.r)).concat(ht(this.g)).concat(ht(this.b))}function Ze(){var wt=Ve(this.opacity);return\"\".concat(wt===1?\"rgb(\":\"rgba(\").concat(et(this.r),\", \").concat(et(this.g),\", \").concat(et(this.b)).concat(wt===1?\")\":\", \".concat(wt,\")\"))}function Ve(wt){return isNaN(wt)?1:Math.max(0,Math.min(1,wt))}function et(wt){return Math.max(0,Math.min(255,Math.round(wt)||0))}function ht(wt){return((wt=et(wt))<16?\"0\":\"\")+wt.toString(16)}function Fe(wt,pt,Ue,xt){return xt<=0?wt=pt=Ue=NaN:Ue<=0||Ue>=1?wt=pt=NaN:pt<=0&&(wt=NaN),new dt(wt,pt,Ue,xt)}function mt(wt){if(wt instanceof dt)return new dt(wt.h,wt.s,wt.l,wt.opacity);if(wt instanceof ee||(wt=X(wt)),!wt)return new dt;if(wt instanceof dt)return wt;var pt=(wt=wt.rgb()).r/255,Ue=wt.g/255,xt=wt.b/255,cn=Math.min(pt,Ue,xt),er=Math.max(pt,Ue,xt),Mr=NaN,xr=er-cn,jr=(er+cn)/2;return xr?(Mr=pt===er?(Ue-xt)/xr+6*(Ue<xt):Ue===er?(xt-pt)/xr+2:(pt-Ue)/xr+4,xr/=jr<.5?er+cn:2-er-cn,Mr*=60):xr=jr>0&&jr<1?0:Mr,new dt(Mr,xr,jr,wt.opacity)}function dt(wt,pt,Ue,xt){this.h=+wt,this.s=+pt,this.l=+Ue,this.opacity=+xt}function Lt(wt){return(wt=(wt||0)%360)<0?wt+360:wt}function lt(wt){return Math.max(0,Math.min(1,wt||0))}function rn(wt,pt,Ue){return 255*(wt<60?pt+(Ue-pt)*wt/60:wt<180?Ue:wt<240?pt+(Ue-pt)*(240-wt)/60:pt)}function qt(wt,pt,Ue,xt,cn){var er=wt*wt,Mr=er*wt;return((1-3*wt+3*er-Mr)*pt+(4-6*er+3*Mr)*Ue+(1+3*wt+3*er-3*Mr)*xt+Mr*cn)/6}me(ee,X,{copy:function(wt){return Object.assign(new this.constructor,this,wt)},displayable:function(){return this.rgb().displayable()},hex:ae,formatHex:ae,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return mt(this).formatHsl()},formatRgb:ve,toString:ve}),me(We,be,Te(ee,{brighter:function(wt){return wt=wt==null?1/.7:Math.pow(1/.7,wt),new We(this.r*wt,this.g*wt,this.b*wt,this.opacity)},darker:function(wt){return wt=wt==null?.7:Math.pow(.7,wt),new We(this.r*wt,this.g*wt,this.b*wt,this.opacity)},rgb:function(){return this},clamp:function(){return new We(et(this.r),et(this.g),et(this.b),Ve(this.opacity))},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:we,formatHex:we,formatHex8:function(){return\"#\".concat(ht(this.r)).concat(ht(this.g)).concat(ht(this.b)).concat(ht(255*(isNaN(this.opacity)?1:this.opacity)))},formatRgb:Ze,toString:Ze})),me(dt,function(wt,pt,Ue,xt){return arguments.length===1?mt(wt):new dt(wt,pt,Ue,xt==null?1:xt)},Te(ee,{brighter:function(wt){return wt=wt==null?1/.7:Math.pow(1/.7,wt),new dt(this.h,this.s,this.l*wt,this.opacity)},darker:function(wt){return wt=wt==null?.7:Math.pow(.7,wt),new dt(this.h,this.s,this.l*wt,this.opacity)},rgb:function(){var wt=this.h%360+360*(this.h<0),pt=isNaN(wt)||isNaN(this.s)?0:this.s,Ue=this.l,xt=Ue+(Ue<.5?Ue:1-Ue)*pt,cn=2*Ue-xt;return new We(rn(wt>=240?wt-240:wt+120,cn,xt),rn(wt,cn,xt),rn(wt<120?wt+240:wt-120,cn,xt),this.opacity)},clamp:function(){return new dt(Lt(this.h),lt(this.s),lt(this.l),Ve(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 wt=Ve(this.opacity);return\"\".concat(wt===1?\"hsl(\":\"hsla(\").concat(Lt(this.h),\", \").concat(100*lt(this.s),\"%, \").concat(100*lt(this.l),\"%\").concat(wt===1?\")\":\", \".concat(wt,\")\"))}}));var hn=function(wt){return function(){return wt}};function Kt(wt,pt){return function(Ue){return wt+Ue*pt}}function an(wt){return(wt=+wt)==1?In:function(pt,Ue){return Ue-pt?function(xt,cn,er){return xt=Math.pow(xt,er),cn=Math.pow(cn,er)-xt,er=1/er,function(Mr){return Math.pow(xt+Mr*cn,er)}}(pt,Ue,wt):hn(isNaN(pt)?Ue:pt)}}function In(wt,pt){var Ue=pt-wt;return Ue?Kt(wt,Ue):hn(isNaN(wt)?pt:wt)}var Ft=function wt(pt){var Ue=an(pt);function xt(cn,er){var Mr=Ue((cn=be(cn)).r,(er=be(er)).r),xr=Ue(cn.g,er.g),jr=Ue(cn.b,er.b),yo=In(cn.opacity,er.opacity);return function(eo){return cn.r=Mr(eo),cn.g=xr(eo),cn.b=jr(eo),cn.opacity=yo(eo),cn+\"\"}}return xt.gamma=wt,xt}(1);function kt(wt){return function(pt){var Ue,xt,cn=pt.length,er=new Array(cn),Mr=new Array(cn),xr=new Array(cn);for(Ue=0;Ue<cn;++Ue)xt=be(pt[Ue]),er[Ue]=xt.r||0,Mr[Ue]=xt.g||0,xr[Ue]=xt.b||0;return er=wt(er),Mr=wt(Mr),xr=wt(xr),xt.opacity=1,function(jr){return xt.r=er(jr),xt.g=Mr(jr),xt.b=xr(jr),xt+\"\"}}}kt(function(wt){var pt=wt.length-1;return function(Ue){var xt=Ue<=0?Ue=0:Ue>=1?(Ue=1,pt-1):Math.floor(Ue*pt),cn=wt[xt],er=wt[xt+1],Mr=xt>0?wt[xt-1]:2*cn-er,xr=xt<pt-1?wt[xt+2]:2*er-cn;return qt((Ue-xt/pt)*pt,Mr,cn,er,xr)}}),kt(function(wt){var pt=wt.length;return function(Ue){var xt=Math.floor(((Ue%=1)<0?++Ue:Ue)*pt),cn=wt[(xt+pt-1)%pt],er=wt[xt%pt],Mr=wt[(xt+1)%pt],xr=wt[(xt+2)%pt];return qt((Ue-xt/pt)*pt,cn,er,Mr,xr)}});var At=function(wt,pt){pt||(pt=[]);var Ue,xt=wt?Math.min(pt.length,wt.length):0,cn=pt.slice();return function(er){for(Ue=0;Ue<xt;++Ue)cn[Ue]=wt[Ue]*(1-er)+pt[Ue]*er;return cn}};function Fn(wt){return ArrayBuffer.isView(wt)&&!(wt instanceof DataView)}function pn(wt,pt){var Ue,xt=pt?pt.length:0,cn=wt?Math.min(xt,wt.length):0,er=new Array(cn),Mr=new Array(xt);for(Ue=0;Ue<cn;++Ue)er[Ue]=Nr(wt[Ue],pt[Ue]);for(;Ue<xt;++Ue)Mr[Ue]=pt[Ue];return function(xr){for(Ue=0;Ue<cn;++Ue)Mr[Ue]=er[Ue](xr);return Mr}}var en=function(wt,pt){var Ue=new Date;return wt=+wt,pt=+pt,function(xt){return Ue.setTime(wt*(1-xt)+pt*xt),Ue}},Wn=function(wt,pt){return wt=+wt,pt=+pt,function(Ue){return wt*(1-Ue)+pt*Ue}};function Mn(wt){return(Mn=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(pt){return typeof pt}:function(pt){return pt&&typeof Symbol==\"function\"&&pt.constructor===Symbol&&pt!==Symbol.prototype?\"symbol\":typeof pt})(wt)}var Kn=function(wt,pt){var Ue,xt={},cn={};for(Ue in wt!==null&&Mn(wt)===\"object\"||(wt={}),pt!==null&&Mn(pt)===\"object\"||(pt={}),pt)Ue in wt?xt[Ue]=Nr(wt[Ue],pt[Ue]):cn[Ue]=pt[Ue];return function(er){for(Ue in xt)cn[Ue]=xt[Ue](er);return cn}},hr=/[-+]?(?:\\d+\\.?\\d*|\\.?\\d+)(?:[eE][-+]?\\d+)?/g,pr=new RegExp(hr.source,\"g\"),zr=function(wt,pt){var Ue,xt,cn,er=hr.lastIndex=pr.lastIndex=0,Mr=-1,xr=[],jr=[];for(wt+=\"\",pt+=\"\";(Ue=hr.exec(wt))&&(xt=pr.exec(pt));)(cn=xt.index)>er&&(cn=pt.slice(er,cn),xr[Mr]?xr[Mr]+=cn:xr[++Mr]=cn),(Ue=Ue[0])===(xt=xt[0])?xr[Mr]?xr[Mr]+=xt:xr[++Mr]=xt:(xr[++Mr]=null,jr.push({i:Mr,x:Wn(Ue,xt)})),er=pr.lastIndex;return er<pt.length&&(cn=pt.slice(er),xr[Mr]?xr[Mr]+=cn:xr[++Mr]=cn),xr.length<2?jr[0]?function(yo){return function(eo){return yo(eo)+\"\"}}(jr[0].x):function(yo){return function(){return yo}}(pt):(pt=jr.length,function(yo){for(var eo,vi=0;vi<pt;++vi)xr[(eo=jr[vi]).i]=eo.x(yo);return xr.join(\"\")})};function Wr(wt){return(Wr=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(pt){return typeof pt}:function(pt){return pt&&typeof Symbol==\"function\"&&pt.constructor===Symbol&&pt!==Symbol.prototype?\"symbol\":typeof pt})(wt)}var Nr=function(wt,pt){var Ue,xt=Wr(pt);return pt==null||xt===\"boolean\"?hn(pt):(xt===\"number\"?Wn:xt===\"string\"?(Ue=X(pt))?(pt=Ue,Ft):zr:pt instanceof X?Ft:pt instanceof Date?en:Fn(pt)?At:Array.isArray(pt)?pn:typeof pt.valueOf!=\"function\"&&typeof pt.toString!=\"function\"||isNaN(pt)?Kn:Wn)(wt,pt)},Kr=r(51),ko=r(28),Ur=[1,0,0,0,1,0,0,0,1];function gn(wt,pt,Ue){var xt,cn=pt.startTime;if(Ue<cn+pt.delay||pt._paused)return!1;var er=pt.duration,Mr=pt.easing,xr=Object(Kr.a)(Mr);if(Ue=Ue-cn-pt.delay,pt.repeat)xt=xr(xt=Ue%er/er);else{if(!((xt=Ue/er)<1))return pt.onFrame?wt.attr(pt.onFrame(1)):wt.attr(pt.toAttrs),!0;xt=xr(xt)}if(pt.onFrame){var jr=pt.onFrame(xt);wt.attr(jr)}else(function(yo,eo,vi){var Ti={},wi=eo.fromAttrs,mi=eo.toAttrs;if(!yo.destroyed){var Zi,aa,$e,dn;for(var Un in mi)if(!Object(O.isEqual)(wi[Un],mi[Un]))if(Un===\"path\"){var ar=mi[Un],Rr=wi[Un];ar.length>Rr.length?(ar=ko.parsePathString(mi[Un]),Rr=ko.parsePathString(wi[Un]),Rr=ko.fillPathByDiff(Rr,ar),Rr=ko.formatPath(Rr,ar),eo.fromAttrs.path=Rr,eo.toAttrs.path=ar):eo.pathFormatted||(ar=ko.parsePathString(mi[Un]),Rr=ko.parsePathString(wi[Un]),Rr=ko.formatPath(Rr,ar),eo.fromAttrs.path=Rr,eo.toAttrs.path=ar,eo.pathFormatted=!0),Ti[Un]=[];for(var Ro=0;Ro<ar.length;Ro++){for(var Vo=ar[Ro],Co=Rr[Ro],Mo=[],qo=0;qo<Vo.length;qo++)Object(O.isNumber)(Vo[qo])&&Co&&Object(O.isNumber)(Co[qo])?(Zi=Nr(Co[qo],Vo[qo]),Mo.push(Zi(vi))):Mo.push(Vo[qo]);Ti[Un].push(Mo)}}else if(Un===\"matrix\"){var ti=($e=wi[Un]||Ur,(Fn(dn=mi[Un]||Ur)?At:pn)($e,dn))(vi);Ti[Un]=ti}else[\"fill\",\"stroke\",\"fillStyle\",\"strokeStyle\"].includes(Un)&&(aa=mi[Un],/^[r,R,L,l]{1}[\\s]*\\(/.test(aa))?Ti[Un]=mi[Un]:Object(O.isFunction)(mi[Un])||(Zi=Nr(wi[Un],mi[Un]),Ti[Un]=Zi(vi));yo.attr(Ti)}})(wt,pt,xt);return!1}var Gt=function(){function wt(pt){this.animators=[],this.current=0,this.timer=null,this.canvas=pt}return wt.prototype.initTimer=function(){var pt,Ue,xt,cn=this;this.timer=A(function(er){if(cn.current=er,cn.animators.length>0){for(var Mr=cn.animators.length-1;Mr>=0;Mr--)if((pt=cn.animators[Mr]).destroyed)cn.removeAnimator(Mr);else{if(!pt.isAnimatePaused())for(var xr=(Ue=pt.get(\"animations\")).length-1;xr>=0;xr--)xt=Ue[xr],gn(pt,xt,er)&&(Ue.splice(xr,1),xt.callback&&xt.callback());Ue.length===0&&cn.removeAnimator(Mr)}cn.canvas.get(\"autoDraw\")||cn.canvas.draw()}})},wt.prototype.addAnimator=function(pt){this.animators.push(pt)},wt.prototype.removeAnimator=function(pt){this.animators.splice(pt,1)},wt.prototype.isAnimating=function(){return!!this.animators.length},wt.prototype.stop=function(){this.timer&&this.timer.stop()},wt.prototype.stopAllAnimations=function(pt){pt===void 0&&(pt=!0),this.animators.forEach(function(Ue){Ue.stopAnimate(pt)}),this.animators=[],this.canvas.draw()},wt.prototype.getTime=function(){return this.current},wt}(),bt=r(48),Zt=[\"mousedown\",\"mouseup\",\"dblclick\",\"mouseout\",\"mouseover\",\"mousemove\",\"mouseleave\",\"mouseenter\",\"touchstart\",\"touchmove\",\"touchend\",\"dragenter\",\"dragover\",\"dragleave\",\"drop\",\"contextmenu\",\"mousewheel\"];function gt(wt,pt,Ue){Ue.name=pt,Ue.target=wt,Ue.currentTarget=wt,Ue.delegateTarget=wt,wt.emit(pt,Ue)}function Wt(wt,pt,Ue){if(Ue.bubbles){var xt=void 0,cn=!1;if(pt===\"mouseenter\"?(xt=Ue.fromShape,cn=!0):pt===\"mouseleave\"&&(cn=!0,xt=Ue.toShape),wt.isCanvas()&&cn)return;if(xt&&Object(w.g)(wt,xt))return void(Ue.bubbles=!1);Ue.name=pt,Ue.currentTarget=wt,Ue.delegateTarget=wt,wt.emit(pt,Ue)}}var xn=function(){function wt(pt){var Ue=this;this.draggingShape=null,this.dragging=!1,this.currentShape=null,this.mousedownShape=null,this.mousedownPoint=null,this._eventCallback=function(xt){var cn=xt.type;Ue._triggerEvent(cn,xt)},this._onDocumentMove=function(xt){if(Ue.canvas.get(\"el\")!==xt.target&&(Ue.dragging||Ue.currentShape)){var cn=Ue._getPointInfo(xt);Ue.dragging&&Ue._emitEvent(\"drag\",xt,cn,Ue.draggingShape)}},this._onDocumentMouseUp=function(xt){if(Ue.canvas.get(\"el\")!==xt.target&&Ue.dragging){var cn=Ue._getPointInfo(xt);Ue.draggingShape&&Ue._emitEvent(\"drop\",xt,cn,null),Ue._emitEvent(\"dragend\",xt,cn,Ue.draggingShape),Ue._afterDrag(Ue.draggingShape,cn,xt)}},this.canvas=pt.canvas}return wt.prototype.init=function(){this._bindEvents()},wt.prototype._bindEvents=function(){var pt=this,Ue=this.canvas.get(\"el\");Object(w.a)(Zt,function(xt){Ue.addEventListener(xt,pt._eventCallback)}),document&&(document.addEventListener(\"mousemove\",this._onDocumentMove),document.addEventListener(\"mouseup\",this._onDocumentMouseUp))},wt.prototype._clearEvents=function(){var pt=this,Ue=this.canvas.get(\"el\");Object(w.a)(Zt,function(xt){Ue.removeEventListener(xt,pt._eventCallback)}),document&&(document.removeEventListener(\"mousemove\",this._onDocumentMove),document.removeEventListener(\"mouseup\",this._onDocumentMouseUp))},wt.prototype._getEventObj=function(pt,Ue,xt,cn,er,Mr){var xr=new bt.a(pt,Ue);return xr.fromShape=er,xr.toShape=Mr,xr.x=xt.x,xr.y=xt.y,xr.clientX=xt.clientX,xr.clientY=xt.clientY,xr.propagationPath.push(cn),xr},wt.prototype._getShape=function(pt,Ue){return this.canvas.getShape(pt.x,pt.y,Ue)},wt.prototype._getPointInfo=function(pt){var Ue=this.canvas,xt=Ue.getClientByEvent(pt),cn=Ue.getPointByEvent(pt);return{x:cn.x,y:cn.y,clientX:xt.x,clientY:xt.y}},wt.prototype._triggerEvent=function(pt,Ue){var xt=this._getPointInfo(Ue),cn=this._getShape(xt,Ue),er=this[\"_on\"+pt],Mr=!1;if(er)er.call(this,xt,cn,Ue);else{var xr=this.currentShape;pt===\"mouseenter\"||pt===\"dragenter\"||pt===\"mouseover\"?(this._emitEvent(pt,Ue,xt,null,null,cn),cn&&this._emitEvent(pt,Ue,xt,cn,null,cn),pt===\"mouseenter\"&&this.draggingShape&&this._emitEvent(\"dragenter\",Ue,xt,null)):pt===\"mouseleave\"||pt===\"dragleave\"||pt===\"mouseout\"?(Mr=!0,xr&&this._emitEvent(pt,Ue,xt,xr,xr,null),this._emitEvent(pt,Ue,xt,null,xr,null),pt===\"mouseleave\"&&this.draggingShape&&this._emitEvent(\"dragleave\",Ue,xt,null)):this._emitEvent(pt,Ue,xt,cn,null,null)}if(Mr||(this.currentShape=cn),cn&&!cn.get(\"destroyed\")){var jr=this.canvas;jr.get(\"el\").style.cursor=cn.attr(\"cursor\")||jr.get(\"cursor\")}},wt.prototype._onmousedown=function(pt,Ue,xt){xt.button===0&&(this.mousedownShape=Ue,this.mousedownPoint=pt,this.mousedownTimeStamp=xt.timeStamp),this._emitEvent(\"mousedown\",xt,pt,Ue,null,null)},wt.prototype._emitMouseoverEvents=function(pt,Ue,xt,cn){var er=this.canvas.get(\"el\");xt!==cn&&(xt&&(this._emitEvent(\"mouseout\",pt,Ue,xt,xt,cn),this._emitEvent(\"mouseleave\",pt,Ue,xt,xt,cn),cn&&!cn.get(\"destroyed\")||(er.style.cursor=this.canvas.get(\"cursor\"))),cn&&(this._emitEvent(\"mouseover\",pt,Ue,cn,xt,cn),this._emitEvent(\"mouseenter\",pt,Ue,cn,xt,cn)))},wt.prototype._emitDragoverEvents=function(pt,Ue,xt,cn,er){cn?(cn!==xt&&(xt&&this._emitEvent(\"dragleave\",pt,Ue,xt,xt,cn),this._emitEvent(\"dragenter\",pt,Ue,cn,xt,cn)),er||this._emitEvent(\"dragover\",pt,Ue,cn)):xt&&this._emitEvent(\"dragleave\",pt,Ue,xt,xt,cn),er&&this._emitEvent(\"dragover\",pt,Ue,cn)},wt.prototype._afterDrag=function(pt,Ue,xt){pt&&(pt.set(\"capture\",!0),this.draggingShape=null),this.dragging=!1;var cn=this._getShape(Ue,xt);cn!==pt&&this._emitMouseoverEvents(xt,Ue,pt,cn),this.currentShape=cn},wt.prototype._onmouseup=function(pt,Ue,xt){if(xt.button===0){var cn=this.draggingShape;this.dragging?(cn&&this._emitEvent(\"drop\",xt,pt,Ue),this._emitEvent(\"dragend\",xt,pt,cn),this._afterDrag(cn,pt,xt)):(this._emitEvent(\"mouseup\",xt,pt,Ue),Ue===this.mousedownShape&&this._emitEvent(\"click\",xt,pt,Ue),this.mousedownShape=null,this.mousedownPoint=null)}},wt.prototype._ondragover=function(pt,Ue,xt){xt.preventDefault();var cn=this.currentShape;this._emitDragoverEvents(xt,pt,cn,Ue,!0)},wt.prototype._onmousemove=function(pt,Ue,xt){var cn=this.canvas,er=this.currentShape,Mr=this.draggingShape;if(this.dragging)Mr&&this._emitDragoverEvents(xt,pt,er,Ue,!1),this._emitEvent(\"drag\",xt,pt,Mr);else{var xr=this.mousedownPoint;if(xr){var jr=this.mousedownShape,yo=xt.timeStamp-this.mousedownTimeStamp,eo=xr.clientX-pt.clientX,vi=xr.clientY-pt.clientY;yo>120||eo*eo+vi*vi>40?jr&&jr.get(\"draggable\")?((Mr=this.mousedownShape).set(\"capture\",!1),this.draggingShape=Mr,this.dragging=!0,this._emitEvent(\"dragstart\",xt,pt,Mr),this.mousedownShape=null,this.mousedownPoint=null):!jr&&cn.get(\"draggable\")?(this.dragging=!0,this._emitEvent(\"dragstart\",xt,pt,null),this.mousedownShape=null,this.mousedownPoint=null):(this._emitMouseoverEvents(xt,pt,er,Ue),this._emitEvent(\"mousemove\",xt,pt,Ue)):(this._emitMouseoverEvents(xt,pt,er,Ue),this._emitEvent(\"mousemove\",xt,pt,Ue))}else this._emitMouseoverEvents(xt,pt,er,Ue),this._emitEvent(\"mousemove\",xt,pt,Ue)}},wt.prototype._emitEvent=function(pt,Ue,xt,cn,er,Mr){var xr=this._getEventObj(pt,Ue,xt,cn,er,Mr);if(cn){xr.shape=cn,gt(cn,pt,xr);for(var jr=cn.getParent();jr;)jr.emitDelegation(pt,xr),xr.propagationStopped||Wt(jr,pt,xr),xr.propagationPath.push(jr),jr=jr.getParent()}else gt(this.canvas,pt,xr)},wt.prototype.destroy=function(){this._clearEvents(),this.canvas=null,this.currentShape=null,this.draggingShape=null,this.mousedownPoint=null,this.mousedownShape=null,this.mousedownTimeStamp=null},wt}(),Dt=Object(N.a)(),Xn=Dt&&Dt.name===\"firefox\",Rn=function(wt){function pt(Ue){var xt=wt.call(this,Ue)||this;return xt.initContainer(),xt.initDom(),xt.initEvents(),xt.initTimeline(),xt}return Object(y.__extends)(pt,wt),pt.prototype.getDefaultCfg=function(){var Ue=wt.prototype.getDefaultCfg.call(this);return Ue.cursor=\"default\",Ue.supportCSSTransform=!1,Ue},pt.prototype.initContainer=function(){var Ue=this.get(\"container\");Object(w.h)(Ue)&&(Ue=document.getElementById(Ue),this.set(\"container\",Ue))},pt.prototype.initDom=function(){var Ue=this.createDom();this.set(\"el\",Ue),this.get(\"container\").appendChild(Ue),this.setDOMSize(this.get(\"width\"),this.get(\"height\"))},pt.prototype.initEvents=function(){var Ue=new xn({canvas:this});Ue.init(),this.set(\"eventController\",Ue)},pt.prototype.initTimeline=function(){var Ue=new Gt(this);this.set(\"timeline\",Ue)},pt.prototype.setDOMSize=function(Ue,xt){var cn=this.get(\"el\");w.c&&(cn.style.width=Ue+\"px\",cn.style.height=xt+\"px\")},pt.prototype.changeSize=function(Ue,xt){this.setDOMSize(Ue,xt),this.set(\"width\",Ue),this.set(\"height\",xt),this.onCanvasChange(\"changeSize\")},pt.prototype.getRenderer=function(){return this.get(\"renderer\")},pt.prototype.getCursor=function(){return this.get(\"cursor\")},pt.prototype.setCursor=function(Ue){this.set(\"cursor\",Ue);var xt=this.get(\"el\");w.c&&xt&&(xt.style.cursor=Ue)},pt.prototype.getPointByEvent=function(Ue){if(this.get(\"supportCSSTransform\")){if(Xn&&!Object(w.e)(Ue.layerX)&&Ue.layerX!==Ue.offsetX)return{x:Ue.layerX,y:Ue.layerY};if(!Object(w.e)(Ue.offsetX))return{x:Ue.offsetX,y:Ue.offsetY}}var xt=this.getClientByEvent(Ue),cn=xt.x,er=xt.y;return this.getPointByClient(cn,er)},pt.prototype.getClientByEvent=function(Ue){var xt=Ue;return Ue.touches&&(xt=Ue.type===\"touchend\"?Ue.changedTouches[0]:Ue.touches[0]),{x:xt.clientX,y:xt.clientY}},pt.prototype.getPointByClient=function(Ue,xt){var cn=this.get(\"el\").getBoundingClientRect();return{x:Ue-cn.left,y:xt-cn.top}},pt.prototype.getClientByPoint=function(Ue,xt){var cn=this.get(\"el\").getBoundingClientRect();return{x:Ue+cn.left,y:xt+cn.top}},pt.prototype.draw=function(){},pt.prototype.removeDom=function(){var Ue=this.get(\"el\");Ue.parentNode.removeChild(Ue)},pt.prototype.clearEvents=function(){this.get(\"eventController\").destroy()},pt.prototype.isCanvas=function(){return!0},pt.prototype.getParent=function(){return null},pt.prototype.destroy=function(){var Ue=this.get(\"timeline\");this.get(\"destroyed\")||(this.clear(),Ue&&Ue.stop(),this.clearEvents(),this.removeDom(),wt.prototype.destroy.call(this))},pt}(C.a);c.a=Rn},function(Ee,c,r){\"use strict\";r.d(c,\"a\",function(){return O});function y(a,f,h,l){if(isNaN(f)||isNaN(h))return a;var s,m,x,M,E,j,L,A,J,q=a._root,re={data:l},me=a._x0,Te=a._y0,ee=a._x1,xe=a._y1;if(!q)return a._root=re,a;for(;q.length;)if((j=f>=(m=(me+ee)/2))?me=m:ee=m,(L=h>=(x=(Te+xe)/2))?Te=x:xe=x,s=q,!(q=q[A=L<<1|j]))return s[A]=re,a;if(M=+a._x.call(null,q.data),E=+a._y.call(null,q.data),f===M&&h===E)return re.next=q,s?s[A]=re:a._root=re,a;do s=s?s[A]=new Array(4):a._root=new Array(4),(j=f>=(m=(me+ee)/2))?me=m:ee=m,(L=h>=(x=(Te+xe)/2))?Te=x:xe=x;while((A=L<<1|j)==(J=(E>=x)<<1|M>=m));return s[J]=q,s[A]=re,a}var N=function(a,f,h,l,s){this.node=a,this.x0=f,this.y0=h,this.x1=l,this.y1=s};function C(a){return a[0]}function w(a){return a[1]}function O(a,f,h){var l=new b(f==null?C:f,h==null?w:h,NaN,NaN,NaN,NaN);return a==null?l:l.addAll(a)}function b(a,f,h,l,s,m){this._x=a,this._y=f,this._x0=h,this._y0=l,this._x1=s,this._y1=m,this._root=void 0}function p(a){for(var f={data:a.data},h=f;a=a.next;)h=h.next={data:a.data};return f}var u=O.prototype=b.prototype;u.copy=function(){var a,f,h=new b(this._x,this._y,this._x0,this._y0,this._x1,this._y1),l=this._root;if(!l)return h;if(!l.length)return h._root=p(l),h;for(a=[{source:l,target:h._root=new Array(4)}];l=a.pop();)for(var s=0;s<4;++s)(f=l.source[s])&&(f.length?a.push({source:f,target:l.target[s]=new Array(4)}):l.target[s]=p(f));return h},u.add=function(a){var f=+this._x.call(null,a),h=+this._y.call(null,a);return y(this.cover(f,h),f,h,a)},u.addAll=function(a){var f,h,l,s,m=a.length,x=new Array(m),M=new Array(m),E=1/0,j=1/0,L=-1/0,A=-1/0;for(h=0;h<m;++h)isNaN(l=+this._x.call(null,f=a[h]))||isNaN(s=+this._y.call(null,f))||(x[h]=l,M[h]=s,l<E&&(E=l),l>L&&(L=l),s<j&&(j=s),s>A&&(A=s));if(E>L||j>A)return this;for(this.cover(E,j).cover(L,A),h=0;h<m;++h)y(this,x[h],M[h],a[h]);return this},u.cover=function(a,f){if(isNaN(a=+a)||isNaN(f=+f))return this;var h=this._x0,l=this._y0,s=this._x1,m=this._y1;if(isNaN(h))s=(h=Math.floor(a))+1,m=(l=Math.floor(f))+1;else{for(var x,M,E=s-h||1,j=this._root;h>a||a>=s||l>f||f>=m;)switch(M=(f<l)<<1|a<h,(x=new Array(4))[M]=j,j=x,E*=2,M){case 0:s=h+E,m=l+E;break;case 1:h=s-E,m=l+E;break;case 2:s=h+E,l=m-E;break;case 3:h=s-E,l=m-E}this._root&&this._root.length&&(this._root=j)}return this._x0=h,this._y0=l,this._x1=s,this._y1=m,this},u.data=function(){var a=[];return this.visit(function(f){if(!f.length)do a.push(f.data);while(f=f.next)}),a},u.extent=function(a){return arguments.length?this.cover(+a[0][0],+a[0][1]).cover(+a[1][0],+a[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},u.find=function(a,f,h){var l,s,m,x,M,E,j,L=this._x0,A=this._y0,J=this._x1,q=this._y1,re=[],me=this._root;for(me&&re.push(new N(me,L,A,J,q)),h==null?h=1/0:(L=a-h,A=f-h,J=a+h,q=f+h,h*=h);E=re.pop();)if(!(!(me=E.node)||(s=E.x0)>J||(m=E.y0)>q||(x=E.x1)<L||(M=E.y1)<A))if(me.length){var Te=(s+x)/2,ee=(m+M)/2;re.push(new N(me[3],Te,ee,x,M),new N(me[2],s,ee,Te,M),new N(me[1],Te,m,x,ee),new N(me[0],s,m,Te,ee)),(j=(f>=ee)<<1|a>=Te)&&(E=re[re.length-1],re[re.length-1]=re[re.length-1-j],re[re.length-1-j]=E)}else{var xe=a-+this._x.call(null,me.data),Ie=f-+this._y.call(null,me.data),Le=xe*xe+Ie*Ie;if(Le<h){var De=Math.sqrt(h=Le);L=a-De,A=f-De,J=a+De,q=f+De,l=me.data}}return l},u.remove=function(a){if(isNaN(m=+this._x.call(null,a))||isNaN(x=+this._y.call(null,a)))return this;var f,h,l,s,m,x,M,E,j,L,A,J,q=this._root,re=this._x0,me=this._y0,Te=this._x1,ee=this._y1;if(!q)return this;if(q.length)for(;;){if((j=m>=(M=(re+Te)/2))?re=M:Te=M,(L=x>=(E=(me+ee)/2))?me=E:ee=E,f=q,!(q=q[A=L<<1|j]))return this;if(!q.length)break;(f[A+1&3]||f[A+2&3]||f[A+3&3])&&(h=f,J=A)}for(;q.data!==a;)if(l=q,!(q=q.next))return this;return(s=q.next)&&delete q.next,l?(s?l.next=s:delete l.next,this):f?(s?f[A]=s:delete f[A],(q=f[0]||f[1]||f[2]||f[3])&&q===(f[3]||f[2]||f[1]||f[0])&&!q.length&&(h?h[J]=q:this._root=q),this):(this._root=s,this)},u.removeAll=function(a){for(var f=0,h=a.length;f<h;++f)this.remove(a[f]);return this},u.root=function(){return this._root},u.size=function(){var a=0;return this.visit(function(f){if(!f.length)do++a;while(f=f.next)}),a},u.visit=function(a){var f,h,l,s,m,x,M=[],E=this._root;for(E&&M.push(new N(E,this._x0,this._y0,this._x1,this._y1));f=M.pop();)if(!a(E=f.node,l=f.x0,s=f.y0,m=f.x1,x=f.y1)&&E.length){var j=(l+m)/2,L=(s+x)/2;(h=E[3])&&M.push(new N(h,j,L,m,x)),(h=E[2])&&M.push(new N(h,l,L,j,x)),(h=E[1])&&M.push(new N(h,j,s,m,L)),(h=E[0])&&M.push(new N(h,l,s,j,L))}return this},u.visitAfter=function(a){var f,h=[],l=[];for(this._root&&h.push(new N(this._root,this._x0,this._y0,this._x1,this._y1));f=h.pop();){var s=f.node;if(s.length){var m,x=f.x0,M=f.y0,E=f.x1,j=f.y1,L=(x+E)/2,A=(M+j)/2;(m=s[0])&&h.push(new N(m,x,M,L,A)),(m=s[1])&&h.push(new N(m,L,M,E,A)),(m=s[2])&&h.push(new N(m,x,A,L,j)),(m=s[3])&&h.push(new N(m,L,A,E,j))}l.push(f)}for(;f=l.pop();)a(f.node,f.x0,f.y0,f.x1,f.y1);return this},u.x=function(a){return arguments.length?(this._x=a,this):this._x},u.y=function(a){return arguments.length?(this._y=a,this):this._y}},function(Ee,c,r){\"use strict\";var y=r(1),N=r(10),C=r(6),w=r(33),O=r(20),b=r(11),p=r(38),u=r(37),a=r(0),f=/^l\\s*\\(\\s*([\\d.]+)\\s*\\)\\s*(.*)/i,h=/^r\\s*\\(\\s*([\\d.]+)\\s*,\\s*([\\d.]+)\\s*,\\s*([\\d.]+)\\s*\\)\\s*(.*)/i,l=/[\\d.]+:(#[^\\s]+|[^)]+\\))/gi;function s(me){var Te=me.match(l);if(!Te)return\"\";var ee=\"\";return Te.sort(function(xe,Ie){return xe=xe.split(\":\"),Ie=Ie.split(\":\"),Number(xe[0])-Number(Ie[0])}),Object(a.each)(Te,function(xe){xe=xe.split(\":\"),ee+='<stop offset=\"'+xe[0]+'\" stop-color=\"'+xe[1]+'\"></stop>'}),ee}var m=function(){function me(Te){this.cfg={};var ee=null,xe=Object(a.uniqueId)(\"gradient_\");return Te.toLowerCase()[0]===\"l\"?function(Ie,Le){var De,ce,ye=f.exec(Ie),Oe=Object(a.mod)(Object(a.toRadian)(parseFloat(ye[1])),2*Math.PI),Ce=ye[2];Oe>=0&&Oe<.5*Math.PI?(De={x:0,y:0},ce={x:1,y:1}):.5*Math.PI<=Oe&&Oe<Math.PI?(De={x:1,y:0},ce={x:0,y:1}):Math.PI<=Oe&&Oe<1.5*Math.PI?(De={x:1,y:1},ce={x:0,y:0}):(De={x:0,y:1},ce={x:1,y:0});var oe=Math.tan(Oe),he=oe*oe,ie=(ce.x-De.x+oe*(ce.y-De.y))/(he+1)+De.x,ae=oe*(ce.x-De.x+oe*(ce.y-De.y))/(he+1)+De.y;Le.setAttribute(\"x1\",De.x),Le.setAttribute(\"y1\",De.y),Le.setAttribute(\"x2\",ie),Le.setAttribute(\"y2\",ae),Le.innerHTML=s(Ce)}(Te,ee=Object(b.b)(\"linearGradient\")):function(Ie,Le){var De=h.exec(Ie),ce=parseFloat(De[1]),ye=parseFloat(De[2]),Oe=parseFloat(De[3]),Ce=De[4];Le.setAttribute(\"cx\",ce),Le.setAttribute(\"cy\",ye),Le.setAttribute(\"r\",Oe),Le.innerHTML=s(Ce)}(Te,ee=Object(b.b)(\"radialGradient\")),ee.setAttribute(\"id\",xe),this.el=ee,this.id=xe,this.cfg=Te,this}return me.prototype.match=function(Te,ee){return this.cfg===ee},me}(),x={shadowColor:\"color\",shadowOpacity:\"opacity\",shadowBlur:\"blur\",shadowOffsetX:\"dx\",shadowOffsetY:\"dy\"},M={x:\"-40%\",y:\"-40%\",width:\"200%\",height:\"200%\"},E=function(){function me(Te){this.type=\"filter\",this.cfg={},this.type=\"filter\";var ee=Object(b.b)(\"filter\");return Object(a.each)(M,function(xe,Ie){ee.setAttribute(Ie,xe)}),this.el=ee,this.id=Object(a.uniqueId)(\"filter_\"),this.el.id=this.id,this.cfg=Te,this._parseShadow(Te,ee),this}return me.prototype.match=function(Te,ee){if(this.type!==Te)return!1;var xe=!0,Ie=this.cfg;return Object(a.each)(Object.keys(Ie),function(Le){if(Ie[Le]!==ee[Le])return xe=!1,!1}),xe},me.prototype.update=function(Te,ee){var xe=this.cfg;return xe[x[Te]]=ee,this._parseShadow(xe,this.el),this},me.prototype._parseShadow=function(Te,ee){var xe=`<feDropShadow\n      dx=\"`+(Te.dx||0)+`\"\n      dy=\"`+(Te.dy||0)+`\"\n      stdDeviation=\"`+(Te.blur?Te.blur/10:0)+`\"\n      flood-color=\"`+(Te.color?Te.color:\"#000\")+`\"\n      flood-opacity=\"`+(Te.opacity?Te.opacity:1)+`\"\n      />`;ee.innerHTML=xe},me}(),j=function(){function me(Te,ee){this.cfg={};var xe=Object(b.b)(\"marker\"),Ie=Object(a.uniqueId)(\"marker_\");xe.setAttribute(\"id\",Ie);var Le=Object(b.b)(\"path\");Le.setAttribute(\"stroke\",Te.stroke||\"none\"),Le.setAttribute(\"fill\",Te.fill||\"none\"),xe.appendChild(Le),xe.setAttribute(\"overflow\",\"visible\"),xe.setAttribute(\"orient\",\"auto-start-reverse\"),this.el=xe,this.child=Le,this.id=Ie;var De=Te[ee===\"marker-start\"?\"startArrow\":\"endArrow\"];return this.stroke=Te.stroke||\"#000\",De===!0?this._setDefaultPath(ee,Le):(this.cfg=De,this._setMarker(Te.lineWidth,Le)),this}return me.prototype.match=function(){return!1},me.prototype._setDefaultPath=function(Te,ee){var xe=this.el;ee.setAttribute(\"d\",\"M0,0 L\"+10*Math.cos(Math.PI/6)+\",5 L0,10\"),xe.setAttribute(\"refX\",\"\"+10*Math.cos(Math.PI/6)),xe.setAttribute(\"refY\",\"5\")},me.prototype._setMarker=function(Te,ee){var xe=this.el,Ie=this.cfg.path,Le=this.cfg.d;Object(a.isArray)(Ie)&&(Ie=Ie.map(function(De){return De.join(\" \")}).join(\"\")),ee.setAttribute(\"d\",Ie),xe.appendChild(ee),Le&&xe.setAttribute(\"refX\",\"\"+Le/Te)},me.prototype.update=function(Te){var ee=this.child;ee.attr?ee.attr(\"fill\",Te):ee.setAttribute(\"fill\",Te)},me}(),L=function(){function me(Te){this.type=\"clip\",this.cfg={};var ee=Object(b.b)(\"clipPath\");this.el=ee,this.id=Object(a.uniqueId)(\"clip_\"),ee.id=this.id;var xe=Te.cfg.el;return ee.appendChild(xe),this.cfg=Te,this}return me.prototype.match=function(){return!1},me.prototype.remove=function(){var Te=this.el;Te.parentNode.removeChild(Te)},me}(),A=/^p\\s*\\(\\s*([axyn])\\s*\\)\\s*(.*)/i,J=function(){function me(Te){this.cfg={};var ee=Object(b.b)(\"pattern\");ee.setAttribute(\"patternUnits\",\"userSpaceOnUse\");var xe=Object(b.b)(\"image\");ee.appendChild(xe);var Ie=Object(a.uniqueId)(\"pattern_\");ee.id=Ie,this.el=ee,this.id=Ie,this.cfg=Te;var Le=A.exec(Te)[2];xe.setAttribute(\"href\",Le);var De=new Image;function ce(){ee.setAttribute(\"width\",\"\"+De.width),ee.setAttribute(\"height\",\"\"+De.height)}return Le.match(/^data:/i)||(De.crossOrigin=\"Anonymous\"),De.src=Le,De.complete?ce():(De.onload=ce,De.src=De.src),this}return me.prototype.match=function(Te,ee){return this.cfg===ee},me}(),q=function(){function me(Te){var ee=Object(b.b)(\"defs\"),xe=Object(a.uniqueId)(\"defs_\");ee.id=xe,Te.appendChild(ee),this.children=[],this.defaultArrow={},this.el=ee,this.canvas=Te}return me.prototype.find=function(Te,ee){for(var xe=this.children,Ie=null,Le=0;Le<xe.length;Le++)if(xe[Le].match(Te,ee)){Ie=xe[Le].id;break}return Ie},me.prototype.findById=function(Te){for(var ee=this.children,xe=null,Ie=0;Ie<ee.length;Ie++)if(ee[Ie].id===Te){xe=ee[Ie];break}return xe},me.prototype.add=function(Te){this.children.push(Te),Te.canvas=this.canvas,Te.parent=this},me.prototype.getDefaultArrow=function(Te,ee){var xe=Te.stroke||Te.strokeStyle;if(this.defaultArrow[xe])return this.defaultArrow[xe].id;var Ie=new j(Te,ee);return this.defaultArrow[xe]=Ie,this.el.appendChild(Ie.el),this.add(Ie),Ie.id},me.prototype.addGradient=function(Te){var ee=new m(Te);return this.el.appendChild(ee.el),this.add(ee),ee.id},me.prototype.addArrow=function(Te,ee){var xe=new j(Te,ee);return this.el.appendChild(xe.el),this.add(xe),xe.id},me.prototype.addShadow=function(Te){var ee=new E(Te);return this.el.appendChild(ee.el),this.add(ee),ee.id},me.prototype.addPattern=function(Te){var ee=new J(Te);return this.el.appendChild(ee.el),this.add(ee),ee.id},me.prototype.addClip=function(Te){var ee=new L(Te);return this.el.appendChild(ee.el),this.add(ee),ee.id},me}(),re=function(me){function Te(ee){return me.call(this,Object(y.__assign)(Object(y.__assign)({},ee),{autoDraw:!0,renderer:\"svg\"}))||this}return Object(y.__extends)(Te,me),Te.prototype.getShapeBase=function(){return p},Te.prototype.getGroupBase=function(){return u.a},Te.prototype.getShape=function(ee,xe,Ie){var Le=Ie.target||Ie.srcElement;if(!C.a[Le.tagName]){for(var De=Le.parentNode;De&&!C.a[De.tagName];)De=De.parentNode;Le=De}return this.find(function(ce){return ce.get(\"el\")===Le})},Te.prototype.createDom=function(){var ee=Object(b.b)(\"svg\"),xe=new q(ee);return ee.setAttribute(\"width\",\"\"+this.get(\"width\")),ee.setAttribute(\"height\",\"\"+this.get(\"height\")),this.set(\"context\",xe),ee},Te.prototype.onCanvasChange=function(ee){var xe=this.get(\"context\"),Ie=this.get(\"el\");if(ee===\"sort\"){var Le=this.get(\"children\");Le&&Le.length&&Object(b.d)(this,function(ce,ye){return Le.indexOf(ce)-Le.indexOf(ye)?1:0})}else if(ee===\"clear\"){if(Ie){Ie.innerHTML=\"\";var De=xe.el;De.innerHTML=\"\",Ie.appendChild(De)}}else ee===\"matrix\"?Object(O.c)(this):ee===\"clip\"?Object(O.a)(this,xe):ee===\"changeSize\"&&(Ie.setAttribute(\"width\",\"\"+this.get(\"width\")),Ie.setAttribute(\"height\",\"\"+this.get(\"height\")))},Te.prototype.draw=function(){var ee=this.get(\"context\"),xe=this.getChildren();Object(O.a)(this,ee),xe.length&&Object(w.a)(ee,xe)},Te}(N.AbstractCanvas);c.a=re},function(Ee,c,r){\"use strict\";var y=r(1),N=r(10);function C(f,h,l){var s=f.getTotalMatrix();if(s){var m=function(x,M){if(M){var E=Object(N.invert)(M);return Object(N.multiplyVec2)(E,x)}return x}([h,l,1],s);return[m[0],m[1]]}return[h,l]}function w(f,h,l){if(f.isCanvas&&f.isCanvas())return!0;if(!Object(N.isAllowCapture)(f)||f.cfg.isInView===!1)return!1;if(f.cfg.clipShape){var s=C(f,h,l),m=s[0],x=s[1];if(f.isClipped(m,x))return!1}var M=f.cfg.cacheCanvasBBox||f.getCanvasBBox();return h>=M.minX&&h<=M.maxX&&l>=M.minY&&l<=M.maxY}var O=r(29),b=r(36),p=r(5),u=r(16),a=function(f){function h(){return f!==null&&f.apply(this,arguments)||this}return Object(y.__extends)(h,f),h.prototype.getDefaultCfg=function(){var l=f.prototype.getDefaultCfg.call(this);return l.renderer=\"canvas\",l.autoDraw=!0,l.localRefresh=!0,l.refreshElements=[],l.clipView=!0,l.quickHit=!1,l},h.prototype.onCanvasChange=function(l){l!==\"attr\"&&l!==\"sort\"&&l!==\"changeSize\"||(this.set(\"refreshElements\",[this]),this.draw())},h.prototype.getShapeBase=function(){return O},h.prototype.getGroupBase=function(){return b.a},h.prototype.getPixelRatio=function(){var l=this.get(\"pixelRatio\")||Object(p.d)();return l>=1?Math.ceil(l):1},h.prototype.getViewRange=function(){return{minX:0,minY:0,maxX:this.cfg.width,maxY:this.cfg.height}},h.prototype.createDom=function(){var l=document.createElement(\"canvas\"),s=l.getContext(\"2d\");return this.set(\"context\",s),l},h.prototype.setDOMSize=function(l,s){f.prototype.setDOMSize.call(this,l,s);var m=this.get(\"context\"),x=this.get(\"el\"),M=this.getPixelRatio();x.width=M*l,x.height=M*s,M>1&&m.scale(M,M)},h.prototype.clear=function(){f.prototype.clear.call(this),this._clearFrame();var l=this.get(\"context\"),s=this.get(\"el\");l.clearRect(0,0,s.width,s.height)},h.prototype.getShape=function(l,s){return this.get(\"quickHit\")?function m(x,M,E){if(!w(x,M,E))return null;for(var j=null,L=x.getChildren(),A=L.length-1;A>=0;A--){var J=L[A];if(J.isGroup())j=m(J,M,E);else if(w(J,M,E)){var q=J,re=C(J,M,E),me=re[0],Te=re[1];q.isInShape(me,Te)&&(j=J)}if(j)break}return j}(this,l,s):f.prototype.getShape.call(this,l,s,null)},h.prototype._getRefreshRegion=function(){var l,s=this.get(\"refreshElements\"),m=this.getViewRange();return s.length&&s[0]===this?l=m:(l=Object(u.f)(s))&&(l.minX=Math.floor(l.minX),l.minY=Math.floor(l.minY),l.maxX=Math.ceil(l.maxX),l.maxY=Math.ceil(l.maxY),l.maxY+=1,this.get(\"clipView\")&&(l=Object(u.g)(l,m))),l},h.prototype.refreshElement=function(l){this.get(\"refreshElements\").push(l)},h.prototype._clearFrame=function(){var l=this.get(\"drawFrame\");l&&(Object(p.a)(l),this.set(\"drawFrame\",null),this.set(\"refreshElements\",[]))},h.prototype.draw=function(){var l=this.get(\"drawFrame\");this.get(\"autoDraw\")&&l||this._startDraw()},h.prototype._drawAll=function(){var l=this.get(\"context\"),s=this.get(\"el\"),m=this.getChildren();l.clearRect(0,0,s.width,s.height),Object(u.a)(l,this),Object(u.d)(l,m),this.set(\"refreshElements\",[])},h.prototype._drawRegion=function(){var l=this.get(\"context\"),s=this.get(\"refreshElements\"),m=this.getChildren(),x=this._getRefreshRegion();x?(l.clearRect(x.minX,x.minY,x.maxX-x.minX,x.maxY-x.minY),l.save(),l.beginPath(),l.rect(x.minX,x.minY,x.maxX-x.minX,x.maxY-x.minY),l.clip(),Object(u.a)(l,this),Object(u.b)(this,m,x),Object(u.d)(l,m,x),l.restore()):s.length&&Object(u.c)(s),Object(p.c)(s,function(M){M.get(\"hasChanged\")&&M.set(\"hasChanged\",!1)}),this.set(\"refreshElements\",[])},h.prototype._startDraw=function(){var l=this,s=this.get(\"drawFrame\");s||(s=Object(p.n)(function(){l.get(\"localRefresh\")?l._drawRegion():l._drawAll(),l.set(\"drawFrame\",null)}),this.set(\"drawFrame\",s))},h.prototype.skipDraw=function(){},h.prototype.removeDom=function(){var l=this.get(\"el\");l.width=0,l.height=0,l.parentNode.removeChild(l)},h}(N.AbstractCanvas);c.a=a},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),Object.defineProperty(c,\"GADDIAsync\",{enumerable:!0,get:function(){return y.GADDIAsync}}),Object.defineProperty(c,\"connectedComponentAsync\",{enumerable:!0,get:function(){return y.connectedComponentAsync}}),c.default=void 0,Object.defineProperty(c,\"detectAllCyclesAsync\",{enumerable:!0,get:function(){return y.detectAllCyclesAsync}}),Object.defineProperty(c,\"detectAllDirectedCycleAsync\",{enumerable:!0,get:function(){return y.detectAllDirectedCycleAsync}}),Object.defineProperty(c,\"detectAllUndirectedCycleAsync\",{enumerable:!0,get:function(){return y.detectAllUndirectedCycleAsync}}),Object.defineProperty(c,\"detectCycleAsync\",{enumerable:!0,get:function(){return y.detectCycleAsync}}),c.detectDirectedCycleAsync=void 0,Object.defineProperty(c,\"dijkstraAsync\",{enumerable:!0,get:function(){return y.dijkstraAsync}}),Object.defineProperty(c,\"findAllPathAsync\",{enumerable:!0,get:function(){return y.findAllPathAsync}}),Object.defineProperty(c,\"findShortestPathAsync\",{enumerable:!0,get:function(){return y.findShortestPathAsync}}),Object.defineProperty(c,\"floydWarshallAsync\",{enumerable:!0,get:function(){return y.floydWarshallAsync}}),Object.defineProperty(c,\"getAdjMatrixAsync\",{enumerable:!0,get:function(){return y.getAdjMatrixAsync}}),Object.defineProperty(c,\"getDegreeAsync\",{enumerable:!0,get:function(){return y.getDegreeAsync}}),Object.defineProperty(c,\"getInDegreeAsync\",{enumerable:!0,get:function(){return y.getInDegreeAsync}}),Object.defineProperty(c,\"getNeighborsAsync\",{enumerable:!0,get:function(){return y.getNeighborsAsync}}),Object.defineProperty(c,\"getOutDegreeAsync\",{enumerable:!0,get:function(){return y.getOutDegreeAsync}}),Object.defineProperty(c,\"labelPropagationAsync\",{enumerable:!0,get:function(){return y.labelPropagationAsync}}),Object.defineProperty(c,\"louvainAsync\",{enumerable:!0,get:function(){return y.louvainAsync}}),Object.defineProperty(c,\"minimumSpanningTreeAsync\",{enumerable:!0,get:function(){return y.minimumSpanningTreeAsync}}),Object.defineProperty(c,\"pageRankAsync\",{enumerable:!0,get:function(){return y.pageRankAsync}});var y=r(122),N=y.detectCycleAsync;c.detectDirectedCycleAsync=N;var C={getAdjMatrixAsync:y.getAdjMatrixAsync,connectedComponentAsync:y.connectedComponentAsync,getDegreeAsync:y.getDegreeAsync,getInDegreeAsync:y.getInDegreeAsync,getOutDegreeAsync:y.getOutDegreeAsync,detectCycleAsync:y.detectCycleAsync,detectDirectedCycleAsync:N,detectAllCyclesAsync:y.detectAllCyclesAsync,detectAllDirectedCycleAsync:y.detectAllDirectedCycleAsync,detectAllUndirectedCycleAsync:y.detectAllUndirectedCycleAsync,dijkstraAsync:y.dijkstraAsync,findAllPathAsync:y.findAllPathAsync,findShortestPathAsync:y.findShortestPathAsync,floydWarshallAsync:y.floydWarshallAsync,labelPropagationAsync:y.labelPropagationAsync,louvainAsync:y.louvainAsync,minimumSpanningTreeAsync:y.minimumSpanningTreeAsync,pageRankAsync:y.pageRankAsync,getNeighborsAsync:y.getNeighborsAsync,GADDIAsync:y.GADDIAsync};c.default=C},function(Ee,c,r){var y=r(64),N=r(65);Ee.exports=function(C){return typeof C==\"number\"||N(C)&&y(C)==\"[object Number]\"}},function(Ee,c){var r=Array.isArray;Ee.exports=r},function(Ee,c,r){var y,N,C;function w(O){return(w=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(b){return typeof b}:function(b){return b&&typeof Symbol==\"function\"&&b.constructor===Symbol&&b!==Symbol.prototype?\"symbol\":typeof b})(O)}C=function(){\"use strict\";var O=function(Re){return Re instanceof Uint8Array||Re instanceof Uint16Array||Re instanceof Uint32Array||Re instanceof Int8Array||Re instanceof Int16Array||Re instanceof Int32Array||Re instanceof Float32Array||Re instanceof Float64Array||Re instanceof Uint8ClampedArray},b=function(Re,je){for(var nt=Object.keys(je),rt=0;rt<nt.length;++rt)Re[nt[rt]]=je[nt[rt]];return Re};function p(Re){var je=new Error(\"(regl) \"+Re);throw console.error(je),je}function u(Re,je){Re||p(je)}function a(Re){return Re?\": \"+Re:\"\"}function f(Re,je){switch(je){case\"number\":return typeof Re==\"number\";case\"object\":return w(Re)===\"object\";case\"string\":return typeof Re==\"string\";case\"boolean\":return typeof Re==\"boolean\";case\"function\":return typeof Re==\"function\";case\"undefined\":return Re===void 0;case\"symbol\":return w(Re)===\"symbol\"}}function h(Re,je,nt){je.indexOf(Re)<0&&p(\"invalid value\"+a(nt)+\". must be one of: \"+je)}var l=[\"gl\",\"canvas\",\"container\",\"attributes\",\"pixelRatio\",\"extensions\",\"optionalExtensions\",\"profile\",\"onDone\"];function s(Re,je){for(Re+=\"\";Re.length<je;)Re=\" \"+Re;return Re}function m(){this.name=\"unknown\",this.lines=[],this.index={},this.hasErrors=!1}function x(Re,je){this.number=Re,this.line=je,this.errors=[]}function M(Re,je,nt){this.file=Re,this.line=je,this.message=nt}function E(){var Re=new Error,je=(Re.stack||Re).toString(),nt=/compileProcedure.*\\n\\s*at.*\\((.*)\\)/.exec(je);if(nt)return nt[1];var rt=/compileProcedure.*\\n\\s*at\\s+(.*)(\\n|$)/.exec(je);return rt?rt[1]:\"unknown\"}function j(){var Re=new Error,je=(Re.stack||Re).toString(),nt=/at REGLCommand.*\\n\\s+at.*\\((.*)\\)/.exec(je);if(nt)return nt[1];var rt=/at REGLCommand.*\\n\\s+at\\s+(.*)\\n/.exec(je);return rt?rt[1]:\"unknown\"}function L(Re,je){var nt,rt=Re.split(`\n`),Xt=1,fn=0,Cn={unknown:new m,0:new m};Cn.unknown.name=Cn[0].name=je||E(),Cn.unknown.lines.push(new x(0,\"\"));for(var Yn=0;Yn<rt.length;++Yn){var Ae=rt[Yn],Ke=/^\\s*#\\s*(\\w+)\\s+(.+)\\s*$/.exec(Ae);if(Ke)switch(Ke[1]){case\"line\":var Mt=/(\\d+)(\\s+\\d+)?/.exec(Ke[2]);Mt&&(Xt=0|Mt[1],Mt[2]&&((fn=0|Mt[2])in Cn||(Cn[fn]=new m)));break;case\"define\":var Ut=/SHADER_NAME(_B64)?\\s+(.*)$/.exec(Ke[2]);Ut&&(Cn[fn].name=Ut[1]?(nt=Ut[2],typeof atob!=\"undefined\"?atob(nt):\"base64:\"+nt):Ut[2])}Cn[fn].lines.push(new x(Xt++,Ae))}return Object.keys(Cn).forEach(function(kn){var Zn=Cn[kn];Zn.lines.forEach(function(lr){Zn.index[lr.number]=lr})}),Cn}function A(Re){Re._commandRef=E()}function J(Re,je){var nt=j();p(Re+\" in command \"+(je||E())+(nt===\"unknown\"?\"\":\" called from \"+nt))}function q(Re,je,nt,rt){f(Re,je)||J(\"invalid parameter type\"+a(nt)+\". expected \"+je+\", got \"+w(Re),rt||E())}var re={};function me(Re,je){return Re===32820||Re===32819||Re===33635?2:Re===34042?4:re[Re]*je}function Te(Re){return!(Re&Re-1||!Re)}re[5120]=re[5121]=1,re[5122]=re[5123]=re[36193]=re[33635]=re[32819]=re[32820]=2,re[5124]=re[5125]=re[5126]=re[34042]=4;var ee=b(u,{optional:function(Re){Re()},raise:p,commandRaise:J,command:function(Re,je,nt){Re||J(je,nt||E())},parameter:function(Re,je,nt){Re in je||p(\"unknown parameter (\"+Re+\")\"+a(nt)+\". possible values: \"+Object.keys(je).join())},commandParameter:function(Re,je,nt,rt){Re in je||J(\"unknown parameter (\"+Re+\")\"+a(nt)+\". possible values: \"+Object.keys(je).join(),rt||E())},constructor:function(Re){Object.keys(Re).forEach(function(je){l.indexOf(je)<0&&p('invalid regl constructor argument \"'+je+'\". must be one of '+l)})},type:function(Re,je,nt){f(Re,je)||p(\"invalid parameter type\"+a(nt)+\". expected \"+je+\", got \"+w(Re))},commandType:q,isTypedArray:function(Re,je){O(Re)||p(\"invalid parameter type\"+a(je)+\". must be a typed array\")},nni:function(Re,je){Re>=0&&(0|Re)===Re||p(\"invalid parameter type, (\"+Re+\")\"+a(je)+\". must be a nonnegative integer\")},oneOf:h,shaderError:function(Re,je,nt,rt,Xt){if(!Re.getShaderParameter(je,Re.COMPILE_STATUS)){var fn=Re.getShaderInfoLog(je),Cn=rt===Re.FRAGMENT_SHADER?\"fragment\":\"vertex\";q(nt,\"string\",Cn+\" shader source must be a string\",Xt);var Yn=L(nt,Xt),Ae=function(Ke){var Mt=[];return Ke.split(`\n`).forEach(function(Ut){if(!(Ut.length<5)){var kn=/^ERROR:\\s+(\\d+):(\\d+):\\s*(.*)$/.exec(Ut);kn?Mt.push(new M(0|kn[1],0|kn[2],kn[3].trim())):Ut.length>0&&Mt.push(new M(\"unknown\",0,Ut))}}),Mt}(fn);(function(Ke,Mt){Mt.forEach(function(Ut){var kn=Ke[Ut.file];if(kn){var Zn=kn.index[Ut.line];if(Zn)return Zn.errors.push(Ut),void(kn.hasErrors=!0)}Ke.unknown.hasErrors=!0,Ke.unknown.lines[0].errors.push(Ut)})})(Yn,Ae),Object.keys(Yn).forEach(function(Ke){var Mt=Yn[Ke];if(Mt.hasErrors){var Ut=[\"\"],kn=[\"\"];Zn(\"file number \"+Ke+\": \"+Mt.name+`\n`,\"color:red;text-decoration:underline;font-weight:bold\"),Mt.lines.forEach(function(lr){if(lr.errors.length>0){Zn(s(lr.number,4)+\"|  \",\"background-color:yellow; font-weight:bold\"),Zn(lr.line+`\n`,\"color:red; background-color:yellow; font-weight:bold\");var wr=0;lr.errors.forEach(function(Dr){var go=Dr.message,Ir=/^\\s*'(.*)'\\s*:\\s*(.*)$/.exec(go);if(Ir){var Jr=Ir[1];switch(go=Ir[2],Jr){case\"assign\":Jr=\"=\"}wr=Math.max(lr.line.indexOf(Jr,wr),0)}else wr=0;Zn(s(\"| \",6)),Zn(s(\"^^^\",wr+3)+`\n`,\"font-weight:bold\"),Zn(s(\"| \",6)),Zn(go+`\n`,\"font-weight:bold\")}),Zn(s(\"| \",6)+`\n`)}else Zn(s(lr.number,4)+\"|  \"),Zn(lr.line+`\n`,\"color:red\")}),typeof document==\"undefined\"||window.chrome?console.log(Ut.join(\"\")):(kn[0]=Ut.join(\"%c\"),console.log.apply(console,kn))}function Zn(lr,wr){Ut.push(lr),kn.push(wr||\"\")}}),u.raise(\"Error compiling \"+Cn+\" shader, \"+Yn[0].name)}},linkError:function(Re,je,nt,rt,Xt){if(!Re.getProgramParameter(je,Re.LINK_STATUS)){var fn=Re.getProgramInfoLog(je),Cn=L(nt,Xt),Yn='Error linking program with vertex shader, \"'+L(rt,Xt)[0].name+'\", and fragment shader \"'+Cn[0].name+'\"';typeof document!=\"undefined\"?console.log(\"%c\"+Yn+`\n%c`+fn,\"color:red;text-decoration:underline;font-weight:bold\",\"color:red\"):console.log(Yn+`\n`+fn),u.raise(Yn)}},callSite:j,saveCommandRef:A,saveDrawInfo:function(Re,je,nt,rt){function Xt(Ae){return Ae?rt.id(Ae):0}function fn(Ae,Ke){Object.keys(Ke).forEach(function(Mt){Ae[rt.id(Mt)]=!0})}A(Re),Re._fragId=Xt(Re.static.frag),Re._vertId=Xt(Re.static.vert);var Cn=Re._uniformSet={};fn(Cn,je.static),fn(Cn,je.dynamic);var Yn=Re._attributeSet={};fn(Yn,nt.static),fn(Yn,nt.dynamic),Re._hasCount=\"count\"in Re.static||\"count\"in Re.dynamic||\"elements\"in Re.static||\"elements\"in Re.dynamic},framebufferFormat:function(Re,je,nt){Re.texture?h(Re.texture._texture.internalformat,je,\"unsupported texture format for attachment\"):h(Re.renderbuffer._renderbuffer.format,nt,\"unsupported renderbuffer format for attachment\")},guessCommand:E,texture2D:function(Re,je,nt){var rt,Xt=je.width,fn=je.height,Cn=je.channels;u(Xt>0&&Xt<=nt.maxTextureSize&&fn>0&&fn<=nt.maxTextureSize,\"invalid texture shape\"),Re.wrapS===33071&&Re.wrapT===33071||u(Te(Xt)&&Te(fn),\"incompatible wrap mode for texture, both width and height must be power of 2\"),je.mipmask===1?Xt!==1&&fn!==1&&u(Re.minFilter!==9984&&Re.minFilter!==9986&&Re.minFilter!==9985&&Re.minFilter!==9987,\"min filter requires mipmap\"):(u(Te(Xt)&&Te(fn),\"texture must be a square power of 2 to support mipmapping\"),u(je.mipmask===(Xt<<1)-1,\"missing or incomplete mipmap data\")),je.type===5126&&(nt.extensions.indexOf(\"oes_texture_float_linear\")<0&&u(Re.minFilter===9728&&Re.magFilter===9728,\"filter not supported, must enable oes_texture_float_linear\"),u(!Re.genMipmaps,\"mipmap generation not supported with float textures\"));var Yn=je.images;for(rt=0;rt<16;++rt)if(Yn[rt]){var Ae=Xt>>rt,Ke=fn>>rt;u(je.mipmask&1<<rt,\"missing mipmap data\");var Mt=Yn[rt];if(u(Mt.width===Ae&&Mt.height===Ke,\"invalid shape for mip images\"),u(Mt.format===je.format&&Mt.internalformat===je.internalformat&&Mt.type===je.type,\"incompatible type for mip image\"),!Mt.compressed)if(Mt.data){var Ut=Math.ceil(me(Mt.type,Cn)*Ae/Mt.unpackAlignment)*Mt.unpackAlignment;u(Mt.data.byteLength===Ut*Ke,\"invalid data for image, buffer size is inconsistent with image format\")}else Mt.element||Mt.copy}else Re.genMipmaps||u((je.mipmask&1<<rt)==0,\"extra mipmap data\");je.compressed&&u(!Re.genMipmaps,\"mipmap generation for compressed images not supported\")},textureCube:function(Re,je,nt,rt){var Xt=Re.width,fn=Re.height,Cn=Re.channels;u(Xt>0&&Xt<=rt.maxTextureSize&&fn>0&&fn<=rt.maxTextureSize,\"invalid texture shape\"),u(Xt===fn,\"cube map must be square\"),u(je.wrapS===33071&&je.wrapT===33071,\"wrap mode not supported by cube map\");for(var Yn=0;Yn<nt.length;++Yn){var Ae=nt[Yn];u(Ae.width===Xt&&Ae.height===fn,\"inconsistent cube map face shape\"),je.genMipmaps&&(u(!Ae.compressed,\"can not generate mipmap for compressed textures\"),u(Ae.mipmask===1,\"can not specify mipmaps and generate mipmaps\"));for(var Ke=Ae.images,Mt=0;Mt<16;++Mt){var Ut=Ke[Mt];if(Ut){var kn=Xt>>Mt,Zn=fn>>Mt;u(Ae.mipmask&1<<Mt,\"missing mipmap data\"),u(Ut.width===kn&&Ut.height===Zn,\"invalid shape for mip images\"),u(Ut.format===Re.format&&Ut.internalformat===Re.internalformat&&Ut.type===Re.type,\"incompatible type for mip image\"),Ut.compressed||(Ut.data?u(Ut.data.byteLength===kn*Zn*Math.max(me(Ut.type,Cn),Ut.unpackAlignment),\"invalid data for image, buffer size is inconsistent with image format\"):Ut.element||Ut.copy)}}}}}),xe=0;function Ie(Re,je){this.id=xe++,this.type=Re,this.data=je}function Le(Re){return Re.replace(/\\\\/g,\"\\\\\\\\\").replace(/\"/g,'\\\\\"')}function De(Re){return\"[\"+function je(nt){if(nt.length===0)return[];var rt=nt.charAt(0),Xt=nt.charAt(nt.length-1);if(nt.length>1&&rt===Xt&&(rt==='\"'||rt===\"'\"))return['\"'+Le(nt.substr(1,nt.length-2))+'\"'];var fn=/\\[(false|true|null|\\d+|'[^']*'|\"[^\"]*\")\\]/.exec(nt);if(fn)return je(nt.substr(0,fn.index)).concat(je(fn[1])).concat(je(nt.substr(fn.index+fn[0].length)));var Cn=nt.split(\".\");if(Cn.length===1)return['\"'+Le(nt)+'\"'];for(var Yn=[],Ae=0;Ae<Cn.length;++Ae)Yn=Yn.concat(je(Cn[Ae]));return Yn}(Re).join(\"][\")+\"]\"}var ce={DynamicVariable:Ie,define:function(Re,je){return new Ie(Re,De(je+\"\"))},isDynamic:function(Re){return typeof Re==\"function\"&&!Re._reglType||Re instanceof Ie},unbox:function Re(je,nt){return typeof je==\"function\"?new Ie(0,je):typeof je==\"number\"||typeof je==\"boolean\"?new Ie(5,je):Array.isArray(je)?new Ie(6,je.map(function(rt,Xt){return Re(rt,nt+\"[\"+Xt+\"]\")})):je instanceof Ie?je:void ee(!1,\"invalid option type in uniform \"+nt)},accessor:De},ye={next:typeof requestAnimationFrame==\"function\"?function(Re){return requestAnimationFrame(Re)}:function(Re){return setTimeout(Re,16)},cancel:typeof cancelAnimationFrame==\"function\"?function(Re){return cancelAnimationFrame(Re)}:clearTimeout},Oe=typeof performance!=\"undefined\"&&performance.now?function(){return performance.now()}:function(){return+new Date};function Ce(Re){return typeof Re==\"string\"?Re.split():(ee(Array.isArray(Re),\"invalid extension array\"),Re)}function oe(Re){return typeof Re==\"string\"?(ee(typeof document!=\"undefined\",\"not supported outside of DOM\"),document.querySelector(Re)):Re}function he(Re){var je,nt,rt,Xt,fn,Cn=Re||{},Yn={},Ae=[],Ke=[],Mt=typeof window==\"undefined\"?1:window.devicePixelRatio,Ut=!1,kn=function(wr){wr&&ee.raise(wr)},Zn=function(){};if(typeof Cn==\"string\"?(ee(typeof document!=\"undefined\",\"selector queries only supported in DOM enviroments\"),je=document.querySelector(Cn),ee(je,\"invalid query string for element\")):w(Cn)===\"object\"?typeof(fn=Cn).nodeName==\"string\"&&typeof fn.appendChild==\"function\"&&typeof fn.getBoundingClientRect==\"function\"?je=Cn:function(wr){return typeof wr.drawArrays==\"function\"||typeof wr.drawElements==\"function\"}(Cn)?rt=(Xt=Cn).canvas:(ee.constructor(Cn),\"gl\"in Cn?Xt=Cn.gl:\"canvas\"in Cn?rt=oe(Cn.canvas):\"container\"in Cn&&(nt=oe(Cn.container)),\"attributes\"in Cn&&(Yn=Cn.attributes,ee.type(Yn,\"object\",\"invalid context attributes\")),\"extensions\"in Cn&&(Ae=Ce(Cn.extensions)),\"optionalExtensions\"in Cn&&(Ke=Ce(Cn.optionalExtensions)),\"onDone\"in Cn&&(ee.type(Cn.onDone,\"function\",\"invalid or missing onDone callback\"),kn=Cn.onDone),\"profile\"in Cn&&(Ut=!!Cn.profile),\"pixelRatio\"in Cn&&(Mt=+Cn.pixelRatio,ee(Mt>0,\"invalid pixel ratio\"))):ee.raise(\"invalid arguments to regl\"),je&&(je.nodeName.toLowerCase()===\"canvas\"?rt=je:nt=je),!Xt){if(!rt){ee(typeof document!=\"undefined\",\"must manually specify webgl context outside of DOM environments\");var lr=function(wr,Dr,go){var Ir,Jr=document.createElement(\"canvas\");function _o(){var No=window.innerWidth,ii=window.innerHeight;if(wr!==document.body){var Lo=wr.getBoundingClientRect();No=Lo.right-Lo.left,ii=Lo.bottom-Lo.top}Jr.width=go*No,Jr.height=go*ii,b(Jr.style,{width:No+\"px\",height:ii+\"px\"})}return b(Jr.style,{border:0,margin:0,padding:0,top:0,left:0}),wr.appendChild(Jr),wr===document.body&&(Jr.style.position=\"absolute\",b(wr.style,{margin:0,padding:0})),wr!==document.body&&typeof ResizeObserver==\"function\"?(Ir=new ResizeObserver(function(){setTimeout(_o)})).observe(wr):window.addEventListener(\"resize\",_o,!1),_o(),{canvas:Jr,onDestroy:function(){Ir?Ir.disconnect():window.removeEventListener(\"resize\",_o),wr.removeChild(Jr)}}}(nt||document.body,0,Mt);if(!lr)return null;rt=lr.canvas,Zn=lr.onDestroy}Yn.premultipliedAlpha===void 0&&(Yn.premultipliedAlpha=!0),Xt=function(wr,Dr){function go(Ir){try{return wr.getContext(Ir,Dr)}catch(Jr){return null}}return go(\"webgl\")||go(\"experimental-webgl\")||go(\"webgl-experimental\")}(rt,Yn)}return Xt?{gl:Xt,canvas:rt,container:nt,extensions:Ae,optionalExtensions:Ke,pixelRatio:Mt,profile:Ut,onDone:kn,onDestroy:Zn}:(Zn(),kn(\"webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org\"),null)}function ie(Re,je){for(var nt=Array(Re),rt=0;rt<Re;++rt)nt[rt]=je(rt);return nt}function ae(Re){var je,nt;return je=(Re>65535)<<4,je|=nt=((Re>>>=je)>255)<<3,je|=nt=((Re>>>=nt)>15)<<2,(je|=nt=((Re>>>=nt)>3)<<1)|(Re>>>=nt)>>1}function ve(){var Re=ie(8,function(){return[]});function je(rt){var Xt=function(Cn){for(var Yn=16;Yn<=268435456;Yn*=16)if(Cn<=Yn)return Yn;return 0}(rt),fn=Re[ae(Xt)>>2];return fn.length>0?fn.pop():new ArrayBuffer(Xt)}function nt(rt){Re[ae(rt.byteLength)>>2].push(rt)}return{alloc:je,free:nt,allocType:function(rt,Xt){var fn=null;switch(rt){case 5120:fn=new Int8Array(je(Xt),0,Xt);break;case 5121:fn=new Uint8Array(je(Xt),0,Xt);break;case 5122:fn=new Int16Array(je(2*Xt),0,Xt);break;case 5123:fn=new Uint16Array(je(2*Xt),0,Xt);break;case 5124:fn=new Int32Array(je(4*Xt),0,Xt);break;case 5125:fn=new Uint32Array(je(4*Xt),0,Xt);break;case 5126:fn=new Float32Array(je(4*Xt),0,Xt);break;default:return null}return fn.length!==Xt?fn.subarray(0,Xt):fn},freeType:function(rt){nt(rt.buffer)}}}var X=ve();function se(Re){return!!Re&&w(Re)===\"object\"&&Array.isArray(Re.shape)&&Array.isArray(Re.stride)&&typeof Re.offset==\"number\"&&Re.shape.length===Re.stride.length&&(Array.isArray(Re.data)||O(Re.data))}X.zero=ve();var fe=function(Re){return Object.keys(Re).map(function(je){return Re[je]})},_e={shape:function(Re){for(var je=[],nt=Re;nt.length;nt=nt[0])je.push(nt.length);return je},flatten:function(Re,je,nt,rt){var Xt=1;if(je.length)for(var fn=0;fn<je.length;++fn)Xt*=je[fn];else Xt=0;var Cn=rt||X.allocType(nt,Xt);switch(je.length){case 0:break;case 1:(function(Yn,Ae,Ke){for(var Mt=0;Mt<Ae;++Mt)Ke[Mt]=Yn[Mt]})(Re,je[0],Cn);break;case 2:(function(Yn,Ae,Ke,Mt){for(var Ut=0,kn=0;kn<Ae;++kn)for(var Zn=Yn[kn],lr=0;lr<Ke;++lr)Mt[Ut++]=Zn[lr]})(Re,je[0],je[1],Cn);break;case 3:be(Re,je[0],je[1],je[2],Cn,0);break;default:(function Yn(Ae,Ke,Mt,Ut,kn){for(var Zn=1,lr=Mt+1;lr<Ke.length;++lr)Zn*=Ke[lr];var wr=Ke[Mt];if(Ke.length-Mt==4){var Dr=Ke[Mt+1],go=Ke[Mt+2],Ir=Ke[Mt+3];for(lr=0;lr<wr;++lr)be(Ae[lr],Dr,go,Ir,Ut,kn),kn+=Zn}else for(lr=0;lr<wr;++lr)Yn(Ae[lr],Ke,Mt+1,Ut,kn),kn+=Zn})(Re,je,0,Cn,0)}return Cn}};function be(Re,je,nt,rt,Xt,fn){for(var Cn=fn,Yn=0;Yn<je;++Yn)for(var Ae=Re[Yn],Ke=0;Ke<nt;++Ke)for(var Mt=Ae[Ke],Ut=0;Ut<rt;++Ut)Xt[Cn++]=Mt[Ut]}var We={\"[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},we={int8:5120,int16:5122,int32:5124,uint8:5121,uint16:5123,uint32:5125,float:5126,float32:5126},Ze={dynamic:35048,stream:35040,static:35044},Ve=_e.flatten,et=_e.shape,ht=[];function Fe(Re){return 0|We[Object.prototype.toString.call(Re)]}function mt(Re,je){for(var nt=0;nt<je.length;++nt)Re[nt]=je[nt]}function dt(Re,je,nt,rt,Xt,fn,Cn){for(var Yn=0,Ae=0;Ae<nt;++Ae)for(var Ke=0;Ke<rt;++Ke)Re[Yn++]=je[Xt*Ae+fn*Ke+Cn]}ht[5120]=1,ht[5122]=2,ht[5124]=4,ht[5121]=1,ht[5123]=2,ht[5125]=4,ht[5126]=4;var Lt={points:0,point:0,lines:1,line:1,triangles:4,triangle:4,\"line loop\":2,\"line strip\":3,\"triangle strip\":5,\"triangle fan\":6},lt=new Float32Array(1),rn=new Uint32Array(lt.buffer);function qt(Re){for(var je=X.allocType(5123,Re.length),nt=0;nt<Re.length;++nt)if(isNaN(Re[nt]))je[nt]=65535;else if(Re[nt]===1/0)je[nt]=31744;else if(Re[nt]===-1/0)je[nt]=64512;else{lt[0]=Re[nt];var rt=rn[0],Xt=rt>>>31<<15,fn=(rt<<1>>>24)-127,Cn=rt>>13&1023;if(fn<-24)je[nt]=Xt;else if(fn<-14){var Yn=-14-fn;je[nt]=Xt+(Cn+1024>>Yn)}else je[nt]=fn>15?Xt+31744:Xt+(fn+15<<10)+Cn}return je}function hn(Re){return Array.isArray(Re)||O(Re)}var Kt=function(Re){return!(Re&Re-1||!Re)},an=[9984,9986,9985,9987],In=[0,6409,6410,6407,6408],Ft={};function kt(Re){return\"[object \"+Re+\"]\"}Ft[6409]=Ft[6406]=Ft[6402]=1,Ft[34041]=Ft[6410]=2,Ft[6407]=Ft[35904]=3,Ft[6408]=Ft[35906]=4;var At=kt(\"HTMLCanvasElement\"),Fn=kt(\"OffscreenCanvas\"),pn=kt(\"CanvasRenderingContext2D\"),en=kt(\"ImageBitmap\"),Wn=kt(\"HTMLImageElement\"),Mn=kt(\"HTMLVideoElement\"),Kn=Object.keys(We).concat([At,Fn,pn,en,Wn,Mn]),hr=[];hr[5121]=1,hr[5126]=4,hr[36193]=2,hr[5123]=2,hr[5125]=4;var pr=[];function zr(Re){return Array.isArray(Re)&&(Re.length===0||typeof Re[0]==\"number\")}function Wr(Re){return!!Array.isArray(Re)&&!(Re.length===0||!hn(Re[0]))}function Nr(Re){return Object.prototype.toString.call(Re)}function Kr(Re){return Nr(Re)===At}function ko(Re){return Nr(Re)===Fn}function Ur(Re){if(!Re)return!1;var je=Nr(Re);return Kn.indexOf(je)>=0||zr(Re)||Wr(Re)||se(Re)}function gn(Re){return 0|We[Object.prototype.toString.call(Re)]}function Gt(Re,je){return X.allocType(Re.type===36193?5126:Re.type,je)}function bt(Re,je){Re.type===36193?(Re.data=qt(je),X.freeType(je)):Re.data=je}function Zt(Re,je,nt,rt,Xt,fn){var Cn;if(Cn=pr[Re]!==void 0?pr[Re]:Ft[Re]*hr[je],fn&&(Cn*=6),Xt){for(var Yn=0,Ae=nt;Ae>=1;)Yn+=Cn*Ae*Ae,Ae/=2;return Yn}return Cn*nt*rt}function gt(Re,je,nt,rt,Xt,fn,Cn){var Yn={\"don't care\":4352,\"dont care\":4352,nice:4354,fast:4353},Ae={repeat:10497,clamp:33071,mirror:33648},Ke={nearest:9728,linear:9729},Mt=b({mipmap:9987,\"nearest mipmap nearest\":9984,\"linear mipmap nearest\":9985,\"nearest mipmap linear\":9986,\"linear mipmap linear\":9987},Ke),Ut={none:0,browser:37444},kn={uint8:5121,rgba4:32819,rgb565:33635,\"rgb5 a1\":32820},Zn={alpha:6406,luminance:6409,\"luminance alpha\":6410,rgb:6407,rgba:6408,rgba4:32854,\"rgb5 a1\":32855,rgb565:36194},lr={};je.ext_srgb&&(Zn.srgb=35904,Zn.srgba=35906),je.oes_texture_float&&(kn.float32=kn.float=5126),je.oes_texture_half_float&&(kn.float16=kn[\"half float\"]=36193),je.webgl_depth_texture&&(b(Zn,{depth:6402,\"depth stencil\":34041}),b(kn,{uint16:5123,uint32:5125,\"depth stencil\":34042})),je.webgl_compressed_texture_s3tc&&b(lr,{\"rgb s3tc dxt1\":33776,\"rgba s3tc dxt1\":33777,\"rgba s3tc dxt3\":33778,\"rgba s3tc dxt5\":33779}),je.webgl_compressed_texture_atc&&b(lr,{\"rgb atc\":35986,\"rgba atc explicit alpha\":35987,\"rgba atc interpolated alpha\":34798}),je.webgl_compressed_texture_pvrtc&&b(lr,{\"rgb pvrtc 4bppv1\":35840,\"rgb pvrtc 2bppv1\":35841,\"rgba pvrtc 4bppv1\":35842,\"rgba pvrtc 2bppv1\":35843}),je.webgl_compressed_texture_etc1&&(lr[\"rgb etc1\"]=36196);var wr=Array.prototype.slice.call(Re.getParameter(34467));Object.keys(lr).forEach(function(F){var V=lr[F];wr.indexOf(V)>=0&&(Zn[F]=V)});var Dr=Object.keys(Zn);nt.textureFormats=Dr;var go=[];Object.keys(Zn).forEach(function(F){var V=Zn[F];go[V]=F});var Ir=[];Object.keys(kn).forEach(function(F){var V=kn[F];Ir[V]=F});var Jr=[];Object.keys(Ke).forEach(function(F){Jr[Ke[F]]=F});var _o=[];Object.keys(Mt).forEach(function(F){var V=Mt[F];_o[V]=F});var No=[];Object.keys(Ae).forEach(function(F){No[Ae[F]]=F});var ii=Dr.reduce(function(F,V){var U=Zn[V];return U===6409||U===6406||U===6409||U===6410||U===6402||U===34041||je.ext_srgb&&(U===35904||U===35906)?F[U]=U:U===32855||V.indexOf(\"rgba\")>=0?F[U]=6408:F[U]=6407,F},{});function Lo(){this.internalformat=6408,this.format=6408,this.type=5121,this.compressed=!1,this.premultiplyAlpha=!1,this.flipY=!1,this.unpackAlignment=1,this.colorSpace=37444,this.width=0,this.height=0,this.channels=0}function ai(F,V){F.internalformat=V.internalformat,F.format=V.format,F.type=V.type,F.compressed=V.compressed,F.premultiplyAlpha=V.premultiplyAlpha,F.flipY=V.flipY,F.unpackAlignment=V.unpackAlignment,F.colorSpace=V.colorSpace,F.width=V.width,F.height=V.height,F.channels=V.channels}function Si(F,V){if(w(V)===\"object\"&&V){if(\"premultiplyAlpha\"in V&&(ee.type(V.premultiplyAlpha,\"boolean\",\"invalid premultiplyAlpha\"),F.premultiplyAlpha=V.premultiplyAlpha),\"flipY\"in V&&(ee.type(V.flipY,\"boolean\",\"invalid texture flip\"),F.flipY=V.flipY),\"alignment\"in V&&(ee.oneOf(V.alignment,[1,2,4,8],\"invalid texture unpack alignment\"),F.unpackAlignment=V.alignment),\"colorSpace\"in V&&(ee.parameter(V.colorSpace,Ut,\"invalid colorSpace\"),F.colorSpace=Ut[V.colorSpace]),\"type\"in V){var U=V.type;ee(je.oes_texture_float||!(U===\"float\"||U===\"float32\"),\"you must enable the OES_texture_float extension in order to use floating point textures.\"),ee(je.oes_texture_half_float||!(U===\"half float\"||U===\"float16\"),\"you must enable the OES_texture_half_float extension in order to use 16-bit floating point textures.\"),ee(je.webgl_depth_texture||!(U===\"uint16\"||U===\"uint32\"||U===\"depth stencil\"),\"you must enable the WEBGL_depth_texture extension in order to use depth/stencil textures.\"),ee.parameter(U,kn,\"invalid texture type\"),F.type=kn[U]}var ge=F.width,ke=F.height,St=F.channels,Je=!1;\"shape\"in V?(ee(Array.isArray(V.shape)&&V.shape.length>=2,\"shape must be an array\"),ge=V.shape[0],ke=V.shape[1],V.shape.length===3&&(St=V.shape[2],ee(St>0&&St<=4,\"invalid number of channels\"),Je=!0),ee(ge>=0&&ge<=nt.maxTextureSize,\"invalid width\"),ee(ke>=0&&ke<=nt.maxTextureSize,\"invalid height\")):(\"radius\"in V&&(ge=ke=V.radius,ee(ge>=0&&ge<=nt.maxTextureSize,\"invalid radius\")),\"width\"in V&&(ge=V.width,ee(ge>=0&&ge<=nt.maxTextureSize,\"invalid width\")),\"height\"in V&&(ke=V.height,ee(ke>=0&&ke<=nt.maxTextureSize,\"invalid height\")),\"channels\"in V&&(St=V.channels,ee(St>0&&St<=4,\"invalid number of channels\"),Je=!0)),F.width=0|ge,F.height=0|ke,F.channels=0|St;var Ot=!1;if(\"format\"in V){var It=V.format;ee(je.webgl_depth_texture||!(It===\"depth\"||It===\"depth stencil\"),\"you must enable the WEBGL_depth_texture extension in order to use depth/stencil textures.\"),ee.parameter(It,Zn,\"invalid texture format\");var jt=F.internalformat=Zn[It];F.format=ii[jt],It in kn&&(\"type\"in V||(F.type=kn[It])),It in lr&&(F.compressed=!0),Ot=!0}!Je&&Ot?F.channels=Ft[F.format]:Je&&!Ot?F.channels!==In[F.format]&&(F.format=F.internalformat=In[F.channels]):Ot&&Je&&ee(F.channels===Ft[F.format],\"number of channels inconsistent with specified format\")}}function Ui(F){Re.pixelStorei(37440,F.flipY),Re.pixelStorei(37441,F.premultiplyAlpha),Re.pixelStorei(37443,F.colorSpace),Re.pixelStorei(3317,F.unpackAlignment)}function ln(){Lo.call(this),this.xOffset=0,this.yOffset=0,this.data=null,this.needsFree=!1,this.element=null,this.needsCopy=!1}function mn(F,V){var U=null;if(Ur(V)?U=V:V&&(ee.type(V,\"object\",\"invalid pixel data type\"),Si(F,V),\"x\"in V&&(F.xOffset=0|V.x),\"y\"in V&&(F.yOffset=0|V.y),Ur(V.data)&&(U=V.data)),ee(!F.compressed||U instanceof Uint8Array,\"compressed texture data must be stored in a uint8array\"),V.copy){ee(!U,\"can not specify copy and data field for the same texture\");var ge=Xt.viewportWidth,ke=Xt.viewportHeight;F.width=F.width||ge-F.xOffset,F.height=F.height||ke-F.yOffset,F.needsCopy=!0,ee(F.xOffset>=0&&F.xOffset<ge&&F.yOffset>=0&&F.yOffset<ke&&F.width>0&&F.width<=ge&&F.height>0&&F.height<=ke,\"copy texture read out of bounds\")}else if(U){if(O(U))F.channels=F.channels||4,F.data=U,\"type\"in V||F.type!==5121||(F.type=gn(U));else if(zr(U))F.channels=F.channels||4,function(Bt,En){var _n=En.length;switch(Bt.type){case 5121:case 5123:case 5125:case 5126:var cr=X.allocType(Bt.type,_n);cr.set(En),Bt.data=cr;break;case 36193:Bt.data=qt(En);break;default:ee.raise(\"unsupported texture type, must specify a typed array\")}}(F,U),F.alignment=1,F.needsFree=!0;else if(se(U)){var St=U.data;Array.isArray(St)||F.type!==5121||(F.type=gn(St));var Je,Ot,It,jt,Vt,Pn,Jn=U.shape,vn=U.stride;Jn.length===3?(It=Jn[2],Pn=vn[2]):(ee(Jn.length===2,\"invalid ndarray pixel data, must be 2 or 3D\"),It=1,Pn=1),Je=Jn[0],Ot=Jn[1],jt=vn[0],Vt=vn[1],F.alignment=1,F.width=Je,F.height=Ot,F.channels=It,F.format=F.internalformat=In[It],F.needsFree=!0,function(Bt,En,_n,cr,ao,kr){for(var jo=Bt.width,ui=Bt.height,Vr=Bt.channels,ho=Gt(Bt,jo*ui*Vr),vo=0,uo=0;uo<ui;++uo)for(var Go=0;Go<jo;++Go)for(var Pi=0;Pi<Vr;++Pi)ho[vo++]=En[_n*Go+cr*uo+ao*Pi+kr];bt(Bt,ho)}(F,St,jt,Vt,Pn,U.offset)}else if(Kr(U)||ko(U)||Nr(U)===pn)Kr(U)||ko(U)?F.element=U:F.element=U.canvas,F.width=F.element.width,F.height=F.element.height,F.channels=4;else if(function(Bt){return Nr(Bt)===en}(U))F.element=U,F.width=U.width,F.height=U.height,F.channels=4;else if(function(Bt){return Nr(Bt)===Wn}(U))F.element=U,F.width=U.naturalWidth,F.height=U.naturalHeight,F.channels=4;else if(function(Bt){return Nr(Bt)===Mn}(U))F.element=U,F.width=U.videoWidth,F.height=U.videoHeight,F.channels=4;else if(Wr(U)){var Vn=F.width||U[0].length,zt=F.height||U.length,ir=F.channels;ir=hn(U[0][0])?ir||U[0][0].length:ir||1;for(var nr=_e.shape(U),ur=1,sr=0;sr<nr.length;++sr)ur*=nr[sr];var Ln=Gt(F,ur);_e.flatten(U,nr,\"\",Ln),bt(F,Ln),F.alignment=1,F.width=Vn,F.height=zt,F.channels=ir,F.format=F.internalformat=In[ir],F.needsFree=!0}}else F.width=F.width||1,F.height=F.height||1,F.channels=F.channels||4;F.type===5126?ee(nt.extensions.indexOf(\"oes_texture_float\")>=0,\"oes_texture_float extension not enabled\"):F.type===36193&&ee(nt.extensions.indexOf(\"oes_texture_half_float\")>=0,\"oes_texture_half_float extension not enabled\")}function fr(F,V,U){var ge=F.element,ke=F.data,St=F.internalformat,Je=F.format,Ot=F.type,It=F.width,jt=F.height;Ui(F),ge?Re.texImage2D(V,U,Je,Je,Ot,ge):F.compressed?Re.compressedTexImage2D(V,U,St,It,jt,0,ke):F.needsCopy?(rt(),Re.copyTexImage2D(V,U,Je,F.xOffset,F.yOffset,It,jt,0)):Re.texImage2D(V,U,Je,It,jt,0,Je,Ot,ke||null)}function ft(F,V,U,ge,ke){var St=F.element,Je=F.data,Ot=F.internalformat,It=F.format,jt=F.type,Vt=F.width,Pn=F.height;Ui(F),St?Re.texSubImage2D(V,ke,U,ge,It,jt,St):F.compressed?Re.compressedTexSubImage2D(V,ke,U,ge,Ot,Vt,Pn,Je):F.needsCopy?(rt(),Re.copyTexSubImage2D(V,ke,U,ge,F.xOffset,F.yOffset,Vt,Pn)):Re.texSubImage2D(V,ke,U,ge,Vt,Pn,It,jt,Je)}var ct=[];function tn(){return ct.pop()||new ln}function An(F){F.needsFree&&X.freeType(F.data),ln.call(F),ct.push(F)}function Rt(){Lo.call(this),this.genMipmaps=!1,this.mipmapHint=4352,this.mipmask=0,this.images=Array(16)}function un(F,V,U){var ge=F.images[0]=tn();F.mipmask=1,ge.width=F.width=V,ge.height=F.height=U,ge.channels=F.channels=4}function Dn(F,V){var U=null;if(Ur(V))ai(U=F.images[0]=tn(),F),mn(U,V),F.mipmask=1;else if(Si(F,V),Array.isArray(V.mipmap))for(var ge=V.mipmap,ke=0;ke<ge.length;++ke)ai(U=F.images[ke]=tn(),F),U.width>>=ke,U.height>>=ke,mn(U,ge[ke]),F.mipmask|=1<<ke;else ai(U=F.images[0]=tn(),F),mn(U,V),F.mipmask=1;ai(F,F.images[0]),!F.compressed||F.internalformat!==33776&&F.internalformat!==33777&&F.internalformat!==33778&&F.internalformat!==33779||ee(F.width%4==0&&F.height%4==0,\"for compressed texture formats, mipmap level 0 must have width and height that are a multiple of 4\")}function dr(F,V){for(var U=F.images,ge=0;ge<U.length;++ge){if(!U[ge])return;fr(U[ge],V,ge)}}var Ar=[];function Gr(){var F=Ar.pop()||new Rt;Lo.call(F),F.mipmask=0;for(var V=0;V<16;++V)F.images[V]=null;return F}function Pr(F){for(var V=F.images,U=0;U<V.length;++U)V[U]&&An(V[U]),V[U]=null;Ar.push(F)}function Xr(){this.minFilter=9728,this.magFilter=9728,this.wrapS=33071,this.wrapT=33071,this.anisotropic=1,this.genMipmaps=!1,this.mipmapHint=4352}function oo(F,V){if(\"min\"in V){var U=V.min;ee.parameter(U,Mt),F.minFilter=Mt[U],an.indexOf(F.minFilter)>=0&&!(\"faces\"in V)&&(F.genMipmaps=!0)}if(\"mag\"in V){var ge=V.mag;ee.parameter(ge,Ke),F.magFilter=Ke[ge]}var ke=F.wrapS,St=F.wrapT;if(\"wrap\"in V){var Je=V.wrap;typeof Je==\"string\"?(ee.parameter(Je,Ae),ke=St=Ae[Je]):Array.isArray(Je)&&(ee.parameter(Je[0],Ae),ee.parameter(Je[1],Ae),ke=Ae[Je[0]],St=Ae[Je[1]])}else{if(\"wrapS\"in V){var Ot=V.wrapS;ee.parameter(Ot,Ae),ke=Ae[Ot]}if(\"wrapT\"in V){var It=V.wrapT;ee.parameter(It,Ae),St=Ae[It]}}if(F.wrapS=ke,F.wrapT=St,\"anisotropic\"in V){var jt=V.anisotropic;ee(typeof jt==\"number\"&&jt>=1&&jt<=nt.maxAnisotropic,\"aniso samples must be between 1 and \"),F.anisotropic=V.anisotropic}if(\"mipmap\"in V){var Vt=!1;switch(w(V.mipmap)){case\"string\":ee.parameter(V.mipmap,Yn,\"invalid mipmap hint\"),F.mipmapHint=Yn[V.mipmap],F.genMipmaps=!0,Vt=!0;break;case\"boolean\":Vt=F.genMipmaps=V.mipmap;break;case\"object\":ee(Array.isArray(V.mipmap),\"invalid mipmap type\"),F.genMipmaps=!1,Vt=!0;break;default:ee.raise(\"invalid mipmap type\")}Vt&&!(\"min\"in V)&&(F.minFilter=9984)}}function io(F,V){Re.texParameteri(V,10241,F.minFilter),Re.texParameteri(V,10240,F.magFilter),Re.texParameteri(V,10242,F.wrapS),Re.texParameteri(V,10243,F.wrapT),je.ext_texture_filter_anisotropic&&Re.texParameteri(V,34046,F.anisotropic),F.genMipmaps&&(Re.hint(33170,F.mipmapHint),Re.generateMipmap(V))}var to=0,To={},jn=nt.maxTextureUnits,W=Array(jn).map(function(){return null});function P(F){Lo.call(this),this.mipmask=0,this.internalformat=6408,this.id=to++,this.refCount=1,this.target=F,this.texture=Re.createTexture(),this.unit=-1,this.bindCount=0,this.texInfo=new Xr,Cn.profile&&(this.stats={size:0})}function k(F){Re.activeTexture(33984),Re.bindTexture(F.target,F.texture)}function z(){var F=W[0];F?Re.bindTexture(F.target,F.texture):Re.bindTexture(3553,null)}function Q(F){var V=F.texture;ee(V,\"must not double destroy texture\");var U=F.unit,ge=F.target;U>=0&&(Re.activeTexture(33984+U),Re.bindTexture(ge,null),W[U]=null),Re.deleteTexture(V),F.texture=null,F.params=null,F.pixels=null,F.refCount=0,delete To[F.id],fn.textureCount--}return b(P.prototype,{bind:function(){this.bindCount+=1;var F=this.unit;if(F<0){for(var V=0;V<jn;++V){var U=W[V];if(U){if(U.bindCount>0)continue;U.unit=-1}W[V]=this,F=V;break}F>=jn&&ee.raise(\"insufficient number of texture units\"),Cn.profile&&fn.maxTextureUnits<F+1&&(fn.maxTextureUnits=F+1),this.unit=F,Re.activeTexture(33984+F),Re.bindTexture(this.target,this.texture)}return F},unbind:function(){this.bindCount-=1},decRef:function(){--this.refCount<=0&&Q(this)}}),Cn.profile&&(fn.getTotalTextureSize=function(){var F=0;return Object.keys(To).forEach(function(V){F+=To[V].stats.size}),F}),{create2D:function(F,V){var U=new P(3553);function ge(ke,St){var Je=U.texInfo;Xr.call(Je);var Ot=Gr();return typeof ke==\"number\"?un(Ot,0|ke,typeof St==\"number\"?0|St:0|ke):ke?(ee.type(ke,\"object\",\"invalid arguments to regl.texture\"),oo(Je,ke),Dn(Ot,ke)):un(Ot,1,1),Je.genMipmaps&&(Ot.mipmask=(Ot.width<<1)-1),U.mipmask=Ot.mipmask,ai(U,Ot),ee.texture2D(Je,Ot,nt),U.internalformat=Ot.internalformat,ge.width=Ot.width,ge.height=Ot.height,k(U),dr(Ot,3553),io(Je,3553),z(),Pr(Ot),Cn.profile&&(U.stats.size=Zt(U.internalformat,U.type,Ot.width,Ot.height,Je.genMipmaps,!1)),ge.format=go[U.internalformat],ge.type=Ir[U.type],ge.mag=Jr[Je.magFilter],ge.min=_o[Je.minFilter],ge.wrapS=No[Je.wrapS],ge.wrapT=No[Je.wrapT],ge}return To[U.id]=U,fn.textureCount++,ge(F,V),ge.subimage=function(ke,St,Je,Ot){ee(!!ke,\"must specify image data\");var It=0|St,jt=0|Je,Vt=0|Ot,Pn=tn();return ai(Pn,U),Pn.width=0,Pn.height=0,mn(Pn,ke),Pn.width=Pn.width||(U.width>>Vt)-It,Pn.height=Pn.height||(U.height>>Vt)-jt,ee(U.type===Pn.type&&U.format===Pn.format&&U.internalformat===Pn.internalformat,\"incompatible format for texture.subimage\"),ee(It>=0&&jt>=0&&It+Pn.width<=U.width&&jt+Pn.height<=U.height,\"texture.subimage write out of bounds\"),ee(U.mipmask&1<<Vt,\"missing mipmap data\"),ee(Pn.data||Pn.element||Pn.needsCopy,\"missing image data\"),k(U),ft(Pn,3553,It,jt,Vt),z(),An(Pn),ge},ge.resize=function(ke,St){var Je=0|ke,Ot=0|St||Je;if(Je===U.width&&Ot===U.height)return ge;ge.width=U.width=Je,ge.height=U.height=Ot,k(U);for(var It=0;U.mipmask>>It;++It){var jt=Je>>It,Vt=Ot>>It;if(!jt||!Vt)break;Re.texImage2D(3553,It,U.format,jt,Vt,0,U.format,U.type,null)}return z(),Cn.profile&&(U.stats.size=Zt(U.internalformat,U.type,Je,Ot,!1,!1)),ge},ge._reglType=\"texture2d\",ge._texture=U,Cn.profile&&(ge.stats=U.stats),ge.destroy=function(){U.decRef()},ge},createCube:function(F,V,U,ge,ke,St){var Je=new P(34067);To[Je.id]=Je,fn.cubeCount++;var Ot=new Array(6);function It(jt,Vt,Pn,Jn,vn,Vn){var zt,ir=Je.texInfo;for(Xr.call(ir),zt=0;zt<6;++zt)Ot[zt]=Gr();if(typeof jt!=\"number\"&&jt)if(w(jt)===\"object\")if(Vt)Dn(Ot[0],jt),Dn(Ot[1],Vt),Dn(Ot[2],Pn),Dn(Ot[3],Jn),Dn(Ot[4],vn),Dn(Ot[5],Vn);else if(oo(ir,jt),Si(Je,jt),\"faces\"in jt){var nr=jt.faces;for(ee(Array.isArray(nr)&&nr.length===6,\"cube faces must be a length 6 array\"),zt=0;zt<6;++zt)ee(w(nr[zt])===\"object\"&&!!nr[zt],\"invalid input for cube map face\"),ai(Ot[zt],Je),Dn(Ot[zt],nr[zt])}else for(zt=0;zt<6;++zt)Dn(Ot[zt],jt);else ee.raise(\"invalid arguments to cube map\");else{var ur=0|jt||1;for(zt=0;zt<6;++zt)un(Ot[zt],ur,ur)}for(ai(Je,Ot[0]),nt.npotTextureCube||ee(Kt(Je.width)&&Kt(Je.height),\"your browser does not support non power or two texture dimensions\"),ir.genMipmaps?Je.mipmask=(Ot[0].width<<1)-1:Je.mipmask=Ot[0].mipmask,ee.textureCube(Je,ir,Ot,nt),Je.internalformat=Ot[0].internalformat,It.width=Ot[0].width,It.height=Ot[0].height,k(Je),zt=0;zt<6;++zt)dr(Ot[zt],34069+zt);for(io(ir,34067),z(),Cn.profile&&(Je.stats.size=Zt(Je.internalformat,Je.type,It.width,It.height,ir.genMipmaps,!0)),It.format=go[Je.internalformat],It.type=Ir[Je.type],It.mag=Jr[ir.magFilter],It.min=_o[ir.minFilter],It.wrapS=No[ir.wrapS],It.wrapT=No[ir.wrapT],zt=0;zt<6;++zt)Pr(Ot[zt]);return It}return It(F,V,U,ge,ke,St),It.subimage=function(jt,Vt,Pn,Jn,vn){ee(!!Vt,\"must specify image data\"),ee(typeof jt==\"number\"&&jt===(0|jt)&&jt>=0&&jt<6,\"invalid face\");var Vn=0|Pn,zt=0|Jn,ir=0|vn,nr=tn();return ai(nr,Je),nr.width=0,nr.height=0,mn(nr,Vt),nr.width=nr.width||(Je.width>>ir)-Vn,nr.height=nr.height||(Je.height>>ir)-zt,ee(Je.type===nr.type&&Je.format===nr.format&&Je.internalformat===nr.internalformat,\"incompatible format for texture.subimage\"),ee(Vn>=0&&zt>=0&&Vn+nr.width<=Je.width&&zt+nr.height<=Je.height,\"texture.subimage write out of bounds\"),ee(Je.mipmask&1<<ir,\"missing mipmap data\"),ee(nr.data||nr.element||nr.needsCopy,\"missing image data\"),k(Je),ft(nr,34069+jt,Vn,zt,ir),z(),An(nr),It},It.resize=function(jt){var Vt=0|jt;if(Vt!==Je.width){It.width=Je.width=Vt,It.height=Je.height=Vt,k(Je);for(var Pn=0;Pn<6;++Pn)for(var Jn=0;Je.mipmask>>Jn;++Jn)Re.texImage2D(34069+Pn,Jn,Je.format,Vt>>Jn,Vt>>Jn,0,Je.format,Je.type,null);return z(),Cn.profile&&(Je.stats.size=Zt(Je.internalformat,Je.type,It.width,It.height,!1,!0)),It}},It._reglType=\"textureCube\",It._texture=Je,Cn.profile&&(It.stats=Je.stats),It.destroy=function(){Je.decRef()},It},clear:function(){for(var F=0;F<jn;++F)Re.activeTexture(33984+F),Re.bindTexture(3553,null),W[F]=null;fe(To).forEach(Q),fn.cubeCount=0,fn.textureCount=0},getTexture:function(F){return null},restore:function(){for(var F=0;F<jn;++F){var V=W[F];V&&(V.bindCount=0,V.unit=-1,W[F]=null)}fe(To).forEach(function(U){U.texture=Re.createTexture(),Re.bindTexture(U.target,U.texture);for(var ge=0;ge<32;++ge)if(U.mipmask&1<<ge)if(U.target===3553)Re.texImage2D(3553,ge,U.internalformat,U.width>>ge,U.height>>ge,0,U.internalformat,U.type,null);else for(var ke=0;ke<6;++ke)Re.texImage2D(34069+ke,ge,U.internalformat,U.width>>ge,U.height>>ge,0,U.internalformat,U.type,null);io(U.texInfo,U.target)})},refresh:function(){for(var F=0;F<jn;++F){var V=W[F];V&&(V.bindCount=0,V.unit=-1,W[F]=null),Re.activeTexture(33984+F),Re.bindTexture(3553,null),Re.bindTexture(34067,null)}}}}pr[32854]=2,pr[32855]=2,pr[36194]=2,pr[34041]=4,pr[33776]=.5,pr[33777]=.5,pr[33778]=1,pr[33779]=1,pr[35986]=.5,pr[35987]=1,pr[34798]=1,pr[35840]=.5,pr[35841]=.25,pr[35842]=.5,pr[35843]=.25,pr[36196]=.5;var Wt=[];function xn(Re,je,nt){return Wt[Re]*je*nt}Wt[32854]=2,Wt[32855]=2,Wt[36194]=2,Wt[33189]=2,Wt[36168]=1,Wt[34041]=4,Wt[35907]=4,Wt[34836]=16,Wt[34842]=8,Wt[34843]=6;var Dt=[6407,6408],Xn=[];Xn[6408]=4,Xn[6407]=3;var Rn=[];Rn[5121]=1,Rn[5126]=4,Rn[36193]=2;var wt=[32854,32855,36194,35907,34842,34843,34836],pt={};function Ue(){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=5126,this.offset=0,this.stride=0,this.divisor=0}function xt(Re,je,nt,rt,Xt,fn,Cn){function Yn(Ae){var Ke;je.next===null?(ee(Xt.preserveDrawingBuffer,'you must create a webgl context with \"preserveDrawingBuffer\":true in order to read pixels from the drawing buffer'),Ke=5121):(ee(je.next.colorAttachments[0].texture!==null,\"You cannot read from a renderbuffer\"),Ke=je.next.colorAttachments[0].texture._texture.type,fn.oes_texture_float?(ee(Ke===5121||Ke===5126,\"Reading from a framebuffer is only allowed for the types 'uint8' and 'float'\"),Ke===5126&&ee(Cn.readFloat,\"Reading 'float' values is not permitted in your browser. For a fallback, please see: https://www.npmjs.com/package/glsl-read-float\")):ee(Ke===5121,\"Reading from a framebuffer is only allowed for the type 'uint8'\"));var Mt=0,Ut=0,kn=rt.framebufferWidth,Zn=rt.framebufferHeight,lr=null;O(Ae)?lr=Ae:Ae&&(ee.type(Ae,\"object\",\"invalid arguments to regl.read()\"),Mt=0|Ae.x,Ut=0|Ae.y,ee(Mt>=0&&Mt<rt.framebufferWidth,\"invalid x offset for regl.read\"),ee(Ut>=0&&Ut<rt.framebufferHeight,\"invalid y offset for regl.read\"),kn=0|(Ae.width||rt.framebufferWidth-Mt),Zn=0|(Ae.height||rt.framebufferHeight-Ut),lr=Ae.data||null),lr&&(Ke===5121?ee(lr instanceof Uint8Array,\"buffer must be 'Uint8Array' when reading from a framebuffer of type 'uint8'\"):Ke===5126&&ee(lr instanceof Float32Array,\"buffer must be 'Float32Array' when reading from a framebuffer of type 'float'\")),ee(kn>0&&kn+Mt<=rt.framebufferWidth,\"invalid width for read pixels\"),ee(Zn>0&&Zn+Ut<=rt.framebufferHeight,\"invalid height for read pixels\"),nt();var wr=kn*Zn*4;return lr||(Ke===5121?lr=new Uint8Array(wr):Ke===5126&&(lr=lr||new Float32Array(wr))),ee.isTypedArray(lr,\"data buffer for regl.read() must be a typedarray\"),ee(lr.byteLength>=wr,\"data buffer for regl.read() too small\"),Re.pixelStorei(3333,4),Re.readPixels(Mt,Ut,kn,Zn,6408,Ke,lr),lr}return function(Ae){return Ae&&\"framebuffer\"in Ae?function(Ke){var Mt;return je.setFBO({framebuffer:Ke.framebuffer},function(){Mt=Yn(Ke)}),Mt}(Ae):Yn(Ae)}}function cn(Re){return Array.prototype.slice.call(Re)}function er(Re){return cn(Re).join(\"\")}pt[36053]=\"complete\",pt[36054]=\"incomplete attachment\",pt[36057]=\"incomplete dimensions\",pt[36055]=\"incomplete, missing attachment\",pt[36061]=\"unsupported\";var Mr=\"xyzw\".split(\"\"),xr=\"profile\",jr=\"framebuffer\",yo=\"vert\",eo=\"frag\",vi=\"elements\",Ti=\"primitive\",wi=\"count\",mi=\"offset\",Zi=\"instances\",aa=\"vao\",$e=jr+\"Width\",dn=jr+\"Height\",Un=[\"blend.func\",\"blend.equation\",\"stencil.func\",\"stencil.opFront\",\"stencil.opBack\",\"sample.coverage\",\"viewport\",\"scissor.box\",\"polygonOffset.offset\"],ar={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},Rr=[\"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\"],Ro={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},Vo={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,\"increment wrap\":34055,\"decrement wrap\":34056,invert:5386},Co={frag:35632,vert:35633},Mo={cw:2304,ccw:2305};function qo(Re){return Array.isArray(Re)||O(Re)||se(Re)}function ti(Re){return Re.sort(function(je,nt){return je===\"viewport\"?-1:nt===\"viewport\"?1:je<nt?-1:1})}function pi(Re,je,nt,rt){this.thisDep=Re,this.contextDep=je,this.propDep=nt,this.append=rt}function ni(Re){return Re&&!(Re.thisDep||Re.contextDep||Re.propDep)}function si(Re){return new pi(!1,!1,!1,Re)}function Oi(Re,je){var nt=Re.type;if(nt===0){var rt=Re.data.length;return new pi(!0,rt>=1,rt>=2,je)}if(nt===4){var Xt=Re.data;return new pi(Xt.thisDep,Xt.contextDep,Xt.propDep,je)}if(nt===5)return new pi(!1,!1,!1,je);if(nt===6){for(var fn=!1,Cn=!1,Yn=!1,Ae=0;Ae<Re.data.length;++Ae){var Ke=Re.data[Ae];if(Ke.type===1)Yn=!0;else if(Ke.type===2)Cn=!0;else if(Ke.type===3)fn=!0;else if(Ke.type===0){fn=!0;var Mt=Ke.data;Mt>=1&&(Cn=!0),Mt>=2&&(Yn=!0)}else Ke.type===4&&(fn=fn||Ke.data.thisDep,Cn=Cn||Ke.data.contextDep,Yn=Yn||Ke.data.propDep)}return new pi(fn,Cn,Yn,je)}return new pi(nt===3,nt===2,nt===1,je)}var Ki=new pi(!1,!1,!1,function(){});function ca(Re,je,nt,rt,Xt,fn,Cn,Yn,Ae,Ke,Mt,Ut,kn,Zn,lr){var wr=Ke.Record,Dr={add:32774,subtract:32778,\"reverse subtract\":32779};nt.ext_blend_minmax&&(Dr.min=32775,Dr.max=32776);var go=nt.angle_instanced_arrays,Ir=nt.webgl_draw_buffers,Jr={dirty:!0,profile:lr.profile},_o={},No=[],ii={},Lo={};function ai(jn){return jn.replace(\".\",\"_\")}function Si(jn,W,P){var k=ai(jn);No.push(jn),_o[k]=Jr[k]=!!P,ii[k]=W}function Ui(jn,W,P){var k=ai(jn);No.push(jn),Array.isArray(P)?(Jr[k]=P.slice(),_o[k]=P.slice()):Jr[k]=_o[k]=P,Lo[k]=W}Si(\"dither\",3024),Si(\"blend.enable\",3042),Ui(\"blend.color\",\"blendColor\",[0,0,0,0]),Ui(\"blend.equation\",\"blendEquationSeparate\",[32774,32774]),Ui(\"blend.func\",\"blendFuncSeparate\",[1,0,1,0]),Si(\"depth.enable\",2929,!0),Ui(\"depth.func\",\"depthFunc\",513),Ui(\"depth.range\",\"depthRange\",[0,1]),Ui(\"depth.mask\",\"depthMask\",!0),Ui(\"colorMask\",\"colorMask\",[!0,!0,!0,!0]),Si(\"cull.enable\",2884),Ui(\"cull.face\",\"cullFace\",1029),Ui(\"frontFace\",\"frontFace\",2305),Ui(\"lineWidth\",\"lineWidth\",1),Si(\"polygonOffset.enable\",32823),Ui(\"polygonOffset.offset\",\"polygonOffset\",[0,0]),Si(\"sample.alpha\",32926),Si(\"sample.enable\",32928),Ui(\"sample.coverage\",\"sampleCoverage\",[1,!1]),Si(\"stencil.enable\",2960),Ui(\"stencil.mask\",\"stencilMask\",-1),Ui(\"stencil.func\",\"stencilFunc\",[519,0,-1]),Ui(\"stencil.opFront\",\"stencilOpSeparate\",[1028,7680,7680,7680]),Ui(\"stencil.opBack\",\"stencilOpSeparate\",[1029,7680,7680,7680]),Si(\"scissor.enable\",3089),Ui(\"scissor.box\",\"scissor\",[0,0,Re.drawingBufferWidth,Re.drawingBufferHeight]),Ui(\"viewport\",\"viewport\",[0,0,Re.drawingBufferWidth,Re.drawingBufferHeight]);var ln={gl:Re,context:kn,strings:je,next:_o,current:Jr,draw:Ut,elements:fn,buffer:Xt,shader:Mt,attributes:Ke.state,vao:Ke,uniforms:Ae,framebuffer:Yn,extensions:nt,timer:Zn,isBufferArgs:qo},mn={primTypes:Lt,compareFuncs:Ro,blendFuncs:ar,blendEquations:Dr,stencilOps:Vo,glTypes:we,orientationType:Mo};ee.optional(function(){ln.isArrayLike=hn}),Ir&&(mn.backBuffer=[1029],mn.drawBuffer=ie(rt.maxDrawbuffers,function(jn){return jn===0?[0]:ie(jn,function(W){return 36064+W})}));var fr=0;function ft(){var jn=function(){var ge=0,ke=[],St=[];function Je(){var Vt=[],Pn=[];return b(function(){Vt.push.apply(Vt,cn(arguments))},{def:function(){var Jn=\"v\"+ge++;return Pn.push(Jn),arguments.length>0&&(Vt.push(Jn,\"=\"),Vt.push.apply(Vt,cn(arguments)),Vt.push(\";\")),Jn},toString:function(){return er([Pn.length>0?\"var \"+Pn.join(\",\")+\";\":\"\",er(Vt)])}})}function Ot(){var Vt=Je(),Pn=Je(),Jn=Vt.toString,vn=Pn.toString;function Vn(zt,ir){Pn(zt,ir,\"=\",Vt.def(zt,ir),\";\")}return b(function(){Vt.apply(Vt,cn(arguments))},{def:Vt.def,entry:Vt,exit:Pn,save:Vn,set:function(zt,ir,nr){Vn(zt,ir),Vt(zt,ir,\"=\",nr,\";\")},toString:function(){return Jn()+vn()}})}var It=Je(),jt={};return{global:It,link:function(Vt){for(var Pn=0;Pn<St.length;++Pn)if(St[Pn]===Vt)return ke[Pn];var Jn=\"g\"+ge++;return ke.push(Jn),St.push(Vt),Jn},block:Je,proc:function(Vt,Pn){var Jn=[];function vn(){var nr=\"a\"+Jn.length;return Jn.push(nr),nr}Pn=Pn||0;for(var Vn=0;Vn<Pn;++Vn)vn();var zt=Ot(),ir=zt.toString;return jt[Vt]=b(zt,{arg:vn,toString:function(){return er([\"function(\",Jn.join(),\"){\",ir(),\"}\"])}})},scope:Ot,cond:function(){var Vt=er(arguments),Pn=Ot(),Jn=Ot(),vn=Pn.toString,Vn=Jn.toString;return b(Pn,{then:function(){return Pn.apply(Pn,cn(arguments)),this},else:function(){return Jn.apply(Jn,cn(arguments)),this},toString:function(){var zt=Vn();return zt&&(zt=\"else{\"+zt+\"}\"),er([\"if(\",Vt,\"){\",vn(),\"}\",zt])}})},compile:function(){var Vt=['\"use strict\";',It,\"return {\"];Object.keys(jt).forEach(function(Jn){Vt.push('\"',Jn,'\":',jt[Jn].toString(),\",\")}),Vt.push(\"}\");var Pn=er(Vt).replace(/;/g,`;\n`).replace(/}/g,`}\n`).replace(/{/g,`{\n`);return Function.apply(null,ke.concat(Pn)).apply(null,St)}}}(),W=jn.link,P=jn.global;jn.id=fr++,jn.batchId=\"0\";var k=W(ln),z=jn.shared={props:\"a0\"};Object.keys(ln).forEach(function(ge){z[ge]=P.def(k,\".\",ge)}),ee.optional(function(){jn.CHECK=W(ee),jn.commandStr=ee.guessCommand(),jn.command=W(jn.commandStr),jn.assert=function(ge,ke,St){ge(\"if(!(\",ke,\"))\",this.CHECK,\".commandRaise(\",W(St),\",\",this.command,\");\")},mn.invalidBlendCombinations=Rr});var Q=jn.next={},F=jn.current={};Object.keys(Lo).forEach(function(ge){Array.isArray(Jr[ge])&&(Q[ge]=P.def(z.next,\".\",ge),F[ge]=P.def(z.current,\".\",ge))});var V=jn.constants={};Object.keys(mn).forEach(function(ge){V[ge]=P.def(JSON.stringify(mn[ge]))}),jn.invoke=function(ge,ke){switch(ke.type){case 0:var St=[\"this\",z.context,z.props,jn.batchId];return ge.def(W(ke.data),\".call(\",St.slice(0,Math.max(ke.data.length+1,4)),\")\");case 1:return ge.def(z.props,ke.data);case 2:return ge.def(z.context,ke.data);case 3:return ge.def(\"this\",ke.data);case 4:return ke.data.append(jn,ge),ke.data.ref;case 5:return ke.data.toString();case 6:return ke.data.map(function(Je){return jn.invoke(ge,Je)})}},jn.attribCache={};var U={};return jn.scopeAttrib=function(ge){var ke=je.id(ge);if(ke in U)return U[ke];var St=Ke.scope[ke];return St||(St=Ke.scope[ke]=new wr),U[ke]=W(St)},jn}function ct(jn,W,P,k,z){var Q=jn.static,F=jn.dynamic;ee.optional(function(){var vn=[jr,yo,eo,vi,Ti,mi,wi,Zi,xr,aa].concat(No);function Vn(zt){Object.keys(zt).forEach(function(ir){ee.command(vn.indexOf(ir)>=0,'unknown parameter \"'+ir+'\"',z.commandStr)})}Vn(Q),Vn(F)});var V=function(vn,Vn){var zt=vn.static;if(typeof zt[eo]==\"string\"&&typeof zt[yo]==\"string\"){if(Object.keys(Vn.dynamic).length>0)return null;var ir=Vn.static,nr=Object.keys(ir);if(nr.length>0&&typeof ir[nr[0]]==\"number\"){for(var ur=[],sr=0;sr<nr.length;++sr)ee(typeof ir[nr[sr]]==\"number\",\"must specify all vertex attribute locations when using vaos\"),ur.push([0|ir[nr[sr]],nr[sr]]);return ur}}return null}(jn,W),U=function(vn,Vn){var zt=vn.static,ir=vn.dynamic;if(jr in zt){var nr=zt[jr];return nr?(nr=Yn.getFramebuffer(nr),ee.command(nr,\"invalid framebuffer object\"),si(function(sr,Ln){var Bt=sr.link(nr),En=sr.shared;Ln.set(En.framebuffer,\".next\",Bt);var _n=En.context;return Ln.set(_n,\".\"+$e,Bt+\".width\"),Ln.set(_n,\".\"+dn,Bt+\".height\"),Bt})):si(function(sr,Ln){var Bt=sr.shared;Ln.set(Bt.framebuffer,\".next\",\"null\");var En=Bt.context;return Ln.set(En,\".\"+$e,En+\".drawingBufferWidth\"),Ln.set(En,\".\"+dn,En+\".drawingBufferHeight\"),\"null\"})}if(jr in ir){var ur=ir[jr];return Oi(ur,function(sr,Ln){var Bt=sr.invoke(Ln,ur),En=sr.shared,_n=En.framebuffer,cr=Ln.def(_n,\".getFramebuffer(\",Bt,\")\");ee.optional(function(){sr.assert(Ln,\"!\"+Bt+\"||\"+cr,\"invalid framebuffer object\")}),Ln.set(_n,\".next\",cr);var ao=En.context;return Ln.set(ao,\".\"+$e,cr+\"?\"+cr+\".width:\"+ao+\".drawingBufferWidth\"),Ln.set(ao,\".\"+dn,cr+\"?\"+cr+\".height:\"+ao+\".drawingBufferHeight\"),cr})}return null}(jn),ge=function(vn,Vn,zt){var ir=vn.static,nr=vn.dynamic;function ur(Bt){if(Bt in ir){var En=ir[Bt];ee.commandType(En,\"object\",\"invalid \"+Bt,zt.commandStr);var _n,cr,ao=!0,kr=0|En.x,jo=0|En.y;return\"width\"in En?(_n=0|En.width,ee.command(_n>=0,\"invalid \"+Bt,zt.commandStr)):ao=!1,\"height\"in En?(cr=0|En.height,ee.command(cr>=0,\"invalid \"+Bt,zt.commandStr)):ao=!1,new pi(!ao&&Vn&&Vn.thisDep,!ao&&Vn&&Vn.contextDep,!ao&&Vn&&Vn.propDep,function(ho,vo){var uo=ho.shared.context,Go=_n;\"width\"in En||(Go=vo.def(uo,\".\",$e,\"-\",kr));var Pi=cr;return\"height\"in En||(Pi=vo.def(uo,\".\",dn,\"-\",jo)),[kr,jo,Go,Pi]})}if(Bt in nr){var ui=nr[Bt],Vr=Oi(ui,function(ho,vo){var uo=ho.invoke(vo,ui);ee.optional(function(){ho.assert(vo,uo+\"&&typeof \"+uo+'===\"object\"',\"invalid \"+Bt)});var Go=ho.shared.context,Pi=vo.def(uo,\".x|0\"),la=vo.def(uo,\".y|0\"),Vi=vo.def('\"width\" in ',uo,\"?\",uo,\".width|0:\",\"(\",Go,\".\",$e,\"-\",Pi,\")\"),ha=vo.def('\"height\" in ',uo,\"?\",uo,\".height|0:\",\"(\",Go,\".\",dn,\"-\",la,\")\");return ee.optional(function(){ho.assert(vo,Vi+\">=0&&\"+ha+\">=0\",\"invalid \"+Bt)}),[Pi,la,Vi,ha]});return Vn&&(Vr.thisDep=Vr.thisDep||Vn.thisDep,Vr.contextDep=Vr.contextDep||Vn.contextDep,Vr.propDep=Vr.propDep||Vn.propDep),Vr}return Vn?new pi(Vn.thisDep,Vn.contextDep,Vn.propDep,function(ho,vo){var uo=ho.shared.context;return[0,0,vo.def(uo,\".\",$e),vo.def(uo,\".\",dn)]}):null}var sr=ur(\"viewport\");if(sr){var Ln=sr;sr=new pi(sr.thisDep,sr.contextDep,sr.propDep,function(Bt,En){var _n=Ln.append(Bt,En),cr=Bt.shared.context;return En.set(cr,\".viewportWidth\",_n[2]),En.set(cr,\".viewportHeight\",_n[3]),_n})}return{viewport:sr,scissor_box:ur(\"scissor.box\")}}(jn,U,z),ke=function(vn,Vn){var zt=vn.static,ir=vn.dynamic,nr=function(){if(vi in zt){var Ln=zt[vi];qo(Ln)?Ln=fn.getElements(fn.create(Ln,!0)):Ln&&(Ln=fn.getElements(Ln),ee.command(Ln,\"invalid elements\",Vn.commandStr));var Bt=si(function(_n,cr){if(Ln){var ao=_n.link(Ln);return _n.ELEMENTS=ao,ao}return _n.ELEMENTS=null,null});return Bt.value=Ln,Bt}if(vi in ir){var En=ir[vi];return Oi(En,function(_n,cr){var ao=_n.shared,kr=ao.isBufferArgs,jo=ao.elements,ui=_n.invoke(cr,En),Vr=cr.def(\"null\"),ho=cr.def(kr,\"(\",ui,\")\"),vo=_n.cond(ho).then(Vr,\"=\",jo,\".createStream(\",ui,\");\").else(Vr,\"=\",jo,\".getElements(\",ui,\");\");return ee.optional(function(){_n.assert(vo.else,\"!\"+ui+\"||\"+Vr,\"invalid elements\")}),cr.entry(vo),cr.exit(_n.cond(ho).then(jo,\".destroyStream(\",Vr,\");\")),_n.ELEMENTS=Vr,Vr})}return null}();function ur(Ln,Bt){if(Ln in zt){var En=0|zt[Ln];return ee.command(!Bt||En>=0,\"invalid \"+Ln,Vn.commandStr),si(function(cr,ao){return Bt&&(cr.OFFSET=En),En})}if(Ln in ir){var _n=ir[Ln];return Oi(_n,function(cr,ao){var kr=cr.invoke(ao,_n);return Bt&&(cr.OFFSET=kr,ee.optional(function(){cr.assert(ao,kr+\">=0\",\"invalid \"+Ln)})),kr})}return Bt&&nr?si(function(cr,ao){return cr.OFFSET=\"0\",0}):null}var sr=ur(mi,!0);return{elements:nr,primitive:function(){if(Ti in zt){var Ln=zt[Ti];return ee.commandParameter(Ln,Lt,\"invalid primitve\",Vn.commandStr),si(function(En,_n){return Lt[Ln]})}if(Ti in ir){var Bt=ir[Ti];return Oi(Bt,function(En,_n){var cr=En.constants.primTypes,ao=En.invoke(_n,Bt);return ee.optional(function(){En.assert(_n,ao+\" in \"+cr,\"invalid primitive, must be one of \"+Object.keys(Lt))}),_n.def(cr,\"[\",ao,\"]\")})}return nr?ni(nr)?nr.value?si(function(En,_n){return _n.def(En.ELEMENTS,\".primType\")}):si(function(){return 4}):new pi(nr.thisDep,nr.contextDep,nr.propDep,function(En,_n){var cr=En.ELEMENTS;return _n.def(cr,\"?\",cr,\".primType:\",4)}):null}(),count:function(){if(wi in zt){var Ln=0|zt[wi];return ee.command(typeof Ln==\"number\"&&Ln>=0,\"invalid vertex count\",Vn.commandStr),si(function(){return Ln})}if(wi in ir){var Bt=ir[wi];return Oi(Bt,function(cr,ao){var kr=cr.invoke(ao,Bt);return ee.optional(function(){cr.assert(ao,\"typeof \"+kr+'===\"number\"&&'+kr+\">=0&&\"+kr+\"===(\"+kr+\"|0)\",\"invalid vertex count\")}),kr})}if(nr){if(ni(nr)){if(nr)return sr?new pi(sr.thisDep,sr.contextDep,sr.propDep,function(cr,ao){var kr=ao.def(cr.ELEMENTS,\".vertCount-\",cr.OFFSET);return ee.optional(function(){cr.assert(ao,kr+\">=0\",\"invalid vertex offset/element buffer too small\")}),kr}):si(function(cr,ao){return ao.def(cr.ELEMENTS,\".vertCount\")});var En=si(function(){return-1});return ee.optional(function(){En.MISSING=!0}),En}var _n=new pi(nr.thisDep||sr.thisDep,nr.contextDep||sr.contextDep,nr.propDep||sr.propDep,function(cr,ao){var kr=cr.ELEMENTS;return cr.OFFSET?ao.def(kr,\"?\",kr,\".vertCount-\",cr.OFFSET,\":-1\"):ao.def(kr,\"?\",kr,\".vertCount:-1\")});return ee.optional(function(){_n.DYNAMIC=!0}),_n}return null}(),instances:ur(Zi,!1),offset:sr}}(jn,z),St=function(vn,Vn){var zt=vn.static,ir=vn.dynamic,nr={};return No.forEach(function(ur){var sr=ai(ur);function Ln(Bt,En){if(ur in zt){var _n=Bt(zt[ur]);nr[sr]=si(function(){return _n})}else if(ur in ir){var cr=ir[ur];nr[sr]=Oi(cr,function(ao,kr){return En(ao,kr,ao.invoke(kr,cr))})}}switch(ur){case\"cull.enable\":case\"blend.enable\":case\"dither\":case\"stencil.enable\":case\"depth.enable\":case\"scissor.enable\":case\"polygonOffset.enable\":case\"sample.alpha\":case\"sample.enable\":case\"depth.mask\":return Ln(function(Bt){return ee.commandType(Bt,\"boolean\",ur,Vn.commandStr),Bt},function(Bt,En,_n){return ee.optional(function(){Bt.assert(En,\"typeof \"+_n+'===\"boolean\"',\"invalid flag \"+ur,Bt.commandStr)}),_n});case\"depth.func\":return Ln(function(Bt){return ee.commandParameter(Bt,Ro,\"invalid \"+ur,Vn.commandStr),Ro[Bt]},function(Bt,En,_n){var cr=Bt.constants.compareFuncs;return ee.optional(function(){Bt.assert(En,_n+\" in \"+cr,\"invalid \"+ur+\", must be one of \"+Object.keys(Ro))}),En.def(cr,\"[\",_n,\"]\")});case\"depth.range\":return Ln(function(Bt){return ee.command(hn(Bt)&&Bt.length===2&&typeof Bt[0]==\"number\"&&typeof Bt[1]==\"number\"&&Bt[0]<=Bt[1],\"depth range is 2d array\",Vn.commandStr),Bt},function(Bt,En,_n){return ee.optional(function(){Bt.assert(En,Bt.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\")}),[En.def(\"+\",_n,\"[0]\"),En.def(\"+\",_n,\"[1]\")]});case\"blend.func\":return Ln(function(Bt){ee.commandType(Bt,\"object\",\"blend.func\",Vn.commandStr);var En=\"srcRGB\"in Bt?Bt.srcRGB:Bt.src,_n=\"srcAlpha\"in Bt?Bt.srcAlpha:Bt.src,cr=\"dstRGB\"in Bt?Bt.dstRGB:Bt.dst,ao=\"dstAlpha\"in Bt?Bt.dstAlpha:Bt.dst;return ee.commandParameter(En,ar,sr+\".srcRGB\",Vn.commandStr),ee.commandParameter(_n,ar,sr+\".srcAlpha\",Vn.commandStr),ee.commandParameter(cr,ar,sr+\".dstRGB\",Vn.commandStr),ee.commandParameter(ao,ar,sr+\".dstAlpha\",Vn.commandStr),ee.command(Rr.indexOf(En+\", \"+cr)===-1,\"unallowed blending combination (srcRGB, dstRGB) = (\"+En+\", \"+cr+\")\",Vn.commandStr),[ar[En],ar[cr],ar[_n],ar[ao]]},function(Bt,En,_n){var cr=Bt.constants.blendFuncs;function ao(ho,vo){var uo=En.def('\"',ho,vo,'\" in ',_n,\"?\",_n,\".\",ho,vo,\":\",_n,\".\",ho);return ee.optional(function(){Bt.assert(En,uo+\" in \"+cr,\"invalid \"+ur+\".\"+ho+vo+\", must be one of \"+Object.keys(ar))}),uo}ee.optional(function(){Bt.assert(En,_n+\"&&typeof \"+_n+'===\"object\"',\"invalid blend func, must be an object\")});var kr=ao(\"src\",\"RGB\"),jo=ao(\"dst\",\"RGB\");ee.optional(function(){var ho=Bt.constants.invalidBlendCombinations;Bt.assert(En,ho+\".indexOf(\"+kr+'+\", \"+'+jo+\") === -1 \",\"unallowed blending combination for (srcRGB, dstRGB)\")});var ui=En.def(cr,\"[\",kr,\"]\"),Vr=En.def(cr,\"[\",ao(\"src\",\"Alpha\"),\"]\");return[ui,En.def(cr,\"[\",jo,\"]\"),Vr,En.def(cr,\"[\",ao(\"dst\",\"Alpha\"),\"]\")]});case\"blend.equation\":return Ln(function(Bt){return typeof Bt==\"string\"?(ee.commandParameter(Bt,Dr,\"invalid \"+ur,Vn.commandStr),[Dr[Bt],Dr[Bt]]):w(Bt)===\"object\"?(ee.commandParameter(Bt.rgb,Dr,ur+\".rgb\",Vn.commandStr),ee.commandParameter(Bt.alpha,Dr,ur+\".alpha\",Vn.commandStr),[Dr[Bt.rgb],Dr[Bt.alpha]]):void ee.commandRaise(\"invalid blend.equation\",Vn.commandStr)},function(Bt,En,_n){var cr=Bt.constants.blendEquations,ao=En.def(),kr=En.def(),jo=Bt.cond(\"typeof \",_n,'===\"string\"');return ee.optional(function(){function ui(Vr,ho,vo){Bt.assert(Vr,vo+\" in \"+cr,\"invalid \"+ho+\", must be one of \"+Object.keys(Dr))}ui(jo.then,ur,_n),Bt.assert(jo.else,_n+\"&&typeof \"+_n+'===\"object\"',\"invalid \"+ur),ui(jo.else,ur+\".rgb\",_n+\".rgb\"),ui(jo.else,ur+\".alpha\",_n+\".alpha\")}),jo.then(ao,\"=\",kr,\"=\",cr,\"[\",_n,\"];\"),jo.else(ao,\"=\",cr,\"[\",_n,\".rgb];\",kr,\"=\",cr,\"[\",_n,\".alpha];\"),En(jo),[ao,kr]});case\"blend.color\":return Ln(function(Bt){return ee.command(hn(Bt)&&Bt.length===4,\"blend.color must be a 4d array\",Vn.commandStr),ie(4,function(En){return+Bt[En]})},function(Bt,En,_n){return ee.optional(function(){Bt.assert(En,Bt.shared.isArrayLike+\"(\"+_n+\")&&\"+_n+\".length===4\",\"blend.color must be a 4d array\")}),ie(4,function(cr){return En.def(\"+\",_n,\"[\",cr,\"]\")})});case\"stencil.mask\":return Ln(function(Bt){return ee.commandType(Bt,\"number\",sr,Vn.commandStr),0|Bt},function(Bt,En,_n){return ee.optional(function(){Bt.assert(En,\"typeof \"+_n+'===\"number\"',\"invalid stencil.mask\")}),En.def(_n,\"|0\")});case\"stencil.func\":return Ln(function(Bt){ee.commandType(Bt,\"object\",sr,Vn.commandStr);var En=Bt.cmp||\"keep\",_n=Bt.ref||0,cr=\"mask\"in Bt?Bt.mask:-1;return ee.commandParameter(En,Ro,ur+\".cmp\",Vn.commandStr),ee.commandType(_n,\"number\",ur+\".ref\",Vn.commandStr),ee.commandType(cr,\"number\",ur+\".mask\",Vn.commandStr),[Ro[En],_n,cr]},function(Bt,En,_n){var cr=Bt.constants.compareFuncs;return ee.optional(function(){function ao(){Bt.assert(En,Array.prototype.join.call(arguments,\"\"),\"invalid stencil.func\")}ao(_n+\"&&typeof \",_n,'===\"object\"'),ao('!(\"cmp\" in ',_n,\")||(\",_n,\".cmp in \",cr,\")\")}),[En.def('\"cmp\" in ',_n,\"?\",cr,\"[\",_n,\".cmp]\",\":\",7680),En.def(_n,\".ref|0\"),En.def('\"mask\" in ',_n,\"?\",_n,\".mask|0:-1\")]});case\"stencil.opFront\":case\"stencil.opBack\":return Ln(function(Bt){ee.commandType(Bt,\"object\",sr,Vn.commandStr);var En=Bt.fail||\"keep\",_n=Bt.zfail||\"keep\",cr=Bt.zpass||\"keep\";return ee.commandParameter(En,Vo,ur+\".fail\",Vn.commandStr),ee.commandParameter(_n,Vo,ur+\".zfail\",Vn.commandStr),ee.commandParameter(cr,Vo,ur+\".zpass\",Vn.commandStr),[ur===\"stencil.opBack\"?1029:1028,Vo[En],Vo[_n],Vo[cr]]},function(Bt,En,_n){var cr=Bt.constants.stencilOps;function ao(kr){return ee.optional(function(){Bt.assert(En,'!(\"'+kr+'\" in '+_n+\")||(\"+_n+\".\"+kr+\" in \"+cr+\")\",\"invalid \"+ur+\".\"+kr+\", must be one of \"+Object.keys(Vo))}),En.def('\"',kr,'\" in ',_n,\"?\",cr,\"[\",_n,\".\",kr,\"]:\",7680)}return ee.optional(function(){Bt.assert(En,_n+\"&&typeof \"+_n+'===\"object\"',\"invalid \"+ur)}),[ur===\"stencil.opBack\"?1029:1028,ao(\"fail\"),ao(\"zfail\"),ao(\"zpass\")]});case\"polygonOffset.offset\":return Ln(function(Bt){ee.commandType(Bt,\"object\",sr,Vn.commandStr);var En=0|Bt.factor,_n=0|Bt.units;return ee.commandType(En,\"number\",sr+\".factor\",Vn.commandStr),ee.commandType(_n,\"number\",sr+\".units\",Vn.commandStr),[En,_n]},function(Bt,En,_n){return ee.optional(function(){Bt.assert(En,_n+\"&&typeof \"+_n+'===\"object\"',\"invalid \"+ur)}),[En.def(_n,\".factor|0\"),En.def(_n,\".units|0\")]});case\"cull.face\":return Ln(function(Bt){var En=0;return Bt===\"front\"?En=1028:Bt===\"back\"&&(En=1029),ee.command(!!En,sr,Vn.commandStr),En},function(Bt,En,_n){return ee.optional(function(){Bt.assert(En,_n+'===\"front\"||'+_n+'===\"back\"',\"invalid cull.face\")}),En.def(_n,'===\"front\"?',1028,\":\",1029)});case\"lineWidth\":return Ln(function(Bt){return ee.command(typeof Bt==\"number\"&&Bt>=rt.lineWidthDims[0]&&Bt<=rt.lineWidthDims[1],\"invalid line width, must be a positive number between \"+rt.lineWidthDims[0]+\" and \"+rt.lineWidthDims[1],Vn.commandStr),Bt},function(Bt,En,_n){return ee.optional(function(){Bt.assert(En,\"typeof \"+_n+'===\"number\"&&'+_n+\">=\"+rt.lineWidthDims[0]+\"&&\"+_n+\"<=\"+rt.lineWidthDims[1],\"invalid line width\")}),_n});case\"frontFace\":return Ln(function(Bt){return ee.commandParameter(Bt,Mo,sr,Vn.commandStr),Mo[Bt]},function(Bt,En,_n){return ee.optional(function(){Bt.assert(En,_n+'===\"cw\"||'+_n+'===\"ccw\"',\"invalid frontFace, must be one of cw,ccw\")}),En.def(_n+'===\"cw\"?2304:2305')});case\"colorMask\":return Ln(function(Bt){return ee.command(hn(Bt)&&Bt.length===4,\"color.mask must be length 4 array\",Vn.commandStr),Bt.map(function(En){return!!En})},function(Bt,En,_n){return ee.optional(function(){Bt.assert(En,Bt.shared.isArrayLike+\"(\"+_n+\")&&\"+_n+\".length===4\",\"invalid color.mask\")}),ie(4,function(cr){return\"!!\"+_n+\"[\"+cr+\"]\"})});case\"sample.coverage\":return Ln(function(Bt){ee.command(w(Bt)===\"object\"&&Bt,sr,Vn.commandStr);var En=\"value\"in Bt?Bt.value:1,_n=!!Bt.invert;return ee.command(typeof En==\"number\"&&En>=0&&En<=1,\"sample.coverage.value must be a number between 0 and 1\",Vn.commandStr),[En,_n]},function(Bt,En,_n){return ee.optional(function(){Bt.assert(En,_n+\"&&typeof \"+_n+'===\"object\"',\"invalid sample.coverage\")}),[En.def('\"value\" in ',_n,\"?+\",_n,\".value:1\"),En.def(\"!!\",_n,\".invert\")]})}}),nr}(jn,z),Je=function(vn,Vn,zt){var ir=vn.static,nr=vn.dynamic;function ur(_n){if(_n in ir){var cr=je.id(ir[_n]);ee.optional(function(){Mt.shader(Co[_n],cr,ee.guessCommand())});var ao=si(function(){return cr});return ao.id=cr,ao}if(_n in nr){var kr=nr[_n];return Oi(kr,function(jo,ui){var Vr=jo.invoke(ui,kr),ho=ui.def(jo.shared.strings,\".id(\",Vr,\")\");return ee.optional(function(){ui(jo.shared.shader,\".shader(\",Co[_n],\",\",ho,\",\",jo.command,\");\")}),ho})}return null}var sr,Ln=ur(eo),Bt=ur(yo),En=null;return ni(Ln)&&ni(Bt)?(En=Mt.program(Bt.id,Ln.id,null,zt),sr=si(function(_n,cr){return _n.link(En)})):sr=new pi(Ln&&Ln.thisDep||Bt&&Bt.thisDep,Ln&&Ln.contextDep||Bt&&Bt.contextDep,Ln&&Ln.propDep||Bt&&Bt.propDep,function(_n,cr){var ao,kr=_n.shared.shader;ao=Ln?Ln.append(_n,cr):cr.def(kr,\".\",eo);var jo=kr+\".program(\"+(Bt?Bt.append(_n,cr):cr.def(kr,\".\",yo))+\",\"+ao;return ee.optional(function(){jo+=\",\"+_n.command}),cr.def(jo+\")\")}),{frag:Ln,vert:Bt,progVar:sr,program:En}}(jn,0,V);function Ot(vn){var Vn=ge[vn];Vn&&(St[vn]=Vn)}Ot(\"viewport\"),Ot(ai(\"scissor.box\"));var It=Object.keys(St).length>0,jt={framebuffer:U,draw:ke,shader:Je,state:St,dirty:It,scopeVAO:null,drawVAO:null,useVAO:!1,attributes:{}};if(jt.profile=function(vn){var Vn,zt=vn.static,ir=vn.dynamic;if(xr in zt){var nr=!!zt[xr];(Vn=si(function(sr,Ln){return nr})).enable=nr}else if(xr in ir){var ur=ir[xr];Vn=Oi(ur,function(sr,Ln){return sr.invoke(Ln,ur)})}return Vn}(jn),jt.uniforms=function(vn,Vn){var zt=vn.static,ir=vn.dynamic,nr={};return Object.keys(zt).forEach(function(ur){var sr,Ln=zt[ur];if(typeof Ln==\"number\"||typeof Ln==\"boolean\")sr=si(function(){return Ln});else if(typeof Ln==\"function\"){var Bt=Ln._reglType;Bt===\"texture2d\"||Bt===\"textureCube\"?sr=si(function(En){return En.link(Ln)}):Bt===\"framebuffer\"||Bt===\"framebufferCube\"?(ee.command(Ln.color.length>0,'missing color attachment for framebuffer sent to uniform \"'+ur+'\"',Vn.commandStr),sr=si(function(En){return En.link(Ln.color[0])})):ee.commandRaise('invalid data for uniform \"'+ur+'\"',Vn.commandStr)}else hn(Ln)?sr=si(function(En){return En.global.def(\"[\",ie(Ln.length,function(_n){return ee.command(typeof Ln[_n]==\"number\"||typeof Ln[_n]==\"boolean\",\"invalid uniform \"+ur,En.commandStr),Ln[_n]}),\"]\")}):ee.commandRaise('invalid or missing data for uniform \"'+ur+'\"',Vn.commandStr);sr.value=Ln,nr[ur]=sr}),Object.keys(ir).forEach(function(ur){var sr=ir[ur];nr[ur]=Oi(sr,function(Ln,Bt){return Ln.invoke(Bt,sr)})}),nr}(P,z),jt.drawVAO=jt.scopeVAO=function(vn,Vn){var zt=vn.static,ir=vn.dynamic;if(aa in zt){var nr=zt[aa];return nr!==null&&Ke.getVAO(nr)===null&&(nr=Ke.createVAO(nr)),si(function(sr){return sr.link(Ke.getVAO(nr))})}if(aa in ir){var ur=ir[aa];return Oi(ur,function(sr,Ln){var Bt=sr.invoke(Ln,ur);return Ln.def(sr.shared.vao+\".getVAO(\"+Bt+\")\")})}return null}(jn),!jt.drawVAO&&Je.program&&!V&&nt.angle_instanced_arrays){var Vt=!0,Pn=Je.program.attributes.map(function(vn){var Vn=W.static[vn];return Vt=Vt&&!!Vn,Vn});if(Vt&&Pn.length>0){var Jn=Ke.getVAO(Ke.createVAO(Pn));jt.drawVAO=new pi(null,null,null,function(vn,Vn){return vn.link(Jn)}),jt.useVAO=!0}}return V?jt.useVAO=!0:jt.attributes=function(vn,Vn){var zt=vn.static,ir=vn.dynamic,nr={};return Object.keys(zt).forEach(function(ur){var sr=zt[ur],Ln=je.id(ur),Bt=new wr;if(qo(sr))Bt.state=1,Bt.buffer=Xt.getBuffer(Xt.create(sr,34962,!1,!0)),Bt.type=0;else{var En=Xt.getBuffer(sr);if(En)Bt.state=1,Bt.buffer=En,Bt.type=0;else if(ee.command(w(sr)===\"object\"&&sr,\"invalid data for attribute \"+ur,Vn.commandStr),\"constant\"in sr){var _n=sr.constant;Bt.buffer=\"null\",Bt.state=2,typeof _n==\"number\"?Bt.x=_n:(ee.command(hn(_n)&&_n.length>0&&_n.length<=4,\"invalid constant for attribute \"+ur,Vn.commandStr),Mr.forEach(function(ho,vo){vo<_n.length&&(Bt[ho]=_n[vo])}))}else{En=qo(sr.buffer)?Xt.getBuffer(Xt.create(sr.buffer,34962,!1,!0)):Xt.getBuffer(sr.buffer),ee.command(!!En,'missing buffer for attribute \"'+ur+'\"',Vn.commandStr);var cr=0|sr.offset;ee.command(cr>=0,'invalid offset for attribute \"'+ur+'\"',Vn.commandStr);var ao=0|sr.stride;ee.command(ao>=0&&ao<256,'invalid stride for attribute \"'+ur+'\", must be integer betweeen [0, 255]',Vn.commandStr);var kr=0|sr.size;ee.command(!(\"size\"in sr)||kr>0&&kr<=4,'invalid size for attribute \"'+ur+'\", must be 1,2,3,4',Vn.commandStr);var jo=!!sr.normalized,ui=0;\"type\"in sr&&(ee.commandParameter(sr.type,we,\"invalid type for attribute \"+ur,Vn.commandStr),ui=we[sr.type]);var Vr=0|sr.divisor;\"divisor\"in sr&&(ee.command(Vr===0||go,'cannot specify divisor for attribute \"'+ur+'\", instancing not supported',Vn.commandStr),ee.command(Vr>=0,'invalid divisor for attribute \"'+ur+'\"',Vn.commandStr)),ee.optional(function(){var ho=Vn.commandStr,vo=[\"buffer\",\"offset\",\"divisor\",\"normalized\",\"type\",\"size\",\"stride\"];Object.keys(sr).forEach(function(uo){ee.command(vo.indexOf(uo)>=0,'unknown parameter \"'+uo+'\" for attribute pointer \"'+ur+'\" (valid parameters are '+vo+\")\",ho)})}),Bt.buffer=En,Bt.state=1,Bt.size=kr,Bt.normalized=jo,Bt.type=ui||En.dtype,Bt.offset=cr,Bt.stride=ao,Bt.divisor=Vr}}nr[ur]=si(function(ho,vo){var uo=ho.attribCache;if(Ln in uo)return uo[Ln];var Go={isStream:!1};return Object.keys(Bt).forEach(function(Pi){Go[Pi]=Bt[Pi]}),Bt.buffer&&(Go.buffer=ho.link(Bt.buffer),Go.type=Go.type||Go.buffer+\".dtype\"),uo[Ln]=Go,Go})}),Object.keys(ir).forEach(function(ur){var sr=ir[ur];nr[ur]=Oi(sr,function(Ln,Bt){var En=Ln.invoke(Bt,sr),_n=Ln.shared,cr=Ln.constants,ao=_n.isBufferArgs,kr=_n.buffer;ee.optional(function(){Ln.assert(Bt,En+\"&&(typeof \"+En+'===\"object\"||typeof '+En+'===\"function\")&&('+ao+\"(\"+En+\")||\"+kr+\".getBuffer(\"+En+\")||\"+kr+\".getBuffer(\"+En+\".buffer)||\"+ao+\"(\"+En+'.buffer)||(\"constant\" in '+En+\"&&(typeof \"+En+'.constant===\"number\"||'+_n.isArrayLike+\"(\"+En+\".constant))))\",'invalid dynamic attribute \"'+ur+'\"')});var jo={isStream:Bt.def(!1)},ui=new wr;ui.state=1,Object.keys(ui).forEach(function(uo){jo[uo]=Bt.def(\"\"+ui[uo])});var Vr=jo.buffer,ho=jo.type;function vo(uo){Bt(jo[uo],\"=\",En,\".\",uo,\"|0;\")}return Bt(\"if(\",ao,\"(\",En,\")){\",jo.isStream,\"=true;\",Vr,\"=\",kr,\".createStream(\",34962,\",\",En,\");\",ho,\"=\",Vr,\".dtype;\",\"}else{\",Vr,\"=\",kr,\".getBuffer(\",En,\");\",\"if(\",Vr,\"){\",ho,\"=\",Vr,\".dtype;\",'}else if(\"constant\" in ',En,\"){\",jo.state,\"=\",2,\";\",\"if(typeof \"+En+'.constant === \"number\"){',jo[Mr[0]],\"=\",En,\".constant;\",Mr.slice(1).map(function(uo){return jo[uo]}).join(\"=\"),\"=0;\",\"}else{\",Mr.map(function(uo,Go){return jo[uo]+\"=\"+En+\".constant.length>\"+Go+\"?\"+En+\".constant[\"+Go+\"]:0;\"}).join(\"\"),\"}}else{\",\"if(\",ao,\"(\",En,\".buffer)){\",Vr,\"=\",kr,\".createStream(\",34962,\",\",En,\".buffer);\",\"}else{\",Vr,\"=\",kr,\".getBuffer(\",En,\".buffer);\",\"}\",ho,'=\"type\" in ',En,\"?\",cr.glTypes,\"[\",En,\".type]:\",Vr,\".dtype;\",jo.normalized,\"=!!\",En,\".normalized;\"),vo(\"size\"),vo(\"offset\"),vo(\"stride\"),vo(\"divisor\"),Bt(\"}}\"),Bt.exit(\"if(\",jo.isStream,\"){\",kr,\".destroyStream(\",Vr,\");\",\"}\"),jo})}),nr}(W,z),jt.context=function(vn){var Vn=vn.static,zt=vn.dynamic,ir={};return Object.keys(Vn).forEach(function(nr){var ur=Vn[nr];ir[nr]=si(function(sr,Ln){return typeof ur==\"number\"||typeof ur==\"boolean\"?\"\"+ur:sr.link(ur)})}),Object.keys(zt).forEach(function(nr){var ur=zt[nr];ir[nr]=Oi(ur,function(sr,Ln){return sr.invoke(Ln,ur)})}),ir}(k),jt}function tn(jn,W,P){var k=jn.shared.context,z=jn.scope();Object.keys(P).forEach(function(Q){W.save(k,\".\"+Q);var F=P[Q].append(jn,W);Array.isArray(F)?z(k,\".\",Q,\"=[\",F.join(),\"];\"):z(k,\".\",Q,\"=\",F,\";\")}),W(z)}function An(jn,W,P,k){var z,Q=jn.shared,F=Q.gl,V=Q.framebuffer;Ir&&(z=W.def(Q.extensions,\".webgl_draw_buffers\"));var U,ge=jn.constants,ke=ge.drawBuffer,St=ge.backBuffer;U=P?P.append(jn,W):W.def(V,\".next\"),k||W(\"if(\",U,\"!==\",V,\".cur){\"),W(\"if(\",U,\"){\",F,\".bindFramebuffer(\",36160,\",\",U,\".framebuffer);\"),Ir&&W(z,\".drawBuffersWEBGL(\",ke,\"[\",U,\".colorAttachments.length]);\"),W(\"}else{\",F,\".bindFramebuffer(\",36160,\",null);\"),Ir&&W(z,\".drawBuffersWEBGL(\",St,\");\"),W(\"}\",V,\".cur=\",U,\";\"),k||W(\"}\")}function Rt(jn,W,P){var k=jn.shared,z=k.gl,Q=jn.current,F=jn.next,V=k.current,U=k.next,ge=jn.cond(V,\".dirty\");No.forEach(function(ke){var St,Je,Ot=ai(ke);if(!(Ot in P.state))if(Ot in F){St=F[Ot],Je=Q[Ot];var It=ie(Jr[Ot].length,function(Vt){return ge.def(St,\"[\",Vt,\"]\")});ge(jn.cond(It.map(function(Vt,Pn){return Vt+\"!==\"+Je+\"[\"+Pn+\"]\"}).join(\"||\")).then(z,\".\",Lo[Ot],\"(\",It,\");\",It.map(function(Vt,Pn){return Je+\"[\"+Pn+\"]=\"+Vt}).join(\";\"),\";\"))}else{St=ge.def(U,\".\",Ot);var jt=jn.cond(St,\"!==\",V,\".\",Ot);ge(jt),Ot in ii?jt(jn.cond(St).then(z,\".enable(\",ii[Ot],\");\").else(z,\".disable(\",ii[Ot],\");\"),V,\".\",Ot,\"=\",St,\";\"):jt(z,\".\",Lo[Ot],\"(\",St,\");\",V,\".\",Ot,\"=\",St,\";\")}}),Object.keys(P.state).length===0&&ge(V,\".dirty=false;\"),W(ge)}function un(jn,W,P,k){var z=jn.shared,Q=jn.current,F=z.current,V=z.gl;ti(Object.keys(P)).forEach(function(U){var ge=P[U];if(!k||k(ge)){var ke=ge.append(jn,W);if(ii[U]){var St=ii[U];ni(ge)?W(V,ke?\".enable(\":\".disable(\",St,\");\"):W(jn.cond(ke).then(V,\".enable(\",St,\");\").else(V,\".disable(\",St,\");\")),W(F,\".\",U,\"=\",ke,\";\")}else if(hn(ke)){var Je=Q[U];W(V,\".\",Lo[U],\"(\",ke,\");\",ke.map(function(Ot,It){return Je+\"[\"+It+\"]=\"+Ot}).join(\";\"),\";\")}else W(V,\".\",Lo[U],\"(\",ke,\");\",F,\".\",U,\"=\",ke,\";\")}})}function Dn(jn,W){go&&(jn.instancing=W.def(jn.shared.extensions,\".angle_instanced_arrays\"))}function dr(jn,W,P,k,z){var Q,F,V,U=jn.shared,ge=jn.stats,ke=U.current,St=U.timer,Je=P.profile;function Ot(){return typeof performance==\"undefined\"?\"Date.now()\":\"performance.now()\"}function It(vn){vn(Q=W.def(),\"=\",Ot(),\";\"),typeof z==\"string\"?vn(ge,\".count+=\",z,\";\"):vn(ge,\".count++;\"),Zn&&(k?vn(F=W.def(),\"=\",St,\".getNumPendingQueries();\"):vn(St,\".beginQuery(\",ge,\");\"))}function jt(vn){vn(ge,\".cpuTime+=\",Ot(),\"-\",Q,\";\"),Zn&&(k?vn(St,\".pushScopeStats(\",F,\",\",St,\".getNumPendingQueries(),\",ge,\");\"):vn(St,\".endQuery();\"))}function Vt(vn){var Vn=W.def(ke,\".profile\");W(ke,\".profile=\",vn,\";\"),W.exit(ke,\".profile=\",Vn,\";\")}if(Je){if(ni(Je))return void(Je.enable?(It(W),jt(W.exit),Vt(\"true\")):Vt(\"false\"));Vt(V=Je.append(jn,W))}else V=W.def(ke,\".profile\");var Pn=jn.block();It(Pn),W(\"if(\",V,\"){\",Pn,\"}\");var Jn=jn.block();jt(Jn),W.exit(\"if(\",V,\"){\",Jn,\"}\")}function Ar(jn,W,P,k,z){var Q=jn.shared;k.forEach(function(F){var V,U=F.name,ge=P.attributes[U];if(ge){if(!z(ge))return;V=ge.append(jn,W)}else{if(!z(Ki))return;var ke=jn.scopeAttrib(U);ee.optional(function(){jn.assert(W,ke+\".state\",\"missing attribute \"+U)}),V={},Object.keys(new wr).forEach(function(St){V[St]=W.def(ke,\".\",St)})}(function(St,Je,Ot){var It=Q.gl,jt=W.def(St,\".location\"),Vt=W.def(Q.attributes,\"[\",jt,\"]\"),Pn=Ot.state,Jn=Ot.buffer,vn=[Ot.x,Ot.y,Ot.z,Ot.w],Vn=[\"buffer\",\"normalized\",\"offset\",\"stride\"];function zt(){W(\"if(!\",Vt,\".buffer){\",It,\".enableVertexAttribArray(\",jt,\");}\");var nr,ur=Ot.type;if(nr=Ot.size?W.def(Ot.size,\"||\",Je):Je,W(\"if(\",Vt,\".type!==\",ur,\"||\",Vt,\".size!==\",nr,\"||\",Vn.map(function(Ln){return Vt+\".\"+Ln+\"!==\"+Ot[Ln]}).join(\"||\"),\"){\",It,\".bindBuffer(\",34962,\",\",Jn,\".buffer);\",It,\".vertexAttribPointer(\",[jt,nr,ur,Ot.normalized,Ot.stride,Ot.offset],\");\",Vt,\".type=\",ur,\";\",Vt,\".size=\",nr,\";\",Vn.map(function(Ln){return Vt+\".\"+Ln+\"=\"+Ot[Ln]+\";\"}).join(\"\"),\"}\"),go){var sr=Ot.divisor;W(\"if(\",Vt,\".divisor!==\",sr,\"){\",jn.instancing,\".vertexAttribDivisorANGLE(\",[jt,sr],\");\",Vt,\".divisor=\",sr,\";}\")}}function ir(){W(\"if(\",Vt,\".buffer){\",It,\".disableVertexAttribArray(\",jt,\");\",Vt,\".buffer=null;\",\"}if(\",Mr.map(function(nr,ur){return Vt+\".\"+nr+\"!==\"+vn[ur]}).join(\"||\"),\"){\",It,\".vertexAttrib4f(\",jt,\",\",vn,\");\",Mr.map(function(nr,ur){return Vt+\".\"+nr+\"=\"+vn[ur]+\";\"}).join(\"\"),\"}\")}Pn===1?zt():Pn===2?ir():(W(\"if(\",Pn,\"===\",1,\"){\"),zt(),W(\"}else{\"),ir(),W(\"}\"))})(jn.link(F),function(St){switch(St){case 35664:case 35667:case 35671:return 2;case 35665:case 35668:case 35672:return 3;case 35666:case 35669:case 35673:return 4;default:return 1}}(F.info.type),V)})}function Gr(jn,W,P,k,z){for(var Q,F=jn.shared,V=F.gl,U=0;U<k.length;++U){var ge,ke=k[U],St=ke.name,Je=ke.info.type,Ot=P.uniforms[St],It=jn.link(ke)+\".location\";if(Ot){if(!z(Ot))continue;if(ni(Ot)){var jt=Ot.value;if(ee.command(jt!=null,'missing uniform \"'+St+'\"',jn.commandStr),Je===35678||Je===35680){ee.command(typeof jt==\"function\"&&(Je===35678&&(jt._reglType===\"texture2d\"||jt._reglType===\"framebuffer\")||Je===35680&&(jt._reglType===\"textureCube\"||jt._reglType===\"framebufferCube\")),\"invalid texture for uniform \"+St,jn.commandStr);var Vt=jn.link(jt._texture||jt.color[0]._texture);W(V,\".uniform1i(\",It,\",\",Vt+\".bind());\"),W.exit(Vt,\".unbind();\")}else if(Je===35674||Je===35675||Je===35676){ee.optional(function(){ee.command(hn(jt),\"invalid matrix for uniform \"+St,jn.commandStr),ee.command(Je===35674&&jt.length===4||Je===35675&&jt.length===9||Je===35676&&jt.length===16,\"invalid length for matrix uniform \"+St,jn.commandStr)});var Pn=jn.global.def(\"new Float32Array([\"+Array.prototype.slice.call(jt)+\"])\"),Jn=2;Je===35675?Jn=3:Je===35676&&(Jn=4),W(V,\".uniformMatrix\",Jn,\"fv(\",It,\",false,\",Pn,\");\")}else{switch(Je){case 5126:ee.commandType(jt,\"number\",\"uniform \"+St,jn.commandStr),Q=\"1f\";break;case 35664:ee.command(hn(jt)&&jt.length===2,\"uniform \"+St,jn.commandStr),Q=\"2f\";break;case 35665:ee.command(hn(jt)&&jt.length===3,\"uniform \"+St,jn.commandStr),Q=\"3f\";break;case 35666:ee.command(hn(jt)&&jt.length===4,\"uniform \"+St,jn.commandStr),Q=\"4f\";break;case 35670:ee.commandType(jt,\"boolean\",\"uniform \"+St,jn.commandStr),Q=\"1i\";break;case 5124:ee.commandType(jt,\"number\",\"uniform \"+St,jn.commandStr),Q=\"1i\";break;case 35671:case 35667:ee.command(hn(jt)&&jt.length===2,\"uniform \"+St,jn.commandStr),Q=\"2i\";break;case 35672:case 35668:ee.command(hn(jt)&&jt.length===3,\"uniform \"+St,jn.commandStr),Q=\"3i\";break;case 35673:case 35669:ee.command(hn(jt)&&jt.length===4,\"uniform \"+St,jn.commandStr),Q=\"4i\"}W(V,\".uniform\",Q,\"(\",It,\",\",hn(jt)?Array.prototype.slice.call(jt):jt,\");\")}continue}ge=Ot.append(jn,W)}else{if(!z(Ki))continue;ge=W.def(F.uniforms,\"[\",je.id(St),\"]\")}Je===35678?(ee(!Array.isArray(ge),\"must specify a scalar prop for textures\"),W(\"if(\",ge,\"&&\",ge,'._reglType===\"framebuffer\"){',ge,\"=\",ge,\".color[0];\",\"}\")):Je===35680&&(ee(!Array.isArray(ge),\"must specify a scalar prop for cube maps\"),W(\"if(\",ge,\"&&\",ge,'._reglType===\"framebufferCube\"){',ge,\"=\",ge,\".color[0];\",\"}\")),ee.optional(function(){function nr(Bt,En){jn.assert(W,Bt,'bad data or missing for uniform \"'+St+'\".  '+En)}function ur(Bt){ee(!Array.isArray(ge),\"must not specify an array type for uniform\"),nr(\"typeof \"+ge+'===\"'+Bt+'\"',\"invalid type, expected \"+Bt)}function sr(Bt,En){Array.isArray(ge)?ee(ge.length===Bt,\"must have length \"+Bt):nr(F.isArrayLike+\"(\"+ge+\")&&\"+ge+\".length===\"+Bt,\"invalid vector, should have length \"+Bt,jn.commandStr)}function Ln(Bt){ee(!Array.isArray(ge),\"must not specify a value type\"),nr(\"typeof \"+ge+'===\"function\"&&'+ge+'._reglType===\"texture'+(Bt===3553?\"2d\":\"Cube\")+'\"',\"invalid texture type\",jn.commandStr)}switch(Je){case 5124:ur(\"number\");break;case 35667:sr(2);break;case 35668:sr(3);break;case 35669:sr(4);break;case 5126:ur(\"number\");break;case 35664:sr(2);break;case 35665:sr(3);break;case 35666:sr(4);break;case 35670:ur(\"boolean\");break;case 35671:sr(2);break;case 35672:sr(3);break;case 35673:case 35674:sr(4);break;case 35675:sr(9);break;case 35676:sr(16);break;case 35678:Ln(3553);break;case 35680:Ln(34067)}});var vn=1;switch(Je){case 35678:case 35680:var Vn=W.def(ge,\"._texture\");W(V,\".uniform1i(\",It,\",\",Vn,\".bind());\"),W.exit(Vn,\".unbind();\");continue;case 5124:case 35670:Q=\"1i\";break;case 35667:case 35671:Q=\"2i\",vn=2;break;case 35668:case 35672:Q=\"3i\",vn=3;break;case 35669:case 35673:Q=\"4i\",vn=4;break;case 5126:Q=\"1f\";break;case 35664:Q=\"2f\",vn=2;break;case 35665:Q=\"3f\",vn=3;break;case 35666:Q=\"4f\",vn=4;break;case 35674:Q=\"Matrix2fv\";break;case 35675:Q=\"Matrix3fv\";break;case 35676:Q=\"Matrix4fv\"}if(W(V,\".uniform\",Q,\"(\",It,\",\"),Q.charAt(0)===\"M\"){var zt=Math.pow(Je-35674+2,2),ir=jn.global.def(\"new Float32Array(\",zt,\")\");Array.isArray(ge)?W(\"false,(\",ie(zt,function(nr){return ir+\"[\"+nr+\"]=\"+ge[nr]}),\",\",ir,\")\"):W(\"false,(Array.isArray(\",ge,\")||\",ge,\" instanceof Float32Array)?\",ge,\":(\",ie(zt,function(nr){return ir+\"[\"+nr+\"]=\"+ge+\"[\"+nr+\"]\"}),\",\",ir,\")\")}else vn>1?W(ie(vn,function(nr){return Array.isArray(ge)?ge[nr]:ge+\"[\"+nr+\"]\"})):(ee(!Array.isArray(ge),\"uniform value must not be an array\"),W(ge));W(\");\")}}function Pr(jn,W,P,k){var z=jn.shared,Q=z.gl,F=z.draw,V=k.draw,U=function(){var vn,Vn=V.elements,zt=W;return Vn?((Vn.contextDep&&k.contextDynamic||Vn.propDep)&&(zt=P),vn=Vn.append(jn,zt)):vn=zt.def(F,\".\",vi),vn&&zt(\"if(\"+vn+\")\"+Q+\".bindBuffer(34963,\"+vn+\".buffer.buffer);\"),vn}();function ge(vn){var Vn=V[vn];return Vn?Vn.contextDep&&k.contextDynamic||Vn.propDep?Vn.append(jn,P):Vn.append(jn,W):W.def(F,\".\",vn)}var ke,St,Je=ge(Ti),Ot=ge(mi),It=function(){var vn,Vn=V.count,zt=W;return Vn?((Vn.contextDep&&k.contextDynamic||Vn.propDep)&&(zt=P),vn=Vn.append(jn,zt),ee.optional(function(){Vn.MISSING&&jn.assert(W,\"false\",\"missing vertex count\"),Vn.DYNAMIC&&jn.assert(zt,vn+\">=0\",\"missing vertex count\")})):(vn=zt.def(F,\".\",wi),ee.optional(function(){jn.assert(zt,vn+\">=0\",\"missing vertex count\")})),vn}();if(typeof It==\"number\"){if(It===0)return}else P(\"if(\",It,\"){\"),P.exit(\"}\");go&&(ke=ge(Zi),St=jn.instancing);var jt=U+\".type\",Vt=V.elements&&ni(V.elements);function Pn(){function vn(){P(St,\".drawElementsInstancedANGLE(\",[Je,It,jt,Ot+\"<<((\"+jt+\"-5121)>>1)\",ke],\");\")}function Vn(){P(St,\".drawArraysInstancedANGLE(\",[Je,Ot,It,ke],\");\")}U?Vt?vn():(P(\"if(\",U,\"){\"),vn(),P(\"}else{\"),Vn(),P(\"}\")):Vn()}function Jn(){function vn(){P(Q+\".drawElements(\"+[Je,It,jt,Ot+\"<<((\"+jt+\"-5121)>>1)\"]+\");\")}function Vn(){P(Q+\".drawArrays(\"+[Je,Ot,It]+\");\")}U?Vt?vn():(P(\"if(\",U,\"){\"),vn(),P(\"}else{\"),Vn(),P(\"}\")):Vn()}go&&(typeof ke!=\"number\"||ke>=0)?typeof ke==\"string\"?(P(\"if(\",ke,\">0){\"),Pn(),P(\"}else if(\",ke,\"<0){\"),Jn(),P(\"}\")):Pn():Jn()}function Xr(jn,W,P,k,z){var Q=ft(),F=Q.proc(\"body\",z);return ee.optional(function(){Q.commandStr=W.commandStr,Q.command=Q.link(W.commandStr)}),go&&(Q.instancing=F.def(Q.shared.extensions,\".angle_instanced_arrays\")),jn(Q,F,P,k),Q.compile().body}function oo(jn,W,P,k){Dn(jn,W),P.useVAO?P.drawVAO?W(jn.shared.vao,\".setVAO(\",P.drawVAO.append(jn,W),\");\"):W(jn.shared.vao,\".setVAO(\",jn.shared.vao,\".targetVAO);\"):(W(jn.shared.vao,\".setVAO(null);\"),Ar(jn,W,P,k.attributes,function(){return!0})),Gr(jn,W,P,k.uniforms,function(){return!0}),Pr(jn,W,W,P)}function io(jn,W,P,k){function z(){return!0}jn.batchId=\"a1\",Dn(jn,W),Ar(jn,W,P,k.attributes,z),Gr(jn,W,P,k.uniforms,z),Pr(jn,W,W,P)}function to(jn,W,P,k){Dn(jn,W);var z=P.contextDep,Q=W.def(),F=W.def();jn.shared.props=F,jn.batchId=Q;var V=jn.scope(),U=jn.scope();function ge(jt){return jt.contextDep&&z||jt.propDep}function ke(jt){return!ge(jt)}if(W(V.entry,\"for(\",Q,\"=0;\",Q,\"<\",\"a1\",\";++\",Q,\"){\",F,\"=\",\"a0\",\"[\",Q,\"];\",U,\"}\",V.exit),P.needsContext&&tn(jn,U,P.context),P.needsFramebuffer&&An(jn,U,P.framebuffer),un(jn,U,P.state,ge),P.profile&&ge(P.profile)&&dr(jn,U,P,!1,!0),k)P.useVAO?P.drawVAO?ge(P.drawVAO)?U(jn.shared.vao,\".setVAO(\",P.drawVAO.append(jn,U),\");\"):V(jn.shared.vao,\".setVAO(\",P.drawVAO.append(jn,V),\");\"):V(jn.shared.vao,\".setVAO(\",jn.shared.vao,\".targetVAO);\"):(V(jn.shared.vao,\".setVAO(null);\"),Ar(jn,V,P,k.attributes,ke),Ar(jn,U,P,k.attributes,ge)),Gr(jn,V,P,k.uniforms,ke),Gr(jn,U,P,k.uniforms,ge),Pr(jn,V,U,P);else{var St=jn.global.def(\"{}\"),Je=P.shader.progVar.append(jn,U),Ot=U.def(Je,\".id\"),It=U.def(St,\"[\",Ot,\"]\");U(jn.shared.gl,\".useProgram(\",Je,\".program);\",\"if(!\",It,\"){\",It,\"=\",St,\"[\",Ot,\"]=\",jn.link(function(jt){return Xr(io,jn,P,jt,2)}),\"(\",Je,\");}\",It,\".call(this,a0[\",Q,\"],\",Q,\");\")}}function To(jn,W,P){var k=W.static[P];if(k&&function(ke){if(w(ke)===\"object\"&&!hn(ke)){for(var St=Object.keys(ke),Je=0;Je<St.length;++Je)if(ce.isDynamic(ke[St[Je]]))return!0;return!1}}(k)){var z=jn.global,Q=Object.keys(k),F=!1,V=!1,U=!1,ge=jn.global.def(\"{}\");Q.forEach(function(ke){var St=k[ke];if(ce.isDynamic(St)){typeof St==\"function\"&&(St=k[ke]=ce.unbox(St));var Je=Oi(St,null);F=F||Je.thisDep,U=U||Je.propDep,V=V||Je.contextDep}else{switch(z(ge,\".\",ke,\"=\"),w(St)){case\"number\":z(St);break;case\"string\":z('\"',St,'\"');break;case\"object\":Array.isArray(St)&&z(\"[\",St.join(),\"]\");break;default:z(jn.link(St))}z(\";\")}}),W.dynamic[P]=new ce.DynamicVariable(4,{thisDep:F,contextDep:V,propDep:U,ref:ge,append:function(ke,St){Q.forEach(function(Je){var Ot=k[Je];if(ce.isDynamic(Ot)){var It=ke.invoke(St,Ot);St(ge,\".\",Je,\"=\",It,\";\")}})}}),delete W.static[P]}}return{next:_o,current:Jr,procs:function(){var jn=ft(),W=jn.proc(\"poll\"),P=jn.proc(\"refresh\"),k=jn.block();W(k),P(k);var z,Q=jn.shared,F=Q.gl,V=Q.next,U=Q.current;k(U,\".dirty=false;\"),An(jn,W),An(jn,P,null,!0),go&&(z=jn.link(go)),nt.oes_vertex_array_object&&P(jn.link(nt.oes_vertex_array_object),\".bindVertexArrayOES(null);\");for(var ge=0;ge<rt.maxAttributes;++ge){var ke=P.def(Q.attributes,\"[\",ge,\"]\"),St=jn.cond(ke,\".buffer\");St.then(F,\".enableVertexAttribArray(\",ge,\");\",F,\".bindBuffer(\",34962,\",\",ke,\".buffer.buffer);\",F,\".vertexAttribPointer(\",ge,\",\",ke,\".size,\",ke,\".type,\",ke,\".normalized,\",ke,\".stride,\",ke,\".offset);\").else(F,\".disableVertexAttribArray(\",ge,\");\",F,\".vertexAttrib4f(\",ge,\",\",ke,\".x,\",ke,\".y,\",ke,\".z,\",ke,\".w);\",ke,\".buffer=null;\"),P(St),go&&P(z,\".vertexAttribDivisorANGLE(\",ge,\",\",ke,\".divisor);\")}return P(jn.shared.vao,\".currentVAO=null;\",jn.shared.vao,\".setVAO(\",jn.shared.vao,\".targetVAO);\"),Object.keys(ii).forEach(function(Je){var Ot=ii[Je],It=k.def(V,\".\",Je),jt=jn.block();jt(\"if(\",It,\"){\",F,\".enable(\",Ot,\")}else{\",F,\".disable(\",Ot,\")}\",U,\".\",Je,\"=\",It,\";\"),P(jt),W(\"if(\",It,\"!==\",U,\".\",Je,\"){\",jt,\"}\")}),Object.keys(Lo).forEach(function(Je){var Ot,It,jt=Lo[Je],Vt=Jr[Je],Pn=jn.block();if(Pn(F,\".\",jt,\"(\"),hn(Vt)){var Jn=Vt.length;Ot=jn.global.def(V,\".\",Je),It=jn.global.def(U,\".\",Je),Pn(ie(Jn,function(vn){return Ot+\"[\"+vn+\"]\"}),\");\",ie(Jn,function(vn){return It+\"[\"+vn+\"]=\"+Ot+\"[\"+vn+\"];\"}).join(\"\")),W(\"if(\",ie(Jn,function(vn){return Ot+\"[\"+vn+\"]!==\"+It+\"[\"+vn+\"]\"}).join(\"||\"),\"){\",Pn,\"}\")}else Ot=k.def(V,\".\",Je),It=k.def(U,\".\",Je),Pn(Ot,\");\",U,\".\",Je,\"=\",Ot,\";\"),W(\"if(\",Ot,\"!==\",It,\"){\",Pn,\"}\");P(Pn)}),jn.compile()}(),compile:function(jn,W,P,k,z){var Q=ft();Q.stats=Q.link(z),Object.keys(W.static).forEach(function(V){To(Q,W,V)}),Un.forEach(function(V){To(Q,jn,V)});var F=ct(jn,W,P,k,Q);return function(V,U){var ge=V.proc(\"draw\",1);Dn(V,ge),tn(V,ge,U.context),An(V,ge,U.framebuffer),Rt(V,ge,U),un(V,ge,U.state),dr(V,ge,U,!1,!0);var ke=U.shader.progVar.append(V,ge);if(ge(V.shared.gl,\".useProgram(\",ke,\".program);\"),U.shader.program)oo(V,ge,U,U.shader.program);else{ge(V.shared.vao,\".setVAO(null);\");var St=V.global.def(\"{}\"),Je=ge.def(ke,\".id\"),Ot=ge.def(St,\"[\",Je,\"]\");ge(V.cond(Ot).then(Ot,\".call(this,a0);\").else(Ot,\"=\",St,\"[\",Je,\"]=\",V.link(function(It){return Xr(oo,V,U,It,1)}),\"(\",ke,\");\",Ot,\".call(this,a0);\"))}Object.keys(U.state).length>0&&ge(V.shared.current,\".dirty=true;\")}(Q,F),function(V,U){var ge=V.proc(\"scope\",3);V.batchId=\"a2\";var ke=V.shared,St=ke.current;function Je(Ot){var It=U.shader[Ot];It&&ge.set(ke.shader,\".\"+Ot,It.append(V,ge))}tn(V,ge,U.context),U.framebuffer&&U.framebuffer.append(V,ge),ti(Object.keys(U.state)).forEach(function(Ot){var It=U.state[Ot].append(V,ge);hn(It)?It.forEach(function(jt,Vt){ge.set(V.next[Ot],\"[\"+Vt+\"]\",jt)}):ge.set(ke.next,\".\"+Ot,It)}),dr(V,ge,U,!0,!0),[vi,mi,wi,Zi,Ti].forEach(function(Ot){var It=U.draw[Ot];It&&ge.set(ke.draw,\".\"+Ot,\"\"+It.append(V,ge))}),Object.keys(U.uniforms).forEach(function(Ot){var It=U.uniforms[Ot].append(V,ge);Array.isArray(It)&&(It=\"[\"+It.join()+\"]\"),ge.set(ke.uniforms,\"[\"+je.id(Ot)+\"]\",It)}),Object.keys(U.attributes).forEach(function(Ot){var It=U.attributes[Ot].append(V,ge),jt=V.scopeAttrib(Ot);Object.keys(new wr).forEach(function(Vt){ge.set(jt,\".\"+Vt,It[Vt])})}),U.scopeVAO&&ge.set(ke.vao,\".targetVAO\",U.scopeVAO.append(V,ge)),Je(yo),Je(eo),Object.keys(U.state).length>0&&(ge(St,\".dirty=true;\"),ge.exit(St,\".dirty=true;\")),ge(\"a1(\",V.shared.context,\",a0,\",V.batchId,\");\")}(Q,F),function(V,U){var ge=V.proc(\"batch\",2);V.batchId=\"0\",Dn(V,ge);var ke=!1,St=!0;Object.keys(U.context).forEach(function(Vn){ke=ke||U.context[Vn].propDep}),ke||(tn(V,ge,U.context),St=!1);var Je=U.framebuffer,Ot=!1;function It(Vn){return Vn.contextDep&&ke||Vn.propDep}Je?(Je.propDep?ke=Ot=!0:Je.contextDep&&ke&&(Ot=!0),Ot||An(V,ge,Je)):An(V,ge,null),U.state.viewport&&U.state.viewport.propDep&&(ke=!0),Rt(V,ge,U),un(V,ge,U.state,function(Vn){return!It(Vn)}),U.profile&&It(U.profile)||dr(V,ge,U,!1,\"a1\"),U.contextDep=ke,U.needsContext=St,U.needsFramebuffer=Ot;var jt=U.shader.progVar;if(jt.contextDep&&ke||jt.propDep)to(V,ge,U,null);else{var Vt=jt.append(V,ge);if(ge(V.shared.gl,\".useProgram(\",Vt,\".program);\"),U.shader.program)to(V,ge,U,U.shader.program);else{ge(V.shared.vao,\".setVAO(null);\");var Pn=V.global.def(\"{}\"),Jn=ge.def(Vt,\".id\"),vn=ge.def(Pn,\"[\",Jn,\"]\");ge(V.cond(vn).then(vn,\".call(this,a0,a1);\").else(vn,\"=\",Pn,\"[\",Jn,\"]=\",V.link(function(Vn){return Xr(to,V,U,Vn,2)}),\"(\",Vt,\");\",vn,\".call(this,a0,a1);\"))}}Object.keys(U.state).length>0&&ge(V.shared.current,\".dirty=true;\")}(Q,F),b(Q.compile(),{destroy:function(){F.shader.program.destroy()}})}}}var zi=function(Re,je){if(!je.ext_disjoint_timer_query)return null;var nt=[];function rt(kn){nt.push(kn)}var Xt=[];function fn(){this.startQueryIndex=-1,this.endQueryIndex=-1,this.sum=0,this.stats=null}var Cn=[];function Yn(kn){Cn.push(kn)}var Ae=[];function Ke(kn,Zn,lr){var wr=Cn.pop()||new fn;wr.startQueryIndex=kn,wr.endQueryIndex=Zn,wr.sum=0,wr.stats=lr,Ae.push(wr)}var Mt=[],Ut=[];return{beginQuery:function(kn){var Zn=nt.pop()||je.ext_disjoint_timer_query.createQueryEXT();je.ext_disjoint_timer_query.beginQueryEXT(35007,Zn),Xt.push(Zn),Ke(Xt.length-1,Xt.length,kn)},endQuery:function(){je.ext_disjoint_timer_query.endQueryEXT(35007)},pushScopeStats:Ke,update:function(){var kn,Zn,lr=Xt.length;if(lr!==0){Ut.length=Math.max(Ut.length,lr+1),Mt.length=Math.max(Mt.length,lr+1),Mt[0]=0,Ut[0]=0;var wr=0;for(kn=0,Zn=0;Zn<Xt.length;++Zn){var Dr=Xt[Zn];je.ext_disjoint_timer_query.getQueryObjectEXT(Dr,34919)?(wr+=je.ext_disjoint_timer_query.getQueryObjectEXT(Dr,34918),rt(Dr)):Xt[kn++]=Dr,Mt[Zn+1]=wr,Ut[Zn+1]=kn}for(Xt.length=kn,kn=0,Zn=0;Zn<Ae.length;++Zn){var go=Ae[Zn],Ir=go.startQueryIndex,Jr=go.endQueryIndex;go.sum+=Mt[Jr]-Mt[Ir];var _o=Ut[Ir],No=Ut[Jr];No===_o?(go.stats.gpuTime+=go.sum/1e6,Yn(go)):(go.startQueryIndex=_o,go.endQueryIndex=No,Ae[kn++]=go)}Ae.length=kn}},getNumPendingQueries:function(){return Xt.length},clear:function(){nt.push.apply(nt,Xt);for(var kn=0;kn<nt.length;kn++)je.ext_disjoint_timer_query.deleteQueryEXT(nt[kn]);Xt.length=0,nt.length=0},restore:function(){Xt.length=0,nt.length=0}}};function br(Re,je){for(var nt=0;nt<Re.length;++nt)if(Re[nt]===je)return nt;return-1}return function(Re){var je=he(Re);if(!je)return null;var nt=je.gl,rt=nt.getContextAttributes(),Xt=nt.isContextLost(),fn=function(W,P){var k={};function z(V){ee.type(V,\"string\",\"extension name must be string\");var U,ge=V.toLowerCase();try{U=k[ge]=W.getExtension(ge)}catch(ke){}return!!U}for(var Q=0;Q<P.extensions.length;++Q){var F=P.extensions[Q];if(!z(F))return P.onDestroy(),P.onDone('\"'+F+'\" extension is not supported by the current WebGL context, try upgrading your system or a different browser'),null}return P.optionalExtensions.forEach(z),{extensions:k,restore:function(){Object.keys(k).forEach(function(V){if(k[V]&&!z(V))throw new Error(\"(regl): error restoring extension \"+V)})}}}(nt,je);if(!fn)return null;var Cn,Yn,Ae=(Cn={\"\":0},Yn=[\"\"],{id:function(W){var P=Cn[W];return P||(P=Cn[W]=Yn.length,Yn.push(W),P)},str:function(W){return Yn[W]}}),Ke={vaoCount:0,bufferCount:0,elementsCount:0,framebufferCount:0,shaderCount:0,textureCount:0,cubeCount:0,renderbufferCount:0,maxTextureUnits:0},Mt=fn.extensions,Ut=zi(0,Mt),kn=Oe(),Zn=nt.drawingBufferWidth,lr=nt.drawingBufferHeight,wr={tick:0,time:0,viewportWidth:Zn,viewportHeight:lr,framebufferWidth:Zn,framebufferHeight:lr,drawingBufferWidth:Zn,drawingBufferHeight:lr,pixelRatio:je.pixelRatio},Dr=function(W,P){var k=1;P.ext_texture_filter_anisotropic&&(k=W.getParameter(34047));var z=1,Q=1;P.webgl_draw_buffers&&(z=W.getParameter(34852),Q=W.getParameter(36063));var F=!!P.oes_texture_float;if(F){var V=W.createTexture();W.bindTexture(3553,V),W.texImage2D(3553,0,6408,1,1,0,6408,5126,null);var U=W.createFramebuffer();if(W.bindFramebuffer(36160,U),W.framebufferTexture2D(36160,36064,3553,V,0),W.bindTexture(3553,null),W.checkFramebufferStatus(36160)!==36053)F=!1;else{W.viewport(0,0,1,1),W.clearColor(1,0,0,1),W.clear(16384);var ge=X.allocType(5126,4);W.readPixels(0,0,1,1,6408,5126,ge),W.getError()?F=!1:(W.deleteFramebuffer(U),W.deleteTexture(V),F=ge[0]===1),X.freeType(ge)}}var ke=!0;if(typeof navigator==\"undefined\"||!(/MSIE/.test(navigator.userAgent)||/Trident\\//.test(navigator.appVersion)||/Edge/.test(navigator.userAgent))){var St=W.createTexture(),Je=X.allocType(5121,36);W.activeTexture(33984),W.bindTexture(34067,St),W.texImage2D(34069,0,6408,3,3,0,6408,5121,Je),X.freeType(Je),W.bindTexture(34067,null),W.deleteTexture(St),ke=!W.getError()}return{colorBits:[W.getParameter(3410),W.getParameter(3411),W.getParameter(3412),W.getParameter(3413)],depthBits:W.getParameter(3414),stencilBits:W.getParameter(3415),subpixelBits:W.getParameter(3408),extensions:Object.keys(P).filter(function(Ot){return!!P[Ot]}),maxAnisotropic:k,maxDrawbuffers:z,maxColorAttachments:Q,pointSizeDims:W.getParameter(33901),lineWidthDims:W.getParameter(33902),maxViewportDims:W.getParameter(3386),maxCombinedTextureUnits:W.getParameter(35661),maxCubeMapSize:W.getParameter(34076),maxRenderbufferSize:W.getParameter(34024),maxTextureUnits:W.getParameter(34930),maxTextureSize:W.getParameter(3379),maxAttributes:W.getParameter(34921),maxVertexUniforms:W.getParameter(36347),maxVertexTextureUnits:W.getParameter(35660),maxVaryingVectors:W.getParameter(36348),maxFragmentUniforms:W.getParameter(36349),glsl:W.getParameter(35724),renderer:W.getParameter(7937),vendor:W.getParameter(7936),version:W.getParameter(7938),readFloat:F,npotTextureCube:ke}}(nt,Mt),go=function(W,P,k,z){var Q=0,F={};function V(Je){this.id=Q++,this.buffer=W.createBuffer(),this.type=Je,this.usage=35044,this.byteLength=0,this.dimension=1,this.dtype=5121,this.persistentData=null,k.profile&&(this.stats={size:0})}V.prototype.bind=function(){W.bindBuffer(this.type,this.buffer)},V.prototype.destroy=function(){St(this)};var U=[];function ge(Je,Ot,It){Je.byteLength=Ot.byteLength,W.bufferData(Je.type,Ot,It)}function ke(Je,Ot,It,jt,Vt,Pn){var Jn,vn;if(Je.usage=It,Array.isArray(Ot)){if(Je.dtype=jt||5126,Ot.length>0)if(Array.isArray(Ot[0])){Jn=et(Ot);for(var Vn=1,zt=1;zt<Jn.length;++zt)Vn*=Jn[zt];Je.dimension=Vn,ge(Je,vn=Ve(Ot,Jn,Je.dtype),It),Pn?Je.persistentData=vn:X.freeType(vn)}else if(typeof Ot[0]==\"number\"){Je.dimension=Vt;var ir=X.allocType(Je.dtype,Ot.length);mt(ir,Ot),ge(Je,ir,It),Pn?Je.persistentData=ir:X.freeType(ir)}else O(Ot[0])?(Je.dimension=Ot[0].length,Je.dtype=jt||Fe(Ot[0])||5126,ge(Je,vn=Ve(Ot,[Ot.length,Ot[0].length],Je.dtype),It),Pn?Je.persistentData=vn:X.freeType(vn)):ee.raise(\"invalid buffer data\")}else if(O(Ot))Je.dtype=jt||Fe(Ot),Je.dimension=Vt,ge(Je,Ot,It),Pn&&(Je.persistentData=new Uint8Array(new Uint8Array(Ot.buffer)));else if(se(Ot)){Jn=Ot.shape;var nr=Ot.stride,ur=Ot.offset,sr=0,Ln=0,Bt=0,En=0;Jn.length===1?(sr=Jn[0],Ln=1,Bt=nr[0],En=0):Jn.length===2?(sr=Jn[0],Ln=Jn[1],Bt=nr[0],En=nr[1]):ee.raise(\"invalid shape\"),Je.dtype=jt||Fe(Ot.data)||5126,Je.dimension=Ln;var _n=X.allocType(Je.dtype,sr*Ln);dt(_n,Ot.data,sr,Ln,Bt,En,ur),ge(Je,_n,It),Pn?Je.persistentData=_n:X.freeType(_n)}else Ot instanceof ArrayBuffer?(Je.dtype=5121,Je.dimension=Vt,ge(Je,Ot,It),Pn&&(Je.persistentData=new Uint8Array(new Uint8Array(Ot)))):ee.raise(\"invalid buffer data\")}function St(Je){P.bufferCount--,z(Je);var Ot=Je.buffer;ee(Ot,\"buffer must not be deleted already\"),W.deleteBuffer(Ot),Je.buffer=null,delete F[Je.id]}return k.profile&&(P.getTotalBufferSize=function(){var Je=0;return Object.keys(F).forEach(function(Ot){Je+=F[Ot].stats.size}),Je}),{create:function(Je,Ot,It,jt){P.bufferCount++;var Vt=new V(Ot);function Pn(vn){var Vn=35044,zt=null,ir=0,nr=0,ur=1;return Array.isArray(vn)||O(vn)||se(vn)||vn instanceof ArrayBuffer?zt=vn:typeof vn==\"number\"?ir=0|vn:vn&&(ee.type(vn,\"object\",\"buffer arguments must be an object, a number or an array\"),\"data\"in vn&&(ee(zt===null||Array.isArray(zt)||O(zt)||se(zt),\"invalid data for buffer\"),zt=vn.data),\"usage\"in vn&&(ee.parameter(vn.usage,Ze,\"invalid buffer usage\"),Vn=Ze[vn.usage]),\"type\"in vn&&(ee.parameter(vn.type,we,\"invalid buffer type\"),nr=we[vn.type]),\"dimension\"in vn&&(ee.type(vn.dimension,\"number\",\"invalid dimension\"),ur=0|vn.dimension),\"length\"in vn&&(ee.nni(ir,\"buffer length must be a nonnegative integer\"),ir=0|vn.length)),Vt.bind(),zt?ke(Vt,zt,Vn,nr,ur,jt):(ir&&W.bufferData(Vt.type,ir,Vn),Vt.dtype=nr||5121,Vt.usage=Vn,Vt.dimension=ur,Vt.byteLength=ir),k.profile&&(Vt.stats.size=Vt.byteLength*ht[Vt.dtype]),Pn}function Jn(vn,Vn){ee(Vn+vn.byteLength<=Vt.byteLength,\"invalid buffer subdata call, buffer is too small.  Can't write data of size \"+vn.byteLength+\" starting from offset \"+Vn+\" to a buffer of size \"+Vt.byteLength),W.bufferSubData(Vt.type,Vn,vn)}return F[Vt.id]=Vt,It||Pn(Je),Pn._reglType=\"buffer\",Pn._buffer=Vt,Pn.subdata=function(vn,Vn){var zt,ir=0|(Vn||0);if(Vt.bind(),O(vn)||vn instanceof ArrayBuffer)Jn(vn,ir);else if(Array.isArray(vn)){if(vn.length>0)if(typeof vn[0]==\"number\"){var nr=X.allocType(Vt.dtype,vn.length);mt(nr,vn),Jn(nr,ir),X.freeType(nr)}else if(Array.isArray(vn[0])||O(vn[0])){zt=et(vn);var ur=Ve(vn,zt,Vt.dtype);Jn(ur,ir),X.freeType(ur)}else ee.raise(\"invalid buffer data\")}else if(se(vn)){zt=vn.shape;var sr=vn.stride,Ln=0,Bt=0,En=0,_n=0;zt.length===1?(Ln=zt[0],Bt=1,En=sr[0],_n=0):zt.length===2?(Ln=zt[0],Bt=zt[1],En=sr[0],_n=sr[1]):ee.raise(\"invalid shape\");var cr=Array.isArray(vn.data)?Vt.dtype:Fe(vn.data),ao=X.allocType(cr,Ln*Bt);dt(ao,vn.data,Ln,Bt,En,_n,vn.offset),Jn(ao,ir),X.freeType(ao)}else ee.raise(\"invalid data for buffer subdata\");return Pn},k.profile&&(Pn.stats=Vt.stats),Pn.destroy=function(){St(Vt)},Pn},createStream:function(Je,Ot){var It=U.pop();return It||(It=new V(Je)),It.bind(),ke(It,Ot,35040,0,1,!1),It},destroyStream:function(Je){U.push(Je)},clear:function(){fe(F).forEach(St),U.forEach(St)},getBuffer:function(Je){return Je&&Je._buffer instanceof V?Je._buffer:null},restore:function(){fe(F).forEach(function(Je){Je.buffer=W.createBuffer(),W.bindBuffer(Je.type,Je.buffer),W.bufferData(Je.type,Je.persistentData||Je.byteLength,Je.usage)})},_initBuffer:ke}}(nt,Ke,je,function(W){return Ir.destroyBuffer(W)}),Ir=function(W,P,k,z,Q){for(var F=k.maxAttributes,V=new Array(F),U=0;U<F;++U)V[U]=new Ue;var ge=0,ke={},St={Record:Ue,scope:{},state:V,currentVAO:null,targetVAO:null,restore:Je()?function(){Je()&&fe(ke).forEach(function(jt){jt.refresh()})}:function(){},createVAO:function(jt){var Vt=new It;function Pn(Jn){ee(Array.isArray(Jn),\"arguments to vertex array constructor must be an array\"),ee(Jn.length<F,\"too many attributes\"),ee(Jn.length>0,\"must specify at least one attribute\");var vn={},Vn=Vt.attributes;Vn.length=Jn.length;for(var zt=0;zt<Jn.length;++zt){var ir,nr=Jn[zt],ur=Vn[zt]=new Ue,sr=nr.data||nr;Array.isArray(sr)||O(sr)||se(sr)?(Vt.buffers[zt]&&(ir=Vt.buffers[zt],O(sr)&&ir._buffer.byteLength>=sr.byteLength?ir.subdata(sr):(ir.destroy(),Vt.buffers[zt]=null)),Vt.buffers[zt]||(ir=Vt.buffers[zt]=Q.create(nr,34962,!1,!0)),ur.buffer=Q.getBuffer(ir),ur.size=0|ur.buffer.dimension,ur.normalized=!1,ur.type=ur.buffer.dtype,ur.offset=0,ur.stride=0,ur.divisor=0,ur.state=1,vn[zt]=1):Q.getBuffer(nr)?(ur.buffer=Q.getBuffer(nr),ur.size=0|ur.buffer.dimension,ur.normalized=!1,ur.type=ur.buffer.dtype,ur.offset=0,ur.stride=0,ur.divisor=0,ur.state=1):Q.getBuffer(nr.buffer)?(ur.buffer=Q.getBuffer(nr.buffer),ur.size=0|(+nr.size||ur.buffer.dimension),ur.normalized=!!nr.normalized||!1,\"type\"in nr?(ee.parameter(nr.type,we,\"invalid buffer type\"),ur.type=we[nr.type]):ur.type=ur.buffer.dtype,ur.offset=0|(nr.offset||0),ur.stride=0|(nr.stride||0),ur.divisor=0|(nr.divisor||0),ur.state=1,ee(ur.size>=1&&ur.size<=4,\"size must be between 1 and 4\"),ee(ur.offset>=0,\"invalid offset\"),ee(ur.stride>=0&&ur.stride<=255,\"stride must be between 0 and 255\"),ee(ur.divisor>=0,\"divisor must be positive\"),ee(!ur.divisor||!!P.angle_instanced_arrays,\"ANGLE_instanced_arrays must be enabled to use divisor\")):\"x\"in nr?(ee(zt>0,\"first attribute must not be a constant\"),ur.x=+nr.x||0,ur.y=+nr.y||0,ur.z=+nr.z||0,ur.w=+nr.w||0,ur.state=2):ee(!1,\"invalid attribute spec for location \"+zt)}for(var Ln=0;Ln<Vt.buffers.length;++Ln)!vn[Ln]&&Vt.buffers[Ln]&&(Vt.buffers[Ln].destroy(),Vt.buffers[Ln]=null);return Vt.refresh(),Pn}return z.vaoCount+=1,Pn.destroy=function(){for(var Jn=0;Jn<Vt.buffers.length;++Jn)Vt.buffers[Jn]&&Vt.buffers[Jn].destroy();Vt.buffers.length=0,Vt.destroy()},Pn._vao=Vt,Pn._reglType=\"vao\",Pn(jt)},getVAO:function(jt){return typeof jt==\"function\"&&jt._vao?jt._vao:null},destroyBuffer:function(jt){for(var Vt=0;Vt<V.length;++Vt){var Pn=V[Vt];Pn.buffer===jt&&(W.disableVertexAttribArray(Vt),Pn.buffer=null)}},setVAO:Je()?function(jt){if(jt!==St.currentVAO){var Vt=Je();jt?Vt.bindVertexArrayOES(jt.vao):Vt.bindVertexArrayOES(null),St.currentVAO=jt}}:function(jt){if(jt!==St.currentVAO){if(jt)jt.bindAttrs();else for(var Vt=Ot(),Pn=0;Pn<V.length;++Pn){var Jn=V[Pn];Jn.buffer?(W.enableVertexAttribArray(Pn),W.vertexAttribPointer(Pn,Jn.size,Jn.type,Jn.normalized,Jn.stride,Jn.offfset),Vt&&Jn.divisor&&Vt.vertexAttribDivisorANGLE(Pn,Jn.divisor)):(W.disableVertexAttribArray(Pn),W.vertexAttrib4f(Pn,Jn.x,Jn.y,Jn.z,Jn.w))}St.currentVAO=jt}},clear:Je()?function(){fe(ke).forEach(function(jt){jt.destroy()})}:function(){}};function Je(){return P.oes_vertex_array_object}function Ot(){return P.angle_instanced_arrays}function It(){this.id=++ge,this.attributes=[];var jt=Je();this.vao=jt?jt.createVertexArrayOES():null,ke[this.id]=this,this.buffers=[]}return It.prototype.bindAttrs=function(){for(var jt=Ot(),Vt=this.attributes,Pn=0;Pn<Vt.length;++Pn){var Jn=Vt[Pn];Jn.buffer?(W.enableVertexAttribArray(Pn),W.bindBuffer(34962,Jn.buffer.buffer),W.vertexAttribPointer(Pn,Jn.size,Jn.type,Jn.normalized,Jn.stride,Jn.offset),jt&&Jn.divisor&&jt.vertexAttribDivisorANGLE(Pn,Jn.divisor)):(W.disableVertexAttribArray(Pn),W.vertexAttrib4f(Pn,Jn.x,Jn.y,Jn.z,Jn.w))}for(var vn=Vt.length;vn<F;++vn)W.disableVertexAttribArray(vn)},It.prototype.refresh=function(){var jt=Je();jt&&(jt.bindVertexArrayOES(this.vao),this.bindAttrs(),St.currentVAO=this)},It.prototype.destroy=function(){if(this.vao){var jt=Je();this===St.currentVAO&&(St.currentVAO=null,jt.bindVertexArrayOES(null)),jt.deleteVertexArrayOES(this.vao),this.vao=null}ke[this.id]&&(delete ke[this.id],z.vaoCount-=1)},St}(nt,Mt,Dr,Ke,go),Jr=function(W,P,k,z){var Q={},F=0,V={uint8:5121,uint16:5123};function U(Je){this.id=F++,Q[this.id]=this,this.buffer=Je,this.primType=4,this.vertCount=0,this.type=0}P.oes_element_index_uint&&(V.uint32=5125),U.prototype.bind=function(){this.buffer.bind()};var ge=[];function ke(Je,Ot,It,jt,Vt,Pn,Jn){var vn;if(Je.buffer.bind(),Ot){var Vn=Jn;Jn||O(Ot)&&(!se(Ot)||O(Ot.data))||(Vn=P.oes_element_index_uint?5125:5123),k._initBuffer(Je.buffer,Ot,It,Vn,3)}else W.bufferData(34963,Pn,It),Je.buffer.dtype=vn||5121,Je.buffer.usage=It,Je.buffer.dimension=3,Je.buffer.byteLength=Pn;if(vn=Jn,!Jn){switch(Je.buffer.dtype){case 5121:case 5120:vn=5121;break;case 5123:case 5122:vn=5123;break;case 5125:case 5124:vn=5125;break;default:ee.raise(\"unsupported type for element array\")}Je.buffer.dtype=vn}Je.type=vn,ee(vn!==5125||!!P.oes_element_index_uint,\"32 bit element buffers not supported, enable oes_element_index_uint first\");var zt=Vt;zt<0&&(zt=Je.buffer.byteLength,vn===5123?zt>>=1:vn===5125&&(zt>>=2)),Je.vertCount=zt;var ir=jt;if(jt<0){ir=4;var nr=Je.buffer.dimension;nr===1&&(ir=0),nr===2&&(ir=1),nr===3&&(ir=4)}Je.primType=ir}function St(Je){z.elementsCount--,ee(Je.buffer!==null,\"must not double destroy elements\"),delete Q[Je.id],Je.buffer.destroy(),Je.buffer=null}return{create:function(Je,Ot){var It=k.create(null,34963,!0),jt=new U(It._buffer);function Vt(Pn){if(Pn)if(typeof Pn==\"number\")It(Pn),jt.primType=4,jt.vertCount=0|Pn,jt.type=5121;else{var Jn=null,vn=35044,Vn=-1,zt=-1,ir=0,nr=0;Array.isArray(Pn)||O(Pn)||se(Pn)?Jn=Pn:(ee.type(Pn,\"object\",\"invalid arguments for elements\"),\"data\"in Pn&&(Jn=Pn.data,ee(Array.isArray(Jn)||O(Jn)||se(Jn),\"invalid data for element buffer\")),\"usage\"in Pn&&(ee.parameter(Pn.usage,Ze,\"invalid element buffer usage\"),vn=Ze[Pn.usage]),\"primitive\"in Pn&&(ee.parameter(Pn.primitive,Lt,\"invalid element buffer primitive\"),Vn=Lt[Pn.primitive]),\"count\"in Pn&&(ee(typeof Pn.count==\"number\"&&Pn.count>=0,\"invalid vertex count for elements\"),zt=0|Pn.count),\"type\"in Pn&&(ee.parameter(Pn.type,V,\"invalid buffer type\"),nr=V[Pn.type]),\"length\"in Pn?ir=0|Pn.length:(ir=zt,nr===5123||nr===5122?ir*=2:nr!==5125&&nr!==5124||(ir*=4))),ke(jt,Jn,vn,Vn,zt,ir,nr)}else It(),jt.primType=4,jt.vertCount=0,jt.type=5121;return Vt}return z.elementsCount++,Vt(Je),Vt._reglType=\"elements\",Vt._elements=jt,Vt.subdata=function(Pn,Jn){return It.subdata(Pn,Jn),Vt},Vt.destroy=function(){St(jt)},Vt},createStream:function(Je){var Ot=ge.pop();return Ot||(Ot=new U(k.create(null,34963,!0,!1)._buffer)),ke(Ot,Je,35040,-1,-1,0,0),Ot},destroyStream:function(Je){ge.push(Je)},getElements:function(Je){return typeof Je==\"function\"&&Je._elements instanceof U?Je._elements:null},clear:function(){fe(Q).forEach(St)}}}(nt,Mt,go,Ke),_o=function(W,P,k,z){var Q={},F={};function V(jt,Vt,Pn,Jn){this.name=jt,this.id=Vt,this.location=Pn,this.info=Jn}function U(jt,Vt){for(var Pn=0;Pn<jt.length;++Pn)if(jt[Pn].id===Vt.id)return void(jt[Pn].location=Vt.location);jt.push(Vt)}function ge(jt,Vt,Pn){var Jn=jt===35632?Q:F,vn=Jn[Vt];if(!vn){var Vn=P.str(Vt);vn=W.createShader(jt),W.shaderSource(vn,Vn),W.compileShader(vn),ee.shaderError(W,vn,Vn,jt,Pn),Jn[Vt]=vn}return vn}var ke={},St=[],Je=0;function Ot(jt,Vt){this.id=Je++,this.fragId=jt,this.vertId=Vt,this.program=null,this.uniforms=[],this.attributes=[],this.refCount=1,z.profile&&(this.stats={uniformsCount:0,attributesCount:0})}function It(jt,Vt,Pn){var Jn,vn,Vn=ge(35632,jt.fragId),zt=ge(35633,jt.vertId),ir=jt.program=W.createProgram();if(W.attachShader(ir,Vn),W.attachShader(ir,zt),Pn)for(Jn=0;Jn<Pn.length;++Jn){var nr=Pn[Jn];W.bindAttribLocation(ir,nr[0],nr[1])}W.linkProgram(ir),ee.linkError(W,ir,P.str(jt.fragId),P.str(jt.vertId),Vt);var ur=W.getProgramParameter(ir,35718);z.profile&&(jt.stats.uniformsCount=ur);var sr=jt.uniforms;for(Jn=0;Jn<ur;++Jn)if(vn=W.getActiveUniform(ir,Jn))if(vn.size>1)for(var Ln=0;Ln<vn.size;++Ln){var Bt=vn.name.replace(\"[0]\",\"[\"+Ln+\"]\");U(sr,new V(Bt,P.id(Bt),W.getUniformLocation(ir,Bt),vn))}else U(sr,new V(vn.name,P.id(vn.name),W.getUniformLocation(ir,vn.name),vn));var En=W.getProgramParameter(ir,35721);z.profile&&(jt.stats.attributesCount=En);var _n=jt.attributes;for(Jn=0;Jn<En;++Jn)(vn=W.getActiveAttrib(ir,Jn))&&U(_n,new V(vn.name,P.id(vn.name),W.getAttribLocation(ir,vn.name),vn))}return z.profile&&(k.getMaxUniformsCount=function(){var jt=0;return St.forEach(function(Vt){Vt.stats.uniformsCount>jt&&(jt=Vt.stats.uniformsCount)}),jt},k.getMaxAttributesCount=function(){var jt=0;return St.forEach(function(Vt){Vt.stats.attributesCount>jt&&(jt=Vt.stats.attributesCount)}),jt}),{clear:function(){var jt=W.deleteShader.bind(W);fe(Q).forEach(jt),Q={},fe(F).forEach(jt),F={},St.forEach(function(Vt){W.deleteProgram(Vt.program)}),St.length=0,ke={},k.shaderCount=0},program:function(jt,Vt,Pn,Jn){ee.command(jt>=0,\"missing vertex shader\",Pn),ee.command(Vt>=0,\"missing fragment shader\",Pn);var vn=ke[Vt];vn||(vn=ke[Vt]={});var Vn=vn[jt];if(Vn&&(Vn.refCount++,!Jn))return Vn;var zt=new Ot(Vt,jt);return k.shaderCount++,It(zt,Pn,Jn),Vn||(vn[jt]=zt),St.push(zt),b(zt,{destroy:function(){if(zt.refCount--,zt.refCount<=0){W.deleteProgram(zt.program);var ir=St.indexOf(zt);St.splice(ir,1),k.shaderCount--}vn[zt.vertId].refCount<=0&&(W.deleteShader(F[zt.vertId]),delete F[zt.vertId],delete ke[zt.fragId][zt.vertId]),Object.keys(ke[zt.fragId]).length||(W.deleteShader(Q[zt.fragId]),delete Q[zt.fragId],delete ke[zt.fragId])}})},restore:function(){Q={},F={};for(var jt=0;jt<St.length;++jt)It(St[jt],null,St[jt].attributes.map(function(Vt){return[Vt.location,Vt.name]}))},shader:ge,frag:-1,vert:-1}}(nt,Ae,Ke,je),No=gt(nt,Mt,Dr,function(){ai.procs.poll()},wr,Ke,je),ii=function(W,P,k,z,Q){var F={rgba4:32854,rgb565:36194,\"rgb5 a1\":32855,depth:33189,stencil:36168,\"depth stencil\":34041};P.ext_srgb&&(F.srgba=35907),P.ext_color_buffer_half_float&&(F.rgba16f=34842,F.rgb16f=34843),P.webgl_color_buffer_float&&(F.rgba32f=34836);var V=[];Object.keys(F).forEach(function(Je){var Ot=F[Je];V[Ot]=Je});var U=0,ge={};function ke(Je){this.id=U++,this.refCount=1,this.renderbuffer=Je,this.format=32854,this.width=0,this.height=0,Q.profile&&(this.stats={size:0})}function St(Je){var Ot=Je.renderbuffer;ee(Ot,\"must not double destroy renderbuffer\"),W.bindRenderbuffer(36161,null),W.deleteRenderbuffer(Ot),Je.renderbuffer=null,Je.refCount=0,delete ge[Je.id],z.renderbufferCount--}return ke.prototype.decRef=function(){--this.refCount<=0&&St(this)},Q.profile&&(z.getTotalRenderbufferSize=function(){var Je=0;return Object.keys(ge).forEach(function(Ot){Je+=ge[Ot].stats.size}),Je}),{create:function(Je,Ot){var It=new ke(W.createRenderbuffer());function jt(Vt,Pn){var Jn=0,vn=0,Vn=32854;if(w(Vt)===\"object\"&&Vt){var zt=Vt;if(\"shape\"in zt){var ir=zt.shape;ee(Array.isArray(ir)&&ir.length>=2,\"invalid renderbuffer shape\"),Jn=0|ir[0],vn=0|ir[1]}else\"radius\"in zt&&(Jn=vn=0|zt.radius),\"width\"in zt&&(Jn=0|zt.width),\"height\"in zt&&(vn=0|zt.height);\"format\"in zt&&(ee.parameter(zt.format,F,\"invalid renderbuffer format\"),Vn=F[zt.format])}else typeof Vt==\"number\"?(Jn=0|Vt,vn=typeof Pn==\"number\"?0|Pn:Jn):Vt?ee.raise(\"invalid arguments to renderbuffer constructor\"):Jn=vn=1;if(ee(Jn>0&&vn>0&&Jn<=k.maxRenderbufferSize&&vn<=k.maxRenderbufferSize,\"invalid renderbuffer size\"),Jn!==It.width||vn!==It.height||Vn!==It.format)return jt.width=It.width=Jn,jt.height=It.height=vn,It.format=Vn,W.bindRenderbuffer(36161,It.renderbuffer),W.renderbufferStorage(36161,Vn,Jn,vn),ee(W.getError()===0,\"invalid render buffer format\"),Q.profile&&(It.stats.size=xn(It.format,It.width,It.height)),jt.format=V[It.format],jt}return ge[It.id]=It,z.renderbufferCount++,jt(Je,Ot),jt.resize=function(Vt,Pn){var Jn=0|Vt,vn=0|Pn||Jn;return Jn===It.width&&vn===It.height||(ee(Jn>0&&vn>0&&Jn<=k.maxRenderbufferSize&&vn<=k.maxRenderbufferSize,\"invalid renderbuffer size\"),jt.width=It.width=Jn,jt.height=It.height=vn,W.bindRenderbuffer(36161,It.renderbuffer),W.renderbufferStorage(36161,It.format,Jn,vn),ee(W.getError()===0,\"invalid render buffer format\"),Q.profile&&(It.stats.size=xn(It.format,It.width,It.height))),jt},jt._reglType=\"renderbuffer\",jt._renderbuffer=It,Q.profile&&(jt.stats=It.stats),jt.destroy=function(){It.decRef()},jt},clear:function(){fe(ge).forEach(St)},restore:function(){fe(ge).forEach(function(Je){Je.renderbuffer=W.createRenderbuffer(),W.bindRenderbuffer(36161,Je.renderbuffer),W.renderbufferStorage(36161,Je.format,Je.width,Je.height)}),W.bindRenderbuffer(36161,null)}}}(nt,Mt,Dr,Ke,je),Lo=function(W,P,k,z,Q,F){var V={cur:null,next:null,dirty:!1,setFBO:null},U=[\"rgba\"],ge=[\"rgba4\",\"rgb565\",\"rgb5 a1\"];P.ext_srgb&&ge.push(\"srgba\"),P.ext_color_buffer_half_float&&ge.push(\"rgba16f\",\"rgb16f\"),P.webgl_color_buffer_float&&ge.push(\"rgba32f\");var ke=[\"uint8\"];function St(Ln,Bt,En){this.target=Ln,this.texture=Bt,this.renderbuffer=En;var _n=0,cr=0;Bt?(_n=Bt.width,cr=Bt.height):En&&(_n=En.width,cr=En.height),this.width=_n,this.height=cr}function Je(Ln){Ln&&(Ln.texture&&Ln.texture._texture.decRef(),Ln.renderbuffer&&Ln.renderbuffer._renderbuffer.decRef())}function Ot(Ln,Bt,En){if(Ln)if(Ln.texture){var _n=Ln.texture._texture,cr=Math.max(1,_n.width),ao=Math.max(1,_n.height);ee(cr===Bt&&ao===En,\"inconsistent width/height for supplied texture\"),_n.refCount+=1}else{var kr=Ln.renderbuffer._renderbuffer;ee(kr.width===Bt&&kr.height===En,\"inconsistent width/height for renderbuffer\"),kr.refCount+=1}}function It(Ln,Bt){Bt&&(Bt.texture?W.framebufferTexture2D(36160,Ln,Bt.target,Bt.texture._texture.texture,0):W.framebufferRenderbuffer(36160,Ln,36161,Bt.renderbuffer._renderbuffer.renderbuffer))}function jt(Ln){var Bt=3553,En=null,_n=null,cr=Ln;w(Ln)===\"object\"&&(cr=Ln.data,\"target\"in Ln&&(Bt=0|Ln.target)),ee.type(cr,\"function\",\"invalid attachment data\");var ao=cr._reglType;return ao===\"texture2d\"?(En=cr,ee(Bt===3553)):ao===\"textureCube\"?(En=cr,ee(Bt>=34069&&Bt<34075,\"invalid cube map target\")):ao===\"renderbuffer\"?(_n=cr,Bt=36161):ee.raise(\"invalid regl object for attachment\"),new St(Bt,En,_n)}function Vt(Ln,Bt,En,_n,cr){if(En){var ao=z.create2D({width:Ln,height:Bt,format:_n,type:cr});return ao._texture.refCount=0,new St(3553,ao,null)}var kr=Q.create({width:Ln,height:Bt,format:_n});return kr._renderbuffer.refCount=0,new St(36161,null,kr)}function Pn(Ln){return Ln&&(Ln.texture||Ln.renderbuffer)}function Jn(Ln,Bt,En){Ln&&(Ln.texture?Ln.texture.resize(Bt,En):Ln.renderbuffer&&Ln.renderbuffer.resize(Bt,En),Ln.width=Bt,Ln.height=En)}P.oes_texture_half_float&&ke.push(\"half float\",\"float16\"),P.oes_texture_float&&ke.push(\"float\",\"float32\");var vn=0,Vn={};function zt(){this.id=vn++,Vn[this.id]=this,this.framebuffer=W.createFramebuffer(),this.width=0,this.height=0,this.colorAttachments=[],this.depthAttachment=null,this.stencilAttachment=null,this.depthStencilAttachment=null}function ir(Ln){Ln.colorAttachments.forEach(Je),Je(Ln.depthAttachment),Je(Ln.stencilAttachment),Je(Ln.depthStencilAttachment)}function nr(Ln){var Bt=Ln.framebuffer;ee(Bt,\"must not double destroy framebuffer\"),W.deleteFramebuffer(Bt),Ln.framebuffer=null,F.framebufferCount--,delete Vn[Ln.id]}function ur(Ln){var Bt;W.bindFramebuffer(36160,Ln.framebuffer);var En=Ln.colorAttachments;for(Bt=0;Bt<En.length;++Bt)It(36064+Bt,En[Bt]);for(Bt=En.length;Bt<k.maxColorAttachments;++Bt)W.framebufferTexture2D(36160,36064+Bt,3553,null,0);W.framebufferTexture2D(36160,33306,3553,null,0),W.framebufferTexture2D(36160,36096,3553,null,0),W.framebufferTexture2D(36160,36128,3553,null,0),It(36096,Ln.depthAttachment),It(36128,Ln.stencilAttachment),It(33306,Ln.depthStencilAttachment);var _n=W.checkFramebufferStatus(36160);W.isContextLost()||_n===36053||ee.raise(\"framebuffer configuration not supported, status = \"+pt[_n]),W.bindFramebuffer(36160,V.next?V.next.framebuffer:null),V.cur=V.next,W.getError()}function sr(Ln,Bt){var En=new zt;function _n(cr,ao){var kr;ee(V.next!==En,\"can not update framebuffer which is currently in use\");var jo=0,ui=0,Vr=!0,ho=!0,vo=null,uo=!0,Go=\"rgba\",Pi=\"uint8\",la=1,Vi=null,ha=null,xa=null,qi=!1;if(typeof cr==\"number\")jo=0|cr,ui=0|ao||jo;else if(cr){ee.type(cr,\"object\",\"invalid arguments for framebuffer\");var Jo=cr;if(\"shape\"in Jo){var Ji=Jo.shape;ee(Array.isArray(Ji)&&Ji.length>=2,\"invalid shape for framebuffer\"),jo=Ji[0],ui=Ji[1]}else\"radius\"in Jo&&(jo=ui=Jo.radius),\"width\"in Jo&&(jo=Jo.width),\"height\"in Jo&&(ui=Jo.height);(\"color\"in Jo||\"colors\"in Jo)&&(vo=Jo.color||Jo.colors,Array.isArray(vo)&&ee(vo.length===1||P.webgl_draw_buffers,\"multiple render targets not supported\")),vo||(\"colorCount\"in Jo&&(la=0|Jo.colorCount,ee(la>0,\"invalid color buffer count\")),\"colorTexture\"in Jo&&(uo=!!Jo.colorTexture,Go=\"rgba4\"),\"colorType\"in Jo&&(Pi=Jo.colorType,uo?(ee(P.oes_texture_float||!(Pi===\"float\"||Pi===\"float32\"),\"you must enable OES_texture_float in order to use floating point framebuffer objects\"),ee(P.oes_texture_half_float||!(Pi===\"half float\"||Pi===\"float16\"),\"you must enable OES_texture_half_float in order to use 16-bit floating point framebuffer objects\")):Pi===\"half float\"||Pi===\"float16\"?(ee(P.ext_color_buffer_half_float,\"you must enable EXT_color_buffer_half_float to use 16-bit render buffers\"),Go=\"rgba16f\"):Pi!==\"float\"&&Pi!==\"float32\"||(ee(P.webgl_color_buffer_float,\"you must enable WEBGL_color_buffer_float in order to use 32-bit floating point renderbuffers\"),Go=\"rgba32f\"),ee.oneOf(Pi,ke,\"invalid color type\")),\"colorFormat\"in Jo&&(Go=Jo.colorFormat,U.indexOf(Go)>=0?uo=!0:ge.indexOf(Go)>=0?uo=!1:uo?ee.oneOf(Jo.colorFormat,U,\"invalid color format for texture\"):ee.oneOf(Jo.colorFormat,ge,\"invalid color format for renderbuffer\"))),(\"depthTexture\"in Jo||\"depthStencilTexture\"in Jo)&&(qi=!(!Jo.depthTexture&&!Jo.depthStencilTexture),ee(!qi||P.webgl_depth_texture,\"webgl_depth_texture extension not supported\")),\"depth\"in Jo&&(typeof Jo.depth==\"boolean\"?Vr=Jo.depth:(Vi=Jo.depth,ho=!1)),\"stencil\"in Jo&&(typeof Jo.stencil==\"boolean\"?ho=Jo.stencil:(ha=Jo.stencil,Vr=!1)),\"depthStencil\"in Jo&&(typeof Jo.depthStencil==\"boolean\"?Vr=ho=Jo.depthStencil:(xa=Jo.depthStencil,Vr=!1,ho=!1))}else jo=ui=1;var Yi=null,Ii=null,pa=null,na=null;if(Array.isArray(vo))Yi=vo.map(jt);else if(vo)Yi=[jt(vo)];else for(Yi=new Array(la),kr=0;kr<la;++kr)Yi[kr]=Vt(jo,ui,uo,Go,Pi);ee(P.webgl_draw_buffers||Yi.length<=1,\"you must enable the WEBGL_draw_buffers extension in order to use multiple color buffers.\"),ee(Yi.length<=k.maxColorAttachments,\"too many color attachments, not supported\"),jo=jo||Yi[0].width,ui=ui||Yi[0].height,Vi?Ii=jt(Vi):Vr&&!ho&&(Ii=Vt(jo,ui,qi,\"depth\",\"uint32\")),ha?pa=jt(ha):ho&&!Vr&&(pa=Vt(jo,ui,!1,\"stencil\",\"uint8\")),xa?na=jt(xa):!Vi&&!ha&&ho&&Vr&&(na=Vt(jo,ui,qi,\"depth stencil\",\"depth stencil\")),ee(!!Vi+!!ha+!!xa<=1,\"invalid framebuffer configuration, can specify exactly one depth/stencil attachment\");var $i=null;for(kr=0;kr<Yi.length;++kr)if(Ot(Yi[kr],jo,ui),ee(!Yi[kr]||Yi[kr].texture&&Dt.indexOf(Yi[kr].texture._texture.format)>=0||Yi[kr].renderbuffer&&wt.indexOf(Yi[kr].renderbuffer._renderbuffer.format)>=0,\"framebuffer color attachment \"+kr+\" is invalid\"),Yi[kr]&&Yi[kr].texture){var La=Xn[Yi[kr].texture._texture.format]*Rn[Yi[kr].texture._texture.type];$i===null?$i=La:ee($i===La,\"all color attachments much have the same number of bits per pixel.\")}return Ot(Ii,jo,ui),ee(!Ii||Ii.texture&&Ii.texture._texture.format===6402||Ii.renderbuffer&&Ii.renderbuffer._renderbuffer.format===33189,\"invalid depth attachment for framebuffer object\"),Ot(pa,jo,ui),ee(!pa||pa.renderbuffer&&pa.renderbuffer._renderbuffer.format===36168,\"invalid stencil attachment for framebuffer object\"),Ot(na,jo,ui),ee(!na||na.texture&&na.texture._texture.format===34041||na.renderbuffer&&na.renderbuffer._renderbuffer.format===34041,\"invalid depth-stencil attachment for framebuffer object\"),ir(En),En.width=jo,En.height=ui,En.colorAttachments=Yi,En.depthAttachment=Ii,En.stencilAttachment=pa,En.depthStencilAttachment=na,_n.color=Yi.map(Pn),_n.depth=Pn(Ii),_n.stencil=Pn(pa),_n.depthStencil=Pn(na),_n.width=En.width,_n.height=En.height,ur(En),_n}return F.framebufferCount++,_n(Ln,Bt),b(_n,{resize:function(cr,ao){ee(V.next!==En,\"can not resize a framebuffer which is currently in use\");var kr=Math.max(0|cr,1),jo=Math.max(0|ao||kr,1);if(kr===En.width&&jo===En.height)return _n;for(var ui=En.colorAttachments,Vr=0;Vr<ui.length;++Vr)Jn(ui[Vr],kr,jo);return Jn(En.depthAttachment,kr,jo),Jn(En.stencilAttachment,kr,jo),Jn(En.depthStencilAttachment,kr,jo),En.width=_n.width=kr,En.height=_n.height=jo,ur(En),_n},_reglType:\"framebuffer\",_framebuffer:En,destroy:function(){nr(En),ir(En)},use:function(cr){V.setFBO({framebuffer:_n},cr)}})}return b(V,{getFramebuffer:function(Ln){if(typeof Ln==\"function\"&&Ln._reglType===\"framebuffer\"){var Bt=Ln._framebuffer;if(Bt instanceof zt)return Bt}return null},create:sr,createCube:function(Ln){var Bt=Array(6);function En(_n){var cr;ee(Bt.indexOf(V.next)<0,\"can not update framebuffer which is currently in use\");var ao,kr={color:null},jo=0,ui=null,Vr=\"rgba\",ho=\"uint8\",vo=1;if(typeof _n==\"number\")jo=0|_n;else if(_n){ee.type(_n,\"object\",\"invalid arguments for framebuffer\");var uo=_n;if(\"shape\"in uo){var Go=uo.shape;ee(Array.isArray(Go)&&Go.length>=2,\"invalid shape for framebuffer\"),ee(Go[0]===Go[1],\"cube framebuffer must be square\"),jo=Go[0]}else\"radius\"in uo&&(jo=0|uo.radius),\"width\"in uo?(jo=0|uo.width,\"height\"in uo&&ee(uo.height===jo,\"must be square\")):\"height\"in uo&&(jo=0|uo.height);(\"color\"in uo||\"colors\"in uo)&&(ui=uo.color||uo.colors,Array.isArray(ui)&&ee(ui.length===1||P.webgl_draw_buffers,\"multiple render targets not supported\")),ui||(\"colorCount\"in uo&&(vo=0|uo.colorCount,ee(vo>0,\"invalid color buffer count\")),\"colorType\"in uo&&(ee.oneOf(uo.colorType,ke,\"invalid color type\"),ho=uo.colorType),\"colorFormat\"in uo&&(Vr=uo.colorFormat,ee.oneOf(uo.colorFormat,U,\"invalid color format for texture\"))),\"depth\"in uo&&(kr.depth=uo.depth),\"stencil\"in uo&&(kr.stencil=uo.stencil),\"depthStencil\"in uo&&(kr.depthStencil=uo.depthStencil)}else jo=1;if(ui)if(Array.isArray(ui))for(ao=[],cr=0;cr<ui.length;++cr)ao[cr]=ui[cr];else ao=[ui];else{ao=Array(vo);var Pi={radius:jo,format:Vr,type:ho};for(cr=0;cr<vo;++cr)ao[cr]=z.createCube(Pi)}for(kr.color=Array(ao.length),cr=0;cr<ao.length;++cr){var la=ao[cr];ee(typeof la==\"function\"&&la._reglType===\"textureCube\",\"invalid cube map\"),jo=jo||la.width,ee(la.width===jo&&la.height===jo,\"invalid cube map shape\"),kr.color[cr]={target:34069,data:ao[cr]}}for(cr=0;cr<6;++cr){for(var Vi=0;Vi<ao.length;++Vi)kr.color[Vi].target=34069+cr;cr>0&&(kr.depth=Bt[0].depth,kr.stencil=Bt[0].stencil,kr.depthStencil=Bt[0].depthStencil),Bt[cr]?Bt[cr](kr):Bt[cr]=sr(kr)}return b(En,{width:jo,height:jo,color:ao})}return En(Ln),b(En,{faces:Bt,resize:function(_n){var cr,ao=0|_n;if(ee(ao>0&&ao<=k.maxCubeMapSize,\"invalid radius for cube fbo\"),ao===En.width)return En;var kr=En.color;for(cr=0;cr<kr.length;++cr)kr[cr].resize(ao);for(cr=0;cr<6;++cr)Bt[cr].resize(ao);return En.width=En.height=ao,En},_reglType:\"framebufferCube\",destroy:function(){Bt.forEach(function(_n){_n.destroy()})}})},clear:function(){fe(Vn).forEach(nr)},restore:function(){V.cur=null,V.next=null,V.dirty=!0,fe(Vn).forEach(function(Ln){Ln.framebuffer=W.createFramebuffer(),ur(Ln)})}})}(nt,Mt,Dr,No,ii,Ke),ai=ca(nt,Ae,Mt,Dr,go,Jr,0,Lo,{},Ir,_o,{elements:null,primitive:4,count:-1,offset:0,instances:-1},wr,Ut,je),Si=xt(nt,Lo,ai.procs.poll,wr,rt,Mt,Dr),Ui=ai.next,ln=nt.canvas,mn=[],fr=[],ft=[],ct=[je.onDestroy],tn=null;function An(){if(mn.length===0)return Ut&&Ut.update(),void(tn=null);tn=ye.next(An),io();for(var W=mn.length-1;W>=0;--W){var P=mn[W];P&&P(wr,null,0)}nt.flush(),Ut&&Ut.update()}function Rt(){!tn&&mn.length>0&&(tn=ye.next(An))}function un(){tn&&(ye.cancel(An),tn=null)}function Dn(W){W.preventDefault(),Xt=!0,un(),fr.forEach(function(P){P()})}function dr(W){nt.getError(),Xt=!1,fn.restore(),_o.restore(),go.restore(),No.restore(),ii.restore(),Lo.restore(),Ir.restore(),Ut&&Ut.restore(),ai.procs.refresh(),Rt(),ft.forEach(function(P){P()})}function Ar(W){function P(Ot,It){var jt={},Vt={};return Object.keys(Ot).forEach(function(Pn){var Jn=Ot[Pn];if(ce.isDynamic(Jn))Vt[Pn]=ce.unbox(Jn,Pn);else{if(It&&Array.isArray(Jn)){for(var vn=0;vn<Jn.length;++vn)if(ce.isDynamic(Jn[vn]))return void(Vt[Pn]=ce.unbox(Jn,Pn))}jt[Pn]=Jn}}),{dynamic:Vt,static:jt}}ee(!!W,\"invalid args to regl({...})\"),ee.type(W,\"object\",\"invalid args to regl({...})\");var k=P(W.context||{},!0),z=P(W.uniforms||{},!0),Q=P(W.attributes||{},!1),F=P(function(Ot){var It=b({},Ot);function jt(Vt){if(Vt in It){var Pn=It[Vt];delete It[Vt],Object.keys(Pn).forEach(function(Jn){It[Vt+\".\"+Jn]=Pn[Jn]})}}return delete It.uniforms,delete It.attributes,delete It.context,delete It.vao,\"stencil\"in It&&It.stencil.op&&(It.stencil.opBack=It.stencil.opFront=It.stencil.op,delete It.stencil.op),jt(\"blend\"),jt(\"depth\"),jt(\"cull\"),jt(\"stencil\"),jt(\"polygonOffset\"),jt(\"scissor\"),jt(\"sample\"),\"vao\"in Ot&&(It.vao=Ot.vao),It}(W),!1),V={gpuTime:0,cpuTime:0,count:0},U=ai.compile(F,Q,z,k,V),ge=U.draw,ke=U.batch,St=U.scope,Je=[];return b(function(Ot,It){var jt;if(Xt&&ee.raise(\"context lost\"),typeof Ot==\"function\")return St.call(this,null,Ot,0);if(typeof It==\"function\")if(typeof Ot==\"number\")for(jt=0;jt<Ot;++jt)St.call(this,null,It,jt);else{if(!Array.isArray(Ot))return St.call(this,Ot,It,0);for(jt=0;jt<Ot.length;++jt)St.call(this,Ot[jt],It,jt)}else if(typeof Ot==\"number\"){if(Ot>0)return ke.call(this,function(Vt){for(;Je.length<Vt;)Je.push(null);return Je}(0|Ot),0|Ot)}else{if(!Array.isArray(Ot))return ge.call(this,Ot);if(Ot.length)return ke.call(this,Ot,Ot.length)}},{stats:V,destroy:function(){U.destroy()}})}ln&&(ln.addEventListener(\"webglcontextlost\",Dn,!1),ln.addEventListener(\"webglcontextrestored\",dr,!1));var Gr=Lo.setFBO=Ar({framebuffer:ce.define.call(null,1,\"framebuffer\")});function Pr(W,P){var k=0;ai.procs.poll();var z=P.color;z&&(nt.clearColor(+z[0]||0,+z[1]||0,+z[2]||0,+z[3]||0),k|=16384),\"depth\"in P&&(nt.clearDepth(+P.depth),k|=256),\"stencil\"in P&&(nt.clearStencil(0|P.stencil),k|=1024),ee(!!k,\"called regl.clear with no buffer specified\"),nt.clear(k)}function Xr(W){return ee.type(W,\"function\",\"regl.frame() callback must be a function\"),mn.push(W),Rt(),{cancel:function(){var P=br(mn,W);ee(P>=0,\"cannot cancel a frame twice\"),mn[P]=function k(){var z=br(mn,k);mn[z]=mn[mn.length-1],mn.length-=1,mn.length<=0&&un()}}}}function oo(){var W=Ui.viewport,P=Ui.scissor_box;W[0]=W[1]=P[0]=P[1]=0,wr.viewportWidth=wr.framebufferWidth=wr.drawingBufferWidth=W[2]=P[2]=nt.drawingBufferWidth,wr.viewportHeight=wr.framebufferHeight=wr.drawingBufferHeight=W[3]=P[3]=nt.drawingBufferHeight}function io(){wr.tick+=1,wr.time=To(),oo(),ai.procs.poll()}function to(){No.refresh(),oo(),ai.procs.refresh(),Ut&&Ut.update()}function To(){return(Oe()-kn)/1e3}to();var jn=b(Ar,{clear:function(W){if(ee(w(W)===\"object\"&&W,\"regl.clear() takes an object as input\"),\"framebuffer\"in W)if(W.framebuffer&&W.framebuffer_reglType===\"framebufferCube\")for(var P=0;P<6;++P)Gr(b({framebuffer:W.framebuffer.faces[P]},W),Pr);else Gr(W,Pr);else Pr(0,W)},prop:ce.define.bind(null,1),context:ce.define.bind(null,2),this:ce.define.bind(null,3),draw:Ar({}),buffer:function(W){return go.create(W,34962,!1,!1)},elements:function(W){return Jr.create(W,!1)},texture:No.create2D,cube:No.createCube,renderbuffer:ii.create,framebuffer:Lo.create,framebufferCube:Lo.createCube,vao:Ir.createVAO,attributes:rt,frame:Xr,on:function(W,P){var k;switch(ee.type(P,\"function\",\"listener callback must be a function\"),W){case\"frame\":return Xr(P);case\"lost\":k=fr;break;case\"restore\":k=ft;break;case\"destroy\":k=ct;break;default:ee.raise(\"invalid event, must be one of frame,lost,restore,destroy\")}return k.push(P),{cancel:function(){for(var z=0;z<k.length;++z)if(k[z]===P)return k[z]=k[k.length-1],void k.pop()}}},limits:Dr,hasExtension:function(W){return Dr.extensions.indexOf(W.toLowerCase())>=0},read:Si,destroy:function(){mn.length=0,un(),ln&&(ln.removeEventListener(\"webglcontextlost\",Dn),ln.removeEventListener(\"webglcontextrestored\",dr)),_o.clear(),Lo.clear(),ii.clear(),No.clear(),Jr.clear(),go.clear(),Ir.clear(),Ut&&Ut.clear(),ct.forEach(function(W){W()})},_gl:nt,_refresh:to,poll:function(){io(),Ut&&Ut.update()},now:To,stats:Ke});return je.onDone(null,jn),jn}},w(c)===\"object\"&&Ee!==void 0?Ee.exports=C():(N=typeof(y=C)==\"function\"?y.call(c,r,c,Ee):y)===void 0||(Ee.exports=N)},function(Ee,c,r){var y=r(193),N=r(194),C=r(195),w=r(196);Ee.exports=function(O){return y(O)||N(O)||C(O)||w()},Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports},function(Ee,c,r){var y=r(64),N=r(197),C=r(65),w=Function.prototype,O=Object.prototype,b=w.toString,p=O.hasOwnProperty,u=b.call(Object);Ee.exports=function(a){if(!C(a)||y(a)!=\"[object Object]\")return!1;var f=N(a);if(f===null)return!0;var h=p.call(f,\"constructor\")&&f.constructor;return typeof h==\"function\"&&h instanceof h&&b.call(h)==u}},,function(Ee,c){var r,y,N=Ee.exports={};function C(){throw new Error(\"setTimeout has not been defined\")}function w(){throw new Error(\"clearTimeout has not been defined\")}function O(m){if(r===setTimeout)return setTimeout(m,0);if((r===C||!r)&&setTimeout)return r=setTimeout,setTimeout(m,0);try{return r(m,0)}catch(x){try{return r.call(null,m,0)}catch(M){return r.call(this,m,0)}}}(function(){try{r=typeof setTimeout==\"function\"?setTimeout:C}catch(m){r=C}try{y=typeof clearTimeout==\"function\"?clearTimeout:w}catch(m){y=w}})();var b,p=[],u=!1,a=-1;function f(){u&&b&&(u=!1,b.length?p=b.concat(p):a=-1,p.length&&h())}function h(){if(!u){var m=O(f);u=!0;for(var x=p.length;x;){for(b=p,p=[];++a<x;)b&&b[a].run();a=-1,x=p.length}b=null,u=!1,function(M){if(y===clearTimeout)return clearTimeout(M);if((y===w||!y)&&clearTimeout)return y=clearTimeout,clearTimeout(M);try{y(M)}catch(E){try{return y.call(null,M)}catch(j){return y.call(this,M)}}}(m)}}function l(m,x){this.fun=m,this.array=x}function s(){}N.nextTick=function(m){var x=new Array(arguments.length-1);if(arguments.length>1)for(var M=1;M<arguments.length;M++)x[M-1]=arguments[M];p.push(new l(m,x)),p.length!==1||u||O(h)},l.prototype.run=function(){this.fun.apply(null,this.array)},N.title=\"browser\",N.browser=!0,N.env={},N.argv=[],N.version=\"\",N.versions={},N.on=s,N.addListener=s,N.once=s,N.off=s,N.removeListener=s,N.removeAllListeners=s,N.emit=s,N.prependListener=s,N.prependOnceListener=s,N.listeners=function(m){return[]},N.binding=function(m){throw new Error(\"process.binding is not supported\")},N.cwd=function(){return\"/\"},N.chdir=function(m){throw new Error(\"process.chdir is not supported\")},N.umask=function(){return 0}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.pageRankAsync=c.minimumSpanningTreeAsync=c.louvainAsync=c.labelPropagationAsync=c.getOutDegreeAsync=c.getNeighborsAsync=c.getInDegreeAsync=c.getDegreeAsync=c.getAdjMatrixAsync=c.floydWarshallAsync=c.findShortestPathAsync=c.findAllPathAsync=c.dijkstraAsync=c.detectCycleAsync=c.detectAllUndirectedCycleAsync=c.detectAllDirectedCycleAsync=c.detectAllCyclesAsync=c.connectedComponentAsync=c.GADDIAsync=void 0;var y,N=(y=r(123))&&y.__esModule?y:{default:y},C=r(57);c.getAdjMatrixAsync=function(w,O){return(0,N.default)(C.ALGORITHM.getAdjMatrix).apply(void 0,[w,O])},c.connectedComponentAsync=function(w,O){return(0,N.default)(C.ALGORITHM.connectedComponent).apply(void 0,[w,O])},c.getDegreeAsync=function(w){return(0,N.default)(C.ALGORITHM.getDegree)(w)},c.getInDegreeAsync=function(w,O){return(0,N.default)(C.ALGORITHM.getInDegree)(w,O)},c.getOutDegreeAsync=function(w,O){return(0,N.default)(C.ALGORITHM.getOutDegree)(w,O)},c.detectCycleAsync=function(w){return(0,N.default)(C.ALGORITHM.detectCycle)(w)},c.detectAllCyclesAsync=function(w){return(0,N.default)(C.ALGORITHM.detectAllCycles)(w)},c.detectAllDirectedCycleAsync=function(w){return(0,N.default)(C.ALGORITHM.detectAllDirectedCycle)(w)},c.detectAllUndirectedCycleAsync=function(w){return(0,N.default)(C.ALGORITHM.detectAllUndirectedCycle)(w)},c.dijkstraAsync=function(w,O,b,p){return(0,N.default)(C.ALGORITHM.dijkstra).apply(void 0,[w,O,b,p])},c.findAllPathAsync=function(w,O,b,p){return(0,N.default)(C.ALGORITHM.findAllPath).apply(void 0,[w,O,b,p])},c.findShortestPathAsync=function(w,O,b,p,u){return(0,N.default)(C.ALGORITHM.findShortestPath).apply(void 0,[w,O,b,p,u])},c.floydWarshallAsync=function(w,O){return(0,N.default)(C.ALGORITHM.floydWarshall).apply(void 0,[w,O])},c.labelPropagationAsync=function(w,O,b,p){return p===void 0&&(p=1e3),(0,N.default)(C.ALGORITHM.labelPropagation)(w,O,b,p)},c.louvainAsync=function(w,O,b,p){return(0,N.default)(C.ALGORITHM.louvain)(w,O,b,p)},c.minimumSpanningTreeAsync=function(w,O,b){return(0,N.default)(C.ALGORITHM.minimumSpanningTree).apply(void 0,[w,O,b])},c.pageRankAsync=function(w,O,b){return(0,N.default)(C.ALGORITHM.pageRank).apply(void 0,[w,O,b])},c.getNeighborsAsync=function(w,O,b){return(0,N.default)(C.ALGORITHM.getNeighbors).apply(void 0,[w,O,b])},c.GADDIAsync=function(w,O,b,p,u,a,f){return b===void 0&&(b=!1),a===void 0&&(a=\"cluster\"),f===void 0&&(f=\"cluster\"),(0,N.default)(C.ALGORITHM.GADDI).apply(void 0,[w,O,b,p,u,a,f])}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var y,N=r(57),C=(y=r(124))&&y.__esModule?y:{default:y},w=function(O){return function(){for(var b=[],p=0;p<arguments.length;p++)b[p]=arguments[p];return new Promise(function(u,a){var f=new C.default;f.postMessage({_algorithmType:O,data:b}),f.onmessage=function(h){var l=h.data,s=l.data,m=l._algorithmType;N.MESSAGE.SUCCESS===m?u(s):a(),f.terminate()}})}};c.default=w},function(Ee,c,r){\"use strict\";function y(b){return(y=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(p){return typeof p}:function(p){return p&&typeof Symbol==\"function\"&&p.constructor===Symbol&&p!==Symbol.prototype?\"symbol\":typeof p})(b)}Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var N=function(b,p){if(!p&&b&&b.__esModule)return b;if(b===null||y(b)!==\"object\"&&typeof b!=\"function\")return{default:b};var u=w(p);if(u&&u.has(b))return u.get(b);var a={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in b)if(h!==\"default\"&&Object.prototype.hasOwnProperty.call(b,h)){var l=f?Object.getOwnPropertyDescriptor(b,h):null;l&&(l.get||l.set)?Object.defineProperty(a,h,l):a[h]=b[h]}return a.default=b,u&&u.set(b,a),a}(r(125)),C=r(57);function w(b){if(typeof WeakMap!=\"function\")return null;var p=new WeakMap,u=new WeakMap;return(w=function(a){return a?u:p})(b)}var O=typeof self!=\"undefined\"?self:{};O.onmessage=function(b){var p=b.data,u=p._algorithmType,a=p.data;if(u)if(typeof N[u]!=\"function\")O.postMessage({_algorithmType:C.MESSAGE.FAILURE});else{var f=N[u].apply(N,a);O.postMessage({_algorithmType:C.MESSAGE.SUCCESS,data:f})}},c.default=null},function(Ee,c,r){\"use strict\";function y(L){return(y=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(A){return typeof A}:function(A){return A&&typeof Symbol==\"function\"&&A.constructor===Symbol&&A!==Symbol.prototype?\"symbol\":typeof A})(L)}Object.defineProperty(c,\"__esModule\",{value:!0}),Object.defineProperty(c,\"GADDI\",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(c,\"breadthFirstSearch\",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(c,\"connectedComponent\",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(c,\"depthFirstSearch\",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(c,\"detectCycle\",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(c,\"dijkstra\",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(c,\"findAllPath\",{enumerable:!0,get:function(){return a.findAllPath}}),Object.defineProperty(c,\"findShortestPath\",{enumerable:!0,get:function(){return a.findShortestPath}}),Object.defineProperty(c,\"floydWarshall\",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(c,\"getAdjMatrix\",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(c,\"getDegree\",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(c,\"getInDegree\",{enumerable:!0,get:function(){return O.getInDegree}}),Object.defineProperty(c,\"getNeighbors\",{enumerable:!0,get:function(){return M.getNeighbors}}),Object.defineProperty(c,\"getOutDegree\",{enumerable:!0,get:function(){return O.getOutDegree}}),Object.defineProperty(c,\"labelPropagation\",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(c,\"louvain\",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(c,\"minimumSpanningTree\",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(c,\"pageRank\",{enumerable:!0,get:function(){return m.default}});var N=j(r(45)),C=j(r(126)),w=j(r(73)),O=function(L,A){if(!A&&L&&L.__esModule)return L;if(L===null||y(L)!==\"object\"&&typeof L!=\"function\")return{default:L};var J=E(A);if(J&&J.has(L))return J.get(L);var q={},re=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var me in L)if(me!==\"default\"&&Object.prototype.hasOwnProperty.call(L,me)){var Te=re?Object.getOwnPropertyDescriptor(L,me):null;Te&&(Te.get||Te.set)?Object.defineProperty(q,me,Te):q[me]=L[me]}return q.default=L,J&&J.set(L,q),q}(r(74)),b=j(r(129)),p=j(r(75)),u=j(r(58)),a=r(130),f=j(r(76)),h=j(r(131)),l=j(r(132)),s=j(r(137)),m=j(r(140)),x=j(r(141)),M=r(27);function E(L){if(typeof WeakMap!=\"function\")return null;var A=new WeakMap,J=new WeakMap;return(E=function(q){return q?J:A})(L)}function j(L){return L&&L.__esModule?L:{default:L}}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var y,N=(y=r(127))&&y.__esModule?y:{default:y},C=r(27),w=function(O,b,p,u){u===void 0&&(u=!0);var a=function(x){x===void 0&&(x={});var M,E=x,j=function(){},L=(M={},function(A){var J=A.next;return!M[J]&&(M[J]=!0,!0)});return E.allowTraversal=x.allowTraversal||L,E.enter=x.enter||j,E.leave=x.leave||j,E}(p),f=new N.default,h=O.edges,l=h===void 0?[]:h;f.enqueue(b);for(var s=\"\",m=function(){var x=f.dequeue();a.enter({current:x,previous:s}),(0,C.getNeighbors)(x,l,u?\"target\":void 0).forEach(function(M){a.allowTraversal({previous:s,current:x,next:M})&&f.enqueue(M)}),a.leave({current:x,previous:s}),s=x};!f.isEmpty();)m()};c.default=w},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var y,N=(y=r(128))&&y.__esModule?y:{default:y},C=function(){function w(){this.linkedList=new N.default}return w.prototype.isEmpty=function(){return!this.linkedList.head},w.prototype.peek=function(){return this.linkedList.head?this.linkedList.head.value:null},w.prototype.enqueue=function(O){this.linkedList.append(O)},w.prototype.dequeue=function(){var O=this.linkedList.deleteHead();return O?O.value:null},w.prototype.toString=function(O){return this.linkedList.toString(O)},w}();c.default=C},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=c.LinkedListNode=void 0;var y=function(w,O){return w===O},N=function(){function w(O,b){b===void 0&&(b=null),this.value=O,this.next=b}return w.prototype.toString=function(O){return O?O(this.value):\"\".concat(this.value)},w}();c.LinkedListNode=N;var C=function(){function w(O){O===void 0&&(O=y),this.head=null,this.tail=null,this.compare=O}return w.prototype.prepend=function(O){var b=new N(O,this.head);return this.head=b,this.tail||(this.tail=b),this},w.prototype.append=function(O){var b=new N(O);return this.head?(this.tail.next=b,this.tail=b,this):(this.head=b,this.tail=b,this)},w.prototype.delete=function(O){if(!this.head)return null;for(var b=null;this.head&&this.compare(this.head.value,O);)b=this.head,this.head=this.head.next;var p=this.head;if(p!==null)for(;p.next;)this.compare(p.next.value,O)?(b=p.next,p.next=p.next.next):p=p.next;return this.compare(this.tail.value,O)&&(this.tail=p),b},w.prototype.find=function(O){var b=O.value,p=b===void 0?void 0:b,u=O.callback,a=u===void 0?void 0:u;if(!this.head)return null;for(var f=this.head;f;){if(a&&a(f.value)||p!==void 0&&this.compare(f.value,p))return f;f=f.next}return null},w.prototype.deleteTail=function(){var O=this.tail;if(this.head===this.tail)return this.head=null,this.tail=null,O;for(var b=this.head;b.next;)b.next.next?b=b.next:b.next=null;return this.tail=b,O},w.prototype.deleteHead=function(){if(!this.head)return null;var O=this.head;return this.head.next?this.head=this.head.next:(this.head=null,this.tail=null),O},w.prototype.fromArray=function(O){var b=this;return O.forEach(function(p){return b.append(p)}),this},w.prototype.toArray=function(){for(var O=[],b=this.head;b;)O.push(b),b=b.next;return O},w.prototype.reverse=function(){for(var O=this.head,b=null,p=null;O;)p=O.next,O.next=b,b=O,O=p;this.tail=this.head,this.head=b},w.prototype.toString=function(O){return O===void 0&&(O=void 0),this.toArray().map(function(b){return b.toString(O)}).toString()},w}();c.default=C},function(Ee,c,r){\"use strict\";function y(f){return(y=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(h){return typeof h}:function(h){return h&&typeof Symbol==\"function\"&&h.constructor===Symbol&&h!==Symbol.prototype?\"symbol\":typeof h})(f)}Object.defineProperty(c,\"__esModule\",{value:!0}),c.detectAllUndirectedCycle=c.detectAllDirectedCycle=c.detectAllCycles=c.default=void 0;var N,C=(N=r(75))&&N.__esModule?N:{default:N},w=function(f,h){if(!h&&f&&f.__esModule)return f;if(f===null||y(f)!==\"object\"&&typeof f!=\"function\")return{default:f};var l=b(h);if(l&&l.has(f))return l.get(f);var s={},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in f)if(x!==\"default\"&&Object.prototype.hasOwnProperty.call(f,x)){var M=m?Object.getOwnPropertyDescriptor(f,x):null;M&&(M.get||M.set)?Object.defineProperty(s,x,M):s[x]=f[x]}return s.default=f,l&&l.set(f,s),s}(r(73)),O=r(27);function b(f){if(typeof WeakMap!=\"function\")return null;var h=new WeakMap,l=new WeakMap;return(b=function(s){return s?l:h})(f)}var p=function(f,h,l){var s,m;l===void 0&&(l=!0);for(var x=[],M=0,E=(0,w.default)(f,!1);M<E.length;M++){var j=E[M];if(j.length)for(var L=j[0],A=L.id,J=[L],q=((s={})[A]=L,s),re=((m={})[A]=new Set,m);J.length>0;)for(var me=J.pop(),Te=me.id,ee=(0,O.getNeighbors)(Te,f.edges),xe=function(Le){var De,ce=ee[Le],ye=f.nodes.find(function(ae){return ae.id===ce});if(ce===Te)x.push(((De={})[ce]=me,De));else if(ce in re){if(!re[Te].has(ye)){for(var Oe=!0,Ce=[ye,me],oe=q[Te];re[ce].size&&!re[ce].has(oe)&&(Ce.push(oe),oe!==q[oe.id]);)oe=q[oe.id];if(Ce.push(oe),h&&l?(Oe=!1,Ce.findIndex(function(ae){return h.indexOf(ae.id)>-1})>-1&&(Oe=!0)):h&&!l&&Ce.findIndex(function(ae){return h.indexOf(ae.id)>-1})>-1&&(Oe=!1),Oe){for(var he={},ie=1;ie<Ce.length;ie+=1)he[Ce[ie-1].id]=Ce[ie];Ce.length&&(he[Ce[Ce.length-1].id]=Ce[0]),x.push(he)}re[ce].add(me)}}else q[ce]=me,J.push(ye),re[ce]=new Set([me])},Ie=0;Ie<ee.length;Ie+=1)xe(Ie)}return x};c.detectAllUndirectedCycle=p;var u=function(f,h,l){l===void 0&&(l=!0);for(var s=[],m=new Set,x=[],M=[],E={},j={},L=function oe(he,ie,ae){var ve=!1;if(h&&l===!1&&h.indexOf(he.id)>-1)return ve;s.push(he),m.add(he);for(var X=ae[he.id],se=0;se<X.length;se+=1)if((be=E[X[se]])===ie){for(var fe={},_e=1;_e<s.length;_e+=1)fe[s[_e-1].id]=s[_e];s.length&&(fe[s[s.length-1].id]=s[0]),M.push(fe),ve=!0}else m.has(be)||oe(be,ie,ae)&&(ve=!0);if(ve)(function(We){for(var we=[We];we.length>0;){var Ze=we.pop();m.has(Ze)&&(m.delete(Ze),x[Ze.id].forEach(function(Ve){we.push(Ve)}),x[Ze.id].clear())}})(he);else for(se=0;se<X.length;se+=1){var be=E[X[se]];x[be.id].has(he)||x[be.id].add(he)}return s.pop(),ve},A=f.nodes,J=A===void 0?[]:A,q=0;q<J.length;q+=1){var re=J[q],me=re.id;j[me]=q,E[q]=re}if(h&&l){var Te=function(oe){var he=h[oe];j[J[oe].id]=j[he],j[he]=0,E[0]=J.find(function(ie){return ie.id===he}),E[j[J[oe].id]]=J[oe]};for(q=0;q<h.length;q++)Te(q)}for(var ee=function(oe){for(var he,ie,ae=1/0,ve=0;ve<oe.length;ve+=1)for(var X=oe[ve],se=0;se<X.length;se++){var fe=j[X[se].id];fe<ae&&(ae=fe,ie=ve)}var _e=oe[ie],be=[];for(ve=0;ve<_e.length;ve+=1){var We=_e[ve];be[We.id]=[];for(var we=0,Ze=(0,O.getNeighbors)(We.id,f.edges,\"target\").filter(function(et){return _e.map(function(ht){return ht.id}).indexOf(et)>-1});we<Ze.length;we++){var Ve=Ze[we];Ve!==We.id||l===!1&&h.indexOf(We.id)>-1?be[We.id].push(j[Ve]):M.push(((he={})[We.id]=We,he))}}return{component:_e,adjList:be,minIdx:ae}},xe=0;xe<J.length;){var Ie=J.filter(function(oe){return j[oe.id]>=xe}),Le=(0,w.detectStrongConnectComponents)({nodes:Ie,edges:f.edges}).filter(function(oe){return oe.length>1});if(Le.length===0)break;var De=ee(Le),ce=De.minIdx,ye=De.adjList,Oe=De.component;if(!(Oe.length>1))break;Oe.forEach(function(oe){x[oe.id]=new Set});var Ce=E[ce];if(h&&l&&h.indexOf(Ce.id)===-1)return M;L(Ce,Ce,ye),xe=ce+1}return M};c.detectAllDirectedCycle=u,c.detectAllCycles=function(f,h,l,s){return s===void 0&&(s=!0),h?u(f,l,s):p(f,l,s)};var a=function(f){var h=null,l=f.nodes,s={},m={},x={},M={};(l===void 0?[]:l).forEach(function(L){m[L.id]=L});for(var E={enter:function(L){var A=L.current,J=L.previous;if(x[A]){h={};for(var q=A,re=J;re!==A;)h[q]=re,q=re,re=s[re];h[q]=re}else x[A]=A,delete m[A],s[A]=J},leave:function(L){var A=L.current;M[A]=A,delete x[A]},allowTraversal:function(L){var A=L.next;return!h&&!M[A]}};Object.keys(m).length;){var j=Object.keys(m)[0];(0,C.default)(f,j,E)}return h};c.default=a},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.findShortestPath=c.findAllPath=void 0;var y,N=(y=r(58))&&y.__esModule?y:{default:y},C=r(27);c.findShortestPath=function(w,O,b,p,u){var a=(0,N.default)(w,O,p,u),f=a.length,h=a.path,l=a.allPath;return{length:f[b],path:h[b],allPath:l[b]}},c.findAllPath=function(w,O,b,p){var u;if(O===b)return[[O]];var a=w.edges,f=a===void 0?[]:a,h=[O],l=((u={})[O]=!0,u),s=[],m=[],x=p?(0,C.getNeighbors)(O,f,\"target\"):(0,C.getNeighbors)(O,f);for(s.push(x);h.length>0&&s.length>0;){var M=s[s.length-1];if(M.length){var E=M.shift();if(E&&(h.push(E),l[E]=!0,x=p?(0,C.getNeighbors)(E,f,\"target\"):(0,C.getNeighbors)(E,f),s.push(x.filter(function(A){return!l[A]}))),h[h.length-1]===b){var j=h.map(function(A){return A});m.push(j),L=h.pop(),l[L]=!1,s.pop()}}else{var L=h.pop();l[L]=!1,s.pop()}}return m}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var y,N=(y=r(45))&&y.__esModule?y:{default:y},C=r(27),w=function(O,b,p,u){b===void 0&&(b=!1),p===void 0&&(p=\"weight\"),u===void 0&&(u=1e3);var a=O.nodes,f=a===void 0?[]:a,h=O.edges,l=h===void 0?[]:h,s={},m={};f.forEach(function(re,me){var Te=(0,C.uniqueId)();re.clusterId=Te,s[Te]={id:Te,nodes:[re]},m[re.id]={node:re,idx:me}});var x=(0,N.default)(O,b),M=[],E={};x.forEach(function(re,me){var Te=0,ee=f[me].id;E[ee]={},re.forEach(function(xe,Ie){if(xe){Te+=xe;var Le=f[Ie].id;E[ee][Le]=xe}}),M.push(Te)});for(var j=0,L=function(){var re=!1;if(f.forEach(function(me){var Te={};Object.keys(E[me.id]).forEach(function(Oe){var Ce=E[me.id][Oe],oe=m[Oe].node.clusterId;Te[oe]||(Te[oe]=0),Te[oe]+=Ce});var ee=-1/0,xe=[];if(Object.keys(Te).forEach(function(Oe){ee<Te[Oe]?(ee=Te[Oe],xe=[Oe]):ee===Te[Oe]&&xe.push(Oe)}),xe.length!==1||xe[0]!==me.clusterId){var Ie=xe.indexOf(me.clusterId);if(Ie>=0&&xe.splice(Ie,1),xe&&xe.length){re=!0;var Le=s[me.clusterId],De=Le.nodes.indexOf(me);Le.nodes.splice(De,1);var ce=Math.floor(Math.random()*xe.length),ye=s[xe[ce]];ye.nodes.push(me),me.clusterId=ye.id}}}),!re)return\"break\";j++};j<u&&L()!==\"break\";);Object.keys(s).forEach(function(re){var me=s[re];me.nodes&&me.nodes.length||delete s[re]});var A=[],J={};l.forEach(function(re){var me=re.source,Te=re.target,ee=re[p]||1,xe=m[me].node.clusterId,Ie=m[Te].node.clusterId,Le=\"\".concat(xe,\"---\").concat(Ie);if(J[Le])J[Le].weight+=ee,J[Le].count++;else{var De={source:xe,target:Ie,weight:ee,count:1};J[Le]=De,A.push(De)}});var q=[];return Object.keys(s).forEach(function(re){q.push(s[re])}),{clusters:q,clusterEdges:A}};c.default=w},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var y=r(0),N=b(r(45)),C=b(r(77)),w=r(133),O=r(135);function b(f){return f&&f.__esModule?f:{default:f}}var p=function(f,h,l,s){for(var m=h.length,x=2*s,M=0,E=0;E<m;E++)for(var j=f[E].clusterId,L=0;L<m;L++)j===f[L].clusterId&&(M+=(h[E][L]||0)-(l[E]||0)*(l[L]||0)/x);return M*=1/x},u=function(f,h){f===void 0&&(f=[]);for(var l=f.length,s=new C.default([]),m=0;m<l;m++)s=s.add(new C.default(h[m]));var x=s.avg(l);x.normalize();var M=0;for(m=0;m<l;m++)M+=(j=new C.default(h[m])).squareEuclideanDistance(x);var E=[];for(f.forEach(function(){E.push([])}),m=0;m<l;m++){var j=new C.default(h[m]);f[m].clusterInertial=0;for(var L=0;L<l;L++)if(m!==L){var A=new C.default(h[L]);E[m][L]=j.squareEuclideanDistance(A),f[m].clusterInertial+=E[m][L]}else E[m][L]=0}var J=0,q=2*l*M;for(m=0;m<l;m++){var re=f[m].clusterId;for(L=0;L<l;L++){var me=f[L].clusterId;m!==L&&re===me&&(J+=f[m].clusterInertial*f[L].clusterInertial/Math.pow(q,2)-E[m][L]/q)}}return Number(J.toFixed(4))},a=function(f,h,l,s,m,x,M,E,j){h===void 0&&(h=!1),l===void 0&&(l=\"weight\"),s===void 0&&(s=1e-4),m===void 0&&(m=!1),x===void 0&&(x=void 0),M===void 0&&(M=[]),E===void 0&&(E=[\"id\"]),j===void 0&&(j=1);var L=f.nodes,A=L===void 0?[]:L,J=f.edges,q=J===void 0?[]:J,re=[];if(m){A.forEach(function(be,We){be.properties=be.properties||{},be.originIndex=We});var me=[];A.every(function(be){return be.hasOwnProperty(\"nodeType\")})&&(me=Array.from(new Set(A.map(function(be){return be.nodeType}))),A.forEach(function(be){be.properties.nodeType=me.findIndex(function(We){return We===be.nodeType})}));var Te=(0,w.getAllProperties)(A,x);re=(0,O.oneHot)(Te,M,E)}var ee=1,xe={},Ie={};A.forEach(function(be,We){var we=String(ee++);be.clusterId=we,xe[we]={id:we,nodes:[be]},Ie[be.id]={node:be,idx:We}});var Le=(0,N.default)(f,h),De=[],ce={},ye=0;Le.forEach(function(be,We){var we=0,Ze=A[We].id;ce[Ze]={},be.forEach(function(Ve,et){if(Ve){we+=Ve;var ht=A[et].id;ce[Ze][ht]=Ve,ye+=Ve}}),De.push(we)}),ye/=2;for(var Oe=1/0,Ce=1/0,oe=0,he=[],ie={};;){Oe=m&&A.every(function(be){return be.hasOwnProperty(\"properties\")})?p(A,Le,De,ye)+u(A,re)*j:p(A,Le,De,ye),oe===0&&(Ce=Oe,he=A,ie=xe);var ae=Oe>0&&Oe>Ce&&Oe-Ce<s;if(Oe>Ce&&(he=A.map(function(be){return{node:be,clusterId:be.clusterId}}),ie=(0,y.clone)(xe),Ce=Oe),ae||oe>100)break;oe++,Object.keys(xe).forEach(function(be){var We=0;q.forEach(function(we){var Ze=we.source,Ve=we.target,et=Ie[Ze].node.clusterId,ht=Ie[Ve].node.clusterId;(et===be&&ht!==be||ht===be&&et!==be)&&(We+=we[l]||1)}),xe[be].sumTot=We}),A.forEach(function(be,We){var we,Ze=xe[be.clusterId],Ve=0,et=De[We]/(2*ye),ht=0,Fe=Ze.nodes;Fe.forEach(function(In){var Ft=Ie[In.id].idx;ht+=Le[We][Ft]||0});var mt=ht-Ze.sumTot*et,dt=Fe.filter(function(In){return In.id!==be.id}),Lt=[];dt.forEach(function(In,Ft){Lt[Ft]=re[In.originIndex]});var lt=u(dt,re)*j,rn=ce[be.id];if(Object.keys(rn).forEach(function(In){var Ft=Ie[In].node.clusterId;if(Ft!==be.clusterId){var kt=xe[Ft],At=kt.nodes;if(At&&At.length){var Fn=0;At.forEach(function(hr){var pr=Ie[hr.id].idx;Fn+=Le[We][pr]||0});var pn=Fn-kt.sumTot*et,en=At.concat([be]),Wn=[];en.forEach(function(hr,pr){Wn[pr]=re[hr.originIndex]});var Mn=u(en,re)*j,Kn=pn-mt;m&&(Kn=pn+Mn-(mt+lt)),Kn>Ve&&(Ve=Kn,we=kt)}}}),Ve>0){we.nodes.push(be);var qt=be.clusterId;be.clusterId=we.id;var hn=Ze.nodes.indexOf(be);Ze.nodes.splice(hn,1);var Kt=0,an=0;q.forEach(function(In){var Ft=In.source,kt=In.target,At=Ie[Ft].node.clusterId,Fn=Ie[kt].node.clusterId;(At===we.id&&Fn!==we.id||Fn===we.id&&At!==we.id)&&(Kt+=In[l]||1),(At===qt&&Fn!==qt||Fn===qt&&At!==qt)&&(an+=In[l]||1)}),we.sumTot=Kt,Ze.sumTot=an}})}var ve={},X=0;Object.keys(ie).forEach(function(be){var We=ie[be];if(We.nodes&&We.nodes.length){var we=String(X+1);we!==be&&(We.id=we,We.nodes=We.nodes.map(function(Ze){return{id:Ze.id,clusterId:we}}),ie[we]=We,ve[be]=we,delete ie[be],X++)}else delete ie[be]}),he.forEach(function(be){var We=be.node,we=be.clusterId;We&&(We.clusterId=we,We.clusterId&&ve[We.clusterId]&&(We.clusterId=ve[We.clusterId]))});var se=[],fe={};q.forEach(function(be){var We=be.source,we=be.target,Ze=be[l]||1,Ve=Ie[We].node.clusterId,et=Ie[we].node.clusterId;if(Ve&&et){var ht=\"\".concat(Ve,\"---\").concat(et);if(fe[ht])fe[ht].weight+=Ze,fe[ht].count++;else{var Fe={source:Ve,target:et,weight:Ze,count:1};fe[ht]=Fe,se.push(Fe)}}});var _e=[];return Object.keys(ie).forEach(function(be){_e.push(ie[be])}),{clusters:_e,clusterEdges:se}};c.default=a},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.getPropertyWeight=c.getAllSortProperties=c.getAllProperties=c.default=void 0;var y=r(134),N=function(p,u){p===void 0&&(p=[]),u===void 0&&(u=100);var a={};p.forEach(function(h){h.properties&&Object.keys(h.properties).forEach(function(l){l===\"id\"||!\"\".concat(h.properties[l]).match(y.secondReg)&&!\"\".concat(h.properties[l]).match(y.dateReg)&&isNaN(Number(h.properties[l]))?a.hasOwnProperty(l)&&delete a[l]:a.hasOwnProperty(l)?a[l]+=1:a[l]=1})});var f=Object.keys(a).sort(function(h,l){return a[l]-a[h]});return f.length<u?f:f.slice(0,u)};c.getAllSortProperties=N;var C=function(p,u){return u.map(function(a){return p.hasOwnProperty(a)?p[a]:0})},w=function(p){for(var u=N(p),a=[],f=0;f<p.length;f++)a[f]=C(p[f].properties,u);return a};c.getPropertyWeight=w;var O=function(p,u){u===void 0&&(u=void 0);var a=[];return p.forEach(function(f){u===void 0&&a.push(f),f[u]!==void 0&&a.push(f[u])}),a};c.getAllProperties=O;var b={getAllSortProperties:N,getPropertyWeight:w,getAllProperties:O};c.default=b},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.secondReg=c.dateReg=void 0,c.secondReg=/^(\\d{1,4})(-|\\/)(\\d{1,2})\\2(\\d{1,2})$/,c.dateReg=/^(\\d{1,4})(-|\\/)(\\d{1,2})\\2(\\d{1,2}) (\\d{1,2}):(\\d{1,2}):(\\d{1,2})$/},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.oneHot=c.getDistance=c.getAllKeyValueMap=c.default=void 0;var y,N=r(0),C=r(136),w=(y=r(77))&&y.__esModule?y:{default:y},O=function(a,f,h){var l=[];f!=null&&f.length?l=f:(a.forEach(function(m){l=l.concat(Object.keys(m))}),l=(0,N.uniq)(l));var s={};return l.forEach(function(m){var x=[];a.forEach(function(M){M[m]!==void 0&&M[m]!==\"\"&&x.push(M[m])}),x.length&&!(h!=null&&h.includes(m))&&(s[m]=(0,N.uniq)(x))}),s};c.getAllKeyValueMap=O;var b=function(a,f,h){var l=O(a,f,h),s=[];if(!Object.keys(l).length)return s;var m=Object.values(l).every(function(x){return x.every(function(M){return typeof M==\"number\"})});return a.forEach(function(x,M){var E=[];Object.keys(l).forEach(function(j){var L=x[j],A=l[j],J=A.findIndex(function(me){return L===me}),q=[];if(m)q.push(L);else for(var re=0;re<A.length;re++)re===J?q.push(1):q.push(0);E=E.concat(q)}),s[M]=E}),s};c.oneHot=b;var p=function(a,f,h,l){h===void 0&&(h=C.DistanceType.EuclideanDistance);var s=0;switch(h){case C.DistanceType.EuclideanDistance:s=new w.default(a).euclideanDistance(new w.default(f))}return s};c.getDistance=p;var u={getAllKeyValueMap:O,oneHot:b,getDistance:p};c.default=u},function(Ee,c,r){\"use strict\";var y;Object.defineProperty(c,\"__esModule\",{value:!0}),c.DistanceType=void 0,c.DistanceType=y,function(N){N.EuclideanDistance=\"euclideanDistance\"}(y||(c.DistanceType=y={}))},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var y=w(r(138)),N=w(r(139)),C=r(27);function w(u){return u&&u.__esModule?u:{default:u}}var O=function(u,a){var f=[],h=u.nodes,l=h===void 0?[]:h,s=u.edges,m=s===void 0?[]:s;if(l.length===0)return f;var x=l[0],M=new Set;M.add(x);var E=new N.default(function(J,q){return a?J.weight-q.weight:0});for((0,C.getEdgesByNodeId)(x.id,m).forEach(function(J){E.insert(J)});!E.isEmpty();){var j=E.delMin(),L=j.source,A=j.target;M.has(L)&&M.has(A)||(f.push(j),M.has(L)||(M.add(L),(0,C.getEdgesByNodeId)(L,m).forEach(function(J){E.insert(J)})),M.has(A)||(M.add(A),(0,C.getEdgesByNodeId)(A,m).forEach(function(J){E.insert(J)})))}return f},b=function(u,a){var f=[],h=u.nodes,l=h===void 0?[]:h,s=u.edges,m=s===void 0?[]:s;if(l.length===0)return f;var x=m.map(function(A){return A});a&&x.sort(function(A,J){return A.weight-J.weight});for(var M=new y.default(l.map(function(A){return A.id}));x.length>0;){var E=x.shift(),j=E.source,L=E.target;M.connected(j,L)||(f.push(E),M.union(j,L))}return f},p=function(u,a,f){return f?{prim:O,kruskal:b}[f](u,a):b(u,a)};c.default=p},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var y=function(){function N(C){this.count=C.length,this.parent={};for(var w=0,O=C;w<O.length;w++){var b=O[w];this.parent[b]=b}}return N.prototype.find=function(C){for(;this.parent[C]!==C;)C=this.parent[C];return C},N.prototype.union=function(C,w){var O=this.find(C),b=this.find(w);O!==b&&(O<b?(this.parent[w]!==w&&this.union(this.parent[w],C),this.parent[w]=this.parent[C]):(this.parent[C]!==C&&this.union(this.parent[C],w),this.parent[C]=this.parent[w]))},N.prototype.connected=function(C,w){return this.find(C)===this.find(w)},N}();c.default=y},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var y=function(C,w){return C-w},N=function(){function C(w){w===void 0&&(w=y),this.compareFn=w,this.list=[]}return C.prototype.getLeft=function(w){return 2*w+1},C.prototype.getRight=function(w){return 2*w+2},C.prototype.getParent=function(w){return w===0?null:Math.floor((w-1)/2)},C.prototype.isEmpty=function(){return this.list.length<=0},C.prototype.top=function(){return this.isEmpty()?void 0:this.list[0]},C.prototype.delMin=function(){var w=this.top(),O=this.list.pop();return this.list.length>0&&(this.list[0]=O,this.moveDown(0)),w},C.prototype.insert=function(w){if(w!==null){this.list.push(w);var O=this.list.length-1;return this.moveUp(O),!0}return!1},C.prototype.moveUp=function(w){for(var O=this.getParent(w);w&&w>0&&this.compareFn(this.list[O],this.list[w])>0;){var b=this.list[O];this.list[O]=this.list[w],this.list[w]=b,w=O,O=this.getParent(w)}},C.prototype.moveDown=function(w){var O,b=w,p=this.getLeft(w),u=this.getRight(w),a=this.list.length;p!==null&&p<a&&this.compareFn(this.list[b],this.list[p])>0?b=p:u!==null&&u<a&&this.compareFn(this.list[b],this.list[u])>0&&(b=u),w!==b&&(O=[this.list[b],this.list[w]],this.list[w]=O[0],this.list[b]=O[1],this.moveDown(b))},C}();c.default=N},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var y,N=(y=r(74))&&y.__esModule?y:{default:y},C=r(27),w=function(O,b,p){typeof b!=\"number\"&&(b=1e-6),typeof p!=\"number\"&&(p=.85);for(var u,a=1,f=0,h=1e3,l=O.nodes,s=l===void 0?[]:l,m=O.edges,x=m===void 0?[]:m,M=s.length,E={},j={},L=0;L<M;++L)E[J=(ee=s[L]).id]=1/M,j[J]=1/M;for(var A=(0,N.default)(O);h>0&&a>b;){for(f=0,L=0;L<M;++L){var J=(ee=s[L]).id;if(u=0,A[ee.id].inDegree===0)E[J]=0;else{for(var q=(0,C.getNeighbors)(J,x,\"source\"),re=0;re<q.length;++re){var me=q[re],Te=A[me].outDegree;Te>0&&(u+=j[me]/Te)}E[J]=p*u,f+=E[J]}}for(f=(1-f)/M,a=0,L=0;L<M;++L){var ee;u=E[J=(ee=s[L]).id]+f,a+=Math.abs(u-j[J]),j[J]=u}h-=1}return j};c.default=w},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var y=r(1),N=b(r(76)),C=b(r(142)),w=b(r(58)),O=r(27);function b(E){return E&&E.__esModule?E:{default:E}}var p=function(E,j,L,A){L===void 0&&(L=\"cluster\"),A===void 0&&(A=2);var J=[],q=E.nodes;return j.forEach(function(re,me){J.push(u(q,re,me,L,A))}),J},u=function(E,j,L,A,J){var q=[L],re=[],me={};return j.forEach(function(Te,ee){if(Te<=J&&L!==ee){q.push(ee),re.push(E[ee]);var xe=E[ee][A];me[xe]?(me[xe].count++,me[xe].dists.push(Te)):me[xe]={count:1,dists:[Te]}}}),Object.keys(me).forEach(function(Te){me[Te].dists=me[Te].dists.sort(function(ee,xe){return ee-xe})}),{nodeIdx:L,nodeId:E[L].id,nodeIdxs:q,neighbors:re,neighborNum:q.length-1,nodeLabelCountMap:me}},a=function(E,j,L,A){var J=L.nodes;return A||(A={}),Object.keys(E).forEach(function(q){var re,me;if(!A||!A[q]){A[q]={nodes:[],edges:[]};var Te=E[q],ee=(re=j[Te.start])===null||re===void 0?void 0:re.nodeIdxs,xe=(me=j[Te.end])===null||me===void 0?void 0:me.nodeIdxs;if(ee&&xe){var Ie=new Set(xe),Le=ee.filter(function(Ce){return Ie.has(Ce)});if(Le&&Le.length){for(var De={},ce=Le.length,ye=0;ye<ce;ye++){var Oe=J[Le[ye]];A[q].nodes.push(Oe),De[Oe.id]=!0}L.edges.forEach(function(Ce){De[Ce.source]&&De[Ce.target]&&A[q].edges.push(Ce)})}}}}),A},f=function(E,j,L,A){var J,q,re={};E.nodes.forEach(function(Te){re[Te.id]=Te});var me=0;return!(!((J=j==null?void 0:j.edges)===null||J===void 0)&&J.length)||((q=j==null?void 0:j.nodes)===null||q===void 0?void 0:q.length)<2?0:(E.edges.forEach(function(Te){var ee=re[Te.source][L],xe=re[Te.target][L],Ie=j==null?void 0:j.nodes[0][L],Le=j==null?void 0:j.nodes[1][L],De=j==null?void 0:j.edges[0][A];Te[A]===De&&(ee===Ie&&xe===Le||ee===Le&&xe===Ie)&&me++}),me)},h=function(E,j){var L={},A={};return E.forEach(function(J,q){L[J.id]={idx:q,node:J,degree:0,inDegree:0,outDegree:0};var re=J[j];A[re]||(A[re]=[]),A[re].push(J)}),{nodeMap:L,nodeLabelMap:A}},l=function(E,j,L){var A={},J={};return E.forEach(function(q,re){A[\"\".concat(O.uniqueId)]={idx:re,edge:q};var me=q[j];J[me]||(J[me]=[]),J[me].push(q);var Te=L[q.source];Te&&(Te.degree++,Te.outDegree++);var ee=L[q.target];ee&&(ee.degree++,ee.inDegree++)}),{edgeMap:A,edgeLabelMap:J}},s=function(E,j,L){var A=j.length,J={};return j.forEach(function(q,re){for(var me=L?0:re+1,Te=E[re].id,ee=me;ee<A;ee++)if(re!==ee){var xe=E[ee].id,Ie=q[ee];J[\"\".concat(Te,\"-\").concat(xe)]=Ie,L||(J[\"\".concat(xe,\"-\").concat(Te)]=Ie)}}),J},m=function(E,j,L,A,J,q,re,me,Te,ee,xe){var Ie,Le=\"\".concat(j.id,\"-\").concat(L.id);if(ee&&ee[Le])return ee[Le];var De=xe?xe[Le]:void 0;if(!De){var ce=((Ie={})[Le]={start:A[j.id].idx,end:A[L.id].idx,distance:J},Ie);De=(xe=a(ce,q,E,xe))[Le]}return f(De,re,me,Te)},x=function(E,j,L,A){var J,q,re,me=(J=E[j])===null||J===void 0?void 0:J.degree,Te=(q=E[j])===null||q===void 0?void 0:q.inDegree,ee=(re=E[j])===null||re===void 0?void 0:re.outDegree;return E[j]===void 0&&(me=1/0,Te=1/0,ee=1/0,A[j].forEach(function(xe){var Ie=L[xe.id].degree;me>Ie&&(me=Ie);var Le=L[xe.id].inDegree;Te>Le&&(Te=Le);var De=L[xe.id].outDegree;ee>De&&(ee=De)}),E[j]={degree:me,inDegree:Te,outDegree:ee}),{minPatternNodeLabelDegree:me,minPatternNodeLabelInDegree:Te,minPatternNodeLabelOutDegree:ee}},M=function(E,j,L,A,J,q,re){var me;if(L===void 0&&(L=!1),q===void 0&&(q=\"cluster\"),re===void 0&&(re=\"cluster\"),E&&E.nodes){var Te=E.nodes.length;if(Te){var ee=(0,N.default)(E,L),xe=(0,N.default)(j,L),Ie=s(E.nodes,ee,L),Le=s(j.nodes,xe,L),De=h(E.nodes,q),ce=De.nodeMap,ye=De.nodeLabelMap,Oe=h(j.nodes,q),Ce=Oe.nodeMap,oe=Oe.nodeLabelMap;l(E.edges,re,ce);var he=l(j.edges,re,Ce).edgeLabelMap,ie=[];xe==null||xe.forEach(function(pn){ie=ie.concat(pn)}),J||(J=Math.max.apply(Math,(0,y.__spreadArray)((0,y.__spreadArray)([],ie,!1),[2],!1))),A||(A=J);var ae=p(E,ee,q,A),ve=p(j,xe,q,A),X=function(pn,en,Wn,Mn,Kn){var hr=Math.ceil(Wn/en),pr={},zr=0;return Mn.forEach(function(Wr,Nr){for(var Kr=0,ko=0,Ur=Wr.nodeIdxs,gn=Wr.neighborNum-1;Kr<hr;){for(var Gt=Ur[1+Math.floor(Math.random()*gn)],bt=0;(pr[\"\".concat(Nr,\"-\").concat(Gt)]||pr[\"\".concat(Gt,\"-\").concat(Nr)])&&(Gt=Math.floor(Math.random()*en),!(++bt>2*en)););if(bt<2*en&&(pr[\"\".concat(Nr,\"-\").concat(Gt)]={start:Nr,end:Gt,distance:Kn[Nr][Gt]},Kr++,++zr>=Wn))return pr;if(++ko>2*en)break}Kr<hr&&(hr=(hr+(hr-Kr))/(en-Nr-1))}),pr}(0,Te,Math.min(100,Te*(Te-1)/2),ae,ee),se=a(X,ae,E),fe={graphs:se,nodeLabelProp:q,edgeLabelProp:re,minSupport:1,minNodeNum:1,maxNodeNum:4,directed:L},_e=(0,C.default)(fe).slice(0,10),be=_e.length,We=[];_e.forEach(function(pn,en){We[en]={},Object.keys(se).forEach(function(Wn){var Mn=se[Wn],Kn=f(Mn,pn,q,re);We[en][Wn]=Kn})});var we=function(pn,en,Wn){for(var Mn=1/0,Kn=0,hr=function(zr){var Wr=pn[zr],Nr=Object.keys(Wr).sort(function(bt,Zt){return Wr[bt]-Wr[Zt]}),Kr=[];Nr.forEach(function(bt,Zt){Kr[Zt%10]||(Kr[Zt%10]={graphs:[],totalCount:0,aveCount:0}),Kr[Zt%10].graphs.push(bt),Kr[Zt%10].totalCount+=Wr[bt]});var ko=0,Ur=[];Kr.forEach(function(bt){var Zt=bt.totalCount/bt.graphs.length;bt.aveCount=Zt,Ur.push(Zt);var gt=0,Wt=bt.length;bt.graphs.forEach(function(xn,Dt){var Xn=Wr[xn];bt.graphs.forEach(function(Rn,wt){Dt!==wt&&(gt+=Math.abs(Xn-Wr[Rn]))})}),ko+=gt/=Wt*(Wt-1)/2}),ko/=Kr.length;var gn=0;Ur.forEach(function(bt,Zt){Ur.forEach(function(gt,Wt){Zt!==Wt&&(gn+=Math.abs(bt-gt))}),gn/=Ur.length*(Ur.length-1)/2});var Gt=gn-ko;Mn<Gt&&(Mn=Gt,Kn=zr)},pr=0;pr<en;pr++)hr(pr);return{structure:Wn[Kn],structureCountMap:pn[Kn]}}(We,be,_e),Ze=we.structure,Ve=we.structureCountMap,et=j.nodes[0],ht=[],Fe=(me=j.nodes[0])===null||me===void 0?void 0:me[q],mt=-1/0;j.nodes.forEach(function(pn){var en=pn[q],Wn=ye[en];(Wn==null?void 0:Wn.length)>mt&&(mt=Wn.length,ht=Wn,Fe=en,et=pn)});var dt={},Lt={},lt={},rn={},qt={},hn={};Object.keys(oe).forEach(function(pn,en){qt[pn]=[],L&&(hn[pn]=[]);var Wn=-1/0,Mn=oe[pn],Kn={};Mn.forEach(function(Wr){var Nr=Le[\"\".concat(et.id,\"-\").concat(Wr.id)];if(Nr&&qt[pn].push(Nr),Wn<Nr&&(Wn=Nr),Kn[\"\".concat(et.id,\"-\").concat(Wr.id)]={start:0,end:Ce[Wr.id].idx,distance:Nr},L){var Kr=Le[\"\".concat(Wr.id,\"-\").concat(et.id)];Kr&&hn[pn].push(Kr)}}),qt[pn]=qt[pn].sort(function(Wr,Nr){return Wr-Nr}),L&&(hn[pn]=hn[pn].sort(function(Wr,Nr){return Wr-Nr})),Lt=a(Kn,ve,j,Lt);var hr=[];if(Object.keys(Kn).forEach(function(Wr){if(lt[Wr])hr.push(lt[Wr]);else{var Nr=Lt[Wr];lt[Wr]=f(Nr,Ze,q,re),hr.push(lt[Wr])}}),hr=hr.sort(function(Wr,Nr){return Nr-Wr}),rn[\"\".concat(et.id,\"-\").concat(pn)]=hr,pn!==Fe)for(var pr=function(Wr){var Nr=ht[Wr],Kr=ae[ce[Nr.id].idx],ko=Kr.nodeLabelCountMap[pn],Ur=oe[pn].length;if(!ko||ko.count<Ur)return ht.splice(Wr,1),\"continue\";for(var gn=!1,Gt=0;Gt<Ur;Gt++)if(ko.dists[Gt]>qt[pn][Gt]){gn=!0;break}if(gn)return ht.splice(Wr,1),\"continue\";var bt={};Kr.neighbors.forEach(function(Wt){var xn=Ie[\"\".concat(Nr.id,\"-\").concat(Wt.id)];bt[\"\".concat(Nr.id,\"-\").concat(Wt.id)]={start:ce[Nr.id].idx,end:ce[Wt.id].idx,distance:xn}}),se=a(bt,ae,E,se);var Zt=[];Object.keys(bt).forEach(function(Wt){if(Ve[Wt])Zt.push(Ve[Wt]);else{var xn=se[Wt];Ve[Wt]=f(xn,Ze,q,re),Zt.push(Ve[Wt])}}),Zt=Zt.sort(function(Wt,xn){return xn-Wt});var gt=!1;for(Gt=0;Gt<Ur;Gt++)if(Zt[Gt]<hr[Gt]){gt=!0;break}return gt?(ht.splice(Wr,1),\"continue\"):void 0},zr=((ht==null?void 0:ht.length)||0)-1;zr>=0;zr--)pr(zr)});var Kt=[];ht==null||ht.forEach(function(pn){for(var en=ce[pn.id].idx,Wn=u(E.nodes,ee[en],en,q,J).neighbors,Mn=!1,Kn=Wn.length-1;Kn>=0;Kn--){if(Wn.length+1<j.nodes.length)return void(Mn=!0);var hr=Wn[Kn],pr=hr[q];if(oe[pr]&&oe[pr].length)if(qt[pr]&&qt[pr].length){var zr=\"\".concat(pn.id,\"-\").concat(hr.id),Wr=Ie[zr],Nr=qt[pr].length-1;if(Wr>qt[pr][Nr])Wn.splice(Kn,1);else{if(L){var Kr=\"\".concat(hr.id,\"-\").concat(pn.id),ko=Ie[Kr];if(Nr=hn[pr].length-1,ko>hn[pr][Nr]){Wn.splice(Kn,1);continue}}var Ur=Ve[zr]?Ve[zr]:m(E,pn,hr,ce,Wr,ae,Ze,q,re,Ve,se),gn=\"\".concat(et.id,\"-\").concat(pr);if(Ur<rn[gn][rn[gn].length-1])Wn.splice(Kn,1);else{var Gt=x(dt,pr,Ce,oe),bt=Gt.minPatternNodeLabelDegree;Gt.minPatternNodeLabelInDegree,Gt.minPatternNodeLabelOutDegree,ce[hr.id].degree<bt&&Wn.splice(Kn,1)}}}else Wn.splice(Kn,1);else Wn.splice(Kn,1)}Mn||Kt.push({nodes:[pn].concat(Wn)})});var an=(0,w.default)(j,et.id,!1).length,In={};L?(Object.keys(an).forEach(function(pn){var en=Ce[pn].node[q];In[en]?In[en].push(an[pn]):In[en]=[an[pn]]}),Object.keys(In).forEach(function(pn){In[pn].sort(function(en,Wn){return en-Wn})})):In=qt;for(var Ft=function(pn){var en=Kt[pn],Wn=en.nodes[0],Mn={},Kn={};en.nodes.forEach(function(xr,jr){Kn[xr.id]={idx:jr,node:xr,degree:0,inDegree:0,outDegree:0};var yo=xr[q];Mn[yo]?Mn[yo]++:Mn[yo]=1});var hr=[],pr={};E.edges.forEach(function(xr){Kn[xr.source]&&Kn[xr.target]&&(hr.push(xr),pr[xr[re]]?pr[xr[re]]++:pr[xr[re]]=1,Kn[xr.source].degree++,Kn[xr.target].degree++,Kn[xr.source].outDegree++,Kn[xr.target].inDegree++)});for(var zr=Object.keys(he).length,Wr=!1,Nr=0;Nr<zr;Nr++){var Kr=Object.keys(he)[Nr];if(!pr[Kr]||pr[Kr]<he[Kr].length){Wr=!0;break}}if(Wr)return Kt.splice(pn,1),\"continue\";var ko=hr.length;if(ko<j.edges.length)return Kt.splice(pn,1),\"break\";var Ur=!1,gn=function(xr){var jr=hr[xr],yo=jr[re],eo=he[yo];if(!eo||!eo.length)return pr[yo]--,eo&&pr[yo]<eo.length?(Ur=!0,\"break\"):(hr.splice(xr,1),Kn[jr.source].degree--,Kn[jr.target].degree--,Kn[jr.source].outDegree--,Kn[jr.target].inDegree--,\"continue\");var vi=Kn[jr.source].node[q],Ti=Kn[jr.target].node[q],wi=!1;return eo.forEach(function(mi){var Zi=Ce[mi.source].node,aa=Ce[mi.target].node;Zi[q]===vi&&aa[q]===Ti&&(wi=!0),L||Zi[q]!==Ti||aa[q]!==vi||(wi=!0)}),wi?void 0:(pr[yo]--,eo&&pr[yo]<eo.length?(Ur=!0,\"break\"):(hr.splice(xr,1),Kn[jr.source].degree--,Kn[jr.target].degree--,Kn[jr.source].outDegree--,Kn[jr.target].inDegree--,\"continue\"))};for(Nr=ko-1;Nr>=0&&gn(Nr)!==\"break\";Nr--);if(Ur)return Kt.splice(pn,1),\"continue\";en.edges=hr;var Gt=(0,w.default)(en,en.nodes[0].id,!1).length;if(Object.keys(Gt).reverse().forEach(function(xr){if(xr!==en.nodes[0].id&&!Ur){if(Gt[xr]===1/0){var jr=Kn[xr].node[q];if(Mn[jr]--,Mn[jr]<oe[jr].length)return void(Ur=!0);var yo=en.nodes.indexOf(Kn[xr].node);return en.nodes.splice(yo,1),void(Kn[xr]=void 0)}var eo=ce[xr].node[q];if(!In[eo]||!In[eo].length||Gt[xr]>In[eo][In[eo].length-1]){if(jr=Kn[xr].node[q],Mn[jr]--,Mn[jr]<oe[jr].length)return void(Ur=!0);yo=en.nodes.indexOf(Kn[xr].node),en.nodes.splice(yo,1),Kn[xr]=void 0}}}),Ur)return Kt.splice(pn,1),\"continue\";for(var bt=!0,Zt=0;bt&&!Ur;){if(bt=!1,L?Kn[Wn.id].degree<Ce[et.id].degree||Kn[Wn.id].inDegree<Ce[et.id].inDegree||Kn[Wn.id].outDegree<Ce[et.id].outDegree:Kn[Wn.id].degree<Ce[et.id].degree){Ur=!0;break}if(Mn[Wn[q]]<oe[Wn[q]].length){Ur=!0;break}for(var gt=en.nodes.length-1;gt>=0;gt--){var Wt=en.nodes[gt],xn=Kn[Wt.id].degree,Dt=Kn[Wt.id].inDegree,Xn=Kn[Wt.id].outDegree,Rn=Wt[q],wt=x(dt,Rn,Ce,oe),pt=wt.minPatternNodeLabelDegree,Ue=wt.minPatternNodeLabelInDegree,xt=wt.minPatternNodeLabelOutDegree;if(L?xn<pt||Dt<Ue||Xn<xt:xn<pt){if(Mn[Wt[q]]--,Mn[Wt[q]]<oe[Wt[q]].length){Ur=!0;break}en.nodes.splice(gt,1),Kn[Wt.id]=void 0,bt=!0}}if(Ur||!bt&&Zt!==0)break;for(var cn=(ko=hr.length)-1;cn>=0;cn--){var er=hr[cn];if(!Kn[er.source]||!Kn[er.target]){hr.splice(cn,1);var Mr=er[re];if(pr[Mr]--,Kn[er.source]&&(Kn[er.source].degree--,Kn[er.source].outDegree--),Kn[er.target]&&(Kn[er.target].degree--,Kn[er.target].inDegree--),he[Mr]&&pr[Mr]<he[Mr].length){Ur=!0;break}bt=!0}}Zt++}return Ur||Ur||en.nodes.length<j.nodes.length||hr.length<j.edges.length?(Kt.splice(pn,1),\"continue\"):void 0},kt=Kt.length-1;kt>=0&&Ft(kt)!==\"break\";kt--);var At=Kt.length,Fn=function(pn){var en=Kt[pn],Wn={};en.edges.forEach(function(hr){var pr=\"\".concat(hr.source,\"-\").concat(hr.target,\"-\").concat(hr.label);Wn[pr]?Wn[pr]++:Wn[pr]=1});for(var Mn=function(hr){var pr=Kt[hr],zr={};pr.edges.forEach(function(Nr){var Kr=\"\".concat(Nr.source,\"-\").concat(Nr.target,\"-\").concat(Nr.label);zr[Kr]?zr[Kr]++:zr[Kr]=1});var Wr=!0;Object.keys(zr).length!==Object.keys(Wn).length?Wr=!1:Object.keys(Wn).forEach(function(Nr){zr[Nr]!==Wn[Nr]&&(Wr=!1)}),Wr&&Kt.splice(hr,1)},Kn=At-1;Kn>pn;Kn--)Mn(Kn);At=Kt.length};for(kt=0;kt<=At-1;kt++)Fn(kt);return Kt}}};c.default=M},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var y=r(0),N=r(143),C=function(){function u(a,f,h,l,s){this.fromNode=a,this.toNode=f,this.nodeEdgeNodeLabel={nodeLabel1:h||N.VACANT_NODE_LABEL,edgeLabel:l||N.VACANT_EDGE_LABEL,nodeLabel2:s||N.VACANT_NODE_LABEL}}return u.prototype.equalTo=function(a){return this.fromNode===a.formNode&&this.toNode===a.toNode&&this.nodeEdgeNodeLabel===a.nodeEdgeNodeLabel},u.prototype.notEqualTo=function(a){return!this.equalTo(a)},u}(),w=function(){function u(){this.rmpath=[],this.dfsEdgeList=[]}return u.prototype.equalTo=function(a){var f=this.dfsEdgeList.length;if(f!==a.length)return!1;for(var h=0;h<f;h++)if(this.dfsEdgeList[h]!==a[h])return!1;return!0},u.prototype.notEqualTo=function(a){return!this.equalTo(a)},u.prototype.pushBack=function(a,f,h,l,s){return this.dfsEdgeList.push(new C(a,f,h,l,s)),this.dfsEdgeList},u.prototype.toGraph=function(a,f){a===void 0&&(a=N.VACANT_GRAPH_ID),f===void 0&&(f=!1);var h=new N.Graph(a,!0,f);return this.dfsEdgeList.forEach(function(l){var s=l.fromNode,m=l.toNode,x=l.nodeEdgeNodeLabel,M=x.nodeLabel1,E=x.edgeLabel,j=x.nodeLabel2;M!==N.VACANT_NODE_LABEL&&h.addNode(s,M),j!==N.VACANT_NODE_LABEL&&h.addNode(m,j),M!==N.VACANT_NODE_LABEL&&j!==M&&h.addEdge(void 0,s,m,E)}),h},u.prototype.buildRmpath=function(){this.rmpath=[];for(var a=void 0,f=this.dfsEdgeList.length-1;f>=0;f--){var h=this.dfsEdgeList[f],l=h.fromNode,s=h.toNode;l<s&&(a===void 0||s===a)&&(this.rmpath.push(f),a=l)}return this.rmpath},u.prototype.getNodeNum=function(){var a={};return this.dfsEdgeList.forEach(function(f){a[f.fromNode]||(a[f.fromNode]=!0),a[f.toNode]||(a[f.toNode]=!0)}),Object.keys(a).length},u}(),O=function(){function u(a){if(this.his={},this.nodesUsed={},this.edgesUsed={},this.edges=[],a){for(;a;){var f=a.edge;this.edges.push(f),this.nodesUsed[f.from]=1,this.nodesUsed[f.to]=1,this.edgesUsed[f.id]=1,a=a.preNode}this.edges=this.edges.reverse()}}return u.prototype.hasNode=function(a){return this.nodesUsed[a.id]===1},u.prototype.hasEdge=function(a){return this.edgesUsed[a.id]===1},u}(),b=function(){function u(a){var f=a.graphs,h=a.minSupport,l=h===void 0?2:h,s=a.minNodeNum,m=s===void 0?1:s,x=a.maxNodeNum,M=x===void 0?4:x,E=a.top,j=E===void 0?10:E,L=a.directed,A=L!==void 0&&L,J=a.verbose,q=J!==void 0&&J;this.graphs=f,this.dfsCode=new w,this.support=0,this.frequentSize1Subgraphs=[],this.frequentSubgraphs=[],this.minSupport=l,this.top=j,this.directed=A,this.counter=0,this.maxNodeNum=M,this.minNodeNum=m,this.verbose=q,this.maxNodeNum<this.minNodeNum&&(this.maxNodeNum=this.minNodeNum),this.reportDF=[]}return u.prototype.findForwardRootEdges=function(a,f){var h=this,l=[],s=a.nodeMap;return f.edges.forEach(function(m){(h.directed||f.label<=s[m.to].label)&&l.push(m)}),l},u.prototype.findBackwardEdge=function(a,f,h,l){if(!this.directed&&f===h)return null;for(var s=a.nodeMap,m=s[h.to].edges,x=m.length,M=0;M<x;M++){var E=m[M];if(!l.hasEdge(E)&&E.to===f.from){if(this.directed){if(s[f.from].label<s[h.to].label||s[f.from].label===s[h.to].label&&f.label<=E.label)return E}else if(f.label<E.label||f.label===E.label&&s[f.to].label<=s[h.to].label)return E}}return null},u.prototype.findForwardPureEdges=function(a,f,h,l){for(var s=[],m=f.to,x=a.nodeMap[m].edges,M=x.length,E=0;E<M;E++){var j=x[E],L=a.nodeMap[j.to];h<=L.label&&!l.hasNode(L)&&s.push(j)}return s},u.prototype.findForwardRmpathEdges=function(a,f,h,l){for(var s=[],m=a.nodeMap,x=m[f.to].label,M=m[f.from].edges,E=M.length,j=0;j<E;j++){var L=M[j],A=m[L.to].label;f.to===L.to||h>A||l.hasNode(m[L.to])||(f.label<L.label||f.label===L.label&&x<=A)&&s.push(L)}return s},u.prototype.getSupport=function(a){var f={};return a.forEach(function(h){f[h.graphId]||(f[h.graphId]=!0)}),Object.keys(f).length},u.prototype.findMinLabel=function(a){var f=void 0;return Object.keys(a).forEach(function(h){var l=a[h],s=l.nodeLabel1,m=l.edgeLabel,x=l.nodeLabel2;f?(s<f.nodeLabel1||s===f.nodeLabel1&&m<f.edgeLabel||s===f.nodeLabel1&&m===f.edgeLabel&&x<f.nodeLabel2)&&(f={nodeLabel1:s,edgeLabel:m,nodeLabel2:x}):f={nodeLabel1:s,edgeLabel:m,nodeLabel2:x}}),f},u.prototype.isMin=function(){var a=this,f=this.dfsCode;if(this.verbose&&console.log(\"isMin checking\",f),f.dfsEdgeList.length===1)return!0;var h=this.directed,l=f.toGraph(N.VACANT_GRAPH_ID,h),s=l.nodeMap,m=new w,x={};l.nodes.forEach(function(j){a.findForwardRootEdges(l,j).forEach(function(L){var A=s[L.to],J=\"\".concat(j.label,\"-\").concat(L.label,\"-\").concat(A.label);x[J]||(x[J]={projected:[],nodeLabel1:j.label,edgeLabel:L.label,nodeLabel2:A.label});var q={graphId:l.id,edge:L,preNode:null};x[J].projected.push(q)})});var M=this.findMinLabel(x);if(M){m.dfsEdgeList.push(new C(0,1,M.nodeLabel1,M.edgeLabel,M.nodeLabel2));var E=\"\".concat(M.nodeLabel1,\"-\").concat(M.edgeLabel,\"-\").concat(M.nodeLabel2);return function j(L){for(var A=m.buildRmpath(),J=m.dfsEdgeList[0].nodeEdgeNodeLabel.nodeLabel1,q=m.dfsEdgeList[A[0]].toNode,re={},me=!1,Te=0,ee=h?-1:0,xe=function(ie){if(me)return\"break\";L.forEach(function(ae){var ve=new O(ae),X=a.findBackwardEdge(l,ve.edges[A[ie]],ve.edges[A[0]],ve);X&&(re[X.label]||(re[X.label]={projected:[],edgeLabel:X.label}),re[X.label].projected.push({graphId:l.id,edge:re,preNode:ae}),Te=m.dfsEdgeList[A[ie]].fromNode,me=!0)})},Ie=A.length-1;Ie>ee&&xe(Ie)!==\"break\";Ie--);if(me){var Le=a.findMinLabel(re);m.dfsEdgeList.push(new C(q,Te,N.VACANT_NODE_LABEL,Le.edgeLabel,N.VACANT_NODE_LABEL));var De=m.dfsEdgeList.length-1;return a.dfsCode.dfsEdgeList[De]===m.dfsEdgeList[De]&&j(re[Le.edgeLabel].projected)}var ce={};me=!1;var ye=0;L.forEach(function(ie){var ae=new O(ie),ve=a.findForwardPureEdges(l,ae.edges[A[0]],J,ae);ve.length>0&&(me=!0,ye=q,ve.forEach(function(X){var se=\"\".concat(X.label,\"-\").concat(s[X.to].label);ce[se]||(ce[se]={projected:[],edgeLabel:X.label,nodeLabel2:s[X.to].label}),ce[se].projected.push({graphId:l.id,edge:X,preNode:ie})}))});var Oe=A.length,Ce=function(ie){if(me)return\"break\";var ae=A[ie];L.forEach(function(ve){var X=new O(ve),se=a.findForwardRmpathEdges(l,X.edges[ae],J,X);se.length>0&&(me=!0,ye=m.dfsEdgeList[ae].fromNode,se.forEach(function(fe){var _e=\"\".concat(fe.label,\"-\").concat(s[fe.to].label);ce[_e]||(ce[_e]={projected:[],edgeLabel:fe.label,nodeLabel2:s[fe.to].label}),ce[_e].projected.push({graphId:l.id,edge:fe,preNode:ve})}))})};for(Ie=0;Ie<Oe&&Ce(Ie)!==\"break\";Ie++);if(!me)return!0;var oe=a.findMinLabel(ce);m.dfsEdgeList.push(new C(ye,q+1,N.VACANT_NODE_LABEL,oe.edgeLabel,oe.nodeLabel2));var he=m.dfsEdgeList.length-1;return f.dfsEdgeList[he]===m.dfsEdgeList[he]&&j(ce[\"\".concat(oe.edgeLabel,\"-\").concat(oe.nodeLabel2)].projected)}(x[E].projected)}},u.prototype.report=function(){if(!(this.dfsCode.getNodeNum()<this.minNodeNum)){this.counter++;var a=this.dfsCode.toGraph(this.counter,this.directed);this.frequentSubgraphs.push((0,y.clone)(a))}},u.prototype.subGraphMining=function(a){var f=this;if(!(this.getSupport(a)<this.minSupport)&&this.isMin()){this.report();var h=this.dfsCode.getNodeNum(),l=this.dfsCode.buildRmpath(),s=this.dfsCode.dfsEdgeList[l[0]].toNode,m=this.dfsCode.dfsEdgeList[0].nodeEdgeNodeLabel.nodeLabel1,x={},M={};a.forEach(function(E){for(var j=f.graphs[E.graphId],L=j.nodeMap,A=new O(E),J=l.length-1;J>=0;J--){var q=f.findBackwardEdge(j,A.edges[l[J]],A.edges[l[0]],A);if(q){var re=\"\".concat(f.dfsCode.dfsEdgeList[l[J]].fromNode,\"-\").concat(q.label);M[re]||(M[re]={projected:[],toNodeId:f.dfsCode.dfsEdgeList[l[J]].fromNode,edgeLabel:q.label}),M[re].projected.push({graphId:E.graphId,edge:q,preNode:E})}}if(!(h>=f.maxNodeNum)){f.findForwardPureEdges(j,A.edges[l[0]],m,A).forEach(function(Te){var ee=\"\".concat(s,\"-\").concat(Te.label,\"-\").concat(L[Te.to].label);x[ee]||(x[ee]={projected:[],fromNodeId:s,edgeLabel:Te.label,nodeLabel2:L[Te.to].label}),x[ee].projected.push({graphId:E.graphId,edge:Te,preNode:E})});var me=function(Te){f.findForwardRmpathEdges(j,A.edges[l[Te]],m,A).forEach(function(ee){var xe=\"\".concat(f.dfsCode.dfsEdgeList[l[Te]].fromNode,\"-\").concat(ee.label,\"-\").concat(L[ee.to].label);x[xe]||(x[xe]={projected:[],fromNodeId:f.dfsCode.dfsEdgeList[l[Te]].fromNode,edgeLabel:ee.label,nodeLabel2:L[ee.to].label}),x[xe].projected.push({graphId:E.graphId,edge:ee,preNode:E})})};for(J=0;J<l.length;J++)me(J)}}),Object.keys(M).forEach(function(E){var j=M[E],L=j.toNodeId,A=j.edgeLabel;f.dfsCode.dfsEdgeList.push(new C(s,L,\"-1\",A,\"-1\")),f.subGraphMining(M[E].projected),f.dfsCode.dfsEdgeList.pop()}),Object.keys(x).forEach(function(E){var j=x[E],L=j.fromNodeId,A=j.edgeLabel,J=j.nodeLabel2;f.dfsCode.dfsEdgeList.push(new C(L,s+1,N.VACANT_NODE_LABEL,A,J)),f.subGraphMining(x[E].projected),f.dfsCode.dfsEdgeList.pop()})}},u.prototype.generate1EdgeFrequentSubGraphs=function(){var a=this.graphs,f=this.directed,h=this.minSupport,l=this.frequentSize1Subgraphs,s={},m={},x={},M={};return Object.keys(a).forEach(function(E){var j=a[E],L=j.nodeMap;j.nodes.forEach(function(A,J){var q=A.label,re=\"\".concat(E,\"-\").concat(q);if(!x[re]){var me=s[q]||0;me++,s[q]=me}x[re]={graphKey:E,label:q},A.edges.forEach(function(Te){var ee=q,xe=L[Te.to].label;if(!f&&ee>xe){var Ie=xe;xe=ee,ee=Ie}var Le=Te.label,De=\"\".concat(E,\"-\").concat(ee,\"-\").concat(Le,\"-\").concat(xe),ce=\"\".concat(ee,\"-\").concat(Le,\"-\").concat(xe);if(!m[ce]){var ye=m[ce]||0;ye++,m[ce]=ye}M[De]={graphId:E,nodeLabel1:ee,edgeLabel:Le,nodeLabel2:xe}})})}),Object.keys(s).forEach(function(E){if(!(s[E]<h)){var j={nodes:[],edges:[]};j.nodes.push({id:\"0\",label:E}),l.push(j)}}),l},u.prototype.run=function(){var a=this;if(this.frequentSize1Subgraphs=this.generate1EdgeFrequentSubGraphs(),!(this.maxNodeNum<2)){var f=this.graphs,h=(this.directed,{});Object.keys(f).forEach(function(l){var s=f[l],m=s.nodeMap;s.nodes.forEach(function(x){a.findForwardRootEdges(s,x).forEach(function(M){var E=m[M.to],j=\"\".concat(x.label,\"-\").concat(M.label,\"-\").concat(E.label);h[j]||(h[j]={projected:[],nodeLabel1:x.label,edgeLabel:M.label,nodeLabel2:E.label});var L={graphId:l,edge:M,preNode:null};h[j].projected.push(L)})})}),Object.keys(h).forEach(function(l){var s=h[l],m=s.projected,x=s.nodeLabel1,M=s.edgeLabel,E=s.nodeLabel2;a.dfsCode.dfsEdgeList.push(new C(0,1,x,M,E)),a.subGraphMining(m),a.dfsCode.dfsEdgeList.pop()})}},u}(),p=function(u){var a=u.graphs,f=u.directed,h=f!==void 0&&f,l=u.nodeLabelProp,s=l===void 0?\"cluster\":l,m=u.edgeLabelProp,x=m===void 0?\"cluster\":m,M=function(re,me,Te,ee){var xe={};return Object.keys(re).forEach(function(Ie,Le){var De=re[Ie],ce=new N.Graph(Le,!0,me),ye={};De.nodes.forEach(function(Oe,Ce){ce.addNode(Ce,Oe[Te]),ye[Oe.id]=Ce}),De.edges.forEach(function(Oe,Ce){var oe=ye[Oe.source],he=ye[Oe.target];ce.addEdge(-1,oe,he,Oe[ee])}),ce&&ce.getNodeNum()&&(xe[ce.id]=ce)}),xe}(a,h,s,x),E=u.minSupport,j=u.maxNodeNum,L=u.minNodeNum,A=u.verbose,J=u.top,q=new b({graphs:M,minSupport:E,maxNodeNum:j,minNodeNum:L,top:J,verbose:A,directed:h});return q.run(),function(re,me,Te){var ee=[];return re.forEach(function(xe){var Ie={nodes:[],edges:[]};xe.nodes.forEach(function(Le){var De;Ie.nodes.push(((De={id:\"\".concat(Le.id)})[me]=Le.label,De))}),xe.edges.forEach(function(Le){var De;Ie.edges.push(((De={source:\"\".concat(Le.from),target:\"\".concat(Le.to)})[Te]=Le.label,De))}),ee.push(Ie)}),ee}(q.frequentSubgraphs,s,x)};c.default=p},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.VACANT_NODE_LABEL=c.VACANT_NODE_ID=c.VACANT_GRAPH_ID=c.VACANT_EDGE_LABEL=c.VACANT_EDGE_ID=c.Node=c.Graph=c.Edge=c.AUTO_EDGE_ID=void 0,c.VACANT_EDGE_ID=-1,c.VACANT_NODE_ID=-1,c.VACANT_EDGE_LABEL=\"-1\",c.VACANT_NODE_LABEL=\"-1\",c.VACANT_GRAPH_ID=-1,c.AUTO_EDGE_ID=\"-1\";var y=function(w,O,b,p){w===void 0&&(w=-1),O===void 0&&(O=-1),b===void 0&&(b=-1),p===void 0&&(p=\"-1\"),this.id=w,this.from=O,this.to=b,this.label=p};c.Edge=y;var N=function(){function w(O,b){O===void 0&&(O=-1),b===void 0&&(b=\"-1\"),this.id=O,this.label=b,this.edges=[],this.edgeMap={}}return w.prototype.addEdge=function(O){this.edges.push(O),this.edgeMap[O.id]=O},w}();c.Node=N;var C=function(){function w(O,b,p){O===void 0&&(O=-1),b===void 0&&(b=!0),p===void 0&&(p=!1),this.id=O,this.edgeIdAutoIncrease=b,this.edges=[],this.nodes=[],this.nodeMap={},this.edgeMap={},this.nodeLabelMap={},this.edgeLabelMap={},this.counter=0,this.directed=p}return w.prototype.getNodeNum=function(){return this.nodes.length},w.prototype.addNode=function(O,b){if(!this.nodeMap[O]){var p=new N(O,b);this.nodes.push(p),this.nodeMap[O]=p,this.nodeLabelMap[b]||(this.nodeLabelMap[b]=[]),this.nodeLabelMap[b].push(O)}},w.prototype.addEdge=function(O,b,p,u){if((this.edgeIdAutoIncrease||O===void 0)&&(O=this.counter++),!(this.nodeMap[b]&&this.nodeMap[p]&&this.nodeMap[p].edgeMap[O])){var a=new y(O,b,p,u);if(this.edges.push(a),this.edgeMap[O]=a,this.nodeMap[b].addEdge(a),this.edgeLabelMap[u]||(this.edgeLabelMap[u]=[]),this.edgeLabelMap[u].push(a),!this.directed){var f=new y(O,p,b,u);this.nodeMap[p].addEdge(f),this.edgeLabelMap[u].push(f)}}},w}();c.Graph=C},function(Ee,c,r){var y=r(145),N=r(146),C=Object.hasOwnProperty,w=Object.create(null);for(var O in y)C.call(y,O)&&(w[y[O]]=O);var b=Ee.exports={to:{},get:{}};function p(a,f,h){return Math.min(Math.max(f,a),h)}function u(a){var f=Math.round(a).toString(16).toUpperCase();return f.length<2?\"0\"+f:f}b.get=function(a){var f,h;switch(a.substring(0,3).toLowerCase()){case\"hsl\":f=b.get.hsl(a),h=\"hsl\";break;case\"hwb\":f=b.get.hwb(a),h=\"hwb\";break;default:f=b.get.rgb(a),h=\"rgb\"}return f?{model:h,value:f}:null},b.get.rgb=function(a){if(!a)return null;var f,h,l,s=[0,0,0,1];if(f=a.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(l=f[2],f=f[1],h=0;h<3;h++){var m=2*h;s[h]=parseInt(f.slice(m,m+2),16)}l&&(s[3]=parseInt(l,16)/255)}else if(f=a.match(/^#([a-f0-9]{3,4})$/i)){for(l=(f=f[1])[3],h=0;h<3;h++)s[h]=parseInt(f[h]+f[h],16);l&&(s[3]=parseInt(l+l,16)/255)}else if(f=a.match(/^rgba?\\(\\s*([+-]?\\d+)(?=[\\s,])\\s*(?:,\\s*)?([+-]?\\d+)(?=[\\s,])\\s*(?:,\\s*)?([+-]?\\d+)\\s*(?:[,|\\/]\\s*([+-]?[\\d\\.]+)(%?)\\s*)?\\)$/)){for(h=0;h<3;h++)s[h]=parseInt(f[h+1],0);f[4]&&(f[5]?s[3]=.01*parseFloat(f[4]):s[3]=parseFloat(f[4]))}else{if(!(f=a.match(/^rgba?\\(\\s*([+-]?[\\d\\.]+)\\%\\s*,?\\s*([+-]?[\\d\\.]+)\\%\\s*,?\\s*([+-]?[\\d\\.]+)\\%\\s*(?:[,|\\/]\\s*([+-]?[\\d\\.]+)(%?)\\s*)?\\)$/)))return(f=a.match(/^(\\w+)$/))?f[1]===\"transparent\"?[0,0,0,0]:C.call(y,f[1])?((s=y[f[1]])[3]=1,s):null:null;for(h=0;h<3;h++)s[h]=Math.round(2.55*parseFloat(f[h+1]));f[4]&&(f[5]?s[3]=.01*parseFloat(f[4]):s[3]=parseFloat(f[4]))}for(h=0;h<3;h++)s[h]=p(s[h],0,255);return s[3]=p(s[3],0,1),s},b.get.hsl=function(a){if(!a)return null;var f=a.match(/^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*)?\\)$/);if(f){var h=parseFloat(f[4]);return[(parseFloat(f[1])%360+360)%360,p(parseFloat(f[2]),0,100),p(parseFloat(f[3]),0,100),p(isNaN(h)?1:h,0,1)]}return null},b.get.hwb=function(a){if(!a)return null;var f=a.match(/^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*)?\\)$/);if(f){var h=parseFloat(f[4]);return[(parseFloat(f[1])%360+360)%360,p(parseFloat(f[2]),0,100),p(parseFloat(f[3]),0,100),p(isNaN(h)?1:h,0,1)]}return null},b.to.hex=function(){var a=N(arguments);return\"#\"+u(a[0])+u(a[1])+u(a[2])+(a[3]<1?u(Math.round(255*a[3])):\"\")},b.to.rgb=function(){var a=N(arguments);return a.length<4||a[3]===1?\"rgb(\"+Math.round(a[0])+\", \"+Math.round(a[1])+\", \"+Math.round(a[2])+\")\":\"rgba(\"+Math.round(a[0])+\", \"+Math.round(a[1])+\", \"+Math.round(a[2])+\", \"+a[3]+\")\"},b.to.rgb.percent=function(){var a=N(arguments),f=Math.round(a[0]/255*100),h=Math.round(a[1]/255*100),l=Math.round(a[2]/255*100);return a.length<4||a[3]===1?\"rgb(\"+f+\"%, \"+h+\"%, \"+l+\"%)\":\"rgba(\"+f+\"%, \"+h+\"%, \"+l+\"%, \"+a[3]+\")\"},b.to.hsl=function(){var a=N(arguments);return a.length<4||a[3]===1?\"hsl(\"+a[0]+\", \"+a[1]+\"%, \"+a[2]+\"%)\":\"hsla(\"+a[0]+\", \"+a[1]+\"%, \"+a[2]+\"%, \"+a[3]+\")\"},b.to.hwb=function(){var a=N(arguments),f=\"\";return a.length>=4&&a[3]!==1&&(f=\", \"+a[3]),\"hwb(\"+a[0]+\", \"+a[1]+\"%, \"+a[2]+\"%\"+f+\")\"},b.to.keyword=function(a){return w[a.slice(0,3)]}},function(Ee,c,r){\"use strict\";Ee.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]}},function(Ee,c,r){\"use strict\";var y=r(147),N=Array.prototype.concat,C=Array.prototype.slice,w=Ee.exports=function(O){for(var b=[],p=0,u=O.length;p<u;p++){var a=O[p];y(a)?b=N.call(b,C.call(a)):b.push(a)}return b};w.wrap=function(O){return function(){return O(w(arguments))}}},function(Ee,c){Ee.exports=function(r){return!(!r||typeof r==\"string\")&&(r instanceof Array||Array.isArray(r)||r.length>=0&&(r.splice instanceof Function||Object.getOwnPropertyDescriptor(r,r.length-1)&&r.constructor.name!==\"String\"))}},function(Ee,c,r){function y(O){return(y=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(b){return typeof b}:function(b){return b&&typeof Symbol==\"function\"&&b.constructor===Symbol&&b!==Symbol.prototype?\"symbol\":typeof b})(O)}var N=r(78),C=r(150),w={};Object.keys(N).forEach(function(O){w[O]={},Object.defineProperty(w[O],\"channels\",{value:N[O].channels}),Object.defineProperty(w[O],\"labels\",{value:N[O].labels});var b=C(O);Object.keys(b).forEach(function(p){var u=b[p];w[O][p]=function(a){var f=function(h){if(h==null)return h;arguments.length>1&&(h=Array.prototype.slice.call(arguments));var l=a(h);if(y(l)===\"object\")for(var s=l.length,m=0;m<s;m++)l[m]=Math.round(l[m]);return l};return\"conversion\"in a&&(f.conversion=a.conversion),f}(u),w[O][p].raw=function(a){var f=function(h){return h==null?h:(arguments.length>1&&(h=Array.prototype.slice.call(arguments)),a(h))};return\"conversion\"in a&&(f.conversion=a.conversion),f}(u)})}),Ee.exports=w},function(Ee,c,r){\"use strict\";Ee.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]}},function(Ee,c,r){var y=r(78);function N(O){var b=function(){for(var m={},x=Object.keys(y),M=x.length,E=0;E<M;E++)m[x[E]]={distance:-1,parent:null};return m}(),p=[O];for(b[O].distance=0;p.length;)for(var u=p.pop(),a=Object.keys(y[u]),f=a.length,h=0;h<f;h++){var l=a[h],s=b[l];s.distance===-1&&(s.distance=b[u].distance+1,s.parent=u,p.unshift(l))}return b}function C(O,b){return function(p){return b(O(p))}}function w(O,b){for(var p=[b[O].parent,O],u=y[b[O].parent][O],a=b[O].parent;b[a].parent;)p.unshift(b[a].parent),u=C(y[b[a].parent][a],u),a=b[a].parent;return u.conversion=p,u}Ee.exports=function(O){for(var b=N(O),p={},u=Object.keys(b),a=u.length,f=0;f<a;f++){var h=u[f];b[h].parent!==null&&(p[h]=w(h,b))}return p}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.camelize=c.isString=void 0,c.isString=function(w){return typeof w==\"string\"};var y,N,C=/-(\\w)/g;c.camelize=(y=function(w){return w.replace(C,function(O,b){return b?b.toUpperCase():\"\"})},N=Object.create(null),function(w){return N[w]||(N[w]=y(w))})},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.getFuncByUnknownType=c.getFunc=c.isFunction=void 0;var y=r(15),N=r(59);c.isFunction=function(C){return typeof C==\"function\"},c.getFunc=function(C,w,O){return O||((0,N.isNumber)(C)?function(){return C}:function(){return w})},c.getFuncByUnknownType=function(C,w,O){return O===void 0&&(O=!0),w||w===0?(0,c.isFunction)(w)?w:(0,N.isNumber)(w)?function(){return w}:(0,y.isArray)(w)?function(){if(O){var b=Math.max.apply(Math,w);return isNaN(b)?C:b}return w}:(0,y.isObject)(w)?function(){if(O){var b=Math.max(w.width,w.height);return isNaN(b)?C:b}return[w.width,w.height]}:function(){return C}:function(b){return b.size?(0,y.isArray)(b.size)?b.size[0]>b.size[1]?b.size[0]:b.size[1]:(0,y.isObject)(b.size)?b.size.width>b.size.height?b.size.width:b.size.height:b.size:C}}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.forceNBody=void 0;var y=r(61);function N(C){var w=0,O=0,b=0;if(C.length){for(var p=0;p<4;p++)(u=C[p])&&u.weight&&(w+=u.weight,O+=u.x*u.weight,b+=u.y*u.weight);C.x=O/w,C.y=b/w,C.weight=w}else{var u=C;C.x=u.data.x,C.y=u.data.y,C.weight=u.data.weight}}c.forceNBody=function(C,w,O,b,p){var u=O/b,a=C.map(function(h,l){var s=w[h.id],m=s.data,x=s.x,M=s.y,E=s.size,j=m.layout.force.nodeStrength;return{x,y:M,size:E,index:l,vx:0,vy:0,weight:u*j}}),f=(0,y.quadtree)(a,function(h){return h.x},function(h){return h.y}).visitAfter(N);return a.forEach(function(h){(function(l,s){s.visit(function(m,x,M,E,j){return function(L,A,J,q,re,me){var Te=me.x-L.x||.1,ee=me.y-L.y||.1,xe=q-A,Ie=Te*Te+ee*ee,Le=Math.sqrt(Ie)*Ie;if(xe*xe*.81<Ie){var De=L.weight/Le;return me.vx+=Te*De,me.vy+=ee*De,!0}if(L.length)return!1;L.data!==me&&(De=L.data.weight/Le,me.vx+=Te*De,me.vy+=ee*De)}(m,x,0,E,0,l)})})(h,f)}),a.map(function(h,l){var s=w[C[l].id].data.layout.force.mass,m=s===void 0?1:s;p[2*l]=h.vx/m,p[2*l+1]=h.vy/m}),p}},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(m,x){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(M,E){M.__proto__=E}||function(M,E){for(var j in E)Object.prototype.hasOwnProperty.call(E,j)&&(M[j]=E[j])})(m,x)},function(m,x){if(typeof x!=\"function\"&&x!==null)throw new TypeError(\"Class extends value \"+String(x)+\" is not a constructor or null\");function M(){this.constructor=m}y(m,x),m.prototype=x===null?Object.create(x):(M.prototype=x.prototype,new M)}),C=this&&this.__createBinding||(Object.create?function(m,x,M,E){E===void 0&&(E=M);var j=Object.getOwnPropertyDescriptor(x,M);j&&!(\"get\"in j?!x.__esModule:j.writable||j.configurable)||(j={enumerable:!0,get:function(){return x[M]}}),Object.defineProperty(m,E,j)}:function(m,x,M,E){E===void 0&&(E=M),m[E]=x[M]}),w=this&&this.__setModuleDefault||(Object.create?function(m,x){Object.defineProperty(m,\"default\",{enumerable:!0,value:x})}:function(m,x){m.default=x}),O=this&&this.__importStar||function(m){if(m&&m.__esModule)return m;var x={};if(m!=null)for(var M in m)M!==\"default\"&&Object.prototype.hasOwnProperty.call(m,M)&&C(x,m,M);return w(x,m),x},b=this&&this.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(c,\"__esModule\",{value:!0}),c.ForceLayout=void 0;var p=O(r(66)),u=b(r(155)),a=r(15),f=r(18),h=r(46),l=function(m){function x(M){var E=m.call(this)||this;return E.center=[0,0],E.nodeStrength=null,E.edgeStrength=null,E.preventOverlap=!1,E.clusterNodeStrength=null,E.clusterEdgeStrength=null,E.clusterEdgeDistance=null,E.clusterNodeSize=null,E.clusterFociStrength=null,E.linkDistance=50,E.alphaDecay=.028,E.alphaMin=.001,E.alpha=.3,E.collideStrength=1,E.workerEnabled=!1,E.tick=function(){},E.onLayoutEnd=function(){},E.ticking=void 0,M&&E.updateCfg(M),E}return N(x,m),x.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}},x.prototype.init=function(M){this.nodes=M.nodes||[];var E=M.edges||[];this.edges=E.map(function(j){var L={},A=[\"targetNode\",\"sourceNode\",\"startPoint\",\"endPoint\"];return Object.keys(j).forEach(function(J){A.indexOf(J)>-1||(L[J]=j[J])}),L}),this.ticking=!1},x.prototype.execute=function(M){var E=this,j=E.nodes,L=E.edges;if(!E.ticking){var A=E.forceSimulation,J=E.alphaMin,q=E.alphaDecay,re=E.alpha;if(A)M&&(E.clustering&&E.clusterForce&&(E.clusterForce.nodes(j),E.clusterForce.links(L)),A.nodes(j),L&&E.edgeForce?E.edgeForce.links(L):L&&!E.edgeForce&&(ee=p.forceLink().id(function(Le){return Le.id}).links(L),E.edgeStrength&&ee.strength(E.edgeStrength),E.linkDistance&&ee.distance(E.linkDistance),E.edgeForce=ee,A.force(\"link\",ee))),E.preventOverlap&&E.overlapProcess(A),A.alpha(re).restart(),this.ticking=!0;else try{var me=p.forceManyBody();if(E.nodeStrength&&me.strength(E.nodeStrength),A=p.forceSimulation().nodes(j),E.clustering){var Te=(0,u.default)();Te.centerX(E.center[0]).centerY(E.center[1]).template(\"force\").strength(E.clusterFociStrength),L&&Te.links(L),j&&Te.nodes(j),Te.forceLinkDistance(E.clusterEdgeDistance).forceLinkStrength(E.clusterEdgeStrength).forceCharge(E.clusterNodeStrength).forceNodeSize(E.clusterNodeSize),E.clusterForce=Te,A.force(\"group\",Te)}if(A.force(\"center\",p.forceCenter(E.center[0],E.center[1])).force(\"charge\",me).alpha(re).alphaDecay(q).alphaMin(J),E.preventOverlap&&E.overlapProcess(A),L){var ee=p.forceLink().id(function(Le){return Le.id}).links(L);E.edgeStrength&&ee.strength(E.edgeStrength),E.linkDistance&&ee.distance(E.linkDistance),E.edgeForce=ee,A.force(\"link\",ee)}if(E.workerEnabled&&!s()&&(E.workerEnabled=!1,console.warn(\"workerEnabled option is only supported when running in web worker.\")),E.workerEnabled){A.stop();for(var xe=function(Le){var De=Le.alphaMin(),ce=Le.alphaTarget(),ye=Le.alpha(),Oe=Math.log((De-ce)/(ye-ce))/Math.log(1-Le.alphaDecay());return Math.ceil(Oe)}(A),Ie=1;Ie<=xe;Ie++)A.tick(),postMessage({nodes:j,currentTick:Ie,totalTicks:xe,type:h.LAYOUT_MESSAGE.TICK},void 0);E.ticking=!1}else A.on(\"tick\",function(){E.tick()}).on(\"end\",function(){E.ticking=!1,E.onLayoutEnd&&E.onLayoutEnd()}),E.ticking=!0;E.forceSimulation=A,E.ticking=!0}catch(Le){E.ticking=!1,console.warn(Le)}}},x.prototype.overlapProcess=function(M){var E,j,L=this.nodeSize,A=this.nodeSpacing,J=this.collideStrength;if(j=(0,a.isNumber)(A)?function(){return A}:(0,a.isFunction)(A)?A:function(){return 0},L)if((0,a.isFunction)(L))E=function(me){return L(me)+j(me)};else if((0,a.isArray)(L)){var q=(L[0]>L[1]?L[0]:L[1])/2;E=function(me){return q+j(me)}}else if((0,a.isNumber)(L)){var re=L/2;E=function(me){return re+j(me)}}else E=function(){return 10};else E=function(me){return me.size?(0,a.isArray)(me.size)?(me.size[0]>me.size[1]?me.size[0]:me.size[1])/2+j(me):(0,a.isObject)(me.size)?(me.size.width>me.size.height?me.size.width:me.size.height)/2+j(me):me.size/2+j(me):10+j(me)};M.force(\"collisionForce\",p.forceCollide(E).strength(J))},x.prototype.updateCfg=function(M){this.ticking&&(this.forceSimulation.stop(),this.ticking=!1),this.forceSimulation=null,Object.assign(this,M)},x.prototype.destroy=function(){this.ticking&&(this.forceSimulation.stop(),this.ticking=!1),this.nodes=null,this.edges=null,this.destroyed=!0},x}(f.Base);function s(){return typeof WorkerGlobalScope!=\"undefined\"&&self instanceof WorkerGlobalScope}c.ForceLayout=l},function(Ee,c,r){\"use strict\";var y=this&&this.__createBinding||(Object.create?function(b,p,u,a){a===void 0&&(a=u);var f=Object.getOwnPropertyDescriptor(p,u);f&&!(\"get\"in f?!p.__esModule:f.writable||f.configurable)||(f={enumerable:!0,get:function(){return p[u]}}),Object.defineProperty(b,a,f)}:function(b,p,u,a){a===void 0&&(a=u),b[a]=p[u]}),N=this&&this.__setModuleDefault||(Object.create?function(b,p){Object.defineProperty(b,\"default\",{enumerable:!0,value:p})}:function(b,p){b.default=p}),C=this&&this.__importStar||function(b){if(b&&b.__esModule)return b;var p={};if(b!=null)for(var u in b)u!==\"default\"&&Object.prototype.hasOwnProperty.call(b,u)&&y(p,b,u);return N(p,b),p};Object.defineProperty(c,\"__esModule\",{value:!0});var w=C(r(66)),O=r(15);c.default=function(){function b(Ie){return function(){return Ie}}var p,u=function(Ie){return Ie.cluster},a=b(1),f=b(-1),h=b(100),l=b(.1),s=[0,0],m=[],x={},M=[],E=100,j=100,L={none:{x:0,y:0}},A=[],J=\"force\",q=!0,re=.1;function me(Ie){if(!q)return me;p.tick(),ee();for(var Le=0,De=m.length,ce=void 0,ye=Ie*re;Le<De;++Le)(ce=m[Le]).vx+=(L[u(ce)].x-ce.x)*ye,ce.vy+=(L[u(ce)].y-ce.y)*ye}function Te(){m&&function(){if(!(!m||!m.length)){if(u(m[0])===void 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 Ie=(De=[],ce=[],ye={},Oe=[],Le=function(Ce){var oe={};return Ce.forEach(function(he){var ie=u(he);oe[ie]||(oe[ie]={count:0,sumforceNodeSize:0})}),Ce.forEach(function(he){var ie=u(he),ae=a(he),ve=oe[ie];ve.count=ve.count+1,ve.sumforceNodeSize=ve.sumforceNodeSize+Math.PI*(ae*ae)*1.3,oe[ie]=ve}),oe}(m),Oe=function(Ce){var oe={},he=[];return Ce.forEach(function(ie){var ae=function(X){var se=(0,O.getEdgeTerminal)(X,\"source\"),fe=(0,O.getEdgeTerminal)(X,\"target\"),_e=u(x[se]),be=u(x[fe]);return _e<=be?\"\".concat(_e,\"~\").concat(be):\"\".concat(be,\"~\").concat(_e)}(ie),ve=0;oe[ae]!==void 0&&(ve=oe[ae]),ve+=1,oe[ae]=ve}),Object.entries(oe).forEach(function(ie){var ae=ie[0],ve=ie[1],X=ae.split(\"~\")[0],se=ae.split(\"~\")[1];X!==void 0&&se!==void 0&&he.push({source:X,target:se,count:ve})}),he}(M),Object.keys(Le).forEach(function(Ce,oe){var he=Le[Ce];De.push({id:Ce,size:he.count,r:Math.sqrt(he.sumforceNodeSize/Math.PI)}),ye[Ce]=oe}),Oe.forEach(function(Ce){var oe=(0,O.getEdgeTerminal)(Ce,\"source\"),he=(0,O.getEdgeTerminal)(Ce,\"target\"),ie=ye[oe],ae=ye[he];ie!==void 0&&ae!==void 0&&ce.push({source:ie,target:ae,count:Ce.count})}),{nodes:De,links:ce}),Le,De,ce,ye,Oe;p=w.forceSimulation(Ie.nodes).force(\"x\",w.forceX(E).strength(.1)).force(\"y\",w.forceY(j).strength(.1)).force(\"collide\",w.forceCollide(function(Ce){return Ce.r}).iterations(4)).force(\"charge\",w.forceManyBody().strength(f)).force(\"links\",w.forceLink(Ie.nodes.length?Ie.links:[]).distance(h).strength(l)),A=p.nodes(),ee()}}()}function ee(){return L={none:{x:0,y:0}},A.forEach(function(Ie){L[Ie.id]={x:Ie.x-s[0],y:Ie.y-s[1]}}),L}function xe(Ie){x={},Ie.forEach(function(Le){x[Le.id]=Le})}return me.initialize=function(Ie){m=Ie,Te()},me.template=function(Ie){return arguments.length?(J=Ie,Te(),me):J},me.groupBy=function(Ie){return arguments.length?typeof Ie==\"string\"?(u=function(Le){return Le[Ie]},me):(u=Ie,me):u},me.enableGrouping=function(Ie){return arguments.length?(q=Ie,me):q},me.strength=function(Ie){return arguments.length?(re=Ie,me):re},me.centerX=function(Ie){return arguments.length?(E=Ie,me):E},me.centerY=function(Ie){return arguments.length?(j=Ie,me):j},me.nodes=function(Ie){return arguments.length?(xe(Ie||[]),m=Ie||[],me):m},me.links=function(Ie){return arguments.length?(M=Ie||[],Te(),me):M},me.forceNodeSize=function(Ie){return arguments.length?(a=typeof Ie==\"function\"?Ie:b(+Ie),Te(),me):a},me.nodeSize=me.forceNodeSize,me.forceCharge=function(Ie){return arguments.length?(f=typeof Ie==\"function\"?Ie:b(+Ie),Te(),me):f},me.forceLinkDistance=function(Ie){return arguments.length?(h=typeof Ie==\"function\"?Ie:b(+Ie),Te(),me):h},me.forceLinkStrength=function(Ie){return arguments.length?(l=typeof Ie==\"function\"?Ie:b(+Ie),Te(),me):l},me.offset=function(Ie){return arguments.length?(s=Ie,me):s},me.getFocis=ee,me}},function(Ee,c,r){\"use strict\";var y=this&&this.__importDefault||function(w){return w&&w.__esModule?w:{default:w}};Object.defineProperty(c,\"__esModule\",{value:!0});var N=y(r(157)),C=r(26);c.default={layout:N.default,util:{time:C.time,notime:C.notime}}},function(Ee,c,r){\"use strict\";var y=this&&this.__assign||function(){return(y=Object.assign||function(se){for(var fe,_e=1,be=arguments.length;_e<be;_e++)for(var We in fe=arguments[_e])Object.prototype.hasOwnProperty.call(fe,We)&&(se[We]=fe[We]);return se}).apply(this,arguments)},N=this&&this.__importDefault||function(se){return se&&se.__esModule?se:{default:se}};Object.defineProperty(c,\"__esModule\",{value:!0});var C=N(r(158)),w=N(r(161)),O=N(r(162)),b=r(26),p=N(r(164)),u=N(r(165)),a=N(r(166)),f=N(r(167)),h=N(r(168)),l=N(r(177)),s=N(r(179)),m=r(35),x=function(se,fe,_e){fe(\"    removeSelfEdges\",function(){he(se)}),fe(\"    acyclic\",function(){C.default.run(se)}),fe(\"    nestingGraph.run\",function(){u.default.run(se)}),fe(\"    rank\",function(){(0,O.default)((0,b.asNonCompoundGraph)(se))}),fe(\"    injectEdgeLabelProxies\",function(){Ie(se)}),fe(\"    removeEmptyRanks\",function(){(0,b.removeEmptyRanks)(se)}),fe(\"    nestingGraph.cleanup\",function(){u.default.cleanup(se)}),fe(\"    normalizeRanks\",function(){(0,b.normalizeRanks)(se)}),fe(\"    assignRankMinMax\",function(){Le(se)}),fe(\"    removeEdgeLabelProxies\",function(){De(se)}),fe(\"    normalize.run\",function(){w.default.run(se)}),fe(\"    parentDummyChains\",function(){(0,p.default)(se)}),fe(\"    addBorderSegments\",function(){(0,a.default)(se)}),_e&&_e.keepNodeOrder&&fe(\"    initDataOrder\",function(){(0,s.default)(se,_e.nodeOrder)}),fe(\"    order\",function(){(0,h.default)(se,_e==null?void 0:_e.keepNodeOrder)}),fe(\"    insertSelfEdges\",function(){ie(se)}),fe(\"    adjustCoordinateSystem\",function(){f.default.adjust(se)}),fe(\"    position\",function(){(0,l.default)(se)}),fe(\"    positionSelfEdges\",function(){ae(se)}),fe(\"    removeBorderNodes\",function(){oe(se)}),fe(\"    normalize.undo\",function(){w.default.undo(se)}),fe(\"    fixupEdgeLabelCoords\",function(){Oe(se)}),fe(\"    undoCoordinateSystem\",function(){f.default.undo(se)}),fe(\"    translateGraph\",function(){ce(se)}),fe(\"    assignNodeIntersects\",function(){ye(se)}),fe(\"    reversePoints\",function(){Ce(se)}),fe(\"    acyclic.undo\",function(){C.default.undo(se)})},M=function(se,fe){se.nodes().forEach(function(_e){var be=se.node(_e),We=fe.node(_e);We!==void 0?(be.fixorder=We._order,delete We._order):delete be.fixorder})},E=function(se,fe){se.nodes().forEach(function(_e){var be,We=se.node(_e);if(We){var we=fe.node(_e);We.x=we.x,We.y=we.y,We._order=we.order,We._rank=we.rank,!((be=fe.children(_e))===null||be===void 0)&&be.length&&(We.width=we.width,We.height=we.height)}}),se.edges().forEach(function(_e){var be=se.edge(_e),We=fe.edge(_e);be.points=We?We.points:[],We&&We.hasOwnProperty(\"x\")&&(be.x=We.x,be.y=We.y)}),se.graph().width=fe.graph().width,se.graph().height=fe.graph().height},j=[\"nodesep\",\"edgesep\",\"ranksep\",\"marginx\",\"marginy\"],L={ranksep:50,edgesep:20,nodesep:50,rankdir:\"tb\"},A=[\"acyclicer\",\"ranker\",\"rankdir\",\"align\"],J=[\"width\",\"height\",\"layer\",\"fixorder\"],q={width:0,height:0},re=[\"minlen\",\"weight\",\"width\",\"height\",\"labeloffset\"],me={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:\"r\"},Te=[\"labelpos\"],ee=function(se){var fe=new m.Graph({multigraph:!0,compound:!0}),_e=X(se.graph()),be={};return A==null||A.forEach(function(We){_e[We]!==void 0&&(be[We]=_e[We])}),fe.setGraph(Object.assign({},L,ve(_e,j),be)),se.nodes().forEach(function(We){var we=X(se.node(We)),Ze=y(y({},q),we),Ve=ve(Ze,J);fe.setNode(We,Ve),fe.setParent(We,se.parent(We))}),se.edges().forEach(function(We){var we=X(se.edge(We)),Ze={};Te==null||Te.forEach(function(Ve){we[Ve]!==void 0&&(Ze[Ve]=we[Ve])}),fe.setEdgeObj(We,Object.assign({},me,ve(we,re),Ze))}),fe},xe=function(se){var fe=se.graph();fe.ranksep||(fe.ranksep=0),fe.ranksep/=2,se.nodes().forEach(function(_e){var be=se.node(_e);isNaN(be.layer)||be.layer||(be.layer=0)}),se.edges().forEach(function(_e){var be,We=se.edge(_e);We.minlen*=2,((be=We.labelpos)===null||be===void 0?void 0:be.toLowerCase())!==\"c\"&&(fe.rankdir===\"TB\"||fe.rankdir===\"BT\"?We.width+=We.labeloffset:We.height+=We.labeloffset)})},Ie=function(se){se.edges().forEach(function(fe){var _e=se.edge(fe);if(_e.width&&_e.height){var be=se.node(fe.v),We={e:fe,rank:(se.node(fe.w).rank-be.rank)/2+be.rank};(0,b.addDummyNode)(se,\"edge-proxy\",We,\"_ep\")}})},Le=function(se){var fe=0;se.nodes().forEach(function(_e){var be,We,we=se.node(_e);we.borderTop&&(we.minRank=(be=se.node(we.borderTop))===null||be===void 0?void 0:be.rank,we.maxRank=(We=se.node(we.borderBottom))===null||We===void 0?void 0:We.rank,fe=Math.max(fe,we.maxRank||-1/0))}),se.graph().maxRank=fe},De=function(se){se.nodes().forEach(function(fe){var _e=se.node(fe);_e.dummy===\"edge-proxy\"&&(se.edge(_e.e).labelRank=_e.rank,se.removeNode(fe))})},ce=function(se){var fe,_e,be=0,We=0,we=se.graph(),Ze=we.marginx||0,Ve=we.marginy||0,et=function(ht){if(ht){var Fe=ht.x,mt=ht.y,dt=ht.width,Lt=ht.height;isNaN(Fe)||isNaN(dt)||(fe===void 0&&(fe=Fe-dt/2),fe=Math.min(fe,Fe-dt/2),be=Math.max(be,Fe+dt/2)),isNaN(mt)||isNaN(Lt)||(_e===void 0&&(_e=mt-Lt/2),_e=Math.min(_e,mt-Lt/2),We=Math.max(We,mt+Lt/2))}};se.nodes().forEach(function(ht){et(se.node(ht))}),se.edges().forEach(function(ht){var Fe=se.edge(ht);Fe!=null&&Fe.hasOwnProperty(\"x\")&&et(Fe)}),fe-=Ze,_e-=Ve,se.nodes().forEach(function(ht){var Fe=se.node(ht);Fe&&(Fe.x-=fe,Fe.y-=_e)}),se.edges().forEach(function(ht){var Fe,mt=se.edge(ht);(Fe=mt.points)===null||Fe===void 0||Fe.forEach(function(dt){dt.x-=fe,dt.y-=_e}),mt.hasOwnProperty(\"x\")&&(mt.x-=fe),mt.hasOwnProperty(\"y\")&&(mt.y-=_e)}),we.width=be-fe+Ze,we.height=We-_e+Ve},ye=function(se){se.edges().forEach(function(fe){var _e,be,We=se.edge(fe),we=se.node(fe.v),Ze=se.node(fe.w);We.points?(_e=We.points[0],be=We.points[We.points.length-1]):(We.points=[],_e=Ze,be=we),We.points.unshift((0,b.intersectRect)(we,_e)),We.points.push((0,b.intersectRect)(Ze,be))})},Oe=function(se){se.edges().forEach(function(fe){var _e=se.edge(fe);if(_e!=null&&_e.hasOwnProperty(\"x\"))switch(_e.labelpos!==\"l\"&&_e.labelpos!==\"r\"||(_e.width-=_e.labeloffset),_e.labelpos){case\"l\":_e.x-=_e.width/2+_e.labeloffset;break;case\"r\":_e.x+=_e.width/2+_e.labeloffset}})},Ce=function(se){se.edges().forEach(function(fe){var _e,be=se.edge(fe);be.reversed&&((_e=be.points)===null||_e===void 0||_e.reverse())})},oe=function(se){se.nodes().forEach(function(fe){var _e,be,We;if(!((_e=se.children(fe))===null||_e===void 0)&&_e.length){var we=se.node(fe),Ze=se.node(we.borderTop),Ve=se.node(we.borderBottom),et=se.node(we.borderLeft[((be=we.borderLeft)===null||be===void 0?void 0:be.length)-1]),ht=se.node(we.borderRight[((We=we.borderRight)===null||We===void 0?void 0:We.length)-1]);we.width=Math.abs((ht==null?void 0:ht.x)-(et==null?void 0:et.x))||10,we.height=Math.abs((Ve==null?void 0:Ve.y)-(Ze==null?void 0:Ze.y))||10,we.x=((et==null?void 0:et.x)||0)+we.width/2,we.y=((Ze==null?void 0:Ze.y)||0)+we.height/2}}),se.nodes().forEach(function(fe){var _e;((_e=se.node(fe))===null||_e===void 0?void 0:_e.dummy)===\"border\"&&se.removeNode(fe)})},he=function(se){se.edges().forEach(function(fe){if(fe.v===fe.w){var _e=se.node(fe.v);_e.selfEdges||(_e.selfEdges=[]),_e.selfEdges.push({e:fe,label:se.edge(fe)}),se.removeEdgeObj(fe)}})},ie=function(se){var fe=(0,b.buildLayerMatrix)(se);fe==null||fe.forEach(function(_e){var be=0;_e==null||_e.forEach(function(We,we){var Ze,Ve=se.node(We);Ve.order=we+be,(Ze=Ve.selfEdges)===null||Ze===void 0||Ze.forEach(function(et){(0,b.addDummyNode)(se,\"selfedge\",{width:et.label.width,height:et.label.height,rank:Ve.rank,order:we+ ++be,e:et.e,label:et.label},\"_se\")}),delete Ve.selfEdges})})},ae=function(se){se.nodes().forEach(function(fe){var _e=se.node(fe);if(_e.dummy===\"selfedge\"){var be=se.node(_e.e.v),We=be.x+be.width/2,we=be.y,Ze=_e.x-We,Ve=be.height/2;se.setEdgeObj(_e.e,_e.label),se.removeNode(fe),_e.label.points=[{x:We+2*Ze/3,y:we-Ve},{x:We+5*Ze/6,y:we-Ve},{y:we,x:We+Ze},{x:We+5*Ze/6,y:we+Ve},{x:We+2*Ze/3,y:we+Ve}],_e.label.x=_e.x,_e.label.y=_e.y}})},ve=function(se,fe){var _e={};return fe==null||fe.forEach(function(be){se[be]!==void 0&&(_e[be]=+se[be])}),_e},X=function(se){se===void 0&&(se={});var fe={};return Object.keys(se).forEach(function(_e){fe[_e.toLowerCase()]=se[_e]}),fe};c.default=function(se,fe){var _e=fe&&fe.debugTiming?b.time:b.notime;_e(\"layout\",function(){fe&&!fe.keepNodeOrder&&fe.prevGraph&&_e(\"  inheritOrder\",function(){M(se,fe.prevGraph)});var be=_e(\"  buildLayoutGraph\",function(){return ee(se)});fe&&fe.edgeLabelSpace===!1||_e(\"  makeSpaceForEdgeLabels\",function(){xe(be)});try{_e(\"  runLayout\",function(){x(be,_e,fe)})}catch(We){if(We.message===\"Not possible to find intersection inside of the rectangle\")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`,We);throw We}_e(\"  updateInputGraph\",function(){E(se,be)})})}},function(Ee,c,r){\"use strict\";var y=this&&this.__importDefault||function(w){return w&&w.__esModule?w:{default:w}};Object.defineProperty(c,\"__esModule\",{value:!0});var N=y(r(159)),C=function(w){var O=[],b={},p={};return w.nodes().forEach(function u(a){var f;p[a]||(p[a]=!0,b[a]=!0,(f=w.outEdges(a))===null||f===void 0||f.forEach(function(h){b[h.w]?O.push(h):u(h.w)}),delete b[a])}),O};c.default={run:function(w){var O=w.graph().acyclicer===\"greedy\"?(0,N.default)(w,function(b){return function(p){var u;return((u=b.edge(p))===null||u===void 0?void 0:u.weight)||1}}(w)):C(w);O==null||O.forEach(function(b){var p=w.edge(b);w.removeEdgeObj(b),p.forwardName=b.name,p.reversed=!0,w.setEdge(b.w,b.v,p,\"rev-\".concat(Math.random()))})},undo:function(w){w.edges().forEach(function(O){var b=w.edge(O);if(b.reversed){w.removeEdgeObj(O);var p=b.forwardName;delete b.reversed,delete b.forwardName,w.setEdge(O.w,O.v,b,p)}})}}},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(s,m){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,M){x.__proto__=M}||function(x,M){for(var E in M)Object.prototype.hasOwnProperty.call(M,E)&&(x[E]=M[E])})(s,m)},function(s,m){if(typeof m!=\"function\"&&m!==null)throw new TypeError(\"Class extends value \"+String(m)+\" is not a constructor or null\");function x(){this.constructor=s}y(s,m),s.prototype=m===null?Object.create(m):(x.prototype=m.prototype,new x)}),C=this&&this.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(c,\"__esModule\",{value:!0});var w=C(r(160)),O=r(47),b=function(s){function m(){return s!==null&&s.apply(this,arguments)||this}return N(m,s),m}(w.default),p=function(s){function m(){return s!==null&&s.apply(this,arguments)||this}return N(m,s),m}(O.Graph),u=function(){return 1},a=function(s,m,x){for(var M,E=[],j=m[m.length-1],L=m[0];s.nodeCount();){for(;M=L.dequeue();)f(s,m,x,M);for(;M=j.dequeue();)f(s,m,x,M);if(s.nodeCount()){for(var A=m.length-2;A>0;--A)if(M=m[A].dequeue()){E=E.concat(f(s,m,x,M,!0));break}}}return E},f=function(s,m,x,M,E){var j,L,A=[];return(j=s.inEdges(M.v))===null||j===void 0||j.forEach(function(J){var q=s.edge(J),re=s.node(J.v);E&&A.push({v:J.v,w:J.w,in:0,out:0}),re.out===void 0&&(re.out=0),re.out-=q,l(m,x,re)}),(L=s.outEdges(M.v))===null||L===void 0||L.forEach(function(J){var q=s.edge(J),re=J.w,me=s.node(re);me.in===void 0&&(me.in=0),me.in-=q,l(m,x,me)}),s.removeNode(M.v),E?A:void 0},h=function(s,m){var x=new p,M=0,E=0;s.nodes().forEach(function(q){x.setNode(q,{v:q,in:0,out:0})}),s.edges().forEach(function(q){var re=x.edge(q)||0,me=(m==null?void 0:m(q))||1,Te=re+me;x.setEdge(q.v,q.w,Te),E=Math.max(E,x.node(q.v).out+=me),M=Math.max(M,x.node(q.w).in+=me)});for(var j=[],L=E+M+3,A=0;A<L;A++)j.push(new b);var J=M+1;return x.nodes().forEach(function(q){l(j,J,x.node(q))}),{buckets:j,zeroIdx:J,graph:x}},l=function(s,m,x){x.out?x.in?s[x.out-x.in+m].enqueue(x):s[s.length-1].enqueue(x):s[0].enqueue(x)};c.default=function(s,m){var x;if(s.nodeCount()<=1)return[];var M=h(s,m||u);return(x=a(M.graph,M.buckets,M.zeroIdx).map(function(E){return s.outEdges(E.v,E.w)}))===null||x===void 0?void 0:x.flat()}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=function(w,O){if(w!==\"next\"&&w!==\"prev\")return O},N=function(w){w.prev.next=w.next,w.next.prev=w.prev,delete w.next,delete w.prev},C=function(){function w(){var O={};O.prev=O,O.next=O.prev,this.shortcut=O}return w.prototype.dequeue=function(){var O=this.shortcut,b=O.prev;if(b&&b!==O)return N(b),b},w.prototype.enqueue=function(O){var b=this.shortcut;O.prev&&O.next&&N(O),O.next=b.next,b.next.prev=O,b.next=O,O.prev=b},w.prototype.toString=function(){for(var O=[],b=this.shortcut,p=b.prev;p!==b;)O.push(JSON.stringify(p,y)),p=p==null?void 0:p.prev;return\"[\".concat(O.join(\", \"),\"]\")},w}();c.default=C},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=r(26),N=function(C,w){var O=w.v,b=C.node(O).rank,p=w.w,u=C.node(p).rank,a=w.name,f=C.edge(w),h=f.labelRank;if(u!==b+1){C.removeEdgeObj(w);var l,s,m,x=C.graph();for(m=0,++b;b<u;++m,++b)f.points=[],s={edgeLabel:f,width:0,height:0,edgeObj:w,rank:b},l=(0,y.addDummyNode)(C,\"edge\",s,\"_d\"),b===h&&(s.width=f.width,s.height=f.height,s.dummy=\"edge-label\",s.labelpos=f.labelpos),C.setEdge(O,l,{weight:f.weight},a),m===0&&(x.dummyChains||(x.dummyChains=[]),x.dummyChains.push(l)),O=l;C.setEdge(O,p,{weight:f.weight},a)}};c.default={run:function(C){C.graph().dummyChains=[],C.edges().forEach(function(w){return N(C,w)})},undo:function(C){var w;(w=C.graph().dummyChains)===null||w===void 0||w.forEach(function(O){var b,p=C.node(O),u=p.edgeLabel;p.edgeObj&&C.setEdgeObj(p.edgeObj,u);for(var a=O;p.dummy;)b=C.successors(a)[0],C.removeNode(a),u.points.push({x:p.x,y:p.y}),p.dummy===\"edge-label\"&&(u.x=p.x,u.y=p.y,u.width=p.width,u.height=p.height),a=b,p=C.node(a)})}}},function(Ee,c,r){\"use strict\";var y=this&&this.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(c,\"__esModule\",{value:!0});var N=r(63),C=r(89),w=y(r(163)),O=N.longestPath,b=function(u){(0,N.longestPathWithLayer)(u),(0,C.feasibleTreeWithLayer)(u)},p=function(u){(0,w.default)(u)};c.default=function(u){switch(u.graph().ranker){case\"network-simplex\":p(u);break;case\"tight-tree\":b(u);break;case\"longest-path\":O(u);break;default:b(u)}}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.exchangeEdges=c.enterEdge=c.leaveEdge=c.initLowLimValues=c.calcCutValue=c.initCutValues=void 0;var y=r(89),N=r(63),C=r(26),w=r(47),O=w.algorithm.preorder,b=w.algorithm.postorder;c.initCutValues=function(l,s){var m=b(l,l.nodes());(m=m==null?void 0:m.slice(0,(m==null?void 0:m.length)-1))==null||m.forEach(function(x){p(l,s,x)})};var p=function(l,s,m){var x=l.node(m).parent;l.edgeFromArgs(m,x).cutvalue=(0,c.calcCutValue)(l,s,m)};c.calcCutValue=function(l,s,m){var x,M=l.node(m).parent,E=!0,j=s.edgeFromArgs(m,M),L=0;return j||(E=!1,j=s.edgeFromArgs(M,m)),L=j.weight,(x=s.nodeEdges(m))===null||x===void 0||x.forEach(function(A){var J=A.v===m,q=J?A.w:A.v;if(q!==M){var re=J===E,me=s.edge(A).weight;if(L+=re?me:-me,f(l,m,q)){var Te=l.edgeFromArgs(m,q).cutvalue;L+=re?-Te:Te}}}),L},c.initLowLimValues=function(l,s){s===void 0&&(s=l.nodes()[0]),u(l,{},1,s)};var u=function l(s,m,x,M,E){var j,L=x,A=x,J=s.node(M);return m[M]=!0,(j=s.neighbors(M))===null||j===void 0||j.forEach(function(q){m[q]||(A=l(s,m,A,q,M))}),J.low=L,J.lim=A++,E?J.parent=E:delete J.parent,A};c.leaveEdge=function(l){return l.edges().find(function(s){return l.edge(s).cutvalue<0})},c.enterEdge=function(l,s,m){var x=m.v,M=m.w;s.hasEdge(x,M)||(x=m.w,M=m.v);var E=l.node(x),j=l.node(M),L=E,A=!1;E.lim>j.lim&&(L=j,A=!0);var J=s.edges().filter(function(q){return A===h(l,l.node(q.v),L)&&A!==h(l,l.node(q.w),L)});return(0,C.minBy)(J,function(q){return(0,N.slack)(s,q)})},c.exchangeEdges=function(l,s,m,x){var M=m.v,E=m.w;l.removeEdge(M,E),l.setEdge(x.v,x.w,{}),(0,c.initLowLimValues)(l),(0,c.initCutValues)(l,s),a(l,s)};var a=function(l,s){var m=l.nodes().find(function(M){var E;return!(!((E=s.node(M))===null||E===void 0)&&E.parent)}),x=O(l,m);(x=x==null?void 0:x.slice(1))==null||x.forEach(function(M){var E=l.node(M).parent,j=s.edgeFromArgs(M,E),L=!1;j||(j=s.edgeFromArgs(E,M),L=!0),s.node(M).rank=s.node(E).rank+(L?j.minlen:-j.minlen)})},f=function(l,s,m){return l.hasEdge(s,m)},h=function(l,s,m){return m.low<=s.lim&&s.lim<=m.lim};c.default=function(l){var s=(0,C.simplify)(l);(0,N.longestPath)(s);var m,x,M=(0,y.feasibleTree)(s);for((0,c.initLowLimValues)(M),(0,c.initCutValues)(M,s);m=(0,c.leaveEdge)(M);)x=(0,c.enterEdge)(M,s,m),(0,c.exchangeEdges)(M,s,m,x)}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=function(y){var N,C=function(w){var O,b={},p=0;return(O=w.children())===null||O===void 0||O.forEach(function u(a){var f,h=p;(f=w.children(a))===null||f===void 0||f.forEach(u),b[a]={low:h,lim:p++}}),b}(y);(N=y.graph().dummyChains)===null||N===void 0||N.forEach(function(w){var O,b,p=w,u=y.node(p),a=u.edgeObj;if(a)for(var f=function(M,E,j,L){var A,J,q=[],re=[],me=Math.min(E[j].low,E[L].low),Te=Math.max(E[j].lim,E[L].lim);A=j;do A=M.parent(A),q.push(A);while(A&&(E[A].low>me||Te>E[A].lim));for(J=A,A=L;A&&A!==J;)re.push(A),A=M.parent(A);return{lca:J,path:q.concat(re.reverse())}}(y,C,a.v,a.w),h=f.path,l=f.lca,s=0,m=h[s],x=!0;p!==a.w;){if(u=y.node(p),x){for(;m!==l&&((O=y.node(m))===null||O===void 0?void 0:O.maxRank)<u.rank;)m=h[++s];m===l&&(x=!1)}if(!x){for(;s<h.length-1&&((b=y.node(h[s+1]))===null||b===void 0?void 0:b.minRank)<=u.rank;)s++;m=h[s]}y.setParent(p,m),p=y.successors(p)[0]}})}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=r(26),N=function O(b,p,u,a,f,h,l){var s=b.children(l);if(s!=null&&s.length){var m=(0,y.addBorderNode)(b,\"_bt\"),x=(0,y.addBorderNode)(b,\"_bb\"),M=b.node(l);b.setParent(m,l),M.borderTop=m,b.setParent(x,l),M.borderBottom=x,s==null||s.forEach(function(E){O(b,p,u,a,f,h,E);var j=b.node(E),L=j.borderTop?j.borderTop:E,A=j.borderBottom?j.borderBottom:E,J=j.borderTop?a:2*a,q=L!==A?1:f-h[l]+1;b.setEdge(m,L,{minlen:q,weight:J,nestingEdge:!0}),b.setEdge(A,x,{minlen:q,weight:J,nestingEdge:!0})}),b.parent(l)||b.setEdge(p,m,{weight:0,minlen:f+h[l]})}else l!==p&&b.setEdge(p,l,{weight:0,minlen:u})},C=function(O){var b,p={};return(b=O.children())===null||b===void 0||b.forEach(function(u){return function a(f,h){var l=O.children(f);l==null||l.forEach(function(s){return a(s,h+1)}),p[f]=h}(u,1)}),p},w=function(O){var b=0;return O.edges().forEach(function(p){b+=O.edge(p).weight}),b};c.default={run:function(O){var b,p=(0,y.addDummyNode)(O,\"root\",{},\"_root\"),u=C(O),a=Math.max.apply(Math,Object.values(u));Math.abs(a)===1/0&&(a=1);var f=a-1,h=2*f+1;O.graph().nestingRoot=p,O.edges().forEach(function(s){O.edge(s).minlen*=h});var l=w(O)+1;(b=O.children())===null||b===void 0||b.forEach(function(s){N(O,p,h,l,f,u,s)}),O.graph().nodeRankFactor=h},cleanup:function(O){var b=O.graph();b.nestingRoot&&O.removeNode(b.nestingRoot),delete b.nestingRoot,O.edges().forEach(function(p){O.edge(p).nestingEdge&&O.removeEdgeObj(p)})}}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=r(26),N=function(C,w,O,b,p,u){var a={rank:u,borderType:w,width:0,height:0},f=p[w][u-1],h=(0,y.addDummyNode)(C,\"border\",a,O);p[w][u]=h,C.setParent(h,b),f&&C.setEdge(f,h,{weight:1})};c.default=function(C){var w;(w=C.children())===null||w===void 0||w.forEach(function(O){return function b(p){var u=C.children(p),a=C.node(p);if(u!=null&&u.length&&u.forEach(function(l){return b(l)}),a.hasOwnProperty(\"minRank\")){a.borderLeft=[],a.borderRight=[];for(var f=a.minRank,h=a.maxRank+1;f<h;f+=1)N(C,\"borderLeft\",\"_bl\",p,a,f),N(C,\"borderRight\",\"_br\",p,a,f)}}(O)})}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=function(p){p.nodes().forEach(function(u){N(p.node(u))}),p.edges().forEach(function(u){N(p.edge(u))})},N=function(p){var u=p.width;p.width=p.height,p.height=u},C=function(p){p.nodes().forEach(function(u){w(p.node(u))}),p.edges().forEach(function(u){var a,f=p.edge(u);(a=f.points)===null||a===void 0||a.forEach(function(h){return w(h)}),f.hasOwnProperty(\"y\")&&w(f)})},w=function(p){p!=null&&p.y&&(p.y=-p.y)},O=function(p){p.nodes().forEach(function(u){b(p.node(u))}),p.edges().forEach(function(u){var a,f=p.edge(u);(a=f.points)===null||a===void 0||a.forEach(function(h){return b(h)}),f.hasOwnProperty(\"x\")&&b(f)})},b=function(p){var u=p.x;p.x=p.y,p.y=u};c.default={adjust:function(p){var u,a=(u=p.graph().rankdir)===null||u===void 0?void 0:u.toLowerCase();a!==\"lr\"&&a!==\"rl\"||y(p)},undo:function(p){var u,a=(u=p.graph().rankdir)===null||u===void 0?void 0:u.toLowerCase();a!==\"bt\"&&a!==\"rl\"||C(p),a!==\"lr\"&&a!==\"rl\"||(O(p),y(p))}}},function(Ee,c,r){\"use strict\";var y=this&&this.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(c,\"__esModule\",{value:!0});var N=y(r(169)),C=y(r(170)),w=y(r(171)),O=y(r(172)),b=y(r(173)),p=r(15),u=r(35),a=r(26),f=function(s,m,x){return m.map(function(M){return(0,w.default)(s,M,x)})},h=function(s,m,x,M){var E=new u.Graph;s==null||s.forEach(function(j){for(var L,A=j.graph().root,J=(0,b.default)(j,A,E,m,x,M),q=0;q<((L=J.vs)===null||L===void 0?void 0:L.length);q++){var re=j.node(J.vs[q]);re&&(re.order=q)}(0,O.default)(j,E,J.vs)})},l=function(s,m){m==null||m.forEach(function(x){x==null||x.forEach(function(M,E){s.node(M).order=E})})};c.default=function(s,m){for(var x=(0,a.maxRank)(s),M=[],E=[],j=1;j<x+1;j++)M.push(j);for(j=x-1;j>-1;j--)E.push(j);var L=f(s,M,\"inEdges\"),A=f(s,E,\"outEdges\"),J=(0,N.default)(s);l(s,J);for(var q,re=Number.POSITIVE_INFINITY,me=(j=0,0);me<4;++j,++me)h(j%2?L:A,j%4>=2,!1,m),J=(0,a.buildLayerMatrix)(s),(Te=(0,C.default)(s,J))<re&&(me=0,q=(0,p.clone)(J),re=Te);for(J=(0,N.default)(s),l(s,J),j=0,me=0;me<4;++j,++me){var Te;h(j%2?L:A,j%4>=2,!0,m),J=(0,a.buildLayerMatrix)(s),(Te=(0,C.default)(s,J))<re&&(me=0,q=(0,p.clone)(J),re=Te)}l(s,q)}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=function(y){for(var N={},C=y.nodes().filter(function(f){var h;return!(!((h=y.children(f))===null||h===void 0)&&h.length)}),w=C.map(function(f){return y.node(f).rank}),O=Math.max.apply(Math,w),b=[],p=0;p<O+1;p++)b.push([]);var u=C.sort(function(f,h){return y.node(f).rank-y.node(h).rank}),a=u.filter(function(f){return y.node(f).fixorder!==void 0}).sort(function(f,h){return y.node(f).fixorder-y.node(h).fixorder});return a==null||a.forEach(function(f){isNaN(y.node(f).rank)||b[y.node(f).rank].push(f),N[f]=!0}),u==null||u.forEach(function f(h){var l;if(!N.hasOwnProperty(h)){N[h]=!0;var s=y.node(h);isNaN(s.rank)||b[s.rank].push(h),(l=y.successors(h))===null||l===void 0||l.forEach(function(m){return f(m)})}}),b}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=r(26),N=function(C,w,O){for(var b=(0,y.zipObject)(O,O.map(function(l,s){return s})),p=w.map(function(l){var s,m=(s=C.outEdges(l))===null||s===void 0?void 0:s.map(function(x){return{pos:b[x.w]||0,weight:C.edge(x).weight}});return m==null?void 0:m.sort(function(x,M){return x.pos-M.pos})}).flat().filter(function(l){return l!==void 0}),u=1;u<O.length;)u<<=1;var a=2*u-1;u-=1;var f=Array(a).fill(0,0,a),h=0;return p==null||p.forEach(function(l){if(l){var s=l.pos+u;f[s]+=l.weight;for(var m=0;s>0;)s%2&&(m+=f[s+1]),f[s=s-1>>1]+=l.weight;h+=l.weight*m}}),h};c.default=function(C,w){for(var O=0,b=1;b<(w==null?void 0:w.length);b+=1)O+=N(C,w[b-1],w[b]);return O}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=r(35),N=function(C){for(var w;C.hasNode(w=\"_root\".concat(Math.random())););return w};c.default=function(C,w,O){var b=N(C),p=new y.Graph({compound:!0}).setGraph({root:b}).setDefaultNodeLabel(function(u){return C.node(u)});return C.nodes().forEach(function(u){var a,f=C.node(u),h=C.parent(u);(f.rank===w||f.minRank<=w&&w<=f.maxRank)&&(p.setNode(u),p.setParent(u,h||b),(a=C[O](u))===null||a===void 0||a.forEach(function(l){var s=l.v===u?l.w:l.v,m=p.edgeFromArgs(s,u),x=m!==void 0?m.weight:0;p.setEdge(s,u,{weight:C.edge(l).weight+x})}),f.hasOwnProperty(\"minRank\")&&p.setNode(u,{borderLeft:f.borderLeft[w],borderRight:f.borderRight[w]}))}),p}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=function(y,N,C){var w,O={};C==null||C.forEach(function(b){for(var p,u,a=y.parent(b);a;){if((p=y.parent(a))?(u=O[p],O[p]=a):(u=w,w=a),u&&u!==a)return void N.setEdge(u,a);a=p}})}},function(Ee,c,r){\"use strict\";var y=this&&this.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(c,\"__esModule\",{value:!0});var N=y(r(174)),C=y(r(175)),w=y(r(176)),O=function(p,u){p==null||p.forEach(function(a){var f,h=(f=a.vs)===null||f===void 0?void 0:f.map(function(l){return u[l]?u[l].vs:l});a.vs=h.flat()})},b=function(p,u){p.barycenter!==void 0?(p.barycenter=(p.barycenter*p.weight+u.barycenter*u.weight)/(p.weight+u.weight),p.weight+=u.weight):(p.barycenter=u.barycenter,p.weight=u.weight)};c.default=function p(u,a,f,h,l,s){var m,x,M,E,j=u.children(a),L=u.node(a),A=L?L.borderLeft:void 0,J=L?L.borderRight:void 0,q={};A&&(j=j==null?void 0:j.filter(function(Ie){return Ie!==A&&Ie!==J}));var re=(0,N.default)(u,j||[]);re==null||re.forEach(function(Ie){var Le;if(!((Le=u.children(Ie.v))===null||Le===void 0)&&Le.length){var De=p(u,Ie.v,f,h,s);q[Ie.v]=De,De.hasOwnProperty(\"barycenter\")&&b(Ie,De)}});var me=(0,C.default)(re,f);O(me,q),(m=me.filter(function(Ie){return Ie.vs.length>0}))===null||m===void 0||m.forEach(function(Ie){var Le=u.node(Ie.vs[0]);Le&&(Ie.fixorder=Le.fixorder,Ie.order=Le.order)});var Te=(0,w.default)(me,h,l,s);if(A&&(Te.vs=[A,Te.vs,J].flat(),(x=u.predecessors(A))===null||x===void 0?void 0:x.length)){var ee=u.node(((M=u.predecessors(A))===null||M===void 0?void 0:M[0])||\"\"),xe=u.node(((E=u.predecessors(J))===null||E===void 0?void 0:E[0])||\"\");Te.hasOwnProperty(\"barycenter\")||(Te.barycenter=0,Te.weight=0),Te.barycenter=(Te.barycenter*Te.weight+ee.order+xe.order)/(Te.weight+2),Te.weight+=2}return Te}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=function(y,N){return N.map(function(C){var w=y.inEdges(C);if(!(w!=null&&w.length))return{v:C};var O={sum:0,weight:0};return w==null||w.forEach(function(b){var p=y.edge(b),u=y.node(b.v);O.sum+=p.weight*u.order,O.weight+=p.weight}),{v:C,barycenter:O.sum/O.weight,weight:O.weight}})}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=function(C){for(var w,O,b=[],p=function(){var f=C.pop();b.push(f),(w=f.in.reverse())===null||w===void 0||w.forEach(function(h){return(l=f,function(s){s.merged||(s.barycenter===void 0||l.barycenter===void 0||s.barycenter>=l.barycenter)&&N(l,s)})(h);var l}),(O=f.out)===null||O===void 0||O.forEach(function(h){return(l=f,function(s){s.in.push(l),--s.indegree==0&&C.push(s)})(h);var l})};C!=null&&C.length;)p();var u=b.filter(function(f){return!f.merged}),a=[\"vs\",\"i\",\"barycenter\",\"weight\"];return u.map(function(f){var h={};return a==null||a.forEach(function(l){f[l]!==void 0&&(h[l]=f[l])}),h})},N=function(C,w){var O,b=0,p=0;C.weight&&(b+=C.barycenter*C.weight,p+=C.weight),w.weight&&(b+=w.barycenter*w.weight,p+=w.weight),C.vs=(O=w.vs)===null||O===void 0?void 0:O.concat(C.vs),C.barycenter=b/p,C.weight=p,C.i=Math.min(w.i,C.i),w.merged=!0};c.default=function(C,w){var O,b,p,u={};C==null||C.forEach(function(f,h){u[f.v]={i:h,indegree:0,in:[],out:[],vs:[f.v]};var l=u[f.v];f.barycenter!==void 0&&(l.barycenter=f.barycenter,l.weight=f.weight)}),(O=w.edges())===null||O===void 0||O.forEach(function(f){var h=u[f.v],l=u[f.w];h!==void 0&&l!==void 0&&(l.indegree++,h.out.push(u[f.w]))});var a=(p=(b=Object.values(u)).filter)===null||p===void 0?void 0:p.call(b,function(f){return!f.indegree});return y(a)}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=r(26),N=function(w,O,b){for(var p,u=b;O.length&&(p=O[O.length-1]).i<=u;)O.pop(),w==null||w.push(p.vs),u++;return u},C=function(w,O){return function(b,p){if(b.fixorder!==void 0&&p.fixorder!==void 0)return b.fixorder-p.fixorder;if(b.barycenter<p.barycenter)return-1;if(b.barycenter>p.barycenter)return 1;if(O&&b.order!==void 0&&p.order!==void 0){if(b.order<p.order)return-1;if(b.order>p.order)return 1}return w?p.i-b.i:b.i-p.i}};c.default=function(w,O,b,p){var u=(0,y.partition)(w,function(M){var E=M.hasOwnProperty(\"fixorder\")&&!isNaN(M.fixorder);return p?!E&&M.hasOwnProperty(\"barycenter\"):E||M.hasOwnProperty(\"barycenter\")}),a=u.lhs,f=u.rhs.sort(function(M,E){return-M.i- -E.i}),h=[],l=0,s=0,m=0;a==null||a.sort(C(!!O,!!b)),m=N(h,f,m),a==null||a.forEach(function(M){var E;m+=(E=M.vs)===null||E===void 0?void 0:E.length,h.push(M.vs),l+=M.barycenter*M.weight,s+=M.weight,m=N(h,f,m)});var x={vs:h.flat()};return s&&(x.barycenter=l/s,x.weight=s),x}},function(Ee,c,r){\"use strict\";var y=this&&this.__spreadArray||function(w,O,b){if(b||arguments.length===2)for(var p,u=0,a=O.length;u<a;u++)!p&&u in O||(p||(p=Array.prototype.slice.call(O,0,u)),p[u]=O[u]);return w.concat(p||Array.prototype.slice.call(O))};Object.defineProperty(c,\"__esModule\",{value:!0});var N=r(26),C=r(178);c.default=function(w){var O,b=(0,N.asNonCompoundGraph)(w);(function(u){var a=(0,N.buildLayerMatrix)(u),f=u.graph().ranksep,h=0;a==null||a.forEach(function(l){var s=l.map(function(x){return u.node(x).height}),m=Math.max.apply(Math,y(y([],s,!1),[0],!1));l==null||l.forEach(function(x){u.node(x).y=h+m/2}),h+=m+f})})(b);var p=function(u){var a=(0,N.buildLayerMatrix)(u),f=Object.assign((0,C.findType1Conflicts)(u,a),(0,C.findType2Conflicts)(u,a)),h={},l=[];[\"u\",\"d\"].forEach(function(m){l=m===\"u\"?a:Object.values(a).reverse(),[\"l\",\"r\"].forEach(function(x){x===\"r\"&&(l=l.map(function(L){return Object.values(L).reverse()}));var M=(m===\"u\"?u.predecessors:u.successors).bind(u),E=(0,C.verticalAlignment)(u,l,f,M),j=(0,C.horizontalCompaction)(u,l,E.root,E.align,x===\"r\");x===\"r\"&&Object.keys(j).forEach(function(L){return j[L]=-j[L]}),h[m+x]=j})});var s=(0,C.findSmallestWidthAlignment)(u,h);return s&&(0,C.alignCoordinates)(h,s),(0,C.balance)(h,u.graph().align)}(b);(O=Object.keys(p))===null||O===void 0||O.forEach(function(u){b.node(u).x=p[u]})}},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(p,u){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,f){a.__proto__=f}||function(a,f){for(var h in f)Object.prototype.hasOwnProperty.call(f,h)&&(a[h]=f[h])})(p,u)},function(p,u){if(typeof u!=\"function\"&&u!==null)throw new TypeError(\"Class extends value \"+String(u)+\" is not a constructor or null\");function a(){this.constructor=p}y(p,u),p.prototype=u===null?Object.create(u):(a.prototype=u.prototype,new a)});Object.defineProperty(c,\"__esModule\",{value:!0}),c.width=c.sep=c.positionX=c.balance=c.alignCoordinates=c.findSmallestWidthAlignment=c.buildBlockGraph=c.horizontalCompaction=c.verticalAlignment=c.hasConflict=c.addConflict=c.findOtherInnerSegmentNode=c.findType2Conflicts=c.findType1Conflicts=void 0;var C=r(47),w=r(26),O=function(p){function u(){return p!==null&&p.apply(this,arguments)||this}return N(u,p),u}(C.Graph);c.findType1Conflicts=function(p,u){var a={};return u!=null&&u.length&&u.reduce(function(f,h){var l=0,s=0,m=f.length,x=h==null?void 0:h[(h==null?void 0:h.length)-1];return h==null||h.forEach(function(M,E){var j,L=(0,c.findOtherInnerSegmentNode)(p,M),A=L?p.node(L).order:m;(L||M===x)&&((j=h.slice(s,E+1))===null||j===void 0||j.forEach(function(J){var q;(q=p.predecessors(J))===null||q===void 0||q.forEach(function(re){var me,Te=p.node(re),ee=Te.order;!(ee<l||A<ee)||Te.dummy&&(!((me=p.node(J))===null||me===void 0)&&me.dummy)||(0,c.addConflict)(a,re,J)})}),s=E+1,l=A)}),h}),a},c.findType2Conflicts=function(p,u){var a={};function f(l,s,m,x,M){for(var E,j,L,A=s;A<m;A++)L=l[A],!((E=p.node(L))===null||E===void 0)&&E.dummy&&((j=p.predecessors(L))===null||j===void 0||j.forEach(function(J){var q=p.node(J);q.dummy&&(q.order<x||q.order>M)&&(0,c.addConflict)(a,J,L)}))}function h(l,s){var m=function(x){return JSON.stringify(x.slice(1))}(l);s.get(m)||(f.apply(void 0,l),s.set(m,!0))}return u!=null&&u.length&&u.reduce(function(l,s){var m,x=-1,M=0,E=new Map;return s==null||s.forEach(function(j,L){var A;if(((A=p.node(j))===null||A===void 0?void 0:A.dummy)===\"border\"){var J=p.predecessors(j)||[];J.length&&(m=p.node(J[0]).order,h([s,M,L,x,m],E),M=L,x=m)}h([s,M,s.length,m,l.length],E)}),s}),a},c.findOtherInnerSegmentNode=function(p,u){var a,f;if(!((a=p.node(u))===null||a===void 0)&&a.dummy)return(f=p.predecessors(u))===null||f===void 0?void 0:f.find(function(h){return p.node(h).dummy})},c.addConflict=function(p,u,a){var f=u,h=a;if(f>h){var l=f;f=h,h=l}var s=p[f];s||(p[f]=s={}),s[h]=!0},c.hasConflict=function(p,u,a){var f=u;return f>a&&(f=a),!!p[f]},c.verticalAlignment=function(p,u,a,f){var h={},l={},s={};return u==null||u.forEach(function(m){m==null||m.forEach(function(x,M){h[x]=x,l[x]=x,s[x]=M})}),u==null||u.forEach(function(m){var x=-1;m==null||m.forEach(function(M){var E=f(M);if(E.length)for(var j=((E=E.sort(function(q,re){return s[q]-s[re]})).length-1)/2,L=Math.floor(j),A=Math.ceil(j);L<=A;++L){var J=E[L];l[M]===M&&x<s[J]&&!(0,c.hasConflict)(a,M,J)&&(l[J]=M,l[M]=h[M]=h[J],x=s[J])}})}),{root:h,align:l}},c.horizontalCompaction=function(p,u,a,f,h){var l,s={},m=(0,c.buildBlockGraph)(p,u,a,h),x=h?\"borderLeft\":\"borderRight\",M=function(E,j){for(var L=m.nodes(),A=L.pop(),J={};A;)J[A]?E(A):(J[A]=!0,L.push(A),L=L.concat(j(A))),A=L.pop()};return M(function(E){s[E]=(m.inEdges(E)||[]).reduce(function(j,L){return Math.max(j,(s[L.v]||0)+m.edge(L))},0)},m.predecessors.bind(m)),M(function(E){var j=(m.outEdges(E)||[]).reduce(function(A,J){return Math.min(A,(s[J.w]||0)-m.edge(J))},Number.POSITIVE_INFINITY),L=p.node(E);j!==Number.POSITIVE_INFINITY&&L.borderType!==x&&(s[E]=Math.max(s[E],j))},m.successors.bind(m)),(l=Object.values(f))===null||l===void 0||l.forEach(function(E){s[E]=s[a[E]]}),s},c.buildBlockGraph=function(p,u,a,f){var h=new O,l=p.graph(),s=(0,c.sep)(l.nodesep,l.edgesep,f);return u==null||u.forEach(function(m){var x;m==null||m.forEach(function(M){var E=a[M];if(h.setNode(E),x){var j=a[x],L=h.edgeFromArgs(j,E);h.setEdge(j,E,Math.max(s(p,M,x),L||0))}x=M})}),h};function b(p,u){var a=Object.values(u),f=Math.min.apply(Math,a),h=Math.max.apply(Math,a);[\"u\",\"d\"].forEach(function(l){[\"l\",\"r\"].forEach(function(s){var m,x=l+s,M=p[x];if(M!==u){var E=Object.values(M);(m=s===\"l\"?f-Math.min.apply(Math,E):h-Math.max.apply(Math,E))&&(p[x]={},Object.keys(M).forEach(function(j){p[x][j]=M[j]+m}))}})})}c.findSmallestWidthAlignment=function(p,u){return(0,w.minBy)(Object.values(u),function(a){var f,h=Number.NEGATIVE_INFINITY,l=Number.POSITIVE_INFINITY;return(f=Object.keys(a))===null||f===void 0||f.forEach(function(s){var m=a[s],x=(0,c.width)(p,s)/2;h=Math.max(m+x,h),l=Math.min(m-x,l)}),h-l})},c.alignCoordinates=b,c.balance=function(p,u){var a={};return Object.keys(p.ul).forEach(function(f){if(u)a[f]=p[u.toLowerCase()][f];else{var h=Object.values(p).map(function(l){return l[f]});a[f]=(h[0]+h[1])/2}}),a},c.positionX=function(p){var u,a=(0,w.buildLayerMatrix)(p),f=Object.assign((0,c.findType1Conflicts)(p,a),(0,c.findType2Conflicts)(p,a)),h={};[\"u\",\"d\"].forEach(function(s){u=s===\"u\"?a:Object.values(a).reverse(),[\"l\",\"r\"].forEach(function(m){m===\"r\"&&(u=u.map(function(j){return Object.values(j).reverse()}));var x=(s===\"u\"?p.predecessors:p.successors).bind(p),M=(0,c.verticalAlignment)(p,u,f,x),E=(0,c.horizontalCompaction)(p,u,M.root,M.align,m===\"r\");m===\"r\"&&Object.keys(E).forEach(function(j){E[j]=-E[j]}),h[s+m]=E})});var l=(0,c.findSmallestWidthAlignment)(p,h);return b(h,l),(0,c.balance)(h,p.graph().align)},c.sep=function(p,u,a){return function(f,h,l){var s,m=f.node(h),x=f.node(l),M=0;if(M+=m.width/2,m.hasOwnProperty(\"labelpos\"))switch((m.labelpos||\"\").toLowerCase()){case\"l\":s=-m.width/2;break;case\"r\":s=m.width/2}if(s&&(M+=a?s:-s),s=0,M+=(m.dummy?u:p)/2,M+=(x.dummy?u:p)/2,M+=x.width/2,x.labelpos)switch((x.labelpos||\"\").toLowerCase()){case\"l\":s=x.width/2;break;case\"r\":s=-x.width/2}return s&&(M+=a?s:-s),s=0,M}},c.width=function(p,u){return p.node(u).width||0}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=function(y,N){for(var C=y.nodes().filter(function(p){var u;return!(!((u=y.children(p))===null||u===void 0)&&u.length)}).map(function(p){return y.node(p).rank}),w=Math.max.apply(Math,C),O=[],b=0;b<w+1;b++)O[b]=[];N==null||N.forEach(function(p){var u=y.node(p);u&&!(u!=null&&u.dummy)&&(isNaN(u.rank)||(u.fixorder=O[u.rank].length,O[u.rank].push(p)))})}},function(Ee,c,r){\"use strict\";r.r(c),function(y){function N($,ne){var Me=typeof Symbol!=\"undefined\"&&$[Symbol.iterator]||$[\"@@iterator\"];if(!Me){if(Array.isArray($)||(Me=a($))||ne&&$&&typeof $.length==\"number\"){Me&&($=Me);var tt=0,at=function(){};return{s:at,n:function(){return tt>=$.length?{done:!0}:{done:!1,value:$[tt++]}},e:function(nn){throw nn},f:at}}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 Nt,Tt=!0,Jt=!1;return{s:function(){Me=Me.call($)},n:function(){var nn=Me.next();return Tt=nn.done,nn},e:function(nn){Jt=!0,Nt=nn},f:function(){try{Tt||Me.return==null||Me.return()}finally{if(Jt)throw Nt}}}}function C($){return function(ne){if(Array.isArray(ne))return f(ne)}($)||function(ne){if(typeof Symbol!=\"undefined\"&&ne[Symbol.iterator]!=null||ne[\"@@iterator\"]!=null)return Array.from(ne)}($)||a($)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function w($,ne){return(w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Me,tt){return Me.__proto__=tt,Me})($,ne)}function O($){var ne=function(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(Me){return!1}}();return function(){var Me,tt=p($);if(ne){var at=p(this).constructor;Me=Reflect.construct(tt,arguments,at)}else Me=tt.apply(this,arguments);return b(this,Me)}}function b($,ne){if(ne&&(m(ne)===\"object\"||typeof ne==\"function\"))return ne;if(ne!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(Me){if(Me===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return Me}($)}function p($){return(p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(ne){return ne.__proto__||Object.getPrototypeOf(ne)})($)}function u($,ne){return function(Me){if(Array.isArray(Me))return Me}($)||function(Me,tt){var at=Me==null?null:typeof Symbol!=\"undefined\"&&Me[Symbol.iterator]||Me[\"@@iterator\"];if(at!=null){var Nt,Tt,Jt,nn,zn=[],mr=!0,Er=!1;try{if(Jt=(at=at.call(Me)).next,tt===0){if(Object(at)!==at)return;mr=!1}else for(;!(mr=(Nt=Jt.call(at)).done)&&(zn.push(Nt.value),zn.length!==tt);mr=!0);}catch(Zr){Er=!0,Tt=Zr}finally{try{if(!mr&&at.return!=null&&(nn=at.return(),Object(nn)!==nn))return}finally{if(Er)throw Tt}}return zn}}($,ne)||a($,ne)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function a($,ne){if($){if(typeof $==\"string\")return f($,ne);var Me=Object.prototype.toString.call($).slice(8,-1);return Me===\"Object\"&&$.constructor&&(Me=$.constructor.name),Me===\"Map\"||Me===\"Set\"?Array.from($):Me===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Me)?f($,ne):void 0}}function f($,ne){(ne==null||ne>$.length)&&(ne=$.length);for(var Me=0,tt=new Array(ne);Me<ne;Me++)tt[Me]=$[Me];return tt}function h($,ne){for(var Me=0;Me<ne.length;Me++){var tt=ne[Me];tt.enumerable=tt.enumerable||!1,tt.configurable=!0,\"value\"in tt&&(tt.writable=!0),Object.defineProperty($,(at=tt.key,Nt=void 0,Nt=function(Tt,Jt){if(m(Tt)!==\"object\"||Tt===null)return Tt;var nn=Tt[Symbol.toPrimitive];if(nn!==void 0){var zn=nn.call(Tt,Jt||\"default\");if(m(zn)!==\"object\")return zn;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(Jt===\"string\"?String:Number)(Tt)}(at,\"string\"),m(Nt)===\"symbol\"?Nt:String(Nt)),tt)}var at,Nt}function l($,ne,Me){return ne&&h($.prototype,ne),Me&&h($,Me),Object.defineProperty($,\"prototype\",{writable:!1}),$}function s($,ne){if(!($ instanceof ne))throw new TypeError(\"Cannot call a class as a function\")}function m($){return(m=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(ne){return typeof ne}:function(ne){return ne&&typeof Symbol==\"function\"&&ne.constructor===Symbol&&ne!==Symbol.prototype?\"symbol\":typeof ne})($)}r.d(c,\"BRIDGE_GRAPH_NAME\",function(){return re}),r.d(c,\"GraphType\",function(){return A}),r.d(c,\"HierarchyNodeType\",function(){return J}),r.d(c,\"InclusionType\",function(){return L}),r.d(c,\"LAYOUT_CONFIG\",function(){return x}),r.d(c,\"NodeType\",function(){return j}),r.d(c,\"ROOT_NAME\",function(){return q}),r.d(c,\"buildGraph\",function(){return Al}),r.d(c,\"flatGraph\",function(){return sl}),r.d(c,\"getEdges\",function(){return Vl}),r.d(c,\"mergeConfig\",function(){return M});var x={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 M(){var $,ne,Me,tt,at=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:x,Tt=JSON.parse(JSON.stringify(Nt)),Jt=(($=at==null?void 0:at.graph)===null||$===void 0?void 0:$.meta)||{},nn=((ne=at==null?void 0:at.subScene)===null||ne===void 0?void 0:ne.meta)||{},zn=((Me=at==null?void 0:at.nodeSize)===null||Me===void 0?void 0:Me.meta)||{},mr=((tt=at==null?void 0:at.nodeSize)===null||tt===void 0?void 0:tt.node)||{},Er=Tt.nodeSize.bridge;return{graph:{meta:Object.assign(Tt.graph.meta,Jt)},subScene:{meta:Object.assign(Tt.subScene.meta,nn)},nodeSize:{meta:Object.assign(Tt.nodeSize.meta,zn),node:Object.assign(Tt.nodeSize.node,mr),bridge:Er}}}function E($){return\"\\u25EC\".concat($,\"\\u25EC\")}var j,L,A,J,q=E(\"ROOT\"),re=E(\"BRIDGE_GRAPH\");(function($){$[$.META=0]=\"META\",$[$.NODE=1]=\"NODE\",$[$.BRIDGE=2]=\"BRIDGE\"})(j||(j={})),function($){$[$.INCLUDE=0]=\"INCLUDE\",$[$.EXCLUDE=1]=\"EXCLUDE\",$[$.UNSPECIFIED=2]=\"UNSPECIFIED\"}(L||(L={})),function($){$[$.META=0]=\"META\",$[$.CORE=1]=\"CORE\",$[$.BRIDGE=2]=\"BRIDGE\"}(A||(A={})),function($){$[$.META=0]=\"META\",$[$.OP=1]=\"OP\",$[$.SERIES=2]=\"SERIES\"}(J||(J={}));var me=typeof globalThis!=\"undefined\"?globalThis:typeof window!=\"undefined\"?window:y!==void 0?y:typeof self!=\"undefined\"?self:{};function Te($,ne){return $(ne={exports:{}},ne.exports),ne.exports}var ee=function($,ne){return $===ne||$!=$&&ne!=ne},xe=function($,ne){for(var Me=$.length;Me--;)if(ee($[Me][0],ne))return Me;return-1},Ie=Array.prototype.splice;function Le($){var ne=-1,Me=$==null?0:$.length;for(this.clear();++ne<Me;){var tt=$[ne];this.set(tt[0],tt[1])}}Le.prototype.clear=function(){this.__data__=[],this.size=0},Le.prototype.delete=function($){var ne=this.__data__,Me=xe(ne,$);return!(Me<0||(Me==ne.length-1?ne.pop():Ie.call(ne,Me,1),--this.size,0))},Le.prototype.get=function($){var ne=this.__data__,Me=xe(ne,$);return Me<0?void 0:ne[Me][1]},Le.prototype.has=function($){return xe(this.__data__,$)>-1},Le.prototype.set=function($,ne){var Me=this.__data__,tt=xe(Me,$);return tt<0?(++this.size,Me.push([$,ne])):Me[tt][1]=ne,this};var De,ce=Le,ye=m(me)==\"object\"&&me&&me.Object===Object&&me,Oe=(typeof self==\"undefined\"?\"undefined\":m(self))==\"object\"&&self&&self.Object===Object&&self,Ce=ye||Oe||Function(\"return this\")(),oe=Ce.Symbol,he=Object.prototype,ie=he.hasOwnProperty,ae=he.toString,ve=oe?oe.toStringTag:void 0,X=Object.prototype.toString,se=oe?oe.toStringTag:void 0,fe=function($){return $==null?$===void 0?\"[object Undefined]\":\"[object Null]\":se&&se in Object($)?function(ne){var Me=ie.call(ne,ve),tt=ne[ve];try{ne[ve]=void 0;var at=!0}catch(Tt){}var Nt=ae.call(ne);return at&&(Me?ne[ve]=tt:delete ne[ve]),Nt}($):function(ne){return X.call(ne)}($)},_e=function($){var ne=m($);return $!=null&&(ne==\"object\"||ne==\"function\")},be=function($){if(!_e($))return!1;var ne=fe($);return ne==\"[object Function]\"||ne==\"[object GeneratorFunction]\"||ne==\"[object AsyncFunction]\"||ne==\"[object Proxy]\"},We=Ce[\"__core-js_shared__\"],we=(De=/[^.]+$/.exec(We&&We.keys&&We.keys.IE_PROTO||\"\"))?\"Symbol(src)_1.\"+De:\"\",Ze=Function.prototype.toString,Ve=function($){if($!=null){try{return Ze.call($)}catch(ne){}try{return $+\"\"}catch(ne){}}return\"\"},et=/^\\[object .+?Constructor\\]$/,ht=Function.prototype,Fe=Object.prototype,mt=ht.toString,dt=Fe.hasOwnProperty,Lt=RegExp(\"^\"+mt.call(dt).replace(/[\\\\^$.*+?()[\\]{}|]/g,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\"),lt=function($){return!(!_e($)||function(ne){return!!we&&we in ne}($))&&(be($)?Lt:et).test(Ve($))},rn=function($,ne){var Me=function(tt,at){return tt==null?void 0:tt[at]}($,ne);return lt(Me)?Me:void 0},qt=rn(Ce,\"Map\"),hn=rn(Object,\"create\"),Kt=Object.prototype.hasOwnProperty,an=Object.prototype.hasOwnProperty;function In($){var ne=-1,Me=$==null?0:$.length;for(this.clear();++ne<Me;){var tt=$[ne];this.set(tt[0],tt[1])}}In.prototype.clear=function(){this.__data__=hn?hn(null):{},this.size=0},In.prototype.delete=function($){var ne=this.has($)&&delete this.__data__[$];return this.size-=ne?1:0,ne},In.prototype.get=function($){var ne=this.__data__;if(hn){var Me=ne[$];return Me===\"__lodash_hash_undefined__\"?void 0:Me}return Kt.call(ne,$)?ne[$]:void 0},In.prototype.has=function($){var ne=this.__data__;return hn?ne[$]!==void 0:an.call(ne,$)},In.prototype.set=function($,ne){var Me=this.__data__;return this.size+=this.has($)?0:1,Me[$]=hn&&ne===void 0?\"__lodash_hash_undefined__\":ne,this};var Ft=In,kt=function($,ne){var Me=$.__data__;return function(tt){var at=m(tt);return at==\"string\"||at==\"number\"||at==\"symbol\"||at==\"boolean\"?tt!==\"__proto__\":tt===null}(ne)?Me[typeof ne==\"string\"?\"string\":\"hash\"]:Me.map};function At($){var ne=-1,Me=$==null?0:$.length;for(this.clear();++ne<Me;){var tt=$[ne];this.set(tt[0],tt[1])}}At.prototype.clear=function(){this.size=0,this.__data__={hash:new Ft,map:new(qt||ce),string:new Ft}},At.prototype.delete=function($){var ne=kt(this,$).delete($);return this.size-=ne?1:0,ne},At.prototype.get=function($){return kt(this,$).get($)},At.prototype.has=function($){return kt(this,$).has($)},At.prototype.set=function($,ne){var Me=kt(this,$),tt=Me.size;return Me.set($,ne),this.size+=Me.size==tt?0:1,this};var Fn=At;function pn($){var ne=this.__data__=new ce($);this.size=ne.size}pn.prototype.clear=function(){this.__data__=new ce,this.size=0},pn.prototype.delete=function($){var ne=this.__data__,Me=ne.delete($);return this.size=ne.size,Me},pn.prototype.get=function($){return this.__data__.get($)},pn.prototype.has=function($){return this.__data__.has($)},pn.prototype.set=function($,ne){var Me=this.__data__;if(Me instanceof ce){var tt=Me.__data__;if(!qt||tt.length<199)return tt.push([$,ne]),this.size=++Me.size,this;Me=this.__data__=new Fn(tt)}return Me.set($,ne),this.size=Me.size,this};var en=pn,Wn=function($,ne){for(var Me=-1,tt=$==null?0:$.length;++Me<tt&&ne($[Me],Me,$)!==!1;);return $},Mn=function(){try{var $=rn(Object,\"defineProperty\");return $({},\"\",{}),$}catch(ne){}}(),Kn=function($,ne,Me){ne==\"__proto__\"&&Mn?Mn($,ne,{configurable:!0,enumerable:!0,value:Me,writable:!0}):$[ne]=Me},hr=Object.prototype.hasOwnProperty,pr=function($,ne,Me){var tt=$[ne];hr.call($,ne)&&ee(tt,Me)&&(Me!==void 0||ne in $)||Kn($,ne,Me)},zr=function($,ne,Me,tt){var at=!Me;Me||(Me={});for(var Nt=-1,Tt=ne.length;++Nt<Tt;){var Jt=ne[Nt],nn=tt?tt(Me[Jt],$[Jt],Jt,Me,$):void 0;nn===void 0&&(nn=$[Jt]),at?Kn(Me,Jt,nn):pr(Me,Jt,nn)}return Me},Wr=function($){return $!=null&&m($)==\"object\"},Nr=function($){return Wr($)&&fe($)==\"[object Arguments]\"},Kr=Object.prototype,ko=Kr.hasOwnProperty,Ur=Kr.propertyIsEnumerable,gn=Nr(function(){return arguments}())?Nr:function($){return Wr($)&&ko.call($,\"callee\")&&!Ur.call($,\"callee\")},Gt=Array.isArray,bt=function(){return!1},Zt=Te(function($,ne){var Me=ne&&!ne.nodeType&&ne,tt=Me&&$&&!$.nodeType&&$,at=tt&&tt.exports===Me?Ce.Buffer:void 0,Nt=(at?at.isBuffer:void 0)||bt;$.exports=Nt}),gt=/^(?:0|[1-9]\\d*)$/,Wt=function($,ne){var Me=m($);return!!(ne=ne==null?9007199254740991:ne)&&(Me==\"number\"||Me!=\"symbol\"&&gt.test($))&&$>-1&&$%1==0&&$<ne},xn=function($){return typeof $==\"number\"&&$>-1&&$%1==0&&$<=9007199254740991},Dt={};Dt[\"[object Float32Array]\"]=Dt[\"[object Float64Array]\"]=Dt[\"[object Int8Array]\"]=Dt[\"[object Int16Array]\"]=Dt[\"[object Int32Array]\"]=Dt[\"[object Uint8Array]\"]=Dt[\"[object Uint8ClampedArray]\"]=Dt[\"[object Uint16Array]\"]=Dt[\"[object Uint32Array]\"]=!0,Dt[\"[object Arguments]\"]=Dt[\"[object Array]\"]=Dt[\"[object ArrayBuffer]\"]=Dt[\"[object Boolean]\"]=Dt[\"[object DataView]\"]=Dt[\"[object Date]\"]=Dt[\"[object Error]\"]=Dt[\"[object Function]\"]=Dt[\"[object Map]\"]=Dt[\"[object Number]\"]=Dt[\"[object Object]\"]=Dt[\"[object RegExp]\"]=Dt[\"[object Set]\"]=Dt[\"[object String]\"]=Dt[\"[object WeakMap]\"]=!1;var Xn=function($){return function(ne){return $(ne)}},Rn=Te(function($,ne){var Me=ne&&!ne.nodeType&&ne,tt=Me&&$&&!$.nodeType&&$,at=tt&&tt.exports===Me&&ye.process,Nt=function(){try{return tt&&tt.require&&tt.require(\"util\").types||at&&at.binding&&at.binding(\"util\")}catch(Tt){}}();$.exports=Nt}),wt=Rn&&Rn.isTypedArray,pt=wt?Xn(wt):function($){return Wr($)&&xn($.length)&&!!Dt[fe($)]},Ue=Object.prototype.hasOwnProperty,xt=function($,ne){var Me=Gt($),tt=!Me&&gn($),at=!Me&&!tt&&Zt($),Nt=!Me&&!tt&&!at&&pt($),Tt=Me||tt||at||Nt,Jt=Tt?function(mr,Er){for(var Zr=-1,Yr=Array(mr);++Zr<mr;)Yr[Zr]=Er(Zr);return Yr}($.length,String):[],nn=Jt.length;for(var zn in $)!ne&&!Ue.call($,zn)||Tt&&(zn==\"length\"||at&&(zn==\"offset\"||zn==\"parent\")||Nt&&(zn==\"buffer\"||zn==\"byteLength\"||zn==\"byteOffset\")||Wt(zn,nn))||Jt.push(zn);return Jt},cn=Object.prototype,er=function($){var ne=$&&$.constructor;return $===(typeof ne==\"function\"&&ne.prototype||cn)},Mr=function($,ne){return function(Me){return $(ne(Me))}},xr=Mr(Object.keys,Object),jr=Object.prototype.hasOwnProperty,yo=function($){if(!er($))return xr($);var ne=[];for(var Me in Object($))jr.call($,Me)&&Me!=\"constructor\"&&ne.push(Me);return ne},eo=function($){return $!=null&&xn($.length)&&!be($)},vi=function($){return eo($)?xt($):yo($)},Ti=Object.prototype.hasOwnProperty,wi=function($){if(!_e($))return function(at){var Nt=[];if(at!=null)for(var Tt in Object(at))Nt.push(Tt);return Nt}($);var ne=er($),Me=[];for(var tt in $)(tt!=\"constructor\"||!ne&&Ti.call($,tt))&&Me.push(tt);return Me},mi=function($){return eo($)?xt($,!0):wi($)},Zi=Te(function($,ne){var Me=ne&&!ne.nodeType&&ne,tt=Me&&$&&!$.nodeType&&$,at=tt&&tt.exports===Me?Ce.Buffer:void 0,Nt=at?at.allocUnsafe:void 0;$.exports=function(Tt,Jt){if(Jt)return Tt.slice();var nn=Tt.length,zn=Nt?Nt(nn):new Tt.constructor(nn);return Tt.copy(zn),zn}}),aa=function($,ne){var Me=-1,tt=$.length;for(ne||(ne=Array(tt));++Me<tt;)ne[Me]=$[Me];return ne},$e=function($,ne){for(var Me=-1,tt=$==null?0:$.length,at=0,Nt=[];++Me<tt;){var Tt=$[Me];ne(Tt,Me,$)&&(Nt[at++]=Tt)}return Nt},dn=function(){return[]},Un=Object.prototype.propertyIsEnumerable,ar=Object.getOwnPropertySymbols,Rr=ar?function($){return $==null?[]:($=Object($),$e(ar($),function(ne){return Un.call($,ne)}))}:dn,Ro=function($,ne){for(var Me=-1,tt=ne.length,at=$.length;++Me<tt;)$[at+Me]=ne[Me];return $},Vo=Mr(Object.getPrototypeOf,Object),Co=Object.getOwnPropertySymbols?function($){for(var ne=[];$;)Ro(ne,Rr($)),$=Vo($);return ne}:dn,Mo=function($,ne,Me){var tt=ne($);return Gt($)?tt:Ro(tt,Me($))},qo=function($){return Mo($,vi,Rr)},ti=function($){return Mo($,mi,Co)},pi=rn(Ce,\"DataView\"),ni=rn(Ce,\"Promise\"),si=rn(Ce,\"Set\"),Oi=rn(Ce,\"WeakMap\"),Ki=Ve(pi),ca=Ve(qt),zi=Ve(ni),br=Ve(si),Re=Ve(Oi),je=fe;(pi&&je(new pi(new ArrayBuffer(1)))!=\"[object DataView]\"||qt&&je(new qt)!=\"[object Map]\"||ni&&je(ni.resolve())!=\"[object Promise]\"||si&&je(new si)!=\"[object Set]\"||Oi&&je(new Oi)!=\"[object WeakMap]\")&&(je=function($){var ne=fe($),Me=ne==\"[object Object]\"?$.constructor:void 0,tt=Me?Ve(Me):\"\";if(tt)switch(tt){case Ki:return\"[object DataView]\";case ca:return\"[object Map]\";case zi:return\"[object Promise]\";case br:return\"[object Set]\";case Re:return\"[object WeakMap]\"}return ne});var nt=je,rt=Object.prototype.hasOwnProperty,Xt=Ce.Uint8Array,fn=function($){var ne=new $.constructor($.byteLength);return new Xt(ne).set(new Xt($)),ne},Cn=/\\w*$/,Yn=oe?oe.prototype:void 0,Ae=Yn?Yn.valueOf:void 0,Ke=function($,ne){var Me=ne?fn($.buffer):$.buffer;return new $.constructor(Me,$.byteOffset,$.length)},Mt=function($,ne,Me){var tt=$.constructor;switch(ne){case\"[object ArrayBuffer]\":return fn($);case\"[object Boolean]\":case\"[object Date]\":return new tt(+$);case\"[object DataView]\":return function(at,Nt){var Tt=Nt?fn(at.buffer):at.buffer;return new at.constructor(Tt,at.byteOffset,at.byteLength)}($,Me);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 Ke($,Me);case\"[object Map]\":return new tt;case\"[object Number]\":case\"[object String]\":return new tt($);case\"[object RegExp]\":return function(at){var Nt=new at.constructor(at.source,Cn.exec(at));return Nt.lastIndex=at.lastIndex,Nt}($);case\"[object Set]\":return new tt;case\"[object Symbol]\":return function(at){return Ae?Object(Ae.call(at)):{}}($)}},Ut=Object.create,kn=function(){function $(){}return function(ne){if(!_e(ne))return{};if(Ut)return Ut(ne);$.prototype=ne;var Me=new $;return $.prototype=void 0,Me}}(),Zn=function($){return typeof $.constructor!=\"function\"||er($)?{}:kn(Vo($))},lr=Rn&&Rn.isMap,wr=lr?Xn(lr):function($){return Wr($)&&nt($)==\"[object Map]\"},Dr=Rn&&Rn.isSet,go=Dr?Xn(Dr):function($){return Wr($)&&nt($)==\"[object Set]\"},Ir={};Ir[\"[object Arguments]\"]=Ir[\"[object Array]\"]=Ir[\"[object ArrayBuffer]\"]=Ir[\"[object DataView]\"]=Ir[\"[object Boolean]\"]=Ir[\"[object Date]\"]=Ir[\"[object Float32Array]\"]=Ir[\"[object Float64Array]\"]=Ir[\"[object Int8Array]\"]=Ir[\"[object Int16Array]\"]=Ir[\"[object Int32Array]\"]=Ir[\"[object Map]\"]=Ir[\"[object Number]\"]=Ir[\"[object Object]\"]=Ir[\"[object RegExp]\"]=Ir[\"[object Set]\"]=Ir[\"[object String]\"]=Ir[\"[object Symbol]\"]=Ir[\"[object Uint8Array]\"]=Ir[\"[object Uint8ClampedArray]\"]=Ir[\"[object Uint16Array]\"]=Ir[\"[object Uint32Array]\"]=!0,Ir[\"[object Error]\"]=Ir[\"[object Function]\"]=Ir[\"[object WeakMap]\"]=!1;var Jr=function $(ne,Me,tt,at,Nt,Tt){var Jt,nn=1&Me,zn=2&Me,mr=4&Me;if(tt&&(Jt=Nt?tt(ne,at,Nt,Tt):tt(ne)),Jt!==void 0)return Jt;if(!_e(ne))return ne;var Er=Gt(ne);if(Er){if(Jt=function(xo){var lo=xo.length,Io=new xo.constructor(lo);return lo&&typeof xo[0]==\"string\"&&rt.call(xo,\"index\")&&(Io.index=xo.index,Io.input=xo.input),Io}(ne),!nn)return aa(ne,Jt)}else{var Zr=nt(ne),Yr=Zr==\"[object Function]\"||Zr==\"[object GeneratorFunction]\";if(Zt(ne))return Zi(ne,nn);if(Zr==\"[object Object]\"||Zr==\"[object Arguments]\"||Yr&&!Nt){if(Jt=zn||Yr?{}:Zn(ne),!nn)return zn?function(xo,lo){return zr(xo,Co(xo),lo)}(ne,function(xo,lo){return xo&&zr(lo,mi(lo),xo)}(Jt,ne)):function(xo,lo){return zr(xo,Rr(xo),lo)}(ne,function(xo,lo){return xo&&zr(lo,vi(lo),xo)}(Jt,ne))}else{if(!Ir[Zr])return Nt?ne:{};Jt=Mt(ne,Zr,nn)}}Tt||(Tt=new en);var So=Tt.get(ne);if(So)return So;Tt.set(ne,Jt),go(ne)?ne.forEach(function(xo){Jt.add($(xo,Me,tt,xo,ne,Tt))}):wr(ne)&&ne.forEach(function(xo,lo){Jt.set(lo,$(xo,Me,tt,lo,ne,Tt))});var Oo=Er?void 0:(mr?zn?ti:qo:zn?mi:vi)(ne);return Wn(Oo||ne,function(xo,lo){Oo&&(xo=ne[lo=xo]),pr(Jt,lo,$(xo,Me,tt,lo,ne,Tt))}),Jt},_o=function($){return function(){return $}},No=function($,ne,Me){for(var tt=-1,at=Object($),Nt=Me($),Tt=Nt.length;Tt--;){var Jt=Nt[++tt];if(ne(at[Jt],Jt,at)===!1)break}return $},ii=function($,ne){return $&&No($,ne,vi)},Lo=function($,ne){return function(Me,tt){if(Me==null)return Me;if(!eo(Me))return $(Me,tt);for(var at=Me.length,Nt=-1,Tt=Object(Me);++Nt<at&&tt(Tt[Nt],Nt,Tt)!==!1;);return Me}}(ii),ai=function($){return $},Si=function($){return typeof $==\"function\"?$:ai},Ui=function($,ne){return(Gt($)?Wn:Lo)($,Si(ne))},ln=Ui,mn=function($,ne){var Me=[];return Lo($,function(tt,at,Nt){ne(tt,at,Nt)&&Me.push(tt)}),Me};function fr($){var ne=-1,Me=$==null?0:$.length;for(this.__data__=new Fn;++ne<Me;)this.add($[ne])}fr.prototype.add=fr.prototype.push=function($){return this.__data__.set($,\"__lodash_hash_undefined__\"),this},fr.prototype.has=function($){return this.__data__.has($)};var ft=fr,ct=function($,ne){for(var Me=-1,tt=$==null?0:$.length;++Me<tt;)if(ne($[Me],Me,$))return!0;return!1},tn=function($,ne){return $.has(ne)},An=function($,ne,Me,tt,at,Nt){var Tt=1&Me,Jt=$.length,nn=ne.length;if(Jt!=nn&&!(Tt&&nn>Jt))return!1;var zn=Nt.get($),mr=Nt.get(ne);if(zn&&mr)return zn==ne&&mr==$;var Er=-1,Zr=!0,Yr=2&Me?new ft:void 0;for(Nt.set($,ne),Nt.set(ne,$);++Er<Jt;){var So=$[Er],Oo=ne[Er];if(tt)var xo=Tt?tt(Oo,So,Er,ne,$,Nt):tt(So,Oo,Er,$,ne,Nt);if(xo!==void 0){if(xo)continue;Zr=!1;break}if(Yr){if(!ct(ne,function(lo,Io){if(!tn(Yr,Io)&&(So===lo||at(So,lo,Me,tt,Nt)))return Yr.push(Io)})){Zr=!1;break}}else if(So!==Oo&&!at(So,Oo,Me,tt,Nt)){Zr=!1;break}}return Nt.delete($),Nt.delete(ne),Zr},Rt=function($){var ne=-1,Me=Array($.size);return $.forEach(function(tt,at){Me[++ne]=[at,tt]}),Me},un=function($){var ne=-1,Me=Array($.size);return $.forEach(function(tt){Me[++ne]=tt}),Me},Dn=oe?oe.prototype:void 0,dr=Dn?Dn.valueOf:void 0,Ar=function($,ne,Me,tt,at,Nt,Tt){switch(Me){case\"[object DataView]\":if($.byteLength!=ne.byteLength||$.byteOffset!=ne.byteOffset)return!1;$=$.buffer,ne=ne.buffer;case\"[object ArrayBuffer]\":return!($.byteLength!=ne.byteLength||!Nt(new Xt($),new Xt(ne)));case\"[object Boolean]\":case\"[object Date]\":case\"[object Number]\":return ee(+$,+ne);case\"[object Error]\":return $.name==ne.name&&$.message==ne.message;case\"[object RegExp]\":case\"[object String]\":return $==ne+\"\";case\"[object Map]\":var Jt=Rt;case\"[object Set]\":var nn=1&tt;if(Jt||(Jt=un),$.size!=ne.size&&!nn)return!1;var zn=Tt.get($);if(zn)return zn==ne;tt|=2,Tt.set($,ne);var mr=An(Jt($),Jt(ne),tt,at,Nt,Tt);return Tt.delete($),mr;case\"[object Symbol]\":if(dr)return dr.call($)==dr.call(ne)}return!1},Gr=Object.prototype.hasOwnProperty,Pr=Object.prototype.hasOwnProperty,Xr=function($,ne,Me,tt,at,Nt){var Tt=Gt($),Jt=Gt(ne),nn=Tt?\"[object Array]\":nt($),zn=Jt?\"[object Array]\":nt(ne),mr=(nn=nn==\"[object Arguments]\"?\"[object Object]\":nn)==\"[object Object]\",Er=(zn=zn==\"[object Arguments]\"?\"[object Object]\":zn)==\"[object Object]\",Zr=nn==zn;if(Zr&&Zt($)){if(!Zt(ne))return!1;Tt=!0,mr=!1}if(Zr&&!mr)return Nt||(Nt=new en),Tt||pt($)?An($,ne,Me,tt,at,Nt):Ar($,ne,nn,Me,tt,at,Nt);if(!(1&Me)){var Yr=mr&&Pr.call($,\"__wrapped__\"),So=Er&&Pr.call(ne,\"__wrapped__\");if(Yr||So){var Oo=Yr?$.value():$,xo=So?ne.value():ne;return Nt||(Nt=new en),at(Oo,xo,Me,tt,Nt)}}return!!Zr&&(Nt||(Nt=new en),function(lo,Io,Zo,xi,Ai,ci){var Ri=1&Zo,Ci=qo(lo),ua=Ci.length;if(ua!=qo(Io).length&&!Ri)return!1;for(var da=ua;da--;){var Da=Ci[da];if(!(Ri?Da in Io:Gr.call(Io,Da)))return!1}var as=ci.get(lo),ts=ci.get(Io);if(as&&ts)return as==Io&&ts==lo;var ka=!0;ci.set(lo,Io),ci.set(Io,lo);for(var uu=Ri;++da<ua;){var Su=lo[Da=Ci[da]],Js=Io[Da];if(xi)var Ws=Ri?xi(Js,Su,Da,Io,lo,ci):xi(Su,Js,Da,lo,Io,ci);if(!(Ws===void 0?Su===Js||Ai(Su,Js,Zo,xi,ci):Ws)){ka=!1;break}uu||(uu=Da==\"constructor\")}if(ka&&!uu){var Ru=lo.constructor,Iu=Io.constructor;Ru==Iu||!(\"constructor\"in lo)||!(\"constructor\"in Io)||typeof Ru==\"function\"&&Ru instanceof Ru&&typeof Iu==\"function\"&&Iu instanceof Iu||(ka=!1)}return ci.delete(lo),ci.delete(Io),ka}($,ne,Me,tt,at,Nt))},oo=function $(ne,Me,tt,at,Nt){return ne===Me||(ne==null||Me==null||!Wr(ne)&&!Wr(Me)?ne!=ne&&Me!=Me:Xr(ne,Me,tt,at,$,Nt))},io=function($){return $==$&&!_e($)},to=function($,ne){return function(Me){return Me!=null&&Me[$]===ne&&(ne!==void 0||$ in Object(Me))}},To=function($){var ne=function(Me){for(var tt=vi(Me),at=tt.length;at--;){var Nt=tt[at],Tt=Me[Nt];tt[at]=[Nt,Tt,io(Tt)]}return tt}($);return ne.length==1&&ne[0][2]?to(ne[0][0],ne[0][1]):function(Me){return Me===$||function(tt,at,Nt,Tt){var Jt=Nt.length,nn=Jt,zn=!Tt;if(tt==null)return!nn;for(tt=Object(tt);Jt--;){var mr=Nt[Jt];if(zn&&mr[2]?mr[1]!==tt[mr[0]]:!(mr[0]in tt))return!1}for(;++Jt<nn;){var Er=(mr=Nt[Jt])[0],Zr=tt[Er],Yr=mr[1];if(zn&&mr[2]){if(Zr===void 0&&!(Er in tt))return!1}else{var So=new en;if(Tt)var Oo=Tt(Zr,Yr,Er,tt,at,So);if(!(Oo===void 0?oo(Yr,Zr,3,Tt,So):Oo))return!1}}return!0}(Me,$,ne)}},jn=function($){return m($)==\"symbol\"||Wr($)&&fe($)==\"[object Symbol]\"},W=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,P=/^\\w*$/,k=function($,ne){if(Gt($))return!1;var Me=m($);return!(Me!=\"number\"&&Me!=\"symbol\"&&Me!=\"boolean\"&&$!=null&&!jn($))||P.test($)||!W.test($)||ne!=null&&$ in Object(ne)};function z($,ne){if(typeof $!=\"function\"||ne!=null&&typeof ne!=\"function\")throw new TypeError(\"Expected a function\");var Me=function tt(){var at=arguments,Nt=ne?ne.apply(this,at):at[0],Tt=tt.cache;if(Tt.has(Nt))return Tt.get(Nt);var Jt=$.apply(this,at);return tt.cache=Tt.set(Nt,Jt)||Tt,Jt};return Me.cache=new(z.Cache||Fn),Me}z.Cache=Fn;var Q,F=z,V=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g,U=/\\\\(\\\\)?/g,ge=function($){var ne=F(function(tt){var at=[];return tt.charCodeAt(0)===46&&at.push(\"\"),tt.replace(V,function(Nt,Tt,Jt,nn){at.push(Jt?nn.replace(U,\"$1\"):Tt||Nt)}),at},function(tt){return Me.size===500&&Me.clear(),tt}),Me=ne.cache;return ne}(),ke=function($,ne){for(var Me=-1,tt=$==null?0:$.length,at=Array(tt);++Me<tt;)at[Me]=ne($[Me],Me,$);return at},St=oe?oe.prototype:void 0,Je=St?St.toString:void 0,Ot=function($){return $==null?\"\":function ne(Me){if(typeof Me==\"string\")return Me;if(Gt(Me))return ke(Me,ne)+\"\";if(jn(Me))return Je?Je.call(Me):\"\";var tt=Me+\"\";return tt==\"0\"&&1/Me==-1/0?\"-0\":tt}($)},It=function($,ne){return Gt($)?$:k($,ne)?[$]:ge(Ot($))},jt=function($){if(typeof $==\"string\"||jn($))return $;var ne=$+\"\";return ne==\"0\"&&1/$==-1/0?\"-0\":ne},Vt=function($,ne){for(var Me=0,tt=(ne=It(ne,$)).length;$!=null&&Me<tt;)$=$[jt(ne[Me++])];return Me&&Me==tt?$:void 0},Pn=function($,ne){return $!=null&&ne in Object($)},Jn=function($,ne,Me){for(var tt=-1,at=(ne=It(ne,$)).length,Nt=!1;++tt<at;){var Tt=jt(ne[tt]);if(!(Nt=$!=null&&Me($,Tt)))break;$=$[Tt]}return Nt||++tt!=at?Nt:!!(at=$==null?0:$.length)&&xn(at)&&Wt(Tt,at)&&(Gt($)||gn($))},vn=function($,ne){return $!=null&&Jn($,ne,Pn)},Vn=function($,ne){return k($)&&io(ne)?to(jt($),ne):function(Me){var tt=function(at,Nt,Tt){var Jt=at==null?void 0:Vt(at,Nt);return Jt===void 0?Tt:Jt}(Me,$);return tt===void 0&&tt===ne?vn(Me,$):oo(ne,tt,3)}},zt=function($){return function(ne){return ne==null?void 0:ne[$]}},ir=function($){return k($)?zt(jt($)):function(ne){return function(Me){return Vt(Me,ne)}}($)},nr=function($){return typeof $==\"function\"?$:$==null?ai:m($)==\"object\"?Gt($)?Vn($[0],$[1]):To($):ir($)},ur=function($,ne){return(Gt($)?$e:mn)($,nr(ne))},sr=Object.prototype.hasOwnProperty,Ln=function($,ne){return $!=null&&sr.call($,ne)},Bt=function($,ne){return $!=null&&Jn($,ne,Ln)},En=Object.prototype.hasOwnProperty,_n=function($){return $===void 0},cr=function($,ne){var Me=-1,tt=eo($)?Array($.length):[];return Lo($,function(at,Nt,Tt){tt[++Me]=ne(at,Nt,Tt)}),tt},ao=function($,ne){return(Gt($)?ke:cr)($,nr(ne))},kr=function($,ne,Me,tt){var at=-1,Nt=$==null?0:$.length;for(tt&&Nt&&(Me=$[++at]);++at<Nt;)Me=ne(Me,$[at],at,$);return Me},jo=function($,ne,Me,tt,at){return at($,function(Nt,Tt,Jt){Me=tt?(tt=!1,Nt):ne(Me,Nt,Tt,Jt)}),Me},ui=function($,ne,Me){var tt=Gt($)?kr:jo,at=arguments.length<3;return tt($,nr(ne),Me,at,Lo)},Vr=zt(\"length\"),ho=RegExp(\"[\\\\u200d\\\\ud800-\\\\udfff\\\\u0300-\\\\u036f\\\\ufe20-\\\\ufe2f\\\\u20d0-\\\\u20ff\\\\ufe0e\\\\ufe0f]\"),vo=\"[\\\\u0300-\\\\u036f\\\\ufe20-\\\\ufe2f\\\\u20d0-\\\\u20ff]\",uo=\"\\\\ud83c[\\\\udffb-\\\\udfff]\",Go=\"[^\\\\ud800-\\\\udfff]\",Pi=\"(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}\",la=\"[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]\",Vi=\"(?:\"+vo+\"|\"+uo+\")?\",ha=\"[\\\\ufe0e\\\\ufe0f]?\"+Vi+\"(?:\\\\u200d(?:\"+[Go,Pi,la].join(\"|\")+\")[\\\\ufe0e\\\\ufe0f]?\"+Vi+\")*\",xa=\"(?:\"+[Go+vo+\"?\",vo,Pi,la,\"[\\\\ud800-\\\\udfff]\"].join(\"|\")+\")\",qi=RegExp(uo+\"(?=\"+uo+\")|\"+xa+ha,\"g\"),Jo=function($){return function(ne){return ho.test(ne)}($)?function(ne){for(var Me=qi.lastIndex=0;qi.test(ne);)++Me;return Me}($):Vr($)},Ji=oe?oe.isConcatSpreadable:void 0,Yi=function($){return Gt($)||gn($)||!!(Ji&&$&&$[Ji])},Ii=function $(ne,Me,tt,at,Nt){var Tt=-1,Jt=ne.length;for(tt||(tt=Yi),Nt||(Nt=[]);++Tt<Jt;){var nn=ne[Tt];Me>0&&tt(nn)?Me>1?$(nn,Me-1,tt,at,Nt):Ro(Nt,nn):at||(Nt[Nt.length]=nn)}return Nt},pa=function($,ne,Me){switch(Me.length){case 0:return $.call(ne);case 1:return $.call(ne,Me[0]);case 2:return $.call(ne,Me[0],Me[1]);case 3:return $.call(ne,Me[0],Me[1],Me[2])}return $.apply(ne,Me)},na=Math.max,$i=function($,ne,Me){return ne=na(ne===void 0?$.length-1:ne,0),function(){for(var tt=arguments,at=-1,Nt=na(tt.length-ne,0),Tt=Array(Nt);++at<Nt;)Tt[at]=tt[ne+at];at=-1;for(var Jt=Array(ne+1);++at<ne;)Jt[at]=tt[at];return Jt[ne]=Me(Tt),pa($,this,Jt)}},La=Mn?function($,ne){return Mn($,\"toString\",{configurable:!0,enumerable:!1,value:_o(ne),writable:!0})}:ai,ss=Date.now,Oa=function($){var ne=0,Me=0;return function(){var tt=ss(),at=16-(tt-Me);if(Me=tt,at>0){if(++ne>=800)return arguments[0]}else ne=0;return $.apply(void 0,arguments)}}(La),Ma=function($,ne){return Oa($i($,ne,ai),$+\"\")},Ka=function($,ne,Me,tt){for(var at=$.length,Nt=Me+(tt?1:-1);tt?Nt--:++Nt<at;)if(ne($[Nt],Nt,$))return Nt;return-1},Ba=function($){return $!=$},Ua=function($,ne){return!($==null||!$.length)&&function(Me,tt,at){return tt==tt?function(Nt,Tt,Jt){for(var nn=Jt-1,zn=Nt.length;++nn<zn;)if(Nt[nn]===Tt)return nn;return-1}(Me,tt,at):Ka(Me,Ba,at)}($,ne,0)>-1},Va=function($,ne,Me){for(var tt=-1,at=$==null?0:$.length;++tt<at;)if(Me(ne,$[tt]))return!0;return!1},Ls=si&&1/un(new si([,-0]))[1]==1/0?function($){return new si($)}:function(){},Qo=function($){return Wr($)&&eo($)},ws=Ma(function($){return function(ne,Me,tt){var at=-1,Nt=Ua,Tt=ne.length,Jt=!0,nn=[],zn=nn;if(tt)Jt=!1,Nt=Va;else if(Tt>=200){var mr=Me?null:Ls(ne);if(mr)return un(mr);Jt=!1,Nt=tn,zn=new ft}else zn=Me?[]:nn;e:for(;++at<Tt;){var Er=ne[at],Zr=Me?Me(Er):Er;if(Er=tt||Er!==0?Er:0,Jt&&Zr==Zr){for(var Yr=zn.length;Yr--;)if(zn[Yr]===Zr)continue e;Me&&zn.push(Zr),nn.push(Er)}else Nt(zn,Zr,tt)||(zn!==nn&&zn.push(Zr),nn.push(Er))}return nn}(Ii($,1,Qo,!0))}),Za=function($){return $==null?[]:function(ne,Me){return ke(Me,function(tt){return ne[tt]})}($,vi($))};try{Q={clone:function($){return Jr($,4)},constant:_o,each:ln,filter:ur,has:Bt,isArray:Gt,isEmpty:function($){if($==null)return!0;if(eo($)&&(Gt($)||typeof $==\"string\"||typeof $.splice==\"function\"||Zt($)||pt($)||gn($)))return!$.length;var ne=nt($);if(ne==\"[object Map]\"||ne==\"[object Set]\")return!$.size;if(er($))return!yo($).length;for(var Me in $)if(En.call($,Me))return!1;return!0},isFunction:be,isUndefined:_n,keys:vi,map:ao,reduce:ui,size:function($){if($==null)return 0;if(eo($))return function(Me){return typeof Me==\"string\"||!Gt(Me)&&Wr(Me)&&fe(Me)==\"[object String]\"}($)?Jo($):$.length;var ne=nt($);return ne==\"[object Map]\"||ne==\"[object Set]\"?$.size:yo($).length},transform:function($,ne,Me){var tt=Gt($),at=tt||Zt($)||pt($);if(ne=nr(ne),Me==null){var Nt=$&&$.constructor;Me=at?tt?new Nt:[]:_e($)&&be(Nt)?kn(Vo($)):{}}return(at?Wn:ii)($,function(Tt,Jt,nn){return ne(Me,Tt,Jt,nn)}),Me},union:ws,values:Za}}catch($){}Q||(Q=window._);var rr=Q,Eo=Br;function Br($){this._isDirected=!rr.has($,\"directed\")||$.directed,this._isMultigraph=!!rr.has($,\"multigraph\")&&$.multigraph,this._isCompound=!!rr.has($,\"compound\")&&$.compound,this._label=void 0,this._defaultNodeLabelFn=rr.constant(void 0),this._defaultEdgeLabelFn=rr.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 Ao($,ne){$[ne]?$[ne]++:$[ne]=1}function Di($,ne){--$[ne]||delete $[ne]}function Aa($,ne,Me,tt){var at=\"\"+ne,Nt=\"\"+Me;if(!$&&at>Nt){var Tt=at;at=Nt,Nt=Tt}return at+\"\u0001\"+Nt+\"\u0001\"+(rr.isUndefined(tt)?\"\\0\":tt)}function Na($,ne,Me,tt){var at=\"\"+ne,Nt=\"\"+Me;if(!$&&at>Nt){var Tt=at;at=Nt,Nt=Tt}var Jt={v:at,w:Nt};return tt&&(Jt.name=tt),Jt}function Fa($,ne){return Aa($,ne.v,ne.w,ne.name)}Br.prototype._nodeCount=0,Br.prototype._edgeCount=0,Br.prototype.isDirected=function(){return this._isDirected},Br.prototype.isMultigraph=function(){return this._isMultigraph},Br.prototype.isCompound=function(){return this._isCompound},Br.prototype.setGraph=function($){return this._label=$,this},Br.prototype.graph=function(){return this._label},Br.prototype.setDefaultNodeLabel=function($){return rr.isFunction($)||($=rr.constant($)),this._defaultNodeLabelFn=$,this},Br.prototype.nodeCount=function(){return this._nodeCount},Br.prototype.nodes=function(){return rr.keys(this._nodes)},Br.prototype.sources=function(){var $=this;return rr.filter(this.nodes(),function(ne){return rr.isEmpty($._in[ne])})},Br.prototype.sinks=function(){var $=this;return rr.filter(this.nodes(),function(ne){return rr.isEmpty($._out[ne])})},Br.prototype.setNodes=function($,ne){var Me=arguments,tt=this;return rr.each($,function(at){Me.length>1?tt.setNode(at,ne):tt.setNode(at)}),this},Br.prototype.setNode=function($,ne){return rr.has(this._nodes,$)?(arguments.length>1&&(this._nodes[$]=ne),this):(this._nodes[$]=arguments.length>1?ne:this._defaultNodeLabelFn($),this._isCompound&&(this._parent[$]=\"\\0\",this._children[$]={},this._children[\"\\0\"][$]=!0),this._in[$]={},this._preds[$]={},this._out[$]={},this._sucs[$]={},++this._nodeCount,this)},Br.prototype.node=function($){return this._nodes[$]},Br.prototype.hasNode=function($){return rr.has(this._nodes,$)},Br.prototype.removeNode=function($){var ne=this;if(rr.has(this._nodes,$)){var Me=function(tt){ne.removeEdge(ne._edgeObjs[tt])};delete this._nodes[$],this._isCompound&&(this._removeFromParentsChildList($),delete this._parent[$],rr.each(this.children($),function(tt){ne.setParent(tt)}),delete this._children[$]),rr.each(rr.keys(this._in[$]),Me),delete this._in[$],delete this._preds[$],rr.each(rr.keys(this._out[$]),Me),delete this._out[$],delete this._sucs[$],--this._nodeCount}return this},Br.prototype.setParent=function($,ne){if(!this._isCompound)throw new Error(\"Cannot set parent in a non-compound graph\");if(rr.isUndefined(ne))ne=\"\\0\";else{for(var Me=ne+=\"\";!rr.isUndefined(Me);Me=this.parent(Me))if(Me===$)throw new Error(\"Setting \"+ne+\" as parent of \"+$+\" would create a cycle\");this.setNode(ne)}return this.setNode($),this._removeFromParentsChildList($),this._parent[$]=ne,this._children[ne][$]=!0,this},Br.prototype._removeFromParentsChildList=function($){delete this._children[this._parent[$]][$]},Br.prototype.parent=function($){if(this._isCompound){var ne=this._parent[$];if(ne!==\"\\0\")return ne}},Br.prototype.children=function($){if(rr.isUndefined($)&&($=\"\\0\"),this._isCompound){var ne=this._children[$];if(ne)return rr.keys(ne)}else{if($===\"\\0\")return this.nodes();if(this.hasNode($))return[]}},Br.prototype.predecessors=function($){var ne=this._preds[$];if(ne)return rr.keys(ne)},Br.prototype.successors=function($){var ne=this._sucs[$];if(ne)return rr.keys(ne)},Br.prototype.neighbors=function($){var ne=this.predecessors($);if(ne)return rr.union(ne,this.successors($))},Br.prototype.isLeaf=function($){return(this.isDirected()?this.successors($):this.neighbors($)).length===0},Br.prototype.filterNodes=function($){var ne=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});ne.setGraph(this.graph());var Me=this;rr.each(this._nodes,function(at,Nt){$(Nt)&&ne.setNode(Nt,at)}),rr.each(this._edgeObjs,function(at){ne.hasNode(at.v)&&ne.hasNode(at.w)&&ne.setEdge(at,Me.edge(at))});var tt={};return this._isCompound&&rr.each(ne.nodes(),function(at){ne.setParent(at,function Nt(Tt){var Jt=Me.parent(Tt);return Jt===void 0||ne.hasNode(Jt)?(tt[Tt]=Jt,Jt):Jt in tt?tt[Jt]:Nt(Jt)}(at))}),ne},Br.prototype.setDefaultEdgeLabel=function($){return rr.isFunction($)||($=rr.constant($)),this._defaultEdgeLabelFn=$,this},Br.prototype.edgeCount=function(){return this._edgeCount},Br.prototype.edges=function(){return rr.values(this._edgeObjs)},Br.prototype.setPath=function($,ne){var Me=this,tt=arguments;return rr.reduce($,function(at,Nt){return tt.length>1?Me.setEdge(at,Nt,ne):Me.setEdge(at,Nt),Nt}),this},Br.prototype.setEdge=function(){var $,ne,Me,tt,at=!1,Nt=arguments[0];m(Nt)==\"object\"&&Nt!==null&&\"v\"in Nt?($=Nt.v,ne=Nt.w,Me=Nt.name,arguments.length===2&&(tt=arguments[1],at=!0)):($=Nt,ne=arguments[1],Me=arguments[3],arguments.length>2&&(tt=arguments[2],at=!0)),$=\"\"+$,ne=\"\"+ne,rr.isUndefined(Me)||(Me=\"\"+Me);var Tt=Aa(this._isDirected,$,ne,Me);if(rr.has(this._edgeLabels,Tt))return at&&(this._edgeLabels[Tt]=tt),this;if(!rr.isUndefined(Me)&&!this._isMultigraph)throw new Error(\"Cannot set a named edge when isMultigraph = false\");this.setNode($),this.setNode(ne),this._edgeLabels[Tt]=at?tt:this._defaultEdgeLabelFn($,ne,Me);var Jt=Na(this._isDirected,$,ne,Me);return $=Jt.v,ne=Jt.w,Object.freeze(Jt),this._edgeObjs[Tt]=Jt,Ao(this._preds[ne],$),Ao(this._sucs[$],ne),this._in[ne][Tt]=Jt,this._out[$][Tt]=Jt,this._edgeCount++,this},Br.prototype.edge=function($,ne,Me){var tt=arguments.length===1?Fa(this._isDirected,arguments[0]):Aa(this._isDirected,$,ne,Me);return this._edgeLabels[tt]},Br.prototype.hasEdge=function($,ne,Me){var tt=arguments.length===1?Fa(this._isDirected,arguments[0]):Aa(this._isDirected,$,ne,Me);return rr.has(this._edgeLabels,tt)},Br.prototype.removeEdge=function($,ne,Me){var tt=arguments.length===1?Fa(this._isDirected,arguments[0]):Aa(this._isDirected,$,ne,Me),at=this._edgeObjs[tt];return at&&($=at.v,ne=at.w,delete this._edgeLabels[tt],delete this._edgeObjs[tt],Di(this._preds[ne],$),Di(this._sucs[$],ne),delete this._in[ne][tt],delete this._out[$][tt],this._edgeCount--),this},Br.prototype.inEdges=function($,ne){var Me=this._in[$];if(Me){var tt=rr.values(Me);return ne?rr.filter(tt,function(at){return at.v===ne}):tt}},Br.prototype.outEdges=function($,ne){var Me=this._out[$];if(Me){var tt=rr.values(Me);return ne?rr.filter(tt,function(at){return at.w===ne}):tt}},Br.prototype.nodeEdges=function($,ne){var Me=this.inEdges($,ne);if(Me)return Me.concat(this.outEdges($,ne))};var Bs={Graph:Eo,version:\"2.1.8\"},Ms={write:function($){var ne={options:{directed:$.isDirected(),multigraph:$.isMultigraph(),compound:$.isCompound()},nodes:Qa($),edges:us($)};return rr.isUndefined($.graph())||(ne.value=rr.clone($.graph())),ne},read:function($){var ne=new Eo($.options).setGraph($.value);return rr.each($.nodes,function(Me){ne.setNode(Me.v,Me.value),Me.parent&&ne.setParent(Me.v,Me.parent)}),rr.each($.edges,function(Me){ne.setEdge({v:Me.v,w:Me.w,name:Me.name},Me.value)}),ne}};function Qa($){return rr.map($.nodes(),function(ne){var Me=$.node(ne),tt=$.parent(ne),at={v:ne};return rr.isUndefined(Me)||(at.value=Me),rr.isUndefined(tt)||(at.parent=tt),at})}function us($){return rr.map($.edges(),function(ne){var Me=$.edge(ne),tt={v:ne.v,w:ne.w};return rr.isUndefined(ne.name)||(tt.name=ne.name),rr.isUndefined(Me)||(tt.value=Me),tt})}var Fs=$a;function $a(){this._arr=[],this._keyIndices={}}$a.prototype.size=function(){return this._arr.length},$a.prototype.keys=function(){return this._arr.map(function($){return $.key})},$a.prototype.has=function($){return rr.has(this._keyIndices,$)},$a.prototype.priority=function($){var ne=this._keyIndices[$];if(ne!==void 0)return this._arr[ne].priority},$a.prototype.min=function(){if(this.size()===0)throw new Error(\"Queue underflow\");return this._arr[0].key},$a.prototype.add=function($,ne){var Me=this._keyIndices;if($=String($),!rr.has(Me,$)){var tt=this._arr,at=tt.length;return Me[$]=at,tt.push({key:$,priority:ne}),this._decrease(at),!0}return!1},$a.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var $=this._arr.pop();return delete this._keyIndices[$.key],this._heapify(0),$.key},$a.prototype.decrease=function($,ne){var Me=this._keyIndices[$];if(ne>this._arr[Me].priority)throw new Error(\"New priority is greater than current priority. Key: \"+$+\" Old: \"+this._arr[Me].priority+\" New: \"+ne);this._arr[Me].priority=ne,this._decrease(Me)},$a.prototype._heapify=function($){var ne=this._arr,Me=2*$,tt=Me+1,at=$;Me<ne.length&&(at=ne[Me].priority<ne[at].priority?Me:at,tt<ne.length&&(at=ne[tt].priority<ne[at].priority?tt:at),at!==$&&(this._swap($,at),this._heapify(at)))},$a.prototype._decrease=function($){for(var ne,Me=this._arr,tt=Me[$].priority;$!==0&&!(Me[ne=$>>1].priority<tt);)this._swap($,ne),$=ne},$a.prototype._swap=function($,ne){var Me=this._arr,tt=this._keyIndices,at=Me[$],Nt=Me[ne];Me[$]=Nt,Me[ne]=at,tt[Nt.key]=$,tt[at.key]=ne};var Hs=function($,ne,Me,tt){return function(at,Nt,Tt,Jt){var nn,zn,mr={},Er=new Fs,Zr=function(Yr){var So=Yr.v!==nn?Yr.v:Yr.w,Oo=mr[So],xo=Tt(Yr),lo=zn.distance+xo;if(xo<0)throw new Error(\"dijkstra does not allow negative edge weights. Bad edge: \"+Yr+\" Weight: \"+xo);lo<Oo.distance&&(Oo.distance=lo,Oo.predecessor=nn,Er.decrease(So,lo))};for(at.nodes().forEach(function(Yr){var So=Yr===Nt?0:Number.POSITIVE_INFINITY;mr[Yr]={distance:So},Er.add(Yr,So)});Er.size()>0&&(nn=Er.removeMin(),(zn=mr[nn]).distance!==Number.POSITIVE_INFINITY);)Jt(nn).forEach(Zr);return mr}($,String(ne),Me||ys,tt||function(at){return $.outEdges(at)})},ys=rr.constant(1),sa=function($){var ne=0,Me=[],tt={},at=[];function Nt(Tt){var Jt=tt[Tt]={onStack:!0,lowlink:ne,index:ne++};if(Me.push(Tt),$.successors(Tt).forEach(function(mr){rr.has(tt,mr)?tt[mr].onStack&&(Jt.lowlink=Math.min(Jt.lowlink,tt[mr].index)):(Nt(mr),Jt.lowlink=Math.min(Jt.lowlink,tt[mr].lowlink))}),Jt.lowlink===Jt.index){var nn,zn=[];do nn=Me.pop(),tt[nn].onStack=!1,zn.push(nn);while(Tt!==nn);at.push(zn)}}return $.nodes().forEach(function(Tt){rr.has(tt,Tt)||Nt(Tt)}),at},Xa=rr.constant(1),os=As;function As($){var ne={},Me={},tt=[];if(rr.each($.sinks(),function at(Nt){if(rr.has(Me,Nt))throw new oa;rr.has(ne,Nt)||(Me[Nt]=!0,ne[Nt]=!0,rr.each($.predecessors(Nt),at),delete Me[Nt],tt.push(Nt))}),rr.size(ne)!==$.nodeCount())throw new oa;return tt}function oa(){}As.CycleException=oa,oa.prototype=new Error;var di=function($,ne,Me){rr.isArray(ne)||(ne=[ne]);var tt=($.isDirected()?$.successors:$.neighbors).bind($),at=[],Nt={};return rr.each(ne,function(Tt){if(!$.hasNode(Tt))throw new Error(\"Graph does not have node: \"+Tt);(function Jt(nn,zn,mr,Er,Zr,Yr){rr.has(Er,zn)||(Er[zn]=!0,mr||Yr.push(zn),rr.each(Zr(zn),function(So){Jt(nn,So,mr,Er,Zr,Yr)}),mr&&Yr.push(zn))})($,Tt,Me===\"post\",Nt,tt,at)}),at},ia,_i={Graph:Bs.Graph,json:Ms,alg:{components:function($){var ne,Me={},tt=[];function at(Nt){rr.has(Me,Nt)||(Me[Nt]=!0,ne.push(Nt),rr.each($.successors(Nt),at),rr.each($.predecessors(Nt),at))}return rr.each($.nodes(),function(Nt){ne=[],at(Nt),ne.length&&tt.push(ne)}),tt},dijkstra:Hs,dijkstraAll:function($,ne,Me){return rr.transform($.nodes(),function(tt,at){tt[at]=Hs($,at,ne,Me)},{})},findCycles:function($){return rr.filter(sa($),function(ne){return ne.length>1||ne.length===1&&$.hasEdge(ne[0],ne[0])})},floydWarshall:function($,ne,Me){return function(tt,at,Nt){var Tt={},Jt=tt.nodes();return Jt.forEach(function(nn){Tt[nn]={},Tt[nn][nn]={distance:0},Jt.forEach(function(zn){nn!==zn&&(Tt[nn][zn]={distance:Number.POSITIVE_INFINITY})}),Nt(nn).forEach(function(zn){var mr=zn.v===nn?zn.w:zn.v,Er=at(zn);Tt[nn][mr]={distance:Er,predecessor:nn}})}),Jt.forEach(function(nn){var zn=Tt[nn];Jt.forEach(function(mr){var Er=Tt[mr];Jt.forEach(function(Zr){var Yr=Er[nn],So=zn[Zr],Oo=Er[Zr],xo=Yr.distance+So.distance;xo<Oo.distance&&(Oo.distance=xo,Oo.predecessor=So.predecessor)})})}),Tt}($,ne||Xa,Me||function(tt){return $.outEdges(tt)})},isAcyclic:function($){try{os($)}catch(ne){if(ne instanceof os.CycleException)return!1;throw ne}return!0},postorder:function($,ne){return di($,ne,\"post\")},preorder:function($,ne){return di($,ne,\"pre\")},prim:function($,ne){var Me,tt=new Eo,at={},Nt=new Fs;function Tt(nn){var zn=nn.v===Me?nn.w:nn.v,mr=Nt.priority(zn);if(mr!==void 0){var Er=ne(nn);Er<mr&&(at[zn]=Me,Nt.decrease(zn,Er))}}if($.nodeCount()===0)return tt;rr.each($.nodes(),function(nn){Nt.add(nn,Number.POSITIVE_INFINITY),tt.setNode(nn)}),Nt.decrease($.nodes()[0],0);for(var Jt=!1;Nt.size()>0;){if(Me=Nt.removeMin(),rr.has(at,Me))tt.setEdge(Me,at[Me]);else{if(Jt)throw new Error(\"Input graph is not connected: \"+$);Jt=!0}$.nodeEdges(Me).forEach(Tt)}return tt},tarjan:sa,topsort:os},version:Bs.version};try{ia=_i}catch($){}ia||(ia=window.graphlib);var gi,fa=ia,Pa=function($,ne,Me){if(!_e(Me))return!1;var tt=m(ne);return!!(tt==\"number\"?eo(Me)&&Wt(ne,Me.length):tt==\"string\"&&ne in Me)&&ee(Me[ne],$)},xs=Object.prototype,Li=xs.hasOwnProperty,vs=Ma(function($,ne){$=Object($);var Me=-1,tt=ne.length,at=tt>2?ne[2]:void 0;for(at&&Pa(ne[0],ne[1],at)&&(tt=1);++Me<tt;)for(var Nt=ne[Me],Tt=mi(Nt),Jt=-1,nn=Tt.length;++Jt<nn;){var zn=Tt[Jt],mr=$[zn];(mr===void 0||ee(mr,xs[zn])&&!Li.call($,zn))&&($[zn]=Nt[zn])}return $}),Ca=/^\\s+|\\s+$/g,ra=/^[-+]0x[0-9a-f]+$/i,Ja=/^0b[01]+$/i,qa=/^0o[0-7]+$/i,Ts=parseInt,v=function($){return $?1/0===($=function(ne){if(typeof ne==\"number\")return ne;if(jn(ne))return NaN;if(_e(ne)){var Me=typeof ne.valueOf==\"function\"?ne.valueOf():ne;ne=_e(Me)?Me+\"\":Me}if(typeof ne!=\"string\")return ne===0?ne:+ne;ne=ne.replace(Ca,\"\");var tt=Ja.test(ne);return tt||qa.test(ne)?Ts(ne.slice(2),tt?2:8):ra.test(ne)?NaN:+ne}($))||-1/0===$?17976931348623157e292*($<0?-1:1):$==$?$:0:$===0?$:0},G=Math.max,ze=function($){return function(ne,Me,tt){var at=Object(ne);if(!eo(ne)){var Nt=nr(Me);ne=vi(ne),Me=function(Jt){return Nt(at[Jt],Jt,at)}}var Tt=$(ne,Me,tt);return Tt>-1?at[Nt?ne[Tt]:Tt]:void 0}}(function($,ne,Me){var tt=$==null?0:$.length;if(!tt)return-1;var at=Me==null?0:function(Nt){var Tt=v(Nt),Jt=Tt%1;return Tt==Tt?Jt?Tt-Jt:Tt:0}(Me);return at<0&&(at=G(tt+at,0)),Ka($,nr(ne),at)}),ut=function($){return $!=null&&$.length?Ii($,1):[]},_t=function($,ne,Me){for(var tt=-1,at=$.length;++tt<at;){var Nt=$[tt],Tt=ne(Nt);if(Tt!=null&&(Jt===void 0?Tt==Tt&&!jn(Tt):Me(Tt,Jt)))var Jt=Tt,nn=Nt}return nn},Ht=function($,ne){return $>ne},$t=function($,ne,Me){(Me!==void 0&&!ee($[ne],Me)||Me===void 0&&!(ne in $))&&Kn($,ne,Me)},wn=Function.prototype,On=Object.prototype,$n=wn.toString,gr=On.hasOwnProperty,Fr=$n.call(Object),Qr=function($,ne){if((ne!==\"constructor\"||typeof $[ne]!=\"function\")&&ne!=\"__proto__\")return $[ne]},qr=function($,ne,Me,tt,at,Nt,Tt){var Jt=Qr($,Me),nn=Qr(ne,Me),zn=Tt.get(nn);if(zn)$t($,Me,zn);else{var mr=Nt?Nt(Jt,nn,Me+\"\",$,ne,Tt):void 0,Er=mr===void 0;if(Er){var Zr=Gt(nn),Yr=!Zr&&Zt(nn),So=!Zr&&!Yr&&pt(nn);mr=nn,Zr||Yr||So?Gt(Jt)?mr=Jt:Qo(Jt)?mr=aa(Jt):Yr?(Er=!1,mr=Zi(nn,!0)):So?(Er=!1,mr=Ke(nn,!0)):mr=[]:function(Oo){if(!Wr(Oo)||fe(Oo)!=\"[object Object]\")return!1;var xo=Vo(Oo);if(xo===null)return!0;var lo=gr.call(xo,\"constructor\")&&xo.constructor;return typeof lo==\"function\"&&lo instanceof lo&&$n.call(lo)==Fr}(nn)||gn(nn)?(mr=Jt,gn(Jt)?mr=function(Oo){return zr(Oo,mi(Oo))}(Jt):_e(Jt)&&!be(Jt)||(mr=Zn(nn))):Er=!1}Er&&(Tt.set(nn,mr),at(mr,nn,tt,Nt,Tt),Tt.delete(nn)),$t($,Me,mr)}},mo=function($){return Ma(function(ne,Me){var tt=-1,at=Me.length,Nt=at>1?Me[at-1]:void 0,Tt=at>2?Me[2]:void 0;for(Nt=$.length>3&&typeof Nt==\"function\"?(at--,Nt):void 0,Tt&&Pa(Me[0],Me[1],Tt)&&(Nt=at<3?void 0:Nt,at=1),ne=Object(ne);++tt<at;){var Jt=Me[tt];Jt&&$(ne,Jt,tt)}return ne})}(function($,ne,Me){(function tt(at,Nt,Tt,Jt,nn){at!==Nt&&No(Nt,function(zn,mr){if(nn||(nn=new en),_e(zn))qr(at,Nt,mr,Tt,tt,Jt,nn);else{var Er=Jt?Jt(Qr(at,mr),zn,mr+\"\",at,Nt,nn):void 0;Er===void 0&&(Er=zn),$t(at,mr,Er)}},mi)})($,ne,Me)}),Ho=function($,ne){return $<ne},fo=function($,ne,Me,tt){if(!_e($))return $;for(var at=-1,Nt=(ne=It(ne,$)).length,Tt=Nt-1,Jt=$;Jt!=null&&++at<Nt;){var nn=jt(ne[at]),zn=Me;if(nn===\"__proto__\"||nn===\"constructor\"||nn===\"prototype\")return $;if(at!=Tt){var mr=Jt[nn];(zn=tt?tt(mr,nn,Jt):void 0)===void 0&&(zn=_e(mr)?mr:Wt(ne[at+1])?[]:{})}pr(Jt,nn,zn),Jt=Jt[nn]}return $},ei=function($,ne){return function(Me,tt,at){for(var Nt=-1,Tt=tt.length,Jt={};++Nt<Tt;){var nn=tt[Nt],zn=Vt(Me,nn);at(zn,nn)&&fo(Jt,It(nn,Me),zn)}return Jt}($,ne,function(Me,tt){return vn($,tt)})},ea=function($){return Oa($i($,void 0,ut),$+\"\")}(function($,ne){return $==null?{}:ei($,ne)}),Xi=Math.ceil,hi=Math.max,Yo=function($,ne,Me){return Me&&typeof Me!=\"number\"&&Pa($,ne,Me)&&(ne=Me=void 0),$=v($),ne===void 0?(ne=$,$=0):ne=v(ne),function(tt,at,Nt,Tt){for(var Jt=-1,nn=hi(Xi((at-tt)/(Nt||1)),0),zn=Array(nn);nn--;)zn[Tt?nn:++Jt]=tt,tt+=Nt;return zn}($,ne,Me=Me===void 0?$<ne?1:-1:v(Me),void 0)},Bi=function($,ne){if($!==ne){var Me=$!==void 0,tt=$===null,at=$==$,Nt=jn($),Tt=ne!==void 0,Jt=ne===null,nn=ne==ne,zn=jn(ne);if(!Jt&&!zn&&!Nt&&$>ne||Nt&&Tt&&nn&&!Jt&&!zn||tt&&Tt&&nn||!Me&&nn||!at)return 1;if(!tt&&!Nt&&!zn&&$<ne||zn&&Me&&at&&!tt&&!Nt||Jt&&Me&&at||!Tt&&at||!nn)return-1}return 0},_a=function($,ne,Me){ne=ne.length?ke(ne,function(at){return Gt(at)?function(Nt){return Vt(Nt,at.length===1?at[0]:at)}:at}):[ai];var tt=-1;return ne=ke(ne,Xn(nr)),function(at,Nt){var Tt=at.length;for(at.sort(Nt);Tt--;)at[Tt]=at[Tt].value;return at}(cr($,function(at,Nt,Tt){return{criteria:ke(ne,function(Jt){return Jt(at)}),index:++tt,value:at}}),function(at,Nt){return function(Tt,Jt,nn){for(var zn=-1,mr=Tt.criteria,Er=Jt.criteria,Zr=mr.length,Yr=nn.length;++zn<Zr;){var So=Bi(mr[zn],Er[zn]);if(So)return zn>=Yr?So:So*(nn[zn]==\"desc\"?-1:1)}return Tt.index-Jt.index}(at,Nt,Me)})},wa=Ma(function($,ne){if($==null)return[];var Me=ne.length;return Me>1&&Pa($,ne[0],ne[1])?ne=[]:Me>2&&Pa(ne[0],ne[1],ne[2])&&(ne=[ne[0]]),_a($,Ii(ne,1),[])}),Ia=0;try{gi={cloneDeep:function($){return Jr($,5)},constant:_o,defaults:vs,each:ln,filter:ur,find:ze,flatten:ut,forEach:Ui,forIn:function($,ne){return $==null?$:No($,Si(ne),mi)},has:Bt,isUndefined:_n,last:function($){var ne=$==null?0:$.length;return ne?$[ne-1]:void 0},map:ao,mapValues:function($,ne){var Me={};return ne=nr(ne),ii($,function(tt,at,Nt){Kn(Me,at,ne(tt,at,Nt))}),Me},max:function($){return $&&$.length?_t($,ai,Ht):void 0},merge:mo,min:function($){return $&&$.length?_t($,ai,Ho):void 0},minBy:function($,ne){return $&&$.length?_t($,nr(ne),Ho):void 0},now:function(){return Ce.Date.now()},pick:ea,range:Yo,reduce:ui,sortBy:wa,uniqueId:function($){var ne=++Ia;return Ot($)+ne},values:Za,zipObject:function($,ne){return function(Me,tt,at){for(var Nt=-1,Tt=Me.length,Jt=tt.length,nn={};++Nt<Tt;){var zn=Nt<Jt?tt[Nt]:void 0;at(nn,Me[Nt],zn)}return nn}($||[],ne||[],pr)}}}catch($){}gi||(gi=window._);var tr=gi,Sa=Ta;function Ta(){var $={};$._next=$._prev=$,this._sentinel=$}function ga($){$._prev._next=$._next,$._next._prev=$._prev,delete $._next,delete $._prev}function Fi($,ne){if($!==\"_next\"&&$!==\"_prev\")return ne}Ta.prototype.dequeue=function(){var $=this._sentinel,ne=$._prev;if(ne!==$)return ga(ne),ne},Ta.prototype.enqueue=function($){var ne=this._sentinel;$._prev&&$._next&&ga($),$._next=ne._next,ne._next._prev=$,ne._next=$,$._prev=ne},Ta.prototype.toString=function(){for(var $=[],ne=this._sentinel,Me=ne._prev;Me!==ne;)$.push(JSON.stringify(Me,Fi)),Me=Me._prev;return\"[\"+$.join(\", \")+\"]\"};var Cs=fa.Graph,yn=tr.constant(1);function zs($,ne,Me,tt,at){var Nt=at?[]:void 0;return tr.forEach($.inEdges(tt.v),function(Tt){var Jt=$.edge(Tt),nn=$.node(Tt.v);at&&Nt.push({v:Tt.v,w:Tt.w}),nn.out-=Jt,ds(ne,Me,nn)}),tr.forEach($.outEdges(tt.v),function(Tt){var Jt=$.edge(Tt),nn=Tt.w,zn=$.node(nn);zn.in-=Jt,ds(ne,Me,zn)}),$.removeNode(tt.v),Nt}function ds($,ne,Me){Me.out?Me.in?$[Me.out-Me.in+ne].enqueue(Me):$[$.length-1].enqueue(Me):$[0].enqueue(Me)}var gs=function($){var ne=$.graph().acyclicer===\"greedy\"?function(Me,tt){if(Me.nodeCount()<=1)return[];var at=function(Tt,Jt){var nn=new Cs,zn=0,mr=0;tr.forEach(Tt.nodes(),function(Yr){nn.setNode(Yr,{v:Yr,in:0,out:0})}),tr.forEach(Tt.edges(),function(Yr){var So=nn.edge(Yr.v,Yr.w)||0,Oo=Jt(Yr),xo=So+Oo;nn.setEdge(Yr.v,Yr.w,xo),mr=Math.max(mr,nn.node(Yr.v).out+=Oo),zn=Math.max(zn,nn.node(Yr.w).in+=Oo)});var Er=tr.range(mr+zn+3).map(function(){return new Sa}),Zr=zn+1;return tr.forEach(nn.nodes(),function(Yr){ds(Er,Zr,nn.node(Yr))}),{graph:nn,buckets:Er,zeroIdx:Zr}}(Me,tt||yn),Nt=function(Tt,Jt,nn){for(var zn,mr=[],Er=Jt[Jt.length-1],Zr=Jt[0];Tt.nodeCount();){for(;zn=Zr.dequeue();)zs(Tt,Jt,nn,zn);for(;zn=Er.dequeue();)zs(Tt,Jt,nn,zn);if(Tt.nodeCount()){for(var Yr=Jt.length-2;Yr>0;--Yr)if(zn=Jt[Yr].dequeue()){mr=mr.concat(zs(Tt,Jt,nn,zn,!0));break}}}return mr}(at.graph,at.buckets,at.zeroIdx);return tr.flatten(tr.map(Nt,function(Tt){return Me.outEdges(Tt.v,Tt.w)}),!0)}($,function(Me){return function(tt){return Me.edge(tt).weight}}($)):function(Me){var tt=[],at={},Nt={};return tr.forEach(Me.nodes(),function Tt(Jt){tr.has(Nt,Jt)||(Nt[Jt]=!0,at[Jt]=!0,tr.forEach(Me.outEdges(Jt),function(nn){tr.has(at,nn.w)?tt.push(nn):Tt(nn.w)}),delete at[Jt])}),tt}($);tr.forEach(ne,function(Me){var tt=$.edge(Me);$.removeEdge(Me),tt.forwardName=Me.name,tt.reversed=!0,$.setEdge(Me.w,Me.v,tt,tr.uniqueId(\"rev\"))})},Wa=function($){tr.forEach($.edges(),function(ne){var Me=$.edge(ne);if(Me.reversed){$.removeEdge(ne);var tt=Me.forwardName;delete Me.reversed,delete Me.forwardName,$.setEdge(ne.w,ne.v,Me,tt)}})},Ac=fa.Graph,Gs={addDummyNode:Tc,simplify:function($){var ne=new Ac().setGraph($.graph());return tr.forEach($.nodes(),function(Me){ne.setNode(Me,$.node(Me))}),tr.forEach($.edges(),function(Me){var tt=ne.edge(Me.v,Me.w)||{weight:0,minlen:1},at=$.edge(Me);ne.setEdge(Me.v,Me.w,{weight:tt.weight+at.weight,minlen:Math.max(tt.minlen,at.minlen)})}),ne},asNonCompoundGraph:function($){var ne=new Ac({multigraph:$.isMultigraph()}).setGraph($.graph());return tr.forEach($.nodes(),function(Me){$.children(Me).length||ne.setNode(Me,$.node(Me))}),tr.forEach($.edges(),function(Me){ne.setEdge(Me,$.edge(Me))}),ne},successorWeights:function($){var ne=tr.map($.nodes(),function(Me){var tt={};return tr.forEach($.outEdges(Me),function(at){tt[at.w]=(tt[at.w]||0)+$.edge(at).weight}),tt});return tr.zipObject($.nodes(),ne)},predecessorWeights:function($){var ne=tr.map($.nodes(),function(Me){var tt={};return tr.forEach($.inEdges(Me),function(at){tt[at.v]=(tt[at.v]||0)+$.edge(at).weight}),tt});return tr.zipObject($.nodes(),ne)},intersectRect:function($,ne){var Me,tt,at=$.x,Nt=$.y,Tt=ne.x-at,Jt=ne.y-Nt,nn=$.width/2,zn=$.height/2;if(!Tt&&!Jt)throw new Error(\"Not possible to find intersection inside of the rectangle\");return Math.abs(Jt)*nn>Math.abs(Tt)*zn?(Jt<0&&(zn=-zn),Me=zn*Tt/Jt,tt=zn):(Tt<0&&(nn=-nn),Me=nn,tt=nn*Jt/Tt),{x:at+Me,y:Nt+tt}},buildLayerMatrix:function($){var ne=tr.map(tr.range(pu($)+1),function(){return[]});return tr.forEach($.nodes(),function(Me){var tt=$.node(Me),at=tt.rank;tr.isUndefined(at)||(ne[at][tt.order]=Me)}),ne},normalizeRanks:function($){var ne=tr.min(tr.map($.nodes(),function(Me){return $.node(Me).rank}));tr.forEach($.nodes(),function(Me){var tt=$.node(Me);tr.has(tt,\"rank\")&&(tt.rank-=ne)})},removeEmptyRanks:function($){var ne=tr.min(tr.map($.nodes(),function(Nt){return $.node(Nt).rank})),Me=[];tr.forEach($.nodes(),function(Nt){var Tt=$.node(Nt).rank-ne;Me[Tt]||(Me[Tt]=[]),Me[Tt].push(Nt)});var tt=0,at=$.graph().nodeRankFactor;tr.forEach(Me,function(Nt,Tt){tr.isUndefined(Nt)&&Tt%at!=0?--tt:tt&&tr.forEach(Nt,function(Jt){$.node(Jt).rank+=tt})})},addBorderNode:function($,ne,Me,tt){var at={width:0,height:0};return arguments.length>=4&&(at.rank=Me,at.order=tt),Tc($,\"border\",at,ne)},maxRank:pu,partition:function($,ne){var Me={lhs:[],rhs:[]};return tr.forEach($,function(tt){ne(tt)?Me.lhs.push(tt):Me.rhs.push(tt)}),Me},time:function($,ne){var Me=tr.now();try{return ne()}finally{console.log($+\" time: \"+(tr.now()-Me)+\"ms\")}},notime:function($,ne){return ne()}};function Tc($,ne,Me,tt){var at;do at=tr.uniqueId(tt);while($.hasNode(at));return Me.dummy=ne,$.setNode(at,Me),at}function pu($){return tr.max(tr.map($.nodes(),function(ne){var Me=$.node(ne).rank;if(!tr.isUndefined(Me))return Me}))}var Pc=function($){$.graph().dummyChains=[],tr.forEach($.edges(),function(ne){(function(Me,tt){var at,Nt,Tt,Jt=tt.v,nn=Me.node(Jt).rank,zn=tt.w,mr=Me.node(zn).rank,Er=tt.name,Zr=Me.edge(tt),Yr=Zr.labelRank;if(mr!==nn+1){for(Me.removeEdge(tt),Tt=0,++nn;nn<mr;++Tt,++nn)Zr.points=[],Nt={width:0,height:0,edgeLabel:Zr,edgeObj:tt,rank:nn},at=Gs.addDummyNode(Me,\"edge\",Nt,\"_d\"),nn===Yr&&(Nt.width=Zr.width,Nt.height=Zr.height,Nt.dummy=\"edge-label\",Nt.labelpos=Zr.labelpos),Me.setEdge(Jt,at,{weight:Zr.weight},Er),Tt===0&&Me.graph().dummyChains.push(at),Jt=at;Me.setEdge(Jt,zn,{weight:Zr.weight},Er)}})($,ne)})},Yc=function($){tr.forEach($.graph().dummyChains,function(ne){var Me,tt=$.node(ne),at=tt.edgeLabel;for($.setEdge(tt.edgeObj,at);tt.dummy;)Me=$.successors(ne)[0],$.removeNode(ne),at.points.push({x:tt.x,y:tt.y}),tt.dummy===\"edge-label\"&&(at.x=tt.x,at.y=tt.y,at.width=tt.width,at.height=tt.height),ne=Me,tt=$.node(ne)})},Kc=function($){var ne={};tr.forEach($.sources(),function Me(tt){var at=$.node(tt);if(tr.has(ne,tt))return at.rank;ne[tt]=!0;var Nt=tr.min(tr.map($.outEdges(tt),function(Tt){return Me(Tt.w)-$.edge(Tt).minlen}));return Nt!==Number.POSITIVE_INFINITY&&Nt!=null||(Nt=0),at.rank=Nt})},rc=function($,ne){return $.node(ne.w).rank-$.node(ne.v).rank-$.edge(ne).minlen},qc=fa.Graph,Ns=rc,Au=function($){var ne,Me,tt=new qc({directed:!1}),at=$.nodes()[0],Nt=$.nodeCount();for(tt.setNode(at,{});yc(tt,$)<Nt;)ne=gu(tt,$),Me=tt.hasNode(ne.v)?Ns($,ne):-Ns($,ne),bc(tt,$,Me);return tt};function yc($,ne){return tr.forEach($.nodes(),function Me(tt){tr.forEach(ne.nodeEdges(tt),function(at){var Nt=at.v,Tt=tt===Nt?at.w:Nt;$.hasNode(Tt)||Ns(ne,at)||($.setNode(Tt,{}),$.setEdge(tt,Tt,{}),Me(Tt))})}),$.nodeCount()}function gu($,ne){return tr.minBy(ne.edges(),function(Me){if($.hasNode(Me.v)!==$.hasNode(Me.w))return Ns(ne,Me)})}function bc($,ne,Me){tr.forEach($.nodes(),function(tt){ne.node(tt).rank+=Me})}var Ic=rc,vu=Kc,Yu=fa.alg.preorder,oc=fa.alg.postorder,kc=Gs.simplify,le=Be;function Be($){$=kc($),vu($);var ne,Me=Au($);for(Qt(Me),st(Me,$);ne=Tr(Me);)Ko(Me,$,ne,bo(Me,$,ne))}function st($,ne){var Me=oc($,$.nodes());Me=Me.slice(0,Me.length-1),tr.forEach(Me,function(tt){(function(at,Nt,Tt){var Jt=at.node(Tt).parent;at.edge(Tt,Jt).cutvalue=it(at,Nt,Tt)})($,ne,tt)})}function it($,ne,Me){var tt=$.node(Me).parent,at=!0,Nt=ne.edge(Me,tt),Tt=0;return Nt||(at=!1,Nt=ne.edge(tt,Me)),Tt=Nt.weight,tr.forEach(ne.nodeEdges(Me),function(Jt){var nn,zn,mr=Jt.v===Me,Er=mr?Jt.w:Jt.v;if(Er!==tt){var Zr=mr===at,Yr=ne.edge(Jt).weight;if(Tt+=Zr?Yr:-Yr,nn=Me,zn=Er,$.hasEdge(nn,zn)){var So=$.edge(Me,Er).cutvalue;Tt+=Zr?-So:So}}}),Tt}function Qt($,ne){arguments.length<2&&(ne=$.nodes()[0]),qn($,{},1,ne)}function qn($,ne,Me,tt,at){var Nt=Me,Tt=$.node(tt);return ne[tt]=!0,tr.forEach($.neighbors(tt),function(Jt){tr.has(ne,Jt)||(Me=qn($,ne,Me,Jt,tt))}),Tt.low=Nt,Tt.lim=Me++,at?Tt.parent=at:delete Tt.parent,Me}function Tr($){return tr.find($.edges(),function(ne){return $.edge(ne).cutvalue<0})}function bo($,ne,Me){var tt=Me.v,at=Me.w;ne.hasEdge(tt,at)||(tt=Me.w,at=Me.v);var Nt=$.node(tt),Tt=$.node(at),Jt=Nt,nn=!1;Nt.lim>Tt.lim&&(Jt=Tt,nn=!0);var zn=tr.filter(ne.edges(),function(mr){return nn===Mi($,$.node(mr.v),Jt)&&nn!==Mi($,$.node(mr.w),Jt)});return tr.minBy(zn,function(mr){return Ic(ne,mr)})}function Ko($,ne,Me,tt){var at=Me.v,Nt=Me.w;$.removeEdge(at,Nt),$.setEdge(tt.v,tt.w,{}),Qt($),st($,ne),function(Tt,Jt){var nn=tr.find(Tt.nodes(),function(mr){return!Jt.node(mr).parent}),zn=Yu(Tt,nn);zn=zn.slice(1),tr.forEach(zn,function(mr){var Er=Tt.node(mr).parent,Zr=Jt.edge(mr,Er),Yr=!1;Zr||(Zr=Jt.edge(Er,mr),Yr=!0),Jt.node(mr).rank=Jt.node(Er).rank+(Yr?Zr.minlen:-Zr.minlen)})}($,ne)}function Mi($,ne,Me){return Me.low<=ne.lim&&ne.lim<=Me.lim}Be.initLowLimValues=Qt,Be.initCutValues=st,Be.calcCutValue=it,Be.leaveEdge=Tr,Be.enterEdge=bo,Be.exchangeEdges=Ko;var Hi=Kc,ja=Hi;function ms($){le($)}var Ps=function($){var ne=Gs.addDummyNode($,\"root\",{},\"_root\"),Me=function(Tt){var Jt={};function nn(zn,mr){var Er=Tt.children(zn);Er&&Er.length&&tr.forEach(Er,function(Zr){nn(Zr,mr+1)}),Jt[zn]=mr}return tr.forEach(Tt.children(),function(zn){nn(zn,1)}),Jt}($),tt=tr.max(tr.values(Me))-1,at=2*tt+1;$.graph().nestingRoot=ne,tr.forEach($.edges(),function(Tt){$.edge(Tt).minlen*=at});var Nt=function(Tt){return tr.reduce(Tt.edges(),function(Jt,nn){return Jt+Tt.edge(nn).weight},0)}($)+1;tr.forEach($.children(),function(Tt){(function Jt(nn,zn,mr,Er,Zr,Yr,So){var Oo=nn.children(So);if(Oo.length){var xo=Gs.addBorderNode(nn,\"_bt\"),lo=Gs.addBorderNode(nn,\"_bb\"),Io=nn.node(So);nn.setParent(xo,So),Io.borderTop=xo,nn.setParent(lo,So),Io.borderBottom=lo,tr.forEach(Oo,function(Zo){Jt(nn,zn,mr,Er,Zr,Yr,Zo);var xi=nn.node(Zo),Ai=xi.borderTop?xi.borderTop:Zo,ci=xi.borderBottom?xi.borderBottom:Zo,Ri=xi.borderTop?Er:2*Er,Ci=Ai!==ci?1:Zr-Yr[So]+1;nn.setEdge(xo,Ai,{weight:Ri,minlen:Ci,nestingEdge:!0}),nn.setEdge(ci,lo,{weight:Ri,minlen:Ci,nestingEdge:!0})}),nn.parent(So)||nn.setEdge(zn,xo,{weight:0,minlen:Zr+Yr[So]})}else So!==zn&&nn.setEdge(zn,So,{weight:0,minlen:mr})})($,ne,at,Nt,tt,Me,Tt)}),$.graph().nodeRankFactor=at},fu=function($){var ne=$.graph();$.removeNode(ne.nestingRoot),delete ne.nestingRoot,tr.forEach($.edges(),function(Me){$.edge(Me).nestingEdge&&$.removeEdge(Me)})};function qs($,ne,Me,tt,at,Nt){var Tt={width:0,height:0,rank:Nt,borderType:ne},Jt=at[ne][Nt-1],nn=Gs.addDummyNode($,\"border\",Tt,Me);at[ne][Nt]=nn,$.setParent(nn,tt),Jt&&$.setEdge(Jt,nn,{weight:1})}var Ya=function($){var ne=$.graph().rankdir.toLowerCase();ne!==\"lr\"&&ne!==\"rl\"||ru($)},Nu=function($){var ne=$.graph().rankdir.toLowerCase();ne!==\"bt\"&&ne!==\"rl\"||function(Me){tr.forEach(Me.nodes(),function(tt){Zs(Me.node(tt))}),tr.forEach(Me.edges(),function(tt){var at=Me.edge(tt);tr.forEach(at.points,Zs),tr.has(at,\"y\")&&Zs(at)})}($),ne!==\"lr\"&&ne!==\"rl\"||(function(Me){tr.forEach(Me.nodes(),function(tt){cs(Me.node(tt))}),tr.forEach(Me.edges(),function(tt){var at=Me.edge(tt);tr.forEach(at.points,cs),tr.has(at,\"x\")&&cs(at)})}($),ru($))};function ru($){tr.forEach($.nodes(),function(ne){mu($.node(ne))}),tr.forEach($.edges(),function(ne){mu($.edge(ne))})}function mu($){var ne=$.width;$.width=$.height,$.height=ne}function Zs($){$.y=-$.y}function cs($){var ne=$.x;$.x=$.y,$.y=ne}var Xs=function($,ne){for(var Me=0,tt=1;tt<ne.length;++tt)Me+=yu($,ne[tt-1],ne[tt]);return Me};function yu($,ne,Me){for(var tt=tr.zipObject(Me,tr.map(Me,function(zn,mr){return mr})),at=tr.flatten(tr.map(ne,function(zn){return tr.sortBy(tr.map($.outEdges(zn),function(mr){return{pos:tt[mr.w],weight:$.edge(mr).weight}}),\"pos\")}),!0),Nt=1;Nt<Me.length;)Nt<<=1;var Tt=2*Nt-1;Nt-=1;var Jt=tr.map(new Array(Tt),function(){return 0}),nn=0;return tr.forEach(at.forEach(function(zn){var mr=zn.pos+Nt;Jt[mr]+=zn.weight;for(var Er=0;mr>0;)mr%2&&(Er+=Jt[mr+1]),Jt[mr=mr-1>>1]+=zn.weight;nn+=zn.weight*Er})),nn}function bu($,ne,Me){for(var tt;ne.length&&(tt=tr.last(ne)).i<=Me;)ne.pop(),$.push(tt.vs),Me++;return Me}var Ku=function $(ne,Me,tt,at){var Nt=ne.children(Me),Tt=ne.node(Me),Jt=Tt?Tt.borderLeft:void 0,nn=Tt?Tt.borderRight:void 0,zn={};Jt&&(Nt=tr.filter(Nt,function(Oo){return Oo!==Jt&&Oo!==nn}));var mr=function(Oo,xo){return tr.map(xo,function(lo){var Io=Oo.inEdges(lo);if(Io.length){var Zo=tr.reduce(Io,function(xi,Ai){var ci=Oo.edge(Ai),Ri=Oo.node(Ai.v);return{sum:xi.sum+ci.weight*Ri.order,weight:xi.weight+ci.weight}},{sum:0,weight:0});return{v:lo,barycenter:Zo.sum/Zo.weight,weight:Zo.weight}}return{v:lo}})}(ne,Nt);tr.forEach(mr,function(Oo){if(ne.children(Oo.v).length){var xo=$(ne,Oo.v,tt,at);zn[Oo.v]=xo,tr.has(xo,\"barycenter\")&&(lo=Oo,Io=xo,tr.isUndefined(lo.barycenter)?(lo.barycenter=Io.barycenter,lo.weight=Io.weight):(lo.barycenter=(lo.barycenter*lo.weight+Io.barycenter*Io.weight)/(lo.weight+Io.weight),lo.weight+=Io.weight))}var lo,Io});var Er=function(Oo,xo){var lo={};return tr.forEach(Oo,function(Io,Zo){var xi=lo[Io.v]={indegree:0,in:[],out:[],vs:[Io.v],i:Zo};tr.isUndefined(Io.barycenter)||(xi.barycenter=Io.barycenter,xi.weight=Io.weight)}),tr.forEach(xo.edges(),function(Io){var Zo=lo[Io.v],xi=lo[Io.w];tr.isUndefined(Zo)||tr.isUndefined(xi)||(xi.indegree++,Zo.out.push(lo[Io.w]))}),function(Io){var Zo=[];function xi(Ri){return function(Ci){Ci.merged||(tr.isUndefined(Ci.barycenter)||tr.isUndefined(Ri.barycenter)||Ci.barycenter>=Ri.barycenter)&&function(ua,da){var Da=0,as=0;ua.weight&&(Da+=ua.barycenter*ua.weight,as+=ua.weight),da.weight&&(Da+=da.barycenter*da.weight,as+=da.weight),ua.vs=da.vs.concat(ua.vs),ua.barycenter=Da/as,ua.weight=as,ua.i=Math.min(da.i,ua.i),da.merged=!0}(Ri,Ci)}}function Ai(Ri){return function(Ci){Ci.in.push(Ri),--Ci.indegree==0&&Io.push(Ci)}}for(;Io.length;){var ci=Io.pop();Zo.push(ci),tr.forEach(ci.in.reverse(),xi(ci)),tr.forEach(ci.out,Ai(ci))}return tr.map(tr.filter(Zo,function(Ri){return!Ri.merged}),function(Ri){return tr.pick(Ri,[\"vs\",\"i\",\"barycenter\",\"weight\"])})}(tr.filter(lo,function(Io){return!Io.indegree}))}(mr,tt);(function(Oo,xo){tr.forEach(Oo,function(lo){lo.vs=tr.flatten(lo.vs.map(function(Io){return xo[Io]?xo[Io].vs:Io}),!0)})})(Er,zn);var Zr=function(Oo,xo){var lo,Io=Gs.partition(Oo,function(da){return tr.has(da,\"barycenter\")}),Zo=Io.lhs,xi=tr.sortBy(Io.rhs,function(da){return-da.i}),Ai=[],ci=0,Ri=0,Ci=0;Zo.sort((lo=!!xo,function(da,Da){return da.barycenter<Da.barycenter?-1:da.barycenter>Da.barycenter?1:lo?Da.i-da.i:da.i-Da.i})),Ci=bu(Ai,xi,Ci),tr.forEach(Zo,function(da){Ci+=da.vs.length,Ai.push(da.vs),ci+=da.barycenter*da.weight,Ri+=da.weight,Ci=bu(Ai,xi,Ci)});var ua={vs:tr.flatten(Ai,!0)};return Ri&&(ua.barycenter=ci/Ri,ua.weight=Ri),ua}(Er,at);if(Jt&&(Zr.vs=tr.flatten([Jt,Zr.vs,nn],!0),ne.predecessors(Jt).length)){var Yr=ne.node(ne.predecessors(Jt)[0]),So=ne.node(ne.predecessors(nn)[0]);tr.has(Zr,\"barycenter\")||(Zr.barycenter=0,Zr.weight=0),Zr.barycenter=(Zr.barycenter*Zr.weight+Yr.order+So.order)/(Zr.weight+2),Zr.weight+=2}return Zr},Qc=fa.Graph,_l=fa.Graph,Nc=function($){var ne=Gs.maxRank($),Me=ju($,tr.range(1,ne+1),\"inEdges\"),tt=ju($,tr.range(ne-1,-1,-1),\"outEdges\"),at=function(mr){var Er={},Zr=tr.filter(mr.nodes(),function(xo){return!mr.children(xo).length}),Yr=tr.max(tr.map(Zr,function(xo){return mr.node(xo).rank})),So=tr.map(tr.range(Yr+1),function(){return[]}),Oo=tr.sortBy(Zr,function(xo){return mr.node(xo).rank});return tr.forEach(Oo,function xo(lo){if(!tr.has(Er,lo)){Er[lo]=!0;var Io=mr.node(lo);So[Io.rank].push(lo),tr.forEach(mr.successors(lo),xo)}}),So}($);dl($,at);for(var Nt,Tt=Number.POSITIVE_INFINITY,Jt=0,nn=0;nn<4;++Jt,++nn){Wu(Jt%2?Me:tt,Jt%4>=2),at=Gs.buildLayerMatrix($);var zn=Xs($,at);zn<Tt&&(nn=0,Nt=tr.cloneDeep(at),Tt=zn)}dl($,Nt)};function ju($,ne,Me){return tr.map(ne,function(tt){return function(at,Nt,Tt){var Jt=function(zn){for(var mr;zn.hasNode(mr=tr.uniqueId(\"_root\")););return mr}(at),nn=new Qc({compound:!0}).setGraph({root:Jt}).setDefaultNodeLabel(function(zn){return at.node(zn)});return tr.forEach(at.nodes(),function(zn){var mr=at.node(zn),Er=at.parent(zn);(mr.rank===Nt||mr.minRank<=Nt&&Nt<=mr.maxRank)&&(nn.setNode(zn),nn.setParent(zn,Er||Jt),tr.forEach(at[Tt](zn),function(Zr){var Yr=Zr.v===zn?Zr.w:Zr.v,So=nn.edge(Yr,zn),Oo=tr.isUndefined(So)?0:So.weight;nn.setEdge(Yr,zn,{weight:at.edge(Zr).weight+Oo})}),tr.has(mr,\"minRank\")&&nn.setNode(zn,{borderLeft:mr.borderLeft[Nt],borderRight:mr.borderRight[Nt]}))}),nn}($,tt,Me)})}function Wu($,ne){var Me=new _l;tr.forEach($,function(tt){var at=tt.graph().root,Nt=Ku(tt,at,Me,ne);tr.forEach(Nt.vs,function(Tt,Jt){tt.node(Tt).order=Jt}),function(Tt,Jt,nn){var zn,mr={};tr.forEach(nn,function(Er){for(var Zr,Yr,So=Tt.parent(Er);So;){if((Zr=Tt.parent(So))?(Yr=mr[Zr],mr[Zr]=So):(Yr=zn,zn=So),Yr&&Yr!==So)return void Jt.setEdge(Yr,So);So=Zr}})}(tt,Me,Nt.vs)})}function dl($,ne){tr.forEach(ne,function(Me){tr.forEach(Me,function(tt,at){$.node(tt).order=at})})}var Du=fa.Graph;function hl($,ne,Me){if(ne>Me){var tt=ne;ne=Me,Me=tt}var at=$[ne];at||($[ne]=at={}),at[Me]=!0}function jc($,ne,Me){if(ne>Me){var tt=ne;ne=Me,Me=tt}return tr.has($[ne],Me)}var js=function($){var ne,Me=Gs.buildLayerMatrix($),tt=tr.merge(function(Tt,Jt){var nn={};return tr.reduce(Jt,function(zn,mr){var Er=0,Zr=0,Yr=zn.length,So=tr.last(mr);return tr.forEach(mr,function(Oo,xo){var lo=function(Zo,xi){if(Zo.node(xi).dummy)return tr.find(Zo.predecessors(xi),function(Ai){return Zo.node(Ai).dummy})}(Tt,Oo),Io=lo?Tt.node(lo).order:Yr;(lo||Oo===So)&&(tr.forEach(mr.slice(Zr,xo+1),function(Zo){tr.forEach(Tt.predecessors(Zo),function(xi){var Ai=Tt.node(xi),ci=Ai.order;!(ci<Er||Io<ci)||Ai.dummy&&Tt.node(Zo).dummy||hl(nn,xi,Zo)})}),Zr=xo+1,Er=Io)}),mr}),nn}($,Me),function(Tt,Jt){var nn={};function zn(mr,Er,Zr,Yr,So){var Oo;tr.forEach(tr.range(Er,Zr),function(xo){Oo=mr[xo],Tt.node(Oo).dummy&&tr.forEach(Tt.predecessors(Oo),function(lo){var Io=Tt.node(lo);Io.dummy&&(Io.order<Yr||Io.order>So)&&hl(nn,lo,Oo)})})}return tr.reduce(Jt,function(mr,Er){var Zr,Yr=-1,So=0;return tr.forEach(Er,function(Oo,xo){if(Tt.node(Oo).dummy===\"border\"){var lo=Tt.predecessors(Oo);lo.length&&(Zr=Tt.node(lo[0]).order,zn(Er,So,xo,Yr,Zr),So=xo,Yr=Zr)}zn(Er,So,Er.length,Zr,mr.length)}),Er}),nn}($,Me)),at={};tr.forEach([\"u\",\"d\"],function(Tt){ne=Tt===\"u\"?Me:tr.values(Me).reverse(),tr.forEach([\"l\",\"r\"],function(Jt){Jt===\"r\"&&(ne=tr.map(ne,function(Er){return tr.values(Er).reverse()}));var nn=(Tt===\"u\"?$.predecessors:$.successors).bind($),zn=function(Er,Zr,Yr,So){var Oo={},xo={},lo={};return tr.forEach(Zr,function(Io){tr.forEach(Io,function(Zo,xi){Oo[Zo]=Zo,xo[Zo]=Zo,lo[Zo]=xi})}),tr.forEach(Zr,function(Io){var Zo=-1;tr.forEach(Io,function(xi){var Ai=So(xi);if(Ai.length)for(var ci=((Ai=tr.sortBy(Ai,function(da){return lo[da]})).length-1)/2,Ri=Math.floor(ci),Ci=Math.ceil(ci);Ri<=Ci;++Ri){var ua=Ai[Ri];xo[xi]===xi&&Zo<lo[ua]&&!jc(Yr,xi,ua)&&(xo[ua]=xi,xo[xi]=Oo[xi]=Oo[ua],Zo=lo[ua])}})}),{root:Oo,align:xo}}(0,ne,tt,nn),mr=function(Er,Zr,Yr,So,Oo){var xo={},lo=function(xi,Ai,ci,Ri){var Ci=new Du,ua=xi.graph(),da=function(Da,as,ts){return function(ka,uu,Su){var Js,Ws=ka.node(uu),Ru=ka.node(Su),Iu=0;if(Iu+=Ws.width/2,tr.has(Ws,\"labelpos\"))switch(Ws.labelpos.toLowerCase()){case\"l\":Js=-Ws.width/2;break;case\"r\":Js=Ws.width/2}if(Js&&(Iu+=ts?Js:-Js),Js=0,Iu+=(Ws.dummy?as:Da)/2,Iu+=(Ru.dummy?as:Da)/2,Iu+=Ru.width/2,tr.has(Ru,\"labelpos\"))switch(Ru.labelpos.toLowerCase()){case\"l\":Js=Ru.width/2;break;case\"r\":Js=-Ru.width/2}return Js&&(Iu+=ts?Js:-Js),Js=0,Iu}}(ua.nodesep,ua.edgesep,Ri);return tr.forEach(Ai,function(Da){var as;tr.forEach(Da,function(ts){var ka=ci[ts];if(Ci.setNode(ka),as){var uu=ci[as],Su=Ci.edge(uu,ka);Ci.setEdge(uu,ka,Math.max(da(xi,ts,as),Su||0))}as=ts})}),Ci}(Er,Zr,Yr,Oo),Io=Oo?\"borderLeft\":\"borderRight\";function Zo(xi,Ai){for(var ci=lo.nodes(),Ri=ci.pop(),Ci={};Ri;)Ci[Ri]?xi(Ri):(Ci[Ri]=!0,ci.push(Ri),ci=ci.concat(Ai(Ri))),Ri=ci.pop()}return Zo(function(xi){xo[xi]=lo.inEdges(xi).reduce(function(Ai,ci){return Math.max(Ai,xo[ci.v]+lo.edge(ci))},0)},lo.predecessors.bind(lo)),Zo(function(xi){var Ai=lo.outEdges(xi).reduce(function(Ri,Ci){return Math.min(Ri,xo[Ci.w]-lo.edge(Ci))},Number.POSITIVE_INFINITY),ci=Er.node(xi);Ai!==Number.POSITIVE_INFINITY&&ci.borderType!==Io&&(xo[xi]=Math.max(xo[xi],Ai))},lo.successors.bind(lo)),tr.forEach(So,function(xi){xo[xi]=xo[Yr[xi]]}),xo}($,ne,zn.root,zn.align,Jt===\"r\");Jt===\"r\"&&(mr=tr.mapValues(mr,function(Er){return-Er})),at[Tt+Jt]=mr})});var Nt=function(Tt,Jt){return tr.minBy(tr.values(Jt),function(nn){var zn=Number.NEGATIVE_INFINITY,mr=Number.POSITIVE_INFINITY;return tr.forIn(nn,function(Er,Zr){var Yr=function(So,Oo){return So.node(Oo).width}(Tt,Zr)/2;zn=Math.max(Er+Yr,zn),mr=Math.min(Er-Yr,mr)}),zn-mr})}($,at);return function(Tt,Jt){var nn=tr.values(Jt),zn=tr.min(nn),mr=tr.max(nn);tr.forEach([\"u\",\"d\"],function(Er){tr.forEach([\"l\",\"r\"],function(Zr){var Yr,So=Er+Zr,Oo=Tt[So];if(Oo!==Jt){var xo=tr.values(Oo);(Yr=Zr===\"l\"?zn-tr.min(xo):mr-tr.max(xo))&&(Tt[So]=tr.mapValues(Oo,function(lo){return lo+Yr}))}})})}(at,Nt),function(Tt,Jt){return tr.mapValues(Tt.ul,function(nn,zn){if(Jt)return Tt[Jt.toLowerCase()][zn];var mr=tr.sortBy(tr.map(Tt,zn));return(mr[1]+mr[2])/2})}(at,$.graph().align)},xu=Gs.normalizeRanks,wu=Gs.removeEmptyRanks,Ys=Gs,Uu=fa.Graph,Dc=[\"nodesep\",\"edgesep\",\"ranksep\",\"marginx\",\"marginy\"],ic={ranksep:50,edgesep:20,nodesep:50,rankdir:\"tb\"},Rc=[\"acyclicer\",\"ranker\",\"rankdir\",\"align\"],is=[\"width\",\"height\"],Tu={width:0,height:0},Pu=[\"minlen\",\"weight\",\"width\",\"height\",\"labeloffset\"],Jc={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:\"r\"},Gl=[\"labelpos\"];function ac($,ne){return tr.mapValues(tr.pick($,ne),Number)}function el($){var ne={};return tr.forEach($,function(Me,tt){ne[tt.toLowerCase()]=Me}),ne}var sc=fa.Graph,tl={graphlib:fa,layout:function($,ne){var Me=ne&&ne.debugTiming?Ys.time:Ys.notime;Me(\"layout\",function(){var tt=Me(\"  buildLayoutGraph\",function(){return function(at){var Nt=new Uu({multigraph:!0,compound:!0}),Tt=el(at.graph());return Nt.setGraph(tr.merge({},ic,ac(Tt,Dc),tr.pick(Tt,Rc))),tr.forEach(at.nodes(),function(Jt){var nn=el(at.node(Jt));Nt.setNode(Jt,tr.defaults(ac(nn,is),Tu)),Nt.setParent(Jt,at.parent(Jt))}),tr.forEach(at.edges(),function(Jt){var nn=el(at.edge(Jt));Nt.setEdge(Jt,tr.merge({},Jc,ac(nn,Pu),tr.pick(nn,Gl)))}),Nt}($)});Me(\"  runLayout\",function(){(function(at,Nt){Nt(\"    makeSpaceForEdgeLabels\",function(){(function(Tt){var Jt=Tt.graph();Jt.ranksep/=2,tr.forEach(Tt.edges(),function(nn){var zn=Tt.edge(nn);zn.minlen*=2,zn.labelpos.toLowerCase()!==\"c\"&&(Jt.rankdir===\"TB\"||Jt.rankdir===\"BT\"?zn.width+=zn.labeloffset:zn.height+=zn.labeloffset)})})(at)}),Nt(\"    removeSelfEdges\",function(){(function(Tt){tr.forEach(Tt.edges(),function(Jt){if(Jt.v===Jt.w){var nn=Tt.node(Jt.v);nn.selfEdges||(nn.selfEdges=[]),nn.selfEdges.push({e:Jt,label:Tt.edge(Jt)}),Tt.removeEdge(Jt)}})})(at)}),Nt(\"    acyclic\",function(){gs(at)}),Nt(\"    nestingGraph.run\",function(){Ps(at)}),Nt(\"    rank\",function(){(function(Tt){switch(Tt.graph().ranker){case\"network-simplex\":ms(Tt);break;case\"tight-tree\":(function(Jt){Hi(Jt),Au(Jt)})(Tt);break;case\"longest-path\":ja(Tt);break;default:ms(Tt)}})(Ys.asNonCompoundGraph(at))}),Nt(\"    injectEdgeLabelProxies\",function(){(function(Tt){tr.forEach(Tt.edges(),function(Jt){var nn=Tt.edge(Jt);if(nn.width&&nn.height){var zn=Tt.node(Jt.v),mr={rank:(Tt.node(Jt.w).rank-zn.rank)/2+zn.rank,e:Jt};Ys.addDummyNode(Tt,\"edge-proxy\",mr,\"_ep\")}})})(at)}),Nt(\"    removeEmptyRanks\",function(){wu(at)}),Nt(\"    nestingGraph.cleanup\",function(){fu(at)}),Nt(\"    normalizeRanks\",function(){xu(at)}),Nt(\"    assignRankMinMax\",function(){(function(Tt){var Jt=0;tr.forEach(Tt.nodes(),function(nn){var zn=Tt.node(nn);zn.borderTop&&(zn.minRank=Tt.node(zn.borderTop).rank,zn.maxRank=Tt.node(zn.borderBottom).rank,Jt=tr.max(Jt,zn.maxRank))}),Tt.graph().maxRank=Jt})(at)}),Nt(\"    removeEdgeLabelProxies\",function(){(function(Tt){tr.forEach(Tt.nodes(),function(Jt){var nn=Tt.node(Jt);nn.dummy===\"edge-proxy\"&&(Tt.edge(nn.e).labelRank=nn.rank,Tt.removeNode(Jt))})})(at)}),Nt(\"    normalize.run\",function(){Pc(at)}),Nt(\"    parentDummyChains\",function(){(function(Tt){var Jt=function(nn){var zn={},mr=0;return tr.forEach(nn.children(),function Er(Zr){var Yr=mr;tr.forEach(nn.children(Zr),Er),zn[Zr]={low:Yr,lim:mr++}}),zn}(Tt);tr.forEach(Tt.graph().dummyChains,function(nn){for(var zn=Tt.node(nn),mr=zn.edgeObj,Er=function(lo,Io,Zo,xi){var Ai,ci,Ri=[],Ci=[],ua=Math.min(Io[Zo].low,Io[xi].low),da=Math.max(Io[Zo].lim,Io[xi].lim);Ai=Zo;do Ai=lo.parent(Ai),Ri.push(Ai);while(Ai&&(Io[Ai].low>ua||da>Io[Ai].lim));for(ci=Ai,Ai=xi;(Ai=lo.parent(Ai))!==ci;)Ci.push(Ai);return{path:Ri.concat(Ci.reverse()),lca:ci}}(Tt,Jt,mr.v,mr.w),Zr=Er.path,Yr=Er.lca,So=0,Oo=Zr[So],xo=!0;nn!==mr.w;){if(zn=Tt.node(nn),xo){for(;(Oo=Zr[So])!==Yr&&Tt.node(Oo).maxRank<zn.rank;)So++;Oo===Yr&&(xo=!1)}if(!xo){for(;So<Zr.length-1&&Tt.node(Oo=Zr[So+1]).minRank<=zn.rank;)So++;Oo=Zr[So]}Tt.setParent(nn,Oo),nn=Tt.successors(nn)[0]}})})(at)}),Nt(\"    addBorderSegments\",function(){(function(Tt){tr.forEach(Tt.children(),function Jt(nn){var zn=Tt.children(nn),mr=Tt.node(nn);if(zn.length&&tr.forEach(zn,Jt),tr.has(mr,\"minRank\")){mr.borderLeft=[],mr.borderRight=[];for(var Er=mr.minRank,Zr=mr.maxRank+1;Er<Zr;++Er)qs(Tt,\"borderLeft\",\"_bl\",nn,mr,Er),qs(Tt,\"borderRight\",\"_br\",nn,mr,Er)}})})(at)}),Nt(\"    order\",function(){Nc(at)}),Nt(\"    insertSelfEdges\",function(){(function(Tt){var Jt=Ys.buildLayerMatrix(Tt);tr.forEach(Jt,function(nn){var zn=0;tr.forEach(nn,function(mr,Er){var Zr=Tt.node(mr);Zr.order=Er+zn,tr.forEach(Zr.selfEdges,function(Yr){Ys.addDummyNode(Tt,\"selfedge\",{width:Yr.label.width,height:Yr.label.height,rank:Zr.rank,order:Er+ ++zn,e:Yr.e,label:Yr.label},\"_se\")}),delete Zr.selfEdges})})})(at)}),Nt(\"    adjustCoordinateSystem\",function(){Ya(at)}),Nt(\"    position\",function(){(function(Tt){(function(Jt){var nn=Gs.buildLayerMatrix(Jt),zn=Jt.graph().ranksep,mr=0;tr.forEach(nn,function(Er){var Zr=tr.max(tr.map(Er,function(Yr){return Jt.node(Yr).height}));tr.forEach(Er,function(Yr){Jt.node(Yr).y=mr+Zr/2}),mr+=Zr+zn})})(Tt=Gs.asNonCompoundGraph(Tt)),tr.forEach(js(Tt),function(Jt,nn){Tt.node(nn).x=Jt})})(at)}),Nt(\"    positionSelfEdges\",function(){(function(Tt){tr.forEach(Tt.nodes(),function(Jt){var nn=Tt.node(Jt);if(nn.dummy===\"selfedge\"){var zn=Tt.node(nn.e.v),mr=zn.x+zn.width/2,Er=zn.y,Zr=nn.x-mr,Yr=zn.height/2;Tt.setEdge(nn.e,nn.label),Tt.removeNode(Jt),nn.label.points=[{x:mr+2*Zr/3,y:Er-Yr},{x:mr+5*Zr/6,y:Er-Yr},{x:mr+Zr,y:Er},{x:mr+5*Zr/6,y:Er+Yr},{x:mr+2*Zr/3,y:Er+Yr}],nn.label.x=nn.x,nn.label.y=nn.y}})})(at)}),Nt(\"    removeBorderNodes\",function(){(function(Tt){tr.forEach(Tt.nodes(),function(Jt){if(Tt.children(Jt).length){var nn=Tt.node(Jt),zn=Tt.node(nn.borderTop),mr=Tt.node(nn.borderBottom),Er=Tt.node(tr.last(nn.borderLeft)),Zr=Tt.node(tr.last(nn.borderRight));nn.width=Math.abs(Zr.x-Er.x),nn.height=Math.abs(mr.y-zn.y),nn.x=Er.x+nn.width/2,nn.y=zn.y+nn.height/2}}),tr.forEach(Tt.nodes(),function(Jt){Tt.node(Jt).dummy===\"border\"&&Tt.removeNode(Jt)})})(at)}),Nt(\"    normalize.undo\",function(){Yc(at)}),Nt(\"    fixupEdgeLabelCoords\",function(){(function(Tt){tr.forEach(Tt.edges(),function(Jt){var nn=Tt.edge(Jt);if(tr.has(nn,\"x\"))switch(nn.labelpos!==\"l\"&&nn.labelpos!==\"r\"||(nn.width-=nn.labeloffset),nn.labelpos){case\"l\":nn.x-=nn.width/2+nn.labeloffset;break;case\"r\":nn.x+=nn.width/2+nn.labeloffset}})})(at)}),Nt(\"    undoCoordinateSystem\",function(){Nu(at)}),Nt(\"    translateGraph\",function(){(function(Tt){var Jt=Number.POSITIVE_INFINITY,nn=0,zn=Number.POSITIVE_INFINITY,mr=0,Er=Tt.graph(),Zr=Er.marginx||0,Yr=Er.marginy||0;function So(Oo){var xo=Oo.x,lo=Oo.y,Io=Oo.width,Zo=Oo.height;Jt=Math.min(Jt,xo-Io/2),nn=Math.max(nn,xo+Io/2),zn=Math.min(zn,lo-Zo/2),mr=Math.max(mr,lo+Zo/2)}tr.forEach(Tt.nodes(),function(Oo){So(Tt.node(Oo))}),tr.forEach(Tt.edges(),function(Oo){var xo=Tt.edge(Oo);tr.has(xo,\"x\")&&So(xo)}),Jt-=Zr,zn-=Yr,tr.forEach(Tt.nodes(),function(Oo){var xo=Tt.node(Oo);xo.x-=Jt,xo.y-=zn}),tr.forEach(Tt.edges(),function(Oo){var xo=Tt.edge(Oo);tr.forEach(xo.points,function(lo){lo.x-=Jt,lo.y-=zn}),tr.has(xo,\"x\")&&(xo.x-=Jt),tr.has(xo,\"y\")&&(xo.y-=zn)}),Er.width=nn-Jt+Zr,Er.height=mr-zn+Yr})(at)}),Nt(\"    assignNodeIntersects\",function(){(function(Tt){tr.forEach(Tt.edges(),function(Jt){var nn,zn,mr=Tt.edge(Jt),Er=Tt.node(Jt.v),Zr=Tt.node(Jt.w);mr.points?(nn=mr.points[0],zn=mr.points[mr.points.length-1]):(mr.points=[],nn=Zr,zn=Er),mr.points.unshift(Ys.intersectRect(Er,nn)),mr.points.push(Ys.intersectRect(Zr,zn))})})(at)}),Nt(\"    reversePoints\",function(){(function(Tt){tr.forEach(Tt.edges(),function(Jt){var nn=Tt.edge(Jt);nn.reversed&&nn.points.reverse()})})(at)}),Nt(\"    acyclic.undo\",function(){Wa(at)})})(tt,Me)}),Me(\"  updateInputGraph\",function(){(function(at,Nt){tr.forEach(at.nodes(),function(Tt){var Jt=at.node(Tt),nn=Nt.node(Tt);Jt&&(Jt.x=nn.x,Jt.y=nn.y,Nt.children(Tt).length&&(Jt.width=nn.width,Jt.height=nn.height))}),tr.forEach(at.edges(),function(Tt){var Jt=at.edge(Tt),nn=Nt.edge(Tt);Jt.points=nn.points,tr.has(nn,\"x\")&&(Jt.x=nn.x,Jt.y=nn.y)}),at.graph().width=Nt.graph().width,at.graph().height=Nt.graph().height})($,tt)})})},debug:{debugOrdering:function($){var ne=Gs.buildLayerMatrix($),Me=new sc({compound:!0,multigraph:!0}).setGraph({});return tr.forEach($.nodes(),function(tt){Me.setNode(tt,{label:tt}),Me.setParent(tt,\"layer\"+$.node(tt).rank)}),tr.forEach($.edges(),function(tt){Me.setEdge(tt.v,tt.w,{},tt.name)}),tr.forEach(ne,function(tt,at){var Nt=\"layer\"+at;Me.setNode(Nt,{rank:\"same\"}),tr.reduce(tt,function(Tt,Jt){return Me.setEdge(Tt,Jt,{style:\"invis\"}),Jt})}),Me}},util:{time:Gs.time,notime:Gs.notime},version:\"0.8.5\"},nl=tl.graphlib,Vu=tl.layout,Lc=l(function $(ne){s(this,$),this.cardinality=1,this.include=L.UNSPECIFIED,this.isGroupNode=!1,this.parentNode=null,this.type=j.NODE,this.name=ne.name,this.attr=ne.attr||{},this.inputs=ne.inputs,this.path=ne.path||[],this.width=ne.width,this.height=ne.height}),Wl=l(function $(){s(this,$),this.nodes={},this.edges=[],this.nodes={},this.edges=[]}),Ul=function(){function $(ne){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};s(this,$),this.attr=null,this.bridgeGraph=null,this.cardinality=0,this.depth=1,this.include=L.UNSPECIFIED,this.isGroupNode=!0,this.parentNode=null,this.type=j.META,this.path=[],this.name=ne,this.metaGraph=ta(ne,A.META,Me)}return l($,[{key:\"getFirstChild\",value:function(){return this.metaGraph.node(this.metaGraph.nodes()[0])}},{key:\"getChildren\",value:function(){var ne=this;return this.metaGraph.nodes().map(function(Me){return ne.metaGraph.node(Me)})}},{key:\"leaves\",value:function(){for(var ne,Me=[],tt=[this];tt.length;){var at=tt.shift();at.isGroupNode?(ne=at.metaGraph).nodes().forEach(function(Nt){return tt.push(ne.node(Nt))}):Me.push(at.name)}return Me}}]),$}(),uc=function(){function $(ne,Me){s(this,$),this.v=ne,this.w=Me,this.baseEdgeList=[],this.inbound=null,this.name=null}return l($,[{key:\"addBaseEdge\",value:function(ne,Me){this.baseEdgeList.push(ne)}}]),$}();function rl($){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Ul($,ne)}function ol($,ne){return new uc($,ne)}function ta($,ne,Me){var tt=Me||{},at=new nl.Graph(tt);return at.setGraph({name:$,rankdir:tt.rankdir,type:ne,align:tt.align}),at}var pl=function(){function $(){var ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};s(this,$),this.graphOptions=ne,this.index={},this.graphOptions.compound=!0,this.root=rl(q,this.graphOptions),this.index[q]=this.root}return l($,[{key:\"getNodeMap\",value:function(){return this.index}},{key:\"node\",value:function(ne){return this.index[ne]}},{key:\"setNode\",value:function(ne,Me){this.index[ne]=Me}},{key:\"getBridgeGraph\",value:function(ne){var Me=this,tt=this.index[ne];if(!tt)throw Error(\"Could not find node in hierarchy: \"+ne);if(!(\"metaGraph\"in tt))return null;var at=tt;if(at.bridgeGraph)return at.bridgeGraph;var Nt=ta(re,A.BRIDGE,this.graphOptions);if(at.bridgeGraph=Nt,!tt.parentNode||!(\"metaGraph\"in tt.parentNode))return Nt;var Tt=tt.parentNode;return[Tt.metaGraph,this.getBridgeGraph(Tt.name)].forEach(function(Jt){Jt.edges().filter(function(nn){return nn.v===ne||nn.w===ne}).forEach(function(nn){var zn=nn.w===ne;Jt.edge(nn).baseEdgeList.forEach(function(mr){var Er=u(zn?[mr.w,nn.v]:[mr.v,nn.w],2),Zr=Er[0],Yr=Er[1],So=Me.getChildName(ne,Zr),Oo={v:zn?Yr:So,w:zn?So:Yr},xo=Nt.edge(Oo);xo||((xo=ol(Oo.v,Oo.w)).inbound=zn,Nt.setEdge(Oo.v,Oo.w,xo)),xo.addBaseEdge(mr,Me)})})}),Nt}},{key:\"getChildName\",value:function(ne,Me){for(var tt=this.index[Me];tt;){if(tt.parentNode&&tt.parentNode.name===ne)return tt.name;tt=tt.parentNode}throw Error(\"Could not find immediate child for descendant: \"+Me)}},{key:\"getPredecessors\",value:function(ne){var Me=this.index[ne];if(!Me)throw Error(\"Could not find node with name: \"+ne);return this.getOneWayEdges(Me,!0)}},{key:\"getSuccessors\",value:function(ne){var Me=this.index[ne];if(!Me)throw Error(\"Could not find node with name: \"+ne);return this.getOneWayEdges(Me,!1)}},{key:\"getOneWayEdges\",value:function(ne,Me){var tt=[];if(!ne.parentNode||!ne.parentNode.isGroupNode)return tt;var at=ne.parentNode,Nt=at.metaGraph,Tt=this.getBridgeGraph(at.name);return Bc(Nt,ne,Me,tt),Bc(Tt,ne,Me,tt),tt}}]),$}();function Bc($,ne,Me,tt){(Me?$.inEdges(ne.name):$.outEdges(ne.name)).forEach(function(at){var Nt=$.edge(at);tt.push(Nt)})}var xc=function(){function $(ne){s(this,$),this.hierarchy=ne,this.index={},this.hasSubHierarchy={},this.root=new il(this.hierarchy.root,this.hierarchy.graphOptions),this.index[ne.root.name]=this.root,this.buildSubHierarchy(ne.root.name),this.root.expanded=!0}return l($,[{key:\"getRenderInfoNodes\",value:function(){return Object.values(this.index)}},{key:\"getSubHierarchy\",value:function(){return this.hasSubHierarchy}},{key:\"buildSubHierarchy\",value:function(ne){var Me=this;if(!(ne in this.hasSubHierarchy)){this.hasSubHierarchy[ne]=!0;var tt=this.index[ne];if(tt.node.type===j.META){var at=tt,Nt=at.node.metaGraph,Tt=at.coreGraph;Nt.nodes().forEach(function(Er){var Zr=Me.getOrCreateRenderNodeByName(Er);Tt.setNode(Er,Zr)}),Nt.edges().forEach(function(Er){var Zr=Nt.edge(Er),Yr=new Fc(Zr);Tt.setEdge(Er.v,Er.w,Yr)});var Jt=at.node.parentNode;if(Jt){var nn=this.getRenderNodeByName(Jt.name),zn=function(Er){for(var Zr=arguments.length,Yr=new Array(Zr>1?Zr-1:0),So=1;So<Zr;So++)Yr[So-1]=arguments[So];return Yr.concat([Er?\"IN\":\"OUT\"]).join(\"~~\")},mr=this.hierarchy.getBridgeGraph(ne);mr.edges().forEach(function(Er){var Zr=mr.edge(Er),Yr=!!Nt.node(Er.w),So=u(Yr?[Er.w,Er.v]:[Er.v,Er.w],2),Oo=So[0],xo=So[1],lo=function(da){var Da=Yr?{v:da,w:ne}:{v:ne,w:da};return nn.coreGraph.edge(Da)},Io=lo(xo);Io||(Io=lo(zn(Yr,xo,Jt.name)));var Zo=zn(Yr,ne),xi=zn(Yr,xo,ne),Ai=Tt.node(xi);if(!Ai){var ci=Tt.node(Zo);if(!ci){var Ri={name:Zo,type:j.BRIDGE,isGroupNode:!1,cardinality:0,parentNode:null,include:L.UNSPECIFIED,inbound:Yr,attr:{}};ci=new $u(Ri),Me.index[Zo]=ci,Tt.setNode(Zo,ci)}var Ci={name:xi,type:j.BRIDGE,isGroupNode:!1,cardinality:1,parentNode:null,include:L.UNSPECIFIED,inbound:Yr,attr:{}};Ai=new $u(Ci),Me.index[xi]=Ai,Tt.setNode(xi,Ai),Tt.setParent(xi,Zo),ci.node.cardinality++}var ua=new Fc(Zr);ua.adjoiningMetaEdge=Io,Yr?Tt.setEdge(xi,Oo,ua):Tt.setEdge(Oo,xi,ua)})}}}}},{key:\"getOrCreateRenderNodeByName\",value:function(ne){if(!ne)return null;if(ne in this.index)return this.index[ne];var Me=this.getNodeByName(ne);return Me?(this.index[ne]=Me.isGroupNode?new il(Me,this.hierarchy.graphOptions):new $u(Me),this.index[ne]):null}},{key:\"getRenderNodeByName\",value:function(ne){return this.index[ne]}},{key:\"getNodeByName\",value:function(ne){return this.hierarchy.node(ne)}}]),$}(),$u=l(function $(ne){s(this,$),this.node=ne,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=ne.width||0,this.height=ne.height||0,this.displayName=ne.name,this.attr=ne.attr}),Fc=l(function $(ne){s(this,$),this.metaEdge=ne,this.adjoiningMetaEdge=null,this.weight=1,this.points=[]}),il=function($){(function(tt,at){if(typeof at!=\"function\"&&at!==null)throw new TypeError(\"Super expression must either be null or a function\");tt.prototype=Object.create(at&&at.prototype,{constructor:{value:tt,writable:!0,configurable:!0}}),Object.defineProperty(tt,\"prototype\",{writable:!1}),at&&w(tt,at)})(Me,$);var ne=O(Me);function Me(tt,at){var Nt;s(this,Me),Nt=ne.call(this,tt);var Tt=tt.metaGraph.graph();return at.compound=!0,Nt.coreGraph=ta(Tt.name,A.CORE,at),Nt}return l(Me)}($u);function al($,ne){$.node.isGroupNode&&function(Me,tt){var at=M(tt);Me.coreGraph.nodes().map(function(Nt){return Me.coreGraph.node(Nt)}).forEach(function(Nt){var Tt,Jt,nn,zn,mr,Er,Zr=Nt.height,Yr=Nt.width;switch(Nt.node.type){case j.NODE:Object.assign(Nt,at.nodeSize.node),Nt.height=Zr||at.nodeSize.node.height,Nt.width=Yr||at.nodeSize.node.width;break;case j.BRIDGE:Object.assign(Nt,at.nodeSize.bridge);break;case j.META:Nt.expanded?al(Nt,tt):(Object.assign(Nt,at.nodeSize.meta),Nt.height=at.nodeSize.meta.height,Nt.width=at.nodeSize.meta.width);break;default:throw Error(\"Unrecognized node type: \"+Nt.node.type)}if(!Nt.expanded){var So=Nt.attr;(function(Oo){var xo=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(Oo.coreBox.width=Oo.width,Oo.coreBox.height=Oo.height,!xo){var lo=\"\".concat(Oo.displayName).length,Io=3;Oo.width=Math.max(Oo.coreBox.width,lo*Io)}})(Nt,tt&&(Nt.node.type===0&&!!(!((Jt=(Tt=tt==null?void 0:tt.nodeSize)===null||Tt===void 0?void 0:Tt.meta)===null||Jt===void 0)&&Jt.width)||Nt.node.type===1&&(!!(!((zn=(nn=tt==null?void 0:tt.nodeSize)===null||nn===void 0?void 0:nn.node)===null||zn===void 0)&&zn.width)||!!So.width)||Nt.node.type===2&&!!(!((Er=(mr=tt==null?void 0:tt.nodeSize)===null||mr===void 0?void 0:mr.bridge)===null||Er===void 0)&&Er.width)))}})}($,ne),$.node.type===j.META&&function(Me,tt){var at=M(tt),Nt=at.subScene.meta;Object.assign(Me,Nt);var Tt=at.graph.meta,Jt={nodesep:Tt.nodeSep,ranksep:Tt.rankSep,edgesep:Tt.edgeSep,align:Tt.align};Object.assign(Me.coreBox,function(mr,Er){var Zr=Er.ranksep,Yr=Er.nodesep,So=Er.edgesep,Oo=Er.align;Object.assign(mr.graph(),{ranksep:Zr,nodesep:Yr,edgesep:So,align:Oo});var xo=[];if(mr.nodes().forEach(function(Ai){mr.node(Ai).node.type!==j.BRIDGE&&xo.push(Ai)}),!xo.length)return{width:0,height:0};Vu(mr);var lo=1/0,Io=1/0,Zo=-1/0,xi=-1/0;return xo.forEach(function(Ai){var ci=mr.node(Ai),Ri=.5*ci.width,Ci=ci.x-Ri,ua=ci.x+Ri;lo=Ci<lo?Ci:lo,Zo=ua>Zo?ua:Zo;var da=.5*ci.height,Da=ci.y-da,as=ci.y+da;Io=Da<Io?Da:Io,xi=as>xi?as:xi}),mr.edges().forEach(function(Ai){var ci=mr.edge(Ai),Ri=mr.node(ci.metaEdge.v),Ci=mr.node(ci.metaEdge.w);if(ci.points.length===3&&function(ts){for(var ka=zc(ts[0],ts[1]),uu=1;uu<ts.length-1;uu++){var Su=zc(ts[uu],ts[uu+1]);if(Math.abs(Su-ka)>1)return!1;ka=Su}return!0}(ci.points)){if(Ri!=null){var ua=Ri.expanded?Ri.x:cc(Ri);ci.points[0].x=ua}if(Ci!=null){var da=Ci.expanded?Ci.x:cc(Ci);ci.points[2].x=da}ci.points=[ci.points[0],ci.points[1]]}var Da=ci.points[ci.points.length-2];Ci!=null&&(ci.points[ci.points.length-1]=Ml(Da,Ci));var as=ci.points[1];Ri!=null&&(ci.points[0]=Ml(as,Ri)),ci.points.forEach(function(ts){lo=ts.x<lo?ts.x:lo,Zo=ts.x>Zo?ts.x:Zo,Io=ts.y<Io?ts.y:Io,xi=ts.y>xi?ts.y:xi})}),mr.nodes().forEach(function(Ai){var ci=mr.node(Ai);ci.x-=lo,ci.y-=Io}),mr.edges().forEach(function(Ai){mr.edge(Ai).points.forEach(function(ci){ci.x-=lo,ci.y-=Io})}),{width:Zo-lo,height:xi-Io}}(Me.coreGraph,Jt));var nn=0;Me.coreGraph.nodeCount()>0&&nn++;var zn=nn<=1?0:nn;Me.coreBox.width+=zn+zn,Me.coreBox.height=Nt.labelHeight+Me.coreBox.height,Me.width=Me.coreBox.width+Nt.paddingLeft+Nt.paddingRight,Me.height=Me.paddingTop+Me.coreBox.height+Me.paddingBottom}($,ne)}function zc($,ne){var Me=ne.x-$.x,tt=ne.y-$.y;return 180*Math.atan(tt/Me)/Math.PI}function cc($){return $.expanded?$.x:$.x-$.width/2+0+$.coreBox.width/2}function Ml($,ne){var Me,tt,at=ne.expanded?ne.x:cc(ne),Nt=ne.y,Tt=$.x-at,Jt=$.y-Nt,nn=ne.expanded?ne.width:ne.coreBox.width,zn=ne.expanded?ne.height:ne.coreBox.height;return Math.abs(Jt)*nn/2>Math.abs(Tt)*zn/2?(Jt<0&&(zn=-zn),Me=Jt===0?0:zn/2*Tt/Jt,tt=zn/2):(Tt<0&&(nn=-nn),Me=nn/2,tt=Tt===0?0:nn/2*Jt/Tt),{x:at+Me,y:Nt+tt}}function Al($,ne,Me){var tt,at,Nt,Tt,Jt=$.nodes.filter(function(Er,Zr,Yr){return Yr.findIndex(function(So){return So.id===Er.id})!==Zr}).map(function(Er){return Er.id});if(Jt.length)throw new Error(\"Duplicated ids found: \".concat(Jt.join(\", \")));var nn=function(Er){var Zr={nodes:[]},Yr=Er.compound,So=Object.keys(Yr||{}),Oo=new Map,xo=function Io(Zo){var xi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];if(Oo.has(Zo))return Oo.get(Zo);for(var Ai=0;Ai<So.length;Ai++){var ci=So[Ai];if(Yr&&Yr[ci].indexOf(Zo)!==-1)return xi.unshift(ci),Io(ci,xi)}return xi.length===0&&Oo.set(Zo,xi),xi},lo=function(Io){return Er.edges.filter(function(Zo){return Zo.w===Io}).map(function(Zo){return{name:Zo.v}})};return Er.nodes.forEach(function(Io){var Zo=Io.id,xi=[].concat(C(xo(Zo)),[Zo]),Ai=lo(Zo);Zr.nodes.push({name:Zo,path:xi,inputs:Ai,width:Io.width,height:Io.height,attr:Object.assign({},Io)})}),Zr}($),zn=function(Er,Zr){var Yr=function(So,Oo){var xo,lo=N(Oo.values());try{for(lo.s();!(xo=lo.n()).done;)if(xo.value.includes(So))return!0}catch(Io){lo.e(Io)}finally{lo.f()}return!1};return function So(Oo){var xo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];if(Object.keys(Oo).length===0)return C(new Set(xo));var lo,Io=new Map(Object.keys(Oo).map(function(Ci){return[Ci,Oo[Ci]]})),Zo={},xi=N(Io);try{for(xi.s();!(lo=xi.n()).done;){var Ai=u(lo.value,2),ci=Ai[0],Ri=Ai[1];Yr(ci,Io)?Zo[ci]=Ri:xo=xo.concat(ci,Ri)}}catch(Ci){xi.e(Ci)}finally{xi.f()}return So(Zo,xo)}(Er).filter(function(So){return Zr.includes(So)})}($.compound||{},(ne==null?void 0:ne.expanded)||[]),mr=function(Er,Zr){return function(Yr){return new xc(Yr)}(function(Yr,So){var Oo=So.rankDirection,xo=So.align,lo=new pl({rankdir:Oo,align:xo});return function(Io,Zo){Object.keys(Zo.nodes).forEach(function(xi){var Ai=Zo.nodes[xi],ci=Ai.path,Ri=Io.root;Ri.depth=Math.max(ci.length,Ri.depth);for(var Ci=0;Ci<ci.length&&(Ri.depth=Math.max(Ri.depth,ci.length-Ci),Ri.cardinality+=Ai.cardinality,Ci!==ci.length-1);Ci++){var ua=ci[Ci],da=Io.node(ua);da||((da=rl(ua,Io.graphOptions)).path=Ai.path.slice(0,Ci+1),da.parentNode=Ri,Io.setNode(ua,da),Ri.metaGraph.setNode(ua,da)),Ri=da}Io.setNode(Ai.name,Ai),Ai.parentNode=Ri,Ri.metaGraph.setNode(Ai.name,Ai)})}(lo,Yr),function(Io,Zo){var xi=Io.getNodeMap(),Ai=[],ci=[],Ri=function(Ci,ua){for(var da=0;Ci;)ua[da++]=Ci.name,Ci=Ci.parentNode;return da-1};Zo.edges.forEach(function(Ci){Ai=[],ci=[];for(var ua=Ri(Zo.nodes[Ci.v],Ai),da=Ri(Zo.nodes[Ci.w],ci);Ai[ua]===ci[da];)if(da--,--ua<0||da<0)throw Error(\"No difference found between ancestor paths.\");var Da=xi[Ai[ua+1]],as=Ai[ua],ts=ci[da],ka=Da.metaGraph.edge(as,ts);ka||(ka=ol(as,ts),Da.metaGraph.setEdge(as,ts,ka)),ka.addBaseEdge(Ci,Io)})}(lo,Yr),lo}(function(Yr){var So=new Wl;return Yr.nodes.map(function(Oo){return new Lc(Oo)}).forEach(function(Oo){So.nodes[Oo.name]=Oo,Oo.inputs.forEach(function(xo){(function(lo,Io,Zo){Zo.name!==Io.name&&lo.edges.push(Object.assign(Object.assign({},Zo.attr),{v:Zo.name,w:Io.name}))})(So,Oo,xo)})}),So}(Er),Zr))}(nn,{rankDirection:((at=(tt=Me==null?void 0:Me.graph)===null||tt===void 0?void 0:tt.meta)===null||at===void 0?void 0:at.rankDir)||(ne==null?void 0:ne.rankDirection)||x.graph.meta.rankDir,align:((Tt=(Nt=Me==null?void 0:Me.graph)===null||Nt===void 0?void 0:Nt.meta)===null||Tt===void 0?void 0:Tt.align)||x.graph.meta.align});return function(Er,Zr){Zr.forEach(function(Yr){var So=Er.getRenderInfoNodes().find(function(lo){return lo.displayName===Yr}),Oo=So&&So.node&&So.node.name||\"\",xo=Er.getRenderNodeByName(Oo);if(!xo)throw new Error(\"No nodes found: \".concat(Oo));xo.expanded=!0,Er.buildSubHierarchy(Oo)})}(mr,zn),al(mr.root,Me),ou(mr.root)}function sl($){var ne=arguments.length>1&&arguments[1]!==void 0&&arguments[1],Me=JSON.parse(JSON.stringify($)),tt={nodes:[Me],edges:C(Me.edges)};return Me.nodes.forEach(function at(Nt){(Nt.type===0||Nt.type===1)&&tt.nodes.push(Nt),Nt.type===0&&(tt.edges=tt.edges.concat(Nt.edges)),Array.isArray(Nt.nodes)&&Nt.nodes.forEach(at)}),ne&&tt.nodes.forEach(function(at){var Nt=tt.nodes.find(function(nn){return nn.id===at.parentNodeName});if(Nt){var Tt=Nt.x-Nt.width/2+Nt.paddingLeft,Jt=Nt.y-Nt.height/2+Nt.labelHeight+Nt.paddingTop;Nt.id!==q&&(at.x+=Tt,at.y+=Jt),at.type===0&&at.edges.forEach(function(nn){nn.points.forEach(function(zn){zn.x+=at.x-at.width/2+at.paddingLeft,zn.y+=at.y-at.height/2+at.labelHeight+at.paddingTop})})}}),tt}function Vl($,ne,Me,tt){var at,Nt,Tt=[],Jt=((at=Me.find(function(Er){return Er.id===$}))===null||at===void 0?void 0:at.path)||[],nn=((Nt=Me.find(function(Er){return Er.id===ne}))===null||Nt===void 0?void 0:Nt.path)||[],zn=[q].concat(C(Jt)).slice(0,Jt.length).reverse(),mr=[q].concat(C(nn)).slice(0,nn.length);return zn.forEach(function(Er){var Zr=Me.find(function(Yr){return Yr.id===Er});Tt=Tt.concat(Zr.edges.filter(function(Yr){return Yr.baseEdgeList.some(function(So){return So.v===((tt==null?void 0:tt.v)||$)&&So.w===((tt==null?void 0:tt.w)||ne)})}))}),mr.filter(function(Er){return!zn.includes(Er)}).forEach(function(Er){var Zr=Me.find(function(Yr){return Yr.id===Er});Tt=Tt.concat(Zr.edges.filter(function(Yr){return Yr.baseEdgeList.some(function(So){return So.v===((tt==null?void 0:tt.v)||$)&&So.w===((tt==null?void 0:tt.w)||ne)})}))}),Tt}function ou($){var ne,Me=$.coreGraph.nodes().map(function(tt){return $.coreGraph.node(tt)});return Object.assign(Object.assign({},Zl($)),{expanded:$.expanded,nodes:$.expanded?(ne=Me,ne.map(function(tt){return tt.node.type===j.META?ou(tt):Zl(tt)})):[],edges:$.expanded?su($):[]})}function Zl($){return{id:$.node.name,name:$.node.name,type:$.node.type,cardinality:$.node.cardinality,attr:$.attr,parentNodeName:$.node.parentNode?$.node.parentNode.name:null,coreBox:Object.assign({},$.coreBox),x:$.x,y:$.y,width:$.width,height:$.height,radius:$.radius,labelHeight:$.labelHeight,labelOffset:$.labelOffset,outboxWidth:$.outboxWidth,paddingLeft:$.paddingLeft,paddingTop:$.paddingTop,paddingRight:$.paddingRight,paddingBottom:$.paddingBottom,path:$.node.path}}function su($){return $.coreGraph.edges().map(function(ne){return{renderInfoEdge:$.coreGraph.edge(ne),edge:ne}}).filter(function(ne){return ne.renderInfoEdge.metaEdge}).map(function(ne){var Me=ne.edge,tt=ne.renderInfoEdge,at=function(Nt,Tt){var Jt=Tt.points.map(function(Io){return Object.assign({},Io)});if(Tt.adjoiningMetaEdge){var nn=Tt.adjoiningMetaEdge.points,zn=Tt.metaEdge.inbound,mr=zn?nn[nn.length-1]:nn[0],Er=Jt[zn?0:Jt.length-1],Zr=Nt.x-Nt.width/2,Yr=Nt.y-Nt.height/2,So=mr.x-Zr,Oo=mr.y-Yr,xo=-Nt.paddingLeft,lo=-(Nt.paddingTop+Nt.labelHeight);Er.x=So+xo,Er.y=Oo+lo}return Jt}($,tt);return{adjoiningEdge:tt.adjoiningMetaEdge?{w:tt.adjoiningMetaEdge.metaEdge.w,v:tt.adjoiningMetaEdge.metaEdge.v}:null,inbound:tt.metaEdge.inbound,w:Me.w,v:Me.v,points:at,weight:tt.weight,baseEdgeList:tt.metaEdge.baseEdgeList,parentNodeName:$.node.name}})}}.call(this,r(91))},function(Ee,c,r){\"use strict\";var y,N=this&&this.__extends||(y=function(f,h){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,s){l.__proto__=s}||function(l,s){for(var m in s)Object.prototype.hasOwnProperty.call(s,m)&&(l[m]=s[m])})(f,h)},function(f,h){if(typeof h!=\"function\"&&h!==null)throw new TypeError(\"Class extends value \"+String(h)+\" is not a constructor or null\");function l(){this.constructor=f}y(f,h),f.prototype=h===null?Object.create(h):(l.prototype=h.prototype,new l)}),C=this&&this.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(c,\"__esModule\",{value:!0}),c.RadialLayout=void 0;var w=r(15),O=r(18),b=C(r(182)),p=C(r(183));function u(f,h){return Math.sqrt((f[0]-h[0])*(f[0]-h[0])+(f[1]-h[1])*(f[1]-h[1]))}var a=function(f){function h(l){var s=f.call(this)||this;return s.maxIteration=1e3,s.focusNode=null,s.unitRadius=null,s.linkDistance=50,s.preventOverlap=!1,s.strictRadial=!0,s.maxPreventOverlapIteration=200,s.sortStrength=10,s.nodes=[],s.edges=[],s.updateCfg(l),s}return N(h,f),h.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}},h.prototype.execute=function(){var l=this,s=l.nodes,m=l.edges||[];if(s&&s.length!==0){l.width||typeof window==\"undefined\"||(l.width=window.innerWidth),l.height||typeof window==\"undefined\"||(l.height=window.innerHeight),l.center||(l.center=[l.width/2,l.height/2]);var x=l.center;if(s.length===1)return s[0].x=x[0],s[0].y=x[1],void(l.onLayoutEnd&&l.onLayoutEnd());var M=l.linkDistance,E=null;if((0,w.isString)(l.focusNode)){for(var j=!1,L=0;L<s.length;L++)s[L].id===l.focusNode&&(E=s[L],l.focusNode=E,j=!0,L=s.length);j||(E=null)}else E=l.focusNode;E||(E=s[0],l.focusNode=E);var A,J,q,re=(A=s,J=E.id,q=-1,A.forEach(function(we,Ze){we.id===J&&(q=Ze)}),q);re<0&&(re=0),l.focusIndex=re;var me=(0,w.getAdjMatrix)({nodes:s,edges:m},!1),Te=(0,w.floydWarshall)(me),ee=l.maxToFocus(Te,re);l.handleInfinity(Te,re,ee+1),l.distances=Te;var xe=Te[re],Ie=l.width||500,Le=l.height||500,De=Ie-x[0]>x[0]?x[0]:Ie-x[0],ce=Le-x[1]>x[1]?x[1]:Le-x[1];De===0&&(De=Ie/2),ce===0&&(ce=Le/2);var ye=ce>De?De:ce,Oe=Math.max.apply(Math,xe),Ce=[];xe.forEach(function(we,Ze){l.unitRadius||(l.unitRadius=ye/Oe),Ce[Ze]=we*l.unitRadius}),l.radii=Ce;var oe=l.eIdealDisMatrix();l.eIdealDistances=oe;var he=function(we){for(var Ze=we.length,Ve=we[0].length,et=[],ht=0;ht<Ze;ht++){for(var Fe=[],mt=0;mt<Ve;mt++)we[ht][mt]!==0?Fe.push(1/(we[ht][mt]*we[ht][mt])):Fe.push(0);et.push(Fe)}return et}(oe);l.weights=he;var ie=new b.default({linkDistance:M,distances:oe}).layout();ie.forEach(function(we){(0,w.isNaN)(we[0])&&(we[0]=Math.random()*M),(0,w.isNaN)(we[1])&&(we[1]=Math.random()*M)}),l.positions=ie,ie.forEach(function(we,Ze){s[Ze].x=we[0]+x[0],s[Ze].y=we[1]+x[1]}),ie.forEach(function(we){we[0]-=ie[re][0],we[1]-=ie[re][1]}),l.run();var ae,ve=l.preventOverlap,X=l.nodeSize,se=l.strictRadial;if(ve){var fe,_e=l.nodeSpacing;fe=(0,w.isNumber)(_e)?function(){return _e}:(0,w.isFunction)(_e)?_e:function(){return 0},ae=X?(0,w.isArray)(X)?function(we){return(X[0]>X[1]?X[0]:X[1])+fe(we)}:function(we){return X+fe(we)}:function(we){return we.size?(0,w.isArray)(we.size)?(we.size[0]>we.size[1]?we.size[0]:we.size[1])+fe(we):(0,w.isObject)(we.size)?(we.size.width>we.size.height?we.size.width:we.size.height)+fe(we):we.size+fe(we):10+fe(we)};var be={nodes:s,nodeSizeFunc:ae,adjMatrix:me,positions:ie,radii:Ce,height:Le,width:Ie,strictRadial:se,focusID:re,iterations:l.maxPreventOverlapIteration||200,k:ie.length/4.5},We=new p.default(be);ie=We.layout()}return ie.forEach(function(we,Ze){s[Ze].x=we[0]+x[0],s[Ze].y=we[1]+x[1]}),l.onLayoutEnd&&l.onLayoutEnd(),{nodes:s,edges:m}}l.onLayoutEnd&&l.onLayoutEnd()},h.prototype.run=function(){for(var l=this.maxIteration,s=this.positions||[],m=this.weights||[],x=this.eIdealDistances||[],M=this.radii||[],E=0;E<=l;E++){var j=E/l;this.oneIteration(j,s,M,x,m)}},h.prototype.oneIteration=function(l,s,m,x,M){var E=1-l,j=this.focusIndex;s.forEach(function(L,A){var J=u(L,[0,0]),q=J===0?0:1/J;if(A!==j){var re=0,me=0,Te=0;s.forEach(function(xe,Ie){if(A!==Ie){var Le=u(L,xe),De=Le===0?0:1/Le,ce=x[Ie][A];Te+=M[A][Ie],re+=M[A][Ie]*(xe[0]+ce*(L[0]-xe[0])*De),me+=M[A][Ie]*(xe[1]+ce*(L[1]-xe[1])*De)}});var ee=m[A]===0?0:1/m[A];Te*=E,Te+=l*ee*ee,re*=E,re+=l*ee*L[0]*q,L[0]=re/Te,me*=E,me+=l*ee*L[1]*q,L[1]=me/Te}})},h.prototype.eIdealDisMatrix=function(){var l=this,s=l.nodes;if(!s)return[];var m=l.distances,x=l.linkDistance,M=l.radii||[],E=l.unitRadius||50,j=[];return m&&m.forEach(function(L,A){var J=[];L.forEach(function(q,re){if(A===re)J.push(0);else if(M[A]===M[re])if(l.sortBy===\"data\")J.push(q*(Math.abs(A-re)*l.sortStrength)/(M[A]/E));else if(l.sortBy){var me=s[A][l.sortBy]||0,Te=s[re][l.sortBy]||0;(0,w.isString)(me)&&(me=me.charCodeAt(0)),(0,w.isString)(Te)&&(Te=Te.charCodeAt(0)),J.push(q*(Math.abs(me-Te)*l.sortStrength)/(M[A]/E))}else J.push(q*x/(M[A]/E));else{var ee=(x+E)/2;J.push(q*ee)}}),j.push(J)}),j},h.prototype.handleInfinity=function(l,s,m){for(var x=l.length,M=0;M<x;M++)if(l[s][M]===1/0){l[s][M]=m,l[M][s]=m;for(var E=0;E<x;E++)l[M][E]!==1/0&&l[s][E]===1/0&&(l[s][E]=m+l[M][E],l[E][s]=m+l[M][E])}for(M=0;M<x;M++)if(M!==s){for(E=0;E<x;E++)if(l[M][E]===1/0){var j=Math.abs(l[s][M]-l[s][E]);j=j===0?1:j,l[M][E]=j}}},h.prototype.maxToFocus=function(l,s){for(var m=0,x=0;x<l[s].length;x++)l[s][x]!==1/0&&(m=l[s][x]>m?l[s][x]:m);return m},h.prototype.getType=function(){return\"radial\"},h}(O.Base);c.RadialLayout=a},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=r(108),N=function(){function C(w){this.distances=w.distances,this.dimension=w.dimension||2,this.linkDistance=w.linkDistance}return C.prototype.layout=function(){var w=this.dimension,O=this.distances,b=this.linkDistance;try{var p=y.Matrix.mul(y.Matrix.pow(O,2),-.5),u=p.mean(\"row\"),a=p.mean(\"column\"),f=p.mean();p.add(f).subRowVector(u).subColumnVector(a);var h=new y.SingularValueDecomposition(p),l=y.Matrix.sqrt(h.diagonalMatrix).diagonal();return h.leftSingularVectors.toJSON().map(function(E){return y.Matrix.mul([E],[l]).toJSON()[0].splice(0,w)})}catch(E){for(var s=[],m=0;m<O.length;m++){var x=Math.random()*b,M=Math.random()*b;s.push([x,M])}return s}},C}();c.default=N},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=function(){function N(C){this.disp=[],this.positions=C.positions,this.adjMatrix=C.adjMatrix,this.focusID=C.focusID,this.radii=C.radii,this.iterations=C.iterations||10,this.height=C.height||10,this.width=C.width||10,this.speed=C.speed||100,this.gravity=C.gravity||10,this.nodeSizeFunc=C.nodeSizeFunc,this.k=C.k||5,this.strictRadial=C.strictRadial,this.nodes=C.nodes}return N.prototype.layout=function(){var C=this.positions,w=[],O=this.iterations,b=this.width/10;this.maxDisplace=b,this.disp=w;for(var p=0;p<O;p++)C.forEach(function(u,a){w[a]={x:0,y:0}}),this.getRepulsion(),this.updatePositions();return C},N.prototype.getRepulsion=function(){var C=this,w=C.positions,O=C.nodes,b=C.disp,p=C.k,u=C.radii||[];w.forEach(function(a,f){b[f]={x:0,y:0},w.forEach(function(h,l){if(f!==l&&u[f]===u[l]){var s=a[0]-h[0],m=a[1]-h[1],x=Math.sqrt(s*s+m*m);if(x===0){x=1;var M=f>l?1:-1;s=.01*M,m=.01*M}if(x<C.nodeSizeFunc(O[f])/2+C.nodeSizeFunc(O[l])/2){var E=p*p/x;b[f].x+=s/x*E,b[f].y+=m/x*E}}})})},N.prototype.updatePositions=function(){var C=this.positions,w=this.disp,O=this.speed,b=this.strictRadial,p=this.focusID,u=this.maxDisplace||this.width/10;b&&w.forEach(function(f,h){var l=C[h][0]-C[p][0],s=C[h][1]-C[p][1],m=Math.sqrt(l*l+s*s),x=s/m,M=-l/m,E=Math.sqrt(f.x*f.x+f.y*f.y),j=Math.acos((x*f.x+M*f.y)/E);j>Math.PI/2&&(j-=Math.PI/2,x*=-1,M*=-1);var L=Math.cos(j)*E;f.x=x*L,f.y=M*L});var a=this.radii;C.forEach(function(f,h){if(h!==p){var l=Math.sqrt(w[h].x*w[h].x+w[h].y*w[h].y);if(l>0&&h!==p){var s=Math.min(u*(O/800),l);if(f[0]+=w[h].x/l*s,f[1]+=w[h].y/l*s,b){var m=f[0]-C[p][0],x=f[1]-C[p][1],M=Math.sqrt(m*m+x*x);m=m/M*a[h],x=x/M*a[h],f[0]=C[p][0]+m,f[1]=C[p][1]+x}}}})},N}();c.default=y},function(Ee,c,r){var y=r(42).default;Ee.exports=function(N,C){if(y(N)!==\"object\"||N===null)return N;var w=N[Symbol.toPrimitive];if(w!==void 0){var O=w.call(N,C||\"default\");if(y(O)!==\"object\")return O;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(C===\"string\"?String:Number)(N)},Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports},function(Ee,c,r){var y=r(64),N=r(189),C=r(65),w={};w[\"[object Float32Array]\"]=w[\"[object Float64Array]\"]=w[\"[object Int8Array]\"]=w[\"[object Int16Array]\"]=w[\"[object Int32Array]\"]=w[\"[object Uint8Array]\"]=w[\"[object Uint8ClampedArray]\"]=w[\"[object Uint16Array]\"]=w[\"[object Uint32Array]\"]=!0,w[\"[object Arguments]\"]=w[\"[object Array]\"]=w[\"[object ArrayBuffer]\"]=w[\"[object Boolean]\"]=w[\"[object DataView]\"]=w[\"[object Date]\"]=w[\"[object Error]\"]=w[\"[object Function]\"]=w[\"[object Map]\"]=w[\"[object Number]\"]=w[\"[object Object]\"]=w[\"[object RegExp]\"]=w[\"[object Set]\"]=w[\"[object String]\"]=w[\"[object WeakMap]\"]=!1,Ee.exports=function(O){return C(O)&&N(O.length)&&!!w[y(O)]}},function(Ee,c,r){function y(O){return(y=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(b){return typeof b}:function(b){return b&&typeof Symbol==\"function\"&&b.constructor===Symbol&&b!==Symbol.prototype?\"symbol\":typeof b})(O)}var N=r(99),C=(typeof self==\"undefined\"?\"undefined\":y(self))==\"object\"&&self&&self.Object===Object&&self,w=N||C||Function(\"return this\")();Ee.exports=w},function(Ee,c,r){var y=r(98),N=Object.prototype,C=N.hasOwnProperty,w=N.toString,O=y?y.toStringTag:void 0;Ee.exports=function(b){var p=C.call(b,O),u=b[O];try{b[O]=void 0;var a=!0}catch(h){}var f=w.call(b);return a&&(p?b[O]=u:delete b[O]),f}},function(Ee,c){var r=Object.prototype.toString;Ee.exports=function(y){return r.call(y)}},function(Ee,c){Ee.exports=function(r){return typeof r==\"number\"&&r>-1&&r%1==0&&r<=9007199254740991}},function(Ee,c){Ee.exports=function(r){return function(y){return r(y)}}},function(Ee,c,r){(function(y){function N(u){return(N=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(a){return typeof a}:function(a){return a&&typeof Symbol==\"function\"&&a.constructor===Symbol&&a!==Symbol.prototype?\"symbol\":typeof a})(u)}var C=r(99),w=N(c)==\"object\"&&c&&!c.nodeType&&c,O=w&&N(y)==\"object\"&&y&&!y.nodeType&&y,b=O&&O.exports===w&&C.process,p=function(){try{var u=O&&O.require&&O.require(\"util\").types;return u||b&&b.binding&&b.binding(\"util\")}catch(a){}}();y.exports=p}).call(this,r(100)(Ee))},function(Ee,c,r){var y=r(42).default;function N(){\"use strict\";Ee.exports=N=function(){return C},Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports;var C={},w=Object.prototype,O=w.hasOwnProperty,b=Object.defineProperty||function(ce,ye,Oe){ce[ye]=Oe.value},p=typeof Symbol==\"function\"?Symbol:{},u=p.iterator||\"@@iterator\",a=p.asyncIterator||\"@@asyncIterator\",f=p.toStringTag||\"@@toStringTag\";function h(ce,ye,Oe){return Object.defineProperty(ce,ye,{value:Oe,enumerable:!0,configurable:!0,writable:!0}),ce[ye]}try{h({},\"\")}catch(ce){h=function(ye,Oe,Ce){return ye[Oe]=Ce}}function l(ce,ye,Oe,Ce){var oe=ye&&ye.prototype instanceof x?ye:x,he=Object.create(oe.prototype),ie=new Ie(Ce||[]);return b(he,\"_invoke\",{value:me(ce,Oe,ie)}),he}function s(ce,ye,Oe){try{return{type:\"normal\",arg:ce.call(ye,Oe)}}catch(Ce){return{type:\"throw\",arg:Ce}}}C.wrap=l;var m={};function x(){}function M(){}function E(){}var j={};h(j,u,function(){return this});var L=Object.getPrototypeOf,A=L&&L(L(Le([])));A&&A!==w&&O.call(A,u)&&(j=A);var J=E.prototype=x.prototype=Object.create(j);function q(ce){[\"next\",\"throw\",\"return\"].forEach(function(ye){h(ce,ye,function(Oe){return this._invoke(ye,Oe)})})}function re(ce,ye){var Oe;b(this,\"_invoke\",{value:function(Ce,oe){function he(){return new ye(function(ie,ae){(function ve(X,se,fe,_e){var be=s(ce[X],ce,se);if(be.type!==\"throw\"){var We=be.arg,we=We.value;return we&&y(we)==\"object\"&&O.call(we,\"__await\")?ye.resolve(we.__await).then(function(Ze){ve(\"next\",Ze,fe,_e)},function(Ze){ve(\"throw\",Ze,fe,_e)}):ye.resolve(we).then(function(Ze){We.value=Ze,fe(We)},function(Ze){return ve(\"throw\",Ze,fe,_e)})}_e(be.arg)})(Ce,oe,ie,ae)})}return Oe=Oe?Oe.then(he,he):he()}})}function me(ce,ye,Oe){var Ce=\"suspendedStart\";return function(oe,he){if(Ce===\"executing\")throw new Error(\"Generator is already running\");if(Ce===\"completed\"){if(oe===\"throw\")throw he;return De()}for(Oe.method=oe,Oe.arg=he;;){var ie=Oe.delegate;if(ie){var ae=Te(ie,Oe);if(ae){if(ae===m)continue;return ae}}if(Oe.method===\"next\")Oe.sent=Oe._sent=Oe.arg;else if(Oe.method===\"throw\"){if(Ce===\"suspendedStart\")throw Ce=\"completed\",Oe.arg;Oe.dispatchException(Oe.arg)}else Oe.method===\"return\"&&Oe.abrupt(\"return\",Oe.arg);Ce=\"executing\";var ve=s(ce,ye,Oe);if(ve.type===\"normal\"){if(Ce=Oe.done?\"completed\":\"suspendedYield\",ve.arg===m)continue;return{value:ve.arg,done:Oe.done}}ve.type===\"throw\"&&(Ce=\"completed\",Oe.method=\"throw\",Oe.arg=ve.arg)}}}function Te(ce,ye){var Oe=ye.method,Ce=ce.iterator[Oe];if(Ce===void 0)return ye.delegate=null,Oe===\"throw\"&&ce.iterator.return&&(ye.method=\"return\",ye.arg=void 0,Te(ce,ye),ye.method===\"throw\")||Oe!==\"return\"&&(ye.method=\"throw\",ye.arg=new TypeError(\"The iterator does not provide a '\"+Oe+\"' method\")),m;var oe=s(Ce,ce.iterator,ye.arg);if(oe.type===\"throw\")return ye.method=\"throw\",ye.arg=oe.arg,ye.delegate=null,m;var he=oe.arg;return he?he.done?(ye[ce.resultName]=he.value,ye.next=ce.nextLoc,ye.method!==\"return\"&&(ye.method=\"next\",ye.arg=void 0),ye.delegate=null,m):he:(ye.method=\"throw\",ye.arg=new TypeError(\"iterator result is not an object\"),ye.delegate=null,m)}function ee(ce){var ye={tryLoc:ce[0]};1 in ce&&(ye.catchLoc=ce[1]),2 in ce&&(ye.finallyLoc=ce[2],ye.afterLoc=ce[3]),this.tryEntries.push(ye)}function xe(ce){var ye=ce.completion||{};ye.type=\"normal\",delete ye.arg,ce.completion=ye}function Ie(ce){this.tryEntries=[{tryLoc:\"root\"}],ce.forEach(ee,this),this.reset(!0)}function Le(ce){if(ce){var ye=ce[u];if(ye)return ye.call(ce);if(typeof ce.next==\"function\")return ce;if(!isNaN(ce.length)){var Oe=-1,Ce=function oe(){for(;++Oe<ce.length;)if(O.call(ce,Oe))return oe.value=ce[Oe],oe.done=!1,oe;return oe.value=void 0,oe.done=!0,oe};return Ce.next=Ce}}return{next:De}}function De(){return{value:void 0,done:!0}}return M.prototype=E,b(J,\"constructor\",{value:E,configurable:!0}),b(E,\"constructor\",{value:M,configurable:!0}),M.displayName=h(E,f,\"GeneratorFunction\"),C.isGeneratorFunction=function(ce){var ye=typeof ce==\"function\"&&ce.constructor;return!!ye&&(ye===M||(ye.displayName||ye.name)===\"GeneratorFunction\")},C.mark=function(ce){return Object.setPrototypeOf?Object.setPrototypeOf(ce,E):(ce.__proto__=E,h(ce,f,\"GeneratorFunction\")),ce.prototype=Object.create(J),ce},C.awrap=function(ce){return{__await:ce}},q(re.prototype),h(re.prototype,a,function(){return this}),C.AsyncIterator=re,C.async=function(ce,ye,Oe,Ce,oe){oe===void 0&&(oe=Promise);var he=new re(l(ce,ye,Oe,Ce),oe);return C.isGeneratorFunction(ye)?he:he.next().then(function(ie){return ie.done?ie.value:he.next()})},q(J),h(J,f,\"Generator\"),h(J,u,function(){return this}),h(J,\"toString\",function(){return\"[object Generator]\"}),C.keys=function(ce){var ye=Object(ce),Oe=[];for(var Ce in ye)Oe.push(Ce);return Oe.reverse(),function oe(){for(;Oe.length;){var he=Oe.pop();if(he in ye)return oe.value=he,oe.done=!1,oe}return oe.done=!0,oe}},C.values=Le,Ie.prototype={constructor:Ie,reset:function(ce){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(xe),!ce)for(var ye in this)ye.charAt(0)===\"t\"&&O.call(this,ye)&&!isNaN(+ye.slice(1))&&(this[ye]=void 0)},stop:function(){this.done=!0;var ce=this.tryEntries[0].completion;if(ce.type===\"throw\")throw ce.arg;return this.rval},dispatchException:function(ce){if(this.done)throw ce;var ye=this;function Oe(ve,X){return he.type=\"throw\",he.arg=ce,ye.next=ve,X&&(ye.method=\"next\",ye.arg=void 0),!!X}for(var Ce=this.tryEntries.length-1;Ce>=0;--Ce){var oe=this.tryEntries[Ce],he=oe.completion;if(oe.tryLoc===\"root\")return Oe(\"end\");if(oe.tryLoc<=this.prev){var ie=O.call(oe,\"catchLoc\"),ae=O.call(oe,\"finallyLoc\");if(ie&&ae){if(this.prev<oe.catchLoc)return Oe(oe.catchLoc,!0);if(this.prev<oe.finallyLoc)return Oe(oe.finallyLoc)}else if(ie){if(this.prev<oe.catchLoc)return Oe(oe.catchLoc,!0)}else{if(!ae)throw new Error(\"try statement without catch or finally\");if(this.prev<oe.finallyLoc)return Oe(oe.finallyLoc)}}}},abrupt:function(ce,ye){for(var Oe=this.tryEntries.length-1;Oe>=0;--Oe){var Ce=this.tryEntries[Oe];if(Ce.tryLoc<=this.prev&&O.call(Ce,\"finallyLoc\")&&this.prev<Ce.finallyLoc){var oe=Ce;break}}oe&&(ce===\"break\"||ce===\"continue\")&&oe.tryLoc<=ye&&ye<=oe.finallyLoc&&(oe=null);var he=oe?oe.completion:{};return he.type=ce,he.arg=ye,oe?(this.method=\"next\",this.next=oe.finallyLoc,m):this.complete(he)},complete:function(ce,ye){if(ce.type===\"throw\")throw ce.arg;return ce.type===\"break\"||ce.type===\"continue\"?this.next=ce.arg:ce.type===\"return\"?(this.rval=this.arg=ce.arg,this.method=\"return\",this.next=\"end\"):ce.type===\"normal\"&&ye&&(this.next=ye),m},finish:function(ce){for(var ye=this.tryEntries.length-1;ye>=0;--ye){var Oe=this.tryEntries[ye];if(Oe.finallyLoc===ce)return this.complete(Oe.completion,Oe.afterLoc),xe(Oe),m}},catch:function(ce){for(var ye=this.tryEntries.length-1;ye>=0;--ye){var Oe=this.tryEntries[ye];if(Oe.tryLoc===ce){var Ce=Oe.completion;if(Ce.type===\"throw\"){var oe=Ce.arg;xe(Oe)}return oe}}throw new Error(\"illegal catch attempt\")},delegateYield:function(ce,ye,Oe){return this.delegate={iterator:Le(ce),resultName:ye,nextLoc:Oe},this.method===\"next\"&&(this.arg=void 0),m}},C}Ee.exports=N,Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports},function(Ee,c,r){var y=r(101);Ee.exports=function(N){if(Array.isArray(N))return y(N)},Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports},function(Ee,c){Ee.exports=function(r){if(typeof Symbol!=\"undefined\"&&r[Symbol.iterator]!=null||r[\"@@iterator\"]!=null)return Array.from(r)},Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports},function(Ee,c,r){var y=r(101);Ee.exports=function(N,C){if(N){if(typeof N==\"string\")return y(N,C);var w=Object.prototype.toString.call(N).slice(8,-1);return w===\"Object\"&&N.constructor&&(w=N.constructor.name),w===\"Map\"||w===\"Set\"?Array.from(N):w===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w)?y(N,C):void 0}},Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports},function(Ee,c){Ee.exports=function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},Ee.exports.__esModule=!0,Ee.exports.default=Ee.exports},function(Ee,c,r){var y=r(198)(Object.getPrototypeOf,Object);Ee.exports=y},function(Ee,c){Ee.exports=function(r,y){return function(N){return r(y(N))}}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.clusterBundle=c.clusterCode=c.fruchtermanBundle=c.fruchtermanCode=void 0,c.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`,c.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}}',c.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`,c.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}}'},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.aveMovementBundle=c.aveMovementCode=c.gForceBundle=c.gForceCode=void 0,c.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`,c.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}}',c.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`,c.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}}'},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=function(){function N(C){this.id=C.id||0,this.rx=C.rx,this.ry=C.ry,this.fx=0,this.fy=0,this.mass=C.mass,this.degree=C.degree,this.g=C.g||0}return N.prototype.distanceTo=function(C){var w=this.rx-C.rx,O=this.ry-C.ry;return Math.hypot(w,O)},N.prototype.setPos=function(C,w){this.rx=C,this.ry=w},N.prototype.resetForce=function(){this.fx=0,this.fy=0},N.prototype.addForce=function(C){var w=C.rx-this.rx,O=C.ry-this.ry,b=Math.hypot(w,O);b=b<1e-4?1e-4:b;var p=this.g*(this.degree+1)*(C.degree+1)/b;this.fx+=p*w/b,this.fy+=p*O/b},N.prototype.in=function(C){return C.contains(this.rx,this.ry)},N.prototype.add=function(C){var w=this.mass+C.mass;return new N({rx:(this.rx*this.mass+C.rx*C.mass)/w,ry:(this.ry*this.mass+C.ry*C.mass)/w,mass:w,degree:this.degree+C.degree})},N}();c.default=y},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=function(){function N(C){this.xmid=C.xmid,this.ymid=C.ymid,this.length=C.length,this.massCenter=C.massCenter||[0,0],this.mass=C.mass||1}return N.prototype.getLength=function(){return this.length},N.prototype.contains=function(C,w){var O=this.length/2;return C<=this.xmid+O&&C>=this.xmid-O&&w<=this.ymid+O&&w>=this.ymid-O},N.prototype.NW=function(){return new N({xmid:this.xmid-this.length/4,ymid:this.ymid+this.length/4,length:this.length/2})},N.prototype.NE=function(){return new N({xmid:this.xmid+this.length/4,ymid:this.ymid+this.length/4,length:this.length/2})},N.prototype.SW=function(){return new N({xmid:this.xmid-this.length/4,ymid:this.ymid-this.length/4,length:this.length/2})},N.prototype.SE=function(){return new N({xmid:this.xmid+this.length/4,ymid:this.ymid-this.length/4,length:this.length/2})},N}();c.default=y},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=function(){function N(C){this.body=null,this.quad=null,this.NW=null,this.NE=null,this.SW=null,this.SE=null,this.theta=.5,C!=null&&(this.quad=C)}return N.prototype.insert=function(C){this.body!=null?this._isExternal()?(this.quad&&(this.NW=new N(this.quad.NW()),this.NE=new N(this.quad.NE()),this.SW=new N(this.quad.SW()),this.SE=new N(this.quad.SE())),this._putBody(this.body),this._putBody(C),this.body=this.body.add(C)):(this.body=this.body.add(C),this._putBody(C)):this.body=C},N.prototype._putBody=function(C){this.quad&&(C.in(this.quad.NW())&&this.NW?this.NW.insert(C):C.in(this.quad.NE())&&this.NE?this.NE.insert(C):C.in(this.quad.SW())&&this.SW?this.SW.insert(C):C.in(this.quad.SE())&&this.SE&&this.SE.insert(C))},N.prototype._isExternal=function(){return this.NW==null&&this.NE==null&&this.SW==null&&this.SE==null},N.prototype.updateForce=function(C){this.body!=null&&C!==this.body&&(this._isExternal()||(this.quad?this.quad.getLength():0)/this.body.distanceTo(C)<this.theta?C.addForce(this.body):(this.NW&&this.NW.updateForce(C),this.NE&&this.NE.updateForce(C),this.SW&&this.SW.updateForce(C),this.SE&&this.SE.updateForce(C)))},N}();c.default=y},function(Ee,c,r){\"use strict\";var y=this&&this.__assign||function(){return(y=Object.assign||function(f){for(var h,l=1,s=arguments.length;l<s;l++)for(var m in h=arguments[l])Object.prototype.hasOwnProperty.call(h,m)&&(f[m]=h[m]);return f}).apply(this,arguments)},N=this&&this.__createBinding||(Object.create?function(f,h,l,s){s===void 0&&(s=l);var m=Object.getOwnPropertyDescriptor(h,l);m&&!(\"get\"in m?!h.__esModule:m.writable||m.configurable)||(m={enumerable:!0,get:function(){return h[l]}}),Object.defineProperty(f,s,m)}:function(f,h,l,s){s===void 0&&(s=l),f[s]=h[l]}),C=this&&this.__setModuleDefault||(Object.create?function(f,h){Object.defineProperty(f,\"default\",{enumerable:!0,value:h})}:function(f,h){f.default=h}),w=this&&this.__importStar||function(f){if(f&&f.__esModule)return f;var h={};if(f!=null)for(var l in f)l!==\"default\"&&Object.prototype.hasOwnProperty.call(f,l)&&N(h,f,l);return C(h,f),h},O=this&&this.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(c,\"__esModule\",{value:!0});var b=w(r(66)),p=O(r(205)),u=O(r(207)),a=r(62);c.default=function(f,h){var l=f.nodes,s=f.edges,m=h.width,x=h.height;if(!(l!=null&&l.length))return Promise.resolve();var M=[];l.forEach(function(q){if(s.filter(function(me){return me.source===q.id||me.target===q.id}).length>1){var re=y({},q);delete re.size,M.push(re)}});var E=[];s.forEach(function(q){var re=M.find(function(Te){return Te.id===q.source}),me=M.find(function(Te){return Te.id===q.target});re&&me&&E.push(q)});var j=new a.DagreLayout({type:\"dagre\",ranksep:h.nodeMinGap,nodesep:h.nodeMinGap}).layout({nodes:M,edges:E}).nodes;l.forEach(function(q){var re=(j||[]).find(function(me){return me.id===q.id});q.x=(re==null?void 0:re.x)||m/2,q.y=(re==null?void 0:re.y)||x/2});var L=JSON.parse(JSON.stringify(l)),A=JSON.parse(JSON.stringify(s)),J=b.forceSimulation().nodes(L).force(\"link\",b.forceLink(A).id(function(q){return q.id}).distance(function(q){return E.find(function(re){return re.source===q.source&&re.target===q.target})?30:20})).force(\"charge\",b.forceManyBody()).force(\"center\",b.forceCenter(m/2,x/2)).force(\"x\",b.forceX(m/2)).force(\"y\",b.forceY(x/2)).alpha(.3).alphaDecay(.08).alphaMin(.001);return new Promise(function(q){J.on(\"end\",function(){l.forEach(function(Le){var De=L.find(function(ce){return ce.id===Le.id});De&&(Le.x=De.x,Le.y=De.y)});var re=Math.min.apply(Math,l.map(function(Le){return Le.x})),me=Math.max.apply(Math,l.map(function(Le){return Le.x})),Te=Math.min.apply(Math,l.map(function(Le){return Le.y})),ee=Math.max.apply(Math,l.map(function(Le){return Le.y})),xe=m/(me-re),Ie=x/(ee-Te);l.forEach(function(Le){Le.x!==void 0&&xe<1&&(Le.x=(Le.x-re)*xe),Le.y!==void 0&&Ie<1&&(Le.y=(Le.y-Te)*Ie)}),l.forEach(function(Le){Le.sizeTemp=Le.size,Le.size=[10,10]}),(0,u.default)(l,s),l.forEach(function(Le){Le.size=Le.sizeTemp||[],delete Le.sizeTemp}),(0,p.default)({nodes:l,edges:s},h),q()})})}},function(Ee,c,r){\"use strict\";var y=this&&this.__importDefault||function(C){return C&&C.__esModule?C:{default:C}};Object.defineProperty(c,\"__esModule\",{value:!0});var N=y(r(206));c.default=function(C,w){if(!C.nodes||C.nodes.length===0)return C;var O=w.width,b=w.height,p=w.nodeMinGap,u=1e4,a=1e4;C.nodes.forEach(function(A){var J=A.size[0]||50,q=A.size[1]||50;u=Math.min(J,u),a=Math.min(q,a)});var f=new N.default;f.init(O,b,{CELL_H:a,CELL_W:u}),C.nodes.forEach(function(A){var J=f.occupyNearest(A);J&&(J.node={id:A.id,size:A.size},A.x=J.x,A.y=J.y,A.dx=J.dx,A.dy=J.dy)});for(var h=0;h<C.nodes.length;h++){var l=C.nodes[h],s=f.findGridByNodeId(l.id);if(!s)throw new Error(\"can not find node cell\");var m=s.column,x=s.row;if(l.size[0]+p>u){for(var M=j=Math.ceil((l.size[0]+p)/u)-1,E=0;E<j&&!(!(f.additionColumn.indexOf(m+E+1)>-1)||f.cells[m+E+1][x].node);E++)M--;f.insertColumn(m,M)}if(l.size[1]+p>a){var j;for(M=j=Math.ceil((l.size[1]+p)/a)-1,E=0;E<j&&!(!(f.additionRow.indexOf(x+E+1)>-1)||f.cells[m][x+E+1].node);E++)M--;f.insertRow(x,M)}}for(h=0;h<f.columnNum;h++){var L=function(A){var J=f.cells[h][A];if(J.node){var q=C.nodes.find(function(re){var me;return re.id===((me=J==null?void 0:J.node)===null||me===void 0?void 0:me.id)});q&&(q.x=J.x+q.size[0]/2,q.y=J.y+q.size[1]/2)}};for(E=0;E<f.rowNum;E++)L(E)}}},function(Ee,c,r){\"use strict\";var y=this&&this.__assign||function(){return(y=Object.assign||function(C){for(var w,O=1,b=arguments.length;O<b;O++)for(var p in w=arguments[O])Object.prototype.hasOwnProperty.call(w,p)&&(C[p]=w[p]);return C}).apply(this,arguments)};Object.defineProperty(c,\"__esModule\",{value:!0});var N=function(){function C(){this.cells=[],this.columnNum=0,this.rowNum=0,this.additionColumn=[],this.additionRow=[]}return C.prototype.init=function(w,O,b){this.cells=[],this.CELL_W=b.CELL_W||C.DEFAULT_CELL_W,this.CELL_H=b.CELL_H||C.DEFAULT_CELL_H,this.columnNum=Math.ceil(w/this.CELL_W),this.rowNum=Math.ceil(O/this.CELL_H),C.MIN_DIST=Math.pow(w,2)+Math.pow(O,2);for(var p=0;p<this.columnNum;p++){for(var u=[],a=0;a<this.rowNum;a++){var f={dx:p,dy:a,x:p*this.CELL_W,y:a*this.CELL_H,occupied:!1};u.push(f)}this.cells.push(u)}},C.prototype.findGridByNodeId=function(w){for(var O,b,p=0;p<this.columnNum;p++)for(var u=0;u<this.rowNum;u++)if(this.cells[p][u].node&&((b=(O=this.cells[p][u])===null||O===void 0?void 0:O.node)===null||b===void 0?void 0:b.id)===w)return{column:p,row:u};return null},C.prototype.sqdist=function(w,O){return Math.pow(w.x-O.x,2)+Math.pow(w.y-O.y,2)},C.prototype.occupyNearest=function(w){for(var O,b=C.MIN_DIST,p=null,u=0;u<this.columnNum;u++)for(var a=0;a<this.rowNum;a++)!this.cells[u][a].occupied&&(O=this.sqdist(w,this.cells[u][a]))<b&&(b=O,p=this.cells[u][a]);return p&&(p.occupied=!0),p},C.prototype.insertColumn=function(w,O){if(!(O<=0)){for(var b=0;b<O;b++){this.cells[b+this.columnNum]=[];for(var p=0;p<this.rowNum;p++)this.cells[b+this.columnNum][p]={dx:b,dy:p,x:b*this.CELL_W,y:p*this.CELL_H,occupied:!1,node:null}}for(b=this.columnNum-1;b>w;b--)for(p=0;p<this.rowNum;p++)this.cells[b+O][p]=y(y({},this.cells[b][p]),{x:(b+O)*this.CELL_W,y:p*this.CELL_H}),this.cells[b][p]={x:b*this.CELL_W,y:p*this.CELL_H,occupied:!0,node:null};for(p=0;p<this.additionColumn.length;p++)this.additionColumn[p]>=w&&(this.additionColumn[p]+=O);for(b=0;b<O;b++)this.additionColumn.push(w+b+1);this.columnNum+=O}},C.prototype.insertRow=function(w,O){if(!(O<=0)){for(var b=0;b<O;b++)for(var p=0;p<this.columnNum;p++)this.cells[p][b+this.rowNum]={dx:p,dy:b,x:p*this.CELL_W,y:b*this.CELL_H,occupied:!1,node:null};for(p=0;p<this.columnNum;p++)for(b=this.rowNum-1;b>w;b--)this.cells[p][b+O]=y(y({},this.cells[p][b]),{dx:p,dy:b+O,x:p*this.CELL_W,y:(b+O)*this.CELL_H}),this.cells[p][b]={dx:p,dy:b,x:p*this.CELL_W,y:b*this.CELL_H,occupied:!1,node:null};for(b=0;b<this.additionRow.length;b++)this.additionRow[b]>=w&&(this.additionRow[b]+=O);for(p=0;p<O;p++)this.additionRow.push(w+p+1);this.rowNum+=O}},C.prototype.getNodes=function(){for(var w=[],O=0;O<this.columnNum;O++)for(var b=0;b<this.rowNum;b++)this.cells[O][b].node&&w.push(this.cells[O][b]);return w},C.MIN_DIST=50,C.DEFAULT_CELL_W=80,C.DEFAULT_CELL_H=80,C}();c.default=N},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0});var y=1.5707963267948966,N=new Map,C=.8;function w(a,f){var h=(N.get(a.id)||[]).find(function(ye){return ye.source===f.id||ye.target===f.id}),l=a.size[0]*a.size[1],s=f.size[0]*f.size[1],m=l>s?f:a,x=l>s?a:f,M=m.x-m.size[0]/2,E=m.y-m.size[1]/2,j=m.x+m.size[0]/2,L=m.y+m.size[1]/2,A=x.x-x.size[0]/2,J=x.y-x.size[1]/2,q=x.x+x.size[0]/2,re=x.y+x.size[1]/2,me=m.x,Te=m.y,ee=x.x,xe=x.y,Ie=0,Le=0;if(j>=A&&q>=M&&L>=J&&re>=E)(Le=Math.sqrt(Math.pow(ee-me,2)+Math.pow(xe-Te,2)))===0&&(Le=1e-7),Ie=10/Le*100+((j<q?j:q)-(M>A?M:A))*((L<re?L:re)-(E>J?E:J)),Ie*=1e7;else{var De=!1,ce=function(ye,Oe,Ce){var oe=ye.x-ye.size[0]/2,he=ye.y-ye.size[1]/2,ie=ye.x+ye.size[0]/2,ae=ye.y+ye.size[1]/2,ve=Oe.x-Oe.size[0]/2,X=Oe.y-Oe.size[1]/2,se=Oe.x+Oe.size[0]/2,fe=Oe.y+Oe.size[1]/2,_e=ye.x,be=ye.y,We=Oe.x,we=Oe.y,Ze=We-_e,Ve=Math.atan2(Ze,we-be),et=0,ht=0,Fe=0,mt=0;Ve>y?(ht=he-fe,et=ve-ie,Fe=parseFloat(ht?(ht/Math.cos(Ve)).toFixed(2):et.toFixed(2)),mt=parseFloat(et?(et/Math.sin(Ve)).toFixed(2):ht.toFixed(2))):Fe=mt=0<Ve&&Ve<=y?(ht=X-ae)>(et=ve-ie)?parseFloat(ht?(ht/Math.cos(Ve)).toFixed(2):et.toFixed(2)):parseFloat(et?(et/Math.sin(Ve)).toFixed(2):ht.toFixed(2)):Ve<-y?(ht=he-fe)>(et=-(se-oe))?parseFloat(ht?(ht/Math.cos(Ve)).toFixed(2):et.toFixed(2)):parseFloat(et?(et/Math.sin(Ve)).toFixed(2):ht.toFixed(2)):(ht=X-ae)>(et=Math.abs(Ze)>(ie-oe)/2?oe-se:Ze)?parseFloat(ht?(ht/Math.cos(Ve)).toFixed(2):et.toFixed(2)):parseFloat(et&&Ve!==0?(et/Math.sin(Ve)).toFixed(2):ht.toFixed(2));var dt=parseFloat(Ve.toFixed(2)),Lt=Ce;return Ce&&(Lt=1.1780972450961724<dt&&dt<1.9634954084936207),{distance:Math.abs(Fe<mt?Fe:mt),isHoriz:Lt}}(m,x,De);Le=ce.distance,De=ce.isHoriz,Le<=10?Ie+=Le!==0?h?10+1e7/Le:10+1e8/Le:1e7:(Ie+=Le,h&&(Ie+=Le*Le))}return Ie}function O(a){for(var f=0,h=0;h<a.length;h++){var l=a[h];(l.x<0||l.y<0||l.x>1200||l.y>800)&&(f+=1e12);for(var s=h+1;s<a.length;s++)f+=w(l,a[s])}return f}function b(a,f,h,l){var s=new Map;h.forEach(function(re,me){s.set(re.id,re)});var m=l.filter(function(re){return re.source===a.id||re.target===a.id})||[],x=[];m.forEach(function(re){var me=re.source===a.id?re.target:re.source,Te=s.get(me);Te&&x.push(Te)});for(var M=!0,E=0;E<x.length;E++){var j=x[E],L=180*Math.atan((a.y-j.y)/(j.x-a.y)),A=180*Math.atan((f.y-j.y)/(j.x-f.y)),J=L>70&&L<110,q=A>70&&A<110;if((L<30||L>150)&&!(A<30||A>150)||L*A<0){M=!1;break}if(J&&!q||L*A<0){M=!1;break}if((j.x-a.x)*(j.x-f.x)<0){M=!1;break}if((j.y-a.y)*(j.y-f.y)<0){M=!1;break}}return M}function p(a,f){for(var h=!1,l=[10,-10,0,0],s=[0,0,10,-10],m=0;m<a.length;++m)for(var x=a[m],M=u(x,a),E=0;E<l.length;E++)if(b(x,{x:x.x+l[E],y:x.y+s[E]},a,f)){x.x+=l[E],x.y+=s[E];var j=u(x,a),L=Math.random();j<M||L<C&&L>.1?(M=j,h=!0):(x.x-=l[E],x.y-=s[E])}return C>.1&&(C*=.5),h?O(a):0}function u(a,f){var h=0;(a.x<0||a.y<0||a.x+a.size[0]+20>1200||a.y+a.size[1]+20>800)&&(h+=1e12);for(var l=0;l<f.length;++l)a.id!==f[l].id&&(h+=w(a,f[l]));return h}c.default=function(a,f){if(a.length===0)return{nodes:a,edges:f};a.forEach(function(E){var j=f.filter(function(L){return L.source===E.id||L.target===E.id});N.set(E,j)}),a.sort(function(E,j){var L,A;return((L=N.get(E.id))===null||L===void 0?void 0:L.length)-((A=N.get(j.id))===null||A===void 0?void 0:A.length)});for(var h=O(a),l=20,s=1,m=0,x=0;l>0&&!(++x>=50);){var M=p(a,f);M!==0&&(m=M),s=m-h,h=m,s===0?--l:l=20}return a.forEach(function(E){E.x=E.x-E.size[0]/2,E.y=E.y-E.size[1]/2}),{nodes:a,edges:f}}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0}),c.Layouts=c.Layout=void 0;var y=r(79),N=r(83),C=r(84),w=r(86),O=r(85),b=r(87),p=r(88),u=r(62),a=r(92),f=r(93),h=r(94),l=r(95),s=r(96),m=r(103),x=r(104),M=r(105),E=r(106),j=r(107),L=r(90),A=r(15),J=function(){function q(re){var me=(0,y.getLayoutByName)(re.type);this.layoutInstance=new me(re)}return q.prototype.layout=function(re){return this.layoutInstance.layout(re)},q.prototype.updateCfg=function(re){this.layoutInstance.updateCfg(re)},q.prototype.init=function(re){this.correctLayers(re.nodes),this.layoutInstance.init(re)},q.prototype.correctLayers=function(re){if(re!=null&&re.length){var me=1/0,Te=[];if(re.forEach(function(xe){(0,A.isString)(xe.layer)&&(xe.layer=parseInt(xe.layer,10)),xe.layer===void 0||isNaN(xe.layer)||(Te.push(xe),xe.layer<me&&(me=xe.layer))}),me<=0){var ee=Math.abs(me)+1;Te.forEach(function(xe){return xe.layer+=ee})}}},q.prototype.execute=function(){this.layoutInstance.execute()},q.prototype.getDefaultCfg=function(){return this.layoutInstance.getDefaultCfg()},q.prototype.destroy=function(){return this.layoutInstance.destroy()},q}();c.Layout=J,c.Layouts={force:b.ForceLayout,fruchterman:l.FruchtermanLayout,forceAtlas2:E.ForceAtlas2Layout,gForce:O.GForceLayout,force2:w.Force2Layout,dagre:u.DagreLayout,dagreCompound:L.DagreCompoundLayout,circular:p.CircularLayout,radial:a.RadialLayout,concentric:f.ConcentricLayout,grid:N.GridLayout,mds:h.MDSLayout,comboForce:x.ComboForceLayout,comboCombined:M.ComboCombinedLayout,random:C.RandomLayout,\"gForce-gpu\":m.GForceGPULayout,\"fruchterman-gpu\":s.FruchtermanGPULayout,er:j.ERLayout}},function(Ee,c,r){\"use strict\";Object.defineProperty(c,\"__esModule\",{value:!0})},function(Ee,c,r){\"use strict\";r.r(c),r.d(c,\"G6GraphEvent\",function(){return ct}),r.d(c,\"Node\",function(){return U}),r.d(c,\"Edge\",function(){return V}),r.d(c,\"Combo\",function(){return ge}),r.d(c,\"Hull\",function(){return ui}),r.d(c,\"registerNode\",function(){return Ba}),r.d(c,\"registerCombo\",function(){return Va}),r.d(c,\"AbstractGraph\",function(){return ho}),r.d(c,\"registerEdge\",function(){return Ua}),r.d(c,\"registerBehavior\",function(){return Ls}),r.d(c,\"AbstractLayout\",function(){return Ma}),r.d(c,\"AbstractEvent\",function(){return Ka}),r.d(c,\"BaseGlobal\",function(){return Qo}),r.d(c,\"Graph\",function(){return Cs}),r.d(c,\"TreeGraph\",function(){return ds}),r.d(c,\"Util\",function(){return Ht}),r.d(c,\"Layout\",function(){return Li.Layouts}),r.d(c,\"TreeLayout\",function(){return wn}),r.d(c,\"registerLayout\",function(){return On}),r.d(c,\"Global\",function(){return di}),r.d(c,\"Minimap\",function(){return vd}),r.d(c,\"Grid\",function(){return Ff}),r.d(c,\"Bundling\",function(){return ed}),r.d(c,\"Menu\",function(){return td}),r.d(c,\"Fisheye\",function(){return yf}),r.d(c,\"Algorithm\",function(){return mf}),r.d(c,\"ToolBar\",function(){return nd}),r.d(c,\"Tooltip\",function(){return rd}),r.d(c,\"TimeBar\",function(){return od}),r.d(c,\"ImageMinimap\",function(){return zf}),r.d(c,\"EdgeFilterLens\",function(){return $f}),r.d(c,\"SnapLine\",function(){return du}),r.d(c,\"Legend\",function(){return Ou}),r.d(c,\"Annotation\",function(){return Hf}),r.d(c,\"Arrow\",function(){return Ii}),r.d(c,\"Marker\",function(){return pa}),r.d(c,\"Shape\",function(){return na}),r.d(c,\"version\",function(){return ad});var y={};r.r(y),r.d(y,\"getAdjMatrix\",function(){return L}),r.d(y,\"breadthFirstSearch\",function(){return xe}),r.d(y,\"connectedComponent\",function(){return Le}),r.d(y,\"getDegree\",function(){return ce}),r.d(y,\"getInDegree\",function(){return ye}),r.d(y,\"getOutDegree\",function(){return Oe}),r.d(y,\"detectCycle\",function(){return ae}),r.d(y,\"detectDirectedCycle\",function(){return Dt}),r.d(y,\"detectAllCycles\",function(){return ie}),r.d(y,\"detectAllDirectedCycle\",function(){return he}),r.d(y,\"detectAllUndirectedCycle\",function(){return oe}),r.d(y,\"depthFirstSearch\",function(){return Ce}),r.d(y,\"dijkstra\",function(){return ve}),r.d(y,\"findAllPath\",function(){return _e}),r.d(y,\"findShortestPath\",function(){return fe}),r.d(y,\"floydWarshall\",function(){return be}),r.d(y,\"labelPropagation\",function(){return We}),r.d(y,\"louvain\",function(){return dt}),r.d(y,\"iLouvain\",function(){return Lt}),r.d(y,\"kCore\",function(){return lt}),r.d(y,\"kMeans\",function(){return qt}),r.d(y,\"cosineSimilarity\",function(){return hn}),r.d(y,\"nodesCosineSimilarity\",function(){return Kt}),r.d(y,\"minimumSpanningTree\",function(){return Fn}),r.d(y,\"pageRank\",function(){return pn}),r.d(y,\"getNeighbors\",function(){return me}),r.d(y,\"Stack\",function(){return xn}),r.d(y,\"GADDI\",function(){return Wt}),r.d(y,\"default\",function(){return Xn});var N={};r.r(N),r.d(N,\"compare\",function(){return wt}),r.d(N,\"getLineIntersect\",function(){return Ue}),r.d(N,\"getRectIntersectByPoint\",function(){return xt}),r.d(N,\"getCircleIntersectByPoint\",function(){return cn}),r.d(N,\"getEllipseIntersectByPoint\",function(){return er}),r.d(N,\"applyMatrix\",function(){return Mr}),r.d(N,\"invertMatrix\",function(){return xr}),r.d(N,\"getCircleCenterByPoints\",function(){return jr}),r.d(N,\"distance\",function(){return yo}),r.d(N,\"scaleMatrix\",function(){return eo}),r.d(N,\"floydWarshall\",function(){return vi}),r.d(N,\"getAdjMatrix\",function(){return Ti}),r.d(N,\"translate\",function(){return wi}),r.d(N,\"move\",function(){return mi}),r.d(N,\"scale\",function(){return Zi}),r.d(N,\"rotate\",function(){return aa}),r.d(N,\"getDegree\",function(){return $e}),r.d(N,\"isPointInPolygon\",function(){return Un}),r.d(N,\"intersectBBox\",function(){return ar}),r.d(N,\"isPolygonsIntersect\",function(){return Rr}),r.d(N,\"Line\",function(){return Ro}),r.d(N,\"getBBoxBoundLine\",function(){return Vo}),r.d(N,\"itemIntersectByLine\",function(){return Mo}),r.d(N,\"fractionToLine\",function(){return qo}),r.d(N,\"getPointsCenter\",function(){return ti}),r.d(N,\"squareDist\",function(){return pi}),r.d(N,\"pointLineSquareDist\",function(){return ni}),r.d(N,\"isPointsOverlap\",function(){return si}),r.d(N,\"pointRectSquareDist\",function(){return Oi}),r.d(N,\"pointLineDistance\",function(){return Ki}),r.d(N,\"lerp\",function(){return ca}),r.d(N,\"lerpArray\",function(){return zi});var C={};r.r(C),r.d(C,\"getBBox\",function(){return wr}),r.d(C,\"getLoopCfgs\",function(){return Dr}),r.d(C,\"getLabelPosition\",function(){return go}),r.d(C,\"traverseTree\",function(){return Ir}),r.d(C,\"traverseTreeUp\",function(){return Jr}),r.d(C,\"getLetterWidth\",function(){return _o}),r.d(C,\"getTextSize\",function(){return No}),r.d(C,\"truncateLabelByLength\",function(){return ii}),r.d(C,\"plainCombosToTrees\",function(){return Lo}),r.d(C,\"reconstructTree\",function(){return ai}),r.d(C,\"getComboBBox\",function(){return Si}),r.d(C,\"shouldRefreshEdge\",function(){return Ui}),r.d(C,\"cloneBesidesImg\",function(){return ln}),r.d(C,\"getAnimateCfgWithCallback\",function(){return mn});var w={};r.r(w),r.d(w,\"uniqueId\",function(){return tn}),r.d(w,\"formatPadding\",function(){return An}),r.d(w,\"cloneEvent\",function(){return Rt}),r.d(w,\"isViewportChanged\",function(){return un}),r.d(w,\"isNaN\",function(){return Dn}),r.d(w,\"calculationItemsBBox\",function(){return dr}),r.d(w,\"processParallelEdges\",function(){return Ar});var O={};r.r(O),r.d(O,\"getSpline\",function(){return It}),r.d(O,\"getControlPoint\",function(){return jt}),r.d(O,\"pointsToPolygon\",function(){return Vt}),r.d(O,\"pathToPoints\",function(){return Pn}),r.d(O,\"getClosedSpline\",function(){return Jn}),r.d(O,\"roundedHull\",function(){return ir}),r.d(O,\"paddedHull\",function(){return nr}),r.d(O,\"getStarPath\",function(){return ur});var b={};r.r(b),r.d(b,\"defaultSubjectColors\",function(){return $i});var p={};r.r(p),r.d(p,\"isForce\",function(){return La});var u={};r.r(u),r.d(u,\"mixColor\",function(){return Xa}),r.d(u,\"getColorsWithSubjectColor\",function(){return os}),r.d(u,\"getColorSetsBySubjectColors\",function(){return As});var a={};r.r(a),r.d(a,\"proccessToFunc\",function(){return Ja}),r.d(a,\"buildTextureData\",function(){return qa}),r.d(a,\"buildTextureDataWithOneEdgeAttr\",function(){return Ts}),r.d(a,\"buildTextureDataWithTwoEdgeAttr\",function(){return v}),r.d(a,\"attributesToTextureData\",function(){return G}),r.d(a,\"arrayToTextureData\",function(){return ze}),r.d(a,\"radialLayout\",function(){return ut});var f={};r.r(f),r.d(f,\"gpuDetector\",function(){return _t});var h={};r.r(h),r.d(h,\"default\",function(){return hl}),r.d(h,\"assign\",function(){return Ps}),r.d(h,\"format\",function(){return dl}),r.d(h,\"parse\",function(){return Du}),r.d(h,\"defaultI18n\",function(){return Nu}),r.d(h,\"setGlobalDateI18n\",function(){return mu}),r.d(h,\"setGlobalDateMasks\",function(){return Wu});var l=r(1),s=r(0),m={getDefaultCfg:function(){return{}},getEvents:function(){return{}},updateCfg:function(o){return Object.assign(this,o),!0},shouldBegin:function(){return!0},shouldUpdate:function(){return!0},shouldEnd:function(){return!0},bind:function(o){var t=this,e=this.events;this.graph=o,this.type!==\"drag-canvas\"&&this.type!==\"brush-select\"&&this.type!==\"lasso-select\"||o.get(\"canvas\").set(\"draggable\",!0),Object(s.each)(e,function(n,i){o.on(i,n)}),document.addEventListener(\"visibilitychange\",function(){t.keydown=!1})},unbind:function(o){var t=this.events,e=o.get(\"canvas\").get(\"draggable\");this.type!==\"drag-canvas\"&&this.type!==\"brush-select\"&&this.type!==\"lasso-select\"||o.get(\"canvas\").set(\"draggable\",!1),Object(s.each)(t,function(n,i){o.off(i,n)}),o.get(\"canvas\").set(\"draggable\",e)},get:function(o){return this[o]},set:function(o,t){return this[o]=t,this}},x=function(){function o(){}return o.registerBehavior=function(t,e){if(!e)throw new Error(\"please specify handler for this behavior: \".concat(t));var n=Object(s.clone)(m);Object.assign(n,e);var i=function(d){var g=this;Object.assign(this,this.getDefaultCfg(),d);var _=this.getEvents();this.events=null;var I={};_&&(Object(s.each)(_,function(D,H){I[H]=Object(s.wrapBehavior)(g,D)}),this.events=I)};i.prototype=n,o.types[t]=i},o.hasBehavior=function(t){return!!o.types[t]},o.getBehavior=function(t){return o.types[t]},o.types={},o}(),M=x,E=r(52),j=r(4),L=function(o,t){var e=o.nodes,n=o.edges,i=[],d={};if(!e)throw new Error(\"invalid nodes data!\");return e&&e.forEach(function(g,_){d[g.id]=_,i.push([])}),n&&n.forEach(function(g){var _=g.source,I=g.target,D=d[_],H=d[I];!D&&D!==0||!H&&H!==0||(i[D][H]=1,t||(i[H][D]=1))}),i},A=function(o,t){return o===t},J=function(){function o(t,e){e===void 0&&(e=null),this.value=t,this.next=e}return o.prototype.toString=function(t){return t?t(this.value):\"\".concat(this.value)},o}(),q=function(){function o(t){t===void 0&&(t=A),this.head=null,this.tail=null,this.compare=t}return o.prototype.prepend=function(t){var e=new J(t,this.head);return this.head=e,this.tail||(this.tail=e),this},o.prototype.append=function(t){var e=new J(t);return this.head?(this.tail.next=e,this.tail=e,this):(this.head=e,this.tail=e,this)},o.prototype.delete=function(t){if(!this.head)return null;for(var e=null;this.head&&this.compare(this.head.value,t);)e=this.head,this.head=this.head.next;var n=this.head;if(n!==null)for(;n.next;)this.compare(n.next.value,t)?(e=n.next,n.next=n.next.next):n=n.next;return this.compare(this.tail.value,t)&&(this.tail=n),e},o.prototype.find=function(t){var e=t.value,n=e===void 0?void 0:e,i=t.callback,d=i===void 0?void 0:i;if(!this.head)return null;for(var g=this.head;g;){if(d&&d(g.value)||n!==void 0&&this.compare(g.value,n))return g;g=g.next}return null},o.prototype.deleteTail=function(){var t=this.tail;if(this.head===this.tail)return this.head=null,this.tail=null,t;for(var e=this.head;e.next;)e.next.next?e=e.next:e.next=null;return this.tail=e,t},o.prototype.deleteHead=function(){if(!this.head)return null;var t=this.head;return this.head.next?this.head=this.head.next:(this.head=null,this.tail=null),t},o.prototype.fromArray=function(t){var e=this;return t.forEach(function(n){return e.append(n)}),this},o.prototype.toArray=function(){for(var t=[],e=this.head;e;)t.push(e),e=e.next;return t},o.prototype.reverse=function(){for(var t=this.head,e=null,n=null;t;)n=t.next,t.next=e,e=t,t=n;this.tail=this.head,this.head=e},o.prototype.toString=function(t){return t===void 0&&(t=void 0),this.toArray().map(function(e){return e.toString(t)}).toString()},o}(),re=function(){function o(){this.linkedList=new q}return o.prototype.isEmpty=function(){return!this.linkedList.head},o.prototype.peek=function(){return this.linkedList.head?this.linkedList.head.value:null},o.prototype.enqueue=function(t){this.linkedList.append(t)},o.prototype.dequeue=function(){var t=this.linkedList.deleteHead();return t?t.value:null},o.prototype.toString=function(t){return this.linkedList.toString(t)},o}(),me=function(o,t,e){t===void 0&&(t=[]);var n=t.filter(function(i){return i.source===o||i.target===o});return e===\"target\"?n.filter(function(i){return i.source===o}).map(function(i){return i.target}):e===\"source\"?n.filter(function(i){return i.target===o}).map(function(i){return i.source}):n.map(function(i){return i.source===o?i.target:i.source})},Te=function(o,t){return t.filter(function(e){return e.source===o||e.target===o})},ee=function(o){o===void 0&&(o=0);var t=\"\".concat(Math.random()).split(\".\")[1].substr(0,5),e=\"\".concat(Math.random()).split(\".\")[1].substr(0,5);return\"\".concat(o,\"-\").concat(t).concat(e)},xe=function(o,t,e,n){n===void 0&&(n=!0);var i=function(H){H===void 0&&(H={});var Z,te=H,de=function(){},Pe=(Z={},function(Ge){var Qe=Ge.next;return!Z[Qe]&&(Z[Qe]=!0,!0)});return te.allowTraversal=H.allowTraversal||Pe,te.enter=H.enter||de,te.leave=H.leave||de,te}(e),d=new re,g=o.edges,_=g===void 0?[]:g;d.enqueue(t);for(var I=\"\",D=function(){var H=d.dequeue();i.enter({current:H,previous:I}),me(H,_,n?\"target\":void 0).forEach(function(Z){i.allowTraversal({previous:I,current:H,next:Z})&&d.enqueue(Z)}),i.leave({current:H,previous:I}),I=H};!d.isEmpty();)D()},Ie=function(o){for(var t=o.nodes,e=t===void 0?[]:t,n=o.edges,i=n===void 0?[]:n,d=[],g={},_={},I={},D=[],H=0,Z=function Ge(Qe){_[Qe.id]=H,I[Qe.id]=H,H+=1,d.push(Qe),g[Qe.id]=!0;for(var Xe=me(Qe.id,i,\"target\").filter(function(Nn){return e.map(function(Tn){return Tn.id}).indexOf(Nn)>-1}),yt=function(Nn){var Tn=Xe[Nn];if(_[Tn]||_[Tn]===0)g[Tn]&&(I[Qe.id]=Math.min(I[Qe.id],_[Tn]));else{var Bn=e.filter(function(Hn){return Hn.id===Tn});Bn.length>0&&Ge(Bn[0]),I[Qe.id]=Math.min(I[Qe.id],I[Tn])}},Ct=0;Ct<Xe.length;Ct++)yt(Ct);if(I[Qe.id]===_[Qe.id]){for(var on=[];d.length>0;){var sn=d.pop();if(g[sn.id]=!1,on.push(sn),sn===Qe)break}on.length>0&&D.push(on)}},te=0,de=e;te<de.length;te++){var Pe=de[te];_[Pe.id]||_[Pe.id]===0||Z(Pe)}return D};function Le(o,t){return t?Ie(o):function(e){for(var n=e.nodes,i=n===void 0?[]:n,d=e.edges,g=d===void 0?[]:d,_=[],I={},D=[],H=function Pe(Ge){D.push(Ge),I[Ge.id]=!0;for(var Qe=me(Ge.id,g),Xe=function(Ct){var on=Qe[Ct];if(!I[on]){var sn=i.filter(function(Nn){return Nn.id===on});sn.length>0&&Pe(sn[0])}},yt=0;yt<Qe.length;++yt)Xe(yt)},Z=0;Z<i.length;Z++){var te=i[Z];if(!I[te.id]){H(te);for(var de=[];D.length>0;)de.push(D.pop());_.push(de)}}return _}(o)}var De=function(o){var t={},e=o.nodes,n=e===void 0?[]:e,i=o.edges,d=i===void 0?[]:i;return n.forEach(function(g){t[g.id]={degree:0,inDegree:0,outDegree:0}}),d.forEach(function(g){t[g.source].degree++,t[g.source].outDegree++,t[g.target].degree++,t[g.target].inDegree++}),t},ce=De,ye=function(o,t){return De(o)[t]?De(o)[t].inDegree:0},Oe=function(o,t){return De(o)[t]?De(o)[t].outDegree:0};function Ce(o,t,e){(function n(i,d,g,_){_.enter({current:d,previous:g});var I=i.edges;me(d,I===void 0?[]:I,\"target\").forEach(function(D){_.allowTraversal({previous:g,current:d,next:D})&&n(i,D,d,_)}),_.leave({current:d,previous:g})})(o,t,\"\",function(n){n===void 0&&(n={});var i,d=n,g=function(){},_=(i={},function(I){var D=I.next;return!i[D]&&(i[D]=!0,!0)});return d.allowTraversal=n.allowTraversal||_,d.enter=n.enter||g,d.leave=n.leave||g,d}(e))}var oe=function(o,t,e){var n,i;e===void 0&&(e=!0);for(var d=[],g=0,_=Le(o,!1);g<_.length;g++){var I=_[g];if(I.length)for(var D=I[0],H=D.id,Z=[D],te=((n={})[H]=D,n),de=((i={})[H]=new Set,i);Z.length>0;)for(var Pe=Z.pop(),Ge=Pe.id,Qe=me(Ge,o.edges),Xe=function(Ct){var on,sn=Qe[Ct],Nn=o.nodes.find(function(po){return po.id===sn});if(sn===Ge)d.push(((on={})[sn]=Pe,on));else if(sn in de){if(!de[Ge].has(Nn)){for(var Tn=!0,Bn=[Nn,Pe],Hn=te[Ge];de[sn].size&&!de[sn].has(Hn)&&(Bn.push(Hn),Hn!==te[Hn.id]);)Hn=te[Hn.id];if(Bn.push(Hn),t&&e?(Tn=!1,Bn.findIndex(function(po){return t.indexOf(po.id)>-1})>-1&&(Tn=!0)):t&&!e&&Bn.findIndex(function(po){return t.indexOf(po.id)>-1})>-1&&(Tn=!1),Tn){for(var Sr={},Cr=1;Cr<Bn.length;Cr+=1)Sr[Bn[Cr-1].id]=Bn[Cr];Bn.length&&(Sr[Bn[Bn.length-1].id]=Bn[0]),d.push(Sr)}de[sn].add(Pe)}}else te[sn]=Pe,Z.push(Nn),de[sn]=new Set([Pe])},yt=0;yt<Qe.length;yt+=1)Xe(yt)}return d},he=function(o,t,e){e===void 0&&(e=!0);for(var n=[],i=new Set,d=[],g=[],_={},I={},D=function Hn(Sr,Cr,po){var wo=!1;if(t&&e===!1&&t.indexOf(Sr.id)>-1)return wo;n.push(Sr),i.add(Sr);for(var Po=po[Sr.id],Xo=0;Xo<Po.length;Xo+=1)if((T=_[Po[Xo]])===Cr){for(var ri={},ki=1;ki<n.length;ki+=1)ri[n[ki-1].id]=n[ki];n.length&&(ri[n[n.length-1].id]=n[0]),g.push(ri),wo=!0}else i.has(T)||Hn(T,Cr,po)&&(wo=!0);if(wo)(function(B){for(var K=[B];K.length>0;){var Se=K.pop();i.has(Se)&&(i.delete(Se),d[Se.id].forEach(function(He){K.push(He)}),d[Se.id].clear())}})(Sr);else for(Xo=0;Xo<Po.length;Xo+=1){var T=_[Po[Xo]];d[T.id].has(Sr)||d[T.id].add(Sr)}return n.pop(),wo},H=o.nodes,Z=H===void 0?[]:H,te=0;te<Z.length;te+=1){var de=Z[te],Pe=de.id;I[Pe]=te,_[te]=de}if(t&&e){var Ge=function(Hn){var Sr=t[Hn];I[Z[Hn].id]=I[Sr],I[Sr]=0,_[0]=Z.find(function(Cr){return Cr.id===Sr}),_[I[Z[Hn].id]]=Z[Hn]};for(te=0;te<t.length;te++)Ge(te)}for(var Qe=function(Hn){for(var Sr,Cr,po=1/0,wo=0;wo<Hn.length;wo+=1)for(var Po=Hn[wo],Xo=0;Xo<Po.length;Xo++){var ri=I[Po[Xo].id];ri<po&&(po=ri,Cr=wo)}var ki=Hn[Cr],T=[];for(wo=0;wo<ki.length;wo+=1){var B=ki[wo];T[B.id]=[];for(var K=0,Se=me(B.id,o.edges,\"target\").filter(function(Ye){return ki.map(function(Et){return Et.id}).indexOf(Ye)>-1});K<Se.length;K++){var He=Se[K];He!==B.id||e===!1&&t.indexOf(B.id)>-1?T[B.id].push(I[He]):g.push(((Sr={})[B.id]=B,Sr))}}return{component:ki,adjList:T,minIdx:po}},Xe=0;Xe<Z.length;){var yt=Z.filter(function(Hn){return I[Hn.id]>=Xe}),Ct=Ie({nodes:yt,edges:o.edges}).filter(function(Hn){return Hn.length>1});if(Ct.length===0)break;var on=Qe(Ct),sn=on.minIdx,Nn=on.adjList,Tn=on.component;if(!(Tn.length>1))break;Tn.forEach(function(Hn){d[Hn.id]=new Set});var Bn=_[sn];if(t&&e&&t.indexOf(Bn.id)===-1)return g;D(Bn,Bn,Nn),Xe=sn+1}return g},ie=function(o,t,e,n){return n===void 0&&(n=!0),t?he(o,e,n):oe(o,e,n)},ae=function(o){var t=null,e=o.nodes,n={},i={},d={},g={};(e===void 0?[]:e).forEach(function(I){i[I.id]=I});for(var _={enter:function(I){var D=I.current,H=I.previous;if(d[D]){t={};for(var Z=D,te=H;te!==D;)t[Z]=te,Z=te,te=n[te];t[Z]=te}else d[D]=D,delete i[D],n[D]=H},leave:function(I){var D=I.current;g[D]=D,delete d[D]},allowTraversal:function(I){var D=I.next;return!t&&!g[D]}};Object.keys(i).length;)Ce(o,Object.keys(i)[0],_);return t},ve=function(o,t,e,n){var i=o.nodes,d=i===void 0?[]:i,g=o.edges,_=g===void 0?[]:g,I=[],D={},H={},Z={};d.forEach(function(yt,Ct){var on=yt.id;I.push(on),H[on]=1/0,on===t&&(H[on]=0)});for(var te=d.length,de=function(yt){var Ct=function(sn,Nn,Tn){for(var Bn,Hn=1/0,Sr=0;Sr<Nn.length;Sr++){var Cr=Nn[Sr].id;!Tn[Cr]&&sn[Cr]<=Hn&&(Hn=sn[Cr],Bn=Nn[Sr])}return Bn}(H,d,D),on=Ct.id;if(D[on]=!0,H[on]===1/0)return\"continue\";(e?function(sn,Nn){return Nn.filter(function(Tn){return Tn.source===sn})}(on,_):Te(on,_)).forEach(function(sn){var Nn=sn.target,Tn=sn.source,Bn=Nn===on?Tn:Nn,Hn=n&&sn[n]?sn[n]:1;H[Bn]>H[Ct.id]+Hn?(H[Bn]=H[Ct.id]+Hn,Z[Bn]=[Ct.id]):H[Bn]===H[Ct.id]+Hn&&Z[Bn].push(Ct.id)})},Pe=0;Pe<te;Pe++)de();Z[t]=[t];var Ge={};for(var Qe in H)H[Qe]!==1/0&&X(t,Qe,Z,Ge);var Xe={};for(var Qe in Ge)Xe[Qe]=Ge[Qe][0];return{length:H,path:Xe,allPath:Ge}};function X(o,t,e,n){if(o===t)return[o];if(n[t])return n[t];for(var i=[],d=0,g=e[t];d<g.length;d++){var _=X(o,g[d],e,n);if(!_)return;for(var I=0,D=_;I<D.length;I++){var H=D[I];Object(s.isArray)(H)?i.push(Object(l.__spreadArray)(Object(l.__spreadArray)([],H,!0),[t],!1)):i.push([H,t])}}return n[t]=i,n[t]}var se,fe=function(o,t,e,n,i){var d=ve(o,t,n,i),g=d.length,_=d.path,I=d.allPath;return{length:g[e],path:_[e],allPath:I[e]}},_e=function(o,t,e,n){var i;if(t===e)return[[t]];var d=o.edges,g=d===void 0?[]:d,_=[t],I=((i={})[t]=!0,i),D=[],H=[],Z=n?me(t,g,\"target\"):me(t,g);for(D.push(Z);_.length>0&&D.length>0;){var te=D[D.length-1];if(te.length){var de=te.shift();if(de&&(_.push(de),I[de]=!0,Z=n?me(de,g,\"target\"):me(de,g),D.push(Z.filter(function(Qe){return!I[Qe]}))),_[_.length-1]===e){var Pe=_.map(function(Qe){return Qe});H.push(Pe),Ge=_.pop(),I[Ge]=!1,D.pop()}}else{var Ge=_.pop();I[Ge]=!1,D.pop()}}return H},be=function(o,t){for(var e=L(o,t),n=[],i=e.length,d=0;d<i;d+=1){n[d]=[];for(var g=0;g<i;g+=1)d===g?n[d][g]=0:e[d][g]!==0&&e[d][g]?n[d][g]=e[d][g]:n[d][g]=1/0}for(var _=0;_<i;_+=1)for(d=0;d<i;d+=1)for(g=0;g<i;g+=1)n[d][g]>n[d][_]+n[_][g]&&(n[d][g]=n[d][_]+n[_][g]);return n},We=function(o,t,e,n){t===void 0&&(t=!1),e===void 0&&(e=\"weight\"),n===void 0&&(n=1e3);var i=o.nodes,d=i===void 0?[]:i,g=o.edges,_=g===void 0?[]:g,I={},D={};d.forEach(function(yt,Ct){var on=ee();yt.clusterId=on,I[on]={id:on,nodes:[yt]},D[yt.id]={node:yt,idx:Ct}});var H=L(o,t),Z=[],te={};H.forEach(function(yt,Ct){var on=0,sn=d[Ct].id;te[sn]={},yt.forEach(function(Nn,Tn){if(Nn){on+=Nn;var Bn=d[Tn].id;te[sn][Bn]=Nn}}),Z.push(on)});for(var de=0,Pe=function(){var yt=!1;if(d.forEach(function(Ct){var on={};Object.keys(te[Ct.id]).forEach(function(po){var wo=te[Ct.id][po],Po=D[po].node.clusterId;on[Po]||(on[Po]=0),on[Po]+=wo});var sn=-1/0,Nn=[];if(Object.keys(on).forEach(function(po){sn<on[po]?(sn=on[po],Nn=[po]):sn===on[po]&&Nn.push(po)}),Nn.length!==1||Nn[0]!==Ct.clusterId){var Tn=Nn.indexOf(Ct.clusterId);if(Tn>=0&&Nn.splice(Tn,1),Nn&&Nn.length){yt=!0;var Bn=I[Ct.clusterId],Hn=Bn.nodes.indexOf(Ct);Bn.nodes.splice(Hn,1);var Sr=Math.floor(Math.random()*Nn.length),Cr=I[Nn[Sr]];Cr.nodes.push(Ct),Ct.clusterId=Cr.id}}}),!yt)return\"break\";de++};de<n&&Pe()!==\"break\";);Object.keys(I).forEach(function(yt){var Ct=I[yt];Ct.nodes&&Ct.nodes.length||delete I[yt]});var Ge=[],Qe={};_.forEach(function(yt){var Ct=yt.source,on=yt.target,sn=yt[e]||1,Nn=D[Ct].node.clusterId,Tn=D[on].node.clusterId,Bn=\"\".concat(Nn,\"---\").concat(Tn);if(Qe[Bn])Qe[Bn].weight+=sn,Qe[Bn].count++;else{var Hn={source:Nn,target:Tn,weight:sn,count:1};Qe[Bn]=Hn,Ge.push(Hn)}});var Xe=[];return Object.keys(I).forEach(function(yt){Xe.push(I[yt])}),{clusters:Xe,clusterEdges:Ge}},we=function(){function o(t){this.arr=t}return o.prototype.getArr=function(){return this.arr||[]},o.prototype.add=function(t){var e,n=t.arr;if(!(!((e=this.arr)===null||e===void 0)&&e.length))return new o(n);if(!(n!=null&&n.length))return new o(this.arr);if(this.arr.length===n.length){var i=[];for(var d in this.arr)i[d]=this.arr[d]+n[d];return new o(i)}},o.prototype.subtract=function(t){var e,n=t.arr;if(!(!((e=this.arr)===null||e===void 0)&&e.length))return new o(n);if(!(n!=null&&n.length))return new o(this.arr);if(this.arr.length===n.length){var i=[];for(var d in this.arr)i[d]=this.arr[d]-n[d];return new o(i)}},o.prototype.avg=function(t){var e=[];if(t!==0)for(var n in this.arr)e[n]=this.arr[n]/t;return new o(e)},o.prototype.negate=function(){var t=[];for(var e in this.arr)t[e]=-this.arr[e];return new o(t)},o.prototype.squareEuclideanDistance=function(t){var e,n=t.arr;if(!(!((e=this.arr)===null||e===void 0)&&e.length)||!(n!=null&&n.length))return 0;if(this.arr.length===n.length){var i=0;for(var d in this.arr)i+=Math.pow(this.arr[d]-t.arr[d],2);return i}},o.prototype.euclideanDistance=function(t){var e,n=t.arr;if(!(!((e=this.arr)===null||e===void 0)&&e.length)||!(n!=null&&n.length))return 0;if(this.arr.length===n.length){var i=0;for(var d in this.arr)i+=Math.pow(this.arr[d]-t.arr[d],2);return Math.sqrt(i)}console.error(\"The two vectors are unequal in length.\")},o.prototype.normalize=function(){var t=[],e=Object(s.clone)(this.arr);e.sort(function(g,_){return g-_});var n=e[e.length-1],i=e[0];for(var d in this.arr)t[d]=(this.arr[d]-i)/(n-i);return new o(t)},o.prototype.norm2=function(){var t;if(!(!((t=this.arr)===null||t===void 0)&&t.length))return 0;var e=0;for(var n in this.arr)e+=Math.pow(this.arr[n],2);return Math.sqrt(e)},o.prototype.dot=function(t){var e,n=t.arr;if(!(!((e=this.arr)===null||e===void 0)&&e.length)||!(n!=null&&n.length))return 0;if(this.arr.length===n.length){var i=0;for(var d in this.arr)i+=this.arr[d]*t.arr[d];return i}console.error(\"The two vectors are unequal in length.\")},o.prototype.equal=function(t){var e,n=t.arr;if(((e=this.arr)===null||e===void 0?void 0:e.length)!==(n==null?void 0:n.length))return!1;for(var i in this.arr)if(this.arr[i]!==n[i])return!1;return!0},o}(),Ze=function(o,t){t===void 0&&(t=void 0);var e=[];return o.forEach(function(n){t===void 0&&e.push(n),n[t]!==void 0&&e.push(n[t])}),e};(function(o){o.EuclideanDistance=\"euclideanDistance\"})(se||(se={}));var Ve=function(o,t,e){var n=[];t!=null&&t.length?n=t:(o.forEach(function(d){n=n.concat(Object.keys(d))}),n=Object(s.uniq)(n));var i={};return n.forEach(function(d){var g=[];o.forEach(function(_){_[d]!==void 0&&_[d]!==\"\"&&g.push(_[d])}),g.length&&!(e!=null&&e.includes(d))&&(i[d]=Object(s.uniq)(g))}),i},et=function(o,t,e){var n=Ve(o,t,e),i=[];if(!Object.keys(n).length)return i;var d=Object.values(n).every(function(g){return g.every(function(_){return typeof _==\"number\"})});return o.forEach(function(g,_){var I=[];Object.keys(n).forEach(function(D){var H=g[D],Z=n[D],te=Z.findIndex(function(Ge){return H===Ge}),de=[];if(d)de.push(H);else for(var Pe=0;Pe<Z.length;Pe++)Pe===te?de.push(1):de.push(0);I=I.concat(de)}),i[_]=I}),i},ht=function(o,t,e,n){e===void 0&&(e=se.EuclideanDistance);var i=0;switch(e){case se.EuclideanDistance:i=new we(o).euclideanDistance(new we(t))}return i},Fe=function(o,t,e,n){for(var i=t.length,d=2*n,g=0,_=0;_<i;_++)for(var I=o[_].clusterId,D=0;D<i;D++)I===o[D].clusterId&&(g+=(t[_][D]||0)-(e[_]||0)*(e[D]||0)/d);return g*=1/d},mt=function(o,t){o===void 0&&(o=[]);for(var e=o.length,n=new we([]),i=0;i<e;i++)n=n.add(new we(t[i]));var d=n.avg(e);d.normalize();var g=0;for(i=0;i<e;i++)g+=(I=new we(t[i])).squareEuclideanDistance(d);var _=[];for(o.forEach(function(){_.push([])}),i=0;i<e;i++){var I=new we(t[i]);o[i].clusterInertial=0;for(var D=0;D<e;D++)if(i!==D){var H=new we(t[D]);_[i][D]=I.squareEuclideanDistance(H),o[i].clusterInertial+=_[i][D]}else _[i][D]=0}var Z=0,te=2*e*g;for(i=0;i<e;i++){var de=o[i].clusterId;for(D=0;D<e;D++){var Pe=o[D].clusterId;i!==D&&de===Pe&&(Z+=o[i].clusterInertial*o[D].clusterInertial/Math.pow(te,2)-_[i][D]/te)}}return Number(Z.toFixed(4))},dt=function(o,t,e,n,i,d,g,_,I){t===void 0&&(t=!1),e===void 0&&(e=\"weight\"),n===void 0&&(n=1e-4),i===void 0&&(i=!1),d===void 0&&(d=void 0),g===void 0&&(g=[]),_===void 0&&(_=[\"id\"]),I===void 0&&(I=1);var D=o.nodes,H=D===void 0?[]:D,Z=o.edges,te=Z===void 0?[]:Z,de=[];if(i){H.forEach(function(T,B){T.properties=T.properties||{},T.originIndex=B});var Pe=[];H.every(function(T){return T.hasOwnProperty(\"nodeType\")})&&(Pe=Array.from(new Set(H.map(function(T){return T.nodeType}))),H.forEach(function(T){T.properties.nodeType=Pe.findIndex(function(B){return B===T.nodeType})}));var Ge=Ze(H,d);de=et(Ge,g,_)}var Qe=1,Xe={},yt={};H.forEach(function(T,B){var K=String(Qe++);T.clusterId=K,Xe[K]={id:K,nodes:[T]},yt[T.id]={node:T,idx:B}});var Ct=L(o,t),on=[],sn={},Nn=0;Ct.forEach(function(T,B){var K=0,Se=H[B].id;sn[Se]={},T.forEach(function(He,Ye){if(He){K+=He;var Et=H[Ye].id;sn[Se][Et]=He,Nn+=He}}),on.push(K)}),Nn/=2;for(var Tn=1/0,Bn=1/0,Hn=0,Sr=[],Cr={};;){Tn=i&&H.every(function(T){return T.hasOwnProperty(\"properties\")})?Fe(H,Ct,on,Nn)+mt(H,de)*I:Fe(H,Ct,on,Nn),Hn===0&&(Bn=Tn,Sr=H,Cr=Xe);var po=Tn>0&&Tn>Bn&&Tn-Bn<n;if(Tn>Bn&&(Sr=H.map(function(T){return{node:T,clusterId:T.clusterId}}),Cr=Object(s.clone)(Xe),Bn=Tn),po||Hn>100)break;Hn++,Object.keys(Xe).forEach(function(T){var B=0;te.forEach(function(K){var Se=K.source,He=K.target,Ye=yt[Se].node.clusterId,Et=yt[He].node.clusterId;(Ye===T&&Et!==T||Et===T&&Ye!==T)&&(B+=K[e]||1)}),Xe[T].sumTot=B}),H.forEach(function(T,B){var K,Se=Xe[T.clusterId],He=0,Ye=on[B]/(2*Nn),Et=0,bn=Se.nodes;bn.forEach(function(yi){var Fo=yt[yi.id].idx;Et+=Ct[B][Fo]||0});var Qn=Et-Se.sumTot*Ye,yr=bn.filter(function(yi){return yi.id!==T.id}),vr=[];yr.forEach(function(yi,Fo){vr[Fo]=de[yi.originIndex]});var no=mt(yr,de)*I,Wo=sn[T.id];if(Object.keys(Wo).forEach(function(yi){var Fo=yt[yi].node.clusterId;if(Fo!==T.clusterId){var Bo=Xe[Fo],Uo=Bo.nodes;if(Uo&&Uo.length){var Gi=0;Uo.forEach(function(fs){var ns=yt[fs.id].idx;Gi+=Ct[B][ns]||0});var Ni=Gi-Bo.sumTot*Ye,Wi=Uo.concat([T]),ba=[];Wi.forEach(function(fs,ns){ba[ns]=de[fs.originIndex]});var Ss=mt(Wi,de)*I,Ra=Ni-Qn;i&&(Ra=Ni+Ss-(Qn+no)),Ra>He&&(He=Ra,K=Bo)}}}),He>0){K.nodes.push(T);var $o=T.clusterId;T.clusterId=K.id;var Lr=Se.nodes.indexOf(T);Se.nodes.splice(Lr,1);var co=0,Do=0;te.forEach(function(yi){var Fo=yi.source,Bo=yi.target,Uo=yt[Fo].node.clusterId,Gi=yt[Bo].node.clusterId;(Uo===K.id&&Gi!==K.id||Gi===K.id&&Uo!==K.id)&&(co+=yi[e]||1),(Uo===$o&&Gi!==$o||Gi===$o&&Uo!==$o)&&(Do+=yi[e]||1)}),K.sumTot=co,Se.sumTot=Do}})}var wo={},Po=0;Object.keys(Cr).forEach(function(T){var B=Cr[T];if(B.nodes&&B.nodes.length){var K=String(Po+1);K!==T&&(B.id=K,B.nodes=B.nodes.map(function(Se){return{id:Se.id,clusterId:K}}),Cr[K]=B,wo[T]=K,delete Cr[T],Po++)}else delete Cr[T]}),Sr.forEach(function(T){var B=T.node,K=T.clusterId;B&&(B.clusterId=K,B.clusterId&&wo[B.clusterId]&&(B.clusterId=wo[B.clusterId]))});var Xo=[],ri={};te.forEach(function(T){var B=T.source,K=T.target,Se=T[e]||1,He=yt[B].node.clusterId,Ye=yt[K].node.clusterId;if(He&&Ye){var Et=\"\".concat(He,\"---\").concat(Ye);if(ri[Et])ri[Et].weight+=Se,ri[Et].count++;else{var bn={source:He,target:Ye,weight:Se,count:1};ri[Et]=bn,Xo.push(bn)}}});var ki=[];return Object.keys(Cr).forEach(function(T){ki.push(Cr[T])}),{clusters:ki,clusterEdges:Xo}},Lt=function(o,t,e,n,i,d,g,_){return t===void 0&&(t=!1),e===void 0&&(e=\"weight\"),n===void 0&&(n=1e-4),i===void 0&&(i=void 0),d===void 0&&(d=[]),g===void 0&&(g=[\"id\"]),_===void 0&&(_=1),dt(o,t,e,n,!0,i,d,g,_)},lt=function(o,t){var e;t===void 0&&(t=1);for(var n=Object(s.clone)(o),i=n.nodes,d=i===void 0?[]:i,g=n.edges,_=g===void 0?[]:g,I=function(){var D=ce({nodes:d,edges:_}),H=Object.keys(D);H.sort(function(de,Pe){var Ge,Qe;return((Ge=D[de])===null||Ge===void 0?void 0:Ge.degree)-((Qe=D[Pe])===null||Qe===void 0?void 0:Qe.degree)});var Z=H[0];if(!d.length||((e=D[Z])===null||e===void 0?void 0:e.degree)>=t)return\"break\";var te=d.findIndex(function(de){return de.id===Z});d.splice(te,1),_=_.filter(function(de){return!(de.source===Z||de.target===Z)})};I()!==\"break\";);return{nodes:d,edges:_}},rn=function(o,t,e){var n=[];switch(o){case se.EuclideanDistance:n=t[e];break;default:n=[]}return n},qt=function(o,t,e,n,i,d){t===void 0&&(t=3),e===void 0&&(e=void 0),n===void 0&&(n=[]),i===void 0&&(i=[\"id\"]),d===void 0&&(d=se.EuclideanDistance);var g=o.nodes,_=g===void 0?[]:g,I=o.edges,D=I===void 0?[]:I,H={clusters:[{id:\"0\",nodes:_}],clusterEdges:[]};if(d===se.EuclideanDistance&&!_.every(function(K){return K.hasOwnProperty(e)}))return H;var Z=[],te=[];if(d===se.EuclideanDistance&&(Z=Ze(_,e),te=et(Z,n,i)),!te.length)return H;for(var de=Object(s.uniq)(te.map(function(K){return K.join(\"\")})),Pe=Math.min(t,_.length,de.length),Ge=0;Ge<_.length;Ge++)_[Ge].originIndex=Ge;var Qe=[],Xe=[],yt=[];for(Ge=0;Ge<Pe;Ge++)if(Ge===0){var Ct=Math.floor(Math.random()*_.length);switch(d){case se.EuclideanDistance:Qe[Ge]=te[Ct];break;default:Qe[Ge]=[]}Xe.push(Ct),yt[Ge]=[_[Ct]],_[Ct].clusterId=String(Ge)}else{for(var on=-1/0,sn=0,Nn=function(K){if(!Xe.includes(K)){for(var Se=0,He=0;He<Qe.length;He++){var Ye=0;switch(d){case se.EuclideanDistance:Ye=ht(te[_[K].originIndex],Qe[He],d)}Se+=Ye}var Et=Se/Qe.length;Et>on&&!Qe.find(function(bn){return Object(s.isEqual)(bn,rn(d,te,_[K].originIndex))})&&(on=Et,sn=K)}},Tn=0;Tn<_.length;Tn++)Nn(Tn);Qe[Ge]=rn(d,te,sn),Xe.push(sn),yt[Ge]=[_[sn]],_[sn].clusterId=String(Ge)}for(var Bn=0;;){for(Ge=0;Ge<_.length;Ge++){var Hn=0,Sr=1/0;if(Bn!==0||!Xe.includes(Ge)){for(var Cr=0;Cr<Qe.length;Cr++){var po=0;switch(d){case se.EuclideanDistance:po=ht(te[Ge],Qe[Cr],d)}po<Sr&&(Sr=po,Hn=Cr)}if(_[Ge].clusterId!==void 0)for(var wo=yt[Number(_[Ge].clusterId)].length-1;wo>=0;wo--)yt[Number(_[Ge].clusterId)][wo].id===_[Ge].id&&yt[Number(_[Ge].clusterId)].splice(wo,1);_[Ge].clusterId=String(Hn),yt[Hn].push(_[Ge])}}var Po=!1;for(Ge=0;Ge<yt.length;Ge++){var Xo=yt[Ge],ri=new we([]);for(Cr=0;Cr<Xo.length;Cr++)ri=ri.add(new we(te[Xo[Cr].originIndex]));var ki=ri.avg(Xo.length);ki.equal(new we(Qe[Ge]))||(Po=!0,Qe[Ge]=ki.getArr())}if(Bn++,_.every(function(K){return K.clusterId!==void 0})&&Po||Bn>=1e3)break}var T=[],B={};return D.forEach(function(K){var Se,He,Ye=K.source,Et=K.target,bn=(Se=_.find(function(no){return no.id===Ye}))===null||Se===void 0?void 0:Se.clusterId,Qn=(He=_.find(function(no){return no.id===Et}))===null||He===void 0?void 0:He.clusterId,yr=\"\".concat(bn,\"---\").concat(Qn);if(B[yr])B[yr].count++;else{var vr={source:bn,target:Qn,count:1};B[yr]=vr,T.push(vr)}}),{clusters:yt,clusterEdges:T}},hn=function(o,t){var e=new we(t),n=e.norm2(),i=new we(o),d=i.norm2(),g=e.dot(i),_=n*d,I=_?g/_:0;return I},Kt=function(o,t,e,n,i){o===void 0&&(o=[]),e===void 0&&(e=void 0),n===void 0&&(n=[]),i===void 0&&(i=[]);var d=Object(s.clone)(o.filter(function(Z){return Z.id!==t.id})),g=o.findIndex(function(Z){return Z.id===t.id}),_=Ze(o,e),I=et(_,n,i),D=I[g],H=[];return d.forEach(function(Z,te){if(Z.id!==t.id){var de=I[te],Pe=hn(de,D);H.push(Pe),Z.cosineSimilarity=Pe}}),d.sort(function(Z,te){return te.cosineSimilarity-Z.cosineSimilarity}),{allCosineSimilarity:H,similarNodes:d}},an=function(){function o(t){this.count=t.length,this.parent={};for(var e=0,n=t;e<n.length;e++){var i=n[e];this.parent[i]=i}}return o.prototype.find=function(t){for(;this.parent[t]!==t;)t=this.parent[t];return t},o.prototype.union=function(t,e){var n=this.find(t),i=this.find(e);n!==i&&(n<i?(this.parent[e]!==e&&this.union(this.parent[e],t),this.parent[e]=this.parent[t]):(this.parent[t]!==t&&this.union(this.parent[t],e),this.parent[t]=this.parent[e]))},o.prototype.connected=function(t,e){return this.find(t)===this.find(e)},o}(),In=function(o,t){return o-t},Ft=function(){function o(t){t===void 0&&(t=In),this.compareFn=t,this.list=[]}return o.prototype.getLeft=function(t){return 2*t+1},o.prototype.getRight=function(t){return 2*t+2},o.prototype.getParent=function(t){return t===0?null:Math.floor((t-1)/2)},o.prototype.isEmpty=function(){return this.list.length<=0},o.prototype.top=function(){return this.isEmpty()?void 0:this.list[0]},o.prototype.delMin=function(){var t=this.top(),e=this.list.pop();return this.list.length>0&&(this.list[0]=e,this.moveDown(0)),t},o.prototype.insert=function(t){if(t!==null){this.list.push(t);var e=this.list.length-1;return this.moveUp(e),!0}return!1},o.prototype.moveUp=function(t){for(var e=this.getParent(t);t&&t>0&&this.compareFn(this.list[e],this.list[t])>0;){var n=this.list[e];this.list[e]=this.list[t],this.list[t]=n,t=e,e=this.getParent(t)}},o.prototype.moveDown=function(t){var e,n=t,i=this.getLeft(t),d=this.getRight(t),g=this.list.length;i!==null&&i<g&&this.compareFn(this.list[n],this.list[i])>0?n=i:d!==null&&d<g&&this.compareFn(this.list[n],this.list[d])>0&&(n=d),t!==n&&(e=[this.list[n],this.list[t]],this.list[t]=e[0],this.list[n]=e[1],this.moveDown(n))},o}(),kt=function(o,t){var e=[],n=o.nodes,i=n===void 0?[]:n,d=o.edges,g=d===void 0?[]:d;if(i.length===0)return e;var _=i[0],I=new Set;I.add(_);var D=new Ft(function(de,Pe){return t?de.weight-Pe.weight:0});for(Te(_.id,g).forEach(function(de){D.insert(de)});!D.isEmpty();){var H=D.delMin(),Z=H.source,te=H.target;I.has(Z)&&I.has(te)||(e.push(H),I.has(Z)||(I.add(Z),Te(Z,g).forEach(function(de){D.insert(de)})),I.has(te)||(I.add(te),Te(te,g).forEach(function(de){D.insert(de)})))}return e},At=function(o,t){var e=[],n=o.nodes,i=n===void 0?[]:n,d=o.edges,g=d===void 0?[]:d;if(i.length===0)return e;var _=g.map(function(te){return te});t&&_.sort(function(te,de){return te.weight-de.weight});for(var I=new an(i.map(function(te){return te.id}));_.length>0;){var D=_.shift(),H=D.source,Z=D.target;I.connected(H,Z)||(e.push(D),I.union(H,Z))}return e},Fn=function(o,t,e){return e?{prim:kt,kruskal:At}[e](o,t):At(o,t)},pn=function(o,t,e){typeof t!=\"number\"&&(t=1e-6),typeof e!=\"number\"&&(e=.85);for(var n,i=1,d=0,g=1e3,_=o.nodes,I=_===void 0?[]:_,D=o.edges,H=D===void 0?[]:D,Z=I.length,te={},de={},Pe=0;Pe<Z;++Pe)te[Qe=(sn=I[Pe]).id]=1/Z,de[Qe]=1/Z;for(var Ge=ce(o);g>0&&i>t;){for(d=0,Pe=0;Pe<Z;++Pe){var Qe=(sn=I[Pe]).id;if(n=0,Ge[sn.id].inDegree===0)te[Qe]=0;else{for(var Xe=me(Qe,H,\"source\"),yt=0;yt<Xe.length;++yt){var Ct=Xe[yt],on=Ge[Ct].outDegree;on>0&&(n+=de[Ct]/on)}te[Qe]=e*n,d+=te[Qe]}}for(d=(1-d)/Z,i=0,Pe=0;Pe<Z;++Pe){var sn;n=te[Qe=(sn=I[Pe]).id]+d,i+=Math.abs(n-de[Qe]),de[Qe]=n}g-=1}return de},en=function(o,t,e,n){o===void 0&&(o=-1),t===void 0&&(t=-1),e===void 0&&(e=-1),n===void 0&&(n=\"-1\"),this.id=o,this.from=t,this.to=e,this.label=n},Wn=function(){function o(t,e){t===void 0&&(t=-1),e===void 0&&(e=\"-1\"),this.id=t,this.label=e,this.edges=[],this.edgeMap={}}return o.prototype.addEdge=function(t){this.edges.push(t),this.edgeMap[t.id]=t},o}(),Mn=function(){function o(t,e,n){t===void 0&&(t=-1),e===void 0&&(e=!0),n===void 0&&(n=!1),this.id=t,this.edgeIdAutoIncrease=e,this.edges=[],this.nodes=[],this.nodeMap={},this.edgeMap={},this.nodeLabelMap={},this.edgeLabelMap={},this.counter=0,this.directed=n}return o.prototype.getNodeNum=function(){return this.nodes.length},o.prototype.addNode=function(t,e){if(!this.nodeMap[t]){var n=new Wn(t,e);this.nodes.push(n),this.nodeMap[t]=n,this.nodeLabelMap[e]||(this.nodeLabelMap[e]=[]),this.nodeLabelMap[e].push(t)}},o.prototype.addEdge=function(t,e,n,i){if((this.edgeIdAutoIncrease||t===void 0)&&(t=this.counter++),!(this.nodeMap[e]&&this.nodeMap[n]&&this.nodeMap[n].edgeMap[t])){var d=new en(t,e,n,i);if(this.edges.push(d),this.edgeMap[t]=d,this.nodeMap[e].addEdge(d),this.edgeLabelMap[i]||(this.edgeLabelMap[i]=[]),this.edgeLabelMap[i].push(d),!this.directed){var g=new en(t,n,e,i);this.nodeMap[n].addEdge(g),this.edgeLabelMap[i].push(g)}}},o}(),Kn=function(){function o(t,e,n,i,d){this.fromNode=t,this.toNode=e,this.nodeEdgeNodeLabel={nodeLabel1:n||\"-1\",edgeLabel:i||\"-1\",nodeLabel2:d||\"-1\"}}return o.prototype.equalTo=function(t){return this.fromNode===t.formNode&&this.toNode===t.toNode&&this.nodeEdgeNodeLabel===t.nodeEdgeNodeLabel},o.prototype.notEqualTo=function(t){return!this.equalTo(t)},o}(),hr=function(){function o(){this.rmpath=[],this.dfsEdgeList=[]}return o.prototype.equalTo=function(t){var e=this.dfsEdgeList.length;if(e!==t.length)return!1;for(var n=0;n<e;n++)if(this.dfsEdgeList[n]!==t[n])return!1;return!0},o.prototype.notEqualTo=function(t){return!this.equalTo(t)},o.prototype.pushBack=function(t,e,n,i,d){return this.dfsEdgeList.push(new Kn(t,e,n,i,d)),this.dfsEdgeList},o.prototype.toGraph=function(t,e){t===void 0&&(t=-1),e===void 0&&(e=!1);var n=new Mn(t,!0,e);return this.dfsEdgeList.forEach(function(i){var d=i.fromNode,g=i.toNode,_=i.nodeEdgeNodeLabel,I=_.nodeLabel1,D=_.edgeLabel,H=_.nodeLabel2;I!==\"-1\"&&n.addNode(d,I),H!==\"-1\"&&n.addNode(g,H),I!==\"-1\"&&H!==I&&n.addEdge(void 0,d,g,D)}),n},o.prototype.buildRmpath=function(){this.rmpath=[];for(var t=void 0,e=this.dfsEdgeList.length-1;e>=0;e--){var n=this.dfsEdgeList[e],i=n.fromNode,d=n.toNode;i<d&&(t===void 0||d===t)&&(this.rmpath.push(e),t=i)}return this.rmpath},o.prototype.getNodeNum=function(){var t={};return this.dfsEdgeList.forEach(function(e){t[e.fromNode]||(t[e.fromNode]=!0),t[e.toNode]||(t[e.toNode]=!0)}),Object.keys(t).length},o}(),pr=function(){function o(t){if(this.his={},this.nodesUsed={},this.edgesUsed={},this.edges=[],t){for(;t;){var e=t.edge;this.edges.push(e),this.nodesUsed[e.from]=1,this.nodesUsed[e.to]=1,this.edgesUsed[e.id]=1,t=t.preNode}this.edges=this.edges.reverse()}}return o.prototype.hasNode=function(t){return this.nodesUsed[t.id]===1},o.prototype.hasEdge=function(t){return this.edgesUsed[t.id]===1},o}(),zr=function(){function o(t){var e=t.graphs,n=t.minSupport,i=n===void 0?2:n,d=t.minNodeNum,g=d===void 0?1:d,_=t.maxNodeNum,I=_===void 0?4:_,D=t.top,H=D===void 0?10:D,Z=t.directed,te=Z!==void 0&&Z,de=t.verbose,Pe=de!==void 0&&de;this.graphs=e,this.dfsCode=new hr,this.support=0,this.frequentSize1Subgraphs=[],this.frequentSubgraphs=[],this.minSupport=i,this.top=H,this.directed=te,this.counter=0,this.maxNodeNum=I,this.minNodeNum=g,this.verbose=Pe,this.maxNodeNum<this.minNodeNum&&(this.maxNodeNum=this.minNodeNum),this.reportDF=[]}return o.prototype.findForwardRootEdges=function(t,e){var n=this,i=[],d=t.nodeMap;return e.edges.forEach(function(g){(n.directed||e.label<=d[g.to].label)&&i.push(g)}),i},o.prototype.findBackwardEdge=function(t,e,n,i){if(!this.directed&&e===n)return null;for(var d=t.nodeMap,g=d[n.to].edges,_=g.length,I=0;I<_;I++){var D=g[I];if(!i.hasEdge(D)&&D.to===e.from){if(this.directed){if(d[e.from].label<d[n.to].label||d[e.from].label===d[n.to].label&&e.label<=D.label)return D}else if(e.label<D.label||e.label===D.label&&d[e.to].label<=d[n.to].label)return D}}return null},o.prototype.findForwardPureEdges=function(t,e,n,i){for(var d=[],g=e.to,_=t.nodeMap[g].edges,I=_.length,D=0;D<I;D++){var H=_[D],Z=t.nodeMap[H.to];n<=Z.label&&!i.hasNode(Z)&&d.push(H)}return d},o.prototype.findForwardRmpathEdges=function(t,e,n,i){for(var d=[],g=t.nodeMap,_=g[e.to].label,I=g[e.from].edges,D=I.length,H=0;H<D;H++){var Z=I[H],te=g[Z.to].label;e.to===Z.to||n>te||i.hasNode(g[Z.to])||(e.label<Z.label||e.label===Z.label&&_<=te)&&d.push(Z)}return d},o.prototype.getSupport=function(t){var e={};return t.forEach(function(n){e[n.graphId]||(e[n.graphId]=!0)}),Object.keys(e).length},o.prototype.findMinLabel=function(t){var e=void 0;return Object.keys(t).forEach(function(n){var i=t[n],d=i.nodeLabel1,g=i.edgeLabel,_=i.nodeLabel2;e?(d<e.nodeLabel1||d===e.nodeLabel1&&g<e.edgeLabel||d===e.nodeLabel1&&g===e.edgeLabel&&_<e.nodeLabel2)&&(e={nodeLabel1:d,edgeLabel:g,nodeLabel2:_}):e={nodeLabel1:d,edgeLabel:g,nodeLabel2:_}}),e},o.prototype.isMin=function(){var t=this,e=this.dfsCode;if(this.verbose&&console.log(\"isMin checking\",e),e.dfsEdgeList.length===1)return!0;var n=this.directed,i=e.toGraph(-1,n),d=i.nodeMap,g=new hr,_={};i.nodes.forEach(function(H){t.findForwardRootEdges(i,H).forEach(function(Z){var te=d[Z.to],de=\"\".concat(H.label,\"-\").concat(Z.label,\"-\").concat(te.label);_[de]||(_[de]={projected:[],nodeLabel1:H.label,edgeLabel:Z.label,nodeLabel2:te.label});var Pe={graphId:i.id,edge:Z,preNode:null};_[de].projected.push(Pe)})});var I=this.findMinLabel(_);if(I){g.dfsEdgeList.push(new Kn(0,1,I.nodeLabel1,I.edgeLabel,I.nodeLabel2));var D=\"\".concat(I.nodeLabel1,\"-\").concat(I.edgeLabel,\"-\").concat(I.nodeLabel2);return function H(Z){for(var te=g.buildRmpath(),de=g.dfsEdgeList[0].nodeEdgeNodeLabel.nodeLabel1,Pe=g.dfsEdgeList[te[0]].toNode,Ge={},Qe=!1,Xe=0,yt=n?-1:0,Ct=function(wo){if(Qe)return\"break\";Z.forEach(function(Po){var Xo=new pr(Po),ri=t.findBackwardEdge(i,Xo.edges[te[wo]],Xo.edges[te[0]],Xo);ri&&(Ge[ri.label]||(Ge[ri.label]={projected:[],edgeLabel:ri.label}),Ge[ri.label].projected.push({graphId:i.id,edge:Ge,preNode:Po}),Xe=g.dfsEdgeList[te[wo]].fromNode,Qe=!0)})},on=te.length-1;on>yt&&Ct(on)!==\"break\";on--);if(Qe){var sn=t.findMinLabel(Ge);g.dfsEdgeList.push(new Kn(Pe,Xe,\"-1\",sn.edgeLabel,\"-1\"));var Nn=g.dfsEdgeList.length-1;return t.dfsCode.dfsEdgeList[Nn]===g.dfsEdgeList[Nn]&&H(Ge[sn.edgeLabel].projected)}var Tn={};Qe=!1;var Bn=0;Z.forEach(function(wo){var Po=new pr(wo),Xo=t.findForwardPureEdges(i,Po.edges[te[0]],de,Po);Xo.length>0&&(Qe=!0,Bn=Pe,Xo.forEach(function(ri){var ki=\"\".concat(ri.label,\"-\").concat(d[ri.to].label);Tn[ki]||(Tn[ki]={projected:[],edgeLabel:ri.label,nodeLabel2:d[ri.to].label}),Tn[ki].projected.push({graphId:i.id,edge:ri,preNode:wo})}))});var Hn=te.length,Sr=function(wo){if(Qe)return\"break\";var Po=te[wo];Z.forEach(function(Xo){var ri=new pr(Xo),ki=t.findForwardRmpathEdges(i,ri.edges[Po],de,ri);ki.length>0&&(Qe=!0,Bn=g.dfsEdgeList[Po].fromNode,ki.forEach(function(T){var B=\"\".concat(T.label,\"-\").concat(d[T.to].label);Tn[B]||(Tn[B]={projected:[],edgeLabel:T.label,nodeLabel2:d[T.to].label}),Tn[B].projected.push({graphId:i.id,edge:T,preNode:Xo})}))})};for(on=0;on<Hn&&Sr(on)!==\"break\";on++);if(!Qe)return!0;var Cr=t.findMinLabel(Tn);g.dfsEdgeList.push(new Kn(Bn,Pe+1,\"-1\",Cr.edgeLabel,Cr.nodeLabel2));var po=g.dfsEdgeList.length-1;return e.dfsEdgeList[po]===g.dfsEdgeList[po]&&H(Tn[\"\".concat(Cr.edgeLabel,\"-\").concat(Cr.nodeLabel2)].projected)}(_[D].projected)}},o.prototype.report=function(){if(!(this.dfsCode.getNodeNum()<this.minNodeNum)){this.counter++;var t=this.dfsCode.toGraph(this.counter,this.directed);this.frequentSubgraphs.push(Object(s.clone)(t))}},o.prototype.subGraphMining=function(t){var e=this;if(!(this.getSupport(t)<this.minSupport)&&this.isMin()){this.report();var n=this.dfsCode.getNodeNum(),i=this.dfsCode.buildRmpath(),d=this.dfsCode.dfsEdgeList[i[0]].toNode,g=this.dfsCode.dfsEdgeList[0].nodeEdgeNodeLabel.nodeLabel1,_={},I={};t.forEach(function(D){for(var H=e.graphs[D.graphId],Z=H.nodeMap,te=new pr(D),de=i.length-1;de>=0;de--){var Pe=e.findBackwardEdge(H,te.edges[i[de]],te.edges[i[0]],te);if(Pe){var Ge=\"\".concat(e.dfsCode.dfsEdgeList[i[de]].fromNode,\"-\").concat(Pe.label);I[Ge]||(I[Ge]={projected:[],toNodeId:e.dfsCode.dfsEdgeList[i[de]].fromNode,edgeLabel:Pe.label}),I[Ge].projected.push({graphId:D.graphId,edge:Pe,preNode:D})}}if(!(n>=e.maxNodeNum)){e.findForwardPureEdges(H,te.edges[i[0]],g,te).forEach(function(Xe){var yt=\"\".concat(d,\"-\").concat(Xe.label,\"-\").concat(Z[Xe.to].label);_[yt]||(_[yt]={projected:[],fromNodeId:d,edgeLabel:Xe.label,nodeLabel2:Z[Xe.to].label}),_[yt].projected.push({graphId:D.graphId,edge:Xe,preNode:D})});var Qe=function(Xe){e.findForwardRmpathEdges(H,te.edges[i[Xe]],g,te).forEach(function(yt){var Ct=\"\".concat(e.dfsCode.dfsEdgeList[i[Xe]].fromNode,\"-\").concat(yt.label,\"-\").concat(Z[yt.to].label);_[Ct]||(_[Ct]={projected:[],fromNodeId:e.dfsCode.dfsEdgeList[i[Xe]].fromNode,edgeLabel:yt.label,nodeLabel2:Z[yt.to].label}),_[Ct].projected.push({graphId:D.graphId,edge:yt,preNode:D})})};for(de=0;de<i.length;de++)Qe(de)}}),Object.keys(I).forEach(function(D){var H=I[D],Z=H.toNodeId,te=H.edgeLabel;e.dfsCode.dfsEdgeList.push(new Kn(d,Z,\"-1\",te,\"-1\")),e.subGraphMining(I[D].projected),e.dfsCode.dfsEdgeList.pop()}),Object.keys(_).forEach(function(D){var H=_[D],Z=H.fromNodeId,te=H.edgeLabel,de=H.nodeLabel2;e.dfsCode.dfsEdgeList.push(new Kn(Z,d+1,\"-1\",te,de)),e.subGraphMining(_[D].projected),e.dfsCode.dfsEdgeList.pop()})}},o.prototype.generate1EdgeFrequentSubGraphs=function(){var t=this.graphs,e=this.directed,n=this.minSupport,i=this.frequentSize1Subgraphs,d={},g={},_={},I={};return Object.keys(t).forEach(function(D){var H=t[D],Z=H.nodeMap;H.nodes.forEach(function(te,de){var Pe=te.label,Ge=\"\".concat(D,\"-\").concat(Pe);if(!_[Ge]){var Qe=d[Pe]||0;Qe++,d[Pe]=Qe}_[Ge]={graphKey:D,label:Pe},te.edges.forEach(function(Xe){var yt=Pe,Ct=Z[Xe.to].label;if(!e&&yt>Ct){var on=Ct;Ct=yt,yt=on}var sn=Xe.label,Nn=\"\".concat(D,\"-\").concat(yt,\"-\").concat(sn,\"-\").concat(Ct),Tn=\"\".concat(yt,\"-\").concat(sn,\"-\").concat(Ct);if(!g[Tn]){var Bn=g[Tn]||0;Bn++,g[Tn]=Bn}I[Nn]={graphId:D,nodeLabel1:yt,edgeLabel:sn,nodeLabel2:Ct}})})}),Object.keys(d).forEach(function(D){if(!(d[D]<n)){var H={nodes:[],edges:[]};H.nodes.push({id:\"0\",label:D}),i.push(H)}}),i},o.prototype.run=function(){var t=this;if(this.frequentSize1Subgraphs=this.generate1EdgeFrequentSubGraphs(),!(this.maxNodeNum<2)){var e=this.graphs,n=(this.directed,{});Object.keys(e).forEach(function(i){var d=e[i],g=d.nodeMap;d.nodes.forEach(function(_){t.findForwardRootEdges(d,_).forEach(function(I){var D=g[I.to],H=\"\".concat(_.label,\"-\").concat(I.label,\"-\").concat(D.label);n[H]||(n[H]={projected:[],nodeLabel1:_.label,edgeLabel:I.label,nodeLabel2:D.label});var Z={graphId:i,edge:I,preNode:null};n[H].projected.push(Z)})})}),Object.keys(n).forEach(function(i){var d=n[i],g=d.projected,_=d.nodeLabel1,I=d.edgeLabel,D=d.nodeLabel2;t.dfsCode.dfsEdgeList.push(new Kn(0,1,_,I,D)),t.subGraphMining(g),t.dfsCode.dfsEdgeList.pop()})}},o}(),Wr=function(o){var t=o.graphs,e=o.directed,n=e!==void 0&&e,i=o.nodeLabelProp,d=i===void 0?\"cluster\":i,g=o.edgeLabelProp,_=g===void 0?\"cluster\":g,I=function(Ge,Qe,Xe,yt){var Ct={};return Object.keys(Ge).forEach(function(on,sn){var Nn=Ge[on],Tn=new Mn(sn,!0,Qe),Bn={};Nn.nodes.forEach(function(Hn,Sr){Tn.addNode(Sr,Hn[Xe]),Bn[Hn.id]=Sr}),Nn.edges.forEach(function(Hn,Sr){var Cr=Bn[Hn.source],po=Bn[Hn.target];Tn.addEdge(-1,Cr,po,Hn[yt])}),Tn&&Tn.getNodeNum()&&(Ct[Tn.id]=Tn)}),Ct}(t,n,d,_),D=o.minSupport,H=o.maxNodeNum,Z=o.minNodeNum,te=o.verbose,de=o.top,Pe=new zr({graphs:I,minSupport:D,maxNodeNum:H,minNodeNum:Z,top:de,verbose:te,directed:n});return Pe.run(),function(Ge,Qe,Xe){var yt=[];return Ge.forEach(function(Ct){var on={nodes:[],edges:[]};Ct.nodes.forEach(function(sn){var Nn;on.nodes.push(((Nn={id:\"\".concat(sn.id)})[Qe]=sn.label,Nn))}),Ct.edges.forEach(function(sn){var Nn;on.edges.push(((Nn={source:\"\".concat(sn.from),target:\"\".concat(sn.to)})[Xe]=sn.label,Nn))}),yt.push(on)}),yt}(Pe.frequentSubgraphs,d,_)},Nr=function(o,t,e,n){e===void 0&&(e=\"cluster\"),n===void 0&&(n=2);var i=[],d=o.nodes;return t.forEach(function(g,_){i.push(Kr(d,g,_,e,n))}),i},Kr=function(o,t,e,n,i){var d=[e],g=[],_={};return t.forEach(function(I,D){if(I<=i&&e!==D){d.push(D),g.push(o[D]);var H=o[D][n];_[H]?(_[H].count++,_[H].dists.push(I)):_[H]={count:1,dists:[I]}}}),Object.keys(_).forEach(function(I){_[I].dists=_[I].dists.sort(function(D,H){return D-H})}),{nodeIdx:e,nodeId:o[e].id,nodeIdxs:d,neighbors:g,neighborNum:d.length-1,nodeLabelCountMap:_}},ko=function(o,t,e,n){var i=e.nodes;return n||(n={}),Object.keys(o).forEach(function(d){var g,_;if(!n||!n[d]){n[d]={nodes:[],edges:[]};var I=o[d],D=(g=t[I.start])===null||g===void 0?void 0:g.nodeIdxs,H=(_=t[I.end])===null||_===void 0?void 0:_.nodeIdxs;if(D&&H){var Z=new Set(H),te=D.filter(function(Xe){return Z.has(Xe)});if(te&&te.length){for(var de={},Pe=te.length,Ge=0;Ge<Pe;Ge++){var Qe=i[te[Ge]];n[d].nodes.push(Qe),de[Qe.id]=!0}e.edges.forEach(function(Xe){de[Xe.source]&&de[Xe.target]&&n[d].edges.push(Xe)})}}}}),n},Ur=function(o,t,e,n){var i,d,g={};o.nodes.forEach(function(I){g[I.id]=I});var _=0;return!(!((i=t==null?void 0:t.edges)===null||i===void 0)&&i.length)||((d=t==null?void 0:t.nodes)===null||d===void 0?void 0:d.length)<2?0:(o.edges.forEach(function(I){var D=g[I.source][e],H=g[I.target][e],Z=t==null?void 0:t.nodes[0][e],te=t==null?void 0:t.nodes[1][e],de=t==null?void 0:t.edges[0][n];I[n]===de&&(D===Z&&H===te||D===te&&H===Z)&&_++}),_)},gn=function(o,t){var e={},n={};return o.forEach(function(i,d){e[i.id]={idx:d,node:i,degree:0,inDegree:0,outDegree:0};var g=i[t];n[g]||(n[g]=[]),n[g].push(i)}),{nodeMap:e,nodeLabelMap:n}},Gt=function(o,t,e){var n={},i={};return o.forEach(function(d,g){n[\"\".concat(ee)]={idx:g,edge:d};var _=d[t];i[_]||(i[_]=[]),i[_].push(d);var I=e[d.source];I&&(I.degree++,I.outDegree++);var D=e[d.target];D&&(D.degree++,D.inDegree++)}),{edgeMap:n,edgeLabelMap:i}},bt=function(o,t,e){var n=t.length,i={};return t.forEach(function(d,g){for(var _=e?0:g+1,I=o[g].id,D=_;D<n;D++)if(g!==D){var H=o[D].id,Z=d[D];i[\"\".concat(I,\"-\").concat(H)]=Z,e||(i[\"\".concat(H,\"-\").concat(I)]=Z)}}),i},Zt=function(o,t,e,n,i,d,g,_,I,D,H){var Z,te=\"\".concat(t.id,\"-\").concat(e.id);if(D&&D[te])return D[te];var de=H?H[te]:void 0;if(!de){var Pe=((Z={})[te]={start:n[t.id].idx,end:n[e.id].idx,distance:i},Z);de=(H=ko(Pe,d,o,H))[te]}return Ur(de,g,_,I)},gt=function(o,t,e,n){var i,d,g,_=(i=o[t])===null||i===void 0?void 0:i.degree,I=(d=o[t])===null||d===void 0?void 0:d.inDegree,D=(g=o[t])===null||g===void 0?void 0:g.outDegree;return o[t]===void 0&&(_=1/0,I=1/0,D=1/0,n[t].forEach(function(H){var Z=e[H.id].degree;_>Z&&(_=Z);var te=e[H.id].inDegree;I>te&&(I=te);var de=e[H.id].outDegree;D>de&&(D=de)}),o[t]={degree:_,inDegree:I,outDegree:D}),{minPatternNodeLabelDegree:_,minPatternNodeLabelInDegree:I,minPatternNodeLabelOutDegree:D}},Wt=function(o,t,e,n,i,d,g){var _;if(e===void 0&&(e=!1),d===void 0&&(d=\"cluster\"),g===void 0&&(g=\"cluster\"),o&&o.nodes){var I=o.nodes.length;if(I){var D=be(o,e),H=be(t,e),Z=bt(o.nodes,D,e),te=bt(t.nodes,H,e),de=gn(o.nodes,d),Pe=de.nodeMap,Ge=de.nodeLabelMap,Qe=gn(t.nodes,d),Xe=Qe.nodeMap,yt=Qe.nodeLabelMap;Gt(o.edges,g,Pe);var Ct=Gt(t.edges,g,Xe).edgeLabelMap,on=[];H==null||H.forEach(function(Lr){on=on.concat(Lr)}),i||(i=Math.max.apply(Math,Object(l.__spreadArray)(Object(l.__spreadArray)([],on,!1),[2],!1))),n||(n=i);var sn=Nr(o,D,d,n),Nn=Nr(t,H,d,n),Tn=function(Lr,co,Do,yi,Fo){var Bo=Math.ceil(Do/co),Uo={},Gi=0;return yi.forEach(function(Ni,Wi){for(var ba=0,Ss=0,Ra=Ni.nodeIdxs,fs=Ni.neighborNum-1;ba<Bo;){for(var ns=Ra[1+Math.floor(Math.random()*fs)],hs=0;(Uo[\"\".concat(Wi,\"-\").concat(ns)]||Uo[\"\".concat(ns,\"-\").concat(Wi)])&&(ns=Math.floor(Math.random()*co),!(++hs>2*co)););if(hs<2*co&&(Uo[\"\".concat(Wi,\"-\").concat(ns)]={start:Wi,end:ns,distance:Fo[Wi][ns]},ba++,++Gi>=Do))return Uo;if(++Ss>2*co)break}ba<Bo&&(Bo=(Bo+(Bo-ba))/(co-Wi-1))}),Uo}(0,I,Math.min(100,I*(I-1)/2),sn,D),Bn=ko(Tn,sn,o),Hn=Wr({graphs:Bn,nodeLabelProp:d,edgeLabelProp:g,minSupport:1,minNodeNum:1,maxNodeNum:4,directed:e}).slice(0,10),Sr=Hn.length,Cr=[];Hn.forEach(function(Lr,co){Cr[co]={},Object.keys(Bn).forEach(function(Do){var yi=Bn[Do],Fo=Ur(yi,Lr,d,g);Cr[co][Do]=Fo})});var po=function(Lr,co,Do){for(var yi=1/0,Fo=0,Bo=function(Gi){var Ni=Lr[Gi],Wi=Object.keys(Ni).sort(function(hs,Is){return Ni[hs]-Ni[Is]}),ba=[];Wi.forEach(function(hs,Is){ba[Is%10]||(ba[Is%10]={graphs:[],totalCount:0,aveCount:0}),ba[Is%10].graphs.push(hs),ba[Is%10].totalCount+=Ni[hs]});var Ss=0,Ra=[];ba.forEach(function(hs){var Is=hs.totalCount/hs.graphs.length;hs.aveCount=Is,Ra.push(Is);var hu=0,Es=hs.length;hs.graphs.forEach(function(ku,Uc){var Vc=Ni[ku];hs.graphs.forEach(function(sd,pc){Uc!==pc&&(hu+=Math.abs(Vc-Ni[sd]))})}),Ss+=hu/=Es*(Es-1)/2}),Ss/=ba.length;var fs=0;Ra.forEach(function(hs,Is){Ra.forEach(function(hu,Es){Is!==Es&&(fs+=Math.abs(hs-hu))}),fs/=Ra.length*(Ra.length-1)/2});var ns=fs-Ss;yi<ns&&(yi=ns,Fo=Gi)},Uo=0;Uo<co;Uo++)Bo(Uo);return{structure:Do[Fo],structureCountMap:Lr[Fo]}}(Cr,Sr,Hn),wo=po.structure,Po=po.structureCountMap,Xo=t.nodes[0],ri=[],ki=(_=t.nodes[0])===null||_===void 0?void 0:_[d],T=-1/0;t.nodes.forEach(function(Lr){var co=Lr[d],Do=Ge[co];(Do==null?void 0:Do.length)>T&&(T=Do.length,ri=Do,ki=co,Xo=Lr)});var B={},K={},Se={},He={},Ye={},Et={};Object.keys(yt).forEach(function(Lr,co){Ye[Lr]=[],e&&(Et[Lr]=[]);var Do=-1/0,yi=yt[Lr],Fo={};yi.forEach(function(Ni){var Wi=te[\"\".concat(Xo.id,\"-\").concat(Ni.id)];if(Wi&&Ye[Lr].push(Wi),Do<Wi&&(Do=Wi),Fo[\"\".concat(Xo.id,\"-\").concat(Ni.id)]={start:0,end:Xe[Ni.id].idx,distance:Wi},e){var ba=te[\"\".concat(Ni.id,\"-\").concat(Xo.id)];ba&&Et[Lr].push(ba)}}),Ye[Lr]=Ye[Lr].sort(function(Ni,Wi){return Ni-Wi}),e&&(Et[Lr]=Et[Lr].sort(function(Ni,Wi){return Ni-Wi})),K=ko(Fo,Nn,t,K);var Bo=[];if(Object.keys(Fo).forEach(function(Ni){if(Se[Ni])Bo.push(Se[Ni]);else{var Wi=K[Ni];Se[Ni]=Ur(Wi,wo,d,g),Bo.push(Se[Ni])}}),Bo=Bo.sort(function(Ni,Wi){return Wi-Ni}),He[\"\".concat(Xo.id,\"-\").concat(Lr)]=Bo,Lr!==ki)for(var Uo=function(Ni){var Wi=ri[Ni],ba=sn[Pe[Wi.id].idx],Ss=ba.nodeLabelCountMap[Lr],Ra=yt[Lr].length;if(!Ss||Ss.count<Ra)return ri.splice(Ni,1),\"continue\";for(var fs=!1,ns=0;ns<Ra;ns++)if(Ss.dists[ns]>Ye[Lr][ns]){fs=!0;break}if(fs)return ri.splice(Ni,1),\"continue\";var hs={};ba.neighbors.forEach(function(Es){var ku=Z[\"\".concat(Wi.id,\"-\").concat(Es.id)];hs[\"\".concat(Wi.id,\"-\").concat(Es.id)]={start:Pe[Wi.id].idx,end:Pe[Es.id].idx,distance:ku}}),Bn=ko(hs,sn,o,Bn);var Is=[];Object.keys(hs).forEach(function(Es){if(Po[Es])Is.push(Po[Es]);else{var ku=Bn[Es];Po[Es]=Ur(ku,wo,d,g),Is.push(Po[Es])}}),Is=Is.sort(function(Es,ku){return ku-Es});var hu=!1;for(ns=0;ns<Ra;ns++)if(Is[ns]<Bo[ns]){hu=!0;break}return hu?(ri.splice(Ni,1),\"continue\"):void 0},Gi=((ri==null?void 0:ri.length)||0)-1;Gi>=0;Gi--)Uo(Gi)});var bn=[];ri==null||ri.forEach(function(Lr){for(var co=Pe[Lr.id].idx,Do=Kr(o.nodes,D[co],co,d,i).neighbors,yi=!1,Fo=Do.length-1;Fo>=0;Fo--){if(Do.length+1<t.nodes.length)return void(yi=!0);var Bo=Do[Fo],Uo=Bo[d];if(yt[Uo]&&yt[Uo].length)if(Ye[Uo]&&Ye[Uo].length){var Gi=\"\".concat(Lr.id,\"-\").concat(Bo.id),Ni=Z[Gi],Wi=Ye[Uo].length-1;if(Ni>Ye[Uo][Wi])Do.splice(Fo,1);else{if(e){var ba=\"\".concat(Bo.id,\"-\").concat(Lr.id),Ss=Z[ba];if(Wi=Et[Uo].length-1,Ss>Et[Uo][Wi]){Do.splice(Fo,1);continue}}var Ra=Po[Gi]?Po[Gi]:Zt(o,Lr,Bo,Pe,Ni,sn,wo,d,g,Po,Bn),fs=\"\".concat(Xo.id,\"-\").concat(Uo);if(Ra<He[fs][He[fs].length-1])Do.splice(Fo,1);else{var ns=gt(B,Uo,Xe,yt),hs=ns.minPatternNodeLabelDegree;ns.minPatternNodeLabelInDegree,ns.minPatternNodeLabelOutDegree,Pe[Bo.id].degree<hs&&Do.splice(Fo,1)}}}else Do.splice(Fo,1);else Do.splice(Fo,1)}yi||bn.push({nodes:[Lr].concat(Do)})});var Qn=ve(t,Xo.id,!1).length,yr={};e?(Object.keys(Qn).forEach(function(Lr){var co=Xe[Lr].node[d];yr[co]?yr[co].push(Qn[Lr]):yr[co]=[Qn[Lr]]}),Object.keys(yr).forEach(function(Lr){yr[Lr].sort(function(co,Do){return co-Do})})):yr=Ye;for(var vr=function(Lr){var co=bn[Lr],Do=co.nodes[0],yi={},Fo={};co.nodes.forEach(function(ks,Qs){Fo[ks.id]={idx:Qs,node:ks,degree:0,inDegree:0,outDegree:0};var Gu=ks[d];yi[Gu]?yi[Gu]++:yi[Gu]=1});var Bo=[],Uo={};o.edges.forEach(function(ks){Fo[ks.source]&&Fo[ks.target]&&(Bo.push(ks),Uo[ks[g]]?Uo[ks[g]]++:Uo[ks[g]]=1,Fo[ks.source].degree++,Fo[ks.target].degree++,Fo[ks.source].outDegree++,Fo[ks.target].inDegree++)});for(var Gi=Object.keys(Ct).length,Ni=!1,Wi=0;Wi<Gi;Wi++){var ba=Object.keys(Ct)[Wi];if(!Uo[ba]||Uo[ba]<Ct[ba].length){Ni=!0;break}}if(Ni)return bn.splice(Lr,1),\"continue\";var Ss=Bo.length;if(Ss<t.edges.length)return bn.splice(Lr,1),\"break\";var Ra=!1,fs=function(ks){var Qs=Bo[ks],Gu=Qs[g],zu=Ct[Gu];if(!zu||!zu.length)return Uo[Gu]--,zu&&Uo[Gu]<zu.length?(Ra=!0,\"break\"):(Bo.splice(ks,1),Fo[Qs.source].degree--,Fo[Qs.target].degree--,Fo[Qs.source].outDegree--,Fo[Qs.target].inDegree--,\"continue\");var Cd=Fo[Qs.source].node[d],yd=Fo[Qs.target].node[d],Wf=!1;return zu.forEach(function(xf){var wf=Xe[xf.source].node,bd=Xe[xf.target].node;wf[d]===Cd&&bd[d]===yd&&(Wf=!0),e||wf[d]!==yd||bd[d]!==Cd||(Wf=!0)}),Wf?void 0:(Uo[Gu]--,zu&&Uo[Gu]<zu.length?(Ra=!0,\"break\"):(Bo.splice(ks,1),Fo[Qs.source].degree--,Fo[Qs.target].degree--,Fo[Qs.source].outDegree--,Fo[Qs.target].inDegree--,\"continue\"))};for(Wi=Ss-1;Wi>=0&&fs(Wi)!==\"break\";Wi--);if(Ra)return bn.splice(Lr,1),\"continue\";co.edges=Bo;var ns=ve(co,co.nodes[0].id,!1).length;if(Object.keys(ns).reverse().forEach(function(ks){if(ks!==co.nodes[0].id&&!Ra){if(ns[ks]===1/0){var Qs=Fo[ks].node[d];if(yi[Qs]--,yi[Qs]<yt[Qs].length)return void(Ra=!0);var Gu=co.nodes.indexOf(Fo[ks].node);return co.nodes.splice(Gu,1),void(Fo[ks]=void 0)}var zu=Pe[ks].node[d];if(!yr[zu]||!yr[zu].length||ns[ks]>yr[zu][yr[zu].length-1]){if(Qs=Fo[ks].node[d],yi[Qs]--,yi[Qs]<yt[Qs].length)return void(Ra=!0);Gu=co.nodes.indexOf(Fo[ks].node),co.nodes.splice(Gu,1),Fo[ks]=void 0}}}),Ra)return bn.splice(Lr,1),\"continue\";for(var hs=!0,Is=0;hs&&!Ra;){if(hs=!1,e?Fo[Do.id].degree<Xe[Xo.id].degree||Fo[Do.id].inDegree<Xe[Xo.id].inDegree||Fo[Do.id].outDegree<Xe[Xo.id].outDegree:Fo[Do.id].degree<Xe[Xo.id].degree){Ra=!0;break}if(yi[Do[d]]<yt[Do[d]].length){Ra=!0;break}for(var hu=co.nodes.length-1;hu>=0;hu--){var Es=co.nodes[hu],ku=Fo[Es.id].degree,Uc=Fo[Es.id].inDegree,Vc=Fo[Es.id].outDegree,sd=Es[d],pc=gt(B,sd,Xe,yt),md=pc.minPatternNodeLabelDegree,Gf=pc.minPatternNodeLabelInDegree,Od=pc.minPatternNodeLabelOutDegree;if(e?ku<md||Uc<Gf||Vc<Od:ku<md){if(yi[Es[d]]--,yi[Es[d]]<yt[Es[d]].length){Ra=!0;break}co.nodes.splice(hu,1),Fo[Es.id]=void 0,hs=!0}}if(Ra||!hs&&Is!==0)break;for(var bf=(Ss=Bo.length)-1;bf>=0;bf--){var Cc=Bo[bf];if(!Fo[Cc.source]||!Fo[Cc.target]){Bo.splice(bf,1);var Fl=Cc[g];if(Uo[Fl]--,Fo[Cc.source]&&(Fo[Cc.source].degree--,Fo[Cc.source].outDegree--),Fo[Cc.target]&&(Fo[Cc.target].degree--,Fo[Cc.target].inDegree--),Ct[Fl]&&Uo[Fl]<Ct[Fl].length){Ra=!0;break}hs=!0}}Is++}return Ra||Ra||co.nodes.length<t.nodes.length||Bo.length<t.edges.length?(bn.splice(Lr,1),\"continue\"):void 0},no=bn.length-1;no>=0&&vr(no)!==\"break\";no--);var Wo=bn.length,$o=function(Lr){var co=bn[Lr],Do={};co.edges.forEach(function(Bo){var Uo=\"\".concat(Bo.source,\"-\").concat(Bo.target,\"-\").concat(Bo.label);Do[Uo]?Do[Uo]++:Do[Uo]=1});for(var yi=function(Bo){var Uo=bn[Bo],Gi={};Uo.edges.forEach(function(Wi){var ba=\"\".concat(Wi.source,\"-\").concat(Wi.target,\"-\").concat(Wi.label);Gi[ba]?Gi[ba]++:Gi[ba]=1});var Ni=!0;Object.keys(Gi).length!==Object.keys(Do).length?Ni=!1:Object.keys(Do).forEach(function(Wi){Gi[Wi]!==Do[Wi]&&(Ni=!1)}),Ni&&bn.splice(Bo,1)},Fo=Wo-1;Fo>Lr;Fo--)yi(Fo);Wo=bn.length};for(no=0;no<=Wo-1;no++)$o(no);return bn}}},xn=function(){function o(t){t===void 0&&(t=10),this.linkedList=new q,this.maxStep=t}return Object.defineProperty(o.prototype,\"length\",{get:function(){return this.linkedList.toArray().length},enumerable:!1,configurable:!0}),o.prototype.isEmpty=function(){return!this.linkedList.head},o.prototype.isMaxStack=function(){return this.toArray().length>=this.maxStep},o.prototype.peek=function(){return this.isEmpty()?null:this.linkedList.head.value},o.prototype.push=function(t){this.linkedList.prepend(t),this.length>this.maxStep&&this.linkedList.deleteTail()},o.prototype.pop=function(){var t=this.linkedList.deleteHead();return t?t.value:null},o.prototype.toArray=function(){return this.linkedList.toArray().map(function(t){return t.value})},o.prototype.clear=function(){for(;!this.isEmpty();)this.pop()},o}(),Dt=ae,Xn={getAdjMatrix:L,breadthFirstSearch:xe,connectedComponent:Le,getDegree:ce,getInDegree:ye,getOutDegree:Oe,detectCycle:ae,detectDirectedCycle:Dt,detectAllCycles:ie,detectAllDirectedCycle:he,detectAllUndirectedCycle:oe,depthFirstSearch:Ce,dijkstra:ve,findAllPath:_e,findShortestPath:fe,floydWarshall:be,labelPropagation:We,louvain:dt,iLouvain:Lt,kCore:lt,kMeans:qt,cosineSimilarity:hn,nodesCosineSimilarity:Kt,minimumSpanningTree:Fn,pageRank:pn,getNeighbors:me,Stack:xn,GADDI:Wt},Rn=j.a.transform,wt=function(o){return function(t,e){return t[o]-e[o]}},pt=function(o,t,e){return o>=t&&o<=e},Ue=function(o,t,e,n){var i=e.x-o.x,d=e.y-o.y,g=t.x-o.x,_=t.y-o.y,I=n.x-e.x,D=n.y-e.y,H=g*D-_*I,Z=1/H;if(H*H>1e-4*(g*g+_*_)*(I*I+D*D)){var te=(i*D-d*I)*Z,de=(i*_-d*g)*Z;return pt(te,0,1)&&pt(de,0,1)?{x:o.x+te*g,y:o.y+te*_}:null}return null},xt=function(o,t){var e=o.x,n=o.y,i=o.width,d=o.height,g=[],_={x:e+i/2,y:n+d/2};g.push({x:e,y:n}),g.push({x:e+i,y:n}),g.push({x:e+i,y:n+d}),g.push({x:e,y:n+d}),g.push({x:e,y:n});for(var I=null,D=1;D<g.length&&!(I=Ue(g[D-1],g[D],_,t));D++);return I},cn=function(o,t){var e=o.x,n=o.y,i=o.r,d=t.x-e,g=t.y-n;if(d*d+g*g<i*i)return null;var _=Math.atan(g/d);return{x:e+Math.abs(i*Math.cos(_))*Math.sign(d),y:n+Math.abs(i*Math.sin(_))*Math.sign(g)}},er=function(o,t){var e=o.rx,n=o.ry,i=o.x,d=o.y,g=t.x-i,_=t.y-d,I=Math.atan2(_/n,g/e);return I<0&&(I+=2*Math.PI),{x:i+e*Math.cos(I),y:d+n*Math.sin(I)}},Mr=function(o,t,e){e===void 0&&(e=1);var n=[o.x,o.y,e];return t&&!isNaN(t[0])||(t=[1,0,0,0,1,0,0,0,1]),j.d.transformMat3(n,n,t),{x:n[0],y:n[1]}},xr=function(o,t,e){e===void 0&&(e=1),t&&!isNaN(t[0])||(t=[1,0,0,0,1,0,0,0,1]);var n=j.b.invert([1,0,0,0,1,0,0,0,1],t);n||(n=[1,0,0,0,1,0,0,0,1]);var i=[o.x,o.y,e];return j.d.transformMat3(i,i,n),{x:i[0],y:i[1]}},jr=function(o,t,e){var n=o.x-t.x,i=o.y-t.y,d=o.x-e.x,g=o.y-e.y,_=(o.x*o.x-t.x*t.x-t.y*t.y+o.y*o.y)/2,I=(o.x*o.x-e.x*e.x-e.y*e.y+o.y*o.y)/2,D=i*d-n*g;return{x:-(g*_-i*I)/D,y:-(n*I-d*_)/D}},yo=function(o,t){var e=o.x-t.x,n=o.y-t.y;return Math.sqrt(e*e+n*n)},eo=function(o,t){var e=[];return o.forEach(function(n){var i=[];n.forEach(function(d){i.push(d*t)}),e.push(i)}),e},vi=function(o){for(var t=[],e=o.length,n=0;n<e;n+=1){t[n]=[];for(var i=0;i<e;i+=1)n===i?t[n][i]=0:o[n][i]!==0&&o[n][i]?t[n][i]=o[n][i]:t[n][i]=1/0}for(var d=0;d<e;d+=1)for(n=0;n<e;n+=1)for(i=0;i<e;i+=1)t[n][i]>t[n][d]+t[d][i]&&(t[n][i]=t[n][d]+t[d][i]);return t},Ti=function(o,t){var e=o.nodes,n=o.edges,i=[],d={};if(!e)throw new Error(\"invalid nodes data!\");return e&&e.forEach(function(g,_){d[g.id]=_,i.push([])}),n&&n.forEach(function(g){var _=g.source,I=g.target,D=d[_],H=d[I];i[D][H]=1,t||(i[H][D]=1)}),i},wi=function(o,t){o.translate(t.x,t.y)},mi=function(o,t,e,n){n===void 0&&(n={duration:500});var i=o.getMatrix();i||(i=[1,0,0,0,1,0,0,0,1]);var d=o.getCanvasBBox(),g=t.x-d.minX,_=t.y-d.minY;if(e){var I=g*i[0],D=_*i[4],H=0,Z=0,te=0,de=0;o.animate(function(Ge){return i=Rn(i,[[\"t\",(te=I*Ge)-H,(de=D*Ge)-Z]]),H=te,Z=de,{matrix:i}},n)}else{var Pe=Rn(i,[[\"t\",g,_]]);o.setMatrix(Pe)}},Zi=function(o,t){var e=o.getMatrix();e||(e=[1,0,0,0,1,0,0,0,1]);var n=t;Object(s.isArray)(t)||(n=[t,t]),Object(s.isArray)(t)&&t.length===1&&(n=[t[0],t[0]]),e=Rn(e,[[\"s\",n[0],n[1]]]),o.setMatrix(e)},aa=function(o,t){var e=o.getMatrix();e||(e=[1,0,0,0,1,0,0,0,1]),e=Rn(e,[[\"r\",t]]),o.setMatrix(e)},$e=function(o,t,e){for(var n=[],i=0;i<o;i++)n[i]=0;return e.forEach(function(d){d.source&&(n[t[d.source]]+=1),d.target&&(n[t[d.target]]+=1)}),n};function dn(o,t,e){return(e[0]-o[0])*(t[1]-o[1])==(t[0]-o[0])*(e[1]-o[1])&&Math.min(o[0],t[0])<=e[0]&&e[0]<=Math.max(o[0],t[0])&&Math.min(o[1],t[1])<=e[1]&&e[1]<=Math.max(o[1],t[1])}var Un=function(o,t,e){var n=!1,i=o.length;function d(D){return Math.abs(D)<1e-6?0:D<0?-1:1}if(i<=2)return!1;for(var g=0;g<i;g++){var _=o[g],I=o[(g+1)%i];if(dn(_,I,[t,e]))return!0;d(_[1]-e)>0!=d(I[1]-e)>0&&d(t-(e-_[1])*(_[0]-I[0])/(_[1]-I[1])-_[0])<0&&(n=!n)}return n},ar=function(o,t){return!(t.minX>o.maxX||t.maxX<o.minX||t.minY>o.maxY||t.maxY<o.minY)},Rr=function(o,t){var e=function(H){var Z=H.map(function(de){return de[0]}),te=H.map(function(de){return de[1]});return{minX:Math.min.apply(null,Z),maxX:Math.max.apply(null,Z),minY:Math.min.apply(null,te),maxY:Math.max.apply(null,te)}},n=function(H){for(var Z=[],te=H.length,de=0;de<te-1;de++){var Pe=H[de],Ge=H[de+1];Z.push({from:{x:Pe[0],y:Pe[1]},to:{x:Ge[0],y:Ge[1]}})}if(Z.length>1){var Qe=H[0],Xe=H[te-1];Z.push({from:{x:Xe[0],y:Xe[1]},to:{x:Qe[0],y:Qe[1]}})}return Z};if(o.length<2||t.length<2)return!1;var i=e(o),d=e(t);if(!ar(i,d))return!1;var g=!1;if(Object(s.each)(t,function(H){if(Un(o,H[0],H[1]))return g=!0,!1}),g||(Object(s.each)(o,function(H){if(Un(t,H[0],H[1]))return g=!0,!1}),g))return!0;var _=n(o),I=n(t),D=!1;return Object(s.each)(I,function(H){if(function(Z,te){var de=!1;return Object(s.each)(Z,function(Pe){if(Ue(Pe.from,Pe.to,te.from,te.to))return de=!0,!1}),de}(_,H))return D=!0,!1}),D},Ro=function(){function o(t,e,n,i){this.x1=t,this.y1=e,this.x2=n,this.y2=i}return o.prototype.getBBox=function(){var t=Math.min(this.x1,this.x2),e=Math.min(this.y1,this.y2),n=Math.max(this.x1,this.x2),i=Math.max(this.y1,this.y2);return{x:t,y:e,minX:t,minY:e,maxX:n,maxY:i,width:n-t,height:i-e}},o}(),Vo=function(o,t){return{top:[o.minX,o.minY,o.maxX,o.minY],left:[o.minX,o.minY,o.minX,o.maxY],bottom:[o.minX,o.maxY,o.maxX,o.maxY],right:[o.maxX,o.minY,o.maxX,o.maxY]}[t]},Co=function(o,t){var e=(t.x2-t.x1)*(o.y1-t.y1)-(t.y2-t.y1)*(o.x1-t.x1),n=(o.x2-o.x1)*(o.y1-t.y1)-(o.y2-o.y1)*(o.x1-t.x1),i=(t.y2-t.y1)*(o.x2-o.x1)-(t.x2-t.x1)*(o.y2-o.y1);if(i){var d=e/i,g=n/i;if(d>=0&&d<=1&&g>=0&&g<=1)return d}return Number.POSITIVE_INFINITY},Mo=function(o,t){for(var e=[\"top\",\"left\",\"bottom\",\"right\"],n=o.getBBox(),i=0,d=[],g=0;g<4;g++){var _=Vo(n,e[g]),I=_[0],D=_[1],H=_[2],Z=_[3];d[g]=Ue({x:t.x1,y:t.y1},{x:t.x2,y:t.y2},{x:I,y:D},{x:H,y:Z}),d[g]&&(i+=1)}return[d,i]},qo=function(o,t){for(var e=[\"top\",\"left\",\"bottom\",\"right\"],n=o.getBBox(),i=Number.POSITIVE_INFINITY,d=0,g=0;g<4;g++){var _=Vo(n,e[g]),I=_[0],D=_[1],H=_[2],Z=_[3],te=Co(t,new Ro(I,D,H,Z));(te=Math.abs(te-.5))>=0&&te<=1&&(d+=1,i=te<i?te:i)}return d===0?-1:i},ti=function(o){var t=0,e=0;if(o.length>0){for(var n=0,i=o;n<i.length;n++){var d=i[n];t+=d.x,e+=d.y}t/=o.length,e/=o.length}return{x:t,y:e}},pi=function(o,t){return Math.pow(o.x-t.x,2)+Math.pow(o.y-t.y,2)},ni=function(o,t){var e,n=t.x1,i=t.y1,d=t.x2-n,g=t.y2-i,_=o.x-n,I=o.y-i,D=_*d+I*g;e=D<=0||(D=(_=d-_)*d+(I=g-I)*g)<=0?0:D*D/(d*d+g*g);var H=_*_+I*I-e;return H<0&&(H=0),H},si=function(o,t,e){return e===void 0&&(e=.001),Math.pow(o.x-t.x,2)+Math.pow(o.y-t.y,2)<Math.pow(e,2)},Oi=function(o,t){var e=o.x<t.x,n=o.x>t.x+t.width,i=o.y>t.y+t.height,d=o.y<t.y;if(!(e||n||i||d))return 0;if(i&&!e&&!n)return Math.pow(t.y+t.height-o.y,2);if(d&&!e&&!n)return Math.pow(o.y-t.y,2);if(e&&!i&&!d)return Math.pow(t.x-o.x,2);if(n&&!i&&!d)return Math.pow(t.x+t.width-o.x,2);var g=Math.min(Math.abs(t.x-o.x),Math.abs(t.x+t.width-o.x)),_=Math.min(Math.abs(t.y-o.y),Math.abs(t.y+t.height-o.y));return g*g+_*_},Ki=function(o,t){var e=o[0],n=o[1],i=o[2],d=o[3],g=t.x,_=t.y,I=[i-e,d-n];if(j.c.exactEquals(I,[0,0]))return NaN;var D=[-I[1],I[0]];j.c.normalize(D,D);var H=[g-e,_-n];return Math.abs(j.c.dot(H,D))},ca=function(o,t,e){return o+(t-o)*e},zi=function(o,t,e){for(var n=Math.min(o.length,t.length),i=new Array(n),d=0;d<n;d++)i[d]=ca(o[d],t[d],e);return i},br=\"rgb(253, 253, 253)\",Re=\"rgb(95, 149, 255)\",je=\"rgb(95, 149, 255)\",nt=\"rgb(247, 250, 255)\",rt=\"rgb(95, 149, 255)\",Xt=\"rgb(224, 224, 224)\",fn=\"rgb(95, 149, 255)\",Cn=\"rgb(224, 224, 224)\",Yn=\"rgb(95, 149, 255)\",Ae={version:\"0.8.8\",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:Re,fill:\"rgb(239, 244, 255)\"},size:20,color:Re,linkPoints:{size:8,lineWidth:1,fill:nt,stroke:je}},nodeStateStyles:{active:{fill:nt,stroke:je,lineWidth:2,shadowColor:Re,shadowBlur:10},selected:{fill:\"rgb(255, 255, 255)\",stroke:rt,lineWidth:4,shadowColor:rt,shadowBlur:10,\"text-shape\":{fontWeight:500}},highlight:{fill:\"rgb(223, 234, 255)\",stroke:\"#4572d9\",lineWidth:2,\"text-shape\":{fontWeight:500}},inactive:{fill:\"rgb(247, 250, 255)\",stroke:\"rgb(191, 213, 255)\",lineWidth:1},disable:{fill:\"rgb(250, 250, 250)\",stroke:\"rgb(224, 224, 224)\",lineWidth:1}},edgeLabel:{style:{fill:\"rgb(0, 0, 0)\",textAlign:\"center\",textBaseline:\"middle\",fontSize:12}},defaultEdge:{type:\"line\",size:1,style:{stroke:Xt,lineAppendWidth:2},color:Xt},edgeStateStyles:{active:{stroke:\"rgb(95, 149, 255)\",lineWidth:1},selected:{stroke:fn,lineWidth:2,shadowColor:fn,shadowBlur:10,\"text-shape\":{fontWeight:500}},highlight:{stroke:\"rgb(95, 149, 255)\",lineWidth:2,\"text-shape\":{fontWeight:500}},inactive:{stroke:\"rgb(234, 234, 234)\",lineWidth:1},disable:{stroke:\"rgb(245, 245, 245)\",lineWidth:1}},comboLabel:{style:{fill:\"rgb(0, 0, 0)\",textBaseline:\"middle\",fontSize:12},refY:10,refX:10},defaultCombo:{type:\"circle\",style:{fill:br,lineWidth:1,stroke:Cn,r:5,width:20,height:10},size:[20,5],color:Cn,padding:[25,20,15,20]},comboStateStyles:{active:{stroke:\"rgb(95, 149, 255)\",lineWidth:1,fill:\"rgb(247, 250, 255)\"},selected:{stroke:Yn,lineWidth:2,fill:br,shadowColor:Yn,shadowBlur:10,\"text-shape\":{fontWeight:500}},highlight:{stroke:\"#4572d9\",lineWidth:2,fill:br,\"text-shape\":{fontWeight:500}},inactive:{stroke:\"rgb(224, 224, 224)\",fill:br,lineWidth:1},disable:{stroke:\"rgb(234, 234, 234)\",fill:\"rgb(250, 250, 250)\",lineWidth:1}},delegateStyle:{fill:\"#F3F9FF\",fillOpacity:.5,stroke:\"#1890FF\",strokeOpacity:.9,lineDash:[5,5]},windowFontFamily:typeof window!=\"undefined\"&&window.getComputedStyle&&document.body&&window.getComputedStyle(document.body,null).getPropertyValue(\"font-family\")||\"Arial, sans-serif\"},Ke={\" \":.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},Mt=Math.PI,Ut=Math.sin,kn=Math.cos,Zn=Ut(Mt/8),lr=kn(Mt/8),wr=function(o,t){var e=o.getBBox(),n={x:e.minX,y:e.minY},i={x:e.maxX,y:e.maxY};if(t){var d=t.getMatrix();d||(d=[1,0,0,0,1,0,0,0,1]),n=Mr(n,d),i=Mr(i,d)}var g=n.x,_=n.y,I=i.x,D=i.y;return{x:g,y:_,minX:g,minY:_,maxX:I,maxY:D,width:I-g,height:D-_}},Dr=function(o){var t=o.sourceNode||o.targetNode,e=t.get(\"group\").getMatrix();e||(e=[1,0,0,0,1,0,0,0,1]);var n=t.getKeyShape(),i=n.getBBox(),d=o.loopCfg||{},g=d.dist||2*Math.max(i.width,i.height),_=d.position||Ae.defaultLoopPosition,I=[(i.minX+i.maxX)/2+e[6],(i.minY+i.maxY)/2+e[7]],D=[o.startPoint.x,o.startPoint.y],H=[o.endPoint.x,o.endPoint.y],Z=i.height/2,te=i.width/2,de=Z,Pe=Z,Ge=de*Zn,Qe=de*lr,Xe=Pe*Zn,yt=Pe*lr,Ct=n.get(\"type\"),on=Math.min(Z/2,te/2),sn=Math.min(Z,te),Nn=d!=null&&d.pointPadding?Math.min(sn,d==null?void 0:d.pointPadding):on;if(D[0]===H[0]&&D[1]===H[1]){switch(_){case\"top\":Ct===\"circle\"?(D=[I[0]-Ge,I[1]-Qe],H=[I[0]+Xe,I[1]-yt]):(D=[I[0]-Nn,I[1]-Z],H=[I[0]+Nn,I[1]-Z]);break;case\"top-right\":de=Z,Pe=te,Ct===\"circle\"?(D=[I[0]+(Ge=de*Zn),I[1]-(Qe=de*lr)],H=[I[0]+(yt=Pe*lr),I[1]-(Xe=Pe*Zn)]):(D=[I[0]+te-Nn,I[1]-Z],H=[I[0]+te,I[1]-Z+Nn]);break;case\"right\":de=te,Pe=te,Ct===\"circle\"?(D=[I[0]+(Qe=de*lr),I[1]-(Ge=de*Zn)],H=[I[0]+(yt=Pe*lr),I[1]+(Xe=Pe*Zn)]):(D=[I[0]+te,I[1]-Nn],H=[I[0]+te,I[1]+Nn]);break;case\"bottom-right\":de=te,Pe=Z,Ct===\"circle\"?(D=[I[0]+(Qe=de*lr),I[1]+(Ge=de*Zn)],H=[I[0]+(Xe=Pe*Zn),I[1]+(yt=Pe*lr)]):(D=[I[0]+te,I[1]+Z-Nn],H=[I[0]+te-Nn,I[1]+Z]);break;case\"bottom\":de=Z,Pe=Z,Ct===\"circle\"?(D=[I[0]+(Ge=de*Zn),I[1]+(Qe=de*lr)],H=[I[0]-(Xe=Pe*Zn),I[1]+(yt=Pe*lr)]):(D=[I[0]-Nn,I[1]+Z],H=[I[0]+Nn,I[1]+Z]);break;case\"bottom-left\":de=Z,Pe=te,Ct===\"circle\"?(D=[I[0]-(Ge=de*Zn),I[1]+(Qe=de*lr)],H=[I[0]-(yt=Pe*lr),I[1]+(Xe=Pe*Zn)]):(D=[I[0]-te,I[1]+Z-Nn],H=[I[0]-te+Nn,I[1]+Z]);break;case\"left\":de=te,Pe=te,Ct===\"circle\"?(D=[I[0]-(Qe=de*lr),I[1]+(Ge=de*Zn)],H=[I[0]-(yt=Pe*lr),I[1]-(Xe=Pe*Zn)]):(D=[I[0]-te,I[1]-Nn],H=[I[0]-te,I[1]+Nn]);break;case\"top-left\":de=te,Pe=Z,Ct===\"circle\"?(D=[I[0]-(Qe=de*lr),I[1]-(Ge=de*Zn)],H=[I[0]-(Xe=Pe*Zn),I[1]-(yt=Pe*lr)]):(D=[I[0]-te+Nn,I[1]-Z],H=[I[0]-te,I[1]-Z+Nn]);break;default:D=[I[0]-(Ge=(de=te)*Zn),I[1]-(Qe=de*lr)],H=[I[0]+(Xe=(Pe=te)*Zn),I[1]-(yt=Pe*lr)]}if(d.clockwise===!1){var Tn=[D[0],D[1]];D=[H[0],H[1]],H=[Tn[0],Tn[1]]}}var Bn=[D[0]-I[0],D[1]-I[1]],Hn=(de+g)/de,Sr=(Pe+g)/Pe;d.clockwise===!1&&(Hn=(Pe+g)/Pe,Sr=(de+g)/de);var Cr=j.c.scale([0,0],Bn,Hn),po=[I[0]+Cr[0],I[1]+Cr[1]],wo=[H[0]-I[0],H[1]-I[1]],Po=j.c.scale([0,0],wo,Sr),Xo=[I[0]+Po[0],I[1]+Po[1]];return o.startPoint={x:D[0],y:D[1]},o.endPoint={x:H[0],y:H[1]},o.controlPoints=[{x:po[0],y:po[1]},{x:Xo[0],y:Xo[1]}],o},go=function(o,t,e,n,i){var d=[],g=o==null?void 0:o.getPoint(t);if(!g)return{x:0,y:0,angle:0};if(t<1e-4)d=o.getStartTangent().reverse();else if(t>.9999)d=o.getEndTangent();else{var _=o==null?void 0:o.getPoint(t+1e-4);d.push([g.x,g.y]),d.push([_.x,_.y])}var I=Math.atan2(d[1][1]-d[0][1],d[1][0]-d[0][0]);if(I<0&&(I+=2*Mt),e&&(g.x+=kn(I)*e,g.y+=Ut(I)*e),n){var D=I-Mt/2;I>.5*Mt&&I<1.5*Mt&&(D-=Mt),g.x+=kn(D)*n,g.y+=Ut(D)*n}var H={x:g.x,y:g.y,angle:I};return i?(I>.5*Mt&&I<1.5*Mt&&(I-=Mt),Object(l.__assign)({rotate:I},H)):H},Ir=function(o,t){typeof t==\"function\"&&function e(n,i,d,g){if(g(n,i,d)===!1)return!1;if(n&&n.children){for(var _=n.children.length-1;_>=0;_--)if(!e(n.children[_],n,_,g))return!1}return!0}(o,null,-1,t)},Jr=function(o,t){typeof t==\"function\"&&function e(n,i,d,g){if(n&&n.children){for(var _=n.children.length-1;_>=0;_--)if(!e(n.children[_],n,_,g))return}return g(n,i,d)!==!1}(o,null,-1,t)},_o=function(o,t){return t*(Ke[o]||1)},No=function(o,t){var e=0,n=new RegExp(\"[\\u4E00-\\u9FA5]+\");return o.split(\"\").forEach(function(i){n.test(i)?e+=t:e+=_o(i,t)}),[e,t]},ii=function(o,t){return typeof t!=\"number\"||t<=0||t>=o.length?o:o.substring(0,t)+\"...\"},Lo=function(o,t){var e=[],n={},i={};o.forEach(function(_){i[_.id]=_}),o.forEach(function(_,I){var D=Object(s.clone)(_);D.itemType=\"combo\",D.children=void 0,D.parentId===D.id?(console.warn(\"The parentId for combo \".concat(D.id,\" can not be the same as the combo's id\")),delete D.parentId):D.parentId&&!i[D.parentId]&&(console.warn(\"The parent combo for combo \".concat(D.id,\" does not exist!\")),delete D.parentId);var H=n[D.id];if(H){if(D.children=H.children,n[D.id]=D,!(H=D).parentId)return void e.push(H);var Z=n[H.parentId];if(Z)Z.children?Z.children.push(D):Z.children=[D];else{var te={id:H.parentId,children:[H]};n[H.parentId]=te,n[D.id]=D}}else if(Object(s.isString)(_.parentId)){var de=n[_.parentId];if(de)de.children?de.children.push(D):de.children=[D],n[D.id]=D;else{var Pe={id:_.parentId,children:[D]};n[Pe.id]=Pe,n[D.id]=D}}else e.push(D),n[D.id]=D});var d={};(t||[]).forEach(function(_){d[_.id]=_;var I=n[_.comboId];if(I){var D={id:_.id,comboId:_.comboId};I.children?I.children.push(D):I.children=[D],D.itemType=\"node\",n[_.id]=D}});var g=0;return e.forEach(function(_){_.depth=g+10,Ir(_,function(I){var D,H=n[I.id].itemType;D=H===\"node\"?n[I.comboId]:n[I.parentId],I.depth=D&&H===\"node\"?g+1:g+10,g<I.depth&&(g=I.depth);var Z=d[I.id];return Z&&(Z.depth=I.depth),!0})}),e},ai=function(o,t,e){var n,i,d=o,g={root:{children:o}},_=!1,I=\"root\";(o||[]).forEach(function(de){if(!_)return de.id===t?(i=de,de.itemType===\"combo\"?i.parentId=e:i.comboId=e,void(_=!0)):void Ir(de,function(Pe){var Ge;return g[Pe.id]={children:(Pe==null?void 0:Pe.children)||[]},d=(Ge=g[Pe.parentId||Pe.comboId||\"root\"])===null||Ge===void 0?void 0:Ge.children,!Pe||!Pe.removed&&t!==Pe.id||!d||(I=Pe.parentId||Pe.comboId||\"root\",i=Pe,Pe.itemType===\"combo\"?i.parentId=e:i.comboId=e,_=!0,!1)})});var D=(d=(n=g[I])===null||n===void 0?void 0:n.children)?d.indexOf(i):-1;if(D>-1&&d.splice(D,1),_||(i={id:t,itemType:\"node\",comboId:e},g[t]={children:void 0}),t){var H=!1;if(e){var Z=0;(o||[]).forEach(function(de){H||Ir(de,function(Pe){return e!==Pe.id||(H=!0,Pe.children?Pe.children.push(i):Pe.children=[i],Z=Pe.depth,i.itemType===\"node\"?i.depth=Z+2:i.depth=Z+1,!1)})})}else e&&H||i.itemType===\"node\"||o.push(i);var te=i.depth;Ir(i,function(de){return de.itemType===\"node\"?te+=2:te+=1,de.depth=te,!0})}return o},Si=function(o,t,e){var n={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(!o||o.length===0){var i=(e==null?void 0:e.getModel())||{},d=i.x,g=i.y,_=i.fixSize,I=i.collapsed,D=i.fixCollapseSize,H=I?D:_,Z=Object(s.isArray)(H)?H:[H,H],te=Z[0],de=Z[1],Pe=[te/2,de/2];return{minX:d-Pe[0],minY:g-Pe[1],maxX:d+Pe[0],maxY:g+Pe[1],x:d,y:g,width:te,height:de}}return o.forEach(function(Ge){var Qe=t.findById(Ge.id);if(Qe&&Qe.isVisible()){Qe.set(\"bboxCanvasCache\",void 0);var Xe=Qe.getCanvasBBox();Xe.x&&n.minX>Xe.minX&&(n.minX=Xe.minX),Xe.y&&n.minY>Xe.minY&&(n.minY=Xe.minY),Xe.x&&n.maxX<Xe.maxX&&(n.maxX=Xe.maxX),Xe.y&&n.maxY<Xe.maxY&&(n.maxY=Xe.maxY)}}),n.x=(n.minX+n.maxX)/2,n.y=(n.minY+n.maxY)/2,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,(e==null?void 0:e.getKeyShape().get(\"type\"))===\"circle\"&&(n.width=Math.hypot(n.height,n.width),n.height=n.width),Object.keys(n).forEach(function(Ge){n[Ge]!==1/0&&n[Ge]!==-1/0||(n[Ge]=void 0)}),n},Ui=function(o){var t=Object(s.isNumber)(o.x)||Object(s.isNumber)(o.y)||o.type||o.anchorPoints||o.size;return o.style&&(t=t||Object(s.isNumber)(o.style.r)||Object(s.isNumber)(o.style.width)||Object(s.isNumber)(o.style.height)||Object(s.isNumber)(o.style.rx)||Object(s.isNumber)(o.style.ry)),t},ln=function(o){var t={};return Object.keys(o).forEach(function(e){var n=o[e];if(Object(s.isObject)(n)&&!Object(s.isArray)(n)){var i={};Object.keys(n).forEach(function(d){var g=n[d];(d!==\"img\"||Object(s.isString)(g))&&(i[d]=Object(s.clone)(g))}),t[e]=i}else t[e]=Object(s.clone)(n)}),t},mn=function(o){var t,e=o.animateCfg,n=o.callback;if(e)if(t=Object(s.clone)(e),e.callback){var i=e.callback;t.callback=function(){n(),i()}}else t.callback=n;else t={duration:500,callback:n};return t},fr=function(o){if(!o)return console.error(\"G6 Error Tips: the data must be defined\"),!1;var t=o.nodes,e=o.edges,n=o.combos,i=n===void 0?[]:n;if(!t&&!e){var d=!0;return Ir(o,function(Z){return!!Object(s.isString)(Z.id)||(d=!1,!1)}),d}var g=(t||[]).find(function(Z){return!Object(s.isString)(Z.id)});if(g)return console.warn(\"G6 Warning Tips: missing 'id' property, or %c\".concat(g.id,\"%c is not a string.\"),\"font-size: 20px; color: red;\",\"\"),!1;var _=(t||[]).map(function(Z){return Z.id}),I=i==null?void 0:i.map(function(Z){return Z.id}),D=Object(l.__spreadArray)(Object(l.__spreadArray)([],_,!0),I,!0),H=(e||[]).find(function(Z){return!D.includes(Z.source)||!D.includes(Z.target)});return!H||(console.warn(\"G6 Warning Tips: The source %c\".concat(H.source,\"%c or the target %c\").concat(H.target,\"%c of the edge do not exist in the nodes or combos.\"),\"font-size: 20px; color: red;\",\"\",\"font-size: 20px; color: red;\",\"\"),!1)},ft=function(){function o(t){this.graph=t,this.destroyed=!1,this.modes=t.get(\"modes\")||{default:[]},this.formatModes(),this.mode=t.get(\"defaultMode\")||\"default\",this.currentBehaves=[],this.setMode(this.mode)}return o.prototype.formatModes=function(){var t=this.modes;Object(s.each)(t,function(e){Object(s.each)(e,function(n,i){Object(s.isString)(n)&&(e[i]={type:n})})})},o.prototype.setBehaviors=function(t){var e,n=this.graph,i=this.modes[t],d=[];Object(s.each)(i||[],function(g){var _=x.getBehavior(g.type||g);_&&(e=new _(g))&&(e.bind(n),d.push(e))}),this.currentBehaves=d},o.mergeBehaviors=function(t,e){return Object(s.each)(e,function(n){t.indexOf(n)<0&&(Object(s.isString)(n)&&(n={type:n}),t.push(n))}),t},o.filterBehaviors=function(t,e){var n=[];return t.forEach(function(i){var d=\"\";d=Object(s.isString)(i)?i:i.type,e.indexOf(d)<0&&n.push(i)}),n},o.prototype.setMode=function(t){var e=this.modes,n=this.graph,i=t;e[i]&&(n.emit(\"beforemodechange\",{mode:t}),Object(s.each)(this.currentBehaves,function(d){d.delegate&&d.delegate.remove(),d.unbind(n)}),this.setBehaviors(i),n.emit(\"aftermodechange\",{mode:t}),this.mode=t)},o.prototype.getMode=function(){return this.mode},o.prototype.manipulateBehaviors=function(t,e,n){var i,d=this;if(i=Object(s.isArray)(t)?t:[t],Object(s.isArray)(e))return Object(s.each)(e,function(_){d.modes[_]?d.modes[_]=n?o.mergeBehaviors(d.modes[_]||[],i):o.filterBehaviors(d.modes[_]||[],i):n&&(d.modes[_]=i)}),this;var g=e;return e||(g=this.mode),this.modes[g]||n&&(this.modes[g]=i),this.modes[g]=n?o.mergeBehaviors(this.modes[g]||[],i):o.filterBehaviors(this.modes[g]||[],i),this.formatModes(),this.setMode(this.mode),this},o.prototype.updateBehavior=function(t,e,n){Object(s.isString)(t)&&(t={type:t});var i=[];if(n&&n!==this.mode&&n!==\"default\"){if(!(i=this.modes[n])||!i.length)return console.warn(\"Update behavior failed! There is no behaviors in this mode on the graph.\"),this;var d=i.length;for(_=0;_<d;_++){if((I=i[_]).type===t.type||I===t.type)return I===t.type&&(I={type:I}),Object.assign(I,e),i[_]=I,this;_===d-1&&console.warn(\"Update behavior failed! There is no such behavior in the mode\")}}else{if(!(i=this.currentBehaves)||!i.length)return console.warn(\"Update behavior failed! There is no behaviors in this mode on the graph.\"),this;for(var g=i.length,_=0;_<g;_++){var I;if((I=i[_]).type===t.type)return I.updateCfg(e),this;_===g-1&&console.warn(\"Update behavior failed! There is no such behavior in the mode\")}}return this},o.prototype.destroy=function(){this.graph=null,this.modes=null,this.currentBehaves=null,this.destroyed=!0},o}(),ct=function(o){function t(e,n){var i=o.call(this,e,n)||this;return i.item=n.item,i.canvasX=n.canvasX,i.canvasY=n.canvasY,i.wheelDelta=n.wheelDelta,i.detail=n.detail,i}return Object(l.__extends)(t,o),t}(r(10).Event),tn=function(o){return\"\".concat(o,\"-\").concat(Math.random()).concat(Date.now())},An=function(o){if(Object(s.isArray)(o))switch(o.length){case 4:return o;case 3:return o.push(o[1]),o;case 2:return o.concat(o);case 1:return[o[0],o[0],o[0],o[0]];default:return[0,0,0,0]}if(Object(s.isNumber)(o))return[o,o,o,o];if(Object(s.isString)(o)){var t=parseInt(o,10);return[t,t,t,t]}return[0,0,0,0]},Rt=function(o){var t=new ct(o.type,o);return t.clientX=o.clientX,t.clientY=o.clientY,t.x=o.x,t.y=o.y,t.target=o.target,t.currentTarget=o.currentTarget,t.bubbles=!0,t.item=o.item,t},un=function(o){if(!o)return!1;for(var t=[1,0,0,0,1,0,0,0,1],e=0;e<9;e++)if(o[e]!==t[e])return!0;return!1},Dn=function(o){return Number.isNaN(Number(o))},dr=function(o){for(var t=1/0,e=-1/0,n=1/0,i=-1/0,d=0;d<o.length;d++){var g=o[d].getBBox(),_=g.minX,I=g.minY,D=g.maxX,H=g.maxY;_<t&&(t=_),I<n&&(n=I),D>e&&(e=D),H>i&&(i=H)}return{x:Math.floor(t),y:Math.floor(n),width:Math.ceil(e)-Math.floor(t),height:Math.ceil(i)-Math.floor(n),minX:t,minY:n,maxX:e,maxY:i}},Ar=function(o,t,e,n,i){t===void 0&&(t=15),e===void 0&&(e=\"quadratic\"),n===void 0&&(n=void 0),i===void 0&&(i=void 0);for(var d=o.length,g=2*t,_=[\"top\",\"top-right\",\"right\",\"bottom-right\",\"bottom\",\"bottom-left\",\"left\",\"top-left\"],I={},D=[],H={},Z=0;Z<d;Z++){var te=o[Z],de=te.source,Pe=te.target,Ge=\"\".concat(de,\"-\").concat(Pe);if(!D[Z]){I[Ge]||(I[Ge]=[]),D[Z]=!0,I[Ge].push(te);for(var Qe=0;Qe<d;Qe++)if(Z!==Qe){var Xe=o[Qe],yt=Xe.source,Ct=Xe.target;D[Qe]||(de===Ct&&Pe===yt?(I[Ge].push(Xe),D[Qe]=!0,H[\"\".concat(yt,\"|\").concat(Ct,\"|\").concat(I[Ge].length-1)]=!0):de===yt&&Pe===Ct&&(I[Ge].push(Xe),D[Qe]=!0))}}}for(var on in I)for(var sn=I[on],Nn=sn.length,Tn=0;Tn<Nn;Tn++){var Bn=sn[Tn];if(Bn.source!==Bn.target)if(Nn===1&&n&&Bn.source!==Bn.target)Bn.type=n;else{Bn.type=e;var Hn=(Tn%2==0?1:-1)*(H[\"\".concat(Bn.source,\"|\").concat(Bn.target,\"|\").concat(Tn)]?-1:1);Bn.curveOffset=Nn%2==1?Hn*Math.ceil(Tn/2)*g:Hn*(Math.floor(Tn/2)*g+t)}else i&&(Bn.type=i),Bn.loopCfg={position:_[Tn%8],dist:20*Math.floor(Tn/8)+50}}return o},Gr=r(68),Pr=function(){function o(t){this.destroyed=!1,this.graph=t,this.destroyed=!1}return o.prototype.getViewCenter=function(){var t=this.getFormatPadding(),e=this.graph,n=this.graph.get(\"width\"),i=e.get(\"height\");return{x:(n-t[1]-t[3])/2+t[3],y:(i-t[0]-t[2])/2+t[0]}},o.prototype.fitCenter=function(t,e){var n,i=this.graph,d=i.get(\"group\"),g=i.getNodes();if(g.length>i.get(\"optimizeThreshold\")){var _=1/0,I=1/0,D=-1/0,H=-1/0;g.forEach(function(sn){var Nn=sn.getModel(),Tn=Nn.x,Bn=Nn.y;_>Tn&&(_=Tn),I>Bn&&(I=Bn),D<Tn&&(D=Tn),H<Bn&&(H=Bn)});var Z=d.getMatrix()||[1,0,0,0,1,0,0,0,1],te=Mr({x:_,y:I},Z),de=te.x,Pe=te.y,Ge=Mr({x:D,y:H},Z),Qe=Ge.x,Xe=Ge.y;n={minX:de,maxX:Qe,minY:Pe,maxY:Xe,width:Qe-de,height:Xe-Pe,x:de,y:Pe}}else n=d.getCanvasBBox();if(n.width!==0&&n.height!==0){var yt=this.getViewCenter(),Ct=n.x+n.width/2,on=n.y+n.height/2;i.translate(yt.x-Ct,yt.y-on,t,e)}},o.prototype.animatedFitView=function(t,e,n,i,d,g,_,I){var D=this.graph;n=n||{duration:500,easing:\"easeCubic\"};var H=i.x+d.x-g.x-i.minX,Z=i.y+d.y-g.y-i.minY;if(!Dn(H)&&!Dn(Z)){var te=Object(Gr.transform)([1,0,0,0,1,0,0,0,1],[[\"t\",H,Z]]);if(I){var de=D.get(\"minZoom\"),Pe=D.get(\"maxZoom\"),Ge=_;de&&_<de?(Ge=de,console.warn(\"fitview failed, ratio out of range, ratio: %f\",_,\"graph minzoom has been used instead\")):Pe&&_>Pe&&(Ge=Pe,console.warn(\"fitview failed, ratio out of range, ratio: %f\",_,\"graph maxzoom has been used instead\"));var Qe=Object(Gr.transform)(te,[[\"t\",-d.x,-d.y],[\"s\",Ge,Ge],[\"t\",d.x,d.y]]),Xe=mn({animateCfg:n,callback:function(){t.setMatrix(Qe),D.emit(\"viewportchange\",{action:\"translate\",matrix:te}),D.emit(\"viewportchange\",{action:\"zoom\",matrix:Qe})}});t.stopAnimate(),t.setMatrix(e),t.animate(function(Ct){return{matrix:zi(e,Qe,Ct)}},Xe)}else{var yt=mn({animateCfg:n,callback:function(){D.emit(\"viewportchange\",{action:\"translate\",matrix:te})}});t.animate(function(Ct){return{matrix:zi(e,te,Ct)}},yt)}}},o.prototype.fitView=function(t,e){var n,i=this.graph,d=this.getFormatPadding(),g=i.get(\"width\"),_=i.get(\"height\"),I=i.get(\"group\"),D=I.getMatrix()||[1,0,0,0,1,0,0,0,1];I.resetMatrix();var H=i.getNodes();if(H.length>i.get(\"optimizeThreshold\")){var Z=1/0,te=1/0,de=-1/0,Pe=-1/0;H.forEach(function(Nn){var Tn=Nn.getModel(),Bn=Tn.x,Hn=Tn.y;Z>Bn&&(Z=Bn),te>Hn&&(te=Hn),de<Bn&&(de=Bn),Pe<Hn&&(Pe=Hn)}),n={minX:Z,maxX:de,minY:te,maxY:Pe,width:de-Z,height:Pe-te,x:Z,y:te}}else n=I.getCanvasBBox();if(n.width!==0&&n.height!==0){var Ge=this.getViewCenter(),Qe={x:n.x+n.width/2,y:n.y+n.height/2},Xe=(g-d[1]-d[3])/n.width,yt=(_-d[0]-d[2])/n.height,Ct=Xe;if(Xe>yt&&(Ct=yt),t)this.animatedFitView(I,D,e,n,Ge,Qe,Ct,!0);else{var on=Ge.x-Qe.x,sn=Ge.y-Qe.y;if(Dn(on)||Dn(sn))return;i.translate(on,sn),i.zoom(Ct,Ge)||console.warn(\"zoom failed, ratio out of range, ratio: %f\",Ct)}}},o.prototype.fitViewByRules=function(t,e,n){var i,d=t.onlyOutOfViewPort,g=d!==void 0&&d,_=t.direction,I=_===void 0?\"both\":_,D=t.ratioRule,H=D===void 0?\"min\":D,Z=this.graph,te=this.getFormatPadding(),de=Z.get(\"width\"),Pe=Z.get(\"height\"),Ge=Z.get(\"group\"),Qe=Ge.getMatrix()||[1,0,0,0,1,0,0,0,1];Ge.resetMatrix();var Xe=Z.getNodes();if(Xe.length>Z.get(\"optimizeThreshold\")){var yt=1/0,Ct=1/0,on=-1/0,sn=-1/0;Xe.forEach(function(wo){var Po=wo.getModel(),Xo=Po.x,ri=Po.y;yt>Xo&&(yt=Xo),Ct>ri&&(Ct=ri),on<Xo&&(on=Xo),sn<ri&&(sn=ri)}),i={minX:yt,maxX:on,minY:Ct,maxY:sn,width:on-yt,height:sn-Ct,x:yt,y:Ct}}else i=Ge.getCanvasBBox();if(i.width!==0&&i.height!==0){var Nn,Tn=this.getViewCenter(),Bn={x:i.x+i.width/2,y:i.y+i.height/2},Hn=(de-te[1]-te[3])/i.width,Sr=(Pe-te[0]-te[2])/i.height;if(Nn=I===\"x\"?Hn:I===\"y\"?Sr:H===\"max\"?Math.max(Hn,Sr):Math.min(Hn,Sr),g&&(Nn=Nn<1?Nn:1),e)this.animatedFitView(Ge,Qe,n,i,Tn,Bn,Nn,!0);else{var Cr=Z.getZoom()*Nn,po=Z.get(\"minZoom\");Cr<po&&(Cr=po,console.warn(\"fitview failed, ratio out of range, ratio: %f\",Nn,\"graph minzoom has been used instead\")),Z.translate(Tn.x-Bn.x,Tn.y-Bn.y),Z.zoomTo(Cr,Tn)}}},o.prototype.getFormatPadding=function(){var t=this.graph.get(\"fitViewPadding\");return An(t)},o.prototype.focusPoint=function(t,e,n){var i=this,d=this.getViewCenter(),g=this.getPointByCanvas(d.x,d.y),_=this.graph.get(\"group\").getMatrix();if(_||(_=[1,0,0,0,1,0,0,0,1]),e){var I=(g.x-t.x)*_[0],D=(g.y-t.y)*_[4],H=0,Z=0,te=0,de=0;this.graph.get(\"canvas\").animate(function(Pe){te=I*Pe,de=D*Pe,i.graph.translate(te-H,de-Z),H=te,Z=de},Object(l.__assign)({},n))}else this.graph.translate((g.x-t.x)*_[0],(g.y-t.y)*_[4])},o.prototype.getPointByCanvas=function(t,e){var n=this.graph.get(\"group\").getMatrix();return n||(n=[1,0,0,0,1,0,0,0,1]),xr({x:t,y:e},n)},o.prototype.getPointByClient=function(t,e){var n=this.graph.get(\"canvas\").getPointByClient(t,e);return this.getPointByCanvas(n.x,n.y)},o.prototype.getClientByPoint=function(t,e){var n=this.graph.get(\"canvas\"),i=this.getCanvasByPoint(t,e),d=n.getClientByPoint(i.x,i.y);return{x:d.x,y:d.y}},o.prototype.getCanvasByPoint=function(t,e){var n=this.graph.get(\"group\").getMatrix();return n||(n=[1,0,0,0,1,0,0,0,1]),Mr({x:t,y:e},n)},o.prototype.focus=function(t,e,n){if(Object(s.isString)(t)&&(t=this.graph.findById(t)),t){var i=0,d=0;if(t.getType&&t.getType()===\"edge\"){var g=t.getSource().get(\"group\").getMatrix(),_=t.getTarget().get(\"group\").getMatrix();g&&_?(i=(g[6]+_[6])/2,d=(g[7]+_[7])/2):(g||_)&&(i=g?g[6]:_[6],d=g?g[7]:_[7])}else{var I=t.get(\"group\").getMatrix();I||(I=[1,0,0,0,1,0,0,0,1]),i=I[6],d=I[7]}this.focusPoint({x:i,y:d},e,n)}},o.prototype.focusItems=function(t,e,n,i){if(t.length){var d=this.graph,g=this.getFormatPadding(),_=d.get(\"width\"),I=d.get(\"height\"),D=d.get(\"group\"),H=D.getMatrix()||[1,0,0,0,1,0,0,0,1];D.resetMatrix();for(var Z={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},te=0,de=t;te<de.length;te++){var Pe=de[te].getBBox();Pe.minX<Z.minX&&(Z.minX=Pe.minX),Pe.minY<Z.minY&&(Z.minY=Pe.minY),Pe.maxX>Z.maxX&&(Z.maxX=Pe.maxX),Pe.maxY>Z.maxY&&(Z.maxY=Pe.maxY)}if(Z.x=Z.minX,Z.y=Z.minY,Z.width=Z.maxX-Z.minX,Z.height=Z.maxY-Z.minY,Z.width!==0&&Z.height!==0){var Ge=this.getViewCenter(),Qe={x:Z.x+Z.width/2,y:Z.y+Z.height/2},Xe=(_-g[1]-g[3])/Z.width,yt=(I-g[0]-g[2])/Z.height,Ct=Xe;Xe>yt&&(Ct=yt),n?this.animatedFitView(D,H,i,Z,Ge,Qe,Ct,e):(d.translate(Ge.x-Qe.x,Ge.y-Qe.y),e&&!d.zoom(Ct,Ge)&&console.warn(\"zoom failed, ratio out of range, ratio: %f\",Ct))}}},o.prototype.changeSize=function(t,e){var n=this.graph;if(!Object(s.isNumber)(t)||!Object(s.isNumber)(e))throw Error(\"invalid canvas width & height, please make sure width & height type is number\");n.set({width:t,height:e}),n.get(\"canvas\").changeSize(t,e),n.get(\"plugins\").forEach(function(i){i.get(\"gridContainer\")&&i.positionInit()})},o.prototype.destroy=function(){this.graph=null,this.destroyed=!1},o}();function Xr(o){return(Xr=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(t){return typeof t}:function(t){return t&&typeof Symbol==\"function\"&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t})(o)}function oo(o){if(typeof o!=\"string\")return o;var t=function(sn){if(typeof sn!=\"string\")return sn;try{return JSON.parse(sn.trim())}catch(Nn){return sn.trim()}},e=t(o);if(typeof e!=\"string\")return e;for(var n=function(sn){return sn[sn.length-1]},i=o.trim(),d=[],g=[],_=function(){for(var sn=[],Nn=0;Nn<arguments.length;Nn++)sn[Nn]=arguments[Nn];return sn.some(function(Tn){return n(g)===Tn})},I=null,D=0,H=\"\";D<i.length;){var Z=i[D],te=_('\"',\"'\");if(te||Z.trim()){var de=i[D-1]===\"\\\\\",Pe=_(\"}\"),Ge=_(\"]\"),Qe=_(\",\"),Xe=n(d);if(te)if(n(g)!==Z||de)H+=Z;else{g.pop();var yt=t(H);Xe.push(yt),I=yt,H=\"\"}else if(Ge&&Z===\",\")H&&(Xe.push(t(H)),H=\"\");else if(Pe&&Z===\":\")g.push(\",\"),H&&(Xe.push(H),H=\"\");else if(Qe&&Z===\",\")H&&(Xe.push(t(H)),H=\"\"),g.pop();else if(Z===\"}\"&&(Pe||Qe)){H&&(Xe.push(t(H)),H=\"\"),Qe&&g.pop();for(var Ct={},on=1;on<Xe.length;on+=2)Ct[Xe[on-1]]=Xe[on];d.pop(),d.length&&n(d).push(Ct),g.pop(),I=Ct}else Z===\"]\"&&Ge?(H&&(Xe.push(t(H)),H=\"\"),d.pop(),d.length&&n(d).push(Xe),g.pop(),I=Xe):Z===\"{\"?(d.push([]),g.push(\"}\")):Z===\"[\"?(d.push([]),g.push(\"]\")):Z==='\"'?g.push('\"'):Z===\"'\"?g.push(\"'\"):H+=Z;D+=1}else D+=1}return I||H}function io(o,t){var e;t===void 0&&(t={x:0,y:0});var n=Object(l.__assign)({x:0,y:0,width:0,height:0},t);if(!((e=o.children)===null||e===void 0)&&e.length){var i=o.attrs,d=i===void 0?{}:i,g=d.marginTop,_=Object(l.__assign)({},t);g&&(_.y+=g);for(var I=0;I<o.children.length;I++){o.children[I].attrs.key=\"\".concat(d.key||\"root\",\" -\").concat(I,\" \");var D=io(o.children[I],_);if(D.bbox){var H=D.bbox;D.attrs.next===\"inline\"?_.x+=D.bbox.width:_.y+=D.bbox.height,H.width+H.x>n.width&&(n.width=H.width+H.x),H.height+H.y>n.height&&(n.height=H.height+H.y)}}}return o.bbox=function(Z,te,de){var Pe,Ge,Qe=Z.attrs,Xe=Qe===void 0?{}:Qe,yt={x:te.x||0,y:te.y||0,width:de.width||0,height:de.height||0};switch(Z.type){case\"maker\":case\"circle\":Xe.r&&(Ge=2*Xe.r,Pe=2*Xe.r);break;case\"text\":Xe.text&&(Ge=No(Xe.text,Xe.fontSize||12)[0],Pe=16,yt.y+=Pe,yt.height=Pe,yt.width=Ge,Z.attrs=Object(l.__assign)({fontSize:12,fill:\"#000\"},Xe));break;default:Xe.width&&(Ge=Xe.width),Xe.height&&(Pe=Xe.height)}return Pe>=0&&(yt.height=Pe),Ge>=0&&(yt.width=Ge),Xe.marginTop&&(yt.y+=Xe.marginTop),Xe.marginLeft&&(yt.x+=Xe.marginLeft),yt}(o,t,n),o.attrs=Object(l.__assign)(Object(l.__assign)({},o.attrs),o.bbox),o}function to(o){var t={},e=function(n){var i=function(_){return function(I){for(var D=_.length,H=[],Z=0,te=\"\";Z<D;)if(_[Z]===\"{\"&&_[Z+1]===\"{\")H.push(te),te=\"\",Z+=2;else if(_[Z]===\"}\"&&_[Z+1]===\"}\"){if(H.length){var de=H.pop();te=Object(s.get)(I,te,de.endsWith(\"=\")?'\"{'.concat(te,'}\"'):te),H.push(de+te)}Z+=2,te=\"\"}else te+=_[Z],Z+=1;return H.push(te),H.map(function(Pe,Ge){return H[Ge-1]&&H[Ge-1].endsWith(\"=\")?'\"{'.concat(Pe,'}\"'):Pe}).join(\"\")}}(typeof o==\"function\"?o(n):o)(n),d=document.createElement(\"div\");d.innerHTML=i;var g=io(function _(I,D){var H={},Z=I.getAttributeNames&&I.getAttributeNames()||[],te=I.children&&Array.from(I.children).map(function(Ge){return _(Ge,D)}),de={},Pe=I.tagName?I.tagName.toLowerCase():\"group\";return Pe===\"text\"&&(H.text=I.innerText),de.type=Pe,Pe===\"img\"&&(de.type=\"image\"),Array.from(Z).forEach(function(Ge){var Qe=Ge.split(\"-\").reduce(function(Ct,on){return Ct+on.charAt(0).toUpperCase()+on.slice(1)}),Xe=I.getAttribute(Ge);try{if(Qe===\"style\"||Qe===\"attrs\"){var yt=oo(Xe);H=Object(l.__assign)(Object(l.__assign)({},H),yt)}else de[Qe]=oo(Xe)}catch(Ct){if(Qe===\"style\")throw Ct;de[Qe]=Xe}}),de.attrs=H,D&&D.style&&de.name&&Xr(D.style[de.name])===\"object\"&&(de.attrs=Object(l.__assign)(Object(l.__assign)({},de.attrs),D.style[de.name])),D&&D.style&&de.keyshape&&(de.attrs=Object(l.__assign)(Object(l.__assign)({},de.attrs),D.style)),te.length&&(de.children=te),de}(d.children[0],n));return d.remove(),g};return{draw:function(n,i){var d=e(n),g=i;return function _(I){var D=I.attrs,H=D===void 0?{}:D,Z=I.bbox,te=I.type,de=I.children,Pe=Object(l.__rest)(I,[\"attrs\",\"bbox\",\"type\",\"children\"]);if(I.type!==\"group\"){var Ge=i.addShape(I.type,Object(l.__assign)({attrs:H,origin:{bbox:Z,type:te,children:de}},Pe));I.keyshape&&(g=Ge)}I.children&&I.children.forEach(function(Qe){return _(Qe)})}(d),t[n.id]=[d],g},update:function(n,i){t[n.id]||(t[n.id]=[]);var d=i.getContainer(),g=d.get(\"children\"),_=e(n),I=function Z(te,de){var Pe,Ge,Qe,Xe,yt=(te||{}).type,Ct=((de==null?void 0:de.attrs)||{}).key;if(Ct&&te&&(te.attrs.key=Ct),!te&&de)return{action:\"delete\",val:de,type:yt,key:Ct};if(te&&!de)return{action:\"add\",val:te,type:yt};if(!te&&!de)return{action:\"same\",type:yt};var on=[];if(((Pe=te.children)===null||Pe===void 0?void 0:Pe.length)>0||((Ge=de.children)===null||Ge===void 0?void 0:Ge.length)>0)for(var sn=Math.max((Qe=te.children)===null||Qe===void 0?void 0:Qe.length,(Xe=de.children)===null||Xe===void 0?void 0:Xe.length),Nn=de.children||[],Tn=te.children||[],Bn=0;Bn<sn;Bn+=1)on.push(Z(Tn[Bn],Nn[Bn]));var Hn=Object.keys(de.attrs),Sr=Object.keys(te.attrs);return de.type!==te.type?{action:\"restructure\",nowTarget:te,formerTarget:de,key:Ct,children:on}:Hn.filter(function(Cr){return Cr!==\"children\"}).some(function(Cr){return te.attrs[Cr]!==de.attrs[Cr]||!Sr.includes(Cr)})?{action:\"change\",val:te,children:on,type:yt,key:Ct}:{action:\"same\",children:on,type:yt,key:Ct}}(_,t[n.id].pop()),D=function Z(te){var de;te.type!==\"group\"&&d.addShape(te.type,{attrs:te.attrs}),!((de=te.children)===null||de===void 0)&&de.length&&te.children.map(function(Pe){return Z(Pe)})},H=function Z(te){var de,Pe=g.find(function(Ge){return Ge.attrs.key===te.attrs.key});Pe&&d.removeChild(Pe),!((de=te.children)===null||de===void 0)&&de.length&&te.children.map(function(Ge){return Z(Ge)})};(function Z(te){var de=te.key;if(te.type!==\"group\"){var Pe=g.find(function(Qe){return Qe.attrs.key===de});switch(te.action){case\"change\":if(Pe){var Ge=te.val.keyshape?i.getOriginStyle():{};Pe.attr(Object(l.__assign)(Object(l.__assign)({},Ge),te.val.attrs))}break;case\"add\":D(te.val);break;case\"delete\":H(te.val);break;case\"restructure\":H(te.formerTarget),D(te.nowTarget)}}te.children&&te.children.forEach(function(Qe){return Z(Qe)})})(I),t[n.id].push(_)},getAnchorPoints:function(){return[[0,.5],[1,.5],[.5,1],[.5,0]]}}}var To={};function jn(o){return To[o]||(To[o]=Object(s.upperFirst)(o)),To[o]}var W={defaultShapeType:\"defaultType\",className:null,getShape:function(o){return this[o]||this[this.defaultShapeType]||this[\"simple-circle\"]},draw:function(o,t,e){var n=this.getShape(o);e.shapeMap={};var i=n.draw(t,e);return n.afterDraw&&n.afterDraw(t,e,i),i},baseUpdate:function(o,t,e,n){var i,d,g=this.getShape(o);g.update&&(g.mergeStyle=(i=g.getOptions)===null||i===void 0?void 0:i.call(g,t,n),(d=g.update)===null||d===void 0||d.call(g,t,e,n)),g.afterUpdate&&g.afterUpdate(t,e)},setState:function(o,t,e,n){this.getShape(o).setState(t,e,n)},shouldUpdate:function(o){return!!this.getShape(o).update},getControlPoints:function(o,t){return this.getShape(o).getControlPoints(t)},getAnchorPoints:function(o,t){return this.getShape(o).getAnchorPoints(t)}},P={options:{},draw:function(o,t){return this.drawShape(o,t)},drawShape:function(){},afterDraw:function(){},afterUpdate:function(){},setState:function(){},getControlPoints:function(o){return o.controlPoints},getAnchorPoints:function(o){var t=this.options.anchorPoints;return o.anchorPoints||t}},k=function(){function o(){}return o.registerFactory=function(t,e){var n=jn(t),i=W,d=Object(l.__assign)(Object(l.__assign)({},i),e);return o[n]=d,d.className=n,d},o.getFactory=function(t){return o[jn(t)]},o.registerNode=function(t,e,n){var i,d=o.Node;if(typeof e==\"string\"||typeof e==\"function\"){var g=to(e);i=Object(l.__assign)(Object(l.__assign)({},d.getShape(\"single-node\")),g)}else if(e.jsx)g=to(e.jsx),i=Object(l.__assign)(Object(l.__assign)(Object(l.__assign)({},d.getShape(\"single-node\")),g),e);else{d.getShape(n);var _=n?d.getShape(n):P;i=Object(l.__assign)(Object(l.__assign)({},_),e)}return i.type=t,i.itemType=\"node\",d[t]=i,i},o.registerEdge=function(t,e,n){var i=o.Edge,d=n?i.getShape(n):P,g=Object(l.__assign)(Object(l.__assign)({},d),e);return g.type=t,g.itemType=\"edge\",i[t]=g,g},o.registerCombo=function(t,e,n){var i=o.Combo,d=n?i.getShape(n):P,g=Object(l.__assign)(Object(l.__assign)({},d),e);return g.type=t,g.itemType=\"combo\",i[t]=g,g},o}(),z=k;k.registerFactory(\"node\",{defaultShapeType:\"circle\"}),k.registerFactory(\"edge\",{defaultShapeType:\"line\"}),k.registerFactory(\"combo\",{defaultShapeType:\"circle\"});var Q=function(){function o(t){this._cfg={},this.destroyed=!1,this.optimize=!1;var e={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(e,this.getDefaultCfg(),t);var n=this.get(\"model\"),i=n.id,d=this.get(\"type\");i===void 0?i=tn(d):typeof i!=\"string\"&&(i=String(i)),this.get(\"model\").id=i,this.set(\"id\",i);var g=t.group;g&&(g.set(\"item\",this),g.set(\"id\",i)),this.init(),this.draw();var _=n.shape||n.type||(d===\"edge\"?\"line\":\"circle\"),I=this.get(\"shapeFactory\");if(I&&I[_]){var D=I[_].options;if(D&&D.stateStyles){var H=this.get(\"styles\")||n.stateStyles;H=Object(s.deepMix)({},D.stateStyles,H),this.set(\"styles\",H)}}}return o.prototype.calculateBBox=function(){var t=this.get(\"keyShape\"),e=this.get(\"group\"),n=wr(t,e);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},o.prototype.calculateCanvasBBox=function(){var t=this.get(\"keyShape\"),e=this.get(\"group\"),n=wr(t,e);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},o.prototype.drawInner=function(){var t=this.get(\"shapeFactory\"),e=this.get(\"group\"),n=this.get(\"model\");e.clear();var i=n.visible;if(i===void 0||i||this.changeVisibility(i),t){this.updatePosition(n);var d=this.getShapeCfg(n),g=d.type,_=t.draw(g,d,e);_&&(this.set(\"keyShape\",_),_.set(\"isKeyShape\",!0),_.set(\"draggable\",!0)),this.setOriginStyle(),this.set(\"currentShape\",g),this.restoreStates(t,g)}},o.prototype.setOriginStyle=function(){var t=this.get(\"group\"),e=t.get(\"children\"),n=this.getKeyShape(),i=this,d=n.get(\"name\");if(this.get(\"originStyle\")){var g=this.get(\"originStyle\");d&&!g[d]&&(g[d]={});var _=this.getCurrentStatesStyle(),I=function(Qe){var Xe=e[Qe],yt=Xe.get(\"name\"),Ct=Xe.attr();if(yt&&yt!==d){var on=_[yt];g[yt]||(g[yt]={}),on?Object.keys(Ct).forEach(function(Tn){var Bn=Ct[Tn];Bn!==on[Tn]&&(g[yt][Tn]=Bn)}):g[yt]=Xe.get(\"type\")!==\"image\"?Object(s.clone)(Ct):i.getShapeStyleByName(yt)}else{var sn=Xe.attr(),Nn={};Object.keys(_).forEach(function(Tn){var Bn=_[Tn];Tn!==d&&Object(s.isPlainObject)(Bn)||(Nn[Tn]=Bn)}),Object.keys(sn).forEach(function(Tn){var Bn=sn[Tn];Nn[Tn]!==Bn&&(d?g[d][Tn]=Bn:g[Tn]=Bn)})}};for(H=0;H<e.length;H++)I(H);delete g.path,delete g.matrix,delete g.x,delete g.y,g[d]&&(delete g[d].x,delete g[d].y,delete g[d].matrix,delete g[d].path),i.set(\"originStyle\",g)}else{for(var D={},H=0;H<e.length;H++){var Z=e[H],te=Z.get(\"type\"),de=Z.get(\"name\");if(de&&de!==d)D[de]=te!==\"image\"?Object(s.clone)(Z.attr()):i.getShapeStyleByName(de),te===\"text\"&&D[de]&&(delete D[de].x,delete D[de].y,delete D[de].matrix);else{var Pe=i.getShapeStyleByName();if(delete Pe.path,delete Pe.matrix,d)if(de)D[d]=Pe;else{var Ge=tn(\"shape\");Z.set(\"name\",Ge),t.shapeMap[Ge]=Z,D[Ge]=te!==\"image\"?Object(s.clone)(Z.attr()):i.getShapeStyleByName(de)}else Object.assign(D,Pe)}}i.set(\"originStyle\",D)}},o.prototype.restoreStates=function(t,e){var n=this,i=n.get(\"states\");Object(s.each)(i,function(d){t.setState(e,d,!0,n)})},o.prototype.init=function(){var t=z.getFactory(this.get(\"type\"));this.set(\"shapeFactory\",t)},o.prototype.get=function(t){return this._cfg[t]},o.prototype.set=function(t,e){Object(s.isPlainObject)(t)?this._cfg=Object(l.__assign)(Object(l.__assign)({},this._cfg),t):this._cfg[t]=e},o.prototype.getDefaultCfg=function(){return{}},o.prototype.clearCache=function(){this.set(\"bboxCache\",null),this.set(\"bboxCanvasCache\",null)},o.prototype.beforeDraw=function(){},o.prototype.afterDraw=function(){},o.prototype.afterUpdate=function(){},o.prototype.draw=function(){this.beforeDraw(),this.drawInner(),this.afterDraw()},o.prototype.getShapeStyleByName=function(t){var e,n=this.get(\"group\");if(e=t?n.shapeMap[t]:this.getKeyShape()){var i={};return Object(s.each)(e.attr(),function(d,g){(g!==\"img\"||Object(s.isString)(d))&&(i[g]=d)}),i}return{}},o.prototype.getShapeCfg=function(t,e){var n=this.get(\"styles\");if(n){var i=t;return i.style=Object(l.__assign)(Object(l.__assign)({},n),t.style),i}return t},o.prototype.getStateStyle=function(t){var e=this.get(\"styles\");return e&&e[t]},o.prototype.getOriginStyle=function(){return this.get(\"originStyle\")},o.prototype.getCurrentStatesStyle=function(){var t=this,e={},n=t.getStates();return n&&n.length?(Object(s.each)(t.getStates(),function(i){e=Object.assign(e,t.getStateStyle(i))}),e):this.get(\"originStyle\")},o.prototype.setState=function(t,e){var n=this.get(\"states\"),i=this.get(\"shapeFactory\"),d=t,g=t;Object(s.isString)(e)&&(d=\"\".concat(t,\":\").concat(e),g=\"\".concat(t,\":\"));var _=n;if(Object(s.isBoolean)(e)){var I=n.indexOf(g);if(e){if(I>-1)return;n.push(d)}else I>-1&&n.splice(I,1)}else if(Object(s.isString)(e)){var D=n.filter(function(Z){return Z.includes(g)});D.length>0&&this.clearStates(D),(_=_.filter(function(Z){return!Z.includes(g)})).push(d),this.set(\"states\",_)}if(i){var H=this.get(\"model\").type;i.setState(H,t,e,this)}},o.prototype.clearStates=function(t){var e=this,n=e.getStates(),i=e.get(\"shapeFactory\"),d=e.get(\"model\").type;t||(t=n),Object(s.isString)(t)&&(t=[t]);var g=n.filter(function(_){return t.indexOf(_)===-1});e.set(\"states\",g),t.forEach(function(_){i.setState(d,_,!1,e)})},o.prototype.setOptimize=function(t){this.optimize=t},o.prototype.getContainer=function(){return this.get(\"group\")},o.prototype.getKeyShape=function(){return this.get(\"keyShape\")},o.prototype.getModel=function(){return this.get(\"model\")},o.prototype.getType=function(){return this.get(\"type\")},o.prototype.getID=function(){return this.get(\"id\")},o.prototype.isItem=function(){return!0},o.prototype.getStates=function(){return this.get(\"states\")},o.prototype.hasState=function(t){return this.getStates().indexOf(t)>=0},o.prototype.refresh=function(t){var e=this.get(\"model\");this.updatePosition(e),this.updateShape(t),this.afterUpdate(),this.clearCache()},o.prototype.getUpdateType=function(t){},o.prototype.update=function(t,e){e===void 0&&(e=void 0);var n=this.get(\"model\");if(e===\"move\")this.updatePosition(t);else{var i=n.visible,d=t.visible;i!==d&&d!==void 0&&this.changeVisibility(d);var g={x:n.x,y:n.y};t.x=isNaN(+t.x)?n.x:+t.x,t.y=isNaN(+t.y)?n.y:+t.y;var _=this.get(\"styles\");if(t.stateStyles){var I=t.stateStyles;Object(s.mix)(_,I),delete t.stateStyles}Object.assign(n,t),g.x===t.x&&g.y===t.y||this.updatePosition(t),this.updateShape(e)}this.afterUpdate(),this.clearCache()},o.prototype.updateShape=function(t){var e=this.get(\"shapeFactory\"),n=this.get(\"model\"),i=n.type;if(e.shouldUpdate(i)&&i===this.get(\"currentShape\")){var d=this.getShapeCfg(n,t);e.baseUpdate(i,d,this,t),t!==\"move\"&&this.setOriginStyle()}else this.draw();this.restoreStates(e,i)},o.prototype.updatePosition=function(t){var e=this.get(\"model\"),n=isNaN(+t.x)?+e.x:+t.x,i=isNaN(+t.y)?+e.y:+t.y,d=this.get(\"group\");if(isNaN(n)||isNaN(i))return!1;e.x=n,e.y=i;var g=d.getMatrix();return(!g||g[6]!==n||g[7]!==i)&&(d.resetMatrix(),wi(d,{x:n,y:i}),this.clearCache(),!0)},o.prototype.getBBox=function(){var t=this.get(\"bboxCache\");return t||(t=this.calculateBBox(),this.set(\"bboxCache\",t)),t},o.prototype.getCanvasBBox=function(){var t=this.get(\"bboxCanvasCache\");return t||(t=this.calculateCanvasBBox(),this.set(\"bboxCanvasCache\",t)),t},o.prototype.toFront=function(){this.get(\"group\").toFront()},o.prototype.toBack=function(){this.get(\"group\").toBack()},o.prototype.show=function(){this.changeVisibility(!0)},o.prototype.hide=function(){this.changeVisibility(!1)},o.prototype.changeVisibility=function(t){var e=this.get(\"group\");t?e.show():e.hide(),this.set(\"visible\",t)},o.prototype.isVisible=function(){return this.get(\"visible\")},o.prototype.enableCapture=function(t){var e=this.get(\"group\");e&&e.set(\"capture\",t)},o.prototype.destroy=function(){if(!this.destroyed){var t=this.get(\"animate\"),e=this.get(\"group\");t&&e.stopAnimate(),e.shapeMap={},this.clearCache(),e.remove(),this._cfg=null,this.destroyed=!0}},o}(),F={source:\"start\",target:\"end\"},V=function(o){function t(){return o!==null&&o.apply(this,arguments)||this}return Object(l.__extends)(t,o),t.prototype.getDefaultCfg=function(){return{type:\"edge\",sourceNode:null,targetNode:null,startPoint:null,endPoint:null,linkCenter:!1}},t.prototype.setEnd=function(e,n){var i=F[e]+\"Point\",d=e+\"Node\",g=this.get(d);g&&!g.destroyed&&g.removeEdge(this),Object(s.isPlainObject)(n)?(this.set(i,n),this.set(d,null)):n&&(n.addEdge(this),this.set(d,n),this.set(i,null))},t.prototype.getLinkPoint=function(e,n,i){var d=F[e]+\"Point\",g=e+\"Node\",_=this.get(d);if(!_){var I=this.get(g),D=e+\"Anchor\",H=this.getPrePoint(e,i),Z=n[D];Object(s.isNil)(Z)||(_=I.getLinkPointByAnchor(Z)),_=_||I.getLinkPoint(H),Object(s.isNil)(_.index)||this.set(\"\".concat(e,\"AnchorIndex\"),_.index)}return _},t.prototype.getPrePoint=function(e,n){if(n&&n.length)return n[e===\"source\"?0:n.length-1];var i=e===\"source\"?\"target\":\"source\";return this.getEndPoint(i)},t.prototype.getEndPoint=function(e){var n=e+\"Node\",i=F[e]+\"Point\",d=this.get(n);return d&&!d.destroyed?d.get(\"model\"):this.get(i)},t.prototype.getControlPointsByCenter=function(e){var n=this.getEndPoint(\"source\"),i=this.getEndPoint(\"target\"),d=this.get(\"shapeFactory\"),g=e.type;return d.getControlPoints(g,{startPoint:n,endPoint:i})},t.prototype.getEndCenter=function(e){var n=e+\"Node\",i=F[e]+\"Point\",d=this.get(n);if(d){var g=d.getBBox();return{x:g.centerX,y:g.centerY}}return this.get(i)},t.prototype.init=function(){o.prototype.init.call(this),this.setSource(this.get(\"source\")),this.setTarget(this.get(\"target\"))},t.prototype.getShapeCfg=function(e,n){var i=this.get(\"linkCenter\"),d=n!=null&&n.includes(\"move\")?e:o.prototype.getShapeCfg.call(this,e);if(i)d.startPoint=this.getEndCenter(\"source\"),d.endPoint=this.getEndCenter(\"target\");else{var g=d.controlPoints||this.getControlPointsByCenter(d);d.startPoint=this.getLinkPoint(\"source\",e,g),d.endPoint=this.getLinkPoint(\"target\",e,g)}return d.sourceNode=this.get(\"sourceNode\"),d.targetNode=this.get(\"targetNode\"),d},t.prototype.getModel=function(){var e=this.get(\"model\"),n=this.get(\"source\".concat(\"Node\")),i=this.get(\"target\".concat(\"Node\"));return n?delete e[\"source\".concat(\"Node\")]:e.source=this.get(\"start\".concat(\"Point\")),i?delete e[\"target\".concat(\"Node\")]:e.target=this.get(\"end\".concat(\"Point\")),Object(s.isString)(e.source)||Object(s.isPlainObject)(e.source)||(e.source=e.source.getID()),Object(s.isString)(e.target)||Object(s.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,n){n===void 0&&(n=void 0);var i=this.get(\"model\"),d=i.visible,g=e.visible;d!==g&&g!==void 0&&this.changeVisibility(g);var _=this.get(\"source\"),I=this.get(\"target\");if(_&&!_.destroyed&&I&&!I.destroyed){var D=this.get(\"styles\");if(e.stateStyles){var H=e.stateStyles;Object(s.mix)(D,H),delete e.stateStyles}Object.assign(i,e),this.updateShape(n),this.afterUpdate(),this.clearCache()}},t.prototype.destroy=function(){var e=this.get(\"source\".concat(\"Node\")),n=this.get(\"target\".concat(\"Node\"));e&&!e.destroyed&&e.removeEdge(this),n&&!n.destroyed&&n.removeEdge(this),o.prototype.destroy.call(this)},t}(Q),U=function(o){function t(){return o!==null&&o.apply(this,arguments)||this}return Object(l.__extends)(t,o),t.prototype.getNearestPoint=function(e,n){for(var i=0,d=e[0],g=yo(e[0],n),_=0;_<e.length;_++){var I=e[_],D=yo(I,n);D<g&&(d=I,g=D,i=_)}return d.anchorIndex=i,d},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(n){return n.get(\"target\")===e})},t.prototype.getOutEdges=function(){var e=this;return this.get(\"edges\").filter(function(n){return n.get(\"source\")===e})},t.prototype.getNeighbors=function(e){var n=this,i=this.get(\"edges\");return e===\"target\"?i.filter(function(d){return d.getSource()===n}).map(function(d){return d.getTarget()}):e===\"source\"?i.filter(function(d){return d.getTarget()===n}).map(function(d){return d.getSource()}):i.map(function(d){return d.getSource()===n?d.getTarget():d.getSource()})},t.prototype.getLinkPointByAnchor=function(e){return this.getAnchorPoints()[e]},t.prototype.getLinkPoint=function(e){var n,i,d=this.get(\"keyShape\").get(\"type\"),g=this.get(\"type\"),_=this.getBBox();g===\"combo\"?(n=_.centerX||(_.maxX+_.minX)/2,i=_.centerY||(_.maxY+_.minY)/2):(n=_.centerX,i=_.centerY);var I,D=this.getAnchorPoints();switch(d){case\"circle\":I=cn({x:n,y:i,r:_.width/2},e);break;case\"ellipse\":I=er({x:n,y:i,rx:_.width/2,ry:_.height/2},e);break;default:I=xt(_,e)}var H=I;return D.length&&(H||(H=e),H=this.getNearestPoint(D,H)),H||(H={x:n,y:i}),H},t.prototype.getAnchorPoints=function(){var e=this.get(\"anchorPointsCache\");if(!e){e=[];var n=this.get(\"shapeFactory\"),i=this.getBBox(),d=this.get(\"model\"),g=this.getShapeCfg(d),_=d.type,I=n.getAnchorPoints(_,g)||[];Object(s.each)(I,function(D,H){var Z={x:i.minX+D[0]*i.width,y:i.minY+D[1]*i.height,anchorIndex:H};e.push(Z)}),this.set(\"anchorPointsCache\",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 n=this.getEdges(),i=n.indexOf(e);i>-1&&n.splice(i,1)},t.prototype.clearCache=function(){this.set(\"bboxCache\",null),this.set(\"anchorPointsCache\",null)},t.prototype.getUpdateType=function(e){var n,i,d,g,_;if(e){var I=!Object(s.isNil)(e.x),D=!Object(s.isNil)(e.y),H=Object.keys(e);return H.length===1&&(I||D)||H.length===2&&I&&D?\"move\":Object(s.isNumber)(e.x)||Object(s.isNumber)(e.y)||e.type||e.anchorPoints||e.size||e!=null&&e.style&&(!((n=e==null?void 0:e.style)===null||n===void 0)&&n.r||!((i=e==null?void 0:e.style)===null||i===void 0)&&i.width||!((d=e==null?void 0:e.style)===null||d===void 0)&&d.height||!((g=e==null?void 0:e.style)===null||g===void 0)&&g.rx||!((_=e==null?void 0:e.style)===null||_===void 0)&&_.ry)?\"bbox|label\":H.includes(\"label\")||H.includes(\"labelCfg\")?\"style|label\":\"style\"}},t.prototype.setState=function(e,n){var i=this;this.optimize?o.prototype.setState.call(this,e,n):this.runWithBBoxAffected(function(){return o.prototype.setState.call(i,e,n)})},t.prototype.clearStates=function(e){var n=this;this.optimize?o.prototype.clearStates.call(this,e):this.runWithBBoxAffected(function(){return o.prototype.clearStates.call(n,e)})},t.prototype.runWithBBoxAffected=function(e){var n=[\"r\",\"width\",\"height\",\"rx\",\"ry\",\"lineWidth\"],i=this.getKeyShape().attr(),d={};Object.keys(this.getKeyShape().attr()).forEach(function(D){n.includes(D)&&(d[D]=i[D])}),e();for(var g=this.getKeyShape().attr(),_=0;_<n.length;_++){var I=n[_];if(g[I]!==d[I]){this.clearCache(),this.getEdges().forEach(function(D){return D.refresh()});break}}},t}(Q),ge=function(o){function t(){return o!==null&&o.apply(this,arguments)||this}return Object(l.__extends)(t,o),t.prototype.getDefaultCfg=function(){return{type:\"combo\",nodes:[],edges:[],combos:[]}},t.prototype.getShapeCfg=function(e){var n=this.get(\"styles\"),i=this.get(\"bbox\");if(n&&i){var d=e,g=Object(s.isNumber)(e.size)?[e.size,e.size]:e.size,_=Object(s.isNumber)(e.fixSize)?[e.fixSize,e.fixSize]:e.fixSize,I=g||_||Ae.defaultCombo.size,D={r:(Math.max(i.width,i.height)||Math.max(I[0],I[1]))/2,width:i.width||I[0],height:i.height||I[1]};d.style=Object(l.__assign)(Object(l.__assign)(Object(l.__assign)({},n),e.style),D);var H=e.padding||Ae.defaultCombo.padding;return Object(s.isNumber)(H)?(D.r+=H,D.width+=2*H,D.height+=2*H):(D.r=D.r+Math.max.apply(Math,H),D.width+=H[1]+H[3]||2*H[1],D.height+=H[0]+H[2]||2*H[0]),this.set(\"sizeCache\",D),d}return e},t.prototype.calculateCanvasBBox=function(){if(!this.destroyed){var e=this.get(\"keyShape\"),n=this.get(\"group\"),i=wr(e,n);i.centerX=(i.minX+i.maxX)/2,i.centerY=(i.minY+i.maxY)/2;var d=this.get(\"bboxCache\")||{},g=d.x,_=d.x;return i.width=i.maxX-i.minX,i.height=i.maxY-i.minY,i.centerX=(i.minX+i.maxX)/2,i.centerY=(i.minY+i.maxY)/2,i.x=i.minX,i.y=i.minY,i.x===g&&i.y===_||this.set(\"anchorPointsCache\",null),i}},t.prototype.getChildren=function(){return{nodes:this.getNodes(),combos:this.getCombos()}},t.prototype.getNodes=function(){return this.get(\"nodes\")},t.prototype.getCombos=function(){return this.get(\"combos\")},t.prototype.addChild=function(e){switch(e.getType()){case\"node\":this.addNode(e);break;case\"combo\":this.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){return this.get(\"combos\").push(e),!0},t.prototype.addNode=function(e){return this.get(\"nodes\").push(e),!0},t.prototype.removeChild=function(e){switch(e.getType()){case\"node\":this.removeNode(e);break;case\"combo\":this.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 n=this.getCombos(),i=n.indexOf(e);return i>-1&&(n.splice(i,1),!0)}},t.prototype.removeNode=function(e){if(e){var n=this.getNodes(),i=n.indexOf(e);return i>-1&&(n.splice(i,1),!0)}},t.prototype.getUpdateType=function(e){},t.prototype.getBBox=function(){return this.set(\"bboxCanvasCache\",null),this.calculateCanvasBBox()},t.prototype.clearCache=function(){this.set(\"bboxCache\",null),this.set(\"bboxCanvasCache\",null),this.set(\"anchorPointsCache\",null)},t.prototype.destroy=function(){if(!this.destroyed){var e=this.get(\"animate\"),n=this.get(\"group\");e&&n.stopAnimate(),n.shapeMap={},this.clearCache(),this.set(\"sizeCache\",null),this.set(\"bbox\",null),n.remove(),this._cfg=null,this.destroyed=!0}},t}(U),ke=function(){function o(t){var e=this;this.edgeToBeUpdateMap={},this.throttleRefresh=Object(s.throttle)(function(n){var i=e.graph;if(i&&!i.get(\"destroyed\")){var d=e.edgeToBeUpdateMap;if(d){var g=Object.values(d);g.length&&(g.forEach(function(_){var I=_.edge;if(I&&!I.destroyed){var D=I.getSource(),H=I.getTarget();D&&!D.destroyed&&H&&!H.destroyed&&I.refresh(_.updateType)}}),e.edgeToBeUpdateMap={})}}},16,{trailing:!0,leading:!0}),this.graph=t,this.destroyed=!1}return o.prototype.addItem=function(t,e){var n=this.graph,i=t===\"vedge\"?\"edge\":t,d=n.get(\"\".concat(i,\"Group\"))||n.get(\"group\"),g=Object(s.upperFirst)(i),_=null,I=n.get(i+Object(s.upperFirst)(\"stateStyles\"))||{},D=n.get(\"default\"+g);e.stateStyles&&(I=e.stateStyles),D&&Object(s.each)(D,function(Nn,Tn){Object(s.isObject)(Nn)&&!Object(s.isArray)(Nn)?e[Tn]=Object(s.deepMix)({},Nn,e[Tn]):Object(s.isArray)(Nn)?e[Tn]=e[Tn]||Object(s.clone)(D[Tn]):e[Tn]=e[Tn]||D[Tn]});var H=n.get(i+\"Mapper\");if(H){var Z=H(e);Z.stateStyles&&(I=Z.stateStyles,delete Z.stateStyles),Object(s.each)(Z,function(Nn,Tn){Object(s.isObject)(Nn)&&!Object(s.isArray)(Nn)?e[Tn]=Object(s.deepMix)({},e[Tn],Nn):e[Tn]=Z[Tn]||e[Tn]})}if(n.emit(\"beforeadditem\",{type:t,model:e}),t===\"edge\"||t===\"vedge\"){var te=void 0,de=void 0;if(te=e.source,de=e.target,te&&Object(s.isString)(te)&&(te=n.findById(te)),de&&Object(s.isString)(de)&&(de=n.findById(de)),!te||!de)return void console.warn(\"The source or target node of edge \".concat(e.id,\" does not exist!\"));te.getType&&te.getType()===\"combo\"&&(e.isComboEdge=!0),de.getType&&de.getType()===\"combo\"&&(e.isComboEdge=!0),_=new V({model:e,source:te,target:de,styles:I,linkCenter:n.get(\"linkCenter\"),group:d.addGroup()})}else if(t===\"node\")_=new U({model:e,styles:I,group:d.addGroup()});else if(t===\"combo\"){var Pe=e.children,Ge=Si(Pe,n),Qe=void 0,Xe=void 0;if(isNaN(Ge.x)?isNaN(e.x)&&(Qe=100*Math.random()):Qe=Ge.x,isNaN(Ge.y)?isNaN(e.y)&&(Xe=100*Math.random()):Xe=Ge.y,isNaN(e.x)||isNaN(e.y))e.x=Qe,e.y=Xe;else{var yt=e.x-Qe,Ct=e.y-Xe;this.updateComboSucceeds(e.id,yt,Ct,Pe)}var on=d.addGroup();on.setZIndex(e.depth),_=new ge({model:e,styles:I,animate:n.get(\"animate\"),bbox:e.collapsed?Si([],n):Ge,group:on}),e.collapsed||_.getKeyShape().get(\"type\")!==\"circle\"||(Ge.width=Math.hypot(Ge.height,Ge.width),Ge.height=Ge.width,_.set(\"bbox\",Ge),_.refresh());var sn=_.getModel();(Pe||[]).forEach(function(Nn){var Tn=n.findById(Nn.id);_.addChild(Tn),Nn.depth=sn.depth+2})}if(_)return _.setOptimize(n.getNodes().length>n.get(\"optimizeThreshold\")),n.get(\"\".concat(t,\"s\")).push(_),n.get(\"itemMap\")[_.get(\"id\")]=_,n.emit(\"afteradditem\",{item:_,model:e}),_},o.prototype.updateItem=function(t,e){var n,i,d=this,g=this.graph;if(Object(s.isString)(t)&&(t=g.findById(t)),t&&!t.destroyed){var _=\"\";t.getType&&(_=t.getType());var I=g.get(_+\"Mapper\"),D=t.getModel(),H=D.x,Z=D.y,te=t.getUpdateType(e);if(I){var de=I(Object(s.deepMix)({},D,e)),Pe=Object(s.deepMix)({},D,de,e);de.stateStyles&&(t.set(\"styles\",Pe.stateStyles),delete Pe.stateStyles),Object(s.each)(Pe,function(Tn,Bn){e[Bn]=Tn})}else Object(s.each)(e,function(Tn,Bn){D[Bn]&&Object(s.isObject)(Tn)&&!Object(s.isArray)(Tn)&&(e[Bn]=Object(l.__assign)(Object(l.__assign)({},D[Bn]),e[Bn]))});if(g.emit(\"beforeupdateitem\",{item:t,cfg:e}),_===\"edge\"){if(e.source){var Ge=e.source;Object(s.isString)(Ge)&&(Ge=g.findById(Ge)),t.setSource(Ge)}if(e.target){var Qe=e.target;Object(s.isString)(Qe)&&(Qe=g.findById(Qe)),t.setTarget(Qe)}t.update(e)}else if(_===\"node\"){t.update(e,te);var Xe=t.getEdges();te===\"move\"?Object(s.each)(Xe,function(Tn){d.edgeToBeUpdateMap[Tn.getID()]={edge:Tn,updateType:te},d.throttleRefresh()}):te!=null&&te.includes(\"bbox\")&&Object(s.each)(Xe,function(Tn){Tn.refresh(te)})}else if(_===\"combo\"){if(t.update(e,te),!isNaN(e.x)||!isNaN(e.y)){var yt=e.x-H||0,Ct=e.y-Z||0;this.updateComboSucceeds(D.id,yt,Ct)}var on=t.getEdges();if((te!=null&&te.includes(\"bbox\")||te===\"move\")&&_===\"combo\"){var sn=t.get(\"shapeFactory\"),Nn=D.type||\"circle\";(D.animate===void 0||e.animate===void 0?!((i=(n=sn[Nn])===null||n===void 0?void 0:n.options)===null||i===void 0)&&i.animate:D.animate||e.animate)?setTimeout(function(){if(t&&!t.destroyed){var Tn=t.getKeyShape();Tn&&!Tn.destroyed&&Object(s.each)(on,function(Bn){Bn&&!Bn.destroyed&&Bn.refresh()})}},201):Object(s.each)(on,function(Tn){Tn.refresh()})}}t.setOptimize(g.getNodes().length>g.get(\"optimizeThreshold\")),g.emit(\"afterupdateitem\",{item:t,cfg:e})}},o.prototype.updateCombo=function(t,e,n){var i,d,g=this,_=this.graph;if(Object(s.isString)(t)&&(t=_.findById(t)),t&&!t.destroyed){var I=t.getModel(),D=Si(e,_,t),H=D.x,Z=D.y;t.set(\"bbox\",D);var te=H,de=Z;n?(te=isNaN(I.x)?H:I.x,de=isNaN(I.y)?Z:I.y):(te=isNaN(H)?I.x:H,de=isNaN(Z)?I.y:Z),t.update({x:te,y:de});var Pe=t.get(\"shapeFactory\"),Ge=I.type||\"circle\";(I.animate===void 0?!((d=(i=Pe[Ge])===null||i===void 0?void 0:i.options)===null||d===void 0)&&d.animate:I.animate)?setTimeout(function(){if(t&&!t.destroyed){var Qe=t.getKeyShape();Qe&&!Qe.destroyed&&(t.getShapeCfg(I),g.updateComboEdges(t))}},201):this.updateComboEdges(t)}},o.prototype.updateComboEdges=function(t){for(var e,n,i=t.getEdges()||[],d=0;d<i.length;d++){var g=i[d];g!=null&&g.destroyed||!((e=g==null?void 0:g.getSource())===null||e===void 0)&&e.destroyed||!((n=g==null?void 0:g.getTarget())===null||n===void 0)&&n.destroyed||g.refresh()}},o.prototype.collapseCombo=function(t,e){e===void 0&&(e=!0);var n=this.graph;Object(s.isString)(t)&&(t=n.findById(t));var i=t.getChildren();i.nodes.forEach(function(d){n.hideItem(d,e)}),i.combos.forEach(function(d){n.hideItem(d,e)})},o.prototype.updateComboSucceeds=function(t,e,n,i){var d=this;i===void 0&&(i=[]);var g=this.graph;if(e||n){var _=i;if(!(_!=null&&_.length)){var I=g.get(\"comboTrees\");I==null||I.forEach(function(D){Ir(D,function(H){return H.id!==t||(_=H.children,!1)})})}_==null||_.forEach(function(D){var H=g.findById(D.id);if(H){var Z=H.getModel();d.updateItem(D.id,{x:(Z.x||0)+e,y:(Z.y||0)+n})}})}},o.prototype.expandCombo=function(t,e){e===void 0&&(e=!0);var n=this.graph;Object(s.isString)(t)&&(t=n.findById(t));var i=t.getChildren(),d=new Set;i.nodes.forEach(function(g){n.showItem(g,e),g.getEdges().forEach(function(_){return d.add(_)})}),i.combos.forEach(function(g){g.getModel().collapsed?g.show():n.showItem(g,e),g.getEdges().forEach(function(_){return d.add(_)})}),d.forEach(function(g){return g.refresh()})},o.prototype.removeItem=function(t){var e=this,n=this.graph;if(Object(s.isString)(t)&&(t=n.findById(t)),t&&!t.destroyed){var i=Object(s.clone)(t.getModel()),d=\"\";t.getType&&(d=t.getType()),n.emit(\"beforeremoveitem\",{item:i,type:d});var g=n.get(\"\".concat(d,\"s\")),_=g.indexOf(t);if(_>-1&&g.splice(_,1),d===\"edge\"){var I=n.get(\"v\".concat(d,\"s\")),D=I.indexOf(t);D>-1&&I.splice(D,1)}var H=t.get(\"id\");delete n.get(\"itemMap\")[H];var Z=n.get(\"comboTrees\"),te=t.get(\"id\");if(d===\"node\"){var de=t.getModel().comboId;if(Z&&de){var Pe=Z,Ge=!1;Z.forEach(function(sn){Ge||Ir(sn,function(Nn){if(Nn.id===te&&Pe){var Tn=Pe.indexOf(Nn);return Pe.splice(Tn,1),Ge=!0,!1}return Pe=Nn.children,!0})})}for(var Qe=(on=t.getEdges()).length-1;Qe>=0;Qe--)n.removeItem(on[Qe],!1);de&&n.updateCombo(de)}else if(d===\"combo\"){var Xe,yt=t.getModel().parentId,Ct=!1;(Z||[]).forEach(function(sn){Ct||Ir(sn,function(Nn){return Nn.id!==te||(Xe=Nn,Ct=!0,!1)})}),Xe.removed=!0,Xe&&Xe.children&&Xe.children.forEach(function(sn){e.removeItem(sn.id)});var on;for(Qe=(on=t.getEdges()).length;Qe>=0;Qe--)n.removeItem(on[Qe],!1);yt&&n.updateCombo(yt)}t.destroy(),n.emit(\"afterremoveitem\",{item:i,type:d})}},o.prototype.setItemState=function(t,e,n){var i=this.graph,d=e;Object(s.isString)(n)&&(d=\"\".concat(e,\":\").concat(n)),t.hasState(d)===n&&n||Object(s.isString)(n)&&t.hasState(d)||(i.emit(\"beforeitemstatechange\",{item:t,state:d,enabled:n}),t.setState(e,n),i.autoPaint(),i.emit(\"afteritemstatechange\",{item:t,state:d,enabled:n}))},o.prototype.priorityState=function(t,e){var n=this.graph,i=t;Object(s.isString)(t)&&(i=n.findById(t)),this.setItemState(i,e,!1),this.setItemState(i,e,!0)},o.prototype.clearItemStates=function(t,e){var n=this.graph;Object(s.isString)(t)&&(t=n.findById(t)),n.emit(\"beforeitemstatesclear\",{item:t,states:e}),t.clearStates(e),n.emit(\"afteritemstatesclear\",{item:t,states:e})},o.prototype.refreshItem=function(t){var e=this.graph;Object(s.isString)(t)&&(t=e.findById(t)),e.emit(\"beforeitemrefresh\",{item:t}),t.refresh(),e.emit(\"afteritemrefresh\",{item:t})},o.prototype.addCombos=function(t,e){var n=this,i=this.graph;(t||[]).forEach(function(g){Jr(g,function(_){var I;return e.forEach(function(D){D.id===_.id&&(D.children=_.children,D.depth=_.depth,I=D)}),I&&n.addItem(\"combo\",I),!0})});var d=i.get(\"comboGroup\");d&&d.sort()},o.prototype.changeItemVisibility=function(t,e){var n=this,i=this.graph;if(Object(s.isString)(t)&&(t=i.findById(t)),t){if(i.emit(\"beforeitemvisibilitychange\",{item:t,visible:e}),t.changeVisibility(e),t.getType&&t.getType()===\"node\"){var d=t.getEdges();Object(s.each)(d,function(H){(!e||H.get(\"source\").isVisible()&&H.get(\"target\").isVisible())&&n.changeItemVisibility(H,e)})}else if(t.getType&&t.getType()===\"combo\"){var g=i.get(\"comboTrees\"),_=t.get(\"id\"),I=[],D=!1;(g||[]).forEach(function(H){D||H.children&&H.children.length!==0&&Ir(H,function(Z){return Z.id!==_||(I=Z.children,D=!0,!1)})}),I&&(!e||e&&!t.getModel().collapsed)&&I.forEach(function(H){var Z=i.findById(H.id);n.changeItemVisibility(Z,e)}),d=t.getEdges(),Object(s.each)(d,function(H){(!e||H.get(\"source\").isVisible()&&H.get(\"target\").isVisible())&&n.changeItemVisibility(H,e)})}return i.emit(\"afteritemvisibilitychange\",{item:t,visible:e}),t}console.warn(\"The item to be shown or hidden does not exist!\")},o.prototype.destroy=function(){this.graph=null,this.destroyed=!0},o}(),St=function(){function o(t){this.graph=t,this.destroyed=!1}return o.prototype.updateState=function(t,e,n){var i=this.graph.get(\"states\"),d=e;Object(s.isString)(n)&&(d=\"\".concat(e,\":\").concat(n)),i[d]||(i[d]=[]),n?i[d].push(t):i[d]=i[d].filter(function(g){return g!==t}),this.graph.set(\"states\",i),this.graph.emit(\"graphstatechange\",{states:i})},o.prototype.updateStates=function(t,e,n){var i=this.graph.get(\"states\");(Object(s.isString)(e)?[e]:e).forEach(function(d){var g=d;i[g]||(i[g]=[]),Object(s.isString)(n)&&(g=\"\".concat(d,\":\").concat(n)),n?i[g].push(t):i[g]=i[g].filter(function(_){return _!==t})}),this.graph.set(\"states\",i),this.graph.emit(\"graphstatechange\",{states:e})},o.prototype.destroy=function(){this.graph=null,this.destroyed=!0},o}(),Je=r(21),Ot=function(o,t){return o&&t?o.replace(/\\\\?\\{([^{}]+)\\}/g,function(e,n){if(e.charAt(0)===\"\\\\\")return e.slice(1);var i=t[n];return i===0&&(i=\"0\"),i||\"\"}):o},It=function(o){var t=[];if(o.length<2)throw new Error(\"point length must largn than 2, now it's \".concat(o.length));for(var e=0,n=o;e<n.length;e++){var i=n[e],d=i.x,g=i.y;t.push(d),t.push(g)}var _=Object(Je.a)(t);return _.unshift([\"M\",o[0].x,o[0].y]),_},jt=function(o,t,e,n){e===void 0&&(e=0),n===void 0&&(n=0);var i={x:(1-e)*o.x+e*t.x,y:(1-e)*o.y+e*t.y},d=[0,0];j.c.normalize(d,[t.x-o.x,t.y-o.y]),d&&(d[0]||d[1])||(d=[0,0]);var g=[-d[1]*n,d[0]*n];return i.x+=g[0],i.y+=g[1],i},Vt=function(o,t){var e=o.length;if(!e)return\"\";for(var n=\"\",i=0;i<e;i++){var d=o[i];n+=Ot(i===0?\"M{x} {y}\":\"L{x} {y}\",d)}return t&&(n+=\"Z\"),n},Pn=function(o){var t=[];return o.forEach(function(e){if(e[0]!==\"A\")for(var n=1;n<e.length;n+=2)t.push([e[n],e[n+1]]);else{var i=e.length;t.push([e[i-2],e[i-1]])}}),t},Jn=function(o){if(o.length<2)throw new Error(\"point length must largn than 2, now it's \".concat(o.length));var t=o[0],e=o[1],n=o[o.length-1],i=o[o.length-2];o.unshift(n),o.unshift(i),o.push(t),o.push(e);for(var d=[],g=1;g<o.length-2;g+=1){var _=o[g-1].x,I=o[g-1].y,D=o[g].x,H=o[g].y,Z=o[g+1].x,te=o[g+1].y,de=D+(Z-_)/6,Pe=H+(te-I)/6,Ge=Z-((g!==o.length-2?o[g+2].x:Z)-D)/6,Qe=te-((g!==o.length-2?o[g+2].y:te)-H)/6;d.push([\"C\",de,Pe,Ge,Qe,Z,te])}return d.unshift([\"M\",n.x,n.y]),d},vn=function(o,t){return j.c.scale([0,0],j.c.normalize([0,0],o),t)},Vn=function(o,t){var e=[o[1]-t[1],t[0]-o[0]],n=Math.sqrt(e[0]*e[0]+e[1]*e[1]);if(n===0)throw new Error(\"p0 should not be equal to p1\");return[e[0]/n,e[1]/n]},zt=function(o,t){return[t[0]-o[0],t[1]-o[1]]};function ir(o,t){if(!o||o.length<1)return\"\";if(o.length===1)return function(I){var D=[I[0][0],I[0][1]-t],H=[I[0][0],I[0][1]+t];return\"M \".concat(D,\" A \").concat(t,\",\").concat(t,\",0,0,0,\").concat(H,\" A \").concat(t,\",\").concat(t,\",0,0,0,\").concat(D)}(o);if(o.length===2)return function(I){var D=j.c.scale([0,0],Vn(I[0],I[1]),t),H=j.c.scale([0,0],D,-1),Z=j.c.add([0,0],I[0],D),te=j.c.add([0,0],I[1],D),de=j.c.add([0,0],I[1],H),Pe=j.c.add([0,0],I[0],H);return\"M \".concat(Z,\" L \").concat(te,\" A \").concat([t,t,\"0,0,0\",de].join(\",\"),\" L \").concat(Pe,\" A \").concat([t,t,\"0,0,0\",Z].join(\",\"))}(o);for(var e=new Array(o.length),n=0;n<e.length;++n){var i=n===0?o[o.length-1]:o[n-1],d=o[n],g=j.c.scale([0,0],Vn(i,d),t);e[n]=[j.c.add([0,0],i,g),j.c.add([0,0],d,g)]}var _=\"A \".concat([t,t,\"0,0,0,\"].join(\",\"));return(e=e.map(function(I,D){var H=\"\";return D===0&&(H=\"M \".concat(e[e.length-1][1],\" \")),H+=\"\".concat(_+I[0],\" L \").concat(I[1])})).join(\" \")}function nr(o,t){var e,n,i,d=o.length;if(!o||d<1)return\"\";if(d===1)return n=[(e=o)[0][0],e[0][1]-t],i=[e[0][0],e[0][1]+t],\"M \".concat(n,\" A \").concat([t,t,\"0,0,0\",i].join(\",\"),\" A \").concat([t,t,\"0,0,0\",n].join(\",\"));if(d===2)return function(H){var Z=zt(H[0],H[1]),te=vn(Z,t),de=j.c.add([0,0],H[0],j.c.scale([0,0],te,-1)),Pe=j.c.add([0,0],H[1],te),Ge=1.2*t,Qe=vn(j.c.normalize([0,0],Z),Ge),Xe=j.c.scale([0,0],Qe,-1),yt=j.c.add([0,0],de,Xe),Ct=j.c.add([0,0],Pe,Xe),on=j.c.add([0,0],de,Qe);return\"M \".concat(de,\" C \").concat([yt,Ct,Pe].join(\",\"),\" S \").concat([on,de].join(\",\"),\" Z\")}(o);for(var g=o.map(function(H,Z){var te=o[(Z+1)%d];return{p:H,v:j.c.normalize([0,0],zt(H,te))}}),_=0;_<g.length;++_){var I=_>0?_-1:d-1,D=j.c.normalize([0,0],j.c.add([0,0],g[I].v,j.c.scale([0,0],g[_].v,-1)));g[_].p=j.c.add([0,0],g[_].p,j.c.scale([0,0],D,t))}return g.map(function(H){var Z=H.p;return{x:Z[0],y:Z[1]}})}var ur=function(o,t){for(var e=[],n=0;n<5;n++){var i=Math.cos((18+72*n)/180*Math.PI)*o,d=Math.sin((18+72*n)/180*Math.PI)*o,g=Math.cos((54+72*n)/180*Math.PI)*t,_=Math.sin((54+72*n)/180*Math.PI)*t;n===0?e.push([\"M\",i,-d]):e.push([\"L\",i,-d]),e.push([\"L\",g,-_])}return e.push([\"Z\"]),e},sr=function(o,t,e){return(o.y-e.y)*(t.x-e.x)-(o.x-e.x)*(t.y-e.y)},Ln=function(o){var t=o.map(function(D){return{x:D.getModel().x,y:D.getModel().y}});t.sort(function(D,H){return D.x===H.x?D.y-H.y:D.x-H.x});for(var e={},n=t.length-1;n>=0;n--){var i=t[n],d=i.x,g=i.y;e[\"\".concat(d,\"-\").concat(g)]&&t.splice(n,1),e[\"\".concat(d,\"-\").concat(g)]=!0}if(t.length===1)return t;var _=[];for(n=0;n<t.length;n++){for(;_.length>=2&&sr(_[_.length-2],_[_.length-1],t[n])<=0;)_.pop();_.push(t[n])}var I=[];for(n=t.length-1;n>=0;n--){for(;I.length>=2&&sr(I[I.length-2],I[I.length-1],t[n])<=0;)I.pop();I.push(t[n])}return I.pop(),_.pop(),_.concat(I)},Bt={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 En(o,t,e){var n=!1,i=function(_,I){return t.cells[_+I*t.width]},d=function(_,I){var D=0;return i(_-1,I-1)>=e&&(D+=1),i(_,I-1)>e&&(D+=2),i(_-1,I)>e&&(D+=4),i(_,I)>e&&(D+=8),D},g=function(_,I){for(var D,H,Z=_,te=I,de=0;de<t.width*t.height;de++){if(D=Z,H=te,o.findIndex(function(Ge){return Ge.x===Z&&Ge.y===te})>-1){if(o[0].x===Z&&o[0].y===te)return!0}else o.push({x:Z,y:te});var Pe=d(Z,te);switch(Pe){case-1:return console.warn(\"Marched out of bounds\"),!0;case 0:case 3:case 2:case 7:Z++;break;case 12:case 14:case 4:Z--;break;case 6:D===0&&(H===-1?Z-=1:Z+=1);break;case 1:case 13:case 5:te--;break;case 9:D===1&&(H===0?te-=1:te+=1);break;case 10:case 8:case 11:te++;break;default:return console.warn(\"Marching squares invalid state: \".concat(Pe)),!0}}};this.march=function(){for(var _=0;_<t.width&&!n;_+=1)for(var I=0;I<t.height&&!n;I+=1)i(_,I)>e&&d(_,I)!==15&&(n=g(_,I));return n}}var _n=function(o,t){var e=Number.POSITIVE_INFINITY,n=null;return o.forEach(function(i){var d=qo(i,t);d>=0&&d<e&&(n=i,e=d)}),n};function cr(o,t,e,n,i){var d=function(g,_,I){var D=null,H=Number.POSITIVE_INFINITY;return _.forEach(function(Z){var te={x:g.getModel().x,y:g.getModel().y},de={x:Z.getModel().x,y:Z.getModel().y},Pe=pi(te,de),Ge=new Ro(te.x,te.y,de.x,de.y),Qe=I.reduce(function(Xe,yt){return qo(yt,Ge)>0?Xe+1:Xe},0);Pe*Math.pow(Qe+1,2)<H&&(D=Z,H=Pe*Math.pow(Qe+1,2))}),D}(o,e,t);return d===null?[]:function(g){for(var _=[];g.length>0;){var I=g.pop();if(g.length===0){_.push(I);break}var D=g.pop(),H=new Ro(I.x1,I.y1,D.x2,D.y2);_n(t,H)?(_.push(I),g.push(D)):g.push(H)}return _}(function(g,_,I,D){var H=[],Z=[];Z.push(g);for(var te=!0,de=0,Pe=function(Xe,yt){var Ct=!1;return yt.forEach(function(on){Ct||(si(Xe,{x:on.x1,y:on.y1})||si(Xe,{x:on.x2,y:on.y2}))&&(Ct=!0)}),Ct},Ge=function(Xe,yt){for(var Ct=0,on=yt;Ct<on.length;Ct++){var sn=on[Ct].getBBox(),Nn=[[sn.x,sn.y],[sn.x+sn.width,sn.y],[sn.x,sn.y+sn.height],[sn.x+sn.width,sn.y+sn.height]];if(Un(Nn,Xe.x,Xe.y))return!0}return!1};te&&de<I;){te=!1;for(var Qe=function(){var Xe=Z.pop(),yt=_n(_,Xe);if(yt){var Ct=Mo(yt,Xe),on=Ct[0];if(Ct[1]===2){var sn=function(Nn){for(var Tn=D,Bn=jo(yt,Tn,on,Nn),Hn=Pe(Bn,Z)||Pe(Bn,H),Sr=Ge(Bn,_);!Hn&&Sr&&Tn>=1;)Bn=jo(yt,Tn/=1.5,on,Nn),Hn=Pe(Bn,Z)||Pe(Bn,H),Sr=Ge(Bn,_);!Bn||Hn||Nn&&Sr||(Z.push(new Ro(Xe.x1,Xe.y1,Bn.x,Bn.y)),Z.push(new Ro(Bn.x,Bn.y,Xe.x2,Xe.y2)),te=!0)};sn(!0),te||sn(!1)}}te||H.push(Xe),de+=1};!te&&Z.length;)Qe()}for(;Z.length;)H.push(Z.pop());return H}(new Ro(o.getModel().x,o.getModel().y,d.getModel().x,d.getModel().y),t,n,i))}var ao=function(o,t,e){var n=Object.assign(Bt,e),i=ti(o.map(function(sn){return{x:sn.getModel().x,y:sn.getModel().y}}));o=o.sort(function(sn,Nn){return pi({x:sn.getModel().x,y:sn.getModel().y},i)-pi({x:Nn.getModel().x,y:Nn.getModel().y},i)});var d=[],g=[];o.forEach(function(sn){cr(sn,t,d,n.maxRoutingIterations,n.morphBuffer).forEach(function(Nn){g.push(Nn)}),d.push(sn)});for(var _,I,D,H,Z,te=function(sn,Nn,Tn){var Bn={minX:Number.POSITIVE_INFINITY,minY:Number.POSITIVE_INFINITY,maxX:Number.NEGATIVE_INFINITY,maxY:Number.NEGATIVE_INFINITY,width:0,height:0,x:0,y:0},Hn=[];sn.forEach(function(wo){Hn.push(wo.getBBox())}),Nn.forEach(function(wo){Hn.push(wo.getBBox())});for(var Sr=0,Cr=Hn;Sr<Cr.length;Sr++){var po=Cr[Sr];Bn.minX=(po.minX<Bn.minX?po.minX:Bn.minX)-Tn,Bn.minY=(po.minY<Bn.minY?po.minY:Bn.minY)-Tn,Bn.maxX=(po.maxX>Bn.maxX?po.maxX:Bn.maxX)+Tn,Bn.maxY=(po.maxY>Bn.maxY?po.maxY:Bn.maxY)+Tn}return Bn.width=Bn.maxX-Bn.minX,Bn.height=Bn.maxY-Bn.minY,Bn.x=Bn.minX,Bn.y=Bn.minY,Bn}(o,g,n.nodeR0),de=(_=te.width,I=te.height,D=n.pixelGroupSize,H=Math.ceil(_/D),Z=Math.ceil(I/D),{cells:new Float32Array(Math.max(0,H*Z)).fill(0),width:H,height:Z}),Pe=[],Ge=[],Qe=0;Qe<n.maxMarchingIterations;Qe++)if(kr(o,t,g,te,de,n),Ge=[],new En(Pe=[],de,n.threshold).march()){var Xe=Pe.map(function(sn){return{x:Math.round(sn.x*n.pixelGroupSize+te.minX),y:Math.round(sn.y*n.pixelGroupSize+te.minY)}});if(Xe){var yt=Xe.length;if(n.skip>1)for(yt=Math.floor(Xe.length/n.skip);yt<3&&n.skip>1;)n.skip-=1,yt=Math.floor(Xe.length/n.skip);for(var Ct=0,on=0;on<yt;on+=1,Ct+=n.skip)Ge.push({x:Xe[Ct].x,y:Xe[Ct].y})}if(Ge&&function(){for(var sn=0,Nn=o;sn<Nn.length;sn++){var Tn=Nn[sn],Bn=Ge.map(function(Hn){return[Hn.x,Hn.y]});if(!Un(Bn,Tn.getBBox().centerX,Tn.getBBox().centerY))return!1}return!0}())return Ge;if(n.threshold*=.9,Qe<=.5*n.maxMarchingIterations)n.memberInfluenceFactor*=1.2,n.edgeInfluenceFactor*=1.2;else{if(!(n.nonMemberInfluenceFactor!==0&&t.length>0))break;n.nonMemberInfluenceFactor*=.8}}return Ge};function kr(o,t,e,n,i,d){function g(te,de){var Pe=Math.floor((te-de)/d.pixelGroupSize);return Pe<0?0:Pe}function _(te,de){return te*d.pixelGroupSize+de}var I=(d.nodeR0-d.nodeR1)*(d.nodeR0-d.nodeR1),D=(d.edgeR0-d.edgeR1)*(d.edgeR0-d.edgeR1),H=function(te,de){return[Math.min(g(te.minX,de+n.minX),i.width),Math.min(g(te.minY,de+n.minY),i.height),Math.min(g(te.maxX,-de+n.minX),i.width),Math.min(g(te.maxY,-de+n.minY),i.height)]},Z=function(te,de){for(var Pe=te.getBBox(),Ge=H(Pe,d.nodeR1),Qe=Ge[0],Xe=Ge[1],yt=Ge[2],Ct=Ge[3],on=Xe;on<Ct;on+=1)for(var sn=Qe;sn<yt;sn+=1)if(!(de<0&&i[sn+on*i.width]<=0)){var Nn=_(sn,n.minX),Tn=_(on,n.minY),Bn=Oi({x:Nn,y:Tn},{x:Pe.minX,y:Pe.minY,width:Pe.width,height:Pe.height});if(Bn<Math.pow(d.nodeR1,2)){var Hn=Math.sqrt(Bn)-d.nodeR1;i.cells[sn+on*i.width]+=de*Hn*Hn}}};d.nodeInfluenceFactor&&o.forEach(function(te){Z(te,d.nodeInfluenceFactor/I)}),d.edgeInfluenceFactor&&e.forEach(function(te){(function(de,Pe){for(var Ge=de.getBBox(),Qe=H(Ge,d.edgeR1),Xe=Qe[0],yt=Qe[1],Ct=Qe[2],on=Qe[3],sn=yt;sn<on;sn+=1)for(var Nn=Xe;Nn<Ct;Nn+=1)if(!(Pe<0&&i.cells[Nn+sn*i.width]<=0)){var Tn=_(Nn,n.minX),Bn=_(sn,n.minY),Hn=ni({x:Tn,y:Bn},de);if(Hn<Math.pow(d.edgeR1,2)){var Sr=Math.sqrt(Hn)-d.edgeR1;i.cells[Nn+sn*i.width]+=Pe*Sr*Sr}}})(te,d.edgeInfluenceFactor/D)}),d.negativeNodeInfluenceFactor&&t.forEach(function(te){Z(te,d.negativeNodeInfluenceFactor/I)})}function jo(o,t,e,n){var i=o.getBBox(),d=e[0],g=e[1],_=e[2],I=e[3],D={topLeft:{x:i.minX-t,y:i.minY-t},topRight:{x:i.maxX+t,y:i.minY-t},bottomLeft:{x:i.minX-t,y:i.maxY+t},bottomRight:{x:i.maxX+t,y:i.maxY+t}},H=i.height*i.width;function Z(te,de){return i.width*(.5*(te.y-i.minY+(de.y-i.minY)))}if(g)return d?n?D.topLeft:D.bottomRight:_?n?D.bottomLeft:D.topRight:Z(g,I)<.5*H?g.y>I.y?n?D.topLeft:D.bottomRight:n?D.topRight:D.bottomLeft:g.y<I.y?n?D.bottomLeft:D.topRight:n?D.bottomRight:D.topLeft;if(I){if(d)return n?D.topRight:D.bottomLeft;if(_)return n?D.bottomRight:D.topLeft}return Z(d,_)<.5*H?d.x>_.x?n?D.topLeft:D.bottomRight:n?D.bottomLeft:D.topRight:d.x<_.x?n?D.topRight:D.bottomLeft:n?D.bottomRight:D.topLeft}var ui=function(){function o(t,e){this.cfg=Object(s.deepMix)(this.getDefaultCfg(),e),this.graph=t,this.id=this.cfg.id,this.group=this.cfg.group,this.members=this.cfg.members.map(function(n){return Object(s.isString)(n)?t.findById(n):n}),this.nonMembers=this.cfg.nonMembers.map(function(n){return Object(s.isString)(n)?t.findById(n):n}),this.setPadding(),this.setType(),this.path=this.calcPath(this.members,this.nonMembers),this.render()}return o.prototype.getDefaultCfg=function(){return{id:\"g6-hull\",type:\"round-convex\",members:[],nonMembers:[],style:{fill:\"lightblue\",stroke:\"blue\",opacity:.2},padding:10}},o.prototype.setPadding=function(){var t=this.members.length&&this.members[0].getKeyShape().getCanvasBBox().width/2;this.padding=this.cfg.padding>0?this.cfg.padding+t:10+t,this.cfg.bubbleCfg={nodeR0:this.padding-t,nodeR1:this.padding-t,morphBuffer:this.padding-t}},o.prototype.setType=function(){this.type=this.cfg.type,this.members.length<3&&(this.type=\"round-convex\"),this.type!==\"round-convex\"&&this.type!==\"smooth-convex\"&&this.type!==\"bubble\"&&(console.warn(\"The hull type should be either round-convex, smooth-convex or bubble, round-convex is used by default.\"),this.type=\"round-convex\")},o.prototype.calcPath=function(t,e){var n,i,d;switch(this.type){case\"round-convex\":d=ir((n=Ln(t)).map(function(g){return[g.x,g.y]}),this.padding),i=Object(Je.b)(d);break;case\"smooth-convex\":(n=Ln(t)).length===2?(d=ir(n.map(function(g){return[g.x,g.y]}),this.padding),i=Object(Je.b)(d)):n.length>2&&(d=nr(n.map(function(g){return[g.x,g.y]}),this.padding),i=Jn(d));break;case\"bubble\":i=(n=ao(t,e,this.cfg.bubbleCfg)).length>=2&&Jn(n)}return i},o.prototype.render=function(){this.group.addShape(\"path\",{attrs:Object(l.__assign)({path:this.path},this.cfg.style),id:this.id,name:this.cfg.id,capture:!1}),this.group.toBack()},o.prototype.addMember=function(t){if(t){Object(s.isString)(t)&&(t=this.graph.findById(t)),this.members.push(t);var e=this.nonMembers.indexOf(t);return e>-1&&this.nonMembers.splice(e,1),this.updateData(this.members,this.nonMembers),!0}},o.prototype.addNonMember=function(t){if(t){Object(s.isString)(t)&&(t=this.graph.findById(t)),this.nonMembers.push(t);var e=this.members.indexOf(t);return e>-1&&this.members.splice(e,1),this.updateData(this.members,this.nonMembers),!0}},o.prototype.removeMember=function(t){if(t){Object(s.isString)(t)&&(t=this.graph.findById(t));var e=this.members.indexOf(t);return e>-1&&(this.members.splice(e,1),this.updateData(this.members,this.nonMembers),!0)}},o.prototype.removeNonMember=function(t){if(t){Object(s.isString)(t)&&(t=this.graph.findById(t));var e=this.nonMembers.indexOf(t);return e>-1&&(this.nonMembers.splice(e,1),this.updateData(this.members,this.nonMembers),!0)}},o.prototype.updateData=function(t,e){var n=this;this.group.findById(this.id).remove(),t&&(this.members=t.map(function(i){return Object(s.isString)(i)?n.graph.findById(i):i})),e&&(this.nonMembers=e.map(function(i){return Object(s.isString)(i)?n.graph.findById(i):i})),this.path=this.calcPath(this.members,this.nonMembers),this.render()},o.prototype.updateStyle=function(t){this.group.findById(this.id).attr(Object(l.__assign)({},t))},o.prototype.updateCfg=function(t){var e=this;this.cfg=Object(s.deepMix)(this.cfg,t),this.id=this.cfg.id,this.group=this.cfg.group,t.members&&(this.members=this.cfg.members.map(function(n){return Object(s.isString)(n)?e.graph.findById(n):n})),t.nonMembers&&(this.nonMembers=this.cfg.nonMembers.map(function(n){return Object(s.isString)(n)?e.graph.findById(n):n})),this.setPadding(),this.setType(),this.path=this.calcPath(this.members,this.nonMembers),this.render()},o.prototype.contain=function(t){var e,n,i=this,d=(e=Object(s.isString)(t)?this.graph.findById(t):t).getKeyShape();if(e.get(\"type\")===\"path\")n=Pn(d.attr(\"path\"));else{var g=d.getCanvasBBox();n=[[g.minX,g.minY],[g.maxX,g.minY],[g.maxX,g.maxY],[g.minX,g.maxY]]}return n=n.map(function(_){var I=i.graph.getPointByCanvas(_[0],_[1]);return[I.x,I.y]}),Rr(n,Pn(this.path))},o.prototype.destroy=function(){this.group.remove(),this.cfg=null},o}(),Vr=j.a.transform,ho=function(o){function t(e){var n=o.call(this)||this;return n.sortCombos=Object(s.debounce)(function(){var i=n.get(\"comboSorted\");if(n&&!n.destroyed&&!i){n.set(\"comboSorted\",!0);var d=[],g={};(n.get(\"comboTrees\")||[]).forEach(function(_){Ir(_,function(I){return d[I.depth]?d[I.depth].push(I.id):d[I.depth]=[I.id],g[I.id]=I.depth,!0})}),(n.getEdges().concat(n.get(\"vedges\"))||[]).forEach(function(_){var I=_.getModel(),D=g[I.source]||0,H=g[I.target]||0,Z=Math.max(D,H);d[Z]?d[Z].push(I.id):d[Z]=[I.id]}),d.forEach(function(_){if(_&&_.length)for(var I=_.length-1;I>=0;I--){var D=n.findById(_[I]);D&&D.toFront()}})}},500,!1),n.cfg=Object(s.deepMix)(n.getDefaultCfg(),e),n.init(),n.animating=!1,n.destroyed=!1,n.cfg.enabledStack&&(n.undoStack=new xn(n.cfg.maxStep),n.redoStack=new xn(n.cfg.maxStep)),n}return Object(l.__extends)(t,o),t.prototype.init=function(){this.initCanvas();var e=new Pr(this),n=new ft(this),i=new ke(this),d=new St(this);this.set({viewController:e,modeController:n,itemController:i,stateController:d}),this.initLayoutController(),this.initEventController(),this.initGroups(),this.initPlugins()},t.prototype.initGroups=function(){var e=this.get(\"canvas\");if(e){var n=(e.get(\"el\")||{}).id,i=n===void 0?\"g6\":n,d=e.addGroup({id:\"\".concat(i,\"-root\"),className:Ae.rootContainerClassName});if(this.get(\"groupByTypes\")){var g=d.addGroup({id:\"\".concat(i,\"-edge\"),className:Ae.edgeContainerClassName}),_=d.addGroup({id:\"\".concat(i,\"-node\"),className:Ae.nodeContainerClassName}),I=d.addGroup({id:\"\".concat(i,\"-combo\"),className:Ae.comboContainerClassName});I.toBack(),this.set({nodeGroup:_,edgeGroup:g,comboGroup:I})}var D=d.addGroup({id:\"\".concat(i,\"-delegate\"),className:Ae.delegateContainerClassName});this.set({delegateGroup:D}),this.set(\"group\",d)}},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,n){return Object(s.isPlainObject)(e)?this.cfg=Object(l.__assign)(Object(l.__assign)({},this.cfg),e):this.cfg[e]=n,e!==\"enabledStack\"||!n||this.undoStack||this.redoStack||(this.undoStack=new xn(this.cfg.maxStep),this.redoStack=new xn(this.cfg.maxStep)),this},t.prototype.get=function(e){var n;return(n=this.cfg)===null||n===void 0?void 0:n[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,n){Object(s.isString)(e)&&(e=this.findById(e));var i=this.get(\"itemController\");n||(n=e.get(\"states\")),i.clearItemStates(e,n),this.get(\"stateController\").updateStates(e,n,!1)},t.prototype.node=function(e){typeof e==\"function\"&&this.set(\"nodeMapper\",e)},t.prototype.edge=function(e){typeof e==\"function\"&&this.set(\"edgeMapper\",e)},t.prototype.combo=function(e){typeof e==\"function\"&&this.set(\"comboMapper\",e)},t.prototype.findById=function(e){return this.get(\"itemMap\")[e]},t.prototype.find=function(e,n){var i,d=this.get(\"\".concat(e,\"s\"));return Object(s.each)(d,function(g,_){if(n(g,_))return i=g}),i},t.prototype.findAll=function(e,n){var i=[];return Object(s.each)(this.get(\"\".concat(e,\"s\")),function(d,g){n(d,g)&&i.push(d)}),i},t.prototype.findAllByState=function(e,n,i){return i?this.findAll(e,function(d){return d.hasState(n)&&i(d)}):this.findAll(e,function(d){return d.hasState(n)})},t.prototype.translate=function(e,n,i,d){var g=this,_=this.get(\"group\"),I=Object(s.clone)(_.getMatrix());if(I||(I=[1,0,0,0,1,0,0,0,1]),i){var D=mn({animateCfg:d,callback:function(){return g.emit(\"viewportchange\",{action:\"translate\",matrix:_.getMatrix()})}});mi(_,{x:_.getCanvasBBox().x+e,y:_.getCanvasBBox().y+n},i,D||{duration:500,easing:\"easeCubic\"})}else I=Vr(I,[[\"t\",e,n]]),_.setMatrix(I),this.emit(\"viewportchange\",{action:\"translate\",matrix:I}),this.autoPaint()},t.prototype.moveTo=function(e,n,i,d){var g=this.get(\"group\");mi(g,{x:e,y:n},i,d||{duration:500,easing:\"easeCubic\"}),this.emit(\"viewportchange\",{action:\"move\",matrix:g.getMatrix()})},t.prototype.fitView=function(e,n,i,d){e&&this.set(\"fitViewPadding\",e);var g=this.get(\"viewController\");n?g.fitViewByRules(n,i,d):g.fitView(i,d),this.autoPaint()},t.prototype.fitCenter=function(e,n){this.get(\"viewController\").fitCenter(e,n),this.autoPaint()},t.prototype.addBehaviors=function(e,n){return this.get(\"modeController\").manipulateBehaviors(e,n,!0),this},t.prototype.removeBehaviors=function(e,n){return this.get(\"modeController\").manipulateBehaviors(e,n,!1),this},t.prototype.updateBehavior=function(e,n,i){return this.get(\"modeController\").updateBehavior(e,n,i),this},t.prototype.zoom=function(e,n,i,d){var g=this,_=this.get(\"group\"),I=Object(s.clone)(_.getMatrix())||[1,0,0,0,1,0,0,0,1],D=this.get(\"minZoom\"),H=this.get(\"maxZoom\"),Z=this.getZoom()||1,te=Z*e,de=e,Pe=!1;if(D&&te<D?(de=D/Z,Pe=!0):H&&te>H&&(de=H/Z,Pe=!0),I=Vr(I,n?[[\"t\",-n.x,-n.y],[\"s\",de,de],[\"t\",n.x,n.y]]:[[\"s\",de,de]]),i){var Ge=Object(s.clone)(_.getMatrix());Ge||(Ge=[1,0,0,0,1,0,0,0,1]);var Qe=Ge[0],Xe=Qe*de,yt=mn({animateCfg:d,callback:function(){return g.emit(\"viewportchange\",{action:\"zoom\",matrix:_.getMatrix()})}});_.animate(function(Ct){if(Ct===1)Ge=I;else{var on=ca(Qe,Xe,Ct)/Ge[0];Ge=Vr(Ge,n?[[\"t\",-n.x,-n.y],[\"s\",on,on],[\"t\",n.x,n.y]]:[[\"s\",on,on]])}return{matrix:Ge}},yt)}else _.setMatrix(I),this.emit(\"viewportchange\",{action:\"zoom\",matrix:I}),this.autoPaint();return!Pe},t.prototype.zoomTo=function(e,n,i,d){var g=e/this.getZoom();return this.zoom(g,n,i,d)},t.prototype.focusItem=function(e,n,i){var d=this.get(\"viewController\"),g=!1;n?g=!0:n===void 0&&(g=this.get(\"animate\"));var _={};i?_=i:i===void 0&&(_=this.get(\"animateCfg\")),d.focus(e,g,_),this.autoPaint()},t.prototype.focusItems=function(e,n,i,d){this.get(\"viewController\").focusItems(e,n,i,d)},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,n){return this.get(\"viewController\").getPointByClient(e,n)},t.prototype.getClientByPoint=function(e,n){return this.get(\"viewController\").getClientByPoint(e,n)},t.prototype.getPointByCanvas=function(e,n){return this.get(\"viewController\").getPointByCanvas(e,n)},t.prototype.getCanvasByPoint=function(e,n){return this.get(\"viewController\").getCanvasByPoint(e,n)},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,n){n===void 0&&(n=!0);var i=this.get(\"itemController\").changeItemVisibility(e,!0);if(n&&this.get(\"enabledStack\")){var d=i.getID(),g={},_={};switch(i.getType()){case\"node\":g.nodes=[{id:d,visible:!1}],_.nodes=[{id:d,visible:!0}];break;case\"edge\":g.nodes=[{id:d,visible:!1}],_.edges=[{id:d,visible:!0}];break;case\"combo\":g.nodes=[{id:d,visible:!1}],_.combos=[{id:d,visible:!0}]}this.pushStack(\"visible\",{before:g,after:_})}},t.prototype.hideItem=function(e,n){n===void 0&&(n=!0);var i=this.get(\"itemController\").changeItemVisibility(e,!1);if(n&&this.get(\"enabledStack\")){var d=i.getID(),g={},_={};switch(i.getType()){case\"node\":g.nodes=[{id:d,visible:!0}],_.nodes=[{id:d,visible:!1}];break;case\"edge\":g.nodes=[{id:d,visible:!0}],_.edges=[{id:d,visible:!1}];break;case\"combo\":g.nodes=[{id:d,visible:!0}],_.combos=[{id:d,visible:!1}]}this.pushStack(\"visible\",{before:g,after:_})}},t.prototype.refreshItem=function(e){this.get(\"itemController\").refreshItem(e)},t.prototype.setAutoPaint=function(e){this.set(\"autoPaint\",e),this.get(\"canvas\").set(\"autoDraw\",e)},t.prototype.remove=function(e,n){n===void 0&&(n=!0),this.removeItem(e,n)},t.prototype.removeItem=function(e,n){n===void 0&&(n=!0);var i=e;if(Object(s.isString)(e)&&(i=this.findById(e)),!i&&Object(s.isString)(e))console.warn(\"The item \".concat(e,\" to be removed does not exist!\"));else if(i){var d=\"\";if(i.getType&&(d=i.getType()),n&&this.get(\"enabledStack\")){var g=Object(l.__assign)(Object(l.__assign)({},i.getModel()),{itemType:d}),_={};switch(d){case\"node\":_.nodes=[g],_.edges=[];for(var I=i.getEdges(),D=I.length-1;D>=0;D--)_.edges.push(Object(l.__assign)(Object(l.__assign)({},I[D].getModel()),{itemType:\"edge\"}));break;case\"edge\":_.edges=[g];break;case\"combo\":_.combos=[g]}this.pushStack(\"delete\",{before:_,after:{}})}if(d===\"node\"&&i.getModel().comboId&&this.updateComboTree(i,void 0,!1),this.get(\"itemController\").removeItem(i),d===\"combo\"){var H=ai(this.get(\"comboTrees\"));this.set(\"comboTrees\",H)}}},t.prototype.innerAddItem=function(e,n,i){if(!function(Pe,Ge){if(Pe===\"node\"||Pe===\"combo\"){if(Ge.id&&!Object(s.isString)(Ge.id))return console.warn(\"G6 Warning Tips: missing 'id' property, or the 'id' %c\".concat(Ge.id,\"%c is not a string.\"),\"font-size: 20px; color: red;\",\"\"),!1}else if(!(Pe!==\"edge\"||Ge.source&&Ge.target))return console.warn(\"G6 Warning Tips: missing 'source' or 'target' for the edge.\"),!1;return!0}(e,n))return!1;if(!n.id||!this.findById(n.id)){var d,g=this.get(\"comboTrees\")||[];if(e===\"combo\"){var _=this.get(\"itemMap\"),I=!1;if(g.forEach(function(Pe){I||Jr(Pe,function(Ge){if(n.parentId===Ge.id){I=!0;var Qe=Object(l.__assign)({id:n.id,depth:Ge.depth+2},n);Ge.children?Ge.children.push(Qe):Ge.children=[Qe],n.depth=Qe.depth,d=i.addItem(e,n)}var Xe=_[Ge.id];return I&&Xe&&Xe.getType&&Xe.getType()===\"combo\"&&i.updateCombo(Xe,Ge.children),!0})}),!I){var D=Object(l.__assign)({id:n.id,depth:0},n);n.depth=D.depth,g.push(D),d=i.addItem(e,n)}this.set(\"comboTrees\",g),n.collapsed&&(this.collapseCombo(d,!1),this.updateCombo(d))}else if(e===\"node\"&&Object(s.isString)(n.comboId)&&g){var H;(H=this.findById(n.comboId))&&H.getType&&H.getType()!==\"combo\"&&console.warn(\"'\".concat(n.comboId,\"' is not a id of a combo in the graph, the node will be added without combo.\")),d=i.addItem(e,n);var Z=this.get(\"itemMap\"),te=!1,de=!1;g.forEach(function(Pe){de||te||Jr(Pe,function(Ge){if(Ge.id===n.id)return de=!0,!1;if(n.comboId===Ge.id&&!de){te=!0;var Qe=Object(s.clone)(n);Qe.itemType=\"node\",Ge.children?Ge.children.push(Qe):Ge.children=[Qe],Qe.depth=Ge.depth+1}return te&&Z[Ge.id].getType&&Z[Ge.id].getType()===\"combo\"&&i.updateCombo(Z[Ge.id],Ge.children),!0})})}else d=i.addItem(e,n);return(e===\"node\"&&n.comboId||e===\"combo\"&&n.parentId)&&(H=this.findById(n.comboId||n.parentId))&&H.getType&&H.getType()===\"combo\"&&H.addChild(d),d}console.warn(\"This item exists already. Be sure the id %c\".concat(n.id,\"%c is unique.\"),\"font-size: 20px; color: red;\",\"\")},t.prototype.addItem=function(e,n,i,d){i===void 0&&(i=!0),d===void 0&&(d=!0);var g=this.get(\"comboSorted\");this.set(\"comboSorted\",g&&!d);var _=this.get(\"itemController\"),I=this.innerAddItem(e,n,_);if(I===!1||I===!0)return I;var D=this.get(\"combos\");if(D&&D.length>0&&this.sortCombos(),this.autoPaint(),i&&this.get(\"enabledStack\")){var H=Object(l.__assign)(Object(l.__assign)({},I.getModel()),{itemType:e}),Z={};switch(e){case\"node\":Z.nodes=[H];break;case\"edge\":Z.edges=[H];break;case\"combo\":Z.combos=[H]}this.pushStack(\"add\",{before:{},after:Z})}return I},t.prototype.addItems=function(e,n,i){e===void 0&&(e=[]),n===void 0&&(n=!0),i===void 0&&(i=!0);var d=this.get(\"comboSorted\");this.set(\"comboSorted\",d&&!i);for(var g=this.get(\"itemController\"),_=[],I=0;I<e.length;I++)(D=e[I]).type!==\"edge\"&&D.type!==\"vedge\"?_.push(this.innerAddItem(D.type,D.model,g)):_.push(void 0);for(I=0;I<e.length;I++){var D;(D=e[I]).type!==\"edge\"&&D.type!==\"vedge\"||(_[I]=this.innerAddItem(D.type,D.model,g))}if(i){var H=this.get(\"combos\");H&&H.length>0&&this.sortCombos()}if(this.autoPaint(),n&&this.get(\"enabledStack\")){var Z={nodes:[],edges:[],combos:[]};for(I=0;I<e.length;I++){var te=e[I].type,de=_[I];if(de&&de!==!0){var Pe=Object(l.__assign)(Object(l.__assign)({},de.getModel()),{itemType:te});switch(te){case\"node\":Z.nodes.push(Pe);break;case\"edge\":Z.edges.push(Pe);break;case\"combo\":Z.combos.push(Pe)}}}this.pushStack(\"addItems\",{before:{},after:Z})}return _},t.prototype.add=function(e,n,i,d){return i===void 0&&(i=!0),d===void 0&&(d=!0),this.addItem(e,n,i,d)},t.prototype.updateItem=function(e,n,i){var d=this;i===void 0&&(i=!0);var g,_=this.get(\"itemController\");g=Object(s.isString)(e)?this.findById(e):e;var I,D=i&&this.get(\"enabledStack\");D&&(I=Object(s.clone)(g.getModel()));var H=\"\";g.getType&&(H=g.getType());var Z=Object(l.__spreadArray)([],g.getStates(),!0);if(H===\"combo\"&&Object(s.each)(Z,function(Ge){return d.setItemState(g,Ge,!1)}),_.updateItem(g,n),H===\"combo\"&&Object(s.each)(Z,function(Ge){return d.setItemState(g,Ge,!0)}),D){var te={nodes:[],edges:[],combos:[]},de={nodes:[],edges:[],combos:[]},Pe=Object(l.__assign)({id:I.id},n);switch(H){case\"node\":te.nodes.push(I),de.nodes.push(Pe);break;case\"edge\":te.edges.push(I),de.edges.push(Pe);break;case\"combo\":te.combos.push(I),de.combos.push(Pe)}this.pushStack(\"update\",{before:te,after:de})}},t.prototype.update=function(e,n,i){i===void 0&&(i=!0),this.updateItem(e,n,i)},t.prototype.setItemState=function(e,n,i){Object(s.isString)(e)&&(e=this.findById(e)),this.get(\"itemController\").setItemState(e,n,i),this.get(\"stateController\").updateState(e,n,i)},t.prototype.priorityState=function(e,n){this.get(\"itemController\").priorityState(e,n)},t.prototype.data=function(e){fr(e),this.set(\"data\",e)},t.prototype.render=function(){var e=this;this.set(\"comboSorted\",!1);var n=this.get(\"data\");if(this.get(\"enabledStack\")&&this.clearStack(),!n)throw new Error(\"data must be defined first\");var i=n.nodes,d=i===void 0?[]:i,g=n.edges,_=g===void 0?[]:g,I=n.combos,D=I===void 0?[]:I;if(this.clear(!0),this.emit(\"beforerender\"),e.addItems(d.map(function(Pe){return{type:\"node\",model:Pe}}),!1,!1),(D==null?void 0:D.length)!==0){var H=Lo(D,d);this.set(\"comboTrees\",H),e.addCombos(D)}e.addItems(_.map(function(Pe){return{type:\"edge\",model:Pe}}),!1,!1);var Z=e.get(\"animate\");(e.get(\"fitView\")||e.get(\"fitCenter\"))&&e.set(\"animate\",!1);var te=e.get(\"layoutController\");if(te){if(te.layout(de),this.destroyed)return}else de();function de(){(e.get(\"comboTrees\")||[]).forEach(function(Pe){Jr(Pe,function(Ge){var Qe=e.findById(Ge.id);return Qe.getType()===\"combo\"&&Ge.collapsed&&(e.collapseCombo(Ge.id,!1),e.updateCombo(Qe)),!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\",Z),setTimeout(function(){var Pe;(Pe=e.getCombos())===null||Pe===void 0||Pe.forEach(function(Ge){Ge.set(\"animate\",!0)})},0)}this.get(\"groupByTypes\")||(D&&D.length!==0?this.sortCombos():n.nodes&&n.edges&&n.nodes.length<n.edges.length?this.getNodes().forEach(function(Pe){Pe.toFront()}):this.getEdges().forEach(function(Pe){Pe.toBack()}))},t.prototype.read=function(e){this.data(e),this.render()},t.prototype.diffItems=function(e,n,i){var d,g=this,_=this.get(\"itemMap\");Object(s.each)(i,function(I){if(d=_[I.id]){if(g.get(\"animate\")&&e===\"node\"){var D=d.getContainer().getMatrix();D||(D=[1,0,0,0,1,0,0,0,1]),d.set(\"originAttrs\",{x:D[6],y:D[7]})}g.updateItem(d,I,!1)}else d=g.addItem(e,I,!1);d&&n[\"\".concat(e,\"s\")].push(d)})},t.prototype.changeData=function(e,n){var i,d=this;n===void 0&&(n=!0);var g=this,_=e||g.get(\"data\");if(!fr(_))return this;this.emit(\"beforechangedata\"),n&&this.get(\"enabledStack\")&&this.pushStack(\"changedata\",{before:g.save(),after:_}),this.set(\"comboSorted\",!1),this.removeHulls(),this.getNodes().map(function(Xe){return g.clearItemStates(Xe)}),this.getEdges().map(function(Xe){return g.clearItemStates(Xe)});var I=this.get(\"canvas\"),D=I.get(\"localRefresh\");I.set(\"localRefresh\",!1),g.get(\"data\")||(g.data(_),g.render());var H=this.get(\"itemMap\"),Z={nodes:[],edges:[]},te=_.combos;if(te){var de=Lo(te,_.nodes);this.set(\"comboTrees\",de)}else this.set(\"comboTrees\",[]);this.diffItems(\"node\",Z,_.nodes),Object(s.each)(H,function(Xe,yt){H[yt].getModel().depth=0,Xe.getType&&Xe.getType()===\"edge\"||(Xe.getType&&Xe.getType()===\"combo\"?(delete H[yt],Xe.destroy()):Z.nodes.indexOf(Xe)<0&&(delete H[yt],g.remove(Xe,!1)))});for(var Pe=this.getCombos(),Ge=Pe.length-1;Ge>=0;Ge--)Pe[Ge].destroyed&&Pe.splice(Ge,1);te&&(g.addCombos(te),this.get(\"groupByTypes\")||this.sortCombos()),this.diffItems(\"edge\",Z,_.edges),Object(s.each)(H,function(Xe,yt){(!Xe.getType||Xe.getType()!==\"node\"&&Xe.getType()!==\"combo\")&&Z.edges.indexOf(Xe)<0&&(delete H[yt],g.remove(Xe,!1))}),(this.get(\"comboTrees\")||[]).forEach(function(Xe){Jr(Xe,function(yt){return d.findById(yt.id).getType()===\"combo\"&&yt.collapsed&&d.collapseCombo(yt.id,!1),!0})}),this.set({nodes:Z.nodes,edges:Z.edges});var Qe=this.get(\"layoutController\");return Qe&&(Qe.changeData(function(){setTimeout(function(){var Xe;(Xe=g.getCombos())===null||Xe===void 0||Xe.forEach(function(yt){yt.set(\"animate\",!0)})},0)}),g.get(\"animate\")&&!Qe.getLayoutType()?(g.positionsAnimate(),(i=g.getCombos())===null||i===void 0||i.forEach(function(Xe){return Xe.set(\"animate\",!0)})):g.autoPaint()),setTimeout(function(){I.set(\"localRefresh\",D)},16),this.set(\"data\",_),this.emit(\"afterchangedata\"),this},t.prototype.addCombos=function(e){var n=this.get(\"comboTrees\");this.get(\"itemController\").addCombos(n,e)},t.prototype.createCombo=function(e,n,i){var d=this;i===void 0&&(i=!0);var g=this.get(\"itemController\");this.set(\"comboSorted\",!1);var _,I=\"\";if(e){if(Object(s.isString)(e))I=e,_={id:e};else{if(!(I=e.id))return void console.warn(\"Create combo failed. Please assign a unique string id for the adding combo.\");_=e}var D=i&&this.get(\"enabledStack\"),H={nodes:[],combos:[]};D&&n.forEach(function(Xe){var yt=d.findById(Xe),Ct=yt.getType();if(Ct===\"node\"||Ct===\"combo\"){var on=yt.getModel();H[\"\".concat(Ct,\"s\")].push({id:Xe,parentId:Ct===\"node\"?on.comboId:on.parentId})}});var Z=this.get(\"comboTrees\"),te=new Set(n),de=new Map;Z&&(Z.forEach(function(Xe){Jr(Xe,function(yt,Ct,on){if(te.has(yt.id)){if(Ct){var sn=d.findById(Ct.id),Nn=d.findById(yt.id);Ct.children.splice(on,1),sn.removeChild(Nn),g.updateCombo(sn,Ct.children)}yt.itemType===\"combo\"&&de.set(yt.id,yt)}return!0})}),Z=Z.filter(function(Xe){return!te.has(Xe.id)}),this.set(\"comboTrees\",Z));var Pe={nodes:[],combos:[]},Ge=n.map(function(Xe){var yt=d.findById(Xe),Ct=yt.getModel(),on=\"\";yt.getType&&(on=yt.getType());var sn=de.get(Xe)||{id:yt.getID(),itemType:on};return on===\"combo\"?(sn.parentId=I,Ct.parentId=I):on===\"node\"&&(sn.comboId=I,Ct.comboId=I),D&&Pe[\"\".concat(on,\"s\")].push({id:Ct.id,parentId:I}),sn});_.children=Ge,this.addItem(\"combo\",_,!1),this.set(\"comboSorted\",!1),Z&&(Z.forEach(function(Xe){Ir(Xe,function(yt){return yt.id!==I||(yt.itemType=\"combo\",yt.children=Ge,!1)})}),this.sortCombos()),D&&(Pe.combos.push(_),this.pushStack(\"createCombo\",{before:H,after:Pe}));var Qe=this.findById(I);!Qe.getModel().parentId&&Qe.getChildren().combos.length&&this.updateComboTree(Qe,void 0,!1)}},t.prototype.uncombo=function(e,n){var i,d,g=this;n===void 0&&(n=!0);var _=e;if(Object(s.isString)(e)&&(_=this.findById(e)),!_||_.getType&&_.getType()!==\"combo\")console.warn(\"The item is not a combo!\");else{var I=_.getModel(),D=_.getModel().parentId,H=this.get(\"comboTrees\");H||(H=[]);var Z,te=this.get(\"itemMap\"),de=_.get(\"id\"),Pe=[],Ge=this.get(\"combos\"),Qe=this.findById(D),Xe=n&&this.get(\"enabledStack\"),yt={};if(Xe&&((yt=Object(s.clone)(I)).children=[]),H.forEach(function(Nn){Z||Jr(Nn,function(Tn){var Bn;if(Tn.id===de){Z=Tn,_.getEdges().map(function(Cr){return Cr.getID()}).forEach(function(Cr){g.removeItem(Cr,!1)});var Hn=Ge.indexOf(_);Ge.splice(Hn,1),delete te[de];var Sr=Object(s.clone)(_.getModel());_.destroy(),g.emit(\"afterremoveitem\",{item:Sr,type:\"combo\"})}return!D||!Z||Tn.id!==D||(Qe.removeCombo(_),(Hn=(Pe=Tn.children).indexOf(Z))!==-1&&Pe.splice(Hn,1),(Bn=Z.children)===null||Bn===void 0||Bn.forEach(function(Cr){var po=g.findById(Cr.id),wo=po.getModel();po.getType&&po.getType()===\"combo\"?(Cr.parentId=D,delete Cr.comboId,wo.parentId=D,delete wo.comboId):po.getType&&po.getType()===\"node\"&&(Cr.comboId=D,wo.comboId=D),Qe.addChild(po),Pe.push(Cr)}),g.updateCombo(Qe),!1)})}),!D&&Z){var Ct=H.indexOf(Z);H.splice(Ct,1),(i=Z.children)===null||i===void 0||i.forEach(function(Nn){Nn.parentId=void 0;var Tn=g.findById(Nn.id).getModel();delete Tn.parentId,delete Tn.comboId,Nn.itemType!==\"node\"&&H.push(Nn)})}if(Xe){var on={nodes:[],combos:[]},sn={nodes:[],combos:[]};(d=Z.children)===null||d===void 0||d.forEach(function(Nn){var Tn=g.findById(Nn.id).getType();Tn!==\"node\"&&Tn!==\"combo\"||(on[\"\".concat(Tn,\"s\")].push({id:Nn.id,parentId:de}),sn[\"\".concat(Tn,\"s\")].push({id:Nn.id,parentId:D}))}),on.combos.push(yt),this.pushStack(\"uncombo\",{before:on,after:sn})}}},t.prototype.updateCombos=function(e){var n=this;e===void 0&&(e=!1);var i=this.get(\"comboTrees\"),d=this.get(\"itemController\"),g=this.get(\"itemMap\");(i||[]).forEach(function(_){Jr(_,function(I){var D;if(!I)return!0;var H=g[I.id];if(((D=H==null?void 0:H.getType)===null||D===void 0?void 0:D.call(H))===\"combo\"){var Z=Object(l.__spreadArray)([],H.getStates(),!0);Object(s.each)(Z,function(te){return n.setItemState(H,te,!1)}),d.updateCombo(H,I.children,e),Object(s.each)(Z,function(te){return n.setItemState(H,te,!0)})}return!0})}),this.sortCombos()},t.prototype.updateCombo=function(e){var n,i=this,d=e;if(Object(s.isString)(e)&&(d=this.findById(e)),!d||d.getType&&d.getType()!==\"combo\")console.warn(\"The item to be updated is not a combo!\");else{n=d.get(\"id\");var g=this.get(\"comboTrees\"),_=this.get(\"itemController\"),I=this.get(\"itemMap\");(g||[]).forEach(function(D){Jr(D,function(H){if(!H)return!0;var Z=I[H.id];if(n===H.id&&Z&&Z.getType&&Z.getType()===\"combo\"){var te=Object(l.__spreadArray)([],Z.getStates(),!0);Object(s.each)(te,function(de){Z.getStateStyle(de)&&i.setItemState(Z,de,!1)}),_.updateCombo(Z,H.children),Object(s.each)(te,function(de){Z.getStateStyle(de)&&i.setItemState(Z,de,!0)}),n&&(n=H.parentId)}return!0})})}},t.prototype.updateComboTree=function(e,n,i){i===void 0&&(i=!0);var d;this.set(\"comboSorted\",!1);var g,_=(d=Object(s.isString)(e)?this.findById(e):e).getModel(),I=_.comboId||_.parentId,D=\"\";if(d.getType&&(D=d.getType()),n&&D===\"combo\"){var H,Z=this.get(\"comboTrees\"),te=!0;if((Z||[]).forEach(function(Xe){H||Ir(Xe,function(yt){if(!H)return yt.id===d.getID()&&(H=yt),!0})}),Ir(H,function(Xe){return Xe.id!==n||(te=!1,!1)}),!te)return void console.warn(\"Failed to update the combo tree! The parentId points to a descendant of the combo!\")}if(i&&this.get(\"enabledStack\")){var de={},Pe={};D===\"combo\"?(de.combos=[{id:_.id,parentId:_.parentId}],Pe.combos=[{id:_.id,parentId:n}]):D===\"node\"&&(de.nodes=[{id:_.id,parentId:_.comboId}],Pe.nodes=[{id:_.id,parentId:n}]),this.pushStack(\"updateComboTree\",{before:de,after:Pe})}if(_.parentId||_.comboId){var Ge=this.findById(_.parentId||_.comboId);Ge&&Ge.removeChild(d)}D===\"combo\"?_.parentId=n:D===\"node\"&&(_.comboId=n),n&&(g=this.findById(n))&&g.addChild(d),I&&(g=this.findById(I))&&g.removeChild(d);var Qe=ai(this.get(\"comboTrees\"),_.id,n);this.set(\"comboTrees\",Qe),this.updateCombos()},t.prototype.save=function(){var e=[],n=[],i=[];return Object(s.each)(this.get(\"nodes\"),function(d){e.push(d.getModel())}),Object(s.each)(this.get(\"edges\"),function(d){n.push(d.getModel())}),Object(s.each)(this.get(\"combos\"),function(d){i.push(d.getModel())}),{nodes:e,edges:n,combos:i}},t.prototype.changeSize=function(e,n){return this.get(\"viewController\").changeSize(e,n),this},t.prototype.refresh=function(){if(this.emit(\"beforegraphrefresh\"),this.get(\"animate\"))this.positionsAnimate();else{var e=this.get(\"nodes\"),n=this.get(\"edges\"),i=this.get(\"edges\");Object(s.each)(e,function(d){d.refresh()}),Object(s.each)(n,function(d){d.refresh()}),Object(s.each)(i,function(d){d.refresh()})}this.emit(\"aftergraphrefresh\"),this.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(s.isString)(e)&&(e=this.findById(e)),e&&(!e.getType||e.getType()===\"combo\"))return e.getChildren();console.warn(\"The combo does not exist!\")},t.prototype.positionsAnimate=function(e){var n=this;n.emit(\"beforeanimate\");var i=n.get(\"animateCfg\"),d=i.onFrame,g=e?n.getNodes().concat(n.getCombos()):n.getNodes(),_=g.map(function(D){var H=D.getModel();return{id:H.id,x:H.x,y:H.y}});n.stopAnimate();var I=n.get(\"canvas\");n.animating=!0,I.animate(function(D){Object(s.each)(_,function(H){var Z=n.findById(H.id);if(Z&&!Z.destroyed){var te=Z.get(\"originAttrs\"),de=Z.get(\"model\"),Pe=Z.getContainer().getMatrix();if(te==null&&(Pe&&(te={x:Pe[6],y:Pe[7]}),Z.set(\"originAttrs\",te||0)),d){var Ge=d(Z,D,H,te||{x:0,y:0});Z.set(\"model\",Object.assign(de,Ge))}else te?(de.x=te.x+(H.x-te.x)*D,de.y=te.y+(H.y-te.y)*D):(de.x=H.x,de.y=H.y)}}),n.refreshPositions(e)},{duration:i.duration,easing:i.easing,callback:function(){Object(s.each)(g,function(D){D.set(\"originAttrs\",null)}),i.callback&&i.callback(),n.emit(\"afteranimate\"),n.animating=!1}})},t.prototype.refreshPositions=function(e){this.emit(\"beforegraphrefreshposition\");var n,i=this.get(\"nodes\"),d=this.get(\"edges\"),g=this.get(\"vedges\"),_=this.get(\"combos\"),I={},D=function(H){Object(s.each)(H,function(Z){n=Z.getModel();var te=Z.get(\"originAttrs\");if(!te||n.x!==te.x||n.y!==te.y){var de=Z.updatePosition({x:n.x,y:n.y});I[n.id]=de,n.comboId&&(I[n.comboId]=I[n.comboId]||de),n.parentId&&(I[n.parentId]=I[n.parentId]||de)}})};D(_),D(i),_&&_.length!==0&&(e?(D(_),this.updateCombos()):this.updateCombos()),Object(s.each)(d,function(H){var Z=H.getSource().getModel(),te=H.getTarget();if(!Object(s.isPlainObject)(te)){var de=te.getModel();(I[Z.id]||I[de.id]||H.getModel().isComboEdge)&&H.refresh()}}),Object(s.each)(g,function(H){H.refresh()}),this.emit(\"aftergraphrefreshposition\"),this.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(){return this.get(\"modeController\").getMode()},t.prototype.setMode=function(e){return this.get(\"modeController\").setMode(e),this},t.prototype.clear=function(e){var n;return e===void 0&&(e=!1),(n=this.get(\"canvas\"))===null||n===void 0||n.clear(),this.initGroups(),this.set({itemMap:{},nodes:[],edges:[],vedges:[],groups:[],combos:[],comboTrees:[]}),e||this.emit(\"afterrender\"),this},t.prototype.updateLayout=function(e,n,i,d){var g=this;e===void 0&&(e={}),d===void 0&&(d=!0);var _=this.get(\"layoutController\");if(Object(s.isString)(e)&&(e={type:e}),n){var I=i;I||(I=n===\"begin\"?{x:0,y:0}:{x:this.getWidth()/2,y:this.getHeight()/2}),I=this.getPointByCanvas(I.x,I.y);var D=[\"force\",\"gForce\",\"fruchterman\",\"force2\"];D.includes(e.type)||!e.type&&D.includes(_==null?void 0:_.layoutType)?e.center=[I.x,I.y]:this.once(\"afterlayout\",function(te){var de=g.getGroup().getMatrix()||[1,0,0,0,1,0,0,0,1];I.x=I.x*de[0]+de[6],I.y=I.y*de[0]+de[7];var Pe=g.getGroup().getCanvasBBox(),Ge=Pe.minX,Qe=Pe.maxX,Xe=Pe.minY,yt={x:(Ge+Qe)/2,y:(Xe+Pe.maxY)/2};n===\"begin\"&&(yt.x=Ge,yt.y=Xe),g.translate(I.x-yt.x,I.y-yt.y)})}var H=Object(l.__assign)({},this.get(\"layout\")),Z={};Object.assign(Z,H,e),e.pipes&&!e.type?delete Z.type:!e.pipes&&Z.type&&delete Z.pipes,this.set(\"layout\",Z),_&&(_.isLayoutTypeSame(Z)&&Z.gpuEnabled===H.gpuEnabled?_.updateLayoutCfg(Z):_.changeLayout(Z),d&&this.get(\"enabledStack\")&&this.pushStack(\"layout\",{before:H,after:Z}))},t.prototype.destroyLayout=function(){var e=this.get(\"layoutController\");e==null||e.destroyLayout()},t.prototype.layout=function(){var e,n=this.get(\"layoutController\"),i=this.get(\"layout\");i&&n&&(i.workerEnabled?n.layout():!((e=n.layoutMethods)===null||e===void 0)&&e.length?n.relayout(!0):n.layout())},t.prototype.collapseCombo=function(e,n){var i=this;if(n===void 0&&(n=!0),!this.destroyed)if(Object(s.isString)(e)&&(e=this.findById(e)),e){this.emit(\"beforecollapseexpandcombo\",{action:\"expand\",item:e});var d=e.getModel();this.get(\"itemController\").collapseCombo(e,n),d.collapsed=!0;var g=this.getEdges().concat(this.get(\"vedges\")),_=[],I=this.get(\"comboTrees\"),D=!1;(I||[]).forEach(function(Z){D||Ir(Z,function(te){if(D&&te.depth<=d.depth)return!1;if(d.id===te.id&&(D=!0),D){var de=i.findById(te.id);de&&de.getType&&de.getType()===\"combo\"&&(_=(_=_.concat(de.getNodes())).concat(de.getCombos()))}return!0})});var H={};g.forEach(function(Z){var te=Z.getModel(),de=te.isVEdge,Pe=te.size,Ge=Pe===void 0?1:Pe;if(!Z.isVisible()||de){var Qe,Xe=Z.getSource(),yt=Z.getTarget(),Ct=null;if(Xe.getModel().id===d.id||_.includes(Xe)&&!_.includes(yt)?(Ct=yt,Qe=!1):(yt.getModel().id===d.id||!_.includes(Xe)&&_.includes(yt))&&(Ct=Xe,Qe=!0),Ct){if(de)return void i.removeItem(Z,!1);for(var on=Ct.getModel();!Ct.isVisible();){var sn=on.parentId,Nn=on.comboId,Tn=sn||Nn;if(!(Ct=i.findById(Tn))||!Tn)return;on=Ct.getModel()}var Bn=on.id,Hn=Qe?{source:Bn,target:d.id,size:Ge,isVEdge:!0}:{source:d.id,target:Bn,size:Ge,isVEdge:!0},Sr=\"\".concat(Hn.source,\"-\").concat(Hn.target);if(H[Sr])return void(H[Sr].size+=Ge);H[Sr]=Hn}}}),this.addItems(Object.values(H).map(function(Z){return{type:\"vedge\",model:Z}}),!1),this.emit(\"aftercollapseexpandcombo\",{action:\"collapse\",item:e})}else console.warn(\"The combo to be collapsed does not exist!\")},t.prototype.expandCombo=function(e,n){var i=this;if(n===void 0&&(n=!0),Object(s.isString)(e)&&(e=this.findById(e)),!e||e.getType&&e.getType()!==\"combo\")console.warn(\"The combo to be collapsed does not exist!\");else{this.emit(\"beforecollapseexpandcombo\",{action:\"expand\",item:e});var d=e.getModel();this.get(\"itemController\").expandCombo(e,n),d.collapsed=!1;var g=this.getEdges().concat(this.get(\"vedges\")),_=[],I=this.get(\"comboTrees\"),D=!1;(I||[]).forEach(function(Z){D||Ir(Z,function(te){if(D&&te.depth<=d.depth)return!1;if(d.id===te.id&&(D=!0),D){var de=i.findById(te.id);de&&de.getType&&de.getType()===\"combo\"&&(_=(_=_.concat(de.getNodes())).concat(de.getCombos()))}return!0})});var H={};g.forEach(function(Z){if(!Z.isVisible()||Z.getModel().isVEdge){var te,de=Z.getSource(),Pe=Z.getTarget(),Ge=de.get(\"id\"),Qe=Pe.get(\"id\"),Xe=null;if(Ge===d.id||_.includes(de)&&!_.includes(Pe)?(Xe=Pe,te=!1):Qe===d.id||!_.includes(de)&&_.includes(Pe)?(Xe=de,te=!0):_.includes(de)&&_.includes(Pe)&&de.isVisible()&&Pe.isVisible()&&Z.show(),Xe){var yt=Z.getModel(),Ct=yt.isVEdge,on=yt.size,sn=on===void 0?1:on;if(Ct)return void i.removeItem(Z,!1);for(var Nn=Xe.getModel();!Xe.isVisible();){var Tn=Nn.parentId,Bn=Nn.comboId,Hn=Tn||Bn;if(!(Xe=i.findById(Hn))||!Hn)return;Nn=Xe.getModel()}for(var Sr=Nn.id,Cr=te?Pe:de,po=Cr.getModel();!Cr.isVisible();){var wo=po.parentId,Po=po.comboId,Xo=wo||Po;if(!(Cr=i.findById(Xo))||!Xo)return;if(po.comboId===d.id||po.parentId===d.id)break;po=Cr.getModel()}var ri=po.id;if(Sr){var ki=te?{source:Sr,target:ri,isVEdge:!0,size:sn}:{source:ri,target:Sr,isVEdge:!0,size:sn},T=\"\".concat(ki.source,\"-\").concat(ki.target);if(H[T])return void(H[T].size+=sn);H[T]=ki}}}}),this.addItems(Object.values(H).map(function(Z){return{type:\"vedge\",model:Z}}),!1),this.emit(\"aftercollapseexpandcombo\",{action:\"expand\",item:e})}},t.prototype.collapseExpandCombo=function(e,n){if(n===void 0&&(n=!0),Object(s.isString)(e)&&(e=this.findById(e)),e&&(!e.getType||e.getType()===\"combo\")){for(var i=e.getModel(),d=this.findById(i.parentId);d;){var g=d.getModel();if(g.collapsed)return console.warn(\"Fail to expand the combo since it's ancestor combo is collapsed.\"),void(d=void 0);d=this.findById(g.parentId)}i.collapsed?this.expandCombo(e,n):this.collapseCombo(e,n),this.updateCombo(e)}},t.prototype.getNeighbors=function(e,n){var i=e;return Object(s.isString)(e)&&(i=this.findById(e)),i.getNeighbors(n)},t.prototype.getNodeDegree=function(e,n,i){n===void 0&&(n=void 0),i===void 0&&(i=!1);var d=e;Object(s.isString)(e)&&(d=this.findById(e));var g=this.get(\"degrees\");g&&!i||(g=ce(this.save()),this.set(\"degrees\",g));var _=g[d.getID()],I=0;if(!_)return 0;switch(n){case\"in\":I=_.inDegree;break;case\"out\":I=_.outDegree;break;case\"all\":I=_;break;default:I=_.degree}return I},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(),this.emit(\"stackchange\",{undoStack:this.undoStack,redoStack:this.redoStack}))},t.prototype.pushStack=function(e,n,i){if(e===void 0&&(e=\"update\"),i===void 0&&(i=\"undo\"),this.get(\"enabledStack\")){var d=n?Object(s.clone)(n):{before:{},after:Object(s.clone)(this.save())};i===\"redo\"?this.redoStack.push({action:e,data:d}):this.undoStack.push({action:e,data:d}),this.emit(\"stackchange\",{action:e,stackType:i,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,n){e===void 0&&(e=!0),n===void 0&&(n=this.get(\"directed\"));var i=this.get(\"adjMatrix\");return i&&e||(i=L(this.save(),n),this.set(\"adjMatrix\",i)),i},t.prototype.getShortestPathMatrix=function(e,n){e===void 0&&(e=!0),n===void 0&&(n=this.get(\"directed\"));var i=this.get(\"adjMatrix\"),d=this.get(\"shortestPathMatrix\");return i&&e||(i=L(this.save(),n),this.set(\"adjMatrix\",i)),d&&e||(d=be(this.save(),n),this.set(\"shortestPathMatrix\",d)),d},t.prototype.on=function(e,n,i){return o.prototype.on.call(this,e,n,i)},t.prototype.destroy=function(){var e,n,i,d,g;this.clear(),this.clearStack(),(e=this.get(\"itemController\"))===null||e===void 0||e.destroy(),(n=this.get(\"modeController\"))===null||n===void 0||n.destroy(),(i=this.get(\"viewController\"))===null||i===void 0||i.destroy(),(d=this.get(\"stateController\"))===null||d===void 0||d.destroy(),(g=this.get(\"canvas\"))===null||g===void 0||g.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 n=this.get(\"hullGroup\"),i=this.get(\"hullMap\");if(i||(i={},this.set(\"hullMap\",i)),n&&!n.get(\"destroyed\")||((n=this.get(\"group\").addGroup({id:\"hullGroup\"})).toBack(),this.set(\"hullGroup\",n)),i[e.id])return console.warn(\"Existed hull id.\"),i[e.id];var d=n.addGroup({id:\"\".concat(e.id,\"-container\")}),g=new ui(this,Object(l.__assign)(Object(l.__assign)({},e),{group:d}));return i[g.id]=g,g}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 n,i;i=Object(s.isString)(e)?this.getHullById(e):e,(n=this.get(\"hullMap\"))===null||n===void 0||delete n[i.id],i.destroy()},t.prototype.removeHulls=function(){var e=this.getHulls();e&&Object.keys(e).length&&(Object.keys(e).forEach(function(n){e[n].destroy()}),this.set(\"hullMap\",{}))},t}(E.a);function vo(o){return(vo=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(t){return typeof t}:function(t){return t&&typeof Symbol==\"function\"&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t})(o)}var uo=j.a.transform,Go=[\"startArrow\",\"endArrow\"],Pi={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},la={edge:{lineWidth:1,stroke:\"#000\",lineDash:void 0,startArrow:!1,endArrow:!1,opacity:void 0,strokeOpacity:void 0,fillOpacity:void 0,shadowColor:void 0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0},node:Pi,combo:Pi},Vi={options:{labelCfg:{style:{fontFamily:Ae.windowFontFamily}},descriptionCfg:{style:{fontFamily:Ae.windowFontFamily}}},itemType:\"\",type:\"\",getCustomConfig:function(o){return{}},getOptions:function(o,t){return t===\"move\"||t!=null&&t.includes(\"bbox\")?o:Object(s.deepMix)({},this.options,this.getCustomConfig(o)||{},o)},draw:function(o,t){t.shapeMap={},this.mergeStyle=this.getOptions(o);var e=this.drawShape(o,t);if(e.set(\"className\",this.itemType+\"-shape\"),t.shapeMap[this.itemType+\"-shape\"]=e,o.label){var n=this.drawLabel(o,t);n.set(\"className\",this.itemType+\"-label\"),t.shapeMap[this.itemType+\"-label\"]=n}return e},afterDraw:function(o,t,e){},drawShape:function(o,t){return null},drawLabel:function(o,t){var e=(this.mergeStyle||this.getOptions(o)||{}).labelCfg||{},n=this.getLabelStyle(o,e,t),i=n.rotate;delete n.rotate;var d=t.addShape(\"text\",{attrs:n,draggable:!0,className:\"text-shape\",name:\"text-shape\",labelRelated:!0});if(t.shapeMap[\"text-shape\"]=d,!isNaN(i)&&i!==\"\"){var g=d.getBBox(),_=[1,0,0,0,1,0,0,0,1];if(n.rotateCenter)switch(n.rotateCenter){case\"center\":_=uo(_,[[\"t\",-g.width/2,-g.height/2],[\"r\",i],[\"t\",g.width/2,g.height/2]]);break;case\"lefttop\":_=uo(_,[[\"t\",-n.x,-n.y],[\"r\",i],[\"t\",n.x,n.y]]);break;case\"leftcenter\":_=uo(_,[[\"t\",-n.x,-n.y-g.height/2],[\"r\",i],[\"t\",n.x,n.y+g.height/2]]);break;default:_=uo(_,[[\"t\",-g.width/2,-g.height/2],[\"r\",i],[\"t\",g.width/2,g.height/2]])}else _=uo(_,[[\"t\",-n.x,-n.y-g.height/2],[\"r\",i],[\"t\",n.x,n.y+g.height/2]]);d.setMatrix(_)}if(n.background){var I=this.drawLabelBg(o,t,d),D=this.itemType+\"-label-bg\";I.set(\"classname\",D),t.shapeMap[D]=I,d.toFront()}return d},drawLabelBg:function(o,t,e){var n=this.options.labelCfg,i=Object(s.mix)({},n,o.labelCfg),d=this.getLabelBgStyleByPosition(e,i),g=t.addShape(\"rect\",{name:\"text-bg-shape\",attrs:d,labelRelated:!0});return t.shapeMap[\"text-bg-shape\"]=g,g},getLabelStyleByPosition:function(o,t,e){return{text:o.label}},getLabelBgStyleByPosition:function(o,t){return{}},getLabelStyle:function(o,t,e){var n=this.getLabelStyleByPosition(o,t,e),i=\"\".concat(this.itemType,\"Label\"),d=Ae[i]?Ae[i].style:null;return Object(l.__assign)(Object(l.__assign)(Object(l.__assign)({},d),n),t.style)},getShapeStyle:function(o){return o.style},update:function(o,t,e){this.updateShapeStyle(o,t,e),this.updateLabel(o,t,e)},updateShapeStyle:function(o,t,e){var n,i=t.getContainer(),d=t.getKeyShape(),g=Object(s.mix)({},d.attr(),o.style),_=function(D){var H,Z=g[D];if(Object(s.isPlainObject)(Z)){var te=((n=i.shapeMap)===null||n===void 0?void 0:n[D])||i.find(function(de){return de.get(\"name\")===D});te==null||te.attr(Z)}else d.attr(((H={})[D]=Z,H))};for(var I in g)_(I)},updateLabel:function(o,t,e){var n,i;if(o.label||o.label===\"\"){var d=t.getContainer(),g=(this.mergeStyle||this.getOptions({},e)||{}).labelCfg,_=g===void 0?{}:g,I=this.itemType+\"-label\",D=d.shapeMap[I]||d.find(function(Ct){return Ct.get(\"className\")===I}),H=this.itemType+\"-label-bg\",Z=d.shapeMap[H]||d.find(function(Ct){return Ct.get(\"className\")===H});if(D){(!e||e===\"bbox|label\"||this.itemType===\"edge\"&&e!==\"style\")&&(_=Object(s.deepMix)(_,o.labelCfg));var te=this.getLabelStyleByPosition(o,_,d),de=(n=o.labelCfg)===null||n===void 0?void 0:n.style,Pe=Object(l.__assign)(Object(l.__assign)({},te),de),Ge=Pe.rotate;if(delete Pe.rotate,isNaN(Ge)||Ge===\"\")((i=D.getMatrix())===null||i===void 0?void 0:i[4])!==1&&D.resetMatrix(),D.attr(Pe);else{var Qe=[1,0,0,0,1,0,0,0,1];Qe=uo(Qe,[[\"t\",-Pe.x,-Pe.y],[\"r\",Ge],[\"t\",Pe.x,Pe.y]]),Pe.matrix=Qe,D.attr(Pe)}if(Z)if(Pe.background){var Xe=this.getLabelBgStyleByPosition(D,_);Z.attr(Xe)}else d.removeChild(Z);else Pe.background&&((Z=this.drawLabelBg(o,d,D)).set(\"classname\",H),d.shapeMap[H]=Z,D.toFront())}else{var yt=this.drawLabel(o,d);yt.set(\"className\",I),d.shapeMap[I]=yt}}},afterUpdate:function(o,t){},setState:function(o,t,e){var n,i,d,g=e.get(\"keyShape\");if(g&&!g.destroyed){var _=e.getType(),I=Object(s.isBoolean)(t)?o:\"\".concat(o,\":\").concat(t),D=this.getStateStyle(I,e),H=e.getStateStyle(I);if(H||D){var Z=Object(s.mix)({},H||D),te=e.getContainer(),de={x:1,y:1,cx:1,cy:1,matrix:1};if(_===\"combo\"&&(de.r=1,de.width=1,de.height=1),t){var Pe=function(Po){var Xo,ri=Z[Po];if(Object(s.isPlainObject)(ri)&&!Go.includes(Po)){var ki=((d=te.shapeMap)===null||d===void 0?void 0:d[Po])||te.find(function(T){return T.get(\"name\")===Po});ki==null||ki.attr(ri)}else g.attr(((Xo={})[Po]=ri,Xo))};for(var Ge in Z)Pe(Ge)}else{var Qe=ln(e.getCurrentStatesStyle()),Xe=e.getModel(),yt=Object(s.mix)({},Xe.style,ln(e.getOriginStyle())),Ct=g.get(\"name\"),on=g.attr(),sn={};Object.keys(on).forEach(function(Po){if(Po!==\"img\"){var Xo=on[Po];Xo&&vo(Xo)===\"object\"?sn[Po]=Object(s.clone)(Xo):sn[Po]=Xo}});var Nn={},Tn=function(Po){var Xo=Z[Po];if(Object(s.isPlainObject)(Xo)&&!Go.includes(Po)){var ri=te.shapeMap[Po]||te.find(function(B){return B.get(\"name\")===Po});if(ri){var ki=ln(ri.attr());Object(s.each)(Xo,function(B,K){if(Po===Ct&&sn[K]&&!de[K]){delete sn[K];var Se=yt[Po][K]||la[_][K];g.attr(K,Se)}else if(ki[K]||ki[K]===0){delete ki[K];var He=yt[Po][K]||la[_][K];ri.attr(K,He)}}),Nn[Po]=ki}}else if(sn[Po]&&!de[Po]){delete sn[Po];var T=yt[Po]||(yt[Ct]?yt[Ct][Po]:void 0)||la[_][Po];g.attr(Po,T)}};for(var Bn in Z)Tn(Bn);for(var Ge in Ct?Nn[Ct]=sn:Object(s.mix)(Nn,sn),Qe)if(!de[Ge]){var Hn=Qe[Ge];Object(s.isPlainObject)(Hn)&&!Go.includes(Ge)||(Ct?(Object(s.mix)(yt[Ct],((i={})[Ge]=Hn,i)),delete yt[Ge]):Object(s.mix)(yt,((n={})[Ge]=Hn,n)),delete Qe[Ge])}var Sr={};Object(s.deepMix)(Sr,yt,Nn,Qe);var Cr=!1,po=function(Po){var Xo,ri,ki=Sr[Po];if(Object(s.isPlainObject)(ki)&&!Go.includes(Po)){var T=te.shapeMap[Po]||te.find(function(K){return K.get(\"name\")===Po});T&&((T.get(\"type\")===\"text\"||T.get(\"labelRelated\"))&&(delete ki.x,delete ki.y,delete ki.matrix),Po===Ct&&(_===\"combo\"&&(delete ki.r,delete ki.width,delete ki.height),Cr=!0),T.attr(ki))}else if(!Cr){var B=ki||la[_][Po];_===\"combo\"?Ct||g.attr(((Xo={})[Po]=B,Xo)):g.attr(((ri={})[Po]=B,ri))}};for(var wo in Sr)po(wo)}}}},getStateStyle:function(o,t){var e=t.getModel(),n=t.getType(),i=this.getOptions(e),d=i.stateStyles,g=i.style,_=g===void 0?{}:g,I=e.stateStyles?e.stateStyles[o]:d&&d[o];return n===\"combo\"?Object(s.clone)(I):Object(s.mix)({},_,I)},getControlPoints:function(o){return o.controlPoints},getAnchorPoints:function(o){var t,e;return(o==null?void 0:o.anchorPoints)||((t=this.getCustomConfig(o))===null||t===void 0?void 0:t.anchorPoints)||((e=this.options)===null||e===void 0?void 0:e.anchorPoints)}},ha={itemType:\"node\",shapeType:\"single-node\",labelPosition:\"center\",offset:Ae.nodeLabel.offset,getSize:function(o){var t,e=((t=this.mergeStyle)===null||t===void 0?void 0:t.size)||o.size||this.getOptions({}).size||Ae.defaultNode.size;return Object(s.isArray)(e)&&e.length===1&&(e=[e[0],e[0]]),Object(s.isArray)(e)||(e=[e,e]),e},getLabelStyleByPosition:function(o,t){var e=t.maxLength,n=o.label;e&&(n=ii(n,e));var i=t.position||this.labelPosition;if(i===\"center\")return{x:0,y:0,text:n,textBaseline:\"middle\",textAlign:\"center\"};var d=t.offset;Object(s.isNil)(d)&&(d=this.offset);var g,_=this.getSize(o);switch(i){case\"top\":g={x:0,y:-_[1]/2-d,textBaseline:\"bottom\",textAlign:\"center\"};break;case\"bottom\":g={x:0,y:_[1]/2+d,textBaseline:\"top\",textAlign:\"center\"};break;case\"left\":g={x:-_[0]/2-d,y:0,textBaseline:\"middle\",textAlign:\"right\"};break;default:g={x:_[0]/2+d,y:0,textBaseline:\"middle\",textAlign:\"left\"}}return g.text=n,g},getLabelBgStyleByPosition:function(o,t){var e;if(!o)return{};var n=(e=t.style)===null||e===void 0?void 0:e.background;if(!n)return{};var i=o.getBBox(),d=An(n.padding),g=i.width+d[1]+d[3],_=i.height+d[0]+d[2];return Object(l.__assign)(Object(l.__assign)({x:i.minX-d[3],y:i.minY-d[0]},n),{width:g,height:_})},drawShape:function(o,t){var e=this.shapeType,n=this.getShapeStyle(o),i=t.addShape(e,{attrs:n,draggable:!0,name:\"node-shape\"});return t.shapeMap[\"node-shape\"]=i,i},updateLinkPoints:function(o,t){var e,n=(this.mergeStyle||this.getOptions(o)).linkPoints,i=t.shapeMap[\"link-point-left\"]||t.find(function(Sr){return Sr.get(\"className\")===\"link-point-left\"}),d=t.shapeMap[\"link-point-right\"]||t.find(function(Sr){return Sr.get(\"className\")===\"link-point-right\"}),g=t.shapeMap[\"link-point-top\"]||t.find(function(Sr){return Sr.get(\"className\")===\"link-point-top\"}),_=t.shapeMap[\"link-point-bottom\"]||t.find(function(Sr){return Sr.get(\"className\")===\"link-point-bottom\"});i&&(e=i.attr()),d&&!e&&(e=d.attr()),g&&!e&&(e=g.attr()),_&&!e&&(e=_.attr()),e||(e=n);var I=Object(s.mix)({},e,o.linkPoints),D=I.fill,H=I.stroke,Z=I.lineWidth,te=I.size/2;te||(te=I.r);var de=o.linkPoints?o.linkPoints:{left:void 0,right:void 0,top:void 0,bottom:void 0},Pe=de.left,Ge=de.right,Qe=de.top,Xe=de.bottom,yt=this.getSize(o),Ct=yt[0],on=yt[1],sn={r:te,fill:D,stroke:H,lineWidth:Z};if(i)Pe||Pe===void 0?i.attr(Object(l.__assign)(Object(l.__assign)({},sn),{x:-Ct/2,y:0})):(i.remove(),delete t.shapeMap[\"link-point-left\"]);else if(Pe){var Nn=\"link-point-left\";t.shapeMap[Nn]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},sn),{x:-Ct/2,y:0}),className:Nn,name:Nn,isAnchorPoint:!0})}if(d)Ge||Ge===void 0||(d.remove(),delete t.shapeMap[\"link-point-right\"]),d.attr(Object(l.__assign)(Object(l.__assign)({},sn),{x:Ct/2,y:0}));else if(Ge){var Tn=\"link-point-right\";t.shapeMap[Tn]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},sn),{x:Ct/2,y:0}),className:Tn,name:Tn,isAnchorPoint:!0})}if(g)Qe||Qe===void 0||(g.remove(),delete t.shapeMap[\"link-point-top\"]),g.attr(Object(l.__assign)(Object(l.__assign)({},sn),{x:0,y:-on/2}));else if(Qe){var Bn=\"link-point-top\";t.shapeMap[Bn]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},sn),{x:0,y:-on/2}),className:Bn,name:Bn,isAnchorPoint:!0})}if(_)Xe||Xe===void 0?_.attr(Object(l.__assign)(Object(l.__assign)({},sn),{x:0,y:on/2})):(_.remove(),delete t.shapeMap[\"link-point-bottom\"]);else if(Xe){var Hn=\"link-point-bottom\";t.shapeMap[Hn]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},sn),{x:0,y:on/2}),className:Hn,name:Hn,isAnchorPoint:!0})}},updateShape:function(o,t,e,n,i){t.get(\"keyShape\").attr(Object(l.__assign)({},e)),this.updateLabel(o,t,i),n&&this.updateIcon(o,t)},updateIcon:function(o,t){var e=this,n=t.getContainer(),i=(this.mergeStyle||this.getOptions(o)).icon,d=o.icon?o.icon:{show:void 0,text:void 0},g=d.show,_=d.text,I=n.shapeMap[\"\".concat(this.type,\"-icon\")]||n.find(function(Qe){return Qe.get(\"name\")===\"\".concat(e.type,\"-icon\")});if(I)if(g||g===void 0){var D=Object(s.mix)({},I.attr(),i),H=D.width,Z=H===void 0?20:H,te=D.height,de=te===void 0?20:te;(D.fontFamily===\"iconfont\"||D.hasOwnProperty(\"text\"))&&(Z=0,de=0),I.attr(Object(l.__assign)(Object(l.__assign)({},D),{x:-Z/2,y:-de/2}))}else I.remove(),delete n.shapeMap[\"\".concat(this.type,\"-icon\")];else if(g){var Pe=\"\".concat(this.type,\"-icon\");_?n.shapeMap[Pe]=n.addShape(\"text\",{attrs:Object(l.__assign)({x:0,y:0,fontSize:12,fill:\"#000\",stroke:\"#000\",textBaseline:\"middle\",textAlign:\"center\"},i),className:Pe,name:Pe}):(Z=i.width,de=i.height,n.shapeMap[Pe]=n.addShape(\"image\",{attrs:Object(l.__assign)(Object(l.__assign)({},i),{x:-Z/2,y:-de/2}),className:Pe,name:Pe}));var Ge=n.shapeMap[\"node-label\"]||n.find(function(Qe){return Qe.get(\"name\")===\"node-label\"});Ge&&Ge.toFront()}}},xa=Object(l.__assign)(Object(l.__assign)({},Vi),ha);z.registerNode(\"single-node\",xa);var qi={itemType:\"edge\",labelPosition:\"center\",refX:0,refY:0,labelAutoRotate:!1,options:{size:Ae.defaultEdge.size,style:{x:0,y:0,stroke:Ae.defaultEdge.style.stroke,lineAppendWidth:Ae.defaultEdge.style.lineAppendWidth},labelCfg:{style:{fill:Ae.edgeLabel.style.fill,fontSize:Ae.edgeLabel.style.fontSize,fontFamily:Ae.windowFontFamily}},stateStyles:Object(l.__assign)({},Ae.edgeStateStyles)},getPath:function(o){var t=[];return Object(s.each)(o,function(e,n){n===0?t.push([\"M\",e.x,e.y]):t.push([\"L\",e.x,e.y])}),t},getShapeStyle:function(o){var t=this.options.style,e={stroke:o.color},n=Object(s.mix)({},t,e,o.style),i=o.size||Ae.defaultEdge.size,d=(o=this.getPathPoints(o)).startPoint,g=o.endPoint,_=this.getControlPoints(o),I=[d];_&&(I=I.concat(_)),I.push(g);var D=this.getPath(I);return Object(s.mix)({},Ae.defaultEdge.style,{stroke:Ae.defaultEdge.color,lineWidth:i,path:D},n)},updateShapeStyle:function(o,t,e){var n,i=t.getContainer(),d=((n=t.getKeyShape)===null||n===void 0?void 0:n.call(t))||i.shapeMap[\"edge-shape\"],g=o.size,_=(o=this.getPathPoints(o)).startPoint,I=o.endPoint,D=this.getControlPoints(o),H=[_];D&&(H=H.concat(D)),H.push(I);var Z=d.attr(),te=o.style||{};te.stroke===void 0&&(te.stroke=o.color);var de=o.sourceNode,Pe=o.targetNode,Ge={radius:te.radius};D||(Ge={source:de,target:Pe,offset:te.offset,radius:te.radius});var Qe=this.getPath(H,Ge),Xe={};e===\"move\"?Xe={path:Qe}:(Z.endArrow&&te.endArrow===!1&&(o.style.endArrow={path:\"\"}),Z.startArrow&&te.startArrow===!1&&(o.style.startArrow={path:\"\"}),(Xe=Object(l.__assign)({},o.style)).lineWidth===void 0&&(Xe.lineWdith=(Object(s.isNumber)(g)?g:g==null?void 0:g[0])||Z.lineWidth),Xe.path===void 0&&(Xe.path=Qe),Xe.stroke===void 0&&(Xe.stroke=Z.stroke||o.color)),d&&d.attr(Xe)},getLabelStyleByPosition:function(o,t,e){var n,i=t.position||this.labelPosition,d={},g=e==null?void 0:e.shapeMap[\"edge-shape\"];n=i===\"start\"?0:i===\"end\"?1:.5;var _,I=t.refX||this.refX,D=t.refY||this.refY;if(o.startPoint.x===o.endPoint.x&&o.startPoint.y===o.endPoint.y)return d.x=o.startPoint.x+I,d.y=o.startPoint.y+D,d.text=o.label,d;_=Object(s.isNil)(t.autoRotate)?this.labelAutoRotate:t.autoRotate;var H=go(g,n,I,D,_);return d.x=H.x,d.y=H.y,d.rotate=H.rotate,d.textAlign=this._getTextAlign(i,H.angle),d.text=o.label,d},getLabelBgStyleByPosition:function(o,t){if(!o)return{};var e=o.getBBox(),n=t.style&&t.style.background;if(!n)return{};var i=n.padding,d=e.width+i[1]+i[3],g=e.height+i[0]+i[2],_=Object(l.__assign)(Object(l.__assign)({},n),{width:d,height:g,x:e.minX-i[3],y:e.minY-i[0],matrix:[1,0,0,0,1,0,0,0,1]});return(Object(s.isNil)(t.autoRotate)?this.labelAutoRotate:t.autoRotate)&&(_.matrix=o.attr(\"matrix\")||[1,0,0,0,1,0,0,0,1]),_},_getTextAlign:function(o,t){var e=\"center\";return t?(t%=2*Math.PI,o!==\"center\"&&(e=t>=0&&t<=Math.PI/2||t>=1.5*Math.PI&&t<2*Math.PI?o:function(n){var i=n;return n===\"start\"?i=\"end\":n===\"end\"&&(i=\"start\"),i}(o)),e):o},getControlPoints:function(o){return o.controlPoints},getPathPoints:function(o){return o},drawShape:function(o,t){var e=this.getShapeStyle(o),n=t.addShape(\"path\",{className:\"edge-shape\",name:\"edge-shape\",attrs:e});return t.shapeMap[\"edge-shape\"]=n,n},drawLabel:function(o,t){var e=this.options.labelCfg,n=Object(s.deepMix)({},e,o.labelCfg),i=this.getLabelStyle(o,n,t),d=i.rotate;delete i.rotate;var g=t.addShape(\"text\",{attrs:i,name:\"text-shape\",labelRelated:!0});if(t.shapeMap[\"text-shape\"]=g,isNaN(d)||d===\"\"||g.rotateAtStart(d),i.background){var _=this.drawLabelBg(o,t,g,i,d),I=this.itemType+\"-label-bg\";_.set(\"classname\",I),t.shapeMap[I]=_,g.toFront()}return g},drawLabelBg:function(o,t,e,n,i){var d=this.options.labelCfg,g=Object(s.deepMix)({},d,o.labelCfg),_=this.getLabelBgStyleByPosition(e,g),I=t.addShape(\"rect\",{name:\"text-bg-shape\",attrs:_,labelRelated:!0});return t.shapeMap[\"text-bg-shape\"]=I,I}},Jo=Object(l.__assign)(Object(l.__assign)({},Vi),qi);z.registerEdge(\"single-edge\",Jo),z.registerEdge(\"line\",{getControlPoints:function(){}},\"single-edge\"),z.registerEdge(\"spline\",{getPath:function(o){return It(o)}},\"single-edge\"),z.registerEdge(\"arc\",{curveOffset:20,clockwise:1,getControlPoints:function(o){var t,e,n=o.startPoint,i=o.endPoint,d=(n.x+i.x)/2,g=(n.y+i.y)/2;if(o.controlPoints!==void 0){if(e=o.controlPoints[0],t=jr(n,e,i),n.x<=i.x&&n.y>i.y?this.clockwise=t.x>e.x?0:1:n.x<=i.x&&n.y<i.y?this.clockwise=t.x>e.x?1:0:n.x>i.x&&n.y<=i.y?this.clockwise=t.y<e.y?0:1:this.clockwise=t.y<e.y?1:0,(e.x-n.x)/(e.y-n.y)==(i.x-n.x)/(i.y-n.y))return[]}else{o.curveOffset===void 0&&(o.curveOffset=this.curveOffset),Object(s.isArray)(o.curveOffset)&&(o.curveOffset=o.curveOffset[0]),o.curveOffset<0?this.clockwise=0:this.clockwise=1;var _={x:i.x-n.x,y:i.y-n.y},I=Math.atan2(_.y,_.x);e={x:o.curveOffset*Math.cos(-Math.PI/2+I)+d,y:o.curveOffset*Math.sin(-Math.PI/2+I)+g},t=jr(n,e,i)}var D=yo(n,t);return[{x:D,y:D}]},getPath:function(o){var t=[];return t.push([\"M\",o[0].x,o[0].y]),o.length===2?t.push([\"L\",o[1].x,o[1].y]):t.push([\"A\",o[1].x,o[1].y,0,0,this.clockwise,o[2].x,o[2].y]),t}},\"single-edge\"),z.registerEdge(\"quadratic\",{curvePosition:.5,curveOffset:-20,getControlPoints:function(o){var t=o.controlPoints;if(!t||!t.length){var e=o.startPoint,n=o.endPoint;o.curveOffset===void 0&&(o.curveOffset=this.curveOffset),o.curvePosition===void 0&&(o.curvePosition=this.curvePosition),Object(s.isArray)(this.curveOffset)&&(o.curveOffset=o.curveOffset[0]),Object(s.isArray)(this.curvePosition)&&(o.curvePosition=o.curveOffset[0]),t=[jt(e,n,o.curvePosition,o.curveOffset)]}return t},getPath:function(o){var t=[];return t.push([\"M\",o[0].x,o[0].y]),t.push([\"Q\",o[1].x,o[1].y,o[2].x,o[2].y]),t}},\"single-edge\"),z.registerEdge(\"cubic\",{curvePosition:[.5,.5],curveOffset:[-20,20],getControlPoints:function(o){var t=o.controlPoints;if(o.curveOffset===void 0&&(o.curveOffset=this.curveOffset),o.curvePosition===void 0&&(o.curvePosition=this.curvePosition),Object(s.isNumber)(o.curveOffset)&&(o.curveOffset=[o.curveOffset,-o.curveOffset]),Object(s.isNumber)(o.curvePosition)&&(o.curvePosition=[o.curvePosition,1-o.curvePosition]),!t||!t.length||t.length<2){var e=o.startPoint,n=o.endPoint;t=[jt(e,n,o.curvePosition[0],o.curveOffset[0]),jt(e,n,o.curvePosition[1],o.curveOffset[1])]}return t},getPath:function(o){var t=[];return t.push([\"M\",o[0].x,o[0].y]),t.push([\"C\",o[1].x,o[1].y,o[2].x,o[2].y,o[3].x,o[3].y]),t}},\"single-edge\"),z.registerEdge(\"cubic-vertical\",{curvePosition:[.5,.5],minCurveOffset:[0,0],curveOffset:void 0,getControlPoints:function(o){var t=o.startPoint,e=o.endPoint;o.curvePosition===void 0&&(o.curvePosition=this.curvePosition),o.curveOffset===void 0&&(o.curveOffset=this.curveOffset),o.minCurveOffset===void 0&&(o.minCurveOffset=this.minCurveOffset),Object(s.isNumber)(o.curveOffset)&&(o.curveOffset=[o.curveOffset,-o.curveOffset]),Object(s.isNumber)(o.minCurveOffset)&&(o.minCurveOffset=[o.minCurveOffset,-o.minCurveOffset]),Object(s.isNumber)(o.curvePosition)&&(o.curvePosition=[o.curvePosition,1-o.curvePosition]);var n=e.y-t.y,i=[0,0];return o.curveOffset?i=o.curveOffset:Math.abs(n)<Math.abs(o.minCurveOffset[0])&&(i=o.minCurveOffset),[{x:t.x,y:t.y+n*this.curvePosition[0]+i[0]},{x:e.x,y:e.y-n*this.curvePosition[1]+i[1]}]}},\"cubic\"),z.registerEdge(\"cubic-horizontal\",{curvePosition:[.5,.5],minCurveOffset:[0,0],curveOffset:void 0,getControlPoints:function(o){var t=o.startPoint,e=o.endPoint;o.curvePosition===void 0&&(o.curvePosition=this.curvePosition),o.curveOffset===void 0&&(o.curveOffset=this.curveOffset),o.minCurveOffset===void 0&&(o.minCurveOffset=this.minCurveOffset),Object(s.isNumber)(o.curveOffset)&&(o.curveOffset=[o.curveOffset,-o.curveOffset]),Object(s.isNumber)(o.minCurveOffset)&&(o.minCurveOffset=[o.minCurveOffset,-o.minCurveOffset]),Object(s.isNumber)(o.curvePosition)&&(o.curvePosition=[o.curvePosition,1-o.curvePosition]);var n=e.x-t.x,i=[0,0];return o.curveOffset?i=o.curveOffset:Math.abs(n)<Math.abs(o.minCurveOffset[0])&&(i=o.minCurveOffset),[{x:t.x+n*this.curvePosition[0]+i[0],y:t.y},{x:e.x-n*this.curvePosition[1]+i[1],y:e.y}]}},\"cubic\"),z.registerEdge(\"loop\",{getPathPoints:function(o){return Dr(o)},getControlPoints:function(o){return o.controlPoints},afterDraw:function(o){o.controlPoints=void 0},afterUpdate:function(o){o.controlPoints=void 0}},\"cubic\");var Ji={itemType:\"combo\",shapeType:\"single-combo\",labelPosition:\"top\",refX:Ae.comboLabel.refX,refY:Ae.comboLabel.refY,options:{style:{stroke:Ae.defaultCombo.style.stroke,fill:Ae.defaultCombo.style.fill,lineWidth:Ae.defaultCombo.style.lineWidth},labelCfg:{style:{fill:Ae.comboLabel.style.fill,fontSize:Ae.comboLabel.style.fontSize,fontFamily:Ae.windowFontFamily}},stateStyles:Object(l.__assign)({},Ae.comboStateStyles),collapsedSubstituteIcon:{show:!1,img:\"https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*RsnHRqLfJn4AAAAAAAAAAAAAARQnAQ\"}},getSize:function(o){var t=Object(s.clone)(o.size||this.options.size||Ae.defaultCombo.size);return Object(s.isArray)(t)&&t.length===1&&(t=[t[0],t[0]]),Object(s.isArray)(t)||(t=[t,t]),t},getLabelStyleByPosition:function(o,t){var e=t.position||this.labelPosition,n=o.style,i=o.padding||this.options.padding;Object(s.isArray)(i)&&(i=Math.max.apply(Math,i));var d=t.refX,g=t.refY;Object(s.isNil)(d)&&(d=this.refX),Object(s.isNil)(g)&&(g=this.refY);var _,I=this.getSize(o),D=(Math.max(n.r,I[0]/2)||I[0]/2)+i;switch(e){case\"top\":_={x:0,y:-D-g,textBaseline:\"bottom\",textAlign:\"center\"};break;case\"bottom\":_={x:0,y:D+g,textBaseline:\"bottom\",textAlign:\"center\"};break;case\"left\":_={x:-D+d,y:0,textAlign:\"left\"};break;case\"center\":_={x:0,y:0,text:o.label,textAlign:\"center\"};break;default:_={x:D+d,y:0,textAlign:\"right\"}}return _.text=o.label,_},drawShape:function(o,t){var e=this.shapeType,n=this.getShapeStyle(o);return t.addShape(e,{attrs:n,draggable:!0,name:\"combo-shape\"})},updateCollapsedIcon:function(o,t,e){var n=o.collapsed,i=o.collapsedSubstituteIcon,d=i===void 0?{}:i,g=Object.assign({},this.options.collapsedSubstituteIcon,d),_=g.show,I=g.img,D=g.width,H=g.height,Z=t.getContainer(),te=Z.find(function(Qe){return Qe.get(\"name\")===\"combo-collapsed-substitute-icon\"}),de=te&&!te.destroyed,Pe=t.get(\"keyShape\");if(n&&_){if(de)te.show();else{var Ge={width:D||2*e.r||e.width,height:H||2*e.r||e.height};te=Z.addShape(\"image\",{attrs:Object(l.__assign)({img:I,x:-Ge.width/2,y:-Ge.height/2},Ge),name:\"combo-collapsed-substitute-icon\",draggable:!0})}Pe.hide()}else de&&(te.hide(),Pe.show())},updateShape:function(o,t,e){var n=this,i=t.get(\"keyShape\");t.get(\"animate\")&&(o.animate===void 0?this.options.animate:o.animate)&&i.animate?(o.collapsed||this.updateCollapsedIcon(o,t,e),i.animate(e,{duration:200,easing:\"easeLinear\",callback:function(){o.collapsed&&n.updateCollapsedIcon(o,t,e)}})):(i.attr(Object(l.__assign)({},e)),this.updateCollapsedIcon(o,t,e)),this.updateLabel(o,t)}},Yi=Object(l.__assign)(Object(l.__assign)({},Vi),Ji);z.registerCombo(\"single-combo\",Yi),z.registerCombo(\"circle\",{options:{size:[Ae.defaultCombo.size[0],Ae.defaultCombo.size[0]],padding:Math.max.apply(Math,Ae.defaultCombo.padding),animate:!0,style:{stroke:Ae.defaultCombo.style.stroke,fill:Ae.defaultCombo.style.fill,lineWidth:Ae.defaultCombo.style.lineWidth},labelCfg:{style:{fill:Ae.comboLabel.style.fill,fontSize:Ae.comboLabel.style.fontSize},refX:0,refY:0},stateStyles:Object(l.__assign)({},Ae.comboStateStyles),collapsedSubstituteIcon:{show:!1,img:\"https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*RsnHRqLfJn4AAAAAAAAAAAAAARQnAQ\"}},shapeType:\"circle\",labelPosition:\"top\",drawShape:function(o,t){var e=this.getShapeStyle(o);return delete e.height,delete e.width,t.addShape(\"circle\",{attrs:e,className:\"circle-combo\",name:\"circle-combo\",draggable:!0})},getShapeStyle:function(o){var t=this.options.style,e=o.padding||this.options.padding;Object(s.isArray)(e)&&(e=Math.max.apply(Math,e));var n,i={stroke:o.color},d=Object(s.mix)({},t,i,o.style),g=o.collapsed&&o.fixCollapseSize?o.fixCollapseSize:o.fixSize;if(g)n=Object(s.isNumber)(g)?g/2:g[0]/2;else{var _=this.getSize(o);n=!Object(s.isNumber)(d.r)||isNaN(d.r)?_[0]/2||Ae.defaultCombo.style.r:Math.max(d.r,_[0]/2)||_[0]/2}d.r=n+e;var I=Object(l.__assign)({x:0,y:0},d);return o.style?o.style.r=n:o.style={r:n},I},update:function(o,t){var e=this.getSize(o),n=o.padding||this.options.padding;Object(s.isArray)(n)&&(n=Math.max.apply(Math,n));var i,d=Object(s.clone)(o.style),g=o.collapsed&&o.fixCollapseSize?o.fixCollapseSize:o.fixSize;i=g?Object(s.isNumber)(g)?g/2:g[0]/2:Math.max(d.r,e[0]/2)||e[0]/2,d.r=i+n;var _=t.get(\"sizeCache\");_&&(_.r=d.r);var I={stroke:o.color},D=t.get(\"keyShape\"),H=Object(s.mix)({},D.attr(),I,d);o.style?o.style.r=i:o.style={r:i},this.updateShape(o,t,H,!0)}},\"single-combo\"),z.registerCombo(\"rect\",{options:{size:[40,5],padding:[25,20,15,20],animate:!0,style:{radius:0,stroke:Ae.defaultCombo.style.stroke,fill:Ae.defaultCombo.style.fill,lineWidth:Ae.defaultCombo.style.lineWidth},labelCfg:{style:{fill:Ae.comboLabel.style.fill,fontSize:Ae.comboLabel.style.fontSize,fontFamily:Ae.windowFontFamily}},anchorPoints:[[0,.5],[1,.5]],stateStyles:Object(l.__assign)({},Ae.comboStateStyles),collapsedSubstituteIcon:{show:!1,img:\"https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*RsnHRqLfJn4AAAAAAAAAAAAAARQnAQ\"}},shapeType:\"rect\",labelPosition:\"top\",drawShape:function(o,t){var e=this.getShapeStyle(o);return t.addShape(\"rect\",{attrs:e,className:\"rect-combo\",name:\"rect-combo\",draggable:!0})},getLabelStyleByPosition:function(o,t){var e=t.position||this.labelPosition,n=o.style,i=o.padding||this.options.padding;Object(s.isNumber)(i)&&(i=[i,i,i,i]);var d=t.refX,g=t.refY;Object(s.isNil)(d)&&(d=this.refX),Object(s.isNil)(g)&&(g=this.refY);var _,I=-n.width/2-i[3],D=n.width/2+i[1],H=-n.height/2-i[0],Z=n.height/2+i[2];switch(e){case\"top\":_={x:I+d,y:H+g,textBaseline:\"top\",textAlign:\"left\"};break;case\"bottom\":_={x:0,y:Z+g,textBaseline:\"top\",textAlign:\"center\"};break;case\"left\":_={x:I+g,y:0,textAlign:\"left\"};break;case\"center\":_={x:0,y:0,text:o.label,textAlign:\"center\"};break;case\"top-center\":_={x:0,y:H+g,textBaseline:\"top\",textAlign:\"center\"};break;default:_={x:D+d,y:0,textAlign:\"right\"}}return _.text=o.label,_},getShapeStyle:function(o){var t=this.options.style,e=o.padding||this.options.padding;Object(s.isNumber)(e)&&(e=[e,e,e,e]);var n,i,d={stroke:o.color},g=Object(s.mix)({},t,d,o.style),_=this.getSize(o),I=o.collapsed&&o.fixCollapseSize?o.fixCollapseSize:o.fixSize;I?Object(s.isNumber)(I)?(n=I,i=I):(n=I[0],i=I[1]):(n=!Object(s.isNumber)(g.width)||isNaN(g.width)?_[0]||Ae.defaultCombo.style.width:Math.max(g.width,_[0])||_[0],i=!Object(s.isNumber)(g.height)||isNaN(g.height)?_[1]||Ae.defaultCombo.style.height:Math.max(g.height,_[1])||_[1]);var D=-n/2-e[3],H=-i/2-e[0];g.width=n+e[1]+e[3],g.height=i+e[0]+e[2];var Z=Object(l.__assign)({x:D,y:H},g);return o.style?(o.style.width=n,o.style.height=i):o.style={width:n,height:i},Z},update:function(o,t){var e=this.getSize(o),n=o.padding||this.options.padding;Object(s.isNumber)(n)&&(n=[n,n,n,n]);var i,d,g=Object(s.clone)(o.style),_=o.collapsed&&o.fixCollapseSize?o.fixCollapseSize:o.fixSize;_?Object(s.isNumber)(_)?(i=_,d=_):(i=_[0],d=_[1]):(i=Math.max(g.width,e[0])||e[0],d=Math.max(g.height,e[1])||e[1]),g.width=i+n[1]+n[3],g.height=d+n[0]+n[2];var I=t.get(\"sizeCache\");I&&(I.width=g.width,I.height=g.height),g.x=-i/2-n[3],g.y=-d/2-n[0];var D={stroke:o.color},H=t.get(\"keyShape\"),Z=Object(s.mix)({},H.attr(),D,g);o.style?(o.style.width=i,o.style.height=d):o.style={width:i,height:d},this.updateShape(o,t,Z,!1)}},\"single-combo\"),z.registerNode(\"simple-circle\",{options:{size:Ae.defaultNode.size,style:{x:0,y:0,stroke:Ae.defaultNode.style.stroke,fill:Ae.defaultNode.style.fill,lineWidth:Ae.defaultNode.style.lineWidth},labelCfg:{style:{fill:Ae.nodeLabel.style.fill,fontSize:Ae.nodeLabel.style.fontSize,fontFamily:Ae.windowFontFamily}},stateStyles:Object(l.__assign)({},Ae.nodeStateStyles)},shapeType:\"simple-circle\",labelPosition:\"center\",shapeMap:{},drawShape:function(o,t){var e=this.getShapeStyle(o),n=\"\".concat(this.type,\"-keyShape\"),i=t.addShape(\"circle\",{attrs:e,className:\"\".concat(this.type,\"-keyShape\"),name:n,draggable:!0});return t.shapeMap[n]=i,i},getShapeStyle:function(o){var t=(this.mergeStyle||this.getOptions(o)).style,e={stroke:o.color},n=Object(s.deepMix)({},t,e),i=this.getSize(o)[0]/2;return Object(l.__assign)({x:0,y:0,r:i},n)},update:function(o,t,e){var n=this.getSize(o),i={stroke:o.color,r:n[0]/2},d=t.get(\"keyShape\"),g=Object(s.deepMix)({},d.attr(),i,o.style);this.updateShape(o,t,g,!0,e)}},\"single-node\"),z.registerNode(\"simple-rect\",{options:{size:[100,30],style:{radius:0,stroke:Ae.defaultNode.style.stroke,fill:Ae.defaultNode.style.fill,lineWidth:Ae.defaultNode.style.lineWidth},labelCfg:{style:{fill:Ae.nodeLabel.style.fill,fontSize:Ae.nodeLabel.style.fontSize,fontFamily:Ae.windowFontFamily}},anchorPoints:[[0,.5],[1,.5]],stateStyles:Object(l.__assign)({},Ae.nodeStateStyles)},shapeType:\"simple-rect\",labelPosition:\"center\",drawShape:function(o,t){var e=this.getShapeStyle(o);return t.addShape(\"rect\",{attrs:e,className:\"\".concat(this.type,\"-keyShape\"),name:\"\".concat(this.type,\"-keyShape\"),draggable:!0})},getShapeStyle:function(o){var t=(this.mergeStyle||this.getOptions(o)).style,e={stroke:o.color},n=Object(s.mix)({},t,e),i=this.getSize(o),d=n.width||i[0],g=n.height||i[1];return Object(l.__assign)({x:-d/2,y:-g/2,width:d,height:g},n)},update:function(o,t,e){t.getContainer();var n=(this.mergeStyle||this.getOptions(o)).style,i=this.getSize(o),d=t.get(\"keyShape\");o.size||(i[0]=d.attr(\"width\")||n.width,i[1]=d.attr(\"height\")||n.height);var g={stroke:o.color,x:-i[0]/2,y:-i[1]/2,width:i[0],height:i[1]},_=Object(s.mix)({},n,d.attr(),g);_=Object(s.mix)(_,o.style),this.updateShape(o,t,_,!1,e)}},\"single-node\"),z.registerNode(\"image\",{options:{img:\"https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*eD7nT6tmYgAAAAAAAAAAAABkARQnAQ\",size:200,labelCfg:{style:{fontFamily:Ae.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(o,t){var e=this.shapeType,n=this.getShapeStyle(o);delete n.fill;var i=t.addShape(e,{attrs:n,className:\"\".concat(this.type,\"-keyShape\"),name:\"\".concat(this.type,\"-keyShape\"),draggable:!0});return this.drawClip(o,i),i},drawClip:function(o,t){var e=(this.mergeStyle||this.getOptions(o)).clipCfg;if(e.show){var n=e.type,i=e.x,d=e.y,g=e.style;if(n===\"circle\"){var _=e.r;t.setClip({type:\"circle\",attrs:Object(l.__assign)({r:_,x:i,y:d},g)})}else if(n===\"rect\"){var I=e.width,D=e.height,H=i-I/2,Z=d-D/2;t.setClip({type:\"rect\",attrs:Object(l.__assign)({x:H,y:Z,width:I,height:D},g)})}else if(n===\"ellipse\"){var te=e.rx,de=e.ry;t.setClip({type:\"ellipse\",attrs:Object(l.__assign)({x:i,y:d,rx:te,ry:de},g)})}else if(n===\"polygon\"){var Pe=e.points;t.setClip({type:\"polygon\",attrs:Object(l.__assign)({points:Pe},g)})}else if(n===\"path\"){var Ge=e.path;t.setClip({type:\"path\",attrs:Object(l.__assign)({path:Ge},g)})}}},getShapeStyle:function(o){var t=this.mergeStyle||this.getOptions(o),e=t.style,n=t.img,i=this.getSize(o),d=i[0],g=i[1];return e&&(d=e.width||i[0],g=e.height||i[1]),Object(l.__assign)({x:-d/2,y:-g/2,width:d,height:g,img:n},e)},updateShapeStyle:function(o,t){var e=t.getContainer(),n=\"\".concat(this.itemType,\"-shape\"),i=e.shapeMap[n]||e.find(function(g){return g.get(\"className\")===n})||t.getKeyShape(),d=this.getShapeStyle(o);i&&!i.destroyed&&i.attr(d)}},\"single-node\");var Ii={triangle:function(o,t,e){o===void 0&&(o=10),t===void 0&&(t=15),e===void 0&&(e=0);var n=2*e;return\"M \".concat(n,\",0 L \").concat(n+t,\",-\").concat(o/2,\" L \").concat(n+t,\",\").concat(o/2,\" Z\")},vee:function(o,t,e){o===void 0&&(o=15),t===void 0&&(t=20),e===void 0&&(e=0);var n=2*e;return\"M \".concat(n,\",0 L \").concat(n+t,\",-\").concat(o/2,`\n        L `).concat(n+2*t/3,\",0 L \").concat(n+t,\",\").concat(o/2,\" Z\")},circle:function(o,t){return o===void 0&&(o=5),t===void 0&&(t=0),\"M \".concat(2*t,`, 0\n            a `).concat(o,\",\").concat(o,\" 0 1,0 \").concat(2*o,`,0\n            a `).concat(o,\",\").concat(o,\" 0 1,0 \").concat(2*-o,\",0\")},rect:function(o,t,e){o===void 0&&(o=10),t===void 0&&(t=10),e===void 0&&(e=0);var n=2*e;return\"M \".concat(n,\",\").concat(-o/2,` \n        L `).concat(n+t,\",\").concat(-o/2,` \n        L `).concat(n+t,\",\").concat(o/2,` \n        L `).concat(n,\",\").concat(o/2,\" Z\")},diamond:function(o,t,e){o===void 0&&(o=15),t===void 0&&(t=15),e===void 0&&(e=0);var n=2*e;return\"M \".concat(n,`,0 \n        L `).concat(n+t/2,\",\").concat(-o/2,` \n        L `).concat(n+t,`,0 \n        L `).concat(n+t/2,\",\").concat(o/2,\" Z\")},triangleRect:function(o,t,e,n,i,d){o===void 0&&(o=15),t===void 0&&(t=15),e===void 0&&(e=15),n===void 0&&(n=3),i===void 0&&(i=5),d===void 0&&(d=0);var g=2*d,_=g+t+i;return\"M \".concat(g,\",0 L \").concat(g+t,\",-\").concat(o/2,\" L \").concat(g+t,\",\").concat(o/2,` Z\n            M `).concat(_,\", -\").concat(e/2,`\n            L `).concat(_+n,\" -\").concat(e/2,`\n            L `).concat(_+n,\" \").concat(e/2,`\n            L `).concat(_,\" \").concat(e/2,`\n            Z`)}},pa={collapse:function(o,t,e){return[[\"M\",o-e,t],[\"a\",e,e,0,1,0,2*e,0],[\"a\",e,e,0,1,0,2*-e,0],[\"M\",o-e+4,t],[\"L\",o+e-4,t]]},expand:function(o,t,e){return[[\"M\",o-e,t],[\"a\",e,e,0,1,0,2*e,0],[\"a\",e,e,0,1,0,2*-e,0],[\"M\",o-e+4,t],[\"L\",o-e+2*e-4,t],[\"M\",o-e+e,t-e+4],[\"L\",o,t+e-4]]},upTriangle:function(o,t,e){var n=e*Math.cos(Math.PI/6),i=e*Math.sin(Math.PI/6);return[[\"M\",o-n,t+i],[\"L\",o+n,t+i],[\"L\",o,t-e],[\"Z\"]]},downTriangle:function(o,t,e){var n=e*Math.cos(Math.PI/6),i=e*Math.sin(Math.PI/6);return[[\"M\",o-n,t-i],[\"L\",o+n,t-i],[\"L\",o,t+e],[\"Z\"]]}},na=z,$i=[\"#5F95FF\",\"#61DDAA\",\"#65789B\",\"#F6BD16\",\"#7262FD\",\"#78D3F8\",\"#9661BC\",\"#F6903D\",\"#008685\",\"#F08BB4\"],La=function(o){return o===\"force\"||o===\"g6force\"||o===\"gForce\"||o===\"force2\"},ss=j.a.transform,Oa=Object(l.__assign)(Object(l.__assign)(Object(l.__assign)(Object(l.__assign)(Object(l.__assign)(Object(l.__assign)(Object(l.__assign)({},w),C),O),N),b),p),{transform:ss,mat3:j.b}),Ma=function(){function o(t){this.graph=t,this.layoutCfg=t.get(\"layout\")||{},this.layoutType=this.getLayoutType(),this.layoutMethods=[],this.initLayout()}return o.prototype.initLayout=function(){},o.prototype.getLayoutType=function(){return this.getLayoutCfgType(this.layoutCfg)},o.prototype.getLayoutCfgType=function(t){var e=t.type;if(e)return e;var n=t.pipes;return Array.isArray(n)?n.map(function(i){return(i==null?void 0:i.type)||\"\"}):null},o.prototype.isLayoutTypeSame=function(t){var e=this.getLayoutCfgType(t),n=Array.isArray(this.layoutType),i=Array.isArray(e);return n&&i?this.layoutType.every(function(d,g){return d===e[g]}):!Array.isArray(e)&&!Array.isArray(this.layoutType)&&(t==null?void 0:t.type)===this.layoutType},o.prototype.refreshLayout=function(){var t=this.graph,e=this.layoutType,n=this.layoutCfg;if(t){var i=(n===void 0?{}:n).animate,d=i===void 0&&(e===\"force\"||e===\"force2\"),g=La(e)&&(i||d);t.get(\"animate\")&&!g?t.positionsAnimate(e===\"comboCombined\"):t.refreshPositions(e===\"comboCombined\")}},o.prototype.changeLayout=function(t){var e=t.disableTriggerLayout,n=Object(l.__rest)(t,[\"disableTriggerLayout\"]);this.layoutCfg=n,this.layoutType=n.type||this.layoutType,e||this.layout()},o.prototype.changeData=function(t){this.layout(t)},o.prototype.destoryLayoutMethods=function(){var t=this.layoutMethods,e=[];return t==null||t.forEach(function(n){var i,d=(i=n.getType)===null||i===void 0?void 0:i.call(n);d&&e.push(d),n.destroy()}),this.layoutMethods=[],e},o.prototype.destroyLayout=function(){this.destoryLayoutMethods();var t=this.graph;t&&!t.get(\"destroyed\")&&t.set(\"layout\",void 0),this.layoutCfg=void 0,this.layoutType=void 0,this.layoutMethods=void 0},o.prototype.setDataFromGraph=function(){for(var t,e=[],n=[],i=[],d=[],g=[],_=[],I=[],D=this.graph.getNodes(),H=this.graph.getEdges(),Z=this.graph.getCombos(),te=D.length,de=0;de<te;de++){var Pe=D[de];if(Pe&&!Pe.destroyed){var Ge=Pe.getModel();Pe.isVisible()?e.push(Ge):n.push(Ge)}}var Qe=H.length;for(de=0;de<Qe;de++){var Xe=H[de];Xe&&!Xe.destroyed&&(Ge=Xe.getModel(),Xe.isVisible()?Ge.isComboEdge?g.push(Ge):i.push(Ge):d.push(Ge))}var yt=Z.length;for(de=0;de<yt;de++){var Ct=Z[de];Ct.destroyed||(Ge=Ct.getModel(),Ct.isVisible()?_.push(Ge):I.push(Ge))}return{nodes:e,hiddenNodes:n,edges:i,hiddenEdges:d,combos:_,hiddenCombos:I,comboEdges:g,vedges:(t=this.graph.get(\"vedges\"))===null||t===void 0?void 0:t.map(function(on){return on.getModel()})}},o.prototype.relayout=function(t){var e=this,n=this.graph,i=this.layoutMethods,d=this.layoutCfg;if(n&&!n.get(\"destroyed\")){var g=Promise.resolve();if(t){this.data=this.setDataFromGraph();var _=this.data.nodes;if(!_)return!1;g=this.initPositions(d.center,_)}n.emit(\"beforelayout\"),i==null||i.forEach(function(I,D){var H=d[D]||d;g=g.then(function(){var Z,te=e.execLayoutMethod(H,D);return D===i.length-1&&((Z=d.onAllLayoutEnd)===null||Z===void 0||Z.call(d)),te})})}},o.prototype.filterLayoutData=function(t,e){var n,i,d=t.nodes,g=t.edges,_=Object(l.__rest)(t,[\"nodes\",\"edges\"]);if(!d)return t;n=Object(s.isFunction)(e==null?void 0:e.nodesFilter)?e.nodesFilter:function(){return!0};var I=d.filter(n);if(Object(s.isFunction)(e==null?void 0:e.edgesFilter))i=e.edgesFilter;else{var D=I.reduce(function(H,Z){return H[Z.id]=!0,H},{});i=function(H){return D[H.source]&&D[H.target]}}return Object(l.__assign)({nodes:I,edges:g.filter(i)},_)},o.prototype.getLayoutBBox=function(t){var e=this.graph,n=Object(s.groupBy)(e.getNodes(),function(d){return d.getModel().layoutOrder}),i=Object.values(n).map(function(d){var g=dr(d);return g.size=[g.width,g.height],g});return{groupNodes:Object.values(Object(s.groupBy)(t,\"layoutOrder\")),layoutNodes:i}},o.prototype.layoutAnimate=function(){},o.prototype.moveToZero=function(){var t=this.graph.get(\"data\").nodes;if(t[0].x!==void 0&&t[0].x!==null&&!Dn(t[0].x)){for(var e=[0,0],n=t.length,i=0;i<n;i++){var d=t[i];e[0]+=d.x,e[1]+=d.y}for(e[0]/=t.length,e[1]/=t.length,i=0;i<n;i++)(d=t[i]).x-=e[0],d.y-=e[1]}},o.prototype.initPositions=function(t,e){var n;return Object(l.__awaiter)(this,void 0,void 0,function(){var i,d,g;return Object(l.__generator)(this,function(_){return i=this.graph,e!=null&&e.length?(d=e.filter(function(I){return Dn(I.x)||Dn(I.y)}),(g=d?d.length:0)?[2,(n=this.initWithPreset)===null||n===void 0?void 0:n.call(this,function(){},function(){var I=.85*i.get(\"width\"),D=.85*i.get(\"height\"),H=Math.ceil(Math.sqrt(g)*(I/D)),Z=I/(H-1),te=D/(Math.ceil(g/H)-1);isFinite(Z)&&Z||(Z=0),isFinite(te)&&Z||(te=0);for(var de=t[0]-I/2,Pe=t[1]-D/2,Ge=0;Ge<g;Ge++){var Qe=d[Ge];Dn(+Qe.x)&&(Qe.x=Ge%H*Z+de),Dn(+Qe.y)&&(Qe.y=Math.floor(Ge/H)*te+Pe)}})]:[2]):[2,Promise.resolve()]})})},o.prototype.destroy=function(){this.graph=null,this.destoryLayoutMethods(),this.destroyed=!0},o}(),Ka=function(o){this.graph=o,this.destroyed=!1,this.initEvents()},Ba=na.registerNode,Ua=na.registerEdge,Va=na.registerCombo,Ls=M.registerBehavior,Qo=Ae,ws=(na.registerNode,na.registerEdge,na.registerCombo,M.registerBehavior,r(114)),Za=r(23),rr=r(31),Eo=r(41),Br=r.n(Eo),Ao=r(44),Di=r.n(Ao),Aa=[{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 Na(o,t,e){var n;return(n=Math.round(o.h)>=60&&Math.round(o.h)<=240?e?Math.round(o.h)-2*t:Math.round(o.h)+2*t:e?Math.round(o.h)+2*t:Math.round(o.h)-2*t)<0?n+=360:n>=360&&(n-=360),n}function Fa(o,t,e){return o.h===0&&o.s===0?o.s:((n=e?o.s-.16*t:t===4?o.s+.16:o.s+.05*t)>1&&(n=1),e&&t===5&&n>.1&&(n=.1),n<.06&&(n=.06),Number(n.toFixed(2)));var n}function Bs(o,t,e){var n;return(n=e?o.v+.05*t:o.v-.15*t)>1&&(n=1),Number(n.toFixed(2))}function Ms(o){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=[],n=Di()(o),i=5;i>0;i-=1){var d=n.toHsv(),g=Di()({h:Na(d,i,!0),s:Fa(d,i,!0),v:Bs(d,i,!0)}).toHexString();e.push(g)}e.push(n.toHexString());for(var _=1;_<=4;_+=1){var I=n.toHsv(),D=Di()({h:Na(I,_),s:Fa(I,_),v:Bs(I,_)}).toHexString();e.push(D)}return t.theme===\"dark\"?Aa.map(function(H){var Z=H.index,te=H.opacity;return Di.a.mix(t.backgroundColor||\"#141414\",e[Z],100*te).toHexString()}):e}var Qa={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\"},us={},Fs={};Object.keys(Qa).forEach(function(o){us[o]=Ms(Qa[o]),us[o].primary=us[o][5],Fs[o]=Ms(Qa[o],{theme:\"dark\",backgroundColor:\"#141414\"}),Fs[o].primary=Fs[o][5]}),us.red,us.volcano,us.gold,us.orange,us.yellow,us.lime,us.green,us.cyan,us.blue,us.geekblue,us.purple,us.magenta,us.grey;var $a,Hs,ys,sa,Xa=function(o,t,e){var n=Br()(o),i=Br()(t);return Br()([(1-e)*n.red()+e*i.red(),(1-e)*n.green()+e*i.green(),(1-e)*n.blue()+e*i.blue()]).rgb()},os=function(o,t,e,n){return t===void 0&&(t=\"#fff\"),e===void 0&&(e=\"default\"),n===void 0&&(n=\"rgb(150, 150, 150)\"),e===\"default\"?function(i,d,g){d===void 0&&(d=\"#fff\"),g===void 0&&(g=\"rgb(150, 150, 150)\");var _=Xa(d,i,.05).rgb().toString(),I=Xa(d,i,.1).rgb().toString(),D=Xa(d,i,.2).rgb().toString(),H=Xa(d,i,.4).rgb().toString(),Z=Xa(d,g,.02).rgb().toString(),te=Xa(d,g,.05).rgb().toString(),de=Xa(d,g,.1).rgb().toString(),Pe=Xa(d,g,.2).rgb().toString(),Ge=Xa(d,g,.3).rgb().toString(),Qe=Ms(i,{theme:\"default\",backgroundColor:d}),Xe=Br()(i).hex().toLowerCase(),yt=Qe.indexOf(Xe),Ct=i;return yt!==-1&&(Ct=Qe[yt+1]),{mainStroke:i,mainFill:I,activeStroke:i,activeFill:_,inactiveStroke:H,inactiveFill:_,selectedStroke:i,selectedFill:d,highlightStroke:Ct,highlightFill:D,disableStroke:Ge,disableFill:te,edgeMainStroke:Ge,edgeActiveStroke:i,edgeInactiveStroke:Pe,edgeSelectedStroke:i,edgeHighlightStroke:i,edgeDisableStroke:de,comboMainStroke:Ge,comboMainFill:Z,comboActiveStroke:i,comboActiveFill:_,comboInactiveStroke:Ge,comboInactiveFill:Z,comboSelectedStroke:i,comboSelectedFill:Z,comboHighlightStroke:Ct,comboHighlightFill:Z,comboDisableStroke:Pe,comboDisableFill:te}}(o,t,\"rgb(150, 150, 150)\"):function(i,d,g){d===void 0&&(d=\"#fff\"),g===void 0&&(g=\"#777\");var _=Xa(d,i,.2).rgb().toString(),I=Xa(d,i,.3).rgb().toString(),D=Xa(d,i,.6).rgb().toString(),H=Xa(d,i,.8).rgb().toString(),Z=Xa(d,g,.2).rgb().toString(),te=Xa(d,g,.25).rgb().toString(),de=Xa(d,g,.3).rgb().toString(),Pe=Xa(d,g,.4).rgb().toString(),Ge=Xa(d,g,.5).rgb().toString(),Qe=Ms(i,{theme:\"dark\",backgroundColor:d}),Xe=Br()(i).hex().toLowerCase(),yt=Qe.indexOf(Xe),Ct=i;return yt!==-1&&(Ct=Qe[yt+1]),{mainStroke:H,mainFill:_,activeStroke:i,activeFill:I,inactiveStroke:H,inactiveFill:_,selectedStroke:i,selectedFill:_,highlightStroke:i,highlightFill:D,disableStroke:Ge,disableFill:te,edgeMainStroke:g,edgeActiveStroke:i,edgeInactiveStroke:g,edgeSelectedStroke:i,edgeHighlightStroke:i,edgeDisableStroke:de,comboMainStroke:Pe,comboMainFill:te,comboActiveStroke:i,comboActiveFill:Z,comboInactiveStroke:Pe,comboInactiveFill:te,comboSelectedStroke:i,comboSelectedFill:Z,comboHighlightStroke:Ct,comboHighlightFill:te,comboDisableStroke:Pe,comboDisableFill:Z}}(o,t,\"#777\")},As=function(o,t,e,n){t===void 0&&(t=\"#fff\"),e===void 0&&(e=\"default\"),n===void 0&&(n=\"rgb(150, 150, 150)\");var i=[];return o.forEach(function(d){i.push(os(d,t,e,n))}),i},oa=os(\"rgb(95, 149, 255)\",\"rgb(255, 255, 255)\"),di={version:\"0.8.8\",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:oa.mainStroke,fill:oa.mainFill},size:20,color:oa.mainStroke,linkPoints:{size:8,lineWidth:1,fill:oa.activeFill,stroke:oa.activeStroke}},nodeStateStyles:{active:{fill:oa.activeFill,stroke:oa.activeStroke,lineWidth:2,shadowColor:oa.mainStroke,shadowBlur:10},selected:{fill:oa.selectedFill,stroke:oa.selectedStroke,lineWidth:4,shadowColor:oa.selectedStroke,shadowBlur:10,\"text-shape\":{fontWeight:500}},highlight:{fill:oa.highlightFill,stroke:oa.highlightStroke,lineWidth:2,\"text-shape\":{fontWeight:500}},inactive:{fill:oa.inactiveFill,stroke:oa.inactiveStroke,lineWidth:1},disable:{fill:oa.disableFill,stroke:oa.disableStroke,lineWidth:1}},edgeLabel:{style:{fill:\"rgb(0, 0, 0)\",textAlign:\"center\",textBaseline:\"middle\",fontSize:12}},defaultEdge:{type:\"line\",size:1,style:{stroke:oa.edgeMainStroke,lineAppendWidth:2},color:oa.edgeMainStroke},edgeStateStyles:{active:{stroke:oa.edgeActiveStroke,lineWidth:1},selected:{stroke:oa.edgeSelectedStroke,lineWidth:2,shadowColor:oa.edgeSelectedStroke,shadowBlur:10,\"text-shape\":{fontWeight:500}},highlight:{stroke:oa.edgeHighlightStroke,lineWidth:2,\"text-shape\":{fontWeight:500}},inactive:{stroke:oa.edgeInactiveStroke,lineWidth:1},disable:{stroke:oa.edgeDisableStroke,lineWidth:1}},comboLabel:{style:{fill:\"rgb(0, 0, 0)\",textBaseline:\"middle\",fontSize:12},refY:10,refX:10},defaultCombo:{type:\"circle\",style:{fill:oa.comboMainFill,lineWidth:1,stroke:oa.comboMainStroke,r:5,width:20,height:10},size:[20,5],color:oa.comboMainStroke,padding:[25,20,15,20]},comboStateStyles:{active:{stroke:oa.comboActiveStroke,lineWidth:1,fill:oa.comboActiveFill},selected:{stroke:oa.comboSelectedStroke,lineWidth:2,fill:oa.comboSelectedFill,shadowColor:oa.comboSelectedStroke,shadowBlur:10,\"text-shape\":{fontWeight:500}},highlight:{stroke:oa.comboHighlightStroke,lineWidth:2,fill:oa.comboHighlightFill,\"text-shape\":{fontWeight:500}},inactive:{stroke:oa.comboInactiveStroke,fill:oa.comboInactiveFill,lineWidth:1},disable:{stroke:oa.comboDisableStroke,fill:oa.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 ia(o,t,e){if(o){if(typeof o.addEventListener==\"function\")return o.addEventListener(t,e,!1),{remove:function(){o.removeEventListener(t,e,!1)}};if(typeof o.attachEvent==\"function\")return o.attachEvent(\"on\"+t,e),{remove:function(){o.detachEvent(\"on\"+t,e)}}}}function _i(o){$a||($a=document.createElement(\"table\"),Hs=document.createElement(\"tr\"),ys=/^\\s*<(\\w+|!)[^>]*>/,sa={tr:document.createElement(\"tbody\"),tbody:$a,thead:$a,tfoot:$a,td:Hs,th:Hs,\"*\":document.createElement(\"div\")});var t=ys.test(o)&&RegExp.$1;t&&t in sa||(t=\"*\");var e=sa[t];o=typeof o==\"string\"?o.replace(/(^\\s*)|(\\s*$)/g,\"\"):o,e.innerHTML=\"\"+o;var n=e.childNodes[0];return n&&e.contains(n)&&e.removeChild(n),n}function gi(o,t){if(o)for(var e in t)t.hasOwnProperty(e)&&(o.style[e]=t[e]);return o}var fa=Oa.cloneEvent,Pa=Oa.isViewportChanged,xs=function(o){function t(e){var n=o.call(this,e)||this;return n.extendEvents=[],n.dragging=!1,n.mousedown=!1,n.preItem=null,n.destroy(),n.graph=e,n.destroyed=!1,n.initEvents(),n}return Object(l.__extends)(t,o),t.prototype.initEvents=function(){var e=this.graph,n=this.extendEvents,i=n===void 0?[]:n,d=e.get(\"canvas\"),g=d.get(\"el\"),_=Object(s.wrapBehavior)(this,\"onCanvasEvents\"),I=Object(s.wrapBehavior)(this,\"onExtendEvents\"),D=Object(s.wrapBehavior)(this,\"onWheelEvent\");d.off(\"*\").on(\"*\",_),this.canvasHandler=_,i.push(ia(g,\"wheel\",D)),typeof window!=\"undefined\"&&(i.push(ia(window,\"keydown\",I)),i.push(ia(window,\"keyup\",I)),i.push(ia(window,\"focus\",I))),this.resetHandler&&e.off(\"afterchangedata\",this.resetHandler),this.resetHandler=Object(s.wrapBehavior)(this,\"resetStatus\"),e.on(\"afterchangedata\",this.resetHandler)},t.getItemRoot=function(e){for(;e&&!e.get(\"item\");)e=e.get(\"parent\");return e},t.prototype.onCanvasEvents=function(e){var n=this,i=this.graph,d=i.get(\"canvas\"),g=e.target,_=e.type;switch(_){case\"drag\":this.onCanvasEvents(Object.assign({},e,{type:\"mousemove\"}));break;case\"dragend\":this.onCanvasEvents(Object.assign({},e,{type:\"mouseup\"}));break;case\"mousedown\":this.mousedown=!0;break;case\"dragend\":case\"mouseup\":setTimeout(function(){return n.mousedown=!1});break;case\"click\":if(!this.mousedown)return}e.canvasX=e.x,e.canvasY=e.y;var I={x:e.canvasX,y:e.canvasY},D=i.get(\"group\").getMatrix();if(D||(D=[1,0,0,0,1,0,0,0,1]),Pa(D)&&(I=i.getPointByClient(e.clientX,e.clientY)),e.x=I.x,e.y=I.y,e.currentTarget=i,g===d)return _!==\"mousemove\"&&_!==\"mouseleave\"||this.handleMouseMove(e,\"canvas\"),e.target=d,e.item=null,i.emit(_,e),void i.emit(\"canvas:\".concat(_),e);var H=t.getItemRoot(g);if(H){var Z=H.get(\"item\");if(!Z.destroyed){var te=Z.getType();if(e.target=g,e.item=Z,e.canvasX===e.x&&e.canvasY===e.y){var de=i.getCanvasByPoint(e.x,e.y);e.canvasX=de.x,e.canvasY=de.y}e.name&&!e.name.includes(\":\")?(i.emit(\"\".concat(te,\":\").concat(_),e),i.emit(_,e)):e.name&&i.emit(e.name,e),_===\"dragstart\"&&(this.dragging=!0),_===\"dragend\"&&(this.dragging=!1),_===\"mousemove\"&&this.handleMouseMove(e,te)}}else i.emit(_,e)},t.prototype.onExtendEvents=function(e){this.graph.emit(e.type,e)},t.prototype.onWheelEvent=function(e){Object(s.isNil)(e.wheelDelta)&&(e.wheelDelta=-e.detail),this.graph.emit(\"wheel\",e)},t.prototype.handleMouseMove=function(e,n){var i=this.graph,d=this.preItem,g=i.get(\"canvas\"),_=e.target===g?null:e.item;e=fa(e),d&&d!==_&&!d.destroyed&&(e.item=d,this.emitCustomEvent(d.getType(),\"mouseleave\",e),this.dragging&&this.emitCustomEvent(d.getType(),\"dragleave\",e)),_&&d!==_&&(e.item=_,this.emitCustomEvent(n,\"mouseenter\",e),this.dragging&&this.emitCustomEvent(n,\"dragenter\",e)),this.preItem=_},t.prototype.emitCustomEvent=function(e,n,i){i.type=n,this.graph.emit(\"\".concat(e,\":\").concat(n),i)},t.prototype.resetStatus=function(){this.mousedown=!1,this.dragging=!1,this.preItem=null},t.prototype.destroy=function(){var e=this.graph,n=this.canvasHandler,i=this.extendEvents;e.get(\"canvas\").off(\"*\",n),Object(s.each)(i,function(d){d.remove()}),this.resetStatus(),this.extendEvents.length=0,this.canvasHandler=null,this.resetHandler=null,this.destroyed=!0},t}(Ka),Li=r(7),vs=r(40),Ca=r.n(vs),ra=Oa.traverseTree,Ja=function(o,t){return o?Object(s.isNumber)(o)?function(e){return o}:o:function(e){return t||1}},qa=function(o,t){var e=[],n=[],i={},d=0;for(d=0;d<o.length;d++){var g=o[d];i[g.id]=d,e.push(g.x),e.push(g.y),e.push(0),e.push(0),n.push([])}for(d=0;d<t.length;d++){var _=t[d];n[i[_.source]].push(i[_.target]),n[i[_.target]].push(i[_.source])}var I=0;for(d=0;d<o.length;d++){var D=e.length,H=n[d],Z=H.length;e[4*d+2]=D,e[4*d+3]=H.length,I=Math.max(I,H.length);for(var te=0;te<Z;++te){var de=H[te];e.push(+de)}}for(;e.length%4!=0;)e.push(0);return{array:new Float32Array(e),maxEdgePerVetex:I}},Ts=function(o,t,e){var n=[],i=[],d={},g=0;for(g=0;g<o.length;g++){var _=o[g];d[_.id]=g,n.push(_.x),n.push(_.y),n.push(0),n.push(0),i.push([])}for(g=0;g<t.length;g++){var I=t[g];i[d[I.source]].push(d[I.target]),i[d[I.source]].push(e(I)),i[d[I.target]].push(d[I.source]),i[d[I.target]].push(e(I))}var D=0;for(g=0;g<o.length;g++){var H=n.length,Z=i[g],te=Z.length;n[4*g+2]=H,n[4*g+3]=te/2,D=Math.max(D,te/2);for(var de=0;de<te;++de){var Pe=Z[de];n.push(+Pe)}}for(;n.length%4!=0;)n.push(0);return{array:new Float32Array(n),maxEdgePerVetex:D}},v=function(o,t,e,n){var i=[],d=[],g={},_=0;for(_=0;_<o.length;_++){var I=o[_];g[I.id]=_,i.push(I.x),i.push(I.y),i.push(0),i.push(0),d.push([])}for(_=0;_<t.length;_++){var D=t[_];d[g[D.source]].push(g[D.target]),d[g[D.source]].push(e(D)),d[g[D.source]].push(n(D)),d[g[D.source]].push(0),d[g[D.target]].push(g[D.source]),d[g[D.target]].push(e(D)),d[g[D.target]].push(n(D)),d[g[D.target]].push(0)}var H=0;for(_=0;_<o.length;_++){var Z=i.length,te=d[_],de=te.length;i[4*_+2]=Z+1048576*de/4,i[4*_+3]=0,H=Math.max(H,de/4);for(var Pe=0;Pe<de;++Pe){var Ge=te[Pe];i.push(+Ge)}}for(;i.length%4!=0;)i.push(0);return{array:new Float32Array(i),maxEdgePerVetex:H}},G=function(o,t){var e=[],n=o.length,i={};return t.forEach(function(d){o.forEach(function(g,_){if(i[d[g]]===void 0&&(i[d[g]]=Object.keys(i).length),e.push(i[d[g]]),_===n-1)for(;e.length%4!=0;)e.push(0)})}),{array:new Float32Array(e),count:Object.keys(i).length}},ze=function(o){for(var t=[],e=o.length,n=o[0].length,i=function(g){o.forEach(function(_,I){if(t.push(_[g]),I===e-1)for(;t.length%4!=0;)t.push(0)})},d=0;d<n;d++)i(d);return new Float32Array(t)},ut=function(o,t){var e={x:1/0,y:1/0},n={x:-1/0,y:-1/0},i=\"x\",d=\"y\";t&&[\"V\",\"TB\",\"BT\"].indexOf(t)>=0&&(d=\"x\",i=\"y\");var g=0;ra(o,function(D){return g++,D.x>n.x&&(n.x=D.x),D.x<e.x&&(e.x=D.x),D.y>n.y&&(n.y=D.y),D.y<e.y&&(e.y=D.y),!0});var _=2*Math.PI/g,I=n[d]-e[d];return I===0||ra(o,function(D){var H=(D[d]-e[d])/I*(2*Math.PI-_)+_,Z=Math.abs(i===\"x\"?D.x-o.x:D.y-o.y);return D.x=Z*Math.cos(H),D.y=Z*Math.sin(H),!0}),o},_t=function o(){return typeof window==\"undefined\"||typeof document==\"undefined\"?{}:{canvas:!!window.CanvasRenderingContext2D,webgl:function(){try{var t=document.createElement(\"canvas\");return!(!window.WebGLRenderingContext||!t.getContext(\"webgl\")&&!t.getContext(\"experimental-webgl\"))}catch(e){return!1}}(),workers:!!window.Worker,fileapi:window.File&&window.FileReader&&window.FileList&&window.Blob,getWebGLErrorMessage:function(){var t=document.createElement(\"div\");return t.id=\"webgl-error-message\",t.style.fontFamily=\"monospace\",t.style.fontSize=\"13px\",t.style.fontWeight=\"normal\",t.style.textAlign=\"center\",t.style.background=\"#fff\",t.style.color=\"#000\",t.style.padding=\"1.5em\",t.style.width=\"400px\",t.style.margin=\"5em auto 0\",this.webgl||(t.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`)),t},addGetWebGLMessage:function(t){var e=(t=t||{}).parent!==void 0?t.parent:document.body,n=t.id!==void 0?t.id:\"oldie\",i=o().getWebGLErrorMessage();i.id=n,e.appendChild(i)}}},Ht=Object(l.__assign)(Object(l.__assign)(Object(l.__assign)(Object(l.__assign)({},Oa),u),a),f),$t=Ht.radialLayout,wn=function(){function o(t){this.type=t.type,this.radial=t.radial,this.config=t}return o.prototype.init=function(t){var e=this;this.data=t,this.radial?this.layoutMethod=function(n){var i=Ca.a[e.type](n,e.config);return $t(i),i}:this.layoutMethod=function(n){return Ca.a[e.type](n,e.config)}},o.prototype.execute=function(){return this.layoutMethod(this.data,this.config)},o.prototype.layout=function(t){return this.init(t),this.execute()},o}();Object(Li.registerLayout)(\"grid\",Li.GridLayout),Object(Li.registerLayout)(\"random\",Li.RandomLayout),Object(Li.registerLayout)(\"force\",Li.ForceLayout),Object(Li.registerLayout)(\"circular\",Li.CircularLayout),Object(Li.registerLayout)(\"dagre\",Li.DagreLayout),Object(Li.registerLayout)(\"dagreCompound\",Li.DagreCompoundLayout),Object(Li.registerLayout)(\"radial\",Li.RadialLayout),Object(Li.registerLayout)(\"concentric\",Li.ConcentricLayout),Object(Li.registerLayout)(\"mds\",Li.MDSLayout),Object(Li.registerLayout)(\"fruchterman\",Li.FruchtermanLayout),Object(Li.registerLayout)(\"fruchterman-gpu\",Li.FruchtermanGPULayout),Object(Li.registerLayout)(\"gForce\",Li.GForceLayout),Object(Li.registerLayout)(\"force2\",Li.Force2Layout),Object(Li.registerLayout)(\"gForce-gpu\",Li.GForceGPULayout),Object(Li.registerLayout)(\"comboForce\",Li.ComboForceLayout),Object(Li.registerLayout)(\"comboCombined\",Li.ComboCombinedLayout),Object(Li.registerLayout)(\"forceAtlas2\",Li.ForceAtlas2Layout);var On=function(o,t){t.isCustomLayout=!0,Li.Layouts[o]=Object(Li.registerLayout)(o,t)},$n=function(o,t){var e=o.toString(),n=new Blob([\"importScripts('\".concat(t,\"');(\").concat(e,\")()\")],{type:\"text/javascript\"});return new Worker(URL.createObjectURL(n))},gr=function(o){return o===void 0&&(o=\"https://unpkg.com/@antv/layout@latest/dist/layout.min.js\"),new $n(function(){var t=\"LAYOUT_RUN\",e=\"LAYOUT_END\",n=\"LAYOUT_ERROR\",i=\"GPU_LAYOUT_RUN\";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(d){(function(g){var _=g.data.type;return _===t||_===i})(d)&&function(g){var _=this;switch(g.data.type){case t:var I,D=g.data,H=D.nodes,Z=D.edges,te=D.layoutCfg,de=(yt=te===void 0?{}:te).type;if(!(Pe=layout.getLayoutByName(de))){this.postMessage({type:n,message:\"layout \".concat(de,\" not found\")});break}yt.onLayoutEnd=function(){_.postMessage({type:e,nodes:H}),I==null||I.destroy()},(I=new Pe(yt)).init({nodes:H,edges:Z}),I.execute();break;case i:var Pe,Ge=g.data,Qe=Ge.nodes,Xe=(Z=Ge.edges,Ge.layoutCfg),yt=Xe===void 0?{}:Xe,Ct=Ge.canvas;if(de=yt.type,!(Pe=layout.getLayoutByName(de))){this.postMessage({type:n,message:\"layout \".concat(de,\" not found\")});break}if(de.split(\"-\")[1]!==\"gpu\"){this.postMessage({type:n,message:\"layout \".concat(de,\" does not support GPU\")});break}var on=new Pe(yt);on.init({nodes:Qe,edges:Z}),on.executeWithWorker(Ct,this)}}(d)}},o)},Fr=\"LAYOUT_RUN\",Qr=\"LAYOUT_END\",qr=\"LAYOUT_ERROR\",mo=\"LAYOUT_TICK\",Ho=\"GPU_LAYOUT_RUN\",fo=\"GPU_LAYOUT_END\";function ei(o){return(ei=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(t){return typeof t}:function(t){return t&&typeof Symbol==\"function\"&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t})(o)}var ea=function(o){return setTimeout(o,16)},Xi=function(o){return clearTimeout(o)},hi=function(o){return(typeof window!=\"undefined\"&&(window.requestAnimationFrame||window.webkitRequestAnimationFrame)||ea)(o)},Yo=function(o){return(typeof window!=\"undefined\"&&(window.cancelAnimationFrame||window.webkitCancelAnimationFrame)||Xi)(o)},Bi=[\"fruchterman\",\"gForce\"],_a=[\"force\",\"grid\",\"circular\"],wa=function(o){function t(e){var n=o.call(this,e)||this;return n.graph=e,n.layoutCfg=e.get(\"layout\")||{},n.layoutType=n.getLayoutType(),n.worker=null,n.workerData={},n.initLayout(),n}return Object(l.__extends)(t,o),t.prototype.initLayout=function(){},t.prototype.getWorker=function(){return this.worker||(typeof Worker==\"undefined\"?(console.warn(\"Web worker is not supported in current browser.\"),this.worker=null):this.worker=gr(this.layoutCfg.workerScriptURL)),this.worker},t.prototype.stopWorker=function(){var e=this.workerData;this.worker&&(this.worker.terminate(),this.worker=null,e.requestId&&(Yo(e.requestId),e.requestId=null),e.requestId2&&(Yo(e.requestId2),e.requestId2=null))},t.prototype.execLayoutMethod=function(e,n){var i=this;return new Promise(function(d,g){return Object(l.__awaiter)(i,void 0,void 0,function(){var _,I,D,H,Z,te,de,Pe,Ge;return Object(l.__generator)(this,function(Qe){switch(Qe.label){case 0:if(!(_=this.graph)||_.get(\"destroyed\"))return[2];I=e.type,e.onLayoutEnd=function(){_.emit(\"aftersublayout\",{type:I}),d()},I&&this.isGPU&&(tr(I)?I=\"\".concat(I,\"-gpu\"):console.warn(\"The '\".concat(I,\"' layout does not support GPU calculation for now, it will run in CPU.\"))),Oa.isForce(I)?(D=e.onTick,H=e.animate,Z=H===void 0&&(I===\"force\"||I===\"force2\"),Pe=function(){D&&D(),(H||Z)&&_.refreshPositions()},e.tick=Pe):I!==\"comboForce\"&&I!==\"comboCombined\"||(e.comboTrees=_.get(\"comboTrees\"));try{te=new Li.Layouts[I](e),this.layoutMethods[n]&&this.layoutMethods[n].destroy(),this.layoutMethods[n]=te}catch(Xe){console.warn(\"The layout method: '\".concat(I,\"' does not exist! Please specify it first.\")),g()}return te.enableTick&&(de=e.onTick,Pe=function(){de&&de(),_.refreshPositions()},te.tick=Pe),function(Xe,yt){var Ct;!((Ct=Xe==null?void 0:Xe.nodes)===null||Ct===void 0)&&Ct.length&&Xe.nodes.forEach(function(on){on.layoutOrder=yt})}(Ge=this.filterLayoutData(this.data,e),n),te.init(Ge),_.emit(\"beforesublayout\",{type:I}),[4,te.execute()];case 1:return Qe.sent(),te.isCustomLayout&&e.onLayoutEnd&&e.onLayoutEnd(),[2]}})})})},t.prototype.updateLayoutMethod=function(e,n){var i=this;return new Promise(function(d,g){return Object(l.__awaiter)(i,void 0,void 0,function(){var _,I,D;return Object(l.__generator)(this,function(H){switch(H.label){case 0:return _=this.graph,I=n==null?void 0:n.type,n.onLayoutEnd=function(){_.emit(\"aftersublayout\",{type:I}),d()},D=this.filterLayoutData(this.data,n),e.init(D),e.updateCfg(n),_.emit(\"beforesublayout\",{type:I}),[4,e.execute()];case 1:return H.sent(),e.isCustomLayout&&n.onLayoutEnd&&n.onLayoutEnd(),[2]}})})})},t.prototype.layout=function(e){var n,i=this,d=this.graph;if(d&&!d.get(\"destroyed\")){this.data=this.setDataFromGraph();var g=this.data,_=g.nodes,I=g.hiddenNodes;if(!_)return!1;var D=d.get(\"width\"),H=d.get(\"height\"),Z={};Object.assign(Z,{width:D,height:H,center:[D/2,H/2]},this.layoutCfg),this.layoutCfg=Z;var te=Z.type,de=!1;(n=this.layoutMethods)===null||n===void 0||n.forEach(function(on){var sn;return de=!!(!((sn=on.nodes)===null||sn===void 0)&&sn.length)||de});var Pe=this.destoryLayoutMethods();d.emit(\"beforelayout\");var Ge=Promise.resolve();de&&te&&(Pe==null?void 0:Pe.length)===1&&Pe[0]===te?this.tweakInit():Ge=this.initPositions(Z.center,_),this.initPositions(Z.center,I).then(),this.isGPU=Sa(Z,te);var Qe=Z.onLayoutEnd,Xe=Z.layoutEndFormatted,yt=Z.adjust;if(Xe||(Z.layoutEndFormatted=!0,Z.onAllLayoutEnd=function(){return Object(l.__awaiter)(i,void 0,void 0,function(){return Object(l.__generator)(this,function(on){switch(on.label){case 0:return Qe&&Qe(_),this.refreshLayout(),yt&&Z.pipes?[4,this.adjustPipesBox(this.data,yt)]:[3,2];case 1:on.sent(),this.refreshLayout(),on.label=2;case 2:return d.emit(\"afterlayout\"),[2]}})})}),this.stopWorker(),Z.workerEnabled&&this.layoutWithWorker(this.data,e))return!0;var Ct=!1;return Z.type?(Ct=!0,Ge=Ge.then(function(){return Object(l.__awaiter)(i,void 0,void 0,function(){return Object(l.__generator)(this,function(on){switch(on.label){case 0:return[4,this.execLayoutMethod(Z,0)];case 1:return[2,on.sent()]}})})})):Z.pipes&&(Ct=!0,Z.pipes.forEach(function(on,sn){Ge=Ge.then(function(){return Object(l.__awaiter)(i,void 0,void 0,function(){return Object(l.__generator)(this,function(Nn){switch(Nn.label){case 0:return[4,this.execLayoutMethod(on,sn)];case 1:return[2,Nn.sent()]}})})})})),Ct?Ge.then(function(){Z.onAllLayoutEnd&&Z.onAllLayoutEnd(),e&&e()}).catch(function(on){console.warn(\"graph layout failed,\",on)}):(d.refreshPositions(),e==null||e()),!1}},t.prototype.tweakInit=function(){var e=this.data,n=this.graph,i=e.nodes,d=e.edges;if(i!=null&&i.length){var g={};i.forEach(function(D){var H=D.x,Z=D.y;isNaN(H)||isNaN(Z)||(g[D.id]={x:H,y:Z},D.mass=D.mass||2)}),d.forEach(function(D){var H=D.source,Z=D.target,te=g[H],de=g[Z];!te&&de?g[H]={x:de.x+80*(Math.random()-.5),y:de.y+80*(Math.random()-.5)}:!de&&te&&(g[Z]={x:te.x+80*(Math.random()-.5),y:te.y+80*(Math.random()-.5)})});var _=n.get(\"width\"),I=n.get(\"height\");i.forEach(function(D){var H=g[D.id]||{x:_/2+20*(Math.random()-.5),y:I/2+20*(Math.random()-.5)};D.x=H.x,D.y=H.y})}},t.prototype.initWithPreset=function(e,n){var i=this;return new Promise(function(d,g){return Object(l.__awaiter)(i,void 0,void 0,function(){var _,I,D,H,Z,te,de;return Object(l.__generator)(this,function(Pe){switch(Pe.label){case 0:return I=(_=this).layoutCfg,D=_.data,(H=I.preset)!=null&&H.type&&Li.Layouts[H==null?void 0:H.type]?(Z=Sa(H,H.type),te=Z?\"\".concat(H.type,\"-gpu\"):H.type,de=new Li.Layouts[te](H),delete I.preset,de.init(D),[4,de.execute()]):(n==null||n(),d(),[2,!1]);case 1:return Pe.sent(),e==null||e(),d(),[2,!0]}})})})},t.prototype.layoutWithWorker=function(e,n){var i=this,d=this.layoutCfg,g=this.graph,_=this.getWorker(),I=this.workerData;if(!_)return!1;I.requestId=null,I.requestId2=null,I.currentTick=null,I.currentTickData=null,g.emit(\"beforelayout\");var D=Promise.resolve(),H=!1;if(d.type)H=!0,D=D.then(function(){return i.runWebworker(_,e,d)});else if(d.pipes){H=!0;for(var Z=function(Pe){D=D.then(function(){return i.runWebworker(_,e,Pe)})},te=0,de=d.pipes;te<de.length;te++)Z(de[te])}return H&&D.then(function(){d.onAllLayoutEnd&&d.onAllLayoutEnd(),n==null||n()}).catch(function(Pe){console.error(\"layout failed\",Pe)}),!0},t.prototype.runWebworker=function(e,n,i){var d=this,g=this.isGPU,_=this.filterLayoutData(n,i),I=_.nodes,D=_.edges,H=document.createElement(\"canvas\"),Z=g&&typeof window!=\"undefined\"&&window.navigator&&!navigator.gpu&&\"OffscreenCanvas\"in window&&\"transferControlToOffscreen\"in H,te=function(Pe,Ge){var Qe={};return Pe&&ei(Pe)===\"object\"?(Object.keys(Pe).forEach(function(Xe){Pe.hasOwnProperty(Xe)&&Ge(Pe[Xe])&&(Qe[Xe]=Pe[Xe])}),Qe):Pe}(i,function(Pe){return typeof Pe!=\"function\"});if(Z){var de=H.transferControlToOffscreen();te.type=\"\".concat(te.type,\"-gpu\"),e.postMessage({type:Ho,nodes:I,edges:D,layoutCfg:te,canvas:de},[de])}else e.postMessage({type:Fr,nodes:I,edges:D,layoutCfg:te});return new Promise(function(Pe,Ge){e.onmessage=function(Qe){d.handleWorkerMessage(Pe,Ge,Qe,_,i)}})},t.prototype.handleWorkerMessage=function(e,n,i,d,g){var _=this.graph,I=this.workerData,D=i.data,H=D.type,Z=function(){g.onTick&&g.onTick()};switch(H){case mo:I.currentTick=D.currentTick,I.currentTickData=D,I.requestId||(I.requestId=hi(function(){Ia(d,D),_.refreshPositions(),Z(),D.currentTick===D.totalTicks?e():I.currentTick===D.totalTicks&&(I.requestId2=hi(function(){Ia(d,I.currentTickData),_.refreshPositions(),I.requestId2=null,Z(),e()})),I.requestId=null}));break;case Qr:I.currentTick==null&&(Ia(d,D),e());break;case fo:I.currentTick==null&&(function(te,de){for(var Pe=te.nodes,Ge=de.vertexEdgeData,Qe=Pe.length,Xe=0;Xe<Qe;Xe++){var yt=Pe[Xe],Ct=Ge[4*Xe],on=Ge[4*Xe+1];yt.x=Ct,yt.y=on}}(d,D),e());break;case qr:console.warn(\"Web-Worker layout error!\",D.message),n();break;default:n()}},t.prototype.updateLayoutCfg=function(e){var n=this,i=this.graph,d=this.layoutMethods;if(i&&!i.get(\"destroyed\")){var g=e.disableTriggerLayout,_=Object(l.__rest)(e,[\"disableTriggerLayout\"]),I=Object(s.mix)({},this.layoutCfg,_);if(this.layoutCfg=I,!g)if(d!=null&&d.length){if(this.data=this.setDataFromGraph(),this.stopWorker(),!_.workerEnabled||!this.layoutWithWorker(this.data,null)){i.emit(\"beforelayout\");var D=Promise.resolve(),H=!1;(d==null?void 0:d.length)===1?(H=!0,D=D.then(function(){return Object(l.__awaiter)(n,void 0,void 0,function(){return Object(l.__generator)(this,function(Z){switch(Z.label){case 0:return[4,this.updateLayoutMethod(d[0],I)];case 1:return[2,Z.sent()]}})})})):d!=null&&d.length&&(H=!0,d.forEach(function(Z,te){var de=I.pipes[te];D=D.then(function(){return Object(l.__awaiter)(n,void 0,void 0,function(){return Object(l.__generator)(this,function(Pe){switch(Pe.label){case 0:return[4,this.updateLayoutMethod(Z,de)];case 1:return[2,Pe.sent()]}})})})})),H&&D.then(function(){I.onAllLayoutEnd&&I.onAllLayoutEnd()}).catch(function(Z){console.warn(\"layout failed\",Z)})}}else this.layout()}},t.prototype.adjustPipesBox=function(e,n){var i=this;return new Promise(function(d){var g=e.nodes;g!=null&&g.length||d(),_a.includes(n)||(console.warn(\"The adjust type \".concat(n,\" is not supported yet, please assign it with 'force', 'grid', or 'circular'.\")),d());var _={center:i.layoutCfg.center,nodeSize:function(te){return Math.max(te.height,te.width)},preventOverlap:!0,onLayoutEnd:function(){}},I=i.getLayoutBBox(g),D=I.groupNodes,H=I.layoutNodes,Z=Object(s.clone)(H);_.onLayoutEnd=function(){H==null||H.forEach(function(te,de){var Pe,Ge,Qe,Xe=te.x-((Pe=Z[de])===null||Pe===void 0?void 0:Pe.x),yt=te.y-((Ge=Z[de])===null||Ge===void 0?void 0:Ge.y);(Qe=D[de])===null||Qe===void 0||Qe.forEach(function(Ct){Ct.x+=Xe,Ct.y+=yt})}),d()},new Li.Layouts[n](_).layout({nodes:H})})},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}(Ma);function Ia(o,t){for(var e=o.nodes,n=t.nodes,i=e.length,d=0;d<i;d++){var g=e[d];g.x=n[d].x,g.y=n[d].y}}function tr(o){return Bi.includes(o)}function Sa(o,t){var e=t;t&&t.split(\"-\")[1]===\"gpu\"&&(e=t.split(\"-\")[0],o.gpuEnabled=!0);var n=!1;return o.gpuEnabled&&(n=!0,_t().webgl||(console.warn(\"Your browser does not support webGL or GPGPU. The layout will run in CPU.\"),n=!1)),n&&!tr(e)&&(console.warn(\"The '\".concat(e,\"' layout does not support GPU calculation for now, it will run in CPU.\")),n=!1),n}var Ta,ga=function o(t,e){var n;t.isGroup()&&e.isGroup()&&((n=t.get(\"children\"))===null||n===void 0||n.forEach(function(_,I){var D=e.get(\"children\")[I];o(_,D)}));var i=t.get(\"type\"),d=e.get(\"type\");if(i===\"image\"&&d===\"image\"){var g=t.get(\"clipShape\");g&&e.setClip({type:g.get(\"type\"),attrs:g.attr()})}},Fi=j.a.transform,Cs=function(o){function t(e){var n=o.call(this,e)||this,i=n.get(\"defaultNode\");return i||n.set(\"defaultNode\",{type:\"circle\"}),i.type||(i.type=\"circle\",n.set(\"defaultNode\",i)),n.destroyed=!1,n}return Object(l.__extends)(t,o),t.prototype.initLayoutController=function(){var e=new wa(this);this.set({layoutController:e})},t.prototype.initEventController=function(){var e=new xs(this);this.set({eventController:e})},t.prototype.initCanvas=function(){var e=this.get(\"container\");if(typeof e==\"string\"&&(e=document.getElementById(e),this.set(\"container\",e)),!e)throw new Error(\"invalid container\");var n,i=e.clientWidth,d=e.clientHeight,g=this.get(\"width\")||i,_=this.get(\"height\")||d;if(this.get(\"width\")||this.get(\"height\")||(this.set(\"width\",i),this.set(\"height\",d)),this.get(\"renderer\")===\"svg\")n=new rr.Canvas({container:e,width:g,height:_});else{var I={container:e,width:g,height:_},D=this.get(\"pixelRatio\");D&&(I.pixelRatio=D,window.devicePixelRatio=D),n=new Za.Canvas(I)}this.set(\"canvas\",n)},t.prototype.initPlugins=function(){var e=this;Object(s.each)(e.get(\"plugins\"),function(n){!n.destroyed&&n.initPlugin&&n.initPlugin(e)})},t.prototype.downloadImageWatermark=function(e,n,i,d){return Object(l.__awaiter)(this,void 0,void 0,function(){var g,_,I;return Object(l.__generator)(this,function(D){switch(D.label){case 0:return g=e.style.backgroundImage,_=g.slice(5,g.length-2),(I=new Image).src=_,[4,new Promise(function(H){I.onload=function(){var Z=n.createPattern(I,\"repeat\");n.rect(0,0,i,d),n.fillStyle=Z,n.fill(),H(\"\")}})];case 1:return D.sent(),[2]}})})},t.prototype.asyncToDataUrl=function(e,n,i,d,g,_){var I=this,D=document.querySelector(\".g6-graph-watermarker\"),H=this.get(\"canvas\"),Z=H.getRenderer(),te=_||H.get(\"el\"),de=\"\";e||(e=\"image/png\"),setTimeout(function(){return Object(l.__awaiter)(I,void 0,void 0,function(){var Pe,Ge,Qe,Xe,yt,Ct,on,sn,Nn,Tn;return Object(l.__generator)(this,function(Bn){switch(Bn.label){case 0:return Z!==\"svg\"?[3,1]:(Pe=te.cloneNode(!0),Ge=document.implementation.createDocumentType(\"svg\",\"-//W3C//DTD SVG 1.1//EN\",\"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\"),(Qe=document.implementation.createDocument(\"http://www.w3.org/2000/svg\",\"svg\",Ge)).replaceChild(Pe,Qe.documentElement),Xe=new XMLSerializer().serializeToString(Qe),de=\"data:image/svg+xml;charset=utf8,\".concat(encodeURIComponent(Xe)),[3,4]);case 1:return yt=void 0,Ct=te.getContext(\"2d\"),on=d||this.get(\"width\"),sn=g||this.get(\"height\"),Nn=void 0,D?[4,this.downloadImageWatermark(D,Ct,on,sn)]:[3,3];case 2:Bn.sent(),Bn.label=3;case 3:if(n){Tn=typeof window!=\"undefined\"?window.devicePixelRatio:1;try{yt=Ct.getImageData(0,0,on*Tn,sn*Tn),Nn=Ct.globalCompositeOperation,Ct.globalCompositeOperation=\"destination-over\",Ct.fillStyle=n,Ct.fillRect(0,0,on,sn)}catch(Hn){console.error(\"Download image failed. Out of memory at ImageData creation\")}}de=te.toDataURL(e),n&&(Ct.clearRect(0,0,on,sn),Ct.putImageData(yt,0,0),Ct.globalCompositeOperation=Nn),Bn.label=4;case 4:return i&&i(de),[2]}})})},16)},t.prototype.toDataURL=function(e,n){var i=this.get(\"canvas\"),d=i.getRenderer(),g=i.get(\"el\");e||(e=\"image/png\");var _=\"\";if(d===\"svg\"){var I=g.cloneNode(!0),D=document.implementation.createDocumentType(\"svg\",\"-//W3C//DTD SVG 1.1//EN\",\"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\"),H=document.implementation.createDocument(\"http://www.w3.org/2000/svg\",\"svg\",D);H.replaceChild(I,H.documentElement);var Z=new XMLSerializer().serializeToString(H);_=\"data:image/svg+xml;charset=utf8,\".concat(encodeURIComponent(Z))}else{var te=void 0,de=g.getContext(\"2d\"),Pe=Math.max(this.get(\"width\"),500),Ge=Math.max(this.get(\"height\"),500),Qe=void 0;if(n){var Xe=typeof window!=\"undefined\"&&window.devicePixelRatio||1;try{te=de.getImageData(0,0,Pe*Xe,Ge*Xe),Qe=de.globalCompositeOperation,de.globalCompositeOperation=\"destination-over\",de.fillStyle=n,de.fillRect(0,0,Pe,Ge)}catch(yt){console.error(\"Download image failed. Out of memory at ImageData creation\")}}_=g.toDataURL(e),n&&(de.clearRect(0,0,Pe,Ge),de.putImageData(te,0,0),de.globalCompositeOperation=Qe)}return _},t.prototype.toFullDataURL=function(e,n,i){var d=this.get(\"group\").getCanvasBBox(),g=d.height,_=d.width,I=this.get(\"renderer\"),D=_i('<div id=\"virtual-image\"></div>'),H=i?i.backgroundColor:void 0,Z=i?i.padding:void 0;Z?Object(s.isNumber)(Z)&&(Z=[Z,Z,Z,Z]):Z=[0,0,0,0];var te=g+Z[0]+Z[2],de=_+Z[1]+Z[3],Pe={container:D,height:te,width:de,quickHit:!0},Ge=I===\"svg\"?new rr.Canvas(Pe):new Za.Canvas(Pe),Qe=this.get(\"group\").clone(),Xe=Object(s.clone)(Qe.getMatrix());Xe||(Xe=[1,0,0,0,1,0,0,0,1]);var yt=(d.maxX+d.minX)/2,Ct=(d.maxY+d.minY)/2;Xe=Fi(Xe,[[\"t\",-yt,-Ct],[\"t\",_/2+Z[3],g/2+Z[0]]]),Qe.resetMatrix(),Qe.setMatrix(Xe),Ge.add(Qe);var on=Ge.get(\"el\"),sn=\"\";n||(n=\"image/png\"),setTimeout(function(){if(I===\"svg\"){var Nn=on.cloneNode(!0),Tn=document.implementation.createDocumentType(\"svg\",\"-//W3C//DTD SVG 1.1//EN\",\"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\"),Bn=document.implementation.createDocument(\"http://www.w3.org/2000/svg\",\"svg\",Tn);Bn.replaceChild(Nn,Bn.documentElement);var Hn=new XMLSerializer().serializeToString(Bn);sn=\"data:image/svg+xml;charset=utf8,\".concat(encodeURIComponent(Hn))}else{var Sr=void 0,Cr=on.getContext(\"2d\"),po=void 0;if(H){var wo=typeof window!=\"undefined\"?window.devicePixelRatio:1;try{Sr=Cr.getImageData(0,0,de*wo,te*wo),po=Cr.globalCompositeOperation,Cr.globalCompositeOperation=\"destination-over\",Cr.fillStyle=H,Cr.fillRect(0,0,de,te)}catch(Po){console.error(\"Download image failed. Out of memory at ImageData creation\")}}sn=on.toDataURL(n),H&&(Cr.clearRect(0,0,de,te),Cr.putImageData(Sr,0,0),Cr.globalCompositeOperation=po)}e&&e(sn)},16)},t.prototype.downloadFullImage=function(e,n,i){var d=this,g=this.get(\"group\").getCanvasBBox(),_=g.height,I=g.width,D=this.get(\"renderer\"),H=_i('<div id=\"virtual-image\"></div>'),Z=document.querySelector(\".g6-graph-watermarker\"),te=i?i.backgroundColor:void 0,de=i?i.padding:void 0;de?Object(s.isNumber)(de)&&(de=[de,de,de,de]):de=[0,0,0,0];var Pe=_+de[0]+de[2],Ge=I+de[1]+de[3];if(Z){var Qe=this.get(\"graphWaterMarker\").cfg||{},Xe=Qe.width,yt=Qe.height;Pe=Math.ceil(Pe/yt)*yt,Ge=Math.ceil(Ge/Xe)*Xe}var Ct,on,sn={container:H,height:Pe,width:Ge},Nn=D===\"svg\"?new rr.Canvas(sn):new Za.Canvas(sn),Tn=this.get(\"group\"),Bn=(on=(Ct=Tn).clone(),ga(Ct,on),on),Hn=Object(s.clone)(Bn.getMatrix());Hn||(Hn=[1,0,0,0,1,0,0,0,1]);var Sr=(g.maxX+g.minX)/2,Cr=(g.maxY+g.minY)/2;Hn=Fi(Hn,[[\"t\",-Sr,-Cr],[\"t\",I/2+de[3],_/2+de[0]]]),Bn.resetMatrix(),Bn.setMatrix(Hn),Nn.add(Bn);var po=Nn.get(\"el\");n||(n=\"image/png\"),this.asyncToDataUrl(n,te,function(wo){var Po=document.createElement(\"a\"),Xo=(e||\"graph\")+(D===\"svg\"?\".svg\":\".\".concat(n.split(\"/\")[1]));d.dataURLToImage(wo,D,Po,Xo);var ri=document.createEvent(\"MouseEvents\");ri.initEvent(\"click\",!1,!1),Po.dispatchEvent(ri)},Ge,Pe,po)},t.prototype.downloadImage=function(e,n,i){var d=this;this.stopAnimate();var g=this.get(\"canvas\").getRenderer();n||(n=\"image/png\");var _=(e||\"graph\")+(g===\"svg\"?\".svg\":n.split(\"/\")[1]),I=document.createElement(\"a\");this.asyncToDataUrl(n,i,function(D){d.dataURLToImage(D,g,I,_);var H=document.createEvent(\"MouseEvents\");H.initEvent(\"click\",!1,!1),I.dispatchEvent(H)})},t.prototype.dataURLToImage=function(e,n,i,d){if(e&&e!==\"data:\"){if(typeof window!=\"undefined\")if(window.Blob&&window.URL&&n!==\"svg\"){var g=e.split(\",\"),_=\"\";if(g&&g.length>0){var I=g[0].match(/:(.*?);/);I&&I.length>=2&&(_=I[1])}for(var D=atob(g[1]),H=D.length,Z=new Uint8Array(H);H--;)Z[H]=D.charCodeAt(H);var te=new Blob([Z],{type:_});window.navigator.msSaveBlob?window.navigator.msSaveBlob(te,d):i.addEventListener(\"click\",function(){i.download=d,i.href=window.URL.createObjectURL(te)})}else i.addEventListener(\"click\",function(){i.download=d,i.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){e.destroyed||(this.get(\"plugins\").push(e),e.initPlugin(this))},t.prototype.removePlugin=function(e){var n=this.get(\"plugins\"),i=n.indexOf(e);i>=0&&(e.destroyPlugin(),n.splice(i,1))},t.prototype.setImageWaterMarker=function(e,n){e===void 0&&(e=di.waterMarkerImage);var i=this.get(\"container\");Object(s.isString)(i)&&(i=document.getElementById(i)),i.style.position||(i.style.position=\"relative\");var d=this.get(\"graphWaterMarker\"),g=Object(s.deepMix)({},di.imageWaterMarkerConfig,n),_=g.width,I=g.height,D=g.compatible,H=g.image;if(!e){var Z=D?i:document.querySelector(\".g6-graph-watermarker\");return Z&&(Z.style.cssText=void 0),void(d&&d.clear())}if(d)d.clear();else{var te={container:i,width:_,height:I,capture:!1},de=this.get(\"pixelRatio\");de&&(te.pixelRatio=de,window.devicePixelRatio=de),d=new Za.Canvas(te),this.set(\"graphWaterMarker\",d)}d.get(\"el\").style.display=\"none\";var Pe=d.get(\"context\"),Ge=H.rotate,Qe=H.x,Xe=H.y;Pe.rotate(-Ge*Math.PI/180);var yt=new Image;yt.crossOrigin=\"anonymous\",yt.src=e,yt.onload=function(){if(Pe.drawImage(yt,Qe,Xe,H.width,H.height),Pe.rotate(Ge*Math.PI/180),D)i.style.cssText=\"background-image: url(\".concat(d.get(\"el\").toDataURL(\"image/png\"),\");background-repeat:repeat;\");else{var Ct=document.querySelector(\".g6-graph-watermarker\");Ct||((Ct=document.createElement(\"div\")).className=\"g6-graph-watermarker\"),Ct.className=\"g6-graph-watermarker\",d.destroyed||(Ct.style.cssText=\"background-image: url(\".concat(d.get(\"el\").toDataURL(\"image/png\"),\");background-repeat:repeat;position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:none;z-index:-1;\"),i.appendChild(Ct))}}},t.prototype.setTextWaterMarker=function(e,n){var i=this.get(\"container\");Object(s.isString)(i)&&(i=document.getElementById(i)),i.style.position||(i.style.position=\"relative\");var d=this.get(\"graphWaterMarker\"),g=Object(s.deepMix)({},di.textWaterMarkerConfig,n),_=g.width,I=g.height,D=g.compatible,H=g.text;if(!(e!=null&&e.length)){var Z=D?i:document.querySelector(\".g6-graph-watermarker\");return Z&&(Z.style.cssText=void 0),void(d&&d.clear())}if(d)d.clear();else{var te={container:i,width:_,height:I,capture:!1},de=this.get(\"pixelRatio\");de&&(te.pixelRatio=de,window.devicePixelRatio=de),d=new Za.Canvas(te),this.set(\"graphWaterMarker\",d)}d.get(\"el\").style.display=\"none\";var Pe=d.get(\"context\"),Ge=H.rotate,Qe=H.fill,Xe=H.fontFamily,yt=H.fontSize,Ct=H.baseline,on=H.x,sn=H.y,Nn=H.lineHeight;Pe.rotate(-Ge*Math.PI/180),Pe.font=\"\".concat(yt,\"px \").concat(Xe),Pe.fillStyle=Qe,Pe.textBaseline=Ct;for(var Tn=Object(s.isString)(e)?[e]:e,Bn=Tn.length-1;Bn>=0;Bn--)Pe.fillText(Tn[Bn],on,sn+Bn*Nn);if(Pe.rotate(Ge*Math.PI/180),D)i.style.cssText=\"background-image: url(\".concat(d.get(\"el\").toDataURL(\"image/png\"),\");background-repeat:repeat;\");else{var Hn=document.querySelector(\".g6-graph-watermarker\");Hn||((Hn=document.createElement(\"div\")).className=\"g6-graph-watermarker\"),Hn.style.cssText=\"background-image: url(\".concat(d.get(\"el\").toDataURL(\"image/png\"),\");background-repeat:repeat;position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:none;z-index:99;\"),i.appendChild(Hn)}},t.prototype.destroy=function(){var e,n,i,d;Object(s.each)(this.get(\"plugins\"),function(H){H.destroyPlugin()});var g=this.get(\"tooltips\");if(g)for(var _=0;_<g.length;_++){var I=g[_];if(I){var D=I.parentElement;D&&D.removeChild(I)}}(e=this.get(\"eventController\"))===null||e===void 0||e.destroy(),(n=this.get(\"layoutController\"))===null||n===void 0||n.destroy(),(i=this.get(\"graphWaterMarker\"))===null||i===void 0||i.destroy(),(d=document.querySelector(\".g6-graph-watermarker\"))===null||d===void 0||d.remove(),o.prototype.destroy.call(this)},t}(ho),yn=Ht.radialLayout,zs=Ht.traverseTree,ds=function(o){function t(e){var n=o.call(this,e)||this;return n.layoutAnimating=!1,n.set(\"removeList\",[]),n.set(\"layoutMethod\",n.getLayout()),n}return Object(l.__extends)(t,o),t.prototype.getLayout=function(){var e=this.get(\"layout\");return e?typeof e==\"function\"?e:(e.type||(e.type=\"dendrogram\"),e.direction||(e.direction=e.type===\"indented\"?\"LR\":\"TB\"),e.radial?function(n){var i=Ca.a[e.type](n,e);return yn(i),i}:function(n){return Ca.a[e.type](n,e)}):null},t.indexOfChild=function(e,n){var i=-1;return Object(s.each)(e,function(d,g){if(n===d.id)return i=g,!1}),i},t.prototype.getDefaultCfg=function(){var e=o.prototype.getDefaultCfg.call(this);return e.animate=!0,e},t.prototype.innerAddChild=function(e,n,i){var d=this,g=e.data;g&&(g.x=e.x,g.y=e.y,g.depth=e.depth);var _=d.addItem(\"node\",g,!1);if(n){if(_.set(\"parent\",n),i){var I=n.get(\"originAttrs\");if(I)_.set(\"originAttrs\",I);else{var D=n.getModel();_.set(\"originAttrs\",{x:D.x,y:D.y})}}var H=n.get(\"children\");H?H.push(_):n.set(\"children\",[_]),d.addItem(\"edge\",{source:n.get(\"id\"),target:_.get(\"id\"),id:\"\".concat(n.get(\"id\"),\":\").concat(_.get(\"id\"))},!1)}return Object(s.each)(e.children||[],function(Z){d.innerAddChild(Z,_,i)}),d.emit(\"afteraddchild\",{item:_,parent:n}),_},t.prototype.innerUpdateChild=function(e,n,i){var d=this,g=d.findById(e.id);if(g){Object(s.each)(e.children||[],function(de){d.innerUpdateChild(de,g,i)});var _,I,D=g.get(\"children\");if(D&&D.length>0)for(var H=D.length-1;H>=0;H--){var Z=D[H].getModel();t.indexOfChild(e.children||[],Z.id)===-1&&(d.innerRemoveChild(Z.id,{x:e.x,y:e.y},i),D.splice(H,1))}g.get(\"originAttrs\")&&(_=g.get(\"originAttrs\").x,I=g.get(\"originAttrs\").y);var te=g.getModel();i&&g.set(\"originAttrs\",{x:te.x,y:te.y}),g.set(\"model\",Object.assign(te,e.data)),_===e.x&&I===e.y||g.updatePosition({x:e.x,y:e.y})}else d.innerAddChild(e,n,i)},t.prototype.innerRemoveChild=function(e,n,i){var d=this,g=d.findById(e);if(g)if(Object(s.each)(g.get(\"children\"),function(I){d.innerRemoveChild(I.getModel().id,n,i)}),i){var _=g.getModel();g.set(\"to\",n),g.set(\"originAttrs\",{x:_.x,y:_.y}),d.get(\"removeList\").push(g)}else d.removeItem(g,!1)},t.prototype.changeData=function(e,n){n===void 0&&(n=!0);var i=this;this.getNodes().map(function(d){return i.clearItemStates(d)}),this.getEdges().map(function(d){return i.clearItemStates(d)}),n&&this.get(\"enabledStack\")&&this.pushStack(\"changedata\",{before:i.get(\"originData\"),after:e||i.get(\"data\")}),e?(i.data(e),i.render(!1)):i.layout(this.get(\"fitView\"))},t.prototype.changeLayout=function(e){console.warn(\"Please call updateLayout instead of changeLayout. changeLayout will be discarded soon\"),this.updateLayout(e)},t.prototype.updateLayout=function(e,n,i,d){if(d===void 0&&(d=!0),e){if(d&&this.get(\"enabledStack\")&&this.pushStack(\"layout\",{before:this.get(\"layout\"),after:e}),this.set(\"layout\",e),this.set(\"layoutMethod\",this.getLayout()),this.layout(),n){var g=i;g||(g=n===\"begin\"?{x:0,y:0}:{x:this.getWidth()/2,y:this.getHeight()/2}),g=this.getPointByCanvas(g.x,g.y);var _=this.getGroup().getMatrix()||[1,0,0,0,1,0,0,0,1];g.x=g.x*_[0]+_[6],g.y=g.y*_[0]+_[7];var I=this.getGroup().getCanvasBBox(),D=I.minX,H=I.maxX,Z=I.minY,te={x:(D+H)/2,y:(Z+I.maxY)/2};n===\"begin\"&&(te.x=D,te.y=Z),this.translate(g.x-te.x,g.y-te.y)}}else console.warn(\"layout cannot be null\")},t.prototype.refreshLayout=function(e){console.warn(\"Please call layout instead of refreshLayout. refreshLayout will be discarded soon\"),this.layout(e)},t.prototype.layout=function(e){var n=this,i=this.get(\"data\"),d=this.get(\"layoutMethod\"),g=this.get(\"layout\"),_=i;g!=null&&g.excludeInvisibles?(i=Object(s.clone)(this.get(\"data\")),zs(i,function(D){var H=D.children;if(!(H!=null&&H.length))return!0;for(var Z=H.length-1;Z>=0;Z--){var te=n.findById(H[Z].id);(te?!te.isVisible():H[Z].visible===!1)&&H.splice(Z,1)}}),_=d?d(i,this.get(\"layout\")):i,zs(_,function(D){var H=n.findDataById(D.id);H&&(H.data=D.data,H.x=D.x,H.y=D.y)}),_=this.get(\"data\"),zs(_,function(D){D.data||(D.data=Object(l.__assign)({},D))})):_=d?d(i,this.get(\"layout\")):i;var I=this.get(\"animate\");this.emit(\"beforerefreshlayout\",{data:i,layoutData:_}),this.emit(\"beforelayout\"),this.innerUpdateChild(_,void 0,I),e&&this.get(\"viewController\").fitView(),I?this.layoutAnimate(_):(this.refresh(),this.paint()),this.emit(\"afterrefreshlayout\",{data:i,layoutData:_}),this.emit(\"afterlayout\")},t.prototype.addChild=function(e,n,i){i===void 0&&(i=!0),this.emit(\"beforeaddchild\",{model:e,parent:n}),Object(s.isString)(n)||(n=n.get(\"id\"));var d=this.findDataById(n);d&&(d.children||(d.children=[]),d.children.push(e),this.findById(n).refresh(),this.changeData(void 0,i))},t.prototype.updateChildren=function(e,n,i){i===void 0&&(i=!0);var d=this.findById(n);n&&d?(this.findDataById(n).children=e,d.refresh(),this.changeData(void 0,i)):console.warn(\"Update children failed! There is no node with id '\".concat(n,\"'\"))},t.prototype.updateChild=function(e,n,i){if(i===void 0&&(i=!0),n&&this.findById(n)){var d=this.findDataById(n),g=this.findById(e.id);if(d.children||(d.children=[]),g){var _=t.indexOfChild(d.children,e.id);_>-1&&(d.children[_]=e)}else d.children.push(e);var I=this.findById(n);I==null||I.refresh(),this.changeData(void 0,i)}else this.changeData(e,i)},t.prototype.removeChild=function(e,n){n===void 0&&(n=!0);var i,d=this.findById(e);if((i=d?d==null?void 0:d.get(\"parent\"):this.getNodes().find(function(H){return!!(H.getModel().children||[]).find(function(Z){return Z.id===e})}))&&!i.destroyed){var g=i.get(\"id\"),_=this.findDataById(g),I=_&&_.children||[],D=t.indexOfChild(I,e);I.splice(D,1),i.refresh()}this.changeData(void 0,n)},t.prototype.findDataById=function(e,n){var i=this;if(n||(n=i.get(\"data\")),e===n.id)return n;var d=null;return Object(s.each)(n.children||[],function(g){return g.id===e?(d=g,!1):!(d=i.findDataById(e,g))&&void 0}),d},t.prototype.layoutAnimate=function(e,n){var i=this,d=this.get(\"animateCfg\");i.emit(\"beforeanimate\",{data:e}),i.getEdges().forEach(function(g){var _=g.get(\"model\");_.sourceAnchor||(_.sourceAnchor=g.get(\"sourceAnchorIndex\"))}),this.get(\"canvas\").animate(function(g){zs(e,function(_){var I=i.findById(_.id);if(I){var D=I.get(\"originAttrs\"),H=I.get(\"model\");if(D||(D={x:H.x,y:H.y},I.set(\"originAttrs\",D)),n){var Z=n(I,g,D,e);I.set(\"model\",Object.assign(H,Z))}else H.x=D.x+(_.x-D.x)*g,H.y=D.y+(_.y-D.y)*g}return!0}),Object(s.each)(i.get(\"removeList\"),function(_){var I=_.getModel(),D=_.get(\"originAttrs\"),H=_.get(\"to\");I.x=D.x+(H.x-D.x)*g,I.y=D.y+(H.y-D.y)*g}),i.refreshPositions()},{duration:d.duration,easing:d.ease,callback:function(){Object(s.each)(i.getNodes(),function(g){g.set(\"originAttrs\",null)}),Object(s.each)(i.get(\"removeList\"),function(g){i.removeItem(g,!1)}),i.set(\"removeList\",[]),d.callback&&d.callback(),i.emit(\"afteranimate\",{data:e})},delay:d.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(e){e===void 0&&(e=!0);var n=this.get(\"data\");if(!n||!Object(s.isObject)(n)||!Object.keys(n).length)throw new Error(\"data must be defined first\");this.clear(),e&&this.get(\"enabledStack\")&&this.clearStack(),this.emit(\"beforerender\"),this.layout(this.get(\"fitView\")),this.emit(\"afterrender\")},t.prototype.save=function(){return this.get(\"data\")},t.prototype.data=function(e){o.prototype.data.call(this,e),this.set(\"originData\",JSON.parse(JSON.stringify(e)))},t}(Cs),gs=function(){function o(t){this._cfgs=Object(s.deepMix)(this.getDefaultCfgs(),t),this._events={},this.destroyed=!1}return o.prototype.getDefaultCfgs=function(){return{}},o.prototype.initPlugin=function(t){var e=this;e.set(\"graph\",t);var n=e.getEvents(),i={};Object(s.each)(n,function(d,g){var _=Object(s.wrapBehavior)(e,d);i[g]=_,t.on(g,_)}),this._events=i,this.init()},o.prototype.getEvents=function(){return{}},o.prototype.get=function(t){var e;return(e=this._cfgs)===null||e===void 0?void 0:e[t]},o.prototype.set=function(t,e){this._cfgs[t]=e},o.prototype.destroy=function(){},o.prototype.destroyPlugin=function(){this.destroy();var t=this.get(\"graph\"),e=this._events;Object(s.each)(e,function(n,i){t.off(i,n)}),this._events=null,this._cfgs=null,this.destroyed=!0},o}(),Wa=(Ta=function(o,t){return(Ta=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])})(o,t)},function(o,t){if(typeof t!=\"function\"&&t!==null)throw new TypeError(\"Class extends value \"+String(t)+\" is not a constructor or null\");function e(){this.constructor=o}Ta(o,t),o.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}),Ac=\"url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImdyaWQiIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTSAwIDEwIEwgNDAgMTAgTSAxMCAwIEwgMTAgNDAgTSAwIDIwIEwgNDAgMjAgTSAyMCAwIEwgMjAgNDAgTSAwIDMwIEwgNDAgMzAgTSAzMCAwIEwgMzAgNDAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2UwZTBlMCIgb3BhY2l0eT0iMC4yIiBzdHJva2Utd2lkdGg9IjEiLz48cGF0aCBkPSJNIDQwIDAgTCAwIDAgMCA0MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZTBlMGUwIiBzdHJva2Utd2lkdGg9IjEiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JpZCkiLz48L3N2Zz4=)\",Gs=function(o){function t(e){return o.call(this,e)||this}return Wa(t,o),t.prototype.getDefaultCfgs=function(){return{img:Ac,follow:!0}},t.prototype.init=function(){var e=this.get(\"graph\"),n=e.get(\"container\"),i=e.get(\"canvas\").get(\"el\"),d=this.get(\"img\")||Ac;d.includes(\"url(\")||(d='url(\"'.concat(d,'\")'));var g=_i(`<div class='g6-grid-container' style=\"position:absolute;overflow:hidden;z-index: -1;\"></div>`),_=_i(`<div\n        class='g6-grid'\n        style='position:absolute;\n        background-image: `.concat(d,`;\n        user-select: none\n        '></div>`));this.set(\"container\",g),this.set(\"gridContainer\",_),this.positionInit(),g.appendChild(_),n.insertBefore(g,i)},t.prototype.positionInit=function(){var e=this.get(\"graph\"),n=e.get(\"minZoom\"),i=e.get(\"width\"),d=e.get(\"height\");gi(this.get(\"container\"),{width:\"\".concat(i,\"px\"),height:\"\".concat(d,\"px\")});var g=80*i/n,_=80*d/n;gi(this.get(\"gridContainer\"),{width:\"\".concat(g,\"px\"),height:\"\".concat(_,\"px\"),left:\"-\".concat(g/2,\"px\"),top:\"-\".concat(_/2,\"px\")})},t.prototype.getEvents=function(){return{viewportchange:\"updateGrid\"}},t.prototype.updateGrid=function(e){var n=this.get(\"gridContainer\"),i=e.matrix;i||(i=[1,0,0,0,1,0,0,0,1]);var d=this.get(\"follow\");gi(n,{transform:\"matrix(\".concat(i[0],\", \").concat(i[1],\", \").concat(i[3],\", \").concat(i[4],\", \").concat(d?i[6]:\"0\",\", \").concat(d?i[7]:\"0\",\")\")})},t.prototype.getContainer=function(){return this.get(\"container\")},t.prototype.destroy=function(){var e=this.get(\"graph\").get(\"container\"),n=this.get(\"container\");e.removeChild(n)},t}(gs),Tc=r(30),pu=r.n(Tc),Pc=function(){var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(n[d]=i[d])})(t,e)};return function(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Class extends value \"+String(e)+\" is not a constructor or null\");function n(){this.constructor=t}o(t,e),t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();typeof document!=\"undefined\"&&pu()(`\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 Yc=function(o){function t(e){return o.call(this,e)||this}return Pc(t,o),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 this.get(\"trigger\")===\"click\"?{click:\"onMenuShow\",touchend:\"onMenuShow\"}:{contextmenu:\"onMenuShow\"}},t.prototype.init=function(){var e=this.get(\"className\"),n=_i(\"<div class=\".concat(e||\"g6-component-contextmenu\",\"></div>\"));gi(n,{top:\"0px\",position:\"absolute\",visibility:\"hidden\"});var i=this.get(\"container\");i||(i=this.get(\"graph\").get(\"container\")),Object(s.isString)(i)&&(i=document.getElementById(i)),i.appendChild(n),this.set(\"menu\",n)},t.prototype.onMenuShow=function(e){var n=this;e.preventDefault();var i=this.get(\"itemTypes\");if(e.item){if(e.item&&e.item.getType&&i.indexOf(e.item.getType())===-1)return void n.onMenuHide()}else if(i.indexOf(\"canvas\")===-1)return void n.onMenuHide();if(this.get(\"shouldBegin\")(e)){var d=this.get(\"menu\"),g=this.get(\"getContent\"),_=this.get(\"graph\"),I=g(e,_);Object(s.isString)(I)?d.innerHTML=I:d.innerHTML=I.outerHTML,this.removeMenuEventListener();var D=this.get(\"handleMenuClick\");if(D){var H=function(Nn){D(Nn.target,e.item,_)};this.set(\"handleMenuClickWrapper\",H),d.addEventListener(\"click\",H)}var Z=_.get(\"width\"),te=_.get(\"height\"),de=d.getBoundingClientRect(),Pe=this.get(\"offsetX\")||0,Ge=this.get(\"offsetY\")||0,Qe=_.getContainer().offsetTop,Xe=_.getContainer().offsetLeft,yt=e.canvasX+Xe+Pe,Ct=e.canvasY+Qe+Ge;yt+de.width>Z&&(yt=e.canvasX-de.width-Pe+Xe),Ct+de.height>te&&(Ct=e.canvasY-de.height-Ge+Qe),gi(d,{top:\"\".concat(Ct,\"px\"),left:\"\".concat(yt,\"px\"),visibility:\"visible\"});var on=this.get(\"trigger\")===\"click\",sn=function(Nn){on?on=!1:n.onMenuHide()};document.body.addEventListener(\"click\",sn),this.set(\"handler\",sn)}},t.prototype.removeMenuEventListener=function(){var e=this.get(\"handleMenuClickWrapper\"),n=this.get(\"handler\");e&&(this.get(\"menu\").removeEventListener(\"click\",e),this.set(\"handleMenuClickWrapper\",null)),n&&document.body.removeEventListener(\"click\",n)},t.prototype.onMenuHide=function(){var e=this.get(\"menu\");e&&gi(e,{visibility:\"hidden\"}),this.removeMenuEventListener()},t.prototype.destroy=function(){var e=this.get(\"menu\");if(this.removeMenuEventListener(),e){var n=this.get(\"container\");n||(n=this.get(\"graph\").get(\"container\")),Object(s.isString)(n)&&(n=document.getElementById(n)),n.removeChild(e)}},t}(gs),Kc=function(){var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(n[d]=i[d])})(t,e)};return function(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Class extends value \"+String(e)+\" is not a constructor or null\");function n(){this.constructor=t}o(t,e),t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}(),rc=function(){return(rc=Object.assign||function(o){for(var t,e=1,n=arguments.length;e<n;e++)for(var i in t=arguments[e])Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i]);return o}).apply(this,arguments)},qc=Math.max,Ns=j.a.transform,Au=function(o){function t(e){var n=o.call(this,e)||this;return n.handleUpdateCanvas=Object(s.debounce)(function(i){var d=n;d.destroyed||d.updateCanvas()},100,!1),n}return Kc(t,o),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,n=this._cfgs,i=n.size,d=n.graph;if(!this.destroyed){var g=this.get(\"canvas\").get(\"container\"),_=navigator.userAgent.toLowerCase().indexOf(\"firefox\")>-1,I=navigator.userAgent.toLowerCase().indexOf(\"safari\")>-1,D=_i(`\n      <div\n        class=`.concat(n.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(!I&&!_,`\n      </div>`)),H=0,Z=0,te=!1,de=0,Pe=0,Ge=0,Qe=0,Xe=0,yt=0,Ct=I||_?\"mousedown\":\"dragstart\";D.addEventListener(Ct,function(Tn){var Bn,Hn;if(Tn.dataTransfer){var Sr=new Image;Sr.src=\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' %3E%3Cpath /%3E%3C/svg%3E\",(Hn=(Bn=Tn.dataTransfer).setDragImage)===null||Hn===void 0||Hn.call(Bn,Sr,0,0);try{Tn.dataTransfer.setData(\"text/html\",\"view-port-minimap\")}catch(po){Tn.dataTransfer.setData(\"text\",\"view-port-minimap\")}}if(n.refresh=!1,Tn.target===D){var Cr=D.style;de=parseInt(Cr.left,10),Pe=parseInt(Cr.top,10),Ge=parseInt(Cr.width,10),Qe=parseInt(Cr.height,10),Ge>i[0]||Qe>i[1]||(yt=d.getZoom(),Xe=e.get(\"ratio\"),te=!0,H=Tn.clientX,Z=Tn.clientY)}},!1);var on=function(Tn){if(te&&!Object(s.isNil)(Tn.clientX)&&!Object(s.isNil)(Tn.clientY)){var Bn=H-Tn.clientX,Hn=Z-Tn.clientY;(de-Bn<0||de-Bn+Ge>=i[0])&&(Bn=0),(Pe-Hn<0||Pe-Hn+Qe>=i[1])&&(Hn=0),Pe-=Hn,gi(D,{left:\"\".concat(de-=Bn,\"px\"),top:\"\".concat(Pe,\"px\")}),d.translate(Bn*yt/Xe,Hn*yt/Xe),H=Tn.clientX,Z=Tn.clientY}};I||_||D.addEventListener(\"drag\",on,!1);var sn=function(){te=!1,n.refresh=!0},Nn=I||_?\"mouseup\":\"dragend\";D.addEventListener(Nn,sn,!1),g.addEventListener(\"mouseleave\",sn),g.addEventListener(\"mouseup\",sn),(I||_)&&g.addEventListener(\"mousemove\",on,!1),this.set(\"viewport\",D),g.appendChild(D)}},t.prototype.updateViewport=function(){if(!this.destroyed){var e=this.get(\"ratio\"),n=this.get(\"totaldx\"),i=this.get(\"totaldy\"),d=this.get(\"graph\"),g=this.get(\"size\"),_=d.get(\"canvas\").get(\"el\"),I=d.get(\"width\")||_.scrollWidth||500,D=d.get(\"height\")||_.scrollHeight||500,H=d.getPointByCanvas(0,0),Z=d.getPointByCanvas(I,D),te=this.get(\"viewport\");te||this.initViewport();var de=(Z.x-H.x)*e,Pe=(Z.y-H.y)*e,Ge=H.x*e+n,Qe=H.y*e+i,Xe=Ge+de,yt=Qe+Pe;Ge<0&&(de+=Ge,Ge=0),Xe>g[0]&&(de-=Xe-g[0]),Qe<0&&(Pe+=Qe,Qe=0),yt>g[1]&&(Pe-=yt-g[1]),this.set(\"ratio\",e),gi(te,{left:\"\".concat(Ge,\"px\"),top:\"\".concat(Qe,\"px\"),width:\"\".concat(de,\"px\"),height:\"\".concat(Pe,\"px\")})}},t.prototype.updateGraphShapes=function(){var e,n=this._cfgs.graph,i=this.get(\"canvas\"),d=n.get(\"group\");d.destroyed||(i.clear(),this.get(\"hideEdge\")?(e=i.addGroup(),d.get(\"children\").forEach(function(g){g.get(\"id\").includes(\"-edge\")||e.add(g.clone())})):((e=d.clone()).resetMatrix(),i.add(e)),n.get(\"renderer\")===\"svg\"&&this.updateVisible(e))},t.prototype.updateVisible=function(e){var n=this;if(e.isGroup()||e.get(\"visible\")){var i=e.get(\"children\");if(!i||!i.length)return;i.forEach(function(d){d.get(\"visible\")||d.hide(),n.updateVisible(d)})}else e.hide()},t.prototype.updateKeyShapes=function(){var e=this,n=this._cfgs.graph,i=this.get(\"canvas\"),d=i.get(\"children\")[0]||i.addGroup();this.get(\"hideEdge\")||Object(s.each)(n.getEdges(),function(I){e.updateOneEdgeKeyShape(I,d)}),Object(s.each)(n.getNodes(),function(I){e.updateOneNodeKeyShape(I,d)});var g=n.getCombos();if(g&&g.length){var _=d.find(function(I){return I.get(\"name\")===\"comboGroup\"})||d.addGroup({name:\"comboGroup\"});setTimeout(function(){e.destroyed||(Object(s.each)(g,function(I){e.updateOneComboKeyShape(I,_)}),_==null||_.sort(),_==null||_.toBack(),e.updateCanvas())},250)}this.clearDestroyedShapes()},t.prototype.updateOneComboKeyShape=function(e,n){if(!this.destroyed){var i=this.get(\"itemMap\")||{},d=i[e.get(\"id\")],g=e.getBBox(),_=e.get(\"keyShape\").clone(),I=_.attr(),D={x:g.centerX,y:g.centerY};d?D=Object.assign(I,D):(d=_,n.add(d));var H=d.get(\"type\");H!==\"rect\"&&H!==\"image\"||(D.x=g.minX,D.y=g.minY),d.attr(D),e.isVisible()?d.show():d.hide(),d.exist=!0;var Z=e.getModel().depth;isNaN(Z)||d.set(\"zIndex\",Z),i[e.get(\"id\")]=d,this.set(\"itemMap\",i)}},t.prototype.updateOneNodeKeyShape=function(e,n){var i=this.get(\"itemMap\")||{},d=i[e.get(\"id\")],g=e.getBBox(),_=e.get(\"keyShape\").clone(),I=_.attr(),D={x:g.centerX,y:g.centerY};d?(D=Object.assign(I,D),d.toFront()):(d=_,n.add(d));var H=d.get(\"type\");H!==\"rect\"&&H!==\"image\"||(D.x=g.minX,D.y=g.minY),d.attr(D),e.isVisible()?d.show():d.hide(),d.exist=!0;var Z=e.getModel().depth;isNaN(Z)||d.set(\"zIndex\",Z),i[e.get(\"id\")]=d,this.set(\"itemMap\",i)},t.prototype.updateDelegateShapes=function(){var e=this,n=this._cfgs.graph,i=this.get(\"canvas\"),d=i.get(\"children\")[0]||i.addGroup();this.get(\"hideEdge\")||Object(s.each)(n.getEdges(),function(I){e.updateOneEdgeKeyShape(I,d)}),Object(s.each)(n.getNodes(),function(I){e.updateOneNodeDelegateShape(I,d)});var g=n.getCombos();if(g&&g.length){var _=d.find(function(I){return I.get(\"name\")===\"comboGroup\"})||d.addGroup({name:\"comboGroup\"});setTimeout(function(){e.destroyed||(Object(s.each)(g,function(I){e.updateOneComboKeyShape(I,_)}),_==null||_.sort(),_==null||_.toBack(),e.updateCanvas())},250)}this.clearDestroyedShapes()},t.prototype.clearDestroyedShapes=function(){var e=this.get(\"itemMap\")||{},n=Object.keys(e);if(n&&n.length!==0)for(var i=n.length-1;i>=0;i--){var d=e[n[i]],g=d.exist;d.exist=!1,g||(d.remove(),delete e[n[i]])}},t.prototype.updateOneEdgeKeyShape=function(e,n){var i=this.get(\"itemMap\")||{},d=i[e.get(\"id\")];if(d){var g=e.get(\"keyShape\").attr(\"path\");d.attr(\"path\",g)}else d=e.get(\"keyShape\").clone(),n.add(d);e.isVisible()?d.show():d.hide(),d.exist=!0,i[e.get(\"id\")]=d,this.set(\"itemMap\",i)},t.prototype.updateOneNodeDelegateShape=function(e,n){var i=this.get(\"delegateStyle\"),d=this.get(\"itemMap\")||{},g=d[e.get(\"id\")],_=e.getBBox();if(g){var I={x:_.minX,y:_.minY,width:_.width,height:_.height};g.attr(I),g.toFront()}else g=n.addShape(\"rect\",{attrs:rc({x:_.minX,y:_.minY,width:_.width,height:_.height},i),name:\"minimap-node-shape\"});e.isVisible()?g.show():g.hide(),g.exist=!0,d[e.get(\"id\")]=g,this.set(\"itemMap\",d)},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.get(\"graph\"),n=this.get(\"size\"),i=this.get(\"className\"),d=this.get(\"container\"),g=_i(\"<div class='\".concat(i,\"' style='width: \").concat(n[0],\"px; height: \").concat(n[1],\"px; overflow: hidden'></div>\"));Object(s.isString)(d)&&(d=document.getElementById(d)),d?d.appendChild(g):e.get(\"container\").appendChild(g),this.set(\"container\",g);var _,I=_i('<div class=\"g6-minimap-container\" style=\"position: relative;\"></div>');g.appendChild(I),I.addEventListener(\"dragenter\",function(D){D.preventDefault()}),I.addEventListener(\"dragover\",function(D){D.preventDefault()}),_=e.get(\"renderer\")===\"svg\"?new rr.Canvas({container:I,width:n[0],height:n[1]}):new Za.Canvas({container:I,width:n[0],height:n[1]}),this.set(\"canvas\",_),this.updateCanvas()},t.prototype.updateCanvas=function(){if(!this.destroyed&&this.get(\"refresh\")){var e=this.get(\"graph\");if(!e.get(\"destroyed\")){this.get(\"viewportChange\")&&(this.set(\"viewportChange\",!1),this.updateViewport());var n=this.get(\"size\"),i=this.get(\"canvas\"),d=this.get(\"type\"),g=this.get(\"padding\");if(!i.destroyed){switch(d){case\"default\":this.updateGraphShapes();break;case\"keyShape\":this.updateKeyShapes();break;case\"delegate\":this.updateDelegateShapes()}var _=i.get(\"children\")[0];if(_){_.resetMatrix();var I=_.getCanvasBBox(),D=e.get(\"canvas\").getCanvasBBox(),H=e.getZoom()||1,Z=D.width/H,te=D.height/H;Number.isFinite(I.width)&&(Z=qc(I.width,Z),te=qc(I.height,te)),Z+=2*g,te+=2*g;var de=Math.min(n[0]/Z,n[1]/te),Pe=[1,0,0,0,1,0,0,0,1],Ge=0,Qe=0;Number.isFinite(I.minX)&&(Ge=-I.minX),Number.isFinite(I.minY)&&(Qe=-I.minY);var Xe=(n[0]-(Z-2*g)*de)/2,yt=(n[1]-(te-2*g)*de)/2;Pe=Ns(Pe,[[\"t\",Ge,Qe],[\"s\",de,de],[\"t\",Xe,yt]]),_.setMatrix(Pe),this.set(\"ratio\",de),this.set(\"totaldx\",Xe+Ge*de),this.set(\"totaldy\",yt+Qe*de),this.set(\"dx\",Xe),this.set(\"dy\",yt),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;(e=this.get(\"canvas\"))===null||e===void 0||e.destroy();var n=this.get(\"container\");n!=null&&n.parentNode&&n.parentNode.removeChild(n)},t}(gs),yc=function(){var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(n[d]=i[d])})(t,e)};return function(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Class extends value \"+String(e)+\" is not a constructor or null\");function n(){this.constructor=t}o(t,e),t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();function gu(o,t,e){var n=o.x-t.x,i=o.y-t.y;return!e||Math.abs(n)>e||Math.abs(i)>e?Math.sqrt(n*n+i*i):e}function bc(o,t){var e=(t.source.y-t.target.y)/(t.source.x-t.target.x),n=(e*e*t.source.x+e*(o.y-t.source.y)+o.x)/(e*e+1);return{x:n,y:e*(n-t.source.x)+t.source.y}}var Ic=function(o){function t(e){return o.call(this,e)||this}return yc(t,o),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\"),n=this.get(\"onTick\");this.set(\"tick\",function(){n&&n(),e.refreshPositions()})},t.prototype.bundling=function(e){var n=this;if(n.set(\"data\",e),!n.isTicking()){var i=e.edges||[],d=e.nodes||[],g={},_=!1;if(d.forEach(function(Ct){Ct.x!==null&&!Ct.y!==null&&Ct.x!==void 0&&!Ct.y!==void 0||(_=!0),g[Ct.id]=Ct}),_)throw new Error(\"please layout the graph or assign x and y for nodes first\");n.set(\"nodeIdMap\",g);var I=n.get(\"divisions\"),D=n.get(\"divRate\"),H=n.divideEdges(I);n.set(\"edgePoints\",H);var Z=n.getEdgeBundles();n.set(\"edgeBundles\",Z);for(var te=n.get(\"cycles\"),de=n.get(\"iterations\"),Pe=n.get(\"iterRate\"),Ge=n.get(\"lambda\"),Qe=0;Qe<te;Qe++){for(var Xe=function(Ct){var on=[];i.forEach(function(sn,Nn){if(sn.source!==sn.target){var Tn=g[sn.source],Bn=g[sn.target];on[Nn]=n.getEdgeForces({source:Tn,target:Bn},Nn,I,Ge);for(var Hn=0;Hn<I+1;Hn++)H[Nn][Hn].x+=on[Nn][Hn].x,H[Nn][Hn].y+=on[Nn][Hn].y}})},yt=0;yt<de;yt++)Xe();Ge/=2,I*=D,de*=Pe,H=n.divideEdges(I),n.set(\"edgePoints\",H)}i.forEach(function(Ct,on){Ct.source!==Ct.target&&(Ct.type=\"polyline\",Ct.controlPoints=H[on].slice(1,H[on].length-1))}),n.get(\"graph\").refresh()}},t.prototype.updateBundling=function(e){var n=this,i=e.data;if(i&&n.set(\"data\",i),n.get(\"ticking\")&&n.set(\"ticking\",!1),Object.keys(e).forEach(function(g){n.set(g,e[g])}),e.onTick){var d=this.get(\"graph\");n.set(\"tick\",function(){e.onTick(),d.refresh()})}n.bundling(i)},t.prototype.divideEdges=function(e){var n=this,i=n.get(\"data\").edges,d=n.get(\"nodeIdMap\"),g=n.get(\"edgePoints\");return g&&g!==void 0||(g=[]),i.forEach(function(_,I){var D;g[I]&&g[I]!==void 0||(g[I]=[]);var H=d[_.source],Z=d[_.target];if(e===1)g[I].push({x:H.x,y:H.y}),g[I].push({x:.5*(H.x+Z.x),y:.5*(H.y+Z.y)}),g[I].push({x:Z.x,y:Z.y});else{var te=(!((D=g[I])===null||D===void 0)&&D.length?n.getEdgeLength(g[I]):gu({x:H.x,y:H.y},{x:Z.x,y:Z.y}))/(e+1),de=te,Pe=[{x:H.x,y:H.y}];g[I].forEach(function(Ge,Qe){if(Qe!==0){for(var Xe=gu(Ge,g[I][Qe-1]);Xe>de;){var yt=de/Xe,Ct={x:g[I][Qe-1].x,y:g[I][Qe-1].y};Ct.x+=yt*(Ge.x-g[I][Qe-1].x),Ct.y+=yt*(Ge.y-g[I][Qe-1].y),Pe.push(Ct),Xe-=de,de=te}de-=Xe}}),Pe.push({x:Z.x,y:Z.y}),g[I]=Pe}}),g},t.prototype.getEdgeLength=function(e){var n=0;return e.forEach(function(i,d){d!==0&&(n+=gu(i,e[d-1]))}),n},t.prototype.getEdgeBundles=function(){var e=this,n=e.get(\"data\").edges||[],i=e.get(\"bundleThreshold\"),d=e.get(\"nodeIdMap\"),g=e.get(\"edgeBundles\");return g||(g=[]),n.forEach(function(_,I){g[I]&&g[I]!==void 0||(g[I]=[])}),n.forEach(function(_,I){var D=d[_.source],H=d[_.target];n.forEach(function(Z,te){if(!(te<=I)){var de=d[Z.source],Pe=d[Z.target];e.getBundleScore({source:D,target:H},{source:de,target:Pe})>=i&&(g[I].push(te),g[te].push(I))}})}),g},t.prototype.getBundleScore=function(e,n){return e.vx=e.target.x-e.source.x,e.vy=e.target.y-e.source.y,n.vx=n.target.x-n.source.x,n.vy=n.target.y-n.source.y,e.length=gu({x:e.source.x,y:e.source.y},{x:e.target.x,y:e.target.y}),n.length=gu({x:n.source.x,y:n.source.y},{x:n.target.x,y:n.target.y}),this.getAngleScore(e,n)*this.getScaleScore(e,n)*this.getPositionScore(e,n)*this.getVisibilityScore(e,n)},t.prototype.getAngleScore=function(e,n){return function(i,d){return i.x*d.x+i.y*d.y}({x:e.vx,y:e.vy},{x:n.vx,y:n.vy})/(e.length*n.length)},t.prototype.getScaleScore=function(e,n){var i=(e.length+n.length)/2;return 2/(i/Math.min(e.length,n.length)+Math.max(e.length,n.length)/i)},t.prototype.getPositionScore=function(e,n){var i=(e.length+n.length)/2;return i/(i+gu({x:(e.source.x+e.target.x)/2,y:(e.source.y+e.target.y)/2},{x:(n.source.x+n.target.x)/2,y:(n.source.y+n.target.y)/2}))},t.prototype.getVisibilityScore=function(e,n){var i=this.getEdgeVisibility(e,n),d=this.getEdgeVisibility(n,e);return i<d?i:d},t.prototype.getEdgeVisibility=function(e,n){var i=bc(n.source,e),d=bc(n.target,e),g={x:(i.x+d.x)/2,y:(i.y+d.y)/2},_={x:(e.source.x+e.target.x)/2,y:(e.source.y+e.target.y)/2};return Math.max(0,1-2*gu(g,_)/gu(i,d))},t.prototype.getEdgeForces=function(e,n,i,d){for(var g=this.get(\"edgePoints\"),_=this.get(\"K\")/(gu(e.source,e.target)*(i+1)),I=[{x:0,y:0}],D=1;D<i;D++){var H={x:0,y:0},Z=this.getSpringForce({pre:g[n][D-1],cur:g[n][D],next:g[n][D+1]},_),te=this.getElectrostaticForce(D,n);H.x=d*(Z.x+te.x),H.y=d*(Z.y+te.y),I.push(H)}return I.push({x:0,y:0}),I},t.prototype.getSpringForce=function(e,n){var i=e.pre.x+e.next.x-2*e.cur.x,d=e.pre.y+e.next.y-2*e.cur.y;return{x:i*=n,y:d*=n}},t.prototype.getElectrostaticForce=function(e,n){var i=this.get(\"eps\"),d=this.get(\"edgeBundles\"),g=this.get(\"edgePoints\"),_=d[n],I={x:0,y:0};return _.forEach(function(D){var H={x:g[D][e].x-g[n][e].x,y:g[D][e].y-g[n][e].y};if(Math.abs(H.x)>i||Math.abs(H.y)>i){var Z=1/gu(g[D][e],g[n][e]);I.x+=H.x*Z,I.y+=H.y*Z}}),I},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(),o.prototype.destroy.call(this)},t}(gs),vu=function(){var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(n[d]=i[d])})(t,e)};return function(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Class extends value \"+String(e)+\" is not a constructor or null\");function n(){this.constructor=t}o(t,e),t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}(),Yu=function(){return(Yu=Object.assign||function(o){for(var t,e=1,n=arguments.length;e<n;e++)for(var i in t=arguments[e])Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i]);return o}).apply(this,arguments)},oc={stroke:\"#000\",strokeOpacity:.8,lineWidth:2,fillOpacity:.1,fill:\"#ccc\"},kc=function(o){function t(e){return o.call(this,e)||this}return vu(t,o),t.prototype.getDefaultCfgs=function(){return{trigger:\"mousemove\",d:1.5,r:300,delegateStyle:Object(s.clone)(oc),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\"}}return e},t.prototype.init=function(){var e=this.get(\"r\");this.set(\"cachedMagnifiedModels\",[]),this.set(\"cachedOriginPositions\",{}),this.set(\"r2\",e*e);var n=this.get(\"d\");this.set(\"molecularParam\",(n+1)*e)},t.prototype.createDelegate=function(e){var n=this,i=this,d=i.get(\"delegate\");d&&!d.destroyed||(i.magnify(e),(d=i.get(\"delegate\")).on(\"dragstart\",function(g){i.set(\"delegateCenterDiff\",{x:d.attr(\"x\")-g.x,y:d.attr(\"y\")-g.y})}),d.on(\"drag\",function(g){i.magnify(g)}),this.get(\"scaleDBy\")===\"wheel\"&&d.on(\"mousewheel\",function(g){n.scaleDByWheel(g)}),this.get(\"scaleRBy\")===\"wheel\"&&d.on(\"mousewheel\",function(g){i.scaleRByWheel(g)}))},t.prototype.scaleRByWheel=function(e){if(e&&e.originalEvent){e.preventDefault&&e.preventDefault();var n,i=this.get(\"graph\"),d=this.get(\"delegate\"),g=(d?{x:d.attr(\"x\"),y:d.attr(\"y\")}:void 0)||i.getPointByClient(e.clientX,e.clientY);n=e.originalEvent.wheelDelta<0?.95:1/.95;var _=this.get(\"maxR\"),I=this.get(\"minR\"),D=this.get(\"r\");(D>(_||i.get(\"height\"))&&n>1||D<(I||.05*i.get(\"height\"))&&n<1)&&(n=1),D*=n,this.set(\"r\",D),this.set(\"r2\",D*D);var H=this.get(\"d\");this.set(\"molecularParam\",(H+1)*D),this.set(\"delegateCenterDiff\",void 0),this.magnify(e,g)}},t.prototype.scaleRByDrag=function(e){if(e){var n,i=this.get(\"dragPrePos\"),d=this.get(\"graph\"),g=d.getPointByClient(e.clientX,e.clientY);n=e.x-i.x<0?.95:1/.95;var _=this.get(\"maxR\"),I=this.get(\"minR\"),D=this.get(\"r\");(D>(_||d.get(\"height\"))&&n>1||D<(I||.05*d.get(\"height\"))&&n<1)&&(n=1),D*=n,this.set(\"r\",D),this.set(\"r2\",D*D);var H=this.get(\"d\");this.set(\"molecularParam\",(H+1)*D),this.magnify(e,g),this.set(\"dragPrePos\",{x:e.x,y:e.y})}},t.prototype.scaleDByWheel=function(e){if(e||e.originalEvent){e.preventDefault&&e.preventDefault();var n=0;n=e.originalEvent.wheelDelta<0?-.1:.1;var i=this.get(\"d\")+n,d=this.get(\"maxD\"),g=this.get(\"minD\");if(i<d&&i>g){this.set(\"d\",i);var _=this.get(\"r\");this.set(\"molecularParam\",(i+1)*_);var I=this.get(\"delegate\"),D=I?{x:I.attr(\"x\"),y:I.attr(\"y\")}:void 0;this.set(\"delegateCenterDiff\",void 0),this.magnify(e,D)}}},t.prototype.scaleDByDrag=function(e){var n=this.get(\"dragPrePos\"),i=e.x-n.x>0?.1:-.1,d=this.get(\"d\")+i,g=this.get(\"maxD\"),_=this.get(\"minD\");if(d<g&&d>_){this.set(\"d\",d);var I=this.get(\"r\");this.set(\"molecularParam\",(d+1)*I),this.magnify(e)}this.set(\"dragPrePos\",{x:e.x,y:e.y})},t.prototype.magnify=function(e,n){this.restoreCache();var i=this.get(\"graph\"),d=this.get(\"cachedMagnifiedModels\"),g=this.get(\"cachedOriginPositions\"),_=this.get(\"showLabel\"),I=this.get(\"r\"),D=this.get(\"r2\"),H=this.get(\"d\"),Z=this.get(\"molecularParam\"),te=i.getNodes(),de=te.length,Pe=n?{x:n.x,y:n.y}:{x:e.x,y:e.y};!this.get(\"dragging\")||this.get(\"trigger\")!==\"mousemove\"&&this.get(\"trigger\")!==\"click\"||(Pe=this.get(\"cacheCenter\"));var Ge=this.get(\"delegateCenterDiff\");Ge&&(Pe.x+=Ge.x,Pe.y+=Ge.y),this.updateDelegate(Pe,I);for(var Qe=0;Qe<de;Qe++){var Xe=te[Qe].getModel(),yt=Xe.x,Ct=Xe.y;if(!isNaN(yt)&&!isNaN(Ct)){var on=(yt-Pe.x)*(yt-Pe.x)+(Ct-Pe.y)*(Ct-Pe.y);if(!isNaN(on)&&on<D&&on!==0){var sn=Math.sqrt(on),Nn=Z*sn/(H*sn+I),Tn=(yt-Pe.x)/sn,Bn=(Ct-Pe.y)/sn;if(Xe.x=Tn*Nn+Pe.x,Xe.y=Bn*Nn+Pe.y,g[Xe.id]||(g[Xe.id]={x:yt,y:Ct,texts:[]}),d.push(Xe),_&&2*sn<I)for(var Hn=te[Qe].getContainer().getChildren(),Sr=Hn.length,Cr=0;Cr<Sr;Cr++){var po=Hn[Cr];po.get(\"type\")===\"text\"&&(g[Xe.id].texts.push({visible:po.get(\"visible\"),shape:po}),po.set(\"visible\",!0))}}}}i.refreshPositions()},t.prototype.restoreCache=function(){for(var e=this.get(\"cachedMagnifiedModels\"),n=this.get(\"cachedOriginPositions\"),i=e.length,d=0;d<i;d++){var g=e[d],_=n[g.id];g.x=_.x,g.y=_.y;for(var I=_.texts.length,D=0;D<I;D++){var H=_.texts[D];H.shape.set(\"visible\",H.visible)}}this.set(\"cachedMagnifiedModels\",[]),this.set(\"cachedOriginPositions\",{})},t.prototype.updateParams=function(e){var n=e.r,i=e.d,d=e.trigger,g=e.minD,_=e.maxD,I=e.minR,D=e.maxR,H=e.scaleDBy,Z=e.scaleRBy;isNaN(e.r)||(this.set(\"r\",n),this.set(\"r2\",n*n)),isNaN(i)||this.set(\"d\",i),isNaN(_)||this.set(\"maxD\",_),isNaN(g)||this.set(\"minD\",g),isNaN(D)||this.set(\"maxR\",D),isNaN(I)||this.set(\"minR\",I);var te,de=this.get(\"d\"),Pe=this.get(\"r\");this.set(\"molecularParam\",(de+1)*Pe),d!==\"mousemove\"&&d!==\"click\"&&d!==\"drag\"||this.set(\"trigger\",d),(H===\"drag\"||H===\"wheel\"||H===\"unset\")&&(this.set(\"scaleDBy\",H),this.get(\"delegate\").remove(),this.get(\"delegate\").destroy(),(te=this.get(\"dPercentText\"))&&(te.remove(),te.destroy())),Z!==\"drag\"&&Z!==\"wheel\"&&Z!==\"unset\"||(this.set(\"scaleRBy\",Z),this.get(\"delegate\").remove(),this.get(\"delegate\").destroy(),(te=this.get(\"dPercentText\"))&&(te.remove(),te.destroy()))},t.prototype.updateDelegate=function(e,n){var i=this,d=this,g=d.get(\"graph\"),_=d.get(\"delegate\");if(!_||_.destroyed){var I=g.get(\"group\"),D=d.get(\"delegateStyle\")||oc;_=I.addShape(\"circle\",{attrs:Yu({r:n/1.5,x:e.x,y:e.y},D),name:\"lens-shape\",draggable:!0}),this.get(\"trigger\")!==\"drag\"&&(this.get(\"scaleRBy\")===\"wheel\"?_.on(\"mousewheel\",function(de){d.scaleRByWheel(de)}):this.get(\"scaleRBy\")===\"drag\"&&(_.on(\"dragstart\",function(de){d.set(\"dragging\",!0),d.set(\"cacheCenter\",{x:de.x,y:de.y}),d.set(\"dragPrePos\",{x:de.x,y:de.y})}),_.on(\"drag\",function(de){d.scaleRByDrag(de)}),_.on(\"dragend\",function(de){d.set(\"dragging\",!1)})),this.get(\"scaleDBy\")===\"wheel\"?_.on(\"mousewheel\",function(de){i.scaleDByWheel(de)}):this.get(\"scaleDBy\")===\"drag\"&&(_.on(\"dragstart\",function(de){d.set(\"dragging\",!0),d.set(\"cacheCenter\",{x:de.x,y:de.y}),d.set(\"dragPrePos\",{x:de.x,y:de.y})}),_.on(\"drag\",function(de){i.scaleDByDrag(de)}),_.on(\"dragend\",function(de){d.set(\"dragging\",!1)})))}else _.attr({x:e.x,y:e.y,r:n/1.5});if(d.get(\"showDPercent\")){var H=Math.round((d.get(\"d\")-d.get(\"minD\"))/(d.get(\"maxD\")-d.get(\"minD\"))*100),Z=d.get(\"dPercentText\"),te=e.y+n/1.5+16;!Z||Z.destroyed?(Z=g.get(\"group\").addShape(\"text\",{attrs:{text:\"\".concat(H,\"%\"),x:e.x,y:te,fill:\"#aaa\",stroke:\"#fff\",lineWidth:1,fontSize:12}}),d.set(\"dPercentText\",Z)):Z.attr({text:\"\".concat(H,\"%\"),x:e.x,y:te})}d.set(\"delegate\",_)},t.prototype.clear=function(){var e=this.get(\"graph\");this.restoreCache(),e.refreshPositions();var n=this.get(\"delegate\");n&&!n.destroyed&&(n.remove(),n.destroy());var i=this.get(\"dPercentText\");i&&!i.destroyed&&(i.remove(),i.destroy())},t.prototype.destroy=function(){this.clear()},t}(gs),le=function(){var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(n[d]=i[d])})(t,e)};return function(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Class extends value \"+String(e)+\" is not a constructor or null\");function n(){this.constructor=t}o(t,e),t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();typeof document!=\"undefined\"&&pu()(`\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 Be=function(o){function t(e){return o.call(this,e)||this}return le(t,o),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,n=this.get(\"graph\"),i=this.get(\"getContent\")(n),d=i;Object(s.isString)(i)&&(d=_i(i));var g=this.get(\"className\");d.setAttribute(\"class\",g||\"g6-component-toolbar\");var _=this.get(\"container\");_||(_=this.get(\"graph\").get(\"container\")),Object(s.isString)(_)&&(_=document.getElementById(_)),_.appendChild(d),this.set(\"toolBar\",d);var I=this.get(\"handleClick\");d.addEventListener(\"click\",function(H){var Z=function(de){if(!de)return[];if(de.composedPath)return de.composedPath();for(var Pe=[],Ge=de.target;Ge;){if(Pe.push(Ge),Ge.tagName===\"HTML\")return Pe.push(document,window),Pe;Ge=Ge.parentElement}return Pe}(H).filter(function(de){return de.nodeName===\"LI\"});if(Z.length!==0){var te=Z[0].getAttribute(\"code\");te&&(I?I(te,n):e.handleDefaultOperator(te))}});var D=this.get(\"position\");D&&gi(d,{top:\"\".concat(D.y,\"px\"),left:\"\".concat(D.x,\"px\")}),this.bindUndoRedo()},t.prototype.bindUndoRedo=function(){var e=this.get(\"graph\"),n=document.querySelector('.g6-component-toolbar li[code=\"undo\"]'),i=document.querySelector('.g6-component-toolbar li[code=\"undo\"] svg'),d=document.querySelector('.g6-component-toolbar li[code=\"redo\"]'),g=document.querySelector('.g6-component-toolbar li[code=\"redo\"] svg');n&&i&&d&&g&&(n.setAttribute(\"style\",\"cursor: not-allowed\"),i.setAttribute(\"style\",\"opacity: 0.4\"),d.setAttribute(\"style\",\"cursor: not-allowed\"),g.setAttribute(\"style\",\"opacity: 0.4\"),e.on(\"stackchange\",function(_){var I=_.undoStack,D=_.redoStack,H=I.length,Z=D.length;H===0?(n.setAttribute(\"style\",\"cursor: not-allowed\"),i.setAttribute(\"style\",\"opacity: 0.4\")):(n.removeAttribute(\"style\"),i.removeAttribute(\"style\")),Z===0?(d.setAttribute(\"style\",\"cursor: not-allowed\"),g.setAttribute(\"style\",\"opacity: 0.4\")):(d.removeAttribute(\"style\"),g.removeAttribute(\"style\"))}))},t.prototype.undo=function(){var e=this.get(\"graph\"),n=e.getUndoStack();if(n&&n.length!==0){var i=n.pop();if(i){var d=i.action;e.pushStack(d,Object(s.clone)(i.data),\"redo\");var g=i.data.before;if(d===\"add\"&&(g=i.data.after),!g)return;switch(d){case\"visible\":Object.keys(g).forEach(function(Z){var te=g[Z];te&&te.forEach(function(de){var Pe=e.findById(de.id);de.visible?e.showItem(Pe,!1):e.hideItem(Pe,!1)})});break;case\"render\":case\"update\":Object.keys(g).forEach(function(Z){var te=g[Z];te&&te.forEach(function(de){var Pe=e.findById(de.id);delete de.id,e.updateItem(Pe,de,!1),Pe.getType()===\"combo\"&&e.updateCombo(Pe)})});break;case\"changedata\":e.changeData(g,!1);break;case\"delete\":Object.keys(g).forEach(function(Z){var te=g[Z];te&&te.forEach(function(de){var Pe=de.itemType;delete de.itemType,e.addItem(Pe,de,!1)})});break;case\"add\":Object.keys(g).forEach(function(Z){var te=g[Z];te&&te.forEach(function(de){e.removeItem(de.id,!1)})});break;case\"updateComboTree\":Object.keys(g).forEach(function(Z){var te=g[Z];te&&te.forEach(function(de){e.updateComboTree(de.id,de.parentId,!1)})});break;case\"createCombo\":var _=i.data.after.combos,I=_[_.length-1];Object.keys(g).forEach(function(Z){var te=g[Z];te&&te.forEach(function(de){e.updateComboTree(de.id,de.parentId,!1)})}),e.removeItem(I.id,!1);break;case\"uncombo\":var D=g.combos[g.combos.length-1],H=g.nodes.concat(g.combos).map(function(Z){return Z.id}).filter(function(Z){return Z!==D.id});e.createCombo(D,H,!1);break;case\"layout\":e.updateLayout(g,void 0,void 0,!1)}}}},t.prototype.redo=function(){var e=this.get(\"graph\"),n=e.getRedoStack();if(n&&n.length!==0){var i=n.pop();if(i){var d=i.action,g=i.data.after;if(e.pushStack(d,Object(s.clone)(i.data)),d===\"delete\"&&(g=i.data.before),!g)return;switch(d){case\"visible\":Object.keys(g).forEach(function(H){var Z=g[H];Z&&Z.forEach(function(te){var de=e.findById(te.id);te.visible?e.showItem(de,!1):e.hideItem(de,!1)})});break;case\"render\":case\"update\":Object.keys(g).forEach(function(H){var Z=g[H];Z&&Z.forEach(function(te){var de=e.findById(te.id);delete te.id,e.updateItem(de,te,!1),de.getType()===\"combo\"&&e.updateCombo(de)})});break;case\"changedata\":e.changeData(g,!1);break;case\"delete\":g.edges&&g.edges.forEach(function(H){e.removeItem(H.id,!1)}),g.nodes&&g.nodes.forEach(function(H){e.removeItem(H.id,!1)}),g.combos&&g.combos.forEach(function(H){e.removeItem(H.id,!1)});break;case\"add\":Object.keys(g).forEach(function(H){var Z=g[H];Z&&Z.forEach(function(te){var de=te.itemType;delete te.itemType,e.addItem(de,te,!1)})});break;case\"updateComboTree\":Object.keys(g).forEach(function(H){var Z=g[H];Z&&Z.forEach(function(te){e.updateComboTree(te.id,te.parentId,!1)})});break;case\"createCombo\":var _=g.combos[g.combos.length-1];e.createCombo(_,_.children.map(function(H){return H.id}),!1);break;case\"uncombo\":var I=i.data.before.combos,D=I[I.length-1];e.uncombo(D.id,!1);break;case\"layout\":e.updateLayout(g,void 0,void 0,!1)}}}},t.prototype.zoomOut=function(){var e=this.get(\"graph\"),n=e.getZoom(),i=1/(1-.05*this.get(\"zoomSensitivity\"));i*n>(this.get(\"maxZoom\")||e.get(\"maxZoom\"))||e.zoomTo(n*i)},t.prototype.zoomIn=function(){var e=this.get(\"graph\"),n=e.getZoom(),i=1-.05*this.get(\"zoomSensitivity\");i*n<(this.get(\"minZoom\")||e.get(\"minZoom\"))||e.zoomTo(n*i)},t.prototype.realZoom=function(){this.get(\"graph\").zoomTo(1)},t.prototype.autoZoom=function(){this.get(\"graph\").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()}},t.prototype.destroy=function(){var e=this.get(\"toolBar\");if(e){var n=this.get(\"container\");n||(n=this.get(\"graph\").get(\"container\")),Object(s.isString)(n)&&(n=document.getElementById(n)),n.removeChild(e)}var i=this.get(\"handleClick\");i&&e.removeEventListener(\"click\",i)},t}(gs),st=function(){var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(n[d]=i[d])})(t,e)};return function(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Class extends value \"+String(e)+\" is not a constructor or null\");function n(){this.constructor=t}o(t,e),t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();typeof document!=\"undefined\"&&pu()(`\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 it=function(o){function t(e){return o.call(this,e)||this}return st(t,o),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 this.get(\"trigger\")===\"click\"?{\"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,n=e.get(\"className\")||\"g6-component-tooltip\",i=_i(\"<div class='\".concat(n,\"'></div>\")),d=e.get(\"container\");d||(d=e.get(\"graph\").get(\"container\")),Object(s.isString)(d)&&(d=document.getElementById(d)),gi(i,{position:\"absolute\",visibility:\"hidden\",display:\"none\"}),d.appendChild(i),e.get(\"trigger\")!==\"click\"&&(i.addEventListener(\"mouseenter\",function(g){gi(i,{visibility:\"visible\",display:\"unset\"})}),i.addEventListener(\"mouseleave\",function(g){e.hideTooltip()})),e.set(\"tooltip\",i)},t.prototype.onClick=function(e){var n=this.get(\"itemTypes\");if(!e.item||!e.item.getType||n.indexOf(e.item.getType())!==-1){var i=e.item,d=this.get(\"graph\");this.currentTarget===i?(this.currentTarget=null,this.hideTooltip(),d.emit(\"tooltipchange\",{item:e.item,action:\"hide\"})):(this.currentTarget=i,this.showTooltip(e),d.emit(\"tooltipchange\",{item:e.item,action:\"show\"}))}},t.prototype.onMouseEnter=function(e){var n=this.get(\"itemTypes\");if(!e.item||!e.item.getType||n.indexOf(e.item.getType())!==-1){var i=e.item,d=this.get(\"graph\");this.currentTarget=i,this.showTooltip(e),d.emit(\"tooltipchange\",{item:e.item,action:\"show\"})}},t.prototype.onMouseMove=function(e){var n=this.get(\"itemTypes\");e.item&&e.item.getType&&n.indexOf(e.item.getType())===-1||this.currentTarget&&e.item===this.currentTarget&&this.showTooltip(e)},t.prototype.onMouseLeave=function(){this.hideTooltip(),this.get(\"graph\").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 n=this.get(\"itemTypes\");if(!e.item.getType||n.indexOf(e.item.getType())!==-1){var i=this.get(\"tooltip\"),d=this.get(\"getContent\")(e);Object(s.isString)(d)?i.innerHTML=d:(this.clearContainer(),i.appendChild(d)),this.updatePosition(e)}}},t.prototype.hideTooltip=function(){var e=this.get(\"tooltip\");e&&gi(e,{visibility:\"hidden\",display:\"none\"})},t.prototype.updatePosition=function(e){var n=this.get(\"shouldBegin\"),i=this.get(\"tooltip\");if(n(e)){var d=this.get(\"graph\"),g=d.get(\"width\"),_=d.get(\"height\"),I=this.get(\"offsetX\")||0,D=this.get(\"offsetY\")||0,H=d.getPointByClient(e.clientX,e.clientY),Z=this.get(\"fixToNode\"),te=e.item;if(te.getType&&te.getType()===\"node\"&&Z&&Object(s.isArray)(Z)&&Z.length>=2){var de=te.getBBox();H={x:de.minX+de.width*Z[0],y:de.minY+de.height*Z[1]}}var Pe=d.getCanvasByPoint(H.x,H.y),Ge=Pe.x,Qe=Pe.y,Xe=d.getContainer(),yt={x:Ge+Xe.offsetLeft+I,y:Qe+Xe.offsetTop+D};gi(i,{visibility:\"visible\",display:\"unset\"});var Ct=i.getBoundingClientRect();Ge+Ct.width+I>g&&(yt.x-=Ct.width+I),Qe+Ct.height+D>_&&(yt.y-=Ct.height+D),gi(i,{left:\"\".concat(yt.x,\"px\"),top:\"\".concat(yt.y,\"px\")})}else gi(i,{visibility:\"hidden\",display:\"none\"})},t.prototype.hide=function(){this.onMouseLeave()},t.prototype.destroy=function(){var e=this.get(\"tooltip\");if(e){var n=this.get(\"container\");n||(n=this.get(\"graph\").get(\"container\")),Object(s.isString)(n)&&(n=document.getElementById(n)),n.removeChild(e)}},t}(gs),Qt={};function qn(o,t){Qt[o]=t}var Tr=function(){function o(t){this.type=\"base\",this.isCategory=!1,this.isLinear=!1,this.isContinuous=!1,this.isIdentity=!1,this.values=[],this.range=[0,1],this.ticks=[],this.__cfg__=t,this.initCfg(),this.init()}return o.prototype.translate=function(t){return t},o.prototype.change=function(t){Object(s.assign)(this.__cfg__,t),this.init()},o.prototype.clone=function(){return this.constructor(this.__cfg__)},o.prototype.getTicks=function(){var t=this;return Object(s.map)(this.ticks,function(e,n){return Object(s.isObject)(e)?e:{text:t.getText(e,n),tickValue:e,value:t.scale(e)}})},o.prototype.getText=function(t,e){var n=this.formatter,i=n?n(t,e):t;return Object(s.isNil)(i)||!Object(s.isFunction)(i.toString)?\"\":i.toString()},o.prototype.getConfig=function(t){return this.__cfg__[t]},o.prototype.init=function(){Object(s.assign)(this,this.__cfg__),this.setDomain(),Object(s.isEmpty)(this.getConfig(\"ticks\"))&&(this.ticks=this.calculateTicks())},o.prototype.initCfg=function(){},o.prototype.setDomain=function(){},o.prototype.calculateTicks=function(){var t=this.tickMethod,e=[];if(Object(s.isString)(t)){var n=Qt[t];if(!n)throw new Error(\"There is no method to to calculate ticks!\");e=n(this)}else Object(s.isFunction)(t)&&(e=t(this));return e},o.prototype.rangeMin=function(){return this.range[0]},o.prototype.rangeMax=function(){return this.range[1]},o.prototype.calcPercent=function(t,e,n){return Object(s.isNumber)(t)?(t-e)/(n-e):NaN},o.prototype.calcValue=function(t,e,n){return e+t*(n-e)},o}(),bo=function(o){function t(){var e=o!==null&&o.apply(this,arguments)||this;return e.type=\"cat\",e.isCategory=!0,e}return Object(l.__extends)(t,o),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 n=this.translateIndexMap.get(e);return n===void 0&&(n=Object(s.isNumber)(e)?e:NaN),n},t.prototype.scale=function(e){var n=this.translate(e),i=this.calcPercent(n,this.min,this.max);return this.calcValue(i,this.rangeMin(),this.rangeMax())},t.prototype.invert=function(e){var n=this.max-this.min,i=this.calcPercent(e,this.rangeMin(),this.rangeMax()),d=Math.round(n*i)+this.min;return d<this.min||d>this.max?NaN:this.values[d]},t.prototype.getText=function(e){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var d=e;return Object(s.isNumber)(e)&&!this.values.includes(e)&&(d=this.values[d]),o.prototype.getText.apply(this,Object(l.__spreadArrays)([d],n))},t.prototype.initCfg=function(){this.tickMethod=\"cat\"},t.prototype.setDomain=function(){if(Object(s.isNil)(this.getConfig(\"min\"))&&(this.min=0),Object(s.isNil)(this.getConfig(\"max\"))){var e=this.values.length;this.max=e>1?e-1:e}this.translateIndexMap&&(this.translateIndexMap=void 0)},t}(Tr),Ko=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\\1?|[aA]|\"[^\"]*\"|'[^']*'/g,Mi=\"[^\\\\s]+\",Hi=/\\[([^]*?)\\]/gm;function ja(o,t){for(var e=[],n=0,i=o.length;n<i;n++)e.push(o[n].substr(0,t));return e}var ms=function(o){return function(t,e){var n=e[o].map(function(i){return i.toLowerCase()}).indexOf(t.toLowerCase());return n>-1?n:null}};function Ps(o){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];for(var n=0,i=t;n<i.length;n++){var d=i[n];for(var g in d)o[g]=d[g]}return o}var fu=[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],qs=[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],Ya=ja(qs,3),Nu={dayNamesShort:ja(fu,3),dayNames:fu,monthNamesShort:Ya,monthNames:qs,amPm:[\"am\",\"pm\"],DoFn:function(o){return o+[\"th\",\"st\",\"nd\",\"rd\"][o%10>3?0:(o-o%10!=10?1:0)*o%10]}},ru=Ps({},Nu),mu=function(o){return ru=Ps(ru,o)},Zs=function(o){return o.replace(/[|\\\\{()[^$+*?.-]/g,\"\\\\$&\")},cs=function(o,t){for(t===void 0&&(t=2),o=String(o);o.length<t;)o=\"0\"+o;return o},Xs={D:function(o){return String(o.getDate())},DD:function(o){return cs(o.getDate())},Do:function(o,t){return t.DoFn(o.getDate())},d:function(o){return String(o.getDay())},dd:function(o){return cs(o.getDay())},ddd:function(o,t){return t.dayNamesShort[o.getDay()]},dddd:function(o,t){return t.dayNames[o.getDay()]},M:function(o){return String(o.getMonth()+1)},MM:function(o){return cs(o.getMonth()+1)},MMM:function(o,t){return t.monthNamesShort[o.getMonth()]},MMMM:function(o,t){return t.monthNames[o.getMonth()]},YY:function(o){return cs(String(o.getFullYear()),4).substr(2)},YYYY:function(o){return cs(o.getFullYear(),4)},h:function(o){return String(o.getHours()%12||12)},hh:function(o){return cs(o.getHours()%12||12)},H:function(o){return String(o.getHours())},HH:function(o){return cs(o.getHours())},m:function(o){return String(o.getMinutes())},mm:function(o){return cs(o.getMinutes())},s:function(o){return String(o.getSeconds())},ss:function(o){return cs(o.getSeconds())},S:function(o){return String(Math.round(o.getMilliseconds()/100))},SS:function(o){return cs(Math.round(o.getMilliseconds()/10),2)},SSS:function(o){return cs(o.getMilliseconds(),3)},a:function(o,t){return o.getHours()<12?t.amPm[0]:t.amPm[1]},A:function(o,t){return o.getHours()<12?t.amPm[0].toUpperCase():t.amPm[1].toUpperCase()},ZZ:function(o){var t=o.getTimezoneOffset();return(t>0?\"-\":\"+\")+cs(100*Math.floor(Math.abs(t)/60)+Math.abs(t)%60,4)},Z:function(o){var t=o.getTimezoneOffset();return(t>0?\"-\":\"+\")+cs(Math.floor(Math.abs(t)/60),2)+\":\"+cs(Math.abs(t)%60,2)}},yu=function(o){return+o-1},bu=[null,\"\\\\d\\\\d?\"],Ku=[null,Mi],Qc=[\"isPm\",Mi,function(o,t){var e=o.toLowerCase();return e===t.amPm[0]?0:e===t.amPm[1]?1:null}],_l=[\"timezoneOffset\",\"[^\\\\s]*?[\\\\+\\\\-]\\\\d\\\\d:?\\\\d\\\\d|[^\\\\s]*?Z?\",function(o){var t=(o+\"\").match(/([+-]|\\d\\d)/gi);if(t){var e=60*+t[1]+parseInt(t[2],10);return t[0]===\"+\"?e:-e}return 0}],Nc={D:[\"day\",\"\\\\d\\\\d?\"],DD:[\"day\",\"\\\\d\\\\d\"],Do:[\"day\",\"\\\\d\\\\d?\"+Mi,function(o){return parseInt(o,10)}],M:[\"month\",\"\\\\d\\\\d?\",yu],MM:[\"month\",\"\\\\d\\\\d\",yu],YY:[\"year\",\"\\\\d\\\\d\",function(o){var t=+(\"\"+new Date().getFullYear()).substr(0,2);return+(\"\"+(+o>68?t-1:t)+o)}],h:[\"hour\",\"\\\\d\\\\d?\",void 0,\"isPm\"],hh:[\"hour\",\"\\\\d\\\\d\",void 0,\"isPm\"],H:[\"hour\",\"\\\\d\\\\d?\"],HH:[\"hour\",\"\\\\d\\\\d\"],m:[\"minute\",\"\\\\d\\\\d?\"],mm:[\"minute\",\"\\\\d\\\\d\"],s:[\"second\",\"\\\\d\\\\d?\"],ss:[\"second\",\"\\\\d\\\\d\"],YYYY:[\"year\",\"\\\\d{4}\"],S:[\"millisecond\",\"\\\\d\",function(o){return 100*+o}],SS:[\"millisecond\",\"\\\\d\\\\d\",function(o){return 10*+o}],SSS:[\"millisecond\",\"\\\\d{3}\"],d:bu,dd:bu,ddd:Ku,dddd:Ku,MMM:[\"month\",Mi,ms(\"monthNamesShort\")],MMMM:[\"month\",Mi,ms(\"monthNames\")],a:Qc,A:Qc,ZZ:_l,Z:_l},ju={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\"},Wu=function(o){return Ps(ju,o)},dl=function(o,t,e){if(t===void 0&&(t=ju.default),e===void 0&&(e={}),typeof o==\"number\"&&(o=new Date(o)),Object.prototype.toString.call(o)!==\"[object Date]\"||isNaN(o.getTime()))throw new Error(\"Invalid Date pass to format\");var n=[];t=(t=ju[t]||t).replace(Hi,function(d,g){return n.push(g),\"@@@\"});var i=Ps(Ps({},ru),e);return(t=t.replace(Ko,function(d){return Xs[d](o,i)})).replace(/@@@/g,function(){return n.shift()})};function Du(o,t,e){if(e===void 0&&(e={}),typeof t!=\"string\")throw new Error(\"Invalid format in fecha parse\");if(t=ju[t]||t,o.length>1e3)return null;var n={year:new Date().getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},i=[],d=[],g=t.replace(Hi,function(Ct,on){return d.push(Zs(on)),\"@@@\"}),_={},I={};g=Zs(g).replace(Ko,function(Ct){var on=Nc[Ct],sn=on[0],Nn=on[1],Tn=on[3];if(_[sn])throw new Error(\"Invalid format. \"+sn+\" specified twice in format\");return _[sn]=!0,Tn&&(I[Tn]=!0),i.push(on),\"(\"+Nn+\")\"}),Object.keys(I).forEach(function(Ct){if(!_[Ct])throw new Error(\"Invalid format. \"+Ct+\" is required in specified format\")}),g=g.replace(/@@@/g,function(){return d.shift()});var D=o.match(new RegExp(g,\"i\"));if(!D)return null;for(var H,Z=Ps(Ps({},ru),e),te=1;te<D.length;te++){var de=i[te-1],Pe=de[0],Ge=de[2],Qe=Ge?Ge(D[te],Z):+D[te];if(Qe==null)return null;n[Pe]=Qe}if(n.isPm===1&&n.hour!=null&&+n.hour!=12?n.hour=+n.hour+12:n.isPm===0&&+n.hour==12&&(n.hour=0),n.timezoneOffset==null){H=new Date(n.year,n.month,n.day,n.hour,n.minute,n.second,n.millisecond);for(var Xe=[[\"month\",\"getMonth\"],[\"day\",\"getDate\"],[\"hour\",\"getHours\"],[\"minute\",\"getMinutes\"],[\"second\",\"getSeconds\"]],yt=(te=0,Xe.length);te<yt;te++)if(_[Xe[te][0]]&&n[Xe[te][0]]!==H[Xe[te][1]]())return null}else if(H=new Date(Date.UTC(n.year,n.month,n.day,n.hour,n.minute-n.timezoneOffset,n.second,n.millisecond)),n.month>11||n.month<0||n.day>31||n.day<1||n.hour>23||n.hour<0||n.minute>59||n.minute<0||n.second>59||n.second<0)return null;return H}var hl={format:dl,parse:Du,defaultI18n:Nu,setGlobalDateI18n:mu,setGlobalDateMasks:Wu};function jc(o,t){return(h.format||hl.format)(o,t)}function js(o){return Object(s.isString)(o)&&(o=o.indexOf(\"T\")>0?new Date(o).getTime():new Date(o.replace(/-/gi,\"/\")).getTime()),Object(s.isDate)(o)&&(o=o.getTime()),o}var xu=36e5,wu=24*xu,Ys=31*wu,Uu=[[\"HH:mm:ss\",1e3],[\"HH:mm:ss\",1e4],[\"HH:mm:ss\",3e4],[\"HH:mm\",6e4],[\"HH:mm\",6e5],[\"HH:mm\",18e5],[\"HH\",xu],[\"HH\",6*xu],[\"HH\",12*xu],[\"YYYY-MM-DD\",wu],[\"YYYY-MM-DD\",4*wu],[\"YYYY-WW\",7*wu],[\"YYYY-MM\",Ys],[\"YYYY-MM\",4*Ys],[\"YYYY-MM\",6*Ys],[\"YYYY\",380*wu]];function Dc(o,t,e){var n,i=(n=function(g){return g[1]},function(g,_,I,D){for(var H=Object(s.isNil)(I)?0:I,Z=Object(s.isNil)(D)?g.length:D;H<Z;){var te=H+Z>>>1;n(g[te])>_?Z=te:H=te+1}return H})(Uu,(t-o)/e)-1,d=Uu[i];return i<0?d=Uu[0]:i>=Uu.length&&(d=Object(s.last)(Uu)),d}var ic=function(o){function t(){var e=o!==null&&o.apply(this,arguments)||this;return e.type=\"timeCat\",e}return Object(l.__extends)(t,o),t.prototype.translate=function(e){e=js(e);var n=this.values.indexOf(e);return n===-1&&(n=Object(s.isNumber)(e)&&e<this.values.length?e:NaN),n},t.prototype.getText=function(e,n){var i=this.translate(e);if(i>-1){var d=this.values[i],g=this.formatter;return d=g?g(d,n):jc(d,this.mask)}return e},t.prototype.initCfg=function(){this.tickMethod=\"time-cat\",this.mask=\"YYYY-MM-DD\",this.tickCount=7},t.prototype.setDomain=function(){var e=this.values;Object(s.each)(e,function(n,i){e[i]=js(n)}),e.sort(function(n,i){return n-i}),o.prototype.setDomain.call(this)},t}(bo),Rc=function(o){function t(){var e=o!==null&&o.apply(this,arguments)||this;return e.isContinuous=!0,e}return Object(l.__extends)(t,o),t.prototype.scale=function(e){if(Object(s.isNil)(e))return NaN;var n=this.rangeMin(),i=this.rangeMax();return this.max===this.min?n:n+this.getScalePercent(e)*(i-n)},t.prototype.init=function(){o.prototype.init.call(this);var e=this.ticks,n=Object(s.head)(e),i=Object(s.last)(e);n<this.min&&(this.min=n),i>this.max&&(this.max=i),Object(s.isNil)(this.minLimit)||(this.min=n),Object(s.isNil)(this.maxLimit)||(this.max=i)},t.prototype.setDomain=function(){var e=Object(s.getRange)(this.values),n=e.min,i=e.max;Object(s.isNil)(this.min)&&(this.min=n),Object(s.isNil)(this.max)&&(this.max=i),this.min>this.max&&(this.min=n,this.max=i)},t.prototype.calculateTicks=function(){var e=this,n=o.prototype.calculateTicks.call(this);return this.nice||(n=Object(s.filter)(n,function(i){return i>=e.min&&i<=e.max})),n},t.prototype.getScalePercent=function(e){var n=this.max,i=this.min;return(e-i)/(n-i)},t.prototype.getInvertPercent=function(e){return(e-this.rangeMin())/(this.rangeMax()-this.rangeMin())},t}(Tr),is=function(o){function t(){var e=o!==null&&o.apply(this,arguments)||this;return e.type=\"linear\",e.isLinear=!0,e}return Object(l.__extends)(t,o),t.prototype.invert=function(e){var n=this.getInvertPercent(e);return this.min+n*(this.max-this.min)},t.prototype.initCfg=function(){this.tickMethod=\"wilkinson-extended\",this.nice=!1},t}(Rc);function Tu(o,t){var e=Math.E;return t>=0?Math.pow(e,Math.log(t)/o):-1*Math.pow(e,Math.log(-t)/o)}function Pu(o,t){return o===1?1:Math.log(t)/Math.log(o)}function Jc(o,t,e){Object(s.isNil)(e)&&(e=Math.max.apply(null,o));var n=e;return Object(s.each)(o,function(i){i>0&&i<n&&(n=i)}),n===e&&(n=e/t),n>1&&(n=1),n}var Gl=function(o){function t(){var e=o!==null&&o.apply(this,arguments)||this;return e.type=\"log\",e}return Object(l.__extends)(t,o),t.prototype.invert=function(e){var n,i=this.base,d=Pu(i,this.max),g=this.rangeMin(),_=this.rangeMax()-g,I=this.positiveMin;if(I){if(e===0)return 0;var D=1/(d-(n=Pu(i,I/i)))*_;if(e<D)return e/D*I}else n=Pu(i,this.min);var H=(e-g)/_*(d-n)+n;return Math.pow(i,H)},t.prototype.initCfg=function(){this.tickMethod=\"log\",this.base=10,this.tickCount=6,this.nice=!0},t.prototype.setDomain=function(){o.prototype.setDomain.call(this);var e=this.min;if(e<0)throw new Error(\"When you use log scale, the minimum value must be greater than zero!\");e===0&&(this.positiveMin=Jc(this.values,this.base,this.max))},t.prototype.getScalePercent=function(e){var n=this.max,i=this.min;if(n===i||e<=0)return 0;var d=this.base,g=this.positiveMin;return g&&(i=1*g/d),e<g?e/g/(Pu(d,n)-Pu(d,i)):(Pu(d,e)-Pu(d,i))/(Pu(d,n)-Pu(d,i))},t}(Rc),ac=function(o){function t(){var e=o!==null&&o.apply(this,arguments)||this;return e.type=\"pow\",e}return Object(l.__extends)(t,o),t.prototype.invert=function(e){var n=this.getInvertPercent(e),i=this.exponent,d=Tu(i,this.max),g=Tu(i,this.min),_=n*(d-g)+g,I=_>=0?1:-1;return Math.pow(_,i)*I},t.prototype.initCfg=function(){this.tickMethod=\"pow\",this.exponent=2,this.tickCount=5,this.nice=!0},t.prototype.getScalePercent=function(e){var n=this.max,i=this.min;if(n===i)return 0;var d=this.exponent;return(Tu(d,e)-Tu(d,i))/(Tu(d,n)-Tu(d,i))},t}(Rc),el=function(o){function t(){var e=o!==null&&o.apply(this,arguments)||this;return e.type=\"time\",e}return Object(l.__extends)(t,o),t.prototype.getText=function(e,n){var i=this.translate(e),d=this.formatter;return d?d(i,n):jc(i,this.mask)},t.prototype.scale=function(e){var n=e;return(Object(s.isString)(n)||Object(s.isDate)(n))&&(n=this.translate(n)),o.prototype.scale.call(this,n)},t.prototype.translate=function(e){return js(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,n=this.getConfig(\"min\"),i=this.getConfig(\"max\");if(Object(s.isNil)(n)&&Object(s.isNumber)(n)||(this.min=this.translate(this.min)),Object(s.isNil)(i)&&Object(s.isNumber)(i)||(this.max=this.translate(this.max)),e&&e.length){var d=[],g=1/0,_=g,I=0;Object(s.each)(e,function(D){var H=js(D);if(isNaN(H))throw new TypeError(\"Invalid Time: \"+D+\" in time scale!\");g>H?(_=g,g=H):_>H&&(_=H),I<H&&(I=H),d.push(H)}),e.length>1&&(this.minTickInterval=_-g),Object(s.isNil)(n)&&(this.min=g),Object(s.isNil)(i)&&(this.max=I)}},t}(is),sc=function(o){function t(){var e=o!==null&&o.apply(this,arguments)||this;return e.type=\"quantize\",e}return Object(l.__extends)(t,o),t.prototype.invert=function(e){var n=this.ticks,i=n.length,d=this.getInvertPercent(e),g=Math.floor(d*(i-1));if(g>=i-1)return Object(s.last)(n);if(g<0)return Object(s.head)(n);var _=n[g],I=g/(i-1);return _+(d-I)/((g+1)/(i-1)-I)*(n[g+1]-_)},t.prototype.initCfg=function(){this.tickMethod=\"r-pretty\",this.tickCount=5,this.nice=!0},t.prototype.calculateTicks=function(){var e=o.prototype.calculateTicks.call(this);return this.nice||(Object(s.last)(e)!==this.max&&e.push(this.max),Object(s.head)(e)!==this.min&&e.unshift(this.min)),e},t.prototype.getScalePercent=function(e){var n=this.ticks;if(e<Object(s.head)(n))return 0;if(e>Object(s.last)(n))return 1;var i=0;return Object(s.each)(n,function(d,g){if(!(e>=d))return!1;i=g}),i/(n.length-1)},t}(Rc),tl=function(o){function t(){var e=o!==null&&o.apply(this,arguments)||this;return e.type=\"quantile\",e}return Object(l.__extends)(t,o),t.prototype.initCfg=function(){this.tickMethod=\"quantile\",this.tickCount=5,this.nice=!0},t}(sc),nl={};function Vu(o,t){if(function(e){return nl[e]}(o))throw new Error(\"type '\"+o+\"' existed.\");nl[o]=t}var Lc=function(o){function t(){var e=o!==null&&o.apply(this,arguments)||this;return e.type=\"identity\",e.isIdentity=!0,e}return Object(l.__extends)(t,o),t.prototype.calculateTicks=function(){return this.values},t.prototype.scale=function(e){return this.values[0]!==e&&Object(s.isNumber)(e)?e:this.range[0]},t.prototype.invert=function(e){var n=this.range;return e<n[0]||e>n[1]?NaN:this.values[0]},t}(Tr);function Wl(o){var t=o.values,e=o.tickInterval,n=o.tickCount,i=o.showLast;if(Object(s.isNumber)(e)){var d=Object(s.filter)(t,function(Pe,Ge){return Ge%e==0}),g=Object(s.last)(t);return i&&Object(s.last)(d)!==g&&d.push(g),d}var _=t.length,I=o.min,D=o.max;if(Object(s.isNil)(I)&&(I=0),Object(s.isNil)(D)&&(D=t.length-1),!Object(s.isNumber)(n)||n>=_)return t.slice(I,D+1);if(n<=0||D<=0)return[];for(var H=n===1?_:Math.floor(_/(n-1)),Z=[],te=I,de=0;de<n&&!(te>=D);de++)te=Math.min(I+de*H,D),de===n-1&&i?Z.push(t[D]):Z.push(t[te]);return Z}var Ul=Math.sqrt(50),uc=Math.sqrt(10),rl=Math.sqrt(2),ol=function(){function o(){this._domain=[0,1]}return o.prototype.domain=function(t){return t?(this._domain=Array.from(t,Number),this):this._domain.slice()},o.prototype.nice=function(t){var e,n;t===void 0&&(t=5);var i,d=this._domain.slice(),g=0,_=this._domain.length-1,I=this._domain[g],D=this._domain[_];return D<I&&(I=(e=[D,I])[0],D=e[1],g=(n=[_,g])[0],_=n[1]),(i=ta(I,D,t))>0?i=ta(I=Math.floor(I/i)*i,D=Math.ceil(D/i)*i,t):i<0&&(i=ta(I=Math.ceil(I*i)/i,D=Math.floor(D*i)/i,t)),i>0?(d[g]=Math.floor(I/i)*i,d[_]=Math.ceil(D/i)*i,this.domain(d)):i<0&&(d[g]=Math.ceil(I*i)/i,d[_]=Math.floor(D*i)/i,this.domain(d)),this},o.prototype.ticks=function(t){return t===void 0&&(t=5),function(e,n,i){var d,g,_,I,D=-1;if(i=+i,(e=+e)==(n=+n)&&i>0)return[e];if((d=n<e)&&(g=e,e=n,n=g),(I=ta(e,n,i))===0||!isFinite(I))return[];if(I>0)for(e=Math.ceil(e/I),n=Math.floor(n/I),_=new Array(g=Math.ceil(n-e+1));++D<g;)_[D]=(e+D)*I;else for(e=Math.floor(e*I),n=Math.ceil(n*I),_=new Array(g=Math.ceil(e-n+1));++D<g;)_[D]=(e-D)/I;return d&&_.reverse(),_}(this._domain[0],this._domain[this._domain.length-1],t||5)},o}();function ta(o,t,e){var n=(t-o)/Math.max(0,e),i=Math.floor(Math.log(n)/Math.LN10),d=n/Math.pow(10,i);return i>=0?(d>=Ul?10:d>=uc?5:d>=rl?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(d>=Ul?10:d>=uc?5:d>=rl?2:1)}function pl(o,t,e){return(e===\"ceil\"?Math.ceil(o/t):e===\"floor\"?Math.floor(o/t):Math.round(o/t))*t}function Bc(o,t,e){var n=pl(o,e,\"floor\"),i=pl(t,e,\"ceil\");n=Object(s.fixedBase)(n,e),i=Object(s.fixedBase)(i,e);for(var d=[],g=Math.max((i-n)/(Math.pow(2,12)-1),e),_=n;_<=i;_+=g){var I=Object(s.fixedBase)(_,g);d.push(I)}return{min:n,max:i,ticks:d}}function xc(o,t,e){var n,i=o.minLimit,d=o.maxLimit,g=o.min,_=o.max,I=o.tickCount,D=I===void 0?5:I,H=Object(s.isNil)(i)?Object(s.isNil)(t)?g:t:i,Z=Object(s.isNil)(d)?Object(s.isNil)(e)?_:e:d;if(H>Z&&(Z=(n=[H,Z])[0],H=n[1]),D<=2)return[H,Z];for(var te=(Z-H)/(D-1),de=[],Pe=0;Pe<D;Pe++)de.push(H+te*Pe);return de}function $u(o){return Math.abs(o)<1e-15?o:parseFloat(o.toFixed(15))}var Fc=[1,5,2,2.5,4,3],il=100*Number.EPSILON;function al(o,t,e,n,i,d){var g=Object(s.size)(t),_=Object(s.indexOf)(t,o),I=0,D=function(H,Z){return(H%Z+Z)%Z}(n,d);return(D<il||d-D<il)&&n<=0&&i>=0&&(I=1),1-_/(g-1)-e+I}function zc(o,t,e){var n=Object(s.size)(t);return 1-Object(s.indexOf)(t,o)/(n-1)-e+1}function cc(o,t,e,n,i,d){var g=(o-1)/(d-i),_=(t-1)/(Math.max(d,n)-Math.min(e,i));return 2-Math.max(g/_,_/g)}function Ml(o,t){return o>=t?2-(o-1)/(t-1):1}function Al(o,t,e,n){var i=t-o;return 1-.5*(Math.pow(t-n,2)+Math.pow(o-e,2))/Math.pow(.1*i,2)}function sl(o,t,e){var n=t-o;if(e>n){var i=(e-n)/2;return 1-Math.pow(i,2)/Math.pow(.1*n,2)}return 1}function Vl(o,t,e,n,i,d){e===void 0&&(e=5),n===void 0&&(n=!0),i===void 0&&(i=Fc),d===void 0&&(d=[.25,.2,.5,.05]);var g=e<0?0:Math.round(e);if(Number.isNaN(o)||Number.isNaN(t)||typeof o!=\"number\"||typeof t!=\"number\"||!g)return{min:0,max:0,ticks:[]};if(t-o<1e-15||g===1)return{min:o,max:t,ticks:[o]};if(t-o>1e148){var _=(t-o)/(sn=e||5);return{min:o,max:t,ticks:Array(sn).fill(null).map(function(B,K){return $u(o+_*K)})}}for(var I={score:-2,lmin:0,lmax:0,lstep:0},D=1;D<1/0;){for(var H=0;H<i.length;H+=1){var Z=i[H],te=zc(Z,i,D);if(d[0]*te+d[1]+d[2]+d[3]<I.score){D=1/0;break}for(var de=2;de<1/0;){var Pe=Ml(de,g);if(d[0]*te+d[1]+d[2]*Pe+d[3]<I.score)break;for(var Ge=(t-o)/(de+1)/D/Z,Qe=Math.ceil(Math.log10(Ge));Qe<1/0;){var Xe=D*Z*Math.pow(10,Qe),yt=sl(o,t,Xe*(de-1));if(d[0]*te+d[1]*yt+d[2]*Pe+d[3]<I.score)break;var Ct=Math.floor(t/Xe)*D-(de-1)*D,on=Math.ceil(o/Xe)*D;if(Ct<=on)for(var sn=on-Ct,Nn=0;Nn<=sn;Nn+=1){var Tn=(Ct+Nn)*(Xe/D),Bn=Tn+Xe*(de-1),Hn=Xe,Sr=al(Z,i,D,Tn,Bn,Hn),Cr=Al(o,t,Tn,Bn),po=cc(de,g,o,t,Tn,Bn),wo=d[0]*Sr+d[1]*Cr+d[2]*po+1*d[3];wo>I.score&&(!n||Tn<=o&&Bn>=t)&&(I.lmin=Tn,I.lmax=Bn,I.lstep=Hn,I.score=wo)}Qe+=1}de+=1}}D+=1}var Po=$u(I.lmax),Xo=$u(I.lmin),ri=$u(I.lstep),ki=Math.floor(function(B){return Math.round(1e12*B)/1e12}((Po-Xo)/ri))+1,T=new Array(ki);for(T[0]=$u(Xo),H=1;H<ki;H++)T[H]=$u(T[H-1]+ri);return{min:Math.min(o,Object(s.head)(T)),max:Math.max(t,Object(s.last)(T)),ticks:T}}function ou(o,t,e){if(e===void 0&&(e=5),o===t)return{max:t,min:o,ticks:[o]};var n=e<0?0:Math.round(e);if(n===0)return{max:t,min:o,ticks:[]};var i=(t-o)/n,d=Math.pow(10,Math.floor(Math.log10(i))),g=d;2*d-i<1.5*(i-g)&&5*d-i<2.75*(i-(g=2*d))&&10*d-i<1.5*(i-(g=5*d))&&(g=10*d);for(var _=Math.ceil(t/g),I=Math.floor(o/g),D=Math.max(_*g,t),H=Math.min(I*g,o),Z=Math.floor((D-H)/g)+1,te=new Array(Z),de=0;de<Z;de++)te[de]=$u(H+de*g);return{min:H,max:D,ticks:te}}function Zl(o,t){var e=o.length*t;return t===1?o[o.length-1]:t===0?o[0]:e%1!=0?o[Math.ceil(e)-1]:o.length%2==0?(o[e-1]+o[e])/2:o[e]}function su(o){return new Date(o).getFullYear()}function $(o){return new Date(o,0,1).getTime()}function ne(o){return new Date(o).getMonth()}function Me(o,t){return new Date(o,t,1).getTime()}qn(\"cat\",Wl),qn(\"time-cat\",function(o){return Wl(Object(l.__assign)({showLast:!0},o))}),qn(\"wilkinson-extended\",function(o){var t=o.min,e=o.max,n=o.tickCount,i=o.nice,d=o.tickInterval,g=o.minLimit,_=o.maxLimit,I=Vl(t,e,n,i).ticks;return Object(s.isNil)(g)&&Object(s.isNil)(_)?d?Bc(t,e,d).ticks:I:xc(o,Object(s.head)(I),Object(s.last)(I))}),qn(\"r-pretty\",function(o){var t=o.min,e=o.max,n=o.tickCount,i=o.tickInterval,d=o.minLimit,g=o.maxLimit,_=ou(t,e,n).ticks;return Object(s.isNil)(d)&&Object(s.isNil)(g)?i?Bc(t,e,i).ticks:_:xc(o,Object(s.head)(_),Object(s.last)(_))}),qn(\"time\",function(o){var t=o.min,e=o.max,n=o.minTickInterval,i=o.tickInterval,d=o.tickCount;if(i)d=Math.ceil((e-t)/i);else{var g=(e-t)/(i=Dc(t,e,d)[1])/d;g>1&&(i*=Math.ceil(g)),n&&i<n&&(i=n)}i=Math.max(Math.floor((e-t)/(Math.pow(2,12)-1)),i);for(var _=[],I=t;I<e+i;I+=i)_.push(I);return _}),qn(\"time-pretty\",function(o){var t=o.min,e=o.max,n=o.minTickInterval,i=o.tickCount,d=o.tickInterval,g=[];d||(d=(e-t)/i,n&&d<n&&(d=n)),d=Math.max(Math.floor((e-t)/(Math.pow(2,12)-1)),d);var _=su(t);if(d>31536e6)for(var I=su(e),D=Math.ceil(d/31536e6),H=_;H<=I+D;H+=D)g.push($(H));else if(d>Ys){var Z=Math.ceil(d/Ys),te=ne(t),de=function(wo,Po){var Xo=su(wo),ri=su(Po),ki=ne(wo);return 12*(ri-Xo)+(ne(Po)-ki)%12}(t,e);for(H=0;H<=de+Z;H+=Z)g.push(Me(_,H+te))}else if(d>wu){var Pe=(Ct=new Date(t)).getFullYear(),Ge=Ct.getMonth(),Qe=Ct.getDate(),Xe=Math.ceil(d/wu),yt=function(wo,Po){return Math.ceil((Po-wo)/wu)}(t,e);for(H=0;H<yt+Xe;H+=Xe)g.push(new Date(Pe,Ge,Qe+H).getTime())}else if(d>xu){Pe=(Ct=new Date(t)).getFullYear(),Ge=Ct.getMonth(),Xe=Ct.getDate();var Ct,on=Ct.getHours(),sn=Math.ceil(d/xu),Nn=function(wo,Po){return Math.ceil((Po-wo)/xu)}(t,e);for(H=0;H<=Nn+sn;H+=sn)g.push(new Date(Pe,Ge,Xe,on+H).getTime())}else if(d>6e4){var Tn=function(wo,Po){return Math.ceil((Po-wo)/6e4)}(t,e),Bn=Math.ceil(d/6e4);for(H=0;H<=Tn+Bn;H+=Bn)g.push(t+6e4*H)}else{var Hn=d;Hn<1e3&&(Hn=1e3);var Sr=1e3*Math.floor(t/1e3),Cr=Math.ceil((e-t)/1e3),po=Math.ceil(Hn/1e3);for(H=0;H<Cr+po;H+=po)g.push(Sr+1e3*H)}return g.length>=512&&console.warn(\"Notice: current ticks length(\"+g.length+') >= 512, may cause performance issues, even out of memory. Because of the configure \"tickInterval\"(in milliseconds, current is '+d+\") is too small, increase the value to solve the problem!\"),g}),qn(\"log\",function(o){var t,e=o.base,n=o.tickCount,i=o.min,d=o.max,g=o.values,_=Pu(e,d);if(i>0)t=Math.floor(Pu(e,i));else{var I=Jc(g,e,d);t=Math.floor(Pu(e,I))}for(var D=_-t,H=Math.ceil(D/n),Z=[],te=t;te<_+H;te+=H)Z.push(Math.pow(e,te));return i<=0&&Z.unshift(0),Z}),qn(\"pow\",function(o){var t=o.exponent,e=o.tickCount,n=Math.ceil(Tu(t,o.max));return ou(Math.floor(Tu(t,o.min)),n,e).ticks.map(function(i){var d=i>=0?1:-1;return Math.pow(i,t)*d})}),qn(\"quantile\",function(o){var t=o.tickCount,e=o.values;if(!e||!e.length)return[];for(var n=e.slice().sort(function(_,I){return _-I}),i=[],d=0;d<t;d++){var g=d/(t-1);i.push(Zl(n,g))}return i}),qn(\"d3-linear\",function(o){var t=o.min,e=o.max,n=o.tickInterval,i=o.minLimit,d=o.maxLimit,g=function(_){var I=_.min,D=_.max,H=_.nice,Z=_.tickCount,te=new ol;return te.domain([I,D]),H&&te.nice(Z),te.ticks(Z)}(o);return Object(s.isNil)(i)&&Object(s.isNil)(d)?n?Bc(t,e,n).ticks:g:xc(o,Object(s.head)(g),Object(s.last)(g))}),Vu(\"cat\",bo),Vu(\"category\",bo),Vu(\"identity\",Lc),Vu(\"linear\",is),Vu(\"log\",Gl),Vu(\"pow\",ac),Vu(\"time\",el),Vu(\"timeCat\",ic),Vu(\"quantize\",sc),Vu(\"quantile\",tl);var tt=function(o,t,e){if(e||arguments.length===2)for(var n,i=0,d=t.length;i<d;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return o.concat(n||Array.prototype.slice.call(t))};function at(o){return function(t){return Object(s.map)(t,function(e,n){return[n===0?\"M\":\"L\",e[0],e[1]]})}(o)}function Nt(o,t,e,n){n===void 0&&(n=!0);var i=new is({values:o}),d=new bo({values:Object(s.map)(o,function(_,I){return I})}),g=Object(s.map)(o,function(_,I){return[d.scale(I)*t,e-i.scale(_)*e]});return n?function(_){if(_.length<=2)return at(_);var I=[];Object(s.each)(_,function(de){Object(s.isEqual)(de,I.slice(I.length-2))||I.push(de[0],de[1])});var D=Je.a(I,!1),H=Object(s.head)(_),Z=H[0],te=H[1];return D.unshift([\"M\",Z,te]),D}(g):at(g)}function Tt(o,t,e,n){n===void 0&&(n=5);for(var i=new is({values:o}),d=new bo({values:Object(s.map)(o,function(Z,te){return te})}),g=Object(s.map)(o,function(Z,te){return[d.scale(te)*t,e-i.scale(Z)*e]}),_=[],I=0;I<g.length;I++){var D=g[I],H=nn({x:D[0],y:D[1],y0:e,size:n});_.push.apply(_,H)}return function(Z,te){te===void 0&&(te=!0);var de=[],Pe=Z[0];de.push([\"M\",Pe.x,Pe.y]);for(var Ge=1,Qe=Z.length;Ge<Qe;Ge++)de.push([\"L\",Z[Ge].x,Z[Ge].y]);return te&&(de.push([\"L\",Pe.x,Pe.y]),de.push([\"z\"])),de}(_)}function Jt(o,t,e,n){var i=tt([],o,!0),d=function(g,_){var I=new is({values:g}),D=Math.max(0,I.min);return _-I.scale(D)*_}(n,e);return i.push([\"L\",t,d]),i.push([\"L\",0,d]),i.push([\"Z\"]),i}function nn(o){var t,e,n,i,d=o.x,g=o.y,_=o.y0,I=o.size;Object(s.isArray)(g)?(t=g[0],e=g[1]):(t=_,e=g),Object(s.isArray)(d)?(n=d[0],i=d[1]):(n=d-I/2,i=d+I/2);var D=[{x:n,y:t},{x:n,y:e}];return D.push({x:i,y:e},{x:i,y:t}),D}var zn=function(){return(zn=Object.assign||function(o){for(var t,e=1,n=arguments.length;e<n;e++)for(var i in t=arguments[e])Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i]);return o}).apply(this,arguments)},mr={stroke:\"#C5C5C5\",strokeOpacity:.85},Er={fill:\"#CACED4\",opacity:.85},Zr=function(){function o(t){var e=t.x,n=e===void 0?0:e,i=t.y,d=i===void 0?0:i,g=t.width,_=g===void 0?200:g,I=t.height,D=I===void 0?26:I,H=t.smooth,Z=H===void 0||H,te=t.isArea,de=te!==void 0&&te,Pe=t.data,Ge=Pe===void 0?[]:Pe,Qe=t.lineStyle,Xe=t.areaStyle,yt=t.group,Ct=t.interval,on=Ct===void 0?null:Ct;this.group=yt,this.x=n,this.y=d,this.width=_,this.height=D,this.data=Ge,this.smooth=Z,this.isArea=de,this.lineStyle=Object.assign({},mr,Qe),this.areaStyle=Object.assign({},Er,Xe),this.intervalConfig=on,this.renderLine()}return o.prototype.renderLine=function(){var t=this,e=t.x,n=t.y,i=t.width,d=t.height,g=(t.barWidth,t.data),_=t.smooth,I=t.isArea,D=t.lineStyle,H=t.areaStyle,Z=this.group.addGroup({name:\"trend-group\"});if(g){var te=Nt(g,i,d,_);if(Z.addShape(\"path\",{attrs:zn({path:te},D),name:\"trend-line\"}),I){var de=Jt(te,i,d,g);Z.addShape(\"path\",{attrs:zn({path:de},H),name:\"trend-area\"})}}this.intervalConfig&&Z.addShape(\"path\",{attrs:zn({path:Tt(this.intervalConfig.data,i,d,this.intervalConfig.style.barWidth)},this.intervalConfig.style),name:\"trend-interval\"}),Z.move(e,n)},o.prototype.destory=function(){this.group.destroy()},o}(),Yr=function(){return(Yr=Object.assign||function(o){for(var t,e=1,n=arguments.length;e<n;e++)for(var i in t=arguments[e])Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i]);return o}).apply(this,arguments)},So={fill:\"#1890ff\",stroke:\"#1890ff\",type:\"trend\",radius:2,opacity:1,cursor:\"ew-resize\",highLightFill:\"#0050b3\"},Oo={fill:\"#fff\",stroke:\"#1890ff\",radius:2,opacity:1,cursor:\"ew-resize\"},xo=function(){function o(t){var e=t.group,n=t.name,i=t.type,d=t.x,g=d===void 0?0:d,_=t.y,I=_===void 0?0:_,D=t.width,H=D===void 0?2:D,Z=t.height,te=Z===void 0?24:Z,de=t.style,Pe=de===void 0?{}:de;this.group=e,this.name=n,this.handleType=i,this.x=g,this.y=I,this.width=H,this.height=te,i===\"trend\"?this.style=Yr(Yr({},So),Pe):i===\"simple\"&&(this.style=Yr(Yr({},Oo),Pe)),this.renderHandle()}return o.prototype.setX=function(t){this.setXY(t,void 0)},o.prototype.setY=function(t){this.setXY(void 0,t)},o.prototype.setXY=function(t,e){Object(s.isNumber)(t)&&(this.x=t),Object(s.isNumber)(e)&&(this.y=e),this.updateXY()},o.prototype.renderHandle=function(){var t=this.width,e=this.height,n=this.style,i=this.name,d=n.fill,g=n.stroke,_=n.radius,I=n.opacity,D=n.cursor;this.handleGroup=this.group.addGroup(),this.handleType===\"trend\"?(this.verticalLine=this.handleGroup.addShape(\"rect\",{attrs:{x:0,y:0,width:t,height:e,fill:d,stroke:g,radius:_,opacity:I,cursor:D},name:\"\".concat(i,\"-handler\")}),this.topCircle=this.handleGroup.addShape(\"circle\",{attrs:{x:t/2,y:0,r:2*t,fill:d,stroke:g,radius:_,opacity:I,cursor:D,lineAppendWidth:12},name:\"\".concat(i,\"-handler\")}),this.bottomCircle=this.handleGroup.addShape(\"circle\",{attrs:{x:t/2,y:e,r:2*t,fill:d,stroke:g,radius:_,opacity:I,cursor:D},name:\"\".concat(i,\"-handler\")})):this.handleType===\"simple\"&&(this.topCircle=this.handleGroup.addShape(\"circle\",{attrs:{x:t/2,y:e/2,r:2*t,fill:d,stroke:g,radius:_,opacity:I,cursor:D,lineWidth:2},name:\"\".concat(i,\"-handler\")})),this.updateXY(),this.handleType===\"trend\"?this.bindTrendEvents():this.handleType===\"simple\"&&this.bindSimpleEvents()},o.prototype.bindSimpleEvents=function(){var t=this,e=this.name;this.handleGroup.on(\"\".concat(e,\"-handler:mouseenter\"),function(){var n=t.style.highLightFill;t.topCircle.attr(\"fill\",n)}),this.handleGroup.on(\"\".concat(e,\"-handler:mouseleave\"),function(){var n=t.style.fill;t.topCircle.attr(\"fill\",n)})},o.prototype.bindTrendEvents=function(){var t=this,e=this.name;this.handleGroup.on(\"\".concat(e,\"-handler:mouseenter\"),function(){var n=t.style.highLightFill;t.verticalLine.attr(\"fill\",n),t.topCircle.attr(\"fill\",n),t.bottomCircle.attr(\"fill\",n)}),this.handleGroup.on(\"\".concat(e,\"-handler:mouseleave\"),function(){var n=t.style.fill;t.verticalLine.attr(\"fill\",n),t.topCircle.attr(\"fill\",n),t.bottomCircle.attr(\"fill\",n)})},o.prototype.show=function(){this.handleGroup.show()},o.prototype.hide=function(){this.handleGroup.hide()},o.prototype.updateXY=function(){this.handleGroup.setMatrix([1,0,0,0,1,0,this.x,this.y,1])},o}(),lo=function(){return(lo=Object.assign||function(o){for(var t,e=1,n=arguments.length;e<n;e++)for(var i in t=arguments[e])Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i]);return o}).apply(this,arguments)},Io=function(){function o(t){this.config=Object(s.deepMix)({},t),this.init()}return o.prototype.update=function(t){this.config=Object(s.deepMix)({},this.config,t),this.updateElement(),this.renderMarker()},o.prototype.init=function(){this.initElement(),this.renderMarker()},o.prototype.initElement=function(){var t=this.config,e=t.group,n=t.style,i=n.scale,d=i===void 0?1:i,g=n.offsetX,_=g===void 0?0:g,I=n.offsetY,D=I===void 0?0:I,H=this.config.x+_,Z=this.config.y+D,te=e.addGroup({name:\"playPauseBtn\"});this.startMarkerGroup=te.addGroup({name:\"playPauseBtn\"}),this.circle=e.addShape(\"circle\",{attrs:lo({x:H,y:Z,r:this.config.r*d},n),name:\"playPauseBtn\"}),this.startMarker=this.startMarkerGroup.addShape(\"path\",{attrs:{path:this.getStartMarkerPath(H,Z,d),fill:n.stroke||\"#aaa\"},name:\"start-marker\"}),this.pauseMarkerGroup=te.addGroup({name:\"playPauseBtn\"});var de=.25*this.config.r*d,Pe=.5*this.config.r*Math.sqrt(3)*d;this.pauseLeftMarker=this.pauseMarkerGroup.addShape(\"rect\",{attrs:{x:H-.375*this.config.r*d,y:Z-Pe/2,width:de,height:Pe,fill:n.stroke||\"#aaa\",lineWidth:0}}),this.pauseRightMarker=this.pauseMarkerGroup.addShape(\"rect\",{attrs:{x:H+1/8*this.config.r*d,y:Z-Pe/2,width:de,height:Pe,fill:n.stroke||\"#aaa\",lineWidth:0}})},o.prototype.updateElement=function(){var t=this.config.style,e=t.scale,n=e===void 0?1:e,i=t.offsetX,d=i===void 0?0:i,g=t.offsetY,_=g===void 0?0:g,I=this.config.x+d,D=this.config.y+_;this.circle.attr(\"x\",I),this.circle.attr(\"y\",D),this.circle.attr(\"r\",this.config.r*n),this.startMarker.attr(\"path\",this.getStartMarkerPath(I,D,n));var H=.25*this.config.r*n,Z=.5*this.config.r*Math.sqrt(3)*n;this.pauseLeftMarker.attr(\"x\",I-.375*this.config.r*n),this.pauseLeftMarker.attr(\"y\",D-Z/2),this.pauseLeftMarker.attr(\"width\",H),this.pauseLeftMarker.attr(\"height\",Z),this.pauseRightMarker.attr(\"x\",I+1/8*this.config.r*n),this.pauseRightMarker.attr(\"y\",D-Z/2),this.pauseRightMarker.attr(\"width\",H),this.pauseRightMarker.attr(\"height\",Z)},o.prototype.renderMarker=function(){this.config.isPlay?(this.startMarkerGroup.hide(),this.pauseMarkerGroup.show()):(this.startMarkerGroup.show(),this.pauseMarkerGroup.hide())},o.prototype.getStartMarkerPath=function(t,e,n){var i=.5*this.config.r*Math.sqrt(3)*n;return[[\"M\",t-i/Math.sqrt(3)/2,e-i/2],[\"L\",t+i/Math.sqrt(3),e],[\"L\",t-i/Math.sqrt(3)/2,e+i/2]]},o}(),Zo=function(){return(Zo=Object.assign||function(o){for(var t,e=1,n=arguments.length;e<n;e++)for(var i in t=arguments[e])Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i]);return o}).apply(this,arguments)},xi=j.a.transform,Ai={fill:\"#aaa\",fillOpacity:.35,stroke:\"#aaa\"},ci={fill:\"#fff\"},Ri={fill:\"green\"},Ci={pointer:{fill:\"#aaa\",lineWidth:0},scroller:{stroke:\"#aaa\",fill:\"#aaa\",lineWidth:1,lineAppendWidth:5,cursor:\"pointer\"},text:{fill:\"#aaa\",textBaseline:\"top\"}},ua={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\"}},da={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:Ci,timeTypeControllerStyle:ua},Da=\"single\",as=\"range\",ts=function(){function o(t){this.controllerCfg=Object(s.deepMix)({},da,t),this.group=t.group,this.controllerGroup=this.group.addGroup({name:\"controller-group\"}),this.speedAxisY=[],this.currentSpeed=this.controllerCfg.speed,this.currentType=this.controllerCfg.defaultTimeType||as,this.fontFamily=t.fontFamily||\"Arial, sans-serif\",this.init()}return o.prototype.init=function(){this.renderPlayButton()},o.prototype.getNextMarkerPath=function(t,e,n){return[[\"M\",t,e-n],[\"L\",t+n,e],[\"L\",t,e+n],[\"Z\",t,e-n],[\"M\",t,e],[\"L\",t-n,e-n],[\"L\",t-n,e+n],[\"Z\"]]},o.prototype.getPreMarkerPath=function(t,e,n){return[[\"M\",t,e-n],[\"L\",t-n,e],[\"L\",t,e+n],[\"L\",t,e-n],[\"M\",t,e],[\"L\",t+n,e-n],[\"L\",t+n,e+n],[\"Z\"]]},o.prototype.renderPlayButton=function(){var t=this.controllerCfg,e=t.width,n=t.height,i=t.x,d=t.y,g=t.hideTimeTypeController,_=t.fill,I=_===void 0?\"#aaa\":_,D=t.stroke,H=D===void 0?\"green\":D,Z=t.containerStyle,te=Z===void 0?{}:Z,de=Zo(Zo({},Ai),t.playBtnStyle||{}),Pe=Zo(Zo({},ci),t.preBtnStyle||{}),Ge=Zo(Zo({},Ri),t.nextBtnStyle||{}),Qe=n/2-5,Xe=d+10,yt=this.controllerGroup.addShape(\"rect\",{attrs:Zo({x:i,y:Xe,width:e,height:n,stroke:H,fill:I},te),name:\"container-rect\"});this.playButton?this.playButton.update({x:e/2,y:Xe,r:Qe}):this.playButton=new Io({group:this.controllerGroup,x:e/2,y:Xe+Qe+5,r:Qe,isPlay:this.isPlay,style:de});var Ct=Pe.offsetX||0,on=Pe.offsetY||0,sn=(Pe.scale||1)*Qe;this.controllerGroup.addShape(\"path\",{attrs:Zo({path:this.getPreMarkerPath(e/2-5*Qe+Ct,Xe+Qe+5+on,.5*sn)},Pe),name:\"preStepBtn\"});var Nn=Ge.offsetX||0,Tn=Ge.offsetY||0,Bn=(Ge.scale||1)*Qe;this.controllerGroup.addShape(\"path\",{attrs:Zo({path:this.getNextMarkerPath(e/2+5*Qe+Nn,Xe+Qe+5+Tn,.5*Bn)},Ge),name:\"nextStepBtn\"}),yt.toBack(),this.renderSpeedBtn(),g||this.renderToggleTime(),this.bindEvent();var Hn=this.controllerCfg.scale,Sr=Hn===void 0?1:Hn,Cr=this.controllerGroup.getCanvasBBox(),po=(Cr.maxX+Cr.minX)/2,wo=(Cr.maxY+Cr.minY)/2,Po=xi([1,0,0,0,1,0,0,0,1],[[\"t\",-po,-wo],[\"s\",Sr,Sr],[\"t\",po,wo]]);this.controllerGroup.setMatrix(Po)},o.prototype.renderSpeedBtn=function(){var t=this.controllerCfg,e=t.y,n=t.width,i=t.hideTimeTypeController,d=Zo(Zo({},Ci),this.controllerCfg.speedControllerStyle||{}),g=d.scroller,_=g===void 0?{}:g,I=d.text,D=I===void 0?{}:I,H=d.pointer,Z=H===void 0?{}:H,te=d.scale,de=te===void 0?1:te,Pe=d.offsetX,Ge=Pe===void 0?0:Pe,Qe=d.offsetY,Xe=Qe===void 0?0:Qe,yt=this.controllerGroup.addGroup({name:\"speed-group\"});this.speedGroup=yt;var Ct=[],on=5;this.speedAxisY=[19,22,26,32,39];for(var sn=0;sn<5;sn++){var Nn=e+this.speedAxisY[sn],Tn=n-(i?50:110);yt.addShape(\"line\",{attrs:Zo({x1:Tn,x2:Tn+15,y1:Nn,y2:Nn},_),speed:on,name:\"speed-rect\"}),this.speedAxisY[sn]=Nn,Ct.push(on),on-=1}this.speedText=yt.addShape(\"text\",{attrs:Zo({x:n-(i?50:110)+20,y:this.speedAxisY[0]+4,text:\"1.0X\",fontFamily:this.fontFamily||\"Arial, sans-serif\"},D),name:\"speed-text\"}),this.speedPoint=yt.addShape(\"path\",{attrs:Zo({path:this.getPointerPath(n-(i?50:110),0),matrix:[1,0,0,0,1,0,0,this.speedAxisY[4],1]},Z),name:\"speed-pointer\"});var Bn=this.speedGroup.getCanvasBBox(),Hn=(Bn.maxX+Bn.minX)/2,Sr=(Bn.maxY+Bn.minY)/2,Cr=this.speedGroup.getMatrix()||[1,0,0,0,1,0,0,0,1];Cr=xi(Cr,[[\"t\",-Hn,-Sr],[\"s\",de,de],[\"t\",Hn+Ge*de,Sr+Xe*de]]),this.speedGroup.setMatrix(Cr)},o.prototype.getPointerPath=function(t,e){return[[\"M\",t,e],[\"L\",t-10,e-4],[\"L\",t-10,e+4],[\"Z\"]]},o.prototype.renderToggleTime=function(){var t,e,n=this.controllerCfg,i=n.width,d=n.defaultTimeType,g=Zo(Zo({},ua),this.controllerCfg.timeTypeControllerStyle||{}),_=g.scale,I=_===void 0?1:_,D=g.offsetX,H=D===void 0?0:D,Z=g.offsetY,te=Z===void 0?0:Z,de=g.box,Pe=de===void 0?{}:de,Ge=g.check,Qe=Ge===void 0?{}:Ge,Xe=g.text,yt=Xe===void 0?{}:Xe;this.toggleGroup=this.controllerGroup.addGroup({name:\"toggle-group\"});var Ct=d===Da;this.toggleGroup.addShape(\"rect\",{attrs:Zo({x:i-50,y:this.speedAxisY[0]+3.5},Pe),isChecked:Ct,name:\"toggle-model\"}),this.checkedIcon=this.toggleGroup.addShape(\"path\",{attrs:Zo({path:[[\"M\",i-50+3,this.speedAxisY[1]+6],[\"L\",i-50+7,this.speedAxisY[1]+10],[\"L\",i-50+12,this.speedAxisY[1]+4]]},Qe),capture:!1,name:\"check-icon\"}),Ct||this.checkedIcon.hide(),this.checkedText=this.toggleGroup.addShape(\"text\",{attrs:Zo({text:Ct?((t=this.controllerCfg)===null||t===void 0?void 0:t.timeRangeControllerText)||\"\\u65F6\\u95F4\\u8303\\u56F4\":((e=this.controllerCfg)===null||e===void 0?void 0:e.timePointControllerText)||\"\\u5355\\u4E00\\u65F6\\u95F4\",x:i-50+15,y:this.speedAxisY[0]+4,fontFamily:typeof window!=\"undefined\"&&window.getComputedStyle(document.body,null).getPropertyValue(\"font-family\")||\"Arial, sans-serif\"},yt),name:\"checked-text\"});var on=this.toggleGroup.getCanvasBBox(),sn=(on.maxX+on.minX)/2,Nn=(on.maxY+on.minY)/2,Tn=this.toggleGroup.getMatrix()||[1,0,0,0,1,0,0,0,1];Tn=xi(Tn,[[\"t\",-sn,-Nn],[\"s\",I,I],[\"t\",sn+H*I,Nn+te*I]]),this.toggleGroup.setMatrix(Tn)},o.prototype.bindEvent=function(){var t=this;this.speedGroup.on(\"speed-rect:click\",function(e){var n=e.target.attr(\"y1\"),i=t.speedPoint.attr(\"matrix\"),d=t.speedAxisY.indexOf(i[7]||0),g=t.speedAxisY.indexOf(n),_=t.speedAxisY[g]-t.speedAxisY[d];i=xi(i,[[\"t\",0,_]]),t.speedPoint.setMatrix(i),t.currentSpeed=t.speedAxisY.length-g,t.speedText.attr(\"text\",\"\".concat(t.currentSpeed,\".0X\")),t.group.emit(\"timebarConfigChanged\",{speed:t.currentSpeed,type:t.currentType})}),this.speedGroup.on(\"mousewheel\",function(e){e.preventDefault();var n=t.speedPoint.attr(\"matrix\")||[1,0,0,0,1,0,0,0,1],i=n[7],d=t.speedAxisY.indexOf(i);if(d===-1){var g=1/0;t.speedAxisY.forEach(function(I,D){var H=Math.abs(I-i);g>H&&(g=H,d=D)})}d=e.originalEvent.deltaY>0?Math.max(0,d-1):Math.min(t.speedAxisY.length-1,d+1);var _=t.speedAxisY[d]-i;n=xi(n,[[\"t\",0,_]]),t.speedPoint.setMatrix(n),t.currentSpeed=t.speedAxisY.length-d,t.speedText.attr(\"text\",\"\".concat(t.currentSpeed,\".0X\")),t.group.emit(\"timebarConfigChanged\",{speed:t.currentSpeed,type:t.currentType})}),this.toggleGroup&&this.toggleGroup.on(\"toggle-model:click\",function(e){var n,i,d=e.target.get(\"isChecked\");d?(t.checkedIcon.hide(),t.checkedText.attr(\"text\",((i=t.controllerCfg)===null||i===void 0?void 0:i.timePointControllerText)||\"\\u5355\\u4E00\\u65F6\\u95F4\"),t.currentType=as):(t.checkedIcon.show(),t.checkedText.attr(\"text\",((n=t.controllerCfg)===null||n===void 0?void 0:n.timeRangeControllerText)||\"\\u65F6\\u95F4\\u8303\\u56F4\"),t.currentType=Da),e.target.set(\"isChecked\",!d),t.group.emit(\"timebarConfigChanged\",{type:t.currentType,speed:t.currentSpeed})})},o.prototype.destroy=function(){this.speedGroup.off(\"speed-rect:click\"),this.toggleGroup&&(this.toggleGroup.off(\"toggle-model:click\"),this.toggleGroup.destroy()),this.speedGroup.destroy()},o}(),ka=function(){return(ka=Object.assign||function(o){for(var t,e=1,n=arguments.length;e<n;e++)for(var i in t=arguments[e])Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i]);return o}).apply(this,arguments)},uu=j.a.transform,Su={fill:\"#416180\",opacity:.05},Js={fill:\"#416180\",opacity:.15,radius:5},Ws={fill:\"#5B8FF9\",opacity:.3,cursor:\"grab\"},Ru={width:2,height:24},Iu={textBaseline:\"middle\",fill:\"#000\",opacity:.45},Xf={textAlign:\"center\",textBaseline:\"top\",fill:\"#607889\",opacity:.35},Xl={lineWidth:1,stroke:\"#ccc\"},Yl=function(){function o(t){var e=this;this.prevX=0,this.onMouseDown=function(Se){return function(He){e.currentHandler=Se;var Ye=He.originalEvent;Ye.stopPropagation(),Ye.preventDefault(),e.prevX=Object(s.get)(Ye,\"touches.0.pageX\",Ye.pageX);var Et=e.canvas.get(\"container\");Et.addEventListener(\"mousemove\",e.onMouseMove),Et.addEventListener(\"mouseup\",e.onMouseUp),Et.addEventListener(\"mouseleave\",e.onMouseUp),Et.addEventListener(\"touchmove\",e.onMouseMove),Et.addEventListener(\"touchend\",e.onMouseUp),Et.addEventListener(\"touchcancel\",e.onMouseUp)}},this.onMouseMove=function(Se){Se.stopPropagation(),Se.preventDefault();var He=Object(s.get)(Se,\"touches.0.pageX\",Se.pageX),Ye=He-e.prevX,Et=e.adjustOffsetRange(Ye/e.width);e.updateStartEnd(Et),e.updateUI(),e.prevX=He},this.onMouseUp=function(){e.currentHandler&&(e.currentHandler=void 0);var Se=e.canvas.get(\"container\");Se&&(Se.removeEventListener(\"mousemove\",e.onMouseMove),Se.removeEventListener(\"mouseup\",e.onMouseUp),Se.removeEventListener(\"mouseleave\",e.onMouseUp),Se.removeEventListener(\"touchmove\",e.onMouseMove),Se.removeEventListener(\"touchend\",e.onMouseUp),Se.removeEventListener(\"touchcancel\",e.onMouseUp))};var n=t.x,i=n===void 0?0:n,d=t.y,g=d===void 0?0:d,_=t.width,I=_===void 0?100:_,D=t.height,H=t.padding,Z=H===void 0?10:H,te=t.trendCfg,de=t.controllerCfg,Pe=de===void 0?{speed:1}:de,Ge=t.backgroundStyle,Qe=Ge===void 0?{}:Ge,Xe=t.foregroundStyle,yt=Xe===void 0?{}:Xe,Ct=t.handlerStyle,on=Ct===void 0?{}:Ct,sn=t.textStyle,Nn=sn===void 0?{}:sn,Tn=t.start,Bn=Tn===void 0?0:Tn,Hn=t.end,Sr=Hn===void 0?1:Hn,Cr=t.minText,po=Cr===void 0?\"\":Cr,wo=t.maxText,Po=wo===void 0?\"\":wo,Xo=t.group,ri=t.graph,ki=t.canvas,T=t.tick,B=T===void 0?{tickLabelStyle:{},tickLineStyle:{},tickLabelFormatter:function(Se){return Se},ticks:[]}:T,K=t.type;this.graph=ri,this.canvas=ki,this.group=Xo,this.timeBarType=K,this.x=i,this.y=g,this.width=I,this.height=D,this.padding=Z,this.ticks=B.ticks,this.trendCfg=te,this.controllerCfg=Pe,this.currentSpeed=Pe.speed||1,this.tickLabelFormatter=B.tickLabelFormatter,K===\"trend\"?this.backgroundStyle=ka(ka({},Su),Qe):K===\"simple\"&&(this.backgroundStyle=ka(ka({},Js),Qe)),this.foregroundStyle=ka(ka({},Ws),yt),this.handlerStyle=ka(ka({},Ru),on),this.textStyle=ka(ka({},Iu),Nn),this.tickLabelStyle=ka(ka({},Xf),B.tickLabelStyle),this.tickLineStyle=ka(ka({},Xl),B.tickLineStyle),this.currentMode=Pe.defaultTimeType||as,this.start=Bn,this.end=Sr,this.minText=po,this.maxText=Po,this.fontFamily=typeof window!=\"undefined\"&&window.getComputedStyle(document.body,null).getPropertyValue(\"font-family\")||\"Arial, sans-serif\",this.renderSlider()}return o.prototype.update=function(t){var e=t.x,n=t.y,i=t.width,d=t.height,g=t.minText,_=t.maxText,I=t.start,D=t.end;this.start=Math.min(1,Math.max(I,0)),this.end=Math.min(1,Math.max(D,0)),Object(s.assign)(this,{x:e,y:n,width:i,height:d,minText:g,maxText:_}),this.updateUI()},o.prototype.setText=function(t,e){this.minTextShape.attr(\"text\",t),this.maxTextShape.attr(\"text\",e)},o.prototype.renderSlider=function(){var t=this,e=this.width,n=this.height,i=this.timeBarType;if(i===\"trend\"&&Object(s.size)(Object(s.get)(this.trendCfg,\"data\"))){var d=new Zr(ka(ka({x:this.x,y:this.y,width:e,height:n},this.trendCfg),{group:this.group}));this.trendComponent=d}var g=this.group.addGroup({name:\"slider-group\"});g.addShape(\"rect\",{attrs:ka({x:0,y:0,width:e,height:n},this.backgroundStyle),name:\"background\"});var _=this.group.addGroup();i===\"trend\"?(this.minTextShape=_.addShape(\"text\",{attrs:ka({x:0,y:n/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=_.addShape(\"text\",{attrs:ka({y:n/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=_.addShape(\"text\",{attrs:ka({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=_.addShape(\"text\",{attrs:ka({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:ka({x:0,y:this.y,height:n},this.foregroundStyle),name:\"foreground-shape\"}),this.foregroundShape.on(\"mousedown\",function(Qe){Qe.target.attr(\"cursor\",\"grabbing\")}),this.foregroundShape.on(\"mouseup\",function(Qe){Qe.target.attr(\"cursor\",t.foregroundStyle.cursor||\"grab\")});var I=Object(s.get)(this.handlerStyle,\"width\",2),D=Object(s.get)(this.handlerStyle,\"height\",24),H=this.group.addGroup({name:\"minHandlerShape\"});this.minHandlerShape=new xo({name:\"minHandlerShape\",group:H,type:i,x:this.x,y:this.y,width:I,height:D,style:this.handlerStyle});var Z=this.group.addGroup({name:\"maxHandlerShape\"});this.maxHandlerShape=new xo({name:\"maxHandlerShape\",group:Z,type:i,x:this.x,y:this.y,width:I,height:D,style:this.handlerStyle});var te=this.ticks,de=e/(te.length-1);this.tickPosList=[],this.textList&&this.textList.length&&this.textList.forEach(function(Qe){Qe.destroy()});var Pe=-1/0,Ge=this.tickLabelStyle.rotate;delete this.tickLabelStyle.rotate,this.textList=te.map(function(Qe,Xe){var yt;t.tickPosList.push(t.x+Xe*de),t.tickLabelFormatter?(yt=t.tickLabelFormatter(Qe),!Object(s.isString)(yt)&&yt&&(yt=Qe.date)):yt=Qe.date;var Ct=t.x+Xe*de,on=t.y+n+5,sn=t.group.addShape(\"text\",{attrs:ka({x:Ct,y:on,text:yt,fontFamily:t.fontFamily||\"Arial, sans-serif\"},t.tickLabelStyle),name:\"tick-label\"});if(Object(s.isNumber)(Ge)&&Xe!==te.length-1){var Nn=uu([1,0,0,0,1,0,0,0,1],[[\"t\",-Ct,-on],[\"r\",Ge],[\"t\",Ct-5,on+2]]);sn.attr({textAlign:\"left\",matrix:Nn})}Xe===0?sn.attr({textAlign:\"left\"}):Xe!==te.length-1&&sn.attr({textAlign:\"right\"});var Tn=t.group.addShape(\"line\",{attrs:ka({x1:t.x+Xe*de,y1:t.y+n+2,x2:t.x+Xe*de,y2:t.y+n+6},t.tickLineStyle),name:\"tick-line\"});Tn.toBack();var Bn=sn.getBBox();return Bn.minX>Pe?(sn.show(),Tn.show(),Pe=Bn.minX+Bn.width+10):(sn.hide(),Tn.hide()),sn}),this.controllerBtnGroup=new ts(ka({group:this.group,x:this.x,y:this.y+n+25,width:e,height:35},this.controllerCfg)),this.updateStartEnd(0),this.updateUI(),g.move(this.x,this.y),this.bindEvents(),this.currentMode===Da&&(this.minHandlerShape.hide(),this.foregroundShape.hide(),this.minTextShape.hide())},o.prototype.bindEvents=function(){var t=this,e=this.group.find(function(i){return i.get(\"name\")===\"minHandlerShape\"});e&&(e.on(\"minHandlerShape-handler:mousedown\",this.onMouseDown(this.minHandlerShape)),e.on(\"minHandlerShape-handler:touchstart\",this.onMouseDown(this.minHandlerShape)));var n=this.group.find(function(i){return i.get(\"name\")===\"maxHandlerShape\"});n&&(n.on(\"maxHandlerShape-handler:mousedown\",this.onMouseDown(this.maxHandlerShape)),n.on(\"maxHandlerShape-handler:touchstart\",this.onMouseDown(this.maxHandlerShape))),this.foregroundShape.on(\"mousedown\",this.onMouseDown(this.foregroundShape)),this.foregroundShape.on(\"touchstart\",this.onMouseDown(this.foregroundShape)),this.group.on(\"\".concat(\"playPauseBtn\",\":click\"),function(){t.isPlay=!t.isPlay,t.currentHandler=t.maxHandlerShape,t.changePlayStatus()}),this.group.on(\"\".concat(\"nextStepBtn\",\":click\"),function(){t.currentHandler=t.maxHandlerShape,t.updateStartEnd(.01),t.updateUI()}),this.group.on(\"\".concat(\"preStepBtn\",\":click\"),function(){t.currentHandler=t.maxHandlerShape,t.updateStartEnd(-.01),t.updateUI()}),this.group.on(\"timebarConfigChanged\",function(i){var d=i.type,g=i.speed;t.currentSpeed=g,t.currentMode=d,d===Da?(t.minHandlerShape.hide(),t.foregroundShape.hide(),t.minTextShape.hide()):d===as&&(t.minHandlerShape.show(),t.foregroundShape.show(),t.minTextShape.show())})},o.prototype.adjustTickIndex=function(t){for(var e=0;e<this.tickPosList.length-1;e++)if(this.tickPosList[e]<=t&&t<=this.tickPosList[e+1])return Math.abs(this.tickPosList[e]-t)<Math.abs(t-this.tickPosList[e+1])?e:e+1;return 0},o.prototype.adjustOffsetRange=function(t){switch(this.currentHandler){case this.minHandlerShape:var e=0-this.start,n=1-this.start;return Math.min(n,Math.max(e,t));case this.maxHandlerShape:return e=0-this.end,n=1-this.end,Math.min(n,Math.max(e,t));case this.foregroundShape:return e=0-this.start,n=1-this.end,Math.min(n,Math.max(e,t));default:return 0}},o.prototype.updateStartEnd=function(t){var e=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(e):e==null?void 0:e.date,void(this.maxText=this.tickLabelFormatter?this.tickLabelFormatter(n):n==null?void 0:n.date);switch(this.currentHandler){case this.minHandlerShape:this.maxText=this.maxTextShape.attr(\"text\"),this.start+=t,this.minText=this.tickLabelFormatter?this.tickLabelFormatter(e):e.date;break;case this.maxHandlerShape:this.minText=this.minTextShape.attr(\"text\"),this.end+=t,this.maxText=this.tickLabelFormatter?this.tickLabelFormatter(n):n.date;break;case this.foregroundShape:this.start+=t,this.end+=t,this.minText=this.tickLabelFormatter?this.tickLabelFormatter(e):e.date,this.maxText=this.tickLabelFormatter?this.tickLabelFormatter(n):n.date}},o.prototype.updateUI=function(){var t=this;this.start<0&&(this.start=0),this.end>1&&(this.end=1);var e=this.x+this.start*this.width,n=this.x+this.end*this.width;this.foregroundShape.attr(\"x\",e),this.foregroundShape.attr(\"width\",n-e);var i=Object(s.get)(this.handlerStyle,\"width\",2);this.setText(this.minText,this.maxText);var d=this.dodgeText([e,n]),g=d[0],_=d[1];this.minHandlerShape.setX(e-i/2),Object(s.each)(g,function(I,D){return t.minTextShape.attr(D,I)}),this.maxHandlerShape.setX(n-i/2),Object(s.each)(_,function(I,D){return t.maxTextShape.attr(D,I)}),this.currentMode===as?this.graph.emit(\"valuechange\",{value:[this.start,this.end].sort()}):this.currentMode===Da&&this.graph.emit(\"valuechange\",{value:[this.end,this.end]})},o.prototype.dodgeText=function(t){var e,n,i=Object(s.get)(this.handlerStyle,\"width\",2),d=this.minTextShape,g=this.maxTextShape,_=t[0],I=t[1],D=!1;_>I&&(_=(e=[I,_])[0],I=e[1],d=(n=[g,d])[0],g=n[1],D=!0);var H=d.getBBox(),Z=g.getBBox(),te=null,de=null;return this.timeBarType===\"trend\"?(te=_-H.width<this.x+2?{x:_+i/2+2,textAlign:\"left\"}:{x:_-i/2-2,textAlign:\"right\"},de=I+Z.width>this.x+this.width?{x:I-i/2-2,textAlign:\"right\"}:{x:I+i/2+2,textAlign:\"left\"}):this.timeBarType===\"simple\"&&(te=d.attr(\"x\")>H.width?{x:_,textAlign:\"center\"}:{x:_,textAlign:\"left\"},de=g.attr(\"x\")>this.width-Z.width?{x:I,textAlign:\"right\"}:{x:I,textAlign:\"center\"}),D?[de,te]:[te,de]},o.prototype.startPlay=function(){var t=this;return typeof window!=\"undefined\"?window.requestAnimationFrame(function(){var e=t,n=e.ticks,i=e.width,d=t.currentSpeed,g=i/n.length/(1e3*(10-d)/60),_=t.adjustOffsetRange(g/t.width);t.updateStartEnd(_),t.updateUI(),t.isPlay&&(t.playHandler=t.startPlay())}):void 0},o.prototype.changePlayStatus=function(t){t===void 0&&(t=!0),this.controllerBtnGroup.playButton.update({isPlay:this.isPlay}),this.isPlay?(this.playHandler=this.startPlay(),this.graph.emit(\"timebarstartplay\",null)):this.playHandler&&(typeof window!=\"undefined\"&&window.cancelAnimationFrame(this.playHandler),t&&this.graph.emit(\"timebarendplay\",null))},o.prototype.destory=function(){this.graph.off(\"valuechange\",function(){});var t=this.group,e=t.find(function(i){return i.get(\"name\")===\"minHandlerShape\"});e&&(e.off(\"minHandlerShape-handler:mousedown\"),e.off(\"minHandlerShape-handler:touchstart\"),e.destroy());var n=t.find(function(i){return i.get(\"name\")===\"maxHandlerShape\"});n&&(n.off(\"maxHandlerShape-handler:mousedown\"),n.off(\"maxHandlerShape-handler:touchstart\"),n.destroy()),this.foregroundShape.off(\"mousedown\"),this.foregroundShape.off(\"touchstart\"),this.foregroundShape.destroy(),t.off(\"\".concat(\"playPauseBtn\",\":click\")),t.off(\"\".concat(\"nextStepBtn\",\":click\")),t.off(\"\".concat(\"preStepBtn\",\":click\")),t.off(\"timebarConfigChanged\"),t.destroy(),this.trendComponent&&this.trendComponent.destory()},o}(),Cf=function(){function o(t){var e=t.x,n=e===void 0?0:e,i=t.y,d=i===void 0?0:i,g=t.container,_=t.text,I=t.padding,D=I===void 0?[4,4,4,4]:I,H=t.className,Z=H===void 0?\"g6-component-timebar-tooltip\":H,te=t.backgroundColor,de=te===void 0?\"#000\":te,Pe=t.textColor,Ge=Pe===void 0?\"#fff\":Pe,Qe=t.opacity,Xe=Qe===void 0?.8:Qe,yt=t.fontSize,Ct=yt===void 0?12:yt;this.container=g,this.className=Z,this.backgroundColor=de,this.textColor=Ge,this.x=n,this.y=d,this.text=_,this.padding=D,this.opacity=Xe,this.fontSize=Ct,this.render()}return o.prototype.render=function(){var t=this.className,e=(this.x,this.y,this.backgroundColor),n=this.textColor,i=this.text,d=this.padding,g=this.opacity,_=this.fontSize,I=this.container,D=_i(\"<div class='\".concat(t,`' style=\"position: absolute; width: fit-content; height: fit-content; opacity: `).concat(g,'\"></div>'));Object(s.isString)(I)&&(I=document.getElementById(I)),I.appendChild(D),this.parentHeight=I.offsetHeight,this.parentWidth=I.offsetWidth,gi(D,{visibility:\"hidden\",top:0,left:0});var H=_i(`\n      <div style='position: absolute; white-space:nowrap; background-color: `.concat(e,\"; font-size: \").concat(_,\"px; border-radius: 4px; width: fit-content; height: fit-content; color: \").concat(n,\"; padding: \").concat(d[0],\"px \").concat(d[1],\"px \").concat(d[2],\"px \").concat(d[3],\"px'></div>\"));H.innerHTML=i,D.appendChild(H),this.backgroundDOM=H;var Z=_i(\"<div style='position: absolute; width: 0px; height: 0px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 10px solid \".concat(e,\"'></div>\"));D.appendChild(Z),this.arrowDOM=Z,this.container=D},o.prototype.show=function(t){var e=t.text,n=t.x;t.y,t.clientX,t.clientY,this.backgroundDOM.innerHTML=e;var i=this.backgroundDOM.offsetWidth,d=this.backgroundDOM.offsetHeight,g=this.arrowDOM.offsetWidth,_=this.arrowDOM.offsetHeight;gi(this.container,{top:\"\".concat(-d-_,\"px\"),left:\"\".concat(n,\"px\"),visibility:\"visible\"}),gi(this.backgroundDOM,{marginLeft:\"\".concat(-i/2,\"px\")}),gi(this.arrowDOM,{marginLeft:\"\".concat(-g/2,\"px\"),top:\"\".concat(d,\"px\")});var I=n-i/2,D=n+i/2;I<0?gi(this.backgroundDOM,{marginLeft:\"\".concat(-i/2-I,\"px\")}):D>this.parentWidth&&gi(this.backgroundDOM,{marginLeft:\"\".concat(-i/2-D+this.parentWidth+12,\"px\")})},o.prototype.hide=function(){gi(this.container,{top:0,left:0,visibility:\"hidden\"})},o}(),iu=function(){return(iu=Object.assign||function(o){for(var t,e=1,n=arguments.length;e<n;e++)for(var i in t=arguments[e])Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i]);return o}).apply(this,arguments)},lc=j.a.transform,ls={fill:\"#5B8FF9\"},wc={fill:\"#e6e8e9\"},Sc=function(){function o(t){this.frameCount=0,this.fontFamily=\"Arial, sans-serif\";var e=t.graph,n=t.canvas,i=t.group,d=t.width,g=t.height,_=t.padding,I=t.data,D=t.start,H=t.end,Z=t.x,te=Z===void 0?0:Z,de=t.y,Pe=de===void 0?0:de,Ge=t.tickLabelFormatter,Qe=t.selectedTickStyle,Xe=Qe===void 0?ls:Qe,yt=t.unselectedTickStyle,Ct=yt===void 0?wc:yt,on=t.tooltipBackgroundColor,sn=t.tooltipFomatter,Nn=t.tickLabelStyle,Tn=t.controllerCfg,Bn=Tn===void 0?{speed:1}:Tn;this.graph=e,this.group=i,this.sliceGroup=i.addGroup({name:\"slice-group\"}),this.canvas=n,this.width=d,this.height=g,this.padding=_,this.data=I,this.start=D,this.end=H,this.tickLabelFormatter=Ge,this.tickLabelStyle=Nn||{},this.selectedTickStyle=Xe,this.unselectedTickStyle=Ct,this.controllerCfg=Bn,this.currentSpeed=Bn.speed||1,this.x=te,this.y=Pe,this.tooltipBackgroundColor=on,this.tooltipFomatter=sn,this.fontFamily=typeof window!=\"undefined\"&&window.getComputedStyle(document.body,null).getPropertyValue(\"font-family\")||\"Arial, sans-serif\",this.renderSlices(),this.initEvent()}return o.prototype.renderSlices=function(){var t=this,e=this,n=e.width,i=e.height,d=e.padding,g=e.data,_=e.start,I=e.end,D=e.tickLabelFormatter,H=e.selectedTickStyle,Z=e.unselectedTickStyle,te=e.tickLabelStyle,de=n-2*d,Pe=i-(3*d+4+10)-2*d,Ge=g.length,Qe=(de-2*(Ge-1))/Ge;this.tickWidth=Qe;var Xe=this.sliceGroup,yt=[],Ct=[],on=Math.round(Ge*_),sn=Math.round(Ge*I);this.startTickRectId=on,this.endTickRectId=sn;var Nn=te.rotate;delete te.rotate,g.forEach(function(Bn,Hn){var Sr=Hn>=on&&Hn<=sn?H:Z,Cr=Xe.addShape(\"rect\",{attrs:iu({x:d+Hn*(Qe+2),y:d,width:Qe,height:Pe},Sr),draggable:!0,name:\"tick-rect-\".concat(Hn)}),po=Xe.addShape(\"rect\",{attrs:{x:d+Hn*Qe+2*(2*Hn-1)/2,y:d,width:Hn===0||Hn===Ge-1?Qe+1:Qe+2,height:Pe,fill:\"#fff\",opacity:0},draggable:!0,name:\"pick-rect-\".concat(Hn)});po.toFront();var wo,Po=Cr.getBBox(),Xo=(Po.minX+Po.maxX)/2;if(yt.push({rect:Cr,pickRect:po,value:Bn.date,x:Xo,y:Po.minY}),D?(wo=D(Bn),!Object(s.isString)(wo)&&wo&&(wo=Bn.date)):Hn%Math.round(Ge/10)==0&&(wo=Bn.date),wo){Ct.push(wo);var ri=Po.maxY+2*d;Xe.addShape(\"line\",{attrs:{stroke:\"#BFBFBF\",x1:Xo,y1:ri,x2:Xo,y2:ri+4},name:\"tick-line\"});var ki=ri+4+d,T=Xe.addShape(\"text\",{attrs:iu({fill:\"#8c8c8c\",stroke:\"#fff\",lineWidth:1,x:Xo,y:ki,textAlign:\"center\",text:wo,textBaseline:\"top\",fontSize:10,fontFamily:t.fontFamily||\"Arial, sans-serif\"},te),capture:!1,name:\"tick-label\"}),B=T.getBBox();if(B.maxX>n?T.attr(\"textAlign\",\"right\"):B.minX<0&&T.attr(\"textAlign\",\"left\"),Object(s.isNumber)(Nn)&&Ct.length!==10){var K=lc([1,0,0,0,1,0,0,0,1],[[\"t\",-Xo,-ki],[\"r\",Nn],[\"t\",Xo-5,ki+2]]);T.attr({textAlign:\"left\",matrix:K})}Ct.length===1?T.attr({textAlign:\"left\"}):Ct.length===10&&T.attr({textAlign:\"right\"})}}),this.tickRects=yt;var Tn=this.group;this.currentSpeed=1,this.controllerBtnGroup=new ts(iu({group:Tn,x:this.x,y:this.y+i+5,width:n,height:40,hideTimeTypeController:!0,speed:this.currentSpeed,fontFamily:this.fontFamily||\"Arial, sans-serif\"},this.controllerCfg))},o.prototype.initEvent=function(){var t=this,e=this.sliceGroup;e.on(\"click\",function(D){var H=D.target;if(H.get(\"type\")===\"rect\"&&H.get(\"name\")){var Z=parseInt(H.get(\"name\").split(\"-\")[2],10);if(!isNaN(Z)){var te=t.tickRects,de=t.unselectedTickStyle;te.forEach(function(Qe){Qe.rect.attr(de)});var Pe=t.selectedTickStyle;te[Z].rect.attr(Pe),t.startTickRectId=Z,t.endTickRectId=Z;var Ge=Z/te.length;t.graph.emit(\"valuechange\",{value:[Ge,Ge]})}}}),e.on(\"dragstart\",function(D){var H=t.tickRects,Z=t.unselectedTickStyle;H.forEach(function(Qe){Qe.rect.attr(Z)});var te=D.target,de=parseInt(te.get(\"name\").split(\"-\")[2],10),Pe=t.selectedTickStyle;H[de].rect.attr(Pe),t.startTickRectId=de;var Ge=de/H.length;t.graph.emit(\"valuechange\",{value:[Ge,Ge]}),t.dragging=!0}),e.on(\"dragover\",function(D){if(t.dragging&&D.target.get(\"type\")===\"rect\"){for(var H=parseInt(D.target.get(\"name\").split(\"-\")[2],10),Z=t.startTickRectId,te=t.tickRects,de=t.selectedTickStyle,Pe=t.unselectedTickStyle,Ge=0;Ge<te.length;Ge++){var Qe=Ge>=Z&&Ge<=H?de:Pe;te[Ge].rect.attr(Qe)}var Xe=te.length;t.endTickRectId=H;var yt=Z/Xe,Ct=H/Xe;t.graph.emit(\"valuechange\",{value:[yt,Ct]})}}),e.on(\"drop\",function(D){if(t.dragging&&(t.dragging=!1,D.target.get(\"type\")===\"rect\")){var H=t.startTickRectId,Z=parseInt(D.target.get(\"name\").split(\"-\")[2],10);if(!(Z<H)){var te=t.selectedTickStyle,de=t.tickRects;de[Z].rect.attr(te),t.endTickRectId=Z;var Pe=de.length,Ge=H/Pe,Qe=Z/Pe;t.graph.emit(\"valuechange\",{value:[Ge,Qe]})}}});var n=this.tooltipBackgroundColor,i=this.tooltipFomatter,d=this.canvas,g=new Cf({container:d.get(\"container\"),backgroundColor:n}),_=this.tickRects;_.forEach(function(D){var H=D.pickRect;H.on(\"mouseenter\",function(Z){var te=Z.target;if(te.get(\"type\")===\"rect\"){var de=parseInt(te.get(\"name\").split(\"-\")[2],10),Pe=d.getClientByPoint(_[de].x,_[de].y);g.show({x:_[de].x,y:_[de].y,clientX:Pe.x,clientY:Pe.y,text:i?i(_[de].value):_[de].value})}}),H.on(\"mouseleave\",function(Z){g.hide()})});var I=this.group;I.on(\"\".concat(\"playPauseBtn\",\":click\"),function(){t.isPlay=!t.isPlay,t.changePlayStatus()}),I.on(\"\".concat(\"nextStepBtn\",\":click\"),function(){t.updateStartEnd(1)}),I.on(\"\".concat(\"preStepBtn\",\":click\"),function(){t.updateStartEnd(-1)}),I.on(\"timebarConfigChanged\",function(D){D.type;var H=D.speed;t.currentSpeed=H})},o.prototype.changePlayStatus=function(t){t===void 0&&(t=!0),this.controllerBtnGroup.playButton.update({isPlay:this.isPlay}),this.isPlay?(this.playHandler=this.startPlay(),this.graph.emit(\"timebarstartplay\",null)):this.playHandler&&(typeof window!=\"undefined\"&&window.cancelAnimationFrame(this.playHandler),t&&this.graph.emit(\"timebarendplay\",null))},o.prototype.startPlay=function(){var t=this;return typeof window!=\"undefined\"?window.requestAnimationFrame(function(){var e=t.currentSpeed;t.frameCount%(60/e)==0&&(t.frameCount=0,t.updateStartEnd(1)),t.frameCount++,t.isPlay&&(t.playHandler=t.startPlay())}):void 0},o.prototype.updateStartEnd=function(t){var e=this.tickRects,n=e.length,i=this.unselectedTickStyle,d=this.selectedTickStyle,g=this.endTickRectId;if(t>0?this.endTickRectId++:(e[this.endTickRectId].rect.attr(i),this.endTickRectId--),g!==this.startTickRectId)this.endTickRectId<this.startTickRectId&&(this.startTickRectId=this.endTickRectId);else{for(var _=this.startTickRectId;_<=this.endTickRectId-1;_++)e[_].rect.attr(i);this.startTickRectId=this.endTickRectId}if(e[this.endTickRectId]){e[this.endTickRectId].rect.attr(d);var I=this.startTickRectId/n,D=this.endTickRectId/n;this.graph.emit(\"valuechange\",{value:[I,D]})}},o.prototype.destory=function(){var t=this.sliceGroup;t.off(\"click\"),t.off(\"dragstart\"),t.off(\"dragover\"),t.off(\"drop\"),this.tickRects.forEach(function(e){var n=e.pickRect;n.off(\"mouseenter\"),n.off(\"mouseleave\")}),this.tickRects.length=0,t.off(\"\".concat(\"playPauseBtn\",\":click\")),t.off(\"\".concat(\"nextStepBtn\",\":click\")),t.off(\"\".concat(\"preStepBtn\",\":click\")),t.off(\"timebarConfigChanged\"),this.sliceGroup.destroy()},o}(),ul=function(){var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(n[d]=i[d])})(t,e)};return function(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Class extends value \"+String(e)+\" is not a constructor or null\");function n(){this.constructor=t}o(t,e),t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}(),fc=function(){return(fc=Object.assign||function(o){for(var t,e=1,n=arguments.length;e<n;e++)for(var i in t=arguments[e])Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i]);return o}).apply(this,arguments)},Kl=function(o,t){var e={};for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&t.indexOf(n)<0&&(e[n]=o[n]);if(o!=null&&typeof Object.getOwnPropertySymbols==\"function\"){var i=0;for(n=Object.getOwnPropertySymbols(o);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(o,n[i])&&(e[n[i]]=o[n[i]])}return e},Yf=function(o){function t(e){var n=o.call(this,e)||this;return n.afterrenderListener=function(i){return n.filterData({})},n.valueChangeListener=Object(s.throttle)(function(i){return n.filterData(i)},200,{trailing:!0,leading:!0}),n.changeData=function(i){var d=n.get(\"graph\");n.cacheGraphData=d.get(\"data\"),n.filterData({})},n}return ul(t,o),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,n,i=this.get(\"graph\"),d=this._cfgs,g=d.width,_=d.height,I=this.get(\"className\")||\"g6-component-timebar\",D=this.get(\"container\"),H=this.get(\"graph\").get(\"container\");D?(Object(s.isString)(D)&&(D=document.getElementById(D)),e=D):gi(e=_i(\"<div class='\".concat(I,\"'></div>\")),{position:\"relative\"}),H.appendChild(e),this.set(\"timeBarContainer\",e),n=i.get(\"renderer\")===\"SVG\"?new rr.Canvas({container:e,width:g,height:_}):new Za.Canvas({container:e,width:g,height:_}),this.get(\"containerCSS\")&&gi(e,this.get(\"containerCSS\")),this.set(\"canvas\",n)},t.prototype.init=function(){this.initContainer();var e=this.get(\"canvas\").addGroup({name:\"timebar-group\"});this.set(\"timeBarGroup\",e),this.renderTrend(),this.initEvent();var n=typeof window!=\"undefined\"&&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 n=this.get(\"timebar\");n&&(n.isPlay=!!e,n.changePlayStatus())},t.prototype.renderTrend=function(){var e=this,n=this._cfgs,i=n.width,d=n.x,g=n.y,_=n.padding,I=n.type,D=n.trend,H=n.slider,Z=n.controllerCfg,te=n.textStyle,de=n.tick,Pe=n.backgroundStyle,Ge=n.foregroundStyle,Qe=D.data,Xe=Kl(D,[\"data\"]),yt=i-2*_,Ct=I===\"trend\"?26:4,on=this.get(\"graph\"),sn=this.get(\"timeBarGroup\"),Nn=this.get(\"canvas\"),Tn=null;if(I===\"trend\"||I===\"simple\"){var Bn=this.get(\"getValue\");Tn=new Yl(fc(fc({graph:on,canvas:Nn,group:sn,type:I,x:d+_,y:I===\"trend\"?g+_:g+_+15,width:yt,height:Ct,padding:_,backgroundStyle:Pe,foregroundStyle:Ge,trendCfg:fc(fc({},Xe),{data:Qe.map(function(Sr){return(Bn==null?void 0:Bn(Sr))||Sr.value})})},H),{tick:{ticks:Qe,tickLabelFormatter:de.tickLabelFormatter,tickLabelStyle:de.tickLabelStyle,tickLineStyle:de.tickLineStyle},handlerStyle:fc(fc({},H.handlerStyle),{height:H.height||Ct}),controllerCfg:Z,textStyle:te}))}else I===\"tick\"&&(Tn=new Sc(fc({graph:on,canvas:Nn,group:sn,x:d+_,y:g+_,width:i,height:42,padding:2,controllerCfg:Z},de)));var Hn=function Sr(){var Cr=e.get(\"timebar\");Cr.draggingHandler=!1,Cr.isPlay&&(Cr.isPlay=!1,Cr.currentHandler=Cr.maxHandlerShape,Cr.changePlayStatus()),document.removeEventListener(\"mouseup\",Sr)};Nn.on(\"mousedown\",function(Sr){Sr.target.get(\"name\")!==\"maxHandlerShape-handler\"&&Sr.target.get(\"name\")!==\"minHandlerShape-handler\"&&Sr.target!==Tn.foregroundShape||document.addEventListener(\"mouseup\",Hn)}),this.set(\"timebar\",Tn)},t.prototype.filterData=function(e){var n,i=e.value;if(!i){i=[];var d=this._cfgs.type;d&&d!==\"trend\"&&d!==\"simple\"?d===\"tick\"&&(i[0]=this._cfgs.tick.start,i[1]=this._cfgs.tick.end):(i[0]=this._cfgs.slider.start,i[1]=this._cfgs.slider.end)}var g=null,_=this._cfgs.type;if(_===\"trend\"||_===\"simple\"?g=this._cfgs.trend.data:_===\"tick\"&&(g=this._cfgs.tick.data),g&&g.length!==0){var I=this.get(\"rangeChange\"),D=this.get(\"graph\"),H=Math.round(g.length*i[0]),Z=Math.round(g.length*i[1]);Z=Z>=g.length?g.length-1:Z,H=H>=g.length?g.length-1:H;var te=(n=this._cfgs.tick)===null||n===void 0?void 0:n.tickLabelFormatter,de=te?te(g[H]):g[H].date,Pe=te?te(g[Z]):g[Z].date;if(_!==\"tick\"&&this.get(\"timebar\").setText(de,Pe),I)I(D,de,Pe);else{(!this.cacheGraphData||this.cacheGraphData.nodes&&this.cacheGraphData.nodes.length===0)&&(this.cacheGraphData=D.get(\"data\"));var Ge=this.get(\"filterItemTypes\"),Qe=this.get(\"changeData\"),Xe=this.get(\"getDate\"),yt=this.get(\"shouldIgnore\"),Ct=g[H].date,on=g[Z].date;if(Qe||Qe===void 0){var sn=this.cacheGraphData.nodes,Nn=this.cacheGraphData.edges,Tn={},Bn={};D.getNodes().forEach(function(Hn){return Tn[Hn.getID()]=!0}),D.getEdges().forEach(function(Hn){return Bn[Hn.getID()]=!0}),Ge.includes(\"node\")&&(sn.forEach(function(Hn){var Sr=+((Xe==null?void 0:Xe(Hn))||Hn.date),Cr=Sr>=Ct&&Sr<=on||(yt==null?void 0:yt(\"node\",Hn,{min:Ct,max:on})),po=Tn[Hn.id];po&&!Cr?(D.removeItem(Hn.id),Tn[Hn.id]=!1):!po&&Cr&&(D.addItem(\"node\",Hn),Tn[Hn.id]=!0)}),Nn==null||Nn.forEach(function(Hn){var Sr=Tn[Hn.source]&&Tn[Hn.target]||(yt==null?void 0:yt(\"edge\",Hn,{min:Ct,max:on})),Cr=!!D.findById(Hn.id);Cr&&!Sr?(D.removeItem(Hn.id),Bn[Hn.id]=!1):!Cr&&Sr?(D.addItem(\"edge\",Hn),Bn[Hn.id]=!0):Cr||(Bn[Hn.id]=!1)})),(this.get(\"filterEdge\")||Ge.includes(\"edge\"))&&(Nn==null||Nn.filter(function(Hn){var Sr=+((Xe==null?void 0:Xe(Hn))||Hn.date),Cr=Sr>=Ct&&Sr<=on||(yt==null?void 0:yt(\"edge\",Hn,{min:Ct,max:on})),po=Tn[Hn.source]&&Tn[Hn.target],wo=Cr&&po,Po=Bn[Hn.id];Po&&!wo?(Bn[Hn.id]=!1,D.removeItem(Hn.id)):!Po&&wo&&(Bn[Hn.id]=!0,D.addItem(\"edge\",Hn))}))}else Ge.includes(\"node\")&&D.getNodes().forEach(function(Hn){var Sr=Hn.getModel();if(!(yt!=null&&yt(\"node\",Sr,{min:Ct,max:on}))){var Cr=+((Xe==null?void 0:Xe(Sr))||Sr.date);Cr<Ct||Cr>on?D.hideItem(Hn):D.showItem(Hn)}}),(this.get(\"filterEdge\")||Ge.includes(\"edge\"))&&D.getEdges().forEach(function(Hn){var Sr=Hn.getModel();if(!(yt!=null&&yt(\"edge\",Sr,{min:g[H].date,max:g[Z].date}))){var Cr=+((Xe==null?void 0:Xe(Sr))||Sr.date);if(Cr<g[H].date||Cr>g[Z].date)D.hideItem(Hn);else{var po=Hn.getSource().isVisible(),wo=Hn.getTarget().isVisible();po&&wo&&D.showItem(Hn)}}})}}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(\"valuechange\",this.valueChangeListener)},t.prototype.destroy=function(){var e=this.get(\"graph\");e.off(\"afterchangedata\",this.changeData),e.off(\"afterrender\",this.afterrenderListener),e.off(\"valuechange\",this.valueChangeListener);var n=this.get(\"timebar\");n&&n.destory&&n.destory(),o.prototype.destroy.call(this);var i=this.get(\"timeBarContainer\");if(i){var d=this.get(\"container\");d||(d=this.get(\"graph\").get(\"container\")),Object(s.isString)(d)&&(d=document.getElementById(d)),d.removeChild(i)}},t}(gs),Ec=function(){var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(n[d]=i[d])})(t,e)};return function(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Class extends value \"+String(e)+\" is not a constructor or null\");function n(){this.constructor=t}o(t,e),t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}(),$c=Oa.applyMatrix,dc=function(o){function t(e){return o.call(this,e)||this}return Ec(t,o),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,n=this._cfgs,i=n.graph;if(!this.destroyed){var d=this.get(\"container\");Object(s.isString)(d)&&(d=document.getElementById(d));var g=_i(\"<div class=\".concat(n.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>`)),_=0,I=0,D=!1,H=0,Z=0,te=0,de=0,Pe=0,Ge=0;d.addEventListener(\"mousedown\",function(Qe){if(n.refresh=!1,Qe.target===g){var Xe=g.style;te=parseInt(Xe.width,10),de=parseInt(Xe.height,10);var yt=e.get(\"width\"),Ct=e.get(\"height\");te>yt||de>Ct||(Ge=i.getZoom(),Pe=e.get(\"ratio\"),D=!0,_=Qe.clientX,I=Qe.clientY)}},!1),d.addEventListener(\"mousemove\",function(Qe){if(D&&!Object(s.isNil)(Qe.clientX)&&!Object(s.isNil)(Qe.clientY)){var Xe=e.get(\"width\"),yt=e.get(\"height\"),Ct=g.style;H=parseInt(Ct.left,10),Z=parseInt(Ct.top,10),te=parseInt(Ct.width,10),de=parseInt(Ct.height,10);var on=_-Qe.clientX,sn=I-Qe.clientY;H-on<0?on=H:H-on+te>=Xe&&(on=0),Z-sn<0?sn=Z:Z-sn+de>=yt&&(sn=0),Z-=sn,gi(g,{left:\"\".concat(H-=on,\"px\"),top:\"\".concat(Z,\"px\")}),i.translate(on*Ge/Pe,sn*Ge/Pe),_=Qe.clientX,I=Qe.clientY}},!1),d.addEventListener(\"mouseleave\",function(){D=!1,n.refresh=!0},!1),d.addEventListener(\"mouseup\",function(){D=!1,n.refresh=!0},!1),this.set(\"viewport\",g),d.appendChild(g)}},t.prototype.updateViewport=function(){if(!this.destroyed){var e=this.get(\"ratio\"),n=this.get(\"width\"),i=this.get(\"height\"),d=this.get(\"graph\"),g=d.get(\"width\"),_=g/d.get(\"height\"),I=d.getGroup(),D=I.getCanvasBBox(),H=[(D.minX+D.maxX)/2,(D.minY+D.maxY)/2],Z=[D.maxX-D.minX,D.maxY-D.minY],te={centerX:H[0],centerY:H[1],width:0,height:0,minX:0,minY:0};D[0]/D[1]>_?(te.width=Z[0],te.height=te.width/_):(te.height=Z[1],te.width=te.height*_),te.minX=H[0]-te.width/2,te.minY=H[1]-te.height/2;var de=I.getMatrix();de||(de=[1,0,0,0,1,0,0,0,1]);var Pe=j.b.invert([1,0,0,0,1,0,0,0,1],de),Ge=$c({x:te.minX,y:te.minY},Pe),Qe=d.getCanvasByPoint(Ge.x,Ge.y),Xe=this.get(\"viewport\");Xe||this.initViewport();var yt=g/te.width,Ct=yt*n,on=yt*i,sn=n*-Qe.x/te.width,Nn=i*-Qe.y/te.height,Tn=sn+Ct,Bn=Nn+on;sn<0&&(Ct+=sn,sn=0),Tn>n&&(Ct-=Tn-n),Nn<0&&(on+=Nn,Nn=0),Bn>i&&(on-=Bn-i),this.set(\"ratio\",e),gi(Xe,{left:\"\".concat(sn,\"px\"),top:\"\".concat(Nn,\"px\"),width:\"\".concat(Ct,\"px\"),height:\"\".concat(on,\"px\")})}},t.prototype.init=function(){this.initContainer()},t.prototype.initContainer=function(){var e=this.get(\"graph\"),n=e.get(\"width\"),i=e.get(\"height\")/n,d=this.get(\"className\"),g=this.get(\"container\"),_=this.get(\"width\"),I=this.get(\"height\");_||I||(_=200),_?(I=i*_,this.set(\"height\",I)):(_=1/i*I,this.set(\"width\",_));var D=_i(\"<div class='\".concat(d,\"' style='width: \").concat(_,\"px; height: \").concat(I,\"px; overflow: hidden; position: relative;'></div>\"));Object(s.isString)(g)&&(g=document.getElementById(g)),g?g.appendChild(D):e.get(\"container\").appendChild(D),this.set(\"container\",D);var H=_i('<div class=\"g6-minimap-container\" style=\"position: relative; width: 100%; height: 100%; text-align: center; display: table;\"></div>');D.appendChild(H);var Z=_i('<span style=\"display: table-cell; vertical-align: middle; \"></span>');H.appendChild(Z),this.set(\"containerDOM\",H),this.set(\"containerSpan\",Z);var te=_i('<img alt=\"\" src=\"'.concat(this.get(\"graphImg\"),'\" style=\"display: inline-block; user-select: none;\" draggable=\"false\" />'));this.set(\"imgDOM\",te),this.updateImgSize(),Z.appendChild(te),this.updateCanvas()},t.prototype.updateImgSize=function(){var e=this.get(\"imgDOM\"),n=this.get(\"width\"),i=this.get(\"height\");e.onload=function(){var d=function(g,_){var I,D;if(g.naturalWidth)I=g.naturalWidth,D=g.naturalHeight;else{var H=new Image;H.src=g.src,H.onload=function(){_&&_(H.width,H.height)}}return[I,D]}(e);d[0]>d[1]?e.width=n:e.height=i}},t.prototype.updateCanvas=function(){if(this.get(\"refresh\")){var e=this.get(\"graph\");if(!e.get(\"destroyed\")){this.get(\"viewportChange\")&&(this.set(\"viewportChange\",!1),this.updateViewport());var n=this.get(\"width\")/e.get(\"canvas\").getCanvasBBox().width;this.set(\"ratio\",n),this.updateViewport()}}},t.prototype.getViewport=function(){return this.get(\"viewport\")},t.prototype.getContainer=function(){return this.get(\"container\")},t.prototype.updateGraphImg=function(e){this.get(\"imgDOM\").remove(),this.set(\"graphImg\",e);var n=_i('<img alt=\"\" src=\"'.concat(e,'\" style=\"display: inline-block;\" ondragstart=\"return false;\" onselectstart=\"return false;\"/>'));this.set(\"imgDOM\",n),n.src=e,this.updateImgSize(),this.get(\"containerSpan\").appendChild(n),this.updateCanvas()},t.prototype.destroy=function(){var e=this.get(\"container\");e.parentNode.removeChild(e)},t}(gs),Kf=function(){var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(n[d]=i[d])})(t,e)};return function(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Class extends value \"+String(e)+\" is not a constructor or null\");function n(){this.constructor=t}o(t,e),t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}(),ql=function(){return(ql=Object.assign||function(o){for(var t,e=1,n=arguments.length;e<n;e++)for(var i in t=arguments[e])Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i]);return o}).apply(this,arguments)},Ql=Oa.distance,gl={stroke:\"#000\",strokeOpacity:.8,lineWidth:2,fillOpacity:1,fill:\"#fff\"},Lu=function(o){function t(e){return o.call(this,e)||this}return Kf(t,o),t.prototype.getDefaultCfgs=function(){return{type:\"both\",trigger:\"mousemove\",r:60,delegateStyle:Object(s.clone)(gl),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\"}}return e},t.prototype.init=function(){var e=this.get(\"showLabel\"),n=e===\"node\"||e===\"both\",i=e===\"edge\"||e===\"both\";this.set(\"showNodeLabel\",n),this.set(\"showEdgeLabel\",i),this.get(\"shouldShow\")||this.set(\"shouldShow\",function(){return!0})},t.prototype.createDelegate=function(e){var n=this,i=n.get(\"delegate\");i&&!i.destroyed||(n.filter(e),(i=n.get(\"delegate\")).on(\"dragstart\",function(d){}),i.on(\"drag\",function(d){n.filter(d)}),this.get(\"scaleRBy\")===\"wheel\"&&i.on(\"mousewheel\",function(d){n.scaleRByWheel(d)}))},t.prototype.scaleRByWheel=function(e){if(e&&e.originalEvent){e.preventDefault&&e.preventDefault();var n,i=this.get(\"graph\"),d=this.get(\"delegate\");d&&{x:d.attr(\"x\"),y:d.attr(\"y\")}||i.getPointByClient(e.clientX,e.clientY),n=e.originalEvent.wheelDelta<0?.95:1/.95;var g=this.get(\"maxR\"),_=this.get(\"minR\"),I=this.get(\"r\");(I>(g||i.get(\"height\"))&&n>1||I<(_||.05*i.get(\"height\"))&&n<1)&&(n=1),I*=n,this.set(\"r\",I),this.filter(e)}},t.prototype.filter=function(e){var n=this.get(\"graph\"),i=n.getNodes(),d={},g=this.get(\"r\"),_=this.get(\"type\"),I={x:e.x,y:e.y};this.updateDelegate(I,g);var D=this.get(\"shouldShow\"),H=this.get(\"vShapes\");H&&H.forEach(function(Qe){Qe.remove(),Qe.destroy()}),H=[],i.forEach(function(Qe){var Xe=Qe.getModel(),yt=Xe.x,Ct=Xe.y;Ql({x:yt,y:Ct},I)<g&&(d[Xe.id]=Qe)});var Z=n.getEdges(),te=[];Z.forEach(function(Qe){var Xe=Qe.getModel(),yt=Xe.source,Ct=Xe.target;D(Xe)&&(_===\"only-source\"||_===\"one\"?d[yt]&&!d[Ct]&&te.push(Qe):_===\"only-target\"||_===\"one\"?d[Ct]&&!d[yt]&&te.push(Qe):_===\"both\"&&d[yt]&&d[Ct]&&te.push(Qe))});var de=this.get(\"showNodeLabel\"),Pe=this.get(\"showEdgelabel\"),Ge=n.get(\"group\");te.forEach(function(Qe){Qe.get(\"group\").get(\"children\").forEach(function(Xe){var yt=Xe.get(\"type\"),Ct=Ge.addShape(yt,{attrs:Xe.attr()});H.push(Ct),de&&yt===\"text\"&&Ct.set(\"visible\",!0)})}),Object.keys(d).forEach(function(Qe){var Xe=d[Qe].get(\"group\").clone();if(Ge.add(Xe),H.push(Xe),Pe)for(var yt=Xe.get(\"children\"),Ct=0;Ct<yt.length;Ct++){var on=yt[Ct];on.get(\"type\")===\"text\"&&on.set(\"visible\",!0)}}),this.set(\"vShapes\",H)},t.prototype.updateParams=function(e){var n=e.r,i=e.trigger,d=e.minR,g=e.maxR,_=e.scaleRBy,I=e.showLabel,D=e.shouldShow;if(isNaN(e.r)||this.set(\"r\",n),isNaN(g)||this.set(\"maxR\",g),isNaN(d)||this.set(\"minR\",d),i!==\"mousemove\"&&i!==\"click\"||this.set(\"trigger\",i),_===\"wheel\"||_===\"unset\"){this.set(\"scaleRBy\",_),this.get(\"delegate\").remove(),this.get(\"delegate\").destroy();var H=this.get(\"dPercentText\");H&&(H.remove(),H.destroy())}I!==\"node\"&&I!==\"both\"||this.set(\"showNodeLabel\",!0),I!==\"edge\"&&I!==\"both\"||this.set(\"showEdgeLabel\",!0),D&&this.set(\"shouldShow\",D)},t.prototype.updateDelegate=function(e,n){var i=this,d=i.get(\"graph\"),g=i.get(\"delegate\");if(!g||g.destroyed){var _=d.get(\"group\"),I=i.get(\"delegateStyle\")||gl;g=_.addShape(\"circle\",{attrs:ql({r:n,x:e.x,y:e.y},I),name:\"lens-shape\",draggable:!0}),this.get(\"trigger\")!==\"drag\"&&this.get(\"scaleRBy\")===\"wheel\"&&g.on(\"mousewheel\",function(D){i.scaleRByWheel(D)})}else g.attr({x:e.x,y:e.y,r:n});i.set(\"delegate\",g)},t.prototype.clear=function(){var e=this.get(\"vShapes\");e&&e.forEach(function(i){i.remove(),i.destroy()}),e=[],this.set(\"vShapes\",e);var n=this.get(\"delegate\");n&&!n.destroyed&&(n.remove(),n.destroy())},t.prototype.destroy=function(){this.clear()},t}(gs),Tl=function(){var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(n[d]=i[d])})(t,e)};return function(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Class extends value \"+String(e)+\" is not a constructor or null\");function n(){this.constructor=t}o(t,e),t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}(),Jl=Oa.pointLineDistance,vl={stroke:\"#FA8C16\",lineWidth:1},_f=function(o){function t(e){return o.call(this,e)||this}return Tl(t,o),t.prototype.getDefaultCfgs=function(){return{line:vl,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 n=e.item,i=(n.get(\"delegateShape\")||n).getBBox(),d=n.getModel(),g=d.x-i.x,_=d.y-i.y;this.show({x:i.minX+g,y:i.minY+_},{width:i.width,height:i.height})},t.prototype.onDragEnd=function(){this.destory()},t.prototype.initBoxLine=function(){var e=this._cfgs,n=e.horizontalLines,i=e.verticalLines,d=e.itemAlignType;this.get(\"graph\").getNodes().forEach(function(g){var _=g.getBBox(),I=g.get(\"id\");d===!0||d===\"horizontal\"?(n[\"\".concat(I,\"tltr\")]=[_.minX,_.minY,_.maxX,_.minY,g],n[\"\".concat(I,\"lcrc\")]=[_.minX,_.centerY,_.maxX,_.centerY,g],n[\"\".concat(I,\"blbr\")]=[_.minX,_.maxY,_.maxX,_.maxY,g]):d===\"center\"&&(n[\"\".concat(I,\"lcrc\")]=[_.minX,_.centerY,_.maxX,_.centerY,g]),d===!0||d===\"vertical\"?(i[\"\".concat(I,\"tlbl\")]=[_.minX,_.minY,_.minX,_.maxY,g],i[\"\".concat(I,\"tcbc\")]=[_.centerX,_.minY,_.centerX,_.maxY,g],i[\"\".concat(I,\"trbr\")]=[_.maxX,_.minY,_.maxX,_.maxY,g]):d===\"center\"&&(i[\"\".concat(I,\"tcbc\")]=[_.centerX,_.minY,_.centerX,_.maxY,g])})},t.prototype.show=function(e,n){var i=Object(s.mix)({},e);return this.itemAlign(e,n,i),e},t.prototype.itemAlign=function(e,n,i){var d=this,g=this._cfgs,_=g.horizontalLines,I=g.verticalLines,D=g.tolerance,H={x:i.x+n.width/2,y:i.y},Z={x:i.x+n.width/2,y:i.y+n.height/2},te={x:i.x+n.width/2,y:i.y+n.height},de={x:i.x,y:i.y+n.height/2},Pe={x:i.x+n.width,y:i.y+n.height/2},Ge=[],Qe=[],Xe=null;if(this.clearAlignLine(),Object(s.each)(_,function(Ct){Ct[4].isVisible&&(Ge.push(d.getLineDisObject(Ct,H)),Ge.push(d.getLineDisObject(Ct,Z)),Ge.push(d.getLineDisObject(Ct,te)))}),Object(s.each)(I,function(Ct){Ct[4].isVisible&&(Qe.push(d.getLineDisObject(Ct,de)),Qe.push(d.getLineDisObject(Ct,Z)),Qe.push(d.getLineDisObject(Ct,Pe)))}),Ge.sort(function(Ct,on){return Ct.dis-on.dis}),Qe.sort(function(Ct,on){return Ct.dis-on.dis}),Ge.length!==0&&Ge[0].dis<D){e.y=Ge[0].line[1]-Ge[0].point.y+i.y,Xe={type:\"item\",horizontals:[Ge[0]]};for(var yt=1;yt<3;yt++)Ge[0].dis===Ge[yt].dis&&Xe.horizontals.push(Ge[yt])}if(Qe.length!==0&&Qe[0].dis<D)for(e.x=Qe[0].line[0]-Qe[0].point.x+i.x,Xe?Xe.verticals=[Qe[0]]:Xe={type:\"item\",verticals:[Qe[0]]},yt=1;yt<3;yt++)Qe[0].dis===Qe[yt].dis&&Xe.verticals.push(Qe[yt]);Xe&&(Xe.bbox=n,this.addAlignLine(Xe))},t.prototype.addAlignLine=function(e){var n=e.bbox,i=e.type,d=e.horizontals,g=e.verticals,_=this._cfgs,I=_.line,D=_.alignLines,H=this.get(\"graph\").get(\"group\");i===\"item\"&&(d&&Object(s.each)(d,function(Z){var te,de,Pe=Z.line,Ge=Z.point,Qe=(Pe[0]+Pe[2])/2;Ge.x<Qe?(te=Ge.x-n.width/2,de=Math.max(Pe[0],Pe[2])):(te=Ge.x+n.width/2,de=Math.min(Pe[0],Pe[2]));var Xe=Object(s.mix)({x1:te,y1:Pe[1],x2:de,y2:Pe[1]},I),yt=H.addShape(\"line\",{attrs:Xe,capture:!1});D.push(yt)}),g&&Object(s.each)(g,function(Z){var te,de,Pe=Z.line,Ge=Z.point,Qe=(Pe[1]+Pe[3])/2;Ge.y<Qe?(te=Ge.y-n.height/2,de=Math.max(Pe[1],Pe[3])):(te=Ge.y+n.height/2,de=Math.min(Pe[1],Pe[3]));var Xe=Object(s.mix)({x1:Pe[0],y1:te,x2:Pe[0],y2:de},I),yt=H.addShape(\"line\",{attrs:Xe,capture:!1});D.push(yt)}))},t.prototype.getLineDisObject=function(e,n){return{line:e,point:n,dis:Jl(e,n)}},t.prototype.getContainer=function(){return this.get(\"container\")},t.prototype.clearAlignLine=function(){var e=this._cfgs.alignLines;Object(s.each)(e,function(n){n.remove()}),e.length=0},t.prototype.destory=function(){var e=this._cfgs,n=e.horizontalLines,i=e.verticalLines;this.get(\"graph\").getNodes().forEach(function(d){var g=d.get(\"id\");delete n[\"\".concat(g,\"tltr\")],delete n[\"\".concat(g,\"lcrc\")],delete n[\"\".concat(g,\"blbr\")],delete i[\"\".concat(g,\"tlbl\")],delete i[\"\".concat(g,\"tcbc\")],delete i[\"\".concat(g,\"trbr\")]}),this.clearAlignLine()},t}(gs),Mf=function(){var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(n[d]=i[d])})(t,e)};return function(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Class extends value \"+String(e)+\" is not a constructor or null\");function n(){this.constructor=t}o(t,e),t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}(),Ds=function(){return(Ds=Object.assign||function(o){for(var t,e=1,n=arguments.length;e<n;e++)for(var i in t=arguments[e])Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i]);return o}).apply(this,arguments)},ef=[\"click\",\"mouseenter\"],Pl=function(o){function t(e){return o.call(this,e)||this}return Mf(t,o),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\")||{};e.multiple&&e.trigger===\"mouseenter\"&&this.set(\"multiple\",!1);var n=this.get(\"align\");if(!n){var i=this.get(\"position\").split(\"-\");i.includes(\"left\")&&(n=\"left\"),n=i.includes(\"right\")?\"right\":\"center\",this.set(\"align\",n)}var d=this.get(\"graph\").get(\"container\"),g=_i(`<div class='g6-legend-container' style=\"position: absolute;\"></div>`);d.appendChild(g),this.set(\"container\",g);var _=this.render();gi(g,this.getContainerPos(_)),this.bindEvents()},t.prototype.getContainerPos=function(e){e===void 0&&(e=[0,0]);var n=this.get(\"graph\"),i=this.get(\"offsetX\"),d=this.get(\"offsetY\"),g=this.get(\"margin\"),_=this.get(\"position\").split(\"-\"),I={top:0,right:1,bottom:2,left:3},D={left:(n.getWidth()-e[0])/2+0,top:(n.getHeight()-e[1])/2+0};return _.forEach(function(H){var Z=g[I[H]],te=H;switch(H){case\"top\":case\"left\":Z+=0;break;case\"bottom\":Z=n.getHeight()-e[1]-Z+0,te=\"top\";break;default:Z=n.getWidth()-e[0]-Z+0,te=\"left\"}D[te]=Z}),D.top+=d+n.getContainer().offsetTop,D.left+=i+n.getContainer().offsetLeft,Object.keys(D).forEach(function(H){D[H]=\"\".concat(D[H],\"px\")}),D},t.prototype.bindEvents=function(){var e=this,n=e.get(\"filter\");if(n&&n.enable){var i=n.trigger||\"click\";ef.includes(i)||(console.warn(\"Trigger for legend filterling must be 'click' or 'mouseenter', 'click' will take effect by default.\"),i=\"click\");var d=e.get(\"legendCanvas\");i===\"mouseenter\"?(d.on(\"node-container:mouseenter\",function(g){return e.filterData(g)}),d.on(\"node-container:mouseleave\",function(g){e.clearFilter(),e.clearActiveLegend()})):(d.on(\"node-container:click\",function(g){return e.filterData(g)}),d.on(\"click\",function(g){g.target&&g.target.isCanvas&&g.target.isCanvas()&&(e.clearFilter(),e.clearActiveLegend())}))}},t.prototype.changeData=function(e){this.set(\"data\",e);var n=this.render();gi(this.get(\"container\"),this.getContainerPos(n))},t.prototype.activateLegend=function(e){var n=this.get(\"filter\");n!=null&&n.multiple||this.clearActiveLegend();var i=e.get(\"parent\");i.get(\"active\")?(i.set(\"active\",!1),this.findLegendItemsByState(\"active\").length&&i.set(\"inactive\",!0)):(i.set(\"inactive\",!1),i.set(\"active\",!0)),this.findLegendItemsByState(\"active\").length?this.findLegendItemsByState(\"active\",\"all\",!1).forEach(function(H){H.set(\"inactive\",!0)}):this.clearActiveLegend();var d=(n==null?void 0:n.legendStateStyles)||{},g=(d==null?void 0:d.inactive)||{opacity:.5,\"text-shape\":{opacity:.5}},_=g[\"text-shape\"]||{};this.findLegendItemsByState(\"inactive\").forEach(function(H){var Z=H.get(\"children\"),te=Z[0],de=Z[1];te.attr(Ds(Ds({},te.get(\"oriAttrs\")),g)),de.attr(Ds(Ds({},de.get(\"oriAttrs\")),_))});var I=(d==null?void 0:d.active)||{stroke:\"#000\",lineWidth:2,\"text-shape\":{fontWeight:\"bold\"}},D=I[\"text-shape\"]||{};this.findLegendItemsByState(\"active\").forEach(function(H){var Z=H.get(\"children\"),te=Z[0],de=Z[1];te.attr(Ds(Ds({},te.get(\"oriAttrs\")),I)),de.attr(Ds(Ds({},de.get(\"oriAttrs\")),D))})},t.prototype.findLegendItemsByState=function(e,n,i){n===void 0&&(n=\"all\"),i===void 0&&(i=!0);var d=this.get(\"legendCanvas\").find(function(I){return I.get(\"name\")===\"root\"}),g=d.find(function(I){return I.get(\"name\")===\"node-group\"}),_=d.find(function(I){return I.get(\"name\")===\"edge-group\"});return n===\"node\"?g.get(\"children\").filter(function(I){return!!I.get(e)===i}):n===\"edge\"?_.get(\"children\").filter(function(I){return!!I.get(e)===i}):g.get(\"children\").filter(function(I){return!!I.get(e)===i}).concat(_.get(\"children\").filter(function(I){return!!I.get(e)===i}))},t.prototype.clearActiveLegend=function(){var e=this.get(\"legendCanvas\").find(function(n){return n.get(\"name\")===\"root\"});[e.find(function(n){return n.get(\"name\")===\"node-group\"}),e.find(function(n){return n.get(\"name\")===\"edge-group\"})].forEach(function(n){n.get(\"children\").forEach(function(i){i.set(\"active\",!1),i.set(\"inactive\",!1);var d=i.get(\"children\"),g=d[0],_=d[1];g.attr(g.get(\"oriAttrs\")),_.attr(_.get(\"oriAttrs\"))})})},t.prototype.filterData=function(e){var n=this.get(\"filter\"),i=n==null?void 0:n.filterFunctions;if(n&&i){var d=this.get(\"legendCanvas\"),g=this.get(\"graph\"),_=n.graphActiveState||\"active\",I=n.graphInactiveState||\"inactive\",D=n.multiple;this.clearFilter(),D||this.clearActiveLegend(),this.activateLegend(e.target);var H=d.find(function(Xe){return Xe.get(\"name\")===\"root\"}),Z=H.find(function(Xe){return Xe.get(\"name\")===\"node-group\"}),te=H.find(function(Xe){return Xe.get(\"name\")===\"edge-group\"}),de=Z.get(\"children\").filter(function(Xe){return Xe.get(\"active\")}),Pe=te.get(\"children\").filter(function(Xe){return Xe.get(\"active\")}),Ge=0,Qe=[\"getNodes\",\"getEdges\"];Qe.forEach(function(Xe){g[Xe]().forEach(function(yt){var Ct=!1;(Xe===\"getNodes\"?de:Pe).forEach(function(on){var sn=i[on.get(\"id\")];Ct=Ct||sn(yt.getModel())}),Ct?(g.setItemState(yt,I,!1),g.setItemState(yt,_,!0),Ge++):(g.setItemState(yt,_,!1),g.setItemState(yt,I,!0))})}),Ge||Qe.forEach(function(Xe){g[Xe]().forEach(function(yt){g.clearItemStates(yt,[I])})})}},t.prototype.clearFilter=function(){var e=this.get(\"graph\"),n=this.get(\"filter\");if(n){var i=n.graphActiveState||\"active\",d=n.graphInactiveState||\"inactive\";e.getNodes().forEach(function(g){e.clearItemStates(g,[i,d])}),e.getEdges().forEach(function(g){e.clearItemStates(g,[i,d])})}},t.prototype.render=function(){var e=this;this.processData();var n=this.get(\"legendCanvas\");n?n.clear():n=new Za.Canvas({container:this.get(\"container\"),width:200,height:200});var i=n.addGroup({name:\"root\"}),d=i.addGroup({name:\"node-group\"}),g=i.addGroup({name:\"edge-group\"});this.set(\"legendCanvas\",n);var _=this.get(\"itemsData\"),I=[d,g];[\"nodes\",\"edges\"].forEach(function(Po,Xo){_[Po].forEach(function(ri){var ki,T,B=I[Xo].addGroup({id:ri.id,name:\"node-container\"}),K=ri.type,Se=e.getShapeSize(ri),He=Se.width,Ye=Se.height,Et=Se.r,bn=e.getStyle(Po.substr(0,4),ri);switch(ri.type){case\"circle\":T={r:Et,x:0,y:0};break;case\"rect\":T={width:He,height:Ye,x:-He/2,y:-Ye/2};break;case\"ellipse\":T={rx:He,ry:Ye,x:0,y:0},K=\"ellipse\";break;case\"line\":T={x1:-He/2,y1:0,x2:He/2,y2:0},K=\"line\";break;case\"quadratic\":T={path:[[\"M\",-He/2,0],[\"Q\",0,He/2,He/2,0]]},K=\"path\";break;case\"cubic\":T={path:[[\"M\",-He/2,0],[\"C\",-He/6,He/2,He/6,-He/2,He/2,0]]},K=\"path\";break;case\"diamond\":T={path:[[\"M\",0,-Ye],[\"L\",He,0],[\"L\",0,Ye],[\"L\",-He,0],[\"Z\"]]},K=\"path\";break;case\"triangle\":T={path:[[\"M\",-He,Ye],[\"L\",0,-Ye],[\"L\",He,Ye],[\"Z\"]]},K=\"path\";break;case\"star\":T={path:Oa.getStarPath(3*Et,1.2*Et)},K=\"path\";break;default:T={r:Et,x:0,y:0}}var Qn=B.addShape(K,{attrs:Ds(Ds({},T),bn),name:\"\".concat(ri.type,\"-node-keyShape\"),oriAttrs:Ds({opacity:1},bn)});if(ri.label){var yr=Qn.getBBox(),vr=((ki=ri.labelCfg)===null||ki===void 0?void 0:ki.style)||{},no=Ds({textAlign:\"begin\",fontSize:12,textBaseline:\"middle\",fill:\"#000\",opacity:1,fontWeight:\"normal\"},vr);B.addShape(\"text\",{attrs:Ds({x:yr.maxX+4,y:0,text:ri.label},no),className:\"legend-label\",name:\"\".concat(ri.type,\"-node-text\"),oriAttrs:no})}})});var D,H=this.get(\"padding\"),Z=i.find(function(Po){return Po.get(\"name\")===\"title-container\"}),te={height:0,maxY:0,width:0};if(this.get(\"title\")){Z||(Z=i.addGroup({name:\"title-container\"}));var de={fontSize:20,fontFamily:\"Arial\",fontWeight:300,textBaseline:\"top\",textAlign:\"center\",fill:\"#000\",x:0,y:H[0]},Pe=this.get(\"titleConfig\")||{},Ge=Object.assign(de,Pe.style||{});D=Z.addShape(\"text\",{attrs:Ds({text:this.get(\"title\")},Ge)}),te=Z.getCanvasBBox(),Z.setMatrix([1,0,0,0,1,0,Pe.offsetX,Pe.offsetY,1])}this.layoutItems();var Qe=i.getCanvasBBox(),Xe=d.getCanvasBBox(),yt=Xe.minX<0?Math.abs(Xe.minX)+H[3]:H[3],Ct=te.maxY<Xe.minY?Math.abs(te.maxY-Xe.minY)+H[0]:te.maxY+H[0],on=[1,0,0,0,1,0,yt,Ct,1];d.setMatrix(on);var sn=[(Qe=i.getCanvasBBox()).minX+Qe.width+H[1],Qe.minY+Qe.height+H[2]];if(D){Pe=Ds({position:\"center\",offsetX:0,offsetY:0},this.get(\"titleConfig\")),te=Z.getCanvasBBox();var Nn=Z.getMatrix()||[1,0,0,0,1,0,0,0,1];Pe.position===\"center\"?Nn[6]=sn[0]/2+Pe.offsetX:Pe.position===\"right\"?(Nn[6]=sn[0]-H[3]+Pe.offsetX,D.attr({textAlign:\"right\"})):(Nn[6]=H[3]+Pe.offsetX,D.attr({textAlign:\"left\"})),Z.setMatrix(Nn),te=Z.getCanvasBBox(),on=[1,0,0,0,1,0,yt=Xe.minX<0?Math.abs(Xe.minX)+H[3]:H[3],Ct=Xe.minY<te.maxY?Math.abs(te.maxY-Xe.minY)+H[0]:te.maxY+H[0],1],d.setMatrix(on);var Tn=[1,0,0,0,1,0,yt,Ct,1];this.get(\"layout\")===\"vertical\"?Tn[6]+=Xe.maxX+this.get(\"horiSep\"):Tn[7]+=Xe.maxY+this.get(\"vertiSep\"),g.setMatrix(Tn)}else{Xe=d.getCanvasBBox();var Bn=[1,0,0,0,1,0,0,0,1];this.get(\"layout\")===\"vertical\"?Bn[6]+=on[6]+Xe.maxX+this.get(\"horiSep\"):Bn[7]+=on[7]+Xe.maxY+this.get(\"vertiSep\"),g.setMatrix(Bn)}Qe=i.getCanvasBBox(),Xe=d.getCanvasBBox(),on=d.getMatrix()||[1,0,0,0,1,0,0,0,1];var Hn=g.getMatrix()||[1,0,0,0,1,0,0,0,1],Sr=g.getCanvasBBox();sn=[Math.max(Xe.width+on[6],Sr.width+Hn[6])+H[1],Math.max(Xe.height+on[7],Sr.height+Hn[7])+H[2]],n.changeSize(sn[0],sn[1]);var Cr=this.get(\"containerStyle\"),po=i.getMatrix()||[1,0,0,0,1,0,0,0,1],wo=Oa.invertMatrix({x:0,y:0},po);return i.addShape(\"rect\",{attrs:Ds({x:wo.x+(Cr.lineWidth||1),y:wo.y+(Cr.lineWidth||1),width:sn[0]-2*(Cr.lineWidth||1),height:sn[1]-2*(Cr.lineWidth||1),fill:\"#f00\",stroke:\"#000\",lineWidth:1,opacity:.5},Cr),name:\"legend-back-rect\",capture:!1}).toBack(),sn},t.prototype.layoutItems=function(){var e=this.get(\"legendCanvas\"),n=this.get(\"horiSep\"),i=this.get(\"vertiSep\"),d=this.get(\"layout\"),g=this.get(\"align\"),_=[0,0],I=e.find(function(Ct){return Ct.get(\"name\")===\"root\"}),D=I.find(function(Ct){return Ct.get(\"name\")===\"node-group\"}),H=I.find(function(Ct){return Ct.get(\"name\")===\"edge-group\"}),Z={min:0,max:-1/0},te=-1/0;D.get(\"children\").forEach(function(Ct,on){on===0&&(Z.min=_[0]);var sn=Ct.get(\"children\")[0],Nn=Ct.getCanvasBBox(),Tn=sn.getBBox(),Bn=Tn.width,Hn=Tn.height,Sr=0,Cr=0,po=0;d===\"vertical\"?(Cr=_[1],po=_[0]+Bn/2,_[0]=po+Nn.height+i,Sr=Nn.maxX+Cr+Bn/2):(Cr=_[0]+Bn/2,po=_[1],_[0]=Cr+Nn.width+n,Sr=Nn.maxY+po+Hn/2),_[0]>Z.max&&(Z.max=_[0]),Sr>te&&(te=Sr),Ct.setMatrix([1,0,0,0,1,0,Cr,po,1])});var de=Z.max-Z.min,Pe={min:0,max:-1/0},Ge=D.getCanvasBBox();_[0]=0,_[1]=d===\"vertical\"?Ge.maxX+n:Ge.maxY+i,H.get(\"children\").forEach(function(Ct,on){on===0&&(Pe.min=_[0]);var sn=Ct.get(\"children\")[0],Nn=Ct.getCanvasBBox(),Tn=sn.getBBox(),Bn=Tn.width,Hn=Tn.height,Sr=0,Cr=0;d===\"vertical\"?(Sr=_[1],Cr=_[0],_[0]=Cr+Nn.height+i,Ct.setMatrix([1,0,0,0,1,0,0,Cr+Hn/2,1])):(Sr=_[0],Cr=_[1],_[0]=Sr+Nn.width+n,Ct.setMatrix([1,0,0,0,1,0,Sr+Bn/2,0,1])),_[0]>Pe.max&&(Pe.max=_[0])});var Qe=Pe.max-Pe.min;if(g&&g!==\"\"&&g!==\"left\"){var Xe=de-Qe,yt=g===\"center\"?Math.abs(Xe)/2:Math.abs(Xe);(Xe<0?D:H).get(\"children\").forEach(function(Ct){var on=Ct.getMatrix()||[1,0,0,0,1,0,0,0,1];d===\"vertical\"?on[7]+=yt:on[6]+=yt,Ct.setMatrix(on)})}},t.prototype.processData=function(){var e=this.get(\"data\"),n={nodes:[],edges:[]};e.nodes&&(e.nodes.sort(function(i,d){return i.order-d.order}),e.nodes.forEach(function(i){var d,g,_,I,D,H=i.size||[((d=i.style)===null||d===void 0?void 0:d.width)||((g=i.style)===null||g===void 0?void 0:g.r)||8,((_=i.style)===null||_===void 0?void 0:_.height)||((I=i.style)===null||I===void 0?void 0:I.r)||8],Z=((D=i.labelCfg)===null||D===void 0?void 0:D.style)||{};n.nodes.push({id:i.id||Object(s.uniqueId)(),type:i.type||\"circle\",style:Ds({},i.style),order:i.order,label:i.label,itemType:\"node\",size:H,labelCfg:{position:\"right\",style:Ds({fontFamily:\"Arial\"},Z)}})})),e.edges&&(e.edges.sort(function(i,d){return i.order-d.order}),e.edges.forEach(function(i){var d,g,_=i.type||\"line\";i.type===\"cubic-horizontal\"&&(_=\"cubic\");var I=((d=i.labelCfg)===null||d===void 0?void 0:d.style)||{},D=i.size||[((g=i.style)===null||g===void 0?void 0:g.width)||8,1];n.edges.push({id:i.id||Object(s.uniqueId)(),type:_,size:D,style:Ds({lineWidth:Object(s.isArray)(D)?D[1]:1},i.style),order:i.order,label:i.label,itemType:\"edge\",labelCfg:{position:\"right\",style:Ds({fontFamily:\"Arial\"},I)}})})),this.set(\"itemsData\",n)},t.prototype.getContainer=function(){return this.get(\"container\")},t.prototype.formatArray=function(e){var n=this.get(e);if(Object(s.isNumber)(n))this.set(e,[n,n,n,n]);else if(Object(s.isArray)(n))switch(n.length){case 0:this.set(e,[0,0,0,0]);break;case 1:this.set(e,[n[0],n[0],n[0],n[0]]);break;case 2:this.set(e,[n[0],n[1],n[0],n[1]]);break;case 3:this.set(e,[n[0],n[1],n[2],n[1]])}return this.get(e)},t.prototype.getShapeSize=function(e){var n,i,d;return e.size&&(Object(s.isArray)(e.size)?(n=e.size[0],i=e.size[1]||e.size[0],d=e.size[0]/2):Object(s.isNumber)(e.size)&&(n=e.size,i=e.size,d=e.size/2)),e.style&&(e.style.width&&(n=e.style.width),e.style.height&&(i=e.style.height),e.style.r&&(d=e.style.r)),d||(d=5),n||(n=d),i||(i=d),{width:n,height:i,r:d}},t.prototype.getStyle=function(e,n){return Ds(Ds({},e===\"node\"?{fill:\"#ccc\",lineWidth:0}:{stroke:\"#000\",lineWidth:1}),n.style||{})},t.prototype.destroy=function(){var e=this.get(\"legendCanvas\");e==null||e.destroy();var n=this.get(\"graph\").get(\"container\"),i=this.get(\"container\");n.removeChild(i)},t}(gs),tf=function(){var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(n[d]=i[d])})(t,e)};return function(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Class extends value \"+String(e)+\" is not a constructor or null\");function n(){this.constructor=t}o(t,e),t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}(),Bu=function(){return(Bu=Object.assign||function(o){for(var t,e=1,n=arguments.length;e<n;e++)for(var i in t=arguments[e])Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i]);return o}).apply(this,arguments)},qu=function(o,t){var e={};for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&t.indexOf(n)<0&&(e[n]=o[n]);if(o!=null&&typeof Object.getOwnPropertySymbols==\"function\"){var i=0;for(n=Object.getOwnPropertySymbols(o);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(o,n[i])&&(e[n[i]]=o[n[i]])}return e};typeof document!=\"undefined\"&&pu()(`\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 Af=function(o){function t(e){return o.call(this,e)||this}return tf(t,o),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=Bu(Bu({},e),{\"node:click\":\"showAnnotation\",\"edge:click\":\"showAnnotation\"})}return e},t.prototype.getDOMContent=function(e){if(!this.destroyed){var n=e.collapsed,i=e.maxWidth,d=e.title,g=d===void 0?\"\":d,_=e.content,I=_===void 0?\"\":_,D=e.borderRadius,H=D===void 0?5:D,Z=n?\"<p class='g6-annotation-expand'>+</p>\":\"<p class='g6-annotation-collapse'>-</p>\",te=n?\"\":\" <p class='g6-annotation-content'>\".concat(I,\"</p>\"),de=n?\"\".concat(H,\"px\"):\"\".concat(H,\"px \").concat(H,\"px 0 0\");return'<div class=\"g6-annotation-wrapper\" style=\"border-radius: '.concat(H,\"px; max-width: \").concat(i,`px\">\n        <div\n          class=\"g6-annotation-header-wapper\"\n          style=\"border-radius: `).concat(de,`;\"\n        >\n          <h4 class='g6-annotation-title'>`).concat(g,`</h4>\n          `).concat(Z,`\n          `).concat(\"<p class='g6-annotation-close'>x</p>\",`\n        </div>\n        `).concat(te,`\n      </div>`)}},t.prototype.init=function(){var e=this;if(!e.destroyed){var n=e.get(\"graph\").getContainer(),i=e.get(\"container\");this.get(\"containerCfg\")?(i=this.createContainer(),n.appendChild(i)):i=n,this.set(\"container\",i);var d=n.getBoundingClientRect(),g=new Za.Canvas({container:n,width:d.right-d.left,height:d.bottom-d.top});gi(g.get(\"el\"),{position:\"absolute\",top:0,left:0,pointerEvents:\"none\"}),window.addEventListener(\"resize\",Object(s.debounce)(function(){return e.resizeCanvas(e)},100));var _=g.addGroup({id:\"annotation-link-group\"});e.set(\"linkGroup\",_),e.set(\"canvas\",g),e.get(\"getTitle\")||e.set(\"getTitle\",function(D){var H,Z=((H=D==null?void 0:D.getModel)===null||H===void 0?void 0:H.call(D))||{},te=Z.label,de=Z.id;return te||de||\"-\"}),e.get(\"getContent\")||e.set(\"getContent\",function(D){var H,Z;if(!D)return\"-\";var te=((H=D.getModel)===null||H===void 0?void 0:H.call(D))||{},de=te.label,Pe=te.id,Ge=(Z=D.getType)===null||Z===void 0?void 0:Z.call(D),Qe=Ge?\"\".concat(Ge,\": \"):\"\";return\"\".concat(Qe).concat(de||Pe||\"\")});var I=e.get(\"defaultData\");I&&this.readData(I)}},t.prototype.createContainer=function(){var e=this;if(!this.destroyed){var n=this.get(\"containerCfg\"),i=this.get(\"graph\"),d=i.getContainer(),g=d.getBoundingClientRect(),_=g.left,I=g.right,D=g.top,H=g.bottom-D,Z=I-_,te=n.position,de=te===void 0?\"top\":te,Pe=n.offsetX,Ge=Pe===void 0?0:Pe,Qe=n.offsetY,Xe=Qe===void 0?0:Qe,yt=qu(n,[\"position\",\"offsetX\",\"offsetY\"]),Ct=n.height,on=Ct===void 0?\"fit-content\":Ct,sn=n.width,Nn=sn===void 0?i.getWidth():sn;on===\"100%\"&&(on=H),Nn===\"100%\"&&(Nn=Z);var Tn=\"unset\",Bn=\"unset\",Hn={};switch(de){case\"right\":Tn=\"\".concat(H,\"px\"),(Hn={top:0,right:0}).right+=_+Ge,Hn.top+=D+Xe;break;case\"bottom\":Bn=\"\".concat(Z,\"px\"),(Hn={bottom:0,left:0}).left+=_+Ge,Hn.bottom+=D+Xe;break;case\"top\":Bn=\"\".concat(Z,\"px\");case\"left\":Tn=\"\".concat(H,\"px\");default:(Hn={top:0,left:0}).left+=_+Ge,Hn.top+=D+Xe}Object.keys(Hn).forEach(function(Cr){Hn[Cr]=\"\".concat(Hn[Cr],\"px\")});var Sr=_i(\"<div class='\".concat(n.className,\" g6-annotation-container'></div>\"));return gi(Sr,Bu(Bu({position:\"absolute\",display:de===\"top\"||de===\"bottom\"?\"inline-flex\":\"unset\",width:Object(s.isNumber)(Nn)?\"\".concat(Nn,\"px\"):Nn,height:Object(s.isNumber)(on)?\"\".concat(on,\"px\"):on,maxHeight:Tn,maxWidth:Bn,overflow:\"scroll\"},Hn),yt)),d.appendChild(Sr),Sr.addEventListener(\"scroll\",function(Cr){e.updateLinks()}),Sr}},t.prototype.resizeCanvas=function(e){clearTimeout(e.resizeTimer),e.resizeTimer=setTimeout(function(){if(e&&!e.destroyed){var n=e.get(\"container\").getBoundingClientRect(),i=n.right-n.left,d=n.bottom-n.top;e.get(\"canvas\").changeSize(i,d),e.updateOutsideCards(e)}},250)},t.prototype.updateOutsideCards=function(e){var n=e||this,i=n.get(\"cardInfoMap\")||{},d=n.get(\"graph\"),g=d.getPointByCanvas(0,0),_=d.getPointByCanvas(d.getWidth(),d.getHeight()),I=d.getClientByPoint(g.x,g.y),D=I.x,H=I.y,Z=d.getClientByPoint(_.x,_.y),te=Z.x,de=Z.y;Object.values(i).forEach(function(Pe){var Ge=Pe.card;if(Ge){var Qe=Ge.style,Xe=Zu(Qe.left),yt=Zu(Qe.top),Ct=Ge.getBoundingClientRect(),on=Ct.width,sn=Ct.height,Nn=Xe,Tn=yt;Xe+on>te-D&&(Nn=te-D-on),Xe<0&&(Nn=0),yt+sn>de-H&&(Tn=de-H-sn),yt<0&&(Tn=0),gi(Ge,{left:\"\".concat(Nn,\"px\"),top:\"\".concat(Tn,\"px\")})}}),n.updateLinks()},t.prototype.showAnnotation=function(e){if(!this.destroyed){var n=e.item;this.toggleAnnotation(n)}},t.prototype.hideCards=function(){var e=this;if(!e.destroyed){var n=e.get(\"cardInfoMap\")||{};Object.keys(n).forEach(function(i){e.hideCard(i)})}},t.prototype.toggleAnnotation=function(e,n){var i,d;if(n===void 0&&(n={}),!this.destroyed){var g=this.get(\"cardInfoMap\")||{},_=this.get(\"graph\"),I=this.get(\"container\"),D=this.get(\"containerCfg\"),H=Object.assign({},this.get(\"cardCfg\")||{},n),Z=H.minHeight,te=H.minWidth,de=H.width,Pe=H.height,Ge=H.collapsed,Qe=Ge!==void 0&&Ge,Xe=H.x,yt=H.y,Ct=H.title,on=H.content,sn=H.maxTitleLength,Nn=H.defaultBegin,Tn=qu(H,[\"minHeight\",\"minWidth\",\"width\",\"height\",\"collapsed\",\"x\",\"y\",\"title\",\"content\",\"maxTitleLength\",\"defaultBegin\"]),Bn=this.get(\"linkGroup\"),Hn=this.get(\"rows\")||[[]],Sr=(i=e.isCanvas)===null||i===void 0?void 0:i.call(e),Cr=Sr?\"canvas-annotation\":e.getID(),po=g[Cr]||{},wo=po.card,Po=po.link,Xo=po.x,ri=po.y,ki=po.title,T=po.content,B=this.get(\"getTitle\"),K=this.get(\"getContent\"),Se=this.get(\"getContentPlaceholder\")||function(){return\"\"},He=this.get(\"getTitlePlaceHolder\")||function(){return\"\"},Ye=Se(e),Et=He(e),bn=_i(this.getDOMContent(Bu({itemId:Cr,collapsed:Qe,title:((d=ki||Ct||(B==null?void 0:B(e)))===null||d===void 0?void 0:d.substr(0,sn))||Et,content:T||on||(K==null?void 0:K(e))||Ye},Tn))),Qn=Object(s.isNumber)(Z)?\"\".concat(Z,\"px\"):Z;gi(bn,{minHeight:Qe?\"unset\":Qn,minWidth:Object(s.isNumber)(te)?\"\".concat(te,\"px\"):te,height:Pe,width:de});var yr,vr=!!wo;if(vr?(Po==null||Po.remove(!0),I.replaceChild(bn,wo)):I.appendChild(bn),!D){if(yr=I.getBoundingClientRect()||{},Xe!==void 0&&yt!==void 0)Xo=Xe,ri=yt;else if(!vr&&!Sr){var no=yr.top,Wo=Nn||{},$o=Wo.left,Lr=Wo.right,co=Lr===void 0?16:Lr,Do=Wo.top,yi=Do===void 0?8:Do,Fo=Wo.bottom,Bo=co,Uo=yi;isNaN($o)||(Bo=I.scrollWidth-$o),isNaN(Fo)||(Uo=I.scrollHeight-Fo);var Gi=Object(s.isNumber)(te)?te:100;Xo=I.scrollWidth-bn.scrollWidth-(Hn.length-1)*Gi-Bo;var Ni=Hn[Hn.length-1],Wi=(Ni[Ni.length-1]||{}).bbox;ri=(Wi==null?void 0:Wi.bottom)-no||Uo}gi(bn,{position:\"absolute\",left:\"\".concat(Xo,\"px\"),top:\"\".concat(ri,\"px\"),cusor:D?\"unset\":\"move\"})}this.bindListener(bn,Cr);var ba=bn.getBoundingClientRect();if(!Sr){var Ss=nf(e,ba,_,this.get(\"canvas\")),Ra=this.get(\"linkStyle\");Po=Bn.addShape(\"path\",{attrs:Bu({lineWidth:1,lineDash:[5,5],stroke:\"#ccc\",path:Ss},Ra)})}if(g[Cr]=Bu(Bu({},g[Cr]||{}),{id:Cr,collapsed:Qe,card:bn,link:Po,x:Xo,y:ri,cardBBox:ba,content:T||on,title:ki||Ct,contentPlaceholder:Ye,titlePlaceholder:Et,isCanvas:Sr}),this.set(\"cardInfoMap\",g),D)this.updateCardPositionsInConatainer(),this.updateLinks();else{var fs=!isNaN(Xe)&&!isNaN(yt);if(!vr&&!Sr&&!fs){var ns=yr.bottom,hs=ns===void 0?0:ns;no=yr.top,Hn[Hn.length-1].push({id:Cr,bbox:ba}),ba.top>hs-no-ba.height-16&&Hn.push([]),this.set(\"rows\",Hn)}}this.updateCardSize(Cr);var Is=this.get(\"onAnnotationChange\");Is==null||Is(g[Cr],vr?\"update\":\"create\")}},t.prototype.updateCardPositionsInConatainer=function(){if(!this.destroyed){var e=this.get(\"cardInfoMap\");if(e){var n=this.get(\"container\"),i=this.get(\"containerCfg\").position,d=n.getBoundingClientRect().width,g=getComputedStyle(n),_=Zu(g.paddingLeft)+Zu(g.paddingRight);d-=_,Object.values(e).forEach(function(I){var D=I.card,H=D.getBoundingClientRect().width;switch(i){case\"right\":gi(D,{marginLeft:d?\"\".concat(d-H,\"px\"):\"0px\"});break;case\"top\":case\"bottom\":gi(D,{marginLeft:\"8px\"})}})}}},t.prototype.handleExpandCollapseCard=function(e){if(!this.destroyed){var n=this.get(\"graph\"),i=this.get(\"cardInfoMap\");if(i){var d=i[e].collapsed,g=n.findById(e);g&&(this.get(\"cardCfg\").collapseType!==\"hide\"||d?this.toggleAnnotation(g,{collapsed:!d}):this.hideCard(e),i[e]=Bu(Bu({},i[e]),{collapsed:!d}))}}},t.prototype.hideCard=function(e){if(!this.destroyed){var n=this.get(\"cardInfoMap\");if(n&&n[e]){var i=n[e],d=i.card,g=i.link;gi(d,{display:\"none\"}),g==null||g.hide(),this.get(\"onAnnotationChange\")(n[e],\"hide\")}}},t.prototype.removeCard=function(e){if(!this.destroyed){var n=this.get(\"cardInfoMap\");if(n){var i=n[e],d=i.card,g=i.link;this.get(\"container\").removeChild(d),g==null||g.remove(!0),delete n[e],this.get(\"onAnnotationChange\")(i,\"remove\")}}},t.prototype.bindListener=function(e,n){var i=this;if(!this.destroyed){e.addEventListener(\"mousemove\",function(g){var _;if(g.target.className===\"g6-annotation-collapse\"?_=\"collapse\":g.target.className===\"g6-annotation-expand\"?_=\"expand\":g.target.className===\"g6-annotation-close\"&&(_=\"close\"),_){var I=i.get(\"cardCfg\").onMouseEnterIcon;(I===void 0?function(){}:I)(g,n,_)}}),e.addEventListener(\"mouseout\",function(g){var _;if(g.target.className===\"g6-annotation-collapse\"?_=\"collapse\":g.target.className===\"g6-annotation-expand\"?_=\"expand\":g.target.className===\"g6-annotation-close\"&&(_=\"close\"),_){var I=i.get(\"cardCfg\").onMouseLeaveIcon;(I===void 0?function(){}:I)(g,n,_)}}),e.addEventListener(\"mouseenter\",function(g){var _=i.get(\"cardInfoMap\");if(_){var I=i.get(\"graph\"),D=I.findById(n);if(D){var H=i.get(\"itemHighlightState\");I.setItemState(D,H,!0)}var Z=_[n].link;if(Z){var te=i.get(\"linkHighlightStyle\")||{};Z.attr(te)}}}),e.addEventListener(\"mouseleave\",function(g){var _=i.get(\"cardInfoMap\");if(_){var I=i.get(\"graph\"),D=I.findById(n);if(D){var H=i.get(\"itemHighlightState\");I.setItemState(D,H,!1)}var Z=_[n].link;if(Z){var te=i.get(\"linkHighlightStyle\")||{};Object.keys(te).forEach(function(Pe){Z.attr(Pe,void 0),Z.attr(Pe,void 0)});var de=i.get(\"linkStyle\");Z.attr(de)}}}),e.addEventListener(\"click\",function(g){var _=(i.get(\"cardCfg\")||{}).onClickIcon;g.target.className===\"g6-annotation-collapse\"||g.target.className===\"g6-annotation-expand\"?(i.get(\"cardCfg\").collapseType===\"hide\"?i.hideCard(n):i.handleExpandCollapseCard(n),_==null||_(g,n,g.target.className===\"g6-annotation-collapse\"?\"collapse\":\"expand\")):g.target.className===\"g6-annotation-close\"&&(i.get(\"cardCfg\").closeType===\"remove\"?i.removeCard(n):i.hideCard(n),_==null||_(g,n,\"close\"))}),this.get(\"editable\")&&e.addEventListener(\"dblclick\",function(g){var _=i.get(\"cardInfoMap\"),I=(i.get(\"cardCfg\")||{}).maxTitleLength,D=I===void 0?20:I;if(_){var H=g.target,Z=H.className;if(Z===\"g6-annotation-title\"||Z===\"g6-annotation-content\"){var te=Z===\"g6-annotation-title\"?H.getBoundingClientRect():H.parentNode.getBoundingClientRect(),de=te.width,Pe=te.height,Ge=getComputedStyle(H),Qe=_i(\"<\".concat(Z===\"g6-annotation-title\"?\"input\":\"textarea\",' class=\"').concat(Z,'-input\" type=\"textarea\" style=\"width:').concat(de,\"px; height: \").concat(Pe,'px; min-width: 16px;\"/>')),Xe=_i('<div class=\"'.concat(Z,'-input-wrapper\" style=\"width: ').concat(de,\"px; height: \").concat(Pe,\"px; min-width: 16px; margin-right: \").concat(Ge.marginRight,'\" />'));Xe.appendChild(Qe),H.parentNode.replaceChild(Xe,H);var yt=_[n],Ct=yt.contentPlaceholder,on=yt.titlePlaceholder,sn=yt.content,Nn=yt.title,Tn=sn;Z===\"g6-annotation-title\"?(Qe.name=\"title\",Qe.maxLength=D,Tn=Nn):Qe.name=\"content\",Tn?(Qe.innerHTML=H.innerHTML,Qe.value=H.innerHTML):Qe.placeholder=Z===\"g6-annotation-title\"?on:Ct,Qe.focus(),Qe.addEventListener(\"blur\",function(Bn){Qe.value&&(H.innerHTML=Qe.value,yt[Qe.name||\"title\"]=Qe.value),Xe.parentNode.replaceChild(H,Xe),i.updateCardSize(n);var Hn=i.get(\"onAnnotationChange\");Hn==null||Hn(yt,\"update\")})}}});var d=[\"g6-annotation-title\",\"g6-annotation-content\",\"g6-annotation-title-input\",\"g6-annotation-content-input\"];e.draggable=!0,e.addEventListener(\"dragstart\",function(g){var _=g.target.className;if(!d.includes(_)){var I=e.style;i.set(\"dragging\",{card:e,x:g.clientX,y:g.clientY,left:Zu(I.left),top:Zu(I.top)})}}),e.addEventListener(\"drag\",function(g){g.preventDefault();var _=i.get(\"cardInfoMap\");if(_){var I=g.clientX,D=g.clientY,H=i.get(\"dragging\");if(!isNaN(I)&&!isNaN(D)&&H){var Z=H.x,te=H.y,de=H.left,Pe=H.top,Ge=H.card,Qe=I-Z,Xe=D-te;de+=Qe,Pe+=Xe;var yt=i.get(\"graph\"),Ct=yt.getPointByCanvas(0,0),on=yt.getPointByCanvas(yt.getWidth(),yt.getHeight()),sn=yt.getClientByPoint(Ct.x,Ct.y),Nn=sn.x,Tn=sn.y,Bn=yt.getClientByPoint(on.x,on.y),Hn=Bn.x,Sr=Bn.y,Cr=Ge.getBoundingClientRect();(de>Hn-Nn-(Cr.right-Cr.left)&&Qe>0||de<0&&Qe<0)&&(de-=Qe),(Pe>Sr-Tn-(Cr.bottom-Cr.top)&&Xe>0||Pe<0&&Xe<0)&&(Pe-=Xe),gi(Ge,{left:\"\".concat(de,\"px\"),top:\"\".concat(Pe,\"px\"),visibility:\"hidden\"}),Z=I,te=D;var po=(_[n]||{}).link;if(po){var wo=yt.findById(n);po.attr(\"path\",nf(wo,Cr,yt,i.get(\"canvas\")))}i.set(\"dragging\",{x:Z,y:te,left:de,top:Pe,card:Ge})}}}),e.addEventListener(\"dragend\",function(g){var _=i.get(\"cardInfoMap\");if(_){var I=i.get(\"dragging\");if(I){var D=I.left,H=I.top,Z=I.card;_[n].x=D,_[n].y=H,gi(Z,{visibility:\"visible\"}),i.set(\"dragging\",!1);var te=i.get(\"rows\");te==null||te.forEach(function(Pe){for(var Ge=Pe.length-1;Ge>=0;Ge--)Pe[Ge].id===n&&Pe.splice(Ge,1)});var de=i.get(\"onAnnotationChange\");de==null||de(_[n],\"update\")}}})}},t.prototype.updateCardSize=function(e){var n=this.get(\"cardInfoMap\");if(n){var i=n[e].card,d=i.getBoundingClientRect().width,g=i.getElementsByClassName(\"g6-annotation-title\")[0];if(g){var _=getComputedStyle(g),I=Zu(_.marginLeft),D=g.getBoundingClientRect().width;gi(g,{marginRight:\"\".concat(d-I-24-16-D,\"px\")})}}},t.prototype.updateLink=function(e){var n=e.item;if(n){var i=this.get(\"cardInfoMap\");if(i){var d=this.get(\"canvas\"),g=this.get(\"graph\"),_=i[n.getID()]||{},I=_.link,D=_.card;if(I){var H=nf(n,D.getBoundingClientRect(),g,d);I.attr(\"path\",H)}}}},t.prototype.updateLinks=function(){var e=this;if(!this.destroyed){var n=this.get(\"cardInfoMap\");if(n){var i=this.get(\"graph\");Object.values(n).forEach(function(d){var g=d.id,_=i.findById(g);e.updateLink({item:_})})}}},t.prototype.onGraphDataChange=function(){var e=this,n=this.get(\"cardInfoMap\");if(n){var i=this.get(\"graph\");Object.values(n).forEach(function(d){var g=d.id,_=d.card,I=d.isCanvas;if(_&&!I&&_.style.display!==\"none\"){var D=i.findById(g);D&&D.isVisible()?e.toggleAnnotation(D):e.hideCard(g)}})}},t.prototype.onGraphItemVisibilityChange=function(e){var n=e.item,i=e.visible;if(n&&!n.destroyed){var d=this.get(\"cardInfoMap\");if(d){var g=n.getID();d[g]&&(i||this.hideCard(g))}}},t.prototype.saveData=function(e){e===void 0&&(e=!1);var n=this.get(\"cardInfoMap\");if(n){var i=this.get(\"graph\"),d=this.get(\"getTitle\"),g=this.get(\"getContent\"),_=[];return Object.values(n).forEach(function(I){var D=I.title,H=I.content,Z=I.x,te=I.y,de=I.id,Pe=I.collapsed,Ge=I.card;if(!Ge||Ge.style.display!==\"none\"||e){var Qe=i.findById(de)||i.get(\"canvas\");_.push({id:de,x:Z,y:te,collapsed:Pe,title:D||(d==null?void 0:d(Qe)),content:H||(g==null?void 0:g(Qe)),visible:Ge&&Ge.style.display!==\"none\"})}}),_}},t.prototype.readData=function(e){var n=this,i=this.get(\"graph\");e.forEach(function(d){var g=d.id,_=d.x,I=d.y,D=d.title,H=d.content,Z=d.collapsed,te=d.visible,de=i.findById(g);if(de||g!==\"canvas-annotation\"||(de=i.get(\"canvas\")),!de){var Pe=n.get(\"cardInfoMap\")||{};return Pe[g]=d,void n.set(\"cardInfoMap\",Pe)}n.toggleAnnotation(de,{x:_,y:I,title:D,content:H,collapsed:Z}),te||n.hideCard(g)})},t.prototype.clear=function(){var e=this.get(\"cardInfoMap\");if(e){var n=this.get(\"container\");Object.values(e).forEach(function(i){var d=i.card,g=i.link;n.removeChild(d),g==null||g.remove(!0)}),this.set(\"cardInfoMap\",{})}},t.prototype.destroy=function(){var e;this.clear(),(e=this.get(\"canvas\"))===null||e===void 0||e.destroy();var n=this.get(\"graph\");n&&!n.destroyed&&(this.get(\"containerCfg\")&&n.getContainer().removeChild(this.get(\"container\")),this.destroyed=!0)},t}(gs),nf=function(o,t,e,n){var i,d;if(o.getType()===\"edge\")d=[o.getKeyShape().getPoint(.5)];else{var g=(i=o.getKeyShape)===null||i===void 0?void 0:i.call(o).getBBox(),_=g.minX,I=g.minY,D=g.maxX,H=g.maxY,Z=o.getModel(),te=Z.x,de=Z.y;d={left:{x:_+=te,y:((I+=de)+(H+=de))/2},right:{x:D+=te,y:(I+H)/2},top:{x:(_+D)/2,y:I},bottom:{x:(_+D)/2,y:H}}}Object.keys(d).forEach(function(Tn){var Bn=d[Tn],Hn=Bn.x,Sr=Bn.y,Cr=e.getClientByPoint(Hn,Sr);d[Tn]=n.getPointByClient(Cr.x,Cr.y)});var Pe=t.top,Ge=Pe===void 0?0:Pe,Qe=t.left,Xe=Qe===void 0?0:Qe,yt=t.right,Ct=yt===void 0?0:yt,on=t.bottom,sn=on===void 0?0:on,Nn={left:n.getPointByClient(Xe,(Ge+sn)/2),right:n.getPointByClient(Ct,(Ge+sn)/2),top:n.getPointByClient((Xe+Ct)/2,Ge),bottom:n.getPointByClient((Xe+Ct)/2,sn)};return function(Tn,Bn){var Hn,Sr,Cr=1/0;Object.keys(Tn).forEach(function(wo){var Po=Tn[wo];Object.keys(Bn).forEach(function(Xo){var ri=Bn[Xo],ki=Po.x-ri.x,T=Po.y-ri.y,B=ki*ki+T*T;Cr>B&&(Cr=B,Hn=Po,Sr=ri)})});var po=Oa.getControlPoint(Hn,Sr,.5,20);return[[\"M\",Hn.x,Hn.y],[\"Q\",po.x,po.y,Sr.x,Sr.y]]}(d,Nn)},Zu=function(o){return Number(o.replace(/\\s+|px/gi,\"\"))||0},Ks={PluginBase:gs,Menu:Yc,Grid:Gs,Minimap:Au,Bundling:Ic,ToolBar:Be,Tooltip:it,Fisheye:kc,TimeBar:Yf,ImageMinimap:dc,EdgeFilterLens:Lu,SnapLine:_f,Legend:Pl,Annotation:Af};Ba(\"circle\",{options:{size:Qo.defaultNode.size,style:{x:0,y:0,stroke:Qo.defaultNode.style.stroke,fill:Qo.defaultNode.style.fill,lineWidth:Qo.defaultNode.style.lineWidth},labelCfg:{style:{fill:Qo.nodeLabel.style.fill,fontSize:Qo.nodeLabel.style.fontSize,fontFamily:Qo.windowFontFamily}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:Qo.defaultNode.linkPoints.size,lineWidth:Qo.defaultNode.linkPoints.lineWidth,fill:Qo.defaultNode.linkPoints.fill,stroke:Qo.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(l.__assign)({},Qo.nodeStateStyles)},shapeType:\"circle\",labelPosition:\"center\",drawShape:function(o,t){var e=(this.mergeStyle||this.getOptions(o)).icon,n=e===void 0?{}:e,i=this.getShapeStyle(o),d=Object(s.deepMix)({},n,o.icon),g=\"\".concat(this.type,\"-keyShape\"),_=t.addShape(\"circle\",{attrs:i,className:g,name:g,draggable:!0});t.shapeMap[g]=_;var I=d.width,D=d.height,H=d.show,Z=d.text;if(H){var te=\"\".concat(this.type,\"-icon\");t.shapeMap[te]=Z?t.addShape(\"text\",{attrs:Object(l.__assign)({x:0,y:0,fontSize:12,fill:\"#000\",stroke:\"#000\",textBaseline:\"middle\",textAlign:\"center\"},d),className:te,name:te,draggable:!0}):t.addShape(\"image\",{attrs:Object(l.__assign)({x:-I/2,y:-D/2},d),className:te,name:te,draggable:!0})}return this.drawLinkPoints(o,t),_},drawLinkPoints:function(o,t){var e=(this.mergeStyle||this.getOptions(o)).linkPoints;if(e){var n=e||{},i=n.top,d=n.left,g=n.right,_=n.bottom,I=n.size,D=n.r,H=Object(l.__rest)(n,[\"top\",\"left\",\"right\",\"bottom\",\"size\",\"r\"]),Z=this.getSize(o)[0]/2;if(d){var te=\"link-point-left\";t.shapeMap[te]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:-Z,y:0,r:I/2||D||5}),className:te,name:te,isAnchorPoint:!0})}if(g){var de=\"link-point-right\";t.shapeMap[de]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:Z,y:0,r:I/2||D||5}),className:de,name:de,isAnchorPoint:!0})}if(i){var Pe=\"link-point-top\";t.shapeMap[Pe]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:0,y:-Z,r:I/2||D||5}),className:Pe,name:Pe,isAnchorPoint:!0})}if(_){var Ge=\"link-point-bottom\";t.shapeMap[Ge]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:0,y:Z,r:I/2||D||5}),className:Ge,name:Ge,isAnchorPoint:!0})}}},getShapeStyle:function(o){var t=(this.mergeStyle||this.getOptions(o)).style,e={stroke:o.color},n=Object(s.deepMix)({},t,e),i=this.getSize(o)[0]/2;return Object(l.__assign)({x:0,y:0,r:i},n)},update:function(o,t,e){var n=t.getContainer(),i=this.getSize(o),d=Object(l.__assign)({},o.style);o.style.stroke===void 0&&o.color&&(d.stroke=o.color),o.style.r!==void 0||isNaN(i[0])||(d.r=i[0]/2),this.updateShape(o,t,d,!0,e),this.updateLinkPoints(o,n)}},\"single-node\"),Ba(\"rect\",{options:{size:[100,30],style:{radius:0,stroke:Qo.defaultNode.style.stroke,fill:Qo.defaultNode.style.fill,lineWidth:Qo.defaultNode.style.lineWidth},labelCfg:{style:{fill:Qo.nodeLabel.style.fill,fontSize:Qo.nodeLabel.style.fontSize,fontFamily:Qo.windowFontFamily}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:Qo.defaultNode.linkPoints.size,lineWidth:Qo.defaultNode.linkPoints.lineWidth,fill:Qo.defaultNode.linkPoints.fill,stroke:Qo.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(l.__assign)({},Qo.nodeStateStyles)},shapeType:\"rect\",labelPosition:\"center\",drawShape:function(o,t){var e=this.getShapeStyle(o),n=t.addShape(\"rect\",{attrs:e,className:\"\".concat(this.type,\"-keyShape\"),name:\"\".concat(this.type,\"-keyShape\"),draggable:!0});return t.shapeMap[\"\".concat(this.type,\"-keyShape\")]=n,this.drawLinkPoints(o,t),n},drawLinkPoints:function(o,t){var e=(this.mergeStyle||this.getOptions(o)).linkPoints,n=e===void 0?{}:e,i=n.top,d=n.left,g=n.right,_=n.bottom,I=n.size,D=n.r,H=Object(l.__rest)(n,[\"top\",\"left\",\"right\",\"bottom\",\"size\",\"r\"]),Z=this.getSize(o),te=Z[0],de=Z[1];d&&(t.shapeMap[\"link-point-left\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:-te/2,y:0,r:I/2||D||5}),className:\"link-point-left\",name:\"link-point-left\",isAnchorPoint:!0})),g&&(t.shapeMap[\"link-point-right\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:te/2,y:0,r:I/2||D||5}),className:\"link-point-right\",name:\"link-point-right\",isAnchorPoint:!0})),i&&(t.shapeMap[\"link-point-top\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:0,y:-de/2,r:I/2||D||5}),className:\"link-point-top\",name:\"link-point-top\",isAnchorPoint:!0})),_&&(t.shapeMap[\"link-point-bottom\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:0,y:de/2,r:I/2||D||5}),className:\"link-point-bottom\",name:\"link-point-bottom\",isAnchorPoint:!0}))},getShapeStyle:function(o){var t=(this.mergeStyle||this.getOptions(o)).style,e={stroke:o.color},n=Object(s.mix)({},t,e),i=this.getSize(o),d=n.width||i[0],g=n.height||i[1];return Object(l.__assign)({x:-d/2,y:-g/2,width:d,height:g},n)},update:function(o,t,e){var n=t.getContainer(),i=this.getOptions({}).style,d=this.getSize(o),g=t.get(\"keyShape\");o.size||(d[0]=g.attr(\"width\")||i.width,d[1]=g.attr(\"height\")||i.height);var _={stroke:o.color,x:-d[0]/2,y:-d[1]/2,width:d[0],height:d[1]},I=Object(s.mix)({},i,g.attr(),_);I=Object(s.mix)(I,o.style),this.updateShape(o,t,I,!1,e),this.updateLinkPoints(o,n)}},\"single-node\"),Ba(\"ellipse\",{options:{size:[80,40],style:{x:0,y:0,stroke:Qo.defaultNode.style.stroke,fill:Qo.defaultNode.style.fill,lineWidth:Qo.defaultNode.style.lineWidth},labelCfg:{style:{fill:Qo.nodeLabel.style.fill,fontSize:Qo.nodeLabel.style.fontSize,fontFamily:Qo.windowFontFamily}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:Qo.defaultNode.linkPoints.size,lineWidth:Qo.defaultNode.linkPoints.lineWidth,fill:Qo.defaultNode.linkPoints.fill,stroke:Qo.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(l.__assign)({},Qo.nodeStateStyles)},shapeType:\"ellipse\",labelPosition:\"center\",drawShape:function(o,t){var e=(this.mergeStyle||this.getOptions(o)).icon,n=e===void 0?{}:e,i=this.getShapeStyle(o),d=t.addShape(\"ellipse\",{attrs:i,className:\"ellipse-keyShape\",name:\"ellipse-keyShape\",draggable:!0});t.shapeMap[\"ellipse-keyShape\"]=d;var g=n.width,_=n.height,I=n.show,D=n.text;return I&&(t.shapeMap[\"\".concat(this.type,\"-icon\")]=D?t.addShape(\"text\",{attrs:Object(l.__assign)({x:0,y:0,fontSize:12,fill:\"#000\",stroke:\"#000\",textBaseline:\"middle\",textAlign:\"center\"},n),className:\"\".concat(this.type,\"-icon\"),name:\"\".concat(this.type,\"-icon\"),draggable:!0}):t.addShape(\"image\",{attrs:Object(l.__assign)({x:-g/2,y:-_/2},n),className:\"\".concat(this.type,\"-icon\"),name:\"\".concat(this.type,\"-icon\"),draggable:!0})),this.drawLinkPoints(o,t),d},drawLinkPoints:function(o,t){var e=(this.mergeStyle||this.getOptions(o)).linkPoints,n=e===void 0?{}:e,i=n.top,d=n.left,g=n.right,_=n.bottom,I=n.size,D=n.r,H=Object(l.__rest)(n,[\"top\",\"left\",\"right\",\"bottom\",\"size\",\"r\"]),Z=this.getSize(o),te=Z[0]/2,de=Z[1]/2;d&&(t.shapeMap[\"link-point-left\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:-te,y:0,r:I/2||D||5}),className:\"link-point-left\",name:\"link-point-left\",isAnchorPoint:!0})),g&&(t.shapeMap[\"link-point-right\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:te,y:0,r:I/2||D||5}),className:\"link-point-right\",name:\"link-point-right\",isAnchorPoint:!0})),i&&(t.shapeMap[\"link-point-top\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:0,y:-de,r:I/2||D||5}),className:\"link-point-top\",name:\"link-point-top\",isAnchorPoint:!0})),_&&(t.shapeMap[\"link-point-bottom\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:0,y:de,r:I/2||D||5}),className:\"link-point-bottom\",name:\"link-point-bottom\",isAnchorPoint:!0}))},getShapeStyle:function(o){var t=(this.mergeStyle||this.getOptions(o)).style,e={stroke:o.color},n=Object(s.mix)({},t,e),i=this.getSize(o),d=i[0]/2,g=i[1]/2;return Object(l.__assign)({x:0,y:0,rx:d,ry:g},n)},update:function(o,t,e){var n=t.getContainer(),i=this.getOptions({}).style,d=this.getSize(o),g={stroke:o.color,rx:d[0]/2,ry:d[1]/2},_=t.get(\"keyShape\"),I=Object(s.mix)({},i,_.attr(),g);I=Object(s.mix)(I,o.style),this.updateShape(o,t,I,!0,e),this.updateLinkPoints(o,n)}},\"single-node\"),Ba(\"diamond\",{options:{size:[80,80],style:{stroke:Qo.defaultNode.style.stroke,fill:Qo.defaultNode.style.fill,lineWidth:Qo.defaultNode.style.lineWidth},labelCfg:{style:{fill:Qo.nodeLabel.style.fill,fontSize:Qo.nodeLabel.style.fontSize,fontFamily:Qo.windowFontFamily}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:Qo.defaultNode.linkPoints.size,lineWidth:Qo.defaultNode.linkPoints.lineWidth,fill:Qo.defaultNode.linkPoints.fill,stroke:Qo.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(l.__assign)({},Qo.nodeStateStyles)},shapeType:\"diamond\",labelPosition:\"center\",drawShape:function(o,t){var e=(this.mergeStyle||this.getOptions(o)).icon,n=e===void 0?{}:e,i=this.getShapeStyle(o),d=t.addShape(\"path\",{attrs:i,className:\"\".concat(this.type,\"-keyShape\"),name:\"\".concat(this.type,\"-keyShape\"),draggable:!0});t.shapeMap[\"\".concat(this.type,\"-keyShape\")]=d;var g=n.width,_=n.height,I=n.show,D=n.text;return I&&(t.shapeMap[\"\".concat(this.type,\"-icon\")]=D?t.addShape(\"text\",{attrs:Object(l.__assign)({x:0,y:0,fontSize:12,fill:\"#000\",stroke:\"#000\",textBaseline:\"middle\",textAlign:\"center\"},n),className:\"\".concat(this.type,\"-icon\"),name:\"\".concat(this.type,\"-icon\"),draggable:!0}):t.addShape(\"image\",{attrs:Object(l.__assign)({x:-g/2,y:-_/2},n),className:\"\".concat(this.type,\"-icon\"),name:\"\".concat(this.type,\"-icon\"),draggable:!0})),this.drawLinkPoints(o,t),d},drawLinkPoints:function(o,t){var e=(this.mergeStyle||this.getOptions(o)).linkPoints,n=e===void 0?{}:e,i=n.top,d=n.left,g=n.right,_=n.bottom,I=n.size,D=n.r,H=Object(l.__rest)(n,[\"top\",\"left\",\"right\",\"bottom\",\"size\",\"r\"]),Z=this.getSize(o),te=Z[0],de=Z[1];d&&(t.shapeMap[\"link-point-left\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:-te/2,y:0,r:I/2||D||5}),className:\"link-point-left\",name:\"link-point-left\",isAnchorPoint:!0})),g&&(t.shapeMap[\"link-point-right\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:te/2,y:0,r:I/2||D||5}),className:\"link-point-right\",name:\"link-point-right\",isAnchorPoint:!0})),i&&(t.shapeMap[\"link-point-top\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:0,y:-de/2,r:I/2||D||5}),className:\"link-point-top\",name:\"link-point-top\",isAnchorPoint:!0})),_&&(t.shapeMap[\"link-point-bottom\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:0,y:de/2,r:I/2||D||5}),className:\"link-point-bottom\",name:\"link-point-bottom\",isAnchorPoint:!0}))},getPath:function(o){var t=this.getSize(o),e=t[0],n=t[1];return[[\"M\",0,-n/2],[\"L\",e/2,0],[\"L\",0,n/2],[\"L\",-e/2,0],[\"Z\"]]},getShapeStyle:function(o){var t=(this.mergeStyle||this.getOptions(o)).style,e={stroke:o.color},n=Object(s.mix)({},t,e),i=this.getPath(o);return Object(l.__assign)({path:i},n)},update:function(o,t,e){var n=t.getContainer(),i=this.getOptions({}).style,d=this.getPath(o),g={stroke:o.color,path:d},_=t.get(\"keyShape\"),I=Object(s.mix)({},i,_.attr(),g);I=Object(s.mix)(I,o.style),this.updateShape(o,t,I,!0,e),this.updateLinkPoints(o,n)}},\"single-node\"),Ba(\"triangle\",{options:{size:40,direction:\"up\",style:{stroke:Qo.defaultNode.style.stroke,fill:Qo.defaultNode.style.fill,lineWidth:Qo.defaultNode.style.lineWidth},labelCfg:{style:{fill:Qo.nodeLabel.style.fill,fontSize:Qo.nodeLabel.style.fontSize},offset:15},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:Qo.defaultNode.linkPoints.size,lineWidth:Qo.defaultNode.linkPoints.lineWidth,fill:Qo.defaultNode.linkPoints.fill,stroke:Qo.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(l.__assign)({},Qo.nodeStateStyles)},shapeType:\"triangle\",labelPosition:\"bottom\",drawShape:function(o,t){var e=this.mergeStyle||this.getOptions(o),n=e.icon,i=n===void 0?{}:n,d=e.direction,g=this.getShapeStyle(o),_=o.direction||d,I=t.addShape(\"path\",{attrs:g,className:\"\".concat(this.type,\"-keyShape\"),name:\"\".concat(this.type,\"-keyShape\"),draggable:!0});t.shapeMap[\"\".concat(this.type,\"-keyShape\")]=I;var D=i.width,H=i.height,Z=i.show,te=i.offset,de=i.text;if(Z)if(de)t.shapeMap[\"\".concat(this.type,\"-icon\")]=t.addShape(\"text\",{attrs:Object(l.__assign)({x:0,y:0,fontSize:12,fill:\"#000\",stroke:\"#000\",textBaseline:\"middle\",textAlign:\"center\"},i),className:\"\".concat(this.type,\"-icon\"),name:\"\".concat(this.type,\"-icon\"),draggable:!0});else{var Pe=-D/2,Ge=-H/2;_!==\"up\"&&_!==\"down\"||(Ge+=te),_!==\"left\"&&_!==\"right\"||(Pe+=te),t.shapeMap[\"\".concat(this.type,\"-icon\")]=t.addShape(\"image\",{attrs:Object(l.__assign)({x:Pe,y:Ge},i),className:\"\".concat(this.type,\"-icon\"),name:\"\".concat(this.type,\"-icon\"),draggable:!0})}return this.drawLinkPoints(o,t),I},drawLinkPoints:function(o,t){var e=this.mergeStyle||this.getOptions(o),n=e.linkPoints,i=n===void 0?{}:n,d=e.direction,g=o.direction||d,_=i.top,I=i.left,D=i.right,H=i.bottom,Z=i.size,te=i.r,de=Object(l.__rest)(i,[\"top\",\"left\",\"right\",\"bottom\",\"size\",\"r\"]),Pe=this.getSize(o)[0];if(I){var Ge=null,Qe=Pe*Math.sin(1/3*Math.PI),Xe=Pe*Math.sin(1/3*Math.PI);g===\"up\"?Ge=[-Xe,Qe]:g===\"down\"?Ge=[-Xe,-Qe]:g===\"left\"&&(Ge=[-Xe,Xe-Qe]),Ge&&(t.shapeMap[\"link-point-left\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},de),{x:Ge[0],y:Ge[1],r:Z/2||te||5}),className:\"link-point-left\",name:\"link-point-left\"}))}if(D){var yt=null;Qe=Pe*Math.sin(1/3*Math.PI),Xe=Pe*Math.sin(1/3*Math.PI),g===\"up\"?yt=[Xe,Qe]:g===\"down\"?yt=[Xe,-Qe]:g===\"right\"&&(yt=[Xe,Xe-Qe]),yt&&(t.shapeMap[\"link-point-right\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},de),{x:yt[0],y:yt[1],r:Z/2||te||5}),className:\"link-point-right\",name:\"link-point-right\"}))}if(_){var Ct=null;Qe=Pe*Math.sin(1/3*Math.PI),Xe=Pe*Math.sin(1/3*Math.PI),g===\"up\"?Ct=[Xe-Qe,-Qe]:g===\"left\"?Ct=[Xe,-Qe]:g===\"right\"&&(Ct=[-Xe,-Qe]),Ct&&(t.shapeMap[\"link-point-top\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},de),{x:Ct[0],y:Ct[1],r:Z/2||te||5}),className:\"link-point-top\",name:\"link-point-top\"}))}if(H){var on=null;Qe=Pe*Math.sin(1/3*Math.PI),Xe=Pe*Math.sin(1/3*Math.PI),g===\"down\"?on=[-Xe+Qe,Qe]:g===\"left\"?on=[Xe,Qe]:g===\"right\"&&(on=[-Xe,Qe]),on&&(t.shapeMap[\"link-point-bottom\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},de),{x:on[0],y:on[1],r:Z/2||te||5}),className:\"link-point-bottom\",name:\"link-point-bottom\"}))}},getPath:function(o){var t=(this.mergeStyle||this.getOptions(o)).direction,e=o.direction||t,n=this.getSize(o)[0],i=n*Math.sin(1/3*Math.PI),d=n*Math.sin(1/3*Math.PI),g=[[\"M\",-d,i],[\"L\",0,-i],[\"L\",d,i],[\"Z\"]];return e===\"down\"?g=[[\"M\",-d,-i],[\"L\",d,-i],[\"L\",0,i],[\"Z\"]]:e===\"left\"?g=[[\"M\",-d,d-i],[\"L\",d,-d],[\"L\",d,d],[\"Z\"]]:e===\"right\"&&(g=[[\"M\",d,d-i],[\"L\",-d,d],[\"L\",-d,-d],[\"Z\"]]),g},getShapeStyle:function(o){var t=(this.mergeStyle||this.getOptions(o)).style,e={stroke:o.color},n=Object(s.mix)({},t,e),i=this.getPath(o);return Object(l.__assign)({path:i},n)},update:function(o,t,e){var n=t.getContainer(),i=this.getOptions({}).style,d=this.getPath(o),g={stroke:o.color,path:d},_=t.get(\"keyShape\"),I=Object(s.mix)({},i,_.attr(),g);I=Object(s.mix)(I,o.style),this.updateShape(o,t,I,!0,e),this.updateLinkPoints(o,n)},updateLinkPoints:function(o,t){var e=this.getOptions({}),n=e.linkPoints,i=e.direction,d=o.direction||i,g=t.shapeMap[\"link-point-left\"]||t.find(function(Po){return Po.get(\"className\")===\"link-point-left\"}),_=t.shapeMap[\"link-point-right\"]||t.find(function(Po){return Po.get(\"className\")===\"link-point-right\"}),I=t.shapeMap[\"link-point-top\"]||t.find(function(Po){return Po.get(\"className\")===\"link-point-top\"}),D=t.shapeMap[\"link-point-bottom\"]||t.find(function(Po){return Po.get(\"className\")===\"link-point-bottom\"}),H=n,Z=g||_||I||D;Z&&(H=Z.attr());var te=Object(s.mix)({},H,o.linkPoints),de=te.fill,Pe=te.stroke,Ge=te.lineWidth,Qe=te.size/2;Qe||(Qe=te.r);var Xe=o.linkPoints?o.linkPoints:{left:void 0,right:void 0,top:void 0,bottom:void 0},yt=Xe.left,Ct=Xe.right,on=Xe.top,sn=Xe.bottom,Nn=this.getSize(o)[0],Tn={r:Qe,fill:de,stroke:Pe,lineWidth:Ge},Bn=null,Hn=Nn*Math.sin(1/3*Math.PI),Sr=Nn*Math.sin(1/3*Math.PI);d===\"up\"?Bn=[-Sr,Hn]:d===\"down\"?Bn=[-Sr,-Hn]:d===\"left\"&&(Bn=[-Sr,Sr-Hn]),Bn&&(g?yt||yt===void 0?g.attr(Object(l.__assign)(Object(l.__assign)({},Tn),{x:Bn[0],y:Bn[1]})):(g.remove(),delete t.shapeMap[\"link-point-left\"]):yt&&(t.shapeMap[\"link-point-left\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},Tn),{x:Bn[0],y:Bn[1]}),className:\"link-point-left\",name:\"link-point-left\",isAnchorPoint:!0})));var Cr=null;d===\"up\"?Cr=[Sr,Hn]:d===\"down\"?Cr=[Sr,-Hn]:d===\"right\"&&(Cr=[Sr,Sr-Hn]),Cr&&(_?Ct||Ct===void 0?_.attr(Object(l.__assign)(Object(l.__assign)({},Tn),{x:Cr[0],y:Cr[1]})):(_.remove(),delete t.shapeMap[\"link-point-right\"]):Ct&&(t.shapeMap[\"link-point-right\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},Tn),{x:Cr[0],y:Cr[1]}),className:\"link-point-right\",name:\"link-point-right\",isAnchorPoint:!0})));var po=null;d===\"up\"?po=[Sr-Hn,-Hn]:d===\"left\"?po=[Sr,-Hn]:d===\"right\"&&(po=[-Sr,-Hn]),po&&(I?on||on===void 0?I.attr(Object(l.__assign)(Object(l.__assign)({},Tn),{x:po[0],y:po[1]})):(I.remove(),delete t.shapeMap[\"link-point-top\"]):on&&(t.shapeMap[\"link-point-top\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},Tn),{x:po[0],y:po[1]}),className:\"link-point-top\",name:\"link-point-top\",isAnchorPoint:!0})));var wo=null;d===\"down\"?wo=[-Sr+Hn,Hn]:d===\"left\"?wo=[Sr,Hn]:d===\"right\"&&(wo=[-Sr,Hn]),wo&&(D?sn||sn===void 0?D.attr(Object(l.__assign)(Object(l.__assign)({},Tn),{x:wo[0],y:wo[1]})):(D.remove(),delete t.shapeMap[\"link-point-bottom\"]):sn&&(t.shapeMap[\"link-point-bottom\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},Tn),{x:wo[0],y:wo[1]}),className:\"link-point-bottom\",name:\"link-point-bottom\",isAnchorPoint:!0})))}},\"single-node\"),Ba(\"modelRect\",{options:{size:[185,70],style:{radius:5,stroke:\"#69c0ff\",fill:\"#ffffff\",lineWidth:Qo.defaultNode.style.lineWidth,fillOpacity:1},labelCfg:{style:{fill:\"#595959\",fontSize:14,fontFamily:Qo.windowFontFamily},offset:30},descriptionCfg:{style:{fontSize:12,fill:\"#bfbfbf\",fontFamily:Qo.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(o,t){var e=(this.mergeStyle||this.getOptions(o)).preRect,n=e===void 0?{}:e,i=this.getShapeStyle(o),d=this.getSize(o),g=d[0],_=d[1],I=t.addShape(\"rect\",{attrs:i,className:\"\".concat(this.type,\"-keyShape\"),name:\"\".concat(this.type,\"-keyShape\"),draggable:!0});t.shapeMap[\"\".concat(this.type,\"-keyShape\")]=I;var D=n.show,H=Object(l.__rest)(n,[\"show\"]);return D&&(t.shapeMap[\"pre-rect\"]=t.addShape(\"rect\",{attrs:Object(l.__assign)({x:-g/2,y:-_/2,height:_},H),className:\"pre-rect\",name:\"pre-rect\",draggable:!0})),this.drawLogoIcon(o,t),this.drawStateIcon(o,t),this.drawLinkPoints(o,t),I},drawLogoIcon:function(o,t){var e=(this.mergeStyle||this.getOptions(o)).logoIcon,n=e===void 0?{}:e,i=this.getSize(o)[0];if(n.show){var d=n.width,g=n.height,_=n.x,I=n.y,D=n.offset,H=n.text,Z=Object(l.__rest)(n,[\"width\",\"height\",\"x\",\"y\",\"offset\",\"text\"]);t.shapeMap[\"rect-logo-icon\"]=H?t.addShape(\"text\",{attrs:Object(l.__assign)({x:0,y:0,fontSize:12,fill:\"#000\",stroke:\"#000\",textBaseline:\"middle\",textAlign:\"center\"},Z),className:\"rect-logo-icon\",name:\"rect-logo-icon\",draggable:!0}):t.addShape(\"image\",{attrs:Object(l.__assign)(Object(l.__assign)({},Z),{x:_||-i/2+d+D,y:I||-g/2,width:d,height:g}),className:\"rect-logo-icon\",name:\"rect-logo-icon\",draggable:!0})}},drawStateIcon:function(o,t){var e=(this.mergeStyle||this.getOptions(o)).stateIcon,n=e===void 0?{}:e,i=this.getSize(o)[0];if(n.show){var d=n.width,g=n.height,_=n.x,I=n.y,D=n.offset,H=n.text,Z=Object(l.__rest)(n,[\"width\",\"height\",\"x\",\"y\",\"offset\",\"text\"]);t.shapeMap[\"rect-state-icon\"]=H?t.addShape(\"text\",{attrs:Object(l.__assign)({x:0,y:0,fontSize:12,fill:\"#000\",stroke:\"#000\",textBaseline:\"middle\",textAlign:\"center\"},Z),className:\"rect-state-icon\",name:\"rect-state-icon\",draggable:!0}):t.addShape(\"image\",{attrs:Object(l.__assign)(Object(l.__assign)({},Z),{x:_||i/2-d+D,y:I||-g/2,width:d,height:g}),className:\"rect-state-icon\",name:\"rect-state-icon\",draggable:!0})}},drawLinkPoints:function(o,t){var e=(this.mergeStyle||this.getOptions(o)).linkPoints,n=e===void 0?{}:e,i=n.top,d=n.left,g=n.right,_=n.bottom,I=n.size,D=n.r,H=Object(l.__rest)(n,[\"top\",\"left\",\"right\",\"bottom\",\"size\",\"r\"]),Z=this.getSize(o),te=Z[0],de=Z[1];d&&(t.shapeMap[\"link-point-left\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:-te/2,y:0,r:I/2||D||5}),className:\"link-point-left\",name:\"link-point-left\",isAnchorPoint:!0})),g&&(t.shapeMap[\"link-point-right\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:te/2,y:0,r:I/2||D||5}),className:\"link-point-right\",name:\"link-point-right\",isAnchorPoint:!0})),i&&(t.shapeMap[\"link-point-top\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:0,y:-de/2,r:I/2||D||5}),className:\"link-point-top\",name:\"link-point-top\",isAnchorPoint:!0})),_&&(t.shapeMap[\"link-point-bottom\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},H),{x:0,y:de/2,r:I/2||D||5}),className:\"link-point-bottom\",name:\"link-point-bottom\",isAnchorPoint:!0}))},drawLabel:function(o,t){var e=this.getOptions(o),n=e.labelCfg,i=n===void 0?{}:n,d=e.logoIcon,g=d===void 0?{}:d,_=e.descriptionCfg,I=_===void 0?{}:_,D=this.getSize(o)[0],H=null,Z=g.show,te=g.width,de=-D/2+i.offset;Z&&(de=-D/2+te+i.offset);var Pe=i.style,Ge=I.style,Qe=I.paddingTop;return Object(s.isString)(o.description)?(H=t.addShape(\"text\",{attrs:Object(l.__assign)(Object(l.__assign)({},Pe),{x:de,y:-5,text:o.label}),className:\"text-shape\",name:\"text-shape\",draggable:!0,labelRelated:!0}),t.shapeMap[\"text-shape\"]=H,t.shapeMap[\"rect-description\"]=t.addShape(\"text\",{attrs:Object(l.__assign)(Object(l.__assign)({},Ge),{x:de,y:17+(Qe||0),text:o.description}),className:\"rect-description\",name:\"rect-description\",draggable:!0,labelRelated:!0})):(H=t.addShape(\"text\",{attrs:Object(l.__assign)(Object(l.__assign)({},Pe),{x:de,y:7,text:o.label}),className:\"text-shape\",name:\"text-shape\",draggable:!0,labelRelated:!0}),t.shapeMap[\"text-shape\"]=H),H},getShapeStyle:function(o){var t=(this.mergeStyle||this.getOptions(o)).style,e={stroke:o.color},n=Object(s.mix)({},t,e),i=this.getSize(o),d=n.width||i[0],g=n.height||i[1];return Object(l.__assign)({x:-d/2,y:-g/2,width:d,height:g},n)},update:function(o,t){var e=this.mergeStyle||this.getOptions(o),n=e.style,i=n===void 0?{}:n,d=e.labelCfg,g=d===void 0?{}:d,_=e.descriptionCfg,I=_===void 0?{}:_,D=this.getSize(o),H=D[0],Z=D[1];t.get(\"keyShape\").attr(Object(l.__assign)(Object(l.__assign)({},i),{x:-H/2,y:-Z/2,width:H,height:Z}));var te=t.getContainer(),de=te.shapeMap[\"rect-logo-icon\"]||te.find(function(Et){return Et.get(\"className\")===\"rect-logo-icon\"}),Pe=de?de.attr():{},Ge=Object(s.mix)({},Pe,o.logoIcon),Qe=Ge.width;Qe===void 0&&(Qe=this.options.logoIcon.width);var Xe=o.logoIcon?o.logoIcon.show:void 0,yt=g.offset,Ct=-H/2+Qe+yt;Xe||Xe===void 0||(Ct=-H/2+yt);var on=te.shapeMap[\"node-label\"]||te.find(function(Et){return Et.get(\"className\")===\"node-label\"}),sn=te.shapeMap[\"rect-description\"]||te.find(function(Et){return Et.get(\"className\")===\"rect-description\"});if(o.label)if(on){var Nn=o.labelCfg?o.labelCfg.style:{},Tn=Object(s.mix)({},on.attr(),Nn);o.label&&(Tn.text=o.label),Tn.x=Ct,Object(s.isString)(o.description)&&(Tn.y=-5),sn&&(sn.resetMatrix(),sn.attr({x:Ct})),on.resetMatrix(),on.attr(Tn)}else te.shapeMap[\"node-label\"]=te.addShape(\"text\",{attrs:Object(l.__assign)(Object(l.__assign)({},g.style),{x:Ct,y:o.description?-5:7,text:o.label}),className:\"node-label\",name:\"node-label\",draggable:!0,labelRelated:!0});if(Object(s.isString)(o.description)){var Bn=I.paddingTop;if(sn){Nn=o.descriptionCfg?o.descriptionCfg.style:{};var Hn=Object(s.mix)({},sn.attr(),Nn);Object(s.isString)(o.description)&&(Hn.text=o.description),Hn.x=Ct,sn.resetMatrix(),sn.attr(Object(l.__assign)(Object(l.__assign)({},Hn),{y:17+(Bn||0)}))}else te.shapeMap[\"rect-description\"]=te.addShape(\"text\",{attrs:Object(l.__assign)(Object(l.__assign)({},I.style),{x:Ct,y:17+(Bn||0),text:o.description}),className:\"rect-description\",name:\"rect-description\",draggable:!0,labelRelated:!0})}var Sr=te.shapeMap[\"pre-rect\"]||te.find(function(Et){return Et.get(\"className\")===\"pre-rect\"});if(Sr&&!Sr.destroyed){var Cr=Object(s.mix)({},Sr.attr(),o.preRect);Sr.attr(Object(l.__assign)(Object(l.__assign)({},Cr),{x:-H/2,y:-Z/2,height:Z}))}if(de&&!de.destroyed)if(Xe||Xe===void 0){var po=Ge.width,wo=Ge.height,Po=Ge.x,Xo=Ge.y,ri=Ge.offset,ki=Object(l.__rest)(Ge,[\"width\",\"height\",\"x\",\"y\",\"offset\"]);de.attr(Object(l.__assign)(Object(l.__assign)({},ki),{x:Po||-H/2+po+ri,y:Xo||-wo/2,width:po,height:wo}))}else de.remove(),delete te.shapeMap[\"pre-rect\"];else Xe&&this.drawLogoIcon(o,te);var T=te.shapeMap[\"rect-state-icon\"]||te.find(function(Et){return Et.get(\"className\")===\"rect-state-icon\"}),B=T?T.attr():{},K=Object(s.mix)({},B,o.stateIcon);if(T){K.show||K.show===void 0||(T.remove(),delete te.shapeMap[\"rect-state-icon\"]);var Se=K.width,He=(wo=K.height,Po=K.x,Xo=K.y,K.offset),Ye=Object(l.__rest)(K,[\"width\",\"height\",\"x\",\"y\",\"offset\"]);T.attr(Object(l.__assign)(Object(l.__assign)({},Ye),{x:Po||H/2-Se+He,y:Xo||-wo/2,width:Se,height:wo}))}else K.show&&this.drawStateIcon(o,te);this.updateLinkPoints(o,te)},getOptions:function(o,t){return t===\"move\"?o:Object(s.deepMix)({},this.options,this.getCustomConfig(o)||{},o)}},\"single-node\"),Ba(\"star\",{options:{size:60,style:{stroke:Qo.defaultNode.style.stroke,fill:Qo.defaultNode.style.fill,lineWidth:Qo.defaultNode.style.lineWidth},labelCfg:{style:{fill:Qo.nodeLabel.style.fill,fontSize:Qo.nodeLabel.style.fontSize,fontFamily:Qo.windowFontFamily}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:Qo.defaultNode.linkPoints.size,lineWidth:Qo.defaultNode.linkPoints.lineWidth,fill:Qo.defaultNode.linkPoints.fill,stroke:Qo.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(l.__assign)({},Qo.nodeStateStyles)},shapeType:\"star\",labelPosition:\"center\",drawShape:function(o,t){var e=(this.mergeStyle||this.getOptions(o)).icon,n=e===void 0?{}:e,i=this.getShapeStyle(o),d=t.addShape(\"path\",{attrs:i,className:\"\".concat(this.type,\"-keyShape\"),name:\"\".concat(this.type,\"-keyShape\"),draggable:!0});t.shapeMap[\"\".concat(this.type,\"-keyShape\")]=d;var g=n.width,_=n.height,I=n.show,D=n.text;return I&&(t.shapeMap[\"\".concat(this.type,\"-icon\")]=D?t.addShape(\"text\",{attrs:Object(l.__assign)({x:0,y:0,fontSize:12,fill:\"#000\",stroke:\"#000\",textBaseline:\"middle\",textAlign:\"center\"},n),className:\"\".concat(this.type,\"-icon\"),name:\"\".concat(this.type,\"-icon\"),draggable:!0}):t.addShape(\"image\",{attrs:Object(l.__assign)({x:-g/2,y:-_/2},n),className:\"\".concat(this.type,\"-icon\"),name:\"\".concat(this.type,\"-icon\"),draggable:!0})),this.drawLinkPoints(o,t),d},drawLinkPoints:function(o,t){var e=(this.mergeStyle||this.getOptions(o)).linkPoints,n=e===void 0?{}:e,i=n.top,d=n.left,g=n.right,_=n.leftBottom,I=n.rightBottom,D=n.size,H=n.r,Z=Object(l.__rest)(n,[\"top\",\"left\",\"right\",\"leftBottom\",\"rightBottom\",\"size\",\"r\"]),te=this.getSize(o)[0];if(g){var de=Math.cos(.1*Math.PI)*te,Pe=Math.sin(.1*Math.PI)*te;t.shapeMap[\"link-point-right\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},Z),{x:de,y:-Pe,r:D/2||H||5}),className:\"link-point-right\",name:\"link-point-right\"})}i&&(de=Math.cos(.5*Math.PI)*te,Pe=Math.sin(.5*Math.PI)*te,t.shapeMap[\"link-point-top\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},Z),{x:de,y:-Pe,r:D/2||H||5}),className:\"link-point-top\",name:\"link-point-top\"})),d&&(de=Math.cos(.9*Math.PI)*te,Pe=Math.sin(.9*Math.PI)*te,t.shapeMap[\"link-point-left\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},Z),{x:de,y:-Pe,r:D/2||H||5}),className:\"link-point-left\",name:\"link-point-left\"})),_&&(de=Math.cos(1.3*Math.PI)*te,Pe=Math.sin(1.3*Math.PI)*te,t.shapeMap[\"link-point-bottom\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},Z),{x:de,y:-Pe,r:D/2||H||5}),className:\"link-point-left-bottom\",name:\"link-point-left-bottom\"})),I&&(de=Math.cos(1.7*Math.PI)*te,Pe=Math.sin(1.7*Math.PI)*te,t.shapeMap[\"link-point-right-bottom\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},Z),{x:de,y:-Pe,r:D/2||H||5}),className:\"link-point-right-bottom\",name:\"link-point-right-bottom\"}))},getPath:function(o){var t=this.getSize(o)[0],e=3*t/8,n=o.innerR||e;return Oa.getStarPath(t,n)},getShapeStyle:function(o){var t=(this.mergeStyle||this.getOptions(o)).style,e={stroke:o.color},n=Object(s.mix)({},t,e),i=this.getPath(o);return Object(l.__assign)({path:i},n)},update:function(o,t,e){var n=t.getContainer(),i=this.getOptions({}).style,d=this.getPath(o),g={stroke:o.color,path:d},_=t.get(\"keyShape\"),I=Object(s.mix)({},i,_.attr(),g);I=Object(s.mix)(I,o.style),this.updateShape(o,t,I,!0,e),this.updateLinkPoints(o,n)},updateLinkPoints:function(o,t){var e=this.getOptions({}).linkPoints,n=t.shapeMap[\"link-point-left\"]||t.find(function(Hn){return Hn.get(\"className\")===\"link-point-left\"}),i=t.shapeMap[\"link-point-right\"]||t.find(function(Hn){return Hn.get(\"className\")===\"link-point-right\"}),d=t.shapeMap[\"link-point-top\"]||t.find(function(Hn){return Hn.get(\"className\")===\"link-point-top\"}),g=t.shapeMap[\"link-point-left-bottom\"]||t.find(function(Hn){return Hn.get(\"className\")===\"link-point-left-bottom\"}),_=t.shapeMap[\"link-point-left-bottom\"]||t.find(function(Hn){return Hn.get(\"className\")===\"link-point-right-bottom\"}),I=e,D=n||i||d||g||_;D&&(I=D.attr());var H=Object(s.mix)({},I,o.linkPoints),Z=H.fill,te=H.stroke,de=H.lineWidth,Pe=H.size/2;Pe||(Pe=H.r);var Ge=o.linkPoints?o.linkPoints:{left:void 0,right:void 0,top:void 0,leftBottom:void 0,rightBottom:void 0},Qe=Ge.left,Xe=Ge.right,yt=Ge.top,Ct=Ge.leftBottom,on=Ge.rightBottom,sn=this.getSize(o)[0],Nn={r:Pe,fill:Z,stroke:te,lineWidth:de},Tn=Math.cos(.1*Math.PI)*sn,Bn=Math.sin(.1*Math.PI)*sn;i?Xe||Xe===void 0?i.attr(Object(l.__assign)(Object(l.__assign)({},Nn),{x:Tn,y:-Bn})):(i.remove(),delete t.shapeMap[\"link-point-right\"]):Xe&&(t.shapeMap[\"link-point-right\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},Nn),{x:Tn,y:-Bn}),className:\"link-point-right\",name:\"link-point-right\",isAnchorPoint:!0})),Tn=Math.cos(.5*Math.PI)*sn,Bn=Math.sin(.5*Math.PI)*sn,d?yt||yt===void 0?d.attr(Object(l.__assign)(Object(l.__assign)({},Nn),{x:Tn,y:-Bn})):(d.remove(),delete t.shapeMap[\"link-point-top\"]):yt&&(t.shapeMap[\"link-point-top\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},Nn),{x:Tn,y:-Bn}),className:\"link-point-top\",name:\"link-point-top\",isAnchorPoint:!0})),Tn=Math.cos(.9*Math.PI)*sn,Bn=Math.sin(.9*Math.PI)*sn,n?Qe||Qe===void 0?n.attr(Object(l.__assign)(Object(l.__assign)({},Nn),{x:Tn,y:-Bn})):(n.remove(),delete t.shapeMap[\"link-point-left\"]):Qe&&(t.shapeMap[\"link-point-left\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},Nn),{x:Tn,y:-Bn}),className:\"link-point-left\",name:\"link-point-left\",isAnchorPoint:!0})),Tn=Math.cos(1.3*Math.PI)*sn,Bn=Math.sin(1.3*Math.PI)*sn,g?Ct||Ct===void 0?g.attr(Object(l.__assign)(Object(l.__assign)({},Nn),{x:Tn,y:-Bn})):(g.remove(),delete t.shapeMap[\"link-point-left-bottom\"]):Ct&&(t.shapeMap[\"link-point-left-bottom\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},Nn),{x:Tn,y:-Bn}),className:\"link-point-left-bottom\",name:\"link-point-left-bottom\",isAnchorPoint:!0})),Tn=Math.cos(1.7*Math.PI)*sn,Bn=Math.sin(1.7*Math.PI)*sn,_?on||on===void 0?_.attr(Object(l.__assign)(Object(l.__assign)({},Nn),{x:Tn,y:-Bn})):(_.remove(),delete t.shapeMap[\"link-point-right-bottom\"]):on&&(t.shapeMap[\"link-point-right-bottom\"]=t.addShape(\"circle\",{attrs:Object(l.__assign)(Object(l.__assign)({},Nn),{x:Tn,y:-Bn}),className:\"link-point-right-bottom\",name:\"link-point-right-bottom\",isAnchorPoint:!0}))}},\"single-node\");var Hc=Oa.defaultSubjectColors;Ba(\"donut\",{options:{size:Qo.defaultNode.size,style:{x:0,y:0,stroke:Qo.defaultNode.style.stroke,fill:Qo.defaultNode.style.fill,lineWidth:Qo.defaultNode.style.lineWidth},labelCfg:{style:{fill:Qo.nodeLabel.style.fill,fontSize:Qo.nodeLabel.style.fontSize,fontFamily:Qo.windowFontFamily}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:Qo.defaultNode.linkPoints.size,lineWidth:Qo.defaultNode.linkPoints.lineWidth,fill:Qo.defaultNode.linkPoints.fill,stroke:Qo.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(l.__assign)({},Qo.nodeStateStyles)},shapeType:\"circle\",labelPosition:\"center\",drawShape:function(o,t){var e=(this.mergeStyle||this.getOptions(o)).icon,n=e===void 0?{}:e,i=this.getShapeStyle(o),d=Object(s.deepMix)({},n,o.icon),g=t.addShape(\"circle\",{attrs:i,className:\"\".concat(this.type,\"-keyShape\"),draggable:!0,name:\"\".concat(this.type,\"-keyShape\")});t.shapeMap[\"\".concat(this.type,\"-keyShape\")]=g;var _=d.width,I=d.height,D=d.show,H=d.text;return D&&(t.shapeMap[\"\".concat(this.type,\"-icon\")]=H?t.addShape(\"text\",{attrs:Object(l.__assign)({x:0,y:0,fontSize:12,fill:\"#000\",stroke:\"#000\",textBaseline:\"middle\",textAlign:\"center\"},d),className:\"\".concat(this.type,\"-icon\"),name:\"\".concat(this.type,\"-icon\"),draggable:!0}):t.addShape(\"image\",{attrs:Object(l.__assign)({x:-_/2,y:-I/2},d),className:\"\".concat(this.type,\"-icon\"),name:\"\".concat(this.type,\"-icon\"),draggable:!0})),Tf(o,t,g),this.drawLinkPoints(o,t),g},updateShape:function(o,t,e,n,i){var d=t.get(\"keyShape\");d.attr(Object(l.__assign)({},e)),rf(o,t,d),this.updateLabel(o,t,i),n&&this.updateIcon(o,t)}},\"circle\");var Tf=function(o,t,e){var n=o.donutAttrs,i=n===void 0?{}:n,d=o.donutColorMap,g=d===void 0?{}:d,_=Object.keys(i).length;if(i&&_>1){var I=Il(i,g),D=I.configs,H=I.totalValue;if(H){var Z=of(e),te=Z.lineWidth,de=Z.arcR,Pe=[de,0],Ge=0;if(_===1)return void Xu(t,{arcR:de,arcBegin:Pe,beginAngle:Ge,config:D[0],fanIndex:0,lineWidth:te,totalValue:H,drawWhole:!0});for(var Qe=0;Qe<D.length;Qe++){var Xe=Xu(t,{arcR:de,arcBegin:Pe,beginAngle:Ge,config:D[Qe],fanIndex:Qe,lineWidth:te,totalValue:H});if(Xe.shouldEnd)return;Pe=Xe.arcBegin,Ge=Xe.beginAngle}}}},Xu=function(o,t){var e,n,i,d=t.arcR,g=t.arcBegin,_=t.beginAngle,I=t.config,D=t.fanIndex,H=t.lineWidth,Z=t.totalValue,te=t.drawWhole,de=te!==void 0&&te,Pe=t.updateShape,Ge=Pe===void 0?void 0:Pe,Qe=I.value/Z;if(Qe<.001)return{beginAngle:_,arcBegin:g,shape:void 0,shouldEnd:!1};if(de||Qe>.999)e=[d,1e-4],i=1;else{var Xe=Qe*Math.PI*2;n=_+Xe,e=[d*Math.cos(n),-d*Math.sin(n)],i=Xe>Math.PI?1:0}var yt={path:[[\"M\",g[0],g[1]],[\"A\",d,d,0,i,0,e[0],e[1]],[\"L\",e[0],e[1]]],stroke:I.color||(Ge==null?void 0:Ge.attr(\"stroke\"))||Hc[D%Hc.length],lineWidth:H};return Ge?Ge.attr(yt):o.shapeMap[\"\".concat(\"fan-shape-\").concat(D)]=o.addShape(\"path\",{attrs:yt,name:\"\".concat(\"fan-shape-\").concat(D),draggable:!0}),{beginAngle:n,arcBegin:e,shape:o.shapeMap[\"\".concat(\"fan-shape-\").concat(D)],shouldEnd:de||Qe>.999}},rf=function(o,t,e){var n=o.donutAttrs,i=o.donutColorMap,d=i===void 0?{}:i,g={},_=t.getContainer();if(n){var I=Il(n,d),D=I.configs,H=I.totalValue;if(H)for(var Z=of(e),te=Z.lineWidth,de=Z.arcR,Pe=[de,0],Ge=0,Qe=0;Qe<D.length;Qe++){var Xe=\"\".concat(\"fan-shape-\").concat(Qe),yt=Xu(_,{arcR:de,arcBegin:Pe,beginAngle:Ge,config:D[Qe],fanIndex:Qe,lineWidth:te,totalValue:H,drawWhole:D.length===1,updateShape:_.shapeMap[Xe]});if(yt.shape&&(g[Xe]=!0),yt.shouldEnd)break;Pe=yt.arcBegin,Ge=yt.beginAngle}}Object.keys(_.shapeMap).filter(function(Ct){return Ct.includes(\"fan-shape-\")}).forEach(function(Ct){g[Ct]||(_.shapeMap[Ct].remove(!0),delete _.shapeMap[Ct])})},Il=function(o,t){var e=0,n=[];return Object.keys(o).forEach(function(i){var d=+o[i];isNaN(d)||(n.push({key:i,value:d,color:t[i]}),e+=d)}),{totalValue:e,configs:n}},of=function(o){var t=o.attr(\"r\"),e=.6*t;return{lineWidth:t-e,arcR:(t+e)/2}},Fu=function(o){var t=o.x,e=o.y;return{x:t,y:e,centerX:t,centerY:e,minX:t,minY:e,maxX:t,maxY:e,height:0,width:0}},Oc=function(o){for(var t=[],e={},n=o.length-1;n>=0;n--){var i=o[n];i.id=\"\".concat(i.x,\"|||\").concat(i.y),e[i.id]||(e[i.id]=i,t.push(i))}return t},va=function(o){return Oc(o)},Qu=function(o,t){return o.width||o.height?{centerX:o.centerX,centerY:o.centerY,minX:o.minX-t,minY:o.minY-t,maxX:o.maxX+t,maxY:o.maxY+t,height:o.height+2*t,width:o.width+2*t}:o},Hu=function(o,t,e){var n=function(g,_){var I=Math.abs(g.x-_.centerX),D=Math.abs(g.y-_.centerY);return I===0&&D===0?0:I/_.width>D/_.height}(t,o);if(n===0){var i=o.centerX,d=o.centerY;return e.y<t.y?d=o.minY:e.x>t.x?i=o.maxX:e.x<t.x?i=o.minX:e.x===t.x&&(d=o.maxY),{x:i,y:d}}return n?{x:t.x>o.centerX?o.maxX:o.minX,y:t.y}:{x:t.x,y:t.y>o.centerY?o.maxY:o.minY}},eu=function(o,t){var e=Math.min(o.minX,t.minX),n=Math.min(o.minY,t.minY),i=Math.max(o.maxX,t.maxX),d=Math.max(o.maxY,t.maxY);return{centerX:(e+i)/2,centerY:(n+d)/2,minX:e,minY:n,maxX:i,maxY:d,height:d-n,width:i-e}},ml=function(o){return[{x:o.minX,y:o.minY},{x:o.maxX,y:o.minY},{x:o.maxX,y:o.maxY},{x:o.minX,y:o.maxY}]},Ju=function(o,t){var e=o.x,n=o.y;return e<t.minX||e>t.maxX||n<t.minY||n>t.maxY},yl=function(o,t){return Math.abs(o.x-t.x)+Math.abs(o.y-t.y)},Us=function(o,t,e,n,i){return yl(o,t)+yl(o,e)+function(d,g){var _=0;return g.forEach(function(I){I&&(d.x===I.x&&(_+=-2),d.y===I.y&&(_+=-2))}),_}(o,[t,e,n,i])},af=function o(t,e,n,i,d){d===void 0&&(d=0),t.unshift(e[i]),n[i]&&n[i]!==i&&d<=100&&o(t,e,n,n[i],d+1)},kl=function(o,t,e,n){var i=e.x-o.x,d=e.y-o.y,g=n.x-o.x,_=n.y-o.y,I=e.x-t.x,D=e.y-t.y,H=n.x-t.x,Z=n.y-t.y;return(i*_-d*g)*(I*Z-D*H)<=0&&(i*D-d*I)*(g*Z-_*H)<=0},Nl=function(o,t,e){if(e.width||e.height){var n=ml(e),i=n[0],d=n[1],g=n[2],_=n[3];return kl(o,t,i,d)||kl(o,t,i,_)||kl(o,t,d,g)||kl(o,t,g,_)}return!1},Pf=function(o,t,e,n){var i=[];return o.forEach(function(d){if(d!==t&&(d.x===t.x||d.y===t.y)){if(Nl(d,t,e)||Nl(d,t,n))return;i.push(d)}}),Oc(i)},jl=function(o,t){var e=[],n=o[0];return e.push(\"M\".concat(n.x,\" \").concat(n.y)),o.forEach(function(i,d){var g=o[d+1],_=o[d+2];if(g&&_)if(function(Z,te,de){return!(Z.x===te.x&&te.x===de.x||Z.y===te.y&&te.y===de.y)}(i,g,_)){var I=function(Z,te,de,Pe){var Ge=yl(Z,te),Qe=yl(de,te);return Ge<Pe&&(Pe=Ge),Qe<Pe&&(Pe=Qe),[{x:te.x-Pe/Ge*(te.x-Z.x),y:te.y-Pe/Ge*(te.y-Z.y)},{x:te.x-Pe/Qe*(te.x-de.x),y:te.y-Pe/Qe*(te.y-de.y)}]}(i,g,_,t),D=I[0],H=I[1];e.push(\"L\".concat(D.x,\" \").concat(D.y)),e.push(\"Q\".concat(g.x,\" \").concat(g.y,\" \").concat(H.x,\" \").concat(H.y)),e.push(\"L\".concat(H.x,\" \").concat(H.y))}else e.push(\"L\".concat(g.x,\" \").concat(g.y));else g&&e.push(\"L\".concat(g.x,\" \").concat(g.y))}),e.join(\"\")},qf=function(o,t,e,n,i){var d,g;if(e&&e.getType())if(e.getType()===\"combo\"){var _=e.getKeyShape().getBBox();if(_){var I=e.getModel(),D=I.x,H=I.y;(d={x:D,y:H,width:_.width,height:_.height,minX:_.minX+D,maxX:_.maxX+D,minY:_.minY+H,maxY:_.maxY+H}).centerX=(d.minX+d.maxX)/2,d.centerY=(d.minY+d.maxY)/2}else d=Fu(o)}else d=e&&e.getBBox();else d=Fu(o);if(n&&n.getType())if(n.getType()===\"combo\"){var Z=n.getKeyShape().getBBox();if(Z){var te=n.getModel(),de=te.x,Pe=te.y;(g={x:de,y:Pe,width:Z.width,height:Z.height,minX:Z.minX+de,maxX:Z.maxX+de,minY:Z.minY+Pe,maxY:Z.maxY+Pe}).centerX=(g.minX+g.maxX)/2,g.centerY=(g.minY+g.maxY)/2}else g=Fu(t)}else g=n&&n.getBBox();else g=Fu(t);var Ge=Qu(d,i),Qe=Qu(g,i),Xe=Hu(Ge,o,t),yt=Hu(Qe,t,o),Ct=function(Hn){Hn===void 0&&(Hn=[]);var Sr=[],Cr=[];Hn.forEach(function(ri){Sr.push(ri.x),Cr.push(ri.y)});var po=Math.min.apply(Math,Sr),wo=Math.max.apply(Math,Sr),Po=Math.min.apply(Math,Cr),Xo=Math.max.apply(Math,Cr);return{centerX:(po+wo)/2,centerY:(Po+Xo)/2,maxX:wo,maxY:Xo,minX:po,minY:Po,height:Xo-Po,width:wo-po}}([Xe,yt]),on=eu(Ge,Ct),sn=eu(Qe,Ct),Nn=[];Nn=Nn.concat(ml(on)).concat(ml(sn));var Tn={x:(o.x+t.x)/2,y:(o.y+t.y)/2};[Ct,on,sn].forEach(function(Hn){Nn=Nn.concat(function(Sr,Cr){return function(po,wo){return wo<po.minX||wo>po.maxX?[]:[{x:wo,y:po.minY},{x:wo,y:po.maxY}]}(Sr,Cr.x).concat(function(po,wo){return wo<po.minY||wo>po.maxY?[]:[{x:po.minX,y:wo},{x:po.maxX,y:wo}]}(Sr,Cr.y))}(Hn,Tn).filter(function(Sr){return Ju(Sr,Ge)&&Ju(Sr,Qe)}))}),[{x:Xe.x,y:yt.y},{x:yt.x,y:Xe.y}].forEach(function(Hn){Ju(Hn,Ge)&&Ju(Hn,Qe)&&Nn.push(Hn)}),Nn.unshift(Xe),Nn.push(yt);var Bn=function(Hn,Sr,Cr,po,wo,Po,Xo){var ri,ki=[],T=((ri={})[Sr.id]=Sr,ri),B={},K={},Se={};K[Sr.id]=0,Se[Sr.id]=Us(Sr,Cr,Sr);var He=new sf;He.add({id:Sr.id,value:Se[Sr.id]});var Ye,Et={};for(Hn.forEach(function(vr){Et[vr.id]=vr});Object.keys(T).length;){var bn=He.minId(!1);if(!bn)break;if((Ye=T[bn])===Cr){var Qn=[];return af(Qn,Et,B,Cr.id),Qn}delete T[Ye.id],He.remove(Ye.id),ki.push(Ye);var yr=Pf(Hn,Ye,po,wo);yr.forEach(function(vr){if(ki.indexOf(vr)===-1){var no=vr.id;T[no]||(T[no]=vr);var Wo=Se[Ye.id]+yl(Ye,vr);K[no]&&Wo>=K[no]||(B[no]=Ye.id,K[no]=Wo,Se[no]=K[no]+Us(vr,Cr,Sr,Po,Xo)),He.add({id:no,value:Se[no]})}})}return[Sr,Cr]}(Nn=Oc(Nn),Xe,yt,d,g,o,t);return Bn.unshift(o),Bn.push(t),va(Bn)},sf=function(){function o(){this.arr=[],this.map={},this.arr=[],this.map={}}return o.prototype._innerAdd=function(t,e){for(var n=[0,e-1];n[1]-n[0]>1;){var i=Math.floor((n[0]+n[1])/2);if(this.arr[i].value>t.value)n[1]=i;else{if(!(this.arr[i].value<t.value))return this.arr.splice(i,0,t),void(this.map[t.id]=!0);n[0]=i}}this.arr.splice(n[1],0,t),this.map[t.id]=!0},o.prototype.add=function(t){delete this.map[t.id];var e=this.arr.length;return e?this.arr[e-1].value<t.value?(this.arr.push(t),void(this.map[t.id]=!0)):void this._innerAdd(t,e):(this.arr.push(t),void(this.map[t.id]=!0))},o.prototype.remove=function(t){this.map[t]&&delete this.map[t]},o.prototype._clearAndGetMinId=function(){for(var t,e=this.arr.length-1;e>=0;e--)this.map[this.arr[e].id]?t=this.arr[e].id:this.arr.splice(e,1);return t},o.prototype._findFirstId=function(){for(;this.arr.length;){var t=this.arr.shift();if(this.map[t.id])return t.id}},o.prototype.minId=function(t){return t?this._clearAndGetMinId():this._findFirstId()},o}(),If={offset:20,maxAllowedDirectionChange:Math.PI/2,maximumLoops:2e3,gridSize:10,directions:[{stepX:1,stepY:0},{stepX:-1,stepY:0},{stepX:0,stepY:1},{stepX:0,stepY:-1}],get penalties(){return{0:0,45:this.gridSize/2,90:this.gridSize/2}},distFunc:function(o,t){return Math.abs(o.x-t.x)+Math.abs(o.y-t.y)},fallbackRoute:function(o,t,e,n,i){return va(qf(o,t,e,n,i.offset))}},cu=function(o,t){var e=Math.round(Math.abs(o/t));return e<0?0:(o<0?-1:1)*e},tu=function(o,t){var e=t.x-o.x,n=t.y-o.y;return e||n?Math.atan2(n,e):0},uf=function(o,t){var e=Math.abs(o-t);return e>Math.PI?2*Math.PI-e:e},Qf=function(o,t,e){for(var n=1/0,i=0,d=t.length;i<d;i++){var g=e(o,t[i]);g<n&&(n=g)}return n},cf=function(o,t,e,n,i){var d=[];if(!e)return[o];var g=i.directions,_=i.offset,I=e.getBBox(),D=t.x>I.minX&&t.x<I.maxX&&t.y>I.minY&&t.y<I.maxY,H=Qu(I,_);for(var Z in H)H[Z]=cu(H[Z],i.gridSize);if(D){for(var te=0,de=g;te<de.length;te++){var Pe=de[te],Ge=[[{x:H.minX,y:H.minY},{x:H.maxX,y:H.minY}],[{x:H.minX,y:H.minY},{x:H.minX,y:H.maxY}],[{x:H.maxX,y:H.minY},{x:H.maxX,y:H.maxY}],[{x:H.minX,y:H.maxY},{x:H.maxX,y:H.maxY}]];for(Z=0;Z<4;Z++){var Qe=Ge[Z],Xe=Oa.getLineIntersect(o,{x:o.x+Pe.stepX*H.width,y:o.y+Pe.stepY*H.height},Qe[0],Qe[1]);Xe&&!Nl(o,Xe,I)&&(Xe.id=\"\".concat(Xe.x,\"|||\").concat(Xe.y),d.push(Xe))}}return d}var yt=Hu(H,o,n);return yt.id=\"\".concat(yt.x,\"|||\").concat(yt.y),[yt]},bl=function(o,t,e,n){var i=tu(o,t),d=e[o.id];if(!d){var g=tu(n,o);return uf(g,i)}var _=tu({x:d.x,y:d.y},o);return uf(_,i)},fd=function(o,t,e,n,i,d,g){var _=[n],I=n,D=o.id,H=o.x,Z=o.y,te={x:H,y:Z,id:D};bl(te,d,t,e)&&(I={x:d.x===n.x?n.x:te.x*g,y:d.y===n.y?n.y:te.y*g},_.unshift(I));for(var de=t[D];de&&de.id!==D;){var Pe={x:H,y:Z,id:D},Ge={x:de.x,y:de.y,id:de.id};bl(Ge,Pe,t,e)&&(I={x:Ge.x===Pe.x?I.x:Ge.x*g,y:Ge.y===Pe.y?I.y:Ge.y*g},_.unshift(I)),H=Ge.x,Z=Ge.y,de=t[D=Ge.id]}return _[0].x=H===e.x?i.x:I.x,_[0].y=Z===e.y?i.y:I.y,_.unshift(i),_},Gc=function(o,t,e,n,i){if(isNaN(o.x)||isNaN(t.x))return[];var d=Object(s.deepMix)(If,i);d.obstacles=d.obstacles||[];var g=d.penalties,_=d.gridSize,I=function(T,B,K){var Se={};return T.forEach(function(He){if(He)for(var Ye=Qu(He.getBBox(),K),Et=cu(Ye.minX,B);Et<=cu(Ye.maxX,B);Et+=1)for(var bn=cu(Ye.minY,B);bn<=cu(Ye.maxY,B);bn+=1)Se[\"\".concat(Et,\"|||\").concat(bn)]=!0}),Se}(d.obstacles.concat([e,n]),_,d.offset),D={x:cu(o.x,_),y:cu(o.y,_)},H={x:cu(t.x,_),y:cu(t.y,_)};o.id=\"\".concat(D.x,\"|||\").concat(D.y),t.id=\"\".concat(H.x,\"|||\").concat(H.y);var Z=cf(D,o,e,H,d),te=cf(H,t,n,D,d);Z.forEach(function(T){delete I[T.id]}),te.forEach(function(T){delete I[T.id]});for(var de={},Pe={},Ge={},Qe={},Xe={},yt=new sf,Ct=0;Ct<Z.length;Ct++){var on=Z[Ct];de[on.id]=on,Qe[on.id]=0,Xe[on.id]=Qf(on,te,d.distFunc),yt.add({id:on.id,value:Xe[on.id]})}var sn,Nn,Tn,Bn,Hn,Sr,Cr=d.maximumLoops,po=1/0,wo={};for(te.forEach(function(T){wo[\"\".concat(T.x,\"|||\").concat(T.y)]=!0}),Object.keys(de).forEach(function(T){var B=de[T].id;Xe[B]<=po&&(po=Xe[B],sn=de[B])});Object.keys(de).length>0&&Cr>0;){var Po=yt.minId((Cr+1)%30==0);if(!Po)break;if(sn=de[Po],wo[\"\".concat(sn.x,\"|||\").concat(sn.y)])return fd(sn,Ge,D,t,o,H,_);for(delete de[sn.id],yt.remove(sn.id),Pe[sn.id]=!0,Ct=0;Ct<d.directions.length;Ct++){Nn=d.directions[Ct];var Xo=\"\".concat(Math.round(sn.x)+Nn.stepX,\"|||\").concat(Math.round(sn.y)+Nn.stepY);if(Tn={x:sn.x+Nn.stepX,y:sn.y+Nn.stepY,id:Xo},!Pe[Xo]&&!((Sr=bl(sn,Tn,Ge,D))>d.maxAllowedDirectionChange||I[Xo])){de[Xo]||(de[Xo]=Tn);var ri=g[Sr];Bn=d.distFunc(sn,Tn)+(isNaN(ri)?_:ri),Hn=Qe[sn.id]+Bn;var ki=Qe[Xo];ki&&Hn>=ki||(Ge[Xo]=sn,Qe[Xo]=Hn,Xe[Xo]=Hn+Qf(Tn,te,d.distFunc),yt.add({id:Xo,value:Xe[Xo]}))}}Cr-=1}return d.fallbackRoute(o,t,e,n,d)};Ua(\"polyline\",{options:{color:Qo.defaultEdge.color,size:Qo.defaultEdge.size,style:{radius:0,offset:15,x:0,y:0,stroke:Qo.defaultEdge.style.stroke,lineAppendWidth:Qo.defaultEdge.style.lineAppendWidth},labelCfg:{style:{fill:Qo.edgeLabel.style.fill,fontSize:Qo.edgeLabel.style.fontSize,fontFamily:Qo.windowFontFamily}},routeCfg:{obstacles:[],maxAllowedDirectionChange:Math.PI,maximumLoops:500,gridSize:10},stateStyles:Object(l.__assign)({},Qo.edgeStateStyles)},shapeType:\"polyline\",labelPosition:\"center\",drawShape:function(o,t){var e=this.getShapeStyle(o);e.radius===0&&delete e.radius;var n=t.addShape(\"path\",{className:\"edge-shape\",name:\"edge-shape\",attrs:e});return t.shapeMap[\"edge-shape\"]=n,n},getShapeStyle:function(o){var t=this.options.style,e={stroke:o.color},n=Object(s.mix)({},t,e,o.style);o=this.getPathPoints(o),this.radius=n.radius,this.offset=n.offset;var i=o.startPoint,d=o.endPoint,g=this.getControlPoints(o),_=[i];g&&(_=_.concat(g)),_.push(d);var I=o.sourceNode,D=o.targetNode,H=n.radius,Z=this.options.routeCfg,te=Object(s.mix)({},Z,o.routeCfg);te.offset=n.offset;var de=this.getPath(_,I,D,H,te,!Boolean(g));return(Object(s.isArray)(de)&&de.length<=1||Object(s.isString)(de)&&de.indexOf(\"L\")===-1)&&(de=\"M0 0, L0 0\"),(isNaN(i.x)||isNaN(i.y)||isNaN(d.x)||isNaN(d.y))&&(de=\"M0 0, L0 0\"),Object(s.mix)({},Qo.defaultEdge.style,n,{lineWidth:o.size,path:de})},updateShapeStyle:function(o,t){var e=t.getContainer();if(t.isVisible()){var n={stroke:o.color},i=e.shapeMap[\"edge-shape\"]||e.find(function(Ct){return Ct.get(\"className\")===\"edge-shape\"})||t.getKeyShape(),d=o.size,g=(o=this.getPathPoints(o)).startPoint,_=o.endPoint,I=this.getControlPoints(o),D=[g];I&&(D=D.concat(I)),D.push(_);var H=i.attr(),Z=Object(s.mix)({},n,H,o.style),te=o.sourceNode,de=o.targetNode,Pe=Z.radius,Ge=this.options.routeCfg,Qe=Object(s.mix)({},Ge,o.routeCfg);Qe.offset=Z.offset;var Xe=this.getPath(D,te,de,Pe,Qe,!Boolean(I));(Object(s.isArray)(Xe)&&Xe.length<=1||Object(s.isString)(Xe)&&Xe.indexOf(\"L\")===-1)&&(Xe=\"M0 0, L0 0\"),(isNaN(g.x)||isNaN(g.y)||isNaN(_.x)||isNaN(_.y))&&(Xe=\"M0 0, L0 0\"),H.endArrow&&Z.endArrow===!1&&(o.style.endArrow={path:\"\"}),H.startArrow&&Z.startArrow===!1&&(o.style.startArrow={path:\"\"});var yt=Object(s.mix)(n,i.attr(),{lineWidth:d,path:Xe},o.style);i&&i.attr(yt)}},getPath:function(o,t,e,n,i,d){var g=i.offset,_=i.obstacles,I=i.simple;if(!g||o.length>2||d===!1){if(n)return jl(o,n);var D=[];return Object(s.each)(o,function(Z,te){te===0?D.push([\"M\",Z.x,Z.y]):D.push([\"L\",Z.x,Z.y])}),D}I===!1||_!=null&&_.length||(I=!0);var H=I?qf(o[o.length-1],o[0],e,t,g):Gc(o[0],o[o.length-1],t,e,i);return H&&H.length?n?jl(H,n):(H=function(Z){if(!(Z!=null&&Z.length))return Z;for(var te=Z[Z.length-1],de={x:te.x,y:te.y},Pe=[te],Ge=[te],Qe=Z.length-2;Qe>=0;Qe--){var Xe,yt=Z[Qe];yt.x===de.x?Pe.push(yt):(Pe=[yt],de.x=yt.x),yt.y===de.y?Ge.push(yt):(Ge=[yt],de.y=yt.y),Pe.length>2?(Xe=Z.indexOf(Pe[1]))>-1&&Z.splice(Xe,1):Ge.length>2&&(Xe=Z.indexOf(Ge[1]))>-1&&Z.splice(Xe,1)}return Z}(H),Oa.pointsToPolygon(H)):\"M0 0, L0 0\"}},\"single-edge\");var kf=Ht.cloneEvent,Nf=Ht.isNaN,jf=Math.abs,cl=[\"shift\",\"ctrl\",\"alt\",\"control\"],Df={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(o){var t=this.origin,e=+o.clientX,n=+o.clientY;if(!Nf(e)&&!Nf(n)){var i=e-t.x,d=n-t.y;this.get(\"direction\")===\"x\"?d=0:this.get(\"direction\")===\"y\"&&(i=0),this.origin={x:e,y:n};var g=this.graph.get(\"width\"),_=this.graph.get(\"height\"),I=this.graph.get(\"canvas\").getCanvasBBox(),D=this.scalableRange,H=this.scalableRange;D<1&&D>-1&&(D*=g,H*=_),(I.minX<=g+D&&I.minX+i>g+D||I.maxX+D>=0&&I.maxX+D+i<0)&&(i=0),(I.minY<=_+H&&I.minY+d>_+H||I.maxY+H>=0&&I.maxY+H+d<0)&&(d=0),this.graph.translate(i,d)}},onTouchStart:function(o){var t=o.originalEvent.touches,e=t[0],n=t[1];e&&n||(o.preventDefault(),this.mousedown=!0,this.onDragStart(o))},onMouseDown:function(o){this.mousedown=!0},onDragMove:function(o){this.mousedown&&(this.dragstart?this.onDrag(o):(this.dragstart=!0,this.onDragStart(o)))},onDragStart:function(o){var t=o.originalEvent;if((!t||o.name===\"touchstart\"||t.button===0)&&(o.name===\"touchstart\"||typeof window==\"undefined\"||!window.event||window.event.buttons||window.event.button)&&this.shouldBegin(o,this)&&!this.keydown&&this.allowDrag(o)){if(this.origin={x:o.clientX,y:o.clientY},this.dragging=!1,this.enableOptimize){for(var e=this.graph,n=e.getEdges(),i=0,d=n.length;i<d;i++){var g=n[i].get(\"group\").get(\"children\");g&&g.forEach(function(Pe){Pe.set(\"ori-visibility\",Pe.get(\"ori-visibility\")||Pe.get(\"visible\")),Pe.hide()})}for(var _=e.getNodes(),I=0,D=_.length;I<D;I++)for(var H=0,Z=_[I].getContainer().get(\"children\");H<Z.length;H++){var te=Z[H];te.get(\"isKeyShape\")||(te.set(\"ori-visibility\",te.get(\"ori-visibility\")||te.get(\"visible\")),te.hide())}}if(typeof window!=\"undefined\"){var de=this;this.handleDOMContextMenu=function(Pe){return de.onMouseUp(Pe)},document.body.addEventListener(\"contextmenu\",this.handleDOMContextMenu)}}},onTouchMove:function(o){var t=o.originalEvent.touches,e=t[0],n=t[1];e&&n?this.onMouseUp(o):(o.preventDefault(),this.onDrag(o))},onDrag:function(o){if(this.mousedown){var t=this.graph;if(!this.keydown&&this.allowDrag(o)&&(o=kf(o),this.origin)){if(this.dragging)o.type=\"drag\",t.emit(\"canvas:drag\",o);else{if(jf(this.origin.x-o.clientX)+jf(this.origin.y-o.clientY)<10)return;this.shouldBegin(o,this)&&(o.type=\"dragstart\",t.emit(\"canvas:dragstart\",o),this.originPosition={x:o.clientX,y:o.clientY},this.dragging=!0)}this.shouldUpdate(o,this)&&this.updateViewport(o)}}},onMouseUp:function(o){var t,e;this.mousedown=!1,this.dragstart=!1;var n=this.graph;if(!this.keydown){var i=n.getZoom(),d=n.get(\"modeController\"),g=(e=(t=d==null?void 0:d.modes[d.mode])===null||t===void 0?void 0:t.filter(function(Ct){return Ct.type===\"zoom-canvas\"}))===null||e===void 0?void 0:e[0],_=g?g.optimizeZoom||.1:0;if(this.enableOptimize){for(var I=n.getEdges(),D=0,H=I.length;D<H;D++){var Z=I[D].get(\"group\").get(\"children\");Z&&Z.forEach(function(Ct){var on=Ct.get(\"ori-visibility\");Ct.set(\"ori-visibility\",void 0),on&&Ct.show()})}if(i>_)for(var te=n.getNodes(),de=0,Pe=te.length;de<Pe;de++)for(var Ge=0,Qe=te[de].getContainer().get(\"children\");Ge<Qe.length;Ge++){var Xe=Qe[Ge];if(!Xe.get(\"isKeyShape\")){var yt=Xe.get(\"ori-visibility\");Xe.set(\"ori-visibility\",void 0),yt&&Xe.show()}}}this.dragging?(o=kf(o),this.shouldEnd(o,this)&&this.updateViewport(o),o.type=\"dragend\",o.dx=o.clientX-this.originPosition.x,o.dy=o.clientY-this.originPosition.y,n.emit(\"canvas:dragend\",o),this.endDrag(),typeof window!=\"undefined\"&&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(o){var t=o.key;t&&(cl.indexOf(t.toLowerCase())>-1?this.keydown=!0:this.keydown=!1)},onKeyUp:function(){this.keydown=!1,this.origin=null,this.dragging=!1,this.dragbegin=!1},allowDrag:function(o){var t,e,n=o.target,i=n&&n.isCanvas&&n.isCanvas();if(Object(s.isBoolean)(this.allowDragOnItem)&&!this.allowDragOnItem&&!i)return!1;if(Object(s.isObject)(this.allowDragOnItem)){var d=this.allowDragOnItem,g=d.node,_=d.edge,I=d.combo,D=(e=(t=o.item)===null||t===void 0?void 0:t.getType)===null||e===void 0?void 0:e.call(t);if(!g&&D===\"node\"||!_&&D===\"edge\"||!I&&D===\"combo\")return!1}return!0}},Rf={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\",afterchangedata:\"onDragEnd\"}},validationCombo:function(o){return!(!this.origin||!o||o.destroyed)&&o.getType()===\"combo\"},onTouchStart:function(o){if(o.item){try{var t=o.originalEvent.touches,e=t[0],n=t[1];if(e&&n)return;o.preventDefault()}catch(i){console.warn(\"Touch original event not exist!\")}this.mousedown={item:o.item,target:o.target,origin:{x:o.x,y:o.y}},this.dragstart=!0,this.onDragStart(o)}},onTouchMove:function(o){try{var t=o.originalEvent.touches,e=t[0],n=t[1];if(e&&n)return void this.onDragEnd(o);o.preventDefault()}catch(i){console.warn(\"Touch original event not exist!\")}this.onDrag(o)},onMouseDown:function(o){this.mousedown={item:o.item,target:o.target,origin:{x:o.x,y:o.y}},typeof window==\"undefined\"||this.windowEventBinded||(this.windowEventBinded=!0,document.body.addEventListener(\"contextmenu\",this.onDragEnd.bind(this)),document.body.addEventListener(\"mouseup\",this.onDragEnd.bind(this)))},onDragMove:function(o){var t,e;((e=(t=o.item)===null||t===void 0?void 0:t.getType)===null||e===void 0?void 0:e.call(t))===\"node\"?this.mousedown&&(this.dragstart?this.onDrag(Object(l.__assign)(Object(l.__assign)({},o),this.mousedown)):(this.dragstart=!0,this.onDragStart(o))):this.onDragEnd()},onDragStart:function(o){var t=this;if(this.currentShouldEnd=!0,this.shouldBegin(Object(l.__assign)(Object(l.__assign)({},o),this.mousedown),this)){var e=this.mousedown,n=e.item,i=e.target;if(n&&!n.destroyed&&!n.hasLocked()){if(n.getContainer().set(\"capture\",!1),this.cachedCaptureItems||(this.cachedCaptureItems=[]),this.cachedCaptureItems.push(n),i&&i.get(\"isAnchorPoint\"))return;var d=this.graph;this.targets=[],this.targetCombo=null;var g=d.findAllByState(\"node\",this.selectedState),_=n.get(\"id\");if(g.filter(function(D){var H=D.get(\"id\");return _===H}).length===0?this.targets.push(n):g.length>1?g.forEach(function(D){D.hasLocked()||t.targets.push(D)}):this.targets.push(n),this.graph.get(\"enabledStack\")&&this.enableStack){var I=[];this.targets.forEach(function(D){var H=D.getModel(),Z=H.x,te=H.y,de=H.id;I.push({x:Z,y:te,id:de})}),this.set(\"beforeDragNodes\",I)}this.hidenEdge={},this.get(\"updateEdge\")&&this.enableOptimize&&!this.enableDelegate&&this.targets.forEach(function(D){D.getEdges().forEach(function(H){H.isVisible()&&(t.hidenEdge[H.getID()]=!0,H.hide())})}),this.origin=this.mousedown.origin,this.point={},this.originPoint={}}}},onDrag:function(o){var t=this;if(this.mousedown&&this.origin&&this.shouldUpdate(o,this))if(this.get(\"enableDelegate\"))this.updateDelegate(o);else if(this.enableDebounce)this.debounceUpdate({targets:this.targets,graph:this.graph,point:this.point,origin:this.origin,evt:o,updateEdge:this.get(\"updateEdge\"),onlyChangeComboSize:this.onlyChangeComboSize,updateParentCombos:this.updateParentCombos});else{var e={};this.targets.map(function(n){t.update(n,o);var i=n.getModel().comboId;i&&(e[i]=t.graph.findById(i))}),this.onlyChangeComboSize&&this.updateParentCombos()}},onDragEnd:function(o){var t,e=this;if(this.mousedown=!1,this.dragstart=!1,typeof window!=\"undefined\"&&this.windowEventBinded&&(this.windowEventBinded=!1,document.body.removeEventListener(\"contextmenu\",this.onDragEnd.bind(this)),document.body.removeEventListener(\"mouseup\",this.onDragEnd.bind(this))),this.origin){(t=this.cachedCaptureItems)===null||t===void 0||t.forEach(function(d){d.getContainer().set(\"capture\",!0)}),this.cachedCaptureItems=[],this.delegateRect&&(this.delegateRect.remove(),this.delegateRect=null),this.get(\"updateEdge\")&&this.enableOptimize&&!this.enableDelegate&&this.targets.forEach(function(d){d.getEdges().forEach(function(g){e.hidenEdge[g.getID()]&&g.show(),g.refresh()})}),this.hidenEdge={};var n=this.graph;if(n.get(\"enabledStack\")&&this.enableStack){var i={before:{nodes:[],edges:[],combos:[]},after:{nodes:[],edges:[],combos:[]}};this.get(\"beforeDragNodes\").forEach(function(d){i.before.nodes.push(d)}),this.targets.forEach(function(d){var g=d.getModel(),_=g.x,I=g.y,D=g.id;i.after.nodes.push({x:_,y:I,id:D})}),n.pushStack(\"update\",Object(s.clone)(i))}n.emit(\"dragnodeend\",{items:this.targets,targetItem:null}),this.point={},this.origin=null,this.originPoint={},this.targets.length=0,this.targetCombo=null}},onDropCombo:function(o){var t=o.item;if(this.currentShouldEnd=this.shouldEnd(o,t,this),this.updatePositions(o,!this.currentShouldEnd),this.currentShouldEnd&&this.validationCombo(t)){var e=this.graph;if(this.comboActiveState&&e.setItemState(t,this.comboActiveState,!1),this.targetCombo=t,this.onlyChangeComboSize)e.updateCombos();else{var n=t.getModel();this.targets.map(function(i){i.getModel().comboId!==n.id&&e.updateComboTree(i,n.id)}),e.updateCombo(t)}e.emit(\"dragnodeend\",{items:this.targets,targetItem:this.targetCombo})}},onDropCanvas:function(o){var t=this.graph;this.currentShouldEnd=this.shouldEnd(o,void 0,this),this.updatePositions(o,!this.currentShouldEnd),this.targets&&this.targets.length!==0&&this.currentShouldEnd&&(this.onlyChangeComboSize?this.updateParentCombos():this.targets.map(function(e){e.getModel().comboId&&t.updateComboTree(e)}))},onDropNode:function(o){if(this.targets&&this.targets.length!==0){var t=o.item,e=this.graph,n=t.getModel().comboId,i=n?e.findById(n):void 0;if(this.currentShouldEnd=this.shouldEnd(o,i,this),this.updatePositions(o,!this.currentShouldEnd),this.currentShouldEnd){if(this.onlyChangeComboSize)this.updateParentCombos();else if(n){var d=e.findById(n);this.comboActiveState&&e.setItemState(d,this.comboActiveState,!1),this.targets.map(function(g){var _=g.getModel();n!==_.comboId&&e.updateComboTree(g,n)}),e.updateCombo(d)}else this.targets.map(function(g){g.getModel().comboId&&e.updateComboTree(g)});e.emit(\"dragnodeend\",{items:this.targets,targetItem:t})}}},onDragEnter:function(o){var t=o.item;if(this.validationCombo(t)){var e=this.graph;this.comboActiveState&&e.setItemState(t,this.comboActiveState,!0)}},onDragLeave:function(o){var t=o.item;if(this.validationCombo(t)){var e=this.graph;this.comboActiveState&&e.setItemState(t,this.comboActiveState,!1)}},updatePositions:function(o,t){var e=this;this.targets&&this.targets.length!==0&&(this.get(\"enableDelegate\")?this.enableDebounce?this.debounceUpdate({targets:this.targets,graph:this.graph,point:this.point,origin:this.origin,evt:o,updateEdge:this.get(\"updateEdge\"),onlyChangeComboSize:this.onlyChangeComboSize,updateParentCombos:this.updateParentCombos}):t||this.targets.map(function(n){return e.update(n,o)}):this.targets.map(function(n){return e.update(n,o,t)}))},update:function(o,t,e){var n=this.origin,i=o.get(\"model\"),d=o.get(\"id\");this.point[d]||(this.point[d]={x:i.x||0,y:i.y||0});var g=t.x-n.x+this.point[d].x,_=t.y-n.y+this.point[d].y;e&&(g+=n.x-t.x,_+=n.y-t.y);var I={x:g,y:_};this.get(\"updateEdge\")?this.graph.updateItem(o,I,!1):o.updatePosition(I)},debounceUpdate:Object(s.debounce)(function(o){var t=o.targets,e=o.graph,n=o.point,i=o.origin,d=o.evt,g=o.updateEdge,_=o.onlyChangeComboSize,I=o.updateParentCombos;t.map(function(D){var H=D.get(\"model\"),Z=D.get(\"id\");n[Z]||(n[Z]={x:H.x||0,y:H.y||0});var te={x:d.x-i.x+n[Z].x,y:d.y-i.y+n[Z].y};g?e.updateItem(D,te,!1):D.updatePosition(te)}),_&&I(e,t)},50,!0),updateDelegate:function(o){var t=this.graph;if(this.delegateRect){var e=o.x-this.origin.x+this.originPoint.minX,n=o.y-this.origin.y+this.originPoint.minY;this.delegateRect.attr({x:e,y:n})}else{var i=t.get(\"group\"),d=Object(s.deepMix)({},di.delegateStyle,this.delegateStyle),g=this.calculationGroupPosition(o),_=g.x,I=g.y,D=g.width,H=g.height,Z=g.minX,te=g.minY;this.originPoint={x:_,y:I,width:D,height:H,minX:Z,minY:te},this.delegateRect=i.addShape(\"rect\",{attrs:Object(l.__assign)({width:D,height:H,x:_,y:I},d),name:\"rect-delegate-shape\"}),this.delegate=this.delegateRect,this.delegateRect.set(\"capture\",!1)}},calculationGroupPosition:function(o){var t=this.targets;t.length===0&&t.push(o.item);for(var e=1/0,n=-1/0,i=1/0,d=-1/0,g=0;g<t.length;g++){var _=t[g].getBBox(),I=_.minX,D=_.minY,H=_.maxX,Z=_.maxY;I<e&&(e=I),D<i&&(i=D),H>n&&(n=H),Z>d&&(d=Z)}return{x:Math.floor(e),y:Math.floor(i),width:Math.ceil(n)-Math.floor(e),height:Math.ceil(d)-Math.floor(i),minX:e,minY:i}},updateParentCombos:function(o,t){var e=o||this.graph,n=t||this.targets,i={};n==null||n.forEach(function(d){var g=d.getModel().comboId;g&&(i[g]=e.findById(g))}),Object.values(i).forEach(function(d){d&&e.updateCombo(d)})}},xl={getDefaultCfg:function(){return{trigger:\"mouseenter\",activeState:\"active\",inactiveState:\"inactive\",resetSelected:!1,shouldUpdate:function(){return!0}}},getEvents:function(){return this.get(\"trigger\")===\"mouseenter\"?{\"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(o){try{var t=o.originalEvent.touches,e=t[0],n=t[1];if(e&&n)return;o.preventDefault()}catch(i){console.warn(\"Touch original event not exist!\")}this.setAllItemStates(o)},clearOnTouchStart:function(o){try{var t=o.originalEvent.touches,e=t[0],n=t[1];if(e&&n)return;o.preventDefault()}catch(i){console.warn(\"Touch original event not exist!\")}this.clearActiveState(o)},setAllItemStates:function(o){clearTimeout(this.timer),this.throttleSetAllItemStates(o,this)},clearActiveState:function(o){var t=this;this.timer=setTimeout(function(){t.throttleClearActiveState(o,t)},50)},throttleSetAllItemStates:Object(s.throttle)(function(o,t){var e=o.item,n=t.graph;if(n&&!n.destroyed&&(t.item=e,t.shouldUpdate(o.item,{event:o,action:\"activate\"},t))){for(var i=t.activeState,d=t.inactiveState,g=n.getNodes(),_=n.getCombos(),I=n.getEdges(),D=n.get(\"vedges\"),H=g.length,Z=_.length,te=I.length,de=D.length,Pe=t.inactiveItems||{},Ge=t.activeItems||{},Qe=0;Qe<H;Qe++){var Xe=g[Qe],yt=Xe.getID(),Ct=Xe.hasState(\"selected\");t.resetSelected&&Ct&&n.setItemState(Xe,\"selected\",!1),Ge[yt]&&(n.setItemState(Xe,i,!1),delete Ge[yt]),d&&!Pe[yt]&&(n.setItemState(Xe,d,!0),Pe[yt]=Xe)}for(Qe=0;Qe<Z;Qe++){var on=_[Qe],sn=on.getID();Ct=on.hasState(\"selected\"),t.resetSelected&&Ct&&n.setItemState(on,\"selected\",!1),Ge[sn]&&(n.setItemState(on,i,!1),delete Ge[sn]),d&&!Pe[sn]&&(n.setItemState(on,d,!0),Pe[sn]=on)}for(Qe=0;Qe<te;Qe++)Ge[Cr=(Sr=I[Qe]).getID()]&&(n.setItemState(Sr,i,!1),delete Ge[Cr]),d&&!Pe[Cr]&&(n.setItemState(Sr,d,!0),Pe[Cr]=Sr);for(Qe=0;Qe<de;Qe++){var Nn=D[Qe],Tn=Nn.getID();Ge[Tn]&&(n.setItemState(Nn,i,!1),delete Ge[Tn]),d&&!Pe[Tn]&&(n.setItemState(Nn,d,!0),Pe[Tn]=Nn)}if(e&&!e.destroyed){d&&(n.setItemState(e,d,!1),delete Pe[e.getID()]),Ge[e.getID()]||(n.setItemState(e,i,!0),Ge[e.getID()]=e);var Bn=e.getEdges(),Hn=Bn.length;for(Qe=0;Qe<Hn;Qe++){var Sr,Cr=(Sr=Bn[Qe]).getID(),po=void 0,wo=(po=Sr.getSource()===e?Sr.getTarget():Sr.getSource()).getID();d&&Pe[wo]&&(n.setItemState(po,d,!1),delete Pe[wo]),Ge[wo]||(n.setItemState(po,i,!0),Ge[wo]=po),Pe[Cr]&&(n.setItemState(Sr,d,!1),delete Pe[Cr]),Ge[Cr]||(n.setItemState(Sr,i,!0),Ge[Cr]=Sr),Sr.toFront()}}t.activeItems=Ge,t.inactiveItems=Pe,n.emit(\"afteractivaterelations\",{item:o.item,action:\"activate\"})}},50,{trailing:!0,leading:!0}),throttleClearActiveState:Object(s.throttle)(function(o,t){var e=t.get(\"graph\");if(e&&!e.destroyed&&t.shouldUpdate(o.item,{event:o,action:\"deactivate\"},t)){var n=t.activeState,i=t.inactiveState,d=t.activeItems||{},g=t.inactiveItems||{};Object.values(d).filter(function(_){return!_.destroyed}).forEach(function(_){e.clearItemStates(_,n)}),Object.values(g).filter(function(_){return!_.destroyed}).forEach(function(_){e.clearItemStates(_,i)}),t.activeItems={},t.inactiveItems={},e.emit(\"afteractivaterelations\",{item:o.item||t.get(\"item\"),action:\"deactivate\"})}},50,{trailing:!0,leading:!0})},Wc=Math.min,Dl=Math.max,Rl=Math.abs,hc=[\"drag\",\"shift\",\"ctrl\",\"alt\",\"control\"],wl={getDefaultCfg:function(){return{brushStyle:{fill:\"#EEF6FF\",fillOpacity:.4,stroke:\"#DDEEFE\",lineWidth:1},onSelect:function(){},onDeselect:function(){},selectedState:\"selected\",trigger:\"shift\",includeEdges:!0,includeCombos:!1,selectedEdges:[],selectedNodes:[],selectedCombos:[]}},getEvents:function(){return hc.indexOf(this.trigger.toLowerCase())>-1||(this.trigger=\"shift\",console.warn(\"Behavior brush-select \\u7684 trigger \\u53C2\\u6570\\u4E0D\\u5408\\u6CD5\\uFF0C\\u8BF7\\u8F93\\u5165 'drag'\\u3001'shift'\\u3001'ctrl' \\u6216 'alt'\")),this.trigger===\"drag\"?{dragstart:\"onMouseDown\",drag:\"onMouseMove\",dragend:\"onMouseUp\",\"canvas:click\":\"clearStates\"}:{dragstart:\"onMouseDown\",drag:\"onMouseMove\",dragend:\"onMouseUp\",\"canvas:click\":\"clearStates\",keyup:\"onKeyUp\",keydown:\"onKeyDown\"}},onMouseDown:function(o){var t=o.item,e=this.brush;t||(this.trigger===\"drag\"||this.keydown)&&(this.selectedNodes&&this.selectedNodes.length!==0&&this.clearStates(),e||(e=this.createBrush()),this.originPoint={x:o.canvasX,y:o.canvasY},e.attr({width:0,height:0}),e.show(),this.dragging=!0)},onMouseMove:function(o){this.dragging&&(this.trigger===\"drag\"||this.keydown)&&this.updateBrush(o)},onMouseUp:function(o){this.graph,(this.brush||this.dragging)&&(this.trigger===\"drag\"||this.keydown)&&(this.brush.remove(!0),this.brush=null,this.getSelectedNodes(o),this.dragging=!1)},clearStates:function(){var o=this.graph,t=this.selectedState,e=o.findAllByState(\"node\",t),n=o.findAllByState(\"edge\",t),i=o.findAllByState(\"combo\",t);e.forEach(function(d){return o.setItemState(d,t,!1)}),n.forEach(function(d){return o.setItemState(d,t,!1)}),i.forEach(function(d){return o.setItemState(d,t,!1)}),this.selectedNodes=[],this.selectedEdges=[],this.selectedCombos=[],this.onDeselect&&this.onDeselect(this.selectedNodes,this.selectedEdges,this.selectedCombos),o.emit(\"nodeselectchange\",{selectedItems:{nodes:[],edges:[],combos:[]},select:!1})},isBBoxCenterInRect:function(o,t,e,n,i){var d=o.getBBox();return d.centerX>=t&&d.centerX<=e&&d.centerY>=n&&d.centerY<=i},getSelectedNodes:function(o){var t=this,e=this.graph,n=this.originPoint,i=this.shouldUpdate,d=this.isBBoxCenterInRect,g=this.selectedState,_={x:o.x,y:o.y},I=e.getPointByCanvas(n.x,n.y),D=Wc(_.x,I.x),H=Dl(_.x,I.x),Z=Wc(_.y,I.y),te=Dl(_.y,I.y),de=[],Pe=[];e.getNodes().forEach(function(Xe){if(Xe.isVisible()&&d(Xe,D,H,Z,te)&&i(Xe,\"select\",t)){de.push(Xe);var yt=Xe.getModel();Pe.push(yt.id),e.setItemState(Xe,g,!0)}});var Ge=[];this.includeEdges&&de.forEach(function(Xe){Xe.getOutEdges().forEach(function(yt){if(yt.isVisible()){var Ct=yt.getModel(),on=Ct.source,sn=Ct.target;Pe.includes(on)&&Pe.includes(sn)&&i(yt,\"select\",t)&&(Ge.push(yt),e.setItemState(yt,t.selectedState,!0))}})});var Qe=[];this.includeCombos&&e.getCombos().forEach(function(Xe){if(Xe.isVisible()&&d(Xe,D,H,Z,te)&&i(Xe,\"select\",t)){Qe.push(Xe);var yt=Xe.getModel();Pe.push(yt.id),e.setItemState(Xe,g,!0)}}),this.selectedEdges=Ge,this.selectedNodes=de,this.selectedCombos=Qe,this.onSelect&&this.onSelect(de,Ge,Qe),e.emit(\"nodeselectchange\",{selectedItems:{nodes:de,edges:Ge,combos:Qe},select:!0})},createBrush:function(){var o=this.graph.get(\"canvas\").addShape(\"rect\",{attrs:this.brushStyle,capture:!1,name:\"brush-shape\"});return this.brush=o,this.delegate=o,o},updateBrush:function(o){var t=this.originPoint;this.brush.attr({width:Rl(o.canvasX-t.x),height:Rl(o.canvasY-t.y),x:Wc(o.canvasX,t.x),y:Wc(o.canvasY,t.y)})},onKeyDown:function(o){var t=o.key;if(t){var e=this.trigger.toLowerCase(),n=t.toLowerCase();this.keydown=n===e||n===\"control\"&&e===\"ctrl\"||n===\"ctrl\"&&e===\"control\"}},onKeyUp:function(){this.brush&&(this.brush.remove(!0),this.brush=null,this.dragging=!1),this.keydown=!1}},lf=[\"shift\",\"ctrl\",\"alt\",\"control\"],ff={getDefaultCfg:function(){return{multiple:!0,trigger:\"shift\",selectedState:\"selected\",selectNode:!0,selectEdge:!1,selectCombo:!0}},getEvents:function(){return lf.indexOf(this.trigger.toLowerCase())>-1||(this.trigger=\"shift\",console.warn(\"Behavior click-select \\u7684 trigger \\u53C2\\u6570\\u4E0D\\u5408\\u6CD5\\uFF0C\\u8BF7\\u8F93\\u5165 'drag'\\u3001'shift'\\u3001'ctrl' \\u6216 'alt'\")),this.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(o){var t=this,e=o.item;if(e&&!e.destroyed){var n=e.getType(),i=t.graph,d=t.keydown,g=t.multiple,_=t.shouldUpdate;if((0,t.shouldBegin)(o,t)){if(!d||!g){var I=i.findAllByState(\"node\",t.selectedState).concat(i.findAllByState(\"edge\",t.selectedState)).concat(i.findAllByState(\"combo\",t.selectedState));Object(s.each)(I,function(te){te!==e&&i.setItemState(te,t.selectedState,!1)})}if(function(){switch(n){case\"node\":return t.selectNode;case\"edge\":return t.selectEdge;case\"combo\":return t.selectCombo;default:return!1}}())e.hasState(t.selectedState)?(_(o,t)&&i.setItemState(e,t.selectedState,!1),D=i.findAllByState(\"node\",t.selectedState),H=i.findAllByState(\"edge\",t.selectedState),Z=i.findAllByState(\"combo\",t.selectedState),i.emit(\"nodeselectchange\",{target:e,selectedItems:{nodes:D,edges:H,combos:Z},select:!1})):(_(o,t)&&i.setItemState(e,t.selectedState,!0),D=i.findAllByState(\"node\",t.selectedState),H=i.findAllByState(\"edge\",t.selectedState),Z=i.findAllByState(\"combo\",t.selectedState),i.emit(\"nodeselectchange\",{target:e,selectedItems:{nodes:D,edges:H,combos:Z},select:!0}));else{var D=i.findAllByState(\"node\",t.selectedState),H=i.findAllByState(\"edge\",t.selectedState),Z=i.findAllByState(\"combo\",t.selectedState);i.emit(\"nodeselectchange\",{selectedItems:{nodes:D,edges:H,combos:Z},select:!1})}}}},onCanvasClick:function(o){var t=this,e=this.graph;if((0,this.shouldBegin)(o,this)){var n=e.findAllByState(\"node\",this.selectedState);Object(s.each)(n,function(g){e.setItemState(g,t.selectedState,!1)});var i=e.findAllByState(\"edge\",this.selectedState);Object(s.each)(i,function(g){e.setItemState(g,t.selectedState,!1)});var d=e.findAllByState(\"combo\",this.selectedState);Object(s.each)(d,function(g){e.setItemState(g,t.selectedState,!1)}),e.emit(\"nodeselectchange\",{selectedItems:{nodes:[],edges:[],combos:[]},select:!1})}},onKeyDown:function(o){var t=o.key;t&&(t.toLowerCase()===this.trigger.toLowerCase()||t.toLowerCase()===\"control\"?this.keydown=!0:this.keydown=!1)},onKeyUp:function(){this.keydown=!1}},df=j.a.transform,Ll={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 o=this.fixSelectedItems;return o.fixState||(o.fixState=\"selected\"),o.fixAll&&(o.fixLineWidth=!0,o.fixLabel=!0),{wheel:\"onWheel\",touchstart:\"onTouchStart\",touchmove:\"onTouchMove\",touchend:\"onTouchEnd\"}},onTouchStart:function(o){var t=o.originalEvent.touches,e=t[0],n=t[1];o.preventDefault(),n&&(this.shouldBegin&&!this.shouldBegin(o,this)||(this.startPoint={pageX:e.pageX,pageY:e.pageY},this.moveable=!0,n&&(this.endPoint={pageX:n.pageX,pageY:n.pageY}),this.originScale=this.graph.getZoom()||this.currentScale||1))},onTouchMove:function(o){if(this.moveable){o.preventDefault();var t=o.originalEvent.touches,e=t[0],n=t[1];if(n){this.endPoint||(this.endPoint={pageX:n.pageX,pageY:n.pageY});var i=function(Z,te){return Math.hypot(te.x-Z.x,te.y-Z.y)},d=i({x:e.pageX,y:e.pageY},{x:n.pageX,y:n.pageY})/i({x:this.startPoint.pageX,y:this.startPoint.pageY},{x:this.endPoint.pageX,y:this.endPoint.pageY}),g=this.originScale*d;this.currentScale=g;var _=this.get(\"minZoom\")||this.graph.get(\"minZoom\");if(!(g>(this.get(\"maxZoom\")||this.graph.get(\"maxZoom\"))||g<_)){var I=this.get(\"animate\"),D=this.get(\"animateCfg\"),H=this.graph.get(\"canvas\").getPointByClient(o.clientX,o.clientY);this.graph.zoomTo(g,{x:H.x,y:H.y},I,D),this.graph.emit(\"wheelzoom\",o)}}}},onTouchEnd:function(){this.moveable=!1,this.endPoint=null},onWheel:function(o){var t=this,e=this.graph,n=this.fixSelectedItems;if((!this.shouldBegin||this.shouldBegin(o,this))&&this.shouldUpdate(o,this)){o.preventDefault();var i=e.get(\"canvas\").getPointByClient(o.clientX,o.clientY),d=this.get(\"sensitivity\"),g=e.getZoom(),_=g;_=g*(o.wheelDelta<0?1-.05*d:1/(1-.05*d));var I=this.get(\"minZoom\")||e.get(\"minZoom\"),D=this.get(\"maxZoom\")||e.get(\"maxZoom\");if(_>D?_=D:_<I&&(_=I),this.get(\"enableOptimize\")){var H=this.get(\"optimizeZoom\"),Z=this.get(\"optimized\"),te=e.getNodes(),de=e.getEdges(),Pe=te.length,Ge=de.length;if(!Z){for(var Qe=0;Qe<Pe;Qe++)if(!(Sr=te[Qe]).destroyed)for(var Xe=(Lr=Sr.get(\"group\").get(\"children\")).length,yt=0;yt<Xe;yt++)(K=Lr[yt]).destoryed||K.get(\"isKeyShape\")||(K.set(\"ori-visibility\",K.get(\"ori-visibility\")||K.get(\"visible\")),K.hide());for(var Ct=0;Ct<Ge;Ct++)for(Xe=(Lr=($o=de[Ct]).get(\"group\").get(\"children\")).length,yt=0;yt<Xe;yt++)(K=Lr[yt]).set(\"ori-visibility\",K.get(\"ori-visibility\")||K.get(\"visible\")),K.hide();this.set(\"optimized\",!0)}clearTimeout(this.get(\"timeout\"));var on=setTimeout(function(){var yi=e.getZoom();if(t.get(\"optimized\")){t.set(\"optimized\",!1);for(var Fo=0;Fo<Pe;Fo++){var Bo=te[Fo],Uo=(ba=Bo.get(\"group\").get(\"children\")).length;if(yi<H){var Gi=(Ra=Bo.getKeyShape()).get(\"ori-visibility\");Ra.set(\"ori-visibility\",void 0),Gi&&Ra.show()}else for(var Ni=0;Ni<Uo;Ni++)Gi=(fs=ba[Ni]).get(\"ori-visibility\"),fs.set(\"ori-visibility\",void 0),!fs.get(\"visible\")&&Gi&&Gi&&fs.show()}for(var Wi=0;Wi<Ge;Wi++){var ba,Ss=de[Wi];if(Uo=(ba=Ss.get(\"group\").get(\"children\")).length,yi<H){var Ra;Gi=(Ra=Ss.getKeyShape()).get(\"ori-visibility\"),Ra.set(\"ori-visibility\",void 0),Gi&&Ra.show()}else for(Ni=0;Ni<Uo;Ni++){var fs;(fs=ba[Ni]).get(\"visible\")||(Gi=fs.get(\"ori-visibility\"),fs.set(\"ori-visibility\",void 0),Gi&&fs.show())}}}},100);this.set(\"timeout\",on)}if(g<=1){var sn=void 0,Nn=void 0;if(n.fixAll||n.fixLineWidth||n.fixLabel){sn=e.findAllByState(\"node\",n.fixState),Nn=e.findAllByState(\"edge\",n.fixState);for(var Tn=g/_,Bn=sn.length,Hn=0;Hn<Bn;Hn++){var Sr,Cr=(Sr=sn[Hn]).getContainer(),po=Sr.getModel(),wo=Sr.getOriginStyle(),Po=Sr.getStateStyle(n.fixState),Xo=Sr.get(\"shapeFactory\").getShape(po.type).getStateStyle(n.fixState,Sr)[n.fixState];if(n.fixAll){if(_<=1){var ri=Object(s.clone)(Cr.getMatrix());ri||(ri=[1,0,0,0,1,0,0,0,1]);var ki=Sr.getModel(),T=ki.x,B=ki.y;ri=df(ri,[[\"t\",-T,-B],[\"s\",Tn,Tn],[\"t\",T,B]]),Cr.setMatrix(ri)}}else for(Xe=(Lr=Cr.get(\"children\")).length,yt=0;yt<Xe;yt++){var K=Lr[yt],Se=void 0,He=void 0;if(n.fixLabel&&K.get(\"type\")===\"text\"){Se=K.attr(\"fontSize\")||12;var Ye=Po[K.get(\"name\")],Et=Xo[K.get(\"name\")],bn=Ye?Ye.fontSize:12,Qn=Et?Et.fontSize:12,yr=bn||Qn||12;if(_<=1&&K.attr(\"fontSize\",yr/_),He)break}if(n.fixLineWidth&&K.get(\"isKeyShape\")){He=K.attr(\"lineWidth\")||0;var vr=Po.lineWidth||Xo.lineWidth||wo.lineWidth||0;if(_<=1&&K.attr(\"lineWidth\",vr/_),Se)break}}}for(var no=Nn.length,Wo=0;Wo<no;Wo++){var $o,Lr=(Cr=($o=Nn[Wo]).getContainer()).get(\"children\");for(po=$o.getModel(),Po=$o.getStateStyle(n.fixState),Xo=$o.get(\"shapeFactory\").getShape(po.type).getStateStyle(n.fixState,$o)[n.fixState],Xe=Lr.length,yt=0;yt<Xe&&(K=Lr[yt],Se=void 0,He=void 0,!((n.fixLabel||n.fixAll)&&K.get(\"type\")===\"text\"&&(Se=K.attr(\"fontSize\")||12,Ye=Po[K.get(\"name\")],Et=Xo[K.get(\"name\")],bn=Ye?Ye.fontSize:12,Qn=Et?Et.fontSize:12,yr=bn||Qn||12,_<=1&&K.attr(\"fontSize\",yr/_),He)||(n.fixLineWidth||n.fixAll)&&K.get(\"isKeyShape\")&&(He=K.attr(\"lineWidth\")||0,vr=Po.lineWidth||Xo.lineWidth||1,_<=1&&K.attr(\"lineWidth\",vr/_),Se)));yt++);}}}var co=this.get(\"animate\"),Do=this.get(\"animateCfg\");e.zoomTo(_,{x:i.x,y:i.y},co,Do),e.emit(\"wheelzoom\",o)}}},hf={onMouseEnter:function(o){var t=o.item;this.currentTarget=t,this.showTooltip(o),this.graph.emit(\"tooltipchange\",{item:o.item,action:\"show\"})},onMouseMove:function(o){this.shouldUpdate(o,this)?this.currentTarget&&o.item===this.currentTarget&&this.updatePosition(o):this.hideTooltip()},onMouseLeave:function(o){this.shouldEnd(o,this)&&(this.hideTooltip(),this.graph.emit(\"tooltipchange\",{item:this.currentTarget,action:\"hide\"}),this.currentTarget=null)},showTooltip:function(o){var t=this.container;if(o.item&&!o.item.destroyed){t||(t=this.createTooltip(this.graph.get(\"canvas\")),this.container=t);var e=this.formatText(o.item.get(\"model\"),o);t.innerHTML=e,gi(this.container,{visibility:\"visible\"}),this.updatePosition(o)}},hideTooltip:function(){gi(this.container,{visibility:\"hidden\"})},updatePosition:function(o){var t=this.get(\"shouldBegin\"),e=this.width,n=this.height,i=this.container,d=this.graph;if(t(o,this)){var g=d.getPointByClient(o.clientX,o.clientY),_=d.getCanvasByPoint(g.x,g.y),I=_.x,D=_.y,H=i.getBoundingClientRect();I>e/2?I-=H.width:I+=this.offset,D>n/2?D-=H.height:D+=this.offset;var Z=\"\".concat(I,\"px\"),te=\"\".concat(D,\"px\");gi(this.container,{left:Z,top:te,visibility:\"visible\"})}else gi(i,{visibility:\"hidden\"})},createTooltip:function(o){var t=o.get(\"el\");t.style.position=\"relative\";var e=_i('<div class=\"g6-tooltip g6-'.concat(this.item,'-tooltip\"></div>'));return t.parentNode.appendChild(e),gi(e,{position:\"absolute\",visibility:\"visible\"}),this.width=o.get(\"width\"),this.height=o.get(\"height\"),this.container=e,this.graph.get(\"tooltips\").push(e),e}},ec=Object(l.__assign)({getDefaultCfg:function(){return{item:\"node\",offset:12,formatText:function(o){return o.label}}},getEvents:function(){return{\"node:mouseenter\":\"onMouseEnter\",\"node:mouseleave\":\"onMouseLeave\",\"node:mousemove\":\"onMouseMove\",afterremoveitem:\"onMouseLeave\"}}},hf),$s=Object(l.__assign)({getDefaultCfg:function(){return{item:\"edge\",offset:12,formatText:function(o){return\"source: \".concat(o.source,\" target: \").concat(o.target)}}},getEvents:function(){return{\"edge:mouseenter\":\"onMouseEnter\",\"edge:mouseleave\":\"onMouseLeave\",\"edge:mousemove\":\"onMouseMove\",afterremoveitem:\"onMouseLeave\"}}},hf),dd=[\"click\",\"dblclick\"],Lf={getDefaultCfg:function(){return{trigger:\"click\",onChange:function(){}}},getEvents:function(){var o,t;return dd.includes(this.trigger)?t=this.trigger:(t=\"click\",console.warn(\"Behavior collapse-expand \\u7684 trigger \\u53C2\\u6570\\u4E0D\\u5408\\u6CD5\\uFF0C\\u8BF7\\u8F93\\u5165 'click' \\u6216 'dblclick'\")),(o={})[\"node:\".concat(t)]=\"onNodeClick\",o.touchstart=\"onNodeClick\",o},onNodeClick:function(o){var t=this;if(this.trigger===\"click\"){if(this.timer)return clearTimeout(this.timer),void(this.timer=0);this.timer=setTimeout(function(){t.toggle(o),clearTimeout(t.timer),t.timer=0},200)}else this.toggle(o)},toggle:function(o){var t=o.item;if(t){var e=this.graph.findDataById(t.get(\"id\"));if(e){var n=e.children;if(n&&n.length!==0){var i=!e.collapsed;this.shouldBegin(o,i,this)&&(e.collapsed=i,t.getModel().collapsed=i,this.graph.emit(\"itemcollapsed\",{item:o.item,collapsed:i}),this.shouldUpdate(o,i,this)&&(this.onChange(t,i,this),this.graph.layout()))}}}}},Eu=Ht.calculationItemsBBox,ll={getDefaultCfg:function(){return{enableDelegate:!1,delegateStyle:{},onlyChangeComboSize:!1,activeState:\"\",selectedState:\"selected\",enableStack:!0}},getEvents:function(){return{\"combo:mousedown\":\"onMouseDown\",\"combo:dragstart\":\"onDragStart\",\"combo:drag\":\"onDrag\",\"combo:dragend\":\"onDragEnd\",\"combo:drop\":\"onDrop\",\"node:drop\":\"onNodeDrop\",\"combo:dragenter\":\"onDragEnter\",\"combo:dragleave\":\"onDragLeave\"}},validationCombo:function(o){var t=o.item;return!(!t||t.destroyed)&&!!this.shouldUpdate(o,this)&&t.getType()===\"combo\"},onMouseDown:function(o){this.origin={x:o.x,y:o.y}},onDragStart:function(o){var t=this,e=this.graph,n=o.item;if(this.currentShouldEnd=!0,this.validationCombo(o)){this.targets=[];var i=e.findAllByState(\"combo\",this.selectedState),d=n.get(\"id\");i.filter(function(_){var I=_.get(\"id\");return d===I}).length===0?this.targets.push(n):this.targets=i;var g=[];this.targets.forEach(function(_){var I=_.getModel(),D=I.x,H=I.y,Z=I.id;g.push({x:D,y:H,id:Z})}),this.set(\"beforeDragItems\",g),this.activeState&&this.targets.map(function(_){var I=_.getModel();if(I.parentId){var D=e.findById(I.parentId);D&&e.setItemState(D,t.activeState,!0)}}),this.point={},this.originPoint={},this.currentItemChildCombos=[],function _(I,D){if(D(I)!==!1&&I){var H=I.get(\"combos\");if(H.length===0)return!1;Object(s.each)(H,function(Z){_(Z,D)})}}(n,function(_){if(_.destroyed)return!1;var I=_.getModel();return t.currentItemChildCombos.push(I.id),!0})}},onDrag:function(o){var t=this;if(this.origin&&this.validationCombo(o))if(this.enableDelegate)this.updateDelegate(o);else{if(this.activeState){var e=this.graph,n=o.item,i=n.getModel(),d=e.getCombos(),g=n.getBBox(),_=g.centerX,I=g.centerY,D=g.width;d.filter(function(H){var Z=H.getModel();return i.parentId,Z.id!==i.id&&!t.currentItemChildCombos.includes(Z.id)}).map(function(H){var Z=H.getBBox(),te=Z.centerX,de=Z.centerY,Pe=Z.width,Ge=_-te,Qe=I-de,Xe=2*Math.sqrt(Ge*Ge+Qe*Qe);D+Pe-Xe>.8*D?e.setItemState(H,t.activeState,!0):e.setItemState(H,t.activeState,!1)})}Object(s.each)(this.targets,function(H){t.updateCombo(H,o)}),this.onlyChangeComboSize&&this.updateParentCombos()}},updatePositions:function(o,t){var e=this;(this.enableDelegate||t)&&Object(s.each)(this.targets,function(n){e.updateCombo(n,o,t)})},onDrop:function(o){var t=this,e=o.item;if(this.currentShouldEnd=this.shouldEnd(o,e,this),this.updatePositions(o,!this.currentShouldEnd),this.currentShouldEnd&&e&&this.targets&&!e.destroyed){var n=this.graph,i=e.getModel();this.targets.map(function(d){d.getModel().parentId!==i.id?(t.activeState&&n.setItemState(e,t.activeState,!1),t.onlyChangeComboSize?n.updateCombo(d):n.updateComboTree(d,i.id,!1)):n.updateCombo(e)}),this.end(e,o),this.endComparison=!0}},onNodeDrop:function(o){var t=this;if(this.targets&&this.targets.length!==0){var e=this.graph,n=o.item.getModel().comboId,i=n?e.findById(n):void 0;if(this.currentShouldEnd=this.shouldEnd(o,i,this),this.updatePositions(o,!this.currentShouldEnd),this.currentShouldEnd){var d;if(n){if(this.activeState){var g=e.findById(n);e.setItemState(g,this.activeState,!1)}this.targets.map(function(_){t.onlyChangeComboSize?e.updateCombo(_):n!==_.getID()&&(d=e.findById(n),n!==_.getModel().parentId&&e.updateComboTree(_,n,!1))})}else this.targets.map(function(_){t.onlyChangeComboSize?e.updateCombo(_):_.getModel().comboId&&e.updateComboTree(_,void 0,!1)});this.endComparison=!0,this.end(d,o)}}},onDragEnter:function(o){if(this.origin&&this.validationCombo(o)){var t=o.item,e=this.graph;this.activeState&&e.setItemState(t,this.activeState,!0)}},onDragLeave:function(o){if(this.origin&&this.validationCombo(o)){var t=o.item,e=this.graph;this.activeState&&e.setItemState(t,this.activeState,!1)}},onDragEnd:function(o){if(this.targets&&this.targets.length!==0){var t=o.item;this.currentShouldEnd&&this.updatePositions(o);var e=this.getParentCombo(t.getModel().parentId),n=this.graph;e&&this.activeState&&n.setItemState(e,this.activeState,!1),this.end(void 0,o)}},end:function(o,t){var e=this;if(this.origin){var n=this.graph;if(this.delegateShape&&(n.get(\"delegateGroup\").clear(),this.delegateShape=null),o&&this.activeState&&n.setItemState(o,this.activeState,!1),!o){var i=n.get(\"enabledStack\")&&this.enableStack,d={before:{nodes:[],edges:[],combos:[].concat(this.get(\"beforeDragItems\"))},after:{nodes:[],edges:[],combos:[]}};this.targets.map(function(g){if(e.onlyChangeComboSize){n.updateCombo(g);var _=g.getModel(),I=_.x,D=_.y,H=_.id;d.after.combos.push({x:I,y:D,id:H}),n.pushStack(\"update\",d)}else n.updateComboTree(g,void 0,i)})}this.point=[],this.origin=null,this.originPoint=null,this.targets.length=0}},traverse:function(o,t,e){var n=this;if(e===void 0&&(e={}),t(o,e)!==!1&&o){var i=o.get(\"combos\");Object(s.each)(i,function(g){n.traverse(g,t,e)});var d=o.get(\"nodes\");Object(s.each)(d,function(g){n.traverse(g,t,e)})}},updateCombo:function(o,t,e){this.updateSingleItem(o,t,e);var n={};this.traverse(o,function(i,d){return!i.destroyed&&(i.getEdges().forEach(function(g){return d[g.getID()]=g}),!0)},n),Object.values(n).forEach(function(i){return i.refresh()})},updateSingleItem:function(o,t,e){var n=this.origin,i=this.graph,d=o.getModel(),g=o.get(\"id\");this.point[g]||(this.point[g]={x:d.x,y:d.y});var _=t.x-n.x+this.point[g].x,I=t.y-n.y+this.point[g].y;e&&(_+=n.x-t.x,I+=n.y-t.y),i.updateItem(o,{x:_,y:I},!1)},getParentCombo:function(o){var t=this.graph;if(o){var e=t.findById(o);if(e)return e}},updateDelegate:function(o){var t=this.graph;if(this.delegateShape){var e=o.x-this.origin.x+this.originPoint.minX,n=o.y-this.origin.y+this.originPoint.minY;this.delegateShape.attr({x:e,y:n})}else{var i=t.get(\"delegateGroup\"),d=null,g=(d=this.targets.length>1?Eu(this.targets):this.targets[0].getBBox()).x,_=d.y,I=d.width,D=d.height,H=d.minX,Z=d.minY;this.originPoint={x:g,y:_,width:I,height:D,minX:H,minY:Z};var te=Object(l.__assign)(Object(l.__assign)({},di.delegateStyle),this.delegateStyle);this.delegateShape=i.addShape(\"rect\",{attrs:Object(l.__assign)({width:d.width,height:d.height,x:d.x,y:d.y},te),name:\"combo-delegate-shape\"}),this.delegateShape.set(\"capture\",!1),this.delegate=this.delegateShape}},updateParentCombos:function(){var o=this.graph,t=this.targets,e={};t==null||t.forEach(function(n){var i=n.getModel().parentId;i&&(e[i]=o.findById(i))}),Object.values(e).forEach(function(n){n&&o.updateCombo(n)})}},Sl=[\"click\",\"dblclick\"],hd={getDefaultCfg:function(){return{trigger:\"dblclick\",relayout:!0}},getEvents:function(){var o,t;return Sl.includes(this.trigger)?t=this.trigger:(t=\"dblclick\",console.warn(\"Behavior collapse-expand-group \\u7684 trigger \\u53C2\\u6570\\u4E0D\\u5408\\u6CD5\\uFF0C\\u8BF7\\u8F93\\u5165 'click' \\u6216 'dblclick'\")),(o={})[\"combo:\".concat(t)]=\"onComboClick\",o},onComboClick:function(o){var t=o.item,e=this.graph,n=this.relayout;if(t&&!t.destroyed&&t.getType()===\"combo\"){var i=t.getModel().id;i&&(e.collapseExpandCombo(i),n&&e.get(\"layout\")?e.layout():e.refreshPositions())}}},pf=Ht.isPolygonsIntersect,Bf=Ht.pathToPoints,Bl=[\"drag\",\"shift\",\"ctrl\",\"alt\",\"control\"],Jf=[\"click\",\"drag\"],gf=[\"shift\",\"ctrl\",\"control\",\"alt\",\"meta\",void 0],pd=[\"shift\",\"ctrl\",\"alt\",\"control\"],gd=[\"shift\",\"ctrl\",\"alt\",\"control\",\"meta\"],vf={\"drag-canvas\":Df,\"zoom-canvas\":Ll,\"drag-node\":Rf,\"activate-relations\":xl,\"brush-select\":wl,\"click-select\":ff,\"lasso-select\":{getDefaultCfg:function(){return{delegateStyle:{fill:\"#EEF6FF\",fillOpacity:.4,stroke:\"#DDEEFE\",lineWidth:1},onSelect:function(){},onDeselect:function(){},shouldDeselect:void 0,selectedState:\"selected\",trigger:\"shift\",includeEdges:!0,selectedEdges:[],selectedNodes:[]}},getEvents:function(){return Bl.indexOf(this.trigger.toLowerCase())>-1||(this.trigger=\"shift\",console.warn(\"Behavior lasso-select \\u7684 trigger \\u53C2\\u6570\\u4E0D\\u5408\\u6CD5\\uFF0C\\u8BF7\\u8F93\\u5165 'drag'\\u3001'shift'\\u3001'ctrl' \\u6216 'alt'\")),this.trigger===\"drag\"?{dragstart:\"onDragStart\",drag:\"onDragMove\",dragend:\"onDragEnd\",\"canvas:click\":\"clearStates\"}:{dragstart:\"onDragStart\",drag:\"onDragMove\",dragend:\"onDragEnd\",keyup:\"onKeyUp\",keydown:\"onKeyDown\",\"canvas:click\":\"clearStates\"}},onDragStart:function(o){var t=this.lasso;o.item||(this.trigger===\"drag\"||this.keydown)&&(this.selectedNodes&&this.selectedNodes.length!==0&&this.clearStates(\"dragstart\"),t||(t=this.createLasso()),this.dragging=!0,this.originPoint={x:o.x,y:o.y},this.points.push(this.originPoint),t.show())},onDragMove:function(o){this.dragging&&(this.trigger===\"drag\"||this.keydown)&&(this.points.push({x:o.x,y:o.y}),this.updateLasso(o))},onDragEnd:function(o){(this.lasso||this.dragging)&&(this.trigger===\"drag\"||this.keydown)&&(this.points.push(this.originPoint),this.getSelectedItems(),this.lasso.remove(!0),this.lasso=null,this.points=[],this.dragging=!1)},getLassoPath:function(){var o=this.points,t=[];return o.length&&(o.forEach(function(e,n){n===0?t.push([\"M\",e.x,e.y]):t.push([\"L\",e.x,e.y])}),t.push([\"L\",o[0].x,o[0].y])),t},clearStates:function(o){o===void 0&&(o=\"canvas:click\");var t=this.graph,e=this.selectedState,n=this.shouldDeselect,i=t.findAllByState(\"node\",e),d=t.findAllByState(\"edge\",e);n&&!n({action:o,nodes:i,edges:d})||(i.forEach(function(g){return t.setItemState(g,e,!1)}),d.forEach(function(g){return t.setItemState(g,e,!1)})),this.onDeselect&&this.onDeselect(this.selectedNodes,this.selectedEdges),this.selectedNodes=[],this.selectedEdges=[],t.emit(\"nodeselectchange\",{selectedItems:{nodes:[],edges:[]},select:!1})},getSelectedItems:function(){var o=this,t=this.graph,e=this.shouldUpdate,n=this.points.map(function(I){return[t.getCanvasByPoint(I.x,I.y).x,t.getCanvasByPoint(I.x,I.y).y]}),i=this.selectedState,d=[],g=[];t.getNodes().forEach(function(I){if(I.isVisible()&&function(H,Z){var te,de=H.getKeyShape();if(H.get(\"type\")===\"path\")te=Bf(de.attr(\"path\"));else{var Pe=de.getCanvasBBox();te=[[Pe.minX,Pe.minY],[Pe.maxX,Pe.minY],[Pe.maxX,Pe.maxY],[Pe.minX,Pe.maxY]]}return pf(Z,te)}(I,n)&&e(I,\"select\",o)){d.push(I);var D=I.getModel();g.push(D.id),t.setItemState(I,i,!0)}});var _=[];this.includeEdges&&d.forEach(function(I){I.getOutEdges().forEach(function(D){if(D.isVisible()){var H=D.getModel(),Z=H.source,te=H.target;g.includes(Z)&&g.includes(te)&&e(D,\"select\",o)&&(_.push(D),t.setItemState(D,o.selectedState,!0))}})}),this.selectedEdges=_,this.selectedNodes=d,this.onSelect&&this.onSelect(d,_),t.emit(\"nodeselectchange\",{selectedItems:{nodes:d,edges:_},select:!0})},createLasso:function(){var o=this.graph.get(\"delegateGroup\").addShape(\"path\",{attrs:Object(l.__assign)({path:[]},this.delegateStyle),capture:!1,name:\"lasso-shape\"});return this.lasso=o,this.delegate=o,this.points=[],o},updateLasso:function(o){this.lasso.attr({path:this.getLassoPath()})},onKeyDown:function(o){var t=o.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}},tooltip:ec,\"edge-tooltip\":$s,\"collapse-expand\":Lf,\"drag-combo\":ll,\"collapse-expand-combo\":hd,\"create-edge\":{getDefaultCfg:function(){return{trigger:\"click\",key:void 0,edgeConfig:{},getEdgeConfig:void 0}},getEvents:function(){var o;return Jf.indexOf(this.trigger.toLowerCase())>-1||(this.trigger=\"click\",console.warn(\"Behavior create-edge \\u7684 trigger \\u53C2\\u6570\\u4E0D\\u5408\\u6CD5\\uFF0C\\u8BF7\\u8F93\\u5165 'click'\\uFF0C'drag'\")),this.key&&gf.indexOf(this.key.toLowerCase())===-1&&(this.trigger=void 0,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\")),this.trigger===\"drag\"?o={\"node:dragstart\":\"onClick\",\"combo:dragstart\":\"onClick\",drag:\"updateEndPoint\",\"node:drop\":\"onClick\",\"combo:drop\":\"onClick\",dragend:\"onDragEnd\"}:this.trigger===\"click\"&&(o={\"node:click\":\"onClick\",mousemove:\"updateEndPoint\",\"edge:click\":\"cancelCreating\",\"canvas:click\":\"cancelCreating\",\"combo:click\":\"onClick\"}),this.key&&(o.keydown=\"onKeyDown\",o.keyup=\"onKeyUp\"),o},onDragEnd:function(o){if(!this.key||this.keydown){var t=o.item;t&&t.getID()!==this.source&&t.getType()===\"node\"||this.cancelCreating({item:this.edge,x:o.x,y:o.y})}},onClick:function(o){if(!this.key||this.keydown){var t=o.item,e=this.graph,n=t.getModel(),i=this.getEdgeConfig;if(this.addingEdge&&this.edge){if(!this.shouldEnd(o,this))return;var d=void 0;d=i&&Object(s.isFunction)(i)?i({source:this.source,target:n.id},this):this.edgeConfig;var g=Object(l.__assign)({target:n.id},d);if(this.source===n.id&&(g.type=\"loop\"),e.emit(\"beforecreateedge\",{}),e.updateItem(this.edge,g,!1),e.get(\"enabledStack\")){var _=Object(l.__assign)(Object(l.__assign)({},this.edge.getModel()),{itemType:\"edge\"}),I={};I.edges=[_],e.pushStack(\"add\",{before:{},after:I})}e.emit(\"aftercreateedge\",{edge:this.edge}),this.edge.getKeyShape().set(\"capture\",!0),this.edge=null,this.addingEdge=!1}else{if(!this.shouldBegin(o,this))return;d=void 0,d=i&&Object(s.isFunction)(i)?i({source:n.id,target:n.id},this):this.edgeConfig,this.edge=e.addItem(\"edge\",Object(l.__assign)({source:n.id,target:n.id},d),!1),this.source=n.id,this.addingEdge=!0,this.edge.getKeyShape().set(\"capture\",!1)}}},updateEndPoint:function(o){if(!this.key||this.keydown){this.edge&&this.edge.destroyed&&this.cancelCreating({item:this.edge});var t={x:o.x,y:o.y};this.graph.findById(this.source)?this.addingEdge&&this.edge&&this.graph.updateItem(this.edge,{target:t},!1):this.addingEdge=!1}},cancelCreating:function(o){var t,e;if(!this.key||this.keydown){var n=this.graph,i=o.item;return this.addingEdge&&(this.edge===i||!((e=(t=o.target)===null||t===void 0?void 0:t.isCanvas)===null||e===void 0)&&e.call(t))?(this.edge&&!this.edge.destroyed&&n.removeItem(this.edge,!1),this.edge=null,void(this.addingEdge=!1)):void 0}},onKeyDown:function(o){var t=o.key;t&&(t.toLowerCase()===this.key.toLowerCase()?this.keydown=!0:this.keydown=!1)},onKeyUp:function(){this.addingEdge&&this.edge&&(this.graph.removeItem(this.edge,!1),this.addingEdge=!1,this.edge=null),this.keydown=!1}},\"shortcuts-call\":{getDefaultCfg:function(){return{trigger:\"ctrl\",combinedKey:\"1\",functionName:\"fitView\",functionParams:[]}},getEvents:function(){return pd.indexOf(this.trigger.toLowerCase())>-1||(this.trigger=\"ctrl\",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(o){var t=o.key;if(t){var e=this.trigger.toLowerCase(),n=t.toLowerCase();this.triggerKeydown||(this.triggerKeydown=n===e||n===\"control\"&&e===\"ctrl\"||n===\"ctrl\"&&e===\"control\");var i=this.graph;if(!i[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 d=this.combinedKey.toLowerCase();this.triggerKeydown&&(n===d||n===\"control\"&&d===\"ctrl\"||n===\"ctrl\"&&d===\"control\")&&(this.functionParams&&this.functionParams.length?i[this.functionName].apply(i,this.functionParams):i[this.functionName]())}else this.functionParams&&this.functionParams.length?i[this.functionName].apply(i,this.functionParams):i[this.functionName]()}},onKeyUp:function(){this.brush&&(this.brush.remove(!0),this.brush=null,this.dragging=!1),this.triggerKeydown=!1}},\"scroll-canvas\":{getDefaultCfg:function(){return{direction:\"both\",enableOptimize:!1,zoomKey:\"ctrl\",scalableRange:0,allowDragOnItem:!0}},getEvents:function(){return this.zoomKey&&gd.indexOf(this.zoomKey)!==-1||(this.zoomKey=\"ctrl\"),{wheel:\"onWheel\"}},onWheel:function(o){var t=this;if(this.allowDrag(o)){var e=this.graph,n=Array.isArray(this.zoomKey)?[].concat(this.zoomKey):[this.zoomKey];if(n.includes(\"control\")&&n.push(\"ctrl\"),n.some(function(Xo){return o[\"\".concat(Xo,\"Key\")]})){var i=e.get(\"canvas\").getPointByClient(o.clientX,o.clientY),d=e.getZoom();o.wheelDelta>0?d+=.05*d:d-=.05*d,e.zoomTo(d,{x:i.x,y:i.y})}else{var g=o.deltaX||o.movementX,_=o.deltaY||o.movementY;!_&&navigator.userAgent.indexOf(\"Firefox\")>-1&&(_=125*-o.wheelDelta/3);var I=this.graph.get(\"width\"),D=this.graph.get(\"height\"),H=this.graph.get(\"canvas\").getCanvasBBox(),Z=this.scalableRange,te=this.scalableRange;Z<1&&Z>-1&&(Z*=I,te*=D);var de=H.minX,Pe=H.maxX,Ge=H.minY,Qe=H.maxY;g>0?Pe<-Z?g=0:Pe-g<-Z&&(g=Pe+Z):g<0&&(de>I+Z?g=0:de-g>I+Z&&(g=de-(I+Z))),_>0?Qe<-te?_=0:Qe-_<-te&&(_=Qe+te):_<0&&(Ge>D+te?_=0:Ge-_>D+te&&(_=Ge-(D+te))),this.get(\"direction\")===\"x\"?_=0:this.get(\"direction\")===\"y\"&&(g=0),e.translate(-g,-_)}if(o.preventDefault(),this.get(\"enableOptimize\")){var Xe=this.get(\"optimizeZoom\"),yt=this.get(\"optimized\"),Ct=e.getNodes(),on=e.getEdges(),sn=Ct.length,Nn=on.length;if(!yt){for(var Tn=0;Tn<sn;Tn++){var Bn=Ct[Tn];if(!Bn.destroyed)for(var Hn=(po=Bn.get(\"group\").get(\"children\")).length,Sr=0;Sr<Hn;Sr++)(wo=po[Sr]).destoryed||wo.get(\"isKeyShape\")||(wo.set(\"ori-visibility\",wo.get(\"ori-visibility\")||wo.get(\"visible\")),wo.hide())}for(var Cr=0;Cr<Nn;Cr++){var po;for(Hn=(po=on[Cr].get(\"group\").get(\"children\")).length,Sr=0;Sr<Hn;Sr++){var wo;(wo=po[Sr]).set(\"ori-visibility\",wo.get(\"ori-visibility\")||wo.get(\"visible\")),wo.hide()}}this.set(\"optimized\",!0)}clearTimeout(this.get(\"timeout\"));var Po=setTimeout(function(){var Xo=e.getZoom();if(t.get(\"optimized\")){t.set(\"optimized\",!1);for(var ri=0;ri<sn;ri++){var ki=Ct[ri],T=(He=ki.get(\"group\").get(\"children\")).length;if(Xo<Xe)(K=(Ye=ki.getKeyShape()).get(\"ori-visibility\"))&&Ye.show();else for(var B=0;B<T;B++){var K=(bn=He[B]).get(\"ori-visibility\");!bn.get(\"visible\")&&K&&K&&bn.show()}}for(var Se=0;Se<Nn;Se++){var He,Ye,Et=on[Se];if(T=(He=Et.get(\"group\").get(\"children\")).length,Xo<Xe)(K=(Ye=Et.getKeyShape()).get(\"ori-visibility\"))&&Ye.show();else for(B=0;B<T;B++){var bn;(bn=He[B]).get(\"visible\")||(K=bn.get(\"ori-visibility\"))&&bn.show()}}}},100);this.set(\"timeout\",Po)}}},allowDrag:function(o){var t,e,n=o.target,i=n&&n.isCanvas&&n.isCanvas();if(Object(s.isBoolean)(this.allowDragOnItem)&&!this.allowDragOnItem&&!i)return!1;if(Object(s.isObject)(this.allowDragOnItem)){var d=this.allowDragOnItem,g=d.node,_=d.edge,I=d.combo,D=(e=(t=o.item)===null||t===void 0?void 0:t.getType)===null||e===void 0?void 0:e.call(t);if(!g&&D===\"node\"||!_&&D===\"edge\"||!I&&D===\"combo\")return!1}return!0}}};Object(s.each)(vf,function(o,t){Ls(t,o)});var mf=Object(l.__assign)(Object(l.__assign)({},y),ws),Ff=Ks.Grid,vd=Ks.Minimap,ed=Ks.Bundling,td=Ks.Menu,yf=Ks.Fisheye,nd=Ks.ToolBar,rd=Ks.Tooltip,od=Ks.TimeBar,zf=Ks.ImageMinimap,$f=Ks.EdgeFilterLens,du=Ks.SnapLine,Ou=Ks.Legend,Hf=Ks.Annotation,id={version:di.version,Graph:Cs,TreeGraph:ds,Util:Ht,Layout:Li.Layouts,TreeLayout:wn,registerLayout:On,Global:di,registerBehavior:Ls,registerCombo:Va,registerEdge:Ua,registerNode:Ba,Minimap:Ks.Minimap,Grid:Ks.Grid,Bundling:Ks.Bundling,Menu:Ks.Menu,ToolBar:Ks.ToolBar,Tooltip:Ks.Tooltip,Legend:Ks.Legend,TimeBar:od,SnapLine:du,Fisheye:yf,ImageMinimap:zf,EdgeFilterLens:$f,Annotation:Hf,Algorithm:mf,Arrow:Ii,Marker:pa,Shape:na};id.version=\"4.8.8\",c.default=id;var ad=\"4.8.8\"}]).default})},12641:function(Pt,Ee){\"use strict\";var c=this&&this.__assign||function(){return c=Object.assign||function(b){for(var p,u=1,a=arguments.length;u<a;u++){p=arguments[u];for(var f in p)Object.prototype.hasOwnProperty.call(p,f)&&(b[f]=p[f])}return b},c.apply(this,arguments)},r=this&&this.__spreadArrays||function(){for(var b=0,p=0,u=arguments.length;p<u;p++)b+=arguments[p].length;for(var a=Array(b),f=0,p=0;p<u;p++)for(var h=arguments[p],l=0,s=h.length;l<s;l++,f++)a[f]=h[l];return a};Object.defineProperty(Ee,\"__esModule\",{value:!0});var y=[];function N(b){var p=typeof b;return b!==null&&(p===\"object\"||p===\"function\")}function C(b){return Object.prototype.toString.call(b)===\"[object RegExp]\"}function w(b){return Object.getOwnPropertySymbols(b).filter(function(p){return Object.prototype.propertyIsEnumerable.call(b,p)})}function O(b,p,u){u===void 0&&(u=\"\");var a={indent:\"\t\",singleQuotes:!0},f=c(c({},a),p),h;f.inlineCharacterLimit===void 0?h={newLine:`\n`,newLineOrSpace:`\n`,pad:u,indent:u+f.indent}:h={newLine:\"@@__PRETTY_PRINT_NEW_LINE__@@\",newLineOrSpace:\"@@__PRETTY_PRINT_NEW_LINE_OR_SPACE__@@\",pad:\"@@__PRETTY_PRINT_PAD__@@\",indent:\"@@__PRETTY_PRINT_INDENT__@@\"};var l=function(x){if(f.inlineCharacterLimit===void 0)return x;var M=x.replace(new RegExp(h.newLine,\"g\"),\"\").replace(new RegExp(h.newLineOrSpace,\"g\"),\" \").replace(new RegExp(h.pad+\"|\"+h.indent,\"g\"),\"\");return M.length<=f.inlineCharacterLimit?M:x.replace(new RegExp(h.newLine+\"|\"+h.newLineOrSpace,\"g\"),`\n`).replace(new RegExp(h.pad,\"g\"),u).replace(new RegExp(h.indent,\"g\"),u+f.indent)};if(y.indexOf(b)!==-1)return'\"[Circular]\"';if(b==null||typeof b==\"number\"||typeof b==\"boolean\"||typeof b==\"function\"||typeof b==\"symbol\"||C(b))return String(b);if(b instanceof Date)return\"new Date('\"+b.toISOString()+\"')\";if(Array.isArray(b)){if(b.length===0)return\"[]\";y.push(b);var s=\"[\"+h.newLine+b.map(function(x,M){var E=b.length-1===M?h.newLine:\",\"+h.newLineOrSpace,j=O(x,f,u+f.indent);return f.transform&&(j=f.transform(b,M,j)),h.indent+j+E}).join(\"\")+h.pad+\"]\";return y.pop(),l(s)}if(N(b)){var m=r(Object.keys(b),w(b));if(f.filter&&(m=m.filter(function(M){return f.filter&&f.filter(b,M)})),m.length===0)return\"{}\";y.push(b);var s=\"{\"+h.newLine+m.map(function(M,E){var j=m.length-1===E?h.newLine:\",\"+h.newLineOrSpace,L=typeof M==\"symbol\",A=!L&&/^[a-z$_][a-z$_0-9]*$/i.test(M.toString()),J=L||A?M:O(M,f),q=O(b[M],f,u+f.indent);return f.transform&&(q=f.transform(b,M,q)),h.indent+String(J)+\": \"+q+j}).join(\"\")+h.pad+\"}\";return y.pop(),l(s)}return b=String(b).replace(/[\\r\\n]/g,function(x){return x===`\n`?\"\\\\n\":\"\\\\r\"}),f.singleQuotes?(b=b.replace(/\\\\?'/g,\"\\\\'\"),\"'\"+b+\"'\"):(b=b.replace(/\"/g,'\\\\\"'),'\"'+b+'\"')}Ee.prettyPrint=O},36914:function(Pt,Ee,c){\"use strict\";c.d(Ee,{T6:function(){return h},VD:function(){return l},WE:function(){return b},Yt:function(){return s},lC:function(){return N},py:function(){return O},rW:function(){return y},s:function(){return u},ve:function(){return w},vq:function(){return p}});var r=c(42825);function y(m,x,M){return{r:(0,r.sh)(m,255)*255,g:(0,r.sh)(x,255)*255,b:(0,r.sh)(M,255)*255}}function N(m,x,M){m=(0,r.sh)(m,255),x=(0,r.sh)(x,255),M=(0,r.sh)(M,255);var E=Math.max(m,x,M),j=Math.min(m,x,M),L=0,A=0,J=(E+j)/2;if(E===j)A=0,L=0;else{var q=E-j;switch(A=J>.5?q/(2-E-j):q/(E+j),E){case m:L=(x-M)/q+(x<M?6:0);break;case x:L=(M-m)/q+2;break;case M:L=(m-x)/q+4;break;default:break}L/=6}return{h:L,s:A,l:J}}function C(m,x,M){return M<0&&(M+=1),M>1&&(M-=1),M<1/6?m+(x-m)*(6*M):M<1/2?x:M<2/3?m+(x-m)*(2/3-M)*6:m}function w(m,x,M){var E,j,L;if(m=(0,r.sh)(m,360),x=(0,r.sh)(x,100),M=(0,r.sh)(M,100),x===0)j=M,L=M,E=M;else{var A=M<.5?M*(1+x):M+x-M*x,J=2*M-A;E=C(J,A,m+1/3),j=C(J,A,m),L=C(J,A,m-1/3)}return{r:E*255,g:j*255,b:L*255}}function O(m,x,M){m=(0,r.sh)(m,255),x=(0,r.sh)(x,255),M=(0,r.sh)(M,255);var E=Math.max(m,x,M),j=Math.min(m,x,M),L=0,A=E,J=E-j,q=E===0?0:J/E;if(E===j)L=0;else{switch(E){case m:L=(x-M)/J+(x<M?6:0);break;case x:L=(M-m)/J+2;break;case M:L=(m-x)/J+4;break;default:break}L/=6}return{h:L,s:q,v:A}}function b(m,x,M){m=(0,r.sh)(m,360)*6,x=(0,r.sh)(x,100),M=(0,r.sh)(M,100);var E=Math.floor(m),j=m-E,L=M*(1-x),A=M*(1-j*x),J=M*(1-(1-j)*x),q=E%6,re=[M,A,L,L,J,M][q],me=[J,M,M,A,L,L][q],Te=[L,L,J,M,M,A][q];return{r:re*255,g:me*255,b:Te*255}}function p(m,x,M,E){var j=[(0,r.FZ)(Math.round(m).toString(16)),(0,r.FZ)(Math.round(x).toString(16)),(0,r.FZ)(Math.round(M).toString(16))];return E&&j[0].startsWith(j[0].charAt(1))&&j[1].startsWith(j[1].charAt(1))&&j[2].startsWith(j[2].charAt(1))?j[0].charAt(0)+j[1].charAt(0)+j[2].charAt(0):j.join(\"\")}function u(m,x,M,E,j){var L=[(0,r.FZ)(Math.round(m).toString(16)),(0,r.FZ)(Math.round(x).toString(16)),(0,r.FZ)(Math.round(M).toString(16)),(0,r.FZ)(f(E))];return j&&L[0].startsWith(L[0].charAt(1))&&L[1].startsWith(L[1].charAt(1))&&L[2].startsWith(L[2].charAt(1))&&L[3].startsWith(L[3].charAt(1))?L[0].charAt(0)+L[1].charAt(0)+L[2].charAt(0)+L[3].charAt(0):L.join(\"\")}function a(m,x,M,E){var j=[pad2(f(E)),pad2(Math.round(m).toString(16)),pad2(Math.round(x).toString(16)),pad2(Math.round(M).toString(16))];return j.join(\"\")}function f(m){return Math.round(parseFloat(m)*255).toString(16)}function h(m){return l(m)/255}function l(m){return parseInt(m,16)}function s(m){return{r:m>>16,g:(m&65280)>>8,b:m&255}}},71859:function(Pt,Ee,c){\"use strict\";c.d(Ee,{R: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\"}},31105:function(Pt,Ee,c){\"use strict\";c.d(Ee,{uA:function(){return C}});var r=c(36914),y=c(71859),N=c(42825);function C(l){var s={r:0,g:0,b:0},m=1,x=null,M=null,E=null,j=!1,L=!1;return typeof l==\"string\"&&(l=f(l)),typeof l==\"object\"&&(h(l.r)&&h(l.g)&&h(l.b)?(s=(0,r.rW)(l.r,l.g,l.b),j=!0,L=String(l.r).substr(-1)===\"%\"?\"prgb\":\"rgb\"):h(l.h)&&h(l.s)&&h(l.v)?(x=(0,N.JX)(l.s),M=(0,N.JX)(l.v),s=(0,r.WE)(l.h,x,M),j=!0,L=\"hsv\"):h(l.h)&&h(l.s)&&h(l.l)&&(x=(0,N.JX)(l.s),E=(0,N.JX)(l.l),s=(0,r.ve)(l.h,x,E),j=!0,L=\"hsl\"),Object.prototype.hasOwnProperty.call(l,\"a\")&&(m=l.a)),m=(0,N.Yq)(m),{ok:j,format:l.format||L,r:Math.min(255,Math.max(s.r,0)),g:Math.min(255,Math.max(s.g,0)),b:Math.min(255,Math.max(s.b,0)),a:m}}var w=\"[-\\\\+]?\\\\d+%?\",O=\"[-\\\\+]?\\\\d*\\\\.\\\\d+%?\",b=\"(?:\".concat(O,\")|(?:\").concat(w,\")\"),p=\"[\\\\s|\\\\(]+(\".concat(b,\")[,|\\\\s]+(\").concat(b,\")[,|\\\\s]+(\").concat(b,\")\\\\s*\\\\)?\"),u=\"[\\\\s|\\\\(]+(\".concat(b,\")[,|\\\\s]+(\").concat(b,\")[,|\\\\s]+(\").concat(b,\")[,|\\\\s]+(\").concat(b,\")\\\\s*\\\\)?\"),a={CSS_UNIT:new RegExp(b),rgb:new RegExp(\"rgb\"+p),rgba:new RegExp(\"rgba\"+u),hsl:new RegExp(\"hsl\"+p),hsla:new RegExp(\"hsla\"+u),hsv:new RegExp(\"hsv\"+p),hsva:new RegExp(\"hsva\"+u),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 f(l){if(l=l.trim().toLowerCase(),l.length===0)return!1;var s=!1;if(y.R[l])l=y.R[l],s=!0;else if(l===\"transparent\")return{r:0,g:0,b:0,a:0,format:\"name\"};var m=a.rgb.exec(l);return m?{r:m[1],g:m[2],b:m[3]}:(m=a.rgba.exec(l),m?{r:m[1],g:m[2],b:m[3],a:m[4]}:(m=a.hsl.exec(l),m?{h:m[1],s:m[2],l:m[3]}:(m=a.hsla.exec(l),m?{h:m[1],s:m[2],l:m[3],a:m[4]}:(m=a.hsv.exec(l),m?{h:m[1],s:m[2],v:m[3]}:(m=a.hsva.exec(l),m?{h:m[1],s:m[2],v:m[3],a:m[4]}:(m=a.hex8.exec(l),m?{r:(0,r.VD)(m[1]),g:(0,r.VD)(m[2]),b:(0,r.VD)(m[3]),a:(0,r.T6)(m[4]),format:s?\"name\":\"hex8\"}:(m=a.hex6.exec(l),m?{r:(0,r.VD)(m[1]),g:(0,r.VD)(m[2]),b:(0,r.VD)(m[3]),format:s?\"name\":\"hex\"}:(m=a.hex4.exec(l),m?{r:(0,r.VD)(m[1]+m[1]),g:(0,r.VD)(m[2]+m[2]),b:(0,r.VD)(m[3]+m[3]),a:(0,r.T6)(m[4]+m[4]),format:s?\"name\":\"hex8\"}:(m=a.hex3.exec(l),m?{r:(0,r.VD)(m[1]+m[1]),g:(0,r.VD)(m[2]+m[2]),b:(0,r.VD)(m[3]+m[3]),format:s?\"name\":\"hex\"}:!1)))))))))}function h(l){return Boolean(a.CSS_UNIT.exec(String(l)))}},99590:function(Pt,Ee,c){\"use strict\";c.d(Ee,{C:function(){return w}});var r=c(36914),y=c(71859),N=c(31105),C=c(42825),w=function(){function b(p,u){p===void 0&&(p=\"\"),u===void 0&&(u={});var a;if(p instanceof b)return p;typeof p==\"number\"&&(p=(0,r.Yt)(p)),this.originalInput=p;var f=(0,N.uA)(p);this.originalInput=p,this.r=f.r,this.g=f.g,this.b=f.b,this.a=f.a,this.roundA=Math.round(100*this.a)/100,this.format=(a=u.format)!==null&&a!==void 0?a:f.format,this.gradientType=u.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=f.ok}return b.prototype.isDark=function(){return this.getBrightness()<128},b.prototype.isLight=function(){return!this.isDark()},b.prototype.getBrightness=function(){var p=this.toRgb();return(p.r*299+p.g*587+p.b*114)/1e3},b.prototype.getLuminance=function(){var p=this.toRgb(),u,a,f,h=p.r/255,l=p.g/255,s=p.b/255;return h<=.03928?u=h/12.92:u=Math.pow((h+.055)/1.055,2.4),l<=.03928?a=l/12.92:a=Math.pow((l+.055)/1.055,2.4),s<=.03928?f=s/12.92:f=Math.pow((s+.055)/1.055,2.4),.2126*u+.7152*a+.0722*f},b.prototype.getAlpha=function(){return this.a},b.prototype.setAlpha=function(p){return this.a=(0,C.Yq)(p),this.roundA=Math.round(100*this.a)/100,this},b.prototype.isMonochrome=function(){var p=this.toHsl().s;return p===0},b.prototype.toHsv=function(){var p=(0,r.py)(this.r,this.g,this.b);return{h:p.h*360,s:p.s,v:p.v,a:this.a}},b.prototype.toHsvString=function(){var p=(0,r.py)(this.r,this.g,this.b),u=Math.round(p.h*360),a=Math.round(p.s*100),f=Math.round(p.v*100);return this.a===1?\"hsv(\".concat(u,\", \").concat(a,\"%, \").concat(f,\"%)\"):\"hsva(\".concat(u,\", \").concat(a,\"%, \").concat(f,\"%, \").concat(this.roundA,\")\")},b.prototype.toHsl=function(){var p=(0,r.lC)(this.r,this.g,this.b);return{h:p.h*360,s:p.s,l:p.l,a:this.a}},b.prototype.toHslString=function(){var p=(0,r.lC)(this.r,this.g,this.b),u=Math.round(p.h*360),a=Math.round(p.s*100),f=Math.round(p.l*100);return this.a===1?\"hsl(\".concat(u,\", \").concat(a,\"%, \").concat(f,\"%)\"):\"hsla(\".concat(u,\", \").concat(a,\"%, \").concat(f,\"%, \").concat(this.roundA,\")\")},b.prototype.toHex=function(p){return p===void 0&&(p=!1),(0,r.vq)(this.r,this.g,this.b,p)},b.prototype.toHexString=function(p){return p===void 0&&(p=!1),\"#\"+this.toHex(p)},b.prototype.toHex8=function(p){return p===void 0&&(p=!1),(0,r.s)(this.r,this.g,this.b,this.a,p)},b.prototype.toHex8String=function(p){return p===void 0&&(p=!1),\"#\"+this.toHex8(p)},b.prototype.toHexShortString=function(p){return p===void 0&&(p=!1),this.a===1?this.toHexString(p):this.toHex8String(p)},b.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},b.prototype.toRgbString=function(){var p=Math.round(this.r),u=Math.round(this.g),a=Math.round(this.b);return this.a===1?\"rgb(\".concat(p,\", \").concat(u,\", \").concat(a,\")\"):\"rgba(\".concat(p,\", \").concat(u,\", \").concat(a,\", \").concat(this.roundA,\")\")},b.prototype.toPercentageRgb=function(){var p=function(u){return\"\".concat(Math.round((0,C.sh)(u,255)*100),\"%\")};return{r:p(this.r),g:p(this.g),b:p(this.b),a:this.a}},b.prototype.toPercentageRgbString=function(){var p=function(u){return Math.round((0,C.sh)(u,255)*100)};return this.a===1?\"rgb(\".concat(p(this.r),\"%, \").concat(p(this.g),\"%, \").concat(p(this.b),\"%)\"):\"rgba(\".concat(p(this.r),\"%, \").concat(p(this.g),\"%, \").concat(p(this.b),\"%, \").concat(this.roundA,\")\")},b.prototype.toName=function(){if(this.a===0)return\"transparent\";if(this.a<1)return!1;for(var p=\"#\"+(0,r.vq)(this.r,this.g,this.b,!1),u=0,a=Object.entries(y.R);u<a.length;u++){var f=a[u],h=f[0],l=f[1];if(p===l)return h}return!1},b.prototype.toString=function(p){var u=Boolean(p);p=p!=null?p:this.format;var a=!1,f=this.a<1&&this.a>=0,h=!u&&f&&(p.startsWith(\"hex\")||p===\"name\");return h?p===\"name\"&&this.a===0?this.toName():this.toRgbString():(p===\"rgb\"&&(a=this.toRgbString()),p===\"prgb\"&&(a=this.toPercentageRgbString()),(p===\"hex\"||p===\"hex6\")&&(a=this.toHexString()),p===\"hex3\"&&(a=this.toHexString(!0)),p===\"hex4\"&&(a=this.toHex8String(!0)),p===\"hex8\"&&(a=this.toHex8String()),p===\"name\"&&(a=this.toName()),p===\"hsl\"&&(a=this.toHslString()),p===\"hsv\"&&(a=this.toHsvString()),a||this.toHexString())},b.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},b.prototype.clone=function(){return new b(this.toString())},b.prototype.lighten=function(p){p===void 0&&(p=10);var u=this.toHsl();return u.l+=p/100,u.l=(0,C.V2)(u.l),new b(u)},b.prototype.brighten=function(p){p===void 0&&(p=10);var u=this.toRgb();return u.r=Math.max(0,Math.min(255,u.r-Math.round(255*-(p/100)))),u.g=Math.max(0,Math.min(255,u.g-Math.round(255*-(p/100)))),u.b=Math.max(0,Math.min(255,u.b-Math.round(255*-(p/100)))),new b(u)},b.prototype.darken=function(p){p===void 0&&(p=10);var u=this.toHsl();return u.l-=p/100,u.l=(0,C.V2)(u.l),new b(u)},b.prototype.tint=function(p){return p===void 0&&(p=10),this.mix(\"white\",p)},b.prototype.shade=function(p){return p===void 0&&(p=10),this.mix(\"black\",p)},b.prototype.desaturate=function(p){p===void 0&&(p=10);var u=this.toHsl();return u.s-=p/100,u.s=(0,C.V2)(u.s),new b(u)},b.prototype.saturate=function(p){p===void 0&&(p=10);var u=this.toHsl();return u.s+=p/100,u.s=(0,C.V2)(u.s),new b(u)},b.prototype.greyscale=function(){return this.desaturate(100)},b.prototype.spin=function(p){var u=this.toHsl(),a=(u.h+p)%360;return u.h=a<0?360+a:a,new b(u)},b.prototype.mix=function(p,u){u===void 0&&(u=50);var a=this.toRgb(),f=new b(p).toRgb(),h=u/100,l={r:(f.r-a.r)*h+a.r,g:(f.g-a.g)*h+a.g,b:(f.b-a.b)*h+a.b,a:(f.a-a.a)*h+a.a};return new b(l)},b.prototype.analogous=function(p,u){p===void 0&&(p=6),u===void 0&&(u=30);var a=this.toHsl(),f=360/u,h=[this];for(a.h=(a.h-(f*p>>1)+720)%360;--p;)a.h=(a.h+f)%360,h.push(new b(a));return h},b.prototype.complement=function(){var p=this.toHsl();return p.h=(p.h+180)%360,new b(p)},b.prototype.monochromatic=function(p){p===void 0&&(p=6);for(var u=this.toHsv(),a=u.h,f=u.s,h=u.v,l=[],s=1/p;p--;)l.push(new b({h:a,s:f,v:h})),h=(h+s)%1;return l},b.prototype.splitcomplement=function(){var p=this.toHsl(),u=p.h;return[this,new b({h:(u+72)%360,s:p.s,l:p.l}),new b({h:(u+216)%360,s:p.s,l:p.l})]},b.prototype.onBackground=function(p){var u=this.toRgb(),a=new b(p).toRgb(),f=u.a+a.a*(1-u.a);return new b({r:(u.r*u.a+a.r*a.a*(1-u.a))/f,g:(u.g*u.a+a.g*a.a*(1-u.a))/f,b:(u.b*u.a+a.b*a.a*(1-u.a))/f,a:f})},b.prototype.triad=function(){return this.polyad(3)},b.prototype.tetrad=function(){return this.polyad(4)},b.prototype.polyad=function(p){for(var u=this.toHsl(),a=u.h,f=[this],h=360/p,l=1;l<p;l++)f.push(new b({h:(a+l*h)%360,s:u.s,l:u.l}));return f},b.prototype.equals=function(p){return this.toRgbString()===new b(p).toRgbString()},b}();function O(b,p){return b===void 0&&(b=\"\"),p===void 0&&(p={}),new w(b,p)}},42825:function(Pt,Ee,c){\"use strict\";c.d(Ee,{FZ:function(){return b},JX:function(){return O},V2:function(){return y},Yq:function(){return w},sh:function(){return r}});function r(p,u){N(p)&&(p=\"100%\");var a=C(p);return p=u===360?p:Math.min(u,Math.max(0,parseFloat(p))),a&&(p=parseInt(String(p*u),10)/100),Math.abs(p-u)<1e-6?1:(u===360?p=(p<0?p%u+u:p%u)/parseFloat(String(u)):p=p%u/parseFloat(String(u)),p)}function y(p){return Math.min(1,Math.max(0,p))}function N(p){return typeof p==\"string\"&&p.indexOf(\".\")!==-1&&parseFloat(p)===1}function C(p){return typeof p==\"string\"&&p.indexOf(\"%\")!==-1}function w(p){return p=parseFloat(p),(isNaN(p)||p<0||p>1)&&(p=1),p}function O(p){return p<=1?\"\".concat(Number(p)*100,\"%\"):p}function b(p){return p.length===1?\"0\"+p:String(p)}},72506:function(Pt,Ee,c){\"use strict\";var r;r={value:!0};var y=Object.assign||function(p){for(var u=1;u<arguments.length;u++){var a=arguments[u];for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&(p[f]=a[f])}return p},N=c(50959),C=w(N);function w(p){return p&&p.__esModule?p:{default:p}}function O(p,u){var a={};for(var f in p)u.indexOf(f)>=0||Object.prototype.hasOwnProperty.call(p,f)&&(a[f]=p[f]);return a}var b=24;Ee.Z=function(p){var u=p.fill,a=u===void 0?\"currentColor\":u,f=p.width,h=f===void 0?b:f,l=p.height,s=l===void 0?b:l,m=p.style,x=m===void 0?{}:m,M=O(p,[\"fill\",\"width\",\"height\",\"style\"]);return C.default.createElement(\"svg\",y({viewBox:\"0 0 \"+b+\" \"+b,style:y({fill:a,width:h,height:s},x)},M),C.default.createElement(\"path\",{d:\"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z\"}))}},29926:function(Pt,Ee,c){\"use strict\";var r;r={value:!0};var y=Object.assign||function(p){for(var u=1;u<arguments.length;u++){var a=arguments[u];for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&(p[f]=a[f])}return p},N=c(50959),C=w(N);function w(p){return p&&p.__esModule?p:{default:p}}function O(p,u){var a={};for(var f in p)u.indexOf(f)>=0||Object.prototype.hasOwnProperty.call(p,f)&&(a[f]=p[f]);return a}var b=24;Ee.Z=function(p){var u=p.fill,a=u===void 0?\"currentColor\":u,f=p.width,h=f===void 0?b:f,l=p.height,s=l===void 0?b:l,m=p.style,x=m===void 0?{}:m,M=O(p,[\"fill\",\"width\",\"height\",\"style\"]);return C.default.createElement(\"svg\",y({viewBox:\"0 0 \"+b+\" \"+b,style:y({fill:a,width:h,height:s},x)},M),C.default.createElement(\"path\",{d:\"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z\"}))}},14254:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return pn}});var r=c(75782),y=c(91600),N=c(58733),C=c(50959),w=c.t(C,2),O=c(10422),b=c(61237),p=c(64111),u=C.createContext(null),a=u,f=c(49544),h=c(57770),l=[];function s(en,Wn){var Mn=C.useState(function(){if(!(0,b.Z)())return null;var bt=document.createElement(\"div\");return bt}),Kn=(0,y.Z)(Mn,1),hr=Kn[0],pr=C.useRef(!1),zr=C.useContext(a),Wr=C.useState(l),Nr=(0,y.Z)(Wr,2),Kr=Nr[0],ko=Nr[1],Ur=zr||(pr.current?void 0:function(bt){ko(function(Zt){var gt=[bt].concat((0,f.Z)(Zt));return gt})});function gn(){hr.parentElement||document.body.appendChild(hr),pr.current=!0}function Gt(){var bt;(bt=hr.parentElement)===null||bt===void 0||bt.removeChild(hr),pr.current=!1}return(0,h.Z)(function(){return en?zr?zr(gn):gn():Gt(),Gt},[en]),(0,h.Z)(function(){Kr.length&&(Kr.forEach(function(bt){return bt()}),ko(l))},[Kr]),[hr,Ur]}var m=c(52797),x;function M(en){if(typeof document==\"undefined\")return 0;if(en||x===void 0){var Wn=document.createElement(\"div\");Wn.style.width=\"100%\",Wn.style.height=\"200px\";var Mn=document.createElement(\"div\"),Kn=Mn.style;Kn.position=\"absolute\",Kn.top=\"0\",Kn.left=\"0\",Kn.pointerEvents=\"none\",Kn.visibility=\"hidden\",Kn.width=\"200px\",Kn.height=\"150px\",Kn.overflow=\"hidden\",Mn.appendChild(Wn),document.body.appendChild(Mn);var hr=Wn.offsetWidth;Mn.style.overflow=\"scroll\";var pr=Wn.offsetWidth;hr===pr&&(pr=Mn.clientWidth),document.body.removeChild(Mn),x=hr-pr}return x}function E(en){var Wn=en.match(/^(.*)px$/),Mn=Number(Wn==null?void 0:Wn[1]);return Number.isNaN(Mn)?M():Mn}function j(en){if(typeof document==\"undefined\"||!en||!(en instanceof Element))return{width:0,height:0};var Wn=getComputedStyle(en,\"::-webkit-scrollbar\"),Mn=Wn.width,Kn=Wn.height;return{width:E(Mn),height:E(Kn)}}function L(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var A=\"rc-util-locker-\".concat(Date.now()),J=0;function q(en){var Wn=!!en,Mn=C.useState(function(){return J+=1,\"\".concat(A,\"_\").concat(J)}),Kn=(0,y.Z)(Mn,1),hr=Kn[0];(0,h.Z)(function(){if(Wn){var pr=M(),zr=L();(0,m.hq)(`\nhtml body {\n  overflow-y: hidden;\n  `.concat(zr?\"width: calc(100% - \".concat(pr,\"px);\"):\"\",`\n}`),hr)}else(0,m.jL)(hr);return function(){(0,m.jL)(hr)}},[Wn,hr])}var re=!1;function me(en){return typeof en==\"boolean\"&&(re=en),re}var Te=function(Wn){return Wn===!1?!1:!(0,b.Z)()||!Wn?null:typeof Wn==\"string\"?document.querySelector(Wn):typeof Wn==\"function\"?Wn():Wn},ee=C.forwardRef(function(en,Wn){var Mn=en.open,Kn=en.autoLock,hr=en.getContainer,pr=en.debug,zr=en.autoDestroy,Wr=zr===void 0?!0:zr,Nr=en.children,Kr=C.useState(Mn),ko=(0,y.Z)(Kr,2),Ur=ko[0],gn=ko[1],Gt=Ur||Mn;C.useEffect(function(){(Wr||Mn)&&gn(Mn)},[Mn,Wr]);var bt=C.useState(function(){return Te(hr)}),Zt=(0,y.Z)(bt,2),gt=Zt[0],Wt=Zt[1];C.useEffect(function(){var Mr=Te(hr);Wt(Mr!=null?Mr:null)});var xn=s(Gt&&!gt,pr),Dt=(0,y.Z)(xn,2),Xn=Dt[0],Rn=Dt[1],wt=gt!=null?gt:Xn;q(Kn&&Mn&&(0,b.Z)()&&(wt===Xn||wt===document.body));var pt=null;if(Nr&&(0,p.Yr)(Nr)&&Wn){var Ue=Nr;pt=Ue.ref}var xt=(0,p.x1)(pt,Wn);if(!Gt||!(0,b.Z)()||gt===void 0)return null;var cn=wt===!1||me(),er=Nr;return Wn&&(er=C.cloneElement(Nr,{ref:xt})),C.createElement(a.Provider,{value:Rn},cn?er:(0,O.createPortal)(er,wt))}),xe=ee,Ie=xe,Le=c(84875),De=c.n(Le),ce=c(60555),ye=c(90899),Oe=c(51761);function Ce(){var en=(0,r.Z)({},w);return en.useId}var oe=0;function he(){}function ie(en){var Wn=C.useState(\"ssr-id\"),Mn=(0,y.Z)(Wn,2),Kn=Mn[0],hr=Mn[1],pr=Ce(),zr=pr==null?void 0:pr();return C.useEffect(function(){if(!pr){var Wr=oe;oe+=1,hr(\"rc_unique_\".concat(Wr))}},[]),en||zr||Kn}var ae=c(31591),ve=c(53675),X=C.createContext(null),se=X;function fe(en){return en?Array.isArray(en)?en:[en]:[]}function _e(en,Wn,Mn,Kn){return C.useMemo(function(){var hr=fe(Mn!=null?Mn:Wn),pr=fe(Kn!=null?Kn:Wn),zr=new Set(hr),Wr=new Set(pr);return en&&(zr.has(\"hover\")&&(zr.delete(\"hover\"),zr.add(\"click\")),Wr.has(\"hover\")&&(Wr.delete(\"hover\"),Wr.add(\"click\"))),[zr,Wr]},[en,Wn,Mn,Kn])}var be=c(25155);function We(){var en=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Wn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Mn=arguments.length>2?arguments[2]:void 0;return Mn?en[0]===Wn[0]:en[0]===Wn[0]&&en[1]===Wn[1]}function we(en,Wn,Mn,Kn){for(var hr=Mn.points,pr=Object.keys(en),zr=0;zr<pr.length;zr+=1){var Wr,Nr=pr[zr];if(We((Wr=en[Nr])===null||Wr===void 0?void 0:Wr.points,hr,Kn))return\"\".concat(Wn,\"-placement-\").concat(Nr)}return\"\"}function Ze(en,Wn,Mn,Kn){return Wn||(Mn?{motionName:\"\".concat(en,\"-\").concat(Mn)}:Kn?{motionName:Kn}:null)}function Ve(en){return en.ownerDocument.defaultView}function et(en){for(var Wn=[],Mn=en==null?void 0:en.parentElement,Kn=[\"hidden\",\"scroll\",\"auto\"];Mn;){var hr=Ve(Mn).getComputedStyle(Mn),pr=hr.overflowX,zr=hr.overflowY;(Kn.includes(pr)||Kn.includes(zr))&&Wn.push(Mn),Mn=Mn.parentElement}return Wn}function ht(en){return Number.isNaN(en)?1:en}function Fe(){var en=arguments.length>0&&arguments[0]!==void 0?arguments[0]:\"\";return[en[0],en[1]]}function mt(en,Wn){var Mn=Wn[0],Kn=Wn[1],hr,pr;return Mn===\"t\"?pr=en.y:Mn===\"b\"?pr=en.y+en.height:pr=en.y+en.height/2,Kn===\"l\"?hr=en.x:Kn===\"r\"?hr=en.x+en.width:hr=en.x+en.width/2,{x:hr,y:pr}}function dt(en,Wn){var Mn={t:\"b\",b:\"t\",l:\"r\",r:\"l\"};return en.map(function(Kn,hr){return hr===Wn?Mn[Kn]||\"c\":Kn}).join(\"\")}function Lt(en,Wn,Mn,Kn,hr,pr,zr){var Wr=C.useState({ready:!1,offsetX:0,offsetY:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:hr[Kn]||{}}),Nr=(0,y.Z)(Wr,2),Kr=Nr[0],ko=Nr[1],Ur=C.useRef(0),gn=C.useMemo(function(){return Wn?et(Wn):[]},[Wn]),Gt=(0,Oe.Z)(function(){if(Wn&&Mn&&en){let z=function(Q,F){var V=Q+mi,U=F+wi,ge=Math.max(Q,$e.left),ke=Math.max(F,$e.top),St=Math.min(V,$e.right),Je=Math.min(U,$e.bottom);return(St-ge)*(Je-ke)};var gt=Wn,Wt=gt.style.left,xn=gt.style.top,Dt=gt.ownerDocument,Xn=Ve(gt),Rn=(0,r.Z)((0,r.Z)({},hr[Kn]),pr);gt.style.left=\"0\",gt.style.top=\"0\";var wt;if(Array.isArray(Mn))wt={x:Mn[0],y:Mn[1],width:0,height:0};else{var pt=Mn.getBoundingClientRect();wt={x:pt.x,y:pt.y,width:pt.width,height:pt.height}}var Ue=gt.getBoundingClientRect(),xt=Xn.getComputedStyle(gt),cn=xt.width,er=xt.height,Mr=Dt.documentElement,xr=Mr.clientWidth,jr=Mr.clientHeight,yo=Mr.scrollWidth,eo=Mr.scrollHeight,vi=Mr.scrollTop,Ti=Mr.scrollLeft,wi=Ue.height,mi=Ue.width,Zi=wt.height,aa=wt.width,$e=Rn.htmlRegion===\"scroll\"?{left:-Ti,top:-vi,right:yo-Ti,bottom:eo-vi}:{left:0,top:0,right:xr,bottom:jr};(gn||[]).forEach(function(Q){if(!(Q instanceof HTMLBodyElement)){var F=Q.getBoundingClientRect(),V=Q.offsetHeight,U=Q.clientHeight,ge=Q.offsetWidth,ke=Q.clientWidth,St=ht(Math.round(F.width/ge*1e3)/1e3),Je=ht(Math.round(F.height/V*1e3)/1e3),Ot=(ge-ke)*St,It=(V-U)*Je,jt=F.x+F.width-Ot,Vt=F.y+F.height-It;$e.left=Math.max($e.left,F.left),$e.top=Math.max($e.top,F.top),$e.right=Math.min($e.right,jt),$e.bottom=Math.min($e.bottom,Vt)}}),gt.style.left=Wt,gt.style.top=xn;var dn=ht(Math.round(mi/parseFloat(cn)*1e3)/1e3),Un=ht(Math.round(wi/parseFloat(er)*1e3)/1e3);if(dn===0||Un===0||(0,ye.S)(Mn)&&!(0,be.Z)(Mn))return;var ar=Rn.offset,Rr=Rn.targetOffset,Ro=ar||[],Vo=(0,y.Z)(Ro,2),Co=Vo[0],Mo=Co===void 0?0:Co,qo=Vo[1],ti=qo===void 0?0:qo,pi=Rr||[],ni=(0,y.Z)(pi,2),si=ni[0],Oi=si===void 0?0:si,Ki=ni[1],ca=Ki===void 0?0:Ki;wt.x+=Oi,wt.y+=ca;var zi=Rn.points||[],br=(0,y.Z)(zi,2),Re=br[0],je=br[1],nt=Fe(je),rt=Fe(Re),Xt=mt(wt,nt),fn=mt(Ue,rt),Cn=(0,r.Z)({},Rn),Yn=Xt.x-fn.x+Mo,Ae=Xt.y-fn.y+ti,Ke=z(Yn,Ae),Mt=mt(wt,[\"t\",\"l\"]),Ut=mt(Ue,[\"t\",\"l\"]),kn=mt(wt,[\"b\",\"r\"]),Zn=mt(Ue,[\"b\",\"r\"]),lr=Rn.overflow||{},wr=lr.adjustX,Dr=lr.adjustY,go=lr.shiftX,Ir=lr.shiftY,Jr=function(F){return typeof F==\"boolean\"?F:F>=0},_o=Ue.y+Ae,No=_o+wi,ii=Jr(Dr),Lo=rt[0]===nt[0];if(ii&&rt[0]===\"t\"&&No>$e.bottom){var ai=Ae;Lo?ai-=wi-Zi:ai=Mt.y-Zn.y-ti,z(Yn,ai)>Ke&&(Ae=ai,Cn.points=[dt(rt,0),dt(nt,0)])}if(ii&&rt[0]===\"b\"&&_o<$e.top){var Si=Ae;Lo?Si+=wi-Zi:Si=kn.y-Ut.y-ti,z(Yn,Si)>Ke&&(Ae=Si,Cn.points=[dt(rt,0),dt(nt,0)])}var Ui=Ue.x+Yn,ln=Ui+mi,mn=Jr(wr),fr=rt[1]===nt[1];if(mn&&rt[1]===\"l\"&&ln>$e.right){var ft=Yn;fr?ft-=mi-aa:ft=Mt.x-Zn.x-Mo,z(ft,Ae)>Ke&&(Yn=ft,Cn.points=[dt(rt,1),dt(nt,1)])}if(mn&&rt[1]===\"r\"&&Ui<$e.left){var ct=Yn;fr?ct+=mi-aa:ct=kn.x-Ut.x-Mo,z(ct,Ae)>Ke&&(Yn=ct,Cn.points=[dt(rt,1),dt(nt,1)])}var tn=go===!0?0:go;typeof tn==\"number\"&&(Ui<$e.left&&(Yn-=Ui-$e.left,wt.x+aa<$e.left+tn&&(Yn+=wt.x-$e.left+aa-tn)),ln>$e.right&&(Yn-=ln-$e.right,wt.x>$e.right-tn&&(Yn+=wt.x-$e.right+tn)));var An=Ir===!0?0:Ir;typeof An==\"number\"&&(_o<$e.top&&(Ae-=_o-$e.top,wt.y+Zi<$e.top+An&&(Ae+=wt.y-$e.top+Zi-An)),No>$e.bottom&&(Ae-=No-$e.bottom,wt.y>$e.bottom-An&&(Ae+=wt.y-$e.bottom+An)));var Rt=Ue.x+Yn,un=Rt+mi,Dn=Ue.y+Ae,dr=Dn+wi,Ar=wt.x,Gr=Ar+aa,Pr=wt.y,Xr=Pr+Zi,oo=Math.max(Rt,Ar),io=Math.min(un,Gr),to=(oo+io)/2,To=to-Rt,jn=Math.max(Dn,Pr),W=Math.min(dr,Xr),P=(jn+W)/2,k=P-Dn;zr==null||zr(Wn,Cn),ko({ready:!0,offsetX:Yn/dn,offsetY:Ae/Un,arrowX:To/dn,arrowY:k/Un,scaleX:dn,scaleY:Un,align:Cn})}}),bt=function(){Ur.current+=1;var Wt=Ur.current;Promise.resolve().then(function(){Ur.current===Wt&&Gt()})},Zt=function(){ko(function(Wt){return(0,r.Z)((0,r.Z)({},Wt),{},{ready:!1})})};return(0,h.Z)(Zt,[Kn]),(0,h.Z)(function(){en||Zt()},[en]),[Kr.ready,Kr.offsetX,Kr.offsetY,Kr.arrowX,Kr.arrowY,Kr.scaleX,Kr.scaleY,Kr.align,bt]}function lt(en,Wn,Mn,Kn){(0,h.Z)(function(){if(en&&Wn&&Mn){let ko=function(){Kn()};var hr=Wn,pr=Mn,zr=et(hr),Wr=et(pr),Nr=Ve(pr),Kr=new Set([Nr].concat((0,f.Z)(zr),(0,f.Z)(Wr)));return Kr.forEach(function(Ur){Ur.addEventListener(\"scroll\",ko,{passive:!0})}),Nr.addEventListener(\"resize\",ko,{passive:!0}),Kn(),function(){Kr.forEach(function(Ur){Ur.removeEventListener(\"scroll\",ko),Nr.removeEventListener(\"resize\",ko)})}}},[en,Wn,Mn])}var rn=c(51163),qt=c(81676);function hn(en){var Wn=en.prefixCls,Mn=en.align,Kn=en.arrowX,hr=Kn===void 0?0:Kn,pr=en.arrowY,zr=pr===void 0?0:pr,Wr=C.useRef();if(!Mn||!Mn.points)return null;var Nr={position:\"absolute\"};if(Mn.autoArrow!==!1){var Kr=Mn.points[0],ko=Mn.points[1],Ur=Kr[0],gn=Kr[1],Gt=ko[0],bt=ko[1];Ur===Gt||![\"t\",\"b\"].includes(Ur)?Nr.top=zr:Ur===\"t\"?Nr.top=0:Nr.bottom=0,gn===bt||![\"l\",\"r\"].includes(gn)?Nr.left=hr:gn===\"l\"?Nr.left=0:Nr.right=0}return C.createElement(\"div\",{ref:Wr,className:\"\".concat(Wn,\"-arrow\"),style:Nr})}function Kt(en){var Wn=en.prefixCls,Mn=en.open,Kn=en.zIndex,hr=en.mask,pr=en.motion;return hr?React.createElement(qt.Z,(0,rn.Z)({},pr,{motionAppear:!0,visible:Mn,removeOnLeave:!0}),function(zr){var Wr=zr.className;return React.createElement(\"div\",{style:{zIndex:Kn},className:De()(\"\".concat(Wn,\"-mask\"),Wr)})}):null}var an=C.forwardRef(function(en,Wn){var Mn=en.popup,Kn=en.className,hr=en.prefixCls,pr=en.style,zr=en.target,Wr=en.onVisibleChanged,Nr=en.open,Kr=en.keepDom,ko=en.onClick,Ur=en.mask,gn=en.arrow,Gt=en.align,bt=en.arrowX,Zt=en.arrowY,gt=en.motion,Wt=en.maskMotion,xn=en.forceRender,Dt=en.getPopupContainer,Xn=en.autoDestroy,Rn=en.portal,wt=en.zIndex,pt=en.onMouseEnter,Ue=en.onMouseLeave,xt=en.ready,cn=en.offsetX,er=en.offsetY,Mr=en.onAlign,xr=en.onPrepare,jr=en.stretch,yo=en.targetWidth,eo=en.targetHeight,vi=typeof Mn==\"function\"?Mn():Mn,Ti=Nr||Kr,wi=(Dt==null?void 0:Dt.length)>0,mi=C.useState(!Dt||!wi),Zi=(0,y.Z)(mi,2),aa=Zi[0],$e=Zi[1];if((0,h.Z)(function(){!aa&&wi&&zr&&$e(!0)},[aa,wi,zr]),!aa)return null;var dn=xt||!Nr?{left:cn,top:er}:{left:\"-1000vw\",top:\"-1000vh\"},Un={};return jr&&(jr.includes(\"height\")&&eo?Un.height=eo:jr.includes(\"minHeight\")&&eo&&(Un.minHeight=eo),jr.includes(\"width\")&&yo?Un.width=yo:jr.includes(\"minWidth\")&&yo&&(Un.minWidth=yo)),Nr||(Un.pointerEvents=\"none\"),C.createElement(Rn,{open:xn||Ti,getContainer:Dt&&function(){return Dt(zr)},autoDestroy:Xn},C.createElement(Kt,{prefixCls:hr,open:Nr,zIndex:wt,mask:Ur,motion:Wt}),C.createElement(ce.Z,{onResize:Mr,disabled:!Nr},function(ar){return C.createElement(qt.Z,(0,rn.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:xn,leavedClassName:\"\".concat(hr,\"-hidden\")},gt,{onAppearPrepare:xr,onEnterPrepare:xr,visible:Nr,onVisibleChanged:function(Ro){var Vo;gt==null||(Vo=gt.onVisibleChanged)===null||Vo===void 0||Vo.call(gt,Ro),Wr(Ro)}}),function(Rr,Ro){var Vo=Rr.className,Co=Rr.style,Mo=De()(hr,Vo,Kn);return C.createElement(\"div\",{ref:(0,p.sQ)(ar,Wn,Ro),className:Mo,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({},dn),Un),Co),{},{boxSizing:\"border-box\",zIndex:wt},pr),onMouseEnter:pt,onMouseLeave:Ue,onClick:ko},gn&&C.createElement(hn,{prefixCls:hr,align:Gt,arrowX:bt,arrowY:Zt}),vi)})}))}),In=an,Ft=C.forwardRef(function(en,Wn){var Mn=en.children,Kn=en.getTriggerDOMNode,hr=(0,p.Yr)(Mn),pr=C.useCallback(function(Wr){(0,p.mH)(Wn,Kn?Kn(Wr):Wr)},[Kn]),zr=(0,p.x1)(pr,Mn.ref);return hr?C.cloneElement(Mn,{ref:zr}):Mn}),kt=Ft,At=[\"prefixCls\",\"children\",\"action\",\"showAction\",\"hideAction\",\"popupVisible\",\"defaultPopupVisible\",\"onPopupVisibleChange\",\"afterPopupVisibleChange\",\"mouseEnterDelay\",\"mouseLeaveDelay\",\"focusDelay\",\"blurDelay\",\"mask\",\"maskClosable\",\"getPopupContainer\",\"forceRender\",\"autoDestroy\",\"destroyPopupOnHide\",\"popup\",\"popupClassName\",\"popupStyle\",\"popupPlacement\",\"builtinPlacements\",\"popupAlign\",\"zIndex\",\"stretch\",\"getPopupClassNameFromAlign\",\"alignPoint\",\"onPopupClick\",\"onPopupAlign\",\"arrow\",\"popupMotion\",\"maskMotion\",\"popupTransitionName\",\"popupAnimation\",\"maskTransitionName\",\"maskAnimation\",\"className\",\"getTriggerDOMNode\"];function Fn(){var en=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ie,Wn=C.forwardRef(function(Mn,Kn){var hr=Mn.prefixCls,pr=hr===void 0?\"rc-trigger-popup\":hr,zr=Mn.children,Wr=Mn.action,Nr=Wr===void 0?\"hover\":Wr,Kr=Mn.showAction,ko=Mn.hideAction,Ur=Mn.popupVisible,gn=Mn.defaultPopupVisible,Gt=Mn.onPopupVisibleChange,bt=Mn.afterPopupVisibleChange,Zt=Mn.mouseEnterDelay,gt=Mn.mouseLeaveDelay,Wt=gt===void 0?.1:gt,xn=Mn.focusDelay,Dt=Mn.blurDelay,Xn=Mn.mask,Rn=Mn.maskClosable,wt=Rn===void 0?!0:Rn,pt=Mn.getPopupContainer,Ue=Mn.forceRender,xt=Mn.autoDestroy,cn=Mn.destroyPopupOnHide,er=Mn.popup,Mr=Mn.popupClassName,xr=Mn.popupStyle,jr=Mn.popupPlacement,yo=Mn.builtinPlacements,eo=yo===void 0?{}:yo,vi=Mn.popupAlign,Ti=Mn.zIndex,wi=Mn.stretch,mi=Mn.getPopupClassNameFromAlign,Zi=Mn.alignPoint,aa=Mn.onPopupClick,$e=Mn.onPopupAlign,dn=Mn.arrow,Un=Mn.popupMotion,ar=Mn.maskMotion,Rr=Mn.popupTransitionName,Ro=Mn.popupAnimation,Vo=Mn.maskTransitionName,Co=Mn.maskAnimation,Mo=Mn.className,qo=Mn.getTriggerDOMNode,ti=(0,N.Z)(Mn,At),pi=xt||cn||!1,ni=C.useState(!1),si=(0,y.Z)(ni,2),Oi=si[0],Ki=si[1];(0,h.Z)(function(){Ki((0,ae.Z)())},[]);var ca=C.useRef({}),zi=C.useContext(se),br=C.useMemo(function(){return{registerSubPopup:function(ho,vo){ca.current[ho]=vo,zi==null||zi.registerSubPopup(ho,vo)}}},[zi]),Re=ie(),je=C.useState(null),nt=(0,y.Z)(je,2),rt=nt[0],Xt=nt[1],fn=(0,Oe.Z)(function(Vr){(0,ye.S)(Vr)&&rt!==Vr&&Xt(Vr),zi==null||zi.registerSubPopup(Re,Vr)}),Cn=C.useState(null),Yn=(0,y.Z)(Cn,2),Ae=Yn[0],Ke=Yn[1],Mt=(0,Oe.Z)(function(Vr){(0,ye.S)(Vr)&&Ae!==Vr&&Ke(Vr)}),Ut=C.Children.only(zr),kn=(Ut==null?void 0:Ut.props)||{},Zn={},lr=(0,Oe.Z)(function(Vr){var ho,vo,uo=Ae;return(uo==null?void 0:uo.contains(Vr))||(uo==null||(ho=uo.getRootNode())===null||ho===void 0?void 0:ho.host)===Vr||Vr===uo||(rt==null?void 0:rt.contains(Vr))||(rt==null||(vo=rt.getRootNode())===null||vo===void 0?void 0:vo.host)===Vr||Vr===rt||Object.values(ca.current).some(function(Go){return Go.contains(Vr)||Vr===Go})}),wr=Ze(pr,Un,Ro,Rr),Dr=Ze(pr,ar,Co,Vo),go=C.useState(gn||!1),Ir=(0,y.Z)(go,2),Jr=Ir[0],_o=Ir[1],No=Ur!=null?Ur:Jr,ii=(0,Oe.Z)(function(Vr){Ur===void 0&&_o(Vr)});(0,h.Z)(function(){_o(Ur||!1)},[Ur]);var Lo=C.useRef(No);Lo.current=No;var ai=(0,Oe.Z)(function(Vr){No!==Vr&&(ii(Vr),Gt==null||Gt(Vr))}),Si=C.useRef(),Ui=function(){clearTimeout(Si.current)},ln=function(ho){var vo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Ui(),vo===0?ai(ho):Si.current=setTimeout(function(){ai(ho)},vo*1e3)};C.useEffect(function(){return Ui},[]);var mn=C.useState(!1),fr=(0,y.Z)(mn,2),ft=fr[0],ct=fr[1],tn=C.useRef(!0);(0,h.Z)(function(){(!tn.current||No)&&ct(!0),tn.current=!0},[No]);var An=C.useState(null),Rt=(0,y.Z)(An,2),un=Rt[0],Dn=Rt[1],dr=C.useState([0,0]),Ar=(0,y.Z)(dr,2),Gr=Ar[0],Pr=Ar[1],Xr=function(ho){Pr([ho.clientX,ho.clientY])},oo=Lt(No,rt,Zi?Gr:Ae,jr,eo,vi,$e),io=(0,y.Z)(oo,9),to=io[0],To=io[1],jn=io[2],W=io[3],P=io[4],k=io[5],z=io[6],Q=io[7],F=io[8],V=(0,Oe.Z)(function(){ft||F()});lt(No,Ae,rt,V),(0,h.Z)(function(){V()},[Gr]),(0,h.Z)(function(){No&&!(eo!=null&&eo[jr])&&V()},[JSON.stringify(vi)]);var U=C.useMemo(function(){var Vr=we(eo,pr,Q,Zi);return De()(Vr,mi==null?void 0:mi(Q))},[Q,mi,eo,pr,Zi]);C.useImperativeHandle(Kn,function(){return{forceAlign:V}});var ge=function(ho){ct(!1),F(),bt==null||bt(ho)},ke=function(){return new Promise(function(ho){Dn(function(){return ho})})};(0,h.Z)(function(){un&&(F(),un(),Dn(null))},[un]);var St=C.useState(0),Je=(0,y.Z)(St,2),Ot=Je[0],It=Je[1],jt=C.useState(0),Vt=(0,y.Z)(jt,2),Pn=Vt[0],Jn=Vt[1],vn=function(ho,vo){if(V(),wi){var uo=vo.getBoundingClientRect();It(uo.width),Jn(uo.height)}},Vn=_e(Oi,Nr,Kr,ko),zt=(0,y.Z)(Vn,2),ir=zt[0],nr=zt[1],ur=function(ho,vo,uo,Go){Zn[ho]=function(Pi){var la;Go==null||Go(Pi),ln(vo,uo);for(var Vi=arguments.length,ha=new Array(Vi>1?Vi-1:0),xa=1;xa<Vi;xa++)ha[xa-1]=arguments[xa];(la=kn[ho])===null||la===void 0||la.call.apply(la,[kn,Pi].concat(ha))}},sr=ir.has(\"click\"),Ln=nr.has(\"click\")||nr.has(\"contextMenu\");(sr||Ln)&&(Zn.onClick=function(Vr){var ho;Lo.current&&Ln?ln(!1):!Lo.current&&sr&&(Xr(Vr),ln(!0));for(var vo=arguments.length,uo=new Array(vo>1?vo-1:0),Go=1;Go<vo;Go++)uo[Go-1]=arguments[Go];(ho=kn.onClick)===null||ho===void 0||ho.call.apply(ho,[kn,Vr].concat(uo))}),C.useEffect(function(){if(Ln&&rt&&(!Xn||wt)){var Vr=function(la){var Vi=la.target;Lo.current&&!lr(Vi)&&ln(!1)},ho=Ve(rt),vo=Ae==null?void 0:Ae.getRootNode();ho.addEventListener(\"click\",Vr);var uo=vo&&vo!==Ae.ownerDocument;if(uo&&vo.addEventListener(\"click\",Vr),!1)var Go;return function(){ho.removeEventListener(\"click\",Vr),uo&&vo.removeEventListener(\"click\",Vr)}}},[Ln,Ae,rt,Xn,wt]);var Bt=ir.has(\"hover\"),En=nr.has(\"hover\"),_n,cr;Bt&&(ur(\"onMouseEnter\",!0,Zt,function(Vr){Xr(Vr)}),_n=function(){ln(!0,Zt)},Zi&&(Zn.onMouseMove=function(Vr){var ho;(ho=kn.onMouseMove)===null||ho===void 0||ho.call(kn,Vr)})),En&&(ur(\"onMouseLeave\",!1,Wt),cr=function(){ln(!1,Wt)}),ir.has(\"focus\")&&ur(\"onFocus\",!0,xn),nr.has(\"focus\")&&ur(\"onBlur\",!1,Dt),ir.has(\"contextMenu\")&&(Zn.onContextMenu=function(Vr){var ho;Xr(Vr),ln(!0),Vr.preventDefault();for(var vo=arguments.length,uo=new Array(vo>1?vo-1:0),Go=1;Go<vo;Go++)uo[Go-1]=arguments[Go];(ho=kn.onContextMenu)===null||ho===void 0||ho.call.apply(ho,[kn,Vr].concat(uo))}),Mo&&(Zn.className=De()(kn.className,Mo));var ao=(0,r.Z)((0,r.Z)({},kn),Zn),kr={},jo=[\"onContextMenu\",\"onClick\",\"onMouseDown\",\"onTouchStart\",\"onMouseEnter\",\"onMouseLeave\",\"onFocus\",\"onBlur\"];jo.forEach(function(Vr){ti[Vr]&&(kr[Vr]=function(){for(var ho,vo=arguments.length,uo=new Array(vo),Go=0;Go<vo;Go++)uo[Go]=arguments[Go];(ho=ao[Vr])===null||ho===void 0||ho.call.apply(ho,[ao].concat(uo)),ti[Vr].apply(ti,uo)})});var ui=C.cloneElement(Ut,(0,r.Z)((0,r.Z)({},ao),kr));return C.createElement(C.Fragment,null,C.createElement(ce.Z,{disabled:!No,ref:Mt,onResize:vn},C.createElement(kt,{getTriggerDOMNode:qo},ui)),C.createElement(se.Provider,{value:br},C.createElement(In,{portal:en,ref:fn,prefixCls:pr,popup:er,className:De()(Mr,U),style:xr,target:Ae,onMouseEnter:_n,onMouseLeave:cr,zIndex:Ti,open:No,keepDom:ft,onClick:aa,mask:Xn,motion:wr,maskMotion:Dr,onVisibleChanged:ge,onPrepare:ke,forceRender:Ue,autoDestroy:pi,getPopupContainer:pt,align:Q,arrow:dn,ready:to,offsetX:To,offsetY:jn,arrowX:W,arrowY:P,onAlign:V,stretch:wi,targetWidth:Ot/k,targetHeight:Pn/z})))});return Wn}var pn=Fn(Ie)},33212:function(Pt){var Ee={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};Pt.exports=function(c,r){return typeof r==\"number\"&&!Ee[c]?r+\"px\":r}},39671:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return De}});var r=c(96583),y=c(73023),N=c(50959);function C(ce){var ye=(0,N.useRef)(ce);return ye.current=ce,ye}var w=C,O=function(ce){return ce!==null&&typeof ce==\"object\"},b=function(ce){return typeof ce==\"function\"},p=function(ce){return typeof ce==\"string\"},u=function(ce){return typeof ce==\"boolean\"},a=function(ce){return typeof ce==\"number\"},f=function(ce){return typeof ce==\"undefined\"},h=!1,l=h,s=function(ce){l&&(b(ce)||console.error(\"useUnmount expected parameter is a function, got \".concat(typeof ce)));var ye=w(ce);(0,N.useEffect)(function(){return function(){ye.current()}},[])},m=s;function x(ce){var ye=(0,N.useRef)(0),Oe=(0,r.CR)((0,N.useState)(ce),2),Ce=Oe[0],oe=Oe[1],he=(0,N.useCallback)(function(ie){cancelAnimationFrame(ye.current),ye.current=requestAnimationFrame(function(){oe(ie)})},[]);return m(function(){cancelAnimationFrame(ye.current)}),[Ce,he]}var M=x,E=!!(typeof window!=\"undefined\"&&window.document&&window.document.createElement),j=E;function L(ce,ye){if(j){if(!ce)return ye;var Oe;return b(ce)?Oe=ce():\"current\"in ce?Oe=ce.current:Oe=ce,Oe}}function A(ce,ye){if(ce===ye)return!0;for(var Oe=0;Oe<ce.length;Oe++)if(!Object.is(ce[Oe],ye[Oe]))return!1;return!0}var J=function(ce){var ye=function(Oe,Ce,oe){var he=(0,N.useRef)(!1),ie=(0,N.useRef)([]),ae=(0,N.useRef)([]),ve=(0,N.useRef)();ce(function(){var X,se=Array.isArray(oe)?oe:[oe],fe=se.map(function(_e){return L(_e)});if(!he.current){he.current=!0,ie.current=fe,ae.current=Ce,ve.current=Oe();return}(fe.length!==ie.current.length||!A(fe,ie.current)||!A(Ce,ae.current))&&((X=ve.current)===null||X===void 0||X.call(ve),ie.current=fe,ae.current=Ce,ve.current=Oe())}),m(function(){var X;(X=ve.current)===null||X===void 0||X.call(ve),he.current=!1})};return ye},q=J,re=q(N.useEffect),me=re,Te=q(N.useLayoutEffect),ee=Te,xe=j?ee:me,Ie=xe;function Le(ce){var ye=(0,r.CR)(M(function(){var oe=L(ce);return oe?{width:oe.clientWidth,height:oe.clientHeight}:void 0}),2),Oe=ye[0],Ce=ye[1];return Ie(function(){var oe=L(ce);if(oe){var he=new y.Z(function(ie){ie.forEach(function(ae){var ve=ae.target,X=ve.clientWidth,se=ve.clientHeight;Ce({width:X,height:se})})});return he.observe(oe),function(){he.disconnect()}}},[],ce),Oe}var De=Le},30087:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return et}});var r=c(47280),y=c(50959),N=c(35531),C=c(8439),w=c(35807),O=c(61553),b=c(63309),p=c(49308),u=c(19557);let a=Object.assign({},u.Z.Modal);function f(ht){ht?a=Object.assign(Object.assign({},a),ht):a=Object.assign({},u.Z.Modal)}function h(){return a}var l=c(70167);const s=\"internalMark\";var x=ht=>{const{locale:Fe={},children:mt,_ANT_MARK__:dt}=ht;y.useEffect(()=>(f(Fe&&Fe.Modal),()=>{f()}),[Fe]);const Lt=y.useMemo(()=>Object.assign(Object.assign({},Fe),{exist:!0}),[Fe]);return y.createElement(l.Z.Provider,{value:Lt},mt)},M=c(25990),E=c(58526),j=c(81548),L=c(99590),A=c(61237),J=c(52797);const q=`-ant-${Date.now()}-${Math.random()}`;function re(ht,Fe){const mt={},dt=(rn,qt)=>{let hn=rn.clone();return hn=(qt==null?void 0:qt(hn))||hn,hn.toRgbString()},Lt=(rn,qt)=>{const hn=new L.C(rn),Kt=(0,j.R_)(hn.toRgbString());mt[`${qt}-color`]=dt(hn),mt[`${qt}-color-disabled`]=Kt[1],mt[`${qt}-color-hover`]=Kt[4],mt[`${qt}-color-active`]=Kt[6],mt[`${qt}-color-outline`]=hn.clone().setAlpha(.2).toRgbString(),mt[`${qt}-color-deprecated-bg`]=Kt[0],mt[`${qt}-color-deprecated-border`]=Kt[2]};if(Fe.primaryColor){Lt(Fe.primaryColor,\"primary\");const rn=new L.C(Fe.primaryColor),qt=(0,j.R_)(rn.toRgbString());qt.forEach((Kt,an)=>{mt[`primary-${an+1}`]=Kt}),mt[\"primary-color-deprecated-l-35\"]=dt(rn,Kt=>Kt.lighten(35)),mt[\"primary-color-deprecated-l-20\"]=dt(rn,Kt=>Kt.lighten(20)),mt[\"primary-color-deprecated-t-20\"]=dt(rn,Kt=>Kt.tint(20)),mt[\"primary-color-deprecated-t-50\"]=dt(rn,Kt=>Kt.tint(50)),mt[\"primary-color-deprecated-f-12\"]=dt(rn,Kt=>Kt.setAlpha(Kt.getAlpha()*.12));const hn=new L.C(qt[0]);mt[\"primary-color-active-deprecated-f-30\"]=dt(hn,Kt=>Kt.setAlpha(Kt.getAlpha()*.3)),mt[\"primary-color-active-deprecated-d-02\"]=dt(hn,Kt=>Kt.darken(2))}return Fe.successColor&&Lt(Fe.successColor,\"success\"),Fe.warningColor&&Lt(Fe.warningColor,\"warning\"),Fe.errorColor&&Lt(Fe.errorColor,\"error\"),Fe.infoColor&&Lt(Fe.infoColor,\"info\"),`\n  :root {\n    ${Object.keys(mt).map(rn=>`--${ht}-${rn}: ${mt[rn]};`).join(`\n`)}\n  }\n  `.trim()}function me(ht,Fe){const mt=re(ht,Fe);(0,A.Z)()&&(0,J.hq)(mt,`${q}-dynamic-theme`)}var Te=c(47265),ee=c(75469);function xe(){const ht=(0,y.useContext)(Te.Z),Fe=(0,y.useContext)(ee.Z);return{componentDisabled:ht,componentSize:Fe}}var Ie=xe,Le=c(37304);function De(ht,Fe){const mt=ht||{},dt=mt.inherit===!1||!Fe?M.u_:Fe;return(0,p.Z)(()=>{if(!ht)return Fe;const lt=Object.assign({},dt.components);return Object.keys(ht.components||{}).forEach(rn=>{lt[rn]=Object.assign(Object.assign({},lt[rn]),ht.components[rn])}),Object.assign(Object.assign(Object.assign({},dt),mt),{token:Object.assign(Object.assign({},dt.token),mt.token),components:lt})},[mt,dt],(lt,rn)=>lt.some((qt,hn)=>{const Kt=rn[hn];return!(0,Le.Z)(qt,Kt,!0)}))}var ce=c(92220),Oe=ht=>{const[Fe,mt]=(0,M.dQ)();return(0,C.xy)({theme:Fe,token:mt,hashId:\"\",path:[\"ant-design-icons\",ht]},()=>[{[`.${ht}`]:Object.assign(Object.assign({},(0,ce.Ro)()),{[`.${ht} .${ht}-icon`]:{display:\"block\"}})}])},Ce=function(ht,Fe){var mt={};for(var dt in ht)Object.prototype.hasOwnProperty.call(ht,dt)&&Fe.indexOf(dt)<0&&(mt[dt]=ht[dt]);if(ht!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var Lt=0,dt=Object.getOwnPropertySymbols(ht);Lt<dt.length;Lt++)Fe.indexOf(dt[Lt])<0&&Object.prototype.propertyIsEnumerable.call(ht,dt[Lt])&&(mt[dt[Lt]]=ht[dt[Lt]]);return mt};let oe=!1;const he=null,ie=null,ae=[\"getTargetContainer\",\"getPopupContainer\",\"renderEmpty\",\"pageHeader\",\"input\",\"pagination\",\"form\",\"select\"],ve=\"ant\";let X,se;function fe(){return X||ve}function _e(){return se||defaultIconPrefixCls}const be=ht=>{let{prefixCls:Fe,iconPrefixCls:mt,theme:dt}=ht;Fe!==void 0&&(X=Fe),mt!==void 0&&(se=mt),dt&&me(fe(),dt)},We=()=>({getPrefixCls:(ht,Fe)=>Fe||(ht?`${fe()}-${ht}`:fe()),getIconPrefixCls:_e,getRootPrefixCls:()=>X||fe()}),we=ht=>{const{children:Fe,csp:mt,autoInsertSpaceInButton:dt,form:Lt,locale:lt,componentSize:rn,direction:qt,space:hn,virtual:Kt,dropdownMatchSelectWidth:an,legacyLocale:In,parentContext:Ft,iconPrefixCls:kt,theme:At,componentDisabled:Fn}=ht,pn=y.useCallback((gn,Gt)=>{const{prefixCls:bt}=ht;if(Gt)return Gt;const Zt=bt||Ft.getPrefixCls(\"\");return gn?`${Zt}-${gn}`:Zt},[Ft.getPrefixCls,ht.prefixCls]),en=kt||Ft.iconPrefixCls||N.oR,Wn=en!==Ft.iconPrefixCls,Mn=mt||Ft.csp,Kn=Oe(en),hr=De(At,Ft.theme),pr={csp:Mn,autoInsertSpaceInButton:dt,locale:lt||In,direction:qt,space:hn,virtual:Kt,dropdownMatchSelectWidth:an,getPrefixCls:pn,iconPrefixCls:en,theme:hr},zr=Object.assign({},Ft);Object.keys(pr).forEach(gn=>{pr[gn]!==void 0&&(zr[gn]=pr[gn])}),ae.forEach(gn=>{const Gt=ht[gn];Gt&&(zr[gn]=Gt)});const Wr=(0,p.Z)(()=>zr,zr,(gn,Gt)=>{const bt=Object.keys(gn),Zt=Object.keys(Gt);return bt.length!==Zt.length||bt.some(gt=>gn[gt]!==Gt[gt])}),Nr=y.useMemo(()=>({prefixCls:en,csp:Mn}),[en,Mn]);let Kr=Wn?Kn(Fe):Fe;const ko=y.useMemo(()=>{var gn,Gt,bt;return(0,b.gg)({},((gn=u.Z.Form)===null||gn===void 0?void 0:gn.defaultValidateMessages)||{},((bt=(Gt=Wr.locale)===null||Gt===void 0?void 0:Gt.Form)===null||bt===void 0?void 0:bt.defaultValidateMessages)||{},(Lt==null?void 0:Lt.validateMessages)||{})},[Wr,Lt==null?void 0:Lt.validateMessages]);Object.keys(ko).length>0&&(Kr=y.createElement(O.RV,{validateMessages:ko},Fe)),lt&&(Kr=y.createElement(x,{locale:lt,_ANT_MARK__:s},Kr)),(en||Mn)&&(Kr=y.createElement(w.Z.Provider,{value:Nr},Kr)),rn&&(Kr=y.createElement(ee.q,{size:rn},Kr));const Ur=y.useMemo(()=>{const gn=hr||{},{algorithm:Gt,token:bt}=gn,Zt=Ce(gn,[\"algorithm\",\"token\"]),gt=Gt&&(!Array.isArray(Gt)||Gt.length>0)?(0,C.jG)(Gt):void 0;return Object.assign(Object.assign({},Zt),{theme:gt,token:Object.assign(Object.assign({},E.Z),bt)})},[hr]);return At&&(Kr=y.createElement(M.Mj.Provider,{value:Ur},Kr)),Fn!==void 0&&(Kr=y.createElement(Te.n,{disabled:Fn},Kr)),y.createElement(N.E_.Provider,{value:Wr},Kr)},Ze=ht=>{const Fe=y.useContext(N.E_),mt=y.useContext(l.Z);return y.createElement(we,Object.assign({parentContext:Fe,legacyLocale:mt},ht))};Ze.ConfigContext=N.E_,Ze.SizeContext=ee.Z,Ze.config=be,Ze.useConfig=Ie,Object.defineProperty(Ze,\"SizeContext\",{get:()=>ee.Z});var Ve=Ze;function et(ht,Fe,mt){return function(Lt){const{prefixCls:lt,style:rn}=Lt,qt=y.useRef(null),[hn,Kt]=y.useState(0),[an,In]=y.useState(0),[Ft,kt]=(0,r.Z)(!1,{value:Lt.open}),{getPrefixCls:At}=y.useContext(N.E_),Fn=At(Fe||\"select\",lt);return y.useEffect(()=>{if(kt(!0),typeof ResizeObserver!=\"undefined\"){const pn=new ResizeObserver(Wn=>{const Mn=Wn[0].target;Kt(Mn.offsetHeight+8),In(Mn.offsetWidth)}),en=setInterval(()=>{var Wn;const Mn=mt?`.${mt(Fn)}`:`.${Fn}-dropdown`,Kn=(Wn=qt.current)===null||Wn===void 0?void 0:Wn.querySelector(Mn);Kn&&(clearInterval(en),pn.observe(Kn))},10);return()=>{clearInterval(en),pn.disconnect()}}},[]),y.createElement(Ve,{theme:{token:{motionDurationFast:\"0.01s\",motionDurationMid:\"0.01s\",motionDurationSlow:\"0.01s\"}}},y.createElement(\"div\",{ref:qt,style:{paddingBottom:hn,position:\"relative\",width:\"fit-content\",minWidth:an}},y.createElement(ht,Object.assign({},Lt,{style:Object.assign(Object.assign({},rn),{margin:0}),open:Ft,visible:Ft,getPopupContainer:()=>qt.current}))))}}},48515:function(Pt,Ee,c){\"use strict\";c.d(Ee,{mL:function(){return p},q0:function(){return b}});const r=()=>({height:0,opacity:0}),y=u=>{const{scrollHeight:a}=u;return{height:a,opacity:1}},N=u=>({height:u?u.offsetHeight:0}),C=(u,a)=>(a==null?void 0:a.deadline)===!0||a.propertyName===\"height\",w=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:\"ant\"}-motion-collapse`,onAppearStart:r,onEnterStart:r,onAppearActive:y,onEnterActive:y,onLeaveStart:N,onLeaveActive:r,onAppearEnd:C,onEnterEnd:C,onLeaveEnd:C,motionDeadline:500}},O=null,b=u=>u!==void 0&&(u===\"topLeft\"||u===\"topRight\")?\"slide-down\":\"slide-up\",p=(u,a,f)=>f!==void 0?f:`${u}-${a}`;Ee.ZP=w},20902:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return O}});var r=c(58917);function y(b,p,u,a){if(a===!1)return{adjustX:!1,adjustY:!1};const f=a&&typeof a==\"object\"?a:{},h={};switch(b){case\"top\":case\"bottom\":h.shiftX=p.dropdownArrowOffset*2+u;break;case\"left\":case\"right\":h.shiftY=p.dropdownArrowOffsetVertical*2+u;break}const l=Object.assign(Object.assign({},h),f);return l.shiftX||(l.adjustX=!0),l.shiftY||(l.adjustY=!0),l}const N={left:{points:[\"cr\",\"cl\"]},right:{points:[\"cl\",\"cr\"]},top:{points:[\"bc\",\"tc\"]},bottom:{points:[\"tc\",\"bc\"]},topLeft:{points:[\"bl\",\"tl\"]},leftTop:{points:[\"tr\",\"tl\"]},topRight:{points:[\"br\",\"tr\"]},rightTop:{points:[\"tl\",\"tr\"]},bottomRight:{points:[\"tr\",\"br\"]},rightBottom:{points:[\"bl\",\"br\"]},bottomLeft:{points:[\"tl\",\"bl\"]},leftBottom:{points:[\"br\",\"bl\"]}},C={topLeft:{points:[\"bl\",\"tc\"]},leftTop:{points:[\"tr\",\"cl\"]},topRight:{points:[\"br\",\"tc\"]},rightTop:{points:[\"tl\",\"cr\"]},bottomRight:{points:[\"tr\",\"bc\"]},rightBottom:{points:[\"bl\",\"cr\"]},bottomLeft:{points:[\"tl\",\"bc\"]},leftBottom:{points:[\"br\",\"cl\"]}},w=new Set([\"topLeft\",\"topRight\",\"bottomLeft\",\"bottomRight\",\"leftTop\",\"leftBottom\",\"rightTop\",\"rightBottom\"]);function O(b){const{arrowWidth:p,autoAdjustOverflow:u,arrowPointAtCenter:a,offset:f,borderRadius:h}=b,l=p/2,s={};return Object.keys(N).forEach(m=>{const x=a&&C[m]||N[m],M=Object.assign(Object.assign({},x),{offset:[0,0]});switch(s[m]=M,w.has(m)&&(M.autoArrow=!1),m){case\"top\":case\"topLeft\":case\"topRight\":M.offset[1]=-l-f;break;case\"bottom\":case\"bottomLeft\":case\"bottomRight\":M.offset[1]=l+f;break;case\"left\":case\"leftTop\":case\"leftBottom\":M.offset[0]=-l-f;break;case\"right\":case\"rightTop\":case\"rightBottom\":M.offset[0]=l+f;break}const E=(0,r.fS)({contentRadius:h,limitVerticalRadius:!0});if(a)switch(m){case\"topLeft\":case\"bottomLeft\":M.offset[0]=-E.dropdownArrowOffset-l;break;case\"topRight\":case\"bottomRight\":M.offset[0]=E.dropdownArrowOffset+l;break;case\"leftTop\":case\"rightTop\":M.offset[1]=-E.dropdownArrowOffset-l;break;case\"leftBottom\":case\"rightBottom\":M.offset[1]=E.dropdownArrowOffset+l;break}M.overflow=y(m,E,p,u)}),s}},42912:function(Pt,Ee,c){\"use strict\";var r;c.d(Ee,{M2:function(){return C},Tm:function(){return O},l$:function(){return N}});var y=c(50959);const{isValidElement:N}=r||(r=c.t(y,2));function C(b){return b&&N(b)&&b.type===y.Fragment}function w(b,p,u){return N(b)?y.cloneElement(b,typeof u==\"function\"?u(b.props||{}):u):p}function O(b,p){return w(b,b,p)}},91700:function(Pt,Ee,c){\"use strict\";c.d(Ee,{F:function(){return w},Z:function(){return C}});var r=c(84875),y=c.n(r);const N=null;function C(O,b,p){return y()({[`${O}-status-success`]:b===\"success\",[`${O}-status-warning`]:b===\"warning\",[`${O}-status-error`]:b===\"error\",[`${O}-status-validating`]:b===\"validating\",[`${O}-has-feedback`]:p})}const w=(O,b)=>b||O},54887:function(Pt,Ee,c){\"use strict\";c.d(Ee,{ZP:function(){return aa}});var r=c(84875),y=c.n(r),N=c(97318),C=c(50959),w=c(35531),O=c(47265),b=c(75469),p=c(2315),u=c(64111),a=c(25155),f=c(42912),h=c(72267);const l=$e=>{const{componentCls:dn,colorPrimary:Un}=$e;return{[dn]:{position:\"absolute\",background:\"transparent\",pointerEvents:\"none\",boxSizing:\"border-box\",color:`var(--wave-color, ${Un})`,boxShadow:\"0 0 0 0 currentcolor\",opacity:.2,\"&.wave-motion-appear\":{transition:[`box-shadow 0.4s ${$e.motionEaseOutCirc}`,`opacity 2s ${$e.motionEaseOutCirc}`].join(\",\"),\"&-active\":{boxShadow:\"0 0 0 6px currentcolor\",opacity:0}}}}};var s=(0,h.Z)(\"Wave\",$e=>[l($e)]),m=c(81676),x=c(40086),M=c(99932),E=c(78450),j=c(26143),L=c(75782),A=c(10422),J=c.t(A,2),q=(0,L.Z)({},J),re=q.version,me=q.render,Te=q.unmountComponentAtNode,ee;try{var xe=Number((re||\"\").split(\".\")[0]);xe>=18&&(ee=q.createRoot)}catch($e){}function Ie($e){var dn=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;dn&&(0,j.Z)(dn)===\"object\"&&(dn.usingClientEntryPoint=$e)}var Le=\"__rc_react_root__\";function De($e,dn){Ie(!0);var Un=dn[Le]||ee(dn);Ie(!1),Un.render($e),dn[Le]=Un}function ce($e,dn){me($e,dn)}function ye($e,dn){}function Oe($e,dn){if(ee){De($e,dn);return}ce($e,dn)}function Ce($e){return oe.apply(this,arguments)}function oe(){return oe=(0,E.Z)((0,M.Z)().mark(function $e(dn){return(0,M.Z)().wrap(function(ar){for(;;)switch(ar.prev=ar.next){case 0:return ar.abrupt(\"return\",Promise.resolve().then(function(){var Rr;(Rr=dn[Le])===null||Rr===void 0||Rr.unmount(),delete dn[Le]}));case 1:case\"end\":return ar.stop()}},$e)})),oe.apply(this,arguments)}function he($e){Te($e)}function ie($e){}function ae($e){return ve.apply(this,arguments)}function ve(){return ve=(0,E.Z)((0,M.Z)().mark(function $e(dn){return(0,M.Z)().wrap(function(ar){for(;;)switch(ar.prev=ar.next){case 0:if(ee===void 0){ar.next=2;break}return ar.abrupt(\"return\",Ce(dn));case 2:he(dn);case 3:case\"end\":return ar.stop()}},$e)})),ve.apply(this,arguments)}function X($e){const dn=($e||\"\").match(/rgba?\\((\\d*), (\\d*), (\\d*)(, [\\d.]*)?\\)/);return dn&&dn[1]&&dn[2]&&dn[3]?!(dn[1]===dn[2]&&dn[2]===dn[3]):!0}function se($e){return $e&&$e!==\"#fff\"&&$e!==\"#ffffff\"&&$e!==\"rgb(255, 255, 255)\"&&$e!==\"rgba(255, 255, 255, 1)\"&&X($e)&&!/rgba\\((?:\\d*, ){3}0\\)/.test($e)&&$e!==\"transparent\"}function fe($e){const{borderTopColor:dn,borderColor:Un,backgroundColor:ar}=getComputedStyle($e);return se(dn)?dn:se(Un)?Un:se(ar)?ar:null}function _e($e){return Number.isNaN($e)?0:$e}const be=$e=>{const{className:dn,target:Un}=$e,ar=C.useRef(null),[Rr,Ro]=C.useState(null),[Vo,Co]=C.useState([]),[Mo,qo]=C.useState(0),[ti,pi]=C.useState(0),[ni,si]=C.useState(0),[Oi,Ki]=C.useState(0),[ca,zi]=C.useState(!1),br={left:Mo,top:ti,width:ni,height:Oi,borderRadius:Vo.map(je=>`${je}px`).join(\" \")};Rr&&(br[\"--wave-color\"]=Rr);function Re(){const je=getComputedStyle(Un);Ro(fe(Un));const nt=je.position===\"static\",{borderLeftWidth:rt,borderTopWidth:Xt}=je;qo(nt?Un.offsetLeft:_e(-parseFloat(rt))),pi(nt?Un.offsetTop:_e(-parseFloat(Xt))),si(Un.offsetWidth),Ki(Un.offsetHeight);const{borderTopLeftRadius:fn,borderTopRightRadius:Cn,borderBottomLeftRadius:Yn,borderBottomRightRadius:Ae}=je;Co([fn,Cn,Ae,Yn].map(Ke=>_e(parseFloat(Ke))))}return C.useEffect(()=>{if(Un){const je=(0,x.Z)(()=>{Re(),zi(!0)});let nt;return typeof ResizeObserver!=\"undefined\"&&(nt=new ResizeObserver(Re),nt.observe(Un)),()=>{x.Z.cancel(je),nt==null||nt.disconnect()}}},[]),ca?C.createElement(m.Z,{visible:!0,motionAppear:!0,motionName:\"wave-motion\",motionDeadline:5e3,onAppearEnd:(je,nt)=>{var rt;if(nt.deadline||nt.propertyName===\"opacity\"){const Xt=(rt=ar.current)===null||rt===void 0?void 0:rt.parentElement;ae(Xt).then(()=>{var fn;(fn=Xt.parentElement)===null||fn===void 0||fn.removeChild(Xt)})}return!1}},je=>{let{className:nt}=je;return C.createElement(\"div\",{ref:ar,className:y()(dn,nt),style:br})}):null};function We($e,dn){const Un=document.createElement(\"div\");Un.style.position=\"absolute\",Un.style.left=\"0px\",Un.style.top=\"0px\",$e==null||$e.insertBefore(Un,$e==null?void 0:$e.firstChild),Oe(C.createElement(be,{target:$e,className:dn}),Un)}function we($e,dn){function Un(){const ar=$e.current;We(ar,dn)}return Un}var Ve=$e=>{const{children:dn,disabled:Un}=$e,{getPrefixCls:ar}=(0,C.useContext)(w.E_),Rr=(0,C.useRef)(null),Ro=ar(\"wave\"),[,Vo]=s(Ro),Co=we(Rr,y()(Ro,Vo));if(C.useEffect(()=>{const qo=Rr.current;if(!qo||qo.nodeType!==1||Un)return;const ti=pi=>{pi.target.tagName===\"INPUT\"||!(0,a.Z)(pi.target)||!qo.getAttribute||qo.getAttribute(\"disabled\")||qo.disabled||qo.className.includes(\"disabled\")||qo.className.includes(\"-leave\")||Co()};return qo.addEventListener(\"click\",ti,!0),()=>{qo.removeEventListener(\"click\",ti,!0)}},[Un]),!C.isValidElement(dn))return dn!=null?dn:null;const Mo=(0,u.Yr)(dn)?(0,u.sQ)(dn.ref,Rr):Rr;return(0,f.Tm)(dn,{ref:Mo})},et=c(25990),ht=function($e,dn){var Un={};for(var ar in $e)Object.prototype.hasOwnProperty.call($e,ar)&&dn.indexOf(ar)<0&&(Un[ar]=$e[ar]);if($e!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var Rr=0,ar=Object.getOwnPropertySymbols($e);Rr<ar.length;Rr++)dn.indexOf(ar[Rr])<0&&Object.prototype.propertyIsEnumerable.call($e,ar[Rr])&&(Un[ar[Rr]]=$e[ar[Rr]]);return Un};const Fe=C.createContext(void 0);var dt=$e=>{const{getPrefixCls:dn,direction:Un}=C.useContext(w.E_),{prefixCls:ar,size:Rr,className:Ro}=$e,Vo=ht($e,[\"prefixCls\",\"size\",\"className\"]),Co=dn(\"btn-group\",ar),[,,Mo]=(0,et.dQ)();let qo=\"\";switch(Rr){case\"large\":qo=\"lg\";break;case\"small\":qo=\"sm\";break;case\"middle\":case void 0:break;default:}const ti=y()(Co,{[`${Co}-${qo}`]:qo,[`${Co}-rtl`]:Un===\"rtl\"},Ro,Mo);return C.createElement(Fe.Provider,{value:Rr},C.createElement(\"div\",Object.assign({},Vo,{className:ti})))};const Lt=/^[\\u4e00-\\u9fa5]{2}$/,lt=Lt.test.bind(Lt);function rn($e){return typeof $e==\"string\"}function qt($e){return $e===\"text\"||$e===\"link\"}function hn($e,dn){if($e==null)return;const Un=dn?\" \":\"\";return typeof $e!=\"string\"&&typeof $e!=\"number\"&&rn($e.type)&&lt($e.props.children)?(0,f.Tm)($e,{children:$e.props.children.split(\"\").join(Un)}):typeof $e==\"string\"?lt($e)?C.createElement(\"span\",null,$e.split(\"\").join(Un)):C.createElement(\"span\",null,$e):(0,f.M2)($e)?C.createElement(\"span\",null,$e):$e}function Kt($e,dn){let Un=!1;const ar=[];return C.Children.forEach($e,Rr=>{const Ro=typeof Rr,Vo=Ro===\"string\"||Ro===\"number\";if(Un&&Vo){const Co=ar.length-1,Mo=ar[Co];ar[Co]=`${Mo}${Rr}`}else ar.push(Rr);Un=Vo}),C.Children.map(ar,Rr=>hn(Rr,dn))}const an=null,In=null,Ft=null;var kt=c(19e3);const At=()=>({width:0,opacity:0,transform:\"scale(0)\"}),Fn=$e=>({width:$e.scrollWidth,opacity:1,transform:\"scale(1)\"});var en=$e=>{let{prefixCls:dn,loading:Un,existIcon:ar}=$e;const Rr=!!Un;return ar?C.createElement(\"span\",{className:`${dn}-loading-icon`},C.createElement(kt.Z,null)):C.createElement(m.Z,{visible:Rr,motionName:`${dn}-loading-icon-motion`,removeOnLeave:!0,onAppearStart:At,onAppearActive:Fn,onEnterStart:At,onEnterActive:Fn,onLeaveStart:Fn,onLeaveActive:At},(Ro,Vo)=>{let{className:Co,style:Mo}=Ro;return C.createElement(\"span\",{className:`${dn}-loading-icon`,style:Mo,ref:Vo},C.createElement(kt.Z,{className:Co}))})},Wn=c(42550);const Mn=($e,dn)=>({[`> span, > ${$e}`]:{\"&:not(:last-child)\":{[`&, & > ${$e}`]:{\"&:not(:disabled)\":{borderInlineEndColor:dn}}},\"&:not(:first-child)\":{[`&, & > ${$e}`]:{\"&:not(:disabled)\":{borderInlineStartColor:dn}}}}});var hr=$e=>{const{componentCls:dn,fontSize:Un,lineWidth:ar,colorPrimaryHover:Rr,colorErrorHover:Ro}=$e;return{[`${dn}-group`]:[{position:\"relative\",display:\"inline-flex\",[`> span, > ${dn}`]:{\"&:not(:last-child)\":{[`&, & > ${dn}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},\"&:not(:first-child)\":{marginInlineStart:-ar,[`&, & > ${dn}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[dn]:{position:\"relative\",zIndex:1,[`&:hover,\n          &:focus,\n          &:active`]:{zIndex:2},\"&[disabled]\":{zIndex:0}},[`${dn}-icon-only`]:{fontSize:Un}},Mn(`${dn}-primary`,Rr),Mn(`${dn}-danger`,Ro)]}},pr=c(92220),zr=c(36717);function Wr($e,dn){return{[`&-item:not(${dn}-last-item)`]:{marginBottom:-$e.lineWidth},\"&-item\":{\"&:hover,&:focus,&:active\":{zIndex:2},\"&[disabled]\":{zIndex:0}}}}function Nr($e,dn){return{[`&-item:not(${dn}-first-item):not(${dn}-last-item)`]:{borderRadius:0},[`&-item${dn}-first-item:not(${dn}-last-item)`]:{[`&, &${$e}-sm, &${$e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${dn}-last-item:not(${dn}-first-item)`]:{[`&, &${$e}-sm, &${$e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function Kr($e){const dn=`${$e.componentCls}-compact-vertical`;return{[dn]:Object.assign(Object.assign({},Wr($e,dn)),Nr($e.componentCls,dn))}}const ko=$e=>{const{componentCls:dn,iconCls:Un}=$e;return{[dn]:{outline:\"none\",position:\"relative\",display:\"inline-block\",fontWeight:400,whiteSpace:\"nowrap\",textAlign:\"center\",backgroundImage:\"none\",backgroundColor:\"transparent\",border:`${$e.lineWidth}px ${$e.lineType} transparent`,cursor:\"pointer\",transition:`all ${$e.motionDurationMid} ${$e.motionEaseInOut}`,userSelect:\"none\",touchAction:\"manipulation\",lineHeight:$e.lineHeight,color:$e.colorText,\"> span\":{display:\"inline-block\"},[`> ${Un} + span, > span + ${Un}`]:{marginInlineStart:$e.marginXS},\"> a\":{color:\"currentColor\"},\"&:not(:disabled)\":Object.assign({},(0,pr.Qy)($e)),[`&-icon-only${dn}-compact-item`]:{flex:\"none\"},[`&-compact-item${dn}-primary`]:{[`&:not([disabled]) + ${dn}-compact-item${dn}-primary:not([disabled])`]:{position:\"relative\",\"&:before\":{position:\"absolute\",top:-$e.lineWidth,insetInlineStart:-$e.lineWidth,display:\"inline-block\",width:$e.lineWidth,height:`calc(100% + ${$e.lineWidth*2}px)`,backgroundColor:$e.colorPrimaryHover,content:'\"\"'}}},\"&-compact-vertical-item\":{[`&${dn}-primary`]:{[`&:not([disabled]) + ${dn}-compact-vertical-item${dn}-primary:not([disabled])`]:{position:\"relative\",\"&:before\":{position:\"absolute\",top:-$e.lineWidth,insetInlineStart:-$e.lineWidth,display:\"inline-block\",width:`calc(100% + ${$e.lineWidth*2}px)`,height:$e.lineWidth,backgroundColor:$e.colorPrimaryHover,content:'\"\"'}}}}}}},Ur=($e,dn)=>({\"&:not(:disabled)\":{\"&:hover\":$e,\"&:active\":dn}}),gn=$e=>({minWidth:$e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:\"50%\"}),Gt=$e=>({borderRadius:$e.controlHeight,paddingInlineStart:$e.controlHeight/2,paddingInlineEnd:$e.controlHeight/2}),bt=$e=>({cursor:\"not-allowed\",borderColor:$e.colorBorder,color:$e.colorTextDisabled,backgroundColor:$e.colorBgContainerDisabled,boxShadow:\"none\"}),Zt=($e,dn,Un,ar,Rr,Ro,Vo)=>({[`&${$e}-background-ghost`]:Object.assign(Object.assign({color:dn||void 0,backgroundColor:\"transparent\",borderColor:Un||void 0,boxShadow:\"none\"},Ur(Object.assign({backgroundColor:\"transparent\"},Ro),Object.assign({backgroundColor:\"transparent\"},Vo))),{\"&:disabled\":{cursor:\"not-allowed\",color:ar||void 0,borderColor:Rr||void 0}})}),gt=$e=>({\"&:disabled\":Object.assign({},bt($e))}),Wt=$e=>Object.assign({},gt($e)),xn=$e=>({\"&:disabled\":{cursor:\"not-allowed\",color:$e.colorTextDisabled}}),Dt=$e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Wt($e)),{backgroundColor:$e.colorBgContainer,borderColor:$e.colorBorder,boxShadow:`0 ${$e.controlOutlineWidth}px 0 ${$e.controlTmpOutline}`}),Ur({color:$e.colorPrimaryHover,borderColor:$e.colorPrimaryHover},{color:$e.colorPrimaryActive,borderColor:$e.colorPrimaryActive})),Zt($e.componentCls,$e.colorBgContainer,$e.colorBgContainer,$e.colorTextDisabled,$e.colorBorder)),{[`&${$e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:$e.colorError,borderColor:$e.colorError},Ur({color:$e.colorErrorHover,borderColor:$e.colorErrorBorderHover},{color:$e.colorErrorActive,borderColor:$e.colorErrorActive})),Zt($e.componentCls,$e.colorError,$e.colorError,$e.colorTextDisabled,$e.colorBorder)),gt($e))}),Xn=$e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Wt($e)),{color:$e.colorTextLightSolid,backgroundColor:$e.colorPrimary,boxShadow:`0 ${$e.controlOutlineWidth}px 0 ${$e.controlOutline}`}),Ur({color:$e.colorTextLightSolid,backgroundColor:$e.colorPrimaryHover},{color:$e.colorTextLightSolid,backgroundColor:$e.colorPrimaryActive})),Zt($e.componentCls,$e.colorPrimary,$e.colorPrimary,$e.colorTextDisabled,$e.colorBorder,{color:$e.colorPrimaryHover,borderColor:$e.colorPrimaryHover},{color:$e.colorPrimaryActive,borderColor:$e.colorPrimaryActive})),{[`&${$e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({backgroundColor:$e.colorError,boxShadow:`0 ${$e.controlOutlineWidth}px 0 ${$e.colorErrorOutline}`},Ur({backgroundColor:$e.colorErrorHover},{backgroundColor:$e.colorErrorActive})),Zt($e.componentCls,$e.colorError,$e.colorError,$e.colorTextDisabled,$e.colorBorder,{color:$e.colorErrorHover,borderColor:$e.colorErrorHover},{color:$e.colorErrorActive,borderColor:$e.colorErrorActive})),gt($e))}),Rn=$e=>Object.assign(Object.assign({},Dt($e)),{borderStyle:\"dashed\"}),wt=$e=>Object.assign(Object.assign(Object.assign({color:$e.colorLink},Ur({color:$e.colorLinkHover},{color:$e.colorLinkActive})),xn($e)),{[`&${$e.componentCls}-dangerous`]:Object.assign(Object.assign({color:$e.colorError},Ur({color:$e.colorErrorHover},{color:$e.colorErrorActive})),xn($e))}),pt=$e=>Object.assign(Object.assign(Object.assign({},Ur({color:$e.colorText,backgroundColor:$e.colorBgTextHover},{color:$e.colorText,backgroundColor:$e.colorBgTextActive})),xn($e)),{[`&${$e.componentCls}-dangerous`]:Object.assign(Object.assign({color:$e.colorError},xn($e)),Ur({color:$e.colorErrorHover,backgroundColor:$e.colorErrorBg},{color:$e.colorErrorHover,backgroundColor:$e.colorErrorBg}))}),Ue=$e=>Object.assign(Object.assign({},bt($e)),{[`&${$e.componentCls}:hover`]:Object.assign({},bt($e))}),xt=$e=>{const{componentCls:dn}=$e;return{[`${dn}-default`]:Dt($e),[`${dn}-primary`]:Xn($e),[`${dn}-dashed`]:Rn($e),[`${dn}-link`]:wt($e),[`${dn}-text`]:pt($e),[`${dn}-disabled`]:Ue($e)}},cn=function($e){let dn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:\"\";const{componentCls:Un,iconCls:ar,controlHeight:Rr,fontSize:Ro,lineHeight:Vo,lineWidth:Co,borderRadius:Mo,buttonPaddingHorizontal:qo}=$e,ti=Math.max(0,(Rr-Ro*Vo)/2-Co),pi=qo-Co,ni=`${Un}-icon-only`;return[{[`${Un}${dn}`]:{fontSize:Ro,height:Rr,padding:`${ti}px ${pi}px`,borderRadius:Mo,[`&${ni}`]:{width:Rr,paddingInlineStart:0,paddingInlineEnd:0,[`&${Un}-round`]:{width:\"auto\"},\"> span\":{transform:\"scale(1.143)\"}},[`&${Un}-loading`]:{opacity:$e.opacityLoading,cursor:\"default\"},[`${Un}-loading-icon`]:{transition:`width ${$e.motionDurationSlow} ${$e.motionEaseInOut}, opacity ${$e.motionDurationSlow} ${$e.motionEaseInOut}`},[`&:not(${ni}) ${Un}-loading-icon > ${ar}`]:{marginInlineEnd:$e.marginXS}}},{[`${Un}${Un}-circle${dn}`]:gn($e)},{[`${Un}${Un}-round${dn}`]:Gt($e)}]},er=$e=>cn($e),Mr=$e=>{const dn=(0,Wn.TS)($e,{controlHeight:$e.controlHeightSM,padding:$e.paddingXS,buttonPaddingHorizontal:8,borderRadius:$e.borderRadiusSM});return cn(dn,`${$e.componentCls}-sm`)},xr=$e=>{const dn=(0,Wn.TS)($e,{controlHeight:$e.controlHeightLG,fontSize:$e.fontSizeLG,borderRadius:$e.borderRadiusLG});return cn(dn,`${$e.componentCls}-lg`)},jr=$e=>{const{componentCls:dn}=$e;return{[dn]:{[`&${dn}-block`]:{width:\"100%\"}}}};var yo=(0,h.Z)(\"Button\",$e=>{const{controlTmpOutline:dn,paddingContentHorizontal:Un}=$e,ar=(0,Wn.TS)($e,{colorOutlineDefault:dn,buttonPaddingHorizontal:Un});return[ko(ar),Mr(ar),er(ar),xr(ar),jr(ar),xt(ar),hr(ar),(0,zr.c)($e),Kr($e)]}),eo=function($e,dn){var Un={};for(var ar in $e)Object.prototype.hasOwnProperty.call($e,ar)&&dn.indexOf(ar)<0&&(Un[ar]=$e[ar]);if($e!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var Rr=0,ar=Object.getOwnPropertySymbols($e);Rr<ar.length;Rr++)dn.indexOf(ar[Rr])<0&&Object.prototype.propertyIsEnumerable.call($e,ar[Rr])&&(Un[ar[Rr]]=$e[ar[Rr]]);return Un};function vi($e){return $e===\"danger\"?{danger:!0}:{type:$e}}function Ti($e){if(typeof $e==\"object\"&&$e){const dn=$e==null?void 0:$e.delay;return{loading:!1,delay:!Number.isNaN(dn)&&typeof dn==\"number\"?dn:0}}return{loading:!!$e,delay:0}}const wi=($e,dn)=>{const{loading:Un=!1,prefixCls:ar,type:Rr=\"default\",danger:Ro,shape:Vo=\"default\",size:Co,disabled:Mo,className:qo,rootClassName:ti,children:pi,icon:ni,ghost:si=!1,block:Oi=!1,htmlType:Ki=\"button\"}=$e,ca=eo($e,[\"loading\",\"prefixCls\",\"type\",\"danger\",\"shape\",\"size\",\"disabled\",\"className\",\"rootClassName\",\"children\",\"icon\",\"ghost\",\"block\",\"htmlType\"]),{getPrefixCls:zi,autoInsertSpaceInButton:br,direction:Re}=C.useContext(w.E_),je=zi(\"btn\",ar),[nt,rt]=yo(je),Xt=C.useContext(b.Z),fn=C.useContext(O.Z),Cn=Mo!=null?Mo:fn,Yn=C.useContext(Fe),Ae=C.useMemo(()=>Ti(Un),[Un]),[Ke,Mt]=C.useState(Ae.loading),[Ut,kn]=C.useState(!1),Zn=dn||C.createRef(),lr=()=>C.Children.count(pi)===1&&!ni&&!qt(Rr),wr=()=>{if(!Zn||!Zn.current||br===!1)return;const ft=Zn.current.textContent;lr()&&lt(ft)?Ut||kn(!0):Ut&&kn(!1)};C.useEffect(()=>{let ft=null;Ae.delay>0?ft=window.setTimeout(()=>{ft=null,Mt(!0)},Ae.delay):Mt(Ae.loading);function ct(){ft&&(window.clearTimeout(ft),ft=null)}return ct},[Ae]),C.useEffect(wr,[Zn]);const Dr=ft=>{const{onClick:ct}=$e;if(Ke||Cn){ft.preventDefault();return}ct==null||ct(ft)},go=br!==!1,{compactSize:Ir,compactItemClassnames:Jr}=(0,p.ri)(je,Re),_o={large:\"lg\",small:\"sm\",middle:void 0},No=Ir||Yn||Co||Xt,ii=No&&_o[No]||\"\",Lo=Ke?\"loading\":ni,ai=(0,N.Z)(ca,[\"navigate\"]),Si=ai.href!==void 0&&Cn,Ui=y()(je,rt,{[`${je}-${Vo}`]:Vo!==\"default\"&&Vo,[`${je}-${Rr}`]:Rr,[`${je}-${ii}`]:ii,[`${je}-icon-only`]:!pi&&pi!==0&&!!Lo,[`${je}-background-ghost`]:si&&!qt(Rr),[`${je}-loading`]:Ke,[`${je}-two-chinese-chars`]:Ut&&go&&!Ke,[`${je}-block`]:Oi,[`${je}-dangerous`]:!!Ro,[`${je}-rtl`]:Re===\"rtl\",[`${je}-disabled`]:Si},Jr,qo,ti),ln=ni&&!Ke?ni:C.createElement(en,{existIcon:!!ni,prefixCls:je,loading:!!Ke}),mn=pi||pi===0?Kt(pi,lr()&&go):null;if(ai.href!==void 0)return nt(C.createElement(\"a\",Object.assign({},ai,{className:Ui,onClick:Dr,ref:Zn}),ln,mn));let fr=C.createElement(\"button\",Object.assign({},ca,{type:Ki,className:Ui,onClick:Dr,disabled:Cn,ref:Zn}),ln,mn);return qt(Rr)||(fr=C.createElement(Ve,{disabled:!!Ke},fr)),nt(fr)},mi=C.forwardRef(wi);mi.Group=dt,mi.__ANT_BUTTON=!0;var Zi=mi,aa=Zi},47265:function(Pt,Ee,c){\"use strict\";c.d(Ee,{n:function(){return N}});var r=c(50959);const y=r.createContext(!1),N=C=>{let{children:w,disabled:O}=C;const b=r.useContext(y);return r.createElement(y.Provider,{value:O!=null?O:b},w)};Ee.Z=y},75469:function(Pt,Ee,c){\"use strict\";c.d(Ee,{q:function(){return N}});var r=c(50959);const y=r.createContext(void 0),N=C=>{let{children:w,size:O}=C;const b=r.useContext(y);return r.createElement(y.Provider,{value:O||b},w)};Ee.Z=y},35531:function(Pt,Ee,c){\"use strict\";c.d(Ee,{E_:function(){return C},oR:function(){return y}});var r=c(50959);const y=\"anticon\",N=(O,b)=>b||(O?`ant-${O}`:\"ant\"),C=r.createContext({getPrefixCls:N,iconPrefixCls:y}),{Consumer:w}=C},51634:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return Kt}});var r=c(75782),y=c(50959),N={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\"},C=N,w=c(58649),O=function(In,Ft){return y.createElement(w.Z,(0,r.Z)((0,r.Z)({},In),{},{ref:Ft,icon:C}))};O.displayName=\"RightOutlined\";var b=y.forwardRef(O),p=c(84875),u=c.n(p),a=c(75294),f=c(51761),h=c(47280),l=c(97318),s=c(35531),m=c(28646),x=c(66107),M=c(2315),E=c(20902),j=c(30087),L=c(42912),A=c(1409),J=c(54887),q=c(16030),re=c(61237);const me=()=>(0,re.Z)()&&window.document.documentElement;let Te;const ee=()=>{if(!me())return!1;if(Te!==void 0)return Te;const an=document.createElement(\"div\");return an.style.display=\"flex\",an.style.flexDirection=\"column\",an.style.rowGap=\"1px\",an.appendChild(document.createElement(\"div\")),an.appendChild(document.createElement(\"div\")),document.body.appendChild(an),Te=an.scrollHeight===1,document.body.removeChild(an),Te};var xe=()=>{const[an,In]=y.useState(!1);return y.useEffect(()=>{In(ee())},[]),an};function Ie(an){let{className:In,direction:Ft,index:kt,marginDirection:At,children:Fn,split:pn,wrap:en}=an;const{horizontalSize:Wn,verticalSize:Mn,latestIndex:Kn,supportFlexGap:hr}=y.useContext(ce);let pr={};return hr||(Ft===\"vertical\"?kt<Kn&&(pr={marginBottom:Wn/(pn?2:1)}):pr=Object.assign(Object.assign({},kt<Kn&&{[At]:Wn/(pn?2:1)}),en&&{paddingBottom:Mn})),Fn==null?null:y.createElement(y.Fragment,null,y.createElement(\"div\",{className:In,style:pr},Fn),kt<Kn&&pn&&y.createElement(\"span\",{className:`${In}-split`,style:pr},pn))}var Le=c(95511),De=function(an,In){var Ft={};for(var kt in an)Object.prototype.hasOwnProperty.call(an,kt)&&In.indexOf(kt)<0&&(Ft[kt]=an[kt]);if(an!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var At=0,kt=Object.getOwnPropertySymbols(an);At<kt.length;At++)In.indexOf(kt[At])<0&&Object.prototype.propertyIsEnumerable.call(an,kt[At])&&(Ft[kt[At]]=an[kt[At]]);return Ft};const ce=y.createContext({latestIndex:0,horizontalSize:0,verticalSize:0,supportFlexGap:!1}),ye={small:8,middle:16,large:24};function Oe(an){return typeof an==\"string\"?ye[an]:an||0}const oe=an=>{const{getPrefixCls:In,space:Ft,direction:kt}=y.useContext(s.E_),{size:At=(Ft==null?void 0:Ft.size)||\"small\",align:Fn,className:pn,rootClassName:en,children:Wn,direction:Mn=\"horizontal\",prefixCls:Kn,split:hr,style:pr,wrap:zr=!1}=an,Wr=De(an,[\"size\",\"align\",\"className\",\"rootClassName\",\"children\",\"direction\",\"prefixCls\",\"split\",\"style\",\"wrap\"]),Nr=xe(),[Kr,ko]=y.useMemo(()=>(Array.isArray(At)?At:[At,At]).map(pt=>Oe(pt)),[At]),Ur=(0,q.Z)(Wn,{keepEmpty:!0}),gn=Fn===void 0&&Mn===\"horizontal\"?\"center\":Fn,Gt=In(\"space\",Kn),[bt,Zt]=(0,Le.Z)(Gt),gt=u()(Gt,Zt,`${Gt}-${Mn}`,{[`${Gt}-rtl`]:kt===\"rtl\",[`${Gt}-align-${gn}`]:gn},pn,en),Wt=`${Gt}-item`,xn=kt===\"rtl\"?\"marginLeft\":\"marginRight\";let Dt=0;const Xn=Ur.map((pt,Ue)=>{pt!=null&&(Dt=Ue);const xt=pt&&pt.key||`${Wt}-${Ue}`;return y.createElement(Ie,{className:Wt,key:xt,direction:Mn,index:Ue,marginDirection:xn,split:hr,wrap:zr},pt)}),Rn=y.useMemo(()=>({horizontalSize:Kr,verticalSize:ko,latestIndex:Dt,supportFlexGap:Nr}),[Kr,ko,Dt,Nr]);if(Ur.length===0)return null;const wt={};return zr&&(wt.flexWrap=\"wrap\",Nr||(wt.marginBottom=-ko)),Nr&&(wt.columnGap=Kr,wt.rowGap=ko),bt(y.createElement(\"div\",Object.assign({className:gt,style:Object.assign(Object.assign({},wt),pr)},Wr),y.createElement(ce.Provider,{value:Rn},Xn)))};oe.Compact=M.ZP;var he=oe,ie=c(92220),ae=c(38717),ve=c(67804),X=c(40949),se=c(58917),fe=c(72267),_e=c(42550),We=an=>{const{componentCls:In,antCls:Ft,paddingXS:kt,opacityLoading:At}=an;return{[`${In}-button`]:{whiteSpace:\"nowrap\",[`&${Ft}-btn-group > ${Ft}-btn`]:{[`&-loading, &-loading + ${Ft}-btn`]:{cursor:\"default\",pointerEvents:\"none\",opacity:At},[`&:last-child:not(:first-child):not(${Ft}-btn-icon-only)`]:{paddingInline:kt}}}}},Ze=an=>{const{componentCls:In,menuCls:Ft,colorError:kt,colorTextLightSolid:At}=an,Fn=`${Ft}-item`;return{[`${In}, ${In}-menu-submenu`]:{[`${Ft} ${Fn}`]:{[`&${Fn}-danger:not(${Fn}-disabled)`]:{color:kt,\"&:hover\":{color:At,backgroundColor:kt}}}}}};const Ve=an=>{const{componentCls:In,menuCls:Ft,zIndexPopup:kt,dropdownArrowDistance:At,sizePopupArrow:Fn,antCls:pn,iconCls:en,motionDurationMid:Wn,dropdownPaddingVertical:Mn,fontSize:Kn,dropdownEdgeChildPadding:hr,colorTextDisabled:pr,fontSizeIcon:zr,controlPaddingHorizontal:Wr,colorBgElevated:Nr}=an;return[{[In]:Object.assign(Object.assign({},(0,ie.Wf)(an)),{position:\"absolute\",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:kt,display:\"block\",\"&::before\":{position:\"absolute\",insetBlock:-At+Fn/2,zIndex:-9999,opacity:1e-4,content:'\"\"'},[`${In}-wrap`]:{position:\"relative\",[`${pn}-btn > ${en}-down`]:{fontSize:zr},[`${en}-down::before`]:{transition:`transform ${Wn}`}},[`${In}-wrap-open`]:{[`${en}-down::before`]:{transform:\"rotate(180deg)\"}},[`\n        &-hidden,\n        &-menu-hidden,\n        &-menu-submenu-hidden\n      `]:{display:\"none\"},[`&${pn}-slide-down-enter${pn}-slide-down-enter-active${In}-placement-bottomLeft,\n          &${pn}-slide-down-appear${pn}-slide-down-appear-active${In}-placement-bottomLeft,\n          &${pn}-slide-down-enter${pn}-slide-down-enter-active${In}-placement-bottom,\n          &${pn}-slide-down-appear${pn}-slide-down-appear-active${In}-placement-bottom,\n          &${pn}-slide-down-enter${pn}-slide-down-enter-active${In}-placement-bottomRight,\n          &${pn}-slide-down-appear${pn}-slide-down-appear-active${In}-placement-bottomRight`]:{animationName:ae.fJ},[`&${pn}-slide-up-enter${pn}-slide-up-enter-active${In}-placement-topLeft,\n          &${pn}-slide-up-appear${pn}-slide-up-appear-active${In}-placement-topLeft,\n          &${pn}-slide-up-enter${pn}-slide-up-enter-active${In}-placement-top,\n          &${pn}-slide-up-appear${pn}-slide-up-appear-active${In}-placement-top,\n          &${pn}-slide-up-enter${pn}-slide-up-enter-active${In}-placement-topRight,\n          &${pn}-slide-up-appear${pn}-slide-up-appear-active${In}-placement-topRight`]:{animationName:ae.Qt},[`&${pn}-slide-down-leave${pn}-slide-down-leave-active${In}-placement-bottomLeft,\n          &${pn}-slide-down-leave${pn}-slide-down-leave-active${In}-placement-bottom,\n          &${pn}-slide-down-leave${pn}-slide-down-leave-active${In}-placement-bottomRight`]:{animationName:ae.Uw},[`&${pn}-slide-up-leave${pn}-slide-up-leave-active${In}-placement-topLeft,\n          &${pn}-slide-up-leave${pn}-slide-up-leave-active${In}-placement-top,\n          &${pn}-slide-up-leave${pn}-slide-up-leave-active${In}-placement-topRight`]:{animationName:ae.ly}})},(0,se.ZP)(an,{colorBg:Nr,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${In} ${Ft}`]:{position:\"relative\",margin:0},[`${Ft}-submenu-popup`]:{position:\"absolute\",zIndex:kt,background:\"transparent\",boxShadow:\"none\",transformOrigin:\"0 0\",\"ul, li\":{listStyle:\"none\",margin:0}},[`${In}, ${In}-menu-submenu`]:{[Ft]:Object.assign(Object.assign({padding:hr,listStyleType:\"none\",backgroundColor:Nr,backgroundClip:\"padding-box\",borderRadius:an.borderRadiusLG,outline:\"none\",boxShadow:an.boxShadowSecondary},(0,ie.Qy)(an)),{[`${Ft}-item-group-title`]:{padding:`${Mn}px ${Wr}px`,color:an.colorTextDescription,transition:`all ${Wn}`},[`${Ft}-item`]:{position:\"relative\",display:\"flex\",alignItems:\"center\"},[`${Ft}-item-icon`]:{minWidth:Kn,marginInlineEnd:an.marginXS,fontSize:an.fontSizeSM},[`${Ft}-title-content`]:{flex:\"auto\",\"> a\":{color:\"inherit\",transition:`all ${Wn}`,\"&:hover\":{color:\"inherit\"},\"&::after\":{position:\"absolute\",inset:0,content:'\"\"'}}},[`${Ft}-item, ${Ft}-submenu-title`]:Object.assign(Object.assign({clear:\"both\",margin:0,padding:`${Mn}px ${Wr}px`,color:an.colorText,fontWeight:\"normal\",fontSize:Kn,lineHeight:an.lineHeight,cursor:\"pointer\",transition:`all ${Wn}`,borderRadius:an.borderRadiusSM,[\"&:hover, &-active\"]:{backgroundColor:an.controlItemBgHover}},(0,ie.Qy)(an)),{\"&-selected\":{color:an.colorPrimary,backgroundColor:an.controlItemBgActive,\"&:hover, &-active\":{backgroundColor:an.controlItemBgActiveHover}},\"&-disabled\":{color:pr,cursor:\"not-allowed\",\"&:hover\":{color:pr,backgroundColor:Nr,cursor:\"not-allowed\"},a:{pointerEvents:\"none\"}},\"&-divider\":{height:1,margin:`${an.marginXXS}px 0`,overflow:\"hidden\",lineHeight:0,backgroundColor:an.colorSplit},[`${In}-menu-submenu-expand-icon`]:{position:\"absolute\",insetInlineEnd:an.paddingXS,[`${In}-menu-submenu-arrow-icon`]:{marginInlineEnd:\"0 !important\",color:an.colorTextDescription,fontSize:zr,fontStyle:\"normal\"}}}),[`${Ft}-item-group-list`]:{margin:`0 ${an.marginXS}px`,padding:0,listStyle:\"none\"},[`${Ft}-submenu-title`]:{paddingInlineEnd:Wr+an.fontSizeSM},[`${Ft}-submenu-vertical`]:{position:\"relative\"},[`${Ft}-submenu${Ft}-submenu-disabled ${In}-menu-submenu-title`]:{[`&, ${In}-menu-submenu-arrow-icon`]:{color:pr,backgroundColor:Nr,cursor:\"not-allowed\"}},[`${Ft}-submenu-selected ${In}-menu-submenu-title`]:{color:an.colorPrimary}})}},[(0,ae.oN)(an,\"slide-up\"),(0,ae.oN)(an,\"slide-down\"),(0,ve.Fm)(an,\"move-up\"),(0,ve.Fm)(an,\"move-down\"),(0,X._y)(an,\"zoom-big\")]]};var et=(0,fe.Z)(\"Dropdown\",(an,In)=>{let{rootPrefixCls:Ft}=In;const{marginXXS:kt,sizePopupArrow:At,controlHeight:Fn,fontSize:pn,lineHeight:en,paddingXXS:Wn,componentCls:Mn,borderRadiusLG:Kn}=an,hr=(Fn-pn*en)/2,{dropdownArrowOffset:pr}=(0,se.fS)({contentRadius:Kn}),zr=(0,_e.TS)(an,{menuCls:`${Mn}-menu`,rootPrefixCls:Ft,dropdownArrowDistance:At/2+kt,dropdownArrowOffset:pr,dropdownPaddingVertical:hr,dropdownEdgeChildPadding:Wn});return[Ve(zr),We(zr),Ze(zr)]},an=>({zIndexPopup:an.zIndexPopupBase+50})),ht=function(an,In){var Ft={};for(var kt in an)Object.prototype.hasOwnProperty.call(an,kt)&&In.indexOf(kt)<0&&(Ft[kt]=an[kt]);if(an!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var At=0,kt=Object.getOwnPropertySymbols(an);At<kt.length;At++)In.indexOf(kt[At])<0&&Object.prototype.propertyIsEnumerable.call(an,kt[At])&&(Ft[kt[At]]=an[kt[At]]);return Ft};const Fe=an=>{const{getPopupContainer:In,getPrefixCls:Ft,direction:kt}=y.useContext(s.E_),{prefixCls:At,type:Fn=\"default\",danger:pn,disabled:en,loading:Wn,onClick:Mn,htmlType:Kn,children:hr,className:pr,menu:zr,arrow:Wr,autoFocus:Nr,overlay:Kr,trigger:ko,align:Ur,open:gn,onOpenChange:Gt,placement:bt,getPopupContainer:Zt,href:gt,icon:Wt=y.createElement(A.Z,null),title:xn,buttonsRender:Dt=$e=>$e,mouseEnterDelay:Xn,mouseLeaveDelay:Rn,overlayClassName:wt,overlayStyle:pt,destroyPopupOnHide:Ue,dropdownRender:xt}=an,cn=ht(an,[\"prefixCls\",\"type\",\"danger\",\"disabled\",\"loading\",\"onClick\",\"htmlType\",\"children\",\"className\",\"menu\",\"arrow\",\"autoFocus\",\"overlay\",\"trigger\",\"align\",\"open\",\"onOpenChange\",\"placement\",\"getPopupContainer\",\"href\",\"icon\",\"title\",\"buttonsRender\",\"mouseEnterDelay\",\"mouseLeaveDelay\",\"overlayClassName\",\"overlayStyle\",\"destroyPopupOnHide\",\"dropdownRender\"]),er=Ft(\"dropdown\",At),Mr=`${er}-button`,[xr,jr]=et(er),yo={menu:zr,arrow:Wr,autoFocus:Nr,align:Ur,disabled:en,trigger:en?[]:ko,onOpenChange:Gt,getPopupContainer:Zt||In,mouseEnterDelay:Xn,mouseLeaveDelay:Rn,overlayClassName:wt,overlayStyle:pt,destroyPopupOnHide:Ue,dropdownRender:xt},{compactSize:eo,compactItemClassnames:vi}=(0,M.ri)(er,kt),Ti=u()(Mr,vi,pr,jr);\"overlay\"in an&&(yo.overlay=Kr),\"open\"in an&&(yo.open=gn),\"placement\"in an?yo.placement=bt:yo.placement=kt===\"rtl\"?\"bottomLeft\":\"bottomRight\";const wi=y.createElement(J.ZP,{type:Fn,danger:pn,disabled:en,loading:Wn,onClick:Mn,htmlType:Kn,href:gt,title:xn},hr),mi=y.createElement(J.ZP,{type:Fn,danger:pn,icon:Wt}),[Zi,aa]=Dt([wi,mi]);return xr(y.createElement(he.Compact,Object.assign({className:Ti,size:eo,block:!0},cn),Zi,y.createElement(hn,Object.assign({},yo),aa)))};Fe.__ANT_BUTTON=!0;var mt=Fe,dt=c(28628);const Lt=null,lt=an=>{const{getPopupContainer:In,getPrefixCls:Ft,direction:kt}=y.useContext(s.E_),At=()=>{const yo=Ft(),{placement:eo=\"\",transitionName:vi}=an;return vi!==void 0?vi:eo.includes(\"top\")?`${yo}-slide-down`:`${yo}-slide-up`},Fn=()=>{const{placement:yo}=an;return yo?yo.includes(\"Center\")?yo.slice(0,yo.indexOf(\"Center\")):yo:kt===\"rtl\"?\"bottomRight\":\"bottomLeft\"},{menu:pn,arrow:en,prefixCls:Wn,children:Mn,trigger:Kn,disabled:hr,dropdownRender:pr,getPopupContainer:zr,overlayClassName:Wr,rootClassName:Nr,open:Kr,onOpenChange:ko,visible:Ur,onVisibleChange:gn,mouseEnterDelay:Gt=.15,mouseLeaveDelay:bt=.1,autoAdjustOverflow:Zt=!0}=an,gt=Ft(\"dropdown\",Wn),[Wt,xn]=et(gt),{token:Dt}=dt.Z.useToken(),Xn=y.Children.only(Mn),Rn=(0,L.Tm)(Xn,{className:u()(`${gt}-trigger`,{[`${gt}-rtl`]:kt===\"rtl\"},Xn.props.className),disabled:hr}),wt=hr?[]:Kn;let pt;wt&&wt.includes(\"contextMenu\")&&(pt=!0);const[Ue,xt]=(0,h.Z)(!1,{value:Kr!=null?Kr:Ur}),cn=(0,f.Z)(yo=>{ko==null||ko(yo),gn==null||gn(yo),xt(yo)}),er=u()(Wr,Nr,xn,{[`${gt}-rtl`]:kt===\"rtl\"}),Mr=(0,E.Z)({arrowPointAtCenter:typeof en==\"object\"&&en.pointAtCenter,autoAdjustOverflow:Zt,offset:Dt.marginXXS,arrowWidth:en?Dt.sizePopupArrow:0,borderRadius:Dt.borderRadius}),xr=y.useCallback(()=>{xt(!1)},[]),jr=()=>{const{overlay:yo}=an;let eo;return pn!=null&&pn.items?eo=y.createElement(m.Z,Object.assign({},pn)):typeof yo==\"function\"?eo=yo():eo=yo,pr&&(eo=pr(eo)),eo=y.Children.only(typeof eo==\"string\"?y.createElement(\"span\",null,eo):eo),y.createElement(x.J,{prefixCls:`${gt}-menu`,expandIcon:y.createElement(\"span\",{className:`${gt}-menu-submenu-arrow`},y.createElement(b,{className:`${gt}-menu-submenu-arrow-icon`})),mode:\"vertical\",selectable:!1,onClick:xr,validator:vi=>{let{mode:Ti}=vi}},y.createElement(M.BR,null,eo))};return Wt(y.createElement(a.Z,Object.assign({alignPoint:pt},(0,l.Z)(an,[\"rootClassName\"]),{mouseEnterDelay:Gt,mouseLeaveDelay:bt,visible:Ue,builtinPlacements:Mr,arrow:!!en,overlayClassName:er,prefixCls:gt,getPopupContainer:zr||In,transitionName:At(),trigger:wt,overlay:jr,placement:Fn(),onVisibleChange:cn}),Rn))};lt.Button=mt;const rn=(0,j.Z)(lt,\"dropdown\",an=>an),qt=an=>y.createElement(rn,Object.assign({},an),y.createElement(\"span\",null));lt._InternalPanelDoNotUseOrYouWillBeFired=qt;var hn=lt,Kt=hn},60576:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Ux:function(){return p},aM:function(){return b}});var r=c(61553),y=c(50959);const N=y.createContext({labelAlign:\"right\",vertical:!1,itemRef:()=>{}}),C=null,w=u=>{const a=omit(u,[\"prefixCls\"]);return React.createElement(RcFormProvider,Object.assign({},a))},O=y.createContext({prefixCls:\"\"}),b=y.createContext({}),p=u=>{let{children:a,status:f,override:h}=u;const l=(0,y.useContext)(b),s=(0,y.useMemo)(()=>{const m=Object.assign({},l);return h&&delete m.isFormItemInput,f&&(delete m.status,delete m.hasFeedback,delete m.feedbackIcon),m},[f,h,l]);return y.createElement(b.Provider,{value:s},a)}},87137:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return aa}});var r=c(84875),y=c.n(r),N=c(50959),C=c(35531),w=c(60576),O=c(92220),b=c(36717),p=c(42550),u=c(72267);const a=$e=>({\"&::-moz-placeholder\":{opacity:1},\"&::placeholder\":{color:$e,userSelect:\"none\"},\"&:placeholder-shown\":{textOverflow:\"ellipsis\"}}),f=$e=>({borderColor:$e.inputBorderHoverColor,borderInlineEndWidth:$e.lineWidth}),h=$e=>({borderColor:$e.inputBorderHoverColor,boxShadow:`0 0 0 ${$e.controlOutlineWidth}px ${$e.controlOutline}`,borderInlineEndWidth:$e.lineWidth,outline:0}),l=$e=>({color:$e.colorTextDisabled,backgroundColor:$e.colorBgContainerDisabled,borderColor:$e.colorBorder,boxShadow:\"none\",cursor:\"not-allowed\",opacity:1,\"&:hover\":Object.assign({},f((0,p.TS)($e,{inputBorderHoverColor:$e.colorBorder})))}),s=$e=>{const{inputPaddingVerticalLG:dn,fontSizeLG:Un,lineHeightLG:ar,borderRadiusLG:Rr,inputPaddingHorizontalLG:Ro}=$e;return{padding:`${dn}px ${Ro}px`,fontSize:Un,lineHeight:ar,borderRadius:Rr}},m=$e=>({padding:`${$e.inputPaddingVerticalSM}px ${$e.controlPaddingHorizontalSM-1}px`,borderRadius:$e.borderRadiusSM}),x=($e,dn)=>{const{componentCls:Un,colorError:ar,colorWarning:Rr,colorErrorOutline:Ro,colorWarningOutline:Vo,colorErrorBorderHover:Co,colorWarningBorderHover:Mo}=$e;return{[`&-status-error:not(${dn}-disabled):not(${dn}-borderless)${dn}`]:{borderColor:ar,\"&:hover\":{borderColor:Co},\"&:focus, &-focused\":Object.assign({},h((0,p.TS)($e,{inputBorderActiveColor:ar,inputBorderHoverColor:ar,controlOutline:Ro}))),[`${Un}-prefix, ${Un}-suffix`]:{color:ar}},[`&-status-warning:not(${dn}-disabled):not(${dn}-borderless)${dn}`]:{borderColor:Rr,\"&:hover\":{borderColor:Mo},\"&:focus, &-focused\":Object.assign({},h((0,p.TS)($e,{inputBorderActiveColor:Rr,inputBorderHoverColor:Rr,controlOutline:Vo}))),[`${Un}-prefix, ${Un}-suffix`]:{color:Rr}}}},M=$e=>Object.assign(Object.assign({position:\"relative\",display:\"inline-block\",width:\"100%\",minWidth:0,padding:`${$e.inputPaddingVertical}px ${$e.inputPaddingHorizontal}px`,color:$e.colorText,fontSize:$e.fontSize,lineHeight:$e.lineHeight,backgroundColor:$e.colorBgContainer,backgroundImage:\"none\",borderWidth:$e.lineWidth,borderStyle:$e.lineType,borderColor:$e.colorBorder,borderRadius:$e.borderRadius,transition:`all ${$e.motionDurationMid}`},a($e.colorTextPlaceholder)),{\"&:hover\":Object.assign({},f($e)),\"&:focus, &-focused\":Object.assign({},h($e)),\"&-disabled, &[disabled]\":Object.assign({},l($e)),\"&-borderless\":{\"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]\":{backgroundColor:\"transparent\",border:\"none\",boxShadow:\"none\"}},\"textarea&\":{maxWidth:\"100%\",height:\"auto\",minHeight:$e.controlHeight,lineHeight:$e.lineHeight,verticalAlign:\"bottom\",transition:`all ${$e.motionDurationSlow}, height 0s`,resize:\"vertical\"},\"&-lg\":Object.assign({},s($e)),\"&-sm\":Object.assign({},m($e)),\"&-rtl\":{direction:\"rtl\"},\"&-textarea-rtl\":{direction:\"rtl\"}}),E=$e=>{const{componentCls:dn,antCls:Un}=$e;return{position:\"relative\",display:\"table\",width:\"100%\",borderCollapse:\"separate\",borderSpacing:0,[\"&[class*='col-']\"]:{paddingInlineEnd:$e.paddingXS,\"&:last-child\":{paddingInlineEnd:0}},[`&-lg ${dn}, &-lg > ${dn}-group-addon`]:Object.assign({},s($e)),[`&-sm ${dn}, &-sm > ${dn}-group-addon`]:Object.assign({},m($e)),[`&-lg ${Un}-select-single ${Un}-select-selector`]:{height:$e.controlHeightLG},[`&-sm ${Un}-select-single ${Un}-select-selector`]:{height:$e.controlHeightSM},[`> ${dn}`]:{display:\"table-cell\",\"&:not(:first-child):not(:last-child)\":{borderRadius:0}},[`${dn}-group`]:{[\"&-addon, &-wrap\"]:{display:\"table-cell\",width:1,whiteSpace:\"nowrap\",verticalAlign:\"middle\",\"&:not(:first-child):not(:last-child)\":{borderRadius:0}},\"&-wrap > *\":{display:\"block !important\"},\"&-addon\":{position:\"relative\",padding:`0 ${$e.inputPaddingHorizontal}px`,color:$e.colorText,fontWeight:\"normal\",fontSize:$e.fontSize,textAlign:\"center\",backgroundColor:$e.colorFillAlter,border:`${$e.lineWidth}px ${$e.lineType} ${$e.colorBorder}`,borderRadius:$e.borderRadius,transition:`all ${$e.motionDurationSlow}`,lineHeight:1,[`${Un}-select`]:{margin:`-${$e.inputPaddingVertical+1}px -${$e.inputPaddingHorizontal}px`,[`&${Un}-select-single:not(${Un}-select-customize-input)`]:{[`${Un}-select-selector`]:{backgroundColor:\"inherit\",border:`${$e.lineWidth}px ${$e.lineType} transparent`,boxShadow:\"none\"}},\"&-open, &-focused\":{[`${Un}-select-selector`]:{color:$e.colorPrimary}}},[`${Un}-cascader-picker`]:{margin:`-9px -${$e.inputPaddingHorizontal}px`,backgroundColor:\"transparent\",[`${Un}-cascader-input`]:{textAlign:\"start\",border:0,boxShadow:\"none\"}}},\"&-addon:first-child\":{borderInlineEnd:0},\"&-addon:last-child\":{borderInlineStart:0}},[`${dn}`]:{width:\"100%\",marginBottom:0,textAlign:\"inherit\",\"&:focus\":{zIndex:1,borderInlineEndWidth:1},\"&:hover\":{zIndex:1,borderInlineEndWidth:1,[`${dn}-search-with-button &`]:{zIndex:0}}},[`> ${dn}:first-child, ${dn}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${Un}-select ${Un}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${dn}-affix-wrapper`]:{[`&:not(:first-child) ${dn}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${dn}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${dn}:last-child, ${dn}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${Un}-select ${Un}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${dn}-affix-wrapper`]:{\"&:not(:last-child)\":{borderStartEndRadius:0,borderEndEndRadius:0,[`${dn}-search &`]:{borderStartStartRadius:$e.borderRadius,borderEndStartRadius:$e.borderRadius}},[`&:not(:first-child), ${dn}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${dn}-group-compact`]:Object.assign(Object.assign({display:\"block\"},(0,O.dF)()),{[`${dn}-group-addon, ${dn}-group-wrap, > ${dn}`]:{\"&:not(:first-child):not(:last-child)\":{borderInlineEndWidth:$e.lineWidth,\"&:hover\":{zIndex:1},\"&:focus\":{zIndex:1}}},\"& > *\":{display:\"inline-block\",float:\"none\",verticalAlign:\"top\",borderRadius:0},[`& > ${dn}-affix-wrapper`]:{display:\"inline-flex\"},[`& > ${Un}-picker-range`]:{display:\"inline-flex\"},\"& > *:not(:last-child)\":{marginInlineEnd:-$e.lineWidth,borderInlineEndWidth:$e.lineWidth},[`${dn}`]:{float:\"none\"},[`& > ${Un}-select > ${Un}-select-selector,\n      & > ${Un}-select-auto-complete ${dn},\n      & > ${Un}-cascader-picker ${dn},\n      & > ${dn}-group-wrapper ${dn}`]:{borderInlineEndWidth:$e.lineWidth,borderRadius:0,\"&:hover\":{zIndex:1},\"&:focus\":{zIndex:1}},[`& > ${Un}-select-focused`]:{zIndex:1},[`& > ${Un}-select > ${Un}-select-arrow`]:{zIndex:1},[`& > *:first-child,\n      & > ${Un}-select:first-child > ${Un}-select-selector,\n      & > ${Un}-select-auto-complete:first-child ${dn},\n      & > ${Un}-cascader-picker:first-child ${dn}`]:{borderStartStartRadius:$e.borderRadius,borderEndStartRadius:$e.borderRadius},[`& > *:last-child,\n      & > ${Un}-select:last-child > ${Un}-select-selector,\n      & > ${Un}-cascader-picker:last-child ${dn},\n      & > ${Un}-cascader-picker-focused:last-child ${dn}`]:{borderInlineEndWidth:$e.lineWidth,borderStartEndRadius:$e.borderRadius,borderEndEndRadius:$e.borderRadius},[`& > ${Un}-select-auto-complete ${dn}`]:{verticalAlign:\"top\"},[`${dn}-group-wrapper + ${dn}-group-wrapper`]:{marginInlineStart:-$e.lineWidth,[`${dn}-affix-wrapper`]:{borderRadius:0}},[`${dn}-group-wrapper:not(:last-child)`]:{[`&${dn}-search > ${dn}-group`]:{[`& > ${dn}-group-addon > ${dn}-search-button`]:{borderRadius:0},[`& > ${dn}`]:{borderStartStartRadius:$e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:$e.borderRadius}}}})}},j=$e=>{const{componentCls:dn,controlHeightSM:Un,lineWidth:ar}=$e,Rr=16,Ro=(Un-ar*2-Rr)/2;return{[dn]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,O.Wf)($e)),M($e)),x($e,dn)),{'&[type=\"color\"]':{height:$e.controlHeight,[`&${dn}-lg`]:{height:$e.controlHeightLG},[`&${dn}-sm`]:{height:Un,paddingTop:Ro,paddingBottom:Ro}},'&[type=\"search\"]::-webkit-search-cancel-button, &[type=\"search\"]::-webkit-search-decoration':{\"-webkit-appearance\":\"none\"}})}},L=$e=>{const{componentCls:dn}=$e;return{[`${dn}-clear-icon`]:{margin:0,color:$e.colorTextQuaternary,fontSize:$e.fontSizeIcon,verticalAlign:-1,cursor:\"pointer\",transition:`color ${$e.motionDurationSlow}`,\"&:hover\":{color:$e.colorTextTertiary},\"&:active\":{color:$e.colorText},\"&-hidden\":{visibility:\"hidden\"},\"&-has-suffix\":{margin:`0 ${$e.inputAffixPadding}px`}}}},A=$e=>{const{componentCls:dn,inputAffixPadding:Un,colorTextDescription:ar,motionDurationSlow:Rr,colorIcon:Ro,colorIconHover:Vo,iconCls:Co}=$e;return{[`${dn}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},M($e)),{display:\"inline-flex\",[`&:not(${dn}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},f($e)),{zIndex:1,[`${dn}-search-with-button &`]:{zIndex:0}}),\"&-focused, &:focus\":{zIndex:1},\"&-disabled\":{[`${dn}[disabled]`]:{background:\"transparent\"}},[`> input${dn}`]:{padding:0,fontSize:\"inherit\",border:\"none\",borderRadius:0,outline:\"none\",\"&:focus\":{boxShadow:\"none !important\"}},\"&::before\":{width:0,visibility:\"hidden\",content:'\"\\\\a0\"'},[`${dn}`]:{\"&-prefix, &-suffix\":{display:\"flex\",flex:\"none\",alignItems:\"center\",\"> *:not(:last-child)\":{marginInlineEnd:$e.paddingXS}},\"&-show-count-suffix\":{color:ar},\"&-show-count-has-suffix\":{marginInlineEnd:$e.paddingXXS},\"&-prefix\":{marginInlineEnd:Un},\"&-suffix\":{marginInlineStart:Un}}}),L($e)),{[`${Co}${dn}-password-icon`]:{color:Ro,cursor:\"pointer\",transition:`all ${Rr}`,\"&:hover\":{color:Vo}}}),x($e,`${dn}-affix-wrapper`))}},J=$e=>{const{componentCls:dn,colorError:Un,colorWarning:ar,borderRadiusLG:Rr,borderRadiusSM:Ro}=$e;return{[`${dn}-group`]:Object.assign(Object.assign(Object.assign({},(0,O.Wf)($e)),E($e)),{\"&-rtl\":{direction:\"rtl\"},\"&-wrapper\":{display:\"inline-block\",width:\"100%\",textAlign:\"start\",verticalAlign:\"top\",\"&-rtl\":{direction:\"rtl\"},\"&-lg\":{[`${dn}-group-addon`]:{borderRadius:Rr}},\"&-sm\":{[`${dn}-group-addon`]:{borderRadius:Ro}},\"&-status-error\":{[`${dn}-group-addon`]:{color:Un,borderColor:Un}},\"&-status-warning\":{[`${dn}-group-addon`]:{color:ar,borderColor:ar}},\"&-disabled\":{[`${dn}-group-addon`]:Object.assign({},l($e))}}})}},q=$e=>{const{componentCls:dn,antCls:Un}=$e,ar=`${dn}-search`;return{[ar]:{[`${dn}`]:{\"&:hover, &:focus\":{borderColor:$e.colorPrimaryHover,[`+ ${dn}-group-addon ${ar}-button:not(${Un}-btn-primary)`]:{borderInlineStartColor:$e.colorPrimaryHover}}},[`${dn}-affix-wrapper`]:{borderRadius:0},[`${dn}-lg`]:{lineHeight:$e.lineHeightLG-2e-4},[`> ${dn}-group`]:{[`> ${dn}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${ar}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:$e.borderRadius,borderEndEndRadius:$e.borderRadius,borderEndStartRadius:0},[`${ar}-button:not(${Un}-btn-primary)`]:{color:$e.colorTextDescription,\"&:hover\":{color:$e.colorPrimaryHover},\"&:active\":{color:$e.colorPrimaryActive},[`&${Un}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${ar}-button`]:{height:$e.controlHeight,\"&:hover, &:focus\":{zIndex:1}},[`&-large ${ar}-button`]:{height:$e.controlHeightLG},[`&-small ${ar}-button`]:{height:$e.controlHeightSM},\"&-rtl\":{direction:\"rtl\"},[`&${dn}-compact-item`]:{[`&:not(${dn}-compact-last-item)`]:{[`${dn}-group-addon`]:{[`${dn}-search-button`]:{marginInlineEnd:-$e.lineWidth,borderRadius:0}}},[`&:not(${dn}-compact-first-item)`]:{[`${dn},${dn}-affix-wrapper`]:{borderRadius:0}},[`> ${dn}-group-addon ${dn}-search-button,\n        > ${dn},\n        ${dn}-affix-wrapper`]:{\"&:hover,&:focus,&:active\":{zIndex:2}},[`> ${dn}-affix-wrapper-focused`]:{zIndex:2}}}}};function re($e){return(0,p.TS)($e,{inputAffixPadding:$e.paddingXXS,inputPaddingVertical:Math.max(Math.round(($e.controlHeight-$e.fontSize*$e.lineHeight)/2*10)/10-$e.lineWidth,3),inputPaddingVerticalLG:Math.ceil(($e.controlHeightLG-$e.fontSizeLG*$e.lineHeightLG)/2*10)/10-$e.lineWidth,inputPaddingVerticalSM:Math.max(Math.round(($e.controlHeightSM-$e.fontSize*$e.lineHeight)/2*10)/10-$e.lineWidth,0),inputPaddingHorizontal:$e.paddingSM-$e.lineWidth,inputPaddingHorizontalSM:$e.paddingXS-$e.lineWidth,inputPaddingHorizontalLG:$e.controlPaddingHorizontal-$e.lineWidth,inputBorderHoverColor:$e.colorPrimaryHover,inputBorderActiveColor:$e.colorPrimaryHover})}const me=$e=>{const{componentCls:dn,paddingLG:Un}=$e,ar=`${dn}-textarea`;return{[ar]:{position:\"relative\",\"&-show-count\":{[`> ${dn}`]:{height:\"100%\"},[`${dn}-data-count`]:{color:$e.colorTextDescription,whiteSpace:\"nowrap\",pointerEvents:\"none\",float:\"right\",marginBottom:-$e.fontSize*$e.lineHeight},\"&-rtl\":{[`${dn}-data-count`]:{float:\"left\"}}},[`&-affix-wrapper${ar}-has-feedback`]:{[`${dn}`]:{paddingInlineEnd:Un}},[`&-affix-wrapper${dn}-affix-wrapper`]:{padding:0,[`> textarea${dn}`]:{fontSize:\"inherit\",border:\"none\",outline:\"none\",\"&:focus\":{boxShadow:\"none !important\"}},[`${dn}-suffix`]:{margin:0,\"> *:not(:last-child)\":{marginInline:0},[`${dn}-clear-icon`]:{position:\"absolute\",insetInlineEnd:$e.paddingXS,insetBlockStart:$e.paddingXS},[`${ar}-suffix`]:{position:\"absolute\",top:0,insetInlineEnd:$e.inputPaddingHorizontal,bottom:0,zIndex:1,display:\"inline-flex\",alignItems:\"center\",margin:\"auto\",pointerEvents:\"none\"}}}}}};var Te=(0,u.Z)(\"Input\",$e=>{const dn=re($e);return[j(dn),me(dn),A(dn),J(dn),q(dn),(0,b.c)(dn)]}),xe=$e=>{const{getPrefixCls:dn,direction:Un}=(0,N.useContext)(C.E_),{prefixCls:ar,className:Rr=\"\"}=$e,Ro=dn(\"input-group\",ar),Vo=dn(\"input\"),[Co,Mo]=Te(Vo),qo=y()(Ro,{[`${Ro}-lg`]:$e.size===\"large\",[`${Ro}-sm`]:$e.size===\"small\",[`${Ro}-compact`]:$e.compact,[`${Ro}-rtl`]:Un===\"rtl\"},Mo,Rr),ti=(0,N.useContext)(w.aM),pi=(0,N.useMemo)(()=>Object.assign(Object.assign({},ti),{isFormItemInput:!1}),[ti]);return Co(N.createElement(\"span\",{className:qo,style:$e.style,onMouseEnter:$e.onMouseEnter,onMouseLeave:$e.onMouseLeave,onFocus:$e.onFocus,onBlur:$e.onBlur},N.createElement(w.aM.Provider,{value:pi},$e.children)))},Ie=c(39810),Le=c(75782),De=c(24572),ce=c(26143);function ye($e){return!!($e.addonBefore||$e.addonAfter)}function Oe($e){return!!($e.prefix||$e.suffix||$e.allowClear)}function Ce($e,dn,Un,ar){if(Un){var Rr=dn;if(dn.type===\"click\"){var Ro=$e.cloneNode(!0);Rr=Object.create(dn,{target:{value:Ro},currentTarget:{value:Ro}}),Ro.value=\"\",Un(Rr);return}if(ar!==void 0){Rr=Object.create(dn,{target:{value:$e},currentTarget:{value:$e}}),$e.value=ar,Un(Rr);return}Un(Rr)}}function oe($e,dn){if($e){$e.focus(dn);var Un=dn||{},ar=Un.cursor;if(ar){var Rr=$e.value.length;switch(ar){case\"start\":$e.setSelectionRange(0,0);break;case\"end\":$e.setSelectionRange(Rr,Rr);break;default:$e.setSelectionRange(0,Rr)}}}}function he($e){return typeof $e==\"undefined\"||$e===null?\"\":String($e)}var ie=function(dn){var Un,ar=dn.inputElement,Rr=dn.prefixCls,Ro=dn.prefix,Vo=dn.suffix,Co=dn.addonBefore,Mo=dn.addonAfter,qo=dn.className,ti=dn.style,pi=dn.affixWrapperClassName,ni=dn.groupClassName,si=dn.wrapperClassName,Oi=dn.disabled,Ki=dn.readOnly,ca=dn.focused,zi=dn.triggerFocus,br=dn.allowClear,Re=dn.value,je=dn.handleReset,nt=dn.hidden,rt=dn.inputStyle,Xt=dn.classes,fn=(0,N.useRef)(null),Cn=function(Ir){var Jr;(Jr=fn.current)!==null&&Jr!==void 0&&Jr.contains(Ir.target)&&(zi==null||zi())},Yn=function(){var Ir;if(!br)return null;var Jr=!Oi&&!Ki&&Re,_o=\"\".concat(Rr,\"-clear-icon\"),No=(0,ce.Z)(br)===\"object\"&&br!==null&&br!==void 0&&br.clearIcon?br.clearIcon:\"\\u2716\";return N.createElement(\"span\",{onClick:je,onMouseDown:function(Lo){return Lo.preventDefault()},className:y()(_o,(Ir={},(0,De.Z)(Ir,\"\".concat(_o,\"-hidden\"),!Jr),(0,De.Z)(Ir,\"\".concat(_o,\"-has-suffix\"),!!Vo),Ir)),role:\"button\",tabIndex:-1},No)},Ae=(0,N.cloneElement)(ar,{value:Re,hidden:nt,style:(0,Le.Z)((0,Le.Z)({},(Un=ar.props)===null||Un===void 0?void 0:Un.style),rt)});if(Oe(dn)){var Ke,Mt=\"\".concat(Rr,\"-affix-wrapper\"),Ut=y()(Mt,(Ke={},(0,De.Z)(Ke,\"\".concat(Mt,\"-disabled\"),Oi),(0,De.Z)(Ke,\"\".concat(Mt,\"-focused\"),ca),(0,De.Z)(Ke,\"\".concat(Mt,\"-readonly\"),Ki),(0,De.Z)(Ke,\"\".concat(Mt,\"-input-with-clear-btn\"),Vo&&br&&Re),Ke),!ye(dn)&&qo,pi,Xt==null?void 0:Xt.affixWrapper),kn=(Vo||br)&&N.createElement(\"span\",{className:\"\".concat(Rr,\"-suffix\")},Yn(),Vo);Ae=N.createElement(\"span\",{className:Ut,style:ti,hidden:!ye(dn)&&nt,onClick:Cn,ref:fn},Ro&&N.createElement(\"span\",{className:\"\".concat(Rr,\"-prefix\")},Ro),(0,N.cloneElement)(ar,{style:rt!=null?rt:null,value:Re,hidden:null}),kn)}if(ye(dn)){var Zn=\"\".concat(Rr,\"-group\"),lr=\"\".concat(Zn,\"-addon\"),wr=y()(\"\".concat(Rr,\"-wrapper\"),Zn,si,Xt==null?void 0:Xt.wrapper),Dr=y()(\"\".concat(Rr,\"-group-wrapper\"),qo,ni,Xt==null?void 0:Xt.group);return N.createElement(\"span\",{className:Dr,style:ti,hidden:nt},N.createElement(\"span\",{className:wr},Co&&N.createElement(\"span\",{className:lr},Co),(0,N.cloneElement)(Ae,{style:rt!=null?rt:null,hidden:null}),Mo&&N.createElement(\"span\",{className:lr},Mo)))}return Ae},ae=ie,ve=c(49544),X=c(51163),se=c(91600),fe=c(58733),_e=c(97318),be=c(47280),We=[\"autoComplete\",\"onChange\",\"onFocus\",\"onBlur\",\"onPressEnter\",\"onKeyDown\",\"prefixCls\",\"disabled\",\"htmlSize\",\"className\",\"maxLength\",\"suffix\",\"showCount\",\"type\",\"inputClassName\",\"classes\"],we=(0,N.forwardRef)(function($e,dn){var Un=$e.autoComplete,ar=$e.onChange,Rr=$e.onFocus,Ro=$e.onBlur,Vo=$e.onPressEnter,Co=$e.onKeyDown,Mo=$e.prefixCls,qo=Mo===void 0?\"rc-input\":Mo,ti=$e.disabled,pi=$e.htmlSize,ni=$e.className,si=$e.maxLength,Oi=$e.suffix,Ki=$e.showCount,ca=$e.type,zi=ca===void 0?\"text\":ca,br=$e.inputClassName,Re=$e.classes,je=(0,fe.Z)($e,We),nt=(0,be.Z)($e.defaultValue,{value:$e.value}),rt=(0,se.Z)(nt,2),Xt=rt[0],fn=rt[1],Cn=(0,N.useState)(!1),Yn=(0,se.Z)(Cn,2),Ae=Yn[0],Ke=Yn[1],Mt=(0,N.useRef)(null),Ut=function(_o){Mt.current&&oe(Mt.current,_o)};(0,N.useImperativeHandle)(dn,function(){return{focus:Ut,blur:function(){var _o;(_o=Mt.current)===null||_o===void 0||_o.blur()},setSelectionRange:function(_o,No,ii){var Lo;(Lo=Mt.current)===null||Lo===void 0||Lo.setSelectionRange(_o,No,ii)},select:function(){var _o;(_o=Mt.current)===null||_o===void 0||_o.select()},input:Mt.current}}),(0,N.useEffect)(function(){Ke(function(Jr){return Jr&&ti?!1:Jr})},[ti]);var kn=function(_o){$e.value===void 0&&fn(_o.target.value),Mt.current&&Ce(Mt.current,_o,ar)},Zn=function(_o){Vo&&_o.key===\"Enter\"&&Vo(_o),Co==null||Co(_o)},lr=function(_o){Ke(!0),Rr==null||Rr(_o)},wr=function(_o){Ke(!1),Ro==null||Ro(_o)},Dr=function(_o){fn(\"\"),Ut(),Mt.current&&Ce(Mt.current,_o,ar)},go=function(){var _o=(0,_e.Z)($e,[\"prefixCls\",\"onPressEnter\",\"addonBefore\",\"addonAfter\",\"prefix\",\"suffix\",\"allowClear\",\"defaultValue\",\"showCount\",\"affixWrapperClassName\",\"groupClassName\",\"inputClassName\",\"classes\",\"wrapperClassName\",\"htmlSize\"]);return N.createElement(\"input\",(0,X.Z)({autoComplete:Un},_o,{onChange:kn,onFocus:lr,onBlur:wr,onKeyDown:Zn,className:y()(qo,(0,De.Z)({},\"\".concat(qo,\"-disabled\"),ti),br,Re==null?void 0:Re.input,!ye($e)&&!Oe($e)&&ni),ref:Mt,size:pi,type:zi}))},Ir=function(){var _o=Number(si)>0;if(Oi||Ki){var No=he(Xt),ii=(0,ve.Z)(No).length,Lo=(0,ce.Z)(Ki)===\"object\"?Ki.formatter({value:No,count:ii,maxLength:si}):\"\".concat(ii).concat(_o?\" / \".concat(si):\"\");return N.createElement(N.Fragment,null,!!Ki&&N.createElement(\"span\",{className:y()(\"\".concat(qo,\"-show-count-suffix\"),(0,De.Z)({},\"\".concat(qo,\"-show-count-has-suffix\"),!!Oi))},Lo),Oi)}return null};return N.createElement(ae,(0,X.Z)({},je,{prefixCls:qo,className:ni,inputElement:go(),handleReset:Dr,value:he(Xt),focused:Ae,triggerFocus:Ut,suffix:Ir(),disabled:ti,classes:Re}))}),Ze=we,Ve=Ze,et=c(64111),ht=c(47265),Fe=c(75469),mt=c(2315),dt=c(91700);function Lt($e,dn){const Un=(0,N.useRef)([]),ar=()=>{Un.current.push(setTimeout(()=>{var Rr,Ro,Vo,Co;!((Rr=$e.current)===null||Rr===void 0)&&Rr.input&&((Ro=$e.current)===null||Ro===void 0?void 0:Ro.input.getAttribute(\"type\"))===\"password\"&&(!((Vo=$e.current)===null||Vo===void 0)&&Vo.input.hasAttribute(\"value\"))&&((Co=$e.current)===null||Co===void 0||Co.input.removeAttribute(\"value\"))}))};return(0,N.useEffect)(()=>(dn&&ar(),()=>Un.current.forEach(Rr=>{Rr&&clearTimeout(Rr)})),[]),ar}function lt($e){return!!($e.prefix||$e.suffix||$e.allowClear)}var rn=function($e,dn){var Un={};for(var ar in $e)Object.prototype.hasOwnProperty.call($e,ar)&&dn.indexOf(ar)<0&&(Un[ar]=$e[ar]);if($e!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var Rr=0,ar=Object.getOwnPropertySymbols($e);Rr<ar.length;Rr++)dn.indexOf(ar[Rr])<0&&Object.prototype.propertyIsEnumerable.call($e,ar[Rr])&&(Un[ar[Rr]]=$e[ar[Rr]]);return Un};function qt($e,dn){if(!$e)return;$e.focus(dn);const{cursor:Un}=dn||{};if(Un){const ar=$e.value.length;switch(Un){case\"start\":$e.setSelectionRange(0,0);break;case\"end\":$e.setSelectionRange(ar,ar);break;default:$e.setSelectionRange(0,ar);break}}}var Kt=(0,N.forwardRef)(($e,dn)=>{const{prefixCls:Un,bordered:ar=!0,status:Rr,size:Ro,disabled:Vo,onBlur:Co,onFocus:Mo,suffix:qo,allowClear:ti,addonAfter:pi,addonBefore:ni,className:si,rootClassName:Oi,onChange:Ki}=$e,ca=rn($e,[\"prefixCls\",\"bordered\",\"status\",\"size\",\"disabled\",\"onBlur\",\"onFocus\",\"suffix\",\"allowClear\",\"addonAfter\",\"addonBefore\",\"className\",\"rootClassName\",\"onChange\"]),{getPrefixCls:zi,direction:br,input:Re}=N.useContext(C.E_),je=zi(\"input\",Un),nt=(0,N.useRef)(null),[rt,Xt]=Te(je),{compactSize:fn,compactItemClassnames:Cn}=(0,mt.ri)(je,br),Yn=N.useContext(Fe.Z),Ae=fn||Ro||Yn,Ke=N.useContext(ht.Z),Mt=Vo!=null?Vo:Ke,{status:Ut,hasFeedback:kn,feedbackIcon:Zn}=(0,N.useContext)(w.aM),lr=(0,dt.F)(Ut,Rr),wr=lt($e)||!!kn,Dr=(0,N.useRef)(wr);(0,N.useEffect)(()=>{var Lo;wr&&Dr.current,Dr.current=wr},[wr]);const go=Lt(nt,!0),Ir=Lo=>{go(),Co==null||Co(Lo)},Jr=Lo=>{go(),Mo==null||Mo(Lo)},_o=Lo=>{go(),Ki==null||Ki(Lo)},No=(kn||qo)&&N.createElement(N.Fragment,null,qo,kn&&Zn);let ii;return typeof ti==\"object\"&&(ti!=null&&ti.clearIcon)?ii=ti:ti&&(ii={clearIcon:N.createElement(Ie.Z,null)}),rt(N.createElement(Ve,Object.assign({ref:(0,et.sQ)(dn,nt),prefixCls:je,autoComplete:Re==null?void 0:Re.autoComplete},ca,{disabled:Mt,onBlur:Ir,onFocus:Jr,suffix:No,allowClear:ii,className:y()(si,Oi,Cn),onChange:_o,addonAfter:pi&&N.createElement(mt.BR,null,N.createElement(w.Ux,{override:!0,status:!0},pi)),addonBefore:ni&&N.createElement(mt.BR,null,N.createElement(w.Ux,{override:!0,status:!0},ni)),classes:{input:y()({[`${je}-sm`]:Ae===\"small\",[`${je}-lg`]:Ae===\"large\",[`${je}-rtl`]:br===\"rtl\",[`${je}-borderless`]:!ar},!wr&&(0,dt.Z)(je,lr),Xt),affixWrapper:y()({[`${je}-affix-wrapper-sm`]:Ae===\"small\",[`${je}-affix-wrapper-lg`]:Ae===\"large\",[`${je}-affix-wrapper-rtl`]:br===\"rtl\",[`${je}-affix-wrapper-borderless`]:!ar},(0,dt.Z)(`${je}-affix-wrapper`,lr,kn),Xt),wrapper:y()({[`${je}-group-rtl`]:br===\"rtl\"},Xt),group:y()({[`${je}-group-wrapper-sm`]:Ae===\"small\",[`${je}-group-wrapper-lg`]:Ae===\"large\",[`${je}-group-wrapper-rtl`]:br===\"rtl\",[`${je}-group-wrapper-disabled`]:Mt},(0,dt.Z)(`${je}-group-wrapper`,lr,kn),Xt)}})))}),an={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\"},In=an,Ft=c(58649),kt=function(dn,Un){return N.createElement(Ft.Z,(0,Le.Z)((0,Le.Z)({},dn),{},{ref:Un,icon:In}))};kt.displayName=\"EyeInvisibleOutlined\";var At=N.forwardRef(kt),Fn={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\"},pn=Fn,en=function(dn,Un){return N.createElement(Ft.Z,(0,Le.Z)((0,Le.Z)({},dn),{},{ref:Un,icon:pn}))};en.displayName=\"EyeOutlined\";var Wn=N.forwardRef(en),Mn=function($e,dn){var Un={};for(var ar in $e)Object.prototype.hasOwnProperty.call($e,ar)&&dn.indexOf(ar)<0&&(Un[ar]=$e[ar]);if($e!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var Rr=0,ar=Object.getOwnPropertySymbols($e);Rr<ar.length;Rr++)dn.indexOf(ar[Rr])<0&&Object.prototype.propertyIsEnumerable.call($e,ar[Rr])&&(Un[ar[Rr]]=$e[ar[Rr]]);return Un};const Kn=$e=>$e?N.createElement(Wn,null):N.createElement(At,null),hr={click:\"onClick\",hover:\"onMouseOver\"};var zr=N.forwardRef(($e,dn)=>{const{visibilityToggle:Un=!0}=$e,ar=typeof Un==\"object\"&&Un.visible!==void 0,[Rr,Ro]=(0,N.useState)(()=>ar?Un.visible:!1),Vo=(0,N.useRef)(null);N.useEffect(()=>{ar&&Ro(Un.visible)},[ar,Un]);const Co=Lt(Vo),Mo=()=>{const{disabled:nt}=$e;nt||(Rr&&Co(),Ro(rt=>{var Xt;const fn=!rt;return typeof Un==\"object\"&&((Xt=Un.onVisibleChange)===null||Xt===void 0||Xt.call(Un,fn)),fn}))},qo=nt=>{const{action:rt=\"click\",iconRender:Xt=Kn}=$e,fn=hr[rt]||\"\",Cn=Xt(Rr),Yn={[fn]:Mo,className:`${nt}-icon`,key:\"passwordIcon\",onMouseDown:Ae=>{Ae.preventDefault()},onMouseUp:Ae=>{Ae.preventDefault()}};return N.cloneElement(N.isValidElement(Cn)?Cn:N.createElement(\"span\",null,Cn),Yn)},{className:ti,prefixCls:pi,inputPrefixCls:ni,size:si}=$e,Oi=Mn($e,[\"className\",\"prefixCls\",\"inputPrefixCls\",\"size\"]),{getPrefixCls:Ki}=N.useContext(C.E_),ca=Ki(\"input\",ni),zi=Ki(\"input-password\",pi),br=Un&&qo(zi),Re=y()(zi,ti,{[`${zi}-${si}`]:!!si}),je=Object.assign(Object.assign({},(0,_e.Z)(Oi,[\"suffix\",\"iconRender\",\"visibilityToggle\"])),{type:Rr?\"text\":\"password\",className:Re,prefixCls:ca,suffix:br});return si&&(je.size=si),N.createElement(Kt,Object.assign({ref:(0,et.sQ)(dn,Vo)},je))}),Wr=c(30716),Nr=c(54887),Kr=c(42912),ko=function($e,dn){var Un={};for(var ar in $e)Object.prototype.hasOwnProperty.call($e,ar)&&dn.indexOf(ar)<0&&(Un[ar]=$e[ar]);if($e!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var Rr=0,ar=Object.getOwnPropertySymbols($e);Rr<ar.length;Rr++)dn.indexOf(ar[Rr])<0&&Object.prototype.propertyIsEnumerable.call($e,ar[Rr])&&(Un[ar[Rr]]=$e[ar[Rr]]);return Un},gn=N.forwardRef(($e,dn)=>{const{prefixCls:Un,inputPrefixCls:ar,className:Rr,size:Ro,suffix:Vo,enterButton:Co=!1,addonAfter:Mo,loading:qo,disabled:ti,onSearch:pi,onChange:ni,onCompositionStart:si,onCompositionEnd:Oi}=$e,Ki=ko($e,[\"prefixCls\",\"inputPrefixCls\",\"className\",\"size\",\"suffix\",\"enterButton\",\"addonAfter\",\"loading\",\"disabled\",\"onSearch\",\"onChange\",\"onCompositionStart\",\"onCompositionEnd\"]),{getPrefixCls:ca,direction:zi}=N.useContext(C.E_),br=N.useContext(Fe.Z),Re=N.useRef(!1),je=ca(\"input-search\",Un),nt=ca(\"input\",ar),{compactSize:rt}=(0,mt.ri)(je,zi),Xt=rt||Ro||br,fn=N.useRef(null),Cn=Ir=>{Ir&&Ir.target&&Ir.type===\"click\"&&pi&&pi(Ir.target.value,Ir),ni&&ni(Ir)},Yn=Ir=>{var Jr;document.activeElement===((Jr=fn.current)===null||Jr===void 0?void 0:Jr.input)&&Ir.preventDefault()},Ae=Ir=>{var Jr,_o;pi&&pi((_o=(Jr=fn.current)===null||Jr===void 0?void 0:Jr.input)===null||_o===void 0?void 0:_o.value,Ir)},Ke=Ir=>{Re.current||qo||Ae(Ir)},Mt=typeof Co==\"boolean\"?N.createElement(Wr.Z,null):null,Ut=`${je}-button`;let kn;const Zn=Co||{},lr=Zn.type&&Zn.type.__ANT_BUTTON===!0;lr||Zn.type===\"button\"?kn=(0,Kr.Tm)(Zn,Object.assign({onMouseDown:Yn,onClick:Ir=>{var Jr,_o;(_o=(Jr=Zn==null?void 0:Zn.props)===null||Jr===void 0?void 0:Jr.onClick)===null||_o===void 0||_o.call(Jr,Ir),Ae(Ir)},key:\"enterButton\"},lr?{className:Ut,size:Xt}:{})):kn=N.createElement(Nr.ZP,{className:Ut,type:Co?\"primary\":void 0,size:Xt,disabled:ti,key:\"enterButton\",onMouseDown:Yn,onClick:Ae,loading:qo,icon:Mt},Co),Mo&&(kn=[kn,(0,Kr.Tm)(Mo,{key:\"addonAfter\"})]);const wr=y()(je,{[`${je}-rtl`]:zi===\"rtl\",[`${je}-${Xt}`]:!!Xt,[`${je}-with-button`]:!!Co},Rr),Dr=Ir=>{Re.current=!0,si==null||si(Ir)},go=Ir=>{Re.current=!1,Oi==null||Oi(Ir)};return N.createElement(Kt,Object.assign({ref:(0,et.sQ)(fn,dn),onPressEnter:Ke},Ki,{size:Xt,onCompositionStart:Dr,onCompositionEnd:go,prefixCls:nt,addonAfter:kn,suffix:Vo,onChange:Cn,className:wr,disabled:ti}))}),Gt=c(60555),bt=c(57770),Zt=c(40086),gt=`\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`,Wt=[\"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\",\"white-space\"],xn={},Dt;function Xn($e){var dn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Un=$e.getAttribute(\"id\")||$e.getAttribute(\"data-reactid\")||$e.getAttribute(\"name\");if(dn&&xn[Un])return xn[Un];var ar=window.getComputedStyle($e),Rr=ar.getPropertyValue(\"box-sizing\")||ar.getPropertyValue(\"-moz-box-sizing\")||ar.getPropertyValue(\"-webkit-box-sizing\"),Ro=parseFloat(ar.getPropertyValue(\"padding-bottom\"))+parseFloat(ar.getPropertyValue(\"padding-top\")),Vo=parseFloat(ar.getPropertyValue(\"border-bottom-width\"))+parseFloat(ar.getPropertyValue(\"border-top-width\")),Co=Wt.map(function(qo){return\"\".concat(qo,\":\").concat(ar.getPropertyValue(qo))}).join(\";\"),Mo={sizingStyle:Co,paddingSize:Ro,borderSize:Vo,boxSizing:Rr};return dn&&Un&&(xn[Un]=Mo),Mo}function Rn($e){var dn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Un=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,ar=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Dt||(Dt=document.createElement(\"textarea\"),Dt.setAttribute(\"tab-index\",\"-1\"),Dt.setAttribute(\"aria-hidden\",\"true\"),document.body.appendChild(Dt)),$e.getAttribute(\"wrap\")?Dt.setAttribute(\"wrap\",$e.getAttribute(\"wrap\")):Dt.removeAttribute(\"wrap\");var Rr=Xn($e,dn),Ro=Rr.paddingSize,Vo=Rr.borderSize,Co=Rr.boxSizing,Mo=Rr.sizingStyle;Dt.setAttribute(\"style\",\"\".concat(Mo,\";\").concat(gt)),Dt.value=$e.value||$e.placeholder||\"\";var qo=void 0,ti=void 0,pi,ni=Dt.scrollHeight;if(Co===\"border-box\"?ni+=Vo:Co===\"content-box\"&&(ni-=Ro),Un!==null||ar!==null){Dt.value=\" \";var si=Dt.scrollHeight-Ro;Un!==null&&(qo=si*Un,Co===\"border-box\"&&(qo=qo+Ro+Vo),ni=Math.max(qo,ni)),ar!==null&&(ti=si*ar,Co===\"border-box\"&&(ti=ti+Ro+Vo),pi=ni>ti?\"\":\"hidden\",ni=Math.min(ti,ni))}var Oi={height:ni,overflowY:pi,resize:\"none\"};return qo&&(Oi.minHeight=qo),ti&&(Oi.maxHeight=ti),Oi}var wt=[\"prefixCls\",\"onPressEnter\",\"defaultValue\",\"value\",\"autoSize\",\"onResize\",\"className\",\"style\",\"disabled\",\"onChange\",\"onInternalAutoSize\"],pt=0,Ue=1,xt=2,cn=N.forwardRef(function($e,dn){var Un=$e,ar=Un.prefixCls,Rr=Un.onPressEnter,Ro=Un.defaultValue,Vo=Un.value,Co=Un.autoSize,Mo=Un.onResize,qo=Un.className,ti=Un.style,pi=Un.disabled,ni=Un.onChange,si=Un.onInternalAutoSize,Oi=(0,fe.Z)(Un,wt),Ki=(0,be.Z)(Ro,{value:Vo,postState:function(Lo){return Lo!=null?Lo:\"\"}}),ca=(0,se.Z)(Ki,2),zi=ca[0],br=ca[1],Re=function(Lo){br(Lo.target.value),ni==null||ni(Lo)},je=N.useRef();N.useImperativeHandle(dn,function(){return{textArea:je.current}});var nt=N.useMemo(function(){return Co&&(0,ce.Z)(Co)===\"object\"?[Co.minRows,Co.maxRows]:[]},[Co]),rt=(0,se.Z)(nt,2),Xt=rt[0],fn=rt[1],Cn=!!Co,Yn=function(){try{if(document.activeElement===je.current){var Lo=je.current,ai=Lo.selectionStart,Si=Lo.selectionEnd,Ui=Lo.scrollTop;je.current.setSelectionRange(ai,Si),je.current.scrollTop=Ui}}catch(ln){}},Ae=N.useState(xt),Ke=(0,se.Z)(Ae,2),Mt=Ke[0],Ut=Ke[1],kn=N.useState(),Zn=(0,se.Z)(kn,2),lr=Zn[0],wr=Zn[1],Dr=function(){Ut(pt)};(0,bt.Z)(function(){Cn&&Dr()},[Vo,Xt,fn,Cn]),(0,bt.Z)(function(){if(Mt===pt)Ut(Ue);else if(Mt===Ue){var ii=Rn(je.current,!1,Xt,fn);Ut(xt),wr(ii)}else Yn()},[Mt]);var go=N.useRef(),Ir=function(){Zt.Z.cancel(go.current)},Jr=function(Lo){Mt===xt&&(Mo==null||Mo(Lo),Co&&(Ir(),go.current=(0,Zt.Z)(function(){Dr()})))};N.useEffect(function(){return Ir},[]);var _o=Cn?lr:null,No=(0,Le.Z)((0,Le.Z)({},ti),_o);return(Mt===pt||Mt===Ue)&&(No.overflowY=\"hidden\",No.overflowX=\"hidden\"),N.createElement(Gt.Z,{onResize:Jr,disabled:!(Co||Mo)},N.createElement(\"textarea\",(0,X.Z)({},Oi,{ref:je,style:No,className:y()(ar,qo,(0,De.Z)({},\"\".concat(ar,\"-disabled\"),pi)),disabled:pi,value:zi,onChange:Re})))}),er=cn,Mr=[\"defaultValue\",\"value\",\"onFocus\",\"onBlur\",\"onChange\",\"allowClear\",\"maxLength\",\"onCompositionStart\",\"onCompositionEnd\",\"suffix\",\"prefixCls\",\"classes\",\"showCount\",\"className\",\"style\",\"disabled\"];function xr($e,dn){return(0,ve.Z)($e||\"\").slice(0,dn).join(\"\")}function jr($e,dn,Un,ar){var Rr=Un;return $e?Rr=xr(Un,ar):(0,ve.Z)(dn||\"\").length<Un.length&&(0,ve.Z)(Un||\"\").length>ar&&(Rr=dn),Rr}var yo=N.forwardRef(function($e,dn){var Un=$e.defaultValue,ar=$e.value,Rr=$e.onFocus,Ro=$e.onBlur,Vo=$e.onChange,Co=$e.allowClear,Mo=$e.maxLength,qo=$e.onCompositionStart,ti=$e.onCompositionEnd,pi=$e.suffix,ni=$e.prefixCls,si=ni===void 0?\"rc-textarea\":ni,Oi=$e.classes,Ki=$e.showCount,ca=$e.className,zi=$e.style,br=$e.disabled,Re=(0,fe.Z)($e,Mr),je=(0,be.Z)(Un,{value:ar,defaultValue:Un}),nt=(0,se.Z)(je,2),rt=nt[0],Xt=nt[1],fn=(0,N.useRef)(null),Cn=N.useState(!1),Yn=(0,se.Z)(Cn,2),Ae=Yn[0],Ke=Yn[1],Mt=N.useState(!1),Ut=(0,se.Z)(Mt,2),kn=Ut[0],Zn=Ut[1],lr=N.useRef(),wr=N.useRef(0),Dr=function(){fn.current.textArea.focus()};(0,N.useImperativeHandle)(dn,function(){return{resizableTextArea:fn.current,focus:Dr,blur:function(){fn.current.textArea.blur()}}}),(0,N.useEffect)(function(){Ke(function(fr){return!br&&fr})},[br]);var go=Number(Mo)>0,Ir=function(ft){Zn(!0),lr.current=rt,wr.current=ft.currentTarget.selectionStart,qo==null||qo(ft)},Jr=function(ft){Zn(!1);var ct=ft.currentTarget.value;if(go){var tn,An=wr.current>=Mo+1||wr.current===((tn=lr.current)===null||tn===void 0?void 0:tn.length);ct=jr(An,lr.current,ct,Mo)}ct!==rt&&(Xt(ct),Ce(ft.currentTarget,ft,Vo,ct)),ti==null||ti(ft)},_o=function(ft){var ct=ft.target.value;if(!kn&&go){var tn=ft.target.selectionStart>=Mo+1||ft.target.selectionStart===ct.length||!ft.target.selectionStart;ct=jr(tn,rt,ct,Mo)}Xt(ct),Ce(ft.currentTarget,ft,Vo,ct)},No=function(ft){var ct=Re.onPressEnter,tn=Re.onKeyDown;ft.key===\"Enter\"&&ct&&ct(ft),tn==null||tn(ft)},ii=function(ft){Ke(!0),Rr==null||Rr(ft)},Lo=function(ft){Ke(!1),Ro==null||Ro(ft)},ai=function(ft){Xt(\"\"),Dr(),Ce(fn.current.textArea,ft,Vo)},Si=he(rt);!kn&&go&&ar==null&&(Si=xr(Si,Mo));var Ui=N.createElement(ae,{value:Si,allowClear:Co,handleReset:ai,suffix:pi,prefixCls:si,classes:{affixWrapper:Oi==null?void 0:Oi.affixWrapper},disabled:br,focused:Ae,style:zi,inputStyle:{resize:zi==null?void 0:zi.resize},inputElement:N.createElement(er,(0,X.Z)({},Re,{onKeyDown:No,onChange:_o,onFocus:ii,onBlur:Lo,onCompositionStart:Ir,onCompositionEnd:Jr,className:y()(Ki?\"\":ca,Oi==null?void 0:Oi.textarea),style:!Ki&&zi,disabled:br,prefixCls:si,ref:fn}))});if(Ki){var ln=(0,ve.Z)(Si).length,mn;return(0,ce.Z)(Ki)===\"object\"?mn=Ki.formatter({value:Si,count:ln,maxLength:Mo}):mn=\"\".concat(ln).concat(go?\" / \".concat(Mo):\"\"),N.createElement(\"div\",{hidden:Re.hidden,className:y()(\"\".concat(si,\"-show-count\"),ca,Oi==null?void 0:Oi.countWrapper),style:zi,\"data-count\":mn},Ui,N.createElement(\"span\",{className:\"\".concat(si,\"-data-count\")},mn))}return Ui}),eo=yo,vi=eo,Ti=function($e,dn){var Un={};for(var ar in $e)Object.prototype.hasOwnProperty.call($e,ar)&&dn.indexOf(ar)<0&&(Un[ar]=$e[ar]);if($e!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var Rr=0,ar=Object.getOwnPropertySymbols($e);Rr<ar.length;Rr++)dn.indexOf(ar[Rr])<0&&Object.prototype.propertyIsEnumerable.call($e,ar[Rr])&&(Un[ar[Rr]]=$e[ar[Rr]]);return Un},mi=(0,N.forwardRef)(($e,dn)=>{var{prefixCls:Un,bordered:ar=!0,size:Rr,disabled:Ro,status:Vo,allowClear:Co}=$e,Mo=Ti($e,[\"prefixCls\",\"bordered\",\"size\",\"disabled\",\"status\",\"allowClear\"]);const{getPrefixCls:qo,direction:ti}=N.useContext(C.E_),pi=N.useContext(Fe.Z),ni=Rr||pi,si=N.useContext(ht.Z),Oi=Ro!=null?Ro:si,{status:Ki,hasFeedback:ca,feedbackIcon:zi}=N.useContext(w.aM),br=(0,dt.F)(Ki,Vo),Re=N.useRef(null);N.useImperativeHandle(dn,()=>{var fn;return{resizableTextArea:(fn=Re.current)===null||fn===void 0?void 0:fn.resizableTextArea,focus:Cn=>{var Yn,Ae;qt((Ae=(Yn=Re.current)===null||Yn===void 0?void 0:Yn.resizableTextArea)===null||Ae===void 0?void 0:Ae.textArea,Cn)},blur:()=>{var Cn;return(Cn=Re.current)===null||Cn===void 0?void 0:Cn.blur()}}});const je=qo(\"input\",Un);let nt;typeof Co==\"object\"&&(Co!=null&&Co.clearIcon)?nt=Co:Co&&(nt={clearIcon:N.createElement(Ie.Z,null)});const[rt,Xt]=Te(je);return rt(N.createElement(vi,Object.assign({},Mo,{disabled:Oi,allowClear:nt,classes:{affixWrapper:y()(`${je}-textarea-affix-wrapper`,{[`${je}-affix-wrapper-rtl`]:ti===\"rtl\",[`${je}-affix-wrapper-borderless`]:!ar,[`${je}-affix-wrapper-sm`]:ni===\"small\",[`${je}-affix-wrapper-lg`]:ni===\"large\"},(0,dt.Z)(`${je}-affix-wrapper`,br),Xt),countWrapper:y()(`${je}-textarea`,`${je}-textarea-show-count`,{[`${je}-textarea-show-count-rtl`]:ti===\"rtl\"},Xt),textarea:y()({[`${je}-borderless`]:!ar,[`${je}-sm`]:ni===\"small\",[`${je}-lg`]:ni===\"large\"},(0,dt.Z)(je,br),Xt)},prefixCls:je,suffix:ca&&N.createElement(\"span\",{className:`${je}-textarea-suffix`},zi),ref:Re})))});const Zi=Kt;Zi.Group=xe,Zi.Search=gn,Zi.TextArea=mi,Zi.Password=zr;var aa=Zi},70167:function(Pt,Ee,c){\"use strict\";var r=c(50959);const y=(0,r.createContext)(void 0);Ee.Z=y},19557:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return f}});var r={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\"},y={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\"},N=y,w={placeholder:\"Select time\",rangePlaceholder:[\"Start time\",\"End time\"]},b={lang:Object.assign({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\"]},N),timePickerLocale:Object.assign({},w)},p=b;const u=\"${label} is not a valid ${type}\";var f={locale:\"en\",Pagination:r,DatePicker:b,TimePicker:w,Calendar:p,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\"},Tour:{Next:\"Next\",Previous:\"Previous\",Finish:\"Finish\"},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: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} 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\"},QRCode:{expired:\"QR code expired\",refresh:\"Refresh\"}}},66107:function(Pt,Ee,c){\"use strict\";c.d(Ee,{J:function(){return C}});var r=c(50959),y=function(w,O){var b={};for(var p in w)Object.prototype.hasOwnProperty.call(w,p)&&O.indexOf(p)<0&&(b[p]=w[p]);if(w!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var u=0,p=Object.getOwnPropertySymbols(w);u<p.length;u++)O.indexOf(p[u])<0&&Object.prototype.propertyIsEnumerable.call(w,p[u])&&(b[p[u]]=w[p[u]]);return b};const N=r.createContext(null),C=w=>{const{children:O}=w,b=y(w,[\"children\"]),p=r.useContext(N),u=r.useMemo(()=>Object.assign(Object.assign({},p),b),[p,b.prefixCls,b.mode,b.selectable]);return r.createElement(N.Provider,{value:u},O)};Ee.Z=N},28646:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return rn}});var r=c(58048),y=c(50959),N=c(97318),C=c(51761),w=c(84875),O=c.n(w),b=c(1409),p=c(48515),u=c(42912),a=c(35531),f=c(99590),h=c(74820),l=c(38717),s=c(40949),m=c(72267),x=c(42550),E=qt=>{const{componentCls:hn,motionDurationSlow:Kt,menuHorizontalHeight:an,colorSplit:In,lineWidth:Ft,lineType:kt,menuItemPaddingInline:At}=qt;return{[`${hn}-horizontal`]:{lineHeight:`${an}px`,border:0,borderBottom:`${Ft}px ${kt} ${In}`,boxShadow:\"none\",\"&::after\":{display:\"block\",clear:\"both\",height:0,content:'\"\\\\20\"'},[`${hn}-item, ${hn}-submenu`]:{position:\"relative\",display:\"inline-block\",verticalAlign:\"bottom\",paddingInline:At},[`> ${hn}-item:hover,\n        > ${hn}-item-active,\n        > ${hn}-submenu ${hn}-submenu-title:hover`]:{backgroundColor:\"transparent\"},[`${hn}-item, ${hn}-submenu-title`]:{transition:[`border-color ${Kt}`,`background ${Kt}`].join(\",\")},[`${hn}-submenu-arrow`]:{display:\"none\"}}}},L=qt=>{let{componentCls:hn,menuArrowOffset:Kt}=qt;return{[`${hn}-rtl`]:{direction:\"rtl\"},[`${hn}-submenu-rtl`]:{transformOrigin:\"100% 0\"},[`${hn}-rtl${hn}-vertical,\n    ${hn}-submenu-rtl ${hn}-vertical`]:{[`${hn}-submenu-arrow`]:{\"&::before\":{transform:`rotate(-45deg) translateY(-${Kt})`},\"&::after\":{transform:`rotate(45deg) translateY(${Kt})`}}}}},A=c(92220);const J=qt=>Object.assign({},(0,A.oN)(qt));var re=(qt,hn)=>{const{componentCls:Kt,colorItemText:an,colorItemTextSelected:In,colorGroupTitle:Ft,colorItemBg:kt,colorSubItemBg:At,colorItemBgSelected:Fn,colorActiveBarHeight:pn,colorActiveBarWidth:en,colorActiveBarBorderSize:Wn,motionDurationSlow:Mn,motionEaseInOut:Kn,motionEaseOut:hr,menuItemPaddingInline:pr,motionDurationMid:zr,colorItemTextHover:Wr,lineType:Nr,colorSplit:Kr,colorItemTextDisabled:ko,colorDangerItemText:Ur,colorDangerItemTextHover:gn,colorDangerItemTextSelected:Gt,colorDangerItemBgActive:bt,colorDangerItemBgSelected:Zt,colorItemBgHover:gt,menuSubMenuBg:Wt,colorItemTextSelectedHorizontal:xn,colorItemBgSelectedHorizontal:Dt}=qt;return{[`${Kt}-${hn}`]:{color:an,background:kt,[`&${Kt}-root:focus-visible`]:Object.assign({},J(qt)),[`${Kt}-item-group-title`]:{color:Ft},[`${Kt}-submenu-selected`]:{[`> ${Kt}-submenu-title`]:{color:In}},[`${Kt}-item-disabled, ${Kt}-submenu-disabled`]:{color:`${ko} !important`},[`${Kt}-item:hover, ${Kt}-submenu-title:hover`]:{[`&:not(${Kt}-item-selected):not(${Kt}-submenu-selected)`]:{color:Wr}},[`&:not(${Kt}-horizontal)`]:{[`${Kt}-item:not(${Kt}-item-selected)`]:{\"&:hover\":{backgroundColor:gt},\"&:active\":{backgroundColor:Fn}},[`${Kt}-submenu-title`]:{\"&:hover\":{backgroundColor:gt},\"&:active\":{backgroundColor:Fn}}},[`${Kt}-item-danger`]:{color:Ur,[`&${Kt}-item:hover`]:{[`&:not(${Kt}-item-selected):not(${Kt}-submenu-selected)`]:{color:gn}},[`&${Kt}-item:active`]:{background:bt}},[`${Kt}-item a`]:{\"&, &:hover\":{color:\"inherit\"}},[`${Kt}-item-selected`]:{color:In,[`&${Kt}-item-danger`]:{color:Gt},[\"a, a:hover\"]:{color:\"inherit\"}},[`& ${Kt}-item-selected`]:{backgroundColor:Fn,[`&${Kt}-item-danger`]:{backgroundColor:Zt}},[`${Kt}-item, ${Kt}-submenu-title`]:{[`&:not(${Kt}-item-disabled):focus-visible`]:Object.assign({},J(qt))},[`&${Kt}-submenu > ${Kt}`]:{backgroundColor:Wt},[`&${Kt}-popup > ${Kt}`]:{backgroundColor:kt},[`&${Kt}-horizontal`]:Object.assign(Object.assign({},hn===\"dark\"?{borderBottom:0}:{}),{[`> ${Kt}-item, > ${Kt}-submenu`]:{top:Wn,marginTop:-Wn,marginBottom:0,borderRadius:0,\"&::after\":{position:\"absolute\",insetInline:pr,bottom:0,borderBottom:`${pn}px solid transparent`,transition:`border-color ${Mn} ${Kn}`,content:'\"\"'},[\"&:hover, &-active, &-open\"]:{\"&::after\":{borderBottomWidth:pn,borderBottomColor:xn}},[\"&-selected\"]:{color:xn,backgroundColor:Dt,\"&::after\":{borderBottomWidth:pn,borderBottomColor:xn}}}}),[`&${Kt}-root`]:{[`&${Kt}-inline, &${Kt}-vertical`]:{borderInlineEnd:`${Wn}px ${Nr} ${Kr}`}},[`&${Kt}-inline`]:{[`${Kt}-sub${Kt}-inline`]:{background:At},[`${Kt}-item, ${Kt}-submenu-title`]:Wn&&en?{width:`calc(100% + ${Wn}px)`}:{},[`${Kt}-item`]:{position:\"relative\",\"&::after\":{position:\"absolute\",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${en}px solid ${In}`,transform:\"scaleY(0.0001)\",opacity:0,transition:[`transform ${zr} ${hr}`,`opacity ${zr} ${hr}`].join(\",\"),content:'\"\"'},[`&${Kt}-item-danger`]:{\"&::after\":{borderInlineEndColor:Gt}}},[`${Kt}-selected, ${Kt}-item-selected`]:{\"&::after\":{transform:\"scaleY(1)\",opacity:1,transition:[`transform ${zr} ${Kn}`,`opacity ${zr} ${Kn}`].join(\",\")}}}}}};const me=qt=>{const{componentCls:hn,menuItemHeight:Kt,itemMarginInline:an,padding:In,menuArrowSize:Ft,marginXS:kt,marginXXS:At}=qt,Fn=In+Ft+kt;return{[`${hn}-item`]:{position:\"relative\"},[`${hn}-item, ${hn}-submenu-title`]:{height:Kt,lineHeight:`${Kt}px`,paddingInline:In,overflow:\"hidden\",textOverflow:\"ellipsis\",marginInline:an,marginBlock:At,width:`calc(100% - ${an*2}px)`},[`${hn}-submenu`]:{paddingBottom:.02},[`> ${hn}-item,\n            > ${hn}-submenu > ${hn}-submenu-title`]:{height:Kt,lineHeight:`${Kt}px`},[`${hn}-item-group-list ${hn}-submenu-title,\n            ${hn}-submenu-title`]:{paddingInlineEnd:Fn}}};var ee=qt=>{const{componentCls:hn,iconCls:Kt,menuItemHeight:an,colorTextLightSolid:In,dropdownWidth:Ft,controlHeightLG:kt,motionDurationMid:At,motionEaseOut:Fn,paddingXL:pn,fontSizeSM:en,fontSizeLG:Wn,motionDurationSlow:Mn,paddingXS:Kn,boxShadowSecondary:hr}=qt,pr={height:an,lineHeight:`${an}px`,listStylePosition:\"inside\",listStyleType:\"disc\"};return[{[hn]:{[\"&-inline, &-vertical\"]:Object.assign({[`&${hn}-root`]:{boxShadow:\"none\"}},me(qt))},[`${hn}-submenu-popup`]:{[`${hn}-vertical`]:Object.assign(Object.assign({},me(qt)),{boxShadow:hr})}},{[`${hn}-submenu-popup ${hn}-vertical${hn}-sub`]:{minWidth:Ft,maxHeight:`calc(100vh - ${kt*2.5}px)`,padding:\"0\",overflow:\"hidden\",borderInlineEnd:0,\"&:not([class*='-active'])\":{overflowX:\"hidden\",overflowY:\"auto\"}}},{[`${hn}-inline`]:{width:\"100%\",[`&${hn}-root`]:{[`${hn}-item, ${hn}-submenu-title`]:{display:\"flex\",alignItems:\"center\",transition:[`border-color ${Mn}`,`background ${Mn}`,`padding ${At} ${Fn}`].join(\",\"),[`> ${hn}-title-content`]:{flex:\"auto\",minWidth:0,overflow:\"hidden\",textOverflow:\"ellipsis\"},\"> *\":{flex:\"none\"}}},[`${hn}-sub${hn}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:\"none\",[`& > ${hn}-submenu > ${hn}-submenu-title`]:pr,[`& ${hn}-item-group-title`]:{paddingInlineStart:pn}},[`${hn}-item`]:pr}},{[`${hn}-inline-collapsed`]:{width:an*2,[`&${hn}-root`]:{[`${hn}-item, ${hn}-submenu ${hn}-submenu-title`]:{[`> ${hn}-inline-collapsed-noicon`]:{fontSize:Wn,textAlign:\"center\"}}},[`> ${hn}-item,\n          > ${hn}-item-group > ${hn}-item-group-list > ${hn}-item,\n          > ${hn}-item-group > ${hn}-item-group-list > ${hn}-submenu > ${hn}-submenu-title,\n          > ${hn}-submenu > ${hn}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${en}px)`,textOverflow:\"clip\",[`\n            ${hn}-submenu-arrow,\n            ${hn}-submenu-expand-icon\n          `]:{opacity:0},[`${hn}-item-icon, ${Kt}`]:{margin:0,fontSize:Wn,lineHeight:`${an}px`,\"+ span\":{display:\"inline-block\",opacity:0}}},[`${hn}-item-icon, ${Kt}`]:{display:\"inline-block\"},\"&-tooltip\":{pointerEvents:\"none\",[`${hn}-item-icon, ${Kt}`]:{display:\"none\"},\"a, a:hover\":{color:In}},[`${hn}-item-group-title`]:Object.assign(Object.assign({},A.vS),{paddingInline:Kn})}}]};const xe=qt=>{const{componentCls:hn,fontSize:Kt,motionDurationSlow:an,motionDurationMid:In,motionEaseInOut:Ft,motionEaseOut:kt,iconCls:At,controlHeightSM:Fn}=qt;return{[`${hn}-item, ${hn}-submenu-title`]:{position:\"relative\",display:\"block\",margin:0,whiteSpace:\"nowrap\",cursor:\"pointer\",transition:[`border-color ${an}`,`background ${an}`,`padding ${an} ${Ft}`].join(\",\"),[`${hn}-item-icon, ${At}`]:{minWidth:Kt,fontSize:Kt,transition:[`font-size ${In} ${kt}`,`margin ${an} ${Ft}`,`color ${an}`].join(\",\"),\"+ span\":{marginInlineStart:Fn-Kt,opacity:1,transition:[`opacity ${an} ${Ft}`,`margin ${an}`,`color ${an}`].join(\",\")}},[`${hn}-item-icon`]:Object.assign({},(0,A.Ro)()),[`&${hn}-item-only-child`]:{[`> ${At}, > ${hn}-item-icon`]:{marginInlineEnd:0}}},[`${hn}-item-disabled, ${hn}-submenu-disabled`]:{background:\"none !important\",cursor:\"not-allowed\",\"&::after\":{borderColor:\"transparent !important\"},a:{color:\"inherit !important\"},[`> ${hn}-submenu-title`]:{color:\"inherit !important\",cursor:\"not-allowed\"}}}},Ie=qt=>{const{componentCls:hn,motionDurationSlow:Kt,motionEaseInOut:an,borderRadius:In,menuArrowSize:Ft,menuArrowOffset:kt}=qt;return{[`${hn}-submenu`]:{[\"&-expand-icon, &-arrow\"]:{position:\"absolute\",top:\"50%\",insetInlineEnd:qt.margin,width:Ft,color:\"currentcolor\",transform:\"translateY(-50%)\",transition:`transform ${Kt} ${an}, opacity ${Kt}`},\"&-arrow\":{\"&::before, &::after\":{position:\"absolute\",width:Ft*.6,height:Ft*.15,backgroundColor:\"currentcolor\",borderRadius:In,transition:[`background ${Kt} ${an}`,`transform ${Kt} ${an}`,`top ${Kt} ${an}`,`color ${Kt} ${an}`].join(\",\"),content:'\"\"'},\"&::before\":{transform:`rotate(45deg) translateY(-${kt})`},\"&::after\":{transform:`rotate(-45deg) translateY(${kt})`}}}}},Le=qt=>{const{antCls:hn,componentCls:Kt,fontSize:an,motionDurationSlow:In,motionDurationMid:Ft,motionEaseInOut:kt,lineHeight:At,paddingXS:Fn,padding:pn,colorSplit:en,lineWidth:Wn,zIndexPopup:Mn,borderRadiusLG:Kn,radiusSubMenuItem:hr,menuArrowSize:pr,menuArrowOffset:zr,lineType:Wr,menuPanelMaskInset:Nr}=qt;return[{\"\":{[`${Kt}`]:Object.assign(Object.assign({},(0,A.dF)()),{[\"&-hidden\"]:{display:\"none\"}})},[`${Kt}-submenu-hidden`]:{display:\"none\"}},{[Kt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,A.Wf)(qt)),(0,A.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:an,lineHeight:0,listStyle:\"none\",outline:\"none\",transition:[`background ${In}`,`width ${In} cubic-bezier(0.2, 0, 0, 1) 0s`].join(\",\"),[\"ul, ol\"]:{margin:0,padding:0,listStyle:\"none\"},[\"&-overflow\"]:{display:\"flex\",[`${Kt}-item`]:{flex:\"none\"}},[`${Kt}-item, ${Kt}-submenu, ${Kt}-submenu-title`]:{borderRadius:qt.radiusItem},[`${Kt}-item-group-title`]:{padding:`${Fn}px ${pn}px`,fontSize:an,lineHeight:At,transition:`all ${In}`},[`&-horizontal ${Kt}-submenu`]:{transition:[`border-color ${In} ${kt}`,`background ${In} ${kt}`].join(\",\")},[`${Kt}-submenu, ${Kt}-submenu-inline`]:{transition:[`border-color ${In} ${kt}`,`background ${In} ${kt}`,`padding ${Ft} ${kt}`].join(\",\")},[`${Kt}-submenu ${Kt}-sub`]:{cursor:\"initial\",transition:[`background ${In} ${kt}`,`padding ${In} ${kt}`].join(\",\")},[`${Kt}-title-content`]:{transition:`color ${In}`},[`${Kt}-item a`]:{\"&::before\":{position:\"absolute\",inset:0,backgroundColor:\"transparent\",content:'\"\"'}},[`${Kt}-item-divider`]:{overflow:\"hidden\",lineHeight:0,borderColor:en,borderStyle:Wr,borderWidth:0,borderTopWidth:Wn,marginBlock:Wn,padding:0,\"&-dashed\":{borderStyle:\"dashed\"}}}),xe(qt)),{[`${Kt}-item-group`]:{[`${Kt}-item-group-list`]:{margin:0,padding:0,[`${Kt}-item, ${Kt}-submenu-title`]:{paddingInline:`${an*2}px ${pn}px`}}},\"&-submenu\":{\"&-popup\":{position:\"absolute\",zIndex:Mn,background:\"transparent\",borderRadius:Kn,boxShadow:\"none\",transformOrigin:\"0 0\",\"&::before\":{position:\"absolute\",inset:`${Nr}px 0 0`,zIndex:-1,width:\"100%\",height:\"100%\",opacity:0,content:'\"\"'}},\"&-placement-rightTop::before\":{top:0,insetInlineStart:Nr},[`> ${Kt}`]:Object.assign(Object.assign(Object.assign({borderRadius:Kn},xe(qt)),Ie(qt)),{[`${Kt}-item, ${Kt}-submenu > ${Kt}-submenu-title`]:{borderRadius:hr},[`${Kt}-submenu-title::after`]:{transition:`transform ${In} ${kt}`}})}}),Ie(qt)),{[`&-inline-collapsed ${Kt}-submenu-arrow,\n        &-inline ${Kt}-submenu-arrow`]:{\"&::before\":{transform:`rotate(-45deg) translateX(${zr})`},\"&::after\":{transform:`rotate(45deg) translateX(-${zr})`}},[`${Kt}-submenu-open${Kt}-submenu-inline > ${Kt}-submenu-title > ${Kt}-submenu-arrow`]:{transform:`translateY(-${pr*.2}px)`,\"&::after\":{transform:`rotate(-45deg) translateX(-${zr})`},\"&::before\":{transform:`rotate(45deg) translateX(${zr})`}}})},{[`${hn}-layout-header`]:{[Kt]:{lineHeight:\"inherit\"}}}]};var De=(qt,hn)=>(0,m.Z)(\"Menu\",(an,In)=>{let{overrideComponentToken:Ft}=In;if(hn===!1)return[];const{colorBgElevated:kt,colorPrimary:At,colorError:Fn,colorErrorHover:pn,colorTextLightSolid:en}=an,{controlHeightLG:Wn,fontSize:Mn}=an,Kn=Mn/7*5,hr=(0,x.TS)(an,{menuItemHeight:Wn,menuItemPaddingInline:an.margin,menuArrowSize:Kn,menuHorizontalHeight:Wn*1.15,menuArrowOffset:`${Kn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:kt}),pr=new f.C(en).setAlpha(.65).toRgbString(),zr=(0,x.TS)(hr,{colorItemText:pr,colorItemTextHover:en,colorGroupTitle:pr,colorItemTextSelected:en,colorItemBg:\"#001529\",colorSubItemBg:\"#000c17\",colorItemBgActive:\"transparent\",colorItemBgSelected:At,colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemTextDisabled:new f.C(en).setAlpha(.25).toRgbString(),colorDangerItemText:Fn,colorDangerItemTextHover:pn,colorDangerItemTextSelected:en,colorDangerItemBgActive:Fn,colorDangerItemBgSelected:Fn,menuSubMenuBg:\"#001529\",colorItemTextSelectedHorizontal:en,colorItemBgSelectedHorizontal:At},Object.assign({},Ft));return[Le(hr),E(hr),ee(hr),re(hr,\"light\"),re(zr,\"dark\"),L(hr),(0,h.Z)(hr),(0,l.oN)(hr,\"slide-up\"),(0,l.oN)(hr,\"slide-down\"),(0,s._y)(hr,\"zoom-big\")]},an=>{const{colorPrimary:In,colorError:Ft,colorTextDisabled:kt,colorErrorBg:At,colorText:Fn,colorTextDescription:pn,colorBgContainer:en,colorFillAlter:Wn,colorFillContent:Mn,lineWidth:Kn,lineWidthBold:hr,controlItemBgActive:pr,colorBgTextHover:zr}=an;return{dropdownWidth:160,zIndexPopup:an.zIndexPopupBase+50,radiusItem:an.borderRadiusLG,radiusSubMenuItem:an.borderRadiusSM,colorItemText:Fn,colorItemTextHover:Fn,colorItemTextHoverHorizontal:In,colorGroupTitle:pn,colorItemTextSelected:In,colorItemTextSelectedHorizontal:In,colorItemBg:en,colorItemBgHover:zr,colorItemBgActive:Mn,colorSubItemBg:Wn,colorItemBgSelected:pr,colorItemBgSelectedHorizontal:\"transparent\",colorActiveBarWidth:0,colorActiveBarHeight:hr,colorActiveBarBorderSize:Kn,colorItemTextDisabled:kt,colorDangerItemText:Ft,colorDangerItemTextHover:Ft,colorDangerItemTextSelected:Ft,colorDangerItemBgActive:At,colorDangerItemBgSelected:At,itemMarginInline:an.marginXXS}})(qt),ce=c(66107),ye=function(qt,hn){var Kt={};for(var an in qt)Object.prototype.hasOwnProperty.call(qt,an)&&hn.indexOf(an)<0&&(Kt[an]=qt[an]);if(qt!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var In=0,an=Object.getOwnPropertySymbols(qt);In<an.length;In++)hn.indexOf(an[In])<0&&Object.prototype.propertyIsEnumerable.call(qt,an[In])&&(Kt[an[In]]=qt[an[In]]);return Kt},Ce=qt=>{const{prefixCls:hn,className:Kt,dashed:an}=qt,In=ye(qt,[\"prefixCls\",\"className\",\"dashed\"]),{getPrefixCls:Ft}=y.useContext(a.E_),kt=Ft(\"menu\",hn),At=O()({[`${kt}-item-divider-dashed`]:!!an},Kt);return y.createElement(r.iz,Object.assign({className:At},In))},oe=c(16030),he=function(qt,hn){var Kt={};for(var an in qt)Object.prototype.hasOwnProperty.call(qt,an)&&hn.indexOf(an)<0&&(Kt[an]=qt[an]);if(qt!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var In=0,an=Object.getOwnPropertySymbols(qt);In<an.length;In++)hn.indexOf(an[In])<0&&Object.prototype.propertyIsEnumerable.call(qt,an[In])&&(Kt[an[In]]=qt[an[In]]);return Kt};const ie={xs:\"479.98px\",sm:\"575.98px\",md:\"767.98px\",lg:\"991.98px\",xl:\"1199.98px\",xxl:\"1599.98px\"},ae=y.createContext({}),ve=(()=>{let qt=0;return function(){let hn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:\"\";return qt+=1,`${hn}${qt}`}})(),X=null;var se=null,fe=c(17104),be=(0,y.createContext)({prefixCls:\"\",firstLevel:!0,inlineCollapsed:!1}),we=qt=>{var hn;const{className:Kt,children:an,icon:In,title:Ft,danger:kt}=qt,{prefixCls:At,firstLevel:Fn,direction:pn,disableMenuItemTitleTooltip:en,inlineCollapsed:Wn}=y.useContext(be),Mn=Nr=>{const Kr=y.createElement(\"span\",{className:`${At}-title-content`},an);return(!In||(0,u.l$)(an)&&an.type===\"span\")&&an&&Nr&&Fn&&typeof an==\"string\"?y.createElement(\"div\",{className:`${At}-inline-collapsed-noicon`},an.charAt(0)):Kr},{siderCollapsed:Kn}=y.useContext(ae);let hr=Ft;typeof Ft==\"undefined\"?hr=Fn?an:\"\":Ft===!1&&(hr=\"\");const pr={title:hr};!Kn&&!Wn&&(pr.title=null,pr.open=!1);const zr=(0,oe.Z)(an).length;let Wr=y.createElement(r.ck,Object.assign({},(0,N.Z)(qt,[\"title\",\"icon\",\"danger\"]),{className:O()({[`${At}-item-danger`]:kt,[`${At}-item-only-child`]:(In?zr+1:zr)===1},Kt),title:typeof Ft==\"string\"?Ft:void 0}),(0,u.Tm)(In,{className:O()((0,u.l$)(In)?(hn=In.props)===null||hn===void 0?void 0:hn.className:\"\",`${At}-item-icon`)}),Mn(Wn));return en||(Wr=y.createElement(fe.Z,Object.assign({},pr,{placement:pn===\"rtl\"?\"left\":\"right\",overlayClassName:`${At}-inline-collapsed-tooltip`}),Wr)),Wr},Ve=qt=>{var hn;const{popupClassName:Kt,icon:an,title:In,theme:Ft}=qt,kt=y.useContext(be),{prefixCls:At,inlineCollapsed:Fn,theme:pn,mode:en}=kt,Wn=(0,r.Xl)();let Mn;if(!an)Mn=Fn&&!Wn.length&&In&&typeof In==\"string\"?y.createElement(\"div\",{className:`${At}-inline-collapsed-noicon`},In.charAt(0)):y.createElement(\"span\",{className:`${At}-title-content`},In);else{const pr=(0,u.l$)(In)&&In.type===\"span\";Mn=y.createElement(y.Fragment,null,(0,u.Tm)(an,{className:O()((0,u.l$)(an)?(hn=an.props)===null||hn===void 0?void 0:hn.className:\"\",`${At}-item-icon`)}),pr?In:y.createElement(\"span\",{className:`${At}-title-content`},In))}const Kn=y.useMemo(()=>Object.assign(Object.assign({},kt),{firstLevel:!1}),[kt]),hr=en===\"horizontal\"?[0,8]:[10,0];return y.createElement(be.Provider,{value:Kn},y.createElement(r.Wd,Object.assign({popupOffset:hr},(0,N.Z)(qt,[\"icon\"]),{title:Mn,popupClassName:O()(At,Kt,`${At}-${Ft||pn}`)})))},et=function(qt,hn){var Kt={};for(var an in qt)Object.prototype.hasOwnProperty.call(qt,an)&&hn.indexOf(an)<0&&(Kt[an]=qt[an]);if(qt!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var In=0,an=Object.getOwnPropertySymbols(qt);In<an.length;In++)hn.indexOf(an[In])<0&&Object.prototype.propertyIsEnumerable.call(qt,an[In])&&(Kt[an[In]]=qt[an[In]]);return Kt};function ht(qt){return(qt||[]).map((hn,Kt)=>{if(hn&&typeof hn==\"object\"){const an=hn,{label:In,children:Ft,key:kt,type:At}=an,Fn=et(an,[\"label\",\"children\",\"key\",\"type\"]),pn=kt!=null?kt:`tmp-${Kt}`;return Ft||At===\"group\"?At===\"group\"?y.createElement(r.BW,Object.assign({key:pn},Fn,{title:In}),ht(Ft)):y.createElement(Ve,Object.assign({key:pn},Fn,{title:In}),ht(Ft)):At===\"divider\"?y.createElement(Ce,Object.assign({key:pn},Fn)):y.createElement(we,Object.assign({key:pn},Fn),In)}return null}).filter(hn=>hn)}function Fe(qt){return y.useMemo(()=>qt&&ht(qt),[qt])}var mt=function(qt,hn){var Kt={};for(var an in qt)Object.prototype.hasOwnProperty.call(qt,an)&&hn.indexOf(an)<0&&(Kt[an]=qt[an]);if(qt!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var In=0,an=Object.getOwnPropertySymbols(qt);In<an.length;In++)hn.indexOf(an[In])<0&&Object.prototype.propertyIsEnumerable.call(qt,an[In])&&(Kt[an[In]]=qt[an[In]]);return Kt},Lt=(0,y.forwardRef)((qt,hn)=>{var Kt,an;const In=y.useContext(ce.Z),Ft=In||{},{getPrefixCls:kt,getPopupContainer:At,direction:Fn}=y.useContext(a.E_),pn=kt(),{prefixCls:en,className:Wn,theme:Mn=\"light\",expandIcon:Kn,_internalDisableMenuItemTitleTooltip:hr,inlineCollapsed:pr,siderCollapsed:zr,items:Wr,children:Nr,rootClassName:Kr,mode:ko,selectable:Ur,onClick:gn}=qt,Gt=mt(qt,[\"prefixCls\",\"className\",\"theme\",\"expandIcon\",\"_internalDisableMenuItemTitleTooltip\",\"inlineCollapsed\",\"siderCollapsed\",\"items\",\"children\",\"rootClassName\",\"mode\",\"selectable\",\"onClick\"]),bt=(0,N.Z)(Gt,[\"collapsedWidth\"]),Zt=Fe(Wr)||Nr;(Kt=Ft.validator)===null||Kt===void 0||Kt.call(Ft,{mode:ko});const gt=(0,C.Z)(function(){var er;gn==null||gn.apply(void 0,arguments),(er=Ft.onClick)===null||er===void 0||er.call(Ft)}),Wt=Ft.mode||ko,xn=Ur!=null?Ur:Ft.selectable,Dt=y.useMemo(()=>zr!==void 0?zr:pr,[pr,zr]),Xn={horizontal:{motionName:`${pn}-slide-up`},inline:(0,p.ZP)(pn),other:{motionName:`${pn}-zoom-big`}},Rn=kt(\"menu\",en||Ft.prefixCls),[wt,pt]=De(Rn,!In),Ue=O()(`${Rn}-${Mn}`,Wn);let xt;if(typeof Kn==\"function\")xt=Kn;else{const er=Kn||Ft.expandIcon;xt=(0,u.Tm)(er,{className:O()(`${Rn}-submenu-expand-icon`,(an=er==null?void 0:er.props)===null||an===void 0?void 0:an.className)})}const cn=y.useMemo(()=>({prefixCls:Rn,inlineCollapsed:Dt||!1,direction:Fn,firstLevel:!0,theme:Mn,mode:Wt,disableMenuItemTitleTooltip:hr}),[Rn,Dt,Fn,hr,Mn]);return wt(y.createElement(ce.Z.Provider,{value:null},y.createElement(be.Provider,{value:cn},y.createElement(r.ZP,Object.assign({getPopupContainer:At,overflowedIndicator:y.createElement(b.Z,null),overflowedIndicatorPopupClassName:`${Rn}-${Mn}`,mode:Wt,selectable:xn,onClick:gt},bt,{inlineCollapsed:Dt,className:Ue,prefixCls:Rn,direction:Fn,defaultMotions:Xn,expandIcon:xt,ref:hn,rootClassName:O()(Kr,pt)}),Zt))))});const lt=(0,y.forwardRef)((qt,hn)=>{const Kt=(0,y.useRef)(null),an=y.useContext(ae);return(0,y.useImperativeHandle)(hn,()=>({menu:Kt.current,focus:In=>{var Ft;(Ft=Kt.current)===null||Ft===void 0||Ft.focus(In)}})),y.createElement(Lt,Object.assign({ref:Kt},qt,an))});lt.Item=we,lt.SubMenu=Ve,lt.Divider=Ce,lt.ItemGroup=r.BW;var rn=lt},74825:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return Te}});var r=c(84875),y=c.n(r),N=c(50959),C=c(35531),w=c(17104);const O=ee=>ee?typeof ee==\"function\"?ee():ee:null;var b=c(48515),p=c(85715),u=c(92220),a=c(40949),f=c(58917),h=c(35697),l=c(72267),s=c(42550);const m=ee=>{const{componentCls:xe,popoverBg:Ie,popoverColor:Le,width:De,fontWeightStrong:ce,popoverPadding:ye,boxShadowSecondary:Oe,colorTextHeading:Ce,borderRadiusLG:oe,zIndexPopup:he,marginXS:ie,colorBgElevated:ae}=ee;return[{[xe]:Object.assign(Object.assign({},(0,u.Wf)(ee)),{position:\"absolute\",top:0,left:{_skip_check_:!0,value:0},zIndex:he,fontWeight:\"normal\",whiteSpace:\"normal\",textAlign:\"start\",cursor:\"auto\",userSelect:\"text\",\"--antd-arrow-background-color\":ae,\"&-rtl\":{direction:\"rtl\"},\"&-hidden\":{display:\"none\"},[`${xe}-content`]:{position:\"relative\"},[`${xe}-inner`]:{backgroundColor:Ie,backgroundClip:\"padding-box\",borderRadius:oe,boxShadow:Oe,padding:ye},[`${xe}-title`]:{minWidth:De,marginBottom:ie,color:Ce,fontWeight:ce},[`${xe}-inner-content`]:{color:Le}})},(0,f.ZP)(ee,{colorBg:\"var(--antd-arrow-background-color)\"}),{[`${xe}-pure`]:{position:\"relative\",maxWidth:\"none\",margin:ee.sizePopupArrow,display:\"inline-block\",[`${xe}-content`]:{display:\"inline-block\"}}}]},x=ee=>{const{componentCls:xe}=ee;return{[xe]:h.i.map(Ie=>{const Le=ee[`${Ie}6`];return{[`&${xe}-${Ie}`]:{\"--antd-arrow-background-color\":Le,[`${xe}-inner`]:{backgroundColor:Le},[`${xe}-arrow`]:{background:\"transparent\"}}}})}},M=ee=>{const{componentCls:xe,lineWidth:Ie,lineType:Le,colorSplit:De,paddingSM:ce,controlHeight:ye,fontSize:Oe,lineHeight:Ce,padding:oe}=ee,he=ye-Math.round(Oe*Ce),ie=he/2,ae=he/2-Ie,ve=oe;return{[xe]:{[`${xe}-inner`]:{padding:0},[`${xe}-title`]:{margin:0,padding:`${ie}px ${ve}px ${ae}px`,borderBottom:`${Ie}px ${Le} ${De}`},[`${xe}-inner-content`]:{padding:`${ce}px ${ve}px`}}}};var E=(0,l.Z)(\"Popover\",ee=>{const{colorBgElevated:xe,colorText:Ie,wireframe:Le}=ee,De=(0,s.TS)(ee,{popoverBg:xe,popoverColor:Ie,popoverPadding:12});return[m(De),x(De),Le&&M(De),(0,a._y)(De,\"zoom-big\")]},ee=>{let{zIndexPopupBase:xe}=ee;return{zIndexPopup:xe+30,width:177}}),j=function(ee,xe){var Ie={};for(var Le in ee)Object.prototype.hasOwnProperty.call(ee,Le)&&xe.indexOf(Le)<0&&(Ie[Le]=ee[Le]);if(ee!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var De=0,Le=Object.getOwnPropertySymbols(ee);De<Le.length;De++)xe.indexOf(Le[De])<0&&Object.prototype.propertyIsEnumerable.call(ee,Le[De])&&(Ie[Le[De]]=ee[Le[De]]);return Ie};const L=(ee,xe,Ie)=>{if(!(!xe&&!Ie))return N.createElement(N.Fragment,null,xe&&N.createElement(\"div\",{className:`${ee}-title`},O(xe)),N.createElement(\"div\",{className:`${ee}-inner-content`},O(Ie)))};function A(ee){const{hashId:xe,prefixCls:Ie,className:Le,style:De,placement:ce=\"top\",title:ye,content:Oe,children:Ce}=ee;return N.createElement(\"div\",{className:y()(xe,Ie,`${Ie}-pure`,`${Ie}-placement-${ce}`,Le),style:De},N.createElement(\"div\",{className:`${Ie}-arrow`}),N.createElement(p.G,Object.assign({},ee,{className:xe,prefixCls:Ie}),Ce||L(Ie,ye,Oe)))}function J(ee){const{prefixCls:xe}=ee,Ie=j(ee,[\"prefixCls\"]),{getPrefixCls:Le}=N.useContext(C.E_),De=Le(\"popover\",xe),[ce,ye]=E(De);return ce(N.createElement(A,Object.assign({},Ie,{prefixCls:De,hashId:ye})))}var q=function(ee,xe){var Ie={};for(var Le in ee)Object.prototype.hasOwnProperty.call(ee,Le)&&xe.indexOf(Le)<0&&(Ie[Le]=ee[Le]);if(ee!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var De=0,Le=Object.getOwnPropertySymbols(ee);De<Le.length;De++)xe.indexOf(Le[De])<0&&Object.prototype.propertyIsEnumerable.call(ee,Le[De])&&(Ie[Le[De]]=ee[Le[De]]);return Ie};const re=ee=>{let{title:xe,content:Ie,prefixCls:Le}=ee;return!xe&&!Ie?null:N.createElement(N.Fragment,null,xe&&N.createElement(\"div\",{className:`${Le}-title`},O(xe)),N.createElement(\"div\",{className:`${Le}-inner-content`},O(Ie)))},me=N.forwardRef((ee,xe)=>{const{prefixCls:Ie,title:Le,content:De,overlayClassName:ce,placement:ye=\"top\",trigger:Oe=\"hover\",mouseEnterDelay:Ce=.1,mouseLeaveDelay:oe=.1,overlayStyle:he={}}=ee,ie=q(ee,[\"prefixCls\",\"title\",\"content\",\"overlayClassName\",\"placement\",\"trigger\",\"mouseEnterDelay\",\"mouseLeaveDelay\",\"overlayStyle\"]),{getPrefixCls:ae}=N.useContext(C.E_),ve=ae(\"popover\",Ie),[X,se]=E(ve),fe=ae(),_e=y()(ce,se);return X(N.createElement(w.Z,Object.assign({placement:ye,trigger:Oe,mouseEnterDelay:Ce,mouseLeaveDelay:oe,overlayStyle:he},ie,{prefixCls:ve,overlayClassName:_e,ref:xe,overlay:N.createElement(re,{prefixCls:ve,title:Le,content:De}),transitionName:(0,b.mL)(fe,\"zoom-big\",ie.transitionName),\"data-popover-inject\":!0})))});me._InternalPanelDoNotUseOrYouWillBeFired=J;var Te=me},66559:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return P}});var r=c(84875),y=c.n(r),N=c(51163),C=c(49544),w=c(24572),O=c(75782),b=c(91600),p=c(58733),u=c(26143),a=c(47280),f=c(53675),h=c(50959),l=c(57770),s=c(31591),m=c(59158),x=c(64111),M=h.createContext(null);function E(){return h.useContext(M)}function j(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,z=h.useState(!1),Q=(0,b.Z)(z,2),F=Q[0],V=Q[1],U=h.useRef(null),ge=function(){window.clearTimeout(U.current)};h.useEffect(function(){return ge},[]);var ke=function(Je,Ot){ge(),U.current=window.setTimeout(function(){V(Je),Ot&&Ot()},k)};return[F,ke,ge]}function L(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,z=h.useRef(null),Q=h.useRef(null);h.useEffect(function(){return function(){window.clearTimeout(Q.current)}},[]);function F(V){(V||z.current===null)&&(z.current=V),window.clearTimeout(Q.current),Q.current=window.setTimeout(function(){z.current=null},k)}return[function(){return z.current},F]}function A(k,z,Q,F){var V=h.useRef(null);V.current={open:z,triggerOpen:Q,customizedTrigger:F},h.useEffect(function(){function U(ge){var ke;if(!((ke=V.current)!==null&&ke!==void 0&&ke.customizedTrigger)){var St=ge.target;St.shadowRoot&&ge.composed&&(St=ge.composedPath()[0]||St),V.current.open&&k().filter(function(Je){return Je}).every(function(Je){return!Je.contains(St)&&Je!==St})&&V.current.triggerOpen(!1)}}return window.addEventListener(\"mousedown\",U),function(){return window.removeEventListener(\"mousedown\",U)}},[])}var J=c(42622),q=c(93883),re=function(z){var Q=z.className,F=z.customizeIcon,V=z.customizeIconProps,U=z.onMouseDown,ge=z.onClick,ke=z.children,St;return typeof F==\"function\"?St=F(V):St=F,h.createElement(\"span\",{className:Q,onMouseDown:function(Ot){Ot.preventDefault(),U&&U(Ot)},style:{userSelect:\"none\",WebkitUserSelect:\"none\"},unselectable:\"on\",onClick:ge,\"aria-hidden\":!0},St!==void 0?St:h.createElement(\"span\",{className:y()(Q.split(/\\s+/).map(function(Je){return\"\".concat(Je,\"-icon\")}))},ke))},me=re,Te=function(z,Q){var F,V,U=z.prefixCls,ge=z.id,ke=z.inputElement,St=z.disabled,Je=z.tabIndex,Ot=z.autoFocus,It=z.autoComplete,jt=z.editable,Vt=z.activeDescendantId,Pn=z.value,Jn=z.maxLength,vn=z.onKeyDown,Vn=z.onMouseDown,zt=z.onChange,ir=z.onPaste,nr=z.onCompositionStart,ur=z.onCompositionEnd,sr=z.open,Ln=z.attrs,Bt=ke||h.createElement(\"input\",null),En=Bt,_n=En.ref,cr=En.props,ao=cr.onKeyDown,kr=cr.onChange,jo=cr.onMouseDown,ui=cr.onCompositionStart,Vr=cr.onCompositionEnd,ho=cr.style;return(0,f.Kp)(!(\"maxLength\"in Bt.props),\"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled.\"),Bt=h.cloneElement(Bt,(0,O.Z)((0,O.Z)((0,O.Z)({type:\"search\"},cr),{},{id:ge,ref:(0,x.sQ)(Q,_n),disabled:St,tabIndex:Je,autoComplete:It||\"off\",autoFocus:Ot,className:y()(\"\".concat(U,\"-selection-search-input\"),(F=Bt)===null||F===void 0||(V=F.props)===null||V===void 0?void 0:V.className),role:\"combobox\",\"aria-expanded\":sr,\"aria-haspopup\":\"listbox\",\"aria-owns\":\"\".concat(ge,\"_list\"),\"aria-autocomplete\":\"list\",\"aria-controls\":\"\".concat(ge,\"_list\"),\"aria-activedescendant\":Vt},Ln),{},{value:jt?Pn:\"\",maxLength:Jn,readOnly:!jt,unselectable:jt?null:\"on\",style:(0,O.Z)((0,O.Z)({},ho),{},{opacity:jt?null:0}),onKeyDown:function(uo){vn(uo),ao&&ao(uo)},onMouseDown:function(uo){Vn(uo),jo&&jo(uo)},onChange:function(uo){zt(uo),kr&&kr(uo)},onCompositionStart:function(uo){nr(uo),ui&&ui(uo)},onCompositionEnd:function(uo){ur(uo),Vr&&Vr(uo)},onPaste:ir})),Bt},ee=h.forwardRef(Te);ee.displayName=\"Input\";var xe=ee;function Ie(k){return Array.isArray(k)?k:k!==void 0?[k]:[]}var Le=typeof window!=\"undefined\"&&window.document&&window.document.documentElement,De=Le;function ce(k){return k!=null}function ye(k){return[\"string\",\"number\"].includes((0,u.Z)(k))}function Oe(k){var z=void 0;return k&&(ye(k.title)?z=k.title.toString():ye(k.label)&&(z=k.label.toString())),z}function Ce(k,z){De?h.useLayoutEffect(k,z):h.useEffect(k,z)}function oe(k){var z;return(z=k.key)!==null&&z!==void 0?z:k.value}var he=function(z){z.preventDefault(),z.stopPropagation()},ie=function(z){var Q=z.id,F=z.prefixCls,V=z.values,U=z.open,ge=z.searchValue,ke=z.autoClearSearchValue,St=z.inputRef,Je=z.placeholder,Ot=z.disabled,It=z.mode,jt=z.showSearch,Vt=z.autoFocus,Pn=z.autoComplete,Jn=z.activeDescendantId,vn=z.tabIndex,Vn=z.removeIcon,zt=z.maxTagCount,ir=z.maxTagTextLength,nr=z.maxTagPlaceholder,ur=nr===void 0?function($i){return\"+ \".concat($i.length,\" ...\")}:nr,sr=z.tagRender,Ln=z.onToggleOpen,Bt=z.onRemove,En=z.onInputChange,_n=z.onInputPaste,cr=z.onInputKeyDown,ao=z.onInputMouseDown,kr=z.onInputCompositionStart,jo=z.onInputCompositionEnd,ui=h.useRef(null),Vr=(0,h.useState)(0),ho=(0,b.Z)(Vr,2),vo=ho[0],uo=ho[1],Go=(0,h.useState)(!1),Pi=(0,b.Z)(Go,2),la=Pi[0],Vi=Pi[1],ha=\"\".concat(F,\"-selection\"),xa=U||It===\"multiple\"&&ke===!1||It===\"tags\"?ge:\"\",qi=It===\"tags\"||It===\"multiple\"&&ke===!1||jt&&(U||la);Ce(function(){uo(ui.current.scrollWidth)},[xa]);function Jo($i,La,ss,Oa,Ma){return h.createElement(\"span\",{className:y()(\"\".concat(ha,\"-item\"),(0,w.Z)({},\"\".concat(ha,\"-item-disabled\"),ss)),title:Oe($i)},h.createElement(\"span\",{className:\"\".concat(ha,\"-item-content\")},La),Oa&&h.createElement(me,{className:\"\".concat(ha,\"-item-remove\"),onMouseDown:he,onClick:Ma,customizeIcon:Vn},\"\\xD7\"))}function Ji($i,La,ss,Oa,Ma){var Ka=function(Ua){he(Ua),Ln(!U)};return h.createElement(\"span\",{onMouseDown:Ka},sr({label:La,value:$i,disabled:ss,closable:Oa,onClose:Ma}))}function Yi($i){var La=$i.disabled,ss=$i.label,Oa=$i.value,Ma=!Ot&&!La,Ka=ss;if(typeof ir==\"number\"&&(typeof ss==\"string\"||typeof ss==\"number\")){var Ba=String(Ka);Ba.length>ir&&(Ka=\"\".concat(Ba.slice(0,ir),\"...\"))}var Ua=function(Ls){Ls&&Ls.stopPropagation(),Bt($i)};return typeof sr==\"function\"?Ji(Oa,Ka,La,Ma,Ua):Jo($i,Ka,La,Ma,Ua)}function Ii($i){var La=typeof ur==\"function\"?ur($i):ur;return Jo({title:La},La,!1)}var pa=h.createElement(\"div\",{className:\"\".concat(ha,\"-search\"),style:{width:vo},onFocus:function(){Vi(!0)},onBlur:function(){Vi(!1)}},h.createElement(xe,{ref:St,open:U,prefixCls:F,id:Q,inputElement:null,disabled:Ot,autoFocus:Vt,autoComplete:Pn,editable:qi,activeDescendantId:Jn,value:xa,onKeyDown:cr,onMouseDown:ao,onChange:En,onPaste:_n,onCompositionStart:kr,onCompositionEnd:jo,tabIndex:vn,attrs:(0,J.Z)(z,!0)}),h.createElement(\"span\",{ref:ui,className:\"\".concat(ha,\"-search-mirror\"),\"aria-hidden\":!0},xa,\"\\xA0\")),na=h.createElement(q.Z,{prefixCls:\"\".concat(ha,\"-overflow\"),data:V,renderItem:Yi,renderRest:Ii,suffix:pa,itemKey:oe,maxCount:zt});return h.createElement(h.Fragment,null,na,!V.length&&!xa&&h.createElement(\"span\",{className:\"\".concat(ha,\"-placeholder\")},Je))},ae=ie,ve=function(z){var Q=z.inputElement,F=z.prefixCls,V=z.id,U=z.inputRef,ge=z.disabled,ke=z.autoFocus,St=z.autoComplete,Je=z.activeDescendantId,Ot=z.mode,It=z.open,jt=z.values,Vt=z.placeholder,Pn=z.tabIndex,Jn=z.showSearch,vn=z.searchValue,Vn=z.activeValue,zt=z.maxLength,ir=z.onInputKeyDown,nr=z.onInputMouseDown,ur=z.onInputChange,sr=z.onInputPaste,Ln=z.onInputCompositionStart,Bt=z.onInputCompositionEnd,En=h.useState(!1),_n=(0,b.Z)(En,2),cr=_n[0],ao=_n[1],kr=Ot===\"combobox\",jo=kr||Jn,ui=jt[0],Vr=vn||\"\";kr&&Vn&&!cr&&(Vr=Vn),h.useEffect(function(){kr&&ao(!1)},[kr,Vn]);var ho=Ot!==\"combobox\"&&!It&&!Jn?!1:!!Vr,vo=Oe(ui),uo=function(){if(ui)return null;var Pi=ho?{visibility:\"hidden\"}:void 0;return h.createElement(\"span\",{className:\"\".concat(F,\"-selection-placeholder\"),style:Pi},Vt)};return h.createElement(h.Fragment,null,h.createElement(\"span\",{className:\"\".concat(F,\"-selection-search\")},h.createElement(xe,{ref:U,prefixCls:F,id:V,open:It,inputElement:Q,disabled:ge,autoFocus:ke,autoComplete:St,editable:jo,activeDescendantId:Je,value:Vr,onKeyDown:ir,onMouseDown:nr,onChange:function(Pi){ao(!0),ur(Pi)},onPaste:sr,onCompositionStart:Ln,onCompositionEnd:Bt,tabIndex:Pn,attrs:(0,J.Z)(z,!0),maxLength:kr?zt:void 0})),!kr&&ui&&!ho&&h.createElement(\"span\",{className:\"\".concat(F,\"-selection-item\"),title:vo},ui.label),uo())},X=ve;function se(k){return![m.Z.ESC,m.Z.SHIFT,m.Z.BACKSPACE,m.Z.TAB,m.Z.WIN_KEY,m.Z.ALT,m.Z.META,m.Z.WIN_KEY_RIGHT,m.Z.CTRL,m.Z.SEMICOLON,m.Z.EQUALS,m.Z.CAPS_LOCK,m.Z.CONTEXT_MENU,m.Z.F1,m.Z.F2,m.Z.F3,m.Z.F4,m.Z.F5,m.Z.F6,m.Z.F7,m.Z.F8,m.Z.F9,m.Z.F10,m.Z.F11,m.Z.F12].includes(k)}var fe=function(z,Q){var F=(0,h.useRef)(null),V=(0,h.useRef)(!1),U=z.prefixCls,ge=z.open,ke=z.mode,St=z.showSearch,Je=z.tokenWithEnter,Ot=z.autoClearSearchValue,It=z.onSearch,jt=z.onSearchSubmit,Vt=z.onToggleOpen,Pn=z.onInputKeyDown,Jn=z.domRef;h.useImperativeHandle(Q,function(){return{focus:function(){F.current.focus()},blur:function(){F.current.blur()}}});var vn=L(0),Vn=(0,b.Z)(vn,2),zt=Vn[0],ir=Vn[1],nr=function(ho){var vo=ho.which;(vo===m.Z.UP||vo===m.Z.DOWN)&&ho.preventDefault(),Pn&&Pn(ho),vo===m.Z.ENTER&&ke===\"tags\"&&!V.current&&!ge&&(jt==null||jt(ho.target.value)),se(vo)&&Vt(!0)},ur=function(){ir(!0)},sr=(0,h.useRef)(null),Ln=function(ho){It(ho,!0,V.current)!==!1&&Vt(!0)},Bt=function(){V.current=!0},En=function(ho){V.current=!1,ke!==\"combobox\"&&Ln(ho.target.value)},_n=function(ho){var vo=ho.target.value;if(Je&&sr.current&&/[\\r\\n]/.test(sr.current)){var uo=sr.current.replace(/[\\r\\n]+$/,\"\").replace(/\\r\\n/g,\" \").replace(/[\\r\\n]/g,\" \");vo=vo.replace(uo,sr.current)}sr.current=null,Ln(vo)},cr=function(ho){var vo=ho.clipboardData,uo=vo.getData(\"text\");sr.current=uo},ao=function(ho){var vo=ho.target;if(vo!==F.current){var uo=document.body.style.msTouchAction!==void 0;uo?setTimeout(function(){F.current.focus()}):F.current.focus()}},kr=function(ho){var vo=zt();ho.target!==F.current&&!vo&&ke!==\"combobox\"&&ho.preventDefault(),(ke!==\"combobox\"&&(!St||!vo)||!ge)&&(ge&&Ot!==!1&&It(\"\",!0,!1),Vt())},jo={inputRef:F,onInputKeyDown:nr,onInputMouseDown:ur,onInputChange:_n,onInputPaste:cr,onInputCompositionStart:Bt,onInputCompositionEnd:En},ui=ke===\"multiple\"||ke===\"tags\"?h.createElement(ae,(0,N.Z)({},z,jo)):h.createElement(X,(0,N.Z)({},z,jo));return h.createElement(\"div\",{ref:Jn,className:\"\".concat(U,\"-selector\"),onClick:ao,onMouseDown:kr},ui)},_e=h.forwardRef(fe);_e.displayName=\"Selector\";var be=_e,We=c(14254),we=[\"prefixCls\",\"disabled\",\"visible\",\"children\",\"popupElement\",\"containerWidth\",\"animation\",\"transitionName\",\"dropdownStyle\",\"dropdownClassName\",\"direction\",\"placement\",\"dropdownMatchSelectWidth\",\"dropdownRender\",\"dropdownAlign\",\"getPopupContainer\",\"empty\",\"getTriggerDOMNode\",\"onPopupVisibleChange\",\"onPopupMouseEnter\"],Ze=function(z){var Q=z===!0?0:1;return{bottomLeft:{points:[\"tl\",\"bl\"],offset:[0,4],overflow:{adjustX:Q,adjustY:1},htmlRegion:\"scroll\"},bottomRight:{points:[\"tr\",\"br\"],offset:[0,4],overflow:{adjustX:Q,adjustY:1},htmlRegion:\"scroll\"},topLeft:{points:[\"bl\",\"tl\"],offset:[0,-4],overflow:{adjustX:Q,adjustY:1},htmlRegion:\"scroll\"},topRight:{points:[\"br\",\"tr\"],offset:[0,-4],overflow:{adjustX:Q,adjustY:1},htmlRegion:\"scroll\"}}},Ve=function(z,Q){var F=z.prefixCls,V=z.disabled,U=z.visible,ge=z.children,ke=z.popupElement,St=z.containerWidth,Je=z.animation,Ot=z.transitionName,It=z.dropdownStyle,jt=z.dropdownClassName,Vt=z.direction,Pn=Vt===void 0?\"ltr\":Vt,Jn=z.placement,vn=z.dropdownMatchSelectWidth,Vn=z.dropdownRender,zt=z.dropdownAlign,ir=z.getPopupContainer,nr=z.empty,ur=z.getTriggerDOMNode,sr=z.onPopupVisibleChange,Ln=z.onPopupMouseEnter,Bt=(0,p.Z)(z,we),En=\"\".concat(F,\"-dropdown\"),_n=ke;Vn&&(_n=Vn(ke));var cr=h.useMemo(function(){return Ze(vn)},[vn]),ao=Je?\"\".concat(En,\"-\").concat(Je):Ot,kr=h.useRef(null);h.useImperativeHandle(Q,function(){return{getPopupElement:function(){return kr.current}}});var jo=(0,O.Z)({minWidth:St},It);return typeof vn==\"number\"?jo.width=vn:vn&&(jo.width=St),h.createElement(We.Z,(0,N.Z)({},Bt,{showAction:sr?[\"click\"]:[],hideAction:sr?[\"click\"]:[],popupPlacement:Jn||(Pn===\"rtl\"?\"bottomRight\":\"bottomLeft\"),builtinPlacements:cr,prefixCls:En,popupTransitionName:ao,popup:h.createElement(\"div\",{ref:kr,onMouseEnter:Ln},_n),popupAlign:zt,popupVisible:U,getPopupContainer:ir,popupClassName:y()(jt,(0,w.Z)({},\"\".concat(En,\"-empty\"),nr)),popupStyle:jo,getTriggerDOMNode:ur,onPopupVisibleChange:sr}),ge)},et=h.forwardRef(Ve);et.displayName=\"SelectTrigger\";var ht=et,Fe=c(9942);function mt(k,z){var Q=k.key,F;return\"value\"in k&&(F=k.value),Q!=null?Q:F!==void 0?F:\"rc-index-key-\".concat(z)}function dt(k,z){var Q=k||{},F=Q.label,V=Q.value,U=Q.options;return{label:F||(z?\"children\":\"label\"),value:V||\"value\",options:U||\"options\"}}function Lt(k){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Q=z.fieldNames,F=z.childrenAsData,V=[],U=dt(Q,!1),ge=U.label,ke=U.value,St=U.options;function Je(Ot,It){Ot.forEach(function(jt){var Vt=jt[ge];if(It||!(St in jt)){var Pn=jt[ke];V.push({key:mt(jt,V.length),groupOption:It,data:jt,label:Vt,value:Pn})}else{var Jn=Vt;Jn===void 0&&F&&(Jn=jt.label),V.push({key:mt(jt,V.length),group:!0,data:jt,label:Jn}),Je(jt[St],!0)}})}return Je(k,!1),V}function lt(k){var z=(0,O.Z)({},k);return\"props\"in z||Object.defineProperty(z,\"props\",{get:function(){return(0,f.ZP)(!1,\"Return type is option instead of Option instance. Please read value directly instead of reading from `props`.\"),z}}),z}function rn(k,z){if(!z||!z.length)return null;var Q=!1;function F(U,ge){var ke=(0,Fe.Z)(ge),St=ke[0],Je=ke.slice(1);if(!St)return[U];var Ot=U.split(St);return Q=Q||Ot.length>1,Ot.reduce(function(It,jt){return[].concat((0,C.Z)(It),(0,C.Z)(F(jt,Je)))},[]).filter(function(It){return It})}var V=F(k,z);return Q?V:null}var qt=[\"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\"],hn=[\"value\",\"onChange\",\"removeIcon\",\"placeholder\",\"autoFocus\",\"maxTagCount\",\"maxTagTextLength\",\"maxTagPlaceholder\",\"choiceTransitionName\",\"onInputKeyDown\",\"onPopupScroll\",\"tabIndex\"];function Kt(k){return k===\"tags\"||k===\"multiple\"}var an=h.forwardRef(function(k,z){var Q,F,V=k.id,U=k.prefixCls,ge=k.className,ke=k.showSearch,St=k.tagRender,Je=k.direction,Ot=k.omitDomProps,It=k.displayValues,jt=k.onDisplayValuesChange,Vt=k.emptyOptions,Pn=k.notFoundContent,Jn=Pn===void 0?\"Not Found\":Pn,vn=k.onClear,Vn=k.mode,zt=k.disabled,ir=k.loading,nr=k.getInputElement,ur=k.getRawInputElement,sr=k.open,Ln=k.defaultOpen,Bt=k.onDropdownVisibleChange,En=k.activeValue,_n=k.onActiveValueChange,cr=k.activeDescendantId,ao=k.searchValue,kr=k.autoClearSearchValue,jo=k.onSearch,ui=k.onSearchSplit,Vr=k.tokenSeparators,ho=k.allowClear,vo=k.showArrow,uo=k.inputIcon,Go=k.clearIcon,Pi=k.OptionList,la=k.animation,Vi=k.transitionName,ha=k.dropdownStyle,xa=k.dropdownClassName,qi=k.dropdownMatchSelectWidth,Jo=k.dropdownRender,Ji=k.dropdownAlign,Yi=k.placement,Ii=k.getPopupContainer,pa=k.showAction,na=pa===void 0?[]:pa,$i=k.onFocus,La=k.onBlur,ss=k.onKeyUp,Oa=k.onKeyDown,Ma=k.onMouseDown,Ka=(0,p.Z)(k,qt),Ba=Kt(Vn),Ua=(ke!==void 0?ke:Ba)||Vn===\"combobox\",Va=(0,O.Z)({},Ka);hn.forEach(function(hi){delete Va[hi]}),Ot==null||Ot.forEach(function(hi){delete Va[hi]});var Ls=h.useState(!1),Qo=(0,b.Z)(Ls,2),ws=Qo[0],Za=Qo[1];h.useEffect(function(){Za((0,s.Z)())},[]);var rr=h.useRef(null),Eo=h.useRef(null),Br=h.useRef(null),Ao=h.useRef(null),Di=h.useRef(null),Aa=j(),Na=(0,b.Z)(Aa,3),Fa=Na[0],Bs=Na[1],Ms=Na[2];h.useImperativeHandle(z,function(){var hi,Yo;return{focus:(hi=Ao.current)===null||hi===void 0?void 0:hi.focus,blur:(Yo=Ao.current)===null||Yo===void 0?void 0:Yo.blur,scrollTo:function(_a){var wa;return(wa=Di.current)===null||wa===void 0?void 0:wa.scrollTo(_a)}}});var Qa=h.useMemo(function(){var hi;if(Vn!==\"combobox\")return ao;var Yo=(hi=It[0])===null||hi===void 0?void 0:hi.value;return typeof Yo==\"string\"||typeof Yo==\"number\"?String(Yo):\"\"},[ao,Vn,It]),us=Vn===\"combobox\"&&typeof nr==\"function\"&&nr()||null,Fs=typeof ur==\"function\"&&ur(),$a=(0,x.x1)(Eo,Fs==null||(Q=Fs.props)===null||Q===void 0?void 0:Q.ref),Hs=(0,a.Z)(void 0,{defaultValue:Ln,value:sr}),ys=(0,b.Z)(Hs,2),sa=ys[0],Xa=ys[1],os=sa,As=!Jn&&Vt;(zt||As&&os&&Vn===\"combobox\")&&(os=!1);var oa=As?!1:os,di=h.useCallback(function(hi){var Yo=hi!==void 0?hi:!os;zt||(Xa(Yo),os!==Yo&&(Bt==null||Bt(Yo)))},[zt,os,Xa,Bt]),ia=h.useMemo(function(){return(Vr||[]).some(function(hi){return[`\n`,`\\r\n`].includes(hi)})},[Vr]),_i=function(Yo,Bi,_a){var wa=!0,Ia=Yo;_n==null||_n(null);var tr=_a?null:rn(Yo,Vr);return Vn!==\"combobox\"&&tr&&(Ia=\"\",ui==null||ui(tr),di(!1),wa=!1),jo&&Qa!==Ia&&jo(Ia,{source:Bi?\"typing\":\"effect\"}),wa},gi=function(Yo){!Yo||!Yo.trim()||jo(Yo,{source:\"submit\"})};h.useEffect(function(){!os&&!Ba&&Vn!==\"combobox\"&&_i(\"\",!1,!1)},[os]),h.useEffect(function(){sa&&zt&&Xa(!1),zt&&Bs(!1)},[zt]);var fa=L(),Pa=(0,b.Z)(fa,2),xs=Pa[0],Li=Pa[1],vs=function(Yo){var Bi=xs(),_a=Yo.which;if(_a===m.Z.ENTER&&(Vn!==\"combobox\"&&Yo.preventDefault(),os||di(!0)),Li(!!Qa),_a===m.Z.BACKSPACE&&!Bi&&Ba&&!Qa&&It.length){for(var wa=(0,C.Z)(It),Ia=null,tr=wa.length-1;tr>=0;tr-=1){var Sa=wa[tr];if(!Sa.disabled){wa.splice(tr,1),Ia=Sa;break}}Ia&&jt(wa,{type:\"remove\",values:[Ia]})}for(var Ta=arguments.length,ga=new Array(Ta>1?Ta-1:0),Fi=1;Fi<Ta;Fi++)ga[Fi-1]=arguments[Fi];if(os&&Di.current){var Cs;(Cs=Di.current).onKeyDown.apply(Cs,[Yo].concat(ga))}Oa==null||Oa.apply(void 0,[Yo].concat(ga))},Ca=function(Yo){for(var Bi=arguments.length,_a=new Array(Bi>1?Bi-1:0),wa=1;wa<Bi;wa++)_a[wa-1]=arguments[wa];if(os&&Di.current){var Ia;(Ia=Di.current).onKeyUp.apply(Ia,[Yo].concat(_a))}ss==null||ss.apply(void 0,[Yo].concat(_a))},ra=function(Yo){var Bi=It.filter(function(_a){return _a!==Yo});jt(Bi,{type:\"remove\",values:[Yo]})},Ja=h.useRef(!1),qa=function(){Bs(!0),zt||($i&&!Ja.current&&$i.apply(void 0,arguments),na.includes(\"focus\")&&di(!0)),Ja.current=!0},Ts=function(){Bs(!1,function(){Ja.current=!1,di(!1)}),!zt&&(Qa&&(Vn===\"tags\"?jo(Qa,{source:\"submit\"}):Vn===\"multiple\"&&jo(\"\",{source:\"blur\"})),La&&La.apply(void 0,arguments))},v=[];h.useEffect(function(){return function(){v.forEach(function(hi){return clearTimeout(hi)}),v.splice(0,v.length)}},[]);var G=function(Yo){var Bi,_a=Yo.target,wa=(Bi=Br.current)===null||Bi===void 0?void 0:Bi.getPopupElement();if(wa&&wa.contains(_a)){var Ia=setTimeout(function(){var ga=v.indexOf(Ia);if(ga!==-1&&v.splice(ga,1),Ms(),!ws&&!wa.contains(document.activeElement)){var Fi;(Fi=Ao.current)===null||Fi===void 0||Fi.focus()}});v.push(Ia)}for(var tr=arguments.length,Sa=new Array(tr>1?tr-1:0),Ta=1;Ta<tr;Ta++)Sa[Ta-1]=arguments[Ta];Ma==null||Ma.apply(void 0,[Yo].concat(Sa))},ze=h.useState(null),ut=(0,b.Z)(ze,2),_t=ut[0],Ht=ut[1],$t=h.useState({}),wn=(0,b.Z)($t,2),On=wn[1];function $n(){On({})}(0,l.Z)(function(){if(oa){var hi,Yo=Math.ceil((hi=rr.current)===null||hi===void 0?void 0:hi.offsetWidth);_t!==Yo&&!Number.isNaN(Yo)&&Ht(Yo)}},[oa]);var gr;Fs&&(gr=function(Yo){di(Yo)}),A(function(){var hi;return[rr.current,(hi=Br.current)===null||hi===void 0?void 0:hi.getPopupElement()]},oa,di,!!Fs);var Fr=h.useMemo(function(){return(0,O.Z)((0,O.Z)({},k),{},{notFoundContent:Jn,open:os,triggerOpen:oa,id:V,showSearch:Ua,multiple:Ba,toggleOpen:di})},[k,Jn,oa,os,V,Ua,Ba,di]),Qr=vo!==void 0?vo:ir||!Ba&&Vn!==\"combobox\",qr;Qr&&(qr=h.createElement(me,{className:y()(\"\".concat(U,\"-arrow\"),(0,w.Z)({},\"\".concat(U,\"-arrow-loading\"),ir)),customizeIcon:uo,customizeIconProps:{loading:ir,searchValue:Qa,open:os,focused:Fa,showSearch:Ua}}));var mo,Ho=function(){var Yo;vn==null||vn(),(Yo=Ao.current)===null||Yo===void 0||Yo.focus(),jt([],{type:\"clear\",values:It}),_i(\"\",!1,!1)};!zt&&ho&&(It.length||Qa)&&!(Vn===\"combobox\"&&Qa===\"\")&&(mo=h.createElement(me,{className:\"\".concat(U,\"-clear\"),onMouseDown:Ho,customizeIcon:Go},\"\\xD7\"));var fo=h.createElement(Pi,{ref:Di}),ei=y()(U,ge,(F={},(0,w.Z)(F,\"\".concat(U,\"-focused\"),Fa),(0,w.Z)(F,\"\".concat(U,\"-multiple\"),Ba),(0,w.Z)(F,\"\".concat(U,\"-single\"),!Ba),(0,w.Z)(F,\"\".concat(U,\"-allow-clear\"),ho),(0,w.Z)(F,\"\".concat(U,\"-show-arrow\"),Qr),(0,w.Z)(F,\"\".concat(U,\"-disabled\"),zt),(0,w.Z)(F,\"\".concat(U,\"-loading\"),ir),(0,w.Z)(F,\"\".concat(U,\"-open\"),os),(0,w.Z)(F,\"\".concat(U,\"-customize-input\"),us),(0,w.Z)(F,\"\".concat(U,\"-show-search\"),Ua),F)),ea=h.createElement(ht,{ref:Br,disabled:zt,prefixCls:U,visible:oa,popupElement:fo,containerWidth:_t,animation:la,transitionName:Vi,dropdownStyle:ha,dropdownClassName:xa,direction:Je,dropdownMatchSelectWidth:qi,dropdownRender:Jo,dropdownAlign:Ji,placement:Yi,getPopupContainer:Ii,empty:Vt,getTriggerDOMNode:function(){return Eo.current},onPopupVisibleChange:gr,onPopupMouseEnter:$n},Fs?h.cloneElement(Fs,{ref:$a}):h.createElement(be,(0,N.Z)({},k,{domRef:Eo,prefixCls:U,inputElement:us,ref:Ao,id:V,showSearch:Ua,autoClearSearchValue:kr,mode:Vn,activeDescendantId:cr,tagRender:St,values:It,open:os,onToggleOpen:di,activeValue:En,searchValue:Qa,onSearch:_i,onSearchSubmit:gi,onRemove:ra,tokenWithEnter:ia}))),Xi;return Fs?Xi=ea:Xi=h.createElement(\"div\",(0,N.Z)({className:ei},Va,{ref:rr,onMouseDown:G,onKeyDown:vs,onKeyUp:Ca,onFocus:qa,onBlur:Ts}),Fa&&!os&&h.createElement(\"span\",{style:{width:0,height:0,position:\"absolute\",overflow:\"hidden\",opacity:0},\"aria-live\":\"polite\"},\"\".concat(It.map(function(hi){var Yo=hi.label,Bi=hi.value;return[\"number\",\"string\"].includes((0,u.Z)(Yo))?Yo:Bi}).join(\", \"))),ea,qr,mo),h.createElement(M.Provider,{value:Fr},Xi)}),In=an,Ft=function(k,z){var Q=h.useRef({values:new Map,options:new Map}),F=h.useMemo(function(){var U=Q.current,ge=U.values,ke=U.options,St=k.map(function(It){if(It.label===void 0){var jt;return(0,O.Z)((0,O.Z)({},It),{},{label:(jt=ge.get(It.value))===null||jt===void 0?void 0:jt.label})}return It}),Je=new Map,Ot=new Map;return St.forEach(function(It){Je.set(It.value,It),Ot.set(It.value,z.get(It.value)||ke.get(It.value))}),Q.current.values=Je,Q.current.options=Ot,St},[k,z]),V=h.useCallback(function(U){return z.get(U)||Q.current.options.get(U)},[z]);return[F,V]};function kt(k,z){return Ie(k).join(\"\").toUpperCase().includes(z)}var At=function(k,z,Q,F,V){return h.useMemo(function(){if(!Q||F===!1)return k;var U=z.options,ge=z.label,ke=z.value,St=[],Je=typeof F==\"function\",Ot=Q.toUpperCase(),It=Je?F:function(Vt,Pn){return V?kt(Pn[V],Ot):Pn[U]?kt(Pn[ge!==\"children\"?ge:\"label\"],Ot):kt(Pn[ke],Ot)},jt=Je?function(Vt){return lt(Vt)}:function(Vt){return Vt};return k.forEach(function(Vt){if(Vt[U]){var Pn=It(Q,jt(Vt));if(Pn)St.push(Vt);else{var Jn=Vt[U].filter(function(vn){return It(Q,jt(vn))});Jn.length&&St.push((0,O.Z)((0,O.Z)({},Vt),{},(0,w.Z)({},U,Jn)))}return}It(Q,jt(Vt))&&St.push(Vt)}),St},[k,F,V,Q,z])},Fn=c(61237),pn=0,en=(0,Fn.Z)();function Wn(){var k;return en?(k=pn,pn+=1):k=\"TEST_OR_SSR\",k}function Mn(k){var z=h.useState(),Q=(0,b.Z)(z,2),F=Q[0],V=Q[1];return h.useEffect(function(){V(\"rc_select_\".concat(Wn()))},[]),k||F}var Kn=c(16030),hr=[\"children\",\"value\"],pr=[\"children\"];function zr(k){var z=k,Q=z.key,F=z.props,V=F.children,U=F.value,ge=(0,p.Z)(F,hr);return(0,O.Z)({key:Q,value:U!==void 0?U:Q,children:V},ge)}function Wr(k){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Kn.Z)(k).map(function(Q,F){if(!h.isValidElement(Q)||!Q.type)return null;var V=Q,U=V.type.isSelectOptGroup,ge=V.key,ke=V.props,St=ke.children,Je=(0,p.Z)(ke,pr);return z||!U?zr(Q):(0,O.Z)((0,O.Z)({key:\"__RC_SELECT_GRP__\".concat(ge===null?F:ge,\"__\"),label:ge},Je),{},{options:Wr(St)})}).filter(function(Q){return Q})}function Nr(k,z,Q,F,V){return h.useMemo(function(){var U=k,ge=!k;ge&&(U=Wr(z));var ke=new Map,St=new Map,Je=function(jt,Vt,Pn){Pn&&typeof Pn==\"string\"&&jt.set(Vt[Pn],Vt)};function Ot(It){for(var jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Vt=0;Vt<It.length;Vt+=1){var Pn=It[Vt];!Pn[Q.options]||jt?(ke.set(Pn[Q.value],Pn),Je(St,Pn,Q.label),Je(St,Pn,F),Je(St,Pn,V)):Ot(Pn[Q.options],!0)}}return Ot(U),{options:U,valueOptions:ke,labelOptions:St}},[k,z,Q,F,V])}function Kr(k){var z=h.useRef();z.current=k;var Q=h.useCallback(function(){return z.current.apply(z,arguments)},[]);return Q}var ko=function(){return null};ko.isSelectOptGroup=!0;var Ur=ko,gn=function(){return null};gn.isSelectOption=!0;var Gt=gn,bt=c(49308),Zt=c(97318),gt=c(51206),Wt=h.createContext(null),xn=Wt;function Dt(){return/(mac\\sos|macintosh)/i.test(navigator.appVersion)}var Xn=[\"disabled\",\"title\",\"children\",\"style\",\"className\"];function Rn(k){return typeof k==\"string\"||typeof k==\"number\"}var wt=function(z,Q){var F=E(),V=F.prefixCls,U=F.id,ge=F.open,ke=F.multiple,St=F.mode,Je=F.searchValue,Ot=F.toggleOpen,It=F.notFoundContent,jt=F.onPopupScroll,Vt=h.useContext(xn),Pn=Vt.flattenOptions,Jn=Vt.onActiveValue,vn=Vt.defaultActiveFirstOption,Vn=Vt.onSelect,zt=Vt.menuItemSelectedIcon,ir=Vt.rawValues,nr=Vt.fieldNames,ur=Vt.virtual,sr=Vt.listHeight,Ln=Vt.listItemHeight,Bt=\"\".concat(V,\"-item\"),En=(0,bt.Z)(function(){return Pn},[ge,Pn],function(qi,Jo){return Jo[0]&&qi[1]!==Jo[1]}),_n=h.useRef(null),cr=function(Jo){Jo.preventDefault()},ao=function(Jo){_n.current&&_n.current.scrollTo(typeof Jo==\"number\"?{index:Jo}:Jo)},kr=function(Jo){for(var Ji=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Yi=En.length,Ii=0;Ii<Yi;Ii+=1){var pa=(Jo+Ii*Ji+Yi)%Yi,na=En[pa],$i=na.group,La=na.data;if(!$i&&!La.disabled)return pa}return-1},jo=h.useState(function(){return kr(0)}),ui=(0,b.Z)(jo,2),Vr=ui[0],ho=ui[1],vo=function(Jo){var Ji=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;ho(Jo);var Yi={source:Ji?\"keyboard\":\"mouse\"},Ii=En[Jo];if(!Ii){Jn(null,-1,Yi);return}Jn(Ii.value,Jo,Yi)};(0,h.useEffect)(function(){vo(vn!==!1?kr(0):-1)},[En.length,Je]);var uo=h.useCallback(function(qi){return ir.has(qi)&&St!==\"combobox\"},[St,(0,C.Z)(ir).toString(),ir.size]);(0,h.useEffect)(function(){var qi=setTimeout(function(){if(!ke&&ge&&ir.size===1){var Ji=Array.from(ir)[0],Yi=En.findIndex(function(Ii){var pa=Ii.data;return pa.value===Ji});Yi!==-1&&(vo(Yi),ao(Yi))}});if(ge){var Jo;(Jo=_n.current)===null||Jo===void 0||Jo.scrollTo(void 0)}return function(){return clearTimeout(qi)}},[ge,Je,Pn.length]);var Go=function(Jo){Jo!==void 0&&Vn(Jo,{selected:!ir.has(Jo)}),ke||Ot(!1)};if(h.useImperativeHandle(Q,function(){return{onKeyDown:function(Jo){var Ji=Jo.which,Yi=Jo.ctrlKey;switch(Ji){case m.Z.N:case m.Z.P:case m.Z.UP:case m.Z.DOWN:{var Ii=0;if(Ji===m.Z.UP?Ii=-1:Ji===m.Z.DOWN?Ii=1:Dt()&&Yi&&(Ji===m.Z.N?Ii=1:Ji===m.Z.P&&(Ii=-1)),Ii!==0){var pa=kr(Vr+Ii,Ii);ao(pa),vo(pa,!0)}break}case m.Z.ENTER:{var na=En[Vr];na&&!na.data.disabled?Go(na.value):Go(void 0),ge&&Jo.preventDefault();break}case m.Z.ESC:Ot(!1),ge&&Jo.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Jo){ao(Jo)}}}),En.length===0)return h.createElement(\"div\",{role:\"listbox\",id:\"\".concat(U,\"_list\"),className:\"\".concat(Bt,\"-empty\"),onMouseDown:cr},It);var Pi=Object.keys(nr).map(function(qi){return nr[qi]}),la=function(Jo){return Jo.label};function Vi(qi,Jo){var Ji=qi.group;return{role:Ji?\"presentation\":\"option\",id:\"\".concat(U,\"_list_\").concat(Jo)}}var ha=function(Jo){var Ji=En[Jo];if(!Ji)return null;var Yi=Ji.data||{},Ii=Yi.value,pa=Ji.group,na=(0,J.Z)(Yi,!0),$i=la(Ji);return Ji?h.createElement(\"div\",(0,N.Z)({\"aria-label\":typeof $i==\"string\"&&!pa?$i:null},na,{key:Jo},Vi(Ji,Jo),{\"aria-selected\":uo(Ii)}),Ii):null},xa={role:\"listbox\",id:\"\".concat(U,\"_list\")};return h.createElement(h.Fragment,null,ur&&h.createElement(\"div\",(0,N.Z)({},xa,{style:{height:0,width:0,overflow:\"hidden\"}}),ha(Vr-1),ha(Vr),ha(Vr+1)),h.createElement(gt.Z,{itemKey:\"key\",ref:_n,data:En,height:sr,itemHeight:Ln,fullHeight:!1,onMouseDown:cr,onScroll:jt,virtual:ur,innerProps:ur?null:xa},function(qi,Jo){var Ji,Yi=qi.group,Ii=qi.groupOption,pa=qi.data,na=qi.label,$i=qi.value,La=pa.key;if(Yi){var ss,Oa=(ss=pa.title)!==null&&ss!==void 0?ss:Rn(na)?na.toString():void 0;return h.createElement(\"div\",{className:y()(Bt,\"\".concat(Bt,\"-group\")),title:Oa},na!==void 0?na:La)}var Ma=pa.disabled,Ka=pa.title,Ba=pa.children,Ua=pa.style,Va=pa.className,Ls=(0,p.Z)(pa,Xn),Qo=(0,Zt.Z)(Ls,Pi),ws=uo($i),Za=\"\".concat(Bt,\"-option\"),rr=y()(Bt,Za,Va,(Ji={},(0,w.Z)(Ji,\"\".concat(Za,\"-grouped\"),Ii),(0,w.Z)(Ji,\"\".concat(Za,\"-active\"),Vr===Jo&&!Ma),(0,w.Z)(Ji,\"\".concat(Za,\"-disabled\"),Ma),(0,w.Z)(Ji,\"\".concat(Za,\"-selected\"),ws),Ji)),Eo=la(qi),Br=!zt||typeof zt==\"function\"||ws,Ao=typeof Eo==\"number\"?Eo:Eo||$i,Di=Rn(Ao)?Ao.toString():void 0;return Ka!==void 0&&(Di=Ka),h.createElement(\"div\",(0,N.Z)({},(0,J.Z)(Qo),ur?{}:Vi(qi,Jo),{\"aria-selected\":ws,className:rr,title:Di,onMouseMove:function(){Vr===Jo||Ma||vo(Jo)},onClick:function(){Ma||Go($i)},style:Ua}),h.createElement(\"div\",{className:\"\".concat(Za,\"-content\")},Ao),h.isValidElement(zt)||ws,Br&&h.createElement(me,{className:\"\".concat(Bt,\"-option-state\"),customizeIcon:zt,customizeIconProps:{isSelected:ws}},ws?\"\\u2713\":null))}))},pt=h.forwardRef(wt);pt.displayName=\"OptionList\";var Ue=pt;function xt(k){var z=k.mode,Q=k.options,F=k.children,V=k.backfill,U=k.allowClear,ge=k.placeholder,ke=k.getInputElement,St=k.showSearch,Je=k.onSearch,Ot=k.defaultOpen,It=k.autoFocus,jt=k.labelInValue,Vt=k.value,Pn=k.inputValue,Jn=k.optionLabelProp,vn=isMultiple(z),Vn=St!==void 0?St:vn||z===\"combobox\",zt=Q||convertChildrenToData(F);if(warning(z!==\"tags\"||zt.every(function(sr){return!sr.disabled}),\"Please avoid setting option to disabled in tags mode since user can always type text as tag.\"),z===\"tags\"||z===\"combobox\"){var ir=zt.some(function(sr){return sr.options?sr.options.some(function(Ln){return typeof(\"value\"in Ln?Ln.value:Ln.key)==\"number\"}):typeof(\"value\"in sr?sr.value:sr.key)==\"number\"});warning(!ir,\"`value` of Option should not use number type when `mode` is `tags` or `combobox`.\")}if(warning(z!==\"combobox\"||!Jn,\"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly.\"),warning(z===\"combobox\"||!V,\"`backfill` only works with `combobox` mode.\"),warning(z===\"combobox\"||!ke,\"`getInputElement` only work with `combobox` mode.\"),noteOnce(z!==\"combobox\"||!ke||!U||!ge,\"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`.\"),Je&&!Vn&&z!==\"combobox\"&&z!==\"tags\"&&warning(!1,\"`onSearch` should work with `showSearch` instead of use alone.\"),noteOnce(!Ot||It,\"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed.\"),Vt!=null){var nr=toArray(Vt);warning(!jt||nr.every(function(sr){return _typeof(sr)===\"object\"&&(\"key\"in sr||\"value\"in sr)}),\"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`\"),warning(!vn||Array.isArray(Vt),\"`value` should be array when `mode` is `multiple` or `tags`\")}if(F){var ur=null;toNodeArray(F).some(function(sr){if(!React.isValidElement(sr)||!sr.type)return!1;var Ln=sr,Bt=Ln.type;if(Bt.isSelectOption)return!1;if(Bt.isSelectOptGroup){var En=toNodeArray(sr.props.children).every(function(_n){return!React.isValidElement(_n)||!sr.type||_n.type.isSelectOption?!0:(ur=_n.type,!1)});return!En}return ur=Bt,!0}),ur&&warning(!1,\"`children` should be `Select.Option` or `Select.OptGroup` instead of `\".concat(ur.displayName||ur.name||ur,\"`.\")),warning(Pn===void 0,\"`inputValue` is deprecated, please use `searchValue` instead.\")}}function cn(k,z){if(k){var Q=function F(V){for(var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ge=0;ge<V.length;ge++){var ke=V[ge];if(ke[z==null?void 0:z.value]===null)return warning(!1,\"`value` in Select options should not be `null`.\"),!0;if(!U&&Array.isArray(ke[z==null?void 0:z.options])&&F(ke[z==null?void 0:z.options],!0))break}};Q(k)}}var er=null,Mr=[\"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\"],xr=[\"inputValue\"];function jr(k){return!k||(0,u.Z)(k)!==\"object\"}var yo=h.forwardRef(function(k,z){var Q=k.id,F=k.mode,V=k.prefixCls,U=V===void 0?\"rc-select\":V,ge=k.backfill,ke=k.fieldNames,St=k.inputValue,Je=k.searchValue,Ot=k.onSearch,It=k.autoClearSearchValue,jt=It===void 0?!0:It,Vt=k.onSelect,Pn=k.onDeselect,Jn=k.dropdownMatchSelectWidth,vn=Jn===void 0?!0:Jn,Vn=k.filterOption,zt=k.filterSort,ir=k.optionFilterProp,nr=k.optionLabelProp,ur=k.options,sr=k.children,Ln=k.defaultActiveFirstOption,Bt=k.menuItemSelectedIcon,En=k.virtual,_n=k.listHeight,cr=_n===void 0?200:_n,ao=k.listItemHeight,kr=ao===void 0?20:ao,jo=k.value,ui=k.defaultValue,Vr=k.labelInValue,ho=k.onChange,vo=(0,p.Z)(k,Mr),uo=Mn(Q),Go=Kt(F),Pi=!!(!ur&&sr),la=h.useMemo(function(){return Vn===void 0&&F===\"combobox\"?!1:Vn},[Vn,F]),Vi=h.useMemo(function(){return dt(ke,Pi)},[JSON.stringify(ke),Pi]),ha=(0,a.Z)(\"\",{value:Je!==void 0?Je:St,postState:function(ia){return ia||\"\"}}),xa=(0,b.Z)(ha,2),qi=xa[0],Jo=xa[1],Ji=Nr(ur,sr,Vi,ir,nr),Yi=Ji.valueOptions,Ii=Ji.labelOptions,pa=Ji.options,na=h.useCallback(function(di){var ia=Ie(di);return ia.map(function(_i){var gi,fa,Pa,xs,Li;if(jr(_i))gi=_i;else{var vs;Pa=_i.key,fa=_i.label,gi=(vs=_i.value)!==null&&vs!==void 0?vs:Pa}var Ca=Yi.get(gi);if(Ca){var ra;if(fa===void 0&&(fa=Ca==null?void 0:Ca[nr||Vi.label]),Pa===void 0&&(Pa=(ra=Ca==null?void 0:Ca.key)!==null&&ra!==void 0?ra:gi),xs=Ca==null?void 0:Ca.disabled,Li=Ca==null?void 0:Ca.title,!1)var Ja}return{label:fa,value:gi,key:Pa,disabled:xs,title:Li}})},[Vi,nr,Yi]),$i=(0,a.Z)(ui,{value:jo}),La=(0,b.Z)($i,2),ss=La[0],Oa=La[1],Ma=h.useMemo(function(){var di,ia=na(ss);return F===\"combobox\"&&!((di=ia[0])!==null&&di!==void 0&&di.value)?[]:ia},[ss,na,F]),Ka=Ft(Ma,Yi),Ba=(0,b.Z)(Ka,2),Ua=Ba[0],Va=Ba[1],Ls=h.useMemo(function(){if(!F&&Ua.length===1){var di=Ua[0];if(di.value===null&&(di.label===null||di.label===void 0))return[]}return Ua.map(function(ia){var _i;return(0,O.Z)((0,O.Z)({},ia),{},{label:(_i=ia.label)!==null&&_i!==void 0?_i:ia.value})})},[F,Ua]),Qo=h.useMemo(function(){return new Set(Ua.map(function(di){return di.value}))},[Ua]);h.useEffect(function(){if(F===\"combobox\"){var di,ia=(di=Ua[0])===null||di===void 0?void 0:di.value;Jo(ce(ia)?String(ia):\"\")}},[Ua]);var ws=Kr(function(di,ia){var _i,gi=ia!=null?ia:di;return _i={},(0,w.Z)(_i,Vi.value,di),(0,w.Z)(_i,Vi.label,gi),_i}),Za=h.useMemo(function(){if(F!==\"tags\")return pa;var di=(0,C.Z)(pa),ia=function(gi){return Yi.has(gi)};return(0,C.Z)(Ua).sort(function(_i,gi){return _i.value<gi.value?-1:1}).forEach(function(_i){var gi=_i.value;ia(gi)||di.push(ws(gi,_i.label))}),di},[ws,pa,Yi,Ua,F]),rr=At(Za,Vi,qi,la,ir),Eo=h.useMemo(function(){return F!==\"tags\"||!qi||rr.some(function(di){return di[ir||\"value\"]===qi})?rr:[ws(qi)].concat((0,C.Z)(rr))},[ws,ir,F,rr,qi]),Br=h.useMemo(function(){return zt?(0,C.Z)(Eo).sort(function(di,ia){return zt(di,ia)}):Eo},[Eo,zt]),Ao=h.useMemo(function(){return Lt(Br,{fieldNames:Vi,childrenAsData:Pi})},[Br,Vi,Pi]),Di=function(ia){var _i=na(ia);if(Oa(_i),ho&&(_i.length!==Ua.length||_i.some(function(Pa,xs){var Li;return((Li=Ua[xs])===null||Li===void 0?void 0:Li.value)!==(Pa==null?void 0:Pa.value)}))){var gi=Vr?_i:_i.map(function(Pa){return Pa.value}),fa=_i.map(function(Pa){return lt(Va(Pa.value))});ho(Go?gi:gi[0],Go?fa:fa[0])}},Aa=h.useState(null),Na=(0,b.Z)(Aa,2),Fa=Na[0],Bs=Na[1],Ms=h.useState(0),Qa=(0,b.Z)(Ms,2),us=Qa[0],Fs=Qa[1],$a=Ln!==void 0?Ln:F!==\"combobox\",Hs=h.useCallback(function(di,ia){var _i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},gi=_i.source,fa=gi===void 0?\"keyboard\":gi;Fs(ia),ge&&F===\"combobox\"&&di!==null&&fa===\"keyboard\"&&Bs(String(di))},[ge,F]),ys=function(ia,_i,gi){var fa=function(){var v,G=Va(ia);return[Vr?{label:G==null?void 0:G[Vi.label],value:ia,key:(v=G==null?void 0:G.key)!==null&&v!==void 0?v:ia}:ia,lt(G)]};if(_i&&Vt){var Pa=fa(),xs=(0,b.Z)(Pa,2),Li=xs[0],vs=xs[1];Vt(Li,vs)}else if(!_i&&Pn&&gi!==\"clear\"){var Ca=fa(),ra=(0,b.Z)(Ca,2),Ja=ra[0],qa=ra[1];Pn(Ja,qa)}},sa=Kr(function(di,ia){var _i,gi=Go?ia.selected:!0;gi?_i=Go?[].concat((0,C.Z)(Ua),[di]):[di]:_i=Ua.filter(function(fa){return fa.value!==di}),Di(_i),ys(di,gi),F===\"combobox\"?Bs(\"\"):(!Kt||jt)&&(Jo(\"\"),Bs(\"\"))}),Xa=function(ia,_i){Di(ia);var gi=_i.type,fa=_i.values;(gi===\"remove\"||gi===\"clear\")&&fa.forEach(function(Pa){ys(Pa.value,!1,gi)})},os=function(ia,_i){if(Jo(ia),Bs(null),_i.source===\"submit\"){var gi=(ia||\"\").trim();if(gi){var fa=Array.from(new Set([].concat((0,C.Z)(Qo),[gi])));Di(fa),ys(gi,!0),Jo(\"\")}return}_i.source!==\"blur\"&&(F===\"combobox\"&&Di(ia),Ot==null||Ot(ia))},As=function(ia){var _i=ia;F!==\"tags\"&&(_i=ia.map(function(fa){var Pa=Ii.get(fa);return Pa==null?void 0:Pa.value}).filter(function(fa){return fa!==void 0}));var gi=Array.from(new Set([].concat((0,C.Z)(Qo),(0,C.Z)(_i))));Di(gi),gi.forEach(function(fa){ys(fa,!0)})},oa=h.useMemo(function(){var di=En!==!1&&vn!==!1;return(0,O.Z)((0,O.Z)({},Ji),{},{flattenOptions:Ao,onActiveValue:Hs,defaultActiveFirstOption:$a,onSelect:sa,menuItemSelectedIcon:Bt,rawValues:Qo,fieldNames:Vi,virtual:di,listHeight:cr,listItemHeight:kr,childrenAsData:Pi})},[Ji,Ao,Hs,$a,sa,Bt,Qo,Vi,En,vn,cr,kr,Pi]);return h.createElement(xn.Provider,{value:oa},h.createElement(In,(0,N.Z)({},vo,{id:uo,prefixCls:U,ref:z,omitDomProps:xr,mode:F,displayValues:Ls,onDisplayValuesChange:Xa,searchValue:qi,onSearch:os,autoClearSearchValue:jt,onSearchSplit:As,dropdownMatchSelectWidth:vn,OptionList:Ue,emptyOptions:!Ao.length,activeValue:Fa,activeDescendantId:\"\".concat(uo,\"_list_\").concat(us)})))}),eo=yo;eo.Option=Gt,eo.OptGroup=Ur;var vi=eo,Ti=vi,wi=c(35531),mi=c(70167),Zi=c(19557),$e=(k,z)=>{const Q=h.useContext(mi.Z),F=h.useMemo(()=>{var U;const ge=z||Zi.Z[k],ke=(U=Q==null?void 0:Q[k])!==null&&U!==void 0?U:{};return Object.assign(Object.assign({},typeof ge==\"function\"?ge():ge),ke||{})},[k,z,Q]),V=h.useMemo(()=>{const U=Q==null?void 0:Q.locale;return Q!=null&&Q.exist&&!U?Zi.Z.locale:U},[Q]);return[F,V]},dn=c(99590),Un=c(25990),Rr=()=>{const[,k]=(0,Un.dQ)(),z=new dn.C(k.colorBgBase);let Q={};return z.toHsl().l<.5&&(Q={opacity:.65}),h.createElement(\"svg\",{style:Q,width:\"184\",height:\"152\",viewBox:\"0 0 184 152\",xmlns:\"http://www.w3.org/2000/svg\"},h.createElement(\"g\",{fill:\"none\",fillRule:\"evenodd\"},h.createElement(\"g\",{transform:\"translate(24 31.67)\"},h.createElement(\"ellipse\",{fillOpacity:\".8\",fill:\"#F5F5F7\",cx:\"67.797\",cy:\"106.89\",rx:\"67.797\",ry:\"12.668\"}),h.createElement(\"path\",{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\",fill:\"#AEB8C2\"}),h.createElement(\"path\",{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\",fill:\"url(#linearGradient-1)\",transform:\"translate(13.56)\"}),h.createElement(\"path\",{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\",fill:\"#F5F5F7\"}),h.createElement(\"path\",{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\",fill:\"#DCE0E6\"})),h.createElement(\"path\",{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\",fill:\"#DCE0E6\"}),h.createElement(\"g\",{transform:\"translate(149.65 15.383)\",fill:\"#FFF\"},h.createElement(\"ellipse\",{cx:\"20.654\",cy:\"3.167\",rx:\"2.849\",ry:\"2.815\"}),h.createElement(\"path\",{d:\"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z\"}))))},Vo=()=>{const[,k]=(0,Un.dQ)(),{colorFill:z,colorFillTertiary:Q,colorFillQuaternary:F,colorBgContainer:V}=k,{borderColor:U,shadowColor:ge,contentColor:ke}=(0,h.useMemo)(()=>({borderColor:new dn.C(z).onBackground(V).toHexShortString(),shadowColor:new dn.C(Q).onBackground(V).toHexShortString(),contentColor:new dn.C(F).onBackground(V).toHexShortString()}),[z,Q,F,V]);return h.createElement(\"svg\",{width:\"64\",height:\"41\",viewBox:\"0 0 64 41\",xmlns:\"http://www.w3.org/2000/svg\"},h.createElement(\"g\",{transform:\"translate(0 1)\",fill:\"none\",fillRule:\"evenodd\"},h.createElement(\"ellipse\",{fill:ge,cx:\"32\",cy:\"33\",rx:\"32\",ry:\"7\"}),h.createElement(\"g\",{fillRule:\"nonzero\",stroke:U},h.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\"}),h.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\",fill:ke}))))},Co=c(72267),Mo=c(42550);const qo=k=>{const{componentCls:z,margin:Q,marginXS:F,marginXL:V,fontSize:U,lineHeight:ge}=k;return{[z]:{marginInline:F,fontSize:U,lineHeight:ge,textAlign:\"center\",[`${z}-image`]:{height:k.emptyImgHeight,marginBottom:F,opacity:k.opacityImage,img:{height:\"100%\"},svg:{height:\"100%\",margin:\"auto\"}},[`${z}-description`]:{color:k.colorText},[`${z}-footer`]:{marginTop:Q},\"&-normal\":{marginBlock:V,color:k.colorTextDisabled,[`${z}-description`]:{color:k.colorTextDisabled},[`${z}-image`]:{height:k.emptyImgHeightMD}},\"&-small\":{marginBlock:F,color:k.colorTextDisabled,[`${z}-image`]:{height:k.emptyImgHeightSM}}}}};var ti=(0,Co.Z)(\"Empty\",k=>{const{componentCls:z,controlHeightLG:Q}=k,F=(0,Mo.TS)(k,{emptyImgCls:`${z}-img`,emptyImgHeight:Q*2.5,emptyImgHeightMD:Q,emptyImgHeightSM:Q*.875});return[qo(F)]}),pi=function(k,z){var Q={};for(var F in k)Object.prototype.hasOwnProperty.call(k,F)&&z.indexOf(F)<0&&(Q[F]=k[F]);if(k!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var V=0,F=Object.getOwnPropertySymbols(k);V<F.length;V++)z.indexOf(F[V])<0&&Object.prototype.propertyIsEnumerable.call(k,F[V])&&(Q[F[V]]=k[F[V]]);return Q};const ni=h.createElement(Rr,null),si=h.createElement(Vo,null),Oi=k=>{var{className:z,rootClassName:Q,prefixCls:F,image:V=ni,description:U,children:ge,imageStyle:ke}=k,St=pi(k,[\"className\",\"rootClassName\",\"prefixCls\",\"image\",\"description\",\"children\",\"imageStyle\"]);const{getPrefixCls:Je,direction:Ot}=h.useContext(wi.E_),It=Je(\"empty\",F),[jt,Vt]=ti(It),[Pn]=$e(\"Empty\"),Jn=typeof U!=\"undefined\"?U:Pn==null?void 0:Pn.description,vn=typeof Jn==\"string\"?Jn:\"empty\";let Vn=null;return typeof V==\"string\"?Vn=h.createElement(\"img\",{alt:vn,src:V}):Vn=V,jt(h.createElement(\"div\",Object.assign({className:y()(Vt,It,{[`${It}-normal`]:V===si,[`${It}-rtl`]:Ot===\"rtl\"},z,Q)},St),h.createElement(\"div\",{className:`${It}-image`,style:ke},Vn),Jn&&h.createElement(\"div\",{className:`${It}-description`},Jn),ge&&h.createElement(\"div\",{className:`${It}-footer`},ge)))};Oi.PRESENTED_IMAGE_DEFAULT=ni,Oi.PRESENTED_IMAGE_SIMPLE=si;var Ki=Oi,zi=k=>{const{componentName:z}=k,{getPrefixCls:Q}=(0,h.useContext)(wi.E_),F=Q(\"empty\");switch(z){case\"Table\":case\"List\":return h.createElement(Ki,{image:Ki.PRESENTED_IMAGE_SIMPLE});case\"Select\":case\"TreeSelect\":case\"Cascader\":case\"Transfer\":case\"Mentions\":return h.createElement(Ki,{image:Ki.PRESENTED_IMAGE_SIMPLE,className:`${F}-small`});default:return h.createElement(Ki,null)}},br=c(47265),Re=c(75469),je=c(60576),nt=c(48515),rt=c(91700),Xt={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\"},fn=Xt,Cn=c(58649),Yn=function(z,Q){return h.createElement(Cn.Z,(0,O.Z)((0,O.Z)({},z),{},{ref:Q,icon:fn}))};Yn.displayName=\"CheckOutlined\";var Ae=h.forwardRef(Yn),Ke=c(39810),Mt={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\"},Ut=Mt,kn=function(z,Q){return h.createElement(Cn.Z,(0,O.Z)((0,O.Z)({},z),{},{ref:Q,icon:Ut}))};kn.displayName=\"CloseOutlined\";var Zn=h.forwardRef(kn),lr={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\"},wr=lr,Dr=function(z,Q){return h.createElement(Cn.Z,(0,O.Z)((0,O.Z)({},z),{},{ref:Q,icon:wr}))};Dr.displayName=\"DownOutlined\";var go=h.forwardRef(Dr),Ir=c(19e3),Jr=c(30716);function _o(k){let{suffixIcon:z,clearIcon:Q,menuItemSelectedIcon:F,removeIcon:V,loading:U,multiple:ge,hasFeedback:ke,prefixCls:St,showArrow:Je,feedbackIcon:Ot}=k;const It=Q!=null?Q:h.createElement(Ke.Z,null),jt=vn=>h.createElement(h.Fragment,null,Je!==!1&&vn,ke&&Ot);let Vt=null;if(z!==void 0)Vt=jt(z);else if(U)Vt=jt(h.createElement(Ir.Z,{spin:!0}));else{const vn=`${St}-suffix`;Vt=Vn=>{let{open:zt,showSearch:ir}=Vn;return jt(zt&&ir?h.createElement(Jr.Z,{className:vn}):h.createElement(go,{className:vn}))}}let Pn=null;F!==void 0?Pn=F:ge?Pn=h.createElement(Ae,null):Pn=null;let Jn=null;return V!==void 0?Jn=V:Jn=h.createElement(Zn,null),{clearIcon:It,suffixIcon:Vt,itemIcon:Pn,removeIcon:Jn}}var No=c(2315),ii=c(30087),Lo=c(38717),ai=c(67804),Si=c(92220);const Ui=k=>{const{controlPaddingHorizontal:z}=k;return{position:\"relative\",display:\"block\",minHeight:k.controlHeight,padding:`${(k.controlHeight-k.fontSize*k.lineHeight)/2}px ${z}px`,color:k.colorText,fontWeight:\"normal\",fontSize:k.fontSize,lineHeight:k.lineHeight,boxSizing:\"border-box\"}};var mn=k=>{const{antCls:z,componentCls:Q}=k,F=`${Q}-item`;return[{[`${Q}-dropdown`]:Object.assign(Object.assign({},(0,Si.Wf)(k)),{position:\"absolute\",top:-9999,zIndex:k.zIndexPopup,boxSizing:\"border-box\",padding:k.paddingXXS,overflow:\"hidden\",fontSize:k.fontSize,fontVariant:\"initial\",backgroundColor:k.colorBgElevated,borderRadius:k.borderRadiusLG,outline:\"none\",boxShadow:k.boxShadowSecondary,[`\n            &${z}-slide-up-enter${z}-slide-up-enter-active${Q}-dropdown-placement-bottomLeft,\n            &${z}-slide-up-appear${z}-slide-up-appear-active${Q}-dropdown-placement-bottomLeft\n          `]:{animationName:Lo.fJ},[`\n            &${z}-slide-up-enter${z}-slide-up-enter-active${Q}-dropdown-placement-topLeft,\n            &${z}-slide-up-appear${z}-slide-up-appear-active${Q}-dropdown-placement-topLeft\n          `]:{animationName:Lo.Qt},[`&${z}-slide-up-leave${z}-slide-up-leave-active${Q}-dropdown-placement-bottomLeft`]:{animationName:Lo.Uw},[`&${z}-slide-up-leave${z}-slide-up-leave-active${Q}-dropdown-placement-topLeft`]:{animationName:Lo.ly},\"&-hidden\":{display:\"none\"},\"&-empty\":{color:k.colorTextDisabled},[`${F}-empty`]:Object.assign(Object.assign({},Ui(k)),{color:k.colorTextDisabled}),[`${F}`]:Object.assign(Object.assign({},Ui(k)),{cursor:\"pointer\",transition:`background ${k.motionDurationSlow} ease`,borderRadius:k.borderRadiusSM,\"&-group\":{color:k.colorTextDescription,fontSize:k.fontSizeSM,cursor:\"default\"},\"&-option\":{display:\"flex\",\"&-content\":Object.assign(Object.assign({flex:\"auto\"},Si.vS),{\"> *\":Object.assign({},Si.vS)}),\"&-state\":{flex:\"none\"},[`&-active:not(${F}-option-disabled)`]:{backgroundColor:k.controlItemBgHover},[`&-selected:not(${F}-option-disabled)`]:{color:k.colorText,fontWeight:k.fontWeightStrong,backgroundColor:k.controlItemBgActive,[`${F}-option-state`]:{color:k.colorPrimary}},\"&-disabled\":{[`&${F}-option-selected`]:{backgroundColor:k.colorBgContainerDisabled},color:k.colorTextDisabled,cursor:\"not-allowed\"},\"&-grouped\":{paddingInlineStart:k.controlPaddingHorizontal*2}}}),\"&-rtl\":{direction:\"rtl\"}})},(0,Lo.oN)(k,\"slide-up\"),(0,Lo.oN)(k,\"slide-down\"),(0,ai.Fm)(k,\"move-up\"),(0,ai.Fm)(k,\"move-down\")]};const fr=2;function ft(k){let{controlHeightSM:z,controlHeight:Q,lineWidth:F}=k;const V=(Q-z)/2-F,U=Math.ceil(V/2);return[V,U]}function ct(k,z){const{componentCls:Q,iconCls:F}=k,V=`${Q}-selection-overflow`,U=k.controlHeightSM,[ge]=ft(k),ke=z?`${Q}-${z}`:\"\";return{[`${Q}-multiple${ke}`]:{fontSize:k.fontSize,[V]:{position:\"relative\",display:\"flex\",flex:\"auto\",flexWrap:\"wrap\",maxWidth:\"100%\",\"&-item\":{flex:\"none\",alignSelf:\"center\",maxWidth:\"100%\",display:\"inline-flex\"}},[`${Q}-selector`]:{display:\"flex\",flexWrap:\"wrap\",alignItems:\"center\",padding:`${ge-fr}px ${fr*2}px`,borderRadius:k.borderRadius,[`${Q}-show-search&`]:{cursor:\"text\"},[`${Q}-disabled&`]:{background:k.colorBgContainerDisabled,cursor:\"not-allowed\"},\"&:after\":{display:\"inline-block\",width:0,margin:`${fr}px 0`,lineHeight:`${U}px`,content:'\"\\\\a0\"'}},[`\n        &${Q}-show-arrow ${Q}-selector,\n        &${Q}-allow-clear ${Q}-selector\n      `]:{paddingInlineEnd:k.fontSizeIcon+k.controlPaddingHorizontal},[`${Q}-selection-item`]:{position:\"relative\",display:\"flex\",flex:\"none\",boxSizing:\"border-box\",maxWidth:\"100%\",height:U,marginTop:fr,marginBottom:fr,lineHeight:`${U-k.lineWidth*2}px`,background:k.colorFillSecondary,border:`${k.lineWidth}px solid ${k.colorSplit}`,borderRadius:k.borderRadiusSM,cursor:\"default\",transition:`font-size ${k.motionDurationSlow}, line-height ${k.motionDurationSlow}, height ${k.motionDurationSlow}`,userSelect:\"none\",marginInlineEnd:fr*2,paddingInlineStart:k.paddingXS,paddingInlineEnd:k.paddingXS/2,[`${Q}-disabled&`]:{color:k.colorTextDisabled,borderColor:k.colorBorder,cursor:\"not-allowed\"},\"&-content\":{display:\"inline-block\",marginInlineEnd:k.paddingXS/2,overflow:\"hidden\",whiteSpace:\"pre\",textOverflow:\"ellipsis\"},\"&-remove\":Object.assign(Object.assign({},(0,Si.Ro)()),{display:\"inline-block\",color:k.colorIcon,fontWeight:\"bold\",fontSize:10,lineHeight:\"inherit\",cursor:\"pointer\",[`> ${F}`]:{verticalAlign:\"-0.2em\"},\"&:hover\":{color:k.colorIconHover}})},[`${V}-item + ${V}-item`]:{[`${Q}-selection-search`]:{marginInlineStart:0}},[`${Q}-selection-search`]:{display:\"inline-flex\",position:\"relative\",maxWidth:\"100%\",marginInlineStart:k.inputPaddingHorizontalBase-ge,[`\n          &-input,\n          &-mirror\n        `]:{height:U,fontFamily:k.fontFamily,lineHeight:`${U}px`,transition:`all ${k.motionDurationSlow}`},\"&-input\":{width:\"100%\",minWidth:4.1},\"&-mirror\":{position:\"absolute\",top:0,insetInlineStart:0,insetInlineEnd:\"auto\",zIndex:999,whiteSpace:\"pre\",visibility:\"hidden\"}},[`${Q}-selection-placeholder `]:{position:\"absolute\",top:\"50%\",insetInlineStart:k.inputPaddingHorizontalBase,insetInlineEnd:k.inputPaddingHorizontalBase,transform:\"translateY(-50%)\",transition:`all ${k.motionDurationSlow}`}}}}function tn(k){const{componentCls:z}=k,Q=(0,Mo.TS)(k,{controlHeight:k.controlHeightSM,controlHeightSM:k.controlHeightXS,borderRadius:k.borderRadiusSM,borderRadiusSM:k.borderRadiusXS}),[,F]=ft(k);return[ct(k),ct(Q,\"sm\"),{[`${z}-multiple${z}-sm`]:{[`${z}-selection-placeholder`]:{insetInline:k.controlPaddingHorizontalSM-k.lineWidth},[`${z}-selection-search`]:{marginInlineStart:F}}},ct((0,Mo.TS)(k,{fontSize:k.fontSizeLG,controlHeight:k.controlHeightLG,controlHeightSM:k.controlHeight,borderRadius:k.borderRadiusLG,borderRadiusSM:k.borderRadius}),\"lg\")]}function An(k,z){const{componentCls:Q,inputPaddingHorizontalBase:F,borderRadius:V}=k,U=k.controlHeight-k.lineWidth*2,ge=Math.ceil(k.fontSize*1.25),ke=z?`${Q}-${z}`:\"\";return{[`${Q}-single${ke}`]:{fontSize:k.fontSize,[`${Q}-selector`]:Object.assign(Object.assign({},(0,Si.Wf)(k)),{display:\"flex\",borderRadius:V,[`${Q}-selection-search`]:{position:\"absolute\",top:0,insetInlineStart:F,insetInlineEnd:F,bottom:0,\"&-input\":{width:\"100%\"}},[`\n          ${Q}-selection-item,\n          ${Q}-selection-placeholder\n        `]:{padding:0,lineHeight:`${U}px`,transition:`all ${k.motionDurationSlow}`,\"@supports (-moz-appearance: meterbar)\":{lineHeight:`${U}px`}},[`${Q}-selection-item`]:{position:\"relative\",userSelect:\"none\"},[`${Q}-selection-placeholder`]:{transition:\"none\",pointerEvents:\"none\"},[[\"&:after\",`${Q}-selection-item:after`,`${Q}-selection-placeholder:after`].join(\",\")]:{display:\"inline-block\",width:0,visibility:\"hidden\",content:'\"\\\\a0\"'}}),[`\n        &${Q}-show-arrow ${Q}-selection-item,\n        &${Q}-show-arrow ${Q}-selection-placeholder\n      `]:{paddingInlineEnd:ge},[`&${Q}-open ${Q}-selection-item`]:{color:k.colorTextPlaceholder},[`&:not(${Q}-customize-input)`]:{[`${Q}-selector`]:{width:\"100%\",height:k.controlHeight,padding:`0 ${F}px`,[`${Q}-selection-search-input`]:{height:U},\"&:after\":{lineHeight:`${U}px`}}},[`&${Q}-customize-input`]:{[`${Q}-selector`]:{\"&:after\":{display:\"none\"},[`${Q}-selection-search`]:{position:\"static\",width:\"100%\"},[`${Q}-selection-placeholder`]:{position:\"absolute\",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${F}px`,\"&:after\":{display:\"none\"}}}}}}}function Rt(k){const{componentCls:z}=k,Q=k.controlPaddingHorizontalSM-k.lineWidth;return[An(k),An((0,Mo.TS)(k,{controlHeight:k.controlHeightSM,borderRadius:k.borderRadiusSM}),\"sm\"),{[`${z}-single${z}-sm`]:{[`&:not(${z}-customize-input)`]:{[`${z}-selection-search`]:{insetInlineStart:Q,insetInlineEnd:Q},[`${z}-selector`]:{padding:`0 ${Q}px`},[`&${z}-show-arrow ${z}-selection-search`]:{insetInlineEnd:Q+k.fontSize*1.5},[`\n            &${z}-show-arrow ${z}-selection-item,\n            &${z}-show-arrow ${z}-selection-placeholder\n          `]:{paddingInlineEnd:k.fontSize*1.5}}}},An((0,Mo.TS)(k,{controlHeight:k.controlHeightLG,fontSize:k.fontSizeLG,borderRadius:k.borderRadiusLG}),\"lg\")]}var un=c(36717);const Dn=k=>{const{componentCls:z}=k;return{position:\"relative\",backgroundColor:k.colorBgContainer,border:`${k.lineWidth}px ${k.lineType} ${k.colorBorder}`,transition:`all ${k.motionDurationMid} ${k.motionEaseInOut}`,input:{cursor:\"pointer\"},[`${z}-show-search&`]:{cursor:\"text\",input:{cursor:\"auto\",color:\"inherit\"}},[`${z}-disabled&`]:{color:k.colorTextDisabled,background:k.colorBgContainerDisabled,cursor:\"not-allowed\",[`${z}-multiple&`]:{background:k.colorBgContainerDisabled},input:{cursor:\"not-allowed\"}}}},dr=function(k,z){let Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:F,borderHoverColor:V,outlineColor:U,antCls:ge}=z,ke=Q?{[`${F}-selector`]:{borderColor:V}}:{};return{[k]:{[`&:not(${F}-disabled):not(${F}-customize-input):not(${ge}-pagination-size-changer)`]:Object.assign(Object.assign({},ke),{[`${F}-focused& ${F}-selector`]:{borderColor:V,boxShadow:`0 0 0 ${z.controlOutlineWidth}px ${U}`,outline:0},[`&:hover ${F}-selector`]:{borderColor:V}})}}},Ar=k=>{const{componentCls:z}=k;return{[`${z}-selection-search-input`]:{margin:0,padding:0,background:\"transparent\",border:\"none\",outline:\"none\",appearance:\"none\",\"&::-webkit-search-cancel-button\":{display:\"none\",\"-webkit-appearance\":\"none\"}}}},Gr=k=>{const{componentCls:z,inputPaddingHorizontalBase:Q,iconCls:F}=k;return{[z]:Object.assign(Object.assign({},(0,Si.Wf)(k)),{position:\"relative\",display:\"inline-block\",cursor:\"pointer\",[`&:not(${z}-customize-input) ${z}-selector`]:Object.assign(Object.assign({},Dn(k)),Ar(k)),[`${z}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:\"normal\"},Si.vS),{\"> *\":Object.assign({lineHeight:\"inherit\"},Si.vS)}),[`${z}-selection-placeholder`]:Object.assign(Object.assign({},Si.vS),{flex:1,color:k.colorTextPlaceholder,pointerEvents:\"none\"}),[`${z}-arrow`]:Object.assign(Object.assign({},(0,Si.Ro)()),{position:\"absolute\",top:\"50%\",insetInlineStart:\"auto\",insetInlineEnd:Q,height:k.fontSizeIcon,marginTop:-k.fontSizeIcon/2,color:k.colorTextQuaternary,fontSize:k.fontSizeIcon,lineHeight:1,textAlign:\"center\",pointerEvents:\"none\",display:\"flex\",alignItems:\"center\",[F]:{verticalAlign:\"top\",transition:`transform ${k.motionDurationSlow}`,\"> svg\":{verticalAlign:\"top\"},[`&:not(${z}-suffix)`]:{pointerEvents:\"auto\"}},[`${z}-disabled &`]:{cursor:\"not-allowed\"},\"> *:not(:last-child)\":{marginInlineEnd:8}}),[`${z}-clear`]:{position:\"absolute\",top:\"50%\",insetInlineStart:\"auto\",insetInlineEnd:Q,zIndex:1,display:\"inline-block\",width:k.fontSizeIcon,height:k.fontSizeIcon,marginTop:-k.fontSizeIcon/2,color:k.colorTextQuaternary,fontSize:k.fontSizeIcon,fontStyle:\"normal\",lineHeight:1,textAlign:\"center\",textTransform:\"none\",background:k.colorBgContainer,cursor:\"pointer\",opacity:0,transition:`color ${k.motionDurationMid} ease, opacity ${k.motionDurationSlow} ease`,textRendering:\"auto\",\"&:before\":{display:\"block\"},\"&:hover\":{color:k.colorTextTertiary}},\"&:hover\":{[`${z}-clear`]:{opacity:1}}}),[`${z}-has-feedback`]:{[`${z}-clear`]:{insetInlineEnd:Q+k.fontSize+k.paddingXXS}}}},Pr=k=>{const{componentCls:z}=k;return[{[z]:{[`&-borderless ${z}-selector`]:{backgroundColor:\"transparent !important\",borderColor:\"transparent !important\",boxShadow:\"none !important\"},[`&${z}-in-form-item`]:{width:\"100%\"}}},Gr(k),Rt(k),tn(k),mn(k),{[`${z}-rtl`]:{direction:\"rtl\"}},dr(z,(0,Mo.TS)(k,{borderHoverColor:k.colorPrimaryHover,outlineColor:k.controlOutline})),dr(`${z}-status-error`,(0,Mo.TS)(k,{borderHoverColor:k.colorErrorHover,outlineColor:k.colorErrorOutline}),!0),dr(`${z}-status-warning`,(0,Mo.TS)(k,{borderHoverColor:k.colorWarningHover,outlineColor:k.colorWarningOutline}),!0),(0,un.c)(k,{borderElCls:`${z}-selector`,focusElCls:`${z}-focused`})]};var Xr=(0,Co.Z)(\"Select\",(k,z)=>{let{rootPrefixCls:Q}=z;const F=(0,Mo.TS)(k,{rootPrefixCls:Q,inputPaddingHorizontalBase:k.paddingSM-1});return[Pr(F)]},k=>({zIndexPopup:k.zIndexPopupBase+50}));function oo(k){return k!=null?k:!0}var io=function(k,z){var Q={};for(var F in k)Object.prototype.hasOwnProperty.call(k,F)&&z.indexOf(F)<0&&(Q[F]=k[F]);if(k!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var V=0,F=Object.getOwnPropertySymbols(k);V<F.length;V++)z.indexOf(F[V])<0&&Object.prototype.propertyIsEnumerable.call(k,F[V])&&(Q[F[V]]=k[F[V]]);return Q};const to=\"SECRET_COMBOBOX_MODE_DO_NOT_USE\",To=(k,z)=>{var{prefixCls:Q,bordered:F=!0,className:V,rootClassName:U,getPopupContainer:ge,popupClassName:ke,dropdownClassName:St,listHeight:Je=256,placement:Ot,listItemHeight:It=24,size:jt,disabled:Vt,notFoundContent:Pn,status:Jn,showArrow:vn}=k,Vn=io(k,[\"prefixCls\",\"bordered\",\"className\",\"rootClassName\",\"getPopupContainer\",\"popupClassName\",\"dropdownClassName\",\"listHeight\",\"placement\",\"listItemHeight\",\"size\",\"disabled\",\"notFoundContent\",\"status\",\"showArrow\"]);const{getPopupContainer:zt,getPrefixCls:ir,renderEmpty:nr,direction:ur,virtual:sr,dropdownMatchSelectWidth:Ln,select:Bt}=h.useContext(wi.E_),En=h.useContext(Re.Z),_n=ir(\"select\",Q),cr=ir(),{compactSize:ao,compactItemClassnames:kr}=(0,No.ri)(_n,ur),[jo,ui]=Xr(_n),Vr=h.useMemo(()=>{const{mode:Oa}=Vn;if(Oa!==\"combobox\")return Oa===to?\"combobox\":Oa},[Vn.mode]),ho=Vr===\"multiple\"||Vr===\"tags\",vo=oo(vn),{status:uo,hasFeedback:Go,isFormItemInput:Pi,feedbackIcon:la}=h.useContext(je.aM),Vi=(0,rt.F)(uo,Jn);let ha;Pn!==void 0?ha=Pn:Vr===\"combobox\"?ha=null:ha=(nr==null?void 0:nr(\"Select\"))||h.createElement(zi,{componentName:\"Select\"});const{suffixIcon:xa,itemIcon:qi,removeIcon:Jo,clearIcon:Ji}=_o(Object.assign(Object.assign({},Vn),{multiple:ho,hasFeedback:Go,feedbackIcon:la,showArrow:vo,prefixCls:_n})),Yi=(0,Zt.Z)(Vn,[\"suffixIcon\",\"itemIcon\"]),Ii=y()(ke||St,{[`${_n}-dropdown-${ur}`]:ur===\"rtl\"},U,ui),pa=ao||jt||En,na=h.useContext(br.Z),$i=Vt!=null?Vt:na,La=y()({[`${_n}-lg`]:pa===\"large\",[`${_n}-sm`]:pa===\"small\",[`${_n}-rtl`]:ur===\"rtl\",[`${_n}-borderless`]:!F,[`${_n}-in-form-item`]:Pi},(0,rt.Z)(_n,Vi,Go),kr,V,U,ui),ss=()=>Ot!==void 0?Ot:ur===\"rtl\"?\"bottomRight\":\"bottomLeft\";return jo(h.createElement(Ti,Object.assign({ref:z,virtual:sr,dropdownMatchSelectWidth:Ln,showSearch:Bt==null?void 0:Bt.showSearch},Yi,{transitionName:(0,nt.mL)(cr,(0,nt.q0)(Ot),Vn.transitionName),listHeight:Je,listItemHeight:It,mode:Vr,prefixCls:_n,placement:ss(),direction:ur,inputIcon:xa,menuItemSelectedIcon:qi,removeIcon:Jo,clearIcon:Ji,notFoundContent:ha,className:La,getPopupContainer:ge||zt,dropdownClassName:Ii,showArrow:Go||vo,disabled:$i})))},jn=h.forwardRef(To),W=(0,ii.Z)(jn);jn.SECRET_COMBOBOX_MODE_DO_NOT_USE=to,jn.Option=Gt,jn.OptGroup=Ur,jn._InternalPanelDoNotUseOrYouWillBeFired=W;var P=jn},2315:function(Pt,Ee,c){\"use strict\";c.d(Ee,{BR:function(){return a},ri:function(){return u}});var r=c(84875),y=c.n(r),N=c(16030),C=c(50959),w=c(35531),O=c(95511),b=function(l,s){var m={};for(var x in l)Object.prototype.hasOwnProperty.call(l,x)&&s.indexOf(x)<0&&(m[x]=l[x]);if(l!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var M=0,x=Object.getOwnPropertySymbols(l);M<x.length;M++)s.indexOf(x[M])<0&&Object.prototype.propertyIsEnumerable.call(l,x[M])&&(m[x[M]]=l[x[M]]);return m};const p=C.createContext(null),u=(l,s)=>{const m=C.useContext(p),x=C.useMemo(()=>{if(!m)return\"\";const{compactDirection:M,isFirstItem:E,isLastItem:j}=m,L=M===\"vertical\"?\"-vertical-\":\"-\";return y()({[`${l}-compact${L}item`]:!0,[`${l}-compact${L}first-item`]:E,[`${l}-compact${L}last-item`]:j,[`${l}-compact${L}item-rtl`]:s===\"rtl\"})},[l,s,m]);return{compactSize:m==null?void 0:m.compactSize,compactDirection:m==null?void 0:m.compactDirection,compactItemClassnames:x}},a=l=>{let{children:s}=l;return C.createElement(p.Provider,{value:null},s)},f=l=>{var{children:s}=l,m=b(l,[\"children\"]);return C.createElement(p.Provider,{value:m},s)},h=l=>{const{getPrefixCls:s,direction:m}=C.useContext(w.E_),{size:x=\"middle\",direction:M,block:E,prefixCls:j,className:L,rootClassName:A,children:J}=l,q=b(l,[\"size\",\"direction\",\"block\",\"prefixCls\",\"className\",\"rootClassName\",\"children\"]),re=s(\"space-compact\",j),[me,Te]=(0,O.Z)(re),ee=y()(re,Te,{[`${re}-rtl`]:m===\"rtl\",[`${re}-block`]:E,[`${re}-vertical`]:M===\"vertical\"},L,A),xe=C.useContext(p),Ie=(0,N.Z)(J),Le=C.useMemo(()=>Ie.map((De,ce)=>{const ye=De&&De.key||`${re}-item-${ce}`;return C.createElement(f,{key:ye,compactSize:x,compactDirection:M,isFirstItem:ce===0&&(!xe||(xe==null?void 0:xe.isFirstItem)),isLastItem:ce===Ie.length-1&&(!xe||(xe==null?void 0:xe.isLastItem))},De)}),[x,Ie,xe]);return Ie.length===0?null:me(C.createElement(\"div\",Object.assign({className:ee},q),Le))};Ee.ZP=h},95511:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return w}});var r=c(72267),N=O=>{const{componentCls:b}=O;return{[b]:{display:\"inline-flex\",\"&-block\":{display:\"flex\",width:\"100%\"},\"&-vertical\":{flexDirection:\"column\"}}}};const C=O=>{const{componentCls:b}=O;return{[b]:{display:\"inline-flex\",\"&-rtl\":{direction:\"rtl\"},\"&-vertical\":{flexDirection:\"column\"},\"&-align\":{flexDirection:\"column\",\"&-center\":{alignItems:\"center\"},\"&-start\":{alignItems:\"flex-start\"},\"&-end\":{alignItems:\"flex-end\"},\"&-baseline\":{alignItems:\"baseline\"}},[`${b}-item`]:{\"&:empty\":{display:\"none\"}}}}};var w=(0,r.Z)(\"Space\",O=>[C(O),N(O)])},36717:function(Pt,Ee,c){\"use strict\";c.d(Ee,{c:function(){return N}});function r(C,w,O){const{focusElCls:b,focus:p,borderElCls:u}=O,a=u?\"> *\":\"\",f=[\"hover\",p?\"focus\":null,\"active\"].filter(Boolean).map(h=>`&:${h} ${a}`).join(\",\");return{[`&-item:not(${w}-last-item)`]:{marginInlineEnd:-C.lineWidth},\"&-item\":Object.assign(Object.assign({[f]:{zIndex:2}},b?{[`&${b}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}function y(C,w,O){const{borderElCls:b}=O,p=b?`> ${b}`:\"\";return{[`&-item:not(${w}-first-item):not(${w}-last-item) ${p}`]:{borderRadius:0},[`&-item:not(${w}-last-item)${w}-first-item`]:{[`& ${p}, &${C}-sm ${p}, &${C}-lg ${p}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${w}-first-item)${w}-last-item`]:{[`& ${p}, &${C}-sm ${p}, &${C}-lg ${p}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function N(C){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:O}=C,b=`${O}-compact`;return{[b]:Object.assign(Object.assign({},r(C,b,w)),y(O,b,w))}}},92220:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Lx:function(){return w},Qy:function(){return p},Ro:function(){return N},Wf:function(){return y},dF:function(){return C},du:function(){return O},oN:function(){return b},vS:function(){return r}});const r={overflow:\"hidden\",whiteSpace:\"nowrap\",textOverflow:\"ellipsis\"},y=u=>({boxSizing:\"border-box\",margin:0,padding:0,color:u.colorText,fontSize:u.fontSize,lineHeight:u.lineHeight,listStyle:\"none\",fontFamily:u.fontFamily}),N=()=>({display:\"inline-flex\",alignItems:\"center\",color:\"inherit\",fontStyle:\"normal\",lineHeight:0,textAlign:\"center\",textTransform:\"none\",verticalAlign:\"-0.125em\",textRendering:\"optimizeLegibility\",\"-webkit-font-smoothing\":\"antialiased\",\"-moz-osx-font-smoothing\":\"grayscale\",\"> *\":{lineHeight:1},svg:{display:\"inline-block\"}}),C=()=>({\"&::before\":{display:\"table\",content:'\"\"'},\"&::after\":{display:\"table\",clear:\"both\",content:'\"\"'}}),w=u=>({a:{color:u.colorLink,textDecoration:u.linkDecoration,backgroundColor:\"transparent\",outline:\"none\",cursor:\"pointer\",transition:`color ${u.motionDurationSlow}`,\"-webkit-text-decoration-skip\":\"objects\",\"&:hover\":{color:u.colorLinkHover},\"&:active\":{color:u.colorLinkActive},[`&:active,\n  &:hover`]:{textDecoration:u.linkHoverDecoration,outline:0},\"&:focus\":{textDecoration:u.linkFocusDecoration,outline:0},\"&[disabled]\":{color:u.colorTextDisabled,cursor:\"not-allowed\"}}}),O=(u,a)=>{const{fontFamily:f,fontSize:h}=u,l=`[class^=\"${a}\"], [class*=\" ${a}\"]`;return{[l]:{fontFamily:f,fontSize:h,boxSizing:\"border-box\",\"&::before, &::after\":{boxSizing:\"border-box\"},[l]:{boxSizing:\"border-box\",\"&::before, &::after\":{boxSizing:\"border-box\"}}}}},b=u=>({outline:`${u.lineWidthFocus}px solid ${u.colorPrimaryBorder}`,outlineOffset:1,transition:\"outline-offset 0s, outline 0s\"}),p=u=>({\"&:focus-visible\":Object.assign({},b(u))})},74820:function(Pt,Ee){\"use strict\";const c=r=>({[r.componentCls]:{[`${r.antCls}-motion-collapse-legacy`]:{overflow:\"hidden\",\"&-active\":{transition:`height ${r.motionDurationMid} ${r.motionEaseInOut},\n        opacity ${r.motionDurationMid} ${r.motionEaseInOut} !important`}},[`${r.antCls}-motion-collapse`]:{overflow:\"hidden\",transition:`height ${r.motionDurationMid} ${r.motionEaseInOut},\n        opacity ${r.motionDurationMid} ${r.motionEaseInOut} !important`}}});Ee.Z=c},13884:function(Pt,Ee,c){\"use strict\";c.d(Ee,{R:function(){return N}});const r=C=>({animationDuration:C,animationFillMode:\"both\"}),y=C=>({animationDuration:C,animationFillMode:\"both\"}),N=function(C,w,O,b){const u=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?\"&\":\"\";return{[`\n      ${u}${C}-enter,\n      ${u}${C}-appear\n    `]:Object.assign(Object.assign({},r(b)),{animationPlayState:\"paused\"}),[`${u}${C}-leave`]:Object.assign(Object.assign({},y(b)),{animationPlayState:\"paused\"}),[`\n      ${u}${C}-enter${C}-enter-active,\n      ${u}${C}-appear${C}-appear-active\n    `]:{animationName:w,animationPlayState:\"running\"},[`${u}${C}-leave${C}-leave-active`]:{animationName:O,animationPlayState:\"running\",pointerEvents:\"none\"}}}},67804:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Fm:function(){return h}});var r=c(8439),y=c(13884);const N=new r.E4(\"antMoveDownIn\",{\"0%\":{transform:\"translate3d(0, 100%, 0)\",transformOrigin:\"0 0\",opacity:0},\"100%\":{transform:\"translate3d(0, 0, 0)\",transformOrigin:\"0 0\",opacity:1}}),C=new r.E4(\"antMoveDownOut\",{\"0%\":{transform:\"translate3d(0, 0, 0)\",transformOrigin:\"0 0\",opacity:1},\"100%\":{transform:\"translate3d(0, 100%, 0)\",transformOrigin:\"0 0\",opacity:0}}),w=new r.E4(\"antMoveLeftIn\",{\"0%\":{transform:\"translate3d(-100%, 0, 0)\",transformOrigin:\"0 0\",opacity:0},\"100%\":{transform:\"translate3d(0, 0, 0)\",transformOrigin:\"0 0\",opacity:1}}),O=new r.E4(\"antMoveLeftOut\",{\"0%\":{transform:\"translate3d(0, 0, 0)\",transformOrigin:\"0 0\",opacity:1},\"100%\":{transform:\"translate3d(-100%, 0, 0)\",transformOrigin:\"0 0\",opacity:0}}),b=new r.E4(\"antMoveRightIn\",{\"0%\":{transform:\"translate3d(100%, 0, 0)\",transformOrigin:\"0 0\",opacity:0},\"100%\":{transform:\"translate3d(0, 0, 0)\",transformOrigin:\"0 0\",opacity:1}}),p=new r.E4(\"antMoveRightOut\",{\"0%\":{transform:\"translate3d(0, 0, 0)\",transformOrigin:\"0 0\",opacity:1},\"100%\":{transform:\"translate3d(100%, 0, 0)\",transformOrigin:\"0 0\",opacity:0}}),u=new r.E4(\"antMoveUpIn\",{\"0%\":{transform:\"translate3d(0, -100%, 0)\",transformOrigin:\"0 0\",opacity:0},\"100%\":{transform:\"translate3d(0, 0, 0)\",transformOrigin:\"0 0\",opacity:1}}),a=new r.E4(\"antMoveUpOut\",{\"0%\":{transform:\"translate3d(0, 0, 0)\",transformOrigin:\"0 0\",opacity:1},\"100%\":{transform:\"translate3d(0, -100%, 0)\",transformOrigin:\"0 0\",opacity:0}}),f={\"move-up\":{inKeyframes:u,outKeyframes:a},\"move-down\":{inKeyframes:N,outKeyframes:C},\"move-left\":{inKeyframes:w,outKeyframes:O},\"move-right\":{inKeyframes:b,outKeyframes:p}},h=(l,s)=>{const{antCls:m}=l,x=`${m}-${s}`,{inKeyframes:M,outKeyframes:E}=f[s];return[(0,y.R)(x,M,E,l.motionDurationMid),{[`\n        ${x}-enter,\n        ${x}-appear\n      `]:{opacity:0,animationTimingFunction:l.motionEaseOutCirc},[`${x}-leave`]:{animationTimingFunction:l.motionEaseInOutCirc}}]}},38717:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Qt:function(){return w},Uw:function(){return C},fJ:function(){return N},ly:function(){return O},oN:function(){return h}});var r=c(8439),y=c(13884);const N=new r.E4(\"antSlideUpIn\",{\"0%\":{transform:\"scaleY(0.8)\",transformOrigin:\"0% 0%\",opacity:0},\"100%\":{transform:\"scaleY(1)\",transformOrigin:\"0% 0%\",opacity:1}}),C=new r.E4(\"antSlideUpOut\",{\"0%\":{transform:\"scaleY(1)\",transformOrigin:\"0% 0%\",opacity:1},\"100%\":{transform:\"scaleY(0.8)\",transformOrigin:\"0% 0%\",opacity:0}}),w=new r.E4(\"antSlideDownIn\",{\"0%\":{transform:\"scaleY(0.8)\",transformOrigin:\"100% 100%\",opacity:0},\"100%\":{transform:\"scaleY(1)\",transformOrigin:\"100% 100%\",opacity:1}}),O=new r.E4(\"antSlideDownOut\",{\"0%\":{transform:\"scaleY(1)\",transformOrigin:\"100% 100%\",opacity:1},\"100%\":{transform:\"scaleY(0.8)\",transformOrigin:\"100% 100%\",opacity:0}}),b=new r.E4(\"antSlideLeftIn\",{\"0%\":{transform:\"scaleX(0.8)\",transformOrigin:\"0% 0%\",opacity:0},\"100%\":{transform:\"scaleX(1)\",transformOrigin:\"0% 0%\",opacity:1}}),p=new r.E4(\"antSlideLeftOut\",{\"0%\":{transform:\"scaleX(1)\",transformOrigin:\"0% 0%\",opacity:1},\"100%\":{transform:\"scaleX(0.8)\",transformOrigin:\"0% 0%\",opacity:0}}),u=new r.E4(\"antSlideRightIn\",{\"0%\":{transform:\"scaleX(0.8)\",transformOrigin:\"100% 0%\",opacity:0},\"100%\":{transform:\"scaleX(1)\",transformOrigin:\"100% 0%\",opacity:1}}),a=new r.E4(\"antSlideRightOut\",{\"0%\":{transform:\"scaleX(1)\",transformOrigin:\"100% 0%\",opacity:1},\"100%\":{transform:\"scaleX(0.8)\",transformOrigin:\"100% 0%\",opacity:0}}),f={\"slide-up\":{inKeyframes:N,outKeyframes:C},\"slide-down\":{inKeyframes:w,outKeyframes:O},\"slide-left\":{inKeyframes:b,outKeyframes:p},\"slide-right\":{inKeyframes:u,outKeyframes:a}},h=(l,s)=>{const{antCls:m}=l,x=`${m}-${s}`,{inKeyframes:M,outKeyframes:E}=f[s];return[(0,y.R)(x,M,E,l.motionDurationMid),{[`\n      ${x}-enter,\n      ${x}-appear\n    `]:{transform:\"scale(0)\",transformOrigin:\"0% 0%\",opacity:0,animationTimingFunction:l.motionEaseOutQuint,[\"&-prepare\"]:{transform:\"scale(1)\"}},[`${x}-leave`]:{animationTimingFunction:l.motionEaseInQuint}}]}},40949:function(Pt,Ee,c){\"use strict\";c.d(Ee,{_y:function(){return x}});var r=c(8439),y=c(13884);const N=new r.E4(\"antZoomIn\",{\"0%\":{transform:\"scale(0.2)\",opacity:0},\"100%\":{transform:\"scale(1)\",opacity:1}}),C=new r.E4(\"antZoomOut\",{\"0%\":{transform:\"scale(1)\"},\"100%\":{transform:\"scale(0.2)\",opacity:0}}),w=new r.E4(\"antZoomBigIn\",{\"0%\":{transform:\"scale(0.8)\",opacity:0},\"100%\":{transform:\"scale(1)\",opacity:1}}),O=new r.E4(\"antZoomBigOut\",{\"0%\":{transform:\"scale(1)\"},\"100%\":{transform:\"scale(0.8)\",opacity:0}}),b=new r.E4(\"antZoomUpIn\",{\"0%\":{transform:\"scale(0.8)\",transformOrigin:\"50% 0%\",opacity:0},\"100%\":{transform:\"scale(1)\",transformOrigin:\"50% 0%\"}}),p=new r.E4(\"antZoomUpOut\",{\"0%\":{transform:\"scale(1)\",transformOrigin:\"50% 0%\"},\"100%\":{transform:\"scale(0.8)\",transformOrigin:\"50% 0%\",opacity:0}}),u=new r.E4(\"antZoomLeftIn\",{\"0%\":{transform:\"scale(0.8)\",transformOrigin:\"0% 50%\",opacity:0},\"100%\":{transform:\"scale(1)\",transformOrigin:\"0% 50%\"}}),a=new r.E4(\"antZoomLeftOut\",{\"0%\":{transform:\"scale(1)\",transformOrigin:\"0% 50%\"},\"100%\":{transform:\"scale(0.8)\",transformOrigin:\"0% 50%\",opacity:0}}),f=new r.E4(\"antZoomRightIn\",{\"0%\":{transform:\"scale(0.8)\",transformOrigin:\"100% 50%\",opacity:0},\"100%\":{transform:\"scale(1)\",transformOrigin:\"100% 50%\"}}),h=new r.E4(\"antZoomRightOut\",{\"0%\":{transform:\"scale(1)\",transformOrigin:\"100% 50%\"},\"100%\":{transform:\"scale(0.8)\",transformOrigin:\"100% 50%\",opacity:0}}),l=new r.E4(\"antZoomDownIn\",{\"0%\":{transform:\"scale(0.8)\",transformOrigin:\"50% 100%\",opacity:0},\"100%\":{transform:\"scale(1)\",transformOrigin:\"50% 100%\"}}),s=new r.E4(\"antZoomDownOut\",{\"0%\":{transform:\"scale(1)\",transformOrigin:\"50% 100%\"},\"100%\":{transform:\"scale(0.8)\",transformOrigin:\"50% 100%\",opacity:0}}),m={zoom:{inKeyframes:N,outKeyframes:C},\"zoom-big\":{inKeyframes:w,outKeyframes:O},\"zoom-big-fast\":{inKeyframes:w,outKeyframes:O},\"zoom-left\":{inKeyframes:u,outKeyframes:a},\"zoom-right\":{inKeyframes:f,outKeyframes:h},\"zoom-up\":{inKeyframes:b,outKeyframes:p},\"zoom-down\":{inKeyframes:l,outKeyframes:s}},x=(M,E)=>{const{antCls:j}=M,L=`${j}-${E}`,{inKeyframes:A,outKeyframes:J}=m[E];return[(0,y.R)(L,A,J,E===\"zoom-big-fast\"?M.motionDurationFast:M.motionDurationMid),{[`\n        ${L}-enter,\n        ${L}-appear\n      `]:{transform:\"scale(0)\",opacity:0,animationTimingFunction:M.motionEaseOutCirc,\"&-prepare\":{transform:\"none\"}},[`${L}-leave`]:{animationTimingFunction:M.motionEaseInOutCirc}}]}},58917:function(Pt,Ee,c){\"use strict\";c.d(Ee,{qN:function(){return y},ZP:function(){return w},fS:function(){return N}});const r=(O,b,p,u,a)=>{const f=O/2,h=0,l=f,s=p*1/Math.sqrt(2),m=f-p*(1-1/Math.sqrt(2)),x=f-b*(1/Math.sqrt(2)),M=p*(Math.sqrt(2)-1)+b*(1/Math.sqrt(2)),E=2*f-x,j=M,L=2*f-s,A=m,J=2*f-h,q=l,re=f*Math.sqrt(2)+p*(Math.sqrt(2)-2);return{pointerEvents:\"none\",width:O,height:O,overflow:\"hidden\",\"&::before\":{position:\"absolute\",bottom:0,insetInlineStart:0,width:O,height:O/2,background:u,clipPath:`path('M ${h} ${l} A ${p} ${p} 0 0 0 ${s} ${m} L ${x} ${M} A ${b} ${b} 0 0 1 ${E} ${j} L ${L} ${A} A ${p} ${p} 0 0 0 ${J} ${q} Z')`,content:'\"\"'},\"&::after\":{content:'\"\"',position:\"absolute\",width:re,height:re,bottom:0,insetInline:0,margin:\"auto\",borderRadius:{_skip_check_:!0,value:`0 0 ${b}px 0`},transform:\"translateY(50%) rotate(-135deg)\",boxShadow:a,zIndex:0,background:\"transparent\"}}},y=8;function N(O){const b=y,{contentRadius:p,limitVerticalRadius:u}=O,a=p>12?p+2:12;return{dropdownArrowOffset:a,dropdownArrowOffsetVertical:u?b:a}}function C(O,b){return O?b:{}}function w(O,b){const{componentCls:p,sizePopupArrow:u,borderRadiusXS:a,borderRadiusOuter:f,boxShadowPopoverArrow:h}=O,{colorBg:l,contentRadius:s=O.borderRadiusLG,limitVerticalRadius:m,arrowDistance:x=0,arrowPlacement:M={left:!0,right:!0,top:!0,bottom:!0}}=b,{dropdownArrowOffsetVertical:E,dropdownArrowOffset:j}=N({contentRadius:s,limitVerticalRadius:m});return{[p]:Object.assign(Object.assign(Object.assign(Object.assign({[`${p}-arrow`]:[Object.assign(Object.assign({position:\"absolute\",zIndex:1,display:\"block\"},r(u,a,f,l,h)),{\"&:before\":{background:l}})]},C(!!M.top,{[[`&-placement-top ${p}-arrow`,`&-placement-topLeft ${p}-arrow`,`&-placement-topRight ${p}-arrow`].join(\",\")]:{bottom:x,transform:\"translateY(100%) rotate(180deg)\"},[`&-placement-top ${p}-arrow`]:{left:{_skip_check_:!0,value:\"50%\"},transform:\"translateX(-50%) translateY(100%) rotate(180deg)\"},[`&-placement-topLeft ${p}-arrow`]:{left:{_skip_check_:!0,value:j}},[`&-placement-topRight ${p}-arrow`]:{right:{_skip_check_:!0,value:j}}})),C(!!M.bottom,{[[`&-placement-bottom ${p}-arrow`,`&-placement-bottomLeft ${p}-arrow`,`&-placement-bottomRight ${p}-arrow`].join(\",\")]:{top:x,transform:\"translateY(-100%)\"},[`&-placement-bottom ${p}-arrow`]:{left:{_skip_check_:!0,value:\"50%\"},transform:\"translateX(-50%) translateY(-100%)\"},[`&-placement-bottomLeft ${p}-arrow`]:{left:{_skip_check_:!0,value:j}},[`&-placement-bottomRight ${p}-arrow`]:{right:{_skip_check_:!0,value:j}}})),C(!!M.left,{[[`&-placement-left ${p}-arrow`,`&-placement-leftTop ${p}-arrow`,`&-placement-leftBottom ${p}-arrow`].join(\",\")]:{right:{_skip_check_:!0,value:x},transform:\"translateX(100%) rotate(90deg)\"},[`&-placement-left ${p}-arrow`]:{top:{_skip_check_:!0,value:\"50%\"},transform:\"translateY(-50%) translateX(100%) rotate(90deg)\"},[`&-placement-leftTop ${p}-arrow`]:{top:E},[`&-placement-leftBottom ${p}-arrow`]:{bottom:E}})),C(!!M.right,{[[`&-placement-right ${p}-arrow`,`&-placement-rightTop ${p}-arrow`,`&-placement-rightBottom ${p}-arrow`].join(\",\")]:{left:{_skip_check_:!0,value:x},transform:\"translateX(-100%) rotate(-90deg)\"},[`&-placement-right ${p}-arrow`]:{top:{_skip_check_:!0,value:\"50%\"},transform:\"translateY(-50%) translateX(-100%) rotate(-90deg)\"},[`&-placement-rightTop ${p}-arrow`]:{top:E},[`&-placement-rightBottom ${p}-arrow`]:{bottom:E}}))}}},28628:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return j}});var r=c(25990),y=c(71704),N=c(81548),C=c(58526),w=c(98069),O=c(99590);const b=(L,A)=>new O.C(L).setAlpha(A).toRgbString(),p=(L,A)=>new O.C(L).lighten(A).toHexString(),u=L=>{const A=(0,N.R_)(L,{theme:\"dark\"});return{1:A[0],2:A[1],3:A[2],4:A[3],5:A[6],6:A[5],7:A[4],8:A[6],9:A[5],10:A[4]}},a=(L,A)=>{const J=L||\"#000\",q=A||\"#fff\";return{colorBgBase:J,colorTextBase:q,colorText:b(q,.85),colorTextSecondary:b(q,.65),colorTextTertiary:b(q,.45),colorTextQuaternary:b(q,.25),colorFill:b(q,.18),colorFillSecondary:b(q,.12),colorFillTertiary:b(q,.08),colorFillQuaternary:b(q,.04),colorBgElevated:p(J,12),colorBgContainer:p(J,8),colorBgLayout:p(J,0),colorBgSpotlight:p(J,26),colorBorder:p(J,26),colorBorderSecondary:p(J,19)}};var h=(L,A)=>{const J=Object.keys(C.M).map(re=>{const me=(0,N.R_)(L[re],{theme:\"dark\"});return new Array(10).fill(1).reduce((Te,ee,xe)=>(Te[`${re}-${xe+1}`]=me[xe],Te[`${re}${xe+1}`]=me[xe],Te),{})}).reduce((re,me)=>(re=Object.assign(Object.assign({},re),me),re),{}),q=A!=null?A:(0,y.Z)(L);return Object.assign(Object.assign(Object.assign({},q),J),(0,w.Z)(L,{generateColorPalettes:u,generateNeutralColorPalettes:a}))},l=c(36216);function s(L){const{sizeUnit:A,sizeStep:J}=L,q=J-2;return{sizeXXL:A*(q+10),sizeXL:A*(q+6),sizeLG:A*(q+2),sizeMD:A*(q+2),sizeMS:A*(q+1),size:A*q,sizeSM:A*q,sizeXS:A*(q-1),sizeXXS:A*(q-1)}}var m=c(37154),M=(L,A)=>{const J=A!=null?A:(0,y.Z)(L),q=J.fontSizeSM,re=J.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},J),s(A!=null?A:L)),(0,m.Z)(q)),{controlHeight:re}),(0,l.Z)(Object.assign(Object.assign({},J),{controlHeight:re})))};function E(){const[L,A,J]=(0,r.dQ)();return{theme:L,token:A,hashId:J}}var j={defaultConfig:r.u_,defaultSeed:r.u_.token,useToken:E,defaultAlgorithm:y.Z,darkAlgorithm:h,compactAlgorithm:M}},35697:function(Pt,Ee,c){\"use strict\";c.d(Ee,{i:function(){return r}});const r=[\"blue\",\"purple\",\"cyan\",\"green\",\"magenta\",\"pink\",\"red\",\"orange\",\"yellow\",\"volcano\",\"geekblue\",\"lime\",\"gold\"]},25990:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Mj:function(){return m},u_:function(){return s},dQ:function(){return x}});var r=c(8439),y=c(50959),N=\"5.3.2\",C=N,w=c(71704),O=c(58526),b=c(99590);function p(M){return M>=0&&M<=255}function u(M,E){const{r:j,g:L,b:A,a:J}=new b.C(M).toRgb();if(J<1)return M;const{r:q,g:re,b:me}=new b.C(E).toRgb();for(let Te=.01;Te<=1;Te+=.01){const ee=Math.round((j-q*(1-Te))/Te),xe=Math.round((L-re*(1-Te))/Te),Ie=Math.round((A-me*(1-Te))/Te);if(p(ee)&&p(xe)&&p(Ie))return new b.C({r:ee,g:xe,b:Ie,a:Math.round(Te*100)/100}).toRgbString()}return new b.C({r:j,g:L,b:A,a:1}).toRgbString()}var a=u,f=function(M,E){var j={};for(var L in M)Object.prototype.hasOwnProperty.call(M,L)&&E.indexOf(L)<0&&(j[L]=M[L]);if(M!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var A=0,L=Object.getOwnPropertySymbols(M);A<L.length;A++)E.indexOf(L[A])<0&&Object.prototype.propertyIsEnumerable.call(M,L[A])&&(j[L[A]]=M[L[A]]);return j};function h(M){const{override:E}=M,j=f(M,[\"override\"]),L=Object.assign({},E);Object.keys(O.Z).forEach(Ie=>{delete L[Ie]});const A=Object.assign(Object.assign({},j),L),J=480,q=576,re=768,me=992,Te=1200,ee=1600;return Object.assign(Object.assign(Object.assign({},A),{colorLink:A.colorInfoText,colorLinkHover:A.colorInfoHover,colorLinkActive:A.colorInfoActive,colorFillContent:A.colorFillSecondary,colorFillContentHover:A.colorFill,colorFillAlter:A.colorFillQuaternary,colorBgContainerDisabled:A.colorFillTertiary,colorBorderBg:A.colorBgContainer,colorSplit:a(A.colorBorderSecondary,A.colorBgContainer),colorTextPlaceholder:A.colorTextQuaternary,colorTextDisabled:A.colorTextQuaternary,colorTextHeading:A.colorText,colorTextLabel:A.colorTextSecondary,colorTextDescription:A.colorTextTertiary,colorTextLightSolid:A.colorWhite,colorHighlight:A.colorError,colorBgTextHover:A.colorFillSecondary,colorBgTextActive:A.colorFill,colorIcon:A.colorTextTertiary,colorIconHover:A.colorText,colorErrorOutline:a(A.colorErrorBg,A.colorBgContainer),colorWarningOutline:a(A.colorWarningBg,A.colorBgContainer),fontSizeIcon:A.fontSizeSM,lineWidthFocus:A.lineWidth*4,lineWidth:A.lineWidth,controlOutlineWidth:A.lineWidth*2,controlInteractiveSize:A.controlHeight/2,controlItemBgHover:A.colorFillTertiary,controlItemBgActive:A.colorPrimaryBg,controlItemBgActiveHover:A.colorPrimaryBgHover,controlItemBgActiveDisabled:A.colorFill,controlTmpOutline:A.colorFillQuaternary,controlOutline:a(A.colorPrimaryBg,A.colorBgContainer),lineType:A.lineType,borderRadius:A.borderRadius,borderRadiusXS:A.borderRadiusXS,borderRadiusSM:A.borderRadiusSM,borderRadiusLG:A.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:\"none\",linkHoverDecoration:\"none\",linkFocusDecoration:\"none\",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:A.sizeXXS,paddingXS:A.sizeXS,paddingSM:A.sizeSM,padding:A.size,paddingMD:A.sizeMD,paddingLG:A.sizeLG,paddingXL:A.sizeXL,paddingContentHorizontalLG:A.sizeLG,paddingContentVerticalLG:A.sizeMS,paddingContentHorizontal:A.sizeMS,paddingContentVertical:A.sizeSM,paddingContentHorizontalSM:A.size,paddingContentVerticalSM:A.sizeXS,marginXXS:A.sizeXXS,marginXS:A.sizeXS,marginSM:A.sizeSM,margin:A.size,marginMD:A.sizeMD,marginLG:A.sizeLG,marginXL:A.sizeXL,marginXXL:A.sizeXXL,boxShadow:`\n      0 6px 16px 0 rgba(0, 0, 0, 0.08),\n      0 3px 6px -4px rgba(0, 0, 0, 0.12),\n      0 9px 28px 8px rgba(0, 0, 0, 0.05)\n    `,boxShadowSecondary:`\n      0 6px 16px 0 rgba(0, 0, 0, 0.08),\n      0 3px 6px -4px rgba(0, 0, 0, 0.12),\n      0 9px 28px 8px rgba(0, 0, 0, 0.05)\n    `,boxShadowTertiary:`\n      0 1px 2px 0 rgba(0, 0, 0, 0.03),\n      0 1px 6px -1px rgba(0, 0, 0, 0.02),\n      0 2px 4px 0 rgba(0, 0, 0, 0.02)\n    `,screenXS:J,screenXSMin:J,screenXSMax:q-1,screenSM:q,screenSMMin:q,screenSMMax:re-1,screenMD:re,screenMDMin:re,screenMDMax:me-1,screenLG:me,screenLGMin:me,screenLGMax:Te-1,screenXL:Te,screenXLMin:Te,screenXLMax:ee-1,screenXXL:ee,screenXXLMin:ee,boxShadowPopoverArrow:\"2px 2px 5px rgba(0, 0, 0, 0.05)\",boxShadowCard:`\n      0 1px 2px -2px ${new b.C(\"rgba(0, 0, 0, 0.16)\").toRgbString()},\n      0 3px 6px 0 ${new b.C(\"rgba(0, 0, 0, 0.12)\").toRgbString()},\n      0 5px 12px 4px ${new b.C(\"rgba(0, 0, 0, 0.09)\").toRgbString()}\n    `,boxShadowDrawerRight:`\n      -6px 0 16px 0 rgba(0, 0, 0, 0.08),\n      -3px 0 6px -4px rgba(0, 0, 0, 0.12),\n      -9px 0 28px 8px rgba(0, 0, 0, 0.05)\n    `,boxShadowDrawerLeft:`\n      6px 0 16px 0 rgba(0, 0, 0, 0.08),\n      3px 0 6px -4px rgba(0, 0, 0, 0.12),\n      9px 0 28px 8px rgba(0, 0, 0, 0.05)\n    `,boxShadowDrawerUp:`\n      0 6px 16px 0 rgba(0, 0, 0, 0.08),\n      0 3px 6px -4px rgba(0, 0, 0, 0.12),\n      0 9px 28px 8px rgba(0, 0, 0, 0.05)\n    `,boxShadowDrawerDown:`\n      0 -6px 16px 0 rgba(0, 0, 0, 0.08),\n      0 -3px 6px -4px rgba(0, 0, 0, 0.12),\n      0 -9px 28px 8px rgba(0, 0, 0, 0.05)\n    `,boxShadowTabsOverflowLeft:\"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)\",boxShadowTabsOverflowRight:\"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)\",boxShadowTabsOverflowTop:\"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)\",boxShadowTabsOverflowBottom:\"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)\"}),L)}const l=(0,r.jG)(w.Z),s={token:O.Z,hashed:!0},m=y.createContext(s);function x(){const{token:M,hashed:E,theme:j,components:L}=y.useContext(m),A=`${C}-${E||\"\"}`,J=j||l,[q,re]=(0,r.fp)(J,[O.Z,M],{salt:A,override:Object.assign({override:M},L),formatToken:h});return[J,q,E?re:\"\"]}},71704:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return m}});var r=c(81548),y=c(36216);function N(x){const{sizeUnit:M,sizeStep:E}=x;return{sizeXXL:M*(E+8),sizeXL:M*(E+4),sizeLG:M*(E+2),sizeMD:M*(E+1),sizeMS:M*E,size:M*E,sizeSM:M*(E-1),sizeXS:M*(E-2),sizeXXS:M*(E-3)}}var C=c(58526),w=c(98069),b=x=>{let M=x,E=x,j=x,L=x;return x<6&&x>=5?M=x+1:x<16&&x>=6?M=x+2:x>=16&&(M=16),x<7&&x>=5?E=4:x<8&&x>=7?E=5:x<14&&x>=8?E=6:x<16&&x>=14?E=7:x>=16&&(E=8),x<6&&x>=2?j=1:x>=6&&(j=2),x>4&&x<8?L=4:x>=8&&(L=6),{borderRadius:x>16?16:x,borderRadiusXS:j,borderRadiusSM:E,borderRadiusLG:M,borderRadiusOuter:L}};function p(x){const{motionUnit:M,motionBase:E,borderRadius:j,lineWidth:L}=x;return Object.assign({motionDurationFast:`${(E+M).toFixed(1)}s`,motionDurationMid:`${(E+M*2).toFixed(1)}s`,motionDurationSlow:`${(E+M*3).toFixed(1)}s`,lineWidthBold:L+1},b(j))}var u=c(99590);const a=(x,M)=>new u.C(x).setAlpha(M).toRgbString(),f=(x,M)=>new u.C(x).darken(M).toHexString(),h=x=>{const M=(0,r.R_)(x);return{1:M[0],2:M[1],3:M[2],4:M[3],5:M[4],6:M[5],7:M[6],8:M[4],9:M[5],10:M[6]}},l=(x,M)=>{const E=x||\"#fff\",j=M||\"#000\";return{colorBgBase:E,colorTextBase:j,colorText:a(j,.88),colorTextSecondary:a(j,.65),colorTextTertiary:a(j,.45),colorTextQuaternary:a(j,.25),colorFill:a(j,.15),colorFillSecondary:a(j,.06),colorFillTertiary:a(j,.04),colorFillQuaternary:a(j,.02),colorBgLayout:f(E,4),colorBgContainer:f(E,0),colorBgElevated:f(E,0),colorBgSpotlight:a(j,.85),colorBorder:f(E,15),colorBorderSecondary:f(E,6)}};var s=c(37154);function m(x){const M=Object.keys(C.M).map(E=>{const j=(0,r.R_)(x[E]);return new Array(10).fill(1).reduce((L,A,J)=>(L[`${E}-${J+1}`]=j[J],L[`${E}${J+1}`]=j[J],L),{})}).reduce((E,j)=>(E=Object.assign(Object.assign({},E),j),E),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},x),M),(0,w.Z)(x,{generateColorPalettes:h,generateNeutralColorPalettes:l})),(0,s.Z)(x.fontSize)),N(x)),(0,y.Z)(x)),p(x))}},58526:function(Pt,Ee,c){\"use strict\";c.d(Ee,{M:function(){return r}});const r={blue:\"#1677ff\",purple:\"#722ED1\",cyan:\"#13C2C2\",green:\"#52C41A\",magenta:\"#EB2F96\",pink:\"#eb2f96\",red:\"#F5222D\",orange:\"#FA8C16\",yellow:\"#FADB14\",volcano:\"#FA541C\",geekblue:\"#2F54EB\",gold:\"#FAAD14\",lime:\"#A0D911\"},y=Object.assign(Object.assign({},r),{colorPrimary:\"#1677ff\",colorSuccess:\"#52c41a\",colorWarning:\"#faad14\",colorError:\"#ff4d4f\",colorInfo:\"#1677ff\",colorTextBase:\"\",colorBgBase:\"\",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'Noto Color Emoji'`,fontFamilyCode:\"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace\",fontSize:14,lineWidth:1,lineType:\"solid\",motionUnit:.1,motionBase:0,motionEaseOutCirc:\"cubic-bezier(0.08, 0.82, 0.17, 1)\",motionEaseInOutCirc:\"cubic-bezier(0.78, 0.14, 0.15, 0.86)\",motionEaseOut:\"cubic-bezier(0.215, 0.61, 0.355, 1)\",motionEaseInOut:\"cubic-bezier(0.645, 0.045, 0.355, 1)\",motionEaseOutBack:\"cubic-bezier(0.12, 0.4, 0.29, 1.46)\",motionEaseInBack:\"cubic-bezier(0.71, -0.46, 0.88, 0.6)\",motionEaseInQuint:\"cubic-bezier(0.755, 0.05, 0.855, 0.06)\",motionEaseOutQuint:\"cubic-bezier(0.23, 1, 0.32, 1)\",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1});Ee.Z=y},98069:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return y}});var r=c(99590);function y(N,C){let{generateColorPalettes:w,generateNeutralColorPalettes:O}=C;const{colorSuccess:b,colorWarning:p,colorError:u,colorInfo:a,colorPrimary:f,colorBgBase:h,colorTextBase:l}=N,s=w(f),m=w(b),x=w(p),M=w(u),E=w(a),j=O(h,l);return Object.assign(Object.assign({},j),{colorPrimaryBg:s[1],colorPrimaryBgHover:s[2],colorPrimaryBorder:s[3],colorPrimaryBorderHover:s[4],colorPrimaryHover:s[5],colorPrimary:s[6],colorPrimaryActive:s[7],colorPrimaryTextHover:s[8],colorPrimaryText:s[9],colorPrimaryTextActive:s[10],colorSuccessBg:m[1],colorSuccessBgHover:m[2],colorSuccessBorder:m[3],colorSuccessBorderHover:m[4],colorSuccessHover:m[4],colorSuccess:m[6],colorSuccessActive:m[7],colorSuccessTextHover:m[8],colorSuccessText:m[9],colorSuccessTextActive:m[10],colorErrorBg:M[1],colorErrorBgHover:M[2],colorErrorBorder:M[3],colorErrorBorderHover:M[4],colorErrorHover:M[5],colorError:M[6],colorErrorActive:M[7],colorErrorTextHover:M[8],colorErrorText:M[9],colorErrorTextActive:M[10],colorWarningBg:x[1],colorWarningBgHover:x[2],colorWarningBorder:x[3],colorWarningBorderHover:x[4],colorWarningHover:x[4],colorWarning:x[6],colorWarningActive:x[7],colorWarningTextHover:x[8],colorWarningText:x[9],colorWarningTextActive:x[10],colorInfoBg:E[1],colorInfoBgHover:E[2],colorInfoBorder:E[3],colorInfoBorderHover:E[4],colorInfoHover:E[4],colorInfo:E[6],colorInfoActive:E[7],colorInfoTextHover:E[8],colorInfoText:E[9],colorInfoTextActive:E[10],colorBgMask:new r.C(\"#000\").setAlpha(.45).toRgbString(),colorWhite:\"#fff\"})}},36216:function(Pt,Ee){\"use strict\";const c=r=>{const{controlHeight:y}=r;return{controlHeightSM:y*.75,controlHeightXS:y*.5,controlHeightLG:y*1.25}};Ee.Z=c},37154:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return N}});function r(C){const w=new Array(10).fill(null).map((O,b)=>{const p=b-1,u=C*Math.pow(2.71828,p/5),a=b>1?Math.floor(u):Math.ceil(u);return Math.floor(a/2)*2});return w[1]=C,w.map(O=>{const b=O+8;return{size:O,lineHeight:b/O}})}var N=C=>{const w=r(C),O=w.map(p=>p.size),b=w.map(p=>p.lineHeight);return{fontSizeSM:O[0],fontSize:O[1],fontSizeLG:O[2],fontSizeXL:O[3],fontSizeHeading1:O[6],fontSizeHeading2:O[5],fontSizeHeading3:O[4],fontSizeHeading4:O[3],fontSizeHeading5:O[2],lineHeight:b[1],lineHeightLG:b[2],lineHeightSM:b[0],lineHeightHeading1:b[6],lineHeightHeading2:b[5],lineHeightHeading3:b[4],lineHeightHeading4:b[3],lineHeightHeading5:b[2]}}},72267:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return b}});var r=c(8439),y=c(50959),N=c(92220),C=c(35531),w=c(25990),O=c(42550);function b(p,u,a){return f=>{const[h,l,s]=(0,w.dQ)(),{getPrefixCls:m,iconPrefixCls:x}=(0,y.useContext)(C.E_),M=m();return(0,r.xy)({theme:h,token:l,hashId:s,path:[\"Shared\",M]},()=>[{\"&\":(0,N.Lx)(l)}]),[(0,r.xy)({theme:h,token:l,hashId:s,path:[p,f,x]},()=>{const{token:E,flush:j}=(0,O.ZP)(l),L=typeof a==\"function\"?a(E):a,A=Object.assign(Object.assign({},L),l[p]),J=`.${f}`,q=(0,O.TS)(E,{componentCls:J,prefixCls:f,iconCls:`.${x}`,antCls:`.${M}`},A),re=u(q,{hashId:s,prefixCls:f,rootPrefixCls:M,iconPrefixCls:x,overrideComponentToken:l[p]});return j(p,A),[(0,N.du)(l,f),re]}),s]}}},42550:function(Pt,Ee,c){\"use strict\";c.d(Ee,{TS:function(){return N},ZP:function(){return b}});const r=typeof CSSINJS_STATISTIC!=\"undefined\";let y=!0;function N(){for(var p=arguments.length,u=new Array(p),a=0;a<p;a++)u[a]=arguments[a];if(!r)return Object.assign.apply(Object,[{}].concat(u));y=!1;const f={};return u.forEach(h=>{Object.keys(h).forEach(s=>{Object.defineProperty(f,s,{configurable:!0,enumerable:!0,get:()=>h[s]})})}),y=!0,f}const C={},w={};function O(){}function b(p){let u,a=p,f=O;return r&&(u=new Set,a=new Proxy(p,{get(h,l){return y&&u.add(l),h[l]}}),f=(h,l)=>{C[h]={global:Array.from(u),component:l}}),{token:a,keys:u,flush:f}}},17104:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return ce}});var r=c(84875),y=c.n(r),N=c(85715),C=c(47280),w=c(50959),O=c(35531),b=c(28628),p=c(48515),u=c(20902),a=c(42912),f=c(92220),h=c(35697);function l(ye,Oe){return h.i.reduce((Ce,oe)=>{const he=ye[`${oe}1`],ie=ye[`${oe}3`],ae=ye[`${oe}6`],ve=ye[`${oe}7`];return Object.assign(Object.assign({},Ce),Oe(oe,{lightColor:he,lightBorderColor:ie,darkColor:ae,textColor:ve}))},{})}var s=c(40949),m=c(58917),x=c(42550),M=c(72267);const E=ye=>{const{componentCls:Oe,tooltipMaxWidth:Ce,tooltipColor:oe,tooltipBg:he,tooltipBorderRadius:ie,zIndexPopup:ae,controlHeight:ve,boxShadowSecondary:X,paddingSM:se,paddingXS:fe,tooltipRadiusOuter:_e}=ye;return[{[Oe]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,f.Wf)(ye)),{position:\"absolute\",zIndex:ae,display:\"block\",width:\"max-content\",maxWidth:Ce,visibility:\"visible\",\"&-hidden\":{display:\"none\"},\"--antd-arrow-background-color\":he,[`${Oe}-inner`]:{minWidth:ve,minHeight:ve,padding:`${se/2}px ${fe}px`,color:oe,textAlign:\"start\",textDecoration:\"none\",wordWrap:\"break-word\",backgroundColor:he,borderRadius:ie,boxShadow:X},[[\"&-placement-left\",\"&-placement-leftTop\",\"&-placement-leftBottom\",\"&-placement-right\",\"&-placement-rightTop\",\"&-placement-rightBottom\"].join(\",\")]:{[`${Oe}-inner`]:{borderRadius:Math.min(ie,m.qN)}},[`${Oe}-content`]:{position:\"relative\"}}),l(ye,(be,We)=>{let{darkColor:we}=We;return{[`&${Oe}-${be}`]:{[`${Oe}-inner`]:{backgroundColor:we},[`${Oe}-arrow`]:{\"--antd-arrow-background-color\":we}}}})),{\"&-rtl\":{direction:\"rtl\"}})},(0,m.ZP)((0,x.TS)(ye,{borderRadiusOuter:_e}),{colorBg:\"var(--antd-arrow-background-color)\",contentRadius:ie,limitVerticalRadius:!0}),{[`${Oe}-pure`]:{position:\"relative\",maxWidth:\"none\",margin:ye.sizePopupArrow}}]};var j=(ye,Oe)=>(0,M.Z)(\"Tooltip\",oe=>{if(Oe===!1)return[];const{borderRadius:he,colorTextLightSolid:ie,colorBgDefault:ae,borderRadiusOuter:ve}=oe,X=(0,x.TS)(oe,{tooltipMaxWidth:250,tooltipColor:ie,tooltipBorderRadius:he,tooltipBg:ae,tooltipRadiusOuter:ve>4?4:ve});return[E(X),(0,s._y)(oe,\"zoom-big-fast\")]},oe=>{let{zIndexPopupBase:he,colorBgSpotlight:ie}=oe;return{zIndexPopup:he+70,colorBgDefault:ie}})(ye),L=c(49544);const A=h.i.map(ye=>`${ye}-inverse`),J=null;function q(ye){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,L.Z)(A),(0,L.Z)(h.i)).includes(ye):h.i.includes(ye)}function re(ye){return J.includes(ye)}function me(ye,Oe){const Ce=q(Oe),oe=y()({[`${ye}-${Oe}`]:Oe&&Ce}),he={},ie={};return Oe&&!Ce&&(he.background=Oe,ie[\"--antd-arrow-background-color\"]=Oe),{className:oe,overlayStyle:he,arrowStyle:ie}}function Te(ye){const{prefixCls:Oe,className:Ce,placement:oe=\"top\",title:he,color:ie,overlayInnerStyle:ae}=ye,{getPrefixCls:ve}=w.useContext(O.E_),X=ve(\"tooltip\",Oe),[se,fe]=j(X,!0),_e=me(X,ie),be=Object.assign(Object.assign({},ae),_e.overlayStyle),We=_e.arrowStyle;return se(w.createElement(\"div\",{className:y()(fe,X,`${X}-pure`,`${X}-placement-${oe}`,Ce,_e.className),style:We},w.createElement(\"div\",{className:`${X}-arrow`}),w.createElement(N.G,Object.assign({},ye,{className:fe,prefixCls:X,overlayInnerStyle:be}),he)))}var ee=function(ye,Oe){var Ce={};for(var oe in ye)Object.prototype.hasOwnProperty.call(ye,oe)&&Oe.indexOf(oe)<0&&(Ce[oe]=ye[oe]);if(ye!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var he=0,oe=Object.getOwnPropertySymbols(ye);he<oe.length;he++)Oe.indexOf(oe[he])<0&&Object.prototype.propertyIsEnumerable.call(ye,oe[he])&&(Ce[oe[he]]=ye[oe[he]]);return Ce};const{useToken:xe}=b.Z,Ie=(ye,Oe)=>{const Ce={},oe=Object.assign({},ye);return Oe.forEach(he=>{ye&&he in ye&&(Ce[he]=ye[he],delete oe[he])}),{picked:Ce,omitted:oe}};function Le(ye,Oe){const Ce=ye.type;if((Ce.__ANT_BUTTON===!0||ye.type===\"button\")&&ye.props.disabled||Ce.__ANT_SWITCH===!0&&(ye.props.disabled||ye.props.loading)||Ce.__ANT_RADIO===!0&&ye.props.disabled){const{picked:oe,omitted:he}=Ie(ye.props.style,[\"position\",\"left\",\"right\",\"top\",\"bottom\",\"float\",\"display\",\"zIndex\"]),ie=Object.assign(Object.assign({display:\"inline-block\"},oe),{cursor:\"not-allowed\",width:ye.props.block?\"100%\":void 0}),ae=Object.assign(Object.assign({},he),{pointerEvents:\"none\"}),ve=(0,a.Tm)(ye,{style:ae,className:null});return w.createElement(\"span\",{style:ie,className:y()(ye.props.className,`${Oe}-disabled-compatible-wrapper`)},ve)}return ye}const De=w.forwardRef((ye,Oe)=>{var Ce,oe;const{prefixCls:he,openClassName:ie,getTooltipContainer:ae,overlayClassName:ve,color:X,overlayInnerStyle:se,children:fe,afterOpenChange:_e,afterVisibleChange:be,destroyTooltipOnHide:We,arrow:we=!0}=ye,Ze=!!we,{token:Ve}=xe(),{getPopupContainer:et,getPrefixCls:ht,direction:Fe}=w.useContext(O.E_),mt=w.useRef(null),dt=()=>{var bt;(bt=mt.current)===null||bt===void 0||bt.forceAlign()};w.useImperativeHandle(Oe,()=>({forceAlign:dt,forcePopupAlign:()=>{dt()}}));const[Lt,lt]=(0,C.Z)(!1,{value:(Ce=ye.open)!==null&&Ce!==void 0?Ce:ye.visible,defaultValue:(oe=ye.defaultOpen)!==null&&oe!==void 0?oe:ye.defaultVisible}),rn=()=>{const{title:bt,overlay:Zt}=ye;return!bt&&!Zt&&bt!==0},qt=bt=>{var Zt,gt;lt(rn()?!1:bt),rn()||((Zt=ye.onOpenChange)===null||Zt===void 0||Zt.call(ye,bt),(gt=ye.onVisibleChange)===null||gt===void 0||gt.call(ye,bt))},hn=()=>{var bt,Zt;const{builtinPlacements:gt,arrowPointAtCenter:Wt=!1,autoAdjustOverflow:xn=!0}=ye;let Dt=Wt;return typeof we==\"object\"&&(Dt=(Zt=(bt=we.pointAtCenter)!==null&&bt!==void 0?bt:we.arrowPointAtCenter)!==null&&Zt!==void 0?Zt:Wt),gt||(0,u.Z)({arrowPointAtCenter:Dt,autoAdjustOverflow:xn,arrowWidth:Ze?Ve.sizePopupArrow:0,borderRadius:Ve.borderRadius,offset:Ve.marginXXS})},Kt=(bt,Zt)=>{const gt=hn(),Wt=Object.keys(gt).find(xn=>{var Dt,Xn;return gt[xn].points[0]===((Dt=Zt.points)===null||Dt===void 0?void 0:Dt[0])&&gt[xn].points[1]===((Xn=Zt.points)===null||Xn===void 0?void 0:Xn[1])});if(Wt){const xn=bt.getBoundingClientRect(),Dt={top:\"50%\",left:\"50%\"};/top|Bottom/.test(Wt)?Dt.top=`${xn.height-Zt.offset[1]}px`:/Top|bottom/.test(Wt)&&(Dt.top=`${-Zt.offset[1]}px`),/left|Right/.test(Wt)?Dt.left=`${xn.width-Zt.offset[0]}px`:/right|Left/.test(Wt)&&(Dt.left=`${-Zt.offset[0]}px`),bt.style.transformOrigin=`${Dt.left} ${Dt.top}`}},an=()=>{const{title:bt,overlay:Zt}=ye;return bt===0?bt:Zt||bt||\"\"},{getPopupContainer:In,placement:Ft=\"top\",mouseEnterDelay:kt=.1,mouseLeaveDelay:At=.1,overlayStyle:Fn,rootClassName:pn}=ye,en=ee(ye,[\"getPopupContainer\",\"placement\",\"mouseEnterDelay\",\"mouseLeaveDelay\",\"overlayStyle\",\"rootClassName\"]),Wn=ht(\"tooltip\",he),Mn=ht(),Kn=ye[\"data-popover-inject\"];let hr=Lt;!(\"open\"in ye)&&!(\"visible\"in ye)&&rn()&&(hr=!1);const pr=Le((0,a.l$)(fe)&&!(0,a.M2)(fe)?fe:w.createElement(\"span\",null,fe),Wn),zr=pr.props,Wr=!zr.className||typeof zr.className==\"string\"?y()(zr.className,{[ie||`${Wn}-open`]:!0}):zr.className,[Nr,Kr]=j(Wn,!Kn),ko=me(Wn,X),Ur=Object.assign(Object.assign({},se),ko.overlayStyle),gn=ko.arrowStyle,Gt=y()(ve,{[`${Wn}-rtl`]:Fe===\"rtl\"},ko.className,pn,Kr);return Nr(w.createElement(N.Z,Object.assign({},en,{showArrow:Ze,placement:Ft,mouseEnterDelay:kt,mouseLeaveDelay:At,prefixCls:Wn,overlayClassName:Gt,overlayStyle:Object.assign(Object.assign({},gn),Fn),getTooltipContainer:In||ae||et,ref:mt,builtinPlacements:hn(),overlay:an(),visible:hr,onVisibleChange:qt,afterVisibleChange:_e!=null?_e:be,onPopupAlign:Kt,overlayInnerStyle:Ur,arrowContent:w.createElement(\"span\",{className:`${Wn}-arrow-content`}),motion:{motionName:(0,p.mL)(Mn,\"zoom-big-fast\",ye.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!We}),hr?(0,a.Tm)(pr,{className:Wr}):pr))});De._InternalPanelDoNotUseOrYouWillBeFired=Te;var ce=De},84666:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return Ui}});var r=c(51163),y=c(24572),N=c(26143),C=c(75782),w=c(49544),O=c(40936),b=c(49962),p=c(60790),u=c(39027),a=c(76614),f=c(50959),h=c(59158),l=c(53675),s=c(42622),m=c(84875),x=c.n(m),M=f.createContext(null),E=c(58733),j=function(mn){for(var fr=mn.prefixCls,ft=mn.level,ct=mn.isStart,tn=mn.isEnd,An=\"\".concat(fr,\"-indent-unit\"),Rt=[],un=0;un<ft;un+=1){var Dn;Rt.push(f.createElement(\"span\",{key:un,className:x()(An,(Dn={},(0,y.Z)(Dn,\"\".concat(An,\"-start\"),ct[un]),(0,y.Z)(Dn,\"\".concat(An,\"-end\"),tn[un]),Dn))}))}return f.createElement(\"span\",{\"aria-hidden\":\"true\",className:\"\".concat(fr,\"-indent\")},Rt)},L=f.memo(j),A=c(97318),J=c(16030),q=[\"children\"];function re(ln,mn){return ln!=null?ln:mn}function me(ln){var mn=ln||{},fr=mn.title,ft=mn._title,ct=mn.key,tn=mn.children,An=fr||\"title\";return{title:An,_title:ft||[An],key:ct||\"key\",children:tn||\"children\"}}function Te(ln,mn){var fr=new Map;function ft(ct){var tn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:\"\";(ct||[]).forEach(function(An){var Rt=An[mn.key],un=An[mn.children];warning(Rt!=null,\"Tree node must have a certain key: [\".concat(tn).concat(Rt,\"]\"));var Dn=String(Rt);warning(!fr.has(Dn)||Rt===null||Rt===void 0,\"Same 'key' exist in the Tree: \".concat(Dn)),fr.set(Dn,!0),ft(un,\"\".concat(tn).concat(Dn,\" > \"))})}ft(ln)}function ee(ln){function mn(fr){var ft=(0,J.Z)(fr);return ft.map(function(ct){if(!be(ct))return(0,l.ZP)(!ct,\"Tree/TreeNode can only accept TreeNode as children.\"),null;var tn=ct.key,An=ct.props,Rt=An.children,un=(0,E.Z)(An,q),Dn=(0,C.Z)({key:tn},un),dr=mn(Rt);return dr.length&&(Dn.children=dr),Dn}).filter(function(ct){return ct})}return mn(ln)}function xe(ln,mn,fr){var ft=me(fr),ct=ft._title,tn=ft.key,An=ft.children,Rt=new Set(mn===!0?[]:mn),un=[];function Dn(dr){var Ar=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return dr.map(function(Gr,Pr){for(var Xr=_e(Ar?Ar.pos:\"0\",Pr),oo=re(Gr[tn],Xr),io,to=0;to<ct.length;to+=1){var To=ct[to];if(Gr[To]!==void 0){io=Gr[To];break}}var jn=(0,C.Z)((0,C.Z)({},(0,A.Z)(Gr,[].concat((0,w.Z)(ct),[tn,An]))),{},{title:io,key:oo,parent:Ar,pos:Xr,children:null,data:Gr,isStart:[].concat((0,w.Z)(Ar?Ar.isStart:[]),[Pr===0]),isEnd:[].concat((0,w.Z)(Ar?Ar.isEnd:[]),[Pr===dr.length-1])});return un.push(jn),mn===!0||Rt.has(oo)?jn.children=Dn(Gr[An]||[],jn):jn.children=[],jn})}return Dn(ln),un}function Ie(ln,mn,fr){var ft={};(0,N.Z)(fr)===\"object\"?ft=fr:ft={externalGetKey:fr},ft=ft||{};var ct=ft,tn=ct.childrenPropName,An=ct.externalGetKey,Rt=ct.fieldNames,un=me(Rt),Dn=un.key,dr=un.children,Ar=tn||dr,Gr;An?typeof An==\"string\"?Gr=function(oo){return oo[An]}:typeof An==\"function\"&&(Gr=function(oo){return An(oo)}):Gr=function(oo,io){return re(oo[Dn],io)};function Pr(Xr,oo,io,to){var To=Xr?Xr[Ar]:ln,jn=Xr?_e(io.pos,oo):\"0\",W=Xr?[].concat((0,w.Z)(to),[Xr]):[];if(Xr){var P=Gr(Xr,jn),k={node:Xr,index:oo,pos:jn,key:P,parentPos:io.node?io.pos:null,level:io.level+1,nodes:W};mn(k)}To&&To.forEach(function(z,Q){Pr(z,Q,{node:Xr,pos:jn,level:io?io.level+1:-1},W)})}Pr(null)}function Le(ln){var mn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},fr=mn.initWrapper,ft=mn.processEntity,ct=mn.onProcessFinished,tn=mn.externalGetKey,An=mn.childrenPropName,Rt=mn.fieldNames,un=arguments.length>2?arguments[2]:void 0,Dn=tn||un,dr={},Ar={},Gr={posEntities:dr,keyEntities:Ar};return fr&&(Gr=fr(Gr)||Gr),Ie(ln,function(Pr){var Xr=Pr.node,oo=Pr.index,io=Pr.pos,to=Pr.key,To=Pr.parentPos,jn=Pr.level,W=Pr.nodes,P={node:Xr,nodes:W,index:oo,key:to,pos:io,level:jn},k=re(to,io);dr[io]=P,Ar[k]=P,P.parent=dr[To],P.parent&&(P.parent.children=P.parent.children||[],P.parent.children.push(P)),ft&&ft(P,Gr)},{externalGetKey:Dn,childrenPropName:An,fieldNames:Rt}),ct&&ct(Gr),Gr}function De(ln,mn){var fr=mn.expandedKeys,ft=mn.selectedKeys,ct=mn.loadedKeys,tn=mn.loadingKeys,An=mn.checkedKeys,Rt=mn.halfCheckedKeys,un=mn.dragOverNodeKey,Dn=mn.dropPosition,dr=mn.keyEntities,Ar=dr[ln],Gr={eventKey:ln,expanded:fr.indexOf(ln)!==-1,selected:ft.indexOf(ln)!==-1,loaded:ct.indexOf(ln)!==-1,loading:tn.indexOf(ln)!==-1,checked:An.indexOf(ln)!==-1,halfChecked:Rt.indexOf(ln)!==-1,pos:String(Ar?Ar.pos:\"\"),dragOver:un===ln&&Dn===0,dragOverGapTop:un===ln&&Dn===-1,dragOverGapBottom:un===ln&&Dn===1};return Gr}function ce(ln){var mn=ln.data,fr=ln.expanded,ft=ln.selected,ct=ln.checked,tn=ln.loaded,An=ln.loading,Rt=ln.halfChecked,un=ln.dragOver,Dn=ln.dragOverGapTop,dr=ln.dragOverGapBottom,Ar=ln.pos,Gr=ln.active,Pr=ln.eventKey,Xr=(0,C.Z)((0,C.Z)({},mn),{},{expanded:fr,selected:ft,checked:ct,loaded:tn,loading:An,halfChecked:Rt,dragOver:un,dragOverGapTop:Dn,dragOverGapBottom:dr,pos:Ar,active:Gr,key:Pr});return\"props\"in Xr||Object.defineProperty(Xr,\"props\",{get:function(){return(0,l.ZP)(!1,\"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`.\"),ln}}),Xr}var ye=[\"eventKey\",\"className\",\"style\",\"dragOver\",\"dragOverGapTop\",\"dragOverGapBottom\",\"isLeaf\",\"isStart\",\"isEnd\",\"expanded\",\"selected\",\"checked\",\"halfChecked\",\"loading\",\"domRef\",\"active\",\"data\",\"onMouseMove\",\"selectable\"],Oe=\"open\",Ce=\"close\",oe=\"---\",he=function(ln){(0,u.Z)(fr,ln);var mn=(0,a.Z)(fr);function fr(){var ft;(0,O.Z)(this,fr);for(var ct=arguments.length,tn=new Array(ct),An=0;An<ct;An++)tn[An]=arguments[An];return ft=mn.call.apply(mn,[this].concat(tn)),ft.state={dragNodeHighlight:!1},ft.selectHandle=void 0,ft.onSelectorClick=function(Rt){var un=ft.props.context.onNodeClick;un(Rt,ce(ft.props)),ft.isSelectable()?ft.onSelect(Rt):ft.onCheck(Rt)},ft.onSelectorDoubleClick=function(Rt){var un=ft.props.context.onNodeDoubleClick;un(Rt,ce(ft.props))},ft.onSelect=function(Rt){if(!ft.isDisabled()){var un=ft.props.context.onNodeSelect;Rt.preventDefault(),un(Rt,ce(ft.props))}},ft.onCheck=function(Rt){if(!ft.isDisabled()){var un=ft.props,Dn=un.disableCheckbox,dr=un.checked,Ar=ft.props.context.onNodeCheck;if(!(!ft.isCheckable()||Dn)){Rt.preventDefault();var Gr=!dr;Ar(Rt,ce(ft.props),Gr)}}},ft.onMouseEnter=function(Rt){var un=ft.props.context.onNodeMouseEnter;un(Rt,ce(ft.props))},ft.onMouseLeave=function(Rt){var un=ft.props.context.onNodeMouseLeave;un(Rt,ce(ft.props))},ft.onContextMenu=function(Rt){var un=ft.props.context.onNodeContextMenu;un(Rt,ce(ft.props))},ft.onDragStart=function(Rt){var un=ft.props.context.onNodeDragStart;Rt.stopPropagation(),ft.setState({dragNodeHighlight:!0}),un(Rt,(0,p.Z)(ft));try{Rt.dataTransfer.setData(\"text/plain\",\"\")}catch(Dn){}},ft.onDragEnter=function(Rt){var un=ft.props.context.onNodeDragEnter;Rt.preventDefault(),Rt.stopPropagation(),un(Rt,(0,p.Z)(ft))},ft.onDragOver=function(Rt){var un=ft.props.context.onNodeDragOver;Rt.preventDefault(),Rt.stopPropagation(),un(Rt,(0,p.Z)(ft))},ft.onDragLeave=function(Rt){var un=ft.props.context.onNodeDragLeave;Rt.stopPropagation(),un(Rt,(0,p.Z)(ft))},ft.onDragEnd=function(Rt){var un=ft.props.context.onNodeDragEnd;Rt.stopPropagation(),ft.setState({dragNodeHighlight:!1}),un(Rt,(0,p.Z)(ft))},ft.onDrop=function(Rt){var un=ft.props.context.onNodeDrop;Rt.preventDefault(),Rt.stopPropagation(),ft.setState({dragNodeHighlight:!1}),un(Rt,(0,p.Z)(ft))},ft.onExpand=function(Rt){var un=ft.props,Dn=un.loading,dr=un.context.onNodeExpand;Dn||dr(Rt,ce(ft.props))},ft.setSelectHandle=function(Rt){ft.selectHandle=Rt},ft.getNodeState=function(){var Rt=ft.props.expanded;return ft.isLeaf()?null:Rt?Oe:Ce},ft.hasChildren=function(){var Rt=ft.props.eventKey,un=ft.props.context.keyEntities,Dn=un[Rt]||{},dr=Dn.children;return!!(dr||[]).length},ft.isLeaf=function(){var Rt=ft.props,un=Rt.isLeaf,Dn=Rt.loaded,dr=ft.props.context.loadData,Ar=ft.hasChildren();return un===!1?!1:un||!dr&&!Ar||dr&&Dn&&!Ar},ft.isDisabled=function(){var Rt=ft.props.disabled,un=ft.props.context.disabled;return!!(un||Rt)},ft.isCheckable=function(){var Rt=ft.props.checkable,un=ft.props.context.checkable;return!un||Rt===!1?!1:un},ft.syncLoadData=function(Rt){var un=Rt.expanded,Dn=Rt.loading,dr=Rt.loaded,Ar=ft.props.context,Gr=Ar.loadData,Pr=Ar.onNodeLoad;Dn||Gr&&un&&!ft.isLeaf()&&!ft.hasChildren()&&!dr&&Pr(ce(ft.props))},ft.isDraggable=function(){var Rt=ft.props,un=Rt.data,Dn=Rt.context.draggable;return!!(Dn&&(!Dn.nodeDraggable||Dn.nodeDraggable(un)))},ft.renderDragHandler=function(){var Rt=ft.props.context,un=Rt.draggable,Dn=Rt.prefixCls;return un!=null&&un.icon?f.createElement(\"span\",{className:\"\".concat(Dn,\"-draggable-icon\")},un.icon):null},ft.renderSwitcherIconDom=function(Rt){var un=ft.props.switcherIcon,Dn=ft.props.context.switcherIcon,dr=un||Dn;return typeof dr==\"function\"?dr((0,C.Z)((0,C.Z)({},ft.props),{},{isLeaf:Rt})):dr},ft.renderSwitcher=function(){var Rt=ft.props.expanded,un=ft.props.context.prefixCls;if(ft.isLeaf()){var Dn=ft.renderSwitcherIconDom(!0);return Dn!==!1?f.createElement(\"span\",{className:x()(\"\".concat(un,\"-switcher\"),\"\".concat(un,\"-switcher-noop\"))},Dn):null}var dr=x()(\"\".concat(un,\"-switcher\"),\"\".concat(un,\"-switcher_\").concat(Rt?Oe:Ce)),Ar=ft.renderSwitcherIconDom(!1);return Ar!==!1?f.createElement(\"span\",{onClick:ft.onExpand,className:dr},Ar):null},ft.renderCheckbox=function(){var Rt=ft.props,un=Rt.checked,Dn=Rt.halfChecked,dr=Rt.disableCheckbox,Ar=ft.props.context.prefixCls,Gr=ft.isDisabled(),Pr=ft.isCheckable();if(!Pr)return null;var Xr=typeof Pr!=\"boolean\"?Pr:null;return f.createElement(\"span\",{className:x()(\"\".concat(Ar,\"-checkbox\"),un&&\"\".concat(Ar,\"-checkbox-checked\"),!un&&Dn&&\"\".concat(Ar,\"-checkbox-indeterminate\"),(Gr||dr)&&\"\".concat(Ar,\"-checkbox-disabled\")),onClick:ft.onCheck},Xr)},ft.renderIcon=function(){var Rt=ft.props.loading,un=ft.props.context.prefixCls;return f.createElement(\"span\",{className:x()(\"\".concat(un,\"-iconEle\"),\"\".concat(un,\"-icon__\").concat(ft.getNodeState()||\"docu\"),Rt&&\"\".concat(un,\"-icon_loading\"))})},ft.renderSelector=function(){var Rt=ft.state.dragNodeHighlight,un=ft.props,Dn=un.title,dr=Dn===void 0?oe:Dn,Ar=un.selected,Gr=un.icon,Pr=un.loading,Xr=un.data,oo=ft.props.context,io=oo.prefixCls,to=oo.showIcon,To=oo.icon,jn=oo.loadData,W=oo.titleRender,P=ft.isDisabled(),k=\"\".concat(io,\"-node-content-wrapper\"),z;if(to){var Q=Gr||To;z=Q?f.createElement(\"span\",{className:x()(\"\".concat(io,\"-iconEle\"),\"\".concat(io,\"-icon__customize\"))},typeof Q==\"function\"?Q(ft.props):Q):ft.renderIcon()}else jn&&Pr&&(z=ft.renderIcon());var F;typeof dr==\"function\"?F=dr(Xr):W?F=W(Xr):F=dr;var V=f.createElement(\"span\",{className:\"\".concat(io,\"-title\")},F);return f.createElement(\"span\",{ref:ft.setSelectHandle,title:typeof dr==\"string\"?dr:\"\",className:x()(\"\".concat(k),\"\".concat(k,\"-\").concat(ft.getNodeState()||\"normal\"),!P&&(Ar||Rt)&&\"\".concat(io,\"-node-selected\")),onMouseEnter:ft.onMouseEnter,onMouseLeave:ft.onMouseLeave,onContextMenu:ft.onContextMenu,onClick:ft.onSelectorClick,onDoubleClick:ft.onSelectorDoubleClick},z,V,ft.renderDropIndicator())},ft.renderDropIndicator=function(){var Rt=ft.props,un=Rt.disabled,Dn=Rt.eventKey,dr=ft.props.context,Ar=dr.draggable,Gr=dr.dropLevelOffset,Pr=dr.dropPosition,Xr=dr.prefixCls,oo=dr.indent,io=dr.dropIndicatorRender,to=dr.dragOverNodeKey,To=dr.direction,jn=!!Ar,W=!un&&jn&&to===Dn;return W?io({dropPosition:Pr,dropLevelOffset:Gr,indent:oo,prefixCls:Xr,direction:To}):null},ft}return(0,b.Z)(fr,[{key:\"componentDidMount\",value:function(){this.syncLoadData(this.props)}},{key:\"componentDidUpdate\",value:function(){this.syncLoadData(this.props)}},{key:\"isSelectable\",value:function(){var ct=this.props.selectable,tn=this.props.context.selectable;return typeof ct==\"boolean\"?ct:tn}},{key:\"render\",value:function(){var ct,tn=this.props,An=tn.eventKey,Rt=tn.className,un=tn.style,Dn=tn.dragOver,dr=tn.dragOverGapTop,Ar=tn.dragOverGapBottom,Gr=tn.isLeaf,Pr=tn.isStart,Xr=tn.isEnd,oo=tn.expanded,io=tn.selected,to=tn.checked,To=tn.halfChecked,jn=tn.loading,W=tn.domRef,P=tn.active,k=tn.data,z=tn.onMouseMove,Q=tn.selectable,F=(0,E.Z)(tn,ye),V=this.props.context,U=V.prefixCls,ge=V.filterTreeNode,ke=V.keyEntities,St=V.dropContainerKey,Je=V.dropTargetKey,Ot=V.draggingNodeKey,It=this.isDisabled(),jt=(0,s.Z)(F,{aria:!0,data:!0}),Vt=ke[An]||{},Pn=Vt.level,Jn=Xr[Xr.length-1],vn=this.isDraggable(),Vn=!It&&vn,zt=Ot===An,ir=Q!==void 0?{\"aria-selected\":!!Q}:void 0;return f.createElement(\"div\",(0,r.Z)({ref:W,className:x()(Rt,\"\".concat(U,\"-treenode\"),(ct={},(0,y.Z)(ct,\"\".concat(U,\"-treenode-disabled\"),It),(0,y.Z)(ct,\"\".concat(U,\"-treenode-switcher-\").concat(oo?\"open\":\"close\"),!Gr),(0,y.Z)(ct,\"\".concat(U,\"-treenode-checkbox-checked\"),to),(0,y.Z)(ct,\"\".concat(U,\"-treenode-checkbox-indeterminate\"),To),(0,y.Z)(ct,\"\".concat(U,\"-treenode-selected\"),io),(0,y.Z)(ct,\"\".concat(U,\"-treenode-loading\"),jn),(0,y.Z)(ct,\"\".concat(U,\"-treenode-active\"),P),(0,y.Z)(ct,\"\".concat(U,\"-treenode-leaf-last\"),Jn),(0,y.Z)(ct,\"\".concat(U,\"-treenode-draggable\"),vn),(0,y.Z)(ct,\"dragging\",zt),(0,y.Z)(ct,\"drop-target\",Je===An),(0,y.Z)(ct,\"drop-container\",St===An),(0,y.Z)(ct,\"drag-over\",!It&&Dn),(0,y.Z)(ct,\"drag-over-gap-top\",!It&&dr),(0,y.Z)(ct,\"drag-over-gap-bottom\",!It&&Ar),(0,y.Z)(ct,\"filter-node\",ge&&ge(ce(this.props))),ct)),style:un,draggable:Vn,\"aria-grabbed\":zt,onDragStart:Vn?this.onDragStart:void 0,onDragEnter:vn?this.onDragEnter:void 0,onDragOver:vn?this.onDragOver:void 0,onDragLeave:vn?this.onDragLeave:void 0,onDrop:vn?this.onDrop:void 0,onDragEnd:vn?this.onDragEnd:void 0,onMouseMove:z},ir,jt),f.createElement(L,{prefixCls:U,level:Pn,isStart:Pr,isEnd:Xr}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),fr}(f.Component),ie=function(mn){return f.createElement(M.Consumer,null,function(fr){return f.createElement(he,(0,r.Z)({},mn,{context:fr}))})};ie.displayName=\"TreeNode\",ie.isTreeNode=1;var ae=ie,ve=null;function X(ln,mn){if(!ln)return[];var fr=ln.slice(),ft=fr.indexOf(mn);return ft>=0&&fr.splice(ft,1),fr}function se(ln,mn){var fr=(ln||[]).slice();return fr.indexOf(mn)===-1&&fr.push(mn),fr}function fe(ln){return ln.split(\"-\")}function _e(ln,mn){return\"\".concat(ln,\"-\").concat(mn)}function be(ln){return ln&&ln.type&&ln.type.isTreeNode}function We(ln,mn){var fr=[],ft=mn[ln];function ct(){var tn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];tn.forEach(function(An){var Rt=An.key,un=An.children;fr.push(Rt),ct(un)})}return ct(ft.children),fr}function we(ln){if(ln.parent){var mn=fe(ln.pos);return Number(mn[mn.length-1])===ln.parent.children.length-1}return!1}function Ze(ln){var mn=fe(ln.pos);return Number(mn[mn.length-1])===0}function Ve(ln,mn,fr,ft,ct,tn,An,Rt,un,Dn){var dr,Ar=ln.clientX,Gr=ln.clientY,Pr=ln.target.getBoundingClientRect(),Xr=Pr.top,oo=Pr.height,io=(Dn===\"rtl\"?-1:1)*(((ct==null?void 0:ct.x)||0)-Ar),to=(io-12)/ft,To=Rt[fr.props.eventKey];if(Gr<Xr+oo/2){var jn=An.findIndex(function(Je){return Je.key===To.key}),W=jn<=0?0:jn-1,P=An[W].key;To=Rt[P]}var k=To.key,z=To,Q=To.key,F=0,V=0;if(!un.includes(k))for(var U=0;U<to&&we(To);U+=1)To=To.parent,V+=1;var ge=mn.props.data,ke=To.node,St=!0;return Ze(To)&&To.level===0&&Gr<Xr+oo/2&&tn({dragNode:ge,dropNode:ke,dropPosition:-1})&&To.key===fr.props.eventKey?F=-1:(z.children||[]).length&&un.includes(Q)?tn({dragNode:ge,dropNode:ke,dropPosition:0})?F=0:St=!1:V===0?to>-1.5?tn({dragNode:ge,dropNode:ke,dropPosition:1})?F=1:St=!1:tn({dragNode:ge,dropNode:ke,dropPosition:0})?F=0:tn({dragNode:ge,dropNode:ke,dropPosition:1})?F=1:St=!1:tn({dragNode:ge,dropNode:ke,dropPosition:1})?F=1:St=!1,{dropPosition:F,dropLevelOffset:V,dropTargetKey:To.key,dropTargetPos:To.pos,dragOverNodeKey:Q,dropContainerKey:F===0?null:((dr=To.parent)===null||dr===void 0?void 0:dr.key)||null,dropAllowed:St}}function et(ln,mn){if(ln){var fr=mn.multiple;return fr?ln.slice():ln.length?[ln[0]]:ln}}var ht=function(mn){return mn};function Fe(ln,mn){if(!ln)return[];var fr=mn||{},ft=fr.processProps,ct=ft===void 0?ht:ft,tn=Array.isArray(ln)?ln:[ln];return tn.map(function(An){var Rt=An.children,un=_objectWithoutProperties(An,ve),Dn=Fe(Rt,mn);return React.createElement(TreeNode,_extends({key:un.key},ct(un)),Dn)})}function mt(ln){if(!ln)return null;var mn;if(Array.isArray(ln))mn={checkedKeys:ln,halfCheckedKeys:void 0};else if((0,N.Z)(ln)===\"object\")mn={checkedKeys:ln.checked||void 0,halfCheckedKeys:ln.halfChecked||void 0};else return(0,l.ZP)(!1,\"`checkedKeys` is not an array or an object\"),null;return mn}function dt(ln,mn){var fr=new Set;function ft(ct){if(!fr.has(ct)){var tn=mn[ct];if(tn){fr.add(ct);var An=tn.parent,Rt=tn.node;Rt.disabled||An&&ft(An.key)}}}return(ln||[]).forEach(function(ct){ft(ct)}),(0,w.Z)(fr)}function Lt(ln){if(ln==null)throw new TypeError(\"Cannot destructure \"+ln)}var lt=c(91600),rn=c(51206),qt=c(81676),hn=[\"className\",\"style\",\"motion\",\"motionNodes\",\"motionType\",\"onMotionStart\",\"onMotionEnd\",\"active\",\"treeNodeRequiredProps\"],Kt=function(mn,fr){var ft=mn.className,ct=mn.style,tn=mn.motion,An=mn.motionNodes,Rt=mn.motionType,un=mn.onMotionStart,Dn=mn.onMotionEnd,dr=mn.active,Ar=mn.treeNodeRequiredProps,Gr=(0,E.Z)(mn,hn),Pr=f.useState(!0),Xr=(0,lt.Z)(Pr,2),oo=Xr[0],io=Xr[1],to=f.useContext(M),To=to.prefixCls,jn=f.useRef(!1),W=function(){jn.current||Dn(),jn.current=!0};return(0,f.useEffect)(function(){An&&Rt===\"hide\"&&oo&&io(!1)},[An]),(0,f.useEffect)(function(){return An&&un(),function(){An&&W()}},[]),An?f.createElement(qt.Z,(0,r.Z)({ref:fr,visible:oo},tn,{motionAppear:Rt===\"show\",onAppearEnd:W,onLeaveEnd:W}),function(P,k){var z=P.className,Q=P.style;return f.createElement(\"div\",{ref:k,className:x()(\"\".concat(To,\"-treenode-motion\"),z),style:Q},An.map(function(F){var V=(0,r.Z)({},(Lt(F.data),F.data)),U=F.title,ge=F.key,ke=F.isStart,St=F.isEnd;delete V.children;var Je=De(ge,Ar);return f.createElement(ae,(0,r.Z)({},V,Je,{title:U,active:dr,data:F.data,key:ge,isStart:ke,isEnd:St}))}))}):f.createElement(ae,(0,r.Z)({domRef:fr,className:ft,style:ct},Gr,{active:dr}))};Kt.displayName=\"MotionTreeNode\";var an=f.forwardRef(Kt),In=an;function Ft(){var ln=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],mn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],fr=ln.length,ft=mn.length;if(Math.abs(fr-ft)!==1)return{add:!1,key:null};function ct(tn,An){var Rt=new Map;tn.forEach(function(Dn){Rt.set(Dn,!0)});var un=An.filter(function(Dn){return!Rt.has(Dn)});return un.length===1?un[0]:null}return fr<ft?{add:!0,key:ct(ln,mn)}:{add:!1,key:ct(mn,ln)}}function kt(ln,mn,fr){var ft=ln.findIndex(function(Rt){return Rt.key===fr}),ct=ln[ft+1],tn=mn.findIndex(function(Rt){return Rt.key===fr});if(ct){var An=mn.findIndex(function(Rt){return Rt.key===ct.key});return mn.slice(tn+1,An)}return mn.slice(tn+1)}var At=[\"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\"],Fn={width:0,height:0,display:\"flex\",overflow:\"hidden\",opacity:0,border:0,padding:0,margin:0},pn=function(){},en=\"RC_TREE_MOTION_\".concat(Math.random()),Wn={key:en},Mn={key:en,level:0,index:0,pos:\"0\",node:Wn,nodes:[Wn]},Kn={parent:null,children:[],pos:Mn.pos,data:Wn,title:null,key:en,isStart:[],isEnd:[]};function hr(ln,mn,fr,ft){return mn===!1||!fr?ln:ln.slice(0,Math.ceil(fr/ft)+1)}function pr(ln){var mn=ln.key,fr=ln.pos;return re(mn,fr)}function zr(ln){for(var mn=String(ln.data.key),fr=ln;fr.parent;)fr=fr.parent,mn=\"\".concat(fr.data.key,\" > \").concat(mn);return mn}var Wr=f.forwardRef(function(ln,mn){var fr=ln.prefixCls,ft=ln.data,ct=ln.selectable,tn=ln.checkable,An=ln.expandedKeys,Rt=ln.selectedKeys,un=ln.checkedKeys,Dn=ln.loadedKeys,dr=ln.loadingKeys,Ar=ln.halfCheckedKeys,Gr=ln.keyEntities,Pr=ln.disabled,Xr=ln.dragging,oo=ln.dragOverNodeKey,io=ln.dropPosition,to=ln.motion,To=ln.height,jn=ln.itemHeight,W=ln.virtual,P=ln.focusable,k=ln.activeItem,z=ln.focused,Q=ln.tabIndex,F=ln.onKeyDown,V=ln.onFocus,U=ln.onBlur,ge=ln.onActiveChange,ke=ln.onListChangeStart,St=ln.onListChangeEnd,Je=(0,E.Z)(ln,At),Ot=f.useRef(null),It=f.useRef(null);f.useImperativeHandle(mn,function(){return{scrollTo:function(Pi){Ot.current.scrollTo(Pi)},getIndentWidth:function(){return It.current.offsetWidth}}});var jt=f.useState(An),Vt=(0,lt.Z)(jt,2),Pn=Vt[0],Jn=Vt[1],vn=f.useState(ft),Vn=(0,lt.Z)(vn,2),zt=Vn[0],ir=Vn[1],nr=f.useState(ft),ur=(0,lt.Z)(nr,2),sr=ur[0],Ln=ur[1],Bt=f.useState([]),En=(0,lt.Z)(Bt,2),_n=En[0],cr=En[1],ao=f.useState(null),kr=(0,lt.Z)(ao,2),jo=kr[0],ui=kr[1],Vr=f.useRef(ft);Vr.current=ft;function ho(){var Go=Vr.current;ir(Go),Ln(Go),cr([]),ui(null),St()}f.useEffect(function(){Jn(An);var Go=Ft(Pn,An);if(Go.key!==null)if(Go.add){var Pi=zt.findIndex(function(Jo){var Ji=Jo.key;return Ji===Go.key}),la=hr(kt(zt,ft,Go.key),W,To,jn),Vi=zt.slice();Vi.splice(Pi+1,0,Kn),Ln(Vi),cr(la),ui(\"show\")}else{var ha=ft.findIndex(function(Jo){var Ji=Jo.key;return Ji===Go.key}),xa=hr(kt(ft,zt,Go.key),W,To,jn),qi=ft.slice();qi.splice(ha+1,0,Kn),Ln(qi),cr(xa),ui(\"hide\")}else zt!==ft&&(ir(ft),Ln(ft))},[An,ft]),f.useEffect(function(){Xr||ho()},[Xr]);var vo=to?sr:ft,uo={expandedKeys:An,selectedKeys:Rt,loadedKeys:Dn,loadingKeys:dr,checkedKeys:un,halfCheckedKeys:Ar,dragOverNodeKey:oo,dropPosition:io,keyEntities:Gr};return f.createElement(f.Fragment,null,z&&k&&f.createElement(\"span\",{style:Fn,\"aria-live\":\"assertive\"},zr(k)),f.createElement(\"div\",null,f.createElement(\"input\",{style:Fn,disabled:P===!1||Pr,tabIndex:P!==!1?Q:null,onKeyDown:F,onFocus:V,onBlur:U,value:\"\",onChange:pn,\"aria-label\":\"for screen reader\"})),f.createElement(\"div\",{className:\"\".concat(fr,\"-treenode\"),\"aria-hidden\":!0,style:{position:\"absolute\",pointerEvents:\"none\",visibility:\"hidden\",height:0,overflow:\"hidden\",border:0,padding:0}},f.createElement(\"div\",{className:\"\".concat(fr,\"-indent\")},f.createElement(\"div\",{ref:It,className:\"\".concat(fr,\"-indent-unit\")}))),f.createElement(rn.Z,(0,r.Z)({},Je,{data:vo,itemKey:pr,height:To,fullHeight:!1,virtual:W,itemHeight:jn,prefixCls:\"\".concat(fr,\"-list\"),ref:Ot,onVisibleChange:function(Pi,la){var Vi=new Set(Pi),ha=la.filter(function(xa){return!Vi.has(xa)});ha.some(function(xa){return pr(xa)===en})&&ho()}}),function(Go){var Pi=Go.pos,la=(0,r.Z)({},(Lt(Go.data),Go.data)),Vi=Go.title,ha=Go.key,xa=Go.isStart,qi=Go.isEnd,Jo=re(ha,Pi);delete la.key,delete la.children;var Ji=De(Jo,uo);return f.createElement(In,(0,r.Z)({},la,Ji,{title:Vi,active:!!k&&ha===k.key,pos:Pi,data:Go.data,isStart:xa,isEnd:qi,motion:to,motionNodes:ha===en?_n:null,motionType:jo,onMotionStart:ke,onMotionEnd:ho,treeNodeRequiredProps:uo,onMouseMove:function(){ge(null)}}))}))});Wr.displayName=\"NodeList\";var Nr=Wr;function Kr(ln,mn){var fr=new Set;return ln.forEach(function(ft){mn.has(ft)||fr.add(ft)}),fr}function ko(ln){var mn=ln||{},fr=mn.disabled,ft=mn.disableCheckbox,ct=mn.checkable;return!!(fr||ft)||ct===!1}function Ur(ln,mn,fr,ft){for(var ct=new Set(ln),tn=new Set,An=0;An<=fr;An+=1){var Rt=mn.get(An)||new Set;Rt.forEach(function(Ar){var Gr=Ar.key,Pr=Ar.node,Xr=Ar.children,oo=Xr===void 0?[]:Xr;ct.has(Gr)&&!ft(Pr)&&oo.filter(function(io){return!ft(io.node)}).forEach(function(io){ct.add(io.key)})})}for(var un=new Set,Dn=fr;Dn>=0;Dn-=1){var dr=mn.get(Dn)||new Set;dr.forEach(function(Ar){var Gr=Ar.parent,Pr=Ar.node;if(!(ft(Pr)||!Ar.parent||un.has(Ar.parent.key))){if(ft(Ar.parent.node)){un.add(Gr.key);return}var Xr=!0,oo=!1;(Gr.children||[]).filter(function(io){return!ft(io.node)}).forEach(function(io){var to=io.key,To=ct.has(to);Xr&&!To&&(Xr=!1),!oo&&(To||tn.has(to))&&(oo=!0)}),Xr&&ct.add(Gr.key),oo&&tn.add(Gr.key),un.add(Gr.key)}})}return{checkedKeys:Array.from(ct),halfCheckedKeys:Array.from(Kr(tn,ct))}}function gn(ln,mn,fr,ft,ct){for(var tn=new Set(ln),An=new Set(mn),Rt=0;Rt<=ft;Rt+=1){var un=fr.get(Rt)||new Set;un.forEach(function(Gr){var Pr=Gr.key,Xr=Gr.node,oo=Gr.children,io=oo===void 0?[]:oo;!tn.has(Pr)&&!An.has(Pr)&&!ct(Xr)&&io.filter(function(to){return!ct(to.node)}).forEach(function(to){tn.delete(to.key)})})}An=new Set;for(var Dn=new Set,dr=ft;dr>=0;dr-=1){var Ar=fr.get(dr)||new Set;Ar.forEach(function(Gr){var Pr=Gr.parent,Xr=Gr.node;if(!(ct(Xr)||!Gr.parent||Dn.has(Gr.parent.key))){if(ct(Gr.parent.node)){Dn.add(Pr.key);return}var oo=!0,io=!1;(Pr.children||[]).filter(function(to){return!ct(to.node)}).forEach(function(to){var To=to.key,jn=tn.has(To);oo&&!jn&&(oo=!1),!io&&(jn||An.has(To))&&(io=!0)}),oo||tn.delete(Pr.key),io&&An.add(Pr.key),Dn.add(Pr.key)}})}return{checkedKeys:Array.from(tn),halfCheckedKeys:Array.from(Kr(An,tn))}}function Gt(ln,mn,fr,ft){var ct=[],tn;ft?tn=ft:tn=ko;var An=new Set(ln.filter(function(dr){var Ar=!!fr[dr];return Ar||ct.push(dr),Ar})),Rt=new Map,un=0;Object.keys(fr).forEach(function(dr){var Ar=fr[dr],Gr=Ar.level,Pr=Rt.get(Gr);Pr||(Pr=new Set,Rt.set(Gr,Pr)),Pr.add(Ar),un=Math.max(un,Gr)}),(0,l.ZP)(!ct.length,\"Tree missing follow keys: \".concat(ct.slice(0,100).map(function(dr){return\"'\".concat(dr,\"'\")}).join(\", \")));var Dn;return mn===!0?Dn=Ur(An,Rt,un,tn):Dn=gn(An,mn.halfCheckedKeys,Rt,un,tn),Dn}function bt(ln){var mn=ln.dropPosition,fr=ln.dropLevelOffset,ft=ln.indent,ct={pointerEvents:\"none\",position:\"absolute\",right:0,backgroundColor:\"red\",height:2};switch(mn){case-1:ct.top=0,ct.left=-fr*ft;break;case 1:ct.bottom=0,ct.left=-fr*ft;break;case 0:ct.bottom=0,ct.left=ft;break}return f.createElement(\"div\",{style:ct})}var Zt=10,gt=function(ln){(0,u.Z)(fr,ln);var mn=(0,a.Z)(fr);function fr(){var ft;(0,O.Z)(this,fr);for(var ct=arguments.length,tn=new Array(ct),An=0;An<ct;An++)tn[An]=arguments[An];return ft=mn.call.apply(mn,[this].concat(tn)),ft.destroyed=!1,ft.delayedDragEnterLogic=void 0,ft.loadingRetryTimes={},ft.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:me()},ft.dragStartMousePosition=null,ft.dragNode=void 0,ft.currentMouseOverDroppableNodeKey=null,ft.listRef=f.createRef(),ft.onNodeDragStart=function(Rt,un){var Dn=ft.state,dr=Dn.expandedKeys,Ar=Dn.keyEntities,Gr=ft.props.onDragStart,Pr=un.props.eventKey;ft.dragNode=un,ft.dragStartMousePosition={x:Rt.clientX,y:Rt.clientY};var Xr=X(dr,Pr);ft.setState({draggingNodeKey:Pr,dragChildrenKeys:We(Pr,Ar),indent:ft.listRef.current.getIndentWidth()}),ft.setExpandedKeys(Xr),window.addEventListener(\"dragend\",ft.onWindowDragEnd),Gr==null||Gr({event:Rt,node:ce(un.props)})},ft.onNodeDragEnter=function(Rt,un){var Dn=ft.state,dr=Dn.expandedKeys,Ar=Dn.keyEntities,Gr=Dn.dragChildrenKeys,Pr=Dn.flattenNodes,Xr=Dn.indent,oo=ft.props,io=oo.onDragEnter,to=oo.onExpand,To=oo.allowDrop,jn=oo.direction,W=un.props,P=W.pos,k=W.eventKey,z=(0,p.Z)(ft),Q=z.dragNode;if(ft.currentMouseOverDroppableNodeKey!==k&&(ft.currentMouseOverDroppableNodeKey=k),!Q){ft.resetDragState();return}var F=Ve(Rt,Q,un,Xr,ft.dragStartMousePosition,To,Pr,Ar,dr,jn),V=F.dropPosition,U=F.dropLevelOffset,ge=F.dropTargetKey,ke=F.dropContainerKey,St=F.dropTargetPos,Je=F.dropAllowed,Ot=F.dragOverNodeKey;if(Gr.indexOf(ge)!==-1||!Je){ft.resetDragState();return}if(ft.delayedDragEnterLogic||(ft.delayedDragEnterLogic={}),Object.keys(ft.delayedDragEnterLogic).forEach(function(It){clearTimeout(ft.delayedDragEnterLogic[It])}),Q.props.eventKey!==un.props.eventKey&&(Rt.persist(),ft.delayedDragEnterLogic[P]=window.setTimeout(function(){if(ft.state.draggingNodeKey!==null){var It=(0,w.Z)(dr),jt=Ar[un.props.eventKey];jt&&(jt.children||[]).length&&(It=se(dr,un.props.eventKey)),\"expandedKeys\"in ft.props||ft.setExpandedKeys(It),to==null||to(It,{node:ce(un.props),expanded:!0,nativeEvent:Rt.nativeEvent})}},800)),Q.props.eventKey===ge&&U===0){ft.resetDragState();return}ft.setState({dragOverNodeKey:Ot,dropPosition:V,dropLevelOffset:U,dropTargetKey:ge,dropContainerKey:ke,dropTargetPos:St,dropAllowed:Je}),io==null||io({event:Rt,node:ce(un.props),expandedKeys:dr})},ft.onNodeDragOver=function(Rt,un){var Dn=ft.state,dr=Dn.dragChildrenKeys,Ar=Dn.flattenNodes,Gr=Dn.keyEntities,Pr=Dn.expandedKeys,Xr=Dn.indent,oo=ft.props,io=oo.onDragOver,to=oo.allowDrop,To=oo.direction,jn=(0,p.Z)(ft),W=jn.dragNode;if(W){var P=Ve(Rt,W,un,Xr,ft.dragStartMousePosition,to,Ar,Gr,Pr,To),k=P.dropPosition,z=P.dropLevelOffset,Q=P.dropTargetKey,F=P.dropContainerKey,V=P.dropAllowed,U=P.dropTargetPos,ge=P.dragOverNodeKey;dr.indexOf(Q)!==-1||!V||(W.props.eventKey===Q&&z===0?ft.state.dropPosition===null&&ft.state.dropLevelOffset===null&&ft.state.dropTargetKey===null&&ft.state.dropContainerKey===null&&ft.state.dropTargetPos===null&&ft.state.dropAllowed===!1&&ft.state.dragOverNodeKey===null||ft.resetDragState():k===ft.state.dropPosition&&z===ft.state.dropLevelOffset&&Q===ft.state.dropTargetKey&&F===ft.state.dropContainerKey&&U===ft.state.dropTargetPos&&V===ft.state.dropAllowed&&ge===ft.state.dragOverNodeKey||ft.setState({dropPosition:k,dropLevelOffset:z,dropTargetKey:Q,dropContainerKey:F,dropTargetPos:U,dropAllowed:V,dragOverNodeKey:ge}),io==null||io({event:Rt,node:ce(un.props)}))}},ft.onNodeDragLeave=function(Rt,un){ft.currentMouseOverDroppableNodeKey===un.props.eventKey&&!Rt.currentTarget.contains(Rt.relatedTarget)&&(ft.resetDragState(),ft.currentMouseOverDroppableNodeKey=null);var Dn=ft.props.onDragLeave;Dn==null||Dn({event:Rt,node:ce(un.props)})},ft.onWindowDragEnd=function(Rt){ft.onNodeDragEnd(Rt,null,!0),window.removeEventListener(\"dragend\",ft.onWindowDragEnd)},ft.onNodeDragEnd=function(Rt,un){var Dn=ft.props.onDragEnd;ft.setState({dragOverNodeKey:null}),ft.cleanDragState(),Dn==null||Dn({event:Rt,node:ce(un.props)}),ft.dragNode=null,window.removeEventListener(\"dragend\",ft.onWindowDragEnd)},ft.onNodeDrop=function(Rt,un){var Dn,dr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Ar=ft.state,Gr=Ar.dragChildrenKeys,Pr=Ar.dropPosition,Xr=Ar.dropTargetKey,oo=Ar.dropTargetPos,io=Ar.dropAllowed;if(io){var to=ft.props.onDrop;if(ft.setState({dragOverNodeKey:null}),ft.cleanDragState(),Xr!==null){var To=(0,C.Z)((0,C.Z)({},De(Xr,ft.getTreeNodeRequiredProps())),{},{active:((Dn=ft.getActiveItem())===null||Dn===void 0?void 0:Dn.key)===Xr,data:ft.state.keyEntities[Xr].node}),jn=Gr.indexOf(Xr)!==-1;(0,l.ZP)(!jn,\"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.\");var W=fe(oo),P={event:Rt,node:ce(To),dragNode:ft.dragNode?ce(ft.dragNode.props):null,dragNodesKeys:[ft.dragNode.props.eventKey].concat(Gr),dropToGap:Pr!==0,dropPosition:Pr+Number(W[W.length-1])};dr||to==null||to(P),ft.dragNode=null}}},ft.cleanDragState=function(){var Rt=ft.state.draggingNodeKey;Rt!==null&&ft.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),ft.dragStartMousePosition=null,ft.currentMouseOverDroppableNodeKey=null},ft.triggerExpandActionExpand=function(Rt,un){var Dn=ft.state,dr=Dn.expandedKeys,Ar=Dn.flattenNodes,Gr=un.expanded,Pr=un.key,Xr=un.isLeaf;if(!(Xr||Rt.shiftKey||Rt.metaKey||Rt.ctrlKey)){var oo=Ar.filter(function(to){return to.key===Pr})[0],io=ce((0,C.Z)((0,C.Z)({},De(Pr,ft.getTreeNodeRequiredProps())),{},{data:oo.data}));ft.setExpandedKeys(Gr?X(dr,Pr):se(dr,Pr)),ft.onNodeExpand(Rt,io)}},ft.onNodeClick=function(Rt,un){var Dn=ft.props,dr=Dn.onClick,Ar=Dn.expandAction;Ar===\"click\"&&ft.triggerExpandActionExpand(Rt,un),dr==null||dr(Rt,un)},ft.onNodeDoubleClick=function(Rt,un){var Dn=ft.props,dr=Dn.onDoubleClick,Ar=Dn.expandAction;Ar===\"doubleClick\"&&ft.triggerExpandActionExpand(Rt,un),dr==null||dr(Rt,un)},ft.onNodeSelect=function(Rt,un){var Dn=ft.state.selectedKeys,dr=ft.state,Ar=dr.keyEntities,Gr=dr.fieldNames,Pr=ft.props,Xr=Pr.onSelect,oo=Pr.multiple,io=un.selected,to=un[Gr.key],To=!io;To?oo?Dn=se(Dn,to):Dn=[to]:Dn=X(Dn,to);var jn=Dn.map(function(W){var P=Ar[W];return P?P.node:null}).filter(function(W){return W});ft.setUncontrolledState({selectedKeys:Dn}),Xr==null||Xr(Dn,{event:\"select\",selected:To,node:un,selectedNodes:jn,nativeEvent:Rt.nativeEvent})},ft.onNodeCheck=function(Rt,un,Dn){var dr=ft.state,Ar=dr.keyEntities,Gr=dr.checkedKeys,Pr=dr.halfCheckedKeys,Xr=ft.props,oo=Xr.checkStrictly,io=Xr.onCheck,to=un.key,To,jn={event:\"check\",node:un,checked:Dn,nativeEvent:Rt.nativeEvent};if(oo){var W=Dn?se(Gr,to):X(Gr,to),P=X(Pr,to);To={checked:W,halfChecked:P},jn.checkedNodes=W.map(function(U){return Ar[U]}).filter(function(U){return U}).map(function(U){return U.node}),ft.setUncontrolledState({checkedKeys:W})}else{var k=Gt([].concat((0,w.Z)(Gr),[to]),!0,Ar),z=k.checkedKeys,Q=k.halfCheckedKeys;if(!Dn){var F=new Set(z);F.delete(to);var V=Gt(Array.from(F),{checked:!1,halfCheckedKeys:Q},Ar);z=V.checkedKeys,Q=V.halfCheckedKeys}To=z,jn.checkedNodes=[],jn.checkedNodesPositions=[],jn.halfCheckedKeys=Q,z.forEach(function(U){var ge=Ar[U];if(ge){var ke=ge.node,St=ge.pos;jn.checkedNodes.push(ke),jn.checkedNodesPositions.push({node:ke,pos:St})}}),ft.setUncontrolledState({checkedKeys:z},!1,{halfCheckedKeys:Q})}io==null||io(To,jn)},ft.onNodeLoad=function(Rt){var un=Rt.key,Dn=new Promise(function(dr,Ar){ft.setState(function(Gr){var Pr=Gr.loadedKeys,Xr=Pr===void 0?[]:Pr,oo=Gr.loadingKeys,io=oo===void 0?[]:oo,to=ft.props,To=to.loadData,jn=to.onLoad;if(!To||Xr.indexOf(un)!==-1||io.indexOf(un)!==-1)return null;var W=To(Rt);return W.then(function(){var P=ft.state.loadedKeys,k=se(P,un);jn==null||jn(k,{event:\"load\",node:Rt}),ft.setUncontrolledState({loadedKeys:k}),ft.setState(function(z){return{loadingKeys:X(z.loadingKeys,un)}}),dr()}).catch(function(P){if(ft.setState(function(z){return{loadingKeys:X(z.loadingKeys,un)}}),ft.loadingRetryTimes[un]=(ft.loadingRetryTimes[un]||0)+1,ft.loadingRetryTimes[un]>=Zt){var k=ft.state.loadedKeys;(0,l.ZP)(!1,\"Retry for `loadData` many times but still failed. No more retry.\"),ft.setUncontrolledState({loadedKeys:se(k,un)}),dr()}Ar(P)}),{loadingKeys:se(io,un)}})});return Dn.catch(function(){}),Dn},ft.onNodeMouseEnter=function(Rt,un){var Dn=ft.props.onMouseEnter;Dn==null||Dn({event:Rt,node:un})},ft.onNodeMouseLeave=function(Rt,un){var Dn=ft.props.onMouseLeave;Dn==null||Dn({event:Rt,node:un})},ft.onNodeContextMenu=function(Rt,un){var Dn=ft.props.onRightClick;Dn&&(Rt.preventDefault(),Dn({event:Rt,node:un}))},ft.onFocus=function(){var Rt=ft.props.onFocus;ft.setState({focused:!0});for(var un=arguments.length,Dn=new Array(un),dr=0;dr<un;dr++)Dn[dr]=arguments[dr];Rt==null||Rt.apply(void 0,Dn)},ft.onBlur=function(){var Rt=ft.props.onBlur;ft.setState({focused:!1}),ft.onActiveChange(null);for(var un=arguments.length,Dn=new Array(un),dr=0;dr<un;dr++)Dn[dr]=arguments[dr];Rt==null||Rt.apply(void 0,Dn)},ft.getTreeNodeRequiredProps=function(){var Rt=ft.state,un=Rt.expandedKeys,Dn=Rt.selectedKeys,dr=Rt.loadedKeys,Ar=Rt.loadingKeys,Gr=Rt.checkedKeys,Pr=Rt.halfCheckedKeys,Xr=Rt.dragOverNodeKey,oo=Rt.dropPosition,io=Rt.keyEntities;return{expandedKeys:un||[],selectedKeys:Dn||[],loadedKeys:dr||[],loadingKeys:Ar||[],checkedKeys:Gr||[],halfCheckedKeys:Pr||[],dragOverNodeKey:Xr,dropPosition:oo,keyEntities:io}},ft.setExpandedKeys=function(Rt){var un=ft.state,Dn=un.treeData,dr=un.fieldNames,Ar=xe(Dn,Rt,dr);ft.setUncontrolledState({expandedKeys:Rt,flattenNodes:Ar},!0)},ft.onNodeExpand=function(Rt,un){var Dn=ft.state.expandedKeys,dr=ft.state,Ar=dr.listChanging,Gr=dr.fieldNames,Pr=ft.props,Xr=Pr.onExpand,oo=Pr.loadData,io=un.expanded,to=un[Gr.key];if(!Ar){var To=Dn.indexOf(to),jn=!io;if((0,l.ZP)(io&&To!==-1||!io&&To===-1,\"Expand state not sync with index check\"),jn?Dn=se(Dn,to):Dn=X(Dn,to),ft.setExpandedKeys(Dn),Xr==null||Xr(Dn,{node:un,expanded:jn,nativeEvent:Rt.nativeEvent}),jn&&oo){var W=ft.onNodeLoad(un);W&&W.then(function(){var P=xe(ft.state.treeData,Dn,Gr);ft.setUncontrolledState({flattenNodes:P})}).catch(function(){var P=ft.state.expandedKeys,k=X(P,to);ft.setExpandedKeys(k)})}}},ft.onListChangeStart=function(){ft.setUncontrolledState({listChanging:!0})},ft.onListChangeEnd=function(){setTimeout(function(){ft.setUncontrolledState({listChanging:!1})})},ft.onActiveChange=function(Rt){var un=ft.state.activeKey,Dn=ft.props.onActiveChange;un!==Rt&&(ft.setState({activeKey:Rt}),Rt!==null&&ft.scrollTo({key:Rt}),Dn==null||Dn(Rt))},ft.getActiveItem=function(){var Rt=ft.state,un=Rt.activeKey,Dn=Rt.flattenNodes;return un===null?null:Dn.find(function(dr){var Ar=dr.key;return Ar===un})||null},ft.offsetActiveKey=function(Rt){var un=ft.state,Dn=un.flattenNodes,dr=un.activeKey,Ar=Dn.findIndex(function(Xr){var oo=Xr.key;return oo===dr});Ar===-1&&Rt<0&&(Ar=Dn.length),Ar=(Ar+Rt+Dn.length)%Dn.length;var Gr=Dn[Ar];if(Gr){var Pr=Gr.key;ft.onActiveChange(Pr)}else ft.onActiveChange(null)},ft.onKeyDown=function(Rt){var un=ft.state,Dn=un.activeKey,dr=un.expandedKeys,Ar=un.checkedKeys,Gr=un.fieldNames,Pr=ft.props,Xr=Pr.onKeyDown,oo=Pr.checkable,io=Pr.selectable;switch(Rt.which){case h.Z.UP:{ft.offsetActiveKey(-1),Rt.preventDefault();break}case h.Z.DOWN:{ft.offsetActiveKey(1),Rt.preventDefault();break}}var to=ft.getActiveItem();if(to&&to.data){var To=ft.getTreeNodeRequiredProps(),jn=to.data.isLeaf===!1||!!(to.data[Gr.children]||[]).length,W=ce((0,C.Z)((0,C.Z)({},De(Dn,To)),{},{data:to.data,active:!0}));switch(Rt.which){case h.Z.LEFT:{jn&&dr.includes(Dn)?ft.onNodeExpand({},W):to.parent&&ft.onActiveChange(to.parent.key),Rt.preventDefault();break}case h.Z.RIGHT:{jn&&!dr.includes(Dn)?ft.onNodeExpand({},W):to.children&&to.children.length&&ft.onActiveChange(to.children[0].key),Rt.preventDefault();break}case h.Z.ENTER:case h.Z.SPACE:{oo&&!W.disabled&&W.checkable!==!1&&!W.disableCheckbox?ft.onNodeCheck({},W,!Ar.includes(Dn)):!oo&&io&&!W.disabled&&W.selectable!==!1&&ft.onNodeSelect({},W);break}}}Xr==null||Xr(Rt)},ft.setUncontrolledState=function(Rt){var un=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Dn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!ft.destroyed){var dr=!1,Ar=!0,Gr={};Object.keys(Rt).forEach(function(Pr){if(Pr in ft.props){Ar=!1;return}dr=!0,Gr[Pr]=Rt[Pr]}),dr&&(!un||Ar)&&ft.setState((0,C.Z)((0,C.Z)({},Gr),Dn))}},ft.scrollTo=function(Rt){ft.listRef.current.scrollTo(Rt)},ft}return(0,b.Z)(fr,[{key:\"componentDidMount\",value:function(){this.destroyed=!1,this.onUpdated()}},{key:\"componentDidUpdate\",value:function(){this.onUpdated()}},{key:\"onUpdated\",value:function(){var ct=this.props.activeKey;ct!==void 0&&ct!==this.state.activeKey&&(this.setState({activeKey:ct}),ct!==null&&this.scrollTo({key:ct}))}},{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 ct,tn=this.state,An=tn.focused,Rt=tn.flattenNodes,un=tn.keyEntities,Dn=tn.draggingNodeKey,dr=tn.activeKey,Ar=tn.dropLevelOffset,Gr=tn.dropContainerKey,Pr=tn.dropTargetKey,Xr=tn.dropPosition,oo=tn.dragOverNodeKey,io=tn.indent,to=this.props,To=to.prefixCls,jn=to.className,W=to.style,P=to.showLine,k=to.focusable,z=to.tabIndex,Q=z===void 0?0:z,F=to.selectable,V=to.showIcon,U=to.icon,ge=to.switcherIcon,ke=to.draggable,St=to.checkable,Je=to.checkStrictly,Ot=to.disabled,It=to.motion,jt=to.loadData,Vt=to.filterTreeNode,Pn=to.height,Jn=to.itemHeight,vn=to.virtual,Vn=to.titleRender,zt=to.dropIndicatorRender,ir=to.onContextMenu,nr=to.onScroll,ur=to.direction,sr=to.rootClassName,Ln=to.rootStyle,Bt=(0,s.Z)(this.props,{aria:!0,data:!0}),En;return ke&&((0,N.Z)(ke)===\"object\"?En=ke:typeof ke==\"function\"?En={nodeDraggable:ke}:En={}),f.createElement(M.Provider,{value:{prefixCls:To,selectable:F,showIcon:V,icon:U,switcherIcon:ge,draggable:En,draggingNodeKey:Dn,checkable:St,checkStrictly:Je,disabled:Ot,keyEntities:un,dropLevelOffset:Ar,dropContainerKey:Gr,dropTargetKey:Pr,dropPosition:Xr,dragOverNodeKey:oo,indent:io,direction:ur,dropIndicatorRender:zt,loadData:jt,filterTreeNode:Vt,titleRender:Vn,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}},f.createElement(\"div\",{role:\"tree\",className:x()(To,jn,sr,(ct={},(0,y.Z)(ct,\"\".concat(To,\"-show-line\"),P),(0,y.Z)(ct,\"\".concat(To,\"-focused\"),An),(0,y.Z)(ct,\"\".concat(To,\"-active-focused\"),dr!==null),ct)),style:Ln},f.createElement(Nr,(0,r.Z)({ref:this.listRef,prefixCls:To,style:W,data:Rt,disabled:Ot,selectable:F,checkable:!!St,motion:It,dragging:Dn!==null,height:Pn,itemHeight:Jn,virtual:vn,focusable:k,focused:An,tabIndex:Q,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:ir,onScroll:nr},this.getTreeNodeRequiredProps(),Bt))))}}],[{key:\"getDerivedStateFromProps\",value:function(ct,tn){var An=tn.prevProps,Rt={prevProps:ct};function un(k){return!An&&k in ct||An&&An[k]!==ct[k]}var Dn,dr=tn.fieldNames;if(un(\"fieldNames\")&&(dr=me(ct.fieldNames),Rt.fieldNames=dr),un(\"treeData\")?Dn=ct.treeData:un(\"children\")&&((0,l.ZP)(!1,\"`children` of Tree is deprecated. Please use `treeData` instead.\"),Dn=ee(ct.children)),Dn){Rt.treeData=Dn;var Ar=Le(Dn,{fieldNames:dr});Rt.keyEntities=(0,C.Z)((0,y.Z)({},en,Mn),Ar.keyEntities)}var Gr=Rt.keyEntities||tn.keyEntities;if(un(\"expandedKeys\")||An&&un(\"autoExpandParent\"))Rt.expandedKeys=ct.autoExpandParent||!An&&ct.defaultExpandParent?dt(ct.expandedKeys,Gr):ct.expandedKeys;else if(!An&&ct.defaultExpandAll){var Pr=(0,C.Z)({},Gr);delete Pr[en],Rt.expandedKeys=Object.keys(Pr).map(function(k){return Pr[k].key})}else!An&&ct.defaultExpandedKeys&&(Rt.expandedKeys=ct.autoExpandParent||ct.defaultExpandParent?dt(ct.defaultExpandedKeys,Gr):ct.defaultExpandedKeys);if(Rt.expandedKeys||delete Rt.expandedKeys,Dn||Rt.expandedKeys){var Xr=xe(Dn||tn.treeData,Rt.expandedKeys||tn.expandedKeys,dr);Rt.flattenNodes=Xr}if(ct.selectable&&(un(\"selectedKeys\")?Rt.selectedKeys=et(ct.selectedKeys,ct):!An&&ct.defaultSelectedKeys&&(Rt.selectedKeys=et(ct.defaultSelectedKeys,ct))),ct.checkable){var oo;if(un(\"checkedKeys\")?oo=mt(ct.checkedKeys)||{}:!An&&ct.defaultCheckedKeys?oo=mt(ct.defaultCheckedKeys)||{}:Dn&&(oo=mt(ct.checkedKeys)||{checkedKeys:tn.checkedKeys,halfCheckedKeys:tn.halfCheckedKeys}),oo){var io=oo,to=io.checkedKeys,To=to===void 0?[]:to,jn=io.halfCheckedKeys,W=jn===void 0?[]:jn;if(!ct.checkStrictly){var P=Gt(To,!0,Gr);To=P.checkedKeys,W=P.halfCheckedKeys}Rt.checkedKeys=To,Rt.halfCheckedKeys=W}}return un(\"loadedKeys\")&&(Rt.loadedKeys=ct.loadedKeys),Rt}}]),fr}(f.Component);gt.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:bt,allowDrop:function(){return!0},expandAction:!1},gt.TreeNode=ae;var Wt=gt,xn=Wt,Dt={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\"},Xn=Dt,Rn=c(58649),wt=function(mn,fr){return f.createElement(Rn.Z,(0,C.Z)((0,C.Z)({},mn),{},{ref:fr,icon:Xn}))};wt.displayName=\"HolderOutlined\";var pt=f.forwardRef(wt),Ue=c(35531),xt=c(48515);const cn=4;function er(ln){const{dropPosition:mn,dropLevelOffset:fr,prefixCls:ft,indent:ct,direction:tn=\"ltr\"}=ln,An=tn===\"ltr\"?\"left\":\"right\",Rt=tn===\"ltr\"?\"right\":\"left\",un={[An]:-fr*ct+cn,[Rt]:0};switch(mn){case-1:un.top=-3;break;case 1:un.bottom=-3;break;default:un.bottom=-3,un[An]=ct+cn;break}return f.createElement(\"div\",{style:un,className:`${ft}-drop-indicator`})}var Mr={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\"},xr=Mr,jr=function(mn,fr){return f.createElement(Rn.Z,(0,C.Z)((0,C.Z)({},mn),{},{ref:fr,icon:xr}))};jr.displayName=\"CaretDownFilled\";var yo=f.forwardRef(jr),eo={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\"},vi=eo,Ti=function(mn,fr){return f.createElement(Rn.Z,(0,C.Z)((0,C.Z)({},mn),{},{ref:fr,icon:vi}))};Ti.displayName=\"FileOutlined\";var wi=f.forwardRef(Ti),mi=c(19e3),Zi={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\"},aa=Zi,$e=function(mn,fr){return f.createElement(Rn.Z,(0,C.Z)((0,C.Z)({},mn),{},{ref:fr,icon:aa}))};$e.displayName=\"MinusSquareOutlined\";var dn=f.forwardRef($e),Un={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\"},ar=Un,Rr=function(mn,fr){return f.createElement(Rn.Z,(0,C.Z)((0,C.Z)({},mn),{},{ref:fr,icon:ar}))};Rr.displayName=\"PlusSquareOutlined\";var Ro=f.forwardRef(Rr),Vo=c(42912);function Co(ln,mn,fr,ft){const{isLeaf:ct,expanded:tn,loading:An}=fr;if(An)return f.createElement(mi.Z,{className:`${ln}-switcher-loading-icon`});let Rt;if(ft&&typeof ft==\"object\"&&(Rt=ft.showLeafIcon),ct){if(!ft)return null;if(typeof Rt!=\"boolean\"&&Rt){const dr=typeof Rt==\"function\"?Rt(fr):Rt,Ar=`${ln}-switcher-line-custom-icon`;return(0,Vo.l$)(dr)?(0,Vo.Tm)(dr,{className:x()(dr.props.className||\"\",Ar)}):dr}return Rt?f.createElement(wi,{className:`${ln}-switcher-line-icon`}):f.createElement(\"span\",{className:`${ln}-switcher-leaf-line`})}const un=`${ln}-switcher-icon`,Dn=typeof mn==\"function\"?mn(fr):mn;return(0,Vo.l$)(Dn)?(0,Vo.Tm)(Dn,{className:x()(Dn.props.className||\"\",un)}):Dn||(ft?tn?f.createElement(dn,{className:`${ln}-switcher-line-icon`}):f.createElement(Ro,{className:`${ln}-switcher-line-icon`}):f.createElement(yo,{className:un}))}var Mo=c(8439),qo=c(74820),ti=c(42550),pi=c(72267),ni=c(92220);const si=new Mo.E4(\"antCheckboxEffect\",{\"0%\":{transform:\"scale(1)\",opacity:.5},\"100%\":{transform:\"scale(1.6)\",opacity:0}}),Oi=ln=>{const{checkboxCls:mn}=ln,fr=`${mn}-wrapper`;return[{[`${mn}-group`]:Object.assign(Object.assign({},(0,ni.Wf)(ln)),{display:\"inline-flex\"}),[fr]:Object.assign(Object.assign({},(0,ni.Wf)(ln)),{display:\"inline-flex\",alignItems:\"baseline\",cursor:\"pointer\",\"&:after\":{display:\"inline-block\",width:0,overflow:\"hidden\",content:\"'\\\\a0'\"},[`& + ${fr}`]:{marginInlineStart:ln.marginXS},[`&${fr}-in-form-item`]:{'input[type=\"checkbox\"]':{width:14,height:14}}}),[mn]:Object.assign(Object.assign({},(0,ni.Wf)(ln)),{top:\"0.2em\",position:\"relative\",whiteSpace:\"nowrap\",lineHeight:1,cursor:\"pointer\",[`${mn}-input`]:{position:\"absolute\",inset:0,zIndex:1,width:\"100%\",height:\"100%\",cursor:\"pointer\",opacity:0,[`&:focus-visible + ${mn}-inner`]:Object.assign({},(0,ni.oN)(ln))},[`${mn}-inner`]:{boxSizing:\"border-box\",position:\"relative\",top:0,insetInlineStart:0,display:\"block\",width:ln.checkboxSize,height:ln.checkboxSize,direction:\"ltr\",backgroundColor:ln.colorBgContainer,border:`${ln.lineWidth}px ${ln.lineType} ${ln.colorBorder}`,borderRadius:ln.borderRadiusSM,borderCollapse:\"separate\",transition:`all ${ln.motionDurationSlow}`,\"&:after\":{boxSizing:\"border-box\",position:\"absolute\",top:\"50%\",insetInlineStart:\"21.5%\",display:\"table\",width:ln.checkboxSize/14*5,height:ln.checkboxSize/14*8,border:`${ln.lineWidthBold}px solid ${ln.colorWhite}`,borderTop:0,borderInlineStart:0,transform:\"rotate(45deg) scale(0) translate(-50%,-50%)\",opacity:0,content:'\"\"',transition:`all ${ln.motionDurationFast} ${ln.motionEaseInBack}, opacity ${ln.motionDurationFast}`}},\"& + span\":{paddingInlineStart:ln.paddingXS,paddingInlineEnd:ln.paddingXS}})},{[mn]:{\"&-indeterminate\":{[`${mn}-inner`]:{\"&:after\":{top:\"50%\",insetInlineStart:\"50%\",width:ln.fontSizeLG/2,height:ln.fontSizeLG/2,backgroundColor:ln.colorPrimary,border:0,transform:\"translate(-50%, -50%) scale(1)\",opacity:1,content:'\"\"'}}}}},{[`${fr}:hover ${mn}:after`]:{visibility:\"visible\"},[`\n        ${fr}:not(${fr}-disabled),\n        ${mn}:not(${mn}-disabled)\n      `]:{[`&:hover ${mn}-inner`]:{borderColor:ln.colorPrimary}},[`${fr}:not(${fr}-disabled)`]:{[`&:hover ${mn}-checked:not(${mn}-disabled) ${mn}-inner`]:{backgroundColor:ln.colorPrimaryHover,borderColor:\"transparent\"},[`&:hover ${mn}-checked:not(${mn}-disabled):after`]:{borderColor:ln.colorPrimaryHover}}},{[`${mn}-checked`]:{[`${mn}-inner`]:{backgroundColor:ln.colorPrimary,borderColor:ln.colorPrimary,\"&:after\":{opacity:1,transform:\"rotate(45deg) scale(1) translate(-50%,-50%)\",transition:`all ${ln.motionDurationMid} ${ln.motionEaseOutBack} ${ln.motionDurationFast}`}},\"&:after\":{position:\"absolute\",top:0,insetInlineStart:0,width:\"100%\",height:\"100%\",borderRadius:ln.borderRadiusSM,visibility:\"hidden\",border:`${ln.lineWidthBold}px solid ${ln.colorPrimary}`,animationName:si,animationDuration:ln.motionDurationSlow,animationTimingFunction:\"ease-in-out\",animationFillMode:\"backwards\",content:'\"\"',transition:`all ${ln.motionDurationSlow}`}},[`\n        ${fr}-checked:not(${fr}-disabled),\n        ${mn}-checked:not(${mn}-disabled)\n      `]:{[`&:hover ${mn}-inner`]:{backgroundColor:ln.colorPrimaryHover,borderColor:\"transparent\"},[`&:hover ${mn}:after`]:{borderColor:ln.colorPrimaryHover}}},{[`${fr}-disabled`]:{cursor:\"not-allowed\"},[`${mn}-disabled`]:{[`&, ${mn}-input`]:{cursor:\"not-allowed\",pointerEvents:\"none\"},[`${mn}-inner`]:{background:ln.colorBgContainerDisabled,borderColor:ln.colorBorder,\"&:after\":{borderColor:ln.colorTextDisabled}},\"&:after\":{display:\"none\"},\"& + span\":{color:ln.colorTextDisabled},[`&${mn}-indeterminate ${mn}-inner::after`]:{background:ln.colorTextDisabled}}}]};function Ki(ln,mn){const fr=(0,ti.TS)(mn,{checkboxCls:`.${ln}`,checkboxSize:mn.controlInteractiveSize});return[Oi(fr)]}var ca=(0,pi.Z)(\"Checkbox\",(ln,mn)=>{let{prefixCls:fr}=mn;return[Ki(fr,ln)]});const zi=new Mo.E4(\"ant-tree-node-fx-do-not-use\",{\"0%\":{opacity:0},\"100%\":{opacity:1}}),br=(ln,mn)=>({[`.${ln}-switcher-icon`]:{display:\"inline-block\",fontSize:10,verticalAlign:\"baseline\",svg:{transition:`transform ${mn.motionDurationSlow}`}}}),Re=(ln,mn)=>({[`.${ln}-drop-indicator`]:{position:\"absolute\",zIndex:1,height:2,backgroundColor:mn.colorPrimary,borderRadius:1,pointerEvents:\"none\",\"&:after\":{position:\"absolute\",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:\"transparent\",border:`${mn.lineWidthBold}px solid ${mn.colorPrimary}`,borderRadius:\"50%\",content:'\"\"'}}}),je=(ln,mn)=>{const{treeCls:fr,treeNodeCls:ft,treeNodePadding:ct,treeTitleHeight:tn}=mn,An=(tn-mn.fontSizeLG)/2,Rt=mn.paddingXS;return{[fr]:Object.assign(Object.assign({},(0,ni.Wf)(mn)),{background:mn.colorBgContainer,borderRadius:mn.borderRadius,transition:`background-color ${mn.motionDurationSlow}`,[`&${fr}-rtl`]:{[`${fr}-switcher`]:{\"&_close\":{[`${fr}-switcher-icon`]:{svg:{transform:\"rotate(90deg)\"}}}}},[`&-focused:not(:hover):not(${fr}-active-focused)`]:Object.assign({},(0,ni.oN)(mn)),[`${fr}-list-holder-inner`]:{alignItems:\"flex-start\"},[`&${fr}-block-node`]:{[`${fr}-list-holder-inner`]:{alignItems:\"stretch\",[`${fr}-node-content-wrapper`]:{flex:\"auto\"},[`${ft}.dragging`]:{position:\"relative\",\"&:after\":{position:\"absolute\",top:0,insetInlineEnd:0,bottom:ct,insetInlineStart:0,border:`1px solid ${mn.colorPrimary}`,opacity:0,animationName:zi,animationDuration:mn.motionDurationSlow,animationPlayState:\"running\",animationFillMode:\"forwards\",content:'\"\"',pointerEvents:\"none\"}}}},[`${ft}`]:{display:\"flex\",alignItems:\"flex-start\",padding:`0 0 ${ct}px 0`,outline:\"none\",\"&-rtl\":{direction:\"rtl\"},\"&-disabled\":{[`${fr}-node-content-wrapper`]:{color:mn.colorTextDisabled,cursor:\"not-allowed\",\"&:hover\":{background:\"transparent\"}}},[`&-active ${fr}-node-content-wrapper`]:Object.assign({},(0,ni.oN)(mn)),[`&:not(${ft}-disabled).filter-node ${fr}-title`]:{color:\"inherit\",fontWeight:500},\"&-draggable\":{[`${fr}-draggable-icon`]:{width:tn,lineHeight:`${tn}px`,textAlign:\"center\",visibility:\"visible\",opacity:.2,transition:`opacity ${mn.motionDurationSlow}`,[`${ft}:hover &`]:{opacity:.45}},[`&${ft}-disabled`]:{[`${fr}-draggable-icon`]:{visibility:\"hidden\"}}}},[`${fr}-indent`]:{alignSelf:\"stretch\",whiteSpace:\"nowrap\",userSelect:\"none\",\"&-unit\":{display:\"inline-block\",width:tn}},[`${fr}-draggable-icon`]:{visibility:\"hidden\"},[`${fr}-switcher`]:Object.assign(Object.assign({},br(ln,mn)),{position:\"relative\",flex:\"none\",alignSelf:\"stretch\",width:tn,margin:0,lineHeight:`${tn}px`,textAlign:\"center\",cursor:\"pointer\",userSelect:\"none\",\"&-noop\":{cursor:\"default\"},\"&_close\":{[`${fr}-switcher-icon`]:{svg:{transform:\"rotate(-90deg)\"}}},\"&-loading-icon\":{color:mn.colorPrimary},\"&-leaf-line\":{position:\"relative\",zIndex:1,display:\"inline-block\",width:\"100%\",height:\"100%\",\"&:before\":{position:\"absolute\",top:0,insetInlineEnd:tn/2,bottom:-ct,marginInlineStart:-1,borderInlineEnd:`1px solid ${mn.colorBorder}`,content:'\"\"'},\"&:after\":{position:\"absolute\",width:tn/2*.8,height:tn/2,borderBottom:`1px solid ${mn.colorBorder}`,content:'\"\"'}}}),[`${fr}-checkbox`]:{top:\"initial\",marginInlineEnd:Rt,marginBlockStart:An},[`${fr}-node-content-wrapper, ${fr}-checkbox + span`]:{position:\"relative\",zIndex:\"auto\",minHeight:tn,margin:0,padding:`0 ${mn.paddingXS/2}px`,color:\"inherit\",lineHeight:`${tn}px`,background:\"transparent\",borderRadius:mn.borderRadius,cursor:\"pointer\",transition:`all ${mn.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,\"&:hover\":{backgroundColor:mn.controlItemBgHover},[`&${fr}-node-selected`]:{backgroundColor:mn.controlItemBgActive},[`${fr}-iconEle`]:{display:\"inline-block\",width:tn,height:tn,lineHeight:`${tn}px`,textAlign:\"center\",verticalAlign:\"top\",\"&:empty\":{display:\"none\"}}},[`${fr}-unselectable ${fr}-node-content-wrapper:hover`]:{backgroundColor:\"transparent\"},[`${fr}-node-content-wrapper`]:Object.assign({lineHeight:`${tn}px`,userSelect:\"none\"},Re(ln,mn)),[`${ft}.drop-container`]:{\"> [draggable]\":{boxShadow:`0 0 0 2px ${mn.colorPrimary}`}},\"&-show-line\":{[`${fr}-indent`]:{\"&-unit\":{position:\"relative\",height:\"100%\",\"&:before\":{position:\"absolute\",top:0,insetInlineEnd:tn/2,bottom:-ct,borderInlineEnd:`1px solid ${mn.colorBorder}`,content:'\"\"'},\"&-end\":{\"&:before\":{display:\"none\"}}}},[`${fr}-switcher`]:{background:\"transparent\",\"&-line-icon\":{verticalAlign:\"-0.15em\"}}},[`${ft}-leaf-last`]:{[`${fr}-switcher`]:{\"&-leaf-line\":{\"&:before\":{top:\"auto !important\",bottom:\"auto !important\",height:`${tn/2}px !important`}}}}})}},nt=ln=>{const{treeCls:mn,treeNodeCls:fr,treeNodePadding:ft}=ln;return{[`${mn}${mn}-directory`]:{[fr]:{position:\"relative\",\"&:before\":{position:\"absolute\",top:0,insetInlineEnd:0,bottom:ft,insetInlineStart:0,transition:`background-color ${ln.motionDurationMid}`,content:'\"\"',pointerEvents:\"none\"},\"&:hover\":{\"&:before\":{background:ln.controlItemBgHover}},\"> *\":{zIndex:1},[`${mn}-switcher`]:{transition:`color ${ln.motionDurationMid}`},[`${mn}-node-content-wrapper`]:{borderRadius:0,userSelect:\"none\",\"&:hover\":{background:\"transparent\"},[`&${mn}-node-selected`]:{color:ln.colorTextLightSolid,background:\"transparent\"}},\"&-selected\":{[`\n            &:hover::before,\n            &::before\n          `]:{background:ln.colorPrimary},[`${mn}-switcher`]:{color:ln.colorTextLightSolid},[`${mn}-node-content-wrapper`]:{color:ln.colorTextLightSolid,background:\"transparent\"}}}}}},rt=(ln,mn)=>{const fr=`.${ln}`,ft=`${fr}-treenode`,ct=mn.paddingXS/2,tn=mn.controlHeightSM,An=(0,ti.TS)(mn,{treeCls:fr,treeNodeCls:ft,treeNodePadding:ct,treeTitleHeight:tn});return[je(ln,An),nt(An)]};var Xt=(0,pi.Z)(\"Tree\",(ln,mn)=>{let{prefixCls:fr}=mn;return[{[ln.componentCls]:Ki(`${fr}-checkbox`,ln)},rt(fr,ln),(0,qo.Z)(ln)]}),Cn=f.forwardRef((ln,mn)=>{const{getPrefixCls:fr,direction:ft,virtual:ct}=f.useContext(Ue.E_),{prefixCls:tn,className:An,showIcon:Rt=!1,showLine:un,switcherIcon:Dn,blockNode:dr=!1,children:Ar,checkable:Gr=!1,selectable:Pr=!0,draggable:Xr,motion:oo}=ln,io=fr(\"tree\",tn),to=fr(),To=oo!=null?oo:Object.assign(Object.assign({},(0,xt.ZP)(to)),{motionAppear:!1}),jn=Object.assign(Object.assign({},ln),{checkable:Gr,selectable:Pr,showIcon:Rt,motion:To,blockNode:dr,showLine:Boolean(un),dropIndicatorRender:er}),[W,P]=Xt(io),k=f.useMemo(()=>{if(!Xr)return!1;let z={};switch(typeof Xr){case\"function\":z.nodeDraggable=Xr;break;case\"object\":z=Object.assign({},Xr);break;default:break}return z.icon!==!1&&(z.icon=z.icon||f.createElement(pt,null)),z},[Xr]);return W(f.createElement(xn,Object.assign({itemHeight:20,ref:mn,virtual:ct},jn,{prefixCls:io,className:x()({[`${io}-icon-hide`]:!Rt,[`${io}-block-node`]:dr,[`${io}-unselectable`]:!Pr,[`${io}-rtl`]:ft===\"rtl\"},An,P),direction:ft,checkable:Gr&&f.createElement(\"span\",{className:`${io}-checkbox-inner`}),selectable:Pr,switcherIcon:z=>Co(io,Dn,z,un),draggable:k}),Ar))}),Yn={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\"},Ae=Yn,Ke=function(mn,fr){return f.createElement(Rn.Z,(0,C.Z)((0,C.Z)({},mn),{},{ref:fr,icon:Ae}))};Ke.displayName=\"FolderOpenOutlined\";var Mt=f.forwardRef(Ke),Ut={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\"},kn=Ut,Zn=function(mn,fr){return f.createElement(Rn.Z,(0,C.Z)((0,C.Z)({},mn),{},{ref:fr,icon:kn}))};Zn.displayName=\"FolderOutlined\";var lr=f.forwardRef(Zn),wr;(function(ln){ln[ln.None=0]=\"None\",ln[ln.Start=1]=\"Start\",ln[ln.End=2]=\"End\"})(wr||(wr={}));function Dr(ln,mn){function fr(ft){const{key:ct,children:tn}=ft;mn(ct,ft)!==!1&&Dr(tn||[],mn)}ln.forEach(fr)}function go(ln){let{treeData:mn,expandedKeys:fr,startKey:ft,endKey:ct}=ln;const tn=[];let An=wr.None;if(ft&&ft===ct)return[ft];if(!ft||!ct)return[];function Rt(un){return un===ft||un===ct}return Dr(mn,un=>{if(An===wr.End)return!1;if(Rt(un)){if(tn.push(un),An===wr.None)An=wr.Start;else if(An===wr.Start)return An=wr.End,!1}else An===wr.Start&&tn.push(un);return fr.includes(un)}),tn}function Ir(ln,mn){const fr=(0,w.Z)(mn),ft=[];return Dr(ln,(ct,tn)=>{const An=fr.indexOf(ct);return An!==-1&&(ft.push(tn),fr.splice(An,1)),!!fr.length}),ft}var Jr=function(ln,mn){var fr={};for(var ft in ln)Object.prototype.hasOwnProperty.call(ln,ft)&&mn.indexOf(ft)<0&&(fr[ft]=ln[ft]);if(ln!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var ct=0,ft=Object.getOwnPropertySymbols(ln);ct<ft.length;ct++)mn.indexOf(ft[ct])<0&&Object.prototype.propertyIsEnumerable.call(ln,ft[ct])&&(fr[ft[ct]]=ln[ft[ct]]);return fr};function _o(ln){const{isLeaf:mn,expanded:fr}=ln;return mn?f.createElement(wi,null):fr?f.createElement(Mt,null):f.createElement(lr,null)}function No(ln){let{treeData:mn,children:fr}=ln;return mn||ee(fr)}const ii=(ln,mn)=>{var{defaultExpandAll:fr,defaultExpandParent:ft,defaultExpandedKeys:ct}=ln,tn=Jr(ln,[\"defaultExpandAll\",\"defaultExpandParent\",\"defaultExpandedKeys\"]);const An=f.useRef(),Rt=f.useRef(),un=()=>{const{keyEntities:Q}=Le(No(tn));let F;return fr?F=Object.keys(Q):ft?F=dt(tn.expandedKeys||ct||[],Q):F=tn.expandedKeys||ct,F},[Dn,dr]=f.useState(tn.selectedKeys||tn.defaultSelectedKeys||[]),[Ar,Gr]=f.useState(()=>un());f.useEffect(()=>{\"selectedKeys\"in tn&&dr(tn.selectedKeys)},[tn.selectedKeys]),f.useEffect(()=>{\"expandedKeys\"in tn&&Gr(tn.expandedKeys)},[tn.expandedKeys]);const Pr=(Q,F)=>{var V;return\"expandedKeys\"in tn||Gr(Q),(V=tn.onExpand)===null||V===void 0?void 0:V.call(tn,Q,F)},Xr=(Q,F)=>{var V;const{multiple:U}=tn,{node:ge,nativeEvent:ke}=F,{key:St=\"\"}=ge,Je=No(tn),Ot=Object.assign(Object.assign({},F),{selected:!0}),It=(ke==null?void 0:ke.ctrlKey)||(ke==null?void 0:ke.metaKey),jt=ke==null?void 0:ke.shiftKey;let Vt;U&&It?(Vt=Q,An.current=St,Rt.current=Vt,Ot.selectedNodes=Ir(Je,Vt)):U&&jt?(Vt=Array.from(new Set([].concat((0,w.Z)(Rt.current||[]),(0,w.Z)(go({treeData:Je,expandedKeys:Ar,startKey:St,endKey:An.current}))))),Ot.selectedNodes=Ir(Je,Vt)):(Vt=[St],An.current=St,Rt.current=Vt,Ot.selectedNodes=Ir(Je,Vt)),(V=tn.onSelect)===null||V===void 0||V.call(tn,Vt,Ot),\"selectedKeys\"in tn||dr(Vt)},{getPrefixCls:oo,direction:io}=f.useContext(Ue.E_),{prefixCls:to,className:To,showIcon:jn=!0,expandAction:W=\"click\"}=tn,P=Jr(tn,[\"prefixCls\",\"className\",\"showIcon\",\"expandAction\"]),k=oo(\"tree\",to),z=x()(`${k}-directory`,{[`${k}-directory-rtl`]:io===\"rtl\"},To);return f.createElement(Cn,Object.assign({icon:_o,ref:mn,blockNode:!0},P,{showIcon:jn,expandAction:W,prefixCls:k,className:z,expandedKeys:Ar,selectedKeys:Dn,onSelect:Xr,onExpand:Pr}))};var ai=f.forwardRef(ii);const Si=Cn;Si.DirectoryTree=ai,Si.TreeNode=ae;var Ui=Si},91002:function(Pt,Ee,c){var r=c(64275),y=c(93018),N={float:\"cssFloat\"},C=c(33212);function w(u,a,f){var h=N[a];if(typeof h==\"undefined\"&&(h=b(a)),h){if(f===void 0)return u.style[h];u.style[h]=C(h,f)}}function O(u,a){for(var f in a)a.hasOwnProperty(f)&&w(u,f,a[f])}function b(u){var a=y(u),f=r(a);return N[a]=N[u]=N[f]=f,f}function p(){arguments.length===2?typeof arguments[1]==\"string\"?arguments[0].style.cssText=arguments[1]:O(arguments[0],arguments[1]):w(arguments[0],arguments[1],arguments[2])}Pt.exports=p,Pt.exports.set=p,Pt.exports.get=function(u,a){return Array.isArray(a)?a.reduce(function(f,h){return f[h]=w(u,h||\"\"),f},{}):w(u,a||\"\")}},83056:function(Pt,Ee){\"use strict\";Object.defineProperty(Ee,\"__esModule\",{value:!0});function c(y){return Object.prototype.toString.call(y)===\"[object Object]\"}function r(y){var N,C;return c(y)===!1?!1:(N=y.constructor,N===void 0?!0:(C=N.prototype,!(c(C)===!1||C.hasOwnProperty(\"isPrototypeOf\")===!1)))}Ee.isPlainObject=r},87269:function(Pt,Ee,c){var r=c(47758),y=c(29165),N=r(y,\"DataView\");Pt.exports=N},88987:function(Pt,Ee,c){var r=c(71519),y=c(82999),N=c(76111),C=c(50506),w=c(80845);function O(b){var p=-1,u=b==null?0:b.length;for(this.clear();++p<u;){var a=b[p];this.set(a[0],a[1])}}O.prototype.clear=r,O.prototype.delete=y,O.prototype.get=N,O.prototype.has=C,O.prototype.set=w,Pt.exports=O},175:function(Pt,Ee,c){var r=c(2173),y=c(33752),N=c(10548),C=c(63410),w=c(3564);function O(b){var p=-1,u=b==null?0:b.length;for(this.clear();++p<u;){var a=b[p];this.set(a[0],a[1])}}O.prototype.clear=r,O.prototype.delete=y,O.prototype.get=N,O.prototype.has=C,O.prototype.set=w,Pt.exports=O},35922:function(Pt,Ee,c){var r=c(47758),y=c(29165),N=r(y,\"Map\");Pt.exports=N},9440:function(Pt,Ee,c){var r=c(7140),y=c(56504),N=c(88833),C=c(80953),w=c(70724);function O(b){var p=-1,u=b==null?0:b.length;for(this.clear();++p<u;){var a=b[p];this.set(a[0],a[1])}}O.prototype.clear=r,O.prototype.delete=y,O.prototype.get=N,O.prototype.has=C,O.prototype.set=w,Pt.exports=O},6795:function(Pt,Ee,c){var r=c(47758),y=c(29165),N=r(y,\"Promise\");Pt.exports=N},81956:function(Pt,Ee,c){var r=c(47758),y=c(29165),N=r(y,\"Set\");Pt.exports=N},78188:function(Pt,Ee,c){var r=c(9440),y=c(96659),N=c(97230);function C(w){var O=-1,b=w==null?0:w.length;for(this.__data__=new r;++O<b;)this.add(w[O])}C.prototype.add=C.prototype.push=y,C.prototype.has=N,Pt.exports=C},5929:function(Pt,Ee,c){var r=c(175),y=c(40551),N=c(4090),C=c(47694),w=c(86220),O=c(68958);function b(p){var u=this.__data__=new r(p);this.size=u.size}b.prototype.clear=y,b.prototype.delete=N,b.prototype.get=C,b.prototype.has=w,b.prototype.set=O,Pt.exports=b},74396:function(Pt,Ee,c){var r=c(29165),y=r.Symbol;Pt.exports=y},92210:function(Pt,Ee,c){var r=c(29165),y=r.Uint8Array;Pt.exports=y},69477:function(Pt,Ee,c){var r=c(47758),y=c(29165),N=r(y,\"WeakMap\");Pt.exports=N},21662:function(Pt){function Ee(c,r){for(var y=-1,N=c==null?0:c.length;++y<N&&r(c[y],y,c)!==!1;);return c}Pt.exports=Ee},48969:function(Pt){function Ee(c,r){for(var y=-1,N=c==null?0:c.length,C=0,w=[];++y<N;){var O=c[y];r(O,y,c)&&(w[C++]=O)}return w}Pt.exports=Ee},79809:function(Pt,Ee,c){var r=c(39739),y=c(30353),N=c(24669),C=c(61563),w=c(91010),O=c(73806),b=Object.prototype,p=b.hasOwnProperty;function u(a,f){var h=N(a),l=!h&&y(a),s=!h&&!l&&C(a),m=!h&&!l&&!s&&O(a),x=h||l||s||m,M=x?r(a.length,String):[],E=M.length;for(var j in a)(f||p.call(a,j))&&!(x&&(j==\"length\"||s&&(j==\"offset\"||j==\"parent\")||m&&(j==\"buffer\"||j==\"byteLength\"||j==\"byteOffset\")||w(j,E)))&&M.push(j);return M}Pt.exports=u},75697:function(Pt){function Ee(c,r){for(var y=-1,N=c==null?0:c.length,C=Array(N);++y<N;)C[y]=r(c[y],y,c);return C}Pt.exports=Ee},28486:function(Pt){function Ee(c,r){for(var y=-1,N=r.length,C=c.length;++y<N;)c[C+y]=r[y];return c}Pt.exports=Ee},84330:function(Pt){function Ee(c,r){for(var y=-1,N=c==null?0:c.length;++y<N;)if(r(c[y],y,c))return!0;return!1}Pt.exports=Ee},93719:function(Pt,Ee,c){var r=c(30404),y=c(42448),N=Object.prototype,C=N.hasOwnProperty;function w(O,b,p){var u=O[b];(!(C.call(O,b)&&y(u,p))||p===void 0&&!(b in O))&&r(O,b,p)}Pt.exports=w},62718:function(Pt,Ee,c){var r=c(42448);function y(N,C){for(var w=N.length;w--;)if(r(N[w][0],C))return w;return-1}Pt.exports=y},43472:function(Pt,Ee,c){var r=c(92434),y=c(50579);function N(C,w){return C&&r(w,y(w),C)}Pt.exports=N},7254:function(Pt,Ee,c){var r=c(92434),y=c(37390);function N(C,w){return C&&r(w,y(w),C)}Pt.exports=N},30404:function(Pt,Ee,c){var r=c(34082);function y(N,C,w){C==\"__proto__\"&&r?r(N,C,{configurable:!0,enumerable:!0,value:w,writable:!0}):N[C]=w}Pt.exports=y},53174:function(Pt,Ee,c){var r=c(5929),y=c(21662),N=c(93719),C=c(43472),w=c(7254),O=c(39767),b=c(47165),p=c(8782),u=c(2667),a=c(79944),f=c(21699),h=c(81887),l=c(12195),s=c(46740),m=c(36404),x=c(24669),M=c(61563),E=c(32924),j=c(36838),L=c(45380),A=c(50579),J=c(37390),q=1,re=2,me=4,Te=\"[object Arguments]\",ee=\"[object Array]\",xe=\"[object Boolean]\",Ie=\"[object Date]\",Le=\"[object Error]\",De=\"[object Function]\",ce=\"[object GeneratorFunction]\",ye=\"[object Map]\",Oe=\"[object Number]\",Ce=\"[object Object]\",oe=\"[object RegExp]\",he=\"[object Set]\",ie=\"[object String]\",ae=\"[object Symbol]\",ve=\"[object WeakMap]\",X=\"[object ArrayBuffer]\",se=\"[object DataView]\",fe=\"[object Float32Array]\",_e=\"[object Float64Array]\",be=\"[object Int8Array]\",We=\"[object Int16Array]\",we=\"[object Int32Array]\",Ze=\"[object Uint8Array]\",Ve=\"[object Uint8ClampedArray]\",et=\"[object Uint16Array]\",ht=\"[object Uint32Array]\",Fe={};Fe[Te]=Fe[ee]=Fe[X]=Fe[se]=Fe[xe]=Fe[Ie]=Fe[fe]=Fe[_e]=Fe[be]=Fe[We]=Fe[we]=Fe[ye]=Fe[Oe]=Fe[Ce]=Fe[oe]=Fe[he]=Fe[ie]=Fe[ae]=Fe[Ze]=Fe[Ve]=Fe[et]=Fe[ht]=!0,Fe[Le]=Fe[De]=Fe[ve]=!1;function mt(dt,Lt,lt,rn,qt,hn){var Kt,an=Lt&q,In=Lt&re,Ft=Lt&me;if(lt&&(Kt=qt?lt(dt,rn,qt,hn):lt(dt)),Kt!==void 0)return Kt;if(!j(dt))return dt;var kt=x(dt);if(kt){if(Kt=l(dt),!an)return b(dt,Kt)}else{var At=h(dt),Fn=At==De||At==ce;if(M(dt))return O(dt,an);if(At==Ce||At==Te||Fn&&!qt){if(Kt=In||Fn?{}:m(dt),!an)return In?u(dt,w(Kt,dt)):p(dt,C(Kt,dt))}else{if(!Fe[At])return qt?dt:{};Kt=s(dt,At,an)}}hn||(hn=new r);var pn=hn.get(dt);if(pn)return pn;hn.set(dt,Kt),L(dt)?dt.forEach(function(Mn){Kt.add(mt(Mn,Lt,lt,Mn,dt,hn))}):E(dt)&&dt.forEach(function(Mn,Kn){Kt.set(Kn,mt(Mn,Lt,lt,Kn,dt,hn))});var en=Ft?In?f:a:In?J:A,Wn=kt?void 0:en(dt);return y(Wn||dt,function(Mn,Kn){Wn&&(Kn=Mn,Mn=dt[Kn]),N(Kt,Kn,mt(Mn,Lt,lt,Kn,dt,hn))}),Kt}Pt.exports=mt},91348:function(Pt,Ee,c){var r=c(36838),y=Object.create,N=function(){function C(){}return function(w){if(!r(w))return{};if(y)return y(w);C.prototype=w;var O=new C;return C.prototype=void 0,O}}();Pt.exports=N},30438:function(Pt,Ee,c){var r=c(61343),y=c(8202),N=y(r);Pt.exports=N},91030:function(Pt,Ee,c){var r=c(29),y=r();Pt.exports=y},61343:function(Pt,Ee,c){var r=c(91030),y=c(50579);function N(C,w){return C&&r(C,w,y)}Pt.exports=N},97499:function(Pt,Ee,c){var r=c(60399),y=c(77817);function N(C,w){w=r(w,C);for(var O=0,b=w.length;C!=null&&O<b;)C=C[y(w[O++])];return O&&O==b?C:void 0}Pt.exports=N},38084:function(Pt,Ee,c){var r=c(28486),y=c(24669);function N(C,w,O){var b=w(C);return y(C)?b:r(b,O(C))}Pt.exports=N},80732:function(Pt,Ee,c){var r=c(74396),y=c(31239),N=c(57058),C=\"[object Null]\",w=\"[object Undefined]\",O=r?r.toStringTag:void 0;function b(p){return p==null?p===void 0?w:C:O&&O in Object(p)?y(p):N(p)}Pt.exports=b},71664:function(Pt){function Ee(c,r){return c!=null&&r in Object(c)}Pt.exports=Ee},84742:function(Pt,Ee,c){var r=c(80732),y=c(55073),N=\"[object Arguments]\";function C(w){return y(w)&&r(w)==N}Pt.exports=C},6620:function(Pt,Ee,c){var r=c(83977),y=c(55073);function N(C,w,O,b,p){return C===w?!0:C==null||w==null||!y(C)&&!y(w)?C!==C&&w!==w:r(C,w,O,b,N,p)}Pt.exports=N},83977:function(Pt,Ee,c){var r=c(5929),y=c(22684),N=c(7456),C=c(18120),w=c(81887),O=c(24669),b=c(61563),p=c(73806),u=1,a=\"[object Arguments]\",f=\"[object Array]\",h=\"[object Object]\",l=Object.prototype,s=l.hasOwnProperty;function m(x,M,E,j,L,A){var J=O(x),q=O(M),re=J?f:w(x),me=q?f:w(M);re=re==a?h:re,me=me==a?h:me;var Te=re==h,ee=me==h,xe=re==me;if(xe&&b(x)){if(!b(M))return!1;J=!0,Te=!1}if(xe&&!Te)return A||(A=new r),J||p(x)?y(x,M,E,j,L,A):N(x,M,re,E,j,L,A);if(!(E&u)){var Ie=Te&&s.call(x,\"__wrapped__\"),Le=ee&&s.call(M,\"__wrapped__\");if(Ie||Le){var De=Ie?x.value():x,ce=Le?M.value():M;return A||(A=new r),L(De,ce,E,j,A)}}return xe?(A||(A=new r),C(x,M,E,j,L,A)):!1}Pt.exports=m},64033:function(Pt,Ee,c){var r=c(81887),y=c(55073),N=\"[object Map]\";function C(w){return y(w)&&r(w)==N}Pt.exports=C},27122:function(Pt,Ee,c){var r=c(5929),y=c(6620),N=1,C=2;function w(O,b,p,u){var a=p.length,f=a,h=!u;if(O==null)return!f;for(O=Object(O);a--;){var l=p[a];if(h&&l[2]?l[1]!==O[l[0]]:!(l[0]in O))return!1}for(;++a<f;){l=p[a];var s=l[0],m=O[s],x=l[1];if(h&&l[2]){if(m===void 0&&!(s in O))return!1}else{var M=new r;if(u)var E=u(m,x,s,O,b,M);if(!(E===void 0?y(x,m,N|C,u,M):E))return!1}}return!0}Pt.exports=w},58939:function(Pt,Ee,c){var r=c(92042),y=c(90654),N=c(36838),C=c(51059),w=/[\\\\^$.*+?()[\\]{}|]/g,O=/^\\[object .+?Constructor\\]$/,b=Function.prototype,p=Object.prototype,u=b.toString,a=p.hasOwnProperty,f=RegExp(\"^\"+u.call(a).replace(w,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\");function h(l){if(!N(l)||y(l))return!1;var s=r(l)?f:O;return s.test(C(l))}Pt.exports=h},28264:function(Pt,Ee,c){var r=c(81887),y=c(55073),N=\"[object Set]\";function C(w){return y(w)&&r(w)==N}Pt.exports=C},22882:function(Pt,Ee,c){var r=c(80732),y=c(17216),N=c(55073),C=\"[object Arguments]\",w=\"[object Array]\",O=\"[object Boolean]\",b=\"[object Date]\",p=\"[object Error]\",u=\"[object Function]\",a=\"[object Map]\",f=\"[object Number]\",h=\"[object Object]\",l=\"[object RegExp]\",s=\"[object Set]\",m=\"[object String]\",x=\"[object WeakMap]\",M=\"[object ArrayBuffer]\",E=\"[object DataView]\",j=\"[object Float32Array]\",L=\"[object Float64Array]\",A=\"[object Int8Array]\",J=\"[object Int16Array]\",q=\"[object Int32Array]\",re=\"[object Uint8Array]\",me=\"[object Uint8ClampedArray]\",Te=\"[object Uint16Array]\",ee=\"[object Uint32Array]\",xe={};xe[j]=xe[L]=xe[A]=xe[J]=xe[q]=xe[re]=xe[me]=xe[Te]=xe[ee]=!0,xe[C]=xe[w]=xe[M]=xe[O]=xe[E]=xe[b]=xe[p]=xe[u]=xe[a]=xe[f]=xe[h]=xe[l]=xe[s]=xe[m]=xe[x]=!1;function Ie(Le){return N(Le)&&y(Le.length)&&!!xe[r(Le)]}Pt.exports=Ie},5673:function(Pt,Ee,c){var r=c(3772),y=c(30493),N=c(48148),C=c(24669),w=c(51798);function O(b){return typeof b==\"function\"?b:b==null?N:typeof b==\"object\"?C(b)?y(b[0],b[1]):r(b):w(b)}Pt.exports=O},87473:function(Pt,Ee,c){var r=c(92963),y=c(14457),N=Object.prototype,C=N.hasOwnProperty;function w(O){if(!r(O))return y(O);var b=[];for(var p in Object(O))C.call(O,p)&&p!=\"constructor\"&&b.push(p);return b}Pt.exports=w},52506:function(Pt,Ee,c){var r=c(36838),y=c(92963),N=c(10814),C=Object.prototype,w=C.hasOwnProperty;function O(b){if(!r(b))return N(b);var p=y(b),u=[];for(var a in b)a==\"constructor\"&&(p||!w.call(b,a))||u.push(a);return u}Pt.exports=O},66494:function(Pt,Ee,c){var r=c(30438),y=c(47428);function N(C,w){var O=-1,b=y(C)?Array(C.length):[];return r(C,function(p,u,a){b[++O]=w(p,u,a)}),b}Pt.exports=N},3772:function(Pt,Ee,c){var r=c(27122),y=c(67487),N=c(78857);function C(w){var O=y(w);return O.length==1&&O[0][2]?N(O[0][0],O[0][1]):function(b){return b===w||r(b,w,O)}}Pt.exports=C},30493:function(Pt,Ee,c){var r=c(6620),y=c(65439),N=c(28281),C=c(2610),w=c(92769),O=c(78857),b=c(77817),p=1,u=2;function a(f,h){return C(f)&&w(h)?O(b(f),h):function(l){var s=y(l,f);return s===void 0&&s===h?N(l,f):r(h,s,p|u)}}Pt.exports=a},17498:function(Pt){function Ee(c){return function(r){return r==null?void 0:r[c]}}Pt.exports=Ee},71e3:function(Pt,Ee,c){var r=c(97499);function y(N){return function(C){return r(C,N)}}Pt.exports=y},39739:function(Pt){function Ee(c,r){for(var y=-1,N=Array(c);++y<c;)N[y]=r(y);return N}Pt.exports=Ee},73150:function(Pt,Ee,c){var r=c(74396),y=c(75697),N=c(24669),C=c(16764),w=1/0,O=r?r.prototype:void 0,b=O?O.toString:void 0;function p(u){if(typeof u==\"string\")return u;if(N(u))return y(u,p)+\"\";if(C(u))return b?b.call(u):\"\";var a=u+\"\";return a==\"0\"&&1/u==-w?\"-0\":a}Pt.exports=p},58792:function(Pt){function Ee(c){return function(r){return c(r)}}Pt.exports=Ee},29880:function(Pt){function Ee(c,r){return c.has(r)}Pt.exports=Ee},97008:function(Pt,Ee,c){var r=c(48148);function y(N){return typeof N==\"function\"?N:r}Pt.exports=y},60399:function(Pt,Ee,c){var r=c(24669),y=c(2610),N=c(77057),C=c(8389);function w(O,b){return r(O)?O:y(O,b)?[O]:N(C(O))}Pt.exports=w},78925:function(Pt,Ee,c){var r=c(92210);function y(N){var C=new N.constructor(N.byteLength);return new r(C).set(new r(N)),C}Pt.exports=y},39767:function(Pt,Ee,c){Pt=c.nmd(Pt);var r=c(29165),y=Ee&&!Ee.nodeType&&Ee,N=y&&!0&&Pt&&!Pt.nodeType&&Pt,C=N&&N.exports===y,w=C?r.Buffer:void 0,O=w?w.allocUnsafe:void 0;function b(p,u){if(u)return p.slice();var a=p.length,f=O?O(a):new p.constructor(a);return p.copy(f),f}Pt.exports=b},56157:function(Pt,Ee,c){var r=c(78925);function y(N,C){var w=C?r(N.buffer):N.buffer;return new N.constructor(w,N.byteOffset,N.byteLength)}Pt.exports=y},80101:function(Pt){var Ee=/\\w*$/;function c(r){var y=new r.constructor(r.source,Ee.exec(r));return y.lastIndex=r.lastIndex,y}Pt.exports=c},54920:function(Pt,Ee,c){var r=c(74396),y=r?r.prototype:void 0,N=y?y.valueOf:void 0;function C(w){return N?Object(N.call(w)):{}}Pt.exports=C},27136:function(Pt,Ee,c){var r=c(78925);function y(N,C){var w=C?r(N.buffer):N.buffer;return new N.constructor(w,N.byteOffset,N.length)}Pt.exports=y},47165:function(Pt){function Ee(c,r){var y=-1,N=c.length;for(r||(r=Array(N));++y<N;)r[y]=c[y];return r}Pt.exports=Ee},92434:function(Pt,Ee,c){var r=c(93719),y=c(30404);function N(C,w,O,b){var p=!O;O||(O={});for(var u=-1,a=w.length;++u<a;){var f=w[u],h=b?b(O[f],C[f],f,O,C):void 0;h===void 0&&(h=C[f]),p?y(O,f,h):r(O,f,h)}return O}Pt.exports=N},8782:function(Pt,Ee,c){var r=c(92434),y=c(97482);function N(C,w){return r(C,y(C),w)}Pt.exports=N},2667:function(Pt,Ee,c){var r=c(92434),y=c(41288);function N(C,w){return r(C,y(C),w)}Pt.exports=N},36633:function(Pt,Ee,c){var r=c(29165),y=r[\"__core-js_shared__\"];Pt.exports=y},8202:function(Pt,Ee,c){var r=c(47428);function y(N,C){return function(w,O){if(w==null)return w;if(!r(w))return N(w,O);for(var b=w.length,p=C?b:-1,u=Object(w);(C?p--:++p<b)&&O(u[p],p,u)!==!1;);return w}}Pt.exports=y},29:function(Pt){function Ee(c){return function(r,y,N){for(var C=-1,w=Object(r),O=N(r),b=O.length;b--;){var p=O[c?b:++C];if(y(w[p],p,w)===!1)break}return r}}Pt.exports=Ee},34082:function(Pt,Ee,c){var r=c(47758),y=function(){try{var N=r(Object,\"defineProperty\");return N({},\"\",{}),N}catch(C){}}();Pt.exports=y},22684:function(Pt,Ee,c){var r=c(78188),y=c(84330),N=c(29880),C=1,w=2;function O(b,p,u,a,f,h){var l=u&C,s=b.length,m=p.length;if(s!=m&&!(l&&m>s))return!1;var x=h.get(b),M=h.get(p);if(x&&M)return x==p&&M==b;var E=-1,j=!0,L=u&w?new r:void 0;for(h.set(b,p),h.set(p,b);++E<s;){var A=b[E],J=p[E];if(a)var q=l?a(J,A,E,p,b,h):a(A,J,E,b,p,h);if(q!==void 0){if(q)continue;j=!1;break}if(L){if(!y(p,function(re,me){if(!N(L,me)&&(A===re||f(A,re,u,a,h)))return L.push(me)})){j=!1;break}}else if(!(A===J||f(A,J,u,a,h))){j=!1;break}}return h.delete(b),h.delete(p),j}Pt.exports=O},7456:function(Pt,Ee,c){var r=c(74396),y=c(92210),N=c(42448),C=c(22684),w=c(7523),O=c(79967),b=1,p=2,u=\"[object Boolean]\",a=\"[object Date]\",f=\"[object Error]\",h=\"[object Map]\",l=\"[object Number]\",s=\"[object RegExp]\",m=\"[object Set]\",x=\"[object String]\",M=\"[object Symbol]\",E=\"[object ArrayBuffer]\",j=\"[object DataView]\",L=r?r.prototype:void 0,A=L?L.valueOf:void 0;function J(q,re,me,Te,ee,xe,Ie){switch(me){case j:if(q.byteLength!=re.byteLength||q.byteOffset!=re.byteOffset)return!1;q=q.buffer,re=re.buffer;case E:return!(q.byteLength!=re.byteLength||!xe(new y(q),new y(re)));case u:case a:case l:return N(+q,+re);case f:return q.name==re.name&&q.message==re.message;case s:case x:return q==re+\"\";case h:var Le=w;case m:var De=Te&b;if(Le||(Le=O),q.size!=re.size&&!De)return!1;var ce=Ie.get(q);if(ce)return ce==re;Te|=p,Ie.set(q,re);var ye=C(Le(q),Le(re),Te,ee,xe,Ie);return Ie.delete(q),ye;case M:if(A)return A.call(q)==A.call(re)}return!1}Pt.exports=J},18120:function(Pt,Ee,c){var r=c(79944),y=1,N=Object.prototype,C=N.hasOwnProperty;function w(O,b,p,u,a,f){var h=p&y,l=r(O),s=l.length,m=r(b),x=m.length;if(s!=x&&!h)return!1;for(var M=s;M--;){var E=l[M];if(!(h?E in b:C.call(b,E)))return!1}var j=f.get(O),L=f.get(b);if(j&&L)return j==b&&L==O;var A=!0;f.set(O,b),f.set(b,O);for(var J=h;++M<s;){E=l[M];var q=O[E],re=b[E];if(u)var me=h?u(re,q,E,b,O,f):u(q,re,E,O,b,f);if(!(me===void 0?q===re||a(q,re,p,u,f):me)){A=!1;break}J||(J=E==\"constructor\")}if(A&&!J){var Te=O.constructor,ee=b.constructor;Te!=ee&&\"constructor\"in O&&\"constructor\"in b&&!(typeof Te==\"function\"&&Te instanceof Te&&typeof ee==\"function\"&&ee instanceof ee)&&(A=!1)}return f.delete(O),f.delete(b),A}Pt.exports=w},96476:function(Pt,Ee,c){var r=typeof c.g==\"object\"&&c.g&&c.g.Object===Object&&c.g;Pt.exports=r},79944:function(Pt,Ee,c){var r=c(38084),y=c(97482),N=c(50579);function C(w){return r(w,N,y)}Pt.exports=C},21699:function(Pt,Ee,c){var r=c(38084),y=c(41288),N=c(37390);function C(w){return r(w,N,y)}Pt.exports=C},67707:function(Pt,Ee,c){var r=c(3880);function y(N,C){var w=N.__data__;return r(C)?w[typeof C==\"string\"?\"string\":\"hash\"]:w.map}Pt.exports=y},67487:function(Pt,Ee,c){var r=c(92769),y=c(50579);function N(C){for(var w=y(C),O=w.length;O--;){var b=w[O],p=C[b];w[O]=[b,p,r(p)]}return w}Pt.exports=N},47758:function(Pt,Ee,c){var r=c(58939),y=c(9149);function N(C,w){var O=y(C,w);return r(O)?O:void 0}Pt.exports=N},11389:function(Pt,Ee,c){var r=c(75542),y=r(Object.getPrototypeOf,Object);Pt.exports=y},31239:function(Pt,Ee,c){var r=c(74396),y=Object.prototype,N=y.hasOwnProperty,C=y.toString,w=r?r.toStringTag:void 0;function O(b){var p=N.call(b,w),u=b[w];try{b[w]=void 0;var a=!0}catch(h){}var f=C.call(b);return a&&(p?b[w]=u:delete b[w]),f}Pt.exports=O},97482:function(Pt,Ee,c){var r=c(48969),y=c(68036),N=Object.prototype,C=N.propertyIsEnumerable,w=Object.getOwnPropertySymbols,O=w?function(b){return b==null?[]:(b=Object(b),r(w(b),function(p){return C.call(b,p)}))}:y;Pt.exports=O},41288:function(Pt,Ee,c){var r=c(28486),y=c(11389),N=c(97482),C=c(68036),w=Object.getOwnPropertySymbols,O=w?function(b){for(var p=[];b;)r(p,N(b)),b=y(b);return p}:C;Pt.exports=O},81887:function(Pt,Ee,c){var r=c(87269),y=c(35922),N=c(6795),C=c(81956),w=c(69477),O=c(80732),b=c(51059),p=\"[object Map]\",u=\"[object Object]\",a=\"[object Promise]\",f=\"[object Set]\",h=\"[object WeakMap]\",l=\"[object DataView]\",s=b(r),m=b(y),x=b(N),M=b(C),E=b(w),j=O;(r&&j(new r(new ArrayBuffer(1)))!=l||y&&j(new y)!=p||N&&j(N.resolve())!=a||C&&j(new C)!=f||w&&j(new w)!=h)&&(j=function(L){var A=O(L),J=A==u?L.constructor:void 0,q=J?b(J):\"\";if(q)switch(q){case s:return l;case m:return p;case x:return a;case M:return f;case E:return h}return A}),Pt.exports=j},9149:function(Pt){function Ee(c,r){return c==null?void 0:c[r]}Pt.exports=Ee},18554:function(Pt,Ee,c){var r=c(60399),y=c(30353),N=c(24669),C=c(91010),w=c(17216),O=c(77817);function b(p,u,a){u=r(u,p);for(var f=-1,h=u.length,l=!1;++f<h;){var s=O(u[f]);if(!(l=p!=null&&a(p,s)))break;p=p[s]}return l||++f!=h?l:(h=p==null?0:p.length,!!h&&w(h)&&C(s,h)&&(N(p)||y(p)))}Pt.exports=b},71519:function(Pt,Ee,c){var r=c(37722);function y(){this.__data__=r?r(null):{},this.size=0}Pt.exports=y},82999:function(Pt){function Ee(c){var r=this.has(c)&&delete this.__data__[c];return this.size-=r?1:0,r}Pt.exports=Ee},76111:function(Pt,Ee,c){var r=c(37722),y=\"__lodash_hash_undefined__\",N=Object.prototype,C=N.hasOwnProperty;function w(O){var b=this.__data__;if(r){var p=b[O];return p===y?void 0:p}return C.call(b,O)?b[O]:void 0}Pt.exports=w},50506:function(Pt,Ee,c){var r=c(37722),y=Object.prototype,N=y.hasOwnProperty;function C(w){var O=this.__data__;return r?O[w]!==void 0:N.call(O,w)}Pt.exports=C},80845:function(Pt,Ee,c){var r=c(37722),y=\"__lodash_hash_undefined__\";function N(C,w){var O=this.__data__;return this.size+=this.has(C)?0:1,O[C]=r&&w===void 0?y:w,this}Pt.exports=N},12195:function(Pt){var Ee=Object.prototype,c=Ee.hasOwnProperty;function r(y){var N=y.length,C=new y.constructor(N);return N&&typeof y[0]==\"string\"&&c.call(y,\"index\")&&(C.index=y.index,C.input=y.input),C}Pt.exports=r},46740:function(Pt,Ee,c){var r=c(78925),y=c(56157),N=c(80101),C=c(54920),w=c(27136),O=\"[object Boolean]\",b=\"[object Date]\",p=\"[object Map]\",u=\"[object Number]\",a=\"[object RegExp]\",f=\"[object Set]\",h=\"[object String]\",l=\"[object Symbol]\",s=\"[object ArrayBuffer]\",m=\"[object DataView]\",x=\"[object Float32Array]\",M=\"[object Float64Array]\",E=\"[object Int8Array]\",j=\"[object Int16Array]\",L=\"[object Int32Array]\",A=\"[object Uint8Array]\",J=\"[object Uint8ClampedArray]\",q=\"[object Uint16Array]\",re=\"[object Uint32Array]\";function me(Te,ee,xe){var Ie=Te.constructor;switch(ee){case s:return r(Te);case O:case b:return new Ie(+Te);case m:return y(Te,xe);case x:case M:case E:case j:case L:case A:case J:case q:case re:return w(Te,xe);case p:return new Ie;case u:case h:return new Ie(Te);case a:return N(Te);case f:return new Ie;case l:return C(Te)}}Pt.exports=me},36404:function(Pt,Ee,c){var r=c(91348),y=c(11389),N=c(92963);function C(w){return typeof w.constructor==\"function\"&&!N(w)?r(y(w)):{}}Pt.exports=C},91010:function(Pt){var Ee=9007199254740991,c=/^(?:0|[1-9]\\d*)$/;function r(y,N){var C=typeof y;return N=N==null?Ee:N,!!N&&(C==\"number\"||C!=\"symbol\"&&c.test(y))&&y>-1&&y%1==0&&y<N}Pt.exports=r},2610:function(Pt,Ee,c){var r=c(24669),y=c(16764),N=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,C=/^\\w*$/;function w(O,b){if(r(O))return!1;var p=typeof O;return p==\"number\"||p==\"symbol\"||p==\"boolean\"||O==null||y(O)?!0:C.test(O)||!N.test(O)||b!=null&&O in Object(b)}Pt.exports=w},3880:function(Pt){function Ee(c){var r=typeof c;return r==\"string\"||r==\"number\"||r==\"symbol\"||r==\"boolean\"?c!==\"__proto__\":c===null}Pt.exports=Ee},90654:function(Pt,Ee,c){var r=c(36633),y=function(){var C=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||\"\");return C?\"Symbol(src)_1.\"+C:\"\"}();function N(C){return!!y&&y in C}Pt.exports=N},92963:function(Pt){var Ee=Object.prototype;function c(r){var y=r&&r.constructor,N=typeof y==\"function\"&&y.prototype||Ee;return r===N}Pt.exports=c},92769:function(Pt,Ee,c){var r=c(36838);function y(N){return N===N&&!r(N)}Pt.exports=y},2173:function(Pt){function Ee(){this.__data__=[],this.size=0}Pt.exports=Ee},33752:function(Pt,Ee,c){var r=c(62718),y=Array.prototype,N=y.splice;function C(w){var O=this.__data__,b=r(O,w);if(b<0)return!1;var p=O.length-1;return b==p?O.pop():N.call(O,b,1),--this.size,!0}Pt.exports=C},10548:function(Pt,Ee,c){var r=c(62718);function y(N){var C=this.__data__,w=r(C,N);return w<0?void 0:C[w][1]}Pt.exports=y},63410:function(Pt,Ee,c){var r=c(62718);function y(N){return r(this.__data__,N)>-1}Pt.exports=y},3564:function(Pt,Ee,c){var r=c(62718);function y(N,C){var w=this.__data__,O=r(w,N);return O<0?(++this.size,w.push([N,C])):w[O][1]=C,this}Pt.exports=y},7140:function(Pt,Ee,c){var r=c(88987),y=c(175),N=c(35922);function C(){this.size=0,this.__data__={hash:new r,map:new(N||y),string:new r}}Pt.exports=C},56504:function(Pt,Ee,c){var r=c(67707);function y(N){var C=r(this,N).delete(N);return this.size-=C?1:0,C}Pt.exports=y},88833:function(Pt,Ee,c){var r=c(67707);function y(N){return r(this,N).get(N)}Pt.exports=y},80953:function(Pt,Ee,c){var r=c(67707);function y(N){return r(this,N).has(N)}Pt.exports=y},70724:function(Pt,Ee,c){var r=c(67707);function y(N,C){var w=r(this,N),O=w.size;return w.set(N,C),this.size+=w.size==O?0:1,this}Pt.exports=y},7523:function(Pt){function Ee(c){var r=-1,y=Array(c.size);return c.forEach(function(N,C){y[++r]=[C,N]}),y}Pt.exports=Ee},78857:function(Pt){function Ee(c,r){return function(y){return y==null?!1:y[c]===r&&(r!==void 0||c in Object(y))}}Pt.exports=Ee},45171:function(Pt,Ee,c){var r=c(34736),y=500;function N(C){var w=r(C,function(b){return O.size===y&&O.clear(),b}),O=w.cache;return w}Pt.exports=N},37722:function(Pt,Ee,c){var r=c(47758),y=r(Object,\"create\");Pt.exports=y},14457:function(Pt,Ee,c){var r=c(75542),y=r(Object.keys,Object);Pt.exports=y},10814:function(Pt){function Ee(c){var r=[];if(c!=null)for(var y in Object(c))r.push(y);return r}Pt.exports=Ee},8478:function(Pt,Ee,c){Pt=c.nmd(Pt);var r=c(96476),y=Ee&&!Ee.nodeType&&Ee,N=y&&!0&&Pt&&!Pt.nodeType&&Pt,C=N&&N.exports===y,w=C&&r.process,O=function(){try{var b=N&&N.require&&N.require(\"util\").types;return b||w&&w.binding&&w.binding(\"util\")}catch(p){}}();Pt.exports=O},57058:function(Pt){var Ee=Object.prototype,c=Ee.toString;function r(y){return c.call(y)}Pt.exports=r},75542:function(Pt){function Ee(c,r){return function(y){return c(r(y))}}Pt.exports=Ee},29165:function(Pt,Ee,c){var r=c(96476),y=typeof self==\"object\"&&self&&self.Object===Object&&self,N=r||y||Function(\"return this\")();Pt.exports=N},96659:function(Pt){var Ee=\"__lodash_hash_undefined__\";function c(r){return this.__data__.set(r,Ee),this}Pt.exports=c},97230:function(Pt){function Ee(c){return this.__data__.has(c)}Pt.exports=Ee},79967:function(Pt){function Ee(c){var r=-1,y=Array(c.size);return c.forEach(function(N){y[++r]=N}),y}Pt.exports=Ee},40551:function(Pt,Ee,c){var r=c(175);function y(){this.__data__=new r,this.size=0}Pt.exports=y},4090:function(Pt){function Ee(c){var r=this.__data__,y=r.delete(c);return this.size=r.size,y}Pt.exports=Ee},47694:function(Pt){function Ee(c){return this.__data__.get(c)}Pt.exports=Ee},86220:function(Pt){function Ee(c){return this.__data__.has(c)}Pt.exports=Ee},68958:function(Pt,Ee,c){var r=c(175),y=c(35922),N=c(9440),C=200;function w(O,b){var p=this.__data__;if(p instanceof r){var u=p.__data__;if(!y||u.length<C-1)return u.push([O,b]),this.size=++p.size,this;p=this.__data__=new N(u)}return p.set(O,b),this.size=p.size,this}Pt.exports=w},77057:function(Pt,Ee,c){var r=c(45171),y=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g,N=/\\\\(\\\\)?/g,C=r(function(w){var O=[];return w.charCodeAt(0)===46&&O.push(\"\"),w.replace(y,function(b,p,u,a){O.push(u?a.replace(N,\"$1\"):p||b)}),O});Pt.exports=C},77817:function(Pt,Ee,c){var r=c(16764),y=1/0;function N(C){if(typeof C==\"string\"||r(C))return C;var w=C+\"\";return w==\"0\"&&1/C==-y?\"-0\":w}Pt.exports=N},51059:function(Pt){var Ee=Function.prototype,c=Ee.toString;function r(y){if(y!=null){try{return c.call(y)}catch(N){}try{return y+\"\"}catch(N){}}return\"\"}Pt.exports=r},32222:function(Pt,Ee,c){var r=c(53174),y=1,N=4;function C(w){return r(w,y|N)}Pt.exports=C},42448:function(Pt){function Ee(c,r){return c===r||c!==c&&r!==r}Pt.exports=Ee},14287:function(Pt,Ee,c){var r=c(61343),y=c(97008);function N(C,w){return C&&r(C,y(w))}Pt.exports=N},65439:function(Pt,Ee,c){var r=c(97499);function y(N,C,w){var O=N==null?void 0:r(N,C);return O===void 0?w:O}Pt.exports=y},28281:function(Pt,Ee,c){var r=c(71664),y=c(18554);function N(C,w){return C!=null&&y(C,w,r)}Pt.exports=N},48148:function(Pt){function Ee(c){return c}Pt.exports=Ee},30353:function(Pt,Ee,c){var r=c(84742),y=c(55073),N=Object.prototype,C=N.hasOwnProperty,w=N.propertyIsEnumerable,O=r(function(){return arguments}())?r:function(b){return y(b)&&C.call(b,\"callee\")&&!w.call(b,\"callee\")};Pt.exports=O},24669:function(Pt){var Ee=Array.isArray;Pt.exports=Ee},47428:function(Pt,Ee,c){var r=c(92042),y=c(17216);function N(C){return C!=null&&y(C.length)&&!r(C)}Pt.exports=N},61563:function(Pt,Ee,c){Pt=c.nmd(Pt);var r=c(29165),y=c(84193),N=Ee&&!Ee.nodeType&&Ee,C=N&&!0&&Pt&&!Pt.nodeType&&Pt,w=C&&C.exports===N,O=w?r.Buffer:void 0,b=O?O.isBuffer:void 0,p=b||y;Pt.exports=p},92042:function(Pt,Ee,c){var r=c(80732),y=c(36838),N=\"[object AsyncFunction]\",C=\"[object Function]\",w=\"[object GeneratorFunction]\",O=\"[object Proxy]\";function b(p){if(!y(p))return!1;var u=r(p);return u==C||u==w||u==N||u==O}Pt.exports=b},17216:function(Pt){var Ee=9007199254740991;function c(r){return typeof r==\"number\"&&r>-1&&r%1==0&&r<=Ee}Pt.exports=c},32924:function(Pt,Ee,c){var r=c(64033),y=c(58792),N=c(8478),C=N&&N.isMap,w=C?y(C):r;Pt.exports=w},36838:function(Pt){function Ee(c){var r=typeof c;return c!=null&&(r==\"object\"||r==\"function\")}Pt.exports=Ee},55073:function(Pt){function Ee(c){return c!=null&&typeof c==\"object\"}Pt.exports=Ee},69143:function(Pt,Ee,c){var r=c(80732),y=c(11389),N=c(55073),C=\"[object Object]\",w=Function.prototype,O=Object.prototype,b=w.toString,p=O.hasOwnProperty,u=b.call(Object);function a(f){if(!N(f)||r(f)!=C)return!1;var h=y(f);if(h===null)return!0;var l=p.call(h,\"constructor\")&&h.constructor;return typeof l==\"function\"&&l instanceof l&&b.call(l)==u}Pt.exports=a},45380:function(Pt,Ee,c){var r=c(28264),y=c(58792),N=c(8478),C=N&&N.isSet,w=C?y(C):r;Pt.exports=w},56549:function(Pt,Ee,c){var r=c(80732),y=c(24669),N=c(55073),C=\"[object String]\";function w(O){return typeof O==\"string\"||!y(O)&&N(O)&&r(O)==C}Pt.exports=w},16764:function(Pt,Ee,c){var r=c(80732),y=c(55073),N=\"[object Symbol]\";function C(w){return typeof w==\"symbol\"||y(w)&&r(w)==N}Pt.exports=C},73806:function(Pt,Ee,c){var r=c(22882),y=c(58792),N=c(8478),C=N&&N.isTypedArray,w=C?y(C):r;Pt.exports=w},50579:function(Pt,Ee,c){var r=c(79809),y=c(87473),N=c(47428);function C(w){return N(w)?r(w):y(w)}Pt.exports=C},37390:function(Pt,Ee,c){var r=c(79809),y=c(52506),N=c(47428);function C(w){return N(w)?r(w,!0):y(w)}Pt.exports=C},32699:function(Pt,Ee,c){Pt=c.nmd(Pt);var r;(function(){var y,N=\"4.17.21\",C=200,w=\"Unsupported core-js use. Try https://npms.io/search?q=ponyfill.\",O=\"Expected a function\",b=\"Invalid `variable` option passed into `_.template`\",p=\"__lodash_hash_undefined__\",u=500,a=\"__lodash_placeholder__\",f=1,h=2,l=4,s=1,m=2,x=1,M=2,E=4,j=8,L=16,A=32,J=64,q=128,re=256,me=512,Te=30,ee=\"...\",xe=800,Ie=16,Le=1,De=2,ce=3,ye=1/0,Oe=9007199254740991,Ce=17976931348623157e292,oe=0/0,he=4294967295,ie=he-1,ae=he>>>1,ve=[[\"ary\",q],[\"bind\",x],[\"bindKey\",M],[\"curry\",j],[\"curryRight\",L],[\"flip\",me],[\"partial\",A],[\"partialRight\",J],[\"rearg\",re]],X=\"[object Arguments]\",se=\"[object Array]\",fe=\"[object AsyncFunction]\",_e=\"[object Boolean]\",be=\"[object Date]\",We=\"[object DOMException]\",we=\"[object Error]\",Ze=\"[object Function]\",Ve=\"[object GeneratorFunction]\",et=\"[object Map]\",ht=\"[object Number]\",Fe=\"[object Null]\",mt=\"[object Object]\",dt=\"[object Promise]\",Lt=\"[object Proxy]\",lt=\"[object RegExp]\",rn=\"[object Set]\",qt=\"[object String]\",hn=\"[object Symbol]\",Kt=\"[object Undefined]\",an=\"[object WeakMap]\",In=\"[object WeakSet]\",Ft=\"[object ArrayBuffer]\",kt=\"[object DataView]\",At=\"[object Float32Array]\",Fn=\"[object Float64Array]\",pn=\"[object Int8Array]\",en=\"[object Int16Array]\",Wn=\"[object Int32Array]\",Mn=\"[object Uint8Array]\",Kn=\"[object Uint8ClampedArray]\",hr=\"[object Uint16Array]\",pr=\"[object Uint32Array]\",zr=/\\b__p \\+= '';/g,Wr=/\\b(__p \\+=) '' \\+/g,Nr=/(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g,Kr=/&(?:amp|lt|gt|quot|#39);/g,ko=/[&<>\"']/g,Ur=RegExp(Kr.source),gn=RegExp(ko.source),Gt=/<%-([\\s\\S]+?)%>/g,bt=/<%([\\s\\S]+?)%>/g,Zt=/<%=([\\s\\S]+?)%>/g,gt=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,Wt=/^\\w*$/,xn=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g,Dt=/[\\\\^$.*+?()[\\]{}|]/g,Xn=RegExp(Dt.source),Rn=/^\\s+/,wt=/\\s/,pt=/\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/,Ue=/\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,xt=/,? & /,cn=/[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g,er=/[()=,{}\\[\\]\\/\\s]/,Mr=/\\\\(\\\\)?/g,xr=/\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g,jr=/\\w*$/,yo=/^[-+]0x[0-9a-f]+$/i,eo=/^0b[01]+$/i,vi=/^\\[object .+?Constructor\\]$/,Ti=/^0o[0-7]+$/i,wi=/^(?:0|[1-9]\\d*)$/,mi=/[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g,Zi=/($^)/,aa=/['\\n\\r\\u2028\\u2029\\\\]/g,$e=\"\\\\ud800-\\\\udfff\",dn=\"\\\\u0300-\\\\u036f\",Un=\"\\\\ufe20-\\\\ufe2f\",ar=\"\\\\u20d0-\\\\u20ff\",Rr=dn+Un+ar,Ro=\"\\\\u2700-\\\\u27bf\",Vo=\"a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff\",Co=\"\\\\xac\\\\xb1\\\\xd7\\\\xf7\",Mo=\"\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf\",qo=\"\\\\u2000-\\\\u206f\",ti=\" \\\\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\",pi=\"A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde\",ni=\"\\\\ufe0e\\\\ufe0f\",si=Co+Mo+qo+ti,Oi=\"['\\u2019]\",Ki=\"[\"+$e+\"]\",ca=\"[\"+si+\"]\",zi=\"[\"+Rr+\"]\",br=\"\\\\d+\",Re=\"[\"+Ro+\"]\",je=\"[\"+Vo+\"]\",nt=\"[^\"+$e+si+br+Ro+Vo+pi+\"]\",rt=\"\\\\ud83c[\\\\udffb-\\\\udfff]\",Xt=\"(?:\"+zi+\"|\"+rt+\")\",fn=\"[^\"+$e+\"]\",Cn=\"(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}\",Yn=\"[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]\",Ae=\"[\"+pi+\"]\",Ke=\"\\\\u200d\",Mt=\"(?:\"+je+\"|\"+nt+\")\",Ut=\"(?:\"+Ae+\"|\"+nt+\")\",kn=\"(?:\"+Oi+\"(?:d|ll|m|re|s|t|ve))?\",Zn=\"(?:\"+Oi+\"(?:D|LL|M|RE|S|T|VE))?\",lr=Xt+\"?\",wr=\"[\"+ni+\"]?\",Dr=\"(?:\"+Ke+\"(?:\"+[fn,Cn,Yn].join(\"|\")+\")\"+wr+lr+\")*\",go=\"\\\\d*(?:1st|2nd|3rd|(?![123])\\\\dth)(?=\\\\b|[A-Z_])\",Ir=\"\\\\d*(?:1ST|2ND|3RD|(?![123])\\\\dTH)(?=\\\\b|[a-z_])\",Jr=wr+lr+Dr,_o=\"(?:\"+[Re,Cn,Yn].join(\"|\")+\")\"+Jr,No=\"(?:\"+[fn+zi+\"?\",zi,Cn,Yn,Ki].join(\"|\")+\")\",ii=RegExp(Oi,\"g\"),Lo=RegExp(zi,\"g\"),ai=RegExp(rt+\"(?=\"+rt+\")|\"+No+Jr,\"g\"),Si=RegExp([Ae+\"?\"+je+\"+\"+kn+\"(?=\"+[ca,Ae,\"$\"].join(\"|\")+\")\",Ut+\"+\"+Zn+\"(?=\"+[ca,Ae+Mt,\"$\"].join(\"|\")+\")\",Ae+\"?\"+Mt+\"+\"+kn,Ae+\"+\"+Zn,Ir,go,br,_o].join(\"|\"),\"g\"),Ui=RegExp(\"[\"+Ke+$e+Rr+ni+\"]\"),ln=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,mn=[\"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\"],fr=-1,ft={};ft[At]=ft[Fn]=ft[pn]=ft[en]=ft[Wn]=ft[Mn]=ft[Kn]=ft[hr]=ft[pr]=!0,ft[X]=ft[se]=ft[Ft]=ft[_e]=ft[kt]=ft[be]=ft[we]=ft[Ze]=ft[et]=ft[ht]=ft[mt]=ft[lt]=ft[rn]=ft[qt]=ft[an]=!1;var ct={};ct[X]=ct[se]=ct[Ft]=ct[kt]=ct[_e]=ct[be]=ct[At]=ct[Fn]=ct[pn]=ct[en]=ct[Wn]=ct[et]=ct[ht]=ct[mt]=ct[lt]=ct[rn]=ct[qt]=ct[hn]=ct[Mn]=ct[Kn]=ct[hr]=ct[pr]=!0,ct[we]=ct[Ze]=ct[an]=!1;var tn={\\u00C0:\"A\",\\u00C1:\"A\",\\u00C2:\"A\",\\u00C3:\"A\",\\u00C4:\"A\",\\u00C5:\"A\",\\u00E0:\"a\",\\u00E1:\"a\",\\u00E2:\"a\",\\u00E3:\"a\",\\u00E4:\"a\",\\u00E5:\"a\",\\u00C7:\"C\",\\u00E7:\"c\",\\u00D0:\"D\",\\u00F0:\"d\",\\u00C8:\"E\",\\u00C9:\"E\",\\u00CA:\"E\",\\u00CB:\"E\",\\u00E8:\"e\",\\u00E9:\"e\",\\u00EA:\"e\",\\u00EB:\"e\",\\u00CC:\"I\",\\u00CD:\"I\",\\u00CE:\"I\",\\u00CF:\"I\",\\u00EC:\"i\",\\u00ED:\"i\",\\u00EE:\"i\",\\u00EF:\"i\",\\u00D1:\"N\",\\u00F1:\"n\",\\u00D2:\"O\",\\u00D3:\"O\",\\u00D4:\"O\",\\u00D5:\"O\",\\u00D6:\"O\",\\u00D8:\"O\",\\u00F2:\"o\",\\u00F3:\"o\",\\u00F4:\"o\",\\u00F5:\"o\",\\u00F6:\"o\",\\u00F8:\"o\",\\u00D9:\"U\",\\u00DA:\"U\",\\u00DB:\"U\",\\u00DC:\"U\",\\u00F9:\"u\",\\u00FA:\"u\",\\u00FB:\"u\",\\u00FC:\"u\",\\u00DD:\"Y\",\\u00FD:\"y\",\\u00FF:\"y\",\\u00C6:\"Ae\",\\u00E6:\"ae\",\\u00DE:\"Th\",\\u00FE:\"th\",\\u00DF:\"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\"},An={\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\",\"'\":\"&#39;\"},Rt={\"&amp;\":\"&\",\"&lt;\":\"<\",\"&gt;\":\">\",\"&quot;\":'\"',\"&#39;\":\"'\"},un={\"\\\\\":\"\\\\\",\"'\":\"'\",\"\\n\":\"n\",\"\\r\":\"r\",\"\\u2028\":\"u2028\",\"\\u2029\":\"u2029\"},Dn=parseFloat,dr=parseInt,Ar=typeof c.g==\"object\"&&c.g&&c.g.Object===Object&&c.g,Gr=typeof self==\"object\"&&self&&self.Object===Object&&self,Pr=Ar||Gr||Function(\"return this\")(),Xr=Ee&&!Ee.nodeType&&Ee,oo=Xr&&!0&&Pt&&!Pt.nodeType&&Pt,io=oo&&oo.exports===Xr,to=io&&Ar.process,To=function(){try{var rr=oo&&oo.require&&oo.require(\"util\").types;return rr||to&&to.binding&&to.binding(\"util\")}catch(Eo){}}(),jn=To&&To.isArrayBuffer,W=To&&To.isDate,P=To&&To.isMap,k=To&&To.isRegExp,z=To&&To.isSet,Q=To&&To.isTypedArray;function F(rr,Eo,Br){switch(Br.length){case 0:return rr.call(Eo);case 1:return rr.call(Eo,Br[0]);case 2:return rr.call(Eo,Br[0],Br[1]);case 3:return rr.call(Eo,Br[0],Br[1],Br[2])}return rr.apply(Eo,Br)}function V(rr,Eo,Br,Ao){for(var Di=-1,Aa=rr==null?0:rr.length;++Di<Aa;){var Na=rr[Di];Eo(Ao,Na,Br(Na),rr)}return Ao}function U(rr,Eo){for(var Br=-1,Ao=rr==null?0:rr.length;++Br<Ao&&Eo(rr[Br],Br,rr)!==!1;);return rr}function ge(rr,Eo){for(var Br=rr==null?0:rr.length;Br--&&Eo(rr[Br],Br,rr)!==!1;);return rr}function ke(rr,Eo){for(var Br=-1,Ao=rr==null?0:rr.length;++Br<Ao;)if(!Eo(rr[Br],Br,rr))return!1;return!0}function St(rr,Eo){for(var Br=-1,Ao=rr==null?0:rr.length,Di=0,Aa=[];++Br<Ao;){var Na=rr[Br];Eo(Na,Br,rr)&&(Aa[Di++]=Na)}return Aa}function Je(rr,Eo){var Br=rr==null?0:rr.length;return!!Br&&ur(rr,Eo,0)>-1}function Ot(rr,Eo,Br){for(var Ao=-1,Di=rr==null?0:rr.length;++Ao<Di;)if(Br(Eo,rr[Ao]))return!0;return!1}function It(rr,Eo){for(var Br=-1,Ao=rr==null?0:rr.length,Di=Array(Ao);++Br<Ao;)Di[Br]=Eo(rr[Br],Br,rr);return Di}function jt(rr,Eo){for(var Br=-1,Ao=Eo.length,Di=rr.length;++Br<Ao;)rr[Di+Br]=Eo[Br];return rr}function Vt(rr,Eo,Br,Ao){var Di=-1,Aa=rr==null?0:rr.length;for(Ao&&Aa&&(Br=rr[++Di]);++Di<Aa;)Br=Eo(Br,rr[Di],Di,rr);return Br}function Pn(rr,Eo,Br,Ao){var Di=rr==null?0:rr.length;for(Ao&&Di&&(Br=rr[--Di]);Di--;)Br=Eo(Br,rr[Di],Di,rr);return Br}function Jn(rr,Eo){for(var Br=-1,Ao=rr==null?0:rr.length;++Br<Ao;)if(Eo(rr[Br],Br,rr))return!0;return!1}var vn=En(\"length\");function Vn(rr){return rr.split(\"\")}function zt(rr){return rr.match(cn)||[]}function ir(rr,Eo,Br){var Ao;return Br(rr,function(Di,Aa,Na){if(Eo(Di,Aa,Na))return Ao=Aa,!1}),Ao}function nr(rr,Eo,Br,Ao){for(var Di=rr.length,Aa=Br+(Ao?1:-1);Ao?Aa--:++Aa<Di;)if(Eo(rr[Aa],Aa,rr))return Aa;return-1}function ur(rr,Eo,Br){return Eo===Eo?ss(rr,Eo,Br):nr(rr,Ln,Br)}function sr(rr,Eo,Br,Ao){for(var Di=Br-1,Aa=rr.length;++Di<Aa;)if(Ao(rr[Di],Eo))return Di;return-1}function Ln(rr){return rr!==rr}function Bt(rr,Eo){var Br=rr==null?0:rr.length;return Br?kr(rr,Eo)/Br:oe}function En(rr){return function(Eo){return Eo==null?y:Eo[rr]}}function _n(rr){return function(Eo){return rr==null?y:rr[Eo]}}function cr(rr,Eo,Br,Ao,Di){return Di(rr,function(Aa,Na,Fa){Br=Ao?(Ao=!1,Aa):Eo(Br,Aa,Na,Fa)}),Br}function ao(rr,Eo){var Br=rr.length;for(rr.sort(Eo);Br--;)rr[Br]=rr[Br].value;return rr}function kr(rr,Eo){for(var Br,Ao=-1,Di=rr.length;++Ao<Di;){var Aa=Eo(rr[Ao]);Aa!==y&&(Br=Br===y?Aa:Br+Aa)}return Br}function jo(rr,Eo){for(var Br=-1,Ao=Array(rr);++Br<rr;)Ao[Br]=Eo(Br);return Ao}function ui(rr,Eo){return It(Eo,function(Br){return[Br,rr[Br]]})}function Vr(rr){return rr&&rr.slice(0,Ba(rr)+1).replace(Rn,\"\")}function ho(rr){return function(Eo){return rr(Eo)}}function vo(rr,Eo){return It(Eo,function(Br){return rr[Br]})}function uo(rr,Eo){return rr.has(Eo)}function Go(rr,Eo){for(var Br=-1,Ao=rr.length;++Br<Ao&&ur(Eo,rr[Br],0)>-1;);return Br}function Pi(rr,Eo){for(var Br=rr.length;Br--&&ur(Eo,rr[Br],0)>-1;);return Br}function la(rr,Eo){for(var Br=rr.length,Ao=0;Br--;)rr[Br]===Eo&&++Ao;return Ao}var Vi=_n(tn),ha=_n(An);function xa(rr){return\"\\\\\"+un[rr]}function qi(rr,Eo){return rr==null?y:rr[Eo]}function Jo(rr){return Ui.test(rr)}function Ji(rr){return ln.test(rr)}function Yi(rr){for(var Eo,Br=[];!(Eo=rr.next()).done;)Br.push(Eo.value);return Br}function Ii(rr){var Eo=-1,Br=Array(rr.size);return rr.forEach(function(Ao,Di){Br[++Eo]=[Di,Ao]}),Br}function pa(rr,Eo){return function(Br){return rr(Eo(Br))}}function na(rr,Eo){for(var Br=-1,Ao=rr.length,Di=0,Aa=[];++Br<Ao;){var Na=rr[Br];(Na===Eo||Na===a)&&(rr[Br]=a,Aa[Di++]=Br)}return Aa}function $i(rr){var Eo=-1,Br=Array(rr.size);return rr.forEach(function(Ao){Br[++Eo]=Ao}),Br}function La(rr){var Eo=-1,Br=Array(rr.size);return rr.forEach(function(Ao){Br[++Eo]=[Ao,Ao]}),Br}function ss(rr,Eo,Br){for(var Ao=Br-1,Di=rr.length;++Ao<Di;)if(rr[Ao]===Eo)return Ao;return-1}function Oa(rr,Eo,Br){for(var Ao=Br+1;Ao--;)if(rr[Ao]===Eo)return Ao;return Ao}function Ma(rr){return Jo(rr)?Va(rr):vn(rr)}function Ka(rr){return Jo(rr)?Ls(rr):Vn(rr)}function Ba(rr){for(var Eo=rr.length;Eo--&&wt.test(rr.charAt(Eo)););return Eo}var Ua=_n(Rt);function Va(rr){for(var Eo=ai.lastIndex=0;ai.test(rr);)++Eo;return Eo}function Ls(rr){return rr.match(ai)||[]}function Qo(rr){return rr.match(Si)||[]}var ws=function rr(Eo){Eo=Eo==null?Pr:Za.defaults(Pr.Object(),Eo,Za.pick(Pr,mn));var Br=Eo.Array,Ao=Eo.Date,Di=Eo.Error,Aa=Eo.Function,Na=Eo.Math,Fa=Eo.Object,Bs=Eo.RegExp,Ms=Eo.String,Qa=Eo.TypeError,us=Br.prototype,Fs=Aa.prototype,$a=Fa.prototype,Hs=Eo[\"__core-js_shared__\"],ys=Fs.toString,sa=$a.hasOwnProperty,Xa=0,os=function(){var S=/[^.]+$/.exec(Hs&&Hs.keys&&Hs.keys.IE_PROTO||\"\");return S?\"Symbol(src)_1.\"+S:\"\"}(),As=$a.toString,oa=ys.call(Fa),di=Pr._,ia=Bs(\"^\"+ys.call(sa).replace(Dt,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\"),_i=io?Eo.Buffer:y,gi=Eo.Symbol,fa=Eo.Uint8Array,Pa=_i?_i.allocUnsafe:y,xs=pa(Fa.getPrototypeOf,Fa),Li=Fa.create,vs=$a.propertyIsEnumerable,Ca=us.splice,ra=gi?gi.isConcatSpreadable:y,Ja=gi?gi.iterator:y,qa=gi?gi.toStringTag:y,Ts=function(){try{var S=eu(Fa,\"defineProperty\");return S({},\"\",{}),S}catch(R){}}(),v=Eo.clearTimeout!==Pr.clearTimeout&&Eo.clearTimeout,G=Ao&&Ao.now!==Pr.Date.now&&Ao.now,ze=Eo.setTimeout!==Pr.setTimeout&&Eo.setTimeout,ut=Na.ceil,_t=Na.floor,Ht=Fa.getOwnPropertySymbols,$t=_i?_i.isBuffer:y,wn=Eo.isFinite,On=us.join,$n=pa(Fa.keys,Fa),gr=Na.max,Fr=Na.min,Qr=Ao.now,qr=Eo.parseInt,mo=Na.random,Ho=us.reverse,fo=eu(Eo,\"DataView\"),ei=eu(Eo,\"Map\"),ea=eu(Eo,\"Promise\"),Xi=eu(Eo,\"Set\"),hi=eu(Eo,\"WeakMap\"),Yo=eu(Fa,\"create\"),Bi=hi&&new hi,_a={},wa=$s(fo),Ia=$s(ei),tr=$s(ea),Sa=$s(Xi),Ta=$s(hi),ga=gi?gi.prototype:y,Fi=ga?ga.valueOf:y,Cs=ga?ga.toString:y;function yn(S){if(au(S)&&!es(S)&&!(S instanceof Wa)){if(S instanceof gs)return S;if(sa.call(S,\"__wrapped__\"))return Lf(S)}return new gs(S)}var zs=function(){function S(){}return function(R){if(!nu(R))return{};if(Li)return Li(R);S.prototype=R;var pe=new S;return S.prototype=y,pe}}();function ds(){}function gs(S,R){this.__wrapped__=S,this.__actions__=[],this.__chain__=!!R,this.__index__=0,this.__values__=y}yn.templateSettings={escape:Gt,evaluate:bt,interpolate:Zt,variable:\"\",imports:{_:yn}},yn.prototype=ds.prototype,yn.prototype.constructor=yn,gs.prototype=zs(ds.prototype),gs.prototype.constructor=gs;function Wa(S){this.__wrapped__=S,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=he,this.__views__=[]}function Ac(){var S=new Wa(this.__wrapped__);return S.__actions__=iu(this.__actions__),S.__dir__=this.__dir__,S.__filtered__=this.__filtered__,S.__iteratees__=iu(this.__iteratees__),S.__takeCount__=this.__takeCount__,S.__views__=iu(this.__views__),S}function Gs(){if(this.__filtered__){var S=new Wa(this);S.__dir__=-1,S.__filtered__=!0}else S=this.clone(),S.__dir__*=-1;return S}function Tc(){var S=this.__wrapped__.value(),R=this.__dir__,pe=es(S),ot=R<0,Yt=pe?S.length:0,Gn=af(0,Yt,this.__views__),_r=Gn.start,$r=Gn.end,so=$r-_r,li=ot?$r:_r-1,fi=this.__iteratees__,Ei=fi.length,Qi=0,ya=Fr(so,this.__takeCount__);if(!pe||!ot&&Yt==so&&ya==so)return ci(S,this.__actions__);var Ha=[];e:for(;so--&&Qi<ya;){li+=R;for(var ps=-1,Ga=S[li];++ps<Ei;){var bs=fi[ps],Os=bs.iteratee,Zc=bs.type,mc=Os(Ga);if(Zc==De)Ga=mc;else if(!mc){if(Zc==Le)continue e;break e}}Ha[Qi++]=Ga}return Ha}Wa.prototype=zs(ds.prototype),Wa.prototype.constructor=Wa;function pu(S){var R=-1,pe=S==null?0:S.length;for(this.clear();++R<pe;){var ot=S[R];this.set(ot[0],ot[1])}}function Pc(){this.__data__=Yo?Yo(null):{},this.size=0}function Yc(S){var R=this.has(S)&&delete this.__data__[S];return this.size-=R?1:0,R}function Kc(S){var R=this.__data__;if(Yo){var pe=R[S];return pe===p?y:pe}return sa.call(R,S)?R[S]:y}function rc(S){var R=this.__data__;return Yo?R[S]!==y:sa.call(R,S)}function qc(S,R){var pe=this.__data__;return this.size+=this.has(S)?0:1,pe[S]=Yo&&R===y?p:R,this}pu.prototype.clear=Pc,pu.prototype.delete=Yc,pu.prototype.get=Kc,pu.prototype.has=rc,pu.prototype.set=qc;function Ns(S){var R=-1,pe=S==null?0:S.length;for(this.clear();++R<pe;){var ot=S[R];this.set(ot[0],ot[1])}}function Au(){this.__data__=[],this.size=0}function yc(S){var R=this.__data__,pe=Nu(R,S);if(pe<0)return!1;var ot=R.length-1;return pe==ot?R.pop():Ca.call(R,pe,1),--this.size,!0}function gu(S){var R=this.__data__,pe=Nu(R,S);return pe<0?y:R[pe][1]}function bc(S){return Nu(this.__data__,S)>-1}function Ic(S,R){var pe=this.__data__,ot=Nu(pe,S);return ot<0?(++this.size,pe.push([S,R])):pe[ot][1]=R,this}Ns.prototype.clear=Au,Ns.prototype.delete=yc,Ns.prototype.get=gu,Ns.prototype.has=bc,Ns.prototype.set=Ic;function vu(S){var R=-1,pe=S==null?0:S.length;for(this.clear();++R<pe;){var ot=S[R];this.set(ot[0],ot[1])}}function Yu(){this.size=0,this.__data__={hash:new pu,map:new(ei||Ns),string:new pu}}function oc(S){var R=Qu(this,S).delete(S);return this.size-=R?1:0,R}function kc(S){return Qu(this,S).get(S)}function le(S){return Qu(this,S).has(S)}function Be(S,R){var pe=Qu(this,S),ot=pe.size;return pe.set(S,R),this.size+=pe.size==ot?0:1,this}vu.prototype.clear=Yu,vu.prototype.delete=oc,vu.prototype.get=kc,vu.prototype.has=le,vu.prototype.set=Be;function st(S){var R=-1,pe=S==null?0:S.length;for(this.__data__=new vu;++R<pe;)this.add(S[R])}function it(S){return this.__data__.set(S,p),this}function Qt(S){return this.__data__.has(S)}st.prototype.add=st.prototype.push=it,st.prototype.has=Qt;function qn(S){var R=this.__data__=new Ns(S);this.size=R.size}function Tr(){this.__data__=new Ns,this.size=0}function bo(S){var R=this.__data__,pe=R.delete(S);return this.size=R.size,pe}function Ko(S){return this.__data__.get(S)}function Mi(S){return this.__data__.has(S)}function Hi(S,R){var pe=this.__data__;if(pe instanceof Ns){var ot=pe.__data__;if(!ei||ot.length<C-1)return ot.push([S,R]),this.size=++pe.size,this;pe=this.__data__=new vu(ot)}return pe.set(S,R),this.size=pe.size,this}qn.prototype.clear=Tr,qn.prototype.delete=bo,qn.prototype.get=Ko,qn.prototype.has=Mi,qn.prototype.set=Hi;function ja(S,R){var pe=es(S),ot=!pe&&El(S),Yt=!pe&&!ot&&Sf(S),Gn=!pe&&!ot&&!Yt&&Vf(S),_r=pe||ot||Yt||Gn,$r=_r?jo(S.length,Ms):[],so=$r.length;for(var li in S)(R||sa.call(S,li))&&!(_r&&(li==\"length\"||Yt&&(li==\"offset\"||li==\"parent\")||Gn&&(li==\"buffer\"||li==\"byteLength\"||li==\"byteOffset\")||cu(li,so)))&&$r.push(li);return $r}function ms(S){var R=S.length;return R?S[ne(0,R-1)]:y}function Ps(S,R){return Ll(iu(S),yu(R,0,S.length))}function fu(S){return Ll(iu(S))}function qs(S,R,pe){(pe!==y&&!fl(S[R],pe)||pe===y&&!(R in S))&&cs(S,R,pe)}function Ya(S,R,pe){var ot=S[R];(!(sa.call(S,R)&&fl(ot,pe))||pe===y&&!(R in S))&&cs(S,R,pe)}function Nu(S,R){for(var pe=S.length;pe--;)if(fl(S[pe][0],R))return pe;return-1}function ru(S,R,pe,ot){return ju(S,function(Yt,Gn,_r){R(ot,Yt,pe(Yt),_r)}),ot}function mu(S,R){return S&&lc(R,oi(R),S)}function Zs(S,R){return S&&lc(R,bi(R),S)}function cs(S,R,pe){R==\"__proto__\"&&Ts?Ts(S,R,{configurable:!0,enumerable:!0,value:pe,writable:!0}):S[R]=pe}function Xs(S,R){for(var pe=-1,ot=R.length,Yt=Br(ot),Gn=S==null;++pe<ot;)Yt[pe]=Gn?y:Sn(S,R[pe]);return Yt}function yu(S,R,pe){return S===S&&(pe!==y&&(S=S<=pe?S:pe),R!==y&&(S=S>=R?S:R)),S}function bu(S,R,pe,ot,Yt,Gn){var _r,$r=R&f,so=R&h,li=R&l;if(pe&&(_r=Yt?pe(S,ot,Yt,Gn):pe(S)),_r!==y)return _r;if(!nu(S))return S;var fi=es(S);if(fi){if(_r=Pf(S),!$r)return iu(S,_r)}else{var Ei=Us(S),Qi=Ei==Ze||Ei==Ve;if(Sf(S))return uu(S,$r);if(Ei==mt||Ei==X||Qi&&!Yt){if(_r=so||Qi?{}:jl(S),!$r)return so?wc(S,Zs(_r,S)):ls(S,mu(_r,S))}else{if(!ct[Ei])return Yt?S:{};_r=qf(S,Ei,$r)}}Gn||(Gn=new qn);var ya=Gn.get(S);if(ya)return ya;Gn.set(S,_r),Hd(S)?S.forEach(function(Ga){_r.add(bu(Ga,R,pe,Ga,S,Gn))}):zd(S)&&S.forEach(function(Ga,bs){_r.set(bs,bu(Ga,R,pe,bs,S,Gn))});var Ha=li?so?Il:rf:so?bi:oi,ps=fi?y:Ha(S);return U(ps||S,function(Ga,bs){ps&&(bs=Ga,Ga=S[bs]),Ya(_r,bs,bu(Ga,R,pe,bs,S,Gn))}),_r}function Ku(S){var R=oi(S);return function(pe){return Qc(pe,S,R)}}function Qc(S,R,pe){var ot=pe.length;if(S==null)return!ot;for(S=Fa(S);ot--;){var Yt=pe[ot],Gn=R[Yt],_r=S[Yt];if(_r===y&&!(Yt in S)||!Gn(_r))return!1}return!0}function _l(S,R,pe){if(typeof S!=\"function\")throw new Qa(O);return wl(function(){S.apply(y,pe)},R)}function Nc(S,R,pe,ot){var Yt=-1,Gn=Je,_r=!0,$r=S.length,so=[],li=R.length;if(!$r)return so;pe&&(R=It(R,ho(pe))),ot?(Gn=Ot,_r=!1):R.length>=C&&(Gn=uo,_r=!1,R=new st(R));e:for(;++Yt<$r;){var fi=S[Yt],Ei=pe==null?fi:pe(fi);if(fi=ot||fi!==0?fi:0,_r&&Ei===Ei){for(var Qi=li;Qi--;)if(R[Qi]===Ei)continue e;so.push(fi)}else Gn(R,Ei,ot)||so.push(fi)}return so}var ju=fc(Ys),Wu=fc(Uu,!0);function dl(S,R){var pe=!0;return ju(S,function(ot,Yt,Gn){return pe=!!R(ot,Yt,Gn),pe}),pe}function Du(S,R,pe){for(var ot=-1,Yt=S.length;++ot<Yt;){var Gn=S[ot],_r=R(Gn);if(_r!=null&&($r===y?_r===_r&&!gc(_r):pe(_r,$r)))var $r=_r,so=Gn}return so}function hl(S,R,pe,ot){var Yt=S.length;for(pe=rs(pe),pe<0&&(pe=-pe>Yt?0:Yt+pe),ot=ot===y||ot>Yt?Yt:rs(ot),ot<0&&(ot+=Yt),ot=pe>ot?0:Gd(ot);pe<ot;)S[pe++]=R;return S}function jc(S,R){var pe=[];return ju(S,function(ot,Yt,Gn){R(ot,Yt,Gn)&&pe.push(ot)}),pe}function js(S,R,pe,ot,Yt){var Gn=-1,_r=S.length;for(pe||(pe=If),Yt||(Yt=[]);++Gn<_r;){var $r=S[Gn];R>0&&pe($r)?R>1?js($r,R-1,pe,ot,Yt):jt(Yt,$r):ot||(Yt[Yt.length]=$r)}return Yt}var xu=Kl(),wu=Kl(!0);function Ys(S,R){return S&&xu(S,R,oi)}function Uu(S,R){return S&&wu(S,R,oi)}function Dc(S,R){return St(R,function(pe){return Ol(S[pe])})}function ic(S,R){R=Da(R,S);for(var pe=0,ot=R.length;S!=null&&pe<ot;)S=S[ec(R[pe++])];return pe&&pe==ot?S:y}function Rc(S,R,pe){var ot=R(S);return es(S)?ot:jt(ot,pe(S))}function is(S){return S==null?S===y?Kt:Fe:qa&&qa in Fa(S)?ml(S):Rf(S)}function Tu(S,R){return S>R}function Pu(S,R){return S!=null&&sa.call(S,R)}function Jc(S,R){return S!=null&&R in Fa(S)}function Gl(S,R,pe){return S>=Fr(R,pe)&&S<gr(R,pe)}function ac(S,R,pe){for(var ot=pe?Ot:Je,Yt=S[0].length,Gn=S.length,_r=Gn,$r=Br(Gn),so=1/0,li=[];_r--;){var fi=S[_r];_r&&R&&(fi=It(fi,ho(R))),so=Fr(fi.length,so),$r[_r]=!pe&&(R||Yt>=120&&fi.length>=120)?new st(_r&&fi):y}fi=S[0];var Ei=-1,Qi=$r[0];e:for(;++Ei<Yt&&li.length<so;){var ya=fi[Ei],Ha=R?R(ya):ya;if(ya=pe||ya!==0?ya:0,!(Qi?uo(Qi,Ha):ot(li,Ha,pe))){for(_r=Gn;--_r;){var ps=$r[_r];if(!(ps?uo(ps,Ha):ot(S[_r],Ha,pe)))continue e}Qi&&Qi.push(Ha),li.push(ya)}}return li}function el(S,R,pe,ot){return Ys(S,function(Yt,Gn,_r){R(ot,pe(Yt),Gn,_r)}),ot}function sc(S,R,pe){R=Da(R,S),S=Wc(S,R);var ot=S==null?S:S[ec(Ou(R))];return ot==null?y:F(ot,S,pe)}function tl(S){return au(S)&&is(S)==X}function nl(S){return au(S)&&is(S)==Ft}function Vu(S){return au(S)&&is(S)==be}function Lc(S,R,pe,ot,Yt){return S===R?!0:S==null||R==null||!au(S)&&!au(R)?S!==S&&R!==R:Wl(S,R,pe,ot,Lc,Yt)}function Wl(S,R,pe,ot,Yt,Gn){var _r=es(S),$r=es(R),so=_r?se:Us(S),li=$r?se:Us(R);so=so==X?mt:so,li=li==X?mt:li;var fi=so==mt,Ei=li==mt,Qi=so==li;if(Qi&&Sf(S)){if(!Sf(R))return!1;_r=!0,fi=!1}if(Qi&&!fi)return Gn||(Gn=new qn),_r||Vf(S)?Ks(S,R,pe,ot,Yt,Gn):Hc(S,R,so,pe,ot,Yt,Gn);if(!(pe&s)){var ya=fi&&sa.call(S,\"__wrapped__\"),Ha=Ei&&sa.call(R,\"__wrapped__\");if(ya||Ha){var ps=ya?S.value():S,Ga=Ha?R.value():R;return Gn||(Gn=new qn),Yt(ps,Ga,pe,ot,Gn)}}return Qi?(Gn||(Gn=new qn),Tf(S,R,pe,ot,Yt,Gn)):!1}function Ul(S){return au(S)&&Us(S)==et}function uc(S,R,pe,ot){var Yt=pe.length,Gn=Yt,_r=!ot;if(S==null)return!Gn;for(S=Fa(S);Yt--;){var $r=pe[Yt];if(_r&&$r[2]?$r[1]!==S[$r[0]]:!($r[0]in S))return!1}for(;++Yt<Gn;){$r=pe[Yt];var so=$r[0],li=S[so],fi=$r[1];if(_r&&$r[2]){if(li===y&&!(so in S))return!1}else{var Ei=new qn;if(ot)var Qi=ot(li,fi,so,S,R,Ei);if(!(Qi===y?Lc(fi,li,s|m,ot,Ei):Qi))return!1}}return!0}function rl(S){if(!nu(S)||bl(S))return!1;var R=Ol(S)?ia:vi;return R.test($s(S))}function ol(S){return au(S)&&is(S)==lt}function ta(S){return au(S)&&Us(S)==rn}function pl(S){return au(S)&&ud(S.length)&&!!ft[is(S)]}function Bc(S){return typeof S==\"function\"?S:S==null?Mc:typeof S==\"object\"?es(S)?zc(S[0],S[1]):al(S):Bh(S)}function xc(S){if(!Gc(S))return $n(S);var R=[];for(var pe in Fa(S))sa.call(S,pe)&&pe!=\"constructor\"&&R.push(pe);return R}function $u(S){if(!nu(S))return Df(S);var R=Gc(S),pe=[];for(var ot in S)ot==\"constructor\"&&(R||!sa.call(S,ot))||pe.push(ot);return pe}function Fc(S,R){return S<R}function il(S,R){var pe=-1,ot=tc(S)?Br(S.length):[];return ju(S,function(Yt,Gn,_r){ot[++pe]=R(Yt,Gn,_r)}),ot}function al(S){var R=Hu(S);return R.length==1&&R[0][2]?Nf(R[0][0],R[0][1]):function(pe){return pe===S||uc(pe,S,R)}}function zc(S,R){return uf(S)&&kf(R)?Nf(ec(S),R):function(pe){var ot=Sn(pe,S);return ot===y&&ot===R?Or(pe,S):Lc(R,ot,s|m)}}function cc(S,R,pe,ot,Yt){S!==R&&xu(R,function(Gn,_r){if(Yt||(Yt=new qn),nu(Gn))Ml(S,R,_r,pe,cc,ot,Yt);else{var $r=ot?ot(Rl(S,_r),Gn,_r+\"\",S,R,Yt):y;$r===y&&($r=Gn),qs(S,_r,$r)}},bi)}function Ml(S,R,pe,ot,Yt,Gn,_r){var $r=Rl(S,pe),so=Rl(R,pe),li=_r.get(so);if(li){qs(S,pe,li);return}var fi=Gn?Gn($r,so,pe+\"\",S,R,_r):y,Ei=fi===y;if(Ei){var Qi=es(so),ya=!Qi&&Sf(so),Ha=!Qi&&!ya&&Vf(so);fi=so,Qi||ya||Ha?es($r)?fi=$r:lu($r)?fi=iu($r):ya?(Ei=!1,fi=uu(so,!0)):Ha?(Ei=!1,fi=Iu(so,!0)):fi=[]:cd(so)||El(so)?(fi=$r,El($r)?fi=Wd($r):(!nu($r)||Ol($r))&&(fi=jl(so))):Ei=!1}Ei&&(_r.set(so,fi),Yt(fi,so,ot,Gn,_r),_r.delete(so)),qs(S,pe,fi)}function Al(S,R){var pe=S.length;if(pe)return R+=R<0?pe:0,cu(R,pe)?S[R]:y}function sl(S,R,pe){R.length?R=It(R,function(Gn){return es(Gn)?function(_r){return ic(_r,Gn.length===1?Gn[0]:Gn)}:Gn}):R=[Mc];var ot=-1;R=It(R,ho(va()));var Yt=il(S,function(Gn,_r,$r){var so=It(R,function(li){return li(Gn)});return{criteria:so,index:++ot,value:Gn}});return ao(Yt,function(Gn,_r){return Xl(Gn,_r,pe)})}function Vl(S,R){return ou(S,R,function(pe,ot){return Or(S,ot)})}function ou(S,R,pe){for(var ot=-1,Yt=R.length,Gn={};++ot<Yt;){var _r=R[ot],$r=ic(S,_r);pe($r,_r)&&Jt(Gn,Da(_r,S),$r)}return Gn}function Zl(S){return function(R){return ic(R,S)}}function su(S,R,pe,ot){var Yt=ot?sr:ur,Gn=-1,_r=R.length,$r=S;for(S===R&&(R=iu(R)),pe&&($r=It(S,ho(pe)));++Gn<_r;)for(var so=0,li=R[Gn],fi=pe?pe(li):li;(so=Yt($r,fi,so,ot))>-1;)$r!==S&&Ca.call($r,so,1),Ca.call(S,so,1);return S}function $(S,R){for(var pe=S?R.length:0,ot=pe-1;pe--;){var Yt=R[pe];if(pe==ot||Yt!==Gn){var Gn=Yt;cu(Yt)?Ca.call(S,Yt,1):Zo(S,Yt)}}return S}function ne(S,R){return S+_t(mo()*(R-S+1))}function Me(S,R,pe,ot){for(var Yt=-1,Gn=gr(ut((R-S)/(pe||1)),0),_r=Br(Gn);Gn--;)_r[ot?Gn:++Yt]=S,S+=pe;return _r}function tt(S,R){var pe=\"\";if(!S||R<1||R>Oe)return pe;do R%2&&(pe+=S),R=_t(R/2),R&&(S+=S);while(R);return pe}function at(S,R){return lf(xl(S,R,Mc),S+\"\")}function Nt(S){return ms(Ed(S))}function Tt(S,R){var pe=Ed(S);return Ll(pe,yu(R,0,pe.length))}function Jt(S,R,pe,ot){if(!nu(S))return S;R=Da(R,S);for(var Yt=-1,Gn=R.length,_r=Gn-1,$r=S;$r!=null&&++Yt<Gn;){var so=ec(R[Yt]),li=pe;if(so===\"__proto__\"||so===\"constructor\"||so===\"prototype\")return S;if(Yt!=_r){var fi=$r[so];li=ot?ot(fi,so,$r):y,li===y&&(li=nu(fi)?fi:cu(R[Yt+1])?[]:{})}Ya($r,so,li),$r=$r[so]}return S}var nn=Bi?function(S,R){return Bi.set(S,R),S}:Mc,zn=Ts?function(S,R){return Ts(S,\"toString\",{configurable:!0,enumerable:!1,value:Eh(R),writable:!0})}:Mc;function mr(S){return Ll(Ed(S))}function Er(S,R,pe){var ot=-1,Yt=S.length;R<0&&(R=-R>Yt?0:Yt+R),pe=pe>Yt?Yt:pe,pe<0&&(pe+=Yt),Yt=R>pe?0:pe-R>>>0,R>>>=0;for(var Gn=Br(Yt);++ot<Yt;)Gn[ot]=S[ot+R];return Gn}function Zr(S,R){var pe;return ju(S,function(ot,Yt,Gn){return pe=R(ot,Yt,Gn),!pe}),!!pe}function Yr(S,R,pe){var ot=0,Yt=S==null?ot:S.length;if(typeof R==\"number\"&&R===R&&Yt<=ae){for(;ot<Yt;){var Gn=ot+Yt>>>1,_r=S[Gn];_r!==null&&!gc(_r)&&(pe?_r<=R:_r<R)?ot=Gn+1:Yt=Gn}return Yt}return So(S,R,Mc,pe)}function So(S,R,pe,ot){var Yt=0,Gn=S==null?0:S.length;if(Gn===0)return 0;R=pe(R);for(var _r=R!==R,$r=R===null,so=gc(R),li=R===y;Yt<Gn;){var fi=_t((Yt+Gn)/2),Ei=pe(S[fi]),Qi=Ei!==y,ya=Ei===null,Ha=Ei===Ei,ps=gc(Ei);if(_r)var Ga=ot||Ha;else li?Ga=Ha&&(ot||Qi):$r?Ga=Ha&&Qi&&(ot||!ya):so?Ga=Ha&&Qi&&!ya&&(ot||!ps):ya||ps?Ga=!1:Ga=ot?Ei<=R:Ei<R;Ga?Yt=fi+1:Gn=fi}return Fr(Gn,ie)}function Oo(S,R){for(var pe=-1,ot=S.length,Yt=0,Gn=[];++pe<ot;){var _r=S[pe],$r=R?R(_r):_r;if(!pe||!fl($r,so)){var so=$r;Gn[Yt++]=_r===0?0:_r}}return Gn}function xo(S){return typeof S==\"number\"?S:gc(S)?oe:+S}function lo(S){if(typeof S==\"string\")return S;if(es(S))return It(S,lo)+\"\";if(gc(S))return Cs?Cs.call(S):\"\";var R=S+\"\";return R==\"0\"&&1/S==-ye?\"-0\":R}function Io(S,R,pe){var ot=-1,Yt=Je,Gn=S.length,_r=!0,$r=[],so=$r;if(pe)_r=!1,Yt=Ot;else if(Gn>=C){var li=R?null:tf(S);if(li)return $i(li);_r=!1,Yt=uo,so=new st}else so=R?[]:$r;e:for(;++ot<Gn;){var fi=S[ot],Ei=R?R(fi):fi;if(fi=pe||fi!==0?fi:0,_r&&Ei===Ei){for(var Qi=so.length;Qi--;)if(so[Qi]===Ei)continue e;R&&so.push(Ei),$r.push(fi)}else Yt(so,Ei,pe)||(so!==$r&&so.push(Ei),$r.push(fi))}return $r}function Zo(S,R){return R=Da(R,S),S=Wc(S,R),S==null||delete S[ec(Ou(R))]}function xi(S,R,pe,ot){return Jt(S,R,pe(ic(S,R)),ot)}function Ai(S,R,pe,ot){for(var Yt=S.length,Gn=ot?Yt:-1;(ot?Gn--:++Gn<Yt)&&R(S[Gn],Gn,S););return pe?Er(S,ot?0:Gn,ot?Gn+1:Yt):Er(S,ot?Gn+1:0,ot?Yt:Gn)}function ci(S,R){var pe=S;return pe instanceof Wa&&(pe=pe.value()),Vt(R,function(ot,Yt){return Yt.func.apply(Yt.thisArg,jt([ot],Yt.args))},pe)}function Ri(S,R,pe){var ot=S.length;if(ot<2)return ot?Io(S[0]):[];for(var Yt=-1,Gn=Br(ot);++Yt<ot;)for(var _r=S[Yt],$r=-1;++$r<ot;)$r!=Yt&&(Gn[Yt]=Nc(Gn[Yt]||_r,S[$r],R,pe));return Io(js(Gn,1),R,pe)}function Ci(S,R,pe){for(var ot=-1,Yt=S.length,Gn=R.length,_r={};++ot<Yt;){var $r=ot<Gn?R[ot]:y;pe(_r,S[ot],$r)}return _r}function ua(S){return lu(S)?S:[]}function da(S){return typeof S==\"function\"?S:Mc}function Da(S,R){return es(S)?S:uf(S,R)?[S]:hf(_s(S))}var as=at;function ts(S,R,pe){var ot=S.length;return pe=pe===y?ot:pe,!R&&pe>=ot?S:Er(S,R,pe)}var ka=v||function(S){return Pr.clearTimeout(S)};function uu(S,R){if(R)return S.slice();var pe=S.length,ot=Pa?Pa(pe):new S.constructor(pe);return S.copy(ot),ot}function Su(S){var R=new S.constructor(S.byteLength);return new fa(R).set(new fa(S)),R}function Js(S,R){var pe=R?Su(S.buffer):S.buffer;return new S.constructor(pe,S.byteOffset,S.byteLength)}function Ws(S){var R=new S.constructor(S.source,jr.exec(S));return R.lastIndex=S.lastIndex,R}function Ru(S){return Fi?Fa(Fi.call(S)):{}}function Iu(S,R){var pe=R?Su(S.buffer):S.buffer;return new S.constructor(pe,S.byteOffset,S.length)}function Xf(S,R){if(S!==R){var pe=S!==y,ot=S===null,Yt=S===S,Gn=gc(S),_r=R!==y,$r=R===null,so=R===R,li=gc(R);if(!$r&&!li&&!Gn&&S>R||Gn&&_r&&so&&!$r&&!li||ot&&_r&&so||!pe&&so||!Yt)return 1;if(!ot&&!Gn&&!li&&S<R||li&&pe&&Yt&&!ot&&!Gn||$r&&pe&&Yt||!_r&&Yt||!so)return-1}return 0}function Xl(S,R,pe){for(var ot=-1,Yt=S.criteria,Gn=R.criteria,_r=Yt.length,$r=pe.length;++ot<_r;){var so=Xf(Yt[ot],Gn[ot]);if(so){if(ot>=$r)return so;var li=pe[ot];return so*(li==\"desc\"?-1:1)}}return S.index-R.index}function Yl(S,R,pe,ot){for(var Yt=-1,Gn=S.length,_r=pe.length,$r=-1,so=R.length,li=gr(Gn-_r,0),fi=Br(so+li),Ei=!ot;++$r<so;)fi[$r]=R[$r];for(;++Yt<_r;)(Ei||Yt<Gn)&&(fi[pe[Yt]]=S[Yt]);for(;li--;)fi[$r++]=S[Yt++];return fi}function Cf(S,R,pe,ot){for(var Yt=-1,Gn=S.length,_r=-1,$r=pe.length,so=-1,li=R.length,fi=gr(Gn-$r,0),Ei=Br(fi+li),Qi=!ot;++Yt<fi;)Ei[Yt]=S[Yt];for(var ya=Yt;++so<li;)Ei[ya+so]=R[so];for(;++_r<$r;)(Qi||Yt<Gn)&&(Ei[ya+pe[_r]]=S[Yt++]);return Ei}function iu(S,R){var pe=-1,ot=S.length;for(R||(R=Br(ot));++pe<ot;)R[pe]=S[pe];return R}function lc(S,R,pe,ot){var Yt=!pe;pe||(pe={});for(var Gn=-1,_r=R.length;++Gn<_r;){var $r=R[Gn],so=ot?ot(pe[$r],S[$r],$r,pe,S):y;so===y&&(so=S[$r]),Yt?cs(pe,$r,so):Ya(pe,$r,so)}return pe}function ls(S,R){return lc(S,Ju(S),R)}function wc(S,R){return lc(S,yl(S),R)}function Sc(S,R){return function(pe,ot){var Yt=es(pe)?V:ru,Gn=R?R():{};return Yt(pe,S,va(ot,2),Gn)}}function ul(S){return at(function(R,pe){var ot=-1,Yt=pe.length,Gn=Yt>1?pe[Yt-1]:y,_r=Yt>2?pe[2]:y;for(Gn=S.length>3&&typeof Gn==\"function\"?(Yt--,Gn):y,_r&&tu(pe[0],pe[1],_r)&&(Gn=Yt<3?y:Gn,Yt=1),R=Fa(R);++ot<Yt;){var $r=pe[ot];$r&&S(R,$r,ot,Gn)}return R})}function fc(S,R){return function(pe,ot){if(pe==null)return pe;if(!tc(pe))return S(pe,ot);for(var Yt=pe.length,Gn=R?Yt:-1,_r=Fa(pe);(R?Gn--:++Gn<Yt)&&ot(_r[Gn],Gn,_r)!==!1;);return pe}}function Kl(S){return function(R,pe,ot){for(var Yt=-1,Gn=Fa(R),_r=ot(R),$r=_r.length;$r--;){var so=_r[S?$r:++Yt];if(pe(Gn[so],so,Gn)===!1)break}return R}}function Yf(S,R,pe){var ot=R&x,Yt=dc(S);function Gn(){var _r=this&&this!==Pr&&this instanceof Gn?Yt:S;return _r.apply(ot?pe:this,arguments)}return Gn}function Ec(S){return function(R){R=_s(R);var pe=Jo(R)?Ka(R):y,ot=pe?pe[0]:R.charAt(0),Yt=pe?ts(pe,1).join(\"\"):R.slice(1);return ot[S]()+Yt}}function $c(S){return function(R){return Vt(Rh(Dh(R).replace(ii,\"\")),S,\"\")}}function dc(S){return function(){var R=arguments;switch(R.length){case 0:return new S;case 1:return new S(R[0]);case 2:return new S(R[0],R[1]);case 3:return new S(R[0],R[1],R[2]);case 4:return new S(R[0],R[1],R[2],R[3]);case 5:return new S(R[0],R[1],R[2],R[3],R[4]);case 6:return new S(R[0],R[1],R[2],R[3],R[4],R[5]);case 7:return new S(R[0],R[1],R[2],R[3],R[4],R[5],R[6])}var pe=zs(S.prototype),ot=S.apply(pe,R);return nu(ot)?ot:pe}}function Kf(S,R,pe){var ot=dc(S);function Yt(){for(var Gn=arguments.length,_r=Br(Gn),$r=Gn,so=Oc(Yt);$r--;)_r[$r]=arguments[$r];var li=Gn<3&&_r[0]!==so&&_r[Gn-1]!==so?[]:na(_r,so);if(Gn-=li.length,Gn<pe)return ef(S,R,gl,Yt.placeholder,y,_r,li,y,y,pe-Gn);var fi=this&&this!==Pr&&this instanceof Yt?ot:S;return F(fi,this,_r)}return Yt}function ql(S){return function(R,pe,ot){var Yt=Fa(R);if(!tc(R)){var Gn=va(pe,3);R=oi(R),pe=function($r){return Gn(Yt[$r],$r,Yt)}}var _r=S(R,pe,ot);return _r>-1?Yt[Gn?R[_r]:_r]:y}}function Ql(S){return Xu(function(R){var pe=R.length,ot=pe,Yt=gs.prototype.thru;for(S&&R.reverse();ot--;){var Gn=R[ot];if(typeof Gn!=\"function\")throw new Qa(O);if(Yt&&!_r&&Fu(Gn)==\"wrapper\")var _r=new gs([],!0)}for(ot=_r?ot:pe;++ot<pe;){Gn=R[ot];var $r=Fu(Gn),so=$r==\"wrapper\"?of(Gn):y;so&&cf(so[0])&&so[1]==(q|j|A|re)&&!so[4].length&&so[9]==1?_r=_r[Fu(so[0])].apply(_r,so[3]):_r=Gn.length==1&&cf(Gn)?_r[$r]():_r.thru(Gn)}return function(){var li=arguments,fi=li[0];if(_r&&li.length==1&&es(fi))return _r.plant(fi).value();for(var Ei=0,Qi=pe?R[Ei].apply(this,li):fi;++Ei<pe;)Qi=R[Ei].call(this,Qi);return Qi}})}function gl(S,R,pe,ot,Yt,Gn,_r,$r,so,li){var fi=R&q,Ei=R&x,Qi=R&M,ya=R&(j|L),Ha=R&me,ps=Qi?y:dc(S);function Ga(){for(var bs=arguments.length,Os=Br(bs),Zc=bs;Zc--;)Os[Zc]=arguments[Zc];if(ya)var mc=Oc(Ga),Xc=la(Os,mc);if(ot&&(Os=Yl(Os,ot,Yt,ya)),Gn&&(Os=Cf(Os,Gn,_r,ya)),bs-=Xc,ya&&bs<li){var _u=na(Os,mc);return ef(S,R,gl,Ga.placeholder,pe,Os,_u,$r,so,li-bs)}var Cl=Ei?pe:this,Of=Qi?Cl[S]:S;return bs=Os.length,$r?Os=Dl(Os,$r):Ha&&bs>1&&Os.reverse(),fi&&so<bs&&(Os.length=so),this&&this!==Pr&&this instanceof Ga&&(Of=ps||dc(Of)),Of.apply(Cl,Os)}return Ga}function Lu(S,R){return function(pe,ot){return el(pe,S,R(ot),{})}}function Tl(S,R){return function(pe,ot){var Yt;if(pe===y&&ot===y)return R;if(pe!==y&&(Yt=pe),ot!==y){if(Yt===y)return ot;typeof pe==\"string\"||typeof ot==\"string\"?(pe=lo(pe),ot=lo(ot)):(pe=xo(pe),ot=xo(ot)),Yt=S(pe,ot)}return Yt}}function Jl(S){return Xu(function(R){return R=It(R,ho(va())),at(function(pe){var ot=this;return S(R,function(Yt){return F(Yt,ot,pe)})})})}function vl(S,R){R=R===y?\" \":lo(R);var pe=R.length;if(pe<2)return pe?tt(R,S):R;var ot=tt(R,ut(S/Ma(R)));return Jo(R)?ts(Ka(ot),0,S).join(\"\"):ot.slice(0,S)}function _f(S,R,pe,ot){var Yt=R&x,Gn=dc(S);function _r(){for(var $r=-1,so=arguments.length,li=-1,fi=ot.length,Ei=Br(fi+so),Qi=this&&this!==Pr&&this instanceof _r?Gn:S;++li<fi;)Ei[li]=ot[li];for(;so--;)Ei[li++]=arguments[++$r];return F(Qi,Yt?pe:this,Ei)}return _r}function Mf(S){return function(R,pe,ot){return ot&&typeof ot!=\"number\"&&tu(R,pe,ot)&&(pe=ot=y),R=zl(R),pe===y?(pe=R,R=0):pe=zl(pe),ot=ot===y?R<pe?1:-1:zl(ot),Me(R,pe,ot,S)}}function Ds(S){return function(R,pe){return typeof R==\"string\"&&typeof pe==\"string\"||(R=_c(R),pe=_c(pe)),S(R,pe)}}function ef(S,R,pe,ot,Yt,Gn,_r,$r,so,li){var fi=R&j,Ei=fi?_r:y,Qi=fi?y:_r,ya=fi?Gn:y,Ha=fi?y:Gn;R|=fi?A:J,R&=~(fi?J:A),R&E||(R&=~(x|M));var ps=[S,R,Yt,ya,Ei,Ha,Qi,$r,so,li],Ga=pe.apply(y,ps);return cf(S)&&hc(Ga,ps),Ga.placeholder=ot,ff(Ga,S,R)}function Pl(S){var R=Na[S];return function(pe,ot){if(pe=_c(pe),ot=ot==null?0:Fr(rs(ot),292),ot&&wn(pe)){var Yt=(_s(pe)+\"e\").split(\"e\"),Gn=R(Yt[0]+\"e\"+(+Yt[1]+ot));return Yt=(_s(Gn)+\"e\").split(\"e\"),+(Yt[0]+\"e\"+(+Yt[1]-ot))}return R(pe)}}var tf=Xi&&1/$i(new Xi([,-0]))[1]==ye?function(S){return new Xi(S)}:_h;function Bu(S){return function(R){var pe=Us(R);return pe==et?Ii(R):pe==rn?La(R):ui(R,S(R))}}function qu(S,R,pe,ot,Yt,Gn,_r,$r){var so=R&M;if(!so&&typeof S!=\"function\")throw new Qa(O);var li=ot?ot.length:0;if(li||(R&=~(A|J),ot=Yt=y),_r=_r===y?_r:gr(rs(_r),0),$r=$r===y?$r:rs($r),li-=Yt?Yt.length:0,R&J){var fi=ot,Ei=Yt;ot=Yt=y}var Qi=so?y:of(S),ya=[S,R,pe,ot,Yt,fi,Ei,Gn,_r,$r];if(Qi&&cl(ya,Qi),S=ya[0],R=ya[1],pe=ya[2],ot=ya[3],Yt=ya[4],$r=ya[9]=ya[9]===y?so?0:S.length:gr(ya[9]-li,0),!$r&&R&(j|L)&&(R&=~(j|L)),!R||R==x)var Ha=Yf(S,R,pe);else R==j||R==L?Ha=Kf(S,R,$r):(R==A||R==(x|A))&&!Yt.length?Ha=_f(S,R,pe,ot):Ha=gl.apply(y,ya);var ps=Qi?nn:hc;return ff(ps(Ha,ya),S,R)}function Af(S,R,pe,ot){return S===y||fl(S,$a[pe])&&!sa.call(ot,pe)?R:S}function nf(S,R,pe,ot,Yt,Gn){return nu(S)&&nu(R)&&(Gn.set(R,S),cc(S,R,y,nf,Gn),Gn.delete(R)),S}function Zu(S){return cd(S)?y:S}function Ks(S,R,pe,ot,Yt,Gn){var _r=pe&s,$r=S.length,so=R.length;if($r!=so&&!(_r&&so>$r))return!1;var li=Gn.get(S),fi=Gn.get(R);if(li&&fi)return li==R&&fi==S;var Ei=-1,Qi=!0,ya=pe&m?new st:y;for(Gn.set(S,R),Gn.set(R,S);++Ei<$r;){var Ha=S[Ei],ps=R[Ei];if(ot)var Ga=_r?ot(ps,Ha,Ei,R,S,Gn):ot(Ha,ps,Ei,S,R,Gn);if(Ga!==y){if(Ga)continue;Qi=!1;break}if(ya){if(!Jn(R,function(bs,Os){if(!uo(ya,Os)&&(Ha===bs||Yt(Ha,bs,pe,ot,Gn)))return ya.push(Os)})){Qi=!1;break}}else if(!(Ha===ps||Yt(Ha,ps,pe,ot,Gn))){Qi=!1;break}}return Gn.delete(S),Gn.delete(R),Qi}function Hc(S,R,pe,ot,Yt,Gn,_r){switch(pe){case kt:if(S.byteLength!=R.byteLength||S.byteOffset!=R.byteOffset)return!1;S=S.buffer,R=R.buffer;case Ft:return!(S.byteLength!=R.byteLength||!Gn(new fa(S),new fa(R)));case _e:case be:case ht:return fl(+S,+R);case we:return S.name==R.name&&S.message==R.message;case lt:case qt:return S==R+\"\";case et:var $r=Ii;case rn:var so=ot&s;if($r||($r=$i),S.size!=R.size&&!so)return!1;var li=_r.get(S);if(li)return li==R;ot|=m,_r.set(S,R);var fi=Ks($r(S),$r(R),ot,Yt,Gn,_r);return _r.delete(S),fi;case hn:if(Fi)return Fi.call(S)==Fi.call(R)}return!1}function Tf(S,R,pe,ot,Yt,Gn){var _r=pe&s,$r=rf(S),so=$r.length,li=rf(R),fi=li.length;if(so!=fi&&!_r)return!1;for(var Ei=so;Ei--;){var Qi=$r[Ei];if(!(_r?Qi in R:sa.call(R,Qi)))return!1}var ya=Gn.get(S),Ha=Gn.get(R);if(ya&&Ha)return ya==R&&Ha==S;var ps=!0;Gn.set(S,R),Gn.set(R,S);for(var Ga=_r;++Ei<so;){Qi=$r[Ei];var bs=S[Qi],Os=R[Qi];if(ot)var Zc=_r?ot(Os,bs,Qi,R,S,Gn):ot(bs,Os,Qi,S,R,Gn);if(!(Zc===y?bs===Os||Yt(bs,Os,pe,ot,Gn):Zc)){ps=!1;break}Ga||(Ga=Qi==\"constructor\")}if(ps&&!Ga){var mc=S.constructor,Xc=R.constructor;mc!=Xc&&\"constructor\"in S&&\"constructor\"in R&&!(typeof mc==\"function\"&&mc instanceof mc&&typeof Xc==\"function\"&&Xc instanceof Xc)&&(ps=!1)}return Gn.delete(S),Gn.delete(R),ps}function Xu(S){return lf(xl(S,y,Ff),S+\"\")}function rf(S){return Rc(S,oi,Ju)}function Il(S){return Rc(S,bi,yl)}var of=Bi?function(S){return Bi.get(S)}:_h;function Fu(S){for(var R=S.name+\"\",pe=_a[R],ot=sa.call(_a,R)?pe.length:0;ot--;){var Yt=pe[ot],Gn=Yt.func;if(Gn==null||Gn==S)return Yt.name}return R}function Oc(S){var R=sa.call(yn,\"placeholder\")?yn:S;return R.placeholder}function va(){var S=yn.iteratee||Oh;return S=S===Oh?Bc:S,arguments.length?S(arguments[0],arguments[1]):S}function Qu(S,R){var pe=S.__data__;return Qf(R)?pe[typeof R==\"string\"?\"string\":\"hash\"]:pe.map}function Hu(S){for(var R=oi(S),pe=R.length;pe--;){var ot=R[pe],Yt=S[ot];R[pe]=[ot,Yt,kf(Yt)]}return R}function eu(S,R){var pe=qi(S,R);return rl(pe)?pe:y}function ml(S){var R=sa.call(S,qa),pe=S[qa];try{S[qa]=y;var ot=!0}catch(Gn){}var Yt=As.call(S);return ot&&(R?S[qa]=pe:delete S[qa]),Yt}var Ju=Ht?function(S){return S==null?[]:(S=Fa(S),St(Ht(S),function(R){return vs.call(S,R)}))}:Mh,yl=Ht?function(S){for(var R=[];S;)jt(R,Ju(S)),S=xs(S);return R}:Mh,Us=is;(fo&&Us(new fo(new ArrayBuffer(1)))!=kt||ei&&Us(new ei)!=et||ea&&Us(ea.resolve())!=dt||Xi&&Us(new Xi)!=rn||hi&&Us(new hi)!=an)&&(Us=function(S){var R=is(S),pe=R==mt?S.constructor:y,ot=pe?$s(pe):\"\";if(ot)switch(ot){case wa:return kt;case Ia:return et;case tr:return dt;case Sa:return rn;case Ta:return an}return R});function af(S,R,pe){for(var ot=-1,Yt=pe.length;++ot<Yt;){var Gn=pe[ot],_r=Gn.size;switch(Gn.type){case\"drop\":S+=_r;break;case\"dropRight\":R-=_r;break;case\"take\":R=Fr(R,S+_r);break;case\"takeRight\":S=gr(S,R-_r);break}}return{start:S,end:R}}function kl(S){var R=S.match(Ue);return R?R[1].split(xt):[]}function Nl(S,R,pe){R=Da(R,S);for(var ot=-1,Yt=R.length,Gn=!1;++ot<Yt;){var _r=ec(R[ot]);if(!(Gn=S!=null&&pe(S,_r)))break;S=S[_r]}return Gn||++ot!=Yt?Gn:(Yt=S==null?0:S.length,!!Yt&&ud(Yt)&&cu(_r,Yt)&&(es(S)||El(S)))}function Pf(S){var R=S.length,pe=new S.constructor(R);return R&&typeof S[0]==\"string\"&&sa.call(S,\"index\")&&(pe.index=S.index,pe.input=S.input),pe}function jl(S){return typeof S.constructor==\"function\"&&!Gc(S)?zs(xs(S)):{}}function qf(S,R,pe){var ot=S.constructor;switch(R){case Ft:return Su(S);case _e:case be:return new ot(+S);case kt:return Js(S,pe);case At:case Fn:case pn:case en:case Wn:case Mn:case Kn:case hr:case pr:return Iu(S,pe);case et:return new ot;case ht:case qt:return new ot(S);case lt:return Ws(S);case rn:return new ot;case hn:return Ru(S)}}function sf(S,R){var pe=R.length;if(!pe)return S;var ot=pe-1;return R[ot]=(pe>1?\"& \":\"\")+R[ot],R=R.join(pe>2?\", \":\" \"),S.replace(pt,`{\n/* [wrapped with `+R+`] */\n`)}function If(S){return es(S)||El(S)||!!(ra&&S&&S[ra])}function cu(S,R){var pe=typeof S;return R=R==null?Oe:R,!!R&&(pe==\"number\"||pe!=\"symbol\"&&wi.test(S))&&S>-1&&S%1==0&&S<R}function tu(S,R,pe){if(!nu(pe))return!1;var ot=typeof R;return(ot==\"number\"?tc(pe)&&cu(R,pe.length):ot==\"string\"&&R in pe)?fl(pe[R],S):!1}function uf(S,R){if(es(S))return!1;var pe=typeof S;return pe==\"number\"||pe==\"symbol\"||pe==\"boolean\"||S==null||gc(S)?!0:Wt.test(S)||!gt.test(S)||R!=null&&S in Fa(R)}function Qf(S){var R=typeof S;return R==\"string\"||R==\"number\"||R==\"symbol\"||R==\"boolean\"?S!==\"__proto__\":S===null}function cf(S){var R=Fu(S),pe=yn[R];if(typeof pe!=\"function\"||!(R in Wa.prototype))return!1;if(S===pe)return!0;var ot=of(pe);return!!ot&&S===ot[0]}function bl(S){return!!os&&os in S}var fd=Hs?Ol:Ah;function Gc(S){var R=S&&S.constructor,pe=typeof R==\"function\"&&R.prototype||$a;return S===pe}function kf(S){return S===S&&!nu(S)}function Nf(S,R){return function(pe){return pe==null?!1:pe[S]===R&&(R!==y||S in Fa(pe))}}function jf(S){var R=xf(S,function(ot){return pe.size===u&&pe.clear(),ot}),pe=R.cache;return R}function cl(S,R){var pe=S[1],ot=R[1],Yt=pe|ot,Gn=Yt<(x|M|q),_r=ot==q&&pe==j||ot==q&&pe==re&&S[7].length<=R[8]||ot==(q|re)&&R[7].length<=R[8]&&pe==j;if(!(Gn||_r))return S;ot&x&&(S[2]=R[2],Yt|=pe&x?0:E);var $r=R[3];if($r){var so=S[3];S[3]=so?Yl(so,$r,R[4]):$r,S[4]=so?na(S[3],a):R[4]}return $r=R[5],$r&&(so=S[5],S[5]=so?Cf(so,$r,R[6]):$r,S[6]=so?na(S[5],a):R[6]),$r=R[7],$r&&(S[7]=$r),ot&q&&(S[8]=S[8]==null?R[8]:Fr(S[8],R[8])),S[9]==null&&(S[9]=R[9]),S[0]=R[0],S[1]=Yt,S}function Df(S){var R=[];if(S!=null)for(var pe in Fa(S))R.push(pe);return R}function Rf(S){return As.call(S)}function xl(S,R,pe){return R=gr(R===y?S.length-1:R,0),function(){for(var ot=arguments,Yt=-1,Gn=gr(ot.length-R,0),_r=Br(Gn);++Yt<Gn;)_r[Yt]=ot[R+Yt];Yt=-1;for(var $r=Br(R+1);++Yt<R;)$r[Yt]=ot[Yt];return $r[R]=pe(_r),F(S,this,$r)}}function Wc(S,R){return R.length<2?S:ic(S,Er(R,0,-1))}function Dl(S,R){for(var pe=S.length,ot=Fr(R.length,pe),Yt=iu(S);ot--;){var Gn=R[ot];S[ot]=cu(Gn,pe)?Yt[Gn]:y}return S}function Rl(S,R){if(!(R===\"constructor\"&&typeof S[R]==\"function\")&&R!=\"__proto__\")return S[R]}var hc=df(nn),wl=ze||function(S,R){return Pr.setTimeout(S,R)},lf=df(zn);function ff(S,R,pe){var ot=R+\"\";return lf(S,sf(ot,dd(kl(ot),pe)))}function df(S){var R=0,pe=0;return function(){var ot=Qr(),Yt=Ie-(ot-pe);if(pe=ot,Yt>0){if(++R>=xe)return arguments[0]}else R=0;return S.apply(y,arguments)}}function Ll(S,R){var pe=-1,ot=S.length,Yt=ot-1;for(R=R===y?ot:R;++pe<R;){var Gn=ne(pe,Yt),_r=S[Gn];S[Gn]=S[pe],S[pe]=_r}return S.length=R,S}var hf=jf(function(S){var R=[];return S.charCodeAt(0)===46&&R.push(\"\"),S.replace(xn,function(pe,ot,Yt,Gn){R.push(Yt?Gn.replace(Mr,\"$1\"):ot||pe)}),R});function ec(S){if(typeof S==\"string\"||gc(S))return S;var R=S+\"\";return R==\"0\"&&1/S==-ye?\"-0\":R}function $s(S){if(S!=null){try{return ys.call(S)}catch(R){}try{return S+\"\"}catch(R){}}return\"\"}function dd(S,R){return U(ve,function(pe){var ot=\"_.\"+pe[0];R&pe[1]&&!Je(S,ot)&&S.push(ot)}),S.sort()}function Lf(S){if(S instanceof Wa)return S.clone();var R=new gs(S.__wrapped__,S.__chain__);return R.__actions__=iu(S.__actions__),R.__index__=S.__index__,R.__values__=S.__values__,R}function Eu(S,R,pe){(pe?tu(S,R,pe):R===y)?R=1:R=gr(rs(R),0);var ot=S==null?0:S.length;if(!ot||R<1)return[];for(var Yt=0,Gn=0,_r=Br(ut(ot/R));Yt<ot;)_r[Gn++]=Er(S,Yt,Yt+=R);return _r}function ll(S){for(var R=-1,pe=S==null?0:S.length,ot=0,Yt=[];++R<pe;){var Gn=S[R];Gn&&(Yt[ot++]=Gn)}return Yt}function Sl(){var S=arguments.length;if(!S)return[];for(var R=Br(S-1),pe=arguments[0],ot=S;ot--;)R[ot-1]=arguments[ot];return jt(es(pe)?iu(pe):[pe],js(R,1))}var hd=at(function(S,R){return lu(S)?Nc(S,js(R,1,lu,!0)):[]}),pf=at(function(S,R){var pe=Ou(R);return lu(pe)&&(pe=y),lu(S)?Nc(S,js(R,1,lu,!0),va(pe,2)):[]}),Bf=at(function(S,R){var pe=Ou(R);return lu(pe)&&(pe=y),lu(S)?Nc(S,js(R,1,lu,!0),y,pe):[]});function Bl(S,R,pe){var ot=S==null?0:S.length;return ot?(R=pe||R===y?1:rs(R),Er(S,R<0?0:R,ot)):[]}function Jf(S,R,pe){var ot=S==null?0:S.length;return ot?(R=pe||R===y?1:rs(R),R=ot-R,Er(S,0,R<0?0:R)):[]}function gf(S,R){return S&&S.length?Ai(S,va(R,3),!0,!0):[]}function pd(S,R){return S&&S.length?Ai(S,va(R,3),!0):[]}function gd(S,R,pe,ot){var Yt=S==null?0:S.length;return Yt?(pe&&typeof pe!=\"number\"&&tu(S,R,pe)&&(pe=0,ot=Yt),hl(S,R,pe,ot)):[]}function vf(S,R,pe){var ot=S==null?0:S.length;if(!ot)return-1;var Yt=pe==null?0:rs(pe);return Yt<0&&(Yt=gr(ot+Yt,0)),nr(S,va(R,3),Yt)}function mf(S,R,pe){var ot=S==null?0:S.length;if(!ot)return-1;var Yt=ot-1;return pe!==y&&(Yt=rs(pe),Yt=pe<0?gr(ot+Yt,0):Fr(Yt,ot-1)),nr(S,va(R,3),Yt,!0)}function Ff(S){var R=S==null?0:S.length;return R?js(S,1):[]}function vd(S){var R=S==null?0:S.length;return R?js(S,ye):[]}function ed(S,R){var pe=S==null?0:S.length;return pe?(R=R===y?1:rs(R),js(S,R)):[]}function td(S){for(var R=-1,pe=S==null?0:S.length,ot={};++R<pe;){var Yt=S[R];ot[Yt[0]]=Yt[1]}return ot}function yf(S){return S&&S.length?S[0]:y}function nd(S,R,pe){var ot=S==null?0:S.length;if(!ot)return-1;var Yt=pe==null?0:rs(pe);return Yt<0&&(Yt=gr(ot+Yt,0)),ur(S,R,Yt)}function rd(S){var R=S==null?0:S.length;return R?Er(S,0,-1):[]}var od=at(function(S){var R=It(S,ua);return R.length&&R[0]===S[0]?ac(R):[]}),zf=at(function(S){var R=Ou(S),pe=It(S,ua);return R===Ou(pe)?R=y:pe.pop(),pe.length&&pe[0]===S[0]?ac(pe,va(R,2)):[]}),$f=at(function(S){var R=Ou(S),pe=It(S,ua);return R=typeof R==\"function\"?R:y,R&&pe.pop(),pe.length&&pe[0]===S[0]?ac(pe,y,R):[]});function du(S,R){return S==null?\"\":On.call(S,R)}function Ou(S){var R=S==null?0:S.length;return R?S[R-1]:y}function Hf(S,R,pe){var ot=S==null?0:S.length;if(!ot)return-1;var Yt=ot;return pe!==y&&(Yt=rs(pe),Yt=Yt<0?gr(ot+Yt,0):Fr(Yt,ot-1)),R===R?Oa(S,R,Yt):nr(S,Ln,Yt,!0)}function id(S,R){return S&&S.length?Al(S,rs(R)):y}var ad=at(o);function o(S,R){return S&&S.length&&R&&R.length?su(S,R):S}function t(S,R,pe){return S&&S.length&&R&&R.length?su(S,R,va(pe,2)):S}function e(S,R,pe){return S&&S.length&&R&&R.length?su(S,R,y,pe):S}var n=Xu(function(S,R){var pe=S==null?0:S.length,ot=Xs(S,R);return $(S,It(R,function(Yt){return cu(Yt,pe)?+Yt:Yt}).sort(Xf)),ot});function i(S,R){var pe=[];if(!(S&&S.length))return pe;var ot=-1,Yt=[],Gn=S.length;for(R=va(R,3);++ot<Gn;){var _r=S[ot];R(_r,ot,S)&&(pe.push(_r),Yt.push(ot))}return $(S,Yt),pe}function d(S){return S==null?S:Ho.call(S)}function g(S,R,pe){var ot=S==null?0:S.length;return ot?(pe&&typeof pe!=\"number\"&&tu(S,R,pe)?(R=0,pe=ot):(R=R==null?0:rs(R),pe=pe===y?ot:rs(pe)),Er(S,R,pe)):[]}function _(S,R){return Yr(S,R)}function I(S,R,pe){return So(S,R,va(pe,2))}function D(S,R){var pe=S==null?0:S.length;if(pe){var ot=Yr(S,R);if(ot<pe&&fl(S[ot],R))return ot}return-1}function H(S,R){return Yr(S,R,!0)}function Z(S,R,pe){return So(S,R,va(pe,2),!0)}function te(S,R){var pe=S==null?0:S.length;if(pe){var ot=Yr(S,R,!0)-1;if(fl(S[ot],R))return ot}return-1}function de(S){return S&&S.length?Oo(S):[]}function Pe(S,R){return S&&S.length?Oo(S,va(R,2)):[]}function Ge(S){var R=S==null?0:S.length;return R?Er(S,1,R):[]}function Qe(S,R,pe){return S&&S.length?(R=pe||R===y?1:rs(R),Er(S,0,R<0?0:R)):[]}function Xe(S,R,pe){var ot=S==null?0:S.length;return ot?(R=pe||R===y?1:rs(R),R=ot-R,Er(S,R<0?0:R,ot)):[]}function yt(S,R){return S&&S.length?Ai(S,va(R,3),!1,!0):[]}function Ct(S,R){return S&&S.length?Ai(S,va(R,3)):[]}var on=at(function(S){return Io(js(S,1,lu,!0))}),sn=at(function(S){var R=Ou(S);return lu(R)&&(R=y),Io(js(S,1,lu,!0),va(R,2))}),Nn=at(function(S){var R=Ou(S);return R=typeof R==\"function\"?R:y,Io(js(S,1,lu,!0),y,R)});function Tn(S){return S&&S.length?Io(S):[]}function Bn(S,R){return S&&S.length?Io(S,va(R,2)):[]}function Hn(S,R){return R=typeof R==\"function\"?R:y,S&&S.length?Io(S,y,R):[]}function Sr(S){if(!(S&&S.length))return[];var R=0;return S=St(S,function(pe){if(lu(pe))return R=gr(pe.length,R),!0}),jo(R,function(pe){return It(S,En(pe))})}function Cr(S,R){if(!(S&&S.length))return[];var pe=Sr(S);return R==null?pe:It(pe,function(ot){return F(R,y,ot)})}var po=at(function(S,R){return lu(S)?Nc(S,R):[]}),wo=at(function(S){return Ri(St(S,lu))}),Po=at(function(S){var R=Ou(S);return lu(R)&&(R=y),Ri(St(S,lu),va(R,2))}),Xo=at(function(S){var R=Ou(S);return R=typeof R==\"function\"?R:y,Ri(St(S,lu),y,R)}),ri=at(Sr);function ki(S,R){return Ci(S||[],R||[],Ya)}function T(S,R){return Ci(S||[],R||[],Jt)}var B=at(function(S){var R=S.length,pe=R>1?S[R-1]:y;return pe=typeof pe==\"function\"?(S.pop(),pe):y,Cr(S,pe)});function K(S){var R=yn(S);return R.__chain__=!0,R}function Se(S,R){return R(S),S}function He(S,R){return R(S)}var Ye=Xu(function(S){var R=S.length,pe=R?S[0]:0,ot=this.__wrapped__,Yt=function(Gn){return Xs(Gn,S)};return R>1||this.__actions__.length||!(ot instanceof Wa)||!cu(pe)?this.thru(Yt):(ot=ot.slice(pe,+pe+(R?1:0)),ot.__actions__.push({func:He,args:[Yt],thisArg:y}),new gs(ot,this.__chain__).thru(function(Gn){return R&&!Gn.length&&Gn.push(y),Gn}))});function Et(){return K(this)}function bn(){return new gs(this.value(),this.__chain__)}function Qn(){this.__values__===y&&(this.__values__=wd(this.value()));var S=this.__index__>=this.__values__.length,R=S?y:this.__values__[this.__index__++];return{done:S,value:R}}function yr(){return this}function vr(S){for(var R,pe=this;pe instanceof ds;){var ot=Lf(pe);ot.__index__=0,ot.__values__=y,R?Yt.__wrapped__=ot:R=ot;var Yt=ot;pe=pe.__wrapped__}return Yt.__wrapped__=S,R}function no(){var S=this.__wrapped__;if(S instanceof Wa){var R=S;return this.__actions__.length&&(R=new Wa(this)),R=R.reverse(),R.__actions__.push({func:He,args:[d],thisArg:y}),new gs(R,this.__chain__)}return this.thru(d)}function Wo(){return ci(this.__wrapped__,this.__actions__)}var $o=Sc(function(S,R,pe){sa.call(S,pe)?++S[pe]:cs(S,pe,1)});function Lr(S,R,pe){var ot=es(S)?ke:dl;return pe&&tu(S,R,pe)&&(R=y),ot(S,va(R,3))}function co(S,R){var pe=es(S)?St:jc;return pe(S,va(R,3))}var Do=ql(vf),yi=ql(mf);function Fo(S,R){return js(fs(S,R),1)}function Bo(S,R){return js(fs(S,R),ye)}function Uo(S,R,pe){return pe=pe===y?1:rs(pe),js(fs(S,R),pe)}function Gi(S,R){var pe=es(S)?U:ju;return pe(S,va(R,3))}function Ni(S,R){var pe=es(S)?ge:Wu;return pe(S,va(R,3))}var Wi=Sc(function(S,R,pe){sa.call(S,pe)?S[pe].push(R):cs(S,pe,[R])});function ba(S,R,pe,ot){S=tc(S)?S:Ed(S),pe=pe&&!ot?rs(pe):0;var Yt=S.length;return pe<0&&(pe=gr(Yt+pe,0)),Uf(S)?pe<=Yt&&S.indexOf(R,pe)>-1:!!Yt&&ur(S,R,pe)>-1}var Ss=at(function(S,R,pe){var ot=-1,Yt=typeof R==\"function\",Gn=tc(S)?Br(S.length):[];return ju(S,function(_r){Gn[++ot]=Yt?F(R,_r,pe):sc(_r,R,pe)}),Gn}),Ra=Sc(function(S,R,pe){cs(S,pe,R)});function fs(S,R){var pe=es(S)?It:il;return pe(S,va(R,3))}function ns(S,R,pe,ot){return S==null?[]:(es(R)||(R=R==null?[]:[R]),pe=ot?y:pe,es(pe)||(pe=pe==null?[]:[pe]),sl(S,R,pe))}var hs=Sc(function(S,R,pe){S[pe?0:1].push(R)},function(){return[[],[]]});function Is(S,R,pe){var ot=es(S)?Vt:cr,Yt=arguments.length<3;return ot(S,va(R,4),pe,Yt,ju)}function hu(S,R,pe){var ot=es(S)?Pn:cr,Yt=arguments.length<3;return ot(S,va(R,4),pe,Yt,Wu)}function Es(S,R){var pe=es(S)?St:jc;return pe(S,wf(va(R,3)))}function ku(S){var R=es(S)?ms:Nt;return R(S)}function Uc(S,R,pe){(pe?tu(S,R,pe):R===y)?R=1:R=rs(R);var ot=es(S)?Ps:Tt;return ot(S,R)}function Vc(S){var R=es(S)?fu:mr;return R(S)}function sd(S){if(S==null)return 0;if(tc(S))return Uf(S)?Ma(S):S.length;var R=Us(S);return R==et||R==rn?S.size:xc(S).length}function pc(S,R,pe){var ot=es(S)?Jn:Zr;return pe&&tu(S,R,pe)&&(R=y),ot(S,va(R,3))}var md=at(function(S,R){if(S==null)return[];var pe=R.length;return pe>1&&tu(S,R[0],R[1])?R=[]:pe>2&&tu(R[0],R[1],R[2])&&(R=[R[0]]),sl(S,js(R,1),[])}),Gf=G||function(){return Pr.Date.now()};function Od(S,R){if(typeof R!=\"function\")throw new Qa(O);return S=rs(S),function(){if(--S<1)return R.apply(this,arguments)}}function bf(S,R,pe){return R=pe?y:R,R=S&&R==null?S.length:R,qu(S,q,y,y,y,y,R)}function Cc(S,R){var pe;if(typeof R!=\"function\")throw new Qa(O);return S=rs(S),function(){return--S>0&&(pe=R.apply(this,arguments)),S<=1&&(R=y),pe}}var Fl=at(function(S,R,pe){var ot=x;if(pe.length){var Yt=na(pe,Oc(Fl));ot|=A}return qu(S,ot,R,pe,Yt)}),ks=at(function(S,R,pe){var ot=x|M;if(pe.length){var Yt=na(pe,Oc(ks));ot|=A}return qu(R,ot,S,pe,Yt)});function Qs(S,R,pe){R=pe?y:R;var ot=qu(S,j,y,y,y,y,y,R);return ot.placeholder=Qs.placeholder,ot}function Gu(S,R,pe){R=pe?y:R;var ot=qu(S,L,y,y,y,y,y,R);return ot.placeholder=Gu.placeholder,ot}function zu(S,R,pe){var ot,Yt,Gn,_r,$r,so,li=0,fi=!1,Ei=!1,Qi=!0;if(typeof S!=\"function\")throw new Qa(O);R=_c(R)||0,nu(pe)&&(fi=!!pe.leading,Ei=\"maxWait\"in pe,Gn=Ei?gr(_c(pe.maxWait)||0,R):Gn,Qi=\"trailing\"in pe?!!pe.trailing:Qi);function ya(_u){var Cl=ot,Of=Yt;return ot=Yt=y,li=_u,_r=S.apply(Of,Cl),_r}function Ha(_u){return li=_u,$r=wl(bs,R),fi?ya(_u):_r}function ps(_u){var Cl=_u-so,Of=_u-li,Fh=R-Cl;return Ei?Fr(Fh,Gn-Of):Fh}function Ga(_u){var Cl=_u-so,Of=_u-li;return so===y||Cl>=R||Cl<0||Ei&&Of>=Gn}function bs(){var _u=Gf();if(Ga(_u))return Os(_u);$r=wl(bs,ps(_u))}function Os(_u){return $r=y,Qi&&ot?ya(_u):(ot=Yt=y,_r)}function Zc(){$r!==y&&ka($r),li=0,ot=so=Yt=$r=y}function mc(){return $r===y?_r:Os(Gf())}function Xc(){var _u=Gf(),Cl=Ga(_u);if(ot=arguments,Yt=this,so=_u,Cl){if($r===y)return Ha(so);if(Ei)return ka($r),$r=wl(bs,R),ya(so)}return $r===y&&($r=wl(bs,R)),_r}return Xc.cancel=Zc,Xc.flush=mc,Xc}var Cd=at(function(S,R){return _l(S,1,R)}),yd=at(function(S,R,pe){return _l(S,_c(R)||0,pe)});function Wf(S){return qu(S,me)}function xf(S,R){if(typeof S!=\"function\"||R!=null&&typeof R!=\"function\")throw new Qa(O);var pe=function(){var ot=arguments,Yt=R?R.apply(this,ot):ot[0],Gn=pe.cache;if(Gn.has(Yt))return Gn.get(Yt);var _r=S.apply(this,ot);return pe.cache=Gn.set(Yt,_r)||Gn,_r};return pe.cache=new(xf.Cache||vu),pe}xf.Cache=vu;function wf(S){if(typeof S!=\"function\")throw new Qa(O);return function(){var R=arguments;switch(R.length){case 0:return!S.call(this);case 1:return!S.call(this,R[0]);case 2:return!S.call(this,R[0],R[1]);case 3:return!S.call(this,R[0],R[1],R[2])}return!S.apply(this,R)}}function bd(S){return Cc(2,S)}var Ud=as(function(S,R){R=R.length==1&&es(R[0])?It(R[0],ho(va())):It(js(R,1),ho(va()));var pe=R.length;return at(function(ot){for(var Yt=-1,Gn=Fr(ot.length,pe);++Yt<Gn;)ot[Yt]=R[Yt].call(this,ot[Yt]);return F(S,this,ot)})}),_d=at(function(S,R){var pe=na(R,Oc(_d));return qu(S,A,y,R,pe)}),Md=at(function(S,R){var pe=na(R,Oc(Md));return qu(S,J,y,R,pe)}),Vd=Xu(function(S,R){return qu(S,re,y,y,y,R)});function Zd(S,R){if(typeof S!=\"function\")throw new Qa(O);return R=R===y?R:rs(R),at(S,R)}function Bd(S,R){if(typeof S!=\"function\")throw new Qa(O);return R=R==null?0:gr(rs(R),0),at(function(pe){var ot=pe[R],Yt=ts(pe,0,R);return ot&&jt(Yt,ot),F(S,this,Yt)})}function Xd(S,R,pe){var ot=!0,Yt=!0;if(typeof S!=\"function\")throw new Qa(O);return nu(pe)&&(ot=\"leading\"in pe?!!pe.leading:ot,Yt=\"trailing\"in pe?!!pe.trailing:Yt),zu(S,R,{leading:ot,maxWait:R,trailing:Yt})}function Yd(S){return bf(S,1)}function Ad(S,R){return _d(da(R),S)}function Th(){if(!arguments.length)return[];var S=arguments[0];return es(S)?S:[S]}function Kd(S){return bu(S,l)}function qd(S,R){return R=typeof R==\"function\"?R:y,bu(S,l,R)}function Qd(S){return bu(S,f|l)}function Jd(S,R){return R=typeof R==\"function\"?R:y,bu(S,f|l,R)}function Td(S,R){return R==null||Qc(S,R,oi(R))}function fl(S,R){return S===R||S!==S&&R!==R}var eh=Ds(Tu),th=Ds(function(S,R){return S>=R}),El=tl(function(){return arguments}())?tl:function(S){return au(S)&&sa.call(S,\"callee\")&&!vs.call(S,\"callee\")},es=Br.isArray,nh=jn?ho(jn):nl;function tc(S){return S!=null&&ud(S.length)&&!Ol(S)}function lu(S){return au(S)&&tc(S)}function Pd(S){return S===!0||S===!1||au(S)&&is(S)==_e}var Sf=$t||Ah,rh=W?ho(W):Vu;function Ph(S){return au(S)&&S.nodeType===1&&!cd(S)}function oh(S){if(S==null)return!0;if(tc(S)&&(es(S)||typeof S==\"string\"||typeof S.splice==\"function\"||Sf(S)||Vf(S)||El(S)))return!S.length;var R=Us(S);if(R==et||R==rn)return!S.size;if(Gc(S))return!xc(S).length;for(var pe in S)if(sa.call(S,pe))return!1;return!0}function ih(S,R){return Lc(S,R)}function ah(S,R,pe){pe=typeof pe==\"function\"?pe:y;var ot=pe?pe(S,R):y;return ot===y?Lc(S,R,y,pe):!!ot}function Id(S){if(!au(S))return!1;var R=is(S);return R==we||R==We||typeof S.message==\"string\"&&typeof S.name==\"string\"&&!cd(S)}function sh(S){return typeof S==\"number\"&&wn(S)}function Ol(S){if(!nu(S))return!1;var R=is(S);return R==Ze||R==Ve||R==fe||R==Lt}function Fd(S){return typeof S==\"number\"&&S==rs(S)}function ud(S){return typeof S==\"number\"&&S>-1&&S%1==0&&S<=Oe}function nu(S){var R=typeof S;return S!=null&&(R==\"object\"||R==\"function\")}function au(S){return S!=null&&typeof S==\"object\"}var zd=P?ho(P):Ul;function uh(S,R){return S===R||uc(S,R,Hu(R))}function ch(S,R,pe){return pe=typeof pe==\"function\"?pe:y,uc(S,R,Hu(R),pe)}function lh(S){return $d(S)&&S!=+S}function kd(S){if(fd(S))throw new Di(w);return rl(S)}function Ih(S){return S===null}function fh(S){return S==null}function $d(S){return typeof S==\"number\"||au(S)&&is(S)==ht}function cd(S){if(!au(S)||is(S)!=mt)return!1;var R=xs(S);if(R===null)return!0;var pe=sa.call(R,\"constructor\")&&R.constructor;return typeof pe==\"function\"&&pe instanceof pe&&ys.call(pe)==oa}var xd=k?ho(k):ol;function dh(S){return Fd(S)&&S>=-Oe&&S<=Oe}var Hd=z?ho(z):ta;function Uf(S){return typeof S==\"string\"||!es(S)&&au(S)&&is(S)==qt}function gc(S){return typeof S==\"symbol\"||au(S)&&is(S)==hn}var Vf=Q?ho(Q):pl;function ld(S){return S===y}function hh(S){return au(S)&&Us(S)==an}function ph(S){return au(S)&&is(S)==In}var gh=Ds(Fc),vh=Ds(function(S,R){return S<=R});function wd(S){if(!S)return[];if(tc(S))return Uf(S)?Ka(S):iu(S);if(Ja&&S[Ja])return Yi(S[Ja]());var R=Us(S),pe=R==et?Ii:R==rn?$i:Ed;return pe(S)}function zl(S){if(!S)return S===0?S:0;if(S=_c(S),S===ye||S===-ye){var R=S<0?-1:1;return R*Ce}return S===S?S:0}function rs(S){var R=zl(S),pe=R%1;return R===R?pe?R-pe:R:0}function Gd(S){return S?yu(rs(S),0,he):0}function _c(S){if(typeof S==\"number\")return S;if(gc(S))return oe;if(nu(S)){var R=typeof S.valueOf==\"function\"?S.valueOf():S;S=nu(R)?R+\"\":R}if(typeof S!=\"string\")return S===0?S:+S;S=Vr(S);var pe=eo.test(S);return pe||Ti.test(S)?dr(S.slice(2),pe?2:8):yo.test(S)?oe:+S}function Wd(S){return lc(S,bi(S))}function mh(S){return S?yu(rs(S),-Oe,Oe):S===0?S:0}function _s(S){return S==null?\"\":lo(S)}var kh=ul(function(S,R){if(Gc(R)||tc(R)){lc(R,oi(R),S);return}for(var pe in R)sa.call(R,pe)&&Ya(S,pe,R[pe])}),Sd=ul(function(S,R){lc(R,bi(R),S)}),Nd=ul(function(S,R,pe,ot){lc(R,bi(R),S,ot)}),jd=ul(function(S,R,pe,ot){lc(R,oi(R),S,ot)}),yh=Xu(Xs);function Dd(S,R){var pe=zs(S);return R==null?pe:mu(pe,R)}var bh=at(function(S,R){S=Fa(S);var pe=-1,ot=R.length,Yt=ot>2?R[2]:y;for(Yt&&tu(R[0],R[1],Yt)&&(ot=1);++pe<ot;)for(var Gn=R[pe],_r=bi(Gn),$r=-1,so=_r.length;++$r<so;){var li=_r[$r],fi=S[li];(fi===y||fl(fi,$a[li])&&!sa.call(S,li))&&(S[li]=Gn[li])}return S}),xh=at(function(S){return S.push(y,nf),F(za,y,S)});function wh(S,R){return ir(S,va(R,3),Ys)}function Rd(S,R){return ir(S,va(R,3),Uu)}function Nh(S,R){return S==null?S:xu(S,va(R,3),bi)}function ue(S,R){return S==null?S:wu(S,va(R,3),bi)}function Y(S,R){return S&&Ys(S,va(R,3))}function Ne(S,R){return S&&Uu(S,va(R,3))}function qe(S){return S==null?[]:Dc(S,oi(S))}function vt(S){return S==null?[]:Dc(S,bi(S))}function Sn(S,R,pe){var ot=S==null?y:ic(S,R);return ot===y?pe:ot}function or(S,R){return S!=null&&Nl(S,R,Pu)}function Or(S,R){return S!=null&&Nl(S,R,Jc)}var Hr=Lu(function(S,R,pe){R!=null&&typeof R.toString!=\"function\"&&(R=As.call(R)),S[R]=pe},Eh(Mc)),ro=Lu(function(S,R,pe){R!=null&&typeof R.toString!=\"function\"&&(R=As.call(R)),sa.call(S,R)?S[R].push(pe):S[R]=[pe]},va),zo=at(sc);function oi(S){return tc(S)?ja(S):xc(S)}function bi(S){return tc(S)?ja(S,!0):$u(S)}function ji(S,R){var pe={};return R=va(R,3),Ys(S,function(ot,Yt,Gn){cs(pe,R(ot,Yt,Gn),ot)}),pe}function ma(S,R){var pe={};return R=va(R,3),Ys(S,function(ot,Yt,Gn){cs(pe,Yt,R(ot,Yt,Gn))}),pe}var Ea=ul(function(S,R,pe){cc(S,R,pe)}),za=ul(function(S,R,pe,ot){cc(S,R,pe,ot)}),Vs=Xu(function(S,R){var pe={};if(S==null)return pe;var ot=!1;R=It(R,function(Gn){return Gn=Da(Gn,S),ot||(ot=Gn.length>1),Gn}),lc(S,Il(S),pe),ot&&(pe=bu(pe,f|h|l,Zu));for(var Yt=R.length;Yt--;)Zo(pe,R[Yt]);return pe});function vc(S,R){return nc(S,wf(va(R)))}var Ef=Xu(function(S,R){return S==null?{}:Vl(S,R)});function nc(S,R){if(S==null)return{};var pe=It(Il(S),function(ot){return[ot]});return R=va(R),ou(S,pe,function(ot,Yt){return R(ot,Yt[0])})}function $l(S,R,pe){R=Da(R,S);var ot=-1,Yt=R.length;for(Yt||(Yt=1,S=y);++ot<Yt;){var Gn=S==null?y:S[ec(R[ot])];Gn===y&&(ot=Yt,Gn=pe),S=Ol(Gn)?Gn.call(S):Gn}return S}function Cu(S,R,pe){return S==null?S:Jt(S,R,pe)}function Hl(S,R,pe,ot){return ot=typeof ot==\"function\"?ot:y,S==null?S:Jt(S,R,pe,ot)}var Zf=Bu(oi),Ld=Bu(bi);function Hh(S,R,pe){var ot=es(S),Yt=ot||Sf(S)||Vf(S);if(R=va(R,4),pe==null){var Gn=S&&S.constructor;Yt?pe=ot?new Gn:[]:nu(S)?pe=Ol(Gn)?zs(xs(S)):{}:pe={}}return(Yt?U:Ys)(S,function(_r,$r,so){return R(pe,_r,$r,so)}),pe}function Gh(S,R){return S==null?!0:Zo(S,R)}function Wh(S,R,pe){return S==null?S:xi(S,R,da(pe))}function Uh(S,R,pe,ot){return ot=typeof ot==\"function\"?ot:y,S==null?S:xi(S,R,da(pe),ot)}function Ed(S){return S==null?[]:vo(S,oi(S))}function Vh(S){return S==null?[]:vo(S,bi(S))}function Zh(S,R,pe){return pe===y&&(pe=R,R=y),pe!==y&&(pe=_c(pe),pe=pe===pe?pe:0),R!==y&&(R=_c(R),R=R===R?R:0),yu(_c(S),R,pe)}function Xh(S,R,pe){return R=zl(R),pe===y?(pe=R,R=0):pe=zl(pe),S=_c(S),Gl(S,R,pe)}function Yh(S,R,pe){if(pe&&typeof pe!=\"boolean\"&&tu(S,R,pe)&&(R=pe=y),pe===y&&(typeof R==\"boolean\"?(pe=R,R=y):typeof S==\"boolean\"&&(pe=S,S=y)),S===y&&R===y?(S=0,R=1):(S=zl(S),R===y?(R=S,S=0):R=zl(R)),S>R){var ot=S;S=R,R=ot}if(pe||S%1||R%1){var Yt=mo();return Fr(S+Yt*(R-S+Dn(\"1e-\"+((Yt+\"\").length-1))),R)}return ne(S,R)}var Kh=$c(function(S,R,pe){return R=R.toLowerCase(),S+(pe?jh(R):R)});function jh(S){return Sh(_s(S).toLowerCase())}function Dh(S){return S=_s(S),S&&S.replace(mi,Vi).replace(Lo,\"\")}function qh(S,R,pe){S=_s(S),R=lo(R);var ot=S.length;pe=pe===y?ot:yu(rs(pe),0,ot);var Yt=pe;return pe-=R.length,pe>=0&&S.slice(pe,Yt)==R}function Qh(S){return S=_s(S),S&&gn.test(S)?S.replace(ko,ha):S}function Jh(S){return S=_s(S),S&&Xn.test(S)?S.replace(Dt,\"\\\\$&\"):S}var ep=$c(function(S,R,pe){return S+(pe?\"-\":\"\")+R.toLowerCase()}),tp=$c(function(S,R,pe){return S+(pe?\" \":\"\")+R.toLowerCase()}),np=Ec(\"toLowerCase\");function rp(S,R,pe){S=_s(S),R=rs(R);var ot=R?Ma(S):0;if(!R||ot>=R)return S;var Yt=(R-ot)/2;return vl(_t(Yt),pe)+S+vl(ut(Yt),pe)}function op(S,R,pe){S=_s(S),R=rs(R);var ot=R?Ma(S):0;return R&&ot<R?S+vl(R-ot,pe):S}function ip(S,R,pe){S=_s(S),R=rs(R);var ot=R?Ma(S):0;return R&&ot<R?vl(R-ot,pe)+S:S}function ap(S,R,pe){return pe||R==null?R=0:R&&(R=+R),qr(_s(S).replace(Rn,\"\"),R||0)}function sp(S,R,pe){return(pe?tu(S,R,pe):R===y)?R=1:R=rs(R),tt(_s(S),R)}function up(){var S=arguments,R=_s(S[0]);return S.length<3?R:R.replace(S[1],S[2])}var cp=$c(function(S,R,pe){return S+(pe?\"_\":\"\")+R.toLowerCase()});function lp(S,R,pe){return pe&&typeof pe!=\"number\"&&tu(S,R,pe)&&(R=pe=y),pe=pe===y?he:pe>>>0,pe?(S=_s(S),S&&(typeof R==\"string\"||R!=null&&!xd(R))&&(R=lo(R),!R&&Jo(S))?ts(Ka(S),0,pe):S.split(R,pe)):[]}var fp=$c(function(S,R,pe){return S+(pe?\" \":\"\")+Sh(R)});function dp(S,R,pe){return S=_s(S),pe=pe==null?0:yu(rs(pe),0,S.length),R=lo(R),S.slice(pe,pe+R.length)==R}function hp(S,R,pe){var ot=yn.templateSettings;pe&&tu(S,R,pe)&&(R=y),S=_s(S),R=Nd({},R,ot,Af);var Yt=Nd({},R.imports,ot.imports,Af),Gn=oi(Yt),_r=vo(Yt,Gn),$r,so,li=0,fi=R.interpolate||Zi,Ei=\"__p += '\",Qi=Bs((R.escape||Zi).source+\"|\"+fi.source+\"|\"+(fi===Zt?xr:Zi).source+\"|\"+(R.evaluate||Zi).source+\"|$\",\"g\"),ya=\"//# sourceURL=\"+(sa.call(R,\"sourceURL\")?(R.sourceURL+\"\").replace(/\\s/g,\" \"):\"lodash.templateSources[\"+ ++fr+\"]\")+`\n`;S.replace(Qi,function(Ga,bs,Os,Zc,mc,Xc){return Os||(Os=Zc),Ei+=S.slice(li,Xc).replace(aa,xa),bs&&($r=!0,Ei+=`' +\n__e(`+bs+`) +\n'`),mc&&(so=!0,Ei+=`';\n`+mc+`;\n__p += '`),Os&&(Ei+=`' +\n((__t = (`+Os+`)) == null ? '' : __t) +\n'`),li=Xc+Ga.length,Ga}),Ei+=`';\n`;var Ha=sa.call(R,\"variable\")&&R.variable;if(!Ha)Ei=`with (obj) {\n`+Ei+`\n}\n`;else if(er.test(Ha))throw new Di(b);Ei=(so?Ei.replace(zr,\"\"):Ei).replace(Wr,\"$1\").replace(Nr,\"$1;\"),Ei=\"function(\"+(Ha||\"obj\")+`) {\n`+(Ha?\"\":`obj || (obj = {});\n`)+\"var __t, __p = ''\"+($r?\", __e = _.escape\":\"\")+(so?`, __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n`:`;\n`)+Ei+`return __p\n}`;var ps=Lh(function(){return Aa(Gn,ya+\"return \"+Ei).apply(y,_r)});if(ps.source=Ei,Id(ps))throw ps;return ps}function pp(S){return _s(S).toLowerCase()}function gp(S){return _s(S).toUpperCase()}function vp(S,R,pe){if(S=_s(S),S&&(pe||R===y))return Vr(S);if(!S||!(R=lo(R)))return S;var ot=Ka(S),Yt=Ka(R),Gn=Go(ot,Yt),_r=Pi(ot,Yt)+1;return ts(ot,Gn,_r).join(\"\")}function mp(S,R,pe){if(S=_s(S),S&&(pe||R===y))return S.slice(0,Ba(S)+1);if(!S||!(R=lo(R)))return S;var ot=Ka(S),Yt=Pi(ot,Ka(R))+1;return ts(ot,0,Yt).join(\"\")}function yp(S,R,pe){if(S=_s(S),S&&(pe||R===y))return S.replace(Rn,\"\");if(!S||!(R=lo(R)))return S;var ot=Ka(S),Yt=Go(ot,Ka(R));return ts(ot,Yt).join(\"\")}function bp(S,R){var pe=Te,ot=ee;if(nu(R)){var Yt=\"separator\"in R?R.separator:Yt;pe=\"length\"in R?rs(R.length):pe,ot=\"omission\"in R?lo(R.omission):ot}S=_s(S);var Gn=S.length;if(Jo(S)){var _r=Ka(S);Gn=_r.length}if(pe>=Gn)return S;var $r=pe-Ma(ot);if($r<1)return ot;var so=_r?ts(_r,0,$r).join(\"\"):S.slice(0,$r);if(Yt===y)return so+ot;if(_r&&($r+=so.length-$r),xd(Yt)){if(S.slice($r).search(Yt)){var li,fi=so;for(Yt.global||(Yt=Bs(Yt.source,_s(jr.exec(Yt))+\"g\")),Yt.lastIndex=0;li=Yt.exec(fi);)var Ei=li.index;so=so.slice(0,Ei===y?$r:Ei)}}else if(S.indexOf(lo(Yt),$r)!=$r){var Qi=so.lastIndexOf(Yt);Qi>-1&&(so=so.slice(0,Qi))}return so+ot}function xp(S){return S=_s(S),S&&Ur.test(S)?S.replace(Kr,Ua):S}var wp=$c(function(S,R,pe){return S+(pe?\" \":\"\")+R.toUpperCase()}),Sh=Ec(\"toUpperCase\");function Rh(S,R,pe){return S=_s(S),R=pe?y:R,R===y?Ji(S)?Qo(S):zt(S):S.match(R)||[]}var Lh=at(function(S,R){try{return F(S,y,R)}catch(pe){return Id(pe)?pe:new Di(pe)}}),Sp=Xu(function(S,R){return U(R,function(pe){pe=ec(pe),cs(S,pe,Fl(S[pe],S))}),S});function Ep(S){var R=S==null?0:S.length,pe=va();return S=R?It(S,function(ot){if(typeof ot[1]!=\"function\")throw new Qa(O);return[pe(ot[0]),ot[1]]}):[],at(function(ot){for(var Yt=-1;++Yt<R;){var Gn=S[Yt];if(F(Gn[0],this,ot))return F(Gn[1],this,ot)}})}function Op(S){return Ku(bu(S,f))}function Eh(S){return function(){return S}}function Cp(S,R){return S==null||S!==S?R:S}var _p=Ql(),Mp=Ql(!0);function Mc(S){return S}function Oh(S){return Bc(typeof S==\"function\"?S:bu(S,f))}function Ap(S){return al(bu(S,f))}function Tp(S,R){return zc(S,bu(R,f))}var Pp=at(function(S,R){return function(pe){return sc(pe,S,R)}}),Ip=at(function(S,R){return function(pe){return sc(S,pe,R)}});function Ch(S,R,pe){var ot=oi(R),Yt=Dc(R,ot);pe==null&&!(nu(R)&&(Yt.length||!ot.length))&&(pe=R,R=S,S=this,Yt=Dc(R,oi(R)));var Gn=!(nu(pe)&&\"chain\"in pe)||!!pe.chain,_r=Ol(S);return U(Yt,function($r){var so=R[$r];S[$r]=so,_r&&(S.prototype[$r]=function(){var li=this.__chain__;if(Gn||li){var fi=S(this.__wrapped__),Ei=fi.__actions__=iu(this.__actions__);return Ei.push({func:so,args:arguments,thisArg:S}),fi.__chain__=li,fi}return so.apply(S,jt([this.value()],arguments))})}),S}function kp(){return Pr._===this&&(Pr._=di),this}function _h(){}function Np(S){return S=rs(S),at(function(R){return Al(R,S)})}var jp=Jl(It),Dp=Jl(ke),Rp=Jl(Jn);function Bh(S){return uf(S)?En(ec(S)):Zl(S)}function Lp(S){return function(R){return S==null?y:ic(S,R)}}var Bp=Mf(),Fp=Mf(!0);function Mh(){return[]}function Ah(){return!1}function zp(){return{}}function $p(){return\"\"}function Hp(){return!0}function Gp(S,R){if(S=rs(S),S<1||S>Oe)return[];var pe=he,ot=Fr(S,he);R=va(R),S-=he;for(var Yt=jo(ot,R);++pe<S;)R(pe);return Yt}function Wp(S){return es(S)?It(S,ec):gc(S)?[S]:iu(hf(_s(S)))}function Up(S){var R=++Xa;return _s(S)+R}var Vp=Tl(function(S,R){return S+R},0),Zp=Pl(\"ceil\"),Xp=Tl(function(S,R){return S/R},1),Yp=Pl(\"floor\");function Kp(S){return S&&S.length?Du(S,Mc,Tu):y}function qp(S,R){return S&&S.length?Du(S,va(R,2),Tu):y}function Qp(S){return Bt(S,Mc)}function Jp(S,R){return Bt(S,va(R,2))}function eg(S){return S&&S.length?Du(S,Mc,Fc):y}function tg(S,R){return S&&S.length?Du(S,va(R,2),Fc):y}var ng=Tl(function(S,R){return S*R},1),rg=Pl(\"round\"),og=Tl(function(S,R){return S-R},0);function ig(S){return S&&S.length?kr(S,Mc):0}function ag(S,R){return S&&S.length?kr(S,va(R,2)):0}return yn.after=Od,yn.ary=bf,yn.assign=kh,yn.assignIn=Sd,yn.assignInWith=Nd,yn.assignWith=jd,yn.at=yh,yn.before=Cc,yn.bind=Fl,yn.bindAll=Sp,yn.bindKey=ks,yn.castArray=Th,yn.chain=K,yn.chunk=Eu,yn.compact=ll,yn.concat=Sl,yn.cond=Ep,yn.conforms=Op,yn.constant=Eh,yn.countBy=$o,yn.create=Dd,yn.curry=Qs,yn.curryRight=Gu,yn.debounce=zu,yn.defaults=bh,yn.defaultsDeep=xh,yn.defer=Cd,yn.delay=yd,yn.difference=hd,yn.differenceBy=pf,yn.differenceWith=Bf,yn.drop=Bl,yn.dropRight=Jf,yn.dropRightWhile=gf,yn.dropWhile=pd,yn.fill=gd,yn.filter=co,yn.flatMap=Fo,yn.flatMapDeep=Bo,yn.flatMapDepth=Uo,yn.flatten=Ff,yn.flattenDeep=vd,yn.flattenDepth=ed,yn.flip=Wf,yn.flow=_p,yn.flowRight=Mp,yn.fromPairs=td,yn.functions=qe,yn.functionsIn=vt,yn.groupBy=Wi,yn.initial=rd,yn.intersection=od,yn.intersectionBy=zf,yn.intersectionWith=$f,yn.invert=Hr,yn.invertBy=ro,yn.invokeMap=Ss,yn.iteratee=Oh,yn.keyBy=Ra,yn.keys=oi,yn.keysIn=bi,yn.map=fs,yn.mapKeys=ji,yn.mapValues=ma,yn.matches=Ap,yn.matchesProperty=Tp,yn.memoize=xf,yn.merge=Ea,yn.mergeWith=za,yn.method=Pp,yn.methodOf=Ip,yn.mixin=Ch,yn.negate=wf,yn.nthArg=Np,yn.omit=Vs,yn.omitBy=vc,yn.once=bd,yn.orderBy=ns,yn.over=jp,yn.overArgs=Ud,yn.overEvery=Dp,yn.overSome=Rp,yn.partial=_d,yn.partialRight=Md,yn.partition=hs,yn.pick=Ef,yn.pickBy=nc,yn.property=Bh,yn.propertyOf=Lp,yn.pull=ad,yn.pullAll=o,yn.pullAllBy=t,yn.pullAllWith=e,yn.pullAt=n,yn.range=Bp,yn.rangeRight=Fp,yn.rearg=Vd,yn.reject=Es,yn.remove=i,yn.rest=Zd,yn.reverse=d,yn.sampleSize=Uc,yn.set=Cu,yn.setWith=Hl,yn.shuffle=Vc,yn.slice=g,yn.sortBy=md,yn.sortedUniq=de,yn.sortedUniqBy=Pe,yn.split=lp,yn.spread=Bd,yn.tail=Ge,yn.take=Qe,yn.takeRight=Xe,yn.takeRightWhile=yt,yn.takeWhile=Ct,yn.tap=Se,yn.throttle=Xd,yn.thru=He,yn.toArray=wd,yn.toPairs=Zf,yn.toPairsIn=Ld,yn.toPath=Wp,yn.toPlainObject=Wd,yn.transform=Hh,yn.unary=Yd,yn.union=on,yn.unionBy=sn,yn.unionWith=Nn,yn.uniq=Tn,yn.uniqBy=Bn,yn.uniqWith=Hn,yn.unset=Gh,yn.unzip=Sr,yn.unzipWith=Cr,yn.update=Wh,yn.updateWith=Uh,yn.values=Ed,yn.valuesIn=Vh,yn.without=po,yn.words=Rh,yn.wrap=Ad,yn.xor=wo,yn.xorBy=Po,yn.xorWith=Xo,yn.zip=ri,yn.zipObject=ki,yn.zipObjectDeep=T,yn.zipWith=B,yn.entries=Zf,yn.entriesIn=Ld,yn.extend=Sd,yn.extendWith=Nd,Ch(yn,yn),yn.add=Vp,yn.attempt=Lh,yn.camelCase=Kh,yn.capitalize=jh,yn.ceil=Zp,yn.clamp=Zh,yn.clone=Kd,yn.cloneDeep=Qd,yn.cloneDeepWith=Jd,yn.cloneWith=qd,yn.conformsTo=Td,yn.deburr=Dh,yn.defaultTo=Cp,yn.divide=Xp,yn.endsWith=qh,yn.eq=fl,yn.escape=Qh,yn.escapeRegExp=Jh,yn.every=Lr,yn.find=Do,yn.findIndex=vf,yn.findKey=wh,yn.findLast=yi,yn.findLastIndex=mf,yn.findLastKey=Rd,yn.floor=Yp,yn.forEach=Gi,yn.forEachRight=Ni,yn.forIn=Nh,yn.forInRight=ue,yn.forOwn=Y,yn.forOwnRight=Ne,yn.get=Sn,yn.gt=eh,yn.gte=th,yn.has=or,yn.hasIn=Or,yn.head=yf,yn.identity=Mc,yn.includes=ba,yn.indexOf=nd,yn.inRange=Xh,yn.invoke=zo,yn.isArguments=El,yn.isArray=es,yn.isArrayBuffer=nh,yn.isArrayLike=tc,yn.isArrayLikeObject=lu,yn.isBoolean=Pd,yn.isBuffer=Sf,yn.isDate=rh,yn.isElement=Ph,yn.isEmpty=oh,yn.isEqual=ih,yn.isEqualWith=ah,yn.isError=Id,yn.isFinite=sh,yn.isFunction=Ol,yn.isInteger=Fd,yn.isLength=ud,yn.isMap=zd,yn.isMatch=uh,yn.isMatchWith=ch,yn.isNaN=lh,yn.isNative=kd,yn.isNil=fh,yn.isNull=Ih,yn.isNumber=$d,yn.isObject=nu,yn.isObjectLike=au,yn.isPlainObject=cd,yn.isRegExp=xd,yn.isSafeInteger=dh,yn.isSet=Hd,yn.isString=Uf,yn.isSymbol=gc,yn.isTypedArray=Vf,yn.isUndefined=ld,yn.isWeakMap=hh,yn.isWeakSet=ph,yn.join=du,yn.kebabCase=ep,yn.last=Ou,yn.lastIndexOf=Hf,yn.lowerCase=tp,yn.lowerFirst=np,yn.lt=gh,yn.lte=vh,yn.max=Kp,yn.maxBy=qp,yn.mean=Qp,yn.meanBy=Jp,yn.min=eg,yn.minBy=tg,yn.stubArray=Mh,yn.stubFalse=Ah,yn.stubObject=zp,yn.stubString=$p,yn.stubTrue=Hp,yn.multiply=ng,yn.nth=id,yn.noConflict=kp,yn.noop=_h,yn.now=Gf,yn.pad=rp,yn.padEnd=op,yn.padStart=ip,yn.parseInt=ap,yn.random=Yh,yn.reduce=Is,yn.reduceRight=hu,yn.repeat=sp,yn.replace=up,yn.result=$l,yn.round=rg,yn.runInContext=rr,yn.sample=ku,yn.size=sd,yn.snakeCase=cp,yn.some=pc,yn.sortedIndex=_,yn.sortedIndexBy=I,yn.sortedIndexOf=D,yn.sortedLastIndex=H,yn.sortedLastIndexBy=Z,yn.sortedLastIndexOf=te,yn.startCase=fp,yn.startsWith=dp,yn.subtract=og,yn.sum=ig,yn.sumBy=ag,yn.template=hp,yn.times=Gp,yn.toFinite=zl,yn.toInteger=rs,yn.toLength=Gd,yn.toLower=pp,yn.toNumber=_c,yn.toSafeInteger=mh,yn.toString=_s,yn.toUpper=gp,yn.trim=vp,yn.trimEnd=mp,yn.trimStart=yp,yn.truncate=bp,yn.unescape=xp,yn.uniqueId=Up,yn.upperCase=wp,yn.upperFirst=Sh,yn.each=Gi,yn.eachRight=Ni,yn.first=yf,Ch(yn,function(){var S={};return Ys(yn,function(R,pe){sa.call(yn.prototype,pe)||(S[pe]=R)}),S}(),{chain:!1}),yn.VERSION=N,U([\"bind\",\"bindKey\",\"curry\",\"curryRight\",\"partial\",\"partialRight\"],function(S){yn[S].placeholder=yn}),U([\"drop\",\"take\"],function(S,R){Wa.prototype[S]=function(pe){pe=pe===y?1:gr(rs(pe),0);var ot=this.__filtered__&&!R?new Wa(this):this.clone();return ot.__filtered__?ot.__takeCount__=Fr(pe,ot.__takeCount__):ot.__views__.push({size:Fr(pe,he),type:S+(ot.__dir__<0?\"Right\":\"\")}),ot},Wa.prototype[S+\"Right\"]=function(pe){return this.reverse()[S](pe).reverse()}}),U([\"filter\",\"map\",\"takeWhile\"],function(S,R){var pe=R+1,ot=pe==Le||pe==ce;Wa.prototype[S]=function(Yt){var Gn=this.clone();return Gn.__iteratees__.push({iteratee:va(Yt,3),type:pe}),Gn.__filtered__=Gn.__filtered__||ot,Gn}}),U([\"head\",\"last\"],function(S,R){var pe=\"take\"+(R?\"Right\":\"\");Wa.prototype[S]=function(){return this[pe](1).value()[0]}}),U([\"initial\",\"tail\"],function(S,R){var pe=\"drop\"+(R?\"\":\"Right\");Wa.prototype[S]=function(){return this.__filtered__?new Wa(this):this[pe](1)}}),Wa.prototype.compact=function(){return this.filter(Mc)},Wa.prototype.find=function(S){return this.filter(S).head()},Wa.prototype.findLast=function(S){return this.reverse().find(S)},Wa.prototype.invokeMap=at(function(S,R){return typeof S==\"function\"?new Wa(this):this.map(function(pe){return sc(pe,S,R)})}),Wa.prototype.reject=function(S){return this.filter(wf(va(S)))},Wa.prototype.slice=function(S,R){S=rs(S);var pe=this;return pe.__filtered__&&(S>0||R<0)?new Wa(pe):(S<0?pe=pe.takeRight(-S):S&&(pe=pe.drop(S)),R!==y&&(R=rs(R),pe=R<0?pe.dropRight(-R):pe.take(R-S)),pe)},Wa.prototype.takeRightWhile=function(S){return this.reverse().takeWhile(S).reverse()},Wa.prototype.toArray=function(){return this.take(he)},Ys(Wa.prototype,function(S,R){var pe=/^(?:filter|find|map|reject)|While$/.test(R),ot=/^(?:head|last)$/.test(R),Yt=yn[ot?\"take\"+(R==\"last\"?\"Right\":\"\"):R],Gn=ot||/^find/.test(R);Yt&&(yn.prototype[R]=function(){var _r=this.__wrapped__,$r=ot?[1]:arguments,so=_r instanceof Wa,li=$r[0],fi=so||es(_r),Ei=function(bs){var Os=Yt.apply(yn,jt([bs],$r));return ot&&Qi?Os[0]:Os};fi&&pe&&typeof li==\"function\"&&li.length!=1&&(so=fi=!1);var Qi=this.__chain__,ya=!!this.__actions__.length,Ha=Gn&&!Qi,ps=so&&!ya;if(!Gn&&fi){_r=ps?_r:new Wa(this);var Ga=S.apply(_r,$r);return Ga.__actions__.push({func:He,args:[Ei],thisArg:y}),new gs(Ga,Qi)}return Ha&&ps?S.apply(this,$r):(Ga=this.thru(Ei),Ha?ot?Ga.value()[0]:Ga.value():Ga)})}),U([\"pop\",\"push\",\"shift\",\"sort\",\"splice\",\"unshift\"],function(S){var R=us[S],pe=/^(?:push|sort|unshift)$/.test(S)?\"tap\":\"thru\",ot=/^(?:pop|shift)$/.test(S);yn.prototype[S]=function(){var Yt=arguments;if(ot&&!this.__chain__){var Gn=this.value();return R.apply(es(Gn)?Gn:[],Yt)}return this[pe](function(_r){return R.apply(es(_r)?_r:[],Yt)})}}),Ys(Wa.prototype,function(S,R){var pe=yn[R];if(pe){var ot=pe.name+\"\";sa.call(_a,ot)||(_a[ot]=[]),_a[ot].push({name:R,func:pe})}}),_a[gl(y,M).name]=[{name:\"wrapper\",func:y}],Wa.prototype.clone=Ac,Wa.prototype.reverse=Gs,Wa.prototype.value=Tc,yn.prototype.at=Ye,yn.prototype.chain=Et,yn.prototype.commit=bn,yn.prototype.next=Qn,yn.prototype.plant=vr,yn.prototype.reverse=no,yn.prototype.toJSON=yn.prototype.valueOf=yn.prototype.value=Wo,yn.prototype.first=yn.prototype.head,Ja&&(yn.prototype[Ja]=yr),yn},Za=ws();Pr._=Za,r=function(){return Za}.call(Ee,c,Ee,Pt),r!==y&&(Pt.exports=r)}).call(this)},65512:function(Pt,Ee,c){var r=c(75697),y=c(5673),N=c(66494),C=c(24669);function w(O,b){var p=C(O)?r:N;return p(O,y(b,3))}Pt.exports=w},34736:function(Pt,Ee,c){var r=c(9440),y=\"Expected a function\";function N(C,w){if(typeof C!=\"function\"||w!=null&&typeof w!=\"function\")throw new TypeError(y);var O=function(){var b=arguments,p=w?w.apply(this,b):b[0],u=O.cache;if(u.has(p))return u.get(p);var a=C.apply(this,b);return O.cache=u.set(p,a)||u,a};return O.cache=new(N.Cache||r),O}N.Cache=r,Pt.exports=N},51798:function(Pt,Ee,c){var r=c(17498),y=c(71e3),N=c(2610),C=c(77817);function w(O){return N(O)?r(C(O)):y(O)}Pt.exports=w},68036:function(Pt){function Ee(){return[]}Pt.exports=Ee},84193:function(Pt){function Ee(){return!1}Pt.exports=Ee},8389:function(Pt,Ee,c){var r=c(73150);function y(N){return N==null?\"\":r(N)}Pt.exports=y},15751:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Pi:function(){return kt}});var r=c(65707),y=c(50959);if(!y.useState)throw new Error(\"mobx-react-lite requires React with Hooks support\");if(!r.makeObservable)throw new Error(\"mobx-react-lite@3 requires mobx at least version 6 to be available\");var N=c(10422);function C(Ue){Ue()}function w(Ue){Ue||(Ue=C),(0,r.configure)({reactionScheduler:Ue})}var O=function(){return!0};function b(Ue){return(0,r.getDependencyTree)(Ue)}var p=1e4,u=1e4,a=function(){function Ue(xt){var cn=this;Object.defineProperty(this,\"finalize\",{enumerable:!0,configurable:!0,writable:!0,value:xt}),Object.defineProperty(this,\"registrations\",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),Object.defineProperty(this,\"sweepTimeout\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"sweep\",{enumerable:!0,configurable:!0,writable:!0,value:function(er){er===void 0&&(er=p),clearTimeout(cn.sweepTimeout),cn.sweepTimeout=void 0;var Mr=Date.now();cn.registrations.forEach(function(xr,jr){Mr-xr.registeredAt>=er&&(cn.finalize(xr.value),cn.registrations.delete(jr))}),cn.registrations.size>0&&cn.scheduleSweep()}}),Object.defineProperty(this,\"finalizeAllImmediately\",{enumerable:!0,configurable:!0,writable:!0,value:function(){cn.sweep(0)}})}return Object.defineProperty(Ue.prototype,\"register\",{enumerable:!1,configurable:!0,writable:!0,value:function(xt,cn,er){this.registrations.set(er,{value:cn,registeredAt:Date.now()}),this.scheduleSweep()}}),Object.defineProperty(Ue.prototype,\"unregister\",{enumerable:!1,configurable:!0,writable:!0,value:function(xt){this.registrations.delete(xt)}}),Object.defineProperty(Ue.prototype,\"scheduleSweep\",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.sweepTimeout===void 0&&(this.sweepTimeout=setTimeout(this.sweep,u))}}),Ue}(),f=typeof FinalizationRegistry!=\"undefined\"?FinalizationRegistry:a,h=new f(function(Ue){var xt;(xt=Ue.reaction)===null||xt===void 0||xt.dispose(),Ue.reaction=null}),l=!1;function s(Ue){l=Ue}function m(){return l}var x=function(Ue,xt){var cn=typeof Symbol==\"function\"&&Ue[Symbol.iterator];if(!cn)return Ue;var er=cn.call(Ue),Mr,xr=[],jr;try{for(;(xt===void 0||xt-- >0)&&!(Mr=er.next()).done;)xr.push(Mr.value)}catch(yo){jr={error:yo}}finally{try{Mr&&!Mr.done&&(cn=er.return)&&cn.call(er)}finally{if(jr)throw jr.error}}return xr};function M(Ue){return\"observer\".concat(Ue)}var E=function(){function Ue(){}return Ue}();function j(){return new E}function L(Ue,xt){if(xt===void 0&&(xt=\"observed\"),m())return Ue();var cn=x(y.useState(j),1),er=cn[0],Mr=x(y.useState(),2),xr=Mr[1],jr=function(){return xr([])},yo=y.useRef(null);yo.current||(yo.current={reaction:null,mounted:!1,changedBeforeMount:!1});var eo=yo.current;eo.reaction||(eo.reaction=new r.Reaction(M(xt),function(){eo.mounted?jr():eo.changedBeforeMount=!0}),h.register(er,eo,eo)),y.useDebugValue(eo.reaction,b),y.useEffect(function(){return h.unregister(eo),eo.mounted=!0,eo.reaction?eo.changedBeforeMount&&(eo.changedBeforeMount=!1,jr()):(eo.reaction=new r.Reaction(M(xt),function(){jr()}),jr()),function(){eo.reaction.dispose(),eo.reaction=null,eo.mounted=!1,eo.changedBeforeMount=!1}},[]);var vi,Ti;if(eo.reaction.track(function(){try{vi=Ue()}catch(wi){Ti=wi}}),Ti)throw Ti;return vi}var A=!0,J=typeof Symbol==\"function\"&&Symbol.for,q=J?Symbol.for(\"react.forward_ref\"):typeof y.forwardRef==\"function\"&&(0,y.forwardRef)(function(Ue){return null}).$$typeof,re=J?Symbol.for(\"react.memo\"):typeof y.memo==\"function\"&&(0,y.memo)(function(Ue){return null}).$$typeof;function me(Ue,xt){var cn;if(re&&Ue.$$typeof===re)throw new Error(\"[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.\");if(m())return Ue;var er=(cn=xt==null?void 0:xt.forwardRef)!==null&&cn!==void 0?cn:!1,Mr=Ue,xr=Ue.displayName||Ue.name;if(q&&Ue.$$typeof===q&&(er=!0,Mr=Ue.render,typeof Mr!=\"function\"))throw new Error(\"[mobx-react-lite] `render` property of ForwardRef was not a function\");var jr=function(yo,eo){return L(function(){return Mr(yo,eo)},xr)};return xr!==\"\"&&(jr.displayName=xr),Ue.contextTypes&&(jr.contextTypes=Ue.contextTypes),er&&(jr=(0,y.forwardRef)(jr)),jr=(0,y.memo)(jr),ee(Ue,jr),jr}var Te={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};function ee(Ue,xt){Object.keys(Ue).forEach(function(cn){Te[cn]||Object.defineProperty(xt,cn,Object.getOwnPropertyDescriptor(Ue,cn))})}function xe(Ue){var xt=Ue.children,cn=Ue.render,er=xt||cn;return typeof er!=\"function\"?null:L(er)}xe.displayName=\"Observer\";function Ie(Ue,xt,cn,er,Mr){var xr=xt===\"children\"?\"render\":\"children\",jr=typeof Ue[xt]==\"function\",yo=typeof Ue[xr]==\"function\";return jr&&yo?new Error(\"MobX Observer: Do not use children and render in the same time in`\"+cn):jr||yo?null:new Error(\"Invalid prop `\"+Mr+\"` of type `\"+typeof Ue[xt]+\"` supplied to `\"+cn+\"`, expected `function`.\")}function Le(Ue,xt){return useState(function(){return observable(Ue(),xt,{autoBind:!0})})[0]}var De=function(Ue,xt){var cn=typeof Symbol==\"function\"&&Ue[Symbol.iterator];if(!cn)return Ue;var er=cn.call(Ue),Mr,xr=[],jr;try{for(;(xt===void 0||xt-- >0)&&!(Mr=er.next()).done;)xr.push(Mr.value)}catch(yo){jr={error:yo}}finally{try{Mr&&!Mr.done&&(cn=er.return)&&cn.call(er)}finally{if(jr)throw jr.error}}return xr};function ce(Ue){var xt=De(useState(function(){return observable(Ue,{},{deep:!1})}),1),cn=xt[0];return runInAction(function(){Object.assign(cn,Ue)}),cn}function ye(Ue,xt){var cn=xt&&useAsObservableSource(xt);return useState(function(){return observable(Ue(cn),void 0,{autoBind:!0})})[0]}var Oe;w(N.unstable_batchedUpdates);var Ce=(Oe=h.finalizeAllImmediately)!==null&&Oe!==void 0?Oe:function(){};function oe(Ue,xt){return xt===void 0&&(xt=\"observed\"),useObserverOriginal(Ue,xt)}function he(Ue){enableStaticRendering(Ue)}var ie=0;function ae(Ue){if(typeof Symbol==\"function\")return Symbol(Ue);var xt=\"__$mobx-react \"+Ue+\" (\"+ie+\")\";return ie++,xt}var ve={};function X(Ue){return ve[Ue]||(ve[Ue]=ae(Ue)),ve[Ue]}function se(Ue,xt){if(fe(Ue,xt))return!0;if(typeof Ue!=\"object\"||Ue===null||typeof xt!=\"object\"||xt===null)return!1;var cn=Object.keys(Ue),er=Object.keys(xt);if(cn.length!==er.length)return!1;for(var Mr=0;Mr<cn.length;Mr++)if(!Object.hasOwnProperty.call(xt,cn[Mr])||!fe(Ue[cn[Mr]],xt[cn[Mr]]))return!1;return!0}function fe(Ue,xt){return Ue===xt?Ue!==0||1/Ue===1/xt:Ue!==Ue&&xt!==xt}var _e={$$typeof:1,render:1,compare:1,type:1,childContextTypes:1,contextType:1,contextTypes:1,defaultProps:1,getDefaultProps:1,getDerivedStateFromError:1,getDerivedStateFromProps:1,mixins:1,displayName:1,propTypes:1};function be(Ue,xt){var cn=Object.getOwnPropertyNames(Object.getPrototypeOf(Ue));Object.getOwnPropertyNames(Ue).forEach(function(er){!_e[er]&&cn.indexOf(er)===-1&&Object.defineProperty(xt,er,Object.getOwnPropertyDescriptor(Ue,er))})}function We(Ue,xt,cn){Object.hasOwnProperty.call(Ue,xt)?Ue[xt]=cn:Object.defineProperty(Ue,xt,{enumerable:!1,configurable:!0,writable:!0,value:cn})}var we=X(\"patchMixins\"),Ze=X(\"patchedDefinition\");function Ve(Ue,xt){var cn=Ue[we]=Ue[we]||{},er=cn[xt]=cn[xt]||{};return er.locks=er.locks||0,er.methods=er.methods||[],er}function et(Ue,xt){for(var cn=this,er=arguments.length,Mr=new Array(er>2?er-2:0),xr=2;xr<er;xr++)Mr[xr-2]=arguments[xr];xt.locks++;try{var jr;return Ue!=null&&(jr=Ue.apply(this,Mr)),jr}finally{xt.locks--,xt.locks===0&&xt.methods.forEach(function(yo){yo.apply(cn,Mr)})}}function ht(Ue,xt){var cn=function(){for(var Mr=arguments.length,xr=new Array(Mr),jr=0;jr<Mr;jr++)xr[jr]=arguments[jr];et.call.apply(et,[this,Ue,xt].concat(xr))};return cn}function Fe(Ue,xt,cn){var er=Ve(Ue,xt);er.methods.indexOf(cn)<0&&er.methods.push(cn);var Mr=Object.getOwnPropertyDescriptor(Ue,xt);if(!(Mr&&Mr[Ze])){var xr=Ue[xt],jr=mt(Ue,xt,Mr?Mr.enumerable:void 0,er,xr);Object.defineProperty(Ue,xt,jr)}}function mt(Ue,xt,cn,er,Mr){var xr,jr=ht(Mr,er);return xr={},xr[Ze]=!0,xr.get=function(){return jr},xr.set=function(eo){if(this===Ue)jr=ht(eo,er);else{var vi=mt(this,xt,cn,er,eo);Object.defineProperty(this,xt,vi)}},xr.configurable=!0,xr.enumerable=cn,xr}var dt=r.$mobx||\"$mobx\",Lt=X(\"isMobXReactObserver\"),lt=X(\"isUnmounted\"),rn=X(\"skipRender\"),qt=X(\"isForcingUpdate\");function hn(Ue){var xt=Ue.prototype;if(Ue[Lt]){var cn=Kt(xt);console.warn(\"The provided component class (\"+cn+`)\n                has already been declared as an observer component.`)}else Ue[Lt]=!0;if(xt.componentWillReact)throw new Error(\"The componentWillReact life-cycle event is no longer supported\");if(Ue.__proto__!==y.PureComponent){if(!xt.shouldComponentUpdate)xt.shouldComponentUpdate=In;else if(xt.shouldComponentUpdate!==In)throw new Error(\"It is not allowed to use shouldComponentUpdate in observer based components.\")}Ft(xt,\"props\"),Ft(xt,\"state\"),Ue.contextType&&Ft(xt,\"context\");var er=xt.render;if(typeof er!=\"function\"){var Mr=Kt(xt);throw new Error(\"[mobx-react] class component (\"+Mr+\") is missing `render` method.\\n`observer` requires `render` being a function defined on prototype.\\n`render = () => {}` or `render = function() {}` is not supported.\")}return xt.render=function(){return this.render=m()?er:an.call(this,er),this.render()},Fe(xt,\"componentDidMount\",function(){this[lt]=!1,this.render[dt]||y.Component.prototype.forceUpdate.call(this)}),Fe(xt,\"componentWillUnmount\",function(){if(!m()){var xr=this.render[dt];if(xr)xr.dispose(),this.render[dt]=null;else{var jr=Kt(this);console.warn(\"The reactive render of an observer class component (\"+jr+`)\n                was overridden after MobX attached. This may result in a memory leak if the\n                overridden reactive render was not properly disposed.`)}this[lt]=!0}}),Ue}function Kt(Ue){return Ue.displayName||Ue.name||Ue.constructor&&(Ue.constructor.displayName||Ue.constructor.name)||\"<component>\"}function an(Ue){var xt=this;We(this,rn,!1),We(this,qt,!1);var cn=Kt(this),er=Ue.bind(this),Mr=!1,xr=function(){var eo=new r.Reaction(cn+\".render()\",function(){if(!Mr&&(Mr=!0,xt[lt]!==!0)){var vi=!0;try{We(xt,qt,!0),xt[rn]||y.Component.prototype.forceUpdate.call(xt),vi=!1}finally{We(xt,qt,!1),vi&&(eo.dispose(),xt.render[dt]=null)}}});return eo.reactComponent=xt,eo};function jr(){var yo;Mr=!1;var eo=(yo=jr[dt])!=null?yo:jr[dt]=xr(),vi=void 0,Ti=void 0;if(eo.track(function(){try{Ti=(0,r._allowStateChanges)(!1,er)}catch(wi){vi=wi}}),vi)throw vi;return Ti}return jr}function In(Ue,xt){return m()&&console.warn(\"[mobx-react] It seems that a re-rendering of a React component is triggered while in static (server-side) mode. Please make sure components are rendered only once server-side.\"),this.state!==xt?!0:!se(this.props,Ue)}function Ft(Ue,xt){var cn=X(\"reactProp_\"+xt+\"_valueHolder\"),er=X(\"reactProp_\"+xt+\"_atomHolder\");function Mr(){return this[er]||We(this,er,(0,r.createAtom)(\"reactive \"+xt)),this[er]}Object.defineProperty(Ue,xt,{configurable:!0,enumerable:!0,get:function(){var jr=!1;return r._allowStateReadsStart&&r._allowStateReadsEnd&&(jr=(0,r._allowStateReadsStart)(!0)),Mr.call(this).reportObserved(),r._allowStateReadsStart&&r._allowStateReadsEnd&&(0,r._allowStateReadsEnd)(jr),this[cn]},set:function(jr){!this[qt]&&!se(this[cn],jr)?(We(this,cn,jr),We(this,rn,!0),Mr.call(this).reportChanged(),We(this,rn,!1)):We(this,cn,jr)}})}function kt(Ue){return Ue.isMobxInjector===!0&&console.warn(\"Mobx observer: You are trying to use `observer` on a component that already has `inject`. Please apply `observer` before applying `inject`\"),Object.prototype.isPrototypeOf.call(y.Component,Ue)||Object.prototype.isPrototypeOf.call(y.PureComponent,Ue)?hn(Ue):me(Ue)}function At(){return At=Object.assign||function(Ue){for(var xt=1;xt<arguments.length;xt++){var cn=arguments[xt];for(var er in cn)Object.prototype.hasOwnProperty.call(cn,er)&&(Ue[er]=cn[er])}return Ue},At.apply(this,arguments)}function Fn(Ue,xt){if(Ue==null)return{};var cn={},er=Object.keys(Ue),Mr,xr;for(xr=0;xr<er.length;xr++)Mr=er[xr],!(xt.indexOf(Mr)>=0)&&(cn[Mr]=Ue[Mr]);return cn}var pn=[\"children\"],en=y.createContext({});function Wn(Ue){var xt=Ue.children,cn=Fn(Ue,pn),er=y.useContext(en),Mr=y.useRef(At({},er,cn)),xr=Mr.current;if(!1)var jr;return y.createElement(en.Provider,{value:xr},xt)}Wn.displayName=\"MobXProvider\";function Mn(Ue,xt,cn,er){var Mr=React__default.forwardRef(function(xr,jr){var yo=At({},xr),eo=React__default.useContext(en);return Object.assign(yo,Ue(eo||{},yo)||{}),jr&&(yo.ref=jr),React__default.createElement(xt,yo)});return er&&(Mr=kt(Mr)),Mr.isMobxInjector=!0,be(xt,Mr),Mr.wrappedComponent=xt,Mr.displayName=Kn(xt,cn),Mr}function Kn(Ue,xt){var cn,er=Ue.displayName||Ue.name||Ue.constructor&&Ue.constructor.name||\"Component\";return xt?cn=\"inject-with-\"+xt+\"(\"+er+\")\":cn=\"inject(\"+er+\")\",cn}function hr(Ue){return function(xt,cn){return Ue.forEach(function(er){if(!(er in cn)){if(!(er in xt))throw new Error(\"MobX injector: Store '\"+er+\"' is not available! Make sure it is provided by some Provider\");cn[er]=xt[er]}}),cn}}function pr(){for(var Ue=arguments.length,xt=new Array(Ue),cn=0;cn<Ue;cn++)xt[cn]=arguments[cn];if(typeof arguments[0]==\"function\"){var er=arguments[0];return function(Mr){return Mn(er,Mr,er.name,!0)}}else return function(Mr){return Mn(hr(xt),Mr,xt.join(\"-\"),!1)}}var zr=null,Wr=null;function Nr(){var Ue=this;[].concat(this[zr]||[],this[Wr]||[]).forEach(function(xt){var cn=typeof xt==\"string\"?Ue[xt]:xt;cn!=null&&(Array.isArray(cn)?cn.map(function(er){return er()}):cn())})}function Kr(Ue,xt){if(Array.isArray(xt))return xt.map(function(eo){return Kr(Ue,eo)});var cn=Object.getPrototypeOf(Ue).constructor,er=Object.getPrototypeOf(Ue.constructor),Mr=Object.getPrototypeOf(Object.getPrototypeOf(Ue));if(!(cn===React__default.Component||cn===React__default.PureComponent||er===React__default.Component||er===React__default.PureComponent||Mr===React__default.Component||Mr===React__default.PureComponent))throw new Error(\"[mobx-react] disposeOnUnmount only supports direct subclasses of React.Component or React.PureComponent.\");if(typeof xt!=\"string\"&&typeof xt!=\"function\"&&!Array.isArray(xt))throw new Error(\"[mobx-react] disposeOnUnmount only works if the parameter is either a property key or a function.\");var xr=typeof xt==\"string\",jr=!!Ue[zr]||!!Ue[Wr],yo=xr?Ue[zr]||(Ue[zr]=[]):Ue[Wr]||(Ue[Wr]=[]);if(yo.push(xt),jr||Fe(Ue,\"componentWillUnmount\",Nr),typeof xt!=\"string\")return xt}function ko(Ue){function xt(er,Mr,xr,jr,yo,eo){for(var vi=arguments.length,Ti=new Array(vi>6?vi-6:0),wi=6;wi<vi;wi++)Ti[wi-6]=arguments[wi];return(0,r.untracked)(function(){if(jr=jr||\"<<anonymous>>\",eo=eo||xr,Mr[xr]==null){if(er){var mi=Mr[xr]===null?\"null\":\"undefined\";return new Error(\"The \"+yo+\" `\"+eo+\"` is marked as required in `\"+jr+\"`, but its value is `\"+mi+\"`.\")}return null}else return Ue.apply(void 0,[Mr,xr,jr,yo,eo].concat(Ti))})}var cn=xt.bind(null,!1);return cn.isRequired=xt.bind(null,!0),cn}function Ur(Ue,xt){return Ue===\"symbol\"||xt[\"@@toStringTag\"]===\"Symbol\"||typeof Symbol==\"function\"&&xt instanceof Symbol}function gn(Ue){var xt=typeof Ue;return Array.isArray(Ue)?\"array\":Ue instanceof RegExp?\"object\":Ur(xt,Ue)?\"symbol\":xt}function Gt(Ue){var xt=gn(Ue);if(xt===\"object\"){if(Ue instanceof Date)return\"date\";if(Ue instanceof RegExp)return\"regexp\"}return xt}function bt(Ue,xt){return ko(function(cn,er,Mr,xr,jr){return(0,r.untracked)(function(){if(Ue&&gn(cn[er])===xt.toLowerCase())return null;var yo;switch(xt){case\"Array\":yo=r.isObservableArray;break;case\"Object\":yo=r.isObservableObject;break;case\"Map\":yo=r.isObservableMap;break;default:throw new Error(\"Unexpected mobxType: \"+xt)}var eo=cn[er];if(!yo(eo)){var vi=Gt(eo),Ti=Ue?\" or javascript `\"+xt.toLowerCase()+\"`\":\"\";return new Error(\"Invalid prop `\"+jr+\"` of type `\"+vi+\"` supplied to `\"+Mr+\"`, expected `mobx.Observable\"+xt+\"`\"+Ti+\".\")}return null})})}function Zt(Ue,xt){return ko(function(cn,er,Mr,xr,jr){for(var yo=arguments.length,eo=new Array(yo>5?yo-5:0),vi=5;vi<yo;vi++)eo[vi-5]=arguments[vi];return(0,r.untracked)(function(){if(typeof xt!=\"function\")return new Error(\"Property `\"+jr+\"` of component `\"+Mr+\"` has invalid PropType notation.\");var Ti=bt(Ue,\"Array\")(cn,er,Mr,xr,jr);if(Ti instanceof Error)return Ti;for(var wi=cn[er],mi=0;mi<wi.length;mi++)if(Ti=xt.apply(void 0,[wi,mi,Mr,xr,jr+\"[\"+mi+\"]\"].concat(eo)),Ti instanceof Error)return Ti;return null})})}var gt=bt(!1,\"Array\"),Wt=Zt.bind(null,!1),xn=bt(!1,\"Map\"),Dt=bt(!1,\"Object\"),Xn=bt(!0,\"Array\"),Rn=Zt.bind(null,!0),wt=bt(!0,\"Object\"),pt={observableArray:gt,observableArrayOf:Wt,observableMap:xn,observableObject:Dt,arrayOrObservableArray:Xn,arrayOrObservableArrayOf:Rn,objectOrObservableObject:wt};if(!y.Component)throw new Error(\"mobx-react requires React to be available\");if(!r.observable)throw new Error(\"mobx-react requires mobx to be available\")},65707:function(Pt,Ee,c){\"use strict\";c.r(Ee),c.d(Ee,{$mobx:function(){return Fe},FlowCancellationError:function(){return na},ObservableMap:function(){return hi},ObservableSet:function(){return tr},Reaction:function(){return P},_allowStateChanges:function(){return br},_allowStateChangesInsideComputed:function(){return En},_allowStateReadsEnd:function(){return Si},_allowStateReadsStart:function(){return ai},_autoAction:function(){return Bt},_endAction:function(){return zi},_getAdministration:function(){return Au},_getGlobalState:function(){return An},_interceptReads:function(){return Ua},_isComputingDerivation:function(){return lr},_resetGlobalState:function(){return Rt},_startAction:function(){return ca},action:function(){return Ln},autorun:function(){return cr},comparer:function(){return Kt},computed:function(){return Co},configure:function(){return ha},createAtom:function(){return Lt},defineProperty:function(){return us},entries:function(){return Na},extendObservable:function(){return xa},flow:function(){return Oa},flowResult:function(){return Ka},get:function(){return Qa},getAtom:function(){return Ns},getDebugName:function(){return yc},getDependencyTree:function(){return qi},getObserverTree:function(){return Ji},has:function(){return Ms},intercept:function(){return Va},isAction:function(){return _n},isBoxedObservable:function(){return fn},isComputed:function(){return Za},isComputedProp:function(){return rr},isFlow:function(){return Ba},isFlowCancellationError:function(){return $i},isObservable:function(){return Br},isObservableArray:function(){return mo},isObservableMap:function(){return Yo},isObservableObject:function(){return ds},isObservableProp:function(){return Ao},isObservableSet:function(){return Sa},keys:function(){return Di},makeAutoObservable:function(){return G},makeObservable:function(){return Ts},observable:function(){return Un},observe:function(){return $a},onBecomeObserved:function(){return vo},onBecomeUnobserved:function(){return uo},onReactionError:function(){return k},override:function(){return Fn},ownKeys:function(){return Fs},reaction:function(){return jo},remove:function(){return Bs},runInAction:function(){return En},set:function(){return Fa},spy:function(){return jt},toJS:function(){return os},trace:function(){return As},transaction:function(){return di},untracked:function(){return No},values:function(){return Aa},when:function(){return ia}});var r={0:\"Invalid value for configuration 'enforceActions', expected 'never', 'always' or 'observed'\",1:function(Be,st){return\"Cannot apply '\"+Be+\"' to '\"+st.toString()+\"': Field not found.\"},5:\"'keys()' can only be used on observable objects, arrays, sets and maps\",6:\"'values()' can only be used on observable objects, arrays, sets and maps\",7:\"'entries()' can only be used on observable objects, arrays and maps\",8:\"'set()' can only be used on observable objects, arrays and maps\",9:\"'remove()' can only be used on observable objects, arrays and maps\",10:\"'has()' can only be used on observable objects, arrays and maps\",11:\"'get()' can only be used on observable objects, arrays and maps\",12:\"Invalid annotation\",13:\"Dynamic observable objects cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)\",14:\"Intercept handlers should return nothing or a change object\",15:\"Observable arrays cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)\",16:\"Modification exception: the internal structure of an observable array was changed.\",17:function(Be,st){return\"[mobx.array] Index out of bounds, \"+Be+\" is larger than \"+st},18:\"mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js\",19:function(Be){return\"Cannot initialize from classes that inherit from Map: \"+Be.constructor.name},20:function(Be){return\"Cannot initialize map from \"+Be},21:function(Be){return\"Cannot convert to map from '\"+Be+\"'\"},22:\"mobx.set requires Set polyfill for the current browser. Check babel-polyfill or core-js/es6/set.js\",23:\"It is not possible to get index atoms from arrays\",24:function(Be){return\"Cannot obtain administration from \"+Be},25:function(Be,st){return\"the entry '\"+Be+\"' does not exist in the observable map '\"+st+\"'\"},26:\"please specify a property\",27:function(Be,st){return\"no observable property '\"+Be.toString()+\"' found on the observable object '\"+st+\"'\"},28:function(Be){return\"Cannot obtain atom from \"+Be},29:\"Expecting some object\",30:\"invalid action stack. did you forget to finish an action?\",31:\"missing option for computed: get\",32:function(Be,st){return\"Cycle detected in computation \"+Be+\": \"+st},33:function(Be){return\"The setter of computed value '\"+Be+\"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?\"},34:function(Be){return\"[ComputedValue '\"+Be+\"'] It is not possible to assign a new value to a computed value.\"},35:\"There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`\",36:\"isolateGlobalState should be called before MobX is running any reactions\",37:function(Be){return\"[mobx] `observableArray.\"+Be+\"()` mutates the array in-place, which is not allowed inside a derivation. Use `array.slice().\"+Be+\"()` instead\"},38:\"'ownKeys()' can only be used on observable objects\",39:\"'defineProperty()' can only be used on observable objects\"},y={};function N(le){for(var Be=arguments.length,st=new Array(Be>1?Be-1:0),it=1;it<Be;it++)st[it-1]=arguments[it];if(!1)var Qt;throw new Error(typeof le==\"number\"?\"[MobX] minified error nr: \"+le+(st.length?\" \"+st.map(String).join(\",\"):\"\")+\". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts\":\"[MobX] \"+le)}var C={};function w(){return typeof globalThis!=\"undefined\"?globalThis:typeof window!=\"undefined\"?window:typeof c.g!=\"undefined\"?c.g:typeof self!=\"undefined\"?self:C}var O=Object.assign,b=Object.getOwnPropertyDescriptor,p=Object.defineProperty,u=Object.prototype,a=[];Object.freeze(a);var f={};Object.freeze(f);var h=typeof Proxy!=\"undefined\",l=Object.toString();function s(){h||N(\"Proxy not available\")}function m(le){}function x(){return++ct.mobxGuid}function M(le){var Be=!1;return function(){if(!Be)return Be=!0,le.apply(this,arguments)}}var E=function(){};function j(le){return typeof le==\"function\"}function L(le){var Be=typeof le;switch(Be){case\"string\":case\"symbol\":case\"number\":return!0}return!1}function A(le){return le!==null&&typeof le==\"object\"}function J(le){if(!A(le))return!1;var Be=Object.getPrototypeOf(le);if(Be==null)return!0;var st=Object.hasOwnProperty.call(Be,\"constructor\")&&Be.constructor;return typeof st==\"function\"&&st.toString()===l}function q(le){var Be=le==null?void 0:le.constructor;return Be?Be.name===\"GeneratorFunction\"||Be.displayName===\"GeneratorFunction\":!1}function re(le,Be,st){p(le,Be,{enumerable:!1,writable:!0,configurable:!0,value:st})}function me(le,Be,st){p(le,Be,{enumerable:!1,writable:!1,configurable:!0,value:st})}function Te(le,Be){var st=\"isMobX\"+le;return Be.prototype[st]=!0,function(it){return A(it)&&it[st]===!0}}function ee(le){return le instanceof Map}function xe(le){return le instanceof Set}var Ie=typeof Object.getOwnPropertySymbols!=\"undefined\";function Le(le){var Be=Object.keys(le);if(!Ie)return Be;var st=Object.getOwnPropertySymbols(le);return st.length?[].concat(Be,st.filter(function(it){return u.propertyIsEnumerable.call(le,it)})):Be}var De=typeof Reflect!=\"undefined\"&&Reflect.ownKeys?Reflect.ownKeys:Ie?function(le){return Object.getOwnPropertyNames(le).concat(Object.getOwnPropertySymbols(le))}:Object.getOwnPropertyNames;function ce(le){return typeof le==\"string\"?le:typeof le==\"symbol\"?le.toString():new String(le).toString()}function ye(le){return le===null?null:typeof le==\"object\"?\"\"+le:le}function Oe(le,Be){return u.hasOwnProperty.call(le,Be)}var Ce=Object.getOwnPropertyDescriptors||function(Be){var st={};return De(Be).forEach(function(it){st[it]=b(Be,it)}),st};function oe(le,Be){for(var st=0;st<Be.length;st++){var it=Be[st];it.enumerable=it.enumerable||!1,it.configurable=!0,\"value\"in it&&(it.writable=!0),Object.defineProperty(le,We(it.key),it)}}function he(le,Be,st){return Be&&oe(le.prototype,Be),st&&oe(le,st),Object.defineProperty(le,\"prototype\",{writable:!1}),le}function ie(){return ie=Object.assign?Object.assign.bind():function(le){for(var Be=1;Be<arguments.length;Be++){var st=arguments[Be];for(var it in st)Object.prototype.hasOwnProperty.call(st,it)&&(le[it]=st[it])}return le},ie.apply(this,arguments)}function ae(le,Be){le.prototype=Object.create(Be.prototype),le.prototype.constructor=le,ve(le,Be)}function ve(le,Be){return ve=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(it,Qt){return it.__proto__=Qt,it},ve(le,Be)}function X(le){if(le===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return le}function se(le,Be){if(le){if(typeof le==\"string\")return fe(le,Be);var st=Object.prototype.toString.call(le).slice(8,-1);if(st===\"Object\"&&le.constructor&&(st=le.constructor.name),st===\"Map\"||st===\"Set\")return Array.from(le);if(st===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(st))return fe(le,Be)}}function fe(le,Be){(Be==null||Be>le.length)&&(Be=le.length);for(var st=0,it=new Array(Be);st<Be;st++)it[st]=le[st];return it}function _e(le,Be){var st=typeof Symbol!=\"undefined\"&&le[Symbol.iterator]||le[\"@@iterator\"];if(st)return(st=st.call(le)).next.bind(st);if(Array.isArray(le)||(st=se(le))||Be&&le&&typeof le.length==\"number\"){st&&(le=st);var it=0;return function(){return it>=le.length?{done:!0}:{done:!1,value:le[it++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function be(le,Be){if(typeof le!=\"object\"||le===null)return le;var st=le[Symbol.toPrimitive];if(st!==void 0){var it=st.call(le,Be||\"default\");if(typeof it!=\"object\")return it;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(Be===\"string\"?String:Number)(le)}function We(le){var Be=be(le,\"string\");return typeof Be==\"symbol\"?Be:String(Be)}var we=Symbol(\"mobx-stored-annotations\");function Ze(le){function Be(st,it){Ve(st,it,le)}return Object.assign(Be,le)}function Ve(le,Be,st){if(Oe(le,we)||re(le,we,ie({},le[we])),!1)var it;et(le,st,Be),pn(st)||(le[we][Be]=st)}function et(le,Be,st){if(!1)var it,Qt,qn}function ht(le){return Oe(le,we)||re(le,we,ie({},le[we])),le[we]}var Fe=Symbol(\"mobx administration\"),mt=function(){function le(st){st===void 0&&(st=\"Atom\"),this.name_=void 0,this.isPendingUnobservation_=!1,this.isBeingObserved_=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Ke.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=st}var Be=le.prototype;return Be.onBO=function(){this.onBOL&&this.onBOL.forEach(function(it){return it()})},Be.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(it){return it()})},Be.reportObserved=function(){return oo(this)},Be.reportChanged=function(){Pr(),io(this),Xr()},Be.toString=function(){return this.name_},le}(),dt=Te(\"Atom\",mt);function Lt(le,Be,st){Be===void 0&&(Be=E),st===void 0&&(st=E);var it=new mt(le);return Be!==E&&vo(it,Be),st!==E&&uo(it,st),it}function lt(le,Be){return le===Be}function rn(le,Be){return bc(le,Be)}function qt(le,Be){return bc(le,Be,1)}function hn(le,Be){return Object.is?Object.is(le,Be):le===Be?le!==0||1/le===1/Be:le!==le&&Be!==Be}var Kt={identity:lt,structural:rn,default:hn,shallow:qt};function an(le,Be,st){return Br(le)?le:Array.isArray(le)?Un.array(le,{name:st}):J(le)?Un.object(le,void 0,{name:st}):ee(le)?Un.map(le,{name:st}):xe(le)?Un.set(le,{name:st}):typeof le==\"function\"&&!_n(le)&&!Ba(le)?q(le)?Oa(le):Bt(st,le):le}function In(le,Be,st){if(le==null||ds(le)||mo(le)||Yo(le)||Sa(le))return le;if(Array.isArray(le))return Un.array(le,{name:st,deep:!1});if(J(le))return Un.object(le,void 0,{name:st,deep:!1});if(ee(le))return Un.map(le,{name:st,deep:!1});if(xe(le))return Un.set(le,{name:st,deep:!1})}function Ft(le){return le}function kt(le,Be){return bc(le,Be)?Be:le}var At=\"override\",Fn=Ze({annotationType_:At,make_:en,extend_:Wn});function pn(le){return le.annotationType_===At}function en(le,Be){return 0}function Wn(le,Be,st,it){N(\"'\"+this.annotationType_+\"' can only be used with 'makeObservable'\")}function Mn(le,Be){return{annotationType_:le,options_:Be,make_:Kn,extend_:hr}}function Kn(le,Be,st,it){var Qt;if((Qt=this.options_)!=null&&Qt.bound)return this.extend_(le,Be,st,!1)===null?0:1;if(it===le.target_)return this.extend_(le,Be,st,!1)===null?0:2;if(_n(st.value))return 1;var qn=zr(le,this,Be,st,!1);return p(it,Be,qn),2}function hr(le,Be,st,it){var Qt=zr(le,this,Be,st);return le.defineProperty_(Be,Qt,it)}function pr(le,Be,st,it){var Qt=Be.annotationType_,qn=it.value}function zr(le,Be,st,it,Qt){var qn,Tr,bo,Ko,Mi,Hi,ja;Qt===void 0&&(Qt=ct.safeDescriptors),pr(le,Be,st,it);var ms=it.value;if((qn=Be.options_)!=null&&qn.bound){var Ps;ms=ms.bind((Ps=le.proxy_)!=null?Ps:le.target_)}return{value:Oi((Tr=(bo=Be.options_)==null?void 0:bo.name)!=null?Tr:st.toString(),ms,(Ko=(Mi=Be.options_)==null?void 0:Mi.autoAction)!=null?Ko:!1,(Hi=Be.options_)!=null&&Hi.bound?(ja=le.proxy_)!=null?ja:le.target_:void 0),configurable:Qt?le.isPlainObject_:!0,enumerable:!1,writable:!Qt}}function Wr(le,Be){return{annotationType_:le,options_:Be,make_:Nr,extend_:Kr}}function Nr(le,Be,st,it){var Qt;if(it===le.target_)return this.extend_(le,Be,st,!1)===null?0:2;if((Qt=this.options_)!=null&&Qt.bound&&(!Oe(le.target_,Be)||!Ba(le.target_[Be]))&&this.extend_(le,Be,st,!1)===null)return 0;if(Ba(st.value))return 1;var qn=Ur(le,this,Be,st,!1,!1);return p(it,Be,qn),2}function Kr(le,Be,st,it){var Qt,qn=Ur(le,this,Be,st,(Qt=this.options_)==null?void 0:Qt.bound);return le.defineProperty_(Be,qn,it)}function ko(le,Be,st,it){var Qt=Be.annotationType_,qn=it.value}function Ur(le,Be,st,it,Qt,qn){qn===void 0&&(qn=ct.safeDescriptors),ko(le,Be,st,it);var Tr=it.value;if(Ba(Tr)||(Tr=Oa(Tr)),Qt){var bo;Tr=Tr.bind((bo=le.proxy_)!=null?bo:le.target_),Tr.isMobXFlow=!0}return{value:Tr,configurable:qn?le.isPlainObject_:!0,enumerable:!1,writable:!qn}}function gn(le,Be){return{annotationType_:le,options_:Be,make_:Gt,extend_:bt}}function Gt(le,Be,st){return this.extend_(le,Be,st,!1)===null?0:1}function bt(le,Be,st,it){return Zt(le,this,Be,st),le.defineComputedProperty_(Be,ie({},this.options_,{get:st.get,set:st.set}),it)}function Zt(le,Be,st,it){var Qt=Be.annotationType_,qn=it.get}function gt(le,Be){return{annotationType_:le,options_:Be,make_:Wt,extend_:xn}}function Wt(le,Be,st){return this.extend_(le,Be,st,!1)===null?0:1}function xn(le,Be,st,it){var Qt,qn;return Dt(le,this,Be,st),le.defineObservableProperty_(Be,st.value,(Qt=(qn=this.options_)==null?void 0:qn.enhancer)!=null?Qt:an,it)}function Dt(le,Be,st,it){var Qt=Be.annotationType_}var Xn=\"true\",Rn=wt();function wt(le){return{annotationType_:Xn,options_:le,make_:pt,extend_:Ue}}function pt(le,Be,st,it){var Qt,qn;if(st.get)return Co.make_(le,Be,st,it);if(st.set){var Tr=Oi(Be.toString(),st.set);return it===le.target_?le.defineProperty_(Be,{configurable:ct.safeDescriptors?le.isPlainObject_:!0,set:Tr})===null?0:2:(p(it,Be,{configurable:!0,set:Tr}),2)}if(it!==le.target_&&typeof st.value==\"function\"){var bo;if(q(st.value)){var Ko,Mi=(Ko=this.options_)!=null&&Ko.autoBind?Oa.bound:Oa;return Mi.make_(le,Be,st,it)}var Hi=(bo=this.options_)!=null&&bo.autoBind?Bt.bound:Bt;return Hi.make_(le,Be,st,it)}var ja=((Qt=this.options_)==null?void 0:Qt.deep)===!1?Un.ref:Un;if(typeof st.value==\"function\"&&(qn=this.options_)!=null&&qn.autoBind){var ms;st.value=st.value.bind((ms=le.proxy_)!=null?ms:le.target_)}return ja.make_(le,Be,st,it)}function Ue(le,Be,st,it){var Qt,qn;if(st.get)return Co.extend_(le,Be,st,it);if(st.set)return le.defineProperty_(Be,{configurable:ct.safeDescriptors?le.isPlainObject_:!0,set:Oi(Be.toString(),st.set)},it);if(typeof st.value==\"function\"&&(Qt=this.options_)!=null&&Qt.autoBind){var Tr;st.value=st.value.bind((Tr=le.proxy_)!=null?Tr:le.target_)}var bo=((qn=this.options_)==null?void 0:qn.deep)===!1?Un.ref:Un;return bo.extend_(le,Be,st,it)}var xt=\"observable\",cn=\"observable.ref\",er=\"observable.shallow\",Mr=\"observable.struct\",xr={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};Object.freeze(xr);function jr(le){return le||xr}var yo=gt(xt),eo=gt(cn,{enhancer:Ft}),vi=gt(er,{enhancer:In}),Ti=gt(Mr,{enhancer:kt}),wi=Ze(yo);function mi(le){return le.deep===!0?an:le.deep===!1?Ft:aa(le.defaultDecorator)}function Zi(le){var Be;return le?(Be=le.defaultDecorator)!=null?Be:wt(le):void 0}function aa(le){var Be,st;return le&&(Be=(st=le.options_)==null?void 0:st.enhancer)!=null?Be:an}function $e(le,Be,st){if(L(Be)){Ve(le,Be,yo);return}return Br(le)?le:J(le)?Un.object(le,Be,st):Array.isArray(le)?Un.array(le,Be):ee(le)?Un.map(le,Be):xe(le)?Un.set(le,Be):typeof le==\"object\"&&le!==null?le:Un.box(le,Be)}O($e,wi);var dn={box:function(Be,st){var it=jr(st);return new Xt(Be,mi(it),it.name,!0,it.equals)},array:function(Be,st){var it=jr(st);return(ct.useProxies===!1||it.proxy===!1?qc:wn)(Be,mi(it),it.name)},map:function(Be,st){var it=jr(st);return new hi(Be,mi(it),it.name)},set:function(Be,st){var it=jr(st);return new tr(Be,mi(it),it.name)},object:function(Be,st,it){return xa(ct.useProxies===!1||(it==null?void 0:it.proxy)===!1?Cs({},it):xs({},it),Be,st)},ref:Ze(eo),shallow:Ze(vi),deep:wi,struct:Ze(Ti)},Un=O($e,dn),ar=\"computed\",Rr=\"computed.struct\",Ro=gn(ar),Vo=gn(Rr,{equals:Kt.structural}),Co=function(Be,st){if(L(st))return Ve(Be,st,Ro);if(J(Be))return Ze(gn(ar,Be));var it=J(st)?st:{};return it.get=Be,it.name||(it.name=Be.name||\"\"),new Yn(it)};Object.assign(Co,Ro),Co.struct=Ze(Vo);var Mo,qo,ti=0,pi=1,ni=(Mo=(qo=b(function(){},\"name\"))==null?void 0:qo.configurable)!=null?Mo:!1,si={value:\"action\",configurable:!0,writable:!1,enumerable:!1};function Oi(le,Be,st,it){st===void 0&&(st=!1);function Qt(){return Ki(le,st,Be,it||this,arguments)}return Qt.isMobxAction=!0,ni&&(si.value=le,p(Qt,\"name\",si)),Qt}function Ki(le,Be,st,it,Qt){var qn=ca(le,Be,it,Qt);try{return st.apply(it,Qt)}catch(Tr){throw qn.error_=Tr,Tr}finally{zi(qn)}}function ca(le,Be,st,it){var Qt=!1,qn=0;if(!1)var Tr;var bo=ct.trackingDerivation,Ko=!Be||!bo;Pr();var Mi=ct.allowStateChanges;Ko&&(ii(),Mi=Re(!0));var Hi=ai(!0),ja={runAsAction_:Ko,prevDerivation_:bo,prevAllowStateChanges_:Mi,prevAllowStateReads_:Hi,notifySpy_:Qt,startTime_:qn,actionId_:pi++,parentActionId_:ti};return ti=ja.actionId_,ja}function zi(le){ti!==le.actionId_&&N(30),ti=le.parentActionId_,le.error_!==void 0&&(ct.suppressReactionErrors=!0),je(le.prevAllowStateChanges_),Si(le.prevAllowStateReads_),Xr(),le.runAsAction_&&Lo(le.prevDerivation_),ct.suppressReactionErrors=!1}function br(le,Be){var st=Re(le);try{return Be()}finally{je(st)}}function Re(le){var Be=ct.allowStateChanges;return ct.allowStateChanges=le,Be}function je(le){ct.allowStateChanges=le}var nt,rt=\"create\";nt=Symbol.toPrimitive;var Xt=function(le){ae(Be,le);function Be(it,Qt,qn,Tr,bo){var Ko;return qn===void 0&&(qn=\"ObservableValue\"),Tr===void 0&&(Tr=!0),bo===void 0&&(bo=Kt.default),Ko=le.call(this,qn)||this,Ko.enhancer=void 0,Ko.name_=void 0,Ko.equals=void 0,Ko.hasUnreportedChange_=!1,Ko.interceptors_=void 0,Ko.changeListeners_=void 0,Ko.value_=void 0,Ko.dehancer=void 0,Ko.enhancer=Qt,Ko.name_=qn,Ko.equals=bo,Ko.value_=Qt(it,void 0,qn),Ko}var st=Be.prototype;return st.dehanceValue=function(Qt){return this.dehancer!==void 0?this.dehancer(Qt):Qt},st.set=function(Qt){var qn=this.value_;if(Qt=this.prepareNewValue_(Qt),Qt!==ct.UNCHANGED){var Tr=ke();this.setNewValue_(Qt)}},st.prepareNewValue_=function(Qt){if(wr(this),Li(this)){var qn=Ca(this,{object:this,type:ut,newValue:Qt});if(!qn)return ct.UNCHANGED;Qt=qn.newValue}return Qt=this.enhancer(Qt,this.value_,this.name_),this.equals(this.value_,Qt)?ct.UNCHANGED:Qt},st.setNewValue_=function(Qt){var qn=this.value_;this.value_=Qt,this.reportChanged(),ra(this)&&qa(this,{type:ut,object:this,newValue:Qt,oldValue:qn})},st.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},st.intercept_=function(Qt){return vs(this,Qt)},st.observe_=function(Qt,qn){return qn&&Qt({observableKind:\"value\",debugObjectName:this.name_,object:this,type:ut,newValue:this.value_,oldValue:void 0}),Ja(this,Qt)},st.raw=function(){return this.value_},st.toJSON=function(){return this.get()},st.toString=function(){return this.name_+\"[\"+this.value_+\"]\"},st.valueOf=function(){return ye(this.get())},st[nt]=function(){return this.valueOf()},Be}(mt),fn=Te(\"ObservableValue\",Xt),Cn;Cn=Symbol.toPrimitive;var Yn=function(){function le(st){this.dependenciesState_=Ke.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.isBeingObserved_=!1,this.isPendingUnobservation_=!1,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Ke.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new Ut(null),this.name_=void 0,this.triggeredBy_=void 0,this.isComputing_=!1,this.isRunningSetter_=!1,this.derivation=void 0,this.setter_=void 0,this.isTracing_=Mt.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,st.get||N(31),this.derivation=st.get,this.name_=st.name||\"ComputedValue\",st.set&&(this.setter_=Oi(\"ComputedValue-setter\",st.set)),this.equals_=st.equals||(st.compareStructural||st.struct?Kt.structural:Kt.default),this.scope_=st.context,this.requiresReaction_=st.requiresReaction,this.keepAlive_=!!st.keepAlive}var Be=le.prototype;return Be.onBecomeStale_=function(){To(this)},Be.onBO=function(){this.onBOL&&this.onBOL.forEach(function(it){return it()})},Be.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(it){return it()})},Be.get=function(){if(this.isComputing_&&N(32,this.name_,this.derivation),ct.inBatch===0&&this.observers_.size===0&&!this.keepAlive_)Zn(this)&&(this.warnAboutUntrackedRead_(),Pr(),this.value_=this.computeValue_(!1),Xr());else if(oo(this),Zn(this)){var it=ct.trackingContext;this.keepAlive_&&!it&&(ct.trackingContext=this),this.trackAndCompute()&&to(this),ct.trackingContext=it}var Qt=this.value_;if(kn(Qt))throw Qt.cause;return Qt},Be.set=function(it){if(this.setter_){this.isRunningSetter_&&N(33,this.name_),this.isRunningSetter_=!0;try{this.setter_.call(this.scope_,it)}finally{this.isRunningSetter_=!1}}else N(34,this.name_)},Be.trackAndCompute=function(){var it=this.value_,Qt=this.dependenciesState_===Ke.NOT_TRACKING_,qn=this.computeValue_(!0),Tr=Qt||kn(it)||kn(qn)||!this.equals_(it,qn);return Tr&&(this.value_=qn),Tr},Be.computeValue_=function(it){this.isComputing_=!0;var Qt=Re(!1),qn;if(it)qn=go(this,this.derivation,this.scope_);else if(ct.disableErrorBoundaries===!0)qn=this.derivation.call(this.scope_);else try{qn=this.derivation.call(this.scope_)}catch(Tr){qn=new Ut(Tr)}return je(Qt),this.isComputing_=!1,qn},Be.suspend_=function(){this.keepAlive_||(_o(this),this.value_=void 0)},Be.observe_=function(it,Qt){var qn=this,Tr=!0,bo=void 0;return cr(function(){var Ko=qn.get();if(!Tr||Qt){var Mi=ii();it({observableKind:\"computed\",debugObjectName:qn.name_,type:ut,object:qn,newValue:Ko,oldValue:bo}),Lo(Mi)}Tr=!1,bo=Ko})},Be.warnAboutUntrackedRead_=function(){},Be.toString=function(){return this.name_+\"[\"+this.derivation.toString()+\"]\"},Be.valueOf=function(){return ye(this.get())},Be[Cn]=function(){return this.valueOf()},le}(),Ae=Te(\"ComputedValue\",Yn),Ke;(function(le){le[le.NOT_TRACKING_=-1]=\"NOT_TRACKING_\",le[le.UP_TO_DATE_=0]=\"UP_TO_DATE_\",le[le.POSSIBLY_STALE_=1]=\"POSSIBLY_STALE_\",le[le.STALE_=2]=\"STALE_\"})(Ke||(Ke={}));var Mt;(function(le){le[le.NONE=0]=\"NONE\",le[le.LOG=1]=\"LOG\",le[le.BREAK=2]=\"BREAK\"})(Mt||(Mt={}));var Ut=function(Be){this.cause=void 0,this.cause=Be};function kn(le){return le instanceof Ut}function Zn(le){switch(le.dependenciesState_){case Ke.UP_TO_DATE_:return!1;case Ke.NOT_TRACKING_:case Ke.STALE_:return!0;case Ke.POSSIBLY_STALE_:{for(var Be=ai(!0),st=ii(),it=le.observing_,Qt=it.length,qn=0;qn<Qt;qn++){var Tr=it[qn];if(Ae(Tr)){if(ct.disableErrorBoundaries)Tr.get();else try{Tr.get()}catch(bo){return Lo(st),Si(Be),!0}if(le.dependenciesState_===Ke.STALE_)return Lo(st),Si(Be),!0}}return Ui(le),Lo(st),Si(Be),!1}}}function lr(){return ct.trackingDerivation!==null}function wr(le){return;var Be}function Dr(le){}function go(le,Be,st){var it=ai(!0);Ui(le),le.newObserving_=new Array(le.observing_.length+100),le.unboundDepsCount_=0,le.runId_=++ct.runId;var Qt=ct.trackingDerivation;ct.trackingDerivation=le,ct.inBatch++;var qn;if(ct.disableErrorBoundaries===!0)qn=Be.call(st);else try{qn=Be.call(st)}catch(Tr){qn=new Ut(Tr)}return ct.inBatch--,ct.trackingDerivation=Qt,Jr(le),Si(it),qn}function Ir(le){}function Jr(le){for(var Be=le.observing_,st=le.observing_=le.newObserving_,it=Ke.UP_TO_DATE_,Qt=0,qn=le.unboundDepsCount_,Tr=0;Tr<qn;Tr++){var bo=st[Tr];bo.diffValue_===0&&(bo.diffValue_=1,Qt!==Tr&&(st[Qt]=bo),Qt++),bo.dependenciesState_>it&&(it=bo.dependenciesState_)}for(st.length=Qt,le.newObserving_=null,qn=Be.length;qn--;){var Ko=Be[qn];Ko.diffValue_===0&&Ar(Ko,le),Ko.diffValue_=0}for(;Qt--;){var Mi=st[Qt];Mi.diffValue_===1&&(Mi.diffValue_=0,dr(Mi,le))}it!==Ke.UP_TO_DATE_&&(le.dependenciesState_=it,le.onBecomeStale_())}function _o(le){var Be=le.observing_;le.observing_=[];for(var st=Be.length;st--;)Ar(Be[st],le);le.dependenciesState_=Ke.NOT_TRACKING_}function No(le){var Be=ii();try{return le()}finally{Lo(Be)}}function ii(){var le=ct.trackingDerivation;return ct.trackingDerivation=null,le}function Lo(le){ct.trackingDerivation=le}function ai(le){var Be=ct.allowStateReads;return ct.allowStateReads=le,Be}function Si(le){ct.allowStateReads=le}function Ui(le){if(le.dependenciesState_!==Ke.UP_TO_DATE_){le.dependenciesState_=Ke.UP_TO_DATE_;for(var Be=le.observing_,st=Be.length;st--;)Be[st].lowestObserverState_=Ke.UP_TO_DATE_}}var ln=[\"mobxGuid\",\"spyListeners\",\"enforceActions\",\"computedRequiresReaction\",\"reactionRequiresObservable\",\"observableRequiresReaction\",\"allowStateReads\",\"disableErrorBoundaries\",\"runId\",\"UNCHANGED\",\"useProxies\"],mn=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},fr=!0,ft=!1,ct=function(){var le=w();return le.__mobxInstanceCount>0&&!le.__mobxGlobals&&(fr=!1),le.__mobxGlobals&&le.__mobxGlobals.version!==new mn().version&&(fr=!1),fr?le.__mobxGlobals?(le.__mobxInstanceCount+=1,le.__mobxGlobals.UNCHANGED||(le.__mobxGlobals.UNCHANGED={}),le.__mobxGlobals):(le.__mobxInstanceCount=1,le.__mobxGlobals=new mn):(setTimeout(function(){ft||N(35)},1),new mn)}();function tn(){if((ct.pendingReactions.length||ct.inBatch||ct.isRunningReactions)&&N(36),ft=!0,fr){var le=w();--le.__mobxInstanceCount===0&&(le.__mobxGlobals=void 0),ct=new mn}}function An(){return ct}function Rt(){var le=new mn;for(var Be in le)ln.indexOf(Be)===-1&&(ct[Be]=le[Be]);ct.allowStateChanges=!ct.enforceActions}function un(le){return le.observers_&&le.observers_.size>0}function Dn(le){return le.observers_}function dr(le,Be){le.observers_.add(Be),le.lowestObserverState_>Be.dependenciesState_&&(le.lowestObserverState_=Be.dependenciesState_)}function Ar(le,Be){le.observers_.delete(Be),le.observers_.size===0&&Gr(le)}function Gr(le){le.isPendingUnobservation_===!1&&(le.isPendingUnobservation_=!0,ct.pendingUnobservations.push(le))}function Pr(){ct.inBatch++}function Xr(){if(--ct.inBatch===0){F();for(var le=ct.pendingUnobservations,Be=0;Be<le.length;Be++){var st=le[Be];st.isPendingUnobservation_=!1,st.observers_.size===0&&(st.isBeingObserved_&&(st.isBeingObserved_=!1,st.onBUO()),st instanceof Yn&&st.suspend_())}ct.pendingUnobservations=[]}}function oo(le){var Be=ct.trackingDerivation;return Be!==null?(Be.runId_!==le.lastAccessedBy_&&(le.lastAccessedBy_=Be.runId_,Be.newObserving_[Be.unboundDepsCount_++]=le,!le.isBeingObserved_&&ct.trackingContext&&(le.isBeingObserved_=!0,le.onBO())),le.isBeingObserved_):(le.observers_.size===0&&ct.inBatch>0&&Gr(le),!1)}function io(le){le.lowestObserverState_!==Ke.STALE_&&(le.lowestObserverState_=Ke.STALE_,le.observers_.forEach(function(Be){Be.dependenciesState_===Ke.UP_TO_DATE_&&Be.onBecomeStale_(),Be.dependenciesState_=Ke.STALE_}))}function to(le){le.lowestObserverState_!==Ke.STALE_&&(le.lowestObserverState_=Ke.STALE_,le.observers_.forEach(function(Be){Be.dependenciesState_===Ke.POSSIBLY_STALE_?Be.dependenciesState_=Ke.STALE_:Be.dependenciesState_===Ke.UP_TO_DATE_&&(le.lowestObserverState_=Ke.UP_TO_DATE_)}))}function To(le){le.lowestObserverState_===Ke.UP_TO_DATE_&&(le.lowestObserverState_=Ke.POSSIBLY_STALE_,le.observers_.forEach(function(Be){Be.dependenciesState_===Ke.UP_TO_DATE_&&(Be.dependenciesState_=Ke.POSSIBLY_STALE_,Be.onBecomeStale_())}))}function jn(le,Be){if(console.log(\"[mobx.trace] '\"+le.name_+\"' is invalidated due to a change in: '\"+Be.name_+\"'\"),le.isTracing_===Mt.BREAK){var st=[];W(qi(le),st,1),new Function(`debugger;\n/*\nTracing '`+le.name_+`'\n\nYou are entering this break point because derivation '`+le.name_+\"' is being traced and '\"+Be.name_+`' is now forcing it to update.\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\n\n`+(le instanceof Yn?le.derivation.toString().replace(/[*]\\//g,\"/\"):\"\")+`\n\nThe dependencies for this derivation are:\n\n`+st.join(`\n`)+`\n*/\n    `)()}}function W(le,Be,st){if(Be.length>=1e3){Be.push(\"(and many more)\");return}Be.push(\"\"+\"\t\".repeat(st-1)+le.name),le.dependencies&&le.dependencies.forEach(function(it){return W(it,Be,st+1)})}var P=function(){function le(st,it,Qt,qn){st===void 0&&(st=\"Reaction\"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=Ke.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=Mt.NONE,this.name_=st,this.onInvalidate_=it,this.errorHandler_=Qt,this.requiresObservable_=qn}var Be=le.prototype;return Be.onBecomeStale_=function(){this.schedule_()},Be.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,ct.pendingReactions.push(this),F())},Be.isScheduled=function(){return this.isScheduled_},Be.runReaction_=function(){if(!this.isDisposed_){Pr(),this.isScheduled_=!1;var it=ct.trackingContext;if(ct.trackingContext=this,Zn(this)){this.isTrackPending_=!0;try{this.onInvalidate_()}catch(Qt){this.reportExceptionInDerivation_(Qt)}}ct.trackingContext=it,Xr()}},Be.track=function(it){if(!this.isDisposed_){Pr();var Qt=ke(),qn;this.isRunning_=!0;var Tr=ct.trackingContext;ct.trackingContext=this;var bo=go(this,it,void 0);ct.trackingContext=Tr,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&_o(this),kn(bo)&&this.reportExceptionInDerivation_(bo.cause),Xr()}},Be.reportExceptionInDerivation_=function(it){var Qt=this;if(this.errorHandler_){this.errorHandler_(it,this);return}if(ct.disableErrorBoundaries)throw it;var qn=\"[mobx] uncaught error in '\"+this+\"'\";ct.suppressReactionErrors||console.error(qn,it),ct.globalReactionErrorHandlers.forEach(function(Tr){return Tr(it,Qt)})},Be.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(Pr(),_o(this),Xr()))},Be.getDisposer_=function(){var it=this.dispose.bind(this);return it[Fe]=this,it},Be.toString=function(){return\"Reaction[\"+this.name_+\"]\"},Be.trace=function(it){it===void 0&&(it=!1),As(this,it)},le}();function k(le){return ct.globalReactionErrorHandlers.push(le),function(){var Be=ct.globalReactionErrorHandlers.indexOf(le);Be>=0&&ct.globalReactionErrorHandlers.splice(Be,1)}}var z=100,Q=function(Be){return Be()};function F(){ct.inBatch>0||ct.isRunningReactions||Q(V)}function V(){ct.isRunningReactions=!0;for(var le=ct.pendingReactions,Be=0;le.length>0;){++Be===z&&(console.error(\"[mobx] cycle in reaction: \"+le[0]),le.splice(0));for(var st=le.splice(0),it=0,Qt=st.length;it<Qt;it++)st[it].runReaction_()}ct.isRunningReactions=!1}var U=Te(\"Reaction\",P);function ge(le){var Be=Q;Q=function(it){return le(function(){return Be(it)})}}function ke(){return!1}function St(le){return;for(var Be,st,it;st<it;st++)Be[st](le)}function Je(le){return;var Be}var Ot={type:\"report-end\",spyReportEnd:!0};function It(le){}function jt(le){return console.warn(\"[mobx.spy] Is a no-op in production builds\"),function(){}}var Vt=\"action\",Pn=\"action.bound\",Jn=\"autoAction\",vn=\"autoAction.bound\",Vn=\"<unnamed action>\",zt=Mn(Vt),ir=Mn(Pn,{bound:!0}),nr=Mn(Jn,{autoAction:!0}),ur=Mn(vn,{autoAction:!0,bound:!0});function sr(le){var Be=function(it,Qt){if(j(it))return Oi(it.name||Vn,it,le);if(j(Qt))return Oi(it,Qt,le);if(L(Qt))return Ve(it,Qt,le?nr:zt);if(L(it))return Ze(Mn(le?Jn:Vt,{name:it,autoAction:le}))};return Be}var Ln=sr(!1);Object.assign(Ln,zt);var Bt=sr(!0);Object.assign(Bt,nr),Ln.bound=Ze(ir),Bt.bound=Ze(ur);function En(le){return Ki(le.name||Vn,!1,le,this,void 0)}function _n(le){return j(le)&&le.isMobxAction===!0}function cr(le,Be){var st,it;Be===void 0&&(Be=f);var Qt=(st=(it=Be)==null?void 0:it.name)!=null?st:\"Autorun\",qn=!Be.scheduler&&!Be.delay,Tr;if(qn)Tr=new P(Qt,function(){this.track(Mi)},Be.onError,Be.requiresObservable);else{var bo=kr(Be),Ko=!1;Tr=new P(Qt,function(){Ko||(Ko=!0,bo(function(){Ko=!1,Tr.isDisposed_||Tr.track(Mi)}))},Be.onError,Be.requiresObservable)}function Mi(){le(Tr)}return Tr.schedule_(),Tr.getDisposer_()}var ao=function(Be){return Be()};function kr(le){return le.scheduler?le.scheduler:le.delay?function(Be){return setTimeout(Be,le.delay)}:ao}function jo(le,Be,st){var it;st===void 0&&(st=f);var Qt=(it=st.name)!=null?it:\"Reaction\",qn=Ln(Qt,st.onError?ui(st.onError,Be):Be),Tr=!st.scheduler&&!st.delay,bo=kr(st),Ko=!0,Mi=!1,Hi,ja,ms=st.compareStructural?Kt.structural:st.equals||Kt.default,Ps=new P(Qt,function(){Ko||Tr?fu():Mi||(Mi=!0,bo(fu))},st.onError,st.requiresObservable);function fu(){if(Mi=!1,!Ps.isDisposed_){var qs=!1;Ps.track(function(){var Ya=br(!1,function(){return le(Ps)});qs=Ko||!ms(Hi,Ya),ja=Hi,Hi=Ya}),(Ko&&st.fireImmediately||!Ko&&qs)&&qn(Hi,ja,Ps),Ko=!1}}return Ps.schedule_(),Ps.getDisposer_()}function ui(le,Be){return function(){try{return Be.apply(this,arguments)}catch(st){le.call(this,st)}}}var Vr=\"onBO\",ho=\"onBUO\";function vo(le,Be,st){return Go(Vr,le,Be,st)}function uo(le,Be,st){return Go(ho,le,Be,st)}function Go(le,Be,st,it){var Qt=typeof it==\"function\"?Ns(Be,st):Ns(Be),qn=j(it)?it:st,Tr=le+\"L\";return Qt[Tr]?Qt[Tr].add(qn):Qt[Tr]=new Set([qn]),function(){var bo=Qt[Tr];bo&&(bo.delete(qn),bo.size===0&&delete Qt[Tr])}}var Pi=\"never\",la=\"always\",Vi=\"observed\";function ha(le){le.isolateGlobalState===!0&&tn();var Be=le.useProxies,st=le.enforceActions;if(Be!==void 0&&(ct.useProxies=Be===la?!0:Be===Pi?!1:typeof Proxy!=\"undefined\"),Be===\"ifavailable\"&&(ct.verifyProxies=!0),st!==void 0){var it=st===la?la:st===Vi;ct.enforceActions=it,ct.allowStateChanges=!(it===!0||it===la)}[\"computedRequiresReaction\",\"reactionRequiresObservable\",\"observableRequiresReaction\",\"disableErrorBoundaries\",\"safeDescriptors\"].forEach(function(Qt){Qt in le&&(ct[Qt]=!!le[Qt])}),ct.allowStateReads=!ct.observableRequiresReaction,le.reactionScheduler&&ge(le.reactionScheduler)}function xa(le,Be,st,it){var Qt=Ce(Be),qn=Cs(le,it)[Fe];Pr();try{De(Qt).forEach(function(Tr){qn.extend_(Tr,Qt[Tr],st&&Tr in st?st[Tr]:!0)})}finally{Xr()}return le}function qi(le,Be){return Jo(Ns(le,Be))}function Jo(le){var Be={name:le.name_};return le.observing_&&le.observing_.length>0&&(Be.dependencies=Ii(le.observing_).map(Jo)),Be}function Ji(le,Be){return Yi(Ns(le,Be))}function Yi(le){var Be={name:le.name_};return un(le)&&(Be.observers=Array.from(Dn(le)).map(Yi)),Be}function Ii(le){return Array.from(new Set(le))}var pa=0;function na(){this.message=\"FLOW_CANCELLED\"}na.prototype=Object.create(Error.prototype);function $i(le){return le instanceof na}var La=Wr(\"flow\"),ss=Wr(\"flow.bound\",{bound:!0}),Oa=Object.assign(function(Be,st){if(L(st))return Ve(Be,st,La);var it=Be,Qt=it.name||\"<unnamed flow>\",qn=function(){var bo=this,Ko=arguments,Mi=++pa,Hi=Ln(Qt+\" - runid: \"+Mi+\" - init\",it).apply(bo,Ko),ja,ms=void 0,Ps=new Promise(function(fu,qs){var Ya=0;ja=qs;function Nu(Zs){ms=void 0;var cs;try{cs=Ln(Qt+\" - runid: \"+Mi+\" - yield \"+Ya++,Hi.next).call(Hi,Zs)}catch(Xs){return qs(Xs)}mu(cs)}function ru(Zs){ms=void 0;var cs;try{cs=Ln(Qt+\" - runid: \"+Mi+\" - yield \"+Ya++,Hi.throw).call(Hi,Zs)}catch(Xs){return qs(Xs)}mu(cs)}function mu(Zs){if(j(Zs==null?void 0:Zs.then)){Zs.then(mu,qs);return}return Zs.done?fu(Zs.value):(ms=Promise.resolve(Zs.value),ms.then(Nu,ru))}Nu(void 0)});return Ps.cancel=Ln(Qt+\" - runid: \"+Mi+\" - cancel\",function(){try{ms&&Ma(ms);var fu=Hi.return(void 0),qs=Promise.resolve(fu.value);qs.then(E,E),Ma(qs),ja(new na)}catch(Ya){ja(Ya)}}),Ps};return qn.isMobXFlow=!0,qn},La);Oa.bound=Ze(ss);function Ma(le){j(le.cancel)&&le.cancel()}function Ka(le){return le}function Ba(le){return(le==null?void 0:le.isMobXFlow)===!0}function Ua(le,Be,st){var it;return Yo(le)||mo(le)||fn(le)?it=Au(le):ds(le)&&(it=Au(le,Be)),it.dehancer=typeof Be==\"function\"?Be:st,function(){it.dehancer=void 0}}function Va(le,Be,st){return j(st)?Qo(le,Be,st):Ls(le,Be)}function Ls(le,Be){return Au(le).intercept_(Be)}function Qo(le,Be,st){return Au(le,Be).intercept_(st)}function ws(le,Be){if(Be===void 0)return Ae(le);if(ds(le)===!1||!le[Fe].values_.has(Be))return!1;var st=Ns(le,Be);return Ae(st)}function Za(le){return ws(le)}function rr(le,Be){return ws(le,Be)}function Eo(le,Be){return le?Be!==void 0?ds(le)?le[Fe].values_.has(Be):!1:ds(le)||!!le[Fe]||dt(le)||U(le)||Ae(le):!1}function Br(le){return Eo(le)}function Ao(le,Be){return Eo(le,Be)}function Di(le){if(ds(le))return le[Fe].keys_();if(Yo(le)||Sa(le))return Array.from(le.keys());if(mo(le))return le.map(function(Be,st){return st});N(5)}function Aa(le){if(ds(le))return Di(le).map(function(Be){return le[Be]});if(Yo(le))return Di(le).map(function(Be){return le.get(Be)});if(Sa(le))return Array.from(le.values());if(mo(le))return le.slice();N(6)}function Na(le){if(ds(le))return Di(le).map(function(Be){return[Be,le[Be]]});if(Yo(le))return Di(le).map(function(Be){return[Be,le.get(Be)]});if(Sa(le))return Array.from(le.entries());if(mo(le))return le.map(function(Be,st){return[st,Be]});N(7)}function Fa(le,Be,st){if(arguments.length===2&&!Sa(le)){Pr();var it=Be;try{for(var Qt in it)Fa(le,Qt,it[Qt])}finally{Xr()}return}ds(le)?le[Fe].set_(Be,st):Yo(le)?le.set(Be,st):Sa(le)?le.add(Be):mo(le)?(typeof Be!=\"number\"&&(Be=parseInt(Be,10)),Be<0&&N(\"Invalid index: '\"+Be+\"'\"),Pr(),Be>=le.length&&(le.length=Be+1),le[Be]=st,Xr()):N(8)}function Bs(le,Be){ds(le)?le[Fe].delete_(Be):Yo(le)||Sa(le)?le.delete(Be):mo(le)?(typeof Be!=\"number\"&&(Be=parseInt(Be,10)),le.splice(Be,1)):N(9)}function Ms(le,Be){if(ds(le))return le[Fe].has_(Be);if(Yo(le))return le.has(Be);if(Sa(le))return le.has(Be);if(mo(le))return Be>=0&&Be<le.length;N(10)}function Qa(le,Be){if(Ms(le,Be)){if(ds(le))return le[Fe].get_(Be);if(Yo(le))return le.get(Be);if(mo(le))return le[Be];N(11)}}function us(le,Be,st){if(ds(le))return le[Fe].defineProperty_(Be,st);N(39)}function Fs(le){if(ds(le))return le[Fe].ownKeys_();N(38)}function $a(le,Be,st,it){return j(st)?ys(le,Be,st,it):Hs(le,Be,st)}function Hs(le,Be,st){return Au(le).observe_(Be,st)}function ys(le,Be,st,it){return Au(le,Be).observe_(st,it)}function sa(le,Be,st){return le.set(Be,st),st}function Xa(le,Be){if(le==null||typeof le!=\"object\"||le instanceof Date||!Br(le))return le;if(fn(le)||Ae(le))return Xa(le.get(),Be);if(Be.has(le))return Be.get(le);if(mo(le)){var st=sa(Be,le,new Array(le.length));return le.forEach(function(Tr,bo){st[bo]=Xa(Tr,Be)}),st}if(Sa(le)){var it=sa(Be,le,new Set);return le.forEach(function(Tr){it.add(Xa(Tr,Be))}),it}if(Yo(le)){var Qt=sa(Be,le,new Map);return le.forEach(function(Tr,bo){Qt.set(bo,Xa(Tr,Be))}),Qt}else{var qn=sa(Be,le,{});return Fs(le).forEach(function(Tr){u.propertyIsEnumerable.call(le,Tr)&&(qn[Tr]=Xa(le[Tr],Be))}),qn}}function os(le,Be){return Xa(le,new Map)}function As(){N(\"trace() is not available in production builds\");for(var le=!1,Be=arguments.length,st=new Array(Be),it=0;it<Be;it++)st[it]=arguments[it];typeof st[st.length-1]==\"boolean\"&&(le=st.pop());var Qt=oa(st);if(!Qt)return N(\"'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly\");Qt.isTracing_===Mt.NONE&&console.log(\"[mobx.trace] '\"+Qt.name_+\"' tracing enabled\"),Qt.isTracing_=le?Mt.BREAK:Mt.LOG}function oa(le){switch(le.length){case 0:return ct.trackingDerivation;case 1:return Ns(le[0]);case 2:return Ns(le[0],le[1])}}function di(le,Be){Be===void 0&&(Be=void 0),Pr();try{return le.apply(Be)}finally{Xr()}}function ia(le,Be,st){return arguments.length===1||Be&&typeof Be==\"object\"?gi(le,Be):_i(le,Be,st||{})}function _i(le,Be,st){var it;if(typeof st.timeout==\"number\"){var Qt=new Error(\"WHEN_TIMEOUT\");it=setTimeout(function(){if(!Tr[Fe].isDisposed_)if(Tr(),st.onError)st.onError(Qt);else throw Qt},st.timeout)}st.name=\"When\";var qn=Oi(\"When-effect\",Be),Tr=cr(function(bo){var Ko=br(!1,le);Ko&&(bo.dispose(),it&&clearTimeout(it),qn())},st);return Tr}function gi(le,Be){var st;if(Be!=null&&(st=Be.signal)!=null&&st.aborted)return Object.assign(Promise.reject(new Error(\"WHEN_ABORTED\")),{cancel:function(){return null}});var it,Qt,qn=new Promise(function(Tr,bo){var Ko,Mi=_i(le,Tr,ie({},Be,{onError:bo}));it=function(){Mi(),bo(new Error(\"WHEN_CANCELLED\"))},Qt=function(){Mi(),bo(new Error(\"WHEN_ABORTED\"))},Be==null||(Ko=Be.signal)==null||Ko.addEventListener==null||Ko.addEventListener(\"abort\",Qt)}).finally(function(){var Tr;return Be==null||(Tr=Be.signal)==null||Tr.removeEventListener==null?void 0:Tr.removeEventListener(\"abort\",Qt)});return qn.cancel=it,qn}function fa(le){return le[Fe]}var Pa={has:function(Be,st){return fa(Be).has_(st)},get:function(Be,st){return fa(Be).get_(st)},set:function(Be,st,it){var Qt;return L(st)?(Qt=fa(Be).set_(st,it,!0))!=null?Qt:!0:!1},deleteProperty:function(Be,st){var it;return L(st)?(it=fa(Be).delete_(st,!0))!=null?it:!0:!1},defineProperty:function(Be,st,it){var Qt;return(Qt=fa(Be).defineProperty_(st,it))!=null?Qt:!0},ownKeys:function(Be){return fa(Be).ownKeys_()},preventExtensions:function(Be){N(13)}};function xs(le,Be){var st,it;return s(),le=Cs(le,Be),(it=(st=le[Fe]).proxy_)!=null?it:st.proxy_=new Proxy(le,Pa)}function Li(le){return le.interceptors_!==void 0&&le.interceptors_.length>0}function vs(le,Be){var st=le.interceptors_||(le.interceptors_=[]);return st.push(Be),M(function(){var it=st.indexOf(Be);it!==-1&&st.splice(it,1)})}function Ca(le,Be){var st=ii();try{for(var it=[].concat(le.interceptors_||[]),Qt=0,qn=it.length;Qt<qn&&(Be=it[Qt](Be),Be&&!Be.type&&N(14),!!Be);Qt++);return Be}finally{Lo(st)}}function ra(le){return le.changeListeners_!==void 0&&le.changeListeners_.length>0}function Ja(le,Be){var st=le.changeListeners_||(le.changeListeners_=[]);return st.push(Be),M(function(){var it=st.indexOf(Be);it!==-1&&st.splice(it,1)})}function qa(le,Be){var st=ii(),it=le.changeListeners_;if(it){it=it.slice();for(var Qt=0,qn=it.length;Qt<qn;Qt++)it[Qt](Be);Lo(st)}}function Ts(le,Be,st){var it=Cs(le,st)[Fe];Pr();try{var Qt;(Qt=Be)!=null||(Be=ht(le)),De(Be).forEach(function(qn){return it.make_(qn,Be[qn])})}finally{Xr()}return le}var v=Symbol(\"mobx-keys\");function G(le,Be,st){if(J(le))return xa(le,le,Be,st);var it=Cs(le,st)[Fe];if(!le[v]){var Qt=Object.getPrototypeOf(le),qn=new Set([].concat(De(le),De(Qt)));qn.delete(\"constructor\"),qn.delete(Fe),re(Qt,v,qn)}Pr();try{le[v].forEach(function(Tr){return it.make_(Tr,Be&&Tr in Be?Be[Tr]:!0)})}finally{Xr()}return le}var ze=\"splice\",ut=\"update\",_t=1e4,Ht={get:function(Be,st){var it=Be[Fe];return st===Fe?it:st===\"length\"?it.getArrayLength_():typeof st==\"string\"&&!isNaN(st)?it.get_(parseInt(st)):Oe(On,st)?On[st]:Be[st]},set:function(Be,st,it){var Qt=Be[Fe];return st===\"length\"&&Qt.setArrayLength_(it),typeof st==\"symbol\"||isNaN(st)?Be[st]=it:Qt.set_(parseInt(st),it),!0},preventExtensions:function(){N(15)}},$t=function(){function le(st,it,Qt,qn){st===void 0&&(st=\"ObservableArray\"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=Qt,this.legacyMode_=qn,this.atom_=new mt(st),this.enhancer_=function(Tr,bo){return it(Tr,bo,\"ObservableArray[..]\")}}var Be=le.prototype;return Be.dehanceValue_=function(it){return this.dehancer!==void 0?this.dehancer(it):it},Be.dehanceValues_=function(it){return this.dehancer!==void 0&&it.length>0?it.map(this.dehancer):it},Be.intercept_=function(it){return vs(this,it)},Be.observe_=function(it,Qt){return Qt===void 0&&(Qt=!1),Qt&&it({observableKind:\"array\",object:this.proxy_,debugObjectName:this.atom_.name_,type:\"splice\",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),Ja(this,it)},Be.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},Be.setArrayLength_=function(it){(typeof it!=\"number\"||isNaN(it)||it<0)&&N(\"Out of range: \"+it);var Qt=this.values_.length;if(it!==Qt)if(it>Qt){for(var qn=new Array(it-Qt),Tr=0;Tr<it-Qt;Tr++)qn[Tr]=void 0;this.spliceWithArray_(Qt,0,qn)}else this.spliceWithArray_(it,Qt-it)},Be.updateArrayLength_=function(it,Qt){it!==this.lastKnownLength_&&N(16),this.lastKnownLength_+=Qt,this.legacyMode_&&Qt>0&&rc(it+Qt+1)},Be.spliceWithArray_=function(it,Qt,qn){var Tr=this;wr(this.atom_);var bo=this.values_.length;if(it===void 0?it=0:it>bo?it=bo:it<0&&(it=Math.max(0,bo+it)),arguments.length===1?Qt=bo-it:Qt==null?Qt=0:Qt=Math.max(0,Math.min(Qt,bo-it)),qn===void 0&&(qn=a),Li(this)){var Ko=Ca(this,{object:this.proxy_,type:ze,index:it,removedCount:Qt,added:qn});if(!Ko)return a;Qt=Ko.removedCount,qn=Ko.added}if(qn=qn.length===0?qn:qn.map(function(ja){return Tr.enhancer_(ja,void 0)}),this.legacyMode_){var Mi=qn.length-Qt;this.updateArrayLength_(bo,Mi)}var Hi=this.spliceItemsIntoValues_(it,Qt,qn);return(Qt!==0||qn.length!==0)&&this.notifyArraySplice_(it,qn,Hi),this.dehanceValues_(Hi)},Be.spliceItemsIntoValues_=function(it,Qt,qn){if(qn.length<_t){var Tr;return(Tr=this.values_).splice.apply(Tr,[it,Qt].concat(qn))}else{var bo=this.values_.slice(it,it+Qt),Ko=this.values_.slice(it+Qt);this.values_.length+=qn.length-Qt;for(var Mi=0;Mi<qn.length;Mi++)this.values_[it+Mi]=qn[Mi];for(var Hi=0;Hi<Ko.length;Hi++)this.values_[it+qn.length+Hi]=Ko[Hi];return bo}},Be.notifyArrayChildUpdate_=function(it,Qt,qn){var Tr=!this.owned_&&ke(),bo=ra(this),Ko=bo||Tr?{observableKind:\"array\",object:this.proxy_,type:ut,debugObjectName:this.atom_.name_,index:it,newValue:Qt,oldValue:qn}:null;this.atom_.reportChanged(),bo&&qa(this,Ko)},Be.notifyArraySplice_=function(it,Qt,qn){var Tr=!this.owned_&&ke(),bo=ra(this),Ko=bo||Tr?{observableKind:\"array\",object:this.proxy_,debugObjectName:this.atom_.name_,type:ze,index:it,removed:qn,added:Qt,removedCount:qn.length,addedCount:Qt.length}:null;this.atom_.reportChanged(),bo&&qa(this,Ko)},Be.get_=function(it){if(this.legacyMode_&&it>=this.values_.length){console.warn(\"[mobx] Out of bounds read: \"+it);return}return this.atom_.reportObserved(),this.dehanceValue_(this.values_[it])},Be.set_=function(it,Qt){var qn=this.values_;if(this.legacyMode_&&it>qn.length&&N(17,it,qn.length),it<qn.length){wr(this.atom_);var Tr=qn[it];if(Li(this)){var bo=Ca(this,{type:ut,object:this.proxy_,index:it,newValue:Qt});if(!bo)return;Qt=bo.newValue}Qt=this.enhancer_(Qt,Tr);var Ko=Qt!==Tr;Ko&&(qn[it]=Qt,this.notifyArrayChildUpdate_(it,Qt,Tr))}else{for(var Mi=new Array(it+1-qn.length),Hi=0;Hi<Mi.length-1;Hi++)Mi[Hi]=void 0;Mi[Mi.length-1]=Qt,this.spliceWithArray_(qn.length,0,Mi)}},le}();function wn(le,Be,st,it){st===void 0&&(st=\"ObservableArray\"),it===void 0&&(it=!1),s();var Qt=new $t(st,Be,it,!1);me(Qt.values_,Fe,Qt);var qn=new Proxy(Qt.values_,Ht);if(Qt.proxy_=qn,le&&le.length){var Tr=Re(!0);Qt.spliceWithArray_(0,0,le),je(Tr)}return qn}var On={clear:function(){return this.splice(0)},replace:function(Be){var st=this[Fe];return st.spliceWithArray_(0,st.values_.length,Be)},toJSON:function(){return this.slice()},splice:function(Be,st){for(var it=arguments.length,Qt=new Array(it>2?it-2:0),qn=2;qn<it;qn++)Qt[qn-2]=arguments[qn];var Tr=this[Fe];switch(arguments.length){case 0:return[];case 1:return Tr.spliceWithArray_(Be);case 2:return Tr.spliceWithArray_(Be,st)}return Tr.spliceWithArray_(Be,st,Qt)},spliceWithArray:function(Be,st,it){return this[Fe].spliceWithArray_(Be,st,it)},push:function(){for(var Be=this[Fe],st=arguments.length,it=new Array(st),Qt=0;Qt<st;Qt++)it[Qt]=arguments[Qt];return Be.spliceWithArray_(Be.values_.length,0,it),Be.values_.length},pop:function(){return this.splice(Math.max(this[Fe].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var Be=this[Fe],st=arguments.length,it=new Array(st),Qt=0;Qt<st;Qt++)it[Qt]=arguments[Qt];return Be.spliceWithArray_(0,0,it),Be.values_.length},reverse:function(){return ct.trackingDerivation&&N(37,\"reverse\"),this.replace(this.slice().reverse()),this},sort:function(){ct.trackingDerivation&&N(37,\"sort\");var Be=this.slice();return Be.sort.apply(Be,arguments),this.replace(Be),this},remove:function(Be){var st=this[Fe],it=st.dehanceValues_(st.values_).indexOf(Be);return it>-1?(this.splice(it,1),!0):!1}};$n(\"concat\",gr),$n(\"flat\",gr),$n(\"includes\",gr),$n(\"indexOf\",gr),$n(\"join\",gr),$n(\"lastIndexOf\",gr),$n(\"slice\",gr),$n(\"toString\",gr),$n(\"toLocaleString\",gr),$n(\"every\",Fr),$n(\"filter\",Fr),$n(\"find\",Fr),$n(\"findIndex\",Fr),$n(\"flatMap\",Fr),$n(\"forEach\",Fr),$n(\"map\",Fr),$n(\"some\",Fr),$n(\"reduce\",Qr),$n(\"reduceRight\",Qr);function $n(le,Be){typeof Array.prototype[le]==\"function\"&&(On[le]=Be(le))}function gr(le){return function(){var Be=this[Fe];Be.atom_.reportObserved();var st=Be.dehanceValues_(Be.values_);return st[le].apply(st,arguments)}}function Fr(le){return function(Be,st){var it=this,Qt=this[Fe];Qt.atom_.reportObserved();var qn=Qt.dehanceValues_(Qt.values_);return qn[le](function(Tr,bo){return Be.call(st,Tr,bo,it)})}}function Qr(le){return function(){var Be=this,st=this[Fe];st.atom_.reportObserved();var it=st.dehanceValues_(st.values_),Qt=arguments[0];return arguments[0]=function(qn,Tr,bo){return Qt(qn,Tr,bo,Be)},it[le].apply(it,arguments)}}var qr=Te(\"ObservableArrayAdministration\",$t);function mo(le){return A(le)&&qr(le[Fe])}var Ho,fo,ei={},ea=\"add\",Xi=\"delete\";Ho=Symbol.iterator,fo=Symbol.toStringTag;var hi=function(){function le(st,it,Qt){var qn=this;it===void 0&&(it=an),Qt===void 0&&(Qt=\"ObservableMap\"),this.enhancer_=void 0,this.name_=void 0,this[Fe]=ei,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=it,this.name_=Qt,j(Map)||N(18),this.keysAtom_=Lt(\"ObservableMap.keys()\"),this.data_=new Map,this.hasMap_=new Map,br(!0,function(){qn.merge(st)})}var Be=le.prototype;return Be.has_=function(it){return this.data_.has(it)},Be.has=function(it){var Qt=this;if(!ct.trackingDerivation)return this.has_(it);var qn=this.hasMap_.get(it);if(!qn){var Tr=qn=new Xt(this.has_(it),Ft,\"ObservableMap.key?\",!1);this.hasMap_.set(it,Tr),uo(Tr,function(){return Qt.hasMap_.delete(it)})}return qn.get()},Be.set=function(it,Qt){var qn=this.has_(it);if(Li(this)){var Tr=Ca(this,{type:qn?ut:ea,object:this,newValue:Qt,name:it});if(!Tr)return this;Qt=Tr.newValue}return qn?this.updateValue_(it,Qt):this.addValue_(it,Qt),this},Be.delete=function(it){var Qt=this;if(wr(this.keysAtom_),Li(this)){var qn=Ca(this,{type:Xi,object:this,name:it});if(!qn)return!1}if(this.has_(it)){var Tr=ke(),bo=ra(this),Ko=bo||Tr?{observableKind:\"map\",debugObjectName:this.name_,type:Xi,object:this,oldValue:this.data_.get(it).value_,name:it}:null;return di(function(){var Mi;Qt.keysAtom_.reportChanged(),(Mi=Qt.hasMap_.get(it))==null||Mi.setNewValue_(!1);var Hi=Qt.data_.get(it);Hi.setNewValue_(void 0),Qt.data_.delete(it)}),bo&&qa(this,Ko),!0}return!1},Be.updateValue_=function(it,Qt){var qn=this.data_.get(it);if(Qt=qn.prepareNewValue_(Qt),Qt!==ct.UNCHANGED){var Tr=ke(),bo=ra(this),Ko=bo||Tr?{observableKind:\"map\",debugObjectName:this.name_,type:ut,object:this,oldValue:qn.value_,name:it,newValue:Qt}:null;qn.setNewValue_(Qt),bo&&qa(this,Ko)}},Be.addValue_=function(it,Qt){var qn=this;wr(this.keysAtom_),di(function(){var Mi,Hi=new Xt(Qt,qn.enhancer_,\"ObservableMap.key\",!1);qn.data_.set(it,Hi),Qt=Hi.value_,(Mi=qn.hasMap_.get(it))==null||Mi.setNewValue_(!0),qn.keysAtom_.reportChanged()});var Tr=ke(),bo=ra(this),Ko=bo||Tr?{observableKind:\"map\",debugObjectName:this.name_,type:ea,object:this,name:it,newValue:Qt}:null;bo&&qa(this,Ko)},Be.get=function(it){return this.has(it)?this.dehanceValue_(this.data_.get(it).get()):this.dehanceValue_(void 0)},Be.dehanceValue_=function(it){return this.dehancer!==void 0?this.dehancer(it):it},Be.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},Be.values=function(){var it=this,Qt=this.keys();return Yu({next:function(){var Tr=Qt.next(),bo=Tr.done,Ko=Tr.value;return{done:bo,value:bo?void 0:it.get(Ko)}}})},Be.entries=function(){var it=this,Qt=this.keys();return Yu({next:function(){var Tr=Qt.next(),bo=Tr.done,Ko=Tr.value;return{done:bo,value:bo?void 0:[Ko,it.get(Ko)]}}})},Be[Ho]=function(){return this.entries()},Be.forEach=function(it,Qt){for(var qn=_e(this),Tr;!(Tr=qn()).done;){var bo=Tr.value,Ko=bo[0],Mi=bo[1];it.call(Qt,Mi,Ko,this)}},Be.merge=function(it){var Qt=this;return Yo(it)&&(it=new Map(it)),di(function(){J(it)?Le(it).forEach(function(qn){return Qt.set(qn,it[qn])}):Array.isArray(it)?it.forEach(function(qn){var Tr=qn[0],bo=qn[1];return Qt.set(Tr,bo)}):ee(it)?(it.constructor!==Map&&N(19,it),it.forEach(function(qn,Tr){return Qt.set(Tr,qn)})):it!=null&&N(20,it)}),this},Be.clear=function(){var it=this;di(function(){No(function(){for(var Qt=_e(it.keys()),qn;!(qn=Qt()).done;){var Tr=qn.value;it.delete(Tr)}})})},Be.replace=function(it){var Qt=this;return di(function(){for(var qn=Bi(it),Tr=new Map,bo=!1,Ko=_e(Qt.data_.keys()),Mi;!(Mi=Ko()).done;){var Hi=Mi.value;if(!qn.has(Hi)){var ja=Qt.delete(Hi);if(ja)bo=!0;else{var ms=Qt.data_.get(Hi);Tr.set(Hi,ms)}}}for(var Ps=_e(qn.entries()),fu;!(fu=Ps()).done;){var qs=fu.value,Ya=qs[0],Nu=qs[1],ru=Qt.data_.has(Ya);if(Qt.set(Ya,Nu),Qt.data_.has(Ya)){var mu=Qt.data_.get(Ya);Tr.set(Ya,mu),ru||(bo=!0)}}if(!bo)if(Qt.data_.size!==Tr.size)Qt.keysAtom_.reportChanged();else for(var Zs=Qt.data_.keys(),cs=Tr.keys(),Xs=Zs.next(),yu=cs.next();!Xs.done;){if(Xs.value!==yu.value){Qt.keysAtom_.reportChanged();break}Xs=Zs.next(),yu=cs.next()}Qt.data_=Tr}),this},Be.toString=function(){return\"[object ObservableMap]\"},Be.toJSON=function(){return Array.from(this)},Be.observe_=function(it,Qt){return Ja(this,it)},Be.intercept_=function(it){return vs(this,it)},he(le,[{key:\"size\",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:fo,get:function(){return\"Map\"}}]),le}(),Yo=Te(\"ObservableMap\",hi);function Bi(le){if(ee(le)||Yo(le))return le;if(Array.isArray(le))return new Map(le);if(J(le)){var Be=new Map;for(var st in le)Be.set(st,le[st]);return Be}else return N(21,le)}var _a,wa,Ia={};_a=Symbol.iterator,wa=Symbol.toStringTag;var tr=function(){function le(st,it,Qt){it===void 0&&(it=an),Qt===void 0&&(Qt=\"ObservableSet\"),this.name_=void 0,this[Fe]=Ia,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=Qt,j(Set)||N(22),this.atom_=Lt(this.name_),this.enhancer_=function(qn,Tr){return it(qn,Tr,Qt)},st&&this.replace(st)}var Be=le.prototype;return Be.dehanceValue_=function(it){return this.dehancer!==void 0?this.dehancer(it):it},Be.clear=function(){var it=this;di(function(){No(function(){for(var Qt=_e(it.data_.values()),qn;!(qn=Qt()).done;){var Tr=qn.value;it.delete(Tr)}})})},Be.forEach=function(it,Qt){for(var qn=_e(this),Tr;!(Tr=qn()).done;){var bo=Tr.value;it.call(Qt,bo,bo,this)}},Be.add=function(it){var Qt=this;if(wr(this.atom_),Li(this)){var qn=Ca(this,{type:ea,object:this,newValue:it});if(!qn)return this}if(!this.has(it)){di(function(){Qt.data_.add(Qt.enhancer_(it,void 0)),Qt.atom_.reportChanged()});var Tr=!1,bo=ra(this),Ko=bo||Tr?{observableKind:\"set\",debugObjectName:this.name_,type:ea,object:this,newValue:it}:null;bo&&qa(this,Ko)}return this},Be.delete=function(it){var Qt=this;if(Li(this)){var qn=Ca(this,{type:Xi,object:this,oldValue:it});if(!qn)return!1}if(this.has(it)){var Tr=!1,bo=ra(this),Ko=bo||Tr?{observableKind:\"set\",debugObjectName:this.name_,type:Xi,object:this,oldValue:it}:null;return di(function(){Qt.atom_.reportChanged(),Qt.data_.delete(it)}),bo&&qa(this,Ko),!0}return!1},Be.has=function(it){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(it))},Be.entries=function(){var it=0,Qt=Array.from(this.keys()),qn=Array.from(this.values());return Yu({next:function(){var bo=it;return it+=1,bo<qn.length?{value:[Qt[bo],qn[bo]],done:!1}:{done:!0}}})},Be.keys=function(){return this.values()},Be.values=function(){this.atom_.reportObserved();var it=this,Qt=0,qn=Array.from(this.data_.values());return Yu({next:function(){return Qt<qn.length?{value:it.dehanceValue_(qn[Qt++]),done:!1}:{done:!0}}})},Be.replace=function(it){var Qt=this;return Sa(it)&&(it=new Set(it)),di(function(){Array.isArray(it)?(Qt.clear(),it.forEach(function(qn){return Qt.add(qn)})):xe(it)?(Qt.clear(),it.forEach(function(qn){return Qt.add(qn)})):it!=null&&N(\"Cannot initialize set from \"+it)}),this},Be.observe_=function(it,Qt){return Ja(this,it)},Be.intercept_=function(it){return vs(this,it)},Be.toJSON=function(){return Array.from(this)},Be.toString=function(){return\"[object ObservableSet]\"},Be[_a]=function(){return this.values()},he(le,[{key:\"size\",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:wa,get:function(){return\"Set\"}}]),le}(),Sa=Te(\"ObservableSet\",tr),Ta=Object.create(null),ga=\"remove\",Fi=function(){function le(st,it,Qt,qn){it===void 0&&(it=new Map),qn===void 0&&(qn=Rn),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=st,this.values_=it,this.name_=Qt,this.defaultAnnotation_=qn,this.keysAtom_=new mt(\"ObservableObject.keys\"),this.isPlainObject_=J(this.target_)}var Be=le.prototype;return Be.getObservablePropValue_=function(it){return this.values_.get(it).get()},Be.setObservablePropValue_=function(it,Qt){var qn=this.values_.get(it);if(qn instanceof Yn)return qn.set(Qt),!0;if(Li(this)){var Tr=Ca(this,{type:ut,object:this.proxy_||this.target_,name:it,newValue:Qt});if(!Tr)return null;Qt=Tr.newValue}if(Qt=qn.prepareNewValue_(Qt),Qt!==ct.UNCHANGED){var bo=ra(this),Ko=!1,Mi=bo||Ko?{type:ut,observableKind:\"object\",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:qn.value_,name:it,newValue:Qt}:null;qn.setNewValue_(Qt),bo&&qa(this,Mi)}return!0},Be.get_=function(it){return ct.trackingDerivation&&!Oe(this.target_,it)&&this.has_(it),this.target_[it]},Be.set_=function(it,Qt,qn){return qn===void 0&&(qn=!1),Oe(this.target_,it)?this.values_.has(it)?this.setObservablePropValue_(it,Qt):qn?Reflect.set(this.target_,it,Qt):(this.target_[it]=Qt,!0):this.extend_(it,{value:Qt,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,qn)},Be.has_=function(it){if(!ct.trackingDerivation)return it in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var Qt=this.pendingKeys_.get(it);return Qt||(Qt=new Xt(it in this.target_,Ft,\"ObservableObject.key?\",!1),this.pendingKeys_.set(it,Qt)),Qt.get()},Be.make_=function(it,Qt){if(Qt===!0&&(Qt=this.defaultAnnotation_),Qt!==!1){if(Wa(this,Qt,it),!(it in this.target_)){var qn;if((qn=this.target_[we])!=null&&qn[it])return;N(1,Qt.annotationType_,this.name_+\".\"+it.toString())}for(var Tr=this.target_;Tr&&Tr!==u;){var bo=b(Tr,it);if(bo){var Ko=Qt.make_(this,it,bo,Tr);if(Ko===0)return;if(Ko===1)break}Tr=Object.getPrototypeOf(Tr)}gs(this,Qt,it)}},Be.extend_=function(it,Qt,qn,Tr){if(Tr===void 0&&(Tr=!1),qn===!0&&(qn=this.defaultAnnotation_),qn===!1)return this.defineProperty_(it,Qt,Tr);Wa(this,qn,it);var bo=qn.extend_(this,it,Qt,Tr);return bo&&gs(this,qn,it),bo},Be.defineProperty_=function(it,Qt,qn){qn===void 0&&(qn=!1);try{Pr();var Tr=this.delete_(it);if(!Tr)return Tr;if(Li(this)){var bo=Ca(this,{object:this.proxy_||this.target_,name:it,type:ea,newValue:Qt.value});if(!bo)return null;var Ko=bo.newValue;Qt.value!==Ko&&(Qt=ie({},Qt,{value:Ko}))}if(qn){if(!Reflect.defineProperty(this.target_,it,Qt))return!1}else p(this.target_,it,Qt);this.notifyPropertyAddition_(it,Qt.value)}finally{Xr()}return!0},Be.defineObservableProperty_=function(it,Qt,qn,Tr){Tr===void 0&&(Tr=!1);try{Pr();var bo=this.delete_(it);if(!bo)return bo;if(Li(this)){var Ko=Ca(this,{object:this.proxy_||this.target_,name:it,type:ea,newValue:Qt});if(!Ko)return null;Qt=Ko.newValue}var Mi=zs(it),Hi={configurable:ct.safeDescriptors?this.isPlainObject_:!0,enumerable:!0,get:Mi.get,set:Mi.set};if(Tr){if(!Reflect.defineProperty(this.target_,it,Hi))return!1}else p(this.target_,it,Hi);var ja=new Xt(Qt,qn,\"ObservableObject.key\",!1);this.values_.set(it,ja),this.notifyPropertyAddition_(it,ja.value_)}finally{Xr()}return!0},Be.defineComputedProperty_=function(it,Qt,qn){qn===void 0&&(qn=!1);try{Pr();var Tr=this.delete_(it);if(!Tr)return Tr;if(Li(this)){var bo=Ca(this,{object:this.proxy_||this.target_,name:it,type:ea,newValue:void 0});if(!bo)return null}Qt.name||(Qt.name=\"ObservableObject.key\"),Qt.context=this.proxy_||this.target_;var Ko=zs(it),Mi={configurable:ct.safeDescriptors?this.isPlainObject_:!0,enumerable:!1,get:Ko.get,set:Ko.set};if(qn){if(!Reflect.defineProperty(this.target_,it,Mi))return!1}else p(this.target_,it,Mi);this.values_.set(it,new Yn(Qt)),this.notifyPropertyAddition_(it,void 0)}finally{Xr()}return!0},Be.delete_=function(it,Qt){if(Qt===void 0&&(Qt=!1),!Oe(this.target_,it))return!0;if(Li(this)){var qn=Ca(this,{object:this.proxy_||this.target_,name:it,type:ga});if(!qn)return null}try{var Tr,bo;Pr();var Ko=ra(this),Mi=!1,Hi=this.values_.get(it),ja=void 0;if(!Hi&&(Ko||Mi)){var ms;ja=(ms=b(this.target_,it))==null?void 0:ms.value}if(Qt){if(!Reflect.deleteProperty(this.target_,it))return!1}else delete this.target_[it];if(Hi&&(this.values_.delete(it),Hi instanceof Xt&&(ja=Hi.value_),io(Hi)),this.keysAtom_.reportChanged(),(Tr=this.pendingKeys_)==null||(bo=Tr.get(it))==null||bo.set(it in this.target_),Ko||Mi){var Ps={type:ga,observableKind:\"object\",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:ja,name:it};Ko&&qa(this,Ps)}}finally{Xr()}return!0},Be.observe_=function(it,Qt){return Ja(this,it)},Be.intercept_=function(it){return vs(this,it)},Be.notifyPropertyAddition_=function(it,Qt){var qn,Tr,bo=ra(this),Ko=!1;if(bo||Ko){var Mi=bo||Ko?{type:ea,observableKind:\"object\",debugObjectName:this.name_,object:this.proxy_||this.target_,name:it,newValue:Qt}:null;bo&&qa(this,Mi)}(qn=this.pendingKeys_)==null||(Tr=qn.get(it))==null||Tr.set(!0),this.keysAtom_.reportChanged()},Be.ownKeys_=function(){return this.keysAtom_.reportObserved(),De(this.target_)},Be.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},le}();function Cs(le,Be){var st;if(Oe(le,Fe))return le;var it=(st=Be==null?void 0:Be.name)!=null?st:\"ObservableObject\",Qt=new Fi(le,new Map,String(it),Zi(Be));return re(le,Fe,Qt),le}var yn=Te(\"ObservableObjectAdministration\",Fi);function zs(le){return Ta[le]||(Ta[le]={get:function(){return this[Fe].getObservablePropValue_(le)},set:function(st){return this[Fe].setObservablePropValue_(le,st)}})}function ds(le){return A(le)?yn(le[Fe]):!1}function gs(le,Be,st){var it;(it=le.target_[we])==null||delete it[st]}function Wa(le,Be,st){if(!1)var it,Qt,qn}var Ac=Yc(0),Gs=0,Tc=function(){};function pu(le,Be){Object.setPrototypeOf?Object.setPrototypeOf(le.prototype,Be):le.prototype.__proto__!==void 0?le.prototype.__proto__=Be:le.prototype=Be}pu(Tc,Array.prototype);var Pc=function(le,Be,st){ae(it,le);function it(qn,Tr,bo,Ko){var Mi;bo===void 0&&(bo=\"ObservableArray\"),Ko===void 0&&(Ko=!1),Mi=le.call(this)||this;var Hi=new $t(bo,Tr,Ko,!0);if(Hi.proxy_=X(Mi),me(X(Mi),Fe,Hi),qn&&qn.length){var ja=Re(!0);Mi.spliceWithArray(0,0,qn),je(ja)}return Object.defineProperty(X(Mi),\"0\",Ac),Mi}var Qt=it.prototype;return Qt.concat=function(){this[Fe].atom_.reportObserved();for(var Tr=arguments.length,bo=new Array(Tr),Ko=0;Ko<Tr;Ko++)bo[Ko]=arguments[Ko];return Array.prototype.concat.apply(this.slice(),bo.map(function(Mi){return mo(Mi)?Mi.slice():Mi}))},Qt[st]=function(){var qn=this,Tr=0;return Yu({next:function(){return Tr<qn.length?{value:qn[Tr++],done:!1}:{done:!0,value:void 0}}})},he(it,[{key:\"length\",get:function(){return this[Fe].getArrayLength_()},set:function(Tr){this[Fe].setArrayLength_(Tr)}},{key:Be,get:function(){return\"Array\"}}]),it}(Tc,Symbol.toStringTag,Symbol.iterator);Object.entries(On).forEach(function(le){var Be=le[0],st=le[1];Be!==\"concat\"&&re(Pc.prototype,Be,st)});function Yc(le){return{enumerable:!1,configurable:!0,get:function(){return this[Fe].get_(le)},set:function(st){this[Fe].set_(le,st)}}}function Kc(le){p(Pc.prototype,\"\"+le,Yc(le))}function rc(le){if(le>Gs){for(var Be=Gs;Be<le+100;Be++)Kc(Be);Gs=le}}rc(1e3);function qc(le,Be,st){return new Pc(le,Be,st)}function Ns(le,Be){if(typeof le==\"object\"&&le!==null){if(mo(le))return Be!==void 0&&N(23),le[Fe].atom_;if(Sa(le))return le.atom_;if(Yo(le)){if(Be===void 0)return le.keysAtom_;var st=le.data_.get(Be)||le.hasMap_.get(Be);return st||N(25,Be,yc(le)),st}if(ds(le)){if(!Be)return N(26);var it=le[Fe].values_.get(Be);return it||N(27,Be,yc(le)),it}if(dt(le)||Ae(le)||U(le))return le}else if(j(le)&&U(le[Fe]))return le[Fe];N(28)}function Au(le,Be){if(le||N(29),Be!==void 0)return Au(Ns(le,Be));if(dt(le)||Ae(le)||U(le)||Yo(le)||Sa(le))return le;if(le[Fe])return le[Fe];N(24,le)}function yc(le,Be){var st;if(Be!==void 0)st=Ns(le,Be);else{if(_n(le))return le.name;ds(le)||Yo(le)||Sa(le)?st=Au(le):st=Ns(le)}return st.name_}var gu=u.toString;function bc(le,Be,st){return st===void 0&&(st=-1),Ic(le,Be,st)}function Ic(le,Be,st,it,Qt){if(le===Be)return le!==0||1/le===1/Be;if(le==null||Be==null)return!1;if(le!==le)return Be!==Be;var qn=typeof le;if(qn!==\"function\"&&qn!==\"object\"&&typeof Be!=\"object\")return!1;var Tr=gu.call(le);if(Tr!==gu.call(Be))return!1;switch(Tr){case\"[object RegExp]\":case\"[object String]\":return\"\"+le==\"\"+Be;case\"[object Number]\":return+le!=+le?+Be!=+Be:+le==0?1/+le===1/Be:+le==+Be;case\"[object Date]\":case\"[object Boolean]\":return+le==+Be;case\"[object Symbol]\":return typeof Symbol!=\"undefined\"&&Symbol.valueOf.call(le)===Symbol.valueOf.call(Be);case\"[object Map]\":case\"[object Set]\":st>=0&&st++;break}le=vu(le),Be=vu(Be);var bo=Tr===\"[object Array]\";if(!bo){if(typeof le!=\"object\"||typeof Be!=\"object\")return!1;var Ko=le.constructor,Mi=Be.constructor;if(Ko!==Mi&&!(j(Ko)&&Ko instanceof Ko&&j(Mi)&&Mi instanceof Mi)&&\"constructor\"in le&&\"constructor\"in Be)return!1}if(st===0)return!1;st<0&&(st=-1),it=it||[],Qt=Qt||[];for(var Hi=it.length;Hi--;)if(it[Hi]===le)return Qt[Hi]===Be;if(it.push(le),Qt.push(Be),bo){if(Hi=le.length,Hi!==Be.length)return!1;for(;Hi--;)if(!Ic(le[Hi],Be[Hi],st-1,it,Qt))return!1}else{var ja=Object.keys(le),ms;if(Hi=ja.length,Object.keys(Be).length!==Hi)return!1;for(;Hi--;)if(ms=ja[Hi],!(Oe(Be,ms)&&Ic(le[ms],Be[ms],st-1,it,Qt)))return!1}return it.pop(),Qt.pop(),!0}function vu(le){return mo(le)?le.slice():ee(le)||Yo(le)||xe(le)||Sa(le)?Array.from(le.entries()):le}function Yu(le){return le[Symbol.iterator]=oc,le}function oc(){return this}function kc(le){return le instanceof Object&&typeof le.annotationType_==\"string\"&&j(le.make_)&&j(le.extend_)}[\"Symbol\",\"Map\",\"Set\"].forEach(function(le){var Be=w();typeof Be[le]==\"undefined\"&&N(\"MobX requires global '\"+le+\"' to be available or polyfilled\")}),typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__==\"object\"&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:jt,extras:{getDebugName:yc},$mobx:Fe})},11375:function(Pt,Ee,c){var r=c(14224);(function(){var y,N,C,w,O,b;typeof performance!=\"undefined\"&&performance!==null&&performance.now?Pt.exports=function(){return performance.now()}:typeof r!=\"undefined\"&&r!==null&&r.hrtime?(Pt.exports=function(){return(y()-O)/1e6},N=r.hrtime,y=function(){var p;return p=N(),p[0]*1e9+p[1]},w=y(),b=r.uptime()*1e9,O=w-b):Date.now?(Pt.exports=function(){return Date.now()-C},C=Date.now()):(Pt.exports=function(){return new Date().getTime()-C},C=new Date().getTime())}).call(this)},64275:function(Pt){var Ee=null,c=[\"Webkit\",\"Moz\",\"O\",\"ms\"];Pt.exports=function(y){Ee||(Ee=document.createElement(\"div\"));var N=Ee.style;if(y in N)return y;for(var C=y.charAt(0).toUpperCase()+y.slice(1),w=c.length;w>=0;w--){var O=c[w]+C;if(O in N)return O}return!1}},19616:function(Pt,Ee,c){for(var r=c(11375),y=typeof window==\"undefined\"?c.g:window,N=[\"moz\",\"webkit\"],C=\"AnimationFrame\",w=y[\"request\"+C],O=y[\"cancel\"+C]||y[\"cancelRequest\"+C],b=0;!w&&b<N.length;b++)w=y[N[b]+\"Request\"+C],O=y[N[b]+\"Cancel\"+C]||y[N[b]+\"CancelRequest\"+C];if(!w||!O){var p=0,u=0,a=[],f=1e3/60;w=function(h){if(a.length===0){var l=r(),s=Math.max(0,f-(l-p));p=s+l,setTimeout(function(){var m=a.slice(0);a.length=0;for(var x=0;x<m.length;x++)if(!m[x].cancelled)try{m[x].callback(p)}catch(M){setTimeout(function(){throw M},0)}},Math.round(s))}return a.push({handle:++u,callback:h,cancelled:!1}),u},O=function(h){for(var l=0;l<a.length;l++)a[l].handle===h&&(a[l].cancelled=!0)}}Pt.exports=function(h){return w.call(y,h)},Pt.exports.cancel=function(){O.apply(y,arguments)},Pt.exports.polyfill=function(h){h||(h=y),h.requestAnimationFrame=w,h.cancelAnimationFrame=O}},61553:function(Pt,Ee,c){\"use strict\";c.d(Ee,{zb:function(){return M},RV:function(){return Vo}});var r=c(50959),y=c(51163),N=c(58733),C=c(24572),w=c(75782),O=c(49544),b=c(40936),p=c(49962),u=c(60790),a=c(39027),f=c(76614),h=c(16030),l=c(53675),s=\"RC_FORM_INTERNAL_HOOKS\",m=function(){(0,l.ZP)(!1,\"Can not find FormContext. Please make sure you wrap Field under Form.\")},x=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}}}),M=x,E=c(86698),j=c(99932),L=c(78450),A=c(14224);function J(){return J=Object.assign?Object.assign.bind():function(br){for(var Re=1;Re<arguments.length;Re++){var je=arguments[Re];for(var nt in je)Object.prototype.hasOwnProperty.call(je,nt)&&(br[nt]=je[nt])}return br},J.apply(this,arguments)}function q(br,Re){br.prototype=Object.create(Re.prototype),br.prototype.constructor=br,me(br,Re)}function re(br){return re=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(je){return je.__proto__||Object.getPrototypeOf(je)},re(br)}function me(br,Re){return me=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(nt,rt){return nt.__proto__=rt,nt},me(br,Re)}function Te(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(br){return!1}}function ee(br,Re,je){return Te()?ee=Reflect.construct.bind():ee=function(rt,Xt,fn){var Cn=[null];Cn.push.apply(Cn,Xt);var Yn=Function.bind.apply(rt,Cn),Ae=new Yn;return fn&&me(Ae,fn.prototype),Ae},ee.apply(null,arguments)}function xe(br){return Function.toString.call(br).indexOf(\"[native code]\")!==-1}function Ie(br){var Re=typeof Map==\"function\"?new Map:void 0;return Ie=function(nt){if(nt===null||!xe(nt))return nt;if(typeof nt!=\"function\")throw new TypeError(\"Super expression must either be null or a function\");if(typeof Re!=\"undefined\"){if(Re.has(nt))return Re.get(nt);Re.set(nt,rt)}function rt(){return ee(nt,arguments,re(this).constructor)}return rt.prototype=Object.create(nt.prototype,{constructor:{value:rt,enumerable:!1,writable:!0,configurable:!0}}),me(rt,nt)},Ie(br)}var Le=/%[sdj%]/g,De=function(){};function ce(br){if(!br||!br.length)return null;var Re={};return br.forEach(function(je){var nt=je.field;Re[nt]=Re[nt]||[],Re[nt].push(je)}),Re}function ye(br){for(var Re=arguments.length,je=new Array(Re>1?Re-1:0),nt=1;nt<Re;nt++)je[nt-1]=arguments[nt];var rt=0,Xt=je.length;if(typeof br==\"function\")return br.apply(null,je);if(typeof br==\"string\"){var fn=br.replace(Le,function(Cn){if(Cn===\"%%\")return\"%\";if(rt>=Xt)return Cn;switch(Cn){case\"%s\":return String(je[rt++]);case\"%d\":return Number(je[rt++]);case\"%j\":try{return JSON.stringify(je[rt++])}catch(Yn){return\"[Circular]\"}break;default:return Cn}});return fn}return br}function Oe(br){return br===\"string\"||br===\"url\"||br===\"hex\"||br===\"email\"||br===\"date\"||br===\"pattern\"}function Ce(br,Re){return!!(br==null||Re===\"array\"&&Array.isArray(br)&&!br.length||Oe(Re)&&typeof br==\"string\"&&!br)}function oe(br,Re,je){var nt=[],rt=0,Xt=br.length;function fn(Cn){nt.push.apply(nt,Cn||[]),rt++,rt===Xt&&je(nt)}br.forEach(function(Cn){Re(Cn,fn)})}function he(br,Re,je){var nt=0,rt=br.length;function Xt(fn){if(fn&&fn.length){je(fn);return}var Cn=nt;nt=nt+1,Cn<rt?Re(br[Cn],Xt):je([])}Xt([])}function ie(br){var Re=[];return Object.keys(br).forEach(function(je){Re.push.apply(Re,br[je]||[])}),Re}var ae=function(br){q(Re,br);function Re(je,nt){var rt;return rt=br.call(this,\"Async Validation Error\")||this,rt.errors=je,rt.fields=nt,rt}return Re}(Ie(Error));function ve(br,Re,je,nt,rt){if(Re.first){var Xt=new Promise(function(Ut,kn){var Zn=function(Dr){return nt(Dr),Dr.length?kn(new ae(Dr,ce(Dr))):Ut(rt)},lr=ie(br);he(lr,je,Zn)});return Xt.catch(function(Ut){return Ut}),Xt}var fn=Re.firstFields===!0?Object.keys(br):Re.firstFields||[],Cn=Object.keys(br),Yn=Cn.length,Ae=0,Ke=[],Mt=new Promise(function(Ut,kn){var Zn=function(wr){if(Ke.push.apply(Ke,wr),Ae++,Ae===Yn)return nt(Ke),Ke.length?kn(new ae(Ke,ce(Ke))):Ut(rt)};Cn.length||(nt(Ke),Ut(rt)),Cn.forEach(function(lr){var wr=br[lr];fn.indexOf(lr)!==-1?he(wr,je,Zn):oe(wr,je,Zn)})});return Mt.catch(function(Ut){return Ut}),Mt}function X(br){return!!(br&&br.message!==void 0)}function se(br,Re){for(var je=br,nt=0;nt<Re.length;nt++){if(je==null)return je;je=je[Re[nt]]}return je}function fe(br,Re){return function(je){var nt;return br.fullFields?nt=se(Re,br.fullFields):nt=Re[je.field||br.fullField],X(je)?(je.field=je.field||br.fullField,je.fieldValue=nt,je):{message:typeof je==\"function\"?je():je,fieldValue:nt,field:je.field||br.fullField}}}function _e(br,Re){if(Re){for(var je in Re)if(Re.hasOwnProperty(je)){var nt=Re[je];typeof nt==\"object\"&&typeof br[je]==\"object\"?br[je]=J({},br[je],nt):br[je]=nt}}return br}var be=function(Re,je,nt,rt,Xt,fn){Re.required&&(!nt.hasOwnProperty(Re.field)||Ce(je,fn||Re.type))&&rt.push(ye(Xt.messages.required,Re.fullField))},We=function(Re,je,nt,rt,Xt){(/^\\s+$/.test(je)||je===\"\")&&rt.push(ye(Xt.messages.whitespace,Re.fullField))},we,Ze=function(){if(we)return we;var br=\"[a-fA-F\\\\d:]\",Re=function(Jr){return Jr&&Jr.includeBoundaries?\"(?:(?<=\\\\s|^)(?=\"+br+\")|(?<=\"+br+\")(?=\\\\s|$))\":\"\"},je=\"(?: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}\",nt=\"[a-fA-F\\\\d]{1,4}\",rt=(`\n(?:\n(?:`+nt+\":){7}(?:\"+nt+`|:)|                                    // 1:2:3:4:5:6:7::  1:2:3:4:5:6:7:8\n(?:`+nt+\":){6}(?:\"+je+\"|:\"+nt+`|:)|                             // 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(?:`+nt+\":){5}(?::\"+je+\"|(?::\"+nt+`){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(?:`+nt+\":){4}(?:(?::\"+nt+\"){0,1}:\"+je+\"|(?::\"+nt+`){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(?:`+nt+\":){3}(?:(?::\"+nt+\"){0,2}:\"+je+\"|(?::\"+nt+`){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(?:`+nt+\":){2}(?:(?::\"+nt+\"){0,3}:\"+je+\"|(?::\"+nt+`){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(?:`+nt+\":){1}(?:(?::\"+nt+\"){0,4}:\"+je+\"|(?::\"+nt+`){1,6}|:)| // 1::              1::3:4:5:6:7:8   1::8            1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::`+nt+\"){0,5}:\"+je+\"|(?::\"+nt+`){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(),Xt=new RegExp(\"(?:^\"+je+\"$)|(?:^\"+rt+\"$)\"),fn=new RegExp(\"^\"+je+\"$\"),Cn=new RegExp(\"^\"+rt+\"$\"),Yn=function(Jr){return Jr&&Jr.exact?Xt:new RegExp(\"(?:\"+Re(Jr)+je+Re(Jr)+\")|(?:\"+Re(Jr)+rt+Re(Jr)+\")\",\"g\")};Yn.v4=function(Ir){return Ir&&Ir.exact?fn:new RegExp(\"\"+Re(Ir)+je+Re(Ir),\"g\")},Yn.v6=function(Ir){return Ir&&Ir.exact?Cn:new RegExp(\"\"+Re(Ir)+rt+Re(Ir),\"g\")};var Ae=\"(?:(?:[a-z]+:)?//)\",Ke=\"(?:\\\\S+(?::\\\\S*)?@)?\",Mt=Yn.v4().source,Ut=Yn.v6().source,kn=\"(?:(?:[a-z\\\\u00a1-\\\\uffff0-9][-_]*)*[a-z\\\\u00a1-\\\\uffff0-9]+)\",Zn=\"(?:\\\\.(?:[a-z\\\\u00a1-\\\\uffff0-9]-*)*[a-z\\\\u00a1-\\\\uffff0-9]+)*\",lr=\"(?:\\\\.(?:[a-z\\\\u00a1-\\\\uffff]{2,}))\",wr=\"(?::\\\\d{2,5})?\",Dr='(?:[/?#][^\\\\s\"]*)?',go=\"(?:\"+Ae+\"|www\\\\.)\"+Ke+\"(?:localhost|\"+Mt+\"|\"+Ut+\"|\"+kn+Zn+lr+\")\"+wr+Dr;return we=new RegExp(\"(?:^\"+go+\"$)\",\"i\"),we},Ve={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},et={integer:function(Re){return et.number(Re)&&parseInt(Re,10)===Re},float:function(Re){return et.number(Re)&&!et.integer(Re)},array:function(Re){return Array.isArray(Re)},regexp:function(Re){if(Re instanceof RegExp)return!0;try{return!!new RegExp(Re)}catch(je){return!1}},date:function(Re){return typeof Re.getTime==\"function\"&&typeof Re.getMonth==\"function\"&&typeof Re.getYear==\"function\"&&!isNaN(Re.getTime())},number:function(Re){return isNaN(Re)?!1:typeof Re==\"number\"},object:function(Re){return typeof Re==\"object\"&&!et.array(Re)},method:function(Re){return typeof Re==\"function\"},email:function(Re){return typeof Re==\"string\"&&Re.length<=320&&!!Re.match(Ve.email)},url:function(Re){return typeof Re==\"string\"&&Re.length<=2048&&!!Re.match(Ze())},hex:function(Re){return typeof Re==\"string\"&&!!Re.match(Ve.hex)}},ht=function(Re,je,nt,rt,Xt){if(Re.required&&je===void 0){be(Re,je,nt,rt,Xt);return}var fn=[\"integer\",\"float\",\"array\",\"regexp\",\"object\",\"method\",\"email\",\"number\",\"date\",\"url\",\"hex\"],Cn=Re.type;fn.indexOf(Cn)>-1?et[Cn](je)||rt.push(ye(Xt.messages.types[Cn],Re.fullField,Re.type)):Cn&&typeof je!==Re.type&&rt.push(ye(Xt.messages.types[Cn],Re.fullField,Re.type))},Fe=function(Re,je,nt,rt,Xt){var fn=typeof Re.len==\"number\",Cn=typeof Re.min==\"number\",Yn=typeof Re.max==\"number\",Ae=/[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g,Ke=je,Mt=null,Ut=typeof je==\"number\",kn=typeof je==\"string\",Zn=Array.isArray(je);if(Ut?Mt=\"number\":kn?Mt=\"string\":Zn&&(Mt=\"array\"),!Mt)return!1;Zn&&(Ke=je.length),kn&&(Ke=je.replace(Ae,\"_\").length),fn?Ke!==Re.len&&rt.push(ye(Xt.messages[Mt].len,Re.fullField,Re.len)):Cn&&!Yn&&Ke<Re.min?rt.push(ye(Xt.messages[Mt].min,Re.fullField,Re.min)):Yn&&!Cn&&Ke>Re.max?rt.push(ye(Xt.messages[Mt].max,Re.fullField,Re.max)):Cn&&Yn&&(Ke<Re.min||Ke>Re.max)&&rt.push(ye(Xt.messages[Mt].range,Re.fullField,Re.min,Re.max))},mt=\"enum\",dt=function(Re,je,nt,rt,Xt){Re[mt]=Array.isArray(Re[mt])?Re[mt]:[],Re[mt].indexOf(je)===-1&&rt.push(ye(Xt.messages[mt],Re.fullField,Re[mt].join(\", \")))},Lt=function(Re,je,nt,rt,Xt){if(Re.pattern){if(Re.pattern instanceof RegExp)Re.pattern.lastIndex=0,Re.pattern.test(je)||rt.push(ye(Xt.messages.pattern.mismatch,Re.fullField,je,Re.pattern));else if(typeof Re.pattern==\"string\"){var fn=new RegExp(Re.pattern);fn.test(je)||rt.push(ye(Xt.messages.pattern.mismatch,Re.fullField,je,Re.pattern))}}},lt={required:be,whitespace:We,type:ht,range:Fe,enum:dt,pattern:Lt},rn=function(Re,je,nt,rt,Xt){var fn=[],Cn=Re.required||!Re.required&&rt.hasOwnProperty(Re.field);if(Cn){if(Ce(je,\"string\")&&!Re.required)return nt();lt.required(Re,je,rt,fn,Xt,\"string\"),Ce(je,\"string\")||(lt.type(Re,je,rt,fn,Xt),lt.range(Re,je,rt,fn,Xt),lt.pattern(Re,je,rt,fn,Xt),Re.whitespace===!0&&lt.whitespace(Re,je,rt,fn,Xt))}nt(fn)},qt=function(Re,je,nt,rt,Xt){var fn=[],Cn=Re.required||!Re.required&&rt.hasOwnProperty(Re.field);if(Cn){if(Ce(je)&&!Re.required)return nt();lt.required(Re,je,rt,fn,Xt),je!==void 0&&lt.type(Re,je,rt,fn,Xt)}nt(fn)},hn=function(Re,je,nt,rt,Xt){var fn=[],Cn=Re.required||!Re.required&&rt.hasOwnProperty(Re.field);if(Cn){if(je===\"\"&&(je=void 0),Ce(je)&&!Re.required)return nt();lt.required(Re,je,rt,fn,Xt),je!==void 0&&(lt.type(Re,je,rt,fn,Xt),lt.range(Re,je,rt,fn,Xt))}nt(fn)},Kt=function(Re,je,nt,rt,Xt){var fn=[],Cn=Re.required||!Re.required&&rt.hasOwnProperty(Re.field);if(Cn){if(Ce(je)&&!Re.required)return nt();lt.required(Re,je,rt,fn,Xt),je!==void 0&&lt.type(Re,je,rt,fn,Xt)}nt(fn)},an=function(Re,je,nt,rt,Xt){var fn=[],Cn=Re.required||!Re.required&&rt.hasOwnProperty(Re.field);if(Cn){if(Ce(je)&&!Re.required)return nt();lt.required(Re,je,rt,fn,Xt),Ce(je)||lt.type(Re,je,rt,fn,Xt)}nt(fn)},In=function(Re,je,nt,rt,Xt){var fn=[],Cn=Re.required||!Re.required&&rt.hasOwnProperty(Re.field);if(Cn){if(Ce(je)&&!Re.required)return nt();lt.required(Re,je,rt,fn,Xt),je!==void 0&&(lt.type(Re,je,rt,fn,Xt),lt.range(Re,je,rt,fn,Xt))}nt(fn)},Ft=function(Re,je,nt,rt,Xt){var fn=[],Cn=Re.required||!Re.required&&rt.hasOwnProperty(Re.field);if(Cn){if(Ce(je)&&!Re.required)return nt();lt.required(Re,je,rt,fn,Xt),je!==void 0&&(lt.type(Re,je,rt,fn,Xt),lt.range(Re,je,rt,fn,Xt))}nt(fn)},kt=function(Re,je,nt,rt,Xt){var fn=[],Cn=Re.required||!Re.required&&rt.hasOwnProperty(Re.field);if(Cn){if(je==null&&!Re.required)return nt();lt.required(Re,je,rt,fn,Xt,\"array\"),je!=null&&(lt.type(Re,je,rt,fn,Xt),lt.range(Re,je,rt,fn,Xt))}nt(fn)},At=function(Re,je,nt,rt,Xt){var fn=[],Cn=Re.required||!Re.required&&rt.hasOwnProperty(Re.field);if(Cn){if(Ce(je)&&!Re.required)return nt();lt.required(Re,je,rt,fn,Xt),je!==void 0&&lt.type(Re,je,rt,fn,Xt)}nt(fn)},Fn=\"enum\",pn=function(Re,je,nt,rt,Xt){var fn=[],Cn=Re.required||!Re.required&&rt.hasOwnProperty(Re.field);if(Cn){if(Ce(je)&&!Re.required)return nt();lt.required(Re,je,rt,fn,Xt),je!==void 0&&lt[Fn](Re,je,rt,fn,Xt)}nt(fn)},en=function(Re,je,nt,rt,Xt){var fn=[],Cn=Re.required||!Re.required&&rt.hasOwnProperty(Re.field);if(Cn){if(Ce(je,\"string\")&&!Re.required)return nt();lt.required(Re,je,rt,fn,Xt),Ce(je,\"string\")||lt.pattern(Re,je,rt,fn,Xt)}nt(fn)},Wn=function(Re,je,nt,rt,Xt){var fn=[],Cn=Re.required||!Re.required&&rt.hasOwnProperty(Re.field);if(Cn){if(Ce(je,\"date\")&&!Re.required)return nt();if(lt.required(Re,je,rt,fn,Xt),!Ce(je,\"date\")){var Yn;je instanceof Date?Yn=je:Yn=new Date(je),lt.type(Re,Yn,rt,fn,Xt),Yn&&lt.range(Re,Yn.getTime(),rt,fn,Xt)}}nt(fn)},Mn=function(Re,je,nt,rt,Xt){var fn=[],Cn=Array.isArray(je)?\"array\":typeof je;lt.required(Re,je,rt,fn,Xt,Cn),nt(fn)},Kn=function(Re,je,nt,rt,Xt){var fn=Re.type,Cn=[],Yn=Re.required||!Re.required&&rt.hasOwnProperty(Re.field);if(Yn){if(Ce(je,fn)&&!Re.required)return nt();lt.required(Re,je,rt,Cn,Xt,fn),Ce(je,fn)||lt.type(Re,je,rt,Cn,Xt)}nt(Cn)},hr=function(Re,je,nt,rt,Xt){var fn=[],Cn=Re.required||!Re.required&&rt.hasOwnProperty(Re.field);if(Cn){if(Ce(je)&&!Re.required)return nt();lt.required(Re,je,rt,fn,Xt)}nt(fn)},pr={string:rn,method:qt,number:hn,boolean:Kt,regexp:an,integer:In,float:Ft,array:kt,object:At,enum:pn,pattern:en,date:Wn,url:Kn,hex:Kn,email:Kn,required:Mn,any:hr};function zr(){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 Re=JSON.parse(JSON.stringify(this));return Re.clone=this.clone,Re}}}var Wr=zr(),Nr=function(){function br(je){this.rules=null,this._messages=Wr,this.define(je)}var Re=br.prototype;return Re.define=function(nt){var rt=this;if(!nt)throw new Error(\"Cannot configure a schema with no rules\");if(typeof nt!=\"object\"||Array.isArray(nt))throw new Error(\"Rules must be an object\");this.rules={},Object.keys(nt).forEach(function(Xt){var fn=nt[Xt];rt.rules[Xt]=Array.isArray(fn)?fn:[fn]})},Re.messages=function(nt){return nt&&(this._messages=_e(zr(),nt)),this._messages},Re.validate=function(nt,rt,Xt){var fn=this;rt===void 0&&(rt={}),Xt===void 0&&(Xt=function(){});var Cn=nt,Yn=rt,Ae=Xt;if(typeof Yn==\"function\"&&(Ae=Yn,Yn={}),!this.rules||Object.keys(this.rules).length===0)return Ae&&Ae(null,Cn),Promise.resolve(Cn);function Ke(lr){var wr=[],Dr={};function go(Jr){if(Array.isArray(Jr)){var _o;wr=(_o=wr).concat.apply(_o,Jr)}else wr.push(Jr)}for(var Ir=0;Ir<lr.length;Ir++)go(lr[Ir]);wr.length?(Dr=ce(wr),Ae(wr,Dr)):Ae(null,Cn)}if(Yn.messages){var Mt=this.messages();Mt===Wr&&(Mt=zr()),_e(Mt,Yn.messages),Yn.messages=Mt}else Yn.messages=this.messages();var Ut={},kn=Yn.keys||Object.keys(this.rules);kn.forEach(function(lr){var wr=fn.rules[lr],Dr=Cn[lr];wr.forEach(function(go){var Ir=go;typeof Ir.transform==\"function\"&&(Cn===nt&&(Cn=J({},Cn)),Dr=Cn[lr]=Ir.transform(Dr)),typeof Ir==\"function\"?Ir={validator:Ir}:Ir=J({},Ir),Ir.validator=fn.getValidationMethod(Ir),Ir.validator&&(Ir.field=lr,Ir.fullField=Ir.fullField||lr,Ir.type=fn.getType(Ir),Ut[lr]=Ut[lr]||[],Ut[lr].push({rule:Ir,value:Dr,source:Cn,field:lr}))})});var Zn={};return ve(Ut,Yn,function(lr,wr){var Dr=lr.rule,go=(Dr.type===\"object\"||Dr.type===\"array\")&&(typeof Dr.fields==\"object\"||typeof Dr.defaultField==\"object\");go=go&&(Dr.required||!Dr.required&&lr.value),Dr.field=lr.field;function Ir(No,ii){return J({},ii,{fullField:Dr.fullField+\".\"+No,fullFields:Dr.fullFields?[].concat(Dr.fullFields,[No]):[No]})}function Jr(No){No===void 0&&(No=[]);var ii=Array.isArray(No)?No:[No];!Yn.suppressWarning&&ii.length&&br.warning(\"async-validator:\",ii),ii.length&&Dr.message!==void 0&&(ii=[].concat(Dr.message));var Lo=ii.map(fe(Dr,Cn));if(Yn.first&&Lo.length)return Zn[Dr.field]=1,wr(Lo);if(!go)wr(Lo);else{if(Dr.required&&!lr.value)return Dr.message!==void 0?Lo=[].concat(Dr.message).map(fe(Dr,Cn)):Yn.error&&(Lo=[Yn.error(Dr,ye(Yn.messages.required,Dr.field))]),wr(Lo);var ai={};Dr.defaultField&&Object.keys(lr.value).map(function(ln){ai[ln]=Dr.defaultField}),ai=J({},ai,lr.rule.fields);var Si={};Object.keys(ai).forEach(function(ln){var mn=ai[ln],fr=Array.isArray(mn)?mn:[mn];Si[ln]=fr.map(Ir.bind(null,ln))});var Ui=new br(Si);Ui.messages(Yn.messages),lr.rule.options&&(lr.rule.options.messages=Yn.messages,lr.rule.options.error=Yn.error),Ui.validate(lr.value,lr.rule.options||Yn,function(ln){var mn=[];Lo&&Lo.length&&mn.push.apply(mn,Lo),ln&&ln.length&&mn.push.apply(mn,ln),wr(mn.length?mn:null)})}}var _o;if(Dr.asyncValidator)_o=Dr.asyncValidator(Dr,lr.value,Jr,lr.source,Yn);else if(Dr.validator){try{_o=Dr.validator(Dr,lr.value,Jr,lr.source,Yn)}catch(No){console.error==null||console.error(No),Yn.suppressValidatorError||setTimeout(function(){throw No},0),Jr(No.message)}_o===!0?Jr():_o===!1?Jr(typeof Dr.message==\"function\"?Dr.message(Dr.fullField||Dr.field):Dr.message||(Dr.fullField||Dr.field)+\" fails\"):_o instanceof Array?Jr(_o):_o instanceof Error&&Jr(_o.message)}_o&&_o.then&&_o.then(function(){return Jr()},function(No){return Jr(No)})},function(lr){Ke(lr)},Cn)},Re.getType=function(nt){if(nt.type===void 0&&nt.pattern instanceof RegExp&&(nt.type=\"pattern\"),typeof nt.validator!=\"function\"&&nt.type&&!pr.hasOwnProperty(nt.type))throw new Error(ye(\"Unknown rule type %s\",nt.type));return nt.type||\"string\"},Re.getValidationMethod=function(nt){if(typeof nt.validator==\"function\")return nt.validator;var rt=Object.keys(nt),Xt=rt.indexOf(\"message\");return Xt!==-1&&rt.splice(Xt,1),rt.length===1&&rt[0]===\"required\"?pr.required:pr[this.getType(nt)]||void 0},br}();Nr.register=function(Re,je){if(typeof je!=\"function\")throw new Error(\"Cannot register a validator by type, validator is not a function\");pr[Re]=je},Nr.warning=De,Nr.messages=Wr,Nr.validators=pr;var Kr=\"'${name}' is not a valid ${type}\",ko={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:Kr,method:Kr,array:Kr,object:Kr,number:Kr,date:Kr,boolean:Kr,integer:Kr,float:Kr,regexp:Kr,email:Kr,url:Kr,hex:Kr},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}\"}},Ur=c(63309),gn=Nr;function Gt(br,Re){return br.replace(/\\$\\{\\w+\\}/g,function(je){var nt=je.slice(2,-1);return Re[nt]})}var bt=\"CODE_LOGIC_ERROR\";function Zt(br,Re,je,nt,rt){return gt.apply(this,arguments)}function gt(){return gt=(0,L.Z)((0,j.Z)().mark(function br(Re,je,nt,rt,Xt){var fn,Cn,Yn,Ae,Ke,Mt,Ut,kn,Zn;return(0,j.Z)().wrap(function(wr){for(;;)switch(wr.prev=wr.next){case 0:return fn=(0,w.Z)({},nt),delete fn.ruleIndex,fn.validator&&(Cn=fn.validator,fn.validator=function(){try{return Cn.apply(void 0,arguments)}catch(Dr){return console.error(Dr),Promise.reject(bt)}}),Yn=null,fn&&fn.type===\"array\"&&fn.defaultField&&(Yn=fn.defaultField,delete fn.defaultField),Ae=new gn((0,C.Z)({},Re,[fn])),Ke=(0,Ur.gg)({},ko,rt.validateMessages),Ae.messages(Ke),Mt=[],wr.prev=9,wr.next=12,Promise.resolve(Ae.validate((0,C.Z)({},Re,je),(0,w.Z)({},rt)));case 12:wr.next=17;break;case 14:wr.prev=14,wr.t0=wr.catch(9),wr.t0.errors&&(Mt=wr.t0.errors.map(function(Dr,go){var Ir=Dr.message,Jr=Ir===bt?Ke.default:Ir;return r.isValidElement(Jr)?r.cloneElement(Jr,{key:\"error_\".concat(go)}):Jr}));case 17:if(!(!Mt.length&&Yn)){wr.next=22;break}return wr.next=20,Promise.all(je.map(function(Dr,go){return Zt(\"\".concat(Re,\".\").concat(go),Dr,Yn,rt,Xt)}));case 20:return Ut=wr.sent,wr.abrupt(\"return\",Ut.reduce(function(Dr,go){return[].concat((0,O.Z)(Dr),(0,O.Z)(go))},[]));case 22:return kn=(0,w.Z)((0,w.Z)({},nt),{},{name:Re,enum:(nt.enum||[]).join(\", \")},Xt),Zn=Mt.map(function(Dr){return typeof Dr==\"string\"?Gt(Dr,kn):Dr}),wr.abrupt(\"return\",Zn);case 25:case\"end\":return wr.stop()}},br,null,[[9,14]])})),gt.apply(this,arguments)}function Wt(br,Re,je,nt,rt,Xt){var fn=br.join(\".\"),Cn=je.map(function(Ke,Mt){var Ut=Ke.validator,kn=(0,w.Z)((0,w.Z)({},Ke),{},{ruleIndex:Mt});return Ut&&(kn.validator=function(Zn,lr,wr){var Dr=!1,go=function(){for(var _o=arguments.length,No=new Array(_o),ii=0;ii<_o;ii++)No[ii]=arguments[ii];Promise.resolve().then(function(){(0,l.ZP)(!Dr,\"Your validator function has already return a promise. `callback` will be ignored.\"),Dr||wr.apply(void 0,No)})},Ir=Ut(Zn,lr,go);Dr=Ir&&typeof Ir.then==\"function\"&&typeof Ir.catch==\"function\",(0,l.ZP)(Dr,\"`callback` is deprecated. Please return a promise instead.\"),Dr&&Ir.then(function(){wr()}).catch(function(Jr){wr(Jr||\" \")})}),kn}).sort(function(Ke,Mt){var Ut=Ke.warningOnly,kn=Ke.ruleIndex,Zn=Mt.warningOnly,lr=Mt.ruleIndex;return!!Ut==!!Zn?kn-lr:Ut?1:-1}),Yn;if(rt===!0)Yn=new Promise(function(){var Ke=(0,L.Z)((0,j.Z)().mark(function Mt(Ut,kn){var Zn,lr,wr;return(0,j.Z)().wrap(function(go){for(;;)switch(go.prev=go.next){case 0:Zn=0;case 1:if(!(Zn<Cn.length)){go.next=12;break}return lr=Cn[Zn],go.next=5,Zt(fn,Re,lr,nt,Xt);case 5:if(wr=go.sent,!wr.length){go.next=9;break}return kn([{errors:wr,rule:lr}]),go.abrupt(\"return\");case 9:Zn+=1,go.next=1;break;case 12:Ut([]);case 13:case\"end\":return go.stop()}},Mt)}));return function(Mt,Ut){return Ke.apply(this,arguments)}}());else{var Ae=Cn.map(function(Ke){return Zt(fn,Re,Ke,nt,Xt).then(function(Mt){return{errors:Mt,rule:Ke}})});Yn=(rt?Xn(Ae):xn(Ae)).then(function(Ke){return Promise.reject(Ke)})}return Yn.catch(function(Ke){return Ke}),Yn}function xn(br){return Dt.apply(this,arguments)}function Dt(){return Dt=(0,L.Z)((0,j.Z)().mark(function br(Re){return(0,j.Z)().wrap(function(nt){for(;;)switch(nt.prev=nt.next){case 0:return nt.abrupt(\"return\",Promise.all(Re).then(function(rt){var Xt,fn=(Xt=[]).concat.apply(Xt,(0,O.Z)(rt));return fn}));case 1:case\"end\":return nt.stop()}},br)})),Dt.apply(this,arguments)}function Xn(br){return Rn.apply(this,arguments)}function Rn(){return Rn=(0,L.Z)((0,j.Z)().mark(function br(Re){var je;return(0,j.Z)().wrap(function(rt){for(;;)switch(rt.prev=rt.next){case 0:return je=0,rt.abrupt(\"return\",new Promise(function(Xt){Re.forEach(function(fn){fn.then(function(Cn){Cn.errors.length&&Xt([Cn]),je+=1,je===Re.length&&Xt([])})})}));case 2:case\"end\":return rt.stop()}},br)})),Rn.apply(this,arguments)}var wt=[\"name\"],pt=[];function Ue(br,Re,je,nt,rt,Xt){return typeof br==\"function\"?br(Re,je,\"source\"in Xt?{source:Xt.source}:{}):nt!==rt}var xt=function(br){(0,a.Z)(je,br);var Re=(0,f.Z)(je);function je(nt){var rt;if((0,b.Z)(this,je),rt=Re.call(this,nt),rt.state={resetCount:0},rt.cancelRegisterFunc=null,rt.mounted=!1,rt.touched=!1,rt.dirty=!1,rt.validatePromise=void 0,rt.prevValidating=void 0,rt.errors=pt,rt.warnings=pt,rt.cancelRegister=function(){var Yn=rt.props,Ae=Yn.preserve,Ke=Yn.isListField,Mt=Yn.name;rt.cancelRegisterFunc&&rt.cancelRegisterFunc(Ke,Ae,(0,Ur.gU)(Mt)),rt.cancelRegisterFunc=null},rt.getNamePath=function(){var Yn=rt.props,Ae=Yn.name,Ke=Yn.fieldContext,Mt=Ke.prefixName,Ut=Mt===void 0?[]:Mt;return Ae!==void 0?[].concat((0,O.Z)(Ut),(0,O.Z)(Ae)):[]},rt.getRules=function(){var Yn=rt.props,Ae=Yn.rules,Ke=Ae===void 0?[]:Ae,Mt=Yn.fieldContext;return Ke.map(function(Ut){return typeof Ut==\"function\"?Ut(Mt):Ut})},rt.refresh=function(){rt.mounted&&rt.setState(function(Yn){var Ae=Yn.resetCount;return{resetCount:Ae+1}})},rt.triggerMetaEvent=function(Yn){var Ae=rt.props.onMetaChange;Ae==null||Ae((0,w.Z)((0,w.Z)({},rt.getMeta()),{},{destroy:Yn}))},rt.onStoreChange=function(Yn,Ae,Ke){var Mt=rt.props,Ut=Mt.shouldUpdate,kn=Mt.dependencies,Zn=kn===void 0?[]:kn,lr=Mt.onReset,wr=Ke.store,Dr=rt.getNamePath(),go=rt.getValue(Yn),Ir=rt.getValue(wr),Jr=Ae&&(0,Ur.T1)(Ae,Dr);switch(Ke.type===\"valueUpdate\"&&Ke.source===\"external\"&&go!==Ir&&(rt.touched=!0,rt.dirty=!0,rt.validatePromise=null,rt.errors=pt,rt.warnings=pt,rt.triggerMetaEvent()),Ke.type){case\"reset\":if(!Ae||Jr){rt.touched=!1,rt.dirty=!1,rt.validatePromise=null,rt.errors=pt,rt.warnings=pt,rt.triggerMetaEvent(),lr==null||lr(),rt.refresh();return}break;case\"remove\":{if(Ut){rt.reRender();return}break}case\"setField\":{if(Jr){var _o=Ke.data;\"touched\"in _o&&(rt.touched=_o.touched),\"validating\"in _o&&!(\"originRCField\"in _o)&&(rt.validatePromise=_o.validating?Promise.resolve([]):null),\"errors\"in _o&&(rt.errors=_o.errors||pt),\"warnings\"in _o&&(rt.warnings=_o.warnings||pt),rt.dirty=!0,rt.triggerMetaEvent(),rt.reRender();return}if(Ut&&!Dr.length&&Ue(Ut,Yn,wr,go,Ir,Ke)){rt.reRender();return}break}case\"dependenciesUpdate\":{var No=Zn.map(Ur.gU);if(No.some(function(ii){return(0,Ur.T1)(Ke.relatedFields,ii)})){rt.reRender();return}break}default:if(Jr||(!Zn.length||Dr.length||Ut)&&Ue(Ut,Yn,wr,go,Ir,Ke)){rt.reRender();return}break}Ut===!0&&rt.reRender()},rt.validateRules=function(Yn){var Ae=rt.getNamePath(),Ke=rt.getValue(),Mt=Promise.resolve().then(function(){if(!rt.mounted)return[];var Ut=rt.props,kn=Ut.validateFirst,Zn=kn===void 0?!1:kn,lr=Ut.messageVariables,wr=Yn||{},Dr=wr.triggerName,go=rt.getRules();Dr&&(go=go.filter(function(Jr){return Jr}).filter(function(Jr){var _o=Jr.validateTrigger;if(!_o)return!0;var No=(0,E.q)(_o);return No.includes(Dr)}));var Ir=Wt(Ae,Ke,go,Yn,Zn,lr);return Ir.catch(function(Jr){return Jr}).then(function(){var Jr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:pt;if(rt.validatePromise===Mt){var _o;rt.validatePromise=null;var No=[],ii=[];(_o=Jr.forEach)===null||_o===void 0||_o.call(Jr,function(Lo){var ai=Lo.rule.warningOnly,Si=Lo.errors,Ui=Si===void 0?pt:Si;ai?ii.push.apply(ii,(0,O.Z)(Ui)):No.push.apply(No,(0,O.Z)(Ui))}),rt.errors=No,rt.warnings=ii,rt.triggerMetaEvent(),rt.reRender()}}),Ir});return rt.validatePromise=Mt,rt.dirty=!0,rt.errors=pt,rt.warnings=pt,rt.triggerMetaEvent(),rt.reRender(),Mt},rt.isFieldValidating=function(){return!!rt.validatePromise},rt.isFieldTouched=function(){return rt.touched},rt.isFieldDirty=function(){if(rt.dirty||rt.props.initialValue!==void 0)return!0;var Yn=rt.props.fieldContext,Ae=Yn.getInternalHooks(s),Ke=Ae.getInitialValue;return Ke(rt.getNamePath())!==void 0},rt.getErrors=function(){return rt.errors},rt.getWarnings=function(){return rt.warnings},rt.isListField=function(){return rt.props.isListField},rt.isList=function(){return rt.props.isList},rt.isPreserve=function(){return rt.props.preserve},rt.getMeta=function(){rt.prevValidating=rt.isFieldValidating();var Yn={touched:rt.isFieldTouched(),validating:rt.prevValidating,errors:rt.errors,warnings:rt.warnings,name:rt.getNamePath(),validated:rt.validatePromise===null};return Yn},rt.getOnlyChild=function(Yn){if(typeof Yn==\"function\"){var Ae=rt.getMeta();return(0,w.Z)((0,w.Z)({},rt.getOnlyChild(Yn(rt.getControlled(),Ae,rt.props.fieldContext))),{},{isFunction:!0})}var Ke=(0,h.Z)(Yn);return Ke.length!==1||!r.isValidElement(Ke[0])?{child:Ke,isFunction:!1}:{child:Ke[0],isFunction:!1}},rt.getValue=function(Yn){var Ae=rt.props.fieldContext.getFieldsValue,Ke=rt.getNamePath();return(0,Ur.NA)(Yn||Ae(!0),Ke)},rt.getControlled=function(){var Yn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ae=rt.props,Ke=Ae.trigger,Mt=Ae.validateTrigger,Ut=Ae.getValueFromEvent,kn=Ae.normalize,Zn=Ae.valuePropName,lr=Ae.getValueProps,wr=Ae.fieldContext,Dr=Mt!==void 0?Mt:wr.validateTrigger,go=rt.getNamePath(),Ir=wr.getInternalHooks,Jr=wr.getFieldsValue,_o=Ir(s),No=_o.dispatch,ii=rt.getValue(),Lo=lr||function(ln){return(0,C.Z)({},Zn,ln)},ai=Yn[Ke],Si=(0,w.Z)((0,w.Z)({},Yn),Lo(ii));Si[Ke]=function(){rt.touched=!0,rt.dirty=!0,rt.triggerMetaEvent();for(var ln,mn=arguments.length,fr=new Array(mn),ft=0;ft<mn;ft++)fr[ft]=arguments[ft];Ut?ln=Ut.apply(void 0,fr):ln=Ur.iZ.apply(void 0,[Zn].concat(fr)),kn&&(ln=kn(ln,ii,Jr(!0))),No({type:\"updateValue\",namePath:go,value:ln}),ai&&ai.apply(void 0,fr)};var Ui=(0,E.q)(Dr||[]);return Ui.forEach(function(ln){var mn=Si[ln];Si[ln]=function(){mn&&mn.apply(void 0,arguments);var fr=rt.props.rules;fr&&fr.length&&No({type:\"validateField\",namePath:go,triggerName:ln})}}),Si},nt.fieldContext){var Xt=nt.fieldContext.getInternalHooks,fn=Xt(s),Cn=fn.initEntityValue;Cn((0,u.Z)(rt))}return rt}return(0,p.Z)(je,[{key:\"componentDidMount\",value:function(){var rt=this.props,Xt=rt.shouldUpdate,fn=rt.fieldContext;if(this.mounted=!0,fn){var Cn=fn.getInternalHooks,Yn=Cn(s),Ae=Yn.registerField;this.cancelRegisterFunc=Ae(this)}Xt===!0&&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 rt=this.state.resetCount,Xt=this.props.children,fn=this.getOnlyChild(Xt),Cn=fn.child,Yn=fn.isFunction,Ae;return Yn?Ae=Cn:r.isValidElement(Cn)?Ae=r.cloneElement(Cn,this.getControlled(Cn.props)):((0,l.ZP)(!Cn,\"`children` of Field is not validate ReactElement.\"),Ae=Cn),r.createElement(r.Fragment,{key:rt},Ae)}}]),je}(r.Component);xt.contextType=M,xt.defaultProps={trigger:\"onChange\",valuePropName:\"value\"};function cn(br){var Re=br.name,je=(0,N.Z)(br,wt),nt=r.useContext(M),rt=Re!==void 0?(0,Ur.gU)(Re):void 0,Xt=\"keep\";return je.isListField||(Xt=\"_\".concat((rt||[]).join(\"_\"))),r.createElement(xt,(0,y.Z)({key:Xt,name:rt},je,{fieldContext:nt}))}var er=cn,Mr=r.createContext(null),xr=Mr,jr=function(Re){var je=Re.name,nt=Re.initialValue,rt=Re.children,Xt=Re.rules,fn=Re.validateTrigger,Cn=r.useContext(M),Yn=r.useRef({keys:[],id:0}),Ae=Yn.current,Ke=r.useMemo(function(){var Zn=(0,Ur.gU)(Cn.prefixName)||[];return[].concat((0,O.Z)(Zn),(0,O.Z)((0,Ur.gU)(je)))},[Cn.prefixName,je]),Mt=r.useMemo(function(){return(0,w.Z)((0,w.Z)({},Cn),{},{prefixName:Ke})},[Cn,Ke]),Ut=r.useMemo(function(){return{getKey:function(lr){var wr=Ke.length,Dr=lr[wr];return[Ae.keys[Dr],lr.slice(wr+1)]}}},[Ke]);if(typeof rt!=\"function\")return(0,l.ZP)(!1,\"Form.List only accepts function as children.\"),null;var kn=function(lr,wr,Dr){var go=Dr.source;return go===\"internal\"?!1:lr!==wr};return r.createElement(xr.Provider,{value:Ut},r.createElement(M.Provider,{value:Mt},r.createElement(er,{name:[],shouldUpdate:kn,rules:Xt,validateTrigger:fn,initialValue:nt,isList:!0},function(Zn,lr){var wr=Zn.value,Dr=wr===void 0?[]:wr,go=Zn.onChange,Ir=Cn.getFieldValue,Jr=function(){var Lo=Ir(Ke||[]);return Lo||[]},_o={add:function(Lo,ai){var Si=Jr();ai>=0&&ai<=Si.length?(Ae.keys=[].concat((0,O.Z)(Ae.keys.slice(0,ai)),[Ae.id],(0,O.Z)(Ae.keys.slice(ai))),go([].concat((0,O.Z)(Si.slice(0,ai)),[Lo],(0,O.Z)(Si.slice(ai))))):(Ae.keys=[].concat((0,O.Z)(Ae.keys),[Ae.id]),go([].concat((0,O.Z)(Si),[Lo]))),Ae.id+=1},remove:function(Lo){var ai=Jr(),Si=new Set(Array.isArray(Lo)?Lo:[Lo]);Si.size<=0||(Ae.keys=Ae.keys.filter(function(Ui,ln){return!Si.has(ln)}),go(ai.filter(function(Ui,ln){return!Si.has(ln)})))},move:function(Lo,ai){if(Lo!==ai){var Si=Jr();Lo<0||Lo>=Si.length||ai<0||ai>=Si.length||(Ae.keys=(0,Ur.pB)(Ae.keys,Lo,ai),go((0,Ur.pB)(Si,Lo,ai)))}}},No=Dr||[];return Array.isArray(No)||(No=[]),rt(No.map(function(ii,Lo){var ai=Ae.keys[Lo];return ai===void 0&&(Ae.keys[Lo]=Ae.id,ai=Ae.keys[Lo],Ae.id+=1),{name:Lo,key:ai,isListField:!0}}),_o,lr)})))},yo=jr,eo=c(91600);function vi(br){var Re=!1,je=br.length,nt=[];return br.length?new Promise(function(rt,Xt){br.forEach(function(fn,Cn){fn.catch(function(Yn){return Re=!0,Yn}).then(function(Yn){je-=1,nt[Cn]=Yn,!(je>0)&&(Re&&Xt(nt),rt(nt))})})}):Promise.resolve([])}var Ti=c(95971),wi=c(26143),mi=\"__@field_split__\";function Zi(br){return br.map(function(Re){return\"\".concat((0,wi.Z)(Re),\":\").concat(Re)}).join(mi)}var aa=function(){function br(){(0,b.Z)(this,br),this.kvs=new Map}return(0,p.Z)(br,[{key:\"set\",value:function(je,nt){this.kvs.set(Zi(je),nt)}},{key:\"get\",value:function(je){return this.kvs.get(Zi(je))}},{key:\"update\",value:function(je,nt){var rt=this.get(je),Xt=nt(rt);Xt?this.set(je,Xt):this.delete(je)}},{key:\"delete\",value:function(je){this.kvs.delete(Zi(je))}},{key:\"map\",value:function(je){return(0,O.Z)(this.kvs.entries()).map(function(nt){var rt=(0,eo.Z)(nt,2),Xt=rt[0],fn=rt[1],Cn=Xt.split(mi);return je({key:Cn.map(function(Yn){var Ae=Yn.match(/^([^:]*):(.*)$/),Ke=(0,eo.Z)(Ae,3),Mt=Ke[1],Ut=Ke[2];return Mt===\"number\"?Number(Ut):Ut}),value:fn})})}},{key:\"toJSON\",value:function(){var je={};return this.map(function(nt){var rt=nt.key,Xt=nt.value;return je[rt.join(\".\")]=Xt,null}),je}}]),br}(),$e=aa,dn=[\"name\",\"errors\"],Un=(0,p.Z)(function br(Re){var je=this;(0,b.Z)(this,br),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:je.getFieldValue,getFieldsValue:je.getFieldsValue,getFieldError:je.getFieldError,getFieldWarning:je.getFieldWarning,getFieldsError:je.getFieldsError,isFieldsTouched:je.isFieldsTouched,isFieldTouched:je.isFieldTouched,isFieldValidating:je.isFieldValidating,isFieldsValidating:je.isFieldsValidating,resetFields:je.resetFields,setFields:je.setFields,setFieldValue:je.setFieldValue,setFieldsValue:je.setFieldsValue,validateFields:je.validateFields,submit:je.submit,_init:!0,getInternalHooks:je.getInternalHooks}},this.getInternalHooks=function(nt){return nt===s?(je.formHooked=!0,{dispatch:je.dispatch,initEntityValue:je.initEntityValue,registerField:je.registerField,useSubscribe:je.useSubscribe,setInitialValues:je.setInitialValues,destroyForm:je.destroyForm,setCallbacks:je.setCallbacks,setValidateMessages:je.setValidateMessages,getFields:je.getFields,setPreserve:je.setPreserve,getInitialValue:je.getInitialValue,registerWatch:je.registerWatch}):((0,l.ZP)(!1,\"`getInternalHooks` is internal usage. Should not call directly.\"),null)},this.useSubscribe=function(nt){je.subscribable=nt},this.prevWithoutPreserves=null,this.setInitialValues=function(nt,rt){if(je.initialValues=nt||{},rt){var Xt,fn=(0,Ur.gg)({},nt,je.store);(Xt=je.prevWithoutPreserves)===null||Xt===void 0||Xt.map(function(Cn){var Yn=Cn.key;fn=(0,Ur.sO)(fn,Yn,(0,Ur.NA)(nt,Yn))}),je.prevWithoutPreserves=null,je.updateStore(fn)}},this.destroyForm=function(){var nt=new $e;je.getFieldEntities(!0).forEach(function(rt){je.isMergedPreserve(rt.isPreserve())||nt.set(rt.getNamePath(),!0)}),je.prevWithoutPreserves=nt},this.getInitialValue=function(nt){var rt=(0,Ur.NA)(je.initialValues,nt);return nt.length?(0,Ti.Z)(rt):rt},this.setCallbacks=function(nt){je.callbacks=nt},this.setValidateMessages=function(nt){je.validateMessages=nt},this.setPreserve=function(nt){je.preserve=nt},this.watchList=[],this.registerWatch=function(nt){return je.watchList.push(nt),function(){je.watchList=je.watchList.filter(function(rt){return rt!==nt})}},this.notifyWatch=function(){var nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(je.watchList.length){var rt=je.getFieldsValue();je.watchList.forEach(function(Xt){Xt(rt,nt)})}},this.timeoutId=null,this.warningUnhooked=function(){},this.updateStore=function(nt){je.store=nt},this.getFieldEntities=function(){var nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return nt?je.fieldEntities.filter(function(rt){return rt.getNamePath().length}):je.fieldEntities},this.getFieldsMap=function(){var nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,rt=new $e;return je.getFieldEntities(nt).forEach(function(Xt){var fn=Xt.getNamePath();rt.set(fn,Xt)}),rt},this.getFieldEntitiesForNamePathList=function(nt){if(!nt)return je.getFieldEntities(!0);var rt=je.getFieldsMap(!0);return nt.map(function(Xt){var fn=(0,Ur.gU)(Xt);return rt.get(fn)||{INVALIDATE_NAME_PATH:(0,Ur.gU)(Xt)}})},this.getFieldsValue=function(nt,rt){if(je.warningUnhooked(),nt===!0&&!rt)return je.store;var Xt=je.getFieldEntitiesForNamePathList(Array.isArray(nt)?nt:null),fn=[];return Xt.forEach(function(Cn){var Yn,Ae=\"INVALIDATE_NAME_PATH\"in Cn?Cn.INVALIDATE_NAME_PATH:Cn.getNamePath();if(!(!nt&&(!((Yn=Cn.isListField)===null||Yn===void 0)&&Yn.call(Cn))))if(!rt)fn.push(Ae);else{var Ke=\"getMeta\"in Cn?Cn.getMeta():null;rt(Ke)&&fn.push(Ae)}}),(0,Ur.H_)(je.store,fn.map(Ur.gU))},this.getFieldValue=function(nt){je.warningUnhooked();var rt=(0,Ur.gU)(nt);return(0,Ur.NA)(je.store,rt)},this.getFieldsError=function(nt){je.warningUnhooked();var rt=je.getFieldEntitiesForNamePathList(nt);return rt.map(function(Xt,fn){return Xt&&!(\"INVALIDATE_NAME_PATH\"in Xt)?{name:Xt.getNamePath(),errors:Xt.getErrors(),warnings:Xt.getWarnings()}:{name:(0,Ur.gU)(nt[fn]),errors:[],warnings:[]}})},this.getFieldError=function(nt){je.warningUnhooked();var rt=(0,Ur.gU)(nt),Xt=je.getFieldsError([rt])[0];return Xt.errors},this.getFieldWarning=function(nt){je.warningUnhooked();var rt=(0,Ur.gU)(nt),Xt=je.getFieldsError([rt])[0];return Xt.warnings},this.isFieldsTouched=function(){je.warningUnhooked();for(var nt=arguments.length,rt=new Array(nt),Xt=0;Xt<nt;Xt++)rt[Xt]=arguments[Xt];var fn=rt[0],Cn=rt[1],Yn,Ae=!1;rt.length===0?Yn=null:rt.length===1?Array.isArray(fn)?(Yn=fn.map(Ur.gU),Ae=!1):(Yn=null,Ae=fn):(Yn=fn.map(Ur.gU),Ae=Cn);var Ke=je.getFieldEntities(!0),Mt=function(wr){return wr.isFieldTouched()};if(!Yn)return Ae?Ke.every(Mt):Ke.some(Mt);var Ut=new $e;Yn.forEach(function(lr){Ut.set(lr,[])}),Ke.forEach(function(lr){var wr=lr.getNamePath();Yn.forEach(function(Dr){Dr.every(function(go,Ir){return wr[Ir]===go})&&Ut.update(Dr,function(go){return[].concat((0,O.Z)(go),[lr])})})});var kn=function(wr){return wr.some(Mt)},Zn=Ut.map(function(lr){var wr=lr.value;return wr});return Ae?Zn.every(kn):Zn.some(kn)},this.isFieldTouched=function(nt){return je.warningUnhooked(),je.isFieldsTouched([nt])},this.isFieldsValidating=function(nt){je.warningUnhooked();var rt=je.getFieldEntities();if(!nt)return rt.some(function(fn){return fn.isFieldValidating()});var Xt=nt.map(Ur.gU);return rt.some(function(fn){var Cn=fn.getNamePath();return(0,Ur.T1)(Xt,Cn)&&fn.isFieldValidating()})},this.isFieldValidating=function(nt){return je.warningUnhooked(),je.isFieldsValidating([nt])},this.resetWithFieldInitialValue=function(){var nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},rt=new $e,Xt=je.getFieldEntities(!0);Xt.forEach(function(Yn){var Ae=Yn.props.initialValue,Ke=Yn.getNamePath();if(Ae!==void 0){var Mt=rt.get(Ke)||new Set;Mt.add({entity:Yn,value:Ae}),rt.set(Ke,Mt)}});var fn=function(Ae){Ae.forEach(function(Ke){var Mt=Ke.props.initialValue;if(Mt!==void 0){var Ut=Ke.getNamePath(),kn=je.getInitialValue(Ut);if(kn!==void 0)(0,l.ZP)(!1,\"Form already set 'initialValues' with path '\".concat(Ut.join(\".\"),\"'. Field can not overwrite it.\"));else{var Zn=rt.get(Ut);if(Zn&&Zn.size>1)(0,l.ZP)(!1,\"Multiple Field with path '\".concat(Ut.join(\".\"),\"' set 'initialValue'. Can not decide which one to pick.\"));else if(Zn){var lr=je.getFieldValue(Ut);(!nt.skipExist||lr===void 0)&&je.updateStore((0,Ur.sO)(je.store,Ut,(0,O.Z)(Zn)[0].value))}}}})},Cn;nt.entities?Cn=nt.entities:nt.namePathList?(Cn=[],nt.namePathList.forEach(function(Yn){var Ae=rt.get(Yn);if(Ae){var Ke;(Ke=Cn).push.apply(Ke,(0,O.Z)((0,O.Z)(Ae).map(function(Mt){return Mt.entity})))}})):Cn=Xt,fn(Cn)},this.resetFields=function(nt){je.warningUnhooked();var rt=je.store;if(!nt){je.updateStore((0,Ur.gg)({},je.initialValues)),je.resetWithFieldInitialValue(),je.notifyObservers(rt,null,{type:\"reset\"}),je.notifyWatch();return}var Xt=nt.map(Ur.gU);Xt.forEach(function(fn){var Cn=je.getInitialValue(fn);je.updateStore((0,Ur.sO)(je.store,fn,Cn))}),je.resetWithFieldInitialValue({namePathList:Xt}),je.notifyObservers(rt,Xt,{type:\"reset\"}),je.notifyWatch(Xt)},this.setFields=function(nt){je.warningUnhooked();var rt=je.store,Xt=[];nt.forEach(function(fn){var Cn=fn.name,Yn=fn.errors,Ae=(0,N.Z)(fn,dn),Ke=(0,Ur.gU)(Cn);Xt.push(Ke),\"value\"in Ae&&je.updateStore((0,Ur.sO)(je.store,Ke,Ae.value)),je.notifyObservers(rt,[Ke],{type:\"setField\",data:fn})}),je.notifyWatch(Xt)},this.getFields=function(){var nt=je.getFieldEntities(!0),rt=nt.map(function(Xt){var fn=Xt.getNamePath(),Cn=Xt.getMeta(),Yn=(0,w.Z)((0,w.Z)({},Cn),{},{name:fn,value:je.getFieldValue(fn)});return Object.defineProperty(Yn,\"originRCField\",{value:!0}),Yn});return rt},this.initEntityValue=function(nt){var rt=nt.props.initialValue;if(rt!==void 0){var Xt=nt.getNamePath(),fn=(0,Ur.NA)(je.store,Xt);fn===void 0&&je.updateStore((0,Ur.sO)(je.store,Xt,rt))}},this.isMergedPreserve=function(nt){var rt=nt!==void 0?nt:je.preserve;return rt!=null?rt:!0},this.registerField=function(nt){je.fieldEntities.push(nt);var rt=nt.getNamePath();if(je.notifyWatch([rt]),nt.props.initialValue!==void 0){var Xt=je.store;je.resetWithFieldInitialValue({entities:[nt],skipExist:!0}),je.notifyObservers(Xt,[nt.getNamePath()],{type:\"valueUpdate\",source:\"internal\"})}return function(fn,Cn){var Yn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(je.fieldEntities=je.fieldEntities.filter(function(Mt){return Mt!==nt}),!je.isMergedPreserve(Cn)&&(!fn||Yn.length>1)){var Ae=fn?void 0:je.getInitialValue(rt);if(rt.length&&je.getFieldValue(rt)!==Ae&&je.fieldEntities.every(function(Mt){return!(0,Ur.LX)(Mt.getNamePath(),rt)})){var Ke=je.store;je.updateStore((0,Ur.sO)(Ke,rt,Ae,!0)),je.notifyObservers(Ke,[rt],{type:\"remove\"}),je.triggerDependenciesUpdate(Ke,rt)}}je.notifyWatch([rt])}},this.dispatch=function(nt){switch(nt.type){case\"updateValue\":{var rt=nt.namePath,Xt=nt.value;je.updateValue(rt,Xt);break}case\"validateField\":{var fn=nt.namePath,Cn=nt.triggerName;je.validateFields([fn],{triggerName:Cn});break}default:}},this.notifyObservers=function(nt,rt,Xt){if(je.subscribable){var fn=(0,w.Z)((0,w.Z)({},Xt),{},{store:je.getFieldsValue(!0)});je.getFieldEntities().forEach(function(Cn){var Yn=Cn.onStoreChange;Yn(nt,rt,fn)})}else je.forceRootUpdate()},this.triggerDependenciesUpdate=function(nt,rt){var Xt=je.getDependencyChildrenFields(rt);return Xt.length&&je.validateFields(Xt),je.notifyObservers(nt,Xt,{type:\"dependenciesUpdate\",relatedFields:[rt].concat((0,O.Z)(Xt))}),Xt},this.updateValue=function(nt,rt){var Xt=(0,Ur.gU)(nt),fn=je.store;je.updateStore((0,Ur.sO)(je.store,Xt,rt)),je.notifyObservers(fn,[Xt],{type:\"valueUpdate\",source:\"internal\"}),je.notifyWatch([Xt]);var Cn=je.triggerDependenciesUpdate(fn,Xt),Yn=je.callbacks.onValuesChange;if(Yn){var Ae=(0,Ur.H_)(je.store,[Xt]);Yn(Ae,je.getFieldsValue())}je.triggerOnFieldsChange([Xt].concat((0,O.Z)(Cn)))},this.setFieldsValue=function(nt){je.warningUnhooked();var rt=je.store;if(nt){var Xt=(0,Ur.gg)(je.store,nt);je.updateStore(Xt)}je.notifyObservers(rt,null,{type:\"valueUpdate\",source:\"external\"}),je.notifyWatch()},this.setFieldValue=function(nt,rt){je.setFields([{name:nt,value:rt}])},this.getDependencyChildrenFields=function(nt){var rt=new Set,Xt=[],fn=new $e;je.getFieldEntities().forEach(function(Yn){var Ae=Yn.props.dependencies;(Ae||[]).forEach(function(Ke){var Mt=(0,Ur.gU)(Ke);fn.update(Mt,function(){var Ut=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return Ut.add(Yn),Ut})})});var Cn=function Yn(Ae){var Ke=fn.get(Ae)||new Set;Ke.forEach(function(Mt){if(!rt.has(Mt)){rt.add(Mt);var Ut=Mt.getNamePath();Mt.isFieldDirty()&&Ut.length&&(Xt.push(Ut),Yn(Ut))}})};return Cn(nt),Xt},this.triggerOnFieldsChange=function(nt,rt){var Xt=je.callbacks.onFieldsChange;if(Xt){var fn=je.getFields();if(rt){var Cn=new $e;rt.forEach(function(Ae){var Ke=Ae.name,Mt=Ae.errors;Cn.set(Ke,Mt)}),fn.forEach(function(Ae){Ae.errors=Cn.get(Ae.name)||Ae.errors})}var Yn=fn.filter(function(Ae){var Ke=Ae.name;return(0,Ur.T1)(nt,Ke)});Xt(Yn,fn)}},this.validateFields=function(nt,rt){je.warningUnhooked();var Xt=!!nt,fn=Xt?nt.map(Ur.gU):[],Cn=[];je.getFieldEntities(!0).forEach(function(Ke){if(Xt||fn.push(Ke.getNamePath()),rt!=null&&rt.recursive&&Xt){var Mt=Ke.getNamePath();Mt.every(function(Zn,lr){return nt[lr]===Zn||nt[lr]===void 0})&&fn.push(Mt)}if(!(!Ke.props.rules||!Ke.props.rules.length)){var Ut=Ke.getNamePath();if(!Xt||(0,Ur.T1)(fn,Ut)){var kn=Ke.validateRules((0,w.Z)({validateMessages:(0,w.Z)((0,w.Z)({},ko),je.validateMessages)},rt));Cn.push(kn.then(function(){return{name:Ut,errors:[],warnings:[]}}).catch(function(Zn){var lr,wr=[],Dr=[];return(lr=Zn.forEach)===null||lr===void 0||lr.call(Zn,function(go){var Ir=go.rule.warningOnly,Jr=go.errors;Ir?Dr.push.apply(Dr,(0,O.Z)(Jr)):wr.push.apply(wr,(0,O.Z)(Jr))}),wr.length?Promise.reject({name:Ut,errors:wr,warnings:Dr}):{name:Ut,errors:wr,warnings:Dr}}))}}});var Yn=vi(Cn);je.lastValidatePromise=Yn,Yn.catch(function(Ke){return Ke}).then(function(Ke){var Mt=Ke.map(function(Ut){var kn=Ut.name;return kn});je.notifyObservers(je.store,Mt,{type:\"validateFinish\"}),je.triggerOnFieldsChange(Mt,Ke)});var Ae=Yn.then(function(){return je.lastValidatePromise===Yn?Promise.resolve(je.getFieldsValue(fn)):Promise.reject([])}).catch(function(Ke){var Mt=Ke.filter(function(Ut){return Ut&&Ut.errors.length});return Promise.reject({values:je.getFieldsValue(fn),errorFields:Mt,outOfDate:je.lastValidatePromise!==Yn})});return Ae.catch(function(Ke){return Ke}),Ae},this.submit=function(){je.warningUnhooked(),je.validateFields().then(function(nt){var rt=je.callbacks.onFinish;if(rt)try{rt(nt)}catch(Xt){console.error(Xt)}}).catch(function(nt){var rt=je.callbacks.onFinishFailed;rt&&rt(nt)})},this.forceRootUpdate=Re});function ar(br){var Re=r.useRef(),je=r.useState({}),nt=(0,eo.Z)(je,2),rt=nt[1];if(!Re.current)if(br)Re.current=br;else{var Xt=function(){rt({})},fn=new Un(Xt);Re.current=fn.getForm()}return[Re.current]}var Rr=ar,Ro=r.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),Vo=function(Re){var je=Re.validateMessages,nt=Re.onFormChange,rt=Re.onFormFinish,Xt=Re.children,fn=r.useContext(Ro),Cn=r.useRef({});return r.createElement(Ro.Provider,{value:(0,w.Z)((0,w.Z)({},fn),{},{validateMessages:(0,w.Z)((0,w.Z)({},fn.validateMessages),je),triggerFormChange:function(Ae,Ke){nt&&nt(Ae,{changedFields:Ke,forms:Cn.current}),fn.triggerFormChange(Ae,Ke)},triggerFormFinish:function(Ae,Ke){rt&&rt(Ae,{values:Ke,forms:Cn.current}),fn.triggerFormFinish(Ae,Ke)},registerForm:function(Ae,Ke){Ae&&(Cn.current=(0,w.Z)((0,w.Z)({},Cn.current),{},(0,C.Z)({},Ae,Ke))),fn.registerForm(Ae,Ke)},unregisterForm:function(Ae){var Ke=(0,w.Z)({},Cn.current);delete Ke[Ae],Cn.current=Ke,fn.unregisterForm(Ae)}})},Xt)},Co=Ro,Mo=[\"name\",\"initialValues\",\"fields\",\"form\",\"preserve\",\"children\",\"component\",\"validateMessages\",\"validateTrigger\",\"onValuesChange\",\"onFieldsChange\",\"onFinish\",\"onFinishFailed\"],qo=function(Re,je){var nt=Re.name,rt=Re.initialValues,Xt=Re.fields,fn=Re.form,Cn=Re.preserve,Yn=Re.children,Ae=Re.component,Ke=Ae===void 0?\"form\":Ae,Mt=Re.validateMessages,Ut=Re.validateTrigger,kn=Ut===void 0?\"onChange\":Ut,Zn=Re.onValuesChange,lr=Re.onFieldsChange,wr=Re.onFinish,Dr=Re.onFinishFailed,go=(0,N.Z)(Re,Mo),Ir=r.useContext(Co),Jr=Rr(fn),_o=(0,eo.Z)(Jr,1),No=_o[0],ii=No.getInternalHooks(s),Lo=ii.useSubscribe,ai=ii.setInitialValues,Si=ii.setCallbacks,Ui=ii.setValidateMessages,ln=ii.setPreserve,mn=ii.destroyForm;r.useImperativeHandle(je,function(){return No}),r.useEffect(function(){return Ir.registerForm(nt,No),function(){Ir.unregisterForm(nt)}},[Ir,No,nt]),Ui((0,w.Z)((0,w.Z)({},Ir.validateMessages),Mt)),Si({onValuesChange:Zn,onFieldsChange:function(dr){if(Ir.triggerFormChange(nt,dr),lr){for(var Ar=arguments.length,Gr=new Array(Ar>1?Ar-1:0),Pr=1;Pr<Ar;Pr++)Gr[Pr-1]=arguments[Pr];lr.apply(void 0,[dr].concat(Gr))}},onFinish:function(dr){Ir.triggerFormFinish(nt,dr),wr&&wr(dr)},onFinishFailed:Dr}),ln(Cn);var fr=r.useRef(null);ai(rt,!fr.current),fr.current||(fr.current=!0),r.useEffect(function(){return mn},[]);var ft,ct=typeof Yn==\"function\";if(ct){var tn=No.getFieldsValue(!0);ft=Yn(tn,No)}else ft=Yn;Lo(!ct);var An=r.useRef();r.useEffect(function(){(0,Ur.T0)(An.current||[],Xt||[])||No.setFields(Xt||[]),An.current=Xt},[Xt,No]);var Rt=r.useMemo(function(){return(0,w.Z)((0,w.Z)({},No),{},{validateTrigger:kn})},[No,kn]),un=r.createElement(M.Provider,{value:Rt},ft);return Ke===!1?un:r.createElement(Ke,(0,y.Z)({},go,{onSubmit:function(dr){dr.preventDefault(),dr.stopPropagation(),No.submit()},onReset:function(dr){var Ar;dr.preventDefault(),No.resetFields(),(Ar=go.onReset)===null||Ar===void 0||Ar.call(go,dr)}}),un)},ti=qo;function pi(br){try{return JSON.stringify(br)}catch(Re){return Math.random()}}var ni=function(){};function si(){for(var br=arguments.length,Re=new Array(br),je=0;je<br;je++)Re[je]=arguments[je];var nt=Re[0],rt=nt===void 0?[]:nt,Xt=Re[1],fn=(0,r.useState)(),Cn=(0,eo.Z)(fn,2),Yn=Cn[0],Ae=Cn[1],Ke=(0,r.useMemo)(function(){return pi(Yn)},[Yn]),Mt=(0,r.useRef)(Ke);Mt.current=Ke;var Ut=(0,r.useContext)(M),kn=Xt||Ut,Zn=kn&&kn._init,lr=(0,Ur.gU)(rt),wr=(0,r.useRef)(lr);return wr.current=lr,ni(lr),(0,r.useEffect)(function(){if(Zn){var Dr=kn.getFieldsValue,go=kn.getInternalHooks,Ir=go(s),Jr=Ir.registerWatch,_o=Jr(function(ii){var Lo=(0,Ur.NA)(ii,wr.current),ai=pi(Lo);Mt.current!==ai&&(Mt.current=ai,Ae(Lo))}),No=(0,Ur.NA)(Dr(),wr.current);return Ae(No),_o}},[Zn]),Yn}var Oi=si,Ki=r.forwardRef(ti),ca=Ki;ca.FormProvider=Vo,ca.Field=er,ca.List=yo,ca.useForm=Rr,ca.useWatch=Oi;var zi=null},95971:function(Pt,Ee,c){\"use strict\";var r=c(26143);function y(w){return Array.isArray(w)?C(w):(0,r.Z)(w)===\"object\"&&w!==null?N(w):w}function N(w){if(Object.getPrototypeOf(w)===Object.prototype){var O={};for(var b in w)O[b]=y(w[b]);return O}return w}function C(w){return w.map(function(O){return y(O)})}Ee.Z=y},86698:function(Pt,Ee,c){\"use strict\";c.d(Ee,{q:function(){return r}});function r(y){return y==null?[]:Array.isArray(y)?y:[y]}},63309:function(Pt,Ee,c){\"use strict\";c.d(Ee,{H_:function(){return l},T1:function(){return s},iZ:function(){return L},gU:function(){return a},NA:function(){return f},T0:function(){return j},LX:function(){return E},pB:function(){return A},sO:function(){return h},gg:function(){return M}});var r=c(75782),y=c(49544),N=c(26143);function C(J,q){for(var re=J,me=0;me<q.length;me+=1){if(re==null)return;re=re[q[me]]}return re}var w=c(9942);function O(J,q,re,me){if(!q.length)return re;var Te=(0,w.Z)(q),ee=Te[0],xe=Te.slice(1),Ie;return!J&&typeof ee==\"number\"?Ie=[]:Array.isArray(J)?Ie=(0,y.Z)(J):Ie=(0,r.Z)({},J),me&&re===void 0&&xe.length===1?delete Ie[ee][xe[0]]:Ie[ee]=O(Ie[ee],xe,re,me),Ie}function b(J,q,re){var me=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return q.length&&me&&re===void 0&&!C(J,q.slice(0,-1))?J:O(J,q,re,me)}var p=c(86698),u=c(95971);function a(J){return(0,p.q)(J)}function f(J,q){var re=C(J,q);return re}function h(J,q,re){var me=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Te=b(J,q,re,me);return Te}function l(J,q){var re={};return q.forEach(function(me){var Te=f(J,me);re=h(re,me,Te)}),re}function s(J,q){return J&&J.some(function(re){return E(re,q)})}function m(J){return(0,N.Z)(J)===\"object\"&&J!==null&&Object.getPrototypeOf(J)===Object.prototype}function x(J,q){var re=Array.isArray(J)?(0,y.Z)(J):(0,r.Z)({},J);return q&&Object.keys(q).forEach(function(me){var Te=re[me],ee=q[me],xe=m(Te)&&m(ee);re[me]=xe?x(Te,ee||{}):(0,u.Z)(ee)}),re}function M(J){for(var q=arguments.length,re=new Array(q>1?q-1:0),me=1;me<q;me++)re[me-1]=arguments[me];return re.reduce(function(Te,ee){return x(Te,ee)},J)}function E(J,q){return!J||!q||J.length!==q.length?!1:J.every(function(re,me){return q[me]===re})}function j(J,q){if(J===q)return!0;if(!J&&q||J&&!q||!J||!q||(0,N.Z)(J)!==\"object\"||(0,N.Z)(q)!==\"object\")return!1;var re=Object.keys(J),me=Object.keys(q),Te=new Set([].concat(re,me));return(0,y.Z)(Te).every(function(ee){var xe=J[ee],Ie=q[ee];return typeof xe==\"function\"&&typeof Ie==\"function\"?!0:xe===Ie})}function L(J){var q=arguments.length<=1?void 0:arguments[1];return q&&q.target&&(0,N.Z)(q.target)===\"object\"&&J in q.target?q.target[J]:q}function A(J,q,re){var me=J.length;if(q<0||q>=me||re<0||re>=me)return J;var Te=J[q],ee=q-re;return ee>0?[].concat((0,y.Z)(J.slice(0,re)),[Te],(0,y.Z)(J.slice(re,q)),(0,y.Z)(J.slice(q+1,me))):ee<0?[].concat((0,y.Z)(J.slice(0,q)),(0,y.Z)(J.slice(q+1,re+1)),[Te],(0,y.Z)(J.slice(re+1,me))):J}},85715:function(Pt,Ee,c){\"use strict\";c.d(Ee,{G:function(){return l},Z:function(){return M}});var r=c(51163),y=c(75782),N=c(58733),C=c(14254),w=c(50959),O={shiftX:64,adjustY:1},b={adjustX:1,shiftY:!0},p=[0,0],u={left:{points:[\"cr\",\"cl\"],overflow:b,offset:[-4,0],targetOffset:p},right:{points:[\"cl\",\"cr\"],overflow:b,offset:[4,0],targetOffset:p},top:{points:[\"bc\",\"tc\"],overflow:O,offset:[0,-4],targetOffset:p},bottom:{points:[\"tc\",\"bc\"],overflow:O,offset:[0,4],targetOffset:p},topLeft:{points:[\"bl\",\"tl\"],overflow:O,offset:[0,-4],targetOffset:p},leftTop:{points:[\"tr\",\"tl\"],overflow:b,offset:[-4,0],targetOffset:p},topRight:{points:[\"br\",\"tr\"],overflow:O,offset:[0,-4],targetOffset:p},rightTop:{points:[\"tl\",\"tr\"],overflow:b,offset:[4,0],targetOffset:p},bottomRight:{points:[\"tr\",\"br\"],overflow:O,offset:[0,4],targetOffset:p},rightBottom:{points:[\"bl\",\"br\"],overflow:b,offset:[4,0],targetOffset:p},bottomLeft:{points:[\"tl\",\"bl\"],overflow:O,offset:[0,4],targetOffset:p},leftBottom:{points:[\"br\",\"bl\"],overflow:b,offset:[-4,0],targetOffset:p}},a=null,f=c(84875),h=c.n(f);function l(E){var j=E.children,L=E.prefixCls,A=E.id,J=E.overlayInnerStyle,q=E.className,re=E.style;return w.createElement(\"div\",{className:h()(\"\".concat(L,\"-content\"),q),style:re},w.createElement(\"div\",{className:\"\".concat(L,\"-inner\"),id:A,role:\"tooltip\",style:J},typeof j==\"function\"?j():j))}var s=[\"overlayClassName\",\"trigger\",\"mouseEnterDelay\",\"mouseLeaveDelay\",\"overlayStyle\",\"prefixCls\",\"children\",\"onVisibleChange\",\"afterVisibleChange\",\"transitionName\",\"animation\",\"motion\",\"placement\",\"align\",\"destroyTooltipOnHide\",\"defaultVisible\",\"getTooltipContainer\",\"overlayInnerStyle\",\"arrowContent\",\"overlay\",\"id\",\"showArrow\"],m=function(j,L){var A=j.overlayClassName,J=j.trigger,q=J===void 0?[\"hover\"]:J,re=j.mouseEnterDelay,me=re===void 0?0:re,Te=j.mouseLeaveDelay,ee=Te===void 0?.1:Te,xe=j.overlayStyle,Ie=j.prefixCls,Le=Ie===void 0?\"rc-tooltip\":Ie,De=j.children,ce=j.onVisibleChange,ye=j.afterVisibleChange,Oe=j.transitionName,Ce=j.animation,oe=j.motion,he=j.placement,ie=he===void 0?\"right\":he,ae=j.align,ve=ae===void 0?{}:ae,X=j.destroyTooltipOnHide,se=X===void 0?!1:X,fe=j.defaultVisible,_e=j.getTooltipContainer,be=j.overlayInnerStyle,We=j.arrowContent,we=j.overlay,Ze=j.id,Ve=j.showArrow,et=Ve===void 0?!0:Ve,ht=(0,N.Z)(j,s),Fe=(0,w.useRef)(null);(0,w.useImperativeHandle)(L,function(){return Fe.current});var mt=(0,y.Z)({},ht);\"visible\"in j&&(mt.popupVisible=j.visible);var dt=function(){return w.createElement(l,{key:\"content\",prefixCls:Le,id:Ze,overlayInnerStyle:be},we)};return w.createElement(C.Z,(0,r.Z)({popupClassName:A,prefixCls:Le,popup:dt,action:q,builtinPlacements:u,popupPlacement:ie,ref:Fe,popupAlign:ve,getPopupContainer:_e,onPopupVisibleChange:ce,afterPopupVisibleChange:ye,popupTransitionName:Oe,popupAnimation:Ce,popupMotion:oe,defaultPopupVisible:fe,autoDestroy:se,mouseLeaveDelay:ee,popupStyle:xe,mouseEnterDelay:me,arrow:et},mt),De)},x=(0,w.forwardRef)(m),M=x},52797:function(Pt,Ee,c){\"use strict\";c.d(Ee,{hq:function(){return m},jL:function(){return h}});var r=c(61237),y=c(89013),N=\"data-rc-order\",C=\"rc-util-key\",w=new Map;function O(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},M=x.mark;return M?M.startsWith(\"data-\")?M:\"data-\".concat(M):C}function b(x){if(x.attachTo)return x.attachTo;var M=document.querySelector(\"head\");return M||document.body}function p(x){return x===\"queue\"?\"prependQueue\":x?\"prepend\":\"append\"}function u(x){return Array.from((w.get(x)||x).children).filter(function(M){return M.tagName===\"STYLE\"})}function a(x){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,r.Z)())return null;var E=M.csp,j=M.prepend,L=document.createElement(\"style\");L.setAttribute(N,p(j)),E!=null&&E.nonce&&(L.nonce=E==null?void 0:E.nonce),L.innerHTML=x;var A=b(M),J=A.firstChild;if(j){if(j===\"queue\"){var q=u(A).filter(function(re){return[\"prepend\",\"prependQueue\"].includes(re.getAttribute(N))});if(q.length)return A.insertBefore(L,q[q.length-1].nextSibling),L}A.insertBefore(L,J)}else A.appendChild(L);return L}function f(x){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},E=b(M);return u(E).find(function(j){return j.getAttribute(O(M))===x})}function h(x){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},E=f(x,M);if(E){var j=b(M);j.removeChild(E)}}function l(x,M){var E=w.get(x);if(!E||!(0,y.Z)(document,E)){var j=a(\"\",M),L=j.parentNode;w.set(x,L),x.removeChild(j)}}function s(){w.clear()}function m(x,M){var E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},j=b(E);l(j,E);var L=f(M,E);if(L){var A,J;if((A=E.csp)!==null&&A!==void 0&&A.nonce&&L.nonce!==((J=E.csp)===null||J===void 0?void 0:J.nonce)){var q;L.nonce=(q=E.csp)===null||q===void 0?void 0:q.nonce}return L.innerHTML!==x&&(L.innerHTML=x),L}var re=a(x,E);return re.setAttribute(O(E),M),re}},42622:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return p}});var r=c(75782),y=`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`,N=`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`,C=\"\".concat(y,\" \").concat(N).split(/[\\s\\n]+/),w=\"aria-\",O=\"data-\";function b(u,a){return u.indexOf(a)===0}function p(u){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,f;a===!1?f={aria:!0,data:!0,attr:!0}:a===!0?f={aria:!0}:f=(0,r.Z)({},a);var h={};return Object.keys(u).forEach(function(l){(f.aria&&(l===\"role\"||b(l,w))||f.data&&b(l,O)||f.attr&&C.includes(l))&&(h[l]=u[l])}),h}},51206:function(Pt,Ee,c){\"use strict\";c.d(Ee,{Z:function(){return _e}});var r=c(51163),y=c(24572),N=c(75782),C=c(91600),w=c(58733),O=c(50959),b=c(84875),p=c.n(b),u=c(60555),a=O.forwardRef(function(be,We){var we=be.height,Ze=be.offset,Ve=be.children,et=be.prefixCls,ht=be.onInnerResize,Fe=be.innerProps,mt={},dt={display:\"flex\",flexDirection:\"column\"};return Ze!==void 0&&(mt={height:we,position:\"relative\",overflow:\"hidden\"},dt=(0,N.Z)((0,N.Z)({},dt),{},{transform:\"translateY(\".concat(Ze,\"px)\"),position:\"absolute\",left:0,right:0,top:0})),O.createElement(\"div\",{style:mt},O.createElement(u.Z,{onResize:function(lt){var rn=lt.offsetHeight;rn&&ht&&ht()}},O.createElement(\"div\",(0,r.Z)({style:dt,className:p()((0,y.Z)({},\"\".concat(et,\"-holder-inner\"),et)),ref:We},Fe),Ve)))});a.displayName=\"Filler\";var f=a,h=c(40936),l=c(49962),s=c(39027),m=c(76614),x=c(40086),M=20;function E(be){return\"touches\"in be?be.touches[0].pageY:be.pageY}var j=function(be){(0,s.Z)(we,be);var We=(0,m.Z)(we);function we(){var Ze;(0,h.Z)(this,we);for(var Ve=arguments.length,et=new Array(Ve),ht=0;ht<Ve;ht++)et[ht]=arguments[ht];return Ze=We.call.apply(We,[this].concat(et)),Ze.moveRaf=null,Ze.scrollbarRef=O.createRef(),Ze.thumbRef=O.createRef(),Ze.visibleTimeout=null,Ze.state={dragging:!1,pageY:null,startTop:null,visible:!1},Ze.delayHidden=function(){clearTimeout(Ze.visibleTimeout),Ze.setState({visible:!0}),Ze.visibleTimeout=setTimeout(function(){Ze.setState({visible:!1})},2e3)},Ze.onScrollbarTouchStart=function(Fe){Fe.preventDefault()},Ze.onContainerMouseDown=function(Fe){Fe.stopPropagation(),Fe.preventDefault()},Ze.patchEvents=function(){window.addEventListener(\"mousemove\",Ze.onMouseMove),window.addEventListener(\"mouseup\",Ze.onMouseUp),Ze.thumbRef.current.addEventListener(\"touchmove\",Ze.onMouseMove),Ze.thumbRef.current.addEventListener(\"touchend\",Ze.onMouseUp)},Ze.removeEvents=function(){var Fe;window.removeEventListener(\"mousemove\",Ze.onMouseMove),window.removeEventListener(\"mouseup\",Ze.onMouseUp),(Fe=Ze.scrollbarRef.current)===null||Fe===void 0||Fe.removeEventListener(\"touchstart\",Ze.onScrollbarTouchStart),Ze.thumbRef.current&&(Ze.thumbRef.current.removeEventListener(\"touchstart\",Ze.onMouseDown),Ze.thumbRef.current.removeEventListener(\"touchmove\",Ze.onMouseMove),Ze.thumbRef.current.removeEventListener(\"touchend\",Ze.onMouseUp)),x.Z.cancel(Ze.moveRaf)},Ze.onMouseDown=function(Fe){var mt=Ze.props.onStartMove;Ze.setState({dragging:!0,pageY:E(Fe),startTop:Ze.getTop()}),mt(),Ze.patchEvents(),Fe.stopPropagation(),Fe.preventDefault()},Ze.onMouseMove=function(Fe){var mt=Ze.state,dt=mt.dragging,Lt=mt.pageY,lt=mt.startTop,rn=Ze.props.onScroll;if(x.Z.cancel(Ze.moveRaf),dt){var qt=E(Fe)-Lt,hn=lt+qt,Kt=Ze.getEnableScrollRange(),an=Ze.getEnableHeightRange(),In=an?hn/an:0,Ft=Math.ceil(In*Kt);Ze.moveRaf=(0,x.Z)(function(){rn(Ft)})}},Ze.onMouseUp=function(){var Fe=Ze.props.onStopMove;Ze.setState({dragging:!1}),Fe(),Ze.removeEvents()},Ze.getSpinHeight=function(){var Fe=Ze.props,mt=Fe.height,dt=Fe.count,Lt=mt/dt*10;return Lt=Math.max(Lt,M),Lt=Math.min(Lt,mt/2),Math.floor(Lt)},Ze.getEnableScrollRange=function(){var Fe=Ze.props,mt=Fe.scrollHeight,dt=Fe.height;return mt-dt||0},Ze.getEnableHeightRange=function(){var Fe=Ze.props.height,mt=Ze.getSpinHeight();return Fe-mt||0},Ze.getTop=function(){var Fe=Ze.props.scrollTop,mt=Ze.getEnableScrollRange(),dt=Ze.getEnableHeightRange();if(Fe===0||mt===0)return 0;var Lt=Fe/mt;return Lt*dt},Ze.showScroll=function(){var Fe=Ze.props,mt=Fe.height,dt=Fe.scrollHeight;return dt>mt},Ze}return(0,l.Z)(we,[{key:\"componentDidMount\",value:function(){this.scrollbarRef.current.addEventListener(\"touchstart\",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener(\"touchstart\",this.onMouseDown)}},{key:\"componentDidUpdate\",value:function(Ve){Ve.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:\"componentWillUnmount\",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:\"render\",value:function(){var Ve=this.state,et=Ve.dragging,ht=Ve.visible,Fe=this.props.prefixCls,mt=this.getSpinHeight(),dt=this.getTop(),Lt=this.showScroll(),lt=Lt&&ht;return O.createElement(\"div\",{ref:this.scrollbarRef,className:p()(\"\".concat(Fe,\"-scrollbar\"),(0,y.Z)({},\"\".concat(Fe,\"-scrollbar-show\"),Lt)),style:{width:8,top:0,bottom:0,right:0,position:\"absolute\",display:lt?null:\"none\"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},O.createElement(\"div\",{ref:this.thumbRef,className:p()(\"\".concat(Fe,\"-scrollbar-thumb\"),(0,y.Z)({},\"\".concat(Fe,\"-scrollbar-thumb-moving\"),et)),style:{width:\"100%\",height:mt,top:dt,left:0,position:\"absolute\",background:\"rgba(0, 0, 0, 0.5)\",borderRadius:99,cursor:\"pointer\",userSelect:\"none\"},onMouseDown:this.onMouseDown}))}}]),we}(O.Component);function L(be){var We=be.children,we=be.setRef,Ze=O.useCallback(function(Ve){we(Ve)},[]);return O.cloneElement(We,{ref:Ze})}function A(be,We,we,Ze,Ve,et){var ht=et.getKey;return be.slice(We,we+1).map(function(Fe,mt){var dt=We+mt,Lt=Ve(Fe,dt,{}),lt=ht(Fe);return O.createElement(L,{key:lt,setRef:function(qt){return Ze(Fe,qt)}},Lt)})}var J=c(90899),q=function(){function be(){(0,h.Z)(this,be),this.maps=void 0,this.maps=Object.create(null)}return(0,l.Z)(be,[{key:\"set\",value:function(we,Ze){this.maps[we]=Ze}},{key:\"get\",value:function(we){return this.maps[we]}}]),be}(),re=q;function me(be,We,we){var Ze=O.useState(0),Ve=(0,C.Z)(Ze,2),et=Ve[0],ht=Ve[1],Fe=(0,O.useRef)(new Map),mt=(0,O.useRef)(new re),dt=(0,O.useRef)();function Lt(){x.Z.cancel(dt.current)}function lt(){Lt(),dt.current=(0,x.Z)(function(){Fe.current.forEach(function(qt,hn){if(qt&&qt.offsetParent){var Kt=(0,J.Z)(qt),an=Kt.offsetHeight;mt.current.get(hn)!==an&&mt.current.set(hn,Kt.offsetHeight)}}),ht(function(qt){return qt+1})})}function rn(qt,hn){var Kt=be(qt),an=Fe.current.get(Kt);hn?(Fe.current.set(Kt,hn),lt()):Fe.current.delete(Kt),!an!=!hn&&(hn?We==null||We(qt):we==null||we(qt))}return(0,O.useEffect)(function(){return Lt},[]),[rn,lt,mt.current,et]}var Te=c(26143);function ee(be,We,we,Ze,Ve,et,ht,Fe){var mt=O.useRef();return function(dt){if(dt==null){Fe();return}if(x.Z.cancel(mt.current),typeof dt==\"number\")ht(dt);else if(dt&&(0,Te.Z)(dt)===\"object\"){var Lt,lt=dt.align;\"index\"in dt?Lt=dt.index:Lt=We.findIndex(function(Kt){return Ve(Kt)===dt.key});var rn=dt.offset,qt=rn===void 0?0:rn,hn=function Kt(an,In){if(!(an<0||!be.current)){var Ft=be.current.clientHeight,kt=!1,At=In;if(Ft){for(var Fn=In||lt,pn=0,en=0,Wn=0,Mn=Math.min(We.length,Lt),Kn=0;Kn<=Mn;Kn+=1){var hr=Ve(We[Kn]);en=pn;var pr=we.get(hr);Wn=en+(pr===void 0?Ze:pr),pn=Wn,Kn===Lt&&pr===void 0&&(kt=!0)}var zr=null;switch(Fn){case\"top\":zr=en-qt;break;case\"bottom\":zr=Wn-Ft+qt;break;default:{var Wr=be.current.scrollTop,Nr=Wr+Ft;en<Wr?At=\"top\":Wn>Nr&&(At=\"bottom\")}}zr!==null&&zr!==be.current.scrollTop&&ht(zr)}mt.current=(0,x.Z)(function(){kt&&et(),Kt(an-1,At)},2)}};hn(3)}}}function xe(be,We,we,Ze){var Ve=we-be,et=We-we,ht=Math.min(Ve,et)*2;if(Ze<=ht){var Fe=Math.floor(Ze/2);return Ze%2?we+Fe+1:we-Fe}return Ve>et?we-(Ze-et):we+(Ze-Ve)}function Ie(be,We,we){var Ze=be.length,Ve=We.length,et,ht;if(Ze===0&&Ve===0)return null;Ze<Ve?(et=be,ht=We):(et=We,ht=be);var Fe={__EMPTY_ITEM__:!0};function mt(hn){return hn!==void 0?we(hn):Fe}for(var dt=null,Lt=Math.abs(Ze-Ve)!==1,lt=0;lt<ht.length;lt+=1){var rn=mt(et[lt]),qt=mt(ht[lt]);if(rn!==qt){dt=lt,Lt=Lt||rn!==mt(ht[lt+1]);break}}return dt===null?null:{index:dt,multiple:Lt}}function Le(be,We,we){var Ze=O.useState(be),Ve=(0,C.Z)(Ze,2),et=Ve[0],ht=Ve[1],Fe=O.useState(null),mt=(0,C.Z)(Fe,2),dt=mt[0],Lt=mt[1];return O.useEffect(function(){var lt=Ie(et||[],be||[],We);(lt==null?void 0:lt.index)!==void 0&&(we==null||we(lt.index),Lt(be[lt.index])),ht(be)},[be]),[dt]}var De=(typeof navigator==\"undefined\"?\"undefined\":(0,Te.Z)(navigator))===\"object\"&&/Firefox/i.test(navigator.userAgent),ce=De,ye=function(be,We){var we=(0,O.useRef)(!1),Ze=(0,O.useRef)(null);function Ve(){clearTimeout(Ze.current),we.current=!0,Ze.current=setTimeout(function(){we.current=!1},50)}var et=(0,O.useRef)({top:be,bottom:We});return et.current.top=be,et.current.bottom=We,function(ht){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,mt=ht<0&&et.current.top||ht>0&&et.current.bottom;return Fe&&mt?(clearTimeout(Ze.current),we.current=!1):(!mt||we.current)&&Ve(),!we.current&&mt}};function Oe(be,We,we,Ze){var Ve=(0,O.useRef)(0),et=(0,O.useRef)(null),ht=(0,O.useRef)(null),Fe=(0,O.useRef)(!1),mt=ye(We,we);function dt(lt){if(be){x.Z.cancel(et.current);var rn=lt.deltaY;Ve.current+=rn,ht.current=rn,!mt(rn)&&(ce||lt.preventDefault(),et.current=(0,x.Z)(function(){var qt=Fe.current?10:1;Ze(Ve.current*qt),Ve.current=0}))}}function Lt(lt){be&&(Fe.current=lt.detail===ht.current)}return[dt,Lt]}var Ce=c(57770),oe=14/15;function he(be,We,we){var Ze=(0,O.useRef)(!1),Ve=(0,O.useRef)(0),et=(0,O.useRef)(null),ht=(0,O.useRef)(null),Fe,mt=function(rn){if(Ze.current){var qt=Math.ceil(rn.touches[0].pageY),hn=Ve.current-qt;Ve.current=qt,we(hn)&&rn.preventDefault(),clearInterval(ht.current),ht.current=setInterval(function(){hn*=oe,(!we(hn,!0)||Math.abs(hn)<=.1)&&clearInterval(ht.current)},16)}},dt=function(){Ze.current=!1,Fe()},Lt=function(rn){Fe(),rn.touches.length===1&&!Ze.current&&(Ze.current=!0,Ve.current=Math.ceil(rn.touches[0].pageY),et.current=rn.target,et.current.addEventListener(\"touchmove\",mt),et.current.addEventListener(\"touchend\",dt))};Fe=function(){et.current&&(et.current.removeEventListener(\"touchmove\",mt),et.current.removeEventListener(\"touchend\",dt))},(0,Ce.Z)(function(){return be&&We.current.addEventListener(\"touchstart\",Lt),function(){var lt;(lt=We.current)===null||lt===void 0||lt.removeEventListener(\"touchstart\",Lt),Fe(),clearInterval(ht.current)}},[be])}var ie=[\"prefixCls\",\"className\",\"height\",\"itemHeight\",\"fullHeight\",\"style\",\"data\",\"children\",\"itemKey\",\"virtual\",\"component\",\"onScroll\",\"onVisibleChange\",\"innerProps\"],ae=[],ve={overflowY:\"auto\",overflowAnchor:\"none\"};function X(be,We){var we=be.prefixCls,Ze=we===void 0?\"rc-virtual-list\":we,Ve=be.className,et=be.height,ht=be.itemHeight,Fe=be.fullHeight,mt=Fe===void 0?!0:Fe,dt=be.style,Lt=be.data,lt=be.children,rn=be.itemKey,qt=be.virtual,hn=be.component,Kt=hn===void 0?\"div\":hn,an=be.onScroll,In=be.onVisibleChange,Ft=be.innerProps,kt=(0,w.Z)(be,ie),At=!!(qt!==!1&&et&&ht),Fn=At&&Lt&&ht*Lt.length>et,pn=(0,O.useState)(0),en=(0,C.Z)(pn,2),Wn=en[0],Mn=en[1],Kn=(0,O.useState)(!1),hr=(0,C.Z)(Kn,2),pr=hr[0],zr=hr[1],Wr=p()(Ze,Ve),Nr=Lt||ae,Kr=(0,O.useRef)(),ko=(0,O.useRef)(),Ur=(0,O.useRef)(),gn=O.useCallback(function(Co){return typeof rn==\"function\"?rn(Co):Co==null?void 0:Co[rn]},[rn]),Gt={getKey:gn};function bt(Co){Mn(function(Mo){var qo;typeof Co==\"function\"?qo=Co(Mo):qo=Co;var ti=vi(qo);return Kr.current.scrollTop=ti,ti})}var Zt=(0,O.useRef)({start:0,end:Nr.length}),gt=(0,O.useRef)(),Wt=Le(Nr,gn),xn=(0,C.Z)(Wt,1),Dt=xn[0];gt.current=Dt;var Xn=me(gn,null,null),Rn=(0,C.Z)(Xn,4),wt=Rn[0],pt=Rn[1],Ue=Rn[2],xt=Rn[3],cn=O.useMemo(function(){if(!At)return{scrollHeight:void 0,start:0,end:Nr.length-1,offset:void 0};if(!Fn){var Co;return{scrollHeight:((Co=ko.current)===null||Co===void 0?void 0:Co.offsetHeight)||0,start:0,end:Nr.length-1,offset:void 0}}for(var Mo=0,qo,ti,pi,ni=Nr.length,si=0;si<ni;si+=1){var Oi=Nr[si],Ki=gn(Oi),ca=Ue.get(Ki),zi=Mo+(ca===void 0?ht:ca);zi>=Wn&&qo===void 0&&(qo=si,ti=Mo),zi>Wn+et&&pi===void 0&&(pi=si),Mo=zi}return qo===void 0&&(qo=0,ti=0,pi=Math.ceil(et/ht)),pi===void 0&&(pi=Nr.length-1),pi=Math.min(pi+1,Nr.length),{scrollHeight:Mo,start:qo,end:pi,offset:ti}},[Fn,At,Wn,Nr,xt,et]),er=cn.scrollHeight,Mr=cn.start,xr=cn.end,jr=cn.offset;Zt.current.start=Mr,Zt.current.end=xr;var yo=er-et,eo=(0,O.useRef)(yo);eo.current=yo;function vi(Co){var Mo=Co;return Number.isNaN(eo.current)||(Mo=Math.min(Mo,eo.current)),Mo=Math.max(Mo,0),Mo}var Ti=Wn<=0,wi=Wn>=yo,mi=ye(Ti,wi);function Zi(Co){var Mo=Co;bt(Mo)}function aa(Co){var Mo=Co.currentTarget.scrollTop;Mo!==Wn&&bt(Mo),an==null||an(Co)}var $e=Oe(At,Ti,wi,function(Co){bt(function(Mo){var qo=Mo+Co;return qo})}),dn=(0,C.Z)($e,2),Un=dn[0],ar=dn[1];he(At,Kr,function(Co,Mo){return mi(Co,Mo)?!1:(Un({preventDefault:function(){},deltaY:Co}),!0)}),(0,Ce.Z)(function(){function Co(Mo){At&&Mo.preventDefault()}return Kr.current.addEventListener(\"wheel\",Un),Kr.current.addEventListener(\"DOMMouseScroll\",ar),Kr.current.addEventListener(\"MozMousePixelScroll\",Co),function(){Kr.current&&(Kr.current.removeEventListener(\"wheel\",Un),Kr.current.removeEventListener(\"DOMMouseScroll\",ar),Kr.current.removeEventListener(\"MozMousePixelScroll\",Co))}},[At]);var Rr=ee(Kr,Nr,Ue,ht,gn,pt,bt,function(){var Co;(Co=Ur.current)===null||Co===void 0||Co.delayHidden()});O.useImperativeHandle(We,function(){return{scrollTo:Rr}}),(0,Ce.Z)(function(){if(In){var Co=Nr.slice(Mr,xr+1);In(Co,Nr)}},[Mr,xr,Nr]);var Ro=A(Nr,Mr,xr,wt,lt,Gt),Vo=null;return et&&(Vo=(0,N.Z)((0,y.Z)({},mt?\"height\":\"maxHeight\",et),ve),At&&(Vo.overflowY=\"hidden\",pr&&(Vo.pointerEvents=\"none\"))),O.createElement(\"div\",(0,r.Z)({style:(0,N.Z)((0,N.Z)({},dt),{},{position:\"relative\"}),className:Wr},kt),O.createElement(Kt,{className:\"\".concat(Ze,\"-holder\"),style:Vo,ref:Kr,onScroll:aa},O.createElement(f,{prefixCls:Ze,height:er,offset:jr,onInnerResize:pt,ref:ko,innerProps:Ft},Ro)),At&&O.createElement(j,{ref:Ur,prefixCls:Ze,scrollTop:Wn,height:et,scrollHeight:er,count:Nr.length,onScroll:Zi,onStartMove:function(){zr(!0)},onStopMove:function(){zr(!1)}}))}var se=O.forwardRef(X);se.displayName=\"List\";var fe=se,_e=fe},12739:function(Pt,Ee,c){\"use strict\";c.d(Ee,{xS:function(){return gc}});var r=c(50959),y=c(80014),N=function(Y,Ne,qe,vt,Sn){var or=Sn.clientWidth,Or=Sn.clientHeight,Hr=typeof Y.pageX==\"number\"?Y.pageX:Y.touches[0].pageX,ro=typeof Y.pageY==\"number\"?Y.pageY:Y.touches[0].pageY,zo=Hr-(Sn.getBoundingClientRect().left+window.pageXOffset),oi=ro-(Sn.getBoundingClientRect().top+window.pageYOffset);if(qe===\"vertical\"){var bi=void 0;if(oi<0?bi=0:oi>Or?bi=1:bi=Math.round(oi*100/Or)/100,Ne.a!==bi)return{h:Ne.h,s:Ne.s,l:Ne.l,a:bi,source:\"rgb\"}}else{var ji=void 0;if(zo<0?ji=0:zo>or?ji=1:ji=Math.round(zo*100/or)/100,vt!==ji)return{h:Ne.h,s:Ne.s,l:Ne.l,a:ji,source:\"rgb\"}}return null},C={},w=function(Y,Ne,qe,vt){if(typeof document==\"undefined\"&&!vt)return null;var Sn=vt?new vt:document.createElement(\"canvas\");Sn.width=qe*2,Sn.height=qe*2;var or=Sn.getContext(\"2d\");return or?(or.fillStyle=Y,or.fillRect(0,0,Sn.width,Sn.height),or.fillStyle=Ne,or.fillRect(0,0,qe,qe),or.translate(qe,qe),or.fillRect(0,0,qe,qe),Sn.toDataURL()):null},O=function(Y,Ne,qe,vt){var Sn=Y+\"-\"+Ne+\"-\"+qe+(vt?\"-server\":\"\");if(C[Sn])return C[Sn];var or=w(Y,Ne,qe,vt);return C[Sn]=or,or},b=Object.assign||function(ue){for(var Y=1;Y<arguments.length;Y++){var Ne=arguments[Y];for(var qe in Ne)Object.prototype.hasOwnProperty.call(Ne,qe)&&(ue[qe]=Ne[qe])}return ue},p=function(Y){var Ne=Y.white,qe=Y.grey,vt=Y.size,Sn=Y.renderers,or=Y.borderRadius,Or=Y.boxShadow,Hr=Y.children,ro=(0,y.ZP)({default:{grid:{borderRadius:or,boxShadow:Or,absolute:\"0px 0px 0px 0px\",background:\"url(\"+O(Ne,qe,vt,Sn.canvas)+\") center left\"}}});return(0,r.isValidElement)(Hr)?r.cloneElement(Hr,b({},Hr.props,{style:b({},Hr.props.style,ro.grid)})):r.createElement(\"div\",{style:ro.grid})};p.defaultProps={size:8,white:\"transparent\",grey:\"rgba(0,0,0,.08)\",renderers:{}};var u=p,a=Object.assign||function(ue){for(var Y=1;Y<arguments.length;Y++){var Ne=arguments[Y];for(var qe in Ne)Object.prototype.hasOwnProperty.call(Ne,qe)&&(ue[qe]=Ne[qe])}return ue},f=function(){function ue(Y,Ne){for(var qe=0;qe<Ne.length;qe++){var vt=Ne[qe];vt.enumerable=vt.enumerable||!1,vt.configurable=!0,\"value\"in vt&&(vt.writable=!0),Object.defineProperty(Y,vt.key,vt)}}return function(Y,Ne,qe){return Ne&&ue(Y.prototype,Ne),qe&&ue(Y,qe),Y}}();function h(ue,Y){if(!(ue instanceof Y))throw new TypeError(\"Cannot call a class as a function\")}function l(ue,Y){if(!ue)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return Y&&(typeof Y==\"object\"||typeof Y==\"function\")?Y:ue}function s(ue,Y){if(typeof Y!=\"function\"&&Y!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof Y);ue.prototype=Object.create(Y&&Y.prototype,{constructor:{value:ue,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(ue,Y):ue.__proto__=Y)}var m=function(ue){s(Y,ue);function Y(){var Ne,qe,vt,Sn;h(this,Y);for(var or=arguments.length,Or=Array(or),Hr=0;Hr<or;Hr++)Or[Hr]=arguments[Hr];return Sn=(qe=(vt=l(this,(Ne=Y.__proto__||Object.getPrototypeOf(Y)).call.apply(Ne,[this].concat(Or))),vt),vt.handleChange=function(ro){var zo=N(ro,vt.props.hsl,vt.props.direction,vt.props.a,vt.container);zo&&typeof vt.props.onChange==\"function\"&&vt.props.onChange(zo,ro)},vt.handleMouseDown=function(ro){vt.handleChange(ro),window.addEventListener(\"mousemove\",vt.handleChange),window.addEventListener(\"mouseup\",vt.handleMouseUp)},vt.handleMouseUp=function(){vt.unbindEventListeners()},vt.unbindEventListeners=function(){window.removeEventListener(\"mousemove\",vt.handleChange),window.removeEventListener(\"mouseup\",vt.handleMouseUp)},qe),l(vt,Sn)}return f(Y,[{key:\"componentWillUnmount\",value:function(){this.unbindEventListeners()}},{key:\"render\",value:function(){var qe=this,vt=this.props.rgb,Sn=(0,y.ZP)({default:{alpha:{absolute:\"0px 0px 0px 0px\",borderRadius:this.props.radius},checkboard:{absolute:\"0px 0px 0px 0px\",overflow:\"hidden\",borderRadius:this.props.radius},gradient:{absolute:\"0px 0px 0px 0px\",background:\"linear-gradient(to right, rgba(\"+vt.r+\",\"+vt.g+\",\"+vt.b+`, 0) 0%,\n           rgba(`+vt.r+\",\"+vt.g+\",\"+vt.b+\", 1) 100%)\",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:\"relative\",height:\"100%\",margin:\"0 3px\"},pointer:{position:\"absolute\",left:vt.a*100+\"%\"},slider:{width:\"4px\",borderRadius:\"1px\",height:\"8px\",boxShadow:\"0 0 2px rgba(0, 0, 0, .6)\",background:\"#fff\",marginTop:\"1px\",transform:\"translateX(-2px)\"}},vertical:{gradient:{background:\"linear-gradient(to bottom, rgba(\"+vt.r+\",\"+vt.g+\",\"+vt.b+`, 0) 0%,\n           rgba(`+vt.r+\",\"+vt.g+\",\"+vt.b+\", 1) 100%)\"},pointer:{left:0,top:vt.a*100+\"%\"}},overwrite:a({},this.props.style)},{vertical:this.props.direction===\"vertical\",overwrite:!0});return r.createElement(\"div\",{style:Sn.alpha},r.createElement(\"div\",{style:Sn.checkboard},r.createElement(u,{renderers:this.props.renderers})),r.createElement(\"div\",{style:Sn.gradient}),r.createElement(\"div\",{style:Sn.container,ref:function(Or){return qe.container=Or},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},r.createElement(\"div\",{style:Sn.pointer},this.props.pointer?r.createElement(this.props.pointer,this.props):r.createElement(\"div\",{style:Sn.slider}))))}}]),Y}(r.PureComponent||r.Component),x=m,M=function(){function ue(Y,Ne){for(var qe=0;qe<Ne.length;qe++){var vt=Ne[qe];vt.enumerable=vt.enumerable||!1,vt.configurable=!0,\"value\"in vt&&(vt.writable=!0),Object.defineProperty(Y,vt.key,vt)}}return function(Y,Ne,qe){return Ne&&ue(Y.prototype,Ne),qe&&ue(Y,qe),Y}}();function E(ue,Y,Ne){return Y in ue?Object.defineProperty(ue,Y,{value:Ne,enumerable:!0,configurable:!0,writable:!0}):ue[Y]=Ne,ue}function j(ue,Y){if(!(ue instanceof Y))throw new TypeError(\"Cannot call a class as a function\")}function L(ue,Y){if(!ue)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return Y&&(typeof Y==\"object\"||typeof Y==\"function\")?Y:ue}function A(ue,Y){if(typeof Y!=\"function\"&&Y!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof Y);ue.prototype=Object.create(Y&&Y.prototype,{constructor:{value:ue,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(ue,Y):ue.__proto__=Y)}var J=1,q=38,re=40,me=[q,re],Te=function(Y){return me.indexOf(Y)>-1},ee=function(Y){return Number(String(Y).replace(/%/g,\"\"))},xe=1,Ie=function(ue){A(Y,ue);function Y(Ne){j(this,Y);var qe=L(this,(Y.__proto__||Object.getPrototypeOf(Y)).call(this));return qe.handleBlur=function(){qe.state.blurValue&&qe.setState({value:qe.state.blurValue,blurValue:null})},qe.handleChange=function(vt){qe.setUpdatedValue(vt.target.value,vt)},qe.handleKeyDown=function(vt){var Sn=ee(vt.target.value);if(!isNaN(Sn)&&Te(vt.keyCode)){var or=qe.getArrowOffset(),Or=vt.keyCode===q?Sn+or:Sn-or;qe.setUpdatedValue(Or,vt)}},qe.handleDrag=function(vt){if(qe.props.dragLabel){var Sn=Math.round(qe.props.value+vt.movementX);Sn>=0&&Sn<=qe.props.dragMax&&qe.props.onChange&&qe.props.onChange(qe.getValueObjectWithLabel(Sn),vt)}},qe.handleMouseDown=function(vt){qe.props.dragLabel&&(vt.preventDefault(),qe.handleDrag(vt),window.addEventListener(\"mousemove\",qe.handleDrag),window.addEventListener(\"mouseup\",qe.handleMouseUp))},qe.handleMouseUp=function(){qe.unbindEventListeners()},qe.unbindEventListeners=function(){window.removeEventListener(\"mousemove\",qe.handleDrag),window.removeEventListener(\"mouseup\",qe.handleMouseUp)},qe.state={value:String(Ne.value).toUpperCase(),blurValue:String(Ne.value).toUpperCase()},qe.inputId=\"rc-editable-input-\"+xe++,qe}return M(Y,[{key:\"componentDidUpdate\",value:function(qe,vt){this.props.value!==this.state.value&&(qe.value!==this.props.value||vt.value!==this.state.value)&&(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:\"componentWillUnmount\",value:function(){this.unbindEventListeners()}},{key:\"getValueObjectWithLabel\",value:function(qe){return E({},this.props.label,qe)}},{key:\"getArrowOffset\",value:function(){return this.props.arrowOffset||J}},{key:\"setUpdatedValue\",value:function(qe,vt){var Sn=this.props.label?this.getValueObjectWithLabel(qe):qe;this.props.onChange&&this.props.onChange(Sn,vt),this.setState({value:qe})}},{key:\"render\",value:function(){var qe=this,vt=(0,y.ZP)({default:{wrap:{position:\"relative\"}},\"user-override\":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},\"dragLabel-true\":{label:{cursor:\"ew-resize\"}}},{\"user-override\":!0},this.props);return r.createElement(\"div\",{style:vt.wrap},r.createElement(\"input\",{id:this.inputId,style:vt.input,ref:function(or){return qe.input=or},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:\"false\"}),this.props.label&&!this.props.hideLabel?r.createElement(\"label\",{htmlFor:this.inputId,style:vt.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),Y}(r.PureComponent||r.Component),Le=Ie,De=function(Y,Ne,qe,vt){var Sn=vt.clientWidth,or=vt.clientHeight,Or=typeof Y.pageX==\"number\"?Y.pageX:Y.touches[0].pageX,Hr=typeof Y.pageY==\"number\"?Y.pageY:Y.touches[0].pageY,ro=Or-(vt.getBoundingClientRect().left+window.pageXOffset),zo=Hr-(vt.getBoundingClientRect().top+window.pageYOffset);if(Ne===\"vertical\"){var oi=void 0;if(zo<0)oi=359;else if(zo>or)oi=0;else{var bi=-(zo*100/or)+100;oi=360*bi/100}if(qe.h!==oi)return{h:oi,s:qe.s,l:qe.l,a:qe.a,source:\"hsl\"}}else{var ji=void 0;if(ro<0)ji=0;else if(ro>Sn)ji=359;else{var ma=ro*100/Sn;ji=360*ma/100}if(qe.h!==ji)return{h:ji,s:qe.s,l:qe.l,a:qe.a,source:\"hsl\"}}return null},ce=function(){function ue(Y,Ne){for(var qe=0;qe<Ne.length;qe++){var vt=Ne[qe];vt.enumerable=vt.enumerable||!1,vt.configurable=!0,\"value\"in vt&&(vt.writable=!0),Object.defineProperty(Y,vt.key,vt)}}return function(Y,Ne,qe){return Ne&&ue(Y.prototype,Ne),qe&&ue(Y,qe),Y}}();function ye(ue,Y){if(!(ue instanceof Y))throw new TypeError(\"Cannot call a class as a function\")}function Oe(ue,Y){if(!ue)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return Y&&(typeof Y==\"object\"||typeof Y==\"function\")?Y:ue}function Ce(ue,Y){if(typeof Y!=\"function\"&&Y!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof Y);ue.prototype=Object.create(Y&&Y.prototype,{constructor:{value:ue,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(ue,Y):ue.__proto__=Y)}var oe=function(ue){Ce(Y,ue);function Y(){var Ne,qe,vt,Sn;ye(this,Y);for(var or=arguments.length,Or=Array(or),Hr=0;Hr<or;Hr++)Or[Hr]=arguments[Hr];return Sn=(qe=(vt=Oe(this,(Ne=Y.__proto__||Object.getPrototypeOf(Y)).call.apply(Ne,[this].concat(Or))),vt),vt.handleChange=function(ro){var zo=De(ro,vt.props.direction,vt.props.hsl,vt.container);zo&&typeof vt.props.onChange==\"function\"&&vt.props.onChange(zo,ro)},vt.handleMouseDown=function(ro){vt.handleChange(ro),window.addEventListener(\"mousemove\",vt.handleChange),window.addEventListener(\"mouseup\",vt.handleMouseUp)},vt.handleMouseUp=function(){vt.unbindEventListeners()},qe),Oe(vt,Sn)}return ce(Y,[{key:\"componentWillUnmount\",value:function(){this.unbindEventListeners()}},{key:\"unbindEventListeners\",value:function(){window.removeEventListener(\"mousemove\",this.handleChange),window.removeEventListener(\"mouseup\",this.handleMouseUp)}},{key:\"render\",value:function(){var qe=this,vt=this.props.direction,Sn=vt===void 0?\"horizontal\":vt,or=(0,y.ZP)({default:{hue:{absolute:\"0px 0px 0px 0px\",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:\"0 2px\",position:\"relative\",height:\"100%\",borderRadius:this.props.radius},pointer:{position:\"absolute\",left:this.props.hsl.h*100/360+\"%\"},slider:{marginTop:\"1px\",width:\"4px\",borderRadius:\"1px\",height:\"8px\",boxShadow:\"0 0 2px rgba(0, 0, 0, .6)\",background:\"#fff\",transform:\"translateX(-2px)\"}},vertical:{pointer:{left:\"0px\",top:-(this.props.hsl.h*100/360)+100+\"%\"}}},{vertical:Sn===\"vertical\"});return r.createElement(\"div\",{style:or.hue},r.createElement(\"div\",{className:\"hue-\"+Sn,style:or.container,ref:function(Hr){return qe.container=Hr},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},r.createElement(\"style\",null,`\n            .hue-horizontal {\n              background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n                33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n              background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n                17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n            }\n\n            .hue-vertical {\n              background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n                #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n              background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n                #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n            }\n          `),r.createElement(\"div\",{style:or.pointer},this.props.pointer?r.createElement(this.props.pointer,this.props):r.createElement(\"div\",{style:or.slider}))))}}]),Y}(r.PureComponent||r.Component),he=oe,ie=c(40507),ae=c.n(ie);function ve(){this.__data__=[],this.size=0}var X=ve;function se(ue,Y){return ue===Y||ue!==ue&&Y!==Y}var fe=se;function _e(ue,Y){for(var Ne=ue.length;Ne--;)if(fe(ue[Ne][0],Y))return Ne;return-1}var be=_e,We=Array.prototype,we=We.splice;function Ze(ue){var Y=this.__data__,Ne=be(Y,ue);if(Ne<0)return!1;var qe=Y.length-1;return Ne==qe?Y.pop():we.call(Y,Ne,1),--this.size,!0}var Ve=Ze;function et(ue){var Y=this.__data__,Ne=be(Y,ue);return Ne<0?void 0:Y[Ne][1]}var ht=et;function Fe(ue){return be(this.__data__,ue)>-1}var mt=Fe;function dt(ue,Y){var Ne=this.__data__,qe=be(Ne,ue);return qe<0?(++this.size,Ne.push([ue,Y])):Ne[qe][1]=Y,this}var Lt=dt;function lt(ue){var Y=-1,Ne=ue==null?0:ue.length;for(this.clear();++Y<Ne;){var qe=ue[Y];this.set(qe[0],qe[1])}}lt.prototype.clear=X,lt.prototype.delete=Ve,lt.prototype.get=ht,lt.prototype.has=mt,lt.prototype.set=Lt;var rn=lt;function qt(){this.__data__=new rn,this.size=0}var hn=qt;function Kt(ue){var Y=this.__data__,Ne=Y.delete(ue);return this.size=Y.size,Ne}var an=Kt;function In(ue){return this.__data__.get(ue)}var Ft=In;function kt(ue){return this.__data__.has(ue)}var At=kt,Fn=typeof global==\"object\"&&global&&global.Object===Object&&global,pn=Fn,en=typeof self==\"object\"&&self&&self.Object===Object&&self,Wn=pn||en||Function(\"return this\")(),Mn=Wn,Kn=Mn.Symbol,hr=Kn,pr=Object.prototype,zr=pr.hasOwnProperty,Wr=pr.toString,Nr=hr?hr.toStringTag:void 0;function Kr(ue){var Y=zr.call(ue,Nr),Ne=ue[Nr];try{ue[Nr]=void 0;var qe=!0}catch(Sn){}var vt=Wr.call(ue);return qe&&(Y?ue[Nr]=Ne:delete ue[Nr]),vt}var ko=Kr,Ur=Object.prototype,gn=Ur.toString;function Gt(ue){return gn.call(ue)}var bt=Gt,Zt=\"[object Null]\",gt=\"[object Undefined]\",Wt=hr?hr.toStringTag:void 0;function xn(ue){return ue==null?ue===void 0?gt:Zt:Wt&&Wt in Object(ue)?ko(ue):bt(ue)}var Dt=xn;function Xn(ue){var Y=typeof ue;return ue!=null&&(Y==\"object\"||Y==\"function\")}var Rn=Xn,wt=\"[object AsyncFunction]\",pt=\"[object Function]\",Ue=\"[object GeneratorFunction]\",xt=\"[object Proxy]\";function cn(ue){if(!Rn(ue))return!1;var Y=Dt(ue);return Y==pt||Y==Ue||Y==wt||Y==xt}var er=cn,Mr=Mn[\"__core-js_shared__\"],xr=Mr,jr=function(){var ue=/[^.]+$/.exec(xr&&xr.keys&&xr.keys.IE_PROTO||\"\");return ue?\"Symbol(src)_1.\"+ue:\"\"}();function yo(ue){return!!jr&&jr in ue}var eo=yo,vi=Function.prototype,Ti=vi.toString;function wi(ue){if(ue!=null){try{return Ti.call(ue)}catch(Y){}try{return ue+\"\"}catch(Y){}}return\"\"}var mi=wi,Zi=/[\\\\^$.*+?()[\\]{}|]/g,aa=/^\\[object .+?Constructor\\]$/,$e=Function.prototype,dn=Object.prototype,Un=$e.toString,ar=dn.hasOwnProperty,Rr=RegExp(\"^\"+Un.call(ar).replace(Zi,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\");function Ro(ue){if(!Rn(ue)||eo(ue))return!1;var Y=er(ue)?Rr:aa;return Y.test(mi(ue))}var Vo=Ro;function Co(ue,Y){return ue==null?void 0:ue[Y]}var Mo=Co;function qo(ue,Y){var Ne=Mo(ue,Y);return Vo(Ne)?Ne:void 0}var ti=qo,pi=ti(Mn,\"Map\"),ni=pi,si=ti(Object,\"create\"),Oi=si;function Ki(){this.__data__=Oi?Oi(null):{},this.size=0}var ca=Ki;function zi(ue){var Y=this.has(ue)&&delete this.__data__[ue];return this.size-=Y?1:0,Y}var br=zi,Re=\"__lodash_hash_undefined__\",je=Object.prototype,nt=je.hasOwnProperty;function rt(ue){var Y=this.__data__;if(Oi){var Ne=Y[ue];return Ne===Re?void 0:Ne}return nt.call(Y,ue)?Y[ue]:void 0}var Xt=rt,fn=Object.prototype,Cn=fn.hasOwnProperty;function Yn(ue){var Y=this.__data__;return Oi?Y[ue]!==void 0:Cn.call(Y,ue)}var Ae=Yn,Ke=\"__lodash_hash_undefined__\";function Mt(ue,Y){var Ne=this.__data__;return this.size+=this.has(ue)?0:1,Ne[ue]=Oi&&Y===void 0?Ke:Y,this}var Ut=Mt;function kn(ue){var Y=-1,Ne=ue==null?0:ue.length;for(this.clear();++Y<Ne;){var qe=ue[Y];this.set(qe[0],qe[1])}}kn.prototype.clear=ca,kn.prototype.delete=br,kn.prototype.get=Xt,kn.prototype.has=Ae,kn.prototype.set=Ut;var Zn=kn;function lr(){this.size=0,this.__data__={hash:new Zn,map:new(ni||rn),string:new Zn}}var wr=lr;function Dr(ue){var Y=typeof ue;return Y==\"string\"||Y==\"number\"||Y==\"symbol\"||Y==\"boolean\"?ue!==\"__proto__\":ue===null}var go=Dr;function Ir(ue,Y){var Ne=ue.__data__;return go(Y)?Ne[typeof Y==\"string\"?\"string\":\"hash\"]:Ne.map}var Jr=Ir;function _o(ue){var Y=Jr(this,ue).delete(ue);return this.size-=Y?1:0,Y}var No=_o;function ii(ue){return Jr(this,ue).get(ue)}var Lo=ii;function ai(ue){return Jr(this,ue).has(ue)}var Si=ai;function Ui(ue,Y){var Ne=Jr(this,ue),qe=Ne.size;return Ne.set(ue,Y),this.size+=Ne.size==qe?0:1,this}var ln=Ui;function mn(ue){var Y=-1,Ne=ue==null?0:ue.length;for(this.clear();++Y<Ne;){var qe=ue[Y];this.set(qe[0],qe[1])}}mn.prototype.clear=wr,mn.prototype.delete=No,mn.prototype.get=Lo,mn.prototype.has=Si,mn.prototype.set=ln;var fr=mn,ft=200;function ct(ue,Y){var Ne=this.__data__;if(Ne instanceof rn){var qe=Ne.__data__;if(!ni||qe.length<ft-1)return qe.push([ue,Y]),this.size=++Ne.size,this;Ne=this.__data__=new fr(qe)}return Ne.set(ue,Y),this.size=Ne.size,this}var tn=ct;function An(ue){var Y=this.__data__=new rn(ue);this.size=Y.size}An.prototype.clear=hn,An.prototype.delete=an,An.prototype.get=Ft,An.prototype.has=At,An.prototype.set=tn;var Rt=An,un=function(){try{var ue=ti(Object,\"defineProperty\");return ue({},\"\",{}),ue}catch(Y){}}(),Dn=un;function dr(ue,Y,Ne){Y==\"__proto__\"&&Dn?Dn(ue,Y,{configurable:!0,enumerable:!0,value:Ne,writable:!0}):ue[Y]=Ne}var Ar=dr;function Gr(ue,Y,Ne){(Ne!==void 0&&!fe(ue[Y],Ne)||Ne===void 0&&!(Y in ue))&&Ar(ue,Y,Ne)}var Pr=Gr;function Xr(ue){return function(Y,Ne,qe){for(var vt=-1,Sn=Object(Y),or=qe(Y),Or=or.length;Or--;){var Hr=or[ue?Or:++vt];if(Ne(Sn[Hr],Hr,Sn)===!1)break}return Y}}var oo=Xr,io=oo(),to=io,To=typeof exports==\"object\"&&exports&&!exports.nodeType&&exports,jn=To&&typeof module==\"object\"&&module&&!module.nodeType&&module,W=jn&&jn.exports===To,P=W?Mn.Buffer:void 0,k=P?P.allocUnsafe:void 0;function z(ue,Y){if(Y)return ue.slice();var Ne=ue.length,qe=k?k(Ne):new ue.constructor(Ne);return ue.copy(qe),qe}var Q=z,F=Mn.Uint8Array,V=F;function U(ue){var Y=new ue.constructor(ue.byteLength);return new V(Y).set(new V(ue)),Y}var ge=U;function ke(ue,Y){var Ne=Y?ge(ue.buffer):ue.buffer;return new ue.constructor(Ne,ue.byteOffset,ue.length)}var St=ke;function Je(ue,Y){var Ne=-1,qe=ue.length;for(Y||(Y=Array(qe));++Ne<qe;)Y[Ne]=ue[Ne];return Y}var Ot=Je,It=Object.create,jt=function(){function ue(){}return function(Y){if(!Rn(Y))return{};if(It)return It(Y);ue.prototype=Y;var Ne=new ue;return ue.prototype=void 0,Ne}}(),Vt=jt;function Pn(ue,Y){return function(Ne){return ue(Y(Ne))}}var Jn=Pn,vn=Jn(Object.getPrototypeOf,Object),Vn=vn,zt=Object.prototype;function ir(ue){var Y=ue&&ue.constructor,Ne=typeof Y==\"function\"&&Y.prototype||zt;return ue===Ne}var nr=ir;function ur(ue){return typeof ue.constructor==\"function\"&&!nr(ue)?Vt(Vn(ue)):{}}var sr=ur;function Ln(ue){return ue!=null&&typeof ue==\"object\"}var Bt=Ln,En=\"[object Arguments]\";function _n(ue){return Bt(ue)&&Dt(ue)==En}var cr=_n,ao=Object.prototype,kr=ao.hasOwnProperty,jo=ao.propertyIsEnumerable,ui=cr(function(){return arguments}())?cr:function(ue){return Bt(ue)&&kr.call(ue,\"callee\")&&!jo.call(ue,\"callee\")},Vr=ui,ho=Array.isArray,vo=ho,uo=9007199254740991;function Go(ue){return typeof ue==\"number\"&&ue>-1&&ue%1==0&&ue<=uo}var Pi=Go;function la(ue){return ue!=null&&Pi(ue.length)&&!er(ue)}var Vi=la;function ha(ue){return Bt(ue)&&Vi(ue)}var xa=ha;function qi(){return!1}var Jo=qi,Ji=typeof exports==\"object\"&&exports&&!exports.nodeType&&exports,Yi=Ji&&typeof module==\"object\"&&module&&!module.nodeType&&module,Ii=Yi&&Yi.exports===Ji,pa=Ii?Mn.Buffer:void 0,na=pa?pa.isBuffer:void 0,$i=na||Jo,La=$i,ss=\"[object Object]\",Oa=Function.prototype,Ma=Object.prototype,Ka=Oa.toString,Ba=Ma.hasOwnProperty,Ua=Ka.call(Object);function Va(ue){if(!Bt(ue)||Dt(ue)!=ss)return!1;var Y=Vn(ue);if(Y===null)return!0;var Ne=Ba.call(Y,\"constructor\")&&Y.constructor;return typeof Ne==\"function\"&&Ne instanceof Ne&&Ka.call(Ne)==Ua}var Ls=Va,Qo=\"[object Arguments]\",ws=\"[object Array]\",Za=\"[object Boolean]\",rr=\"[object Date]\",Eo=\"[object Error]\",Br=\"[object Function]\",Ao=\"[object Map]\",Di=\"[object Number]\",Aa=\"[object Object]\",Na=\"[object RegExp]\",Fa=\"[object Set]\",Bs=\"[object String]\",Ms=\"[object WeakMap]\",Qa=\"[object ArrayBuffer]\",us=\"[object DataView]\",Fs=\"[object Float32Array]\",$a=\"[object Float64Array]\",Hs=\"[object Int8Array]\",ys=\"[object Int16Array]\",sa=\"[object Int32Array]\",Xa=\"[object Uint8Array]\",os=\"[object Uint8ClampedArray]\",As=\"[object Uint16Array]\",oa=\"[object Uint32Array]\",di={};di[Fs]=di[$a]=di[Hs]=di[ys]=di[sa]=di[Xa]=di[os]=di[As]=di[oa]=!0,di[Qo]=di[ws]=di[Qa]=di[Za]=di[us]=di[rr]=di[Eo]=di[Br]=di[Ao]=di[Di]=di[Aa]=di[Na]=di[Fa]=di[Bs]=di[Ms]=!1;function ia(ue){return Bt(ue)&&Pi(ue.length)&&!!di[Dt(ue)]}var _i=ia;function gi(ue){return function(Y){return ue(Y)}}var fa=gi,Pa=typeof exports==\"object\"&&exports&&!exports.nodeType&&exports,xs=Pa&&typeof module==\"object\"&&module&&!module.nodeType&&module,Li=xs&&xs.exports===Pa,vs=Li&&pn.process,Ca=function(){try{var ue=xs&&xs.require&&xs.require(\"util\").types;return ue||vs&&vs.binding&&vs.binding(\"util\")}catch(Y){}}(),ra=Ca,Ja=ra&&ra.isTypedArray,qa=Ja?fa(Ja):_i,Ts=qa;function v(ue,Y){if(!(Y===\"constructor\"&&typeof ue[Y]==\"function\")&&Y!=\"__proto__\")return ue[Y]}var G=v,ze=Object.prototype,ut=ze.hasOwnProperty;function _t(ue,Y,Ne){var qe=ue[Y];(!(ut.call(ue,Y)&&fe(qe,Ne))||Ne===void 0&&!(Y in ue))&&Ar(ue,Y,Ne)}var Ht=_t;function $t(ue,Y,Ne,qe){var vt=!Ne;Ne||(Ne={});for(var Sn=-1,or=Y.length;++Sn<or;){var Or=Y[Sn],Hr=qe?qe(Ne[Or],ue[Or],Or,Ne,ue):void 0;Hr===void 0&&(Hr=ue[Or]),vt?Ar(Ne,Or,Hr):Ht(Ne,Or,Hr)}return Ne}var wn=$t;function On(ue,Y){for(var Ne=-1,qe=Array(ue);++Ne<ue;)qe[Ne]=Y(Ne);return qe}var $n=On,gr=9007199254740991,Fr=/^(?:0|[1-9]\\d*)$/;function Qr(ue,Y){var Ne=typeof ue;return Y=Y==null?gr:Y,!!Y&&(Ne==\"number\"||Ne!=\"symbol\"&&Fr.test(ue))&&ue>-1&&ue%1==0&&ue<Y}var qr=Qr,mo=Object.prototype,Ho=mo.hasOwnProperty;function fo(ue,Y){var Ne=vo(ue),qe=!Ne&&Vr(ue),vt=!Ne&&!qe&&La(ue),Sn=!Ne&&!qe&&!vt&&Ts(ue),or=Ne||qe||vt||Sn,Or=or?$n(ue.length,String):[],Hr=Or.length;for(var ro in ue)(Y||Ho.call(ue,ro))&&!(or&&(ro==\"length\"||vt&&(ro==\"offset\"||ro==\"parent\")||Sn&&(ro==\"buffer\"||ro==\"byteLength\"||ro==\"byteOffset\")||qr(ro,Hr)))&&Or.push(ro);return Or}var ei=fo;function ea(ue){var Y=[];if(ue!=null)for(var Ne in Object(ue))Y.push(Ne);return Y}var Xi=ea,hi=Object.prototype,Yo=hi.hasOwnProperty;function Bi(ue){if(!Rn(ue))return Xi(ue);var Y=nr(ue),Ne=[];for(var qe in ue)qe==\"constructor\"&&(Y||!Yo.call(ue,qe))||Ne.push(qe);return Ne}var _a=Bi;function wa(ue){return Vi(ue)?ei(ue,!0):_a(ue)}var Ia=wa;function tr(ue){return wn(ue,Ia(ue))}var Sa=tr;function Ta(ue,Y,Ne,qe,vt,Sn,or){var Or=G(ue,Ne),Hr=G(Y,Ne),ro=or.get(Hr);if(ro){Pr(ue,Ne,ro);return}var zo=Sn?Sn(Or,Hr,Ne+\"\",ue,Y,or):void 0,oi=zo===void 0;if(oi){var bi=vo(Hr),ji=!bi&&La(Hr),ma=!bi&&!ji&&Ts(Hr);zo=Hr,bi||ji||ma?vo(Or)?zo=Or:xa(Or)?zo=Ot(Or):ji?(oi=!1,zo=Q(Hr,!0)):ma?(oi=!1,zo=St(Hr,!0)):zo=[]:Ls(Hr)||Vr(Hr)?(zo=Or,Vr(Or)?zo=Sa(Or):(!Rn(Or)||er(Or))&&(zo=sr(Hr))):oi=!1}oi&&(or.set(Hr,zo),vt(zo,Hr,qe,Sn,or),or.delete(Hr)),Pr(ue,Ne,zo)}var ga=Ta;function Fi(ue,Y,Ne,qe,vt){ue!==Y&&to(Y,function(Sn,or){if(vt||(vt=new Rt),Rn(Sn))ga(ue,Y,or,Ne,Fi,qe,vt);else{var Or=qe?qe(G(ue,or),Sn,or+\"\",ue,Y,vt):void 0;Or===void 0&&(Or=Sn),Pr(ue,or,Or)}},Ia)}var Cs=Fi;function yn(ue){return ue}var zs=yn;function ds(ue,Y,Ne){switch(Ne.length){case 0:return ue.call(Y);case 1:return ue.call(Y,Ne[0]);case 2:return ue.call(Y,Ne[0],Ne[1]);case 3:return ue.call(Y,Ne[0],Ne[1],Ne[2])}return ue.apply(Y,Ne)}var gs=ds,Wa=Math.max;function Ac(ue,Y,Ne){return Y=Wa(Y===void 0?ue.length-1:Y,0),function(){for(var qe=arguments,vt=-1,Sn=Wa(qe.length-Y,0),or=Array(Sn);++vt<Sn;)or[vt]=qe[Y+vt];vt=-1;for(var Or=Array(Y+1);++vt<Y;)Or[vt]=qe[vt];return Or[Y]=Ne(or),gs(ue,this,Or)}}var Gs=Ac;function Tc(ue){return function(){return ue}}var pu=Tc,Pc=Dn?function(ue,Y){return Dn(ue,\"toString\",{configurable:!0,enumerable:!1,value:pu(Y),writable:!0})}:zs,Yc=Pc,Kc=800,rc=16,qc=Date.now;function Ns(ue){var Y=0,Ne=0;return function(){var qe=qc(),vt=rc-(qe-Ne);if(Ne=qe,vt>0){if(++Y>=Kc)return arguments[0]}else Y=0;return ue.apply(void 0,arguments)}}var Au=Ns,yc=Au(Yc),gu=yc;function bc(ue,Y){return gu(Gs(ue,Y,zs),ue+\"\")}var Ic=bc;function vu(ue,Y,Ne){if(!Rn(Ne))return!1;var qe=typeof Y;return(qe==\"number\"?Vi(Ne)&&qr(Y,Ne.length):qe==\"string\"&&Y in Ne)?fe(Ne[Y],ue):!1}var Yu=vu;function oc(ue){return Ic(function(Y,Ne){var qe=-1,vt=Ne.length,Sn=vt>1?Ne[vt-1]:void 0,or=vt>2?Ne[2]:void 0;for(Sn=ue.length>3&&typeof Sn==\"function\"?(vt--,Sn):void 0,or&&Yu(Ne[0],Ne[1],or)&&(Sn=vt<3?void 0:Sn,vt=1),Y=Object(Y);++qe<vt;){var Or=Ne[qe];Or&&ue(Y,Or,qe,Sn)}return Y})}var kc=oc,le=kc(function(ue,Y,Ne){Cs(ue,Y,Ne)}),Be=le,st=function(Y){var Ne=Y.zDepth,qe=Y.radius,vt=Y.background,Sn=Y.children,or=Y.styles,Or=or===void 0?{}:or,Hr=(0,y.ZP)(Be({default:{wrap:{position:\"relative\",display:\"inline-block\"},content:{position:\"relative\"},bg:{absolute:\"0px 0px 0px 0px\",boxShadow:\"0 \"+Ne+\"px \"+Ne*4+\"px rgba(0,0,0,.24)\",borderRadius:qe,background:vt}},\"zDepth-0\":{bg:{boxShadow:\"none\"}},\"zDepth-1\":{bg:{boxShadow:\"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)\"}},\"zDepth-2\":{bg:{boxShadow:\"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)\"}},\"zDepth-3\":{bg:{boxShadow:\"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)\"}},\"zDepth-4\":{bg:{boxShadow:\"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)\"}},\"zDepth-5\":{bg:{boxShadow:\"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)\"}},square:{bg:{borderRadius:\"0\"}},circle:{bg:{borderRadius:\"50%\"}}},Or),{\"zDepth-1\":Ne===1});return r.createElement(\"div\",{style:Hr.wrap},r.createElement(\"div\",{style:Hr.bg}),r.createElement(\"div\",{style:Hr.content},Sn))};st.propTypes={background:ae().string,zDepth:ae().oneOf([0,1,2,3,4,5]),radius:ae().number,styles:ae().object},st.defaultProps={background:\"#fff\",zDepth:1,radius:2,styles:{}};var it=st,Qt=function(){return Mn.Date.now()},qn=Qt,Tr=/\\s/;function bo(ue){for(var Y=ue.length;Y--&&Tr.test(ue.charAt(Y)););return Y}var Ko=bo,Mi=/^\\s+/;function Hi(ue){return ue&&ue.slice(0,Ko(ue)+1).replace(Mi,\"\")}var ja=Hi,ms=\"[object Symbol]\";function Ps(ue){return typeof ue==\"symbol\"||Bt(ue)&&Dt(ue)==ms}var fu=Ps,qs=0/0,Ya=/^[-+]0x[0-9a-f]+$/i,Nu=/^0b[01]+$/i,ru=/^0o[0-7]+$/i,mu=parseInt;function Zs(ue){if(typeof ue==\"number\")return ue;if(fu(ue))return qs;if(Rn(ue)){var Y=typeof ue.valueOf==\"function\"?ue.valueOf():ue;ue=Rn(Y)?Y+\"\":Y}if(typeof ue!=\"string\")return ue===0?ue:+ue;ue=ja(ue);var Ne=Nu.test(ue);return Ne||ru.test(ue)?mu(ue.slice(2),Ne?2:8):Ya.test(ue)?qs:+ue}var cs=Zs,Xs=\"Expected a function\",yu=Math.max,bu=Math.min;function Ku(ue,Y,Ne){var qe,vt,Sn,or,Or,Hr,ro=0,zo=!1,oi=!1,bi=!0;if(typeof ue!=\"function\")throw new TypeError(Xs);Y=cs(Y)||0,Rn(Ne)&&(zo=!!Ne.leading,oi=\"maxWait\"in Ne,Sn=oi?yu(cs(Ne.maxWait)||0,Y):Sn,bi=\"trailing\"in Ne?!!Ne.trailing:bi);function ji(Cu){var Hl=qe,Zf=vt;return qe=vt=void 0,ro=Cu,or=ue.apply(Zf,Hl),or}function ma(Cu){return ro=Cu,Or=setTimeout(Vs,Y),zo?ji(Cu):or}function Ea(Cu){var Hl=Cu-Hr,Zf=Cu-ro,Ld=Y-Hl;return oi?bu(Ld,Sn-Zf):Ld}function za(Cu){var Hl=Cu-Hr,Zf=Cu-ro;return Hr===void 0||Hl>=Y||Hl<0||oi&&Zf>=Sn}function Vs(){var Cu=qn();if(za(Cu))return vc(Cu);Or=setTimeout(Vs,Ea(Cu))}function vc(Cu){return Or=void 0,bi&&qe?ji(Cu):(qe=vt=void 0,or)}function Ef(){Or!==void 0&&clearTimeout(Or),ro=0,qe=Hr=vt=Or=void 0}function nc(){return Or===void 0?or:vc(qn())}function $l(){var Cu=qn(),Hl=za(Cu);if(qe=arguments,vt=this,Hr=Cu,Hl){if(Or===void 0)return ma(Hr);if(oi)return clearTimeout(Or),Or=setTimeout(Vs,Y),ji(Hr)}return Or===void 0&&(Or=setTimeout(Vs,Y)),or}return $l.cancel=Ef,$l.flush=nc,$l}var Qc=Ku,_l=\"Expected a function\";function Nc(ue,Y,Ne){var qe=!0,vt=!0;if(typeof ue!=\"function\")throw new TypeError(_l);return Rn(Ne)&&(qe=\"leading\"in Ne?!!Ne.leading:qe,vt=\"trailing\"in Ne?!!Ne.trailing:vt),Qc(ue,Y,{leading:qe,maxWait:Y,trailing:vt})}var ju=Nc,Wu=function(Y,Ne,qe){var vt=qe.getBoundingClientRect(),Sn=vt.width,or=vt.height,Or=typeof Y.pageX==\"number\"?Y.pageX:Y.touches[0].pageX,Hr=typeof Y.pageY==\"number\"?Y.pageY:Y.touches[0].pageY,ro=Or-(qe.getBoundingClientRect().left+window.pageXOffset),zo=Hr-(qe.getBoundingClientRect().top+window.pageYOffset);ro<0?ro=0:ro>Sn&&(ro=Sn),zo<0?zo=0:zo>or&&(zo=or);var oi=ro/Sn,bi=1-zo/or;return{h:Ne.h,s:oi,v:bi,a:Ne.a,source:\"hsv\"}},dl=function(){function ue(Y,Ne){for(var qe=0;qe<Ne.length;qe++){var vt=Ne[qe];vt.enumerable=vt.enumerable||!1,vt.configurable=!0,\"value\"in vt&&(vt.writable=!0),Object.defineProperty(Y,vt.key,vt)}}return function(Y,Ne,qe){return Ne&&ue(Y.prototype,Ne),qe&&ue(Y,qe),Y}}();function Du(ue,Y){if(!(ue instanceof Y))throw new TypeError(\"Cannot call a class as a function\")}function hl(ue,Y){if(!ue)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return Y&&(typeof Y==\"object\"||typeof Y==\"function\")?Y:ue}function jc(ue,Y){if(typeof Y!=\"function\"&&Y!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof Y);ue.prototype=Object.create(Y&&Y.prototype,{constructor:{value:ue,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(ue,Y):ue.__proto__=Y)}var js=function(ue){jc(Y,ue);function Y(Ne){Du(this,Y);var qe=hl(this,(Y.__proto__||Object.getPrototypeOf(Y)).call(this,Ne));return qe.handleChange=function(vt){typeof qe.props.onChange==\"function\"&&qe.throttle(qe.props.onChange,Wu(vt,qe.props.hsl,qe.container),vt)},qe.handleMouseDown=function(vt){qe.handleChange(vt);var Sn=qe.getContainerRenderWindow();Sn.addEventListener(\"mousemove\",qe.handleChange),Sn.addEventListener(\"mouseup\",qe.handleMouseUp)},qe.handleMouseUp=function(){qe.unbindEventListeners()},qe.throttle=ju(function(vt,Sn,or){vt(Sn,or)},50),qe}return dl(Y,[{key:\"componentWillUnmount\",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:\"getContainerRenderWindow\",value:function(){for(var qe=this.container,vt=window;!vt.document.contains(qe)&&vt.parent!==vt;)vt=vt.parent;return vt}},{key:\"unbindEventListeners\",value:function(){var qe=this.getContainerRenderWindow();qe.removeEventListener(\"mousemove\",this.handleChange),qe.removeEventListener(\"mouseup\",this.handleMouseUp)}},{key:\"render\",value:function(){var qe=this,vt=this.props.style||{},Sn=vt.color,or=vt.white,Or=vt.black,Hr=vt.pointer,ro=vt.circle,zo=(0,y.ZP)({default:{color:{absolute:\"0px 0px 0px 0px\",background:\"hsl(\"+this.props.hsl.h+\",100%, 50%)\",borderRadius:this.props.radius},white:{absolute:\"0px 0px 0px 0px\",borderRadius:this.props.radius},black:{absolute:\"0px 0px 0px 0px\",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:\"absolute\",top:-(this.props.hsv.v*100)+100+\"%\",left:this.props.hsv.s*100+\"%\",cursor:\"default\"},circle:{width:\"4px\",height:\"4px\",boxShadow:`0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n            0 0 1px 2px rgba(0,0,0,.4)`,borderRadius:\"50%\",cursor:\"hand\",transform:\"translate(-2px, -2px)\"}},custom:{color:Sn,white:or,black:Or,pointer:Hr,circle:ro}},{custom:!!this.props.style});return r.createElement(\"div\",{style:zo.color,ref:function(bi){return qe.container=bi},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},r.createElement(\"style\",null,`\n          .saturation-white {\n            background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n            background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n          }\n          .saturation-black {\n            background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n            background: linear-gradient(to top, #000, rgba(0,0,0,0));\n          }\n        `),r.createElement(\"div\",{style:zo.white,className:\"saturation-white\"},r.createElement(\"div\",{style:zo.black,className:\"saturation-black\"}),r.createElement(\"div\",{style:zo.pointer},this.props.pointer?r.createElement(this.props.pointer,this.props):r.createElement(\"div\",{style:zo.circle}))))}}]),Y}(r.PureComponent||r.Component),xu=js;function wu(ue,Y){for(var Ne=-1,qe=ue==null?0:ue.length;++Ne<qe&&Y(ue[Ne],Ne,ue)!==!1;);return ue}var Ys=wu,Uu=Jn(Object.keys,Object),Dc=Uu,ic=Object.prototype,Rc=ic.hasOwnProperty;function is(ue){if(!nr(ue))return Dc(ue);var Y=[];for(var Ne in Object(ue))Rc.call(ue,Ne)&&Ne!=\"constructor\"&&Y.push(Ne);return Y}var Tu=is;function Pu(ue){return Vi(ue)?ei(ue):Tu(ue)}var Jc=Pu;function Gl(ue,Y){return ue&&to(ue,Y,Jc)}var ac=Gl;function el(ue,Y){return function(Ne,qe){if(Ne==null)return Ne;if(!Vi(Ne))return ue(Ne,qe);for(var vt=Ne.length,Sn=Y?vt:-1,or=Object(Ne);(Y?Sn--:++Sn<vt)&&qe(or[Sn],Sn,or)!==!1;);return Ne}}var sc=el,tl=sc(ac),nl=tl;function Vu(ue){return typeof ue==\"function\"?ue:zs}var Lc=Vu;function Wl(ue,Y){var Ne=vo(ue)?Ys:nl;return Ne(ue,Lc(Y))}var Ul=Wl;function uc(ue){return uc=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(Y){return typeof Y}:function(Y){return Y&&typeof Symbol==\"function\"&&Y.constructor===Symbol&&Y!==Symbol.prototype?\"symbol\":typeof Y},uc(ue)}var rl=/^\\s+/,ol=/\\s+$/;function ta(ue,Y){if(ue=ue||\"\",Y=Y||{},ue instanceof ta)return ue;if(!(this instanceof ta))return new ta(ue,Y);var Ne=pl(ue);this._originalInput=ue,this._r=Ne.r,this._g=Ne.g,this._b=Ne.b,this._a=Ne.a,this._roundA=Math.round(100*this._a)/100,this._format=Y.format||Ne.format,this._gradientType=Y.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._ok=Ne.ok}ta.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 Y=this.toRgb();return(Y.r*299+Y.g*587+Y.b*114)/1e3},getLuminance:function(){var Y=this.toRgb(),Ne,qe,vt,Sn,or,Or;return Ne=Y.r/255,qe=Y.g/255,vt=Y.b/255,Ne<=.03928?Sn=Ne/12.92:Sn=Math.pow((Ne+.055)/1.055,2.4),qe<=.03928?or=qe/12.92:or=Math.pow((qe+.055)/1.055,2.4),vt<=.03928?Or=vt/12.92:Or=Math.pow((vt+.055)/1.055,2.4),.2126*Sn+.7152*or+.0722*Or},setAlpha:function(Y){return this._a=nn(Y),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var Y=Fc(this._r,this._g,this._b);return{h:Y.h*360,s:Y.s,v:Y.v,a:this._a}},toHsvString:function(){var Y=Fc(this._r,this._g,this._b),Ne=Math.round(Y.h*360),qe=Math.round(Y.s*100),vt=Math.round(Y.v*100);return this._a==1?\"hsv(\"+Ne+\", \"+qe+\"%, \"+vt+\"%)\":\"hsva(\"+Ne+\", \"+qe+\"%, \"+vt+\"%, \"+this._roundA+\")\"},toHsl:function(){var Y=xc(this._r,this._g,this._b);return{h:Y.h*360,s:Y.s,l:Y.l,a:this._a}},toHslString:function(){var Y=xc(this._r,this._g,this._b),Ne=Math.round(Y.h*360),qe=Math.round(Y.s*100),vt=Math.round(Y.l*100);return this._a==1?\"hsl(\"+Ne+\", \"+qe+\"%, \"+vt+\"%)\":\"hsla(\"+Ne+\", \"+qe+\"%, \"+vt+\"%, \"+this._roundA+\")\"},toHex:function(Y){return al(this._r,this._g,this._b,Y)},toHexString:function(Y){return\"#\"+this.toHex(Y)},toHex8:function(Y){return zc(this._r,this._g,this._b,this._a,Y)},toHex8String:function(Y){return\"#\"+this.toHex8(Y)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?\"rgb(\"+Math.round(this._r)+\", \"+Math.round(this._g)+\", \"+Math.round(this._b)+\")\":\"rgba(\"+Math.round(this._r)+\", \"+Math.round(this._g)+\", \"+Math.round(this._b)+\", \"+this._roundA+\")\"},toPercentageRgb:function(){return{r:Math.round(zn(this._r,255)*100)+\"%\",g:Math.round(zn(this._g,255)*100)+\"%\",b:Math.round(zn(this._b,255)*100)+\"%\",a:this._a}},toPercentageRgbString:function(){return this._a==1?\"rgb(\"+Math.round(zn(this._r,255)*100)+\"%, \"+Math.round(zn(this._g,255)*100)+\"%, \"+Math.round(zn(this._b,255)*100)+\"%)\":\"rgba(\"+Math.round(zn(this._r,255)*100)+\"%, \"+Math.round(zn(this._g,255)*100)+\"%, \"+Math.round(zn(this._b,255)*100)+\"%, \"+this._roundA+\")\"},toName:function(){return this._a===0?\"transparent\":this._a<1?!1:Tt[al(this._r,this._g,this._b,!0)]||!1},toFilter:function(Y){var Ne=\"#\"+cc(this._r,this._g,this._b,this._a),qe=Ne,vt=this._gradientType?\"GradientType = 1, \":\"\";if(Y){var Sn=ta(Y);qe=\"#\"+cc(Sn._r,Sn._g,Sn._b,Sn._a)}return\"progid:DXImageTransform.Microsoft.gradient(\"+vt+\"startColorstr=\"+Ne+\",endColorstr=\"+qe+\")\"},toString:function(Y){var Ne=!!Y;Y=Y||this._format;var qe=!1,vt=this._a<1&&this._a>=0,Sn=!Ne&&vt&&(Y===\"hex\"||Y===\"hex6\"||Y===\"hex3\"||Y===\"hex4\"||Y===\"hex8\"||Y===\"name\");return Sn?Y===\"name\"&&this._a===0?this.toName():this.toRgbString():(Y===\"rgb\"&&(qe=this.toRgbString()),Y===\"prgb\"&&(qe=this.toPercentageRgbString()),(Y===\"hex\"||Y===\"hex6\")&&(qe=this.toHexString()),Y===\"hex3\"&&(qe=this.toHexString(!0)),Y===\"hex4\"&&(qe=this.toHex8String(!0)),Y===\"hex8\"&&(qe=this.toHex8String()),Y===\"name\"&&(qe=this.toName()),Y===\"hsl\"&&(qe=this.toHslString()),Y===\"hsv\"&&(qe=this.toHsvString()),qe||this.toHexString())},clone:function(){return ta(this.toString())},_applyModification:function(Y,Ne){var qe=Y.apply(null,[this].concat([].slice.call(Ne)));return this._r=qe._r,this._g=qe._g,this._b=qe._b,this.setAlpha(qe._a),this},lighten:function(){return this._applyModification(Vl,arguments)},brighten:function(){return this._applyModification(ou,arguments)},darken:function(){return this._applyModification(Zl,arguments)},desaturate:function(){return this._applyModification(Ml,arguments)},saturate:function(){return this._applyModification(Al,arguments)},greyscale:function(){return this._applyModification(sl,arguments)},spin:function(){return this._applyModification(su,arguments)},_applyCombination:function(Y,Ne){return Y.apply(null,[this].concat([].slice.call(Ne)))},analogous:function(){return this._applyCombination(tt,arguments)},complement:function(){return this._applyCombination($,arguments)},monochromatic:function(){return this._applyCombination(at,arguments)},splitcomplement:function(){return this._applyCombination(Me,arguments)},triad:function(){return this._applyCombination(ne,[3])},tetrad:function(){return this._applyCombination(ne,[4])}},ta.fromRatio=function(ue,Y){if(uc(ue)==\"object\"){var Ne={};for(var qe in ue)ue.hasOwnProperty(qe)&&(qe===\"a\"?Ne[qe]=ue[qe]:Ne[qe]=Oo(ue[qe]));ue=Ne}return ta(ue,Y)};function pl(ue){var Y={r:0,g:0,b:0},Ne=1,qe=null,vt=null,Sn=null,or=!1,Or=!1;return typeof ue==\"string\"&&(ue=xi(ue)),uc(ue)==\"object\"&&(Zo(ue.r)&&Zo(ue.g)&&Zo(ue.b)?(Y=Bc(ue.r,ue.g,ue.b),or=!0,Or=String(ue.r).substr(-1)===\"%\"?\"prgb\":\"rgb\"):Zo(ue.h)&&Zo(ue.s)&&Zo(ue.v)?(qe=Oo(ue.s),vt=Oo(ue.v),Y=il(ue.h,qe,vt),or=!0,Or=\"hsv\"):Zo(ue.h)&&Zo(ue.s)&&Zo(ue.l)&&(qe=Oo(ue.s),Sn=Oo(ue.l),Y=$u(ue.h,qe,Sn),or=!0,Or=\"hsl\"),ue.hasOwnProperty(\"a\")&&(Ne=ue.a)),Ne=nn(Ne),{ok:or,format:ue.format||Or,r:Math.min(255,Math.max(Y.r,0)),g:Math.min(255,Math.max(Y.g,0)),b:Math.min(255,Math.max(Y.b,0)),a:Ne}}function Bc(ue,Y,Ne){return{r:zn(ue,255)*255,g:zn(Y,255)*255,b:zn(Ne,255)*255}}function xc(ue,Y,Ne){ue=zn(ue,255),Y=zn(Y,255),Ne=zn(Ne,255);var qe=Math.max(ue,Y,Ne),vt=Math.min(ue,Y,Ne),Sn,or,Or=(qe+vt)/2;if(qe==vt)Sn=or=0;else{var Hr=qe-vt;switch(or=Or>.5?Hr/(2-qe-vt):Hr/(qe+vt),qe){case ue:Sn=(Y-Ne)/Hr+(Y<Ne?6:0);break;case Y:Sn=(Ne-ue)/Hr+2;break;case Ne:Sn=(ue-Y)/Hr+4;break}Sn/=6}return{h:Sn,s:or,l:Or}}function $u(ue,Y,Ne){var qe,vt,Sn;ue=zn(ue,360),Y=zn(Y,100),Ne=zn(Ne,100);function or(ro,zo,oi){return oi<0&&(oi+=1),oi>1&&(oi-=1),oi<1/6?ro+(zo-ro)*6*oi:oi<1/2?zo:oi<2/3?ro+(zo-ro)*(2/3-oi)*6:ro}if(Y===0)qe=vt=Sn=Ne;else{var Or=Ne<.5?Ne*(1+Y):Ne+Y-Ne*Y,Hr=2*Ne-Or;qe=or(Hr,Or,ue+1/3),vt=or(Hr,Or,ue),Sn=or(Hr,Or,ue-1/3)}return{r:qe*255,g:vt*255,b:Sn*255}}function Fc(ue,Y,Ne){ue=zn(ue,255),Y=zn(Y,255),Ne=zn(Ne,255);var qe=Math.max(ue,Y,Ne),vt=Math.min(ue,Y,Ne),Sn,or,Or=qe,Hr=qe-vt;if(or=qe===0?0:Hr/qe,qe==vt)Sn=0;else{switch(qe){case ue:Sn=(Y-Ne)/Hr+(Y<Ne?6:0);break;case Y:Sn=(Ne-ue)/Hr+2;break;case Ne:Sn=(ue-Y)/Hr+4;break}Sn/=6}return{h:Sn,s:or,v:Or}}function il(ue,Y,Ne){ue=zn(ue,360)*6,Y=zn(Y,100),Ne=zn(Ne,100);var qe=Math.floor(ue),vt=ue-qe,Sn=Ne*(1-Y),or=Ne*(1-vt*Y),Or=Ne*(1-(1-vt)*Y),Hr=qe%6,ro=[Ne,or,Sn,Sn,Or,Ne][Hr],zo=[Or,Ne,Ne,or,Sn,Sn][Hr],oi=[Sn,Sn,Or,Ne,Ne,or][Hr];return{r:ro*255,g:zo*255,b:oi*255}}function al(ue,Y,Ne,qe){var vt=[So(Math.round(ue).toString(16)),So(Math.round(Y).toString(16)),So(Math.round(Ne).toString(16))];return qe&&vt[0].charAt(0)==vt[0].charAt(1)&&vt[1].charAt(0)==vt[1].charAt(1)&&vt[2].charAt(0)==vt[2].charAt(1)?vt[0].charAt(0)+vt[1].charAt(0)+vt[2].charAt(0):vt.join(\"\")}function zc(ue,Y,Ne,qe,vt){var Sn=[So(Math.round(ue).toString(16)),So(Math.round(Y).toString(16)),So(Math.round(Ne).toString(16)),So(xo(qe))];return vt&&Sn[0].charAt(0)==Sn[0].charAt(1)&&Sn[1].charAt(0)==Sn[1].charAt(1)&&Sn[2].charAt(0)==Sn[2].charAt(1)&&Sn[3].charAt(0)==Sn[3].charAt(1)?Sn[0].charAt(0)+Sn[1].charAt(0)+Sn[2].charAt(0)+Sn[3].charAt(0):Sn.join(\"\")}function cc(ue,Y,Ne,qe){var vt=[So(xo(qe)),So(Math.round(ue).toString(16)),So(Math.round(Y).toString(16)),So(Math.round(Ne).toString(16))];return vt.join(\"\")}ta.equals=function(ue,Y){return!ue||!Y?!1:ta(ue).toRgbString()==ta(Y).toRgbString()},ta.random=function(){return ta.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function Ml(ue,Y){Y=Y===0?0:Y||10;var Ne=ta(ue).toHsl();return Ne.s-=Y/100,Ne.s=mr(Ne.s),ta(Ne)}function Al(ue,Y){Y=Y===0?0:Y||10;var Ne=ta(ue).toHsl();return Ne.s+=Y/100,Ne.s=mr(Ne.s),ta(Ne)}function sl(ue){return ta(ue).desaturate(100)}function Vl(ue,Y){Y=Y===0?0:Y||10;var Ne=ta(ue).toHsl();return Ne.l+=Y/100,Ne.l=mr(Ne.l),ta(Ne)}function ou(ue,Y){Y=Y===0?0:Y||10;var Ne=ta(ue).toRgb();return Ne.r=Math.max(0,Math.min(255,Ne.r-Math.round(255*-(Y/100)))),Ne.g=Math.max(0,Math.min(255,Ne.g-Math.round(255*-(Y/100)))),Ne.b=Math.max(0,Math.min(255,Ne.b-Math.round(255*-(Y/100)))),ta(Ne)}function Zl(ue,Y){Y=Y===0?0:Y||10;var Ne=ta(ue).toHsl();return Ne.l-=Y/100,Ne.l=mr(Ne.l),ta(Ne)}function su(ue,Y){var Ne=ta(ue).toHsl(),qe=(Ne.h+Y)%360;return Ne.h=qe<0?360+qe:qe,ta(Ne)}function $(ue){var Y=ta(ue).toHsl();return Y.h=(Y.h+180)%360,ta(Y)}function ne(ue,Y){if(isNaN(Y)||Y<=0)throw new Error(\"Argument to polyad must be a positive number\");for(var Ne=ta(ue).toHsl(),qe=[ta(ue)],vt=360/Y,Sn=1;Sn<Y;Sn++)qe.push(ta({h:(Ne.h+Sn*vt)%360,s:Ne.s,l:Ne.l}));return qe}function Me(ue){var Y=ta(ue).toHsl(),Ne=Y.h;return[ta(ue),ta({h:(Ne+72)%360,s:Y.s,l:Y.l}),ta({h:(Ne+216)%360,s:Y.s,l:Y.l})]}function tt(ue,Y,Ne){Y=Y||6,Ne=Ne||30;var qe=ta(ue).toHsl(),vt=360/Ne,Sn=[ta(ue)];for(qe.h=(qe.h-(vt*Y>>1)+720)%360;--Y;)qe.h=(qe.h+vt)%360,Sn.push(ta(qe));return Sn}function at(ue,Y){Y=Y||6;for(var Ne=ta(ue).toHsv(),qe=Ne.h,vt=Ne.s,Sn=Ne.v,or=[],Or=1/Y;Y--;)or.push(ta({h:qe,s:vt,v:Sn})),Sn=(Sn+Or)%1;return or}ta.mix=function(ue,Y,Ne){Ne=Ne===0?0:Ne||50;var qe=ta(ue).toRgb(),vt=ta(Y).toRgb(),Sn=Ne/100,or={r:(vt.r-qe.r)*Sn+qe.r,g:(vt.g-qe.g)*Sn+qe.g,b:(vt.b-qe.b)*Sn+qe.b,a:(vt.a-qe.a)*Sn+qe.a};return ta(or)},ta.readability=function(ue,Y){var Ne=ta(ue),qe=ta(Y);return(Math.max(Ne.getLuminance(),qe.getLuminance())+.05)/(Math.min(Ne.getLuminance(),qe.getLuminance())+.05)},ta.isReadable=function(ue,Y,Ne){var qe=ta.readability(ue,Y),vt,Sn;switch(Sn=!1,vt=Ai(Ne),vt.level+vt.size){case\"AAsmall\":case\"AAAlarge\":Sn=qe>=4.5;break;case\"AAlarge\":Sn=qe>=3;break;case\"AAAsmall\":Sn=qe>=7;break}return Sn},ta.mostReadable=function(ue,Y,Ne){var qe=null,vt=0,Sn,or,Or,Hr;Ne=Ne||{},or=Ne.includeFallbackColors,Or=Ne.level,Hr=Ne.size;for(var ro=0;ro<Y.length;ro++)Sn=ta.readability(ue,Y[ro]),Sn>vt&&(vt=Sn,qe=ta(Y[ro]));return ta.isReadable(ue,qe,{level:Or,size:Hr})||!or?qe:(Ne.includeFallbackColors=!1,ta.mostReadable(ue,[\"#fff\",\"#000\"],Ne))};var Nt=ta.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\"},Tt=ta.hexNames=Jt(Nt);function Jt(ue){var Y={};for(var Ne in ue)ue.hasOwnProperty(Ne)&&(Y[ue[Ne]]=Ne);return Y}function nn(ue){return ue=parseFloat(ue),(isNaN(ue)||ue<0||ue>1)&&(ue=1),ue}function zn(ue,Y){Zr(ue)&&(ue=\"100%\");var Ne=Yr(ue);return ue=Math.min(Y,Math.max(0,parseFloat(ue))),Ne&&(ue=parseInt(ue*Y,10)/100),Math.abs(ue-Y)<1e-6?1:ue%Y/parseFloat(Y)}function mr(ue){return Math.min(1,Math.max(0,ue))}function Er(ue){return parseInt(ue,16)}function Zr(ue){return typeof ue==\"string\"&&ue.indexOf(\".\")!=-1&&parseFloat(ue)===1}function Yr(ue){return typeof ue==\"string\"&&ue.indexOf(\"%\")!=-1}function So(ue){return ue.length==1?\"0\"+ue:\"\"+ue}function Oo(ue){return ue<=1&&(ue=ue*100+\"%\"),ue}function xo(ue){return Math.round(parseFloat(ue)*255).toString(16)}function lo(ue){return Er(ue)/255}var Io=function(){var ue=\"[-\\\\+]?\\\\d+%?\",Y=\"[-\\\\+]?\\\\d*\\\\.\\\\d+%?\",Ne=\"(?:\"+Y+\")|(?:\"+ue+\")\",qe=\"[\\\\s|\\\\(]+(\"+Ne+\")[,|\\\\s]+(\"+Ne+\")[,|\\\\s]+(\"+Ne+\")\\\\s*\\\\)?\",vt=\"[\\\\s|\\\\(]+(\"+Ne+\")[,|\\\\s]+(\"+Ne+\")[,|\\\\s]+(\"+Ne+\")[,|\\\\s]+(\"+Ne+\")\\\\s*\\\\)?\";return{CSS_UNIT:new RegExp(Ne),rgb:new RegExp(\"rgb\"+qe),rgba:new RegExp(\"rgba\"+vt),hsl:new RegExp(\"hsl\"+qe),hsla:new RegExp(\"hsla\"+vt),hsv:new RegExp(\"hsv\"+qe),hsva:new RegExp(\"hsva\"+vt),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 Zo(ue){return!!Io.CSS_UNIT.exec(ue)}function xi(ue){ue=ue.replace(rl,\"\").replace(ol,\"\").toLowerCase();var Y=!1;if(Nt[ue])ue=Nt[ue],Y=!0;else if(ue==\"transparent\")return{r:0,g:0,b:0,a:0,format:\"name\"};var Ne;return(Ne=Io.rgb.exec(ue))?{r:Ne[1],g:Ne[2],b:Ne[3]}:(Ne=Io.rgba.exec(ue))?{r:Ne[1],g:Ne[2],b:Ne[3],a:Ne[4]}:(Ne=Io.hsl.exec(ue))?{h:Ne[1],s:Ne[2],l:Ne[3]}:(Ne=Io.hsla.exec(ue))?{h:Ne[1],s:Ne[2],l:Ne[3],a:Ne[4]}:(Ne=Io.hsv.exec(ue))?{h:Ne[1],s:Ne[2],v:Ne[3]}:(Ne=Io.hsva.exec(ue))?{h:Ne[1],s:Ne[2],v:Ne[3],a:Ne[4]}:(Ne=Io.hex8.exec(ue))?{r:Er(Ne[1]),g:Er(Ne[2]),b:Er(Ne[3]),a:lo(Ne[4]),format:Y?\"name\":\"hex8\"}:(Ne=Io.hex6.exec(ue))?{r:Er(Ne[1]),g:Er(Ne[2]),b:Er(Ne[3]),format:Y?\"name\":\"hex\"}:(Ne=Io.hex4.exec(ue))?{r:Er(Ne[1]+\"\"+Ne[1]),g:Er(Ne[2]+\"\"+Ne[2]),b:Er(Ne[3]+\"\"+Ne[3]),a:lo(Ne[4]+\"\"+Ne[4]),format:Y?\"name\":\"hex8\"}:(Ne=Io.hex3.exec(ue))?{r:Er(Ne[1]+\"\"+Ne[1]),g:Er(Ne[2]+\"\"+Ne[2]),b:Er(Ne[3]+\"\"+Ne[3]),format:Y?\"name\":\"hex\"}:!1}function Ai(ue){var Y,Ne;return ue=ue||{level:\"AA\",size:\"small\"},Y=(ue.level||\"AA\").toUpperCase(),Ne=(ue.size||\"small\").toLowerCase(),Y!==\"AA\"&&Y!==\"AAA\"&&(Y=\"AA\"),Ne!==\"small\"&&Ne!==\"large\"&&(Ne=\"small\"),{level:Y,size:Ne}}var ci=function(Y){var Ne=[\"r\",\"g\",\"b\",\"a\",\"h\",\"s\",\"l\",\"v\"],qe=0,vt=0;return Ul(Ne,function(Sn){if(Y[Sn]&&(qe+=1,isNaN(Y[Sn])||(vt+=1),Sn===\"s\"||Sn===\"l\")){var or=/^\\d+%$/;or.test(Y[Sn])&&(vt+=1)}}),qe===vt?Y:!1},Ri=function(Y,Ne){var qe=Y.hex?ta(Y.hex):ta(Y),vt=qe.toHsl(),Sn=qe.toHsv(),or=qe.toRgb(),Or=qe.toHex();vt.s===0&&(vt.h=Ne||0,Sn.h=Ne||0);var Hr=Or===\"000000\"&&or.a===0;return{hsl:vt,hex:Hr?\"transparent\":\"#\"+Or,rgb:or,hsv:Sn,oldHue:Y.h||Ne||vt.h,source:Y.source}},Ci=function(Y){if(Y===\"transparent\")return!0;var Ne=String(Y).charAt(0)===\"#\"?1:0;return Y.length!==4+Ne&&Y.length<7+Ne&&ta(Y).isValid()},ua=function(Y){if(!Y)return\"#fff\";var Ne=Ri(Y);if(Ne.hex===\"transparent\")return\"rgba(0,0,0,0.4)\";var qe=(Ne.rgb.r*299+Ne.rgb.g*587+Ne.rgb.b*114)/1e3;return qe>=128?\"#000\":\"#fff\"},da={hsl:{a:1,h:0,l:.5,s:1},hex:\"#ff0000\",rgb:{r:255,g:0,b:0,a:1},hsv:{h:0,s:1,v:1,a:1}},Da=function(Y,Ne){var qe=Y.replace(\"\\xB0\",\"\");return ta(Ne+\" (\"+qe+\")\")._ok},as=Object.assign||function(ue){for(var Y=1;Y<arguments.length;Y++){var Ne=arguments[Y];for(var qe in Ne)Object.prototype.hasOwnProperty.call(Ne,qe)&&(ue[qe]=Ne[qe])}return ue},ts=function(){function ue(Y,Ne){for(var qe=0;qe<Ne.length;qe++){var vt=Ne[qe];vt.enumerable=vt.enumerable||!1,vt.configurable=!0,\"value\"in vt&&(vt.writable=!0),Object.defineProperty(Y,vt.key,vt)}}return function(Y,Ne,qe){return Ne&&ue(Y.prototype,Ne),qe&&ue(Y,qe),Y}}();function ka(ue,Y){if(!(ue instanceof Y))throw new TypeError(\"Cannot call a class as a function\")}function uu(ue,Y){if(!ue)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return Y&&(typeof Y==\"object\"||typeof Y==\"function\")?Y:ue}function Su(ue,Y){if(typeof Y!=\"function\"&&Y!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof Y);ue.prototype=Object.create(Y&&Y.prototype,{constructor:{value:ue,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(ue,Y):ue.__proto__=Y)}var Js=function(Y){var Ne=function(qe){Su(vt,qe);function vt(Sn){ka(this,vt);var or=uu(this,(vt.__proto__||Object.getPrototypeOf(vt)).call(this));return or.handleChange=function(Or,Hr){var ro=ci(Or);if(ro){var zo=Ri(Or,Or.h||or.state.oldHue);or.setState(zo),or.props.onChangeComplete&&or.debounce(or.props.onChangeComplete,zo,Hr),or.props.onChange&&or.props.onChange(zo,Hr)}},or.handleSwatchHover=function(Or,Hr){var ro=ci(Or);if(ro){var zo=Ri(Or,Or.h||or.state.oldHue);or.props.onSwatchHover&&or.props.onSwatchHover(zo,Hr)}},or.state=as({},Ri(Sn.color,0)),or.debounce=Qc(function(Or,Hr,ro){Or(Hr,ro)},100),or}return ts(vt,[{key:\"render\",value:function(){var or={};return this.props.onSwatchHover&&(or.onSwatchHover=this.handleSwatchHover),r.createElement(Y,as({},this.props,this.state,{onChange:this.handleChange},or))}}],[{key:\"getDerivedStateFromProps\",value:function(or,Or){return as({},Ri(or.color,Or.oldHue))}}]),vt}(r.PureComponent||r.Component);return Ne.propTypes=as({},Y.propTypes),Ne.defaultProps=as({},Y.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),Ne},Ws=Js,Ru=Object.assign||function(ue){for(var Y=1;Y<arguments.length;Y++){var Ne=arguments[Y];for(var qe in Ne)Object.prototype.hasOwnProperty.call(Ne,qe)&&(ue[qe]=Ne[qe])}return ue},Iu=function(){function ue(Y,Ne){for(var qe=0;qe<Ne.length;qe++){var vt=Ne[qe];vt.enumerable=vt.enumerable||!1,vt.configurable=!0,\"value\"in vt&&(vt.writable=!0),Object.defineProperty(Y,vt.key,vt)}}return function(Y,Ne,qe){return Ne&&ue(Y.prototype,Ne),qe&&ue(Y,qe),Y}}();function Xf(ue,Y){if(!(ue instanceof Y))throw new TypeError(\"Cannot call a class as a function\")}function Xl(ue,Y){if(!ue)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return Y&&(typeof Y==\"object\"||typeof Y==\"function\")?Y:ue}function Yl(ue,Y){if(typeof Y!=\"function\"&&Y!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof Y);ue.prototype=Object.create(Y&&Y.prototype,{constructor:{value:ue,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(ue,Y):ue.__proto__=Y)}var Cf=function(Y){var Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:\"span\";return function(qe){Yl(vt,qe);function vt(){var Sn,or,Or,Hr;Xf(this,vt);for(var ro=arguments.length,zo=Array(ro),oi=0;oi<ro;oi++)zo[oi]=arguments[oi];return Hr=(or=(Or=Xl(this,(Sn=vt.__proto__||Object.getPrototypeOf(vt)).call.apply(Sn,[this].concat(zo))),Or),Or.state={focus:!1},Or.handleFocus=function(){return Or.setState({focus:!0})},Or.handleBlur=function(){return Or.setState({focus:!1})},or),Xl(Or,Hr)}return Iu(vt,[{key:\"render\",value:function(){return r.createElement(Ne,{onFocus:this.handleFocus,onBlur:this.handleBlur},r.createElement(Y,Ru({},this.props,this.state)))}}]),vt}(r.Component)},iu=Object.assign||function(ue){for(var Y=1;Y<arguments.length;Y++){var Ne=arguments[Y];for(var qe in Ne)Object.prototype.hasOwnProperty.call(Ne,qe)&&(ue[qe]=Ne[qe])}return ue},lc=13,ls=function(Y){var Ne=Y.color,qe=Y.style,vt=Y.onClick,Sn=vt===void 0?function(){}:vt,or=Y.onHover,Or=Y.title,Hr=Or===void 0?Ne:Or,ro=Y.children,zo=Y.focus,oi=Y.focusStyle,bi=oi===void 0?{}:oi,ji=Ne===\"transparent\",ma=(0,y.ZP)({default:{swatch:iu({background:Ne,height:\"100%\",width:\"100%\",cursor:\"pointer\",position:\"relative\",outline:\"none\"},qe,zo?bi:{})}}),Ea=function(nc){return Sn(Ne,nc)},za=function(nc){return nc.keyCode===lc&&Sn(Ne,nc)},Vs=function(nc){return or(Ne,nc)},vc={};return or&&(vc.onMouseOver=Vs),r.createElement(\"div\",iu({style:ma.swatch,onClick:Ea,title:Hr,tabIndex:0,onKeyDown:za},vc),ro,ji&&r.createElement(u,{borderRadius:ma.swatch.borderRadius,boxShadow:\"inset 0 0 0 1px rgba(0,0,0,0.1)\"}))},wc=Cf(ls),Sc=function(Y){var Ne=Y.direction,qe=(0,y.ZP)({default:{picker:{width:\"18px\",height:\"18px\",borderRadius:\"50%\",transform:\"translate(-9px, -1px)\",backgroundColor:\"rgb(248, 248, 248)\",boxShadow:\"0 1px 4px 0 rgba(0, 0, 0, 0.37)\"}},vertical:{picker:{transform:\"translate(-3px, -9px)\"}}},{vertical:Ne===\"vertical\"});return r.createElement(\"div\",{style:qe.picker})},ul=Sc,fc=Object.assign||function(ue){for(var Y=1;Y<arguments.length;Y++){var Ne=arguments[Y];for(var qe in Ne)Object.prototype.hasOwnProperty.call(Ne,qe)&&(ue[qe]=Ne[qe])}return ue},Kl=function(Y){var Ne=Y.rgb,qe=Y.hsl,vt=Y.width,Sn=Y.height,or=Y.onChange,Or=Y.direction,Hr=Y.style,ro=Y.renderers,zo=Y.pointer,oi=Y.className,bi=oi===void 0?\"\":oi,ji=(0,y.ZP)({default:{picker:{position:\"relative\",width:vt,height:Sn},alpha:{radius:\"2px\",style:Hr}}});return r.createElement(\"div\",{style:ji.picker,className:\"alpha-picker \"+bi},r.createElement(x,fc({},ji.alpha,{rgb:Ne,hsl:qe,pointer:zo,renderers:ro,onChange:or,direction:Or})))};Kl.defaultProps={width:\"316px\",height:\"16px\",direction:\"horizontal\",pointer:ul};var Yf=Ws(Kl);function Ec(ue,Y){for(var Ne=-1,qe=ue==null?0:ue.length,vt=Array(qe);++Ne<qe;)vt[Ne]=Y(ue[Ne],Ne,ue);return vt}var $c=Ec,dc=\"__lodash_hash_undefined__\";function Kf(ue){return this.__data__.set(ue,dc),this}var ql=Kf;function Ql(ue){return this.__data__.has(ue)}var gl=Ql;function Lu(ue){var Y=-1,Ne=ue==null?0:ue.length;for(this.__data__=new fr;++Y<Ne;)this.add(ue[Y])}Lu.prototype.add=Lu.prototype.push=ql,Lu.prototype.has=gl;var Tl=Lu;function Jl(ue,Y){for(var Ne=-1,qe=ue==null?0:ue.length;++Ne<qe;)if(Y(ue[Ne],Ne,ue))return!0;return!1}var vl=Jl;function _f(ue,Y){return ue.has(Y)}var Mf=_f,Ds=1,ef=2;function Pl(ue,Y,Ne,qe,vt,Sn){var or=Ne&Ds,Or=ue.length,Hr=Y.length;if(Or!=Hr&&!(or&&Hr>Or))return!1;var ro=Sn.get(ue),zo=Sn.get(Y);if(ro&&zo)return ro==Y&&zo==ue;var oi=-1,bi=!0,ji=Ne&ef?new Tl:void 0;for(Sn.set(ue,Y),Sn.set(Y,ue);++oi<Or;){var ma=ue[oi],Ea=Y[oi];if(qe)var za=or?qe(Ea,ma,oi,Y,ue,Sn):qe(ma,Ea,oi,ue,Y,Sn);if(za!==void 0){if(za)continue;bi=!1;break}if(ji){if(!vl(Y,function(Vs,vc){if(!Mf(ji,vc)&&(ma===Vs||vt(ma,Vs,Ne,qe,Sn)))return ji.push(vc)})){bi=!1;break}}else if(!(ma===Ea||vt(ma,Ea,Ne,qe,Sn))){bi=!1;break}}return Sn.delete(ue),Sn.delete(Y),bi}var tf=Pl;function Bu(ue){var Y=-1,Ne=Array(ue.size);return ue.forEach(function(qe,vt){Ne[++Y]=[vt,qe]}),Ne}var qu=Bu;function Af(ue){var Y=-1,Ne=Array(ue.size);return ue.forEach(function(qe){Ne[++Y]=qe}),Ne}var nf=Af,Zu=1,Ks=2,Hc=\"[object Boolean]\",Tf=\"[object Date]\",Xu=\"[object Error]\",rf=\"[object Map]\",Il=\"[object Number]\",of=\"[object RegExp]\",Fu=\"[object Set]\",Oc=\"[object String]\",va=\"[object Symbol]\",Qu=\"[object ArrayBuffer]\",Hu=\"[object DataView]\",eu=hr?hr.prototype:void 0,ml=eu?eu.valueOf:void 0;function Ju(ue,Y,Ne,qe,vt,Sn,or){switch(Ne){case Hu:if(ue.byteLength!=Y.byteLength||ue.byteOffset!=Y.byteOffset)return!1;ue=ue.buffer,Y=Y.buffer;case Qu:return!(ue.byteLength!=Y.byteLength||!Sn(new V(ue),new V(Y)));case Hc:case Tf:case Il:return fe(+ue,+Y);case Xu:return ue.name==Y.name&&ue.message==Y.message;case of:case Oc:return ue==Y+\"\";case rf:var Or=qu;case Fu:var Hr=qe&Zu;if(Or||(Or=nf),ue.size!=Y.size&&!Hr)return!1;var ro=or.get(ue);if(ro)return ro==Y;qe|=Ks,or.set(ue,Y);var zo=tf(Or(ue),Or(Y),qe,vt,Sn,or);return or.delete(ue),zo;case va:if(ml)return ml.call(ue)==ml.call(Y)}return!1}var yl=Ju;function Us(ue,Y){for(var Ne=-1,qe=Y.length,vt=ue.length;++Ne<qe;)ue[vt+Ne]=Y[Ne];return ue}var af=Us;function kl(ue,Y,Ne){var qe=Y(ue);return vo(ue)?qe:af(qe,Ne(ue))}var Nl=kl;function Pf(ue,Y){for(var Ne=-1,qe=ue==null?0:ue.length,vt=0,Sn=[];++Ne<qe;){var or=ue[Ne];Y(or,Ne,ue)&&(Sn[vt++]=or)}return Sn}var jl=Pf;function qf(){return[]}var sf=qf,If=Object.prototype,cu=If.propertyIsEnumerable,tu=Object.getOwnPropertySymbols,uf=tu?function(ue){return ue==null?[]:(ue=Object(ue),jl(tu(ue),function(Y){return cu.call(ue,Y)}))}:sf,Qf=uf;function cf(ue){return Nl(ue,Jc,Qf)}var bl=cf,fd=1,Gc=Object.prototype,kf=Gc.hasOwnProperty;function Nf(ue,Y,Ne,qe,vt,Sn){var or=Ne&fd,Or=bl(ue),Hr=Or.length,ro=bl(Y),zo=ro.length;if(Hr!=zo&&!or)return!1;for(var oi=Hr;oi--;){var bi=Or[oi];if(!(or?bi in Y:kf.call(Y,bi)))return!1}var ji=Sn.get(ue),ma=Sn.get(Y);if(ji&&ma)return ji==Y&&ma==ue;var Ea=!0;Sn.set(ue,Y),Sn.set(Y,ue);for(var za=or;++oi<Hr;){bi=Or[oi];var Vs=ue[bi],vc=Y[bi];if(qe)var Ef=or?qe(vc,Vs,bi,Y,ue,Sn):qe(Vs,vc,bi,ue,Y,Sn);if(!(Ef===void 0?Vs===vc||vt(Vs,vc,Ne,qe,Sn):Ef)){Ea=!1;break}za||(za=bi==\"constructor\")}if(Ea&&!za){var nc=ue.constructor,$l=Y.constructor;nc!=$l&&\"constructor\"in ue&&\"constructor\"in Y&&!(typeof nc==\"function\"&&nc instanceof nc&&typeof $l==\"function\"&&$l instanceof $l)&&(Ea=!1)}return Sn.delete(ue),Sn.delete(Y),Ea}var jf=Nf,cl=ti(Mn,\"DataView\"),Df=cl,Rf=ti(Mn,\"Promise\"),xl=Rf,Wc=ti(Mn,\"Set\"),Dl=Wc,Rl=ti(Mn,\"WeakMap\"),hc=Rl,wl=\"[object Map]\",lf=\"[object Object]\",ff=\"[object Promise]\",df=\"[object Set]\",Ll=\"[object WeakMap]\",hf=\"[object DataView]\",ec=mi(Df),$s=mi(ni),dd=mi(xl),Lf=mi(Dl),Eu=mi(hc),ll=Dt;(Df&&ll(new Df(new ArrayBuffer(1)))!=hf||ni&&ll(new ni)!=wl||xl&&ll(xl.resolve())!=ff||Dl&&ll(new Dl)!=df||hc&&ll(new hc)!=Ll)&&(ll=function(ue){var Y=Dt(ue),Ne=Y==lf?ue.constructor:void 0,qe=Ne?mi(Ne):\"\";if(qe)switch(qe){case ec:return hf;case $s:return wl;case dd:return ff;case Lf:return df;case Eu:return Ll}return Y});var Sl=ll,hd=1,pf=\"[object Arguments]\",Bf=\"[object Array]\",Bl=\"[object Object]\",Jf=Object.prototype,gf=Jf.hasOwnProperty;function pd(ue,Y,Ne,qe,vt,Sn){var or=vo(ue),Or=vo(Y),Hr=or?Bf:Sl(ue),ro=Or?Bf:Sl(Y);Hr=Hr==pf?Bl:Hr,ro=ro==pf?Bl:ro;var zo=Hr==Bl,oi=ro==Bl,bi=Hr==ro;if(bi&&La(ue)){if(!La(Y))return!1;or=!0,zo=!1}if(bi&&!zo)return Sn||(Sn=new Rt),or||Ts(ue)?tf(ue,Y,Ne,qe,vt,Sn):yl(ue,Y,Hr,Ne,qe,vt,Sn);if(!(Ne&hd)){var ji=zo&&gf.call(ue,\"__wrapped__\"),ma=oi&&gf.call(Y,\"__wrapped__\");if(ji||ma){var Ea=ji?ue.value():ue,za=ma?Y.value():Y;return Sn||(Sn=new Rt),vt(Ea,za,Ne,qe,Sn)}}return bi?(Sn||(Sn=new Rt),jf(ue,Y,Ne,qe,vt,Sn)):!1}var gd=pd;function vf(ue,Y,Ne,qe,vt){return ue===Y?!0:ue==null||Y==null||!Bt(ue)&&!Bt(Y)?ue!==ue&&Y!==Y:gd(ue,Y,Ne,qe,vf,vt)}var mf=vf,Ff=1,vd=2;function ed(ue,Y,Ne,qe){var vt=Ne.length,Sn=vt,or=!qe;if(ue==null)return!Sn;for(ue=Object(ue);vt--;){var Or=Ne[vt];if(or&&Or[2]?Or[1]!==ue[Or[0]]:!(Or[0]in ue))return!1}for(;++vt<Sn;){Or=Ne[vt];var Hr=Or[0],ro=ue[Hr],zo=Or[1];if(or&&Or[2]){if(ro===void 0&&!(Hr in ue))return!1}else{var oi=new Rt;if(qe)var bi=qe(ro,zo,Hr,ue,Y,oi);if(!(bi===void 0?mf(zo,ro,Ff|vd,qe,oi):bi))return!1}}return!0}var td=ed;function yf(ue){return ue===ue&&!Rn(ue)}var nd=yf;function rd(ue){for(var Y=Jc(ue),Ne=Y.length;Ne--;){var qe=Y[Ne],vt=ue[qe];Y[Ne]=[qe,vt,nd(vt)]}return Y}var od=rd;function zf(ue,Y){return function(Ne){return Ne==null?!1:Ne[ue]===Y&&(Y!==void 0||ue in Object(Ne))}}var $f=zf;function du(ue){var Y=od(ue);return Y.length==1&&Y[0][2]?$f(Y[0][0],Y[0][1]):function(Ne){return Ne===ue||td(Ne,ue,Y)}}var Ou=du,Hf=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,id=/^\\w*$/;function ad(ue,Y){if(vo(ue))return!1;var Ne=typeof ue;return Ne==\"number\"||Ne==\"symbol\"||Ne==\"boolean\"||ue==null||fu(ue)?!0:id.test(ue)||!Hf.test(ue)||Y!=null&&ue in Object(Y)}var o=ad,t=\"Expected a function\";function e(ue,Y){if(typeof ue!=\"function\"||Y!=null&&typeof Y!=\"function\")throw new TypeError(t);var Ne=function(){var qe=arguments,vt=Y?Y.apply(this,qe):qe[0],Sn=Ne.cache;if(Sn.has(vt))return Sn.get(vt);var or=ue.apply(this,qe);return Ne.cache=Sn.set(vt,or)||Sn,or};return Ne.cache=new(e.Cache||fr),Ne}e.Cache=fr;var n=e,i=500;function d(ue){var Y=n(ue,function(qe){return Ne.size===i&&Ne.clear(),qe}),Ne=Y.cache;return Y}var g=d,_=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g,I=/\\\\(\\\\)?/g,D=g(function(ue){var Y=[];return ue.charCodeAt(0)===46&&Y.push(\"\"),ue.replace(_,function(Ne,qe,vt,Sn){Y.push(vt?Sn.replace(I,\"$1\"):qe||Ne)}),Y}),H=D,Z=1/0,te=hr?hr.prototype:void 0,de=te?te.toString:void 0;function Pe(ue){if(typeof ue==\"string\")return ue;if(vo(ue))return $c(ue,Pe)+\"\";if(fu(ue))return de?de.call(ue):\"\";var Y=ue+\"\";return Y==\"0\"&&1/ue==-Z?\"-0\":Y}var Ge=Pe;function Qe(ue){return ue==null?\"\":Ge(ue)}var Xe=Qe;function yt(ue,Y){return vo(ue)?ue:o(ue,Y)?[ue]:H(Xe(ue))}var Ct=yt,on=1/0;function sn(ue){if(typeof ue==\"string\"||fu(ue))return ue;var Y=ue+\"\";return Y==\"0\"&&1/ue==-on?\"-0\":Y}var Nn=sn;function Tn(ue,Y){Y=Ct(Y,ue);for(var Ne=0,qe=Y.length;ue!=null&&Ne<qe;)ue=ue[Nn(Y[Ne++])];return Ne&&Ne==qe?ue:void 0}var Bn=Tn;function Hn(ue,Y,Ne){var qe=ue==null?void 0:Bn(ue,Y);return qe===void 0?Ne:qe}var Sr=Hn;function Cr(ue,Y){return ue!=null&&Y in Object(ue)}var po=Cr;function wo(ue,Y,Ne){Y=Ct(Y,ue);for(var qe=-1,vt=Y.length,Sn=!1;++qe<vt;){var or=Nn(Y[qe]);if(!(Sn=ue!=null&&Ne(ue,or)))break;ue=ue[or]}return Sn||++qe!=vt?Sn:(vt=ue==null?0:ue.length,!!vt&&Pi(vt)&&qr(or,vt)&&(vo(ue)||Vr(ue)))}var Po=wo;function Xo(ue,Y){return ue!=null&&Po(ue,Y,po)}var ri=Xo,ki=1,T=2;function B(ue,Y){return o(ue)&&nd(Y)?$f(Nn(ue),Y):function(Ne){var qe=Sr(Ne,ue);return qe===void 0&&qe===Y?ri(Ne,ue):mf(Y,qe,ki|T)}}var K=B;function Se(ue){return function(Y){return Y==null?void 0:Y[ue]}}var He=Se;function Ye(ue){return function(Y){return Bn(Y,ue)}}var Et=Ye;function bn(ue){return o(ue)?He(Nn(ue)):Et(ue)}var Qn=bn;function yr(ue){return typeof ue==\"function\"?ue:ue==null?zs:typeof ue==\"object\"?vo(ue)?K(ue[0],ue[1]):Ou(ue):Qn(ue)}var vr=yr;function no(ue,Y){var Ne=-1,qe=Vi(ue)?Array(ue.length):[];return nl(ue,function(vt,Sn,or){qe[++Ne]=Y(vt,Sn,or)}),qe}var Wo=no;function $o(ue,Y){var Ne=vo(ue)?$c:Wo;return Ne(ue,vr(Y,3))}var Lr=$o,co=function(Y){var Ne=Y.colors,qe=Y.onClick,vt=Y.onSwatchHover,Sn=(0,y.ZP)({default:{swatches:{marginRight:\"-10px\"},swatch:{width:\"22px\",height:\"22px\",float:\"left\",marginRight:\"10px\",marginBottom:\"10px\",borderRadius:\"4px\"},clear:{clear:\"both\"}}});return r.createElement(\"div\",{style:Sn.swatches},Lr(Ne,function(or){return r.createElement(wc,{key:or,color:or,style:Sn.swatch,onClick:qe,onHover:vt,focusStyle:{boxShadow:\"0 0 4px \"+or}})}),r.createElement(\"div\",{style:Sn.clear}))},Do=co,yi=function(Y){var Ne=Y.onChange,qe=Y.onSwatchHover,vt=Y.hex,Sn=Y.colors,or=Y.width,Or=Y.triangle,Hr=Y.styles,ro=Hr===void 0?{}:Hr,zo=Y.className,oi=zo===void 0?\"\":zo,bi=vt===\"transparent\",ji=function(za,Vs){Ci(za)&&Ne({hex:za,source:\"hex\"},Vs)},ma=(0,y.ZP)(Be({default:{card:{width:or,background:\"#fff\",boxShadow:\"0 1px rgba(0,0,0,.1)\",borderRadius:\"6px\",position:\"relative\"},head:{height:\"110px\",background:vt,borderRadius:\"6px 6px 0 0\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",position:\"relative\"},body:{padding:\"10px\"},label:{fontSize:\"18px\",color:ua(vt),position:\"relative\"},triangle:{width:\"0px\",height:\"0px\",borderStyle:\"solid\",borderWidth:\"0 10px 10px 10px\",borderColor:\"transparent transparent \"+vt+\" transparent\",position:\"absolute\",top:\"-10px\",left:\"50%\",marginLeft:\"-10px\"},input:{width:\"100%\",fontSize:\"12px\",color:\"#666\",border:\"0px\",outline:\"none\",height:\"22px\",boxShadow:\"inset 0 0 0 1px #ddd\",borderRadius:\"4px\",padding:\"0 7px\",boxSizing:\"border-box\"}},\"hide-triangle\":{triangle:{display:\"none\"}}},ro),{\"hide-triangle\":Or===\"hide\"});return r.createElement(\"div\",{style:ma.card,className:\"block-picker \"+oi},r.createElement(\"div\",{style:ma.triangle}),r.createElement(\"div\",{style:ma.head},bi&&r.createElement(u,{borderRadius:\"6px 6px 0 0\"}),r.createElement(\"div\",{style:ma.label},vt)),r.createElement(\"div\",{style:ma.body},r.createElement(Do,{colors:Sn,onClick:ji,onSwatchHover:qe}),r.createElement(Le,{style:{input:ma.input},value:vt,onChange:ji})))};yi.propTypes={width:ae().oneOfType([ae().string,ae().number]),colors:ae().arrayOf(ae().string),triangle:ae().oneOf([\"top\",\"hide\"]),styles:ae().object},yi.defaultProps={width:170,colors:[\"#D9E3F0\",\"#F47373\",\"#697689\",\"#37D67A\",\"#2CCCE4\",\"#555555\",\"#dce775\",\"#ff8a65\",\"#ba68c8\"],triangle:\"top\",styles:{}};var Fo=Ws(yi),Bo={50:\"#ffebee\",100:\"#ffcdd2\",200:\"#ef9a9a\",300:\"#e57373\",400:\"#ef5350\",500:\"#f44336\",600:\"#e53935\",700:\"#d32f2f\",800:\"#c62828\",900:\"#b71c1c\",a100:\"#ff8a80\",a200:\"#ff5252\",a400:\"#ff1744\",a700:\"#d50000\"},Uo={50:\"#fce4ec\",100:\"#f8bbd0\",200:\"#f48fb1\",300:\"#f06292\",400:\"#ec407a\",500:\"#e91e63\",600:\"#d81b60\",700:\"#c2185b\",800:\"#ad1457\",900:\"#880e4f\",a100:\"#ff80ab\",a200:\"#ff4081\",a400:\"#f50057\",a700:\"#c51162\"},Gi={50:\"#f3e5f5\",100:\"#e1bee7\",200:\"#ce93d8\",300:\"#ba68c8\",400:\"#ab47bc\",500:\"#9c27b0\",600:\"#8e24aa\",700:\"#7b1fa2\",800:\"#6a1b9a\",900:\"#4a148c\",a100:\"#ea80fc\",a200:\"#e040fb\",a400:\"#d500f9\",a700:\"#aa00ff\"},Ni={50:\"#ede7f6\",100:\"#d1c4e9\",200:\"#b39ddb\",300:\"#9575cd\",400:\"#7e57c2\",500:\"#673ab7\",600:\"#5e35b1\",700:\"#512da8\",800:\"#4527a0\",900:\"#311b92\",a100:\"#b388ff\",a200:\"#7c4dff\",a400:\"#651fff\",a700:\"#6200ea\"},Wi={50:\"#e8eaf6\",100:\"#c5cae9\",200:\"#9fa8da\",300:\"#7986cb\",400:\"#5c6bc0\",500:\"#3f51b5\",600:\"#3949ab\",700:\"#303f9f\",800:\"#283593\",900:\"#1a237e\",a100:\"#8c9eff\",a200:\"#536dfe\",a400:\"#3d5afe\",a700:\"#304ffe\"},ba={50:\"#e3f2fd\",100:\"#bbdefb\",200:\"#90caf9\",300:\"#64b5f6\",400:\"#42a5f5\",500:\"#2196f3\",600:\"#1e88e5\",700:\"#1976d2\",800:\"#1565c0\",900:\"#0d47a1\",a100:\"#82b1ff\",a200:\"#448aff\",a400:\"#2979ff\",a700:\"#2962ff\"},Ss={50:\"#e1f5fe\",100:\"#b3e5fc\",200:\"#81d4fa\",300:\"#4fc3f7\",400:\"#29b6f6\",500:\"#03a9f4\",600:\"#039be5\",700:\"#0288d1\",800:\"#0277bd\",900:\"#01579b\",a100:\"#80d8ff\",a200:\"#40c4ff\",a400:\"#00b0ff\",a700:\"#0091ea\"},Ra={50:\"#e0f7fa\",100:\"#b2ebf2\",200:\"#80deea\",300:\"#4dd0e1\",400:\"#26c6da\",500:\"#00bcd4\",600:\"#00acc1\",700:\"#0097a7\",800:\"#00838f\",900:\"#006064\",a100:\"#84ffff\",a200:\"#18ffff\",a400:\"#00e5ff\",a700:\"#00b8d4\"},fs={50:\"#e0f2f1\",100:\"#b2dfdb\",200:\"#80cbc4\",300:\"#4db6ac\",400:\"#26a69a\",500:\"#009688\",600:\"#00897b\",700:\"#00796b\",800:\"#00695c\",900:\"#004d40\",a100:\"#a7ffeb\",a200:\"#64ffda\",a400:\"#1de9b6\",a700:\"#00bfa5\"},ns={50:\"#e8f5e9\",100:\"#c8e6c9\",200:\"#a5d6a7\",300:\"#81c784\",400:\"#66bb6a\",500:\"#4caf50\",600:\"#43a047\",700:\"#388e3c\",800:\"#2e7d32\",900:\"#1b5e20\",a100:\"#b9f6ca\",a200:\"#69f0ae\",a400:\"#00e676\",a700:\"#00c853\"},hs={50:\"#f1f8e9\",100:\"#dcedc8\",200:\"#c5e1a5\",300:\"#aed581\",400:\"#9ccc65\",500:\"#8bc34a\",600:\"#7cb342\",700:\"#689f38\",800:\"#558b2f\",900:\"#33691e\",a100:\"#ccff90\",a200:\"#b2ff59\",a400:\"#76ff03\",a700:\"#64dd17\"},Is={50:\"#f9fbe7\",100:\"#f0f4c3\",200:\"#e6ee9c\",300:\"#dce775\",400:\"#d4e157\",500:\"#cddc39\",600:\"#c0ca33\",700:\"#afb42b\",800:\"#9e9d24\",900:\"#827717\",a100:\"#f4ff81\",a200:\"#eeff41\",a400:\"#c6ff00\",a700:\"#aeea00\"},hu={50:\"#fffde7\",100:\"#fff9c4\",200:\"#fff59d\",300:\"#fff176\",400:\"#ffee58\",500:\"#ffeb3b\",600:\"#fdd835\",700:\"#fbc02d\",800:\"#f9a825\",900:\"#f57f17\",a100:\"#ffff8d\",a200:\"#ffff00\",a400:\"#ffea00\",a700:\"#ffd600\"},Es={50:\"#fff8e1\",100:\"#ffecb3\",200:\"#ffe082\",300:\"#ffd54f\",400:\"#ffca28\",500:\"#ffc107\",600:\"#ffb300\",700:\"#ffa000\",800:\"#ff8f00\",900:\"#ff6f00\",a100:\"#ffe57f\",a200:\"#ffd740\",a400:\"#ffc400\",a700:\"#ffab00\"},ku={50:\"#fff3e0\",100:\"#ffe0b2\",200:\"#ffcc80\",300:\"#ffb74d\",400:\"#ffa726\",500:\"#ff9800\",600:\"#fb8c00\",700:\"#f57c00\",800:\"#ef6c00\",900:\"#e65100\",a100:\"#ffd180\",a200:\"#ffab40\",a400:\"#ff9100\",a700:\"#ff6d00\"},Uc={50:\"#fbe9e7\",100:\"#ffccbc\",200:\"#ffab91\",300:\"#ff8a65\",400:\"#ff7043\",500:\"#ff5722\",600:\"#f4511e\",700:\"#e64a19\",800:\"#d84315\",900:\"#bf360c\",a100:\"#ff9e80\",a200:\"#ff6e40\",a400:\"#ff3d00\",a700:\"#dd2c00\"},Vc={50:\"#efebe9\",100:\"#d7ccc8\",200:\"#bcaaa4\",300:\"#a1887f\",400:\"#8d6e63\",500:\"#795548\",600:\"#6d4c41\",700:\"#5d4037\",800:\"#4e342e\",900:\"#3e2723\"},sd={50:\"#fafafa\",100:\"#f5f5f5\",200:\"#eeeeee\",300:\"#e0e0e0\",400:\"#bdbdbd\",500:\"#9e9e9e\",600:\"#757575\",700:\"#616161\",800:\"#424242\",900:\"#212121\"},pc={50:\"#eceff1\",100:\"#cfd8dc\",200:\"#b0bec5\",300:\"#90a4ae\",400:\"#78909c\",500:\"#607d8b\",600:\"#546e7a\",700:\"#455a64\",800:\"#37474f\",900:\"#263238\"},md={primary:\"rgba(0, 0, 0, 0.87)\",secondary:\"rgba(0, 0, 0, 0.54)\",disabled:\"rgba(0, 0, 0, 0.38)\",dividers:\"rgba(0, 0, 0, 0.12)\"},Gf={primary:\"rgba(255, 255, 255, 1)\",secondary:\"rgba(255, 255, 255, 0.7)\",disabled:\"rgba(255, 255, 255, 0.5)\",dividers:\"rgba(255, 255, 255, 0.12)\"},Od={active:\"rgba(0, 0, 0, 0.54)\",inactive:\"rgba(0, 0, 0, 0.38)\"},bf={active:\"rgba(255, 255, 255, 1)\",inactive:\"rgba(255, 255, 255, 0.5)\"},Cc=\"#ffffff\",Fl=\"#000000\",ks={red:Bo,pink:Uo,purple:Gi,deepPurple:Ni,indigo:Wi,blue:ba,lightBlue:Ss,cyan:Ra,teal:fs,green:ns,lightGreen:hs,lime:Is,yellow:hu,amber:Es,orange:ku,deepOrange:Uc,brown:Vc,grey:sd,blueGrey:pc,darkText:md,lightText:Gf,darkIcons:Od,lightIcons:bf,white:Cc,black:Fl},Qs=function(Y){var Ne=Y.color,qe=Y.onClick,vt=Y.onSwatchHover,Sn=Y.hover,or=Y.active,Or=Y.circleSize,Hr=Y.circleSpacing,ro=(0,y.ZP)({default:{swatch:{width:Or,height:Or,marginRight:Hr,marginBottom:Hr,transform:\"scale(1)\",transition:\"100ms transform ease\"},Swatch:{borderRadius:\"50%\",background:\"transparent\",boxShadow:\"inset 0 0 0 \"+(Or/2+1)+\"px \"+Ne,transition:\"100ms box-shadow ease\"}},hover:{swatch:{transform:\"scale(1.2)\"}},active:{Swatch:{boxShadow:\"inset 0 0 0 3px \"+Ne}}},{hover:Sn,active:or});return r.createElement(\"div\",{style:ro.swatch},r.createElement(wc,{style:ro.Swatch,color:Ne,onClick:qe,onHover:vt,focusStyle:{boxShadow:ro.Swatch.boxShadow+\", 0 0 5px \"+Ne}}))};Qs.defaultProps={circleSize:28,circleSpacing:14};var Gu=(0,y.tz)(Qs),zu=function(Y){var Ne=Y.width,qe=Y.onChange,vt=Y.onSwatchHover,Sn=Y.colors,or=Y.hex,Or=Y.circleSize,Hr=Y.styles,ro=Hr===void 0?{}:Hr,zo=Y.circleSpacing,oi=Y.className,bi=oi===void 0?\"\":oi,ji=(0,y.ZP)(Be({default:{card:{width:Ne,display:\"flex\",flexWrap:\"wrap\",marginRight:-zo,marginBottom:-zo}}},ro)),ma=function(za,Vs){return qe({hex:za,source:\"hex\"},Vs)};return r.createElement(\"div\",{style:ji.card,className:\"circle-picker \"+bi},Lr(Sn,function(Ea){return r.createElement(Gu,{key:Ea,color:Ea,onClick:ma,onSwatchHover:vt,active:or===Ea.toLowerCase(),circleSize:Or,circleSpacing:zo})}))};zu.propTypes={width:ae().oneOfType([ae().string,ae().number]),circleSize:ae().number,circleSpacing:ae().number,styles:ae().object},zu.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[Bo[500],Uo[500],Gi[500],Ni[500],Wi[500],ba[500],Ss[500],Ra[500],fs[500],ns[500],hs[500],Is[500],hu[500],Es[500],ku[500],Uc[500],Vc[500],pc[500]],styles:{}};var Cd=Ws(zu);function yd(ue){return ue===void 0}var Wf=yd,xf=c(29926),wf=function(){function ue(Y,Ne){for(var qe=0;qe<Ne.length;qe++){var vt=Ne[qe];vt.enumerable=vt.enumerable||!1,vt.configurable=!0,\"value\"in vt&&(vt.writable=!0),Object.defineProperty(Y,vt.key,vt)}}return function(Y,Ne,qe){return Ne&&ue(Y.prototype,Ne),qe&&ue(Y,qe),Y}}();function bd(ue,Y){if(!(ue instanceof Y))throw new TypeError(\"Cannot call a class as a function\")}function Ud(ue,Y){if(!ue)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return Y&&(typeof Y==\"object\"||typeof Y==\"function\")?Y:ue}function _d(ue,Y){if(typeof Y!=\"function\"&&Y!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof Y);ue.prototype=Object.create(Y&&Y.prototype,{constructor:{value:ue,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(ue,Y):ue.__proto__=Y)}var Md=function(ue){_d(Y,ue);function Y(Ne){bd(this,Y);var qe=Ud(this,(Y.__proto__||Object.getPrototypeOf(Y)).call(this));return qe.toggleViews=function(){qe.state.view===\"hex\"?qe.setState({view:\"rgb\"}):qe.state.view===\"rgb\"?qe.setState({view:\"hsl\"}):qe.state.view===\"hsl\"&&(qe.props.hsl.a===1?qe.setState({view:\"hex\"}):qe.setState({view:\"rgb\"}))},qe.handleChange=function(vt,Sn){vt.hex?Ci(vt.hex)&&qe.props.onChange({hex:vt.hex,source:\"hex\"},Sn):vt.r||vt.g||vt.b?qe.props.onChange({r:vt.r||qe.props.rgb.r,g:vt.g||qe.props.rgb.g,b:vt.b||qe.props.rgb.b,source:\"rgb\"},Sn):vt.a?(vt.a<0?vt.a=0:vt.a>1&&(vt.a=1),qe.props.onChange({h:qe.props.hsl.h,s:qe.props.hsl.s,l:qe.props.hsl.l,a:Math.round(vt.a*100)/100,source:\"rgb\"},Sn)):(vt.h||vt.s||vt.l)&&(typeof vt.s==\"string\"&&vt.s.includes(\"%\")&&(vt.s=vt.s.replace(\"%\",\"\")),typeof vt.l==\"string\"&&vt.l.includes(\"%\")&&(vt.l=vt.l.replace(\"%\",\"\")),vt.s==1?vt.s=.01:vt.l==1&&(vt.l=.01),qe.props.onChange({h:vt.h||qe.props.hsl.h,s:Number(Wf(vt.s)?qe.props.hsl.s:vt.s),l:Number(Wf(vt.l)?qe.props.hsl.l:vt.l),source:\"hsl\"},Sn))},qe.showHighlight=function(vt){vt.currentTarget.style.background=\"#eee\"},qe.hideHighlight=function(vt){vt.currentTarget.style.background=\"transparent\"},Ne.hsl.a!==1&&Ne.view===\"hex\"?qe.state={view:\"rgb\"}:qe.state={view:Ne.view},qe}return wf(Y,[{key:\"render\",value:function(){var qe=this,vt=(0,y.ZP)({default:{wrap:{paddingTop:\"16px\",display:\"flex\"},fields:{flex:\"1\",display:\"flex\",marginLeft:\"-6px\"},field:{paddingLeft:\"6px\",width:\"100%\"},alpha:{paddingLeft:\"6px\",width:\"100%\"},toggle:{width:\"32px\",textAlign:\"right\",position:\"relative\"},icon:{marginRight:\"-4px\",marginTop:\"12px\",cursor:\"pointer\",position:\"relative\"},iconHighlight:{position:\"absolute\",width:\"24px\",height:\"28px\",background:\"#eee\",borderRadius:\"4px\",top:\"10px\",left:\"12px\",display:\"none\"},input:{fontSize:\"11px\",color:\"#333\",width:\"100%\",borderRadius:\"2px\",border:\"none\",boxShadow:\"inset 0 0 0 1px #dadada\",height:\"21px\",textAlign:\"center\"},label:{textTransform:\"uppercase\",fontSize:\"11px\",lineHeight:\"11px\",color:\"#969696\",textAlign:\"center\",display:\"block\",marginTop:\"12px\"},svg:{fill:\"#333\",width:\"24px\",height:\"24px\",border:\"1px transparent solid\",borderRadius:\"5px\"}},disableAlpha:{alpha:{display:\"none\"}}},this.props,this.state),Sn=void 0;return this.state.view===\"hex\"?Sn=r.createElement(\"div\",{style:vt.fields,className:\"flexbox-fix\"},r.createElement(\"div\",{style:vt.field},r.createElement(Le,{style:{input:vt.input,label:vt.label},label:\"hex\",value:this.props.hex,onChange:this.handleChange}))):this.state.view===\"rgb\"?Sn=r.createElement(\"div\",{style:vt.fields,className:\"flexbox-fix\"},r.createElement(\"div\",{style:vt.field},r.createElement(Le,{style:{input:vt.input,label:vt.label},label:\"r\",value:this.props.rgb.r,onChange:this.handleChange})),r.createElement(\"div\",{style:vt.field},r.createElement(Le,{style:{input:vt.input,label:vt.label},label:\"g\",value:this.props.rgb.g,onChange:this.handleChange})),r.createElement(\"div\",{style:vt.field},r.createElement(Le,{style:{input:vt.input,label:vt.label},label:\"b\",value:this.props.rgb.b,onChange:this.handleChange})),r.createElement(\"div\",{style:vt.alpha},r.createElement(Le,{style:{input:vt.input,label:vt.label},label:\"a\",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):this.state.view===\"hsl\"&&(Sn=r.createElement(\"div\",{style:vt.fields,className:\"flexbox-fix\"},r.createElement(\"div\",{style:vt.field},r.createElement(Le,{style:{input:vt.input,label:vt.label},label:\"h\",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),r.createElement(\"div\",{style:vt.field},r.createElement(Le,{style:{input:vt.input,label:vt.label},label:\"s\",value:Math.round(this.props.hsl.s*100)+\"%\",onChange:this.handleChange})),r.createElement(\"div\",{style:vt.field},r.createElement(Le,{style:{input:vt.input,label:vt.label},label:\"l\",value:Math.round(this.props.hsl.l*100)+\"%\",onChange:this.handleChange})),r.createElement(\"div\",{style:vt.alpha},r.createElement(Le,{style:{input:vt.input,label:vt.label},label:\"a\",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),r.createElement(\"div\",{style:vt.wrap,className:\"flexbox-fix\"},Sn,r.createElement(\"div\",{style:vt.toggle},r.createElement(\"div\",{style:vt.icon,onClick:this.toggleViews,ref:function(Or){return qe.icon=Or}},r.createElement(xf.Z,{style:vt.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:\"getDerivedStateFromProps\",value:function(qe,vt){return qe.hsl.a!==1&&vt.view===\"hex\"?{view:\"rgb\"}:null}}]),Y}(r.Component);Md.defaultProps={view:\"hex\"};var Vd=Md,Zd=function(){var Y=(0,y.ZP)({default:{picker:{width:\"12px\",height:\"12px\",borderRadius:\"6px\",transform:\"translate(-6px, -1px)\",backgroundColor:\"rgb(248, 248, 248)\",boxShadow:\"0 1px 4px 0 rgba(0, 0, 0, 0.37)\"}}});return r.createElement(\"div\",{style:Y.picker})},Bd=Zd,Xd=function(){var Y=(0,y.ZP)({default:{picker:{width:\"12px\",height:\"12px\",borderRadius:\"6px\",boxShadow:\"inset 0 0 0 1px #fff\",transform:\"translate(-6px, -6px)\"}}});return r.createElement(\"div\",{style:Y.picker})},Yd=Xd,Ad=function(Y){var Ne=Y.width,qe=Y.onChange,vt=Y.disableAlpha,Sn=Y.rgb,or=Y.hsl,Or=Y.hsv,Hr=Y.hex,ro=Y.renderers,zo=Y.styles,oi=zo===void 0?{}:zo,bi=Y.className,ji=bi===void 0?\"\":bi,ma=Y.defaultView,Ea=(0,y.ZP)(Be({default:{picker:{width:Ne,background:\"#fff\",borderRadius:\"2px\",boxShadow:\"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)\",boxSizing:\"initial\",fontFamily:\"Menlo\"},saturation:{width:\"100%\",paddingBottom:\"55%\",position:\"relative\",borderRadius:\"2px 2px 0 0\",overflow:\"hidden\"},Saturation:{radius:\"2px 2px 0 0\"},body:{padding:\"16px 16px 12px\"},controls:{display:\"flex\"},color:{width:\"32px\"},swatch:{marginTop:\"6px\",width:\"16px\",height:\"16px\",borderRadius:\"8px\",position:\"relative\",overflow:\"hidden\"},active:{absolute:\"0px 0px 0px 0px\",borderRadius:\"8px\",boxShadow:\"inset 0 0 0 1px rgba(0,0,0,.1)\",background:\"rgba(\"+Sn.r+\", \"+Sn.g+\", \"+Sn.b+\", \"+Sn.a+\")\",zIndex:\"2\"},toggles:{flex:\"1\"},hue:{height:\"10px\",position:\"relative\",marginBottom:\"8px\"},Hue:{radius:\"2px\"},alpha:{height:\"10px\",position:\"relative\"},Alpha:{radius:\"2px\"}},disableAlpha:{color:{width:\"22px\"},alpha:{display:\"none\"},hue:{marginBottom:\"0px\"},swatch:{width:\"10px\",height:\"10px\",marginTop:\"0px\"}}},oi),{disableAlpha:vt});return r.createElement(\"div\",{style:Ea.picker,className:\"chrome-picker \"+ji},r.createElement(\"div\",{style:Ea.saturation},r.createElement(xu,{style:Ea.Saturation,hsl:or,hsv:Or,pointer:Yd,onChange:qe})),r.createElement(\"div\",{style:Ea.body},r.createElement(\"div\",{style:Ea.controls,className:\"flexbox-fix\"},r.createElement(\"div\",{style:Ea.color},r.createElement(\"div\",{style:Ea.swatch},r.createElement(\"div\",{style:Ea.active}),r.createElement(u,{renderers:ro}))),r.createElement(\"div\",{style:Ea.toggles},r.createElement(\"div\",{style:Ea.hue},r.createElement(he,{style:Ea.Hue,hsl:or,pointer:Bd,onChange:qe})),r.createElement(\"div\",{style:Ea.alpha},r.createElement(x,{style:Ea.Alpha,rgb:Sn,hsl:or,pointer:Bd,renderers:ro,onChange:qe})))),r.createElement(Vd,{rgb:Sn,hsl:or,hex:Hr,view:ma,onChange:qe,disableAlpha:vt})))};Ad.propTypes={width:ae().oneOfType([ae().string,ae().number]),disableAlpha:ae().bool,styles:ae().object,defaultView:ae().oneOf([\"hex\",\"rgb\",\"hsl\"])},Ad.defaultProps={width:225,disableAlpha:!1,styles:{}};var Th=Ws(Ad),Kd=function(Y){var Ne=Y.color,qe=Y.onClick,vt=qe===void 0?function(){}:qe,Sn=Y.onSwatchHover,or=Y.active,Or=(0,y.ZP)({default:{color:{background:Ne,width:\"15px\",height:\"15px\",float:\"left\",marginRight:\"5px\",marginBottom:\"5px\",position:\"relative\",cursor:\"pointer\"},dot:{absolute:\"5px 5px 5px 5px\",background:ua(Ne),borderRadius:\"50%\",opacity:\"0\"}},active:{dot:{opacity:\"1\"}},\"color-#FFFFFF\":{color:{boxShadow:\"inset 0 0 0 1px #ddd\"},dot:{background:\"#000\"}},transparent:{dot:{background:\"#000\"}}},{active:or,\"color-#FFFFFF\":Ne===\"#FFFFFF\",transparent:Ne===\"transparent\"});return r.createElement(wc,{style:Or.color,color:Ne,onClick:vt,onHover:Sn,focusStyle:{boxShadow:\"0 0 4px \"+Ne}},r.createElement(\"div\",{style:Or.dot}))},qd=Kd,Qd=function(Y){var Ne=Y.hex,qe=Y.rgb,vt=Y.onChange,Sn=(0,y.ZP)({default:{fields:{display:\"flex\",paddingBottom:\"6px\",paddingRight:\"5px\",position:\"relative\"},active:{position:\"absolute\",top:\"6px\",left:\"5px\",height:\"9px\",width:\"9px\",background:Ne},HEXwrap:{flex:\"6\",position:\"relative\"},HEXinput:{width:\"80%\",padding:\"0px\",paddingLeft:\"20%\",border:\"none\",outline:\"none\",background:\"none\",fontSize:\"12px\",color:\"#333\",height:\"16px\"},HEXlabel:{display:\"none\"},RGBwrap:{flex:\"3\",position:\"relative\"},RGBinput:{width:\"70%\",padding:\"0px\",paddingLeft:\"30%\",border:\"none\",outline:\"none\",background:\"none\",fontSize:\"12px\",color:\"#333\",height:\"16px\"},RGBlabel:{position:\"absolute\",top:\"3px\",left:\"0px\",lineHeight:\"16px\",textTransform:\"uppercase\",fontSize:\"12px\",color:\"#999\"}}}),or=function(Hr,ro){Hr.r||Hr.g||Hr.b?vt({r:Hr.r||qe.r,g:Hr.g||qe.g,b:Hr.b||qe.b,source:\"rgb\"},ro):vt({hex:Hr.hex,source:\"hex\"},ro)};return r.createElement(\"div\",{style:Sn.fields,className:\"flexbox-fix\"},r.createElement(\"div\",{style:Sn.active}),r.createElement(Le,{style:{wrap:Sn.HEXwrap,input:Sn.HEXinput,label:Sn.HEXlabel},label:\"hex\",value:Ne,onChange:or}),r.createElement(Le,{style:{wrap:Sn.RGBwrap,input:Sn.RGBinput,label:Sn.RGBlabel},label:\"r\",value:qe.r,onChange:or}),r.createElement(Le,{style:{wrap:Sn.RGBwrap,input:Sn.RGBinput,label:Sn.RGBlabel},label:\"g\",value:qe.g,onChange:or}),r.createElement(Le,{style:{wrap:Sn.RGBwrap,input:Sn.RGBinput,label:Sn.RGBlabel},label:\"b\",value:qe.b,onChange:or}))},Jd=Qd,Td=function(Y){var Ne=Y.onChange,qe=Y.onSwatchHover,vt=Y.colors,Sn=Y.hex,or=Y.rgb,Or=Y.styles,Hr=Or===void 0?{}:Or,ro=Y.className,zo=ro===void 0?\"\":ro,oi=(0,y.ZP)(Be({default:{Compact:{background:\"#f6f6f6\",radius:\"4px\"},compact:{paddingTop:\"5px\",paddingLeft:\"5px\",boxSizing:\"initial\",width:\"240px\"},clear:{clear:\"both\"}}},Hr)),bi=function(ma,Ea){ma.hex?Ci(ma.hex)&&Ne({hex:ma.hex,source:\"hex\"},Ea):Ne(ma,Ea)};return r.createElement(it,{style:oi.Compact,styles:Hr},r.createElement(\"div\",{style:oi.compact,className:\"compact-picker \"+zo},r.createElement(\"div\",null,Lr(vt,function(ji){return r.createElement(qd,{key:ji,color:ji,active:ji.toLowerCase()===Sn,onClick:bi,onSwatchHover:qe})}),r.createElement(\"div\",{style:oi.clear})),r.createElement(Jd,{hex:Sn,rgb:or,onChange:bi})))};Td.propTypes={colors:ae().arrayOf(ae().string),styles:ae().object},Td.defaultProps={colors:[\"#4D4D4D\",\"#999999\",\"#FFFFFF\",\"#F44E3B\",\"#FE9200\",\"#FCDC00\",\"#DBDF00\",\"#A4DD00\",\"#68CCCA\",\"#73D8FF\",\"#AEA1FF\",\"#FDA1FF\",\"#333333\",\"#808080\",\"#cccccc\",\"#D33115\",\"#E27300\",\"#FCC400\",\"#B0BC00\",\"#68BC00\",\"#16A5A5\",\"#009CE0\",\"#7B64FF\",\"#FA28FF\",\"#000000\",\"#666666\",\"#B3B3B3\",\"#9F0500\",\"#C45100\",\"#FB9E00\",\"#808900\",\"#194D33\",\"#0C797D\",\"#0062B1\",\"#653294\",\"#AB149E\"],styles:{}};var fl=Ws(Td),eh=function(Y){var Ne=Y.hover,qe=Y.color,vt=Y.onClick,Sn=Y.onSwatchHover,or={position:\"relative\",zIndex:\"2\",outline:\"2px solid #fff\",boxShadow:\"0 0 5px 2px rgba(0,0,0,0.25)\"},Or=(0,y.ZP)({default:{swatch:{width:\"25px\",height:\"25px\",fontSize:\"0\"}},hover:{swatch:or}},{hover:Ne});return r.createElement(\"div\",{style:Or.swatch},r.createElement(wc,{color:qe,onClick:vt,onHover:Sn,focusStyle:or}))},th=(0,y.tz)(eh),El=function(Y){var Ne=Y.width,qe=Y.colors,vt=Y.onChange,Sn=Y.onSwatchHover,or=Y.triangle,Or=Y.styles,Hr=Or===void 0?{}:Or,ro=Y.className,zo=ro===void 0?\"\":ro,oi=(0,y.ZP)(Be({default:{card:{width:Ne,background:\"#fff\",border:\"1px solid rgba(0,0,0,0.2)\",boxShadow:\"0 3px 12px rgba(0,0,0,0.15)\",borderRadius:\"4px\",position:\"relative\",padding:\"5px\",display:\"flex\",flexWrap:\"wrap\"},triangle:{position:\"absolute\",border:\"7px solid transparent\",borderBottomColor:\"#fff\"},triangleShadow:{position:\"absolute\",border:\"8px solid transparent\",borderBottomColor:\"rgba(0,0,0,0.15)\"}},\"hide-triangle\":{triangle:{display:\"none\"},triangleShadow:{display:\"none\"}},\"top-left-triangle\":{triangle:{top:\"-14px\",left:\"10px\"},triangleShadow:{top:\"-16px\",left:\"9px\"}},\"top-right-triangle\":{triangle:{top:\"-14px\",right:\"10px\"},triangleShadow:{top:\"-16px\",right:\"9px\"}},\"bottom-left-triangle\":{triangle:{top:\"35px\",left:\"10px\",transform:\"rotate(180deg)\"},triangleShadow:{top:\"37px\",left:\"9px\",transform:\"rotate(180deg)\"}},\"bottom-right-triangle\":{triangle:{top:\"35px\",right:\"10px\",transform:\"rotate(180deg)\"},triangleShadow:{top:\"37px\",right:\"9px\",transform:\"rotate(180deg)\"}}},Hr),{\"hide-triangle\":or===\"hide\",\"top-left-triangle\":or===\"top-left\",\"top-right-triangle\":or===\"top-right\",\"bottom-left-triangle\":or===\"bottom-left\",\"bottom-right-triangle\":or===\"bottom-right\"}),bi=function(ma,Ea){return vt({hex:ma,source:\"hex\"},Ea)};return r.createElement(\"div\",{style:oi.card,className:\"github-picker \"+zo},r.createElement(\"div\",{style:oi.triangleShadow}),r.createElement(\"div\",{style:oi.triangle}),Lr(qe,function(ji){return r.createElement(th,{color:ji,key:ji,onClick:bi,onSwatchHover:Sn})}))};El.propTypes={width:ae().oneOfType([ae().string,ae().number]),colors:ae().arrayOf(ae().string),triangle:ae().oneOf([\"hide\",\"top-left\",\"top-right\",\"bottom-left\",\"bottom-right\"]),styles:ae().object},El.defaultProps={width:200,colors:[\"#B80000\",\"#DB3E00\",\"#FCCB00\",\"#008B02\",\"#006B76\",\"#1273DE\",\"#004DCF\",\"#5300EB\",\"#EB9694\",\"#FAD0C3\",\"#FEF3BD\",\"#C1E1C5\",\"#BEDADC\",\"#C4DEF6\",\"#BED3F3\",\"#D4C4FB\"],triangle:\"top-left\",styles:{}};var es=Ws(El),nh=function(Y){var Ne=Y.direction,qe=(0,y.ZP)({default:{picker:{width:\"18px\",height:\"18px\",borderRadius:\"50%\",transform:\"translate(-9px, -1px)\",backgroundColor:\"rgb(248, 248, 248)\",boxShadow:\"0 1px 4px 0 rgba(0, 0, 0, 0.37)\"}},vertical:{picker:{transform:\"translate(-3px, -9px)\"}}},{vertical:Ne===\"vertical\"});return r.createElement(\"div\",{style:qe.picker})},tc=nh,lu=Object.assign||function(ue){for(var Y=1;Y<arguments.length;Y++){var Ne=arguments[Y];for(var qe in Ne)Object.prototype.hasOwnProperty.call(Ne,qe)&&(ue[qe]=Ne[qe])}return ue},Pd=function(Y){var Ne=Y.width,qe=Y.height,vt=Y.onChange,Sn=Y.hsl,or=Y.direction,Or=Y.pointer,Hr=Y.styles,ro=Hr===void 0?{}:Hr,zo=Y.className,oi=zo===void 0?\"\":zo,bi=(0,y.ZP)(Be({default:{picker:{position:\"relative\",width:Ne,height:qe},hue:{radius:\"2px\"}}},ro)),ji=function(Ea){return vt({a:1,h:Ea.h,l:.5,s:1})};return r.createElement(\"div\",{style:bi.picker,className:\"hue-picker \"+oi},r.createElement(he,lu({},bi.hue,{hsl:Sn,pointer:Or,onChange:ji,direction:or})))};Pd.propTypes={styles:ae().object},Pd.defaultProps={width:\"316px\",height:\"16px\",direction:\"horizontal\",pointer:tc,styles:{}};var Sf=Ws(Pd),rh=function(Y){var Ne=Y.onChange,qe=Y.hex,vt=Y.rgb,Sn=Y.styles,or=Sn===void 0?{}:Sn,Or=Y.className,Hr=Or===void 0?\"\":Or,ro=(0,y.ZP)(Be({default:{material:{width:\"98px\",height:\"98px\",padding:\"16px\",fontFamily:\"Roboto\"},HEXwrap:{position:\"relative\"},HEXinput:{width:\"100%\",marginTop:\"12px\",fontSize:\"15px\",color:\"#333\",padding:\"0px\",border:\"0px\",borderBottom:\"2px solid \"+qe,outline:\"none\",height:\"30px\"},HEXlabel:{position:\"absolute\",top:\"0px\",left:\"0px\",fontSize:\"11px\",color:\"#999999\",textTransform:\"capitalize\"},Hex:{style:{}},RGBwrap:{position:\"relative\"},RGBinput:{width:\"100%\",marginTop:\"12px\",fontSize:\"15px\",color:\"#333\",padding:\"0px\",border:\"0px\",borderBottom:\"1px solid #eee\",outline:\"none\",height:\"30px\"},RGBlabel:{position:\"absolute\",top:\"0px\",left:\"0px\",fontSize:\"11px\",color:\"#999999\",textTransform:\"capitalize\"},split:{display:\"flex\",marginRight:\"-10px\",paddingTop:\"11px\"},third:{flex:\"1\",paddingRight:\"10px\"}}},or)),zo=function(bi,ji){bi.hex?Ci(bi.hex)&&Ne({hex:bi.hex,source:\"hex\"},ji):(bi.r||bi.g||bi.b)&&Ne({r:bi.r||vt.r,g:bi.g||vt.g,b:bi.b||vt.b,source:\"rgb\"},ji)};return r.createElement(it,{styles:or},r.createElement(\"div\",{style:ro.material,className:\"material-picker \"+Hr},r.createElement(Le,{style:{wrap:ro.HEXwrap,input:ro.HEXinput,label:ro.HEXlabel},label:\"hex\",value:qe,onChange:zo}),r.createElement(\"div\",{style:ro.split,className:\"flexbox-fix\"},r.createElement(\"div\",{style:ro.third},r.createElement(Le,{style:{wrap:ro.RGBwrap,input:ro.RGBinput,label:ro.RGBlabel},label:\"r\",value:vt.r,onChange:zo})),r.createElement(\"div\",{style:ro.third},r.createElement(Le,{style:{wrap:ro.RGBwrap,input:ro.RGBinput,label:ro.RGBlabel},label:\"g\",value:vt.g,onChange:zo})),r.createElement(\"div\",{style:ro.third},r.createElement(Le,{style:{wrap:ro.RGBwrap,input:ro.RGBinput,label:ro.RGBlabel},label:\"b\",value:vt.b,onChange:zo})))))},Ph=Ws(rh),oh=function(Y){var Ne=Y.onChange,qe=Y.rgb,vt=Y.hsv,Sn=Y.hex,or=(0,y.ZP)({default:{fields:{paddingTop:\"5px\",paddingBottom:\"9px\",width:\"80px\",position:\"relative\"},divider:{height:\"5px\"},RGBwrap:{position:\"relative\"},RGBinput:{marginLeft:\"40%\",width:\"40%\",height:\"18px\",border:\"1px solid #888888\",boxShadow:\"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC\",marginBottom:\"5px\",fontSize:\"13px\",paddingLeft:\"3px\",marginRight:\"10px\"},RGBlabel:{left:\"0px\",top:\"0px\",width:\"34px\",textTransform:\"uppercase\",fontSize:\"13px\",height:\"18px\",lineHeight:\"22px\",position:\"absolute\"},HEXwrap:{position:\"relative\"},HEXinput:{marginLeft:\"20%\",width:\"80%\",height:\"18px\",border:\"1px solid #888888\",boxShadow:\"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC\",marginBottom:\"6px\",fontSize:\"13px\",paddingLeft:\"3px\"},HEXlabel:{position:\"absolute\",top:\"0px\",left:\"0px\",width:\"14px\",textTransform:\"uppercase\",fontSize:\"13px\",height:\"18px\",lineHeight:\"22px\"},fieldSymbols:{position:\"absolute\",top:\"5px\",right:\"-7px\",fontSize:\"13px\"},symbol:{height:\"20px\",lineHeight:\"22px\",paddingBottom:\"7px\"}}}),Or=function(ro,zo){ro[\"#\"]?Ci(ro[\"#\"])&&Ne({hex:ro[\"#\"],source:\"hex\"},zo):ro.r||ro.g||ro.b?Ne({r:ro.r||qe.r,g:ro.g||qe.g,b:ro.b||qe.b,source:\"rgb\"},zo):(ro.h||ro.s||ro.v)&&Ne({h:ro.h||vt.h,s:ro.s||vt.s,v:ro.v||vt.v,source:\"hsv\"},zo)};return r.createElement(\"div\",{style:or.fields},r.createElement(Le,{style:{wrap:or.RGBwrap,input:or.RGBinput,label:or.RGBlabel},label:\"h\",value:Math.round(vt.h),onChange:Or}),r.createElement(Le,{style:{wrap:or.RGBwrap,input:or.RGBinput,label:or.RGBlabel},label:\"s\",value:Math.round(vt.s*100),onChange:Or}),r.createElement(Le,{style:{wrap:or.RGBwrap,input:or.RGBinput,label:or.RGBlabel},label:\"v\",value:Math.round(vt.v*100),onChange:Or}),r.createElement(\"div\",{style:or.divider}),r.createElement(Le,{style:{wrap:or.RGBwrap,input:or.RGBinput,label:or.RGBlabel},label:\"r\",value:qe.r,onChange:Or}),r.createElement(Le,{style:{wrap:or.RGBwrap,input:or.RGBinput,label:or.RGBlabel},label:\"g\",value:qe.g,onChange:Or}),r.createElement(Le,{style:{wrap:or.RGBwrap,input:or.RGBinput,label:or.RGBlabel},label:\"b\",value:qe.b,onChange:Or}),r.createElement(\"div\",{style:or.divider}),r.createElement(Le,{style:{wrap:or.HEXwrap,input:or.HEXinput,label:or.HEXlabel},label:\"#\",value:Sn.replace(\"#\",\"\"),onChange:Or}),r.createElement(\"div\",{style:or.fieldSymbols},r.createElement(\"div\",{style:or.symbol},\"\\xB0\"),r.createElement(\"div\",{style:or.symbol},\"%\"),r.createElement(\"div\",{style:or.symbol},\"%\")))},ih=oh,ah=function(Y){var Ne=Y.hsl,qe=(0,y.ZP)({default:{picker:{width:\"12px\",height:\"12px\",borderRadius:\"6px\",boxShadow:\"inset 0 0 0 1px #fff\",transform:\"translate(-6px, -6px)\"}},\"black-outline\":{picker:{boxShadow:\"inset 0 0 0 1px #000\"}}},{\"black-outline\":Ne.l>.5});return r.createElement(\"div\",{style:qe.picker})},Id=ah,sh=function(){var Y=(0,y.ZP)({default:{triangle:{width:0,height:0,borderStyle:\"solid\",borderWidth:\"4px 0 4px 6px\",borderColor:\"transparent transparent transparent #fff\",position:\"absolute\",top:\"1px\",left:\"1px\"},triangleBorder:{width:0,height:0,borderStyle:\"solid\",borderWidth:\"5px 0 5px 8px\",borderColor:\"transparent transparent transparent #555\"},left:{Extend:\"triangleBorder\",transform:\"translate(-13px, -4px)\"},leftInside:{Extend:\"triangle\",transform:\"translate(-8px, -5px)\"},right:{Extend:\"triangleBorder\",transform:\"translate(20px, -14px) rotate(180deg)\"},rightInside:{Extend:\"triangle\",transform:\"translate(-8px, -5px)\"}}});return r.createElement(\"div\",{style:Y.pointer},r.createElement(\"div\",{style:Y.left},r.createElement(\"div\",{style:Y.leftInside})),r.createElement(\"div\",{style:Y.right},r.createElement(\"div\",{style:Y.rightInside})))},Ol=sh,Fd=function(Y){var Ne=Y.onClick,qe=Y.label,vt=Y.children,Sn=Y.active,or=(0,y.ZP)({default:{button:{backgroundImage:\"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)\",border:\"1px solid #878787\",borderRadius:\"2px\",height:\"20px\",boxShadow:\"0 1px 0 0 #EAEAEA\",fontSize:\"14px\",color:\"#000\",lineHeight:\"20px\",textAlign:\"center\",marginBottom:\"10px\",cursor:\"pointer\"}},active:{button:{boxShadow:\"0 0 0 1px #878787\"}}},{active:Sn});return r.createElement(\"div\",{style:or.button,onClick:Ne},qe||vt)},ud=Fd,nu=function(Y){var Ne=Y.rgb,qe=Y.currentColor,vt=(0,y.ZP)({default:{swatches:{border:\"1px solid #B3B3B3\",borderBottom:\"1px solid #F0F0F0\",marginBottom:\"2px\",marginTop:\"1px\"},new:{height:\"34px\",background:\"rgb(\"+Ne.r+\",\"+Ne.g+\", \"+Ne.b+\")\",boxShadow:\"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000\"},current:{height:\"34px\",background:qe,boxShadow:\"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000\"},label:{fontSize:\"14px\",color:\"#000\",textAlign:\"center\"}}});return r.createElement(\"div\",null,r.createElement(\"div\",{style:vt.label},\"new\"),r.createElement(\"div\",{style:vt.swatches},r.createElement(\"div\",{style:vt.new}),r.createElement(\"div\",{style:vt.current})),r.createElement(\"div\",{style:vt.label},\"current\"))},au=nu,zd=function(){function ue(Y,Ne){for(var qe=0;qe<Ne.length;qe++){var vt=Ne[qe];vt.enumerable=vt.enumerable||!1,vt.configurable=!0,\"value\"in vt&&(vt.writable=!0),Object.defineProperty(Y,vt.key,vt)}}return function(Y,Ne,qe){return Ne&&ue(Y.prototype,Ne),qe&&ue(Y,qe),Y}}();function uh(ue,Y){if(!(ue instanceof Y))throw new TypeError(\"Cannot call a class as a function\")}function ch(ue,Y){if(!ue)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return Y&&(typeof Y==\"object\"||typeof Y==\"function\")?Y:ue}function lh(ue,Y){if(typeof Y!=\"function\"&&Y!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof Y);ue.prototype=Object.create(Y&&Y.prototype,{constructor:{value:ue,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(ue,Y):ue.__proto__=Y)}var kd=function(ue){lh(Y,ue);function Y(Ne){uh(this,Y);var qe=ch(this,(Y.__proto__||Object.getPrototypeOf(Y)).call(this));return qe.state={currentColor:Ne.hex},qe}return zd(Y,[{key:\"render\",value:function(){var qe=this.props,vt=qe.styles,Sn=vt===void 0?{}:vt,or=qe.className,Or=or===void 0?\"\":or,Hr=(0,y.ZP)(Be({default:{picker:{background:\"#DCDCDC\",borderRadius:\"4px\",boxShadow:\"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)\",boxSizing:\"initial\",width:\"513px\"},head:{backgroundImage:\"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)\",borderBottom:\"1px solid #B1B1B1\",boxShadow:\"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)\",height:\"23px\",lineHeight:\"24px\",borderRadius:\"4px 4px 0 0\",fontSize:\"13px\",color:\"#4D4D4D\",textAlign:\"center\"},body:{padding:\"15px 15px 0\",display:\"flex\"},saturation:{width:\"256px\",height:\"256px\",position:\"relative\",border:\"2px solid #B3B3B3\",borderBottom:\"2px solid #F0F0F0\",overflow:\"hidden\"},hue:{position:\"relative\",height:\"256px\",width:\"19px\",marginLeft:\"10px\",border:\"2px solid #B3B3B3\",borderBottom:\"2px solid #F0F0F0\"},controls:{width:\"180px\",marginLeft:\"10px\"},top:{display:\"flex\"},previews:{width:\"60px\"},actions:{flex:\"1\",marginLeft:\"20px\"}}},Sn));return r.createElement(\"div\",{style:Hr.picker,className:\"photoshop-picker \"+Or},r.createElement(\"div\",{style:Hr.head},this.props.header),r.createElement(\"div\",{style:Hr.body,className:\"flexbox-fix\"},r.createElement(\"div\",{style:Hr.saturation},r.createElement(xu,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:Id,onChange:this.props.onChange})),r.createElement(\"div\",{style:Hr.hue},r.createElement(he,{direction:\"vertical\",hsl:this.props.hsl,pointer:Ol,onChange:this.props.onChange})),r.createElement(\"div\",{style:Hr.controls},r.createElement(\"div\",{style:Hr.top,className:\"flexbox-fix\"},r.createElement(\"div\",{style:Hr.previews},r.createElement(au,{rgb:this.props.rgb,currentColor:this.state.currentColor})),r.createElement(\"div\",{style:Hr.actions},r.createElement(ud,{label:\"OK\",onClick:this.props.onAccept,active:!0}),r.createElement(ud,{label:\"Cancel\",onClick:this.props.onCancel}),r.createElement(ih,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),Y}(r.Component);kd.propTypes={header:ae().string,styles:ae().object},kd.defaultProps={header:\"Color Picker\",styles:{}};var Ih=Ws(kd),fh=function(Y){var Ne=Y.onChange,qe=Y.rgb,vt=Y.hsl,Sn=Y.hex,or=Y.disableAlpha,Or=(0,y.ZP)({default:{fields:{display:\"flex\",paddingTop:\"4px\"},single:{flex:\"1\",paddingLeft:\"6px\"},alpha:{flex:\"1\",paddingLeft:\"6px\"},double:{flex:\"2\"},input:{width:\"80%\",padding:\"4px 10% 3px\",border:\"none\",boxShadow:\"inset 0 0 0 1px #ccc\",fontSize:\"11px\"},label:{display:\"block\",textAlign:\"center\",fontSize:\"11px\",color:\"#222\",paddingTop:\"3px\",paddingBottom:\"4px\",textTransform:\"capitalize\"}},disableAlpha:{alpha:{display:\"none\"}}},{disableAlpha:or}),Hr=function(zo,oi){zo.hex?Ci(zo.hex)&&Ne({hex:zo.hex,source:\"hex\"},oi):zo.r||zo.g||zo.b?Ne({r:zo.r||qe.r,g:zo.g||qe.g,b:zo.b||qe.b,a:qe.a,source:\"rgb\"},oi):zo.a&&(zo.a<0?zo.a=0:zo.a>100&&(zo.a=100),zo.a/=100,Ne({h:vt.h,s:vt.s,l:vt.l,a:zo.a,source:\"rgb\"},oi))};return r.createElement(\"div\",{style:Or.fields,className:\"flexbox-fix\"},r.createElement(\"div\",{style:Or.double},r.createElement(Le,{style:{input:Or.input,label:Or.label},label:\"hex\",value:Sn.replace(\"#\",\"\"),onChange:Hr})),r.createElement(\"div\",{style:Or.single},r.createElement(Le,{style:{input:Or.input,label:Or.label},label:\"r\",value:qe.r,onChange:Hr,dragLabel:\"true\",dragMax:\"255\"})),r.createElement(\"div\",{style:Or.single},r.createElement(Le,{style:{input:Or.input,label:Or.label},label:\"g\",value:qe.g,onChange:Hr,dragLabel:\"true\",dragMax:\"255\"})),r.createElement(\"div\",{style:Or.single},r.createElement(Le,{style:{input:Or.input,label:Or.label},label:\"b\",value:qe.b,onChange:Hr,dragLabel:\"true\",dragMax:\"255\"})),r.createElement(\"div\",{style:Or.alpha},r.createElement(Le,{style:{input:Or.input,label:Or.label},label:\"a\",value:Math.round(qe.a*100),onChange:Hr,dragLabel:\"true\",dragMax:\"100\"})))},$d=fh,cd=Object.assign||function(ue){for(var Y=1;Y<arguments.length;Y++){var Ne=arguments[Y];for(var qe in Ne)Object.prototype.hasOwnProperty.call(Ne,qe)&&(ue[qe]=Ne[qe])}return ue},xd=function(Y){var Ne=Y.colors,qe=Y.onClick,vt=qe===void 0?function(){}:qe,Sn=Y.onSwatchHover,or=(0,y.ZP)({default:{colors:{margin:\"0 -10px\",padding:\"10px 0 0 10px\",borderTop:\"1px solid #eee\",display:\"flex\",flexWrap:\"wrap\",position:\"relative\"},swatchWrap:{width:\"16px\",height:\"16px\",margin:\"0 10px 10px 0\"},swatch:{borderRadius:\"3px\",boxShadow:\"inset 0 0 0 1px rgba(0,0,0,.15)\"}},\"no-presets\":{colors:{display:\"none\"}}},{\"no-presets\":!Ne||!Ne.length}),Or=function(ro,zo){vt({hex:ro,source:\"hex\"},zo)};return r.createElement(\"div\",{style:or.colors,className:\"flexbox-fix\"},Ne.map(function(Hr){var ro=typeof Hr==\"string\"?{color:Hr}:Hr,zo=\"\"+ro.color+(ro.title||\"\");return r.createElement(\"div\",{key:zo,style:or.swatchWrap},r.createElement(wc,cd({},ro,{style:or.swatch,onClick:Or,onHover:Sn,focusStyle:{boxShadow:\"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px \"+ro.color}})))}))};xd.propTypes={colors:ae().arrayOf(ae().oneOfType([ae().string,ae().shape({color:ae().string,title:ae().string})])).isRequired};var dh=xd,Hd=Object.assign||function(ue){for(var Y=1;Y<arguments.length;Y++){var Ne=arguments[Y];for(var qe in Ne)Object.prototype.hasOwnProperty.call(Ne,qe)&&(ue[qe]=Ne[qe])}return ue},Uf=function(Y){var Ne=Y.width,qe=Y.rgb,vt=Y.hex,Sn=Y.hsv,or=Y.hsl,Or=Y.onChange,Hr=Y.onSwatchHover,ro=Y.disableAlpha,zo=Y.presetColors,oi=Y.renderers,bi=Y.styles,ji=bi===void 0?{}:bi,ma=Y.className,Ea=ma===void 0?\"\":ma,za=(0,y.ZP)(Be({default:Hd({picker:{width:Ne,padding:\"10px 10px 0\",boxSizing:\"initial\",background:\"#fff\",borderRadius:\"4px\",boxShadow:\"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)\"},saturation:{width:\"100%\",paddingBottom:\"75%\",position:\"relative\",overflow:\"hidden\"},Saturation:{radius:\"3px\",shadow:\"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)\"},controls:{display:\"flex\"},sliders:{padding:\"4px 0\",flex:\"1\"},color:{width:\"24px\",height:\"24px\",position:\"relative\",marginTop:\"4px\",marginLeft:\"4px\",borderRadius:\"3px\"},activeColor:{absolute:\"0px 0px 0px 0px\",borderRadius:\"2px\",background:\"rgba(\"+qe.r+\",\"+qe.g+\",\"+qe.b+\",\"+qe.a+\")\",boxShadow:\"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)\"},hue:{position:\"relative\",height:\"10px\",overflow:\"hidden\"},Hue:{radius:\"2px\",shadow:\"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)\"},alpha:{position:\"relative\",height:\"10px\",marginTop:\"4px\",overflow:\"hidden\"},Alpha:{radius:\"2px\",shadow:\"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)\"}},ji),disableAlpha:{color:{height:\"10px\"},hue:{height:\"10px\"},alpha:{display:\"none\"}}},ji),{disableAlpha:ro});return r.createElement(\"div\",{style:za.picker,className:\"sketch-picker \"+Ea},r.createElement(\"div\",{style:za.saturation},r.createElement(xu,{style:za.Saturation,hsl:or,hsv:Sn,onChange:Or})),r.createElement(\"div\",{style:za.controls,className:\"flexbox-fix\"},r.createElement(\"div\",{style:za.sliders},r.createElement(\"div\",{style:za.hue},r.createElement(he,{style:za.Hue,hsl:or,onChange:Or})),r.createElement(\"div\",{style:za.alpha},r.createElement(x,{style:za.Alpha,rgb:qe,hsl:or,renderers:oi,onChange:Or}))),r.createElement(\"div\",{style:za.color},r.createElement(u,null),r.createElement(\"div\",{style:za.activeColor}))),r.createElement($d,{rgb:qe,hsl:or,hex:vt,onChange:Or,disableAlpha:ro}),r.createElement(dh,{colors:zo,onClick:Or,onSwatchHover:Hr}))};Uf.propTypes={disableAlpha:ae().bool,width:ae().oneOfType([ae().string,ae().number]),styles:ae().object},Uf.defaultProps={disableAlpha:!1,width:200,styles:{},presetColors:[\"#D0021B\",\"#F5A623\",\"#F8E71C\",\"#8B572A\",\"#7ED321\",\"#417505\",\"#BD10E0\",\"#9013FE\",\"#4A90E2\",\"#50E3C2\",\"#B8E986\",\"#000000\",\"#4A4A4A\",\"#9B9B9B\",\"#FFFFFF\"]};var gc=Ws(Uf),Vf=function(Y){var Ne=Y.hsl,qe=Y.offset,vt=Y.onClick,Sn=vt===void 0?function(){}:vt,or=Y.active,Or=Y.first,Hr=Y.last,ro=(0,y.ZP)({default:{swatch:{height:\"12px\",background:\"hsl(\"+Ne.h+\", 50%, \"+qe*100+\"%)\",cursor:\"pointer\"}},first:{swatch:{borderRadius:\"2px 0 0 2px\"}},last:{swatch:{borderRadius:\"0 2px 2px 0\"}},active:{swatch:{transform:\"scaleY(1.8)\",borderRadius:\"3.6px/2px\"}}},{active:or,first:Or,last:Hr}),zo=function(bi){return Sn({h:Ne.h,s:.5,l:qe,source:\"hsl\"},bi)};return r.createElement(\"div\",{style:ro.swatch,onClick:zo})},ld=Vf,hh=function(Y){var Ne=Y.onClick,qe=Y.hsl,vt=(0,y.ZP)({default:{swatches:{marginTop:\"20px\"},swatch:{boxSizing:\"border-box\",width:\"20%\",paddingRight:\"1px\",float:\"left\"},clear:{clear:\"both\"}}}),Sn=.1;return r.createElement(\"div\",{style:vt.swatches},r.createElement(\"div\",{style:vt.swatch},r.createElement(ld,{hsl:qe,offset:\".80\",active:Math.abs(qe.l-.8)<Sn&&Math.abs(qe.s-.5)<Sn,onClick:Ne,first:!0})),r.createElement(\"div\",{style:vt.swatch},r.createElement(ld,{hsl:qe,offset:\".65\",active:Math.abs(qe.l-.65)<Sn&&Math.abs(qe.s-.5)<Sn,onClick:Ne})),r.createElement(\"div\",{style:vt.swatch},r.createElement(ld,{hsl:qe,offset:\".50\",active:Math.abs(qe.l-.5)<Sn&&Math.abs(qe.s-.5)<Sn,onClick:Ne})),r.createElement(\"div\",{style:vt.swatch},r.createElement(ld,{hsl:qe,offset:\".35\",active:Math.abs(qe.l-.35)<Sn&&Math.abs(qe.s-.5)<Sn,onClick:Ne})),r.createElement(\"div\",{style:vt.swatch},r.createElement(ld,{hsl:qe,offset:\".20\",active:Math.abs(qe.l-.2)<Sn&&Math.abs(qe.s-.5)<Sn,onClick:Ne,last:!0})),r.createElement(\"div\",{style:vt.clear}))},ph=hh,gh=function(){var Y=(0,y.ZP)({default:{picker:{width:\"14px\",height:\"14px\",borderRadius:\"6px\",transform:\"translate(-7px, -1px)\",backgroundColor:\"rgb(248, 248, 248)\",boxShadow:\"0 1px 4px 0 rgba(0, 0, 0, 0.37)\"}}});return r.createElement(\"div\",{style:Y.picker})},vh=gh,wd=function(Y){var Ne=Y.hsl,qe=Y.onChange,vt=Y.pointer,Sn=Y.styles,or=Sn===void 0?{}:Sn,Or=Y.className,Hr=Or===void 0?\"\":Or,ro=(0,y.ZP)(Be({default:{hue:{height:\"12px\",position:\"relative\"},Hue:{radius:\"2px\"}}},or));return r.createElement(\"div\",{style:ro.wrap||{},className:\"slider-picker \"+Hr},r.createElement(\"div\",{style:ro.hue},r.createElement(he,{style:ro.Hue,hsl:Ne,pointer:vt,onChange:qe})),r.createElement(\"div\",{style:ro.swatches},r.createElement(ph,{hsl:Ne,onClick:qe})))};wd.propTypes={styles:ae().object},wd.defaultProps={pointer:vh,styles:{}};var zl=Ws(wd),rs=c(72506),Gd=function(Y){var Ne=Y.color,qe=Y.onClick,vt=qe===void 0?function(){}:qe,Sn=Y.onSwatchHover,or=Y.first,Or=Y.last,Hr=Y.active,ro=(0,y.ZP)({default:{color:{width:\"40px\",height:\"24px\",cursor:\"pointer\",background:Ne,marginBottom:\"1px\"},check:{color:ua(Ne),marginLeft:\"8px\",display:\"none\"}},first:{color:{overflow:\"hidden\",borderRadius:\"2px 2px 0 0\"}},last:{color:{overflow:\"hidden\",borderRadius:\"0 0 2px 2px\"}},active:{check:{display:\"block\"}},\"color-#FFFFFF\":{color:{boxShadow:\"inset 0 0 0 1px #ddd\"},check:{color:\"#333\"}},transparent:{check:{color:\"#333\"}}},{first:or,last:Or,active:Hr,\"color-#FFFFFF\":Ne===\"#FFFFFF\",transparent:Ne===\"transparent\"});return r.createElement(wc,{color:Ne,style:ro.color,onClick:vt,onHover:Sn,focusStyle:{boxShadow:\"0 0 4px \"+Ne}},r.createElement(\"div\",{style:ro.check},r.createElement(rs.Z,null)))},_c=Gd,Wd=function(Y){var Ne=Y.onClick,qe=Y.onSwatchHover,vt=Y.group,Sn=Y.active,or=(0,y.ZP)({default:{group:{paddingBottom:\"10px\",width:\"40px\",float:\"left\",marginRight:\"10px\"}}});return r.createElement(\"div\",{style:or.group},Lr(vt,function(Or,Hr){return r.createElement(_c,{key:Or,color:Or,active:Or.toLowerCase()===Sn,first:Hr===0,last:Hr===vt.length-1,onClick:Ne,onSwatchHover:qe})}))},mh=Wd,_s=function(Y){var Ne=Y.width,qe=Y.height,vt=Y.onChange,Sn=Y.onSwatchHover,or=Y.colors,Or=Y.hex,Hr=Y.styles,ro=Hr===void 0?{}:Hr,zo=Y.className,oi=zo===void 0?\"\":zo,bi=(0,y.ZP)(Be({default:{picker:{width:Ne,height:qe},overflow:{height:qe,overflowY:\"scroll\"},body:{padding:\"16px 0 6px 16px\"},clear:{clear:\"both\"}}},ro)),ji=function(Ea,za){return vt({hex:Ea,source:\"hex\"},za)};return r.createElement(\"div\",{style:bi.picker,className:\"swatches-picker \"+oi},r.createElement(it,null,r.createElement(\"div\",{style:bi.overflow},r.createElement(\"div\",{style:bi.body},Lr(or,function(ma){return r.createElement(mh,{key:ma.toString(),group:ma,active:Or,onClick:ji,onSwatchHover:Sn})}),r.createElement(\"div\",{style:bi.clear})))))};_s.propTypes={width:ae().oneOfType([ae().string,ae().number]),height:ae().oneOfType([ae().string,ae().number]),colors:ae().arrayOf(ae().arrayOf(ae().string)),styles:ae().object},_s.defaultProps={width:320,height:240,colors:[[Bo[900],Bo[700],Bo[500],Bo[300],Bo[100]],[Uo[900],Uo[700],Uo[500],Uo[300],Uo[100]],[Gi[900],Gi[700],Gi[500],Gi[300],Gi[100]],[Ni[900],Ni[700],Ni[500],Ni[300],Ni[100]],[Wi[900],Wi[700],Wi[500],Wi[300],Wi[100]],[ba[900],ba[700],ba[500],ba[300],ba[100]],[Ss[900],Ss[700],Ss[500],Ss[300],Ss[100]],[Ra[900],Ra[700],Ra[500],Ra[300],Ra[100]],[fs[900],fs[700],fs[500],fs[300],fs[100]],[\"#194D33\",ns[700],ns[500],ns[300],ns[100]],[hs[900],hs[700],hs[500],hs[300],hs[100]],[Is[900],Is[700],Is[500],Is[300],Is[100]],[hu[900],hu[700],hu[500],hu[300],hu[100]],[Es[900],Es[700],Es[500],Es[300],Es[100]],[ku[900],ku[700],ku[500],ku[300],ku[100]],[Uc[900],Uc[700],Uc[500],Uc[300],Uc[100]],[Vc[900],Vc[700],Vc[500],Vc[300],Vc[100]],[pc[900],pc[700],pc[500],pc[300],pc[100]],[\"#000000\",\"#525252\",\"#969696\",\"#D9D9D9\",\"#FFFFFF\"]],styles:{}};var kh=Ws(_s),Sd=function(Y){var Ne=Y.onChange,qe=Y.onSwatchHover,vt=Y.hex,Sn=Y.colors,or=Y.width,Or=Y.triangle,Hr=Y.styles,ro=Hr===void 0?{}:Hr,zo=Y.className,oi=zo===void 0?\"\":zo,bi=(0,y.ZP)(Be({default:{card:{width:or,background:\"#fff\",border:\"0 solid rgba(0,0,0,0.25)\",boxShadow:\"0 1px 4px rgba(0,0,0,0.25)\",borderRadius:\"4px\",position:\"relative\"},body:{padding:\"15px 9px 9px 15px\"},label:{fontSize:\"18px\",color:\"#fff\"},triangle:{width:\"0px\",height:\"0px\",borderStyle:\"solid\",borderWidth:\"0 9px 10px 9px\",borderColor:\"transparent transparent #fff transparent\",position:\"absolute\"},triangleShadow:{width:\"0px\",height:\"0px\",borderStyle:\"solid\",borderWidth:\"0 9px 10px 9px\",borderColor:\"transparent transparent rgba(0,0,0,.1) transparent\",position:\"absolute\"},hash:{background:\"#F0F0F0\",height:\"30px\",width:\"30px\",borderRadius:\"4px 0 0 4px\",float:\"left\",color:\"#98A1A4\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},input:{width:\"100px\",fontSize:\"14px\",color:\"#666\",border:\"0px\",outline:\"none\",height:\"28px\",boxShadow:\"inset 0 0 0 1px #F0F0F0\",boxSizing:\"content-box\",borderRadius:\"0 4px 4px 0\",float:\"left\",paddingLeft:\"8px\"},swatch:{width:\"30px\",height:\"30px\",float:\"left\",borderRadius:\"4px\",margin:\"0 6px 6px 0\"},clear:{clear:\"both\"}},\"hide-triangle\":{triangle:{display:\"none\"},triangleShadow:{display:\"none\"}},\"top-left-triangle\":{triangle:{top:\"-10px\",left:\"12px\"},triangleShadow:{top:\"-11px\",left:\"12px\"}},\"top-right-triangle\":{triangle:{top:\"-10px\",right:\"12px\"},triangleShadow:{top:\"-11px\",right:\"12px\"}}},ro),{\"hide-triangle\":Or===\"hide\",\"top-left-triangle\":Or===\"top-left\",\"top-right-triangle\":Or===\"top-right\"}),ji=function(Ea,za){Ci(Ea)&&Ne({hex:Ea,source:\"hex\"},za)};return r.createElement(\"div\",{style:bi.card,className:\"twitter-picker \"+oi},r.createElement(\"div\",{style:bi.triangleShadow}),r.createElement(\"div\",{style:bi.triangle}),r.createElement(\"div\",{style:bi.body},Lr(Sn,function(ma,Ea){return r.createElement(wc,{key:Ea,color:ma,hex:ma,style:bi.swatch,onClick:ji,onHover:qe,focusStyle:{boxShadow:\"0 0 4px \"+ma}})}),r.createElement(\"div\",{style:bi.hash},\"#\"),r.createElement(Le,{label:null,style:{input:bi.input},value:vt.replace(\"#\",\"\"),onChange:ji}),r.createElement(\"div\",{style:bi.clear})))};Sd.propTypes={width:ae().oneOfType([ae().string,ae().number]),triangle:ae().oneOf([\"hide\",\"top-left\",\"top-right\"]),colors:ae().arrayOf(ae().string),styles:ae().object},Sd.defaultProps={width:276,colors:[\"#FF6900\",\"#FCB900\",\"#7BDCB5\",\"#00D084\",\"#8ED1FC\",\"#0693E3\",\"#ABB8C3\",\"#EB144C\",\"#F78DA7\",\"#9900EF\"],triangle:\"top-left\",styles:{}};var Nd=Ws(Sd),jd=function(Y){var Ne=(0,y.ZP)({default:{picker:{width:\"20px\",height:\"20px\",borderRadius:\"22px\",border:\"2px #fff solid\",transform:\"translate(-12px, -13px)\",background:\"hsl(\"+Math.round(Y.hsl.h)+\", \"+Math.round(Y.hsl.s*100)+\"%, \"+Math.round(Y.hsl.l*100)+\"%)\"}}});return r.createElement(\"div\",{style:Ne.picker})};jd.propTypes={hsl:ae().shape({h:ae().number,s:ae().number,l:ae().number,a:ae().number})},jd.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var yh=jd,Dd=function(Y){var Ne=(0,y.ZP)({default:{picker:{width:\"20px\",height:\"20px\",borderRadius:\"22px\",transform:\"translate(-10px, -7px)\",background:\"hsl(\"+Math.round(Y.hsl.h)+\", 100%, 50%)\",border:\"2px white solid\"}}});return r.createElement(\"div\",{style:Ne.picker})};Dd.propTypes={hsl:ae().shape({h:ae().number,s:ae().number,l:ae().number,a:ae().number})},Dd.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var bh=Dd,xh=function(Y){var Ne=Y.onChange,qe=Y.rgb,vt=Y.hsl,Sn=Y.hex,or=Y.hsv,Or=function(ji,ma){if(ji.hex)Ci(ji.hex)&&Ne({hex:ji.hex,source:\"hex\"},ma);else if(ji.rgb){var Ea=ji.rgb.split(\",\");Da(ji.rgb,\"rgb\")&&Ne({r:Ea[0],g:Ea[1],b:Ea[2],a:1,source:\"rgb\"},ma)}else if(ji.hsv){var za=ji.hsv.split(\",\");Da(ji.hsv,\"hsv\")&&(za[2]=za[2].replace(\"%\",\"\"),za[1]=za[1].replace(\"%\",\"\"),za[0]=za[0].replace(\"\\xB0\",\"\"),za[1]==1?za[1]=.01:za[2]==1&&(za[2]=.01),Ne({h:Number(za[0]),s:Number(za[1]),v:Number(za[2]),source:\"hsv\"},ma))}else if(ji.hsl){var Vs=ji.hsl.split(\",\");Da(ji.hsl,\"hsl\")&&(Vs[2]=Vs[2].replace(\"%\",\"\"),Vs[1]=Vs[1].replace(\"%\",\"\"),Vs[0]=Vs[0].replace(\"\\xB0\",\"\"),oi[1]==1?oi[1]=.01:oi[2]==1&&(oi[2]=.01),Ne({h:Number(Vs[0]),s:Number(Vs[1]),v:Number(Vs[2]),source:\"hsl\"},ma))}},Hr=(0,y.ZP)({default:{wrap:{display:\"flex\",height:\"100px\",marginTop:\"4px\"},fields:{width:\"100%\"},column:{paddingTop:\"10px\",display:\"flex\",justifyContent:\"space-between\"},double:{padding:\"0px 4.4px\",boxSizing:\"border-box\"},input:{width:\"100%\",height:\"38px\",boxSizing:\"border-box\",padding:\"4px 10% 3px\",textAlign:\"center\",border:\"1px solid #dadce0\",fontSize:\"11px\",textTransform:\"lowercase\",borderRadius:\"5px\",outline:\"none\",fontFamily:\"Roboto,Arial,sans-serif\"},input2:{height:\"38px\",width:\"100%\",border:\"1px solid #dadce0\",boxSizing:\"border-box\",fontSize:\"11px\",textTransform:\"lowercase\",borderRadius:\"5px\",outline:\"none\",paddingLeft:\"10px\",fontFamily:\"Roboto,Arial,sans-serif\"},label:{textAlign:\"center\",fontSize:\"12px\",background:\"#fff\",position:\"absolute\",textTransform:\"uppercase\",color:\"#3c4043\",width:\"35px\",top:\"-6px\",left:\"0\",right:\"0\",marginLeft:\"auto\",marginRight:\"auto\",fontFamily:\"Roboto,Arial,sans-serif\"},label2:{left:\"10px\",textAlign:\"center\",fontSize:\"12px\",background:\"#fff\",position:\"absolute\",textTransform:\"uppercase\",color:\"#3c4043\",width:\"32px\",top:\"-6px\",fontFamily:\"Roboto,Arial,sans-serif\"},single:{flexGrow:\"1\",margin:\"0px 4.4px\"}}}),ro=qe.r+\", \"+qe.g+\", \"+qe.b,zo=Math.round(vt.h)+\"\\xB0, \"+Math.round(vt.s*100)+\"%, \"+Math.round(vt.l*100)+\"%\",oi=Math.round(or.h)+\"\\xB0, \"+Math.round(or.s*100)+\"%, \"+Math.round(or.v*100)+\"%\";return r.createElement(\"div\",{style:Hr.wrap,className:\"flexbox-fix\"},r.createElement(\"div\",{style:Hr.fields},r.createElement(\"div\",{style:Hr.double},r.createElement(Le,{style:{input:Hr.input,label:Hr.label},label:\"hex\",value:Sn,onChange:Or})),r.createElement(\"div\",{style:Hr.column},r.createElement(\"div\",{style:Hr.single},r.createElement(Le,{style:{input:Hr.input2,label:Hr.label2},label:\"rgb\",value:ro,onChange:Or})),r.createElement(\"div\",{style:Hr.single},r.createElement(Le,{style:{input:Hr.input2,label:Hr.label2},label:\"hsv\",value:oi,onChange:Or})),r.createElement(\"div\",{style:Hr.single},r.createElement(Le,{style:{input:Hr.input2,label:Hr.label2},label:\"hsl\",value:zo,onChange:Or})))))},wh=xh,Rd=function(Y){var Ne=Y.width,qe=Y.onChange,vt=Y.rgb,Sn=Y.hsl,or=Y.hsv,Or=Y.hex,Hr=Y.header,ro=Y.styles,zo=ro===void 0?{}:ro,oi=Y.className,bi=oi===void 0?\"\":oi,ji=(0,y.ZP)(Be({default:{picker:{width:Ne,background:\"#fff\",border:\"1px solid #dfe1e5\",boxSizing:\"initial\",display:\"flex\",flexWrap:\"wrap\",borderRadius:\"8px 8px 0px 0px\"},head:{height:\"57px\",width:\"100%\",paddingTop:\"16px\",paddingBottom:\"16px\",paddingLeft:\"16px\",fontSize:\"20px\",boxSizing:\"border-box\",fontFamily:\"Roboto-Regular,HelveticaNeue,Arial,sans-serif\"},saturation:{width:\"70%\",padding:\"0px\",position:\"relative\",overflow:\"hidden\"},swatch:{width:\"30%\",height:\"228px\",padding:\"0px\",background:\"rgba(\"+vt.r+\", \"+vt.g+\", \"+vt.b+\", 1)\",position:\"relative\",overflow:\"hidden\"},body:{margin:\"auto\",width:\"95%\"},controls:{display:\"flex\",boxSizing:\"border-box\",height:\"52px\",paddingTop:\"22px\"},color:{width:\"32px\"},hue:{height:\"8px\",position:\"relative\",margin:\"0px 16px 0px 16px\",width:\"100%\"},Hue:{radius:\"2px\"}}},zo));return r.createElement(\"div\",{style:ji.picker,className:\"google-picker \"+bi},r.createElement(\"div\",{style:ji.head},Hr),r.createElement(\"div\",{style:ji.swatch}),r.createElement(\"div\",{style:ji.saturation},r.createElement(xu,{hsl:Sn,hsv:or,pointer:yh,onChange:qe})),r.createElement(\"div\",{style:ji.body},r.createElement(\"div\",{style:ji.controls,className:\"flexbox-fix\"},r.createElement(\"div\",{style:ji.hue},r.createElement(he,{style:ji.Hue,hsl:Sn,radius:\"4px\",pointer:bh,onChange:qe}))),r.createElement(wh,{rgb:vt,hsl:Sn,hex:Or,hsv:or,onChange:qe})))};Rd.propTypes={width:ae().oneOfType([ae().string,ae().number]),styles:ae().object,header:ae().string},Rd.defaultProps={width:652,styles:{},header:\"Color picker\"};var Nh=Ws(Rd)},87487:function(Pt,Ee,c){\"use strict\";Object.defineProperty(Ee,\"__esModule\",{value:!0});var r=Object.assign||function(f){for(var h=1;h<arguments.length;h++){var l=arguments[h];for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&(f[s]=l[s])}return f};Ee.renderViewDefault=O,Ee.renderTrackHorizontalDefault=b,Ee.renderTrackVerticalDefault=p,Ee.renderThumbHorizontalDefault=u,Ee.renderThumbVerticalDefault=a;var y=c(50959),N=C(y);function C(f){return f&&f.__esModule?f:{default:f}}function w(f,h){var l={};for(var s in f)h.indexOf(s)>=0||Object.prototype.hasOwnProperty.call(f,s)&&(l[s]=f[s]);return l}function O(f){return N.default.createElement(\"div\",f)}function b(f){var h=f.style,l=w(f,[\"style\"]),s=r({},h,{right:2,bottom:2,left:2,borderRadius:3});return N.default.createElement(\"div\",r({style:s},l))}function p(f){var h=f.style,l=w(f,[\"style\"]),s=r({},h,{right:2,bottom:2,top:2,borderRadius:3});return N.default.createElement(\"div\",r({style:s},l))}function u(f){var h=f.style,l=w(f,[\"style\"]),s=r({},h,{cursor:\"pointer\",borderRadius:\"inherit\",backgroundColor:\"rgba(0,0,0,.2)\"});return N.default.createElement(\"div\",r({style:s},l))}function a(f){var h=f.style,l=w(f,[\"style\"]),s=r({},h,{cursor:\"pointer\",borderRadius:\"inherit\",backgroundColor:\"rgba(0,0,0,.2)\"});return N.default.createElement(\"div\",r({style:s},l))}},12366:function(Pt,Ee,c){\"use strict\";Object.defineProperty(Ee,\"__esModule\",{value:!0});var r=Object.assign||function(xe){for(var Ie=1;Ie<arguments.length;Ie++){var Le=arguments[Ie];for(var De in Le)Object.prototype.hasOwnProperty.call(Le,De)&&(xe[De]=Le[De])}return xe},y=function(){function xe(Ie,Le){for(var De=0;De<Le.length;De++){var ce=Le[De];ce.enumerable=ce.enumerable||!1,ce.configurable=!0,\"value\"in ce&&(ce.writable=!0),Object.defineProperty(Ie,ce.key,ce)}}return function(Ie,Le,De){return Le&&xe(Ie.prototype,Le),De&&xe(Ie,De),Ie}}(),N=c(19616),C=J(N),w=c(91002),O=J(w),b=c(50959),p=c(40507),u=J(p),a=c(87387),f=J(a),h=c(91445),l=J(h),s=c(63841),m=J(s),x=c(14369),M=J(x),E=c(9994),j=J(E),L=c(84438),A=c(87487);function J(xe){return xe&&xe.__esModule?xe:{default:xe}}function q(xe,Ie){var Le={};for(var De in xe)Ie.indexOf(De)>=0||Object.prototype.hasOwnProperty.call(xe,De)&&(Le[De]=xe[De]);return Le}function re(xe,Ie){if(!(xe instanceof Ie))throw new TypeError(\"Cannot call a class as a function\")}function me(xe,Ie){if(!xe)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return Ie&&(typeof Ie==\"object\"||typeof Ie==\"function\")?Ie:xe}function Te(xe,Ie){if(typeof Ie!=\"function\"&&Ie!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof Ie);xe.prototype=Object.create(Ie&&Ie.prototype,{constructor:{value:xe,enumerable:!1,writable:!0,configurable:!0}}),Ie&&(Object.setPrototypeOf?Object.setPrototypeOf(xe,Ie):xe.__proto__=Ie)}var ee=function(xe){Te(Ie,xe);function Ie(Le){var De;re(this,Ie);for(var ce=arguments.length,ye=Array(ce>1?ce-1:0),Oe=1;Oe<ce;Oe++)ye[Oe-1]=arguments[Oe];var Ce=me(this,(De=Ie.__proto__||Object.getPrototypeOf(Ie)).call.apply(De,[this,Le].concat(ye)));return Ce.getScrollLeft=Ce.getScrollLeft.bind(Ce),Ce.getScrollTop=Ce.getScrollTop.bind(Ce),Ce.getScrollWidth=Ce.getScrollWidth.bind(Ce),Ce.getScrollHeight=Ce.getScrollHeight.bind(Ce),Ce.getClientWidth=Ce.getClientWidth.bind(Ce),Ce.getClientHeight=Ce.getClientHeight.bind(Ce),Ce.getValues=Ce.getValues.bind(Ce),Ce.getThumbHorizontalWidth=Ce.getThumbHorizontalWidth.bind(Ce),Ce.getThumbVerticalHeight=Ce.getThumbVerticalHeight.bind(Ce),Ce.getScrollLeftForOffset=Ce.getScrollLeftForOffset.bind(Ce),Ce.getScrollTopForOffset=Ce.getScrollTopForOffset.bind(Ce),Ce.scrollLeft=Ce.scrollLeft.bind(Ce),Ce.scrollTop=Ce.scrollTop.bind(Ce),Ce.scrollToLeft=Ce.scrollToLeft.bind(Ce),Ce.scrollToTop=Ce.scrollToTop.bind(Ce),Ce.scrollToRight=Ce.scrollToRight.bind(Ce),Ce.scrollToBottom=Ce.scrollToBottom.bind(Ce),Ce.handleTrackMouseEnter=Ce.handleTrackMouseEnter.bind(Ce),Ce.handleTrackMouseLeave=Ce.handleTrackMouseLeave.bind(Ce),Ce.handleHorizontalTrackMouseDown=Ce.handleHorizontalTrackMouseDown.bind(Ce),Ce.handleVerticalTrackMouseDown=Ce.handleVerticalTrackMouseDown.bind(Ce),Ce.handleHorizontalThumbMouseDown=Ce.handleHorizontalThumbMouseDown.bind(Ce),Ce.handleVerticalThumbMouseDown=Ce.handleVerticalThumbMouseDown.bind(Ce),Ce.handleWindowResize=Ce.handleWindowResize.bind(Ce),Ce.handleScroll=Ce.handleScroll.bind(Ce),Ce.handleDrag=Ce.handleDrag.bind(Ce),Ce.handleDragEnd=Ce.handleDragEnd.bind(Ce),Ce.state={didMountUniversal:!1},Ce}return y(Ie,[{key:\"componentDidMount\",value:function(){this.addListeners(),this.update(),this.componentDidMountUniversal()}},{key:\"componentDidMountUniversal\",value:function(){var De=this.props.universal;De&&this.setState({didMountUniversal:!0})}},{key:\"componentDidUpdate\",value:function(){this.update()}},{key:\"componentWillUnmount\",value:function(){this.removeListeners(),(0,N.cancel)(this.requestFrame),clearTimeout(this.hideTracksTimeout),clearInterval(this.detectScrollingInterval)}},{key:\"getScrollLeft\",value:function(){return this.view?this.view.scrollLeft:0}},{key:\"getScrollTop\",value:function(){return this.view?this.view.scrollTop:0}},{key:\"getScrollWidth\",value:function(){return this.view?this.view.scrollWidth:0}},{key:\"getScrollHeight\",value:function(){return this.view?this.view.scrollHeight:0}},{key:\"getClientWidth\",value:function(){return this.view?this.view.clientWidth:0}},{key:\"getClientHeight\",value:function(){return this.view?this.view.clientHeight:0}},{key:\"getValues\",value:function(){var De=this.view||{},ce=De.scrollLeft,ye=ce===void 0?0:ce,Oe=De.scrollTop,Ce=Oe===void 0?0:Oe,oe=De.scrollWidth,he=oe===void 0?0:oe,ie=De.scrollHeight,ae=ie===void 0?0:ie,ve=De.clientWidth,X=ve===void 0?0:ve,se=De.clientHeight,fe=se===void 0?0:se;return{left:ye/(he-X)||0,top:Ce/(ae-fe)||0,scrollLeft:ye,scrollTop:Ce,scrollWidth:he,scrollHeight:ae,clientWidth:X,clientHeight:fe}}},{key:\"getThumbHorizontalWidth\",value:function(){var De=this.props,ce=De.thumbSize,ye=De.thumbMinSize,Oe=this.view,Ce=Oe.scrollWidth,oe=Oe.clientWidth,he=(0,M.default)(this.trackHorizontal),ie=Math.ceil(oe/Ce*he);return he===ie?0:ce||Math.max(ie,ye)}},{key:\"getThumbVerticalHeight\",value:function(){var De=this.props,ce=De.thumbSize,ye=De.thumbMinSize,Oe=this.view,Ce=Oe.scrollHeight,oe=Oe.clientHeight,he=(0,j.default)(this.trackVertical),ie=Math.ceil(oe/Ce*he);return he===ie?0:ce||Math.max(ie,ye)}},{key:\"getScrollLeftForOffset\",value:function(De){var ce=this.view,ye=ce.scrollWidth,Oe=ce.clientWidth,Ce=(0,M.default)(this.trackHorizontal),oe=this.getThumbHorizontalWidth();return De/(Ce-oe)*(ye-Oe)}},{key:\"getScrollTopForOffset\",value:function(De){var ce=this.view,ye=ce.scrollHeight,Oe=ce.clientHeight,Ce=(0,j.default)(this.trackVertical),oe=this.getThumbVerticalHeight();return De/(Ce-oe)*(ye-Oe)}},{key:\"scrollLeft\",value:function(){var De=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.view&&(this.view.scrollLeft=De)}},{key:\"scrollTop\",value:function(){var De=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.view&&(this.view.scrollTop=De)}},{key:\"scrollToLeft\",value:function(){this.view&&(this.view.scrollLeft=0)}},{key:\"scrollToTop\",value:function(){this.view&&(this.view.scrollTop=0)}},{key:\"scrollToRight\",value:function(){this.view&&(this.view.scrollLeft=this.view.scrollWidth)}},{key:\"scrollToBottom\",value:function(){this.view&&(this.view.scrollTop=this.view.scrollHeight)}},{key:\"addListeners\",value:function(){if(!(typeof document==\"undefined\"||!this.view)){var De=this.view,ce=this.trackHorizontal,ye=this.trackVertical,Oe=this.thumbHorizontal,Ce=this.thumbVertical;De.addEventListener(\"scroll\",this.handleScroll),(0,l.default)()&&(ce.addEventListener(\"mouseenter\",this.handleTrackMouseEnter),ce.addEventListener(\"mouseleave\",this.handleTrackMouseLeave),ce.addEventListener(\"mousedown\",this.handleHorizontalTrackMouseDown),ye.addEventListener(\"mouseenter\",this.handleTrackMouseEnter),ye.addEventListener(\"mouseleave\",this.handleTrackMouseLeave),ye.addEventListener(\"mousedown\",this.handleVerticalTrackMouseDown),Oe.addEventListener(\"mousedown\",this.handleHorizontalThumbMouseDown),Ce.addEventListener(\"mousedown\",this.handleVerticalThumbMouseDown),window.addEventListener(\"resize\",this.handleWindowResize))}}},{key:\"removeListeners\",value:function(){if(!(typeof document==\"undefined\"||!this.view)){var De=this.view,ce=this.trackHorizontal,ye=this.trackVertical,Oe=this.thumbHorizontal,Ce=this.thumbVertical;De.removeEventListener(\"scroll\",this.handleScroll),(0,l.default)()&&(ce.removeEventListener(\"mouseenter\",this.handleTrackMouseEnter),ce.removeEventListener(\"mouseleave\",this.handleTrackMouseLeave),ce.removeEventListener(\"mousedown\",this.handleHorizontalTrackMouseDown),ye.removeEventListener(\"mouseenter\",this.handleTrackMouseEnter),ye.removeEventListener(\"mouseleave\",this.handleTrackMouseLeave),ye.removeEventListener(\"mousedown\",this.handleVerticalTrackMouseDown),Oe.removeEventListener(\"mousedown\",this.handleHorizontalThumbMouseDown),Ce.removeEventListener(\"mousedown\",this.handleVerticalThumbMouseDown),window.removeEventListener(\"resize\",this.handleWindowResize),this.teardownDragging())}}},{key:\"handleScroll\",value:function(De){var ce=this,ye=this.props,Oe=ye.onScroll,Ce=ye.onScrollFrame;Oe&&Oe(De),this.update(function(oe){var he=oe.scrollLeft,ie=oe.scrollTop;ce.viewScrollLeft=he,ce.viewScrollTop=ie,Ce&&Ce(oe)}),this.detectScrolling()}},{key:\"handleScrollStart\",value:function(){var De=this.props.onScrollStart;De&&De(),this.handleScrollStartAutoHide()}},{key:\"handleScrollStartAutoHide\",value:function(){var De=this.props.autoHide;De&&this.showTracks()}},{key:\"handleScrollStop\",value:function(){var De=this.props.onScrollStop;De&&De(),this.handleScrollStopAutoHide()}},{key:\"handleScrollStopAutoHide\",value:function(){var De=this.props.autoHide;De&&this.hideTracks()}},{key:\"handleWindowResize\",value:function(){this.update()}},{key:\"handleHorizontalTrackMouseDown\",value:function(De){De.preventDefault();var ce=De.target,ye=De.clientX,Oe=ce.getBoundingClientRect(),Ce=Oe.left,oe=this.getThumbHorizontalWidth(),he=Math.abs(Ce-ye)-oe/2;this.view.scrollLeft=this.getScrollLeftForOffset(he)}},{key:\"handleVerticalTrackMouseDown\",value:function(De){De.preventDefault();var ce=De.target,ye=De.clientY,Oe=ce.getBoundingClientRect(),Ce=Oe.top,oe=this.getThumbVerticalHeight(),he=Math.abs(Ce-ye)-oe/2;this.view.scrollTop=this.getScrollTopForOffset(he)}},{key:\"handleHorizontalThumbMouseDown\",value:function(De){De.preventDefault(),this.handleDragStart(De);var ce=De.target,ye=De.clientX,Oe=ce.offsetWidth,Ce=ce.getBoundingClientRect(),oe=Ce.left;this.prevPageX=Oe-(ye-oe)}},{key:\"handleVerticalThumbMouseDown\",value:function(De){De.preventDefault(),this.handleDragStart(De);var ce=De.target,ye=De.clientY,Oe=ce.offsetHeight,Ce=ce.getBoundingClientRect(),oe=Ce.top;this.prevPageY=Oe-(ye-oe)}},{key:\"setupDragging\",value:function(){(0,O.default)(document.body,L.disableSelectStyle),document.addEventListener(\"mousemove\",this.handleDrag),document.addEventListener(\"mouseup\",this.handleDragEnd),document.onselectstart=m.default}},{key:\"teardownDragging\",value:function(){(0,O.default)(document.body,L.disableSelectStyleReset),document.removeEventListener(\"mousemove\",this.handleDrag),document.removeEventListener(\"mouseup\",this.handleDragEnd),document.onselectstart=void 0}},{key:\"handleDragStart\",value:function(De){this.dragging=!0,De.stopImmediatePropagation(),this.setupDragging()}},{key:\"handleDrag\",value:function(De){if(this.prevPageX){var ce=De.clientX,ye=this.trackHorizontal.getBoundingClientRect(),Oe=ye.left,Ce=this.getThumbHorizontalWidth(),oe=Ce-this.prevPageX,he=-Oe+ce-oe;this.view.scrollLeft=this.getScrollLeftForOffset(he)}if(this.prevPageY){var ie=De.clientY,ae=this.trackVertical.getBoundingClientRect(),ve=ae.top,X=this.getThumbVerticalHeight(),se=X-this.prevPageY,fe=-ve+ie-se;this.view.scrollTop=this.getScrollTopForOffset(fe)}return!1}},{key:\"handleDragEnd\",value:function(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()}},{key:\"handleDragEndAutoHide\",value:function(){var De=this.props.autoHide;De&&this.hideTracks()}},{key:\"handleTrackMouseEnter\",value:function(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()}},{key:\"handleTrackMouseEnterAutoHide\",value:function(){var De=this.props.autoHide;De&&this.showTracks()}},{key:\"handleTrackMouseLeave\",value:function(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()}},{key:\"handleTrackMouseLeaveAutoHide\",value:function(){var De=this.props.autoHide;De&&this.hideTracks()}},{key:\"showTracks\",value:function(){clearTimeout(this.hideTracksTimeout),(0,O.default)(this.trackHorizontal,{opacity:1}),(0,O.default)(this.trackVertical,{opacity:1})}},{key:\"hideTracks\",value:function(){var De=this;if(!this.dragging&&!this.scrolling&&!this.trackMouseOver){var ce=this.props.autoHideTimeout;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout(function(){(0,O.default)(De.trackHorizontal,{opacity:0}),(0,O.default)(De.trackVertical,{opacity:0})},ce)}}},{key:\"detectScrolling\",value:function(){var De=this;this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval(function(){De.lastViewScrollLeft===De.viewScrollLeft&&De.lastViewScrollTop===De.viewScrollTop&&(clearInterval(De.detectScrollingInterval),De.scrolling=!1,De.handleScrollStop()),De.lastViewScrollLeft=De.viewScrollLeft,De.lastViewScrollTop=De.viewScrollTop},100))}},{key:\"raf\",value:function(De){var ce=this;this.requestFrame&&C.default.cancel(this.requestFrame),this.requestFrame=(0,C.default)(function(){ce.requestFrame=void 0,De()})}},{key:\"update\",value:function(De){var ce=this;this.raf(function(){return ce._update(De)})}},{key:\"_update\",value:function(De){var ce=this.props,ye=ce.onUpdate,Oe=ce.hideTracksWhenNotNeeded,Ce=this.getValues();if((0,l.default)()){var oe=Ce.scrollLeft,he=Ce.clientWidth,ie=Ce.scrollWidth,ae=(0,M.default)(this.trackHorizontal),ve=this.getThumbHorizontalWidth(),X=oe/(ie-he)*(ae-ve),se={width:ve,transform:\"translateX(\"+X+\"px)\"},fe=Ce.scrollTop,_e=Ce.clientHeight,be=Ce.scrollHeight,We=(0,j.default)(this.trackVertical),we=this.getThumbVerticalHeight(),Ze=fe/(be-_e)*(We-we),Ve={height:we,transform:\"translateY(\"+Ze+\"px)\"};if(Oe){var et={visibility:ie>he?\"visible\":\"hidden\"},ht={visibility:be>_e?\"visible\":\"hidden\"};(0,O.default)(this.trackHorizontal,et),(0,O.default)(this.trackVertical,ht)}(0,O.default)(this.thumbHorizontal,se),(0,O.default)(this.thumbVertical,Ve)}ye&&ye(Ce),typeof De==\"function\"&&De(Ce)}},{key:\"render\",value:function(){var De=this,ce=(0,l.default)(),ye=this.props,Oe=ye.onScroll,Ce=ye.onScrollFrame,oe=ye.onScrollStart,he=ye.onScrollStop,ie=ye.onUpdate,ae=ye.renderView,ve=ye.renderTrackHorizontal,X=ye.renderTrackVertical,se=ye.renderThumbHorizontal,fe=ye.renderThumbVertical,_e=ye.tagName,be=ye.hideTracksWhenNotNeeded,We=ye.autoHide,we=ye.autoHideTimeout,Ze=ye.autoHideDuration,Ve=ye.thumbSize,et=ye.thumbMinSize,ht=ye.universal,Fe=ye.autoHeight,mt=ye.autoHeightMin,dt=ye.autoHeightMax,Lt=ye.style,lt=ye.children,rn=q(ye,[\"onScroll\",\"onScrollFrame\",\"onScrollStart\",\"onScrollStop\",\"onUpdate\",\"renderView\",\"renderTrackHorizontal\",\"renderTrackVertical\",\"renderThumbHorizontal\",\"renderThumbVertical\",\"tagName\",\"hideTracksWhenNotNeeded\",\"autoHide\",\"autoHideTimeout\",\"autoHideDuration\",\"thumbSize\",\"thumbMinSize\",\"universal\",\"autoHeight\",\"autoHeightMin\",\"autoHeightMax\",\"style\",\"children\"]),qt=this.state.didMountUniversal,hn=r({},L.containerStyleDefault,Fe&&r({},L.containerStyleAutoHeight,{minHeight:mt,maxHeight:dt}),Lt),Kt=r({},L.viewStyleDefault,{marginRight:ce?-ce:0,marginBottom:ce?-ce:0},Fe&&r({},L.viewStyleAutoHeight,{minHeight:(0,f.default)(mt)?\"calc(\"+mt+\" + \"+ce+\"px)\":mt+ce,maxHeight:(0,f.default)(dt)?\"calc(\"+dt+\" + \"+ce+\"px)\":dt+ce}),Fe&&ht&&!qt&&{minHeight:mt,maxHeight:dt},ht&&!qt&&L.viewStyleUniversalInitial),an={transition:\"opacity \"+Ze+\"ms\",opacity:0},In=r({},L.trackHorizontalStyleDefault,We&&an,(!ce||ht&&!qt)&&{display:\"none\"}),Ft=r({},L.trackVerticalStyleDefault,We&&an,(!ce||ht&&!qt)&&{display:\"none\"});return(0,b.createElement)(_e,r({},rn,{style:hn,ref:function(At){De.container=At}}),[(0,b.cloneElement)(ae({style:Kt}),{key:\"view\",ref:function(At){De.view=At}},lt),(0,b.cloneElement)(ve({style:In}),{key:\"trackHorizontal\",ref:function(At){De.trackHorizontal=At}},(0,b.cloneElement)(se({style:L.thumbHorizontalStyleDefault}),{ref:function(At){De.thumbHorizontal=At}})),(0,b.cloneElement)(X({style:Ft}),{key:\"trackVertical\",ref:function(At){De.trackVertical=At}},(0,b.cloneElement)(fe({style:L.thumbVerticalStyleDefault}),{ref:function(At){De.thumbVertical=At}}))])}}]),Ie}(b.Component);Ee.default=ee,ee.propTypes={onScroll:u.default.func,onScrollFrame:u.default.func,onScrollStart:u.default.func,onScrollStop:u.default.func,onUpdate:u.default.func,renderView:u.default.func,renderTrackHorizontal:u.default.func,renderTrackVertical:u.default.func,renderThumbHorizontal:u.default.func,renderThumbVertical:u.default.func,tagName:u.default.string,thumbSize:u.default.number,thumbMinSize:u.default.number,hideTracksWhenNotNeeded:u.default.bool,autoHide:u.default.bool,autoHideTimeout:u.default.number,autoHideDuration:u.default.number,autoHeight:u.default.bool,autoHeightMin:u.default.oneOfType([u.default.number,u.default.string]),autoHeightMax:u.default.oneOfType([u.default.number,u.default.string]),universal:u.default.bool,style:u.default.object,children:u.default.node},ee.defaultProps={renderView:A.renderViewDefault,renderTrackHorizontal:A.renderTrackHorizontalDefault,renderTrackVertical:A.renderTrackVerticalDefault,renderThumbHorizontal:A.renderThumbHorizontalDefault,renderThumbVertical:A.renderThumbVerticalDefault,tagName:\"div\",thumbMinSize:30,hideTracksWhenNotNeeded:!1,autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,autoHeightMin:0,autoHeightMax:200,universal:!1}},84438:function(Pt,Ee){\"use strict\";Object.defineProperty(Ee,\"__esModule\",{value:!0});var c=Ee.containerStyleDefault={position:\"relative\",overflow:\"hidden\",width:\"100%\",height:\"100%\"},r=Ee.containerStyleAutoHeight={height:\"auto\"},y=Ee.viewStyleDefault={position:\"absolute\",top:0,left:0,right:0,bottom:0,overflow:\"scroll\",WebkitOverflowScrolling:\"touch\"},N=Ee.viewStyleAutoHeight={position:\"relative\",top:void 0,left:void 0,right:void 0,bottom:void 0},C=Ee.viewStyleUniversalInitial={overflow:\"hidden\",marginRight:0,marginBottom:0},w=Ee.trackHorizontalStyleDefault={position:\"absolute\",height:6},O=Ee.trackVerticalStyleDefault={position:\"absolute\",width:6},b=Ee.thumbHorizontalStyleDefault={position:\"relative\",display:\"block\",height:\"100%\"},p=Ee.thumbVerticalStyleDefault={position:\"relative\",display:\"block\",width:\"100%\"},u=Ee.disableSelectStyle={userSelect:\"none\"},a=Ee.disableSelectStyleReset={userSelect:\"\"}},56461:function(Pt,Ee,c){\"use strict\";var r;r={value:!0},r=void 0;var y=c(12366),N=C(y);function C(w){return w&&w.__esModule?w:{default:w}}Ee.ZP=N.default,r=N.default},9994:function(Pt,Ee){\"use strict\";Object.defineProperty(Ee,\"__esModule\",{value:!0}),Ee.default=c;function c(r){var y=r.clientHeight,N=getComputedStyle(r),C=N.paddingTop,w=N.paddingBottom;return y-parseFloat(C)-parseFloat(w)}},14369:function(Pt,Ee){\"use strict\";Object.defineProperty(Ee,\"__esModule\",{value:!0}),Ee.default=c;function c(r){var y=r.clientWidth,N=getComputedStyle(r),C=N.paddingLeft,w=N.paddingRight;return y-parseFloat(C)-parseFloat(w)}},91445:function(Pt,Ee,c){\"use strict\";Object.defineProperty(Ee,\"__esModule\",{value:!0}),Ee.default=w;var r=c(91002),y=N(r);function N(O){return O&&O.__esModule?O:{default:O}}var C=!1;function w(){if(C!==!1)return C;if(typeof document!=\"undefined\"){var O=document.createElement(\"div\");(0,y.default)(O,{width:100,height:100,position:\"absolute\",top:-9999,overflow:\"scroll\",MsOverflowStyle:\"scrollbar\"}),document.body.appendChild(O),C=O.offsetWidth-O.clientWidth,document.body.removeChild(O)}else C=0;return C||0}},87387:function(Pt,Ee){\"use strict\";Object.defineProperty(Ee,\"__esModule\",{value:!0}),Ee.default=c;function c(r){return typeof r==\"string\"}},63841:function(Pt,Ee){\"use strict\";Object.defineProperty(Ee,\"__esModule\",{value:!0}),Ee.default=c;function c(){return!1}},90795:function(Pt,Ee,c){\"use strict\";var r;r={value:!0};var y=c(83056),N=c(50959),C=c(12641),w=c(78006);function O(kt){return kt&&typeof kt==\"object\"&&\"default\"in kt?kt:{default:kt}}function b(kt){if(kt&&kt.__esModule)return kt;var At=Object.create(null);return kt&&Object.keys(kt).forEach(function(Fn){if(Fn!==\"default\"){var pn=Object.getOwnPropertyDescriptor(kt,Fn);Object.defineProperty(At,Fn,pn.get?pn:{enumerable:!0,get:function(){return kt[Fn]}})}}),At.default=kt,Object.freeze(At)}var p=b(N),u=O(N),a=function(kt,At){return kt===0?\"\":new Array(kt*At).fill(\" \").join(\"\")};function f(kt){return f=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(At){return typeof At}:function(At){return At&&typeof Symbol==\"function\"&&At.constructor===Symbol&&At!==Symbol.prototype?\"symbol\":typeof At},f(kt)}function h(kt){return l(kt)||s(kt)||m(kt)||M()}function l(kt){if(Array.isArray(kt))return x(kt)}function s(kt){if(typeof Symbol!=\"undefined\"&&kt[Symbol.iterator]!=null||kt[\"@@iterator\"]!=null)return Array.from(kt)}function m(kt,At){if(kt){if(typeof kt==\"string\")return x(kt,At);var Fn=Object.prototype.toString.call(kt).slice(8,-1);if(Fn===\"Object\"&&kt.constructor&&(Fn=kt.constructor.name),Fn===\"Map\"||Fn===\"Set\")return Array.from(kt);if(Fn===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Fn))return x(kt,At)}}function x(kt,At){(At==null||At>kt.length)&&(At=kt.length);for(var Fn=0,pn=new Array(At);Fn<At;Fn++)pn[Fn]=kt[Fn];return pn}function M(){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(kt,At){return kt===null||f(kt)!==\"object\"||kt instanceof Date||kt instanceof RegExp||p.isValidElement(kt)?kt:(At.add(kt),Array.isArray(kt)?kt.map(function(Fn){return E(Fn,At)}):Object.keys(kt).sort().reduce(function(Fn,pn){return pn===\"_owner\"||(pn===\"current\"||At.has(kt[pn])?Fn[pn]=\"[Circular]\":Fn[pn]=E(kt[pn],At)),Fn},{}))}function j(kt){return E(kt,new WeakSet)}var L=function(At){return{type:\"string\",value:At}},A=function(At){return{type:\"number\",value:At}},J=function(At,Fn,pn,en){return{type:\"ReactElement\",displayName:At,props:Fn,defaultProps:pn,childrens:en}},q=function(At,Fn){return{type:\"ReactFragment\",key:At,childrens:Fn}},re=Boolean(N.Fragment),me=function(At){return!At.name||At.name===\"_default\"?\"No Display Name\":At.name},Te=function kt(At){switch(!0){case Boolean(At.displayName):return At.displayName;case At.$$typeof===w.Memo:return kt(At.type);case At.$$typeof===w.ForwardRef:return kt(At.render);default:return me(At)}},ee=function(At){switch(!0){case typeof At.type==\"string\":return At.type;case typeof At.type==\"function\":return At.type.displayName?At.type.displayName:me(At.type);case w.isForwardRef(At):case w.isMemo(At):return Te(At.type);case w.isContextConsumer(At):return\"\".concat(At.type._context.displayName||\"Context\",\".Consumer\");case w.isContextProvider(At):return\"\".concat(At.type._context.displayName||\"Context\",\".Provider\");case w.isLazy(At):return\"Lazy\";case w.isProfiler(At):return\"Profiler\";case w.isStrictMode(At):return\"StrictMode\";case w.isSuspense(At):return\"Suspense\";default:return\"UnknownElementType\"}},xe=function(At,Fn){return Fn!==\"children\"},Ie=function(At){return At!==!0&&At!==!1&&At!==null&&At!==\"\"},Le=function(At,Fn){var pn={};return Object.keys(At).filter(function(en){return Fn(At[en],en)}).forEach(function(en){return pn[en]=At[en]}),pn},De=function kt(At,Fn){var pn=Fn.displayName,en=pn===void 0?ee:pn;if(typeof At==\"string\")return L(At);if(typeof At==\"number\")return A(At);if(!u.default.isValidElement(At))throw new Error(\"react-element-to-jsx-string: Expected a React.Element, got `\".concat(f(At),\"`\"));var Wn=en(At),Mn=Le(At.props,xe);At.ref!==null&&(Mn.ref=At.ref);var Kn=At.key;typeof Kn==\"string\"&&Kn.search(/^\\./)&&(Mn.key=Kn);var hr=Le(At.type.defaultProps||{},xe),pr=u.default.Children.toArray(At.props.children).filter(Ie).map(function(zr){return kt(zr,Fn)});return re&&At.type===N.Fragment?q(Kn,pr):J(Wn,Mn,hr,pr)};function ce(){}var ye=function(At){return At.toString().split(`\n`).map(function(Fn){return Fn.trim()}).join(\"\")},Oe=function(At){return At.toString()},Ce=ye,oe=function(kt,At){var Fn=At.functionValue,pn=Fn===void 0?Ce:Fn,en=At.showFunctions;return pn(!en&&pn===Ce?ce:kt)},he=function(kt,At,Fn,pn){var en=j(kt),Wn=C.prettyPrint(en,{transform:function(Kn,hr,pr){var zr=Kn[hr];return zr&&N.isValidElement(zr)?an(De(zr,pn),!0,Fn,pn):typeof zr==\"function\"?oe(zr,pn):pr}});return At?Wn.replace(/\\s+/g,\" \").replace(/{ /g,\"{\").replace(/ }/g,\"}\").replace(/\\[ /g,\"[\").replace(/ ]/g,\"]\"):Wn.replace(/\\t/g,a(1,pn.tabStop)).replace(/\\n([^$])/g,`\n`.concat(a(Fn+1,pn.tabStop),\"$1\"))},ie=function(At){return At.replace(/\"/g,\"&quot;\")},ae=function(At,Fn,pn,en){if(typeof At==\"number\")return\"{\".concat(String(At),\"}\");if(typeof At==\"string\")return'\"'.concat(ie(At),'\"');if(f(At)===\"symbol\"){var Wn=At.valueOf().toString().replace(/Symbol\\((.*)\\)/,\"$1\");return Wn?\"{Symbol('\".concat(Wn,\"')}\"):\"{Symbol()}\"}return typeof At==\"function\"?\"{\".concat(oe(At,en),\"}\"):N.isValidElement(At)?\"{\".concat(an(De(At,en),!0,pn,en),\"}\"):At instanceof Date?isNaN(At.valueOf())?\"{new Date(NaN)}\":'{new Date(\"'.concat(At.toISOString(),'\")}'):y.isPlainObject(At)||Array.isArray(At)?\"{\".concat(he(At,Fn,pn,en),\"}\"):\"{\".concat(String(At),\"}\")},ve=function(kt,At,Fn,pn,en,Wn,Mn,Kn){if(!At&&!pn)throw new Error('The prop \"'.concat(kt,'\" has no value and no default: could not be formatted'));var hr=At?Fn:en,pr=Kn.useBooleanShorthandSyntax,zr=Kn.tabStop,Wr=ae(hr,Wn,Mn,Kn),Nr=\" \",Kr=`\n`.concat(a(Mn+1,zr)),ko=Wr.includes(`\n`);return pr&&Wr===\"{false}\"&&!pn?(Nr=\"\",Kr=\"\"):pr&&Wr===\"{true}\"?(Nr+=\"\".concat(kt),Kr+=\"\".concat(kt)):(Nr+=\"\".concat(kt,\"=\").concat(Wr),Kr+=\"\".concat(kt,\"=\").concat(Wr)),{attributeFormattedInline:Nr,attributeFormattedMultiline:Kr,isMultilineAttribute:ko}},X=function(kt,At){var Fn=kt.slice(0,kt.length>0?kt.length-1:0),pn=kt[kt.length-1];return pn&&(At.type===\"string\"||At.type===\"number\")&&(pn.type===\"string\"||pn.type===\"number\")?Fn.push(L(String(pn.value)+String(At.value))):(pn&&Fn.push(pn),Fn.push(At)),Fn},se=function(At){return[\"key\",\"ref\"].includes(At)},fe=function(kt){return function(At){var Fn=At.includes(\"key\"),pn=At.includes(\"ref\"),en=At.filter(function(Mn){return!se(Mn)}),Wn=h(kt?en.sort():en);return pn&&Wn.unshift(\"ref\"),Fn&&Wn.unshift(\"key\"),Wn}};function _e(kt,At){return Array.isArray(At)?function(Fn){return At.indexOf(Fn)===-1}:function(Fn){return At(kt[Fn],Fn)}}var be=function(At,Fn,pn,en,Wn){var Mn=Wn.tabStop;return At.type===\"string\"?Fn.split(`\n`).map(function(Kn,hr){return hr===0?Kn:\"\".concat(a(en,Mn)).concat(Kn)}).join(`\n`):Fn},We=function(At,Fn,pn){return function(en){return be(en,an(en,At,Fn,pn),At,Fn,pn)}},we=function(At,Fn){return function(pn){var en=Object.keys(At).includes(pn);return!en||en&&At[pn]!==Fn[pn]}},Ze=function(At,Fn,pn,en,Wn){return Wn?a(pn,en).length+Fn.length>Wn:At.length>1},Ve=function(At,Fn,pn,en,Wn,Mn,Kn){return(Ze(At,Fn,Wn,Mn,Kn)||pn)&&!en},et=function(kt,At,Fn,pn){var en=kt.type,Wn=kt.displayName,Mn=Wn===void 0?\"\":Wn,Kn=kt.childrens,hr=kt.props,pr=hr===void 0?{}:hr,zr=kt.defaultProps,Wr=zr===void 0?{}:zr;if(en!==\"ReactElement\")throw new Error('The \"formatReactElementNode\" function could only format node of type \"ReactElement\". Given:  '.concat(en));var Nr=pn.filterProps,Kr=pn.maxInlineAttributesLineLength,ko=pn.showDefaultProps,Ur=pn.sortProps,gn=pn.tabStop,Gt=\"<\".concat(Mn),bt=Gt,Zt=Gt,gt=!1,Wt=[],xn=_e(pr,Nr);Object.keys(pr).filter(xn).filter(we(Wr,pr)).forEach(function(Rn){return Wt.push(Rn)}),Object.keys(Wr).filter(xn).filter(function(){return ko}).filter(function(Rn){return!Wt.includes(Rn)}).forEach(function(Rn){return Wt.push(Rn)});var Dt=fe(Ur)(Wt);if(Dt.forEach(function(Rn){var wt=ve(Rn,Object.keys(pr).includes(Rn),pr[Rn],Object.keys(Wr).includes(Rn),Wr[Rn],At,Fn,pn),pt=wt.attributeFormattedInline,Ue=wt.attributeFormattedMultiline,xt=wt.isMultilineAttribute;xt&&(gt=!0),bt+=pt,Zt+=Ue}),Zt+=`\n`.concat(a(Fn,gn)),Ve(Dt,bt,gt,At,Fn,gn,Kr)?Gt=Zt:Gt=bt,Kn&&Kn.length>0){var Xn=Fn+1;Gt+=\">\",At||(Gt+=`\n`,Gt+=a(Xn,gn)),Gt+=Kn.reduce(X,[]).map(We(At,Xn,pn)).join(At?\"\":`\n`.concat(a(Xn,gn))),At||(Gt+=`\n`,Gt+=a(Xn-1,gn)),Gt+=\"</\".concat(Mn,\">\")}else Ze(Dt,bt,Fn,gn,Kr)||(Gt+=\" \"),Gt+=\"/>\";return Gt},ht=\"\",Fe=\"React.Fragment\",mt=function(At,Fn,pn){var en={};return Fn&&(en={key:Fn}),{type:\"ReactElement\",displayName:At,props:en,defaultProps:{},childrens:pn}},dt=function(At){var Fn=At.key;return Boolean(Fn)},Lt=function(At){var Fn=At.childrens;return Fn.length===0},lt=function(kt,At,Fn,pn){var en=kt.type,Wn=kt.key,Mn=kt.childrens;if(en!==\"ReactFragment\")throw new Error('The \"formatReactFragmentNode\" function could only format node of type \"ReactFragment\". Given: '.concat(en));var Kn=pn.useFragmentShortSyntax,hr;return Kn?Lt(kt)||dt(kt)?hr=Fe:hr=ht:hr=Fe,et(mt(hr,Wn,Mn),At,Fn,pn)},rn=[\"<\",\">\",\"{\",\"}\"],qt=function(At){return rn.some(function(Fn){return At.includes(Fn)})},hn=function(At){return qt(At)?\"{`\".concat(At,\"`}\"):At},Kt=function(At){var Fn=At;return Fn.endsWith(\" \")&&(Fn=Fn.replace(/^(.*?)(\\s+)$/,\"$1{'$2'}\")),Fn.startsWith(\" \")&&(Fn=Fn.replace(/^(\\s+)(.*)$/,\"{'$1'}$2\")),Fn},an=function(kt,At,Fn,pn){if(kt.type===\"number\")return String(kt.value);if(kt.type===\"string\")return kt.value?\"\".concat(Kt(hn(String(kt.value)))):\"\";if(kt.type===\"ReactElement\")return et(kt,At,Fn,pn);if(kt.type===\"ReactFragment\")return lt(kt,At,Fn,pn);throw new TypeError('Unknow format type \"'.concat(kt.type,'\"'))},In=function(kt,At){return an(kt,!1,0,At)},Ft=function(At){var Fn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},pn=Fn.filterProps,en=pn===void 0?[]:pn,Wn=Fn.showDefaultProps,Mn=Wn===void 0?!0:Wn,Kn=Fn.showFunctions,hr=Kn===void 0?!1:Kn,pr=Fn.functionValue,zr=Fn.tabStop,Wr=zr===void 0?2:zr,Nr=Fn.useBooleanShorthandSyntax,Kr=Nr===void 0?!0:Nr,ko=Fn.useFragmentShortSyntax,Ur=ko===void 0?!0:ko,gn=Fn.sortProps,Gt=gn===void 0?!0:gn,bt=Fn.maxInlineAttributesLineLength,Zt=Fn.displayName;if(!At)throw new Error(\"react-element-to-jsx-string: Expected a ReactElement\");var gt={filterProps:en,showDefaultProps:Mn,showFunctions:hr,functionValue:pr,tabStop:Wr,useBooleanShorthandSyntax:Kr,useFragmentShortSyntax:Ur,sortProps:Gt,maxInlineAttributesLineLength:bt,displayName:Zt};return In(De(At,gt),gt)};r=Ft,r=ye,r=Oe},74663:function(Pt,Ee){\"use strict\";var c=Symbol.for(\"react.element\"),r=Symbol.for(\"react.portal\"),y=Symbol.for(\"react.fragment\"),N=Symbol.for(\"react.strict_mode\"),C=Symbol.for(\"react.profiler\"),w=Symbol.for(\"react.provider\"),O=Symbol.for(\"react.context\"),b=Symbol.for(\"react.server_context\"),p=Symbol.for(\"react.forward_ref\"),u=Symbol.for(\"react.suspense\"),a=Symbol.for(\"react.suspense_list\"),f=Symbol.for(\"react.memo\"),h=Symbol.for(\"react.lazy\"),l=Symbol.for(\"react.offscreen\"),s;s=Symbol.for(\"react.module.reference\");function m(x){if(typeof x==\"object\"&&x!==null){var M=x.$$typeof;switch(M){case c:switch(x=x.type,x){case y:case C:case N:case u:case a:return x;default:switch(x=x&&x.$$typeof,x){case b:case O:case p:case h:case f:case w:return x;default:return M}}case r:return M}}}Ee.ContextConsumer=O,Ee.ContextProvider=w,Ee.Element=c,Ee.ForwardRef=p,Ee.Fragment=y,Ee.Lazy=h,Ee.Memo=f,Ee.Portal=r,Ee.Profiler=C,Ee.StrictMode=N,Ee.Suspense=u,Ee.SuspenseList=a,Ee.isAsyncMode=function(){return!1},Ee.isConcurrentMode=function(){return!1},Ee.isContextConsumer=function(x){return m(x)===O},Ee.isContextProvider=function(x){return m(x)===w},Ee.isElement=function(x){return typeof x==\"object\"&&x!==null&&x.$$typeof===c},Ee.isForwardRef=function(x){return m(x)===p},Ee.isFragment=function(x){return m(x)===y},Ee.isLazy=function(x){return m(x)===h},Ee.isMemo=function(x){return m(x)===f},Ee.isPortal=function(x){return m(x)===r},Ee.isProfiler=function(x){return m(x)===C},Ee.isStrictMode=function(x){return m(x)===N},Ee.isSuspense=function(x){return m(x)===u},Ee.isSuspenseList=function(x){return m(x)===a},Ee.isValidElementType=function(x){return typeof x==\"string\"||typeof x==\"function\"||x===y||x===C||x===N||x===u||x===a||x===l||typeof x==\"object\"&&x!==null&&(x.$$typeof===h||x.$$typeof===f||x.$$typeof===w||x.$$typeof===O||x.$$typeof===p||x.$$typeof===s||x.getModuleId!==void 0)},Ee.typeOf=m},78006:function(Pt,Ee,c){\"use strict\";Pt.exports=c(74663)},58706:function(Pt,Ee,c){\"use strict\";Object.defineProperty(Ee,\"__esModule\",{value:!0}),Ee.autoprefix=void 0;var r=c(14287),y=C(r),N=Object.assign||function(b){for(var p=1;p<arguments.length;p++){var u=arguments[p];for(var a in u)Object.prototype.hasOwnProperty.call(u,a)&&(b[a]=u[a])}return b};function C(b){return b&&b.__esModule?b:{default:b}}var w={borderRadius:function(p){return{msBorderRadius:p,MozBorderRadius:p,OBorderRadius:p,WebkitBorderRadius:p,borderRadius:p}},boxShadow:function(p){return{msBoxShadow:p,MozBoxShadow:p,OBoxShadow:p,WebkitBoxShadow:p,boxShadow:p}},userSelect:function(p){return{WebkitTouchCallout:p,KhtmlUserSelect:p,MozUserSelect:p,msUserSelect:p,WebkitUserSelect:p,userSelect:p}},flex:function(p){return{WebkitBoxFlex:p,MozBoxFlex:p,WebkitFlex:p,msFlex:p,flex:p}},flexBasis:function(p){return{WebkitFlexBasis:p,flexBasis:p}},justifyContent:function(p){return{WebkitJustifyContent:p,justifyContent:p}},transition:function(p){return{msTransition:p,MozTransition:p,OTransition:p,WebkitTransition:p,transition:p}},transform:function(p){return{msTransform:p,MozTransform:p,OTransform:p,WebkitTransform:p,transform:p}},absolute:function(p){var u=p&&p.split(\" \");return{position:\"absolute\",top:u&&u[0],right:u&&u[1],bottom:u&&u[2],left:u&&u[3]}},extend:function(p,u){var a=u[p];return a||{extend:p}}},O=Ee.autoprefix=function(p){var u={};return(0,y.default)(p,function(a,f){var h={};(0,y.default)(a,function(l,s){var m=w[s];m?h=N({},h,m(l)):h[s]=l}),u[f]=h}),u};Ee.default=O},8615:function(Pt,Ee,c){\"use strict\";Object.defineProperty(Ee,\"__esModule\",{value:!0}),Ee.active=void 0;var r=Object.assign||function(u){for(var a=1;a<arguments.length;a++){var f=arguments[a];for(var h in f)Object.prototype.hasOwnProperty.call(f,h)&&(u[h]=f[h])}return u},y=c(50959),N=C(y);function C(u){return u&&u.__esModule?u:{default:u}}function w(u,a){if(!(u instanceof a))throw new TypeError(\"Cannot call a class as a function\")}function O(u,a){if(!u)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return a&&(typeof a==\"object\"||typeof a==\"function\")?a:u}function b(u,a){if(typeof a!=\"function\"&&a!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof a);u.prototype=Object.create(a&&a.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(u,a):u.__proto__=a)}var p=Ee.active=function(a){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:\"span\";return function(h){b(l,h);function l(){var s,m,x,M;w(this,l);for(var E=arguments.length,j=Array(E),L=0;L<E;L++)j[L]=arguments[L];return M=(m=(x=O(this,(s=l.__proto__||Object.getPrototypeOf(l)).call.apply(s,[this].concat(j))),x),x.state={active:!1},x.handleMouseDown=function(){return x.setState({active:!0})},x.handleMouseUp=function(){return x.setState({active:!1})},x.render=function(){return N.default.createElement(f,{onMouseDown:x.handleMouseDown,onMouseUp:x.handleMouseUp},N.default.createElement(a,r({},x.props,x.state)))},m),O(x,M)}return l}(N.default.Component)};Ee.default=p},66626:function(Pt,Ee,c){\"use strict\";Object.defineProperty(Ee,\"__esModule\",{value:!0}),Ee.hover=void 0;var r=Object.assign||function(u){for(var a=1;a<arguments.length;a++){var f=arguments[a];for(var h in f)Object.prototype.hasOwnProperty.call(f,h)&&(u[h]=f[h])}return u},y=c(50959),N=C(y);function C(u){return u&&u.__esModule?u:{default:u}}function w(u,a){if(!(u instanceof a))throw new TypeError(\"Cannot call a class as a function\")}function O(u,a){if(!u)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return a&&(typeof a==\"object\"||typeof a==\"function\")?a:u}function b(u,a){if(typeof a!=\"function\"&&a!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof a);u.prototype=Object.create(a&&a.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(u,a):u.__proto__=a)}var p=Ee.hover=function(a){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:\"span\";return function(h){b(l,h);function l(){var s,m,x,M;w(this,l);for(var E=arguments.length,j=Array(E),L=0;L<E;L++)j[L]=arguments[L];return M=(m=(x=O(this,(s=l.__proto__||Object.getPrototypeOf(l)).call.apply(s,[this].concat(j))),x),x.state={hover:!1},x.handleMouseOver=function(){return x.setState({hover:!0})},x.handleMouseOut=function(){return x.setState({hover:!1})},x.render=function(){return N.default.createElement(f,{onMouseOver:x.handleMouseOver,onMouseOut:x.handleMouseOut},N.default.createElement(a,r({},x.props,x.state)))},m),O(x,M)}return l}(N.default.Component)};Ee.default=p},47642:function(Pt,Ee,c){\"use strict\";Object.defineProperty(Ee,\"__esModule\",{value:!0}),Ee.flattenNames=void 0;var r=c(56549),y=u(r),N=c(14287),C=u(N),w=c(69143),O=u(w),b=c(65512),p=u(b);function u(f){return f&&f.__esModule?f:{default:f}}var a=Ee.flattenNames=function f(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],l=[];return(0,p.default)(h,function(s){Array.isArray(s)?f(s).map(function(m){return l.push(m)}):(0,O.default)(s)?(0,C.default)(s,function(m,x){m===!0&&l.push(x),l.push(x+\"-\"+m)}):(0,y.default)(s)&&l.push(s)}),l};Ee.default=a},80014:function(Pt,Ee,c){\"use strict\";var r;r={value:!0},r=r=r=Ee.tz=r=void 0;var y=c(47642),N=s(y),C=c(71339),w=s(C),O=c(58706),b=s(O),p=c(66626),u=s(p),a=c(8615),f=s(a),h=c(45742),l=s(h);function s(x){return x&&x.__esModule?x:{default:x}}r=u.default,Ee.tz=u.default,r=f.default,r=l.default;var m=r=function(M){for(var E=arguments.length,j=Array(E>1?E-1:0),L=1;L<E;L++)j[L-1]=arguments[L];var A=(0,N.default)(j),J=(0,w.default)(M,A);return(0,b.default)(J)};Ee.ZP=m},45742:function(Pt,Ee){\"use strict\";Object.defineProperty(Ee,\"__esModule\",{value:!0});var c=function(y,N){var C={},w=function(b){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;C[b]=p};return y===0&&w(\"first-child\"),y===N-1&&w(\"last-child\"),(y===0||y%2===0)&&w(\"even\"),Math.abs(y%2)===1&&w(\"odd\"),w(\"nth-child\",y),C};Ee.default=c},71339:function(Pt,Ee,c){\"use strict\";Object.defineProperty(Ee,\"__esModule\",{value:!0}),Ee.mergeClasses=void 0;var r=c(14287),y=O(r),N=c(32222),C=O(N),w=Object.assign||function(p){for(var u=1;u<arguments.length;u++){var a=arguments[u];for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&(p[f]=a[f])}return p};function O(p){return p&&p.__esModule?p:{default:p}}var b=Ee.mergeClasses=function(u){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],f=u.default&&(0,C.default)(u.default)||{};return a.map(function(h){var l=u[h];return l&&(0,y.default)(l,function(s,m){f[m]||(f[m]={}),f[m]=w({},f[m],l[m])}),h}),f};Ee.default=b},93018:function(Pt,Ee,c){var r=c(64562);Pt.exports=y;function y(N){return r(N).replace(/\\s(\\w)/g,function(C,w){return w.toUpperCase()})}},14059:function(Pt){Pt.exports=y;var Ee=/\\s/,c=/(_|-|\\.|:)/,r=/([a-z][A-Z]|[A-Z][a-z])/;function y(b){return Ee.test(b)?b.toLowerCase():c.test(b)?(C(b)||b).toLowerCase():r.test(b)?O(b).toLowerCase():b.toLowerCase()}var N=/[\\W_]+(.|$)/g;function C(b){return b.replace(N,function(p,u){return u?\" \"+u:\"\"})}var w=/(.)([A-Z]+)/g;function O(b){return b.replace(w,function(p,u,a){return u+\" \"+a.toLowerCase().split(\"\").join(\" \")})}},64562:function(Pt,Ee,c){var r=c(14059);Pt.exports=y;function y(N){return r(N).replace(/[\\W_]+(.|$)/g,function(C,w){return w?\" \"+w:\"\"}).trim()}},41477:function(Pt,Ee,c){\"use strict\";c.d(Ee,{GXc:function(){return ml},Hnr:function(){return Zu},Xx3:function(){return fa},ZBq:function(){return ou},cjq:function(){return Us},o4J:function(){return Hc},vMv:function(){return mn},vgT:function(){return vi},xhb:function(){return yt},yjm:function(){return dl}});var r=c(65707),y=Object.defineProperty,N=(T,B,K)=>B in T?y(T,B,{enumerable:!0,configurable:!0,writable:!0,value:K}):T[B]=K,C=(T,B,K)=>(N(T,typeof B!=\"symbol\"?B+\"\":B,K),K),w,O,b,p,u,a;const f=new Map;function h(T){return f.get(T)}function l(T,B,K){f.set(T,{modelClass:B,fnName:K})}var s;(function(T){T.ApplyPatches=\"$$applyPatches\",T.ApplySnapshot=\"$$applySnapshot\",T.Detach=\"$$detach\",T.ApplySet=\"$$applySet\",T.ApplyDelete=\"$$applyDelete\",T.ApplyMethodCall=\"$$applyMethodCall\"})(s||(s={}));const m=new Set(Object.values(s));function x(T){return m.has(T)}var M;(function(T){T.Sync=\"sync\",T.Async=\"async\"})(M||(M={}));var E;(function(T){T.Spawn=\"spawn\",T.Return=\"return\",T.Resume=\"resume\",T.ResumeError=\"resumeError\",T.Throw=\"throw\"})(E||(E={}));let j;function L(){return j}function A(T){j=T}const J=Symbol(\"modelAction\");function q(T){return typeof T==\"function\"&&J in T}const re=\"$modelType\",me=\"$modelId\";function Te(T){return T===re}class ee extends Error{constructor(B){super(B),Object.setPrototypeOf(this,ee.prototype)}}function xe(T){return new ee(T)}const Ie={enumerable:!1,writable:!0,configurable:!1,value:void 0};function Le(T,B,K,Se=!0){Se?(Object.defineProperty(T,B,Ie),T[B]=K):Object.defineProperty(T,B,{enumerable:!1,writable:Se,configurable:!0,value:K})}function De(T,B,K){const Se=Object.getOwnPropertyDescriptor(T,B);Se&&(Se.enumerable=K,Se.get?delete Se.set:Se.writable=!1,Object.defineProperty(T,B,Se))}function ce(T){if(!ye(T))return!1;const B=Object.getPrototypeOf(T);return B===Object.prototype||B===null}function ye(T){return T!==null&&typeof T==\"object\"}function Oe(T){switch(typeof T){case\"number\":case\"string\":case\"boolean\":case\"undefined\":case\"bigint\":return!0}return T===null}function Ce(T){switch(typeof T){case\"number\":return isFinite(T);case\"string\":case\"boolean\":return!0}return T===null}function oe(T,B){let K=T.indexOf(B);return K>=0?(T.splice(K,1),!0):!1}function he(T){return T instanceof Map||(0,r.isObservableMap)(T)}function ie(T){return T instanceof Set||(0,r.isObservableSet)(T)}function ae(T){return Array.isArray(T)||(0,r.isObservableArray)(T)}const ve=!1;function X(T,B){if(!ye(T))throw xe(`${B} must be an object`)}function se(T,B){if(!ce(T))throw xe(`${B} must be a plain object`)}function fe(T,B){if(!(0,r.isObservableObject)(T))throw xe(`${B} must be an observable object`)}function _e(T,B){if(!(0,r.isObservableArray)(T))throw xe(`${B} must be an observable array`)}function be(T,B){if(!he(T))throw xe(`${B} must be a map`)}function We(T,B){if(!ie(T))throw xe(`${B} must be a set`)}function we(T,B){if(typeof T!=\"function\")throw xe(`${B} must be a function`)}function Ze(T,B){if(!Oe(T))throw xe(`${B} must be a primitive`)}function Ve(T,B){if(typeof T!=\"string\")throw xe(`${B} must be a string`)}const et=Symbol(\"runAfterNew\"),ht=Symbol(\"runBeforeOnInit\");function Fe(T,B,K){let Se=T[B];(!Se||!Object.prototype.hasOwnProperty.call(T,B))&&(Se=Se?Se.slice():[],Le(T,B,Se)),Se.push(K)}const mt=Symbol(\"unboundMethod\");function dt(T,B,K){const{target:Se,propertyKey:He,baseDescriptor:Ye}=B,Et=()=>{Fe(Se,et,bn=>{const Qn=K(B,bn[He]),yr=mt in Qn?Qn[mt]:Qn,vr=yr.bind(bn);Object.getOwnPropertySymbols(yr).forEach(no=>{vr[no]=yr[no]}),vr[mt]=yr,bn[He]=vr})};if(Ye){if(Ye.get!==void 0)throw xe(`@${T} cannot be used with getters`);if(Ye.value)return{enumerable:!1,writable:!0,configurable:!0,value:K(B,Ye.value)};Et()}else Et()}function Lt(T,B){const K=T[B];if(K)for(const Se of K)Se(T)}const lt=new Set;function rn(T,B,K){if(K){if(lt.has(K))return;lt.add(K)}switch(B=\"[mobx-keystone] \"+B,T){case\"warn\":console.warn(B);break;case\"error\":console.error(B);break;default:throw xe(`unknown log type - ${T}`)}}function qt(T){let B,K=!1;return(...Se)=>(K||(B=T(...Se),K=!0),B)}const hn=T=>T,Kt={makeObservable:r[String.fromCharCode(\"l\".charCodeAt(0)+1)+\"akeObservable\"]};function an(T){return`set${T[0].toUpperCase()}${T.slice(1)}`}function In(){return Kt.makeObservable?6:5}const Ft=\"mobx-keystone\",kt=Symbol(\"propsType\"),At=Symbol(\"fromSnapshotOverrideType\"),Fn=Symbol(\"toSnapshotOverrideType\"),pn=Symbol(\"modelInitialized\");function en(T){return T}const Wn={},Mn=new WeakMap;function Kn(T){return Wn[T]}function hr(T,B,K){let Se=T.get(B);return Se===void 0&&(Se=K(),T.set(B,Se)),Se}const pr=new WeakMap,zr=new WeakMap;function Wr(T,B,K=!0){return!T&&!B?!0:!T||!B||!(T.parent===B.parent)?!1:K?T.path===B.path:!0}function Nr(T){return hr(zr,T,()=>(0,r.createAtom)(\"parentAtom\"))}function Kr(T){Nr(T).reportObserved()}function ko(T){Nr(T).reportChanged()}const Ur=new WeakMap;function gn(T){const B=Ur.get(T);return B!=null?B:T}function Gt(T){return Ya(T)?T.$:T}const bt=new WeakMap;function Zt(T,B){return!B&&Ur.has(T)?!1:bt.has(T)}function gt(T){return!Oe(T)&&Zt(T,!1)}function Wt(T,B,K=!1){if(!K&&Ur.has(T))throw xe(`${B} must be the model object instance instead of the '$' sub-object`);if(Oe(T)||!Zt(T,!0))throw xe(`${B} must be a tree node (usually a model or a shallow / deep child part of a model 'data' object)`)}function xn(T,B=\"argument\"){Wt(T,B,!1)}let Dt=!1;function Xn(T){const B=Dt;Dt=!0;try{(0,r.runInAction)(()=>{T()})}finally{Dt=B}}const Rn=Symbol(\"modelMetadata\"),wt=Symbol(\"modelUnwrappedClass\"),pt=Symbol(\"runAfterModelDecorator\");function Ue(T){if(Ya(T))return T.constructor[Rn];if(ru(T))return T[Rn];throw xe(\"modelClassOrInstance must be a model class or instance\")}const xt=new WeakMap;function cn(T){return hr(xt,T,()=>Ue(T).modelIdProperty)}const er=Symbol(\"modelProperties\");function Mr(T){return T[er]}function xr(T,B){T[er]=B}const jr=Symbol(\"noDefaultValue\"),yo={_setter:!1,_isId:!0,withSetter(T){const B=Object.create(this);return B._setter=T!=null?T:!0,B},typedAs(){return yo}},eo={_defaultFn:jr,_defaultValue:jr,_typeChecker:void 0,_setter:!1,_isId:!1,_transform:void 0,_fromSnapshotProcessor:void 0,_toSnapshotProcessor:void 0,withSetter(T){const B=Object.create(this);return B._setter=T!=null?T:!0,B},withTransform(T){const B=Object.create(this);return B._transform=Zi(T),B},withSnapshotProcessor({fromSnapshot:T,toSnapshot:B}){let K;if(this._fromSnapshotProcessor&&T){const Ye=this._fromSnapshotProcessor,Et=T;K=bn=>Ye(Et(bn))}else T?K=T:K=this._fromSnapshotProcessor;let Se;if(this._toSnapshotProcessor&&B){const Ye=this._toSnapshotProcessor,Et=B;Se=bn=>Et(Ye(bn))}else B?Se=B:Se=this._toSnapshotProcessor;const He=Object.create(this);return He._fromSnapshotProcessor=K,He._toSnapshotProcessor=Se,He}};function vi(T){if(!(arguments.length>=1))return eo;let K=Ti.get(T);return K||(K=Object.create(eo),typeof T==\"function\"?K._defaultFn=T:K._defaultValue=T,Ti.set(T,K)),K}const Ti=new Map;let wi=!1;const mi=()=>{wi=!0};function Zi(T){const B=new WeakMap,K=He=>He.originalValue==null?He.originalValue:T.transform(He),Se=He=>He.transformedValue==null?He.transformedValue:T.untransform(He);return{transform(He,Ye,Et,bn){const Qn=hr(B,Ye,()=>new Map);let yr=Qn.get(Et);(yr==null?void 0:yr.originalValue)!==He&&(Qn.delete(Et),yr=void 0);const vr=K({originalValue:He,cachedTransformedValue:yr==null?void 0:yr.transformedValue,setOriginalValue:bn});return Qn.set(Et,{originalValue:He,transformedValue:vr}),vr},untransform(He,Ye,Et){const bn=hr(B,Ye,()=>new Map);wi=!1;const Qn=Se({transformedValue:He,cacheTransformedValue:mi});return wi?bn.set(Et,{originalValue:Qn,transformedValue:He}):bn.delete(Et),Qn}}}function aa(T){return T._defaultFn!==jr?T._defaultFn():T._defaultValue!==jr?T._defaultValue:jr}class $e{constructor(B,K,Se,He){C(this,\"path\"),C(this,\"expectedTypeName\"),C(this,\"actualValue\"),C(this,\"typeCheckedValue\"),C(this,\"message\"),this.path=B,this.expectedTypeName=K,this.actualValue=Se,this.typeCheckedValue=He;let Ye=[];this.typeCheckedValue&&Zt(this.typeCheckedValue,!0)&&(Ye=Wu(this.typeCheckedValue).path);const Et=Zt(this.actualValue,!0)?mn(this.actualValue):this.actualValue;this.message=`TypeCheckError: [/${[...Ye,...this.path].join(\"/\")}] Expected a value of type <${this.expectedTypeName}> but got the value <${JSON.stringify(Et)}> instead`}throw(){throw xe(this.message)}}const dn=[],Un=new WeakMap;var ar;(function(T){T.Object=\"object\",T.Array=\"array\",T.Primitive=\"primitive\",T.Any=\"any\"})(ar||(ar={}));function Rr(T){return ae(T)?ar.Array:ye(T)?ar.Object:Oe(T)?ar.Primitive:ar.Any}function Ro(T){let B=T;for(;B;){const K=Un.get(B);K&&(Un.delete(B),K.forEach(Se=>Se.invalidateCachedResult(B))),B=Qc(B)}}const Vo=new WeakMap;function Co(T){const B=Vo.get(T);B&&(B.forEach(K=>K.invalidateSnapshotProcessorCachedResult(T)),Vo.delete(T))}class Mo{constructor(B,K,Se,He,Ye,Et,bn){C(this,\"baseType\"),C(this,\"_check\"),C(this,\"getTypeName\"),C(this,\"typeInfoGen\"),C(this,\"snapshotType\"),C(this,\"_fromSnapshotProcessor\"),C(this,\"_toSnapshotProcessor\"),C(this,\"checkResultCache\"),C(this,\"unchecked\"),C(this,\"_cachedTypeInfoGen\"),C(this,\"fromSnapshotProcessor\",Qn=>this._fromSnapshotProcessor(Qn)),C(this,\"_toSnapshotProcessorCache\",new WeakMap),C(this,\"toSnapshotProcessor\",Qn=>{if(typeof Qn!=\"object\"||Qn===null)return this._toSnapshotProcessor(Qn);if(this._toSnapshotProcessorCache.has(Qn))return this._toSnapshotProcessorCache.get(Qn);const yr=this._toSnapshotProcessor(Qn);return this._toSnapshotProcessorCache.set(Qn,yr),hr(Vo,Qn,()=>new Set).add(this),yr}),this.baseType=B,this._check=K,this.getTypeName=Se,this.typeInfoGen=He,this.snapshotType=Ye,this._fromSnapshotProcessor=Et,this._toSnapshotProcessor=bn,this.unchecked=!K,this._cachedTypeInfoGen=qt(He)}createCacheIfNeeded(){return this.checkResultCache||(this.checkResultCache=new WeakMap),this.checkResultCache}setCachedResult(B,K){this.createCacheIfNeeded().set(B,K),hr(Un,B,()=>new Set).add(this)}invalidateCachedResult(B){var K;(K=this.checkResultCache)==null||K.delete(B)}getCachedResult(B){var K;return(K=this.checkResultCache)==null?void 0:K.get(B)}check(B,K,Se){if(this.unchecked)return null;if(!Zt(B,!0))return this._check(B,K,Se);let He=this.getCachedResult(B);return He===void 0&&(He=this._check(B,dn,void 0),this.setCachedResult(B,He)),He?new $e([...K,...He.path],He.expectedTypeName,He.actualValue,Se):null}get typeInfo(){return this._cachedTypeInfoGen(this)}invalidateSnapshotProcessorCachedResult(B){this._toSnapshotProcessorCache.delete(B)}}const qo=Symbol(\"lateTypeCheker\");function ti(T,B){let K;const Se=function(){return K||(K=T(),K)};Se[qo]=!0;const He=qt(B);return Object.defineProperty(Se,\"typeInfo\",{enumerable:!0,configurable:!0,get(){return He(Se)}}),Se}function pi(T){return typeof T==\"function\"&&qo in T}class ni{constructor(B){C(this,\"thisType\"),this.thisType=B}}function si(T){const K=Ir(T).typeInfo;if(!K)throw xe(`type info not found for ${T}`);return K}const Oi=new WeakMap;function Ki(T){if(!ru(T)&&typeof T==\"function\"){const B=T;return ti(()=>Ki(B()),Se=>new ca(Se,B()))}else{const B=T,K=Oi.get(B);if(K)return K;const Se=Ye=>new ca(Ye,B),He=ti(()=>{const Ye=Mn.get(B),Et=`Model(${Ye.name})`,bn=Ue(B).dataType,Qn=bn?Dr(bn):void 0,yr=new Mo(ar.Object,(vr,no,Wo)=>vr instanceof B?Qn?Qn.check(vr.$,no,Wo):null:new $e(no,Et,vr,Wo),()=>Et,Se,vr=>ye(vr)?vr[re]!==void 0?vr[re]===Ye.name?yr:null:Qn&&Qn.snapshotType(vr)?yr:null:null,vr=>vr[re]?vr:Mu(Rs({},vr),{[re]:Ye.name}),vr=>vr);return yr},Se);return Oi.set(B,He),He}}class ca extends ni{constructor(B,K){super(B),C(this,\"modelClass\"),C(this,\"_props\",qt(()=>{const Se=Mr(this.modelClass),He={};return Object.keys(Se).forEach(Ye=>{const Et=Se[Ye],bn=Et._typeChecker;let Qn;bn&&(Qn=si(bn));let yr=!1,vr;Et._defaultFn!==jr?(vr=Et._defaultFn,yr=!0):Et._defaultValue!==jr&&(vr=Et._defaultValue,yr=!0),He[Ye]={type:bn,typeInfo:Qn,hasDefault:yr,default:vr}}),He})),this.modelClass=K}get props(){return this._props()}get modelType(){return Mn.get(this.modelClass).name}}function zi(){lr(T=>ru(T)?Ki(T):void 0)}const br=[];function Re(T){Ze(T,\"literal\");let B;switch(T){case void 0:B=\"undefined\";break;case null:B=\"null\";break;default:B=JSON.stringify(T);break}const K=He=>new je(He,T),Se=new Mo(ar.Primitive,(He,Ye,Et)=>He===T?null:new $e(Ye,B,He,Et),()=>B,K,He=>He===T?Se:null,hn,hn);return Se}class je extends ni{constructor(B,K){super(B),C(this,\"literal\"),this.literal=K}}const nt=Re(void 0);br.push(T=>T===void 0?nt:void 0);const rt=Re(null);br.push(T=>T===null?rt:void 0);const Xt=new Mo(ar.Primitive,(T,B,K)=>typeof T==\"boolean\"?null:new $e(B,\"boolean\",T,K),()=>\"boolean\",T=>new fn(T),T=>typeof T==\"boolean\"?Xt:null,hn,hn);br.push(T=>T===Boolean?Xt:void 0);class fn extends ni{}const Cn=new Mo(ar.Primitive,(T,B,K)=>typeof T==\"number\"?null:new $e(B,\"number\",T,K),()=>\"number\",T=>new Yn(T),T=>typeof T==\"number\"?Cn:null,hn,hn);br.push(T=>T===Number?Cn:void 0);class Yn extends ni{}const Ae=new Mo(ar.Primitive,(T,B,K)=>typeof T==\"string\"?null:new $e(B,\"string\",T,K),()=>\"string\",T=>new Ke(T),T=>typeof T==\"string\"?Ae:null,hn,hn);br.push(T=>T===String?Ae:void 0);class Ke extends ni{}function Mt(){br.forEach(T=>{lr(T)})}let Ut=!1;function kn(){Ut||(Ut=!0,zi(),Mt())}const Zn=[];function lr(T){Zn.push(T)}function wr(T){kn();for(const B of Zn){const K=B(T);if(K)return K}}function Dr(T){let B=T;for(;;){if(B instanceof Mo)return B;if(pi(B))B=B();else{const K=wr(T);if(K)return Dr(K);throw xe(\"type checker could not be resolved\")}}}function go(T){if(T instanceof Mo||pi(T))return T;{const B=wr(T);return B||void 0}}function Ir(T){const B=go(T);if(B)return B;throw xe(\"standard type could not be resolved\")}const Jr=new WeakMap,_o=new WeakMap;function No(T){return Jr.get(T)}function ii(T,B){if(!B||!T)return;const K=No(B.parent);if(K)return{parentSnapshot:K,parentPath:B}}const Lo=(0,r.action)(\"unsetInternalSnapshot\",T=>{const B=No(T);B&&(Jr.delete(T),B.atom.reportChanged())}),ai=(0,r.action)(\"setNewInternalSnapshot\",(T,B,K,Se=!1)=>{const He={untransformed:B,transformFn:K,transformed:K?K(B):B,atom:(0,r.createAtom)(\"snapshot\")};_o.set(He.untransformed,Se),He.transformed!==void 0&&_o.set(He.transformed,Se),Jr.set(T,He),He.atom.reportChanged()}),Si=(0,r.action)(\"updateInternalSnapshot\",(T,B)=>{const K=No(T);let Se=K.untransformed;_o.get(Se)?Array.isArray(Se)?Se=Se.slice():Se=Object.assign({},Se):Co(Se),B(Se),K.untransformed=Se,K.transformed=K.transformFn?K.transformFn(Se):Se,_o.set(K.untransformed,!1),K.transformed!==void 0&&_o.set(K.transformed,!1),K.atom.reportChanged();const Ye=ii(K,Xs(T));if(Ye){const{parentSnapshot:Et,parentPath:bn}=Ye;if(Et){const Qn=bn.path;Si(bn.parent,yr=>{yr[Qn]=K.transformed})}}});function Ui(T){T.atom.reportObserved()}function ln(T){if(Oe(T))return T;const B=_o.get(T);if(B===void 0||B===!0)return T;if(Array.isArray(T))for(let K=0;K<T.length;K++)ln(T[K]);else{const K=Object.keys(T);for(let Se=0;Se<K.length;Se++)ln(T[K[Se]])}return _o.set(T,!0),T}function mn(T,B){let K=hn,Se;if(arguments.length>=2?(K=Dr(T).toSnapshotProcessor,Se=B):Se=T,Oe(Se))return K(Se);Wt(Se,\"nodeOrPrimitive\");const He=No(Se);if(!He)throw xe(\"getSnapshot is not supported for this kind of object\");return ln(He.transformed),Ui(He),K(He.transformed)}function fr(T,B){const K=Dr(T);return K.unchecked?null:K.check(B,[],B)}let ft=\"useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict\",ct=(T=21)=>{let B=\"\",K=T;for(;K--;)B+=ft[Math.random()*64|0];return B};var tn;(function(T){T.DevModeOnly=\"devModeOnly\",T.AlwaysOn=\"alwaysOn\",T.AlwaysOff=\"alwaysOff\"})(tn||(tn={}));let An=0;const Rt=ct();function un(){const T=An.toString(36)+\"-\"+Rt;return An++,T}let Dn={modelAutoTypeChecking:tn.DevModeOnly,modelIdGenerator:un,allowUndefinedArrayElements:!1,showDuplicateModelNameWarnings:!0};function dr(T){Dn=Object.freeze(Rs(Rs({},Dn),T))}function Ar(){return Dn}function Gr(){switch(Ar().modelAutoTypeChecking){case tn.DevModeOnly:return ve;case tn.AlwaysOff:return!1;case tn.AlwaysOn:return!0;default:throw xe(`invalid 'modelAutoTypeChecking' config value - ${Dn.modelAutoTypeChecking}`)}}const Pr=Symbol(\"modelInitializers\");function Xr(T,B){let K=T[Pr];K||(K=[],T[Pr]=K),K.push(B)}function oo(T){return T[Pr]}function io(T,B){const K=oo(T);if(K){const Se=K.length;for(let He=0;He<Se;He++)K[He](B)}}function to(){return!W()||!!L()}function To(){if(!to())throw xe(\"data changes must be performed inside model actions\")}let jn=!0;function W(){return jn}function P(T){jn=T}const k=[];function z(){return!W()||!!L()}function Q(T){z()?k.push(T):T()}let F=!1;function V(){if(!(z()||F)){F=!0;try{for(;k.length>0;)k.shift()()}finally{F=!1}}}var U;(function(T){T.OnInit=\"$$onInit\",T.OnLazyInit=\"$$onLazyInit\",T.OnAttachedToRootStore=\"$$onAttachedToRootStore\",T.OnAttachedToRootStoreDisposer=\"$$onAttachedToRootStoreDisposer\"})(U||(U={}));const ge=new Set(Object.values(U));function ke(T){return ge.has(T)}const St=new WeakMap;function Je(T){let B=St.get(T);return B||(B={shallow:new Set,shallowAtom:(0,r.createAtom)(\"shallowChildrenAtom\"),deep:new Set,deepDirty:!0,deepAtom:(0,r.createAtom)(\"deepChildrenAtom\"),extensionsData:ir()},St.set(T,B)),B}function Ot(T){const B=Je(T);return B.shallowAtom.reportObserved(),B.shallow}function It(T){const B=Je(T);return B.deepDirty&&Vt(T),B.deepAtom.reportObserved(),B}function jt(T,B){B.deep.add(T),Vn.forEach((K,Se)=>{K.addNode(T,B.extensionsData.get(Se))})}const Vt=(0,r.action)(T=>{const B=Je(T);if(!B.deepDirty)return B;const K={deep:new Set,extensionsData:ir()},Se=B.shallow.values();let He=Se.next();for(;!He.done;){jt(He.value,K);const Et=Vt(He.value).deep.values();let bn=Et.next();for(;!bn.done;)jt(bn.value,K),bn=Et.next();He=Se.next()}return Object.assign(B,K),B.deepDirty=!1,B.deepAtom.reportChanged(),B}),Pn=(0,r.action)((T,B)=>{const K=Je(T);K.shallow.add(B),K.shallowAtom.reportChanged(),vn(T)}),Jn=(0,r.action)((T,B)=>{const K=Je(T);K.shallow.delete(B),K.shallowAtom.reportChanged(),vn(T)});function vn(T){const B=Je(T);B.deepDirty||(B.deepDirty=!0,B.deepAtom.reportChanged());const K=Ku(T);K&&vn(K)}const Vn=new Map;function zt(T){const B={};return Vn.set(B,T),K=>K.extensionsData.get(B)}function ir(){const T=new WeakMap;return Vn.forEach((B,K)=>{T.set(K,B.initData())}),T}var nr;(function(T){T.ParentFirst=\"parentFirst\",T.ChildrenFirst=\"childrenFirst\"})(nr||(nr={}));function ur(T,B,K){return Wt(T,\"root\"),K===nr.ParentFirst?sr(T,B):Ln(T,B)}function sr(T,B){const K=[T];for(;K.length>0;){const Se=K.pop(),He=B(Se);if(He!==void 0)return He;const Ye=Ot(Se);K.length+=Ye.size;let Et=K.length-1;const bn=Ye.values();let Qn=bn.next();for(;!Qn.done;)K[Et--]=Qn.value,Qn=bn.next()}}function Ln(T,B){const K=Ot(T).values();let Se=K.next();for(;!Se.done;){const Ye=Ln(Se.value,B);if(Ye!==void 0)return Ye;Se=K.next()}const He=B(T);if(He!==void 0)return He}function Bt(T,B,K){let Se=T.get(K);return Se||(Se=(0,r.computed)(()=>_n(K,B,He=>Bt(T,B,He))),T.set(K,Se)),Se.get()}function En(T){const B=new WeakMap;return{walk:K=>Bt(B,T,K)}}function _n(T,B,K){let Se;const He=B(T),Ye=Ot(T),Et=Ye.values();let bn=Et.next();if(He===void 0&&Ye.size===1)return K(bn.value);for(;!bn.done;){const Qn=K(bn.value);if(Qn){Se||(Se=new Map);const yr=Qn.keys();let vr=yr.next();for(;!vr.done;){const no=vr.value,Wo=Qn.get(no);Se.set(no,Wo),vr=yr.next()}}bn=Et.next()}return He!==void 0&&(Se||(Se=new Map),Se.set(He,T)),Se}const cr=new WeakMap,ao=new WeakSet,kr=(0,r.action)(\"attachToRootStore\",(T,B)=>{const K=[];ur(B,He=>{ao.has(He)||(ao.add(He),He instanceof ja&&He.onAttachedToRootStore&&(Tu(He,\"onAttachedToRootStore\",U.OnAttachedToRootStore),K.push(He)))},nr.ParentFirst);const Se=K.length;for(let He=0;He<Se;He++){const Ye=K[He],Et=Ye.onAttachedToRootStore(T);Et&&cr.set(Ye,Et)}}),jo=(0,r.action)(\"detachFromRootStore\",T=>{const B=[];ur(T,Se=>{if(!ao.delete(Se))return;const He=cr.get(Se);if(He){const Ye=is({nameOrNameFn:U.OnAttachedToRootStoreDisposer,fn:He,actionType:M.Sync}).bind(Se);cr.delete(Se),B.push(Ye)}},nr.ChildrenFirst);const K=B.length;for(let Se=0;Se<K;Se++)B[Se]()}),ui=new WeakMap,Vr=T=>hr(ui,T,()=>({atom:(0,r.createAtom)(\"rootStore\"),is:!1})),ho=(0,r.action)(\"registerRootStore\",T=>{Wt(T,\"node\");const B=Vr(T);if(B.is)throw xe(\"object already registered as root store\");if(!hl(T))throw xe(\"a root store must not have a parent\");return B.is=!0,kr(T,T),B.atom.reportChanged(),T}),vo=(0,r.action)(\"unregisterRootStore\",T=>{if(!uo(T))throw xe(\"not a root store\");const B=Vr(T);B.is=!1,jo(T),B.atom.reportChanged()});function uo(T){return Wt(T,\"node\"),Go(T)}function Go(T){const B=Vr(T);return B.atom.reportObserved(),B.is}function Pi(T){return Wt(T,\"node\"),la(T)}function la(T){const B=Du(T);return Go(B)?B:void 0}const Vi=[];class ha{constructor(){C(this,\"patches\",Vi),C(this,\"invPatches\",Vi)}reset(){this.patches=Vi,this.invPatches=Vi}record(B,K){this.patches=B,this.invPatches=K}emit(B){Yi(B,this.patches,this.invPatches,!0),this.reset()}}const xa=new WeakMap,qi=[];function Jo(T,B){Wt(T,\"subtreeRoot\"),we(B,\"listener\"),(0,r.isAction)(B)||(B=(0,r.action)(B.name||\"onPatchesListener\",B));let K=xa.get(T);return K||(K=[],xa.set(T,K)),K.push(B),()=>{oe(K,B)}}function Ji(T){return we(T,\"listener\"),(0,r.isAction)(T)||(T=(0,r.action)(T.name||\"onGlobalPatchesListener\",T)),qi.push(T),()=>{oe(qi,T)}}function Yi(T,B,K,Se){if(B.length<=0&&K.length<=0)return;if(Se)for(let Et=0;Et<qi.length;Et++){const bn=qi[Et];bn(T,B,K)}const He=xa.get(T);if(He)for(let Et=0;Et<He.length;Et++){const bn=He[Et];bn(B,K)}const Ye=Xs(T);if(Ye){const Et=Ye.path,bn=B.map(yr=>Ii(yr,Et)),Qn=K.map(yr=>Ii(yr,Et));Yi(Ye.parent,bn,Qn,!1)}}function Ii(T,B){return Mu(Rs({},T),{path:[B,...T.path]})}function pa(T){if(Ba(T))return T.constructor[Rn];if(Va(T))return T[Rn];throw xe(\"modelClassOrInstance must be a model class or instance\")}const na=new WeakMap;function $i(T){if(!Va(T)&&typeof T==\"function\"){const B=T;return ti(()=>$i(B()),Se=>new La(Se,B()))}else{const B=T,K=na.get(B);if(K)return K;const Se=Ye=>new La(Ye,B),He=ti(()=>{const Ye=Mn.get(B),Et=`DataModelData(${Ye.name})`,bn=pa(B).dataType;if(!bn)throw xe(`type checking cannot be performed over data model data of type '${Ye.name}' since that model type has no data type declared, consider adding a data type or using types.unchecked() instead`);const Qn=Dr(bn),yr=new Mo(ar.Object,(vr,no,Wo)=>Qn.check(vr,no,Wo),()=>Et,Se,vr=>Qn.snapshotType(vr)?yr:null,vr=>Qn.fromSnapshotProcessor(vr),vr=>Qn.toSnapshotProcessor(vr));return yr},Se);return na.set(B,He),He}}class La extends ni{constructor(B,K){super(B),C(this,\"modelClass\"),C(this,\"_props\",qt(()=>{const Se=Mr(this.modelClass),He={};return Object.keys(Se).forEach(Ye=>{const Et=Se[Ye],bn=Et._typeChecker;let Qn;bn&&(Qn=si(bn));let yr=!1,vr;Et._defaultFn!==jr?(vr=Et._defaultFn,yr=!0):Et._defaultValue!==jr&&(vr=Et._defaultValue,yr=!0),He[Ye]={type:bn,typeInfo:Qn,hasDefault:yr,default:vr}}),He})),this.modelClass=K}get props(){return this._props()}get modelType(){return Mn.get(this.modelClass).name}}const ss=(0,r.action)(\"newModel\",(T,B,K)=>{const{modelClass:Se}=K,He=Se;ve&&Ls(He,\"modelClass\");const Ye=T;if(!Mn.get(He))throw xe(`no model info for class ${He.name} could be found - did you forget to add the @model decorator?`);if(Ye.$=B,ve&&De(Ye,\"$\",!0),io(He,Ye),Gr()&&pa(He).dataType){const bn=Ye.typeCheck();bn&&bn.throw()}return Ye}),Oa=new WeakMap;class Ma{constructor(B){if(C(this,w),C(this,\"$\"),!ye(B))throw xe(\"data models can only work over data objects\");const{modelClass:K}=arguments[1],Se=K;let He;if(gt(B))He=B;else{if(!Mn.get(Se))throw xe(`no model info for class ${Se.name} could be found - did you forget to add the @model decorator?`);const yr=Mr(Se),vr=Object.assign({},B),no=Object.keys(yr);for(let Wo=0;Wo<no.length;Wo++){const $o=no[Wo],Lr=yr[$o];let co=vr[$o],Do=!1;Lr._transform&&(Do=!0,co=Lr._transform.untransform(co,this,$o)),co==null&&(Lr._defaultFn!==jr?(Do=!0,co=Lr._defaultFn()):Lr._defaultValue!==jr&&(Do=!0,co=Lr._defaultValue)),Do&&(vr[$o]=co)}He=Ia(vr)}const Ye=hr(Oa,Se,()=>new WeakMap),Et=Ye.get(He);if(Et)return Et;Ye.set(He,this),Object.setPrototypeOf(this,Se.prototype);const bn=this;delete bn[kt],ss(this,He,{modelClass:Se})}typeCheck(){const B=$i(this.constructor);return fr(B,this.$)}toString(B){const K=Rs({withData:!0},B),Se=Mn.get(this.constructor),He=`${this.constructor.name}#${Se.name}`;return K.withData?`[${He} ${JSON.stringify(mn(this))}]`:`[${He}]`}}w=kt;const Ka=new Set([\"onLazyInit\",\"$\",\"typeCheck\"]);function Ba(T){return T instanceof Ma}function Ua(T,B,K=\"must be a data model instance\"){if(!Ba(T))throw xe(`${B} ${K}`)}function Va(T){return!(typeof T!=\"function\"||T!==Ma&&!(T.prototype instanceof Ma))}function Ls(T,B){if(typeof T!=\"function\")throw xe(`${B} must be a class`);if(T!==Ma&&!(T.prototype instanceof Ma))throw xe(`${B} must extend DataModel`)}var Qo;(function(T){T.DevModeOnly=\"devModeOnly\",T.On=\"on\",T.Off=\"off\"})(Qo||(Qo={}));const ws=\"$frozen\";class Za{constructor(B,K=Qo.DevModeOnly){C(this,\"data\");const Se=K===Qo.On||ve&&K===Qo.DevModeOnly;Se&&Eo(B),this.data=B,Se&&Object.freeze(this.data),ga(this,void 0)}}function rr(T,B=Qo.DevModeOnly){return new Za(T,B)}function Eo(T){if(!Oe(T)){if(Array.isArray(T)){const B=T.length;for(let K=0;K<B;K++){const Se=T[K];if(Se===void 0&&!Ar().allowUndefinedArrayElements)throw xe(\"undefined is not supported inside arrays since it is not serializable in JSON, consider using null instead\");Eo(Se)}Object.freeze(T);return}if(ce(T)){const B=Object.keys(T),K=B.length;for(let Se=0;Se<K;Se++){const He=B[Se],Ye=T[He];Eo(He),Eo(Ye)}Object.freeze(T);return}throw xe(`frozen data must be plainly serializable to JSON, but ${T} is not`)}}function Br(T){return ce(T)&&ws in T}var Ao;(function(T){T[T.Model=0]=\"Model\",T[T.Array=1]=\"Array\",T[T.PlainObject=2]=\"PlainObject\",T[T.Frozen=3]=\"Frozen\"})(Ao||(Ao={}));function Di(T,B){return bt.set(T,void 0),Tr({value:T,parentPath:B,indexChangeAllowed:!1,isDataObject:!1,cloneIfApplicable:!1}),ai(T,{[ws]:!0,data:T.data},void 0,!0),T}function Aa(){Sa(Ao.Frozen,(T,B)=>{if(T instanceof Za)return Di(T,B)})}function Na(T,B,K=0){const Se=Fa(T,B,K);return Se?Se.parent:void 0}function Fa(T,B,K=0){Wt(T,\"child\");const Se=[];let He=T,Ye=0,Et;for(;Et=Xs(He);){if(Se.unshift(Et.path),He=Et.parent,B(He))return{parent:He,path:Se};if(Ye++,K>0&&Ye===K)break}}function Bs(T,B){return Wt(T,\"node\"),!B||!B.deep?Ot(T):It(T).deep}function Ms(T,B,K){const Se=Bs(T,K),He=new Set,Ye=Se.values();let Et=Ye.next();for(;!Et.done;)B(Et.value)&&He.add(Et.value),Et=Ye.next();return He}function Qa(T,B,K){we(T,\"target\"),we(B,\"fn\");const Se=Rs({deep:!1,runForCurrentChildren:!0},K),He=new WeakMap,Ye=no=>{const Wo=He.get(no);Wo&&(He.delete(no),Wo())},Et=(no,Wo)=>{Wo&&He.set(no,Wo)},bn={deep:Se.deep},Qn=()=>{let no=T();Wt(no,\"target()\");const Wo=Bs(no,bn),$o=new Set,Lr=Wo.values();let co=Lr.next();for(;!co.done;)$o.add(co.value),co=Lr.next();return $o},yr=Se.runForCurrentChildren?new Set:Qn(),vr=reaction(()=>Qn(),no=>{const Wo=[],$o=yr.values();let Lr=$o.next();for(;!Lr.done;){const yi=Lr.value;no.has(yi)||(yr.delete(yi),Wo.push(yi)),Lr=$o.next()}if(Wo.length>0)for(let yi=Wo.length-1;yi>=0;yi--)Ye(Wo[yi]);const co=no.values();let Do=co.next();for(;!Do.done;){const yi=Do.value;yr.has(yi)||(yr.add(yi),Et(yi,B(yi))),Do=co.next()}},{fireImmediately:!0});return no=>{if(vr(),no){const Wo=yr.values();let $o=Wo.next();for(;!$o.done;){const Lr=$o.value;Ye(Lr),$o=Wo.next()}}yr.clear()}}function us(T,B){return Wt(T,\"child\"),Wt(B,\"parent\"),It(B).deep.has(T)}function Fs(T,B){return us(B,T)}let $a=!0;function Hs(T){let B=$a;$a=!1;try{T()}finally{$a=B}}function ys(){return $a}var sa;(function(T){T[T.Array=0]=\"Array\",T[T.Frozen=1]=\"Frozen\",T[T.Model=2]=\"Model\",T[T.PlainObject=3]=\"PlainObject\"})(sa||(sa={}));function Xa(T,B,K){if(!ae(T))return le(B);const Se=mn(T);return Hs(()=>{T.length>B.length&&T.splice(B.length,T.length-B.length);for(let He=0;He<T.length;He++){const Ye=T[He],Et=_t(Ye,B[He],K,T);Ht(Et,Ye,K),(0,r.set)(T,He,Et)}for(let He=T.length;He<B.length;He++)T.push(_t(void 0,B[He],K,T))}),Fr(T,void 0,Se),T}function os(){ut(sa.Array,(T,B,K)=>{if(ae(B))return Xa(T,B,K)})}function As(T,B){return T instanceof Za&&T.data===B.data?T:rr(B.data)}function oa(){ut(sa.Frozen,(T,B)=>{if(Br(B))return As(T,B)})}var di=function T(B,K){if(B===K)return!0;if(B&&K&&typeof B==\"object\"&&typeof K==\"object\"){if(B.constructor!==K.constructor)return!1;var Se,He,Ye;if(Array.isArray(B)){if(Se=B.length,Se!=K.length)return!1;for(He=Se;He--!==0;)if(!T(B[He],K[He]))return!1;return!0}if(B instanceof Map&&K instanceof Map){if(B.size!==K.size)return!1;for(He of B.entries())if(!K.has(He[0]))return!1;for(He of B.entries())if(!T(He[1],K.get(He[0])))return!1;return!0}if(B instanceof Set&&K instanceof Set){if(B.size!==K.size)return!1;for(He of B.entries())if(!K.has(He[0]))return!1;return!0}if(ArrayBuffer.isView(B)&&ArrayBuffer.isView(K)){if(Se=B.length,Se!=K.length)return!1;for(He=Se;He--!==0;)if(B[He]!==K[He])return!1;return!0}if(B.constructor===RegExp)return B.source===K.source&&B.flags===K.flags;if(B.valueOf!==Object.prototype.valueOf)return B.valueOf()===K.valueOf();if(B.toString!==Object.prototype.toString)return B.toString()===K.toString();if(Ye=Object.keys(B),Se=Ye.length,Se!==Object.keys(K).length)return!1;for(He=Se;He--!==0;)if(!Object.prototype.hasOwnProperty.call(K,Ye[He]))return!1;for(He=Se;He--!==0;){var Et=Ye[He];if(!T(B[Et],K[Et]))return!1}return!0}return B!==B&&K!==K};function ia(T,B){return T+\" \"+B}class _i{constructor(B){C(this,\"pool\");var K;B=(K=Ur.get(B))!=null?K:B,this.pool=gi(It(B))}findModelByTypeAndId(B,K){return K?this.pool.get(ia(B,K)):void 0}findModelForSnapshot(B){if(!Zs(B))return;const K=B[re],Se=Kn(K),He=cn(Se.class);return He?this.findModelByTypeAndId(B[re],B[He]):void 0}}const gi=zt({initData(){return new Map},addNode(T,B){if(Ya(T)){const K=T[me];K&&B.set(ia(T[re],K),T)}}});function fa(T,B){Wt(T,\"node\"),X(B,\"snapshot\"),xs().call(T,B)}function Pa(T){const B=this,K=()=>{const Se=new _i(B),He=_t(B,T,Se,void 0);if(ve&&He!==B)throw xe(\"assertion failed: reconciled object has to be the same\")};if(ae(T)){if(!ae(B))throw xe(\"if the snapshot is an array the target must be an array too\");return K()}if(Br(T))throw xe(\"applySnapshot cannot be used over frozen objects\");if(ce(T)&&T[re]===void 0&&Ya(B)){const Se=Mn.get(B.constructor);T=Mu(Rs({},T),{[re]:Se.name})}if(Zs(T)){const Se=T[re],He=Kn(Se);if(!He)throw xe(`model with name \"${Se}\" not found in the registry`);if(!Ya(B))throw xe(\"the target for a model snapshot must be a model instance\");if(B[re]!==Se)throw xe(`snapshot model type '${Se}' does not match target model type '${B[re]}'`);const Ye=cn(He.class);if(Ye){const Et=T[Ye];if(B[me]!==Et)throw xe(`snapshot model id '${Et}' does not match target model id '${B[me]}'`)}return K()}if(ce(T)){if(!ce(B)&&!(0,r.isObservableObject)(B))throw xe(\"if the snapshot is an object the target must be an object too\");return K()}throw he(T)?xe(\"a snapshot must not contain maps\"):ie(T)?xe(\"a snapshot must not contain sets\"):xe(`unsupported snapshot - ${T}`)}const xs=qt(()=>is({nameOrNameFn:s.ApplySnapshot,fn:Pa,actionType:M.Sync}));function Li(T,B){const K=typeof T==\"function\"?T:()=>T,Se=K();Wt(Se,\"node\");let He=mn(Se);return reaction(()=>mn(K()),Ye=>{const Et=He;He=Ye,B(Ye,Et)})}function vs(T,B){return T===B?!0:(gt(T)?T=mn(T):(0,r.isObservable)(T)&&(T=(0,r.toJS)(T,Ca)),gt(B)?B=mn(B):(0,r.isObservable)(B)&&(B=(0,r.toJS)(B,Ca)),di(T,B))}const Ca=In()>=6?void 0:{exportMapsAsObjects:!1,recurseEverything:!1};function ra(T,B,K,Se){const He=B[re],Ye=Kn(He);if(!Ye)throw xe(`model with name \"${He}\" not found in the registry`);const Et=K.findModelForSnapshot(B);if(Et&&(T=Et),!Ya(T)||T[re]!==He)return le(B);const bn=Ye.class,Qn=Mr(bn),yr=cn(bn);if(yr){const Wo=B[yr];if(T[me]!==Wo)return le(B)}else if(ae(Se)&&!vs(T,B))return le(B);const vr=T,no=mn(vr);return Hs(()=>{const Wo=vr.constructor,$o=Wo.fromSnapshotProcessor?Wo.fromSnapshotProcessor(B):B,Lr=vr.$,co=Object.keys(Lr),Do=co.length;for(let Bo=0;Bo<Do;Bo++){const Uo=co[Bo];if(!(Uo in $o)){const Gi=Qn[Uo],Ni=Gi?aa(Gi):jr;Ni===jr?(0,r.remove)(Lr,Uo):(0,r.set)(Lr,Uo,Ni)}}const yi=Object.keys($o),Fo=yi.length;for(let Bo=0;Bo<Fo;Bo++){const Uo=yi[Bo];if(!Te(Uo)){const Gi=$o[Uo],Ni=Lr[Uo];let Wi=_t(Ni,Gi,K,vr);if(Wi==null){const ba=Qn[Uo],Ss=ba?aa(ba):jr;Ss!==jr&&(Wi=Ss)}Ht(Wi,Ni,K),(0,r.set)(Lr,Uo,Wi)}}}),Fr(vr,void 0,no),vr}function Ja(){ut(sa.Model,(T,B,K,Se)=>{if(Zs(B))return ra(T,B,K,Se)})}function qa(T,B,K){if(!ce(T)&&!(0,r.isObservableObject)(T))return le(B);const Se=T,He=mn(Se);return Hs(()=>{const Ye=Object.keys(Se),Et=Ye.length;for(let yr=0;yr<Et;yr++){const vr=Ye[yr];vr in B||(0,r.remove)(Se,vr)}const bn=Object.keys(B),Qn=bn.length;for(let yr=0;yr<Qn;yr++){const vr=bn[yr],no=B[vr],Wo=Se[vr],$o=_t(Wo,no,K,Se);Ht($o,Wo,K),(0,r.set)(Se,vr,$o)}}),Fr(Se,void 0,He),Se}function Ts(){ut(sa.PlainObject,(T,B,K)=>{if(ce(B))return qa(T,B,K)})}let v=!1;function G(){v||(v=!0,os(),oa(),Ja(),Ts())}const ze=[];function ut(T,B){ze.push({priority:T,reconciler:B}),ze.sort((K,Se)=>K.priority-Se.priority)}function _t(T,B,K,Se){if(Oe(B))return B;if(mn(T)===B)return T;G();const He=ze.length;for(let Ye=0;Ye<He;Ye++){const{reconciler:Et}=ze[Ye],bn=Et(T,B,K,Se);if(bn!==void 0)return bn}throw he(B)?xe(\"a snapshot must not contain maps\"):ie(B)?xe(\"a snapshot must not contain sets\"):xe(`unsupported snapshot - ${B}`)}function Ht(T,B,K){if(T!==B&&Ya(T)&&K.findModelByTypeAndId(T[re],T[me])){const Se=yu(T);Se&&(0,r.set)(Se.parent,Se.path,null)}}function $t(T,B,K=!1){Wt(T,\"node\"),!(B.length<=0)&&On().call(T,B,K)}function wn(T,B=!1){const K=this,Se=new _i(K);if(B){let He=T.length;for(;He--;){const Ye=T[He];if(!ae(Ye))$n(K,Ye,Se);else{let Et=Ye.length;for(;Et--;)$n(K,Ye[Et],Se)}}}else{const He=T.length;for(let Ye=0;Ye<He;Ye++){const Et=T[Ye];if(!ae(Et))$n(K,Et,Se);else{const bn=Et.length;for(let Qn=0;Qn<bn;Qn++)$n(K,Et[Qn],Se)}}}}const On=qt(()=>is({nameOrNameFn:s.ApplyPatches,fn:wn,actionType:M.Sync}));function $n(T,B,K){const{target:Se,prop:He}=gr(T,B.path);if(ae(Se))switch(B.op){case\"add\":{const Ye=+He,Et=_t(void 0,B.value,K,Se);Se.splice(Ye,0,Et);break}case\"remove\":{const Ye=+He;Se.splice(Ye,1);break}case\"replace\":{if(He===\"length\")Se.length=B.value;else{const Ye=+He,Et=_t(Se[Ye],B.value,K,Se);(0,r.set)(Se,Ye,Et)}break}default:throw xe(`unsupported patch operation: ${B.op}`)}else switch(B.op){case\"add\":{const Ye=_t(void 0,B.value,K,Se);(0,r.set)(Se,He,Ye);break}case\"remove\":{(0,r.remove)(Se,He);break}case\"replace\":{const Ye=_t(Se[He],B.value,K,Se);(0,r.set)(Se,He,Ye);break}default:throw xe(`unsupported patch operation: ${B.op}`)}}function gr(T,B){if(ve&&!ae(B))throw xe(`invalid path: ${B}`);let K=Gt(T);if(B.length===0)return{target:K};for(let Se=0;Se<=B.length-2;Se++)K=Gt(K[B[Se]]);return{target:K,prop:B[B.length-1]}}function Fr(T,B,K){if(ys()&&(Ro(T),Gr())){const Se=Qr(T);if(Se){const He=Se.typeCheck();He&&(Xn(()=>{B?wn.call(T,B.invPatches,!0):K&&Pa.call(T,K)}),He.throw())}}}function Qr(T){const B=gn(T);return T!==B&&(T=B,Ya(T)&&Ue(T).dataType)?T:Na(T,K=>Ya(K)&&!!Ue(K).dataType)}function qr(T,B,K,Se,He){const Ye=T,Et=(0,r.isObservableObject)(Ye)?Ye:r.observable.object({},void 0,mo);let bn,Qn;const yr=()=>{bn(),Qn()};bt.set(Et,yr),Tr({value:Et,parentPath:B,indexChangeAllowed:!1,isDataObject:He,cloneIfApplicable:!1});let vr={};const no=Object.keys(Ye),Wo=no.length;for(let Lr=0;Lr<Wo;Lr++){const co=no[Lr],Do=Ye[co];if(Oe(Do))Se||(0,r.set)(Et,co,Do),vr[co]=Do;else{const yi={parent:Et,path:co};let Fo;Se?(Fo=Do,Tr({value:Fo,parentPath:yi,indexChangeAllowed:!1,isDataObject:!1,cloneIfApplicable:!1})):(Fo=ga(Do,yi),(0,r.set)(Et,co,Fo));const Bo=No(Fo);vr[co]=Bo.transformed}}let $o;if(K){vr[re]=K;const Lr=Kn(K);if(!Lr)throw xe(`model with name \"${K}\" not found in the registry`);const co=Lr.class.toSnapshotProcessor;co&&($o=Do=>co(Do,gn(Et)))}return ai(He?gn(Et):Et,vr,$o),bn=(0,r.intercept)(Et,Yo),Qn=(0,r.observe)(Et,ea),Et}const mo={deep:!1};function Ho(T,B,K){K[T]=B}function fo(T,B){delete B[T]}const ei=new ha;function ea(T){const B=T.object,K=gn(B);let Se=No(K).untransformed;ei.reset();let He;switch(T.type){case\"add\":case\"update\":He=hi(T,Se);break;case\"remove\":He=Xi(T,Se);break}Fr(B,ei),!Dt&&He&&(Si(K,He),ei.emit(K))}function Xi(T,B){const K=T.name,Se=B[K],He=fo.bind(void 0,K),Ye=[K];return ei.record([{op:\"remove\",path:Ye}],[{op:\"add\",path:Ye,value:ln(Se)}]),He}function hi(T,B){const K=T.name,Se=T.newValue,He=B[K];let Ye;Oe(Se)?Ye=Se:Ye=No(Se).transformed;const Et=Ho.bind(void 0,K,Ye),bn=[K];return T.type===\"add\"?ei.record([{op:\"add\",path:bn,value:ln(Ye)}],[{op:\"remove\",path:bn}]):ei.record([{op:\"replace\",path:bn,value:ln(Ye)}],[{op:\"replace\",path:bn,value:ln(He)}]),Et}function Yo(T){if(To(),typeof T.name==\"symbol\")throw xe(\"symbol properties are not supported\");switch(T.type){case\"add\":T.newValue=ga(T.newValue,{parent:T.object,path:\"\"+T.name});break;case\"remove\":{const B=T.object[T.name];ga(B,void 0),Fi(B);break}case\"update\":{const B=T.object[T.name];ga(B,void 0),Fi(B),T.newValue=ga(T.newValue,{parent:T.object,path:\"\"+T.name});break}}return T}function Bi(){Sa(Ao.PlainObject,(T,B)=>{if((0,r.isObservableObject)(T)||ce(T))return qr(T,B,void 0,!1,!1)})}let _a=!1;function wa(){_a||(_a=!0,Yc(),Aa(),Ko(),Bi())}function Ia(T,B){let K,Se,He;if(arguments.length===1?(He=!1,K=T):(Se=T,He=!0,K=B),!ye(K))throw xe(\"only objects can be turned into tree nodes\");if(He&&Gr()){const Ye=fr(Se,K);Ye&&Ye.throw()}return Zt(K,!0)?K:ga(K,void 0)}const tr=[];function Sa(T,B){tr.push({priority:T,tweaker:B}),tr.sort((K,Se)=>K.priority-Se.priority)}function Ta(T,B){if(Oe(T))return T;if(Zt(T,!0))return T=Tr({value:T,parentPath:B,indexChangeAllowed:!1,isDataObject:!1,cloneIfApplicable:!0}),T;if(Ba(T))throw xe(\"data models are not directly supported. you may insert the data in the tree instead ('$' property).\");wa();const K=tr.length;for(let Se=0;Se<K;Se++){const{tweaker:He}=tr[Se],Ye=He(T,B);if(Ye!==void 0)return Ye}throw he(T)?xe(\"maps are not directly supported. consider using 'ObjectMap' / 'asMap' instead.\"):ie(T)?xe(\"sets are not directly supported. consider using 'ArraySet' / 'asSet' instead.\"):xe(`tweak can only work over models, observable objects/arrays, or primitives, but got ${T} instead`)}const ga=(0,r.action)(\"tweak\",Ta);function Fi(T){if(Oe(T))return!0;if(ve&&Ku(T))throw xe(\"assertion failed: object cannot be untweaked while it has a parent\");const B=bt.get(T);if(!B)return!1;const K=Array.from(Ot(T).values());for(let Se=0;Se<K.length;Se++)Tr({value:K[Se],parentPath:void 0,indexChangeAllowed:!1,isDataObject:!1,cloneIfApplicable:!1});return B(),bt.delete(T),Lo(T),!0}function Cs(T,B,K){const Se=T,He=Se.length,Ye=(0,r.isObservableArray)(Se)?Se:r.observable.array(void 0,Kc);Ye!==Se&&(Ye.length=Se.length);let Et,bn;const Qn=()=>{Et(),bn()};bt.set(Ye,Qn),Tr({value:Ye,parentPath:B,indexChangeAllowed:!1,isDataObject:!1,cloneIfApplicable:!1});const yr=[];yr.length=He;for(let vr=0;vr<He;vr++){const no=Se[vr];if(Oe(no))K||(0,r.set)(Ye,vr,no),yr[vr]=no;else{const Wo={parent:Ye,path:vr};let $o;K?($o=no,Tr({value:$o,parentPath:Wo,indexChangeAllowed:!1,isDataObject:!1,cloneIfApplicable:!1})):($o=ga(no,Wo),(0,r.set)(Ye,vr,$o));const Lr=No($o);yr[vr]=Lr.transformed}}return ai(Ye,yr,void 0),Et=(0,r.intercept)(Ye,Tc.bind(void 0,Ye)),bn=(0,r.observe)(Ye,gs),Ye}function yn(T,B,K){K[T]=B}function zs(T,B,K,Se){Se.splice(T,B,...K)}const ds=new ha;function gs(T){const B=T.object;let K=No(B).untransformed;ds.reset();let Se;switch(T.type){case\"splice\":Se=Gs(T,K);break;case\"update\":Se=Ac(T,K);break}Fr(B,ds),!Dt&&Se&&(Si(B,Se),ds.emit(B))}const Wa=\"undefined is not supported inside arrays since it is not serializable in JSON, consider using null instead\";function Ac(T,B){const K=T.index,Se=T.newValue,He=B[K];let Ye;Oe(Se)?Ye=Se:Ye=No(Se).transformed;const Et=yn.bind(void 0,K,Ye),bn=[K];return ds.record([{op:\"replace\",path:bn,value:ln(Ye)}],[{op:\"replace\",path:bn,value:ln(He)}]),Et}function Gs(T,B){const K=T.index,Se=T.addedCount,He=T.removedCount;let Ye=[];Ye.length=Se;for(let vr=0;vr<Se;vr++){const no=T.added[vr];Oe(no)?Ye[vr]=no:Ye[vr]=No(no).transformed}const Et=B.length,bn=zs.bind(void 0,K,He,Ye),Qn=[],yr=[];if(Se===He){const vr=[],no=[];let Wo=0;for(let $o=0;$o<Se;$o++){const Lr=K+$o,co=rc(B,Lr,K,He,Ye),Do=B[Lr];if(co!==Do){const yi=[Lr-Wo];Qn.push({op:\"remove\",path:yi}),yr.push({op:\"remove\",path:yi}),Wo++;const Fo=[Lr];vr.push({op:\"add\",path:Fo,value:ln(co)}),no.push({op:\"add\",path:Fo,value:ln(Do)})}}Qn.push(...vr),yr.push(...no),yr.reverse()}else{const vr=Et-He;if(He>0){const no=K>=vr;no&&Qn.push({op:\"replace\",path:[\"length\"],value:vr});for(let Wo=He-1;Wo>=0;Wo--){const $o=K+Wo,Lr=[$o];no||Qn.push({op:\"remove\",path:Lr}),yr.push({op:\"add\",path:Lr,value:ln(B[$o])})}}if(Se>0){const no=K>=vr;no&&yr.push({op:\"replace\",path:[\"length\"],value:vr});for(let Wo=0;Wo<Se;Wo++){const $o=K+Wo,Lr=[$o];Qn.push({op:\"add\",path:Lr,value:ln(rc(B,$o,K,He,Ye))}),no||yr.push({op:\"remove\",path:Lr})}}}return ds.record(Qn,yr),bn}function Tc(T,B){switch(To(),B.type){case\"splice\":Pc(B);break;case\"update\":pu(B,T);break}return B}function pu(T,B){if(ve&&!Ar().allowUndefinedArrayElements&&T.newValue===void 0)throw xe(Wa);const K=B[T.index];ga(K,void 0),Fi(K),T.newValue=ga(T.newValue,{parent:B,path:T.index})}function Pc(T){if(ve&&!Ar().allowUndefinedArrayElements){const Se=T.added.length;for(let He=0;He<Se;He++)if(T.added[He]===void 0)throw xe(Wa)}for(let Se=0;Se<T.removedCount;Se++){const He=T.object[T.index+Se];ga(He,void 0),Fi(He)}for(let Se=0;Se<T.added.length;Se++)T.added[Se]=ga(T.added[Se],{parent:T.object,path:T.index+Se});const B=T.index+T.removedCount,K=T.index+T.added.length;if(B!==K)for(let Se=B,He=K;Se<T.object.length;Se++,He++)Tr({value:T.object[Se],parentPath:{parent:T.object,path:He},indexChangeAllowed:!0,isDataObject:!1,cloneIfApplicable:!1})}function Yc(){Sa(Ao.Array,(T,B)=>{if(ae(T))return Cs(T,B,!1)})}const Kc={deep:!1};function rc(T,B,K,Se,He){const Ye=B-K;return Ye<0?T[B]:Ye<He.length?He[Ye]:T[B-He.length+Se]}function qc(T,B){const K=r.observable.array([],Qt),Se=T.length;for(let He=0;He<Se;He++)K.push(st(T[He],B));return Cs(K,void 0,!0)}function Ns(){kc(sa.Array,(T,B)=>{if(ae(T))return qc(T,B)})}function Au(){kc(sa.Frozen,T=>{if(Br(T))return rr(T.data)})}function yc(T,B){const K=T[re];if(!K)throw xe(`a model snapshot must contain a type key (${re}), but none was found`);const Se=Kn(K);if(!Se)throw xe(`model with name \"${K}\" not found in the registry`);const He=cn(Se.class);if(He&&T[He]===void 0)throw xe(`a model snapshot of type '${K}' must contain an id key (${He}), but none was found`);return new Se.class(void 0,{snapshotInitialData:{unprocessedSnapshot:T,snapshotToInitialData:B.snapshotToInitialData},generateNewIds:B.options.generateNewIds})}function gu(){kc(sa.Model,(T,B)=>{if(Zs(T))return yc(T,B)})}function bc(T,B){const K=r.observable.object({},void 0,Qt),Se=Object.keys(T),He=Se.length;for(let Ye=0;Ye<He;Ye++){const Et=Se[Ye],bn=T[Et];(0,r.set)(K,Et,st(bn,B))}return qr(K,void 0,void 0,!0,!1)}function Ic(){kc(sa.PlainObject,(T,B)=>{if(ce(T))return bc(T,B)})}let vu=!1;function Yu(){vu||(vu=!0,Ns(),Au(),gu(),Ic())}const oc=[];function kc(T,B){oc.push({priority:T,snapshotter:B}),oc.sort((K,Se)=>K.priority-Se.priority)}function le(T,B,K){let Se,He;if(pi(T)||T instanceof Mo||ru(T)){const Ye=Dr(T);Se=Ye.fromSnapshotProcessor?Ye.fromSnapshotProcessor(B):B,He=K}else Se=T,He=B;return Be(Se,He)}const Be=(0,r.action)(\"fromSnapshot\",(T,B)=>{const Se={options:Rs({generateNewIds:!1,overrideRootModelId:void 0},B)};return Se.snapshotToInitialData=it.bind(void 0,Se),st(T,Se)});function st(T,B){if(Oe(T))return T;Yu();const K=oc.length;for(let Se=0;Se<K;Se++){const{snapshotter:He}=oc[Se],Ye=He(T,B);if(Ye!==void 0)return Ye}throw he(T)?xe(\"a snapshot must not contain maps\"):ie(T)?xe(\"a snapshot must not contain sets\"):xe(`unsupported snapshot - ${T}`)}function it(T,B){const K=r.observable.object({},void 0,Qt),Se=Object.keys(B),He=Se.length;for(let Ye=0;Ye<He;Ye++){const Et=Se[Ye];if(!Te(Et)){const bn=B[Et];(0,r.set)(K,Et,st(bn,T))}}return K}const Qt={deep:!1};function qn(T,B){Wt(T,\"node\");const K=Rs({generateNewIds:!0},B),Se=mn(T);return le(Se,K)}const Tr=(0,r.action)(\"setParent\",({value:T,parentPath:B,indexChangeAllowed:K,isDataObject:Se,cloneIfApplicable:He})=>{if(Oe(T))return T;if(ve){if(K&&He)throw xe(\"assertion failed: 'indexChangeAllowed' and 'cloneIfApplicable' cannot be set at the same time\");if(typeof T==\"function\"||typeof T==\"symbol\")throw xe(\"assertion failed: value cannot be a function or a symbol\");if(!Zt(T,!0))throw xe(\"assertion failed: value is not ready to take a parent\");if(B&&!Zt(B.parent,!0))throw xe(\"assertion failed: parent is not ready to take children\")}let Ye=Xs(T);if(Wr(Ye,B))return T;if(Go(T))throw xe(\"root stores cannot be attached to any parents\");if(Se)return Ur.set(T,B.parent),T;if(B){const bn=gn(B.parent);B.parent!==bn&&(B={parent:bn,path:B.path})}if(He&&(B!=null&&B.parent)&&(Ye!=null&&Ye.parent)&&Ya(T)&&Ue(T).valueType&&(T=qn(T,{generateNewIds:!0}),Ye=Xs(T)),Ye&&B){if(Ye.parent===B.parent&&K)return pr.set(T,B),ko(T),T;throw xe(\"an object cannot be assigned a new parent when it already has one\")}const Et=()=>{Ye!=null&&Ye.parent&&Jn(Ye.parent,T),pr.set(T,B),B!=null&&B.parent&&Pn(B.parent,T),ko(T)};if(T instanceof ja){const bn=Du(T),Qn=Go(bn)?bn:void 0;Et();const yr=Du(T),vr=Go(yr)?yr:void 0;Qn!==vr&&(Qn||vr)&&Q(()=>{Qn&&jo(T),vr&&kr(vr,T)})}else Et();return T});function bo(T,B){return bt.set(T,void 0),Tr({value:T,parentPath:B,indexChangeAllowed:!1,isDataObject:!1,cloneIfApplicable:!0}),T}function Ko(){Sa(Ao.Model,(T,B)=>{if(Ya(T))return bo(T,B)})}const Mi=(0,r.action)(\"newModel\",(T,B,K)=>{const Se=B?\"new\":\"fromSnapshot\",{modelClass:He,snapshotInitialData:Ye,generateNewIds:Et}=K,bn=He;ve&&mu(bn,\"modelClass\");const Qn=T,yr=Mn.get(bn);if(!yr)throw xe(`no model info for class ${bn.name} could be found - did you forget to add the @model decorator?`);const vr=cn(bn),no=Mr(bn),Wo=vr?no[vr]:void 0;let $o;if(Ye){let co=Ye.unprocessedSnapshot;Wo&&vr&&(Et?$o=Wo._defaultFn():$o=co[vr]),bn.fromSnapshotProcessor&&(co=bn.fromSnapshotProcessor(co)),B=Ye.snapshotToInitialData(co)}else Wo&&vr&&(B[vr]?$o=B[vr]:$o=Wo._defaultFn());Qn[re]=yr.name;const Lr=Object.keys(no);for(let co=0;co<Lr.length;co++){const Do=Lr[co];if(Do===vr)continue;const yi=no[Do];let Fo=B[Do],Bo=!1;if(Se===\"new\"&&yi._transform&&(Bo=!0,Fo=yi._transform.untransform(Fo,Qn,Do)),Fo==null){const Uo=aa(yi);Uo!==jr?(Bo=!0,Fo=Uo):Do in B||(Bo=!0)}Bo&&(0,r.set)(B,Do,Fo)}if(vr&&(0,r.set)(B,vr,$o),bo(Qn,void 0),Qn.$=qr(B,{parent:Qn,path:\"$\"},Qn[re],!1,!0),ve&&De(Qn,\"$\",!0),io(bn,Qn),Gr()&&Ue(bn).dataType){const co=Qn.typeCheck();co&&co.throw()}return Qn}),Hi=Symbol(\"modelIdPropertyName\");class ja{constructor(B){C(this,O),C(this,b),C(this,p),C(this,u),C(this,a),C(this,\"$\");let K=B;const{snapshotInitialData:Se,modelClass:He,generateNewIds:Ye}=arguments[1];Object.setPrototypeOf(this,He.prototype);const Et=this;delete Et[kt],delete Et[At],delete Et[Fn],delete Et[Hi],Se?Mi(this,void 0,{modelClass:He,snapshotInitialData:Se,generateNewIds:Ye}):(X(K,\"initialData\"),Mi(this,r.observable.object(K,void 0,{deep:!1}),{modelClass:He,generateNewIds:!0}))}get[(O=kt,b=At,p=Fn,u=Hi,a=re,me)](){const B=cn(this.constructor);return B?this.$[B]:void 0}set[me](B){const K=cn(this.constructor);if(!K)throw xe(\"$modelId cannot be set when there is no idProp set in the model\");this.$[K]=B}getRefId(){return this[me]}typeCheck(){const B=Ki(this.constructor);return fr(B,this)}toString(B){const K=Rs({withData:!0},B),Se=`${this.constructor.name}#${this[re]}`;return K.withData?`[${Se} ${JSON.stringify(mn(this))}]`:`[${Se}]`}}const ms=new Set([re,me,\"onInit\",\"$\",\"getRefId\",\"onAttachedToRootStore\",\"typeCheck\"]);function Ps(T){return T}function fu(T,B){mu(T,\"modelClass\"),X(B,\"initialData\");const K=Mn.get(T);return Mu(Rs({},B),{[re]:K.name})}function qs(T,B){mu(T,\"modelClass\"),X(B,\"initialData\");const K=Mn.get(T);return Mu(Rs({},B),{[re]:K.name})}function Ya(T){return T instanceof ja}function Nu(T,B,K=\"must be a model instance\"){if(!Ya(T))throw xe(`${B} ${K}`)}function ru(T){return!(typeof T!=\"function\"||T!==ja&&!(T.prototype instanceof ja))}function mu(T,B){if(typeof T!=\"function\")throw xe(`${B} must be a class`);if(T!==ja&&!(T.prototype instanceof ja))throw xe(`${B} must extend Model`)}function Zs(T){return ce(T)&&re in T}function cs(T){return Wt(T,\"value\"),Xs(T)}function Xs(T){return Kr(T),pr.get(T)}function yu(T){const B=Ur.get(T);if(B)return{parent:B,path:\"$\"};const K=Xs(T);return K&&Ya(K.parent)?{parent:K.parent.$,path:K.path}:K}function bu(T){return Wt(T,\"value\"),Ku(T)}function Ku(T){var B;return(B=Xs(T))==null?void 0:B.parent}function Qc(T){var B;return(B=yu(T))==null?void 0:B.parent}function _l(T){return Wt(T,\"value\",!0),Nc(T)}function Nc(T){return Ur.has(T)}function ju(T){return Wt(T,\"value\"),Wu(T)}function Wu(T){let B=T,K=[],Se=[T],He;for(;He=Xs(B);)B=He.parent,K.unshift(He.path),Se.unshift(He.parent);return{root:B,path:K,pathObjects:Se}}function dl(T){return Wt(T,\"value\"),Du(T)}function Du(T){let B=T,K;for(;K=Xs(B);)B=K.parent;return B}function hl(T){return Wt(T,\"value\"),!Ku(T)}const jc={resolved:!1};function js(T,B){let K=T,Se=B.length;for(let He=0;He<Se;He++){if(!ye(K))return jc;const Ye=B[He];if(ae(K)&&+Ye>=K.length)return jc;if(Ya(K)){const Et=Gt(K);if(Ye in Et)K=Et;else if(!(Ye in K))return jc}K=K[Ye]}return{resolved:!0,value:K}}const xu=Symbol(\"skipIdChecking\");function wu(T,B,K){var Se;let He=Gt(T),Ye=B.length;for(let Et=0;Et<Ye;Et++){if(!ye(He))return{resolved:!1};const bn=B[Et];if(ae(He)&&+bn>=He.length)return{resolved:!1};const Qn=He[bn];He=Gt(Qn);const yr=K[Et];if(yr!==xu){const vr=Ya(Qn)&&(Se=Qn[me])!=null?Se:null;if(yr!==vr)return{resolved:!1}}}return{resolved:!0,value:gn(He)}}function Ys(T,B){if(Wt(T,\"fromParent\"),Wt(B,\"toChild\"),T===B)return[];const K=[];let Se=B,He;for(;He=Xs(Se);)if(K.unshift(He.path),Se=He.parent,Se===T)return K}const Uu=new WeakMap,Dc=new WeakMap;function ic(T){let B=Dc.get(T);return B||(B={[Symbol.iterator](){let K=T;function Se(){const bn=K?Uu.get(K):void 0;if(!(!bn||bn.length<=0))return bn[Symbol.iterator]()}function He(){let bn;for(;K&&!bn;)K=Ku(K),bn=Se();return bn}let Ye=Se();return Ye||(Ye=He()),{next(){if(!Ye)return{value:void 0,done:!0};let bn=Ye.next();return bn.done?(Ye=He(),this.next()):bn}}}},Dc.set(T,B)),B}function Rc(T){X(T,\"middleware\");let{middleware:B,filter:K,subtreeRoot:Se}=T;if(Wt(Se,\"middleware.subtreeRoot\"),we(B,\"middleware.middleware\"),K&&typeof K!=\"function\")throw xe(\"middleware.filter must be a function or undefined\");if(Se){const Et=bn=>bn.target===Se||us(bn.target,Se);if(!K)K=Et;else{const bn=K;K=Qn=>Et(Qn)&&bn(Qn)}}const He={middleware:B,filter:K};let Ye=Uu.get(Se);return Ye?Ye.push(He):(Ye=[He],Uu.set(Se,Ye)),()=>{oe(Ye,He)}}function is({nameOrNameFn:T,fn:B,actionType:K,overrideContext:Se,isFlowFinisher:He=!1}){let Ye=!1;const Et=function(){const bn=typeof T==\"function\"?T():T;Ye||(Ye=!0,B=(0,r.action)(bn,B));const Qn=this,yr=L(),vr={actionName:bn,type:K,target:Qn,args:Array.from(arguments),parentContext:yr,data:{},rootContext:void 0};Se&&Se(vr,this),vr.rootContext||(vr.previousAsyncStepContext?vr.rootContext=vr.previousAsyncStepContext.rootContext:vr.parentContext?vr.rootContext=vr.parentContext.rootContext:vr.rootContext=vr),A(vr);let no=B.bind(Qn,...arguments);const Wo=ic(vr.target)[Symbol.iterator]();let $o=Wo.next();for(;!$o.done;){const Lr=$o.value;(Lr.filter?Lr.filter(vr):!0)&&(no=Lr.middleware.bind(void 0,vr,no)),$o=Wo.next()}try{const Lr=no();if(He){const co=Lr,Do=co.value;return co.resolution===\"accept\"?co.accepter(Do):co.rejecter(Do),Do}else return Lr}finally{A(vr.parentContext),V()}};return Et[J]=!0,Et}function Tu(T,B,K){const Se=T[B];if(q(Se))return;const He=is({nameOrNameFn:K,fn:Se,actionType:M.Sync}),Ye=Object.getPrototypeOf(T);Ye[B]===Se?Ye[B]=He:T[B]=He}function Pu(T){Wt(T,\"node\"),Jc().call(T)}const Jc=qt(()=>is({nameOrNameFn:s.Detach,fn:Gl,actionType:M.Sync}));function Gl(){const B=yu(this);if(!B)return;const{parent:K,path:Se}=B;if((0,r.isObservableArray)(K))K.splice(+Se,1);else if((0,r.isObservableObject)(K))(0,r.remove)(K,\"\"+Se);else throw xe(\"parent must be an observable object or an observable array\")}function ac(T,B,K){if(typeof K!=\"string\")throw xe(`${T} cannot be used over symbol properties`);const Se=`${T} must be used over model classes or instances`;if(!B)throw xe(Se);if(!(B instanceof ja||B===ja||B.prototype instanceof ja||B instanceof Ma||B===Ma||B.prototype instanceof Ma))throw xe(Se)}function el(T,B){let K=B,Se;if(Va(T)||Ba(T)){Se=(Et,bn)=>{Et.target=bn.$};let He;K=()=>He;const Ye=Va(T)?T:T.constructor;Fe(Ye,pt,Et=>{const bn=Mn.get(Et);He=`fn::${bn.name}::${B}`,l(He,bn.class,B)})}return{actionName:K,overrideContext:Se}}const sc=Symbol(\"modelFlow\");function tl({nameOrNameFn:T,generator:B,overrideContext:K}){const Se=function(...He){const Ye=typeof T==\"function\"?T():T,Et=this;let bn;const Qn=Lr=>(co,Do)=>{K&&K(co,Do),co.previousAsyncStepContext=bn,co.spawnAsyncStepContext=bn?bn.spawnAsyncStepContext:co,co.asyncStepType=Lr,co.args=He,bn=co};let yr=!1;const vr=is({nameOrNameFn:Ye,fn:()=>(yr=!0,B.apply(Et,He)),actionType:M.Async,overrideContext:Qn(E.Spawn)}).apply(Et);if(!yr)return vr instanceof Promise?vr:Promise.resolve(vr);const no=vr.next.bind(vr),Wo=vr.throw.bind(vr);return new Promise(function(Lr,co){function Do(Bo){let Uo;try{Uo=is({nameOrNameFn:Ye,fn:no,actionType:M.Async,overrideContext:Qn(E.Resume)}).call(Et,Bo)}catch(Gi){is({nameOrNameFn:Ye,fn:Ni=>({value:Ni,resolution:\"reject\",accepter:Lr,rejecter:co}),actionType:M.Async,overrideContext:Qn(E.Throw),isFlowFinisher:!0}).call(Et,Gi);return}Fo(Uo)}function yi(Bo){let Uo;try{Uo=is({nameOrNameFn:Ye,fn:Wo,actionType:M.Async,overrideContext:Qn(E.ResumeError)}).call(Et,Bo)}catch(Gi){is({nameOrNameFn:Ye,fn:Ni=>({value:Ni,resolution:\"reject\",accepter:Lr,rejecter:co}),actionType:M.Async,overrideContext:Qn(E.Throw),isFlowFinisher:!0}).call(Et,Gi);return}Fo(Uo)}function Fo(Bo){Bo&&typeof Bo.then==\"function\"?Bo.then(Fo,co):Bo.done?is({nameOrNameFn:Ye,fn:Uo=>({value:Uo,resolution:\"accept\",accepter:Lr,rejecter:co}),actionType:M.Async,overrideContext:Qn(E.Return),isFlowFinisher:!0}).call(Et,Bo.value):Promise.resolve(Bo.value).then(Do,yi)}Do(void 0)})};return Se[sc]=!0,Se}function nl(T){return typeof T==\"function\"&&sc in T}function Vu(T,B,K){const{actionName:Se,overrideContext:He}=el(T,B);return dt(\"modelFlow\",{target:T,propertyKey:B,baseDescriptor:K},(Ye,Et)=>nl(Et)?Et:(Lc(Ye.target,Ye.propertyKey,Et),tl({nameOrNameFn:Se,generator:Et,overrideContext:He})))}function Lc(T,B,K){if(typeof K!=\"function\")throw xe(\"modelFlow has to be used over functions\");ac(\"modelFlow\",T,B)}function Wl(T){return T}function Ul(T){return rl.call(T)}const uc=function(T,B){let K={label:0,sent:function(){if(Ye[0]&1)throw Ye[1];return Ye[1]},trys:[],ops:[]},Se,He,Ye,Et;return Et={next:bn(0),throw:bn(1),return:bn(2)},typeof Symbol==\"function\"&&(Et[Symbol.iterator]=function(){return this}),Et;function bn(yr){return function(vr){return Qn([yr,vr])}}function Qn(yr){if(Se)throw new TypeError(\"Generator is already executing.\");for(;K;)try{if(Se=1,He&&(Ye=yr[0]&2?He.return:yr[0]?He.throw||((Ye=He.return)&&Ye.call(He),0):He.next)&&!(Ye=Ye.call(He,yr[1])).done)return Ye;switch(He=0,Ye&&(yr=[yr[0]&2,Ye.value]),yr[0]){case 0:case 1:Ye=yr;break;case 4:return K.label++,{value:yr[1],done:!1};case 5:K.label++,He=yr[1],yr=[0];continue;case 7:yr=K.ops.pop(),K.trys.pop();continue;default:if(Ye=K.trys,!(Ye=Ye.length>0&&Ye[Ye.length-1])&&(yr[0]===6||yr[0]===2)){K=0;continue}if(yr[0]===3&&(!Ye||yr[1]>Ye[0]&&yr[1]<Ye[3])){K.label=yr[1];break}if(yr[0]===6&&K.label<Ye[1]){K.label=Ye[1],Ye=yr;break}if(Ye&&K.label<Ye[2]){K.label=Ye[2],K.ops.push(yr);break}Ye[2]&&K.ops.pop(),K.trys.pop();continue}yr=B.call(T,K)}catch(vr){yr=[6,vr],He=0}finally{Se=Ye=0}if(yr[0]&5)throw yr[1];return{value:yr[0]?yr[1]:void 0,done:!0}}};function rl(){let T;return uc(this,function(B){switch(B.label){case 0:return[4,this];case 1:return T=B.sent(),[2,T];default:return}})}const ol=new Map;function ta(T){return ol.get(T)}function pl(T,B,K){if(we(B,T),ol.has(T)&&rn(\"warn\",`an standalone action with name \"${T}\" already exists (if you are using hot-reloading you may safely ignore this warning)`,`duplicateActionName - ${T}`),q(B))throw xe(\"the standalone action must not be previously marked as an action\");if(nl(B))throw xe(\"the standalone action must not be previously marked as a flow action\");const Se=K?tl({nameOrNameFn:T,generator:B}):is({nameOrNameFn:T,fn:B,actionType:M.Sync}),He=(Ye,...Et)=>(xn(Ye,\"target\"),Se.call(Ye,Ye,...Et));return ol.set(T,He),He}function Bc(T,B){Wt(T,\"node\",!0),$u().call(T,B)}function xc(T){(0,r.remove)(this,\"\"+T)}const $u=qt(()=>is({nameOrNameFn:s.ApplyDelete,fn:xc,actionType:M.Sync}));function Fc(T,B,...K){return Wt(T,\"node\"),al().call(T,B,K)}function il(T,B){return this[T](...B)}const al=qt(()=>is({nameOrNameFn:s.ApplyMethodCall,fn:il,actionType:M.Sync}));function zc(T,B,K){Wt(T,\"node\",!0),Ml().call(T,B,K)}function cc(T,B){!Ya(this)&&(0,r.isObservable)(this)?(0,r.set)(this,T,B):this[T]=B}const Ml=qt(()=>is({nameOrNameFn:s.ApplySet,fn:cc,actionType:M.Sync})),Al={[s.ApplySnapshot]:fa,[s.ApplyPatches]:$t,[s.Detach]:Pu,[s.ApplySet]:zc,[s.ApplyDelete]:Bc,[s.ApplyMethodCall]:Fc};function sl(T,B){if(B.serialized)throw xe(\"cannot apply a serialized action call, use one of the 'applySerializedAction' methods instead\");Wt(T,\"subtreeRoot\");const{value:K,resolved:Se}=wu(T,B.targetPath,B.targetPathIds);if(!Se)throw xe(`object at path ${JSON.stringify(B.targetPath)} with ids ${JSON.stringify(B.targetPathIds)} could not be resolved`);if(Wt(K,`resolved ${K}`,!0),x(B.actionName)){const Et=Al[B.actionName];if(!Et)throw xe(`assertion failed: unknown built-in action - ${B.actionName}`);return Et.apply(K,[K,...B.args])}if(ke(B.actionName))throw xe(`calls to hooks (${B.actionName}) cannot be applied`);const He=h(B.actionName);if(He){const Et=new He.modelClass(K);return Et[He.fnName].apply(Et,B.args)}const Ye=ta(B.actionName);return Ye?Ye.apply(K,B.args):K[B.actionName].apply(K,B.args)}function Vl(T,B,K){if(typeof K!=\"function\")throw xe(\"modelAction has to be used over functions\");ac(\"modelAction\",T,B)}function ou(T,B,K){const{actionName:Se,overrideContext:He}=el(T,B);return dt(\"modelAction\",{target:T,propertyKey:B,baseDescriptor:K},(Ye,Et)=>q(Et)?Et:(Vl(Ye.target,Ye.propertyKey,Et),is({nameOrNameFn:Se,fn:Et,actionType:M.Sync,overrideContext:He})))}function Zl(T,B){const K=typeof T==\"string\"?T:void 0,Se=typeof T==\"string\"?B:T,He=()=>{const Ye=W();P(!1);try{return Se()}finally{P(Ye),V()}};return K?action(K,He)():action(He)()}const su=Symbol(\"cannotSerialize\"),$={id:`${Ft}/array`,serialize(T,B){return ae(T)?T.map(B):su},deserialize(T,B){return T.map(B)}},ne={id:`${Ft}/dateAsTimestamp`,serialize(T){return T instanceof Date?+T:su},deserialize(T){return new Date(T)}},Me={id:`${Ft}/mapAsArray`,serialize(T,B){if(!(T instanceof Map)&&!(0,r.isObservableMap)(T))return su;const K=[],Se=T.keys();let He=Se.next();for(;!He.done;){const Ye=He.value,Et=T.get(Ye);K.push([B(Ye),B(Et)]),He=Se.next()}return K},deserialize(T,B){const K=new Map,Se=T.length;for(let He=0;He<Se;He++){const Ye=T[He][0],Et=T[He][1];K.set(B(Ye),B(Et))}return K}};function tt(T){var B;const K=[];for(let Se=0;Se<T.path.length;Se++){const He=T.pathObjects[Se+1],Ye=Ya(He)&&(B=He[me])!=null?B:null;K.push(Ye)}return K}function at(T,B){var K;const Se=[];let He=T;for(let Ye=0;Ye<B.length;Ye++){He=He[B[Ye]];const Et=Ya(He)&&(K=He[me])!=null?K:null;Se.push(Et)}return Se}const Nt={id:`${Ft}/objectPath`,serialize(T,B,K){if(typeof T!=\"object\"||T===null||!Zt(T,!1))return su;if(K){const Se=Wu(T);if(Se.root===K)return{targetPath:Se.path,targetPathIds:tt(Se)}}return su},deserialize(T,B,K){if(K){const Se=wu(K,T.targetPath,T.targetPathIds);if(Se.resolved)return Se.value}throw xe(`object at path ${JSON.stringify(T.targetPath)} with ids ${JSON.stringify(T.targetPathIds)} could not be resolved`)}},Tt={id:`${Ft}/objectSnapshot`,serialize(T){return typeof T!=\"object\"||T===null||!Zt(T,!1)?su:mn(T)},deserialize(T){return le(T)}},Jt={id:`${Ft}/plainObject`,serialize(T,B){return!ce(T)&&!(0,r.isObservableObject)(T)?su:nn(T,B)},deserialize(T,B){return nn(T,B)}};function nn(T,B){const K={},Se=Object.keys(T),He=Se.length;for(let Ye=0;Ye<He;Ye++){const Et=Se[Ye],bn=T[Et];K[Et]=B(bn)}return K}const zn={id:`${Ft}/primitiveAsString`,serialize(T){if(Number.isNaN(T))return\"nan\";switch(T){case 1/0:return\"+inf\";case-1/0:return\"-inf\"}return typeof T==\"bigint\"?T.toString():T===void 0?\"undefined\":su},deserialize(T){switch(T){case\"nan\":return NaN;case\"+inf\":return 1/0;case\"-inf\":return-1/0;case\"undefined\":return;default:return BigInt(T)}}},mr={id:`${Ft}/setAsArray`,serialize(T,B){if(!(T instanceof Set))return su;const K=[],Se=T.keys();let He=Se.next();for(;!He.done;){const Ye=He.value;K.push(B(Ye)),He=Se.next()}return K},deserialize(T,B){const K=new Set,Se=T.length;for(let He=0;He<Se;He++){const Ye=T[He];K.add(B(Ye))}return K}},Er=null,Zr=new Map;function Yr(T){if(Zo(),Er.includes(T))throw xe(\"action call argument serializer already registered\");if(Zr.has(T.id))throw xe(`action call argument serializer with id '${T.id}' already registered`);return Er.unshift(T),Zr.set(T.id,T),()=>{const B=Er.indexOf(T);B>=0&&Er.splice(B,1),Zr.delete(T.id)}}function So(T,B){if(Zo(),Ce(T))return T;const K=T,Se=He=>So(He,B);for(let He=0;He<Er.length;He++){const Ye=Er[He],Et=Ye.serialize(T,Se,B);if(Et!==su)return{$mobxKeystoneSerializer:Ye.id,value:Et}}throw xe(`serializeActionCallArgument could not serialize the given value: ${K}`)}function Oo(T,B){if(T.serialized)throw xe(\"cannot serialize an already serialized action call\");B!==void 0&&Wt(B,\"targetRoot\");const K=Se=>So(Se,B);return Mu(Rs({},T),{serialized:!0,args:T.args.map(K)})}function xo(T,B){if(Zo(),Ce(T))return T;if(!ce(T)||typeof T.$mobxKeystoneSerializer!=\"string\")throw xe(\"invalid serialized action call argument\");const K=T.$mobxKeystoneSerializer,Se=Zr.get(K);if(!Se)throw xe(`a serializer with id '${K}' could not be found`);const He=T,Ye=Et=>xo(Et,B);return Se.deserialize(He.value,Ye,B)}function lo(T,B){if(!T.serialized)throw xe(\"cannot deserialize a non-serialized action call\");B!==void 0&&Wt(B,\"targetRoot\");const K=He=>xo(He,B),Se=Mu(Rs({},T),{serialized:void 0,args:T.args.map(K)});return delete Se.serialized,Se}let Io=!1;function Zo(){Io||(Io=!0,Yr(zn),Yr(Jt),Yr(mr),Yr(Me),Yr(ne),Yr($),Yr(Tt),Yr(Nt))}function xi(T,B){if(!B.serialized)throw xe(\"cannot apply a non-serialized action call, use 'applyAction' instead\");Wt(T,\"subtreeRoot\");const K=lo(B,T),Se=[],He=Jo(T,Ye=>{Ai(T,Se,Ye)});try{return{returnValue:sl(T,K),serializedActionCall:Mu(Rs({},B),{modelIdOverrides:Se})}}finally{He()}}function Ai(T,B,K){const Se=K.length;for(let He=0;He<Se;He++){const Ye=K[He];(Ye.op===\"replace\"||Ye.op===\"add\")&&ci(T,B,Ye.value,Ye.path)}}function ci(T,B,K,Se){if(Se.length>=1&&typeof K==\"string\"){const He=js(T,Se.slice(0,Se.length-1)).value;Ya(He)&&Se[Se.length-1]===cn(He.constructor)&&B.push({op:\"replace\",path:Se.slice(),value:K})}else if(Array.isArray(K)){const He=K.length;for(let Ye=0;Ye<He;Ye++)Se.push(Ye),ci(T,B,K[Ye],Se),Se.pop()}else if(ye(K)&&!K[ws]){const He=Object.keys(K),Ye=He.length;for(let Et=0;Et<Ye;Et++){const bn=He[Et],Qn=K[bn];Se.push(bn),ci(T,B,Qn,Se),Se.pop()}}}function Ri(T,B){if(!B.serialized)throw xe(\"cannot apply a non-serialized action call, use 'applyAction' instead\");Wt(T,\"subtreeRoot\");const K=lo(B,T);let Se;return runInAction(()=>{Se=sl(T,K),$t(T,B.modelIdOverrides)}),Se}var Ci;(function(T){T.Return=\"return\",T.Throw=\"throw\"})(Ci||(Ci={}));function ua(T,B){Wt(T,\"subtreeRoot\");const K=Symbol(\"actionTrackingMiddlewareData\");let Se;(function(Lr){Lr.Idle=\"idle\",Lr.Started=\"started\",Lr.RealResumed=\"realResumed\",Lr.FakeResumed=\"fakeResumed\",Lr.Suspended=\"suspended\",Lr.Finished=\"finished\"})(Se||(Se={}));function He(Lr){return Lr.data[K]}function Ye(Lr,co){let Do=Lr.data[K];Do?Object.assign(Do,co):Lr.data[K]=co}const Et=Lr=>B.filter?B.filter(as(Lr)):!0,bn=!!B.onResume||!!B.onSuspend,Qn=Lr=>{if(Lr.type===M.Sync){const co=Et(Lr);return co&&Ye(Lr,{startAccepted:!0,state:Se.Idle}),co}else switch(Lr.asyncStepType){case E.Spawn:const co=Et(Lr);return co&&Ye(Lr,{startAccepted:!0,state:Se.Idle}),co;case E.Return:case E.Throw:const Do=He(Lr.spawnAsyncStepContext);return Do?Do.startAccepted:!1;case E.Resume:case E.ResumeError:if(bn){const yi=He(Lr.spawnAsyncStepContext);return yi?yi.startAccepted:!1}else return!1;default:return!1}},yr=Lr=>{if(Ye(Lr,{state:Se.Started}),B.onStart)return B.onStart(Lr)||void 0},vr=(Lr,co)=>{const Do=Lr.parentContext;let yi=!1;if(Do){const Fo=He(Do);Fo&&Fo.startAccepted&&Fo.state===Se.Suspended&&(yi=!0,no(Do,!1))}return Ye(Lr,{state:Se.Finished}),B.onFinish&&(co=B.onFinish(Lr,co)||co),yi&&Wo(Do),co},no=(Lr,co)=>{const Do=Lr.parentContext;if(Do){const yi=He(Do);yi&&yi.startAccepted&&yi.state===Se.Suspended&&no(Do,!1)}Ye(Lr,{state:co?Se.RealResumed:Se.FakeResumed}),B.onResume&&B.onResume(Lr)},Wo=Lr=>{Ye(Lr,{state:Se.Suspended}),B.onSuspend&&B.onSuspend(Lr);const co=Lr.parentContext;if(co){const Do=He(co);Do&&Do.startAccepted&&Do.state===Se.FakeResumed&&Wo(co)}};return Rc({middleware:(Lr,co)=>{const Do=as(Lr),yi=co;if(co=()=>{no(Do,!0);try{return yi()}finally{Wo(Do)}},Lr.type===M.Sync){let Fo=yr(Do);if(Fo)no(Do,!0),Wo(Do),Fo=vr(Do,Fo);else try{Fo=vr(Do,{result:Ci.Return,value:co()})}catch(Bo){Fo=vr(Do,{result:Ci.Throw,value:Bo})}return da(Fo)}else switch(Lr.asyncStepType){case E.Spawn:{let Fo=yr(Do);return Fo?(no(Do,!0),Wo(Do),Fo=vr(Do,Fo),da(Fo)):co()}case E.Return:{const Fo=co(),Bo=vr(Do,{result:Ci.Return,value:Fo.value});return Fo.resolution=Bo.result===Ci.Return?\"accept\":\"reject\",Fo.value=Bo.value,Fo}case E.Throw:{const Fo=co(),Bo=vr(Do,{result:Ci.Throw,value:Fo.value});return Fo.resolution=Bo.result===Ci.Return?\"accept\":\"reject\",Fo.value=Bo.value,Fo}case E.Resume:case E.ResumeError:if(bn)return co();throw xe(`assertion error: async step should have been filtered out - ${Lr.asyncStepType}`);default:throw xe(`assertion error: async step should have been filtered out - ${Lr.asyncStepType}`)}},filter:Qn,subtreeRoot:T})}function da(T){if(T.result===Ci.Return)return T.value;throw T.value}const Da=Symbol(\"simpleDataContext\");function as(T){for(;T.previousAsyncStepContext;)T=T.previousAsyncStepContext;let B=T.data[Da];if(!B){const K=T.parentContext?as(T.parentContext):void 0;B={actionName:T.actionName,type:T.type,target:T.target,args:T.args,data:T.data,parentContext:K},B.rootContext=K?K.rootContext:B,T.data[Da]=B}return B}function ts(T,B){return Wt(T,\"subtreeRoot\"),X(B,\"listeners\"),ua(T,{filter(K){return!(K.parentContext||ke(K.actionName))},onStart(K){if(B.onStart){const Se=ka(K);return B.onStart(Se,K)}},onFinish(K,Se){if(B.onFinish){const He=ka(K);return B.onFinish(He,K,Se)}}})}function ka(T){const B=Wu(T.target);return{actionName:T.actionName,args:T.args,targetPath:B.path,targetPathIds:tt(B)}}function uu(T){Wt(T,\"subtreeRoot\");let B=!1;const K=Symbol(\"writable\");return{dispose:ua(T,{filter(He){if(ke(He.actionName))return!1;let Ye=B;if(!Ye){let Et=He;for(;Et&&!Ye;)Ye=!!Et.data[K],Et=Et.parentContext}return Ye?(He.data[K]=!0,!1):!0},onStart(He){return{result:Ci.Throw,value:xe(`tried to invoke action '${He.actionName}' over a readonly node`)}}}),allowWrite(He){const Ye=B;B=!0;try{return He()}finally{B=Ye}}}}function Su(T){return typeof T==\"number\"?\"\"+T:T.indexOf(\"/\")===-1&&T.indexOf(\"~\")===-1?T:T.replace(/~/g,\"~0\").replace(/\\//g,\"~1\")}function Js(T){return T.replace(/~1/g,\"/\").replace(/~0/g,\"~\")}function Ws(T){return T.length<=0?\"\":\"/\"+T.map(Su).join(\"/\")}function Ru(T){if(T===\"\")return[];if(!T.startsWith(\"/\"))throw xe(\"a JSON pointer must start with '/' or be empty\");return T=T.slice(1),T.split(\"/\").map(Js)}function Iu(T){return Mu(Rs({},T),{path:Ws(T.path)})}function Xf(T){return Mu(Rs({},T),{path:Ru(T.path)})}function Xl(T,B){return Wt(T,\"subtreeRoot\"),Yl(T,B)}function Yl(T,B){let{recording:K,filter:Se}=Rs({recording:!0,filter:Cf},B);const He=r.observable.array([],{deep:!1});let Ye;return T?Ye=Jo(T,(Et,bn)=>{var Qn;K&&Se(Et,bn)&&(He.push({target:T,patches:Et,inversePatches:bn}),(Qn=B==null?void 0:B.onPatches)==null||Qn.call(B,Et,bn))}):Ye=Ji((Et,bn,Qn)=>{var yr;K&&Se(bn,Qn)&&(He.push({target:Et,patches:bn,inversePatches:Qn}),(yr=B==null?void 0:B.onPatches)==null||yr.call(B,bn,Qn))}),{get recording(){return K},set recording(Et){K=Et},get events(){return He},dispose(){Ye()}}}const Cf=()=>!0;function iu(T){X(T,\"target\");const{model:B,actionName:K}=T;if(Nu(B,\"target.model\"),typeof K!=\"string\")throw xe(\"target.actionName must be a string\");const Se=Symbol(\"patchRecorder\");function He(Et){Et.rootContext.data[Se]=Yl(void 0,{recording:!1})}function Ye(Et){return Et.rootContext.data[Se]}return ua(B,{filter(Et){const bn=Et.rootContext;return bn.target===B&&bn.actionName===K},onStart(Et){Et===Et.rootContext&&He(Et)},onResume(Et){Ye(Et).recording=!0},onSuspend(Et){Ye(Et).recording=!1},onFinish(Et,bn){if(Et===Et.rootContext){const Qn=Ye(Et);try{if(bn.result===Ci.Throw){const{events:yr}=Qn;for(let vr=yr.length-1;vr>=0;vr--){const no=yr[vr];$t(no.target,no.inversePatches,!0)}}}finally{Qn.dispose()}}}})}function lc(T,B){ac(\"transaction\",T,B),Xr(T.constructor,K=>{iu({model:K,actionName:B})})}function ls(T,B,K,Se){var He=arguments.length,Ye=He<3?B:Se===null?Se=Object.getOwnPropertyDescriptor(B,K):Se,Et;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")Ye=Reflect.decorate(T,B,K,Se);else for(var bn=T.length-1;bn>=0;bn--)(Et=T[bn])&&(Ye=(He<3?Et(Ye):He>3?Et(B,K,Ye):Et(B,K))||Ye);return He>3&&Ye&&Object.defineProperty(B,K,Ye),Ye}function wc(T,B,K){return we(T,\"objFn\"),ti(()=>{const Se=T();X(Se,\"objectSchema\");const He=Object.entries(Se),Ye=(...Qn)=>{const yr=[];for(const[vr,no]of He){const Wo=Dr(no);let $o=\"...\";Qn.includes(Wo)||($o=Wo.getTypeName(...Qn,Wo)),yr.push(`${vr}: ${$o};`)}return`{ ${yr.join(\" \")} }`},Et=(Qn,yr)=>{const vr={},no=Object.keys(Qn);for(let Wo=0;Wo<no.length;Wo++){const $o=no[Wo],Lr=Se[$o];if(Lr){const co=Dr(Lr);vr[$o]=yr===\"from\"?co.fromSnapshotProcessor(Qn[$o]):co.toSnapshotProcessor(Qn[$o])}else vr[$o]=Qn[$o]}return vr},bn=new Mo(ar.Object,(Qn,yr,vr)=>{if(!ye(Qn)||B&&!(Qn instanceof Za))return new $e(yr,Ye(bn),Qn,vr);for(const[no,Wo]of He){const $o=Dr(Wo),Lr=Qn[no],co=$o.check(Lr,[...yr,no],vr);if(co)return co}return null},Ye,K,Qn=>{if(!ye(Qn))return null;for(const[yr,vr]of He){const no=Dr(vr),Wo=Qn[yr];if(!no.snapshotType(Wo))return null}return bn},Qn=>Et(Qn,\"from\"),Qn=>Et(Qn,\"to\"));return bn},K)}function Sc(T){return wc(T,!1,K=>new ul(K,T))}class ul extends ni{constructor(B,K){super(B),C(this,\"_objTypeFn\"),C(this,\"_props\",qt(()=>{const Se=this._objTypeFn(),He={};return Object.keys(Se).forEach(Ye=>{const Et=Ir(Se[Ye]);He[Ye]={type:Et,typeInfo:si(Et)}}),He})),this._objTypeFn=K}get props(){return this._props()}}function fc(T){return wc(()=>({data:T}),!0,B=>new Kl(B,Ir(T)))}class Kl extends ni{constructor(B,K){super(B),C(this,\"dataType\"),this.dataType=K}get dataTypeInfo(){return si(this.dataType)}}const Yf=new Mo(ar.Any,null,()=>\"any\",T=>new $c(T),()=>Yf,hn,hn);function Ec(){return Yf}class $c extends ni{}function dc(T,...B){const K=B.slice();let Se;const He=go(T);if(He)K.unshift(He);else{const Et=T;Se=bn=>{const Qn=Et(bn);return Dr(Qn)}}if(K.length<=0)throw xe(\"or type must have at least 1 possible type\");const Ye=Et=>new Kf(Et,K.map(Ir));return ti(()=>{const Et=K.map(Dr);if(Et.some(vr=>vr.unchecked))return Ec();const bn=(...vr)=>Et.map(Wo=>vr.includes(Wo)?\"...\":Wo.getTypeName(...vr,Wo)).join(\" | \");let Qn;Et.some(vr=>vr.baseType!==Et[0].baseType)?Qn=ar.Any:Qn=Et[0].baseType;const yr=new Mo(Qn,(vr,no,Wo)=>Et.some(Lr=>!Lr.check(vr,no,Wo))?null:new $e(no,bn(yr),vr,Wo),bn,Ye,vr=>{const no=Rr(vr),Wo=Et.filter($o=>$o.baseType===no||$o.baseType===ar.Any);if(Wo.length===1&&Wo[0].baseType===no)return Wo[0];for(let $o=0;$o<Wo.length;$o++){const Lr=Wo[$o].snapshotType(vr);if(Lr)return Lr}return null},vr=>{const no=Se?Se(vr):yr.snapshotType(vr);if(!no)throw xe(`snapshot '${JSON.stringify(vr)}' does not match the following type: ${bn(yr)}`);return no.fromSnapshotProcessor(vr)},vr=>{const no=Se?Se(vr):yr.snapshotType(vr);if(!no)throw xe(`snapshot '${JSON.stringify(vr)}' does not match the following type: ${bn(yr)}`);return no.toSnapshotProcessor(vr)});return yr},Ye)}class Kf extends ni{constructor(B,K){super(B),C(this,\"orTypes\"),C(this,\"_orTypeInfos\",qt(()=>this.orTypes.map(si))),this.orTypes=K}get orTypeInfos(){return this._orTypeInfos()}}const ql=Symbol(\"noDefaultValue\"),Ql=new WeakMap;function gl(T,B,K){let Se=Ql.get(T);Se||(Se=new Map,Ql.set(T,Se));let He=Se.get(B);return He||(He=K(),Se.set(B,He)),He}function Lu(T,B){switch(typeof T){case\"string\":return Lu(Ae,T);case\"number\":return Lu(Cn,T);case\"boolean\":return Lu(Xt,T)}const K=arguments.length>=2,Se=Ir(T);return gl(Se,K?B:ql,()=>{const He=K?dc(Se,nt,rt):Se,Ye=Object.create(K?vi(B):vi());return Object.assign(Ye,{_typeChecker:Se,_fromSnapshotProcessor:Tl.bind(void 0,He),_toSnapshotProcessor:Jl.bind(void 0,Se)}),Ye})}function Tl(T,B){const K=Dr(T).fromSnapshotProcessor;return K?K(B):B}function Jl(T,B){const K=Dr(T).toSnapshotProcessor;return K?K(B):B}function vl(...T){const B=T.filter(Se=>!!Se);return B.length<=0?void 0:(Se,...He)=>{let Ye=Se;for(let Et=0;Et<B.length;Et++)Ye=B[Et](Ye,...He);return Ye}}function _f(T,B,K=\"must be a class or data model class\"){if(!ru(T)&&!Va(T))throw xe(`${B} ${K}`)}function Mf(T,B,K){const Se=T.$[K];return B._transform?B._transform.transform(Se,T,K,He=>{zc(T.$,K,He)}):Se}function Ds(T,B,K,Se){if(!(pn in T))return;if(B._setter===\"assign\"&&!L()){zc(T,K,Se);return}let He=B._transform?B._transform.untransform(Se,T,K):Se;if(He==null){const Ye=aa(B);Ye!==jr&&(He=Ye)}T.$[K]=He}const ef=()=>Ar().modelIdGenerator(),Pl=Lu(Ae,ef);Pl._isId=!0;const tf=vi(ef);tf._isId=!0;function Bu({modelProps:T,baseModel:B,type:K,valueType:Se,fromSnapshotProcessor:He,toSnapshotProcessor:Ye}){if(X(T,\"modelProps\"),T=Object.assign(Object.create(null),T),B){_f(B,\"baseModel\");const Bo=B[wt];Bo&&(B=Bo,_f(B,\"baseModel\"))}const Et=T;if(B){const Bo=Mr(B);for(const Uo of Object.keys(Bo)){if(T[Uo])throw xe(`extended model cannot redeclare base model property named '${Uo}'`);Et[Uo]=Bo[Uo]}}const bn=Object.keys(Et).filter(Bo=>Et[Bo]._isId);if(K===\"class\"){if(bn.length>1)throw xe(`expected at most one idProp but got many: ${JSON.stringify(bn)}`)}else if(bn.length>=1)throw xe(`expected no idProp but got some: ${JSON.stringify(bn)}`);const Qn=Object.values(Et).some(Bo=>!!Bo._typeChecker);let yr;if(bn.length>=1){yr=bn[0];const Bo=Et[yr];let Uo=Qn?Pl:tf;switch(Bo==null?void 0:Bo._setter){case!0:Uo=Uo.withSetter();break;case\"assign\":Uo=Uo.withSetter(\"assign\");break}Et[yr]=Uo}let vr;if(Qn){const Bo={};for(const[Uo,Gi]of Object.entries(Et))Bo[Uo]=Gi._typeChecker?Gi._typeChecker:Ec();vr=Sc(()=>Bo)}const no=B!=null?B:K===\"class\"?ja:Ma,Wo=K===\"class\"?ms:Ka;let $o;function Lr(Bo,Uo){var Gi;const Ni=(Gi=Uo==null?void 0:Uo.modelClass)!=null?Gi:this.constructor,Wi=new no(Bo,Mu(Rs({},Uo),{modelClass:Ni}));return $o||($o=Object.keys(Et).filter(ba=>!Wo.has(ba)&&Object.hasOwn(Wi,ba))),$o.forEach(ba=>delete Wi[ba]),Wi}Object.assign(Lr,no);const co=no[Pr];if(co&&(Lr[Pr]=co.slice()),xr(Lr,Et),K===\"class\"){const Bo={dataType:vr,modelIdProperty:yr,valueType:Se};Lr[Rn]=Bo}else{const Bo={dataType:vr};Lr[Rn]=Bo}const Do=Object.create(no.prototype);Lr.prototype=new Proxy(Do,{get(Bo,Uo,Gi){if(Gi===Lr.prototype)return Bo[Uo];const Ni=!Wo.has(Uo)&&Et[Uo];return Ni?Mf(Gi,Ni,Uo):Reflect.get(Bo,Uo,Gi)},set(Bo,Uo,Gi,Ni){if(Ni===Lr.prototype)return Bo[Uo]=Gi,!0;const Wi=!Wo.has(Uo)&&Et[Uo];return Wi?(Ds(Ni,Wi,Uo,Gi),!0):Reflect.set(Bo,Uo,Gi,Ni)},has(Bo,Uo){return!!(!Wo.has(Uo)&&Et[Uo])||Reflect.has(Bo,Uo)}}),Do.constructor=Lr;for(const[Bo,Uo]of Object.entries(T))if(Uo._setter===!0){const Gi=an(Bo),Ni=ou(Do,Gi,{value:function(Wi){this[Bo]=Wi},writable:!0,enumerable:!1,configurable:!0});Object.defineProperty(Do,Gi,Ni)}const yi=qu(Et),Fo=Af(Et);if(He){const Bo=He;He=Uo=>Mu(Rs({},Bo(Uo)),{[re]:Uo[re]})}if(Ye){const Bo=Ye;Ye=(Uo,Gi)=>Mu(Rs({},Bo(Uo,Gi)),{[re]:Uo[re]})}return Lr.fromSnapshotProcessor=vl(He,yi),Lr.toSnapshotProcessor=vl(Fo,Ye),Lr}function qu(T){const B=Object.entries(T).filter(([K,Se])=>Se._fromSnapshotProcessor);if(!(B.length<=0))return K=>{const Se=Rs({},K);for(const[He,Ye]of B)Ye._fromSnapshotProcessor&&(Se[He]=Ye._fromSnapshotProcessor(K[He]));return Se}}function Af(T){const B=Object.entries(T).filter(([K,Se])=>Se._toSnapshotProcessor);if(!(B.length<=0))return K=>{const Se=Rs({},K);for(const[He,Ye]of B)Ye._toSnapshotProcessor&&(Se[He]=Ye._toSnapshotProcessor(K[He]));return Se}}function nf(...T){let B,K,Se;if(ru(T[0]))B=T[0],K=T[1],Se=T[2];else{const He=T[0]();B=He.baseModel,K=He.props,Se=T[1]}return mu(B,\"baseModel\"),Ks(K,B,Se)}function Zu(T,B){const K=typeof T==\"function\"?T():T;return Ks(K,void 0,B)}function Ks(T,B,K){var Se;return Bu({modelProps:T,baseModel:B,type:\"class\",valueType:(Se=K==null?void 0:K.valueType)!=null?Se:!1,fromSnapshotProcessor:K==null?void 0:K.fromSnapshotProcessor,toSnapshotProcessor:K==null?void 0:K.toSnapshotProcessor})}const Hc=T=>B=>rf(T)(B),Tf=new WeakMap,Xu={construct(T,B){const K=new T(...B);Lt(K,et);const Se=Tf.get(T);if(!Se.makeObservableFailed&&In()>=6)try{Kt.makeObservable(K)}catch(He){Se.makeObservableFailed=!0;const Ye=He;if(Ye.message!==\"[MobX] No annotations were passed to makeObservable, but no decorator members have been found either\"&&Ye.message!==\"[MobX] No annotations were passed to makeObservable, but no decorated members have been found either\")throw Ye}return Le(K,pn,!0,!1),Lt(K,ht),Se.type===\"class\"&&K.onInit&&(Tu(K,\"onInit\",U.OnInit),K.onInit()),Se.type===\"data\"&&K.onLazyInit&&(Tu(K,\"onLazyInit\",U.OnLazyInit),K.onLazyInit()),K}},rf=T=>B=>{const K=ru(B)?\"class\":Va(B)?\"data\":void 0;if(!K)throw xe(\"clazz must be a class that extends from Model/DataModel\");if(Wn[T]&&Ar().showDuplicateModelNameWarnings&&rn(\"warn\",`a model with name \"${T}\" already exists (if you are using hot-reloading you may safely ignore this warning)`,`duplicateModelName - ${T}`),wt in B&&B[wt]===B)throw xe(\"a class already decorated with `@model` cannot be re-decorated\");Tf.set(B,{makeObservableFailed:!1,type:K});const Se=new Proxy(B,Xu);B.toString=()=>`class ${B.name}#${T}`,K===\"class\"&&(B[re]=T),Se.prototype.constructor=Se,Se[wt]=B;const He={name:T,class:Se};return Wn[T]=He,Mn.set(Se,He),Mn.set(B,He),Lt(B,pt),Se};function Il(T,B,K,Se){var He=arguments.length,Ye=He<3?B:Se===null?Se=Object.getOwnPropertyDescriptor(B,K):Se,Et;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")Ye=Reflect.decorate(T,B,K,Se);else for(var bn=T.length-1;bn>=0;bn--)(Et=T[bn])&&(Ye=(He<3?Et(Ye):He>3?Et(B,K,Ye):Et(B,K))||Ye);return He>3&&Ye&&Object.defineProperty(B,K,Ye),Ye}function of(T,B,K){for(const[Se,He]of Object.entries(K)){const Ye=Object.getOwnPropertyDescriptor(B.prototype,Se);Il(Array.isArray(He)?He:[He],B.prototype,Se,Ye||void 0)}return T?Hc(T)(B):B}function Fu(T){const B=K=>new Oc(K,Ir(T));return ti(()=>{const K=Dr(T),Se=(...Ye)=>`Array<${K.getTypeName(...Ye,K)}>`,He=new Mo(ar.Array,(Ye,Et,bn)=>{if(!ae(Ye))return new $e(Et,Se(He),Ye,bn);if(!K.unchecked)for(let Qn=0;Qn<Ye.length;Qn++){const yr=K.check(Ye[Qn],[...Et,Qn],bn);if(yr)return yr}return null},Se,B,Ye=>{if(!ae(Ye))return null;if(!K.unchecked){for(let Et=0;Et<Ye.length;Et++)if(!K.snapshotType(Ye[Et]))return null}return He},Ye=>K.unchecked?Ye:Ye.map(Et=>K.fromSnapshotProcessor(Et)),Ye=>K.unchecked?Ye:Ye.map(Et=>K.toSnapshotProcessor(Et)));return He},B)}class Oc extends ni{constructor(B,K){super(B),C(this,\"itemType\"),this.itemType=K}get itemTypeInfo(){return si(this.itemType)}}var va;(function(T){T.Single=\"single\",T.Group=\"group\"})(va||(va={}));function Qu(T,B){if(T.type===va.Single)return[T];{const K=[];for(const Se of T.events)B?K.unshift(...Qu(Se,!0)):K.push(...Qu(Se,!1));return K}}let Hu=class extends Zu({undoEvents:Lu(Fu(Ec()),()=>[]),redoEvents:Lu(Fu(Ec()),()=>[])}){constructor(){super(...arguments),C(this,\"_groupStack\",[])}_clearUndo(){Us(()=>{this.undoEvents.length=0})}_clearRedo(){Us(()=>{this.redoEvents.length=0})}_undo(){Us(()=>{const B=this.undoEvents.pop();this.redoEvents.push(B)})}_redo(){Us(()=>{const B=this.redoEvents.pop();this.undoEvents.push(B)})}_addUndo(B){Us(()=>{this.undoEvents.push(B),this.redoEvents.length=0})}_addUndoToParentGroup(B,K){B.events.push(K)}get _currentGroup(){return this._groupStack[this._groupStack.length-1]}_startGroup(B,K,Se){var He;let Ye=!1,Et=!1;const bn=this._currentGroup,Qn={type:va.Group,groupName:B,events:[]},yr=bn||(He=Se==null?void 0:Se.attachedState)==null?void 0:He.save(),vr={pause:()=>{if(Et)throw xe(\"cannot pause a group when it is already ended\");if(!Ye)throw xe(\"cannot pause a group when it is not running\");if(this._currentGroup!==Qn)throw xe(\"group out of order\");this._groupStack.pop(),Ye=!1},resume:()=>{if(Et)throw xe(\"cannot resume a group when it is already ended\");if(Ye)throw xe(\"cannot resume a group when it is already running\");this._groupStack.push(Qn),Ye=!0},end:()=>{var no;Ye&&vr.pause(),Et=!0,bn?this._addUndoToParentGroup(bn,Qn):this._addUndo(Mu(Rs({},Qn),{attachedState:{beforeEvent:yr,afterEvent:(no=Se==null?void 0:Se.attachedState)==null?void 0:no.save()}}))}};return K&&vr.resume(),vr}};ls([ou],Hu.prototype,\"_clearUndo\",null),ls([ou],Hu.prototype,\"_clearRedo\",null),ls([ou],Hu.prototype,\"_undo\",null),ls([ou],Hu.prototype,\"_redo\",null),ls([ou],Hu.prototype,\"_addUndo\",null),Hu=ls([Hc(`${Ft}/UndoStore`)],Hu);class eu{constructor(B,K,Se,He){C(this,\"disposer\"),C(this,\"subtreeRoot\"),C(this,\"options\"),C(this,\"store\"),C(this,\"_isUndoRecordingDisabled\",!1),this.disposer=B,this.subtreeRoot=K,this.options=He,In()>=6&&Kt.makeObservable(this),this.store=Se!=null?Se:new Hu({})}get undoQueue(){return this.store.undoEvents}get redoQueue(){return this.store.redoEvents}get undoLevels(){return this.undoQueue.length}get canUndo(){return this.undoLevels>0}clearUndo(){this.store._clearUndo()}get redoLevels(){return this.redoQueue.length}get canRedo(){return this.redoLevels>0}clearRedo(){this.store._clearRedo()}undo(){if(!this.canUndo)throw xe(\"nothing to undo\");const B=this.undoQueue[this.undoQueue.length-1];Us(()=>{var K,Se,He;Qu(B,!0).forEach(Ye=>{$t(this.subtreeRoot,Ye.inversePatches,!0)}),(K=B.attachedState)!=null&&K.beforeEvent&&((He=(Se=this.options)==null?void 0:Se.attachedState)==null||He.restore(B.attachedState.beforeEvent))}),this.store._undo()}redo(){if(!this.canRedo)throw xe(\"nothing to redo\");const B=this.redoQueue[this.redoQueue.length-1];Us(()=>{var K,Se,He;Qu(B,!1).forEach(Ye=>{$t(this.subtreeRoot,Ye.patches)}),(K=B.attachedState)!=null&&K.afterEvent&&((He=(Se=this.options)==null?void 0:Se.attachedState)==null||He.restore(B.attachedState.afterEvent))}),this.store._redo()}dispose(){this.disposer()}get isUndoRecordingDisabled(){return this._isUndoRecordingDisabled}withoutUndo(B){const K=this._isUndoRecordingDisabled;this._isUndoRecordingDisabled=!0;try{return B()}finally{this._isUndoRecordingDisabled=K}}createGroup(B){const K=this.store._startGroup(B,!1,this.options);return{continue(Se){K.resume();try{return Se()}finally{K.pause()}},end(){K.end()}}}withGroup(B,K){let Se,He;typeof B==\"string\"?(Se=B,He=K):He=B;const Ye=this.store._startGroup(Se,!0,this.options);try{return He()}finally{Ye.end()}}withGroupFlow(B,K){let Se,He;typeof B==\"string\"?(Se=B,He=K):He=B;const Ye=He(),Et=this.store._startGroup(Se,!1,this.options),bn=Ye.next.bind(Ye),Qn=Ye.throw.bind(Ye);return new Promise(function(vr,no){function Wo(co){Et.resume();let Do;try{Do=bn(co)}catch(yi){Et.end(),no(yi);return}Et.pause(),Lr(Do)}function $o(co){Et.resume();let Do;try{Do=Qn(co)}catch(yi){Et.end(),no(yi);return}Et.pause(),Lr(Do)}function Lr(co){co&&typeof co.then==\"function\"?co.then(Lr,no):co.done?(Et.end(),vr(co.value)):Promise.resolve(co.value).then(Wo,$o)}Wo(void 0)})}}ls([r.computed],eu.prototype,\"undoQueue\",null),ls([r.computed],eu.prototype,\"redoQueue\",null),ls([r.computed],eu.prototype,\"undoLevels\",null),ls([r.computed],eu.prototype,\"canUndo\",null),ls([r.action],eu.prototype,\"clearUndo\",null),ls([r.computed],eu.prototype,\"redoLevels\",null),ls([r.computed],eu.prototype,\"canRedo\",null),ls([r.action],eu.prototype,\"clearRedo\",null),ls([r.action],eu.prototype,\"undo\",null),ls([r.action],eu.prototype,\"redo\",null);function ml(T,B,K){Wt(T,\"subtreeRoot\");let Se;const He=Symbol(\"patchRecorder\");function Ye(Qn){var yr;const vr=Se.store._currentGroup,no={recorder:Xl(T,{recording:!1,filter:()=>!Ju&&!Se.isUndoRecordingDisabled}),recorderStack:0,undoRootContext:Qn,group:vr,attachedStateBeforeEvent:(yr=K==null?void 0:K.attachedState)==null?void 0:yr.save()};Qn.rootContext.data[He]=no}function Et(Qn){return Qn.rootContext.data[He]}const bn=ua(T,{onStart(Qn){Et(Qn)||Ye(Qn)},onResume(Qn){const yr=Et(Qn);yr.recorderStack++,yr.recorder.recording=yr.recorderStack>0},onSuspend(Qn){const yr=Et(Qn);yr.recorderStack--,yr.recorder.recording=yr.recorderStack>0},onFinish(Qn){var yr;const vr=Et(Qn);if(vr&&vr.undoRootContext===Qn){const no=vr.recorder;if(no.events.length>0){const Wo=[],$o=[];for(const Do of no.events)Wo.push(...Do.patches),$o.push(...Do.inversePatches);const Lr={type:va.Single,targetPath:Wu(Qn.target).path,actionName:Qn.actionName,patches:Wo,inversePatches:$o},co=vr.group;co?Se.store._addUndoToParentGroup(co,Lr):Se.store._addUndo(Mu(Rs({},Lr),{attachedState:{beforeEvent:vr.attachedStateBeforeEvent,afterEvent:(yr=K==null?void 0:K.attachedState)==null?void 0:yr.save()}}))}no.dispose()}}});return Se=new eu(bn,T,B,K),Se}let Ju=!1;function yl(){return Ju}function Us(T){const B=Ju;Ju=!0;try{return T()}finally{Ju=B}}function af(T){return T.type===\"value\"?T.value:T.value.get()}const kl=()=>(0,r.createAtom)(\"contextValue\");class Nl{constructor(B){C(this,\"defaultContextValue\",r.observable.box(void 0,{deep:!1})),C(this,\"overrideContextValue\",r.observable.box(void 0,{deep:!1})),C(this,\"nodeContextValue\",new WeakMap),C(this,\"nodeAtom\",new WeakMap),C(this,\"setDefault\",(0,r.action)(K=>{this.defaultContextValue.set({type:\"value\",value:K})})),C(this,\"setDefaultComputed\",(0,r.action)(K=>{this.defaultContextValue.set({type:\"computed\",value:(0,r.computed)(K)})})),C(this,\"set\",(0,r.action)((K,Se)=>{Wt(K,\"node\"),this.nodeContextValue.set(K,{type:\"value\",value:Se}),this.getNodeAtom(K).reportChanged()})),C(this,\"setComputed\",(0,r.action)((K,Se)=>{this._setComputed(K,(0,r.computed)(Se))})),C(this,\"unset\",(0,r.action)(K=>{Wt(K,\"node\"),this.nodeContextValue.delete(K),this.getNodeAtom(K).reportChanged()})),C(this,\"apply\",(0,r.action)((K,Se)=>{const He=this.overrideContextValue.get();this.overrideContextValue.set({type:\"value\",value:Se});try{const Ye=K();return Zt(Ye,!0)&&this.set(Ye,Se),Ye}finally{this.overrideContextValue.set(He)}})),C(this,\"applyComputed\",(0,r.action)((K,Se)=>{const He=(0,r.computed)(Se),Ye=this.overrideContextValue.get();this.overrideContextValue.set({type:\"computed\",value:He});try{const Et=K();return Zt(Et,!0)&&this._setComputed(Et,He),Et}finally{this.overrideContextValue.set(Ye)}})),this.setDefault(B)}getNodeAtom(B){return hr(this.nodeAtom,B,kl)}fastGet(B){this.getNodeAtom(B).reportObserved();const K=this.nodeContextValue.get(B);if(K)return af(K);const Se=Ku(B);if(!Se){const He=this.overrideContextValue.get();return He?af(He):this.getDefault()}return this.fastGet(Se)}get(B){return Wt(B,\"node\"),this.fastGet(B)}fastGetProviderNode(B){if(this.getNodeAtom(B).reportObserved(),this.nodeContextValue.get(B))return B;const Se=Ku(B);if(Se)return this.fastGetProviderNode(Se)}getProviderNode(B){return Wt(B,\"node\"),this.fastGetProviderNode(B)}getDefault(){return af(this.defaultContextValue.get())}_setComputed(B,K){Wt(B,\"node\"),this.nodeContextValue.set(B,{type:\"computed\",value:K}),this.getNodeAtom(B).reportChanged()}}function Pf(T){return new Nl(T)}const jl=Pf(!1);function qf(T){return jl.get(T)}const sf=new WeakSet;function If(T,B,K){const Se=ga(T,{parent:B,path:K});return gt(Se)&&!sf.has(Se)&&(sf.add(Se),uu(Se),jl.set(Se,!0)),Se}const cu=new WeakMap;function tu(T){return hr(cu,T,()=>new Map)}function uf(T,B,K){if(!K.get)throw xe(\"@computedTree requires a 'get' accessor\");const Se=T.constructor;if(!ru(Se)&&!Va(Se))throw xe(\"@computedTree can only decorate 'get' accessors of class or data models\");const He=K.get;K.get=function(){const Ye=tu(this).get(B),Et=Ye.value,bn=Ye.computed.get();if(Et===bn)return Ye.tweakedValue;const Qn=Ye.tweakedValue;ga(Qn,void 0),Fi(Qn);const yr=If(bn,this,B);return Ye.value=bn,Ye.tweakedValue=yr,yr},Fe(T,ht,Ye=>{const Et=computed(()=>He.call(Ye),{keepAlive:!0}),bn=Et.get(),Qn=If(bn,Ye,B);tu(Ye).set(B,{computed:Et,value:bn,tweakedValue:Qn})})}function Qf(...T){let B,K;if(Va(T[0]))B=T[0],K=T[1];else{const Se=T[0]();B=Se.baseModel,K=Se.props}return Ls(B,\"baseModel\"),bl(K,B)}function cf(T){const B=typeof T==\"function\"?T():T;return bl(B,void 0)}function bl(T,B){return Bu({modelProps:T,baseModel:B,type:\"data\",valueType:!1,fromSnapshotProcessor:void 0,toSnapshotProcessor:void 0})}function fd(T,B,K,Se){Wt(K,\"target\");const He=Rs({logArgsNearName:!0},Se);let Ye=0;B.subscribe($o=>{$o.type===\"DISPATCH\"&&yr(B,K,$o)});const Et=mn(K);B.init(Et);let bn=0;const Qn=Symbol(\"actionId\");ua(K,{onStart($o){$o.data[Qn]=bn++},onResume($o){$o.parentContext&&no($o.parentContext,void 0),no($o,void 0)},onSuspend($o){no($o,void 0)},onFinish($o,Lr){no($o,Lr.result)}});function yr($o,Lr,co){try{switch(Ye++,co.payload.type){case\"RESET\":return fa(Lr,Et),$o.init(Et);case\"COMMIT\":return $o.init(mn(Lr));case\"ROLLBACK\":return $o.init(T.extractState(co));case\"JUMP_TO_STATE\":case\"JUMP_TO_ACTION\":fa(Lr,T.extractState(co));return;case\"IMPORT_STATE\":const Do=co.payload.nextLiftedState,yi=Do.computedStates;fa(Lr,yi[yi.length-1].state),$o.send(null,Do);return;default:}}finally{Ye--}}let vr=Et;function no($o,Lr){if(Ye)return;const co=mn(K);if(co===vr&&Lr!==Ci.Throw)return;vr=co;const Do=Wu($o.target),Fo={type:Wo($o,Do,Lr),path:Do.path,args:$o.args};B.send(Fo,co)}function Wo($o,Lr,co){let yi=\"[/\"+Lr.path.join(\"/\")+\"] \"+$o.actionName;if(He.logArgsNearName){let Bo=$o.args.map(Uo=>{try{return JSON.stringify(Uo)}catch(Gi){return\"**unserializable**\"}}).join(\", \");Bo.length>64&&(Bo=Bo.slice(0,64)+\"...\"),yi+=`(${Bo})`}const Fo=$o.data[Qn];if(yi+=` (id ${Fo!==void 0?Fo:\"?\"}`,$o.type===M.Async&&(yi+=\", async\"),yi+=\")\",co===Ci.Throw&&(yi+=\" -error thrown-\"),$o.parentContext){const Bo=Wo($o.parentContext,Wu($o.parentContext.target),void 0);Bo&&(yi=`${Bo} >>> ${yi}`)}return yi}}const Gc=\"applyAction\";function kf(T){return{type:Gc,payload:T}}function Nf(T,...B){Wt(T,\"target\");const K=Ye=>{if(Ye.type!==Gc)throw xe(`action type was expected to be '${Gc}', but it was '${Ye.type}'`);return sl(T,Ye.payload),Ye};let Se={getState(){return mn(T)},dispatch(Ye){return jf(Ye,He,K)},subscribe(Ye){return Li(T,Ye)}};const He=B.map(Ye=>Ye(Se));return Se}function jf(T,B,K){let Se=0;function He(Ye){const Et=B[Se];return Se++,Et?Et(He)(Ye):K(Ye)}return He(T)}class cl extends Zu({id:Lu(Ae)}){get maybeCurrent(){return this.resolve()}get isValid(){return!!this.maybeCurrent}get current(){const B=this.maybeCurrent;if(!B)throw xe(`a reference of type '${this[re]}' could not resolve an object with id '${this.id}'`);return B}}ls([r.computed],cl.prototype,\"maybeCurrent\",null),ls([r.computed],cl.prototype,\"isValid\",null),ls([r.computed],cl.prototype,\"current\",null);function Df(T,B){return T instanceof B.refClass}const Rf=new WeakMap;function xl(T,B,K,Se){let He=class extends cl{constructor(){super(...arguments),C(this,\"resolver\"),C(this,\"savedOldTarget\")}resolve(){return this.resolver||(this.resolver=B(this)),this.resolver(this)}internalForceUpdateBackRefs(Qn){const yr=this.savedOldTarget;this.savedOldTarget=Qn,lf(this,Et,Qn,yr)}forceUpdateBackRefs(){this.internalForceUpdateBackRefs(this.maybeCurrent)}onInit(){let Qn,yr=!0;(0,r.reaction)(()=>this.maybeCurrent,vr=>{this.internalForceUpdateBackRefs(vr);const no=Qn,Wo=yr;Qn=vr,yr=!1,!Wo&&Se&&vr!==no&&Se(this,vr,no)},{fireImmediately:!0})}};ls([r.action],He.prototype,\"forceUpdateBackRefs\",null),He=ls([Hc(T)],He);const Ye=bn=>{let Qn;if(typeof bn==\"string\"?Qn=bn:(X(bn,\"target\"),Qn=K(bn)),typeof Qn!=\"string\")throw xe(\"ref target object must have an id of string type\");return new He({id:Qn})};Ye.refClass=He;const Et=Ye;return Et}function Wc(T){if(Ya(T)&&T.getRefId){const B=T.getRefId();if(B!==void 0&&typeof B!=\"string\")throw xe(\"'getRefId()' must return a string or undefined when present\");return B}}const Dl=new WeakMap;function Rl(T,B,K=Wc){const He=hr(Dl,K,()=>En(Ye=>K(Ye))).walk(T);return He?He.get(B):void 0}function hc(T,B){let K=Rf.get(T);if(K||(K={all:r.observable.set(void 0,{deep:!1}),byType:new WeakMap},Rf.set(T,K)),B){let Se=K.byType.get(B);return Se||(Se=r.observable.set(void 0,{deep:!1}),K.byType.set(B,Se)),Se}else return K.all}function wl(T,B,K){if(Wt(T,\"target\"),K!=null&&K.updateAllRefsIfNeeded&&ff()){const Se=new Set,He=Qn=>{Se.has(Qn)||((!B||Qn instanceof B.refClass)&&Qn.forceUpdateBackRefs(),Se.add(Qn))};hc(T,B).forEach(He);const Et=df(It(Du(T)));let bn;B?bn=Et.byType.get(B.refClass):bn=Et.all,bn==null||bn.forEach(He)}return hc(T,B)}const lf=(0,r.action)(\"updateBackRefs\",(T,B,K,Se)=>{K!==Se&&(Se&&(hc(Se).delete(T),hc(Se,B).delete(T)),K&&(hc(K).add(T),hc(K,B).add(T)))});function ff(){let T=!0;return when(()=>!0,()=>{T=!1})(),T}const df=zt({initData(){return{all:new Set,byType:new WeakMap}},addNode(T,B){T instanceof cl&&(B.all.add(T),hr(B.byType,T.constructor,()=>new Set).add(T))}}),Ll=(0,r.action)(\"customRef\",(T,B)=>{var K;const Se=(K=B.getId)!=null?K:Wc;return xl(T,()=>B.resolve,Se,B.onResolvedValueChange)}),hf=(0,r.action)(\"rootRef\",(T,B)=>{var K;const Se=(K=B==null?void 0:B.getId)!=null?K:Wc,He=B==null?void 0:B.onResolvedValueChange;return xl(T,Et=>{let bn;return()=>{const Qn=Du(Et);if(ec(Et,Qn,bn,Se))return bn;const yr=Rl(Qn,Et.id,Se);return yr&&(bn=yr),yr}},Se,He)});function ec(T,B,K,Se){return!(!K||T.id!==Se(K)||B!==Du(K))}function $s(T,B){return pl(T,B,!1)}function dd(T,B){return pl(T,B,!0)}function Lf(T,...B){return T.splice(...B)}const Eu=`${Ft}/arrayActions`,ll={set:$s(`${Eu}::set`,(T,B,K)=>{(0,r.set)(T,B,K)}),delete:$s(`${Eu}::delete`,(T,B)=>(0,r.remove)(T,\"\"+B)),setLength:$s(`${Eu}::setLength`,(T,B)=>{T.length=B}),concat:$s(`${Eu}::concat`,(T,...B)=>T.concat(...B)),copyWithin:$s(`${Eu}::copyWithin`,(T,B,K,Se)=>T.copyWithin(B,K,Se)),fill:$s(`${Eu}::fill`,(T,B,K,Se)=>T.fill(B,K,Se)),pop:$s(`${Eu}::pop`,T=>T.pop()),push:$s(`${Eu}::push`,(T,...B)=>T.push(...B)),reverse:$s(`${Eu}::reverse`,T=>T.reverse()),shift:$s(`${Eu}::shift`,T=>T.shift()),slice:$s(`${Eu}::slice`,(T,B,K)=>T.slice(B,K)),sort:$s(`${Eu}::sort`,(T,B)=>T.sort(B)),splice:$s(`${Eu}::splice`,Lf),unshift:$s(`${Eu}::unshift`,(T,...B)=>T.unshift(...B)),swap:$s(`${Eu}::swap`,(T,B,K)=>{if(B<0||K<0||B>=T.length||K>=T.length)return!1;K<B&&([B,K]=[K,B]);const[Se]=T.splice(B,1),[He]=T.splice(K-1,1);return T.splice(B,0,He),T.splice(K,0,Se),!0}),create:T=>Ia(T)},Sl=`${Ft}/objectActions`,hd={set:$s(`${Sl}::set`,(T,B,K)=>{(0,r.isObservable)(T)?(0,r.set)(T,B,K):T[B]=K}),assign:$s(`${Sl}::assign`,(T,B)=>{X(B,\"partialObject\");const K=Object.keys(B);if((0,r.isObservable)(T))for(const Se of K)(0,r.set)(T,Se,B[Se]);else for(const Se of K)T[Se]=B[Se]}),delete:$s(`${Sl}::delete`,(T,B)=>(0,r.remove)(T,B)),call:$s(`${Sl}::call`,(T,B,...K)=>T[B](...K)),create:T=>Ia(T)};function pf(T){const B=new WeakMap;return{for(K){if(B.has(K))return B.get(K);{const Se=T(K);return B.set(K,Se),Se}}}}const Bf=(0,r.action)(T=>{if(ve&&!(0,r.isObservableObject)(T))throw xe(\"assertion failed: expected an observable object\");const B=r.observable.map();B.dataObject=T;const K=Object.keys(T);for(let Ye=0;Ye<K.length;Ye++){const Et=K[Ye];B.set(Et,T[Et])}let Se=!1,He=!1;return(0,r.observe)(T,(0,r.action)(Ye=>{if(!Se){He=!0;try{switch(Ye.type){case\"add\":case\"update\":{B.set(Ye.name,Ye.newValue);break}case\"remove\":{B.delete(Ye.name);break}}}finally{He=!1}}})),(0,r.intercept)(B,(0,r.action)(Ye=>{if(Se)return null;if(He)return Ye;Se=!0;try{switch(Ye.type){case\"add\":case\"update\":{(0,r.set)(T,Ye.name,Ye.newValue);break}case\"delete\":{(0,r.remove)(T,Ye.name);break}}return Ye}finally{Se=!1}})),B}),Bl=(0,r.action)(T=>{if(ve&&!(0,r.isObservableArray)(T))throw xe(\"assertion failed: expected an observable array\");let B;if(In()>=6?B=r.observable.map(T):(B=r.observable.map(),T.forEach(([He,Ye])=>{B.set(He,Ye)})),B.dataObject=T,B.size!==T.length)throw xe(\"arrays backing a map cannot contain duplicate keys\");let K=!1,Se=!1;return(0,r.observe)(T,(0,r.action)(He=>{if(!K){Se=!0;try{switch(He.type){case\"splice\":{{const Ye=He.removed;for(let Et=0;Et<Ye.length;Et++)B.delete(Ye[Et][0])}{const Ye=He.added;for(let Et=0;Et<Ye.length;Et++)B.set(Ye[Et][0],Ye[Et][1])}break}case\"update\":{B.delete(He.oldValue[0]),B.set(He.newValue[0],He.newValue[1]);break}}}finally{Se=!1}}})),(0,r.intercept)(B,(0,r.action)(He=>{if(K)return null;if(Se)return He;K=!0;try{switch(He.type){case\"update\":{const Ye=T.findIndex(Et=>Et[0]===He.name);T[Ye]=[He.name,He.newValue];break}case\"add\":{T.push([He.name,He.newValue]);break}case\"delete\":{const Ye=T.findIndex(Et=>Et[0]===He.name);Ye>=0&&T.splice(Ye,1);break}}return He}finally{K=!1}})),B}),Jf=pf(T=>ae(T)?(_e(T,\"objOrArray\"),Bl(T)):(fe(T,\"objOrArray\"),Bf(T)));function gf(T){return Jf.for(T)}function pd(T){be(T,\"map\");const B=T.dataObject;if(B&&!ae(B))return B;const K={};for(const Se of T.keys())K[Se]=T.get(Se);return K}function gd(T){be(T,\"map\");const B=T.dataObject;if(B&&ae(B))return B;const K=[];for(const Se of T.keys())K.push([Se,T.get(Se)]);return K}const vf={transform({originalValue:T,cachedTransformedValue:B}){return B!=null?B:gf(T)},untransform({transformedValue:T}){const B={};for(const K of T.keys())B[K]=T.get(K);return B}},mf=()=>vf,Ff={transform({originalValue:T,cachedTransformedValue:B}){return B!=null?B:gf(T)},untransform({transformedValue:T}){const B=[];for(const K of T.keys())B.push([K,T.get(K)]);return B}},vd=()=>Ff,ed=(0,r.action)(T=>{if(ve&&!(0,r.isObservableArray)(T))throw xe(\"assertion failed: expected an observable array\");let B;if(In()>=6?B=r.observable.set(T):(B=r.observable.set(),T.forEach(He=>{B.add(He)})),B.dataObject=T,B.size!==T.length)throw xe(\"arrays backing a set cannot contain duplicate values\");let K=!1,Se=!1;return(0,r.observe)(T,(0,r.action)(He=>{if(!K){Se=!0;try{switch(He.type){case\"splice\":{{const Ye=He.removed;for(let Et=0;Et<Ye.length;Et++)B.delete(Ye[Et])}{const Ye=He.added;for(let Et=0;Et<Ye.length;Et++)B.add(Ye[Et])}break}case\"update\":{B.delete(He.oldValue),B.add(He.newValue);break}}}finally{Se=!1}}})),(0,r.intercept)(B,(0,r.action)(He=>{if(K)return null;if(Se)return He;K=!0;try{switch(He.type){case\"add\":{T.push(He.newValue);break}case\"delete\":{const Ye=T.indexOf(He.oldValue);Ye>=0&&T.splice(Ye,1);break}}return He}finally{K=!1}})),B}),td=pf(T=>(_e(T,\"array\"),ed(T)));function yf(T){return td.for(T)}function nd(T){We(T,\"set\");const B=T.dataObject;return B||Array.from(T.values())}const rd={transform({originalValue:T,cachedTransformedValue:B}){return B!=null?B:yf(T)},untransform({transformedValue:T}){return Array.from(T.values())}},od=()=>rd,zf={transform({originalValue:T,cachedTransformedValue:B}){return B!=null?B:BigInt(T)},untransform({transformedValue:T,cacheTransformedValue:B}){return typeof T==\"bigint\"&&B(),T.toString()}},$f=()=>zf,du=\"this Date object is immutable\";class Ou extends Date{setTime(){throw xe(du)}setMilliseconds(){throw xe(du)}setUTCMilliseconds(){throw xe(du)}setSeconds(){throw xe(du)}setUTCSeconds(){throw xe(du)}setMinutes(){throw xe(du)}setUTCMinutes(){throw xe(du)}setHours(){throw xe(du)}setUTCHours(){throw xe(du)}setDate(){throw xe(du)}setUTCDate(){throw xe(du)}setMonth(){throw xe(du)}setUTCMonth(){throw xe(du)}setFullYear(){throw xe(du)}setUTCFullYear(){throw xe(du)}}const Hf={transform({originalValue:T,cachedTransformedValue:B}){return B!=null?B:new Ou(T)},untransform({transformedValue:T,cacheTransformedValue:B}){return T instanceof Ou&&B(),+T}},id=()=>Hf,ad={transform({originalValue:T,cachedTransformedValue:B}){return B!=null?B:new Ou(T)},untransform({transformedValue:T,cacheTransformedValue:B}){return T instanceof Ou&&B(),T.toISOString()}},o=()=>ad;class t{constructor(B){C(this,\"data\"),C(this,\"originalData\"),Wt(B,\"original\"),this.originalData=B,this.data=le(this.originalSnapshot,{generateNewIds:!1})}commit(){fa(this.originalData,mn(this.data))}commitByPath(B){const K=js(this.data,B);if(!K.resolved)throw xe(`path ${JSON.stringify(B)} could not be resolved in draft object`);const Se=n(this.data,B);if(!wu(this.originalData,B,Se).resolved)throw xe(`path ${JSON.stringify(B)} could not be resolved in original object`);$t(this.originalData,[{path:B,op:\"replace\",value:mn(K.value)}])}reset(){fa(this.data,this.originalSnapshot)}resetByPath(B){const K=js(this.originalData,B);if(!K.resolved)throw xe(`path ${JSON.stringify(B)} could not be resolved in original object`);const Se=n(this.originalData,B);if(!wu(this.data,B,Se).resolved)throw xe(`path ${JSON.stringify(B)} could not be resolved in draft object`);$t(this.data,[{path:B,op:\"replace\",value:mn(K.value)}])}get isDirty(){return!vs(mn(this.data),this.originalSnapshot)}isDirtyByPath(B){const K=js(this.data,B);if(!K.resolved)throw xe(`path ${JSON.stringify(B)} could not be resolved in draft object`);const Se=n(this.data,B),He=wu(this.originalData,B,Se);return He.resolved?!vs(K.value,He.value):!0}get originalSnapshot(){return mn(this.originalData)}}ls([r.action],t.prototype,\"commit\",null),ls([r.action],t.prototype,\"commitByPath\",null),ls([r.action],t.prototype,\"reset\",null),ls([r.action],t.prototype,\"resetByPath\",null),ls([r.computed],t.prototype,\"isDirty\",null),ls([r.computed],t.prototype,\"originalSnapshot\",null);function e(T){return new t(T)}function n(T,B){const K=at(T,B);return K.length>=1&&(K[K.length-1]=xu),K}const i=Pf();function d(T){return i.get(T)}function g(T){return!!d(T)}class _{constructor(B){C(this,\"subtreeRoot\"),C(this,\"subtreeRootClone\"),C(this,\"disposer\"),C(this,\"withSandboxPatchRecorder\"),C(this,\"allowWrite\"),C(this,\"isCommitting\",!1),this.subtreeRoot=B,Wt(B,\"subtreeRoot\");let K=i.getDefault();i.setDefault(this);try{this.subtreeRootClone=qn(B,{generateNewIds:!1}),i.set(this.subtreeRootClone,this)}catch(Qn){throw Qn}finally{i.setDefault(K)}let Se=!1;const He=reaction(()=>Go(B),Qn=>{Qn!==Se&&(Se=Qn,Qn?ho(this.subtreeRootClone):vo(this.subtreeRootClone))},{fireImmediately:!0}),Ye=Jo(B,Qn=>{if(this.withSandboxPatchRecorder)throw xe(\"original subtree must not change while 'withSandbox' executes\");this.isCommitting||this.allowWrite(()=>{$t(this.subtreeRootClone,Qn)})}),{allowWrite:Et,dispose:bn}=uu(this.subtreeRootClone);this.allowWrite=Et,this.disposer=()=>{He(),Ye(),bn(),Go(this.subtreeRootClone)&&vo(this.subtreeRootClone),this.disposer=()=>{}}}withSandbox(B,K){for(let Et=0;Et<B.length;Et++)Wt(B[Et],`nodes[${Et}]`);we(K,\"fn\");const{sandboxNodes:Se,applyRecorderChanges:He}=this.prepareSandboxChanges(B);let Ye=!1;try{const Et=this.allowWrite(()=>K(...Se));if(typeof Et==\"boolean\"){Ye=Et;return}else return Ye=Et.commit,Et.return}finally{He(Ye)}}dispose(){this.disposer()}prepareSandboxChanges(B){const K=!!this.withSandboxPatchRecorder,Se=B.map(bn=>{const Qn=Ys(K?this.subtreeRootClone:this.subtreeRoot,bn);if(!Qn)throw xe(`node is not a child of subtreeRoot${K?\"Clone\":\"\"}`);const yr=js(this.subtreeRootClone,Qn).value;if(!yr)throw xe(\"path could not be resolved - sandbox may be out of sync with original tree\");return yr});this.withSandboxPatchRecorder||(this.withSandboxPatchRecorder=Xl(this.subtreeRootClone));const He=this.withSandboxPatchRecorder,Ye=He.events.length;return{sandboxNodes:Se,applyRecorderChanges:bn=>{if(K||(He.dispose(),this.withSandboxPatchRecorder=void 0),bn){if(!K){const Qn=[],yr=He.events.length;for(let no=0;no<yr;no++)Qn.push(...He.events[no].patches);const vr=this.isCommitting;this.isCommitting=!0;try{$t(this.subtreeRoot,Qn)}finally{this.isCommitting=vr}}}else this.allowWrite(()=>{runInAction(()=>{let Qn=He.events.length;for(;Qn-- >Ye;)$t(this.subtreeRootClone,He.events[Qn].inversePatches,!0)})})}}}}function I(T){return new _(T)}function D(...T){const B=K=>new H(K,T.map(Ir));return ti(()=>{const K=T.map(Dr),Se=(...Ye)=>\"[\"+K.map(bn=>Ye.includes(bn)?\"...\":bn.getTypeName(...Ye,bn)).join(\", \")+\"]\",He=new Mo(ar.Array,(Ye,Et,bn)=>{if(!ae(Ye)||Ye.length!==T.length)return new $e(Et,Se(He),Ye,bn);for(let Qn=0;Qn<Ye.length;Qn++){const yr=K[Qn].check(Ye[Qn],[...Et,Qn],bn);if(yr)return yr}return null},Se,B,Ye=>{if(!ae(Ye)||Ye.length!==T.length)return null;for(let Et=0;Et<Ye.length;Et++)if(!K[Et].snapshotType(Ye[Et]))return null;return He},Ye=>Ye.map((Et,bn)=>K[bn].fromSnapshotProcessor(Et)),Ye=>Ye.map((Et,bn)=>K[bn].toSnapshotProcessor(Et)));return He},B)}class H extends ni{constructor(B,K){super(B),C(this,\"itemTypes\"),C(this,\"_itemTypeInfos\",qt(()=>this.itemTypes.map(si))),this.itemTypes=K}get itemTypeInfos(){return this._itemTypeInfos()}}let Z=class extends Zu({[me]:yo,items:Lu(Fu(Ec()),()=>[])}){add(B){const K=this.items;return K.includes(B)||K.push(B),this}clear(){this.items.length=0}delete(B){const K=this.items,Se=K.findIndex(He=>He===B);return Se>=0?(K.splice(Se,1),!0):!1}forEach(B,K){const Se=this.items,He=Se.length;for(let Ye=0;Ye<He;Ye++){const Et=Se[Ye];B.call(K,Et,Et,this)}}has(B){return this.items.includes(B)}get size(){return this.items.length}keys(){return this.values()}values(){const B=this.items;return(0,r.values)(B)[Symbol.iterator]()}entries(){return this.items.map(K=>[K,K]).values()}[Symbol.iterator](){return this.values()}get[Symbol.toStringTag](){return\"ArraySet\"}};ls([ou],Z.prototype,\"add\",null),ls([ou],Z.prototype,\"clear\",null),ls([ou],Z.prototype,\"delete\",null),Z=ls([Hc(`${Ft}/ArraySet`)],Z);function te(T){const B=T?T.slice():[];return new Z({items:B})}function de(T){const B=K=>new Pe(K,Ir(T));return ti(()=>{const K=Mn.get(Z),Se=Dr(T),He=(...bn)=>`ArraySet<${Se.getTypeName(...bn,Se)}>`,Ye=Sc(()=>({items:Fu(Se)})),Et=new Mo(ar.Object,(bn,Qn,yr)=>bn instanceof Z?Dr(Ye).check(bn.$,Qn,yr):new $e(Qn,He(Et),bn,yr),He,B,bn=>ye(bn)?bn[re]!==void 0?bn[re]===K.name?Et:null:Dr(Ye).snapshotType(bn)?Et:null:null,bn=>Mu(Rs({},bn),{[re]:K.name,items:bn.items.map(Qn=>Se.fromSnapshotProcessor(Qn))}),bn=>Mu(Rs({},bn),{items:bn.items.map(yr=>Se.toSnapshotProcessor(yr))}));return Et},B)}class Pe extends ni{constructor(B,K){super(B),C(this,\"valueType\"),this.valueType=K}get valueTypeInfo(){return si(this.valueType)}}function Ge(T){const B=K=>new Qe(K,Ir(T));return ti(()=>{const K=Dr(T),Se=(...Et)=>`Record<${K.getTypeName(...Et,K)}>`,He=(Et,bn)=>{if(K.unchecked)return Et;const Qn={},yr=Object.keys(Et);for(let vr=0;vr<yr.length;vr++){const no=yr[vr],Wo=bn===\"from\"?K.fromSnapshotProcessor(Et[no]):K.toSnapshotProcessor(Et[no]);Qn[no]=Wo}return Qn},Ye=new Mo(ar.Object,(Et,bn,Qn)=>{if(!ye(Et))return new $e(bn,Se(Ye),Et,Qn);if(!K.unchecked){const yr=Object.keys(Et);for(let vr=0;vr<yr.length;vr++){const no=yr[vr],Wo=Et[no],$o=K.check(Wo,[...bn,no],Qn);if($o)return $o}}return null},Se,B,Et=>{if(!ye(Et))return null;if(!K.unchecked){const bn=Object.keys(Et);for(let Qn=0;Qn<bn.length;Qn++){const yr=bn[Qn],vr=Et[yr];if(!K.snapshotType(vr))return null}}return Ye},Et=>He(Et,\"from\"),Et=>He(Et,\"to\"));return Ye},B)}class Qe extends ni{constructor(B,K){super(B),C(this,\"valueType\"),this.valueType=K}get valueTypeInfo(){return si(this.valueType)}}let Xe=class extends Zu({[me]:yo,items:Lu(Ge(Ec()),()=>({}))}){clear(){const B=this.items,K=Object.keys(B),Se=K.length;for(let He=0;He<Se;He++){const Ye=K[He];(0,r.remove)(B,Ye)}}delete(B){return this.has(B)?((0,r.remove)(this.items,B),!0):!1}forEach(B,K){const Se=this.items,He=Object.keys(Se),Ye=He.length;for(let Et=0;Et<Ye;Et++){const bn=He[Et];B.call(K,Se[bn],bn,this)}}get(B){return(0,r.get)(this.items,B)}has(B){return(0,r.has)(this.items,B)}set(B,K){return(0,r.set)(this.items,B,K),this}get size(){return(0,r.keys)(this.items).length}keys(){return(0,r.keys)(this.items)[Symbol.iterator]()}values(){return(0,r.values)(this.items)[Symbol.iterator]()}entries(){return(0,r.entries)(this.items)[Symbol.iterator]()}[Symbol.iterator](){return this.entries()}get[Symbol.toStringTag](){return\"ObjectMap\"}};ls([ou],Xe.prototype,\"clear\",null),ls([ou],Xe.prototype,\"delete\",null),ls([ou],Xe.prototype,\"set\",null),Xe=ls([Hc(`${Ft}/ObjectMap`)],Xe);function yt(T){const B={};if(T){let K=T.length;for(let Se=0;Se<K;Se++){const He=T[Se];B[He[0]]=He[1]}}return new Xe({items:B})}function Ct(T){const B=K=>new on(K,Ir(T));return ti(()=>{const K=Mn.get(Xe),Se=Dr(T),He=(...Qn)=>`ObjectMap<${Se.getTypeName(...Qn,Se)}>`,Ye=Sc(()=>({items:Ge(Se)})),Et=Dr(Ye),bn=new Mo(ar.Object,(Qn,yr,vr)=>Qn instanceof Xe?Et.check(Qn.$,yr,vr):new $e(yr,He(bn),Qn,vr),He,B,Qn=>ye(Qn)?Qn[re]!==void 0?Qn[re]===K.name?bn:null:Et.snapshotType(Qn)?bn:null:null,Qn=>{const yr={};for(const vr of Object.keys(Qn.items))yr[vr]=Se.fromSnapshotProcessor(Qn.items[vr]);return Mu(Rs({},Qn),{[re]:K.name,items:yr})},Qn=>{const yr={};for(const no of Object.keys(Qn.items))yr[no]=Se.toSnapshotProcessor(Qn.items[no]);return Mu(Rs({},Qn),{items:yr})});return bn},B)}class on extends ni{constructor(B,K){super(B),C(this,\"valueType\"),this.valueType=K}get valueTypeInfo(){return si(this.valueType)}}function sn(T){const B=\"Ref\",K=Mn.get(T.refClass),Se=Dr(Sc(()=>({id:Ae}))),He=new Mo(ar.Object,(Ye,Et,bn)=>Ye instanceof cl?Se.check(Ye.$,Et,bn):new $e(Et,B,Ye,bn),()=>B,Ye=>new Nn(Ye),Ye=>ye(Ye)?Ye[re]!==void 0?Ye[re]===K.name?He:null:Se.snapshotType(Ye)?He:null:null,Ye=>Ye[re]?Ye:Mu(Rs({},Ye),{[re]:K.name}),Ye=>Ye);return He}class Nn extends ni{}function Tn(T){const B=[];for(const K of Object.keys(T)){const Se=T[K];!B.includes(Se)&&(typeof Se!=\"string\"&&Se!==+K||T[Se]!==+K)&&B.push(Se)}return B}function Bn(T){X(T,\"enumObject\");const B=Tn(T).map(K=>Re(K));return dc(...B)}function Hn(T,B,K){const Se=He=>new Sr(He,Ir(T),B,K);return ti(()=>{const He=Dr(T),Ye=(...bn)=>{const Qn=He.getTypeName(...bn,He);return`${K||\"refinementOf\"}<${Qn}>`},Et=new Mo(He.baseType,(bn,Qn,yr)=>{const vr=He.check(bn,Qn,yr);if(vr)return vr;const no=B(bn);return no===!0||no==null?null:no===!1?new $e(Qn,Ye(Et),bn,yr):new $e(no.path,no.expectedTypeName,no.actualValue,yr)},Ye,Se,bn=>He.snapshotType(bn),bn=>He.fromSnapshotProcessor(bn),bn=>He.toSnapshotProcessor(bn));return Et},Se)}class Sr extends ni{constructor(B,K,Se,He){super(B),C(this,\"baseType\"),C(this,\"checkFunction\"),C(this,\"typeName\"),this.baseType=K,this.checkFunction=Se,this.typeName=He}get baseTypeInfo(){return si(this.baseType)}}const Cr=Hn(Cn,T=>Number.isInteger(T),\"integer\"),po=Hn(Ae,T=>T!==\"\",\"nonEmpty\");function wo(T){return dc(T,nt)}function Po(T){return dc(T,rt)}function Xo(T,B,K){const Se=He=>new ri(He,Ir(T),B,K);return ti(()=>{const He=Dr(T),Ye=(...bn)=>{const Qn=He.getTypeName(...bn,He);return`${K||\"tagged\"}<${Qn}>`};return new Mo(He.baseType,(bn,Qn,yr)=>He.check(bn,Qn,yr),Ye,Se,bn=>He.snapshotType(bn),bn=>He.fromSnapshotProcessor(bn),bn=>He.toSnapshotProcessor(bn))},Se)}class ri extends ni{constructor(B,K,Se,He){super(B),C(this,\"baseType\"),C(this,\"tag\"),C(this,\"typeName\"),this.baseType=K,this.tag=Se,this.typeName=He}get baseTypeInfo(){return si(this.baseType)}}const ki={literal:Re,undefined:nt,null:rt,boolean:Xt,number:Cn,string:Ae,or:dc,maybe:wo,maybeNull:Po,array:Fu,record:Ge,unchecked:Ec,model:Ki,dataModelData:$i,object:Sc,ref:sn,frozen:fc,enum:Bn,tag:Xo,refinement:Hn,integer:Cr,nonEmptyString:po,objectMap:Ct,arraySet:de,tuple:D,mapArray(T){return Fu(D(Ae,T))},setArray(T){return Fu(T)},mapObject(T){return Ge(T)},dateString:po,dateTimestamp:Cr}}}]);\n"
  },
  {
    "path": "docs-dist/558.58fc54b3.chunk.css",
    "content": "/*!\n * Project: Heti\n * URL: https://github.com/sivan/heti\n * Author: Sivan [sun.sivan@gmail.com]\n */@font-face{font-family:Heti Hei;src:\"Heti Hei SC\",\"Heti Hei TC\",\"Heti Hei JP\",\"Heti Hei KR\"}@font-face{font-family:Heti Hei SC;src:local(\"PingFang SC Regular\"),local(\"Heiti SC Regular\"),local(\"Microsoft YaHei\"),local(\"Source Han Sans CN Regular\"),local(\"Noto Sans CJK SC Regular\"),local(\"WenQuanYi Micro Hei\"),local(\"Droid Sans Fallback\")}@font-face{font-family:Heti Hei TC;src:local(\"PingFang TC Regular\"),local(\"Heiti TC Regular\"),local(\"Microsoft Jhenghei\"),local(\"Source Han Sans HK Regular\"),local(\"Source Han Sans TW Regular\"),local(\"Noto Sans CJK TC Regular\"),local(\"WenQuanYi Micro Hei\"),local(\"Droid Sans Fallback\")}@font-face{font-family:Heti Hei JP;src:local(\"Hiragino Sans GB W3\"),local(\"Source Han Sans JP Regular\"),local(\"Noto Sans CJK JP Regular\"),local(\"Droid Sans Fallback\")}@font-face{font-family:Heti Hei KR;src:local(\"Source Han Sans KR Regular\"),local(\"Noto Sans CJK KR Regular\"),local(\"Droid Sans Fallback\")}@font-face{font-family:Heti Hei;font-weight:200;src:\"Heti Hei SC Light\",\"Heti Hei TC Light\",\"Heti Hei JP Light\",\"Heti Hei KR Light\"}@font-face{font-family:Heti Hei SC Light;font-weight:200;src:local(\"PingFang SC Light\"),local(\"Heiti SC Light\"),\"Heti Hei SC Light Fallback\",local(\"Source Han Sans CN Light\"),local(\"Noto Sans CJK SC Light\")}@font-face{font-family:Heti Hei TC Light;font-weight:200;src:local(\"PingFang TC Light\"),local(\"Heiti TC Light\"),local(\"Microsoft Jhenghei Light\"),local(\"Source Han Sans HK Light\"),local(\"Source Han Sans TW Light\"),local(\"Noto Sans CJK TC Light\")}@font-face{font-family:Heti Hei JP Light;font-weight:200;src:local(\"Source Han Sans JP Light\"),local(\"Noto Sans CJK JP Light\")}@font-face{font-family:Heti Hei KR Light;font-weight:200;src:local(\"Source Han Sans KR Light\"),local(\"Noto Sans CJK KR Light\")}@font-face{font-family:Heti Hei SC Light Fallback;font-weight:200;src:local(\"Microsoft YaHei\"),local(\"Droid Sans Fallback\")}@font-face{font-family:Heti Hei;font-weight:600;src:\"Heti Hei SC Bold\",\"Heti Hei TC Bold\",\"Heti Hei JP Bold\",\"Heti Hei KR Bold\"}@font-face{font-family:Heti Hei SC Bold;font-weight:600;src:local(\"PingFang SC Medium\"),local(\"Heiti SC Medium\"),\"Heti Hei SC Bold Fallback\",local(\"Source Han Sans CN Bold\"),local(\"Noto Sans CJK SC Bold\")}@font-face{font-family:Heti Hei TC Bold;font-weight:600;src:local(\"PingFang TC Medium\"),local(\"Heiti TC Medium\"),local(\"Microsoft Jhenghei Bold\"),local(\"Source Han Sans HK Bold\"),local(\"Source Han Sans TW Bold\"),local(\"Noto Sans CJK TC Bold\")}@font-face{font-family:Heti Hei JP Bold;font-weight:600;src:local(\"Hiragino Sans GB W6\"),local(\"Source Han Sans JP Bold\"),local(\"Noto Sans CJK JP Bold\")}@font-face{font-family:Heti Hei KR Bold;font-weight:600;src:local(\"Source Han Sans KR Bold\"),local(\"Noto Sans CJK KR Bold\")}@font-face{font-family:Heti Hei SC Bold Fallback;font-weight:600;src:local(\"Microsoft YaHei\"),local(\"Droid Sans Fallback\")}@font-face{font-family:Heti Hei Black;font-weight:800;src:\"Heti Hei SC Black\",\"Heti Hei TC Black\",\"Heti Hei JP Black\",\"Heti Hei KR Black\"}@font-face{font-family:Heti Hei SC Black;font-weight:800;src:local(\"Lantinghei SC Heavy\"),local(\"PingFang SC Semibold\"),local(\"Heiti SC Medium\"),\"Heti Hei SC Black Fallback\",local(\"Source Han Sans CN Heavy\"),local(\"Noto Sans CJK SC Heavy\")}@font-face{font-family:Heti Hei TC Black;font-weight:800;src:local(\"Lantinghei TC Heavy\"),local(\"PingFang TC Semibold\"),local(\"Heiti TC Medium\"),local(\"Microsoft Jhenghei Bold\"),local(\"Source Han Sans HK Heavy\"),local(\"Source Han Sans TW Heavy\"),local(\"Noto Sans CJK TC Heavy\")}@font-face{font-family:Heti Hei JP Black;font-weight:800;src:local(\"Hiragino Sans GB W6\"),local(\"Source Han Sans JP Heavy\"),local(\"Noto Sans CJK JP Heavy\")}@font-face{font-family:Heti Hei KR Black;font-weight:800;src:local(\"Source Han Sans KR Heavy\"),local(\"Noto Sans CJK KR Heavy\")}@font-face{font-family:Heti Hei SC Black Fallback;font-weight:800;src:local(\"Microsoft YaHei\"),local(\"Droid Sans Fallback\")}@font-face{font-family:Heti Song;src:local(\"Songti SC Regular\"),local(\"Songti TC Regular\"),local(\"SimSun\")}@font-face{font-family:Heti Song;font-weight:200;src:local(\"Songti SC Light\"),local(\"Songti TC Light\"),\"Heti Song Light Fallback\"}@font-face{font-family:Heti Song Light Fallback;font-weight:200;src:local(\"SimSun\")}@font-face{font-family:Heti Song;font-weight:600;src:local(\"Songti SC Bold\"),local(\"Songti TC Bold\"),\"Heti Song Bold Fallback\"}@font-face{font-family:Heti Song Bold Fallback;font-weight:600;src:local(\"SimSun\")}@font-face{font-family:Heti Song Black;font-weight:800;src:local(\"Songti SC Black\"),local(\"SimSun\")}@font-face{font-family:Heti Kai;src:local(\"Kaiti SC Regular\"),local(\"Kaiti TC Regular\"),local(\"STKaiti\"),local(\"Kaiti\"),local(\"BiauKai\")}@font-face{font-family:Heti Kai;font-weight:600;src:local(\"Kaiti SC Bold\"),local(\"Kaiti TC Bold\")}@font-face{font-family:Heti Kai Bold Fallback;font-weight:600;src:local(\"STKaiti\"),local(\"Kaiti\") local(\"BiauKai\")}@font-face{font-family:Heti Kai Black;font-weight:800;src:local(\"Kaiti SC Black\"),local(\"Kaiti TC Black\"),local(\"STKaiti\"),local(\"Kaiti\")}.markdown{max-width:100%;font-size:16px;font-weight:400;-webkit-font-smoothing:subpixel-antialiased;line-height:1.5;overflow-wrap:break-word;word-wrap:break-word;hyphens:auto;letter-spacing:.02em}.markdown:before,.markdown:after{content:\"\";display:table}.markdown:after{clear:both}.markdown>*:first-child,.markdown section>*:first-child,.markdown td>*:first-child{margin-block-start:0!important}.markdown>*:last-child,.markdown section>*:last-child,.markdown td>*:last-child{margin-block-end:0!important}.markdown blockquote{margin-block-start:12px;margin-block-end:24px;margin-inline-start:32px;margin-inline-end:32px;padding-block-start:12px;padding-block-end:12px;padding-inline-start:16px;padding-inline-end:16px;background-color:#0000000e}@media (prefers-color-scheme: dark){.markdown blockquote{background-color:#ffffff0e}}.markdown figure{display:block;text-align:center}.markdown figure>img{display:block;margin-inline-start:auto;margin-inline-end:auto}.markdown hr{width:30%;height:1px;margin-block-start:48px;margin-block-end:47px;margin-inline-start:auto;margin-inline-end:auto;border:0;background-color:#ccc}@media (prefers-color-scheme: dark){.markdown hr{background-color:#404040}}.markdown p{margin-block-start:12px;margin-block-end:24px;text-align:justify}.markdown p:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)),.markdown p:not(:lang(zh)){text-align:start}.markdown pre{margin-block-start:12px;margin-block-end:12px;margin-inline-start:0;margin-inline-end:0;padding-block-start:12px;padding-block-end:12px;padding-inline-start:16px;padding-inline-end:16px;overflow:auto;font-family:SFMono-Regular,consolas,Liberation Mono,menlo,courier,monospace,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol;white-space:pre;word-wrap:normal;border-radius:4px;background-color:#0000000e}@media (prefers-color-scheme: dark){.markdown pre{background-color:#ffffff0e}}.markdown pre code{margin:0;padding:0;border:0;border-radius:0;background-color:#0000;color:inherit}.markdown:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)),.markdown:not(:lang(zh)){letter-spacing:0}.markdown a,.markdown abbr,.markdown code,.markdown heti-spacing,.markdown [lang=en-US]{letter-spacing:normal}.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6{position:relative;margin:0;margin-block-start:24px;margin-block-end:12px;font-weight:600}.markdown h1{margin-block-end:24px;font-size:32px;line-height:48px}.markdown h2{font-size:24px;line-height:36px}.markdown h3{font-size:20px;line-height:36px}.markdown h4{font-size:18px;line-height:24px}.markdown h5{font-size:16px;line-height:24px}.markdown h6{font-size:14px;line-height:24px}.markdown h1,.markdown h2,.markdown h3{letter-spacing:.05em}.markdown h1:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)),.markdown h1:not(:lang(zh)),.markdown h2:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)),.markdown h2:not(:lang(zh)),.markdown h3:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)),.markdown h3:not(:lang(zh)){letter-spacing:0}.markdown h1+h2,.markdown h2+h3,.markdown h3+h4,.markdown h4+h5,.markdown h5+h6{margin-block-start:12px}.markdown ul,.markdown ol,.markdown dl{margin-block-start:12px;margin-block-end:24px}.markdown ul,.markdown ol{padding-inline-start:32px}.markdown ul ul,.markdown ul ol,.markdown ol ul,.markdown ol ol{margin-block-start:0;margin-block-end:0}.markdown ul{list-style-type:disc}.markdown ol{list-style-type:decimal}.markdown ul ul,.markdown ol ul{list-style-type:circle}.markdown ul ul ul,.markdown ul ol ul,.markdown ol ul ul,.markdown ol ol ul{list-style-type:square}.markdown li{list-style-type:unset}.markdown table{box-sizing:border-box;table-layout:fixed;margin-block-start:12px;margin-block-end:24px;margin-inline-start:auto;margin-inline-end:auto;border-collapse:collapse;border-width:1px;border-style:solid;border-color:#ccc;word-break:break-word}@media (prefers-color-scheme: dark){.markdown table{border-color:#404040}}.markdown th,.markdown td{padding-block-start:6px;padding-block-end:6px;padding-inline-start:8px;padding-inline-end:8px;border-width:1px;border-style:solid;border-color:#ccc}@media (prefers-color-scheme: dark){.markdown th,.markdown td{border-color:#404040}}.markdown caption{caption-side:bottom;margin-block-start:2px;margin-block-end:-4px;font-size:14px;line-height:24px}.markdown a{text-decoration:none}.markdown a:hover{padding-block-end:1px;border-block-end:1px solid currentColor;text-decoration:none}.markdown abbr[title]{padding-block-end:1px;border-block-end:1px dotted;text-decoration:none;cursor:help}.markdown b,.markdown strong{font-weight:600}.markdown code{margin-inline-start:.25em;margin-inline-end:.25em;font-family:SFMono-Regular,consolas,Liberation Mono,menlo,courier,monospace,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol;font-size:.875em}.markdown dfn{font-weight:600}.markdown dfn:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)),.markdown dfn:not(:lang(zh)){font-weight:400}.markdown em{font-weight:600}.markdown figcaption{display:inline-block;vertical-align:top;font-size:14px;text-align:start}.markdown i{font-style:italic}.markdown ins,.markdown u{padding-block-end:1px;border-block-end:1px solid;text-decoration:none}.markdown mark{padding-block-start:2px;padding-block-end:2px;padding-inline-start:1px;padding-inline-end:1px;margin-inline-start:1px;margin-inline-end:1px;background-color:#fff700e0;color:inherit}@media (prefers-color-scheme: dark){.markdown mark{background-color:#4d4a00e0}}.markdown q{quotes:\"\\300c\" \"\\300d\" \"\\300e\" \"\\300f\"}.markdown q:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)),.markdown q:not(:lang(zh)){quotes:initial;quotes:auto}.markdown rt{font-size:.875em;font-weight:400}.markdown small{font-size:.875em}.markdown strong{font-weight:600}.markdown sub,.markdown sup{position:relative;margin-inline-start:.25em;margin-inline-end:.25em;font-size:.75em;font-family:Helvetica Neue,helvetica,arial,Heti Hei,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol;font-style:normal;line-height:1;vertical-align:baseline}.markdown sub{bottom:-.25em}.markdown sup{top:-.5em}.markdown sup:target,.markdown sup a:target{background-color:#dbedff}@media (prefers-color-scheme: dark){.markdown sup:target,.markdown sup a:target{background-color:#3a6188}}.markdown summary{padding-inline-start:1em;outline:0;cursor:pointer}.markdown summary::-webkit-details-marker{width:.6em;margin-inline-end:.4em}.markdown u[title]{cursor:help;border-block-end-width:3px;border-block-end-style:double;border-block-end-color:#0000008a}@media (prefers-color-scheme: dark){.markdown u[title]{border-block-end-color:#ffffff8a}}.markdown address,.markdown cite,.markdown dfn,.markdown dt,.markdown em{font-style:normal}.markdown address:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)),.markdown address:not(:lang(zh)),.markdown cite:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)),.markdown cite:not(:lang(zh)),.markdown dfn:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)),.markdown dfn:not(:lang(zh)),.markdown dt:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)),.markdown dt:not(:lang(zh)),.markdown em:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)),.markdown em:not(:lang(zh)){font-style:italic}.markdown abbr[title],.markdown del,.markdown ins,.markdown s,.markdown u{margin-inline-start:1px;margin-inline-end:1px}.markdown,.markdown--sans{font-family:Helvetica Neue,helvetica,arial,Heti Hei,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol}.markdown--serif,.markdown--classic{font-family:Times New Roman,times,Heti Song,serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol}.markdown--classic h1,.markdown--classic h2,.markdown--classic h3,.markdown--classic h4,.markdown--classic h5,.markdown--classic h6{font-family:Times New Roman,times,Heti Kai Black,serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol;font-weight:800}.markdown--classic blockquote,.markdown--classic cite,.markdown--classic q{font-family:Times New Roman,times,Heti Kai,serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol}.markdown--classic figcaption,.markdown--classic caption,.markdown--classic th{font-family:Helvetica Neue,helvetica,arial,Heti Hei,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol}.markdown--hei{font-family:Helvetica Neue,helvetica,arial,Heti Hei,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol}.markdown--song{font-family:Times New Roman,times,Heti Song,serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol}.markdown--kai{font-family:Times New Roman,times,Heti Kai,serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol}.markdown--columns-1,.markdown--columns-2,.markdown--columns-3,.markdown--columns-4,.markdown--columns-16em,.markdown--columns-20em,.markdown--columns-24em,.markdown--columns-28em,.markdown--columns-32em,.markdown--columns-36em,.markdown--columns-40em,.markdown--columns-44em,.markdown--columns-48em,.markdown comma{max-width:none;column-gap:2em}.markdown--columns-1 p,.markdown--columns-2 p,.markdown--columns-3 p,.markdown--columns-4 p,.markdown--columns-16em p,.markdown--columns-20em p,.markdown--columns-24em p,.markdown--columns-28em p,.markdown--columns-32em p,.markdown--columns-36em p,.markdown--columns-40em p,.markdown--columns-44em p,.markdown--columns-48em p,.markdown comma p{margin-block-start:6px;margin-block-end:12px;text-indent:2em}.markdown--columns-1{column-count:1}.markdown--columns-2{column-count:2}.markdown--columns-3{column-count:3}.markdown--columns-4{column-count:4}.markdown--columns-16em{column-width:16em}.markdown--columns-20em{column-width:20em}.markdown--columns-24em{column-width:24em}.markdown--columns-28em{column-width:28em}.markdown--columns-32em{column-width:32em}.markdown--columns-36em{column-width:36em}.markdown--columns-40em{column-width:40em}.markdown--columns-44em{column-width:44em}.markdown--columns-48em{column-width:48em}.markdown--vertical{max-width:none;max-height:100%;writing-mode:vertical-rl;letter-spacing:.125em}.markdown--vertical h1,.markdown--vertical h2,.markdown--vertical h3,.markdown--vertical h4,.markdown--vertical h5,.markdown--vertical h6{text-align:start}.markdown--vertical q{quotes:\"\\300c\" \"\\300d\" \"\\300e\" \"\\300f\"}.markdown--ancient,.markdown--poetry{font-family:Times New Roman,times,Heti Song,serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol}.markdown--ancient h1,.markdown--ancient h2,.markdown--ancient h3,.markdown--ancient h4,.markdown--ancient h5,.markdown--ancient h6,.markdown--poetry h1,.markdown--poetry h2,.markdown--poetry h3,.markdown--poetry h4,.markdown--poetry h5,.markdown--poetry h6{font-family:Times New Roman,times,Heti Kai Black,serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol;font-weight:800;text-align:center}.markdown--ancient h1 .markdown-meta,.markdown--ancient h2 .markdown-meta,.markdown--ancient h3 .markdown-meta,.markdown--ancient h4 .markdown-meta,.markdown--ancient h5 .markdown-meta,.markdown--ancient h6 .markdown-meta,.markdown--poetry h1 .markdown-meta,.markdown--poetry h2 .markdown-meta,.markdown--poetry h3 .markdown-meta,.markdown--poetry h4 .markdown-meta,.markdown--poetry h5 .markdown-meta,.markdown--poetry h6 .markdown-meta{font-weight:400}@media screen and (min-width: 640px){.markdown--ancient h1 .markdown-meta,.markdown--ancient h2 .markdown-meta,.markdown--ancient h3 .markdown-meta,.markdown--ancient h4 .markdown-meta,.markdown--ancient h5 .markdown-meta,.markdown--ancient h6 .markdown-meta,.markdown--poetry h1 .markdown-meta,.markdown--poetry h2 .markdown-meta,.markdown--poetry h3 .markdown-meta,.markdown--poetry h4 .markdown-meta,.markdown--poetry h5 .markdown-meta,.markdown--poetry h6 .markdown-meta{position:absolute;line-height:inherit;text-indent:0;display:inline;margin-block-start:4px;margin-inline-start:8px}}.markdown--ancient .markdown-meta,.markdown--poetry .markdown-meta{line-height:24px;text-align:center;text-indent:0}.markdown--ancient p{text-indent:2em}.markdown--poetry p{text-align:center;text-indent:0}.markdown--annotation p{margin-block-start:0;margin-block-end:0;line-height:2.25;text-indent:2em}.markdown--annotation em{-webkit-text-emphasis:filled circle;-webkit-text-emphasis-position:under;text-emphasis:filled circle;text-emphasis-position:under right;font-weight:400}.markdown--annotation em:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)),.markdown--annotation em:not(:lang(zh)){-webkit-text-emphasis:none;text-emphasis:none}.markdown--annotation .markdown-meta{margin-block-start:12px;margin-block-end:24px}.markdown .markdown-meta{display:block;text-indent:0}.markdown .markdown-verse{text-align:center;text-indent:0}.markdown .markdown-large{font-size:18px;line-height:24px}.markdown .markdown-x-large{font-size:20px;line-height:30px;letter-spacing:.05em}.markdown .markdown-small{font-size:14px;line-height:24px}.markdown .markdown-x-small{font-size:12px;line-height:18px}.markdown .markdown-list-latin{list-style-type:upper-latin}.markdown .markdown-list-latin ol{list-style-type:lower-roman}.markdown .markdown-list-latin ol ol{list-style-type:lower-latin}.markdown .markdown-list-han{list-style-type:cjk-ideographic}.markdown .markdown-list-han ol{list-style-type:decimal}.markdown .markdown-list-han ol ol{list-style-type:decimal-leading-zero}.markdown .markdown-fn{margin-block-start:59px;border-block-start:1px solid;border-block-start-color:#ccc;font-size:14px;font-family:Helvetica Neue,helvetica,arial,Heti Hei,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol;line-height:24px}@media (prefers-color-scheme: dark){.markdown .markdown-fn{border-block-start-color:#404040}}.markdown .markdown-fn ol{margin-block-start:12px;margin-block-end:0}.markdown .markdown-fn li:target{background-color:#dbedff}@media (prefers-color-scheme: dark){.markdown .markdown-fn li:target{background-color:#3a6188}}.markdown .markdown-hang{position:absolute;line-height:inherit;text-indent:0}.markdown .markdown-em{-webkit-text-emphasis:filled circle;-webkit-text-emphasis-position:under;text-emphasis:filled circle;text-emphasis-position:under right}.markdown .markdown-em:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)),.markdown .markdown-em:not(:lang(zh)){-webkit-text-emphasis:none;text-emphasis:none}.markdown .markdown-ruby--inline{display:inline-flex;flex-direction:column-reverse;height:1.5em;vertical-align:top}.markdown .markdown-ruby--inline rt{display:inline;margin-bottom:-.25em;line-height:1;text-align:center}.markdown heti-spacing{display:inline}.markdown heti-spacing+sup,.markdown heti-spacing+sub{margin-inline-start:0}.markdown .heti-spacing-start{margin-inline-end:.25em}.markdown .heti-spacing-end{margin-inline-start:.25em}.markdown heti-adjacent{display:inline}.markdown .heti-adjacent-half{margin-inline-end:-.5em}.markdown .heti-adjacent-quarter{margin-inline-end:-.25em}.markdown{color:#30363f}[data-prefers-color=dark] .markdown{color:#c6c9cd}.markdown a{color:#1677ff}[data-prefers-color=dark] .markdown a{color:#0053c8}.markdown img{max-width:100%}[data-prefers-color=dark] .markdown img{opacity:.8}.markdown *:not(pre) code{padding:2px 5px;color:#d56161;background:#f0f4f8;border-radius:2px}[data-prefers-color=dark] .markdown *:not(pre) code{background:#0d141a}.markdown pre{font-size:14px;padding-left:24px;padding-right:24px;background-color:#fbfcfd}[data-prefers-color=dark] .markdown pre{background-color:#020305}.markdown table{width:100%;table-layout:auto}.markdown th{background-color:#fbfcfd}[data-prefers-color=dark] .markdown th{background-color:#020305}.markdown th,.markdown td{padding-block-start:10px;padding-block-end:10px;padding-inline-start:16px;padding-inline-end:16px;border-color:#e4e9ec}[data-prefers-color=dark] .markdown th,[data-prefers-color=dark] .markdown td{border-color:#2a353c}.markdown blockquote{font-style:italic;margin-inline-start:0;margin-inline-end:0;background-color:#fbfcfd;border-left:5px solid #e4e9ec}[data-prefers-color=dark] .markdown blockquote{background-color:#020305;border-left-color:#2a353c}.markdown ul li{line-height:1.8}.markdown h1>a[aria-hidden]:first-child,.markdown h2>a[aria-hidden]:first-child,.markdown h3>a[aria-hidden]:first-child,.markdown h4>a[aria-hidden]:first-child,.markdown h5>a[aria-hidden]:first-child,.markdown h6>a[aria-hidden]:first-child{float:left;width:20px;padding-inline-end:4px;margin-inline-start:-24px;color:#30363f;font-size:0;text-align:right;line-height:inherit}[data-prefers-color=dark] .markdown h1>a[aria-hidden]:first-child,[data-prefers-color=dark] .markdown h2>a[aria-hidden]:first-child,[data-prefers-color=dark] .markdown h3>a[aria-hidden]:first-child,[data-prefers-color=dark] .markdown h4>a[aria-hidden]:first-child,[data-prefers-color=dark] .markdown h5>a[aria-hidden]:first-child,[data-prefers-color=dark] .markdown h6>a[aria-hidden]:first-child{color:#c6c9cd}[data-direction=rtl] .markdown h1>a[aria-hidden]:first-child,[data-direction=rtl] .markdown h2>a[aria-hidden]:first-child,[data-direction=rtl] .markdown h3>a[aria-hidden]:first-child,[data-direction=rtl] .markdown h4>a[aria-hidden]:first-child,[data-direction=rtl] .markdown h5>a[aria-hidden]:first-child,[data-direction=rtl] .markdown h6>a[aria-hidden]:first-child{float:right}.markdown h1>a[aria-hidden]:first-child:hover,.markdown h2>a[aria-hidden]:first-child:hover,.markdown h3>a[aria-hidden]:first-child:hover,.markdown h4>a[aria-hidden]:first-child:hover,.markdown h5>a[aria-hidden]:first-child:hover,.markdown h6>a[aria-hidden]:first-child:hover{border:0}.markdown h1>a[aria-hidden]:first-child>.icon-link:before,.markdown h2>a[aria-hidden]:first-child>.icon-link:before,.markdown h3>a[aria-hidden]:first-child>.icon-link:before,.markdown h4>a[aria-hidden]:first-child>.icon-link:before,.markdown h5>a[aria-hidden]:first-child>.icon-link:before,.markdown h6>a[aria-hidden]:first-child>.icon-link:before{content:\"#\";color:#4f5866;font-size:20px}[data-prefers-color=dark] .markdown h1>a[aria-hidden]:first-child>.icon-link:before,[data-prefers-color=dark] .markdown h2>a[aria-hidden]:first-child>.icon-link:before,[data-prefers-color=dark] .markdown h3>a[aria-hidden]:first-child>.icon-link:before,[data-prefers-color=dark] .markdown h4>a[aria-hidden]:first-child>.icon-link:before,[data-prefers-color=dark] .markdown h5>a[aria-hidden]:first-child>.icon-link:before,[data-prefers-color=dark] .markdown h6>a[aria-hidden]:first-child>.icon-link:before{color:#8590a0}.markdown h1:not(:hover)>a[aria-hidden]:first-child>.icon-link,.markdown h2:not(:hover)>a[aria-hidden]:first-child>.icon-link,.markdown h3:not(:hover)>a[aria-hidden]:first-child>.icon-link,.markdown h4:not(:hover)>a[aria-hidden]:first-child>.icon-link,.markdown h5:not(:hover)>a[aria-hidden]:first-child>.icon-link,.markdown h6:not(:hover)>a[aria-hidden]:first-child>.icon-link{visibility:hidden}.dumi-default-content{flex:1 1;min-width:0;max-width:100%;box-sizing:border-box}.dumi-default-content:not([data-no-sidebar]){padding:48px 48px 0;background-color:#fff;border-top-left-radius:10px;border-top-right-radius:10px;box-shadow:0 8px 24px #0000000d}[data-prefers-color=dark] .dumi-default-content:not([data-no-sidebar]){background-color:#0a0e13}.dumi-default-content:not([data-no-sidebar])[data-no-footer]{padding-bottom:48px}@media only screen and (max-width: 767px){.dumi-default-content:not([data-no-sidebar]){max-width:initial;margin:0 -24px;padding:24px 24px 0;border-radius:0;box-shadow:none}.dumi-default-content:not([data-no-sidebar])[data-no-footer]{padding:24px}}.dumi-default-header+main>.dumi-default-content,.dumi-default-doc-layout-mobile-bar+main>.dumi-default-content{min-height:calc(100vh - 76px)}@media only screen and (max-width: 767px){.dumi-default-header+main>.dumi-default-content,.dumi-default-doc-layout-mobile-bar+main>.dumi-default-content{min-height:calc(100vh - 52px)}}.dumi-default-content[data-no-sidebar][data-no-footer]{margin-bottom:48px}@media only screen and (max-width: 767px){.dumi-default-content[data-no-sidebar][data-no-footer]{margin-bottom:24px}}.dumi-default-features{margin:0 auto 48px;max-width:1392px;padding:0 24px;overflow:hidden;box-sizing:border-box}.dumi-default-features[data-cols=\"2\"]>.dumi-default-features-item{width:46%}.dumi-default-features[data-cols=\"2\"]>.dumi-default-features-item:nth-child(odd){margin-inline-end:8%}@media only screen and (max-width: 767px){.dumi-default-features[data-cols=\"2\"]>.dumi-default-features-item{width:100%;margin-inline-end:0}}.dumi-default-features[data-cols=\"3\"]>.dumi-default-features-item{width:31.4%}.dumi-default-features[data-cols=\"3\"]>.dumi-default-features-item:not(:nth-child(3n)){margin-inline-end:2.9%}@media only screen and (max-width: 767px){.dumi-default-features[data-cols=\"3\"]>.dumi-default-features-item{width:100%;margin-inline-end:0}}.dumi-default-features-item{margin:12px 0;float:left}.dumi-default-features-item>i{font-size:64px;font-style:normal}@media only screen and (max-width: 767px){.dumi-default-features-item>i{font-size:48px}}.dumi-default-features-item>h3{margin:4px 0;color:#30363f;font-weight:400;font-size:20px}[data-prefers-color=dark] .dumi-default-features-item>h3{color:#c6c9cd}.dumi-default-features-item>h3 a{color:#1677ff}[data-prefers-color=dark] .dumi-default-features-item>h3 a{color:#0053c8}.dumi-default-features-item>h3 a:not(:hover){text-decoration:none}@media only screen and (max-width: 767px){.dumi-default-features-item>h3{font-size:18px}}.dumi-default-features-item>p{margin:12px 0;color:#4f5866;font-size:16px;line-height:1.475}[data-prefers-color=dark] .dumi-default-features-item>p{color:#8590a0}@media only screen and (max-width: 767px){.dumi-default-features-item>p{font-size:14px}}.dumi-default-features-item>p a{color:#1677ff}[data-prefers-color=dark] .dumi-default-features-item>p a{color:#0053c8}.dumi-default-features-item>p a:not(:hover){text-decoration:none}.dumi-default-footer{margin-top:48px;border-top:1px solid #e4e9ec;color:#8a9099;font-size:15px;line-height:26px;text-align:center;padding:28.8px 0}[data-prefers-color=dark] .dumi-default-footer{border-top-color:#2a353c;color:#616d7f}@media only screen and (max-width: 767px){.dumi-default-footer{padding:14.4px 0;font-size:13px}}.dumi-default-footer a{color:#1677ff}[data-prefers-color=dark] .dumi-default-footer a{color:#0053c8}.dumi-default-footer a:not(:hover){text-decoration:none}.dumi-default-color-switch{position:relative;font-size:0;line-height:0}@media screen and (max-width: 1430px){.dumi-default-color-switch:before{left:auto;right:auto;inset-inline-end:-15px;transform:none}[class*=-switch]+.dumi-default-color-switch:before{inset-inline-end:0}}[class*=-switch]+.dumi-default-color-switch{margin-inline-start:15px;margin-inline-end:-15px;padding-inline:15px;border-inline-start:1px solid #d0d5d8}[data-prefers-color=dark] [class*=-switch]+.dumi-default-color-switch{border-inline-start-color:#1c2022}.dumi-default-color-switch svg{width:16px;fill:#4f5866}[data-prefers-color=dark] .dumi-default-color-switch svg{fill:#8590a0}.dumi-default-color-switch:hover svg{fill:#1677ff}[data-prefers-color=dark] .dumi-default-color-switch:hover svg{fill:#0053c8}.dumi-default-color-switch select{position:absolute;top:0;left:0;opacity:0;max-width:100%;max-height:16px;cursor:pointer}.dumi-default-logo{display:inline-flex;align-items:center;color:#30363f;font-size:22px;line-height:1;font-weight:700;text-decoration:none}[data-prefers-color=dark] .dumi-default-logo{color:#c6c9cd}@media only screen and (max-width: 767px){.dumi-default-logo{font-size:18px}.dumi-default-logo img{height:32px}}.dumi-default-logo img{margin-inline-end:10px;height:40px}@media only screen and (max-width: 767px){.dumi-default-logo img{height:32px}}.dumi-default-navbar{list-style:none;margin:0;padding:0;display:flex;align-items:center}@media only screen and (max-width: 767px){.dumi-default-navbar{display:block;padding-top:24px}}.dumi-default-navbar>li{font-size:18px;line-height:1;text-align:center}@media only screen and (max-width: 767px){.dumi-default-navbar>li{padding:12px 0}}.dumi-default-navbar>li>a{color:#4f5866;text-decoration:none;transition:all .3s}[data-prefers-color=dark] .dumi-default-navbar>li>a{color:#8590a0}.dumi-default-navbar>li>a:hover{color:#1677ff}[data-prefers-color=dark] .dumi-default-navbar>li>a:hover{color:#0053c8}.dumi-default-navbar>li>a.active{color:#30363f;font-weight:700}[data-prefers-color=dark] .dumi-default-navbar>li>a.active{color:#c6c9cd}.dumi-default-navbar>li:not(:last-child){margin-inline-end:48px}@media only screen and (max-width: 767px){.dumi-default-navbar>li:not(:last-child){margin-inline-end:0}}.dumi-default-lang-switch{color:#4f5866;font-size:14px;line-height:16px;text-decoration:none;transition:all .3s;cursor:pointer}[data-prefers-color=dark] .dumi-default-lang-switch{color:#8590a0}.dumi-default-lang-switch:hover{color:#1677ff}[data-prefers-color=dark] .dumi-default-lang-switch:hover{color:#0053c8}.dumi-default-lang-select{display:inline-flex;align-items:center}.dumi-default-lang-select>select{-webkit-appearance:none;appearance:none;padding:6px 0;padding-inline-start:10px;padding-inline-end:18px;color:#4f5866;text-align:right;font-size:14px;line-height:1;border:0;background-color:transparent}[data-prefers-color=dark] .dumi-default-lang-select>select{color:#8590a0}.dumi-default-lang-select>svg{margin-inline-start:-16px;width:12px;fill:#b4bcc1;pointer-events:none}[data-prefers-color=dark] .dumi-default-lang-select>svg{fill:#333a3e}.dumi-default-rtl-switch{height:16px;-webkit-appearance:none;appearance:none;border:0;background-color:transparent;cursor:pointer}[class*=-switch]+.dumi-default-rtl-switch{margin-inline-start:15px;margin-inline-end:-15px;padding-inline:15px;border-inline-start:1px solid #e4e9ec}.dumi-default-rtl-switch>svg{height:16px;fill:#4f5866}[data-prefers-color=dark] .dumi-default-rtl-switch>svg{fill:#8590a0}.dumi-default-rtl-switch:hover svg{fill:#1677ff}[data-prefers-color=dark] .dumi-default-rtl-switch:hover svg{fill:#0053c8}html[data-direction=rtl]{direction:rtl}.dumi-default-search-result>dl{margin:2px 0}.dumi-default-search-result>dl>dt{height:30px;padding:0 16px;font-weight:700;font-size:14px;line-height:30px;color:#4f5866;background-color:#e4e9ec}[data-prefers-color=dark] .dumi-default-search-result>dl>dt{color:#8590a0;background-color:#2a353c}.dumi-default-search-result>dl>dt:first-child{margin-top:-2px}.dumi-default-search-result>dl>dt+dd{margin-top:2px}.dumi-default-search-result>dl>dd{margin:0 4px;padding:2px 0}.dumi-default-search-result>dl>dd+dd{border-top:1px dashed #e4e9ec}[data-prefers-color=dark] .dumi-default-search-result>dl>dd+dd{border-top-color:#2a353c}.dumi-default-search-result>dl>dd+dt{margin-top:2px}.dumi-default-search-result>dl>dd>a{position:relative;display:flex;height:60px;flex-direction:column;justify-content:center;padding-top:6px;padding-bottom:8px;padding-inline-start:54px;padding-inline-end:12px;text-decoration:none;box-sizing:border-box;border-radius:4px}.dumi-default-search-result>dl>dd>a[data-active],.dumi-default-search-result>dl>dd>a:hover{background-color:#1677ff}[data-prefers-color=dark] .dumi-default-search-result>dl>dd>a[data-active],[data-prefers-color=dark] .dumi-default-search-result>dl>dd>a:hover{background-color:#00183a}.dumi-default-search-result>dl>dd>a[data-active]>h4,.dumi-default-search-result>dl>dd>a:hover>h4,.dumi-default-search-result>dl>dd>a[data-active]>p,.dumi-default-search-result>dl>dd>a:hover>p{color:#fff}[data-prefers-color=dark] .dumi-default-search-result>dl>dd>a[data-active]>h4,[data-prefers-color=dark] .dumi-default-search-result>dl>dd>a:hover>h4,[data-prefers-color=dark] .dumi-default-search-result>dl>dd>a[data-active]>p,[data-prefers-color=dark] .dumi-default-search-result>dl>dd>a:hover>p{color:#ccc}.dumi-default-search-result>dl>dd>a[data-active]>svg,.dumi-default-search-result>dl>dd>a:hover>svg{fill:#fff}[data-prefers-color=dark] .dumi-default-search-result>dl>dd>a[data-active]>svg,[data-prefers-color=dark] .dumi-default-search-result>dl>dd>a:hover>svg{fill:#ccc}.dumi-default-search-result>dl>dd>a>svg{position:absolute;top:14px;inset-inline-start:14px;width:32px;height:32px;fill:#c2c9cc}[data-prefers-color=dark] .dumi-default-search-result>dl>dd>a>svg{fill:#282d30}.dumi-default-search-result>dl>dd>a>h4,.dumi-default-search-result>dl>dd>a>p{margin:0;line-height:1.4;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.dumi-default-search-result>dl>dd>a>h4{color:#4f5866;font-size:14px}[data-prefers-color=dark] .dumi-default-search-result>dl>dd>a>h4{color:#8590a0}.dumi-default-search-result>dl>dd>a>p{margin-top:2px;font-size:13px;color:#8a9099}[data-prefers-color=dark] .dumi-default-search-result>dl>dd>a>p{color:#616d7f}.dumi-default-search-result>dl>dd>a>p:empty{display:none}.dumi-default-search-result mark{color:#484607;padding:0 2px;border-radius:2px;background-color:#fff9c5}[data-prefers-color=dark] .dumi-default-search-result mark{color:#939147;background-color:#382506}.dumi-default-search-result .dumi-default-search-empty{display:flex;height:140px;align-items:center;justify-content:center;color:#8a9099;font-size:16px}[data-prefers-color=dark] .dumi-default-search-result .dumi-default-search-empty{color:#616d7f}.dumi-default-search-result .dumi-default-search-empty>svg{margin-inline-end:8px;width:48px;fill:#c0c4c9}[data-prefers-color=dark] .dumi-default-search-result .dumi-default-search-empty>svg{fill:#343b45}.dumi-default-search-bar{position:relative}@media only screen and (max-width: 767px){.dumi-default-search-bar{display:none}}.dumi-default-search-bar:not(:last-child){margin-inline-end:28px}.dumi-default-search-bar-svg{position:absolute;top:50%;margin-top:1px;inset-inline-start:16px;width:16px;fill:#8a9099;transform:translateY(-50%)}[data-prefers-color=dark] .dumi-default-search-bar-svg{fill:#616d7f}.dumi-default-search-bar-input{width:280px;height:40px;padding:0;padding-inline-start:40px;padding-inline-end:12px;color:#30363f;font-size:14px;border:1px solid #d0d5d8;border-radius:20px;box-sizing:border-box;outline:none;transition:all .3s;background-color:transparent}[data-prefers-color=dark] .dumi-default-search-bar-input{color:#c6c9cd;border-color:#1c2022}.dumi-default-search-bar-input:focus{border-color:#1677ff80;background-color:#fff;box-shadow:0 0 0 3px #1677ff1a}[data-prefers-color=dark] .dumi-default-search-bar-input:focus{border-color:#0053c880;background-color:#050709;box-shadow:0 0 0 3px #0053c81a}.dumi-default-search-bar-input:focus~.dumi-default-search-shortcut{opacity:0}.dumi-default-search-bar .dumi-default-search-shortcut{position:absolute;top:50%;inset-inline-end:11px;display:inline-block;padding:4px 8px;color:#8a9099;font-size:12px;line-height:1;white-space:nowrap;background-color:#fffc;border-radius:11px;border:1px solid #d0d5d8;transform:translateY(-50%);transition:all .3s;pointer-events:none}[data-prefers-color=dark] .dumi-default-search-bar .dumi-default-search-shortcut{background-color:#0003;border-color:#1c2022}@media only screen and (max-width: 767px){.dumi-default-search-bar .dumi-default-search-shortcut{display:none}}.dumi-default-search-bar .dumi-default-search-popover{position:absolute;top:100%;inset-inline-end:0;display:flex;flex-direction:column;width:540px;max-height:460px;margin-top:18px;background-color:#fff;border-radius:8px;box-shadow:0 4px 30px #0003}[data-prefers-color=dark] .dumi-default-search-bar .dumi-default-search-popover{background-color:#0f161d}.dumi-default-search-bar .dumi-default-search-popover:before{content:\"\";position:absolute;bottom:100%;inset-inline-end:100px;display:inline-block;width:0;height:0;border:8px solid transparent;border-bottom-color:#fff}[data-prefers-color=dark] .dumi-default-search-bar .dumi-default-search-popover:before{border-bottom-color:#0f161d}.dumi-default-search-bar .dumi-default-search-popover>section{flex:1 1;min-height:60px;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border-radius:inherit}.dumi-default-search-bar .dumi-default-search-modal{position:fixed;top:0;inset-inline-start:0;z-index:1000;width:100vw;height:100vh;display:flex;justify-content:center}.dumi-default-search-bar .dumi-default-search-modal-mask{background-color:#00000073;width:100%;height:100%}.dumi-default-search-bar .dumi-default-search-modal-content{position:absolute;top:60px;background-color:#fff;width:500px;padding:12px;box-sizing:border-box;box-shadow:inset 1px 1px #ffffff80,0 3px 8px #555a64;border-radius:8px;max-height:calc(100% - 120px);display:flex;flex-direction:column}[data-prefers-color=dark] .dumi-default-search-bar .dumi-default-search-modal-content{background-color:#0f161d}.dumi-default-search-bar .dumi-default-search-modal .dumi-default-search-bar-input{width:100%;border-radius:4px}.dumi-default-search-bar .dumi-default-search-modal .dumi-default-search-result{min-height:60px;margin-top:12px;flex:auto;overflow:auto}.dumi-default-search-bar .dumi-default-search-modal .dumi-default-search-result>dl>dd{margin:0 auto}.dumi-default-search-bar .dumi-default-search-modal-commands{justify-content:flex-start;font-size:12px;color:#8a9099;list-style:none;padding:12px 0 0;margin:0;border-top:1px solid #e4e9ec;display:flex;align-items:center;user-select:none}[data-prefers-color=dark] .dumi-default-search-bar .dumi-default-search-modal-commands{color:#616d7f;border-top-color:#2a353c}.dumi-default-search-bar .dumi-default-search-modal-commands>li{margin-inline-end:10px}.dumi-default-search-bar .dumi-default-search-modal-commands-arrow .dumi-default-search-modal-shortcut{margin-inline-end:4px}.dumi-default-search-bar .dumi-default-search-modal-commands-text{margin-inline-start:5px}.dumi-default-search-bar .dumi-default-search-modal-shortcut{display:inline-block;padding:4px 8px;color:#8a9099;font-size:12px;line-height:1;white-space:nowrap;background-color:#f7f9fb;border-radius:3px;border:1px solid #d0d5d8;border-bottom-width:2px;transition:all .3s;pointer-events:none}[data-prefers-color=dark] .dumi-default-search-bar .dumi-default-search-modal-shortcut{color:#616d7f;background-color:#050709;border-color:#1c2022}.dumi-default-icon{font-size:0;line-height:0}[class*=-switch]+.dumi-default-icon{margin-inline-start:15px;margin-inline-end:-15px;padding-inline:15px;border-inline-start:1px solid #d0d5d8}[data-prefers-color=dark] [class*=-switch]+.dumi-default-icon{border-inline-start-color:#1c2022}.dumi-default-icon+.dumi-default-icon{margin-inline-start:18px}.dumi-default-icon>svg{height:16px;fill:#4f5866}[data-prefers-color=dark] .dumi-default-icon>svg{fill:#8590a0}.dumi-default-icon:hover svg{fill:#1677ff}[data-prefers-color=dark] .dumi-default-icon:hover svg{fill:#0053c8}.dumi-default-header{position:relative;z-index:10}.dumi-default-header:not([data-static]){top:0;position:sticky;background-color:#f7f9fbe6;backdrop-filter:blur(6px)}[data-prefers-color=dark] .dumi-default-header:not([data-static]){background-color:#050709e6}.dumi-default-header:not([data-static])[data-mobile-active]{background-color:#f7f9fb;backdrop-filter:none}[data-prefers-color=dark] .dumi-default-header:not([data-static])[data-mobile-active]{background-color:#050709}.dumi-default-header-content{display:flex;align-items:center;margin:0 auto;padding:0 24px;max-width:1392px;height:76px;box-sizing:border-box}@media only screen and (max-width: 767px){.dumi-default-header-content{height:52px}}.dumi-default-header-left{width:184px}.dumi-default-header-right{flex:1 1;display:flex;justify-content:space-between}.dumi-default-header-right-aside{display:flex;align-items:center}@media only screen and (max-width: 767px){.dumi-default-header-right-aside{margin:8px 16px;padding-top:24px;justify-content:center;border-top:1px solid #e4e9ec}[data-prefers-color=dark] .dumi-default-header-right-aside{border-top-color:#2a353c}}@media only screen and (max-width: 767px){.dumi-default-header-right{position:fixed;top:52px;left:0;right:0;height:calc(100vh - 52px);display:block;background-color:#f7f9fb99;border-top:1px solid #e4e9ec;backdrop-filter:blur(30px);box-sizing:border-box;transition:all .2s}[data-prefers-color=dark] .dumi-default-header-right{background-color:#05070999;border-top:1px solid #2a353c}.dumi-default-header:not([data-mobile-active]) .dumi-default-header-right{opacity:0;visibility:hidden;padding-top:20px}}.dumi-default-header-menu-btn{position:absolute;top:50%;inset-inline-end:24px;padding:0;border:0;background:transparent;transform:translateY(-50%);display:none}@media only screen and (max-width: 767px){.dumi-default-header-menu-btn{display:block}}.dumi-default-header-menu-btn>svg{width:20px;fill:#4f5866}[data-prefers-color=dark] .dumi-default-header-menu-btn>svg{fill:#8590a0}@font-face{font-family:Alibaba-PuHuiTi;src:url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAJU8AAoAAAAAlPQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAAA9AAAAGAAAABgW3sPM2NtYXAAAAFUAAB2YgAAdmKn3pnYZ2x5ZgAAd7gAABicAAAYnDRxnIhoZWFkAACQVAAAADYAAAA2ISMfgGhoZWEAAJCMAAAAJAAAACQIXQLHaG10eAAAkLAAAAF8AAABfNY7DpVsb2NhAACSLAAAAMAAAADAJ6EtjG1heHAAAJLsAAAAIAAAACAAZQBBbmFtZQAAkwwAAAFNAAABTRBB3Hpwb3N0AACUXAAAAOAAAADgCUkJ6QAEAkEBkAAFAAACigK8AAAAjAKKArwAAAHgADEBAgAAAgAFAwAAAAAAAKAAAv8QAAAAAAAAHgAAAABQZkVkAAAAAf8AAyD/OABaBBoBQiAWAZ/f1wAAAAAAAAAAACAAAAAAAAMAAAADAAAAHAABAAAAAHVcAAMAAQAAABwABHVAAAAdTBAAAAsNTAABAAsADAApACoAfgGQAZEBzwHRAdMB1QHXAdkB2wJ3AngDBQMJBJQElQSYBJkEsASxIBIgHyAjICQgMSA4IQQhBiEHIQghFCEVISMhJCElIZQhlSIDIgQiBSIHIhAiEyIUIhYiFyIYIhsiHCIhIiIiJCImIiwiLSJJIkoiSyJiImMiliKXIpglkCWRJZIlyCXJJcwlzSYHJggmQTAEMAUwBjA/MEAznzOgM88z0DPTM9ROAk4STiNOJk4pTi5OL04xTjNONU43TjxOQE5BTkJORE5GTlVOV05nTmhOck6HTplOnE6dTp5Or06wTrFOtE7MTs9O0E7gTuJO5k7nTulO7U7uTu9O8U70TvhO+U76TvxO/k8ATyFPI08oTylPLE8tTy5PMU8zTzVPN085TztPRE9FT1RPZk9oT2pPa09tT25PcU9yT3VPfU+AT4FPgk+FT4ZPh0+KT4xPjk+QT5JPk0+VT5ZPmE+ZT5pPnE+eT59PoU+iT61PwE/BT8JPy0/MT81P2U/bT+BP4k/kT+VP50/rT+xP8E/yT/lP+0/8T/1QDlAQUBFQE1AVUBZQF1AbUB1QHlAgUCJQI1AkUCdQK1A7UD1QRFBFUEZQSVBKUEtQTVBbUHhQeVB6UHxQfVCGUIdQpFCmUKpQq1DXUNhQ2VD0UQhRCVEKUUJRR1FKUUxRTlFPUVBRUlFTUVdRWFFZUVtRY1FkUWZRZ1FpUWpRb1F+UX9Rg1GEUYZRh1GKUYtRk1GUUZhRmlGdUZ5Rn1GhUaNRuFG5UbpRvlG/UcFRwlHDUcVRyFHKUc1RzlHQUdxR3lHfUeJR41HsUe5R8VHyUfRSCVILUgxSD1IQUh5SH1IhUiJSI1IlUiZSJ1IqUixSL1IxUjJSS1JOUk9SUlJTUlVSXVJfUmBSYlJjUmRSZlJoUnBScVJ+UoBSkVKSUsBSwVLCUsRSxVLGUshSylLRUtNS1FLVUtdS+1L8Uv1TB1MOUxhTG1McUx5TH1MiUyRTJVMnUyhTKVMrUyxTLVM8Uz1TQFNCU0RTRlNLU0xTTVNQU1RTWFNZU1tTaFNqU2xTbVNyU3ZTeVOAU4FTg1OHU4hTilOWU5dTmVObU5xTnlOgU6FTpFOnU7xTvVO+U8BT0lPTU9VT2lPcU91T3lPhU+JT/lP/VABUAlQFVAdUGFQZVBpUJFQlVDNUNlQ3VDpUPVQ/VEFUQlREVEVUR1RJVGNUZVRnVHRUeVR6VH5Uf1SBVINUhVSNVJFUk1SXVJhUnFSwVLJUtVS2VLdUuVS6VLxUvlTDVMVU2FTbVO9U8FTxVPtU/lUAVQhVElUTVSFVJVUmVShVKVUrVS1VMlU0VTVVNlU9VUBVQlVFVUdVSFViVWNVaFVpVWtVeVV6VX1VkFWSVZNVlVWWVZdVmlWbVZ5VslW0VbZVuFW6VbxVxlXHVchVylXLVc5Vz1XQVdVV3lXgVeJV51XpVe1V7lXwVfFV9FX2Vf9WClYLVg1WGVYaVhxWHVYgViFWIlYlViZWLlYvVjBWM1Y1VjdWOFY6VjxWPVY+VlVWVlZaVltWY1aQVpFWklbVVtZW2FbZVuxW7lbvVvJW81b2VvdW+Fb7VvxXAFcBVwJXBVcHVx1XHlcgVyFXIlc8Vz1XP1dBV0hXSVdlV2dXbFduV3BXcVdyV3RXdVd4V3lXeleoV6pXrFevV7BXsVezV7VXtle3V8xXzVfQV9FX01fWV9dX21fcV95X4VfiV+NX7lf1V/ZX91f7V/xX/lf/WAFYA1gEWAVYCFgJWApYDFgOWA9YEFgSWBNYFFgWWBdYGFgfWCJYI1hOWE9YUFhSWFNYVVhWWFdYf1iCWIRYhliHWIhYm1icWJ1YwljDWMRY0ljTWNRY7VjvWPFY8lj0WPVY91j4WQNZBVkGWQ5ZF1kYWRtZHVkeWSZZKFksWTBZMlkzWTVZNlk7WUNZRVlGWUpZTFlNWVBZYVljWWRZdVl3WXpZe1l8WX5Zf1mAWYVZiVmLWYxZlFmVWZhZplmnWaxZrVmwWbFZulm8Wb1Zx1nIWclZ2VnbWeRZ5lnnWelZ6lnrWfpZ/Fn9Wf5aAFoSWhlaGlobWh1aHlohWiJaJFomWidaKFozWjVaPVo+Wj9aR1pIWmhaaVp4WnlatFq2Wrdav1rAWspay1rTWtVa11rZWtpa21rdWt5a31riWuRa5VrnWuha6lszWzVbNltSW2tbbVtuW29bclt0W3tbfFt+W39bgluGW4pbjVuOW5BbkVuSW5RbsVuyW7dbulu7W7xbwFvBW8NbzVvOW89b0VvgW+Jb41vmW+db71wAXAJcA1wFXAdcCFwQXBJcE1wXXBlcG1wjXCZcMlwzXEZcR1xMXE1cUlxTXFRcVlxXXFhcX1xiXGRccFyAXIlcilyLXI5cj1ySXJNcqlyuXK9csFyyXLRctly+XMBcwlzDXOJc41znXOlc61zsXO5c710EXQVdFV0cXR1dJV0oXSpdK10sXUhdSV1ZXVpdXF1qXW1dbl2aXZtdnF3cXd9d4F3sXe1d8F31XfZd/14AXgReB14JXgpeC14NXg5eEl4TXi9eMF45XjpeQ15cXl1eX15gXnVed155Xn5egV6CXoNehV6IXolejF6NXo5em16dXtRe1V7pXvVe+F75XwlfDF8NXw5fEF8SXxRfFl8ZXxpfHF8dXx5fKF8rXyxfLl8wXztfPV8+Xz9fUV9UX15fX19gX2NfZV9nX2hfa19uX29fcl90X3Vfdl94X3pffV9+X39fg1+RX5NflF+WX5pfm1+pX6tfrF+2X8dfyF/KX8tfzl/TX9Rf1V/aX9tf3F/eX99f4l/jX+Vf5l/oX+lf7F/vX/Bf8l/zX/Rf9l/3X/lf+mALYAxgEGARYBNgF2AYYBpgHmAfYD1gPmBAYExgTmBPYFFgU2BUYFZgV2BYYFtgXGBxYHJgdGB1YIBggWCCYIpgi2CTYJVgl2CYYJlgnGCeYKFgomCkYKVgp2CpYKpgrmCwYLNgtWC2YLdguWC6YMdgyGDJYNJg02DUYNZg12DZYNtg3mD1YPdg+GEHYQphC2EMYSFhImElYShhKWEqYUlhS2FNYU9hUGFSYVNhVGF2YYxhjWGqYathv2HAYcFhyWHTYgdiGWIcYh1iHmIgYiNiK2ItYjViNmJEYkViRmJKYk9iUGJVYlZiV2JZYlpiZGJlYnRidWJ3YnhiemJ7Yn1igWKCYoNilGKZYpxinWKeYqNipmKnYqliqmKyYrNitGK2YrdiuGK6Yr5iwGLBYs9i0WLgYuFi8GLyYvVjAGMPYxBjF2MYYxljKWMsYy1jLmMwYzFjO2M8Y0RjR2NIY2BjZGNlY2ZjaGNqY2tjbGNvY3BjeGN5Y4Fji2ONY5Fjk2OUY5Vjl2OhY6RjpmOrY69jsWOyY7VjtmO5Y7tjvWPFY8djyGPKY8tjzGPRY9Nj1GPVY99j4mPrY+xj82P1Y/dj/mQDZARkDWQOZBFkEmQdZB9kJ2QoZClkK2Q7ZDxkPmRAZFNkVWRWZFdkaGRqZGtkbGSDZIZkk2SUZJdkmGSqZKtkr2S2ZLlku2S9ZL5kv2TBZMNkxGTPZNFk32TgZOFk42TlZSxlLWU3ZTplPGU9ZUZlR2VKZUtlTWVOZVBlUmVTZVRlV2VYZVplXGVfZWBlYWVkZWVlbWVuZW9lcWVzZXVldmWIZYllimWNZY5lj2WSZZRllWWWZZhlmmWdZZ5loGWiZaNlpmWoZaplrGWuZbplu2W+Zb9lwGXCZc1l0GXRZdNl1GXVZeFl+GX5ZgFmBGYFZgdmCGYJZgtmDWYQZhFmEmYWZhdmGGYaZhtmHGYeZiZmLmYwZjJmM2Y9Zj9mQGZCZk1mTmZgZmJmY2ZlZmdmcWZyZnNmdWZ4Znlme2Z8Zn1mf2aAZoFmg2aFZoZm2mbnZuhm8Wb1ZvZm+Gb6Zvtm/WcMZw5nD2cRZxJnE2cWZxhnGWcaZxxnHmcnZylnLmcwZzJnM2c7ZzxnPmc/Z0FnRGdFZ0dnSmdLZ01nUmdUZ1VnXWdiZ2NnZGdmZ2dna2dsZ25ncWd0Z3ZnfWeAZ4Jng2eFZ4ZniGeKZ5ZnmWebZ59noGehZ6RnpmepZ6xnrmexZ7JntGfCZ9tn32fhZ+Nn5GfmZ+dn6GfqZ+tn7WfuZ/Jn/mgQaBJoFGgVaB5oH2ggaDRoNWg2aDpoO2hLaE1oT2hSaHVogmiEaJBokWiSaJRolWiWaKNopGilaK5osWiyaLRowWjKaMxo02jUaNZo12jZaOFo4mjvaPJo82j0aPZo92j4aPtpAmkDaQRpDGkPaRFpIWkiaSNpLmkvaTFpMmkzaTppO2k8aT5pQGlBaVVpVmlYaVlpW2lcaV9pYWliaWRpZWlsaW1pb2lwaXppe2l9aX5pf2mBaYNphWmKaYtpjGmWaZdpmWmaaalpqmmsaa5pr2mwabJps2m1abZpuGm5abppy2nNac9p0WnSadNp3Gndad5p/mogailqMGoyajNqNGpFakZqWmpiamNqZGp6antqfWp+an9qgWqCaoNqj2qqazhrO2s8az1rRGtFa0hrSmtLa3prhWuIa4xrlGuVa5drmGuZa7ZrwGvDa8RrzGvOa9pr7Gvta+5r8Gvxa/Jr9Gv2a/dr+Gv6a/tr/GwObBJsF2wcbB1sHmwgbCNsMWwzbDZsN2w+bD9sQ2xEbEVsSGxRbFJsU2xWbGVsZmxnbHFsc2x1bHdseGx6bHtsfGx/bIBshGyHbIpsi2yNbI5skWySbJpsnGydbJ5soGysbK9ssGzGbMdsyGzLbM1szmzPbNxs3WzfbORs5mznbOls7GztbPJs9G0CbQNtBW0GbQhtCW0KbQ1tD20QbRFtGG0cbR1tJm0obSltLG0tbS9tMG00bTZtN204bTptP21AbUJtRG1JbUxtUG1bbV1tX21hbWJtZG1lbWdtaG1rbWxtbW11bXZteW16bXttg22EbYZth22KbYttjW2PbZBtkm2wbbFts220bbZtt23BbcJtw23Ibcltym3Xbdpt223cbd9t4m3jbeVt7W3vbfBt8m30bfVt9m34bfpuC24PbhJuE24VbhhuGW4bbhxuHm4fbiJuJm4nbihuKm4sbi5uMG4xbjNuNW42bjduOW5VblduWW5ablxuXW5ebmxubW6AboFugm6EboduiG6Zbppum26dbp5uoG6hbqNupG6mbqhuqW6wbrNutW64brluvG6+br9uwG7Ibsluym7Mbs1uzm7QbtJu1m7Ybtlu528DbwRvBW8HbwhvEG8RbxJvIW8ibyNvLG8ubzBvMm80bzVvSG9Jb0pvTG9Zb1pvW29db19vYG9hb2NvZG9lb29vcG9xb3NvdW92b3dveW97b4Vvhm+Hb4pvi2+0b7Vvt2+4b8Fv33A2cDdwOHBNcE5wbnB3cHlwenB7cH1whnCHcIhwi3CMcI1wj3CQcJFwk3CXcJhwmnCbcLJwtHC1cLZwunC+cL9wyXDacNxw3XDecOVw6nDucPhw+nD7cPxxEXEScRRxF3FLcU1xXXFlcW9xcHFxcXlxe3F8cZVxlnGXcalxqnGrcbRxtnG3cbhx5nIpcityLXIuci9yPHI+cklySnJLclNyVHJVcldyWHJaclxyXnJgcmNyZHJlcmhycHJxcnNydHJ2cndyeHJ7cnxyfXKCcoNyjHKOcpBykXKucrFysnKzcrVyxXLGcsdyz3LRcthy33L5cwJzC3MMcw1zFHMYcxlzGnMfcyBzI3MkcyZzJ3Mocy1zL3MwczJzM3M1czZzTnNPc1FzbnOFc4ZziHOKc4xzjXOPc5BznHOdc55zoHOhc6pzrHOtc7FztHO1c7ZzuHO5c8Fzy3PMc85z33Pmc+hz6nPrc+x0BHQHdAh0I3QkdCd0KXQrdC10L3QxdDJ0VnRYdF10bnRvdH90gnSEdIV0hnSIdIl0inSMdI10j3SddN1033ThdOV09XUOdRB1EnUbdR11HnUmdSd1KnU2dTl1PHU9dT91RnVHdUl1SnVNdWd1aHVpdXN1dXV2dXd1gHWBdYJ1hHWFdYx1jXWOdZB1k3WVdZh1m3WcdZ51onW6dbt1v3XAdcF1xnXLdcx103XXddl12nXcdd1133XgdeF15XXpdfJ183X6dft1/XX+dgJ2BHYLdg12DnYPdhZ2GnYcdh12HnYhdiN2J3Yodix2LnYvdjF2MnY2djd2OXY6djt2PXZBdkJ2VXZddmx2bXZudnl2enZ8dn92gHaBdoN2hXaJdop2jHaNdo92kHaSdpR2lXaXdph2r3awdrN2wHbBdsN2xHbHdsl21XbZdtp23Hbddt528HbzdvV29nb3dvp2+3b9dv93AHcCdwN3BXcGdwp3DHchdyN3JHcldyd3Kncrdyx3Lnc5dzt3PXc+dz93QndEd0V3Rndkd2d3aXdqd3p3e3d8d4F3gneDd493kHehd6N3pHemd6h3q3etd653r3exd7J3tHe8d7532HfZd9p35Hfmd+h36nf0d/V393gKeAt4DngPeBB4E3gVeBl4G3geeCB4IXgieCR4KHgqeCt4LngveDF4MngzeD94RnhNeE94UXhTeFR4iHiKeIt4j3iQeJJ4lHiVeJZ4mXideJ54oHiieKR4pni/eMB4wnjDeMR4xnjHeMh40XjSeNN41njXeNh46XjqeOt483j1ePZ4+Hj5eQJ5A3kEeT15P3lHeVR5VXljeWR5ZnlueXl5gnmDebx5v3nCecR5xXnHech5ynnMec55z3nQedN51HnWedd54HnheeJ55Xnoeep57Hnuefl5+nn8ef55/3oBegR6BXoMehV6FnoYehl6G3oceh16H3oheiJ6NHo1ejZ6OHo6ej56cXpyenN6gnqFeod6jnqPepB6k3qUepl6mnqbep56p3qpeqp6q3rXeth64XrieuR67nr7evx6/nsAewF7AnsFewd7CXsMew17DnsQexJ7E3sWexd7GHsaexx7HXsfeyF7Insjeyd7KXstey97MHsyezl7O3s9e0Z7SHtKe017TntTe1V7V3tZe1x7Xntfe2F7b3twe3N7dHt2e3h7ent8e317f3uOe497kXuSe5N7lnuee597oHuye7N7tXu2e7d70nvbe9x73nvfe+B74nvje+R753voe+l763vse+1773vwe/18CHwJfAp8DXwOfCh8KXyTfJR8lnyZfJp8m3ygfKF8o3yrfKx8rXyvfLB8uny7fL98wHzCfMN8xHzGfMl8y3zYfNp823zdfN58+Xz6fSF9KH0pfSp9LH0tfS5/OX9Df1J/U39Wf1l/YH9rf2x/bX9vf3B/c39/f4B/i3+Nf5t/nH+gf6J/o3+lf6Z/sX+6f7t/vn/Af8J/w3/Ef8t/zX/Wf9d/4n/jf+R/53/of+9/8n/9f/5//4ACgA6AD4ARgB2AHoAfgCGAMoA0gDmAOoA8gD6AQIBBgESARYBHgEiASYBTgFWAVoBXgFmAgYCCgIWAiICKgJSAlYCXgJmAnoCjgKaAp4CogKyAsICzgLWAtoC4gLmA4oDjgPeA+YD7gQOBBIEFgQeBCIEXgRmBG4EcgR2BLYEugTCBM4E0gTWBN4FHgUmBTYFOgU+BUoFWgVeBWIFmgWiBaoFrgWyBb4FygXOBiYGQgZmBmoGkgaWBp4GpgcSBxYHHgciByYHLgeSB5YHmgeiB6YHrgf2B/4IDgg6CD4IRghOCHYIggimCLoI8gj2CRYJGgkiCSoJMgk2CToJZgnGCe4J8goCCgYKDgoWChoKHgomCjIKQgpqCm4KegqCCooKjgrWCtoK6gruCvIK/gsCCwoLDgsWCxoLZgtqC3YLiguyC7YLugvCC8oLzgvWC9oL4gvqDDYMQgxKDE4MWgxiDGYMpgyqDLoMwgzKDN4M7gz2DPoM/g0GDQoNEg0WDSINTg12DeYN6g4eDiIOPg5CDkYOZg5qDnYOfg76Dv4PCg8ODxIPGg8iDyYPLg82DzoPVg9eD2YPag9uD3oPig+OD5IPmg+eD6IP6g/uD/IP+g/+EAIQChAWEGYQahBuEOYQ6hDuEWIRihGqEboRvhHCEcoR0hHeEeYSKhI2EmISahJuEsISxhLOEtYS2hLeEu4S8hL6EwITChMOEy4TMhM6Ez4TShNSE1YTehOGE4oTkhO2E7oTvhP2E/oUShRSFFYUWhRiFGYUghVeFWIVlhWaFZ4VzhXyFfYWGhaWFpoWnhamFq4Wsha2FuIXRhdKF1IX8hf2F/oYohjmGOoY7hluGXIZdhl+GYIZhhm2Gb4ZwhpSGpYamhquGrYauhrKGs4a3hriGuYbBhsKGw4bFhsiGzIbNhtKG04bVhtaG14bahtyG3YbqhuuG7Ib/hwGHBIcFhwaHC4cMhxSHFocZhxuHHYcfhyCHJIcmhyeHKIcvhzCHMoczhzWHNoc4hzmHOoc8hz2HSodLh02HVIdVh1aHWIdhh2KHb4dxh3KHc4d1h3+HgIeBh4SHhoeHh4mHioeMh5SHlYeWh6mHqoeuh7CHsYeyh7SHu4e8h76Hv4fHh8iHyYfrh+yH7YgUiDqIO4g9iD6IP4hBiEKIQ4hViFaIWIhqiG2Ib4hxiICIg4iGiIeIiYiKiIyIk4iUiJWIo4isiK6Ir4iwiMOIxIjHiMiIz4jQiNGI04jWiNeI4IjhiOaI54jyiPWI9oj3iPqI+4j9iP+JAIkBiRGJIokjiSSJMYkyiTOJNYlCiUOJfIl9iX6JgImCiYSJhYnXidiJ2Ynbid2J5Insie2J7onwifGJ8oxIjEqMS4yDjISMhoyHjIiMi4yVjJaMl41ojWmNao1sjW6Nb42CjYONko2TjaCNoY2ijbKNto23jbmNu429jcCNwY3CjcWNzY3QjdiN2Y3cjeCN4Y3ijeWN5o3njemN7Y3ujfCN8Y3yjfSOBo4HjgiOC44Njg6OII4hjiuOLY4wjjKOM440jjaON444jjuOPI4+jj+OQ45njmiOao5rjm6OcY5zjnWOfY5+joCOgo6DjoSOho6RjpKOk46djq2Oro6wjrGPoI+hj6KPqo+3j7iPuo+7j7yPv4/Aj8OPxo/Pj9KP1o/Xj+OP54/sj++P8Y/yj/SP9Y/2j/qP+4/8kAyQDpATkBWQGJAZkDeQOZA6kD2QP5BAkEOQRZBGkFmQWpBkkGaQZ5B+kIGQiZCKkJKQlJCWkJiQmpCckJ6Qn5CgkKSQpZCnkKiQqZCrkK2QspC3kLyQvZC/kMCQwpDDkMaQyJDJkMuQzJDNkNKQ1JDVkNaQ2JDZkNqQ3pDfkOCQ45DkkOWQ6ZDqkOyQ7pD1kPaQ95D/kQCRAZEDkR+RIJEhkTCRRJFFkViRWZFbkVyRa5GGkYiRipGOkY+Rq5GskciRy5HQlJaVSJYYlhuWHpYgliuWLJYtlj6WQZZOlk+WUZZSllOWXJZdll6WYJZjlmWWZpZrlnOWh5aJloqWjJaOlpGWkpaTlpWWlpaalpuWsZaylrSWtZa3lriWupa7lr+WwpbDlsiWypbLltCW0ZbTltSW8JbxlvKW9Jb1lviW/5cClwOXBZcKlwuXDJcQlxGXEpcUlxWXHZcrlyyXLpcvlzGXVJdVl1eXWJdal1yXXZdfl2OXZJdml2eXaJd1l4yXjpePl5CXk5eVl5aXl5ehl6KXrJeul7CXsZezl/SYjpiSmJWYz5jQmNSY1pjXmNuY3JjdmQ6ZD5lkmXiZeZl7mX6ZjJmmmaeauZq7mr2avpq/msOaxJrSmuCa7JrumvqbEJsRmxKbIJshmyKbMJsxm0qbS5tMm06bUJtSm1OcfZx+nICcg5yEnImcipyMnI+ck5ysnOCc4Z4wnlCeUp5TnlSeVp5Znl2ecp6AnoGeiZ6Knp6etZ62nreeuZ66nryeyp7Lnsye0J7SntOe1Z7Wntee2Z7ant6e4Z7jnuSe5p7onvqe/Z8Mnw+fEZ8SnxSfFZ8WnxifIZ8tny6fOJ86nzyfnJ+dn57+Mv5T/lj+Z/8A/////wAAAAEACwAMACEAKgArAZABkQHPAdEB0wHVAdcB2QHbAncCeAMFAwkElASVBJgEmQSwBLEgEiAfICMgJCAxIDghBCEGIQchCCEUIRUhIyEkISUhlCGVIgMiBCIFIgciECITIhQiFiIXIhgiGyIcIiEiIiIkIiYiLCItIkkiSiJLImIiYyKWIpcimCWQJZElkiXIJcklzCXNJgcmCCZBMAQwBTAGMD8wQDOfM6AzzzPQM9Mz1E4CThJOI04mTilOLk4vTjFOM041TjdOPE5ATkFOQk5ETkZOVU5XTmdOaE5yTodOmU6cTp1Onk6vTrBOsU60TsxOz07QTuBO4k7mTudO6U7tTu5O707xTvRO+E75TvpO/E7+TwBPIU8jTyhPKU8sTy1PLk8xTzNPNU83TzlPO09ET0VPVE9mT2hPak9rT21Pbk9xT3JPdU99T4BPgU+CT4VPhk+HT4pPjE+OT5BPkk+TT5VPlk+YT5lPmk+cT55Pn0+hT6JPrU/AT8FPwk/LT8xPzU/ZT9tP4E/iT+RP5U/nT+tP7E/wT/JP+U/7T/xP/VAOUBBQEVATUBVQFlAXUBtQHVAeUCBQIlAjUCRQJ1ArUDtQPVBEUEVQRlBJUEpQS1BNUFtQeFB5UHpQfFB9UIZQh1CkUKZQqlCrUNdQ2FDZUPRRCFEJUQpRQlFHUUpRTFFOUU9RUFFSUVNRV1FYUVlRW1FjUWRRZlFnUWlRalFvUX5Rf1GDUYRRhlGHUYpRi1GTUZRRmFGaUZ1RnlGfUaFRo1G4UblRulG+Ub9RwVHCUcNRxVHIUcpRzVHOUdBR3FHeUd9R4lHjUexR7lHxUfJR9FIJUgtSDFIPUhBSHlIfUiFSIlIjUiVSJlInUipSLFIvUjFSMlJLUk5ST1JSUlNSVVJdUl9SYFJiUmNSZFJmUmhScFJxUn5SgFKRUpJSwFLBUsJSxFLFUsZSyFLKUtFS01LUUtVS11L7UvxS/VMHUw5TGFMbUxxTHlMfUyJTJFMlUydTKFMpUytTLFMtUzxTPVNAU0JTRFNGU0tTTFNNU1BTVFNYU1lTW1NoU2pTbFNtU3JTdlN5U4BTgVODU4dTiFOKU5ZTl1OZU5tTnFOeU6BToVOkU6dTvFO9U75TwFPSU9NT1VPaU9xT3VPeU+FT4lP+U/9UAFQCVAVUB1QYVBlUGlQkVCVUM1Q2VDdUOlQ9VD9UQVRCVERURVRHVElUY1RlVGdUdFR5VHpUflR/VIFUg1SFVI1UkVSTVJdUmFScVLBUslS1VLZUt1S5VLpUvFS+VMNUxVTYVNtU71TwVPFU+1T+VQBVCFUSVRNVIVUlVSZVKFUpVStVLVUyVTRVNVU2VT1VQFVCVUVVR1VIVWJVY1VoVWlVa1V5VXpVfVWQVZJVk1WVVZZVl1WaVZtVnlWyVbRVtlW4VbpVvFXGVcdVyFXKVctVzlXPVdBV1VXeVeBV4lXnVelV7VXuVfBV8VX0VfZV/1YKVgtWDVYZVhpWHFYdViBWIVYiViVWJlYuVi9WMFYzVjVWN1Y4VjpWPFY9Vj5WVVZWVlpWW1ZjVpBWkVaSVtVW1lbYVtlW7FbuVu9W8lbzVvZW91b4VvtW/FcAVwFXAlcFVwdXHVceVyBXIVciVzxXPVc/V0FXSFdJV2VXZ1dsV25XcFdxV3JXdFd1V3hXeVd6V6hXqlesV69XsFexV7NXtVe2V7dXzFfNV9BX0VfTV9ZX11fbV9xX3lfhV+JX41fuV/VX9lf3V/tX/Ff+V/9YAVgDWARYBVgIWAlYClgMWA5YD1gQWBJYE1gUWBZYF1gYWB9YIlgjWE5YT1hQWFJYU1hVWFZYV1h/WIJYhFiGWIdYiFibWJxYnVjCWMNYxFjSWNNY1FjtWO9Y8VjyWPRY9Vj3WPhZA1kFWQZZDlkXWRhZG1kdWR5ZJlkoWSxZMFkyWTNZNVk2WTtZQ1lFWUZZSllMWU1ZUFlhWWNZZFl1WXdZell7WXxZfll/WYBZhVmJWYtZjFmUWZVZmFmmWadZrFmtWbBZsVm6WbxZvVnHWchZyVnZWdtZ5FnmWedZ6VnqWetZ+ln8Wf1Z/loAWhJaGVoaWhtaHVoeWiFaIlokWiZaJ1ooWjNaNVo9Wj5aP1pHWkhaaFppWnhaeVq0WrZat1q/WsBaylrLWtNa1VrXWtla2lrbWt1a3lrfWuJa5FrlWuda6FrqWzNbNVs2W1Jba1ttW25bb1tyW3Rbe1t8W35bf1uCW4ZbiluNW45bkFuRW5JblFuxW7Jbt1u6W7tbvFvAW8Fbw1vNW85bz1vRW+Bb4lvjW+Zb51vvXABcAlwDXAVcB1wIXBBcElwTXBdcGVwbXCNcJlwyXDNcRlxHXExcTVxSXFNcVFxWXFdcWFxfXGJcZFxwXIBciVyKXItcjlyPXJJck1yqXK5cr1ywXLJctFy2XL5cwFzCXMNc4lzjXOdc6VzrXOxc7lzvXQRdBV0VXRxdHV0lXShdKl0rXSxdSF1JXVldWl1cXWpdbV1uXZpdm12cXdxd313gXexd7V3wXfVd9l3/XgBeBF4HXgleCl4LXg1eDl4SXhNeL14wXjleOl5DXlxeXV5fXmBedV53Xnlefl6BXoJeg16FXoheiV6MXo1ejl6bXp1e1F7VXule9V74XvlfCV8MXw1fDl8QXxJfFF8WXxlfGl8cXx1fHl8oXytfLF8uXzBfO189Xz5fP19RX1RfXl9fX2BfY19lX2dfaF9rX25fb19yX3RfdV92X3hfel99X35ff1+DX5Ffk1+UX5Zfml+bX6lfq1+sX7Zfx1/IX8pfy1/OX9Nf1F/VX9pf21/cX95f31/iX+Nf5V/mX+hf6V/sX+9f8F/yX/Nf9F/2X/df+V/6YAtgDGAQYBFgE2AXYBhgGmAeYB9gPWA+YEBgTGBOYE9gUWBTYFRgVmBXYFhgW2BcYHFgcmB0YHVggGCBYIJgimCLYJNglWCXYJhgmWCcYJ5goWCiYKRgpWCnYKlgqmCuYLBgs2C1YLZgt2C5YLpgx2DIYMlg0mDTYNRg1mDXYNlg22DeYPVg92D4YQdhCmELYQxhIWEiYSVhKGEpYSphSWFLYU1hT2FQYVJhU2FUYXZhjGGNYaphq2G/YcBhwWHJYdNiB2IZYhxiHWIeYiBiI2IrYi1iNWI2YkRiRWJGYkpiT2JQYlViVmJXYlliWmJkYmVidGJ1YndieGJ6YntifWKBYoJig2KUYplinGKdYp5io2KmYqdiqWKqYrJis2K0YrZit2K4YrpivmLAYsFiz2LRYuBi4WLwYvJi9WMAYw9jEGMXYxhjGWMpYyxjLWMuYzBjMWM7YzxjRGNHY0hjYGNkY2VjZmNoY2pja2NsY29jcGN4Y3ljgWOLY41jkWOTY5RjlWOXY6FjpGOmY6tjr2OxY7JjtWO2Y7lju2O9Y8Vjx2PIY8pjy2PMY9Fj02PUY9Vj32PiY+tj7GPzY/Vj92P+ZANkBGQNZA5kEWQSZB1kH2QnZChkKWQrZDtkPGQ+ZEBkU2RVZFZkV2RoZGpka2RsZINkhmSTZJRkl2SYZKpkq2SvZLZkuWS7ZL1kvmS/ZMFkw2TEZM9k0WTfZOBk4WTjZOVlLGUtZTdlOmU8ZT1lRmVHZUplS2VNZU5lUGVSZVNlVGVXZVhlWmVcZV9lYGVhZWRlZWVtZW5lb2VxZXNldWV2ZYhliWWKZY1ljmWPZZJllGWVZZZlmGWaZZ1lnmWgZaJlo2WmZahlqmWsZa5lumW7Zb5lv2XAZcJlzWXQZdFl02XUZdVl4WX4ZflmAWYEZgVmB2YIZglmC2YNZhBmEWYSZhZmF2YYZhpmG2YcZh5mJmYuZjBmMmYzZj1mP2ZAZkJmTWZOZmBmYmZjZmVmZ2ZxZnJmc2Z1ZnhmeWZ7ZnxmfWZ/ZoBmgWaDZoVmhmbaZudm6GbxZvVm9mb4Zvpm+2b9ZwxnDmcPZxFnEmcTZxZnGGcZZxpnHGceZydnKWcuZzBnMmczZztnPGc+Zz9nQWdEZ0VnR2dKZ0tnTWdSZ1RnVWddZ2JnY2dkZ2ZnZ2drZ2xnbmdxZ3Rndmd9Z4BngmeDZ4VnhmeIZ4pnlmeZZ5tnn2egZ6FnpGemZ6lnrGeuZ7Fnsme0Z8Jn22ffZ+Fn42fkZ+Zn52foZ+pn62ftZ+5n8mf+aBBoEmgUaBVoHmgfaCBoNGg1aDZoOmg7aEtoTWhPaFJodWiCaIRokGiRaJJolGiVaJZoo2ikaKVormixaLJotGjBaMpozGjTaNRo1mjXaNlo4WjiaO9o8mjzaPRo9mj3aPho+2kCaQNpBGkMaQ9pEWkhaSJpI2kuaS9pMWkyaTNpOmk7aTxpPmlAaUFpVWlWaVhpWWlbaVxpX2lhaWJpZGllaWxpbWlvaXBpeml7aX1pfml/aYFpg2mFaYppi2mMaZZpl2mZaZppqWmqaaxprmmvabBpsmmzabVptmm4ablpumnLac1pz2nRadJp02ncad1p3mn+aiBqKWowajJqM2o0akVqRmpaamJqY2pkanpqe2p9an5qf2qBaoJqg2qPaqprOGs7azxrPWtEa0VrSGtKa0tremuFa4hrjGuUa5Vrl2uYa5lrtmvAa8NrxGvMa85r2mvsa+1r7mvwa/Fr8mv0a/Zr92v4a/pr+2v8bA5sEmwXbBxsHWwebCBsI2wxbDNsNmw3bD5sP2xDbERsRWxIbFFsUmxTbFZsZWxmbGdscWxzbHVsd2x4bHpse2x8bH9sgGyEbIdsimyLbI1sjmyRbJJsmmycbJ1snmygbKxsr2ywbMZsx2zIbMtszWzObM9s3GzdbN9s5GzmbOds6WzsbO1s8mz0bQJtA20FbQZtCG0JbQptDW0PbRBtEW0YbRxtHW0mbShtKW0sbS1tL20wbTRtNm03bThtOm0/bUBtQm1EbUltTG1QbVttXW1fbWFtYm1kbWVtZ21obWttbG1tbXVtdm15bXpte22DbYRthm2HbYpti22NbY9tkG2SbbBtsW2zbbRttm23bcFtwm3DbchtyW3Kbddt2m3bbdxt323ibeNt5W3tbe9t8G3ybfRt9W32bfht+m4Lbg9uEm4TbhVuGG4ZbhtuHG4ebh9uIm4mbiduKG4qbixuLm4wbjFuM241bjZuN245blVuV25ZblpuXG5dbl5ubG5tboBugW6CboRuh26Ibplumm6bbp1unm6gbqFuo26kbqZuqG6pbrBus261brhuuW68br5uv27AbshuyW7KbsxuzW7ObtBu0m7Wbthu2W7nbwNvBG8FbwdvCG8QbxFvEm8hbyJvI28sby5vMG8ybzRvNW9Ib0lvSm9Mb1lvWm9bb11vX29gb2FvY29kb2Vvb29wb3Fvc291b3Zvd295b3tvhW+Gb4dvim+Lb7RvtW+3b7hvwW/fcDZwN3A4cE1wTnBucHdweXB6cHtwfXCGcIdwiHCLcIxwjXCPcJBwkXCTcJdwmHCacJtwsnC0cLVwtnC6cL5wv3DJcNpw3HDdcN5w5XDqcO5w+HD6cPtw/HERcRJxFHEXcUtxTXFdcWVxb3FwcXFxeXF7cXxxlXGWcZdxqXGqcatxtHG2cbdxuHHmcilyK3Itci5yL3I8cj5ySXJKcktyU3JUclVyV3JYclpyXHJecmByY3JkcmVyaHJwcnFyc3J0cnZyd3J4cntyfHJ9coJyg3KMco5ykHKRcq5ysXKycrNytXLFcsZyx3LPctFy2HLfcvlzAnMLcwxzDXMUcxhzGXMacx9zIHMjcyRzJnMncyhzLXMvczBzMnMzczVzNnNOc09zUXNuc4VzhnOIc4pzjHONc49zkHOcc51znnOgc6FzqnOsc61zsXO0c7VztnO4c7lzwXPLc8xzznPfc+Zz6HPqc+tz7HQEdAd0CHQjdCR0J3QpdCt0LXQvdDF0MnRWdFh0XXRudG90f3SCdIR0hXSGdIh0iXSKdIx0jXSPdJ103XTfdOF05XT1dQ51EHUSdRt1HXUedSZ1J3UqdTZ1OXU8dT11P3VGdUd1SXVKdU11Z3VodWl1c3V1dXZ1d3WAdYF1gnWEdYV1jHWNdY51kHWTdZV1mHWbdZx1nnWidbp1u3W/dcB1wXXGdct1zHXTddd12XXaddx13XXfdeB14XXldel18nXzdfp1+3X9df52AnYEdgt2DXYOdg92FnYadhx2HXYediF2I3Yndih2LHYudi92MXYydjZ2N3Y5djp2O3Y9dkF2QnZVdl12bHZtdm52eXZ6dnx2f3aAdoF2g3aFdol2inaMdo12j3aQdpJ2lHaVdpd2mHavdrB2s3bAdsF2w3bEdsd2yXbVdtl22nbcdt123nbwdvN29Xb2dvd2+nb7dv12/3cAdwJ3A3cFdwZ3CncMdyF3I3ckdyV3J3cqdyt3LHcudzl3O3c9dz53P3dCd0R3RXdGd2R3Z3dpd2p3end7d3x3gXeCd4N3j3eQd6F3o3ekd6Z3qHerd613rnevd7F3sne0d7x3vnfYd9l32nfkd+Z36Hfqd/R39Xf3eAp4C3gOeA94EHgTeBV4GXgbeB54IHgheCJ4JHgoeCp4K3gueC94MXgyeDN4P3hGeE14T3hReFN4VHiIeIp4i3iPeJB4kniUeJV4lniZeJ14nnigeKJ4pHimeL94wHjCeMN4xHjGeMd4yHjReNJ403jWeNd42HjpeOp463jzePV49nj4ePl5AnkDeQR5PXk/eUd5VHlVeWN5ZHlmeW55eXmCeYN5vHm/ecJ5xHnFecd5yHnKecx5znnPedB503nUedZ513ngeeF54nnleeh56nnsee55+Xn6efx5/nn/egF6BHoFegx6FXoWehh6GXobehx6HXofeiF6Ino0ejV6Nno4ejp6PnpxenJ6c3qCeoV6h3qOeo96kHqTepR6mXqaept6nnqneql6qnqretd62HrheuJ65Hruevt6/Hr+ewB7AXsCewV7B3sJewx7DXsOexB7EnsTexZ7F3sYexp7HHsdex97IXsieyN7J3spey17L3swezJ7OXs7ez17RntIe0p7TXtOe1N7VXtXe1l7XHtee197YXtve3B7c3t0e3Z7eHt6e3x7fXt/e457j3uRe5J7k3uWe557n3uge7J7s3u1e7Z7t3vSe9t73Hvee9974Hvie+N75Hvne+h76Xvre+x77Xvve/B7/XwIfAl8CnwNfA58KHwpfJN8lHyWfJl8mnybfKB8oXyjfKt8rHytfK98sHy6fLt8v3zAfMJ8w3zEfMZ8yXzLfNh82nzbfN183nz5fPp9IX0ofSl9Kn0sfS19Ln85f0N/Un9Tf1Z/WX9gf2t/bH9tf29/cH9zf39/gH+Lf41/m3+cf6B/on+jf6V/pn+xf7p/u3++f8B/wn/Df8R/y3/Nf9Z/13/if+N/5H/nf+h/73/yf/1//n//gAKADoAPgBGAHYAegB+AIYAygDSAOYA6gDyAPoBAgEGARIBFgEeASIBJgFOAVYBWgFeAWYCBgIKAhYCIgIqAlICVgJeAmYCegKOApoCngKiArICwgLOAtYC2gLiAuYDigOOA94D5gPuBA4EEgQWBB4EIgReBGYEbgRyBHYEtgS6BMIEzgTSBNYE3gUeBSYFNgU6BT4FSgVaBV4FYgWaBaIFqgWuBbIFvgXKBc4GJgZCBmYGagaSBpYGngamBxIHFgceByIHJgcuB5IHlgeaB6IHpgeuB/YH/ggOCDoIPghGCE4IdgiCCKYIugjyCPYJFgkaCSIJKgkyCTYJOglmCcYJ7gnyCgIKBgoOChYKGgoeCiYKMgpCCmoKbgp6CoIKigqOCtYK2grqCu4K8gr+CwILCgsOCxYLGgtmC2oLdguKC7ILtgu6C8ILygvOC9YL2gviC+oMNgxCDEoMTgxaDGIMZgymDKoMugzCDMoM3gzuDPYM+gz+DQYNCg0SDRYNIg1ODXYN5g3qDh4OIg4+DkIORg5mDmoOdg5+DvoO/g8KDw4PEg8aDyIPJg8uDzYPOg9WD14PZg9qD24Peg+KD44Pkg+aD54Pog/qD+4P8g/6D/4QAhAKEBYQZhBqEG4Q5hDqEO4RYhGKEaoRuhG+EcIRyhHSEd4R5hIqEjYSYhJqEm4SwhLGEs4S1hLaEt4S7hLyEvoTAhMKEw4TLhMyEzoTPhNKE1ITVhN6E4YTihOSE7YTuhO+E/YT+hRKFFIUVhRaFGIUZhSCFV4VYhWWFZoVnhXOFfIV9hYaFpYWmhaeFqYWrhayFrYW4hdGF0oXUhfyF/YX+hiiGOYY6hjuGW4Zchl2GX4ZghmGGbYZvhnCGlIalhqaGq4athq6GsoazhreGuIa5hsGGwobDhsWGyIbMhs2G0obThtWG1obXhtqG3IbdhuqG64bshv+HAYcEhwWHBocLhwyHFIcWhxmHG4cdhx+HIIckhyaHJ4cohy+HMIcyhzOHNYc2hziHOYc6hzyHPYdKh0uHTYdUh1WHVodYh2GHYodvh3GHcodzh3WHf4eAh4GHhIeGh4eHiYeKh4yHlIeVh5aHqYeqh66HsIexh7KHtIe7h7yHvoe/h8eHyIfJh+uH7IftiBSIOog7iD2IPog/iEGIQohDiFWIVohYiGqIbYhviHGIgIiDiIaIh4iJiIqIjIiTiJSIlYijiKyIroiviLCIw4jEiMeIyIjPiNCI0YjTiNaI14jgiOGI5ojniPKI9Yj2iPeI+oj7iP2I/4kAiQGJEYkiiSOJJIkxiTKJM4k1iUKJQ4l8iX2JfomAiYKJhImFideJ2InZiduJ3YnkieyJ7YnuifCJ8YnyjEiMSoxLjIOMhIyGjIeMiIyLjJWMloyXjWiNaY1qjWyNbo1vjYKNg42SjZONoI2hjaKNso22jbeNuY27jb2NwI3BjcKNxY3NjdCN2I3ZjdyN4I3hjeKN5Y3mjeeN6Y3tje6N8I3xjfKN9I4GjgeOCI4Ljg2ODo4gjiGOK44tjjCOMo4zjjSONo43jjiOO448jj6OP45DjmeOaI5qjmuObo5xjnOOdY59jn6OgI6CjoOOhI6GjpGOko6Tjp2OrY6ujrCOsY+gj6GPoo+qj7ePuI+6j7uPvI+/j8CPw4/Gj8+P0o/Wj9eP44/nj+yP74/xj/KP9I/1j/aP+o/7j/yQDJAOkBOQFZAYkBmQN5A5kDqQPZA/kECQQ5BFkEaQWZBakGSQZpBnkH6QgZCJkIqQkpCUkJaQmJCakJyQnpCfkKCQpJClkKeQqJCpkKuQrZCykLeQvJC9kL+QwJDCkMOQxpDIkMmQy5DMkM2Q0pDUkNWQ1pDYkNmQ2pDekN+Q4JDjkOSQ5ZDpkOqQ7JDukPWQ9pD3kP+RAJEBkQORH5EgkSGRMJFEkUWRWJFZkVuRXJFrkYaRiJGKkY6Rj5GrkayRyJHLkdCUlpVIlhiWG5YeliCWK5Ysli2WPpZBlk6WT5ZRllKWU5Zcll2WXpZglmOWZZZmlmuWc5aHlomWipaMlo6WkZaSlpOWlZaWlpqWm5axlrKWtJa1lreWuJa6lruWv5bClsOWyJbKlsuW0JbRltOW1JbwlvGW8pb0lvWW+Jb/lwKXA5cFlwqXC5cMlxCXEZcSlxSXFZcdlyuXLJculy+XMZdUl1WXV5dYl1qXXJddl1+XY5dkl2aXZ5dol3WXjJeOl4+XkJeTl5WXlpeXl6GXopesl66XsJexl7OX9JiOmJKYlZjPmNCY1JjWmNeY25jcmN2ZDpkPmWSZeJl5mXuZfpmMmaaZp5q5mruavZq+mr+aw5rEmtKa4Jrsmu6a+psQmxGbEpsgmyGbIpswmzGbSptLm0ybTptQm1KbU5x9nH6cgJyDnISciZyKnIycj5yTnKyc4JzhnjCeUJ5SnlOeVJ5WnlmeXZ5ynoCegZ6Jnoqenp61nraet565nrqevJ7KnsuezJ7QntKe057Vntae157Zntqe3p7hnuOe5J7mnuie+p79nwyfD58RnxKfFJ8VnxafGJ8hny2fLp84nzqfPJ+cn52fnv4y/lP+WP5n/wD/////////9f/0/+H/1//g/nD+b/4x/i/+Lf4r/in+J/4l/Yn9iPz7/Pf7bPtr+2j7Z/tQ+0/f7t/h393f3N/P38je/N763vne+N7s3uve3d7c3tvebN5r3f3d/N373fnd8N3t3ezd6t3p3ejd5d3k3d/d3t3c3drd1N3T3bfdtt213Z7dnd1q3WndaNpw2m/abto42jfaNNoz2fnZ+Nm/z/zP+8/6z8HPwMxhzGDMMcwwzC3MLLH+se6x3bHasdex0rHRsc+xzbHLscmxxLHAsb+xvrG8sbqxq7GpsZmxmLGOsXmxZ7FksWOxYrFRsVCxT7FMsTSxMbEwsSCxHrEasRmxF7ETsRKxEbEPsQyxCLEHsQaxBLECsQCw37DdsNiw17DUsNOw0rDPsM2wy7DJsMewxbC8sLuwrLCasJiwlrCVsJOwkrCPsI6wi7CDsICwf7B+sHuwerB5sHawdLBysHCwbrBtsGuwarBosGewZrBksGKwYbBfsF6wU7BAsD+wPrA1sDSwM7AnsCWwILAesBywG7AZsBWwFLAQsA6wB7AFsASwA6/yr/Cv76/tr+uv6q/pr+Wv46/ir+Cv3q/dr9yv2a/Vr8Wvw6+8r7uvuq+3r7avta+zr6WviK+Hr4avhK+Dr3qvea9cr1qvVq9VrymvKK8nrwyu+K73rvauvq65rrautK6yrrGusK6urq2uqa6orqeupa6drpyumq6Zrpeulq6RroKuga59rnyueq55rnauda5trmyuaK5mrmOuYq5hrl+uXa5IrkeuRq5CrkGuP64+rj2uO644rjauM64yrjCuJK4iriGuHq4drhSuEq4Prg6uDK33rfWt9K3xrfCt4q3hrd+t3q3drdut2q3Zrdat1K3Rrc+tzq21rbKtsa2ura2tq62jraGtoK2erZ2tnK2arZitkK2PrYKtgK1vrW6tQK0/rT6tPK07rTqtOK02rS+tLa0srSutKa0FrQStA6z5rPKs6KzlrOSs4qzhrN6s3KzbrNms2KzXrNWs1KzTrMSsw6zArL6svKy6rLWstKyzrLCsrKyorKespayYrJaslKyTrI6siqyHrICsf6x9rHmseKx2rGqsaaxnrGWsZKxirGCsX6xcrFmsRKxDrEKsQKwurC2sK6wmrCSsI6wirB+sHqwCrAGsAKv+q/ur+avoq+er5qvcq9urzavKq8mrxqvDq8Grv6u+q7yru6u5q7ernaubq5mrjKuHq4argquBq3+rfat7q3Orb6ttq2mraKtkq1CrTqtLq0qrSatHq0arRKtCqz2rO6soqyWrEasQqw+rBasCqwCq+Kruqu2q36rbqtqq2KrXqtWq06rOqsyqy6rKqsOqwKq+qruquaq4qp6qnaqYqpeqlaqHqoaqg6pwqm6qbaprqmqqaapmqmWqYqpOqkyqSqpIqkaqRKo6qjmqOKo2qjWqMqoxqjCqK6oiqiCqHqoZqheqE6oSqhCqD6oMqgqqAan2qfWp86nnqeap5KnjqeCp36neqdup2qnSqdGp0KnNqcupyanIqcapxKnDqcKpq6mqqaappamdqXCpb6luqSupKqkoqSepFKkSqRGpDqkNqQqpCakIqQWpBKkAqP+o/qj7qPmo46jiqOCo36jeqMSow6jBqL+ouKi3qJuomaiUqJKokKiPqI6ojKiLqIioh6iGqFioVqhUqFGoUKhPqE2oS6hKqEmoNKgzqDCoL6gtqCqoKaglqCSoIqgfqB6oHagSqAuoCqgJqAWoBKgCqAGn/6f9p/yn+6f4p/en9qf0p/Kn8afwp+6n7afsp+qn6afop+Gn3qfdp7Knsaewp66nraerp6qnqaeBp36nfKd6p3mneKdlp2SnY6c+pz2nPKcupy2nLKcTpxGnD6cOpwynC6cJpwim/ab7pvqm8qbppuim5abjpuKm2qbYptSm0KbOps2my6bKpsWmvaa7prqmtqa0prOmsKafpp2mnKaLpommhqaFpoSmgqaBpoCme6Z3pnWmdKZspmumaKZaplmmVKZTplCmT6ZGpkSmQ6Y5pjimN6YnpiWmHKYaphmmF6YWphWmBqYEpgOmAqYApe6l56XmpeWl46Xipd+l3qXcpdql2aXYpc2ly6XDpcKlwaW5pbilmKWXpYilh6VMpUqlSaVBpUClNqU1pS2lK6UppSelJqUlpSOlIqUhpR6lHKUbpRmlGKUWpM2ky6TKpK6klaSTpJKkkaSOpIykhaSEpIKkgaR+pHqkdqRzpHKkcKRvpG6kbKRPpE6kSaRGpEWkRKRApD+kPaQzpDKkMaQvpCCkHqQdpBqkGaQRpACj/qP9o/uj+aP4o/Cj7qPto+mj56Plo92j2qPOo82juqO5o7Sjs6Ouo62jrKOqo6mjqKOho56jnKOQo4Cjd6N2o3WjcqNxo26jbaNWo1KjUaNQo06jTKNKo0KjQKM+oz2jHqMdoxmjF6MVoxSjEqMRovyi+6LrouSi46Lbotii1qLVotSiuKK3oqeipqKkopaik6KSomaiZaJkoiSiIaIgohSiE6IQoguiCqIBogCh/KH5ofeh9qH1ofOh8qHuoe2h0aHQocehxqG9oaSho6GhoaChi6GJoYehgqF/oX6hfaF7oXihd6F0oXOhcqFloWOhLKEroRehC6EIoQeg96D0oPOg8qDwoO6g7KDqoOeg5qDkoOOg4qDYoNWg1KDSoNCgxaDDoMKgwaCvoKygoqChoKCgnaCboJmgmKCVoJKgkaCOoIygi6CKoIighqCDoIKggaB9oG+gbaBsoGqgZqBloFegVaBUoEqgOaA4oDagNaAyoC2gLKAroCagJaAkoCKgIaAeoB2gG6AaoBigF6AUoBGgEKAOoA2gDKAKoAmgB6AGn/Wf9J/wn++f7Z/pn+if5p/in+Gfw5/Cn8CftJ+yn7Gfr5+tn6yfqp+pn6ifpZ+kn4+fjp+Mn4ufgJ9/n36fdp91n22fa59pn2ifZ59kn2KfX59en1yfW59Zn1efVp9Sn1CfTZ9Ln0qfSZ9Hn0afOZ84nzefLp8tnyyfKp8pnyefJZ8inwufCZ8Invme9p71nvSe357entue2J7Xntaet561nrOesZ6wnq6erZ6snoqedJ5znlaeVZ5BnkCeP543ni2d+Z3nneSd453ineCd3Z3VndOdy53Knbydu526nbadsZ2wnaudqp2pnaedpp2cnZudjJ2LnYmdiJ2GnYWdg51/nX6dfZ1snWedZJ1jnWKdXZ1anVmdV51WnU6dTZ1MnUqdSZ1InUadQp1AnT+dMZ0vnSCdH50QnQ6dC50AnPGc8JzpnOic55zXnNSc05zSnNCcz5zFnMScvJy5nLicoJycnJucmpyYnJaclZyUnJGckJyInIecf5x1nHOcb5xtnGyca5xpnF+cXJxanFWcUZxPnE6cS5xKnEecRZxDnDucOZw4nDacNZw0nC+cLZwsnCucIZwenBWcFJwNnAucCZwCm/2b/Jvzm/Kb75vum+Ob4ZvZm9ib15vVm8WbxJvCm8CbrZurm6qbqZuYm5ablZuUm32bepttm2ybaZtom1abVZtRm0qbR5tFm0ObQptBmz+bPZs8mzGbL5shmyCbH5sdmxua1JrTmsmaxprEmsOaupq5mraatZqzmrKasJqumq2arJqpmqiappqkmqGaoJqfmpyam5qTmpKakZqPmo2ai5qKmniad5p2mnOacppxmm6abJprmmqaaJpmmmOaYppgml6aXZpamliaVppUmlKaRppFmkKaQZpAmj6aM5owmi+aLZosmiuaH5oImgeZ/5n8mfuZ+Zn4mfeZ9ZnzmfCZ75numeqZ6ZnomeaZ5ZnkmeKZ2pnSmdCZzpnNmcOZwZnAmb6Zs5mymaCZnpmdmZuZmZmPmY6ZjZmLmYiZh5mFmYSZg5mBmYCZf5l9mXuZepkmmRmZGJkPmQuZCpkImQaZBZkDmPSY8pjxmO+Y7pjtmOqY6JjnmOaY5JjimNmY15jSmNCYzpjNmMWYxJjCmMGYv5i8mLuYuZi2mLWYs5iumKyYq5ijmJ6YnZicmJqYmZiVmJSYkpiPmIyYipiDmICYfph9mHuYeph4mHaYaphnmGWYYZhgmF+YXJhamFeYVJhSmE+YTphMmD6YJZghmB+YHZgcmBqYGZgYmBaYFZgTmBKYDpgCl/CX7pfsl+uX4pfhl+CXzJfLl8qXxpfFl7WXs5exl66Xi5d+l3yXcJdvl26XbJdrl2qXXZdcl1uXUpdPl06XTJc/lzaXNJctlyyXKpcplyeXH5celxGXDpcNlwyXCpcJlwiXBZb+lv2W/Jb0lvGW75bflt6W3ZbSltGWz5bOls2WxpbFlsSWwpbAlr+Wq5aqlqiWp5allqSWoZaflp6WnJablpSWk5aRlpCWhpaFloOWgpaBln+WfZZ7lnaWdZZ0lmqWaZZnlmaWV5ZWllSWUpZRllCWTpZNlkuWSpZIlkeWRpY1ljOWMZYvli6WLZYkliOWIpYCleCV15XQlc6VzZXMlbuVupWmlZ6VnZWclYaVhZWDlYKVgZV/lX6VfZVxlVaUyJTFlMSUw5S8lLuUuJS2lLWUhpR7lHiUdJRslGuUaZRolGeUSpRAlD2UPJQ0lDKUJpQUlBOUEpQQlA+UDpQMlAqUCZQIlAaUBZQEk/KT7pPpk+ST45Pik+CT3ZPPk82TypPJk8KTwZO9k7yTu5O4k6+TrpOtk6qTm5Oak5mTj5ONk4uTiZOIk4aThZOEk4GTgJN8k3mTdpN1k3OTcpNvk26TZpNkk2OTYpNgk1STUZNQkzqTOZM4kzWTM5MykzGTJJMjkyGTHJMakxmTF5MUkxOTDpMMkv6S/ZL7kvqS+JL3kvaS85LxkvCS75LokuSS45LaktiS15LUktOS0ZLQksySypLJksiSxpLBksCSvpK8kreStJKwkqWSo5Khkp+SnpKckpuSmZKYkpWSlJKTkouSipKHkoaShZJ9knySepJ5knaSdZJzknGScJJuklCST5JNkkySSpJJkj+SPpI9kjiSN5I2kimSJpIlkiSSIZIekh2SG5ITkhGSEJIOkgySC5IKkgiSBpH1kfGR7pHtkeuR6JHnkeWR5JHikeGR3pHakdmR2JHWkdSR0pHQkc+RzZHLkcqRyZHHkauRqZGnkaaRpJGjkaKRlJGTkYCRf5F+kXyReZF4kWeRZpFlkWORYpFgkV+RXZFckVqRWJFXkVCRTZFLkUiRR5FEkUKRQZFAkTiRN5E2kTSRM5EykTCRLpEqkSiRJ5EZkP2Q/JD7kPmQ+JDwkO+Q7pDfkN6Q3ZDUkNKQ0JDOkMyQy5C4kLeQtpC0kKeQppClkKOQoZCgkJ+QnZCckJuQkZCQkI+QjZCLkIqQiZCHkIWQe5B6kHmQdpB1kEyQS5BJkEiQP5Ahj8qPyY/Ij7OPso+Sj4mPh4+Gj4WPg496j3mPeI91j3SPc49xj3CPb49tj2mPaI9mj2WPTo9Mj0uPSo9Gj0KPQY83jyaPJI8jjyKPG48WjxKPCI8GjwWPBI7vju6O7I7pjrWOs46jjpuOkY6Qjo+Oh46FjoSOa45qjmmOV45WjlWOTI5KjkmOSI4ajdeN1Y3TjdKN0Y3EjcKNt422jbWNrY2sjauNqY2ojaaNpI2ijaCNnY2cjZuNmI2QjY+NjY2MjYqNiY2IjYWNhI2DjX6NfY10jXKNcI1vjVKNT41OjU2NS407jTqNOY0xjS+NKI0hjQeM/oz1jPSM84zsjOiM54zmjOGM4IzdjNyM2ozZjNiM04zRjNCMzozNjMuMyoyyjLGMr4ySjHuMeox4jHaMdIxzjHGMcIxkjGOMYoxgjF+MVoxUjFOMT4xMjEuMSoxIjEeMP4w1jDSMMowhjBqMGIwWjBWMFIv8i/mL+Ivdi9yL2YvXi9WL04vRi8+Lzouqi6iLo4uSi5GLgYt+i3yLe4t6i3iLd4t2i3SLc4txi2OLI4shix+LG4sLivKK8IruiuWK44riitqK2YrWisqKx4rEisOKwYq6irmKt4q2irOKmYqYipeKjYqLioqKiYqAin+Kfop8inuKdIpzinKKcIptimuKaIplimSKYopeikaKRYpBikCKP4o6ijWKNIotiimKJ4omiiSKI4ohiiCKH4obiheKDooNigaKBYoDigKJ/on8ifWJ84nyifGJ6onmieSJ44niid+J3YnZidiJ1InSidGJz4nOicqJyYnHicaJxYnDib+JvomriaOJlImTiZKJh4mGiYSJgYmAiX+JfYl7iXeJdol0iXOJcYlwiW6JbIlriWmJaIlRiVCJTYlAiT+JPYk8iTmJN4kriSeJJokkiSOJIokQiQ2JC4kKiQmJBokFiQOJAYkAiP6I/Yj7iPqI9oj0iN+I3YjciNuI2YjWiNWI1IjSiMeIxYjDiMKIwYi+iLyIu4i6iJyImYiXiJaIhoiFiISIf4h+iH2IcYhwiF+IXYhciFqIWIhViFOIUohRiE+ITohMiESIQogoiCeIJogciBqIGIgWiAyIC4gJh/aH9Yfyh/GH8Ifth+uH54flh+KH4Iffh96H3IfYh9aH1YfSh9GHz4fOh82HwYe6h7OHsYevh62HrId4h3aHdYdxh3CHbodsh2uHaodnh2OHYodgh16HXIdah0GHQIc+hz2HPIc6hzmHOIcvhy6HLYcqhymHKIcXhxaHFYcNhwuHCocIhweG/ob9hvyGw4bBhrmGrIarhp2GnIaahpKGh4Z+hn2GRIZBhj6GPIY7hjmGOIY2hjSGMoYxhjCGLYYshiqGKYYghh+GHoYbhhiGFoYUhhKGB4YGhgSGAoYBhf+F/IX7hfSF64XqheiF54XlheSF44Xhhd+F3oXMhcuFyoXIhcaFwoWPhY6FjYV+hXuFeYVyhXGFcIVthWyFZ4VmhWWFYoVZhVeFVoVVhSmFKIUfhR6FHIUShQWFBIUChQCE/4T+hPuE+YT3hPSE84TyhPCE7oTthOqE6YTohOaE5ITjhOGE34TehN2E2YTXhNOE0YTQhM6Ex4TFhMOEuoS4hLaEs4SyhK2Eq4SphKeEpISihKGEn4SRhJCEjYSMhIqEiISGhISEg4SBhHKEcYRvhG6EbYRqhGKEYYRghE6ETYRLhEqESYQuhCWEJIQihCGEIIQehB2EHIQZhBiEF4QVhBSEE4QRhBCEA4P4g/eD9oPzg/KD2IPXg22DbINqg2eDZoNlg2CDX4Ndg1WDVINTg1GDUINGg0WDQYNAgz6DPYM8gzqDN4M1gyiDJoMlgyODIoMHgwaC34LYgteC1oLUgtOC0oDHgL2AroCtgKqAp4CggJWAlICTgJGAkICNgIGAgIB1gHOAZYBkgGCAXoBdgFuAWoBPgEaARYBCgECAPoA9gDyANYAzgCqAKYAegB2AHIAZgBiAEYAOgAOAAoABf/5/8n/xf+9/43/if+F/33/Of8x/x3/Gf8R/wn/Af79/vH+7f7l/uH+3f61/q3+qf6l/p39/f35/e394f3Z/bH9rf2l/Z39if11/Wn9Zf1h/VH9Qf01/S39Kf0h/R38efx1/CX8HfwV+/X78fvt++X74ful+537lfuR+437TftJ+0H7Nfsx+y37Jfrl+t36zfrJ+sX6ufqp+qX6ofpp+mH6WfpV+lH6Rfo5+jX53fnB+Z35mflx+W35Zfld+PH47fjl+OH43fjV+HH4bfhp+GH4XfhV+A34Bff198n3xfe997X3jfeB9133SfcR9w327fbp9uH22fbR9s32yfad9j32FfYR9gH1/fX19e316fXl9d310fXB9Zn1lfWJ9YH1efV19S31KfUZ9RX1EfUF9QH0+fT19O306fSd9Jn0jfR59FH0TfRJ9EH0OfQ19C30KfQh9BnzzfPB87nztfOp86HznfNd81nzSfNB8znzJfMV8w3zCfMF8v3y+fLx8u3y4fK18o3yHfIZ8eXx4fHF8cHxvfGd8ZnxjfGF8QnxBfD58PXw8fDp8OHw3fDV8M3wyfCt8KXwnfCZ8JXwifB58HXwcfBp8GXwYfAZ8BXwEfAJ8AXwAe/57+3vne+Z75XvHe8Z7xXuoe557lnuSe5F7kHuOe4x7iXuHe3Z7c3toe2Z7ZXtQe097TXtLe0p7SXtFe0R7QntAez57PXs1ezR7Mnsxey57LHsreyJ7H3seexx7E3sSexF7A3sCeu567Hrreup66HrneuB6qXqoept6mnqZeo16hHqDenp6W3paell6V3pVelR6U3pIei96LnosegR6A3oCedh5x3nGecV5pXmkeaN5oXmgeZ95k3mReZB5bHlbeVp5VXlTeVJ5TnlNeUl5SHlHeT95Pnk9eTt5OHk0eTN5LnkteSt5KnkpeSZ5JHkjeRZ5FXkUeQF4/3j8ePt4+nj1ePR47HjqeOd45XjjeOF44HjceNp42XjYeNF40HjOeM14y3jKeMh4x3jGeMR4w3i2eLV4s3iseKt4qnioeJ94nniReI94jniNeIt4gXiAeH94fHh6eHl4d3h2eHR4bHhreGp4V3hWeFJ4UHhPeE54THhFeER4QnhBeDl4OHg3eBV4FHgTd+x3xnfFd8N3wnfBd793vne9d6t3qneod5Z3k3eRd493gHd9d3p3eXd3d3Z3dHdtd2x3a3ddd1R3UndRd1B3PXc8dzl3OHcxdzB3L3ctdyp3KXcgdx93GncZdw53C3cKdwl3BncFdwN3AXcAdv9273bedt123HbPds52zXbLdr52vXaEdoN2gnaAdn52fHZ7dil2KHYndiV2I3YcdhR2E3YSdhB2D3YOc7hztnO1c31zfHN6c3lzeHN1c2tzanNpcphyl3KWcpRyknKRcn5yfXJucm1yYHJfcl5yTnJKcklyR3JFckNyQHI/cj5yO3IzcjByKHInciRyIHIfch5yG3IachlyF3ITchJyEHIPcg5yDHH6cflx+HH1cfNx8nHgcd9x1XHTcdBxznHNccxxynHJcchxxXHEccJxwXG9cZlxmHGWcZVxknGPcY1xi3GDcYJxgHF+cX1xfHF6cW9xbnFtcWNxU3FScVBxT3BgcF9wXnBWcElwSHBGcEVwRHBBcEBwPXA6cDFwLnAqcClwHXAZcBRwEXAPcA5wDHALcApwBnAFcARv9G/yb+1v62/ob+dvyW/Hb8Zvw2/Bb8BvvW+7b7pvp2+mb5xvmm+Zb4Jvf293b3Zvbm9sb2pvaG9mb2RvYm9hb2BvXG9bb1lvWG9Xb1VvU29Ob0lvRG9Db0FvQG8+bz1vOm84bzdvNW80bzNvLm8sbytvKm8obydvJm8ibyFvIG8dbxxvG28XbxZvFG8SbwtvCm8JbwFvAG7/bv1u4W7gbt9u0G68brtuqG6nbqVupG6VbnpueG52bnJucW5VblRuOG41bjBramq4aehp5WniaeBp1WnUadNpwmm/abJpsWmvaa5prWmkaaNpommgaZ1pm2maaZVpjWl5aXdpdml0aXJpb2luaW1pa2lqaWZpZWlPaU5pTGlLaUlpSGlGaUVpQWk+aT1pOGk2aTVpMGkvaS1pLGkQaQ9pDmkMaQtpCGkBaP5o/Wj7aPZo9Wj0aPBo72juaOxo62jjaNVo1GjSaNFoz2isaKtoqWioaKZopGijaKFonWicaJpomWiYaItodGhyaHFocGhtaGtoamhpaF9oXmhUaFJoUGhPaE1oDGdyZ25na2cxZzBnLGcqZylnJWckZyNm8mbxZpxmiGaHZoVmgmZ0ZlpmWWVHZUVlQ2VCZUFlPWU8ZS5lIGUUZRJlBmTwZO9k7mTgZN9k3mTQZM9ktmS1ZLRksmSwZK5krWODY4JjgGN9Y3xjd2N2Y3RjcWNtY1RjIGMfYdBhsGGuYa1hrGGqYadho2GOYYBhf2F3YXZhYmFLYUphSWFHYUZhRGE2YTVhNGEwYS5hLWErYSphKWEnYSZhImEfYR1hHGEaYRhhBmEDYPRg8WDvYO5g7GDrYOpg6GDfYNNg0mDIYMZgxGBkYGNgYgHOAa0BqAGZAQAAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgMEBQYHCAkKAQsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2Nzg5Ojs8PT4/QEFCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaW1xdXgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAUAAAAe8C5gADAAcAADcRIRElIREhUAGf/qcBFP7sAALm/RpCAmMAAAAAAQAeAWIByAL4AA4AABMnNyc3FyczBzcXBxcHJ7p5YYQudRmWGXUuhGF5OQFiWFwQj0CDg0CPEFxYeQAAAgBX//oBJwK2AAMADQAAEwMzAwIiJjU0NjIWFRRuF9AXDoYiIoYiASEBlf5r/tkkP0AjI0A/AAACABMB0AGVAvgAAwAHAAATAzMDMwMzAzAdrBxjH64cAdABKP7YASj+2AAAAAIACwAAAksCtgAbAB8AAAEjBzMVIwcjNyMHIzcjNTM3IzUzNzMHMzczBzMHNyMHAktGD1VmFpIVexaSFTlKDlhoFJUUeRSVFDXoDnoPAZlxgaenp6eBcYGcnJyc8nFxAAMAKf92AjEDEwAfACUALAAAJRQGBxUjNSYnNRYXNS4BNTQ2NzUzFRYXFSYnFR4DABQWFzUGExU+ATU0JgIxZHVUnDtLjIJZbm1UbDlIXUVWLhD+oRQeHnIcEhLPYmMIjIoGEqIUBXUVXWRrWAddXQUSmRQEeQwiN0ABBDAXCGgE/uxiBBUWFBYAAAAABQA5//YDEALAAAsADwAbACcAMgAAEyImNTQ2MzIWFRQGAwEzAQMyNjU0JiMiBhUUFgEiJjU0NjMyFhUUBicyNjQmIyIGFRQW0EtMTUpMTU1zAYR1/ntNFxERFxYREQG9S0xNSkxNTUwXEhIXFhERAUNUa2pUVGprVP69Arb9SgGeJz08KSk8PSf+WFRralRUamtUWyh4KSk8PScAAwAK//YCbQLAAB4AJgAvAAAlFSImJwYjIiY1NDY3JjU0NjMyFRQGBxc2NTMUBgcWASIVFBc2NTQDFBYzMjcnDgECbVFQJV5ganU8SzVvZME3QD8RoCApFv75JBssjyUbHydeGBCPjxIhPXFVOF0uSVRHXaE5VCtRJFJQcC8OAa8wFyQdIiz+jh0nFnMRHwAAAQATAdAAvwL4AAMAABMDMwMwHawcAdABKP7YAAEANP84AZ0C+AAKAAAFIyY1NDY3MwYVFAGXwqFRVcOdyO/sg+Z8/+HoAAAAAQAL/zgBdAL4AAoAABcjNjU0JzMWFRQGzsOdl8KhUcj/4ej48umD5gAAAAABABkAGQI/Aj8ACwAAARUjFSM1IzUzNTMVAj/LkcrKkQF1kcvLkcrKAAAAAAEAFf94ASIAuQAHAAAXIz4BNTMUBq6ZIDe2S4g/wUE8zgAAAAEAPgDpAXoBfQADAAA3NSEVPgE86ZSUAAEARf/6ARoA0wAKAAAXIiY1NDYzMhYUBq9JISFJSCMjBiVHSCUmjiUAAAAAAQAz/+IBwgLUAAMAABcBMwEzAQ+A/vEeAvL9DgAAAAACACL/9gI1AsAADwAbAAAEIi4CND4CMh4CFA4BJzI2NTQmIyIGFRQWAW2CXUgkJEhdglxJIyRInTAhITAvIiIKIE+O0o1OICBOjdKOT4JNdndOT3Z1TgAAAQBcAAABwwK2AAYAACURBzU3MxEBBKjUkwACDSGgKv1KAAAAAQAuAAACKALAABgAADc1PgE1NCYjIgc1NjMyFhUUDgIPARUhFS6ufys6TVVXdXyFDClURTABBQCdj34sKyQgmyBkXys6SlI2JgaaAAEAQv/2AhoCwAAnAAAXIic1FjMyNjU0JisBNTMyPgM1NCYjIgc1NjMyFhUUBxUeARUUBuFfQE9BPEJLSTQzHx4rFBA4NUNAQV+BkGc4QZ4KDZ8RHSwnHI8BBw0aFCMXFJYVWGxrJAYNVz1uYgAAAAACABMAAAI1ArYACgAPAAABFSMVIzUhNQEzESEzNSMHAjVGtv7aAQXX/sSGBoABIZ+CgrEBg/5r0swAAAABAEf/9gIlArYAFwAAFyInNRYzMjY0JiMiBxMhFSMHNjMyFRQG7FNKTD0+RjpAQ1gzAYDnESIj3qEKDZ8RIVgfDwGcnmoH2HN0AAAAAgAm//YCNwLAAA4AGAAABSARECEVDgEHMzYzMhUUJTI2NTQjIhUUFgEw/vYBq25yDAQtTdT+8i0zWlgpCgERAbmhAjxBHdvskC8qVVUoMQABADcAAAIRArYABgAANxMhNSEVA23t/t0B2t8AAhiet/4BAAADACL/9AI2AsIAGAAhACsAAAUiJjU0Njc1LgE1NDYzMhYVFAYHFRYVFAYDMjU0IyIVFBYTMjU0JiMiBhUUAS2AizsxLC2Bd3WBMzF3in9SUlQrKV00KSszDGJgSk8WBBVHQV1fYFw+SRYEL4FfYgG2SEJCIib+3kMnKysnQwAAAAIAI//2AjQCwAATAB0AABc1MjY3IwYjIiY1NDYzIBEUDgITMjU0JiMiBhQWiW16CAQpRXFygoUBCihhpilVKykuMzEKoi5CGnNrc4H+3HCYbDIBfVsoNzRWMAAAAgBq//oBPwIjAAoAFQAAEyImNTQ2MzIWFAYDIiY1NDYzMhYUBtRJISFJSCMjSEkhIUlIIyMBSiVHSCUmjiX+sCVHSCUmjiUAAgAm/3gBPwIjAAoAEgAAEyImNTQ2MzIWFAYDIz4BNTMUBtRJISFJSCMjXZkgN7ZLAUolR0glJo4l/i4/wUE8zgAAAAABABn/8QI/AmcABgAAARUNARUlNQI//kEBv/3aAmeRqqqR4LYAAAAAAgAZAFoCPwH/AAMABwAAEzUhFQE1IRUZAib92gImAW6Rkf7skZEAAAEAGf/xAj8CZwAGAAATBRUFNS0BGQIm/doBv/5BAmfgtuCRqqoAAAACACP/+gGvAsQAGAAiAAA3NTQ2Nz4BNTQmIgc1NjMyFhUUBgcOAR0BAiImNTQ2MhYVFHwcJhcPI2o0OF2KbSExLRkKhiIihiL6LS42IhQbGCASDZwPSmg9TCYkIBQR/wAkP0AjI0A/AAIAFP+SAzICvwAzAD4AAAUiJjU0PgEzMh4CFRQGIyInDgEjIiY1NDYzMhYXNxcHBhUUMzI1NCYjIgYVFBYzMjcVBgMyNzY1NCMiBhUUAbzM3Hm/cWGUViptWFQnIDYpREx7RicjCQl9IAkjNHR6eKaSjWtKX4MyEgUnGyxuurWIz2c3XW8/gqNCIiBaS3SMGx0sArIyEC6dbmenl35yFXoaAT1cGxAvTjA4AAAC//0AAAMGArYABwALAAAlJyEHIxMhEwEzJyMCMjD+/DHQ/wEN/f4tm0cMAJKSArb9SgEy2QAAAAMAQgAAAm8CtgAOABcAIAAANxEhMhYVFAYHFRYVFAYjAzMyNjU0JisBETMyNjU0JisBQgEDnnouN3d6mlIlPC0tPCU0PSwsPTQAArZbYjhEDwQmemVlAaUXJSMW/oMZJCUcAAABADD/9gI4AsAAFwAABSIuAjU0NjMyFxUmIyIGFRQWMzI3FQYBjlV4YTCvpmhDSFNMP0FNWkZLCh9MkGrApRmpGlRpbE0ZqRwAAAAAAgBCAAACoQK2AAoAEwAAEyEyHgIVFAYjITczMjY1NCYrAUIBClR0Xy6up/72xzdXOz1VNwK2HEmMar+cqkhpbEkAAAABAEIAAAINArYACwAAJSEVIREhFSMVMxUjAQkBBP41AcX+6emrqwK2rFilAAEAQgAAAgcCtgAJAAABIxUzFSMVIxEhAgf+6enHAcUCCnCq8AK2AAABADD/9gJ/AsAAGwAABSIuAjU0NjMyFxUmIyIGFRQWMzI3NSM1IREGAZJZe2Autq51SVNaVkM2Wh0PZgEdagoeTo5rwKUXrRxUaXFPAWWm/m8gAAABAEIAAAKsArYACwAAATMRIxEjESMRMxUzAeXHx9zHx9wCtv1KAR3+4wK28wAAAAABAEIAAAEJArYAAwAANxEzEULHAAK2/UoAAAAAAf+f/z4BCAK2AA0AAAciJzUWMzI2NREzERQGCy0pHSM6KcaTwgaWBTxBAmT9lYiFAAAAAAEAQgAAArsCtgAMAAABEyMDIxEjETMVMzczAcvw7aobx8cbqOUBdf6LASD+4AK2+voAAAABAEIAAAIKArYABQAAJSEVIREzAQkBAf44x6urArYAAAEAQgAAA1cCtgAPAAA3ESETMxMhESMRIwMjAyMRQgFFRAZNATnDBmPCYAYAArb+pAFc/UoB9/54AYj+CQAAAAABAEIAAALGArYACwAANxEhEzMRMxEhAyMRQgEskAbC/uulBgACtv5NAbP9SgHQ/jAAAAAAAgAw//YCvgLAABAAGgAABCIuAjQ+AjMyHgIUDgEkMjY1NCYiBhUUAcmkclgrK1hzUVJyWCsrWP72jDAwjC8KIE6O0o1PICBPjdKOToRQcXNRUXNxAAAAAAIAQgAAAm8CtgAKABMAADcRITIWFRQGKwEVETMyNjU0JisBQgEOon2BnkcqPzIzPioAArZviJFxvQFbKTY5KgACADD/bwK+AsAAFAAeAAABFAYHFyMnLgM1ND4CMzIeAgUUFjI2NTQmIgYCvk1MfupPTm5VKStYc1FSclgr/kQvjDAwjC8BW4yeH6OHASJPjGdpjU8gIE+NaXFQUHFzUVEAAAAAAgBCAAACqgK2AA0AFgAAJSMnIxUjESEyFhUUBgcDFTMyNjU0JiMCquuPJ8cBGoiFOj/nMD0vLj4A6ekCtm95VGUXASCnJjEvIQAAAAEAMP/2AhcCwAAkAAAXIic1FjMyNjU0JicuATU0NjMyFxUuASMiBhUUFhceAxUUBv1qXlxhPCImPnBMi4VpSxZtKC8qI0JBTSgMgAoXqxoXIhgcDxpWXnVjGZ8IEBcZGBQRESY5PjRtbgAAAAEAFAAAAiUCtgAHAAABFSMRIxEjNQIlpsalArau/fgCCK4AAAEAP//2ArACtgAPAAAFIiY1ETMRFBYzMjURMxEUAXedm8cwQXPGCmqLAcv+QygxWQG9/jX1AAAAAQALAAAC7QK2AAcAADcDMxMzEzMD/fLekgaa0vkAArb+HgHi/UoAAAEADAAAA88CtgAPAAA3AzMTMxMzEzMTMwMjAyMDmo7RTQZQ4kYGUdCb+FEGUwACtv45AY/+cQHH/UoBgP6AAAABAAgAAALUArYADQAANxMDMxczNzMDEyMnIwcI1MfocQZv6sjP73QGeAABYQFV3d3+sf6Z5uYAAAEAAQAAAswCtgAJAAAlEQEzFzM3MwERAQH/AOt3BoHi/v4AAQEBtfj4/lH++QAAAAEAMQAAAnQCtgALAAA3NQE1ITUhFQEVIRUxASr+6AIT/tQBSgCpAVwGq6X+oAarAAEARv84AVsC+AAHAAAXESEVIxEzFUYBFVdXyAPAlv1slgAAAAEABv+eAfAC+AADAAAFATMBAW7+mIMBZ2IDWvymAAAAAQAM/zgBIQL4AAcAABc1MxEjNSERDFdXARXIlgKUlvxAAAAAAQA4AToCIAK2AAYAAAEjCwEjEzMCIJFkYpGYtgE6ARH+7wF8AAAAAAEAAP8rAfT/nwADAAAXNSEVAAH01XR0AAEAQwJfAWMC7QADAAATJzMX6KW/YQJfjo4AAAACAB7/9gIuAiUAFgAgAAABMhYVESMnBiMiJjU0NjsBLgEjIgc1NhMyNzUjIgYVFBYBJo17rA8keVhgbHhvAic9OzQ1QUQbTC0iHQIlV1/+kTI8UlVcTigXCZ8J/l4iKhEYFA8AAgA8//YCZAL4ABEAGwAAATIWFRQOAiMiJicHIxEzETYCMjY1NCYiBhUUAZN4WRItVD5ISA8Jr74rEGwjI2wmAiaJj0BfUCkkJD4C+P73N/5aRkhKRkRMSQAAAAABACL/9gHLAiYAFAAABSImEDYzMhcVJiMiBhUUFjMyNxUGATqOioqOWTEvOj08O0I9LzIKegE8eg+aEThISTUSlxUAAAIAIv/2AkoC+AARABsAAAEzESMnDgEjIiY1ND4CMzIXAjI2NTQmIgYVFAGOvK8LEUZFeVkSLVU+eSGJbCYnaiQC+P0IQSUmiY9AX08qQP6aQkxISElHSgACACL/9gIxAiYAEwAaAAABFAcFFjMyNjcVDgEjIiYQNjMyFgU3NCYjIgYCMQb+tA9sNW4ZGntNiYmLkItp/q2rISoyKwExRRAUQhgPjBIZegE8enRpDSIjIgAAAAEACwAAAYUC/AAXAAABIgYdATMVIxEjESM1MzU0PgIzMhcVJgFnNRxaWr1OTh9DTzsdIw8CeCI4ApL+dgGKkgVEWS4QBYMEAAIAIv84Ak8CJgAZACcAAAEzERQOAiMiJzUWMzI2PQEGIiY1EDMyFhcDMjY1NCYjIg4CFRQWAZO8H0iBXlhTSk1ZRSHyXtdERhBYPyIiPxwlEQckAhz+ETpWQyINkxMsPw4+jYYBExse/pZBT0tAFiosH0VLAAAAAAEAOwAAAlEC+AARAAABMhYVESMRNCYjIgcRIxEzETYBoF9Svh8uQQy+viwCJlZj/pMBQjEdMv6iAvj+6kQAAAACAC8AAAD9AxMACgAOAAASIiY1NDYzMhYVFAMRMxHZhiQkQ0Qjxr4CVCBBQB4eQEH9jAIc/eQAAAL/2P84AP0DEwAKABgAABIiJjU0NjMyFhUUAyInNRYzMjY1ETMRFAbZhiQkQ0Qj5SAgCxUnGL5tAlQgQUAeHkBB/MQFiAMbJAIb/eJ0UgAAAQA7AAACXgL4AAwAAAETIycjFSMRMxEzNzMBtKrjbBa+viBp1gEg/uDV1QL4/m62AAAAAAEAOf/6ATUC+AANAAAXIiY1ETMRFBYzMjcVBvJrTr4SFw4HIQZKVgJe/c8iGAKPBgAAAAABADsAAAOHAiYAHwAAATIWFREjETQmIyIGBxEjETQmIyIGBxEjETMVNjMyFzYCz11bvh4kJR8GviAjIh0Evr4pbXEmKQImW3D+pQFCMB4eIP6uAUIvHxkY/qECHDdBQkIAAAAAAQA7AAACUQImABEAAAEyFhURIxE0JiMiBxEjETMVNgGgX1K+Hy5ADb6+LwImVmP+kwFCMR0s/pwCHDdBAAAAAAIAIv/2AkoCJgAHAA8AAAQgJhA2IBYQJDI2NCYiBhQBwf7qiYkBFon+vGAkJGAkCnoBPHp6/sQQPKQ+PqQAAAACADz/OAJkAiYAEAAaAAABMhYVFA4CIyInFSMRMxU2AjI2NTQmIgYVFAGTeFkSLVQ+diO+visQbCMjbCYCJomPQF9QKT37AuQtN/5aRkhKRkRMSQACACL/OAJKAiYAEAAaAAABMxEjEQYjIiY1ND4CMzIXAjI2NTQmIgYVFAGMvr4kdHlZEi1VPnYih2wmJ2okAhz9HAEAQomPQF9PKjz+lkJMSEhJR0oAAAAAAQA8AAABlgImAA0AAAEzByMiBgcRIxEzFT4BAYsLBA82TQa+vhZGAiapLzT+5gIcXjwsAAEAKv/6AcgCJgAiAAAXIic1FjMyNjQmJy4BNTQ2MzIXByYjIgYVFBYXFhceARUUBuFlUl5MJRkgOlM3Z4JqNAZJRygXFSQaEFIzcwYRnBwMKhIPFj1FWVMSjRQMEAwKCgYFF0JLZVEAAQAL//oBaQKcABUAAAEjFRQWMzI3FQYjIiY9ASM1MzUzFTMBaWAUHhkGIyptVUBAvmABisYjFgKOBU9p2JKAgAAAAAABADj/9gJJAhwAEQAAATMRIycGIyImNREzERQWMzI3AYy9rwwvc2BUvh8tOw8CHP3kNkBXYAFv/r4vHywAAAAAAQABAAACawIcAAcAADcDMxMzEzMDv77ZWQZlzcIAAhz+rQFT/eQAAAEADQAAA4MCHAAPAAA3AzMTMxMzEzMTMwMjAyMDn5LOPgZC0z8GP8uT7jgGNgACHP6qAVb+qgFW/eQBOP7IAAABAAUAAAKHAhwADQAANxMDMxczNzMDEyMnIwcFvLDiUQZT4LC65VgGWwABFQEHk5P++f7rnp4AAAEAAf84AmsCHAAPAAAXNTI2NwMzEzMTMwMOA1FAOAbO1GQGXNCrIj1YZMilFBYCFf6vAVH+LltoPRIAAAEANgAAAhcCHAALAAA3NTc1IzUhFQcVMxU23M0BuuX9AKTbBpea4waZAAAAAQAU/zgBdwL4AB4AAAUVIiY9ATQmIzUyNj0BNDYzFSIGHQEUBgceAR0BFBYBd5GGIykpI4eQOx5ER0dEIEt9aHV1Mx19HDN1dWh9Iz11Rz4JCT5HdT8hAAEAMv84AM0C+AADAAAXETMRMpvIA8D8QAAAAAABAAz/OAFvAvgAHgAAFzUyNj0BNDY3LgE9ATQmIzUyFh0BFBYzFSIGHQEUBgw7HkRHR0QgOZGGIykpI4fIfSM9dUc+CQk+R3U/IX1odXUzHX0cM3V1aAAAAQAbAL8CPQGZABUAACUiJicmIyIHJz4BMzIXHgEzMjcXDgEBmChBKikcGwWFBldIRU4bGREbBYUGV78ZHh1MC1tsNxILTAtbbAAAAAEAAAABAACzZI5sXw889QALA+gAAAAA33LvLQAAAADfIu0w/5//KwPPAxMAAAAIAAIAAAAAAAAAAQAABJL+ogBaA9z/n//pA88AAQAAAAAAAAAAAAAAAAAAAF8CPwBQAeYAHgF/AFcBqAATAlgACwJaACkDSAA5AoAACgDSABMBqAA0AagACwJYABkBXgAVAbgAPgFeAEUB9QAzAloAIgJZAFwCWQAuAlkAQgJZABMCWQBHAlkAJgJZADcCWQAiAlkAIwGoAGoBqAAmAlgAGQJYABkCWAAZAc8AIwNSABQDAf/9Ap0AQgJeADAC1ABCAjcAQgIlAEICuwAwAu4AQgFLAEIBRv+fArMAQgIgAEIDmQBCAwgAQgLuADAClQBCAu4AMAKlAEICSwAwAjgAFALwAD8C+AALA9wADALdAAgCzQABApsAMQFnAEYB9gAGAWcADAJYADgB9AAAAfQAQwJvAB4ChgA8AfQAIgKGACICUAAiAW4ACwKLACICigA7ASwALwEs/9gCYAA7AT0AOQO/ADsCigA7AmwAIgKGADwChgAiAaIAPAHyACoBdQALAoUAOAJsAAEDjwANAowABQJsAAECRQA2AYMAFAD/ADIBgwAMAlgAGwAAABYANABQAGYAlgDcASoBcgGAAZYBrAHCAdQB4AH2AgYCMgJEAmoCogLAAuYDDgMgA2ADjgOyA9QD6AP8BBAERASaBLYE6AUOBTAFRgVaBYQFnAWqBcQF3gXuBg4GKAZUBnQGpgbMBwIHFAcwB0QHZAeAB5gHsAfCB9IH5Af4CAQIEghECHIIlAjACO4JEglOCW4JigmyCcwJ5goYCjgKWAqCCq4KyAr8Cx4LPgtSC3ILjgusC8IL7gv8DCgMTgABAAAAXwA/AAUAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAACABmAAEAAAAAAAIABwAAAAEAAAAAAAMALAAHAAEAAAAAAAUACwAzAAEAAAAAAAYADwA+AAMAAQQJAAIADgBNAAMAAQQJAAMAWABbAAMAAQQJAAUAFgCzAAMAAQQJAAYAHgDJUmVndWxhckZvbnRGb3JnZSAyLjAgOiBBbGliYWJhUHVIdWlUaUggOiAxNy0xMC0yMDIyVmVyc2lvbiAxLjBBbGliYWJhUHVIdWlUaUgAUgBlAGcAdQBsAGEAcgBGAG8AbgB0AEYAbwByAGcAZQAgADIALgAwACAAOgAgAEEAbABpAGIAYQBiAGEAUAB1AEgAdQBpAFQAaQBIACAAOgAgADEANwAtADEAMAAtADIAMAAyADIAVgBlAHIAcwBpAG8AbgAgADEALgAwAEEAbABpAGIAYQBiAGEAUAB1AEgAdQBpAFQAaQBIAAAAAAIAAAAAAAD/tQAyAAAAAAAAAAAAAAAAAAAAAAAAAF8AXwAAAA0ABAAFAAYABwAIAAkACgALAAwADgAPABAAEQASABMAFAAVABYAFwAYABkAGgAbABwAHQAeAB8AIAAhACIAIwAkACUAJgAnACgAKQAqACsALAAtAC4ALwAwADEAMgAzADQANQA2ADcAOAA5ADoAOwA8AD0APgA/AEAAQQBCAEMARABFAEYARwBIAEkASgBLAEwATQBOAE8AUABRAFIAUwBUAFUAVgBXAFgAWQBaAFsAXABdAF4AXwBgAGE=)}.dumi-default-hero-title{margin:0 0 32px;display:inline-block;font-family:Alibaba-PuHuiTi,Gill Sans,Gill Sans MT,Calibri,Trebuchet MS,sans-serif;color:#83cdf8;font-size:180px;line-height:1}.dumi-default-hero-title>span{color:transparent;text-shadow:0 10px 20px rgba(22,119,255,.15);background:linear-gradient(30deg,#90d5ff 30%,#65a5ff);-webkit-background-clip:text;background-clip:text}@media only screen and (max-width: 767px){.dumi-default-hero-title{font-size:60px}}[data-prefers-color=dark] .dumi-default-hero-title{opacity:.7}.dumi-default-hero{position:relative;margin:-96px auto -160px;max-width:1392px;height:932px;padding-top:220px;text-align:center;box-sizing:border-box}@media only screen and (max-width: 767px){.dumi-default-hero{margin-top:-72px;padding-top:160px;height:660px}}.dumi-default-hero+*{position:relative}.dumi-default-hero:before{content:\"\";position:absolute;display:block;top:0;left:0;right:0;bottom:0;opacity:.8;pointer-events:none;background:no-repeat center / cover;background-image:url(https://gw.alipayobjects.com/zos/bmw-prod/a6c3488a-994c-4dd3-8e92-2324d9a1ca48/l9dmd9wl_w2858_h1864.png)}[data-prefers-color=dark] .dumi-default-hero:before{opacity:1}.dumi-default-hero>p{margin:32px;color:#4f5866;font-size:20px;line-height:1.6}[data-prefers-color=dark] .dumi-default-hero>p{color:#8590a0}@media only screen and (max-width: 767px){.dumi-default-hero>p{font-size:16px}}.dumi-default-hero-actions{margin-top:48px;display:flex;justify-content:center}.dumi-default-hero-actions>a{display:inline-block;height:52px;font-size:18px;line-height:52px;text-decoration:none;min-width:168px;border-radius:26px;box-sizing:border-box;transition:opacity .2s}@media only screen and (max-width: 767px){.dumi-default-hero-actions>a{font-size:16px;height:42px;line-height:40px;min-width:128px}}.dumi-default-hero-actions>a:hover{opacity:.8}.dumi-default-hero-actions>a:not(:first-child){margin-inline-start:48px;color:#1677ff;border:1px solid #1677ff}[data-prefers-color=dark] .dumi-default-hero-actions>a:not(:first-child){color:#0053c8;border-color:#0053c8}.dumi-default-hero-actions>a:first-child{color:#fff;background-color:#1677ff}[data-prefers-color=dark] .dumi-default-hero-actions>a:first-child{background-color:#0053c8}.dumi-default-toc{list-style:none;margin:12px 0 0;padding:4px 0;border-inline-start:1px solid #d0d5d8}[data-prefers-color=dark] .dumi-default-toc{border-inline-start-color:#1c2022}.dumi-default-toc:empty{display:none}.dumi-default-toc>li>a{display:block;margin:6px 0;padding:3px 12px;color:#4f5866;font-size:13px;line-height:1;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}[data-prefers-color=dark] .dumi-default-toc>li>a{color:#8590a0}.dumi-default-toc>li>a:hover{color:#30363f}[data-prefers-color=dark] .dumi-default-toc>li>a:hover{color:#c6c9cd}.dumi-default-toc>li>a.active{margin-inline-start:-1px;color:#30363f;border-inline-start:1px solid #1677ff}[data-prefers-color=dark] .dumi-default-toc>li>a.active{color:#c6c9cd;border-inline-start-color:#0053c8}.dumi-default-toc>li[data-depth=\"3\"]>a{padding-inline-start:20px}.dumi-default-sidebar{position:sticky;top:76px;width:184px;max-height:calc(100vh - 76px);padding-top:20px;padding-bottom:24px;padding-inline-start:8px;padding-inline-end:32px;box-sizing:border-box;overflow:auto}@media only screen and (max-width: 767px){.dumi-default-sidebar{position:fixed;z-index:20;top:0;left:0;bottom:0;max-height:initial;padding-inline-start:32px;background-color:#f7f9fb;border-top:1px solid #e4e9ec;box-shadow:0 0 20px #0000001a;transition:.2s all}[data-prefers-color=dark] .dumi-default-sidebar{background-color:#050709;border-top-color:#2a353c}.dumi-default-doc-layout:not([data-mobile-sidebar-active]) .dumi-default-sidebar{opacity:0;visibility:hidden;transform:translate(-100%)}}.dumi-default-sidebar>dl{margin:0;padding:0;line-height:1}.dumi-default-sidebar>dl>dt{margin:8px 0;color:#30363f;font-size:14px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase}[data-prefers-color=dark] .dumi-default-sidebar>dl>dt{color:#c6c9cd}.dumi-default-sidebar>dl>dd{margin:0;padding:8px 0}.dumi-default-sidebar>dl>dd>a{display:block;color:#4f5866;font-size:16px;line-height:20px;text-decoration:none;transition:all .3s;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}[data-prefers-color=dark] .dumi-default-sidebar>dl>dd>a{color:#8590a0}.dumi-default-sidebar>dl>dd>a:hover{color:#1677ff}[data-prefers-color=dark] .dumi-default-sidebar>dl>dd>a:hover{color:#0053c8}.dumi-default-sidebar>dl>dd>a.active{color:#1677ff;font-weight:700}[data-prefers-color=dark] .dumi-default-sidebar>dl>dd>a.active{color:#0053c8}.dumi-default-sidebar>dl+dl{margin-top:16px;padding-top:16px;border-top:1px solid #d0d5d8}[data-prefers-color=dark] .dumi-default-sidebar>dl+dl{border-top-color:#1c2022}[data-prefers-color=dark]{color-scheme:dark}body{margin:0;padding:0;background-color:#f7f9fb}[data-prefers-color=dark] body{background-color:#050709}.dumi-default-doc-layout{font-family:sans-serif;background-color:#f7f9fb}[data-prefers-color=dark] .dumi-default-doc-layout{background-color:#050709}@media only screen and (max-width: 767px){.dumi-default-doc-layout:before{content:\"\";position:fixed;z-index:11;top:0;right:0;left:0;bottom:0;background-color:#00000080;transition:all .1s}.dumi-default-doc-layout:not([data-mobile-sidebar-active]):before{opacity:0;visibility:hidden}}.dumi-default-doc-layout-mobile-bar{position:sticky;z-index:9;top:52px;left:0;right:0;display:none;align-items:center;padding:0 24px;height:36px;border-top:1px solid #e4e9ec;background-color:#f7f9fbe6;backdrop-filter:blur(6px)}[data-prefers-color=dark] .dumi-default-doc-layout-mobile-bar{border-top-color:#2a353c;background-color:#050709}@media only screen and (max-width: 767px){.dumi-default-doc-layout-mobile-bar{display:flex}}.dumi-default-doc-layout-mobile-bar .dumi-default-sidebar-btn{padding:0;color:#4f5866;border:0;background-color:transparent}[data-prefers-color=dark] .dumi-default-doc-layout-mobile-bar .dumi-default-sidebar-btn{color:#8590a0}.dumi-default-doc-layout-mobile-bar .dumi-default-sidebar-btn>svg{width:16px;margin-right:6px;fill:#4f5866;vertical-align:middle}[data-prefers-color=dark] .dumi-default-doc-layout-mobile-bar .dumi-default-sidebar-btn>svg{fill:#8590a0}.dumi-default-doc-layout>main{display:flex;align-items:flex-start;margin:0 auto;padding:0 24px;max-width:1392px;box-sizing:border-box}.dumi-default-doc-layout>main>section{flex:1 1;max-width:100%}.dumi-default-doc-layout>main>.dumi-default-doc-layout-toc-wrapper{position:sticky;top:106px;width:184px;margin-inline-start:24px;max-height:80vh;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}@media only screen and (max-width: 767px){.dumi-default-doc-layout>main>.dumi-default-doc-layout-toc-wrapper{display:none}}.dumi-default-doc-layout>main>.dumi-default-doc-layout-toc-wrapper>h4{margin:0 0 8px;color:#8a9099;font-size:13px;line-height:1}[data-prefers-color=dark] .dumi-default-doc-layout>main>.dumi-default-doc-layout-toc-wrapper>h4{color:#616d7f}\n"
  },
  {
    "path": "docs-dist/558.b2514152.async.js",
    "content": "(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[558],{87056:function(M,N,a){\"use strict\";a.r(N),a.d(N,{default:function(){return T}});var e=a(50959),f=Object.defineProperty,g=Object.getOwnPropertySymbols,j=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,E=(s,l,i)=>l in s?f(s,l,{enumerable:!0,configurable:!0,writable:!0,value:i}):s[l]=i,S=(s,l)=>{for(var i in l||(l={}))j.call(l,i)&&E(s,i,l[i]);if(g)for(var i of g(l))d.call(l,i)&&E(s,i,l[i]);return s};const z=s=>e.createElement(\"svg\",S({viewBox:\"64 64 896 896\"},s),e.createElement(\"path\",{d:\"M120 230h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 424h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm784 140H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-424H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z\"}));var O=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNMTIwIDIzMGg0OTZjNC40IDAgOC0zLjYgOC04di01NmMwLTQuNC0zLjYtOC04LThIMTIwYy00LjQgMC04IDMuNi04IDh2NTZjMCA0LjQgMy42IDggOCA4em0wIDQyNGg0OTZjNC40IDAgOC0zLjYgOC04di01NmMwLTQuNC0zLjYtOC04LThIMTIwYy00LjQgMC04IDMuNi04IDh2NTZjMCA0LjQgMy42IDggOCA4em03ODQgMTQwSDEyMGMtNC40IDAtOCAzLjYtOCA4djU2YzAgNC40IDMuNiA4IDggOGg3ODRjNC40IDAgOC0zLjYgOC04di01NmMwLTQuNC0zLjYtOC04LTh6bTAtNDI0SDEyMGMtNC40IDAtOCAzLjYtOCA4djU2YzAgNC40IDMuNiA4IDggOGg3ODRjNC40IDAgOC0zLjYgOC04di01NmMwLTQuNC0zLjYtOC04LTh6Ii8+PC9zdmc+\",C=function(s,l,i,m){function Y(y){return y instanceof i?y:new i(function(U){U(y)})}return new(i||(i=Promise))(function(y,U){function X(b){try{oe(m.next(b))}catch(q){U(q)}}function ae(b){try{oe(m.throw(b))}catch(q){U(q)}}function oe(b){b.done?y(b.value):Y(b.value).then(X,ae)}oe((m=m.apply(s,l||[])).next())})};function w(s){let l=0,i=0,m=s;do l+=m.offsetTop||0,i+=m.offsetLeft||0,m=m.offsetParent;while(m);return{top:l,left:i}}class K{constructor(l){this.element=l}getHorizontalScroll(){return this.element.scrollLeft}getVerticalScroll(){return this.element.scrollTop}getMaxHorizontalScroll(){return this.element.scrollWidth-this.element.clientWidth}getMaxVerticalScroll(){return this.element.scrollHeight-this.element.clientHeight}getHorizontalElementScrollOffset(l,i){return w(l).left-w(i).left}getVerticalElementScrollOffset(l,i){return w(l).top-w(i).top}scrollTo(l,i){this.element.scrollLeft=l,this.element.scrollTop=i}}class V{constructor(){this.element=window}getHorizontalScroll(){return window.scrollX||document.documentElement.scrollLeft}getVerticalScroll(){return window.scrollY||document.documentElement.scrollTop}getMaxHorizontalScroll(){return Math.max(document.body.scrollWidth,document.documentElement.scrollWidth,document.body.offsetWidth,document.documentElement.offsetWidth,document.body.clientWidth,document.documentElement.clientWidth)-window.innerWidth}getMaxVerticalScroll(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)-window.innerHeight}getHorizontalElementScrollOffset(l){return(window.scrollX||document.documentElement.scrollLeft)+l.getBoundingClientRect().left}getVerticalElementScrollOffset(l){return(window.scrollY||document.documentElement.scrollTop)+l.getBoundingClientRect().top}scrollTo(l,i){window.scrollTo(l,i)}}const I={elements:[],cancelMethods:[],add:(s,l)=>{I.elements.push(s),I.cancelMethods.push(l)},remove:(s,l)=>{const i=I.elements.indexOf(s);i>-1&&(l&&I.cancelMethods[i](),I.elements.splice(i,1),I.cancelMethods.splice(i,1))}},v=typeof window!=\"undefined\",h={cancelOnUserAction:!0,easing:s=>--s*s*s+1,elementToScroll:v?window:null,horizontalOffset:0,maxDuration:3e3,minDuration:250,speed:500,verticalOffset:0};function D(s,l={}){return C(this,void 0,void 0,function*(){if(v){if(!window.Promise)throw\"Browser doesn't support Promises, and animated-scroll-to depends on it, please provide a polyfill.\"}else return new Promise(ye=>{ye(!1)});let i,m,Y,y=Object.assign(Object.assign({},h),l);const U=y.elementToScroll===window,X=!!y.elementToScroll.nodeName;if(!U&&!X)throw\"Element to scroll needs to be either window or DOM element.\";const ae=U?document.documentElement:y.elementToScroll;getComputedStyle(ae).getPropertyValue(\"scroll-behavior\")===\"smooth\"&&console.warn(`${ae.tagName} has \"scroll-behavior: smooth\" which can mess up with animated-scroll-to's animations`);const b=U?new V:new K(y.elementToScroll);if(s instanceof Element){if(Y=s,X&&(!y.elementToScroll.contains(Y)||y.elementToScroll.isSameNode(Y)))throw\"options.elementToScroll has to be a parent of scrollToElement\";i=b.getHorizontalElementScrollOffset(Y,y.elementToScroll),m=b.getVerticalElementScrollOffset(Y,y.elementToScroll)}else if(typeof s==\"number\")i=b.getHorizontalScroll(),m=s;else if(Array.isArray(s)&&s.length===2)i=s[0]===null?b.getHorizontalScroll():s[0],m=s[1]===null?b.getVerticalScroll():s[1];else throw`Wrong function signature. Check documentation.\nAvailable method signatures are:\n  animateScrollTo(y:number, options)\n  animateScrollTo([x:number | null, y:number | null], options)\n  animateScrollTo(scrollToElement:Element, options)`;i+=y.horizontalOffset,m+=y.verticalOffset;const q=b.getMaxHorizontalScroll(),se=b.getHorizontalScroll();i>q&&(i=q);const Q=i-se,_=b.getMaxVerticalScroll(),k=b.getVerticalScroll();m>_&&(m=_);const J=m-k,ue=Math.abs(Math.round(Q/1e3*y.speed)),Me=Math.abs(Math.round(J/1e3*y.speed));let fe=ue>Me?ue:Me;return fe<y.minDuration?fe=y.minDuration:fe>y.maxDuration&&(fe=y.maxDuration),new Promise((ye,Ce)=>{Q===0&&J===0&&ye(!0),I.remove(b.element,!0);let Ie;const Qe=()=>{o(),cancelAnimationFrame(Ie),ye(!1)};I.add(b.element,Qe);const be=x=>x.preventDefault(),we=y.cancelOnUserAction?Qe:be,Ye=y.cancelOnUserAction?{passive:!0}:{passive:!1},ke=[\"wheel\",\"touchstart\",\"keydown\",\"mousedown\"],o=()=>{ke.forEach(x=>{b.element.removeEventListener(x,we,Ye)})};ke.forEach(x=>{b.element.addEventListener(x,we,Ye)});const u=Date.now(),c=()=>{var x=Date.now()-u,Z=x/fe;const W=Math.round(se+Q*y.easing(Z)),F=Math.round(k+J*y.easing(Z));x<fe&&(W!==i||F!==m)?(b.scrollTo(W,F),Ie=requestAnimationFrame(c)):(b.scrollTo(i,m),cancelAnimationFrame(Ie),o(),I.remove(b.element,!1),ye(!0))};Ie=requestAnimationFrame(c)})})}var H=D,B=a(81229),$=a(88459),A=a(25e3),p=a(94995),L=a(98428),P=a(4291),R=a(99711),G=a(86064);function te(s,l){return De(s)||Le(s,l)||ce(s,l)||re()}function re(){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 ce(s,l){if(s){if(typeof s==\"string\")return me(s,l);var i=Object.prototype.toString.call(s).slice(8,-1);if(i===\"Object\"&&s.constructor&&(i=s.constructor.name),i===\"Map\"||i===\"Set\")return Array.from(s);if(i===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return me(s,l)}}function me(s,l){(l==null||l>s.length)&&(l=s.length);for(var i=0,m=new Array(l);i<l;i++)m[i]=s[i];return m}function Le(s,l){var i=s==null?null:typeof Symbol!=\"undefined\"&&s[Symbol.iterator]||s[\"@@iterator\"];if(i!=null){var m=[],Y=!0,y=!1,U,X;try{for(i=i.call(s);!(Y=(U=i.next()).done)&&(m.push(U.value),!(l&&m.length===l));Y=!0);}catch(ae){y=!0,X=ae}finally{try{!Y&&i.return!=null&&i.return()}finally{if(y)throw X}}return m}}function De(s){if(Array.isArray(s))return s}var Oe=function(){var l=(0,B.YB)(),i=(0,B.pC)(),m=(0,B.tx)(),Y=(0,B.TH)(),y=Y.hash,U=(0,B.WF)(),X=U.loading,ae=(0,e.useState)(!1),oe=te(ae,2),b=oe[0],q=oe[1],se=(0,B.eL)(),Q=se.frontmatter,_=Q.sidebar!==!1&&(m==null?void 0:m.length)>0;return(0,e.useEffect)(function(){var k=y.replace(\"#\",\"\");k&&setTimeout(function(){var J=document.getElementById(decodeURIComponent(k));J&&H(J.offsetTop-80,{maxDuration:300})},1)},[X,y]),e.createElement(\"div\",{className:\"dumi-default-doc-layout\",\"data-mobile-sidebar-active\":b||void 0,onClick:function(){return q(!1)}},e.createElement(B.ql,null,e.createElement(\"html\",{lang:l.locale.replace(/-.+$/,\"\")}),Q.title&&e.createElement(\"title\",null,Q.title),Q.title&&e.createElement(\"meta\",{property:\"og:title\",content:Q.title}),Q.description&&e.createElement(\"meta\",{name:\"description\",content:Q.description}),Q.description&&e.createElement(\"meta\",{property:\"og:description\",content:Q.description}),Q.keywords&&e.createElement(\"meta\",{name:\"keywords\",content:Q.keywords.join(\",\")}),Q.keywords&&e.createElement(\"meta\",{property:\"og:keywords\",content:Q.keywords.join(\",\")})),e.createElement(L.Z,null),e.createElement(P.Z,null),e.createElement(A.Z,null),_&&e.createElement(\"div\",{className:\"dumi-default-doc-layout-mobile-bar\"},e.createElement(\"button\",{type:\"button\",className:\"dumi-default-sidebar-btn\",onClick:function(J){J.stopPropagation(),q(function(ue){return!ue})}},e.createElement(z,null),l.formatMessage({id:\"layout.sidebar.btn\"}))),e.createElement(\"main\",null,_&&e.createElement(R.Z,null),e.createElement($.Z,null,i,e.createElement(p.Z,null)),Q.toc===\"content\"&&e.createElement(\"div\",{className:\"dumi-default-doc-layout-toc-wrapper\"},e.createElement(\"h4\",null,\"TABLE OF CONTENTS\"),e.createElement(G.Z,null))))},T=Oe},8338:function(M,N,a){\"use strict\";a.d(N,{Z:function(){return I}});var e=a(81229),f=a(50959);function g(v,h){return z(v)||S(v,h)||d(v,h)||j()}function j(){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 d(v,h){if(v){if(typeof v==\"string\")return E(v,h);var D=Object.prototype.toString.call(v).slice(8,-1);if(D===\"Object\"&&v.constructor&&(D=v.constructor.name),D===\"Map\"||D===\"Set\")return Array.from(v);if(D===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return E(v,h)}}function E(v,h){(h==null||h>v.length)&&(h=v.length);for(var D=0,H=new Array(h);D<h;D++)H[D]=v[D];return H}function S(v,h){var D=v==null?null:typeof Symbol!=\"undefined\"&&v[Symbol.iterator]||v[\"@@iterator\"];if(D!=null){var H=[],B=!0,$=!1,A,p;try{for(D=D.call(v);!(B=(A=D.next()).done)&&(H.push(A.value),!(h&&H.length===h));B=!0);}catch(L){$=!0,p=L}finally{try{!B&&D.return!=null&&D.return()}finally{if($)throw p}}return H}}function z(v){if(Array.isArray(v))return v}var O=function(){return f.createElement(\"svg\",{viewBox:\"0 0 16 16\"},f.createElement(\"path\",{d:\"M8.218 1.455c3.527.109 6.327 3.018 6.327 6.545 0 3.6-2.945 6.545-6.545 6.545a6.562 6.562 0 0 1-6.036-4h.218c3.6 0 6.545-2.945 6.545-6.545 0-.91-.182-1.745-.509-2.545m0-1.455c-.473 0-.909.218-1.2.618-.29.4-.327.946-.145 1.382.254.655.4 1.31.4 2 0 2.8-2.291 5.09-5.091 5.09h-.218c-.473 0-.91.22-1.2.62-.291.4-.328.945-.146 1.38C1.891 14.074 4.764 16 8 16c4.4 0 8-3.6 8-8a7.972 7.972 0 0 0-7.745-8h-.037Z\"}))},C=function(){return f.createElement(\"svg\",{viewBox:\"0 0 16 16\"},f.createElement(\"path\",{d:\"M8 13a1 1 0 0 1 1 1v1a1 1 0 1 1-2 0v-1a1 1 0 0 1 1-1ZM8 3a1 1 0 0 1-1-1V1a1 1 0 1 1 2 0v1a1 1 0 0 1-1 1Zm7 4a1 1 0 1 1 0 2h-1a1 1 0 1 1 0-2h1ZM3 8a1 1 0 0 1-1 1H1a1 1 0 1 1 0-2h1a1 1 0 0 1 1 1Zm9.95 3.536.707.707a1 1 0 0 1-1.414 1.414l-.707-.707a1 1 0 0 1 1.414-1.414Zm-9.9-7.072-.707-.707a1 1 0 0 1 1.414-1.414l.707.707A1 1 0 0 1 3.05 4.464Zm9.9 0a1 1 0 0 1-1.414-1.414l.707-.707a1 1 0 0 1 1.414 1.414l-.707.707Zm-9.9 7.072a1 1 0 0 1 1.414 1.414l-.707.707a1 1 0 0 1-1.414-1.414l.707-.707ZM8 4a4 4 0 1 0 0 8 4 4 0 0 0 0-8Zm0 6.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5Z\"}))},w=function(){return f.createElement(\"svg\",{viewBox:\"0 0 16 16\"},f.createElement(\"path\",{d:\"M14.595 8a6.595 6.595 0 1 1-13.19 0 6.595 6.595 0 0 1 13.19 0ZM8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0Zm0 2.014v11.972A5.986 5.986 0 0 0 8 2.014Z\"}))},K={light:C,dark:O,auto:w},V=function(){var h=(0,e.WF)(),D=h.themeConfig.prefersColor.default,H=(0,e.YB)(),B=(0,e.OI)(),$=g(B,3),A=$[1],p=A===void 0?D:A,L=$[2],P=K[p];return f.createElement(\"span\",{className:\"dumi-default-color-switch\",\"data-dumi-tooltip\":H.formatMessage({id:\"header.color.mode.\".concat(p)}),\"data-dumi-tooltip-bottom\":!0},P&&f.createElement(P,null),f.createElement(\"select\",{onChange:function(G){return L(G.target.value)},value:p},[\"light\",\"dark\",\"auto\"].map(function(R){return f.createElement(\"option\",{value:R,key:R},H.formatMessage({id:\"header.color.mode.\".concat(R)}))})))},I=V},90697:function(M,N,a){\"use strict\";a.d(N,{Z:function(){return j}});var e=a(81229),f=a(50959),g=function(E){var S=(0,e.tx)(),z=(0,e.WF)(),O=z.themeConfig;return f.createElement(\"div\",{className:\"dumi-default-content\",\"data-no-sidebar\":!S||void 0,\"data-no-footer\":O.footer===!1||void 0},E.children)},j=g},50557:function(M,N,a){\"use strict\";a.d(N,{Z:function(){return j}});var e=a(81229),f=a(50959),g=function(){var E,S=(0,e.eL)(),z=S.frontmatter;return Boolean((E=z.features)===null||E===void 0?void 0:E.length)?f.createElement(\"div\",{className:\"dumi-default-features\",\"data-cols\":[3,2].find(function(O){return z.features.length%O===0})||3},z.features.map(function(O){var C=O.title,w=O.description,K=O.emoji,V=O.link,I;return V&&(I=/^(\\w+:)\\/\\/|^(mailto|tel):/.test(V)?f.createElement(\"a\",{href:V,target:\"_blank\",rel:\"noreferrer\"},C):f.createElement(e.rU,{to:V},C)),f.createElement(\"div\",{key:C,className:\"dumi-default-features-item\"},K&&f.createElement(\"i\",null,K),C&&f.createElement(\"h3\",null,I||C),w&&f.createElement(\"p\",{dangerouslySetInnerHTML:{__html:w}}))})):null},j=g},44191:function(M,N,a){\"use strict\";a.d(N,{Z:function(){return j}});var e=a(81229),f=a(50959),g=function(){var E=(0,e.WF)(),S=E.themeConfig;return S.footer?f.createElement(\"div\",{className:\"dumi-default-footer\",dangerouslySetInnerHTML:{__html:S.footer}}):null},j=g},98862:function(M,N,a){\"use strict\";a.d(N,{Z:function(){return ut}});var e=a(50959),f=function(){return e.createElement(e.Fragment,null)},g=f,j=Object.defineProperty,d=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,z=(n,t,r)=>t in n?j(n,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[t]=r,O=(n,t)=>{for(var r in t||(t={}))E.call(t,r)&&z(n,r,t[r]);if(d)for(var r of d(t))S.call(t,r)&&z(n,r,t[r]);return n};const C=n=>e.createElement(\"svg\",O({viewBox:\"64 64 896 896\"},n),e.createElement(\"path\",{d:\"m563.8 512 262.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 0 0 203 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\"}));var w=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJtNTYzLjggNTEyIDI2Mi41LTMxMi45YzQuNC01LjIuNy0xMy4xLTYuMS0xMy4xaC03OS44Yy00LjcgMC05LjIgMi4xLTEyLjMgNS43TDUxMS42IDQ0OS44IDI5NS4xIDE5MS43Yy0zLTMuNi03LjUtNS43LTEyLjMtNS43SDIwM2MtNi44IDAtMTAuNSA3LjktNi4xIDEzLjFMNDU5LjQgNTEyIDE5Ni45IDgyNC45QTcuOTUgNy45NSAwIDAgMCAyMDMgODM4aDc5LjhjNC43IDAgOS4yLTIuMSAxMi4zLTUuN2wyMTYuNS0yNTguMSAyMTYuNSAyNTguMWMzIDMuNiA3LjUgNS43IDEyLjMgNS43aDc5LjhjNi44IDAgMTAuNS03LjkgNi4xLTEzLjFMNTYzLjggNTEyeiIvPjwvc3ZnPg==\",K=Object.defineProperty,V=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,h=(n,t,r)=>t in n?K(n,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[t]=r,D=(n,t)=>{for(var r in t||(t={}))I.call(t,r)&&h(n,r,t[r]);if(V)for(var r of V(t))v.call(t,r)&&h(n,r,t[r]);return n};const H=n=>e.createElement(\"svg\",D({viewBox:\"64 64 896 896\"},n),e.createElement(\"path\",{d:\"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z\"}));var B=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNOTA0IDE2MEgxMjBjLTQuNCAwLTggMy42LTggOHY2NGMwIDQuNCAzLjYgOCA4IDhoNzg0YzQuNCAwIDgtMy42IDgtOHYtNjRjMC00LjQtMy42LTgtOC04em0wIDYyNEgxMjBjLTQuNCAwLTggMy42LTggOHY2NGMwIDQuNCAzLjYgOCA4IDhoNzg0YzQuNCAwIDgtMy42IDgtOHYtNjRjMC00LjQtMy42LTgtOC04em0wLTMxMkgxMjBjLTQuNCAwLTggMy42LTggOHY2NGMwIDQuNCAzLjYgOCA4IDhoNzg0YzQuNCAwIDgtMy42IDgtOHYtNjRjMC00LjQtMy42LTgtOC04eiIvPjwvc3ZnPg==\",$=a(81229),A=a(66279),p=a(77621),L=a(5491),P=a(49279),R=a(64814),G=a(90346),te=Object.defineProperty,re=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,Le=(n,t,r)=>t in n?te(n,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[t]=r,De=(n,t)=>{for(var r in t||(t={}))ce.call(t,r)&&Le(n,r,t[r]);if(re)for(var r of re(t))me.call(t,r)&&Le(n,r,t[r]);return n};const Oe=n=>e.createElement(\"svg\",De({viewBox:\"64 64 896 896\"},n),e.createElement(\"path\",{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-32 736H663.9V602.2h104l15.6-120.7H663.9v-77.1c0-35 9.7-58.8 59.8-58.8h63.9v-108c-11.1-1.5-49-4.8-93.2-4.8-92.2 0-155.3 56.3-155.3 159.6v89H434.9v120.7h104.3V848H176V176h672v672z\"}));var T=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODgwIDExMkgxNDRjLTE3LjcgMC0zMiAxNC4zLTMyIDMydjczNmMwIDE3LjcgMTQuMyAzMiAzMiAzMmg3MzZjMTcuNyAwIDMyLTE0LjMgMzItMzJWMTQ0YzAtMTcuNy0xNC4zLTMyLTMyLTMyem0tMzIgNzM2SDY2My45VjYwMi4yaDEwNGwxNS42LTEyMC43SDY2My45di03Ny4xYzAtMzUgOS43LTU4LjggNTkuOC01OC44aDYzLjl2LTEwOGMtMTEuMS0xLjUtNDktNC44LTkzLjItNC44LTkyLjIgMC0xNTUuMyA1Ni4zLTE1NS4zIDE1OS42djg5SDQzNC45djEyMC43aDEwNC4zVjg0OEgxNzZWMTc2aDY3MnY2NzJ6Ii8+PC9zdmc+\",s=Object.defineProperty,l=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,Y=(n,t,r)=>t in n?s(n,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[t]=r,y=(n,t)=>{for(var r in t||(t={}))i.call(t,r)&&Y(n,r,t[r]);if(l)for(var r of l(t))m.call(t,r)&&Y(n,r,t[r]);return n};const U=n=>e.createElement(\"svg\",y({viewBox:\"64 64 896 896\"},n),e.createElement(\"path\",{d:\"M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0 1 38.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z\"}));var X=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNTExLjYgNzYuM0MyNjQuMyA3Ni4yIDY0IDI3Ni40IDY0IDUyMy41IDY0IDcxOC45IDE4OS4zIDg4NSAzNjMuOCA5NDZjMjMuNSA1LjkgMTkuOS0xMC44IDE5LjktMjIuMnYtNzcuNWMtMTM1LjcgMTUuOS0xNDEuMi03My45LTE1MC4zLTg4LjlDMjE1IDcyNiAxNzEuNSA3MTggMTg0LjUgNzAzYzMwLjktMTUuOSA2Mi40IDQgOTguOSA1Ny45IDI2LjQgMzkuMSA3Ny45IDMyLjUgMTA0IDI2IDUuNy0yMy41IDE3LjktNDQuNSAzNC43LTYwLjgtMTQwLjYtMjUuMi0xOTkuMi0xMTEtMTk5LjItMjEzIDAtNDkuNSAxNi4zLTk1IDQ4LjMtMTMxLjctMjAuNC02MC41IDEuOS0xMTIuMyA0LjktMTIwIDU4LjEtNS4yIDExOC41IDQxLjYgMTIzLjIgNDUuMyAzMy04LjkgNzAuNy0xMy42IDExMi45LTEzLjYgNDIuNCAwIDgwLjIgNC45IDExMy41IDEzLjkgMTEuMy04LjYgNjcuMy00OC44IDEyMS4zLTQzLjkgMi45IDcuNyAyNC43IDU4LjMgNS41IDExOCAzMi40IDM2LjggNDguOSA4Mi43IDQ4LjkgMTMyLjMgMCAxMDIuMi01OSAxODguMS0yMDAgMjEyLjlhMTI3LjUgMTI3LjUgMCAwIDEgMzguMSA5MXYxMTIuNWMuOCA5IDAgMTcuOSAxNSAxNy45IDE3Ny4xLTU5LjcgMzA0LjYtMjI3IDMwNC42LTQyNC4xIDAtMjQ3LjItMjAwLjQtNDQ3LjMtNDQ3LjUtNDQ3LjN6Ii8+PC9zdmc+\",ae=Object.defineProperty,oe=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable,se=(n,t,r)=>t in n?ae(n,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[t]=r,Q=(n,t)=>{for(var r in t||(t={}))b.call(t,r)&&se(n,r,t[r]);if(oe)for(var r of oe(t))q.call(t,r)&&se(n,r,t[r]);return n};const _=n=>e.createElement(\"svg\",Q({viewBox:\"64 64 896 896\"},n),e.createElement(\"path\",{d:\"M913.9 552.2 805 181.4v-.1c-7.6-22.9-25.7-36.5-48.3-36.5-23.4 0-42.5 13.5-49.7 35.2l-71.4 213H388.8l-71.4-213c-7.2-21.7-26.3-35.2-49.7-35.2-23.1 0-42.5 14.8-48.4 36.6L110.5 552.2c-4.4 14.7 1.2 31.4 13.5 40.7l368.5 276.4c2.6 3.6 6.2 6.3 10.4 7.8l8.6 6.4 8.5-6.4c4.9-1.7 9-4.7 11.9-8.9l368.4-275.4c12.4-9.2 18-25.9 13.6-40.6zM751.7 193.4c1-1.8 2.9-1.9 3.5-1.9 1.1 0 2.5.3 3.4 3L818 394.3H684.5l67.2-200.9zm-487.4 1c.9-2.6 2.3-2.9 3.4-2.9 2.7 0 2.9.1 3.4 1.7l67.3 201.2H206.5l57.8-200zM158.8 558.7l28.2-97.3 202.4 270.2-230.6-172.9zm73.9-116.4h122.1l90.8 284.3-212.9-284.3zM512.9 776 405.7 442.3H620L512.9 776zm157.9-333.7h119.5L580 723.1l90.8-280.8zm-40.7 293.9 207.3-276.7 29.5 99.2-236.8 177.5z\"}));var k=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNOTEzLjkgNTUyLjIgODA1IDE4MS40di0uMWMtNy42LTIyLjktMjUuNy0zNi41LTQ4LjMtMzYuNS0yMy40IDAtNDIuNSAxMy41LTQ5LjcgMzUuMmwtNzEuNCAyMTNIMzg4LjhsLTcxLjQtMjEzYy03LjItMjEuNy0yNi4zLTM1LjItNDkuNy0zNS4yLTIzLjEgMC00Mi41IDE0LjgtNDguNCAzNi42TDExMC41IDU1Mi4yYy00LjQgMTQuNyAxLjIgMzEuNCAxMy41IDQwLjdsMzY4LjUgMjc2LjRjMi42IDMuNiA2LjIgNi4zIDEwLjQgNy44bDguNiA2LjQgOC41LTYuNGM0LjktMS43IDktNC43IDExLjktOC45bDM2OC40LTI3NS40YzEyLjQtOS4yIDE4LTI1LjkgMTMuNi00MC42ek03NTEuNyAxOTMuNGMxLTEuOCAyLjktMS45IDMuNS0xLjkgMS4xIDAgMi41LjMgMy40IDNMODE4IDM5NC4zSDY4NC41bDY3LjItMjAwLjl6bS00ODcuNCAxYy45LTIuNiAyLjMtMi45IDMuNC0yLjkgMi43IDAgMi45LjEgMy40IDEuN2w2Ny4zIDIwMS4ySDIwNi41bDU3LjgtMjAwek0xNTguOCA1NTguN2wyOC4yLTk3LjMgMjAyLjQgMjcwLjItMjMwLjYtMTcyLjl6bTczLjktMTE2LjRoMTIyLjFsOTAuOCAyODQuMy0yMTIuOS0yODQuM3pNNTEyLjkgNzc2IDQwNS43IDQ0Mi4zSDYyMEw1MTIuOSA3NzZ6bTE1Ny45LTMzMy43aDExOS41TDU4MCA3MjMuMWw5MC44LTI4MC44em0tNDAuNyAyOTMuOSAyMDcuMy0yNzYuNyAyOS41IDk5LjItMjM2LjggMTc3LjV6Ii8+PC9zdmc+\",J=Object.defineProperty,ue=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,ye=(n,t,r)=>t in n?J(n,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[t]=r,Ce=(n,t)=>{for(var r in t||(t={}))Me.call(t,r)&&ye(n,r,t[r]);if(ue)for(var r of ue(t))fe.call(t,r)&&ye(n,r,t[r]);return n};const Ie=n=>e.createElement(\"svg\",Ce({viewBox:\"64 64 896 896\"},n),e.createElement(\"path\",{d:\"M847.7 112H176.3c-35.5 0-64.3 28.8-64.3 64.3v671.4c0 35.5 28.8 64.3 64.3 64.3h671.4c35.5 0 64.3-28.8 64.3-64.3V176.3c0-35.5-28.8-64.3-64.3-64.3zm0 736c-447.8-.1-671.7-.2-671.7-.3.1-447.8.2-671.7.3-671.7 447.8.1 671.7.2 671.7.3-.1 447.8-.2 671.7-.3 671.7zM230.6 411.9h118.7v381.8H230.6zm59.4-52.2c37.9 0 68.8-30.8 68.8-68.8a68.8 68.8 0 1 0-137.6 0c-.1 38 30.7 68.8 68.8 68.8zm252.3 245.1c0-49.8 9.5-98 71.2-98 60.8 0 61.7 56.9 61.7 101.2v185.7h118.6V584.3c0-102.8-22.2-181.9-142.3-181.9-57.7 0-96.4 31.7-112.3 61.7h-1.6v-52.2H423.7v381.8h118.6V604.8z\"}));var Qe=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODQ3LjcgMTEySDE3Ni4zYy0zNS41IDAtNjQuMyAyOC44LTY0LjMgNjQuM3Y2NzEuNGMwIDM1LjUgMjguOCA2NC4zIDY0LjMgNjQuM2g2NzEuNGMzNS41IDAgNjQuMy0yOC44IDY0LjMtNjQuM1YxNzYuM2MwLTM1LjUtMjguOC02NC4zLTY0LjMtNjQuM3ptMCA3MzZjLTQ0Ny44LS4xLTY3MS43LS4yLTY3MS43LS4zLjEtNDQ3LjguMi02NzEuNy4zLTY3MS43IDQ0Ny44LjEgNjcxLjcuMiA2NzEuNy4zLS4xIDQ0Ny44LS4yIDY3MS43LS4zIDY3MS43ek0yMzAuNiA0MTEuOWgxMTguN3YzODEuOEgyMzAuNnptNTkuNC01Mi4yYzM3LjkgMCA2OC44LTMwLjggNjguOC02OC44YTY4LjggNjguOCAwIDEgMC0xMzcuNiAwYy0uMSAzOCAzMC43IDY4LjggNjguOCA2OC44em0yNTIuMyAyNDUuMWMwLTQ5LjggOS41LTk4IDcxLjItOTggNjAuOCAwIDYxLjcgNTYuOSA2MS43IDEwMS4ydjE4NS43aDExOC42VjU4NC4zYzAtMTAyLjgtMjIuMi0xODEuOS0xNDIuMy0xODEuOS01Ny43IDAtOTYuNCAzMS43LTExMi4zIDYxLjdoLTEuNnYtNTIuMkg0MjMuN3YzODEuOGgxMTguNlY2MDQuOHoiLz48L3N2Zz4=\",be=Object.defineProperty,we=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,o=(n,t,r)=>t in n?be(n,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[t]=r,u=(n,t)=>{for(var r in t||(t={}))Ye.call(t,r)&&o(n,r,t[r]);if(we)for(var r of we(t))ke.call(t,r)&&o(n,r,t[r]);return n};const c=n=>e.createElement(\"svg\",u({viewBox:\"64 64 896 896\"},n),e.createElement(\"path\",{d:\"M928 254.3c-30.6 13.2-63.9 22.7-98.2 26.4a170.1 170.1 0 0 0 75-94 336.64 336.64 0 0 1-108.2 41.2A170.1 170.1 0 0 0 672 174c-94.5 0-170.5 76.6-170.5 170.6 0 13.2 1.6 26.4 4.2 39.1-141.5-7.4-267.7-75-351.6-178.5a169.32 169.32 0 0 0-23.2 86.1c0 59.2 30.1 111.4 76 142.1a172 172 0 0 1-77.1-21.7v2.1c0 82.9 58.6 151.6 136.7 167.4a180.6 180.6 0 0 1-44.9 5.8c-11.1 0-21.6-1.1-32.2-2.6C211 652 273.9 701.1 348.8 702.7c-58.6 45.9-132 72.9-211.7 72.9-14.3 0-27.5-.5-41.2-2.1C171.5 822 261.2 850 357.8 850 671.4 850 843 590.2 843 364.7c0-7.4 0-14.8-.5-22.2 33.2-24.3 62.3-54.4 85.5-88.2z\"}));var x=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNOTI4IDI1NC4zYy0zMC42IDEzLjItNjMuOSAyMi43LTk4LjIgMjYuNGExNzAuMSAxNzAuMSAwIDAgMCA3NS05NCAzMzYuNjQgMzM2LjY0IDAgMCAxLTEwOC4yIDQxLjJBMTcwLjEgMTcwLjEgMCAwIDAgNjcyIDE3NGMtOTQuNSAwLTE3MC41IDc2LjYtMTcwLjUgMTcwLjYgMCAxMy4yIDEuNiAyNi40IDQuMiAzOS4xLTE0MS41LTcuNC0yNjcuNy03NS0zNTEuNi0xNzguNWExNjkuMzIgMTY5LjMyIDAgMCAwLTIzLjIgODYuMWMwIDU5LjIgMzAuMSAxMTEuNCA3NiAxNDIuMWExNzIgMTcyIDAgMCAxLTc3LjEtMjEuN3YyLjFjMCA4Mi45IDU4LjYgMTUxLjYgMTM2LjcgMTY3LjRhMTgwLjYgMTgwLjYgMCAwIDEtNDQuOSA1LjhjLTExLjEgMC0yMS42LTEuMS0zMi4yLTIuNkMyMTEgNjUyIDI3My45IDcwMS4xIDM0OC44IDcwMi43Yy01OC42IDQ1LjktMTMyIDcyLjktMjExLjcgNzIuOS0xNC4zIDAtMjcuNS0uNS00MS4yLTIuMUMxNzEuNSA4MjIgMjYxLjIgODUwIDM1Ny44IDg1MCA2NzEuNCA4NTAgODQzIDU5MC4yIDg0MyAzNjQuN2MwLTcuNCAwLTE0LjgtLjUtMjIuMiAzMy4yLTI0LjMgNjIuMy01NC40IDg1LjUtODguMnoiLz48L3N2Zz4=\",Z=Object.defineProperty,W=Object.getOwnPropertySymbols,F=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,ne=(n,t,r)=>t in n?Z(n,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[t]=r,de=(n,t)=>{for(var r in t||(t={}))F.call(t,r)&&ne(n,r,t[r]);if(W)for(var r of W(t))le.call(t,r)&&ne(n,r,t[r]);return n};const ee=n=>e.createElement(\"svg\",de({viewBox:\"64 64 896 896\"},n),e.createElement(\"path\",{d:\"M457.3 543c-68.1-17.7-145 16.2-174.6 76.2-30.1 61.2-1 129.1 67.8 151.3 71.2 23 155.2-12.2 184.4-78.3 28.7-64.6-7.2-131-77.6-149.2zm-52 156.2c-13.8 22.1-43.5 31.7-65.8 21.6-22-10-28.5-35.7-14.6-57.2 13.7-21.4 42.3-31 64.4-21.7 22.4 9.5 29.6 35 16 57.3zm45.5-58.5c-5 8.6-16.1 12.7-24.7 9.1-8.5-3.5-11.2-13.1-6.4-21.5 5-8.4 15.6-12.4 24.1-9.1 8.7 3.2 11.8 12.9 7 21.5zm334.5-197.2c15 4.8 31-3.4 35.9-18.3 11.8-36.6 4.4-78.4-23.2-109a111.39 111.39 0 0 0-106-34.3 28.45 28.45 0 0 0-21.9 33.8 28.39 28.39 0 0 0 33.8 21.8c18.4-3.9 38.3 1.8 51.9 16.7a54.2 54.2 0 0 1 11.3 53.3 28.45 28.45 0 0 0 18.2 36zm99.8-206c-56.7-62.9-140.4-86.9-217.7-70.5a32.98 32.98 0 0 0-25.4 39.3 33.12 33.12 0 0 0 39.3 25.5c55-11.7 114.4 5.4 154.8 50.1 40.3 44.7 51.2 105.7 34 159.1-5.6 17.4 3.9 36 21.3 41.7 17.4 5.6 36-3.9 41.6-21.2v-.1c24.1-75.4 8.9-161.1-47.9-223.9zM729 499c-12.2-3.6-20.5-6.1-14.1-22.1 13.8-34.7 15.2-64.7.3-86-28-40.1-104.8-37.9-192.8-1.1 0 0-27.6 12.1-20.6-9.8 13.5-43.5 11.5-79.9-9.6-101-47.7-47.8-174.6 1.8-283.5 110.6C127.3 471.1 80 557.5 80 632.2 80 775.1 263.2 862 442.5 862c235 0 391.3-136.5 391.3-245 0-65.5-55.2-102.6-104.8-118zM443 810.8c-143 14.1-266.5-50.5-275.8-144.5-9.3-93.9 99.2-181.5 242.2-195.6 143-14.2 266.5 50.5 275.8 144.4C694.4 709 586 796.6 443 810.8z\"}));var Ae=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNDU3LjMgNTQzYy02OC4xLTE3LjctMTQ1IDE2LjItMTc0LjYgNzYuMi0zMC4xIDYxLjItMSAxMjkuMSA2Ny44IDE1MS4zIDcxLjIgMjMgMTU1LjItMTIuMiAxODQuNC03OC4zIDI4LjctNjQuNi03LjItMTMxLTc3LjYtMTQ5LjJ6bS01MiAxNTYuMmMtMTMuOCAyMi4xLTQzLjUgMzEuNy02NS44IDIxLjYtMjItMTAtMjguNS0zNS43LTE0LjYtNTcuMiAxMy43LTIxLjQgNDIuMy0zMSA2NC40LTIxLjcgMjIuNCA5LjUgMjkuNiAzNSAxNiA1Ny4zem00NS41LTU4LjVjLTUgOC42LTE2LjEgMTIuNy0yNC43IDkuMS04LjUtMy41LTExLjItMTMuMS02LjQtMjEuNSA1LTguNCAxNS42LTEyLjQgMjQuMS05LjEgOC43IDMuMiAxMS44IDEyLjkgNyAyMS41em0zMzQuNS0xOTcuMmMxNSA0LjggMzEtMy40IDM1LjktMTguMyAxMS44LTM2LjYgNC40LTc4LjQtMjMuMi0xMDlhMTExLjM5IDExMS4zOSAwIDAgMC0xMDYtMzQuMyAyOC40NSAyOC40NSAwIDAgMC0yMS45IDMzLjggMjguMzkgMjguMzkgMCAwIDAgMzMuOCAyMS44YzE4LjQtMy45IDM4LjMgMS44IDUxLjkgMTYuN2E1NC4yIDU0LjIgMCAwIDEgMTEuMyA1My4zIDI4LjQ1IDI4LjQ1IDAgMCAwIDE4LjIgMzZ6bTk5LjgtMjA2Yy01Ni43LTYyLjktMTQwLjQtODYuOS0yMTcuNy03MC41YTMyLjk4IDMyLjk4IDAgMCAwLTI1LjQgMzkuMyAzMy4xMiAzMy4xMiAwIDAgMCAzOS4zIDI1LjVjNTUtMTEuNyAxMTQuNCA1LjQgMTU0LjggNTAuMSA0MC4zIDQ0LjcgNTEuMiAxMDUuNyAzNCAxNTkuMS01LjYgMTcuNCAzLjkgMzYgMjEuMyA0MS43IDE3LjQgNS42IDM2LTMuOSA0MS42LTIxLjJ2LS4xYzI0LjEtNzUuNCA4LjktMTYxLjEtNDcuOS0yMjMuOXpNNzI5IDQ5OWMtMTIuMi0zLjYtMjAuNS02LjEtMTQuMS0yMi4xIDEzLjgtMzQuNyAxNS4yLTY0LjcuMy04Ni0yOC00MC4xLTEwNC44LTM3LjktMTkyLjgtMS4xIDAgMC0yNy42IDEyLjEtMjAuNi05LjggMTMuNS00My41IDExLjUtNzkuOS05LjYtMTAxLTQ3LjctNDcuOC0xNzQuNiAxLjgtMjgzLjUgMTEwLjZDMTI3LjMgNDcxLjEgODAgNTU3LjUgODAgNjMyLjIgODAgNzc1LjEgMjYzLjIgODYyIDQ0Mi41IDg2MmMyMzUgMCAzOTEuMy0xMzYuNSAzOTEuMy0yNDUgMC02NS41LTU1LjItMTAyLjYtMTA0LjgtMTE4ek00NDMgODEwLjhjLTE0MyAxNC4xLTI2Ni41LTUwLjUtMjc1LjgtMTQ0LjUtOS4zLTkzLjkgOTkuMi0xODEuNSAyNDIuMi0xOTUuNiAxNDMtMTQuMiAyNjYuNSA1MC41IDI3NS44IDE0NC40QzY5NC40IDcwOSA1ODYgNzk2LjYgNDQzIDgxMC44eiIvPjwvc3ZnPg==\",je=Object.defineProperty,ie=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,Ve=(n,t,r)=>t in n?je(n,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[t]=r,Ze=(n,t)=>{for(var r in t||(t={}))pe.call(t,r)&&Ve(n,r,t[r]);if(ie)for(var r of ie(t))he.call(t,r)&&Ve(n,r,t[r]);return n};const We=n=>e.createElement(\"svg\",Ze({viewBox:\"64 64 896 896\"},n),e.createElement(\"path\",{d:\"M854.6 370.6c-9.9-39.4 9.9-102.2 73.4-124.4l-67.9-3.6s-25.7-90-143.6-98c-117.8-8.1-194.9-3-195-3 .1 0 87.4 55.6 52.4 154.7-25.6 52.5-65.8 95.6-108.8 144.7-1.3 1.3-2.5 2.6-3.5 3.7C319.4 605 96 860 96 860c245.9 64.4 410.7-6.3 508.2-91.1 20.5-.2 35.9-.3 46.3-.3 135.8 0 250.6-117.6 245.9-248.4-3.2-89.9-31.9-110.2-41.8-149.6zm-204.1 334c-10.6 0-26.2.1-46.8.3l-23.6.2-17.8 15.5c-47.1 41-104.4 71.5-171.4 87.6-52.5 12.6-110 16.2-172.7 9.6 18-20.5 36.5-41.6 55.4-63.1 92-104.6 173.8-197.5 236.9-268.5l1.4-1.4 1.3-1.5c4.1-4.6 20.6-23.3 24.7-28.1 9.7-11.1 17.3-19.9 24.5-28.6 30.7-36.7 52.2-67.8 69-102.2l1.6-3.3 1.2-3.4c13.7-38.8 15.4-76.9 6.2-112.8 22.5.7 46.5 1.9 71.7 3.6 33.3 2.3 55.5 12.9 71.1 29.2 5.8 6 10.2 12.5 13.4 18.7 1 2 1.7 3.6 2.3 5l5 17.7c-15.7 34.5-19.9 73.3-11.4 107.2 3 11.8 6.9 22.4 12.3 34.4 2.1 4.7 9.5 20.1 11 23.3 10.3 22.7 15.4 43 16.7 78.7 3.3 94.6-82.7 181.9-182 181.9z\"}));var Ue=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODU0LjYgMzcwLjZjLTkuOS0zOS40IDkuOS0xMDIuMiA3My40LTEyNC40bC02Ny45LTMuNnMtMjUuNy05MC0xNDMuNi05OGMtMTE3LjgtOC4xLTE5NC45LTMtMTk1LTMgLjEgMCA4Ny40IDU1LjYgNTIuNCAxNTQuNy0yNS42IDUyLjUtNjUuOCA5NS42LTEwOC44IDE0NC43LTEuMyAxLjMtMi41IDIuNi0zLjUgMy43QzMxOS40IDYwNSA5NiA4NjAgOTYgODYwYzI0NS45IDY0LjQgNDEwLjctNi4zIDUwOC4yLTkxLjEgMjAuNS0uMiAzNS45LS4zIDQ2LjMtLjMgMTM1LjggMCAyNTAuNi0xMTcuNiAyNDUuOS0yNDguNC0zLjItODkuOS0zMS45LTExMC4yLTQxLjgtMTQ5LjZ6bS0yMDQuMSAzMzRjLTEwLjYgMC0yNi4yLjEtNDYuOC4zbC0yMy42LjItMTcuOCAxNS41Yy00Ny4xIDQxLTEwNC40IDcxLjUtMTcxLjQgODcuNi01Mi41IDEyLjYtMTEwIDE2LjItMTcyLjcgOS42IDE4LTIwLjUgMzYuNS00MS42IDU1LjQtNjMuMSA5Mi0xMDQuNiAxNzMuOC0xOTcuNSAyMzYuOS0yNjguNWwxLjQtMS40IDEuMy0xLjVjNC4xLTQuNiAyMC42LTIzLjMgMjQuNy0yOC4xIDkuNy0xMS4xIDE3LjMtMTkuOSAyNC41LTI4LjYgMzAuNy0zNi43IDUyLjItNjcuOCA2OS0xMDIuMmwxLjYtMy4zIDEuMi0zLjRjMTMuNy0zOC44IDE1LjQtNzYuOSA2LjItMTEyLjggMjIuNS43IDQ2LjUgMS45IDcxLjcgMy42IDMzLjMgMi4zIDU1LjUgMTIuOSA3MS4xIDI5LjIgNS44IDYgMTAuMiAxMi41IDEzLjQgMTguNyAxIDIgMS43IDMuNiAyLjMgNWw1IDE3LjdjLTE1LjcgMzQuNS0xOS45IDczLjMtMTEuNCAxMDcuMiAzIDExLjggNi45IDIyLjQgMTIuMyAzNC40IDIuMSA0LjcgOS41IDIwLjEgMTEgMjMuMyAxMC4zIDIyLjcgMTUuNCA0MyAxNi43IDc4LjcgMy4zIDk0LjYtODIuNyAxODEuOS0xODIgMTgxLjl6Ii8+PC9zdmc+\",ge=Object.defineProperty,xe=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,Fe=(n,t,r)=>t in n?ge(n,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[t]=r,_e=(n,t)=>{for(var r in t||(t={}))Ne.call(t,r)&&Fe(n,r,t[r]);if(xe)for(var r of xe(t))Pe.call(t,r)&&Fe(n,r,t[r]);return n};const Je=n=>e.createElement(\"svg\",_e({viewBox:\"64 64 896 896\"},n),e.createElement(\"path\",{d:\"M564.7 230.1V803h60l25.2 71.4L756.3 803h131.5V230.1H564.7zm247.7 497h-59.9l-75.1 50.4-17.8-50.4h-18V308.3h170.7v418.8zM526.1 486.9H393.3c2.1-44.9 4.3-104.3 6.6-172.9h130.9l-.1-8.1c0-.6-.2-14.7-2.3-29.1-2.1-15-6.6-34.9-21-34.9H287.8c4.4-20.6 15.7-69.7 29.4-93.8l6.4-11.2-12.9-.7c-.8 0-19.6-.9-41.4 10.6-35.7 19-51.7 56.4-58.7 84.4-18.4 73.1-44.6 123.9-55.7 145.6-3.3 6.4-5.3 10.2-6.2 12.8-1.8 4.9-.8 9.8 2.8 13 10.5 9.5 38.2-2.9 38.5-3 .6-.3 1.3-.6 2.2-1 13.9-6.3 55.1-25 69.8-84.5h56.7c.7 32.2 3.1 138.4 2.9 172.9h-141l-2.1 1.5c-23.1 16.9-30.5 63.2-30.8 65.2l-1.4 9.2h167c-12.3 78.3-26.5 113.4-34 127.4-3.7 7-7.3 14-10.7 20.8-21.3 42.2-43.4 85.8-126.3 153.6-3.6 2.8-7 8-4.8 13.7 2.4 6.3 9.3 9.1 24.6 9.1 5.4 0 11.8-.3 19.4-1 49.9-4.4 100.8-18 135.1-87.6 17-35.1 31.7-71.7 43.9-108.9L497 850l5-12c.8-1.9 19-46.3 5.1-95.9l-.5-1.8-108.1-123-22 16.6c6.4-26.1 10.6-49.9 12.5-71.1h158.7v-8c0-40.1-18.5-63.9-19.2-64.9l-2.4-3z\"}));var Ke=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNTY0LjcgMjMwLjFWODAzaDYwbDI1LjIgNzEuNEw3NTYuMyA4MDNoMTMxLjVWMjMwLjFINTY0Ljd6bTI0Ny43IDQ5N2gtNTkuOWwtNzUuMSA1MC40LTE3LjgtNTAuNGgtMThWMzA4LjNoMTcwLjd2NDE4Ljh6TTUyNi4xIDQ4Ni45SDM5My4zYzIuMS00NC45IDQuMy0xMDQuMyA2LjYtMTcyLjloMTMwLjlsLS4xLTguMWMwLS42LS4yLTE0LjctMi4zLTI5LjEtMi4xLTE1LTYuNi0zNC45LTIxLTM0LjlIMjg3LjhjNC40LTIwLjYgMTUuNy02OS43IDI5LjQtOTMuOGw2LjQtMTEuMi0xMi45LS43Yy0uOCAwLTE5LjYtLjktNDEuNCAxMC42LTM1LjcgMTktNTEuNyA1Ni40LTU4LjcgODQuNC0xOC40IDczLjEtNDQuNiAxMjMuOS01NS43IDE0NS42LTMuMyA2LjQtNS4zIDEwLjItNi4yIDEyLjgtMS44IDQuOS0uOCA5LjggMi44IDEzIDEwLjUgOS41IDM4LjItMi45IDM4LjUtMyAuNi0uMyAxLjMtLjYgMi4yLTEgMTMuOS02LjMgNTUuMS0yNSA2OS44LTg0LjVoNTYuN2MuNyAzMi4yIDMuMSAxMzguNCAyLjkgMTcyLjloLTE0MWwtMi4xIDEuNWMtMjMuMSAxNi45LTMwLjUgNjMuMi0zMC44IDY1LjJsLTEuNCA5LjJoMTY3Yy0xMi4zIDc4LjMtMjYuNSAxMTMuNC0zNCAxMjcuNC0zLjcgNy03LjMgMTQtMTAuNyAyMC44LTIxLjMgNDIuMi00My40IDg1LjgtMTI2LjMgMTUzLjYtMy42IDIuOC03IDgtNC44IDEzLjcgMi40IDYuMyA5LjMgOS4xIDI0LjYgOS4xIDUuNCAwIDExLjgtLjMgMTkuNC0xIDQ5LjktNC40IDEwMC44LTE4IDEzNS4xLTg3LjYgMTctMzUuMSAzMS43LTcxLjcgNDMuOS0xMDguOUw0OTcgODUwbDUtMTJjLjgtMS45IDE5LTQ2LjMgNS4xLTk1LjlsLS41LTEuOC0xMDguMS0xMjMtMjIgMTYuNmM2LjQtMjYuMSAxMC42LTQ5LjkgMTIuNS03MS4xaDE1OC43di04YzAtNDAuMS0xOC41LTYzLjktMTkuMi02NC45bC0yLjQtM3oiLz48L3N2Zz4=\",Ge=a(9e3),He={github:U,weibo:ee,twitter:c,gitlab:_,facebook:Oe,zhihu:Je,yuque:We,linkedin:Ie},$e=function(t){var r=t.icon,ve=t.link,Se=(0,Ge.Z)(),Ee=(0,e.useMemo)(function(){return{Icon:He[r],link:ve}},[r,ve]);return e.createElement(\"a\",{className:\"dumi-default-icon\",\"data-dumi-tooltip\":Se.formatMessage({id:\"header.social.\".concat(r)}),\"data-dumi-tooltip-bottom\":!0,target:\"_blank\",href:Ee.link,rel:\"noreferrer\"},e.createElement(Ee.Icon,null))},qe=$e;function et(n,t){return at(n)||nt(n,t)||rt(n,t)||tt()}function tt(){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 rt(n,t){if(n){if(typeof n==\"string\")return Xe(n,t);var r=Object.prototype.toString.call(n).slice(8,-1);if(r===\"Object\"&&n.constructor&&(r=n.constructor.name),r===\"Map\"||r===\"Set\")return Array.from(n);if(r===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Xe(n,t)}}function Xe(n,t){(t==null||t>n.length)&&(t=n.length);for(var r=0,ve=new Array(t);r<t;r++)ve[r]=n[r];return ve}function nt(n,t){var r=n==null?null:typeof Symbol!=\"undefined\"&&n[Symbol.iterator]||n[\"@@iterator\"];if(r!=null){var ve=[],Se=!0,Ee=!1,Be,Re;try{for(r=r.call(n);!(Se=(Be=r.next()).done)&&(ve.push(Be.value),!(t&&ve.length===t));Se=!0);}catch(ze){Ee=!0,Re=ze}finally{try{!Se&&r.return!=null&&r.return()}finally{if(Ee)throw Re}}return ve}}function at(n){if(Array.isArray(n))return n}var ot=function(){var t=(0,$.eL)(),r=t.frontmatter,ve=(0,e.useState)(!1),Se=et(ve,2),Ee=Se[0],Be=Se[1],Re=(0,$.WF)(),ze=Re.themeConfig,lt=(0,e.useMemo)(function(){return ze.socialLinks?Object.keys(ze.socialLinks).slice(0,5).map(function(Te){return{icon:Te,link:ze.socialLinks[Te]}}):[]},[ze.socialLinks]);return e.createElement(\"div\",{className:\"dumi-default-header\",\"data-static\":Boolean(r.hero)||void 0,\"data-mobile-active\":Ee||void 0,onClick:function(){return Be(!1)}},e.createElement(\"div\",{className:\"dumi-default-header-content\"},e.createElement(\"section\",{className:\"dumi-default-header-left\"},e.createElement(L.Z,null)),e.createElement(\"section\",{className:\"dumi-default-header-right\"},e.createElement(P.Z,null),e.createElement(\"div\",{className:\"dumi-default-header-right-aside\"},e.createElement(G.ZP,null),e.createElement(p.Z,null),e.createElement(R.Z,null),ze.prefersColor.switch&&e.createElement(A.Z,null),lt.map(function(Te){return e.createElement(qe,{icon:Te.icon,link:Te.link,key:Te.link})}),e.createElement(g,null))),e.createElement(\"button\",{type:\"button\",className:\"dumi-default-header-menu-btn\",onClick:function(it){it.stopPropagation(),Be(function(ct){return!ct})}},Ee?e.createElement(C,null):e.createElement(H,null))))},ut=ot},68806:function(M,N,a){\"use strict\";a.d(N,{Z:function(){return d}});var e=a(81229),f=a(69698),g=a(50959),j=function(){var S,z=(0,e.eL)(),O=z.frontmatter;return\"hero\"in O?g.createElement(\"div\",{className:\"dumi-default-hero\"},O.hero.title&&g.createElement(f.Z,null,O.hero.title),O.hero.description&&g.createElement(\"p\",{dangerouslySetInnerHTML:{__html:O.hero.description}}),Boolean((S=O.hero.actions)===null||S===void 0?void 0:S.length)&&g.createElement(\"div\",{className:\"dumi-default-hero-actions\"},O.hero.actions.map(function(C){var w=C.text,K=C.link;return/^(\\w+:)\\/\\/|^(mailto|tel):/.test(K)?g.createElement(\"a\",{href:K,target:\"_blank\",rel:\"noreferrer\",key:w},w):g.createElement(e.rU,{key:w,to:K},w)}))):null},d=j},63301:function(M,N,a){\"use strict\";a.d(N,{Z:function(){return g}});var e=a(50959),f=function(d){return e.createElement(\"h1\",{className:\"dumi-default-hero-title\"},e.createElement(\"span\",null,d.children))},g=f},53371:function(M,N,a){\"use strict\";a.d(N,{Z:function(){return $}});var e=a(50959),f=Object.defineProperty,g=Object.getOwnPropertySymbols,j=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,E=(A,p,L)=>p in A?f(A,p,{enumerable:!0,configurable:!0,writable:!0,value:L}):A[p]=L,S=(A,p)=>{for(var L in p||(p={}))j.call(p,L)&&E(A,L,p[L]);if(g)for(var L of g(p))d.call(p,L)&&E(A,L,p[L]);return A};const z=A=>e.createElement(\"svg\",S({viewBox:\"64 64 896 896\"},A),e.createElement(\"path\",{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\"}));var O=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODg0IDI1NmgtNzVjLTUuMSAwLTkuOSAyLjUtMTIuOSA2LjZMNTEyIDY1NC4yIDIyNy45IDI2Mi42Yy0zLTQuMS03LjgtNi42LTEyLjktNi42aC03NWMtNi41IDAtMTAuMyA3LjQtNi41IDEyLjdsMzUyLjYgNDg2LjFjMTIuOCAxNy42IDM5IDE3LjYgNTEuNyAwbDM1Mi42LTQ4Ni4xYzMuOS01LjMuMS0xMi43LTYuNC0xMi43eiIvPjwvc3ZnPg==\",C=a(81229);function w(A,p){return h(A)||v(A,p)||V(A,p)||K()}function K(){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 V(A,p){if(A){if(typeof A==\"string\")return I(A,p);var L=Object.prototype.toString.call(A).slice(8,-1);if(L===\"Object\"&&A.constructor&&(L=A.constructor.name),L===\"Map\"||L===\"Set\")return Array.from(A);if(L===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(L))return I(A,p)}}function I(A,p){(p==null||p>A.length)&&(p=A.length);for(var L=0,P=new Array(p);L<p;L++)P[L]=A[L];return P}function v(A,p){var L=A==null?null:typeof Symbol!=\"undefined\"&&A[Symbol.iterator]||A[\"@@iterator\"];if(L!=null){var P=[],R=!0,G=!1,te,re;try{for(L=L.call(A);!(R=(te=L.next()).done)&&(P.push(te.value),!(p&&P.length===p));R=!0);}catch(ce){G=!0,re=ce}finally{try{!R&&L.return!=null&&L.return()}finally{if(G)throw re}}return P}}function h(A){if(Array.isArray(A))return A}function D(A){var p=A.pathname,L=A.current,P=A.target,R=\"base\"in L?p.replace(L.base.replace(/\\/$/,\"\"),\"\")||\"/\":p.replace(new RegExp(\"\".concat(L.suffix,\"$\")),\"\");return\"base\"in P?\"\".concat(P.base.replace(/\\/$/,\"\")).concat(R).replace(/([^/])\\/$/,\"$1\"):\"\".concat(R).concat(P.suffix)}var H=function(p){var L=p.locale,P=p.current,R=(0,C.TH)(),G=R.pathname,te=(0,e.useState)(function(){return D({pathname:G,current:P,target:L})}),re=w(te,2),ce=re[0],me=re[1];return(0,e.useEffect)(function(){me(D({pathname:G,current:P,target:L}))},[G,P.id,L.id]),e.createElement(C.rU,{className:\"dumi-default-lang-switch\",to:ce},L.name)},B=function(){var p=(0,C.WF)(),L=p.locales,P=(0,C.YB)(),R=P.locale,G=(0,C.bU)();return L.length<=1?null:L.length>2?e.createElement(\"div\",{className:\"dumi-default-lang-select\"},e.createElement(\"select\",{defaultValue:R,onChange:function(re){C.m8.push(D({pathname:C.m8.location.pathname,current:G,target:L.find(function(ce){var me=ce.id;return me===re.target.value})}))}},L.map(function(te){return e.createElement(\"option\",{key:te.id,value:te.id},te.name)})),e.createElement(z,null)):e.createElement(H,{locale:L.find(function(te){var re=te.id;return re!==R}),current:G})},$=B},89811:function(M,N,a){\"use strict\";a.d(N,{Z:function(){return j}});var e=a(81229),f=a(50959),g=function(){var E=(0,e.WF)(),S=E.themeConfig,z=(0,e.bU)();return f.createElement(e.rU,{className:\"dumi-default-logo\",to:\"base\"in z?z.base:\"/\"},S.logo!==!1&&f.createElement(\"img\",{src:S.logo||\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIQAAACCCAMAAACww5CIAAACf1BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8YkP8AAAACCxMamv/6+voaGhoXi/YYjv8aoP8cq/8dr/8bo/8cqP8bpv8Ykv8drv8BAwUcrP8Zlf8Xjf/s7OzLy8scp/8anP8ZmP/d3d0BBArg4ODT09O7u7sEGCsKCgoanf8YlP/8/Pz09PTIyMgMTIV1dXUGKEVEREQ0NDQODg4GBgYdsv8dsf8Zl//m5uYVgOXj4+MWgtfW1tYTc87BwcERbLWzs7Ovr6+np6cQX6OgoKCTk5MMSXlwcHBra2tiYmIVFRUetf/39/fp6ekWhOkXi+QVfNvY2NjPz88TdcUSb7u6urq3t7cPYK0NUJGQkJCLi4ttbW0JO2cINFtVVVVRUVEHMFEHLEs6OjoEHDEiIiIcHBwXj/vx8fEWh+4Sb8gRbL+rq6upqakOVZiWlpaJiYmGhoYMSIF9fX15eXkKPnQLRHJMTExHR0c9PT0FHzkqKiomJiYEFyUBBw8bovfu7u4Wht4UedsUeMrFxcW9vb0RZrOkpKSampoPXZqAgIALQmtlZWUJOGJZWVkIMFcFIUExMTEwMDAtLS0DEh8Zl/v4+PgXj/QWhvEWhvAYku8YjuwUfNcUfNAVfc0RaLkSaKsRZ6kPWqENUYlbW1sCEBhkSPCkAAAAOHRSTlMA87y4BeKrltbFnUDo0MCup6D67t7ayZKGemtmWS8rEwLNso1wVEpFGaR+UDUlHwmBYls5i1oN/DMym4YAAAfTSURBVHjaxNndS1NxHMfxX5s6t1Kz1KzsuazMnqjgyxv03ovtQrYxUBEfLkREVBQf0AsFBRUUQvEiSVFQ0YsuiiIiqKC/oH+o31lzjtPZg55zttfVNnbx5ffw+X53pmx5UFl2+XLZ4zpVOPWlJFTntYyiBwF/VbX39Sv9upYU9/QHjbXe6qqayrrnylXXi0kov3GVuFiMuNqbHhIu3FcuuohZZ+jDh7mdXkwqlGtKMGmOSFzrGiYe5ZL4+vdsd/SHFyYxtIQlIdiD4ftCa39osTlxRtzwHO1tUOLm0XYk6T3asMRtdKHdUs6qv+L1l/vKgak2SYjqN+1yYg2G5NgR4Pd5/F7fk9sO3YhSkoYkaW40KCk2Rj9KUoikqmtOn8YpydE6J7xFyq5yUhxIjvZJcUfZ5EOb6oxGQmPdtEQlR4Mxupc6IoOdzWiVypabaF1BiesIS876OiSufRXtvO0DcSi2dAN+ZcclYFZsCaOps3nYUOKprDTiSWzqAioCnpIX9ep03pxkw7jYtMWx0pdn7Jb2i1jixN3cM6OGFCti0zgpyopOsw6xiZHoyHIPLIhNHdD7bWR+c7znFD3+PNp+vxhmRkNi28BoWAzBPbQHKhdlQLe4ogsoVTl4ijYjrmiKATdUdvfjh9Ely8DVHFvWe3HJMBBQ2QWAd+KSeeBxjtuxKC7ZzG07Ht0DusQlfwDfs2wZ4b2EYVBcESHO81BlcIWESXHFV7Qss5aXY1FxRSj7L7QAhv3tsaVBMVn8Ou1MFUtjW3sYKjL0jO6QWJiA7iZxysBbtDplpRT4KZbQWkUbHRMnGFUUKwuNaH1iaRJ+Tf8bDbqcWJH2HuCV+l9DpkuxtdsuGlpYHNAJ1FqNMjnE9QocOXJCPwJ309zPT9la8e5yUJwwC/jTBNWQ5EkIqEyzHROSJzvWSeFDW5M8OUArsdgMq2EmanOyGB4WSyMYAhZp2TwkJouw2mZvmusUSwtraA//m7DXZ8SsBxiQM5tGSxNuv3+ZU/NmIpfN9qDXxp1sO4LDNrE202J6cHE1TVq2f1uNiA39K9/7JJ0JwGe6nvOSZ4OA1/R0bFbyrBWoMUX2nOTZAOA3pcSXjFW7UOJnU17VAYeZv98pTvsB1KsTRVXAtqQVA/rFWSNo11SKiuRYZeknEBRn7WJ4rZKuX8pcROvBj6g4rLUZQ8NJYBo2Jb/ax2KkhKYf6I1I3oWngKqUhfgkBTCL1pics1elICaS/5Y9jk+XBdEBeJKhHZGCCLZAWTIkBqQgNlr+NbGi2wHgS1tTAbQNAxW3i1R58WWgd725ANZ7gXPFNaqagrvwt1t7aW0qiOIAPlErPqJCq6JWrW8r1ar1xf0n4NxnnpCELEKyCNmkJZSQRSCbQltooS4sVApiC10U2kWhFRUEEdGF4vuNH8g7c9NQ2pjepPcB/r5ADjlnzp2ZM+QMXHeYb+1WfO5hi5QfveYe33XJ4+d8a3MNQHbI75KhMt9z9wF4FRNcIi3wO94bAHJiQHCHNgmgh3QD8D1MCK6I+KeNCUgbgFFRcEX8Qwhov014o/juUlEoxeqrgpsA7oWp4AZprnpv1ANgShFcoU4a+36jMgOuVGYmnuJ1Wb0hKWqCC8QCgI4dqyfRbNCFoqDBX7Xz6C0AS660K3UKQCdhuqAbdqFT+B8mAXQTbhtbpM7ng4Yn1oytOwFMu5AP9QGAa4Qz8lFwvFWIH6G7Qjijc8/LDueDyvd4z151EYBvwOF+lRFTAK6TGi+ACWdLk0ozANqvkpojAFJKRnCSlFt3m8pLc9bJTylVn64ty9rJfEl1cpVKbH3uJ2v1QleUqOCI2h9xeeP0aVqLCA4JSLk6s7hu6CbkqOAIGpyB7iRZ5xLvFWlHEkITyjK/41/v9h0AC3lngpCz0PXWf0yDUcmBhFDt0T/flx8CkNL8VLAZjUhvAHSQek5AtyALdqP5e9BdbPCkZsbuFRKVvlRHs/W1AfC902yNgoriWwCeqw1fSL+J2VkWNBF8vckr6mPQ3ZcjtkVBA/3z4Ju6Bs5ANzck2BQFpUMTxlVZQ4ege95vUxRUHoPOe5s01OWBbryf2hEFDX4Fc4Vs4gaYZ3ZEQeXBJPgMcFPnwYzJVmeE6jGsGCNAE/rAlPIBamkMQv9YCLpzxJRjYMr5BLXyg5EvgTlKTOoEkw2LUct6dTz4ojqCNO04mMm4ZE150mhMuQ+jHppwAUxqUM5QK9qkPLIE5jhpygkvmHJYiW45FaL8IwmdZy9pUtc2MK9HtvgloZngJyMVp3tJ846ASb7Q1NYrg1JN+ukDs4e05LwHTO5bUKG0tRBEeXAKzJ3rpEXdB8C9fBIWKW0hhOBIBdy2K6R11zvALY6EFYE21yHF4OdKEkz7ObIlXXvAhV4OquoApaYbpCo9qayA29lLturibhimSgOSFjG1ILRwYnwShn09xArnT8PwdnHML6n+hl+2gD8Wjj+rLMOwq49Y5dZpVKUWS++VcCwdCdT5/Uhck5SH45VpVO3qJFbq2Y5Vvly2VBgQY5KqKWI6HY+n06KiqVJMSQyP/37wB6v29xGrnThyEDWh5dyr+fJscbQw/OjRcGG0OFvO3n+QSqKm7exlYgsvNgolkyFs1HGV2OQgTGsjNjnVBtO8Owj3nwbhgWnttgWxy2PaoWaC+AuAXqWYKHupMgAAAABJRU5ErkJggg==\",alt:S.name}),S.name)},j=g},89317:function(M,N,a){\"use strict\";a.d(N,{Z:function(){return E}});var e=a(81229),f=a(66591),g=a(50959);function j(){return j=Object.assign?Object.assign.bind():function(S){for(var z=1;z<arguments.length;z++){var O=arguments[z];for(var C in O)Object.prototype.hasOwnProperty.call(O,C)&&(S[C]=O[C])}return S},j.apply(this,arguments)}var d=function(){var z=(0,e.OK)(),O=(0,e.TH)(),C=O.pathname;return g.createElement(\"ul\",{className:\"dumi-default-navbar\"},z.map(function(w){return g.createElement(\"li\",{key:w.link},/^(\\w+:)\\/\\/|^(mailto|tel):/.test(w.link)?g.createElement(\"a\",{href:w.link,target:\"_blank\",rel:\"noreferrer\"},w.title):g.createElement(e.rU,j({to:w.link},C.startsWith(w.activePath||w.link)?{className:\"active\"}:{}),w.title))}),g.createElement(f.Z,null))},E=d},66216:function(M,N,a){\"use strict\";var e=a(50959),f=function(){return e.createElement(e.Fragment,null)};N.Z=f},9850:function(M,N,a){\"use strict\";a.d(N,{Z:function(){return V}});var e=a(81229),f=a(50959);function g(I,v){return z(I)||S(I,v)||d(I,v)||j()}function j(){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 d(I,v){if(I){if(typeof I==\"string\")return E(I,v);var h=Object.prototype.toString.call(I).slice(8,-1);if(h===\"Object\"&&I.constructor&&(h=I.constructor.name),h===\"Map\"||h===\"Set\")return Array.from(I);if(h===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h))return E(I,v)}}function E(I,v){(v==null||v>I.length)&&(v=I.length);for(var h=0,D=new Array(v);h<v;h++)D[h]=I[h];return D}function S(I,v){var h=I==null?null:typeof Symbol!=\"undefined\"&&I[Symbol.iterator]||I[\"@@iterator\"];if(h!=null){var D=[],H=!0,B=!1,$,A;try{for(h=h.call(I);!(H=($=h.next()).done)&&(D.push($.value),!(v&&D.length===v));H=!0);}catch(p){B=!0,A=p}finally{try{!H&&h.return!=null&&h.return()}finally{if(B)throw A}}return D}}function z(I){if(Array.isArray(I))return I}var O=function(){return f.createElement(\"svg\",{viewBox:\"0 0 14 16\"},f.createElement(\"path\",{d:\"M5.003 6.39v3.594c0 .4.275.674.674.674.4 0 .674-.274.674-.674V1.323h1.997v8.661c0 .4.274.674.674.674s.674-.274.674-.674V1.323h3.295c.399 0 .674-.275.674-.674 0-.4-.275-.649-.674-.649H4.928C3.131 0 1.733 1.398 1.733 3.195S3.206 6.39 5.003 6.39Zm0-5.067v3.72c-1.073 0-1.922-.8-1.922-1.873s.799-1.847 1.922-1.847Zm7.988 11.332H2.73l.8-.674c.274-.2.324-.674.124-.923-.2-.275-.674-.325-.923-.125L.735 12.53c-.275.275-.4.525-.4.874 0 .325.125.674.4.874l1.997 1.597a.829.829 0 0 0 .4.125c.199 0 .398-.075.523-.275.2-.274.2-.723-.125-.923l-.998-.799h10.459c.399 0 .674-.274.674-.674 0-.424-.275-.674-.674-.674Z\"}))},C=function(){return f.createElement(\"svg\",{viewBox:\"0 0 14 16\"},f.createElement(\"path\",{d:\"M5.003 6.39v3.594c0 .4.275.674.674.674.4 0 .674-.274.674-.674V1.323h1.997v8.661c0 .4.274.674.674.674s.674-.274.674-.674V1.323h3.295c.399 0 .674-.275.674-.674 0-.4-.275-.649-.674-.649H4.928C3.131 0 1.733 1.398 1.733 3.195S3.206 6.39 5.003 6.39Zm0-5.067v3.72c-1.073 0-1.922-.8-1.922-1.873s.799-1.847 1.922-1.847ZM1.01 12.655h10.26l-.8-.674c-.274-.2-.324-.674-.124-.923.2-.275.674-.325.923-.125l1.997 1.597c.275.275.4.525.4.874 0 .325-.125.674-.4.874l-1.997 1.597a.829.829 0 0 1-.399.125.59.59 0 0 1-.524-.275c-.2-.274-.2-.723.125-.923l.998-.799H1.009c-.399 0-.674-.274-.674-.674 0-.424.275-.674.674-.674Z\"}))},w=\"dumi:rtl\",K=function(){var v=(0,f.useState)(!1),h=g(v,2),D=h[0],H=h[1],B=(0,e.WF)(),$=B.themeConfig;return(0,f.useEffect)(function(){localStorage.getItem(w)&&(H(!0),document.documentElement.setAttribute(\"data-direction\",\"rtl\"))},[]),$.rtl?f.createElement(\"button\",{type:\"button\",className:\"dumi-default-rtl-switch\",onClick:function(){D?(document.documentElement.removeAttribute(\"data-direction\"),localStorage.removeItem(w)):(document.documentElement.setAttribute(\"data-direction\",\"rtl\"),localStorage.setItem(w,\"1\")),H(!D)},\"data-dumi-tooltip\":D?\"RTL\":\"LTR\",\"data-dumi-tooltip-bottom\":!0},D?f.createElement(O,null):f.createElement(C,null)):null},V=K},64387:function(M,N,a){\"use strict\";a.d(N,{ZP:function(){return ke}});var e=a(50959),f=Object.defineProperty,g=Object.getOwnPropertySymbols,j=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,E=(o,u,c)=>u in o?f(o,u,{enumerable:!0,configurable:!0,writable:!0,value:c}):o[u]=c,S=(o,u)=>{for(var c in u||(u={}))j.call(u,c)&&E(o,c,u[c]);if(g)for(var c of g(u))d.call(u,c)&&E(o,c,u[c]);return o};const z=o=>e.createElement(\"svg\",S({viewBox:\"64 64 896 896\"},o),e.createElement(\"path\",{d:\"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0 0 48.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z\"}));var O=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODYyIDQ2NS4zaC04MWMtNC42IDAtOSAyLTEyLjEgNS41TDU1MCA3MjMuMVYxNjBjMC00LjQtMy42LTgtOC04aC02MGMtNC40IDAtOCAzLjYtOCA4djU2My4xTDI1NS4xIDQ3MC44Yy0zLTMuNS03LjQtNS41LTEyLjEtNS41aC04MWMtNi44IDAtMTAuNSA4LjEtNiAxMy4yTDQ4Ny45IDg2MWEzMS45NiAzMS45NiAwIDAgMCA0OC4zIDBMODY4IDQ3OC41YzQuNS01LjIuOC0xMy4yLTYtMTMuMnoiLz48L3N2Zz4=\",C=Object.defineProperty,w=Object.getOwnPropertySymbols,K=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable,I=(o,u,c)=>u in o?C(o,u,{enumerable:!0,configurable:!0,writable:!0,value:c}):o[u]=c,v=(o,u)=>{for(var c in u||(u={}))K.call(u,c)&&I(o,c,u[c]);if(w)for(var c of w(u))V.call(u,c)&&I(o,c,u[c]);return o};const h=o=>e.createElement(\"svg\",v({viewBox:\"64 64 896 896\"},o),e.createElement(\"path\",{d:\"M868 545.5 536.1 163a31.96 31.96 0 0 0-48.3 0L156 545.5a7.97 7.97 0 0 0 6 13.2h81c4.6 0 9-2 12.1-5.5L474 300.9V864c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V300.9l218.9 252.3c3 3.5 7.4 5.5 12.1 5.5h81c6.8 0 10.5-8 6-13.2z\"}));var D=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODY4IDU0NS41IDUzNi4xIDE2M2EzMS45NiAzMS45NiAwIDAgMC00OC4zIDBMMTU2IDU0NS41YTcuOTcgNy45NyAwIDAgMCA2IDEzLjJoODFjNC42IDAgOS0yIDEyLjEtNS41TDQ3NCAzMDAuOVY4NjRjMCA0LjQgMy42IDggOCA4aDYwYzQuNCAwIDgtMy42IDgtOFYzMDAuOWwyMTguOSAyNTIuM2MzIDMuNSA3LjQgNS41IDEyLjEgNS41aDgxYzYuOCAwIDEwLjUtOCA2LTEzLjJ6Ii8+PC9zdmc+\",H=Object.defineProperty,B=Object.getOwnPropertySymbols,$=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,p=(o,u,c)=>u in o?H(o,u,{enumerable:!0,configurable:!0,writable:!0,value:c}):o[u]=c,L=(o,u)=>{for(var c in u||(u={}))$.call(u,c)&&p(o,c,u[c]);if(B)for(var c of B(u))A.call(u,c)&&p(o,c,u[c]);return o};const P=o=>e.createElement(\"svg\",L({viewBox:\"64 64 896 896\"},o),e.createElement(\"path\",{d:\"M909.6 854.5 649.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 0 0 11.6 0l43.6-43.5a8.2 8.2 0 0 0 0-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\"}));var R=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNOTA5LjYgODU0LjUgNjQ5LjkgNTk0LjhDNjkwLjIgNTQyLjcgNzEyIDQ3OSA3MTIgNDEyYzAtODAuMi0zMS4zLTE1NS40LTg3LjktMjEyLjEtNTYuNi01Ni43LTEzMi04Ny45LTIxMi4xLTg3LjlzLTE1NS41IDMxLjMtMjEyLjEgODcuOUMxNDMuMiAyNTYuNSAxMTIgMzMxLjggMTEyIDQxMmMwIDgwLjEgMzEuMyAxNTUuNSA4Ny45IDIxMi4xQzI1Ni41IDY4MC44IDMzMS44IDcxMiA0MTIgNzEyYzY3IDAgMTMwLjYtMjEuOCAxODIuNy02MmwyNTkuNyAyNTkuNmE4LjIgOC4yIDAgMCAwIDExLjYgMGw0My42LTQzLjVhOC4yIDguMiAwIDAgMCAwLTExLjZ6TTU3MC40IDU3MC40QzUyOCA2MTIuNyA0NzEuOCA2MzYgNDEyIDYzNnMtMTE2LTIzLjMtMTU4LjQtNjUuNkMyMTEuMyA1MjggMTg4IDQ3MS44IDE4OCA0MTJzMjMuMy0xMTYuMSA2NS42LTE1OC40QzI5NiAyMTEuMyAzNTIuMiAxODggNDEyIDE4OHMxMTYuMSAyMy4yIDE1OC40IDY1LjZTNjM2IDM1Mi4yIDYzNiA0MTJzLTIzLjMgMTE2LjEtNjUuNiAxNTguNHoiLz48L3N2Zz4=\",G=a(81229),te=Object.defineProperty,re=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,Le=(o,u,c)=>u in o?te(o,u,{enumerable:!0,configurable:!0,writable:!0,value:c}):o[u]=c,De=(o,u)=>{for(var c in u||(u={}))ce.call(u,c)&&Le(o,c,u[c]);if(re)for(var c of re(u))me.call(u,c)&&Le(o,c,u[c]);return o};const Oe=o=>e.createElement(\"svg\",De({viewBox:\"0 0 1024 1024\"},o),e.createElement(\"path\",{d:\"m885.2 446.3-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0 0 60.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z\"}));var T=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0Ij48cGF0aCBkPSJtODg1LjIgNDQ2LjMtLjItLjgtMTEyLjItMjg1LjFjLTUtMTYuMS0xOS45LTI3LjItMzYuOC0yNy4ySDI4MS4yYy0xNyAwLTMyLjEgMTEuMy0zNi45IDI3LjZMMTM5LjQgNDQzbC0uMy43LS4yLjhjLTEuMyA0LjktMS43IDkuOS0xIDE0LjgtLjEgMS42LS4yIDMuMi0uMiA0LjhWODMwYTYwLjkgNjAuOSAwIDAgMCA2MC44IDYwLjhoNjI3LjJjMzMuNSAwIDYwLjgtMjcuMyA2MC45LTYwLjhWNDY0LjFjMC0xLjMgMC0yLjYtLjEtMy43LjQtNC45IDAtOS42LTEuMy0xNC4xem0tMjk1LjgtNDMtLjMgMTUuN2MtLjggNDQuOS0zMS44IDc1LjEtNzcuMSA3NS4xLTIyLjEgMC00MS4xLTcuMS01NC44LTIwLjZTNDM2IDQ0MS4yIDQzNS42IDQxOWwtLjMtMTUuN0gyMjkuNUwzMDkgMjEwaDM5OS4ybDgxLjcgMTkzLjNINTg5LjR6bS0zNzUgNzYuOGgxNTcuM2MyNC4zIDU3LjEgNzYgOTAuOCAxNDAuNCA5MC44IDMzLjcgMCA2NS05LjQgOTAuMy0yNy4yIDIyLjItMTUuNiAzOS41LTM3LjQgNTAuNy02My42aDE1Ni41VjgxNEgyMTQuNFY0ODAuMXoiLz48L3N2Zz4=\";function s(o,u){return y(o)||Y(o,u)||i(o,u)||l()}function l(){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 i(o,u){if(o){if(typeof o==\"string\")return m(o,u);var c=Object.prototype.toString.call(o).slice(8,-1);if(c===\"Object\"&&o.constructor&&(c=o.constructor.name),c===\"Map\"||c===\"Set\")return Array.from(o);if(c===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return m(o,u)}}function m(o,u){(u==null||u>o.length)&&(u=o.length);for(var c=0,x=new Array(u);c<u;c++)x[c]=o[c];return x}function Y(o,u){var c=o==null?null:typeof Symbol!=\"undefined\"&&o[Symbol.iterator]||o[\"@@iterator\"];if(c!=null){var x=[],Z=!0,W=!1,F,le;try{for(c=c.call(o);!(Z=(F=c.next()).done)&&(x.push(F.value),!(u&&x.length===u));Z=!0);}catch(ne){W=!0,le=ne}finally{try{!Z&&c.return!=null&&c.return()}finally{if(W)throw le}}return x}}function y(o){if(Array.isArray(o))return o}var U=function(){return e.createElement(\"svg\",{viewBox:\"0 0 32 32\",xmlns:\"http://www.w3.org/2000/svg\"},e.createElement(\"path\",{d:\"M5.333 10.667h21.334c.889 0 1.333.444 1.333 1.333s-.444 1.333-1.333 1.333H5.333C4.444 13.333 4 12.89 4 12s.444-1.333 1.333-1.333Z\"}),e.createElement(\"path\",{d:\"M13.207 2.667h.126a1.206 1.206 0 0 1 1.2 1.326l-2.413 24.14a1.333 1.333 0 0 1-1.327 1.2h-.126a1.206 1.206 0 0 1-1.2-1.326l2.413-24.14c.068-.682.642-1.2 1.327-1.2Zm8 0h.126a1.206 1.206 0 0 1 1.2 1.326l-2.413 24.14a1.333 1.333 0 0 1-1.327 1.2h-.126a1.206 1.206 0 0 1-1.2-1.326l2.413-24.14c.068-.682.642-1.2 1.327-1.2Z\"}),e.createElement(\"path\",{d:\"M5.333 18.667h21.334c.889 0 1.333.444 1.333 1.333s-.444 1.333-1.333 1.333H5.333C4.444 21.333 4 20.89 4 20s.444-1.333 1.333-1.333Z\"}))},X=function(){return e.createElement(\"svg\",{viewBox:\"0 0 32 32\",xmlns:\"http://www.w3.org/2000/svg\"},e.createElement(\"path\",{d:\"M9.402 0h14.78L30 6.16V24.5c0 1.933-1.71 3.5-3.589 3.5H9.401C7.524 28 6 26.433 6 24.5v-21C6 1.567 7.523 0 9.402 0ZM23 2v4.183c0 .451.366.817.817.817H28l-5-5Zm3.333 24c.92 0 1.667-.768 1.667-1.714V8.857h-5c-.92 0-1.667-.767-1.667-1.714V2H9.667C8.747 2 8 2.768 8 3.714v20.572C8 25.232 8.746 26 9.667 26h16.666Z\"}))},ae=function(){return e.createElement(\"svg\",{viewBox:\"0 0 32 32\",xmlns:\"http://www.w3.org/2000/svg\"},e.createElement(\"path\",{d:\"M6.12 14.589h6.628l1.52 4.004h2.485l-5.938-15.19H8.053L2.115 18.732H4.6l1.52-4.143ZM8.88 6.855c.139-.414.277-.828.415-1.38h.138c0 .138.138.414.414 1.104 0 .138.138.276.138.276 0 .138.829 2.072 2.21 5.938H6.672c1.519-3.866 2.21-5.8 2.21-5.938Zm8.148 2.348h12.705v1.933H17.029V9.203ZM2.115 20.665h27.619v1.933H2.114v-1.933Zm14.914-5.662h12.705v1.933H17.029v-1.933ZM2.115 26.327h27.619v1.933H2.114v-1.933ZM17.029 3.54h12.705v1.934H17.029V3.54Z\"}))},oe=function(){return e.createElement(\"svg\",{viewBox:\"0 0 32 32\",xmlns:\"http://www.w3.org/2000/svg\"},e.createElement(\"path\",{d:\"M28 6h-5a5 5 0 0 0-10 0H8a2 2 0 0 0-2 2v5a5 5 0 0 0 0 10v5a2 2 0 0 0 2 2h7v-2a3 3 0 0 1 6 0v2h7a2 2 0 0 0 2-2v-7h-2a3 3 0 0 1 0-6h2V8a2 2 0 0 0-2-2Zm-5 12a5 5 0 0 0 5 5v5h-5a5 5 0 0 0-10 0H8v-7H6a3 3 0 0 1 0-6h2V8h7V6a3 3 0 0 1 6 0v2h7v5a5 5 0 0 0-5 5Z\"}))},b={title:U,page:X,content:ae,demo:oe},q=function(u){return e.createElement(e.Fragment,null,u.texts.map(function(c,x){return e.createElement(e.Fragment,{key:x},c.highlighted?e.createElement(\"mark\",null,c.text):c.text)}))},se=function(u){var c=(0,e.useCallback)(function(){var le=0,ne=[];return u.forEach(function(de){de.title&&ne.push({type:\"title\",value:{title:de.title}}),de.hints.forEach(function(ee){ne.push({type:\"hint\",activeIndex:le++,value:ee})})}),[ne,le]},[u]),x=(0,e.useState)(c),Z=s(x,2),W=Z[0],F=Z[1];return(0,e.useEffect)(function(){F(c)},[u]),W},Q=function(u){var c=se(u.data),x=s(c,2),Z=x[0],W=x[1],F=(0,e.useState)(-1),le=s(F,2),ne=le[0],de=le[1];return(0,e.useEffect)(function(){var ee=function(je){if(je.key===\"ArrowDown\")de((ne+1)%W);else if(je.key===\"ArrowUp\")de((ne+W-1)%W);else if(je.key===\"Enter\"&&ne>=0){var ie,pe=Z.find(function(he){return he.type===\"hint\"&&he.activeIndex===ne}).value;G.m8.push(pe.link),(ie=u.onItemSelect)===null||ie===void 0||ie.call(u,pe),document.activeElement.blur()}[\"Escape\",\"Enter\"].includes(je.key)&&de(-1)};return document.addEventListener(\"keydown\",ee),function(){return document.removeEventListener(\"keydown\",ee)}}),e.createElement(\"div\",{className:\"dumi-default-search-result\",onMouseEnter:function(){return de(-1)},onMouseDownCapture:function(Ae){return Ae.preventDefault()},onMouseUpCapture:function(){document.activeElement.blur()}},Boolean(u.data.length||u.loading)?e.createElement(\"dl\",null,Z.map(function(ee,Ae){return ee.type===\"title\"?e.createElement(\"dt\",{key:String(Ae)},ee.value.title):e.createElement(\"dd\",{key:String(Ae)},e.createElement(G.rU,{to:ee.value.link,\"data-active\":ne===ee.activeIndex||void 0,onClick:function(){var ie;return(ie=u.onItemSelect)===null||ie===void 0?void 0:ie.call(u,ee.value)}},e.createElement(b[ee.value.type]),e.createElement(\"h4\",null,e.createElement(q,{texts:ee.value.highlightTitleTexts})),e.createElement(\"p\",null,e.createElement(q,{texts:ee.value.highlightTexts}))))})):e.createElement(\"div\",{className:\"dumi-default-search-empty\"},e.createElement(Oe,null),e.createElement(G._H,{id:\"search.not.found\"})))},_=Q,k=(0,e.forwardRef)(function(o,u){var c=(0,G.YB)(),x=(0,e.useRef)(!1),Z=(0,e.useRef)(null);return(0,e.useImperativeHandle)(u,function(){return Z.current}),e.createElement(\"input\",{className:\"dumi-default-search-bar-input\",onCompositionStart:function(){return x.current=!0},onCompositionEnd:function(F){x.current=!1,o.onChange(F.currentTarget.value)},onFocus:o.onFocus,onBlur:o.onBlur,onKeyDown:function(F){[\"ArrowDown\",\"ArrowUp\"].includes(F.key)&&F.preventDefault(),F.key===\"Escape\"&&!x.current&&F.currentTarget.blur()},onChange:function(F){setTimeout(function(){x.current||o.onChange(F.target.value)},1)},placeholder:c.formatMessage({id:\"header.search.placeholder\"}),ref:Z})}),J=function(u){return(0,e.useEffect)(function(){if(u.visible)document.body.style.overflow=\"hidden\";else{var c;document.body.style.overflow=\"\",(c=u.onClose)===null||c===void 0||c.call(u)}},[u.visible]),u.visible?e.createElement(\"div\",{className:\"dumi-default-search-modal\"},e.createElement(\"div\",{className:\"dumi-default-search-modal-mask\",onClick:u.onMaskClick}),e.createElement(\"div\",{className:\"dumi-default-search-modal-content\"},u.children)):null},ue;function Me(o,u){return Qe(o)||Ie(o,u)||ye(o,u)||fe()}function fe(){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 ye(o,u){if(o){if(typeof o==\"string\")return Ce(o,u);var c=Object.prototype.toString.call(o).slice(8,-1);if(c===\"Object\"&&o.constructor&&(c=o.constructor.name),c===\"Map\"||c===\"Set\")return Array.from(o);if(c===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return Ce(o,u)}}function Ce(o,u){(u==null||u>o.length)&&(u=o.length);for(var c=0,x=new Array(u);c<u;c++)x[c]=o[c];return x}function Ie(o,u){var c=o==null?null:typeof Symbol!=\"undefined\"&&o[Symbol.iterator]||o[\"@@iterator\"];if(c!=null){var x=[],Z=!0,W=!1,F,le;try{for(c=c.call(o);!(Z=(F=c.next()).done)&&(x.push(F.value),!(u&&x.length===u));Z=!0);}catch(ne){W=!0,le=ne}finally{try{!Z&&c.return!=null&&c.return()}finally{if(W)throw le}}return x}}function Qe(o){if(Array.isArray(o))return o}var be=/(mac|iphone|ipod|ipad)/i.test(typeof navigator!=\"undefined\"?(ue=navigator)===null||ue===void 0?void 0:ue.platform:\"\"),we=function(u){return[\"TEXTAREA\",\"INPUT\"].includes(u.tagName)||u.contentEditable===\"true\"},Ye=function(){var u=(0,e.useState)(!1),c=Me(u,2),x=c[0],Z=c[1],W=(0,e.useRef)(null),F=(0,e.useRef)(null),le=(0,e.useState)(\"\\u2318\"),ne=Me(le,2),de=ne[0],ee=ne[1],Ae=(0,G.OO)(),je=Ae.keywords,ie=Ae.setKeywords,pe=Ae.result,he=Ae.loading,Ve=(0,e.useState)(!1),Ze=Me(Ve,2),We=Ze[0],Ue=Ze[1];return(0,e.useEffect)(function(){be||ee(\"Ctrl\");var ge=function(Ne){if(((be?Ne.metaKey:Ne.ctrlKey)&&Ne.key===\"k\"||Ne.key===\"/\"&&!we(Ne.target))&&(Ne.preventDefault(),W.current)){var Pe=W.current.getBoundingClientRect(),Fe=Pe.top,_e=Pe.bottom,Je=Pe.left,Ke=Pe.right,Ge=Fe>=0&&Je>=0&&_e<=window.innerHeight&&Ke<=window.innerWidth;Ge?W.current.focus():(ie(\"\"),Ue(!0),setTimeout(function(){var He;(He=F.current)===null||He===void 0||He.focus()}))}Ne.key===\"Escape\"&&(Ne.preventDefault(),Ue(!1))};return document.addEventListener(\"keydown\",ge),function(){return document.removeEventListener(\"keydown\",ge)}},[]),e.createElement(\"div\",{className:\"dumi-default-search-bar\"},e.createElement(P,{className:\"dumi-default-search-bar-svg\"}),e.createElement(k,{onFocus:function(){return Z(!0)},onBlur:function(){setTimeout(function(){Z(!1)},1)},onChange:function(xe){return ie(xe)},ref:W}),e.createElement(\"span\",{className:\"dumi-default-search-shortcut\"},de,\" K\"),je.trim()&&x&&(pe.length||!he)&&!We&&e.createElement(\"div\",{className:\"dumi-default-search-popover\"},e.createElement(\"section\",null,e.createElement(_,{data:pe,loading:he}))),e.createElement(J,{visible:We,onMaskClick:function(){Ue(!1)},onClose:function(){return ie(\"\")}},e.createElement(\"div\",{style:{position:\"relative\"}},e.createElement(P,{className:\"dumi-default-search-bar-svg\"}),e.createElement(k,{onFocus:function(){return Z(!0)},onBlur:function(){setTimeout(function(){Z(!1)},1)},onChange:function(xe){return ie(xe)},ref:F})),e.createElement(_,{data:pe,loading:he,onItemSelect:function(){Ue(!1)}}),e.createElement(\"footer\",null,e.createElement(\"ul\",{className:\"dumi-default-search-modal-commands\"},e.createElement(\"li\",{className:\"dumi-default-search-modal-commands-arrow\"},e.createElement(\"span\",{className:\"dumi-default-search-modal-shortcut\"},e.createElement(h,{width:\"10px\",height:\"10px\",fill:\"rgba(0, 0, 0, 0.45)\"})),e.createElement(\"span\",{className:\"dumi-default-search-modal-shortcut\"},e.createElement(z,{width:\"10px\",height:\"10px\",fill:\"rgba(0, 0, 0, 0.45)\"})),e.createElement(\"span\",{className:\"dumi-default-search-modal-commands-text\"},\"to navigate\")),e.createElement(\"li\",null,e.createElement(\"span\",{className:\"dumi-default-search-modal-shortcut\"},\"esc\"),e.createElement(\"span\",{className:\"dumi-default-search-modal-commands-text\"},\"to close\"))))))},ke=Ye},64586:function(M,N,a){\"use strict\";a.d(N,{Z:function(){return d}});var e=a(81229),f=a(86064),g=a(50959),j=function(){var S=(0,e.TH)(),z=S.pathname,O=(0,e.eL)(),C=(0,e.tx)();return C?g.createElement(\"div\",{className:\"dumi-default-sidebar\"},C.map(function(w,K){return g.createElement(\"dl\",{className:\"dumi-default-sidebar-group\",key:String(K)},w.title&&g.createElement(\"dt\",null,w.title),w.children.map(function(V){return g.createElement(\"dd\",{key:V.link},g.createElement(e.OL,{to:V.link,title:V.title,end:!0},V.title),V.link===z&&O.frontmatter.toc===\"menu\"&&g.createElement(f.Z,null))}))})):null},d=j},29847:function(M,N,a){\"use strict\";a.d(N,{Z:function(){return Oe}});var e=a(93525),f=a.n(e),g=a(54306),j=a.n(g),d=a(50959),E=a(21140),S=a.n(E),z=a(63466),O=a.n(z),C=a(68608),w=a.n(C),K=a(58853),V=a.n(K),I=a(38888),v=a.n(I),h=a(52510),D=a.n(h),H=O()(function T(){S()(this,T)}),B=function(T){V()(l,T);var s=v()(l);function l(i){var m;return S()(this,l),m=s.call(this),D()(w()(m),\"el\",void 0),m.el=i,m}return O()(l,[{key:\"top\",get:function(){return this.el.getBoundingClientRect().top}},{key:\"outerHeight\",get:function(){return this.el.getBoundingClientRect().height}},{key:\"scrollTop\",get:function(){return this.el.scrollTop}},{key:\"scrollHeight\",get:function(){return this.el.scrollHeight}},{key:\"isScrolledToBottom\",value:function(){return this.scrollTop+this.outerHeight>=this.scrollHeight}},{key:\"registerScrollEvent\",value:function(m){this.el.addEventListener(\"scroll\",m)}},{key:\"unregisterScrollEvent\",value:function(m){this.el.removeEventListener(\"scroll\",m)}}],[{key:\"create\",value:function(m){var Y=document.querySelector(m);if(!Y)throw new Error(\"element is not found.\");return new l(Y)}}]),l}(H),$=function(T){V()(l,T);var s=v()(l);function l(){return S()(this,l),s.apply(this,arguments)}return O()(l,[{key:\"outerHeight\",get:function(){return window.innerHeight}},{key:\"scrollTop\",get:function(){return document.documentElement.scrollTop}},{key:\"scrollHeight\",get:function(){return document.documentElement.scrollHeight}},{key:\"isScrolledToBottom\",value:function(){return this.scrollTop+this.outerHeight>=this.scrollHeight}},{key:\"registerScrollEvent\",value:function(m){document.addEventListener(\"scroll\",m)}},{key:\"unregisterScrollEvent\",value:function(m){document.removeEventListener(\"scroll\",m)}}],[{key:\"create\",value:function(){return new l}}]),l}(H),A=function(){function T(){S()(this,T)}return O()(T,null,[{key:\"create\",value:function(l){return l?B.create(l):$.create()}}]),T}(),p=function(s){var l=s.sectionRefs,i=s.rootSelector,m=s.offset,Y=m===void 0?0:m,y=(0,d.useRef)(null);(0,d.useEffect)(function(){y.current=A.create(i)},[i]);var U=(0,d.useCallback)(function(){return y.current?y.current.isScrolledToBottom():!1},[y]),X=(0,d.useCallback)(function(k){if(!y.current)return!1;var J=y.current.scrollTop,ue=J+y.current.outerHeight,Me=k.getBoundingClientRect(),fe=y.current instanceof B?J+Me.top-y.current.top+Y:J+Me.top+Y,ye=fe+Me.height;return[fe<ue,ye>J].every(function(Ce){return Ce})},[y,Y]),ae=(0,d.useCallback)(function(){return l.map(function(k){return k.current?X(k.current):!1})},[X,l]),oe=(0,d.useState)([]),b=j()(oe,2),q=b[0],se=b[1],Q=(0,d.useMemo)(function(){return q.findIndex(function(k){return k})},[q]),_=(0,d.useCallback)(function(){var k=U()?[].concat(f()(new Array(l.length-1).fill(!1).map(function(J){return J})),[!0]):ae();se(k)},[ae,U,l]);return(0,d.useEffect)(function(){return _(),y.current&&y.current.registerScrollEvent(_),function(){y.current&&y.current.unregisterScrollEvent(_)}},[_]),{elementsStatusInViewport:q,currentElementIndexInViewport:Q}},L=function(s){var l=s.children,i=s.sectionRefs,m=s.rootSelector,Y=s.offset,y=p({sectionRefs:i,rootSelector:m,offset:Y}),U=y.elementsStatusInViewport,X=y.currentElementIndexInViewport;return l({elementsStatusInViewport:U,currentElementIndexInViewport:X})},P=a(81229);function R(){return R=Object.assign?Object.assign.bind():function(T){for(var s=1;s<arguments.length;s++){var l=arguments[s];for(var i in l)Object.prototype.hasOwnProperty.call(l,i)&&(T[i]=l[i])}return T},R.apply(this,arguments)}function G(T,s){return Le(T)||me(T,s)||re(T,s)||te()}function te(){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 re(T,s){if(T){if(typeof T==\"string\")return ce(T,s);var l=Object.prototype.toString.call(T).slice(8,-1);if(l===\"Object\"&&T.constructor&&(l=T.constructor.name),l===\"Map\"||l===\"Set\")return Array.from(T);if(l===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return ce(T,s)}}function ce(T,s){(s==null||s>T.length)&&(s=T.length);for(var l=0,i=new Array(s);l<s;l++)i[l]=T[l];return i}function me(T,s){var l=T==null?null:typeof Symbol!=\"undefined\"&&T[Symbol.iterator]||T[\"@@iterator\"];if(l!=null){var i=[],m=!0,Y=!1,y,U;try{for(l=l.call(T);!(m=(y=l.next()).done)&&(i.push(y.value),!(s&&i.length===s));m=!0);}catch(X){Y=!0,U=X}finally{try{!m&&l.return!=null&&l.return()}finally{if(Y)throw U}}return i}}function Le(T){if(Array.isArray(T))return T}var De=function(){var s=(0,P.TH)(),l=s.pathname,i=s.search,m=(0,P.eL)(),Y=(0,P.zh)(),y=(0,P.WF)(),U=y.loading,X=(0,d.useRef)(0),ae=(0,d.useState)([]),oe=G(ae,2),b=oe[0],q=oe[1],se=d.useMemo(function(){var Q=m.toc;return Y&&(Q=Y.toc),Q.filter(function(_){var k=_.depth;return k>1&&k<4})},[m,Y]);return(0,d.useEffect)(function(){if(!U){var Q=se.map(function(_){var k=_.id;return{current:document.getElementById(k)}});q(Q)}},[l,i,U]),b.length?d.createElement(L,{sectionRefs:b},function(Q){var _=Q.currentElementIndexInViewport;return _>-1&&(X.current=_),d.createElement(\"ul\",{className:\"dumi-default-toc\"},se.filter(function(k){var J=k.depth;return J>1&&J<4}).map(function(k,J){var ue=\"\".concat(i,\"#\").concat(encodeURIComponent(k.id)),Me=_>-1?_:X.current;return d.createElement(\"li\",{key:k.id,\"data-depth\":k.depth},d.createElement(P.rU,R({to:ue,title:k.title},Me===J?{className:\"active\"}:{}),k.title))}))}):null},Oe=De},30006:function(M,N,a){var e=a(25705);function f(g){if(Array.isArray(g))return e(g)}M.exports=f,M.exports.__esModule=!0,M.exports.default=M.exports},68608:function(M){function N(a){if(a===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return a}M.exports=N,M.exports.__esModule=!0,M.exports.default=M.exports},21140:function(M){function N(a,e){if(!(a instanceof e))throw new TypeError(\"Cannot call a class as a function\")}M.exports=N,M.exports.__esModule=!0,M.exports.default=M.exports},63466:function(M,N,a){var e=a(26982);function f(j,d){for(var E=0;E<d.length;E++){var S=d[E];S.enumerable=S.enumerable||!1,S.configurable=!0,\"value\"in S&&(S.writable=!0),Object.defineProperty(j,e(S.key),S)}}function g(j,d,E){return d&&f(j.prototype,d),E&&f(j,E),Object.defineProperty(j,\"prototype\",{writable:!1}),j}M.exports=g,M.exports.__esModule=!0,M.exports.default=M.exports},38888:function(M,N,a){var e=a(44908),f=a(14614),g=a(91621);function j(d){var E=f();return function(){var z=e(d),O;if(E){var C=e(this).constructor;O=Reflect.construct(z,arguments,C)}else O=z.apply(this,arguments);return g(this,O)}}M.exports=j,M.exports.__esModule=!0,M.exports.default=M.exports},44908:function(M){function N(a){return M.exports=N=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(f){return f.__proto__||Object.getPrototypeOf(f)},M.exports.__esModule=!0,M.exports.default=M.exports,N(a)}M.exports=N,M.exports.__esModule=!0,M.exports.default=M.exports},58853:function(M,N,a){var e=a(49154);function f(g,j){if(typeof j!=\"function\"&&j!==null)throw new TypeError(\"Super expression must either be null or a function\");g.prototype=Object.create(j&&j.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),Object.defineProperty(g,\"prototype\",{writable:!1}),j&&e(g,j)}M.exports=f,M.exports.__esModule=!0,M.exports.default=M.exports},14614:function(M){function N(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}M.exports=N,M.exports.__esModule=!0,M.exports.default=M.exports},16660:function(M){function N(a){if(typeof Symbol!=\"undefined\"&&a[Symbol.iterator]!=null||a[\"@@iterator\"]!=null)return Array.from(a)}M.exports=N,M.exports.__esModule=!0,M.exports.default=M.exports},95848:function(M){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.`)}M.exports=N,M.exports.__esModule=!0,M.exports.default=M.exports},91621:function(M,N,a){var e=a(37635).default,f=a(68608);function g(j,d){if(d&&(e(d)===\"object\"||typeof d==\"function\"))return d;if(d!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return f(j)}M.exports=g,M.exports.__esModule=!0,M.exports.default=M.exports},49154:function(M){function N(a,e){return M.exports=N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(g,j){return g.__proto__=j,g},M.exports.__esModule=!0,M.exports.default=M.exports,N(a,e)}M.exports=N,M.exports.__esModule=!0,M.exports.default=M.exports},93525:function(M,N,a){var e=a(30006),f=a(16660),g=a(41442),j=a(95848);function d(E){return e(E)||f(E)||g(E)||j()}M.exports=d,M.exports.__esModule=!0,M.exports.default=M.exports}}]);\n"
  },
  {
    "path": "docs-dist/874.753377bf.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[874],{63874:function(e,s,p){e.exports=p.p+\"static/group.ff1b0e18.jpeg\"}}]);\n"
  },
  {
    "path": "docs-dist/config/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docs-dist/demo/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docs-dist/demos.10478156.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[433],{80858:function(at,J,b){b.d(J,{Z:function(){return xi}});var d=b(50959),u=b(41477),Q=b(65707),M=b(32699),Ke=function(e,a,r,i){return re(r?i:e,a)},me=function(e,a,r,i){var n=e?{color:\"green\"}:{},l={color:\"#f50\"};return d.createElement(\"span\",null,d.createElement(\"span\",{style:n},a),d.createElement(\"span\",{style:l},i),d.createElement(\"span\",{style:n},r))},re=function(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:\"\",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(!a)return e;var i=e.indexOf(a),n=e.substr(0,i),l=e.substr(i+a.length),o=i>-1?me(r,n,l,a):nt(r,e);return o},nt=function(e,a){var r=e?{color:\"green\"}:{};return d.createElement(\"span\",{style:r},a)};function G(t){return G=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(e){return typeof e}:function(e){return e&&typeof Symbol==\"function\"&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},G(t)}var it,lt,V;function mr(t){return br(t)||gr(t)||fr(t)||pr()}function pr(){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 fr(t,e){if(t){if(typeof t==\"string\")return Ne(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);if(a===\"Object\"&&t.constructor&&(a=t.constructor.name),a===\"Map\"||a===\"Set\")return Array.from(t);if(a===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Ne(t,e)}}function gr(t){if(typeof Symbol!=\"undefined\"&&t[Symbol.iterator]!=null||t[\"@@iterator\"]!=null)return Array.from(t)}function br(t){if(Array.isArray(t))return Ne(t)}function Ne(t,e){(e==null||e>t.length)&&(e=t.length);for(var a=0,r=new Array(e);a<e;a++)r[a]=t[a];return r}function hr(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function ot(t,e){for(var a=0;a<e.length;a++){var r=e[a];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,Tr(r.key),r)}}function vr(t,e,a){return e&&ot(t.prototype,e),a&&ot(t,a),Object.defineProperty(t,\"prototype\",{writable:!1}),t}function Tr(t){var e=_r(t,\"string\");return G(e)===\"symbol\"?e:String(e)}function _r(t,e){if(G(t)!==\"object\"||t===null)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var r=a.call(t,e||\"default\");if(G(r)!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(e===\"string\"?String:Number)(t)}function Kr(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Super expression must either be null or a function\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\"prototype\",{writable:!1}),e&&Fe(t,e)}function Fe(t,e){return Fe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Fe(t,e)}function Ir(t){var e=Or();return function(){var r=Ie(t),i;if(e){var n=Ie(this).constructor;i=Reflect.construct(r,arguments,n)}else i=r.apply(this,arguments);return Pr(this,i)}}function Pr(t,e){if(e&&(G(e)===\"object\"||typeof e==\"function\"))return e;if(e!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return Dr(t)}function Dr(t){if(t===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return t}function Or(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Ie(t){return Ie=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},Ie(t)}function yt(t,e,a,r,i){var n={};return Object.keys(r).forEach(function(l){n[l]=r[l]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,(\"value\"in n||n.initializer)&&(n.writable=!0),n=a.slice().reverse().reduce(function(l,o){return o(t,e,l)||l},n),i&&n.initializer!==void 0&&(n.value=n.initializer?n.initializer.call(i):void 0,n.initializer=void 0),n.initializer===void 0&&(Object.defineProperty(t,e,n),n=null),n}var Sr=(it=(0,u.o4J)(\"webpdm/Model\"),it(lt=(V=function(t){Kr(a,t);var e=Ir(a);function a(){return hr(this,a),e.apply(this,arguments)}return vr(a,[{key:\"fields\",get:function(){var i=this,n=(0,u.yjm)(this),l=mr(n.Fields.values());return l.filter(function(o){return o.modelId===i.id})}},{key:\"renderModelTitle\",value:function(){var i=(0,u.yjm)(this);return Ke(this.label,i.sys.search,i.sys.showNameOrLabel,this.name)}},{key:\"filterModel\",value:function(){var i=(0,u.yjm)(this),n=i.sys.search;return!n||(i.sys.showNameOrLabel?this.name.indexOf(n)>=0:this.label.indexOf(n)>=0)}}]),a}((0,u.Hnr)({id:(0,u.vgT)(),name:(0,u.vgT)(),label:(0,u.vgT)(\"\"),moduleId:(0,u.vgT)(\"\"),aggregateRoot:(0,u.vgT)(!1),aggregateModelKey:(0,u.vgT)(),belongAggregate:(0,u.vgT)()})),yt(V.prototype,\"renderModelTitle\",[u.ZBq],Object.getOwnPropertyDescriptor(V.prototype,\"renderModelTitle\"),V.prototype),yt(V.prototype,\"filterModel\",[u.ZBq],Object.getOwnPropertyDescriptor(V.prototype,\"filterModel\"),V.prototype),V))||lt);function ae(t){return ae=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(e){return typeof e}:function(e){return e&&typeof Symbol==\"function\"&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},ae(t)}var ct,ut,pe;function Er(t){return Rr(t)||wr(t)||Mr(t)||Cr()}function Cr(){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 Mr(t,e){if(t){if(typeof t==\"string\")return ke(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);if(a===\"Object\"&&t.constructor&&(a=t.constructor.name),a===\"Map\"||a===\"Set\")return Array.from(t);if(a===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return ke(t,e)}}function wr(t){if(typeof Symbol!=\"undefined\"&&t[Symbol.iterator]!=null||t[\"@@iterator\"]!=null)return Array.from(t)}function Rr(t){if(Array.isArray(t))return ke(t)}function ke(t,e){(e==null||e>t.length)&&(e=t.length);for(var a=0,r=new Array(e);a<e;a++)r[a]=t[a];return r}function Ar(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function st(t,e){for(var a=0;a<e.length;a++){var r=e[a];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,Fr(r.key),r)}}function Nr(t,e,a){return e&&st(t.prototype,e),a&&st(t,a),Object.defineProperty(t,\"prototype\",{writable:!1}),t}function Fr(t){var e=kr(t,\"string\");return ae(e)===\"symbol\"?e:String(e)}function kr(t,e){if(ae(t)!==\"object\"||t===null)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var r=a.call(t,e||\"default\");if(ae(r)!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(e===\"string\"?String:Number)(t)}function jr(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Super expression must either be null or a function\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\"prototype\",{writable:!1}),e&&je(t,e)}function je(t,e){return je=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},je(t,e)}function xr(t){var e=Br();return function(){var r=Pe(t),i;if(e){var n=Pe(this).constructor;i=Reflect.construct(r,arguments,n)}else i=r.apply(this,arguments);return Lr(this,i)}}function Lr(t,e){if(e&&(ae(e)===\"object\"||typeof e==\"function\"))return e;if(e!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return Ur(t)}function Ur(t){if(t===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return t}function Br(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Pe(t){return Pe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},Pe(t)}function Hr(t,e,a,r,i){var n={};return Object.keys(r).forEach(function(l){n[l]=r[l]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,(\"value\"in n||n.initializer)&&(n.writable=!0),n=a.slice().reverse().reduce(function(l,o){return o(t,e,l)||l},n),i&&n.initializer!==void 0&&(n.value=n.initializer?n.initializer.call(i):void 0,n.initializer=void 0),n.initializer===void 0&&(Object.defineProperty(t,e,n),n=null),n}var zr=(ct=(0,u.o4J)(\"webpdm/TModule\"),ct(ut=(pe=function(t){jr(a,t);var e=xr(a);function a(){return Ar(this,a),e.apply(this,arguments)}return Nr(a,[{key:\"models\",get:function(){var i=this,n=(0,u.yjm)(this),l=Er(n.Models.values()).filter(function(o){return o.moduleId===i.id});return l}}]),a}((0,u.Hnr)({id:(0,u.vgT)(),name:(0,u.vgT)(),label:(0,u.vgT)()})),Hr(pe.prototype,\"models\",[Q.computed],Object.getOwnPropertyDescriptor(pe.prototype,\"models\"),pe.prototype),pe))||ut),Zr=function(e,a){if(e){a.getNodes().filter(function(l){return!l.isSys}).forEach(function(l){l.getContainer().show()}),a.zoomTo(.8),a.focusItem(e);var r=a.get(\"height\"),i=e.getKeyShape().attr(\"height\"),n=r/2;a.translate(0,-n+i/2+120)}};function ne(t){return ne=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(e){return typeof e}:function(e){return e&&typeof Symbol==\"function\"&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},ne(t)}var dt,mt,I,pt,ft,gt,bt,ht,vt;function ie(t,e,a,r){a&&Object.defineProperty(t,e,{enumerable:a.enumerable,configurable:a.configurable,writable:a.writable,value:a.initializer?a.initializer.call(r):void 0})}function Wr(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function Tt(t,e){for(var a=0;a<e.length;a++){var r=e[a];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,Kt(r.key),r)}}function Gr(t,e,a){return e&&Tt(t.prototype,e),a&&Tt(t,a),Object.defineProperty(t,\"prototype\",{writable:!1}),t}function Qr(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Super expression must either be null or a function\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\"prototype\",{writable:!1}),e&&xe(t,e)}function xe(t,e){return xe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},xe(t,e)}function Vr(t){var e=Jr();return function(){var r=De(t),i;if(e){var n=De(this).constructor;i=Reflect.construct(r,arguments,n)}else i=r.apply(this,arguments);return $r(this,i)}}function $r(t,e){if(e&&(ne(e)===\"object\"||typeof e==\"function\"))return e;if(e!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return w(t)}function w(t){if(t===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return t}function Jr(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function De(t){return De=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},De(t)}function _t(t,e,a){return e=Kt(e),e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function Kt(t){var e=Yr(t,\"string\");return ne(e)===\"symbol\"?e:String(e)}function Yr(t,e){if(ne(t)!==\"object\"||t===null)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var r=a.call(t,e||\"default\");if(ne(r)!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(e===\"string\"?String:Number)(t)}function Ui(t,e){throw new Error(\"Decorating class property failed. Please ensure that proposal-class-properties is enabled and runs after the decorators transform.\")}function k(t,e,a,r,i){var n={};return Object.keys(r).forEach(function(l){n[l]=r[l]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,(\"value\"in n||n.initializer)&&(n.writable=!0),n=a.slice().reverse().reduce(function(l,o){return o(t,e,l)||l},n),i&&n.initializer!==void 0&&(n.value=n.initializer?n.initializer.call(i):void 0,n.initializer=void 0),n.initializer===void 0&&(Object.defineProperty(t,e,n),n=null),n}var Xr=(dt=(0,u.o4J)(\"webpdm/TSys\"),dt(mt=(I=function(t){Qr(a,t);var e=Vr(a);function a(){var r;Wr(this,a);for(var i=arguments.length,n=new Array(i),l=0;l<i;l++)n[l]=arguments[l];return r=e.call.apply(e,[this].concat(n)),_t(w(r),\"onIgnoreEdge\",void 0),_t(w(r),\"onModelDetail\",void 0),ie(w(r),\"setExpandedKeys\",pt,w(r)),ie(w(r),\"setCheckedKeys\",ft,w(r)),ie(w(r),\"toggleTabOrTree\",gt,w(r)),ie(w(r),\"changeModuleValue\",bt,w(r)),ie(w(r),\"setSearch\",ht,w(r)),ie(w(r),\"toggleShowNameOrLabel\",vt,w(r)),r}return Gr(a,[{key:\"setOnIgnoreEdge\",value:function(i){this.onIgnoreEdge=i}},{key:\"setOnModelDetail\",value:function(i){this.onModelDetail=i}},{key:\"toggleArrangeLayout\",value:function(){this.isArrangeLayout=!this.isArrangeLayout}},{key:\"setDisableMiniMap\",value:function(i){this.disableMiniMap=i}},{key:\"setCurrentModel\",value:function(i){var n=+new Date,l=i.length>1?i[1]:i[0],o=(0,u.yjm)(this),c=o.graph.G6Graph;if(c){var y=c.findById(\"model-\"+l);y&&y.toFront()}this.currentModel=l;var s=+new Date}},{key:\"centerCurrentModel\",value:function(i){var n=i.length>1?i[1]:i[0];this.currentModel=n;var l=(0,u.yjm)(this),o=l.graph.G6Graph;if(o){var c=o.findById(\"model-\"+n);c&&c.toFront(),Zr(c,o),l.graph.setZoom(o.getZoom())}}},{key:\"openModel\",value:function(i){var n=(0,u.yjm)(this),l=n.graph.G6Graph;if(l){var o=l.findById(\"model-\"+i);this.onModelDetail&&this.onModelDetail(o.getModel().data)}}},{key:\"onInit\",value:function(){this.toggleShowNameOrLabel=this.toggleShowNameOrLabel.bind(this)}},{key:\"setDagreLayout\",value:function(i){this.dagreLayout=i}}]),a}((0,u.Hnr)({search:(0,u.vgT)(\"\"),layouting:(0,u.vgT)(!1),isArrangeLayout:(0,u.vgT)(!1),expandedKeys:(0,u.vgT)(function(){return[]}),currentModel:(0,u.vgT)(\"\"),currentModule:(0,u.vgT)(\"\"),checkedKeys:(0,u.vgT)(function(){return[]}),showNameOrLabel:(0,u.vgT)(!1),tabOrTree:(0,u.vgT)(!1),snapshot:(0,u.vgT)(!0),height:(0,u.vgT)(\"100%\"),dagreLayout:(0,u.vgT)(!1),intl:(0,u.vgT)(\"CH\"),disableMiniMap:(0,u.vgT)(!1),onlyMode:(0,u.vgT)(!1)})),k(I.prototype,\"toggleArrangeLayout\",[u.ZBq],Object.getOwnPropertyDescriptor(I.prototype,\"toggleArrangeLayout\"),I.prototype),pt=k(I.prototype,\"setExpandedKeys\",[u.ZBq],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){var e=this;return function(a){e.expandedKeys=a}}}),ft=k(I.prototype,\"setCheckedKeys\",[u.ZBq],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){var e=this;return function(a){e.checkedKeys=a}}}),k(I.prototype,\"setDisableMiniMap\",[u.ZBq],Object.getOwnPropertyDescriptor(I.prototype,\"setDisableMiniMap\"),I.prototype),k(I.prototype,\"setCurrentModel\",[u.ZBq],Object.getOwnPropertyDescriptor(I.prototype,\"setCurrentModel\"),I.prototype),k(I.prototype,\"centerCurrentModel\",[u.ZBq],Object.getOwnPropertyDescriptor(I.prototype,\"centerCurrentModel\"),I.prototype),k(I.prototype,\"openModel\",[u.ZBq],Object.getOwnPropertyDescriptor(I.prototype,\"openModel\"),I.prototype),gt=k(I.prototype,\"toggleTabOrTree\",[u.ZBq],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){var e=this;return function(){e.tabOrTree=!e.tabOrTree}}}),bt=k(I.prototype,\"changeModuleValue\",[u.ZBq],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){var e=this;return function(a){e.currentModule=a}}}),ht=k(I.prototype,\"setSearch\",[u.ZBq],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){var e=this;return function(a){e.search=a}}}),vt=k(I.prototype,\"toggleShowNameOrLabel\",[u.ZBq],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){var e=this;return function(){e.showNameOrLabel=!e.showNameOrLabel}}}),k(I.prototype,\"setDagreLayout\",[u.ZBq],Object.getOwnPropertyDescriptor(I.prototype,\"setDagreLayout\"),I.prototype),I))||mt);function le(t){return le=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(e){return typeof e}:function(e){return e&&typeof Symbol==\"function\"&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},le(t)}var It,Pt,C;function qr(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function Dt(t,e){for(var a=0;a<e.length;a++){var r=e[a];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,St(r.key),r)}}function ea(t,e,a){return e&&Dt(t.prototype,e),a&&Dt(t,a),Object.defineProperty(t,\"prototype\",{writable:!1}),t}function ta(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Super expression must either be null or a function\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\"prototype\",{writable:!1}),e&&Le(t,e)}function Le(t,e){return Le=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Le(t,e)}function ra(t){var e=na();return function(){var r=Oe(t),i;if(e){var n=Oe(this).constructor;i=Reflect.construct(r,arguments,n)}else i=r.apply(this,arguments);return aa(this,i)}}function aa(t,e){if(e&&(le(e)===\"object\"||typeof e==\"function\"))return e;if(e!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return Ot(t)}function Ot(t){if(t===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return t}function na(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Oe(t){return Oe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},Oe(t)}function ia(t,e,a){return e=St(e),e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function St(t){var e=la(t,\"string\");return le(e)===\"symbol\"?e:String(e)}function la(t,e){if(le(t)!==\"object\"||t===null)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var r=a.call(t,e||\"default\");if(le(r)!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(e===\"string\"?String:Number)(t)}function fe(t,e,a,r,i){var n={};return Object.keys(r).forEach(function(l){n[l]=r[l]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,(\"value\"in n||n.initializer)&&(n.writable=!0),n=a.slice().reverse().reduce(function(l,o){return o(t,e,l)||l},n),i&&n.initializer!==void 0&&(n.value=n.initializer?n.initializer.call(i):void 0,n.initializer=void 0),n.initializer===void 0&&(Object.defineProperty(t,e,n),n=null),n}var Et=(It=(0,u.o4J)(\"webpdm/TGraph\"),It(Pt=(C=function(t){ta(a,t);var e=ra(a);function a(){var r;qr(this,a);for(var i=arguments.length,n=new Array(i),l=0;l<i;l++)n[l]=arguments[l];return r=e.call.apply(e,[this].concat(n)),ia(Ot(r),\"G6Graph\",void 0),r}return ea(a,[{key:\"setG6Graph\",value:function(i){this.G6Graph=i}},{key:\"setZoom\",value:function(i){this.zoom=i}},{key:\"minZoom\",value:function(i){var n=this.zoom;n>.2?this.zoom=n-.1:this.zoom=n-.02}},{key:\"maxZoom\",value:function(i){var n=this.zoom;n>.2?this.zoom=n+.1:this.zoom=n+.02}},{key:\"container\",value:function(i){i.fitView(0),this.zoom=i.getZoom()}},{key:\"downAsImage\",value:function(){var i=this.G6Graph;if(i){var n=this.G6Graph.getZoom();i.isExporting=!0,i.getNodes().filter(function(y){return!y.isSys}).forEach(function(y){y.getContainer().show(),i.updateItem(y,{isKeySharp:!1,isCardSharp:!1})});var l=i.get(\"width\"),o=i.get(\"height\"),c=i.getCanvasByPoint(l/2,o/2);i.zoomTo(.8),i.downloadFullImage(\"\\u6A21\\u578B\\u56FE\",void 0,{backgroundColor:\"rgb(245, 247, 255)\"}),i.isExporting=void 0,i.zoomTo(n),this.setZoom(n),i.getNodes().filter(function(y){return!y.isSys}).forEach(function(y){y.getContainer().show(),i.updateItem(y,{isKeySharp:n<.4,isCardSharp:!1})})}}},{key:\"actionEdges\",value:function(i){this.G6Graph&&this.G6Graph.getEdges().forEach(function(n){var l=n.getModel();l.target!==\"model-SYS-CENTER-POINT\"&&(n.setState(\"active\",!1),(l.source===\"model-\"+i||l.target===\"model-\"+i)&&(n.setState(\"active\",!0),n.toFront()))})}}]),a}((0,u.Hnr)({zoom:(0,u.vgT)(0)})),fe(C.prototype,\"setZoom\",[u.ZBq],Object.getOwnPropertyDescriptor(C.prototype,\"setZoom\"),C.prototype),fe(C.prototype,\"minZoom\",[u.ZBq],Object.getOwnPropertyDescriptor(C.prototype,\"minZoom\"),C.prototype),fe(C.prototype,\"maxZoom\",[u.ZBq],Object.getOwnPropertyDescriptor(C.prototype,\"maxZoom\"),C.prototype),fe(C.prototype,\"container\",[u.ZBq],Object.getOwnPropertyDescriptor(C.prototype,\"container\"),C.prototype),fe(C.prototype,\"downAsImage\",[u.ZBq],Object.getOwnPropertyDescriptor(C.prototype,\"downAsImage\"),C.prototype),C))||Pt),oa=b(16011),z=b.n(oa),Ue=function(e){var a=e.primaryColor,r={blue:a,white:\"#FFFFFF\",head:a,black:\"black\"},i={naviWidth:370,default:{node:{fill:\"#FFFFFF\",shadowColor:\"rgba(0,0,0,0.2)\",shadowBlur:10,shadowOffsetX:.5,shadowOffsetY:.5,radius:10,lineWidth:4,opacity:.9,stroke:\"rgba(0,0,0,0.01)\"},edge:{lineWidth:2,size:2,lineAppendWidth:4,endArrow:{path:z().Arrow.triangleRect(10,10,10,2,4)},startArrow:{path:z().Arrow.circle(3,3),d:6},radius:5,labelCfg:{autoRotate:!0,style:{fontSize:34}},stroke:a}},selected:{node:{stroke:\"rgba(11,108,149)\",shadowColor:\"rgba(11,108,149)\"}},isNoModule:{node:{opacity:.2}},fieldRelation:{node:{fill:\"#FFFFFF\",shadowColor:\"rgba(0,0,0,0.2)\",shadowBlur:10,shadowOffsetX:.5,shadowOffsetY:.5,radius:10,lineWidth:4,opacity:.9,stroke:\"rgba(0,0,0,0.01)\"},edge:{lineWidth:2,size:2,lineAppendWidth:4,endArrow:{path:z().Arrow.triangle(5,10,10),d:10},startArrow:{path:z().Arrow.circle(3,3),d:6},radius:5,labelCfg:{autoRotate:!0,style:{fontSize:34}},stroke:a}}};return{colors:r,style:i}};function ge(t){return ge=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(e){return typeof e}:function(e){return e&&typeof Symbol==\"function\"&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},ge(t)}function Ct(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),a.push.apply(a,r)}return a}function Mt(t){for(var e=1;e<arguments.length;e++){var a=arguments[e]!=null?arguments[e]:{};e%2?Ct(Object(a),!0).forEach(function(r){ya(t,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):Ct(Object(a)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(a,r))})}return t}function ya(t,e,a){return e=ca(e),e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function ca(t){var e=ua(t,\"string\");return ge(e)===\"symbol\"?e:String(e)}function ua(t,e){if(ge(t)!==\"object\"||t===null)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var r=a.call(t,e||\"default\");if(ge(r)!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(e===\"string\"?String:Number)(t)}function oe(t){return pa(t)||ma(t)||da(t)||sa()}function sa(){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 da(t,e){if(t){if(typeof t==\"string\")return Be(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);if(a===\"Object\"&&t.constructor&&(a=t.constructor.name),a===\"Map\"||a===\"Set\")return Array.from(t);if(a===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Be(t,e)}}function ma(t){if(typeof Symbol!=\"undefined\"&&t[Symbol.iterator]!=null||t[\"@@iterator\"]!=null)return Array.from(t)}function pa(t){if(Array.isArray(t))return Be(t)}function Be(t,e){(e==null||e>t.length)&&(e=t.length);for(var a=0,r=new Array(e);a<e;a++)r[a]=t[a];return r}var wt=function(e){return e>=20?e:20},fa=function(e){var a=+new Date,r=Ue({primaryColor:e.Ui.themeColor}),i=r.style,n=r.colors,l=oe(e.Models.values()).filter(function(o){return!e.sys.dagreLayout||e.sys.dagreLayout&&o.aggregateModelKey}).map(function(o){return{id:\"model-\"+o.id,type:\"console-model-Node\",isKeySharp:e.graph.zoom<=.4,visible:!!e.sys.checkedKeys.find(function(c){return c===o.id}),selected:o.id===e.sys.currentModel,showNameOrLabel:e.sys.showNameOrLabel,config:{width:300,headerHeight:48,fieldHeight:32,labelSize:14,styleConfig:i,colors:n},data:{moduleKey:o.moduleId,label:o.label,fields:o.fields.map(function(c){return Mt(Mt({},c),{},{relationModel:c.relationModel})}),key:o.id,name:o.name,tag:\"aggregate\",aggregateRoot:o.aggregateRoot,aggregateModelKey:o.aggregateModelKey,belongAggregate:o.belongAggregate,nodeSize:(48+wt(o.fields.length)*48)/6*6/6},themeColor:n.blue,darkness:e.Ui.darkness,size:(48+wt(o.fields.length)*48)/6*6}}).filter(function(o){return o.visible});return l.length>0?l.concat([ga()]):l},ga=function(){return{id:\"model-SYS-CENTER-POINT\",type:\"circle\",isSys:!0,visible:!0,isKeySharp:!0,size:10,style:{opacity:0}}},He={ToOne:\"1:1\",ToMany:\"1:n\",lookup:\"\\u67E5\\u627E\",toOne:\"1:1\",toMany:\"1:n\",Lookup:\"\\u67E5\\u627E\"},ba=function(e){var a=Ue({primaryColor:e.Ui.themeColor}),r=a.style,i=oe(e.Models.values()).reduce(function(n,l){if(!e.sys.checkedKeys.find(function(y){return y===l.id}))return n;var o={key:\"model-\"+l.id+\"~model-SYS-CENTER-POINT\",source:\"model-\"+l.id,isSys:!0,target:\"model-SYS-CENTER-POINT\",type:\"console-line\",style:{opacity:0}},c=l.fields.reduce(function(y,s,f){var g=y;if(Array.isArray(s.typeMeta))var _=s.typeMeta.forEach(function(O){var Z=O.type===\"Relation\"&&(O==null?void 0:O.relationModel);if(Z){if(e.sys.onIgnoreEdge&&e.sys.onIgnoreEdge(s))return y;var E=e.findModelByName(O.relationModel);if(!E||!e.sys.checkedKeys.find(function(W){return W===E.id}))return y;var ee=!0,v=l.fields.length,m=ee?2+f+v:f+2,P=oe(e.Models.values()).find(function(W){return W.id===E.id}),$=(P==null?void 0:P.fields.findIndex(function(W){return W.name===O.field}))+2,te={key:\"model-\"+l.id+\"~model-\"+E.id,source:\"model-\"+l.id,target:\"model-\"+E.id,sourceAnchor:m,targetAnchor:$,fieldIndex:f,tooltip:\"<div>\\u4ECE <span class='text'>\".concat(E==null?void 0:E.label,\"</span> \\u5230 <span class='text'>\").concat(l==null?void 0:l.label,\"=> \").concat(O.field,\"</span> \").concat(He[s.type]||s.type,\" \\u5173\\u7CFB</div>\"),fieldsLength:v,style:r.fieldRelation.edge,type:\"console-line\",labelAutoRotate:!0,loopCfg:{clockwise:!0,dist:100}};return g.push(te),g}else return g});else{var K,p=s.typeMeta&&s.typeMeta.type===\"Relation\"&&((K=s.typeMeta)===null||K===void 0?void 0:K.relationModel);if(p){if(e.sys.onIgnoreEdge&&e.sys.onIgnoreEdge(s))return y;var h=e.findModelByName(s.typeMeta.relationModel);if(!h||!e.sys.checkedKeys.find(function(O){return O===h.id}))return y;var S=!0,R=l.fields.length,F=S?2+f+R:f+2;return[].concat(oe(y),[{key:\"model-\"+l.id+\"~model-\"+h.id,source:\"model-\"+l.id,target:\"model-\"+h.id,sourceAnchor:F,targetAnchor:l.id===h.id?F-1:void 0,fieldIndex:f,tooltip:\"<div>\\u4ECE <span class='text'>\".concat(h==null?void 0:h.label,\"</span> \\u5230 <span class='text'>\").concat(l==null?void 0:l.label,\"</span> \").concat(He[s.type]||s.type,\" \\u5173\\u7CFB</div>\"),fieldsLength:R,style:r.default.edge,type:\"console-line\",label:He[s.type]||s.type,labelAutoRotate:!0,loopCfg:{clockwise:!0,dist:100},labelCfg:{style:{stroke:\"#fff\",lineWidth:30}}}])}}return y},[]);return[].concat(oe(n),oe(c),[o])},[]);return i.filter(function(n){return!!n})};function ye(t){return ye=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(e){return typeof e}:function(e){return e&&typeof Symbol==\"function\"&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},ye(t)}var Rt,At,U;function Nt(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),a.push.apply(a,r)}return a}function Ft(t){for(var e=1;e<arguments.length;e++){var a=arguments[e]!=null?arguments[e]:{};e%2?Nt(Object(a),!0).forEach(function(r){x(t,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):Nt(Object(a)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(a,r))})}return t}function ha(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function kt(t,e){for(var a=0;a<e.length;a++){var r=e[a];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,jt(r.key),r)}}function va(t,e,a){return e&&kt(t.prototype,e),a&&kt(t,a),Object.defineProperty(t,\"prototype\",{writable:!1}),t}function Ta(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Super expression must either be null or a function\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\"prototype\",{writable:!1}),e&&ze(t,e)}function ze(t,e){return ze=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},ze(t,e)}function _a(t){var e=Ia();return function(){var r=Se(t),i;if(e){var n=Se(this).constructor;i=Reflect.construct(r,arguments,n)}else i=r.apply(this,arguments);return Ka(this,i)}}function Ka(t,e){if(e&&(ye(e)===\"object\"||typeof e==\"function\"))return e;if(e!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return j(t)}function j(t){if(t===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return t}function Ia(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},Se(t)}function x(t,e,a){return e=jt(e),e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function jt(t){var e=Pa(t,\"string\");return ye(e)===\"symbol\"?e:String(e)}function Pa(t,e){if(ye(t)!==\"object\"||t===null)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var r=a.call(t,e||\"default\");if(ye(r)!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(e===\"string\"?String:Number)(t)}function Ze(t,e,a,r,i){var n={};return Object.keys(r).forEach(function(l){n[l]=r[l]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,(\"value\"in n||n.initializer)&&(n.writable=!0),n=a.slice().reverse().reduce(function(l,o){return o(t,e,l)||l},n),i&&n.initializer!==void 0&&(n.value=n.initializer?n.initializer.call(i):void 0,n.initializer=void 0),n.initializer===void 0&&(Object.defineProperty(t,e,n),n=null),n}var xt=(Rt=(0,u.o4J)(\"webpdm/TUi\"),Rt(At=(U=function(t){Ta(a,t);var e=_a(a);function a(){var r;ha(this,a);for(var i=arguments.length,n=new Array(i),l=0;l<i;l++)n[l]=arguments[l];return r=e.call.apply(e,[this].concat(n)),x(j(r),\"Tree\",void 0),x(j(r),\"Input\",void 0),x(j(r),\"Button\",void 0),x(j(r),\"Dropdown\",void 0),x(j(r),\"Menu\",void 0),x(j(r),\"Select\",void 0),x(j(r),\"Tooltip\",void 0),x(j(r),\"Popover\",void 0),x(j(r),\"IconRenders\",{}),x(j(r),\"isToogle\",!1),x(j(r),\"disableIcons\",[]),r}return va(a,[{key:\"registComponents\",value:function(i,n,l){var o=this;i&&Object.keys(i).forEach(function(c){o[c]=i[c]}),n&&(this.IconRenders=Ft(Ft({},this.IconRenders),n)),l&&(this.disableIcons=l)}},{key:\"toggle\",value:function(i){this.registComponents(this.isToogle?void 0:i),this.update=+new Date,this.isToogle=!this.isToogle}},{key:\"setThemeColor\",value:function(i){this.themeColor=i}},{key:\"setDarkness\",value:function(i){this.darkness=i}}]),a}((0,u.Hnr)({update:(0,u.vgT)(+new Date),themeColor:(0,u.vgT)(\"black\"),selectedColor:(0,u.vgT)(\"rgba(11,108,149)\"),darkness:(0,u.vgT)(!0)})),Ze(U.prototype,\"toggle\",[u.ZBq],Object.getOwnPropertyDescriptor(U.prototype,\"toggle\"),U.prototype),Ze(U.prototype,\"setThemeColor\",[u.ZBq],Object.getOwnPropertyDescriptor(U.prototype,\"setThemeColor\"),U.prototype),Ze(U.prototype,\"setDarkness\",[u.ZBq],Object.getOwnPropertyDescriptor(U.prototype,\"setDarkness\"),U.prototype),U))||At),Da={EN:{\\u5B9A\\u4F4D\\u6A21\\u578B:\"location model\",\\u67E5\\u770B:\"detail\",\\u6240\\u6709:\"all\",\\u9009\\u62E9\\u6240\\u6709:\"select all\",\\u6E05\\u9664\\u6240\\u6709:\"clear all\",\\u663E\\u793A:\"display\",\\u540D\\u79F0:\"name\",\\u6807\\u7B7E:\"label\",\\u5206\\u7C7B:\"category\",\\u6A21\\u5F0F:\"model\",\\u64A4\\u9500:\"undo\",\\u91CD\\u505A:\"redo\",\\u653E\\u5927:\"max\",\\u7F29\\u5C0F:\"min\",\\u5168\\u666F:\"full screen\",\\u5237\\u65B0\\u6570\\u636E:\"refresh data\",\\u4E0B\\u8F7D\\u56FE\\u7247:\"download image\",\\u5207\\u6362\\u5C42\\u6B21\\u5E03\\u5C40:\"togglr dagre layout\",\\u5207\\u6362\\u5173\\u8054\\u5E03\\u5C40:\"toggle relation layout\",\\u5207\\u6362\\u5E95\\u8272:\"toggle color\",\\u70B9\\u51FB:\"clock\",\\u5173\\u95ED:\"close\",\\u6253\\u5F00:\"open\",\\u989C\\u8272\\u9762\\u677F:\"color panel\"}};function ce(t){return ce=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(e){return typeof e}:function(e){return e&&typeof Symbol==\"function\"&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},ce(t)}var Lt,Ut,T,Bt;function Oa(t,e,a,r){a&&Object.defineProperty(t,e,{enumerable:a.enumerable,configurable:a.configurable,writable:a.writable,value:a.initializer?a.initializer.call(r):void 0})}function Sa(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function Ht(t,e){for(var a=0;a<e.length;a++){var r=e[a];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,Zt(r.key),r)}}function Ea(t,e,a){return e&&Ht(t.prototype,e),a&&Ht(t,a),Object.defineProperty(t,\"prototype\",{writable:!1}),t}function Ca(t,e){if(typeof e!=\"function\"&&e!==null)throw new TypeError(\"Super expression must either be null or a function\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\"prototype\",{writable:!1}),e&&We(t,e)}function We(t,e){return We=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},We(t,e)}function Ma(t){var e=Ra();return function(){var r=Ee(t),i;if(e){var n=Ee(this).constructor;i=Reflect.construct(r,arguments,n)}else i=r.apply(this,arguments);return wa(this,i)}}function wa(t,e){if(e&&(ce(e)===\"object\"||typeof e==\"function\"))return e;if(e!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return Y(t)}function Y(t){if(t===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return t}function Ra(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Ee(t){return Ee=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},Ee(t)}function Bi(t,e){throw new Error(\"Decorating class property failed. Please ensure that proposal-class-properties is enabled and runs after the decorators transform.\")}function N(t,e,a,r,i){var n={};return Object.keys(r).forEach(function(l){n[l]=r[l]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,(\"value\"in n||n.initializer)&&(n.writable=!0),n=a.slice().reverse().reduce(function(l,o){return o(t,e,l)||l},n),i&&n.initializer!==void 0&&(n.value=n.initializer?n.initializer.call(i):void 0,n.initializer=void 0),n.initializer===void 0&&(Object.defineProperty(t,e,n),n=null),n}function zt(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),a.push.apply(a,r)}return a}function Ce(t){for(var e=1;e<arguments.length;e++){var a=arguments[e]!=null?arguments[e]:{};e%2?zt(Object(a),!0).forEach(function(r){be(t,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):zt(Object(a)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(a,r))})}return t}function be(t,e,a){return e=Zt(e),e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function Zt(t){var e=Aa(t,\"string\");return ce(e)===\"symbol\"?e:String(e)}function Aa(t,e){if(ce(t)!==\"object\"||t===null)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var r=a.call(t,e||\"default\");if(ce(r)!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(e===\"string\"?String:Number)(t)}function B(t){return ja(t)||ka(t)||Fa(t)||Na()}function Na(){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 Fa(t,e){if(t){if(typeof t==\"string\")return Ge(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);if(a===\"Object\"&&t.constructor&&(a=t.constructor.name),a===\"Map\"||a===\"Set\")return Array.from(t);if(a===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Ge(t,e)}}function ka(t){if(typeof Symbol!=\"undefined\"&&t[Symbol.iterator]!=null||t[\"@@iterator\"]!=null)return Array.from(t)}function ja(t){if(Array.isArray(t))return Ge(t)}function Ge(t,e){(e==null||e>t.length)&&(e=t.length);for(var a=0,r=new Array(e);a<e;a++)r[a]=t[a];return r}var Wt=function t(e,a){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],i=e.find(function(c){return c.name===a}),n=i?[].concat(B(r),[a]):r,l=i.aggregateModelKey&&i.aggregateModelKey!==a,o=l?t(e,i.aggregateModelKey,n):n;return o},Hi=function(e,a){var r=a.model,i=Wt(e.models,r,[]),n=e.models.filter(function(l){return l.key===r||i.indexOf(l.aggregateModelKey)>=0}).map(function(l){return\"model-\"+l.key});return Ce(Ce({},e),{},{checkedKeys:n,currentModel:r,isArrangeLayout:!0})};function xa(){return((1+Math.random())*65536|0).toString(16).substring(1)}function Qe(){return xa()}function Gt(){return(0,u.vgT)(function(){return(0,u.xhb)()})}var La=(Lt=(0,u.o4J)(\"webpdm/RootStore\"),Lt(Ut=(T=function(t){Ca(a,t);var e=Ma(a);function a(){var r;Sa(this,a);for(var i=arguments.length,n=new Array(i),l=0;l<i;l++)n[l]=arguments[l];return r=e.call.apply(e,[this].concat(n)),be(Y(r),\"undoManager\",void 0),be(Y(r),\"Fields\",new Map),be(Y(r),\"onReload\",void 0),be(Y(r),\"onIntl\",void 0),Oa(Y(r),\"setCheckedKeys\",Bt,Y(r)),r}return Ea(a,[{key:\"setOnReload\",value:function(i){this.onReload=i}},{key:\"intl\",value:function(i){var n=this.onIntl&&this.onIntl(i);if(n)return n;var l=Da[this.sys.intl];return l&&l[i]||i}},{key:\"setUndoManager\",value:function(i){this.undoManager=i}},{key:\"setFields\",value:function(i){this.Fields=i}},{key:\"moduleList\",get:function(){return B(this.Modules.values())}},{key:\"Nodes\",get:function(){var i=fa(this);return i}},{key:\"edges\",get:function(){return ba(this)}},{key:\"arrangeShow\",value:function(i){var n=B(this.Models.values()),l=Wt(n,i,[]),o=n.filter(function(c){return c.name===i||l.indexOf(c.aggregateModelKey)>=0}).map(function(c){return c.id});this.sys.setCheckedKeys(o)}},{key:\"findModelByName\",value:function(i){return B(this.Models.values()).find(function(n){return n.name===i})}},{key:\"renderModelTitle\",value:function(i){return Ke(i.label,this.sys.search,this.sys.showNameOrLabel,i.name)}},{key:\"initData\",value:function(i,n,l){var o=this,c=+new Date,y={};n.forEach(function(p){var h=Qe().toString();o.Modules.set(h,new zr({id:h,label:p.label,name:p.name})),y[p.name]=h,o.sys.expandedKeys.push(h)});var s=+new Date,f=[],g={};i.forEach(function(p){var h=Qe().toString();o.Models.set(h,new Sr({id:h,belongAggregate:p.belongAggregate,aggregateModelKey:p.aggregateModelKey,aggregateRoot:p.aggregateRoot,label:p.label,name:p.name,moduleId:y[p.module]||\"\"})),g[p.name]=h,f.push(h)}),i.forEach(function(p){p.fields.forEach(function(h){var S,R=Qe().toString(),F=h==null||(S=h.typeMeta)===null||S===void 0?void 0:S.relationModel,O=F?o.Models.get(g[F]):void 0;o.Fields.set(R,{id:R,label:h.label,name:h.name,type:h.type||\"string\",modelId:g[p.name],typeMeta:h.typeMeta,relationModel:O&&(0,u.vMv)(O)}),O&&console.log(O.name)})});var _=+new Date;this.sys.setCheckedKeys(f),l!=null&&l.height&&(this.sys.height=l.height);var K=+new Date}},{key:\"reload\",value:function(){if(this.onReload){var i=this.onReload();i&&(this.Models.clear(),this.Modules.clear(),this.Fields.clear(),this.initData(i.models,i.modules))}}},{key:\"undo\",value:function(){this.undoManager.undo()}},{key:\"redo\",value:function(){this.undoManager.redo()}},{key:\"checkAllFun\",value:function(){var i,n,l=this.sys.currentModule,o=l?(i=this.Modules.get(l))===null||i===void 0||(n=i.models)===null||n===void 0?void 0:n.map(function(c){return c.id}):B(this.Models.values()).map(function(c){return c.id});this.sys.checkedKeys=(0,M.union)(this.sys.checkedKeys,o)}},{key:\"checkAllCancleFun\",value:function(){var i,n,l=this.sys.currentModule;l||(this.sys.checkedKeys=[]);var o=(i=this.Modules.get(l))===null||i===void 0||(n=i.models)===null||n===void 0?void 0:n.map(function(c){return c.id});this.sys.checkedKeys=B(M.without.apply(void 0,[B(this.sys.checkedKeys)].concat(B(o||[]))))}},{key:\"onInit\",value:function(){this.intl=this.intl.bind(this)}}]),a}((0,u.Hnr)({sys:(0,u.vgT)(),Models:Gt(),Modules:Gt(),graph:(0,u.vgT)(function(){return new Et({})}),Ui:(0,u.vgT)(function(){return new xt({})})})),N(T.prototype,\"moduleList\",[Q.computed],Object.getOwnPropertyDescriptor(T.prototype,\"moduleList\"),T.prototype),N(T.prototype,\"Nodes\",[Q.computed],Object.getOwnPropertyDescriptor(T.prototype,\"Nodes\"),T.prototype),N(T.prototype,\"edges\",[Q.computed],Object.getOwnPropertyDescriptor(T.prototype,\"edges\"),T.prototype),N(T.prototype,\"arrangeShow\",[u.ZBq],Object.getOwnPropertyDescriptor(T.prototype,\"arrangeShow\"),T.prototype),N(T.prototype,\"findModelByName\",[u.ZBq],Object.getOwnPropertyDescriptor(T.prototype,\"findModelByName\"),T.prototype),N(T.prototype,\"renderModelTitle\",[u.ZBq],Object.getOwnPropertyDescriptor(T.prototype,\"renderModelTitle\"),T.prototype),N(T.prototype,\"initData\",[u.ZBq],Object.getOwnPropertyDescriptor(T.prototype,\"initData\"),T.prototype),N(T.prototype,\"reload\",[u.ZBq],Object.getOwnPropertyDescriptor(T.prototype,\"reload\"),T.prototype),N(T.prototype,\"undo\",[u.ZBq],Object.getOwnPropertyDescriptor(T.prototype,\"undo\"),T.prototype),N(T.prototype,\"redo\",[u.ZBq],Object.getOwnPropertyDescriptor(T.prototype,\"redo\"),T.prototype),N(T.prototype,\"checkAllFun\",[u.ZBq],Object.getOwnPropertyDescriptor(T.prototype,\"checkAllFun\"),T.prototype),N(T.prototype,\"checkAllCancleFun\",[u.ZBq],Object.getOwnPropertyDescriptor(T.prototype,\"checkAllCancleFun\"),T.prototype),Bt=N(T.prototype,\"setCheckedKeys\",[u.ZBq],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){var e=this;return function(a){if(!e.sys.tabOrTree)e.sys.checkedKeys=a;else{var r=B(e.Models.values()).filter(function(n){return!e.sys.currentModule||n.moduleId===e.sys.currentModule}).map(function(n){return n.id}),i=M.without.apply(void 0,[r].concat(B(a)));e.sys.checkedKeys=(0,M.union)(M.without.apply(void 0,[e.sys.checkedKeys].concat(B(i))),a)}}}}),T))||Ut),Ua=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{sys:{},graph:{},components:{},Ui:{},IconRenders:void 0,disableIcons:[]},a=new xt(e.Ui);return a.registComponents(e.components,e.IconRenders,e.disableIcons),new La({$modelId:\"webpdm\",sys:new Xr(Ce({isArrangeLayout:!1,layouting:!0,search:\"\"},e.sys)),Ui:a,graph:new Et(Ce({},e.graph))})};function he(t){return he=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(e){return typeof e}:function(e){return e&&typeof Symbol==\"function\"&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},he(t)}function Qt(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),a.push.apply(a,r)}return a}function Me(t){for(var e=1;e<arguments.length;e++){var a=arguments[e]!=null?arguments[e]:{};e%2?Qt(Object(a),!0).forEach(function(r){Ba(t,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):Qt(Object(a)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(a,r))})}return t}function Ba(t,e,a){return e=Ha(e),e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function Ha(t){var e=za(t,\"string\");return he(e)===\"symbol\"?e:String(e)}function za(t,e){if(he(t)!==\"object\"||t===null)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var r=a.call(t,e||\"default\");if(he(r)!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(e===\"string\"?String:Number)(t)}var Vt=(0,d.createContext)(null),Za=Vt.Provider;function X(){var t=(0,d.useContext)(Vt);if(t===null)throw new Error(\"Store cannot be null, please add a context provider\");return t}var Wa=function(e){var a,r,i=e==null||(a=e.sys)===null||a===void 0?void 0:a.onIgnoreEdge,n=Me(Me({},e),{},{sys:Me(Me({},e.sys),{},{onIgnoreEdge:void 0,onModelDetail:e.onModelDetail})}),l=Ua(n);return l.setOnReload(e.onReload),l.onIntl=e.onIntl,l.sys.setOnModelDetail(e==null||(r=e.sys)===null||r===void 0?void 0:r.onModelDetail),i&&(l.sys.onIgnoreEdge=i),l.setUndoManager((0,u.GXc)(l)),l},we=b(15751),Ga=b(84875),$t=b.n(Ga),zi=b(90795);function Qa(t){return Ya(t)||Ja(t)||$a(t)||Va()}function Va(){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 $a(t,e){if(t){if(typeof t==\"string\")return Ve(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);if(a===\"Object\"&&t.constructor&&(a=t.constructor.name),a===\"Map\"||a===\"Set\")return Array.from(t);if(a===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Ve(t,e)}}function Ja(t){if(typeof Symbol!=\"undefined\"&&t[Symbol.iterator]!=null||t[\"@@iterator\"]!=null)return Array.from(t)}function Ya(t){if(Array.isArray(t))return Ve(t)}function Ve(t,e){(e==null||e>t.length)&&(e=t.length);for(var a=0,r=new Array(e);a<e;a++)r[a]=t[a];return r}function $e(t){return $e=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(e){return typeof e}:function(e){return e&&typeof Symbol==\"function\"&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},$e(t)}var Xa=function(e){var a=e.setup,r=e.displayName;return a.displayName=r,a},Zi=function(e){var a=e.setup,r=e.displayName;return observer(Xa({setup:a,displayName:r}))},Je=function(e){var a=e.useLocal,r=e.useSetup,i=e.render,n=e.displayName,l=(0,we.Pi)(i),o=l;return o.displayName=n,o},qa=function(e,a,r){var i=a||null,n=r||2;return JSON.stringify(e,i,n)},en=function(){var e=[],a=[];return function(r,i){if($e(i)===\"object\"&&i!==null){if(isValidElement(i))return reactString(i);var n=e.indexOf(i);if(n!==-1)return\"[Circular \".concat(a[n],\"]\");e.push(i),a.push(r||\"root\")}return i}},Wi=function(e,a,r){var i=a||en(),n=JSON.stringify(e,i,r),l=JSON.parse(n);return React.createElement(\"pre\",null,React.createElement(\"code\",null,qa(l)))};function Gi(t){return Qa(t.values())}var Qi=function(e){return e},tn=function(e){var a=parseFloat(e);if(isNaN(a))return 0;a=Math.round(e*100)/100;var r=a.toString(),i=r.indexOf(\".\");for(i<0&&(i=r.length,r+=\".\");r.length<=i+2;)r+=\"0\";return r>=100?100:r},rn=b(1409),an=b(56461);function Jt(t,e){return on(t)||ln(t,e)||Yt(t,e)||nn()}function nn(){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 ln(t,e){var a=t==null?null:typeof Symbol!=\"undefined\"&&t[Symbol.iterator]||t[\"@@iterator\"];if(a!=null){var r,i,n,l,o=[],c=!0,y=!1;try{if(n=(a=a.call(t)).next,e===0){if(Object(a)!==a)return;c=!1}else for(;!(c=(r=n.call(a)).done)&&(o.push(r.value),o.length!==e);c=!0);}catch(s){y=!0,i=s}finally{try{if(!c&&a.return!=null&&(l=a.return(),Object(l)!==l))return}finally{if(y)throw i}}return o}}function on(t){if(Array.isArray(t))return t}function ue(t){return un(t)||cn(t)||Yt(t)||yn()}function yn(){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 Yt(t,e){if(t){if(typeof t==\"string\")return Ye(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);if(a===\"Object\"&&t.constructor&&(a=t.constructor.name),a===\"Map\"||a===\"Set\")return Array.from(t);if(a===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Ye(t,e)}}function cn(t){if(typeof Symbol!=\"undefined\"&&t[Symbol.iterator]!=null||t[\"@@iterator\"]!=null)return Array.from(t)}function un(t){if(Array.isArray(t))return Ye(t)}function Ye(t,e){(e==null||e>t.length)&&(e=t.length);for(var a=0,r=new Array(e);a<e;a++)r[a]=t[a];return r}console.log(\"hezk test =======\");var Xt=function(e,a,r){return d.createElement(r,{data:{title:a.renderModelTitle(e),options:[{title:d.createElement(\"span\",null,\" \",a.intl(\"\\u5B9A\\u4F4D\\u6A21\\u578B\")),key:1,click:function(n){a.sys.centerCurrentModel([e.id]),n.stopPropagation()}},{key:2,title:d.createElement(\"span\",null,\" \",a.intl(\"\\u67E5\\u770B\")),click:function(n){a.sys.openModel(e.id),n.stopPropagation()}}]}})},sn=Je({render:function(e){var a=X(),r=a.intl,i=a.Ui,n=i.Input,l=i.Button,o=i.Dropdown,c=i.Menu,y=i.Select,s=i.Tree,f=s,g=f.TreeNode,_=f.OptionBuilder,K=(0,d.useMemo)(function(){return a.sys.tabOrTree?ue(a.Models.values()).filter(function(m){return(!a.sys.currentModule||m.moduleId===a.sys.currentModule)&&m.filterModel()}).map(function(m){return d.createElement(g,{key:m.id,title:Xt(m,a,_)})}):a.moduleList.map(function(m){return d.createElement(g,{title:a.sys.showNameOrLabel?m.name:m.label,key:m.id},ue(m.models.values()).filter(function(P){return P.filterModel()}).map(function(P){return d.createElement(g,{key:P.id,title:Xt(P,a,_)})}))})},[a.sys.tabOrTree,a.moduleList,a.sys.showNameOrLabel,a.sys.currentModule,a.sys.search]);(0,d.useEffect)(function(){},[a.Ui.update]);var p=dn(),h=p.search,S=p.onExpand,R=p.checkAllFun,F=p.checkAllCancleFun,O=p.toggleShowNameOrLabel,Z=p.toggleTabOrTree,E=p.Sys,ee=p.changeModuleValue,v=p.setSearch;return d.createElement(\"div\",{className:\"console-models-tree\",style:{height:a.sys.height}},d.createElement(\"div\",{className:\"header\"},d.createElement(\"div\",{className:\"console-erd-search\"},d.createElement(n,{allowClear:!0,value:h,size:\"small\",onChange:function(P){return v(P.target.value)},addonAfter:E.tabOrTree&&d.createElement(y,{size:\"small\",defaultValue:E.currentModule,value:E.currentModule,className:\"select-after\",onChange:ee},[d.createElement(y.Option,{value:\"\"},r(\"\\u6240\\u6709\"))].concat(ue(ue(a.Modules.values()).map(function(m){return d.createElement(y.Option,{value:m.id,key:m.id},m.label)}))))})),d.createElement(\"div\",{className:\"console-erd-search btns\"},a.sys.tabOrTree&&d.createElement(l,{size:\"small\",type:\"text\",onClick:R},r(\"\\u9009\\u62E9\\u6240\\u6709\")),a.sys.tabOrTree&&d.createElement(l,{size:\"small\",type:\"text\",onClick:F},r(\"\\u6E05\\u9664\\u6240\\u6709\")),d.createElement(l,{size:\"small\",type:\"text\",onClick:O},r(\"\\u663E\\u793A\"),a.sys.showNameOrLabel?r(\"\\u6807\\u7B7E\"):r(\"\\u540D\\u79F0\")),!E.onlyMode&&d.createElement(o,{className:\"right\",overlay:d.createElement(c,null,d.createElement(c.Item,{key:\"1\",onClick:Z},E.tabOrTree?r(\"\\u6811\\u5F62\"):r(\"\\u5206\\u7C7B\"),\" \",r(\"\\u6A21\\u5F0F\")))},d.createElement(\"span\",null,d.createElement(rn.Z,null))))),d.createElement(\"div\",{className:\"navitree-warp\"},d.createElement(an.ZP,{autoHide:!0,autoHeight:!0,autoHideTimeout:1e3,autoHideDuration:200,autoHeightMin:\"100%\",autoHeightMax:\"100%\"},d.createElement(s,{showIcon:!1,className:\"console-models-tree-tree\",onSelect:a.sys.setCurrentModel.bind(a.sys),selectedKeys:[a.sys.currentModel],checkedKeys:ue(a.sys.checkedKeys),onCheck:a.setCheckedKeys.bind(a),checkable:!0,onExpand:S,multiple:!0,expandedKeys:ue(a.sys.expandedKeys)},K))))},displayName:\"navi\"}),dn=function(){var e=X(),a=(0,d.useState)(e.sys.search),r=Jt(a,2),i=r[0],n=r[1],l=(0,d.useState)(!1),o=Jt(l,2),c=o[0],y=o[1],s=(0,d.useCallback)(function(f){y(!0),n(f),(0,M.debounce)(function(){e.sys.setSearch(f),y(!1)},500)()},[e.sys.setSearch,n]);return{search:i,get modules(){return e.moduleList},onExpand:function(g){e.sys.setExpandedKeys(g)},get expandedKeys(){return e.sys.expandedKeys},checkAllFun:function(){return e.checkAllFun()},checkAllCancleFun:function(){return e.checkAllCancleFun()},toggleShowNameOrLabel:e.sys.toggleShowNameOrLabel,toggleTabOrTree:e.sys.toggleTabOrTree.bind(e.sys),get Sys(){return e.sys},changeModuleValue:e.sys.changeModuleValue.bind(e.sys),setSearch:s}},mn=b(39671),Re={ToOne:\"1:1\",ToMany:\"1:n\"};function pn(t,e){return hn(t)||bn(t,e)||gn(t,e)||fn()}function fn(){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 gn(t,e){if(t){if(typeof t==\"string\")return qt(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);if(a===\"Object\"&&t.constructor&&(a=t.constructor.name),a===\"Map\"||a===\"Set\")return Array.from(t);if(a===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return qt(t,e)}}function qt(t,e){(e==null||e>t.length)&&(e=t.length);for(var a=0,r=new Array(e);a<e;a++)r[a]=t[a];return r}function bn(t,e){var a=t==null?null:typeof Symbol!=\"undefined\"&&t[Symbol.iterator]||t[\"@@iterator\"];if(a!=null){var r,i,n,l,o=[],c=!0,y=!1;try{if(n=(a=a.call(t)).next,e===0){if(Object(a)!==a)return;c=!1}else for(;!(c=(r=n.call(a)).done)&&(o.push(r.value),o.length!==e);c=!0);}catch(s){y=!0,i=s}finally{try{if(!c&&a.return!=null&&(l=a.return(),Object(l)!==l))return}finally{if(y)throw i}}return o}}function hn(t){if(Array.isArray(t))return t}var q=function(e,a,r){r.config.styleConfig[e]&&Object.entries(r.config.styleConfig[e].node).forEach(function(i){var n=pn(i,2),l=n[0],o=n[1];a.attr(l,o)})},vn=function(e){for(var a=0;a<e.length;a++){var r=e.charCodeAt(a);if(r<0||r>128)return!1}return!0},Vi=function(e){if(vn(e))return Tn(e);var a=/.{5}/g,r=e.match(a)||[e];return r.push(e.substring(r.join(\"\").length)),r},Tn=function(e){var a=new RegExp(\"(?<!^)([A-Z]\",\"g\"),r=e.replace(a,\"-$1\");return r.split(\"-\")},$i=function(e){for(var a=0,r=e.length,i=-1,n=0;n<r;n++)i=e.charCodeAt(n),i>=0&&i<=128?a+=1:a+=2;return a},_n=function(e){for(var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=[],i=0;i<e;i++)r.push([(i+1)/e,a]);return r},Kn=function(e){for(var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,r=[],i=0;i<=e;i++)r.push([i/e,a]);return r},In=function(e){for(var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=[],i=0;i<e;i++)r.push([a,(i+1)/e]);return r},Pn=function(e){for(var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,r=[],i=0;i<=e;i++)r.push([a,i/e]);return r},A=function(e){return e>=8?e:8};function ve(t){return ve=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(e){return typeof e}:function(e){return e&&typeof Symbol==\"function\"&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},ve(t)}function er(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),a.push.apply(a,r)}return a}function tr(t){for(var e=1;e<arguments.length;e++){var a=arguments[e]!=null?arguments[e]:{};e%2?er(Object(a),!0).forEach(function(r){Dn(t,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):er(Object(a)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(a,r))})}return t}function Dn(t,e,a){return e=On(e),e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function On(t){var e=Sn(t,\"string\");return ve(e)===\"symbol\"?e:String(e)}function Sn(t,e){if(ve(t)!==\"object\"||t===null)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var r=a.call(t,e||\"default\");if(ve(r)!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(e===\"string\"?String:Number)(t)}function se(t){return wn(t)||Mn(t)||Cn(t)||En()}function En(){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 Cn(t,e){if(t){if(typeof t==\"string\")return Xe(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);if(a===\"Object\"&&t.constructor&&(a=t.constructor.name),a===\"Map\"||a===\"Set\")return Array.from(t);if(a===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Xe(t,e)}}function Mn(t){if(typeof Symbol!=\"undefined\"&&t[Symbol.iterator]!=null||t[\"@@iterator\"]!=null)return Array.from(t)}function wn(t){if(Array.isArray(t))return Xe(t)}function Xe(t,e){(e==null||e>t.length)&&(e=t.length);for(var a=0,r=new Array(e);a<e;a++)r[a]=t[a];return r}var Rn=function(e){z().registerNode(\"console-model-Node\",{getAnchorPoints:function(r){var i=r.config,n=r.data,l=n.fields,o=i.headerHeight+A(l.length)*i.fieldHeight;return[[0,i.headerHeight/2/o],[1,i.headerHeight/2/o]].concat(se(l.map(function(c,y){var s=0,f=i.headerHeight+i.fieldHeight*(y+1)-i.fieldHeight/2,g=f/o;return[s,g]})),se(l.map(function(c,y){var s=1,f=i.headerHeight+i.fieldHeight*(y+1)-i.fieldHeight/2,g=f/o;return[s,g]})),se(_n(50)),se(Kn(50)),se(In(100)),se(Pn(100)))},update:function(r,i){var n=\"rgba(7,10,26,0.06)\",l=r.isKeySharp,o=r.active,c=r.selected,y=r.into,s=r.inactive,f=r.isCardSharp,g=r.out,_=r.isNoModule,K=r.showNameOrLabel,p=r.config,h=r.themeColor,S=r.darkness,R=p.colors,F=i.getContainer(),O=F.get(\"children\"),Z=S?h:n,E=S?R.white:h,ee=S?R.white:h;O.forEach(function(v){var m=v.attr(\"id\");switch(m){case\"keySharp\":q(\"default\",v,r),s&&q(\"inactive\",v,r),o&&q(\"active\",v,r),y&&q(\"into\",v,r),g&&q(\"out\",v,r),f?(q(\"cardSharp\",v,r),v.attr(\"old_fill\")||v.attr(\"old_fill\",v.attr(\"fill\"))):v.attr(\"old_fill\")&&v.attr(\"fill\",v.attr(\"old_fill\")),(r.data.aggregateModelKey||r.data.aggregateRoot)&&(v.attr(\"stroke\",h),v.attr(\"shadowColor\",h)),c&&q(\"selected\",v,r);break;case\"headerlabel1.1\":case\"headerlabel1.2\":v.set(\"visible\",!r.isKeySharp&&o&&!r.isCardSharp);break;case\"headerlabel0\":case\"headerlabel1\":var P=v.attr(\"fieldLable\");P&&v.attr(\"text\",K?P:v.attr(\"nameLable\")),v.set(\"visible\",!r.isKeySharp&&!r.isCardSharp),v.attr(\"fill\",c&&!S?r.config.styleConfig.selected.node.stroke:E);break;case\"header\":v.attr(\"fill\",c&&S?r.config.styleConfig.selected.node.stroke:Z),v.set(\"visible\",!r.isCardSharp&&!r.isKeySharp);break;case\"headerlabel2\":case\"headerlabel3\":var $=v.get(\"showNameOrLabel\");v.attr(\"fill\",h),$&&K||!$&&!K?v.set(\"visible\",r.isKeySharp&&!f):v.set(\"visible\",!1);break;case\"field\":var te=s&&!y&&!g&&!o?.2:1,W=!r.isKeySharp&&!v.attr(\"fieldHoverShow\")?te:0;v.set(\"visible\",!r.isKeySharp);var de=v.attr(\"fieldLable\");de&&v.attr(\"text\",K?de:v.attr(\"nameLable\")),v.get(\"themeColor\")&&v.attr(\"fill\",c?r.config.styleConfig.selected.node.stroke:h);break;case\"field-text\":v.set(\"visible\",!r.isKeySharp);case\"field-line\":v.set(\"visible\",!r.isKeySharp);break;case\"themeColor\":v.attr(\"fill\",c?r.config.styleConfig.selected.node.stroke:h);break;default:break}}),r.hide?i.hide():i.show()},render:function(r,i){var n=r.config,l=r.data,o=r.selected,c=r.showNameOrLabel,y=r.themeColor,s=r.darkness,f=\"rgba(7,10,26,0.06)\",g=n.colors,_=s?y:f,K=s?g.white:y,p=s?g.white:y,h={bg:_,font:K,mFront:p};i.addShape(\"rect\",{visible:!r.isKeySharp,name:l.key,draggable:!0,attrs:{y:-(A(l.fields.length)*n.fieldHeight/2)-n.headerHeight/2,x:-(n.width/2),width:n.width,height:n.headerHeight,radius:[10,10,0,0],id:\"header\",className:\"header\",shadowColor:\"rgba(0,0,0,0.06)\",cursor:\"move\",fill:o?n.styleConfig.selected.node.stroke:_}}),i.addShape(\"text\",{visible:!r.isKeySharp,name:l.key,fontFamily:\"\",draggable:!0,attrs:{x:-(n.width/2)+20,y:-(A(l.fields.length)*n.fieldHeight/2),text:c?l.name:l.label,fieldLable:l.name,nameLable:l.label,id:\"headerlabel1\",cursor:\"move\",fontSize:n.fieldHeight/2,className:\"headerlabel\",textBaseline:\"middle\",textAlign:\"left\",fontWeight:20,fill:h.mFront}}),r.data.aggregateModelKey&&i.addShape(\"text\",{visible:r.data.aggregateModelKey,name:l.key,fontFamily:\"\",draggable:!0,attrs:{fontFamily:\"iconFont\",x:n.width/2-100,y:-(A(l.fields.length)*n.fieldHeight/2),text:\"\\u805A\\u5408\\u5173\\u7CFB\",arg:r.data.aggregateModelKey,id:\"headerlabel1\",cursor:\"pointer\",click:\"arrangeShow\",fontSize:n.labelSize,className:\"headerlabel\",textBaseline:\"middle\",textAlign:\"left\",fill:h.font}}),i.addShape(\"text\",{visible:!r.isKeySharp,name:l.key,fontFamily:\"\",draggable:!0,attrs:{fontFamily:\"iconFont\",x:n.width/2-40,y:-(A(l.fields.length)*n.fieldHeight/2),text:\"\\u67E5\\u770B\",id:\"headerlabel1\",cursor:\"pointer\",click:\"modelEdit\",fontSize:n.labelSize,className:\"headerlabel\",textBaseline:\"middle\",textAlign:\"left\",fill:h.font}});var S=[l.label],R=n.headerHeight+(l.fields.length>=12?l.fields.length:12)*n.fieldHeight,F=S.length;S.forEach(function(m,P){i.addShape(\"text\",{visible:r.isKeySharp&&!c&&!r.isCardSharp,name:m,showNameOrLabel:!1,draggable:!0,attrs:{x:0,y:-R/2+R/(F+1)*(P+1),fontSize:n.width/5,text:m,id:\"headerlabel2\",className:\"headerlabel\",textBaseline:\"middle\",textAlign:\"center\",fill:y}})});var O=[l.name],Z=n.headerHeight+(l.fields.length>=12?l.fields.length:12)*n.fieldHeight,E=S.length;O.forEach(function(m,P){i.addShape(\"text\",{visible:r.isKeySharp&&c&&!r.isCardSharp,showNameOrLabel:!0,name:m,draggable:!0,attrs:{x:0,y:-Z/2+Z/(E+1)*(P+1),fontSize:n.width/5,text:m,id:\"headerlabel2\",className:\"headerlabel\",textBaseline:\"middle\",textAlign:\"center\",fill:y}})}),l.fields.forEach(function(m,P){var $,te,W,de,et,tt,rt,L=m.typeMeta,Ji=m==null||($=m.typeMeta)===null||$===void 0?void 0:$.relationModel,sr=-((n.headerHeight+A(l.fields.length)*n.fieldHeight)/2)+n.headerHeight+n.fieldHeight*P+n.fieldHeight/2-2;i.addShape(\"rect\",{visible:!r.isKeySharp,name:m.id,draggable:!0,attrs:{x:-(n.width/2)+2,fieldName:m.id,name:m.id,draggable:!0,fieldBg:!0,arg:m.name,fieldHover:!0,y:-((n.headerHeight+A(l.fields.length)*n.fieldHeight)/2)+n.headerHeight+n.fieldHeight*P,width:n.width-4,id:\"field\",height:n.fieldHeight,fill:\"white\",cursor:\"move\"}}),i.addShape(\"path\",{visible:!r.isKeySharp,draggable:!0,name:m.id,attrs:{draggable:!0,fieldName:m.id,id:\"field-line\",name:m.id,path:[[\"M\",-n.width/2+20,sr+2],[\"L\",n.width/2-40,sr+2]],stroke:\"rgba(0,0,0,0.60)\",lineWidth:1,lineDash:[5,5],opacity:.1}});var Li=L;Li&&i.addShape(\"circle\",{visible:!0,name:m.id,draggable:!0,themeColor:!0,attrs:{x:-(n.width/2)+10,fieldName:m.id,name:m.id,draggable:!0,arg:m.name,fieldHover:!0,y:-((n.headerHeight+A(l.fields.length)*n.fieldHeight)/2)+n.headerHeight+n.fieldHeight*P+n.fieldHeight/2-2,id:\"field\",r:2,fill:y,cursor:\"move\"}}),i.addShape(\"text\",{visible:!r.isKeySharp,name:m.id,draggable:!0,themeColor:L,attrs:{x:-n.width/2+20,fieldHover:!0,name:m.id,draggable:!0,y:-((n.headerHeight+A(l.fields.length)*n.fieldHeight)/2)+n.headerHeight+n.fieldHeight*P+n.fieldHeight/2,text:c?m.name:m.label,fieldLable:m.name,nameLable:m.label,fieldName:m.id,arg:m.name,fontSize:n.labelSize,textBaseline:\"middle\",cursor:\"move\",id:\"field\",textAlign:\"start\",fill:L?y:\"rgba(0,0,0,0.60)\"}});var dr=c?m==null||(te=m.relationModel)===null||te===void 0?void 0:te.name:m==null||(W=m.relationModel)===null||W===void 0?void 0:W.label;i.addShape(\"text\",{visible:!r.isKeySharp,name:m.id,draggable:!0,themeColor:L,attrs:{x:n.width/2-20,fieldHover:!L,y:-((n.headerHeight+A(l.fields.length)*n.fieldHeight)/2)+n.headerHeight+n.fieldHeight*P+n.fieldHeight/2,text:L&&dr?dr:\"\".concat(m.type||\"\"),fieldLable:L?m.type&&Re[m.type]?\"\".concat(m==null||(de=m.relationModel)===null||de===void 0?void 0:de.name,\"(\").concat(Re[m.type]||\"\",\")\"):m==null||(et=m.relationModel)===null||et===void 0?void 0:et.name:\"\".concat(m.type||\"\"),nameLable:L?m.type&&Re[m.type]?\"\".concat(m==null||(tt=m.relationModel)===null||tt===void 0?void 0:tt.label,\"(\").concat(Re[m.type]||\"\",\")\"):m==null||(rt=m.relationModel)===null||rt===void 0?void 0:rt.label:\"\".concat(m.type||\"\"),id:\"field\",textBaseline:\"middle\",fieldName:m.id,arg:m,fontSize:n.labelSize,click:L?\"fieldSelect\":void 0,textAlign:\"right\",cursor:L?\"pointer\":\"undefined\",fill:L?y:\"rgba(0,0,0,0.30)\"}}),L&&i.addShape(\"circle\",{visible:!0,name:m.id,draggable:!0,themeColor:!0,attrs:{x:n.width/2-10,fieldName:m.id,name:m.id,draggable:!0,arg:m.name,fieldHover:!0,y:-((n.headerHeight+A(l.fields.length)*n.fieldHeight)/2)+n.headerHeight+n.fieldHeight*P+n.fieldHeight/2-2,id:\"field\",r:2,fill:y,cursor:\"move\"}})});var ee=A(l.fields.length)-l.fields.length;if(ee)for(var v=0;v<ee;v++)i.addShape(\"rect\",{name:v,draggable:!0,visible:!r.isKeySharp,attrs:{x:-(n.width/2)+2,y:-((n.headerHeight+A(l.fields.length)*n.fieldHeight)/2)+n.headerHeight+n.fieldHeight*(l.fields.length+v),width:n.width-4,id:\"field\",height:n.fieldHeight,fill:\"white\",cursor:\"move\"}})},draw:function(r,i){var n=r.config,l=r.data,o=r.selected,c=n.headerHeight+A(l.fields.length)*n.fieldHeight,y=i.addShape(\"rect\",{name:l.key,draggable:!0,attrs:tr(tr({id:\"keySharp\",x:-(n.width/2),y:-c/2,width:n.width,cursor:\"move\",height:c+10},r.config.styleConfig.default.node),{},{stroke:o?r.config.styleConfig.selected.node.stroke:r.config.styleConfig.default.node.stroke})});return this.render(r,i),y}},\"single-shape\")},An=function(){z().registerEdge(\"console-line\",{labelAutoRotate:!0,label:\"cubic-vertical\"},\"line\"),z().registerEdge(\"console-arrange-line\",{labelAutoRotate:!0},\"line\")},Nn=function(t){Rn(t),An()},Fn=b(12739);function Te(t){return Te=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(e){return typeof e}:function(e){return e&&typeof Symbol==\"function\"&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},Te(t)}function kn(t,e){return Un(t)||Ln(t,e)||xn(t,e)||jn()}function jn(){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 xn(t,e){if(t){if(typeof t==\"string\")return rr(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);if(a===\"Object\"&&t.constructor&&(a=t.constructor.name),a===\"Map\"||a===\"Set\")return Array.from(t);if(a===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return rr(t,e)}}function rr(t,e){(e==null||e>t.length)&&(e=t.length);for(var a=0,r=new Array(e);a<e;a++)r[a]=t[a];return r}function Ln(t,e){var a=t==null?null:typeof Symbol!=\"undefined\"&&t[Symbol.iterator]||t[\"@@iterator\"];if(a!=null){var r,i,n,l,o=[],c=!0,y=!1;try{if(n=(a=a.call(t)).next,e===0){if(Object(a)!==a)return;c=!1}else for(;!(c=(r=n.call(a)).done)&&(o.push(r.value),o.length!==e);c=!0);}catch(s){y=!0,i=s}finally{try{if(!c&&a.return!=null&&(l=a.return(),Object(l)!==l))return}finally{if(y)throw i}}return o}}function Un(t){if(Array.isArray(t))return t}function ar(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),a.push.apply(a,r)}return a}function Bn(t){for(var e=1;e<arguments.length;e++){var a=arguments[e]!=null?arguments[e]:{};e%2?ar(Object(a),!0).forEach(function(r){Hn(t,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):ar(Object(a)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(a,r))})}return t}function Hn(t,e,a){return e=zn(e),e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function zn(t){var e=Zn(t,\"string\");return Te(e)===\"symbol\"?e:String(e)}function Zn(t,e){if(Te(t)!==\"object\"||t===null)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var r=a.call(t,e||\"default\");if(Te(r)!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(e===\"string\"?String:Number)(t)}var Wn=(0,we.Pi)(function(t){var e,a=t.graph,r=X(),i=r.intl,n=r.undoManager,l=r.Ui,o=l.Tooltip,c=l.Popover,y=Bn({},r.Ui.IconRenders),s=(0,d.useState)(!1),f=kn(s,2),g=f[0],_=f[1],K=(0,d.useCallback)((0,M.throttle)(function(h){r.Ui.setThemeColor(h.hex)},200),[g]),p=a&&tn(parseFloat(((e=r.graph)===null||e===void 0?void 0:e.zoom)*100+\"\")+\"\")||0;return a?d.createElement(\"div\",{className:\"console-erd-toolbar\"},d.createElement(\"div\",{className:\"right\"},d.createElement(H,{IconRenders:y,key:1,Tooltip:o,title:i(\"\\u64A4\\u9500\"),color:r.Ui.darkness&&n.canUndo?r.Ui.themeColor:void 0,disable:!n.canUndo,icon:\"undo\",onClick:r.undo.bind(r)}),d.createElement(H,{IconRenders:y,key:2,Tooltip:o,title:i(\"\\u91CD\\u505A\"),color:r.Ui.darkness&&n.canRedo?r.Ui.themeColor:void 0,disable:!n.canRedo,icon:\"redo\",onClick:r.redo.bind(r)}),d.createElement(H,{IconRenders:y,key:3,Tooltip:o,title:i(\"\\u653E\\u5927\"),color:r.Ui.darkness?r.Ui.themeColor:void 0,disable:p>=100,icon:\"max\",onClick:r.graph.maxZoom.bind(r.graph,a)}),d.createElement(\"span\",{className:\"zoomNum noselect\"},a&&\"\".concat(p>=100?100:p,\"%\")),d.createElement(H,{IconRenders:y,key:4,Tooltip:o,title:i(\"\\u7F29\\u5C0F\"),color:r.Ui.darkness?r.Ui.themeColor:void 0,disable:p<5,icon:\"min\",onClick:r.graph.minZoom.bind(r.graph,a)}),d.createElement(H,{IconRenders:y,key:5,Tooltip:o,title:i(\"\\u5168\\u666F\"),color:r.Ui.darkness?r.Ui.themeColor:void 0,icon:\"full\",onClick:r.graph.container.bind(r.graph,a)}),d.createElement(H,{IconRenders:y,key:6,Tooltip:o,title:i(r.sys.disableMiniMap?\"\\u5C4F\\u853D\\u5C0F\\u5730\\u56FE\":\"\\u663E\\u793A\\u5C0F\\u5730\\u56FE\"),color:r.Ui.darkness?r.Ui.themeColor:void 0,icon:r.sys.disableMiniMap?\"miniMap\":\"miniMapNo\",onClick:r.sys.setDisableMiniMap.bind(r.sys,!r.sys.disableMiniMap)}),d.createElement(H,{IconRenders:y,key:7,Tooltip:o,title:i(\"\\u5237\\u65B0\\u6570\\u636E\"),color:r.Ui.darkness?r.Ui.themeColor:void 0,icon:\"reload\",onClick:r.reload.bind(r)}),d.createElement(H,{IconRenders:y,key:8,Tooltip:o,title:i(\"\\u4E0B\\u8F7D\\u56FE\\u7247\"),color:r.Ui.darkness?r.Ui.themeColor:void 0,icon:\"image\",onClick:r.graph.downAsImage.bind(r.graph,a)}),d.createElement(H,{IconRenders:y,key:9,Tooltip:o,title:r.sys.dagreLayout?i(\"\\u5207\\u6362\\u5C42\\u6B21\\u5E03\\u5C40\"):i(\"\\u5207\\u6362\\u5173\\u8054\\u5E03\\u5C40\"),icon:r.sys.dagreLayout?\"relationLayout\":\"dagreLayout\",color:r.Ui.darkness?r.Ui.themeColor:void 0,onClick:r.sys.setDagreLayout.bind(r.sys,!r.sys.dagreLayout)}),d.createElement(H,{IconRenders:y,key:10,Tooltip:o,title:i(\"\\u5207\\u6362\\u5E95\\u8272\"),icon:r.Ui.darkness?\"darkness\":\"light\",color:r.Ui.darkness?r.Ui.themeColor:void 0,onClick:r.Ui.setDarkness.bind(r.Ui,!r.Ui.darkness)}),d.createElement(c,{placement:\"rightTop\",arrowPointAtCenter:!0,footer:null,content:d.createElement(Fn.xS,{color:r.Ui.themeColor,onChange:K}),visible:g},d.createElement(H,{IconRenders:y,Tooltip:o,title:\"\".concat(i(\"\\u70B9\\u51FB\")).concat(i(g?\"\\u5173\\u95ED\":\"\\u6253\\u5F00\"),\" \").concat(i(\"\\u989C\\u8272\\u9762\\u677F\")),color:r.Ui.themeColor,icon:g?\"colorClose\":\"colorOpen\",onClick:_.bind(null,!g)})))):d.createElement(\"div\",{className:\"console-erd-toolbar\"},i(\"\\u6B63\\u5728\\u521D\\u59CB\\u5316\\u4E2D\"),\"....\")}),H=Je({render:function(e){var a=X(),r=e.Tooltip;if(a.Ui.disableIcons.indexOf(e.icon)>=0)return null;var i=(0,d.isValidElement)(e.icon)?e.icon:e.IconRenders[e.icon];return d.createElement(r,{title:e.title},d.createElement(\"span\",{style:{color:e.color},className:$t()({enable:!e.disable,\"command-btn\":!0}),onClick:e.disable?void 0:e.onClick},i))}}),Gn=function(t,e){var a=(0,M.debounce)(function(r){e.graph.setZoom(r)},100);t.on(\"wheelzoom\",(0,M.throttle)(function(){e.graph.setZoom(t.getZoom())},200)),t.on(\"beforepaint\",(0,M.throttle)(function(){if(!t.isLayouting){var r=t.isExporting,i=t.get(\"width\"),n=t.get(\"height\"),l=t.getPointByCanvas(0,0),o=t.getPointByCanvas(i,n);t.getNodes().filter(function(y){return!y.isSys}).forEach(function(y){var s=y.getModel();if(!s.isSys&&(s.visible||t.hideItem(y),!r)){var f=s.data,g=s.config,_=(g.headerHeight+f.fields.length*g.fieldHeight+4)/2,K=g.width/2;!s.selected&&(s.x+K<l.x-200||s.x-K>o.x||s.y+_<l.y||s.y-_>o.y)?(y.getContainer().hide(),y.getEdges().forEach(function(p){return p.hide()})):(y.getContainer().show(),y.getEdges().forEach(function(p){return p.show()}))}});var c=t.endLayout;t.getEdges().forEach(function(y){var s=y.get(\"sourceNode\"),f=y.get(\"targetNode\"),g=f.getModel(),_=y.getModel();if((g.visible||s.getModel().visible)&&t.getZoom()>=.3&&!_.self&&!_.isSys){var K=s.getModel().x<f.getModel().x,p=_.fieldIndex,h=_.fieldsLength,S=K?2+p+h:p+2;t.updateItem(y,{sourceAnchor:S})}(!g.visible||!s.getModel().visible)&&y.hide(),!s.getContainer().get(\"visible\")&&!f.getContainer().get(\"visible\")?y.hide():y.show()})}},300)),t.on(\"canvas:dragstart\",function(){var r=t.get(\"canvas\").get(\"el\");r.style.cursor=\"grabbing\"}),t.on(\"canvas:dragend\",function(){var r=t.get(\"canvas\").get(\"el\");r.style.cursor=\"grab\"}),t.on(\"node:click\",function(r){var i=r.target;if(i.attr(\"click\")){var n,l,o=i.attr(\"click\");if(o===\"modelEdit\"&&e.sys.onModelDetail&&e.sys.onModelDetail(r.item.getModel().data),o===\"arrangeShow\"&&e.arrangeShow(i.attr(\"arg\")),(n=i.attr(\"arg\"))!==null&&n!==void 0&&(l=n.relationModel)!==null&&l!==void 0&&l.id){var c,y;e.sys.centerCurrentModel([(c=i.attr(\"arg\"))===null||c===void 0||(y=c.relationModel)===null||y===void 0?void 0:y.id])}}else if(r.item.getModel().id){var s=r.item.getModel().id,f=s.replace(\"model-\",\"\");e.sys.setCurrentModel([f])}}),t.on(\"node:mouseout\",function(r){var i=r.item,n=t.get(\"autoPaint\");t.setAutoPaint(!1),i.getContainer().findAll(function(l){return l.attr(\"fieldHover\")}).forEach(function(l){l.attr(\"fill-old\")&&(l.attr(\"fill\",l.attr(\"fill-old\")),l.attr(\"fill-old\",void 0)),l.attr(\"opacity-old\")&&(l.attr(\"opacity\",l.attr(\"opacity-old\")),l.attr(\"opacity-old\",void 0))}),t.paint(),t.setAutoPaint(n)}),t.on(\"node:mousemove\",function(r){var i=r.target,n=r.item,l=t.get(\"autoPaint\");t.get(\"canvas\").set(\"localRefresh\",!1),t.setAutoPaint(!1);var o=i.attr(\"fieldName\");n.getContainer().findAll(function(c){return c.attr(\"fieldHover\")}).forEach(function(c){c.attr(\"fill-old\")&&(c.attr(\"fill\",c.attr(\"fill-old\")),c.attr(\"fill-old\",void 0)),c.attr(\"fieldHoverShow\")&&c.attr(\"opacity\",0),c.attr(\"fieldName\")===o&&(c.attr(\"fill-old\",c.attr(\"fill\")),c.attr(\"fill\",c.attr(\"fieldBg\")?\"rgb(204,204,204)\":\"white\"),c.attr(\"fieldHoverShow\")&&(c.attr(\"opacity-old\",c.attr(\"opacity\")),c.attr(\"opacity\",1)))}),t.paint(),t.setAutoPaint(l)}),t.on(\"node:dragend\",function(r){var i=r.item,n=i.getEdges();n.forEach(function(l){var o=l.get(\"sourceNode\"),c=l.get(\"targetNode\"),y=c.getModel(),s=l.getModel();if((y.visible||o.getModel().visible)&&t.getZoom()>=.3&&!s.self&&!s.isSys){var f=o.getModel().x<c.getModel().x,g=s.fieldIndex,_=s.fieldsLength,K=f?2+g+_:g+2;t.updateItem(l,{sourceAnchor:K})}(!y.visible||!o.getModel().visible)&&l.hide(),!o.getContainer().get(\"visible\")&&!c.getContainer().get(\"visible\")?l.hide():l.show()})})},Qn=function(e){var a=e.currentModel,r=e.graph,i=e.showNameOrLabel,n=e.zoom,l=e.themeColor,o=e.darkness;(0,d.useEffect)(function(){var c=\"model-\"+a;if(r){var y=r.getNodes();if(!y.length)return;var s=+new Date,f=n<=.4,g=n<=.1;y.forEach(function(K){if(!K.isSys){var p=K.getModel(),h=p.id,S=p?p.data:void 0,R=(c||\"\").indexOf(\"module-\")>=0&&(S&&S.moduleKey)!==c,F={selected:p.selected,noSelected:p.noSelected,isNoModule:p.isNoModule,isKeySharp:p.isKeySharp,isCardSharp:p.isCardSharp,showNameOrLabel:p.showNameOrLabel,themeColor:p.themeColor,darkness:p.darkness},O={selected:h===c,noSelected:h!==c,isNoModule:R,isKeySharp:f,isCardSharp:g,showNameOrLabel:i,themeColor:l,darkness:o},Z=!(0,M.isEqual)(F,O);Z&&r.updateItem(K,O)}});var _=+new Date}},[a,i,n>=.4,n>=.1,n!==0,l,o])},Vn=(0,we.Pi)(function(){var t=$n(),e=t.setRef,a=t.erdGraph,r=t.containerRef;return d.createElement(d.Fragment,null,d.createElement(Wn,{graph:a}),d.createElement(\"div\",{ref:e,className:\"graph\"}))}),$n=function(){var e=X(),a=(0,d.useRef)(null),r=(0,d.useRef)(null),i=(0,d.useRef)(null);(0,d.useEffect)(function(){Nn(e)},[]);var n=(0,d.useRef)(+new Date),l=(0,mn.Z)(a)||{};(0,d.useEffect)(function(){if(r.current)Yn(r.current,e.Nodes,e.edges,e);else{var y=Jn(a.current,e.Nodes,e.edges,e);r.current=y.graph,i.current=y.miniMap,Ae(function(){e.graph.setG6Graph(r.current)})}},[JSON.stringify(e.sys.checkedKeys),e]),(0,d.useEffect)(function(){if(r.current&&l.width&&l.height&&!r.current.isLayouting){var y=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,s=e.sys.height===\"100%\"?y-45:e.sys.height-45;r.current.changeSize(l.width,s),r.current.fitView(0)}},[l.height,l.width]);var o=(0,d.useCallback)(function(y){a.current=y},[a]);(0,d.useEffect)(function(){var y=r.current;if(y){var s=y.get(\"width\"),f=y.get(\"height\"),g=y.getCanvasByPoint(s/2,f/2);y.zoomTo(e.graph.zoom,g)}},[e.graph.zoom]);var c=(0,d.useRef)(!1);return(0,d.useEffect)(function(){var y=r.current;if(y){if(!c.current){c.current=!0;return}var s=y.getNodes().length>50;y.updateLayout({type:e.sys.dagreLayout?\"dagre\":\"fruchterman\",workerEnabled:!0,linkDistance:0,pixelRatio:2,clusterGravity:100,speed:2,gravity:100,gpuEnabled:!0,onLayoutEnd:function(){Ae(function(){y.isLayouting=!1,y.fitView(0),(0,u.cjq)(function(){e.graph.setZoom(y.getZoom())})},1e3)}}),e.sys.dagreLayout&&Ae(function(){y.fitView(0)},1e3)}},[e.sys.dagreLayout]),Qn({currentModel:e.sys.currentModel,graph:r.current,showNameOrLabel:e.sys.showNameOrLabel,zoom:e.graph.zoom,checkNum:n.current,themeColor:e.Ui.themeColor,darkness:e.Ui.darkness}),(0,d.useEffect)(function(){if(r.current&&i.current)if(e.sys.disableMiniMap){var s,f=new(z()).Minimap({type:\"delegate\",viewportClassName:\"g6-minimap-viewport-erd\",delegateStyle:{fill:\"rgba(0,0,0,0.10)\"}});i.current=f,(s=r.current)===null||s===void 0||s.addPlugin(f)}else{var y;(y=r.current)===null||y===void 0||y.removePlugin(i.current)}},[e.sys.disableMiniMap]),{containerRef:a,setRef:o,erdGraph:r.current}},Jn=function(e,a,r,i){var n=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,l=i.sys.height===\"100%\"?n-45:i.sys.height-45,o=Ue({primaryColor:i.Ui.themeColor}).style,c=a.length>50,y=new(z()).Minimap({type:\"delegate\",viewportClassName:\"g6-minimap-viewport-erd\",delegateStyle:{fill:\"rgba(0,0,0,0.10)\"}}),s=new(z()).Graph({height:l,width:e.offsetWidth-20,container:e,fitView:!0,fitCenter:!0,enabledStack:!0,animate:!0,gpuEnabled:!0,pixelRatio:2,defaultEdge:o.default.edge,edgeStateStyles:{default:o.default.edge,active:{opacity:1,size:3}},minZoom:.01,maxZoom:1.1,layout:{type:i.sys.dagreLayout?\"dagre\":\"force\",condense:!0,cols:3,workerEnabled:!0,linkDistance:0,alphaDecay:c?.3:void 0,preventOverlap:!0,nodeSpacing:c?-100:-180,onLayoutEnd:function(){s.isLayouting=!1,s.endLayout=!0,s.fitView(0),s.endLayout=!1,(0,u.cjq)(function(){i.graph.setZoom(s.getZoom())})}},modes:{default:[\"drag-canvas\",{type:\"zoom-canvas\",minZoom:1e-4,maxZoom:2.1},{type:\"drag-node\"},{type:\"edge-tooltip\",formatText:function(g){return g.tooltip},offset:10}]},plugins:[]});return Gn(s,i),s.data({nodes:a,edges:r}),s.isLayouting=!0,s.render(),s.fitView(0),i.sys.dagreLayout&&Ae(function(){s.fitView(0),(0,u.cjq)(function(){i.graph.setZoom(s.getZoom())})}),{graph:s,miniMap:y}},Yn=function(e,a,r,i){return e.changeData({nodes:a,edges:r}),e},Ae=function(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500;setTimeout(e,a)},Xn=Je({displayName:\"page\",render:function(e){var a=X();return d.createElement(\"div\",{className:$t()(\"console-g6-page\",e.className),style:{height:a.sys.height}},d.createElement(\"div\",{className:\"console-erd-fps\"}),d.createElement(\"div\",{className:\"g6-modelnavi\"},d.createElement(sn,null)),d.createElement(\"div\",{className:\"g6-graph\"},d.createElement(Vn,null)))}});function qn(t,e){return ai(t)||ri(t,e)||ti(t,e)||ei()}function ei(){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 ti(t,e){if(t){if(typeof t==\"string\")return nr(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);if(a===\"Object\"&&t.constructor&&(a=t.constructor.name),a===\"Map\"||a===\"Set\")return Array.from(t);if(a===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return nr(t,e)}}function nr(t,e){(e==null||e>t.length)&&(e=t.length);for(var a=0,r=new Array(e);a<e;a++)r[a]=t[a];return r}function ri(t,e){var a=t==null?null:typeof Symbol!=\"undefined\"&&t[Symbol.iterator]||t[\"@@iterator\"];if(a!=null){var r,i,n,l,o=[],c=!0,y=!1;try{if(n=(a=a.call(t)).next,e===0){if(Object(a)!==a)return;c=!1}else for(;!(c=(r=n.call(a)).done)&&(o.push(r.value),o.length!==e);c=!0);}catch(s){y=!0,i=s}finally{try{if(!c&&a.return!=null&&(l=a.return(),Object(l)!==l))return}finally{if(y)throw i}}return o}}function ai(t){if(Array.isArray(t))return t}var ni=(0,we.Pi)(function(t){var e=t.onIntl,a=t.onReload,r=t.onModelDetail,i=t.models,n=t.modules,l=t.erdkey,o=t.className,c=t.style,y=t.height,s=t.onIgnoreEdge,f=t.components,g=t.IconRenders,_=X();return(0,d.useEffect)(function(){var K=sessionStorage.getItem(\"web-pdm\"+l);if(!K)(0,u.cjq)(function(){return _.initData(i,n)});else{var p=JSON.parse(K);p.sys.height=y,(0,u.cjq)(function(){var h=sessionStorage.getItem(\"web-pdm-fields\"+l);h&&_.setFields(new Map(JSON.parse(h))),(0,u.Xx3)(_,p),_.sys.setOnIgnoreEdge(s),_.sys.setOnModelDetail(r),_.Ui.registComponents(f,g),_.setOnReload(a),_.onIntl=e})}},[]),(0,d.useEffect)(function(){_.Models.clear(),_.Modules.clear(),_.Fields.clear(),(0,u.cjq)(function(){return _.initData(i,n)})},[i]),d.createElement(Xn,{className:o,style:c})}),ii=function(e){var a=(0,d.useState)(function(){return Wa({sys:{height:e.height,onIgnoreEdge:e.onIgnoreEdge,onModelDetail:e.onModelDetail,intl:e.intl,onlyMode:e.onlyMode},Ui:{themeColor:e.themeColor,darkness:e.darkness},components:e.components,onReload:e.onReload,onIntl:e.onIntl,IconRenders:e.IconRenders,disableIcons:e.disableIcons})}),r=qn(a,1),i=r[0];return d.createElement(Za,{value:i},i&&d.createElement(ni,e))},li=ii,oi=li,yi=b(87137),ci=b(54887),ir=b(51634),qe=b(28646),ui=b(66559),si=b(17104),di=b(74825),lr=b(30211),mi=b(97378),pi=b(57773),fi=b(82204),gi=b(60623),bi=b(61567),hi=b(21926),vi=b(40367),Ti=b(78624),_i=b(59944),Ki=b(52962),Ii=b(98052),or=b(58218),yr=b(84666),D=b(11527);function Pi(t,e){return Ei(t)||Si(t,e)||Oi(t,e)||Di()}function Di(){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 Oi(t,e){if(t){if(typeof t==\"string\")return cr(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);if(a===\"Object\"&&t.constructor&&(a=t.constructor.name),a===\"Map\"||a===\"Set\")return Array.from(t);if(a===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return cr(t,e)}}function cr(t,e){(e==null||e>t.length)&&(e=t.length);for(var a=0,r=new Array(e);a<e;a++)r[a]=t[a];return r}function Si(t,e){var a=t==null?null:typeof Symbol!=\"undefined\"&&t[Symbol.iterator]||t[\"@@iterator\"];if(a!=null){var r,i,n,l,o=[],c=!0,y=!1;try{if(n=(a=a.call(t)).next,e===0){if(Object(a)!==a)return;c=!1}else for(;!(c=(r=n.call(a)).done)&&(o.push(r.value),o.length!==e);c=!0);}catch(s){y=!0,i=s}finally{try{if(!c&&a.return!=null&&(l=a.return(),Object(l)!==l))return}finally{if(y)throw i}}return o}}function Ei(t){if(Array.isArray(t))return t}var Ci=function(e){var a=e.data,r=a.title,i=a.options,n=i===void 0?[]:i,l=(0,d.useState)(!1),o=Pi(l,2),c=o[0],y=o[1],s=(0,d.useCallback)(function(g){return function(){y(g)}},[]),f=(0,D.jsx)(qe.Z,{children:n.map(function(g){return(0,D.jsx)(qe.Z.Item,{children:(0,D.jsx)(\"a\",{onClick:g.click,children:g.title})},g)})});return(0,D.jsxs)(\"div\",{className:\"tree-node-title\",onMouseEnter:s(!0),onMouseLeave:s(!1),children:[(0,D.jsx)(\"span\",{className:\"tree-node-title-title\",children:r}),!!n.length&&c&&(0,D.jsx)(ir.Z,{overlay:f,children:(0,D.jsx)(\"span\",{className:\"tree-node-title-options\",children:\"...\"})})]})};yr.Z.OptionBuilder=Ci;var Mi=yr.Z;function _e(t){return _e=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(e){return typeof e}:function(e){return e&&typeof Symbol==\"function\"&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},_e(t)}function ur(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),a.push.apply(a,r)}return a}function wi(t){for(var e=1;e<arguments.length;e++){var a=arguments[e]!=null?arguments[e]:{};e%2?ur(Object(a),!0).forEach(function(r){Ri(t,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):ur(Object(a)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(a,r))})}return t}function Ri(t,e,a){return e=Ai(e),e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function Ai(t){var e=Ni(t,\"string\");return _e(e)===\"symbol\"?e:String(e)}function Ni(t,e){if(_e(t)!==\"object\"||t===null)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var r=a.call(t,e||\"default\");if(_e(r)!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(e===\"string\"?String:Number)(t)}var Fi={undo:(0,D.jsx)(lr.Z,{}),redo:(0,D.jsx)(lr.Z,{style:{transform:\"scaleX(-1)\"}}),min:(0,D.jsx)(mi.Z,{}),max:(0,D.jsx)(pi.Z,{}),full:(0,D.jsx)(fi.Z,{}),miniMap:(0,D.jsx)(gi.Z,{}),miniMapNo:(0,D.jsx)(bi.Z,{}),dagreLayout:(0,D.jsx)(hi.Z,{}),relationLayout:(0,D.jsx)(vi.Z,{}),reload:(0,D.jsx)(Ti.Z,{}),image:(0,D.jsx)(_i.Z,{}),darkness:(0,D.jsx)(Ki.Z,{}),light:(0,D.jsx)(Ii.Z,{}),colorClose:(0,D.jsx)(or.Z,{}),colorOpen:(0,D.jsx)(or.Z,{})},ki=function(e){return(0,D.jsx)(oi,wi({IconRenders:Fi,components:{Input:yi.Z,Button:ci.ZP,Dropdown:ir.Z,Menu:qe.Z,Select:ui.Z,Tooltip:si.Z,Tree:Mi,Popover:di.Z}},e))},ji=ki,xi=ji},30408:function(at,J,b){b.r(J),b.d(J,{default:function(){return re}});var d=b(50959),u=b(80858),Q=[{name:\"bd_Quota_Apply\",originalKey:\"bd_Quota_Apply\",label:\"\\u989D\\u5EA6\\u7533\\u8BF7\",module:\"finance\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"FlowNumber\",originalKey:\"FlowNumber\",label:\"\\u6D41\\u6C34\\u53F7\"},{type:\"nvarchar(50)\",name:\"ApplyUserId\",originalKey:\"ApplyUserId\",label:\"\\u7533\\u8BF7\\u4EBA\"},{type:\"nvarchar(200)\",name:\"AcceptBank\",originalKey:\"AcceptBank\",label:\"\\u627F\\u5151\\u884C\"},{type:\"numeric(18,2)\",name:\"Amount\",originalKey:\"Amount\",label:\"\\u91D1\\u989D\"},{type:\"numeric(18,2)\",name:\"Price\",originalKey:\"Price\",label:\"\\u62A5\\u4EF7\"},{type:\"nvarchar(20)\",name:\"PriceType\",originalKey:\"PriceType\",label:\"\\u62A5\\u4EF7\\u7C7B\\u522B\"},{type:\"nvarchar(20)\",name:\"BankType\",originalKey:\"BankType\",label:\"\\u627F\\u5151\\u884C\\u7C7B\\u522B\"},{type:\"nvarchar(20)\",name:\"Acceptkind\",originalKey:\"Acceptkind\",label:\"\\u627F\\u5151\\u65B9\\u5F0F\"},{type:\"nvarchar(500)\",name:\"Remark\",originalKey:\"Remark\",label:\"\\u5907\\u6CE8\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u7533\\u8BF7\\u65F6\\u95F4\"},{type:\"int\",name:\"Status\",originalKey:\"Status\",label:\"\\u72B6\\u6001\"},{type:\"nvarchar(50)\",name:\"ApproveUserId\",originalKey:\"ApproveUserId\",label:\"\\u5BA1\\u6279\\u4EBA\"}]},{name:\"bd_PayInfo\",originalKey:\"bd_PayInfo\",label:\"\\u6253\\u6B3E\\u4FE1\\u606F\",module:\"finance\",fields:[{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"FID\",typeMeta:{relationModel:\"bd_Pay_Apply\",type:\"Relation\"},label:\"FID\"},{type:\"nvarchar(50)\",name:\"FlowNumber\",originalKey:\"FlowNumber\",label:\"\\u6D41\\u6C34\\u53F7\"},{type:\"nvarchar(20)\",name:\"TotalAmount\",originalKey:\"TotalAmount\",label:\"\\u603B\\u91D1\\u989D\"},{type:\"nvarchar(50)\",name:\"InvoiceBank\",originalKey:\"InvoiceBank\",label:\"\\u5F00\\u7968\\u884C\"},{type:\"datetime\",name:\"ExpireDate\",originalKey:\"ExpireDate\",label:\"\\u5230\\u671F\\u65E5\"},{type:\"int\",name:\"DiscountDays\",originalKey:\"DiscountDays\",label:\"\\u8D34\\u73B0\\u5929\\u6570\"},{type:\"numeric(18,2)\",name:\"DiscountInterest\",originalKey:\"DiscountInterest\",label:\"\\u8D34\\u73B0\\u5229\\u606F\"},{type:\"numeric(18,2)\",name:\"PriceRate\",originalKey:\"PriceRate\",label:\"\\u62A5\\u4EF7\\u5229\\u7387\"},{type:\"int\",name:\"PriceType\",originalKey:\"PriceType\",label:\"\\u62A5\\u4EF7\\u7C7B\\u522B\"},{type:\"numeric(18,2)\",name:\"PayRate\",originalKey:\"PayRate\",label:\"\\u6253\\u6B3E\\u5229\\u7387\"},{type:\"int\",name:\"PayType\",originalKey:\"PayType\",label:\"\\u6253\\u6B3E\\u7C7B\\u522B\"},{type:\"int\",name:\"PaperCount\",originalKey:\"PaperCount\",label:\"\\u5F20\\u6570\"},{type:\"numeric(18,2)\",name:\"Commissions\",originalKey:\"Commissions\",label:\"\\u624B\\u7EED\\u8D39\"},{type:\"int\",name:\"CommissionsType\",originalKey:\"CommissionsType\",label:\"\\u624B\\u7EED\\u8D39\\u7C7B\\u522B\"},{type:\"numeric(18,2)\",name:\"PayAmount\",originalKey:\"PayAmount\",label:\"\\u5212\\u6B3E\\u91D1\\u989D\"},{type:\"nvarchar(50)\",name:\"Payee\",originalKey:\"Payee\",label:\"\\u6536\\u6B3E\\u5355\\u4F4D\"},{type:\"nvarchar(50)\",name:\"PayeeAccount\",originalKey:\"PayeeAccount\",label:\"\\u6536\\u6B3E\\u5355\\u4F4D\\u8D26\\u53F7\"},{type:\"nvarchar(50)\",name:\"OpeningBankName\",originalKey:\"OpeningBankName\",label:\"\\u5F00\\u6237\\u884C\"},{type:\"nvarchar(50)\",name:\"OpeningBankNumber\",originalKey:\"OpeningBankNumber\",label:\"\\u5F00\\u6237\\u884C\\u884C\\u53F7\"},{type:\"nvarchar(500)\",name:\"Remark\",originalKey:\"Remark\",label:\"\\u5907\\u6CE8\"},{type:\"ntext\",name:\"DraftImage\",originalKey:\"DraftImage\",label:\"\\u7968\\u9762\\u56FE\\u7247\"},{name:\"\\u7533\\u8BF7\\u4EBA\",originalKey:\"\\u7533\\u8BF7\\u4EBA\",label:\"\\u7533\\u8BF7\\u4EBA\"},{type:\"ntext \",name:\"DEFAULTVAL\",originalKey:\"DEFAULTVAL\",label:\"\\u9ED8\\u8BA4\\u503C\"}]},{name:\"bd_Draft_Element\",originalKey:\"bd_Draft_Element\",label:\"\\u7968\\u9762\\u8981\\u7D20\",module:\"finance\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"FlowNumber\",originalKey:\"FlowNumber\",label:\"\\u6D41\\u6C34\\u53F7\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"PayApplyId\",typeMeta:{relationModel:\"bd_Pay_Apply\",type:\"Relation\"},label:\"\\u5212\\u6B3E\\u7533\\u8BF7Id\"},{type:\"nvarchar(50)\",name:\"Drawer\",originalKey:\"Drawer\",label:\"\\u51FA\\u7968\\u4EBA\\u5168\\u79F0\"},{type:\"nvarchar(50)\",name:\"Payee\",originalKey:\"Payee\",label:\"\\u6536\\u6B3E\\u4EBA\\u5168\\u79F0\"},{type:\"nvarchar(50)\",name:\"PayBank\",originalKey:\"PayBank\",label:\"\\u4ED8\\u6B3E\\u884C\\u5168\\u79F0\"},{type:\"numeric(18,2)\",name:\"Amount\",originalKey:\"Amount\",label:\"\\u91D1\\u989D\"},{type:\"datetime\",name:\"DraftDate\",originalKey:\"DraftDate\",label:\"\\u51FA\\u7968\\u65E5\\u671F\"},{type:\"datetime\",name:\"DraftExpireDate\",originalKey:\"DraftExpireDate\",label:\"\\u6C47\\u7968\\u5230\\u671F\\u65E5\"},{type:\"nvarchar(50)\",name:\"PayBankNumber\",originalKey:\"PayBankNumber\",label:\"\\u4ED8\\u6B3E\\u884C\\u884C\\u53F7\"},{type:\"nvarchar(500)\",name:\"DraftNumber\",originalKey:\"DraftNumber\",label:\"\\u7968\\u53F7\"},{type:\"nvarchar(500)\",name:\"Remark\",originalKey:\"Remark\",label:\"\\u5907\\u6CE8\"}]},{name:\"db_Draft_Number\",originalKey:\"db_Draft_Number\",label:\"\\u7968\\u53F7\",module:\"finance\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"FlowNumber\",originalKey:\"FlowNumber\",label:\"\\u6D41\\u6C34\\u53F7\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"DraftId\",typeMeta:{relationModel:\"bd_Draft_Element\",type:\"Relation\"},label:\"\\u7968\\u9762Id\"},{type:\"nvarchar(50)\",name:\"DraftNumber\",originalKey:\"DraftNumber\",label:\"\\u7968\\u53F7\"},{type:\"numeric(18,2)\",name:\"Amount\",originalKey:\"Amount\",label:\"\\u91D1\\u989D\"}]},{name:\"bd_Pay_Other\",originalKey:\"bd_Pay_Other\",label:\"\\u5176\\u4ED6\\u4FE1\\u606F\",module:\"finance\",fields:[{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"FID\",typeMeta:{relationModel:\"bd_Pay_Apply\",type:\"Relation\"},label:\"FID\"},{type:\"nvarchar(50)\",name:\"FlowNumber\",originalKey:\"FlowNumber\",label:\"\\u6D41\\u6C34\\u53F7\"},{type:\"nvarchar(50)\",name:\"Account\",originalKey:\"Account\",label:\"\\u8D26\\u53F7\"},{type:\"nvarchar(50)\",name:\"Payee\",originalKey:\"Payee\",label:\"\\u6536\\u6B3E\\u65B9\"},{type:\"nvarchar(50)\",name:\"OpeningBankName\",originalKey:\"OpeningBankName\",label:\"\\u5F00\\u6237\\u884C\"},{type:\"numeric(18,2)\",name:\"Amount\",originalKey:\"Amount\",label:\"\\u91D1\\u989D\"},{type:\"nvarchar(500)\",name:\"Remark\",originalKey:\"Remark\",label:\"\\u5907\\u6CE8\"}]},{name:\"bd_Pay_Apply\",originalKey:\"bd_Pay_Apply\",label:\"\\u5212\\u6B3E\\u7533\\u8BF7\",module:\"finance\",fields:[{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"FID\",typeMeta:{relationModel:\"bd_Quota_Apply\",type:\"Relation\"},label:\"FID\"},{type:\"nvarchar(50)\",name:\"FlowNumber\",originalKey:\"FlowNumber\",label:\"\\u6D41\\u6C34\\u53F7\"},{type:\"int\",name:\"ApproveStatus\",originalKey:\"ApproveStatus\",label:\"\\u5BA1\\u6279\\u72B6\\u6001\"},{type:\"int\",name:\"ReviewStatus\",originalKey:\"ReviewStatus\",label:\"\\u590D\\u6838\\u72B6\\u6001\"},{type:\"int\",name:\"PayStatus\",originalKey:\"PayStatus\",label:\"\\u6253\\u6B3E\\u72B6\\u6001\"},{type:\"nvarchar(50)\",name:\"ApproveUserId\",originalKey:\"ApproveUserId\",label:\"\\u5BA1\\u6279\\u4EBA\"},{type:\"nvarchar(50)\",name:\"PayUserId\",originalKey:\"PayUserId\",label:\"\\u6253\\u6B3E\\u4EBA\"},{type:\"nvarchar(50)\",name:\"ReviewUserId\",originalKey:\"ReviewUserId\",label:\"\\u590D\\u6838\\u4EBA\"},{type:\"nvarchar\",name:\"\\u7533\\u8BF7\\u4EBA\",originalKey:\"\\u7533\\u8BF7\\u4EBA\",label:\"\\u7533\\u8BF7\\u4EBA\"}]},{name:\"bd_Quota_Day\",originalKey:\"bd_Quota_Day\",label:\"\\u6BCF\\u65E5\\u989D\\u5EA6\",module:\"finance\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"numeric(18,2)\",name:\"TotalQuota\",originalKey:\"TotalQuota\",label:\"\\u603B\\u989D\\u5EA6\"},{type:\"numeric(18,2)\",name:\"RestQuota\",originalKey:\"RestQuota\",label:\"\\u5269\\u4F59\\u989D\\u5EA6\"},{type:\"numeric(18,2)\",name:\"LockQuota\",originalKey:\"LockQuota\",label:\"\\u9501\\u5B9A\\u989D\\u5EA6\"},{type:\"datetime\",name:\"QuotaDate\",originalKey:\"QuotaDate\",label:\"\\u989D\\u5EA6\\u65E5\\u671F\"},{type:\"numeric(18,2)\",name:\"PayQuota\",originalKey:\"PayQuota\",label:\"\\u6253\\u6B3E\\u989D\\u5EA6\"},{type:\"numeric(18,2)\",name:\"UnPayQuota\",originalKey:\"UnPayQuota\",label:\"\\u672A\\u6253\\u6B3E\\u989D\\u5EA6\"}]},{name:\"bd_User\",originalKey:\"bd_User\",label:\"\\u7528\\u6237\\u4FE1\\u606F\",module:\"finance\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"WechatAccount\",originalKey:\"WechatAccount\",label:\"\\u5FAE\\u4FE1\\u8D26\\u53F7\"}]},{name:\"bd_Message\",originalKey:\"bd_Message\",label:\"\\u7CFB\\u7EDF\\u6D88\\u606F\",module:\"finance\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(2000)\",name:\"Content\",originalKey:\"Content\",label:\"\\u5185\\u5BB9\"},{type:\"nvarchar(20)\",name:\"Type\",originalKey:\"Type\",label:\"\\u7C7B\\u522B\"},{type:\"datetime\",name:\"SendTime\",originalKey:\"SendTime\",label:\"\\u53D1\\u9001\\u65F6\\u95F4\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u521B\\u5EFA\\u65F6\\u95F4\"},{type:\"ntext\",name:`SendeeList\\r\nSendeeList`,originalKey:`SendeeList\\r\nSendeeList`,label:\"\\u63A5\\u6536\\u4EBA\"}]},{name:\"bd_User_Message\",originalKey:\"bd_User_Message\",label:\"\\u7528\\u6237\\u6D88\\u606F\",module:\"finance\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"MessageId\",typeMeta:{relationModel:\"bd_Message\",type:\"Relation\"},label:\"\\u6D88\\u606FId\"},{type:\"nvarchar(50)\",name:\"ReceiveUserId\",originalKey:\"ReceiveUserId\",label:\"\\u63A5\\u6536\\u4EBA\"},{type:\"int\",name:\"Status\",originalKey:\"Status\",label:\"\\u72B6\\u6001\"}]},{name:\"bd_Operation_Log\",originalKey:\"bd_Operation_Log\",label:\"\\u64CD\\u4F5C\\u65E5\\u5FD7\",module:\"finance\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(20)\",name:\"ModuleName\",originalKey:\"ModuleName\",label:\"\\u6A21\\u5757\\u540D\"},{type:\"nvarchar(20)\",name:\"OpreationName\",originalKey:\"OpreationName\",label:\"\\u64CD\\u4F5C\\u540D\"},{type:\"nvarchar(500)\",name:\"Remark\",originalKey:\"Remark\",label:\"\\u63CF\\u8FF0\"}]},{name:\"erp_WarehouseCat\",originalKey:\"erp_WarehouseCat\",label:\"\\u4ED3\\u5E93\\u7C7B\\u522B\\u8868\",module:\"ERP\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"ewc_Code\",originalKey:\"ewc_Code\",label:\"\\u7F16\\u7801\"},{type:\"nvarchar(50)\",name:\"ewc_Name\",originalKey:\"ewc_Name\",label:\"\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"ParentId\",originalKey:\"ParentId\",label:\"\\u4E0A\\u7EA7\\u5206\\u7C7B\"},{type:\"bit\",name:\"IsParent\",originalKey:\"IsParent\",label:\"\\u662F\\u5426\\u7236\\u8282\\u70B9\"},{type:\"bit\",name:\"IsLeaf\",originalKey:\"IsLeaf\",label:\"\\u662F\\u5426\\u53F6\\u8282\\u70B9\"},{type:\"nvarchar(2000)\",name:\"Arrange\",originalKey:\"Arrange\",label:\"\\u6811\\u72B6\\u652F\\u6301\\u7B26\\u53F7\"},{type:\"int\",name:\"TreeOrder\",originalKey:\"TreeOrder\",label:\"\\u6392\\u5E8F\"},{type:\"nvarchar(500)\",name:\"ewc_Remark\",originalKey:\"ewc_Remark\",label:\"\\u5907\\u6CE8\"},{type:\"nvarchar(50)\",name:\"CREATE_ID\",originalKey:\"CREATE_ID\",label:\"\\u521B\\u5EFA\\u4EBA\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u521B\\u5EFA\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"UPDATE_ID\",originalKey:\"UPDATE_ID\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u4EBA\"},{type:\"datetime\",name:\"UPDATE_TIME\",originalKey:\"UPDATE_TIME\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"FControlUnitID\",originalKey:\"FControlUnitID\",label:\"\\u7EC4\\u7EC7\\u673A\\u6784\"}]},{name:\"erp_WarehouseInfo\",originalKey:\"erp_WarehouseInfo\",label:\"\\u4ED3\\u5E93\\u4FE1\\u606F\\u8868\",module:\"ERP\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"ew_Code\",originalKey:\"ew_Code\",label:\"\\u7F16\\u7801\"},{type:\"nvarchar(50)\",name:\"ew_Name\",originalKey:\"ew_Name\",label:\"\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"ew_SimpleName\",originalKey:\"ew_SimpleName\",label:\"\\u7B80\\u79F0\"},{type:\"nvarchar(50)\",name:\"ew_WhmanID\",originalKey:\"ew_WhmanID\",label:\"\\u9ED8\\u8BA4\\u4ED3\\u7BA1\\u5458\"},{type:\"nvarchar(50)\",name:\"ew_Addr\",originalKey:\"ew_Addr\",label:\"\\u4ED3\\u5E93\\u5730\\u5740\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"ew_Cat\",typeMeta:{relationModel:\"erp_WarehouseCat\",type:\"Relation\"},label:\"\\u6240\\u5C5E\\u5206\\u7C7B\"},{type:\"numeric(18,4)\",name:\"ew_QtyMax\",originalKey:\"ew_QtyMax\",label:\"\\u6700\\u9AD8\\u5E93\\u5B58\\u91CF\"},{type:\"numeric(18,4)\",name:\"ew_QtyMin\",originalKey:\"ew_QtyMin\",label:\"\\u6700\\u4F4E\\u5E93\\u5B58\\u91CF\"},{type:\"navarchar(500)\",name:\"ew_Remark\",originalKey:\"ew_Remark\",label:\"\\u5907\\u6CE8\"},{type:\"nvarchar(50)\",name:\"CREATE_ID\",originalKey:\"CREATE_ID\",label:\"\\u521B\\u5EFA\\u4EBA\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u521B\\u5EFA\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"UPDATE_ID\",originalKey:\"UPDATE_ID\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u4EBA\"},{type:\"datetime\",name:\"UPDATE_TIME\",originalKey:\"UPDATE_TIME\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"FControlUnitID\",originalKey:\"FControlUnitID\",label:\"\\u7EC4\\u7EC7\\u673A\\u6784\"}]},{name:\"erp_GoodsCat\",originalKey:\"erp_GoodsCat\",label:\"\\u5546\\u54C1\\u7C7B\\u522B\\u8868\",module:\"ERP\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"egc_Code\",originalKey:\"egc_Code\",label:\"\\u7F16\\u7801\"},{type:\"nvarchar(50)\",name:\"egc_Name\",originalKey:\"egc_Name\",label:\"\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"ParentId\",originalKey:\"ParentId\",label:\"\\u4E0A\\u7EA7\\u5206\\u7C7B\"},{type:\"bit\",name:\"IsParent\",originalKey:\"IsParent\",label:\"\\u662F\\u5426\\u7236\\u8282\\u70B9\"},{type:\"bit\",name:\"IsLeaf\",originalKey:\"IsLeaf\",label:\"\\u662F\\u5426\\u53F6\\u8282\\u70B9\"},{type:\"nvarchar(2000)\",name:\"Arrange\",originalKey:\"Arrange\",label:\"\\u6811\\u72B6\\u652F\\u6301\\u7B26\\u53F7\"},{type:\"int\",name:\"TreeOrder\",originalKey:\"TreeOrder\",label:\"\\u6392\\u5E8F\"},{type:\"nvarchar(500)\",name:\"egc_Remark\",originalKey:\"egc_Remark\",label:\"\\u5907\\u6CE8\"},{type:\"nvarchar(50)\",name:\"CREATE_ID\",originalKey:\"CREATE_ID\",label:\"\\u521B\\u5EFA\\u4EBA\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u521B\\u5EFA\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"UPDATE_ID\",originalKey:\"UPDATE_ID\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u4EBA\"},{type:\"datetime\",name:\"UPDATE_TIME\",originalKey:\"UPDATE_TIME\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"FControlUnitID\",originalKey:\"FControlUnitID\",label:\"\\u7EC4\\u7EC7\\u673A\\u6784\"}]},{name:\"erp_Goods\",originalKey:\"erp_Goods\",label:\"\\u5546\\u54C1\\u4FE1\\u606F\\u8868\",module:\"ERP\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"eg_Code\",originalKey:\"eg_Code\",label:\"\\u7F16\\u7801\"},{type:\"nvarchar(50)\",name:\"eg_Name\",originalKey:\"eg_Name\",label:\"\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"eg_SimpleName\",originalKey:\"eg_SimpleName\",label:\"\\u7B80\\u79F0\"},{type:\"nvarchar(50)\",name:\"eg_EnglishName\",originalKey:\"eg_EnglishName\",label:\"\\u5916\\u6587\\u540D\\u79F0\"},{type:\"nvarchar(200)\",name:\"eg_Specifications\",originalKey:\"eg_Specifications\",label:\"\\u89C4\\u683C\"},{type:\"nvarchar(50)\",name:\"eg_Brand\",originalKey:\"eg_Brand\",label:\"\\u54C1\\u724C\"},{type:\"nvarchar(50)\",name:\"eg_Unit\",originalKey:\"eg_Unit\",label:\"\\u5355\\u4F4D\"},{type:\"nvarchar(50)\",name:\"eg_BarCode\",originalKey:\"eg_BarCode\",label:\"\\u6761\\u5F62\\u7801\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"eg_Cat\",typeMeta:{relationModel:\"erp_GoodsCat\",type:\"Relation\"},label:\"\\u6240\\u5C5E\\u7C7B\\u522B\"},{type:\"nvarchar(50)\",name:\"eg_Warehouse\",originalKey:\"eg_Warehouse\",label:\"\\u6240\\u5C5E\\u4ED3\\u5E93\"},{type:\"int\",name:\"eg_Status\",originalKey:\"eg_Status\",label:\"\\u72B6\\u6001\"},{type:\"nvarchar(500)\",name:\"eg_Remark\",originalKey:\"eg_Remark\",label:\"\\u5907\\u6CE8\"},{type:\"nvarchar(50)\",name:\"CREATE_ID\",originalKey:\"CREATE_ID\",label:\"\\u521B\\u5EFA\\u4EBA\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u521B\\u5EFA\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"UPDATE_ID\",originalKey:\"UPDATE_ID\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u4EBA\"},{type:\"datetime\",name:\"UPDATE_TIME\",originalKey:\"UPDATE_TIME\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"FControlUnitID\",originalKey:\"FControlUnitID\",label:\"\\u7EC4\\u7EC7\\u673A\\u6784\"}]},{name:\"erp_GoodsPrice\",originalKey:\"erp_GoodsPrice\",label:\"\\u5546\\u54C1\\u4EF7\\u683C\\u8868\",module:\"ERP\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"egp_GoodsId\",typeMeta:{relationModel:\"erp_Goods\",type:\"Relation\"},label:\"\\u5546\\u54C1\"},{type:\"nvarchar(50)\",name:\"egp_Code\",originalKey:\"egp_Code\",label:\"\\u7F16\\u7801\"},{type:\"nvarchar(50)\",name:\"egp_Name\",originalKey:\"egp_Name\",label:\"\\u540D\\u79F0\"},{type:\"datetime\",name:\"egp_BeginTime\",originalKey:\"egp_BeginTime\",label:\"\\u8D77\\u59CB\\u65F6\\u95F4\\u6BB5\"},{type:\"datetime\",name:\"egp_EndTime\",originalKey:\"egp_EndTime\",label:\"\\u7ED3\\u675F\\u65F6\\u95F4\\u6BB5\"},{type:\"numeric(18,4)\",name:\"egp_Price\",originalKey:\"egp_Price\",label:\"\\u5355\\u4EF7\"},{type:\"numeric(18,4)\",name:\"egp_Discount\",originalKey:\"egp_Discount\",label:\"\\u6298\\u6263\\u7387\"},{type:\"numeric(18,4)\",name:\"egp_FavorablePrice\",originalKey:\"egp_FavorablePrice\",label:\"\\u4F18\\u60E0\\u540E\\u4EF7\\u683C\"},{type:\"nvarchar(200)\",name:\"egp_Remark\",originalKey:\"egp_Remark\",label:\"\\u5907\\u6CE8\"},{type:\"nvarchar(50)\",name:\"CREATE_ID\",originalKey:\"CREATE_ID\",label:\"\\u521B\\u5EFA\\u4EBA\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u521B\\u5EFA\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"UPDATE_ID\",originalKey:\"UPDATE_ID\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u4EBA\"},{type:\"datetime\",name:\"UPDATE_TIME\",originalKey:\"UPDATE_TIME\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"FControlUnitID\",originalKey:\"FControlUnitID\",label:\"\\u7EC4\\u7EC7\\u673A\\u6784\"}]},{name:\"erp_CustomerCat\",originalKey:\"erp_CustomerCat\",label:\"\\u5BA2\\u6237\\u7C7B\\u522B\\u8868\",module:\"ERP\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"ecc_Code\",originalKey:\"ecc_Code\",label:\"\\u7F16\\u7801\"},{type:\"nvarchar(50)\",name:\"ecc_Name\",originalKey:\"ecc_Name\",label:\"\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"ParentId\",originalKey:\"ParentId\",label:\"\\u4E0A\\u7EA7\\u5206\\u7C7B\"},{type:\"bit\",name:\"IsParent\",originalKey:\"IsParent\",label:\"\\u662F\\u5426\\u7236\\u8282\\u70B9\"},{type:\"bit\",name:\"IsLeaf\",originalKey:\"IsLeaf\",label:\"\\u662F\\u5426\\u53F6\\u8282\\u70B9\"},{type:\"nvarchar(2000)\",name:\"Arrange\",originalKey:\"Arrange\",label:\"\\u6811\\u72B6\\u652F\\u6301\\u7B26\\u53F7\"},{type:\"int\",name:\"TreeOrder\",originalKey:\"TreeOrder\",label:\"\\u6392\\u5E8F\"},{type:\"nvarchar(500)\",name:\"ecc_Remark\",originalKey:\"ecc_Remark\",label:\"\\u5907\\u6CE8\"},{type:\"nvarchar(50)\",name:\"CREATE_ID\",originalKey:\"CREATE_ID\",label:\"\\u521B\\u5EFA\\u4EBA\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u521B\\u5EFA\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"UPDATE_ID\",originalKey:\"UPDATE_ID\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u4EBA\"},{type:\"datetime\",name:\"UPDATE_TIME\",originalKey:\"UPDATE_TIME\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"FControlUnitID\",originalKey:\"FControlUnitID\",label:\"\\u7EC4\\u7EC7\\u673A\\u6784\"}]},{name:\"erp_SupplierCat\",originalKey:\"erp_SupplierCat\",label:\"\\u4F9B\\u5E94\\u5546\\u7C7B\\u522B\\u8868\",module:\"ERP\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"esc_Code\",originalKey:\"esc_Code\",label:\"\\u7F16\\u7801\"},{type:\"nvarchar(50)\",name:\"esc_Name\",originalKey:\"esc_Name\",label:\"\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"ParentId\",originalKey:\"ParentId\",label:\"\\u4E0A\\u7EA7\\u5206\\u7C7B\"},{type:\"bit\",name:\"IsParent\",originalKey:\"IsParent\",label:\"\\u662F\\u5426\\u7236\\u8282\\u70B9\"},{type:\"bit\",name:\"IsLeaf\",originalKey:\"IsLeaf\",label:\"\\u662F\\u5426\\u53F6\\u8282\\u70B9\"},{type:\"nvarchar(2000)\",name:\"Arrange\",originalKey:\"Arrange\",label:\"\\u6811\\u72B6\\u652F\\u6301\\u7B26\\u53F7\"},{type:\"int\",name:\"TreeOrder\",originalKey:\"TreeOrder\",label:\"\\u6392\\u5E8F\"},{type:\"nvarchar(500)\",name:\"esc_Remark\",originalKey:\"esc_Remark\",label:\"\\u5907\\u6CE8\"},{type:\"nvarchar(50)\",name:\"CREATE_ID\",originalKey:\"CREATE_ID\",label:\"\\u521B\\u5EFA\\u4EBA\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u521B\\u5EFA\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"UPDATE_ID\",originalKey:\"UPDATE_ID\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u4EBA\"},{type:\"datetime\",name:\"UPDATE_TIME\",originalKey:\"UPDATE_TIME\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"FControlUnitID\",originalKey:\"FControlUnitID\",label:\"\\u7EC4\\u7EC7\\u673A\\u6784\"}]},{name:\"erp_CustomerInfo\",originalKey:\"erp_CustomerInfo\",label:\"\\u5BA2\\u6237\\u4FE1\\u606F\\u8868\",module:\"ERP\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"ec_Code\",originalKey:\"ec_Code\",label:\"\\u7F16\\u7801\"},{type:\"nvarchar(50)\",name:\"ec_Name\",originalKey:\"ec_Name\",label:\"\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"ec_SimpleName\",originalKey:\"ec_SimpleName\",label:\"\\u7B80\\u79F0\"},{type:\"nvarchar(50)\",name:\"ec_EnglishName\",originalKey:\"ec_EnglishName\",label:\"\\u5916\\u6587\\u540D\\u5B57\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"ec_Cat\",typeMeta:{relationModel:\"erp_CustomerCat\",type:\"Relation\"},label:\"\\u6240\\u5C5E\\u7C7B\\u522B\"},{type:\"nvarchar(50)\",name:\"ec_LegalPerson\",originalKey:\"ec_LegalPerson\",label:\"\\u6CD5\\u4EBA\\u4EE3\\u8868\"},{type:\"nvarchar(50)\",name:\"ec_Linkman\",originalKey:\"ec_Linkman\",label:\"\\u8054\\u7CFB\\u4EBA\"},{type:\"nvarchar(50)\",name:\"ec_Tel\",originalKey:\"ec_Tel\",label:\"\\u8054\\u7CFB\\u7535\\u8BDD\"},{type:\"nvarchar(50)\",name:\"ec_Email\",originalKey:\"ec_Email\",label:\"\\u7535\\u5B50\\u90AE\\u7BB1\"},{type:\"nvarchar(50)\",name:\"ec_Area\",originalKey:\"ec_Area\",label:\"\\u6240\\u5C5E\\u5730\\u533A\"},{type:\"nvarchar(50)\",name:\"ec_PostalCode\",originalKey:\"ec_PostalCode\",label:\"\\u90AE\\u7F16\"},{type:\"nvarchar(200)\",name:\"ec_Addr\",originalKey:\"ec_Addr\",label:\"\\u5730\\u5740\"},{type:\"nvarchar(50)\",name:\"ec_Salesman\",originalKey:\"ec_Salesman\",label:\"\\u4E1A\\u52A1\\u5458\"},{type:\"int\",name:\"ec_Status\",originalKey:\"ec_Status\",label:\"\\u72B6\\u6001\"},{type:\"nvarchar(500)\",name:\"ec_Remark\",originalKey:\"ec_Remark\",label:\"\\u5907\\u6CE8\"},{type:\"nvarchar(50)\",name:\"CREATE_ID\",originalKey:\"CREATE_ID\",label:\"\\u521B\\u5EFA\\u4EBA\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u521B\\u5EFA\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"UPDATE_ID\",originalKey:\"UPDATE_ID\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u4EBA\"},{type:\"datetime\",name:\"UPDATE_TIME\",originalKey:\"UPDATE_TIME\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"FControlUnitID\",originalKey:\"FControlUnitID\",label:\"\\u7EC4\\u7EC7\\u673A\\u6784\"}]},{name:\"erp_SupplierInfo\",originalKey:\"erp_SupplierInfo\",label:\"\\u4F9B\\u5E94\\u5546\\u4FE1\\u606F\\u8868\",module:\"ERP\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"es_Cat\",typeMeta:{relationModel:\"erp_SupplierCat\",type:\"Relation\"},label:\"\\u6240\\u5C5E\\u7C7B\\u522B\"},{type:\"nvarchar(50)\",name:\"es_Code\",originalKey:\"es_Code\",label:\"\\u7F16\\u7801\"},{type:\"nvarchar(50)\",name:\"es_Name\",originalKey:\"es_Name\",label:\"\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"es_SimpleName\",originalKey:\"es_SimpleName\",label:\"\\u7B80\\u79F0\"},{type:\"nvarchar(50)\",name:\"es_EnglishName\",originalKey:\"es_EnglishName\",label:\"\\u5916\\u6587\\u540D\\u5B57\"},{type:\"nvarchar(50)\",name:\"es_LegalPerson\",originalKey:\"es_LegalPerson\",label:\"\\u6CD5\\u4EBA\\u4EE3\\u8868\"},{type:\"nvarchar(50)\",name:\"es_Tel\",originalKey:\"es_Tel\",label:\"\\u8054\\u7CFB\\u7535\\u8BDD\"},{type:\"nvarchar(50)\",name:\"es_Eamil\",originalKey:\"es_Eamil\",label:\"\\u7535\\u5B50\\u90AE\\u7BB1\"},{type:\"nvarchar(50)\",name:\"es_Addr\",originalKey:\"es_Addr\",label:\"\\u5730\\u5740\"},{type:\"nvarchar(50)\",name:\"es_Salesman\",originalKey:\"es_Salesman\",label:\"\\u4E1A\\u52A1\\u5458\"},{type:\"nvarchar(50)\",name:\"es_BizRegisterNo\",originalKey:\"es_BizRegisterNo\",label:\"\\u5DE5\\u5546\\u6CE8\\u518C\\u53F7\"},{type:\"nvarchar(50)\",name:\"es_BusiLicence\",originalKey:\"es_BusiLicence\",label:\"\\u8425\\u4E1A\\u6267\\u7167\"},{type:\"nvarchar(50)\",name:\"es_TaxRegisterNo\",originalKey:\"es_TaxRegisterNo\",label:\"\\u7A0E\\u52A1\\u767B\\u8BB0\\u53F7\"},{type:\"int\",name:\"es_Status\",originalKey:\"es_Status\",label:\"\\u72B6\\u6001\"},{type:\"nvarchar(200)\",name:\"es_Remark\",originalKey:\"es_Remark\",label:\"\\u5907\\u6CE8\"},{type:\"nvarchar(50)\",name:\"CREATE_ID\",originalKey:\"CREATE_ID\",label:\"\\u521B\\u5EFA\\u4EBA\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u521B\\u5EFA\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"UPDATE_ID\",originalKey:\"UPDATE_ID\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u4EBA\"},{type:\"datetime\",name:\"UPDATE_TIME\",originalKey:\"UPDATE_TIME\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"FControlUnitID\",originalKey:\"FControlUnitID\",label:\"\\u7EC4\\u7EC7\\u673A\\u6784\"}]},{name:\"erp_DepartmentInfo\",originalKey:\"erp_DepartmentInfo\",label:\"\\u90E8\\u95E8\\u4FE1\\u606F\\u8868\",module:\"ERP\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"ed_Code\",originalKey:\"ed_Code\",label:\"\\u7F16\\u7801\"},{type:\"nvarchar(50)\",name:\"ed_Name\",originalKey:\"ed_Name\",label:\"\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"ParentId\",originalKey:\"ParentId\",label:\"\\u4E0A\\u7EA7\\u5206\\u7C7B\"},{type:\"bit\",name:\"IsParent\",originalKey:\"IsParent\",label:\"\\u662F\\u5426\\u7236\\u8282\\u70B9\"},{type:\"bit\",name:\"IsLeaf\",originalKey:\"IsLeaf\",label:\"\\u662F\\u5426\\u53F6\\u8282\\u70B9\"},{type:\"nvarchar(2000)\",name:\"Arrange\",originalKey:\"Arrange\",label:\"\\u6811\\u72B6\\u652F\\u6301\\u7B26\\u53F7\"},{type:\"int\",name:\"TreeOrder\",originalKey:\"TreeOrder\",label:\"\\u6392\\u5E8F\"},{type:\"nvarchar(500)\",name:\"ed_Remark\",originalKey:\"ed_Remark\",label:\"\\u5907\\u6CE8\"},{type:\"nvarchar(50)\",name:\"CREATE_ID\",originalKey:\"CREATE_ID\",label:\"\\u521B\\u5EFA\\u4EBA\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u521B\\u5EFA\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"UPDATE_ID\",originalKey:\"UPDATE_ID\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u4EBA\"},{type:\"datetime\",name:\"UPDATE_TIME\",originalKey:\"UPDATE_TIME\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"FControlUnitID\",originalKey:\"FControlUnitID\",label:\"\\u7EC4\\u7EC7\\u673A\\u6784\"}]},{name:\"erp_UserInfo\",originalKey:\"erp_UserInfo\",label:\"\\u5458\\u5DE5\\u4FE1\\u606F\\u8868\",module:\"ERP\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"eu_Code\",originalKey:\"eu_Code\",label:\"\\u7F16\\u7801\"},{type:\"nvarchar(50)\",name:\"eu_Name\",originalKey:\"eu_Name\",label:\"\\u540D\\u5B57\"},{type:\"nvarchar(50)\",name:\"eu_EnglishName\",originalKey:\"eu_EnglishName\",label:\"\\u5916\\u6587\\u540D\\u5B57\"},{type:\"nvarchar(50)\",name:\"eu_BirthDate\",originalKey:\"eu_BirthDate\",label:\"\\u51FA\\u751F\\u5E74\\u6708\"},{type:\"nvarchar(50)\",name:\"eu_EntryDate\",originalKey:\"eu_EntryDate\",label:\"\\u5165\\u804C\\u65F6\\u95F4\"},{type:\"int\",name:\"eu_Cultural\",originalKey:\"eu_Cultural\",label:\"\\u6587\\u5316\\u6C34\\u5E73\"},{type:\"nvarchar(50)\",name:\"eu_IDCard\",originalKey:\"eu_IDCard\",label:\"\\u8EAB\\u4EFD\\u8BC1\\u53F7\"},{type:\"nvarchar(50)\",name:\"eu_Tel\",originalKey:\"eu_Tel\",label:\"\\u7535\\u8BDD\"},{type:\"nvarchar(50)\",name:\"eu_Position\",originalKey:\"eu_Position\",label:\"\\u804C\\u4F4D\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"eu_Department\",typeMeta:{relationModel:\"erp_DepartmentInfo\",type:\"Relation\"},label:\"\\u6240\\u5C5E\\u90E8\\u95E8\"},{type:\"nvarchar(500)\",name:\"eu_Remark\",originalKey:\"eu_Remark\",label:\"\\u5907\\u6CE8\"},{type:\"nvarchar(50)\",name:\"CREATE_ID\",originalKey:\"CREATE_ID\",label:\"\\u521B\\u5EFA\\u4EBA\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u521B\\u5EFA\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"UPDATE_ID\",originalKey:\"UPDATE_ID\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u4EBA\"},{type:\"datetime\",name:\"UPDATE_TIME\",originalKey:\"UPDATE_TIME\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"FControlUnitID\",originalKey:\"FControlUnitID\",label:\"\\u7EC4\\u7EC7\\u673A\\u6784\"}]},{name:\"erp_BaseOperatorLog\",originalKey:\"erp_BaseOperatorLog\",label:\"\\u57FA\\u7840\\u4FE1\\u606F\\u64CD\\u4F5C\\u65E5\\u5FD7\",module:\"ERP\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"ebol_Operator\",originalKey:\"ebol_Operator\",label:\"\\u64CD\\u4F5C\\u4EBA\"},{type:\"nvarchar(50)\",name:\"ebol_TableName\",originalKey:\"ebol_TableName\",label:\"\\u8868\\u540D\"},{type:\"int\",name:\"ebol_OperationType\",originalKey:\"ebol_OperationType\",label:\"\\u64CD\\u4F5C\\u7C7B\\u578B\"},{type:\"nvarchar(500)\",name:\"ebol_Content\",originalKey:\"ebol_Content\",label:\"\\u64CD\\u4F5C\\u5185\\u5BB9\"},{type:\"nvarchar(50)\",name:\"CREATE_ID\",originalKey:\"CREATE_ID\",label:\"\\u521B\\u5EFA\\u4EBA\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u521B\\u5EFA\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"UPDATE_ID\",originalKey:\"UPDATE_ID\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u4EBA\"},{type:\"datetime\",name:\"UPDATE_TIME\",originalKey:\"UPDATE_TIME\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"FControlUnitID\",originalKey:\"FControlUnitID\",label:\"\\u7EC4\\u7EC7\\u673A\\u6784\"}]},{name:\"erp_ContactInfo\",originalKey:\"erp_ContactInfo\",label:\"\\u8054\\u7CFB\\u4EBA\",module:\"ERP\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"ec_ForeignKey\",typeMeta:{relationModel:\"erp_CustomerInfo\",type:\"Relation\"},label:\"\\u5916\\u952E\"},{type:\"nvarchar(50)\",name:\"ec_ContactName\",originalKey:\"ec_ContactName\",label:\"\\u8054\\u7CFB\\u4EBA\"},{type:\"nvarchar(50)\",name:\"ec_Post\",originalKey:\"ec_Post\",label:\"\\u804C\\u52A1\"},{type:\"nvarchar(50)\",name:\"ec_Phone\",originalKey:\"ec_Phone\",label:\"\\u7535\\u8BDD\"},{type:\"nvarchar(50)\",name:\"ec_TelPhone\",originalKey:\"ec_TelPhone\",label:\"\\u624B\\u673A\"},{type:\"nvarchar(50)\",name:\"ec_Fax\",originalKey:\"ec_Fax\",label:\"\\u4F20\\u771F\"},{type:\"nvarchar(50)\",name:\"ec_Email\",originalKey:\"ec_Email\",label:\"\\u90AE\\u7BB1\"},{type:\"nvarchar(50)\",name:\"ec_Postalcode\",originalKey:\"ec_Postalcode\",label:\"\\u90AE\\u653F\\u7F16\\u7801\"},{type:\"nvarchar(200)\",name:\"ec_Addr\",originalKey:\"ec_Addr\",label:\"\\u5730\\u5740\"},{type:\"nvarchar(50)\",name:\"CREATE_ID\",originalKey:\"CREATE_ID\",label:\"\\u521B\\u5EFA\\u4EBA\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u521B\\u5EFA\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"UPDATE_ID\",originalKey:\"UPDATE_ID\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u4EBA\"},{type:\"datetime\",name:\"UPDATE_TIME\",originalKey:\"UPDATE_TIME\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"FControlUnitID\",originalKey:\"FControlUnitID\",label:\"\\u7EC4\\u7EC7\\u673A\\u6784\"}]},{name:\"erp_BankAccount\",originalKey:\"erp_BankAccount\",label:\"\\u94F6\\u884C\\u8D26\\u53F7\",module:\"ERP\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"eba_ForeignKey\",typeMeta:{relationModel:\"erp_CustomerInfo\",type:\"Relation\"},label:\"\\u5916\\u952E\"},{type:\"int\",name:\"eba_Type\",originalKey:\"eba_Type\",label:\"\\u8D26\\u6237\\u7C7B\\u578B\"},{type:\"nvarchar(50)\",name:\"eba_Bank\",originalKey:\"eba_Bank\",label:\"\\u5F00\\u6237\\u94F6\\u884C\"},{type:\"nvarchar(50)\",name:\"eba_Number\",originalKey:\"eba_Number\",label:\"\\u8D26\\u53F7\"},{type:\"nvarchar(50)\",name:\"eba_Currency\",originalKey:\"eba_Currency\",label:\"\\u5E01\\u79CD\"},{type:\"nvarchar(50)\",name:\"eba_Property\",originalKey:\"eba_Property\",label:\"\\u8D26\\u6237\\u7528\\u9014\"},{type:\"nvarchar(200)\",name:\"eba_Addr\",originalKey:\"eba_Addr\",label:\"\\u94F6\\u884C\\u5730\\u5740\"},{type:\"nvarchar(50)\",name:\"CREATE_ID\",originalKey:\"CREATE_ID\",label:\"\\u521B\\u5EFA\\u4EBA\"},{type:\"datetime\",name:\"CREATE_TIME\",originalKey:\"CREATE_TIME\",label:\"\\u521B\\u5EFA\\u65F6\\u95F4\"},{type:\"nvarchar(50)\",name:\"UPDATE_ID\",originalKey:\"UPDATE_ID\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u4EBA\"},{type:\"datetime\",name:\"UPDATE_TIME\",originalKey:\"UPDATE_TIME\",label:\"\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4\"}]},{name:\"T9_Customer\",originalKey:\"T9_Customer\",label:\"\\u5BA2\\u6237\\u4FE1\\u606F\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"FID\",typeMeta:{relationModel:\"T9_Repair_flow\",type:\"Relation\"},label:\"\\u7F16\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9C_CarNum\",originalKey:\"T9C_CarNum\",label:\"\\u8F66\\u8F86\\u7F16\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9C_Name\",originalKey:\"T9C_Name\",label:\"\\u59D3\\u540D\"},{type:\"nvarchar(200)\",name:\"T9C_Number\",originalKey:\"T9C_Number\",label:\"\\u8054\\u7CFB\\u65B9\\u5F0F\"},{type:\"datetime\",name:\"T9C_DateOfBirth\",originalKey:\"T9C_DateOfBirth\",label:\"\\u51FA\\u751F\\u65E5\\u671F\"},{type:\"nvarchar(max)\",name:\"T9C_Address\",originalKey:\"T9C_Address\",label:\"\\u5730\\u5740\"},{type:\"int\",name:\"T9C_Sex\",originalKey:\"T9C_Sex\",label:\"\\u6027\\u522B\"},{type:\"nvarchar(50)\",name:\"T9C_LinkMan\",originalKey:\"T9C_LinkMan\",label:\"\\u8054\\u7CFB\\u4EBA\"}]},{name:\"T9_Repair_flow\",originalKey:\"T9_Repair_flow\",label:\"\\u7EF4\\u4FEE\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"T9R_RepairId\",typeMeta:{relationModel:\"T9_NewRepairParts\",type:\"Relation\"},label:\"\\u6D3E\\u5355\\u7F16\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9R_CustomerId\",originalKey:\"T9R_CustomerId\",label:\"\\u8F66\\u4E3B\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"T9R_CarId\",typeMeta:{relationModel:\"T9_Car\",type:\"Relation\"},label:\"\\u6C7D\\u8F66\\u7F16\\u53F7\"},{type:\"int\",name:\"T9R_Satisfaction\",originalKey:\"T9R_Satisfaction\",label:\"\\u6EE1\\u610F\\u5EA6\"},{type:\"numeric(18,4)\",name:\"T9R_Taxfee\",originalKey:\"T9R_Taxfee\",label:\"\\u7A0E\\u8D39\"},{type:\"nvarchar(50)\",name:\"T9R_PickMan\",originalKey:\"T9R_PickMan\",label:\"\\u63A5\\u8F66\\u4EBA\"},{type:\"int\",name:\"T9R_RepairType\",originalKey:\"T9R_RepairType\",label:\"\\u7EF4\\u4FEE\\u7C7B\\u578B\"},{type:\"nvarchar(max)\",name:\"T9R_PartNote\",originalKey:\"T9R_PartNote\",label:\"\\u914D\\u4EF6\\u5907\\u6CE8\"},{type:\"nvarchar(max)\",name:\"T9R_WorkHoursNote\",originalKey:\"T9R_WorkHoursNote\",label:\"\\u5DE5\\u65F6\\u5907\\u6CE8\"},{type:\"nvarchar(max)\",name:\"T9R_SettlementNote\",originalKey:\"T9R_SettlementNote\",label:\"\\u7ED3\\u7B97\\u5907\\u6CE8\"},{type:\"nvarchar(50)\",name:\"T9R_ContractNum\",originalKey:\"T9R_ContractNum\",label:\"\\u7EF4\\u4FEE\\u5408\\u540C\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9R_WorkOrderNum\",originalKey:\"T9R_WorkOrderNum\",label:\"\\u5DE5\\u5355\\u53F7\\u7801\"},{type:\"nvarchar(50)\",name:\"T9R_HandNumber\",originalKey:\"T9R_HandNumber\",label:\"\\u4EA4\\u63A5\\u5355\\u53F7\"},{type:\"numeric(18,4)\",name:\"T9R_Withholding\",originalKey:\"T9R_Withholding\",label:\"\\u4EE3\\u6536\\u4EE3\\u7F34\"},{type:\"numeric(18,4)\",name:\"T9R_Total\",originalKey:\"T9R_Total\",label:\"\\u603B\\u8BA1\\uFF08\\u5143\\uFF09\"},{type:\"nvarchar(50)\",name:\"T9R_Reckoner\",originalKey:\"T9R_Reckoner\",label:\"\\u7ED3\\u7B97\\u4EBA\"},{type:\"nvarchar(50)\",name:\"T9R_AccountNum\",originalKey:\"T9R_AccountNum\",label:\"\\u8D26\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9R_DutyParagraph\",originalKey:\"T9R_DutyParagraph\",label:\"\\u7A0E\\u53F7\"},{type:\"datetime\",name:\"T9R_OutfactoryTime\",originalKey:\"T9R_OutfactoryTime\",label:\"\\u51FA\\u5382\\u65F6\\u95F4\"},{type:\"datetime\",name:\"T9R_IntofactoryTime\",originalKey:\"T9R_IntofactoryTime\",label:\"\\u8FDB\\u5382\\u65F6\\u95F4\"},{type:\"datetime\",name:\"T9R_SettementDate\",originalKey:\"T9R_SettementDate\",label:\"\\u7ED3\\u7B97\\u65E5\\u671F\"},{type:\"datetime\",name:\"T9R_HandDate\",originalKey:\"T9R_HandDate\",label:\"\\u4EA4\\u63A5\\u65E5\\u671F\"},{type:\"datetime\",name:\"T9R_PreHandDate\",originalKey:\"T9R_PreHandDate\",label:\"\\u9884\\u8BA1\\u4EA4\\u4ED8\\u65E5\\u671F\"},{type:\"numeric(18,4)\",name:\"T9R_PreMaterial\",originalKey:\"T9R_PreMaterial\",label:\"\\u9884\\u8BA1\\u6750\\u6599\\u8D39\\uFF08\\u542B\\u7BA1\\u7406\\u8D39\\uFF09\"},{type:\"numeric(18,4)\",name:\"T9R_PreLabor\",originalKey:\"T9R_PreLabor\",label:\"\\u9884\\u8BA1\\u5DE5\\u65F6\\u8D39\"},{type:\"numeric(18,4)\",name:\"T9R_PreRepairSum\",originalKey:\"T9R_PreRepairSum\",label:\"\\u9884\\u8BA1\\u4FEE\\u7406\\u8D39\\u603B\\u548C\"},{type:\"numeric(18,4)\",name:\"T9R_AddMater\",originalKey:\"T9R_AddMater\",label:\"\\u9700\\u589E\\u6750\\u6599\\u8D39\"},{type:\"numeric(18,4)\",name:\"T9R_AddLabor\",originalKey:\"T9R_AddLabor\",label:\"\\u9700\\u589E\\u5DE5\\u65F6\\u8D39\"},{type:\"numeric(18,4)\",name:\"T9R_AddRepairSum\",originalKey:\"T9R_AddRepairSum\",label:\"\\u9700\\u589E\\u4FEE\\u7406\\u8D39\\u603B\\u8BA1\"},{type:\"datetime\",name:\"T9R_DateAlter\",originalKey:\"T9R_DateAlter\",label:\"\\u4EA4\\u4ED8\\u65E5\\u671F\\u4FEE\\u8BA2\"},{type:\"nvarchar(50)\",name:\"T9R_Detection\",originalKey:\"T9R_Detection\",label:\"\\u59D4\\u6258\\u4FEE\\u7406\\u9879\\u76EE\\u68C0\\u9A8C\"},{type:\"nvarchar(200)\",name:\"T9R_Opinion\",originalKey:\"T9R_Opinion\",label:\"\\u63D0\\u793A\\u548C\\u5EFA\\u8BAE\"},{type:\"numeric(18,4)\",name:\"T9R_PartPercen\",originalKey:\"T9R_PartPercen\",label:\"\\u6750\\u6599\\u767E\\u5206\\u6BD4\"},{type:\"nvarchar(50)\",name:\"T9R_ChassisID\",originalKey:\"T9R_ChassisID\",label:\"\\u8F66\\u67B6\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9R_ReceiveID\",originalKey:\"T9R_ReceiveID\",label:\"\\u63A5\\u5F85\\u8005id\"}]},{name:\"T9eng_WorkHours\",originalKey:\"T9eng_WorkHours\",label:\"\\u5DE5\\u65F6\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9W_RepairId\",originalKey:\"T9W_RepairId\",label:\"\\u6D3E\\u5355\\u53F7\"},{type:\"nvarchar(max)\",name:\"T9W_Content\",originalKey:\"T9W_Content\",label:\"\\u5185\\u5BB9\"},{type:\"numeric(18,4)\",name:\"T9W_Money\",originalKey:\"T9W_Money\",label:\"\\u5DE5\\u65F6\\u603B\\u4EF7\"},{type:\"numeric(18,4)\",name:\"T9W_Price\",originalKey:\"T9W_Price\",label:\"\\u5DE5\\u65F6\\u5355\\u4EF7\"},{type:\"datetime\",name:\"T9W_WorkTime\",originalKey:\"T9W_WorkTime\",label:\"\\u5DE5\\u65F6\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"T9W_Class\",typeMeta:{relationModel:\"T9_ClassGroup\",type:\"Relation\"},label:\"\\u73ED\\u7EC4\"}]},{name:\"T9_RepairParts\",originalKey:\"T9_RepairParts\",label:\"\\u7EF4\\u4FEE\\u914D\\u4EF6\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9P_RepairId\",originalKey:\"T9P_RepairId\",label:\"\\u6D3E\\u5355\\u53F7\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"T9P_Partsid\",typeMeta:{relationModel:\"T9_PartManger\",type:\"Relation\"},label:\"\\u914D\\u4EF6\\u540D\\u79F0\"},{type:\"int\",name:\"T9P_Number\",originalKey:\"T9P_Number\",label:\"\\u6570\\u91CF\"},{type:\"decimal(18,4)\",name:\"T9P_ExpectPrice\",originalKey:\"T9P_ExpectPrice\",label:\"\\u9884\\u8BA1\\u5355\\u4EF7\\u8D39\"},{type:\"decimal(18,4)\",name:\"T9P_ExpectAllCost\",originalKey:\"T9P_ExpectAllCost\",label:\"\\u9884\\u8BA1\\u603B\\u8D39\\u7528\"},{type:\"decimal(18,4)\",name:\"T9P_RealPrice\",originalKey:\"T9P_RealPrice\",label:\"\\u5B9E\\u9645\\u5355\\u4EF7\\u8D39\"},{type:\"decimal(18,4)\",name:\"T9P_RealAllCost\",originalKey:\"T9P_RealAllCost\",label:\"\\u5B9E\\u9645\\u603B\\u8D39\\u7528\"}]},{name:\"T9_Car\",originalKey:\"T9_Car\",label:\"\\u6C7D\\u8F66\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9C_LicenseMember\",originalKey:\"T9C_LicenseMember\",label:\"\\u8F66\\u724C\\u53F7\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"T9C_CarType\",typeMeta:{relationModel:\"T9_CarStyle\",type:\"Relation\"},label:\"\\u8F66\\u578B\"},{type:\"nvarchar(50)\",name:\"T9C_Color\",originalKey:\"T9C_Color\",label:\"\\u989C\\u8272\"},{type:\"nvarchar(50)\",name:\"T9C_CustomerId\",originalKey:\"T9C_CustomerId\",label:\"\\u8F66\\u4E3BID\"},{type:\"datetime\",name:\"T9C_DateOfAcquistion\",originalKey:\"T9C_DateOfAcquistion\",label:\"\\u8D2D\\u7F6E\\u65E5\\u671F\"},{type:\"nvarchar(50)\",name:\"T9C_Journey\",originalKey:\"T9C_Journey\",label:\"\\u884C\\u7A0B\\u516C\\u91CC\"}]},{name:\"T9_NewRepairParts\",originalKey:\"T9_NewRepairParts\",label:\"\\u65B0\\u589E\\u7EF4\\u4FEE\\u914D\\u4EF6\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9P_RepairId\",originalKey:\"T9P_RepairId\",label:\"\\u6D3E\\u5355\\u53F7\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"T9P_PartsId\",typeMeta:{relationModel:\"T9_PartManger\",type:\"Relation\"},label:\"\\u914D\\u4EF6\\u540D\\u79F0\"},{type:\"int\",name:\"T9P_Number\",originalKey:\"T9P_Number\",label:\"\\u6570\\u91CF\"},{type:\"decimal(18,4)\",name:\"T9P_ExpectPrice\",originalKey:\"T9P_ExpectPrice\",label:\"\\u9884\\u8BA1\\u5355\\u4EF7\\u8D39\"},{type:\"decimal(18,4)\",name:\"T9P_ExpectAllCost\",originalKey:\"T9P_ExpectAllCost\",label:\"\\u9884\\u8BA1\\u603B\\u8D39\\u7528\"},{type:\"decimal(18,4)\",name:\"T9P_RealPrice\",originalKey:\"T9P_RealPrice\",label:\"\\u5B9E\\u9645\\u5355\\u4EF7\\u8D39\"},{type:\"decimal(18,4)\",name:\"T9P_RealAllCost\",originalKey:\"T9P_RealAllCost\",label:\"\\u5B9E\\u9645\\u603B\\u8D39\\u7528\"}]},{name:\"T9_PartManger\",originalKey:\"T9_PartManger\",label:\"\\u914D\\u4EF6\\u7BA1\\u7406\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"FID\",typeMeta:{relationModel:\"T9_PartsPrice\",type:\"Relation\"},label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9P_ID\",originalKey:\"T9P_ID\",label:\"\\u914D\\u4EF6\\u7F16\\u53F7\"},{type:\"nvarchar(max)\",name:\"T9P_Name\",originalKey:\"T9P_Name\",label:\"\\u914D\\u4EF6\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"T9P_Unit\",originalKey:\"T9P_Unit\",label:\"\\u5355\\u4F4D\"},{type:\"numeric(18,4)\",name:\"T9P_Money\",originalKey:\"T9P_Money\",label:\"\\u91D1\\u989D\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"T9P_CarKind\",typeMeta:{relationModel:\"T9_CarStyle\",type:\"Relation\"},label:\"\\u8F66\\u7CFB\"},{type:\"numeric(18,4)\",name:\"T9P_RemainMoney\",originalKey:\"T9P_RemainMoney\",label:\"\\u5E93\\u5B58\\u4F59\\u989D\"},{type:\"nvarchar(50)\",name:\"T9P_CarStyle\",originalKey:\"T9P_CarStyle\",label:\"\\u8F66\\u578B\"},{type:\"nvarchar(50)\",name:\"T9P_CarBrand\",originalKey:\"T9P_CarBrand\",label:\"\\u8F66\\u54C1\\u724C\"},{type:\"nvarchar(50)\",name:\"T9P_OriFactoryID\",originalKey:\"T9P_OriFactoryID\",label:\"\\u539F\\u5382\\u7F16\\u7801\"},{type:\"nvarchar(50)\",name:\"T9P_InventoryID\",originalKey:\"T9P_InventoryID\",label:\"\\u5E93\\u5B58\\u7F16\\u7801\"},{type:\"nvarchar(50)\",name:\"T9P_GoodsID\",originalKey:\"T9P_GoodsID\",label:\"\\u8D27\\u4F4D\\u7F16\\u7801\"}]},{name:\"T9_Repairshops\",originalKey:\"T9_Repairshops\",label:\"\\u7EF4\\u4FEE\\u5382\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9R_Name\",originalKey:\"T9R_Name\",label:\"\\u7EF4\\u4FEE\\u5382\\u540D\\u79F0\"},{type:\"nvarchar(Max)\",name:\"T9R_Adress\",originalKey:\"T9R_Adress\",label:\"\\u7EF4\\u4FEE\\u5382\\u5730\\u5740\"},{type:\"nvarchar(50)\",name:\"T9R_Area\",originalKey:\"T9R_Area\",label:\"\\u6240\\u5728\\u533A\\u57DF\"},{type:\"nvarchar(50)\",name:\"T9R_LinkMan\",originalKey:\"T9R_LinkMan\",label:\"\\u8054\\u7CFB\\u4EBA\"},{type:\"nvarchar(50)\",name:\"T9R_Tel\",originalKey:\"T9R_Tel\",label:\"\\u8054\\u7CFB\\u7535\\u8BDD\"},{type:\"nvarchar(50)\",name:\"T9R_ Facsimile\",originalKey:\"T9R_ Facsimile\",label:\"\\u4F20\\u771F\"},{type:\"nvarchar(50)\",name:\"T9R_Postalcode\",originalKey:\"T9R_Postalcode\",label:\"\\u90AE\\u653F\\u7F16\\u7801\"},{type:\"nvarchar(200)\",name:\"T9R_Note\",originalKey:\"T9R_Note\",label:\"\\u5907\\u6CE8\"},{type:\"nvarchar(50)\",name:\"T9R_GroupSign\",originalKey:\"T9R_GroupSign\",label:\"\\u7EC4\\u7EC7\\u6807\\u5FD7\"}]},{name:\"T9_Supplier\",originalKey:\"T9_Supplier\",label:\"\\u4F9B\\u5E94\\u5546\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9S_Name\",originalKey:\"T9S_Name\",label:\"\\u4F9B\\u5E94\\u5546\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"T9S_Brand\",originalKey:\"T9S_Brand\",label:\"\\u4F9B\\u5E94\\u54C1\\u724C\"},{type:\"nvarchar(Max)\",name:\"T9S_RepairAdress\",originalKey:\"T9S_RepairAdress\",label:\"\\u7EF4\\u4FEE\\u5382\\u5730\\u5740\"},{type:\"nvarchar(50)\",name:\"T9S_Area\",originalKey:\"T9S_Area\",label:\"\\u6240\\u5728\\u533A\\u57DF\"},{type:\"nvarchar(50)\",name:\"T9S_LinkMan\",originalKey:\"T9S_LinkMan\",label:\"\\u8054\\u7CFB\\u4EBA\"},{type:\"nvarchar(50)\",name:\"T9S_Tel\",originalKey:\"T9S_Tel\",label:\"\\u8054\\u7CFB\\u7535\\u8BDD\"},{type:\"nvarchar(50)\",name:\"T9S_ Facsimile\",originalKey:\"T9S_ Facsimile\",label:\"\\u4F20\\u771F\"},{type:\"nvarchar(50)\",name:\"T9S_Postalcode\",originalKey:\"T9S_Postalcode\",label:\"\\u90AE\\u653F\\u7F16\\u7801\"},{type:\"nvarchar(200)\",name:\"T9S_Note\",originalKey:\"T9S_Note\",label:\"\\u5907\\u6CE8\"},{type:\"vnarchar(50)\",name:\"T9S_GroupSign\",originalKey:\"T9S_GroupSign\",label:\"\\u7EC4\\u7EC7\\u6807\\u5FD7\"}]},{name:\"T9_CarStyle\",originalKey:\"T9_CarStyle\",label:\"\\u8F66\\u578B\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9C_Name\",originalKey:\"T9C_Name\",label:\"\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"T9C_SeriesID\",typeMeta:{relationModel:\"T9_CarKind\",type:\"Relation\"},label:\"\\u8F66\\u7CFBID\"}]},{name:\"T9_Procurement\",originalKey:\"T9_Procurement\",label:\"\\u7ADE\\u4EF7\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9P_RepairfactoryFID\",originalKey:\"T9P_RepairfactoryFID\",label:\"\\u7EF4\\u4FEE\\u5382FID\"},{type:\"nvarchar(Max)\",name:\"T9P_Adress\",originalKey:\"T9P_Adress\",label:\"\\u6536\\u8D27\\u5730\\u5740\"},{type:\"nvarchar(50)\",name:\"T9P_LinkMan\",originalKey:\"T9P_LinkMan\",label:\"\\u6536\\u8D27\\u4EBA\"},{type:\"nvarchar(50)\",name:\"T9P_LinkTel\",originalKey:\"T9P_LinkTel\",label:\"\\u6536\\u4EBA\\u8054\\u7CFB\\u65B9\\u5F0F\"},{type:\"nvarchar(50)\",name:\"T9P_CarStyleID\",originalKey:\"T9P_CarStyleID\",label:\"\\u8F66\\u7CFBID\"},{type:\"nvarchar(50)\",name:\"T9P_PartName\",originalKey:\"T9P_PartName\",label:\"\\u914D\\u4EF6ID\"},{type:\"nvarchar(200)\",name:\"T9P_Note\",originalKey:\"T9P_Note\",label:\"\\u5907\\u6CE8\"},{type:\"nvarchar(50)\",name:\"T9P_Num\",originalKey:\"T9P_Num\",label:\"\\u6570\\u91CF\"},{type:\"numeric(18,4)\",name:`T9P_finallyprice\\r\nT9P_FinallyPirce`,originalKey:`T9P_finallyprice\\r\nT9P_FinallyPirce`,label:\"\\u6700\\u7EC8\\u6210\\u4EA4\\u4EF7\\u683C\"},{type:\"numeric(18,4)\",name:\"T9P_MinPrice\",originalKey:\"T9P_MinPrice\",label:\"\\u7ADE\\u4EF7\\u6700\\u4F4E\\u4EF7\\u683C\"},{type:\"int\",name:\"T9P_PriceState\",originalKey:\"T9P_PriceState\",label:\"\\u91C7\\u8D2D\\u4FE1\\u606F\\u72B6\\u6001\"},{type:\"nvarchar(50)\",name:\"T9P_SupplierID\",originalKey:\"T9P_SupplierID\",label:\"\\u4F9B\\u5E94\\u5546ID\"},{type:\"nvarchar(50)\",name:\"T9P_CarKind\",originalKey:\"T9P_CarKind\",label:\"\\u8F66\\u7CFB\"},{type:\"nvarchar(50)\",name:\"T9P_CarStyle\",originalKey:\"T9P_CarStyle\",label:\"\\u8F66\\u578B\"},{type:\"nvarchar(50)\",name:\"T9P_CarBrand\",originalKey:\"T9P_CarBrand\",label:\"\\u8F66\\u54C1\\u724C\"},{type:\"nvarchar(50)\",name:\"T9P_PartUnit\",originalKey:\"T9P_PartUnit\",label:\"\\u914D\\u4EF6\\u5355\\u4F4D\"},{name:\"T9P_finallyOnePrice\",originalKey:\"T9P_finallyOnePrice\",label:\"\\u6700\\u603B\\u5355\\u4EF7\"},{type:\"nvarchar(50)\",name:\"T9P_ServiceID\",originalKey:\"T9P_ServiceID\",label:\"\\u7EF4\\u4FEE\\u7F16\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9P_CarID\",originalKey:\"T9P_CarID\",label:\"\\u6C7D\\u8F66\\u7F16\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9P_CustomerID\",originalKey:\"T9P_CustomerID\",label:\"\\u5BA2\\u6237\\u7F16\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9P_OrderID\",originalKey:\"T9P_OrderID\",label:\"\\u8BA2\\u5355\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9P_ChassisID\",originalKey:\"T9P_ChassisID\",label:\"\\u8F66\\u67B6\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9P_LicenseID\",originalKey:\"T9P_LicenseID\",label:\"\\u8F66\\u724C\\u53F7\"},{type:\"ntext\",name:\"T9P_Picture\",originalKey:\"T9P_Picture\",label:\"\\u7167\\u7247\"}]},{name:\"T9_Bidding\",originalKey:\"T9_Bidding\",label:\"\\u62A5\\u4EF7\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"FID\",typeMeta:{relationModel:\"T9_Procurement\",type:\"Relation\"},label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9P_FID\",originalKey:\"T9P_FID\",label:\"\\u4F9B\\u5E94\\u5546FID\"},{type:\"nvarchar(50)\",name:\"T9B_FID\",originalKey:\"T9B_FID\",label:\"\\u91C7\\u8D2DFID\"},{type:\"numeric(18,4)\",name:\"T9B_Price\",originalKey:\"T9B_Price\",label:\"\\u7ADE\\u4EF7\"},{type:\"nvarchar(50)\",name:\"T9B_Number\",originalKey:\"T9B_Number\",label:\"\\u6570\\u91CF\"},{type:\"numeric(18,4)\",name:\"T9B_Money\",originalKey:\"T9B_Money\",label:\"\\u91D1\\u989D\"},{type:\"nvarchar(50)\",name:\"T9B_WinBidding\",originalKey:\"T9B_WinBidding\",label:\"\\u662F\\u5426\\u4E2D\\u6807\"}]},{name:\"T9_ClassGroup\",originalKey:\"T9_ClassGroup\",label:\"\\u73ED\\u7EC4\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9C_Name\",originalKey:\"T9C_Name\",label:\"\\u73ED\\u7EC4\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"T9C_Sign\",originalKey:\"T9C_Sign\",label:\"\\u73ED\\u7EC4\\u6807\\u8BC6(\\u82F1\\u6587\\u540D)\"},{type:\"decimal(18,4)\",name:\"T9C_HourlyRate\",originalKey:\"T9C_HourlyRate\",label:\"\\u65F6\\u85AA\"}]},{name:\"T9_CarKind\",originalKey:\"T9_CarKind\",label:\"\\u8F66\\u7CFB\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9C_Kind\",originalKey:\"T9C_Kind\",label:\"\\u8F66\\u7CFB\"},{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"T9C_BrandFID\",typeMeta:{relationModel:\"T9_CarBrand\",type:\"Relation\"},label:\"\\u54C1\\u724CFID\"}]},{name:\"T9_CarBrand\",originalKey:\"T9_CarBrand\",label:\"\\u8F66\\u4E3B\\u54C1\\u724C\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9C_Brand\",originalKey:\"T9C_Brand\",label:\"\\u54C1\\u724C\\u540D\\u79F0\"}]},{name:\"T9_PartsPrice\",originalKey:\"T9_PartsPrice\",label:\"\\u914D\\u4EF6\\u4EF7\\u683C\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9P_FID\",originalKey:\"T9P_FID\",label:\"\\u914D\\u4EF6FID\"},{type:\"numeric(18,4)\",name:\"T9P_Price\",originalKey:\"T9P_Price\",label:\"\\u4EF7\\u683C\"},{type:\"datetime\",name:\"T9P_UpdateTime\",originalKey:\"T9P_UpdateTime\",label:\"\\u66F4\\u65B0\\u65F6\\u95F4\"}]},{name:\"T9_Changebound\",originalKey:\"T9_Changebound\",label:\"\\u5E93\\u5B58\\u53D8\\u52A8\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"toMany\",originalKey:\"FID\",typeMeta:{relationModel:\"T9_PartManger\",type:\"Relation\"},label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9C_PartID\",originalKey:\"T9C_PartID\",label:\"\\u914D\\u4EF6ID\"},{type:\"nvarchar(50)\",name:\"T9C_PartKind\",originalKey:\"T9C_PartKind\",label:\"\\u914D\\u4EF6\\u5206\\u7C7B\"},{type:\"nvarchar(50)\",name:\"T9C_PartName\",originalKey:\"T9C_PartName\",label:\"\\u914D\\u4EF6\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"T9C_Measuringunit\",originalKey:\"T9C_Measuringunit\",label:\"\\u8BA1\\u91CF\\u5355\\u4F4D\"},{type:\"numeric(18,4)\",name:\"T9C_Price\",originalKey:\"T9C_Price\",label:\"\\u91C7\\u8D2D\\u4EF7\\u683C\"},{type:\"nvarchar(50)\",name:\"T9C_Number\",originalKey:\"T9C_Number\",label:\"\\u91C7\\u8D2D\\u6570\\u91CF\"},{type:\"int\",name:\"T9C_OperationKind\",originalKey:\"T9C_OperationKind\",label:\"\\u64CD\\u4F5C\\u7C7B\\u578B\"},{type:\"nvarchar(50)\",name:\"T9C_RepairID\",originalKey:\"T9C_RepairID\",label:\"\\u7EF4\\u4FEE\\u5355ID\"},{type:\"nvarchar(50)\",name:\"T9C_PurchaseID\",originalKey:\"T9C_PurchaseID\",label:\"\\u91C7\\u8D2D\\u5355Id\"},{type:\"nvarchar(50)\",name:\"T9C_StartNum\",originalKey:\"T9C_StartNum\",label:\"\\u521D\\u59CB\\u4F59\\u989D\"},{type:\"nvarchar(50)\",name:\"T9C_OnePrice\",originalKey:\"T9C_OnePrice\",label:\"\\u53D8\\u52A8\\u62A5\\u4EF7\"},{type:\"nvarchar(50)\",name:\"T9C_EndNum\",originalKey:\"T9C_EndNum\",label:\"\\u6700\\u7EC8\\u6570\\u76EE\"}]},{name:\"T9_StorageList\",originalKey:\"T9_StorageList\",label:\"\\u5165\\u5E93\\u5355\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9I_InFID\",originalKey:\"T9I_InFID\",label:\"\\u5165\\u5E93\\u5355\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9I_Supplier\",originalKey:\"T9I_Supplier\",label:\"\\u4F9B\\u5E94\\u5546\"},{type:\"nvarchar(50)\",name:\"T9I_BillType\",originalKey:\"T9I_BillType\",label:\"\\u5355\\u636E\\u7C7B\\u578B\"},{type:\"datetime\",name:\"T9I_InDateTime\",originalKey:\"T9I_InDateTime\",label:\"\\u5165\\u5E93\\u65E5\\u671F\"},{type:\"nvarchar(50)\",name:\"T9I_PayType\",originalKey:\"T9I_PayType\",label:\"\\u4ED8\\u6B3E\\u65B9\\u5F0F\"},{type:\"nvarchar(50)\",name:\"T9I_Operator\",originalKey:\"T9I_Operator\",label:\"\\u7ECF\\u529E\\u4EBA\"},{type:\"nvarchar(50)\",name:\"T9I_InType\",originalKey:\"T9I_InType\",label:\"\\u5165\\u5E93\\u7C7B\\u578B\"},{type:\"nvarchar(50)\",name:\"T9I_CarLicense\",originalKey:\"T9I_CarLicense\",label:\"\\u8F66\\u724C\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9I_ChassisNumber\",originalKey:\"T9I_ChassisNumber\",label:\"\\u8F66\\u67B6\\u53F7\"},{type:\"decimal(18,4)\",name:\"T9I_ToalPrice\",originalKey:\"T9I_ToalPrice\",label:\"\\u5408\\u8BA1\\u91D1\\u989D\"},{type:\"decimal(18,4)\",name:\"T9I_Rate\",originalKey:\"T9I_Rate\",label:\"\\u7A0E\\u7387\"},{type:\"decimal(18,4)\",name:\"T9I_TaxRate\",originalKey:\"T9I_TaxRate\",label:\"\\u7A0E\\u989D\"},{type:\"decimal(18,4)\",name:\"T9I_TaxAmount\",originalKey:\"T9I_TaxAmount\",label:\"\\u542B\\u7A0E\\u91D1\\u989D\"},{type:\"nvarchar(50)\",name:\"T9I_WarehouseKeeper\",originalKey:\"T9I_WarehouseKeeper\",label:\"\\u4ED3\\u7BA1\"},{type:\"nvarchar(50)\",name:\"T9I_Audit\",originalKey:\"T9I_Audit\",label:\"\\u5BA1\\u6838\"}]},{name:\"T9_StorageListDetail\",originalKey:\"T9_StorageListDetail\",label:\"\\u5165\\u5E93\\u660E\\u7EC6\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9I_InFID\",originalKey:\"T9I_InFID\",label:\"\\u5165\\u5E93\\u5355\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9I_PartFID\",originalKey:\"T9I_PartFID\",label:\"\\u5546\\u54C1\\u7F16\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9I_PartName\",originalKey:\"T9I_PartName\",label:\"\\u5546\\u54C1\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"T9I_Model\",originalKey:\"T9I_Model\",label:\"\\u578B\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9I_Unit\",originalKey:\"T9I_Unit\",label:\"\\u5355\\u4F4D\"},{type:\"int\",name:\"T9I_Number\",originalKey:\"T9I_Number\",label:\"\\u6570\\u91CF\"},{type:\"decimal(18,4)\",name:\"T9I_OnePrice\",originalKey:\"T9I_OnePrice\",label:\"\\u5355\\u4EF7\"},{type:\"decimal(18,4)\",name:\"T9I_Price\",originalKey:\"T9I_Price\",label:\"\\u91D1\\u989D\"},{type:\"nvarchar(50)\",name:\"T9I_ProductClass\",originalKey:\"T9I_ProductClass\",label:\"\\u4EA7\\u54C1\\u7C7B\\u522B\"}]},{name:\"T9_DeliveryOrder\",originalKey:\"T9_DeliveryOrder\",label:\"\\u51FA\\u5E93\\u5355\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9O_BoundID\",originalKey:\"T9O_BoundID\",label:\"\\u51FA\\u5E93\\u5355\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9O_ClientName\",originalKey:\"T9O_ClientName\",label:\"\\u5BA2\\u6237\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"T9O_Type\",originalKey:\"T9O_Type\",label:\"\\u7C7B\\u578B\"},{type:\"datetime\",name:\"T9O_OutDate\",originalKey:\"T9O_OutDate\",label:\"\\u51FA\\u5E93\\u65E5\\u671F\"},{type:\"nvarchar(50)\",name:\"T9O_Dispatch\",originalKey:\"T9O_Dispatch\",label:\"\\u6D3E\\u5355\\u7F16\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9O_ChargeName\",originalKey:\"T9O_ChargeName\",label:\"\\u7ECF\\u529E\\u4EBA\"},{type:\"nvarchar(50)\",name:\"T9O_Class\",originalKey:\"T9O_Class\",label:\"\\u9886\\u73ED\\u73ED\\u7EC4\"},{type:\"nvarchar(50)\",name:\"T9O_Note\",originalKey:\"T9O_Note\",label:\"\\u5907\\u6CE8\"},{type:\"nvarchar(50)\",name:\"T9O_CarNumber\",originalKey:\"T9O_CarNumber\",label:\"\\u8F66\\u724C\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9O_Amount\",originalKey:\"T9O_Amount\",label:\"\\u5408\\u8BA1\\u91D1\\u989D\"},{type:\"nvarchar(50)\",name:\"T9O_BoundManger\",originalKey:\"T9O_BoundManger\",label:\"\\u4ED3\\u7BA1\"},{type:\"nvarchar(50)\",name:\"T9O_Reviewer\",originalKey:\"T9O_Reviewer\",label:\"\\u5BA1\\u6838\\u4EBA\"},{type:\"nvarchar(50)\",name:\"T9O_Pick\",originalKey:\"T9O_Pick\",label:\"\\u9886\\u6599\"}]},{name:\"T9_DeliveryOrderDetail\",originalKey:\"T9_DeliveryOrderDetail\",label:\"\\u51FA\\u5E93\\u660E\\u7EC6\\u8868\",module:\"T9engSQ\",fields:[{type:\"nvarchar(50)\",name:\"FID\",originalKey:\"FID\",label:\"FID\"},{type:\"nvarchar(50)\",name:\"T9C_FID\",originalKey:\"T9C_FID\",label:\"\\u51FA\\u5E93\\u5355\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9D_PartID\",originalKey:\"T9D_PartID\",label:\"\\u5546\\u54C1\\u7F16\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9D_PartName\",originalKey:\"T9D_PartName\",label:\"\\u5546\\u54C1\\u540D\\u79F0\"},{type:\"nvarchar(50)\",name:\"T9D_Type\",originalKey:\"T9D_Type\",label:\"\\u578B\\u53F7\"},{type:\"nvarchar(50)\",name:\"T9D_Num\",originalKey:\"T9D_Num\",label:\"\\u6570\\u91CF\"},{type:\"nvarchar(50))\",name:\"T9D_Unit\",originalKey:\"T9D_Unit\",label:\"\\u5355\\u4F4D\"},{type:\"decimarl(18,4)\",name:\"T9D_Price\",originalKey:\"T9D_Price\",label:\"\\u5355\\u4EF7\"},{type:\"decimal(18,4)\",name:\"T9D_Money\",originalKey:\"T9D_Money\",label:\"\\u91D1\\u989D\"},{type:\"nvarchar(50)\",name:\"T9D_Bound\",originalKey:\"T9D_Bound\",label:\"\\u4ED3\\u5E93\"}]}],M=[{name:\"finance\",label:\"\\u91D1\\u878D\"},{name:\"ERP\",label:\"\\u8FDB\\u9500\\u5B58\"},{label:\"\\u6C7D\\u4FEE\",name:\"T9engSQ\"}],Ke=b(82518),me=b(11527),re=function(){return(0,me.jsx)(u.Z,{models:Q,modules:M,erdkey:\"codedemo\",height:\"850\",className:\"console-g6-page-dumi\"})}},53926:function(at,J,b){b.r(J),b.d(J,{default:function(){return re}});var d=b(50959),u=b(80858),Q=[{label:\"ER\\u56FE\",name:\"web-pdm\"}],M=[{name:\"model\",label:\"\\u5B9E\\u4F53\\u6A21\\u578B\",module:\"web-pdm\",type:\"\",fields:[{name:\"id\",label:\"\\u4E3B\\u952E\",type:\"string\"},{name:\"label\",label:\"\\u6807\\u7B7E\",type:\"string\"},{name:\"name\",label:\"\\u540D\\u79F0\",type:\"string\"},{name:\"module\",label:\"\\u6A21\\u5757\",type:\"toOne\",typeMeta:{type:\"Relation\",relationModel:\"module\"}},{name:\"fields\",label:\"\\u62E5\\u6709\\u5B57\\u6BB5\",type:\"toMany\",typeMeta:{type:\"Relation\",relationModel:\"field\"}}]},{name:\"module\",label:\"\\u6A21\\u5757\",module:\"web-pdm\",type:\"\",fields:[{name:\"id\",label:\"\\u4E3B\\u952E\",type:\"string\"},{name:\"label\",label:\"\\u6807\\u7B7E\",type:\"string\"},{name:\"name\",label:\"\\u540D\\u79F0\",type:\"string\"},{name:\"models\",label:\"\\u62E5\\u6709\\u6A21\\u578B\",type:\"toMany\",typeMeta:{type:\"Relation\",relationModel:\"model\"}}]},{name:\"field\",label:\"\\u5B57\\u6BB5\",module:\"web-pdm\",type:\"\",fields:[{name:\"id\",label:\"\\u4E3B\\u952E\",type:\"string\"},{name:\"label\",label:\"\\u6807\\u7B7E\",type:\"string\"},{name:\"name\",label:\"\\u540D\\u79F0\",type:\"string\"},{name:\"model\",label:\"\\u6A21\\u578B\",type:\"toOne\",typeMeta:{type:\"Relation\",relationModel:\"model\"}},{name:\"metaType\",label:\"\\u5173\\u8054\\u4FE1\\u606F\",type:\"toOne\",typeMeta:{type:\"Relation\",relationModel:\"metaType\"}}]},{name:\"metaType\",label:\"\\u5B57\\u6BB5\\u5143\\u6570\\u636E\",module:\"web-pdm\",type:\"\",fields:[{name:\"id\",label:\"\\u4E3B\\u952E\",type:\"string\"},{name:\"label\",label:\"\\u6807\\u7B7E\",type:\"string\"},{name:\"name\",label:\"\\u540D\\u79F0\",type:\"string\"}]}],Ke=b(82518),me=b(11527),re=function(){return(0,me.jsx)(u.Z,{models:M,onModelDetail:function(G){alert(\"\\u6253\\u5F00\\u6A21\\u578B\".concat(G.label,\"(\").concat(G.name,\") \\u7684\\u67E5\\u770B\\u94FE\\u63A5\"))},modules:Q,erdkey:\"api\",height:\"600\",className:\"console-g6-page-dumi-api\"})}},82518:function(){}}]);\n"
  },
  {
    "path": "docs-dist/demos.24639f3d.chunk.css",
    "content": ".console-g6-page{background-color:#fff;display:flex;flex:1 1;flex-direction:row;overflow:hidden;height:100%}.console-g6-page .g6-graph{margin-right:16px;flex:1 1;width:0;height:100%}.console-g6-page .g6-graph .ant-spin-nested-loading,.console-g6-page .g6-graph .ant-spin-nested-loading .ant-spin-container{height:100%}.console-g6-page .g6-info{width:50px}.console-g6-page .g6-modelnavi{width:270px;margin-bottom:16px;height:100%}.console-g6-page .g6-modelnavi .console-models-tree{overflow:hidden;display:flex;flex-direction:column;padding-bottom:50px;height:100%;margin-right:25px}.console-g6-page .g6-modelnavi .console-models-tree .header{height:60px}.console-g6-page .g6-modelnavi .console-models-tree .navitree-warp{flex:1 1;display:flex;flex-direction:column;overflow:hidden;height:100%;margin-left:10px;border:1px solid rgba(0,0,0,.1)}.console-g6-page .g6-modelnavi .console-models-tree .console-erd-search{margin-top:3px;margin-bottom:4px;margin-left:10px;display:flex}.console-g6-page .g6-modelnavi .console-models-tree .console-erd-search .right{float:right}.console-g6-page .g6-modelnavi .console-models-tree .console-erd-search .console-erd-add{font-size:20px;color:#0006;cursor:pointer;margin-left:5px}.console-g6-page .g6-modelnavi .console-models-tree .console-models-tree-tree{flex:1 1;padding-right:5px}.console-g6-page .g6-modelnavi .console-models-tree .console-models-tree-tree .ant-tree-treenode{width:100%}.noselect{-webkit-touch-callout:none;user-select:none}.console-g6-page{height:100%}.console-g6-page .model-page{height:100%;display:flex;flex-direction:column}.console-g6-page .g6-tooltip{padding:10px 6px;background-color:#fff;box-shadow:10px 10px 5px #888;border:1px solid #0b6c95;opacity:1;border-radius:4px}.console-g6-page .g6-tooltip .text{color:#0b6c95}.g6-minimap{position:absolute;right:25px;bottom:40px;padding:5px;overflow:visible!important;background:#fff;border:0px solid rgba(0,0,0,.1)}.graph{width:100%;cursor:grab;margin-right:20px;margin-bottom:23px;flex:1 1;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAACNAAAAUuCAMAAACGGanNAAAABlBMVEUAAAAAAAClZ7nPAAAAAnRSTlMFD5tbJOwAABWrSURBVHja7N0hDsRADATB5P+fvqHBJtdSFWtDo9USPw8AAAAAAAAAAAAAAADAP3hfrbXWWut6fydaa6211rW2EK211lr3HzS+qLTWWmud70201lprreMNAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABw4LiV1lprrfvt/LjWWmut220hWmutte4/aHxRaa211jrfm2ittdZaxxsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAODAcSuttdZa99v5ca211lq320K01lpr3X/Q+KLSWmutdb430VprrbWONwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwIHjVlprrbXut/PjWmuttW63hWittda6/6DxRaW11lrrfG+itdZaax1vAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAA8ettNZaa91v58e11lpr3W4L0VprrXX/QeOLSmuttdb53kRrrbXWOt4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHjltprbXWut/Oj2uttda63RaitdZa6/6DxheV1lprrfO9idZaa611vAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ct9Jaa611v50f11prrXW7LURrrbXW/QeNLyqttdZa53sTrbXWWut4AwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHDhupbXWWut+Oz+utdZa63ZbiNZaa637DxpfVFprrbXO9yZaa6211vEGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4cNxKa6211v12flxrrbXW7bYQrbXWWvcfNL6otNZaa53vTbTWWmut4w0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHDguJXWWmut++38uNZaa63bbSFaa6217j9ofFFprbXWOt+baK211lrHGwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4MBxK6211lr32/lxrbXWWrfbQrTWWmvdf9D4otJaa611vjfRWmuttY43AAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAgeNWWmutte638+Naa621breFaK211rr/oPFFpbXWWut8b6K11lprHW8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIADx6201lpr3W/nx7XWWmvdbgvRWmutdf9B44tKa6211vneRGuttdY63gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAeOW2mttda6386Pa6211rrdFqK11lrr/oPGF5XWWmut872J1lprrXW8AQAAAAAAAAAAAAAAAAAAAAAAAAAAfuzdoQ0AQAgEwf67hh5ObTLj9iWKvAEAAGDguJXWWmut++38uNZaa63bbSBaa6217i80vqi01lprne9/0VprrbWONwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwMBxK6211lr32/lxrbXWWrfbQLTWWmvdX2h8UWmttdY63/+itdZaax1vAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAgeNWWmutte638+Naa621breBaK211rq/0Pii0lprrXW+/0VrrbXWOt4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADx6201lpr3W/nx7XWWmvdbgPRWmutdX+h8UWltdZa63z/i9Zaa611vAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaOW2mttda6386Pa6211rrdBqK11lrr/kLji0prrbXW+f4XrbXWWut4AwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADBy30lprrXW/nR/XWmutdbsNRGuttdb9hcYXldZaa63z/S9aa6211vEGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYOG6ltdZa6347P6611lrrdhuI1lprrfsLjS8qrbXWWuf7X7TWWmut4w0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAADBw3EprrbXW/XZ+XGuttdbtNhCttdZa9xcaX1Raa621zve/aK211lrHGwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYOC4ldZaa6377fy41lprrdttIFprrbXuLzS+qLTWWmud73/RWmuttY43AAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAwHErrbXWWvfb+XGttdZat9tAtNZaa91faHxRaa211jrf/6K11lprHW8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAICB41Zaa6217rfz41prrbVut4ForbXWur/Q+KLSWmutdb7/RWuttdY63gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPHrbTWWmvdb+fHtdZaa91uA9Faa611f6HxRaW11lrrfP+L1lprrXW8AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABo5baa211rrfzo9rrbXWut0GorXWWuv+QuOLSmuttdb5/hettdZa63gDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMHLfSWmutdb+dH9daa611uw1Ea6211v2FxheV1lprrfP9L1prrbXW8QYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABg4bqW11lrrfjs/rrXWWut2G4jWWmut+wuNLyqttT727tAGACAEgmD/XXM9oDaZcYtEfd6gtc73JlprrbXW8QYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHhw3EprrbXW/XZ+XGuttdbtthCttdZa9x80vqi01lprne9NtNZaa63jDQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8OC4ldZaa6377fy41lprrdttIVprrbXuP2h8UWmttdY635torbXWWscbAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgwXErrbXWWvfb+XGttdZat9tCtNZaa91/0Pii0lprrXW+N9Faa621jjcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMCD41Zaa6217rfz41prrbVut4VorbXWuv+g8UWltdZa63xvorXWWmsdbwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAfHrbTWWmvdb+fHtdZaa91uC9Faa611/0Hji0prrbXW+d5Ea6211jreAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD45baa211rrfzo9rrbXWut0WorXWWuv+g8YXldZaa63zvYnWWmutdbwBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAeHLfSWmutdb+dH9daa611uy1Ea6211v0HjS8qrbXWWud7E6211lrreAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADw4bqW11lrrfjs/rrXWWut2W4jWWmut+w8aX1Raa621zvcmWmuttdbxBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAeHDcSmuttdb9dn5ca6211u22EK211lr3HzS+qLTWWmud70201lprreMNAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADw4LiV1lprrfvt/LjWWmut220hWmutte4/aHxRaa211jrfm2ittdZaxxsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAODBcSuttdZa99v5ca211lq320K01lpr3X/Q+KLSWmutdb430VprrbWONwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwIPjVlprrbXut/PjWmuttW63hWittda6/6DxRaW11lrrfG+itdZaax1vAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAB8ettNZaa91v58e11lpr3W4L0VprrXX/QeOLSmuttdb53kRrrbXWOt4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPjltprbXWut/Oj2uttda63RaitdZa6/6DxheV1lprrfO9idZaa611vAEAAAAAAACAY+8ObQAAQiAI9t811wNqkxm3yFcfDAAAAAAAAAAAAAAAAAAAAAA8OG6ltdZa6347P6611lrrdnsQrbXWWvc/NFZUWmuttc73JlprrbXW8QYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHhw3EprrbXW/XZ+XGuttdbt9iBaa6217n9orKi01lprne9NtNZaa63jDQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8OC4ldZaa6377fy41lprrdvtQbTWWmvd/9BYUWmttdY635torbXWWscbAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgwXErrbXWWvfb+XGttdZat9uDaK211rr/obGi0lprrXW+N9Faa621jjcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMCD41Zaa6217rfz41prrbVutwfRWmutdf9DY0WltdZa63xvorXWWmsdbwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAfHrbTWWmvdb+fHtdZaa91uD6K11lrr/ofGikprrbXW+d5Ea6211jreAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD45baa211rrfzo9rrbXWut0eRGuttdb9D40VldZaa63zvYnWWmutdbwBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAeHLfSWmutdb+dH9daa611uz2I1lprrfsfGisqrbXWWud7E6211lrreAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADw4bqW11lrrfjs/rrXWWut2exCttdZa9z80VlRaa621zvcmWmuttdbxBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAeHDcSmuttdb9dn5ca6211u32IFprrbXuf2isqLTWWmud70201lprreMNAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADw4LiV1lprrfvt/LjWWmut2+1BtNZaa93/0FhRaa211jrfm2ittdZaxxsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAODBcSuttdZa99v5ca211lq324NorbXWuv+hsaLSWmutdb430VprrbWONwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwIPjVlprrbXut/PjWmuttW63B9Faa611/0NjRaW11lrrfG+itdZaax1vAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAB8ettNZaa91v58e11lpr3W4PorXWWuv+h8aKSmuttdb53kRrrbXWOt4AAAAAAAAAAAAAAAAAAAAAAAAAx94d2gAAA0EM23/r/x0ORbJZCouqkgMAAAAAGBi30lprrXW/zY9rrbXWut0uRGuttdb9B40vKq211lrn+0+01lprreMNAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwMG6ltdZa636bH9daa611u12I1lprrfsPGl9UWmuttc73n2ittdZaxxsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGBg3EprrbXW/TY/rrXWWut2uxCttdZa9x80vqi01lprne8/0VprrbWONwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwMC4ldZaa637bX5ca6211u12IVprrbXuP2h8UWmttdY633+itdZaax1vAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAgXErrbXWWvfb/LjWWmut2+1CtNZaa91/0Pii0lprrXW+/0RrrbXWOt4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD41Zaa6217rf5ca211lq324VorbXWuv+g8UWltdZa63z/idZaa611vAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAbGrbTWWmvdb/PjWmuttW63C9Faa611/0Hji0prrbXW+f4TrbXWWut4AwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADIxbaa211rrf5se11lpr3W4XorXWWuv+g8YXldZaa63z/Sdaa6211vEGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYGLfSWmutdb/Nj2uttda63S5Ea6211v0HjS8qrbXWWuf7T7TWWmut4w0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAwbqW11lrrfpsf11prrXW7XYjWWmut+w8aX1Raa621zvefaK211lrHGwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYGDcSmuttdb9Nj+utdZa63a7EK211lr3HzS+qLTWWmud7z/RWmuttY43AAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAwLiV1lprrfttflxrrbXW7XYhWmutte4/aHxRaa211jrff6K11lprHW8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAICBcSuttdZa99v8uNZaa63b7UK01lpr3X/Q+KLSWmutdb7/RGuttdY63gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPjVlprrbXut/lxrbXWWrfbhWittda6/6DxRaW11lrrfP+J1lprrXW8AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABsattNZaa91v8+Naa621brcL0Vprfe3doQ0AMAwEsf237s/QoJNsdoVFUUi07g80VlRaa621zvdetNZaa63jDQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcOC4ldZaa6377fy41lprrdvtQ7TWWmvdH2isqLTWWmud771orbXWWscbAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgwHErrbXWWvfb+XGttdZat9uHaK211ro/0FhRaa211jrfe9Faa621jjcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMCB41Zaa6217rfz41prrbVutw/RWmutdX+gsaLSWmutdb73orXWWmsdbwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAPHrbTWWmvdb+fHtdZaa91uH6K11lrr/kBjRaW11lrrfO9Fa6211jreAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB45baa211rrfzo9rrbXWut0+RGuttdb9gcaKSmuttdb53ovWWmutdbwBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOHLfSWmutdb+dH9daa611u32I1lprrfsDjRWV1lprrfO9F6211lrreAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABw4bqW11lrrfjs/rrXWWut2+xCttdZa9wcaKyqttdZa53svWmuttdbxBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOHDcSmuttdb9dn5ca6211u32IVprrbXuDzRWVFprrbXO91601lprreMNAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABw4LiV1lprrfvt/LjWWmut2+1DtNZaa90faKyotNZaa53vvWittdZaxxsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAODAcSuttdZa99v5ca211lq324dorbXWuj/QWFFprbXWOt970VprrbWONwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwIHjVlprrbXut/PjWmuttW63D9Faa611f6CxotJaa611vveitdZaax1vAAAAAAAA+PQAhsRSajjPOYgAAAAASUVORK5CYII=);background-repeat:repeat;background-size:contain;border:1px solid rgba(0,0,0,.1)}.graph .text{border:1px solid rgba(0,0,0,.1);opacity:1}.g6-minimap-viewport-erd{border:1px solid rgba(0,0,0,.06);margin-top:2px;margin-right:2px}.console-erd-toolbar{z-index:1;width:100%;height:28px}.console-erd-toolbar .split-span{margin-right:30px}.console-erd-toolbar .left{float:left;margin-left:30px}.console-erd-toolbar .ant-upload-list{display:none}.console-erd-toolbar .zoomNum{font-size:17px;text-align:center;margin-right:10px;width:50px;color:#0006;display:inline-block}.console-erd-toolbar .right{float:right;margin-right:30px}.console-erd-toolbar .command-btn{margin:8px;font-size:18px;color:#0006;cursor:pointer}.console-erd-toolbar .enable{color:#000}.console-erd-toolbar .zoomleft{margin-right:10px}.console-erd-fps{position:absolute;bottom:50px;right:0px}.g6-tooltip{padding:10px 6px;opacity:.5;color:#444;background-color:#ffffffe6;border:1px solid #e2e2e2;border-radius:4px}:fullscreen{background-color:#fff!important}.navitree-warp .tree-node-title{display:flex}.navitree-warp .tree-node-title-title{flex:1 1}.navitree-warp div.tree-node-title-options:hover{display:block;color:red}.navitree-warp .ant-tree-node-content-wrapper{width:100%}.console-g6-page-dumi{height:850px!important}.console-g6-page-dumi-api{height:550px!important;position:relative}\n"
  },
  {
    "path": "docs-dist/docs__config__index.md.c8dd8580.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[253],{64897:function(h,d,l){l.r(d);var c=l(61875),x=l(57275),o=l(39761),u=l(21646),n=l(45626),j=l(70810),s=l(81229),_=l(50959),e=l(11527);function a(){var r=(0,s.eL)(),i=r.texts;return(0,e.jsx)(s.dY,{children:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(\"div\",{className:\"markdown\",children:(0,e.jsxs)(\"h1\",{id:\"props\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#props\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"props\"]})}),(0,e.jsx)(s.Dl,{demo:{id:\"docs-config-demo-type-erd\",inline:!0},previewerProps:{}}),(0,e.jsxs)(\"div\",{className:\"markdown\",children:[(0,e.jsxs)(\"h2\",{id:\"models\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#models\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"models\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[0].value}),(0,e.jsx)(\"li\",{children:i[1].value})]}),(0,e.jsx)(n.Z,{children:i[2].value}),(0,e.jsxs)(\"h2\",{id:\"modules\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#modules\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"modules\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[3].value}),(0,e.jsx)(\"li\",{children:i[4].value})]}),(0,e.jsx)(n.Z,{children:i[5].value}),(0,e.jsxs)(\"h2\",{id:\"height\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#height\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"height\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[6].value}),(0,e.jsx)(\"li\",{children:i[7].value}),(0,e.jsx)(\"li\",{children:i[8].value})]}),(0,e.jsxs)(\"h2\",{id:\"style\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#style\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"style\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[9].value}),(0,e.jsx)(\"li\",{children:i[10].value}),(0,e.jsx)(\"li\",{children:i[11].value})]}),(0,e.jsxs)(\"h2\",{id:\"themecolor\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#themecolor\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"themeColor\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[12].value}),(0,e.jsx)(\"li\",{children:i[13].value}),(0,e.jsx)(\"li\",{children:i[14].value})]}),(0,e.jsxs)(\"h2\",{id:\"darkness\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#darkness\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"darkness\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[15].value}),(0,e.jsx)(\"li\",{children:i[16].value}),(0,e.jsx)(\"li\",{children:i[17].value})]}),(0,e.jsxs)(\"h2\",{id:\"onignoreedge\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#onignoreedge\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"onIgnoreEdge\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[18].value}),(0,e.jsx)(\"li\",{children:i[19].value})]}),(0,e.jsxs)(\"h2\",{id:\"onmodeldetail\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#onmodeldetail\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"onModelDetail\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[20].value}),(0,e.jsx)(\"li\",{children:i[21].value})]}),(0,e.jsxs)(\"h2\",{id:\"onreload\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#onreload\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"onReload\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[22].value}),(0,e.jsx)(\"li\",{children:i[23].value}),(0,e.jsx)(\"li\",{children:i[24].value})]}),(0,e.jsx)(n.Z,{children:i[25].value}),(0,e.jsxs)(\"h2\",{id:\"intl\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#intl\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"intl\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[26].value}),(0,e.jsx)(\"li\",{children:i[27].value}),(0,e.jsx)(\"li\",{children:i[28].value})]}),(0,e.jsxs)(\"h2\",{id:\"onintl\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#onintl\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"onIntl\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[29].value}),(0,e.jsx)(\"li\",{children:i[30].value}),(0,e.jsx)(\"li\",{children:i[31].value})]}),(0,e.jsxs)(\"h2\",{id:\"components\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#components\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"components\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[32].value}),(0,e.jsx)(\"li\",{children:i[33].value}),(0,e.jsx)(\"li\",{children:i[34].value})]}),(0,e.jsx)(n.Z,{children:i[35].value}),(0,e.jsxs)(\"h2\",{id:\"iconrenders\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#iconrenders\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"IconRenders\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[36].value}),(0,e.jsx)(\"li\",{children:i[37].value}),(0,e.jsx)(\"li\",{children:i[38].value})]}),(0,e.jsx)(n.Z,{children:i[39].value}),(0,e.jsxs)(\"h2\",{id:\"disableicons\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#disableicons\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"disableIcons\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[40].value}),(0,e.jsx)(\"li\",{children:i[41].value}),(0,e.jsx)(\"li\",{children:i[42].value})]}),(0,e.jsxs)(\"h2\",{id:\"onlymode\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#onlymode\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"onlyMode\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[43].value}),(0,e.jsx)(\"li\",{children:i[44].value}),(0,e.jsx)(\"li\",{children:i[45].value})]})]})]})})}d.default=a}}]);\n"
  },
  {
    "path": "docs-dist/docs__config__index.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docs-dist/docs__config__index.zh-CN.md.92917182.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[887],{49751:function(h,d,l){l.r(d);var c=l(61875),x=l(57275),o=l(39761),u=l(21646),n=l(45626),j=l(70810),s=l(81229),_=l(50959),e=l(11527);function a(){var r=(0,s.eL)(),i=r.texts;return(0,e.jsx)(s.dY,{children:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(\"div\",{className:\"markdown\",children:(0,e.jsxs)(\"h1\",{id:\"props\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#props\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"props\"]})}),(0,e.jsx)(s.Dl,{demo:{id:\"docs-config-demo-type-erd\",inline:!0},previewerProps:{}}),(0,e.jsxs)(\"div\",{className:\"markdown\",children:[(0,e.jsxs)(\"h2\",{id:\"models\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#models\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"models\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[0].value}),(0,e.jsx)(\"li\",{children:i[1].value})]}),(0,e.jsx)(n.Z,{children:i[2].value}),(0,e.jsxs)(\"h2\",{id:\"modules\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#modules\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"modules\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[3].value}),(0,e.jsx)(\"li\",{children:i[4].value})]}),(0,e.jsx)(n.Z,{children:i[5].value}),(0,e.jsxs)(\"h2\",{id:\"height\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#height\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"height\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[6].value}),(0,e.jsx)(\"li\",{children:i[7].value}),(0,e.jsx)(\"li\",{children:i[8].value})]}),(0,e.jsxs)(\"h2\",{id:\"style\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#style\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"style\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[9].value}),(0,e.jsx)(\"li\",{children:i[10].value}),(0,e.jsx)(\"li\",{children:i[11].value})]}),(0,e.jsxs)(\"h2\",{id:\"themecolor\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#themecolor\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"themeColor\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[12].value}),(0,e.jsx)(\"li\",{children:i[13].value}),(0,e.jsx)(\"li\",{children:i[14].value})]}),(0,e.jsxs)(\"h2\",{id:\"darkness\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#darkness\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"darkness\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[15].value}),(0,e.jsx)(\"li\",{children:i[16].value}),(0,e.jsx)(\"li\",{children:i[17].value})]}),(0,e.jsxs)(\"h2\",{id:\"onignoreedge\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#onignoreedge\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"onIgnoreEdge\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[18].value}),(0,e.jsx)(\"li\",{children:i[19].value})]}),(0,e.jsxs)(\"h2\",{id:\"onmodeldetail\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#onmodeldetail\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"onModelDetail\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[20].value}),(0,e.jsx)(\"li\",{children:i[21].value})]}),(0,e.jsxs)(\"h2\",{id:\"onreload\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#onreload\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"onReload\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[22].value}),(0,e.jsx)(\"li\",{children:i[23].value}),(0,e.jsx)(\"li\",{children:i[24].value})]}),(0,e.jsx)(n.Z,{children:i[25].value}),(0,e.jsxs)(\"h2\",{id:\"intl\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#intl\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"intl\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[26].value}),(0,e.jsx)(\"li\",{children:i[27].value}),(0,e.jsx)(\"li\",{children:i[28].value})]}),(0,e.jsxs)(\"h2\",{id:\"onintl\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#onintl\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"onIntl\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[29].value}),(0,e.jsx)(\"li\",{children:i[30].value}),(0,e.jsx)(\"li\",{children:i[31].value})]}),(0,e.jsxs)(\"h2\",{id:\"components\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#components\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"components\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[32].value}),(0,e.jsx)(\"li\",{children:i[33].value}),(0,e.jsx)(\"li\",{children:i[34].value})]}),(0,e.jsx)(n.Z,{children:i[35].value}),(0,e.jsxs)(\"h2\",{id:\"iconrenders\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#iconrenders\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"IconRenders\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[36].value}),(0,e.jsx)(\"li\",{children:i[37].value}),(0,e.jsx)(\"li\",{children:i[38].value})]}),(0,e.jsx)(n.Z,{children:i[39].value}),(0,e.jsxs)(\"h2\",{id:\"disableicons\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#disableicons\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"disableIcons\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[40].value}),(0,e.jsx)(\"li\",{children:i[41].value}),(0,e.jsx)(\"li\",{children:i[42].value})]}),(0,e.jsxs)(\"h2\",{id:\"onlymode\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#onlymode\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"onlyMode\"]}),(0,e.jsxs)(\"ul\",{children:[(0,e.jsx)(\"li\",{children:i[43].value}),(0,e.jsx)(\"li\",{children:i[44].value}),(0,e.jsx)(\"li\",{children:i[45].value})]})]})]})})}d.default=a}}]);\n"
  },
  {
    "path": "docs-dist/docs__config__index.zh-CN.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docs-dist/docs__demo__index.md.6a4d1b75.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[570],{21443:function(n,i,_){_.r(i);var t=_(61875),u=_(57275),o=_(39761),l=_(21646),E=_(45626),r=_(70810),d=_(81229),P=_(50959),e=_(11527);function m(){var s=(0,d.eL)(),D=s.texts;return(0,e.jsx)(d.dY,{children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(d.Dl,{demo:{id:\"docs-demo-demo-erd\"},previewerProps:{filename:\"docs/erd.tsx\"}})})})}i.default=m}}]);\n"
  },
  {
    "path": "docs-dist/docs__demo__index.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docs-dist/docs__demo__index.zh-CN.md.721550ee.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[447],{67093:function(n,i,_){_.r(i);var t=_(61875),u=_(57275),o=_(39761),l=_(21646),E=_(45626),r=_(70810),d=_(81229),P=_(50959),e=_(11527);function m(){var s=(0,d.eL)(),D=s.texts;return(0,e.jsx)(d.dY,{children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(d.Dl,{demo:{id:\"docs-demo-demo-erd\"},previewerProps:{filename:\"docs/erd.tsx\"}})})})}i.default=m}}]);\n"
  },
  {
    "path": "docs-dist/docs__demo__index.zh-CN.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docs-dist/docs__guide__ddd.md.a9a823b3.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[826],{8930:function(l,i,d){d.r(i);var a=d(61875),m=d(57275),t=d(39761),o=d(21646),c=d(45626),r=d(70810),s=d(81229),h=d(50959),e=d(11527);function u(){var n=(0,s.eL)(),_=n.texts;return(0,e.jsx)(s.dY,{children:(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(\"div\",{className:\"markdown\",children:[(0,e.jsxs)(\"h1\",{id:\"\\u6A21\\u578B\\u9A71\\u52A8\\u524D\\u7AEF\\u5F00\\u53D1\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u6A21\\u578B\\u9A71\\u52A8\\u524D\\u7AEF\\u5F00\\u53D1\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u6A21\\u578B\\u9A71\\u52A8\\u524D\\u7AEF\\u5F00\\u53D1\"]}),(0,e.jsx)(\"p\",{children:_[0].value}),(0,e.jsx)(\"p\",{children:_[1].value}),(0,e.jsx)(\"p\",{children:_[2].value}),(0,e.jsxs)(\"blockquote\",{children:[(0,e.jsxs)(\"p\",{children:[_[3].value,(0,e.jsx)(\"br\",{}),_[4].value]}),(0,e.jsx)(\"blockquote\",{children:(0,e.jsxs)(\"p\",{children:[_[5].value,(0,e.jsx)(\"a\",{href:\"https://hackernoon.com/becoming-fully-reactive-an-in-depth-explanation-of-mobservable-55995262a254\",children:_[6].value}),_[7].value]})})]}),(0,e.jsx)(\"p\",{children:_[8].value}),_[9].value,(0,e.jsx)(\"img\",{src:\"https://pic1.zhimg.com/80/v2-acc79877c4337e90c1d107c7ffbddeb9_1440w.jpg\"}),_[10].value,(0,e.jsx)(\"img\",{src:\"https://pic3.zhimg.com/80/v2-821e9e52949a3004b5eab05f855deefb_1440w.jpg\"}),(0,e.jsx)(\"p\",{children:_[11].value}),(0,e.jsx)(\"p\",{children:_[12].value}),_[13].value,(0,e.jsx)(\"img\",{src:\"https://pic1.zhimg.com/80/v2-a6c752edeb8ce3f65c0e059650f57daa_1440w.jpg\"}),(0,e.jsx)(\"p\",{children:_[14].value}),(0,e.jsx)(\"p\",{children:_[15].value}),(0,e.jsx)(\"p\",{children:_[16].value}),(0,e.jsx)(\"p\",{children:_[17].value}),(0,e.jsxs)(\"p\",{children:[_[18].value,(0,e.jsx)(\"br\",{}),_[19].value]})]})})})}i.default=u}}]);\n"
  },
  {
    "path": "docs-dist/docs__guide__ddd.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docs-dist/docs__guide__faq.md.e2bc2716.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[205],{4273:function(t,d,_){_.r(d);var n=_(61875),s=_(57275),o=_(39761),E=_(21646),l=_(45626),M=_(70810),i=_(81229),P=_(50959),e=_(11527);function u(){var m=(0,i.eL)(),D=m.texts;return(0,e.jsx)(i.dY,{children:(0,e.jsx)(e.Fragment,{})})}d.default=u}}]);\n"
  },
  {
    "path": "docs-dist/docs__guide__faq.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docs-dist/docs__guide__getting-started.md.617b1c20.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[655],{12269:function(t,d,_){_.r(d);var o=_(61875),l=_(57275),E=_(39761),a=_(21646),n=_(45626),r=_(70810),i=_(81229),h=_(50959),e=_(11527);function s(){var m=(0,i.eL)(),u=m.texts;return(0,e.jsx)(i.dY,{children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(\"div\",{className:\"markdown\",children:(0,e.jsx)(n.Z,{lang:\"bash\",children:u[0].value})})})})}d.default=s}}]);\n"
  },
  {
    "path": "docs-dist/docs__guide__getting-started.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docs-dist/docs__guide__index.md.1f2709ec.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[825],{33300:function(a,n,d){d.r(n);var j=d(61875),l=d(57275),_=d(39761),h=d(21646),t=d(45626),r=d(70810),i=d(81229),c=d(50959),s=d(11527);function u(){var x=(0,i.eL)(),e=x.texts;return(0,s.jsx)(i.dY,{children:(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(\"div\",{className:\"markdown\",children:[(0,s.jsx)(\"p\",{children:(0,s.jsx)(\"a\",{name:\"TCs1r\"})}),(0,s.jsxs)(\"h1\",{id:\"what\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#what\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"What?\"]}),(0,s.jsxs)(\"p\",{children:[(0,s.jsx)(\"br\",{}),e[0].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),e[1].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{})]}),(0,s.jsx)(\"p\",{children:(0,s.jsx)(\"a\",{name:\"MufSR\"})}),(0,s.jsxs)(\"h1\",{id:\"why\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#why\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"Why?\"]}),(0,s.jsx)(\"p\",{children:(0,s.jsx)(\"a\",{name:\"WHzcf\"})}),(0,s.jsxs)(\"h2\",{id:\"\\u4E1A\\u52A1\\u8BBE\\u8BA1--\\u6A21\\u578B\\u8BBE\\u8BA1--\\u6570\\u636E\\u5E93\\u8BBE\\u8BA1\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u4E1A\\u52A1\\u8BBE\\u8BA1--\\u6A21\\u578B\\u8BBE\\u8BA1--\\u6570\\u636E\\u5E93\\u8BBE\\u8BA1\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u4E1A\\u52A1\\u8BBE\\u8BA1 \\u2248 \\u6A21\\u578B\\u8BBE\\u8BA1 \\xA0\\u2248 \\u6570\\u636E\\u5E93\\u8BBE\\u8BA1\"]}),(0,s.jsxs)(\"p\",{children:[e[2].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),e[3].value,(0,s.jsx)(\"br\",{}),e[4].value,(0,s.jsx)(\"br\",{}),e[5].value,(0,s.jsx)(\"br\",{}),e[6].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),e[7].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{})]}),(0,s.jsx)(\"p\",{children:(0,s.jsx)(\"a\",{name:\"uZ1ai\"})}),(0,s.jsxs)(\"h2\",{id:\"\\u5B9A\\u5236\\u5316\\u7684-er-\\u56FE\\u66F4\\u6709\\u4EF7\\u503C\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u5B9A\\u5236\\u5316\\u7684-er-\\u56FE\\u66F4\\u6709\\u4EF7\\u503C\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u5B9A\\u5236\\u5316\\u7684 ER \\u56FE\\u66F4\\u6709\\u4EF7\\u503C\"]}),(0,s.jsxs)(\"p\",{children:[(0,s.jsx)(\"br\",{}),e[8].value,(0,s.jsx)(\"br\",{}),e[9].value,(0,s.jsx)(\"br\",{}),e[10].value,(0,s.jsx)(\"br\",{}),e[11].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"a\",{name:\"cxCfH\"})]}),(0,s.jsxs)(\"h2\",{id:\"\\u5728\\u7EBF\\u7248\\u672C\\u7684-powerdesigner\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u5728\\u7EBF\\u7248\\u672C\\u7684-powerdesigner\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u5728\\u7EBF\\u7248\\u672C\\u7684 powerdesigner\"]}),(0,s.jsxs)(\"p\",{children:[(0,s.jsx)(\"br\",{}),e[12].value,(0,s.jsx)(\"br\",{}),e[13].value]}),(0,s.jsxs)(\"p\",{children:[e[14].value,(0,s.jsx)(\"br\",{}),e[15].value,(0,s.jsx)(\"br\",{}),e[16].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{})]}),(0,s.jsx)(\"p\",{children:(0,s.jsx)(\"a\",{name:\"2YlkC\"})}),(0,s.jsxs)(\"h1\",{id:\"how\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#how\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"How?\"]}),(0,s.jsx)(\"p\",{children:(0,s.jsx)(\"a\",{name:\"GV29M\"})}),(0,s.jsxs)(\"h2\",{id:\"\\u6280\\u672F\\u9009\\u578B\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u6280\\u672F\\u9009\\u578B\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u6280\\u672F\\u9009\\u578B\"]}),(0,s.jsx)(\"p\",{children:(0,s.jsx)(\"a\",{name:\"Yx7HF\"})}),(0,s.jsxs)(\"h3\",{id:\"svg-vs-canvas\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#svg-vs-canvas\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"SVG vs Canvas\"]}),(0,s.jsxs)(\"p\",{children:[(0,s.jsx)(\"br\",{}),e[17].value]}),(0,s.jsxs)(r.Z,{children:[(0,s.jsx)(\"thead\",{children:(0,s.jsxs)(\"tr\",{children:[(0,s.jsx)(\"th\",{}),(0,s.jsx)(\"th\",{children:e[18].value}),(0,s.jsx)(\"th\",{children:e[19].value}),(0,s.jsx)(\"th\",{})]})}),(0,s.jsxs)(\"tbody\",{children:[(0,s.jsxs)(\"tr\",{children:[(0,s.jsx)(\"td\",{}),(0,s.jsx)(\"td\",{children:e[20].value}),(0,s.jsx)(\"td\",{children:e[21].value}),(0,s.jsx)(\"td\",{})]}),(0,s.jsxs)(\"tr\",{children:[(0,s.jsx)(\"td\",{}),(0,s.jsx)(\"td\",{children:e[22].value}),(0,s.jsx)(\"td\",{children:e[23].value}),(0,s.jsx)(\"td\",{})]}),(0,s.jsxs)(\"tr\",{children:[(0,s.jsx)(\"td\",{}),(0,s.jsx)(\"td\",{children:e[24].value}),(0,s.jsx)(\"td\",{children:e[25].value}),(0,s.jsx)(\"td\",{})]}),(0,s.jsxs)(\"tr\",{children:[(0,s.jsx)(\"td\",{}),(0,s.jsx)(\"td\",{children:e[26].value}),(0,s.jsx)(\"td\",{children:e[27].value}),(0,s.jsx)(\"td\",{})]}),(0,s.jsxs)(\"tr\",{children:[(0,s.jsx)(\"td\",{}),(0,s.jsx)(\"td\",{children:e[28].value}),(0,s.jsx)(\"td\",{children:e[29].value}),(0,s.jsx)(\"td\",{})]})]})]}),(0,s.jsxs)(\"p\",{children:[(0,s.jsx)(\"br\",{}),e[30].value,(0,s.jsx)(\"br\",{}),e[31].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),e[32].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{})]})]})})})}n.default=u}}]);\n"
  },
  {
    "path": "docs-dist/docs__guide__index.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docs-dist/docs__guide__index.zh-CN.md.25f260c5.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[981],{40111:function(a,n,d){d.r(n);var j=d(61875),l=d(57275),_=d(39761),h=d(21646),t=d(45626),r=d(70810),i=d(81229),c=d(50959),s=d(11527);function u(){var x=(0,i.eL)(),e=x.texts;return(0,s.jsx)(i.dY,{children:(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(\"div\",{className:\"markdown\",children:[(0,s.jsx)(\"p\",{children:(0,s.jsx)(\"a\",{name:\"TCs1r\"})}),(0,s.jsxs)(\"h1\",{id:\"what\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#what\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"What?\"]}),(0,s.jsxs)(\"p\",{children:[(0,s.jsx)(\"br\",{}),e[0].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),e[1].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{})]}),(0,s.jsx)(\"p\",{children:(0,s.jsx)(\"a\",{name:\"MufSR\"})}),(0,s.jsxs)(\"h1\",{id:\"why\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#why\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"Why?\"]}),(0,s.jsx)(\"p\",{children:(0,s.jsx)(\"a\",{name:\"WHzcf\"})}),(0,s.jsxs)(\"h2\",{id:\"\\u4E1A\\u52A1\\u8BBE\\u8BA1--\\u6A21\\u578B\\u8BBE\\u8BA1--\\u6570\\u636E\\u5E93\\u8BBE\\u8BA1\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u4E1A\\u52A1\\u8BBE\\u8BA1--\\u6A21\\u578B\\u8BBE\\u8BA1--\\u6570\\u636E\\u5E93\\u8BBE\\u8BA1\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u4E1A\\u52A1\\u8BBE\\u8BA1 \\u2248 \\u6A21\\u578B\\u8BBE\\u8BA1 \\xA0\\u2248 \\u6570\\u636E\\u5E93\\u8BBE\\u8BA1\"]}),(0,s.jsxs)(\"p\",{children:[e[2].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),e[3].value,(0,s.jsx)(\"br\",{}),e[4].value,(0,s.jsx)(\"br\",{}),e[5].value,(0,s.jsx)(\"br\",{}),e[6].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),e[7].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{})]}),(0,s.jsx)(\"p\",{children:(0,s.jsx)(\"a\",{name:\"uZ1ai\"})}),(0,s.jsxs)(\"h2\",{id:\"\\u5B9A\\u5236\\u5316\\u7684-er-\\u56FE\\u66F4\\u6709\\u4EF7\\u503C\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u5B9A\\u5236\\u5316\\u7684-er-\\u56FE\\u66F4\\u6709\\u4EF7\\u503C\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u5B9A\\u5236\\u5316\\u7684 ER \\u56FE\\u66F4\\u6709\\u4EF7\\u503C\"]}),(0,s.jsxs)(\"p\",{children:[(0,s.jsx)(\"br\",{}),e[8].value,(0,s.jsx)(\"br\",{}),e[9].value,(0,s.jsx)(\"br\",{}),e[10].value,(0,s.jsx)(\"br\",{}),e[11].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"a\",{name:\"cxCfH\"})]}),(0,s.jsxs)(\"h2\",{id:\"\\u5728\\u7EBF\\u7248\\u672C\\u7684-powerdesigner\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u5728\\u7EBF\\u7248\\u672C\\u7684-powerdesigner\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u5728\\u7EBF\\u7248\\u672C\\u7684 powerdesigner\"]}),(0,s.jsxs)(\"p\",{children:[(0,s.jsx)(\"br\",{}),e[12].value,(0,s.jsx)(\"br\",{}),e[13].value]}),(0,s.jsxs)(\"p\",{children:[e[14].value,(0,s.jsx)(\"br\",{}),e[15].value,(0,s.jsx)(\"br\",{}),e[16].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{})]}),(0,s.jsx)(\"p\",{children:(0,s.jsx)(\"a\",{name:\"2YlkC\"})}),(0,s.jsxs)(\"h1\",{id:\"how\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#how\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"How?\"]}),(0,s.jsx)(\"p\",{children:(0,s.jsx)(\"a\",{name:\"GV29M\"})}),(0,s.jsxs)(\"h2\",{id:\"\\u6280\\u672F\\u9009\\u578B\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u6280\\u672F\\u9009\\u578B\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u6280\\u672F\\u9009\\u578B\"]}),(0,s.jsx)(\"p\",{children:(0,s.jsx)(\"a\",{name:\"Yx7HF\"})}),(0,s.jsxs)(\"h3\",{id:\"svg-vs-canvas\",children:[(0,s.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#svg-vs-canvas\",children:(0,s.jsx)(\"span\",{className:\"icon icon-link\"})}),\"SVG vs Canvas\"]}),(0,s.jsxs)(\"p\",{children:[(0,s.jsx)(\"br\",{}),e[17].value]}),(0,s.jsxs)(r.Z,{children:[(0,s.jsx)(\"thead\",{children:(0,s.jsxs)(\"tr\",{children:[(0,s.jsx)(\"th\",{}),(0,s.jsx)(\"th\",{children:e[18].value}),(0,s.jsx)(\"th\",{children:e[19].value}),(0,s.jsx)(\"th\",{})]})}),(0,s.jsxs)(\"tbody\",{children:[(0,s.jsxs)(\"tr\",{children:[(0,s.jsx)(\"td\",{}),(0,s.jsx)(\"td\",{children:e[20].value}),(0,s.jsx)(\"td\",{children:e[21].value}),(0,s.jsx)(\"td\",{})]}),(0,s.jsxs)(\"tr\",{children:[(0,s.jsx)(\"td\",{}),(0,s.jsx)(\"td\",{children:e[22].value}),(0,s.jsx)(\"td\",{children:e[23].value}),(0,s.jsx)(\"td\",{})]}),(0,s.jsxs)(\"tr\",{children:[(0,s.jsx)(\"td\",{}),(0,s.jsx)(\"td\",{children:e[24].value}),(0,s.jsx)(\"td\",{children:e[25].value}),(0,s.jsx)(\"td\",{})]}),(0,s.jsxs)(\"tr\",{children:[(0,s.jsx)(\"td\",{}),(0,s.jsx)(\"td\",{children:e[26].value}),(0,s.jsx)(\"td\",{children:e[27].value}),(0,s.jsx)(\"td\",{})]}),(0,s.jsxs)(\"tr\",{children:[(0,s.jsx)(\"td\",{}),(0,s.jsx)(\"td\",{children:e[28].value}),(0,s.jsx)(\"td\",{children:e[29].value}),(0,s.jsx)(\"td\",{})]})]})]}),(0,s.jsxs)(\"p\",{children:[(0,s.jsx)(\"br\",{}),e[30].value,(0,s.jsx)(\"br\",{}),e[31].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),e[32].value,(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{}),(0,s.jsx)(\"br\",{})]})]})})})}n.default=u}}]);\n"
  },
  {
    "path": "docs-dist/docs__guide__index.zh-CN.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docs-dist/docs__guide__migration.md.7accafe8.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[935],{73887:function(u,d,_){_.r(d);var m=_(61875),t=_(57275),o=_(39761),l=_(21646),E=_(45626),a=_(70810),i=_(81229),r=_(50959),e=_(11527);function n(){var s=(0,i.eL)(),h=s.texts;return(0,e.jsx)(i.dY,{children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(\"div\",{className:\"markdown\",children:(0,e.jsxs)(\"h1\",{id:\"\\u4ECE-00x-\\u8FC1\\u79FB\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u4ECE-00x-\\u8FC1\\u79FB\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u4ECE 0.0.X \\u8FC1\\u79FB\"]})})})})}d.default=n}}]);\n"
  },
  {
    "path": "docs-dist/docs__guide__migration.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docs-dist/docs__guide__model.md.4423bc7a.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[956],{92313:function(u,d,_){_.r(d);var t=_(61875),o=_(57275),l=_(39761),E=_(21646),a=_(45626),r=_(70810),i=_(81229),M=_(50959),e=_(11527);function n(){var m=(0,i.eL)(),s=m.texts;return(0,e.jsx)(i.dY,{children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(\"div\",{className:\"markdown\",children:(0,e.jsx)(\"p\",{children:s[0].value})})})})}d.default=n}}]);\n"
  },
  {
    "path": "docs-dist/docs__guide__model.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docs-dist/docs__guide__next.md.bbbf7fb8.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[708],{9830:function(j,a,i){i.r(a);var h=i(61875),x=i(57275),c=i(39761),g=i(21646),n=i(45626),r=i(70810),l=i(81229),u=i(50959),e=i(11527);function t(){var d=(0,l.eL)(),s=d.texts;return(0,e.jsx)(l.dY,{children:(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(\"div\",{className:\"markdown\",children:[(0,e.jsx)(\"p\",{children:(0,e.jsx)(\"a\",{name:\"tPlOC\"})}),(0,e.jsxs)(\"h2\",{id:\"\\u8E29\\u5751\\u548C\\u5B9E\\u8DF5\\u5206\\u4EAB\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u8E29\\u5751\\u548C\\u5B9E\\u8DF5\\u5206\\u4EAB\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u8E29\\u5751\\u548C\\u5B9E\\u8DF5\\u5206\\u4EAB\"]}),(0,e.jsx)(\"p\",{children:(0,e.jsx)(\"a\",{name:\"2hOYO\"})}),(0,e.jsxs)(\"h3\",{id:\"\\u8FDE\\u63A5\\u7EBF\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u8FDE\\u63A5\\u7EBF\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u8FDE\\u63A5\\u7EBF\"]}),(0,e.jsxs)(\"p\",{children:[(0,e.jsx)(\"br\",{}),s[0].value,(0,e.jsx)(\"br\",{}),s[1].value,(0,e.jsx)(\"br\",{})]}),(0,e.jsxs)(r.Z,{children:[(0,e.jsx)(\"thead\",{children:(0,e.jsxs)(\"tr\",{children:[(0,e.jsx)(\"th\",{children:(0,e.jsx)(\"img\",{src:\"https://intranetproxy.alipay.com/skylark/lark/0/2020/png/150917/1588136918824-2cfa106e-f0f7-4f3e-b299-426371c92b0f.png#align=left&display=inline&height=1246&margin=%5Bobject%20Object%5D&name=5AA91131-06CD-48A6-8BBD-C2FE93AF8848.png&originHeight=1246&originWidth=2106&size=1279016&status=done&style=none&width=2106\",alt:\"5AA91131-06CD-48A6-8BBD-C2FE93AF8848.png\"})}),(0,e.jsx)(\"th\",{children:(0,e.jsx)(\"img\",{src:\"https://intranetproxy.alipay.com/skylark/lark/0/2020/png/150917/1588136926989-d34026c1-f3f5-4f8c-9416-f6fb9d10219f.png#align=left&display=inline&height=335&margin=%5Bobject%20Object%5D&name=F8593258-BA3E-4F5F-B642-7774155DA7B4.png&originHeight=1194&originWidth=1838&size=1068211&status=done&style=none&width=515\",alt:\"F8593258-BA3E-4F5F-B642-7774155DA7B4.png\"})})]})}),(0,e.jsx)(\"tbody\",{children:(0,e.jsxs)(\"tr\",{children:[(0,e.jsx)(\"td\",{children:s[2].value}),(0,e.jsx)(\"td\",{children:s[3].value})]})})]}),(0,e.jsxs)(\"p\",{children:[(0,e.jsx)(\"br\",{}),s[4].value,(0,e.jsx)(\"strong\",{children:s[5].value}),s[6].value,(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),s[7].value]}),(0,e.jsx)(n.Z,{lang:\"javascript\",children:s[8].value}),(0,e.jsxs)(\"p\",{children:[(0,e.jsx)(\"br\",{}),s[9].value,(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{})]}),(0,e.jsxs)(r.Z,{children:[(0,e.jsx)(\"thead\",{children:(0,e.jsxs)(\"tr\",{children:[(0,e.jsx)(\"th\",{children:(0,e.jsx)(\"img\",{src:\"https://intranetproxy.alipay.com/skylark/lark/0/2020/png/150917/1588138245488-e6eab8cf-339a-46c4-82c0-c40ee057e8a3.png#align=left&display=inline&height=1084&margin=%5Bobject%20Object%5D&name=BBB8B7C5-068A-4E1C-85F2-A3EE116C80D2.png&originHeight=1084&originWidth=1514&size=876975&status=done&style=none&width=1514\",alt:\"BBB8B7C5-068A-4E1C-85F2-A3EE116C80D2.png\"})}),(0,e.jsx)(\"th\",{children:(0,e.jsx)(\"img\",{src:\"https://intranetproxy.alipay.com/skylark/lark/0/2020/png/150917/1588138310858-5f9276ad-7c78-4a94-b7f0-402bd0dc3306.png#align=left&display=inline&height=1186&margin=%5Bobject%20Object%5D&name=608DE2AA-3015-44CA-8A4D-2828EA38313D.png&originHeight=1186&originWidth=1734&size=948049&status=done&style=none&width=1734\",alt:\"608DE2AA-3015-44CA-8A4D-2828EA38313D.png\"})})]})}),(0,e.jsx)(\"tbody\",{children:(0,e.jsxs)(\"tr\",{children:[(0,e.jsx)(\"td\",{children:s[10].value}),(0,e.jsx)(\"td\",{children:s[11].value})]})})]}),(0,e.jsxs)(\"p\",{children:[(0,e.jsx)(\"br\",{}),s[12].value]}),(0,e.jsx)(n.Z,{lang:\"javascript\",children:s[13].value}),(0,e.jsxs)(\"p\",{children:[s[14].value,(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{})]}),(0,e.jsx)(\"p\",{children:(0,e.jsx)(\"a\",{name:\"6IGxj\"})}),(0,e.jsxs)(\"h3\",{id:\"\\u5E03\\u5C40\\u7B97\\u6CD5\\u9009\\u62E9\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u5E03\\u5C40\\u7B97\\u6CD5\\u9009\\u62E9\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u5E03\\u5C40\\u7B97\\u6CD5\\u9009\\u62E9\"]}),(0,e.jsxs)(\"p\",{children:[(0,e.jsx)(\"br\",{}),s[15].value,(0,e.jsx)(\"a\",{href:\"https://g6.antv.vision/zh/docs/api/layout/Graph\",children:s[16].value}),s[17].value,(0,e.jsx)(\"br\",{})]}),(0,e.jsxs)(\"p\",{children:[s[18].value,(0,e.jsx)(\"img\",{src:\"https://intranetproxy.alipay.com/skylark/lark/0/2020/png/150917/1588140199877-89698070-c195-4852-87a1-eb73b7e39a63.png#align=left&display=inline&height=1358&margin=%5Bobject%20Object%5D&name=B21C9A4F-566E-43AA-B077-F0897DA98834.png&originHeight=1358&originWidth=2316&size=1314821&status=done&style=none&width=2316\",alt:\"B21C9A4F-566E-43AA-B077-F0897DA98834.png\"})]}),(0,e.jsxs)(r.Z,{children:[(0,e.jsx)(\"thead\",{children:(0,e.jsxs)(\"tr\",{children:[(0,e.jsx)(\"th\",{children:(0,e.jsx)(\"img\",{src:\"https://intranetproxy.alipay.com/skylark/lark/0/2020/png/150917/1588140208864-f1eac2fe-bf72-4a4b-8190-a9aa9e6c2ce6.png#align=left&display=inline&height=1394&margin=%5Bobject%20Object%5D&name=7B2EE233-E3D9-44B5-B4D9-1EAFFF05EB92.png&originHeight=1394&originWidth=1652&size=1083333&status=done&style=none&width=1652\",alt:\"7B2EE233-E3D9-44B5-B4D9-1EAFFF05EB92.png\"})}),(0,e.jsx)(\"th\",{children:(0,e.jsx)(\"img\",{src:\"https://intranetproxy.alipay.com/skylark/lark/0/2020/png/150917/1588140216177-62b07b4b-c295-46ba-96b8-1ece48b58d4c.png#align=left&display=inline&height=1334&margin=%5Bobject%20Object%5D&name=FD8ACE85-1901-4157-8CAA-09EC1E093DCC.png&originHeight=1334&originWidth=1826&size=1028342&status=done&style=none&width=1826\",alt:\"FD8ACE85-1901-4157-8CAA-09EC1E093DCC.png\"})}),(0,e.jsx)(\"th\",{children:(0,e.jsx)(\"img\",{src:\"https://intranetproxy.alipay.com/skylark/lark/0/2020/png/150917/1588140844047-a0922410-2456-453d-b05c-219aa794758b.png#align=left&display=inline&height=1386&margin=%5Bobject%20Object%5D&name=8E6536A6-1007-435A-8B3F-2BE275636860.png&originHeight=1386&originWidth=1934&size=1137435&status=done&style=none&width=1934\",alt:\"8E6536A6-1007-435A-8B3F-2BE275636860.png\"})})]})}),(0,e.jsx)(\"tbody\",{children:(0,e.jsxs)(\"tr\",{children:[(0,e.jsx)(\"td\",{children:s[19].value}),(0,e.jsx)(\"td\",{children:s[20].value}),(0,e.jsx)(\"td\",{children:s[21].value})]})})]}),(0,e.jsxs)(\"p\",{children:[(0,e.jsx)(\"br\",{}),s[22].value,(0,e.jsx)(\"br\",{}),s[23].value,(0,e.jsx)(\"br\",{}),s[24].value,(0,e.jsx)(\"br\",{}),s[25].value,(0,e.jsx)(\"br\",{}),s[26].value,(0,e.jsx)(\"br\",{})]}),(0,e.jsx)(n.Z,{lang:\"javascript\",children:s[27].value}),(0,e.jsxs)(\"p\",{children:[(0,e.jsx)(\"br\",{}),s[28].value,(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"img\",{src:\"https://cdn.nlark.com/yuque/0/2020/png/250863/1588147821674-a4562cc3-7151-4319-94d7-e48f72442f86.png#align=left&display=inline&height=1304&margin=%5Bobject%20Object%5D&name=638978A4-5A10-4576-986B-2BD3A509080C.png&originHeight=1304&originWidth=1690&size=1121802&status=done&style=none&width=1690\",alt:\"638978A4-5A10-4576-986B-2BD3A509080C.png\"}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),s[29].value,(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),s[30].value,(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"a\",{href:\"https://g6.antv.vision/zh/docs/manual/middle/layout#%E4%BD%BF%E7%94%A8-web-worker\",children:s[31].value}),s[32].value,(0,e.jsx)(\"br\",{}),s[33].value,(0,e.jsx)(\"a\",{href:\"https://www.webpackjs.com/loaders/worker-loader/\",children:s[34].value}),s[35].value]}),(0,e.jsx)(n.Z,{lang:\"javascript\",children:s[36].value}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"p\",{children:(0,e.jsx)(\"a\",{name:\"RSDvc\"})}),(0,e.jsxs)(\"h3\",{id:\"\\u6027\\u80FD\\u4F18\\u5316\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u6027\\u80FD\\u4F18\\u5316\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u6027\\u80FD\\u4F18\\u5316\"]}),(0,e.jsxs)(\"p\",{children:[(0,e.jsx)(\"br\",{}),s[37].value,(0,e.jsx)(\"br\",{})]}),(0,e.jsx)(n.Z,{lang:\"javascript\",children:s[38].value}),(0,e.jsxs)(\"p\",{children:[(0,e.jsx)(\"img\",{src:\"https://cdn.nlark.com/yuque/0/2020/png/250863/1588147821658-ce332202-2378-4b2b-ac4a-9615cca7c734.png#align=left&display=inline&height=294&margin=%5Bobject%20Object%5D&name=21D2E555-F70B-4BD7-A799-174B8B102A2E.png&originHeight=294&originWidth=494&size=93996&status=done&style=none&width=494\",alt:\"21D2E555-F70B-4BD7-A799-174B8B102A2E.png\"}),(0,e.jsx)(\"br\",{}),s[39].value,(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"img\",{src:\"https://cdn.nlark.com/yuque/0/2020/png/250863/1588147821894-651b35ab-c463-438d-bf90-d7efbbecdeeb.png#align=left&display=inline&height=353&margin=%5Bobject%20Object%5D&name=1487709-20190809150507384-1624695011.png&originHeight=353&originWidth=678&size=52005&status=done&style=none&width=678\",alt:\"1487709-20190809150507384-1624695011.png\"}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),s[40].value]}),(0,e.jsx)(\"blockquote\",{children:(0,e.jsx)(\"p\",{children:s[41].value})}),(0,e.jsxs)(\"p\",{children:[s[42].value,(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"strong\",{children:s[43].value}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"strong\",{children:(0,e.jsx)(\"br\",{})}),(0,e.jsx)(\"img\",{src:\"https://cdn.nlark.com/yuque/0/2020/png/250863/1588147821642-9bbb019f-2068-4a39-a19f-b1929a4e3a9a.png#align=left&display=inline&height=270&margin=%5Bobject%20Object%5D&name=DB424001-A1F4-40F1-8F25-7CA8561759B8.png&originHeight=364&originWidth=782&size=94461&status=done&style=none&width=579\",alt:\"DB424001-A1F4-40F1-8F25-7CA8561759B8.png\"}),(0,e.jsx)(\"strong\",{children:(0,e.jsx)(\"br\",{})}),(0,e.jsx)(\"br\",{}),s[44].value]}),(0,e.jsx)(n.Z,{lang:\"javascript\",children:s[45].value}),(0,e.jsxs)(\"p\",{children:[(0,e.jsx)(\"br\",{}),s[46].value,(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"br\",{}),(0,e.jsx)(\"strong\",{children:s[47].value}),(0,e.jsx)(\"br\",{}),s[48].value,(0,e.jsx)(\"br\",{}),s[49].value,(0,e.jsx)(\"br\",{})]}),(0,e.jsxs)(r.Z,{children:[(0,e.jsx)(\"thead\",{children:(0,e.jsxs)(\"tr\",{children:[(0,e.jsx)(\"th\",{children:s[50].value}),(0,e.jsx)(\"th\",{children:s[51].value})]})}),(0,e.jsxs)(\"tbody\",{children:[(0,e.jsxs)(\"tr\",{children:[(0,e.jsx)(\"td\",{children:(0,e.jsx)(\"img\",{src:\"https://intranetproxy.alipay.com/skylark/lark/0/2020/png/150917/1588131029353-7f4ca53f-6b84-491c-bfaa-9d84536ce02f.png#align=left&display=inline&height=1074&margin=%5Bobject%20Object%5D&name=0D84075E-E987-4125-A257-5B357678BF8C.png&originHeight=1074&originWidth=1428&size=596128&status=done&style=none&width=1428\",alt:\"0D84075E-E987-4125-A257-5B357678BF8C.png\"})}),(0,e.jsx)(\"td\",{children:(0,e.jsx)(\"img\",{src:\"https://intranetproxy.alipay.com/skylark/lark/0/2020/png/150917/1588131052471-82746406-ea60-402b-9254-87d9c26dba09.png#align=left&display=inline&height=1174&margin=%5Bobject%20Object%5D&name=D94A188C-F8B1-4085-8554-77B8D5A834BF.png&originHeight=1174&originWidth=1624&size=621290&status=done&style=none&width=1624\",alt:\"D94A188C-F8B1-4085-8554-77B8D5A834BF.png\"})})]}),(0,e.jsxs)(\"tr\",{children:[(0,e.jsxs)(\"td\",{children:[s[52].value,(0,e.jsx)(\"br\",{}),s[53].value]}),(0,e.jsxs)(\"td\",{children:[s[54].value,(0,e.jsx)(\"br\",{}),s[55].value]})]})]})]}),(0,e.jsxs)(\"p\",{children:[(0,e.jsx)(\"br\",{}),s[56].value,(0,e.jsx)(\"br\",{}),s[57].value]}),(0,e.jsx)(n.Z,{lang:\"javascript\",children:s[58].value}),(0,e.jsxs)(\"ol\",{children:[(0,e.jsx)(\"li\",{children:s[59].value}),(0,e.jsx)(\"li\",{children:s[60].value}),(0,e.jsx)(\"li\",{children:s[61].value})]})]})})})}a.default=t}}]);\n"
  },
  {
    "path": "docs-dist/docs__guide__next.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docs-dist/docs__guide__relation.md.35f01354.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[575],{13337:function(u,d,_){_.r(d);var t=_(61875),o=_(57275),l=_(39761),E=_(21646),a=_(45626),r=_(70810),i=_(81229),M=_(50959),e=_(11527);function n(){var m=(0,i.eL)(),s=m.texts;return(0,e.jsx)(i.dY,{children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(\"div\",{className:\"markdown\",children:(0,e.jsx)(\"p\",{children:s[0].value})})})})}d.default=n}}]);\n"
  },
  {
    "path": "docs-dist/docs__guide__relation.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docs-dist/docs__guide__toolbar.md.b1f08561.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[244],{58130:function(t,d,_){_.r(d);var n=_(61875),s=_(57275),o=_(39761),E=_(21646),l=_(45626),M=_(70810),i=_(81229),P=_(50959),e=_(11527);function u(){var m=(0,i.eL)(),D=m.texts;return(0,e.jsx)(i.dY,{children:(0,e.jsx)(e.Fragment,{})})}d.default=u}}]);\n"
  },
  {
    "path": "docs-dist/docs__guide__toolbar.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docs-dist/docs__index.md.8fe22eab.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[533],{40717:function(o,i,_){_.r(i);var r=_(61875),l=_(57275),m=_(39761),u=_(21646),n=_(45626),h=_(70810),d=_(81229),c=_(50959),e=_(11527);function s(){var t=(0,d.eL)(),a=t.texts;return(0,e.jsx)(d.dY,{children:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(\"div\",{className:\"markdown\",children:[(0,e.jsxs)(\"h2\",{id:\"install\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#install\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"Install\"]}),(0,e.jsx)(n.Z,{lang:\"bash\",children:a[0].value}),(0,e.jsxs)(\"h2\",{id:\"getting-started\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#getting-started\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"Getting Started\"]})]}),(0,e.jsx)(d.Dl,{demo:{id:\"docs-demo-type-erd\"},previewerProps:{defaultshowcode:!0,filename:\"docs/type-erd.tsx\"}}),(0,e.jsx)(\"div\",{className:\"markdown\",children:(0,e.jsxs)(\"h2\",{id:\"contributing\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#contributing\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"Contributing\"]})}),(0,e.jsx)(d.Dl,{demo:{id:\"docs-demo-0\",inline:!0},previewerProps:{}}),(0,e.jsx)(\"div\",{className:\"markdown\",children:(0,e.jsxs)(\"h2\",{id:\"donate\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#donate\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"Donate\"]})}),(0,e.jsx)(d.Dl,{demo:{id:\"docs-demo-1\",inline:!0},previewerProps:{}})]})})}i.default=s}}]);\n"
  },
  {
    "path": "docs-dist/docs__index.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docs-dist/docs__index.zh-CN.md.8e8bec0b.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[834],{39583:function(a,i,_){_.r(i);var m=_(61875),r=_(57275),t=_(39761),l=_(21646),s=_(45626),h=_(70810),d=_(81229),E=_(50959),e=_(11527);function n(){var u=(0,d.eL)(),o=u.texts;return(0,e.jsx)(d.dY,{children:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(\"div\",{className:\"markdown\",children:[(0,e.jsxs)(\"h2\",{id:\"\\u5B89\\u88C5\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u5B89\\u88C5\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u5B89\\u88C5\"]}),(0,e.jsx)(s.Z,{lang:\"bash\",children:o[0].value}),(0,e.jsxs)(\"h2\",{id:\"\\u5FEB\\u901F\\u4F53\\u9A8C\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u5FEB\\u901F\\u4F53\\u9A8C\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u5FEB\\u901F\\u4F53\\u9A8C\"]})]}),(0,e.jsx)(d.Dl,{demo:{id:\"docs-demo-type-erd\"},previewerProps:{defaultshowcode:!0,filename:\"docs/type-erd.tsx\"}}),(0,e.jsx)(\"div\",{className:\"markdown\",children:(0,e.jsxs)(\"h2\",{id:\"\\u53CD\\u9988\\u4E0E\\u5171\\u5EFA\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u53CD\\u9988\\u4E0E\\u5171\\u5EFA\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u53CD\\u9988\\u4E0E\\u5171\\u5EFA\"]})}),(0,e.jsx)(d.Dl,{demo:{id:\"docs-demo-0\",inline:!0},previewerProps:{}}),(0,e.jsx)(\"div\",{className:\"markdown\",children:(0,e.jsxs)(\"h2\",{id:\"\\u8D5E\\u52A9\",children:[(0,e.jsx)(\"a\",{\"aria-hidden\":\"true\",tabIndex:\"-1\",href:\"#\\u8D5E\\u52A9\",children:(0,e.jsx)(\"span\",{className:\"icon icon-link\"})}),\"\\u8D5E\\u52A9\"]})}),(0,e.jsx)(d.Dl,{demo:{id:\"docs-demo-1\",inline:!0},previewerProps:{}})]})})}i.default=n}}]);\n"
  },
  {
    "path": "docs-dist/docs__index.zh-CN.md.ffc024b8.chunk.css",
    "content": ".dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:\"\";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}\n"
  },
  {
    "path": "docs-dist/dumi__tmp-production__dumi__theme__ContextWrapper.129554bf.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[923],{79586:function(f,l,e){e.r(l),e.d(l,{default:function(){return c}});var r=e(54306),u=e.n(r),t=e(50959),i=e(81229),a=e(41110),n=e(80134),m=e(24982),p=e(11527),g={};function c(){var h=(0,i.pC)(),b=(0,t.useState)(!0),o=u()(b,2),E=o[0],_=o[1],d=(0,t.useRef)(i.m8.location.pathname);return(0,t.useEffect)(function(){return i.m8.listen(function(s){s.location.pathname!==d.current&&(d.current=s.location.pathname,_(!0),document.documentElement.scrollTo(0,0))})},[]),(0,p.jsx)(a.D.Provider,{value:{pkg:{name:\"web-pdm-doc\",description:\"A react library developed with dumi\",version:\"0.0.1\",license:\"MIT\",authors:[]},entryExports:g,demos:n.DE,components:n.wx,locales:m.k,loading:E,setLoading:_,themeConfig:{title:\"web-pdm\",footer:\"Open-source MIT Licensed | Copyright \\xA9 2019-present<br />Powered by self\",prefersColor:{default:\"light\",switch:!0},hd:{rules:[]},rtl:!0,favicon:\"https://erd.zyking.xyz/assets/logo.png\",logo:\"https://erd.zyking.xyz/assets/logo.png\",navs:{\"en-US\":[{title:\"API\",path:\"/typedoc/\"},{title:\"GitHub\",path:\"https://github.com/lusess123/web-pdm\"},{title:\"Changelog\",path:\"https://github.com/lusess123/web-pdm/blob/master/packages/web-pdm-lib/CHANGELOG.md\"}],\"zh-CN\":[{title:\"API\",path:\"/typedoc/\"},{title:\"GitHub\",path:\"https://github.com/lusess123/web-pdm\"},{title:\"\\u66F4\\u65B0\\u65E5\\u5FD7\",path:\"https://github.com/lusess123/web-pdm/blob/master/packages/web-pdm-lib/CHANGELOG.md\"}]},sidebar:{\"/guide\":[{title:\"\\u4ECB\\u7ECD\",children:[{title:\"\\u9996\\u9875\",link:\"guide/index\"},{title:\"\\u5FEB\\u901F\\u5F00\\u59CB\",link:\"guide/getting-started\"}]},{title:\"\\u6A21\\u578B\\u5B9A\\u4E49\",children:[{title:\"\\u6A21\\u578B\",link:\"guide/model\"},{title:\"\\u5173\\u8054\\u5173\\u7CFB\",link:\"guide/relation\"}]},{title:\"\\u5DE5\\u5177\\u680F\",children:[{title:\"\\u5DE5\\u5177\",link:\"guide/toolbar\"}]},{title:\"\\u5176\\u4ED6\",children:[{title:\"\\u5347\\u7EA7\",link:\"guide/migration\"},{title:\"\\u89E3\\u7B54\",link:\"guide/faq\"},{title:\"\\u4E0B\\u4E00\\u6B65\",link:\"guide/next\"},{title:\"\\u6A21\\u578B\\u9A71\\u52A8\",link:\"guide/ddd\"}]}]}}},children:h})}}}]);\n"
  },
  {
    "path": "docs-dist/guide/ddd/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docs-dist/guide/faq/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docs-dist/guide/getting-started/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docs-dist/guide/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docs-dist/guide/migration/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docs-dist/guide/model/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docs-dist/guide/next/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docs-dist/guide/relation/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docs-dist/guide/toolbar/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docs-dist/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docs-dist/nm__dumi__dist__client__pages__404.173bfe00.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[65],{36264:function(o,n,e){e.r(n),e.d(n,{default:function(){return r}});var t=e(81229),a=e(50959),l=function(){var u=(0,t.YB)(),d=(0,t.bU)();return a.createElement(\"div\",{className:\"dumi-default-not-found\"},a.createElement(\"h1\",null,u.formatMessage({id:\"404.title\"})),a.createElement(t.rU,{to:\"base\"in d?d.base:\"/\",replace:!0},u.formatMessage({id:\"404.back\"}),\" \\u2192\"))},r=l}}]);\n"
  },
  {
    "path": "docs-dist/nm__dumi__dist__client__pages__404.8b85f2d9.chunk.css",
    "content": ".dumi-default-not-found{display:flex;flex-direction:column;height:65vh;align-items:center;justify-content:center}.dumi-default-not-found>h1{position:relative;margin:24px 0;color:#e4e9ec;font-size:78px;font-weight:700;text-shadow:-1px -1px 0 #d0d5d8}[data-prefers-color=dark] .dumi-default-not-found>h1{color:#2a353c;text-shadow:-1px -1px 0 #1c2022}.dumi-default-not-found>a{color:#1677ff}[data-prefers-color=dark] .dumi-default-not-found>a{color:#0053c8}.dumi-default-not-found>a:not(:hover){text-decoration:none}\n"
  },
  {
    "path": "docs-dist/nm__dumi__dist__client__pages__Demo__index.34d43b3c.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[9],{38699:function(v,n,e){e.r(n),e.d(n,{default:function(){return m}});var a=e(81229),o=e(50959),t=function(){var r=(0,a.UO)(),u=r.id,s=(0,a.WF)(),c=s.demos,f=c[u]||{},d=f.component;return d&&(0,o.createElement)(d)},m=t}}]);\n"
  },
  {
    "path": "docs-dist/nm__dumi__dist__client__pages__Demo__index.578aa5c0.chunk.css",
    "content": "body{margin:0;padding:0}\n"
  },
  {
    "path": "docs-dist/nm__dumi__theme-default__layouts__DocLayout__index.e98c1e2a.async.js",
    "content": "\"use strict\";(self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[]).push([[519],{66279:function(u,e,_){_.d(e,{Z:function(){return d.Z}});var d=_(8338)},88459:function(u,e,_){_.d(e,{Z:function(){return d.Z}});var d=_(90697)},25e3:function(u,e,_){_.d(e,{Z:function(){return d.Z}});var d=_(50557)},94995:function(u,e,_){_.d(e,{Z:function(){return d.Z}});var d=_(44191)},98428:function(u,e,_){_.d(e,{Z:function(){return d.Z}});var d=_(98862)},4291:function(u,e,_){_.d(e,{Z:function(){return d.Z}});var d=_(68806)},69698:function(u,e,_){_.d(e,{Z:function(){return d.Z}});var d=_(63301)},77621:function(u,e,_){_.d(e,{Z:function(){return d.Z}});var d=_(53371)},5491:function(u,e,_){_.d(e,{Z:function(){return d.Z}});var d=_(89811)},49279:function(u,e,_){_.d(e,{Z:function(){return d.Z}});var d=_(89317)},66591:function(u,e,_){_.d(e,{Z:function(){return d.Z}});var d=_(66216)},64814:function(u,e,_){_.d(e,{Z:function(){return d.Z}});var d=_(9850)},90346:function(u,e,_){_.d(e,{ZP:function(){return d.ZP}});var d=_(64387)},99711:function(u,e,_){_.d(e,{Z:function(){return d.Z}});var d=_(64586)},86064:function(u,e,_){_.d(e,{Z:function(){return d.Z}});var d=_(29847)}}]);\n"
  },
  {
    "path": "docs-dist/umi.5a19b5a0.css",
    "content": ".dumi-default-container.markdown{padding:18px 0;padding-inline-start:44px;padding-inline-end:16px;border-radius:4px}.dumi-default-container.markdown:not(:first-child){margin-bottom:24px}.dumi-default-container.markdown:not(:last-child){margin-top:32px}.dumi-default-container.markdown>svg{float:left;fill:currentcolor;margin-inline-start:-26px;width:18px}[data-direction=rtl] .dumi-default-container.markdown>svg{float:right}.dumi-default-container.markdown>h4{clear:none;margin:0 0 12px;font-size:15px;line-height:17px}.dumi-default-container.markdown>section{font-size:15px}.dumi-default-container.markdown[data-type=info]{background:#ecf4ff}.dumi-default-container.markdown[data-type=info]>h4,.dumi-default-container.markdown[data-type=info]>svg{color:#3367af}.dumi-default-container.markdown[data-type=info]>section{color:#496a99}[data-prefers-color=dark] .dumi-default-container.markdown[data-type=info]{background:#001c44}[data-prefers-color=dark] .dumi-default-container.markdown[data-type=info]>h4,[data-prefers-color=dark] .dumi-default-container.markdown[data-type=info]>svg{color:#5e8ed0}[data-prefers-color=dark] .dumi-default-container.markdown[data-type=info]>section{color:#7391bc}.dumi-default-container.markdown[data-type=warning]{background:#fff3da}.dumi-default-container.markdown[data-type=warning]>h4,.dumi-default-container.markdown[data-type=warning]>svg{color:#b78314}.dumi-default-container.markdown[data-type=warning]>section{color:#9e7a2d}[data-prefers-color=dark] .dumi-default-container.markdown[data-type=warning]{background:#2d1f00}[data-prefers-color=dark] .dumi-default-container.markdown[data-type=warning]>h4,[data-prefers-color=dark] .dumi-default-container.markdown[data-type=warning]>svg{color:#cd9417}[data-prefers-color=dark] .dumi-default-container.markdown[data-type=warning]>section{color:#b78c2e}.dumi-default-container.markdown[data-type=success]{background:#dff8e7}.dumi-default-container.markdown[data-type=success]>h4,.dumi-default-container.markdown[data-type=success]>svg{color:#238241}.dumi-default-container.markdown[data-type=success]>section{color:#357047}[data-prefers-color=dark] .dumi-default-container.markdown[data-type=success]{background:#082210}[data-prefers-color=dark] .dumi-default-container.markdown[data-type=success]>h4,[data-prefers-color=dark] .dumi-default-container.markdown[data-type=success]>svg{color:#2a9a4d}[data-prefers-color=dark] .dumi-default-container.markdown[data-type=success]>section{color:#3d8654}.dumi-default-container.markdown[data-type=error]{background:#fdf4f5}.dumi-default-container.markdown[data-type=error]>h4,.dumi-default-container.markdown[data-type=error]>svg{color:#b23642}.dumi-default-container.markdown[data-type=error]>section{color:#955359}[data-prefers-color=dark] .dumi-default-container.markdown[data-type=error]{background:#2a060a}[data-prefers-color=dark] .dumi-default-container.markdown[data-type=error]>h4,[data-prefers-color=dark] .dumi-default-container.markdown[data-type=error]>svg{color:#c6414e}[data-prefers-color=dark] .dumi-default-container.markdown[data-type=error]>section{color:#ad5962}code[class*=language-],pre[class*=language-]{background:hsl(230,1%,98%);color:#383a42;font-family:Fira Code,Fira Mono,Menlo,Consolas,DejaVu Sans Mono,monospace;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;tab-size:2;hyphens:none}code[class*=language-]::selection,code[class*=language-] *::selection,pre[class*=language-] *::selection{background:hsl(230,1%,90%);color:inherit}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}:not(pre)>code[class*=language-]{padding:.2em .3em;border-radius:.3em;white-space:normal}.token.comment,.token.prolog,.token.cdata{color:#a0a1a7}.token.doctype,.token.punctuation,.token.entity{color:#383a42}.token.attr-name,.token.class-name,.token.boolean,.token.constant,.token.number,.token.atrule{color:#b76b01}.token.keyword{color:#a626a4}.token.property,.token.tag,.token.symbol,.token.deleted,.token.important{color:#e45649}.token.selector,.token.string,.token.char,.token.builtin,.token.inserted,.token.regex,.token.attr-value,.token.attr-value>.token.punctuation{color:#50a14f}.token.variable,.token.operator,.token.function{color:#4078f2}.token.url{color:#0184bc}.token.attr-value>.token.punctuation.attr-equals,.token.special-attr>.token.attr-value>.token.value.css{color:#383a42}.language-css .token.selector{color:#e45649}.language-css .token.property{color:#383a42}.language-css .token.function,.language-css .token.url>.token.function{color:#0184bc}.language-css .token.url>.token.string.url{color:#50a14f}.language-css .token.important,.language-css .token.atrule .token.rule,.language-javascript .token.operator{color:#a626a4}.language-javascript .token.template-string>.token.interpolation>.token.interpolation-punctuation.punctuation{color:#ca1243}.language-json .token.operator{color:#383a42}.language-json .token.null.keyword{color:#b76b01}.language-markdown .token.url,.language-markdown .token.url>.token.operator,.language-markdown .token.url-reference.url>.token.string{color:#383a42}.language-markdown .token.url>.token.content{color:#4078f2}.language-markdown .token.url>.token.url,.language-markdown .token.url-reference.url{color:#0184bc}.language-markdown .token.blockquote.punctuation,.language-markdown .token.hr.punctuation{color:#a0a1a7;font-style:italic}.language-markdown .token.code-snippet{color:#50a14f}.language-markdown .token.bold .token.content{color:#b76b01}.language-markdown .token.italic .token.content{color:#a626a4}.language-markdown .token.strike .token.content,.language-markdown .token.strike .token.punctuation,.language-markdown .token.list.punctuation,.language-markdown .token.title.important>.token.punctuation{color:#e45649}.token.bold{font-weight:700}.token.comment,.token.italic{font-style:italic}.token.entity{cursor:help}.token.namespace{opacity:.8}.token.token.tab:not(:empty):before,.token.token.cr:before,.token.token.lf:before,.token.token.space:before{color:#383a4233}div.code-toolbar>.toolbar.toolbar>.toolbar-item{margin-right:.4em}div.code-toolbar>.toolbar.toolbar>.toolbar-item>button,div.code-toolbar>.toolbar.toolbar>.toolbar-item>a,div.code-toolbar>.toolbar.toolbar>.toolbar-item>span{background:hsl(230,1%,90%);color:#696c77;padding:.1em .4em;border-radius:.3em}div.code-toolbar>.toolbar.toolbar>.toolbar-item>button:hover,div.code-toolbar>.toolbar.toolbar>.toolbar-item>button:focus,div.code-toolbar>.toolbar.toolbar>.toolbar-item>a:hover,div.code-toolbar>.toolbar.toolbar>.toolbar-item>a:focus,div.code-toolbar>.toolbar.toolbar>.toolbar-item>span:hover,div.code-toolbar>.toolbar.toolbar>.toolbar-item>span:focus{background:hsl(230,1%,78%);color:#383a42}.line-highlight.line-highlight{background:hsla(230,8%,24%,.05)}.line-highlight.line-highlight:before,.line-highlight.line-highlight[data-end]:after{background:hsl(230,1%,90%);color:#383a42;padding:.1em .6em;border-radius:.3em;box-shadow:0 2px #0003}pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows>span:hover:before{background-color:#383a420d}.line-numbers.line-numbers .line-numbers-rows,.command-line .command-line-prompt{border-right-color:#383a4233}.line-numbers .line-numbers-rows>span:before,.command-line .command-line-prompt>span:before{color:#9d9d9f}.rainbow-braces .token.token.punctuation.brace-level-1,.rainbow-braces .token.token.punctuation.brace-level-5,.rainbow-braces .token.token.punctuation.brace-level-9{color:#e45649}.rainbow-braces .token.token.punctuation.brace-level-2,.rainbow-braces .token.token.punctuation.brace-level-6,.rainbow-braces .token.token.punctuation.brace-level-10{color:#50a14f}.rainbow-braces .token.token.punctuation.brace-level-3,.rainbow-braces .token.token.punctuation.brace-level-7,.rainbow-braces .token.token.punctuation.brace-level-11{color:#4078f2}.rainbow-braces .token.token.punctuation.brace-level-4,.rainbow-braces .token.token.punctuation.brace-level-8,.rainbow-braces .token.token.punctuation.brace-level-12{color:#a626a4}pre.diff-highlight>code .token.token.deleted:not(.prefix),pre>code.diff-highlight .token.token.deleted:not(.prefix){background-color:#ff526626}pre.diff-highlight>code .token.token.deleted:not(.prefix)::selection,pre.diff-highlight>code .token.token.deleted:not(.prefix) *::selection,pre>code.diff-highlight .token.token.deleted:not(.prefix)::selection,pre>code.diff-highlight .token.token.deleted:not(.prefix) *::selection{background-color:#fb566940}pre.diff-highlight>code .token.token.inserted:not(.prefix),pre>code.diff-highlight .token.token.inserted:not(.prefix){background-color:#1aff5b26}pre.diff-highlight>code .token.token.inserted:not(.prefix)::selection,pre.diff-highlight>code .token.token.inserted:not(.prefix) *::selection,pre>code.diff-highlight .token.token.inserted:not(.prefix)::selection,pre>code.diff-highlight .token.token.inserted:not(.prefix) *::selection{background-color:#38e06240}.prism-previewer.prism-previewer:before,.prism-previewer-gradient.prism-previewer-gradient div{border-color:hsl(0,0,95%)}.prism-previewer-color.prism-previewer-color:before,.prism-previewer-gradient.prism-previewer-gradient div,.prism-previewer-easing.prism-previewer-easing:before{border-radius:.3em}.prism-previewer.prism-previewer:after{border-top-color:hsl(0,0,95%)}.prism-previewer-flipped.prism-previewer-flipped.after{border-bottom-color:hsl(0,0,95%)}.prism-previewer-angle.prism-previewer-angle:before,.prism-previewer-time.prism-previewer-time:before,.prism-previewer-easing.prism-previewer-easing{background:hsl(0,0%,100%)}.prism-previewer-angle.prism-previewer-angle circle,.prism-previewer-time.prism-previewer-time circle{stroke:#383a42;stroke-opacity:1}.prism-previewer-easing.prism-previewer-easing circle,.prism-previewer-easing.prism-previewer-easing path,.prism-previewer-easing.prism-previewer-easing line{stroke:#383a42}.prism-previewer-easing.prism-previewer-easing circle{fill:transparent}[data-prefers-color=dark] .token.doctype,[data-prefers-color=dark] .token.punctuation,[data-prefers-color=dark] .token.entity,[data-prefers-color=dark] code[class*=language-],[data-prefers-color=dark] pre[class*=language-]{color:#8590a0}[data-prefers-color=dark] .token.comment,[data-prefers-color=dark] .token.prolog,[data-prefers-color=dark] .token.cdata{color:#616d7f}.dumi-default-source-code{position:relative;background-color:#fbfcfd;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.dumi-default-source-code>pre.prism-code{margin:0;padding:18px 24px;font-size:14px;line-height:1.58;direction:ltr;background:transparent}.dumi-default-source-code>pre.prism-code:before,.dumi-default-source-code>pre.prism-code:after{content:none}.dumi-default-source-code>pre.prism-code>.highlighted{background-color:#eeeff0;width:calc(100% + 48px);margin-inline-start:-24px;padding-inline-start:24px}.dumi-default-source-code-copy{position:absolute;top:9px;right:12px;display:inline-block;padding:8px 12px;background-color:#fbfcfdcc;border:0;border-radius:2px;cursor:pointer;transition:all .2s}.dumi-default-source-code-copy>svg{width:16px;fill:#98a3aa;transition:fill .2s}[data-prefers-color=dark] .dumi-default-source-code-copy>svg{fill:#4a545a}.dumi-default-source-code-copy:hover>svg{fill:#7c8a93}[data-prefers-color=dark] .dumi-default-source-code-copy:hover>svg{fill:#616e75}.dumi-default-source-code-copy[data-copied]>svg{fill:#208a41}[data-prefers-color=dark] .dumi-default-source-code-copy[data-copied]>svg{fill:#124c24}.dumi-default-source-code:not(:hover) .dumi-default-source-code-copy{opacity:0;visibility:hidden}[data-prefers-color=dark] .dumi-default-source-code{background-color:#020305}[data-prefers-color=dark] .dumi-default-source-code-copy{background-color:#02030533}[data-prefers-color=dark] .dumi-default-source-code>pre.prism-code>.highlighted{background-color:#1c1d1e}[data-dumi-tooltip]{position:relative}[data-dumi-tooltip]:before,[data-dumi-tooltip]:after{position:absolute;bottom:100%;left:50%;transform:translate(-50%);display:inline-block;opacity:.7;pointer-events:none;transition:all .2s}[data-dumi-tooltip]:before{content:attr(data-dumi-tooltip);min-width:30px;margin-bottom:8px;padding:5px 8px;color:#fff;font-size:13px;line-height:1.1;white-space:nowrap;background-color:#000;border-radius:2px;box-shadow:0 4px 10px #0000001a;box-sizing:border-box}[data-prefers-color=dark] [data-dumi-tooltip]:before{background-color:#222}[data-dumi-tooltip]:after{content:\"\";width:0;height:0;border:4px solid transparent;border-top-color:#000}[data-prefers-color=dark] [data-dumi-tooltip]:after{border-top-color:#222}[data-dumi-tooltip]:not(:hover):before,[data-dumi-tooltip]:not(:hover):after{visibility:hidden;opacity:0}[data-dumi-tooltip][data-dumi-tooltip-bottom]:before,[data-dumi-tooltip][data-dumi-tooltip-bottom]:after{bottom:auto;top:100%}[data-dumi-tooltip][data-dumi-tooltip-bottom]:before{margin-top:8px;margin-bottom:0}[data-dumi-tooltip][data-dumi-tooltip-bottom]:after{border-top-color:transparent;border-bottom-color:#000}[data-prefers-color=dark] [data-dumi-tooltip][data-dumi-tooltip-bottom]:after{border-bottom-color:#222}.dumi-default-previewer-actions{display:flex;height:32px;align-items:center;justify-content:center}.dumi-default-previewer-actions:not(:last-child){border-bottom:1px dashed #e4e9ec}[data-prefers-color=dark] .dumi-default-previewer-actions:not(:last-child){border-bottom-color:#2a353c}.dumi-default-previewer-action-btn{display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:0;background:transparent;cursor:pointer}.dumi-default-previewer-action-btn>svg{width:16px;fill:#98a3aa;transition:fill .2s}[data-prefers-color=dark] .dumi-default-previewer-action-btn>svg{fill:#4a545a}.dumi-default-previewer-action-btn:hover>svg{fill:#7c8a93}[data-prefers-color=dark] .dumi-default-previewer-action-btn:hover>svg{fill:#616e75}.dumi-default-previewer-action-btn:not(:last-child){margin-inline-end:4px}.dumi-default-previewer-tabs{position:relative;padding:0 12px}.dumi-default-previewer-tabs:after{content:\"\";position:absolute;left:0;bottom:0;width:100%;height:0;border-bottom:1px dashed #e4e9ec}[data-prefers-color=dark] .dumi-default-previewer-tabs:after{border-bottom-color:#2a353c}.dumi-default-tabs{overflow:hidden}.dumi-default-tabs-top{flex-direction:column}.dumi-default-tabs-top .dumi-default-tabs-ink-bar{bottom:0}.dumi-default-tabs-nav{display:flex}.dumi-default-tabs-nav-wrap{display:flex;white-space:nowrap;overflow:hidden}.dumi-default-tabs-nav-wrap.dumi-default-tabs-nav-wrap-ping-left{box-shadow:5px 0 5px -5px #0000001a inset}.dumi-default-tabs-nav-wrap.dumi-default-tabs-nav-wrap-ping-right~*>.dumi-default-tabs-nav-more{box-shadow:0 0 5px #0000001a}.dumi-default-tabs-nav-list{position:relative;z-index:1;display:flex;transition:transform .2s}.dumi-default-tabs-nav-more{height:100%;cursor:pointer;background:none;border:0;transition:box-shadow .2s}.dumi-default-tabs-tab{display:flex;margin:0 12px}.dumi-default-tabs-tab-btn{padding:0;color:#4f5866;font-size:14px;line-height:36px;border:0;outline:none;background:transparent;box-sizing:border-box;cursor:pointer;transition:all .2s}[data-prefers-color=dark] .dumi-default-tabs-tab-btn{color:#8590a0}.dumi-default-tabs-tab-btn:hover{color:#30363f}[data-prefers-color=dark] .dumi-default-tabs-tab-btn:hover{color:#c6c9cd}.dumi-default-tabs-tab-active .dumi-default-tabs-tab-btn{color:#30363f}[data-prefers-color=dark] .dumi-default-tabs-tab-active .dumi-default-tabs-tab-btn{color:#c6c9cd}.dumi-default-tabs-ink-bar{position:absolute;height:1px;background:#1677ff;transition:left .2s,width .2s;pointer-events:none}[data-prefers-color=dark] .dumi-default-tabs-ink-bar{background:#0053c8}.dumi-default-tabs-dropdown{position:absolute;background:inherit;border:1px solid #d0d5d8;max-height:200px;overflow:auto}[data-prefers-color=dark] .dumi-default-tabs-dropdown{border-color:#1c2022}.dumi-default-tabs-dropdown>ul{list-style:none;margin:0;padding:0}.dumi-default-tabs-dropdown>ul>li{padding:4px 12px;font-size:14px;cursor:pointer}.dumi-default-tabs-dropdown>ul>li:hover{color:#1677ff}[data-prefers-color=dark] .dumi-default-tabs-dropdown>ul>li:hover{color:#0053c8}.dumi-default-tabs-dropdown>ul>li:not(:last-child){border-bottom:1px dashed #d0d5d8}[data-prefers-color=dark] .dumi-default-tabs-dropdown>ul>li:not(:last-child){border-bottom-color:#1c2022}.dumi-default-tabs-dropdown-hidden{display:none}.dumi-default-previewer{margin:24px 0 32px;border:1px solid #e4e9ec;border-radius:4px;background-color:inherit}[data-prefers-color=dark] .dumi-default-previewer{border-color:#2a353c}[data-dumi-demo-grid] .dumi-default-previewer{margin:0 0 16px}[data-dumi-demo-grid] .dumi-default-previewer:first-child{margin-top:24px}[data-dumi-demo-grid] .dumi-default-previewer:last-child{margin-bottom:32px}.dumi-default-previewer-demo{border-top-left-radius:2px;border-top-right-radius:2px;padding:40px 24px}.dumi-default-previewer-demo>iframe{display:block;width:100%;height:300px;border:0}.dumi-default-previewer-demo[data-iframe]{position:relative;padding:0;overflow:hidden}.dumi-default-previewer-demo[data-iframe]:before{content:\"\";display:block;height:24px;background-color:#e4e9ec}[data-prefers-color=dark] .dumi-default-previewer-demo[data-iframe]:before{background-color:#2a353c}.dumi-default-previewer-demo[data-iframe]:after{content:\"\";position:absolute;top:5px;left:8px;display:inline-block;width:12px;height:12px;border-radius:50%;background-color:#fd6458;box-shadow:20px 0 #ffbf2b,40px 0 #24cc3d}.dumi-default-previewer-demo[data-transform]{transform:translate(0)}.dumi-default-previewer-demo[data-compact]{padding:0}.dumi-default-previewer-meta{border-top:1px solid #e4e9ec}[data-prefers-color=dark] .dumi-default-previewer-meta{border-top-color:#2a353c}.dumi-default-previewer-desc{position:relative}.dumi-default-previewer-desc>.markdown{padding:14px 24px;border-bottom:1px dashed #e4e9ec}[data-prefers-color=dark] .dumi-default-previewer-desc>.markdown{border-bottom-color:#2a353c}.dumi-default-previewer-desc>h5{position:absolute;top:-7px;left:20px;margin:0;padding:0 4px;display:inline-block;font-size:14px;line-height:1;font-weight:700;background:linear-gradient(to top,#ffffff,#ffffff 50%,rgba(255,255,255,0)) 100%}[data-prefers-color=dark] .dumi-default-previewer-desc>h5{background:linear-gradient(to top,rgba(0,0,0,.95),rgba(0,0,0,.95) 50%,rgba(0,0,0,0)) 100%}.dumi-default-previewer-desc>h5>a{color:#30363f}[data-prefers-color=dark] .dumi-default-previewer-desc>h5>a{color:#c6c9cd}.dumi-default-previewer-desc>h5>a:not(:hover){text-decoration:none}.dumi-default-previewer-desc>h5>a>strong{float:inline-start;padding-inline-end:8px;color:#d59200;font-size:12px;line-height:15px}[data-prefers-color=dark] .dumi-default-previewer-desc>h5>a>strong{color:#895e00}.dumi-default-previewer[data-active]{box-shadow:0 0 0 4px #1677ff1a;border-color:#7cb3ff}[data-prefers-color=dark] .dumi-default-previewer[data-active]{box-shadow:0 0 0 4px #0053c81a;border-color:#002962}.dumi-default-previewer[data-debug]{border-color:#ffc23c}[data-prefers-color=dark] .dumi-default-previewer[data-debug]{border-color:#231800}.dumi-default-previewer[data-debug][data-active]{box-shadow:0 0 0 4px #d592001a}[data-prefers-color=dark] .dumi-default-previewer[data-debug][data-active]{box-shadow:0 0 0 4px #895e001a}.dumi-default-content-tabs{list-style-type:none;display:flex;align-items:center;height:60px;margin:-48px -48px 48px;padding:0 48px;border-bottom:1px solid #e4e9ec}[data-prefers-color=dark] .dumi-default-content-tabs{border-bottom-color:#2a353c}@media only screen and (max-width: 767px){.dumi-default-content-tabs{margin:-24px -24px 24px;padding:0 24px;height:42px}}[data-no-sidebar] .dumi-default-content-tabs{margin:0 0 48px;padding:0}@media only screen and (max-width: 767px){[data-no-sidebar] .dumi-default-content-tabs{margin-bottom:24px}}.dumi-default-content-tabs>li{height:inherit}.dumi-default-content-tabs>li>button{padding:0;height:inherit;color:#4f5866;font-size:17px;border:0;background:transparent;cursor:pointer;transition:all .2s}[data-prefers-color=dark] .dumi-default-content-tabs>li>button{color:#8590a0}.dumi-default-content-tabs>li>button:hover{color:#1677ff}[data-prefers-color=dark] .dumi-default-content-tabs>li>button:hover{color:#0053c8}.dumi-default-content-tabs>li:not(last-child){margin-inline-end:42px}@media only screen and (max-width: 767px){.dumi-default-content-tabs>li:not(last-child){margin-inline-end:20px}}.dumi-default-content-tabs>li[data-active]{position:relative}.dumi-default-content-tabs>li[data-active]>button{color:#30363f}[data-prefers-color=dark] .dumi-default-content-tabs>li[data-active]>button{color:#c6c9cd}.dumi-default-content-tabs>li[data-active]:after{content:\"\";position:absolute;left:0;right:0;bottom:-1px;height:1px;background-color:#1677ff}[data-prefers-color=dark] .dumi-default-content-tabs>li[data-active]:after{background-color:#0053c8}\n"
  },
  {
    "path": "docs-dist/umi.ec46dd8b.js",
    "content": "(function(){var __webpack_modules__={34688:function(c,m,e){\"use strict\";e.d(m,{kG:function(){return h}});function a(g){return Math.floor(Math.log(g)*Math.LOG10E)}function o(g,y){if(typeof g.repeat==\"function\")return g.repeat(y);for(var S=new Array(y),I=0;I<S.length;I++)S[I]=g;return S.join(\"\")}function r(g,y,S,I){g.get(y)||g.set(y,Object.create(null));var N=g.get(y);N[S]=I}function u(g,y,S){for(var I=0,N=Object.keys(S);I<N.length;I++){var _=N[I];r(g,y,_,S[_])}}function l(g,y,S){return d(g,y,S)[S]}function d(g,y){for(var S=[],I=2;I<arguments.length;I++)S[I-2]=arguments[I];var N=g.get(y);if(!N)throw new TypeError(\"\".concat(y,\" InternalSlot has not been initialized\"));return S.reduce(function(_,M){return _[M]=N[M],_},Object.create(null))}function f(g){return g.type===\"literal\"}function v(g,y,S){var I=S.value;Object.defineProperty(g,y,{configurable:!0,enumerable:!1,writable:!0,value:I})}var p=/-u(?:-[0-9a-z]{2,8})+/gi;function h(g,y,S){if(S===void 0&&(S=Error),!g)throw new S(y)}},61829:function(c,m,e){\"use strict\";e.d(m,{A:function(){return y},H:function(){return a}});function a(S,I){var N=I&&I.cache?I.cache:g,_=I&&I.serializer?I.serializer:p,M=I&&I.strategy?I.strategy:d;return M(S,{cache:N,serializer:_})}function o(S){return S==null||typeof S==\"number\"||typeof S==\"boolean\"}function r(S,I,N,_){var M=o(_)?_:N(_),L=I.get(M);return typeof L==\"undefined\"&&(L=S.call(this,_),I.set(M,L)),L}function u(S,I,N){var _=Array.prototype.slice.call(arguments,3),M=N(_),L=I.get(M);return typeof L==\"undefined\"&&(L=S.apply(this,_),I.set(M,L)),L}function l(S,I,N,_,M){return N.bind(I,S,_,M)}function d(S,I){var N=S.length===1?r:u;return l(S,this,N,I.cache.create(),I.serializer)}function f(S,I){return l(S,this,u,I.cache.create(),I.serializer)}function v(S,I){return l(S,this,r,I.cache.create(),I.serializer)}var p=function(){return JSON.stringify(arguments)};function h(){this.cache=Object.create(null)}h.prototype.get=function(S){return this.cache[S]},h.prototype.set=function(S,I){this.cache[S]=I};var g={create:function(){return new h}},y={variadic:f,monadic:v}},72988:function(c,m,e){\"use strict\";e.d(m,{wD:function(){return r},VG:function(){return d},rp:function(){return v},Ii:function(){return N},O4:function(){return l},uf:function(){return f},Wh:function(){return I},Jo:function(){return g},yx:function(){return y},Wi:function(){return h},HI:function(){return S},pe:function(){return p},Qc:function(){return ft}});var a=e(96583),o;(function(b){b[b.EXPECT_ARGUMENT_CLOSING_BRACE=1]=\"EXPECT_ARGUMENT_CLOSING_BRACE\",b[b.EMPTY_ARGUMENT=2]=\"EMPTY_ARGUMENT\",b[b.MALFORMED_ARGUMENT=3]=\"MALFORMED_ARGUMENT\",b[b.EXPECT_ARGUMENT_TYPE=4]=\"EXPECT_ARGUMENT_TYPE\",b[b.INVALID_ARGUMENT_TYPE=5]=\"INVALID_ARGUMENT_TYPE\",b[b.EXPECT_ARGUMENT_STYLE=6]=\"EXPECT_ARGUMENT_STYLE\",b[b.INVALID_NUMBER_SKELETON=7]=\"INVALID_NUMBER_SKELETON\",b[b.INVALID_DATE_TIME_SKELETON=8]=\"INVALID_DATE_TIME_SKELETON\",b[b.EXPECT_NUMBER_SKELETON=9]=\"EXPECT_NUMBER_SKELETON\",b[b.EXPECT_DATE_TIME_SKELETON=10]=\"EXPECT_DATE_TIME_SKELETON\",b[b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]=\"UNCLOSED_QUOTE_IN_ARGUMENT_STYLE\",b[b.EXPECT_SELECT_ARGUMENT_OPTIONS=12]=\"EXPECT_SELECT_ARGUMENT_OPTIONS\",b[b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]=\"EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE\",b[b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]=\"INVALID_PLURAL_ARGUMENT_OFFSET_VALUE\",b[b.EXPECT_SELECT_ARGUMENT_SELECTOR=15]=\"EXPECT_SELECT_ARGUMENT_SELECTOR\",b[b.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]=\"EXPECT_PLURAL_ARGUMENT_SELECTOR\",b[b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]=\"EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT\",b[b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]=\"EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT\",b[b.INVALID_PLURAL_ARGUMENT_SELECTOR=19]=\"INVALID_PLURAL_ARGUMENT_SELECTOR\",b[b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]=\"DUPLICATE_PLURAL_ARGUMENT_SELECTOR\",b[b.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]=\"DUPLICATE_SELECT_ARGUMENT_SELECTOR\",b[b.MISSING_OTHER_CLAUSE=22]=\"MISSING_OTHER_CLAUSE\",b[b.INVALID_TAG=23]=\"INVALID_TAG\",b[b.INVALID_TAG_NAME=25]=\"INVALID_TAG_NAME\",b[b.UNMATCHED_CLOSING_TAG=26]=\"UNMATCHED_CLOSING_TAG\",b[b.UNCLOSED_TAG=27]=\"UNCLOSED_TAG\"})(o||(o={}));var r;(function(b){b[b.literal=0]=\"literal\",b[b.argument=1]=\"argument\",b[b.number=2]=\"number\",b[b.date=3]=\"date\",b[b.time=4]=\"time\",b[b.select=5]=\"select\",b[b.plural=6]=\"plural\",b[b.pound=7]=\"pound\",b[b.tag=8]=\"tag\"})(r||(r={}));var u;(function(b){b[b.number=0]=\"number\",b[b.dateTime=1]=\"dateTime\"})(u||(u={}));function l(b){return b.type===r.literal}function d(b){return b.type===r.argument}function f(b){return b.type===r.number}function v(b){return b.type===r.date}function p(b){return b.type===r.time}function h(b){return b.type===r.select}function g(b){return b.type===r.plural}function y(b){return b.type===r.pound}function S(b){return b.type===r.tag}function I(b){return!!(b&&typeof b==\"object\"&&b.type===u.number)}function N(b){return!!(b&&typeof b==\"object\"&&b.type===u.dateTime)}function _(b){return{type:r.literal,value:b}}function M(b,W){return{type:r.number,value:b,style:W}}var L=/[ \\xA0\\u1680\\u2000-\\u200A\\u202F\\u205F\\u3000]/,k=/[\\t-\\r \\x85\\u200E\\u200F\\u2028\\u2029]/,U=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function x(b){var W={};return b.replace(U,function(de){var ye=de.length;switch(de[0]){case\"G\":W.era=ye===4?\"long\":ye===5?\"narrow\":\"short\";break;case\"y\":W.year=ye===2?\"2-digit\":\"numeric\";break;case\"Y\":case\"u\":case\"U\":case\"r\":throw new RangeError(\"`Y/u/U/r` (year) patterns are not supported, use `y` instead\");case\"q\":case\"Q\":throw new RangeError(\"`q/Q` (quarter) patterns are not supported\");case\"M\":case\"L\":W.month=[\"numeric\",\"2-digit\",\"short\",\"long\",\"narrow\"][ye-1];break;case\"w\":case\"W\":throw new RangeError(\"`w/W` (week) patterns are not supported\");case\"d\":W.day=[\"numeric\",\"2-digit\"][ye-1];break;case\"D\":case\"F\":case\"g\":throw new RangeError(\"`D/F/g` (day) patterns are not supported, use `d` instead\");case\"E\":W.weekday=ye===4?\"short\":ye===5?\"narrow\":\"short\";break;case\"e\":if(ye<4)throw new RangeError(\"`e..eee` (weekday) patterns are not supported\");W.weekday=[\"short\",\"long\",\"narrow\",\"short\"][ye-4];break;case\"c\":if(ye<4)throw new RangeError(\"`c..ccc` (weekday) patterns are not supported\");W.weekday=[\"short\",\"long\",\"narrow\",\"short\"][ye-4];break;case\"a\":W.hour12=!0;break;case\"b\":case\"B\":throw new RangeError(\"`b/B` (period) patterns are not supported, use `a` instead\");case\"h\":W.hourCycle=\"h12\",W.hour=[\"numeric\",\"2-digit\"][ye-1];break;case\"H\":W.hourCycle=\"h23\",W.hour=[\"numeric\",\"2-digit\"][ye-1];break;case\"K\":W.hourCycle=\"h11\",W.hour=[\"numeric\",\"2-digit\"][ye-1];break;case\"k\":W.hourCycle=\"h24\",W.hour=[\"numeric\",\"2-digit\"][ye-1];break;case\"j\":case\"J\":case\"C\":throw new RangeError(\"`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead\");case\"m\":W.minute=[\"numeric\",\"2-digit\"][ye-1];break;case\"s\":W.second=[\"numeric\",\"2-digit\"][ye-1];break;case\"S\":case\"A\":throw new RangeError(\"`S/A` (second) patterns are not supported, use `s` instead\");case\"z\":W.timeZoneName=ye<4?\"short\":\"long\";break;case\"Z\":case\"O\":case\"v\":case\"V\":case\"X\":case\"x\":throw new RangeError(\"`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead\")}return\"\"}),W}var F=/[\\t-\\r \\x85\\u200E\\u200F\\u2028\\u2029]/i;function K(b){if(b.length===0)throw new Error(\"Number skeleton cannot be empty\");for(var W=b.split(F).filter(function(jt){return jt.length>0}),de=[],ye=0,He=W;ye<He.length;ye++){var rt=He[ye],$e=rt.split(\"/\");if($e.length===0)throw new Error(\"Invalid number skeleton\");for(var pt=$e[0],Ot=$e.slice(1),at=0,wt=Ot;at<wt.length;at++){var vt=wt[at];if(vt.length===0)throw new Error(\"Invalid number skeleton\")}de.push({stem:pt,options:Ot})}return de}function G(b){return b.replace(/^(.*?)-/,\"\")}var q=/^\\.(?:(0+)(\\*)?|(#+)|(0+)(#+))$/g,X=/^(@+)?(\\+|#+)?[rs]?$/g,oe=/(\\*)(0+)|(#+)(0+)|(0+)/g,Ee=/^(0+)$/;function Te(b){var W={};return b[b.length-1]===\"r\"?W.roundingPriority=\"morePrecision\":b[b.length-1]===\"s\"&&(W.roundingPriority=\"lessPrecision\"),b.replace(X,function(de,ye,He){return typeof He!=\"string\"?(W.minimumSignificantDigits=ye.length,W.maximumSignificantDigits=ye.length):He===\"+\"?W.minimumSignificantDigits=ye.length:ye[0]===\"#\"?W.maximumSignificantDigits=ye.length:(W.minimumSignificantDigits=ye.length,W.maximumSignificantDigits=ye.length+(typeof He==\"string\"?He.length:0)),\"\"}),W}function ae(b){switch(b){case\"sign-auto\":return{signDisplay:\"auto\"};case\"sign-accounting\":case\"()\":return{currencySign:\"accounting\"};case\"sign-always\":case\"+!\":return{signDisplay:\"always\"};case\"sign-accounting-always\":case\"()!\":return{signDisplay:\"always\",currencySign:\"accounting\"};case\"sign-except-zero\":case\"+?\":return{signDisplay:\"exceptZero\"};case\"sign-accounting-except-zero\":case\"()?\":return{signDisplay:\"exceptZero\",currencySign:\"accounting\"};case\"sign-never\":case\"+_\":return{signDisplay:\"never\"}}}function z(b){var W;if(b[0]===\"E\"&&b[1]===\"E\"?(W={notation:\"engineering\"},b=b.slice(2)):b[0]===\"E\"&&(W={notation:\"scientific\"},b=b.slice(1)),W){var de=b.slice(0,2);if(de===\"+!\"?(W.signDisplay=\"always\",b=b.slice(2)):de===\"+?\"&&(W.signDisplay=\"exceptZero\",b=b.slice(2)),!Ee.test(b))throw new Error(\"Malformed concise eng/scientific notation\");W.minimumIntegerDigits=b.length}return W}function A(b){var W={},de=ae(b);return de||W}function T(b){for(var W={},de=0,ye=b;de<ye.length;de++){var He=ye[de];switch(He.stem){case\"percent\":case\"%\":W.style=\"percent\";continue;case\"%x100\":W.style=\"percent\",W.scale=100;continue;case\"currency\":W.style=\"currency\",W.currency=He.options[0];continue;case\"group-off\":case\",_\":W.useGrouping=!1;continue;case\"precision-integer\":case\".\":W.maximumFractionDigits=0;continue;case\"measure-unit\":case\"unit\":W.style=\"unit\",W.unit=G(He.options[0]);continue;case\"compact-short\":case\"K\":W.notation=\"compact\",W.compactDisplay=\"short\";continue;case\"compact-long\":case\"KK\":W.notation=\"compact\",W.compactDisplay=\"long\";continue;case\"scientific\":W=(0,a.pi)((0,a.pi)((0,a.pi)({},W),{notation:\"scientific\"}),He.options.reduce(function(Ot,at){return(0,a.pi)((0,a.pi)({},Ot),A(at))},{}));continue;case\"engineering\":W=(0,a.pi)((0,a.pi)((0,a.pi)({},W),{notation:\"engineering\"}),He.options.reduce(function(Ot,at){return(0,a.pi)((0,a.pi)({},Ot),A(at))},{}));continue;case\"notation-simple\":W.notation=\"standard\";continue;case\"unit-width-narrow\":W.currencyDisplay=\"narrowSymbol\",W.unitDisplay=\"narrow\";continue;case\"unit-width-short\":W.currencyDisplay=\"code\",W.unitDisplay=\"short\";continue;case\"unit-width-full-name\":W.currencyDisplay=\"name\",W.unitDisplay=\"long\";continue;case\"unit-width-iso-code\":W.currencyDisplay=\"symbol\";continue;case\"scale\":W.scale=parseFloat(He.options[0]);continue;case\"integer-width\":if(He.options.length>1)throw new RangeError(\"integer-width stems only accept a single optional option\");He.options[0].replace(oe,function(Ot,at,wt,vt,jt,At){if(at)W.minimumIntegerDigits=wt.length;else{if(vt&&jt)throw new Error(\"We currently do not support maximum integer digits\");if(At)throw new Error(\"We currently do not support exact integer digits\")}return\"\"});continue}if(Ee.test(He.stem)){W.minimumIntegerDigits=He.stem.length;continue}if(q.test(He.stem)){if(He.options.length>1)throw new RangeError(\"Fraction-precision stems only accept a single optional option\");He.stem.replace(q,function(Ot,at,wt,vt,jt,At){return wt===\"*\"?W.minimumFractionDigits=at.length:vt&&vt[0]===\"#\"?W.maximumFractionDigits=vt.length:jt&&At?(W.minimumFractionDigits=jt.length,W.maximumFractionDigits=jt.length+At.length):(W.minimumFractionDigits=at.length,W.maximumFractionDigits=at.length),\"\"});var rt=He.options[0];rt===\"w\"?W=(0,a.pi)((0,a.pi)({},W),{trailingZeroDisplay:\"stripIfInteger\"}):rt&&(W=(0,a.pi)((0,a.pi)({},W),Te(rt)));continue}if(X.test(He.stem)){W=(0,a.pi)((0,a.pi)({},W),Te(He.stem));continue}var $e=ae(He.stem);$e&&(W=(0,a.pi)((0,a.pi)({},W),$e));var pt=z(He.stem);pt&&(W=(0,a.pi)((0,a.pi)({},W),pt))}return W}var R={AX:[\"H\"],BQ:[\"H\"],CP:[\"H\"],CZ:[\"H\"],DK:[\"H\"],FI:[\"H\"],ID:[\"H\"],IS:[\"H\"],ML:[\"H\"],NE:[\"H\"],RU:[\"H\"],SE:[\"H\"],SJ:[\"H\"],SK:[\"H\"],AS:[\"h\",\"H\"],BT:[\"h\",\"H\"],DJ:[\"h\",\"H\"],ER:[\"h\",\"H\"],GH:[\"h\",\"H\"],IN:[\"h\",\"H\"],LS:[\"h\",\"H\"],PG:[\"h\",\"H\"],PW:[\"h\",\"H\"],SO:[\"h\",\"H\"],TO:[\"h\",\"H\"],VU:[\"h\",\"H\"],WS:[\"h\",\"H\"],\"001\":[\"H\",\"h\"],AL:[\"h\",\"H\",\"hB\"],TD:[\"h\",\"H\",\"hB\"],\"ca-ES\":[\"H\",\"h\",\"hB\"],CF:[\"H\",\"h\",\"hB\"],CM:[\"H\",\"h\",\"hB\"],\"fr-CA\":[\"H\",\"h\",\"hB\"],\"gl-ES\":[\"H\",\"h\",\"hB\"],\"it-CH\":[\"H\",\"h\",\"hB\"],\"it-IT\":[\"H\",\"h\",\"hB\"],LU:[\"H\",\"h\",\"hB\"],NP:[\"H\",\"h\",\"hB\"],PF:[\"H\",\"h\",\"hB\"],SC:[\"H\",\"h\",\"hB\"],SM:[\"H\",\"h\",\"hB\"],SN:[\"H\",\"h\",\"hB\"],TF:[\"H\",\"h\",\"hB\"],VA:[\"H\",\"h\",\"hB\"],CY:[\"h\",\"H\",\"hb\",\"hB\"],GR:[\"h\",\"H\",\"hb\",\"hB\"],CO:[\"h\",\"H\",\"hB\",\"hb\"],DO:[\"h\",\"H\",\"hB\",\"hb\"],KP:[\"h\",\"H\",\"hB\",\"hb\"],KR:[\"h\",\"H\",\"hB\",\"hb\"],NA:[\"h\",\"H\",\"hB\",\"hb\"],PA:[\"h\",\"H\",\"hB\",\"hb\"],PR:[\"h\",\"H\",\"hB\",\"hb\"],VE:[\"h\",\"H\",\"hB\",\"hb\"],AC:[\"H\",\"h\",\"hb\",\"hB\"],AI:[\"H\",\"h\",\"hb\",\"hB\"],BW:[\"H\",\"h\",\"hb\",\"hB\"],BZ:[\"H\",\"h\",\"hb\",\"hB\"],CC:[\"H\",\"h\",\"hb\",\"hB\"],CK:[\"H\",\"h\",\"hb\",\"hB\"],CX:[\"H\",\"h\",\"hb\",\"hB\"],DG:[\"H\",\"h\",\"hb\",\"hB\"],FK:[\"H\",\"h\",\"hb\",\"hB\"],GB:[\"H\",\"h\",\"hb\",\"hB\"],GG:[\"H\",\"h\",\"hb\",\"hB\"],GI:[\"H\",\"h\",\"hb\",\"hB\"],IE:[\"H\",\"h\",\"hb\",\"hB\"],IM:[\"H\",\"h\",\"hb\",\"hB\"],IO:[\"H\",\"h\",\"hb\",\"hB\"],JE:[\"H\",\"h\",\"hb\",\"hB\"],LT:[\"H\",\"h\",\"hb\",\"hB\"],MK:[\"H\",\"h\",\"hb\",\"hB\"],MN:[\"H\",\"h\",\"hb\",\"hB\"],MS:[\"H\",\"h\",\"hb\",\"hB\"],NF:[\"H\",\"h\",\"hb\",\"hB\"],NG:[\"H\",\"h\",\"hb\",\"hB\"],NR:[\"H\",\"h\",\"hb\",\"hB\"],NU:[\"H\",\"h\",\"hb\",\"hB\"],PN:[\"H\",\"h\",\"hb\",\"hB\"],SH:[\"H\",\"h\",\"hb\",\"hB\"],SX:[\"H\",\"h\",\"hb\",\"hB\"],TA:[\"H\",\"h\",\"hb\",\"hB\"],ZA:[\"H\",\"h\",\"hb\",\"hB\"],\"af-ZA\":[\"H\",\"h\",\"hB\",\"hb\"],AR:[\"H\",\"h\",\"hB\",\"hb\"],CL:[\"H\",\"h\",\"hB\",\"hb\"],CR:[\"H\",\"h\",\"hB\",\"hb\"],CU:[\"H\",\"h\",\"hB\",\"hb\"],EA:[\"H\",\"h\",\"hB\",\"hb\"],\"es-BO\":[\"H\",\"h\",\"hB\",\"hb\"],\"es-BR\":[\"H\",\"h\",\"hB\",\"hb\"],\"es-EC\":[\"H\",\"h\",\"hB\",\"hb\"],\"es-ES\":[\"H\",\"h\",\"hB\",\"hb\"],\"es-GQ\":[\"H\",\"h\",\"hB\",\"hb\"],\"es-PE\":[\"H\",\"h\",\"hB\",\"hb\"],GT:[\"H\",\"h\",\"hB\",\"hb\"],HN:[\"H\",\"h\",\"hB\",\"hb\"],IC:[\"H\",\"h\",\"hB\",\"hb\"],KG:[\"H\",\"h\",\"hB\",\"hb\"],KM:[\"H\",\"h\",\"hB\",\"hb\"],LK:[\"H\",\"h\",\"hB\",\"hb\"],MA:[\"H\",\"h\",\"hB\",\"hb\"],MX:[\"H\",\"h\",\"hB\",\"hb\"],NI:[\"H\",\"h\",\"hB\",\"hb\"],PY:[\"H\",\"h\",\"hB\",\"hb\"],SV:[\"H\",\"h\",\"hB\",\"hb\"],UY:[\"H\",\"h\",\"hB\",\"hb\"],JP:[\"H\",\"h\",\"K\"],AD:[\"H\",\"hB\"],AM:[\"H\",\"hB\"],AO:[\"H\",\"hB\"],AT:[\"H\",\"hB\"],AW:[\"H\",\"hB\"],BE:[\"H\",\"hB\"],BF:[\"H\",\"hB\"],BJ:[\"H\",\"hB\"],BL:[\"H\",\"hB\"],BR:[\"H\",\"hB\"],CG:[\"H\",\"hB\"],CI:[\"H\",\"hB\"],CV:[\"H\",\"hB\"],DE:[\"H\",\"hB\"],EE:[\"H\",\"hB\"],FR:[\"H\",\"hB\"],GA:[\"H\",\"hB\"],GF:[\"H\",\"hB\"],GN:[\"H\",\"hB\"],GP:[\"H\",\"hB\"],GW:[\"H\",\"hB\"],HR:[\"H\",\"hB\"],IL:[\"H\",\"hB\"],IT:[\"H\",\"hB\"],KZ:[\"H\",\"hB\"],MC:[\"H\",\"hB\"],MD:[\"H\",\"hB\"],MF:[\"H\",\"hB\"],MQ:[\"H\",\"hB\"],MZ:[\"H\",\"hB\"],NC:[\"H\",\"hB\"],NL:[\"H\",\"hB\"],PM:[\"H\",\"hB\"],PT:[\"H\",\"hB\"],RE:[\"H\",\"hB\"],RO:[\"H\",\"hB\"],SI:[\"H\",\"hB\"],SR:[\"H\",\"hB\"],ST:[\"H\",\"hB\"],TG:[\"H\",\"hB\"],TR:[\"H\",\"hB\"],WF:[\"H\",\"hB\"],YT:[\"H\",\"hB\"],BD:[\"h\",\"hB\",\"H\"],PK:[\"h\",\"hB\",\"H\"],AZ:[\"H\",\"hB\",\"h\"],BA:[\"H\",\"hB\",\"h\"],BG:[\"H\",\"hB\",\"h\"],CH:[\"H\",\"hB\",\"h\"],GE:[\"H\",\"hB\",\"h\"],LI:[\"H\",\"hB\",\"h\"],ME:[\"H\",\"hB\",\"h\"],RS:[\"H\",\"hB\",\"h\"],UA:[\"H\",\"hB\",\"h\"],UZ:[\"H\",\"hB\",\"h\"],XK:[\"H\",\"hB\",\"h\"],AG:[\"h\",\"hb\",\"H\",\"hB\"],AU:[\"h\",\"hb\",\"H\",\"hB\"],BB:[\"h\",\"hb\",\"H\",\"hB\"],BM:[\"h\",\"hb\",\"H\",\"hB\"],BS:[\"h\",\"hb\",\"H\",\"hB\"],CA:[\"h\",\"hb\",\"H\",\"hB\"],DM:[\"h\",\"hb\",\"H\",\"hB\"],\"en-001\":[\"h\",\"hb\",\"H\",\"hB\"],FJ:[\"h\",\"hb\",\"H\",\"hB\"],FM:[\"h\",\"hb\",\"H\",\"hB\"],GD:[\"h\",\"hb\",\"H\",\"hB\"],GM:[\"h\",\"hb\",\"H\",\"hB\"],GU:[\"h\",\"hb\",\"H\",\"hB\"],GY:[\"h\",\"hb\",\"H\",\"hB\"],JM:[\"h\",\"hb\",\"H\",\"hB\"],KI:[\"h\",\"hb\",\"H\",\"hB\"],KN:[\"h\",\"hb\",\"H\",\"hB\"],KY:[\"h\",\"hb\",\"H\",\"hB\"],LC:[\"h\",\"hb\",\"H\",\"hB\"],LR:[\"h\",\"hb\",\"H\",\"hB\"],MH:[\"h\",\"hb\",\"H\",\"hB\"],MP:[\"h\",\"hb\",\"H\",\"hB\"],MW:[\"h\",\"hb\",\"H\",\"hB\"],NZ:[\"h\",\"hb\",\"H\",\"hB\"],SB:[\"h\",\"hb\",\"H\",\"hB\"],SG:[\"h\",\"hb\",\"H\",\"hB\"],SL:[\"h\",\"hb\",\"H\",\"hB\"],SS:[\"h\",\"hb\",\"H\",\"hB\"],SZ:[\"h\",\"hb\",\"H\",\"hB\"],TC:[\"h\",\"hb\",\"H\",\"hB\"],TT:[\"h\",\"hb\",\"H\",\"hB\"],UM:[\"h\",\"hb\",\"H\",\"hB\"],US:[\"h\",\"hb\",\"H\",\"hB\"],VC:[\"h\",\"hb\",\"H\",\"hB\"],VG:[\"h\",\"hb\",\"H\",\"hB\"],VI:[\"h\",\"hb\",\"H\",\"hB\"],ZM:[\"h\",\"hb\",\"H\",\"hB\"],BO:[\"H\",\"hB\",\"h\",\"hb\"],EC:[\"H\",\"hB\",\"h\",\"hb\"],ES:[\"H\",\"hB\",\"h\",\"hb\"],GQ:[\"H\",\"hB\",\"h\",\"hb\"],PE:[\"H\",\"hB\",\"h\",\"hb\"],AE:[\"h\",\"hB\",\"hb\",\"H\"],\"ar-001\":[\"h\",\"hB\",\"hb\",\"H\"],BH:[\"h\",\"hB\",\"hb\",\"H\"],DZ:[\"h\",\"hB\",\"hb\",\"H\"],EG:[\"h\",\"hB\",\"hb\",\"H\"],EH:[\"h\",\"hB\",\"hb\",\"H\"],HK:[\"h\",\"hB\",\"hb\",\"H\"],IQ:[\"h\",\"hB\",\"hb\",\"H\"],JO:[\"h\",\"hB\",\"hb\",\"H\"],KW:[\"h\",\"hB\",\"hb\",\"H\"],LB:[\"h\",\"hB\",\"hb\",\"H\"],LY:[\"h\",\"hB\",\"hb\",\"H\"],MO:[\"h\",\"hB\",\"hb\",\"H\"],MR:[\"h\",\"hB\",\"hb\",\"H\"],OM:[\"h\",\"hB\",\"hb\",\"H\"],PH:[\"h\",\"hB\",\"hb\",\"H\"],PS:[\"h\",\"hB\",\"hb\",\"H\"],QA:[\"h\",\"hB\",\"hb\",\"H\"],SA:[\"h\",\"hB\",\"hb\",\"H\"],SD:[\"h\",\"hB\",\"hb\",\"H\"],SY:[\"h\",\"hB\",\"hb\",\"H\"],TN:[\"h\",\"hB\",\"hb\",\"H\"],YE:[\"h\",\"hB\",\"hb\",\"H\"],AF:[\"H\",\"hb\",\"hB\",\"h\"],LA:[\"H\",\"hb\",\"hB\",\"h\"],CN:[\"H\",\"hB\",\"hb\",\"h\"],LV:[\"H\",\"hB\",\"hb\",\"h\"],TL:[\"H\",\"hB\",\"hb\",\"h\"],\"zu-ZA\":[\"H\",\"hB\",\"hb\",\"h\"],CD:[\"hB\",\"H\"],IR:[\"hB\",\"H\"],\"hi-IN\":[\"hB\",\"h\",\"H\"],\"kn-IN\":[\"hB\",\"h\",\"H\"],\"ml-IN\":[\"hB\",\"h\",\"H\"],\"te-IN\":[\"hB\",\"h\",\"H\"],KH:[\"hB\",\"h\",\"H\",\"hb\"],\"ta-IN\":[\"hB\",\"h\",\"hb\",\"H\"],BN:[\"hb\",\"hB\",\"h\",\"H\"],MY:[\"hb\",\"hB\",\"h\",\"H\"],ET:[\"hB\",\"hb\",\"h\",\"H\"],\"gu-IN\":[\"hB\",\"hb\",\"h\",\"H\"],\"mr-IN\":[\"hB\",\"hb\",\"h\",\"H\"],\"pa-IN\":[\"hB\",\"hb\",\"h\",\"H\"],TW:[\"hB\",\"hb\",\"h\",\"H\"],KE:[\"hB\",\"hb\",\"H\",\"h\"],MM:[\"hB\",\"hb\",\"H\",\"h\"],TZ:[\"hB\",\"hb\",\"H\",\"h\"],UG:[\"hB\",\"hb\",\"H\",\"h\"]};function j(b,W){for(var de=\"\",ye=0;ye<b.length;ye++){var He=b.charAt(ye);if(He===\"j\"){for(var rt=0;ye+1<b.length&&b.charAt(ye+1)===He;)rt++,ye++;var $e=1+(rt&1),pt=rt<2?1:3+(rt>>1),Ot=\"a\",at=C(W);for((at==\"H\"||at==\"k\")&&(pt=0);pt-- >0;)de+=Ot;for(;$e-- >0;)de=at+de}else He===\"J\"?de+=\"H\":de+=He}return de}function C(b){var W=b.hourCycle;if(W===void 0&&b.hourCycles&&b.hourCycles.length&&(W=b.hourCycles[0]),W)switch(W){case\"h24\":return\"k\";case\"h23\":return\"H\";case\"h12\":return\"h\";case\"h11\":return\"K\";default:throw new Error(\"Invalid hourCycle\")}var de=b.language,ye;de!==\"root\"&&(ye=b.maximize().region);var He=R[ye||\"\"]||R[de||\"\"]||R[\"\".concat(de,\"-001\")]||R[\"001\"];return He[0]}var B,fe=new RegExp(\"^\".concat(L.source,\"*\")),Ae=new RegExp(\"\".concat(L.source,\"*$\"));function ge(b,W){return{start:b,end:W}}var ce=!!String.prototype.startsWith,Me=!!String.fromCodePoint,_e=!!Object.fromEntries,De=!!String.prototype.codePointAt,Ce=!!String.prototype.trimStart,it=!!String.prototype.trimEnd,V=!!Number.isSafeInteger,we=V?Number.isSafeInteger:function(b){return typeof b==\"number\"&&isFinite(b)&&Math.floor(b)===b&&Math.abs(b)<=9007199254740991},Ie=!0;try{var le=Q(\"([^\\\\p{White_Space}\\\\p{Pattern_Syntax}]*)\",\"yu\");Ie=((B=le.exec(\"a\"))===null||B===void 0?void 0:B[0])===\"a\"}catch(b){Ie=!1}var Ne=ce?function(W,de,ye){return W.startsWith(de,ye)}:function(W,de,ye){return W.slice(ye,ye+de.length)===de},te=Me?String.fromCodePoint:function(){for(var W=[],de=0;de<arguments.length;de++)W[de]=arguments[de];for(var ye=\"\",He=W.length,rt=0,$e;He>rt;){if($e=W[rt++],$e>1114111)throw RangeError($e+\" is not a valid code point\");ye+=$e<65536?String.fromCharCode($e):String.fromCharCode((($e-=65536)>>10)+55296,$e%1024+56320)}return ye},se=_e?Object.fromEntries:function(W){for(var de={},ye=0,He=W;ye<He.length;ye++){var rt=He[ye],$e=rt[0],pt=rt[1];de[$e]=pt}return de},pe=De?function(W,de){return W.codePointAt(de)}:function(W,de){var ye=W.length;if(!(de<0||de>=ye)){var He=W.charCodeAt(de),rt;return He<55296||He>56319||de+1===ye||(rt=W.charCodeAt(de+1))<56320||rt>57343?He:(He-55296<<10)+(rt-56320)+65536}},ee=Ce?function(W){return W.trimStart()}:function(W){return W.replace(fe,\"\")},Se=it?function(W){return W.trimEnd()}:function(W){return W.replace(Ae,\"\")};function Q(b,W){return new RegExp(b,W)}var Z;if(Ie){var Y=Q(\"([^\\\\p{White_Space}\\\\p{Pattern_Syntax}]*)\",\"yu\");Z=function(W,de){var ye;Y.lastIndex=de;var He=Y.exec(W);return(ye=He[1])!==null&&ye!==void 0?ye:\"\"}}else Z=function(W,de){for(var ye=[];;){var He=pe(W,de);if(He===void 0||We(He)||ke(He))break;ye.push(He),de+=He>=65536?2:1}return te.apply(void 0,ye)};var ue=function(){function b(W,de){de===void 0&&(de={}),this.message=W,this.position={offset:0,line:1,column:1},this.ignoreTag=!!de.ignoreTag,this.locale=de.locale,this.requiresOtherClause=!!de.requiresOtherClause,this.shouldParseSkeletons=!!de.shouldParseSkeletons}return b.prototype.parse=function(){if(this.offset()!==0)throw Error(\"parser can only be used once\");return this.parseMessage(0,\"\",!1)},b.prototype.parseMessage=function(W,de,ye){for(var He=[];!this.isEOF();){var rt=this.char();if(rt===123){var $e=this.parseArgument(W,ye);if($e.err)return $e;He.push($e.val)}else{if(rt===125&&W>0)break;if(rt===35&&(de===\"plural\"||de===\"selectordinal\")){var pt=this.clonePosition();this.bump(),He.push({type:r.pound,location:ge(pt,this.clonePosition())})}else if(rt===60&&!this.ignoreTag&&this.peek()===47){if(ye)break;return this.error(o.UNMATCHED_CLOSING_TAG,ge(this.clonePosition(),this.clonePosition()))}else if(rt===60&&!this.ignoreTag&&he(this.peek()||0)){var $e=this.parseTag(W,de);if($e.err)return $e;He.push($e.val)}else{var $e=this.parseLiteral(W,de);if($e.err)return $e;He.push($e.val)}}}return{val:He,err:null}},b.prototype.parseTag=function(W,de){var ye=this.clonePosition();this.bump();var He=this.parseTagName();if(this.bumpSpace(),this.bumpIf(\"/>\"))return{val:{type:r.literal,value:\"<\".concat(He,\"/>\"),location:ge(ye,this.clonePosition())},err:null};if(this.bumpIf(\">\")){var rt=this.parseMessage(W+1,de,!0);if(rt.err)return rt;var $e=rt.val,pt=this.clonePosition();if(this.bumpIf(\"</\")){if(this.isEOF()||!he(this.char()))return this.error(o.INVALID_TAG,ge(pt,this.clonePosition()));var Ot=this.clonePosition(),at=this.parseTagName();return He!==at?this.error(o.UNMATCHED_CLOSING_TAG,ge(Ot,this.clonePosition())):(this.bumpSpace(),this.bumpIf(\">\")?{val:{type:r.tag,value:He,children:$e,location:ge(ye,this.clonePosition())},err:null}:this.error(o.INVALID_TAG,ge(pt,this.clonePosition())))}else return this.error(o.UNCLOSED_TAG,ge(ye,this.clonePosition()))}else return this.error(o.INVALID_TAG,ge(ye,this.clonePosition()))},b.prototype.parseTagName=function(){var W=this.offset();for(this.bump();!this.isEOF()&&Oe(this.char());)this.bump();return this.message.slice(W,this.offset())},b.prototype.parseLiteral=function(W,de){for(var ye=this.clonePosition(),He=\"\";;){var rt=this.tryParseQuote(de);if(rt){He+=rt;continue}var $e=this.tryParseUnquoted(W,de);if($e){He+=$e;continue}var pt=this.tryParseLeftAngleBracket();if(pt){He+=pt;continue}break}var Ot=ge(ye,this.clonePosition());return{val:{type:r.literal,value:He,location:Ot},err:null}},b.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!me(this.peek()||0))?(this.bump(),\"<\"):null},b.prototype.tryParseQuote=function(W){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),\"'\";case 123:case 60:case 62:case 125:break;case 35:if(W===\"plural\"||W===\"selectordinal\")break;return null;default:return null}this.bump();var de=[this.char()];for(this.bump();!this.isEOF();){var ye=this.char();if(ye===39)if(this.peek()===39)de.push(39),this.bump();else{this.bump();break}else de.push(ye);this.bump()}return te.apply(void 0,de)},b.prototype.tryParseUnquoted=function(W,de){if(this.isEOF())return null;var ye=this.char();return ye===60||ye===123||ye===35&&(de===\"plural\"||de===\"selectordinal\")||ye===125&&W>0?null:(this.bump(),te(ye))},b.prototype.parseArgument=function(W,de){var ye=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,ge(ye,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(o.EMPTY_ARGUMENT,ge(ye,this.clonePosition()));var He=this.parseIdentifierIfPossible().value;if(!He)return this.error(o.MALFORMED_ARGUMENT,ge(ye,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,ge(ye,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:r.argument,value:He,location:ge(ye,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,ge(ye,this.clonePosition())):this.parseArgumentOptions(W,de,He,ye);default:return this.error(o.MALFORMED_ARGUMENT,ge(ye,this.clonePosition()))}},b.prototype.parseIdentifierIfPossible=function(){var W=this.clonePosition(),de=this.offset(),ye=Z(this.message,de),He=de+ye.length;this.bumpTo(He);var rt=this.clonePosition(),$e=ge(W,rt);return{value:ye,location:$e}},b.prototype.parseArgumentOptions=function(W,de,ye,He){var rt,$e=this.clonePosition(),pt=this.parseIdentifierIfPossible().value,Ot=this.clonePosition();switch(pt){case\"\":return this.error(o.EXPECT_ARGUMENT_TYPE,ge($e,Ot));case\"number\":case\"date\":case\"time\":{this.bumpSpace();var at=null;if(this.bumpIf(\",\")){this.bumpSpace();var wt=this.clonePosition(),vt=this.parseSimpleArgStyleIfPossible();if(vt.err)return vt;var jt=Se(vt.val);if(jt.length===0)return this.error(o.EXPECT_ARGUMENT_STYLE,ge(this.clonePosition(),this.clonePosition()));var At=ge(wt,this.clonePosition());at={style:jt,styleLocation:At}}var qt=this.tryParseArgumentClose(He);if(qt.err)return qt;var En=ge(He,this.clonePosition());if(at&&Ne(at==null?void 0:at.style,\"::\",0)){var Ft=ee(at.style.slice(2));if(pt===\"number\"){var vt=this.parseNumberSkeletonFromString(Ft,at.styleLocation);return vt.err?vt:{val:{type:r.number,value:ye,location:En,style:vt.val},err:null}}else{if(Ft.length===0)return this.error(o.EXPECT_DATE_TIME_SKELETON,En);var _n=Ft;this.locale&&(_n=j(Ft,this.locale));var jt={type:u.dateTime,pattern:_n,location:at.styleLocation,parsedOptions:this.shouldParseSkeletons?x(_n):{}},xn=pt===\"date\"?r.date:r.time;return{val:{type:xn,value:ye,location:En,style:jt},err:null}}}return{val:{type:pt===\"number\"?r.number:pt===\"date\"?r.date:r.time,value:ye,location:En,style:(rt=at==null?void 0:at.style)!==null&&rt!==void 0?rt:null},err:null}}case\"plural\":case\"selectordinal\":case\"select\":{var Zn=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(\",\"))return this.error(o.EXPECT_SELECT_ARGUMENT_OPTIONS,ge(Zn,(0,a.pi)({},Zn)));this.bumpSpace();var Wn=this.parseIdentifierIfPossible(),Jn=0;if(pt!==\"select\"&&Wn.value===\"offset\"){if(!this.bumpIf(\":\"))return this.error(o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ge(this.clonePosition(),this.clonePosition()));this.bumpSpace();var vt=this.tryParseDecimalInteger(o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,o.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(vt.err)return vt;this.bumpSpace(),Wn=this.parseIdentifierIfPossible(),Jn=vt.val}var Un=this.tryParsePluralOrSelectOptions(W,pt,de,Wn);if(Un.err)return Un;var qt=this.tryParseArgumentClose(He);if(qt.err)return qt;var qn=ge(He,this.clonePosition());return pt===\"select\"?{val:{type:r.select,value:ye,options:se(Un.val),location:qn},err:null}:{val:{type:r.plural,value:ye,options:se(Un.val),offset:Jn,pluralType:pt===\"plural\"?\"cardinal\":\"ordinal\",location:qn},err:null}}default:return this.error(o.INVALID_ARGUMENT_TYPE,ge($e,Ot))}},b.prototype.tryParseArgumentClose=function(W){return this.isEOF()||this.char()!==125?this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,ge(W,this.clonePosition())):(this.bump(),{val:!0,err:null})},b.prototype.parseSimpleArgStyleIfPossible=function(){for(var W=0,de=this.clonePosition();!this.isEOF();){var ye=this.char();switch(ye){case 39:{this.bump();var He=this.clonePosition();if(!this.bumpUntil(\"'\"))return this.error(o.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,ge(He,this.clonePosition()));this.bump();break}case 123:{W+=1,this.bump();break}case 125:{if(W>0)W-=1;else return{val:this.message.slice(de.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(de.offset,this.offset()),err:null}},b.prototype.parseNumberSkeletonFromString=function(W,de){var ye=[];try{ye=K(W)}catch(He){return this.error(o.INVALID_NUMBER_SKELETON,de)}return{val:{type:u.number,tokens:ye,location:de,parsedOptions:this.shouldParseSkeletons?T(ye):{}},err:null}},b.prototype.tryParsePluralOrSelectOptions=function(W,de,ye,He){for(var rt,$e=!1,pt=[],Ot=new Set,at=He.value,wt=He.location;;){if(at.length===0){var vt=this.clonePosition();if(de!==\"select\"&&this.bumpIf(\"=\")){var jt=this.tryParseDecimalInteger(o.EXPECT_PLURAL_ARGUMENT_SELECTOR,o.INVALID_PLURAL_ARGUMENT_SELECTOR);if(jt.err)return jt;wt=ge(vt,this.clonePosition()),at=this.message.slice(vt.offset,this.offset())}else break}if(Ot.has(at))return this.error(de===\"select\"?o.DUPLICATE_SELECT_ARGUMENT_SELECTOR:o.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,wt);at===\"other\"&&($e=!0),this.bumpSpace();var At=this.clonePosition();if(!this.bumpIf(\"{\"))return this.error(de===\"select\"?o.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:o.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,ge(this.clonePosition(),this.clonePosition()));var qt=this.parseMessage(W+1,de,ye);if(qt.err)return qt;var En=this.tryParseArgumentClose(At);if(En.err)return En;pt.push([at,{value:qt.val,location:ge(At,this.clonePosition())}]),Ot.add(at),this.bumpSpace(),rt=this.parseIdentifierIfPossible(),at=rt.value,wt=rt.location}return pt.length===0?this.error(de===\"select\"?o.EXPECT_SELECT_ARGUMENT_SELECTOR:o.EXPECT_PLURAL_ARGUMENT_SELECTOR,ge(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!$e?this.error(o.MISSING_OTHER_CLAUSE,ge(this.clonePosition(),this.clonePosition())):{val:pt,err:null}},b.prototype.tryParseDecimalInteger=function(W,de){var ye=1,He=this.clonePosition();this.bumpIf(\"+\")||this.bumpIf(\"-\")&&(ye=-1);for(var rt=!1,$e=0;!this.isEOF();){var pt=this.char();if(pt>=48&&pt<=57)rt=!0,$e=$e*10+(pt-48),this.bump();else break}var Ot=ge(He,this.clonePosition());return rt?($e*=ye,we($e)?{val:$e,err:null}:this.error(de,Ot)):this.error(W,Ot)},b.prototype.offset=function(){return this.position.offset},b.prototype.isEOF=function(){return this.offset()===this.message.length},b.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},b.prototype.char=function(){var W=this.position.offset;if(W>=this.message.length)throw Error(\"out of bound\");var de=pe(this.message,W);if(de===void 0)throw Error(\"Offset \".concat(W,\" is at invalid UTF-16 code unit boundary\"));return de},b.prototype.error=function(W,de){return{val:null,err:{kind:W,message:this.message,location:de}}},b.prototype.bump=function(){if(!this.isEOF()){var W=this.char();W===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=W<65536?1:2)}},b.prototype.bumpIf=function(W){if(Ne(this.message,W,this.offset())){for(var de=0;de<W.length;de++)this.bump();return!0}return!1},b.prototype.bumpUntil=function(W){var de=this.offset(),ye=this.message.indexOf(W,de);return ye>=0?(this.bumpTo(ye),!0):(this.bumpTo(this.message.length),!1)},b.prototype.bumpTo=function(W){if(this.offset()>W)throw Error(\"targetOffset \".concat(W,\" must be greater than or equal to the current offset \").concat(this.offset()));for(W=Math.min(W,this.message.length);;){var de=this.offset();if(de===W)break;if(de>W)throw Error(\"targetOffset \".concat(W,\" is at invalid UTF-16 code unit boundary\"));if(this.bump(),this.isEOF())break}},b.prototype.bumpSpace=function(){for(;!this.isEOF()&&We(this.char());)this.bump()},b.prototype.peek=function(){if(this.isEOF())return null;var W=this.char(),de=this.offset(),ye=this.message.charCodeAt(de+(W>=65536?2:1));return ye!=null?ye:null},b}();function he(b){return b>=97&&b<=122||b>=65&&b<=90}function me(b){return he(b)||b===47}function Oe(b){return b===45||b===46||b>=48&&b<=57||b===95||b>=97&&b<=122||b>=65&&b<=90||b==183||b>=192&&b<=214||b>=216&&b<=246||b>=248&&b<=893||b>=895&&b<=8191||b>=8204&&b<=8205||b>=8255&&b<=8256||b>=8304&&b<=8591||b>=11264&&b<=12271||b>=12289&&b<=55295||b>=63744&&b<=64975||b>=65008&&b<=65533||b>=65536&&b<=983039}function We(b){return b>=9&&b<=13||b===32||b===133||b>=8206&&b<=8207||b===8232||b===8233}function ke(b){return b>=33&&b<=35||b===36||b>=37&&b<=39||b===40||b===41||b===42||b===43||b===44||b===45||b>=46&&b<=47||b>=58&&b<=59||b>=60&&b<=62||b>=63&&b<=64||b===91||b===92||b===93||b===94||b===96||b===123||b===124||b===125||b===126||b===161||b>=162&&b<=165||b===166||b===167||b===169||b===171||b===172||b===174||b===176||b===177||b===182||b===187||b===191||b===215||b===247||b>=8208&&b<=8213||b>=8214&&b<=8215||b===8216||b===8217||b===8218||b>=8219&&b<=8220||b===8221||b===8222||b===8223||b>=8224&&b<=8231||b>=8240&&b<=8248||b===8249||b===8250||b>=8251&&b<=8254||b>=8257&&b<=8259||b===8260||b===8261||b===8262||b>=8263&&b<=8273||b===8274||b===8275||b>=8277&&b<=8286||b>=8592&&b<=8596||b>=8597&&b<=8601||b>=8602&&b<=8603||b>=8604&&b<=8607||b===8608||b>=8609&&b<=8610||b===8611||b>=8612&&b<=8613||b===8614||b>=8615&&b<=8621||b===8622||b>=8623&&b<=8653||b>=8654&&b<=8655||b>=8656&&b<=8657||b===8658||b===8659||b===8660||b>=8661&&b<=8691||b>=8692&&b<=8959||b>=8960&&b<=8967||b===8968||b===8969||b===8970||b===8971||b>=8972&&b<=8991||b>=8992&&b<=8993||b>=8994&&b<=9e3||b===9001||b===9002||b>=9003&&b<=9083||b===9084||b>=9085&&b<=9114||b>=9115&&b<=9139||b>=9140&&b<=9179||b>=9180&&b<=9185||b>=9186&&b<=9254||b>=9255&&b<=9279||b>=9280&&b<=9290||b>=9291&&b<=9311||b>=9472&&b<=9654||b===9655||b>=9656&&b<=9664||b===9665||b>=9666&&b<=9719||b>=9720&&b<=9727||b>=9728&&b<=9838||b===9839||b>=9840&&b<=10087||b===10088||b===10089||b===10090||b===10091||b===10092||b===10093||b===10094||b===10095||b===10096||b===10097||b===10098||b===10099||b===10100||b===10101||b>=10132&&b<=10175||b>=10176&&b<=10180||b===10181||b===10182||b>=10183&&b<=10213||b===10214||b===10215||b===10216||b===10217||b===10218||b===10219||b===10220||b===10221||b===10222||b===10223||b>=10224&&b<=10239||b>=10240&&b<=10495||b>=10496&&b<=10626||b===10627||b===10628||b===10629||b===10630||b===10631||b===10632||b===10633||b===10634||b===10635||b===10636||b===10637||b===10638||b===10639||b===10640||b===10641||b===10642||b===10643||b===10644||b===10645||b===10646||b===10647||b===10648||b>=10649&&b<=10711||b===10712||b===10713||b===10714||b===10715||b>=10716&&b<=10747||b===10748||b===10749||b>=10750&&b<=11007||b>=11008&&b<=11055||b>=11056&&b<=11076||b>=11077&&b<=11078||b>=11079&&b<=11084||b>=11085&&b<=11123||b>=11124&&b<=11125||b>=11126&&b<=11157||b===11158||b>=11159&&b<=11263||b>=11776&&b<=11777||b===11778||b===11779||b===11780||b===11781||b>=11782&&b<=11784||b===11785||b===11786||b===11787||b===11788||b===11789||b>=11790&&b<=11798||b===11799||b>=11800&&b<=11801||b===11802||b===11803||b===11804||b===11805||b>=11806&&b<=11807||b===11808||b===11809||b===11810||b===11811||b===11812||b===11813||b===11814||b===11815||b===11816||b===11817||b>=11818&&b<=11822||b===11823||b>=11824&&b<=11833||b>=11834&&b<=11835||b>=11836&&b<=11839||b===11840||b===11841||b===11842||b>=11843&&b<=11855||b>=11856&&b<=11857||b===11858||b>=11859&&b<=11903||b>=12289&&b<=12291||b===12296||b===12297||b===12298||b===12299||b===12300||b===12301||b===12302||b===12303||b===12304||b===12305||b>=12306&&b<=12307||b===12308||b===12309||b===12310||b===12311||b===12312||b===12313||b===12314||b===12315||b===12316||b===12317||b>=12318&&b<=12319||b===12320||b===12336||b===64830||b===64831||b>=65093&&b<=65094}function It(b){b.forEach(function(W){if(delete W.location,h(W)||g(W))for(var de in W.options)delete W.options[de].location,It(W.options[de].value);else f(W)&&I(W.style)||(v(W)||p(W))&&N(W.style)?delete W.style.location:S(W)&&It(W.children)})}function ft(b,W){W===void 0&&(W={}),W=(0,a.pi)({shouldParseSkeletons:!0,requiresOtherClause:!0},W);var de=new ue(b,W).parse();if(de.err){var ye=SyntaxError(o[de.err.kind]);throw ye.location=de.err.location,ye.originalMessage=de.err.message,ye}return W!=null&&W.captureLocation||It(de.val),de.val}var nn=null},25068:function(c,m,e){\"use strict\";e.d(m,{$6:function(){return p},OV:function(){return l},Qe:function(){return f},Rw:function(){return r},X9:function(){return v},bc:function(){return o},gb:function(){return d},wI:function(){return u}});var a=e(96583),o;(function(h){h.FORMAT_ERROR=\"FORMAT_ERROR\",h.UNSUPPORTED_FORMATTER=\"UNSUPPORTED_FORMATTER\",h.INVALID_CONFIG=\"INVALID_CONFIG\",h.MISSING_DATA=\"MISSING_DATA\",h.MISSING_TRANSLATION=\"MISSING_TRANSLATION\"})(o||(o={}));var r=function(h){(0,a.ZT)(g,h);function g(y,S,I){var N=this,_=I?I instanceof Error?I:new Error(String(I)):void 0;return N=h.call(this,\"[@formatjs/intl Error \".concat(y,\"] \").concat(S,`\n`).concat(_?`\n`.concat(_.message,`\n`).concat(_.stack):\"\"))||this,N.code=y,typeof Error.captureStackTrace==\"function\"&&Error.captureStackTrace(N,g),N}return g}(Error),u=function(h){(0,a.ZT)(g,h);function g(y,S){return h.call(this,o.UNSUPPORTED_FORMATTER,y,S)||this}return g}(r),l=function(h){(0,a.ZT)(g,h);function g(y,S){return h.call(this,o.INVALID_CONFIG,y,S)||this}return g}(r),d=function(h){(0,a.ZT)(g,h);function g(y,S){return h.call(this,o.MISSING_DATA,y,S)||this}return g}(r),f=function(h){(0,a.ZT)(g,h);function g(y,S,I){return h.call(this,o.FORMAT_ERROR,\"\".concat(y,`\nLocale: `).concat(S,`\n`),I)||this}return g}(r),v=function(h){(0,a.ZT)(g,h);function g(y,S,I,N){var _=h.call(this,\"\".concat(y,`\nMessageID: `).concat(I==null?void 0:I.id,`\nDefault Message: `).concat(I==null?void 0:I.defaultMessage,`\nDescription: `).concat(I==null?void 0:I.description,`\n`),S,N)||this;return _.descriptor=I,_}return g}(f),p=function(h){(0,a.ZT)(g,h);function g(y,S){var I=h.call(this,o.MISSING_TRANSLATION,'Missing message: \"'.concat(y.id,'\" for locale \"').concat(S,'\", using ').concat(y.defaultMessage?\"default message (\".concat(typeof y.defaultMessage==\"string\"?y.defaultMessage:y.defaultMessage.map(function(N){var _;return(_=N.value)!==null&&_!==void 0?_:JSON.stringify(N)}).join(),\")\"):\"id\",\" as fallback.\"))||this;return I.descriptor=y,I}return g}(r)},12216:function(c,m,e){\"use strict\";e.d(m,{L6:function(){return l},Sn:function(){return p},TB:function(){return y},Z0:function(){return v},ax:function(){return g}});var a=e(96583),o=e(75983),r=e(61829),u=e(25068);function l(S,I,N){return N===void 0&&(N={}),I.reduce(function(_,M){return M in S?_[M]=S[M]:M in N&&(_[M]=N[M]),_},{})}var d=function(S){},f=function(S){},v={formats:{},messages:{},timeZone:void 0,defaultLocale:\"en\",defaultFormats:{},fallbackOnEmptyString:!0,onError:d,onWarn:f};function p(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function h(S){return{create:function(){return{get:function(I){return S[I]},set:function(I,N){S[I]=N}}}}}function g(S){S===void 0&&(S=p());var I=Intl.RelativeTimeFormat,N=Intl.ListFormat,_=Intl.DisplayNames,M=(0,r.H)(function(){for(var U,x=[],F=0;F<arguments.length;F++)x[F]=arguments[F];return new((U=Intl.DateTimeFormat).bind.apply(U,(0,a.ev)([void 0],x,!1)))},{cache:h(S.dateTime),strategy:r.A.variadic}),L=(0,r.H)(function(){for(var U,x=[],F=0;F<arguments.length;F++)x[F]=arguments[F];return new((U=Intl.NumberFormat).bind.apply(U,(0,a.ev)([void 0],x,!1)))},{cache:h(S.number),strategy:r.A.variadic}),k=(0,r.H)(function(){for(var U,x=[],F=0;F<arguments.length;F++)x[F]=arguments[F];return new((U=Intl.PluralRules).bind.apply(U,(0,a.ev)([void 0],x,!1)))},{cache:h(S.pluralRules),strategy:r.A.variadic});return{getDateTimeFormat:M,getNumberFormat:L,getMessageFormat:(0,r.H)(function(U,x,F,K){return new o.C(U,x,F,(0,a.pi)({formatters:{getNumberFormat:L,getDateTimeFormat:M,getPluralRules:k}},K||{}))},{cache:h(S.message),strategy:r.A.variadic}),getRelativeTimeFormat:(0,r.H)(function(){for(var U=[],x=0;x<arguments.length;x++)U[x]=arguments[x];return new(I.bind.apply(I,(0,a.ev)([void 0],U,!1)))},{cache:h(S.relativeTime),strategy:r.A.variadic}),getPluralRules:k,getListFormat:(0,r.H)(function(){for(var U=[],x=0;x<arguments.length;x++)U[x]=arguments[x];return new(N.bind.apply(N,(0,a.ev)([void 0],U,!1)))},{cache:h(S.list),strategy:r.A.variadic}),getDisplayNames:(0,r.H)(function(){for(var U=[],x=0;x<arguments.length;x++)U[x]=arguments[x];return new(_.bind.apply(_,(0,a.ev)([void 0],U,!1)))},{cache:h(S.displayNames),strategy:r.A.variadic})}}function y(S,I,N,_){var M=S&&S[I],L;if(M&&(L=M[N]),L)return L;_(new u.wI(\"No \".concat(I,\" format named: \").concat(N)))}},40966:function(c,m,e){\"use strict\";e.d(m,{f:function(){return v},m:function(){return d}});var a=e(37635),o=e.n(a),r=e(57213),u=e.n(r),l=e(18280),d,f=\"/\";function v(g){var y;return g.type===\"hash\"?y=(0,l.q_)():g.type===\"memory\"?y=(0,l.PP)(g):y=(0,l.lX)(),g.basename&&(f=g.basename),d=u()(u()({},y),{},{push:function(I,N){y.push(p(I,y),N)},replace:function(I,N){y.replace(p(I,y),N)},get location(){return y.location},get action(){return y.action}}),y}function p(g,y){if(typeof g==\"string\")return\"\".concat(h(f)).concat(g);if(o()(g)===\"object\"){var S=y.location.pathname;return u()(u()({},g),{},{pathname:g.pathname?\"\".concat(h(f)).concat(g.pathname):S})}else throw new Error(\"Unexpected to: \".concat(g))}function h(g){return g.slice(-1)===\"/\"?g.slice(0,-1):g}},81229:function(c,m,e){\"use strict\";e.d(m,{Dl:function(){return L},dY:function(){return De},_H:function(){return p},ql:function(){return a.ql},rU:function(){return a.rU},OL:function(){return a.OL},m8:function(){return a.m8},fp:function(){return a.fp},il:function(){return ee},Sc:function(){return En},Ov:function(){return a.Ov},yh:function(){return Zt},YB:function(){return u.Z},bU:function(){return _n.b},TH:function(){return a.TH},OK:function(){return br},pC:function(){return a.pC},UO:function(){return a.UO},OI:function(){return ln},Qt:function(){return a.Qt},eL:function(){return lt},lr:function(){return a.lr},tx:function(){return sn},WF:function(){return g.W},OO:function(){return J},zh:function(){return B}});var a=e(55187),o=e(96583),r=e(50959),u=e(9e3),l=e(55267);function d(w,P){var D=w.values,ne=(0,o._T)(w,[\"values\"]),be=P.values,Le=(0,o._T)(P,[\"values\"]);return(0,l.wU)(be,D)&&(0,l.wU)(ne,Le)}function f(w){var P=(0,u.Z)(),D=P.formatMessage,ne=P.textComponent,be=ne===void 0?r.Fragment:ne,Le=w.id,je=w.description,ze=w.defaultMessage,ut=w.values,dt=w.children,Ct=w.tagName,Rt=Ct===void 0?be:Ct,kt=w.ignoreTag,Ut={id:Le,description:je,defaultMessage:ze},Qt=D(Ut,ut,{ignoreTag:kt});return typeof dt==\"function\"?dt(Array.isArray(Qt)?Qt:[Qt]):Rt?r.createElement(Rt,null,r.Children.toArray(Qt)):r.createElement(r.Fragment,null,Qt)}f.displayName=\"FormattedMessage\";var v=r.memo(f,d);v.displayName=\"MemoizedFormattedMessage\";var p=v,h=e(88781),g=e(41110),y=e(59851),S=e(39761),I=e(21646),N=e(60481);function _(){return _=Object.assign?Object.assign.bind():function(w){for(var P=1;P<arguments.length;P++){var D=arguments[P];for(var ne in D)Object.prototype.hasOwnProperty.call(D,ne)&&(w[ne]=D[ne])}return w},_.apply(this,arguments)}var M=function(P){return r.createElement(N.ErrorBoundary,{fallbackRender:function(ne){var be=ne.error;return r.createElement(S.Z,{type:\"error\"},r.createElement(\"p\",null,r.createElement(\"strong\",null,be.message||\"This demo has been crashed.\")),be.stack&&r.createElement(\"p\",null,r.createElement(\"details\",{open:!0},r.createElement(\"summary\",null,\"Error stack\"),r.createElement(\"pre\",null,be.stack))))}},P.children)},L=function(P){var D=(0,g.W)(),ne=D.demos,be=(0,a.Ov)(),Le=be.basename,je=ne[P.demo.id],ze=je.component,ut=je.asset;return P.previewerProps.debug?null:P.demo.inline?r.createElement(M,null,(0,r.createElement)(ze)):r.createElement(I.Z,_({asset:ut,demoUrl:P.previewerProps.demoUrl||\"\".concat(Le).concat(y.SP_ROUTE_PREFIX,\"demos/\").concat(P.demo.id)},P.previewerProps),P.previewerProps.iframe?null:r.createElement(M,null,(0,r.createElement)(ze)))};function k(){return k=Object.assign?Object.assign.bind():function(w){for(var P=1;P<arguments.length;P++){var D=arguments[P];for(var ne in D)Object.prototype.hasOwnProperty.call(D,ne)&&(w[ne]=D[ne])}return w},k.apply(this,arguments)}function U(w,P){return q(w)||G(w,P)||F(w,P)||x()}function x(){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 F(w,P){if(w){if(typeof w==\"string\")return K(w,P);var D=Object.prototype.toString.call(w).slice(8,-1);if(D===\"Object\"&&w.constructor&&(D=w.constructor.name),D===\"Map\"||D===\"Set\")return Array.from(w);if(D===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return K(w,P)}}function K(w,P){(P==null||P>w.length)&&(P=w.length);for(var D=0,ne=new Array(P);D<P;D++)ne[D]=w[D];return ne}function G(w,P){var D=w==null?null:typeof Symbol!=\"undefined\"&&w[Symbol.iterator]||w[\"@@iterator\"];if(D!=null){var ne=[],be=!0,Le=!1,je,ze;try{for(D=D.call(w);!(be=(je=D.next()).done)&&(ne.push(je.value),!(P&&ne.length===P));be=!0);}catch(ut){Le=!0,ze=ut}finally{try{!be&&D.return!=null&&D.return()}finally{if(Le)throw ze}}return ne}}function q(w){if(Array.isArray(w))return w}var X=function(P){var D=useRouteMeta(),ne=D.frontmatter,be=useCallback(function(dt,Ct){var Rt,kt=[],Ut=Ct.filter(function(cn){return!cn.previewerProps.debug});if((Rt=dt.demo)!==null&&Rt!==void 0&&Rt.cols&&dt.demo.cols>1&&(typeof window==\"undefined\"||window.innerWidth>1024)){for(var Qt=0;Qt<Ut.length;Qt+=dt.demo.cols)Ut.slice(Qt,Qt+dt.demo.cols).forEach(function(cn,wn){var gn;(gn=kt[wn])!==null&&gn!==void 0||(kt[wn]=[]),kt[wn].push(cn)});return kt}else kt.push(Ut);return kt},[]),Le=useState(function(){return be(ne,P.items)}),je=U(Le,2),ze=je[0],ut=je[1];return useEffect(function(){var dt=function(){return ut(be(ne,P.items))};return window.addEventListener(\"resize\",dt),function(){return window.removeEventListener(\"resize\",dt)}},[]),React.createElement(\"div\",{style:{display:\"flex\",margin:-8},\"data-dumi-demo-grid\":!0},ze.map(function(dt,Ct){return React.createElement(\"section\",{style:{flex:1,padding:8,width:0},key:String(Ct)},dt.map(function(Rt){return React.createElement(DumiDemo,k({key:Rt.demo.id},Rt))}))}))},oe=function(P){var D=P.tabs,ne=P.tabKey,be=P.onChange,Le=(0,u.Z)();return Boolean(D==null?void 0:D.length)?r.createElement(\"ul\",{className:\"dumi-default-content-tabs\"},r.createElement(\"li\",{onClick:function(){return be()},\"data-active\":!ne||void 0},r.createElement(\"button\",{type:\"button\"},Le.formatMessage({id:\"content.tabs.default\"}))),D.map(function(je){return r.createElement(\"li\",{key:je.key,onClick:function(){return be(je)},\"data-active\":ne===je.key||void 0},r.createElement(\"button\",{type:\"button\"},je.titleIntlId?Le.formatMessage({id:je.titleIntlId}):je.meta.frontmatter.title))})):null},Ee=oe;function Te(w,P){return R(w)||T(w,P)||z(w,P)||ae()}function ae(){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 z(w,P){if(w){if(typeof w==\"string\")return A(w,P);var D=Object.prototype.toString.call(w).slice(8,-1);if(D===\"Object\"&&w.constructor&&(D=w.constructor.name),D===\"Map\"||D===\"Set\")return Array.from(w);if(D===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return A(w,P)}}function A(w,P){(P==null||P>w.length)&&(P=w.length);for(var D=0,ne=new Array(P);D<P;D++)ne[D]=w[D];return ne}function T(w,P){var D=w==null?null:typeof Symbol!=\"undefined\"&&w[Symbol.iterator]||w[\"@@iterator\"];if(D!=null){var ne=[],be=!0,Le=!1,je,ze;try{for(D=D.call(w);!(be=(je=D.next()).done)&&(ne.push(je.value),!(P&&ne.length===P));be=!0);}catch(ut){Le=!0,ze=ut}finally{try{!be&&D.return!=null&&D.return()}finally{if(Le)throw ze}}return ne}}function R(w){if(Array.isArray(w))return w}var j=\"tab\",C=function(){var P=(0,a.TH)(),D=P.pathname,ne=(0,a.lr)(),be=Te(ne,1),Le=be[0],je=(0,r.useCallback)(function(ze){ze?Le.set(j,ze):Le.delete(j),a.m8.push({pathname:D,search:Le.toString()})},[Le]);return[Le.get(j),je]},B=function(){var P,D=lt(),ne=D.tabs,be=C(),Le=Te(be,1),je=Le[0];return ne==null||(P=ne.find(function(ze){var ut=ze.key;return je===ut}))===null||P===void 0?void 0:P.meta};function fe(w,P){return _e(w)||Me(w,P)||ge(w,P)||Ae()}function Ae(){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 ge(w,P){if(w){if(typeof w==\"string\")return ce(w,P);var D=Object.prototype.toString.call(w).slice(8,-1);if(D===\"Object\"&&w.constructor&&(D=w.constructor.name),D===\"Map\"||D===\"Set\")return Array.from(w);if(D===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return ce(w,P)}}function ce(w,P){(P==null||P>w.length)&&(P=w.length);for(var D=0,ne=new Array(P);D<P;D++)ne[D]=w[D];return ne}function Me(w,P){var D=w==null?null:typeof Symbol!=\"undefined\"&&w[Symbol.iterator]||w[\"@@iterator\"];if(D!=null){var ne=[],be=!0,Le=!1,je,ze;try{for(D=D.call(w);!(be=(je=D.next()).done)&&(ne.push(je.value),!(P&&ne.length===P));be=!0);}catch(ut){Le=!0,ze=ut}finally{try{!be&&D.return!=null&&D.return()}finally{if(Le)throw ze}}return ne}}function _e(w){if(Array.isArray(w))return w}var De=function(P){var D=lt(),ne=D.tabs,be=C(),Le=fe(be,2),je=Le[0],ze=Le[1],ut=(0,r.useState)(function(){return ne==null?void 0:ne.find(function(Qt){var cn=Qt.key;return cn===je})}),dt=fe(ut,2),Ct=dt[0],Rt=dt[1],kt=(0,g.W)(),Ut=kt.setLoading;return(0,r.useEffect)(function(){Ut(!1)},[]),r.createElement(r.Fragment,null,r.createElement(Ee,{tabs:ne,tabKey:je,onChange:function(cn){Rt(cn),ze(cn==null?void 0:cn.key)}}),Ct?r.createElement(Ct.components.default):P.children)},Ce=e(71401),it=e(75586);function V(w,P){return te(w)||Ne(w,P)||Ie(w,P)||we()}function we(){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 Ie(w,P){if(w){if(typeof w==\"string\")return le(w,P);var D=Object.prototype.toString.call(w).slice(8,-1);if(D===\"Object\"&&w.constructor&&(D=w.constructor.name),D===\"Map\"||D===\"Set\")return Array.from(w);if(D===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return le(w,P)}}function le(w,P){(P==null||P>w.length)&&(P=w.length);for(var D=0,ne=new Array(P);D<P;D++)ne[D]=w[D];return ne}function Ne(w,P){var D=w==null?null:typeof Symbol!=\"undefined\"&&w[Symbol.iterator]||w[\"@@iterator\"];if(D!=null){var ne=[],be=!0,Le=!1,je,ze;try{for(D=D.call(w);!(be=(je=D.next()).done)&&(ne.push(je.value),!(P&&ne.length===P));be=!0);}catch(ut){Le=!0,ze=ut}finally{try{!be&&D.return!=null&&D.return()}finally{if(Le)throw ze}}return ne}}function te(w){if(Array.isArray(w))return w}var se=\"https://codesandbox.io/api/v1/sandboxes/define\";function pe(w){var P,D,ne,be,Le,je=Boolean((P=w.asset.dependencies)===null||P===void 0?void 0:P[\"index.tsx\"]),ze=je?\".tsx\":\".jsx\",ut={},dt={},Ct=\"index\".concat(ze);return Object.entries(w.asset.dependencies).forEach(function(Rt){var kt=V(Rt,2),Ut=kt[0],Qt=kt[1],cn=Qt.type,wn=Qt.value;cn===\"NPM\"?dt[Ut]=wn:ut[Ut===Ct?\"App\".concat(ze):Ut]={content:wn,isBinary:!1}}),(ne=dt[D=\"react\"])!==null&&ne!==void 0||(dt[D]=\"latest\"),(Le=dt[be=\"react-dom\"])!==null&&Le!==void 0||(dt[be]=dt.react),ut[\"sandbox.config.json\"]={content:JSON.stringify({template:\"create-react-app\"},null,2),isBinary:!1},ut[\"package.json\"]={content:JSON.stringify({name:w.title,description:w.description||\"An auto-generated demo by dumi\",main:Ct,dependencies:dt,devDependencies:je?{typescript:\"^4\"}:{}},null,2),isBinary:!1},ut[\"index.html\"]={content:'<div style=\"margin: 16px;\" id=\"root\"></div>',isBinary:!1},ut[Ct]={content:(0,it.AM)(dt.react),isBinary:!1},(0,Ce.Z)({files:ut})}var ee=function(P,D){var ne,be=document.createElement(\"form\"),Le=document.createElement(\"input\"),je=pe(P);be.method=\"POST\",be.target=\"_blank\",be.style.display=\"none\",be.action=(D==null?void 0:D.api)||se,be.appendChild(Le),be.setAttribute(\"data-demo\",((ne=P.assets)===null||ne===void 0?void 0:ne.id)||\"\"),Le.name=\"parameters\",Le.value=je,document.body.appendChild(be),be.submit(),be.remove()},Se=[\"angular-cli\",\"create-react-app\",\"html\",\"javascript\",\"node\",\"polymer\",\"typescript\",\"vue\"],Q={clickToLoad:function(w){return Y(\"ctl\",w)},devToolsHeight:function(w){return ue(\"devtoolsheight\",w)},forceEmbedLayout:function(w){return Y(\"embed\",w)},hideDevTools:function(w){return Y(\"hidedevtools\",w)},hideExplorer:function(w){return Y(\"hideExplorer\",w)},hideNavigation:function(w){return Y(\"hideNavigation\",w)},showSidebar:function(w){return function(P,D){return typeof D==\"boolean\"?\"showSidebar=\"+(D?\"1\":\"0\"):\"\"}(0,w)},openFile:function(w){return function(P,D){return(Array.isArray(D)?D:[D]).filter(function(ne){return typeof ne==\"string\"&&ne.trim()!==\"\"}).map(function(ne){return\"file=\"+encodeURIComponent(ne.trim())})}(0,w).join(\"&\")},terminalHeight:function(w){return ue(\"terminalHeight\",w)},theme:function(w){return he(\"theme\",[\"light\",\"dark\"],w)},view:function(w){return he(\"view\",[\"preview\",\"editor\"],w)}};function Z(w){w===void 0&&(w={});var P=Object.entries(w).map(function(D){var ne=D[0],be=D[1];return be!=null&&Q.hasOwnProperty(ne)?Q[ne](be):\"\"}).filter(Boolean);return P.length?\"?\"+P.join(\"&\"):\"\"}function Y(w,P){return P===!0?w+\"=1\":\"\"}function ue(w,P){return typeof P==\"number\"&&P>=0&&P<=100?w+\"=\"+Math.round(P):\"\"}function he(w,P,D){return typeof D==\"string\"&&P.includes(D)?w+\"=\"+D:\"\"}function me(){return Math.random().toString(36).slice(2,6)+Math.random().toString(36).slice(2,6)}function Oe(w,P){return\"\"+ke(P)+w+Z(P)}function We(w,P){var D={forceEmbedLayout:!0};return P&&typeof P==\"object\"&&Object.assign(D,P),\"\"+ke(D)+w+Z(D)}function ke(w){return w===void 0&&(w={}),typeof w.origin==\"string\"?w.origin:\"https://stackblitz.com\"}function It(w,P,D){if(!P||!w||!w.parentNode)throw new Error(\"Invalid Element\");w.id&&(P.id=w.id),w.className&&(P.className=w.className),function(ne,be){be&&typeof be==\"object\"&&(Object.hasOwnProperty.call(be,\"height\")&&(ne.height=\"\"+be.height),Object.hasOwnProperty.call(be,\"width\")&&(ne.width=\"\"+be.width)),ne.height||(ne.height=\"300\"),ne.width||ne.setAttribute(\"style\",\"width:100%;\")}(P,D),w.parentNode.replaceChild(P,w)}function ft(w){if(typeof w==\"string\"){var P=document.getElementById(w);if(!P)throw new Error(\"Could not find element with id '\"+w+\"'\");return P}if(w instanceof HTMLElement)return w;throw new Error(\"Invalid element: \"+w)}function nn(w){return w&&w.newWindow===!1?\"_self\":\"_blank\"}function b(){return b=Object.assign||function(w){for(var P=1;P<arguments.length;P++){var D=arguments[P];for(var ne in D)Object.prototype.hasOwnProperty.call(D,ne)&&(w[ne]=D[ne])}return w},b.apply(this,arguments)}var W=function(){function w(D){this.port=void 0,this.pending={},this.port=D,this.port.onmessage=this.messageListener.bind(this)}var P=w.prototype;return P.request=function(D){var ne=this,be=D.type,Le=D.payload,je=me();return new Promise(function(ze,ut){ne.pending[je]={resolve:ze,reject:ut},ne.port.postMessage({type:be,payload:b({},Le,{__reqid:je})})})},P.messageListener=function(D){var ne;if(typeof((ne=D.data.payload)==null?void 0:ne.__reqid)==\"string\"){var be=D.data,Le=be.type,je=be.payload,ze=je.__reqid,ut=je.__error;this.pending[ze]&&(je.__success?this.pending[ze].resolve(function(dt){var Ct=b({},dt);return delete Ct.__reqid,delete Ct.__success,delete Ct.__error,Object.keys(Ct).length?Ct:null}(je)):this.pending[ze].reject(ut?Le+\": \"+ut:Le),delete this.pending[ze])}},w}(),de=function(){function w(D,ne){var be=this;this._rdc=void 0,this.editor={openFile:function(Le){return be._rdc.request({type:\"SDK_OPEN_FILE\",payload:{path:Le}})},setCurrentFile:function(Le){return be._rdc.request({type:\"SDK_SET_CURRENT_FILE\",payload:{path:Le}})},setTheme:function(Le){return be._rdc.request({type:\"SDK_SET_UI_THEME\",payload:{theme:Le}})},setView:function(Le){return be._rdc.request({type:\"SDK_SET_UI_VIEW\",payload:{view:Le}})},showSidebar:function(Le){return Le===void 0&&(Le=!0),be._rdc.request({type:\"SDK_TOGGLE_SIDEBAR\",payload:{visible:Le}})}},this.preview={origin:\"\",getUrl:function(){return be._rdc.request({type:\"SDK_GET_PREVIEW_URL\",payload:{}}).then(function(Le){var je;return(je=Le==null?void 0:Le.url)!=null?je:null})},setUrl:function(Le){if(Le===void 0&&(Le=\"/\"),typeof Le!=\"string\"||!Le.startsWith(\"/\"))throw new Error(\"Invalid argument: expected a path starting with '/', got '\"+Le+\"'\");return be._rdc.request({type:\"SDK_SET_PREVIEW_URL\",payload:{path:Le}})}},this._rdc=new W(D),Object.defineProperty(this.preview,\"origin\",{value:typeof ne.previewOrigin==\"string\"?ne.previewOrigin:null,writable:!1})}var P=w.prototype;return P.applyFsDiff=function(D){var ne=function(be){return be!==null&&typeof be==\"object\"};if(!ne(D)||!ne(D.create))throw new Error(\"Invalid diff object: expected diff.create to be an object.\");if(!Array.isArray(D.destroy))throw new Error(\"Invalid diff object: expected diff.create to be an array.\");return this._rdc.request({type:\"SDK_APPLY_FS_DIFF\",payload:D})},P.getDependencies=function(){return this._rdc.request({type:\"SDK_GET_DEPS_SNAPSHOT\",payload:{}})},P.getFsSnapshot=function(){return this._rdc.request({type:\"SDK_GET_FS_SNAPSHOT\",payload:{}})},w}(),ye=[],He=function(w){var P=this;this.element=void 0,this.id=void 0,this.pending=void 0,this.vm=void 0,this.id=me(),this.element=w,this.pending=new Promise(function(D,ne){var be=function(dt){var Ct=dt.data;(Ct==null?void 0:Ct.action)===\"SDK_INIT_SUCCESS\"&&Ct.id===P.id&&(P.vm=new de(dt.ports[0],Ct.payload),D(P.vm),je())},Le=function(){var dt;(dt=P.element.contentWindow)==null||dt.postMessage({action:\"SDK_INIT\",id:P.id},\"*\")};function je(){window.clearInterval(ut),window.removeEventListener(\"message\",be)}window.addEventListener(\"message\",be),Le();var ze=0,ut=window.setInterval(function(){if(P.vm)je();else{if(ze>=20)return je(),ne(\"Timeout: Unable to establish a connection with the StackBlitz VM\"),void ye.forEach(function(dt,Ct){dt.id===P.id&&ye.splice(Ct,1)});ze++,Le()}},500)}),ye.push(this)};function rt(w,P){var D=document.createElement(\"input\");return D.type=\"hidden\",D.name=w,D.value=P,D}function $e(w){if(!Se.includes(w.template)){var P=Se.map(function(be){return\"'\"+be+\"'\"}).join(\", \");console.warn(\"Unsupported project.template: must be one of \"+P)}var D=w.template===\"node\",ne=document.createElement(\"form\");return ne.method=\"POST\",ne.setAttribute(\"style\",\"display:none!important;\"),ne.appendChild(rt(\"project[title]\",w.title)),ne.appendChild(rt(\"project[description]\",w.description)),ne.appendChild(rt(\"project[template]\",w.template)),w.dependencies&&(D?console.warn(\"Invalid project.dependencies: dependencies must be provided as a 'package.json' file when using the 'node' template.\"):ne.appendChild(rt(\"project[dependencies]\",JSON.stringify(w.dependencies)))),w.settings&&ne.appendChild(rt(\"project[settings]\",JSON.stringify(w.settings))),Object.keys(w.files).forEach(function(be){var Le=\"project[files]\"+function(ze){return\"[\"+ze.replace(/\\[/g,\"%5B\").replace(/\\]/g,\"%5D\")+\"]\"}(be),je=w.files[be];typeof je==\"string\"&&ne.appendChild(rt(Le,je))}),ne}function pt(w){var P,D,ne,be;return w!=null&&w.contentWindow?(be=(D=w)instanceof Element?\"element\":\"id\",(P=(ne=ye.find(function(Le){return Le[be]===D}))!=null?ne:null)!=null?P:new He(w)).pending:Promise.reject(\"Provided element is not an iframe.\")}var Ot={connect:pt,embedGithubProject:function(w,P,D){var ne=ft(w),be=document.createElement(\"iframe\");return be.src=We(\"/github/\"+P,D),It(ne,be,D),pt(be)},embedProject:function(w,P,D){var ne,be=ft(w),Le=function(ze,ut){var dt=$e(ze);return dt.action=We(\"/run\",ut),dt.id=\"sb\",\"<html><head><title></title></head><body>\"+dt.outerHTML+\"<script>document.getElementById('\"+dt.id+\"').submit();<\\/script></body></html>\"}(P,D),je=document.createElement(\"iframe\");return It(be,je,D),(ne=je.contentDocument)==null||ne.write(Le),pt(je)},embedProjectId:function(w,P,D){var ne=ft(w),be=document.createElement(\"iframe\");return be.src=We(\"/edit/\"+P,D),It(ne,be,D),pt(be)},openGithubProject:function(w,P){var D=Oe(\"/github/\"+w,P),ne=nn(P);window.open(D,ne)},openProject:function(w,P){(function(D,ne){var be=$e(D);be.action=Oe(\"/run\",ne),be.target=nn(ne),document.body.appendChild(be),be.submit(),document.body.removeChild(be)})(w,P)},openProjectId:function(w,P){var D=Oe(\"/edit/\"+w,P),ne=nn(P);window.open(D,ne)}};function at(w,P){return qt(w)||At(w,P)||vt(w,P)||wt()}function wt(){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 vt(w,P){if(w){if(typeof w==\"string\")return jt(w,P);var D=Object.prototype.toString.call(w).slice(8,-1);if(D===\"Object\"&&w.constructor&&(D=w.constructor.name),D===\"Map\"||D===\"Set\")return Array.from(w);if(D===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return jt(w,P)}}function jt(w,P){(P==null||P>w.length)&&(P=w.length);for(var D=0,ne=new Array(P);D<P;D++)ne[D]=w[D];return ne}function At(w,P){var D=w==null?null:typeof Symbol!=\"undefined\"&&w[Symbol.iterator]||w[\"@@iterator\"];if(D!=null){var ne=[],be=!0,Le=!1,je,ze;try{for(D=D.call(w);!(be=(je=D.next()).done)&&(ne.push(je.value),!(P&&ne.length===P));be=!0);}catch(ut){Le=!0,ze=ut}finally{try{!be&&D.return!=null&&D.return()}finally{if(Le)throw ze}}return ne}}function qt(w){if(Array.isArray(w))return w}var En=function(P){var D,ne,be,Le,je,ze=Boolean((D=P.asset.dependencies)===null||D===void 0?void 0:D[\"index.tsx\"]),ut=ze?\".tsx\":\".jsx\",dt={},Ct=\"index\".concat(ut),Rt={\"index.html\":'<div style=\"margin: 16px;\" id=\"root\"></div>'},kt={title:P.title||\"\",description:P.description||\"An auto-generated demo by dumi\",template:\"create-react-app\",files:{}};Object.entries(P.asset.dependencies).forEach(function(Ut){var Qt=at(Ut,2),cn=Qt[0],wn=Qt[1],gn=wn.type,Kn=wn.value;gn===\"NPM\"?dt[cn]=Kn:Rt[cn===Ct?\"App\".concat(ut):cn]=Kn}),(be=dt[ne=\"react\"])!==null&&be!==void 0||(dt[ne]=\"latest\"),(je=dt[Le=\"react-dom\"])!==null&&je!==void 0||(dt[Le]=dt.react),Rt[\"package.json\"]=JSON.stringify({name:P.title,description:P.description||\"An auto-generated demo by dumi\",dependencies:dt,devDependencies:ze?{typescript:\"^4\"}:{}},null,2),Rt[Ct]=(0,it.AM)(dt.react),kt.files=Rt,Ot.openProject(kt)},Ft=function(){var P=useSiteData(),D=P.components;return{components:D}},_n=e(4849);function xn(w){return Jn(w)||Wn(w)||cr(w)||Zn()}function Zn(){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 Wn(w){if(typeof Symbol!=\"undefined\"&&w[Symbol.iterator]!=null||w[\"@@iterator\"]!=null)return Array.from(w)}function Jn(w){if(Array.isArray(w))return pr(w)}function Un(w,P){return Dn(w)||vr(w,P)||cr(w,P)||qn()}function qn(){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 cr(w,P){if(w){if(typeof w==\"string\")return pr(w,P);var D=Object.prototype.toString.call(w).slice(8,-1);if(D===\"Object\"&&w.constructor&&(D=w.constructor.name),D===\"Map\"||D===\"Set\")return Array.from(w);if(D===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return pr(w,P)}}function pr(w,P){(P==null||P>w.length)&&(P=w.length);for(var D=0,ne=new Array(P);D<P;D++)ne[D]=w[D];return ne}function vr(w,P){var D=w==null?null:typeof Symbol!=\"undefined\"&&w[Symbol.iterator]||w[\"@@iterator\"];if(D!=null){var ne=[],be=!0,Le=!1,je,ze;try{for(D=D.call(w);!(be=(je=D.next()).done)&&(ne.push(je.value),!(P&&ne.length===P));be=!0);}catch(ut){Le=!0,ze=ut}finally{try{!be&&D.return!=null&&D.return()}finally{if(Le)throw ze}}return ne}}function Dn(w){if(Array.isArray(w))return w}var br=function(){var P=(0,_n.b)(),D=(0,it.RX)(),ne=(0,g.W)(),be=ne.themeConfig,Le=Zt(),je=(0,it.M7)(),ze=(0,r.useState)(function(){var Ct=[],Rt;if(be.nav&&(\"mode\"in be.nav&&typeof be.nav.mode==\"string\"?(Rt=be.nav.mode,Ct=(0,it.m7)(be.nav.value,P)):\"mode\"in be.nav||(Ct=(0,it.m7)(be.nav,P)),!Rt||Rt===\"override\"))return Ct;var kt=Object.entries(Le).map(function(Ut){var Qt=Un(Ut,2),cn=Qt[0],wn=Qt[1],gn=Object.values(D).reduce(function(Kn,Pn){return Pn.path.startsWith(cn.slice(1))&&(0,it.qu)(Kn,\"nav\",Pn.meta.frontmatter),Kn},{});return{title:gn.title||wn[0].title||wn[0].children[0].title,order:gn.order||0,link:wn[0].children[0].link,activePath:cn}});return kt.sort(je),Rt===\"prepend\"?kt.unshift.apply(kt,xn(Ct)):Rt===\"append\"&&kt.push.apply(kt,xn(Ct)),kt}),ut=Un(ze,1),dt=ut[0];return dt};function zn(w,P){return Nt(w)||Dt(w,P)||Ge(w,P)||Re()}function Re(){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 Ge(w,P){if(w){if(typeof w==\"string\")return ot(w,P);var D=Object.prototype.toString.call(w).slice(8,-1);if(D===\"Object\"&&w.constructor&&(D=w.constructor.name),D===\"Map\"||D===\"Set\")return Array.from(w);if(D===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return ot(w,P)}}function ot(w,P){(P==null||P>w.length)&&(P=w.length);for(var D=0,ne=new Array(P);D<P;D++)ne[D]=w[D];return ne}function Dt(w,P){var D=w==null?null:typeof Symbol!=\"undefined\"&&w[Symbol.iterator]||w[\"@@iterator\"];if(D!=null){var ne=[],be=!0,Le=!1,je,ze;try{for(D=D.call(w);!(be=(je=D.next()).done)&&(ne.push(je.value),!(P&&ne.length===P));be=!0);}catch(ut){Le=!0,ze=ut}finally{try{!be&&D.return!=null&&D.return()}finally{if(Le)throw ze}}return ne}}function Nt(w){if(Array.isArray(w))return w}function Lt(w,P){if(!(w instanceof P))throw new TypeError(\"Cannot call a class as a function\")}function Ht(w,P){for(var D=0;D<P.length;D++){var ne=P[D];ne.enumerable=ne.enumerable||!1,ne.configurable=!0,\"value\"in ne&&(ne.writable=!0),Object.defineProperty(w,ne.key,ne)}}function Vt(w,P,D){return P&&Ht(w.prototype,P),D&&Ht(w,D),Object.defineProperty(w,\"prototype\",{writable:!1}),w}function an(w,P,D){return P in w?Object.defineProperty(w,P,{value:D,enumerable:!0,configurable:!0,writable:!0}):w[P]=D,w}var Wt,bn=function(){function w(P){var D=this;Lt(this,w),an(this,\"color\",void 0),an(this,\"prefersColor\",void 0),an(this,\"callbacks\",[]),this.prefersColor=navigator.cookieEnabled&&localStorage.getItem(y.PREFERS_COLOR_LS_KEY)||P.default,this.color=document.documentElement.getAttribute(y.PREFERS_COLOR_ATTR),[\"light\",\"dark\"].forEach(function(ne){var be=D.getColorMedia(ne),Le=function(ze){ze.matches&&D.prefersColor===\"auto\"&&(D.color=ne,document.documentElement.setAttribute(y.PREFERS_COLOR_ATTR,ne),D.applyCallbacks())};be.addEventListener?be.addEventListener(\"change\",Le):be.addListener&&be.addListener(Le)})}return Vt(w,[{key:\"getColorMedia\",value:function(D){return window.matchMedia(\"(prefers-color-scheme: \".concat(D,\")\"))}},{key:\"isColorMode\",value:function(D){return this.getColorMedia(D).matches}},{key:\"applyCallbacks\",value:function(){var D=this;this.callbacks.forEach(function(ne){return ne({color:D.color,prefersColor:D.prefersColor})})}},{key:\"listen\",value:function(D){this.callbacks.push(D)}},{key:\"unlisten\",value:function(D){this.callbacks.splice(this.callbacks.indexOf(D),1)}},{key:\"tryPrefersColor\",value:function(D){return navigator.cookieEnabled&&localStorage.setItem(y.PREFERS_COLOR_LS_KEY,D),this.prefersColor=D,this.color=D===\"auto\"?this.isColorMode(\"dark\")?\"dark\":\"light\":D,document.documentElement.setAttribute(y.PREFERS_COLOR_ATTR,D),this.applyCallbacks(),D}}]),w}(),ln=function(){var P=(0,g.W)(),D=P.themeConfig,ne=(0,r.useState)(),be=zn(ne,2),Le=be[0],je=be[1],ze=(0,r.useState)(),ut=zn(ze,2),dt=ut[0],Ct=ut[1],Rt=(0,r.useCallback)(function(Ut){Wt.tryPrefersColor(Ut)},[]),kt=(0,r.useCallback)(function(Ut){je(Ut.color),Ct(Ut.prefersColor)},[]);return(0,r.useEffect)(function(){var Ut;return(Ut=Wt)!==null&&Ut!==void 0||(Wt=new bn({default:D.prefersColor.default})),Wt.listen(kt),je(Wt.color),Ct(Wt.prefersColor),function(){return Wt.unlisten(kt)}},[]),[Le,dt,Rt]};function tt(w,P){return ct(w)||Qe(w,P)||nt(w,P)||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 nt(w,P){if(w){if(typeof w==\"string\")return st(w,P);var D=Object.prototype.toString.call(w).slice(8,-1);if(D===\"Object\"&&w.constructor&&(D=w.constructor.name),D===\"Map\"||D===\"Set\")return Array.from(w);if(D===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return st(w,P)}}function st(w,P){(P==null||P>w.length)&&(P=w.length);for(var D=0,ne=new Array(P);D<P;D++)ne[D]=w[D];return ne}function Qe(w,P){var D=w==null?null:typeof Symbol!=\"undefined\"&&w[Symbol.iterator]||w[\"@@iterator\"];if(D!=null){var ne=[],be=!0,Le=!1,je,ze;try{for(D=D.call(w);!(be=(je=D.next()).done)&&(ne.push(je.value),!(P&&ne.length===P));be=!0);}catch(ut){Le=!0,ze=ut}finally{try{!be&&D.return!=null&&D.return()}finally{if(Le)throw ze}}return ne}}function ct(w){if(Array.isArray(w))return w}var lt=function(){var P=(0,a.Qt)(),D=P.route,ne=(0,a.TH)(),be=ne.pathname,Le=(0,a.Ov)(),je=Le.clientRoutes,ze=(0,r.useCallback)(function(){var kt;if(D.path===be&&!(\"isLayout\"in D))kt=D.meta;else{var Ut,Qt,cn=(Ut=(0,a.fp)(je,be))===null||Ut===void 0?void 0:Ut.pop();kt=cn==null||(Qt=cn.route)===null||Qt===void 0?void 0:Qt.meta}return kt||{frontmatter:{},toc:[],texts:[]}},[je.length,be]),ut=(0,r.useState)(ze),dt=tt(ut,2),Ct=dt[0],Rt=dt[1];return(0,it.LI)(function(){Rt(ze)},[je.length,be]),Ct};function gt(w,P){var D=Object.keys(w);if(Object.getOwnPropertySymbols){var ne=Object.getOwnPropertySymbols(w);P&&(ne=ne.filter(function(be){return Object.getOwnPropertyDescriptor(w,be).enumerable})),D.push.apply(D,ne)}return D}function mt(w){for(var P=1;P<arguments.length;P++){var D=arguments[P]!=null?arguments[P]:{};P%2?gt(Object(D),!0).forEach(function(ne){Et(w,ne,D[ne])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(D)):gt(Object(D)).forEach(function(ne){Object.defineProperty(w,ne,Object.getOwnPropertyDescriptor(D,ne))})}return w}function Et(w,P,D){return P in w?Object.defineProperty(w,P,{value:D,enumerable:!0,configurable:!0,writable:!0}):w[P]=D,w}function Pt(w,P){var D=typeof Symbol!=\"undefined\"&&w[Symbol.iterator]||w[\"@@iterator\"];if(!D){if(Array.isArray(w)||(D=Xt(w))||P&&w&&typeof w.length==\"number\"){D&&(w=D);var ne=0,be=function(){};return{s:be,n:function(){return ne>=w.length?{done:!0}:{done:!1,value:w[ne++]}},e:function(dt){throw dt},f:be}}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 Le=!0,je=!1,ze;return{s:function(){D=D.call(w)},n:function(){var dt=D.next();return Le=dt.done,dt},e:function(dt){je=!0,ze=dt},f:function(){try{!Le&&D.return!=null&&D.return()}finally{if(je)throw ze}}}}function Mt(w){return Yt(w)||Kt(w)||Xt(w)||Bt()}function Bt(){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 Kt(w){if(typeof Symbol!=\"undefined\"&&w[Symbol.iterator]!=null||w[\"@@iterator\"]!=null)return Array.from(w)}function Yt(w){if(Array.isArray(w))return en(w)}function $t(w,P){return pn(w)||hn(w,P)||Xt(w,P)||dn()}function dn(){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 Xt(w,P){if(w){if(typeof w==\"string\")return en(w,P);var D=Object.prototype.toString.call(w).slice(8,-1);if(D===\"Object\"&&w.constructor&&(D=w.constructor.name),D===\"Map\"||D===\"Set\")return Array.from(w);if(D===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return en(w,P)}}function en(w,P){(P==null||P>w.length)&&(P=w.length);for(var D=0,ne=new Array(P);D<P;D++)ne[D]=w[D];return ne}function hn(w,P){var D=w==null?null:typeof Symbol!=\"undefined\"&&w[Symbol.iterator]||w[\"@@iterator\"];if(D!=null){var ne=[],be=!0,Le=!1,je,ze;try{for(D=D.call(w);!(be=(je=D.next()).done)&&(ne.push(je.value),!(P&&ne.length===P));be=!0);}catch(ut){Le=!0,ze=ut}finally{try{!be&&D.return!=null&&D.return()}finally{if(Le)throw ze}}return ne}}function pn(w){if(Array.isArray(w))return w}var Sn=\"$default-group-title\",fn=function(P,D){return\"base\"in D?P.replace(D.base.slice(1),\"\").replace(/^\\//,\"\"):P},Zt=function(){var P=(0,_n.b)(),D=(0,it.RX)(),ne=(0,g.W)(),be=ne.themeConfig,Le=(0,it.M7)(),je=(0,r.useState)(function(){var dt=Object.values(D).reduce(function(Rt,kt){var Ut=fn(kt.path,P);if(Ut&&kt.meta){var Qt,cn,wn,gn=\"/\".concat(kt.path.replace(Ut,function(or){return or.replace(/\\/[^/]+$/,\"\")})),Kn=(0,it.qu)({order:0},\"group\",kt.meta.frontmatter),Pn=Kn.title,Ln=Kn.order,er=Pn||Sn;(Qt=Rt[gn])!==null&&Qt!==void 0||(Rt[gn]={}),Rt[gn][er]={title:Pn,order:((cn=Rt[gn][er])===null||cn===void 0?void 0:cn.order)||Ln,children:[].concat(Mt(((wn=Rt[gn][er])===null||wn===void 0?void 0:wn.children)||[]),[{title:kt.meta.frontmatter.title,link:\"/\".concat(kt.path),order:kt.meta.frontmatter.order||0,frontmatter:kt.meta.frontmatter}])}}return Rt},{}),Ct=Object.entries(dt).reduce(function(Rt,kt){var Ut=$t(kt,2),Qt=Ut[0],cn=Ut[1];return Rt[Qt]=Object.values(cn).sort(Le),Rt[Qt].forEach(function(wn){return wn.children.sort(Le)}),Rt},{});return Object.assign(Ct,be.sidebar)}),ze=$t(je,1),ut=ze[0];return ut};function ar(w){var P={order:0,title:\"\"},D=Pt(w),ne;try{for(D.s();!(ne=D.n()).done;){var be=ne.value,Le=Pt(be.children),je;try{for(Le.s();!(je=Le.n()).done;){var ze=je.value;\"frontmatter\"in ze&&pickRouteSortMeta(P,\"nav\",ze.frontmatter)}}catch(ut){Le.e(ut)}finally{Le.f()}}}catch(ut){D.e(ut)}finally{D.f()}return P}var An=function(){var P=Zt(),D=useRouteDataComparer(),ne=useState(function(){var je=Object.entries(P).sort(function(ze,ut){return ut[0].split(\"/\").length-ze[0].split(\"/\").length}).reduce(function(ze,ut){var dt=$t(ut,2),Ct=dt[0],Rt=dt[1],kt=Ct.replace(/\\/[^/]+$/,\"\");if(kt){var Ut;if((Ut=ze[kt])!==null&&Ut!==void 0||(ze[kt]=mt({path:kt,children:P[kt]||[]},ar(P[kt]||[]))),ze[Ct])ze[Ct].children.sort(D),ze[kt].children.push(ze[Ct]),delete ze[Ct];else{var Qt;(Qt=ze[kt].children).push.apply(Qt,Mt(Rt))}}else Rt.sort(D),ze[Ct]=mt({path:Ct,children:Rt},ar(Rt));return ze},{});return Object.values(je)}),be=$t(ne,1),Le=be[0];return Le},sn=function(){var P=(0,_n.b)(),D=Zt(),ne=(0,a.TH)(),be=ne.pathname,Le=fn(be.slice(1),P),je=Le?be.replace(Le,function(ze){return ze.replace(/([^/]+)(\\/[^/]+\\/?)$/,\"$1\")}):be;return je?D[je]:[]},Rn='\"use strict\";(()=>{var P=Object.create;var k=Object.defineProperty;var z=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames,R=Object.getOwnPropertySymbols,B=Object.getPrototypeOf,E=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable;var O=(i,e,n)=>e in i?k(i,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):i[e]=n,I=(i,e)=>{for(var n in e||(e={}))E.call(e,n)&&O(i,n,e[n]);if(R)for(var n of R(e))L.call(e,n)&&O(i,n,e[n]);return i};var N=(i,e)=>()=>(e||i((e={exports:{}}).exports,e),e.exports);var F=(i,e,n,u)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let r of D(e))!E.call(i,r)&&r!==n&&k(i,r,{get:()=>e[r],enumerable:!(u=z(e,r))||u.enumerable});return i};var W=(i,e,n)=>(n=i!=null?P(B(i)):{},F(e||!i||!i.__esModule?k(n,\"default\",{value:i,enumerable:!0}):n,i));var j=N((K,w)=>{w.exports=function(i){var e={};function n(u){if(e[u])return e[u].exports;var r=e[u]={exports:{},id:u,loaded:!1};return i[u].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}return n.m=i,n.c=e,n.p=\"\",n(0)}([function(i,e,n){i.exports=n(1)},function(i,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var u=n(2);Object.defineProperty(e,\"combineChunks\",{enumerable:!0,get:function(){return u.combineChunks}}),Object.defineProperty(e,\"fillInChunks\",{enumerable:!0,get:function(){return u.fillInChunks}}),Object.defineProperty(e,\"findAll\",{enumerable:!0,get:function(){return u.findAll}}),Object.defineProperty(e,\"findChunks\",{enumerable:!0,get:function(){return u.findChunks}})},function(i,e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var n=e.findAll=function(t){var g=t.autoEscape,c=t.caseSensitive,f=c===void 0?!1:c,d=t.findChunks,o=d===void 0?r:d,h=t.sanitize,v=t.searchWords,T=t.textToHighlight;return l({chunksToHighlight:u({chunks:o({autoEscape:g,caseSensitive:f,sanitize:h,searchWords:v,textToHighlight:T})}),totalLength:T?T.length:0})},u=e.combineChunks=function(t){var g=t.chunks;return g=g.sort(function(c,f){return c.start-f.start}).reduce(function(c,f){if(c.length===0)return[f];var d=c.pop();if(f.start<=d.end){var o=Math.max(d.end,f.end);c.push({highlight:!1,start:d.start,end:o})}else c.push(d,f);return c},[]),g},r=function(t){var g=t.autoEscape,c=t.caseSensitive,f=t.sanitize,d=f===void 0?p:f,o=t.searchWords,h=t.textToHighlight;return h=d(h),o.filter(function(v){return v}).reduce(function(v,T){T=d(T),g&&(T=a(T));for(var m=new RegExp(T,c?\"g\":\"gi\"),y=void 0;y=m.exec(h);){var S=y.index,$=m.lastIndex;$>S&&v.push({highlight:!1,start:S,end:$}),y.index===m.lastIndex&&m.lastIndex++}return v},[])};e.findChunks=r;var l=e.fillInChunks=function(t){var g=t.chunksToHighlight,c=t.totalLength,f=[],d=function(v,T,m){T-v>0&&f.push({start:v,end:T,highlight:m})};if(g.length===0)d(0,c,!1);else{var o=0;g.forEach(function(h){d(o,h.start,!1),d(h.start,h.end,!0),o=h.end}),d(o,c,!1)}return f};function p(s){return s}function a(s){return s.replace(/[\\\\-\\\\[\\\\]\\\\/\\\\{\\\\}\\\\(\\\\)\\\\*\\\\+\\\\?\\\\.\\\\\\\\\\\\^\\\\$\\\\|]/g,\"\\\\\\\\$&\")}}])});var C=W(j()),H=\"tab\";function M(i,e,n,u,r){let l=r!==void 0,p=u.reduce((a,s)=>(s.tocIndex===r&&(a[s.paraId]=(a[s.paraId]||\"\").concat(s.value)),a),[]).filter(Boolean);return Boolean(p.length)||l?{rawTitle:i,title:e,link:n,paragraphs:u.reduce((a,s)=>{var t,g;return s.tocIndex===r&&((g=a[t=s.paraId])!=null||(a[t]=\"\"),a[s.paraId]+=s.value),a},[]).filter(Boolean)}:null}function x(i){return[i.title,i.subtitle].filter(Boolean).join(\" \")}function _(i,e,n){let u=[],r=Object.values(e).reduce((l,p)=>{var a,s;return p.asset&&((s=l[a=p.routeId])!=null||(l[a]=[]),l[p.routeId].push(p)),l},{});return Object.values(i).forEach(l=>{var p;if(\"meta\"in l&&!(\"isLayout\"in l)){let a=l.meta,s=l.path.replace(/^([^/])/,\"/$1\")||\"/\",t=n.find(o=>s===o.link||s.startsWith(`${o.activePath}/`)),g=(r[l.id]||[]).map(o=>{var h;return(h=o.asset)==null?void 0:h.id}),c=M(\"\",x(a.frontmatter),s,a.texts),f=a.toc.reduce((o,h,v)=>(!g.includes(h.id)&&h.depth>1&&o.push(M(h.title,`${x(a.frontmatter)} - ${h.title}`,`${s}#${h.id}`,a.texts,v)),o),[]),d=(a.tabs||[]).reduce((o,{key:h,meta:v})=>{let T=M(\"\",`${x(a.frontmatter)} - ${v.frontmatter.title}`,`${s}?${H}=${h}`,v.texts);return T&&o.push(T),o.push(...v.toc.map((m,y)=>M(m.title,`${x(a.frontmatter)} - ${v.frontmatter.title} - ${m.title}`,`${s}?${H}=${h}#${m.id}`,v.texts,y))),o},[]);u.push({navTitle:t==null?void 0:t.title,navOrder:t?n.indexOf(t):1/0,title:x(a.frontmatter),link:s,sections:[...c?[c]:[],...f,...d],demos:((p=r[l.id])==null?void 0:p.map(o=>({link:`${s}#${o.asset.id}`,rawTitle:o.asset.title||\"\",title:o.asset.title||x(a.frontmatter),description:o.asset.description||\"\",keywords:o.asset.keywords||[]})))||[]})}}),u}function b(i=\"\",e,n=1){let u=(0,C.findAll)({textToHighlight:i,searchWords:e,autoEscape:!0}),r={};return[u.map(({start:l,end:p,highlight:a},s)=>{let t={text:i.slice(l,p)};return s===0&&!a&&u.length>1&&t.text.length>20&&(t.text=`...${t.text.slice(-20)}`),a&&(t.highlighted=!0,r[e.find(g=>t.text.includes(g))]=n),t}),r]}function Y(i,e){let n=e.split(\" \"),u=new RegExp(e.replace(/[.*+?^${}()|[\\\\]\\\\\\\\]/g,\"\\\\\\\\$&\").replace(\" \",\"|\"),\"gi\"),r={};return i.forEach(l=>{var a,s;let p=[];if(l.sections.forEach(t=>{for(let g of t.paragraphs)if(u.test(g)){let[c,f]=b(t.title,n,10),[d,o]=b(g,n);p.push({type:\"content\",link:t.link,priority:Object.values(I(I({},o),f)).reduce((h,v)=>h+v,0),highlightTitleTexts:c,highlightTexts:d});return}if(u.test(t.rawTitle)){let[g,c]=b(t.title,n,10);p.push({type:\"title\",link:t.link,priority:Object.values(c).reduce((f,d)=>f+d,0),highlightTitleTexts:g,highlightTexts:b(t.paragraphs[0]||\"\",n)[0]})}}),l.demos.forEach(t=>{if(u.test(t.rawTitle)||u.test(t.description)){let[g,c]=b(t.title,n,10),[f,d]=b(t.description,n);p.push({type:\"demo\",link:t.link,priority:Object.values(I(I({},d),c)).reduce((o,h)=>o+h,0),highlightTitleTexts:g,highlightTexts:f})}}),u.test(l.title)){let[t,g]=b(l.title,n,100);p.push({type:\"page\",link:l.link,priority:Object.values(g).reduce((c,f)=>c+f,0),highlightTitleTexts:t,highlightTexts:b(((a=l.sections[0])==null?void 0:a.paragraphs[0])||\"\",n)[0]})}if(p.length){let t=l.navTitle||\"$ROOT\";(s=r[t])!=null||(r[t]={title:l.navTitle,priority:l.navOrder*1e3,hints:[]}),r[t].hints.push(...p)}}),Object.values(r).forEach(({hints:l})=>{l.sort((p,a)=>a.priority-p.priority)}),Object.values(r).sort((l,p)=>p.priority-l.priority)}var A;self.onmessage=({data:i})=>{switch(i.action){case\"generate-metadata\":A=_(i.args.routes,i.args.demos,i.args.nav);break;case\"get-search-result\":self.postMessage(Y(A,i.args.keywords));break;default:}};})();\\n';function Nn(w,P){var D=Object.keys(w);if(Object.getOwnPropertySymbols){var ne=Object.getOwnPropertySymbols(w);P&&(ne=ne.filter(function(be){return Object.getOwnPropertyDescriptor(w,be).enumerable})),D.push.apply(D,ne)}return D}function Bn(w){for(var P=1;P<arguments.length;P++){var D=arguments[P]!=null?arguments[P]:{};P%2?Nn(Object(D),!0).forEach(function(ne){Vn(w,ne,D[ne])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(D)):Nn(Object(D)).forEach(function(ne){Object.defineProperty(w,ne,Object.getOwnPropertyDescriptor(D,ne))})}return w}function Vn(w,P,D){return P in w?Object.defineProperty(w,P,{value:D,enumerable:!0,configurable:!0,writable:!0}):w[P]=D,w}function Fn(w,P){return Ke(w)||xe(w,P)||ie(w,P)||H()}function H(){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 ie(w,P){if(w){if(typeof w==\"string\")return re(w,P);var D=Object.prototype.toString.call(w).slice(8,-1);if(D===\"Object\"&&w.constructor&&(D=w.constructor.name),D===\"Map\"||D===\"Set\")return Array.from(w);if(D===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return re(w,P)}}function re(w,P){(P==null||P>w.length)&&(P=w.length);for(var D=0,ne=new Array(P);D<P;D++)ne[D]=w[D];return ne}function xe(w,P){var D=w==null?null:typeof Symbol!=\"undefined\"&&w[Symbol.iterator]||w[\"@@iterator\"];if(D!=null){var ne=[],be=!0,Le=!1,je,ze;try{for(D=D.call(w);!(be=(je=D.next()).done)&&(ne.push(je.value),!(P&&ne.length===P));be=!0);}catch(ut){Le=!0,ze=ut}finally{try{!be&&D.return!=null&&D.return()}finally{if(Le)throw ze}}return ne}}function Ke(w){if(Array.isArray(w))return w}var Ue;typeof window!=\"undefined\"&&(Ue=new Worker(URL.createObjectURL(new Blob([Rn],{type:\"application/javascript\"}))));var J=function(){var P=(0,r.useRef)(),D=(0,it.RX)(),ne=(0,g.W)(),be=ne.demos,Le=(0,r.useState)(!1),je=Fn(Le,2),ze=je[0],ut=je[1],dt=(0,r.useState)(\"\"),Ct=Fn(dt,2),Rt=Ct[0],kt=Ct[1],Ut=br(),Qt=(0,r.useState)([]),cn=Fn(Qt,2),wn=cn[0],gn=cn[1],Kn=(0,r.useCallback)(function(Pn){ut(!0),kt(Pn)},[]);return(0,r.useEffect)(function(){Ue.onmessage=function(Pn){gn(Pn.data),ut(!1)}},[]),(0,r.useEffect)(function(){var Pn=Object.entries(be).reduce(function(Ln,er){var or=Fn(er,2),Ar=or[0],Xn=or[1],Yn=Xn.asset,Er=Xn.routeId;return Bn(Bn({},Ln),{},Vn({},Ar,{asset:Yn,routeId:Er}))},{});Ue.postMessage({action:\"generate-metadata\",args:{routes:JSON.parse(JSON.stringify(D)),nav:Ut,demos:Pn}})},[D,be,Ut]),(0,r.useEffect)(function(){var Pn=Rt.trim();Pn?(clearTimeout(P.current),P.current=window.setTimeout(function(){Ue.postMessage({action:\"get-search-result\",args:{keywords:Pn}})},200)):gn([])},[Rt]),{keywords:Rt,setKeywords:Kn,result:wn,loading:ze}}},24982:function(c,m,e){\"use strict\";e.d(m,{k:function(){return a},s:function(){return o}});var a=[{id:\"en-US\",name:\"English\",base:\"/\"},{id:\"zh-CN\",name:\"\\u4E2D\\u6587\",base:\"/zh-CN\"}],o={\"en-US\":{\"header.search.placeholder\":\"Type keywords...\",\"header.color.mode.light\":\"Light Mode\",\"header.color.mode.dark\":\"Dark Mode\",\"header.color.mode.auto\":\"Follow System\",\"header.social.github\":\"GitHub\",\"header.social.weibo\":\"Weibo\",\"header.social.twitter\":\"Twitter\",\"header.social.gitlab\":\"GitLab\",\"header.social.facebook\":\"Facebook\",\"header.social.zhihu\":\"Zhihu\",\"header.social.yuque\":\"Yuque\",\"header.social.linkedin\":\"Linkedin\",\"previewer.actions.code.expand\":\"Show Code\",\"previewer.actions.code.shrink\":\"Hide Code\",\"previewer.actions.codesandbox\":\"Open in CodeSandbox\",\"previewer.actions.codepen\":\"Open in CodePen (Not implemented)\",\"previewer.actions.stackblitz\":\"Open in StackBlitz\",\"previewer.actions.separate\":\"Open in separate page\",\"404.title\":\"PAGE NOT FOUND\",\"404.back\":\"Back to homepage\",\"api.component.name\":\"Name\",\"api.component.description\":\"Description\",\"api.component.type\":\"Type\",\"api.component.default\":\"Default\",\"api.component.required\":\"(required)\",\"api.component.unavailable\":\"apiParser must be enabled to use auto-generated API\",\"api.component.loading\":\"Properties definition is resolving, wait a moment...\",\"api.component.not.found\":\"Properties definition not found for {id} component\",\"content.tabs.default\":\"Doc\",\"search.not.found\":\"No content was found\",\"layout.sidebar.btn\":\"Sidebar\"},\"zh-CN\":{\"header.search.placeholder\":\"\\u8F93\\u5165\\u5173\\u952E\\u5B57\\u641C\\u7D22...\",\"header.color.mode.light\":\"\\u4EAE\\u8272\\u6A21\\u5F0F\",\"header.color.mode.dark\":\"\\u6697\\u8272\\u6A21\\u5F0F\",\"header.color.mode.auto\":\"\\u8DDF\\u968F\\u7CFB\\u7EDF\",\"header.social.github\":\"GitHub\",\"header.social.weibo\":\"\\u5FAE\\u535A\",\"header.social.twitter\":\"Twitter\",\"header.social.gitlab\":\"GitLab\",\"header.social.facebook\":\"Facebook\",\"header.social.zhihu\":\"\\u77E5\\u4E4E\",\"header.social.yuque\":\"\\u8BED\\u96C0\",\"header.social.linkedin\":\"Linkedin\",\"previewer.actions.code.expand\":\"\\u5C55\\u5F00\\u4EE3\\u7801\",\"previewer.actions.code.shrink\":\"\\u6536\\u8D77\\u4EE3\\u7801\",\"previewer.actions.codesandbox\":\"\\u5728 CodeSandbox \\u4E2D\\u6253\\u5F00\",\"previewer.actions.codepen\":\"\\u5728 CodePen \\u4E2D\\u6253\\u5F00\\uFF08\\u672A\\u5B9E\\u73B0\\uFF09\",\"previewer.actions.stackblitz\":\"\\u5728 StackBlitz \\u4E2D\\u6253\\u5F00\",\"previewer.actions.separate\":\"\\u5728\\u72EC\\u7ACB\\u9875\\u9762\\u4E2D\\u6253\\u5F00\",\"404.title\":\"\\u9875\\u9762\\u672A\\u627E\\u5230\",\"404.back\":\"\\u8FD4\\u56DE\\u9996\\u9875\",\"api.component.name\":\"\\u5C5E\\u6027\\u540D\",\"api.component.description\":\"\\u63CF\\u8FF0\",\"api.component.type\":\"\\u7C7B\\u578B\",\"api.component.default\":\"\\u9ED8\\u8BA4\\u503C\",\"api.component.required\":\"(\\u5FC5\\u9009)\",\"api.component.unavailable\":\"\\u5FC5\\u987B\\u542F\\u7528 apiParser \\u624D\\u80FD\\u4F7F\\u7528\\u81EA\\u52A8 API \\u7279\\u6027\",\"api.component.loading\":\"\\u5C5E\\u6027\\u5B9A\\u4E49\\u6B63\\u5728\\u89E3\\u6790\\u4E2D\\uFF0C\\u7A0D\\u7B49\\u7247\\u523B...\",\"api.component.not.found\":\"\\u672A\\u627E\\u5230 {id} \\u7EC4\\u4EF6\\u7684\\u5C5E\\u6027\\u5B9A\\u4E49\",\"content.tabs.default\":\"\\u6587\\u6863\",\"search.not.found\":\"\\u672A\\u627E\\u5230\\u76F8\\u5173\\u5185\\u5BB9\",\"layout.sidebar.btn\":\"\\u4FA7\\u8FB9\\u83DC\\u5355\"}}},80134:function(c,m,e){\"use strict\";e.d(m,{wx:function(){return ye},DE:function(){return $e},C3:function(){return rt},eA:function(){return He}});var a=e(54306),o=e.n(a),r=e(50959),u={},l={title:\"\\u5FEB\\u901F\\u4E0A\\u624B\",toc:\"menu\",filename:\"docs/guide/getting-started.md\",legacy:\"/getting\"},d=[],f=[{value:`\n$ npm i web-pdm\n\n`,paraId:0}],v={\"docs-config-demo-type-erd\":{component:r.lazy(function(){return Promise.all([e.e(448),e.e(433)]).then(e.bind(e,53926))}),asset:null}},p={title:\"props\",toc:\"menu\",filename:\"docs/config/index.zh-CN.md\",order:1,nav:{order:2,title:\"\\u914D\\u7F6E\\u9879\"}},h=[{id:\"props\",depth:1,title:\"props\"},{id:\"models\",depth:2,title:\"models\"},{id:\"modules\",depth:2,title:\"modules\"},{id:\"height\",depth:2,title:\"height\"},{id:\"style\",depth:2,title:\"style\"},{id:\"themecolor\",depth:2,title:\"themeColor\"},{id:\"darkness\",depth:2,title:\"darkness\"},{id:\"onignoreedge\",depth:2,title:\"onIgnoreEdge\"},{id:\"onmodeldetail\",depth:2,title:\"onModelDetail\"},{id:\"onreload\",depth:2,title:\"onReload\"},{id:\"intl\",depth:2,title:\"intl\"},{id:\"onintl\",depth:2,title:\"onIntl\"},{id:\"components\",depth:2,title:\"components\"},{id:\"iconrenders\",depth:2,title:\"IconRenders\"},{id:\"disableicons\",depth:2,title:\"disableIcons\"},{id:\"onlymode\",depth:2,title:\"onlyMode\"}],g=[{value:\"\\u8BF4\\u660E\\uFF1A \\u6A21\\u578B\\u548C\\u5B57\\u6BB5\\u7684\\u521D\\u59CB\\u5316\\u914D\\u7F6E\",paraId:0,tocIndex:1},{value:\"\\u7C7B\\u578B\\uFF1A ModelConfig[]\",paraId:0,tocIndex:1},{value:`\nexport type ModelConfig = {\n    name: string\n    label: string\n    fields: FieldConfig[]\n    module: string\n    type?: string\n\n    aggregateRoot?: boolean\n    aggregateModelKey: string\n    belongAggregate: string\n}\n\nexport type MetaTypeConfig = {\n    relationModel: string\n    type: 'Relation'\n}\n\nexport type FieldMetaTypeConfig = {\n    relationModel: string\n    type: 'Relation'\n    field: string\n}\n\nexport type FieldConfig = {\n    name: string\n    label: string\n    typeMeta?: MetaTypeConfig | FieldMetaTypeConfig[]\n    type: string\n}\n\n\n\n\n\n\n\n\n\n\n\n`,paraId:1,tocIndex:1},{value:\"\\u8BF4\\u660E\\uFF1A \\u6A21\\u5757\\u7684\\u521D\\u59CB\\u5316\\u914D\\u7F6E\",paraId:2,tocIndex:2},{value:\"\\u7C7B\\u578B\\uFF1A ModuleConfig[]\",paraId:2,tocIndex:2},{value:`export type ModuleConfig = {\n    name: string,\n    label: string,\n}\n\n`,paraId:3,tocIndex:2},{value:\"\\u8BF4\\u660E\\uFF1A \\u5BB9\\u5668\\u7684\\u9AD8\\u5EA6\",paraId:4,tocIndex:3},{value:\"\\u7C7B\\u578B\\uFF1A number | string \\uFF5C undefined\",paraId:4,tocIndex:3},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1A undefined\",paraId:4,tocIndex:3},{value:\"\\u8BF4\\u660E\\uFF1A \\u5BB9\\u5668\\u7684\\u6837\\u5F0F\\u8BBE\\u7F6E\",paraId:5,tocIndex:4},{value:\"\\u7C7B\\u578B\\uFF1A html style \\xA0 \\u5BF9\\u8C61\",paraId:5,tocIndex:4},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1A undefined\",paraId:5,tocIndex:4},{value:\"\\u8BF4\\u660E\\uFF1A \\u76AE\\u80A4\\u4E3B\\u989C\\u8272\",paraId:6,tocIndex:5},{value:\"\\u7C7B\\u578B\\uFF1A string\",paraId:6,tocIndex:5},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1A black\",paraId:6,tocIndex:5},{value:\"\\u8BF4\\u660E\\uFF1A \\u662F\\u5426\\u6697\\u8272\\u80CC\\u666F\",paraId:7,tocIndex:6},{value:\"\\u7C7B\\u578B\\uFF1A boolean\",paraId:7,tocIndex:6},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1Afalse\",paraId:7,tocIndex:6},{value:\"\\u8BF4\\u660E\\uFF1A \\u662F\\u5426\\u5FFD\\u7565\\u8FDE\\u63A5\\u7EBF\\u7684\\u521B\\u5EFA\",paraId:8,tocIndex:7},{value:\"\\u7C7B\\u578B\\uFF1A (field: FieldConfig) => boolean\",paraId:8,tocIndex:7},{value:\"\\u8BF4\\u660E\\uFF1A \\u70B9\\u51FB\\u6A21\\u578B\\u201C\\u67E5\\u770B\\u201D\\u6309\\u94AE\\u4E8B\\u4EF6\",paraId:9,tocIndex:8},{value:\"\\u7C7B\\u578B\\uFF1A (model: ModelConfig) => void\",paraId:9,tocIndex:8},{value:\"\\u8BF4\\u660E\\uFF1A \\u5237\\u65B0\\u6570\\u636E\\u6309\\u94AE\\u63A5\\u53E3\",paraId:10,tocIndex:9},{value:\"\\u7C7B\\u578B\\uFF1A () => TData\",paraId:10,tocIndex:9},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1A undefine\",paraId:10,tocIndex:9},{value:` export type TData = {\n    models : ModelConfig[],\n    modules :ModuleConfig[]\n}\n`,paraId:11,tocIndex:9},{value:\"\\u8BF4\\u660E\\uFF1A \\u5185\\u7F6E\\u56FD\\u9645\\u5316\\u914D\\u7F6E\",paraId:12,tocIndex:10},{value:\"\\u7C7B\\u578B\\uFF1A 'EN'|'CH'\",paraId:12,tocIndex:10},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1A'CH'\",paraId:12,tocIndex:10},{value:\"\\u8BF4\\u660E\\uFF1A \\u5916\\u7F6E\\u7684\\u56FD\\u9645\\u5316\\u4F20\\u5165\\u63A5\\u53E3\",paraId:13,tocIndex:11},{value:\"\\u7C7B\\u578B\\uFF1A (text: string) => string\",paraId:13,tocIndex:11},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1Aundefine\",paraId:13,tocIndex:11},{value:\"\\u8BF4\\u660E\\uFF1A \\u7528\\u4E8E\\u66FF\\u6362antd\\u7684\\u9ED8\\u8BA4\\u7EC4\\u4EF6\",paraId:14,tocIndex:12},{value:\"\\u7C7B\\u578B\\uFF1A IComponentConfig\",paraId:14,tocIndex:12},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1Aundefine\",paraId:14,tocIndex:12},{value:`export type IComponentConfig = {\n    Tree?: React.ComponentType\n    Input?: React.ComponentType\n    Button?: React.ComponentType\n    Dropdown?: React.ComponentType\n    Menu?: React.ComponentType\n    Select?: React.ComponentType\n    Tooltip?: React.ComponentType\n}\n\n`,paraId:15,tocIndex:12},{value:\"\\u8BF4\\u660E\\uFF1A \\u7528\\u4E8E\\u66FF\\u6362\\u5DE5\\u5177\\u680F\\u7684\\u56FE\\u6807\\u7EC4\\u4EF6\",paraId:16,tocIndex:13},{value:\"\\u7C7B\\u578B\\uFF1A Record<string, React.ReactNode>\",paraId:16,tocIndex:13},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1Aundefine\",paraId:16,tocIndex:13},{value:`    undo: <RollbackOutlined />,   \\u91CD\\u505A\n    redo: <RollbackOutlined style={{ transform: 'scaleX(-1)' }} />, \\u64A4\\u9500\n    min: <ZoomOutOutlined />, \\u7F29\\u5C0F\n    max: <ZoomInOutlined />,  \\u653E\\u5927\n    full: <BorderOutlined />, \\u5168\\u5C4F\n    miniMap: <PictureFilled />, \\u5C0F\\u5730\\u56FE\\u663E\\u793A\n    miniMapNo: <PictureOutlined />, \\u5C0F\\u5730\\u56FE\\u5173\\u95ED\n    dagreLayout: <PartitionOutlined />, \\u5C42\\u6B21\\u5E03\\u5C40\n    relationLayout: <UngroupOutlined />, \\u5173\\u8054\\u5E03\\u5C40\n    reload: <ReloadOutlined />, \\u5237\\u65B0\n    image: <DownloadOutlined />, \\u4E0B\\u8F7D\\u5730\\u56FE\n    darkness: <SnippetsFilled />, \\u6697\\u9ED1\\u6A21\\u578B\n    light: <SnippetsOutlined />,  \\u5149\\u660E\\u6A21\\u5F0F\n    colorClose: <BgColorsOutlined />, \\u5F69\\u8272\\u9762\\u677F\\u5173\\u95ED\n    colorOpen: <BgColorsOutlined />   \\u5F69\\u8272\\u9762\\u677F\\u6253\\u5F00\n\n`,paraId:17,tocIndex:13},{value:\"\\u8BF4\\u660E\\uFF1A \\u7528\\u4E8E\\u7981\\u7528\\u5DE5\\u5177\\u680F\\u7684\\u56FE\\u6807,\\u540D\\u79F0\\u540C\\u4E0A\",paraId:18,tocIndex:14},{value:\"\\u7C7B\\u578B\\uFF1A string[]\",paraId:18,tocIndex:14},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1A[]\",paraId:18,tocIndex:14},{value:\"\\u8BF4\\u660E\\uFF1A \\u662F\\u5426\\u53EA\\u6709\\u4E00\\u79CD\\u6A21\\u5F0F\\uFF0C\\u5F00\\u542F\\u540E\\u9ED8\\u8BA4\\u53EA\\u6709\\u6811\\u5F62\\u6A21\\u5F0F\",paraId:19,tocIndex:15},{value:\"\\u7C7B\\u578B\\uFF1A boolean\",paraId:19,tocIndex:15},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1Afalse\",paraId:19,tocIndex:15}],y={},S={title:\"\\u6307\\u5357\",toc:\"menu\",filename:\"docs/guide/index.zh-CN.md\",nav:{title:\"\\u6307\\u5357\",order:1},description:\"E-R \\u65B9\\u6CD5\\u662F\\u201C\\u5B9E\\u4F53-\\u8054\\u7CFB\\u65B9\\u6CD5\\u201D\\uFF08Entity-Relationship Approach\\uFF09\\u7684\\u7B80\\u79F0\\u3002\\u5B83\\u662F\\u63CF\\u8FF0\\u73B0\\u5B9E\\u4E16\\u754C\\u6982\\u5FF5\\u7ED3\\u6784\\u6A21\\u578B\\u7684\\u6709\\u6548\\u65B9\\u6CD5\\uFF0C\\u800C ER \\u56FE\\u5C31\\u662F\\u8FD9\\u4E2A\\u65B9\\u6CD5\\u5728\\u754C\\u9762\\u4E0A\\u7684\\u53EF\\u89C6\\u5316\\u5448\\u73B0\\u3002\\xA0 \\xA0 \\u65E0\\u8BBA\\u662F\\u666E\\u904D\\u7684\\u6570\\u636E\\u5E93\\u9A71\\u52A8\\u7684\\u5F00\\u53D1\\u65B9\\u5F0F\\uFF0C\\u8FD8\\u662F\\u9AD8\\u5927\\u4E0A\\u7684 DDD\\uFF0C\\u6216\\u8005\\u662F\\u6A21\\u578B\\u9A71\\u52A8\\u7684 Lowcode \\u5E73\\u53F0\\uFF0C \\u4EA6\\u6216\\u4E3B\\u6570\\u636E\\u9A71\\u52A8\\u7684 APaas \\u5E73\\u53F0\\uFF0CER \\u56FE\\u63D0\\u4F9B\\u4E86\\u4E00\\u79CD\\u53EF\\u89C6\\u5316\\u4E1A\\u52A1\\u7684\\u89C6\\u89D2\\u3002\"},I=[{id:\"what\",depth:1,title:\"What?\"},{id:\"why\",depth:1,title:\"Why?\"},{id:\"\\u4E1A\\u52A1\\u8BBE\\u8BA1--\\u6A21\\u578B\\u8BBE\\u8BA1--\\u6570\\u636E\\u5E93\\u8BBE\\u8BA1\",depth:2,title:\"\\u4E1A\\u52A1\\u8BBE\\u8BA1 \\u2248 \\u6A21\\u578B\\u8BBE\\u8BA1 \\xA0\\u2248 \\u6570\\u636E\\u5E93\\u8BBE\\u8BA1\"},{id:\"\\u5B9A\\u5236\\u5316\\u7684-er-\\u56FE\\u66F4\\u6709\\u4EF7\\u503C\",depth:2,title:\"\\u5B9A\\u5236\\u5316\\u7684 ER \\u56FE\\u66F4\\u6709\\u4EF7\\u503C\"},{id:\"\\u5728\\u7EBF\\u7248\\u672C\\u7684-powerdesigner\",depth:2,title:\"\\u5728\\u7EBF\\u7248\\u672C\\u7684 powerdesigner\"},{id:\"how\",depth:1,title:\"How?\"},{id:\"\\u6280\\u672F\\u9009\\u578B\",depth:2,title:\"\\u6280\\u672F\\u9009\\u578B\"},{id:\"svg-vs-canvas\",depth:3,title:\"SVG vs Canvas\"}],N=[{value:\"\\xA0 \\xA0E-R \\u65B9\\u6CD5\\u662F\\u201C\\u5B9E\\u4F53-\\u8054\\u7CFB\\u65B9\\u6CD5\\u201D\\uFF08Entity-Relationship Approach\\uFF09\\u7684\\u7B80\\u79F0\\u3002\\u5B83\\u662F\\u63CF\\u8FF0\\u73B0\\u5B9E\\u4E16\\u754C\\u6982\\u5FF5\\u7ED3\\u6784\\u6A21\\u578B\\u7684\\u6709\\u6548\\u65B9\\u6CD5\\uFF0C\\u800C ER \\u56FE\\u5C31\\u662F\\u8FD9\\u4E2A\\u65B9\\u6CD5\\u5728\\u754C\\u9762\\u4E0A\\u7684\\u53EF\\u89C6\\u5316\\u5448\\u73B0\\u3002\",paraId:0,tocIndex:0},{value:\"\\xA0 \\xA0 \\u65E0\\u8BBA\\u662F\\u666E\\u904D\\u7684\\u6570\\u636E\\u5E93\\u9A71\\u52A8\\u7684\\u5F00\\u53D1\\u65B9\\u5F0F\\uFF0C\\u8FD8\\u662F\\u9AD8\\u5927\\u4E0A\\u7684 DDD\\uFF0C\\u6216\\u8005\\u662F\\u6A21\\u578B\\u9A71\\u52A8\\u7684 Lowcode \\u5E73\\u53F0\\uFF0C \\u4EA6\\u6216\\u4E3B\\u6570\\u636E\\u9A71\\u52A8\\u7684 APaas \\u5E73\\u53F0\\uFF0CER \\u56FE\\u63D0\\u4F9B\\u4E86\\u4E00\\u79CD\\u53EF\\u89C6\\u5316\\u4E1A\\u52A1\\u7684\\u89C6\\u89D2\\u3002\",paraId:0,tocIndex:0},{value:\"\\u6211\\u4EEC\\u77E5\\u9053\\uFF0C\\u4E00\\u4E2A\\u597D\\u7684 APaas/Lowcode \\u5E73\\u53F0\\u80FD\\u5145\\u5206\\u9694\\u79BB\\u4E86\\u6280\\u672F\\u590D\\u6742\\u5EA6\\u548C\\u4E1A\\u52A1\\u590D\\u6742\\u5EA6\\uFF0C\\u800C\\u6A21\\u578B\\u5143\\u6570\\u636E\\u4F5C\\u4E3A\\u7CFB\\u7EDF\\u8F93\\u5165\\u53C2\\u6570\\uFF08\\u6BCF\\u4E2A\\u9879\\u76EE\\u7684\\u6A21\\u578B\\u5B57\\u6BB5\\u4E0D\\u76F8\\u540C\\uFF09\\uFF0CER \\u56FE\\u53EF\\u4EE5\\u4ECE\\u8FD9\\u4E2A\\u89D2\\u5EA6\\u4E0A\\u6765\\u5EA6\\u91CF\\u4E00\\u4E2A\\u7CFB\\u7EDF\\u7684\\u4E1A\\u52A1\\u590D\\u6742\\u5EA6\\u3002\",paraId:1,tocIndex:2},{value:\"\\xA0 \\xA0 \\u5728\\u4E1A\\u52A1\\u590D\\u6742\\u5927\\u578B\\u9879\\u76EE\\u91CC\\u9762\\uFF0C\\u4E00\\u822C\\u4F1A\\u91C7\\u7528 DDD \\u7684\\u65B9\\u6CD5\\u8BBA\\u6765\\u8FDB\\u884C\\u4E1A\\u52A1\\u8BBE\\u8BA1\\uFF0C\\u800C\\u9886\\u57DF\\u6A21\\u578B\\u7684\\u8BBE\\u8BA1\\u662F\\u5176\\u4E2D\\u5F88\\u91CD\\u8981\\u7684\\u4E00\\u90E8\\u5206\\uFF0C\\u4E00\\u822C\\u8BBE\\u8BA1\\u6A21\\u578B\\u7684\\u4EBA\\u662F\\u9886\\u57DF\\u4E13\\u5BB6\\u548C\\u5B9E\\u73B0\\u529F\\u80FD\\u7684\\u5F00\\u53D1\\u8005\\u5E76\\u4E0D\\u662F\\u4E00\\u6CE2\\u4EBA\\uFF0C\\u53EF\\u89C6\\u5316\\u7684 ER \\u56FE\\u53EF\\u80FD\\u4F5C\\u4E3A\\u4E2D\\u95F4\\u6001\\u4EA7\\u7269\\u6210\\u4E3A\\u4E86\\u91CD\\u8981\\u7684\\u4EA4\\u6D41\\u5DE5\\u5177\\u3002\",paraId:1,tocIndex:2},{value:\"\\xA0\\xA0\",paraId:1,tocIndex:2},{value:\"\\xA0\\xA0\",paraId:1,tocIndex:2},{value:\"\\xA0 \\xA0 \\xA0 \\u800C\\u5728\\u4E2D\\u5C0F\\u578B\\u9879\\u76EE\\u4E2D\\uFF0C\\u7531\\u4E8E\\u4E1A\\u52A1\\u548C\\u754C\\u9762\\u4EA4\\u4ED8\\u7B80\\u5355\\uFF0C\\u89C6\\u56FE\\u6A21\\u578B\\uFF08VO\\uFF09\\uFF0C\\u4E1A\\u52A1\\u6A21\\u578B\\uFF08BO\\uFF09\\uFF0C\\u6570\\u636E\\u6A21\\u578B\\uFF08DO\\uFF09 \\u503E\\u5411\\u4E8E\\u4E09\\u5143\\u5408\\u4E00\\uFF0CER \\u56FE\\u5219\\u5145\\u5F53\\u6570\\u636E\\u5E93\\u8BBE\\u8BA1\\u5DE5\\u5177\\u3002\",paraId:1,tocIndex:2},{value:\"\\xA0 \\xA0 \\xA0 \\u4E1A\\u52A1\\u5982\\u6B64\\u91CD\\u8981\\uFF0C\\u60F3\\u8C61\\u4E00\\u4E0B\\uFF0C\\u4E00\\u822C\\u5728\\u9879\\u76EE KO \\u6216\\u8005\\u8BC4\\u5BA1\\u671F\\u95F4\\uFF0C\\u6240\\u6709\\u4EBA\\u805A\\u5728\\u4E00\\u8D77\\uFF0C\\u57FA\\u672C\\u4E0A\\u90FD\\u4F1A\\u628A ER \\u56FE\\u5C55\\u5F00\\u6765\\u5171\\u540C\\u8BA8\\u8BBA\\u3002\\u5BF9\\u4E8E\\u4E00\\u4E9B\\u4E2D\\u5C0F\\u578B\\u9879\\u76EE\\uFF0CER \\u56FE\\u786E\\u5B9A\\u4E86\\uFF0C\\u57FA\\u672C\\u4E0A\\u4E1A\\u52A1\\u903B\\u8F91\\uFF0C\\u5DE5\\u4F5C\\u91CF\\u90FD\\u786E\\u5B9A\\u4E86\\uFF0C\\u901A\\u4FD7\\u7684\\u8BF4\\uFF0C\\u8001\\u7A0B\\u5E8F\\u5458\\u548C\\u67B6\\u6784\\u5E08\\u4F1A\\u628A\\u8FD9\\u4E2A\\u8FC7\\u7A0B\\u53EB\\u201C\\u9879\\u76EE\\u5F00\\u59CB\\u7F16\\u7801\\u4E4B\\u524D\\u4E25\\u683C\\u628A\\u63A7\\u6570\\u636E\\u5E93\\u8BBE\\u8BA1\\u201D\\u3002\",paraId:1,tocIndex:2},{value:\"\\xA0 \\xA0 \\u4EFB\\u4F55\\u53EF\\u843D\\u5730\\u7684 APaas/Lowcode \\u4E00\\u5B9A\\u4E0D\\u662F\\u901A\\u7528\\u5316\\u7684\\u3002\\u5E73\\u53F0\\u5EFA\\u8BBE\\uFF0C\\u5E76\\u975E\\u4ECE 0 \\u5F00\\u59CB\\u7684\\uFF0C\\u4ED6\\u662F\\u5BF9\\u672C\\u516C\\u53F8\\u5E73\\u53F0\\u5316\\u4E4B\\u524D\\u7684\\u6280\\u672F\\u6808\\uFF0C\\u9879\\u76EE\\u4EA4\\u4ED8\\u8FC7\\u7A0B\\u7684\\u62BD\\u8C61\\uFF0C\\u5FC5\\u7136\\u4F1A\\u660E\\u663E\\u504F\\u5411\\u67D0\\u4E9B\\u5B58\\u91CF\\u7684\\u4E1A\\u52A1\\u9886\\u57DF\\u3002\\u800C\\u6B63\\u662F\\u7531\\u4E8E\\u7ED3\\u5408\\u4E86\\u6280\\u672F\\u6808\\u7ED1\\u5B9A\\u548C\\u4E1A\\u52A1\\u5C5E\\u6027\\uFF0C\\u5E73\\u53F0\\u624D\\u6781\\u5177\\u4EF7\\u503C\\u548C\\u7ADE\\u4E89\\u529B\\uFF08\\u65E0\\u53EF\\u66FF\\u4EE3\\uFF09\\u3002\",paraId:2,tocIndex:3},{value:\"\\xA0 \\xA0 \\u56E0\\u6B64\\u4F1A\\u4EA7\\u751F\\u5F88\\u591A\\u5728\\u672C\\u516C\\u53F8\\u6280\\u672F\\u548C\\u4E1A\\u52A1\\u751F\\u6001\\u91CC\\u9762\\u7EA6\\u5B9A\\u6210\\u4FD7\\u7684\\u6982\\u5FF5\\u5143\\u7D20\\uFF08\\u8D44\\u6E90\\uFF09\\uFF0C\\u4EE5\\u51CF\\u5C11\\u6C9F\\u901A\\u6210\\u672C\\u3002\",paraId:2,tocIndex:3},{value:\"\\xA0 \\xA0 \\u7531\\u4E8E\\u5E73\\u53F0\\u662F\\u4EE5\\u6A21\\u578B\\u4E3A\\u4E2D\\u5FC3\\u7684\\uFF0C\\u56E0\\u6B64 ER \\u56FE\\u662F\\u8FD9\\u4E9B\\u6982\\u5FF5\\u5143\\u7D20\\uFF08\\u8D44\\u6E90\\uFF09\\u53EF\\u89C6\\u5316\\u8868\\u73B0\\u7684\\u6700\\u4F73\\u821E\\u53F0\\uFF0C\\u9700\\u8981\\u5BF9\\u901A\\u7528\\u7684 ERD \\u8FDB\\u884C\\u5B9A\\u5236\\u5316\\u6269\\u5C55\\u4E1A\\u52A1\\u542B\\u4E49\\u7684\\u5143\\u7D20\\uFF0C\\u9886\\u57DF\\u4E13\\u5BB6\\u53EF\\u4EE5\\u5728\\u4E0A\\u9762\\u8FDB\\u884C\\u4E1A\\u52A1\\u521B\\u9020\\u3002\",paraId:2,tocIndex:3},{value:\"\\xA0 \\xA0\",paraId:2,tocIndex:3},{value:\"\\xA0 \\xA0ER \\u56FE\\u8BBE\\u8BA1\\u5DE5\\u5177\\u6709\\u4E00\\u4E2A\\u795E\\u5668\\uFF0C\\u5C31\\u662F sysbase \\u7684 powerdesigner, \\u7531\\u4E8E\\u662F\\u5982\\u6B64\\u666E\\u904D\\uFF0C\\u6709\\u4E0D\\u5C11\\u516C\\u53F8\\u56E0\\u4E3A\\u7528\\u4E86\\u7834\\u89E3\\u7248\\u88AB\\u76EF\\u4E0A\\u8981\\u6C42\\u8D2D\\u4E70 license\\u3002\",paraId:3,tocIndex:4},{value:\"\\xA0 \\xA0powerdesigner \\u53EA\\u6240\\u4EE5\\u6D41\\u884C\\uFF0C\\u9664\\u4E86\\u57FA\\u672C\\u529F\\u80FD\\u8FC7\\u786C\\u5916\\uFF0C\\u6700\\u5927\\u7684\\u4F18\\u70B9\\u5728\\u4E8E\\u80FD\\u591F\\u5F88\\u597D\\u7684\\u652F\\u6301\\u5143\\u4FE1\\u606F\\u4E2D\\u6587\\uFF0C\\u8FD9\\u4E2A\\u662F\\u540C\\u7C7B\\u7684 ER \\u56FE\\u8F6F\\u4EF6\\u7F3A\\u5C11\\u7684\\uFF08\\u539F\\u56E0\\u662F ER \\u56FE\\u8F6F\\u4EF6\\u90FD\\u662F\\u6D77\\u5916\\u516C\\u53F8\\u5F00\\u53D1\\u7684\\uFF09\\u3002\",paraId:3,tocIndex:4},{value:\"powerdesigner \\u7684\\u4E00\\u4E2A\\u7F3A\\u70B9\\u662F\\uFF0C\\u53EA\\u652F\\u6301 windows\",paraId:4,tocIndex:4},{value:\"\\xA0 \\xA0 \\u53EF\\u80FD\\u662F\\u6211\\u5B64\\u964B\\u5BE1\\u95FB\\uFF0C\\u5728 mac \\u4E0A\\u9762\\u6CA1\\u6709\\u627E\\u5230\\u5F88\\u597D\\u7684\\u66FF\\u4EE3\\u54C1....\",paraId:4,tocIndex:4},{value:\"\\xA0 \\u6240\\u4EE5\\uFF0C \\u505A\\u5728\\u7EBF ER \\u56FE\\uFF0C\\u9664\\u4E86\\u4EA7\\u54C1\\u672C\\u8EAB\\u7684\\u9700\\u8981\\u5916\\uFF0C\\u6050\\u6015\\u8FD9\\u4E5F\\u662F\\u4E00\\u4E2A\\u91CD\\u8981\\u7684\\u539F\\u56E0\\u3002\",paraId:4,tocIndex:4},{value:\"\\u4EE5\\u4E0B\\u6458\\u5F55 w3cschool \\u7684\\u539F\\u6587\\uFF1A\",paraId:5,tocIndex:7},{value:\"Canvas\",paraId:6,tocIndex:7},{value:\"SVG\",paraId:6,tocIndex:7},{value:\"\\u4F9D\\u8D56\\u5206\\u8FA8\\u7387\",paraId:6,tocIndex:7},{value:\"\\u4E0D\\u4F9D\\u8D56\\u5206\\u8FA8\\u7387\",paraId:6,tocIndex:7},{value:\"\\u4E0D\\u652F\\u6301\\u4E8B\\u4EF6\\u5904\\u7406\\u5668\",paraId:6,tocIndex:7},{value:\"\\u652F\\u6301\\u4E8B\\u4EF6\\u5904\\u7406\\u5668\",paraId:6,tocIndex:7},{value:\"\\u5F31\\u7684\\u6587\\u672C\\u6E32\\u67D3\\u80FD\\u529B\",paraId:6,tocIndex:7},{value:\"\\u6700\\u9002\\u5408\\u5E26\\u6709\\u5927\\u578B\\u6E32\\u67D3\\u533A\\u57DF\\u7684\\u5E94\\u7528\\u7A0B\\u5E8F\\uFF08\\u6BD4\\u5982\\u8C37\\u6B4C\\u5730\\u56FE\\uFF09\",paraId:6,tocIndex:7},{value:\"\\u80FD\\u591F\\u4EE5 .png \\u6216 .jpg \\u683C\\u5F0F\\u4FDD\\u5B58\\u7ED3\\u679C\\u56FE\\u50CF\",paraId:6,tocIndex:7},{value:\"\\u590D\\u6742\\u5EA6\\u9AD8\\u4F1A\\u51CF\\u6162\\u6E32\\u67D3\\u901F\\u5EA6\\uFF08\\u4EFB\\u4F55\\u8FC7\\u5EA6\\u4F7F\\u7528 DOM \\u7684\\u5E94\\u7528\\u90FD\\u4E0D\\u5FEB\\uFF09\",paraId:6,tocIndex:7},{value:\"\\u6700\\u9002\\u5408\\u56FE\\u50CF\\u5BC6\\u96C6\\u578B\\u7684\\u6E38\\u620F\\uFF0C\\u5176\\u4E2D\\u7684\\u8BB8\\u591A\\u5BF9\\u8C61\\u4F1A\\u88AB\\u9891\\u7E41\\u91CD\\u7ED8\",paraId:6,tocIndex:7},{value:\"\\u4E0D\\u9002\\u5408\\u6E38\\u620F\\u5E94\\u7528\",paraId:6,tocIndex:7},{value:\"\\xA0 \\xA0 \\xA0 \\u76F8\\u6BD4 SVG\\uFF0CCanvas \\u66F4\\u50CF\\u662F\\u66F4\\u5E95\\u5C42\\u7684\\u5B9E\\u73B0\\uFF0C\\u540C\\u65F6 Canvas \\u662F WebGL \\u7684\\u5165\\u53E3\\uFF0C \\u6027\\u80FD\\u4F18\\u5316\\u7684\\u7A7A\\u95F4\\u66F4\\u5927\\u3002\",paraId:7,tocIndex:7},{value:\"\\xA0 \\xA0 \\xA0 \\u5BF9\\u4E8E\\u5BF9\\u6807 powerdesigner \\u7684 web \\u7248\\u7684 ER \\u56FE\\u6765\\u8BF4\\uFF0C\\xA0\\u201C\\u9700\\u8981\\u5C55\\u793A\\u6210\\u767E\\u4E0A\\u5343\\u4E2A\\u6A21\\u578B\\u201D\\u8FD9\\u4E2A\\u662F\\u6700\\u6838\\u5FC3\\u7684\\u529F\\u80FD \\xA0\\uFF0C Canvas \\u6210\\u4E86\\u5FC5\\u7136\\u7684\\u9009\\u62E9\\u3002\\u4F46\\u662F\\uFF0C\\u7531\\u4E8E Canvas \\u63D0\\u4F9B\\u7684\\u662F\\u66F4\\u5E95\\u5C42\\u7ED8\\u56FE api, \\u7F3A\\u4E4F\\u4E0A\\u5C42\\u5C01\\u88C5 \\uFF0C\\u4F1A\\u5BFC\\u81F4\\u5F00\\u53D1\\u4F53\\u9A8C\\u548C\\u901F\\u5EA6\\u4E0A\\u8FC7\\u4E8E\\u539F\\u59CB \\uFF0C\\u800C G6 \\u4F5C\\u4E3A\\u4E00\\u6B3E\\u56FE\\u53EF\\u89C6\\u5316\\u5F15\\u64CE\\uFF0C\\u53EF\\u4EE5\\u5F25\\u8865\\u8FD9\\u91CC\\u9762\\u7684\\u5DEE\\u8DDD \\u3002\",paraId:7,tocIndex:7},{value:\"\\xA0 \\xA0 \\xA0\\xA0\",paraId:7,tocIndex:7}],_={\"docs-demo-demo-erd\":{component:r.lazy(function(){return Promise.all([e.e(448),e.e(433)]).then(e.bind(e,30408))}),asset:{type:\"BLOCK\",id:\"docs-demo-demo-erd\",refAtomIds:[],dependencies:{\"index.tsx\":{type:\"FILE\",value:e(48109).Z},react:{type:\"NPM\",value:\"18.2.0\"},\"web-pdm\":{type:\"NPM\",value:\"1.0.0\"},\"style.less\":{type:\"FILE\",value:e(71539).Z},\"test/g6-test/mock/module-test.ts\":{type:\"FILE\",value:e(18043).Z},\"test/g6-test/mock/model-test.ts\":{type:\"FILE\",value:e(84912).Z}}}}},M={title:\"\\u4F8B\\u5B50\",toc:\"menu\",filename:\"docs/demo/index.zh-CN.md\",order:1,nav:{order:3,title:\"\\u4F8B\\u5B50\"}},L=[],k=[],U={},x={title:\"\\u4ECE 0.0.X \\u8FC1\\u79FB\",toc:\"menu\",filename:\"docs/guide/migration.md\",legacy:\"/migration\"},F=[{id:\"\\u4ECE-00x-\\u8FC1\\u79FB\",depth:1,title:\"\\u4ECE 0.0.X \\u8FC1\\u79FB\"}],K=[],G={},q={title:\"Relation\",toc:\"menu\",filename:\"docs/guide/relation.md\",description:\"(\\u5EFA\\u8BBE\\u4E2D)\"},X=[],oe=[{value:\"(\\u5EFA\\u8BBE\\u4E2D)\",paraId:0}],Ee={},Te={title:\"\\u57FA\\u672C\\u64CD\\u4F5C\",toc:\"menu\",filename:\"docs/guide/toolbar.md\"},ae=[],z=[],A={\"docs-config-demo-type-erd\":{component:r.lazy(function(){return Promise.all([e.e(448),e.e(433)]).then(e.bind(e,53926))}),asset:null}},T={title:\"props\",toc:\"menu\",filename:\"docs/config/index.md\",order:1,nav:{order:2,title:\"Config\"}},R=[{id:\"props\",depth:1,title:\"props\"},{id:\"models\",depth:2,title:\"models\"},{id:\"modules\",depth:2,title:\"modules\"},{id:\"height\",depth:2,title:\"height\"},{id:\"style\",depth:2,title:\"style\"},{id:\"themecolor\",depth:2,title:\"themeColor\"},{id:\"darkness\",depth:2,title:\"darkness\"},{id:\"onignoreedge\",depth:2,title:\"onIgnoreEdge\"},{id:\"onmodeldetail\",depth:2,title:\"onModelDetail\"},{id:\"onreload\",depth:2,title:\"onReload\"},{id:\"intl\",depth:2,title:\"intl\"},{id:\"onintl\",depth:2,title:\"onIntl\"},{id:\"components\",depth:2,title:\"components\"},{id:\"iconrenders\",depth:2,title:\"IconRenders\"},{id:\"disableicons\",depth:2,title:\"disableIcons\"},{id:\"onlymode\",depth:2,title:\"onlyMode\"}],j=[{value:\"Description\\uFF1A Model and Filed init config\",paraId:0,tocIndex:1},{value:\"Type\\uFF1A ModelConfig[]\",paraId:0,tocIndex:1},{value:`\nexport type ModelConfig = {\n    name: string\n    label: string\n    fields: FieldConfig[]\n    module: string\n    type?: string\n\n    aggregateRoot?: boolean\n    aggregateModelKey: string\n    belongAggregate: string\n}\n\nexport type MetaTypeConfig = {\n    relationModel: string\n    type: 'Relation'\n}\n\nexport type FieldMetaTypeConfig = {\n    relationModel: string\n    type: 'Relation'\n    field: string\n}\n\nexport type FieldConfig = {\n    name: string\n    label: string\n    typeMeta?: MetaTypeConfig | FieldMetaTypeConfig[]\n    type: string\n}\n\n\n\n\n\n\n\n\n\n\n\n`,paraId:1,tocIndex:1},{value:\"\\u8BF4\\u660E\\uFF1A \\u6A21\\u5757\\u7684\\u521D\\u59CB\\u5316\\u914D\\u7F6E\",paraId:2,tocIndex:2},{value:\"\\u7C7B\\u578B\\uFF1A ModuleConfig[]\",paraId:2,tocIndex:2},{value:`export type ModuleConfig = {\n    name: string,\n    label: string,\n}\n\n`,paraId:3,tocIndex:2},{value:\"\\u8BF4\\u660E\\uFF1A \\u5BB9\\u5668\\u7684\\u9AD8\\u5EA6\",paraId:4,tocIndex:3},{value:\"\\u7C7B\\u578B\\uFF1A number | string \\uFF5C undefined\",paraId:4,tocIndex:3},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1A undefined\",paraId:4,tocIndex:3},{value:\"\\u8BF4\\u660E\\uFF1A \\u5BB9\\u5668\\u7684\\u6837\\u5F0F\\u8BBE\\u7F6E\",paraId:5,tocIndex:4},{value:\"\\u7C7B\\u578B\\uFF1A html style \\xA0 \\u5BF9\\u8C61\",paraId:5,tocIndex:4},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1A undefined\",paraId:5,tocIndex:4},{value:\"\\u8BF4\\u660E\\uFF1A \\u76AE\\u80A4\\u4E3B\\u989C\\u8272\",paraId:6,tocIndex:5},{value:\"\\u7C7B\\u578B\\uFF1A string\",paraId:6,tocIndex:5},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1A black\",paraId:6,tocIndex:5},{value:\"\\u8BF4\\u660E\\uFF1A \\u662F\\u5426\\u6697\\u8272\\u80CC\\u666F\",paraId:7,tocIndex:6},{value:\"\\u7C7B\\u578B\\uFF1A boolean\",paraId:7,tocIndex:6},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1Afalse\",paraId:7,tocIndex:6},{value:\"\\u8BF4\\u660E\\uFF1A \\u662F\\u5426\\u5FFD\\u7565\\u8FDE\\u63A5\\u7EBF\\u7684\\u521B\\u5EFA\",paraId:8,tocIndex:7},{value:\"\\u7C7B\\u578B\\uFF1A (field: FieldConfig) => boolean\",paraId:8,tocIndex:7},{value:\"\\u8BF4\\u660E\\uFF1A \\u70B9\\u51FB\\u6A21\\u578B\\u201C\\u67E5\\u770B\\u201D\\u6309\\u94AE\\u4E8B\\u4EF6\",paraId:9,tocIndex:8},{value:\"\\u7C7B\\u578B\\uFF1A (model: ModelConfig) => void\",paraId:9,tocIndex:8},{value:\"\\u8BF4\\u660E\\uFF1A \\u5237\\u65B0\\u6570\\u636E\\u6309\\u94AE\\u63A5\\u53E3\",paraId:10,tocIndex:9},{value:\"\\u7C7B\\u578B\\uFF1A () => TData\",paraId:10,tocIndex:9},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1A undefine\",paraId:10,tocIndex:9},{value:` export type TData = {\n    models : ModelConfig[],\n    modules :ModuleConfig[]\n}\n`,paraId:11,tocIndex:9},{value:\"\\u8BF4\\u660E\\uFF1A \\u5185\\u7F6E\\u56FD\\u9645\\u5316\\u914D\\u7F6E\",paraId:12,tocIndex:10},{value:\"\\u7C7B\\u578B\\uFF1A 'EN'|'CH'\",paraId:12,tocIndex:10},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1A'CH'\",paraId:12,tocIndex:10},{value:\"\\u8BF4\\u660E\\uFF1A \\u5916\\u7F6E\\u7684\\u56FD\\u9645\\u5316\\u4F20\\u5165\\u63A5\\u53E3\",paraId:13,tocIndex:11},{value:\"\\u7C7B\\u578B\\uFF1A (text: string) => string\",paraId:13,tocIndex:11},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1Aundefine\",paraId:13,tocIndex:11},{value:\"\\u8BF4\\u660E\\uFF1A \\u7528\\u4E8E\\u66FF\\u6362antd\\u7684\\u9ED8\\u8BA4\\u7EC4\\u4EF6\",paraId:14,tocIndex:12},{value:\"\\u7C7B\\u578B\\uFF1A IComponentConfig\",paraId:14,tocIndex:12},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1Aundefine\",paraId:14,tocIndex:12},{value:`export type IComponentConfig = {\n    Tree?: React.ComponentType\n    Input?: React.ComponentType\n    Button?: React.ComponentType\n    Dropdown?: React.ComponentType\n    Menu?: React.ComponentType\n    Select?: React.ComponentType\n    Tooltip?: React.ComponentType\n}\n\n`,paraId:15,tocIndex:12},{value:\"\\u8BF4\\u660E\\uFF1A \\u7528\\u4E8E\\u66FF\\u6362\\u5DE5\\u5177\\u680F\\u7684\\u56FE\\u6807\\u7EC4\\u4EF6\",paraId:16,tocIndex:13},{value:\"\\u7C7B\\u578B\\uFF1A Record<string, React.ReactNode>\",paraId:16,tocIndex:13},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1Aundefine\",paraId:16,tocIndex:13},{value:`    undo: <RollbackOutlined />,   \\u91CD\\u505A\n    redo: <RollbackOutlined style={{ transform: 'scaleX(-1)' }} />, \\u64A4\\u9500\n    min: <ZoomOutOutlined />, \\u7F29\\u5C0F\n    max: <ZoomInOutlined />,  \\u653E\\u5927\n    full: <BorderOutlined />, \\u5168\\u5C4F\n    miniMap: <PictureFilled />, \\u5C0F\\u5730\\u56FE\\u663E\\u793A\n    miniMapNo: <PictureOutlined />, \\u5C0F\\u5730\\u56FE\\u5173\\u95ED\n    dagreLayout: <PartitionOutlined />, \\u5C42\\u6B21\\u5E03\\u5C40\n    relationLayout: <UngroupOutlined />, \\u5173\\u8054\\u5E03\\u5C40\n    reload: <ReloadOutlined />, \\u5237\\u65B0\n    image: <DownloadOutlined />, \\u4E0B\\u8F7D\\u5730\\u56FE\n    darkness: <SnippetsFilled />, \\u6697\\u9ED1\\u6A21\\u578B\n    light: <SnippetsOutlined />,  \\u5149\\u660E\\u6A21\\u5F0F\n    colorClose: <BgColorsOutlined />, \\u5F69\\u8272\\u9762\\u677F\\u5173\\u95ED\n    colorOpen: <BgColorsOutlined />   \\u5F69\\u8272\\u9762\\u677F\\u6253\\u5F00\n\n`,paraId:17,tocIndex:13},{value:\"\\u8BF4\\u660E\\uFF1A \\u7528\\u4E8E\\u7981\\u7528\\u5DE5\\u5177\\u680F\\u7684\\u56FE\\u6807,\\u540D\\u79F0\\u540C\\u4E0A\",paraId:18,tocIndex:14},{value:\"\\u7C7B\\u578B\\uFF1A string[]\",paraId:18,tocIndex:14},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1A[]\",paraId:18,tocIndex:14},{value:\"\\u8BF4\\u660E\\uFF1A \\u662F\\u5426\\u53EA\\u6709\\u4E00\\u79CD\\u6A21\\u5F0F\\uFF0C\\u5F00\\u542F\\u540E\\u9ED8\\u8BA4\\u53EA\\u6709\\u6811\\u5F62\\u6A21\\u5F0F\",paraId:19,tocIndex:15},{value:\"\\u7C7B\\u578B\\uFF1A boolean\",paraId:19,tocIndex:15},{value:\"\\u9ED8\\u8BA4\\u503C\\uFF1Afalse\",paraId:19,tocIndex:15}],C={},B={title:\"Guide\",toc:\"menu\",filename:\"docs/guide/index.md\",nav:{title:\"Guide\",order:1},description:\"E-R \\u65B9\\u6CD5\\u662F\\u201C\\u5B9E\\u4F53-\\u8054\\u7CFB\\u65B9\\u6CD5\\u201D\\uFF08Entity-Relationship Approach\\uFF09\\u7684\\u7B80\\u79F0\\u3002\\u5B83\\u662F\\u63CF\\u8FF0\\u73B0\\u5B9E\\u4E16\\u754C\\u6982\\u5FF5\\u7ED3\\u6784\\u6A21\\u578B\\u7684\\u6709\\u6548\\u65B9\\u6CD5\\uFF0C\\u800C ER \\u56FE\\u5C31\\u662F\\u8FD9\\u4E2A\\u65B9\\u6CD5\\u5728\\u754C\\u9762\\u4E0A\\u7684\\u53EF\\u89C6\\u5316\\u5448\\u73B0\\u3002\\xA0 \\xA0 \\u65E0\\u8BBA\\u662F\\u666E\\u904D\\u7684\\u6570\\u636E\\u5E93\\u9A71\\u52A8\\u7684\\u5F00\\u53D1\\u65B9\\u5F0F\\uFF0C\\u8FD8\\u662F\\u9AD8\\u5927\\u4E0A\\u7684 DDD\\uFF0C\\u6216\\u8005\\u662F\\u6A21\\u578B\\u9A71\\u52A8\\u7684 Lowcode \\u5E73\\u53F0\\uFF0C \\u4EA6\\u6216\\u4E3B\\u6570\\u636E\\u9A71\\u52A8\\u7684 APaas \\u5E73\\u53F0\\uFF0CER \\u56FE\\u63D0\\u4F9B\\u4E86\\u4E00\\u79CD\\u53EF\\u89C6\\u5316\\u4E1A\\u52A1\\u7684\\u89C6\\u89D2\\u3002\"},fe=[{id:\"what\",depth:1,title:\"What?\"},{id:\"why\",depth:1,title:\"Why?\"},{id:\"\\u4E1A\\u52A1\\u8BBE\\u8BA1--\\u6A21\\u578B\\u8BBE\\u8BA1--\\u6570\\u636E\\u5E93\\u8BBE\\u8BA1\",depth:2,title:\"\\u4E1A\\u52A1\\u8BBE\\u8BA1 \\u2248 \\u6A21\\u578B\\u8BBE\\u8BA1 \\xA0\\u2248 \\u6570\\u636E\\u5E93\\u8BBE\\u8BA1\"},{id:\"\\u5B9A\\u5236\\u5316\\u7684-er-\\u56FE\\u66F4\\u6709\\u4EF7\\u503C\",depth:2,title:\"\\u5B9A\\u5236\\u5316\\u7684 ER \\u56FE\\u66F4\\u6709\\u4EF7\\u503C\"},{id:\"\\u5728\\u7EBF\\u7248\\u672C\\u7684-powerdesigner\",depth:2,title:\"\\u5728\\u7EBF\\u7248\\u672C\\u7684 powerdesigner\"},{id:\"how\",depth:1,title:\"How?\"},{id:\"\\u6280\\u672F\\u9009\\u578B\",depth:2,title:\"\\u6280\\u672F\\u9009\\u578B\"},{id:\"svg-vs-canvas\",depth:3,title:\"SVG vs Canvas\"}],Ae=[{value:\"\\xA0 \\xA0E-R \\u65B9\\u6CD5\\u662F\\u201C\\u5B9E\\u4F53-\\u8054\\u7CFB\\u65B9\\u6CD5\\u201D\\uFF08Entity-Relationship Approach\\uFF09\\u7684\\u7B80\\u79F0\\u3002\\u5B83\\u662F\\u63CF\\u8FF0\\u73B0\\u5B9E\\u4E16\\u754C\\u6982\\u5FF5\\u7ED3\\u6784\\u6A21\\u578B\\u7684\\u6709\\u6548\\u65B9\\u6CD5\\uFF0C\\u800C ER \\u56FE\\u5C31\\u662F\\u8FD9\\u4E2A\\u65B9\\u6CD5\\u5728\\u754C\\u9762\\u4E0A\\u7684\\u53EF\\u89C6\\u5316\\u5448\\u73B0\\u3002\",paraId:0,tocIndex:0},{value:\"\\xA0 \\xA0 \\u65E0\\u8BBA\\u662F\\u666E\\u904D\\u7684\\u6570\\u636E\\u5E93\\u9A71\\u52A8\\u7684\\u5F00\\u53D1\\u65B9\\u5F0F\\uFF0C\\u8FD8\\u662F\\u9AD8\\u5927\\u4E0A\\u7684 DDD\\uFF0C\\u6216\\u8005\\u662F\\u6A21\\u578B\\u9A71\\u52A8\\u7684 Lowcode \\u5E73\\u53F0\\uFF0C \\u4EA6\\u6216\\u4E3B\\u6570\\u636E\\u9A71\\u52A8\\u7684 APaas \\u5E73\\u53F0\\uFF0CER \\u56FE\\u63D0\\u4F9B\\u4E86\\u4E00\\u79CD\\u53EF\\u89C6\\u5316\\u4E1A\\u52A1\\u7684\\u89C6\\u89D2\\u3002\",paraId:0,tocIndex:0},{value:\"\\u6211\\u4EEC\\u77E5\\u9053\\uFF0C\\u4E00\\u4E2A\\u597D\\u7684 APaas/Lowcode \\u5E73\\u53F0\\u80FD\\u5145\\u5206\\u9694\\u79BB\\u4E86\\u6280\\u672F\\u590D\\u6742\\u5EA6\\u548C\\u4E1A\\u52A1\\u590D\\u6742\\u5EA6\\uFF0C\\u800C\\u6A21\\u578B\\u5143\\u6570\\u636E\\u4F5C\\u4E3A\\u7CFB\\u7EDF\\u8F93\\u5165\\u53C2\\u6570\\uFF08\\u6BCF\\u4E2A\\u9879\\u76EE\\u7684\\u6A21\\u578B\\u5B57\\u6BB5\\u4E0D\\u76F8\\u540C\\uFF09\\uFF0CER \\u56FE\\u53EF\\u4EE5\\u4ECE\\u8FD9\\u4E2A\\u89D2\\u5EA6\\u4E0A\\u6765\\u5EA6\\u91CF\\u4E00\\u4E2A\\u7CFB\\u7EDF\\u7684\\u4E1A\\u52A1\\u590D\\u6742\\u5EA6\\u3002\",paraId:1,tocIndex:2},{value:\"\\xA0 \\xA0 \\u5728\\u4E1A\\u52A1\\u590D\\u6742\\u5927\\u578B\\u9879\\u76EE\\u91CC\\u9762\\uFF0C\\u4E00\\u822C\\u4F1A\\u91C7\\u7528 DDD \\u7684\\u65B9\\u6CD5\\u8BBA\\u6765\\u8FDB\\u884C\\u4E1A\\u52A1\\u8BBE\\u8BA1\\uFF0C\\u800C\\u9886\\u57DF\\u6A21\\u578B\\u7684\\u8BBE\\u8BA1\\u662F\\u5176\\u4E2D\\u5F88\\u91CD\\u8981\\u7684\\u4E00\\u90E8\\u5206\\uFF0C\\u4E00\\u822C\\u8BBE\\u8BA1\\u6A21\\u578B\\u7684\\u4EBA\\u662F\\u9886\\u57DF\\u4E13\\u5BB6\\u548C\\u5B9E\\u73B0\\u529F\\u80FD\\u7684\\u5F00\\u53D1\\u8005\\u5E76\\u4E0D\\u662F\\u4E00\\u6CE2\\u4EBA\\uFF0C\\u53EF\\u89C6\\u5316\\u7684 ER \\u56FE\\u53EF\\u80FD\\u4F5C\\u4E3A\\u4E2D\\u95F4\\u6001\\u4EA7\\u7269\\u6210\\u4E3A\\u4E86\\u91CD\\u8981\\u7684\\u4EA4\\u6D41\\u5DE5\\u5177\\u3002\",paraId:1,tocIndex:2},{value:\"\\xA0\\xA0\",paraId:1,tocIndex:2},{value:\"\\xA0\\xA0\",paraId:1,tocIndex:2},{value:\"\\xA0 \\xA0 \\xA0 \\u800C\\u5728\\u4E2D\\u5C0F\\u578B\\u9879\\u76EE\\u4E2D\\uFF0C\\u7531\\u4E8E\\u4E1A\\u52A1\\u548C\\u754C\\u9762\\u4EA4\\u4ED8\\u7B80\\u5355\\uFF0C\\u89C6\\u56FE\\u6A21\\u578B\\uFF08VO\\uFF09\\uFF0C\\u4E1A\\u52A1\\u6A21\\u578B\\uFF08BO\\uFF09\\uFF0C\\u6570\\u636E\\u6A21\\u578B\\uFF08DO\\uFF09 \\u503E\\u5411\\u4E8E\\u4E09\\u5143\\u5408\\u4E00\\uFF0CER \\u56FE\\u5219\\u5145\\u5F53\\u6570\\u636E\\u5E93\\u8BBE\\u8BA1\\u5DE5\\u5177\\u3002\",paraId:1,tocIndex:2},{value:\"\\xA0 \\xA0 \\xA0 \\u4E1A\\u52A1\\u5982\\u6B64\\u91CD\\u8981\\uFF0C\\u60F3\\u8C61\\u4E00\\u4E0B\\uFF0C\\u4E00\\u822C\\u5728\\u9879\\u76EE KO \\u6216\\u8005\\u8BC4\\u5BA1\\u671F\\u95F4\\uFF0C\\u6240\\u6709\\u4EBA\\u805A\\u5728\\u4E00\\u8D77\\uFF0C\\u57FA\\u672C\\u4E0A\\u90FD\\u4F1A\\u628A ER \\u56FE\\u5C55\\u5F00\\u6765\\u5171\\u540C\\u8BA8\\u8BBA\\u3002\\u5BF9\\u4E8E\\u4E00\\u4E9B\\u4E2D\\u5C0F\\u578B\\u9879\\u76EE\\uFF0CER \\u56FE\\u786E\\u5B9A\\u4E86\\uFF0C\\u57FA\\u672C\\u4E0A\\u4E1A\\u52A1\\u903B\\u8F91\\uFF0C\\u5DE5\\u4F5C\\u91CF\\u90FD\\u786E\\u5B9A\\u4E86\\uFF0C\\u901A\\u4FD7\\u7684\\u8BF4\\uFF0C\\u8001\\u7A0B\\u5E8F\\u5458\\u548C\\u67B6\\u6784\\u5E08\\u4F1A\\u628A\\u8FD9\\u4E2A\\u8FC7\\u7A0B\\u53EB\\u201C\\u9879\\u76EE\\u5F00\\u59CB\\u7F16\\u7801\\u4E4B\\u524D\\u4E25\\u683C\\u628A\\u63A7\\u6570\\u636E\\u5E93\\u8BBE\\u8BA1\\u201D\\u3002\",paraId:1,tocIndex:2},{value:\"\\xA0 \\xA0 \\u4EFB\\u4F55\\u53EF\\u843D\\u5730\\u7684 APaas/Lowcode \\u4E00\\u5B9A\\u4E0D\\u662F\\u901A\\u7528\\u5316\\u7684\\u3002\\u5E73\\u53F0\\u5EFA\\u8BBE\\uFF0C\\u5E76\\u975E\\u4ECE 0 \\u5F00\\u59CB\\u7684\\uFF0C\\u4ED6\\u662F\\u5BF9\\u672C\\u516C\\u53F8\\u5E73\\u53F0\\u5316\\u4E4B\\u524D\\u7684\\u6280\\u672F\\u6808\\uFF0C\\u9879\\u76EE\\u4EA4\\u4ED8\\u8FC7\\u7A0B\\u7684\\u62BD\\u8C61\\uFF0C\\u5FC5\\u7136\\u4F1A\\u660E\\u663E\\u504F\\u5411\\u67D0\\u4E9B\\u5B58\\u91CF\\u7684\\u4E1A\\u52A1\\u9886\\u57DF\\u3002\\u800C\\u6B63\\u662F\\u7531\\u4E8E\\u7ED3\\u5408\\u4E86\\u6280\\u672F\\u6808\\u7ED1\\u5B9A\\u548C\\u4E1A\\u52A1\\u5C5E\\u6027\\uFF0C\\u5E73\\u53F0\\u624D\\u6781\\u5177\\u4EF7\\u503C\\u548C\\u7ADE\\u4E89\\u529B\\uFF08\\u65E0\\u53EF\\u66FF\\u4EE3\\uFF09\\u3002\",paraId:2,tocIndex:3},{value:\"\\xA0 \\xA0 \\u56E0\\u6B64\\u4F1A\\u4EA7\\u751F\\u5F88\\u591A\\u5728\\u672C\\u516C\\u53F8\\u6280\\u672F\\u548C\\u4E1A\\u52A1\\u751F\\u6001\\u91CC\\u9762\\u7EA6\\u5B9A\\u6210\\u4FD7\\u7684\\u6982\\u5FF5\\u5143\\u7D20\\uFF08\\u8D44\\u6E90\\uFF09\\uFF0C\\u4EE5\\u51CF\\u5C11\\u6C9F\\u901A\\u6210\\u672C\\u3002\",paraId:2,tocIndex:3},{value:\"\\xA0 \\xA0 \\u7531\\u4E8E\\u5E73\\u53F0\\u662F\\u4EE5\\u6A21\\u578B\\u4E3A\\u4E2D\\u5FC3\\u7684\\uFF0C\\u56E0\\u6B64 ER \\u56FE\\u662F\\u8FD9\\u4E9B\\u6982\\u5FF5\\u5143\\u7D20\\uFF08\\u8D44\\u6E90\\uFF09\\u53EF\\u89C6\\u5316\\u8868\\u73B0\\u7684\\u6700\\u4F73\\u821E\\u53F0\\uFF0C\\u9700\\u8981\\u5BF9\\u901A\\u7528\\u7684 ERD \\u8FDB\\u884C\\u5B9A\\u5236\\u5316\\u6269\\u5C55\\u4E1A\\u52A1\\u542B\\u4E49\\u7684\\u5143\\u7D20\\uFF0C\\u9886\\u57DF\\u4E13\\u5BB6\\u53EF\\u4EE5\\u5728\\u4E0A\\u9762\\u8FDB\\u884C\\u4E1A\\u52A1\\u521B\\u9020\\u3002\",paraId:2,tocIndex:3},{value:\"\\xA0 \\xA0\",paraId:2,tocIndex:3},{value:\"\\xA0 \\xA0ER \\u56FE\\u8BBE\\u8BA1\\u5DE5\\u5177\\u6709\\u4E00\\u4E2A\\u795E\\u5668\\uFF0C\\u5C31\\u662F sysbase \\u7684 powerdesigner, \\u7531\\u4E8E\\u662F\\u5982\\u6B64\\u666E\\u904D\\uFF0C\\u6709\\u4E0D\\u5C11\\u516C\\u53F8\\u56E0\\u4E3A\\u7528\\u4E86\\u7834\\u89E3\\u7248\\u88AB\\u76EF\\u4E0A\\u8981\\u6C42\\u8D2D\\u4E70 license\\u3002\",paraId:3,tocIndex:4},{value:\"\\xA0 \\xA0powerdesigner \\u53EA\\u6240\\u4EE5\\u6D41\\u884C\\uFF0C\\u9664\\u4E86\\u57FA\\u672C\\u529F\\u80FD\\u8FC7\\u786C\\u5916\\uFF0C\\u6700\\u5927\\u7684\\u4F18\\u70B9\\u5728\\u4E8E\\u80FD\\u591F\\u5F88\\u597D\\u7684\\u652F\\u6301\\u5143\\u4FE1\\u606F\\u4E2D\\u6587\\uFF0C\\u8FD9\\u4E2A\\u662F\\u540C\\u7C7B\\u7684 ER \\u56FE\\u8F6F\\u4EF6\\u7F3A\\u5C11\\u7684\\uFF08\\u539F\\u56E0\\u662F ER \\u56FE\\u8F6F\\u4EF6\\u90FD\\u662F\\u6D77\\u5916\\u516C\\u53F8\\u5F00\\u53D1\\u7684\\uFF09\\u3002\",paraId:3,tocIndex:4},{value:\"powerdesigner \\u7684\\u4E00\\u4E2A\\u7F3A\\u70B9\\u662F\\uFF0C\\u53EA\\u652F\\u6301 windows\",paraId:4,tocIndex:4},{value:\"\\xA0 \\xA0 \\u53EF\\u80FD\\u662F\\u6211\\u5B64\\u964B\\u5BE1\\u95FB\\uFF0C\\u5728 mac \\u4E0A\\u9762\\u6CA1\\u6709\\u627E\\u5230\\u5F88\\u597D\\u7684\\u66FF\\u4EE3\\u54C1....\",paraId:4,tocIndex:4},{value:\"\\xA0 \\u6240\\u4EE5\\uFF0C \\u505A\\u5728\\u7EBF ER \\u56FE\\uFF0C\\u9664\\u4E86\\u4EA7\\u54C1\\u672C\\u8EAB\\u7684\\u9700\\u8981\\u5916\\uFF0C\\u6050\\u6015\\u8FD9\\u4E5F\\u662F\\u4E00\\u4E2A\\u91CD\\u8981\\u7684\\u539F\\u56E0\\u3002\",paraId:4,tocIndex:4},{value:\"\\u4EE5\\u4E0B\\u6458\\u5F55 w3cschool \\u7684\\u539F\\u6587\\uFF1A\",paraId:5,tocIndex:7},{value:\"Canvas\",paraId:6,tocIndex:7},{value:\"SVG\",paraId:6,tocIndex:7},{value:\"\\u4F9D\\u8D56\\u5206\\u8FA8\\u7387\",paraId:6,tocIndex:7},{value:\"\\u4E0D\\u4F9D\\u8D56\\u5206\\u8FA8\\u7387\",paraId:6,tocIndex:7},{value:\"\\u4E0D\\u652F\\u6301\\u4E8B\\u4EF6\\u5904\\u7406\\u5668\",paraId:6,tocIndex:7},{value:\"\\u652F\\u6301\\u4E8B\\u4EF6\\u5904\\u7406\\u5668\",paraId:6,tocIndex:7},{value:\"\\u5F31\\u7684\\u6587\\u672C\\u6E32\\u67D3\\u80FD\\u529B\",paraId:6,tocIndex:7},{value:\"\\u6700\\u9002\\u5408\\u5E26\\u6709\\u5927\\u578B\\u6E32\\u67D3\\u533A\\u57DF\\u7684\\u5E94\\u7528\\u7A0B\\u5E8F\\uFF08\\u6BD4\\u5982\\u8C37\\u6B4C\\u5730\\u56FE\\uFF09\",paraId:6,tocIndex:7},{value:\"\\u80FD\\u591F\\u4EE5 .png \\u6216 .jpg \\u683C\\u5F0F\\u4FDD\\u5B58\\u7ED3\\u679C\\u56FE\\u50CF\",paraId:6,tocIndex:7},{value:\"\\u590D\\u6742\\u5EA6\\u9AD8\\u4F1A\\u51CF\\u6162\\u6E32\\u67D3\\u901F\\u5EA6\\uFF08\\u4EFB\\u4F55\\u8FC7\\u5EA6\\u4F7F\\u7528 DOM \\u7684\\u5E94\\u7528\\u90FD\\u4E0D\\u5FEB\\uFF09\",paraId:6,tocIndex:7},{value:\"\\u6700\\u9002\\u5408\\u56FE\\u50CF\\u5BC6\\u96C6\\u578B\\u7684\\u6E38\\u620F\\uFF0C\\u5176\\u4E2D\\u7684\\u8BB8\\u591A\\u5BF9\\u8C61\\u4F1A\\u88AB\\u9891\\u7E41\\u91CD\\u7ED8\",paraId:6,tocIndex:7},{value:\"\\u4E0D\\u9002\\u5408\\u6E38\\u620F\\u5E94\\u7528\",paraId:6,tocIndex:7},{value:\"\\xA0 \\xA0 \\xA0 \\u76F8\\u6BD4 SVG\\uFF0CCanvas \\u66F4\\u50CF\\u662F\\u66F4\\u5E95\\u5C42\\u7684\\u5B9E\\u73B0\\uFF0C\\u540C\\u65F6 Canvas \\u662F WebGL \\u7684\\u5165\\u53E3\\uFF0C \\u6027\\u80FD\\u4F18\\u5316\\u7684\\u7A7A\\u95F4\\u66F4\\u5927\\u3002\",paraId:7,tocIndex:7},{value:\"\\xA0 \\xA0 \\xA0 \\u5BF9\\u4E8E\\u5BF9\\u6807 powerdesigner \\u7684 web \\u7248\\u7684 ER \\u56FE\\u6765\\u8BF4\\uFF0C\\xA0\\u201C\\u9700\\u8981\\u5C55\\u793A\\u6210\\u767E\\u4E0A\\u5343\\u4E2A\\u6A21\\u578B\\u201D\\u8FD9\\u4E2A\\u662F\\u6700\\u6838\\u5FC3\\u7684\\u529F\\u80FD \\xA0\\uFF0C Canvas \\u6210\\u4E86\\u5FC5\\u7136\\u7684\\u9009\\u62E9\\u3002\\u4F46\\u662F\\uFF0C\\u7531\\u4E8E Canvas \\u63D0\\u4F9B\\u7684\\u662F\\u66F4\\u5E95\\u5C42\\u7ED8\\u56FE api, \\u7F3A\\u4E4F\\u4E0A\\u5C42\\u5C01\\u88C5 \\uFF0C\\u4F1A\\u5BFC\\u81F4\\u5F00\\u53D1\\u4F53\\u9A8C\\u548C\\u901F\\u5EA6\\u4E0A\\u8FC7\\u4E8E\\u539F\\u59CB \\uFF0C\\u800C G6 \\u4F5C\\u4E3A\\u4E00\\u6B3E\\u56FE\\u53EF\\u89C6\\u5316\\u5F15\\u64CE\\uFF0C\\u53EF\\u4EE5\\u5F25\\u8865\\u8FD9\\u91CC\\u9762\\u7684\\u5DEE\\u8DDD \\u3002\",paraId:7,tocIndex:7},{value:\"\\xA0 \\xA0 \\xA0\\xA0\",paraId:7,tocIndex:7}],ge={},ce={title:\"Model\",toc:\"menu\",filename:\"docs/guide/model.md\",description:\"(\\u5EFA\\u8BBE\\u4E2D)\"},Me=[],_e=[{value:\"(\\u5EFA\\u8BBE\\u4E2D)\",paraId:0}],De=e(25359),Ce=e.n(De),it=e(49811),V=e.n(it),we={\"docs-demo-type-erd\":{component:r.lazy(function(){return Promise.all([e.e(448),e.e(433)]).then(e.bind(e,53926))}),asset:{type:\"BLOCK\",id:\"docs-demo-type-erd\",refAtomIds:[],dependencies:{\"index.tsx\":{type:\"FILE\",value:e(96764).Z},react:{type:\"NPM\",value:\"18.2.0\"},\"web-pdm\":{type:\"NPM\",value:\"1.0.0\"},\"style.less\":{type:\"FILE\",value:e(71539).Z},\"typedata.tsx\":{type:\"FILE\",value:e(29379).Z}}}},\"docs-demo-0\":{component:r.lazy(V()(Ce()().mark(function pt(){var Ot,at,wt,vt;return Ce()().wrap(function(At){for(;;)switch(At.prev=At.next){case 0:return At.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return Ot=At.sent,at=Ot.default,At.next=6,e.e(874).then(e.t.bind(e,63874,17));case 6:return wt=At.sent,vt=wt.default,At.abrupt(\"return\",{default:function(){return at.createElement(\"img\",{src:vt,width:\"260\"})}});case 9:case\"end\":return At.stop()}},pt)}))),asset:null},\"docs-demo-1\":{component:r.lazy(V()(Ce()().mark(function pt(){var Ot,at,wt,vt;return Ce()().wrap(function(At){for(;;)switch(At.prev=At.next){case 0:return At.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return Ot=At.sent,at=Ot.default,At.next=6,e.e(1).then(e.t.bind(e,1001,17));case 6:return wt=At.sent,vt=wt.default,At.abrupt(\"return\",{default:function(){return at.createElement(\"img\",{src:vt,width:\"260\"})}});case 9:case\"end\":return At.stop()}},pt)}))),asset:null}},Ie={title:\"web-pdm - \\u4E00\\u4E2A\\u7528G6\\u505A\\u7684ER\\u56FE\\u5DE5\\u5177\\uFF0C\\u6700\\u7EC8\\u76EE\\u6807\\u662F\\u60F3\\u505A\\u6210\\u5728\\u7EBF\\u7248\\u7684 powerdesigner\",toc:\"menu\",filename:\"docs/index.zh-CN.md\",order:10,hero:{title:\"web-pdm\",description:`\\u4E00\\u4E2A\\u7528G6\\u505A\\u7684ER\\u56FE\\u5DE5\\u5177\\uFF0C\\u6700\\u7EC8\\u76EE\\u6807\\u662F\\u60F3\\u505A\\u6210\\u5728\\u7EBF\\u7248\\u7684 powerdesigner\n`,actions:[{text:\"\\u7ACB\\u5373\\u4E0A\\u624B\",link:\"/guide/getting-started\"},{text:\"GitHub\",link:\"https://github.com/lusess123/web-pdm\"}]}},le=[{id:\"\\u5B89\\u88C5\",depth:2,title:\"\\u5B89\\u88C5\"},{id:\"\\u5FEB\\u901F\\u4F53\\u9A8C\",depth:2,title:\"\\u5FEB\\u901F\\u4F53\\u9A8C\"},{id:\"\\u53CD\\u9988\\u4E0E\\u5171\\u5EFA\",depth:2,title:\"\\u53CD\\u9988\\u4E0E\\u5171\\u5EFA\"},{id:\"\\u8D5E\\u52A9\",depth:2,title:\"\\u8D5E\\u52A9\"}],Ne=[{value:`\n$ npm i web-pdm\n\n`,paraId:0,tocIndex:0}],te={\"docs-demo-demo-erd\":{component:r.lazy(function(){return Promise.all([e.e(448),e.e(433)]).then(e.bind(e,30408))}),asset:{type:\"BLOCK\",id:\"docs-demo-demo-erd\",refAtomIds:[],dependencies:{\"index.tsx\":{type:\"FILE\",value:e(48109).Z},react:{type:\"NPM\",value:\"18.2.0\"},\"web-pdm\":{type:\"NPM\",value:\"1.0.0\"},\"style.less\":{type:\"FILE\",value:e(71539).Z},\"test/g6-test/mock/model-test.ts\":{type:\"FILE\",value:e(84912).Z},\"test/g6-test/mock/module-test.ts\":{type:\"FILE\",value:e(18043).Z}}}}},se={title:\"Demo\",toc:\"menu\",filename:\"docs/demo/index.md\",order:1,nav:{order:3,title:\"Demo\"}},pe=[],ee=[],Se={},Q={title:\"Next\",toc:\"menu\",filename:\"docs/guide/next.md\",legacy:\"/next\",description:'ER \\u56FE\\u7684\\u8FDE\\u7EBF\\uFF0C \"\\u5B57\\u6BB5\" --- \"\\u6A21\\u578B\"\\xA0\\u8FDE\\u63A5\\u70B9\\uFF0C\\u5728 G6 \\u91CC\\u9762\\u662F\\u901A\\u8FC7\"\\u951A\\u70B9\" \\u8FD9\\u4E2A\\u6982\\u5FF5\\u6765\\u5B9E\\u73B0\\u7684'},Z=[{id:\"\\u8E29\\u5751\\u548C\\u5B9E\\u8DF5\\u5206\\u4EAB\",depth:2,title:\"\\u8E29\\u5751\\u548C\\u5B9E\\u8DF5\\u5206\\u4EAB\"},{id:\"\\u8FDE\\u63A5\\u7EBF\",depth:3,title:\"\\u8FDE\\u63A5\\u7EBF\"},{id:\"\\u5E03\\u5C40\\u7B97\\u6CD5\\u9009\\u62E9\",depth:3,title:\"\\u5E03\\u5C40\\u7B97\\u6CD5\\u9009\\u62E9\"},{id:\"\\u6027\\u80FD\\u4F18\\u5316\",depth:3,title:\"\\u6027\\u80FD\\u4F18\\u5316\"}],Y=[{value:'ER \\u56FE\\u7684\\u8FDE\\u7EBF\\uFF0C \"\\u5B57\\u6BB5\" --- \"\\u6A21\\u578B\"\\xA0',paraId:0,tocIndex:1},{value:'\\u8FDE\\u63A5\\u70B9\\uFF0C\\u5728 G6 \\u91CC\\u9762\\u662F\\u901A\\u8FC7\"\\u951A\\u70B9\" \\u8FD9\\u4E2A\\u6982\\u5FF5\\u6765\\u5B9E\\u73B0\\u7684',paraId:0,tocIndex:1},{value:\"\\u8FDE\\u63A5\\u70B9\\u5728\\u5DE6\\u8FB9\",paraId:1,tocIndex:1},{value:\"\\u8FDE\\u63A5\\u70B9\\u5728\\u53F3\\u8FB9\",paraId:1,tocIndex:1},{value:\"\\u201C\\u8FDE\\u5B57\\u6BB5\\u4E0A\\u7684\\u951A\\u70B9\\u201D\\uFF0C\\u56FA\\u5B9A\\u4E0A\\u6709\\u4E24\\u4E2A\\uFF0C\\u5206\\u522B\\u653E\\u5728\\u4E00\\u5DE6\\u4E00\\u53F3.\",paraId:2,tocIndex:1},{value:\"\\u5982\\u4F55\\u6839\\u636E\\u4E24\\u4E2A\\u5173\\u8054\\u6A21\\u578B\\u7684\\u76F8\\u5BF9\\u65B9\\u4F4D\\u81EA\\u52A8\\u9009\\u62E9\\u5DE6\\u8FB9\\u8FD8\\u662F\\u53F3\\u8FB9\",paraId:2,tocIndex:1},{value:\"\\uFF1F\",paraId:2,tocIndex:1},{value:\"\\u6211\\u7684\\u65B9\\u6848\\u662F\\u5728 node:dragend \\u4E8B\\u4EF6\\u91CC\\u9762\\u6839\\u636E\\u76F8\\u5BF9\\u65B9\\u4F4D\\u505A\\u5224\\u65AD\\uFF0C\\u4FEE\\u6539 dege \\u7684 sourceAnchor \\u7684\\u503C\\uFF1A\",paraId:2,tocIndex:1},{value:` graph.on('node:dragend', (ev) => {\n    const shape = ev.target\n    const node = ev.item\n    const edges = node.getEdges()\n    const x = ev.x\n    edges.forEach((edge) => {\n      const sourceNode = edge.getSource()\n      const targetNode = edge.getTarget()\n\n      if (node === sourceNode) {\n        const edgeModel = edge.getModel()\n        const isTo = x < targetNode.getModel().x\n        const i = edgeModel.fieldIndex\n        const l = edgeModel.fieldsLength\n        if (sourceNode !== targetNode) {\n          graph.updateItem(edge, {\n            sourceAnchor: !isTo ? i + 2 : 2 + i + l,\n            // targetAnchor: isTo ? 0 : 1,\n          })\n\n        }\n\n      } else {\n        const edgeModel = edge.getModel()\n        const isTo = sourceNode.getModel().x < x\n        const i = edgeModel.fieldIndex\n        const l = edgeModel.fieldsLength\n\n        if (sourceNode !== targetNode) {\n        graph.updateItem(edge, {\n          sourceAnchor: !isTo ? i + 2 : 2 + i + l,\n        })\n      }\n      }\n    }) // ----\\u83B7\\u53D6\\u6240\\u6709\\u7684\\u8FB9\n`,paraId:3,tocIndex:1},{value:\"\\u201C\\u8FDE\\u5230\\u6A21\\u578B\\u4E0A\\u7684\\u951A\\u70B9\\u201D\\u5E94\\u8BE5\\u6CA1\\u6709\\u56FA\\u5B9A\\u7684\\u4F4D\\u7F6E\\uFF0C\\u800C\\u662F\\u5E94\\u8BE5\\u5728\\u6574\\u4E2A\\u6A21\\u578B\\u8282\\u70B9\\u8868\\u9762\\u81EA\\u52A8\\u8FDE\\u63A5\\u6700\\u8FD1\\u7684\\u951A\\u70B9\\uFF0C\\u5426\\u5219\\u8FDE\\u7EBF\\u4F1A\\u5F88\\u4E0D\\u597D\\u770B\",paraId:4,tocIndex:1},{value:\"\\u65E7\\u7248\\u672C\\u201C\\u8FDE\\u5230\\u6A21\\u578B\\u4E0A\\u7684\\u951A\\u70B9\\u201D\\u662F\\u56FA\\u5B9A\\u5728\\u6A21\\u578B\\u7684\\u4E24\\u8FB9\",paraId:5,tocIndex:1},{value:\"\\u6700\\u65B0\\u7248\\u672C\\u201C\\u8FDE\\u5230\\u6A21\\u578B\\u4E0A\\u7684\\u951A\\u70B9\\u201D\\u4F1A\\u81EA\\u52A8\\u627E\\u5230\\u6574\\u4E2A\\u5468\\u8FB9\\u6700\\u63A5\\u8FD1\\u7684\\u70B9\",paraId:5,tocIndex:1},{value:\"\\u5B9E\\u73B0\\u601D\\u8DEF\\u662F\\uFF0C\\u5F53\\u6211\\u5728 edge \\u6CA1\\u6709\\u8BBE\\u7F6E\\u951A\\u70B9\\u7684\\u65F6\\u5019\\uFF0Cg6 \\u4F1A\\u81EA\\u52A8\\u9009\\u62E9\\u6700\\u63A5\\u8FD1\\u7684\\u951A\\u70B9\\uFF0C\\u56E0\\u4E3A\\u6211\\u5728\\u6574\\u4E2A\\u6A21\\u578B\\u56FE\\u4E0A\\u9762\\u90FD\\u8BBE\\u7F6E\\u4E86\\u65E0\\u6570\\u7684\\u951A\\u70B9\\u53EF\\u4F9B\\u9009\\u62E9\\uFF1A\",paraId:6,tocIndex:1},{value:`    getAnchorPoints(cfg) {\n      const {\n        config,\n        data,\n      } = cfg\n      const {\n        fields,\n      } = data\n      const h = config.headerHeight + getLength(fields.length) * config.fieldHeight\n      return [[0, config.headerHeight / 2 / h], // \\u5DE6\\u4E0A\\u65B9\n      [1, config.headerHeight / 2 / h], // \\u53F3\\u4E0A\\u65B9\n      ...fields.map((field, index) => {\n        const x = 10 / config.width\n        const l = config.headerHeight + config.fieldHeight * (index + 1) - config.fieldHeight / 2\n        const y = l / h\n        return [x, y]\n      }), ...fields.map((field, index) => {\n        const x = (config.width - 10) / config.width\n        const l = config.headerHeight + config.fieldHeight * (index + 1) - config.fieldHeight / 2\n        const y = l / h\n        return [x, y]\n      }),\n      ...getTopAnch(50),\n     ...getBottomAnch(50),\n     ...getLeftAnch(100),\n     ...getRightAnch(100),\n    ]\n`,paraId:7,tocIndex:1},{value:\"\\u4E0A\\u4E0B\\u5DE6\\u53F3\\u7684\\u8FB9\\u754C\\u603B\\u5171\\u8BBE\\u7F6E\\u4E86 300 \\u4E2A\\u951A\\u70B9\\uFF0C\\u5E76\\u4E14\\u5747\\u5300\\u5206\\u5E03\",paraId:8,tocIndex:1},{value:\"\\u5BF9\\u4E8E ER \\u56FE\\u6765\\u8BF4\\uFF0C\\u5E03\\u5C40\\u6548\\u679C\\u7684\\u597D\\u574F\\u5F88\\u5F71\\u54CD\\u6574\\u4F53\\u7684\\u89C2\\u611F\\u3002\",paraId:9,tocIndex:2},{value:\"g6 \\u5185\\u7F6E\\u4E86\\u5404\\u79CD\\u5404\\u6837\\u7684\\u5E03\\u5C40\",paraId:9,tocIndex:2},{value:\"\\uFF0C\\u5230\\u5E95\\u54EA\\u4E00\\u79CD\\u6700\\u9002\\u5408 ER \\u56FE\\u5462\\uFF1F\",paraId:9,tocIndex:2},{value:\"| \",paraId:10,tocIndex:2},{value:\"\\u5C42\\u6B21\\u5E03\\u5C40\",paraId:11,tocIndex:2},{value:\"grid \\u5E03\\u5C40\",paraId:11,tocIndex:2},{value:\"concentric \\u5E03\\u5C40\",paraId:11,tocIndex:2},{value:\"\\u8BD5\\u8FC7\\u5404\\u79CD\\u5404\\u6837\\u7684\\u5E03\\u5C40\",paraId:12,tocIndex:2},{value:\"\\u6700\\u5F00\\u59CB\\u7528\\u7684\\u662F\\u5C42\\u6B21\\u5E03\\u5C40\\uFF0C\\u4F46\\u662F\\u5F53\\u6CA1\\u6709\\u5173\\u8054\\u7684\\u6A21\\u578B\\u591A\\u7684\\u8BDD\\uFF0C\\u4F1A\\u5728\\u540C\\u4E00\\u6C34\\u5E73\\u4E0A\\u6392\\u5F88\\u957F\\u7684\\u6A21\\u578B\\uFF0C \\u770B\\u8D77\\u6765\\u5C42\\u6B21\\u5E03\\u5C40\\u9002\\u5408\\u4E8E\\u6D41\\u7A0B\\u56FE\\u7684\\u60C5\\u51B5\",paraId:12,tocIndex:2},{value:\"\\u6700\\u540E\\u4E00\\u4E2A\\u662F\\u529B\\u5BFC\\u5E03\\u5C40\\uFF08force\\uFF09\",paraId:12,tocIndex:2},{value:\"\\u529B\\u5BFC\\u5E03\\u5C40\\u6700\\u63A5\\u8FD1\\u7ED3\\u679C\\u4E86\\uFF0C\\u4F46\\u662F\\u8FD9\\u4E2A\\u9ED8\\u8BA4\\u5E03\\u5C40\\u6709\\u4E2A\\u95EE\\u9898\\uFF0C\\u6CA1\\u6709\\u5173\\u8054\\u5173\\u7CFB\\u7684\\u6A21\\u578B\\u4F1A\\u62C9\\u5F97\\u5F88\\u5F00\\uFF0C\\u9020\\u6210\\u7A7A\\u95F4\\u4E0A\\u7684\\u6D6A\\u8D39\\u3002\",paraId:12,tocIndex:2},{value:\"\\u6211\\u6700\\u540E\\u89E3\\u51B3\\u7684\\u601D\\u8DEF\\u662F\\uFF0C\\u865A\\u62DF\\u4E00\\u4E2A\\u4E0D\\u53EF\\u89C1\\u7684\\u8282\\u70B9\\uFF0C\\u628A\\u6240\\u6709\\u7684\\u6A21\\u578B\\u62C9\\u5728\\u4E00\\u8D77\\u3002\",paraId:12,tocIndex:2},{value:`const createSysNode = () => {\n    return {\n        id: 'model-SYS-CENTER-POINT',\n        type: 'circle',\n        isSys: true,\n        isKeySharp: true,\n        size: 10,\n    }\n}\n`,paraId:13,tocIndex:2},{value:\"\\u6700\\u7EC8\\u7ED3\\u679C\\uFF1A\",paraId:14,tocIndex:2},{value:\"\\u7531\\u4E8E\\u529B\\u5BFC\\u5411\\u5E03\\u5C40\\u4E0D\\u662F\\u4E00\\u6B21\\u6027\\u5E03\\u5C40\\u597D\\u7684\\uFF0C\\u4E2D\\u95F4\\u4F1A\\u4EA7\\u751F\\u591A\\u6B21\\u5E03\\u5C40\\uFF0C\\u53D8\\u5316\\u4F1A\\u53CD\\u5E94\\u5230\\u754C\\u9762\\u4E0A\\uFF0C\\u56E0\\u6B64\\u4F1A\\u6709\\u52A8\\u753B\\u7684\\u6548\\u679C\\u3002\",paraId:14,tocIndex:2},{value:\"\\u6CE8\\u610F\\uFF1A\",paraId:14,tocIndex:2},{value:\"g6 \\u7684 graph \\u7684\\u5E03\\u5C40\\u662F\\u652F\\u6301 webworker \\u7684\",paraId:14,tocIndex:2},{value:\"\\uFF0C\\u4F46\\u662F\\u5BF9\\u4E8E subgraphLayout \\u65B9\\u5F0F\\u5E76\\u4E0D\\u652F\\u6301 webworker, \\u9700\\u8981\\u81EA\\u5DF1\\u5B9E\\u73B0\\u3002\",paraId:14,tocIndex:2},{value:\"\\u5982\\u679C\\u4F7F\\u7528 es \\u65B9\\u5F0F\\u5F15\\u7528 g6 \\u7684\\u5316\\uFF0Cwebworker \\u5E76\\u4E0D\\u4F1A\\u652F\\u6301\\uFF0C\\u539F\\u56E0\\u662F es \\u4EE3\\u7801\\u9700\\u8981\\u7ECF\\u8FC7 webpack \\u9884\\u5904\\u7406\\uFF0C\\u5982\\u679C\\u8981\\u89E3\\u51B3\\u5728\\u8FD9\\u4E2A\\u95EE\\u9898\\uFF0Cwebpack \\u9700\\u8981\\u914D\\u7F6E\",paraId:14,tocIndex:2},{value:\"worker-loader\",paraId:14,tocIndex:2},{value:\"\\uFF0C\\u7528\\u4E8E\\u5C01\\u88C5 webwoker \\u6267\\u884C\\u903B\\u8F91\\u7684\\u4EE3\\u7801\\u3002\",paraId:14,tocIndex:2},{value:`    {\n        test: /\\\\.worker\\\\.ts$/,\n        exclude: /(node_modules)/,\n        use: [\n          {\n            loader: 'worker-loader',\n            options: {\n              inline: true,\n              fallback: false,\n              name: 'g6Layout.worker.js',\n            },\n          },\n        ],\n      },\n`,paraId:15,tocIndex:2},{value:\"\\u901A\\u8FC7\\u5F15\\u5165 fps \\u6D4B\\u8BD5\\u7EC4\\u4EF6\\u6765\\u8861\\u91CF\\u6027\\u80FD\\u4F18\\u5316\\u7684\\u7A0B\\u5EA6\",paraId:16,tocIndex:3},{value:`export const useFpsHook = () => {\n    const fpsRef = useRef(null)\n    useEffect(() => {\n        if (\n            fpsRef.current &&\n            window.SYS_backEndConfig &&\n            window.SYS_backEndConfig.ERD_FPS\n        ) {\n            const stats = new Stats() // alert(stats.dom)\n\n            stats.showPanel(0) // 0: fps, 1: ms, 2: mb, 3+: custom\n\n            fpsRef.current.appendChild(stats.dom)\n            stats.dom.style.position = 'relative'\n\n            function animate() {\n                stats.begin() // monitored code goes here\n\n                stats.end()\n                requestAnimationFrame(animate)\n            }\n\n            requestAnimationFrame(animate)\n        }\n    }, [])\n    return {\n        fpsRef,\n    }\n}\n`,paraId:17,tocIndex:3},{value:\"\\u4ECE\\u6700\\u5F00\\u59CB\\u7684 FPS \\u4E2A\\u4F4D\\u6570\\uFF0C800 \\u4E2A\\u6A21\\u578B\\u60C5\\u51B5\\uFF0C\\u5230\\u73B0\\u5728\\u7684 20 \\u5DE6\\u53F3 \\uFF0C\\u4EE5\\u4E0B\\u8BB0\\u5F55\\u4E00\\u4E9B\\u4F18\\u5316\\u5FC3\\u5F97\\u3002\",paraId:18,tocIndex:3},{value:\"\\u4EE5\\u4E0A\\u7684\\u56FE\\u6211\\u4EEC\\u53EF\\u4EE5\\u63A8\\u51FA\\u8FD9\\u4E2A\\u7ED3\\u8BBA\\uFF1A\",paraId:18,tocIndex:3},{value:\"\\u6027\\u80FD =\\xA0 1 /\\uFF08\\u753B\\u5E03\\u5927\\u5C0F * \\u8282\\u70B9\\u5BF9\\u8C61\\u6570\\u91CF\\uFF09\",paraId:19,tocIndex:3},{value:\"\\u56E0\\u6B64\\u6027\\u80FD\\u4F18\\u5316\\u7684\\u5927\\u4F53\\u601D\\u8DEF\\u5C31\\u662F\\u8BA9 \\u753B\\u5E03\\u8D8A\\u5C0F\\uFF0C \\u53EF\\u89C6\\u533A\\u57DF\\u7684\\u8282\\u70B9\\u5BF9\\u8C61\\u6570\\u91CF\\u8D8A\\u5C11\\u3002\",paraId:20,tocIndex:3},{value:\"\\u7F29\\u5C0F\\u753B\\u5E03\",paraId:20,tocIndex:3},{value:\"\\u4EE3\\u7801\\uFF1A\",paraId:20,tocIndex:3},{value:`<Popover\n    footer={false}\n    content={\n        <RadioGroup value={zoomNum * 2} onChange={zoomChange}>\n            <Radio value={200}>100%</Radio>\n            <Radio value={100}>50%</Radio>\n            <Radio value={20}>10%</Radio>\n        </RadioGroup>\n    }\n    placement=\"bottom\"\n>\n    {graph && \\`\\${zoomNum * 2}%\\`}\n</Popover>\n`,paraId:21,tocIndex:3},{value:\"\\u771F\\u5B9E\\u7F29\\u653E\\u6BD4\\u4F8B\\u5176\\u5B9E\\u662F 1.13%\\uFF0C\\u6211\\u5176\\u5B9E\\u662F\\u628A\\u753B\\u5E03\\u7F29\\u5C0F\\u4E86\\u4E00\\u534A\\uFF0C\\u663E\\u793A\\u6BD4\\u4F8B*2\\uFF0C\\u6027\\u80FD\\u63D0\\u5347\\u8FD8\\u662F\\u633A\\u660E\\u663E\\u7684\\uFF0C\\u8FD9\\u4E2A\\u5176\\u5B9E\\u662F\\u53EF\\u4EE5\\u7EE7\\u7EED\\u7F29\\u5C0F\\uFF0C\\u8FD8\\u6709\\u5F88\\u5927\\u7684\\u4F18\\u5316\\u7A7A\\u95F4\\u3002\",paraId:22,tocIndex:3},{value:\"\\u51CF\\u5C11\\u53EF\\u89C6\\u533A\\u57DF\\u7684\\u8282\\u70B9\\u6570\\u91CF\",paraId:22,tocIndex:3},{value:\"**\",paraId:22,tocIndex:3},{value:\"\\u6211\\u4EEC\\u53D1\\u73B0\\uFF1A\",paraId:22,tocIndex:3},{value:\"\\u7F29\\u653E\\u6BD4\\u4F8B\\u8D8A\\u5C0F\",paraId:23,tocIndex:3},{value:\"\\u7F29\\u653E\\u6BD4\\u4F8B\\u8D8A\\u5927\",paraId:23,tocIndex:3},{value:\"\\u6A21\\u578B\\u6570\\u91CF\\u8D8A\\u591A\\uFF0C\",paraId:23,tocIndex:3},{value:\"\\u4F46\\u662F\\u6A21\\u578B\\u7684\\u7EC6\\u8282\\u5C31\\u770B\\u4E0D\\u6E05\\u695A\",paraId:23,tocIndex:3},{value:\"\\u6A21\\u578B\\u7EC6\\u8282\\u5C31\\u8D8A\\u591A\\uFF0C\",paraId:23,tocIndex:3},{value:\"\\u4F46\\u662F\\u6A21\\u578B\\u6570\\u91CF\\u8D8A\\u5C0F\",paraId:23,tocIndex:3},{value:\"\\u4E0D\\u6E05\\u695A\\u7684\\u5730\\u65B9\\uFF0C\\u6211\\u4EEC\\u5E72\\u8106\\u5C31\\u4E0D\\u663E\\u793A\\uFF0C\\u201C\\u6240\\u89C1\\u5373\\u6240\\u6E32\\u67D3\\u201D\",paraId:24,tocIndex:3},{value:\"\\u6838\\u5FC3\\u4EE3\\u7801\\uFF1A\",paraId:24,tocIndex:3},{value:`graph.on(\n    'beforepaint',\n    _.throttle(() => {\n        // alert()\n        const gWidth = graph.get('width')\n        const gHeight = graph.get('height')\n        // \\u83B7\\u53D6\\u89C6\\u7A97\\u5DE6\\u4E0A\\u89D2\\u5BF9\\u5E94\\u753B\\u5E03\\u7684\\u5750\\u6807\\u70B9\n        const topLeft = graph.getPointByCanvas(0, 0) // \\u83B7\\u53D6\\u89C6\\u7A97\\u53F3\\u4E0B\\u89D2\\u5BF9\\u5E94\\u753B\\u5E03\\u5750\\u6807\\u70B9\n\n        const bottomRight = graph.getPointByCanvas(gWidth, gHeight)\n        graph\n            .getNodes()\n            .filter((a) => !a.isSys)\n            .forEach((node) => {\n                const model = node.getModel()\n                if (model.isSys) {\n                    node.getContainer().hide()\n                    return\n                }\n                const { config, data: _data } = model\n                const h =\n                    (config.headerHeight +\n                        _data.fields.length * config.fieldHeight +\n                        4) /\n                    2\n                const w = config.width / 2 // \\u5982\\u679C\\u8282\\u70B9\\u4E0D\\u5728\\u89C6\\u7A97\\u4E2D\\uFF0C\\u9690\\u85CF\\u8BE5\\u8282\\u70B9\\uFF0C\\u5219\\u4E0D\\u7ED8\\u5236\n                // note:\\u7531\\u4E8E\\u6B64\\u5E94\\u7528\\u4E2D\\u6709minimap\\uFF0C\\u76F4\\u63A5\\u9690\\u85CF\\u8282\\u70B9\\u4F1A\\u5F71\\u54CD\\u7F29\\u7565\\u56FE\\u89C6\\u56FE\\uFF0C\\u76F4\\u63A5\\u9690\\u85CF\\u8282\\u70B9\\u5177\\u4F53\\u5185\\u5BB9\n\n                if (\n                    !model.selected &&\n                    (model.x + w < topLeft.x - 200 ||\n                        model.x - w > bottomRight.x ||\n                        model.y + h < topLeft.y ||\n                        model.y - h > bottomRight.y)\n                ) {\n                    node.getContainer().hide()\n                } else {\n                    // \\u8282\\u70B9\\u5728\\u89C6\\u7A97\\u4E2D\\uFF0C\\u5219\\u5C55\\u793A\n                    node.getContainer().show()\n                }\n            })\n        const edges = graph.getEdges()\n        edges.forEach((edge) => {\n            let sourceNode = edge.get('sourceNode')\n            let targetNode = edge.get('targetNode')\n\n            if (targetNode.getModel().isSys) {\n                edge.hide()\n                return\n            }\n\n            if (\n                !sourceNode.getContainer().get('visible') &&\n                !targetNode.getContainer().get('visible')\n            ) {\n                edge.hide()\n            } else {\n                edge.show()\n            }\n        })\n    }, 10)\n)\n`,paraId:25,tocIndex:3},{value:\"\\u5728 graph \\u201Cbeforepaint\\u201D\\u91CC\\u9762\\u505A\\u5224\\u65AD\\u663E\\u793A\\u548C\\u9690\\u85CF\\u903B\\u8F91\\uFF0C\",paraId:26,tocIndex:3},{value:\"G6 \\u5BF9 show \\u548C hide \\u7684\\u5B9E\\u73B0\\u8DDF HTML \\u4E0D\\u4E00\\u6837\\uFF0C\\u53EF\\u4EE5\\u771F\\u6B63\\u7684\\u4E0D render \\u5BF9\\u8C61\",paraId:26,tocIndex:3},{value:\"\\u53E6\\u5916\\u52A0\\u5165\\u4E86 throttle \\u9632\\u6B62\\u9891\\u7E41\\u6E32\\u67D3\\u3002\",paraId:26,tocIndex:3}],ue={},he={title:\"\\u6A21\\u578B\\u9A71\\u52A8\\u524D\\u7AEF\\u5F00\\u53D1\",toc:\"menu\",filename:\"docs/guide/ddd.md\",legacy:\"/ddd\",description:\"\\u524D\\u7AEF\\u72B6\\u6001\\u7BA1\\u7406\\u662F\\u8001\\u751F\\u5E38\\u8C08\\u7684\\u8BDD\\u9898\\uFF0C\\u4E5F\\u8BB8\\u4E0D\\u540C\\u7684\\u4EBA\\u5728\\u4E0D\\u540C\\u65F6\\u671F\\u7684\\u8BA4\\u8BC6\\u548C\\u611F\\u53D7\\u90FD\\u4E0D\\u4E00\\u6837\\uFF0C\\u5728\\u5173\\u4E8E\\u8BF4\\u8BF4\\u4E0B\\u4E2A\\u7248\\u672C\\u7684\\u60F3\\u6CD5\\u4E4B\\u524D\\uFF0C\\u9996\\u5148\\u6211\\u4EEC\\u6765\\u8C08\\u8C08\\uFF0C\\u6211\\u5FC3\\u76EE\\u4E2D\\u8BA4\\u4E3A\\u6700\\u597D\\u7684\\u524D\\u7AEF\\u72B6\\u6001\\u7BA1\\u7406\\u65B9\\u6848\\u662F\\u4EC0\\u4E48\\u5462\\uFF1F\"},me=[{id:\"\\u6A21\\u578B\\u9A71\\u52A8\\u524D\\u7AEF\\u5F00\\u53D1\",depth:1,title:\"\\u6A21\\u578B\\u9A71\\u52A8\\u524D\\u7AEF\\u5F00\\u53D1\"}],Oe=[{value:\"\\u524D\\u7AEF\\u72B6\\u6001\\u7BA1\\u7406\\u662F\\u8001\\u751F\\u5E38\\u8C08\\u7684\\u8BDD\\u9898\\uFF0C\\u4E5F\\u8BB8\\u4E0D\\u540C\\u7684\\u4EBA\\u5728\\u4E0D\\u540C\\u65F6\\u671F\\u7684\\u8BA4\\u8BC6\\u548C\\u611F\\u53D7\\u90FD\\u4E0D\\u4E00\\u6837\\uFF0C\\u5728\\u5173\\u4E8E\\u8BF4\\u8BF4\\u4E0B\\u4E2A\\u7248\\u672C\\u7684\\u60F3\\u6CD5\\u4E4B\\u524D\\uFF0C\\u9996\\u5148\\u6211\\u4EEC\\u6765\\u8C08\\u8C08\\uFF0C\\u6211\\u5FC3\\u76EE\\u4E2D\\u8BA4\\u4E3A\\u6700\\u597D\\u7684\\u524D\\u7AEF\\u72B6\\u6001\\u7BA1\\u7406\\u65B9\\u6848\\u662F\\u4EC0\\u4E48\\u5462\\uFF1F\",paraId:0,tocIndex:0},{value:\"redux \\u6709\\u4E00\\u4E2A\\u6700\\u4F73\\u5B9E\\u8DF5\\u5C31\\u662F\\u8981 data normalization \\uFF0C\\u7B80\\u5355\\u7684\\u8BF4\\u5C31\\u662F\\u62CD\\u5E73\\u6570\\u636E\\u5B58\\u50A8\\uFF0C\\u5C3D\\u91CF\\u7F29\\u77ED\\u6570\\u636E\\u7684\\u5D4C\\u5957\\u5C42\\u6B21\\u3002\\u8FD9\\u4E2A\\u5176\\u5B9E\\u662F\\u9075\\u5FAA\\u5173\\u7CFB\\u6570\\u636E\\u7684\\u8303\\u5F0F\\u8BBE\\u8BA1\\u3002\",paraId:1,tocIndex:0},{value:\"\\u5DE7\\u5408\\u7684\\u662F\\uFF0C\\u53E6\\u5916\\u4E00\\u4E2A\\u7684\\u72B6\\u6001\\u7BA1\\u7406\\u6846\\u67B6 mobx \\u4F5C\\u8005\\u5B98\\u65B9\\u535A\\u5BA2\\u91CC\\u9762\\u76F4\\u63A5\\u5C31\\u8FD9\\u4E48\\u8BF4\\uFF1A\",paraId:2,tocIndex:0},{value:\"The second important idea behind MobX is that for any app that is more complex than TodoMVC, you will often need a data graph, instead of a normalized tree, to store the state in a mentally manageable yet optimal way. Graphs enable referential consistency and avoid data duplication so that it can be guaranteed that derived values are never stale.\",paraId:3,tocIndex:0},{value:`\nMobX \\u80CC\\u540E\\u7684\\u7B2C\\u4E8C\\u4E2A\\u91CD\\u8981\\u601D\\u60F3\\u662F\\uFF0C\\u5BF9\\u4E8E\\u4EFB\\u4F55\\u6BD4 TodoMVC \\u66F4\\u590D\\u6742\\u7684\\u5E94\\u7528\\uFF0C\\u60A8\\u901A\\u5E38\\u9700\\u8981\\u4E00\\u4E2A\\u6570\\u636E\\u56FE\\uFF0C\\u800C\\u4E0D\\u662F\\u89C4\\u8303\\u5316\\u7684\\u6811\\uFF0C\\u4EE5\\u4E00\\u79CD\\u7CBE\\u795E\\u4E0A\\u53EF\\u7BA1\\u7406\\u4F46\\u6700\\u4F73\\u7684\\u65B9\\u5F0F\\u5B58\\u50A8\\u72B6\\u6001\\u3002\\u56FE\\u5F62\\u652F\\u6301\\u5F15\\u7528\\u4E00\\u81F4\\u6027\\uFF0C\\u5E76\\u907F\\u514D\\u6570\\u636E\\u91CD\\u590D\\uFF0C\\u4EE5\\u4FBF\\u4FDD\\u8BC1\\u6D3E\\u751F\\u503C\\u6C38\\u8FDC\\u4E0D\\u4F1A\\u8FC7\\u65F6\\u3002`,paraId:3,tocIndex:0},{value:\"(\\u6765\\u6E90\\uFF1A\",paraId:4,tocIndex:0},{value:\"https://hackernoon.com/becoming-fully-reactive-an-in-depth-explanation-of-mobservable-55995262a254\",paraId:4,tocIndex:0},{value:\")\",paraId:4,tocIndex:0},{value:\"\\u6709\\u610F\\u601D\\u7684\\u662F\\uFF0Cfacebook \\u5185\\u90E8 react \\u56E2\\u961F\\u6700\\u65B0\\u63A8\\u51FA\\u7684\\u524D\\u7AEF\\u72B6\\u6001\\u7BA1\\u7406\\u5E93 Recoli \\u4E5F\\u662F\\u57FA\\u4E8E\\u5173\\u8054\\u56FE\\u5F62\\u7684\",paraId:5,tocIndex:0},{value:`\n  `,paraId:6},{value:` \n  `,paraId:6},{value:\"redux, mobx, recoli \\u7684\\u5B9E\\u8DF5\\u90FD\\u6307\\u5411\\u8FD9\\u4E2A\\u542F\\u793A\\uFF0C\\u5728\\u590D\\u6742\\u7684\\u5E94\\u7528\\u91CC\\u9762\\uFF0C\\u8BBE\\u8BA1\\u72B6\\u6001\\u7684\\u7ED3\\u6784\\u548C\\u5B58\\u50A8\\u5C31\\u5E94\\u8BE5\\u8C61\\u56FE\\u5F62\\u4E00\\u6837\\uFF0C\\u8D34\\u8FD1\\u95EE\\u9898\\u57DF\\u6A21\\u578B\\uFF0C\\u9075\\u5FAA\\u5173\\u7CFB\\u6570\\u636E\\u7684\\u8303\\u5F0F\\u8BBE\\u8BA1\\uFF0C\\u8FD9\\u6837\\u53EF\\u4EE5\\u5C3D\\u53EF\\u80FD\\u4FDD\\u6301\\u5F15\\u7528\\u4E00\\u81F4\\u6027\\uFF0C\\u907F\\u514D\\u6570\\u636E\\u91CD\\u590D\\u3002\",paraId:7,tocIndex:0},{value:\"\\u800C ORM \\u53EF\\u4EE5\\u8BA9\\u6570\\u636E\\u5E93 schema \\u53D8\\u6210\\u5BF9\\u8C61\\u6A21\\u578B\\u8868\\u7684\\u5916\\u952E\\u5173\\u8054\\u5C31\\u8F6C\\u6362\\u6210\\u5BF9\\u8C61\\u95F4\\u7684\\u5F15\\u7528\\uFF0C\\u8FD9\\u6837\\u770B\\u8D77\\u6765\\u590D\\u6742\\u524D\\u7AEF\\u72B6\\u6001\\u7BA1\\u7406 \\u8DDF\\u540E\\u7AEF\\u5BF9\\u4E8E\\u590D\\u6742\\u4E1A\\u52A1\\u7CFB\\u7EDF \\u201C\\u5C60\\u9F99\\u5200\\u201D DDD\\uFF08\\u9886\\u57DF\\u6A21\\u578B\\u9A71\\u52A8\\u5F00\\u53D1\\uFF09 \\u7684\\u7406\\u5FF5\\u4E0D\\u8C0B\\u800C\\u548C\\u3002\",paraId:8,tocIndex:0},{value:`\n   `,paraId:6},{value:\"\\u8FD9\\u6837\\u524D\\u7AEF\\u7684\\u72B6\\u6001\\u7ED3\\u6784\\u53EF\\u4EE5\\u901A\\u8FC7\\u4E00\\u5F20 ER \\u5448\\u73B0\\u51FA\\u6765\\uFF0C\\u5C31\\u8C61\\u6211\\u4EEC\\u5728\\u4E00\\u4E2A\\u4E1A\\u52A1\\u7CFB\\u7EDF\\u4E4B\\u524D\\u4F1A\\u8BBE\\u8BA1\\u597D ER \\u56FE\\uFF0C\\u901A\\u8FC7\\u8FD9\\u5F20 ER \\u56FE\\uFF0C\\u53EF\\u4EE5\\u5F88\\u76F4\\u89C2\\u7684\\u5448\\u73B0\\u4E1A\\u52A1\\u903B\\u8F91\\u7279\\u5F81\\u548C\\u590D\\u6742\\u5EA6\\u3002\",paraId:9,tocIndex:0},{value:\"\\u6211\\u4EEC\\u751A\\u81F3\\u53EF\\u4EE5\\u76F4\\u63A5\\u5728 ER \\u56FE\\u64CD\\u4F5C\\u8FDB\\u884C\\u8BBE\\u8BA1\\u8C03\\u6574\\u548C\\u4FEE\\u6539\\uFF0C\\u901A\\u5E38\\u4F7F\\u7528\\u7684\\u5DE5\\u5177\\u662F power-designer\\u3002\",paraId:10,tocIndex:0},{value:\"Web-pdm \\u8981\\u505A\\u6210\\u5728\\u7EBF\\u7248\\u672C\\u7684 power-designer \\u5DE5\\u5177\\u3002\\u540C\\u65F6\\uFF0C\\u6839\\u636E\\u4E0A\\u8FF0\\u7406\\u8BBA\\uFF0C\\u4E00\\u4E2A\\u5E94\\u7528\\u573A\\u666F\\u662F\\uFF0C\\u4ED6\\u53EF\\u4EE5\\u6210\\u4E3A\\u67D0\\u4E2A\\u524D\\u7AEF\\u72B6\\u6001\\u7BA1\\u7406\\u5E93\\uFF08\\u53D6\\u4E2A\\u540D\\u5B57\\u5C31\\u53EB boxer\\uFF09\\u7684\\u914D\\u5957\\u8BBE\\u8BA1\\u5DE5\\u5177\\u3002\",paraId:11,tocIndex:0},{value:\"boxer \\u7684\\u8BBE\\u8BA1\\u4E5F\\u662F\\u7AD9\\u5728\\u5DE8\\u4EBA\\u7684\\u80A9\\u8180\\u4E4B\\u4E0A\\uFF0C\\u8C03\\u7814\\u4E86\\u7279\\u6027\\u76F8\\u8FD1\\u7684\\u5E93 redux-orm \\u548C mobx-state-tree , \\u6700\\u7EC8\\u9009\\u62E9\\u4E86 mobx-state-tree \\u505A\\u4E3A\\u8F6E\\u5B50 ,\\u4E00\\u4E2A\\u5F88\\u91CD\\u8981\\u7684\\u539F\\u56E0\\u662F\\u7C7B\\u578B\\u652F\\u6301\\u5F97\\u66F4\\u597D\\u3002boxer \\u7684\\u8BBE\\u60F3\\u662F\\u5BF9 mobx-state-tree \\u7684\\u4E00\\u5C42\\u5C01\\u88C5\\u3002\",paraId:12,tocIndex:0},{value:\"Web-pdm \\u505A\\u4E3A\\u4E00\\u4E2A boxer \\u7684\\u914D\\u5957\\u5DE5\\u5177 \\uFF0C\\u5176\\u5F00\\u53D1\\u4E5F\\u662F\\u901A\\u8FC7 boxer \\u6765\\u5B8C\\u6210\\u7684\\uFF0C\\u672C\\u8EAB\\u524D\\u7AEF\\u7684\\u72B6\\u6001\\u7BA1\\u7406\\u8DB3\\u591F\\u590D\\u6742\\uFF0C \\u53EF\\u4EE5\\u505A\\u4E3A boxer \\u7684\\u4E00\\u4E2A\\u6848\\u4F8B\\u548C\\u6700\\u4F73\\u5B9E\\u8DF5\\u3002\",paraId:13,tocIndex:0},{value:`\n\\u5728 Web-pdm \\u9875\\u9762\\u4E0A\\u8BBE\\u8BA1\\u597D\\u6A21\\u578B \\u548C \\u5173\\u8054\\u5173\\u7CFB\\u540E\\uFF0C \\u53EF\\u4EE5\\u4E00\\u952E\\u751F\\u6210 boxer\\uFF08mobx-state-tree\\uFF09 \\u7684\\u6A21\\u578B\\u5B9A\\u4E49\\u4EE3\\u7801\\uFF08\\u4EE5\\u540E\\u751A\\u81F3\\u53EF\\u4EE5\\u505A\\u5230\\u53CC\\u5411\\u751F\\u6210\\uFF09\\uFF0C\\u7136\\u540E\\u5BF9\\u4E8E\\u6A21\\u578B\\u53EF\\u4EE5\\u589E\\u52A0 action \\u8BA9\\u6A21\\u578B\\u5145\\u8840\\uFF08\\xA0rich domain model\\uFF09`,paraId:13,tocIndex:0}],We={},ke={title:\"FAQ\",toc:\"menu\",filename:\"docs/guide/faq.md\"},It=[],ft=[],nn={\"docs-demo-type-erd\":{component:r.lazy(function(){return Promise.all([e.e(448),e.e(433)]).then(e.bind(e,53926))}),asset:{type:\"BLOCK\",id:\"docs-demo-type-erd\",refAtomIds:[],dependencies:{\"index.tsx\":{type:\"FILE\",value:e(96764).Z},react:{type:\"NPM\",value:\"18.2.0\"},\"web-pdm\":{type:\"NPM\",value:\"1.0.0\"},\"style.less\":{type:\"FILE\",value:e(71539).Z},\"typedata.tsx\":{type:\"FILE\",value:e(29379).Z}}}},\"docs-demo-0\":{component:r.lazy(V()(Ce()().mark(function pt(){var Ot,at,wt,vt;return Ce()().wrap(function(At){for(;;)switch(At.prev=At.next){case 0:return At.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return Ot=At.sent,at=Ot.default,At.next=6,e.e(874).then(e.t.bind(e,63874,17));case 6:return wt=At.sent,vt=wt.default,At.abrupt(\"return\",{default:function(){return at.createElement(\"img\",{src:vt,width:\"260\"})}});case 9:case\"end\":return At.stop()}},pt)}))),asset:null},\"docs-demo-1\":{component:r.lazy(V()(Ce()().mark(function pt(){var Ot,at,wt,vt;return Ce()().wrap(function(At){for(;;)switch(At.prev=At.next){case 0:return At.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return Ot=At.sent,at=Ot.default,At.next=6,e.e(1).then(e.t.bind(e,1001,17));case 6:return wt=At.sent,vt=wt.default,At.abrupt(\"return\",{default:function(){return at.createElement(\"img\",{src:vt,width:\"260\"})}});case 9:case\"end\":return At.stop()}},pt)}))),asset:null}},b={title:\"web-pdm - An ER graph tool made with G6, the ultimate goal is to make an online PowerDesigner\",toc:\"menu\",filename:\"docs/index.md\",order:10,hero:{title:\"web-pdm\",description:\"An ER graph tool made with G6, the ultimate goal is to make an online PowerDesigner\",actions:[{text:\"Getting Started\",link:\"/guide/getting-started\"},{text:\"GitHub\",link:\"https://github.com/lusess123/web-pdm\"}]}},W=[{id:\"install\",depth:2,title:\"Install\"},{id:\"getting-started\",depth:2,title:\"Getting Started\"},{id:\"contributing\",depth:2,title:\"Contributing\"},{id:\"donate\",depth:2,title:\"Donate\"}],de=[{value:`\n$ npm i web-pdm\n\n`,paraId:0,tocIndex:0}],ye=null,He={},rt={\"docs/guide/getting-started\":{frontmatter:l,toc:d,texts:f,demos:u},\"docs/config/index.zh-CN\":{frontmatter:p,toc:h,texts:g,demos:v},\"docs/guide/index.zh-CN\":{frontmatter:S,toc:I,texts:N,demos:y},\"docs/demo/index.zh-CN\":{frontmatter:M,toc:L,texts:k,demos:_},\"docs/guide/migration\":{frontmatter:x,toc:F,texts:K,demos:U},\"docs/guide/relation\":{frontmatter:q,toc:X,texts:oe,demos:G},\"docs/guide/toolbar\":{frontmatter:Te,toc:ae,texts:z,demos:Ee},\"docs/config/index\":{frontmatter:T,toc:R,texts:j,demos:A},\"docs/guide/index\":{frontmatter:B,toc:fe,texts:Ae,demos:C},\"docs/guide/model\":{frontmatter:ce,toc:Me,texts:_e,demos:ge},\"docs/index.zh-CN\":{frontmatter:Ie,toc:le,texts:Ne,demos:we},\"docs/demo/index\":{frontmatter:se,toc:pe,texts:ee,demos:te},\"docs/guide/next\":{frontmatter:Q,toc:Z,texts:Y,demos:Se},\"docs/guide/ddd\":{frontmatter:he,toc:me,texts:Oe,demos:ue},\"docs/guide/faq\":{frontmatter:ke,toc:It,texts:ft,demos:We},\"docs/index\":{frontmatter:b,toc:W,texts:de,demos:nn}},$e=Object.entries(rt).reduce(function(pt,Ot){var at=o()(Ot,2),wt=at[0],vt=at[1];return Object.values(vt.demos).forEach(function(jt){jt.routeId=wt}),Object.assign(pt,vt.demos),delete vt.demos,pt},{})},55187:function(c,m,e){\"use strict\";e.d(m,{Ac:function(){return fe},ql:function(){return K.ql},rU:function(){return F},OL:function(){return I},Q$:function(){return Ae},m8:function(){return ge.m},fp:function(){return o.fp},Ov:function(){return U.Ov},TH:function(){return o.TH},pC:function(){return o.pC},UO:function(){return o.UO},Qt:function(){return G.Q},lr:function(){return _}});var a=e(50959),o=e(44492),r=e(18280);function u(){return u=Object.assign||function(le){for(var Ne=1;Ne<arguments.length;Ne++){var te=arguments[Ne];for(var se in te)Object.prototype.hasOwnProperty.call(te,se)&&(le[se]=te[se])}return le},u.apply(this,arguments)}function l(le,Ne){if(le==null)return{};var te={},se=Object.keys(le),pe,ee;for(ee=0;ee<se.length;ee++)pe=se[ee],!(Ne.indexOf(pe)>=0)&&(te[pe]=le[pe]);return te}const d=[\"onClick\",\"reloadDocument\",\"replace\",\"state\",\"target\",\"to\"],f=[\"aria-current\",\"caseSensitive\",\"className\",\"end\",\"style\",\"to\",\"children\"];function v(le,Ne){if(!le){typeof console!=\"undefined\"&&console.warn(Ne);try{throw new Error(Ne)}catch(te){}}}function p(le){let{basename:Ne,children:te,window:se}=le,pe=useRef();pe.current==null&&(pe.current=createBrowserHistory({window:se}));let ee=pe.current,[Se,Q]=useState({action:ee.action,location:ee.location});return useLayoutEffect(()=>ee.listen(Q),[ee]),createElement(Router,{basename:Ne,children:te,location:Se.location,navigationType:Se.action,navigator:ee})}function h(le){let{basename:Ne,children:te,window:se}=le,pe=useRef();pe.current==null&&(pe.current=createHashHistory({window:se}));let ee=pe.current,[Se,Q]=useState({action:ee.action,location:ee.location});return useLayoutEffect(()=>ee.listen(Q),[ee]),createElement(Router,{basename:Ne,children:te,location:Se.location,navigationType:Se.action,navigator:ee})}function g(le){let{basename:Ne,children:te,history:se}=le;const[pe,ee]=useState({action:se.action,location:se.location});return useLayoutEffect(()=>se.listen(ee),[se]),createElement(Router,{basename:Ne,children:te,location:pe.location,navigationType:pe.action,navigator:se})}function y(le){return!!(le.metaKey||le.altKey||le.ctrlKey||le.shiftKey)}const S=(0,a.forwardRef)(function(Ne,te){let{onClick:se,reloadDocument:pe,replace:ee=!1,state:Se,target:Q,to:Z}=Ne,Y=l(Ne,d),ue=(0,o.oQ)(Z),he=N(Z,{replace:ee,state:Se,target:Q});function me(Oe){se&&se(Oe),!Oe.defaultPrevented&&!pe&&he(Oe)}return(0,a.createElement)(\"a\",u({},Y,{href:ue,onClick:me,ref:te,target:Q}))}),I=(0,a.forwardRef)(function(Ne,te){let{\"aria-current\":se=\"page\",caseSensitive:pe=!1,className:ee=\"\",end:Se=!1,style:Q,to:Z,children:Y}=Ne,ue=l(Ne,f),he=(0,o.TH)(),me=(0,o.WU)(Z),Oe=he.pathname,We=me.pathname;pe||(Oe=Oe.toLowerCase(),We=We.toLowerCase());let ke=Oe===We||!Se&&Oe.startsWith(We)&&Oe.charAt(We.length)===\"/\",It=ke?se:void 0,ft;typeof ee==\"function\"?ft=ee({isActive:ke}):ft=[ee,ke?\"active\":null].filter(Boolean).join(\" \");let nn=typeof Q==\"function\"?Q({isActive:ke}):Q;return(0,a.createElement)(S,u({},ue,{\"aria-current\":It,className:ft,ref:te,style:nn,to:Z}),typeof Y==\"function\"?Y({isActive:ke}):Y)});function N(le,Ne){let{target:te,replace:se,state:pe}=Ne===void 0?{}:Ne,ee=(0,o.s0)(),Se=(0,o.TH)(),Q=(0,o.WU)(le);return(0,a.useCallback)(Z=>{if(Z.button===0&&(!te||te===\"_self\")&&!y(Z)){Z.preventDefault();let Y=!!se||(0,r.Ep)(Se)===(0,r.Ep)(Q);ee(le,{replace:Y,state:pe})}},[Se,ee,Q,se,pe,te,le])}function _(le){let Ne=(0,a.useRef)(M(le)),te=(0,o.TH)(),se=(0,a.useMemo)(()=>{let Se=M(te.search);for(let Q of Ne.current.keys())Se.has(Q)||Ne.current.getAll(Q).forEach(Z=>{Se.append(Q,Z)});return Se},[te.search]),pe=(0,o.s0)(),ee=(0,a.useCallback)((Se,Q)=>{pe(\"?\"+M(Se),Q)},[pe]);return[se,ee]}function M(le){return le===void 0&&(le=\"\"),new URLSearchParams(typeof le==\"string\"||Array.isArray(le)||le instanceof URLSearchParams?le:Object.keys(le).reduce((Ne,te)=>{let se=le[te];return Ne.concat(Array.isArray(se)?se.map(pe=>[te,pe]):[[te,se]])},[]))}var L=e(51163),k=e(58733),U=e(77759),x=[\"prefetch\"];function F(le){var Ne,te=le.prefetch,se=(0,k.Z)(le,x),pe=(0,U.Ov)(),ee=typeof le.to==\"string\"?le.to:(Ne=le.to)===null||Ne===void 0?void 0:Ne.pathname;return ee?a.createElement(S,(0,L.Z)({onMouseEnter:function(){var Q;return te&&ee&&((Q=pe.preloadRoute)===null||Q===void 0?void 0:Q.call(pe,ee))}},se),le.children):null}var K=e(87593),G=e(14828),q=e(99932),X=e(75782),oe=e(78450),Ee=e(26143),Te=e(22266);function ae(le,Ne){var te=typeof Symbol!=\"undefined\"&&le[Symbol.iterator]||le[\"@@iterator\"];if(!te){if(Array.isArray(le)||(te=(0,Te.Z)(le))||Ne&&le&&typeof le.length==\"number\"){te&&(le=te);var se=0,pe=function(){};return{s:pe,n:function(){return se>=le.length?{done:!0}:{done:!1,value:le[se++]}},e:function(Y){throw Y},f:pe}}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 ee=!0,Se=!1,Q;return{s:function(){te=te.call(le)},n:function(){var Y=te.next();return ee=Y.done,Y},e:function(Y){Se=!0,Q=Y},f:function(){try{!ee&&te.return!=null&&te.return()}finally{if(Se)throw Q}}}}var z=e(9942),A=e(40936),T=e(49962),R=e(24572);function j(le,Ne){if(!le)throw new Error(Ne)}function C(le){var Ne=le.fns,te=le.args;if(Ne.length===1)return Ne[0];var se=Ne.pop();return Ne.reduce(function(pe,ee){return function(){return ee(pe,te)}},se)}function B(le){return!!le&&(0,Ee.Z)(le)===\"object\"&&typeof le.then==\"function\"}var fe;(function(le){le.compose=\"compose\",le.modify=\"modify\",le.event=\"event\"})(fe||(fe={}));var Ae=function(){function le(Ne){(0,A.Z)(this,le),(0,R.Z)(this,\"opts\",void 0),(0,R.Z)(this,\"hooks\",{}),this.opts=Ne}return(0,T.Z)(le,[{key:\"register\",value:function(te){var se=this;j(te.apply,\"plugin register failed, apply must supplied\"),Object.keys(te.apply).forEach(function(pe){j(se.opts.validKeys.indexOf(pe)>-1,\"register failed, invalid key \".concat(pe,\" \").concat(te.path?\"from plugin \".concat(te.path):\"\",\".\")),se.hooks[pe]=(se.hooks[pe]||[]).concat(te.apply[pe])})}},{key:\"getHooks\",value:function(te){var se=te.split(\".\"),pe=(0,z.Z)(se),ee=pe[0],Se=pe.slice(1),Q=this.hooks[ee]||[];return Se.length&&(Q=Q.map(function(Z){try{var Y=Z,ue=ae(Se),he;try{for(ue.s();!(he=ue.n()).done;){var me=he.value;Y=Y[me]}}catch(Oe){ue.e(Oe)}finally{ue.f()}return Y}catch(Oe){return null}}).filter(Boolean)),Q}},{key:\"applyPlugins\",value:function(te){var se=te.key,pe=te.type,ee=te.initialValue,Se=te.args,Q=te.async,Z=this.getHooks(se)||[];switch(Se&&j((0,Ee.Z)(Se)===\"object\",\"applyPlugins failed, args must be plain object.\"),Q&&j(pe===fe.modify||pe===fe.event,\"async only works with modify and event type.\"),pe){case fe.modify:return Q?Z.reduce(function(){var Y=(0,oe.Z)((0,q.Z)().mark(function ue(he,me){var Oe;return(0,q.Z)().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:if(j(typeof me==\"function\"||(0,Ee.Z)(me)===\"object\"||B(me),\"applyPlugins failed, all hooks for key \".concat(se,\" must be function, plain object or Promise.\")),!B(he)){ke.next=5;break}return ke.next=4,he;case 4:he=ke.sent;case 5:if(typeof me!=\"function\"){ke.next=16;break}if(Oe=me(he,Se),!B(Oe)){ke.next=13;break}return ke.next=10,Oe;case 10:return ke.abrupt(\"return\",ke.sent);case 13:return ke.abrupt(\"return\",Oe);case 14:ke.next=21;break;case 16:if(!B(me)){ke.next=20;break}return ke.next=19,me;case 19:me=ke.sent;case 20:return ke.abrupt(\"return\",(0,X.Z)((0,X.Z)({},he),me));case 21:case\"end\":return ke.stop()}},ue)}));return function(ue,he){return Y.apply(this,arguments)}}(),B(ee)?ee:Promise.resolve(ee)):Z.reduce(function(Y,ue){return j(typeof ue==\"function\"||(0,Ee.Z)(ue)===\"object\",\"applyPlugins failed, all hooks for key \".concat(se,\" must be function or plain object.\")),typeof ue==\"function\"?ue(Y,Se):(0,X.Z)((0,X.Z)({},Y),ue)},ee);case fe.event:return(0,oe.Z)((0,q.Z)().mark(function Y(){var ue,he,me,Oe;return(0,q.Z)().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:ue=ae(Z),ke.prev=1,ue.s();case 3:if((he=ue.n()).done){ke.next=12;break}if(me=he.value,j(typeof me==\"function\",\"applyPlugins failed, all hooks for key \".concat(se,\" must be function.\")),Oe=me(Se),!(Q&&B(Oe))){ke.next=10;break}return ke.next=10,Oe;case 10:ke.next=3;break;case 12:ke.next=17;break;case 14:ke.prev=14,ke.t0=ke.catch(1),ue.e(ke.t0);case 17:return ke.prev=17,ue.f(),ke.finish(17);case 20:case\"end\":return ke.stop()}},Y,null,[[1,14,17,20]])}))();case fe.compose:return function(){return C({fns:Z.concat(ee),args:Se})()}}}}],[{key:\"create\",value:function(te){var se=new le({validKeys:te.validKeys});return te.plugins.forEach(function(pe){se.register(pe)}),se}}]),le}(),ge=e(40966),ce=e(37635),Me=e.n(ce),_e=0,De=0;function Ce(le,Ne){if(!1)var te}function it(le){return JSON.stringify(le,null,2)}function V(le){var Ne=le.length>1?le.map(we).join(\" \"):le[0];return Me()(Ne)===\"object\"?\"\".concat(it(Ne)):Ne.toString()}function we(le){return Me()(le)===\"object\"?\"\".concat(JSON.stringify(le)):le.toString()}var Ie={log:function(){for(var Ne=arguments.length,te=new Array(Ne),se=0;se<Ne;se++)te[se]=arguments[se];Ce(\"log\",V(te))},info:function(){for(var Ne=arguments.length,te=new Array(Ne),se=0;se<Ne;se++)te[se]=arguments[se];Ce(\"info\",V(te))},warn:function(){for(var Ne=arguments.length,te=new Array(Ne),se=0;se<Ne;se++)te[se]=arguments[se];Ce(\"warn\",V(te))},error:function(){for(var Ne=arguments.length,te=new Array(Ne),se=0;se<Ne;se++)te[se]=arguments[se];Ce(\"error\",V(te))},group:function(){De++},groupCollapsed:function(){De++},groupEnd:function(){De&&--De},clear:function(){Ce(\"clear\")},trace:function(){var Ne;(Ne=console).trace.apply(Ne,arguments)},profile:function(){var Ne;(Ne=console).profile.apply(Ne,arguments)},profileEnd:function(){var Ne;(Ne=console).profileEnd.apply(Ne,arguments)}}},88781:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){\"use strict\";var dumi__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(81229),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(50959);function ownKeys(c,m){var e=Object.keys(c);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(c);m&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(c,o).enumerable})),e.push.apply(e,a)}return e}function _objectSpread(c){for(var m=1;m<arguments.length;m++){var e=arguments[m]!=null?arguments[m]:{};m%2?ownKeys(Object(e),!0).forEach(function(a){_defineProperty(c,a,e[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(e)):ownKeys(Object(e)).forEach(function(a){Object.defineProperty(c,a,Object.getOwnPropertyDescriptor(e,a))})}return c}function _defineProperty(c,m,e){return m in c?Object.defineProperty(c,m,{value:e,enumerable:!0,configurable:!0,writable:!0}):c[m]=e,c}function _slicedToArray(c,m){return _arrayWithHoles(c)||_iterableToArrayLimit(c,m)||_unsupportedIterableToArray(c,m)||_nonIterableRest()}function _nonIterableRest(){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 _unsupportedIterableToArray(c,m){if(c){if(typeof c==\"string\")return _arrayLikeToArray(c,m);var e=Object.prototype.toString.call(c).slice(8,-1);if(e===\"Object\"&&c.constructor&&(e=c.constructor.name),e===\"Map\"||e===\"Set\")return Array.from(c);if(e===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return _arrayLikeToArray(c,m)}}function _arrayLikeToArray(c,m){(m==null||m>c.length)&&(m=c.length);for(var e=0,a=new Array(m);e<m;e++)a[e]=c[e];return a}function _iterableToArrayLimit(c,m){var e=c==null?null:typeof Symbol!=\"undefined\"&&c[Symbol.iterator]||c[\"@@iterator\"];if(e!=null){var a=[],o=!0,r=!1,u,l;try{for(e=e.call(c);!(o=(u=e.next()).done)&&(a.push(u.value),!(m&&a.length===m));o=!0);}catch(d){r=!0,l=d}finally{try{!o&&e.return!=null&&e.return()}finally{if(r)throw l}}return a}}function _arrayWithHoles(c){if(Array.isArray(c))return c}function _typeof(c){return _typeof=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(m){return typeof m}:function(m){return m&&typeof Symbol==\"function\"&&m.constructor===Symbol&&m!==Symbol.prototype?\"symbol\":typeof m},_typeof(c)}function builtInProcessor(entity,entryExports){var mod;switch(entity.$$__type){case\"function\":return eval(entity.$$__body.sourceCode);case\"element\":return mod=entity.$$__body.componentName.split(\".\").reduce(function(c,m){return c[m]},entryExports),mod===void 0?entity.$$__body.componentName:\"_InternalPanelDoNotUseOrYouWillBeFired\"in mod?mod._InternalPanelDoNotUseOrYouWillBeFired:mod}}function deepReplace(c,m){return Array.isArray(c)?c.map(function(e){return deepReplace(e,m)}):_typeof(c)===\"object\"&&(c==null?void 0:c.$$__type)===\"element\"?translatePresetToReact(c.$$__body,m):_typeof(c)===\"object\"&&Object.prototype.toString.call(c)===\"[object Object]\"?Object.entries(c).reduce(function(e,a){var o=_slicedToArray(a,2),r=o[0],u=o[1];return _objectSpread(_objectSpread({},e),{},_defineProperty({},r,deepReplace(u,m)))},{}):c}function translatePresetToReact(c,m){var e=c.props,a=c.size,o=m({$$__type:\"element\",$$__body:c});return React.createElement(o,deepReplace(_objectSpread(_objectSpread({},e),{},{style:_objectSpread(_objectSpread({},e.style),a)}),m))}var AtomRenderer=function c(m){var e=useSiteData(),a=e.entryExports;switch(m.type){case\"COMPONENT\":return translatePresetToReact(m.value,function(o){var r,u;return(r=(u=m.processor)===null||u===void 0?void 0:u.call(m,o,a))!==null&&r!==void 0?r:builtInProcessor(o,a)});default:return React.createElement(React.Fragment,null,m.type,\" atom is not supported.\")}}},41110:function(c,m,e){\"use strict\";e.d(m,{D:function(){return o},W:function(){return r}});var a=e(50959),o=(0,a.createContext)({pkg:{},entryExports:{},demos:{},components:{},locales:[],themeConfig:{},loading:!1,setLoading:function(){}}),r=function(){return(0,a.useContext)(o)}},4849:function(c,m,e){\"use strict\";e.d(m,{b:function(){return p}});var a=e(81229),o=e(50959);function r(h,g){return v(h)||f(h,g)||l(h,g)||u()}function u(){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 l(h,g){if(h){if(typeof h==\"string\")return d(h,g);var y=Object.prototype.toString.call(h).slice(8,-1);if(y===\"Object\"&&h.constructor&&(y=h.constructor.name),y===\"Map\"||y===\"Set\")return Array.from(h);if(y===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return d(h,g)}}function d(h,g){(g==null||g>h.length)&&(g=h.length);for(var y=0,S=new Array(g);y<g;y++)S[y]=h[y];return S}function f(h,g){var y=h==null?null:typeof Symbol!=\"undefined\"&&h[Symbol.iterator]||h[\"@@iterator\"];if(y!=null){var S=[],I=!0,N=!1,_,M;try{for(y=y.call(h);!(I=(_=y.next()).done)&&(S.push(_.value),!(g&&S.length===g));I=!0);}catch(L){N=!0,M=L}finally{try{!I&&y.return!=null&&y.return()}finally{if(N)throw M}}return S}}function v(h){if(Array.isArray(h))return h}var p=function(){var g=(0,a.YB)(),y=(0,a.WF)(),S=y.locales,I=(0,o.useState)(function(){return S.find(function(M){var L=M.id;return L===g.locale})}),N=r(I,1),_=N[0];return _}},75586:function(c,m,e){\"use strict\";e.d(m,{AM:function(){return y},LI:function(){return S},M7:function(){return I},RX:function(){return g},m7:function(){return _},qu:function(){return N}});var a=e(81229),o=e(50959),r=e(4849);function u(M){return u=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(L){return typeof L}:function(L){return L&&typeof Symbol==\"function\"&&L.constructor===Symbol&&L!==Symbol.prototype?\"symbol\":typeof L},u(M)}function l(M,L){return h(M)||p(M,L)||f(M,L)||d()}function d(){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 f(M,L){if(M){if(typeof M==\"string\")return v(M,L);var k=Object.prototype.toString.call(M).slice(8,-1);if(k===\"Object\"&&M.constructor&&(k=M.constructor.name),k===\"Map\"||k===\"Set\")return Array.from(M);if(k===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(k))return v(M,L)}}function v(M,L){(L==null||L>M.length)&&(L=M.length);for(var k=0,U=new Array(L);k<L;k++)U[k]=M[k];return U}function p(M,L){var k=M==null?null:typeof Symbol!=\"undefined\"&&M[Symbol.iterator]||M[\"@@iterator\"];if(k!=null){var U=[],x=!0,F=!1,K,G;try{for(k=k.call(M);!(x=(K=k.next()).done)&&(U.push(K.value),!(L&&U.length===L));x=!0);}catch(q){F=!0,G=q}finally{try{!x&&k.return!=null&&k.return()}finally{if(F)throw G}}return U}}function h(M){if(Array.isArray(M))return M}var g=function(){var L=(0,a.YB)(),k=(0,a.Ov)(),U=k.routes,x=(0,a.WF)(),F=x.locales,K=(0,o.useState)(function(){var X=F.slice().reverse();return Object.values(U).reduce(function(oe,Ee){var Te=X.find(function(ae){return\"suffix\"in ae?Ee.path.endsWith(ae.suffix):Ee.path.startsWith(ae.base.slice(1))});return Ee.parentId===\"DocLayout\"&&Te.id===L.locale&&(oe[Ee.id]=Ee),oe},{})}),G=l(K,1),q=G[0];return q},y=function(L){var k=`/**\n * This is an auto-generated demo by dumi\n * if you think it is not working as expected,\n * please report the issue at\n * https://github.com/umijs/dumi/issues\n */`;return L.startsWith(\"18.\")||L===\"latest\"?\"\".concat(k,`\n\nimport React from 'react';\nimport { createRoot } from \"react-dom/client\";\nimport App from \"./App\";\n\nconst rootElement = document.getElementById(\"root\");\nconst root = createRoot(rootElement);\n\nroot.render(<App />);`):\"\".concat(k,`\n\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport App from './App';\n\nReactDOM.render(\n  <App />,\n  document.getElementById('root'),\n);`)},S=typeof window!=\"undefined\"?o.useLayoutEffect:o.useEffect,I=function(){var L=(0,r.b)();return(0,o.useCallback)(function(k,U){return(\"order\"in k&&\"order\"in U?k.order-U.order:0)||(\"link\"in k&&\"link\"in U?k.link.split(\"/\").length-U.link.split(\"/\").length:0)||(\"path\"in k&&\"path\"in U?k.path.split(\"/\").length-U.path.split(\"/\").length:0)||(k.title?k.title.localeCompare(U.title||\"\",L.id):-1)},[])},N=function(L,k,U){var x,F=U[k];switch(u(F)){case\"object\":L.title=F.title||L.title,L.order=(x=F.order)!==null&&x!==void 0?x:L.order;break;case\"string\":L.title=F||L.title;break;default:}return L};function _(M,L){return Array.isArray(M)?M:M[L.id]}},39761:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return Me}});var a=e(50959),o=Object.defineProperty,r=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,d=(_e,De,Ce)=>De in _e?o(_e,De,{enumerable:!0,configurable:!0,writable:!0,value:Ce}):_e[De]=Ce,f=(_e,De)=>{for(var Ce in De||(De={}))u.call(De,Ce)&&d(_e,Ce,De[Ce]);if(r)for(var Ce of r(De))l.call(De,Ce)&&d(_e,Ce,De[Ce]);return _e};const v=_e=>a.createElement(\"svg\",f({viewBox:\"64 64 896 896\"},_e),a.createElement(\"path\",{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 0 0 51.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z\"}),a.createElement(\"path\",{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\"}));var p=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNjk5IDM1M2gtNDYuOWMtMTAuMiAwLTE5LjkgNC45LTI1LjkgMTMuM0w0NjkgNTg0LjNsLTcxLjItOTguOGMtNi04LjMtMTUuNi0xMy4zLTI1LjktMTMuM0gzMjVjLTYuNSAwLTEwLjMgNy40LTYuNSAxMi43bDEyNC42IDE3Mi44YTMxLjggMzEuOCAwIDAgMCA1MS43IDBsMjEwLjYtMjkyYzMuOS01LjMuMS0xMi43LTYuNC0xMi43eiIvPjxwYXRoIGQ9Ik01MTIgNjRDMjY0LjYgNjQgNjQgMjY0LjYgNjQgNTEyczIwMC42IDQ0OCA0NDggNDQ4IDQ0OC0yMDAuNiA0NDgtNDQ4Uzc1OS40IDY0IDUxMiA2NHptMCA4MjBjLTIwNS40IDAtMzcyLTE2Ni42LTM3Mi0zNzJzMTY2LjYtMzcyIDM3Mi0zNzIgMzcyIDE2Ni42IDM3MiAzNzItMTY2LjYgMzcyLTM3MiAzNzJ6Ii8+PC9zdmc+\",h=Object.defineProperty,g=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,I=(_e,De,Ce)=>De in _e?h(_e,De,{enumerable:!0,configurable:!0,writable:!0,value:Ce}):_e[De]=Ce,N=(_e,De)=>{for(var Ce in De||(De={}))y.call(De,Ce)&&I(_e,Ce,De[Ce]);if(g)for(var Ce of g(De))S.call(De,Ce)&&I(_e,Ce,De[Ce]);return _e};const _=_e=>a.createElement(\"svg\",N({viewBox:\"64 64 896 896\"},_e),a.createElement(\"path\",{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 0 0-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\"}),a.createElement(\"path\",{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\"}));var M=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNjg1LjQgMzU0LjhjMC00LjQtMy42LTgtOC04bC02NiAuM0w1MTIgNDY1LjZsLTk5LjMtMTE4LjQtNjYuMS0uM2MtNC40IDAtOCAzLjUtOCA4IDAgMS45LjcgMy43IDEuOSA1LjJsMTMwLjEgMTU1TDM0MC41IDY3MGE4LjMyIDguMzIgMCAwIDAtMS45IDUuMmMwIDQuNCAzLjYgOCA4IDhsNjYuMS0uM0w1MTIgNTY0LjRsOTkuMyAxMTguNCA2NiAuM2M0LjQgMCA4LTMuNSA4LTggMC0xLjktLjctMy43LTEuOS01LjJMNTUzLjUgNTE1bDEzMC4xLTE1NWMxLjItMS40IDEuOC0zLjMgMS44LTUuMnoiLz48cGF0aCBkPSJNNTEyIDY1QzI2NC42IDY1IDY0IDI2NS42IDY0IDUxM3MyMDAuNiA0NDggNDQ4IDQ0OCA0NDgtMjAwLjYgNDQ4LTQ0OFM3NTkuNCA2NSA1MTIgNjV6bTAgODIwYy0yMDUuNCAwLTM3Mi0xNjYuNi0zNzItMzcyczE2Ni42LTM3MiAzNzItMzcyIDM3MiAxNjYuNiAzNzIgMzcyLTE2Ni42IDM3Mi0zNzIgMzcyeiIvPjwvc3ZnPg==\",L=Object.defineProperty,k=Object.getOwnPropertySymbols,U=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,F=(_e,De,Ce)=>De in _e?L(_e,De,{enumerable:!0,configurable:!0,writable:!0,value:Ce}):_e[De]=Ce,K=(_e,De)=>{for(var Ce in De||(De={}))U.call(De,Ce)&&F(_e,Ce,De[Ce]);if(k)for(var Ce of k(De))x.call(De,Ce)&&F(_e,Ce,De[Ce]);return _e};const G=_e=>a.createElement(\"svg\",K({viewBox:\"64 64 896 896\"},_e),a.createElement(\"path\",{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\"}),a.createElement(\"path\",{d:\"M464 336a48 48 0 1 0 96 0 48 48 0 1 0-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\"}));var q=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNTEyIDY0QzI2NC42IDY0IDY0IDI2NC42IDY0IDUxMnMyMDAuNiA0NDggNDQ4IDQ0OCA0NDgtMjAwLjYgNDQ4LTQ0OFM3NTkuNCA2NCA1MTIgNjR6bTAgODIwYy0yMDUuNCAwLTM3Mi0xNjYuNi0zNzItMzcyczE2Ni42LTM3MiAzNzItMzcyIDM3MiAxNjYuNiAzNzIgMzcyLTE2Ni42IDM3Mi0zNzIgMzcyeiIvPjxwYXRoIGQ9Ik00NjQgMzM2YTQ4IDQ4IDAgMSAwIDk2IDAgNDggNDggMCAxIDAtOTYgMHptNzIgMTEyaC00OGMtNC40IDAtOCAzLjYtOCA4djI3MmMwIDQuNCAzLjYgOCA4IDhoNDhjNC40IDAgOC0zLjYgOC04VjQ1NmMwLTQuNC0zLjYtOC04LTh6Ii8+PC9zdmc+\",X=Object.defineProperty,oe=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,ae=(_e,De,Ce)=>De in _e?X(_e,De,{enumerable:!0,configurable:!0,writable:!0,value:Ce}):_e[De]=Ce,z=(_e,De)=>{for(var Ce in De||(De={}))Ee.call(De,Ce)&&ae(_e,Ce,De[Ce]);if(oe)for(var Ce of oe(De))Te.call(De,Ce)&&ae(_e,Ce,De[Ce]);return _e};const A=_e=>a.createElement(\"svg\",z({viewBox:\"64 64 896 896\"},_e),a.createElement(\"path\",{d:\"M464 720a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z\"}));var T=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNDY0IDcyMGE0OCA0OCAwIDEgMCA5NiAwIDQ4IDQ4IDAgMSAwLTk2IDB6bTE2LTMwNHYxODRjMCA0LjQgMy42IDggOCA4aDQ4YzQuNCAwIDgtMy42IDgtOFY0MTZjMC00LjQtMy42LTgtOC04aC00OGMtNC40IDAtOCAzLjYtOCA4em00NzUuNyA0NDAtNDE2LTcyMGMtNi4yLTEwLjctMTYuOS0xNi0yNy43LTE2cy0yMS42IDUuMy0yNy43IDE2bC00MTYgNzIwQzU2IDg3Ny40IDcxLjQgOTA0IDk2IDkwNGg4MzJjMjQuNiAwIDQwLTI2LjYgMjcuNy00OHptLTc4My41LTI3LjlMNTEyIDIzOS45bDMzOS44IDU4OC4ySDE3Mi4yeiIvPjwvc3ZnPg==\";function R(_e,De){return Ae(_e)||fe(_e,De)||C(_e,De)||j()}function j(){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,De){if(_e){if(typeof _e==\"string\")return B(_e,De);var Ce=Object.prototype.toString.call(_e).slice(8,-1);if(Ce===\"Object\"&&_e.constructor&&(Ce=_e.constructor.name),Ce===\"Map\"||Ce===\"Set\")return Array.from(_e);if(Ce===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ce))return B(_e,De)}}function B(_e,De){(De==null||De>_e.length)&&(De=_e.length);for(var Ce=0,it=new Array(De);Ce<De;Ce++)it[Ce]=_e[Ce];return it}function fe(_e,De){var Ce=_e==null?null:typeof Symbol!=\"undefined\"&&_e[Symbol.iterator]||_e[\"@@iterator\"];if(Ce!=null){var it=[],V=!0,we=!1,Ie,le;try{for(Ce=Ce.call(_e);!(V=(Ie=Ce.next()).done)&&(it.push(Ie.value),!(De&&it.length===De));V=!0);}catch(Ne){we=!0,le=Ne}finally{try{!V&&Ce.return!=null&&Ce.return()}finally{if(we)throw le}}return it}}function Ae(_e){if(Array.isArray(_e))return _e}var ge={info:G,warning:A,success:v,error:_},ce=function(De){var Ce=(0,a.useState)(function(){return ge[De.type]}),it=R(Ce,1),V=it[0];return a.createElement(\"div\",{className:\"dumi-default-container markdown\",\"data-type\":De.type},a.createElement(V,null),a.createElement(\"h4\",null,De.title||De.type.toUpperCase()),a.createElement(\"section\",null,De.children))},Me=ce},21646:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return zn}});var a=e(84875),o=e.n(a),r=e(81229),u=e(50959),l=Object.defineProperty,d=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,p=(Re,Ge,ot)=>Ge in Re?l(Re,Ge,{enumerable:!0,configurable:!0,writable:!0,value:ot}):Re[Ge]=ot,h=(Re,Ge)=>{for(var ot in Ge||(Ge={}))f.call(Ge,ot)&&p(Re,ot,Ge[ot]);if(d)for(var ot of d(Ge))v.call(Ge,ot)&&p(Re,ot,Ge[ot]);return Re};const g=Re=>u.createElement(\"svg\",h({viewBox:\"64 64 896 896\"},Re),u.createElement(\"path\",{d:\"m709.6 210 .4-.2h.2L512 96 313.9 209.8h-.2l.7.3L151.5 304v416L512 928l360.5-208V304l-162.9-94zM482.7 843.6 339.6 761V621.4L210 547.8V372.9l272.7 157.3v313.4zM238.2 321.5l134.7-77.8 138.9 79.7 139.1-79.9 135.2 78-273.9 158-274-158zM814 548.3l-128.8 73.1v139.1l-143.9 83V530.4L814 373.1v175.2z\"}));var y=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJtNzA5LjYgMjEwIC40LS4yaC4yTDUxMiA5NiAzMTMuOSAyMDkuOGgtLjJsLjcuM0wxNTEuNSAzMDR2NDE2TDUxMiA5MjhsMzYwLjUtMjA4VjMwNGwtMTYyLjktOTR6TTQ4Mi43IDg0My42IDMzOS42IDc2MVY2MjEuNEwyMTAgNTQ3LjhWMzcyLjlsMjcyLjcgMTU3LjN2MzEzLjR6TTIzOC4yIDMyMS41bDEzNC43LTc3LjggMTM4LjkgNzkuNyAxMzkuMS03OS45IDEzNS4yIDc4LTI3My45IDE1OC0yNzQtMTU4ek04MTQgNTQ4LjNsLTEyOC44IDczLjF2MTM5LjFsLTE0My45IDgzVjUzMC40TDgxNCAzNzMuMXYxNzUuMnoiLz48L3N2Zz4=\",S=Object.defineProperty,I=Object.getOwnPropertySymbols,N=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,M=(Re,Ge,ot)=>Ge in Re?S(Re,Ge,{enumerable:!0,configurable:!0,writable:!0,value:ot}):Re[Ge]=ot,L=(Re,Ge)=>{for(var ot in Ge||(Ge={}))N.call(Ge,ot)&&M(Re,ot,Ge[ot]);if(I)for(var ot of I(Ge))_.call(Ge,ot)&&M(Re,ot,Ge[ot]);return Re};const k=Re=>u.createElement(\"svg\",L({viewBox:\"64 64 896 896\"},Re),u.createElement(\"path\",{d:\"M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.2 732.5l60.3-241H281.1l189.6-327.4h224.6L487 427.4h211L378.2 732.5z\"}));var U=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODQ4IDM1OS4zSDYyNy43TDgyNS44IDEwOWM0LjEtNS4zLjQtMTMtNi4zLTEzSDQzNmMtMi44IDAtNS41IDEuNS02LjkgNEwxNzAgNTQ3LjVjLTMuMSA1LjMuNyAxMiA2LjkgMTJoMTc0LjRsLTg5LjQgMzU3LjZjLTEuOSA3LjggNy41IDEzLjMgMTMuMyA3LjdMODUzLjUgMzczYzUuMi00LjkgMS43LTEzLjctNS41LTEzLjd6TTM3OC4yIDczMi41bDYwLjMtMjQxSDI4MS4xbDE4OS42LTMyNy40aDIyNC42TDQ4NyA0MjcuNGgyMTFMMzc4LjIgNzMyLjV6Ii8+PC9zdmc+\",x=e(45626),F=function(){return u.createElement(u.Fragment,null)},K=F,G=e(51163),q=e(24572),X=e(75782),oe=e(91600),Ee=e(26143),Te=e(58733),ae=e(31591),z=e(47280),A=e(81676),T=(0,u.createContext)(null),R=u.forwardRef(function(Re,Ge){var ot=Re.prefixCls,Dt=Re.className,Nt=Re.style,Lt=Re.id,Ht=Re.active,Vt=Re.tabKey,an=Re.children;return u.createElement(\"div\",{id:Lt&&\"\".concat(Lt,\"-panel-\").concat(Vt),role:\"tabpanel\",tabIndex:Ht?0:-1,\"aria-labelledby\":Lt&&\"\".concat(Lt,\"-tab-\").concat(Vt),\"aria-hidden\":!Ht,style:Nt,className:o()(ot,Ht&&\"\".concat(ot,\"-active\"),Dt),ref:Ge},an)}),j=R,C=[\"key\",\"forceRender\",\"style\",\"className\"];function B(Re){var Ge=Re.id,ot=Re.activeKey,Dt=Re.animated,Nt=Re.tabPosition,Lt=Re.destroyInactiveTabPane,Ht=u.useContext(T),Vt=Ht.prefixCls,an=Ht.tabs,Wt=Dt.tabPane,bn=\"\".concat(Vt,\"-tabpane\");return u.createElement(\"div\",{className:o()(\"\".concat(Vt,\"-content-holder\"))},u.createElement(\"div\",{className:o()(\"\".concat(Vt,\"-content\"),\"\".concat(Vt,\"-content-\").concat(Nt),(0,q.Z)({},\"\".concat(Vt,\"-content-animated\"),Wt))},an.map(function(ln){var tt=ln.key,Ze=ln.forceRender,nt=ln.style,st=ln.className,Qe=(0,Te.Z)(ln,C),ct=tt===ot;return u.createElement(A.Z,(0,G.Z)({key:tt,visible:ct,forceRender:Ze,removeOnLeave:!!Lt,leavedClassName:\"\".concat(bn,\"-hidden\")},Dt.tabPaneMotion),function(lt,gt){var mt=lt.style,Et=lt.className;return u.createElement(j,(0,G.Z)({},Qe,{prefixCls:bn,id:Ge,tabKey:tt,animated:Wt,active:ct,style:(0,X.Z)((0,X.Z)({},nt),mt),className:o()(st,Et),ref:gt}))})})))}var fe=e(49544),Ae=e(60555),ge=e(51761),ce=e(40086),Me=e(64111),_e={width:0,height:0,left:0,top:0};function De(Re,Ge,ot){return(0,u.useMemo)(function(){for(var Dt,Nt=new Map,Lt=Ge.get((Dt=Re[0])===null||Dt===void 0?void 0:Dt.key)||_e,Ht=Lt.left+Lt.width,Vt=0;Vt<Re.length;Vt+=1){var an=Re[Vt].key,Wt=Ge.get(an);if(!Wt){var bn;Wt=Ge.get((bn=Re[Vt-1])===null||bn===void 0?void 0:bn.key)||_e}var ln=Nt.get(an)||(0,X.Z)({},Wt);ln.right=Ht-ln.left-ln.width,Nt.set(an,ln)}return Nt},[Re.map(function(Dt){return Dt.key}).join(\"_\"),Ge,ot])}function Ce(Re,Ge){var ot=u.useRef(Re),Dt=u.useState({}),Nt=(0,oe.Z)(Dt,2),Lt=Nt[1];function Ht(Vt){var an=typeof Vt==\"function\"?Vt(ot.current):Vt;an!==ot.current&&Ge(an,ot.current),ot.current=an,Lt({})}return[ot.current,Ht]}var it=.1,V=.01,we=20,Ie=Math.pow(.995,we);function le(Re,Ge){var ot=(0,u.useState)(),Dt=(0,oe.Z)(ot,2),Nt=Dt[0],Lt=Dt[1],Ht=(0,u.useState)(0),Vt=(0,oe.Z)(Ht,2),an=Vt[0],Wt=Vt[1],bn=(0,u.useState)(0),ln=(0,oe.Z)(bn,2),tt=ln[0],Ze=ln[1],nt=(0,u.useState)(),st=(0,oe.Z)(nt,2),Qe=st[0],ct=st[1],lt=(0,u.useRef)();function gt(Kt){var Yt=Kt.touches[0],$t=Yt.screenX,dn=Yt.screenY;Lt({x:$t,y:dn}),window.clearInterval(lt.current)}function mt(Kt){if(Nt){Kt.preventDefault();var Yt=Kt.touches[0],$t=Yt.screenX,dn=Yt.screenY;Lt({x:$t,y:dn});var Xt=$t-Nt.x,en=dn-Nt.y;Ge(Xt,en);var hn=Date.now();Wt(hn),Ze(hn-an),ct({x:Xt,y:en})}}function Et(){if(Nt&&(Lt(null),ct(null),Qe)){var Kt=Qe.x/tt,Yt=Qe.y/tt,$t=Math.abs(Kt),dn=Math.abs(Yt);if(Math.max($t,dn)<it)return;var Xt=Kt,en=Yt;lt.current=window.setInterval(function(){if(Math.abs(Xt)<V&&Math.abs(en)<V){window.clearInterval(lt.current);return}Xt*=Ie,en*=Ie,Ge(Xt*we,en*we)},we)}}var Pt=(0,u.useRef)();function Mt(Kt){var Yt=Kt.deltaX,$t=Kt.deltaY,dn=0,Xt=Math.abs(Yt),en=Math.abs($t);Xt===en?dn=Pt.current===\"x\"?Yt:$t:Xt>en?(dn=Yt,Pt.current=\"x\"):(dn=$t,Pt.current=\"y\"),Ge(-dn,-dn)&&Kt.preventDefault()}var Bt=(0,u.useRef)(null);Bt.current={onTouchStart:gt,onTouchMove:mt,onTouchEnd:Et,onWheel:Mt},u.useEffect(function(){function Kt(Xt){Bt.current.onTouchStart(Xt)}function Yt(Xt){Bt.current.onTouchMove(Xt)}function $t(Xt){Bt.current.onTouchEnd(Xt)}function dn(Xt){Bt.current.onWheel(Xt)}return document.addEventListener(\"touchmove\",Yt,{passive:!1}),document.addEventListener(\"touchend\",$t,{passive:!1}),Re.current.addEventListener(\"touchstart\",Kt,{passive:!1}),Re.current.addEventListener(\"wheel\",dn),function(){document.removeEventListener(\"touchmove\",Yt),document.removeEventListener(\"touchend\",$t)}},[])}var Ne=e(57770);function te(Re){var Ge=(0,u.useState)(0),ot=(0,oe.Z)(Ge,2),Dt=ot[0],Nt=ot[1],Lt=(0,u.useRef)(0),Ht=(0,u.useRef)();return Ht.current=Re,(0,Ne.o)(function(){var Vt;(Vt=Ht.current)===null||Vt===void 0||Vt.call(Ht)},[Dt]),function(){Lt.current===Dt&&(Lt.current+=1,Nt(Lt.current))}}function se(Re){var Ge=(0,u.useRef)([]),ot=(0,u.useState)({}),Dt=(0,oe.Z)(ot,2),Nt=Dt[1],Lt=(0,u.useRef)(typeof Re==\"function\"?Re():Re),Ht=te(function(){var an=Lt.current;Ge.current.forEach(function(Wt){an=Wt(an)}),Ge.current=[],Lt.current=an,Nt({})});function Vt(an){Ge.current.push(an),Ht()}return[Lt.current,Vt]}var pe={width:0,height:0,left:0,top:0,right:0};function ee(Re,Ge,ot,Dt,Nt,Lt,Ht){var Vt=Ht.tabs,an=Ht.tabPosition,Wt=Ht.rtl,bn,ln,tt;return[\"top\",\"bottom\"].includes(an)?(bn=\"width\",ln=Wt?\"right\":\"left\",tt=Math.abs(ot)):(bn=\"height\",ln=\"top\",tt=-ot),(0,u.useMemo)(function(){if(!Vt.length)return[0,0];for(var Ze=Vt.length,nt=Ze,st=0;st<Ze;st+=1){var Qe=Re.get(Vt[st].key)||pe;if(Qe[ln]+Qe[bn]>tt+Ge){nt=st-1;break}}for(var ct=0,lt=Ze-1;lt>=0;lt-=1){var gt=Re.get(Vt[lt].key)||pe;if(gt[ln]<tt){ct=lt+1;break}}return[ct,nt]},[Re,Ge,Dt,Nt,Lt,tt,an,Vt.map(function(Ze){return Ze.key}).join(\"_\"),Wt])}function Se(Re){var Ge;return Re instanceof Map?(Ge={},Re.forEach(function(ot,Dt){Ge[Dt]=ot})):Ge=Re,JSON.stringify(Ge)}var Q=\"TABS_DQ\";function Z(Re){return String(Re).replace(/\"/g,Q)}function Y(Re,Ge){var ot=Re.prefixCls,Dt=Re.editable,Nt=Re.locale,Lt=Re.style;return!Dt||Dt.showAdd===!1?null:u.createElement(\"button\",{ref:Ge,type:\"button\",className:\"\".concat(ot,\"-nav-add\"),style:Lt,\"aria-label\":(Nt==null?void 0:Nt.addAriaLabel)||\"Add tab\",onClick:function(Vt){Dt.onEdit(\"add\",{event:Vt})}},Dt.addIcon||\"+\")}var ue=u.forwardRef(Y),he=u.forwardRef(function(Re,Ge){var ot=Re.position,Dt=Re.prefixCls,Nt=Re.extra;if(!Nt)return null;var Lt,Ht={};return(0,Ee.Z)(Nt)===\"object\"&&!u.isValidElement(Nt)?Ht=Nt:Ht.right=Nt,ot===\"right\"&&(Lt=Ht.right),ot===\"left\"&&(Lt=Ht.left),Lt?u.createElement(\"div\",{className:\"\".concat(Dt,\"-extra-content\"),ref:Ge},Lt):null}),me=he,Oe=e(75294),We=e(58048),ke=e(59158);function It(Re,Ge){var ot=Re.prefixCls,Dt=Re.id,Nt=Re.tabs,Lt=Re.locale,Ht=Re.mobile,Vt=Re.moreIcon,an=Vt===void 0?\"More\":Vt,Wt=Re.moreTransitionName,bn=Re.style,ln=Re.className,tt=Re.editable,Ze=Re.tabBarGutter,nt=Re.rtl,st=Re.removeAriaLabel,Qe=Re.onTabClick,ct=Re.getPopupContainer,lt=Re.popupClassName,gt=(0,u.useState)(!1),mt=(0,oe.Z)(gt,2),Et=mt[0],Pt=mt[1],Mt=(0,u.useState)(null),Bt=(0,oe.Z)(Mt,2),Kt=Bt[0],Yt=Bt[1],$t=\"\".concat(Dt,\"-more-popup\"),dn=\"\".concat(ot,\"-dropdown\"),Xt=Kt!==null?\"\".concat($t,\"-\").concat(Kt):null,en=Lt==null?void 0:Lt.dropdownAriaLabel;function hn(sn,Rn){sn.preventDefault(),sn.stopPropagation(),tt.onEdit(\"remove\",{key:Rn,event:sn})}var pn=u.createElement(We.ZP,{onClick:function(Rn){var Nn=Rn.key,Bn=Rn.domEvent;Qe(Nn,Bn),Pt(!1)},prefixCls:\"\".concat(dn,\"-menu\"),id:$t,tabIndex:-1,role:\"listbox\",\"aria-activedescendant\":Xt,selectedKeys:[Kt],\"aria-label\":en!==void 0?en:\"expanded dropdown\"},Nt.map(function(sn){var Rn=tt&&sn.closable!==!1&&!sn.disabled;return u.createElement(We.sN,{key:sn.key,id:\"\".concat($t,\"-\").concat(sn.key),role:\"option\",\"aria-controls\":Dt&&\"\".concat(Dt,\"-panel-\").concat(sn.key),disabled:sn.disabled},u.createElement(\"span\",null,sn.label),Rn&&u.createElement(\"button\",{type:\"button\",\"aria-label\":st||\"remove\",tabIndex:0,className:\"\".concat(dn,\"-menu-item-remove\"),onClick:function(Bn){Bn.stopPropagation(),hn(Bn,sn.key)}},sn.closeIcon||tt.removeIcon||\"\\xD7\"))}));function Sn(sn){for(var Rn=Nt.filter(function(H){return!H.disabled}),Nn=Rn.findIndex(function(H){return H.key===Kt})||0,Bn=Rn.length,Vn=0;Vn<Bn;Vn+=1){Nn=(Nn+sn+Bn)%Bn;var Fn=Rn[Nn];if(!Fn.disabled){Yt(Fn.key);return}}}function fn(sn){var Rn=sn.which;if(!Et){[ke.Z.DOWN,ke.Z.SPACE,ke.Z.ENTER].includes(Rn)&&(Pt(!0),sn.preventDefault());return}switch(Rn){case ke.Z.UP:Sn(-1),sn.preventDefault();break;case ke.Z.DOWN:Sn(1),sn.preventDefault();break;case ke.Z.ESC:Pt(!1);break;case ke.Z.SPACE:case ke.Z.ENTER:Kt!==null&&Qe(Kt,sn);break}}(0,u.useEffect)(function(){var sn=document.getElementById(Xt);sn&&sn.scrollIntoView&&sn.scrollIntoView(!1)},[Kt]),(0,u.useEffect)(function(){Et||Yt(null)},[Et]);var Zt=(0,q.Z)({},nt?\"marginRight\":\"marginLeft\",Ze);Nt.length||(Zt.visibility=\"hidden\",Zt.order=1);var ar=o()((0,q.Z)({},\"\".concat(dn,\"-rtl\"),nt)),An=Ht?null:u.createElement(Oe.Z,{prefixCls:dn,overlay:pn,trigger:[\"hover\"],visible:Nt.length?Et:!1,transitionName:Wt,onVisibleChange:Pt,overlayClassName:o()(ar,lt),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:ct},u.createElement(\"button\",{type:\"button\",className:\"\".concat(ot,\"-nav-more\"),style:Zt,tabIndex:-1,\"aria-hidden\":\"true\",\"aria-haspopup\":\"listbox\",\"aria-controls\":$t,id:\"\".concat(Dt,\"-more\"),\"aria-expanded\":Et,onKeyDown:fn},an));return u.createElement(\"div\",{className:o()(\"\".concat(ot,\"-nav-operations\"),ln),style:bn,ref:Ge},An,u.createElement(ue,{prefixCls:ot,locale:Lt,editable:tt}))}var ft=u.memo(u.forwardRef(It),function(Re,Ge){return Ge.tabMoving});function nn(Re){var Ge,ot=Re.prefixCls,Dt=Re.id,Nt=Re.active,Lt=Re.tab,Ht=Lt.key,Vt=Lt.label,an=Lt.disabled,Wt=Lt.closeIcon,bn=Re.closable,ln=Re.renderWrapper,tt=Re.removeAriaLabel,Ze=Re.editable,nt=Re.onClick,st=Re.onFocus,Qe=Re.style,ct=\"\".concat(ot,\"-tab\"),lt=Ze&&bn!==!1&&!an;function gt(Pt){an||nt(Pt)}function mt(Pt){Pt.preventDefault(),Pt.stopPropagation(),Ze.onEdit(\"remove\",{key:Ht,event:Pt})}var Et=u.createElement(\"div\",{key:Ht,\"data-node-key\":Z(Ht),className:o()(ct,(Ge={},(0,q.Z)(Ge,\"\".concat(ct,\"-with-remove\"),lt),(0,q.Z)(Ge,\"\".concat(ct,\"-active\"),Nt),(0,q.Z)(Ge,\"\".concat(ct,\"-disabled\"),an),Ge)),style:Qe,onClick:gt},u.createElement(\"div\",{role:\"tab\",\"aria-selected\":Nt,id:Dt&&\"\".concat(Dt,\"-tab-\").concat(Ht),className:\"\".concat(ct,\"-btn\"),\"aria-controls\":Dt&&\"\".concat(Dt,\"-panel-\").concat(Ht),\"aria-disabled\":an,tabIndex:an?null:0,onClick:function(Mt){Mt.stopPropagation(),gt(Mt)},onKeyDown:function(Mt){[ke.Z.SPACE,ke.Z.ENTER].includes(Mt.which)&&(Mt.preventDefault(),gt(Mt))},onFocus:st},Vt),lt&&u.createElement(\"button\",{type:\"button\",\"aria-label\":tt||\"remove\",tabIndex:0,className:\"\".concat(ct,\"-remove\"),onClick:function(Mt){Mt.stopPropagation(),mt(Mt)}},Wt||Ze.removeIcon||\"\\xD7\"));return ln?ln(Et):Et}var b=nn,W=function(Ge){var ot=Ge.current||{},Dt=ot.offsetWidth,Nt=Dt===void 0?0:Dt,Lt=ot.offsetHeight,Ht=Lt===void 0?0:Lt;return[Nt,Ht]},de=function(Ge,ot){return Ge[ot?0:1]};function ye(Re,Ge){var ot,Dt=u.useContext(T),Nt=Dt.prefixCls,Lt=Dt.tabs,Ht=Re.className,Vt=Re.style,an=Re.id,Wt=Re.animated,bn=Re.activeKey,ln=Re.rtl,tt=Re.extra,Ze=Re.editable,nt=Re.locale,st=Re.tabPosition,Qe=Re.tabBarGutter,ct=Re.children,lt=Re.onTabClick,gt=Re.onTabScroll,mt=(0,u.useRef)(),Et=(0,u.useRef)(),Pt=(0,u.useRef)(),Mt=(0,u.useRef)(),Bt=(0,u.useRef)(),Kt=(0,u.useRef)(),Yt=(0,u.useRef)(),$t=st===\"top\"||st===\"bottom\",dn=Ce(0,function(Cn,xt){$t&&gt&&gt({direction:Cn>xt?\"left\":\"right\"})}),Xt=(0,oe.Z)(dn,2),en=Xt[0],hn=Xt[1],pn=Ce(0,function(Cn,xt){!$t&&gt&&gt({direction:Cn>xt?\"top\":\"bottom\"})}),Sn=(0,oe.Z)(pn,2),fn=Sn[0],Zt=Sn[1],ar=(0,u.useState)([0,0]),An=(0,oe.Z)(ar,2),sn=An[0],Rn=An[1],Nn=(0,u.useState)([0,0]),Bn=(0,oe.Z)(Nn,2),Vn=Bn[0],Fn=Bn[1],H=(0,u.useState)([0,0]),ie=(0,oe.Z)(H,2),re=ie[0],xe=ie[1],Ke=(0,u.useState)([0,0]),Ue=(0,oe.Z)(Ke,2),J=Ue[0],w=Ue[1],P=se(new Map),D=(0,oe.Z)(P,2),ne=D[0],be=D[1],Le=De(Lt,ne,Vn[0]),je=de(sn,$t),ze=de(Vn,$t),ut=de(re,$t),dt=de(J,$t),Ct=je<ze+ut,Rt=Ct?je-dt:je-ut,kt=\"\".concat(Nt,\"-nav-operations-hidden\"),Ut=0,Qt=0;$t&&ln?(Ut=0,Qt=Math.max(0,ze-Rt)):(Ut=Math.min(0,Rt-ze),Qt=0);function cn(Cn){return Cn<Ut?Ut:Cn>Qt?Qt:Cn}var wn=(0,u.useRef)(),gn=(0,u.useState)(),Kn=(0,oe.Z)(gn,2),Pn=Kn[0],Ln=Kn[1];function er(){Ln(Date.now())}function or(){window.clearTimeout(wn.current)}le(Mt,function(Cn,xt){function ur(tr,Fr){tr(function(_r){var To=cn(_r+Fr);return To})}return Ct?($t?ur(hn,Cn):ur(Zt,xt),or(),er(),!0):!1}),(0,u.useEffect)(function(){return or(),Pn&&(wn.current=window.setTimeout(function(){Ln(0)},100)),or},[Pn]);var Ar=ee(Le,Rt,$t?en:fn,ze,ut,dt,(0,X.Z)((0,X.Z)({},Re),{},{tabs:Lt})),Xn=(0,oe.Z)(Ar,2),Yn=Xn[0],Er=Xn[1],Hn=(0,ge.Z)(function(){var Cn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:bn,xt=Le.get(Cn)||{width:0,height:0,left:0,right:0,top:0};if($t){var ur=en;ln?xt.right<en?ur=xt.right:xt.right+xt.width>en+Rt&&(ur=xt.right+xt.width-Rt):xt.left<-en?ur=-xt.left:xt.left+xt.width>-en+Rt&&(ur=-(xt.left+xt.width-Rt)),Zt(0),hn(cn(ur))}else{var tr=fn;xt.top<-fn?tr=-xt.top:xt.top+xt.height>-fn+Rt&&(tr=-(xt.top+xt.height-Rt)),hn(0),Zt(cn(tr))}}),Ir={};st===\"top\"||st===\"bottom\"?Ir[ln?\"marginRight\":\"marginLeft\"]=Qe:Ir.marginTop=Qe;var kr=Lt.map(function(Cn,xt){var ur=Cn.key;return u.createElement(b,{id:an,prefixCls:Nt,key:ur,tab:Cn,style:xt===0?void 0:Ir,closable:Cn.closable,editable:Ze,active:ur===bn,renderWrapper:ct,removeAriaLabel:nt==null?void 0:nt.removeAriaLabel,onClick:function(Fr){lt(ur,Fr)},onFocus:function(){Hn(ur),er(),Mt.current&&(ln||(Mt.current.scrollLeft=0),Mt.current.scrollTop=0)}})}),fr=function(){return be(function(){var xt=new Map;return Lt.forEach(function(ur){var tr,Fr=ur.key,_r=(tr=Bt.current)===null||tr===void 0?void 0:tr.querySelector('[data-node-key=\"'.concat(Z(Fr),'\"]'));_r&&xt.set(Fr,{width:_r.offsetWidth,height:_r.offsetHeight,left:_r.offsetLeft,top:_r.offsetTop})}),xt})};(0,u.useEffect)(function(){fr()},[Lt.map(function(Cn){return Cn.key}).join(\"_\")]);var Rr=te(function(){var Cn=W(mt),xt=W(Et),ur=W(Pt);Rn([Cn[0]-xt[0]-ur[0],Cn[1]-xt[1]-ur[1]]);var tr=W(Yt);xe(tr);var Fr=W(Kt);w(Fr);var _r=W(Bt);Fn([_r[0]-tr[0],_r[1]-tr[1]]),fr()}),hr=Lt.slice(0,Yn),Tr=Lt.slice(Er+1),La=[].concat((0,fe.Z)(hr),(0,fe.Z)(Tr)),za=(0,u.useState)(),Ha=(0,oe.Z)(za,2),Gr=Ha[0],$a=Ha[1],Vr=Le.get(bn),pa=(0,u.useRef)();function ya(){ce.Z.cancel(pa.current)}(0,u.useEffect)(function(){var Cn={};return Vr&&($t?(ln?Cn.right=Vr.right:Cn.left=Vr.left,Cn.width=Vr.width):(Cn.top=Vr.top,Cn.height=Vr.height)),ya(),pa.current=(0,ce.Z)(function(){$a(Cn)}),ya},[Vr,$t,ln]),(0,u.useEffect)(function(){Hn()},[bn,Ut,Qt,Se(Vr),Se(Le),$t]),(0,u.useEffect)(function(){Rr()},[ln]);var ir=!!La.length,Pr=\"\".concat(Nt,\"-nav-wrap\"),Yr,xr,Oa,na;return $t?ln?(xr=en>0,Yr=en!==Qt):(Yr=en<0,xr=en!==Ut):(Oa=fn<0,na=fn!==Ut),u.createElement(Ae.Z,{onResize:Rr},u.createElement(\"div\",{ref:(0,Me.x1)(Ge,mt),role:\"tablist\",className:o()(\"\".concat(Nt,\"-nav\"),Ht),style:Vt,onKeyDown:function(){er()}},u.createElement(me,{ref:Et,position:\"left\",extra:tt,prefixCls:Nt}),u.createElement(\"div\",{className:o()(Pr,(ot={},(0,q.Z)(ot,\"\".concat(Pr,\"-ping-left\"),Yr),(0,q.Z)(ot,\"\".concat(Pr,\"-ping-right\"),xr),(0,q.Z)(ot,\"\".concat(Pr,\"-ping-top\"),Oa),(0,q.Z)(ot,\"\".concat(Pr,\"-ping-bottom\"),na),ot)),ref:Mt},u.createElement(Ae.Z,{onResize:Rr},u.createElement(\"div\",{ref:Bt,className:\"\".concat(Nt,\"-nav-list\"),style:{transform:\"translate(\".concat(en,\"px, \").concat(fn,\"px)\"),transition:Pn?\"none\":void 0}},kr,u.createElement(ue,{ref:Yt,prefixCls:Nt,locale:nt,editable:Ze,style:(0,X.Z)((0,X.Z)({},kr.length===0?void 0:Ir),{},{visibility:ir?\"hidden\":null})}),u.createElement(\"div\",{className:o()(\"\".concat(Nt,\"-ink-bar\"),(0,q.Z)({},\"\".concat(Nt,\"-ink-bar-animated\"),Wt.inkBar)),style:Gr})))),u.createElement(ft,(0,G.Z)({},Re,{removeAriaLabel:nt==null?void 0:nt.removeAriaLabel,ref:Kt,prefixCls:Nt,tabs:La,className:!ir&&kt,tabMoving:!!Pn})),u.createElement(me,{ref:Pt,position:\"right\",extra:tt,prefixCls:Nt})))}var He=u.forwardRef(ye),rt=[\"renderTabBar\"],$e=[\"label\",\"key\"];function pt(Re){var Ge=Re.renderTabBar,ot=(0,Te.Z)(Re,rt),Dt=u.useContext(T),Nt=Dt.tabs;if(Ge){var Lt=(0,X.Z)((0,X.Z)({},ot),{},{panes:Nt.map(function(Ht){var Vt=Ht.label,an=Ht.key,Wt=(0,Te.Z)(Ht,$e);return u.createElement(j,(0,G.Z)({tab:Vt,key:an,tabKey:an},Wt))})});return Ge(Lt,He)}return u.createElement(He,ot)}var Ot=e(53675);function at(){var Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},Ge;return Re===!1?Ge={inkBar:!1,tabPane:!1}:Re===!0?Ge={inkBar:!0,tabPane:!1}:Ge=(0,X.Z)({inkBar:!0},(0,Ee.Z)(Re)===\"object\"?Re:{}),Ge.tabPaneMotion&&Ge.tabPane===void 0&&(Ge.tabPane=!0),!Ge.tabPaneMotion&&Ge.tabPane&&(Ge.tabPane=!1),Ge}var wt=[\"id\",\"prefixCls\",\"className\",\"items\",\"direction\",\"activeKey\",\"defaultActiveKey\",\"editable\",\"animated\",\"tabPosition\",\"tabBarGutter\",\"tabBarStyle\",\"tabBarExtraContent\",\"locale\",\"moreIcon\",\"moreTransitionName\",\"destroyInactiveTabPane\",\"renderTabBar\",\"onChange\",\"onTabClick\",\"onTabScroll\",\"getPopupContainer\",\"popupClassName\"],vt=0;function jt(Re,Ge){var ot,Dt=Re.id,Nt=Re.prefixCls,Lt=Nt===void 0?\"rc-tabs\":Nt,Ht=Re.className,Vt=Re.items,an=Re.direction,Wt=Re.activeKey,bn=Re.defaultActiveKey,ln=Re.editable,tt=Re.animated,Ze=Re.tabPosition,nt=Ze===void 0?\"top\":Ze,st=Re.tabBarGutter,Qe=Re.tabBarStyle,ct=Re.tabBarExtraContent,lt=Re.locale,gt=Re.moreIcon,mt=Re.moreTransitionName,Et=Re.destroyInactiveTabPane,Pt=Re.renderTabBar,Mt=Re.onChange,Bt=Re.onTabClick,Kt=Re.onTabScroll,Yt=Re.getPopupContainer,$t=Re.popupClassName,dn=(0,Te.Z)(Re,wt),Xt=u.useMemo(function(){return(Vt||[]).filter(function(P){return P&&(0,Ee.Z)(P)===\"object\"&&\"key\"in P})},[Vt]),en=an===\"rtl\",hn=at(tt),pn=(0,u.useState)(!1),Sn=(0,oe.Z)(pn,2),fn=Sn[0],Zt=Sn[1];(0,u.useEffect)(function(){Zt((0,ae.Z)())},[]);var ar=(0,z.Z)(function(){var P;return(P=Xt[0])===null||P===void 0?void 0:P.key},{value:Wt,defaultValue:bn}),An=(0,oe.Z)(ar,2),sn=An[0],Rn=An[1],Nn=(0,u.useState)(function(){return Xt.findIndex(function(P){return P.key===sn})}),Bn=(0,oe.Z)(Nn,2),Vn=Bn[0],Fn=Bn[1];(0,u.useEffect)(function(){var P=Xt.findIndex(function(ne){return ne.key===sn});if(P===-1){var D;P=Math.max(0,Math.min(Vn,Xt.length-1)),Rn((D=Xt[P])===null||D===void 0?void 0:D.key)}Fn(P)},[Xt.map(function(P){return P.key}).join(\"_\"),sn,Vn]);var H=(0,z.Z)(null,{value:Dt}),ie=(0,oe.Z)(H,2),re=ie[0],xe=ie[1];(0,u.useEffect)(function(){Dt||(xe(\"rc-tabs-\".concat(vt)),vt+=1)},[]);function Ke(P,D){Bt==null||Bt(P,D);var ne=P!==sn;Rn(P),ne&&(Mt==null||Mt(P))}var Ue={id:re,activeKey:sn,animated:hn,tabPosition:nt,rtl:en,mobile:fn},J,w=(0,X.Z)((0,X.Z)({},Ue),{},{editable:ln,locale:lt,moreIcon:gt,moreTransitionName:mt,tabBarGutter:st,onTabClick:Ke,onTabScroll:Kt,extra:ct,style:Qe,panes:null,getPopupContainer:Yt,popupClassName:$t});return u.createElement(T.Provider,{value:{tabs:Xt,prefixCls:Lt}},u.createElement(\"div\",(0,G.Z)({ref:Ge,id:Dt,className:o()(Lt,\"\".concat(Lt,\"-\").concat(nt),(ot={},(0,q.Z)(ot,\"\".concat(Lt,\"-mobile\"),fn),(0,q.Z)(ot,\"\".concat(Lt,\"-editable\"),ln),(0,q.Z)(ot,\"\".concat(Lt,\"-rtl\"),en),ot),Ht)},dn),J,u.createElement(pt,(0,G.Z)({},w,{renderTabBar:Pt})),u.createElement(B,(0,G.Z)({destroyInactiveTabPane:Et},Ue,{animated:hn}))))}var At=u.forwardRef(jt),qt=At,En=qt;function Ft(Re,Ge){return Jn(Re)||Wn(Re,Ge)||xn(Re,Ge)||_n()}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.`)}function xn(Re,Ge){if(Re){if(typeof Re==\"string\")return Zn(Re,Ge);var ot=Object.prototype.toString.call(Re).slice(8,-1);if(ot===\"Object\"&&Re.constructor&&(ot=Re.constructor.name),ot===\"Map\"||ot===\"Set\")return Array.from(Re);if(ot===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ot))return Zn(Re,Ge)}}function Zn(Re,Ge){(Ge==null||Ge>Re.length)&&(Ge=Re.length);for(var ot=0,Dt=new Array(Ge);ot<Ge;ot++)Dt[ot]=Re[ot];return Dt}function Wn(Re,Ge){var ot=Re==null?null:typeof Symbol!=\"undefined\"&&Re[Symbol.iterator]||Re[\"@@iterator\"];if(ot!=null){var Dt=[],Nt=!0,Lt=!1,Ht,Vt;try{for(ot=ot.call(Re);!(Nt=(Ht=ot.next()).done)&&(Dt.push(Ht.value),!(Ge&&Dt.length===Ge));Nt=!0);}catch(an){Lt=!0,Vt=an}finally{try{!Nt&&ot.return!=null&&ot.return()}finally{if(Lt)throw Vt}}return Dt}}function Jn(Re){if(Array.isArray(Re))return Re}var Un=function(){return u.createElement(\"svg\",{viewBox:\"0 0 200 117\"},u.createElement(\"path\",{d:\"M59.688 2.578c-3.438-3.437-8.438-3.437-11.563 0L3.75 48.516c-5 5.937-5 14.062 0 19.062l44.063 45.938c1.562 1.562 4.062 2.5 5.937 2.5s4.063-.938 5.938-2.5c3.437-3.438 3.437-8.438 0-11.563l-42.5-43.437 42.5-44.063c3.437-3.437 3.437-8.437 0-11.875Zm135.937 45.938L151.25 2.578c-3.438-3.437-8.438-3.437-11.563 0-3.125 3.438-3.437 8.438 0 11.563l42.5 44.375-42.5 44.062c-3.437 3.438-3.437 8.438 0 11.563 1.563 1.562 3.438 2.5 5.938 2.5 2.5 0 4.063-.938 5.938-2.5l44.062-45.938c5.625-5.625 5.625-13.75 0-19.687Zm-75.938-45c-4.062-1.563-9.062.937-10.937 5l-34.063 95c-1.562 4.062.938 9.062 5 10.937.938 0 1.563.938 2.5.938 3.438 0 6.563-2.5 7.5-5.938l35-95.937c1.563-4.063-.937-9.063-5-10Z\"}))},qn=function(){return u.createElement(\"svg\",{viewBox:\"0 0 200 117\"},u.createElement(\"path\",{d:\"M59.688 2.578c-3.438-3.437-8.438-3.437-11.563 0L3.75 48.516c-5 5.937-5 14.062 0 19.062l44.063 45.938c1.562 1.562 4.062 2.5 5.937 2.5s4.063-.938 5.938-2.5c3.437-3.438 3.437-8.438 0-11.563l-42.5-43.437 42.5-44.063c3.437-3.437 3.437-8.437 0-11.875Zm135.937 45.938L151.25 2.578c-3.438-3.437-8.438-3.437-11.563 0-3.125 3.438-3.437 8.438 0 11.563l42.5 44.375-42.5 44.062c-3.437 3.438-3.437 8.438 0 11.563 1.563 1.562 3.438 2.5 5.938 2.5 2.5 0 4.063-.938 5.938-2.5l44.062-45.938c5.625-5.625 5.625-13.75 0-19.687Z\"}))},cr=function(){return u.createElement(\"svg\",{viewBox:\"0 0 1024 1024\"},u.createElement(\"path\",{d:\"M853.333 469.333A42.667 42.667 0 0 0 810.667 512v256A42.667 42.667 0 0 1 768 810.667H256A42.667 42.667 0 0 1 213.333 768V256A42.667 42.667 0 0 1 256 213.333h256A42.667 42.667 0 0 0 512 128H256a128 128 0 0 0-128 128v512a128 128 0 0 0 128 128h512a128 128 0 0 0 128-128V512a42.667 42.667 0 0 0-42.667-42.667z\"}),u.createElement(\"path\",{d:\"M682.667 213.333h67.413L481.707 481.28a42.667 42.667 0 0 0 0 60.587 42.667 42.667 0 0 0 60.586 0L810.667 273.92v67.413A42.667 42.667 0 0 0 853.333 384 42.667 42.667 0 0 0 896 341.333V170.667A42.667 42.667 0 0 0 853.333 128H682.667a42.667 42.667 0 0 0 0 85.333z\"}))},pr=function(Ge){var ot,Dt,Nt,Lt,Ht=(0,r.YB)(),Vt=Object.entries(Ge.asset.dependencies).filter(function(lt){var gt=Ft(lt,2),mt=gt[1].type;return mt===\"FILE\"}),an=(0,u.useState)(0),Wt=Ft(an,2),bn=Wt[0],ln=Wt[1],tt=(0,u.useState)(Ge.forceShowCode||Ge.defaultShowCode),Ze=Ft(tt,2),nt=Ze[0],st=Ze[1],Qe=Vt.length===1,ct=((ot=Vt[bn][0].match(/\\.([^.]+)$/))===null||ot===void 0?void 0:ot[1])||\"text\";return u.createElement(u.Fragment,null,u.createElement(\"div\",{className:\"dumi-default-previewer-actions\"},!((Dt=Ge.disabledActions)!==null&&Dt!==void 0&&Dt.includes(\"CSB\"))&&u.createElement(\"button\",{className:\"dumi-default-previewer-action-btn\",type:\"button\",\"data-dumi-tooltip\":Ht.formatMessage({id:\"previewer.actions.codesandbox\"}),onClick:function(){return(0,r.il)(Ge)}},u.createElement(g,null)),!((Nt=Ge.disabledActions)!==null&&Nt!==void 0&&Nt.includes(\"STACKBLITZ\"))&&u.createElement(\"button\",{className:\"dumi-default-previewer-action-btn\",type:\"button\",\"data-dumi-tooltip\":Ht.formatMessage({id:\"previewer.actions.stackblitz\"}),onClick:function(){return(0,r.Sc)(Ge)}},u.createElement(k,null)),!((Lt=Ge.disabledActions)!==null&&Lt!==void 0&&Lt.includes(\"EXTERNAL\"))&&u.createElement(\"a\",{target:\"_blank\",rel:\"noreferrer\",href:Ge.demoUrl,className:\"dumi-default-previewer-action-btn\",\"data-dumi-tooltip\":Ht.formatMessage({id:\"previewer.actions.separate\"})},u.createElement(cr,null)),u.createElement(K,Ge),!Ge.forceShowCode&&u.createElement(\"button\",{className:\"dumi-default-previewer-action-btn\",type:\"button\",onClick:function(){return st(function(gt){return!gt})},\"data-dumi-tooltip\":Ht.formatMessage({id:\"previewer.actions.code.\".concat(nt?\"shrink\":\"expand\")})},nt?u.createElement(qn,null):u.createElement(Un,null))),nt&&u.createElement(u.Fragment,null,u.createElement(\"div\",{className:\"dumi-default-previewer-sources\"},!Qe&&u.createElement(En,{className:\"dumi-default-previewer-tabs\",prefixCls:\"dumi-default-tabs\",moreIcon:\"\\xB7\\xB7\\xB7\",defaultActiveKey:String(bn),onChange:function(gt){return ln(Number(gt))},items:Vt.map(function(lt,gt){var mt=Ft(lt,1),Et=mt[0];return{key:String(gt),label:Et}})})),u.createElement(x.Z,{lang:ct},Vt[bn][1].value)))},vr=pr;function Dn(Re){return Dn=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(Ge){return typeof Ge}:function(Ge){return Ge&&typeof Symbol==\"function\"&&Ge.constructor===Symbol&&Ge!==Symbol.prototype?\"symbol\":typeof Ge},Dn(Re)}var br=function(Ge){var ot=(0,r.TH)(),Dt=ot.hash,Nt=\"#\".concat(Ge.asset.id);return u.createElement(\"div\",{id:Ge.asset.id,className:o()(\"dumi-default-previewer\",Ge.className),style:Ge.style,\"data-debug\":Ge.debug,\"data-active\":Dt===Nt||void 0},u.createElement(\"div\",{className:\"dumi-default-previewer-demo\",style:{background:Ge.background},\"data-compact\":Ge.compact||void 0,\"data-transform\":Ge.transform||void 0,\"data-iframe\":Ge.iframe||void 0},Ge.iframe?u.createElement(\"iframe\",{style:[\"string\",\"number\"].includes(Dn(Ge.iframe))?{height:Number(Ge.iframe)}:{},src:Ge.demoUrl}):Ge.children),u.createElement(\"div\",{className:\"dumi-default-previewer-meta\"},(Ge.title||Ge.debug)&&u.createElement(\"div\",{className:\"dumi-default-previewer-desc\"},u.createElement(\"h5\",null,u.createElement(\"a\",{href:Nt},Ge.debug&&u.createElement(\"strong\",null,\"DEV ONLY\"),Ge.title)),Ge.description&&u.createElement(\"div\",{className:\"markdown\",dangerouslySetInnerHTML:{__html:Ge.description}})),u.createElement(vr,Ge)))},zn=br},45626:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return it}});var a=e(50959),o=Object.defineProperty,r=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,d=(V,we,Ie)=>we in V?o(V,we,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):V[we]=Ie,f=(V,we)=>{for(var Ie in we||(we={}))u.call(we,Ie)&&d(V,Ie,we[Ie]);if(r)for(var Ie of r(we))l.call(we,Ie)&&d(V,Ie,we[Ie]);return V};const v=V=>a.createElement(\"svg\",f({viewBox:\"64 64 896 896\"},V),a.createElement(\"path\",{d:\"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z\"}));var p=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNOTEyIDE5MGgtNjkuOWMtOS44IDAtMTkuMSA0LjUtMjUuMSAxMi4yTDQwNC43IDcyNC41IDIwNyA0NzRhMzIgMzIgMCAwIDAtMjUuMS0xMi4ySDExMmMtNi43IDAtMTAuNCA3LjctNi4zIDEyLjlsMjczLjkgMzQ3YzEyLjggMTYuMiAzNy40IDE2LjIgNTAuMyAwbDQ4OC40LTYxOC45YzQuMS01LjEuNC0xMi44LTYuMy0xMi44eiIvPjwvc3ZnPg==\",h=Object.defineProperty,g=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,I=(V,we,Ie)=>we in V?h(V,we,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):V[we]=Ie,N=(V,we)=>{for(var Ie in we||(we={}))y.call(we,Ie)&&I(V,Ie,we[Ie]);if(g)for(var Ie of g(we))S.call(we,Ie)&&I(V,Ie,we[Ie]);return V};const _=V=>a.createElement(\"svg\",N({viewBox:\"64 64 896 896\"},V),a.createElement(\"path\",{d:\"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2 263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z\"}));var M=\"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODMyIDY0SDI5NmMtNC40IDAtOCAzLjYtOCA4djU2YzAgNC40IDMuNiA4IDggOGg0OTZ2Njg4YzAgNC40IDMuNiA4IDggOGg1NmM0LjQgMCA4LTMuNiA4LThWOTZjMC0xNy43LTE0LjMtMzItMzItMzJ6TTcwNCAxOTJIMTkyYy0xNy43IDAtMzIgMTQuMy0zMiAzMnY1MzAuN2MwIDguNSAzLjQgMTYuNiA5LjQgMjIuNmwxNzMuMyAxNzMuM2MyLjIgMi4yIDQuNyA0IDcuNCA1LjV2MS45aDQuMmMzLjUgMS4zIDcuMiAyIDExIDJINzA0YzE3LjcgMCAzMi0xNC4zIDMyLTMyVjIyNGMwLTE3LjctMTQuMy0zMi0zMi0zMnpNMzUwIDg1Ni4yIDI2My45IDc3MEgzNTB2ODYuMnpNNjY0IDg4OEg0MTRWNzQ2YzAtMjIuMS0xNy45LTQwLTQwLTQwSDIzMlYyNjRoNDMydjYyNHoiLz48L3N2Zz4=\",L=e(84875),k=e.n(L);var U=function(){var V=/(?:^|\\s)lang(?:uage)?-([\\w-]+)(?=\\s|$)/i,we=0,Ie={},le={util:{encode:function Z(Y){return Y instanceof Ne?new Ne(Y.type,Z(Y.content),Y.alias):Array.isArray(Y)?Y.map(Z):Y.replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/\\u00a0/g,\" \")},type:function(Z){return Object.prototype.toString.call(Z).slice(8,-1)},objId:function(Z){return Z.__id||Object.defineProperty(Z,\"__id\",{value:++we}),Z.__id},clone:function Z(Y,ue){ue=ue||{};var he,me;switch(le.util.type(Y)){case\"Object\":if(me=le.util.objId(Y),ue[me])return ue[me];he={},ue[me]=he;for(var Oe in Y)Y.hasOwnProperty(Oe)&&(he[Oe]=Z(Y[Oe],ue));return he;case\"Array\":return me=le.util.objId(Y),ue[me]?ue[me]:(he=[],ue[me]=he,Y.forEach(function(We,ke){he[ke]=Z(We,ue)}),he);default:return Y}},getLanguage:function(Z){for(;Z;){var Y=V.exec(Z.className);if(Y)return Y[1].toLowerCase();Z=Z.parentElement}return\"none\"},setLanguage:function(Z,Y){Z.className=Z.className.replace(RegExp(V,\"gi\"),\"\"),Z.classList.add(\"language-\"+Y)},isActive:function(Z,Y,ue){for(var he=\"no-\"+Y;Z;){var me=Z.classList;if(me.contains(Y))return!0;if(me.contains(he))return!1;Z=Z.parentElement}return!!ue}},languages:{plain:Ie,plaintext:Ie,text:Ie,txt:Ie,extend:function(Z,Y){var ue=le.util.clone(le.languages[Z]);for(var he in Y)ue[he]=Y[he];return ue},insertBefore:function(Z,Y,ue,he){he=he||le.languages;var me=he[Z],Oe={};for(var We in me)if(me.hasOwnProperty(We)){if(We==Y)for(var ke in ue)ue.hasOwnProperty(ke)&&(Oe[ke]=ue[ke]);ue.hasOwnProperty(We)||(Oe[We]=me[We])}var It=he[Z];return he[Z]=Oe,le.languages.DFS(le.languages,function(ft,nn){nn===It&&ft!=Z&&(this[ft]=Oe)}),Oe},DFS:function Z(Y,ue,he,me){me=me||{};var Oe=le.util.objId;for(var We in Y)if(Y.hasOwnProperty(We)){ue.call(Y,We,Y[We],he||We);var ke=Y[We],It=le.util.type(ke);It===\"Object\"&&!me[Oe(ke)]?(me[Oe(ke)]=!0,Z(ke,ue,null,me)):It===\"Array\"&&!me[Oe(ke)]&&(me[Oe(ke)]=!0,Z(ke,ue,We,me))}}},plugins:{},highlight:function(Z,Y,ue){var he={code:Z,grammar:Y,language:ue};return le.hooks.run(\"before-tokenize\",he),he.tokens=le.tokenize(he.code,he.grammar),le.hooks.run(\"after-tokenize\",he),Ne.stringify(le.util.encode(he.tokens),he.language)},tokenize:function(Z,Y){var ue=Y.rest;if(ue){for(var he in ue)Y[he]=ue[he];delete Y.rest}var me=new pe;return ee(me,me.head,Z),se(Z,me,Y,me.head,0),Q(me)},hooks:{all:{},add:function(Z,Y){var ue=le.hooks.all;ue[Z]=ue[Z]||[],ue[Z].push(Y)},run:function(Z,Y){var ue=le.hooks.all[Z];if(!(!ue||!ue.length))for(var he=0,me;me=ue[he++];)me(Y)}},Token:Ne};function Ne(Z,Y,ue,he){this.type=Z,this.content=Y,this.alias=ue,this.length=(he||\"\").length|0}Ne.stringify=function Z(Y,ue){if(typeof Y==\"string\")return Y;if(Array.isArray(Y)){var he=\"\";return Y.forEach(function(It){he+=Z(It,ue)}),he}var me={type:Y.type,content:Z(Y.content,ue),tag:\"span\",classes:[\"token\",Y.type],attributes:{},language:ue},Oe=Y.alias;Oe&&(Array.isArray(Oe)?Array.prototype.push.apply(me.classes,Oe):me.classes.push(Oe)),le.hooks.run(\"wrap\",me);var We=\"\";for(var ke in me.attributes)We+=\" \"+ke+'=\"'+(me.attributes[ke]||\"\").replace(/\"/g,\"&quot;\")+'\"';return\"<\"+me.tag+' class=\"'+me.classes.join(\" \")+'\"'+We+\">\"+me.content+\"</\"+me.tag+\">\"};function te(Z,Y,ue,he){Z.lastIndex=Y;var me=Z.exec(ue);if(me&&he&&me[1]){var Oe=me[1].length;me.index+=Oe,me[0]=me[0].slice(Oe)}return me}function se(Z,Y,ue,he,me,Oe){for(var We in ue)if(!(!ue.hasOwnProperty(We)||!ue[We])){var ke=ue[We];ke=Array.isArray(ke)?ke:[ke];for(var It=0;It<ke.length;++It){if(Oe&&Oe.cause==We+\",\"+It)return;var ft=ke[It],nn=ft.inside,b=!!ft.lookbehind,W=!!ft.greedy,de=ft.alias;if(W&&!ft.pattern.global){var ye=ft.pattern.toString().match(/[imsuy]*$/)[0];ft.pattern=RegExp(ft.pattern.source,ye+\"g\")}for(var He=ft.pattern||ft,rt=he.next,$e=me;rt!==Y.tail&&!(Oe&&$e>=Oe.reach);$e+=rt.value.length,rt=rt.next){var pt=rt.value;if(Y.length>Z.length)return;if(!(pt instanceof Ne)){var Ot=1,at;if(W){if(at=te(He,$e,Z,b),!at||at.index>=Z.length)break;var At=at.index,wt=at.index+at[0].length,vt=$e;for(vt+=rt.value.length;At>=vt;)rt=rt.next,vt+=rt.value.length;if(vt-=rt.value.length,$e=vt,rt.value instanceof Ne)continue;for(var jt=rt;jt!==Y.tail&&(vt<wt||typeof jt.value==\"string\");jt=jt.next)Ot++,vt+=jt.value.length;Ot--,pt=Z.slice($e,vt),at.index-=$e}else if(at=te(He,0,pt,b),!at)continue;var At=at.index,qt=at[0],En=pt.slice(0,At),Ft=pt.slice(At+qt.length),_n=$e+pt.length;Oe&&_n>Oe.reach&&(Oe.reach=_n);var xn=rt.prev;En&&(xn=ee(Y,xn,En),$e+=En.length),Se(Y,xn,Ot);var Zn=new Ne(We,nn?le.tokenize(qt,nn):qt,de,qt);if(rt=ee(Y,xn,Zn),Ft&&ee(Y,rt,Ft),Ot>1){var Wn={cause:We+\",\"+It,reach:_n};se(Z,Y,ue,rt.prev,$e,Wn),Oe&&Wn.reach>Oe.reach&&(Oe.reach=Wn.reach)}}}}}}function pe(){var Z={value:null,prev:null,next:null},Y={value:null,prev:Z,next:null};Z.next=Y,this.head=Z,this.tail=Y,this.length=0}function ee(Z,Y,ue){var he=Y.next,me={value:ue,prev:Y,next:he};return Y.next=me,he.prev=me,Z.length++,me}function Se(Z,Y,ue){for(var he=Y.next,me=0;me<ue&&he!==Z.tail;me++)he=he.next;Y.next=he,he.prev=Y,Z.length-=me}function Q(Z){for(var Y=[],ue=Z.head.next;ue!==Z.tail;)Y.push(ue.value),ue=ue.next;return Y}return le}(),x=U;U.default=U,x.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\\s\\S])*?-->/,greedy:!0},prolog:{pattern:/<\\?[\\s\\S]+?\\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>\"'[\\]]|\"[^\"]*\"|'[^']*')+(?:\\[(?:[^<\"'\\]]|\"[^\"]*\"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\\]\\s*)?>/i,greedy:!0,inside:{\"internal-subset\":{pattern:/(^[^\\[]*\\[)[\\s\\S]+(?=\\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/\"[^\"]*\"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\\]]/,\"doctype-tag\":/^DOCTYPE/i,name:/[^\\s<>'\"]+/}},cdata:{pattern:/<!\\[CDATA\\[[\\s\\S]*?\\]\\]>/i,greedy:!0},tag:{pattern:/<\\/?(?!\\d)[^\\s>\\/=$<%]+(?:\\s(?:\\s*[^\\s>\\/=]+(?:\\s*=\\s*(?:\"[^\"]*\"|'[^']*'|[^\\s'\">=]+(?=[\\s>]))|(?=[\\s/>])))+)?\\s*\\/?>/,greedy:!0,inside:{tag:{pattern:/^<\\/?[^\\s>\\/]+/,inside:{punctuation:/^<\\/?/,namespace:/^[^\\s>\\/:]+:/}},\"special-attr\":[],\"attr-value\":{pattern:/=\\s*(?:\"[^\"]*\"|'[^']*'|[^\\s'\">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:\"attr-equals\"},/\"|'/]}},punctuation:/\\/?>/,\"attr-name\":{pattern:/[^\\s>\\/]+/,inside:{namespace:/^[^\\s>\\/:]+:/}}}},entity:[{pattern:/&[\\da-z]{1,8};/i,alias:\"named-entity\"},/&#x?[\\da-f]{1,8};/i]},x.languages.markup.tag.inside[\"attr-value\"].inside.entity=x.languages.markup.entity,x.languages.markup.doctype.inside[\"internal-subset\"].inside=x.languages.markup,x.hooks.add(\"wrap\",function(V){V.type===\"entity\"&&(V.attributes.title=V.content.replace(/&amp;/,\"&\"))}),Object.defineProperty(x.languages.markup.tag,\"addInlined\",{value:function(we,Ie){var le={};le[\"language-\"+Ie]={pattern:/(^<!\\[CDATA\\[)[\\s\\S]+?(?=\\]\\]>$)/i,lookbehind:!0,inside:x.languages[Ie]},le.cdata=/^<!\\[CDATA\\[|\\]\\]>$/i;var Ne={\"included-cdata\":{pattern:/<!\\[CDATA\\[[\\s\\S]*?\\]\\]>/i,inside:le}};Ne[\"language-\"+Ie]={pattern:/[\\s\\S]+/,inside:x.languages[Ie]};var te={};te[we]={pattern:RegExp(/(<__[^>]*>)(?:<!\\[CDATA\\[(?:[^\\]]|\\](?!\\]>))*\\]\\]>|(?!<!\\[CDATA\\[)[\\s\\S])*?(?=<\\/__>)/.source.replace(/__/g,function(){return we}),\"i\"),lookbehind:!0,greedy:!0,inside:Ne},x.languages.insertBefore(\"markup\",\"cdata\",te)}}),Object.defineProperty(x.languages.markup.tag,\"addAttribute\",{value:function(V,we){x.languages.markup.tag.inside[\"special-attr\"].push({pattern:RegExp(/(^|[\"'\\s])/.source+\"(?:\"+V+\")\"+/\\s*=\\s*(?:\"[^\"]*\"|'[^']*'|[^\\s'\">=]+(?=[\\s>]))/.source,\"i\"),lookbehind:!0,inside:{\"attr-name\":/^[^\\s=]+/,\"attr-value\":{pattern:/=[\\s\\S]+/,inside:{value:{pattern:/(^=\\s*([\"']|(?![\"'])))\\S[\\s\\S]*(?=\\2$)/,lookbehind:!0,alias:[we,\"language-\"+we],inside:x.languages[we]},punctuation:[{pattern:/^=/,alias:\"attr-equals\"},/\"|'/]}}}})}}),x.languages.html=x.languages.markup,x.languages.mathml=x.languages.markup,x.languages.svg=x.languages.markup,x.languages.xml=x.languages.extend(\"markup\",{}),x.languages.ssml=x.languages.xml,x.languages.atom=x.languages.xml,x.languages.rss=x.languages.xml,function(V){var we=\"\\\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\\\b\",Ie={pattern:/(^([\"']?)\\w+\\2)[ \\t]+\\S.*/,lookbehind:!0,alias:\"punctuation\",inside:null},le={bash:Ie,environment:{pattern:RegExp(\"\\\\$\"+we),alias:\"constant\"},variable:[{pattern:/\\$?\\(\\([\\s\\S]+?\\)\\)/,greedy:!0,inside:{variable:[{pattern:/(^\\$\\(\\([\\s\\S]+)\\)\\)/,lookbehind:!0},/^\\$\\(\\(/],number:/\\b0x[\\dA-Fa-f]+\\b|(?:\\b\\d+(?:\\.\\d*)?|\\B\\.\\d+)(?:[Ee]-?\\d+)?/,operator:/--|\\+\\+|\\*\\*=?|<<=?|>>=?|&&|\\|\\||[=!+\\-*/%<>^&|]=?|[?~:]/,punctuation:/\\(\\(?|\\)\\)?|,|;/}},{pattern:/\\$\\((?:\\([^)]+\\)|[^()])+\\)|`[^`]+`/,greedy:!0,inside:{variable:/^\\$\\(|^`|\\)$|`$/}},{pattern:/\\$\\{[^}]+\\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\\/]|##?|%%?|\\^\\^?|,,?/,punctuation:/[\\[\\]]/,environment:{pattern:RegExp(\"(\\\\{)\"+we),lookbehind:!0,alias:\"constant\"}}},/\\$(?:\\w+|[#?*!@$])/],entity:/\\\\(?:[abceEfnrtv\\\\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};V.languages.bash={shebang:{pattern:/^#!\\s*\\/.*/,alias:\"important\"},comment:{pattern:/(^|[^\"{\\\\$])#.*/,lookbehind:!0},\"function-name\":[{pattern:/(\\bfunction\\s+)[\\w-]+(?=(?:\\s*\\(?:\\s*\\))?\\s*\\{)/,lookbehind:!0,alias:\"function\"},{pattern:/\\b[\\w-]+(?=\\s*\\(\\s*\\)\\s*\\{)/,alias:\"function\"}],\"for-or-select\":{pattern:/(\\b(?:for|select)\\s+)\\w+(?=\\s+in\\s)/,alias:\"variable\",lookbehind:!0},\"assign-left\":{pattern:/(^|[\\s;|&]|[<>]\\()\\w+(?=\\+?=)/,inside:{environment:{pattern:RegExp(\"(^|[\\\\s;|&]|[<>]\\\\()\"+we),lookbehind:!0,alias:\"constant\"}},alias:\"variable\",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\\s*)(\\w+)\\s[\\s\\S]*?(?:\\r?\\n|\\r)\\2/,lookbehind:!0,greedy:!0,inside:le},{pattern:/((?:^|[^<])<<-?\\s*)([\"'])(\\w+)\\2\\s[\\s\\S]*?(?:\\r?\\n|\\r)\\3/,lookbehind:!0,greedy:!0,inside:{bash:Ie}},{pattern:/(^|[^\\\\](?:\\\\\\\\)*)\"(?:\\\\[\\s\\S]|\\$\\([^)]+\\)|\\$(?!\\()|`[^`]+`|[^\"\\\\`$])*\"/,lookbehind:!0,greedy:!0,inside:le},{pattern:/(^|[^$\\\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\\$'(?:[^'\\\\]|\\\\[\\s\\S])*'/,greedy:!0,inside:{entity:le.entity}}],environment:{pattern:RegExp(\"\\\\$?\"+we),alias:\"constant\"},variable:le.variable,function:{pattern:/(^|[\\s;|&]|[<>]\\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\\s;|&]|[<>]\\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\\s;|&]|[<>]\\()(?:\\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\\s;|&])/,lookbehind:!0,alias:\"class-name\"},boolean:{pattern:/(^|[\\s;|&]|[<>]\\()(?:false|true)(?=$|[)\\s;|&])/,lookbehind:!0},\"file-descriptor\":{pattern:/\\B&\\d\\b/,alias:\"important\"},operator:{pattern:/\\d?<>|>\\||\\+=|=[=~]?|!=?|<<[<-]?|[&\\d]?>>|\\d[<>]&?|[<>][&=]?|&[>&]?|\\|[&|]?/,inside:{\"file-descriptor\":{pattern:/^\\d/,alias:\"important\"}}},punctuation:/\\$?\\(\\(?|\\)\\)?|\\.\\.|[{}[\\];\\\\]/,number:{pattern:/(^|\\s)(?:[1-9]\\d*|0)(?:[.,]\\d+)?\\b/,lookbehind:!0}},Ie.inside=V.languages.bash;for(var Ne=[\"comment\",\"function-name\",\"for-or-select\",\"assign-left\",\"string\",\"environment\",\"function\",\"keyword\",\"builtin\",\"boolean\",\"file-descriptor\",\"operator\",\"punctuation\",\"number\"],te=le.variable[1].inside,se=0;se<Ne.length;se++)te[Ne[se]]=V.languages.bash[Ne[se]];V.languages.shell=V.languages.bash}(x),x.languages.clike={comment:[{pattern:/(^|[^\\\\])\\/\\*[\\s\\S]*?(?:\\*\\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\\\:])\\/\\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/([\"'])(?:\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,greedy:!0},\"class-name\":{pattern:/(\\b(?:class|extends|implements|instanceof|interface|new|trait)\\s+|\\bcatch\\s+\\()[\\w.\\\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\\\]/}},keyword:/\\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\\b/,boolean:/\\b(?:false|true)\\b/,function:/\\b\\w+(?=\\()/,number:/\\b0x[\\da-f]+\\b|(?:\\b\\d+(?:\\.\\d*)?|\\B\\.\\d+)(?:e[+-]?\\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\\+\\+?|&&?|\\|\\|?|[?*/~^%]/,punctuation:/[{}[\\];(),.:]/},x.languages.c=x.languages.extend(\"clike\",{comment:{pattern:/\\/\\/(?:[^\\r\\n\\\\]|\\\\(?:\\r\\n?|\\n|(?![\\r\\n])))*|\\/\\*[\\s\\S]*?(?:\\*\\/|$)/,greedy:!0},string:{pattern:/\"(?:\\\\(?:\\r\\n|[\\s\\S])|[^\"\\\\\\r\\n])*\"/,greedy:!0},\"class-name\":{pattern:/(\\b(?:enum|struct)\\s+(?:__attribute__\\s*\\(\\([\\s\\S]*?\\)\\)\\s*)?)\\w+|\\b[a-z]\\w*_t\\b/,lookbehind:!0},keyword:/\\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\\b/,function:/\\b[a-z_]\\w*(?=\\s*\\()/i,number:/(?:\\b0x(?:[\\da-f]+(?:\\.[\\da-f]*)?|\\.[\\da-f]+)(?:p[+-]?\\d+)?|(?:\\b\\d+(?:\\.\\d*)?|\\B\\.\\d+)(?:e[+-]?\\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\\1|[?:~]|[-+*/%&|^!=<>]=?/}),x.languages.insertBefore(\"c\",\"string\",{char:{pattern:/'(?:\\\\(?:\\r\\n|[\\s\\S])|[^'\\\\\\r\\n]){0,32}'/,greedy:!0}}),x.languages.insertBefore(\"c\",\"string\",{macro:{pattern:/(^[\\t ]*)#\\s*[a-z](?:[^\\r\\n\\\\/]|\\/(?!\\*)|\\/\\*(?:[^*]|\\*(?!\\/))*\\*\\/|\\\\(?:\\r\\n|[\\s\\S]))*/im,lookbehind:!0,greedy:!0,alias:\"property\",inside:{string:[{pattern:/^(#\\s*include\\s*)<[^>]+>/,lookbehind:!0},x.languages.c.string],char:x.languages.c.char,comment:x.languages.c.comment,\"macro-name\":[{pattern:/(^#\\s*define\\s+)\\w+\\b(?!\\()/i,lookbehind:!0},{pattern:/(^#\\s*define\\s+)\\w+\\b(?=\\()/i,lookbehind:!0,alias:\"function\"}],directive:{pattern:/^(#\\s*)[a-z]+/,lookbehind:!0,alias:\"keyword\"},\"directive-hash\":/^#/,punctuation:/##|\\\\(?=[\\r\\n])/,expression:{pattern:/\\S[\\s\\S]*/,inside:x.languages.c}}}}),x.languages.insertBefore(\"c\",\"function\",{constant:/\\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\\b/}),delete x.languages.c.boolean,function(V){var we=/\\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\\b/,Ie=/\\b(?!<keyword>)\\w+(?:\\s*\\.\\s*\\w+)*\\b/.source.replace(/<keyword>/g,function(){return we.source});V.languages.cpp=V.languages.extend(\"c\",{\"class-name\":[{pattern:RegExp(/(\\b(?:class|concept|enum|struct|typename)\\s+)(?!<keyword>)\\w+/.source.replace(/<keyword>/g,function(){return we.source})),lookbehind:!0},/\\b[A-Z]\\w*(?=\\s*::\\s*\\w+\\s*\\()/,/\\b[A-Z_]\\w*(?=\\s*::\\s*~\\w+\\s*\\()/i,/\\b\\w+(?=\\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\\s*::\\s*\\w+\\s*\\()/],keyword:we,number:{pattern:/(?:\\b0b[01']+|\\b0x(?:[\\da-f']+(?:\\.[\\da-f']*)?|\\.[\\da-f']+)(?:p[+-]?[\\d']+)?|(?:\\b[\\d']+(?:\\.[\\d']*)?|\\B\\.[\\d']+)(?:e[+-]?[\\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\\+\\+|&&|\\|\\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\\b/,boolean:/\\b(?:false|true)\\b/}),V.languages.insertBefore(\"cpp\",\"string\",{module:{pattern:RegExp(/(\\b(?:import|module)\\s+)/.source+\"(?:\"+/\"(?:\\\\(?:\\r\\n|[\\s\\S])|[^\"\\\\\\r\\n])*\"|<[^<>\\r\\n]*>/.source+\"|\"+/<mod-name>(?:\\s*:\\s*<mod-name>)?|:\\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return Ie})+\")\"),lookbehind:!0,greedy:!0,inside:{string:/^[<\"][\\s\\S]+/,operator:/:/,punctuation:/\\./}},\"raw-string\":{pattern:/R\"([^()\\\\ ]{0,16})\\([\\s\\S]*?\\)\\1\"/,alias:\"string\",greedy:!0}}),V.languages.insertBefore(\"cpp\",\"keyword\",{\"generic-function\":{pattern:/\\b(?!operator\\b)[a-z_]\\w*\\s*<(?:[^<>]|<[^<>]*>)*>(?=\\s*\\()/i,inside:{function:/^\\w+/,generic:{pattern:/<[\\s\\S]+/,alias:\"class-name\",inside:V.languages.cpp}}}}),V.languages.insertBefore(\"cpp\",\"operator\",{\"double-colon\":{pattern:/::/,alias:\"punctuation\"}}),V.languages.insertBefore(\"cpp\",\"class-name\",{\"base-clause\":{pattern:/(\\b(?:class|struct)\\s+\\w+\\s*:\\s*)[^;{}\"'\\s]+(?:\\s+[^;{}\"'\\s]+)*(?=\\s*[;{])/,lookbehind:!0,greedy:!0,inside:V.languages.extend(\"cpp\",{})}}),V.languages.insertBefore(\"inside\",\"double-colon\",{\"class-name\":/\\b[a-z_]\\w*\\b(?!\\s*::)/i},V.languages.cpp[\"base-clause\"])}(x),function(V){var we=/(?:\"(?:\\\\(?:\\r\\n|[\\s\\S])|[^\"\\\\\\r\\n])*\"|'(?:\\\\(?:\\r\\n|[\\s\\S])|[^'\\\\\\r\\n])*')/;V.languages.css={comment:/\\/\\*[\\s\\S]*?\\*\\//,atrule:{pattern:/@[\\w-](?:[^;{\\s]|\\s+(?![\\s{]))*(?:;|(?=\\s*\\{))/,inside:{rule:/^@[\\w-]+/,\"selector-function-argument\":{pattern:/(\\bselector\\s*\\(\\s*(?![\\s)]))(?:[^()\\s]|\\s+(?![\\s)])|\\((?:[^()]|\\([^()]*\\))*\\))+(?=\\s*\\))/,lookbehind:!0,alias:\"selector\"},keyword:{pattern:/(^|[^\\w-])(?:and|not|only|or)(?![\\w-])/,lookbehind:!0}}},url:{pattern:RegExp(\"\\\\burl\\\\((?:\"+we.source+\"|\"+/(?:[^\\\\\\r\\n()\"']|\\\\[\\s\\S])*/.source+\")\\\\)\",\"i\"),greedy:!0,inside:{function:/^url/i,punctuation:/^\\(|\\)$/,string:{pattern:RegExp(\"^\"+we.source+\"$\"),alias:\"url\"}}},selector:{pattern:RegExp(`(^|[{}\\\\s])[^{}\\\\s](?:[^{};\"'\\\\s]|\\\\s+(?![\\\\s{])|`+we.source+\")*(?=\\\\s*\\\\{)\"),lookbehind:!0},string:{pattern:we,greedy:!0},property:{pattern:/(^|[^-\\w\\xA0-\\uFFFF])(?!\\s)[-_a-z\\xA0-\\uFFFF](?:(?!\\s)[-\\w\\xA0-\\uFFFF])*(?=\\s*:)/i,lookbehind:!0},important:/!important\\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\\()/i,lookbehind:!0},punctuation:/[(){};:,]/},V.languages.css.atrule.inside.rest=V.languages.css;var Ie=V.languages.markup;Ie&&(Ie.tag.addInlined(\"style\",\"css\"),Ie.tag.addAttribute(\"style\",\"css\"))}(x),function(V){var we=/(\"|')(?:\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,Ie;V.languages.css.selector={pattern:V.languages.css.selector.pattern,lookbehind:!0,inside:Ie={\"pseudo-element\":/:(?:after|before|first-letter|first-line|selection)|::[-\\w]+/,\"pseudo-class\":/:[-\\w]+/,class:/\\.[-\\w]+/,id:/#[-\\w]+/,attribute:{pattern:RegExp(`\\\\[(?:[^[\\\\]\"']|`+we.source+\")*\\\\]\"),greedy:!0,inside:{punctuation:/^\\[|\\]$/,\"case-sensitivity\":{pattern:/(\\s)[si]$/i,lookbehind:!0,alias:\"keyword\"},namespace:{pattern:/^(\\s*)(?:(?!\\s)[-*\\w\\xA0-\\uFFFF])*\\|(?!=)/,lookbehind:!0,inside:{punctuation:/\\|$/}},\"attr-name\":{pattern:/^(\\s*)(?:(?!\\s)[-\\w\\xA0-\\uFFFF])+/,lookbehind:!0},\"attr-value\":[we,{pattern:/(=\\s*)(?:(?!\\s)[-\\w\\xA0-\\uFFFF])+(?=\\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},\"n-th\":[{pattern:/(\\(\\s*)[+-]?\\d*[\\dn](?:\\s*[+-]\\s*\\d+)?(?=\\s*\\))/,lookbehind:!0,inside:{number:/[\\dn]+/,operator:/[+-]/}},{pattern:/(\\(\\s*)(?:even|odd)(?=\\s*\\))/i,lookbehind:!0}],combinator:/>|\\+|~|\\|\\|/,punctuation:/[(),]/}},V.languages.css.atrule.inside[\"selector-function-argument\"].inside=Ie,V.languages.insertBefore(\"css\",\"property\",{variable:{pattern:/(^|[^-\\w\\xA0-\\uFFFF])--(?!\\s)[-_a-z\\xA0-\\uFFFF](?:(?!\\s)[-\\w\\xA0-\\uFFFF])*/i,lookbehind:!0}});var le={pattern:/(\\b\\d+)(?:%|[a-z]+(?![\\w-]))/,lookbehind:!0},Ne={pattern:/(^|[^\\w.-])-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)/,lookbehind:!0};V.languages.insertBefore(\"css\",\"function\",{operator:{pattern:/(\\s)[+\\-*\\/](?=\\s)/,lookbehind:!0},hexcode:{pattern:/\\B#[\\da-f]{3,8}\\b/i,alias:\"color\"},color:[{pattern:/(^|[^\\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\\w-])/i,lookbehind:!0},{pattern:/\\b(?:hsl|rgb)\\(\\s*\\d{1,3}\\s*,\\s*\\d{1,3}%?\\s*,\\s*\\d{1,3}%?\\s*\\)\\B|\\b(?:hsl|rgb)a\\(\\s*\\d{1,3}\\s*,\\s*\\d{1,3}%?\\s*,\\s*\\d{1,3}%?\\s*,\\s*(?:0|0?\\.\\d+|1)\\s*\\)\\B/i,inside:{unit:le,number:Ne,function:/[\\w-]+(?=\\()/,punctuation:/[(),]/}}],entity:/\\\\[\\da-f]{1,8}/i,unit:le,number:Ne})}(x),x.languages.javascript=x.languages.extend(\"clike\",{\"class-name\":[x.languages.clike[\"class-name\"],{pattern:/(^|[^$\\w\\xA0-\\uFFFF])(?!\\s)[_$A-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*(?=\\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\\})\\s*)catch\\b/,lookbehind:!0},{pattern:/(^|[^.]|\\.\\.\\.\\s*)\\b(?:as|assert(?=\\s*\\{)|async(?=\\s*(?:function\\b|\\(|[$\\w\\xA0-\\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\\s*(?:\\{|$))|for|from(?=\\s*(?:['\"]|$))|function|(?:get|set)(?=\\s*(?:[#\\[$\\w\\xA0-\\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\\b/,lookbehind:!0}],function:/#?(?!\\s)[_$a-zA-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*(?=\\s*(?:\\.\\s*(?:apply|bind|call)\\s*)?\\()/,number:{pattern:RegExp(/(^|[^\\w$])/.source+\"(?:\"+(/NaN|Infinity/.source+\"|\"+/0[bB][01]+(?:_[01]+)*n?/.source+\"|\"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+\"|\"+/0[xX][\\dA-Fa-f]+(?:_[\\dA-Fa-f]+)*n?/.source+\"|\"+/\\d+(?:_\\d+)*n/.source+\"|\"+/(?:\\d+(?:_\\d+)*(?:\\.(?:\\d+(?:_\\d+)*)?)?|\\.\\d+(?:_\\d+)*)(?:[Ee][+-]?\\d+(?:_\\d+)*)?/.source)+\")\"+/(?![\\w$])/.source),lookbehind:!0},operator:/--|\\+\\+|\\*\\*=?|=>|&&=?|\\|\\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\\.{3}|\\?\\?=?|\\?\\.?|[~:]/}),x.languages.javascript[\"class-name\"][0].pattern=/(\\b(?:class|extends|implements|instanceof|interface|new)\\s+)[\\w.\\\\]+/,x.languages.insertBefore(\"javascript\",\"keyword\",{regex:{pattern:/((?:^|[^$\\w\\xA0-\\uFFFF.\"'\\])\\s]|\\b(?:return|yield))\\s*)\\/(?:\\[(?:[^\\]\\\\\\r\\n]|\\\\.)*\\]|\\\\.|[^/\\\\\\[\\r\\n])+\\/[dgimyus]{0,7}(?=(?:\\s|\\/\\*(?:[^*]|\\*(?!\\/))*\\*\\/)*(?:$|[\\r\\n,.;:})\\]]|\\/\\/))/,lookbehind:!0,greedy:!0,inside:{\"regex-source\":{pattern:/^(\\/)[\\s\\S]+(?=\\/[a-z]*$)/,lookbehind:!0,alias:\"language-regex\",inside:x.languages.regex},\"regex-delimiter\":/^\\/|\\/$/,\"regex-flags\":/^[a-z]+$/}},\"function-variable\":{pattern:/#?(?!\\s)[_$a-zA-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*(?=\\s*[=:]\\s*(?:async\\s*)?(?:\\bfunction\\b|(?:\\((?:[^()]|\\([^()]*\\))*\\)|(?!\\s)[_$a-zA-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*)\\s*=>))/,alias:\"function\"},parameter:[{pattern:/(function(?:\\s+(?!\\s)[_$a-zA-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*)?\\s*\\(\\s*)(?!\\s)(?:[^()\\s]|\\s+(?![\\s)])|\\([^()]*\\))+(?=\\s*\\))/,lookbehind:!0,inside:x.languages.javascript},{pattern:/(^|[^$\\w\\xA0-\\uFFFF])(?!\\s)[_$a-z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*(?=\\s*=>)/i,lookbehind:!0,inside:x.languages.javascript},{pattern:/(\\(\\s*)(?!\\s)(?:[^()\\s]|\\s+(?![\\s)])|\\([^()]*\\))+(?=\\s*\\)\\s*=>)/,lookbehind:!0,inside:x.languages.javascript},{pattern:/((?:\\b|\\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\\w\\xA0-\\uFFFF]))(?:(?!\\s)[_$a-zA-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*\\s*)\\(\\s*|\\]\\s*\\(\\s*)(?!\\s)(?:[^()\\s]|\\s+(?![\\s)])|\\([^()]*\\))+(?=\\s*\\)\\s*\\{)/,lookbehind:!0,inside:x.languages.javascript}],constant:/\\b[A-Z](?:[A-Z_]|\\dx?)*\\b/}),x.languages.insertBefore(\"javascript\",\"string\",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:\"comment\"},\"template-string\":{pattern:/`(?:\\\\[\\s\\S]|\\$\\{(?:[^{}]|\\{(?:[^{}]|\\{[^}]*\\})*\\})+\\}|(?!\\$\\{)[^\\\\`])*`/,greedy:!0,inside:{\"template-punctuation\":{pattern:/^`|`$/,alias:\"string\"},interpolation:{pattern:/((?:^|[^\\\\])(?:\\\\{2})*)\\$\\{(?:[^{}]|\\{(?:[^{}]|\\{[^}]*\\})*\\})+\\}/,lookbehind:!0,inside:{\"interpolation-punctuation\":{pattern:/^\\$\\{|\\}$/,alias:\"punctuation\"},rest:x.languages.javascript}},string:/[\\s\\S]+/}},\"string-property\":{pattern:/((?:^|[,{])[ \\t]*)([\"'])(?:\\\\(?:\\r\\n|[\\s\\S])|(?!\\2)[^\\\\\\r\\n])*\\2(?=\\s*:)/m,lookbehind:!0,greedy:!0,alias:\"property\"}}),x.languages.insertBefore(\"javascript\",\"operator\",{\"literal-property\":{pattern:/((?:^|[,{])[ \\t]*)(?!\\s)[_$a-zA-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*(?=\\s*:)/m,lookbehind:!0,alias:\"property\"}}),x.languages.markup&&(x.languages.markup.tag.addInlined(\"script\",\"javascript\"),x.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,\"javascript\")),x.languages.js=x.languages.javascript,function(V){var we=/#(?!\\{).+/,Ie={pattern:/#\\{[^}]+\\}/,alias:\"variable\"};V.languages.coffeescript=V.languages.extend(\"javascript\",{comment:we,string:[{pattern:/'(?:\\\\[\\s\\S]|[^\\\\'])*'/,greedy:!0},{pattern:/\"(?:\\\\[\\s\\S]|[^\\\\\"])*\"/,greedy:!0,inside:{interpolation:Ie}}],keyword:/\\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\\b/,\"class-member\":{pattern:/@(?!\\d)\\w+/,alias:\"variable\"}}),V.languages.insertBefore(\"coffeescript\",\"comment\",{\"multiline-comment\":{pattern:/###[\\s\\S]+?###/,alias:\"comment\"},\"block-regex\":{pattern:/\\/{3}[\\s\\S]*?\\/{3}/,alias:\"regex\",inside:{comment:we,interpolation:Ie}}}),V.languages.insertBefore(\"coffeescript\",\"string\",{\"inline-javascript\":{pattern:/`(?:\\\\[\\s\\S]|[^\\\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:\"punctuation\"},script:{pattern:/[\\s\\S]+/,alias:\"language-javascript\",inside:V.languages.javascript}}},\"multiline-string\":[{pattern:/'''[\\s\\S]*?'''/,greedy:!0,alias:\"string\"},{pattern:/\"\"\"[\\s\\S]*?\"\"\"/,greedy:!0,alias:\"string\",inside:{interpolation:Ie}}]}),V.languages.insertBefore(\"coffeescript\",\"keyword\",{property:/(?!\\d)\\w+(?=\\s*:(?!:))/}),delete V.languages.coffeescript[\"template-string\"],V.languages.coffee=V.languages.coffeescript}(x),function(V){var we=/[*&][^\\s[\\]{},]+/,Ie=/!(?:<[\\w\\-%#;/?:@&=+$,.!~*'()[\\]]+>|(?:[a-zA-Z\\d-]*!)?[\\w\\-%#;/?:@&=+$.~*'()]+)?/,le=\"(?:\"+Ie.source+\"(?:[ \t]+\"+we.source+\")?|\"+we.source+\"(?:[ \t]+\"+Ie.source+\")?)\",Ne=/(?:[^\\s\\x00-\\x08\\x0e-\\x1f!\"#%&'*,\\-:>?@[\\]`{|}\\x7f-\\x84\\x86-\\x9f\\ud800-\\udfff\\ufffe\\uffff]|[?:-]<PLAIN>)(?:[ \\t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\\s\\x00-\\x08\\x0e-\\x1f,[\\]{}\\x7f-\\x84\\x86-\\x9f\\ud800-\\udfff\\ufffe\\uffff]/.source}),te=/\"(?:[^\"\\\\\\r\\n]|\\\\.)*\"|'(?:[^'\\\\\\r\\n]|\\\\.)*'/.source;function se(pe,ee){ee=(ee||\"\").replace(/m/g,\"\")+\"m\";var Se=/([:\\-,[{]\\s*(?:\\s<<prop>>[ \\t]+)?)(?:<<value>>)(?=[ \\t]*(?:$|,|\\]|\\}|(?:[\\r\\n]\\s*)?#))/.source.replace(/<<prop>>/g,function(){return le}).replace(/<<value>>/g,function(){return pe});return RegExp(Se,ee)}V.languages.yaml={scalar:{pattern:RegExp(/([\\-:]\\s*(?:\\s<<prop>>[ \\t]+)?[|>])[ \\t]*(?:((?:\\r?\\n|\\r)[ \\t]+)\\S[^\\r\\n]*(?:\\2[^\\r\\n]+)*)/.source.replace(/<<prop>>/g,function(){return le})),lookbehind:!0,alias:\"string\"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\\-,[{\\r\\n?])[ \\t]*(?:<<prop>>[ \\t]+)?)<<key>>(?=\\s*:\\s)/.source.replace(/<<prop>>/g,function(){return le}).replace(/<<key>>/g,function(){return\"(?:\"+Ne+\"|\"+te+\")\"})),lookbehind:!0,greedy:!0,alias:\"atrule\"},directive:{pattern:/(^[ \\t]*)%.+/m,lookbehind:!0,alias:\"important\"},datetime:{pattern:se(/\\d{4}-\\d\\d?-\\d\\d?(?:[tT]|[ \\t]+)\\d\\d?:\\d{2}:\\d{2}(?:\\.\\d*)?(?:[ \\t]*(?:Z|[-+]\\d\\d?(?::\\d{2})?))?|\\d{4}-\\d{2}-\\d{2}|\\d\\d?:\\d{2}(?::\\d{2}(?:\\.\\d*)?)?/.source),lookbehind:!0,alias:\"number\"},boolean:{pattern:se(/false|true/.source,\"i\"),lookbehind:!0,alias:\"important\"},null:{pattern:se(/null|~/.source,\"i\"),lookbehind:!0,alias:\"important\"},string:{pattern:se(te),lookbehind:!0,greedy:!0},number:{pattern:se(/[+-]?(?:0x[\\da-f]+|0o[0-7]+|(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:e[+-]?\\d+)?|\\.inf|\\.nan)/.source,\"i\"),lookbehind:!0},tag:Ie,important:we,punctuation:/---|[:[\\]{}\\-,|>?]|\\.\\.\\./},V.languages.yml=V.languages.yaml}(x),function(V){var we=/(?:\\\\.|[^\\\\\\n\\r]|(?:\\n|\\r\\n?)(?![\\r\\n]))/.source;function Ie(Q){return Q=Q.replace(/<inner>/g,function(){return we}),RegExp(/((?:^|[^\\\\])(?:\\\\{2})*)/.source+\"(?:\"+Q+\")\")}var le=/(?:\\\\.|``(?:[^`\\r\\n]|`(?!`))+``|`[^`\\r\\n]+`|[^\\\\|\\r\\n`])+/.source,Ne=/\\|?__(?:\\|__)+\\|?(?:(?:\\n|\\r\\n?)|(?![\\s\\S]))/.source.replace(/__/g,function(){return le}),te=/\\|?[ \\t]*:?-{3,}:?[ \\t]*(?:\\|[ \\t]*:?-{3,}:?[ \\t]*)+\\|?(?:\\n|\\r\\n?)/.source;V.languages.markdown=V.languages.extend(\"markup\",{}),V.languages.insertBefore(\"markdown\",\"prolog\",{\"front-matter-block\":{pattern:/(^(?:\\s*[\\r\\n])?)---(?!.)[\\s\\S]*?[\\r\\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,\"front-matter\":{pattern:/\\S+(?:\\s+\\S+)*/,alias:[\"yaml\",\"language-yaml\"],inside:V.languages.yaml}}},blockquote:{pattern:/^>(?:[\\t ]*>)*/m,alias:\"punctuation\"},table:{pattern:RegExp(\"^\"+Ne+te+\"(?:\"+Ne+\")*\",\"m\"),inside:{\"table-data-rows\":{pattern:RegExp(\"^(\"+Ne+te+\")(?:\"+Ne+\")*$\"),lookbehind:!0,inside:{\"table-data\":{pattern:RegExp(le),inside:V.languages.markdown},punctuation:/\\|/}},\"table-line\":{pattern:RegExp(\"^(\"+Ne+\")\"+te+\"$\"),lookbehind:!0,inside:{punctuation:/\\||:?-{3,}:?/}},\"table-header-row\":{pattern:RegExp(\"^\"+Ne+\"$\"),inside:{\"table-header\":{pattern:RegExp(le),alias:\"important\",inside:V.languages.markdown},punctuation:/\\|/}}}},code:[{pattern:/((?:^|\\n)[ \\t]*\\n|(?:^|\\r\\n?)[ \\t]*\\r\\n?)(?: {4}|\\t).+(?:(?:\\n|\\r\\n?)(?: {4}|\\t).+)*/,lookbehind:!0,alias:\"keyword\"},{pattern:/^```[\\s\\S]*?^```$/m,greedy:!0,inside:{\"code-block\":{pattern:/^(```.*(?:\\n|\\r\\n?))[\\s\\S]+?(?=(?:\\n|\\r\\n?)^```$)/m,lookbehind:!0},\"code-language\":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\\S.*(?:\\n|\\r\\n?)(?:==+|--+)(?=[ \\t]*$)/m,alias:\"important\",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\\s*)#.+/m,lookbehind:!0,alias:\"important\",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\\s*)([*-])(?:[\\t ]*\\2){2,}(?=\\s*$)/m,lookbehind:!0,alias:\"punctuation\"},list:{pattern:/(^\\s*)(?:[*+-]|\\d+\\.)(?=[\\t ].)/m,lookbehind:!0,alias:\"punctuation\"},\"url-reference\":{pattern:/!?\\[[^\\]]+\\]:[\\t ]+(?:\\S+|<(?:\\\\.|[^>\\\\])+>)(?:[\\t ]+(?:\"(?:\\\\.|[^\"\\\\])*\"|'(?:\\\\.|[^'\\\\])*'|\\((?:\\\\.|[^)\\\\])*\\)))?/,inside:{variable:{pattern:/^(!?\\[)[^\\]]+/,lookbehind:!0},string:/(?:\"(?:\\\\.|[^\"\\\\])*\"|'(?:\\\\.|[^'\\\\])*'|\\((?:\\\\.|[^)\\\\])*\\))$/,punctuation:/^[\\[\\]!:]|[<>]/},alias:\"url\"},bold:{pattern:Ie(/\\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\\b|\\*\\*(?:(?!\\*)<inner>|\\*(?:(?!\\*)<inner>)+\\*)+\\*\\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\\s\\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\\*\\*|__/}},italic:{pattern:Ie(/\\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\\b|\\*(?:(?!\\*)<inner>|\\*\\*(?:(?!\\*)<inner>)+\\*\\*)+\\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\\s\\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:Ie(/(~~?)(?:(?!~)<inner>)+\\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\\s\\S]+(?=\\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},\"code-snippet\":{pattern:/(^|[^\\\\`])(?:``[^`\\r\\n]+(?:`[^`\\r\\n]+)*``(?!`)|`[^`\\r\\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:[\"code\",\"keyword\"]},url:{pattern:Ie(/!?\\[(?:(?!\\])<inner>)+\\](?:\\([^\\s)]+(?:[\\t ]+\"(?:\\\\.|[^\"\\\\])*\")?\\)|[ \\t]?\\[(?:(?!\\])<inner>)+\\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\\[)[^\\]]+(?=\\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\\][ \\t]?\\[)[^\\]]+(?=\\]$)/,lookbehind:!0},url:{pattern:/(^\\]\\()[^\\s)]+/,lookbehind:!0},string:{pattern:/(^[ \\t]+)\"(?:\\\\.|[^\"\\\\])*\"(?=\\)$)/,lookbehind:!0}}}}),[\"url\",\"bold\",\"italic\",\"strike\"].forEach(function(Q){[\"url\",\"bold\",\"italic\",\"strike\",\"code-snippet\"].forEach(function(Z){Q!==Z&&(V.languages.markdown[Q].inside.content.inside[Z]=V.languages.markdown[Z])})}),V.hooks.add(\"after-tokenize\",function(Q){if(Q.language!==\"markdown\"&&Q.language!==\"md\")return;function Z(Y){if(!(!Y||typeof Y==\"string\"))for(var ue=0,he=Y.length;ue<he;ue++){var me=Y[ue];if(me.type!==\"code\"){Z(me.content);continue}var Oe=me.content[1],We=me.content[3];if(Oe&&We&&Oe.type===\"code-language\"&&We.type===\"code-block\"&&typeof Oe.content==\"string\"){var ke=Oe.content.replace(/\\b#/g,\"sharp\").replace(/\\b\\+\\+/g,\"pp\");ke=(/[a-z][\\w-]*/i.exec(ke)||[\"\"])[0].toLowerCase();var It=\"language-\"+ke;We.alias?typeof We.alias==\"string\"?We.alias=[We.alias,It]:We.alias.push(It):We.alias=[It]}}}Z(Q.tokens)}),V.hooks.add(\"wrap\",function(Q){if(Q.type===\"code-block\"){for(var Z=\"\",Y=0,ue=Q.classes.length;Y<ue;Y++){var he=Q.classes[Y],me=/language-(.+)/.exec(he);if(me){Z=me[1];break}}var Oe=V.languages[Z];if(Oe)Q.content=V.highlight(Se(Q.content),Oe,Z);else if(Z&&Z!==\"none\"&&V.plugins.autoloader){var We=\"md-\"+new Date().valueOf()+\"-\"+Math.floor(Math.random()*1e16);Q.attributes.id=We,V.plugins.autoloader.loadLanguages(Z,function(){var ke=document.getElementById(We);ke&&(ke.innerHTML=V.highlight(ke.textContent,V.languages[Z],Z))})}}});var se=RegExp(V.languages.markup.tag.pattern.source,\"gi\"),pe={amp:\"&\",lt:\"<\",gt:\">\",quot:'\"'},ee=String.fromCodePoint||String.fromCharCode;function Se(Q){var Z=Q.replace(se,\"\");return Z=Z.replace(/&(\\w{1,8}|#x?[\\da-f]{1,8});/gi,function(Y,ue){if(ue=ue.toLowerCase(),ue[0]===\"#\"){var he;return ue[1]===\"x\"?he=parseInt(ue.slice(2),16):he=Number(ue.slice(1)),ee(he)}else{var me=pe[ue];return me||Y}}),Z}V.languages.md=V.languages.markdown}(x),x.languages.graphql={comment:/#.*/,description:{pattern:/(?:\"\"\"(?:[^\"]|(?!\"\"\")\")*\"\"\"|\"(?:\\\\.|[^\\\\\"\\r\\n])*\")(?=\\s*[a-z_])/i,greedy:!0,alias:\"string\",inside:{\"language-markdown\":{pattern:/(^\"(?:\"\")?)(?!\\1)[\\s\\S]+(?=\\1$)/,lookbehind:!0,inside:x.languages.markdown}}},string:{pattern:/\"\"\"(?:[^\"]|(?!\"\"\")\")*\"\"\"|\"(?:\\\\.|[^\\\\\"\\r\\n])*\"/,greedy:!0},number:/(?:\\B-|\\b)\\d+(?:\\.\\d+)?(?:e[+-]?\\d+)?\\b/i,boolean:/\\b(?:false|true)\\b/,variable:/\\$[a-z_]\\w*/i,directive:{pattern:/@[a-z_]\\w*/i,alias:\"function\"},\"attr-name\":{pattern:/\\b[a-z_]\\w*(?=\\s*(?:\\((?:[^()\"]|\"(?:\\\\.|[^\\\\\"\\r\\n])*\")*\\))?:)/i,greedy:!0},\"atom-input\":{pattern:/\\b[A-Z]\\w*Input\\b/,alias:\"class-name\"},scalar:/\\b(?:Boolean|Float|ID|Int|String)\\b/,constant:/\\b[A-Z][A-Z_\\d]*\\b/,\"class-name\":{pattern:/(\\b(?:enum|implements|interface|on|scalar|type|union)\\s+|&\\s*|:\\s*|\\[)[A-Z_]\\w*/,lookbehind:!0},fragment:{pattern:/(\\bfragment\\s+|\\.{3}\\s*(?!on\\b))[a-zA-Z_]\\w*/,lookbehind:!0,alias:\"function\"},\"definition-mutation\":{pattern:/(\\bmutation\\s+)[a-zA-Z_]\\w*/,lookbehind:!0,alias:\"function\"},\"definition-query\":{pattern:/(\\bquery\\s+)[a-zA-Z_]\\w*/,lookbehind:!0,alias:\"function\"},keyword:/\\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\\b/,operator:/[!=|&]|\\.{3}/,\"property-query\":/\\w+(?=\\s*\\()/,object:/\\w+(?=\\s*\\{)/,punctuation:/[!(){}\\[\\]:=,]/,property:/\\w+/},x.hooks.add(\"after-tokenize\",function(we){if(we.language!==\"graphql\")return;var Ie=we.tokens.filter(function(me){return typeof me!=\"string\"&&me.type!==\"comment\"&&me.type!==\"scalar\"}),le=0;function Ne(me){return Ie[le+me]}function te(me,Oe){Oe=Oe||0;for(var We=0;We<me.length;We++){var ke=Ne(We+Oe);if(!ke||ke.type!==me[We])return!1}return!0}function se(me,Oe){for(var We=1,ke=le;ke<Ie.length;ke++){var It=Ie[ke],ft=It.content;if(It.type===\"punctuation\"&&typeof ft==\"string\"){if(me.test(ft))We++;else if(Oe.test(ft)&&(We--,We===0))return ke}}return-1}function pe(me,Oe){var We=me.alias;We?Array.isArray(We)||(me.alias=We=[We]):me.alias=We=[],We.push(Oe)}for(;le<Ie.length;){var ee=Ie[le++];if(ee.type===\"keyword\"&&ee.content===\"mutation\"){var Se=[];if(te([\"definition-mutation\",\"punctuation\"])&&Ne(1).content===\"(\"){le+=2;var Q=se(/^\\($/,/^\\)$/);if(Q===-1)continue;for(;le<Q;le++){var Z=Ne(0);Z.type===\"variable\"&&(pe(Z,\"variable-input\"),Se.push(Z.content))}le=Q+1}if(te([\"punctuation\",\"property-query\"])&&Ne(0).content===\"{\"&&(le++,pe(Ne(0),\"property-mutation\"),Se.length>0)){var Y=se(/^\\{$/,/^\\}$/);if(Y===-1)continue;for(var ue=le;ue<Y;ue++){var he=Ie[ue];he.type===\"variable\"&&Se.indexOf(he.content)>=0&&pe(he,\"variable-input\")}}}}}),x.languages.sql={comment:{pattern:/(^|[^\\\\])(?:\\/\\*[\\s\\S]*?\\*\\/|(?:--|\\/\\/|#).*)/,lookbehind:!0},variable:[{pattern:/@([\"'`])(?:\\\\[\\s\\S]|(?!\\1)[^\\\\])+\\1/,greedy:!0},/@[\\w.$]+/],string:{pattern:/(^|[^@\\\\])(\"|')(?:\\\\[\\s\\S]|(?!\\2)[^\\\\]|\\2\\2)*\\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\\\])`(?:\\\\[\\s\\S]|[^`\\\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\\s*\\()/i,keyword:/\\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\\b/i,boolean:/\\b(?:FALSE|NULL|TRUE)\\b/i,number:/\\b0x[\\da-f]+\\b|\\b\\d+(?:\\.\\d*)?|\\B\\.\\d+\\b/i,operator:/[-+*\\/=%^~]|&&?|\\|\\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\\b/i,punctuation:/[;[\\]()`,.]/},function(V){var we=V.languages.javascript[\"template-string\"],Ie=we.pattern.source,le=we.inside.interpolation,Ne=le.inside[\"interpolation-punctuation\"],te=le.pattern.source;function se(ue,he){if(V.languages[ue])return{pattern:RegExp(\"((?:\"+he+\")\\\\s*)\"+Ie),lookbehind:!0,greedy:!0,inside:{\"template-punctuation\":{pattern:/^`|`$/,alias:\"string\"},\"embedded-code\":{pattern:/[\\s\\S]+/,alias:ue}}}}V.languages.javascript[\"template-string\"]=[se(\"css\",/\\b(?:styled(?:\\([^)]*\\))?(?:\\s*\\.\\s*\\w+(?:\\([^)]*\\))*)*|css(?:\\s*\\.\\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),se(\"html\",/\\bhtml|\\.\\s*(?:inner|outer)HTML\\s*\\+?=/.source),se(\"svg\",/\\bsvg/.source),se(\"markdown\",/\\b(?:markdown|md)/.source),se(\"graphql\",/\\b(?:gql|graphql(?:\\s*\\.\\s*experimental)?)/.source),se(\"sql\",/\\bsql/.source),we].filter(Boolean);function pe(ue,he){return\"___\"+he.toUpperCase()+\"_\"+ue+\"___\"}function ee(ue,he,me){var Oe={code:ue,grammar:he,language:me};return V.hooks.run(\"before-tokenize\",Oe),Oe.tokens=V.tokenize(Oe.code,Oe.grammar),V.hooks.run(\"after-tokenize\",Oe),Oe.tokens}function Se(ue){var he={};he[\"interpolation-punctuation\"]=Ne;var me=V.tokenize(ue,he);if(me.length===3){var Oe=[1,1];Oe.push.apply(Oe,ee(me[1],V.languages.javascript,\"javascript\")),me.splice.apply(me,Oe)}return new V.Token(\"interpolation\",me,le.alias,ue)}function Q(ue,he,me){var Oe=V.tokenize(ue,{interpolation:{pattern:RegExp(te),lookbehind:!0}}),We=0,ke={},It=Oe.map(function(W){if(typeof W==\"string\")return W;for(var de=W.content,ye;ue.indexOf(ye=pe(We++,me))!==-1;);return ke[ye]=de,ye}).join(\"\"),ft=ee(It,he,me),nn=Object.keys(ke);We=0;function b(W){for(var de=0;de<W.length;de++){if(We>=nn.length)return;var ye=W[de];if(typeof ye==\"string\"||typeof ye.content==\"string\"){var He=nn[We],rt=typeof ye==\"string\"?ye:ye.content,$e=rt.indexOf(He);if($e!==-1){++We;var pt=rt.substring(0,$e),Ot=Se(ke[He]),at=rt.substring($e+He.length),wt=[];if(pt&&wt.push(pt),wt.push(Ot),at){var vt=[at];b(vt),wt.push.apply(wt,vt)}typeof ye==\"string\"?(W.splice.apply(W,[de,1].concat(wt)),de+=wt.length-1):ye.content=wt}}else{var jt=ye.content;Array.isArray(jt)?b(jt):b([jt])}}}return b(ft),new V.Token(me,ft,\"language-\"+me,ue)}var Z={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};V.hooks.add(\"after-tokenize\",function(ue){if(!(ue.language in Z))return;function he(me){for(var Oe=0,We=me.length;Oe<We;Oe++){var ke=me[Oe];if(typeof ke!=\"string\"){var It=ke.content;if(!Array.isArray(It)){typeof It!=\"string\"&&he([It]);continue}if(ke.type===\"template-string\"){var ft=It[1];if(It.length===3&&typeof ft!=\"string\"&&ft.type===\"embedded-code\"){var nn=Y(ft),b=ft.alias,W=Array.isArray(b)?b[0]:b,de=V.languages[W];if(!de)continue;It[1]=Q(nn,de,W)}}else he(It)}}}he(ue.tokens)});function Y(ue){return typeof ue==\"string\"?ue:Array.isArray(ue)?ue.map(Y).join(\"\"):Y(ue.content)}}(x),function(V){V.languages.typescript=V.languages.extend(\"javascript\",{\"class-name\":{pattern:/(\\b(?:class|extends|implements|instanceof|interface|new|type)\\s+)(?!keyof\\b)(?!\\s)[_$a-zA-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*(?:\\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\\b/}),V.languages.typescript.keyword.push(/\\b(?:abstract|declare|is|keyof|readonly|require)\\b/,/\\b(?:asserts|infer|interface|module|namespace|type)\\b(?=\\s*(?:[{_$a-zA-Z\\xA0-\\uFFFF]|$))/,/\\btype\\b(?=\\s*(?:[\\{*]|$))/),delete V.languages.typescript.parameter,delete V.languages.typescript[\"literal-property\"];var we=V.languages.extend(\"typescript\",{});delete we[\"class-name\"],V.languages.typescript[\"class-name\"].inside=we,V.languages.insertBefore(\"typescript\",\"function\",{decorator:{pattern:/@[$\\w\\xA0-\\uFFFF]+/,inside:{at:{pattern:/^@/,alias:\"operator\"},function:/^[\\s\\S]+/}},\"generic-function\":{pattern:/#?(?!\\s)[_$a-zA-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*\\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\\s*\\()/,greedy:!0,inside:{function:/^#?(?!\\s)[_$a-zA-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*/,generic:{pattern:/<[\\s\\S]+/,alias:\"class-name\",inside:we}}}}),V.languages.ts=V.languages.typescript}(x),function(V){V.languages.insertBefore(\"javascript\",\"function-variable\",{\"method-variable\":{pattern:RegExp(\"(\\\\.\\\\s*)\"+V.languages.javascript[\"function-variable\"].pattern.source),lookbehind:!0,alias:[\"function-variable\",\"method\",\"function\",\"property-access\"]}}),V.languages.insertBefore(\"javascript\",\"function\",{method:{pattern:RegExp(\"(\\\\.\\\\s*)\"+V.languages.javascript.function.source),lookbehind:!0,alias:[\"function\",\"property-access\"]}}),V.languages.insertBefore(\"javascript\",\"constant\",{\"known-class-name\":[{pattern:/\\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\\b/,alias:\"class-name\"},{pattern:/\\b(?:[A-Z]\\w*)Error\\b/,alias:\"class-name\"}]});function we(pe,ee){return RegExp(pe.replace(/<ID>/g,function(){return/(?!\\s)[_$a-zA-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*/.source}),ee)}V.languages.insertBefore(\"javascript\",\"keyword\",{imports:{pattern:we(/(\\bimport\\b\\s*)(?:<ID>(?:\\s*,\\s*(?:\\*\\s*as\\s+<ID>|\\{[^{}]*\\}))?|\\*\\s*as\\s+<ID>|\\{[^{}]*\\})(?=\\s*\\bfrom\\b)/.source),lookbehind:!0,inside:V.languages.javascript},exports:{pattern:we(/(\\bexport\\b\\s*)(?:\\*(?:\\s*as\\s+<ID>)?(?=\\s*\\bfrom\\b)|\\{[^{}]*\\})/.source),lookbehind:!0,inside:V.languages.javascript}}),V.languages.javascript.keyword.unshift({pattern:/\\b(?:as|default|export|from|import)\\b/,alias:\"module\"},{pattern:/\\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\\b/,alias:\"control-flow\"},{pattern:/\\bnull\\b/,alias:[\"null\",\"nil\"]},{pattern:/\\bundefined\\b/,alias:\"nil\"}),V.languages.insertBefore(\"javascript\",\"operator\",{spread:{pattern:/\\.{3}/,alias:\"operator\"},arrow:{pattern:/=>/,alias:\"operator\"}}),V.languages.insertBefore(\"javascript\",\"punctuation\",{\"property-access\":{pattern:we(/(\\.\\s*)#?<ID>/.source),lookbehind:!0},\"maybe-class-name\":{pattern:/(^|[^$\\w\\xA0-\\uFFFF])[A-Z][$\\w\\xA0-\\uFFFF]+/,lookbehind:!0},dom:{pattern:/\\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\\b/,alias:\"variable\"},console:{pattern:/\\bconsole(?=\\s*\\.)/,alias:\"class-name\"}});for(var Ie=[\"function\",\"function-variable\",\"method\",\"method-variable\",\"property-access\"],le=0;le<Ie.length;le++){var Ne=Ie[le],te=V.languages.javascript[Ne];V.util.type(te)===\"RegExp\"&&(te=V.languages.javascript[Ne]={pattern:te});var se=te.inside||{};te.inside=se,se[\"maybe-class-name\"]=/^[A-Z][\\s\\S]*/}}(x),function(V){var we=V.util.clone(V.languages.javascript),Ie=/(?:\\s|\\/\\/.*(?!.)|\\/\\*(?:[^*]|\\*(?!\\/))\\*\\/)/.source,le=/(?:\\{(?:\\{(?:\\{[^{}]*\\}|[^{}])*\\}|[^{}])*\\})/.source,Ne=/(?:\\{<S>*\\.{3}(?:[^{}]|<BRACES>)*\\})/.source;function te(ee,Se){return ee=ee.replace(/<S>/g,function(){return Ie}).replace(/<BRACES>/g,function(){return le}).replace(/<SPREAD>/g,function(){return Ne}),RegExp(ee,Se)}Ne=te(Ne).source,V.languages.jsx=V.languages.extend(\"markup\",we),V.languages.jsx.tag.pattern=te(/<\\/?(?:[\\w.:-]+(?:<S>+(?:[\\w.:$-]+(?:=(?:\"(?:\\\\[\\s\\S]|[^\\\\\"])*\"|'(?:\\\\[\\s\\S]|[^\\\\'])*'|[^\\s{'\"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\\/?)?>/.source),V.languages.jsx.tag.inside.tag.pattern=/^<\\/?[^\\s>\\/]*/,V.languages.jsx.tag.inside[\"attr-value\"].pattern=/=(?!\\{)(?:\"(?:\\\\[\\s\\S]|[^\\\\\"])*\"|'(?:\\\\[\\s\\S]|[^\\\\'])*'|[^\\s'\">]+)/,V.languages.jsx.tag.inside.tag.inside[\"class-name\"]=/^[A-Z]\\w*(?:\\.[A-Z]\\w*)*$/,V.languages.jsx.tag.inside.comment=we.comment,V.languages.insertBefore(\"inside\",\"attr-name\",{spread:{pattern:te(/<SPREAD>/.source),inside:V.languages.jsx}},V.languages.jsx.tag),V.languages.insertBefore(\"inside\",\"special-attr\",{script:{pattern:te(/=<BRACES>/.source),alias:\"language-javascript\",inside:{\"script-punctuation\":{pattern:/^=(?=\\{)/,alias:\"punctuation\"},rest:V.languages.jsx}}},V.languages.jsx.tag);var se=function(ee){return ee?typeof ee==\"string\"?ee:typeof ee.content==\"string\"?ee.content:ee.content.map(se).join(\"\"):\"\"},pe=function(ee){for(var Se=[],Q=0;Q<ee.length;Q++){var Z=ee[Q],Y=!1;if(typeof Z!=\"string\"&&(Z.type===\"tag\"&&Z.content[0]&&Z.content[0].type===\"tag\"?Z.content[0].content[0].content===\"</\"?Se.length>0&&Se[Se.length-1].tagName===se(Z.content[0].content[1])&&Se.pop():Z.content[Z.content.length-1].content===\"/>\"||Se.push({tagName:se(Z.content[0].content[1]),openedBraces:0}):Se.length>0&&Z.type===\"punctuation\"&&Z.content===\"{\"?Se[Se.length-1].openedBraces++:Se.length>0&&Se[Se.length-1].openedBraces>0&&Z.type===\"punctuation\"&&Z.content===\"}\"?Se[Se.length-1].openedBraces--:Y=!0),(Y||typeof Z==\"string\")&&Se.length>0&&Se[Se.length-1].openedBraces===0){var ue=se(Z);Q<ee.length-1&&(typeof ee[Q+1]==\"string\"||ee[Q+1].type===\"plain-text\")&&(ue+=se(ee[Q+1]),ee.splice(Q+1,1)),Q>0&&(typeof ee[Q-1]==\"string\"||ee[Q-1].type===\"plain-text\")&&(ue=se(ee[Q-1])+ue,ee.splice(Q-1,1),Q--),ee[Q]=new V.Token(\"plain-text\",ue,null,ue)}Z.content&&typeof Z.content!=\"string\"&&pe(Z.content)}};V.hooks.add(\"after-tokenize\",function(ee){ee.language!==\"jsx\"&&ee.language!==\"tsx\"||pe(ee.tokens)})}(x),function(V){V.languages.diff={coord:[/^(?:\\*{3}|-{3}|\\+{3}).*$/m,/^@@.*@@$/m,/^\\d.*$/m]};var we={\"deleted-sign\":\"-\",\"deleted-arrow\":\"<\",\"inserted-sign\":\"+\",\"inserted-arrow\":\">\",unchanged:\" \",diff:\"!\"};Object.keys(we).forEach(function(Ie){var le=we[Ie],Ne=[];/^\\w+$/.test(Ie)||Ne.push(/\\w+/.exec(Ie)[0]),Ie===\"diff\"&&Ne.push(\"bold\"),V.languages.diff[Ie]={pattern:RegExp(\"^(?:[\"+le+`].*(?:\\r\n?|\n|(?![\\\\s\\\\S])))+`,\"m\"),alias:Ne,inside:{line:{pattern:/(.)(?=[\\s\\S]).*(?:\\r\\n?|\\n)?/,lookbehind:!0},prefix:{pattern:/[\\s\\S]/,alias:/\\w+/.exec(Ie)[0]}}}}),Object.defineProperty(V.languages.diff,\"PREFIXES\",{value:we})}(x),x.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\\+.*/m,string:/(\"|')(?:\\\\.|(?!\\1)[^\\\\\\r\\n])*\\1/,command:{pattern:/^.*\\$ git .*$/m,inside:{parameter:/\\s--?\\w+/}},coord:/^@@.*@@$/m,\"commit-sha1\":/^commit \\w{40}$/m},x.languages.go=x.languages.extend(\"clike\",{string:{pattern:/(^|[^\\\\])\"(?:\\\\.|[^\"\\\\\\r\\n])*\"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\\b/,boolean:/\\b(?:_|false|iota|nil|true)\\b/,number:[/\\b0(?:b[01_]+|o[0-7_]+)i?\\b/i,/\\b0x(?:[a-f\\d_]+(?:\\.[a-f\\d_]*)?|\\.[a-f\\d_]+)(?:p[+-]?\\d+(?:_\\d+)*)?i?(?!\\w)/i,/(?:\\b\\d[\\d_]*(?:\\.[\\d_]*)?|\\B\\.\\d[\\d_]*)(?:e[+-]?[\\d_]+)?i?(?!\\w)/i],operator:/[*\\/%^!=]=?|\\+[=+]?|-[=-]?|\\|[=|]?|&(?:=|&|\\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\\.\\.\\./,builtin:/\\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\\b/}),x.languages.insertBefore(\"go\",\"string\",{char:{pattern:/'(?:\\\\.|[^'\\\\\\r\\n]){0,10}'/,greedy:!0}}),delete x.languages.go[\"class-name\"],function(V){function we(Ie,le){return\"___\"+Ie.toUpperCase()+le+\"___\"}Object.defineProperties(V.languages[\"markup-templating\"]={},{buildPlaceholders:{value:function(Ie,le,Ne,te){if(Ie.language===le){var se=Ie.tokenStack=[];Ie.code=Ie.code.replace(Ne,function(pe){if(typeof te==\"function\"&&!te(pe))return pe;for(var ee=se.length,Se;Ie.code.indexOf(Se=we(le,ee))!==-1;)++ee;return se[ee]=pe,Se}),Ie.grammar=V.languages.markup}}},tokenizePlaceholders:{value:function(Ie,le){if(Ie.language!==le||!Ie.tokenStack)return;Ie.grammar=V.languages[le];var Ne=0,te=Object.keys(Ie.tokenStack);function se(pe){for(var ee=0;ee<pe.length&&!(Ne>=te.length);ee++){var Se=pe[ee];if(typeof Se==\"string\"||Se.content&&typeof Se.content==\"string\"){var Q=te[Ne],Z=Ie.tokenStack[Q],Y=typeof Se==\"string\"?Se:Se.content,ue=we(le,Q),he=Y.indexOf(ue);if(he>-1){++Ne;var me=Y.substring(0,he),Oe=new V.Token(le,V.tokenize(Z,Ie.grammar),\"language-\"+le,Z),We=Y.substring(he+ue.length),ke=[];me&&ke.push.apply(ke,se([me])),ke.push(Oe),We&&ke.push.apply(ke,se([We])),typeof Se==\"string\"?pe.splice.apply(pe,[ee,1].concat(ke)):Se.content=ke}}else Se.content&&se(Se.content)}return pe}se(Ie.tokens)}}})}(x),function(V){V.languages.handlebars={comment:/\\{\\{![\\s\\S]*?\\}\\}/,delimiter:{pattern:/^\\{\\{\\{?|\\}\\}\\}?$/,alias:\"punctuation\"},string:/([\"'])(?:\\\\.|(?!\\1)[^\\\\\\r\\n])*\\1/,number:/\\b0x[\\dA-Fa-f]+\\b|(?:\\b\\d+(?:\\.\\d*)?|\\B\\.\\d+)(?:[Ee][+-]?\\d+)?/,boolean:/\\b(?:false|true)\\b/,block:{pattern:/^(\\s*(?:~\\s*)?)[#\\/]\\S+?(?=\\s*(?:~\\s*)?$|\\s)/,lookbehind:!0,alias:\"keyword\"},brackets:{pattern:/\\[[^\\]]+\\]/,inside:{punctuation:/\\[|\\]/,variable:/[\\s\\S]+/}},punctuation:/[!\"#%&':()*+,.\\/;<=>@\\[\\\\\\]^`{|}~]/,variable:/[^!\"#%&'()*+,\\/;<=>@\\[\\\\\\]^`{|}~\\s]+/},V.hooks.add(\"before-tokenize\",function(we){var Ie=/\\{\\{\\{[\\s\\S]+?\\}\\}\\}|\\{\\{[\\s\\S]+?\\}\\}/g;V.languages[\"markup-templating\"].buildPlaceholders(we,\"handlebars\",Ie)}),V.hooks.add(\"after-tokenize\",function(we){V.languages[\"markup-templating\"].tokenizePlaceholders(we,\"handlebars\")}),V.languages.hbs=V.languages.handlebars}(x),x.languages.json={property:{pattern:/(^|[^\\\\])\"(?:\\\\.|[^\\\\\"\\r\\n])*\"(?=\\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\\\])\"(?:\\\\.|[^\\\\\"\\r\\n])*\"(?!\\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\\/\\/.*|\\/\\*[\\s\\S]*?(?:\\*\\/|$)/,greedy:!0},number:/-?\\b\\d+(?:\\.\\d+)?(?:e[+-]?\\d+)?\\b/i,punctuation:/[{}[\\],]/,operator:/:/,boolean:/\\b(?:false|true)\\b/,null:{pattern:/\\bnull\\b/,alias:\"keyword\"}},x.languages.webmanifest=x.languages.json,x.languages.less=x.languages.extend(\"css\",{comment:[/\\/\\*[\\s\\S]*?\\*\\//,{pattern:/(^|[^\\\\])\\/\\/.*/,lookbehind:!0}],atrule:{pattern:/@[\\w-](?:\\((?:[^(){}]|\\([^(){}]*\\))*\\)|[^(){};\\s]|\\s+(?!\\s))*?(?=\\s*\\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\\{[\\w-]+\\}|[^{};\\s@])(?:@\\{[\\w-]+\\}|\\((?:[^(){}]|\\([^(){}]*\\))*\\)|[^(){};@\\s]|\\s+(?!\\s))*?(?=\\s*\\{)/,inside:{variable:/@+[\\w-]+/}},property:/(?:@\\{[\\w-]+\\}|[\\w-])+(?:\\+_?)?(?=\\s*:)/,operator:/[+\\-*\\/]/}),x.languages.insertBefore(\"less\",\"property\",{variable:[{pattern:/@[\\w-]+\\s*:/,inside:{punctuation:/:/}},/@@?[\\w-]+/],\"mixin-usage\":{pattern:/([{;]\\s*)[.#](?!\\d)[\\w-].*?(?=[(;])/,lookbehind:!0,alias:\"function\"}}),x.languages.makefile={comment:{pattern:/(^|[^\\\\])#(?:\\\\(?:\\r\\n|[\\s\\S])|[^\\\\\\r\\n])*/,lookbehind:!0},string:{pattern:/([\"'])(?:\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,greedy:!0},\"builtin-target\":{pattern:/\\.[A-Z][^:#=\\s]+(?=\\s*:(?!=))/,alias:\"builtin\"},target:{pattern:/^(?:[^:=\\s]|[ \\t]+(?![\\s:]))+(?=\\s*:(?!=))/m,alias:\"symbol\",inside:{variable:/\\$+(?:(?!\\$)[^(){}:#=\\s]+|(?=[({]))/}},variable:/\\$+(?:(?!\\$)[^(){}:#=\\s]+|\\([@*%<^+?][DF]\\)|(?=[({]))/,keyword:/-include\\b|\\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\\b/,function:{pattern:/(\\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \\t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},x.languages.objectivec=x.languages.extend(\"c\",{string:{pattern:/@?\"(?:\\\\(?:\\r\\n|[\\s\\S])|[^\"\\\\\\r\\n])*\"/,greedy:!0},keyword:/\\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\\b/,operator:/-[->]?|\\+\\+?|!=?|<<?=?|>>?=?|==?|&&?|\\|\\|?|[~^%?*\\/@]/}),delete x.languages.objectivec[\"class-name\"],x.languages.objc=x.languages.objectivec,x.languages.ocaml={comment:{pattern:/\\(\\*[\\s\\S]*?\\*\\)/,greedy:!0},char:{pattern:/'(?:[^\\\\\\r\\n']|\\\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/\"(?:\\\\(?:[\\s\\S]|\\r\\n)|[^\\\\\\r\\n\"])*\"/,greedy:!0},{pattern:/\\{([a-z_]*)\\|[\\s\\S]*?\\|\\1\\}/,greedy:!0}],number:[/\\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\\b/i,/\\b0x[a-f0-9][a-f0-9_]*(?:\\.[a-f0-9_]*)?(?:p[+-]?\\d[\\d_]*)?(?!\\w)/i,/\\b\\d[\\d_]*(?:\\.[\\d_]*)?(?:e[+-]?\\d[\\d_]*)?(?!\\w)/i],directive:{pattern:/\\B#\\w+/,alias:\"property\"},label:{pattern:/\\B~\\w+/,alias:\"property\"},\"type-variable\":{pattern:/\\B'\\w+/,alias:\"function\"},variant:{pattern:/`\\w+/,alias:\"symbol\"},keyword:/\\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\\b/,boolean:/\\b(?:false|true)\\b/,\"operator-like-punctuation\":{pattern:/\\[[<>|]|[>|]\\]|\\{<|>\\}/,alias:\"punctuation\"},operator:/\\.[.~]|:[=>]|[=<>@^|&+\\-*\\/$%!?~][!$%&*+\\-.\\/:<=>?@^|~]*|\\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\\b/,punctuation:/;;|::|[(){}\\[\\].,:;#]|\\b_\\b/},x.languages.python={comment:{pattern:/(^|[^\\\\])#.*/,lookbehind:!0,greedy:!0},\"string-interpolation\":{pattern:/(?:f|fr|rf)(?:(\"\"\"|''')[\\s\\S]*?\\1|(\"|')(?:\\\\.|(?!\\2)[^\\\\\\r\\n])*\\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\\{\\{)*)\\{(?!\\{)(?:[^{}]|\\{(?!\\{)(?:[^{}]|\\{(?!\\{)(?:[^{}])+\\})+\\})+\\}/,lookbehind:!0,inside:{\"format-spec\":{pattern:/(:)[^:(){}]+(?=\\}$)/,lookbehind:!0},\"conversion-option\":{pattern:/![sra](?=[:}]$)/,alias:\"punctuation\"},rest:null}},string:/[\\s\\S]+/}},\"triple-quoted-string\":{pattern:/(?:[rub]|br|rb)?(\"\"\"|''')[\\s\\S]*?\\1/i,greedy:!0,alias:\"string\"},string:{pattern:/(?:[rub]|br|rb)?(\"|')(?:\\\\.|(?!\\1)[^\\\\\\r\\n])*\\1/i,greedy:!0},function:{pattern:/((?:^|\\s)def[ \\t]+)[a-zA-Z_]\\w*(?=\\s*\\()/g,lookbehind:!0},\"class-name\":{pattern:/(\\bclass\\s+)\\w+/i,lookbehind:!0},decorator:{pattern:/(^[\\t ]*)@\\w+(?:\\.\\w+)*/m,lookbehind:!0,alias:[\"annotation\",\"punctuation\"],inside:{punctuation:/\\./}},keyword:/\\b(?:_(?=\\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\\b/,builtin:/\\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\\b/,boolean:/\\b(?:False|None|True)\\b/,number:/\\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\\b|(?:\\b\\d+(?:_\\d+)*(?:\\.(?:\\d+(?:_\\d+)*)?)?|\\B\\.\\d+(?:_\\d+)*)(?:e[+-]?\\d+(?:_\\d+)*)?j?(?!\\w)/i,operator:/[-+%=]=?|!=|:=|\\*\\*?=?|\\/\\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\\];(),.:]/},x.languages.python[\"string-interpolation\"].inside.interpolation.inside.rest=x.languages.python,x.languages.py=x.languages.python,x.languages.reason=x.languages.extend(\"clike\",{string:{pattern:/\"(?:\\\\(?:\\r\\n|[\\s\\S])|[^\\\\\\r\\n\"])*\"/,greedy:!0},\"class-name\":/\\b[A-Z]\\w*/,keyword:/\\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\\b/,operator:/\\.{3}|:[:=]|\\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\\-*\\/]\\.?|\\b(?:asr|land|lor|lsl|lsr|lxor|mod)\\b/}),x.languages.insertBefore(\"reason\",\"class-name\",{char:{pattern:/'(?:\\\\x[\\da-f]{2}|\\\\o[0-3][0-7][0-7]|\\\\\\d{3}|\\\\.|[^'\\\\\\r\\n])'/,greedy:!0},constructor:/\\b[A-Z]\\w*\\b(?!\\s*\\.)/,label:{pattern:/\\b[a-z]\\w*(?=::)/,alias:\"symbol\"}}),delete x.languages.reason.function,function(V){V.languages.sass=V.languages.extend(\"css\",{comment:{pattern:/^([ \\t]*)\\/[\\/*].*(?:(?:\\r?\\n|\\r)\\1[ \\t].+)*/m,lookbehind:!0,greedy:!0}}),V.languages.insertBefore(\"sass\",\"atrule\",{\"atrule-line\":{pattern:/^(?:[ \\t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\\w-]+|[+=])/}}}),delete V.languages.sass.atrule;var we=/\\$[-\\w]+|#\\{\\$[-\\w]+\\}/,Ie=[/[+*\\/%]|[=!]=|<=?|>=?|\\b(?:and|not|or)\\b/,{pattern:/(\\s)-(?=\\s)/,lookbehind:!0}];V.languages.insertBefore(\"sass\",\"property\",{\"variable-line\":{pattern:/^[ \\t]*\\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:we,operator:Ie}},\"property-line\":{pattern:/^[ \\t]*(?:[^:\\s]+ *:.*|:[^:\\s].*)/m,greedy:!0,inside:{property:[/[^:\\s]+(?=\\s*:)/,{pattern:/(:)[^:\\s]+/,lookbehind:!0}],punctuation:/:/,variable:we,operator:Ie,important:V.languages.sass.important}}}),delete V.languages.sass.property,delete V.languages.sass.important,V.languages.insertBefore(\"sass\",\"punctuation\",{selector:{pattern:/^([ \\t]*)\\S(?:,[^,\\r\\n]+|[^,\\r\\n]*)(?:,[^,\\r\\n]+)*(?:,(?:\\r?\\n|\\r)\\1[ \\t]+\\S(?:,[^,\\r\\n]+|[^,\\r\\n]*)(?:,[^,\\r\\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(x),x.languages.scss=x.languages.extend(\"css\",{comment:{pattern:/(^|[^\\\\])(?:\\/\\*[\\s\\S]*?\\*\\/|\\/\\/.*)/,lookbehind:!0},atrule:{pattern:/@[\\w-](?:\\([^()]+\\)|[^()\\s]|\\s+(?!\\s))*?(?=\\s+[{;])/,inside:{rule:/@[\\w-]+/}},url:/(?:[-a-z]+-)?url(?=\\()/i,selector:{pattern:/(?=\\S)[^@;{}()]?(?:[^@;{}()\\s]|\\s+(?!\\s)|#\\{\\$[-\\w]+\\})+(?=\\s*\\{(?:\\}|\\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:\"important\"},placeholder:/%[-\\w]+/,variable:/\\$[-\\w]+|#\\{\\$[-\\w]+\\}/}},property:{pattern:/(?:[-\\w]|\\$[-\\w]|#\\{\\$[-\\w]+\\})+(?=\\s*:)/,inside:{variable:/\\$[-\\w]+|#\\{\\$[-\\w]+\\}/}}}),x.languages.insertBefore(\"scss\",\"atrule\",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),x.languages.insertBefore(\"scss\",\"important\",{variable:/\\$[-\\w]+|#\\{\\$[-\\w]+\\}/}),x.languages.insertBefore(\"scss\",\"function\",{\"module-modifier\":{pattern:/\\b(?:as|hide|show|with)\\b/i,alias:\"keyword\"},placeholder:{pattern:/%[-\\w]+/,alias:\"selector\"},statement:{pattern:/\\B!(?:default|optional)\\b/i,alias:\"keyword\"},boolean:/\\b(?:false|true)\\b/,null:{pattern:/\\bnull\\b/,alias:\"keyword\"},operator:{pattern:/(\\s)(?:[-+*\\/%]|[=!]=|<=?|>=?|and|not|or)(?=\\s)/,lookbehind:!0}}),x.languages.scss.atrule.inside.rest=x.languages.scss,function(V){var we={pattern:/(\\b\\d+)(?:%|[a-z]+)/,lookbehind:!0},Ie={pattern:/(^|[^\\w.-])-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)/,lookbehind:!0},le={comment:{pattern:/(^|[^\\\\])(?:\\/\\*[\\s\\S]*?\\*\\/|\\/\\/.*)/,lookbehind:!0},url:{pattern:/\\burl\\(([\"']?).*?\\1\\)/i,greedy:!0},string:{pattern:/(\"|')(?:(?!\\1)[^\\\\\\r\\n]|\\\\(?:\\r\\n|[\\s\\S]))*\\1/,greedy:!0},interpolation:null,func:null,important:/\\B!(?:important|optional)\\b/i,keyword:{pattern:/(^|\\s+)(?:(?:else|for|if|return|unless)(?=\\s|$)|@[\\w-]+)/,lookbehind:!0},hexcode:/#[\\da-f]{3,6}/i,color:[/\\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\\b/i,{pattern:/\\b(?:hsl|rgb)\\(\\s*\\d{1,3}\\s*,\\s*\\d{1,3}%?\\s*,\\s*\\d{1,3}%?\\s*\\)\\B|\\b(?:hsl|rgb)a\\(\\s*\\d{1,3}\\s*,\\s*\\d{1,3}%?\\s*,\\s*\\d{1,3}%?\\s*,\\s*(?:0|0?\\.\\d+|1)\\s*\\)\\B/i,inside:{unit:we,number:Ie,function:/[\\w-]+(?=\\()/,punctuation:/[(),]/}}],entity:/\\\\[\\da-f]{1,8}/i,unit:we,boolean:/\\b(?:false|true)\\b/,operator:[/~|[+!\\/%<>?=]=?|[-:]=|\\*[*=]?|\\.{2,3}|&&|\\|\\||\\B-\\B|\\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\\b/],number:Ie,punctuation:/[{}()\\[\\];:,]/};le.interpolation={pattern:/\\{[^\\r\\n}:]+\\}/,alias:\"variable\",inside:{delimiter:{pattern:/^\\{|\\}$/,alias:\"punctuation\"},rest:le}},le.func={pattern:/[\\w-]+\\([^)]*\\).*/,inside:{function:/^[^(]+/,rest:le}},V.languages.stylus={\"atrule-declaration\":{pattern:/(^[ \\t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\\w-]+/,rest:le}},\"variable-declaration\":{pattern:/(^[ \\t]*)[\\w$-]+\\s*.?=[ \\t]*(?:\\{[^{}]*\\}|\\S.*|$)/m,lookbehind:!0,inside:{variable:/^\\S+/,rest:le}},statement:{pattern:/(^[ \\t]*)(?:else|for|if|return|unless)[ \\t].+/m,lookbehind:!0,inside:{keyword:/^\\S+/,rest:le}},\"property-declaration\":{pattern:/((?:^|\\{)([ \\t]*))(?:[\\w-]|\\{[^}\\r\\n]+\\})+(?:\\s*:\\s*|[ \\t]+)(?!\\s)[^{\\r\\n]*(?:;|[^{\\r\\n,]$(?!(?:\\r?\\n|\\r)(?:\\{|\\2[ \\t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\\s:]+/,inside:{interpolation:le.interpolation}},rest:le}},selector:{pattern:/(^[ \\t]*)(?:(?=\\S)(?:[^{}\\r\\n:()]|::?[\\w-]+(?:\\([^)\\r\\n]*\\)|(?![\\w-]))|\\{[^}\\r\\n]+\\})+)(?:(?:\\r?\\n|\\r)(?:\\1(?:(?=\\S)(?:[^{}\\r\\n:()]|::?[\\w-]+(?:\\([^)\\r\\n]*\\)|(?![\\w-]))|\\{[^}\\r\\n]+\\})+)))*(?:,$|\\{|(?=(?:\\r?\\n|\\r)(?:\\{|\\1[ \\t])))/m,lookbehind:!0,inside:{interpolation:le.interpolation,comment:le.comment,punctuation:/[{},]/}},func:le.func,string:le.string,comment:{pattern:/(^|[^\\\\])(?:\\/\\*[\\s\\S]*?\\*\\/|\\/\\/.*)/,lookbehind:!0,greedy:!0},interpolation:le.interpolation,punctuation:/[{}()\\[\\];:.]/}}(x),function(V){var we=V.util.clone(V.languages.typescript);V.languages.tsx=V.languages.extend(\"jsx\",we),delete V.languages.tsx.parameter,delete V.languages.tsx[\"literal-property\"];var Ie=V.languages.tsx.tag;Ie.pattern=RegExp(/(^|[^\\w$]|(?=<\\/))/.source+\"(?:\"+Ie.pattern.source+\")\",Ie.pattern.flags),Ie.lookbehind=!0}(x),x.languages.wasm={comment:[/\\(;[\\s\\S]*?;\\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/\"(?:\\\\[\\s\\S]|[^\"\\\\])*\"/,greedy:!0},keyword:[{pattern:/\\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\\b(?:(?:f32|f64|i32|i64)(?:\\.(?:abs|add|and|ceil|clz|const|convert_[su]\\/i(?:32|64)|copysign|ctz|demote\\/f64|div(?:_[su])?|eqz?|extend_[su]\\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\\/f32|reinterpret\\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\\/f(?:32|64))?|wrap\\/i64|xor))?|memory\\.(?:grow|size))\\b/,inside:{punctuation:/\\./}},/\\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\\b/],variable:/\\$[\\w!#$%&'*+\\-./:<=>?@\\\\^`|~]+/,number:/[+-]?\\b(?:\\d(?:_?\\d)*(?:\\.\\d(?:_?\\d)*)?(?:[eE][+-]?\\d(?:_?\\d)*)?|0x[\\da-fA-F](?:_?[\\da-fA-F])*(?:\\.[\\da-fA-F](?:_?[\\da-fA-D])*)?(?:[pP][+-]?\\d(?:_?\\d)*)?)\\b|\\binf\\b|\\bnan(?::0x[\\da-fA-F](?:_?[\\da-fA-D])*)?\\b/,punctuation:/[()]/};var F=x,K={plain:{backgroundColor:\"#2a2734\",color:\"#9a86fd\"},styles:[{types:[\"comment\",\"prolog\",\"doctype\",\"cdata\",\"punctuation\"],style:{color:\"#6c6783\"}},{types:[\"namespace\"],style:{opacity:.7}},{types:[\"tag\",\"operator\",\"number\"],style:{color:\"#e09142\"}},{types:[\"property\",\"function\"],style:{color:\"#9a86fd\"}},{types:[\"tag-id\",\"selector\",\"atrule-id\"],style:{color:\"#eeebff\"}},{types:[\"attr-name\"],style:{color:\"#c4b9fe\"}},{types:[\"boolean\",\"string\",\"entity\",\"url\",\"attr-value\",\"keyword\",\"control\",\"directive\",\"unit\",\"statement\",\"regex\",\"atrule\",\"placeholder\",\"variable\"],style:{color:\"#ffcc99\"}},{types:[\"deleted\"],style:{textDecorationLine:\"line-through\"}},{types:[\"inserted\"],style:{textDecorationLine:\"underline\"}},{types:[\"italic\"],style:{fontStyle:\"italic\"}},{types:[\"important\",\"bold\"],style:{fontWeight:\"bold\"}},{types:[\"important\"],style:{color:\"#c4b9fe\"}}]},G=K,q={Prism:F,theme:G};function X(V,we,Ie){return we in V?Object.defineProperty(V,we,{value:Ie,enumerable:!0,configurable:!0,writable:!0}):V[we]=Ie,V}function oe(){return oe=Object.assign||function(V){for(var we=1;we<arguments.length;we++){var Ie=arguments[we];for(var le in Ie)Object.prototype.hasOwnProperty.call(Ie,le)&&(V[le]=Ie[le])}return V},oe.apply(this,arguments)}var Ee=/\\r\\n|\\r|\\n/,Te=function(V){V.length===0?V.push({types:[\"plain\"],content:`\n`,empty:!0}):V.length===1&&V[0].content===\"\"&&(V[0].content=`\n`,V[0].empty=!0)},ae=function(V,we){var Ie=V.length;return Ie>0&&V[Ie-1]===we?V:V.concat(we)},z=function(V){for(var we=[[]],Ie=[V],le=[0],Ne=[V.length],te=0,se=0,pe=[],ee=[pe];se>-1;){for(;(te=le[se]++)<Ne[se];){var Se=void 0,Q=we[se],Z=Ie[se],Y=Z[te];if(typeof Y==\"string\"?(Q=se>0?Q:[\"plain\"],Se=Y):(Q=ae(Q,Y.type),Y.alias&&(Q=ae(Q,Y.alias)),Se=Y.content),typeof Se!=\"string\"){se++,we.push(Q),Ie.push(Se),le.push(0),Ne.push(Se.length);continue}var ue=Se.split(Ee),he=ue.length;pe.push({types:Q,content:ue[0]});for(var me=1;me<he;me++)Te(pe),ee.push(pe=[]),pe.push({types:Q,content:ue[me]})}se--,we.pop(),Ie.pop(),le.pop(),Ne.pop()}return Te(pe),ee},A=function(V,we){var Ie=V.plain,le=Object.create(null),Ne=V.styles.reduce(function(te,se){var pe=se.languages,ee=se.style;return pe&&!pe.includes(we)||se.types.forEach(function(Se){var Q=oe({},te[Se],ee);te[Se]=Q}),te},le);return Ne.root=Ie,Ne.plain=oe({},Ie,{backgroundColor:null}),Ne};function T(V,we){var Ie={};for(var le in V)Object.prototype.hasOwnProperty.call(V,le)&&we.indexOf(le)===-1&&(Ie[le]=V[le]);return Ie}var R=function(V){function we(){for(var Ie=this,le=[],Ne=arguments.length;Ne--;)le[Ne]=arguments[Ne];V.apply(this,le),X(this,\"getThemeDict\",function(te){if(Ie.themeDict!==void 0&&te.theme===Ie.prevTheme&&te.language===Ie.prevLanguage)return Ie.themeDict;Ie.prevTheme=te.theme,Ie.prevLanguage=te.language;var se=te.theme?A(te.theme,te.language):void 0;return Ie.themeDict=se}),X(this,\"getLineProps\",function(te){var se=te.key,pe=te.className,ee=te.style,Se=T(te,[\"key\",\"className\",\"style\",\"line\"]),Q=Se,Z=oe({},Q,{className:\"token-line\",style:void 0,key:void 0}),Y=Ie.getThemeDict(Ie.props);return Y!==void 0&&(Z.style=Y.plain),ee!==void 0&&(Z.style=Z.style!==void 0?oe({},Z.style,ee):ee),se!==void 0&&(Z.key=se),pe&&(Z.className+=\" \"+pe),Z}),X(this,\"getStyleForToken\",function(te){var se=te.types,pe=te.empty,ee=se.length,Se=Ie.getThemeDict(Ie.props);if(Se!==void 0){{if(ee===1&&se[0]===\"plain\")return pe?{display:\"inline-block\"}:void 0;if(ee===1&&!pe)return Se[se[0]]}var Q=pe?{display:\"inline-block\"}:{},Z=se.map(function(Y){return Se[Y]});return Object.assign.apply(Object,[Q].concat(Z))}}),X(this,\"getTokenProps\",function(te){var se=te.key,pe=te.className,ee=te.style,Se=te.token,Q=T(te,[\"key\",\"className\",\"style\",\"token\"]),Z=Q,Y=oe({},Z,{className:\"token \"+Se.types.join(\" \"),children:Se.content,style:Ie.getStyleForToken(Se),key:void 0});return ee!==void 0&&(Y.style=Y.style!==void 0?oe({},Y.style,ee):ee),se!==void 0&&(Y.key=se),pe&&(Y.className+=\" \"+pe),Y}),X(this,\"tokenize\",function(te,se,pe,ee){var Se={code:se,grammar:pe,language:ee,tokens:[]};te.hooks.run(\"before-tokenize\",Se);var Q=Se.tokens=te.tokenize(Se.code,Se.grammar,Se.language);return te.hooks.run(\"after-tokenize\",Se),Q})}return V&&(we.__proto__=V),we.prototype=Object.create(V&&V.prototype),we.prototype.constructor=we,we.prototype.render=function(){var le=this.props,Ne=le.Prism,te=le.language,se=le.code,pe=le.children,ee=this.getThemeDict(this.props),Se=Ne.languages[te],Q=Se!==void 0?this.tokenize(Ne,se,Se,te):[se],Z=z(Q);return pe({tokens:Z,className:\"prism-code language-\"+te,style:ee!==void 0?ee.root:{},getLineProps:this.getLineProps,getTokenProps:this.getTokenProps})},we}(a.Component),j=R,C=e(90943);function B(){return B=Object.assign?Object.assign.bind():function(V){for(var we=1;we<arguments.length;we++){var Ie=arguments[we];for(var le in Ie)Object.prototype.hasOwnProperty.call(Ie,le)&&(V[le]=Ie[le])}return V},B.apply(this,arguments)}function fe(V,we){return _e(V)||Me(V,we)||ge(V,we)||Ae()}function Ae(){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 ge(V,we){if(V){if(typeof V==\"string\")return ce(V,we);var Ie=Object.prototype.toString.call(V).slice(8,-1);if(Ie===\"Object\"&&V.constructor&&(Ie=V.constructor.name),Ie===\"Map\"||Ie===\"Set\")return Array.from(V);if(Ie===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ie))return ce(V,we)}}function ce(V,we){(we==null||we>V.length)&&(we=V.length);for(var Ie=0,le=new Array(we);Ie<we;Ie++)le[Ie]=V[Ie];return le}function Me(V,we){var Ie=V==null?null:typeof Symbol!=\"undefined\"&&V[Symbol.iterator]||V[\"@@iterator\"];if(Ie!=null){var le=[],Ne=!0,te=!1,se,pe;try{for(Ie=Ie.call(V);!(Ne=(se=Ie.next()).done)&&(le.push(se.value),!(we&&le.length===we));Ne=!0);}catch(ee){te=!0,pe=ee}finally{try{!Ne&&Ie.return!=null&&Ie.return()}finally{if(te)throw pe}}return le}}function _e(V){if(Array.isArray(V))return V}var De={acss:\"css\",axml:\"markup\"},Ce=function(we){var Ie=we.children,le=we.lang,Ne=we.highlightLines,te=Ne===void 0?[]:Ne,se=(0,a.useRef)(),pe=(0,a.useState)(!1),ee=fe(pe,2),Se=ee[0],Q=ee[1];return a.createElement(\"div\",{className:\"dumi-default-source-code\"},a.createElement(C.CopyToClipboard,{text:Ie,onCopy:function(){Q(!0),clearTimeout(se.current),se.current=window.setTimeout(function(){return Q(!1)},2e3)}},a.createElement(\"button\",{type:\"button\",className:\"dumi-default-source-code-copy\",\"data-copied\":Se||void 0},Se?a.createElement(v,null):a.createElement(_,null))),a.createElement(j,B({},q,{code:Ie.trim(),language:De[le]||le,theme:void 0}),function(Z){var Y=Z.className,ue=Z.style,he=Z.tokens,me=Z.getLineProps,Oe=Z.getTokenProps;return a.createElement(\"pre\",{className:Y,style:ue},he.map(function(We,ke){return a.createElement(\"div\",B({key:String(ke)},me({line:We,key:ke,className:k()({highlighted:te.includes(ke+1)})})),We.map(function(It,ft){return a.createElement(\"span\",B({key:String(ke)},Oe({token:It,key:ft})))}))}))}))},it=Ce},77759:function(c,m,e){\"use strict\";e.d(m,{Il:function(){return r},Ov:function(){return u}});var a=e(50959),o=null,r=a.createContext({});function u(){return a.useContext(r)}function l(){var p=useLocation(),h=u(),g=h.clientRoutes,y=matchRoutes(g,p.pathname);return y||[]}function d(){var p,h=l().slice(-1),g=((p=h[0])===null||p===void 0?void 0:p.route)||{},y=g.element,S=_objectWithoutProperties(g,o);return S}function f(){var p=useRouteData(),h=u();return{data:h.serverLoaderData[p.route.id]}}function v(){var p=useRouteData(),h=u();return{data:h.clientLoaderData[p.route.id]}}},14828:function(c,m,e){\"use strict\";e.d(m,{Q:function(){return r},X:function(){return o}});var a=e(50959),o=a.createContext(void 0);function r(){return a.useContext(o)}},84875:function(c,m){var e,a;(function(){\"use strict\";var o={}.hasOwnProperty,r=\"[native code]\";function u(){for(var l=[],d=0;d<arguments.length;d++){var f=arguments[d];if(f){var v=typeof f;if(v===\"string\"||v===\"number\")l.push(f);else if(Array.isArray(f)){if(f.length){var p=u.apply(null,f);p&&l.push(p)}}else if(v===\"object\"){if(f.toString!==Object.prototype.toString&&!f.toString.toString().includes(\"[native code]\")){l.push(f.toString());continue}for(var h in f)o.call(f,h)&&f[h]&&l.push(h)}}}return l.join(\" \")}c.exports?(u.default=u,c.exports=u):(e=[],a=function(){return u}.apply(m,e),a!==void 0&&(c.exports=a))})()},14978:function(c,m,e){\"use strict\";Object.defineProperty(m,\"__esModule\",{value:!0}),m.getParameters=void 0;var a=e(37581);function o(u){return a.compressToBase64(u).replace(/\\+/g,\"-\").replace(/\\//g,\"_\").replace(/=+$/,\"\")}function r(u){return o(JSON.stringify(u))}m.getParameters=r},71401:function(c,m,e){\"use strict\";var a;a=!0,m.Z=void 0;var o=e(14978);m.Z=o.getParameters},874:function(c,m,e){\"use strict\";var a=e(16935),o={\"text/plain\":\"Text\",\"text/html\":\"Url\",default:\"Text\"},r=\"Copy to clipboard: #{key}, Enter\";function u(d){var f=(/mac os x/i.test(navigator.userAgent)?\"\\u2318\":\"Ctrl\")+\"+C\";return d.replace(/#{\\s*key\\s*}/g,f)}function l(d,f){var v,p,h,g,y,S,I=!1;f||(f={}),v=f.debug||!1;try{h=a(),g=document.createRange(),y=document.getSelection(),S=document.createElement(\"span\"),S.textContent=d,S.ariaHidden=\"true\",S.style.all=\"unset\",S.style.position=\"fixed\",S.style.top=0,S.style.clip=\"rect(0, 0, 0, 0)\",S.style.whiteSpace=\"pre\",S.style.webkitUserSelect=\"text\",S.style.MozUserSelect=\"text\",S.style.msUserSelect=\"text\",S.style.userSelect=\"text\",S.addEventListener(\"copy\",function(_){if(_.stopPropagation(),f.format)if(_.preventDefault(),typeof _.clipboardData==\"undefined\"){v&&console.warn(\"unable to use e.clipboardData\"),v&&console.warn(\"trying IE specific stuff\"),window.clipboardData.clearData();var M=o[f.format]||o.default;window.clipboardData.setData(M,d)}else _.clipboardData.clearData(),_.clipboardData.setData(f.format,d);f.onCopy&&(_.preventDefault(),f.onCopy(_.clipboardData))}),document.body.appendChild(S),g.selectNodeContents(S),y.addRange(g);var N=document.execCommand(\"copy\");if(!N)throw new Error(\"copy command was unsuccessful\");I=!0}catch(_){v&&console.error(\"unable to copy using execCommand: \",_),v&&console.warn(\"trying IE specific stuff\");try{window.clipboardData.setData(f.format||\"text\",d),f.onCopy&&f.onCopy(window.clipboardData),I=!0}catch(M){v&&console.error(\"unable to copy using clipboardData: \",M),v&&console.error(\"falling back to prompt\"),p=u(\"message\"in f?f.message:r),window.prompt(p,d)}}finally{y&&(typeof y.removeRange==\"function\"?y.removeRange(g):y.removeAllRanges()),S&&document.body.removeChild(S),h()}return I}c.exports=l},21209:function(c,m,e){var a=e(99476),o=e(82424),r=TypeError;c.exports=function(u){if(a(u))return u;throw r(o(u)+\" is not a function\")}},94956:function(c,m,e){var a=e(3437),o=e(82424),r=TypeError;c.exports=function(u){if(a(u))return u;throw r(o(u)+\" is not a constructor\")}},45640:function(c,m,e){var a=e(95722).has;c.exports=function(o){return a(o),o}},72137:function(c,m,e){var a=e(99476),o=String,r=TypeError;c.exports=function(u){if(typeof u==\"object\"||a(u))return u;throw r(\"Can't set \"+o(u)+\" as a prototype\")}},27458:function(c,m,e){var a=e(67410).has;c.exports=function(o){return a(o),o}},4573:function(c,m,e){var a=e(3222).has;c.exports=function(o){return a(o),o}},24351:function(c,m,e){var a=e(82487).has;c.exports=function(o){return a(o),o}},39847:function(c,m,e){var a=e(42721),o=e(12992),r=e(79722),u=e(64264),l=e(36329),d=e(9591),f=d(\"asyncDispose\"),v=d(\"dispose\"),p=a([].push),h=function(y,S){return S==\"async-dispose\"&&l(y,f)||l(y,v)},g=function(y,S,I){return o(I||h(y,S),y)};c.exports=function(y,S,I,N){var _;if(N)u(S)?_=g(void 0,I,N):_=g(r(S),I,N);else{if(u(S))return;_=g(S,I)}p(y.stack,_)}},57415:function(c,m,e){var a=e(9591),o=e(14832),r=e(62886).f,u=a(\"unscopables\"),l=Array.prototype;l[u]==null&&r(l,u,{configurable:!0,value:o(null)}),c.exports=function(d){l[u][d]=!0}},91372:function(c,m,e){var a=e(36915),o=TypeError;c.exports=function(r,u){if(a(u,r))return r;throw o(\"Incorrect invocation\")}},79722:function(c,m,e){var a=e(98822),o=String,r=TypeError;c.exports=function(u){if(a(u))return u;throw r(o(u)+\" is not an object\")}},29738:function(c){c.exports=typeof ArrayBuffer!=\"undefined\"&&typeof DataView!=\"undefined\"},66129:function(c,m,e){var a=e(242);c.exports=a(function(){if(typeof ArrayBuffer==\"function\"){var o=new ArrayBuffer(8);Object.isExtensible(o)&&Object.defineProperty(o,\"a\",{value:8})}})},45133:function(c,m,e){\"use strict\";var a=e(29738),o=e(41737),r=e(38521),u=e(99476),l=e(98822),d=e(67781),f=e(24518),v=e(82424),p=e(84446),h=e(75001),g=e(73538),y=e(36915),S=e(60533),I=e(89555),N=e(9591),_=e(50216),M=e(27956),L=M.enforce,k=M.get,U=r.Int8Array,x=U&&U.prototype,F=r.Uint8ClampedArray,K=F&&F.prototype,G=U&&S(U),q=x&&S(x),X=Object.prototype,oe=r.TypeError,Ee=N(\"toStringTag\"),Te=_(\"TYPED_ARRAY_TAG\"),ae=\"TypedArrayConstructor\",z=a&&!!I&&f(r.opera)!==\"Opera\",A=!1,T,R,j,C={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},B={BigInt64Array:8,BigUint64Array:8},fe=function(it){if(!l(it))return!1;var V=f(it);return V===\"DataView\"||d(C,V)||d(B,V)},Ae=function(Ce){var it=S(Ce);if(l(it)){var V=k(it);return V&&d(V,ae)?V[ae]:Ae(it)}},ge=function(Ce){if(!l(Ce))return!1;var it=f(Ce);return d(C,it)||d(B,it)},ce=function(Ce){if(ge(Ce))return Ce;throw oe(\"Target is not a typed array\")},Me=function(Ce){if(u(Ce)&&(!I||y(G,Ce)))return Ce;throw oe(v(Ce)+\" is not a typed array constructor\")},_e=function(Ce,it,V,we){if(o){if(V)for(var Ie in C){var le=r[Ie];if(le&&d(le.prototype,Ce))try{delete le.prototype[Ce]}catch(Ne){try{le.prototype[Ce]=it}catch(te){}}}(!q[Ce]||V)&&h(q,Ce,V?it:z&&x[Ce]||it,we)}},De=function(Ce,it,V){var we,Ie;if(o){if(I){if(V){for(we in C)if(Ie=r[we],Ie&&d(Ie,Ce))try{delete Ie[Ce]}catch(le){}}if(!G[Ce]||V)try{return h(G,Ce,V?it:z&&G[Ce]||it)}catch(le){}else return}for(we in C)Ie=r[we],Ie&&(!Ie[Ce]||V)&&h(Ie,Ce,it)}};for(T in C)R=r[T],j=R&&R.prototype,j?L(j)[ae]=R:z=!1;for(T in B)R=r[T],j=R&&R.prototype,j&&(L(j)[ae]=R);if((!z||!u(G)||G===Function.prototype)&&(G=function(){throw oe(\"Incorrect invocation\")},z))for(T in C)r[T]&&I(r[T],G);if((!z||!q||q===X)&&(q=G.prototype,z))for(T in C)r[T]&&I(r[T].prototype,q);if(z&&S(K)!==q&&I(K,q),o&&!d(q,Ee)){A=!0,g(q,Ee,{configurable:!0,get:function(){return l(this)?this[Te]:void 0}});for(T in C)r[T]&&p(r[T],Te,T)}c.exports={NATIVE_ARRAY_BUFFER_VIEWS:z,TYPED_ARRAY_TAG:A&&Te,aTypedArray:ce,aTypedArrayConstructor:Me,exportTypedArrayMethod:_e,exportTypedArrayStaticMethod:De,getTypedArrayConstructor:Ae,isView:fe,isTypedArray:ge,TypedArray:G,TypedArrayPrototype:q}},24706:function(c,m,e){\"use strict\";var a=e(12992),o=e(42721),r=e(17311),u=e(3437),l=e(56275),d=e(48429),f=e(44059),v=e(62666),p=e(36329),h=e(59439),g=e(44660),y=e(9591),S=e(24758),I=e(18142).toArray,N=y(\"asyncIterator\"),_=o(h(\"Array\").values),M=o(_([]).next),L=function(){return new k(this)},k=function(U){this.iterator=_(U)};k.prototype.next=function(){return M(this.iterator)},c.exports=function(x){var F=this,K=arguments.length,G=K>1?arguments[1]:void 0,q=K>2?arguments[2]:void 0;return new(g(\"Promise\"))(function(X){var oe=r(x);G!==void 0&&(G=a(G,q));var Ee=p(oe,N),Te=Ee?void 0:v(oe)||L,ae=u(F)?new F:[],z=Ee?l(oe,Ee):new S(f(d(oe,Te)));X(I(z,G,ae))})}},1715:function(c,m,e){var a=e(46831);c.exports=function(o,r){for(var u=0,l=a(r),d=new o(l);l>u;)d[u]=r[u++];return d}},24793:function(c,m,e){\"use strict\";var a=e(12992),o=e(42721),r=e(84551),u=e(17311),l=e(46831),d=e(95722),f=d.Map,v=d.get,p=d.has,h=d.set,g=o([].push);c.exports=function(S){for(var I=u(this),N=r(I),_=a(S,arguments.length>1?arguments[1]:void 0),M=new f,L=l(N),k=0,U,x;L>k;k++)x=N[k],U=_(x,k,I),p(M,U)?g(v(M,U),x):h(M,U,[x]);return M}},46792:function(c,m,e){var a=e(12992),o=e(42721),r=e(84551),u=e(17311),l=e(82098),d=e(46831),f=e(14832),v=e(1715),p=Array,h=o([].push);c.exports=function(g,y,S,I){for(var N=u(g),_=r(N),M=a(y,S),L=f(null),k=d(_),U=0,x,F,K;k>U;U++)K=_[U],F=l(M(K,U,N)),F in L?h(L[F],K):L[F]=[K];if(I&&(x=I(N),x!==p))for(F in L)L[F]=v(x,L[F]);return L}},31851:function(c,m,e){var a=e(88378),o=e(99928),r=e(46831),u=function(l){return function(d,f,v){var p=a(d),h=r(p),g=o(v,h),y;if(l&&f!=f){for(;h>g;)if(y=p[g++],y!=y)return!0}else for(;h>g;g++)if((l||g in p)&&p[g]===f)return l||g||0;return!l&&-1}};c.exports={includes:u(!0),indexOf:u(!1)}},91321:function(c,m,e){var a=e(12992),o=e(84551),r=e(17311),u=e(46831),l=function(d){var f=d==1;return function(v,p,h){for(var g=r(v),y=o(g),S=a(p,h),I=u(y),N,_;I-- >0;)if(N=y[I],_=S(N,I,g),_)switch(d){case 0:return N;case 1:return I}return f?-1:void 0}};c.exports={findLast:l(0),findLastIndex:l(1)}},20111:function(c,m,e){var a=e(12992),o=e(42721),r=e(84551),u=e(17311),l=e(46831),d=e(16005),f=o([].push),v=function(p){var h=p==1,g=p==2,y=p==3,S=p==4,I=p==6,N=p==7,_=p==5||I;return function(M,L,k,U){for(var x=u(M),F=r(x),K=a(L,k),G=l(F),q=0,X=U||d,oe=h?X(M,G):g||N?X(M,0):void 0,Ee,Te;G>q;q++)if((_||q in F)&&(Ee=F[q],Te=K(Ee,q,x),p))if(h)oe[q]=Te;else if(Te)switch(p){case 3:return!0;case 5:return Ee;case 6:return q;case 2:f(oe,Ee)}else switch(p){case 4:return!1;case 7:f(oe,Ee)}return I?-1:y||S?S:oe}};c.exports={forEach:v(0),map:v(1),filter:v(2),some:v(3),every:v(4),find:v(5),findIndex:v(6),filterReject:v(7)}},55578:function(c,m,e){\"use strict\";var a=e(242);c.exports=function(o,r){var u=[][o];return!!u&&a(function(){u.call(null,r||function(){return 1},1)})}},31484:function(c,m,e){var a=e(21209),o=e(17311),r=e(84551),u=e(46831),l=TypeError,d=function(f){return function(v,p,h,g){a(p);var y=o(v),S=r(y),I=u(y),N=f?I-1:0,_=f?-1:1;if(h<2)for(;;){if(N in S){g=S[N],N+=_;break}if(N+=_,f?N<0:I<=N)throw l(\"Reduce of empty array with no initial value\")}for(;f?N>=0:I>N;N+=_)N in S&&(g=p(g,S[N],N,y));return g}};c.exports={left:d(!1),right:d(!0)}},32936:function(c,m,e){\"use strict\";var a=e(41737),o=e(53326),r=TypeError,u=Object.getOwnPropertyDescriptor,l=a&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],\"length\",{writable:!1}).length=1}catch(d){return d instanceof TypeError}}();c.exports=l?function(d,f){if(o(d)&&!u(d,\"length\").writable)throw r(\"Cannot set read only .length\");return d.length=f}:function(d,f){return d.length=f}},70582:function(c,m,e){var a=e(99928),o=e(46831),r=e(40053),u=Array,l=Math.max;c.exports=function(d,f,v){for(var p=o(d),h=a(f,p),g=a(v===void 0?p:v,p),y=u(l(g-h,0)),S=0;h<g;h++,S++)r(y,S,d[h]);return y.length=S,y}},70489:function(c,m,e){var a=e(42721);c.exports=a([].slice)},68310:function(c,m,e){var a=e(53326),o=e(3437),r=e(98822),u=e(9591),l=u(\"species\"),d=Array;c.exports=function(f){var v;return a(f)&&(v=f.constructor,o(v)&&(v===d||a(v.prototype))?v=void 0:r(v)&&(v=v[l],v===null&&(v=void 0))),v===void 0?d:v}},16005:function(c,m,e){var a=e(68310);c.exports=function(o,r){return new(a(o))(r===0?0:r)}},53584:function(c,m,e){var a=e(46831);c.exports=function(o,r){for(var u=a(o),l=new r(u),d=0;d<u;d++)l[d]=o[u-d-1];return l}},94763:function(c,m,e){\"use strict\";var a=e(42721),o=e(21209),r=e(64264),u=e(46831),l=e(17311),d=e(95722),f=e(79298),v=d.Map,p=d.has,h=d.set,g=a([].push);c.exports=function(S){var I=l(this),N=u(I),_=[],M=new v,L=r(S)?function(F){return F}:o(S),k,U,x;for(k=0;k<N;k++)U=I[k],x=L(U),p(M,x)||h(M,x,U);return f(M,function(F){g(_,F)}),_}},77634:function(c,m,e){var a=e(46831),o=e(76628),r=RangeError;c.exports=function(u,l,d,f){var v=a(u),p=o(d),h=p<0?v+p:p;if(h>=v||h<0)throw r(\"Incorrect index\");for(var g=new l(v),y=0;y<v;y++)g[y]=y===h?f:u[y];return g}},24758:function(c,m,e){\"use strict\";var a=e(61217),o=e(79722),r=e(14832),u=e(36329),l=e(82709),d=e(27956),f=e(44660),v=e(83033),p=e(84810),h=f(\"Promise\"),g=\"AsyncFromSyncIterator\",y=d.set,S=d.getterFor(g),I=function(_,M,L){var k=_.done;h.resolve(_.value).then(function(U){M(p(U,k))},L)},N=function(M){M.type=g,y(this,M)};N.prototype=l(r(v),{next:function(){var M=S(this);return new h(function(L,k){var U=o(a(M.next,M.iterator));I(U,L,k)})},return:function(){var _=S(this).iterator;return new h(function(M,L){var k=u(_,\"return\");if(k===void 0)return M(p(void 0,!0));var U=o(a(k,_));I(U,M,L)})}}),c.exports=N},19969:function(c,m,e){var a=e(61217),o=e(44660),r=e(36329);c.exports=function(u,l,d,f){try{var v=r(u,\"return\");if(v)return o(\"Promise\").resolve(a(v,u)).then(function(){l(d)},function(p){f(p)})}catch(p){return f(p)}l(d)}},87890:function(c,m,e){\"use strict\";var a=e(61217),o=e(62738),r=e(79722),u=e(14832),l=e(84446),d=e(82709),f=e(9591),v=e(27956),p=e(44660),h=e(36329),g=e(83033),y=e(84810),S=e(58530),I=p(\"Promise\"),N=f(\"toStringTag\"),_=\"AsyncIteratorHelper\",M=\"WrapForValidAsyncIterator\",L=v.set,k=function(F){var K=!F,G=v.getterFor(F?M:_),q=function(X){var oe=o(function(){return G(X)}),Ee=oe.error,Te=oe.value;return Ee||K&&Te.done?{exit:!0,value:Ee?I.reject(Te):I.resolve(y(void 0,!0))}:{exit:!1,value:Te}};return d(u(g),{next:function(){var oe=q(this),Ee=oe.value;if(oe.exit)return Ee;var Te=o(function(){return r(Ee.nextHandler(I))}),ae=Te.error,z=Te.value;return ae&&(Ee.done=!0),ae?I.reject(z):I.resolve(z)},return:function(){var X=q(this),oe=X.value;if(X.exit)return oe;oe.done=!0;var Ee=oe.iterator,Te,ae,z=o(function(){if(oe.inner)try{S(oe.inner.iterator,\"normal\")}catch(A){return S(Ee,\"throw\",A)}return h(Ee,\"return\")});return Te=ae=z.value,z.error?I.reject(ae):Te===void 0?I.resolve(y(void 0,!0)):(z=o(function(){return a(Te,Ee)}),ae=z.value,z.error?I.reject(ae):F?I.resolve(ae):I.resolve(ae).then(function(A){return r(A),y(void 0,!0)}))}})},U=k(!0),x=k(!1);l(x,N,\"Async Iterator Helper\"),c.exports=function(F,K){var G=function(X,oe){oe?(oe.iterator=X.iterator,oe.next=X.next):oe=X,oe.type=K?M:_,oe.nextHandler=F,oe.counter=0,oe.done=!1,L(this,oe)};return G.prototype=K?U:x,G}},94317:function(c,m,e){\"use strict\";var a=e(61217),o=e(14291),r=function(u,l){return[l,u]};c.exports=function(){return a(o,this,r)}},18142:function(c,m,e){\"use strict\";var a=e(61217),o=e(21209),r=e(79722),u=e(98822),l=e(3802),d=e(44660),f=e(44059),v=e(19969),p=function(h){var g=h==0,y=h==1,S=h==2,I=h==3;return function(N,_,M){var L=f(N),k=d(\"Promise\"),U=L.iterator,x=L.next,F=0,K=_!==void 0;return(K||!g)&&o(_),new k(function(G,q){var X=function(Ee){v(U,q,Ee,q)},oe=function(){try{if(K)try{l(F)}catch(Ee){X(Ee)}k.resolve(r(a(x,U))).then(function(Ee){try{if(r(Ee).done)g?(M.length=F,G(M)):G(I?!1:S||void 0);else{var Te=Ee.value;try{if(K){var ae=_(Te,F),z=function(A){if(y)oe();else if(S)A?oe():v(U,G,!1,q);else if(g)try{M[F++]=A,oe()}catch(T){X(T)}else A?v(U,G,I||Te,q):oe()};u(ae)?k.resolve(ae).then(z,X):z(ae)}else M[F++]=Te,oe()}catch(A){X(A)}}}catch(A){q(A)}},q)}catch(Ee){q(Ee)}};oe()})}};c.exports={toArray:p(0),forEach:p(1),every:p(2),some:p(3),find:p(4)}},14291:function(c,m,e){\"use strict\";var a=e(61217),o=e(21209),r=e(79722),u=e(98822),l=e(44059),d=e(87890),f=e(84810),v=e(19969),p=d(function(h){var g=this,y=g.iterator,S=g.mapper;return new h(function(I,N){var _=function(L){g.done=!0,N(L)},M=function(L){v(y,_,L,_)};h.resolve(r(a(g.next,y))).then(function(L){try{if(r(L).done)g.done=!0,I(f(void 0,!0));else{var k=L.value;try{var U=S(k,g.counter++),x=function(F){I(f(F,!1))};u(U)?h.resolve(U).then(x,M):x(U)}catch(F){M(F)}}}catch(F){_(F)}},_)})});c.exports=function(g){return new p(l(this),{mapper:o(g)})}},83033:function(c,m,e){var a=e(38521),o=e(26495),r=e(99476),u=e(14832),l=e(60533),d=e(75001),f=e(9591),v=e(62761),p=\"USE_FUNCTION_CONSTRUCTOR\",h=f(\"asyncIterator\"),g=a.AsyncIterator,y=o.AsyncIteratorPrototype,S,I;if(y)S=y;else if(r(g))S=g.prototype;else if(o[p]||a[p])try{I=l(l(l(Function(\"return async function*(){}()\")()))),l(I)===Object.prototype&&(S=I)}catch(N){}S?v&&(S=u(S)):S={},r(S[h])||d(S,h,function(){return this}),c.exports=S},25475:function(c,m,e){var a=e(61217),o=e(87890);c.exports=o(function(){return a(this.next,this.iterator)},!0)},76854:function(c,m,e){var a=e(79722),o=e(58530);c.exports=function(r,u,l,d){try{return d?u(a(l)[0],l[1]):u(l)}catch(f){o(r,\"throw\",f)}}},80121:function(c,m,e){var a=e(9591),o=a(\"iterator\"),r=!1;try{var u=0,l={next:function(){return{done:!!u++}},return:function(){r=!0}};l[o]=function(){return this},Array.from(l,function(){throw 2})}catch(d){}c.exports=function(d,f){if(!f&&!r)return!1;var v=!1;try{var p={};p[o]=function(){return{next:function(){return{done:v=!0}}}},d(p)}catch(h){}return v}},11995:function(c,m,e){var a=e(42721),o=a({}.toString),r=a(\"\".slice);c.exports=function(u){return r(o(u),8,-1)}},24518:function(c,m,e){var a=e(10303),o=e(99476),r=e(11995),u=e(9591),l=u(\"toStringTag\"),d=Object,f=r(function(){return arguments}())==\"Arguments\",v=function(p,h){try{return p[h]}catch(g){}};c.exports=a?r:function(p){var h,g,y;return p===void 0?\"Undefined\":p===null?\"Null\":typeof(g=v(h=d(p),l))==\"string\"?g:f?r(h):(y=r(h))==\"Object\"&&o(h.callee)?\"Arguments\":y}},30786:function(c,m,e){\"use strict\";var a=e(12992),o=e(61217),r=e(21209),u=e(94956),l=e(64264),d=e(10917),f=[].push;c.exports=function(p){var h=arguments.length,g=h>1?arguments[1]:void 0,y,S,I,N;return u(this),y=g!==void 0,y&&r(g),l(p)?new this:(S=[],y?(I=0,N=a(g,h>2?arguments[2]:void 0),d(p,function(_){o(f,S,N(_,I++))})):d(p,f,{that:S}),new this(S))}},73083:function(c,m,e){\"use strict\";var a=e(70489);c.exports=function(){return new this(a(arguments))}},46590:function(c,m,e){\"use strict\";var a=e(14832),o=e(73538),r=e(82709),u=e(12992),l=e(91372),d=e(64264),f=e(10917),v=e(36436),p=e(84810),h=e(32520),g=e(41737),y=e(30436).fastKey,S=e(27956),I=S.set,N=S.getterFor;c.exports={getConstructor:function(_,M,L,k){var U=_(function(q,X){l(q,x),I(q,{type:M,index:a(null),first:void 0,last:void 0,size:0}),g||(q.size=0),d(X)||f(X,q[k],{that:q,AS_ENTRIES:L})}),x=U.prototype,F=N(M),K=function(q,X,oe){var Ee=F(q),Te=G(q,X),ae,z;return Te?Te.value=oe:(Ee.last=Te={index:z=y(X,!0),key:X,value:oe,previous:ae=Ee.last,next:void 0,removed:!1},Ee.first||(Ee.first=Te),ae&&(ae.next=Te),g?Ee.size++:q.size++,z!==\"F\"&&(Ee.index[z]=Te)),q},G=function(q,X){var oe=F(q),Ee=y(X),Te;if(Ee!==\"F\")return oe.index[Ee];for(Te=oe.first;Te;Te=Te.next)if(Te.key==X)return Te};return r(x,{clear:function(){for(var X=this,oe=F(X),Ee=oe.index,Te=oe.first;Te;)Te.removed=!0,Te.previous&&(Te.previous=Te.previous.next=void 0),delete Ee[Te.index],Te=Te.next;oe.first=oe.last=void 0,g?oe.size=0:X.size=0},delete:function(q){var X=this,oe=F(X),Ee=G(X,q);if(Ee){var Te=Ee.next,ae=Ee.previous;delete oe.index[Ee.index],Ee.removed=!0,ae&&(ae.next=Te),Te&&(Te.previous=ae),oe.first==Ee&&(oe.first=Te),oe.last==Ee&&(oe.last=ae),g?oe.size--:X.size--}return!!Ee},forEach:function(X){for(var oe=F(this),Ee=u(X,arguments.length>1?arguments[1]:void 0),Te;Te=Te?Te.next:oe.first;)for(Ee(Te.value,Te.key,this);Te&&Te.removed;)Te=Te.previous},has:function(X){return!!G(this,X)}}),r(x,L?{get:function(X){var oe=G(this,X);return oe&&oe.value},set:function(X,oe){return K(this,X===0?0:X,oe)}}:{add:function(X){return K(this,X=X===0?0:X,X)}}),g&&o(x,\"size\",{configurable:!0,get:function(){return F(this).size}}),U},setStrong:function(_,M,L){var k=M+\" Iterator\",U=N(M),x=N(k);v(_,M,function(F,K){I(this,{type:k,target:F,state:U(F),kind:K,last:void 0})},function(){for(var F=x(this),K=F.kind,G=F.last;G&&G.removed;)G=G.previous;return!F.target||!(F.last=G=G?G.next:F.state.first)?(F.target=void 0,p(void 0,!0)):K==\"keys\"?p(G.key,!1):K==\"values\"?p(G.value,!1):p([G.key,G.value],!1)},L?\"entries\":\"values\",!L,!0),h(M)}}},72131:function(c,m,e){\"use strict\";var a=e(42721),o=e(82709),r=e(30436).getWeakData,u=e(91372),l=e(79722),d=e(64264),f=e(98822),v=e(10917),p=e(20111),h=e(67781),g=e(27956),y=g.set,S=g.getterFor,I=p.find,N=p.findIndex,_=a([].splice),M=0,L=function(x){return x.frozen||(x.frozen=new k)},k=function(){this.entries=[]},U=function(x,F){return I(x.entries,function(K){return K[0]===F})};k.prototype={get:function(x){var F=U(this,x);if(F)return F[1]},has:function(x){return!!U(this,x)},set:function(x,F){var K=U(this,x);K?K[1]=F:this.entries.push([x,F])},delete:function(x){var F=N(this.entries,function(K){return K[0]===x});return~F&&_(this.entries,F,1),!!~F}},c.exports={getConstructor:function(x,F,K,G){var q=x(function(Te,ae){u(Te,X),y(Te,{type:F,id:M++,frozen:void 0}),d(ae)||v(ae,Te[G],{that:Te,AS_ENTRIES:K})}),X=q.prototype,oe=S(F),Ee=function(Te,ae,z){var A=oe(Te),T=r(l(ae),!0);return T===!0?L(A).set(ae,z):T[A.id]=z,Te};return o(X,{delete:function(Te){var ae=oe(this);if(!f(Te))return!1;var z=r(Te);return z===!0?L(ae).delete(Te):z&&h(z,ae.id)&&delete z[ae.id]},has:function(ae){var z=oe(this);if(!f(ae))return!1;var A=r(ae);return A===!0?L(z).has(ae):A&&h(A,z.id)}}),o(X,K?{get:function(ae){var z=oe(this);if(f(ae)){var A=r(ae);return A===!0?L(z).get(ae):A?A[z.id]:void 0}},set:function(ae,z){return Ee(this,ae,z)}}:{add:function(ae){return Ee(this,ae,!0)}}),q}}},8651:function(c,m,e){\"use strict\";var a=e(79053),o=e(38521),r=e(42721),u=e(34180),l=e(75001),d=e(30436),f=e(10917),v=e(91372),p=e(99476),h=e(64264),g=e(98822),y=e(242),S=e(80121),I=e(81404),N=e(2707);c.exports=function(_,M,L){var k=_.indexOf(\"Map\")!==-1,U=_.indexOf(\"Weak\")!==-1,x=k?\"set\":\"add\",F=o[_],K=F&&F.prototype,G=F,q={},X=function(T){var R=r(K[T]);l(K,T,T==\"add\"?function(C){return R(this,C===0?0:C),this}:T==\"delete\"?function(j){return U&&!g(j)?!1:R(this,j===0?0:j)}:T==\"get\"?function(C){return U&&!g(C)?void 0:R(this,C===0?0:C)}:T==\"has\"?function(C){return U&&!g(C)?!1:R(this,C===0?0:C)}:function(C,B){return R(this,C===0?0:C,B),this})},oe=u(_,!p(F)||!(U||K.forEach&&!y(function(){new F().entries().next()})));if(oe)G=L.getConstructor(M,_,k,x),d.enable();else if(u(_,!0)){var Ee=new G,Te=Ee[x](U?{}:-0,1)!=Ee,ae=y(function(){Ee.has(1)}),z=S(function(T){new F(T)}),A=!U&&y(function(){for(var T=new F,R=5;R--;)T[x](R,R);return!T.has(-0)});z||(G=M(function(T,R){v(T,K);var j=N(new F,T,G);return h(R)||f(R,j[x],{that:j,AS_ENTRIES:k}),j}),G.prototype=K,K.constructor=G),(ae||A)&&(X(\"delete\"),X(\"has\"),k&&X(\"get\")),(A||Te)&&X(x),U&&K.clear&&delete K.clear}return q[_]=G,a({global:!0,constructor:!0,forced:G!=F},q),I(G,_),U||L.setStrong(G,_,k),G}},97810:function(c,m,e){e(28541),e(37684);var a=e(44660),o=e(14832),r=e(98822),u=Object,l=TypeError,d=a(\"Map\"),f=a(\"WeakMap\"),v=function(){this.object=null,this.symbol=null,this.primitives=null,this.objectsByIndex=o(null)};v.prototype.get=function(h,g){return this[h]||(this[h]=g())},v.prototype.next=function(h,g,y){var S=y?this.objectsByIndex[h]||(this.objectsByIndex[h]=new f):this.primitives||(this.primitives=new d),I=S.get(g);return I||S.set(g,I=new v),I};var p=new v;c.exports=function(){var h=p,g=arguments.length,y,S;for(y=0;y<g;y++)r(S=arguments[y])&&(h=h.next(y,S,!0));if(this===u&&h===p)throw l(\"Composite keys must contain a non-primitive component\");for(y=0;y<g;y++)r(S=arguments[y])||(h=h.next(y,S,!1));return h}},10315:function(c,m,e){var a=e(67781),o=e(42198),r=e(98999),u=e(62886);c.exports=function(l,d,f){for(var v=o(d),p=u.f,h=r.f,g=0;g<v.length;g++){var y=v[g];!a(l,y)&&!(f&&a(f,y))&&p(l,y,h(d,y))}}},44607:function(c,m,e){var a=e(242);c.exports=!a(function(){function o(){}return o.prototype.constructor=null,Object.getPrototypeOf(new o)!==o.prototype})},84810:function(c){c.exports=function(m,e){return{value:m,done:e}}},84446:function(c,m,e){var a=e(41737),o=e(62886),r=e(38382);c.exports=a?function(u,l,d){return o.f(u,l,r(1,d))}:function(u,l,d){return u[l]=d,u}},38382:function(c){c.exports=function(m,e){return{enumerable:!(m&1),configurable:!(m&2),writable:!(m&4),value:e}}},40053:function(c,m,e){\"use strict\";var a=e(82098),o=e(62886),r=e(38382);c.exports=function(u,l,d){var f=a(l);f in u?o.f(u,f,r(0,d)):u[f]=d}},73538:function(c,m,e){var a=e(71784),o=e(62886);c.exports=function(r,u,l){return l.get&&a(l.get,u,{getter:!0}),l.set&&a(l.set,u,{setter:!0}),o.f(r,u,l)}},75001:function(c,m,e){var a=e(99476),o=e(62886),r=e(71784),u=e(80542);c.exports=function(l,d,f,v){v||(v={});var p=v.enumerable,h=v.name!==void 0?v.name:d;if(a(f)&&r(f,h,v),v.global)p?l[d]=f:u(d,f);else{try{v.unsafe?l[d]&&(p=!0):delete l[d]}catch(g){}p?l[d]=f:o.f(l,d,{value:f,enumerable:!1,configurable:!v.nonConfigurable,writable:!v.nonWritable})}return l}},82709:function(c,m,e){var a=e(75001);c.exports=function(o,r,u){for(var l in r)a(o,l,r[l],u);return o}},80542:function(c,m,e){var a=e(38521),o=Object.defineProperty;c.exports=function(r,u){try{o(a,r,{value:u,configurable:!0,writable:!0})}catch(l){a[r]=u}return u}},41737:function(c,m,e){var a=e(242);c.exports=!a(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},49274:function(c){var m=typeof document==\"object\"&&document.all,e=typeof m==\"undefined\"&&m!==void 0;c.exports={all:m,IS_HTMLDDA:e}},50398:function(c,m,e){var a=e(38521),o=e(98822),r=a.document,u=o(r)&&o(r.createElement);c.exports=function(l){return u?r.createElement(l):{}}},3802:function(c){var m=TypeError,e=9007199254740991;c.exports=function(a){if(a>e)throw m(\"Maximum allowed index exceeded\");return a}},76168:function(c){c.exports={IndexSizeError:{s:\"INDEX_SIZE_ERR\",c:1,m:1},DOMStringSizeError:{s:\"DOMSTRING_SIZE_ERR\",c:2,m:0},HierarchyRequestError:{s:\"HIERARCHY_REQUEST_ERR\",c:3,m:1},WrongDocumentError:{s:\"WRONG_DOCUMENT_ERR\",c:4,m:1},InvalidCharacterError:{s:\"INVALID_CHARACTER_ERR\",c:5,m:1},NoDataAllowedError:{s:\"NO_DATA_ALLOWED_ERR\",c:6,m:0},NoModificationAllowedError:{s:\"NO_MODIFICATION_ALLOWED_ERR\",c:7,m:1},NotFoundError:{s:\"NOT_FOUND_ERR\",c:8,m:1},NotSupportedError:{s:\"NOT_SUPPORTED_ERR\",c:9,m:1},InUseAttributeError:{s:\"INUSE_ATTRIBUTE_ERR\",c:10,m:1},InvalidStateError:{s:\"INVALID_STATE_ERR\",c:11,m:1},SyntaxError:{s:\"SYNTAX_ERR\",c:12,m:1},InvalidModificationError:{s:\"INVALID_MODIFICATION_ERR\",c:13,m:1},NamespaceError:{s:\"NAMESPACE_ERR\",c:14,m:1},InvalidAccessError:{s:\"INVALID_ACCESS_ERR\",c:15,m:1},ValidationError:{s:\"VALIDATION_ERR\",c:16,m:0},TypeMismatchError:{s:\"TYPE_MISMATCH_ERR\",c:17,m:1},SecurityError:{s:\"SECURITY_ERR\",c:18,m:1},NetworkError:{s:\"NETWORK_ERR\",c:19,m:1},AbortError:{s:\"ABORT_ERR\",c:20,m:1},URLMismatchError:{s:\"URL_MISMATCH_ERR\",c:21,m:1},QuotaExceededError:{s:\"QUOTA_EXCEEDED_ERR\",c:22,m:1},TimeoutError:{s:\"TIMEOUT_ERR\",c:23,m:1},InvalidNodeTypeError:{s:\"INVALID_NODE_TYPE_ERR\",c:24,m:1},DataCloneError:{s:\"DATA_CLONE_ERR\",c:25,m:1}}},30756:function(c,m,e){var a=e(73677),o=e(35606);c.exports=!a&&!o&&typeof window==\"object\"&&typeof document==\"object\"},89369:function(c){c.exports=typeof Bun==\"function\"&&Bun&&typeof Bun.version==\"string\"},73677:function(c){c.exports=typeof Deno==\"object\"&&Deno&&typeof Deno.version==\"object\"},23126:function(c,m,e){var a=e(58158);c.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(a)},35606:function(c,m,e){var a=e(14224),o=e(11995);c.exports=typeof a!=\"undefined\"&&o(a)==\"process\"},58158:function(c){c.exports=typeof navigator!=\"undefined\"&&String(navigator.userAgent)||\"\"},59476:function(c,m,e){var a=e(38521),o=e(58158),r=a.process,u=a.Deno,l=r&&r.versions||u&&u.version,d=l&&l.v8,f,v;d&&(f=d.split(\".\"),v=f[0]>0&&f[0]<4?1:+(f[0]+f[1])),!v&&o&&(f=o.match(/Edge\\/(\\d+)/),(!f||f[1]>=74)&&(f=o.match(/Chrome\\/(\\d+)/),f&&(v=+f[1]))),c.exports=v},59439:function(c,m,e){var a=e(38521);c.exports=function(o){return a[o].prototype}},91222:function(c){c.exports=[\"constructor\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIsEnumerable\",\"toLocaleString\",\"toString\",\"valueOf\"]},63354:function(c,m,e){var a=e(42721),o=Error,r=a(\"\".replace),u=function(f){return String(o(f).stack)}(\"zxcasd\"),l=/\\n\\s*at [^:]*:[^\\n]*/,d=l.test(u);c.exports=function(f,v){if(d&&typeof f==\"string\"&&!o.prepareStackTrace)for(;v--;)f=r(f,l,\"\");return f}},38247:function(c,m,e){var a=e(84446),o=e(63354),r=e(89121),u=Error.captureStackTrace;c.exports=function(l,d,f,v){r&&(u?u(l,d):a(l,\"stack\",o(f,v)))}},89121:function(c,m,e){var a=e(242),o=e(38382);c.exports=!a(function(){var r=Error(\"a\");return\"stack\"in r?(Object.defineProperty(r,\"stack\",o(1,7)),r.stack!==7):!0})},79053:function(c,m,e){var a=e(38521),o=e(98999).f,r=e(84446),u=e(75001),l=e(80542),d=e(10315),f=e(34180);c.exports=function(v,p){var h=v.target,g=v.global,y=v.stat,S,I,N,_,M,L;if(g?I=a:y?I=a[h]||l(h,{}):I=(a[h]||{}).prototype,I)for(N in p){if(M=p[N],v.dontCallGetSet?(L=o(I,N),_=L&&L.value):_=I[N],S=f(g?N:h+(y?\".\":\"#\")+N,v.forced),!S&&_!==void 0){if(typeof M==typeof _)continue;d(M,_)}(v.sham||_&&_.sham)&&r(M,\"sham\",!0),u(I,N,M,v)}}},242:function(c){c.exports=function(m){try{return!!m()}catch(e){return!0}}},98170:function(c,m,e){var a=e(242);c.exports=!a(function(){return Object.isExtensible(Object.preventExtensions({}))})},9266:function(c,m,e){var a=e(62768),o=Function.prototype,r=o.apply,u=o.call;c.exports=typeof Reflect==\"object\"&&Reflect.apply||(a?u.bind(r):function(){return u.apply(r,arguments)})},12992:function(c,m,e){var a=e(66474),o=e(21209),r=e(62768),u=a(a.bind);c.exports=function(l,d){return o(l),d===void 0?l:r?u(l,d):function(){return l.apply(d,arguments)}}},62768:function(c,m,e){var a=e(242);c.exports=!a(function(){var o=function(){}.bind();return typeof o!=\"function\"||o.hasOwnProperty(\"prototype\")})},61217:function(c,m,e){var a=e(62768),o=Function.prototype.call;c.exports=a?o.bind(o):function(){return o.apply(o,arguments)}},51857:function(c,m,e){\"use strict\";var a=e(42721),o=e(21209);c.exports=function(){return a(o(this))}},5114:function(c,m,e){var a=e(41737),o=e(67781),r=Function.prototype,u=a&&Object.getOwnPropertyDescriptor,l=o(r,\"name\"),d=l&&function(){}.name===\"something\",f=l&&(!a||a&&u(r,\"name\").configurable);c.exports={EXISTS:l,PROPER:d,CONFIGURABLE:f}},29472:function(c,m,e){var a=e(42721),o=e(21209);c.exports=function(r,u,l){try{return a(o(Object.getOwnPropertyDescriptor(r,u)[l]))}catch(d){}}},66474:function(c,m,e){var a=e(11995),o=e(42721);c.exports=function(r){if(a(r)===\"Function\")return o(r)}},42721:function(c,m,e){var a=e(62768),o=Function.prototype,r=o.call,u=a&&o.bind.bind(r,r);c.exports=a?u:function(l){return function(){return r.apply(l,arguments)}}},43517:function(c,m,e){var a=e(61217),o=e(99476),r=e(79722),u=e(44059),l=e(62666),d=e(36329),f=e(9591),v=e(24758),p=f(\"asyncIterator\");c.exports=function(g){var y=r(g),S=!0,I=d(y,p),N;return o(I)||(I=l(y),S=!1),o(I)?N=a(I,y):(N=y,S=!0),r(N),u(S?N:new v(u(N)))}},56275:function(c,m,e){var a=e(61217),o=e(24758),r=e(79722),u=e(48429),l=e(44059),d=e(36329),f=e(9591),v=f(\"asyncIterator\");c.exports=function(p,h){var g=arguments.length<2?d(p,v):h;return g?r(a(g,p)):new o(l(u(p)))}},44660:function(c,m,e){var a=e(38521),o=e(99476),r=function(u){return o(u)?u:void 0};c.exports=function(u,l){return arguments.length<2?r(a[u]):a[u]&&a[u][l]}},44059:function(c,m,e){var a=e(21209),o=e(79722);c.exports=function(r){return{iterator:r,next:a(o(r).next)}}},44880:function(c,m,e){var a=e(61217),o=e(99476),r=e(79722),u=e(44059),l=e(62666);c.exports=function(d){var f=r(d),v=l(f);return u(r(o(v)?a(v,f):f))}},62666:function(c,m,e){var a=e(24518),o=e(36329),r=e(64264),u=e(76939),l=e(9591),d=l(\"iterator\");c.exports=function(f){if(!r(f))return o(f,d)||o(f,\"@@iterator\")||u[a(f)]}},48429:function(c,m,e){var a=e(61217),o=e(21209),r=e(79722),u=e(82424),l=e(62666),d=TypeError;c.exports=function(f,v){var p=arguments.length<2?l(f):v;if(o(p))return r(a(p,f));throw d(u(f)+\" is not iterable\")}},36329:function(c,m,e){var a=e(21209),o=e(64264);c.exports=function(r,u){var l=r[u];return o(l)?void 0:a(l)}},53487:function(c,m,e){var a=e(21209),o=e(79722),r=e(61217),u=e(76628),l=TypeError,d=Math.max,f=function(v,p,h,g){this.set=v,this.size=p,this.has=h,this.keys=g};f.prototype={getIterator:function(){return o(r(this.keys,this.set))},includes:function(v){return r(this.has,this.set,v)}},c.exports=function(v){o(v);var p=+v.size;if(p!=p)throw l(\"Invalid size\");return new f(v,d(u(p),0),a(v.has),a(v.keys))}},14604:function(c,m,e){var a=e(42721),o=e(17311),r=Math.floor,u=a(\"\".charAt),l=a(\"\".replace),d=a(\"\".slice),f=/\\$([$&'`]|\\d{1,2}|<[^>]*>)/g,v=/\\$([$&'`]|\\d{1,2})/g;c.exports=function(p,h,g,y,S,I){var N=g+p.length,_=y.length,M=v;return S!==void 0&&(S=o(S),M=f),l(I,M,function(L,k){var U;switch(u(k,0)){case\"$\":return\"$\";case\"&\":return p;case\"`\":return d(h,0,g);case\"'\":return d(h,N);case\"<\":U=S[d(k,1,-1)];break;default:var x=+k;if(x===0)return L;if(x>_){var F=r(x/10);return F===0?L:F<=_?y[F-1]===void 0?u(k,1):y[F-1]+u(k,1):L}U=y[x-1]}return U===void 0?\"\":U})}},38521:function(c,m,e){var a=function(o){return o&&o.Math==Math&&o};c.exports=a(typeof globalThis==\"object\"&&globalThis)||a(typeof window==\"object\"&&window)||a(typeof self==\"object\"&&self)||a(typeof e.g==\"object\"&&e.g)||function(){return this}()||Function(\"return this\")()},67781:function(c,m,e){var a=e(42721),o=e(17311),r=a({}.hasOwnProperty);c.exports=Object.hasOwn||function(l,d){return r(o(l),d)}},86743:function(c){c.exports={}},30129:function(c){c.exports=function(m,e){try{arguments.length==1?console.error(m):console.error(m,e)}catch(a){}}},2e3:function(c,m,e){var a=e(44660);c.exports=a(\"document\",\"documentElement\")},4707:function(c,m,e){var a=e(41737),o=e(242),r=e(50398);c.exports=!a&&!o(function(){return Object.defineProperty(r(\"div\"),\"a\",{get:function(){return 7}}).a!=7})},84551:function(c,m,e){var a=e(42721),o=e(242),r=e(11995),u=Object,l=a(\"\".split);c.exports=o(function(){return!u(\"z\").propertyIsEnumerable(0)})?function(d){return r(d)==\"String\"?l(d,\"\"):u(d)}:u},2707:function(c,m,e){var a=e(99476),o=e(98822),r=e(89555);c.exports=function(u,l,d){var f,v;return r&&a(f=l.constructor)&&f!==d&&o(v=f.prototype)&&v!==d.prototype&&r(u,v),u}},8777:function(c,m,e){var a=e(42721),o=e(99476),r=e(26495),u=a(Function.toString);o(r.inspectSource)||(r.inspectSource=function(l){return u(l)}),c.exports=r.inspectSource},28143:function(c,m,e){var a=e(98822),o=e(84446);c.exports=function(r,u){a(u)&&\"cause\"in u&&o(r,\"cause\",u.cause)}},30436:function(c,m,e){var a=e(79053),o=e(42721),r=e(86743),u=e(98822),l=e(67781),d=e(62886).f,f=e(1230),v=e(44247),p=e(49877),h=e(50216),g=e(98170),y=!1,S=h(\"meta\"),I=0,N=function(x){d(x,S,{value:{objectID:\"O\"+I++,weakData:{}}})},_=function(x,F){if(!u(x))return typeof x==\"symbol\"?x:(typeof x==\"string\"?\"S\":\"P\")+x;if(!l(x,S)){if(!p(x))return\"F\";if(!F)return\"E\";N(x)}return x[S].objectID},M=function(x,F){if(!l(x,S)){if(!p(x))return!0;if(!F)return!1;N(x)}return x[S].weakData},L=function(x){return g&&y&&p(x)&&!l(x,S)&&N(x),x},k=function(){U.enable=function(){},y=!0;var x=f.f,F=o([].splice),K={};K[S]=1,x(K).length&&(f.f=function(G){for(var q=x(G),X=0,oe=q.length;X<oe;X++)if(q[X]===S){F(q,X,1);break}return q},a({target:\"Object\",stat:!0,forced:!0},{getOwnPropertyNames:v.f}))},U=c.exports={enable:k,fastKey:_,getWeakData:M,onFreeze:L};r[S]=!0},27956:function(c,m,e){var a=e(58730),o=e(38521),r=e(98822),u=e(84446),l=e(67781),d=e(26495),f=e(97469),v=e(86743),p=\"Object already initialized\",h=o.TypeError,g=o.WeakMap,y,S,I,N=function(k){return I(k)?S(k):y(k,{})},_=function(k){return function(U){var x;if(!r(U)||(x=S(U)).type!==k)throw h(\"Incompatible receiver, \"+k+\" required\");return x}};if(a||d.state){var M=d.state||(d.state=new g);M.get=M.get,M.has=M.has,M.set=M.set,y=function(k,U){if(M.has(k))throw h(p);return U.facade=k,M.set(k,U),U},S=function(k){return M.get(k)||{}},I=function(k){return M.has(k)}}else{var L=f(\"state\");v[L]=!0,y=function(k,U){if(l(k,L))throw h(p);return U.facade=k,u(k,L,U),U},S=function(k){return l(k,L)?k[L]:{}},I=function(k){return l(k,L)}}c.exports={set:y,get:S,has:I,enforce:N,getterFor:_}},83937:function(c,m,e){var a=e(9591),o=e(76939),r=a(\"iterator\"),u=Array.prototype;c.exports=function(l){return l!==void 0&&(o.Array===l||u[r]===l)}},53326:function(c,m,e){var a=e(11995);c.exports=Array.isArray||function(r){return a(r)==\"Array\"}},66103:function(c,m,e){var a=e(24518);c.exports=function(o){var r=a(o);return r==\"BigInt64Array\"||r==\"BigUint64Array\"}},99476:function(c,m,e){var a=e(49274),o=a.all;c.exports=a.IS_HTMLDDA?function(r){return typeof r==\"function\"||r===o}:function(r){return typeof r==\"function\"}},3437:function(c,m,e){var a=e(42721),o=e(242),r=e(99476),u=e(24518),l=e(44660),d=e(8777),f=function(){},v=[],p=l(\"Reflect\",\"construct\"),h=/^\\s*(?:class|function)\\b/,g=a(h.exec),y=!h.exec(f),S=function(_){if(!r(_))return!1;try{return p(f,v,_),!0}catch(M){return!1}},I=function(_){if(!r(_))return!1;switch(u(_)){case\"AsyncFunction\":case\"GeneratorFunction\":case\"AsyncGeneratorFunction\":return!1}try{return y||!!g(h,d(_))}catch(M){return!0}};I.sham=!0,c.exports=!p||o(function(){var N;return S(S.call)||!S(Object)||!S(function(){N=!0})||N})?I:S},34180:function(c,m,e){var a=e(242),o=e(99476),r=/#|\\.prototype\\./,u=function(p,h){var g=d[l(p)];return g==v?!0:g==f?!1:o(h)?a(h):!!h},l=u.normalize=function(p){return String(p).replace(r,\".\").toLowerCase()},d=u.data={},f=u.NATIVE=\"N\",v=u.POLYFILL=\"P\";c.exports=u},76669:function(c,m,e){var a=e(24518),o=e(67781),r=e(64264),u=e(9591),l=e(76939),d=u(\"iterator\"),f=Object;c.exports=function(v){if(r(v))return!1;var p=f(v);return p[d]!==void 0||\"@@iterator\"in p||o(l,a(p))}},64264:function(c){c.exports=function(m){return m==null}},98822:function(c,m,e){var a=e(99476),o=e(49274),r=o.all;c.exports=o.IS_HTMLDDA?function(u){return typeof u==\"object\"?u!==null:a(u)||u===r}:function(u){return typeof u==\"object\"?u!==null:a(u)}},62761:function(c){c.exports=!1},98938:function(c,m,e){var a=e(98822),o=e(11995),r=e(9591),u=r(\"match\");c.exports=function(l){var d;return a(l)&&((d=l[u])!==void 0?!!d:o(l)==\"RegExp\")}},74206:function(c,m,e){var a=e(44660),o=e(99476),r=e(36915),u=e(65190),l=Object;c.exports=u?function(d){return typeof d==\"symbol\"}:function(d){var f=a(\"Symbol\");return o(f)&&r(f.prototype,l(d))}},15758:function(c,m,e){var a=e(61217);c.exports=function(o,r,u){for(var l=u||o.next,d,f;!(d=a(l,o)).done;)if(f=r(d.value),f!==void 0)return f}},10917:function(c,m,e){var a=e(12992),o=e(61217),r=e(79722),u=e(82424),l=e(83937),d=e(46831),f=e(36915),v=e(48429),p=e(62666),h=e(58530),g=TypeError,y=function(I,N){this.stopped=I,this.result=N},S=y.prototype;c.exports=function(I,N,_){var M=_&&_.that,L=!!(_&&_.AS_ENTRIES),k=!!(_&&_.IS_RECORD),U=!!(_&&_.IS_ITERATOR),x=!!(_&&_.INTERRUPTED),F=a(N,M),K,G,q,X,oe,Ee,Te,ae=function(A){return K&&h(K,\"normal\",A),new y(!0,A)},z=function(A){return L?(r(A),x?F(A[0],A[1],ae):F(A[0],A[1])):x?F(A,ae):F(A)};if(k)K=I.iterator;else if(U)K=I;else{if(G=p(I),!G)throw g(u(I)+\" is not iterable\");if(l(G)){for(q=0,X=d(I);X>q;q++)if(oe=z(I[q]),oe&&f(S,oe))return oe;return new y(!1)}K=v(I,G)}for(Ee=k?I.next:K.next;!(Te=o(Ee,K)).done;){try{oe=z(Te.value)}catch(A){h(K,\"throw\",A)}if(typeof oe==\"object\"&&oe&&f(S,oe))return oe}return new y(!1)}},58530:function(c,m,e){var a=e(61217),o=e(79722),r=e(36329);c.exports=function(u,l,d){var f,v;o(u);try{if(f=r(u,\"return\"),!f){if(l===\"throw\")throw d;return d}f=a(f,u)}catch(p){v=!0,f=p}if(l===\"throw\")throw d;if(v)throw f;return o(f),d}},12021:function(c,m,e){\"use strict\";var a=e(64462).IteratorPrototype,o=e(14832),r=e(38382),u=e(81404),l=e(76939),d=function(){return this};c.exports=function(f,v,p,h){var g=v+\" Iterator\";return f.prototype=o(a,{next:r(+!h,p)}),u(f,g,!1,!0),l[g]=d,f}},53192:function(c,m,e){\"use strict\";var a=e(61217),o=e(14832),r=e(84446),u=e(82709),l=e(9591),d=e(27956),f=e(36329),v=e(64462).IteratorPrototype,p=e(84810),h=e(58530),g=l(\"toStringTag\"),y=\"IteratorHelper\",S=\"WrapForValidIterator\",I=d.set,N=function(L){var k=d.getterFor(L?S:y);return u(o(v),{next:function(){var x=k(this);if(L)return x.nextHandler();try{var F=x.done?void 0:x.nextHandler();return p(F,x.done)}catch(K){throw x.done=!0,K}},return:function(){var U=k(this),x=U.iterator;if(U.done=!0,L){var F=f(x,\"return\");return F?a(F,x):p(void 0,!0)}if(U.inner)try{h(U.inner.iterator,\"normal\")}catch(K){return h(x,\"throw\",K)}return h(x,\"normal\"),p(void 0,!0)}})},_=N(!0),M=N(!1);r(M,g,\"Iterator Helper\"),c.exports=function(L,k){var U=function(F,K){K?(K.iterator=F.iterator,K.next=F.next):K=F,K.type=k?S:y,K.nextHandler=L,K.counter=0,K.done=!1,I(this,K)};return U.prototype=k?_:M,U}},36436:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(62761),u=e(5114),l=e(99476),d=e(12021),f=e(60533),v=e(89555),p=e(81404),h=e(84446),g=e(75001),y=e(9591),S=e(76939),I=e(64462),N=u.PROPER,_=u.CONFIGURABLE,M=I.IteratorPrototype,L=I.BUGGY_SAFARI_ITERATORS,k=y(\"iterator\"),U=\"keys\",x=\"values\",F=\"entries\",K=function(){return this};c.exports=function(G,q,X,oe,Ee,Te,ae){d(X,q,oe);var z=function(ce){if(ce===Ee&&C)return C;if(!L&&ce in R)return R[ce];switch(ce){case U:return function(){return new X(this,ce)};case x:return function(){return new X(this,ce)};case F:return function(){return new X(this,ce)}}return function(){return new X(this)}},A=q+\" Iterator\",T=!1,R=G.prototype,j=R[k]||R[\"@@iterator\"]||Ee&&R[Ee],C=!L&&j||z(Ee),B=q==\"Array\"&&R.entries||j,fe,Ae,ge;if(B&&(fe=f(B.call(new G)),fe!==Object.prototype&&fe.next&&(!r&&f(fe)!==M&&(v?v(fe,M):l(fe[k])||g(fe,k,K)),p(fe,A,!0,!0),r&&(S[A]=K))),N&&Ee==x&&j&&j.name!==x&&(!r&&_?h(R,\"name\",x):(T=!0,C=function(){return o(j,this)})),Ee)if(Ae={values:z(x),keys:Te?C:z(U),entries:z(F)},ae)for(ge in Ae)(L||T||!(ge in R))&&g(R,ge,Ae[ge]);else a({target:q,proto:!0,forced:L||T},Ae);return(!r||ae)&&R[k]!==C&&g(R,k,C,{name:Ee}),S[q]=C,Ae}},71267:function(c,m,e){\"use strict\";var a=e(61217),o=e(32578),r=function(u,l){return[l,u]};c.exports=function(){return a(o,this,r)}},32578:function(c,m,e){\"use strict\";var a=e(61217),o=e(21209),r=e(79722),u=e(44059),l=e(53192),d=e(76854),f=l(function(){var v=this.iterator,p=r(a(this.next,v)),h=this.done=!!p.done;if(!h)return d(v,this.mapper,[p.value,this.counter++],!0)});c.exports=function(p){return new f(u(this),{mapper:o(p)})}},64462:function(c,m,e){\"use strict\";var a=e(242),o=e(99476),r=e(98822),u=e(14832),l=e(60533),d=e(75001),f=e(9591),v=e(62761),p=f(\"iterator\"),h=!1,g,y,S;[].keys&&(S=[].keys(),\"next\"in S?(y=l(l(S)),y!==Object.prototype&&(g=y)):h=!0);var I=!r(g)||a(function(){var N={};return g[p].call(N)!==N});I?g={}:v&&(g=u(g)),o(g[p])||d(g,p,function(){return this}),c.exports={IteratorPrototype:g,BUGGY_SAFARI_ITERATORS:h}},76939:function(c){c.exports={}},46831:function(c,m,e){var a=e(59030);c.exports=function(o){return a(o.length)}},71784:function(c,m,e){var a=e(42721),o=e(242),r=e(99476),u=e(67781),l=e(41737),d=e(5114).CONFIGURABLE,f=e(8777),v=e(27956),p=v.enforce,h=v.get,g=String,y=Object.defineProperty,S=a(\"\".slice),I=a(\"\".replace),N=a([].join),_=l&&!o(function(){return y(function(){},\"length\",{value:8}).length!==8}),M=String(String).split(\"String\"),L=c.exports=function(k,U,x){S(g(U),0,7)===\"Symbol(\"&&(U=\"[\"+I(g(U),/^Symbol\\(([^)]*)\\)/,\"$1\")+\"]\"),x&&x.getter&&(U=\"get \"+U),x&&x.setter&&(U=\"set \"+U),(!u(k,\"name\")||d&&k.name!==U)&&(l?y(k,\"name\",{value:U,configurable:!0}):k.name=U),_&&x&&u(x,\"arity\")&&k.length!==x.arity&&y(k,\"length\",{value:x.arity});try{x&&u(x,\"constructor\")&&x.constructor?l&&y(k,\"prototype\",{writable:!1}):k.prototype&&(k.prototype=void 0)}catch(K){}var F=p(k);return u(F,\"source\")||(F.source=N(M,typeof U==\"string\"?U:\"\")),k};Function.prototype.toString=L(function(){return r(this)&&h(this).source||f(this)},\"toString\")},95722:function(c,m,e){var a=e(42721),o=Map.prototype;c.exports={Map,set:a(o.set),get:a(o.get),has:a(o.has),remove:a(o.delete),proto:o}},79298:function(c,m,e){var a=e(42721),o=e(15758),r=e(95722),u=r.Map,l=r.proto,d=a(l.forEach),f=a(l.entries),v=f(new u).next;c.exports=function(p,h,g){return g?o(f(p),function(y){return h(y[1],y[0])},v):d(p,h)}},61977:function(c,m,e){\"use strict\";var a=e(61217),o=e(21209),r=e(99476),u=e(79722),l=TypeError;c.exports=function(f,v){var p=u(this),h=o(p.get),g=o(p.has),y=o(p.set),S=arguments.length>2?arguments[2]:void 0,I;if(!r(v)&&!r(S))throw l(\"At least one callback required\");return a(g,p,f)?(I=a(h,p,f),r(v)&&(I=v(I),a(y,p,f,I))):r(S)&&(I=S(),a(y,p,f,I)),I}},76420:function(c,m,e){var a=e(14484),o=Math.abs,r=Math.pow,u=r(2,-52),l=r(2,-23),d=r(2,127)*(2-l),f=r(2,-126),v=function(p){return p+1/u-1/u};c.exports=Math.fround||function(h){var g=+h,y=o(g),S=a(g),I,N;return y<f?S*v(y/f/l)*f*l:(I=(1+l/u)*y,N=I-(I-y),N>d||N!=N?S*(1/0):S*N)}},40652:function(c){c.exports=Math.scale||function(e,a,o,r,u){var l=+e,d=+a,f=+o,v=+r,p=+u;return l!=l||d!=d||f!=f||v!=v||p!=p?NaN:l===1/0||l===-1/0?l:(l-d)*(p-v)/(f-d)+v}},14484:function(c){c.exports=Math.sign||function(e){var a=+e;return a==0||a!=a?a:a<0?-1:1}},77376:function(c){var m=Math.ceil,e=Math.floor;c.exports=Math.trunc||function(o){var r=+o;return(r>0?e:m)(r)}},75517:function(c,m,e){\"use strict\";var a=e(21209),o=TypeError,r=function(u){var l,d;this.promise=new u(function(f,v){if(l!==void 0||d!==void 0)throw o(\"Bad Promise constructor\");l=f,d=v}),this.resolve=a(l),this.reject=a(d)};c.exports.f=function(u){return new r(u)}},48436:function(c,m,e){var a=e(17664);c.exports=function(o,r){return o===void 0?arguments.length<2?\"\":r:a(o)}},28144:function(c){var m=RangeError;c.exports=function(e){if(e===e)return e;throw m(\"NaN is not allowed\")}},73781:function(c,m,e){var a=e(38521),o=a.isFinite;c.exports=Number.isFinite||function(u){return typeof u==\"number\"&&o(u)}},22592:function(c,m,e){var a=e(38521),o=e(242),r=e(42721),u=e(17664),l=e(49463).trim,d=e(45460),f=a.parseInt,v=a.Symbol,p=v&&v.iterator,h=/^[+-]?0x/i,g=r(h.exec),y=f(d+\"08\")!==8||f(d+\"0x16\")!==22||p&&!o(function(){f(Object(p))});c.exports=y?function(I,N){var _=l(u(I));return f(_,N>>>0||(g(h,_)?16:10))}:f},15827:function(c,m,e){\"use strict\";var a=e(27956),o=e(12021),r=e(84810),u=e(64264),l=e(98822),d=e(35126).f,f=e(41737),v=\"Incorrect Iterator.range arguments\",p=\"NumericRangeIterator\",h=a.set,g=a.getterFor(p),y=RangeError,S=TypeError,I=o(function(M,L,k,U,x,F){if(typeof M!=U||L!==1/0&&L!==-1/0&&typeof L!=U)throw S(v);if(M===1/0||M===-1/0)throw y(v);var K=L>M,G=!1,q;if(k===void 0)q=void 0;else if(l(k))q=k.step,G=!!k.inclusive;else if(typeof k==U)q=k;else throw S(v);if(u(q)&&(q=K?F:-F),typeof q!=U)throw S(v);if(q===1/0||q===-1/0||q===x&&M!==L)throw y(v);var X=M!=M||L!=L||q!=q||L>M!=q>x;h(this,{type:p,start:M,end:L,step:q,inclusiveEnd:G,hitsEnd:X,currentCount:x,zero:x}),f||(this.start=M,this.end=L,this.step=q,this.inclusive=G)},p,function(){var M=g(this);if(M.hitsEnd)return r(void 0,!0);var L=M.start,k=M.end,U=M.step,x=L+U*M.currentCount++;x===k&&(M.hitsEnd=!0);var F=M.inclusiveEnd,K;return k>L?K=F?x>k:x>=k:K=F?k>x:k>=x,K?(M.hitsEnd=!0,r(void 0,!0)):r(x,!1)}),N=function(_){return{get:_,set:function(){},configurable:!0,enumerable:!1}};f&&d(I.prototype,{start:N(function(){return g(this).start}),end:N(function(){return g(this).end}),inclusive:N(function(){return g(this).inclusiveEnd}),step:N(function(){return g(this).step})}),c.exports=I},14832:function(c,m,e){var a=e(79722),o=e(35126),r=e(91222),u=e(86743),l=e(2e3),d=e(50398),f=e(97469),v=\">\",p=\"<\",h=\"prototype\",g=\"script\",y=f(\"IE_PROTO\"),S=function(){},I=function(k){return p+g+v+k+p+\"/\"+g+v},N=function(k){k.write(I(\"\")),k.close();var U=k.parentWindow.Object;return k=null,U},_=function(){var k=d(\"iframe\"),U=\"java\"+g+\":\",x;return k.style.display=\"none\",l.appendChild(k),k.src=String(U),x=k.contentWindow.document,x.open(),x.write(I(\"document.F=Object\")),x.close(),x.F},M,L=function(){try{M=new ActiveXObject(\"htmlfile\")}catch(U){}L=typeof document!=\"undefined\"?document.domain&&M?N(M):_():N(M);for(var k=r.length;k--;)delete L[h][r[k]];return L()};u[y]=!0,c.exports=Object.create||function(U,x){var F;return U!==null?(S[h]=a(U),F=new S,S[h]=null,F[y]=U):F=L(),x===void 0?F:o.f(F,x)}},35126:function(c,m,e){var a=e(41737),o=e(20154),r=e(62886),u=e(79722),l=e(88378),d=e(40809);m.f=a&&!o?Object.defineProperties:function(v,p){u(v);for(var h=l(p),g=d(p),y=g.length,S=0,I;y>S;)r.f(v,I=g[S++],h[I]);return v}},62886:function(c,m,e){var a=e(41737),o=e(4707),r=e(20154),u=e(79722),l=e(82098),d=TypeError,f=Object.defineProperty,v=Object.getOwnPropertyDescriptor,p=\"enumerable\",h=\"configurable\",g=\"writable\";m.f=a?r?function(S,I,N){if(u(S),I=l(I),u(N),typeof S==\"function\"&&I===\"prototype\"&&\"value\"in N&&g in N&&!N[g]){var _=v(S,I);_&&_[g]&&(S[I]=N.value,N={configurable:h in N?N[h]:_[h],enumerable:p in N?N[p]:_[p],writable:!1})}return f(S,I,N)}:f:function(S,I,N){if(u(S),I=l(I),u(N),o)try{return f(S,I,N)}catch(_){}if(\"get\"in N||\"set\"in N)throw d(\"Accessors not supported\");return\"value\"in N&&(S[I]=N.value),S}},98999:function(c,m,e){var a=e(41737),o=e(61217),r=e(91197),u=e(38382),l=e(88378),d=e(82098),f=e(67781),v=e(4707),p=Object.getOwnPropertyDescriptor;m.f=a?p:function(g,y){if(g=l(g),y=d(y),v)try{return p(g,y)}catch(S){}if(f(g,y))return u(!o(r.f,g,y),g[y])}},44247:function(c,m,e){var a=e(11995),o=e(88378),r=e(1230).f,u=e(70582),l=typeof window==\"object\"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],d=function(f){try{return r(f)}catch(v){return u(l)}};c.exports.f=function(v){return l&&a(v)==\"Window\"?d(v):r(o(v))}},1230:function(c,m,e){var a=e(88543),o=e(91222),r=o.concat(\"length\",\"prototype\");m.f=Object.getOwnPropertyNames||function(l){return a(l,r)}},22336:function(c,m){m.f=Object.getOwnPropertySymbols},60533:function(c,m,e){var a=e(67781),o=e(99476),r=e(17311),u=e(97469),l=e(44607),d=u(\"IE_PROTO\"),f=Object,v=f.prototype;c.exports=l?f.getPrototypeOf:function(p){var h=r(p);if(a(h,d))return h[d];var g=h.constructor;return o(g)&&h instanceof g?g.prototype:h instanceof f?v:null}},49877:function(c,m,e){var a=e(242),o=e(98822),r=e(11995),u=e(66129),l=Object.isExtensible,d=a(function(){l(1)});c.exports=d||u?function(v){return!o(v)||u&&r(v)==\"ArrayBuffer\"?!1:l?l(v):!0}:l},36915:function(c,m,e){var a=e(42721);c.exports=a({}.isPrototypeOf)},23891:function(c,m,e){\"use strict\";var a=e(27956),o=e(12021),r=e(84810),u=e(67781),l=e(40809),d=e(17311),f=\"Object Iterator\",v=a.set,p=a.getterFor(f);c.exports=o(function(g,y){var S=d(g);v(this,{type:f,mode:y,object:S,keys:l(S),index:0})},\"Object\",function(){for(var g=p(this),y=g.keys;;){if(y===null||g.index>=y.length)return g.object=g.keys=null,r(void 0,!0);var S=y[g.index++],I=g.object;if(u(I,S)){switch(g.mode){case\"keys\":return r(S,!1);case\"values\":return r(I[S],!1)}return r([S,I[S]],!1)}}})},88543:function(c,m,e){var a=e(42721),o=e(67781),r=e(88378),u=e(31851).indexOf,l=e(86743),d=a([].push);c.exports=function(f,v){var p=r(f),h=0,g=[],y;for(y in p)!o(l,y)&&o(p,y)&&d(g,y);for(;v.length>h;)o(p,y=v[h++])&&(~u(g,y)||d(g,y));return g}},40809:function(c,m,e){var a=e(88543),o=e(91222);c.exports=Object.keys||function(u){return a(u,o)}},91197:function(c,m){\"use strict\";var e={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,o=a&&!e.call({1:2},1);m.f=o?function(u){var l=a(this,u);return!!l&&l.enumerable}:e},89555:function(c,m,e){var a=e(29472),o=e(79722),r=e(72137);c.exports=Object.setPrototypeOf||(\"__proto__\"in{}?function(){var u=!1,l={},d;try{d=a(Object.prototype,\"__proto__\",\"set\"),d(l,[]),u=l instanceof Array}catch(f){}return function(v,p){return o(v),r(p),u?d(v,p):v.__proto__=p,v}}():void 0)},17985:function(c,m,e){var a=e(38521),o=e(99476),r=e(9591),u=r(\"observable\"),l=a.Observable,d=l&&l.prototype;c.exports=!o(l)||!o(l.from)||!o(l.of)||!o(d.subscribe)||!o(d[u])},37698:function(c,m,e){var a=e(61217),o=e(99476),r=e(98822),u=TypeError;c.exports=function(l,d){var f,v;if(d===\"string\"&&o(f=l.toString)&&!r(v=a(f,l))||o(f=l.valueOf)&&!r(v=a(f,l))||d!==\"string\"&&o(f=l.toString)&&!r(v=a(f,l)))return v;throw u(\"Can't convert object to primitive value\")}},42198:function(c,m,e){var a=e(44660),o=e(42721),r=e(1230),u=e(22336),l=e(79722),d=o([].concat);c.exports=a(\"Reflect\",\"ownKeys\")||function(v){var p=r.f(l(v)),h=u.f;return h?d(p,h(v)):p}},49158:function(c,m,e){var a=e(38521);c.exports=a},62738:function(c){c.exports=function(m){try{return{error:!1,value:m()}}catch(e){return{error:!0,value:e}}}},8968:function(c,m,e){var a=e(38521),o=e(54257),r=e(99476),u=e(34180),l=e(8777),d=e(9591),f=e(30756),v=e(73677),p=e(62761),h=e(59476),g=o&&o.prototype,y=d(\"species\"),S=!1,I=r(a.PromiseRejectionEvent),N=u(\"Promise\",function(){var _=l(o),M=_!==String(o);if(!M&&h===66||p&&!(g.catch&&g.finally))return!0;if(!h||h<51||!/native code/.test(_)){var L=new o(function(x){x(1)}),k=function(x){x(function(){},function(){})},U=L.constructor={};if(U[y]=k,S=L.then(function(){})instanceof k,!S)return!0}return!M&&(f||v)&&!I});c.exports={CONSTRUCTOR:N,REJECTION_EVENT:I,SUBCLASSING:S}},54257:function(c,m,e){var a=e(38521);c.exports=a.Promise},94400:function(c,m,e){var a=e(54257),o=e(80121),r=e(8968).CONSTRUCTOR;c.exports=r||!o(function(u){a.all(u).then(void 0,function(){})})},3623:function(c,m,e){var a=e(62886).f;c.exports=function(o,r,u){u in o||a(o,u,{configurable:!0,get:function(){return r[u]},set:function(l){r[u]=l}})}},10136:function(c,m,e){e(28541),e(37684);var a=e(44660),o=e(42721),r=e(85561),u=a(\"Map\"),l=a(\"WeakMap\"),d=o([].push),f=r(\"metadata\"),v=f.store||(f.store=new l),p=function(N,_,M){var L=v.get(N);if(!L){if(!M)return;v.set(N,L=new u)}var k=L.get(_);if(!k){if(!M)return;L.set(_,k=new u)}return k},h=function(N,_,M){var L=p(_,M,!1);return L===void 0?!1:L.has(N)},g=function(N,_,M){var L=p(_,M,!1);return L===void 0?void 0:L.get(N)},y=function(N,_,M,L){p(M,L,!0).set(N,_)},S=function(N,_){var M=p(N,_,!1),L=[];return M&&M.forEach(function(k,U){d(L,U)}),L},I=function(N){return N===void 0||typeof N==\"symbol\"?N:String(N)};c.exports={store:v,getMap:p,has:h,get:g,set:y,keys:S,toKey:I}},88042:function(c,m,e){\"use strict\";var a=e(79722);c.exports=function(){var o=a(this),r=\"\";return o.hasIndices&&(r+=\"d\"),o.global&&(r+=\"g\"),o.ignoreCase&&(r+=\"i\"),o.multiline&&(r+=\"m\"),o.dotAll&&(r+=\"s\"),o.unicode&&(r+=\"u\"),o.unicodeSets&&(r+=\"v\"),o.sticky&&(r+=\"y\"),r}},72760:function(c,m,e){var a=e(61217),o=e(67781),r=e(36915),u=e(88042),l=RegExp.prototype;c.exports=function(d){var f=d.flags;return f===void 0&&!(\"flags\"in l)&&!o(d,\"flags\")&&r(l,d)?a(u,d):f}},73017:function(c,m,e){var a=e(64264),o=TypeError;c.exports=function(r){if(a(r))throw o(\"Can't call method on \"+r);return r}},82318:function(c){c.exports=function(m,e){return m===e||m!=m&&e!=e}},89232:function(c,m,e){\"use strict\";var a=e(38521),o=e(9266),r=e(99476),u=e(89369),l=e(58158),d=e(70489),f=e(11899),v=a.Function,p=/MSIE .\\./.test(l)||u&&function(){var h=a.Bun.version.split(\".\");return h.length<3||h[0]==0&&(h[1]<3||h[1]==3&&h[2]==0)}();c.exports=function(h,g){var y=g?2:1;return p?function(S,I){var N=f(arguments.length,1)>y,_=r(S)?S:v(S),M=N?d(arguments,y):[],L=N?function(){o(_,this,M)}:_;return g?h(L,I):h(L)}:h}},74448:function(c,m,e){var a=e(67410),o=e(46357),r=a.Set,u=a.add;c.exports=function(l){var d=new r;return o(l,function(f){u(d,f)}),d}},69873:function(c,m,e){\"use strict\";var a=e(27458),o=e(67410),r=e(74448),u=e(5071),l=e(53487),d=e(46357),f=e(15758),v=o.has,p=o.remove;c.exports=function(g){var y=a(this),S=l(g),I=r(y);return u(y)<=S.size?d(y,function(N){S.includes(N)&&p(I,N)}):f(S.getIterator(),function(N){v(y,N)&&p(I,N)}),I}},67410:function(c,m,e){var a=e(42721),o=Set.prototype;c.exports={Set,add:a(o.add),has:a(o.has),remove:a(o.delete),proto:o,$has:o.has,$keys:o.keys}},18940:function(c,m,e){\"use strict\";var a=e(27458),o=e(67410),r=e(5071),u=e(53487),l=e(46357),d=e(15758),f=o.Set,v=o.add,p=o.has,h=o.$has,g=o.$keys,y=function(S){return S.has===h&&S.keys===g};c.exports=function(I){var N=a(this),_=u(I),M=new f;if(!y(_)&&r(N)>_.size){if(d(_.getIterator(),function(k){p(N,k)&&v(M,k)}),r(M)<2)return M;var L=M;M=new f,l(N,function(k){p(L,k)&&v(M,k)})}else l(N,function(k){_.includes(k)&&v(M,k)});return M}},85208:function(c,m,e){\"use strict\";var a=e(27458),o=e(67410).has,r=e(5071),u=e(53487),l=e(46357),d=e(15758),f=e(58530);c.exports=function(p){var h=a(this),g=u(p);if(r(h)<=g.size)return l(h,function(S){if(g.includes(S))return!1},!0)!==!1;var y=g.getIterator();return d(y,function(S){if(o(h,S))return f(y,\"normal\",!1)})!==!1}},15465:function(c,m,e){\"use strict\";var a=e(27458),o=e(5071),r=e(46357),u=e(53487);c.exports=function(d){var f=a(this),v=u(d);return o(f)>v.size?!1:r(f,function(p){if(!v.includes(p))return!1},!0)!==!1}},71541:function(c,m,e){\"use strict\";var a=e(27458),o=e(67410).has,r=e(5071),u=e(53487),l=e(15758),d=e(58530);c.exports=function(v){var p=a(this),h=u(v);if(r(p)<h.size)return!1;var g=h.getIterator();return l(g,function(y){if(!o(p,y))return d(g,\"normal\",!1)})!==!1}},46357:function(c,m,e){var a=e(42721),o=e(15758),r=e(67410),u=r.Set,l=r.proto,d=a(l.forEach),f=a(l.keys),v=f(new u).next;c.exports=function(p,h,g){return g?o(f(p),h,v):d(p,h)}},39069:function(c,m,e){var a=e(44660),o=function(){return{size:0,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}};c.exports=function(r){try{var u=a(\"Set\");return new u()[r](o()),!0}catch(l){return!1}}},5071:function(c,m,e){var a=e(29472),o=e(67410);c.exports=a(o.proto,\"size\",\"get\")||function(r){return r.size}},32520:function(c,m,e){\"use strict\";var a=e(44660),o=e(73538),r=e(9591),u=e(41737),l=r(\"species\");c.exports=function(d){var f=a(d);u&&f&&!f[l]&&o(f,l,{configurable:!0,get:function(){return this}})}},2457:function(c,m,e){\"use strict\";var a=e(27458),o=e(67410),r=e(74448),u=e(53487),l=e(15758),d=o.add,f=o.has,v=o.remove;c.exports=function(h){var g=a(this),y=u(h).getIterator(),S=r(g);return l(y,function(I){f(g,I)?v(S,I):d(S,I)}),S}},81404:function(c,m,e){var a=e(62886).f,o=e(67781),r=e(9591),u=r(\"toStringTag\");c.exports=function(l,d,f){l&&!f&&(l=l.prototype),l&&!o(l,u)&&a(l,u,{configurable:!0,value:d})}},50871:function(c,m,e){\"use strict\";var a=e(27458),o=e(67410).add,r=e(74448),u=e(53487),l=e(15758);c.exports=function(f){var v=a(this),p=u(f).getIterator(),h=r(v);return l(p,function(g){o(h,g)}),h}},97469:function(c,m,e){var a=e(85561),o=e(50216),r=a(\"keys\");c.exports=function(u){return r[u]||(r[u]=o(u))}},26495:function(c,m,e){var a=e(38521),o=e(80542),r=\"__core-js_shared__\",u=a[r]||o(r,{});c.exports=u},85561:function(c,m,e){var a=e(62761),o=e(26495);(c.exports=function(r,u){return o[r]||(o[r]=u!==void 0?u:{})})(\"versions\",[]).push({version:\"3.28.0\",mode:a?\"pure\":\"global\",copyright:\"\\xA9 2014-2023 Denis Pushkarev (zloirock.ru)\",license:\"https://github.com/zloirock/core-js/blob/v3.28.0/LICENSE\",source:\"https://github.com/zloirock/core-js\"})},87077:function(c,m,e){var a=e(79722),o=e(94956),r=e(64264),u=e(9591),l=u(\"species\");c.exports=function(d,f){var v=a(d).constructor,p;return v===void 0||r(p=a(v)[l])?f:o(p)}},44125:function(c,m,e){var a=e(42721),o=e(88378),r=e(17664),u=e(46831),l=TypeError,d=a([].push),f=a([].join);c.exports=function(p){var h=o(p),g=u(h);if(!g)return\"\";for(var y=arguments.length,S=[],I=0;;){var N=h[I++];if(N===void 0)throw l(\"Incorrect template\");if(d(S,r(N)),I===g)return f(S,\"\");I<y&&d(S,r(arguments[I]))}}},47423:function(c,m,e){var a=e(42721),o=e(76628),r=e(17664),u=e(73017),l=a(\"\".charAt),d=a(\"\".charCodeAt),f=a(\"\".slice),v=function(p){return function(h,g){var y=r(u(h)),S=o(g),I=y.length,N,_;return S<0||S>=I?p?\"\":void 0:(N=d(y,S),N<55296||N>56319||S+1===I||(_=d(y,S+1))<56320||_>57343?p?l(y,S):N:p?f(y,S,S+2):(N-55296<<10)+(_-56320)+65536)}};c.exports={codeAt:v(!1),charAt:v(!0)}},29180:function(c,m,e){var a=e(44660),o=e(42721),r=String.fromCharCode,u=a(\"String\",\"fromCodePoint\"),l=o(\"\".charAt),d=o(\"\".charCodeAt),f=o(\"\".indexOf),v=o(\"\".slice),p=48,h=57,g=97,y=102,S=65,I=70,N=function(L,k){var U=d(L,k);return U>=p&&U<=h},_=function(L,k,U){if(U>=L.length)return-1;for(var x=0;k<U;k++){var F=M(d(L,k));if(F===-1)return-1;x=x*16+F}return x},M=function(L){return L>=p&&L<=h?L-p:L>=g&&L<=y?L-g+10:L>=S&&L<=I?L-S+10:-1};c.exports=function(L){for(var k=\"\",U=0,x=0,F;(x=f(L,\"\\\\\",x))>-1;){if(k+=v(L,U,x),++x===L.length)return;var K=l(L,x++);switch(K){case\"b\":k+=\"\\b\";break;case\"t\":k+=\"\t\";break;case\"n\":k+=`\n`;break;case\"v\":k+=\"\\v\";break;case\"f\":k+=\"\\f\";break;case\"r\":k+=\"\\r\";break;case\"\\r\":x<L.length&&l(L,x)===`\n`&&++x;case`\n`:case\"\\u2028\":case\"\\u2029\":break;case\"0\":if(N(L,x))return;k+=\"\\0\";break;case\"x\":if(F=_(L,x,x+2),F===-1)return;x+=2,k+=r(F);break;case\"u\":if(x<L.length&&l(L,x)===\"{\"){var G=f(L,\"}\",++x);if(G===-1)return;F=_(L,x,G),x=G+1}else F=_(L,x,x+4),x+=4;if(F===-1||F>1114111)return;k+=u(F);break;default:if(N(K,0))return;k+=K}U=x}return k+v(L,U)}},49463:function(c,m,e){var a=e(42721),o=e(73017),r=e(17664),u=e(45460),l=a(\"\".replace),d=RegExp(\"^[\"+u+\"]+\"),f=RegExp(\"(^|[^\"+u+\"])[\"+u+\"]+$\"),v=function(p){return function(h){var g=r(o(h));return p&1&&(g=l(g,d,\"\")),p&2&&(g=l(g,f,\"$1\")),g}};c.exports={start:v(1),end:v(2),trim:v(3)}},65774:function(c,m,e){var a=e(38521),o=e(242),r=e(59476),u=e(30756),l=e(73677),d=e(35606),f=a.structuredClone;c.exports=!!f&&!o(function(){if(l&&r>92||d&&r>94||u&&r>97)return!1;var v=new ArrayBuffer(8),p=f(v,{transfer:[v]});return v.byteLength!=0||p.byteLength!=8})},32496:function(c,m,e){var a=e(59476),o=e(242);c.exports=!!Object.getOwnPropertySymbols&&!o(function(){var r=Symbol();return!String(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&a&&a<41})},82585:function(c,m,e){var a=e(38521),o=e(9266),r=e(12992),u=e(99476),l=e(67781),d=e(242),f=e(2e3),v=e(70489),p=e(50398),h=e(11899),g=e(23126),y=e(35606),S=a.setImmediate,I=a.clearImmediate,N=a.process,_=a.Dispatch,M=a.Function,L=a.MessageChannel,k=a.String,U=0,x={},F=\"onreadystatechange\",K,G,q,X;d(function(){K=a.location});var oe=function(z){if(l(x,z)){var A=x[z];delete x[z],A()}},Ee=function(z){return function(){oe(z)}},Te=function(z){oe(z.data)},ae=function(z){a.postMessage(k(z),K.protocol+\"//\"+K.host)};(!S||!I)&&(S=function(A){h(arguments.length,1);var T=u(A)?A:M(A),R=v(arguments,1);return x[++U]=function(){o(T,void 0,R)},G(U),U},I=function(A){delete x[A]},y?G=function(z){N.nextTick(Ee(z))}:_&&_.now?G=function(z){_.now(Ee(z))}:L&&!g?(q=new L,X=q.port2,q.port1.onmessage=Te,G=r(X.postMessage,X)):a.addEventListener&&u(a.postMessage)&&!a.importScripts&&K&&K.protocol!==\"file:\"&&!d(ae)?(G=ae,a.addEventListener(\"message\",Te,!1)):F in p(\"script\")?G=function(z){f.appendChild(p(\"script\"))[F]=function(){f.removeChild(this),oe(z)}}:G=function(z){setTimeout(Ee(z),0)}),c.exports={set:S,clear:I}},99928:function(c,m,e){var a=e(76628),o=Math.max,r=Math.min;c.exports=function(u,l){var d=a(u);return d<0?o(d+l,0):r(d,l)}},16715:function(c,m,e){var a=e(90594),o=TypeError;c.exports=function(r){var u=a(r,\"number\");if(typeof u==\"number\")throw o(\"Can't convert number to bigint\");return BigInt(u)}},88378:function(c,m,e){var a=e(84551),o=e(73017);c.exports=function(r){return a(o(r))}},76628:function(c,m,e){var a=e(77376);c.exports=function(o){var r=+o;return r!==r||r===0?0:a(r)}},59030:function(c,m,e){var a=e(76628),o=Math.min;c.exports=function(r){return r>0?o(a(r),9007199254740991):0}},17311:function(c,m,e){var a=e(73017),o=Object;c.exports=function(r){return o(a(r))}},8058:function(c,m,e){var a=e(13645),o=RangeError;c.exports=function(r,u){var l=a(r);if(l%u)throw o(\"Wrong offset\");return l}},13645:function(c,m,e){var a=e(76628),o=RangeError;c.exports=function(r){var u=a(r);if(u<0)throw o(\"The argument can't be less than 0\");return u}},90594:function(c,m,e){var a=e(61217),o=e(98822),r=e(74206),u=e(36329),l=e(37698),d=e(9591),f=TypeError,v=d(\"toPrimitive\");c.exports=function(p,h){if(!o(p)||r(p))return p;var g=u(p,v),y;if(g){if(h===void 0&&(h=\"default\"),y=a(g,p,h),!o(y)||r(y))return y;throw f(\"Can't convert object to primitive value\")}return h===void 0&&(h=\"number\"),l(p,h)}},82098:function(c,m,e){var a=e(90594),o=e(74206);c.exports=function(r){var u=a(r,\"string\");return o(u)?u:u+\"\"}},90020:function(c,m,e){var a=e(44660),o=e(99476),r=e(76669),u=e(98822),l=a(\"Set\"),d=function(f){return u(f)&&typeof f.size==\"number\"&&o(f.has)&&o(f.keys)};c.exports=function(f){if(d(f))return f;if(r(f))return new l(f)}},10303:function(c,m,e){var a=e(9591),o=a(\"toStringTag\"),r={};r[o]=\"z\",c.exports=String(r)===\"[object z]\"},17664:function(c,m,e){var a=e(24518),o=String;c.exports=function(r){if(a(r)===\"Symbol\")throw TypeError(\"Cannot convert a Symbol value to a string\");return o(r)}},82424:function(c){var m=String;c.exports=function(e){try{return m(e)}catch(a){return\"Object\"}}},91275:function(c,m,e){var a=e(1715),o=e(62911);c.exports=function(r,u){return a(o(r),u)}},62911:function(c,m,e){var a=e(45133),o=e(87077),r=a.aTypedArrayConstructor,u=a.getTypedArrayConstructor;c.exports=function(l){return r(o(l,u(l)))}},50216:function(c,m,e){var a=e(42721),o=0,r=Math.random(),u=a(1 .toString);c.exports=function(l){return\"Symbol(\"+(l===void 0?\"\":l)+\")_\"+u(++o+r,36)}},65190:function(c,m,e){var a=e(32496);c.exports=a&&!Symbol.sham&&typeof Symbol.iterator==\"symbol\"},20154:function(c,m,e){var a=e(41737),o=e(242);c.exports=a&&o(function(){return Object.defineProperty(function(){},\"prototype\",{value:42,writable:!1}).prototype!=42})},11899:function(c){var m=TypeError;c.exports=function(e,a){if(e<a)throw m(\"Not enough arguments\");return e}},58730:function(c,m,e){var a=e(38521),o=e(99476),r=a.WeakMap;c.exports=o(r)&&/native code/.test(String(r))},3222:function(c,m,e){var a=e(42721),o=WeakMap.prototype;c.exports={WeakMap,set:a(o.set),get:a(o.get),has:a(o.has),remove:a(o.delete)}},82487:function(c,m,e){var a=e(42721),o=WeakSet.prototype;c.exports={WeakSet,add:a(o.add),has:a(o.has),remove:a(o.delete)}},96541:function(c,m,e){var a=e(49158),o=e(67781),r=e(41961),u=e(62886).f;c.exports=function(l){var d=a.Symbol||(a.Symbol={});o(d,l)||u(d,l,{value:r.f(l)})}},41961:function(c,m,e){var a=e(9591);m.f=a},9591:function(c,m,e){var a=e(38521),o=e(85561),r=e(67781),u=e(50216),l=e(32496),d=e(65190),f=a.Symbol,v=o(\"wks\"),p=d?f.for||f:f&&f.withoutSetter||u;c.exports=function(h){return r(v,h)||(v[h]=l&&r(f,h)?f[h]:p(\"Symbol.\"+h)),v[h]}},45460:function(c){c.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`},61014:function(c,m,e){\"use strict\";var a=e(44660),o=e(67781),r=e(84446),u=e(36915),l=e(89555),d=e(10315),f=e(3623),v=e(2707),p=e(48436),h=e(28143),g=e(38247),y=e(41737),S=e(62761);c.exports=function(I,N,_,M){var L=\"stackTraceLimit\",k=M?2:1,U=I.split(\".\"),x=U[U.length-1],F=a.apply(null,U);if(F){var K=F.prototype;if(!S&&o(K,\"cause\")&&delete K.cause,!_)return F;var G=a(\"Error\"),q=N(function(X,oe){var Ee=p(M?oe:X,void 0),Te=M?new F(X):new F;return Ee!==void 0&&r(Te,\"message\",Ee),g(Te,q,Te.stack,2),this&&u(K,this)&&v(Te,this,q),arguments.length>k&&h(Te,arguments[k]),Te});if(q.prototype=K,x!==\"Error\"?l?l(q,G):d(q,G,{name:!0}):y&&L in F&&(f(q,F,L),f(q,F,\"prepareStackTrace\")),d(q,F),!S)try{K.name!==x&&r(K,\"name\",x),K.constructor=q}catch(X){}return q}}},72978:function(c,m,e){var a=e(79053),o=e(44660),r=e(9266),u=e(242),l=e(61014),d=\"AggregateError\",f=o(d),v=!u(function(){return f([1]).errors[0]!==1})&&u(function(){return f([1],d,{cause:7}).cause!==7});a({global:!0,constructor:!0,arity:2,forced:v},{AggregateError:l(d,function(p){return function(g,y){return r(p,this,arguments)}},v,!0)})},40498:function(c,m,e){\"use strict\";var a=e(79053),o=e(36915),r=e(60533),u=e(89555),l=e(10315),d=e(14832),f=e(84446),v=e(38382),p=e(28143),h=e(38247),g=e(10917),y=e(48436),S=e(9591),I=S(\"toStringTag\"),N=Error,_=[].push,M=function(U,x){var F=o(L,this),K;u?K=u(N(),F?r(this):L):(K=F?this:d(L),f(K,I,\"Error\")),x!==void 0&&f(K,\"message\",y(x)),h(K,M,K.stack,1),arguments.length>2&&p(K,arguments[2]);var G=[];return g(U,_,{that:G}),f(K,\"errors\",G),K};u?u(M,N):l(M,N,{name:!0});var L=M.prototype=d(N.prototype,{constructor:v(1,M),message:v(1,\"\"),name:v(1,\"AggregateError\")});a({global:!0,constructor:!0,arity:2},{AggregateError:M})},94380:function(c,m,e){e(40498)},18759:function(c,m,e){\"use strict\";var a=e(79053),o=e(17311),r=e(46831),u=e(76628),l=e(57415);a({target:\"Array\",proto:!0},{at:function(f){var v=o(this),p=r(v),h=u(f),g=h>=0?h:p+h;return g<0||g>=p?void 0:v[g]}}),l(\"at\")},93324:function(c,m,e){\"use strict\";var a=e(79053),o=e(91321).findLastIndex,r=e(57415);a({target:\"Array\",proto:!0},{findLastIndex:function(l){return o(this,l,arguments.length>1?arguments[1]:void 0)}}),r(\"findLastIndex\")},2757:function(c,m,e){\"use strict\";var a=e(79053),o=e(91321).findLast,r=e(57415);a({target:\"Array\",proto:!0},{findLast:function(l){return o(this,l,arguments.length>1?arguments[1]:void 0)}}),r(\"findLast\")},87477:function(c,m,e){\"use strict\";var a=e(79053),o=e(17311),r=e(46831),u=e(32936),l=e(3802),d=e(242),f=d(function(){return[].push.call({length:4294967296},1)!==4294967297}),v=function(){try{Object.defineProperty([],\"length\",{writable:!1}).push()}catch(h){return h instanceof TypeError}},p=f||!v();a({target:\"Array\",proto:!0,arity:1,forced:p},{push:function(g){var y=o(this),S=r(y),I=arguments.length;l(S+I);for(var N=0;N<I;N++)y[S]=arguments[N],S++;return u(y,S),S}})},10375:function(c,m,e){\"use strict\";var a=e(79053),o=e(31484).right,r=e(55578),u=e(59476),l=e(35606),d=!l&&u>79&&u<83,f=d||!r(\"reduceRight\");a({target:\"Array\",proto:!0,forced:f},{reduceRight:function(p){return o(this,p,arguments.length,arguments.length>1?arguments[1]:void 0)}})},97220:function(c,m,e){\"use strict\";var a=e(79053),o=e(31484).left,r=e(55578),u=e(59476),l=e(35606),d=!l&&u>79&&u<83,f=d||!r(\"reduce\");a({target:\"Array\",proto:!0,forced:f},{reduce:function(p){var h=arguments.length;return o(this,p,h,h>1?arguments[1]:void 0)}})},5547:function(c,m,e){\"use strict\";var a=e(79053),o=e(53584),r=e(88378),u=e(57415),l=Array;a({target:\"Array\",proto:!0},{toReversed:function(){return o(r(this),l)}}),u(\"toReversed\")},458:function(c,m,e){\"use strict\";var a=e(79053),o=e(42721),r=e(21209),u=e(88378),l=e(1715),d=e(59439),f=e(57415),v=Array,p=o(d(\"Array\").sort);a({target:\"Array\",proto:!0},{toSorted:function(g){g!==void 0&&r(g);var y=u(this),S=l(v,y);return p(S,g)}}),f(\"toSorted\")},78206:function(c,m,e){\"use strict\";var a=e(79053),o=e(57415),r=e(3802),u=e(46831),l=e(99928),d=e(88378),f=e(76628),v=Array,p=Math.max,h=Math.min;a({target:\"Array\",proto:!0},{toSpliced:function(y,S){var I=d(this),N=u(I),_=l(y,N),M=arguments.length,L=0,k,U,x,F;for(M===0?k=U=0:M===1?(k=0,U=N-_):(k=M-2,U=h(p(f(S),0),N-_)),x=r(N+k-U),F=v(x);L<_;L++)F[L]=I[L];for(;L<_+k;L++)F[L]=arguments[L-_+2];for(;L<x;L++)F[L]=I[L+U-k];return F}}),o(\"toSpliced\")},61765:function(c,m,e){\"use strict\";var a=e(79053),o=e(77634),r=e(88378),u=Array;a({target:\"Array\",proto:!0},{with:function(l,d){return o(r(this),u,l,d)}})},10711:function(c,m,e){var a=e(79053),o=e(38521),r=e(9266),u=e(61014),l=\"WebAssembly\",d=o[l],f=Error(\"e\",{cause:7}).cause!==7,v=function(h,g){var y={};y[h]=u(h,g,f),a({global:!0,constructor:!0,arity:1,forced:f},y)},p=function(h,g){if(d&&d[h]){var y={};y[h]=u(l+\".\"+h,g,f),a({target:l,stat:!0,constructor:!0,arity:1,forced:f},y)}};v(\"Error\",function(h){return function(y){return r(h,this,arguments)}}),v(\"EvalError\",function(h){return function(y){return r(h,this,arguments)}}),v(\"RangeError\",function(h){return function(y){return r(h,this,arguments)}}),v(\"ReferenceError\",function(h){return function(y){return r(h,this,arguments)}}),v(\"SyntaxError\",function(h){return function(y){return r(h,this,arguments)}}),v(\"TypeError\",function(h){return function(y){return r(h,this,arguments)}}),v(\"URIError\",function(h){return function(y){return r(h,this,arguments)}}),p(\"CompileError\",function(h){return function(y){return r(h,this,arguments)}}),p(\"LinkError\",function(h){return function(y){return r(h,this,arguments)}}),p(\"RuntimeError\",function(h){return function(y){return r(h,this,arguments)}})},78418:function(c,m,e){\"use strict\";var a=e(8651),o=e(46590);a(\"Map\",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},o)},28541:function(c,m,e){e(78418)},17934:function(c,m,e){var a=e(79053),o=e(67781);a({target:\"Object\",stat:!0},{hasOwn:o})},59055:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(21209),u=e(44660),l=e(75517),d=e(62738),f=e(10917),v=e(94400),p=\"No one promise resolved\";a({target:\"Promise\",stat:!0,forced:v},{any:function(g){var y=this,S=u(\"AggregateError\"),I=l.f(y),N=I.resolve,_=I.reject,M=d(function(){var L=r(y.resolve),k=[],U=0,x=1,F=!1;f(g,function(K){var G=U++,q=!1;x++,o(L,y,K).then(function(X){q||F||(F=!0,N(X))},function(X){q||F||(q=!0,k[G]=X,--x||_(new S(k,p)))})}),--x||_(new S(k,p))});return M.error&&_(M.value),I.promise}})},9333:function(c,m,e){var a=e(79053),o=e(38521),r=e(81404);a({global:!0},{Reflect:{}}),r(o.Reflect,\"Reflect\",!0)},39117:function(c,m,e){var a=e(38521),o=e(41737),r=e(73538),u=e(88042),l=e(242),d=a.RegExp,f=d.prototype,v=o&&l(function(){var p=!0;try{d(\".\",\"d\")}catch(M){p=!1}var h={},g=\"\",y=p?\"dgimsy\":\"gimsy\",S=function(M,L){Object.defineProperty(h,M,{get:function(){return g+=L,!0}})},I={dotAll:\"s\",global:\"g\",ignoreCase:\"i\",multiline:\"m\",sticky:\"y\"};p&&(I.hasIndices=\"d\");for(var N in I)S(N,I[N]);var _=Object.getOwnPropertyDescriptor(f,\"flags\").get.call(h);return _!==y||g!==y});v&&r(f,\"flags\",{configurable:!0,get:u})},92648:function(c,m,e){\"use strict\";var a=e(79053),o=e(42721),r=e(73017),u=e(76628),l=e(17664),d=e(242),f=o(\"\".charAt),v=d(function(){return\"\\u{20BB7}\".at(-2)!==\"\\uD842\"});a({target:\"String\",proto:!0,forced:v},{at:function(h){var g=l(r(this)),y=g.length,S=u(h),I=S>=0?S:y+S;return I<0||I>=y?void 0:f(g,I)}})},99971:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(42721),u=e(73017),l=e(99476),d=e(64264),f=e(98938),v=e(17664),p=e(36329),h=e(72760),g=e(14604),y=e(9591),S=e(62761),I=y(\"replace\"),N=TypeError,_=r(\"\".indexOf),M=r(\"\".replace),L=r(\"\".slice),k=Math.max,U=function(x,F,K){return K>x.length?-1:F===\"\"?K:_(x,F,K)};a({target:\"String\",proto:!0},{replaceAll:function(F,K){var G=u(this),q,X,oe,Ee,Te,ae,z,A,T,R=0,j=0,C=\"\";if(!d(F)){if(q=f(F),q&&(X=v(u(h(F))),!~_(X,\"g\")))throw N(\"`.replaceAll` does not allow non-global regexes\");if(oe=p(F,I),oe)return o(oe,F,G,K);if(S&&q)return M(v(G),F,K)}for(Ee=v(G),Te=v(F),ae=l(K),ae||(K=v(K)),z=Te.length,A=k(1,z),R=U(Ee,Te,0);R!==-1;)T=ae?v(K(Te,R,Ee)):g(Te,Ee,R,[],void 0,K),C+=L(Ee,j,R)+T,j=R+z,R=U(Ee,Te,R+A);return j<Ee.length&&(C+=L(Ee,j)),C}})},72287:function(c,m,e){\"use strict\";var a=e(45133),o=e(46831),r=e(76628),u=a.aTypedArray,l=a.exportTypedArrayMethod;l(\"at\",function(f){var v=u(this),p=o(v),h=r(f),g=h>=0?h:p+h;return g<0||g>=p?void 0:v[g]})},64974:function(c,m,e){\"use strict\";var a=e(45133),o=e(91321).findLastIndex,r=a.aTypedArray,u=a.exportTypedArrayMethod;u(\"findLastIndex\",function(d){return o(r(this),d,arguments.length>1?arguments[1]:void 0)})},42074:function(c,m,e){\"use strict\";var a=e(45133),o=e(91321).findLast,r=a.aTypedArray,u=a.exportTypedArrayMethod;u(\"findLast\",function(d){return o(r(this),d,arguments.length>1?arguments[1]:void 0)})},50481:function(c,m,e){\"use strict\";var a=e(38521),o=e(61217),r=e(45133),u=e(46831),l=e(8058),d=e(17311),f=e(242),v=a.RangeError,p=a.Int8Array,h=p&&p.prototype,g=h&&h.set,y=r.aTypedArray,S=r.exportTypedArrayMethod,I=!f(function(){var _=new Uint8ClampedArray(2);return o(g,_,{length:1,0:3},1),_[1]!==3}),N=I&&r.NATIVE_ARRAY_BUFFER_VIEWS&&f(function(){var _=new p(2);return _.set(1),_.set(\"2\",1),_[0]!==0||_[1]!==2});S(\"set\",function(M){y(this);var L=l(arguments.length>1?arguments[1]:void 0,1),k=d(M);if(I)return o(g,this,k,L);var U=this.length,x=u(k),F=0;if(x+L>U)throw v(\"Wrong length\");for(;F<x;)this[L+F]=k[F++]},!I||N)},58145:function(c,m,e){\"use strict\";var a=e(53584),o=e(45133),r=o.aTypedArray,u=o.exportTypedArrayMethod,l=o.getTypedArrayConstructor;u(\"toReversed\",function(){return a(r(this),l(this))})},12904:function(c,m,e){\"use strict\";var a=e(45133),o=e(42721),r=e(21209),u=e(1715),l=a.aTypedArray,d=a.getTypedArrayConstructor,f=a.exportTypedArrayMethod,v=o(a.TypedArrayPrototype.sort);f(\"toSorted\",function(h){h!==void 0&&r(h);var g=l(this),y=u(d(g),g);return v(y,h)})},88274:function(c,m,e){\"use strict\";var a=e(77634),o=e(45133),r=e(66103),u=e(76628),l=e(16715),d=o.aTypedArray,f=o.getTypedArrayConstructor,v=o.exportTypedArrayMethod,p=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(h){return h===8}}();v(\"with\",function(h,g){var y=d(this),S=u(h),I=r(y)?l(g):+g;return a(y,f(y),S,I)},!p)},98454:function(c,m,e){\"use strict\";var a=e(98170),o=e(38521),r=e(42721),u=e(82709),l=e(30436),d=e(8651),f=e(72131),v=e(98822),p=e(27956).enforce,h=e(242),g=e(58730),y=Object,S=Array.isArray,I=y.isExtensible,N=y.isFrozen,_=y.isSealed,M=y.freeze,L=y.seal,k={},U={},x=!o.ActiveXObject&&\"ActiveXObject\"in o,F,K=function(z){return function(){return z(this,arguments.length?arguments[0]:void 0)}},G=d(\"WeakMap\",K,f),q=G.prototype,X=r(q.set),oe=function(){return a&&h(function(){var z=M([]);return X(new G,z,1),!N(z)})};if(g)if(x){F=f.getConstructor(K,\"WeakMap\",!0),l.enable();var Ee=r(q.delete),Te=r(q.has),ae=r(q.get);u(q,{delete:function(z){if(v(z)&&!I(z)){var A=p(this);return A.frozen||(A.frozen=new F),Ee(this,z)||A.frozen.delete(z)}return Ee(this,z)},has:function(A){if(v(A)&&!I(A)){var T=p(this);return T.frozen||(T.frozen=new F),Te(this,A)||T.frozen.has(A)}return Te(this,A)},get:function(A){if(v(A)&&!I(A)){var T=p(this);return T.frozen||(T.frozen=new F),Te(this,A)?ae(this,A):T.frozen.get(A)}return ae(this,A)},set:function(A,T){if(v(A)&&!I(A)){var R=p(this);R.frozen||(R.frozen=new F),Te(this,A)?X(this,A,T):R.frozen.set(A,T)}else X(this,A,T);return this}})}else oe()&&u(q,{set:function(A,T){var R;return S(A)&&(N(A)?R=k:_(A)&&(R=U)),X(this,A,T),R==k&&M(A),R==U&&L(A),this}})},37684:function(c,m,e){e(98454)},60730:function(c,m,e){\"use strict\";var a=e(79053),o=e(20111).filterReject,r=e(57415);a({target:\"Array\",proto:!0,forced:!0},{filterOut:function(l){return o(this,l,arguments.length>1?arguments[1]:void 0)}}),r(\"filterOut\")},27224:function(c,m,e){\"use strict\";var a=e(79053),o=e(20111).filterReject,r=e(57415);a({target:\"Array\",proto:!0,forced:!0},{filterReject:function(l){return o(this,l,arguments.length>1?arguments[1]:void 0)}}),r(\"filterReject\")},56260:function(c,m,e){var a=e(79053),o=e(24706);a({target:\"Array\",stat:!0},{fromAsync:o})},5270:function(c,m,e){var a=e(79053),o=e(55578),r=e(57415),u=e(24793),l=e(62761);a({target:\"Array\",proto:!0,name:\"groupToMap\",forced:l||!o(\"groupByToMap\")},{groupByToMap:u}),r(\"groupByToMap\")},71242:function(c,m,e){\"use strict\";var a=e(79053),o=e(46792),r=e(55578),u=e(57415);a({target:\"Array\",proto:!0,forced:!r(\"groupBy\")},{groupBy:function(d){var f=arguments.length>1?arguments[1]:void 0;return o(this,d,f)}}),u(\"groupBy\")},66386:function(c,m,e){var a=e(79053),o=e(57415),r=e(24793),u=e(62761);a({target:\"Array\",proto:!0,forced:u},{groupToMap:r}),o(\"groupToMap\")},30542:function(c,m,e){\"use strict\";var a=e(79053),o=e(46792),r=e(57415);a({target:\"Array\",proto:!0},{group:function(l){var d=arguments.length>1?arguments[1]:void 0;return o(this,l,d)}}),r(\"group\")},3368:function(c,m,e){var a=e(79053),o=e(53326),r=Object.isFrozen,u=function(l,d){if(!r||!o(l)||!r(l))return!1;for(var f=0,v=l.length,p;f<v;)if(p=l[f++],!(typeof p==\"string\"||d&&p===void 0))return!1;return v!==0};a({target:\"Array\",stat:!0,sham:!0,forced:!0},{isTemplateObject:function(d){if(!u(d,!0))return!1;var f=d.raw;return f.length===d.length&&u(f,!1)}})},7098:function(c,m,e){\"use strict\";var a=e(41737),o=e(57415),r=e(17311),u=e(46831),l=e(73538);a&&(l(Array.prototype,\"lastIndex\",{configurable:!0,get:function(){var f=r(this),v=u(f);return v==0?0:v-1}}),o(\"lastIndex\"))},32736:function(c,m,e){\"use strict\";var a=e(41737),o=e(57415),r=e(17311),u=e(46831),l=e(73538);a&&(l(Array.prototype,\"lastItem\",{configurable:!0,get:function(){var f=r(this),v=u(f);return v==0?void 0:f[v-1]},set:function(f){var v=r(this),p=u(v);return v[p==0?0:p-1]=f}}),o(\"lastItem\"))},55350:function(c,m,e){e(5547)},47887:function(c,m,e){e(458)},19661:function(c,m,e){e(78206)},14658:function(c,m,e){\"use strict\";var a=e(79053),o=e(57415),r=e(94763);a({target:\"Array\",proto:!0,forced:!0},{uniqueBy:r}),o(\"uniqueBy\")},89387:function(c,m,e){e(61765)},95458:function(c,m,e){\"use strict\";var a=e(79053),o=e(41737),r=e(44660),u=e(21209),l=e(91372),d=e(75001),f=e(82709),v=e(73538),p=e(9591),h=e(27956),g=e(39847),y=r(\"Promise\"),S=r(\"SuppressedError\"),I=ReferenceError,N=p(\"asyncDispose\"),_=p(\"toStringTag\"),M=\"AsyncDisposableStack\",L=h.set,k=h.getterFor(M),U=\"async-dispose\",x=\"disposed\",F=\"pending\",K=M+\" already disposed\",G=function(){L(l(this,q),{type:M,state:F,stack:[]}),o||(this.disposed=!1)},q=G.prototype;f(q,{disposeAsync:function(){var oe=this;return new y(function(Ee,Te){var ae=k(oe);if(ae.state==x)return Ee(void 0);ae.state=x,o||(oe.disposed=!0);var z=ae.stack,A=z.length,T=!1,R,j=function(B){T?R=new S(B,R):(T=!0,R=B),C()},C=function(){if(A){var B=z[--A];z[A]=null;try{y.resolve(B()).then(C,j)}catch(fe){j(fe)}}else ae.stack=null,T?Te(R):Ee(void 0)};C()})},use:function(oe){var Ee=k(this);if(Ee.state==x)throw I(K);return g(Ee,oe,U),oe},adopt:function(oe,Ee){var Te=k(this);if(Te.state==x)throw I(K);return u(Ee),g(Te,void 0,U,function(){Ee(oe)}),oe},defer:function(oe){var Ee=k(this);if(Ee.state==x)throw I(K);u(oe),g(Ee,void 0,U,oe)},move:function(){var oe=k(this);if(oe.state==x)throw I(K);var Ee=new G;return k(Ee).stack=oe.stack,oe.stack=[],Ee}}),o&&v(q,\"disposed\",{configurable:!0,get:function(){return k(this).state==x}}),d(q,N,q.disposeAsync,{name:\"disposeAsync\"}),d(q,_,M,{nonWritable:!0}),a({global:!0,constructor:!0,forced:!0},{AsyncDisposableStack:G})},70533:function(c,m,e){var a=e(79053),o=e(94317);a({target:\"AsyncIterator\",name:\"indexed\",proto:!0,real:!0,forced:!0},{asIndexedPairs:o})},92617:function(c,m,e){\"use strict\";var a=e(61217),o=e(75001),r=e(44660),u=e(36329),l=e(67781),d=e(9591),f=e(83033),v=d(\"asyncDispose\"),p=r(\"Promise\");l(f,v)||o(f,v,function(){var h=this;return new p(function(g,y){var S=u(h,\"return\");S?p.resolve(a(S,h)).then(function(){g(void 0)},y):g(void 0)})})},18133:function(c,m,e){\"use strict\";var a=e(79053),o=e(91372),r=e(84446),u=e(67781),l=e(9591),d=e(83033),f=e(62761),v=l(\"toStringTag\"),p=function(){o(this,d)};p.prototype=d,u(d,v)||r(d,v,\"AsyncIterator\"),(f||!u(d,\"constructor\")||d.constructor===Object)&&r(d,\"constructor\",p),a({global:!0,constructor:!0,forced:f},{AsyncIterator:p})},5408:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(79722),u=e(44059),l=e(28144),d=e(13645),f=e(87890),v=e(84810),p=f(function(h){var g=this;return new h(function(y,S){var I=function(_){g.done=!0,S(_)},N=function(){try{h.resolve(r(o(g.next,g.iterator))).then(function(_){try{r(_).done?(g.done=!0,y(v(void 0,!0))):g.remaining?(g.remaining--,N()):y(v(_.value,!1))}catch(M){I(M)}},I)}catch(_){I(_)}};N()})});a({target:\"AsyncIterator\",proto:!0,real:!0},{drop:function(g){return new p(u(this),{remaining:d(l(+g))})}})},30750:function(c,m,e){\"use strict\";var a=e(79053),o=e(18142).every;a({target:\"AsyncIterator\",proto:!0,real:!0},{every:function(u){return o(this,u)}})},17638:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(21209),u=e(79722),l=e(98822),d=e(44059),f=e(87890),v=e(84810),p=e(19969),h=f(function(g){var y=this,S=y.iterator,I=y.predicate;return new g(function(N,_){var M=function(U){y.done=!0,_(U)},L=function(U){p(S,M,U,M)},k=function(){try{g.resolve(u(o(y.next,S))).then(function(U){try{if(u(U).done)y.done=!0,N(v(void 0,!0));else{var x=U.value;try{var F=I(x,y.counter++),K=function(G){G?N(v(x,!1)):k()};l(F)?g.resolve(F).then(K,L):K(F)}catch(G){L(G)}}}catch(G){M(G)}},M)}catch(U){M(U)}};k()})});a({target:\"AsyncIterator\",proto:!0,real:!0},{filter:function(y){return new h(d(this),{predicate:r(y)})}})},8758:function(c,m,e){\"use strict\";var a=e(79053),o=e(18142).find;a({target:\"AsyncIterator\",proto:!0,real:!0},{find:function(u){return o(this,u)}})},98805:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(21209),u=e(79722),l=e(98822),d=e(44059),f=e(87890),v=e(84810),p=e(43517),h=e(19969),g=f(function(y){var S=this,I=S.iterator,N=S.mapper;return new y(function(_,M){var L=function(F){S.done=!0,M(F)},k=function(F){h(I,L,F,L)},U=function(){try{y.resolve(u(o(S.next,I))).then(function(F){try{if(u(F).done)S.done=!0,_(v(void 0,!0));else{var K=F.value;try{var G=N(K,S.counter++),q=function(X){try{S.inner=p(X),x()}catch(oe){k(oe)}};l(G)?y.resolve(G).then(q,k):q(G)}catch(X){k(X)}}}catch(X){L(X)}},L)}catch(F){L(F)}},x=function(){var F=S.inner;if(F)try{y.resolve(u(o(F.next,F.iterator))).then(function(K){try{u(K).done?(S.inner=null,U()):_(v(K.value,!1))}catch(G){k(G)}},k)}catch(K){k(K)}else U()};x()})});a({target:\"AsyncIterator\",proto:!0,real:!0},{flatMap:function(S){return new g(d(this),{mapper:r(S),inner:null})}})},92602:function(c,m,e){\"use strict\";var a=e(79053),o=e(18142).forEach;a({target:\"AsyncIterator\",proto:!0,real:!0},{forEach:function(u){return o(this,u)}})},49111:function(c,m,e){var a=e(79053),o=e(17311),r=e(36915),u=e(43517),l=e(83033),d=e(25475);a({target:\"AsyncIterator\",stat:!0},{from:function(v){var p=u(typeof v==\"string\"?o(v):v);return r(l,p.iterator)?p.iterator:new d(p)}})},25131:function(c,m,e){var a=e(79053),o=e(94317);a({target:\"AsyncIterator\",proto:!0,real:!0,forced:!0},{indexed:o})},26698:function(c,m,e){var a=e(79053),o=e(14291);a({target:\"AsyncIterator\",proto:!0,real:!0},{map:o})},89590:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(21209),u=e(79722),l=e(98822),d=e(44660),f=e(44059),v=e(19969),p=d(\"Promise\"),h=TypeError;a({target:\"AsyncIterator\",proto:!0,real:!0},{reduce:function(y){var S=f(this),I=S.iterator,N=S.next,_=arguments.length<2,M=_?void 0:arguments[1],L=0;return r(y),new p(function(k,U){var x=function(K){v(I,U,K,U)},F=function(){try{p.resolve(u(o(N,I))).then(function(K){try{if(u(K).done)_?U(h(\"Reduce of empty iterator with no initial value\")):k(M);else{var G=K.value;if(_)_=!1,M=G,F();else try{var q=y(M,G,L),X=function(oe){M=oe,F()};l(q)?p.resolve(q).then(X,x):X(q)}catch(oe){x(oe)}}L++}catch(oe){U(oe)}},U)}catch(K){U(K)}};F()})}})},28987:function(c,m,e){\"use strict\";var a=e(79053),o=e(18142).some;a({target:\"AsyncIterator\",proto:!0,real:!0},{some:function(u){return o(this,u)}})},65975:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(79722),u=e(44059),l=e(28144),d=e(13645),f=e(87890),v=e(84810),p=f(function(h){var g=this,y=g.iterator,S;if(!g.remaining--){var I=v(void 0,!0);return g.done=!0,S=y.return,S!==void 0?h.resolve(o(S,y,void 0)).then(function(){return I}):I}return h.resolve(o(g.next,y)).then(function(N){return r(N).done?(g.done=!0,v(void 0,!0)):v(N.value,!1)}).then(null,function(N){throw g.done=!0,N})});a({target:\"AsyncIterator\",proto:!0,real:!0},{take:function(g){return new p(u(this),{remaining:d(l(+g))})}})},46618:function(c,m,e){\"use strict\";var a=e(79053),o=e(18142).toArray;a({target:\"AsyncIterator\",proto:!0,real:!0},{toArray:function(){return o(this,void 0,[])}})},2155:function(c,m,e){\"use strict\";var a=e(79053),o=e(15827);typeof BigInt==\"function\"&&a({target:\"BigInt\",stat:!0,forced:!0},{range:function(u,l,d){return new o(u,l,d,\"bigint\",BigInt(0),BigInt(1))}})},34737:function(c,m,e){var a=e(79053),o=e(9266),r=e(97810),u=e(44660),l=e(14832),d=Object,f=function(){var v=u(\"Object\",\"freeze\");return v?v(l(null)):l(null)};a({global:!0,forced:!0},{compositeKey:function(){return o(r,d,arguments).get(\"object\",f)}})},42596:function(c,m,e){var a=e(79053),o=e(97810),r=e(44660),u=e(9266);a({global:!0,forced:!0},{compositeSymbol:function(){return arguments.length==1&&typeof arguments[0]==\"string\"?r(\"Symbol\").for(arguments[0]):u(o,null,arguments).get(\"symbol\",r(\"Symbol\"))}})},40977:function(c,m,e){\"use strict\";var a=e(79053),o=e(41737),r=e(44660),u=e(21209),l=e(91372),d=e(75001),f=e(82709),v=e(73538),p=e(9591),h=e(27956),g=e(39847),y=r(\"SuppressedError\"),S=ReferenceError,I=p(\"dispose\"),N=p(\"toStringTag\"),_=\"DisposableStack\",M=h.set,L=h.getterFor(_),k=\"sync-dispose\",U=\"disposed\",x=\"pending\",F=_+\" already disposed\",K=function(){M(l(this,G),{type:_,state:x,stack:[]}),o||(this.disposed=!1)},G=K.prototype;f(G,{dispose:function(){var X=L(this);if(X.state!=U){X.state=U,o||(this.disposed=!0);for(var oe=X.stack,Ee=oe.length,Te=!1,ae;Ee;){var z=oe[--Ee];oe[Ee]=null;try{z()}catch(A){Te?ae=new y(A,ae):(Te=!0,ae=A)}}if(X.stack=null,Te)throw ae}},use:function(X){var oe=L(this);if(oe.state==U)throw S(F);return g(oe,X,k),X},adopt:function(X,oe){var Ee=L(this);if(Ee.state==U)throw S(F);return u(oe),g(Ee,void 0,k,function(){oe(X)}),X},defer:function(X){var oe=L(this);if(oe.state==U)throw S(F);u(X),g(oe,void 0,k,X)},move:function(){var X=L(this);if(X.state==U)throw S(F);var oe=new K;return L(oe).stack=X.stack,X.stack=[],oe}}),o&&v(G,\"disposed\",{configurable:!0,get:function(){return L(this).state==U}}),d(G,I,G.dispose,{name:\"dispose\"}),d(G,N,_,{nonWritable:!0}),a({global:!0,constructor:!0},{DisposableStack:K})},82921:function(c,m,e){var a=e(79053),o=e(42721),r=e(99476),u=e(8777),l=e(67781),d=e(41737),f=Object.getOwnPropertyDescriptor,v=/^\\s*class\\b/,p=o(v.exec),h=function(g){try{if(!d||!p(v,u(g)))return!1}catch(S){}var y=f(g,\"prototype\");return!!y&&l(y,\"writable\")&&!y.writable};a({target:\"Function\",stat:!0,sham:!0,forced:!0},{isCallable:function(y){return r(y)&&!h(y)}})},79529:function(c,m,e){var a=e(79053),o=e(3437);a({target:\"Function\",stat:!0,forced:!0},{isConstructor:o})},56722:function(c,m,e){var a=e(79053),o=e(51857);a({target:\"Function\",proto:!0,forced:!0,name:\"demethodize\"},{unThis:o})},201:function(c,m,e){var a=e(79053),o=e(71267);a({target:\"Iterator\",name:\"indexed\",proto:!0,real:!0,forced:!0},{asIndexedPairs:o})},79608:function(c,m,e){\"use strict\";var a=e(79053),o=e(38521),r=e(91372),u=e(99476),l=e(84446),d=e(242),f=e(67781),v=e(9591),p=e(64462).IteratorPrototype,h=e(62761),g=v(\"toStringTag\"),y=o.Iterator,S=h||!u(y)||y.prototype!==p||!d(function(){y({})}),I=function(){r(this,p)};f(p,g)||l(p,g,\"Iterator\"),(S||!f(p,\"constructor\")||p.constructor===Object)&&l(p,\"constructor\",I),I.prototype=p,a({global:!0,constructor:!0,forced:S},{Iterator:I})},79592:function(c,m,e){\"use strict\";var a=e(61217),o=e(75001),r=e(36329),u=e(67781),l=e(9591),d=e(64462).IteratorPrototype,f=l(\"dispose\");u(d,f)||o(d,f,function(){var v=r(this,\"return\");v&&a(v,this)})},65690:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(79722),u=e(44059),l=e(28144),d=e(13645),f=e(53192),v=f(function(){for(var p=this.iterator,h=this.next,g,y;this.remaining;)if(this.remaining--,g=r(o(h,p)),y=this.done=!!g.done,y)return;if(g=r(o(h,p)),y=this.done=!!g.done,!y)return g.value});a({target:\"Iterator\",proto:!0,real:!0},{drop:function(h){return new v(u(this),{remaining:d(l(+h))})}})},3776:function(c,m,e){\"use strict\";var a=e(79053),o=e(10917),r=e(21209),u=e(44059);a({target:\"Iterator\",proto:!0,real:!0},{every:function(d){var f=u(this),v=0;return r(d),!o(f,function(p,h){if(!d(p,v++))return h()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},83432:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(21209),u=e(79722),l=e(44059),d=e(53192),f=e(76854),v=d(function(){for(var p=this.iterator,h=this.predicate,g=this.next,y,S,I;;){if(y=u(o(g,p)),S=this.done=!!y.done,S)return;if(I=y.value,f(p,h,[I,this.counter++],!0))return I}});a({target:\"Iterator\",proto:!0,real:!0},{filter:function(h){return new v(l(this),{predicate:r(h)})}})},48025:function(c,m,e){\"use strict\";var a=e(79053),o=e(10917),r=e(21209),u=e(44059);a({target:\"Iterator\",proto:!0,real:!0},{find:function(d){var f=u(this),v=0;return r(d),o(f,function(p,h){if(d(p,v++))return h(p)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},96451:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(21209),u=e(79722),l=e(44059),d=e(44880),f=e(53192),v=e(58530),p=f(function(){for(var h=this.iterator,g=this.mapper,y,S;;){if(S=this.inner)try{if(y=u(o(S.next,S.iterator)),!y.done)return y.value;this.inner=null}catch(I){v(h,\"throw\",I)}if(y=u(o(this.next,h)),this.done=!!y.done)return;try{this.inner=d(g(y.value,this.counter++))}catch(I){v(h,\"throw\",I)}}});a({target:\"Iterator\",proto:!0,real:!0},{flatMap:function(g){return new p(l(this),{mapper:r(g),inner:null})}})},79593:function(c,m,e){\"use strict\";var a=e(79053),o=e(10917),r=e(21209),u=e(44059);a({target:\"Iterator\",proto:!0,real:!0},{forEach:function(d){var f=u(this),v=0;r(d),o(f,function(p){d(p,v++)},{IS_RECORD:!0})}})},75272:function(c,m,e){var a=e(79053),o=e(61217),r=e(17311),u=e(36915),l=e(64462).IteratorPrototype,d=e(53192),f=e(44880),v=d(function(){return o(this.next,this.iterator)},!0);a({target:\"Iterator\",stat:!0},{from:function(h){var g=f(typeof h==\"string\"?r(h):h);return u(l,g.iterator)?g.iterator:new v(g)}})},82570:function(c,m,e){var a=e(79053),o=e(71267);a({target:\"Iterator\",proto:!0,real:!0,forced:!0},{indexed:o})},50952:function(c,m,e){var a=e(79053),o=e(32578);a({target:\"Iterator\",proto:!0,real:!0},{map:o})},64317:function(c,m,e){\"use strict\";var a=e(79053),o=e(10917),r=e(21209),u=e(44059),l=TypeError;a({target:\"Iterator\",proto:!0,real:!0},{reduce:function(f){var v=u(this);r(f);var p=arguments.length<2,h=p?void 0:arguments[1],g=0;if(o(v,function(y){p?(p=!1,h=y):h=f(h,y,g),g++},{IS_RECORD:!0}),p)throw l(\"Reduce of empty iterator with no initial value\");return h}})},13685:function(c,m,e){\"use strict\";var a=e(79053),o=e(10917),r=e(21209),u=e(44059);a({target:\"Iterator\",proto:!0,real:!0},{some:function(d){var f=u(this),v=0;return r(d),o(f,function(p,h){if(d(p,v++))return h()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},53494:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(79722),u=e(44059),l=e(28144),d=e(13645),f=e(53192),v=e(58530),p=f(function(){var h=this.iterator;if(!this.remaining--)return this.done=!0,v(h,\"normal\",void 0);var g=r(o(this.next,h)),y=this.done=!!g.done;if(!y)return g.value});a({target:\"Iterator\",proto:!0,real:!0},{take:function(g){return new p(u(this),{remaining:d(l(+g))})}})},83489:function(c,m,e){\"use strict\";var a=e(79053),o=e(10917),r=e(44059),u=[].push;a({target:\"Iterator\",proto:!0,real:!0},{toArray:function(){var d=[];return o(r(this),u,{that:d,IS_RECORD:!0}),d}})},70704:function(c,m,e){\"use strict\";var a=e(79053),o=e(24758),r=e(25475),u=e(44059);a({target:\"Iterator\",proto:!0,real:!0},{toAsync:function(){return new r(u(new o(u(this))))}})},64086:function(c,m,e){\"use strict\";var a=e(79053),o=e(45640),r=e(95722).remove;a({target:\"Map\",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var l=o(this),d=!0,f,v=0,p=arguments.length;v<p;v++)f=r(l,arguments[v]),d=d&&f;return!!d}})},17046:function(c,m,e){\"use strict\";var a=e(79053),o=e(45640),r=e(95722),u=r.get,l=r.has,d=r.set;a({target:\"Map\",proto:!0,real:!0,forced:!0},{emplace:function(v,p){var h=o(this),g,y;return l(h,v)?(g=u(h,v),\"update\"in p&&(g=p.update(g,v,h),d(h,v,g)),g):(y=p.insert(v,h),d(h,v,y),y)}})},98003:function(c,m,e){\"use strict\";var a=e(79053),o=e(12992),r=e(45640),u=e(79298);a({target:\"Map\",proto:!0,real:!0,forced:!0},{every:function(d){var f=r(this),v=o(d,arguments.length>1?arguments[1]:void 0);return u(f,function(p,h){if(!v(p,h,f))return!1},!0)!==!1}})},29730:function(c,m,e){\"use strict\";var a=e(79053),o=e(12992),r=e(45640),u=e(95722),l=e(79298),d=u.Map,f=u.set;a({target:\"Map\",proto:!0,real:!0,forced:!0},{filter:function(p){var h=r(this),g=o(p,arguments.length>1?arguments[1]:void 0),y=new d;return l(h,function(S,I){g(S,I,h)&&f(y,I,S)}),y}})},538:function(c,m,e){\"use strict\";var a=e(79053),o=e(12992),r=e(45640),u=e(79298);a({target:\"Map\",proto:!0,real:!0,forced:!0},{findKey:function(d){var f=r(this),v=o(d,arguments.length>1?arguments[1]:void 0),p=u(f,function(h,g){if(v(h,g,f))return{key:g}},!0);return p&&p.key}})},71029:function(c,m,e){\"use strict\";var a=e(79053),o=e(12992),r=e(45640),u=e(79298);a({target:\"Map\",proto:!0,real:!0,forced:!0},{find:function(d){var f=r(this),v=o(d,arguments.length>1?arguments[1]:void 0),p=u(f,function(h,g){if(v(h,g,f))return{value:h}},!0);return p&&p.value}})},13613:function(c,m,e){var a=e(79053),o=e(30786);a({target:\"Map\",stat:!0,forced:!0},{from:o})},20127:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(42721),u=e(99476),l=e(21209),d=e(10917),f=e(95722).Map,v=r([].push);a({target:\"Map\",stat:!0,forced:!0},{groupBy:function(h,g){var y=u(this)?this:f,S=new y;l(g);var I=l(S.has),N=l(S.get),_=l(S.set);return d(h,function(M){var L=g(M);o(I,S,L)?v(o(N,S,L),M):o(_,S,L,[M])}),S}})},30003:function(c,m,e){\"use strict\";var a=e(79053),o=e(82318),r=e(45640),u=e(79298);a({target:\"Map\",proto:!0,real:!0,forced:!0},{includes:function(d){return u(r(this),function(f){if(o(f,d))return!0},!0)===!0}})},29643:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(10917),u=e(99476),l=e(21209),d=e(95722).Map;a({target:\"Map\",stat:!0,forced:!0},{keyBy:function(v,p){var h=u(this)?this:d,g=new h;l(p);var y=l(g.set);return r(v,function(S){o(y,g,p(S),S)}),g}})},7769:function(c,m,e){\"use strict\";var a=e(79053),o=e(45640),r=e(79298);a({target:\"Map\",proto:!0,real:!0,forced:!0},{keyOf:function(l){var d=r(o(this),function(f,v){if(f===l)return{key:v}},!0);return d&&d.key}})},10805:function(c,m,e){\"use strict\";var a=e(79053),o=e(12992),r=e(45640),u=e(95722),l=e(79298),d=u.Map,f=u.set;a({target:\"Map\",proto:!0,real:!0,forced:!0},{mapKeys:function(p){var h=r(this),g=o(p,arguments.length>1?arguments[1]:void 0),y=new d;return l(h,function(S,I){f(y,g(S,I,h),S)}),y}})},56672:function(c,m,e){\"use strict\";var a=e(79053),o=e(12992),r=e(45640),u=e(95722),l=e(79298),d=u.Map,f=u.set;a({target:\"Map\",proto:!0,real:!0,forced:!0},{mapValues:function(p){var h=r(this),g=o(p,arguments.length>1?arguments[1]:void 0),y=new d;return l(h,function(S,I){f(y,I,g(S,I,h))}),y}})},91618:function(c,m,e){\"use strict\";var a=e(79053),o=e(45640),r=e(10917),u=e(95722).set;a({target:\"Map\",proto:!0,real:!0,arity:1,forced:!0},{merge:function(d){for(var f=o(this),v=arguments.length,p=0;p<v;)r(arguments[p++],function(h,g){u(f,h,g)},{AS_ENTRIES:!0});return f}})},78043:function(c,m,e){var a=e(79053),o=e(73083);a({target:\"Map\",stat:!0,forced:!0},{of:o})},29737:function(c,m,e){\"use strict\";var a=e(79053),o=e(21209),r=e(45640),u=e(79298),l=TypeError;a({target:\"Map\",proto:!0,real:!0,forced:!0},{reduce:function(f){var v=r(this),p=arguments.length<2,h=p?void 0:arguments[1];if(o(f),u(v,function(g,y){p?(p=!1,h=g):h=f(h,g,y,v)}),p)throw l(\"Reduce of empty map with no initial value\");return h}})},46765:function(c,m,e){\"use strict\";var a=e(79053),o=e(12992),r=e(45640),u=e(79298);a({target:\"Map\",proto:!0,real:!0,forced:!0},{some:function(d){var f=r(this),v=o(d,arguments.length>1?arguments[1]:void 0);return u(f,function(p,h){if(v(p,h,f))return!0},!0)===!0}})},6910:function(c,m,e){\"use strict\";var a=e(79053),o=e(61977);a({target:\"Map\",proto:!0,real:!0,name:\"upsert\",forced:!0},{updateOrInsert:o})},61323:function(c,m,e){\"use strict\";var a=e(79053),o=e(21209),r=e(45640),u=e(95722),l=TypeError,d=u.get,f=u.has,v=u.set;a({target:\"Map\",proto:!0,real:!0,forced:!0},{update:function(h,g){var y=r(this),S=arguments.length;o(g);var I=f(y,h);if(!I&&S<3)throw l(\"Updating absent value\");var N=I?d(y,h):o(S>2?arguments[2]:void 0)(h,y);return v(y,h,g(N,h,y)),y}})},68360:function(c,m,e){\"use strict\";var a=e(79053),o=e(61977);a({target:\"Map\",proto:!0,real:!0,forced:!0},{upsert:o})},88865:function(c,m,e){var a=e(79053),o=Math.min,r=Math.max;a({target:\"Math\",stat:!0,forced:!0},{clamp:function(l,d,f){return o(f,r(d,l))}})},58598:function(c,m,e){var a=e(79053);a({target:\"Math\",stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180})},18066:function(c,m,e){var a=e(79053),o=180/Math.PI;a({target:\"Math\",stat:!0,forced:!0},{degrees:function(u){return u*o}})},45852:function(c,m,e){var a=e(79053),o=e(40652),r=e(76420);a({target:\"Math\",stat:!0,forced:!0},{fscale:function(l,d,f,v,p){return r(o(l,d,f,v,p))}})},32483:function(c,m,e){var a=e(79053);a({target:\"Math\",stat:!0,forced:!0},{iaddh:function(r,u,l,d){var f=r>>>0,v=u>>>0,p=l>>>0;return v+(d>>>0)+((f&p|(f|p)&~(f+p>>>0))>>>31)|0}})},74796:function(c,m,e){var a=e(79053);a({target:\"Math\",stat:!0,forced:!0},{imulh:function(r,u){var l=65535,d=+r,f=+u,v=d&l,p=f&l,h=d>>16,g=f>>16,y=(h*p>>>0)+(v*p>>>16);return h*g+(y>>16)+((v*g>>>0)+(y&l)>>16)}})},61003:function(c,m,e){var a=e(79053);a({target:\"Math\",stat:!0,forced:!0},{isubh:function(r,u,l,d){var f=r>>>0,v=u>>>0,p=l>>>0;return v-(d>>>0)-((~f&p|~(f^p)&f-p>>>0)>>>31)|0}})},81600:function(c,m,e){var a=e(79053);a({target:\"Math\",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI})},37355:function(c,m,e){var a=e(79053),o=Math.PI/180;a({target:\"Math\",stat:!0,forced:!0},{radians:function(u){return u*o}})},17468:function(c,m,e){var a=e(79053),o=e(40652);a({target:\"Math\",stat:!0,forced:!0},{scale:o})},83036:function(c,m,e){var a=e(79053),o=e(79722),r=e(73781),u=e(12021),l=e(84810),d=e(27956),f=\"Seeded Random\",v=f+\" Generator\",p='Math.seededPRNG() argument should have a \"seed\" field with a finite value.',h=d.set,g=d.getterFor(v),y=TypeError,S=u(function(N){h(this,{type:v,seed:N%2147483647})},f,function(){var N=g(this),_=N.seed=(N.seed*1103515245+12345)%2147483647;return l((_&1073741823)/1073741823,!1)});a({target:\"Math\",stat:!0,forced:!0},{seededPRNG:function(N){var _=o(N).seed;if(!r(_))throw y(p);return new S(_)}})},64516:function(c,m,e){var a=e(79053);a({target:\"Math\",stat:!0,forced:!0},{signbit:function(r){var u=+r;return u==u&&u==0?1/u==-1/0:u<0}})},97121:function(c,m,e){var a=e(79053);a({target:\"Math\",stat:!0,forced:!0},{umulh:function(r,u){var l=65535,d=+r,f=+u,v=d&l,p=f&l,h=d>>>16,g=f>>>16,y=(h*p>>>0)+(v*p>>>16);return h*g+(y>>>16)+((v*g>>>0)+(y&l)>>>16)}})},3749:function(c,m,e){\"use strict\";var a=e(79053),o=e(42721),r=e(76628),u=e(22592),l=\"Invalid number representation\",d=\"Invalid radix\",f=RangeError,v=SyntaxError,p=TypeError,h=/^[\\da-z]+$/,g=o(\"\".charAt),y=o(h.exec),S=o(1 .toString),I=o(\"\".slice);a({target:\"Number\",stat:!0,forced:!0},{fromString:function(_,M){var L=1,k,U;if(typeof _!=\"string\")throw p(l);if(!_.length||g(_,0)==\"-\"&&(L=-1,_=I(_,1),!_.length))throw v(l);if(k=M===void 0?10:r(M),k<2||k>36)throw f(d);if(!y(h,_)||S(U=u(_,k),k)!==_)throw v(l);return L*U}})},32585:function(c,m,e){\"use strict\";var a=e(79053),o=e(15827);a({target:\"Number\",stat:!0,forced:!0},{range:function(u,l,d){return new o(u,l,d,\"number\",0,1)}})},80676:function(c,m,e){\"use strict\";var a=e(79053),o=e(23891);a({target:\"Object\",stat:!0,forced:!0},{iterateEntries:function(u){return new o(u,\"entries\")}})},2939:function(c,m,e){\"use strict\";var a=e(79053),o=e(23891);a({target:\"Object\",stat:!0,forced:!0},{iterateKeys:function(u){return new o(u,\"keys\")}})},43645:function(c,m,e){\"use strict\";var a=e(79053),o=e(23891);a({target:\"Object\",stat:!0,forced:!0},{iterateValues:function(u){return new o(u,\"values\")}})},37730:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(41737),u=e(32520),l=e(21209),d=e(79722),f=e(91372),v=e(99476),p=e(64264),h=e(98822),g=e(36329),y=e(75001),S=e(82709),I=e(73538),N=e(30129),_=e(9591),M=e(27956),L=e(17985),k=_(\"observable\"),U=\"Observable\",x=\"Subscription\",F=\"SubscriptionObserver\",K=M.getterFor,G=M.set,q=K(U),X=K(x),oe=K(F),Ee=function(T){this.observer=d(T),this.cleanup=void 0,this.subscriptionObserver=void 0};Ee.prototype={type:x,clean:function(){var T=this.cleanup;if(T){this.cleanup=void 0;try{T()}catch(R){N(R)}}},close:function(){if(!r){var T=this.facade,R=this.subscriptionObserver;T.closed=!0,R&&(R.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var Te=function(T,R){var j=G(this,new Ee(T)),C;r||(this.closed=!1);try{(C=g(T,\"start\"))&&o(C,T,this)}catch(ge){N(ge)}if(!j.isClosed()){var B=j.subscriptionObserver=new ae(j);try{var fe=R(B),Ae=fe;p(fe)||(j.cleanup=v(fe.unsubscribe)?function(){Ae.unsubscribe()}:l(fe))}catch(ge){B.error(ge);return}j.isClosed()&&j.clean()}};Te.prototype=S({},{unsubscribe:function(){var R=X(this);R.isClosed()||(R.close(),R.clean())}}),r&&I(Te.prototype,\"closed\",{configurable:!0,get:function(){return X(this).isClosed()}});var ae=function(T){G(this,{type:F,subscriptionState:T}),r||(this.closed=!1)};ae.prototype=S({},{next:function(R){var j=oe(this).subscriptionState;if(!j.isClosed()){var C=j.observer;try{var B=g(C,\"next\");B&&o(B,C,R)}catch(fe){N(fe)}}},error:function(R){var j=oe(this).subscriptionState;if(!j.isClosed()){var C=j.observer;j.close();try{var B=g(C,\"error\");B?o(B,C,R):N(R)}catch(fe){N(fe)}j.clean()}},complete:function(){var R=oe(this).subscriptionState;if(!R.isClosed()){var j=R.observer;R.close();try{var C=g(j,\"complete\");C&&o(C,j)}catch(B){N(B)}R.clean()}}}),r&&I(ae.prototype,\"closed\",{configurable:!0,get:function(){return oe(this).subscriptionState.isClosed()}});var z=function(R){f(this,A),G(this,{type:U,subscriber:l(R)})},A=z.prototype;S(A,{subscribe:function(R){var j=arguments.length;return new Te(v(R)?{next:R,error:j>1?arguments[1]:void 0,complete:j>2?arguments[2]:void 0}:h(R)?R:{},q(this).subscriber)}}),y(A,k,function(){return this}),a({global:!0,constructor:!0,forced:L},{Observable:z}),u(U)},8284:function(c,m,e){\"use strict\";var a=e(79053),o=e(44660),r=e(61217),u=e(79722),l=e(3437),d=e(48429),f=e(36329),v=e(10917),p=e(9591),h=e(17985),g=p(\"observable\");a({target:\"Observable\",stat:!0,forced:h},{from:function(S){var I=l(this)?this:o(\"Observable\"),N=f(u(S),g);if(N){var _=u(r(N,S));return _.constructor===I?_:new I(function(L){return _.subscribe(L)})}var M=d(S);return new I(function(L){v(M,function(k,U){if(L.next(k),L.closed)return U()},{IS_ITERATOR:!0,INTERRUPTED:!0}),L.complete()})}})},52180:function(c,m,e){e(37730),e(8284),e(89340)},89340:function(c,m,e){\"use strict\";var a=e(79053),o=e(44660),r=e(3437),u=e(17985),l=o(\"Array\");a({target:\"Observable\",stat:!0,forced:u},{of:function(){for(var f=r(this)?this:o(\"Observable\"),v=arguments.length,p=l(v),h=0;h<v;)p[h]=arguments[h++];return new f(function(g){for(var y=0;y<v;y++)if(g.next(p[y]),g.closed)return;g.complete()})}})},15496:function(c,m,e){\"use strict\";var a=e(79053),o=e(75517),r=e(62738);a({target:\"Promise\",stat:!0,forced:!0},{try:function(u){var l=o.f(this),d=r(u);return(d.error?l.reject:l.resolve)(d.value),l.promise}})},26169:function(c,m,e){var a=e(79053),o=e(10136),r=e(79722),u=o.toKey,l=o.set;a({target:\"Reflect\",stat:!0},{defineMetadata:function(f,v,p){var h=arguments.length<4?void 0:u(arguments[3]);l(f,v,r(p),h)}})},20051:function(c,m,e){var a=e(79053),o=e(10136),r=e(79722),u=o.toKey,l=o.getMap,d=o.store;a({target:\"Reflect\",stat:!0},{deleteMetadata:function(v,p){var h=arguments.length<3?void 0:u(arguments[2]),g=l(r(p),h,!1);if(g===void 0||!g.delete(v))return!1;if(g.size)return!0;var y=d.get(p);return y.delete(h),!!y.size||d.delete(p)}})},90351:function(c,m,e){var a=e(79053),o=e(42721),r=e(10136),u=e(79722),l=e(60533),d=e(94763),f=o(d),v=o([].concat),p=r.keys,h=r.toKey,g=function(y,S){var I=p(y,S),N=l(y);if(N===null)return I;var _=g(N,S);return _.length?I.length?f(v(I,_)):_:I};a({target:\"Reflect\",stat:!0},{getMetadataKeys:function(S){var I=arguments.length<2?void 0:h(arguments[1]);return g(u(S),I)}})},92056:function(c,m,e){var a=e(79053),o=e(10136),r=e(79722),u=e(60533),l=o.has,d=o.get,f=o.toKey,v=function(p,h,g){var y=l(p,h,g);if(y)return d(p,h,g);var S=u(h);return S!==null?v(p,S,g):void 0};a({target:\"Reflect\",stat:!0},{getMetadata:function(h,g){var y=arguments.length<3?void 0:f(arguments[2]);return v(h,r(g),y)}})},60765:function(c,m,e){var a=e(79053),o=e(10136),r=e(79722),u=o.keys,l=o.toKey;a({target:\"Reflect\",stat:!0},{getOwnMetadataKeys:function(f){var v=arguments.length<2?void 0:l(arguments[1]);return u(r(f),v)}})},21764:function(c,m,e){var a=e(79053),o=e(10136),r=e(79722),u=o.get,l=o.toKey;a({target:\"Reflect\",stat:!0},{getOwnMetadata:function(f,v){var p=arguments.length<3?void 0:l(arguments[2]);return u(f,r(v),p)}})},3723:function(c,m,e){var a=e(79053),o=e(10136),r=e(79722),u=e(60533),l=o.has,d=o.toKey,f=function(v,p,h){var g=l(v,p,h);if(g)return!0;var y=u(p);return y!==null?f(v,y,h):!1};a({target:\"Reflect\",stat:!0},{hasMetadata:function(p,h){var g=arguments.length<3?void 0:d(arguments[2]);return f(p,r(h),g)}})},39332:function(c,m,e){var a=e(79053),o=e(10136),r=e(79722),u=o.has,l=o.toKey;a({target:\"Reflect\",stat:!0},{hasOwnMetadata:function(f,v){var p=arguments.length<3?void 0:l(arguments[2]);return u(f,r(v),p)}})},71669:function(c,m,e){var a=e(79053),o=e(10136),r=e(79722),u=o.toKey,l=o.set;a({target:\"Reflect\",stat:!0},{metadata:function(f,v){return function(h,g){l(f,v,r(h),u(g))}}})},6772:function(c,m,e){\"use strict\";var a=e(79053),o=e(27458),r=e(67410).add;a({target:\"Set\",proto:!0,real:!0,forced:!0},{addAll:function(){for(var l=o(this),d=0,f=arguments.length;d<f;d++)r(l,arguments[d]);return l}})},5135:function(c,m,e){\"use strict\";var a=e(79053),o=e(27458),r=e(67410).remove;a({target:\"Set\",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var l=o(this),d=!0,f,v=0,p=arguments.length;v<p;v++)f=r(l,arguments[v]),d=d&&f;return!!d}})},49395:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(90020),u=e(69873);a({target:\"Set\",proto:!0,real:!0,forced:!0},{difference:function(d){return o(u,this,r(d))}})},52074:function(c,m,e){var a=e(79053),o=e(69873),r=e(39069);a({target:\"Set\",proto:!0,real:!0,forced:!r(\"difference\")},{difference:o})},35939:function(c,m,e){\"use strict\";var a=e(79053),o=e(12992),r=e(27458),u=e(46357);a({target:\"Set\",proto:!0,real:!0,forced:!0},{every:function(d){var f=r(this),v=o(d,arguments.length>1?arguments[1]:void 0);return u(f,function(p){if(!v(p,p,f))return!1},!0)!==!1}})},26910:function(c,m,e){\"use strict\";var a=e(79053),o=e(12992),r=e(27458),u=e(67410),l=e(46357),d=u.Set,f=u.add;a({target:\"Set\",proto:!0,real:!0,forced:!0},{filter:function(p){var h=r(this),g=o(p,arguments.length>1?arguments[1]:void 0),y=new d;return l(h,function(S){g(S,S,h)&&f(y,S)}),y}})},48534:function(c,m,e){\"use strict\";var a=e(79053),o=e(12992),r=e(27458),u=e(46357);a({target:\"Set\",proto:!0,real:!0,forced:!0},{find:function(d){var f=r(this),v=o(d,arguments.length>1?arguments[1]:void 0),p=u(f,function(h){if(v(h,h,f))return{value:h}},!0);return p&&p.value}})},37821:function(c,m,e){var a=e(79053),o=e(30786);a({target:\"Set\",stat:!0,forced:!0},{from:o})},31998:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(90020),u=e(18940);a({target:\"Set\",proto:!0,real:!0,forced:!0},{intersection:function(d){return o(u,this,r(d))}})},90435:function(c,m,e){var a=e(79053),o=e(18940),r=e(39069);a({target:\"Set\",proto:!0,real:!0,forced:!r(\"intersection\")},{intersection:o})},67894:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(90020),u=e(85208);a({target:\"Set\",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(d){return o(u,this,r(d))}})},67786:function(c,m,e){var a=e(79053),o=e(85208),r=e(39069);a({target:\"Set\",proto:!0,real:!0,forced:!r(\"isDisjointFrom\")},{isDisjointFrom:o})},17250:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(90020),u=e(15465);a({target:\"Set\",proto:!0,real:!0,forced:!0},{isSubsetOf:function(d){return o(u,this,r(d))}})},11573:function(c,m,e){var a=e(79053),o=e(15465),r=e(39069);a({target:\"Set\",proto:!0,real:!0,forced:!r(\"isSubsetOf\")},{isSubsetOf:o})},45816:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(90020),u=e(71541);a({target:\"Set\",proto:!0,real:!0,forced:!0},{isSupersetOf:function(d){return o(u,this,r(d))}})},53587:function(c,m,e){var a=e(79053),o=e(71541),r=e(39069);a({target:\"Set\",proto:!0,real:!0,forced:!r(\"isSupersetOf\")},{isSupersetOf:o})},39268:function(c,m,e){\"use strict\";var a=e(79053),o=e(42721),r=e(27458),u=e(46357),l=e(17664),d=o([].join),f=o([].push);a({target:\"Set\",proto:!0,real:!0,forced:!0},{join:function(p){var h=r(this),g=p===void 0?\",\":l(p),y=[];return u(h,function(S){f(y,S)}),d(y,g)}})},58625:function(c,m,e){\"use strict\";var a=e(79053),o=e(12992),r=e(27458),u=e(67410),l=e(46357),d=u.Set,f=u.add;a({target:\"Set\",proto:!0,real:!0,forced:!0},{map:function(p){var h=r(this),g=o(p,arguments.length>1?arguments[1]:void 0),y=new d;return l(h,function(S){f(y,g(S,S,h))}),y}})},86562:function(c,m,e){var a=e(79053),o=e(73083);a({target:\"Set\",stat:!0,forced:!0},{of:o})},55631:function(c,m,e){\"use strict\";var a=e(79053),o=e(21209),r=e(27458),u=e(46357),l=TypeError;a({target:\"Set\",proto:!0,real:!0,forced:!0},{reduce:function(f){var v=r(this),p=arguments.length<2,h=p?void 0:arguments[1];if(o(f),u(v,function(g){p?(p=!1,h=g):h=f(h,g,g,v)}),p)throw l(\"Reduce of empty set with no initial value\");return h}})},55916:function(c,m,e){\"use strict\";var a=e(79053),o=e(12992),r=e(27458),u=e(46357);a({target:\"Set\",proto:!0,real:!0,forced:!0},{some:function(d){var f=r(this),v=o(d,arguments.length>1?arguments[1]:void 0);return u(f,function(p){if(v(p,p,f))return!0},!0)===!0}})},46537:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(90020),u=e(2457);a({target:\"Set\",proto:!0,real:!0,forced:!0},{symmetricDifference:function(d){return o(u,this,r(d))}})},94277:function(c,m,e){var a=e(79053),o=e(2457),r=e(39069);a({target:\"Set\",proto:!0,real:!0,forced:!r(\"symmetricDifference\")},{symmetricDifference:o})},50376:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(90020),u=e(50871);a({target:\"Set\",proto:!0,real:!0,forced:!0},{union:function(d){return o(u,this,r(d))}})},36585:function(c,m,e){var a=e(79053),o=e(50871),r=e(39069);a({target:\"Set\",proto:!0,real:!0,forced:!r(\"union\")},{union:o})},17994:function(c,m,e){\"use strict\";var a=e(79053),o=e(47423).charAt,r=e(73017),u=e(76628),l=e(17664);a({target:\"String\",proto:!0,forced:!0},{at:function(f){var v=l(r(this)),p=v.length,h=u(f),g=h>=0?h:p+h;return g<0||g>=p?void 0:o(v,g)}})},35841:function(c,m,e){\"use strict\";var a=e(79053),o=e(12021),r=e(84810),u=e(73017),l=e(17664),d=e(27956),f=e(47423),v=f.codeAt,p=f.charAt,h=\"String Iterator\",g=d.set,y=d.getterFor(h),S=o(function(N){g(this,{type:h,string:N,index:0})},\"String\",function(){var N=y(this),_=N.string,M=N.index,L;return M>=_.length?r(void 0,!0):(L=p(_,M),N.index+=L.length,r({codePoint:v(L,0),position:M},!1))});a({target:\"String\",proto:!0,forced:!0},{codePoints:function(){return new S(l(u(this)))}})},13470:function(c,m,e){var a=e(79053),o=e(44125);a({target:\"String\",stat:!0,forced:!0},{cooked:o})},15284:function(c,m,e){\"use strict\";var a=e(98170),o=e(79053),r=e(85561),u=e(44660),l=e(71784),d=e(42721),f=e(9266),v=e(79722),p=e(17311),h=e(99476),g=e(46831),y=e(62886).f,S=e(70582),I=e(44125),N=e(29180),_=e(45460),M=u(\"WeakMap\"),L=r(\"GlobalDedentRegistry\",new M);L.has=L.has,L.get=L.get,L.set=L.set;var k=Array,U=TypeError,x=Object.freeze||Object,F=Object.isFrozen,K=Math.min,G=d(\"\".charAt),q=d(\"\".slice),X=d(\"\".split),oe=d(/./.exec),Ee=/([\\n\\u2028\\u2029]|\\r\\n?)/g,Te=RegExp(\"^[\"+_+\"]*\"),ae=RegExp(\"[^\"+_+\"]\"),z=\"Invalid tag\",A=\"Invalid opening line\",T=\"Invalid closing line\",R=function(ge){var ce=ge.raw;if(a&&!F(ce))throw U(\"Raw template should be frozen\");if(L.has(ce))return L.get(ce);var Me=j(ce),_e=B(Me);return y(_e,\"raw\",{value:x(Me)}),x(_e),L.set(ce,_e),_e},j=function(ge){var ce=p(ge),Me=g(ce),_e=k(Me),De=k(Me),Ce=0,it,V;if(!Me)throw U(z);for(;Ce<Me;Ce++){var we=ce[Ce];if(typeof we==\"string\")_e[Ce]=X(we,Ee);else throw U(z)}for(Ce=0;Ce<Me;Ce++){var Ie=Ce+1===Me;if(it=_e[Ce],Ce===0){if(it.length===1||it[0].length>0)throw U(A);it[1]=\"\"}if(Ie){if(it.length===1||oe(ae,it[it.length-1]))throw U(T);it[it.length-2]=\"\",it[it.length-1]=\"\"}for(var le=2;le<it.length;le+=2){var Ne=it[le],te=le+1===it.length&&!Ie,se=oe(Te,Ne)[0];if(!te&&se.length===Ne.length){it[le]=\"\";continue}V=C(se,V)}}var pe=V?V.length:0;for(Ce=0;Ce<Me;Ce++){it=_e[Ce];for(var ee=it[0],Se=1;Se<it.length;Se+=2)ee+=it[Se]+q(it[Se+1],pe);De[Ce]=ee}return De},C=function(ge,ce){if(ce===void 0||ge===ce)return ge;for(var Me=0,_e=K(ge.length,ce.length);Me<_e&&G(ge,Me)===G(ce,Me);Me++);return q(ge,0,Me)},B=function(ge){for(var ce=0,Me=ge.length,_e=k(Me);ce<Me;ce++)_e[ce]=N(ge[ce]);return _e},fe=function(ge){return l(function(ce){var Me=S(arguments);return Me[0]=R(v(ce)),f(ge,this,Me)},\"\")},Ae=fe(I);o({target:\"String\",stat:!0,forced:!0},{dedent:function(ce){return v(ce),h(ce)?fe(ce):f(Ae,this,arguments)}})},69308:function(c,m,e){\"use strict\";var a=e(79053),o=e(42721),r=e(73017),u=e(17664),l=o(\"\".charCodeAt);a({target:\"String\",proto:!0},{isWellFormed:function(){for(var f=u(r(this)),v=f.length,p=0;p<v;p++){var h=l(f,p);if((h&63488)==55296&&(h>=56320||++p>=v||(l(f,p)&64512)!=56320))return!1}return!0}})},87828:function(c,m,e){\"use strict\";var a=e(79053),o=e(61217),r=e(42721),u=e(73017),l=e(17664),d=e(242),f=Array,v=r(\"\".charAt),p=r(\"\".charCodeAt),h=r([].join),g=\"\".toWellFormed,y=\"\\uFFFD\",S=g&&d(function(){return o(g,1)!==\"1\"});a({target:\"String\",proto:!0,forced:S},{toWellFormed:function(){var N=l(u(this));if(S)return o(g,N);for(var _=N.length,M=f(_),L=0;L<_;L++){var k=p(N,L);(k&63488)!=55296?M[L]=v(N,L):k>=56320||L+1>=_||(p(N,L+1)&64512)!=56320?M[L]=y:(M[L]=v(N,L),M[++L]=v(N,L))}return h(M,\"\")}})},60843:function(c,m,e){\"use strict\";var a=e(79053),o=e(36915),r=e(60533),u=e(89555),l=e(10315),d=e(14832),f=e(84446),v=e(38382),p=e(38247),h=e(48436),g=e(9591),y=g(\"toStringTag\"),S=Error,I=function(M,L,k){var U=o(N,this),x;return u?x=u(S(),U?r(this):N):(x=U?this:d(N),f(x,y,\"Error\")),k!==void 0&&f(x,\"message\",h(k)),p(x,I,x.stack,1),f(x,\"error\",M),f(x,\"suppressed\",L),x};u?u(I,S):l(I,S,{name:!0});var N=I.prototype=d(S.prototype,{constructor:v(1,I),message:v(1,\"\"),name:v(1,\"SuppressedError\")});a({global:!0,constructor:!0,arity:3},{SuppressedError:I})},4832:function(c,m,e){var a=e(96541);a(\"asyncDispose\")},57893:function(c,m,e){var a=e(96541);a(\"dispose\")},20310:function(c,m,e){var a=e(96541);a(\"matcher\")},66502:function(c,m,e){var a=e(96541);a(\"metadataKey\")},52417:function(c,m,e){var a=e(96541);a(\"metadata\")},84726:function(c,m,e){var a=e(96541);a(\"observable\")},92787:function(c,m,e){var a=e(96541);a(\"patternMatch\")},59213:function(c,m,e){var a=e(96541);a(\"replaceAll\")},54809:function(c,m,e){\"use strict\";var a=e(45133),o=e(20111).filterReject,r=e(91275),u=a.aTypedArray,l=a.exportTypedArrayMethod;l(\"filterOut\",function(f){var v=o(u(this),f,arguments.length>1?arguments[1]:void 0);return r(this,v)},!0)},34739:function(c,m,e){\"use strict\";var a=e(45133),o=e(20111).filterReject,r=e(91275),u=a.aTypedArray,l=a.exportTypedArrayMethod;l(\"filterReject\",function(f){var v=o(u(this),f,arguments.length>1?arguments[1]:void 0);return r(this,v)},!0)},82035:function(c,m,e){\"use strict\";var a=e(44660),o=e(94956),r=e(24706),u=e(45133),l=e(1715),d=u.aTypedArrayConstructor,f=u.exportTypedArrayStaticMethod;f(\"fromAsync\",function(p){var h=this,g=arguments.length,y=g>1?arguments[1]:void 0,S=g>2?arguments[2]:void 0;return new(a(\"Promise\"))(function(I){o(h),I(r(p,y,S))}).then(function(I){return l(d(h),I)})},!0)},73071:function(c,m,e){\"use strict\";var a=e(45133),o=e(46792),r=e(62911),u=a.aTypedArray,l=a.exportTypedArrayMethod;l(\"groupBy\",function(f){var v=arguments.length>1?arguments[1]:void 0;return o(u(this),f,v,r)},!0)},97599:function(c,m,e){e(58145)},15267:function(c,m,e){e(12904)},28291:function(c,m,e){\"use strict\";var a=e(45133),o=e(46831),r=e(66103),u=e(99928),l=e(16715),d=e(76628),f=e(242),v=a.aTypedArray,p=a.getTypedArrayConstructor,h=a.exportTypedArrayMethod,g=Math.max,y=Math.min,S=!f(function(){var I=new Int8Array([1]),N=I.toSpliced(1,0,{valueOf:function(){return I[0]=2,3}});return N[0]!==2||N[1]!==3});h(\"toSpliced\",function(N,_){var M=v(this),L=p(M),k=o(M),U=u(N,k),x=arguments.length,F=0,K,G,q,X,oe,Ee,Te;if(x===0)K=G=0;else if(x===1)K=0,G=k-U;else if(G=y(g(d(_),0),k-U),K=x-2,K){X=new L(K),q=r(X);for(var ae=2;ae<x;ae++)oe=arguments[ae],X[ae-2]=q?l(oe):+oe}for(Ee=k+K-G,Te=new L(Ee);F<U;F++)Te[F]=M[F];for(;F<U+K;F++)Te[F]=X[F-U];for(;F<Ee;F++)Te[F]=M[F+G-K];return Te},!S)},50634:function(c,m,e){\"use strict\";var a=e(42721),o=e(45133),r=e(1715),u=e(94763),l=o.aTypedArray,d=o.getTypedArrayConstructor,f=o.exportTypedArrayMethod,v=a(u);f(\"uniqueBy\",function(h){return l(this),r(d(this),v(this,h))},!0)},43059:function(c,m,e){e(88274)},80287:function(c,m,e){\"use strict\";var a=e(79053),o=e(4573),r=e(3222).remove;a({target:\"WeakMap\",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var l=o(this),d=!0,f,v=0,p=arguments.length;v<p;v++)f=r(l,arguments[v]),d=d&&f;return!!d}})},58907:function(c,m,e){\"use strict\";var a=e(79053),o=e(4573),r=e(3222),u=r.get,l=r.has,d=r.set;a({target:\"WeakMap\",proto:!0,real:!0,forced:!0},{emplace:function(v,p){var h=o(this),g,y;return l(h,v)?(g=u(h,v),\"update\"in p&&(g=p.update(g,v,h),d(h,v,g)),g):(y=p.insert(v,h),d(h,v,y),y)}})},54957:function(c,m,e){var a=e(79053),o=e(30786);a({target:\"WeakMap\",stat:!0,forced:!0},{from:o})},54889:function(c,m,e){var a=e(79053),o=e(73083);a({target:\"WeakMap\",stat:!0,forced:!0},{of:o})},54722:function(c,m,e){\"use strict\";var a=e(79053),o=e(61977);a({target:\"WeakMap\",proto:!0,real:!0,forced:!0},{upsert:o})},30861:function(c,m,e){\"use strict\";var a=e(79053),o=e(24351),r=e(82487).add;a({target:\"WeakSet\",proto:!0,real:!0,forced:!0},{addAll:function(){for(var l=o(this),d=0,f=arguments.length;d<f;d++)r(l,arguments[d]);return l}})},78674:function(c,m,e){\"use strict\";var a=e(79053),o=e(24351),r=e(82487).remove;a({target:\"WeakSet\",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var l=o(this),d=!0,f,v=0,p=arguments.length;v<p;v++)f=r(l,arguments[v]),d=d&&f;return!!d}})},94523:function(c,m,e){var a=e(79053),o=e(30786);a({target:\"WeakSet\",stat:!0,forced:!0},{from:o})},69055:function(c,m,e){var a=e(79053),o=e(73083);a({target:\"WeakSet\",stat:!0,forced:!0},{of:o})},45508:function(c,m,e){var a=e(79053),o=e(38521),r=e(82585).clear;a({global:!0,bind:!0,enumerable:!0,forced:o.clearImmediate!==r},{clearImmediate:r})},69121:function(c,m,e){\"use strict\";var a=e(79053),o=e(38521),r=e(44660),u=e(38382),l=e(62886).f,d=e(67781),f=e(91372),v=e(2707),p=e(48436),h=e(76168),g=e(63354),y=e(41737),S=e(62761),I=\"DOMException\",N=r(\"Error\"),_=r(I),M=function(){f(this,L);var ae=arguments.length,z=p(ae<1?void 0:arguments[0]),A=p(ae<2?void 0:arguments[1],\"Error\"),T=new _(z,A),R=N(z);return R.name=I,l(T,\"stack\",u(1,g(R.stack,1))),v(T,this,M),T},L=M.prototype=_.prototype,k=\"stack\"in N(I),U=\"stack\"in new _(1,2),x=_&&y&&Object.getOwnPropertyDescriptor(o,I),F=!!x&&!(x.writable&&x.configurable),K=k&&!F&&!U;a({global:!0,constructor:!0,forced:S||K},{DOMException:K?M:_});var G=r(I),q=G.prototype;if(q.constructor!==G){S||l(q,\"constructor\",u(1,G));for(var X in h)if(d(h,X)){var oe=h[X],Ee=oe.s;d(G,Ee)||l(G,Ee,u(6,oe.c))}}},2220:function(c,m,e){e(45508),e(5507)},58075:function(c,m,e){\"use strict\";var a=e(79053),o=e(38521),r=e(73538),u=e(41737),l=TypeError,d=Object.defineProperty,f=o.self!==o;try{if(u){var v=Object.getOwnPropertyDescriptor(o,\"self\");(f||!v||!v.get||!v.enumerable)&&r(o,\"self\",{get:function(){return o},set:function(h){if(this!==o)throw l(\"Illegal invocation\");d(o,\"self\",{value:h,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else a({global:!0,simple:!0,forced:f},{self:o})}catch(p){}},5507:function(c,m,e){var a=e(79053),o=e(38521),r=e(82585).set,u=e(89232),l=o.setImmediate?u(r,!1):r;a({global:!0,bind:!0,enumerable:!0,forced:o.setImmediate!==l},{setImmediate:l})},25271:function(c,m,e){var a=e(62761),o=e(79053),r=e(38521),u=e(44660),l=e(42721),d=e(242),f=e(50216),v=e(99476),p=e(3437),h=e(64264),g=e(98822),y=e(74206),S=e(10917),I=e(79722),N=e(24518),_=e(67781),M=e(40053),L=e(84446),k=e(46831),U=e(11899),x=e(72760),F=e(95722),K=e(67410),G=e(89121),q=e(65774),X=r.Object,oe=r.Array,Ee=r.Date,Te=r.Error,ae=r.EvalError,z=r.RangeError,A=r.ReferenceError,T=r.SyntaxError,R=r.TypeError,j=r.URIError,C=r.PerformanceMark,B=r.WebAssembly,fe=B&&B.CompileError||Te,Ae=B&&B.LinkError||Te,ge=B&&B.RuntimeError||Te,ce=u(\"DOMException\"),Me=F.Map,_e=F.has,De=F.get,Ce=F.set,it=K.Set,V=K.add,we=u(\"Object\",\"keys\"),Ie=l([].push),le=l((!0).valueOf),Ne=l(1 .valueOf),te=l(\"\".valueOf),se=l(Ee.prototype.getTime),pe=f(\"structuredClone\"),ee=\"DataCloneError\",Se=\"Transferring\",Q=function(b){return!d(function(){var W=new r.Set([7]),de=b(W),ye=b(X(7));return de==W||!de.has(7)||typeof ye!=\"object\"||ye!=7})&&b},Z=function(b,W){return!d(function(){var de=new W,ye=b({a:de,b:de});return!(ye&&ye.a===ye.b&&ye.a instanceof W&&ye.a.stack===de.stack)})},Y=function(b){return!d(function(){var W=b(new r.AggregateError([1],pe,{cause:3}));return W.name!=\"AggregateError\"||W.errors[0]!=1||W.message!=pe||W.cause!=3})},ue=r.structuredClone,he=a||!Z(ue,Te)||!Z(ue,ce)||!Y(ue),me=!ue&&Q(function(b){return new C(pe,{detail:b}).detail}),Oe=Q(ue)||me,We=function(b){throw new ce(\"Uncloneable type: \"+b,ee)},ke=function(b,W){throw new ce((W||\"Cloning\")+\" of \"+b+\" cannot be properly polyfilled in this engine\",ee)},It=function(){var b;try{b=new r.DataTransfer}catch(W){try{b=new r.ClipboardEvent(\"\").clipboardData}catch(de){}}return b&&b.items&&b.files?b:null},ft=function(b,W){if(y(b)&&We(\"Symbol\"),!g(b))return b;if(W){if(_e(W,b))return De(W,b)}else W=new Me;var de=N(b),ye=!1,He,rt,$e,pt,Ot,at,wt,vt,jt,At;switch(de){case\"Array\":$e=oe(k(b)),ye=!0;break;case\"Object\":$e={},ye=!0;break;case\"Map\":$e=new Me,ye=!0;break;case\"Set\":$e=new it,ye=!0;break;case\"RegExp\":$e=new RegExp(b.source,x(b));break;case\"Error\":switch(rt=b.name,rt){case\"AggregateError\":$e=u(\"AggregateError\")([]);break;case\"EvalError\":$e=ae();break;case\"RangeError\":$e=z();break;case\"ReferenceError\":$e=A();break;case\"SyntaxError\":$e=T();break;case\"TypeError\":$e=R();break;case\"URIError\":$e=j();break;case\"CompileError\":$e=fe();break;case\"LinkError\":$e=Ae();break;case\"RuntimeError\":$e=ge();break;default:$e=Te()}ye=!0;break;case\"DOMException\":$e=new ce(b.message,b.name),ye=!0;break;case\"DataView\":case\"Int8Array\":case\"Uint8Array\":case\"Uint8ClampedArray\":case\"Int16Array\":case\"Uint16Array\":case\"Int32Array\":case\"Uint32Array\":case\"Float32Array\":case\"Float64Array\":case\"BigInt64Array\":case\"BigUint64Array\":He=r[de],g(He)||ke(de),$e=new He(ft(b.buffer,W),b.byteOffset,de===\"DataView\"?b.byteLength:b.length);break;case\"DOMQuad\":try{$e=new DOMQuad(ft(b.p1,W),ft(b.p2,W),ft(b.p3,W),ft(b.p4,W))}catch(qt){Oe?$e=Oe(b):ke(de)}break;case\"FileList\":if(pt=It(),pt){for(Ot=0,at=k(b);Ot<at;Ot++)pt.items.add(ft(b[Ot],W));$e=pt.files}else Oe?$e=Oe(b):ke(de);break;case\"ImageData\":try{$e=new ImageData(ft(b.data,W),b.width,b.height,{colorSpace:b.colorSpace})}catch(qt){Oe?$e=Oe(b):ke(de)}break;default:if(Oe)$e=Oe(b);else switch(de){case\"BigInt\":$e=X(b.valueOf());break;case\"Boolean\":$e=X(le(b));break;case\"Number\":$e=X(Ne(b));break;case\"String\":$e=X(te(b));break;case\"Date\":$e=new Ee(se(b));break;case\"ArrayBuffer\":He=r.DataView,!He&&typeof b.slice!=\"function\"&&ke(de);try{if(typeof b.slice==\"function\")$e=b.slice(0);else for(at=b.byteLength,$e=new ArrayBuffer(at),jt=new He(b),At=new He($e),Ot=0;Ot<at;Ot++)At.setUint8(Ot,jt.getUint8(Ot))}catch(qt){throw new ce(\"ArrayBuffer is detached\",ee)}break;case\"SharedArrayBuffer\":$e=b;break;case\"Blob\":try{$e=b.slice(0,b.size,b.type)}catch(qt){ke(de)}break;case\"DOMPoint\":case\"DOMPointReadOnly\":He=r[de];try{$e=He.fromPoint?He.fromPoint(b):new He(b.x,b.y,b.z,b.w)}catch(qt){ke(de)}break;case\"DOMRect\":case\"DOMRectReadOnly\":He=r[de];try{$e=He.fromRect?He.fromRect(b):new He(b.x,b.y,b.width,b.height)}catch(qt){ke(de)}break;case\"DOMMatrix\":case\"DOMMatrixReadOnly\":He=r[de];try{$e=He.fromMatrix?He.fromMatrix(b):new He(b)}catch(qt){ke(de)}break;case\"AudioData\":case\"VideoFrame\":v(b.clone)||ke(de);try{$e=b.clone()}catch(qt){We(de)}break;case\"File\":try{$e=new File([b],b.name,b)}catch(qt){ke(de)}break;case\"CropTarget\":case\"CryptoKey\":case\"FileSystemDirectoryHandle\":case\"FileSystemFileHandle\":case\"FileSystemHandle\":case\"GPUCompilationInfo\":case\"GPUCompilationMessage\":case\"ImageBitmap\":case\"RTCCertificate\":case\"WebAssembly.Module\":ke(de);default:We(de)}}if(Ce(W,b,$e),ye)switch(de){case\"Array\":case\"Object\":for(wt=we(b),Ot=0,at=k(wt);Ot<at;Ot++)vt=wt[Ot],M($e,vt,ft(b[vt],W));break;case\"Map\":b.forEach(function(qt,En){Ce($e,ft(En,W),ft(qt,W))});break;case\"Set\":b.forEach(function(qt){V($e,ft(qt,W))});break;case\"Error\":L($e,\"message\",ft(b.message,W)),_(b,\"cause\")&&L($e,\"cause\",ft(b.cause,W)),rt==\"AggregateError\"&&($e.errors=ft(b.errors,W));case\"DOMException\":G&&L($e,\"stack\",ft(b.stack,W))}return $e},nn=function(b,W){if(!g(b))throw R(\"Transfer option cannot be converted to a sequence\");var de=[];S(b,function(jt){Ie(de,I(jt))});var ye=0,He=k(de),rt,$e,pt,Ot,at,wt,vt;if(q)for(Ot=ue(de,{transfer:de});ye<He;)Ce(W,de[ye],Ot[ye++]);else for(;ye<He;){if(rt=de[ye++],_e(W,rt))throw new ce(\"Duplicate transferable\",ee);switch($e=N(rt),$e){case\"ImageBitmap\":pt=r.OffscreenCanvas,p(pt)||ke($e,Se);try{wt=new pt(rt.width,rt.height),vt=wt.getContext(\"bitmaprenderer\"),vt.transferFromImageBitmap(rt),at=wt.transferToImageBitmap()}catch(jt){}break;case\"AudioData\":case\"VideoFrame\":(!v(rt.clone)||!v(rt.close))&&ke($e,Se);try{at=rt.clone(),rt.close()}catch(jt){}break;case\"ArrayBuffer\":v(rt.transfer)||ke($e,Se),at=rt.transfer();break;case\"MediaSourceHandle\":case\"MessagePort\":case\"OffscreenCanvas\":case\"ReadableStream\":case\"TransformStream\":case\"WritableStream\":ke($e,Se)}if(at===void 0)throw new ce(\"This object cannot be transferred: \"+$e,ee);Ce(W,rt,at)}};o({global:!0,enumerable:!0,sham:!q,forced:he},{structuredClone:function(W){var de=U(arguments.length,1)>1&&!h(arguments[1])?I(arguments[1]):void 0,ye=de?de.transfer:void 0,He;return ye!==void 0&&(He=new Me,nn(ye,He)),ft(W,He)}})},12454:function(c){\"use strict\";var m=function(M){return e(M)&&!a(M)};function e(_){return!!_&&typeof _==\"object\"}function a(_){var M=Object.prototype.toString.call(_);return M===\"[object RegExp]\"||M===\"[object Date]\"||u(_)}var o=typeof Symbol==\"function\"&&Symbol.for,r=o?Symbol.for(\"react.element\"):60103;function u(_){return _.$$typeof===r}function l(_){return Array.isArray(_)?[]:{}}function d(_,M){return M.clone!==!1&&M.isMergeableObject(_)?I(l(_),_,M):_}function f(_,M,L){return _.concat(M).map(function(k){return d(k,L)})}function v(_,M){if(!M.customMerge)return I;var L=M.customMerge(_);return typeof L==\"function\"?L:I}function p(_){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(_).filter(function(M){return Object.propertyIsEnumerable.call(_,M)}):[]}function h(_){return Object.keys(_).concat(p(_))}function g(_,M){try{return M in _}catch(L){return!1}}function y(_,M){return g(_,M)&&!(Object.hasOwnProperty.call(_,M)&&Object.propertyIsEnumerable.call(_,M))}function S(_,M,L){var k={};return L.isMergeableObject(_)&&h(_).forEach(function(U){k[U]=d(_[U],L)}),h(M).forEach(function(U){y(_,U)||(g(_,U)&&L.isMergeableObject(M[U])?k[U]=v(U,L)(_[U],M[U],L):k[U]=d(M[U],L))}),k}function I(_,M,L){L=L||{},L.arrayMerge=L.arrayMerge||f,L.isMergeableObject=L.isMergeableObject||m,L.cloneUnlessOtherwiseSpecified=d;var k=Array.isArray(M),U=Array.isArray(_),x=k===U;return x?k?L.arrayMerge(_,M,L):S(_,M,L):d(M,L)}I.all=function(M,L){if(!Array.isArray(M))throw new Error(\"first argument should be an array\");return M.reduce(function(k,U){return I(k,U,L)},{})};var N=I;c.exports=N},59851:function(c){var m=Object.defineProperty,e=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,r=(_,M)=>{for(var L in M)m(_,L,{get:M[L],enumerable:!0})},u=(_,M,L,k)=>{if(M&&typeof M==\"object\"||typeof M==\"function\")for(let U of a(M))!o.call(_,U)&&U!==L&&m(_,U,{get:()=>M[U],enumerable:!(k=e(M,U))||k.enumerable});return _},l=_=>u(m({},\"__esModule\",{value:!0}),_),d={};r(d,{LOCAL_DUMI_DIR:()=>f,LOCAL_PAGES_DIR:()=>p,LOCAL_THEME_DIR:()=>v,PICKED_PKG_FIELDS:()=>I,PREFERS_COLOR_ATTR:()=>y,PREFERS_COLOR_LS_KEY:()=>S,SP_ROUTE_PREFIX:()=>g,THEME_PREFIX:()=>h,USELESS_TMP_FILES:()=>N}),c.exports=l(d);var f=\".dumi\",v=`${f}/theme`,p=`${f}/pages`,h=\"dumi-theme-\",g=\"~\",y=\"data-prefers-color\",S=\"dumi:prefers-color\",I={name:\"\",description:\"\",version:\"\",license:\"\",repository:\"\",author:\"\",authors:\"\"},N=[\"tsconfig.json\",\"typings.d.ts\"]},18280:function(c,m,e){\"use strict\";e.d(m,{Ep:function(){return N},PP:function(){return h},aU:function(){return o},cP:function(){return _},lX:function(){return v},q_:function(){return p}});var a=e(51163),o;(function(M){M.Pop=\"POP\",M.Push=\"PUSH\",M.Replace=\"REPLACE\"})(o||(o={}));var r=function(M){return M};function u(M,L){if(!M){typeof console!=\"undefined\"&&console.warn(L);try{throw new Error(L)}catch(k){}}}var l=\"beforeunload\",d=\"hashchange\",f=\"popstate\";function v(M){M===void 0&&(M={});var L=M,k=L.window,U=k===void 0?document.defaultView:k,x=U.history;function F(){var ge=U.location,ce=ge.pathname,Me=ge.search,_e=ge.hash,De=x.state||{};return[De.idx,r({pathname:ce,search:Me,hash:_e,state:De.usr||null,key:De.key||\"default\"})]}var K=null;function G(){if(K)ae.call(K),K=null;else{var ge=o.Pop,ce=F(),Me=ce[0],_e=ce[1];if(ae.length){if(Me!=null){var De=oe-Me;De&&(K={action:ge,location:_e,retry:function(){fe(De*-1)}},fe(De))}}else j(ge)}}U.addEventListener(f,G);var q=o.Pop,X=F(),oe=X[0],Ee=X[1],Te=S(),ae=S();oe==null&&(oe=0,x.replaceState((0,a.Z)({},x.state,{idx:oe}),\"\"));function z(ge){return typeof ge==\"string\"?ge:N(ge)}function A(ge,ce){return ce===void 0&&(ce=null),r((0,a.Z)({pathname:Ee.pathname,hash:\"\",search:\"\"},typeof ge==\"string\"?_(ge):ge,{state:ce,key:I()}))}function T(ge,ce){return[{usr:ge.state,key:ge.key,idx:ce},z(ge)]}function R(ge,ce,Me){return!ae.length||(ae.call({action:ge,location:ce,retry:Me}),!1)}function j(ge){q=ge;var ce=F();oe=ce[0],Ee=ce[1],Te.call({action:q,location:Ee})}function C(ge,ce){var Me=o.Push,_e=A(ge,ce);function De(){C(ge,ce)}if(R(Me,_e,De)){var Ce=T(_e,oe+1),it=Ce[0],V=Ce[1];try{x.pushState(it,\"\",V)}catch(we){U.location.assign(V)}j(Me)}}function B(ge,ce){var Me=o.Replace,_e=A(ge,ce);function De(){B(ge,ce)}if(R(Me,_e,De)){var Ce=T(_e,oe),it=Ce[0],V=Ce[1];x.replaceState(it,\"\",V),j(Me)}}function fe(ge){x.go(ge)}var Ae={get action(){return q},get location(){return Ee},createHref:z,push:C,replace:B,go:fe,back:function(){fe(-1)},forward:function(){fe(1)},listen:function(ce){return Te.push(ce)},block:function(ce){var Me=ae.push(ce);return ae.length===1&&U.addEventListener(l,y),function(){Me(),ae.length||U.removeEventListener(l,y)}}};return Ae}function p(M){M===void 0&&(M={});var L=M,k=L.window,U=k===void 0?document.defaultView:k,x=U.history;function F(){var ce=_(U.location.hash.substr(1)),Me=ce.pathname,_e=Me===void 0?\"/\":Me,De=ce.search,Ce=De===void 0?\"\":De,it=ce.hash,V=it===void 0?\"\":it,we=x.state||{};return[we.idx,r({pathname:_e,search:Ce,hash:V,state:we.usr||null,key:we.key||\"default\"})]}var K=null;function G(){if(K)ae.call(K),K=null;else{var ce=o.Pop,Me=F(),_e=Me[0],De=Me[1];if(ae.length){if(_e!=null){var Ce=oe-_e;Ce&&(K={action:ce,location:De,retry:function(){Ae(Ce*-1)}},Ae(Ce))}}else C(ce)}}U.addEventListener(f,G),U.addEventListener(d,function(){var ce=F(),Me=ce[1];N(Me)!==N(Ee)&&G()});var q=o.Pop,X=F(),oe=X[0],Ee=X[1],Te=S(),ae=S();oe==null&&(oe=0,x.replaceState((0,a.Z)({},x.state,{idx:oe}),\"\"));function z(){var ce=document.querySelector(\"base\"),Me=\"\";if(ce&&ce.getAttribute(\"href\")){var _e=U.location.href,De=_e.indexOf(\"#\");Me=De===-1?_e:_e.slice(0,De)}return Me}function A(ce){return z()+\"#\"+(typeof ce==\"string\"?ce:N(ce))}function T(ce,Me){return Me===void 0&&(Me=null),r((0,a.Z)({pathname:Ee.pathname,hash:\"\",search:\"\"},typeof ce==\"string\"?_(ce):ce,{state:Me,key:I()}))}function R(ce,Me){return[{usr:ce.state,key:ce.key,idx:Me},A(ce)]}function j(ce,Me,_e){return!ae.length||(ae.call({action:ce,location:Me,retry:_e}),!1)}function C(ce){q=ce;var Me=F();oe=Me[0],Ee=Me[1],Te.call({action:q,location:Ee})}function B(ce,Me){var _e=o.Push,De=T(ce,Me);function Ce(){B(ce,Me)}if(j(_e,De,Ce)){var it=R(De,oe+1),V=it[0],we=it[1];try{x.pushState(V,\"\",we)}catch(Ie){U.location.assign(we)}C(_e)}}function fe(ce,Me){var _e=o.Replace,De=T(ce,Me);function Ce(){fe(ce,Me)}if(j(_e,De,Ce)){var it=R(De,oe),V=it[0],we=it[1];x.replaceState(V,\"\",we),C(_e)}}function Ae(ce){x.go(ce)}var ge={get action(){return q},get location(){return Ee},createHref:A,push:B,replace:fe,go:Ae,back:function(){Ae(-1)},forward:function(){Ae(1)},listen:function(Me){return Te.push(Me)},block:function(Me){var _e=ae.push(Me);return ae.length===1&&U.addEventListener(l,y),function(){_e(),ae.length||U.removeEventListener(l,y)}}};return ge}function h(M){M===void 0&&(M={});var L=M,k=L.initialEntries,U=k===void 0?[\"/\"]:k,x=L.initialIndex,F=U.map(function(C){var B=r((0,a.Z)({pathname:\"/\",search:\"\",hash:\"\",state:null,key:I()},typeof C==\"string\"?_(C):C));return B}),K=g(x==null?F.length-1:x,0,F.length-1),G=o.Pop,q=F[K],X=S(),oe=S();function Ee(C){return typeof C==\"string\"?C:N(C)}function Te(C,B){return B===void 0&&(B=null),r((0,a.Z)({pathname:q.pathname,search:\"\",hash:\"\"},typeof C==\"string\"?_(C):C,{state:B,key:I()}))}function ae(C,B,fe){return!oe.length||(oe.call({action:C,location:B,retry:fe}),!1)}function z(C,B){G=C,q=B,X.call({action:G,location:q})}function A(C,B){var fe=o.Push,Ae=Te(C,B);function ge(){A(C,B)}ae(fe,Ae,ge)&&(K+=1,F.splice(K,F.length,Ae),z(fe,Ae))}function T(C,B){var fe=o.Replace,Ae=Te(C,B);function ge(){T(C,B)}ae(fe,Ae,ge)&&(F[K]=Ae,z(fe,Ae))}function R(C){var B=g(K+C,0,F.length-1),fe=o.Pop,Ae=F[B];function ge(){R(C)}ae(fe,Ae,ge)&&(K=B,z(fe,Ae))}var j={get index(){return K},get action(){return G},get location(){return q},createHref:Ee,push:A,replace:T,go:R,back:function(){R(-1)},forward:function(){R(1)},listen:function(B){return X.push(B)},block:function(B){return oe.push(B)}};return j}function g(M,L,k){return Math.min(Math.max(M,L),k)}function y(M){M.preventDefault(),M.returnValue=\"\"}function S(){var M=[];return{get length(){return M.length},push:function(k){return M.push(k),function(){M=M.filter(function(U){return U!==k})}},call:function(k){M.forEach(function(U){return U&&U(k)})}}}function I(){return Math.random().toString(36).substr(2,8)}function N(M){var L=M.pathname,k=L===void 0?\"/\":L,U=M.search,x=U===void 0?\"\":U,F=M.hash,K=F===void 0?\"\":F;return x&&x!==\"?\"&&(k+=x.charAt(0)===\"?\"?x:\"?\"+x),K&&K!==\"#\"&&(k+=K.charAt(0)===\"#\"?K:\"#\"+K),k}function _(M){var L={};if(M){var k=M.indexOf(\"#\");k>=0&&(L.hash=M.substr(k),M=M.substr(0,k));var U=M.indexOf(\"?\");U>=0&&(L.search=M.substr(U),M=M.substr(0,U)),M&&(L.pathname=M)}return L}},72535:function(c,m,e){\"use strict\";var a=e(56237),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},u={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},d={};d[a.ForwardRef]=u,d[a.Memo]=l;function f(N){return a.isMemo(N)?l:d[N.$$typeof]||o}var v=Object.defineProperty,p=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,g=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,S=Object.prototype;function I(N,_,M){if(typeof _!=\"string\"){if(S){var L=y(_);L&&L!==S&&I(N,L,M)}var k=p(_);h&&(k=k.concat(h(_)));for(var U=f(N),x=f(_),F=0;F<k.length;++F){var K=k[F];if(!r[K]&&!(M&&M[K])&&!(x&&x[K])&&!(U&&U[K])){var G=g(_,K);try{v(N,K,G)}catch(q){}}}}return N}c.exports=I},75983:function(c,m,e){\"use strict\";e.d(m,{C:function(){return p}});var a=e(96583),o=e(72988),r=e(61829),u=e(2443);function l(h,g){return g?(0,a.pi)((0,a.pi)((0,a.pi)({},h||{}),g||{}),Object.keys(h).reduce(function(y,S){return y[S]=(0,a.pi)((0,a.pi)({},h[S]),g[S]||{}),y},{})):h}function d(h,g){return g?Object.keys(h).reduce(function(y,S){return y[S]=l(h[S],g[S]),y},(0,a.pi)({},h)):h}function f(h){return{create:function(){return{get:function(g){return h[g]},set:function(g,y){h[g]=y}}}}}function v(h){return h===void 0&&(h={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,r.H)(function(){for(var g,y=[],S=0;S<arguments.length;S++)y[S]=arguments[S];return new((g=Intl.NumberFormat).bind.apply(g,(0,a.ev)([void 0],y,!1)))},{cache:f(h.number),strategy:r.A.variadic}),getDateTimeFormat:(0,r.H)(function(){for(var g,y=[],S=0;S<arguments.length;S++)y[S]=arguments[S];return new((g=Intl.DateTimeFormat).bind.apply(g,(0,a.ev)([void 0],y,!1)))},{cache:f(h.dateTime),strategy:r.A.variadic}),getPluralRules:(0,r.H)(function(){for(var g,y=[],S=0;S<arguments.length;S++)y[S]=arguments[S];return new((g=Intl.PluralRules).bind.apply(g,(0,a.ev)([void 0],y,!1)))},{cache:f(h.pluralRules),strategy:r.A.variadic})}}var p=function(){function h(g,y,S,I){y===void 0&&(y=h.defaultLocale);var N=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(k){var U=N.formatToParts(k);if(U.length===1)return U[0].value;var x=U.reduce(function(F,K){return!F.length||K.type!==u.du.literal||typeof F[F.length-1]!=\"string\"?F.push(K.value):F[F.length-1]+=K.value,F},[]);return x.length<=1?x[0]||\"\":x},this.formatToParts=function(k){return(0,u.FK)(N.ast,N.locales,N.formatters,N.formats,k,void 0,N.message)},this.resolvedOptions=function(){var k;return{locale:((k=N.resolvedLocale)===null||k===void 0?void 0:k.toString())||Intl.NumberFormat.supportedLocalesOf(N.locales)[0]}},this.getAst=function(){return N.ast},this.locales=y,this.resolvedLocale=h.resolveLocale(y),typeof g==\"string\"){if(this.message=g,!h.__parse)throw new TypeError(\"IntlMessageFormat.__parse must be set to process `message` of type `string`\");var _=I||{},M=_.formatters,L=(0,a._T)(_,[\"formatters\"]);this.ast=h.__parse(g,(0,a.pi)((0,a.pi)({},L),{locale:this.resolvedLocale}))}else this.ast=g;if(!Array.isArray(this.ast))throw new TypeError(\"A message must be provided as a String or AST.\");this.formats=d(h.formats,S),this.formatters=I&&I.formatters||v(this.formatterCache)}return Object.defineProperty(h,\"defaultLocale\",{get:function(){return h.memoizedDefaultLocale||(h.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),h.memoizedDefaultLocale},enumerable:!1,configurable:!0}),h.memoizedDefaultLocale=null,h.resolveLocale=function(g){if(typeof Intl.Locale!=\"undefined\"){var y=Intl.NumberFormat.supportedLocalesOf(g);return y.length>0?new Intl.Locale(y[0]):new Intl.Locale(typeof g==\"string\"?g:g[0])}},h.__parse=o.Qc,h.formats={number:{integer:{maximumFractionDigits:0},currency:{style:\"currency\"},percent:{style:\"percent\"}},date:{short:{month:\"numeric\",day:\"numeric\",year:\"2-digit\"},medium:{month:\"short\",day:\"numeric\",year:\"numeric\"},long:{month:\"long\",day:\"numeric\",year:\"numeric\"},full:{weekday:\"long\",month:\"long\",day:\"numeric\",year:\"numeric\"}},time:{short:{hour:\"numeric\",minute:\"numeric\"},medium:{hour:\"numeric\",minute:\"numeric\",second:\"numeric\"},long:{hour:\"numeric\",minute:\"numeric\",second:\"numeric\",timeZoneName:\"short\"},full:{hour:\"numeric\",minute:\"numeric\",second:\"numeric\",timeZoneName:\"short\"}}},h}()},86126:function(c,m,e){\"use strict\";e.d(m,{C8:function(){return u},HR:function(){return d},YR:function(){return l},jK:function(){return o},u_:function(){return r}});var a=e(96583),o;(function(f){f.MISSING_VALUE=\"MISSING_VALUE\",f.INVALID_VALUE=\"INVALID_VALUE\",f.MISSING_INTL_API=\"MISSING_INTL_API\"})(o||(o={}));var r=function(f){(0,a.ZT)(v,f);function v(p,h,g){var y=f.call(this,p)||this;return y.code=h,y.originalMessage=g,y}return v.prototype.toString=function(){return\"[formatjs Error: \".concat(this.code,\"] \").concat(this.message)},v}(Error),u=function(f){(0,a.ZT)(v,f);function v(p,h,g,y){return f.call(this,'Invalid values for \"'.concat(p,'\": \"').concat(h,'\". Options are \"').concat(Object.keys(g).join('\", \"'),'\"'),o.INVALID_VALUE,y)||this}return v}(r),l=function(f){(0,a.ZT)(v,f);function v(p,h,g){return f.call(this,'Value for \"'.concat(p,'\" must be of type ').concat(h),o.INVALID_VALUE,g)||this}return v}(r),d=function(f){(0,a.ZT)(v,f);function v(p,h){return f.call(this,'The intl string context variable \"'.concat(p,'\" was not provided to the string \"').concat(h,'\"'),o.MISSING_VALUE,h)||this}return v}(r)},2443:function(c,m,e){\"use strict\";e.d(m,{FK:function(){return d},Gt:function(){return l},du:function(){return r}});var a=e(72988),o=e(86126),r;(function(f){f[f.literal=0]=\"literal\",f[f.object=1]=\"object\"})(r||(r={}));function u(f){return f.length<2?f:f.reduce(function(v,p){var h=v[v.length-1];return!h||h.type!==r.literal||p.type!==r.literal?v.push(p):h.value+=p.value,v},[])}function l(f){return typeof f==\"function\"}function d(f,v,p,h,g,y,S){if(f.length===1&&(0,a.O4)(f[0]))return[{type:r.literal,value:f[0].value}];for(var I=[],N=0,_=f;N<_.length;N++){var M=_[N];if((0,a.O4)(M)){I.push({type:r.literal,value:M.value});continue}if((0,a.yx)(M)){typeof y==\"number\"&&I.push({type:r.literal,value:p.getNumberFormat(v).format(y)});continue}var L=M.value;if(!(g&&L in g))throw new o.HR(L,S);var k=g[L];if((0,a.VG)(M)){(!k||typeof k==\"string\"||typeof k==\"number\")&&(k=typeof k==\"string\"||typeof k==\"number\"?String(k):\"\"),I.push({type:typeof k==\"string\"?r.literal:r.object,value:k});continue}if((0,a.rp)(M)){var U=typeof M.style==\"string\"?h.date[M.style]:(0,a.Ii)(M.style)?M.style.parsedOptions:void 0;I.push({type:r.literal,value:p.getDateTimeFormat(v,U).format(k)});continue}if((0,a.pe)(M)){var U=typeof M.style==\"string\"?h.time[M.style]:(0,a.Ii)(M.style)?M.style.parsedOptions:h.time.medium;I.push({type:r.literal,value:p.getDateTimeFormat(v,U).format(k)});continue}if((0,a.uf)(M)){var U=typeof M.style==\"string\"?h.number[M.style]:(0,a.Wh)(M.style)?M.style.parsedOptions:void 0;U&&U.scale&&(k=k*(U.scale||1)),I.push({type:r.literal,value:p.getNumberFormat(v,U).format(k)});continue}if((0,a.HI)(M)){var x=M.children,F=M.value,K=g[F];if(!l(K))throw new o.YR(F,\"function\",S);var G=d(x,v,p,h,g,y),q=K(G.map(function(Ee){return Ee.value}));Array.isArray(q)||(q=[q]),I.push.apply(I,q.map(function(Ee){return{type:typeof Ee==\"string\"?r.literal:r.object,value:Ee}}))}if((0,a.Wi)(M)){var X=M.options[k]||M.options.other;if(!X)throw new o.C8(M.value,k,Object.keys(M.options),S);I.push.apply(I,d(X.value,v,p,h,g));continue}if((0,a.Jo)(M)){var X=M.options[\"=\".concat(k)];if(!X){if(!Intl.PluralRules)throw new o.u_(`Intl.PluralRules is not available in this environment.\nTry polyfilling it using \"@formatjs/intl-pluralrules\"\n`,o.jK.MISSING_INTL_API,S);var oe=p.getPluralRules(v,{type:M.pluralType}).select(k-(M.offset||0));X=M.options[oe]||M.options.other}if(!X)throw new o.C8(M.value,k,Object.keys(M.options),S);I.push.apply(I,d(X.value,v,p,h,g,k-(M.offset||0)));continue}}return u(I)}},53670:function(c){\"use strict\";var m=function(e,a,o,r,u,l,d,f){if(!e){var v;if(a===void 0)v=new Error(\"Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.\");else{var p=[o,r,u,l,d,f],h=0;v=new Error(a.replace(/%s/g,function(){return p[h++]})),v.name=\"Invariant Violation\"}throw v.framesToPop=1,v}};c.exports=m},37581:function(c,m,e){var a,o=function(){var r=String.fromCharCode,u=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\",l=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$\",d={};function f(p,h){if(!d[p]){d[p]={};for(var g=0;g<p.length;g++)d[p][p.charAt(g)]=g}return d[p][h]}var v={compressToBase64:function(p){if(p==null)return\"\";var h=v._compress(p,6,function(g){return u.charAt(g)});switch(h.length%4){default:case 0:return h;case 1:return h+\"===\";case 2:return h+\"==\";case 3:return h+\"=\"}},decompressFromBase64:function(p){return p==null?\"\":p==\"\"?null:v._decompress(p.length,32,function(h){return f(u,p.charAt(h))})},compressToUTF16:function(p){return p==null?\"\":v._compress(p,15,function(h){return r(h+32)})+\" \"},decompressFromUTF16:function(p){return p==null?\"\":p==\"\"?null:v._decompress(p.length,16384,function(h){return p.charCodeAt(h)-32})},compressToUint8Array:function(p){for(var h=v.compress(p),g=new Uint8Array(h.length*2),y=0,S=h.length;y<S;y++){var I=h.charCodeAt(y);g[y*2]=I>>>8,g[y*2+1]=I%256}return g},decompressFromUint8Array:function(p){if(p==null)return v.decompress(p);for(var h=new Array(p.length/2),g=0,y=h.length;g<y;g++)h[g]=p[g*2]*256+p[g*2+1];var S=[];return h.forEach(function(I){S.push(r(I))}),v.decompress(S.join(\"\"))},compressToEncodedURIComponent:function(p){return p==null?\"\":v._compress(p,6,function(h){return l.charAt(h)})},decompressFromEncodedURIComponent:function(p){return p==null?\"\":p==\"\"?null:(p=p.replace(/ /g,\"+\"),v._decompress(p.length,32,function(h){return f(l,p.charAt(h))}))},compress:function(p){return v._compress(p,16,function(h){return r(h)})},_compress:function(p,h,g){if(p==null)return\"\";var y,S,I={},N={},_=\"\",M=\"\",L=\"\",k=2,U=3,x=2,F=[],K=0,G=0,q;for(q=0;q<p.length;q+=1)if(_=p.charAt(q),Object.prototype.hasOwnProperty.call(I,_)||(I[_]=U++,N[_]=!0),M=L+_,Object.prototype.hasOwnProperty.call(I,M))L=M;else{if(Object.prototype.hasOwnProperty.call(N,L)){if(L.charCodeAt(0)<256){for(y=0;y<x;y++)K=K<<1,G==h-1?(G=0,F.push(g(K)),K=0):G++;for(S=L.charCodeAt(0),y=0;y<8;y++)K=K<<1|S&1,G==h-1?(G=0,F.push(g(K)),K=0):G++,S=S>>1}else{for(S=1,y=0;y<x;y++)K=K<<1|S,G==h-1?(G=0,F.push(g(K)),K=0):G++,S=0;for(S=L.charCodeAt(0),y=0;y<16;y++)K=K<<1|S&1,G==h-1?(G=0,F.push(g(K)),K=0):G++,S=S>>1}k--,k==0&&(k=Math.pow(2,x),x++),delete N[L]}else for(S=I[L],y=0;y<x;y++)K=K<<1|S&1,G==h-1?(G=0,F.push(g(K)),K=0):G++,S=S>>1;k--,k==0&&(k=Math.pow(2,x),x++),I[M]=U++,L=String(_)}if(L!==\"\"){if(Object.prototype.hasOwnProperty.call(N,L)){if(L.charCodeAt(0)<256){for(y=0;y<x;y++)K=K<<1,G==h-1?(G=0,F.push(g(K)),K=0):G++;for(S=L.charCodeAt(0),y=0;y<8;y++)K=K<<1|S&1,G==h-1?(G=0,F.push(g(K)),K=0):G++,S=S>>1}else{for(S=1,y=0;y<x;y++)K=K<<1|S,G==h-1?(G=0,F.push(g(K)),K=0):G++,S=0;for(S=L.charCodeAt(0),y=0;y<16;y++)K=K<<1|S&1,G==h-1?(G=0,F.push(g(K)),K=0):G++,S=S>>1}k--,k==0&&(k=Math.pow(2,x),x++),delete N[L]}else for(S=I[L],y=0;y<x;y++)K=K<<1|S&1,G==h-1?(G=0,F.push(g(K)),K=0):G++,S=S>>1;k--,k==0&&(k=Math.pow(2,x),x++)}for(S=2,y=0;y<x;y++)K=K<<1|S&1,G==h-1?(G=0,F.push(g(K)),K=0):G++,S=S>>1;for(;;)if(K=K<<1,G==h-1){F.push(g(K));break}else G++;return F.join(\"\")},decompress:function(p){return p==null?\"\":p==\"\"?null:v._decompress(p.length,32768,function(h){return p.charCodeAt(h)})},_decompress:function(p,h,g){var y=[],S,I=4,N=4,_=3,M=\"\",L=[],k,U,x,F,K,G,q,X={val:g(0),position:h,index:1};for(k=0;k<3;k+=1)y[k]=k;for(x=0,K=Math.pow(2,2),G=1;G!=K;)F=X.val&X.position,X.position>>=1,X.position==0&&(X.position=h,X.val=g(X.index++)),x|=(F>0?1:0)*G,G<<=1;switch(S=x){case 0:for(x=0,K=Math.pow(2,8),G=1;G!=K;)F=X.val&X.position,X.position>>=1,X.position==0&&(X.position=h,X.val=g(X.index++)),x|=(F>0?1:0)*G,G<<=1;q=r(x);break;case 1:for(x=0,K=Math.pow(2,16),G=1;G!=K;)F=X.val&X.position,X.position>>=1,X.position==0&&(X.position=h,X.val=g(X.index++)),x|=(F>0?1:0)*G,G<<=1;q=r(x);break;case 2:return\"\"}for(y[3]=q,U=q,L.push(q);;){if(X.index>p)return\"\";for(x=0,K=Math.pow(2,_),G=1;G!=K;)F=X.val&X.position,X.position>>=1,X.position==0&&(X.position=h,X.val=g(X.index++)),x|=(F>0?1:0)*G,G<<=1;switch(q=x){case 0:for(x=0,K=Math.pow(2,8),G=1;G!=K;)F=X.val&X.position,X.position>>=1,X.position==0&&(X.position=h,X.val=g(X.index++)),x|=(F>0?1:0)*G,G<<=1;y[N++]=r(x),q=N-1,I--;break;case 1:for(x=0,K=Math.pow(2,16),G=1;G!=K;)F=X.val&X.position,X.position>>=1,X.position==0&&(X.position=h,X.val=g(X.index++)),x|=(F>0?1:0)*G,G<<=1;y[N++]=r(x),q=N-1,I--;break;case 2:return L.join(\"\")}if(I==0&&(I=Math.pow(2,_),_++),y[q])M=y[q];else if(q===N)M=U+U.charAt(0);else return null;L.push(M),y[N++]=U+M.charAt(0),I--,U=M,I==0&&(I=Math.pow(2,_),_++)}}};return v}();a=function(){return o}.call(m,e,m,c),a!==void 0&&(c.exports=a)},14224:function(c){var m=c.exports={},e,a;function o(){throw new Error(\"setTimeout has not been defined\")}function r(){throw new Error(\"clearTimeout has not been defined\")}(function(){try{typeof setTimeout==\"function\"?e=setTimeout:e=o}catch(I){e=o}try{typeof clearTimeout==\"function\"?a=clearTimeout:a=r}catch(I){a=r}})();function u(I){if(e===setTimeout)return setTimeout(I,0);if((e===o||!e)&&setTimeout)return e=setTimeout,setTimeout(I,0);try{return e(I,0)}catch(N){try{return e.call(null,I,0)}catch(_){return e.call(this,I,0)}}}function l(I){if(a===clearTimeout)return clearTimeout(I);if((a===r||!a)&&clearTimeout)return a=clearTimeout,clearTimeout(I);try{return a(I)}catch(N){try{return a.call(null,I)}catch(_){return a.call(this,I)}}}var d=[],f=!1,v,p=-1;function h(){!f||!v||(f=!1,v.length?d=v.concat(d):p=-1,d.length&&g())}function g(){if(!f){var I=u(h);f=!0;for(var N=d.length;N;){for(v=d,d=[];++p<N;)v&&v[p].run();p=-1,N=d.length}v=null,f=!1,l(I)}}m.nextTick=function(I){var N=new Array(arguments.length-1);if(arguments.length>1)for(var _=1;_<arguments.length;_++)N[_-1]=arguments[_];d.push(new y(I,N)),d.length===1&&!f&&u(g)};function y(I,N){this.fun=I,this.array=N}y.prototype.run=function(){this.fun.apply(null,this.array)},m.title=\"browser\",m.browser=!0,m.env={},m.argv=[],m.version=\"\",m.versions={};function S(){}m.on=S,m.addListener=S,m.once=S,m.off=S,m.removeListener=S,m.removeAllListeners=S,m.emit=S,m.prependListener=S,m.prependOnceListener=S,m.listeners=function(I){return[]},m.binding=function(I){throw new Error(\"process.binding is not supported\")},m.cwd=function(){return\"/\"},m.chdir=function(I){throw new Error(\"process.chdir is not supported\")},m.umask=function(){return 0}},74049:function(c,m,e){\"use strict\";var a=e(36257);function o(){}function r(){}r.resetWarningCache=o,c.exports=function(){function u(f,v,p,h,g,y){if(y!==a){var S=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 S.name=\"Invariant Violation\",S}}u.isRequired=u;function l(){return u}var d={array:u,bigint:u,bool:u,func:u,number:u,object:u,string:u,symbol:u,any:u,arrayOf:l,element:u,elementType:u,instanceOf:l,node:u,objectOf:l,oneOf:l,oneOfType:l,shape:l,exact:l,checkPropTypes:r,resetWarningCache:o};return d.PropTypes=d,d}},40507:function(c,m,e){if(!1)var a,o;else c.exports=e(74049)()},36257:function(c){\"use strict\";var m=\"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED\";c.exports=m},48109:function(c,m){\"use strict\";m.Z=`import React from 'react'\nimport WebPdm from 'web-pdm'\nimport ModelTest from '../test/g6-test/mock/model-test'\nimport ModuleTest from '../test/g6-test/mock/module-test'\n// import \"../test/style.less\"\nimport './style.less'\n// import 'antd/dist/antd.css'\n\nexport default () => {\n    return (\n        <WebPdm\n            models={ModelTest}\n            modules={ModuleTest}\n            erdkey='codedemo'\n            height='850'\n            className='console-g6-page-dumi'\n        />\n    )\n}\n\n//ReactDom.render(<Page />, document.getElementById('app'))\n`},71539:function(c,m){\"use strict\";m.Z=`.console-g6-page-dumi {\n    height: 850px !important;\n}\n\n.console-g6-page-dumi-api {\n    height: 550px !important; //\\u56E0\\u4E3A\\u6587\\u4EF6\\u7684\\u5173\\u7CFB\\uFF0C\\u8FD9\\u8FB9\\u9700\\u8981\\u5F3A\\u5236\\u6307\\u5B9A\\u9AD8\\u5EA6\n    position: relative;\n}\n`},96764:function(c,m){\"use strict\";m.Z=`import React from 'react'\nimport WebPdm from 'web-pdm'\nimport { models, modules } from './typedata'\n// import 'antd/dist/antd.css'\nimport './style.less'\n\nexport default () => {\n    return (\n        <WebPdm\n            models={models}\n            onModelDetail={a => {\n                alert(\\`\\u6253\\u5F00\\u6A21\\u578B\\${a.label}(\\${a.name}) \\u7684\\u67E5\\u770B\\u94FE\\u63A5\\`)\n            }}\n            modules={modules}\n            erdkey='api'\n            height='600'\n            className='console-g6-page-dumi-api'\n        />\n    )\n}\n`},29379:function(c,m){\"use strict\";m.Z=`import { ModelConfig, ModuleConfig } from 'web-pdm'\nexport const modules: ModuleConfig[] = [\n    {\n        label: 'ER\\u56FE',\n        name: 'web-pdm'\n    }\n]\n\nexport const models: ModelConfig[] = [\n    {\n        name: 'model',\n        label: '\\u5B9E\\u4F53\\u6A21\\u578B',\n        module: 'web-pdm',\n        type: '',\n        fields: [\n            {\n                name: 'id',\n                label: '\\u4E3B\\u952E',\n                type: 'string'\n            },\n            {\n                name: 'label',\n                label: '\\u6807\\u7B7E',\n                type: 'string'\n            },\n            {\n                name: 'name',\n                label: '\\u540D\\u79F0',\n                type: 'string'\n            },\n            {\n                name: 'module',\n                label: '\\u6A21\\u5757',\n                type: 'toOne',\n                typeMeta: {\n                    type: 'Relation',\n                    relationModel: 'module'\n                }\n            },\n            {\n                name: 'fields',\n                label: '\\u62E5\\u6709\\u5B57\\u6BB5',\n                type: 'toMany',\n                typeMeta: {\n                    type: 'Relation',\n                    relationModel: 'field'\n                }\n            }\n        ]\n    },\n    {\n        name: 'module',\n        label: '\\u6A21\\u5757',\n        module: 'web-pdm',\n        type: '',\n        fields: [\n            {\n                name: 'id',\n                label: '\\u4E3B\\u952E',\n                type: 'string'\n            },\n            {\n                name: 'label',\n                label: '\\u6807\\u7B7E',\n                type: 'string'\n            },\n            {\n                name: 'name',\n                label: '\\u540D\\u79F0',\n                type: 'string'\n            },\n            {\n                name: 'models',\n                label: '\\u62E5\\u6709\\u6A21\\u578B',\n                type: 'toMany',\n                typeMeta: {\n                    type: 'Relation',\n                    relationModel: 'model'\n                }\n            }\n        ]\n    },\n    {\n        name: 'field',\n        label: '\\u5B57\\u6BB5',\n        module: 'web-pdm',\n        type: '',\n        fields: [\n            {\n                name: 'id',\n                label: '\\u4E3B\\u952E',\n                type: 'string'\n            },\n            {\n                name: 'label',\n                label: '\\u6807\\u7B7E',\n                type: 'string'\n            },\n            {\n                name: 'name',\n                label: '\\u540D\\u79F0',\n                type: 'string'\n            },\n            {\n                name: 'model',\n                label: '\\u6A21\\u578B',\n                type: 'toOne',\n                typeMeta: {\n                    type: 'Relation',\n                    relationModel: 'model'\n                }\n            },\n            {\n                name: 'metaType',\n                label: '\\u5173\\u8054\\u4FE1\\u606F',\n                type: 'toOne',\n                typeMeta: {\n                    type: 'Relation',\n                    relationModel: 'metaType'\n                }\n            }\n        ]\n    },\n    {\n        name: 'metaType',\n        label: '\\u5B57\\u6BB5\\u5143\\u6570\\u636E',\n        module: 'web-pdm',\n        type: '',\n        fields: [\n            {\n                name: 'id',\n                label: '\\u4E3B\\u952E',\n                type: 'string'\n            },\n            {\n                name: 'label',\n                label: '\\u6807\\u7B7E',\n                type: 'string'\n            },\n            {\n                name: 'name',\n                label: '\\u540D\\u79F0',\n                type: 'string'\n            }\n        ]\n    }\n]\n`},84912:function(c,m){\"use strict\";m.Z=`export default [\n  {\n    name: 'bd_Quota_Apply',\n    originalKey: 'bd_Quota_Apply',\n    label: '\\u989D\\u5EA6\\u7533\\u8BF7',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '\\u6D41\\u6C34\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ApplyUserId',\n        originalKey: 'ApplyUserId',\n        label: '\\u7533\\u8BF7\\u4EBA',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'AcceptBank',\n        originalKey: 'AcceptBank',\n        label: '\\u627F\\u5151\\u884C',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Amount',\n        originalKey: 'Amount',\n        label: '\\u91D1\\u989D',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Price',\n        originalKey: 'Price',\n        label: '\\u62A5\\u4EF7',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'PriceType',\n        originalKey: 'PriceType',\n        label: '\\u62A5\\u4EF7\\u7C7B\\u522B',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'BankType',\n        originalKey: 'BankType',\n        label: '\\u627F\\u5151\\u884C\\u7C7B\\u522B',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'Acceptkind',\n        originalKey: 'Acceptkind',\n        label: '\\u627F\\u5151\\u65B9\\u5F0F',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'Remark',\n        originalKey: 'Remark',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u7533\\u8BF7\\u65F6\\u95F4',\n      },\n      {\n        type: 'int',\n        name: 'Status',\n        originalKey: 'Status',\n        label: '\\u72B6\\u6001',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ApproveUserId',\n        originalKey: 'ApproveUserId',\n        label: '\\u5BA1\\u6279\\u4EBA',\n      },\n    ],\n  },\n  {\n    name: 'bd_PayInfo',\n    originalKey: 'bd_PayInfo',\n    label: '\\u6253\\u6B3E\\u4FE1\\u606F',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'bd_Pay_Apply',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '\\u6D41\\u6C34\\u53F7',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'TotalAmount',\n        originalKey: 'TotalAmount',\n        label: '\\u603B\\u91D1\\u989D',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'InvoiceBank',\n        originalKey: 'InvoiceBank',\n        label: '\\u5F00\\u7968\\u884C',\n      },\n      {\n        type: 'datetime',\n        name: 'ExpireDate',\n        originalKey: 'ExpireDate',\n        label: '\\u5230\\u671F\\u65E5',\n      },\n      {\n        type: 'int',\n        name: 'DiscountDays',\n        originalKey: 'DiscountDays',\n        label: '\\u8D34\\u73B0\\u5929\\u6570',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'DiscountInterest',\n        originalKey: 'DiscountInterest',\n        label: '\\u8D34\\u73B0\\u5229\\u606F',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'PriceRate',\n        originalKey: 'PriceRate',\n        label: '\\u62A5\\u4EF7\\u5229\\u7387',\n      },\n      {\n        type: 'int',\n        name: 'PriceType',\n        originalKey: 'PriceType',\n        label: '\\u62A5\\u4EF7\\u7C7B\\u522B',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'PayRate',\n        originalKey: 'PayRate',\n        label: '\\u6253\\u6B3E\\u5229\\u7387',\n      },\n      {\n        type: 'int',\n        name: 'PayType',\n        originalKey: 'PayType',\n        label: '\\u6253\\u6B3E\\u7C7B\\u522B',\n      },\n      {\n        type: 'int',\n        name: 'PaperCount',\n        originalKey: 'PaperCount',\n        label: '\\u5F20\\u6570',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Commissions',\n        originalKey: 'Commissions',\n        label: '\\u624B\\u7EED\\u8D39',\n      },\n      {\n        type: 'int',\n        name: 'CommissionsType',\n        originalKey: 'CommissionsType',\n        label: '\\u624B\\u7EED\\u8D39\\u7C7B\\u522B',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'PayAmount',\n        originalKey: 'PayAmount',\n        label: '\\u5212\\u6B3E\\u91D1\\u989D',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'Payee',\n        originalKey: 'Payee',\n        label: '\\u6536\\u6B3E\\u5355\\u4F4D',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'PayeeAccount',\n        originalKey: 'PayeeAccount',\n        label: '\\u6536\\u6B3E\\u5355\\u4F4D\\u8D26\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'OpeningBankName',\n        originalKey: 'OpeningBankName',\n        label: '\\u5F00\\u6237\\u884C',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'OpeningBankNumber',\n        originalKey: 'OpeningBankNumber',\n        label: '\\u5F00\\u6237\\u884C\\u884C\\u53F7',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'Remark',\n        originalKey: 'Remark',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'ntext',\n        name: 'DraftImage',\n        originalKey: 'DraftImage',\n        label: '\\u7968\\u9762\\u56FE\\u7247',\n      },\n      {\n        name: '\\u7533\\u8BF7\\u4EBA',\n        originalKey: '\\u7533\\u8BF7\\u4EBA',\n        label: '\\u7533\\u8BF7\\u4EBA',\n      },\n      {\n        type: 'ntext ',\n        name: 'DEFAULTVAL',\n        originalKey: 'DEFAULTVAL',\n        label: '\\u9ED8\\u8BA4\\u503C',\n      },\n    ],\n  },\n  {\n    name: 'bd_Draft_Element',\n    originalKey: 'bd_Draft_Element',\n    label: '\\u7968\\u9762\\u8981\\u7D20',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '\\u6D41\\u6C34\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'PayApplyId',\n        typeMeta: {\n          relationModel: 'bd_Pay_Apply',\n          type: 'Relation',\n        },\n        label: '\\u5212\\u6B3E\\u7533\\u8BF7Id',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'Drawer',\n        originalKey: 'Drawer',\n        label: '\\u51FA\\u7968\\u4EBA\\u5168\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'Payee',\n        originalKey: 'Payee',\n        label: '\\u6536\\u6B3E\\u4EBA\\u5168\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'PayBank',\n        originalKey: 'PayBank',\n        label: '\\u4ED8\\u6B3E\\u884C\\u5168\\u79F0',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Amount',\n        originalKey: 'Amount',\n        label: '\\u91D1\\u989D',\n      },\n      {\n        type: 'datetime',\n        name: 'DraftDate',\n        originalKey: 'DraftDate',\n        label: '\\u51FA\\u7968\\u65E5\\u671F',\n      },\n      {\n        type: 'datetime',\n        name: 'DraftExpireDate',\n        originalKey: 'DraftExpireDate',\n        label: '\\u6C47\\u7968\\u5230\\u671F\\u65E5',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'PayBankNumber',\n        originalKey: 'PayBankNumber',\n        label: '\\u4ED8\\u6B3E\\u884C\\u884C\\u53F7',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'DraftNumber',\n        originalKey: 'DraftNumber',\n        label: '\\u7968\\u53F7',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'Remark',\n        originalKey: 'Remark',\n        label: '\\u5907\\u6CE8',\n      },\n    ],\n  },\n  {\n    name: 'db_Draft_Number',\n    originalKey: 'db_Draft_Number',\n    label: '\\u7968\\u53F7',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '\\u6D41\\u6C34\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'DraftId',\n        typeMeta: {\n          relationModel: 'bd_Draft_Element',\n          type: 'Relation',\n        },\n        label: '\\u7968\\u9762Id',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'DraftNumber',\n        originalKey: 'DraftNumber',\n        label: '\\u7968\\u53F7',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Amount',\n        originalKey: 'Amount',\n        label: '\\u91D1\\u989D',\n      },\n    ],\n  },\n  {\n    name: 'bd_Pay_Other',\n    originalKey: 'bd_Pay_Other',\n    label: '\\u5176\\u4ED6\\u4FE1\\u606F',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'bd_Pay_Apply',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '\\u6D41\\u6C34\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'Account',\n        originalKey: 'Account',\n        label: '\\u8D26\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'Payee',\n        originalKey: 'Payee',\n        label: '\\u6536\\u6B3E\\u65B9',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'OpeningBankName',\n        originalKey: 'OpeningBankName',\n        label: '\\u5F00\\u6237\\u884C',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Amount',\n        originalKey: 'Amount',\n        label: '\\u91D1\\u989D',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'Remark',\n        originalKey: 'Remark',\n        label: '\\u5907\\u6CE8',\n      },\n    ],\n  },\n  {\n    name: 'bd_Pay_Apply',\n    originalKey: 'bd_Pay_Apply',\n    label: '\\u5212\\u6B3E\\u7533\\u8BF7',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'bd_Quota_Apply',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '\\u6D41\\u6C34\\u53F7',\n      },\n      {\n        type: 'int',\n        name: 'ApproveStatus',\n        originalKey: 'ApproveStatus',\n        label: '\\u5BA1\\u6279\\u72B6\\u6001',\n      },\n      {\n        type: 'int',\n        name: 'ReviewStatus',\n        originalKey: 'ReviewStatus',\n        label: '\\u590D\\u6838\\u72B6\\u6001',\n      },\n      {\n        type: 'int',\n        name: 'PayStatus',\n        originalKey: 'PayStatus',\n        label: '\\u6253\\u6B3E\\u72B6\\u6001',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ApproveUserId',\n        originalKey: 'ApproveUserId',\n        label: '\\u5BA1\\u6279\\u4EBA',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'PayUserId',\n        originalKey: 'PayUserId',\n        label: '\\u6253\\u6B3E\\u4EBA',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ReviewUserId',\n        originalKey: 'ReviewUserId',\n        label: '\\u590D\\u6838\\u4EBA',\n      },\n      {\n        type: 'nvarchar',\n        name: '\\u7533\\u8BF7\\u4EBA',\n        originalKey: '\\u7533\\u8BF7\\u4EBA',\n        label: '\\u7533\\u8BF7\\u4EBA',\n      },\n    ],\n  },\n  {\n    name: 'bd_Quota_Day',\n    originalKey: 'bd_Quota_Day',\n    label: '\\u6BCF\\u65E5\\u989D\\u5EA6',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'TotalQuota',\n        originalKey: 'TotalQuota',\n        label: '\\u603B\\u989D\\u5EA6',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'RestQuota',\n        originalKey: 'RestQuota',\n        label: '\\u5269\\u4F59\\u989D\\u5EA6',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'LockQuota',\n        originalKey: 'LockQuota',\n        label: '\\u9501\\u5B9A\\u989D\\u5EA6',\n      },\n      {\n        type: 'datetime',\n        name: 'QuotaDate',\n        originalKey: 'QuotaDate',\n        label: '\\u989D\\u5EA6\\u65E5\\u671F',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'PayQuota',\n        originalKey: 'PayQuota',\n        label: '\\u6253\\u6B3E\\u989D\\u5EA6',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'UnPayQuota',\n        originalKey: 'UnPayQuota',\n        label: '\\u672A\\u6253\\u6B3E\\u989D\\u5EA6',\n      },\n    ],\n  },\n  {\n    name: 'bd_User',\n    originalKey: 'bd_User',\n    label: '\\u7528\\u6237\\u4FE1\\u606F',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'WechatAccount',\n        originalKey: 'WechatAccount',\n        label: '\\u5FAE\\u4FE1\\u8D26\\u53F7',\n      },\n    ],\n  },\n  {\n    name: 'bd_Message',\n    originalKey: 'bd_Message',\n    label: '\\u7CFB\\u7EDF\\u6D88\\u606F',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Content',\n        originalKey: 'Content',\n        label: '\\u5185\\u5BB9',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'Type',\n        originalKey: 'Type',\n        label: '\\u7C7B\\u522B',\n      },\n      {\n        type: 'datetime',\n        name: 'SendTime',\n        originalKey: 'SendTime',\n        label: '\\u53D1\\u9001\\u65F6\\u95F4',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u521B\\u5EFA\\u65F6\\u95F4',\n      },\n      {\n        type: 'ntext',\n        name: 'SendeeList\\\\r\\\\nSendeeList',\n        originalKey: 'SendeeList\\\\r\\\\nSendeeList',\n        label: '\\u63A5\\u6536\\u4EBA',\n      },\n    ],\n  },\n  {\n    name: 'bd_User_Message',\n    originalKey: 'bd_User_Message',\n    label: '\\u7528\\u6237\\u6D88\\u606F',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'MessageId',\n        typeMeta: {\n          relationModel: 'bd_Message',\n          type: 'Relation',\n        },\n        label: '\\u6D88\\u606FId',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ReceiveUserId',\n        originalKey: 'ReceiveUserId',\n        label: '\\u63A5\\u6536\\u4EBA',\n      },\n      {\n        type: 'int',\n        name: 'Status',\n        originalKey: 'Status',\n        label: '\\u72B6\\u6001',\n      },\n    ],\n  },\n  {\n    name: 'bd_Operation_Log',\n    originalKey: 'bd_Operation_Log',\n    label: '\\u64CD\\u4F5C\\u65E5\\u5FD7',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'ModuleName',\n        originalKey: 'ModuleName',\n        label: '\\u6A21\\u5757\\u540D',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'OpreationName',\n        originalKey: 'OpreationName',\n        label: '\\u64CD\\u4F5C\\u540D',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'Remark',\n        originalKey: 'Remark',\n        label: '\\u63CF\\u8FF0',\n      },\n    ],\n  },\n  {\n    name: 'erp_WarehouseCat',\n    originalKey: 'erp_WarehouseCat',\n    label: '\\u4ED3\\u5E93\\u7C7B\\u522B\\u8868',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ewc_Code',\n        originalKey: 'ewc_Code',\n        label: '\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ewc_Name',\n        originalKey: 'ewc_Name',\n        label: '\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ParentId',\n        originalKey: 'ParentId',\n        label: '\\u4E0A\\u7EA7\\u5206\\u7C7B',\n      },\n      {\n        type: 'bit',\n        name: 'IsParent',\n        originalKey: 'IsParent',\n        label: '\\u662F\\u5426\\u7236\\u8282\\u70B9',\n      },\n      {\n        type: 'bit',\n        name: 'IsLeaf',\n        originalKey: 'IsLeaf',\n        label: '\\u662F\\u5426\\u53F6\\u8282\\u70B9',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Arrange',\n        originalKey: 'Arrange',\n        label: '\\u6811\\u72B6\\u652F\\u6301\\u7B26\\u53F7',\n      },\n      {\n        type: 'int',\n        name: 'TreeOrder',\n        originalKey: 'TreeOrder',\n        label: '\\u6392\\u5E8F',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'ewc_Remark',\n        originalKey: 'ewc_Remark',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '\\u521B\\u5EFA\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u521B\\u5EFA\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '\\u7EC4\\u7EC7\\u673A\\u6784',\n      },\n    ],\n  },\n  {\n    name: 'erp_WarehouseInfo',\n    originalKey: 'erp_WarehouseInfo',\n    label: '\\u4ED3\\u5E93\\u4FE1\\u606F\\u8868',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ew_Code',\n        originalKey: 'ew_Code',\n        label: '\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ew_Name',\n        originalKey: 'ew_Name',\n        label: '\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ew_SimpleName',\n        originalKey: 'ew_SimpleName',\n        label: '\\u7B80\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ew_WhmanID',\n        originalKey: 'ew_WhmanID',\n        label: '\\u9ED8\\u8BA4\\u4ED3\\u7BA1\\u5458',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ew_Addr',\n        originalKey: 'ew_Addr',\n        label: '\\u4ED3\\u5E93\\u5730\\u5740',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'ew_Cat',\n        typeMeta: {\n          relationModel: 'erp_WarehouseCat',\n          type: 'Relation',\n        },\n        label: '\\u6240\\u5C5E\\u5206\\u7C7B',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'ew_QtyMax',\n        originalKey: 'ew_QtyMax',\n        label: '\\u6700\\u9AD8\\u5E93\\u5B58\\u91CF',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'ew_QtyMin',\n        originalKey: 'ew_QtyMin',\n        label: '\\u6700\\u4F4E\\u5E93\\u5B58\\u91CF',\n      },\n      {\n        type: 'navarchar(500)',\n        name: 'ew_Remark',\n        originalKey: 'ew_Remark',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '\\u521B\\u5EFA\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u521B\\u5EFA\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '\\u7EC4\\u7EC7\\u673A\\u6784',\n      },\n    ],\n  },\n  {\n    name: 'erp_GoodsCat',\n    originalKey: 'erp_GoodsCat',\n    label: '\\u5546\\u54C1\\u7C7B\\u522B\\u8868',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'egc_Code',\n        originalKey: 'egc_Code',\n        label: '\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'egc_Name',\n        originalKey: 'egc_Name',\n        label: '\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ParentId',\n        originalKey: 'ParentId',\n        label: '\\u4E0A\\u7EA7\\u5206\\u7C7B',\n      },\n      {\n        type: 'bit',\n        name: 'IsParent',\n        originalKey: 'IsParent',\n        label: '\\u662F\\u5426\\u7236\\u8282\\u70B9',\n      },\n      {\n        type: 'bit',\n        name: 'IsLeaf',\n        originalKey: 'IsLeaf',\n        label: '\\u662F\\u5426\\u53F6\\u8282\\u70B9',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Arrange',\n        originalKey: 'Arrange',\n        label: '\\u6811\\u72B6\\u652F\\u6301\\u7B26\\u53F7',\n      },\n      {\n        type: 'int',\n        name: 'TreeOrder',\n        originalKey: 'TreeOrder',\n        label: '\\u6392\\u5E8F',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'egc_Remark',\n        originalKey: 'egc_Remark',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '\\u521B\\u5EFA\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u521B\\u5EFA\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '\\u7EC4\\u7EC7\\u673A\\u6784',\n      },\n    ],\n  },\n  {\n    name: 'erp_Goods',\n    originalKey: 'erp_Goods',\n    label: '\\u5546\\u54C1\\u4FE1\\u606F\\u8868',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_Code',\n        originalKey: 'eg_Code',\n        label: '\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_Name',\n        originalKey: 'eg_Name',\n        label: '\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_SimpleName',\n        originalKey: 'eg_SimpleName',\n        label: '\\u7B80\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_EnglishName',\n        originalKey: 'eg_EnglishName',\n        label: '\\u5916\\u6587\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'eg_Specifications',\n        originalKey: 'eg_Specifications',\n        label: '\\u89C4\\u683C',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_Brand',\n        originalKey: 'eg_Brand',\n        label: '\\u54C1\\u724C',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_Unit',\n        originalKey: 'eg_Unit',\n        label: '\\u5355\\u4F4D',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_BarCode',\n        originalKey: 'eg_BarCode',\n        label: '\\u6761\\u5F62\\u7801',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'eg_Cat',\n        typeMeta: {\n          relationModel: 'erp_GoodsCat',\n          type: 'Relation',\n        },\n        label: '\\u6240\\u5C5E\\u7C7B\\u522B',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_Warehouse',\n        originalKey: 'eg_Warehouse',\n        label: '\\u6240\\u5C5E\\u4ED3\\u5E93',\n      },\n      {\n        type: 'int',\n        name: 'eg_Status',\n        originalKey: 'eg_Status',\n        label: '\\u72B6\\u6001',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'eg_Remark',\n        originalKey: 'eg_Remark',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '\\u521B\\u5EFA\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u521B\\u5EFA\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '\\u7EC4\\u7EC7\\u673A\\u6784',\n      },\n    ],\n  },\n  {\n    name: 'erp_GoodsPrice',\n    originalKey: 'erp_GoodsPrice',\n    label: '\\u5546\\u54C1\\u4EF7\\u683C\\u8868',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'egp_GoodsId',\n        typeMeta: {\n          relationModel: 'erp_Goods',\n          type: 'Relation',\n        },\n        label: '\\u5546\\u54C1',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'egp_Code',\n        originalKey: 'egp_Code',\n        label: '\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'egp_Name',\n        originalKey: 'egp_Name',\n        label: '\\u540D\\u79F0',\n      },\n      {\n        type: 'datetime',\n        name: 'egp_BeginTime',\n        originalKey: 'egp_BeginTime',\n        label: '\\u8D77\\u59CB\\u65F6\\u95F4\\u6BB5',\n      },\n      {\n        type: 'datetime',\n        name: 'egp_EndTime',\n        originalKey: 'egp_EndTime',\n        label: '\\u7ED3\\u675F\\u65F6\\u95F4\\u6BB5',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'egp_Price',\n        originalKey: 'egp_Price',\n        label: '\\u5355\\u4EF7',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'egp_Discount',\n        originalKey: 'egp_Discount',\n        label: '\\u6298\\u6263\\u7387',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'egp_FavorablePrice',\n        originalKey: 'egp_FavorablePrice',\n        label: '\\u4F18\\u60E0\\u540E\\u4EF7\\u683C',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'egp_Remark',\n        originalKey: 'egp_Remark',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '\\u521B\\u5EFA\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u521B\\u5EFA\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '\\u7EC4\\u7EC7\\u673A\\u6784',\n      },\n    ],\n  },\n  {\n    name: 'erp_CustomerCat',\n    originalKey: 'erp_CustomerCat',\n    label: '\\u5BA2\\u6237\\u7C7B\\u522B\\u8868',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ecc_Code',\n        originalKey: 'ecc_Code',\n        label: '\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ecc_Name',\n        originalKey: 'ecc_Name',\n        label: '\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ParentId',\n        originalKey: 'ParentId',\n        label: '\\u4E0A\\u7EA7\\u5206\\u7C7B',\n      },\n      {\n        type: 'bit',\n        name: 'IsParent',\n        originalKey: 'IsParent',\n        label: '\\u662F\\u5426\\u7236\\u8282\\u70B9',\n      },\n      {\n        type: 'bit',\n        name: 'IsLeaf',\n        originalKey: 'IsLeaf',\n        label: '\\u662F\\u5426\\u53F6\\u8282\\u70B9',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Arrange',\n        originalKey: 'Arrange',\n        label: '\\u6811\\u72B6\\u652F\\u6301\\u7B26\\u53F7',\n      },\n      {\n        type: 'int',\n        name: 'TreeOrder',\n        originalKey: 'TreeOrder',\n        label: '\\u6392\\u5E8F',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'ecc_Remark',\n        originalKey: 'ecc_Remark',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '\\u521B\\u5EFA\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u521B\\u5EFA\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '\\u7EC4\\u7EC7\\u673A\\u6784',\n      },\n    ],\n  },\n  {\n    name: 'erp_SupplierCat',\n    originalKey: 'erp_SupplierCat',\n    label: '\\u4F9B\\u5E94\\u5546\\u7C7B\\u522B\\u8868',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'esc_Code',\n        originalKey: 'esc_Code',\n        label: '\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'esc_Name',\n        originalKey: 'esc_Name',\n        label: '\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ParentId',\n        originalKey: 'ParentId',\n        label: '\\u4E0A\\u7EA7\\u5206\\u7C7B',\n      },\n      {\n        type: 'bit',\n        name: 'IsParent',\n        originalKey: 'IsParent',\n        label: '\\u662F\\u5426\\u7236\\u8282\\u70B9',\n      },\n      {\n        type: 'bit',\n        name: 'IsLeaf',\n        originalKey: 'IsLeaf',\n        label: '\\u662F\\u5426\\u53F6\\u8282\\u70B9',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Arrange',\n        originalKey: 'Arrange',\n        label: '\\u6811\\u72B6\\u652F\\u6301\\u7B26\\u53F7',\n      },\n      {\n        type: 'int',\n        name: 'TreeOrder',\n        originalKey: 'TreeOrder',\n        label: '\\u6392\\u5E8F',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'esc_Remark',\n        originalKey: 'esc_Remark',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '\\u521B\\u5EFA\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u521B\\u5EFA\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '\\u7EC4\\u7EC7\\u673A\\u6784',\n      },\n    ],\n  },\n  {\n    name: 'erp_CustomerInfo',\n    originalKey: 'erp_CustomerInfo',\n    label: '\\u5BA2\\u6237\\u4FE1\\u606F\\u8868',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Code',\n        originalKey: 'ec_Code',\n        label: '\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Name',\n        originalKey: 'ec_Name',\n        label: '\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_SimpleName',\n        originalKey: 'ec_SimpleName',\n        label: '\\u7B80\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_EnglishName',\n        originalKey: 'ec_EnglishName',\n        label: '\\u5916\\u6587\\u540D\\u5B57',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'ec_Cat',\n        typeMeta: {\n          relationModel: 'erp_CustomerCat',\n          type: 'Relation',\n        },\n        label: '\\u6240\\u5C5E\\u7C7B\\u522B',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_LegalPerson',\n        originalKey: 'ec_LegalPerson',\n        label: '\\u6CD5\\u4EBA\\u4EE3\\u8868',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Linkman',\n        originalKey: 'ec_Linkman',\n        label: '\\u8054\\u7CFB\\u4EBA',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Tel',\n        originalKey: 'ec_Tel',\n        label: '\\u8054\\u7CFB\\u7535\\u8BDD',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Email',\n        originalKey: 'ec_Email',\n        label: '\\u7535\\u5B50\\u90AE\\u7BB1',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Area',\n        originalKey: 'ec_Area',\n        label: '\\u6240\\u5C5E\\u5730\\u533A',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_PostalCode',\n        originalKey: 'ec_PostalCode',\n        label: '\\u90AE\\u7F16',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'ec_Addr',\n        originalKey: 'ec_Addr',\n        label: '\\u5730\\u5740',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Salesman',\n        originalKey: 'ec_Salesman',\n        label: '\\u4E1A\\u52A1\\u5458',\n      },\n      {\n        type: 'int',\n        name: 'ec_Status',\n        originalKey: 'ec_Status',\n        label: '\\u72B6\\u6001',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'ec_Remark',\n        originalKey: 'ec_Remark',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '\\u521B\\u5EFA\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u521B\\u5EFA\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '\\u7EC4\\u7EC7\\u673A\\u6784',\n      },\n    ],\n  },\n  {\n    name: 'erp_SupplierInfo',\n    originalKey: 'erp_SupplierInfo',\n    label: '\\u4F9B\\u5E94\\u5546\\u4FE1\\u606F\\u8868',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'es_Cat',\n        typeMeta: {\n          relationModel: 'erp_SupplierCat',\n          type: 'Relation',\n        },\n        label: '\\u6240\\u5C5E\\u7C7B\\u522B',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Code',\n        originalKey: 'es_Code',\n        label: '\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Name',\n        originalKey: 'es_Name',\n        label: '\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_SimpleName',\n        originalKey: 'es_SimpleName',\n        label: '\\u7B80\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_EnglishName',\n        originalKey: 'es_EnglishName',\n        label: '\\u5916\\u6587\\u540D\\u5B57',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_LegalPerson',\n        originalKey: 'es_LegalPerson',\n        label: '\\u6CD5\\u4EBA\\u4EE3\\u8868',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Tel',\n        originalKey: 'es_Tel',\n        label: '\\u8054\\u7CFB\\u7535\\u8BDD',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Eamil',\n        originalKey: 'es_Eamil',\n        label: '\\u7535\\u5B50\\u90AE\\u7BB1',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Addr',\n        originalKey: 'es_Addr',\n        label: '\\u5730\\u5740',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Salesman',\n        originalKey: 'es_Salesman',\n        label: '\\u4E1A\\u52A1\\u5458',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_BizRegisterNo',\n        originalKey: 'es_BizRegisterNo',\n        label: '\\u5DE5\\u5546\\u6CE8\\u518C\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_BusiLicence',\n        originalKey: 'es_BusiLicence',\n        label: '\\u8425\\u4E1A\\u6267\\u7167',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_TaxRegisterNo',\n        originalKey: 'es_TaxRegisterNo',\n        label: '\\u7A0E\\u52A1\\u767B\\u8BB0\\u53F7',\n      },\n      {\n        type: 'int',\n        name: 'es_Status',\n        originalKey: 'es_Status',\n        label: '\\u72B6\\u6001',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'es_Remark',\n        originalKey: 'es_Remark',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '\\u521B\\u5EFA\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u521B\\u5EFA\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '\\u7EC4\\u7EC7\\u673A\\u6784',\n      },\n    ],\n  },\n  {\n    name: 'erp_DepartmentInfo',\n    originalKey: 'erp_DepartmentInfo',\n    label: '\\u90E8\\u95E8\\u4FE1\\u606F\\u8868',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ed_Code',\n        originalKey: 'ed_Code',\n        label: '\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ed_Name',\n        originalKey: 'ed_Name',\n        label: '\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ParentId',\n        originalKey: 'ParentId',\n        label: '\\u4E0A\\u7EA7\\u5206\\u7C7B',\n      },\n      {\n        type: 'bit',\n        name: 'IsParent',\n        originalKey: 'IsParent',\n        label: '\\u662F\\u5426\\u7236\\u8282\\u70B9',\n      },\n      {\n        type: 'bit',\n        name: 'IsLeaf',\n        originalKey: 'IsLeaf',\n        label: '\\u662F\\u5426\\u53F6\\u8282\\u70B9',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Arrange',\n        originalKey: 'Arrange',\n        label: '\\u6811\\u72B6\\u652F\\u6301\\u7B26\\u53F7',\n      },\n      {\n        type: 'int',\n        name: 'TreeOrder',\n        originalKey: 'TreeOrder',\n        label: '\\u6392\\u5E8F',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'ed_Remark',\n        originalKey: 'ed_Remark',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '\\u521B\\u5EFA\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u521B\\u5EFA\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '\\u7EC4\\u7EC7\\u673A\\u6784',\n      },\n    ],\n  },\n  {\n    name: 'erp_UserInfo',\n    originalKey: 'erp_UserInfo',\n    label: '\\u5458\\u5DE5\\u4FE1\\u606F\\u8868',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_Code',\n        originalKey: 'eu_Code',\n        label: '\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_Name',\n        originalKey: 'eu_Name',\n        label: '\\u540D\\u5B57',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_EnglishName',\n        originalKey: 'eu_EnglishName',\n        label: '\\u5916\\u6587\\u540D\\u5B57',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_BirthDate',\n        originalKey: 'eu_BirthDate',\n        label: '\\u51FA\\u751F\\u5E74\\u6708',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_EntryDate',\n        originalKey: 'eu_EntryDate',\n        label: '\\u5165\\u804C\\u65F6\\u95F4',\n      },\n      {\n        type: 'int',\n        name: 'eu_Cultural',\n        originalKey: 'eu_Cultural',\n        label: '\\u6587\\u5316\\u6C34\\u5E73',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_IDCard',\n        originalKey: 'eu_IDCard',\n        label: '\\u8EAB\\u4EFD\\u8BC1\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_Tel',\n        originalKey: 'eu_Tel',\n        label: '\\u7535\\u8BDD',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_Position',\n        originalKey: 'eu_Position',\n        label: '\\u804C\\u4F4D',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'eu_Department',\n        typeMeta: {\n          relationModel: 'erp_DepartmentInfo',\n          type: 'Relation',\n        },\n        label: '\\u6240\\u5C5E\\u90E8\\u95E8',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'eu_Remark',\n        originalKey: 'eu_Remark',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '\\u521B\\u5EFA\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u521B\\u5EFA\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '\\u7EC4\\u7EC7\\u673A\\u6784',\n      },\n    ],\n  },\n  {\n    name: 'erp_BaseOperatorLog',\n    originalKey: 'erp_BaseOperatorLog',\n    label: '\\u57FA\\u7840\\u4FE1\\u606F\\u64CD\\u4F5C\\u65E5\\u5FD7',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ebol_Operator',\n        originalKey: 'ebol_Operator',\n        label: '\\u64CD\\u4F5C\\u4EBA',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ebol_TableName',\n        originalKey: 'ebol_TableName',\n        label: '\\u8868\\u540D',\n      },\n      {\n        type: 'int',\n        name: 'ebol_OperationType',\n        originalKey: 'ebol_OperationType',\n        label: '\\u64CD\\u4F5C\\u7C7B\\u578B',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'ebol_Content',\n        originalKey: 'ebol_Content',\n        label: '\\u64CD\\u4F5C\\u5185\\u5BB9',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '\\u521B\\u5EFA\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u521B\\u5EFA\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '\\u7EC4\\u7EC7\\u673A\\u6784',\n      },\n    ],\n  },\n  {\n    name: 'erp_ContactInfo',\n    originalKey: 'erp_ContactInfo',\n    label: '\\u8054\\u7CFB\\u4EBA',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'ec_ForeignKey',\n        typeMeta: {\n          relationModel: 'erp_CustomerInfo',\n          type: 'Relation',\n        },\n        label: '\\u5916\\u952E',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_ContactName',\n        originalKey: 'ec_ContactName',\n        label: '\\u8054\\u7CFB\\u4EBA',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Post',\n        originalKey: 'ec_Post',\n        label: '\\u804C\\u52A1',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Phone',\n        originalKey: 'ec_Phone',\n        label: '\\u7535\\u8BDD',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_TelPhone',\n        originalKey: 'ec_TelPhone',\n        label: '\\u624B\\u673A',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Fax',\n        originalKey: 'ec_Fax',\n        label: '\\u4F20\\u771F',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Email',\n        originalKey: 'ec_Email',\n        label: '\\u90AE\\u7BB1',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Postalcode',\n        originalKey: 'ec_Postalcode',\n        label: '\\u90AE\\u653F\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'ec_Addr',\n        originalKey: 'ec_Addr',\n        label: '\\u5730\\u5740',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '\\u521B\\u5EFA\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u521B\\u5EFA\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '\\u7EC4\\u7EC7\\u673A\\u6784',\n      },\n    ],\n  },\n  {\n    name: 'erp_BankAccount',\n    originalKey: 'erp_BankAccount',\n    label: '\\u94F6\\u884C\\u8D26\\u53F7',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'eba_ForeignKey',\n        typeMeta: {\n          relationModel: 'erp_CustomerInfo',\n          type: 'Relation',\n        },\n        label: '\\u5916\\u952E',\n      },\n      {\n        type: 'int',\n        name: 'eba_Type',\n        originalKey: 'eba_Type',\n        label: '\\u8D26\\u6237\\u7C7B\\u578B',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eba_Bank',\n        originalKey: 'eba_Bank',\n        label: '\\u5F00\\u6237\\u94F6\\u884C',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eba_Number',\n        originalKey: 'eba_Number',\n        label: '\\u8D26\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eba_Currency',\n        originalKey: 'eba_Currency',\n        label: '\\u5E01\\u79CD',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eba_Property',\n        originalKey: 'eba_Property',\n        label: '\\u8D26\\u6237\\u7528\\u9014',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'eba_Addr',\n        originalKey: 'eba_Addr',\n        label: '\\u94F6\\u884C\\u5730\\u5740',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '\\u521B\\u5EFA\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '\\u521B\\u5EFA\\u65F6\\u95F4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u4EBA',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '\\u6700\\u540E\\u7F16\\u8F91\\u65F6\\u95F4',\n      },\n    ],\n  },\n  {\n    name: 'T9_Customer',\n    originalKey: 'T9_Customer',\n    label: '\\u5BA2\\u6237\\u4FE1\\u606F',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'T9_Repair_flow',\n          type: 'Relation',\n        },\n        label: '\\u7F16\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_CarNum',\n        originalKey: 'T9C_CarNum',\n        label: '\\u8F66\\u8F86\\u7F16\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Name',\n        originalKey: 'T9C_Name',\n        label: '\\u59D3\\u540D',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'T9C_Number',\n        originalKey: 'T9C_Number',\n        label: '\\u8054\\u7CFB\\u65B9\\u5F0F',\n      },\n      {\n        type: 'datetime',\n        name: 'T9C_DateOfBirth',\n        originalKey: 'T9C_DateOfBirth',\n        label: '\\u51FA\\u751F\\u65E5\\u671F',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9C_Address',\n        originalKey: 'T9C_Address',\n        label: '\\u5730\\u5740',\n      },\n      {\n        type: 'int',\n        name: 'T9C_Sex',\n        originalKey: 'T9C_Sex',\n        label: '\\u6027\\u522B',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_LinkMan',\n        originalKey: 'T9C_LinkMan',\n        label: '\\u8054\\u7CFB\\u4EBA',\n      },\n    ],\n  },\n  {\n    name: 'T9_Repair_flow',\n    originalKey: 'T9_Repair_flow',\n    label: '\\u7EF4\\u4FEE\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9R_RepairId',\n        typeMeta: {\n          relationModel: 'T9_NewRepairParts',\n          type: 'Relation',\n        },\n        label: '\\u6D3E\\u5355\\u7F16\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_CustomerId',\n        originalKey: 'T9R_CustomerId',\n        label: '\\u8F66\\u4E3B',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9R_CarId',\n        typeMeta: {\n          relationModel: 'T9_Car',\n          type: 'Relation',\n        },\n        label: '\\u6C7D\\u8F66\\u7F16\\u53F7',\n      },\n      {\n        type: 'int',\n        name: 'T9R_Satisfaction',\n        originalKey: 'T9R_Satisfaction',\n        label: '\\u6EE1\\u610F\\u5EA6',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_Taxfee',\n        originalKey: 'T9R_Taxfee',\n        label: '\\u7A0E\\u8D39',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_PickMan',\n        originalKey: 'T9R_PickMan',\n        label: '\\u63A5\\u8F66\\u4EBA',\n      },\n      {\n        type: 'int',\n        name: 'T9R_RepairType',\n        originalKey: 'T9R_RepairType',\n        label: '\\u7EF4\\u4FEE\\u7C7B\\u578B',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9R_PartNote',\n        originalKey: 'T9R_PartNote',\n        label: '\\u914D\\u4EF6\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9R_WorkHoursNote',\n        originalKey: 'T9R_WorkHoursNote',\n        label: '\\u5DE5\\u65F6\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9R_SettlementNote',\n        originalKey: 'T9R_SettlementNote',\n        label: '\\u7ED3\\u7B97\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_ContractNum',\n        originalKey: 'T9R_ContractNum',\n        label: '\\u7EF4\\u4FEE\\u5408\\u540C\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_WorkOrderNum',\n        originalKey: 'T9R_WorkOrderNum',\n        label: '\\u5DE5\\u5355\\u53F7\\u7801',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_HandNumber',\n        originalKey: 'T9R_HandNumber',\n        label: '\\u4EA4\\u63A5\\u5355\\u53F7',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_Withholding',\n        originalKey: 'T9R_Withholding',\n        label: '\\u4EE3\\u6536\\u4EE3\\u7F34',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_Total',\n        originalKey: 'T9R_Total',\n        label: '\\u603B\\u8BA1\\uFF08\\u5143\\uFF09',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Reckoner',\n        originalKey: 'T9R_Reckoner',\n        label: '\\u7ED3\\u7B97\\u4EBA',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_AccountNum',\n        originalKey: 'T9R_AccountNum',\n        label: '\\u8D26\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_DutyParagraph',\n        originalKey: 'T9R_DutyParagraph',\n        label: '\\u7A0E\\u53F7',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_OutfactoryTime',\n        originalKey: 'T9R_OutfactoryTime',\n        label: '\\u51FA\\u5382\\u65F6\\u95F4',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_IntofactoryTime',\n        originalKey: 'T9R_IntofactoryTime',\n        label: '\\u8FDB\\u5382\\u65F6\\u95F4',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_SettementDate',\n        originalKey: 'T9R_SettementDate',\n        label: '\\u7ED3\\u7B97\\u65E5\\u671F',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_HandDate',\n        originalKey: 'T9R_HandDate',\n        label: '\\u4EA4\\u63A5\\u65E5\\u671F',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_PreHandDate',\n        originalKey: 'T9R_PreHandDate',\n        label: '\\u9884\\u8BA1\\u4EA4\\u4ED8\\u65E5\\u671F',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_PreMaterial',\n        originalKey: 'T9R_PreMaterial',\n        label: '\\u9884\\u8BA1\\u6750\\u6599\\u8D39\\uFF08\\u542B\\u7BA1\\u7406\\u8D39\\uFF09',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_PreLabor',\n        originalKey: 'T9R_PreLabor',\n        label: '\\u9884\\u8BA1\\u5DE5\\u65F6\\u8D39',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_PreRepairSum',\n        originalKey: 'T9R_PreRepairSum',\n        label: '\\u9884\\u8BA1\\u4FEE\\u7406\\u8D39\\u603B\\u548C',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_AddMater',\n        originalKey: 'T9R_AddMater',\n        label: '\\u9700\\u589E\\u6750\\u6599\\u8D39',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_AddLabor',\n        originalKey: 'T9R_AddLabor',\n        label: '\\u9700\\u589E\\u5DE5\\u65F6\\u8D39',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_AddRepairSum',\n        originalKey: 'T9R_AddRepairSum',\n        label: '\\u9700\\u589E\\u4FEE\\u7406\\u8D39\\u603B\\u8BA1',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_DateAlter',\n        originalKey: 'T9R_DateAlter',\n        label: '\\u4EA4\\u4ED8\\u65E5\\u671F\\u4FEE\\u8BA2',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Detection',\n        originalKey: 'T9R_Detection',\n        label: '\\u59D4\\u6258\\u4FEE\\u7406\\u9879\\u76EE\\u68C0\\u9A8C',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'T9R_Opinion',\n        originalKey: 'T9R_Opinion',\n        label: '\\u63D0\\u793A\\u548C\\u5EFA\\u8BAE',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_PartPercen',\n        originalKey: 'T9R_PartPercen',\n        label: '\\u6750\\u6599\\u767E\\u5206\\u6BD4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_ChassisID',\n        originalKey: 'T9R_ChassisID',\n        label: '\\u8F66\\u67B6\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_ReceiveID',\n        originalKey: 'T9R_ReceiveID',\n        label: '\\u63A5\\u5F85\\u8005id',\n      },\n    ],\n  },\n  {\n    name: 'T9eng_WorkHours',\n    originalKey: 'T9eng_WorkHours',\n    label: '\\u5DE5\\u65F6\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9W_RepairId',\n        originalKey: 'T9W_RepairId',\n        label: '\\u6D3E\\u5355\\u53F7',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9W_Content',\n        originalKey: 'T9W_Content',\n        label: '\\u5185\\u5BB9',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9W_Money',\n        originalKey: 'T9W_Money',\n        label: '\\u5DE5\\u65F6\\u603B\\u4EF7',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9W_Price',\n        originalKey: 'T9W_Price',\n        label: '\\u5DE5\\u65F6\\u5355\\u4EF7',\n      },\n      {\n        type: 'datetime',\n        name: 'T9W_WorkTime',\n        originalKey: 'T9W_WorkTime',\n        label: '\\u5DE5\\u65F6',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9W_Class',\n        typeMeta: {\n          relationModel: 'T9_ClassGroup',\n          type: 'Relation',\n        },\n        label: '\\u73ED\\u7EC4',\n      },\n    ],\n  },\n  {\n    name: 'T9_RepairParts',\n    originalKey: 'T9_RepairParts',\n    label: '\\u7EF4\\u4FEE\\u914D\\u4EF6\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_RepairId',\n        originalKey: 'T9P_RepairId',\n        label: '\\u6D3E\\u5355\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9P_Partsid',\n        typeMeta: {\n          relationModel: 'T9_PartManger',\n          type: 'Relation',\n        },\n        label: '\\u914D\\u4EF6\\u540D\\u79F0',\n      },\n      {\n        type: 'int',\n        name: 'T9P_Number',\n        originalKey: 'T9P_Number',\n        label: '\\u6570\\u91CF',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_ExpectPrice',\n        originalKey: 'T9P_ExpectPrice',\n        label: '\\u9884\\u8BA1\\u5355\\u4EF7\\u8D39',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_ExpectAllCost',\n        originalKey: 'T9P_ExpectAllCost',\n        label: '\\u9884\\u8BA1\\u603B\\u8D39\\u7528',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_RealPrice',\n        originalKey: 'T9P_RealPrice',\n        label: '\\u5B9E\\u9645\\u5355\\u4EF7\\u8D39',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_RealAllCost',\n        originalKey: 'T9P_RealAllCost',\n        label: '\\u5B9E\\u9645\\u603B\\u8D39\\u7528',\n      },\n    ],\n  },\n  {\n    name: 'T9_Car',\n    originalKey: 'T9_Car',\n    label: '\\u6C7D\\u8F66\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_LicenseMember',\n        originalKey: 'T9C_LicenseMember',\n        label: '\\u8F66\\u724C\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9C_CarType',\n        typeMeta: {\n          relationModel: 'T9_CarStyle',\n          type: 'Relation',\n        },\n        label: '\\u8F66\\u578B',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Color',\n        originalKey: 'T9C_Color',\n        label: '\\u989C\\u8272',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_CustomerId',\n        originalKey: 'T9C_CustomerId',\n        label: '\\u8F66\\u4E3BID',\n      },\n      {\n        type: 'datetime',\n        name: 'T9C_DateOfAcquistion',\n        originalKey: 'T9C_DateOfAcquistion',\n        label: '\\u8D2D\\u7F6E\\u65E5\\u671F',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Journey',\n        originalKey: 'T9C_Journey',\n        label: '\\u884C\\u7A0B\\u516C\\u91CC',\n      },\n    ],\n  },\n  {\n    name: 'T9_NewRepairParts',\n    originalKey: 'T9_NewRepairParts',\n    label: '\\u65B0\\u589E\\u7EF4\\u4FEE\\u914D\\u4EF6\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_RepairId',\n        originalKey: 'T9P_RepairId',\n        label: '\\u6D3E\\u5355\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9P_PartsId',\n        typeMeta: {\n          relationModel: 'T9_PartManger',\n          type: 'Relation',\n        },\n        label: '\\u914D\\u4EF6\\u540D\\u79F0',\n      },\n      {\n        type: 'int',\n        name: 'T9P_Number',\n        originalKey: 'T9P_Number',\n        label: '\\u6570\\u91CF',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_ExpectPrice',\n        originalKey: 'T9P_ExpectPrice',\n        label: '\\u9884\\u8BA1\\u5355\\u4EF7\\u8D39',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_ExpectAllCost',\n        originalKey: 'T9P_ExpectAllCost',\n        label: '\\u9884\\u8BA1\\u603B\\u8D39\\u7528',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_RealPrice',\n        originalKey: 'T9P_RealPrice',\n        label: '\\u5B9E\\u9645\\u5355\\u4EF7\\u8D39',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_RealAllCost',\n        originalKey: 'T9P_RealAllCost',\n        label: '\\u5B9E\\u9645\\u603B\\u8D39\\u7528',\n      },\n    ],\n  },\n  {\n    name: 'T9_PartManger',\n    originalKey: 'T9_PartManger',\n    label: '\\u914D\\u4EF6\\u7BA1\\u7406\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'T9_PartsPrice',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_ID',\n        originalKey: 'T9P_ID',\n        label: '\\u914D\\u4EF6\\u7F16\\u53F7',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9P_Name',\n        originalKey: 'T9P_Name',\n        label: '\\u914D\\u4EF6\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_Unit',\n        originalKey: 'T9P_Unit',\n        label: '\\u5355\\u4F4D',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9P_Money',\n        originalKey: 'T9P_Money',\n        label: '\\u91D1\\u989D',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9P_CarKind',\n        typeMeta: {\n          relationModel: 'T9_CarStyle',\n          type: 'Relation',\n        },\n        label: '\\u8F66\\u7CFB',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9P_RemainMoney',\n        originalKey: 'T9P_RemainMoney',\n        label: '\\u5E93\\u5B58\\u4F59\\u989D',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarStyle',\n        originalKey: 'T9P_CarStyle',\n        label: '\\u8F66\\u578B',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarBrand',\n        originalKey: 'T9P_CarBrand',\n        label: '\\u8F66\\u54C1\\u724C',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_OriFactoryID',\n        originalKey: 'T9P_OriFactoryID',\n        label: '\\u539F\\u5382\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_InventoryID',\n        originalKey: 'T9P_InventoryID',\n        label: '\\u5E93\\u5B58\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_GoodsID',\n        originalKey: 'T9P_GoodsID',\n        label: '\\u8D27\\u4F4D\\u7F16\\u7801',\n      },\n    ],\n  },\n  {\n    name: 'T9_Repairshops',\n    originalKey: 'T9_Repairshops',\n    label: '\\u7EF4\\u4FEE\\u5382\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Name',\n        originalKey: 'T9R_Name',\n        label: '\\u7EF4\\u4FEE\\u5382\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(Max)',\n        name: 'T9R_Adress',\n        originalKey: 'T9R_Adress',\n        label: '\\u7EF4\\u4FEE\\u5382\\u5730\\u5740',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Area',\n        originalKey: 'T9R_Area',\n        label: '\\u6240\\u5728\\u533A\\u57DF',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_LinkMan',\n        originalKey: 'T9R_LinkMan',\n        label: '\\u8054\\u7CFB\\u4EBA',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Tel',\n        originalKey: 'T9R_Tel',\n        label: '\\u8054\\u7CFB\\u7535\\u8BDD',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_ Facsimile',\n        originalKey: 'T9R_ Facsimile',\n        label: '\\u4F20\\u771F',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Postalcode',\n        originalKey: 'T9R_Postalcode',\n        label: '\\u90AE\\u653F\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'T9R_Note',\n        originalKey: 'T9R_Note',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_GroupSign',\n        originalKey: 'T9R_GroupSign',\n        label: '\\u7EC4\\u7EC7\\u6807\\u5FD7',\n      },\n    ],\n  },\n  {\n    name: 'T9_Supplier',\n    originalKey: 'T9_Supplier',\n    label: '\\u4F9B\\u5E94\\u5546\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_Name',\n        originalKey: 'T9S_Name',\n        label: '\\u4F9B\\u5E94\\u5546\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_Brand',\n        originalKey: 'T9S_Brand',\n        label: '\\u4F9B\\u5E94\\u54C1\\u724C',\n      },\n      {\n        type: 'nvarchar(Max)',\n        name: 'T9S_RepairAdress',\n        originalKey: 'T9S_RepairAdress',\n        label: '\\u7EF4\\u4FEE\\u5382\\u5730\\u5740',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_Area',\n        originalKey: 'T9S_Area',\n        label: '\\u6240\\u5728\\u533A\\u57DF',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_LinkMan',\n        originalKey: 'T9S_LinkMan',\n        label: '\\u8054\\u7CFB\\u4EBA',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_Tel',\n        originalKey: 'T9S_Tel',\n        label: '\\u8054\\u7CFB\\u7535\\u8BDD',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_ Facsimile',\n        originalKey: 'T9S_ Facsimile',\n        label: '\\u4F20\\u771F',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_Postalcode',\n        originalKey: 'T9S_Postalcode',\n        label: '\\u90AE\\u653F\\u7F16\\u7801',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'T9S_Note',\n        originalKey: 'T9S_Note',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'vnarchar(50)',\n        name: 'T9S_GroupSign',\n        originalKey: 'T9S_GroupSign',\n        label: '\\u7EC4\\u7EC7\\u6807\\u5FD7',\n      },\n    ],\n  },\n  {\n    name: 'T9_CarStyle',\n    originalKey: 'T9_CarStyle',\n    label: '\\u8F66\\u578B\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Name',\n        originalKey: 'T9C_Name',\n        label: '\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9C_SeriesID',\n        typeMeta: {\n          relationModel: 'T9_CarKind',\n          type: 'Relation',\n        },\n        label: '\\u8F66\\u7CFBID',\n      },\n    ],\n  },\n  {\n    name: 'T9_Procurement',\n    originalKey: 'T9_Procurement',\n    label: '\\u7ADE\\u4EF7\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_RepairfactoryFID',\n        originalKey: 'T9P_RepairfactoryFID',\n        label: '\\u7EF4\\u4FEE\\u5382FID',\n      },\n      {\n        type: 'nvarchar(Max)',\n        name: 'T9P_Adress',\n        originalKey: 'T9P_Adress',\n        label: '\\u6536\\u8D27\\u5730\\u5740',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_LinkMan',\n        originalKey: 'T9P_LinkMan',\n        label: '\\u6536\\u8D27\\u4EBA',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_LinkTel',\n        originalKey: 'T9P_LinkTel',\n        label: '\\u6536\\u4EBA\\u8054\\u7CFB\\u65B9\\u5F0F',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarStyleID',\n        originalKey: 'T9P_CarStyleID',\n        label: '\\u8F66\\u7CFBID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_PartName',\n        originalKey: 'T9P_PartName',\n        label: '\\u914D\\u4EF6ID',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'T9P_Note',\n        originalKey: 'T9P_Note',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_Num',\n        originalKey: 'T9P_Num',\n        label: '\\u6570\\u91CF',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9P_finallyprice\\\\r\\\\nT9P_FinallyPirce',\n        originalKey: 'T9P_finallyprice\\\\r\\\\nT9P_FinallyPirce',\n        label: '\\u6700\\u7EC8\\u6210\\u4EA4\\u4EF7\\u683C',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9P_MinPrice',\n        originalKey: 'T9P_MinPrice',\n        label: '\\u7ADE\\u4EF7\\u6700\\u4F4E\\u4EF7\\u683C',\n      },\n      {\n        type: 'int',\n        name: 'T9P_PriceState',\n        originalKey: 'T9P_PriceState',\n        label: '\\u91C7\\u8D2D\\u4FE1\\u606F\\u72B6\\u6001',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_SupplierID',\n        originalKey: 'T9P_SupplierID',\n        label: '\\u4F9B\\u5E94\\u5546ID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarKind',\n        originalKey: 'T9P_CarKind',\n        label: '\\u8F66\\u7CFB',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarStyle',\n        originalKey: 'T9P_CarStyle',\n        label: '\\u8F66\\u578B',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarBrand',\n        originalKey: 'T9P_CarBrand',\n        label: '\\u8F66\\u54C1\\u724C',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_PartUnit',\n        originalKey: 'T9P_PartUnit',\n        label: '\\u914D\\u4EF6\\u5355\\u4F4D',\n      },\n      {\n        name: 'T9P_finallyOnePrice',\n        originalKey: 'T9P_finallyOnePrice',\n        label: '\\u6700\\u603B\\u5355\\u4EF7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_ServiceID',\n        originalKey: 'T9P_ServiceID',\n        label: '\\u7EF4\\u4FEE\\u7F16\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarID',\n        originalKey: 'T9P_CarID',\n        label: '\\u6C7D\\u8F66\\u7F16\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CustomerID',\n        originalKey: 'T9P_CustomerID',\n        label: '\\u5BA2\\u6237\\u7F16\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_OrderID',\n        originalKey: 'T9P_OrderID',\n        label: '\\u8BA2\\u5355\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_ChassisID',\n        originalKey: 'T9P_ChassisID',\n        label: '\\u8F66\\u67B6\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_LicenseID',\n        originalKey: 'T9P_LicenseID',\n        label: '\\u8F66\\u724C\\u53F7',\n      },\n      {\n        type: 'ntext',\n        name: 'T9P_Picture',\n        originalKey: 'T9P_Picture',\n        label: '\\u7167\\u7247',\n      },\n    ],\n  },\n  {\n    name: 'T9_Bidding',\n    originalKey: 'T9_Bidding',\n    label: '\\u62A5\\u4EF7\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'T9_Procurement',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_FID',\n        originalKey: 'T9P_FID',\n        label: '\\u4F9B\\u5E94\\u5546FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9B_FID',\n        originalKey: 'T9B_FID',\n        label: '\\u91C7\\u8D2DFID',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9B_Price',\n        originalKey: 'T9B_Price',\n        label: '\\u7ADE\\u4EF7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9B_Number',\n        originalKey: 'T9B_Number',\n        label: '\\u6570\\u91CF',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9B_Money',\n        originalKey: 'T9B_Money',\n        label: '\\u91D1\\u989D',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9B_WinBidding',\n        originalKey: 'T9B_WinBidding',\n        label: '\\u662F\\u5426\\u4E2D\\u6807',\n      },\n    ],\n  },\n  {\n    name: 'T9_ClassGroup',\n    originalKey: 'T9_ClassGroup',\n    label: '\\u73ED\\u7EC4\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Name',\n        originalKey: 'T9C_Name',\n        label: '\\u73ED\\u7EC4\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Sign',\n        originalKey: 'T9C_Sign',\n        label: '\\u73ED\\u7EC4\\u6807\\u8BC6(\\u82F1\\u6587\\u540D)',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9C_HourlyRate',\n        originalKey: 'T9C_HourlyRate',\n        label: '\\u65F6\\u85AA',\n      },\n    ],\n  },\n  {\n    name: 'T9_CarKind',\n    originalKey: 'T9_CarKind',\n    label: '\\u8F66\\u7CFB',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Kind',\n        originalKey: 'T9C_Kind',\n        label: '\\u8F66\\u7CFB',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9C_BrandFID',\n        typeMeta: {\n          relationModel: 'T9_CarBrand',\n          type: 'Relation',\n        },\n        label: '\\u54C1\\u724CFID',\n      },\n    ],\n  },\n  {\n    name: 'T9_CarBrand',\n    originalKey: 'T9_CarBrand',\n    label: '\\u8F66\\u4E3B\\u54C1\\u724C\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Brand',\n        originalKey: 'T9C_Brand',\n        label: '\\u54C1\\u724C\\u540D\\u79F0',\n      },\n    ],\n  },\n  {\n    name: 'T9_PartsPrice',\n    originalKey: 'T9_PartsPrice',\n    label: '\\u914D\\u4EF6\\u4EF7\\u683C\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_FID',\n        originalKey: 'T9P_FID',\n        label: '\\u914D\\u4EF6FID',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9P_Price',\n        originalKey: 'T9P_Price',\n        label: '\\u4EF7\\u683C',\n      },\n      {\n        type: 'datetime',\n        name: 'T9P_UpdateTime',\n        originalKey: 'T9P_UpdateTime',\n        label: '\\u66F4\\u65B0\\u65F6\\u95F4',\n      },\n    ],\n  },\n  {\n    name: 'T9_Changebound',\n    originalKey: 'T9_Changebound',\n    label: '\\u5E93\\u5B58\\u53D8\\u52A8\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'T9_PartManger',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_PartID',\n        originalKey: 'T9C_PartID',\n        label: '\\u914D\\u4EF6ID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_PartKind',\n        originalKey: 'T9C_PartKind',\n        label: '\\u914D\\u4EF6\\u5206\\u7C7B',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_PartName',\n        originalKey: 'T9C_PartName',\n        label: '\\u914D\\u4EF6\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Measuringunit',\n        originalKey: 'T9C_Measuringunit',\n        label: '\\u8BA1\\u91CF\\u5355\\u4F4D',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9C_Price',\n        originalKey: 'T9C_Price',\n        label: '\\u91C7\\u8D2D\\u4EF7\\u683C',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Number',\n        originalKey: 'T9C_Number',\n        label: '\\u91C7\\u8D2D\\u6570\\u91CF',\n      },\n      {\n        type: 'int',\n        name: 'T9C_OperationKind',\n        originalKey: 'T9C_OperationKind',\n        label: '\\u64CD\\u4F5C\\u7C7B\\u578B',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_RepairID',\n        originalKey: 'T9C_RepairID',\n        label: '\\u7EF4\\u4FEE\\u5355ID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_PurchaseID',\n        originalKey: 'T9C_PurchaseID',\n        label: '\\u91C7\\u8D2D\\u5355Id',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_StartNum',\n        originalKey: 'T9C_StartNum',\n        label: '\\u521D\\u59CB\\u4F59\\u989D',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_OnePrice',\n        originalKey: 'T9C_OnePrice',\n        label: '\\u53D8\\u52A8\\u62A5\\u4EF7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_EndNum',\n        originalKey: 'T9C_EndNum',\n        label: '\\u6700\\u7EC8\\u6570\\u76EE',\n      },\n    ],\n  },\n  {\n    name: 'T9_StorageList',\n    originalKey: 'T9_StorageList',\n    label: '\\u5165\\u5E93\\u5355',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_InFID',\n        originalKey: 'T9I_InFID',\n        label: '\\u5165\\u5E93\\u5355\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_Supplier',\n        originalKey: 'T9I_Supplier',\n        label: '\\u4F9B\\u5E94\\u5546',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_BillType',\n        originalKey: 'T9I_BillType',\n        label: '\\u5355\\u636E\\u7C7B\\u578B',\n      },\n      {\n        type: 'datetime',\n        name: 'T9I_InDateTime',\n        originalKey: 'T9I_InDateTime',\n        label: '\\u5165\\u5E93\\u65E5\\u671F',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_PayType',\n        originalKey: 'T9I_PayType',\n        label: '\\u4ED8\\u6B3E\\u65B9\\u5F0F',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_Operator',\n        originalKey: 'T9I_Operator',\n        label: '\\u7ECF\\u529E\\u4EBA',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_InType',\n        originalKey: 'T9I_InType',\n        label: '\\u5165\\u5E93\\u7C7B\\u578B',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_CarLicense',\n        originalKey: 'T9I_CarLicense',\n        label: '\\u8F66\\u724C\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_ChassisNumber',\n        originalKey: 'T9I_ChassisNumber',\n        label: '\\u8F66\\u67B6\\u53F7',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_ToalPrice',\n        originalKey: 'T9I_ToalPrice',\n        label: '\\u5408\\u8BA1\\u91D1\\u989D',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_Rate',\n        originalKey: 'T9I_Rate',\n        label: '\\u7A0E\\u7387',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_TaxRate',\n        originalKey: 'T9I_TaxRate',\n        label: '\\u7A0E\\u989D',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_TaxAmount',\n        originalKey: 'T9I_TaxAmount',\n        label: '\\u542B\\u7A0E\\u91D1\\u989D',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_WarehouseKeeper',\n        originalKey: 'T9I_WarehouseKeeper',\n        label: '\\u4ED3\\u7BA1',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_Audit',\n        originalKey: 'T9I_Audit',\n        label: '\\u5BA1\\u6838',\n      },\n    ],\n  },\n  {\n    name: 'T9_StorageListDetail',\n    originalKey: 'T9_StorageListDetail',\n    label: '\\u5165\\u5E93\\u660E\\u7EC6',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_InFID',\n        originalKey: 'T9I_InFID',\n        label: '\\u5165\\u5E93\\u5355\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_PartFID',\n        originalKey: 'T9I_PartFID',\n        label: '\\u5546\\u54C1\\u7F16\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_PartName',\n        originalKey: 'T9I_PartName',\n        label: '\\u5546\\u54C1\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_Model',\n        originalKey: 'T9I_Model',\n        label: '\\u578B\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_Unit',\n        originalKey: 'T9I_Unit',\n        label: '\\u5355\\u4F4D',\n      },\n      {\n        type: 'int',\n        name: 'T9I_Number',\n        originalKey: 'T9I_Number',\n        label: '\\u6570\\u91CF',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_OnePrice',\n        originalKey: 'T9I_OnePrice',\n        label: '\\u5355\\u4EF7',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_Price',\n        originalKey: 'T9I_Price',\n        label: '\\u91D1\\u989D',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_ProductClass',\n        originalKey: 'T9I_ProductClass',\n        label: '\\u4EA7\\u54C1\\u7C7B\\u522B',\n      },\n    ],\n  },\n  {\n    name: 'T9_DeliveryOrder',\n    originalKey: 'T9_DeliveryOrder',\n    label: '\\u51FA\\u5E93\\u5355',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_BoundID',\n        originalKey: 'T9O_BoundID',\n        label: '\\u51FA\\u5E93\\u5355\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_ClientName',\n        originalKey: 'T9O_ClientName',\n        label: '\\u5BA2\\u6237\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Type',\n        originalKey: 'T9O_Type',\n        label: '\\u7C7B\\u578B',\n      },\n      {\n        type: 'datetime',\n        name: 'T9O_OutDate',\n        originalKey: 'T9O_OutDate',\n        label: '\\u51FA\\u5E93\\u65E5\\u671F',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Dispatch',\n        originalKey: 'T9O_Dispatch',\n        label: '\\u6D3E\\u5355\\u7F16\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_ChargeName',\n        originalKey: 'T9O_ChargeName',\n        label: '\\u7ECF\\u529E\\u4EBA',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Class',\n        originalKey: 'T9O_Class',\n        label: '\\u9886\\u73ED\\u73ED\\u7EC4',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Note',\n        originalKey: 'T9O_Note',\n        label: '\\u5907\\u6CE8',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_CarNumber',\n        originalKey: 'T9O_CarNumber',\n        label: '\\u8F66\\u724C\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Amount',\n        originalKey: 'T9O_Amount',\n        label: '\\u5408\\u8BA1\\u91D1\\u989D',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_BoundManger',\n        originalKey: 'T9O_BoundManger',\n        label: '\\u4ED3\\u7BA1',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Reviewer',\n        originalKey: 'T9O_Reviewer',\n        label: '\\u5BA1\\u6838\\u4EBA',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Pick',\n        originalKey: 'T9O_Pick',\n        label: '\\u9886\\u6599',\n      },\n    ],\n  },\n  {\n    name: 'T9_DeliveryOrderDetail',\n    originalKey: 'T9_DeliveryOrderDetail',\n    label: '\\u51FA\\u5E93\\u660E\\u7EC6\\u8868',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_FID',\n        originalKey: 'T9C_FID',\n        label: '\\u51FA\\u5E93\\u5355\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9D_PartID',\n        originalKey: 'T9D_PartID',\n        label: '\\u5546\\u54C1\\u7F16\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9D_PartName',\n        originalKey: 'T9D_PartName',\n        label: '\\u5546\\u54C1\\u540D\\u79F0',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9D_Type',\n        originalKey: 'T9D_Type',\n        label: '\\u578B\\u53F7',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9D_Num',\n        originalKey: 'T9D_Num',\n        label: '\\u6570\\u91CF',\n      },\n      {\n        type: 'nvarchar(50))',\n        name: 'T9D_Unit',\n        originalKey: 'T9D_Unit',\n        label: '\\u5355\\u4F4D',\n      },\n      {\n        type: 'decimarl(18,4)',\n        name: 'T9D_Price',\n        originalKey: 'T9D_Price',\n        label: '\\u5355\\u4EF7',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9D_Money',\n        originalKey: 'T9D_Money',\n        label: '\\u91D1\\u989D',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9D_Bound',\n        originalKey: 'T9D_Bound',\n        label: '\\u4ED3\\u5E93',\n      },\n    ],\n  },\n]\n`},18043:function(c,m){\"use strict\";m.Z=`export default [\n    {\n        name: 'finance',\n        label: '\\u91D1\\u878D',\n    },\n    {\n        name: 'ERP',\n        label: '\\u8FDB\\u9500\\u5B58',\n    },\n    {\n        label: '\\u6C7D\\u4FEE',\n        name: 'T9engSQ',\n    },\n]\n`},75294:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return F}});var a=e(24572),o=e(75782),r=e(91600),u=e(58733),l=e(50959),d=e(62855),f=e(84875),v=e.n(f),p={adjustX:1,adjustY:1},h=[0,0],g={topLeft:{points:[\"bl\",\"tl\"],overflow:p,offset:[0,-4],targetOffset:h},topCenter:{points:[\"bc\",\"tc\"],overflow:p,offset:[0,-4],targetOffset:h},topRight:{points:[\"br\",\"tr\"],overflow:p,offset:[0,-4],targetOffset:h},bottomLeft:{points:[\"tl\",\"bl\"],overflow:p,offset:[0,4],targetOffset:h},bottomCenter:{points:[\"tc\",\"bc\"],overflow:p,offset:[0,4],targetOffset:h},bottomRight:{points:[\"tr\",\"br\"],overflow:p,offset:[0,4],targetOffset:h}},y=g,S=e(59158),I=e(40086),N=e(23318),_=S.Z.ESC,M=S.Z.TAB;function L(K){var G=K.visible,q=K.setTriggerVisible,X=K.triggerRef,oe=K.onVisibleChange,Ee=K.autoFocus,Te=l.useRef(!1),ae=function(){if(G&&X.current){var R,j,C,B;(R=X.current)===null||R===void 0||(j=R.triggerRef)===null||j===void 0||(C=j.current)===null||C===void 0||(B=C.focus)===null||B===void 0||B.call(C),q(!1),typeof oe==\"function\"&&oe(!1)}},z=function(){var R,j,C,B,fe=(0,N.tS)((R=X.current)===null||R===void 0||(j=R.popupRef)===null||j===void 0||(C=j.current)===null||C===void 0||(B=C.getElement)===null||B===void 0?void 0:B.call(C)),Ae=fe[0];return Ae!=null&&Ae.focus?(Ae.focus(),Te.current=!0,!0):!1},A=function(R){switch(R.keyCode){case _:ae();break;case M:{var j=!1;Te.current||(j=z()),j?R.preventDefault():ae();break}}};l.useEffect(function(){return G?(window.addEventListener(\"keydown\",A),Ee&&(0,I.Z)(z,3),function(){window.removeEventListener(\"keydown\",A),Te.current=!1}):function(){Te.current=!1}},[G])}var k=[\"arrow\",\"prefixCls\",\"transitionName\",\"animation\",\"align\",\"placement\",\"placements\",\"getPopupContainer\",\"showAction\",\"hideAction\",\"overlayClassName\",\"overlayStyle\",\"visible\",\"trigger\",\"autoFocus\"];function U(K,G){var q=K.arrow,X=q===void 0?!1:q,oe=K.prefixCls,Ee=oe===void 0?\"rc-dropdown\":oe,Te=K.transitionName,ae=K.animation,z=K.align,A=K.placement,T=A===void 0?\"bottomLeft\":A,R=K.placements,j=R===void 0?y:R,C=K.getPopupContainer,B=K.showAction,fe=K.hideAction,Ae=K.overlayClassName,ge=K.overlayStyle,ce=K.visible,Me=K.trigger,_e=Me===void 0?[\"hover\"]:Me,De=K.autoFocus,Ce=(0,u.Z)(K,k),it=l.useState(),V=(0,r.Z)(it,2),we=V[0],Ie=V[1],le=\"visible\"in K?ce:we,Ne=l.useRef(null);l.useImperativeHandle(G,function(){return Ne.current}),L({visible:le,setTriggerVisible:Ie,triggerRef:Ne,onVisibleChange:K.onVisibleChange,autoFocus:De});var te=function(){var me=K.overlay,Oe;return typeof me==\"function\"?Oe=me():Oe=me,Oe},se=function(me){var Oe=K.onOverlayClick;Ie(!1),Oe&&Oe(me)},pe=function(me){var Oe=K.onVisibleChange;Ie(me),typeof Oe==\"function\"&&Oe(me)},ee=function(){var me=te();return l.createElement(l.Fragment,null,X&&l.createElement(\"div\",{className:\"\".concat(Ee,\"-arrow\")}),me)},Se=function(){var me=K.overlay;return typeof me==\"function\"?ee:ee()},Q=function(){var me=K.minOverlayWidthMatchTrigger,Oe=K.alignPoint;return\"minOverlayWidthMatchTrigger\"in K?me:!Oe},Z=function(){var me=K.openClassName;return me!==void 0?me:\"\".concat(Ee,\"-open\")},Y=function(){var me=K.children,Oe=me.props?me.props:{},We=v()(Oe.className,Z());return le&&me?l.cloneElement(me,{className:We}):me},ue=fe;return!ue&&_e.indexOf(\"contextMenu\")!==-1&&(ue=[\"click\"]),l.createElement(d.Z,(0,o.Z)((0,o.Z)({builtinPlacements:j},Ce),{},{prefixCls:Ee,ref:Ne,popupClassName:v()(Ae,(0,a.Z)({},\"\".concat(Ee,\"-show-arrow\"),X)),popupStyle:ge,action:_e,showAction:B,hideAction:ue||[],popupPlacement:T,popupAlign:z,popupTransitionName:Te,popupAnimation:ae,popupVisible:le,stretch:Q()?\"minWidth\":\"\",popup:Se(),onPopupVisibleChange:pe,onPopupClick:se,getPopupContainer:C}),Y())}var x=l.forwardRef(U),F=x},58048:function(c,m,e){\"use strict\";e.d(m,{iz:function(){return Wt},ck:function(){return $e},BW:function(){return an},sN:function(){return $e},GP:function(){return an},Wd:function(){return Re},ZP:function(){return ln},Xl:function(){return oe}});var a=e(51163),o=e(24572),r=e(75782),u=e(49544),l=e(91600),d=e(58733),f=e(84875),v=e.n(f),p=e(93883),h=e(47280),g=e(53675),y=e(50959),S=e(10422),I=e(37304),N=y.createContext(null);function _(tt,Ze){return tt===void 0?null:\"\".concat(tt,\"-\").concat(Ze)}function M(tt){var Ze=y.useContext(N);return _(Ze,tt)}var L=e(49308),k=[\"children\",\"locked\"],U=y.createContext(null);function x(tt,Ze){var nt=(0,r.Z)({},tt);return Object.keys(Ze).forEach(function(st){var Qe=Ze[st];Qe!==void 0&&(nt[st]=Qe)}),nt}function F(tt){var Ze=tt.children,nt=tt.locked,st=(0,d.Z)(tt,k),Qe=y.useContext(U),ct=(0,L.Z)(function(){return x(Qe,st)},[Qe,st],function(lt,gt){return!nt&&(lt[0]!==gt[0]||!(0,I.Z)(lt[1],gt[1],!0))});return y.createElement(U.Provider,{value:ct},Ze)}var K=[],G=y.createContext(null);function q(){return y.useContext(G)}var X=y.createContext(K);function oe(tt){var Ze=y.useContext(X);return y.useMemo(function(){return tt!==void 0?[].concat((0,u.Z)(Ze),[tt]):Ze},[Ze,tt])}var Ee=y.createContext(null),Te=y.createContext({}),ae=Te,z=e(59158),A=e(40086),T=e(23318),R=z.Z.LEFT,j=z.Z.RIGHT,C=z.Z.UP,B=z.Z.DOWN,fe=z.Z.ENTER,Ae=z.Z.ESC,ge=z.Z.HOME,ce=z.Z.END,Me=[C,B,R,j];function _e(tt,Ze,nt,st){var Qe,ct,lt,gt,mt=\"prev\",Et=\"next\",Pt=\"children\",Mt=\"parent\";if(tt===\"inline\"&&st===fe)return{inlineTrigger:!0};var Bt=(Qe={},(0,o.Z)(Qe,C,mt),(0,o.Z)(Qe,B,Et),Qe),Kt=(ct={},(0,o.Z)(ct,R,nt?Et:mt),(0,o.Z)(ct,j,nt?mt:Et),(0,o.Z)(ct,B,Pt),(0,o.Z)(ct,fe,Pt),ct),Yt=(lt={},(0,o.Z)(lt,C,mt),(0,o.Z)(lt,B,Et),(0,o.Z)(lt,fe,Pt),(0,o.Z)(lt,Ae,Mt),(0,o.Z)(lt,R,nt?Pt:Mt),(0,o.Z)(lt,j,nt?Mt:Pt),lt),$t={inline:Bt,horizontal:Kt,vertical:Yt,inlineSub:Bt,horizontalSub:Yt,verticalSub:Yt},dn=(gt=$t[\"\".concat(tt).concat(Ze?\"\":\"Sub\")])===null||gt===void 0?void 0:gt[st];switch(dn){case mt:return{offset:-1,sibling:!0};case Et:return{offset:1,sibling:!0};case Mt:return{offset:-1,sibling:!1};case Pt:return{offset:1,sibling:!1};default:return null}}function De(tt){for(var Ze=tt;Ze;){if(Ze.getAttribute(\"data-menu-list\"))return Ze;Ze=Ze.parentElement}return null}function Ce(tt,Ze){for(var nt=tt||document.activeElement;nt;){if(Ze.has(nt))return nt;nt=nt.parentElement}return null}function it(tt,Ze){var nt=(0,T.tS)(tt,!0);return nt.filter(function(st){return Ze.has(st)})}function V(tt,Ze,nt){var st=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!tt)return null;var Qe=it(tt,Ze),ct=Qe.length,lt=Qe.findIndex(function(gt){return nt===gt});return st<0?lt===-1?lt=ct-1:lt-=1:st>0&&(lt+=1),lt=(lt+ct)%ct,Qe[lt]}function we(tt,Ze,nt,st,Qe,ct,lt,gt,mt,Et){var Pt=y.useRef(),Mt=y.useRef();Mt.current=Ze;var Bt=function(){A.Z.cancel(Pt.current)};return y.useEffect(function(){return function(){Bt()}},[]),function(Kt){var Yt=Kt.which;if([].concat(Me,[fe,Ae,ge,ce]).includes(Yt)){var $t,dn,Xt,en=function(){$t=new Set,dn=new Map,Xt=new Map;var Fn=ct();return Fn.forEach(function(H){var ie=document.querySelector(\"[data-menu-id='\".concat(_(st,H),\"']\"));ie&&($t.add(ie),Xt.set(ie,H),dn.set(H,ie))}),$t};en();var hn=dn.get(Ze),pn=Ce(hn,$t),Sn=Xt.get(pn),fn=_e(tt,lt(Sn,!0).length===1,nt,Yt);if(!fn&&Yt!==ge&&Yt!==ce)return;(Me.includes(Yt)||[ge,ce].includes(Yt))&&Kt.preventDefault();var Zt=function(Fn){if(Fn){var H=Fn,ie=Fn.querySelector(\"a\");ie!=null&&ie.getAttribute(\"href\")&&(H=ie);var re=Xt.get(Fn);gt(re),Bt(),Pt.current=(0,A.Z)(function(){Mt.current===re&&H.focus()})}};if([ge,ce].includes(Yt)||fn.sibling||!pn){var ar;!pn||tt===\"inline\"?ar=Qe.current:ar=De(pn);var An,sn=it(ar,$t);Yt===ge?An=sn[0]:Yt===ce?An=sn[sn.length-1]:An=V(ar,$t,pn,fn.offset),Zt(An)}else if(fn.inlineTrigger)mt(Sn);else if(fn.offset>0)mt(Sn,!0),Bt(),Pt.current=(0,A.Z)(function(){en();var Vn=pn.getAttribute(\"aria-controls\"),Fn=document.getElementById(Vn),H=V(Fn,$t);Zt(H)},5);else if(fn.offset<0){var Rn=lt(Sn,!0),Nn=Rn[Rn.length-2],Bn=dn.get(Nn);mt(Nn,!1),Zt(Bn)}}Et==null||Et(Kt)}}function Ie(tt){Promise.resolve().then(tt)}var le=\"__RC_UTIL_PATH_SPLIT__\",Ne=function(Ze){return Ze.join(le)},te=function(Ze){return Ze.split(le)},se=\"rc-menu-more\";function pe(){var tt=y.useState({}),Ze=(0,l.Z)(tt,2),nt=Ze[1],st=(0,y.useRef)(new Map),Qe=(0,y.useRef)(new Map),ct=y.useState([]),lt=(0,l.Z)(ct,2),gt=lt[0],mt=lt[1],Et=(0,y.useRef)(0),Pt=(0,y.useRef)(!1),Mt=function(){Pt.current||nt({})},Bt=(0,y.useCallback)(function(hn,pn){var Sn=Ne(pn);Qe.current.set(Sn,hn),st.current.set(hn,Sn),Et.current+=1;var fn=Et.current;Ie(function(){fn===Et.current&&Mt()})},[]),Kt=(0,y.useCallback)(function(hn,pn){var Sn=Ne(pn);Qe.current.delete(Sn),st.current.delete(hn)},[]),Yt=(0,y.useCallback)(function(hn){mt(hn)},[]),$t=(0,y.useCallback)(function(hn,pn){var Sn=st.current.get(hn)||\"\",fn=te(Sn);return pn&&gt.includes(fn[0])&&fn.unshift(se),fn},[gt]),dn=(0,y.useCallback)(function(hn,pn){return hn.some(function(Sn){var fn=$t(Sn,!0);return fn.includes(pn)})},[$t]),Xt=function(){var pn=(0,u.Z)(st.current.keys());return gt.length&&pn.push(se),pn},en=(0,y.useCallback)(function(hn){var pn=\"\".concat(st.current.get(hn)).concat(le),Sn=new Set;return(0,u.Z)(Qe.current.keys()).forEach(function(fn){fn.startsWith(pn)&&Sn.add(Qe.current.get(fn))}),Sn},[]);return y.useEffect(function(){return function(){Pt.current=!0}},[]),{registerPath:Bt,unregisterPath:Kt,refreshOverflowKeys:Yt,isSubPathKey:dn,getKeyPath:$t,getKeys:Xt,getSubPathKeys:en}}function ee(tt){var Ze=y.useRef(tt);Ze.current=tt;var nt=y.useCallback(function(){for(var st,Qe=arguments.length,ct=new Array(Qe),lt=0;lt<Qe;lt++)ct[lt]=arguments[lt];return(st=Ze.current)===null||st===void 0?void 0:st.call.apply(st,[Ze].concat(ct))},[]);return tt?nt:void 0}var Se=Math.random().toFixed(5).toString().slice(2),Q=0;function Z(tt){var Ze=(0,h.Z)(tt,{value:tt}),nt=(0,l.Z)(Ze,2),st=nt[0],Qe=nt[1];return y.useEffect(function(){Q+=1;var ct=\"\".concat(Se,\"-\").concat(Q);Qe(\"rc-menu-uuid-\".concat(ct))},[]),st}var Y=e(40936),ue=e(49962),he=e(39027),me=e(76614),Oe=e(97318);function We(tt,Ze,nt,st){var Qe=y.useContext(U),ct=Qe.activeKey,lt=Qe.onActive,gt=Qe.onInactive,mt={active:ct===tt};return Ze||(mt.onMouseEnter=function(Et){nt==null||nt({key:tt,domEvent:Et}),lt(tt)},mt.onMouseLeave=function(Et){st==null||st({key:tt,domEvent:Et}),gt(tt)}),mt}var ke=[\"item\"];function It(tt){var Ze=tt.item,nt=(0,d.Z)(tt,ke);return Object.defineProperty(nt,\"item\",{get:function(){return(0,g.ZP)(!1,\"`info.item` is deprecated since we will move to function component that not provides React Node instance in future.\"),Ze}}),nt}function ft(tt){var Ze=tt.icon,nt=tt.props,st=tt.children,Qe;return typeof Ze==\"function\"?Qe=y.createElement(Ze,(0,r.Z)({},nt)):Qe=Ze,Qe||st||null}function nn(tt){var Ze=y.useContext(U),nt=Ze.mode,st=Ze.rtl,Qe=Ze.inlineIndent;if(nt!==\"inline\")return null;var ct=tt;return st?{paddingRight:ct*Qe}:{paddingLeft:ct*Qe}}var b=[\"title\",\"attribute\",\"elementRef\"],W=[\"style\",\"className\",\"eventKey\",\"warnKey\",\"disabled\",\"itemIcon\",\"children\",\"role\",\"onMouseEnter\",\"onMouseLeave\",\"onClick\",\"onKeyDown\",\"onFocus\"],de=[\"active\"],ye=function(tt){(0,he.Z)(nt,tt);var Ze=(0,me.Z)(nt);function nt(){return(0,Y.Z)(this,nt),Ze.apply(this,arguments)}return(0,ue.Z)(nt,[{key:\"render\",value:function(){var Qe=this.props,ct=Qe.title,lt=Qe.attribute,gt=Qe.elementRef,mt=(0,d.Z)(Qe,b),Et=(0,Oe.Z)(mt,[\"eventKey\"]);return(0,g.ZP)(!lt,\"`attribute` of Menu.Item is deprecated. Please pass attribute directly.\"),y.createElement(p.Z.Item,(0,a.Z)({},lt,{title:typeof ct==\"string\"?ct:void 0},Et,{ref:gt}))}}]),nt}(y.Component),He=function(Ze){var nt,st=Ze.style,Qe=Ze.className,ct=Ze.eventKey,lt=Ze.warnKey,gt=Ze.disabled,mt=Ze.itemIcon,Et=Ze.children,Pt=Ze.role,Mt=Ze.onMouseEnter,Bt=Ze.onMouseLeave,Kt=Ze.onClick,Yt=Ze.onKeyDown,$t=Ze.onFocus,dn=(0,d.Z)(Ze,W),Xt=M(ct),en=y.useContext(U),hn=en.prefixCls,pn=en.onItemClick,Sn=en.disabled,fn=en.overflowDisabled,Zt=en.itemIcon,ar=en.selectedKeys,An=en.onActive,sn=y.useContext(ae),Rn=sn._internalRenderMenuItem,Nn=\"\".concat(hn,\"-item\"),Bn=y.useRef(),Vn=y.useRef(),Fn=Sn||gt,H=oe(ct),ie=function(ze){return{key:ct,keyPath:(0,u.Z)(H).reverse(),item:Bn.current,domEvent:ze}},re=mt||Zt,xe=We(ct,Fn,Mt,Bt),Ke=xe.active,Ue=(0,d.Z)(xe,de),J=ar.includes(ct),w=nn(H.length),P=function(ze){if(!Fn){var ut=ie(ze);Kt==null||Kt(It(ut)),pn(ut)}},D=function(ze){if(Yt==null||Yt(ze),ze.which===z.Z.ENTER){var ut=ie(ze);Kt==null||Kt(It(ut)),pn(ut)}},ne=function(ze){An(ct),$t==null||$t(ze)},be={};Ze.role===\"option\"&&(be[\"aria-selected\"]=J);var Le=y.createElement(ye,(0,a.Z)({ref:Bn,elementRef:Vn,role:Pt===null?\"none\":Pt||\"menuitem\",tabIndex:gt?null:-1,\"data-menu-id\":fn&&Xt?null:Xt},dn,Ue,be,{component:\"li\",\"aria-disabled\":gt,style:(0,r.Z)((0,r.Z)({},w),st),className:v()(Nn,(nt={},(0,o.Z)(nt,\"\".concat(Nn,\"-active\"),Ke),(0,o.Z)(nt,\"\".concat(Nn,\"-selected\"),J),(0,o.Z)(nt,\"\".concat(Nn,\"-disabled\"),Fn),nt),Qe),onClick:P,onKeyDown:D,onFocus:ne}),Et,y.createElement(ft,{props:(0,r.Z)((0,r.Z)({},Ze),{},{isSelected:J}),icon:re}));return Rn&&(Le=Rn(Le,Ze,{selected:J})),Le};function rt(tt){var Ze=tt.eventKey,nt=q(),st=oe(Ze);return y.useEffect(function(){if(nt)return nt.registerPath(Ze,st),function(){nt.unregisterPath(Ze,st)}},[st]),nt?null:y.createElement(He,tt)}var $e=rt,pt=[\"className\",\"children\"],Ot=function(Ze,nt){var st=Ze.className,Qe=Ze.children,ct=(0,d.Z)(Ze,pt),lt=y.useContext(U),gt=lt.prefixCls,mt=lt.mode,Et=lt.rtl;return y.createElement(\"ul\",(0,a.Z)({className:v()(gt,Et&&\"\".concat(gt,\"-rtl\"),\"\".concat(gt,\"-sub\"),\"\".concat(gt,\"-\").concat(mt===\"inline\"?\"inline\":\"vertical\"),st),role:\"menu\"},ct,{\"data-menu-list\":!0,ref:nt}),Qe)},at=y.forwardRef(Ot);at.displayName=\"SubMenuList\";var wt=at,vt=e(26143),jt=e(16030),At=[\"label\",\"children\",\"key\",\"type\"];function qt(tt,Ze){return(0,jt.Z)(tt).map(function(nt,st){if(y.isValidElement(nt)){var Qe,ct,lt=nt.key,gt=(Qe=(ct=nt.props)===null||ct===void 0?void 0:ct.eventKey)!==null&&Qe!==void 0?Qe:lt,mt=gt==null;mt&&(gt=\"tmp_key-\".concat([].concat((0,u.Z)(Ze),[st]).join(\"-\")));var Et={key:gt,eventKey:gt};return y.cloneElement(nt,Et)}return nt})}function En(tt){return(tt||[]).map(function(Ze,nt){if(Ze&&(0,vt.Z)(Ze)===\"object\"){var st=Ze,Qe=st.label,ct=st.children,lt=st.key,gt=st.type,mt=(0,d.Z)(st,At),Et=lt!=null?lt:\"tmp-\".concat(nt);return ct||gt===\"group\"?gt===\"group\"?y.createElement(an,(0,a.Z)({key:Et},mt,{title:Qe}),En(ct)):y.createElement(Re,(0,a.Z)({key:Et},mt,{title:Qe}),En(ct)):gt===\"divider\"?y.createElement(Wt,(0,a.Z)({key:Et},mt)):y.createElement($e,(0,a.Z)({key:Et},mt),Qe)}return null}).filter(function(Ze){return Ze})}function Ft(tt,Ze,nt){var st=tt;return Ze&&(st=En(Ze)),qt(st,nt)}var _n=e(62855),xn={adjustX:1,adjustY:1},Zn={topLeft:{points:[\"bl\",\"tl\"],overflow:xn,offset:[0,-7]},bottomLeft:{points:[\"tl\",\"bl\"],overflow:xn,offset:[0,7]},leftTop:{points:[\"tr\",\"tl\"],overflow:xn,offset:[-4,0]},rightTop:{points:[\"tl\",\"tr\"],overflow:xn,offset:[4,0]}},Wn={topLeft:{points:[\"bl\",\"tl\"],overflow:xn,offset:[0,-7]},bottomLeft:{points:[\"tl\",\"bl\"],overflow:xn,offset:[0,7]},rightTop:{points:[\"tr\",\"tl\"],overflow:xn,offset:[-4,0]},leftTop:{points:[\"tl\",\"tr\"],overflow:xn,offset:[4,0]}},Jn=null;function Un(tt,Ze,nt){if(Ze)return Ze;if(nt)return nt[tt]||nt.other}var qn={horizontal:\"bottomLeft\",vertical:\"rightTop\",\"vertical-left\":\"rightTop\",\"vertical-right\":\"leftTop\"};function cr(tt){var Ze=tt.prefixCls,nt=tt.visible,st=tt.children,Qe=tt.popup,ct=tt.popupClassName,lt=tt.popupOffset,gt=tt.disabled,mt=tt.mode,Et=tt.onVisibleChange,Pt=y.useContext(U),Mt=Pt.getPopupContainer,Bt=Pt.rtl,Kt=Pt.subMenuOpenDelay,Yt=Pt.subMenuCloseDelay,$t=Pt.builtinPlacements,dn=Pt.triggerSubMenuAction,Xt=Pt.forceSubMenuRender,en=Pt.rootClassName,hn=Pt.motion,pn=Pt.defaultMotions,Sn=y.useState(!1),fn=(0,l.Z)(Sn,2),Zt=fn[0],ar=fn[1],An=Bt?(0,r.Z)((0,r.Z)({},Wn),$t):(0,r.Z)((0,r.Z)({},Zn),$t),sn=qn[mt],Rn=Un(mt,hn,pn),Nn=y.useRef(Rn);mt!==\"inline\"&&(Nn.current=Rn);var Bn=(0,r.Z)((0,r.Z)({},Nn.current),{},{leavedClassName:\"\".concat(Ze,\"-hidden\"),removeOnLeave:!1,motionAppear:!0}),Vn=y.useRef();return y.useEffect(function(){return Vn.current=(0,A.Z)(function(){ar(nt)}),function(){A.Z.cancel(Vn.current)}},[nt]),y.createElement(_n.Z,{prefixCls:Ze,popupClassName:v()(\"\".concat(Ze,\"-popup\"),(0,o.Z)({},\"\".concat(Ze,\"-rtl\"),Bt),ct,en),stretch:mt===\"horizontal\"?\"minWidth\":null,getPopupContainer:Mt,builtinPlacements:An,popupPlacement:sn,popupVisible:Zt,popup:Qe,popupAlign:lt&&{offset:lt},action:gt?[]:[dn],mouseEnterDelay:Kt,mouseLeaveDelay:Yt,onPopupVisibleChange:Et,forceRender:Xt,popupMotion:Bn},st)}var pr=e(81676);function vr(tt){var Ze=tt.id,nt=tt.open,st=tt.keyPath,Qe=tt.children,ct=\"inline\",lt=y.useContext(U),gt=lt.prefixCls,mt=lt.forceSubMenuRender,Et=lt.motion,Pt=lt.defaultMotions,Mt=lt.mode,Bt=y.useRef(!1);Bt.current=Mt===ct;var Kt=y.useState(!Bt.current),Yt=(0,l.Z)(Kt,2),$t=Yt[0],dn=Yt[1],Xt=Bt.current?nt:!1;y.useEffect(function(){Bt.current&&dn(!1)},[Mt]);var en=(0,r.Z)({},Un(ct,Et,Pt));st.length>1&&(en.motionAppear=!1);var hn=en.onVisibleChanged;return en.onVisibleChanged=function(pn){return!Bt.current&&!pn&&dn(!0),hn==null?void 0:hn(pn)},$t?null:y.createElement(F,{mode:ct,locked:!Bt.current},y.createElement(pr.Z,(0,a.Z)({visible:Xt},en,{forceRender:mt,removeOnLeave:!1,leavedClassName:\"\".concat(gt,\"-hidden\")}),function(pn){var Sn=pn.className,fn=pn.style;return y.createElement(wt,{id:Ze,className:Sn,style:fn},Qe)}))}var Dn=[\"style\",\"className\",\"title\",\"eventKey\",\"warnKey\",\"disabled\",\"internalPopupClose\",\"children\",\"itemIcon\",\"expandIcon\",\"popupClassName\",\"popupOffset\",\"onClick\",\"onMouseEnter\",\"onMouseLeave\",\"onTitleClick\",\"onTitleMouseEnter\",\"onTitleMouseLeave\"],br=[\"active\"],zn=function(Ze){var nt,st=Ze.style,Qe=Ze.className,ct=Ze.title,lt=Ze.eventKey,gt=Ze.warnKey,mt=Ze.disabled,Et=Ze.internalPopupClose,Pt=Ze.children,Mt=Ze.itemIcon,Bt=Ze.expandIcon,Kt=Ze.popupClassName,Yt=Ze.popupOffset,$t=Ze.onClick,dn=Ze.onMouseEnter,Xt=Ze.onMouseLeave,en=Ze.onTitleClick,hn=Ze.onTitleMouseEnter,pn=Ze.onTitleMouseLeave,Sn=(0,d.Z)(Ze,Dn),fn=M(lt),Zt=y.useContext(U),ar=Zt.prefixCls,An=Zt.mode,sn=Zt.openKeys,Rn=Zt.disabled,Nn=Zt.overflowDisabled,Bn=Zt.activeKey,Vn=Zt.selectedKeys,Fn=Zt.itemIcon,H=Zt.expandIcon,ie=Zt.onItemClick,re=Zt.onOpenChange,xe=Zt.onActive,Ke=y.useContext(ae),Ue=Ke._internalRenderSubMenuItem,J=y.useContext(Ee),w=J.isSubPathKey,P=oe(),D=\"\".concat(ar,\"-submenu\"),ne=Rn||mt,be=y.useRef(),Le=y.useRef(),je=Mt||Fn,ze=Bt||H,ut=sn.includes(lt),dt=!Nn&&ut,Ct=w(Vn,lt),Rt=We(lt,ne,hn,pn),kt=Rt.active,Ut=(0,d.Z)(Rt,br),Qt=y.useState(!1),cn=(0,l.Z)(Qt,2),wn=cn[0],gn=cn[1],Kn=function(Tr){ne||gn(Tr)},Pn=function(Tr){Kn(!0),dn==null||dn({key:lt,domEvent:Tr})},Ln=function(Tr){Kn(!1),Xt==null||Xt({key:lt,domEvent:Tr})},er=y.useMemo(function(){return kt||(An!==\"inline\"?wn||w([Bn],lt):!1)},[An,kt,Bn,wn,lt,w]),or=nn(P.length),Ar=function(Tr){ne||(en==null||en({key:lt,domEvent:Tr}),An===\"inline\"&&re(lt,!ut))},Xn=ee(function(hr){$t==null||$t(It(hr)),ie(hr)}),Yn=function(Tr){An!==\"inline\"&&re(lt,Tr)},Er=function(){xe(lt)},Hn=fn&&\"\".concat(fn,\"-popup\"),Ir=y.createElement(\"div\",(0,a.Z)({role:\"menuitem\",style:or,className:\"\".concat(D,\"-title\"),tabIndex:ne?null:-1,ref:be,title:typeof ct==\"string\"?ct:null,\"data-menu-id\":Nn&&fn?null:fn,\"aria-expanded\":dt,\"aria-haspopup\":!0,\"aria-controls\":Hn,\"aria-disabled\":ne,onClick:Ar,onFocus:Er},Ut),ct,y.createElement(ft,{icon:An!==\"horizontal\"?ze:null,props:(0,r.Z)((0,r.Z)({},Ze),{},{isOpen:dt,isSubMenu:!0})},y.createElement(\"i\",{className:\"\".concat(D,\"-arrow\")}))),kr=y.useRef(An);if(An!==\"inline\"&&P.length>1?kr.current=\"vertical\":kr.current=An,!Nn){var fr=kr.current;Ir=y.createElement(cr,{mode:fr,prefixCls:D,visible:!Et&&dt&&An!==\"inline\",popupClassName:Kt,popupOffset:Yt,popup:y.createElement(F,{mode:fr===\"horizontal\"?\"vertical\":fr},y.createElement(wt,{id:Hn,ref:Le},Pt)),disabled:ne,onVisibleChange:Yn},Ir)}var Rr=y.createElement(p.Z.Item,(0,a.Z)({role:\"none\"},Sn,{component:\"li\",style:st,className:v()(D,\"\".concat(D,\"-\").concat(An),Qe,(nt={},(0,o.Z)(nt,\"\".concat(D,\"-open\"),dt),(0,o.Z)(nt,\"\".concat(D,\"-active\"),er),(0,o.Z)(nt,\"\".concat(D,\"-selected\"),Ct),(0,o.Z)(nt,\"\".concat(D,\"-disabled\"),ne),nt)),onMouseEnter:Pn,onMouseLeave:Ln}),Ir,!Nn&&y.createElement(vr,{id:Hn,open:dt,keyPath:P},Pt));return Ue&&(Rr=Ue(Rr,Ze,{selected:Ct,active:er,open:dt,disabled:ne})),y.createElement(F,{onItemClick:Xn,mode:An===\"horizontal\"?\"vertical\":An,itemIcon:je,expandIcon:ze},Rr)};function Re(tt){var Ze=tt.eventKey,nt=tt.children,st=oe(Ze),Qe=qt(nt,st),ct=q();y.useEffect(function(){if(ct)return ct.registerPath(Ze,st),function(){ct.unregisterPath(Ze,st)}},[st]);var lt;return ct?lt=Qe:lt=y.createElement(zn,tt,Qe),y.createElement(X.Provider,{value:st},lt)}var Ge=[\"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\"],ot=[],Dt=y.forwardRef(function(tt,Ze){var nt,st,Qe=tt,ct=Qe.prefixCls,lt=ct===void 0?\"rc-menu\":ct,gt=Qe.rootClassName,mt=Qe.style,Et=Qe.className,Pt=Qe.tabIndex,Mt=Pt===void 0?0:Pt,Bt=Qe.items,Kt=Qe.children,Yt=Qe.direction,$t=Qe.id,dn=Qe.mode,Xt=dn===void 0?\"vertical\":dn,en=Qe.inlineCollapsed,hn=Qe.disabled,pn=Qe.disabledOverflow,Sn=Qe.subMenuOpenDelay,fn=Sn===void 0?.1:Sn,Zt=Qe.subMenuCloseDelay,ar=Zt===void 0?.1:Zt,An=Qe.forceSubMenuRender,sn=Qe.defaultOpenKeys,Rn=Qe.openKeys,Nn=Qe.activeKey,Bn=Qe.defaultActiveFirst,Vn=Qe.selectable,Fn=Vn===void 0?!0:Vn,H=Qe.multiple,ie=H===void 0?!1:H,re=Qe.defaultSelectedKeys,xe=Qe.selectedKeys,Ke=Qe.onSelect,Ue=Qe.onDeselect,J=Qe.inlineIndent,w=J===void 0?24:J,P=Qe.motion,D=Qe.defaultMotions,ne=Qe.triggerSubMenuAction,be=ne===void 0?\"hover\":ne,Le=Qe.builtinPlacements,je=Qe.itemIcon,ze=Qe.expandIcon,ut=Qe.overflowedIndicator,dt=ut===void 0?\"...\":ut,Ct=Qe.overflowedIndicatorPopupClassName,Rt=Qe.getPopupContainer,kt=Qe.onClick,Ut=Qe.onOpenChange,Qt=Qe.onKeyDown,cn=Qe.openAnimation,wn=Qe.openTransitionName,gn=Qe._internalRenderMenuItem,Kn=Qe._internalRenderSubMenuItem,Pn=(0,d.Z)(Qe,Ge),Ln=y.useMemo(function(){return Ft(Kt,Bt,ot)},[Kt,Bt]),er=y.useState(!1),or=(0,l.Z)(er,2),Ar=or[0],Xn=or[1],Yn=y.useRef(),Er=Z($t),Hn=Yt===\"rtl\",Ir=(0,h.Z)(sn,{value:Rn,postState:function(jn){return jn||ot}}),kr=(0,l.Z)(Ir,2),fr=kr[0],Rr=kr[1],hr=function(jn){var nr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function jr(){Rr(jn),Ut==null||Ut(jn)}nr?(0,S.flushSync)(jr):jr()},Tr=y.useState(fr),La=(0,l.Z)(Tr,2),za=La[0],Ha=La[1],Gr=y.useRef(!1),$a=y.useMemo(function(){return(Xt===\"inline\"||Xt===\"vertical\")&&en?[\"vertical\",en]:[Xt,!1]},[Xt,en]),Vr=(0,l.Z)($a,2),pa=Vr[0],ya=Vr[1],ir=pa===\"inline\",Pr=y.useState(pa),Yr=(0,l.Z)(Pr,2),xr=Yr[0],Oa=Yr[1],na=y.useState(ya),Cn=(0,l.Z)(na,2),xt=Cn[0],ur=Cn[1];y.useEffect(function(){Oa(pa),ur(ya),Gr.current&&(ir?Rr(za):hr(ot))},[pa,ya]);var tr=y.useState(0),Fr=(0,l.Z)(tr,2),_r=Fr[0],To=Fr[1],ro=_r>=Ln.length-1||xr!==\"horizontal\"||pn;y.useEffect(function(){ir&&Ha(fr)},[fr]),y.useEffect(function(){return Gr.current=!0,function(){Gr.current=!1}},[]);var Aa=pe(),xo=Aa.registerPath,Wo=Aa.unregisterPath,Ti=Aa.refreshOverflowKeys,ao=Aa.isSubPathKey,Za=Aa.getKeyPath,xi=Aa.getKeys,oo=Aa.getSubPathKeys,wi=y.useMemo(function(){return{registerPath:xo,unregisterPath:Wo}},[xo,Wo]),Go=y.useMemo(function(){return{isSubPathKey:ao}},[ao]);y.useEffect(function(){Ti(ro?ot:Ln.slice(_r+1).map(function(lr){return lr.key}))},[_r,ro]);var Vo=(0,h.Z)(Nn||Bn&&((nt=Ln[0])===null||nt===void 0?void 0:nt.key),{value:Nn}),wo=(0,l.Z)(Vo,2),la=wo[0],Co=wo[1],Ci=ee(function(lr){Co(lr)}),Oo=ee(function(){Co(void 0)});(0,y.useImperativeHandle)(Ze,function(){return{list:Yn.current,focus:function(jn){var nr,jr=la!=null?la:(nr=Ln.find(function(Mo){return!Mo.props.disabled}))===null||nr===void 0?void 0:nr.key;if(jr){var In,wr,Qr;(In=Yn.current)===null||In===void 0||(wr=In.querySelector(\"li[data-menu-id='\".concat(_(Er,jr),\"']\")))===null||wr===void 0||(Qr=wr.focus)===null||Qr===void 0||Qr.call(wr,jn)}}}});var Yo=(0,h.Z)(re||[],{value:xe,postState:function(jn){return Array.isArray(jn)?jn:jn==null?ot:[jn]}}),Ao=(0,l.Z)(Yo,2),ga=Ao[0],Wa=Ao[1],ka=function(jn){if(Fn){var nr=jn.key,jr=ga.includes(nr),In;ie?jr?In=ga.filter(function(Qr){return Qr!==nr}):In=[].concat((0,u.Z)(ga),[nr]):In=[nr],Wa(In);var wr=(0,r.Z)((0,r.Z)({},jn),{},{selectedKeys:In});jr?Ue==null||Ue(wr):Ke==null||Ke(wr)}!ie&&fr.length&&xr!==\"inline\"&&hr(ot)},io=ee(function(lr){kt==null||kt(It(lr)),ka(lr)}),Qo=ee(function(lr,jn){var nr=fr.filter(function(In){return In!==lr});if(jn)nr.push(lr);else if(xr!==\"inline\"){var jr=oo(lr);nr=nr.filter(function(In){return!jr.has(In)})}(0,I.Z)(fr,nr,!0)||hr(nr,!0)}),Xo=ee(Rt),Ro=function(jn,nr){var jr=nr!=null?nr:!fr.includes(jn);Qo(jn,jr)},Po=we(xr,la,Hn,Er,Yn,xi,Za,Co,Ro,Qt);y.useEffect(function(){Xn(!0)},[]);var uo=y.useMemo(function(){return{_internalRenderMenuItem:gn,_internalRenderSubMenuItem:Kn}},[gn,Kn]),Dr=xr!==\"horizontal\"||pn?Ln:Ln.map(function(lr,jn){return y.createElement(F,{key:lr.key,overflowDisabled:jn>_r},lr)}),$n=y.createElement(p.Z,(0,a.Z)({id:$t,ref:Yn,prefixCls:\"\".concat(lt,\"-overflow\"),component:\"ul\",itemComponent:$e,className:v()(lt,\"\".concat(lt,\"-root\"),\"\".concat(lt,\"-\").concat(xr),Et,(st={},(0,o.Z)(st,\"\".concat(lt,\"-inline-collapsed\"),xt),(0,o.Z)(st,\"\".concat(lt,\"-rtl\"),Hn),st),gt),dir:Yt,style:mt,role:\"menu\",tabIndex:Mt,data:Dr,renderRawItem:function(jn){return jn},renderRawRest:function(jn){var nr=jn.length,jr=nr?Ln.slice(-nr):null;return y.createElement(Re,{eventKey:se,title:dt,disabled:ro,internalPopupClose:nr===0,popupClassName:Ct},jr)},maxCount:xr!==\"horizontal\"||pn?p.Z.INVALIDATE:p.Z.RESPONSIVE,ssr:\"full\",\"data-menu-list\":!0,onVisibleChange:function(jn){To(jn)},onKeyDown:Po},Pn));return y.createElement(ae.Provider,{value:uo},y.createElement(N.Provider,{value:Er},y.createElement(F,{prefixCls:lt,rootClassName:gt,mode:xr,openKeys:fr,rtl:Hn,disabled:hn,motion:Ar?P:null,defaultMotions:Ar?D:null,activeKey:la,onActive:Ci,onInactive:Oo,selectedKeys:ga,inlineIndent:w,subMenuOpenDelay:fn,subMenuCloseDelay:ar,forceSubMenuRender:An,builtinPlacements:Le,triggerSubMenuAction:be,getPopupContainer:Xo,itemIcon:je,expandIcon:ze,onItemClick:io,onOpenChange:Qo},y.createElement(Ee.Provider,{value:Go},$n),y.createElement(\"div\",{style:{display:\"none\"},\"aria-hidden\":!0},y.createElement(G.Provider,{value:wi},Ln)))))}),Nt=Dt,Lt=[\"className\",\"title\",\"eventKey\",\"children\"],Ht=[\"children\"],Vt=function(Ze){var nt=Ze.className,st=Ze.title,Qe=Ze.eventKey,ct=Ze.children,lt=(0,d.Z)(Ze,Lt),gt=y.useContext(U),mt=gt.prefixCls,Et=\"\".concat(mt,\"-item-group\");return y.createElement(\"li\",(0,a.Z)({role:\"presentation\"},lt,{onClick:function(Mt){return Mt.stopPropagation()},className:v()(Et,nt)}),y.createElement(\"div\",{role:\"presentation\",className:\"\".concat(Et,\"-title\"),title:typeof st==\"string\"?st:void 0},st),y.createElement(\"ul\",{role:\"group\",className:\"\".concat(Et,\"-list\")},ct))};function an(tt){var Ze=tt.children,nt=(0,d.Z)(tt,Ht),st=oe(nt.eventKey),Qe=qt(Ze,st),ct=q();return ct?Qe:y.createElement(Vt,(0,Oe.Z)(nt,[\"warnKey\"]),Qe)}function Wt(tt){var Ze=tt.className,nt=tt.style,st=y.useContext(U),Qe=st.prefixCls,ct=q();return ct?null:y.createElement(\"li\",{className:v()(\"\".concat(Qe,\"-item-divider\"),Ze),style:nt})}var bn=Nt;bn.Item=$e,bn.SubMenu=Re,bn.ItemGroup=an,bn.Divider=Wt;var ln=bn},81676:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return nn}});var a=e(24572),o=e(75782),r=e(91600),u=e(26143),l=e(50959),d=e(90899),f=e(64111),v=e(84875),p=e.n(v),h=e(61237);function g(b,W){var de={};return de[b.toLowerCase()]=W.toLowerCase(),de[\"Webkit\".concat(b)]=\"webkit\".concat(W),de[\"Moz\".concat(b)]=\"moz\".concat(W),de[\"ms\".concat(b)]=\"MS\".concat(W),de[\"O\".concat(b)]=\"o\".concat(W.toLowerCase()),de}function y(b,W){var de={animationend:g(\"Animation\",\"AnimationEnd\"),transitionend:g(\"Transition\",\"TransitionEnd\")};return b&&(\"AnimationEvent\"in W||delete de.animationend.animation,\"TransitionEvent\"in W||delete de.transitionend.transition),de}var S=y((0,h.Z)(),typeof window!=\"undefined\"?window:{}),I={};if((0,h.Z)()){var N=document.createElement(\"div\");I=N.style}var _={};function M(b){if(_[b])return _[b];var W=S[b];if(W)for(var de=Object.keys(W),ye=de.length,He=0;He<ye;He+=1){var rt=de[He];if(Object.prototype.hasOwnProperty.call(W,rt)&&rt in I)return _[b]=W[rt],_[b]}return\"\"}var L=M(\"animationend\"),k=M(\"transitionend\"),U=!!(L&&k),x=L||\"animationend\",F=k||\"transitionend\";function K(b,W){if(!b)return null;if((0,u.Z)(b)===\"object\"){var de=W.replace(/-\\w/g,function(ye){return ye[1].toUpperCase()});return b[de]}return\"\".concat(b,\"-\").concat(W)}var G=\"none\",q=\"appear\",X=\"enter\",oe=\"leave\",Ee=\"none\",Te=\"prepare\",ae=\"start\",z=\"active\",A=\"end\",T=e(13043),R=e(40086),j=function(){var b=l.useRef(null);function W(){R.Z.cancel(b.current)}function de(ye){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;W();var rt=(0,R.Z)(function(){He<=1?ye({isCanceled:function(){return rt!==b.current}}):de(ye,He-1)});b.current=rt}return l.useEffect(function(){return function(){W()}},[]),[de,W]},C=(0,h.Z)()?l.useLayoutEffect:l.useEffect,B=C,fe=[Te,ae,z,A],Ae=!1,ge=!0;function ce(b){return b===z||b===A}var Me=function(b,W){var de=(0,T.Z)(Ee),ye=(0,r.Z)(de,2),He=ye[0],rt=ye[1],$e=j(),pt=(0,r.Z)($e,2),Ot=pt[0],at=pt[1];function wt(){rt(Te,!0)}return B(function(){if(He!==Ee&&He!==A){var vt=fe.indexOf(He),jt=fe[vt+1],At=W(He);At===Ae?rt(jt,!0):Ot(function(qt){function En(){qt.isCanceled()||rt(jt,!0)}At===!0?En():Promise.resolve(At).then(En)})}},[b,He]),l.useEffect(function(){return function(){at()}},[]),[wt,He]},_e=function(b){var W=(0,l.useRef)(),de=(0,l.useRef)(b);de.current=b;var ye=l.useCallback(function($e){de.current($e)},[]);function He($e){$e&&($e.removeEventListener(F,ye),$e.removeEventListener(x,ye))}function rt($e){W.current&&W.current!==$e&&He(W.current),$e&&$e!==W.current&&($e.addEventListener(F,ye),$e.addEventListener(x,ye),W.current=$e)}return l.useEffect(function(){return function(){He(W.current)}},[]),[rt,He]};function De(b,W,de,ye){var He=ye.motionEnter,rt=He===void 0?!0:He,$e=ye.motionAppear,pt=$e===void 0?!0:$e,Ot=ye.motionLeave,at=Ot===void 0?!0:Ot,wt=ye.motionDeadline,vt=ye.motionLeaveImmediately,jt=ye.onAppearPrepare,At=ye.onEnterPrepare,qt=ye.onLeavePrepare,En=ye.onAppearStart,Ft=ye.onEnterStart,_n=ye.onLeaveStart,xn=ye.onAppearActive,Zn=ye.onEnterActive,Wn=ye.onLeaveActive,Jn=ye.onAppearEnd,Un=ye.onEnterEnd,qn=ye.onLeaveEnd,cr=ye.onVisibleChanged,pr=(0,T.Z)(),vr=(0,r.Z)(pr,2),Dn=vr[0],br=vr[1],zn=(0,T.Z)(G),Re=(0,r.Z)(zn,2),Ge=Re[0],ot=Re[1],Dt=(0,T.Z)(null),Nt=(0,r.Z)(Dt,2),Lt=Nt[0],Ht=Nt[1],Vt=(0,l.useRef)(!1),an=(0,l.useRef)(null);function Wt(){return de()}var bn=(0,l.useRef)(!1);function ln(Mt){var Bt=Wt();if(!(Mt&&!Mt.deadline&&Mt.target!==Bt)){var Kt=bn.current,Yt;Ge===q&&Kt?Yt=Jn==null?void 0:Jn(Bt,Mt):Ge===X&&Kt?Yt=Un==null?void 0:Un(Bt,Mt):Ge===oe&&Kt&&(Yt=qn==null?void 0:qn(Bt,Mt)),Ge!==G&&Kt&&Yt!==!1&&(ot(G,!0),Ht(null,!0))}}var tt=_e(ln),Ze=(0,r.Z)(tt,1),nt=Ze[0],st=l.useMemo(function(){var Mt,Bt,Kt;switch(Ge){case q:return Mt={},(0,a.Z)(Mt,Te,jt),(0,a.Z)(Mt,ae,En),(0,a.Z)(Mt,z,xn),Mt;case X:return Bt={},(0,a.Z)(Bt,Te,At),(0,a.Z)(Bt,ae,Ft),(0,a.Z)(Bt,z,Zn),Bt;case oe:return Kt={},(0,a.Z)(Kt,Te,qt),(0,a.Z)(Kt,ae,_n),(0,a.Z)(Kt,z,Wn),Kt;default:return{}}},[Ge]),Qe=Me(Ge,function(Mt){if(Mt===Te){var Bt=st[Te];return Bt?Bt(Wt()):Ae}if(gt in st){var Kt;Ht(((Kt=st[gt])===null||Kt===void 0?void 0:Kt.call(st,Wt(),null))||null)}return gt===z&&(nt(Wt()),wt>0&&(clearTimeout(an.current),an.current=setTimeout(function(){ln({deadline:!0})},wt))),ge}),ct=(0,r.Z)(Qe,2),lt=ct[0],gt=ct[1],mt=ce(gt);bn.current=mt,B(function(){br(W);var Mt=Vt.current;if(Vt.current=!0,!!b){var Bt;!Mt&&W&&pt&&(Bt=q),Mt&&W&&rt&&(Bt=X),(Mt&&!W&&at||!Mt&&vt&&!W&&at)&&(Bt=oe),Bt&&(ot(Bt),lt())}},[W]),(0,l.useEffect)(function(){(Ge===q&&!pt||Ge===X&&!rt||Ge===oe&&!at)&&ot(G)},[pt,rt,at]),(0,l.useEffect)(function(){return function(){Vt.current=!1,clearTimeout(an.current)}},[]);var Et=l.useRef(!1);(0,l.useEffect)(function(){Dn&&(Et.current=!0),Dn!==void 0&&Ge===G&&((Et.current||Dn)&&(cr==null||cr(Dn)),Et.current=!0)},[Dn,Ge]);var Pt=Lt;return st[Te]&&gt===ae&&(Pt=(0,o.Z)({transition:\"none\"},Pt)),[Ge,gt,Pt,Dn!=null?Dn:W]}var Ce=e(40936),it=e(49962),V=e(39027),we=e(76614),Ie=function(b){(0,V.Z)(de,b);var W=(0,we.Z)(de);function de(){return(0,Ce.Z)(this,de),W.apply(this,arguments)}return(0,it.Z)(de,[{key:\"render\",value:function(){return this.props.children}}]),de}(l.Component),le=Ie;function Ne(b){var W=b;(0,u.Z)(b)===\"object\"&&(W=b.transitionSupport);function de(He){return!!(He.motionName&&W)}var ye=l.forwardRef(function(He,rt){var $e=He.visible,pt=$e===void 0?!0:$e,Ot=He.removeOnLeave,at=Ot===void 0?!0:Ot,wt=He.forceRender,vt=He.children,jt=He.motionName,At=He.leavedClassName,qt=He.eventProps,En=de(He),Ft=(0,l.useRef)(),_n=(0,l.useRef)();function xn(){try{return Ft.current instanceof HTMLElement?Ft.current:(0,d.Z)(_n.current)}catch(Dt){return null}}var Zn=De(En,pt,xn,He),Wn=(0,r.Z)(Zn,4),Jn=Wn[0],Un=Wn[1],qn=Wn[2],cr=Wn[3],pr=l.useRef(cr);cr&&(pr.current=!0);var vr=l.useCallback(function(Dt){Ft.current=Dt,(0,f.mH)(rt,Dt)},[rt]),Dn,br=(0,o.Z)((0,o.Z)({},qt),{},{visible:pt});if(!vt)Dn=null;else if(Jn===G||!de(He))cr?Dn=vt((0,o.Z)({},br),vr):!at&&pr.current&&At?Dn=vt((0,o.Z)((0,o.Z)({},br),{},{className:At}),vr):wt||!at&&!At?Dn=vt((0,o.Z)((0,o.Z)({},br),{},{style:{display:\"none\"}}),vr):Dn=null;else{var zn,Re;Un===Te?Re=\"prepare\":ce(Un)?Re=\"active\":Un===ae&&(Re=\"start\"),Dn=vt((0,o.Z)((0,o.Z)({},br),{},{className:p()(K(jt,Jn),(zn={},(0,a.Z)(zn,K(jt,\"\".concat(Jn,\"-\").concat(Re)),Re),(0,a.Z)(zn,jt,typeof jt==\"string\"),zn)),style:qn}),vr)}if(l.isValidElement(Dn)&&(0,f.Yr)(Dn)){var Ge=Dn,ot=Ge.ref;ot||(Dn=l.cloneElement(Dn,{ref:vr}))}return l.createElement(le,{ref:_n},Dn)});return ye.displayName=\"CSSMotion\",ye}var te=Ne(U),se=e(51163),pe=e(58733),ee=e(60790),Se=\"add\",Q=\"keep\",Z=\"remove\",Y=\"removed\";function ue(b){var W;return b&&(0,u.Z)(b)===\"object\"&&\"key\"in b?W=b:W={key:b},(0,o.Z)((0,o.Z)({},W),{},{key:String(W.key)})}function he(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return b.map(ue)}function me(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],de=[],ye=0,He=W.length,rt=he(b),$e=he(W);rt.forEach(function(at){for(var wt=!1,vt=ye;vt<He;vt+=1){var jt=$e[vt];if(jt.key===at.key){ye<vt&&(de=de.concat($e.slice(ye,vt).map(function(At){return(0,o.Z)((0,o.Z)({},At),{},{status:Se})})),ye=vt),de.push((0,o.Z)((0,o.Z)({},jt),{},{status:Q})),ye+=1,wt=!0;break}}wt||de.push((0,o.Z)((0,o.Z)({},at),{},{status:Z}))}),ye<He&&(de=de.concat($e.slice(ye).map(function(at){return(0,o.Z)((0,o.Z)({},at),{},{status:Se})})));var pt={};de.forEach(function(at){var wt=at.key;pt[wt]=(pt[wt]||0)+1});var Ot=Object.keys(pt).filter(function(at){return pt[at]>1});return Ot.forEach(function(at){de=de.filter(function(wt){var vt=wt.key,jt=wt.status;return vt!==at||jt!==Z}),de.forEach(function(wt){wt.key===at&&(wt.status=Q)})}),de}var Oe=[\"component\",\"children\",\"onVisibleChanged\",\"onAllRemoved\"],We=[\"status\"],ke=[\"eventProps\",\"visible\",\"children\",\"motionName\",\"motionAppear\",\"motionEnter\",\"motionLeave\",\"motionLeaveImmediately\",\"motionDeadline\",\"removeOnLeave\",\"leavedClassName\",\"onAppearStart\",\"onAppearActive\",\"onAppearEnd\",\"onEnterStart\",\"onEnterActive\",\"onEnterEnd\",\"onLeaveStart\",\"onLeaveActive\",\"onLeaveEnd\"];function It(b){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:te,de=function(ye){(0,V.Z)(rt,ye);var He=(0,we.Z)(rt);function rt(){var $e;(0,Ce.Z)(this,rt);for(var pt=arguments.length,Ot=new Array(pt),at=0;at<pt;at++)Ot[at]=arguments[at];return $e=He.call.apply(He,[this].concat(Ot)),(0,a.Z)((0,ee.Z)($e),\"state\",{keyEntities:[]}),(0,a.Z)((0,ee.Z)($e),\"removeKey\",function(wt){var vt=$e.state.keyEntities,jt=vt.map(function(At){return At.key!==wt?At:(0,o.Z)((0,o.Z)({},At),{},{status:Y})});return $e.setState({keyEntities:jt}),jt.filter(function(At){var qt=At.status;return qt!==Y}).length}),$e}return(0,it.Z)(rt,[{key:\"render\",value:function(){var pt=this,Ot=this.state.keyEntities,at=this.props,wt=at.component,vt=at.children,jt=at.onVisibleChanged,At=at.onAllRemoved,qt=(0,pe.Z)(at,Oe),En=wt||l.Fragment,Ft={};return ke.forEach(function(_n){Ft[_n]=qt[_n],delete qt[_n]}),delete qt.keys,l.createElement(En,qt,Ot.map(function(_n){var xn=_n.status,Zn=(0,pe.Z)(_n,We),Wn=xn===Se||xn===Q;return l.createElement(W,(0,se.Z)({},Ft,{key:Zn.key,visible:Wn,eventProps:Zn,onVisibleChanged:function(Un){if(jt==null||jt(Un,{key:Zn.key}),!Un){var qn=pt.removeKey(Zn.key);qn===0&&At&&At()}}}),vt)}))}}],[{key:\"getDerivedStateFromProps\",value:function(pt,Ot){var at=pt.keys,wt=Ot.keyEntities,vt=he(at),jt=me(wt,vt);return{keyEntities:jt.filter(function(At){var qt=wt.find(function(En){var Ft=En.key;return At.key===Ft});return!(qt&&qt.status===Y&&At.status===Z)})}}}]),rt}(l.Component);return(0,a.Z)(de,\"defaultProps\",{component:\"div\"}),de}var ft=It(U),nn=te},93883:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return j}});var a=e(51163),o=e(75782),r=e(91600),u=e(58733),l=e(50959),d=e(84875),f=e.n(d),v=e(60555),p=e(57770),h=[\"prefixCls\",\"invalidate\",\"item\",\"renderItem\",\"responsive\",\"responsiveDisabled\",\"registerSize\",\"itemKey\",\"className\",\"style\",\"children\",\"display\",\"order\",\"component\"],g=void 0;function y(C,B){var fe=C.prefixCls,Ae=C.invalidate,ge=C.item,ce=C.renderItem,Me=C.responsive,_e=C.responsiveDisabled,De=C.registerSize,Ce=C.itemKey,it=C.className,V=C.style,we=C.children,Ie=C.display,le=C.order,Ne=C.component,te=Ne===void 0?\"div\":Ne,se=(0,u.Z)(C,h),pe=Me&&!Ie;function ee(ue){De(Ce,ue)}l.useEffect(function(){return function(){ee(null)}},[]);var Se=ce&&ge!==g?ce(ge):we,Q;Ae||(Q={opacity:pe?0:1,height:pe?0:g,overflowY:pe?\"hidden\":g,order:Me?le:g,pointerEvents:pe?\"none\":g,position:pe?\"absolute\":g});var Z={};pe&&(Z[\"aria-hidden\"]=!0);var Y=l.createElement(te,(0,a.Z)({className:f()(!Ae&&fe,it),style:(0,o.Z)((0,o.Z)({},Q),V)},Z,se,{ref:B}),Se);return Me&&(Y=l.createElement(v.Z,{onResize:function(he){var me=he.offsetWidth;ee(me)},disabled:_e},Y)),Y}var S=l.forwardRef(y);S.displayName=\"Item\";var I=S,N=e(51761),_=e(10422),M=e(40086);function L(C){if(typeof MessageChannel==\"undefined\")(0,M.Z)(C);else{var B=new MessageChannel;B.port1.onmessage=function(){return C()},B.port2.postMessage(void 0)}}function k(){var C=l.useRef(null),B=function(Ae){C.current||(C.current=[],L(function(){(0,_.unstable_batchedUpdates)(function(){C.current.forEach(function(ge){ge()}),C.current=null})})),C.current.push(Ae)};return B}function U(C,B){var fe=l.useState(B),Ae=(0,r.Z)(fe,2),ge=Ae[0],ce=Ae[1],Me=(0,N.Z)(function(_e){C(function(){ce(_e)})});return[ge,Me]}var x=[\"component\"],F=[\"className\"],K=[\"className\"],G=function(B,fe){var Ae=l.useContext(Ee);if(!Ae){var ge=B.component,ce=ge===void 0?\"div\":ge,Me=(0,u.Z)(B,x);return l.createElement(ce,(0,a.Z)({},Me,{ref:fe}))}var _e=Ae.className,De=(0,u.Z)(Ae,F),Ce=B.className,it=(0,u.Z)(B,K);return l.createElement(Ee.Provider,{value:null},l.createElement(I,(0,a.Z)({ref:fe,className:f()(_e,Ce)},De,it)))},q=l.forwardRef(G);q.displayName=\"RawItem\";var X=q,oe=[\"prefixCls\",\"data\",\"renderItem\",\"renderRawItem\",\"itemKey\",\"itemWidth\",\"ssr\",\"style\",\"className\",\"maxCount\",\"renderRest\",\"renderRawRest\",\"suffix\",\"component\",\"itemComponent\",\"onVisibleChange\"],Ee=l.createContext(null),Te=\"responsive\",ae=\"invalidate\";function z(C){return\"+ \".concat(C.length,\" ...\")}function A(C,B){var fe=C.prefixCls,Ae=fe===void 0?\"rc-overflow\":fe,ge=C.data,ce=ge===void 0?[]:ge,Me=C.renderItem,_e=C.renderRawItem,De=C.itemKey,Ce=C.itemWidth,it=Ce===void 0?10:Ce,V=C.ssr,we=C.style,Ie=C.className,le=C.maxCount,Ne=C.renderRest,te=C.renderRawRest,se=C.suffix,pe=C.component,ee=pe===void 0?\"div\":pe,Se=C.itemComponent,Q=C.onVisibleChange,Z=(0,u.Z)(C,oe),Y=V===\"full\",ue=k(),he=U(ue,null),me=(0,r.Z)(he,2),Oe=me[0],We=me[1],ke=Oe||0,It=U(ue,new Map),ft=(0,r.Z)(It,2),nn=ft[0],b=ft[1],W=U(ue,0),de=(0,r.Z)(W,2),ye=de[0],He=de[1],rt=U(ue,0),$e=(0,r.Z)(rt,2),pt=$e[0],Ot=$e[1],at=U(ue,0),wt=(0,r.Z)(at,2),vt=wt[0],jt=wt[1],At=(0,l.useState)(null),qt=(0,r.Z)(At,2),En=qt[0],Ft=qt[1],_n=(0,l.useState)(null),xn=(0,r.Z)(_n,2),Zn=xn[0],Wn=xn[1],Jn=l.useMemo(function(){return Zn===null&&Y?Number.MAX_SAFE_INTEGER:Zn||0},[Zn,Oe]),Un=(0,l.useState)(!1),qn=(0,r.Z)(Un,2),cr=qn[0],pr=qn[1],vr=\"\".concat(Ae,\"-item\"),Dn=Math.max(ye,pt),br=le===Te,zn=ce.length&&br,Re=le===ae,Ge=zn||typeof le==\"number\"&&ce.length>le,ot=(0,l.useMemo)(function(){var mt=ce;return zn?Oe===null&&Y?mt=ce:mt=ce.slice(0,Math.min(ce.length,ke/it)):typeof le==\"number\"&&(mt=ce.slice(0,le)),mt},[ce,it,Oe,le,zn]),Dt=(0,l.useMemo)(function(){return zn?ce.slice(Jn+1):ce.slice(ot.length)},[ce,ot,zn,Jn]),Nt=(0,l.useCallback)(function(mt,Et){var Pt;return typeof De==\"function\"?De(mt):(Pt=De&&(mt==null?void 0:mt[De]))!==null&&Pt!==void 0?Pt:Et},[De]),Lt=(0,l.useCallback)(Me||function(mt){return mt},[Me]);function Ht(mt,Et,Pt){Zn===mt&&(Et===void 0||Et===En)||(Wn(mt),Pt||(pr(mt<ce.length-1),Q==null||Q(mt)),Et!==void 0&&Ft(Et))}function Vt(mt,Et){We(Et.clientWidth)}function an(mt,Et){b(function(Pt){var Mt=new Map(Pt);return Et===null?Mt.delete(mt):Mt.set(mt,Et),Mt})}function Wt(mt,Et){Ot(Et),He(pt)}function bn(mt,Et){jt(Et)}function ln(mt){return nn.get(Nt(ot[mt],mt))}(0,p.Z)(function(){if(ke&&typeof Dn==\"number\"&&ot){var mt=vt,Et=ot.length,Pt=Et-1;if(!Et){Ht(0,null);return}for(var Mt=0;Mt<Et;Mt+=1){var Bt=ln(Mt);if(Y&&(Bt=Bt||0),Bt===void 0){Ht(Mt-1,void 0,!0);break}if(mt+=Bt,Pt===0&&mt<=ke||Mt===Pt-1&&mt+ln(Pt)<=ke){Ht(Pt,null);break}else if(mt+Dn>ke){Ht(Mt-1,mt-Bt-vt+pt);break}}se&&ln(0)+vt>ke&&Ft(null)}},[ke,nn,pt,vt,Nt,ot]);var tt=cr&&!!Dt.length,Ze={};En!==null&&zn&&(Ze={position:\"absolute\",left:En,top:0});var nt={prefixCls:vr,responsive:zn,component:Se,invalidate:Re},st=_e?function(mt,Et){var Pt=Nt(mt,Et);return l.createElement(Ee.Provider,{key:Pt,value:(0,o.Z)((0,o.Z)({},nt),{},{order:Et,item:mt,itemKey:Pt,registerSize:an,display:Et<=Jn})},_e(mt,Et))}:function(mt,Et){var Pt=Nt(mt,Et);return l.createElement(I,(0,a.Z)({},nt,{order:Et,key:Pt,item:mt,renderItem:Lt,itemKey:Pt,registerSize:an,display:Et<=Jn}))},Qe,ct={order:tt?Jn:Number.MAX_SAFE_INTEGER,className:\"\".concat(vr,\"-rest\"),registerSize:Wt,display:tt};if(te)te&&(Qe=l.createElement(Ee.Provider,{value:(0,o.Z)((0,o.Z)({},nt),ct)},te(Dt)));else{var lt=Ne||z;Qe=l.createElement(I,(0,a.Z)({},nt,ct),typeof lt==\"function\"?lt(Dt):lt)}var gt=l.createElement(ee,(0,a.Z)({className:f()(!Re&&Ae,Ie),style:we,ref:B},Z),ot.map(st),Ge?Qe:null,se&&l.createElement(I,(0,a.Z)({},nt,{responsive:br,responsiveDisabled:!zn,order:Jn,className:\"\".concat(vr,\"-suffix\"),registerSize:bn,display:!0,style:Ze}),se));return br&&(gt=l.createElement(v.Z,{onResize:Vt,disabled:!zn},gt)),gt}var T=l.forwardRef(A);T.displayName=\"Overflow\",T.Item=X,T.RESPONSIVE=Te,T.INVALIDATE=ae;var R=T,j=R},60555:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return Te}});var a=e(51163),o=e(50959),r=e(16030),u=e(53675),l=e(75782),d=e(64111),f=e(90899),v=e(73023),p=new Map;function h(ae){ae.forEach(function(z){var A,T=z.target;(A=p.get(T))===null||A===void 0||A.forEach(function(R){return R(T)})})}var g=new v.Z(h),y=null,S=null;function I(ae,z){p.has(ae)||(p.set(ae,new Set),g.observe(ae)),p.get(ae).add(z)}function N(ae,z){p.has(ae)&&(p.get(ae).delete(z),p.get(ae).size||(g.unobserve(ae),p.delete(ae)))}var _=e(40936),M=e(49962),L=e(39027),k=e(76614),U=function(ae){(0,L.Z)(A,ae);var z=(0,k.Z)(A);function A(){return(0,_.Z)(this,A),z.apply(this,arguments)}return(0,M.Z)(A,[{key:\"render\",value:function(){return this.props.children}}]),A}(o.Component),x=o.createContext(null);function F(ae){var z=ae.children,A=ae.onBatchResize,T=o.useRef(0),R=o.useRef([]),j=o.useContext(x),C=o.useCallback(function(B,fe,Ae){T.current+=1;var ge=T.current;R.current.push({size:B,element:fe,data:Ae}),Promise.resolve().then(function(){ge===T.current&&(A==null||A(R.current),R.current=[])}),j==null||j(B,fe,Ae)},[A,j]);return o.createElement(x.Provider,{value:C},z)}function K(ae,z){var A=ae.children,T=ae.disabled,R=o.useRef(null),j=o.useRef(null),C=o.useContext(x),B=typeof A==\"function\",fe=B?A(R):A,Ae=o.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),ge=!B&&o.isValidElement(fe)&&(0,d.Yr)(fe),ce=ge?fe.ref:null,Me=o.useMemo(function(){return(0,d.sQ)(ce,R)},[ce,R]),_e=function(){return(0,f.Z)(R.current)||(0,f.Z)(j.current)};o.useImperativeHandle(z,function(){return _e()});var De=o.useRef(ae);De.current=ae;var Ce=o.useCallback(function(it){var V=De.current,we=V.onResize,Ie=V.data,le=it.getBoundingClientRect(),Ne=le.width,te=le.height,se=it.offsetWidth,pe=it.offsetHeight,ee=Math.floor(Ne),Se=Math.floor(te);if(Ae.current.width!==ee||Ae.current.height!==Se||Ae.current.offsetWidth!==se||Ae.current.offsetHeight!==pe){var Q={width:ee,height:Se,offsetWidth:se,offsetHeight:pe};Ae.current=Q;var Z=se===Math.round(Ne)?Ne:se,Y=pe===Math.round(te)?te:pe,ue=(0,l.Z)((0,l.Z)({},Q),{},{offsetWidth:Z,offsetHeight:Y});C==null||C(ue,it,Ie),we&&Promise.resolve().then(function(){we(ue,it)})}},[]);return o.useEffect(function(){var it=_e();return it&&!T&&I(it,Ce),function(){return N(it,Ce)}},[R.current,T]),o.createElement(U,{ref:j},ge?o.cloneElement(fe,{ref:Me}):fe)}var G=o.forwardRef(K),q=G,X=\"rc-observer-key\";function oe(ae,z){var A=ae.children,T=typeof A==\"function\"?[A]:(0,r.Z)(A);return T.map(function(R,j){var C=(R==null?void 0:R.key)||\"\".concat(X,\"-\").concat(j);return o.createElement(q,(0,a.Z)({},ae,{key:C,ref:j===0?z:void 0}),R)})}var Ee=o.forwardRef(oe);Ee.Collection=F;var Te=Ee},62855:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return Fn}});var a=e(75782),o=e(51163),r=e(40936),u=e(49962),l=e(60790),d=e(39027),f=e(76614),v=e(24572),p=e(50959),h=e(10422),g=e(40086),y=e(89013),S=e(90899),I=e(64111);function N(H,ie,re,xe){var Ke=h.unstable_batchedUpdates?function(J){h.unstable_batchedUpdates(re,J)}:re;return H.addEventListener&&H.addEventListener(ie,Ke,xe),{remove:function(){H.removeEventListener&&H.removeEventListener(ie,Ke,xe)}}}var _=e(61237),M=(0,p.forwardRef)(function(H,ie){var re=H.didUpdate,xe=H.getContainer,Ke=H.children,Ue=(0,p.useRef)(),J=(0,p.useRef)();(0,p.useImperativeHandle)(ie,function(){return{}});var w=(0,p.useRef)(!1);return!w.current&&(0,_.Z)()&&(J.current=xe(),Ue.current=J.current.parentNode,w.current=!0),(0,p.useEffect)(function(){re==null||re(H)}),(0,p.useEffect)(function(){return J.current.parentNode===null&&Ue.current!==null&&Ue.current.appendChild(J.current),function(){var P,D;(P=J.current)===null||P===void 0||(D=P.parentNode)===null||D===void 0||D.removeChild(J.current)}},[]),J.current?h.createPortal(Ke,J.current):null}),L=M,k=e(84875),U=e.n(k);function x(H,ie,re){return re?H[0]===ie[0]:H[0]===ie[0]&&H[1]===ie[1]}function F(H,ie,re){var xe=H[ie]||{};return(0,a.Z)((0,a.Z)({},xe),re)}function K(H,ie,re,xe){for(var Ke=re.points,Ue=Object.keys(H),J=0;J<Ue.length;J+=1){var w=Ue[J];if(x(H[w].points,Ke,xe))return\"\".concat(ie,\"-placement-\").concat(w)}return\"\"}var G=e(91600),q=e(58733),X=e(31591),oe=e(81676);function Ee(H){var ie=H.prefixCls,re=H.motion,xe=H.animation,Ke=H.transitionName;return re||(xe?{motionName:\"\".concat(ie,\"-\").concat(xe)}:Ke?{motionName:Ke}:null)}function Te(H){var ie=H.prefixCls,re=H.visible,xe=H.zIndex,Ke=H.mask,Ue=H.maskMotion,J=H.maskAnimation,w=H.maskTransitionName;if(!Ke)return null;var P={};return(Ue||w||J)&&(P=(0,a.Z)({motionAppear:!0},Ee({motion:Ue,prefixCls:ie,transitionName:w,animation:J}))),p.createElement(oe.Z,(0,o.Z)({},P,{visible:re,removeOnLeave:!0}),function(D){var ne=D.className;return p.createElement(\"div\",{style:{zIndex:xe},className:U()(\"\".concat(ie,\"-mask\"),ne)})})}var ae=e(26143);function z(H,ie){var re=Object.keys(H);if(Object.getOwnPropertySymbols){var xe=Object.getOwnPropertySymbols(H);ie&&(xe=xe.filter(function(Ke){return Object.getOwnPropertyDescriptor(H,Ke).enumerable})),re.push.apply(re,xe)}return re}function A(H){for(var ie=1;ie<arguments.length;ie++){var re=arguments[ie]!=null?arguments[ie]:{};ie%2?z(Object(re),!0).forEach(function(xe){R(H,xe,re[xe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(H,Object.getOwnPropertyDescriptors(re)):z(Object(re)).forEach(function(xe){Object.defineProperty(H,xe,Object.getOwnPropertyDescriptor(re,xe))})}return H}function T(H){return T=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(ie){return typeof ie}:function(ie){return ie&&typeof Symbol==\"function\"&&ie.constructor===Symbol&&ie!==Symbol.prototype?\"symbol\":typeof ie},T(H)}function R(H,ie,re){return ie in H?Object.defineProperty(H,ie,{value:re,enumerable:!0,configurable:!0,writable:!0}):H[ie]=re,H}var j,C={Webkit:\"-webkit-\",Moz:\"-moz-\",ms:\"-ms-\",O:\"-o-\"};function B(){if(j!==void 0)return j;j=\"\";var H=document.createElement(\"p\").style,ie=\"Transform\";for(var re in C)re+ie in H&&(j=re);return j}function fe(){return B()?\"\".concat(B(),\"TransitionProperty\"):\"transitionProperty\"}function Ae(){return B()?\"\".concat(B(),\"Transform\"):\"transform\"}function ge(H,ie){var re=fe();re&&(H.style[re]=ie,re!==\"transitionProperty\"&&(H.style.transitionProperty=ie))}function ce(H,ie){var re=Ae();re&&(H.style[re]=ie,re!==\"transform\"&&(H.style.transform=ie))}function Me(H){return H.style.transitionProperty||H.style[fe()]}function _e(H){var ie=window.getComputedStyle(H,null),re=ie.getPropertyValue(\"transform\")||ie.getPropertyValue(Ae());if(re&&re!==\"none\"){var xe=re.replace(/[^0-9\\-.,]/g,\"\").split(\",\");return{x:parseFloat(xe[12]||xe[4],0),y:parseFloat(xe[13]||xe[5],0)}}return{x:0,y:0}}var De=/matrix\\((.*)\\)/,Ce=/matrix3d\\((.*)\\)/;function it(H,ie){var re=window.getComputedStyle(H,null),xe=re.getPropertyValue(\"transform\")||re.getPropertyValue(Ae());if(xe&&xe!==\"none\"){var Ke,Ue=xe.match(De);if(Ue)Ue=Ue[1],Ke=Ue.split(\",\").map(function(w){return parseFloat(w,10)}),Ke[4]=ie.x,Ke[5]=ie.y,ce(H,\"matrix(\".concat(Ke.join(\",\"),\")\"));else{var J=xe.match(Ce)[1];Ke=J.split(\",\").map(function(w){return parseFloat(w,10)}),Ke[12]=ie.x,Ke[13]=ie.y,ce(H,\"matrix3d(\".concat(Ke.join(\",\"),\")\"))}}else ce(H,\"translateX(\".concat(ie.x,\"px) translateY(\").concat(ie.y,\"px) translateZ(0)\"))}var V=/[\\-+]?(?:\\d*\\.|)\\d+(?:[eE][\\-+]?\\d+|)/.source,we;function Ie(H){var ie=H.style.display;H.style.display=\"none\",H.offsetHeight,H.style.display=ie}function le(H,ie,re){var xe=re;if(T(ie)===\"object\"){for(var Ke in ie)ie.hasOwnProperty(Ke)&&le(H,Ke,ie[Ke]);return}if(typeof xe!=\"undefined\"){typeof xe==\"number\"&&(xe=\"\".concat(xe,\"px\")),H.style[ie]=xe;return}return we(H,ie)}function Ne(H){var ie,re,xe,Ke=H.ownerDocument,Ue=Ke.body,J=Ke&&Ke.documentElement;return ie=H.getBoundingClientRect(),re=Math.floor(ie.left),xe=Math.floor(ie.top),re-=J.clientLeft||Ue.clientLeft||0,xe-=J.clientTop||Ue.clientTop||0,{left:re,top:xe}}function te(H,ie){var re=H[\"page\".concat(ie?\"Y\":\"X\",\"Offset\")],xe=\"scroll\".concat(ie?\"Top\":\"Left\");if(typeof re!=\"number\"){var Ke=H.document;re=Ke.documentElement[xe],typeof re!=\"number\"&&(re=Ke.body[xe])}return re}function se(H){return te(H)}function pe(H){return te(H,!0)}function ee(H){var ie=Ne(H),re=H.ownerDocument,xe=re.defaultView||re.parentWindow;return ie.left+=se(xe),ie.top+=pe(xe),ie}function Se(H){return H!=null&&H==H.window}function Q(H){return Se(H)?H.document:H.nodeType===9?H:H.ownerDocument}function Z(H,ie,re){var xe=re,Ke=\"\",Ue=Q(H);return xe=xe||Ue.defaultView.getComputedStyle(H,null),xe&&(Ke=xe.getPropertyValue(ie)||xe[ie]),Ke}var Y=new RegExp(\"^(\".concat(V,\")(?!px)[a-z%]+$\"),\"i\"),ue=/^(top|right|bottom|left)$/,he=\"currentStyle\",me=\"runtimeStyle\",Oe=\"left\",We=\"px\";function ke(H,ie){var re=H[he]&&H[he][ie];if(Y.test(re)&&!ue.test(ie)){var xe=H.style,Ke=xe[Oe],Ue=H[me][Oe];H[me][Oe]=H[he][Oe],xe[Oe]=ie===\"fontSize\"?\"1em\":re||0,re=xe.pixelLeft+We,xe[Oe]=Ke,H[me][Oe]=Ue}return re===\"\"?\"auto\":re}typeof window!=\"undefined\"&&(we=window.getComputedStyle?Z:ke);function It(H,ie){return H===\"left\"?ie.useCssRight?\"right\":H:ie.useCssBottom?\"bottom\":H}function ft(H){if(H===\"left\")return\"right\";if(H===\"right\")return\"left\";if(H===\"top\")return\"bottom\";if(H===\"bottom\")return\"top\"}function nn(H,ie,re){le(H,\"position\")===\"static\"&&(H.style.position=\"relative\");var xe=-999,Ke=-999,Ue=It(\"left\",re),J=It(\"top\",re),w=ft(Ue),P=ft(J);Ue!==\"left\"&&(xe=999),J!==\"top\"&&(Ke=999);var D=\"\",ne=ee(H);(\"left\"in ie||\"top\"in ie)&&(D=Me(H)||\"\",ge(H,\"none\")),\"left\"in ie&&(H.style[w]=\"\",H.style[Ue]=\"\".concat(xe,\"px\")),\"top\"in ie&&(H.style[P]=\"\",H.style[J]=\"\".concat(Ke,\"px\")),Ie(H);var be=ee(H),Le={};for(var je in ie)if(ie.hasOwnProperty(je)){var ze=It(je,re),ut=je===\"left\"?xe:Ke,dt=ne[je]-be[je];ze===je?Le[ze]=ut+dt:Le[ze]=ut-dt}le(H,Le),Ie(H),(\"left\"in ie||\"top\"in ie)&&ge(H,D);var Ct={};for(var Rt in ie)if(ie.hasOwnProperty(Rt)){var kt=It(Rt,re),Ut=ie[Rt]-ne[Rt];Rt===kt?Ct[kt]=Le[kt]+Ut:Ct[kt]=Le[kt]-Ut}le(H,Ct)}function b(H,ie){var re=ee(H),xe=_e(H),Ke={x:xe.x,y:xe.y};\"left\"in ie&&(Ke.x=xe.x+ie.left-re.left),\"top\"in ie&&(Ke.y=xe.y+ie.top-re.top),it(H,Ke)}function W(H,ie,re){if(re.ignoreShake){var xe=ee(H),Ke=xe.left.toFixed(0),Ue=xe.top.toFixed(0),J=ie.left.toFixed(0),w=ie.top.toFixed(0);if(Ke===J&&Ue===w)return}re.useCssRight||re.useCssBottom?nn(H,ie,re):re.useCssTransform&&Ae()in document.body.style?b(H,ie):nn(H,ie,re)}function de(H,ie){for(var re=0;re<H.length;re++)ie(H[re])}function ye(H){return we(H,\"boxSizing\")===\"border-box\"}var He=[\"margin\",\"border\",\"padding\"],rt=-1,$e=2,pt=1,Ot=0;function at(H,ie,re){var xe={},Ke=H.style,Ue;for(Ue in ie)ie.hasOwnProperty(Ue)&&(xe[Ue]=Ke[Ue],Ke[Ue]=ie[Ue]);re.call(H);for(Ue in ie)ie.hasOwnProperty(Ue)&&(Ke[Ue]=xe[Ue])}function wt(H,ie,re){var xe=0,Ke,Ue,J;for(Ue=0;Ue<ie.length;Ue++)if(Ke=ie[Ue],Ke)for(J=0;J<re.length;J++){var w=void 0;Ke===\"border\"?w=\"\".concat(Ke).concat(re[J],\"Width\"):w=Ke+re[J],xe+=parseFloat(we(H,w))||0}return xe}var vt={getParent:function(ie){var re=ie;do re.nodeType===11&&re.host?re=re.host:re=re.parentNode;while(re&&re.nodeType!==1&&re.nodeType!==9);return re}};de([\"Width\",\"Height\"],function(H){vt[\"doc\".concat(H)]=function(ie){var re=ie.document;return Math.max(re.documentElement[\"scroll\".concat(H)],re.body[\"scroll\".concat(H)],vt[\"viewport\".concat(H)](re))},vt[\"viewport\".concat(H)]=function(ie){var re=\"client\".concat(H),xe=ie.document,Ke=xe.body,Ue=xe.documentElement,J=Ue[re];return xe.compatMode===\"CSS1Compat\"&&J||Ke&&Ke[re]||J}});function jt(H,ie,re){var xe=re;if(Se(H))return ie===\"width\"?vt.viewportWidth(H):vt.viewportHeight(H);if(H.nodeType===9)return ie===\"width\"?vt.docWidth(H):vt.docHeight(H);var Ke=ie===\"width\"?[\"Left\",\"Right\"]:[\"Top\",\"Bottom\"],Ue=Math.floor(ie===\"width\"?H.getBoundingClientRect().width:H.getBoundingClientRect().height),J=ye(H),w=0;(Ue==null||Ue<=0)&&(Ue=void 0,w=we(H,ie),(w==null||Number(w)<0)&&(w=H.style[ie]||0),w=Math.floor(parseFloat(w))||0),xe===void 0&&(xe=J?pt:rt);var P=Ue!==void 0||J,D=Ue||w;return xe===rt?P?D-wt(H,[\"border\",\"padding\"],Ke):w:P?xe===pt?D:D+(xe===$e?-wt(H,[\"border\"],Ke):wt(H,[\"margin\"],Ke)):w+wt(H,He.slice(xe),Ke)}var At={position:\"absolute\",visibility:\"hidden\",display:\"block\"};function qt(){for(var H=arguments.length,ie=new Array(H),re=0;re<H;re++)ie[re]=arguments[re];var xe,Ke=ie[0];return Ke.offsetWidth!==0?xe=jt.apply(void 0,ie):at(Ke,At,function(){xe=jt.apply(void 0,ie)}),xe}de([\"width\",\"height\"],function(H){var ie=H.charAt(0).toUpperCase()+H.slice(1);vt[\"outer\".concat(ie)]=function(xe,Ke){return xe&&qt(xe,H,Ke?Ot:pt)};var re=H===\"width\"?[\"Left\",\"Right\"]:[\"Top\",\"Bottom\"];vt[H]=function(xe,Ke){var Ue=Ke;if(Ue!==void 0){if(xe){var J=ye(xe);return J&&(Ue+=wt(xe,[\"padding\",\"border\"],re)),le(xe,H,Ue)}return}return xe&&qt(xe,H,rt)}});function En(H,ie){for(var re in ie)ie.hasOwnProperty(re)&&(H[re]=ie[re]);return H}var Ft={getWindow:function(ie){if(ie&&ie.document&&ie.setTimeout)return ie;var re=ie.ownerDocument||ie;return re.defaultView||re.parentWindow},getDocument:Q,offset:function(ie,re,xe){if(typeof re!=\"undefined\")W(ie,re,xe||{});else return ee(ie)},isWindow:Se,each:de,css:le,clone:function(ie){var re,xe={};for(re in ie)ie.hasOwnProperty(re)&&(xe[re]=ie[re]);var Ke=ie.overflow;if(Ke)for(re in ie)ie.hasOwnProperty(re)&&(xe.overflow[re]=ie.overflow[re]);return xe},mix:En,getWindowScrollLeft:function(ie){return se(ie)},getWindowScrollTop:function(ie){return pe(ie)},merge:function(){for(var ie={},re=0;re<arguments.length;re++)Ft.mix(ie,re<0||arguments.length<=re?void 0:arguments[re]);return ie},viewportWidth:0,viewportHeight:0};En(Ft,vt);var _n=Ft.getParent;function xn(H){if(Ft.isWindow(H)||H.nodeType===9)return null;var ie=Ft.getDocument(H),re=ie.body,xe,Ke=Ft.css(H,\"position\"),Ue=Ke===\"fixed\"||Ke===\"absolute\";if(!Ue)return H.nodeName.toLowerCase()===\"html\"?null:_n(H);for(xe=_n(H);xe&&xe!==re&&xe.nodeType!==9;xe=_n(xe))if(Ke=Ft.css(xe,\"position\"),Ke!==\"static\")return xe;return null}var Zn=Ft.getParent;function Wn(H){if(Ft.isWindow(H)||H.nodeType===9)return!1;var ie=Ft.getDocument(H),re=ie.body,xe=null;for(xe=Zn(H);xe&&xe!==re&&xe!==ie;xe=Zn(xe)){var Ke=Ft.css(xe,\"position\");if(Ke===\"fixed\")return!0}return!1}function Jn(H,ie){for(var re={left:0,right:1/0,top:0,bottom:1/0},xe=xn(H),Ke=Ft.getDocument(H),Ue=Ke.defaultView||Ke.parentWindow,J=Ke.body,w=Ke.documentElement;xe;){if((navigator.userAgent.indexOf(\"MSIE\")===-1||xe.clientWidth!==0)&&xe!==J&&xe!==w&&Ft.css(xe,\"overflow\")!==\"visible\"){var P=Ft.offset(xe);P.left+=xe.clientLeft,P.top+=xe.clientTop,re.top=Math.max(re.top,P.top),re.right=Math.min(re.right,P.left+xe.clientWidth),re.bottom=Math.min(re.bottom,P.top+xe.clientHeight),re.left=Math.max(re.left,P.left)}else if(xe===J||xe===w)break;xe=xn(xe)}var D=null;if(!Ft.isWindow(H)&&H.nodeType!==9){D=H.style.position;var ne=Ft.css(H,\"position\");ne===\"absolute\"&&(H.style.position=\"fixed\")}var be=Ft.getWindowScrollLeft(Ue),Le=Ft.getWindowScrollTop(Ue),je=Ft.viewportWidth(Ue),ze=Ft.viewportHeight(Ue),ut=w.scrollWidth,dt=w.scrollHeight,Ct=window.getComputedStyle(J);if(Ct.overflowX===\"hidden\"&&(ut=Ue.innerWidth),Ct.overflowY===\"hidden\"&&(dt=Ue.innerHeight),H.style&&(H.style.position=D),ie||Wn(H))re.left=Math.max(re.left,be),re.top=Math.max(re.top,Le),re.right=Math.min(re.right,be+je),re.bottom=Math.min(re.bottom,Le+ze);else{var Rt=Math.max(ut,be+je);re.right=Math.min(re.right,Rt);var kt=Math.max(dt,Le+ze);re.bottom=Math.min(re.bottom,kt)}return re.top>=0&&re.left>=0&&re.bottom>re.top&&re.right>re.left?re:null}function Un(H,ie,re,xe){var Ke=Ft.clone(H),Ue={width:ie.width,height:ie.height};return xe.adjustX&&Ke.left<re.left&&(Ke.left=re.left),xe.resizeWidth&&Ke.left>=re.left&&Ke.left+Ue.width>re.right&&(Ue.width-=Ke.left+Ue.width-re.right),xe.adjustX&&Ke.left+Ue.width>re.right&&(Ke.left=Math.max(re.right-Ue.width,re.left)),xe.adjustY&&Ke.top<re.top&&(Ke.top=re.top),xe.resizeHeight&&Ke.top>=re.top&&Ke.top+Ue.height>re.bottom&&(Ue.height-=Ke.top+Ue.height-re.bottom),xe.adjustY&&Ke.top+Ue.height>re.bottom&&(Ke.top=Math.max(re.bottom-Ue.height,re.top)),Ft.mix(Ke,Ue)}function qn(H){var ie,re,xe;if(!Ft.isWindow(H)&&H.nodeType!==9)ie=Ft.offset(H),re=Ft.outerWidth(H),xe=Ft.outerHeight(H);else{var Ke=Ft.getWindow(H);ie={left:Ft.getWindowScrollLeft(Ke),top:Ft.getWindowScrollTop(Ke)},re=Ft.viewportWidth(Ke),xe=Ft.viewportHeight(Ke)}return ie.width=re,ie.height=xe,ie}function cr(H,ie){var re=ie.charAt(0),xe=ie.charAt(1),Ke=H.width,Ue=H.height,J=H.left,w=H.top;return re===\"c\"?w+=Ue/2:re===\"b\"&&(w+=Ue),xe===\"c\"?J+=Ke/2:xe===\"r\"&&(J+=Ke),{left:J,top:w}}function pr(H,ie,re,xe,Ke){var Ue=cr(ie,re[1]),J=cr(H,re[0]),w=[J.left-Ue.left,J.top-Ue.top];return{left:Math.round(H.left-w[0]+xe[0]-Ke[0]),top:Math.round(H.top-w[1]+xe[1]-Ke[1])}}function vr(H,ie,re){return H.left<re.left||H.left+ie.width>re.right}function Dn(H,ie,re){return H.top<re.top||H.top+ie.height>re.bottom}function br(H,ie,re){return H.left>re.right||H.left+ie.width<re.left}function zn(H,ie,re){return H.top>re.bottom||H.top+ie.height<re.top}function Re(H,ie,re){var xe=[];return Ft.each(H,function(Ke){xe.push(Ke.replace(ie,function(Ue){return re[Ue]}))}),xe}function Ge(H,ie){return H[ie]=-H[ie],H}function ot(H,ie){var re;return/%$/.test(H)?re=parseInt(H.substring(0,H.length-1),10)/100*ie:re=parseInt(H,10),re||0}function Dt(H,ie){H[0]=ot(H[0],ie.width),H[1]=ot(H[1],ie.height)}function Nt(H,ie,re,xe){var Ke=re.points,Ue=re.offset||[0,0],J=re.targetOffset||[0,0],w=re.overflow,P=re.source||H;Ue=[].concat(Ue),J=[].concat(J),w=w||{};var D={},ne=0,be=!!(w&&w.alwaysByViewport),Le=Jn(P,be),je=qn(P);Dt(Ue,je),Dt(J,ie);var ze=pr(je,ie,Ke,Ue,J),ut=Ft.merge(je,ze);if(Le&&(w.adjustX||w.adjustY)&&xe){if(w.adjustX&&vr(ze,je,Le)){var dt=Re(Ke,/[lr]/gi,{l:\"r\",r:\"l\"}),Ct=Ge(Ue,0),Rt=Ge(J,0),kt=pr(je,ie,dt,Ct,Rt);br(kt,je,Le)||(ne=1,Ke=dt,Ue=Ct,J=Rt)}if(w.adjustY&&Dn(ze,je,Le)){var Ut=Re(Ke,/[tb]/gi,{t:\"b\",b:\"t\"}),Qt=Ge(Ue,1),cn=Ge(J,1),wn=pr(je,ie,Ut,Qt,cn);zn(wn,je,Le)||(ne=1,Ke=Ut,Ue=Qt,J=cn)}ne&&(ze=pr(je,ie,Ke,Ue,J),Ft.mix(ut,ze));var gn=vr(ze,je,Le),Kn=Dn(ze,je,Le);if(gn||Kn){var Pn=Ke;gn&&(Pn=Re(Ke,/[lr]/gi,{l:\"r\",r:\"l\"})),Kn&&(Pn=Re(Ke,/[tb]/gi,{t:\"b\",b:\"t\"})),Ke=Pn,Ue=re.offset||[0,0],J=re.targetOffset||[0,0]}D.adjustX=w.adjustX&&gn,D.adjustY=w.adjustY&&Kn,(D.adjustX||D.adjustY)&&(ut=Un(ze,je,Le,D))}return ut.width!==je.width&&Ft.css(P,\"width\",Ft.width(P)+ut.width-je.width),ut.height!==je.height&&Ft.css(P,\"height\",Ft.height(P)+ut.height-je.height),Ft.offset(P,{left:ut.left,top:ut.top},{useCssRight:re.useCssRight,useCssBottom:re.useCssBottom,useCssTransform:re.useCssTransform,ignoreShake:re.ignoreShake}),{points:Ke,offset:Ue,targetOffset:J,overflow:D}}function Lt(H,ie){var re=Jn(H,ie),xe=qn(H);return!re||xe.left+xe.width<=re.left||xe.top+xe.height<=re.top||xe.left>=re.right||xe.top>=re.bottom}function Ht(H,ie,re){var xe=re.target||ie,Ke=qn(xe),Ue=!Lt(xe,re.overflow&&re.overflow.alwaysByViewport);return Nt(H,Ke,re,Ue)}Ht.__getOffsetParent=xn,Ht.__getVisibleRectForElement=Jn;function Vt(H,ie,re){var xe,Ke,Ue=Ft.getDocument(H),J=Ue.defaultView||Ue.parentWindow,w=Ft.getWindowScrollLeft(J),P=Ft.getWindowScrollTop(J),D=Ft.viewportWidth(J),ne=Ft.viewportHeight(J);\"pageX\"in ie?xe=ie.pageX:xe=w+ie.clientX,\"pageY\"in ie?Ke=ie.pageY:Ke=P+ie.clientY;var be={left:xe,top:Ke,width:0,height:0},Le=xe>=0&&xe<=w+D&&Ke>=0&&Ke<=P+ne,je=[re.points[0],\"cc\"];return Nt(H,be,A(A({},re),{},{points:je}),Le)}var an=null,Wt=e(37304),bn=e(25155),ln=e(57770),tt=function(H,ie){var re=p.useRef(!1),xe=p.useRef(null);function Ke(){window.clearTimeout(xe.current)}function Ue(J){if(Ke(),!re.current||J===!0){if(H(J)===!1)return;re.current=!0,xe.current=window.setTimeout(function(){re.current=!1},ie)}else xe.current=window.setTimeout(function(){re.current=!1,Ue()},ie)}return[Ue,function(){re.current=!1,Ke()}]},Ze=e(73023);function nt(H,ie){return H===ie?!0:!H||!ie?!1:\"pageX\"in ie&&\"pageY\"in ie?H.pageX===ie.pageX&&H.pageY===ie.pageY:\"clientX\"in ie&&\"clientY\"in ie?H.clientX===ie.clientX&&H.clientY===ie.clientY:!1}function st(H,ie){H!==document.activeElement&&(0,y.Z)(ie,H)&&typeof H.focus==\"function\"&&H.focus()}function Qe(H,ie){var re=null,xe=null;function Ke(J){var w=(0,G.Z)(J,1),P=w[0].target;if(document.documentElement.contains(P)){var D=P.getBoundingClientRect(),ne=D.width,be=D.height,Le=Math.floor(ne),je=Math.floor(be);(re!==Le||xe!==je)&&Promise.resolve().then(function(){ie({width:Le,height:je})}),re=Le,xe=je}}var Ue=new Ze.Z(Ke);return H&&Ue.observe(H),function(){Ue.disconnect()}}function ct(H){return typeof H!=\"function\"?null:H()}function lt(H){return(0,ae.Z)(H)!==\"object\"||!H?null:H}var gt=function(ie,re){var xe=ie.children,Ke=ie.disabled,Ue=ie.target,J=ie.align,w=ie.onAlign,P=ie.monitorWindowResize,D=ie.monitorBufferTime,ne=D===void 0?0:D,be=p.useRef({}),Le=p.useRef(),je=p.Children.only(xe),ze=p.useRef({});ze.current.disabled=Ke,ze.current.target=Ue,ze.current.align=J,ze.current.onAlign=w;var ut=tt(function(){var Ln=ze.current,er=Ln.disabled,or=Ln.target,Ar=Ln.align,Xn=Ln.onAlign,Yn=Le.current;if(!er&&or&&Yn){var Er,Hn=ct(or),Ir=lt(or);be.current.element=Hn,be.current.point=Ir,be.current.align=Ar;var kr=document,fr=kr.activeElement;return Hn&&(0,bn.Z)(Hn)?Er=Ht(Yn,Hn,Ar):Ir&&(Er=Vt(Yn,Ir,Ar)),st(fr,Yn),Xn&&Er&&Xn(Yn,Er),!0}return!1},ne),dt=(0,G.Z)(ut,2),Ct=dt[0],Rt=dt[1],kt=p.useState(),Ut=(0,G.Z)(kt,2),Qt=Ut[0],cn=Ut[1],wn=p.useState(),gn=(0,G.Z)(wn,2),Kn=gn[0],Pn=gn[1];return(0,ln.Z)(function(){cn(ct(Ue)),Pn(lt(Ue))}),p.useEffect(function(){(be.current.element!==Qt||!nt(be.current.point,Kn)||!(0,Wt.Z)(be.current.align,J))&&Ct()}),p.useEffect(function(){var Ln=Qe(Le.current,Ct);return Ln},[Le.current]),p.useEffect(function(){var Ln=Qe(Qt,Ct);return Ln},[Qt]),p.useEffect(function(){Ke?Rt():Ct()},[Ke]),p.useEffect(function(){if(P){var Ln=N(window,\"resize\",Ct);return Ln.remove}},[P]),p.useEffect(function(){return function(){Rt()}},[]),p.useImperativeHandle(re,function(){return{forceAlign:function(){return Ct(!0)}}}),p.isValidElement(je)&&(je=p.cloneElement(je,{ref:(0,I.sQ)(je.ref,Le)})),je},mt=p.forwardRef(gt);mt.displayName=\"Align\";var Et=mt,Pt=Et,Mt=e(99932),Bt=e(78450),Kt=e(13043),Yt=[\"measure\",\"alignPre\",\"align\",null,\"motion\"],$t=function(H,ie){var re=(0,Kt.Z)(null),xe=(0,G.Z)(re,2),Ke=xe[0],Ue=xe[1],J=(0,p.useRef)();function w(ne){Ue(ne,!0)}function P(){g.Z.cancel(J.current)}function D(ne){P(),J.current=(0,g.Z)(function(){w(function(be){switch(Ke){case\"align\":return\"motion\";case\"motion\":return\"stable\";default:}return be}),ne==null||ne()})}return(0,p.useEffect)(function(){w(\"measure\")},[H]),(0,p.useEffect)(function(){switch(Ke){case\"measure\":ie();break;default:}Ke&&(J.current=(0,g.Z)((0,Bt.Z)((0,Mt.Z)().mark(function ne(){var be,Le;return(0,Mt.Z)().wrap(function(ze){for(;;)switch(ze.prev=ze.next){case 0:be=Yt.indexOf(Ke),Le=Yt[be+1],Le&&be!==-1&&w(Le);case 3:case\"end\":return ze.stop()}},ne)}))))},[Ke]),(0,p.useEffect)(function(){return function(){P()}},[]),[Ke,D]},dn=function(H){var ie=p.useState({width:0,height:0}),re=(0,G.Z)(ie,2),xe=re[0],Ke=re[1];function Ue(w){var P=w.offsetWidth,D=w.offsetHeight,ne=w.getBoundingClientRect(),be=ne.width,Le=ne.height;Math.abs(P-be)<1&&Math.abs(D-Le)<1&&(P=be,D=Le),Ke({width:P,height:D})}var J=p.useMemo(function(){var w={};if(H){var P=xe.width,D=xe.height;H.indexOf(\"height\")!==-1&&D?w.height=D:H.indexOf(\"minHeight\")!==-1&&D&&(w.minHeight=D),H.indexOf(\"width\")!==-1&&P?w.width=P:H.indexOf(\"minWidth\")!==-1&&P&&(w.minWidth=P)}return w},[H,xe]);return[J,Ue]},Xt=p.forwardRef(function(H,ie){var re=H.visible,xe=H.prefixCls,Ke=H.className,Ue=H.style,J=H.children,w=H.zIndex,P=H.stretch,D=H.destroyPopupOnHide,ne=H.forceRender,be=H.align,Le=H.point,je=H.getRootDomNode,ze=H.getClassNameFromAlign,ut=H.onAlign,dt=H.onMouseEnter,Ct=H.onMouseLeave,Rt=H.onMouseDown,kt=H.onTouchStart,Ut=H.onClick,Qt=(0,p.useRef)(),cn=(0,p.useRef)(),wn=(0,p.useState)(),gn=(0,G.Z)(wn,2),Kn=gn[0],Pn=gn[1],Ln=dn(P),er=(0,G.Z)(Ln,2),or=er[0],Ar=er[1];function Xn(){P&&Ar(je())}var Yn=$t(re,Xn),Er=(0,G.Z)(Yn,2),Hn=Er[0],Ir=Er[1],kr=(0,p.useState)(0),fr=(0,G.Z)(kr,2),Rr=fr[0],hr=fr[1],Tr=(0,p.useRef)();(0,ln.Z)(function(){Hn===\"alignPre\"&&hr(0)},[Hn]);function La(){return Le||je}function za(){var ir;(ir=Qt.current)===null||ir===void 0||ir.forceAlign()}function Ha(ir,Pr){var Yr=ze(Pr);Kn!==Yr&&Pn(Yr),hr(function(xr){return xr+1}),Hn===\"align\"&&(ut==null||ut(ir,Pr))}(0,ln.Z)(function(){Hn===\"align\"&&(Rr<3?za():Ir(function(){var ir;(ir=Tr.current)===null||ir===void 0||ir.call(Tr)}))},[Rr]);var Gr=(0,a.Z)({},Ee(H));[\"onAppearEnd\",\"onEnterEnd\",\"onLeaveEnd\"].forEach(function(ir){var Pr=Gr[ir];Gr[ir]=function(Yr,xr){return Ir(),Pr==null?void 0:Pr(Yr,xr)}});function $a(){return new Promise(function(ir){Tr.current=ir})}p.useEffect(function(){!Gr.motionName&&Hn===\"motion\"&&Ir()},[Gr.motionName,Hn]),p.useImperativeHandle(ie,function(){return{forceAlign:za,getElement:function(){return cn.current}}});var Vr=(0,a.Z)((0,a.Z)({},or),{},{zIndex:w,opacity:Hn===\"motion\"||Hn===\"stable\"||!re?void 0:0,pointerEvents:!re&&Hn!==\"stable\"?\"none\":void 0},Ue),pa=!0;be!=null&&be.points&&(Hn===\"align\"||Hn===\"stable\")&&(pa=!1);var ya=J;return p.Children.count(J)>1&&(ya=p.createElement(\"div\",{className:\"\".concat(xe,\"-content\")},J)),p.createElement(oe.Z,(0,o.Z)({visible:re,ref:cn,leavedClassName:\"\".concat(xe,\"-hidden\")},Gr,{onAppearPrepare:$a,onEnterPrepare:$a,removeOnLeave:D,forceRender:ne}),function(ir,Pr){var Yr=ir.className,xr=ir.style,Oa=U()(xe,Ke,Kn,Yr);return p.createElement(Pt,{target:La(),key:\"popup\",ref:Qt,monitorWindowResize:!0,disabled:pa,align:be,onAlign:Ha},p.createElement(\"div\",{ref:Pr,className:Oa,onMouseEnter:dt,onMouseLeave:Ct,onMouseDownCapture:Rt,onTouchStartCapture:kt,onClick:Ut,style:(0,a.Z)((0,a.Z)({},xr),Vr)},ya))})});Xt.displayName=\"PopupInner\";var en=Xt,hn=p.forwardRef(function(H,ie){var re=H.prefixCls,xe=H.visible,Ke=H.zIndex,Ue=H.children,J=H.mobile;J=J===void 0?{}:J;var w=J.popupClassName,P=J.popupStyle,D=J.popupMotion,ne=D===void 0?{}:D,be=J.popupRender,Le=H.onClick,je=p.useRef();p.useImperativeHandle(ie,function(){return{forceAlign:function(){},getElement:function(){return je.current}}});var ze=(0,a.Z)({zIndex:Ke},P),ut=Ue;return p.Children.count(Ue)>1&&(ut=p.createElement(\"div\",{className:\"\".concat(re,\"-content\")},Ue)),be&&(ut=be(ut)),p.createElement(oe.Z,(0,o.Z)({visible:xe,ref:je,removeOnLeave:!0},ne),function(dt,Ct){var Rt=dt.className,kt=dt.style,Ut=U()(re,w,Rt);return p.createElement(\"div\",{ref:Ct,className:Ut,onClick:Le,style:(0,a.Z)((0,a.Z)({},kt),ze)},ut)})});hn.displayName=\"MobilePopupInner\";var pn=hn,Sn=[\"visible\",\"mobile\"],fn=p.forwardRef(function(H,ie){var re=H.visible,xe=H.mobile,Ke=(0,q.Z)(H,Sn),Ue=(0,p.useState)(re),J=(0,G.Z)(Ue,2),w=J[0],P=J[1],D=(0,p.useState)(!1),ne=(0,G.Z)(D,2),be=ne[0],Le=ne[1],je=(0,a.Z)((0,a.Z)({},Ke),{},{visible:w});(0,p.useEffect)(function(){P(re),re&&xe&&Le((0,X.Z)())},[re,xe]);var ze=be?p.createElement(pn,(0,o.Z)({},je,{mobile:xe,ref:ie})):p.createElement(en,(0,o.Z)({},je,{ref:ie}));return p.createElement(\"div\",null,p.createElement(Te,je),ze)});fn.displayName=\"Popup\";var Zt=fn,ar=p.createContext(null),An=ar;function sn(){}function Rn(){return\"\"}function Nn(H){return H?H.ownerDocument:window.document}var Bn=[\"onClick\",\"onMouseDown\",\"onTouchStart\",\"onMouseEnter\",\"onMouseLeave\",\"onFocus\",\"onBlur\",\"onContextMenu\"];function Vn(H){var ie=function(re){(0,d.Z)(Ke,re);var xe=(0,f.Z)(Ke);function Ke(Ue){var J;(0,r.Z)(this,Ke),J=xe.call(this,Ue),(0,v.Z)((0,l.Z)(J),\"popupRef\",p.createRef()),(0,v.Z)((0,l.Z)(J),\"triggerRef\",p.createRef()),(0,v.Z)((0,l.Z)(J),\"portalContainer\",void 0),(0,v.Z)((0,l.Z)(J),\"attachId\",void 0),(0,v.Z)((0,l.Z)(J),\"clickOutsideHandler\",void 0),(0,v.Z)((0,l.Z)(J),\"touchOutsideHandler\",void 0),(0,v.Z)((0,l.Z)(J),\"contextMenuOutsideHandler1\",void 0),(0,v.Z)((0,l.Z)(J),\"contextMenuOutsideHandler2\",void 0),(0,v.Z)((0,l.Z)(J),\"mouseDownTimeout\",void 0),(0,v.Z)((0,l.Z)(J),\"focusTime\",void 0),(0,v.Z)((0,l.Z)(J),\"preClickTime\",void 0),(0,v.Z)((0,l.Z)(J),\"preTouchTime\",void 0),(0,v.Z)((0,l.Z)(J),\"delayTimer\",void 0),(0,v.Z)((0,l.Z)(J),\"hasPopupMouseDown\",void 0),(0,v.Z)((0,l.Z)(J),\"onMouseEnter\",function(P){var D=J.props.mouseEnterDelay;J.fireEvents(\"onMouseEnter\",P),J.delaySetPopupVisible(!0,D,D?null:P)}),(0,v.Z)((0,l.Z)(J),\"onMouseMove\",function(P){J.fireEvents(\"onMouseMove\",P),J.setPoint(P)}),(0,v.Z)((0,l.Z)(J),\"onMouseLeave\",function(P){J.fireEvents(\"onMouseLeave\",P),J.delaySetPopupVisible(!1,J.props.mouseLeaveDelay)}),(0,v.Z)((0,l.Z)(J),\"onPopupMouseEnter\",function(){J.clearDelayTimer()}),(0,v.Z)((0,l.Z)(J),\"onPopupMouseLeave\",function(P){var D;P.relatedTarget&&!P.relatedTarget.setTimeout&&(0,y.Z)((D=J.popupRef.current)===null||D===void 0?void 0:D.getElement(),P.relatedTarget)||J.delaySetPopupVisible(!1,J.props.mouseLeaveDelay)}),(0,v.Z)((0,l.Z)(J),\"onFocus\",function(P){J.fireEvents(\"onFocus\",P),J.clearDelayTimer(),J.isFocusToShow()&&(J.focusTime=Date.now(),J.delaySetPopupVisible(!0,J.props.focusDelay))}),(0,v.Z)((0,l.Z)(J),\"onMouseDown\",function(P){J.fireEvents(\"onMouseDown\",P),J.preClickTime=Date.now()}),(0,v.Z)((0,l.Z)(J),\"onTouchStart\",function(P){J.fireEvents(\"onTouchStart\",P),J.preTouchTime=Date.now()}),(0,v.Z)((0,l.Z)(J),\"onBlur\",function(P){J.fireEvents(\"onBlur\",P),J.clearDelayTimer(),J.isBlurToHide()&&J.delaySetPopupVisible(!1,J.props.blurDelay)}),(0,v.Z)((0,l.Z)(J),\"onContextMenu\",function(P){P.preventDefault(),J.fireEvents(\"onContextMenu\",P),J.setPopupVisible(!0,P)}),(0,v.Z)((0,l.Z)(J),\"onContextMenuClose\",function(){J.isContextMenuToShow()&&J.close()}),(0,v.Z)((0,l.Z)(J),\"onClick\",function(P){if(J.fireEvents(\"onClick\",P),J.focusTime){var D;if(J.preClickTime&&J.preTouchTime?D=Math.min(J.preClickTime,J.preTouchTime):J.preClickTime?D=J.preClickTime:J.preTouchTime&&(D=J.preTouchTime),Math.abs(D-J.focusTime)<20)return;J.focusTime=0}J.preClickTime=0,J.preTouchTime=0,J.isClickToShow()&&(J.isClickToHide()||J.isBlurToHide())&&P&&P.preventDefault&&P.preventDefault();var ne=!J.state.popupVisible;(J.isClickToHide()&&!ne||ne&&J.isClickToShow())&&J.setPopupVisible(!J.state.popupVisible,P)}),(0,v.Z)((0,l.Z)(J),\"onPopupMouseDown\",function(){if(J.hasPopupMouseDown=!0,clearTimeout(J.mouseDownTimeout),J.mouseDownTimeout=window.setTimeout(function(){J.hasPopupMouseDown=!1},0),J.context){var P;(P=J.context).onPopupMouseDown.apply(P,arguments)}}),(0,v.Z)((0,l.Z)(J),\"onDocumentClick\",function(P){if(!(J.props.mask&&!J.props.maskClosable)){var D=P.target,ne=J.getRootDomNode(),be=J.getPopupDomNode();(!(0,y.Z)(ne,D)||J.isContextMenuOnly())&&!(0,y.Z)(be,D)&&!J.hasPopupMouseDown&&J.close()}}),(0,v.Z)((0,l.Z)(J),\"getRootDomNode\",function(){var P=J.props.getTriggerDOMNode;if(P)return P(J.triggerRef.current);try{var D=(0,S.Z)(J.triggerRef.current);if(D)return D}catch(ne){}return h.findDOMNode((0,l.Z)(J))}),(0,v.Z)((0,l.Z)(J),\"getPopupClassNameFromAlign\",function(P){var D=[],ne=J.props,be=ne.popupPlacement,Le=ne.builtinPlacements,je=ne.prefixCls,ze=ne.alignPoint,ut=ne.getPopupClassNameFromAlign;return be&&Le&&D.push(K(Le,je,P,ze)),ut&&D.push(ut(P)),D.join(\" \")}),(0,v.Z)((0,l.Z)(J),\"getComponent\",function(){var P=J.props,D=P.prefixCls,ne=P.destroyPopupOnHide,be=P.popupClassName,Le=P.onPopupAlign,je=P.popupMotion,ze=P.popupAnimation,ut=P.popupTransitionName,dt=P.popupStyle,Ct=P.mask,Rt=P.maskAnimation,kt=P.maskTransitionName,Ut=P.maskMotion,Qt=P.zIndex,cn=P.popup,wn=P.stretch,gn=P.alignPoint,Kn=P.mobile,Pn=P.forceRender,Ln=P.onPopupClick,er=J.state,or=er.popupVisible,Ar=er.point,Xn=J.getPopupAlign(),Yn={};return J.isMouseEnterToShow()&&(Yn.onMouseEnter=J.onPopupMouseEnter),J.isMouseLeaveToHide()&&(Yn.onMouseLeave=J.onPopupMouseLeave),Yn.onMouseDown=J.onPopupMouseDown,Yn.onTouchStart=J.onPopupMouseDown,p.createElement(Zt,(0,o.Z)({prefixCls:D,destroyPopupOnHide:ne,visible:or,point:gn&&Ar,className:be,align:Xn,onAlign:Le,animation:ze,getClassNameFromAlign:J.getPopupClassNameFromAlign},Yn,{stretch:wn,getRootDomNode:J.getRootDomNode,style:dt,mask:Ct,zIndex:Qt,transitionName:ut,maskAnimation:Rt,maskTransitionName:kt,maskMotion:Ut,ref:J.popupRef,motion:je,mobile:Kn,forceRender:Pn,onClick:Ln}),typeof cn==\"function\"?cn():cn)}),(0,v.Z)((0,l.Z)(J),\"attachParent\",function(P){g.Z.cancel(J.attachId);var D=J.props,ne=D.getPopupContainer,be=D.getDocument,Le=J.getRootDomNode(),je;ne?(Le||ne.length===0)&&(je=ne(Le)):je=be(J.getRootDomNode()).body,je?je.appendChild(P):J.attachId=(0,g.Z)(function(){J.attachParent(P)})}),(0,v.Z)((0,l.Z)(J),\"getContainer\",function(){if(!J.portalContainer){var P=J.props.getDocument,D=P(J.getRootDomNode()).createElement(\"div\");D.style.position=\"absolute\",D.style.top=\"0\",D.style.left=\"0\",D.style.width=\"100%\",J.portalContainer=D}return J.attachParent(J.portalContainer),J.portalContainer}),(0,v.Z)((0,l.Z)(J),\"setPoint\",function(P){var D=J.props.alignPoint;!D||!P||J.setState({point:{pageX:P.pageX,pageY:P.pageY}})}),(0,v.Z)((0,l.Z)(J),\"handlePortalUpdate\",function(){J.state.prevPopupVisible!==J.state.popupVisible&&J.props.afterPopupVisibleChange(J.state.popupVisible)}),(0,v.Z)((0,l.Z)(J),\"triggerContextValue\",{onPopupMouseDown:J.onPopupMouseDown});var w;return\"popupVisible\"in Ue?w=!!Ue.popupVisible:w=!!Ue.defaultPopupVisible,J.state={prevPopupVisible:w,popupVisible:w},Bn.forEach(function(P){J[\"fire\".concat(P)]=function(D){J.fireEvents(P,D)}}),J}return(0,u.Z)(Ke,[{key:\"componentDidMount\",value:function(){this.componentDidUpdate()}},{key:\"componentDidUpdate\",value:function(){var J=this.props,w=this.state;if(w.popupVisible){var P;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(P=J.getDocument(this.getRootDomNode()),this.clickOutsideHandler=N(P,\"mousedown\",this.onDocumentClick)),this.touchOutsideHandler||(P=P||J.getDocument(this.getRootDomNode()),this.touchOutsideHandler=N(P,\"touchstart\",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(P=P||J.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=N(P,\"scroll\",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=N(window,\"blur\",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:\"componentWillUnmount\",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),g.Z.cancel(this.attachId)}},{key:\"getPopupDomNode\",value:function(){var J;return((J=this.popupRef.current)===null||J===void 0?void 0:J.getElement())||null}},{key:\"getPopupAlign\",value:function(){var J=this.props,w=J.popupPlacement,P=J.popupAlign,D=J.builtinPlacements;return w&&D?F(D,w,P):P}},{key:\"setPopupVisible\",value:function(J,w){var P=this.props.alignPoint,D=this.state.popupVisible;this.clearDelayTimer(),D!==J&&(\"popupVisible\"in this.props||this.setState({popupVisible:J,prevPopupVisible:D}),this.props.onPopupVisibleChange(J)),P&&w&&J&&this.setPoint(w)}},{key:\"delaySetPopupVisible\",value:function(J,w,P){var D=this,ne=w*1e3;if(this.clearDelayTimer(),ne){var be=P?{pageX:P.pageX,pageY:P.pageY}:null;this.delayTimer=window.setTimeout(function(){D.setPopupVisible(J,be),D.clearDelayTimer()},ne)}else this.setPopupVisible(J,P)}},{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(J){var w=this.props.children.props,P=this.props;return w[J]&&P[J]?this[\"fire\".concat(J)]:w[J]||P[J]}},{key:\"isClickToShow\",value:function(){var J=this.props,w=J.action,P=J.showAction;return w.indexOf(\"click\")!==-1||P.indexOf(\"click\")!==-1}},{key:\"isContextMenuOnly\",value:function(){var J=this.props.action;return J===\"contextMenu\"||J.length===1&&J[0]===\"contextMenu\"}},{key:\"isContextMenuToShow\",value:function(){var J=this.props,w=J.action,P=J.showAction;return w.indexOf(\"contextMenu\")!==-1||P.indexOf(\"contextMenu\")!==-1}},{key:\"isClickToHide\",value:function(){var J=this.props,w=J.action,P=J.hideAction;return w.indexOf(\"click\")!==-1||P.indexOf(\"click\")!==-1}},{key:\"isMouseEnterToShow\",value:function(){var J=this.props,w=J.action,P=J.showAction;return w.indexOf(\"hover\")!==-1||P.indexOf(\"mouseEnter\")!==-1}},{key:\"isMouseLeaveToHide\",value:function(){var J=this.props,w=J.action,P=J.hideAction;return w.indexOf(\"hover\")!==-1||P.indexOf(\"mouseLeave\")!==-1}},{key:\"isFocusToShow\",value:function(){var J=this.props,w=J.action,P=J.showAction;return w.indexOf(\"focus\")!==-1||P.indexOf(\"focus\")!==-1}},{key:\"isBlurToHide\",value:function(){var J=this.props,w=J.action,P=J.hideAction;return w.indexOf(\"focus\")!==-1||P.indexOf(\"blur\")!==-1}},{key:\"forcePopupAlign\",value:function(){if(this.state.popupVisible){var J;(J=this.popupRef.current)===null||J===void 0||J.forceAlign()}}},{key:\"fireEvents\",value:function(J,w){var P=this.props.children.props[J];P&&P(w);var D=this.props[J];D&&D(w)}},{key:\"close\",value:function(){this.setPopupVisible(!1)}},{key:\"render\",value:function(){var J=this.state.popupVisible,w=this.props,P=w.children,D=w.forceRender,ne=w.alignPoint,be=w.className,Le=w.autoDestroy,je=p.Children.only(P),ze={key:\"trigger\"};this.isContextMenuToShow()?ze.onContextMenu=this.onContextMenu:ze.onContextMenu=this.createTwoChains(\"onContextMenu\"),this.isClickToHide()||this.isClickToShow()?(ze.onClick=this.onClick,ze.onMouseDown=this.onMouseDown,ze.onTouchStart=this.onTouchStart):(ze.onClick=this.createTwoChains(\"onClick\"),ze.onMouseDown=this.createTwoChains(\"onMouseDown\"),ze.onTouchStart=this.createTwoChains(\"onTouchStart\")),this.isMouseEnterToShow()?(ze.onMouseEnter=this.onMouseEnter,ne&&(ze.onMouseMove=this.onMouseMove)):ze.onMouseEnter=this.createTwoChains(\"onMouseEnter\"),this.isMouseLeaveToHide()?ze.onMouseLeave=this.onMouseLeave:ze.onMouseLeave=this.createTwoChains(\"onMouseLeave\"),this.isFocusToShow()||this.isBlurToHide()?(ze.onFocus=this.onFocus,ze.onBlur=this.onBlur):(ze.onFocus=this.createTwoChains(\"onFocus\"),ze.onBlur=this.createTwoChains(\"onBlur\"));var ut=U()(je&&je.props&&je.props.className,be);ut&&(ze.className=ut);var dt=(0,a.Z)({},ze);(0,I.Yr)(je)&&(dt.ref=(0,I.sQ)(this.triggerRef,je.ref));var Ct=p.cloneElement(je,dt),Rt;return(J||this.popupRef.current||D)&&(Rt=p.createElement(H,{key:\"portal\",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!J&&Le&&(Rt=null),p.createElement(An.Provider,{value:this.triggerContextValue},Ct,Rt)}}],[{key:\"getDerivedStateFromProps\",value:function(J,w){var P=J.popupVisible,D={};return P!==void 0&&w.popupVisible!==P&&(D.popupVisible=P,D.prevPopupVisible=w.popupVisible),D}}]),Ke}(p.Component);return(0,v.Z)(ie,\"contextType\",An),(0,v.Z)(ie,\"defaultProps\",{prefixCls:\"rc-trigger-popup\",getPopupClassNameFromAlign:Rn,getDocument:Nn,onPopupVisibleChange:sn,afterPopupVisibleChange:sn,onPopupAlign:sn,popupClassName:\"\",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1}),ie}var Fn=Vn(L)},16030:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return r}});var a=e(50959),o=e(56237);function r(u){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=[];return a.Children.forEach(u,function(f){f==null&&!l.keepEmpty||(Array.isArray(f)?d=d.concat(r(f)):(0,o.isFragment)(f)&&f.props?d=d.concat(r(f.props.children,l)):d.push(f))}),d}},61237:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return a}});function a(){return!!(typeof window!=\"undefined\"&&window.document&&window.document.createElement)}},89013:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return a}});function a(o,r){if(!o)return!1;if(o.contains)return o.contains(r);for(var u=r;u;){if(u===o)return!0;u=u.parentNode}return!1}},90899:function(c,m,e){\"use strict\";e.d(m,{S:function(){return r},Z:function(){return u}});var a=e(50959),o=e(10422);function r(l){return l instanceof HTMLElement||l instanceof SVGElement}function u(l){return r(l)?l:l instanceof a.Component?o.findDOMNode(l):null}},23318:function(c,m,e){\"use strict\";e.d(m,{tS:function(){return u}});var a=e(49544),o=e(25155);function r(h){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,o.Z)(h)){var y=h.nodeName.toLowerCase(),S=[\"input\",\"select\",\"textarea\",\"button\"].includes(y)||h.isContentEditable||y===\"a\"&&!!h.getAttribute(\"href\"),I=h.getAttribute(\"tabindex\"),N=Number(I),_=null;return I&&!Number.isNaN(N)?_=N:S&&_===null&&(_=0),S&&h.disabled&&(_=null),_!==null&&(_>=0||g&&_<0)}return!1}function u(h){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,y=(0,a.Z)(h.querySelectorAll(\"*\")).filter(function(S){return r(S,g)});return r(h,g)&&y.unshift(h),y}var l=null;function d(){l=document.activeElement}function f(){l=null}function v(){if(l)try{l.focus()}catch(h){}}function p(h,g){if(g.keyCode===9){var y=u(h),S=y[g.shiftKey?0:y.length-1],I=S===document.activeElement||h===document.activeElement;if(I){var N=y[g.shiftKey?y.length-1:0];N.focus(),g.preventDefault()}}}},25155:function(c,m){\"use strict\";m.Z=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var a=e.getBBox(),o=a.width,r=a.height;if(o||r)return!0}if(e.getBoundingClientRect){var u=e.getBoundingClientRect(),l=u.width,d=u.height;if(l||d)return!0}}return!1}},59158:function(c,m){\"use strict\";var e={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(o){var r=o.keyCode;if(o.altKey&&!o.ctrlKey||o.metaKey||r>=e.F1&&r<=e.F12)return!1;switch(r){case e.ALT:case e.CAPS_LOCK:case e.CONTEXT_MENU:case e.CTRL:case e.DOWN:case e.END:case e.ESC:case e.HOME:case e.INSERT:case e.LEFT:case e.MAC_FF_META:case e.META:case e.NUMLOCK:case e.NUM_CENTER:case e.PAGE_DOWN:case e.PAGE_UP:case e.PAUSE:case e.PRINT_SCREEN:case e.RIGHT:case e.SHIFT:case e.UP:case e.WIN_KEY:case e.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(o){if(o>=e.ZERO&&o<=e.NINE||o>=e.NUM_ZERO&&o<=e.NUM_MULTIPLY||o>=e.A&&o<=e.Z||window.navigator.userAgent.indexOf(\"WebKit\")!==-1&&o===0)return!0;switch(o){case e.SPACE:case e.QUESTION_MARK:case e.NUM_PLUS:case e.NUM_MINUS:case e.NUM_PERIOD:case e.NUM_DIVISION:case e.SEMICOLON:case e.DASH:case e.EQUALS:case e.COMMA:case e.PERIOD:case e.SLASH:case e.APOSTROPHE:case e.SINGLE_QUOTE:case e.OPEN_SQUARE_BRACKET:case e.BACKSLASH:case e.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};m.Z=e},51761:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return o}});var a=e(50959);function o(r){var u=a.useRef();u.current=r;var l=a.useCallback(function(){for(var d,f=arguments.length,v=new Array(f),p=0;p<f;p++)v[p]=arguments[p];return(d=u.current)===null||d===void 0?void 0:d.call.apply(d,[u].concat(v))},[]);return l}},57770:function(c,m,e){\"use strict\";e.d(m,{o:function(){return u}});var a=e(50959),o=e(61237),r=(0,o.Z)()?a.useLayoutEffect:a.useEffect;m.Z=r;var u=function(d,f){var v=a.useRef(!0);r(function(){if(!v.current)return d()},f),r(function(){return v.current=!1,function(){v.current=!0}},[])}},49308:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return o}});var a=e(50959);function o(r,u,l){var d=a.useRef({});return(!(\"value\"in d.current)||l(d.current.condition,u))&&(d.current.value=r(),d.current.condition=u),d.current.value}},47280:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return d}});var a=e(91600),o=e(51761),r=e(57770),u=e(13043);function l(f){return f!==void 0}function d(f,v){var p=v||{},h=p.defaultValue,g=p.value,y=p.onChange,S=p.postState,I=(0,u.Z)(function(){return l(g)?g:l(h)?typeof h==\"function\"?h():h:typeof f==\"function\"?f():f}),N=(0,a.Z)(I,2),_=N[0],M=N[1],L=g!==void 0?g:_,k=S?S(L):L,U=(0,o.Z)(y),x=(0,u.Z)([L]),F=(0,a.Z)(x,2),K=F[0],G=F[1];(0,r.o)(function(){var X=K[0];_!==X&&U(_,X)},[K]),(0,r.o)(function(){l(g)||M(g)},[g]);var q=(0,o.Z)(function(X,oe){M(X,oe),G([L],oe)});return[k,q]}},13043:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return r}});var a=e(91600),o=e(50959);function r(u){var l=o.useRef(!1),d=o.useState(u),f=(0,a.Z)(d,2),v=f[0],p=f[1];o.useEffect(function(){return l.current=!1,function(){l.current=!0}},[]);function h(g,y){y&&l.current||p(g)}return[v,h]}},37304:function(c,m,e){\"use strict\";var a=e(26143),o=e(53675);function r(u,l){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,f=new Set;function v(p,h){var g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,y=f.has(p);if((0,o.ZP)(!y,\"Warning: There may be circular references\"),y)return!1;if(p===h)return!0;if(d&&g>1)return!1;f.add(p);var S=g+1;if(Array.isArray(p)){if(!Array.isArray(h)||p.length!==h.length)return!1;for(var I=0;I<p.length;I++)if(!v(p[I],h[I],S))return!1;return!0}if(p&&h&&(0,a.Z)(p)===\"object\"&&(0,a.Z)(h)===\"object\"){var N=Object.keys(p);return N.length!==Object.keys(h).length?!1:N.every(function(_){return v(p[_],h[_],S)})}return!1}return v(u,l)}m.Z=r},31591:function(c,m){\"use strict\";m.Z=function(){if(typeof navigator==\"undefined\"||typeof window==\"undefined\")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(e==null?void 0:e.substr(0,4))}},97318:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return o}});var a=e(75782);function o(r,u){var l=(0,a.Z)({},r);return Array.isArray(u)&&u.forEach(function(d){delete l[d]}),l}},40086:function(c,m){\"use strict\";var e=function(f){return+setTimeout(f,16)},a=function(f){return clearTimeout(f)};typeof window!=\"undefined\"&&\"requestAnimationFrame\"in window&&(e=function(f){return window.requestAnimationFrame(f)},a=function(f){return window.cancelAnimationFrame(f)});var o=0,r=new Map;function u(d){r.delete(d)}var l=function(f){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;o+=1;var p=o;function h(g){if(g===0)u(p),f();else{var y=e(function(){h(g-1)});r.set(p,y)}}return h(v),p};l.cancel=function(d){var f=r.get(d);return u(f),a(f)},m.Z=l},64111:function(c,m,e){\"use strict\";e.d(m,{Yr:function(){return f},mH:function(){return u},sQ:function(){return l},x1:function(){return d}});var a=e(26143),o=e(56237),r=e(49308);function u(v,p){typeof v==\"function\"?v(p):(0,a.Z)(v)===\"object\"&&v&&\"current\"in v&&(v.current=p)}function l(){for(var v=arguments.length,p=new Array(v),h=0;h<v;h++)p[h]=arguments[h];var g=p.filter(function(y){return y});return g.length<=1?g[0]:function(y){p.forEach(function(S){u(S,y)})}}function d(){for(var v=arguments.length,p=new Array(v),h=0;h<v;h++)p[h]=arguments[h];return(0,r.Z)(function(){return l.apply(void 0,p)},p,function(g,y){return g.length===y.length&&g.every(function(S,I){return S===y[I]})})}function f(v){var p,h,g=(0,o.isMemo)(v)?v.type.type:v.type;return!(typeof g==\"function\"&&!((p=g.prototype)!==null&&p!==void 0&&p.render)||typeof v==\"function\"&&!((h=v.prototype)!==null&&h!==void 0&&h.render))}},53675:function(c,m,e){\"use strict\";e.d(m,{Kp:function(){return o}});var a={};function o(v,p){}function r(v,p){}function u(){a={}}function l(v,p,h){!p&&!a[h]&&(v(!1,h),a[h]=!0)}function d(v,p){l(o,v,p)}function f(v,p){l(r,v,p)}m.ZP=d},92015:function(c,m,e){\"use strict\";function a(F){return a=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(K){return typeof K}:function(K){return K&&typeof Symbol==\"function\"&&K.constructor===Symbol&&K!==Symbol.prototype?\"symbol\":typeof K},a(F)}Object.defineProperty(m,\"__esModule\",{value:!0}),m.CopyToClipboard=void 0;var o=l(e(50959)),r=l(e(874)),u=[\"text\",\"onCopy\",\"options\",\"children\"];function l(F){return F&&F.__esModule?F:{default:F}}function d(F,K){var G=Object.keys(F);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(F);K&&(q=q.filter(function(X){return Object.getOwnPropertyDescriptor(F,X).enumerable})),G.push.apply(G,q)}return G}function f(F){for(var K=1;K<arguments.length;K++){var G=arguments[K]!=null?arguments[K]:{};K%2?d(Object(G),!0).forEach(function(q){U(F,q,G[q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(F,Object.getOwnPropertyDescriptors(G)):d(Object(G)).forEach(function(q){Object.defineProperty(F,q,Object.getOwnPropertyDescriptor(G,q))})}return F}function v(F,K){if(F==null)return{};var G=p(F,K),q,X;if(Object.getOwnPropertySymbols){var oe=Object.getOwnPropertySymbols(F);for(X=0;X<oe.length;X++)q=oe[X],!(K.indexOf(q)>=0)&&Object.prototype.propertyIsEnumerable.call(F,q)&&(G[q]=F[q])}return G}function p(F,K){if(F==null)return{};var G={},q=Object.keys(F),X,oe;for(oe=0;oe<q.length;oe++)X=q[oe],!(K.indexOf(X)>=0)&&(G[X]=F[X]);return G}function h(F,K){if(!(F instanceof K))throw new TypeError(\"Cannot call a class as a function\")}function g(F,K){for(var G=0;G<K.length;G++){var q=K[G];q.enumerable=q.enumerable||!1,q.configurable=!0,\"value\"in q&&(q.writable=!0),Object.defineProperty(F,q.key,q)}}function y(F,K,G){return K&&g(F.prototype,K),G&&g(F,G),Object.defineProperty(F,\"prototype\",{writable:!1}),F}function S(F,K){if(typeof K!=\"function\"&&K!==null)throw new TypeError(\"Super expression must either be null or a function\");F.prototype=Object.create(K&&K.prototype,{constructor:{value:F,writable:!0,configurable:!0}}),Object.defineProperty(F,\"prototype\",{writable:!1}),K&&I(F,K)}function I(F,K){return I=Object.setPrototypeOf||function(q,X){return q.__proto__=X,q},I(F,K)}function N(F){var K=L();return function(){var q=k(F),X;if(K){var oe=k(this).constructor;X=Reflect.construct(q,arguments,oe)}else X=q.apply(this,arguments);return _(this,X)}}function _(F,K){if(K&&(a(K)===\"object\"||typeof K==\"function\"))return K;if(K!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return M(F)}function M(F){if(F===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return F}function L(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(F){return!1}}function k(F){return k=Object.setPrototypeOf?Object.getPrototypeOf:function(G){return G.__proto__||Object.getPrototypeOf(G)},k(F)}function U(F,K,G){return K in F?Object.defineProperty(F,K,{value:G,enumerable:!0,configurable:!0,writable:!0}):F[K]=G,F}var x=function(F){S(G,F);var K=N(G);function G(){var q;h(this,G);for(var X=arguments.length,oe=new Array(X),Ee=0;Ee<X;Ee++)oe[Ee]=arguments[Ee];return q=K.call.apply(K,[this].concat(oe)),U(M(q),\"onClick\",function(Te){var ae=q.props,z=ae.text,A=ae.onCopy,T=ae.children,R=ae.options,j=o.default.Children.only(T),C=(0,r.default)(z,R);A&&A(z,C),j&&j.props&&typeof j.props.onClick==\"function\"&&j.props.onClick(Te)}),q}return y(G,[{key:\"render\",value:function(){var X=this.props,oe=X.text,Ee=X.onCopy,Te=X.options,ae=X.children,z=v(X,u),A=o.default.Children.only(ae);return o.default.cloneElement(A,f(f({},z),{},{onClick:this.onClick}))}}]),G}(o.default.PureComponent);m.CopyToClipboard=x,U(x,\"defaultProps\",{onCopy:void 0,options:void 0})},90943:function(c,m,e){\"use strict\";var a=e(92015),o=a.CopyToClipboard;o.CopyToClipboard=o,c.exports=o},53746:function(c,m,e){\"use strict\";var a=e(50959),o=e(22962);function r(t){for(var n=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+t,i=1;i<arguments.length;i++)n+=\"&args[]=\"+encodeURIComponent(arguments[i]);return\"Minified React error #\"+t+\"; visit \"+n+\" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"}var u=new Set,l={};function d(t,n){f(t,n),f(t+\"Capture\",n)}function f(t,n){for(l[t]=n,t=0;t<n.length;t++)u.add(n[t])}var v=!(typeof window==\"undefined\"||typeof window.document==\"undefined\"||typeof window.document.createElement==\"undefined\"),p=Object.prototype.hasOwnProperty,h=/^[: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]*$/,g={},y={};function S(t){return p.call(y,t)?!0:p.call(g,t)?!1:h.test(t)?y[t]=!0:(g[t]=!0,!1)}function I(t,n,i,s){if(i!==null&&i.type===0)return!1;switch(typeof n){case\"function\":case\"symbol\":return!0;case\"boolean\":return s?!1:i!==null?!i.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!==\"data-\"&&t!==\"aria-\");default:return!1}}function N(t,n,i,s){if(n===null||typeof n==\"undefined\"||I(t,n,i,s))return!0;if(s)return!1;if(i!==null)switch(i.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function _(t,n,i,s,E,O,$){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=s,this.attributeNamespace=E,this.mustUseProperty=i,this.propertyName=t,this.type=n,this.sanitizeURL=O,this.removeEmptyString=$}var M={};\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach(function(t){M[t]=new _(t,0,!1,t,null,!1,!1)}),[[\"acceptCharset\",\"accept-charset\"],[\"className\",\"class\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"]].forEach(function(t){var n=t[0];M[n]=new _(n,1,!1,t[1],null,!1,!1)}),[\"contentEditable\",\"draggable\",\"spellCheck\",\"value\"].forEach(function(t){M[t]=new _(t,2,!1,t.toLowerCase(),null,!1,!1)}),[\"autoReverse\",\"externalResourcesRequired\",\"focusable\",\"preserveAlpha\"].forEach(function(t){M[t]=new _(t,2,!1,t,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(t){M[t]=new _(t,3,!1,t.toLowerCase(),null,!1,!1)}),[\"checked\",\"multiple\",\"muted\",\"selected\"].forEach(function(t){M[t]=new _(t,3,!0,t,null,!1,!1)}),[\"capture\",\"download\"].forEach(function(t){M[t]=new _(t,4,!1,t,null,!1,!1)}),[\"cols\",\"rows\",\"size\",\"span\"].forEach(function(t){M[t]=new _(t,6,!1,t,null,!1,!1)}),[\"rowSpan\",\"start\"].forEach(function(t){M[t]=new _(t,5,!1,t.toLowerCase(),null,!1,!1)});var L=/[\\-:]([a-z])/g;function k(t){return t[1].toUpperCase()}\"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(t){var n=t.replace(L,k);M[n]=new _(n,1,!1,t,null,!1,!1)}),\"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type\".split(\" \").forEach(function(t){var n=t.replace(L,k);M[n]=new _(n,1,!1,t,\"http://www.w3.org/1999/xlink\",!1,!1)}),[\"xml:base\",\"xml:lang\",\"xml:space\"].forEach(function(t){var n=t.replace(L,k);M[n]=new _(n,1,!1,t,\"http://www.w3.org/XML/1998/namespace\",!1,!1)}),[\"tabIndex\",\"crossOrigin\"].forEach(function(t){M[t]=new _(t,1,!1,t.toLowerCase(),null,!1,!1)}),M.xlinkHref=new _(\"xlinkHref\",1,!1,\"xlink:href\",\"http://www.w3.org/1999/xlink\",!0,!1),[\"src\",\"href\",\"action\",\"formAction\"].forEach(function(t){M[t]=new _(t,1,!1,t.toLowerCase(),null,!0,!0)});function U(t,n,i,s){var E=M.hasOwnProperty(n)?M[n]:null;(E!==null?E.type!==0:s||!(2<n.length)||n[0]!==\"o\"&&n[0]!==\"O\"||n[1]!==\"n\"&&n[1]!==\"N\")&&(N(n,i,E,s)&&(i=null),s||E===null?S(n)&&(i===null?t.removeAttribute(n):t.setAttribute(n,\"\"+i)):E.mustUseProperty?t[E.propertyName]=i===null?E.type===3?!1:\"\":i:(n=E.attributeName,s=E.attributeNamespace,i===null?t.removeAttribute(n):(E=E.type,i=E===3||E===4&&i===!0?\"\":\"\"+i,s?t.setAttributeNS(s,n,i):t.setAttribute(n,i))))}var x=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,F=Symbol.for(\"react.element\"),K=Symbol.for(\"react.portal\"),G=Symbol.for(\"react.fragment\"),q=Symbol.for(\"react.strict_mode\"),X=Symbol.for(\"react.profiler\"),oe=Symbol.for(\"react.provider\"),Ee=Symbol.for(\"react.context\"),Te=Symbol.for(\"react.forward_ref\"),ae=Symbol.for(\"react.suspense\"),z=Symbol.for(\"react.suspense_list\"),A=Symbol.for(\"react.memo\"),T=Symbol.for(\"react.lazy\");Symbol.for(\"react.scope\"),Symbol.for(\"react.debug_trace_mode\");var R=Symbol.for(\"react.offscreen\");Symbol.for(\"react.legacy_hidden\"),Symbol.for(\"react.cache\"),Symbol.for(\"react.tracing_marker\");var j=Symbol.iterator;function C(t){return t===null||typeof t!=\"object\"?null:(t=j&&t[j]||t[\"@@iterator\"],typeof t==\"function\"?t:null)}var B=Object.assign,fe;function Ae(t){if(fe===void 0)try{throw Error()}catch(i){var n=i.stack.trim().match(/\\n( *(at )?)/);fe=n&&n[1]||\"\"}return`\n`+fe+t}var ge=!1;function ce(t,n){if(!t||ge)return\"\";ge=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,\"props\",{set:function(){throw Error()}}),typeof Reflect==\"object\"&&Reflect.construct){try{Reflect.construct(n,[])}catch(et){var s=et}Reflect.construct(t,[],n)}else{try{n.call()}catch(et){s=et}t.call(n.prototype)}else{try{throw Error()}catch(et){s=et}t()}}catch(et){if(et&&s&&typeof et.stack==\"string\"){for(var E=et.stack.split(`\n`),O=s.stack.split(`\n`),$=E.length-1,ve=O.length-1;1<=$&&0<=ve&&E[$]!==O[ve];)ve--;for(;1<=$&&0<=ve;$--,ve--)if(E[$]!==O[ve]){if($!==1||ve!==1)do if($--,ve--,0>ve||E[$]!==O[ve]){var Pe=`\n`+E[$].replace(\" at new \",\" at \");return t.displayName&&Pe.includes(\"<anonymous>\")&&(Pe=Pe.replace(\"<anonymous>\",t.displayName)),Pe}while(1<=$&&0<=ve);break}}}finally{ge=!1,Error.prepareStackTrace=i}return(t=t?t.displayName||t.name:\"\")?Ae(t):\"\"}function Me(t){switch(t.tag){case 5:return Ae(t.type);case 16:return Ae(\"Lazy\");case 13:return Ae(\"Suspense\");case 19:return Ae(\"SuspenseList\");case 0:case 2:case 15:return t=ce(t.type,!1),t;case 11:return t=ce(t.type.render,!1),t;case 1:return t=ce(t.type,!0),t;default:return\"\"}}function _e(t){if(t==null)return null;if(typeof t==\"function\")return t.displayName||t.name||null;if(typeof t==\"string\")return t;switch(t){case G:return\"Fragment\";case K:return\"Portal\";case X:return\"Profiler\";case q:return\"StrictMode\";case ae:return\"Suspense\";case z:return\"SuspenseList\"}if(typeof t==\"object\")switch(t.$$typeof){case Ee:return(t.displayName||\"Context\")+\".Consumer\";case oe:return(t._context.displayName||\"Context\")+\".Provider\";case Te:var n=t.render;return t=t.displayName,t||(t=n.displayName||n.name||\"\",t=t!==\"\"?\"ForwardRef(\"+t+\")\":\"ForwardRef\"),t;case A:return n=t.displayName||null,n!==null?n:_e(t.type)||\"Memo\";case T:n=t._payload,t=t._init;try{return _e(t(n))}catch(i){}}return null}function De(t){var n=t.type;switch(t.tag){case 24:return\"Cache\";case 9:return(n.displayName||\"Context\")+\".Consumer\";case 10:return(n._context.displayName||\"Context\")+\".Provider\";case 18:return\"DehydratedFragment\";case 11:return t=n.render,t=t.displayName||t.name||\"\",n.displayName||(t!==\"\"?\"ForwardRef(\"+t+\")\":\"ForwardRef\");case 7:return\"Fragment\";case 5:return n;case 4:return\"Portal\";case 3:return\"Root\";case 6:return\"Text\";case 16:return _e(n);case 8:return n===q?\"StrictMode\":\"Mode\";case 22:return\"Offscreen\";case 12:return\"Profiler\";case 21:return\"Scope\";case 13:return\"Suspense\";case 19:return\"SuspenseList\";case 25:return\"TracingMarker\";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n==\"function\")return n.displayName||n.name||null;if(typeof n==\"string\")return n}return null}function Ce(t){switch(typeof t){case\"boolean\":case\"number\":case\"string\":case\"undefined\":return t;case\"object\":return t;default:return\"\"}}function it(t){var n=t.type;return(t=t.nodeName)&&t.toLowerCase()===\"input\"&&(n===\"checkbox\"||n===\"radio\")}function V(t){var n=it(t)?\"checked\":\"value\",i=Object.getOwnPropertyDescriptor(t.constructor.prototype,n),s=\"\"+t[n];if(!t.hasOwnProperty(n)&&typeof i!=\"undefined\"&&typeof i.get==\"function\"&&typeof i.set==\"function\"){var E=i.get,O=i.set;return Object.defineProperty(t,n,{configurable:!0,get:function(){return E.call(this)},set:function($){s=\"\"+$,O.call(this,$)}}),Object.defineProperty(t,n,{enumerable:i.enumerable}),{getValue:function(){return s},setValue:function($){s=\"\"+$},stopTracking:function(){t._valueTracker=null,delete t[n]}}}}function we(t){t._valueTracker||(t._valueTracker=V(t))}function Ie(t){if(!t)return!1;var n=t._valueTracker;if(!n)return!0;var i=n.getValue(),s=\"\";return t&&(s=it(t)?t.checked?\"true\":\"false\":t.value),t=s,t!==i?(n.setValue(t),!0):!1}function le(t){if(t=t||(typeof document!=\"undefined\"?document:void 0),typeof t==\"undefined\")return null;try{return t.activeElement||t.body}catch(n){return t.body}}function Ne(t,n){var i=n.checked;return B({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i!=null?i:t._wrapperState.initialChecked})}function te(t,n){var i=n.defaultValue==null?\"\":n.defaultValue,s=n.checked!=null?n.checked:n.defaultChecked;i=Ce(n.value!=null?n.value:i),t._wrapperState={initialChecked:s,initialValue:i,controlled:n.type===\"checkbox\"||n.type===\"radio\"?n.checked!=null:n.value!=null}}function se(t,n){n=n.checked,n!=null&&U(t,\"checked\",n,!1)}function pe(t,n){se(t,n);var i=Ce(n.value),s=n.type;if(i!=null)s===\"number\"?(i===0&&t.value===\"\"||t.value!=i)&&(t.value=\"\"+i):t.value!==\"\"+i&&(t.value=\"\"+i);else if(s===\"submit\"||s===\"reset\"){t.removeAttribute(\"value\");return}n.hasOwnProperty(\"value\")?Se(t,n.type,i):n.hasOwnProperty(\"defaultValue\")&&Se(t,n.type,Ce(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(t.defaultChecked=!!n.defaultChecked)}function ee(t,n,i){if(n.hasOwnProperty(\"value\")||n.hasOwnProperty(\"defaultValue\")){var s=n.type;if(!(s!==\"submit\"&&s!==\"reset\"||n.value!==void 0&&n.value!==null))return;n=\"\"+t._wrapperState.initialValue,i||n===t.value||(t.value=n),t.defaultValue=n}i=t.name,i!==\"\"&&(t.name=\"\"),t.defaultChecked=!!t._wrapperState.initialChecked,i!==\"\"&&(t.name=i)}function Se(t,n,i){(n!==\"number\"||le(t.ownerDocument)!==t)&&(i==null?t.defaultValue=\"\"+t._wrapperState.initialValue:t.defaultValue!==\"\"+i&&(t.defaultValue=\"\"+i))}var Q=Array.isArray;function Z(t,n,i,s){if(t=t.options,n){n={};for(var E=0;E<i.length;E++)n[\"$\"+i[E]]=!0;for(i=0;i<t.length;i++)E=n.hasOwnProperty(\"$\"+t[i].value),t[i].selected!==E&&(t[i].selected=E),E&&s&&(t[i].defaultSelected=!0)}else{for(i=\"\"+Ce(i),n=null,E=0;E<t.length;E++){if(t[E].value===i){t[E].selected=!0,s&&(t[E].defaultSelected=!0);return}n!==null||t[E].disabled||(n=t[E])}n!==null&&(n.selected=!0)}}function Y(t,n){if(n.dangerouslySetInnerHTML!=null)throw Error(r(91));return B({},n,{value:void 0,defaultValue:void 0,children:\"\"+t._wrapperState.initialValue})}function ue(t,n){var i=n.value;if(i==null){if(i=n.children,n=n.defaultValue,i!=null){if(n!=null)throw Error(r(92));if(Q(i)){if(1<i.length)throw Error(r(93));i=i[0]}n=i}n==null&&(n=\"\"),i=n}t._wrapperState={initialValue:Ce(i)}}function he(t,n){var i=Ce(n.value),s=Ce(n.defaultValue);i!=null&&(i=\"\"+i,i!==t.value&&(t.value=i),n.defaultValue==null&&t.defaultValue!==i&&(t.defaultValue=i)),s!=null&&(t.defaultValue=\"\"+s)}function me(t){var n=t.textContent;n===t._wrapperState.initialValue&&n!==\"\"&&n!==null&&(t.value=n)}function Oe(t){switch(t){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 We(t,n){return t==null||t===\"http://www.w3.org/1999/xhtml\"?Oe(n):t===\"http://www.w3.org/2000/svg\"&&n===\"foreignObject\"?\"http://www.w3.org/1999/xhtml\":t}var ke,It=function(t){return typeof MSApp!=\"undefined\"&&MSApp.execUnsafeLocalFunction?function(n,i,s,E){MSApp.execUnsafeLocalFunction(function(){return t(n,i,s,E)})}:t}(function(t,n){if(t.namespaceURI!==\"http://www.w3.org/2000/svg\"||\"innerHTML\"in t)t.innerHTML=n;else{for(ke=ke||document.createElement(\"div\"),ke.innerHTML=\"<svg>\"+n.valueOf().toString()+\"</svg>\",n=ke.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;n.firstChild;)t.appendChild(n.firstChild)}});function ft(t,n){if(n){var i=t.firstChild;if(i&&i===t.lastChild&&i.nodeType===3){i.nodeValue=n;return}}t.textContent=n}var nn={animationIterationCount:!0,aspectRatio:!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},b=[\"Webkit\",\"ms\",\"Moz\",\"O\"];Object.keys(nn).forEach(function(t){b.forEach(function(n){n=n+t.charAt(0).toUpperCase()+t.substring(1),nn[n]=nn[t]})});function W(t,n,i){return n==null||typeof n==\"boolean\"||n===\"\"?\"\":i||typeof n!=\"number\"||n===0||nn.hasOwnProperty(t)&&nn[t]?(\"\"+n).trim():n+\"px\"}function de(t,n){t=t.style;for(var i in n)if(n.hasOwnProperty(i)){var s=i.indexOf(\"--\")===0,E=W(i,n[i],s);i===\"float\"&&(i=\"cssFloat\"),s?t.setProperty(i,E):t[i]=E}}var ye=B({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 He(t,n){if(n){if(ye[t]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(r(137,t));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(r(60));if(typeof n.dangerouslySetInnerHTML!=\"object\"||!(\"__html\"in n.dangerouslySetInnerHTML))throw Error(r(61))}if(n.style!=null&&typeof n.style!=\"object\")throw Error(r(62))}}function rt(t,n){if(t.indexOf(\"-\")===-1)return typeof n.is==\"string\";switch(t){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}}var $e=null;function pt(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Ot=null,at=null,wt=null;function vt(t){if(t=Mn(t)){if(typeof Ot!=\"function\")throw Error(r(280));var n=t.stateNode;n&&(n=$r(n),Ot(t.stateNode,t.type,n))}}function jt(t){at?wt?wt.push(t):wt=[t]:at=t}function At(){if(at){var t=at,n=wt;if(wt=at=null,vt(t),n)for(t=0;t<n.length;t++)vt(n[t])}}function qt(t,n){return t(n)}function En(){}var Ft=!1;function _n(t,n,i){if(Ft)return t(n,i);Ft=!0;try{return qt(t,n,i)}finally{Ft=!1,(at!==null||wt!==null)&&(En(),At())}}function xn(t,n){var i=t.stateNode;if(i===null)return null;var s=$r(i);if(s===null)return null;i=s[n];e:switch(n){case\"onClick\":case\"onClickCapture\":case\"onDoubleClick\":case\"onDoubleClickCapture\":case\"onMouseDown\":case\"onMouseDownCapture\":case\"onMouseMove\":case\"onMouseMoveCapture\":case\"onMouseUp\":case\"onMouseUpCapture\":case\"onMouseEnter\":(s=!s.disabled)||(t=t.type,s=!(t===\"button\"||t===\"input\"||t===\"select\"||t===\"textarea\")),t=!s;break e;default:t=!1}if(t)return null;if(i&&typeof i!=\"function\")throw Error(r(231,n,typeof i));return i}var Zn=!1;if(v)try{var Wn={};Object.defineProperty(Wn,\"passive\",{get:function(){Zn=!0}}),window.addEventListener(\"test\",Wn,Wn),window.removeEventListener(\"test\",Wn,Wn)}catch(t){Zn=!1}function Jn(t,n,i,s,E,O,$,ve,Pe){var et=Array.prototype.slice.call(arguments,3);try{n.apply(i,et)}catch(St){this.onError(St)}}var Un=!1,qn=null,cr=!1,pr=null,vr={onError:function(t){Un=!0,qn=t}};function Dn(t,n,i,s,E,O,$,ve,Pe){Un=!1,qn=null,Jn.apply(vr,arguments)}function br(t,n,i,s,E,O,$,ve,Pe){if(Dn.apply(this,arguments),Un){if(Un){var et=qn;Un=!1,qn=null}else throw Error(r(198));cr||(cr=!0,pr=et)}}function zn(t){var n=t,i=t;if(t.alternate)for(;n.return;)n=n.return;else{t=n;do n=t,n.flags&4098&&(i=n.return),t=n.return;while(t)}return n.tag===3?i:null}function Re(t){if(t.tag===13){var n=t.memoizedState;if(n===null&&(t=t.alternate,t!==null&&(n=t.memoizedState)),n!==null)return n.dehydrated}return null}function Ge(t){if(zn(t)!==t)throw Error(r(188))}function ot(t){var n=t.alternate;if(!n){if(n=zn(t),n===null)throw Error(r(188));return n!==t?null:t}for(var i=t,s=n;;){var E=i.return;if(E===null)break;var O=E.alternate;if(O===null){if(s=E.return,s!==null){i=s;continue}break}if(E.child===O.child){for(O=E.child;O;){if(O===i)return Ge(E),t;if(O===s)return Ge(E),n;O=O.sibling}throw Error(r(188))}if(i.return!==s.return)i=E,s=O;else{for(var $=!1,ve=E.child;ve;){if(ve===i){$=!0,i=E,s=O;break}if(ve===s){$=!0,s=E,i=O;break}ve=ve.sibling}if(!$){for(ve=O.child;ve;){if(ve===i){$=!0,i=O,s=E;break}if(ve===s){$=!0,s=O,i=E;break}ve=ve.sibling}if(!$)throw Error(r(189))}}if(i.alternate!==s)throw Error(r(190))}if(i.tag!==3)throw Error(r(188));return i.stateNode.current===i?t:n}function Dt(t){return t=ot(t),t!==null?Nt(t):null}function Nt(t){if(t.tag===5||t.tag===6)return t;for(t=t.child;t!==null;){var n=Nt(t);if(n!==null)return n;t=t.sibling}return null}var Lt=o.unstable_scheduleCallback,Ht=o.unstable_cancelCallback,Vt=o.unstable_shouldYield,an=o.unstable_requestPaint,Wt=o.unstable_now,bn=o.unstable_getCurrentPriorityLevel,ln=o.unstable_ImmediatePriority,tt=o.unstable_UserBlockingPriority,Ze=o.unstable_NormalPriority,nt=o.unstable_LowPriority,st=o.unstable_IdlePriority,Qe=null,ct=null;function lt(t){if(ct&&typeof ct.onCommitFiberRoot==\"function\")try{ct.onCommitFiberRoot(Qe,t,void 0,(t.current.flags&128)===128)}catch(n){}}var gt=Math.clz32?Math.clz32:Pt,mt=Math.log,Et=Math.LN2;function Pt(t){return t>>>=0,t===0?32:31-(mt(t)/Et|0)|0}var Mt=64,Bt=4194304;function Kt(t){switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function Yt(t,n){var i=t.pendingLanes;if(i===0)return 0;var s=0,E=t.suspendedLanes,O=t.pingedLanes,$=i&268435455;if($!==0){var ve=$&~E;ve!==0?s=Kt(ve):(O&=$,O!==0&&(s=Kt(O)))}else $=i&~E,$!==0?s=Kt($):O!==0&&(s=Kt(O));if(s===0)return 0;if(n!==0&&n!==s&&!(n&E)&&(E=s&-s,O=n&-n,E>=O||E===16&&(O&4194240)!==0))return n;if(s&4&&(s|=i&16),n=t.entangledLanes,n!==0)for(t=t.entanglements,n&=s;0<n;)i=31-gt(n),E=1<<i,s|=t[i],n&=~E;return s}function $t(t,n){switch(t){case 1:case 2:case 4:return n+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function dn(t,n){for(var i=t.suspendedLanes,s=t.pingedLanes,E=t.expirationTimes,O=t.pendingLanes;0<O;){var $=31-gt(O),ve=1<<$,Pe=E[$];Pe===-1?(!(ve&i)||ve&s)&&(E[$]=$t(ve,n)):Pe<=n&&(t.expiredLanes|=ve),O&=~ve}}function Xt(t){return t=t.pendingLanes&-1073741825,t!==0?t:t&1073741824?1073741824:0}function en(){var t=Mt;return Mt<<=1,!(Mt&4194240)&&(Mt=64),t}function hn(t){for(var n=[],i=0;31>i;i++)n.push(t);return n}function pn(t,n,i){t.pendingLanes|=n,n!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,n=31-gt(n),t[n]=i}function Sn(t,n){var i=t.pendingLanes&~n;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=n,t.mutableReadLanes&=n,t.entangledLanes&=n,n=t.entanglements;var s=t.eventTimes;for(t=t.expirationTimes;0<i;){var E=31-gt(i),O=1<<E;n[E]=0,s[E]=-1,t[E]=-1,i&=~O}}function fn(t,n){var i=t.entangledLanes|=n;for(t=t.entanglements;i;){var s=31-gt(i),E=1<<s;E&n|t[s]&n&&(t[s]|=n),i&=~E}}var Zt=0;function ar(t){return t&=-t,1<t?4<t?t&268435455?16:536870912:4:1}var An,sn,Rn,Nn,Bn,Vn=!1,Fn=[],H=null,ie=null,re=null,xe=new Map,Ke=new Map,Ue=[],J=\"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 w(t,n){switch(t){case\"focusin\":case\"focusout\":H=null;break;case\"dragenter\":case\"dragleave\":ie=null;break;case\"mouseover\":case\"mouseout\":re=null;break;case\"pointerover\":case\"pointerout\":xe.delete(n.pointerId);break;case\"gotpointercapture\":case\"lostpointercapture\":Ke.delete(n.pointerId)}}function P(t,n,i,s,E,O){return t===null||t.nativeEvent!==O?(t={blockedOn:n,domEventName:i,eventSystemFlags:s,nativeEvent:O,targetContainers:[E]},n!==null&&(n=Mn(n),n!==null&&sn(n)),t):(t.eventSystemFlags|=s,n=t.targetContainers,E!==null&&n.indexOf(E)===-1&&n.push(E),t)}function D(t,n,i,s,E){switch(n){case\"focusin\":return H=P(H,t,n,i,s,E),!0;case\"dragenter\":return ie=P(ie,t,n,i,s,E),!0;case\"mouseover\":return re=P(re,t,n,i,s,E),!0;case\"pointerover\":var O=E.pointerId;return xe.set(O,P(xe.get(O)||null,t,n,i,s,E)),!0;case\"gotpointercapture\":return O=E.pointerId,Ke.set(O,P(Ke.get(O)||null,t,n,i,s,E)),!0}return!1}function ne(t){var n=dr(t.target);if(n!==null){var i=zn(n);if(i!==null){if(n=i.tag,n===13){if(n=Re(i),n!==null){t.blockedOn=n,Bn(t.priority,function(){Rn(i)});return}}else if(n===3&&i.stateNode.current.memoizedState.isDehydrated){t.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}t.blockedOn=null}function be(t){if(t.blockedOn!==null)return!1;for(var n=t.targetContainers;0<n.length;){var i=cn(t.domEventName,t.eventSystemFlags,n[0],t.nativeEvent);if(i===null){i=t.nativeEvent;var s=new i.constructor(i.type,i);$e=s,i.target.dispatchEvent(s),$e=null}else return n=Mn(i),n!==null&&sn(n),t.blockedOn=i,!1;n.shift()}return!0}function Le(t,n,i){be(t)&&i.delete(n)}function je(){Vn=!1,H!==null&&be(H)&&(H=null),ie!==null&&be(ie)&&(ie=null),re!==null&&be(re)&&(re=null),xe.forEach(Le),Ke.forEach(Le)}function ze(t,n){t.blockedOn===n&&(t.blockedOn=null,Vn||(Vn=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,je)))}function ut(t){function n(E){return ze(E,t)}if(0<Fn.length){ze(Fn[0],t);for(var i=1;i<Fn.length;i++){var s=Fn[i];s.blockedOn===t&&(s.blockedOn=null)}}for(H!==null&&ze(H,t),ie!==null&&ze(ie,t),re!==null&&ze(re,t),xe.forEach(n),Ke.forEach(n),i=0;i<Ue.length;i++)s=Ue[i],s.blockedOn===t&&(s.blockedOn=null);for(;0<Ue.length&&(i=Ue[0],i.blockedOn===null);)ne(i),i.blockedOn===null&&Ue.shift()}var dt=x.ReactCurrentBatchConfig,Ct=!0;function Rt(t,n,i,s){var E=Zt,O=dt.transition;dt.transition=null;try{Zt=1,Ut(t,n,i,s)}finally{Zt=E,dt.transition=O}}function kt(t,n,i,s){var E=Zt,O=dt.transition;dt.transition=null;try{Zt=4,Ut(t,n,i,s)}finally{Zt=E,dt.transition=O}}function Ut(t,n,i,s){if(Ct){var E=cn(t,n,i,s);if(E===null)Ni(t,n,s,Qt,i),w(t,s);else if(D(E,t,n,i,s))s.stopPropagation();else if(w(t,s),n&4&&-1<J.indexOf(t)){for(;E!==null;){var O=Mn(E);if(O!==null&&An(O),O=cn(t,n,i,s),O===null&&Ni(t,n,s,Qt,i),O===E)break;E=O}E!==null&&s.stopPropagation()}else Ni(t,n,s,null,i)}}var Qt=null;function cn(t,n,i,s){if(Qt=null,t=pt(s),t=dr(t),t!==null)if(n=zn(t),n===null)t=null;else if(i=n.tag,i===13){if(t=Re(n),t!==null)return t;t=null}else if(i===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;t=null}else n!==t&&(t=null);return Qt=t,null}function wn(t){switch(t){case\"cancel\":case\"click\":case\"close\":case\"contextmenu\":case\"copy\":case\"cut\":case\"auxclick\":case\"dblclick\":case\"dragend\":case\"dragstart\":case\"drop\":case\"focusin\":case\"focusout\":case\"input\":case\"invalid\":case\"keydown\":case\"keypress\":case\"keyup\":case\"mousedown\":case\"mouseup\":case\"paste\":case\"pause\":case\"play\":case\"pointercancel\":case\"pointerdown\":case\"pointerup\":case\"ratechange\":case\"reset\":case\"resize\":case\"seeked\":case\"submit\":case\"touchcancel\":case\"touchend\":case\"touchstart\":case\"volumechange\":case\"change\":case\"selectionchange\":case\"textInput\":case\"compositionstart\":case\"compositionend\":case\"compositionupdate\":case\"beforeblur\":case\"afterblur\":case\"beforeinput\":case\"blur\":case\"fullscreenchange\":case\"focus\":case\"hashchange\":case\"popstate\":case\"select\":case\"selectstart\":return 1;case\"drag\":case\"dragenter\":case\"dragexit\":case\"dragleave\":case\"dragover\":case\"mousemove\":case\"mouseout\":case\"mouseover\":case\"pointermove\":case\"pointerout\":case\"pointerover\":case\"scroll\":case\"toggle\":case\"touchmove\":case\"wheel\":case\"mouseenter\":case\"mouseleave\":case\"pointerenter\":case\"pointerleave\":return 4;case\"message\":switch(bn()){case ln:return 1;case tt:return 4;case Ze:case nt:return 16;case st:return 536870912;default:return 16}default:return 16}}var gn=null,Kn=null,Pn=null;function Ln(){if(Pn)return Pn;var t,n=Kn,i=n.length,s,E=\"value\"in gn?gn.value:gn.textContent,O=E.length;for(t=0;t<i&&n[t]===E[t];t++);var $=i-t;for(s=1;s<=$&&n[i-s]===E[O-s];s++);return Pn=E.slice(t,1<s?1-s:void 0)}function er(t){var n=t.keyCode;return\"charCode\"in t?(t=t.charCode,t===0&&n===13&&(t=13)):t=n,t===10&&(t=13),32<=t||t===13?t:0}function or(){return!0}function Ar(){return!1}function Xn(t){function n(i,s,E,O,$){this._reactName=i,this._targetInst=E,this.type=s,this.nativeEvent=O,this.target=$,this.currentTarget=null;for(var ve in t)t.hasOwnProperty(ve)&&(i=t[ve],this[ve]=i?i(O):O[ve]);return this.isDefaultPrevented=(O.defaultPrevented!=null?O.defaultPrevented:O.returnValue===!1)?or:Ar,this.isPropagationStopped=Ar,this}return B(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!=\"unknown\"&&(i.returnValue=!1),this.isDefaultPrevented=or)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!=\"unknown\"&&(i.cancelBubble=!0),this.isPropagationStopped=or)},persist:function(){},isPersistent:or}),n}var Yn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Er=Xn(Yn),Hn=B({},Yn,{view:0,detail:0}),Ir=Xn(Hn),kr,fr,Rr,hr=B({},Hn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return\"movementX\"in t?t.movementX:(t!==Rr&&(Rr&&t.type===\"mousemove\"?(kr=t.screenX-Rr.screenX,fr=t.screenY-Rr.screenY):fr=kr=0,Rr=t),kr)},movementY:function(t){return\"movementY\"in t?t.movementY:fr}}),Tr=Xn(hr),La=B({},hr,{dataTransfer:0}),za=Xn(La),Ha=B({},Hn,{relatedTarget:0}),Gr=Xn(Ha),$a=B({},Yn,{animationName:0,elapsedTime:0,pseudoElement:0}),Vr=Xn($a),pa=B({},Yn,{clipboardData:function(t){return\"clipboardData\"in t?t.clipboardData:window.clipboardData}}),ya=Xn(pa),ir=B({},Yn,{data:0}),Pr=Xn(ir),Yr={Esc:\"Escape\",Spacebar:\" \",Left:\"ArrowLeft\",Up:\"ArrowUp\",Right:\"ArrowRight\",Down:\"ArrowDown\",Del:\"Delete\",Win:\"OS\",Menu:\"ContextMenu\",Apps:\"ContextMenu\",Scroll:\"ScrollLock\",MozPrintableKey:\"Unidentified\"},xr={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\"},Oa={Alt:\"altKey\",Control:\"ctrlKey\",Meta:\"metaKey\",Shift:\"shiftKey\"};function na(t){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(t):(t=Oa[t])?!!n[t]:!1}function Cn(){return na}var xt=B({},Hn,{key:function(t){if(t.key){var n=Yr[t.key]||t.key;if(n!==\"Unidentified\")return n}return t.type===\"keypress\"?(t=er(t),t===13?\"Enter\":String.fromCharCode(t)):t.type===\"keydown\"||t.type===\"keyup\"?xr[t.keyCode]||\"Unidentified\":\"\"},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(t){return t.type===\"keypress\"?er(t):0},keyCode:function(t){return t.type===\"keydown\"||t.type===\"keyup\"?t.keyCode:0},which:function(t){return t.type===\"keypress\"?er(t):t.type===\"keydown\"||t.type===\"keyup\"?t.keyCode:0}}),ur=Xn(xt),tr=B({},hr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Fr=Xn(tr),_r=B({},Hn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn}),To=Xn(_r),ro=B({},Yn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Aa=Xn(ro),xo=B({},hr,{deltaX:function(t){return\"deltaX\"in t?t.deltaX:\"wheelDeltaX\"in t?-t.wheelDeltaX:0},deltaY:function(t){return\"deltaY\"in t?t.deltaY:\"wheelDeltaY\"in t?-t.wheelDeltaY:\"wheelDelta\"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),Wo=Xn(xo),Ti=[9,13,27,32],ao=v&&\"CompositionEvent\"in window,Za=null;v&&\"documentMode\"in document&&(Za=document.documentMode);var xi=v&&\"TextEvent\"in window&&!Za,oo=v&&(!ao||Za&&8<Za&&11>=Za),wi=String.fromCharCode(32),Go=!1;function Vo(t,n){switch(t){case\"keyup\":return Ti.indexOf(n.keyCode)!==-1;case\"keydown\":return n.keyCode!==229;case\"keypress\":case\"mousedown\":case\"focusout\":return!0;default:return!1}}function wo(t){return t=t.detail,typeof t==\"object\"&&\"data\"in t?t.data:null}var la=!1;function Co(t,n){switch(t){case\"compositionend\":return wo(n);case\"keypress\":return n.which!==32?null:(Go=!0,wi);case\"textInput\":return t=n.data,t===wi&&Go?null:t;default:return null}}function Ci(t,n){if(la)return t===\"compositionend\"||!ao&&Vo(t,n)?(t=Ln(),Pn=Kn=gn=null,la=!1,t):null;switch(t){case\"paste\":return null;case\"keypress\":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case\"compositionend\":return oo&&n.locale!==\"ko\"?null:n.data;default:return null}}var Oo={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 Yo(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n===\"input\"?!!Oo[t.type]:n===\"textarea\"}function Ao(t,n,i,s){jt(s),n=oi(n,\"onChange\"),0<n.length&&(i=new Er(\"onChange\",\"change\",null,i,s),t.push({event:i,listeners:n}))}var ga=null,Wa=null;function ka(t){ni(t,0)}function io(t){var n=Br(t);if(Ie(n))return t}function Qo(t,n){if(t===\"change\")return n}var Xo=!1;if(v){var Ro;if(v){var Po=\"oninput\"in document;if(!Po){var uo=document.createElement(\"div\");uo.setAttribute(\"oninput\",\"return;\"),Po=typeof uo.oninput==\"function\"}Ro=Po}else Ro=!1;Xo=Ro&&(!document.documentMode||9<document.documentMode)}function Dr(){ga&&(ga.detachEvent(\"onpropertychange\",$n),Wa=ga=null)}function $n(t){if(t.propertyName===\"value\"&&io(Wa)){var n=[];Ao(n,Wa,t,pt(t)),_n(ka,n)}}function lr(t,n,i){t===\"focusin\"?(Dr(),ga=n,Wa=i,ga.attachEvent(\"onpropertychange\",$n)):t===\"focusout\"&&Dr()}function jn(t){if(t===\"selectionchange\"||t===\"keyup\"||t===\"keydown\")return io(Wa)}function nr(t,n){if(t===\"click\")return io(n)}function jr(t,n){if(t===\"input\"||t===\"change\")return io(n)}function In(t,n){return t===n&&(t!==0||1/t===1/n)||t!==t&&n!==n}var wr=typeof Object.is==\"function\"?Object.is:In;function Qr(t,n){if(wr(t,n))return!0;if(typeof t!=\"object\"||t===null||typeof n!=\"object\"||n===null)return!1;var i=Object.keys(t),s=Object.keys(n);if(i.length!==s.length)return!1;for(s=0;s<i.length;s++){var E=i[s];if(!p.call(n,E)||!wr(t[E],n[E]))return!1}return!0}function Mo(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Oi(t,n){var i=Mo(t);t=0;for(var s;i;){if(i.nodeType===3){if(s=t+i.textContent.length,t<=n&&s>=n)return{node:i,offset:n-t};t=s}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=Mo(i)}}function Jo(t,n){return t&&n?t===n?!0:t&&t.nodeType===3?!1:n&&n.nodeType===3?Jo(t,n.parentNode):\"contains\"in t?t.contains(n):t.compareDocumentPosition?!!(t.compareDocumentPosition(n)&16):!1:!1}function qi(){for(var t=window,n=le();n instanceof t.HTMLIFrameElement;){try{var i=typeof n.contentWindow.location.href==\"string\"}catch(s){i=!1}if(i)t=n.contentWindow;else break;n=le(t.document)}return n}function qo(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n&&(n===\"input\"&&(t.type===\"text\"||t.type===\"search\"||t.type===\"tel\"||t.type===\"url\"||t.type===\"password\")||n===\"textarea\"||t.contentEditable===\"true\")}function Zu(t){var n=qi(),i=t.focusedElem,s=t.selectionRange;if(n!==i&&i&&i.ownerDocument&&Jo(i.ownerDocument.documentElement,i)){if(s!==null&&qo(i)){if(n=s.start,t=s.end,t===void 0&&(t=n),\"selectionStart\"in i)i.selectionStart=n,i.selectionEnd=Math.min(t,i.value.length);else if(t=(n=i.ownerDocument||document)&&n.defaultView||window,t.getSelection){t=t.getSelection();var E=i.textContent.length,O=Math.min(s.start,E);s=s.end===void 0?O:Math.min(s.end,E),!t.extend&&O>s&&(E=s,s=O,O=E),E=Oi(i,O);var $=Oi(i,s);E&&$&&(t.rangeCount!==1||t.anchorNode!==E.node||t.anchorOffset!==E.offset||t.focusNode!==$.node||t.focusOffset!==$.offset)&&(n=n.createRange(),n.setStart(E.node,E.offset),t.removeAllRanges(),O>s?(t.addRange(n),t.extend($.node,$.offset)):(n.setEnd($.node,$.offset),t.addRange(n)))}}for(n=[],t=i;t=t.parentNode;)t.nodeType===1&&n.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof i.focus==\"function\"&&i.focus(),i=0;i<n.length;i++)t=n[i],t.element.scrollLeft=t.left,t.element.scrollTop=t.top}}var Wu=v&&\"documentMode\"in document&&11>=document.documentMode,ra=null,Ai=null,_o=null,Ri=!1;function Pi(t,n,i){var s=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Ri||ra==null||ra!==le(s)||(s=ra,\"selectionStart\"in s&&qo(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),_o&&Qr(_o,s)||(_o=s,s=oi(Ai,\"onSelect\"),0<s.length&&(n=new Er(\"onSelect\",\"select\",null,n,i),t.push({event:n,listeners:s}),n.target=ra)))}function Ga(t,n){var i={};return i[t.toLowerCase()]=n.toLowerCase(),i[\"Webkit\"+t]=\"webkit\"+n,i[\"Moz\"+t]=\"moz\"+n,i}var lo={animationend:Ga(\"Animation\",\"AnimationEnd\"),animationiteration:Ga(\"Animation\",\"AnimationIteration\"),animationstart:Ga(\"Animation\",\"AnimationStart\"),transitionend:Ga(\"Transition\",\"TransitionEnd\")},Mi={},eu={};v&&(eu=document.createElement(\"div\").style,\"AnimationEvent\"in window||(delete lo.animationend.animation,delete lo.animationiteration.animation,delete lo.animationstart.animation),\"TransitionEvent\"in window||delete lo.transitionend.transition);function ei(t){if(Mi[t])return Mi[t];if(!lo[t])return t;var n=lo[t],i;for(i in n)if(n.hasOwnProperty(i)&&i in eu)return Mi[t]=n[i];return t}var tu=ei(\"animationend\"),nu=ei(\"animationiteration\"),ru=ei(\"animationstart\"),au=ei(\"transitionend\"),_i=new Map,ou=\"abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel\".split(\" \");function Fa(t,n){_i.set(t,n),d(n,[t])}for(var ti=0;ti<ou.length;ti++){var Di=ou[ti],Gu=Di.toLowerCase(),Vu=Di[0].toUpperCase()+Di.slice(1);Fa(Gu,\"on\"+Vu)}Fa(tu,\"onAnimationEnd\"),Fa(nu,\"onAnimationIteration\"),Fa(ru,\"onAnimationStart\"),Fa(\"dblclick\",\"onDoubleClick\"),Fa(\"focusin\",\"onFocus\"),Fa(\"focusout\",\"onBlur\"),Fa(au,\"onTransitionEnd\"),f(\"onMouseEnter\",[\"mouseout\",\"mouseover\"]),f(\"onMouseLeave\",[\"mouseout\",\"mouseover\"]),f(\"onPointerEnter\",[\"pointerout\",\"pointerover\"]),f(\"onPointerLeave\",[\"pointerout\",\"pointerover\"]),d(\"onChange\",\"change click focusin focusout input keydown keyup selectionchange\".split(\" \")),d(\"onSelect\",\"focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange\".split(\" \")),d(\"onBeforeInput\",[\"compositionend\",\"keypress\",\"textInput\",\"paste\"]),d(\"onCompositionEnd\",\"compositionend focusout keydown keypress keyup mousedown\".split(\" \")),d(\"onCompositionStart\",\"compositionstart focusout keydown keypress keyup mousedown\".split(\" \")),d(\"onCompositionUpdate\",\"compositionupdate focusout keydown keypress keyup mousedown\".split(\" \"));var Do=\"abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting\".split(\" \"),Yu=new Set(\"cancel close invalid load scroll toggle\".split(\" \").concat(Do));function iu(t,n,i){var s=t.type||\"unknown-event\";t.currentTarget=i,br(s,n,void 0,t),t.currentTarget=null}function ni(t,n){n=(n&4)!==0;for(var i=0;i<t.length;i++){var s=t[i],E=s.event;s=s.listeners;e:{var O=void 0;if(n)for(var $=s.length-1;0<=$;$--){var ve=s[$],Pe=ve.instance,et=ve.currentTarget;if(ve=ve.listener,Pe!==O&&E.isPropagationStopped())break e;iu(E,ve,et),O=Pe}else for($=0;$<s.length;$++){if(ve=s[$],Pe=ve.instance,et=ve.currentTarget,ve=ve.listener,Pe!==O&&E.isPropagationStopped())break e;iu(E,ve,et),O=Pe}}}if(cr)throw t=pr,cr=!1,pr=null,t}function rr(t,n){var i=n[zt];i===void 0&&(i=n[zt]=new Set);var s=t+\"__bubble\";i.has(s)||(Qu(n,t,2,!1),i.add(s))}function ri(t,n,i){var s=0;n&&(s|=4),Qu(i,t,s,n)}var so=\"_reactListening\"+Math.random().toString(36).slice(2);function ai(t){if(!t[so]){t[so]=!0,u.forEach(function(i){i!==\"selectionchange\"&&(Yu.has(i)||ri(i,!1,t),ri(i,!0,t))});var n=t.nodeType===9?t:t.ownerDocument;n===null||n[so]||(n[so]=!0,ri(\"selectionchange\",!1,n))}}function Qu(t,n,i,s){switch(wn(n)){case 1:var E=Rt;break;case 4:E=kt;break;default:E=Ut}i=E.bind(null,n,i,t),E=void 0,!Zn||n!==\"touchstart\"&&n!==\"touchmove\"&&n!==\"wheel\"||(E=!0),s?E!==void 0?t.addEventListener(n,i,{capture:!0,passive:E}):t.addEventListener(n,i,!0):E!==void 0?t.addEventListener(n,i,{passive:E}):t.addEventListener(n,i,!1)}function Ni(t,n,i,s,E){var O=s;if(!(n&1)&&!(n&2)&&s!==null)e:for(;;){if(s===null)return;var $=s.tag;if($===3||$===4){var ve=s.stateNode.containerInfo;if(ve===E||ve.nodeType===8&&ve.parentNode===E)break;if($===4)for($=s.return;$!==null;){var Pe=$.tag;if((Pe===3||Pe===4)&&(Pe=$.stateNode.containerInfo,Pe===E||Pe.nodeType===8&&Pe.parentNode===E))return;$=$.return}for(;ve!==null;){if($=dr(ve),$===null)return;if(Pe=$.tag,Pe===5||Pe===6){s=O=$;continue e}ve=ve.parentNode}}s=s.return}_n(function(){var et=O,St=pt(i),Tt=[];e:{var bt=_i.get(t);if(bt!==void 0){var Gt=Er,tn=t;switch(t){case\"keypress\":if(er(i)===0)break e;case\"keydown\":case\"keyup\":Gt=ur;break;case\"focusin\":tn=\"focus\",Gt=Gr;break;case\"focusout\":tn=\"blur\",Gt=Gr;break;case\"beforeblur\":case\"afterblur\":Gt=Gr;break;case\"click\":if(i.button===2)break e;case\"auxclick\":case\"dblclick\":case\"mousedown\":case\"mousemove\":case\"mouseup\":case\"mouseout\":case\"mouseover\":case\"contextmenu\":Gt=Tr;break;case\"drag\":case\"dragend\":case\"dragenter\":case\"dragexit\":case\"dragleave\":case\"dragover\":case\"dragstart\":case\"drop\":Gt=za;break;case\"touchcancel\":case\"touchend\":case\"touchmove\":case\"touchstart\":Gt=To;break;case tu:case nu:case ru:Gt=Vr;break;case au:Gt=Aa;break;case\"scroll\":Gt=Ir;break;case\"wheel\":Gt=Wo;break;case\"copy\":case\"cut\":case\"paste\":Gt=ya;break;case\"gotpointercapture\":case\"lostpointercapture\":case\"pointercancel\":case\"pointerdown\":case\"pointermove\":case\"pointerout\":case\"pointerover\":case\"pointerup\":Gt=Fr}var rn=(n&4)!==0,Or=!rn&&t===\"scroll\",Ve=rn?bt!==null?bt+\"Capture\":null:bt;rn=[];for(var Fe=et,Ye;Fe!==null;){Ye=Fe;var _t=Ye.stateNode;if(Ye.tag===5&&_t!==null&&(Ye=_t,Ve!==null&&(_t=xn(Fe,Ve),_t!=null&&rn.push(Va(Fe,_t,Ye)))),Or)break;Fe=Fe.return}0<rn.length&&(bt=new Gt(bt,tn,null,i,St),Tt.push({event:bt,listeners:rn}))}}if(!(n&7)){e:{if(bt=t===\"mouseover\"||t===\"pointerover\",Gt=t===\"mouseout\"||t===\"pointerout\",bt&&i!==$e&&(tn=i.relatedTarget||i.fromElement)&&(dr(tn)||tn[ht]))break e;if((Gt||bt)&&(bt=St.window===St?St:(bt=St.ownerDocument)?bt.defaultView||bt.parentWindow:window,Gt?(tn=i.relatedTarget||i.toElement,Gt=et,tn=tn?dr(tn):null,tn!==null&&(Or=zn(tn),tn!==Or||tn.tag!==5&&tn.tag!==6)&&(tn=null)):(Gt=null,tn=et),Gt!==tn)){if(rn=Tr,_t=\"onMouseLeave\",Ve=\"onMouseEnter\",Fe=\"mouse\",(t===\"pointerout\"||t===\"pointerover\")&&(rn=Fr,_t=\"onPointerLeave\",Ve=\"onPointerEnter\",Fe=\"pointer\"),Or=Gt==null?bt:Br(Gt),Ye=tn==null?bt:Br(tn),bt=new rn(_t,Fe+\"leave\",Gt,i,St),bt.target=Or,bt.relatedTarget=Ye,_t=null,dr(St)===et&&(rn=new rn(Ve,Fe+\"enter\",tn,i,St),rn.target=Ye,rn.relatedTarget=Or,_t=rn),Or=_t,Gt&&tn)t:{for(rn=Gt,Ve=tn,Fe=0,Ye=rn;Ye;Ye=co(Ye))Fe++;for(Ye=0,_t=Ve;_t;_t=co(_t))Ye++;for(;0<Fe-Ye;)rn=co(rn),Fe--;for(;0<Ye-Fe;)Ve=co(Ve),Ye--;for(;Fe--;){if(rn===Ve||Ve!==null&&rn===Ve.alternate)break t;rn=co(rn),Ve=co(Ve)}rn=null}else rn=null;Gt!==null&&uu(Tt,bt,Gt,rn,!1),tn!==null&&Or!==null&&uu(Tt,Or,tn,rn,!0)}}e:{if(bt=et?Br(et):window,Gt=bt.nodeName&&bt.nodeName.toLowerCase(),Gt===\"select\"||Gt===\"input\"&&bt.type===\"file\")var un=Qo;else if(Yo(bt))if(Xo)un=jr;else{un=jn;var vn=lr}else(Gt=bt.nodeName)&&Gt.toLowerCase()===\"input\"&&(bt.type===\"checkbox\"||bt.type===\"radio\")&&(un=nr);if(un&&(un=un(t,et))){Ao(Tt,un,i,St);break e}vn&&vn(t,bt,et),t===\"focusout\"&&(vn=bt._wrapperState)&&vn.controlled&&bt.type===\"number\"&&Se(bt,\"number\",bt.value)}switch(vn=et?Br(et):window,t){case\"focusin\":(Yo(vn)||vn.contentEditable===\"true\")&&(ra=vn,Ai=et,_o=null);break;case\"focusout\":_o=Ai=ra=null;break;case\"mousedown\":Ri=!0;break;case\"contextmenu\":case\"mouseup\":case\"dragend\":Ri=!1,Pi(Tt,i,St);break;case\"selectionchange\":if(Wu)break;case\"keydown\":case\"keyup\":Pi(Tt,i,St)}var mn;if(ao)e:{switch(t){case\"compositionstart\":var yn=\"onCompositionStart\";break e;case\"compositionend\":yn=\"onCompositionEnd\";break e;case\"compositionupdate\":yn=\"onCompositionUpdate\";break e}yn=void 0}else la?Vo(t,i)&&(yn=\"onCompositionEnd\"):t===\"keydown\"&&i.keyCode===229&&(yn=\"onCompositionStart\");yn&&(oo&&i.locale!==\"ko\"&&(la||yn!==\"onCompositionStart\"?yn===\"onCompositionEnd\"&&la&&(mn=Ln()):(gn=St,Kn=\"value\"in gn?gn.value:gn.textContent,la=!0)),vn=oi(et,yn),0<vn.length&&(yn=new Pr(yn,t,null,i,St),Tt.push({event:yn,listeners:vn}),mn?yn.data=mn:(mn=wo(i),mn!==null&&(yn.data=mn)))),(mn=xi?Co(t,i):Ci(t,i))&&(et=oi(et,\"onBeforeInput\"),0<et.length&&(St=new Pr(\"onBeforeInput\",\"beforeinput\",null,i,St),Tt.push({event:St,listeners:et}),St.data=mn))}ni(Tt,n)})}function Va(t,n,i){return{instance:t,listener:n,currentTarget:i}}function oi(t,n){for(var i=n+\"Capture\",s=[];t!==null;){var E=t,O=E.stateNode;E.tag===5&&O!==null&&(E=O,O=xn(t,i),O!=null&&s.unshift(Va(t,O,E)),O=xn(t,n),O!=null&&s.push(Va(t,O,E))),t=t.return}return s}function co(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5);return t||null}function uu(t,n,i,s,E){for(var O=n._reactName,$=[];i!==null&&i!==s;){var ve=i,Pe=ve.alternate,et=ve.stateNode;if(Pe!==null&&Pe===s)break;ve.tag===5&&et!==null&&(ve=et,E?(Pe=xn(i,O),Pe!=null&&$.unshift(Va(i,Pe,ve))):E||(Pe=xn(i,O),Pe!=null&&$.push(Va(i,Pe,ve)))),i=i.return}$.length!==0&&t.push({event:n,listeners:$})}var Xu=/\\r\\n?/g,Ju=/\\u0000|\\uFFFD/g;function fo(t){return(typeof t==\"string\"?t:\"\"+t).replace(Xu,`\n`).replace(Ju,\"\")}function Li(t,n,i){if(n=fo(n),fo(t)!==n&&i)throw Error(r(425))}function ii(){}var ki=null,No=null;function Fi(t,n){return t===\"textarea\"||t===\"noscript\"||typeof n.children==\"string\"||typeof n.children==\"number\"||typeof n.dangerouslySetInnerHTML==\"object\"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var lu=typeof setTimeout==\"function\"?setTimeout:void 0,qu=typeof clearTimeout==\"function\"?clearTimeout:void 0,su=typeof Promise==\"function\"?Promise:void 0,el=typeof queueMicrotask==\"function\"?queueMicrotask:typeof su!=\"undefined\"?function(t){return su.resolve(null).then(t).catch(tl)}:lu;function tl(t){setTimeout(function(){throw t})}function Lo(t,n){var i=n,s=0;do{var E=i.nextSibling;if(t.removeChild(i),E&&E.nodeType===8)if(i=E.data,i===\"/$\"){if(s===0){t.removeChild(E),ut(n);return}s--}else i!==\"$\"&&i!==\"$?\"&&i!==\"$!\"||s++;i=E}while(i);ut(n)}function Be(t){for(;t!=null;t=t.nextSibling){var n=t.nodeType;if(n===1||n===3)break;if(n===8){if(n=t.data,n===\"$\"||n===\"$!\"||n===\"$?\")break;if(n===\"/$\")return null}}return t}function qe(t){t=t.previousSibling;for(var n=0;t;){if(t.nodeType===8){var i=t.data;if(i===\"$\"||i===\"$!\"||i===\"$?\"){if(n===0)return t;n--}else i===\"/$\"&&n++}t=t.previousSibling}return null}var Je=Math.random().toString(36).slice(2),Xe=\"__reactFiber$\"+Je,yt=\"__reactProps$\"+Je,ht=\"__reactContainer$\"+Je,zt=\"__reactEvents$\"+Je,on=\"__reactListeners$\"+Je,On=\"__reactHandles$\"+Je;function dr(t){var n=t[Xe];if(n)return n;for(var i=t.parentNode;i;){if(n=i[ht]||i[Xe]){if(i=n.alternate,n.child!==null||i!==null&&i.child!==null)for(t=qe(t);t!==null;){if(i=t[Xe])return i;t=qe(t)}return n}t=i,i=t.parentNode}return null}function Mn(t){return t=t[Xe]||t[ht],!t||t.tag!==5&&t.tag!==6&&t.tag!==13&&t.tag!==3?null:t}function Br(t){if(t.tag===5||t.tag===6)return t.stateNode;throw Error(r(33))}function $r(t){return t[yt]||null}var ba=[],Ra=-1;function Cr(t){return{current:t}}function kn(t){0>Ra||(t.current=ba[Ra],ba[Ra]=null,Ra--)}function Tn(t,n){Ra++,ba[Ra]=t.current,t.current=n}var Xr={},sr=Cr(Xr),Kr=Cr(!1),Ya=Xr;function ja(t,n){var i=t.type.contextTypes;if(!i)return Xr;var s=t.stateNode;if(s&&s.__reactInternalMemoizedUnmaskedChildContext===n)return s.__reactInternalMemoizedMaskedChildContext;var E={},O;for(O in i)E[O]=n[O];return s&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=n,t.__reactInternalMemoizedMaskedChildContext=E),E}function Jr(t){return t=t.childContextTypes,t!=null}function sa(){kn(Kr),kn(sr)}function ui(t,n,i){if(sr.current!==Xr)throw Error(r(168));Tn(sr,n),Tn(Kr,i)}function li(t,n,i){var s=t.stateNode;if(n=n.childContextTypes,typeof s.getChildContext!=\"function\")return i;s=s.getChildContext();for(var E in s)if(!(E in n))throw Error(r(108,De(t)||\"Unknown\",E));return B({},i,s)}function po(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Xr,Ya=sr.current,Tn(sr,t),Tn(Kr,Kr.current),!0}function ji(t,n,i){var s=t.stateNode;if(!s)throw Error(r(169));i?(t=li(t,n,Ya),s.__reactInternalMemoizedMergedChildContext=t,kn(Kr),kn(sr),Tn(sr,t)):kn(Kr),Tn(Kr,i)}var Ea=null,si=!1,ci=!1;function aa(t){Ea===null?Ea=[t]:Ea.push(t)}function Qa(t){si=!0,aa(t)}function oa(){if(!ci&&Ea!==null){ci=!0;var t=0,n=Zt;try{var i=Ea;for(Zt=1;t<i.length;t++){var s=i[t];do s=s(!0);while(s!==null)}Ea=null,si=!1}catch(E){throw Ea!==null&&(Ea=Ea.slice(t+1)),Lt(ln,oa),E}finally{Zt=n,ci=!1}}return null}var fi=[],di=0,cu=null,fu=0,Sa=[],Ia=0,ko=null,Xa=1,Ja=\"\";function Fo(t,n){fi[di++]=fu,fi[di++]=cu,cu=t,fu=n}function rs(t,n,i){Sa[Ia++]=Xa,Sa[Ia++]=Ja,Sa[Ia++]=ko,ko=t;var s=Xa;t=Ja;var E=32-gt(s)-1;s&=~(1<<E),i+=1;var O=32-gt(n)+E;if(30<O){var $=E-E%5;O=(s&(1<<$)-1).toString(32),s>>=$,E-=$,Xa=1<<32-gt(n)+E|i<<E|s,Ja=O+t}else Xa=1<<O|i<<E|s,Ja=t}function nl(t){t.return!==null&&(Fo(t,1),rs(t,1,0))}function rl(t){for(;t===cu;)cu=fi[--di],fi[di]=null,fu=fi[--di],fi[di]=null;for(;t===ko;)ko=Sa[--Ia],Sa[Ia]=null,Ja=Sa[--Ia],Sa[Ia]=null,Xa=Sa[--Ia],Sa[Ia]=null}var va=null,ma=null,mr=!1,Pa=null;function as(t,n){var i=Ca(5,null,null,0);i.elementType=\"DELETED\",i.stateNode=n,i.return=t,n=t.deletions,n===null?(t.deletions=[i],t.flags|=16):n.push(i)}function os(t,n){switch(t.tag){case 5:var i=t.type;return n=n.nodeType!==1||i.toLowerCase()!==n.nodeName.toLowerCase()?null:n,n!==null?(t.stateNode=n,va=t,ma=Be(n.firstChild),!0):!1;case 6:return n=t.pendingProps===\"\"||n.nodeType!==3?null:n,n!==null?(t.stateNode=n,va=t,ma=null,!0):!1;case 13:return n=n.nodeType!==8?null:n,n!==null?(i=ko!==null?{id:Xa,overflow:Ja}:null,t.memoizedState={dehydrated:n,treeContext:i,retryLane:1073741824},i=Ca(18,null,null,0),i.stateNode=n,i.return=t,t.child=i,va=t,ma=null,!0):!1;default:return!1}}function al(t){return(t.mode&1)!==0&&(t.flags&128)===0}function ol(t){if(mr){var n=ma;if(n){var i=n;if(!os(t,n)){if(al(t))throw Error(r(418));n=Be(i.nextSibling);var s=va;n&&os(t,n)?as(s,i):(t.flags=t.flags&-4097|2,mr=!1,va=t)}}else{if(al(t))throw Error(r(418));t.flags=t.flags&-4097|2,mr=!1,va=t}}}function is(t){for(t=t.return;t!==null&&t.tag!==5&&t.tag!==3&&t.tag!==13;)t=t.return;va=t}function du(t){if(t!==va)return!1;if(!mr)return is(t),mr=!0,!1;var n;if((n=t.tag!==3)&&!(n=t.tag!==5)&&(n=t.type,n=n!==\"head\"&&n!==\"body\"&&!Fi(t.type,t.memoizedProps)),n&&(n=ma)){if(al(t))throw us(),Error(r(418));for(;n;)as(t,n),n=Be(n.nextSibling)}if(is(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));e:{for(t=t.nextSibling,n=0;t;){if(t.nodeType===8){var i=t.data;if(i===\"/$\"){if(n===0){ma=Be(t.nextSibling);break e}n--}else i!==\"$\"&&i!==\"$!\"&&i!==\"$?\"||n++}t=t.nextSibling}ma=null}}else ma=va?Be(t.stateNode.nextSibling):null;return!0}function us(){for(var t=ma;t;)t=Be(t.nextSibling)}function pi(){ma=va=null,mr=!1}function il(t){Pa===null?Pa=[t]:Pa.push(t)}var _c=x.ReactCurrentBatchConfig;function Ma(t,n){if(t&&t.defaultProps){n=B({},n),t=t.defaultProps;for(var i in t)n[i]===void 0&&(n[i]=t[i]);return n}return n}var pu=Cr(null),vu=null,vi=null,ul=null;function ll(){ul=vi=vu=null}function sl(t){var n=pu.current;kn(pu),t._currentValue=n}function cl(t,n,i){for(;t!==null;){var s=t.alternate;if((t.childLanes&n)!==n?(t.childLanes|=n,s!==null&&(s.childLanes|=n)):s!==null&&(s.childLanes&n)!==n&&(s.childLanes|=n),t===i)break;t=t.return}}function mi(t,n){vu=t,ul=vi=null,t=t.dependencies,t!==null&&t.firstContext!==null&&(t.lanes&n&&(ca=!0),t.firstContext=null)}function Ta(t){var n=t._currentValue;if(ul!==t)if(t={context:t,memoizedValue:n,next:null},vi===null){if(vu===null)throw Error(r(308));vi=t,vu.dependencies={lanes:0,firstContext:t}}else vi=vi.next=t;return n}var jo=null;function fl(t){jo===null?jo=[t]:jo.push(t)}function ls(t,n,i,s){var E=n.interleaved;return E===null?(i.next=i,fl(n)):(i.next=E.next,E.next=i),n.interleaved=i,qa(t,s)}function qa(t,n){t.lanes|=n;var i=t.alternate;for(i!==null&&(i.lanes|=n),i=t,t=t.return;t!==null;)t.childLanes|=n,i=t.alternate,i!==null&&(i.childLanes|=n),i=t,t=t.return;return i.tag===3?i.stateNode:null}var vo=!1;function dl(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ss(t,n){t=t.updateQueue,n.updateQueue===t&&(n.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function eo(t,n){return{eventTime:t,lane:n,tag:0,payload:null,callback:null,next:null}}function mo(t,n,i){var s=t.updateQueue;if(s===null)return null;if(s=s.shared,Gn&2){var E=s.pending;return E===null?n.next=n:(n.next=E.next,E.next=n),s.pending=n,qa(t,i)}return E=s.interleaved,E===null?(n.next=n,fl(s)):(n.next=E.next,E.next=n),s.interleaved=n,qa(t,i)}function mu(t,n,i){if(n=n.updateQueue,n!==null&&(n=n.shared,(i&4194240)!==0)){var s=n.lanes;s&=t.pendingLanes,i|=s,n.lanes=i,fn(t,i)}}function cs(t,n){var i=t.updateQueue,s=t.alternate;if(s!==null&&(s=s.updateQueue,i===s)){var E=null,O=null;if(i=i.firstBaseUpdate,i!==null){do{var $={eventTime:i.eventTime,lane:i.lane,tag:i.tag,payload:i.payload,callback:i.callback,next:null};O===null?E=O=$:O=O.next=$,i=i.next}while(i!==null);O===null?E=O=n:O=O.next=n}else E=O=n;i={baseState:s.baseState,firstBaseUpdate:E,lastBaseUpdate:O,shared:s.shared,effects:s.effects},t.updateQueue=i;return}t=i.lastBaseUpdate,t===null?i.firstBaseUpdate=n:t.next=n,i.lastBaseUpdate=n}function hu(t,n,i,s){var E=t.updateQueue;vo=!1;var O=E.firstBaseUpdate,$=E.lastBaseUpdate,ve=E.shared.pending;if(ve!==null){E.shared.pending=null;var Pe=ve,et=Pe.next;Pe.next=null,$===null?O=et:$.next=et,$=Pe;var St=t.alternate;St!==null&&(St=St.updateQueue,ve=St.lastBaseUpdate,ve!==$&&(ve===null?St.firstBaseUpdate=et:ve.next=et,St.lastBaseUpdate=Pe))}if(O!==null){var Tt=E.baseState;$=0,St=et=Pe=null,ve=O;do{var bt=ve.lane,Gt=ve.eventTime;if((s&bt)===bt){St!==null&&(St=St.next={eventTime:Gt,lane:0,tag:ve.tag,payload:ve.payload,callback:ve.callback,next:null});e:{var tn=t,rn=ve;switch(bt=n,Gt=i,rn.tag){case 1:if(tn=rn.payload,typeof tn==\"function\"){Tt=tn.call(Gt,Tt,bt);break e}Tt=tn;break e;case 3:tn.flags=tn.flags&-65537|128;case 0:if(tn=rn.payload,bt=typeof tn==\"function\"?tn.call(Gt,Tt,bt):tn,bt==null)break e;Tt=B({},Tt,bt);break e;case 2:vo=!0}}ve.callback!==null&&ve.lane!==0&&(t.flags|=64,bt=E.effects,bt===null?E.effects=[ve]:bt.push(ve))}else Gt={eventTime:Gt,lane:bt,tag:ve.tag,payload:ve.payload,callback:ve.callback,next:null},St===null?(et=St=Gt,Pe=Tt):St=St.next=Gt,$|=bt;if(ve=ve.next,ve===null){if(ve=E.shared.pending,ve===null)break;bt=ve,ve=bt.next,bt.next=null,E.lastBaseUpdate=bt,E.shared.pending=null}}while(1);if(St===null&&(Pe=Tt),E.baseState=Pe,E.firstBaseUpdate=et,E.lastBaseUpdate=St,n=E.shared.interleaved,n!==null){E=n;do $|=E.lane,E=E.next;while(E!==n)}else O===null&&(E.shared.lanes=0);Uo|=$,t.lanes=$,t.memoizedState=Tt}}function fs(t,n,i){if(t=n.effects,n.effects=null,t!==null)for(n=0;n<t.length;n++){var s=t[n],E=s.callback;if(E!==null){if(s.callback=null,s=i,typeof E!=\"function\")throw Error(r(191,E));E.call(s)}}}var ds=new a.Component().refs;function pl(t,n,i,s){n=t.memoizedState,i=i(s,n),i=i==null?n:B({},n,i),t.memoizedState=i,t.lanes===0&&(t.updateQueue.baseState=i)}var yu={isMounted:function(t){return(t=t._reactInternals)?zn(t)===t:!1},enqueueSetState:function(t,n,i){t=t._reactInternals;var s=ua(),E=bo(t),O=eo(s,E);O.payload=n,i!=null&&(O.callback=i),n=mo(t,O,E),n!==null&&(Na(n,t,E,s),mu(n,t,E))},enqueueReplaceState:function(t,n,i){t=t._reactInternals;var s=ua(),E=bo(t),O=eo(s,E);O.tag=1,O.payload=n,i!=null&&(O.callback=i),n=mo(t,O,E),n!==null&&(Na(n,t,E,s),mu(n,t,E))},enqueueForceUpdate:function(t,n){t=t._reactInternals;var i=ua(),s=bo(t),E=eo(i,s);E.tag=2,n!=null&&(E.callback=n),n=mo(t,E,s),n!==null&&(Na(n,t,s,i),mu(n,t,s))}};function ps(t,n,i,s,E,O,$){return t=t.stateNode,typeof t.shouldComponentUpdate==\"function\"?t.shouldComponentUpdate(s,O,$):n.prototype&&n.prototype.isPureReactComponent?!Qr(i,s)||!Qr(E,O):!0}function vs(t,n,i){var s=!1,E=Xr,O=n.contextType;return typeof O==\"object\"&&O!==null?O=Ta(O):(E=Jr(n)?Ya:sr.current,s=n.contextTypes,O=(s=s!=null)?ja(t,E):Xr),n=new n(i,O),t.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=yu,t.stateNode=n,n._reactInternals=t,s&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=E,t.__reactInternalMemoizedMaskedChildContext=O),n}function ms(t,n,i,s){t=n.state,typeof n.componentWillReceiveProps==\"function\"&&n.componentWillReceiveProps(i,s),typeof n.UNSAFE_componentWillReceiveProps==\"function\"&&n.UNSAFE_componentWillReceiveProps(i,s),n.state!==t&&yu.enqueueReplaceState(n,n.state,null)}function vl(t,n,i,s){var E=t.stateNode;E.props=i,E.state=t.memoizedState,E.refs=ds,dl(t);var O=n.contextType;typeof O==\"object\"&&O!==null?E.context=Ta(O):(O=Jr(n)?Ya:sr.current,E.context=ja(t,O)),E.state=t.memoizedState,O=n.getDerivedStateFromProps,typeof O==\"function\"&&(pl(t,n,O,i),E.state=t.memoizedState),typeof n.getDerivedStateFromProps==\"function\"||typeof E.getSnapshotBeforeUpdate==\"function\"||typeof E.UNSAFE_componentWillMount!=\"function\"&&typeof E.componentWillMount!=\"function\"||(n=E.state,typeof E.componentWillMount==\"function\"&&E.componentWillMount(),typeof E.UNSAFE_componentWillMount==\"function\"&&E.UNSAFE_componentWillMount(),n!==E.state&&yu.enqueueReplaceState(E,E.state,null),hu(t,i,E,s),E.state=t.memoizedState),typeof E.componentDidMount==\"function\"&&(t.flags|=4194308)}function Bi(t,n,i){if(t=i.ref,t!==null&&typeof t!=\"function\"&&typeof t!=\"object\"){if(i._owner){if(i=i._owner,i){if(i.tag!==1)throw Error(r(309));var s=i.stateNode}if(!s)throw Error(r(147,t));var E=s,O=\"\"+t;return n!==null&&n.ref!==null&&typeof n.ref==\"function\"&&n.ref._stringRef===O?n.ref:(n=function($){var ve=E.refs;ve===ds&&(ve=E.refs={}),$===null?delete ve[O]:ve[O]=$},n._stringRef=O,n)}if(typeof t!=\"string\")throw Error(r(284));if(!i._owner)throw Error(r(290,t))}return t}function gu(t,n){throw t=Object.prototype.toString.call(n),Error(r(31,t===\"[object Object]\"?\"object with keys {\"+Object.keys(n).join(\", \")+\"}\":t))}function hs(t){var n=t._init;return n(t._payload)}function ys(t){function n(Ve,Fe){if(t){var Ye=Ve.deletions;Ye===null?(Ve.deletions=[Fe],Ve.flags|=16):Ye.push(Fe)}}function i(Ve,Fe){if(!t)return null;for(;Fe!==null;)n(Ve,Fe),Fe=Fe.sibling;return null}function s(Ve,Fe){for(Ve=new Map;Fe!==null;)Fe.key!==null?Ve.set(Fe.key,Fe):Ve.set(Fe.index,Fe),Fe=Fe.sibling;return Ve}function E(Ve,Fe){return Ve=So(Ve,Fe),Ve.index=0,Ve.sibling=null,Ve}function O(Ve,Fe,Ye){return Ve.index=Ye,t?(Ye=Ve.alternate,Ye!==null?(Ye=Ye.index,Ye<Fe?(Ve.flags|=2,Fe):Ye):(Ve.flags|=2,Fe)):(Ve.flags|=1048576,Fe)}function $(Ve){return t&&Ve.alternate===null&&(Ve.flags|=2),Ve}function ve(Ve,Fe,Ye,_t){return Fe===null||Fe.tag!==6?(Fe=Xl(Ye,Ve.mode,_t),Fe.return=Ve,Fe):(Fe=E(Fe,Ye),Fe.return=Ve,Fe)}function Pe(Ve,Fe,Ye,_t){var un=Ye.type;return un===G?St(Ve,Fe,Ye.props.children,_t,Ye.key):Fe!==null&&(Fe.elementType===un||typeof un==\"object\"&&un!==null&&un.$$typeof===T&&hs(un)===Fe.type)?(_t=E(Fe,Ye.props),_t.ref=Bi(Ve,Fe,Ye),_t.return=Ve,_t):(_t=Fu(Ye.type,Ye.key,Ye.props,null,Ve.mode,_t),_t.ref=Bi(Ve,Fe,Ye),_t.return=Ve,_t)}function et(Ve,Fe,Ye,_t){return Fe===null||Fe.tag!==4||Fe.stateNode.containerInfo!==Ye.containerInfo||Fe.stateNode.implementation!==Ye.implementation?(Fe=Jl(Ye,Ve.mode,_t),Fe.return=Ve,Fe):(Fe=E(Fe,Ye.children||[]),Fe.return=Ve,Fe)}function St(Ve,Fe,Ye,_t,un){return Fe===null||Fe.tag!==7?(Fe=Zo(Ye,Ve.mode,_t,un),Fe.return=Ve,Fe):(Fe=E(Fe,Ye),Fe.return=Ve,Fe)}function Tt(Ve,Fe,Ye){if(typeof Fe==\"string\"&&Fe!==\"\"||typeof Fe==\"number\")return Fe=Xl(\"\"+Fe,Ve.mode,Ye),Fe.return=Ve,Fe;if(typeof Fe==\"object\"&&Fe!==null){switch(Fe.$$typeof){case F:return Ye=Fu(Fe.type,Fe.key,Fe.props,null,Ve.mode,Ye),Ye.ref=Bi(Ve,null,Fe),Ye.return=Ve,Ye;case K:return Fe=Jl(Fe,Ve.mode,Ye),Fe.return=Ve,Fe;case T:var _t=Fe._init;return Tt(Ve,_t(Fe._payload),Ye)}if(Q(Fe)||C(Fe))return Fe=Zo(Fe,Ve.mode,Ye,null),Fe.return=Ve,Fe;gu(Ve,Fe)}return null}function bt(Ve,Fe,Ye,_t){var un=Fe!==null?Fe.key:null;if(typeof Ye==\"string\"&&Ye!==\"\"||typeof Ye==\"number\")return un!==null?null:ve(Ve,Fe,\"\"+Ye,_t);if(typeof Ye==\"object\"&&Ye!==null){switch(Ye.$$typeof){case F:return Ye.key===un?Pe(Ve,Fe,Ye,_t):null;case K:return Ye.key===un?et(Ve,Fe,Ye,_t):null;case T:return un=Ye._init,bt(Ve,Fe,un(Ye._payload),_t)}if(Q(Ye)||C(Ye))return un!==null?null:St(Ve,Fe,Ye,_t,null);gu(Ve,Ye)}return null}function Gt(Ve,Fe,Ye,_t,un){if(typeof _t==\"string\"&&_t!==\"\"||typeof _t==\"number\")return Ve=Ve.get(Ye)||null,ve(Fe,Ve,\"\"+_t,un);if(typeof _t==\"object\"&&_t!==null){switch(_t.$$typeof){case F:return Ve=Ve.get(_t.key===null?Ye:_t.key)||null,Pe(Fe,Ve,_t,un);case K:return Ve=Ve.get(_t.key===null?Ye:_t.key)||null,et(Fe,Ve,_t,un);case T:var vn=_t._init;return Gt(Ve,Fe,Ye,vn(_t._payload),un)}if(Q(_t)||C(_t))return Ve=Ve.get(Ye)||null,St(Fe,Ve,_t,un,null);gu(Fe,_t)}return null}function tn(Ve,Fe,Ye,_t){for(var un=null,vn=null,mn=Fe,yn=Fe=0,Hr=null;mn!==null&&yn<Ye.length;yn++){mn.index>yn?(Hr=mn,mn=null):Hr=mn.sibling;var Qn=bt(Ve,mn,Ye[yn],_t);if(Qn===null){mn===null&&(mn=Hr);break}t&&mn&&Qn.alternate===null&&n(Ve,mn),Fe=O(Qn,Fe,yn),vn===null?un=Qn:vn.sibling=Qn,vn=Qn,mn=Hr}if(yn===Ye.length)return i(Ve,mn),mr&&Fo(Ve,yn),un;if(mn===null){for(;yn<Ye.length;yn++)mn=Tt(Ve,Ye[yn],_t),mn!==null&&(Fe=O(mn,Fe,yn),vn===null?un=mn:vn.sibling=mn,vn=mn);return mr&&Fo(Ve,yn),un}for(mn=s(Ve,mn);yn<Ye.length;yn++)Hr=Gt(mn,Ve,yn,Ye[yn],_t),Hr!==null&&(t&&Hr.alternate!==null&&mn.delete(Hr.key===null?yn:Hr.key),Fe=O(Hr,Fe,yn),vn===null?un=Hr:vn.sibling=Hr,vn=Hr);return t&&mn.forEach(function(Io){return n(Ve,Io)}),mr&&Fo(Ve,yn),un}function rn(Ve,Fe,Ye,_t){var un=C(Ye);if(typeof un!=\"function\")throw Error(r(150));if(Ye=un.call(Ye),Ye==null)throw Error(r(151));for(var vn=un=null,mn=Fe,yn=Fe=0,Hr=null,Qn=Ye.next();mn!==null&&!Qn.done;yn++,Qn=Ye.next()){mn.index>yn?(Hr=mn,mn=null):Hr=mn.sibling;var Io=bt(Ve,mn,Qn.value,_t);if(Io===null){mn===null&&(mn=Hr);break}t&&mn&&Io.alternate===null&&n(Ve,mn),Fe=O(Io,Fe,yn),vn===null?un=Io:vn.sibling=Io,vn=Io,mn=Hr}if(Qn.done)return i(Ve,mn),mr&&Fo(Ve,yn),un;if(mn===null){for(;!Qn.done;yn++,Qn=Ye.next())Qn=Tt(Ve,Qn.value,_t),Qn!==null&&(Fe=O(Qn,Fe,yn),vn===null?un=Qn:vn.sibling=Qn,vn=Qn);return mr&&Fo(Ve,yn),un}for(mn=s(Ve,mn);!Qn.done;yn++,Qn=Ye.next())Qn=Gt(mn,Ve,yn,Qn.value,_t),Qn!==null&&(t&&Qn.alternate!==null&&mn.delete(Qn.key===null?yn:Qn.key),Fe=O(Qn,Fe,yn),vn===null?un=Qn:vn.sibling=Qn,vn=Qn);return t&&mn.forEach(function(df){return n(Ve,df)}),mr&&Fo(Ve,yn),un}function Or(Ve,Fe,Ye,_t){if(typeof Ye==\"object\"&&Ye!==null&&Ye.type===G&&Ye.key===null&&(Ye=Ye.props.children),typeof Ye==\"object\"&&Ye!==null){switch(Ye.$$typeof){case F:e:{for(var un=Ye.key,vn=Fe;vn!==null;){if(vn.key===un){if(un=Ye.type,un===G){if(vn.tag===7){i(Ve,vn.sibling),Fe=E(vn,Ye.props.children),Fe.return=Ve,Ve=Fe;break e}}else if(vn.elementType===un||typeof un==\"object\"&&un!==null&&un.$$typeof===T&&hs(un)===vn.type){i(Ve,vn.sibling),Fe=E(vn,Ye.props),Fe.ref=Bi(Ve,vn,Ye),Fe.return=Ve,Ve=Fe;break e}i(Ve,vn);break}else n(Ve,vn);vn=vn.sibling}Ye.type===G?(Fe=Zo(Ye.props.children,Ve.mode,_t,Ye.key),Fe.return=Ve,Ve=Fe):(_t=Fu(Ye.type,Ye.key,Ye.props,null,Ve.mode,_t),_t.ref=Bi(Ve,Fe,Ye),_t.return=Ve,Ve=_t)}return $(Ve);case K:e:{for(vn=Ye.key;Fe!==null;){if(Fe.key===vn)if(Fe.tag===4&&Fe.stateNode.containerInfo===Ye.containerInfo&&Fe.stateNode.implementation===Ye.implementation){i(Ve,Fe.sibling),Fe=E(Fe,Ye.children||[]),Fe.return=Ve,Ve=Fe;break e}else{i(Ve,Fe);break}else n(Ve,Fe);Fe=Fe.sibling}Fe=Jl(Ye,Ve.mode,_t),Fe.return=Ve,Ve=Fe}return $(Ve);case T:return vn=Ye._init,Or(Ve,Fe,vn(Ye._payload),_t)}if(Q(Ye))return tn(Ve,Fe,Ye,_t);if(C(Ye))return rn(Ve,Fe,Ye,_t);gu(Ve,Ye)}return typeof Ye==\"string\"&&Ye!==\"\"||typeof Ye==\"number\"?(Ye=\"\"+Ye,Fe!==null&&Fe.tag===6?(i(Ve,Fe.sibling),Fe=E(Fe,Ye),Fe.return=Ve,Ve=Fe):(i(Ve,Fe),Fe=Xl(Ye,Ve.mode,_t),Fe.return=Ve,Ve=Fe),$(Ve)):i(Ve,Fe)}return Or}var hi=ys(!0),gs=ys(!1),Ki={},Ba=Cr(Ki),Ui=Cr(Ki),zi=Cr(Ki);function Bo(t){if(t===Ki)throw Error(r(174));return t}function ml(t,n){switch(Tn(zi,n),Tn(Ui,t),Tn(Ba,Ki),t=n.nodeType,t){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:We(null,\"\");break;default:t=t===8?n.parentNode:n,n=t.namespaceURI||null,t=t.tagName,n=We(n,t)}kn(Ba),Tn(Ba,n)}function yi(){kn(Ba),kn(Ui),kn(zi)}function bs(t){Bo(zi.current);var n=Bo(Ba.current),i=We(n,t.type);n!==i&&(Tn(Ui,t),Tn(Ba,i))}function hl(t){Ui.current===t&&(kn(Ba),kn(Ui))}var yr=Cr(0);function bu(t){for(var n=t;n!==null;){if(n.tag===13){var i=n.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||i.data===\"$?\"||i.data===\"$!\"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if(n.flags&128)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var yl=[];function gl(){for(var t=0;t<yl.length;t++)yl[t]._workInProgressVersionPrimary=null;yl.length=0}var Eu=x.ReactCurrentDispatcher,bl=x.ReactCurrentBatchConfig,Ko=0,gr=null,Nr=null,Ur=null,Su=!1,Hi=!1,$i=0,Dc=0;function qr(){throw Error(r(321))}function El(t,n){if(n===null)return!1;for(var i=0;i<n.length&&i<t.length;i++)if(!wr(t[i],n[i]))return!1;return!0}function Sl(t,n,i,s,E,O){if(Ko=O,gr=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,Eu.current=t===null||t.memoizedState===null?Fc:jc,t=i(s,E),Hi){O=0;do{if(Hi=!1,$i=0,25<=O)throw Error(r(301));O+=1,Ur=Nr=null,n.updateQueue=null,Eu.current=Bc,t=i(s,E)}while(Hi)}if(Eu.current=xu,n=Nr!==null&&Nr.next!==null,Ko=0,Ur=Nr=gr=null,Su=!1,n)throw Error(r(300));return t}function Il(){var t=$i!==0;return $i=0,t}function Ka(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ur===null?gr.memoizedState=Ur=t:Ur=Ur.next=t,Ur}function xa(){if(Nr===null){var t=gr.alternate;t=t!==null?t.memoizedState:null}else t=Nr.next;var n=Ur===null?gr.memoizedState:Ur.next;if(n!==null)Ur=n,Nr=t;else{if(t===null)throw Error(r(310));Nr=t,t={memoizedState:Nr.memoizedState,baseState:Nr.baseState,baseQueue:Nr.baseQueue,queue:Nr.queue,next:null},Ur===null?gr.memoizedState=Ur=t:Ur=Ur.next=t}return Ur}function Zi(t,n){return typeof n==\"function\"?n(t):n}function Tl(t){var n=xa(),i=n.queue;if(i===null)throw Error(r(311));i.lastRenderedReducer=t;var s=Nr,E=s.baseQueue,O=i.pending;if(O!==null){if(E!==null){var $=E.next;E.next=O.next,O.next=$}s.baseQueue=E=O,i.pending=null}if(E!==null){O=E.next,s=s.baseState;var ve=$=null,Pe=null,et=O;do{var St=et.lane;if((Ko&St)===St)Pe!==null&&(Pe=Pe.next={lane:0,action:et.action,hasEagerState:et.hasEagerState,eagerState:et.eagerState,next:null}),s=et.hasEagerState?et.eagerState:t(s,et.action);else{var Tt={lane:St,action:et.action,hasEagerState:et.hasEagerState,eagerState:et.eagerState,next:null};Pe===null?(ve=Pe=Tt,$=s):Pe=Pe.next=Tt,gr.lanes|=St,Uo|=St}et=et.next}while(et!==null&&et!==O);Pe===null?$=s:Pe.next=ve,wr(s,n.memoizedState)||(ca=!0),n.memoizedState=s,n.baseState=$,n.baseQueue=Pe,i.lastRenderedState=s}if(t=i.interleaved,t!==null){E=t;do O=E.lane,gr.lanes|=O,Uo|=O,E=E.next;while(E!==t)}else E===null&&(i.lanes=0);return[n.memoizedState,i.dispatch]}function xl(t){var n=xa(),i=n.queue;if(i===null)throw Error(r(311));i.lastRenderedReducer=t;var s=i.dispatch,E=i.pending,O=n.memoizedState;if(E!==null){i.pending=null;var $=E=E.next;do O=t(O,$.action),$=$.next;while($!==E);wr(O,n.memoizedState)||(ca=!0),n.memoizedState=O,n.baseQueue===null&&(n.baseState=O),i.lastRenderedState=O}return[O,s]}function Es(){}function Ss(t,n){var i=gr,s=xa(),E=n(),O=!wr(s.memoizedState,E);if(O&&(s.memoizedState=E,ca=!0),s=s.queue,wl(xs.bind(null,i,s,t),[t]),s.getSnapshot!==n||O||Ur!==null&&Ur.memoizedState.tag&1){if(i.flags|=2048,Wi(9,Ts.bind(null,i,s,E,n),void 0,null),zr===null)throw Error(r(349));Ko&30||Is(i,n,E)}return E}function Is(t,n,i){t.flags|=16384,t={getSnapshot:n,value:i},n=gr.updateQueue,n===null?(n={lastEffect:null,stores:null},gr.updateQueue=n,n.stores=[t]):(i=n.stores,i===null?n.stores=[t]:i.push(t))}function Ts(t,n,i,s){n.value=i,n.getSnapshot=s,ws(n)&&Cs(t)}function xs(t,n,i){return i(function(){ws(n)&&Cs(t)})}function ws(t){var n=t.getSnapshot;t=t.value;try{var i=n();return!wr(t,i)}catch(s){return!0}}function Cs(t){var n=qa(t,1);n!==null&&Na(n,t,1,-1)}function Os(t){var n=Ka();return typeof t==\"function\"&&(t=t()),n.memoizedState=n.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Zi,lastRenderedState:t},n.queue=t,t=t.dispatch=kc.bind(null,gr,t),[n.memoizedState,t]}function Wi(t,n,i,s){return t={tag:t,create:n,destroy:i,deps:s,next:null},n=gr.updateQueue,n===null?(n={lastEffect:null,stores:null},gr.updateQueue=n,n.lastEffect=t.next=t):(i=n.lastEffect,i===null?n.lastEffect=t.next=t:(s=i.next,i.next=t,t.next=s,n.lastEffect=t)),t}function As(){return xa().memoizedState}function Iu(t,n,i,s){var E=Ka();gr.flags|=t,E.memoizedState=Wi(1|n,i,void 0,s===void 0?null:s)}function Tu(t,n,i,s){var E=xa();s=s===void 0?null:s;var O=void 0;if(Nr!==null){var $=Nr.memoizedState;if(O=$.destroy,s!==null&&El(s,$.deps)){E.memoizedState=Wi(n,i,O,s);return}}gr.flags|=t,E.memoizedState=Wi(1|n,i,O,s)}function Rs(t,n){return Iu(8390656,8,t,n)}function wl(t,n){return Tu(2048,8,t,n)}function Ps(t,n){return Tu(4,2,t,n)}function Ms(t,n){return Tu(4,4,t,n)}function _s(t,n){if(typeof n==\"function\")return t=t(),n(t),function(){n(null)};if(n!=null)return t=t(),n.current=t,function(){n.current=null}}function Ds(t,n,i){return i=i!=null?i.concat([t]):null,Tu(4,4,_s.bind(null,n,t),i)}function Cl(){}function Ns(t,n){var i=xa();n=n===void 0?null:n;var s=i.memoizedState;return s!==null&&n!==null&&El(n,s[1])?s[0]:(i.memoizedState=[t,n],t)}function Ls(t,n){var i=xa();n=n===void 0?null:n;var s=i.memoizedState;return s!==null&&n!==null&&El(n,s[1])?s[0]:(t=t(),i.memoizedState=[t,n],t)}function ks(t,n,i){return Ko&21?(wr(i,n)||(i=en(),gr.lanes|=i,Uo|=i,t.baseState=!0),n):(t.baseState&&(t.baseState=!1,ca=!0),t.memoizedState=i)}function Nc(t,n){var i=Zt;Zt=i!==0&&4>i?i:4,t(!0);var s=bl.transition;bl.transition={};try{t(!1),n()}finally{Zt=i,bl.transition=s}}function Fs(){return xa().memoizedState}function Lc(t,n,i){var s=bo(t);if(i={lane:s,action:i,hasEagerState:!1,eagerState:null,next:null},js(t))Bs(n,i);else if(i=ls(t,n,i,s),i!==null){var E=ua();Na(i,t,s,E),Ks(i,n,s)}}function kc(t,n,i){var s=bo(t),E={lane:s,action:i,hasEagerState:!1,eagerState:null,next:null};if(js(t))Bs(n,E);else{var O=t.alternate;if(t.lanes===0&&(O===null||O.lanes===0)&&(O=n.lastRenderedReducer,O!==null))try{var $=n.lastRenderedState,ve=O($,i);if(E.hasEagerState=!0,E.eagerState=ve,wr(ve,$)){var Pe=n.interleaved;Pe===null?(E.next=E,fl(n)):(E.next=Pe.next,Pe.next=E),n.interleaved=E;return}}catch(et){}finally{}i=ls(t,n,E,s),i!==null&&(E=ua(),Na(i,t,s,E),Ks(i,n,s))}}function js(t){var n=t.alternate;return t===gr||n!==null&&n===gr}function Bs(t,n){Hi=Su=!0;var i=t.pending;i===null?n.next=n:(n.next=i.next,i.next=n),t.pending=n}function Ks(t,n,i){if(i&4194240){var s=n.lanes;s&=t.pendingLanes,i|=s,n.lanes=i,fn(t,i)}}var xu={readContext:Ta,useCallback:qr,useContext:qr,useEffect:qr,useImperativeHandle:qr,useInsertionEffect:qr,useLayoutEffect:qr,useMemo:qr,useReducer:qr,useRef:qr,useState:qr,useDebugValue:qr,useDeferredValue:qr,useTransition:qr,useMutableSource:qr,useSyncExternalStore:qr,useId:qr,unstable_isNewReconciler:!1},Fc={readContext:Ta,useCallback:function(t,n){return Ka().memoizedState=[t,n===void 0?null:n],t},useContext:Ta,useEffect:Rs,useImperativeHandle:function(t,n,i){return i=i!=null?i.concat([t]):null,Iu(4194308,4,_s.bind(null,n,t),i)},useLayoutEffect:function(t,n){return Iu(4194308,4,t,n)},useInsertionEffect:function(t,n){return Iu(4,2,t,n)},useMemo:function(t,n){var i=Ka();return n=n===void 0?null:n,t=t(),i.memoizedState=[t,n],t},useReducer:function(t,n,i){var s=Ka();return n=i!==void 0?i(n):n,s.memoizedState=s.baseState=n,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:n},s.queue=t,t=t.dispatch=Lc.bind(null,gr,t),[s.memoizedState,t]},useRef:function(t){var n=Ka();return t={current:t},n.memoizedState=t},useState:Os,useDebugValue:Cl,useDeferredValue:function(t){return Ka().memoizedState=t},useTransition:function(){var t=Os(!1),n=t[0];return t=Nc.bind(null,t[1]),Ka().memoizedState=t,[n,t]},useMutableSource:function(){},useSyncExternalStore:function(t,n,i){var s=gr,E=Ka();if(mr){if(i===void 0)throw Error(r(407));i=i()}else{if(i=n(),zr===null)throw Error(r(349));Ko&30||Is(s,n,i)}E.memoizedState=i;var O={value:i,getSnapshot:n};return E.queue=O,Rs(xs.bind(null,s,O,t),[t]),s.flags|=2048,Wi(9,Ts.bind(null,s,O,i,n),void 0,null),i},useId:function(){var t=Ka(),n=zr.identifierPrefix;if(mr){var i=Ja,s=Xa;i=(s&~(1<<32-gt(s)-1)).toString(32)+i,n=\":\"+n+\"R\"+i,i=$i++,0<i&&(n+=\"H\"+i.toString(32)),n+=\":\"}else i=Dc++,n=\":\"+n+\"r\"+i.toString(32)+\":\";return t.memoizedState=n},unstable_isNewReconciler:!1},jc={readContext:Ta,useCallback:Ns,useContext:Ta,useEffect:wl,useImperativeHandle:Ds,useInsertionEffect:Ps,useLayoutEffect:Ms,useMemo:Ls,useReducer:Tl,useRef:As,useState:function(){return Tl(Zi)},useDebugValue:Cl,useDeferredValue:function(t){var n=xa();return ks(n,Nr.memoizedState,t)},useTransition:function(){var t=Tl(Zi)[0],n=xa().memoizedState;return[t,n]},useMutableSource:Es,useSyncExternalStore:Ss,useId:Fs,unstable_isNewReconciler:!1},Bc={readContext:Ta,useCallback:Ns,useContext:Ta,useEffect:wl,useImperativeHandle:Ds,useInsertionEffect:Ps,useLayoutEffect:Ms,useMemo:Ls,useReducer:xl,useRef:As,useState:function(){return xl(Zi)},useDebugValue:Cl,useDeferredValue:function(t){var n=xa();return Nr===null?n.memoizedState=t:ks(n,Nr.memoizedState,t)},useTransition:function(){var t=xl(Zi)[0],n=xa().memoizedState;return[t,n]},useMutableSource:Es,useSyncExternalStore:Ss,useId:Fs,unstable_isNewReconciler:!1};function gi(t,n){try{var i=\"\",s=n;do i+=Me(s),s=s.return;while(s);var E=i}catch(O){E=`\nError generating stack: `+O.message+`\n`+O.stack}return{value:t,source:n,stack:E,digest:null}}function Ol(t,n,i){return{value:t,source:null,stack:i!=null?i:null,digest:n!=null?n:null}}function Al(t,n){try{console.error(n.value)}catch(i){setTimeout(function(){throw i})}}var Kc=typeof WeakMap==\"function\"?WeakMap:Map;function Us(t,n,i){i=eo(-1,i),i.tag=3,i.payload={element:null};var s=n.value;return i.callback=function(){Mu||(Mu=!0,Hl=s),Al(t,n)},i}function zs(t,n,i){i=eo(-1,i),i.tag=3;var s=t.type.getDerivedStateFromError;if(typeof s==\"function\"){var E=n.value;i.payload=function(){return s(E)},i.callback=function(){Al(t,n)}}var O=t.stateNode;return O!==null&&typeof O.componentDidCatch==\"function\"&&(i.callback=function(){Al(t,n),typeof s!=\"function\"&&(yo===null?yo=new Set([this]):yo.add(this));var $=n.stack;this.componentDidCatch(n.value,{componentStack:$!==null?$:\"\"})}),i}function Hs(t,n,i){var s=t.pingCache;if(s===null){s=t.pingCache=new Kc;var E=new Set;s.set(n,E)}else E=s.get(n),E===void 0&&(E=new Set,s.set(n,E));E.has(i)||(E.add(i),t=ef.bind(null,t,n,i),n.then(t,t))}function $s(t){do{var n;if((n=t.tag===13)&&(n=t.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return t;t=t.return}while(t!==null);return null}function Zs(t,n,i,s,E){return t.mode&1?(t.flags|=65536,t.lanes=E,t):(t===n?t.flags|=65536:(t.flags|=128,i.flags|=131072,i.flags&=-52805,i.tag===1&&(i.alternate===null?i.tag=17:(n=eo(-1,1),n.tag=2,mo(i,n,1))),i.lanes|=1),t)}var Uc=x.ReactCurrentOwner,ca=!1;function ia(t,n,i,s){n.child=t===null?gs(n,null,i,s):hi(n,t.child,i,s)}function Ws(t,n,i,s,E){i=i.render;var O=n.ref;return mi(n,E),s=Sl(t,n,i,s,O,E),i=Il(),t!==null&&!ca?(n.updateQueue=t.updateQueue,n.flags&=-2053,t.lanes&=~E,to(t,n,E)):(mr&&i&&nl(n),n.flags|=1,ia(t,n,s,E),n.child)}function Gs(t,n,i,s,E){if(t===null){var O=i.type;return typeof O==\"function\"&&!Ql(O)&&O.defaultProps===void 0&&i.compare===null&&i.defaultProps===void 0?(n.tag=15,n.type=O,Vs(t,n,O,s,E)):(t=Fu(i.type,null,s,n,n.mode,E),t.ref=n.ref,t.return=n,n.child=t)}if(O=t.child,!(t.lanes&E)){var $=O.memoizedProps;if(i=i.compare,i=i!==null?i:Qr,i($,s)&&t.ref===n.ref)return to(t,n,E)}return n.flags|=1,t=So(O,s),t.ref=n.ref,t.return=n,n.child=t}function Vs(t,n,i,s,E){if(t!==null){var O=t.memoizedProps;if(Qr(O,s)&&t.ref===n.ref)if(ca=!1,n.pendingProps=s=O,(t.lanes&E)!==0)t.flags&131072&&(ca=!0);else return n.lanes=t.lanes,to(t,n,E)}return Rl(t,n,i,s,E)}function Ys(t,n,i){var s=n.pendingProps,E=s.children,O=t!==null?t.memoizedState:null;if(s.mode===\"hidden\")if(!(n.mode&1))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},Tn(Ei,ha),ha|=i;else{if(!(i&1073741824))return t=O!==null?O.baseLanes|i:i,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:t,cachePool:null,transitions:null},n.updateQueue=null,Tn(Ei,ha),ha|=t,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},s=O!==null?O.baseLanes:i,Tn(Ei,ha),ha|=s}else O!==null?(s=O.baseLanes|i,n.memoizedState=null):s=i,Tn(Ei,ha),ha|=s;return ia(t,n,E,i),n.child}function Qs(t,n){var i=n.ref;(t===null&&i!==null||t!==null&&t.ref!==i)&&(n.flags|=512,n.flags|=2097152)}function Rl(t,n,i,s,E){var O=Jr(i)?Ya:sr.current;return O=ja(n,O),mi(n,E),i=Sl(t,n,i,s,O,E),s=Il(),t!==null&&!ca?(n.updateQueue=t.updateQueue,n.flags&=-2053,t.lanes&=~E,to(t,n,E)):(mr&&s&&nl(n),n.flags|=1,ia(t,n,i,E),n.child)}function Xs(t,n,i,s,E){if(Jr(i)){var O=!0;po(n)}else O=!1;if(mi(n,E),n.stateNode===null)Cu(t,n),vs(n,i,s),vl(n,i,s,E),s=!0;else if(t===null){var $=n.stateNode,ve=n.memoizedProps;$.props=ve;var Pe=$.context,et=i.contextType;typeof et==\"object\"&&et!==null?et=Ta(et):(et=Jr(i)?Ya:sr.current,et=ja(n,et));var St=i.getDerivedStateFromProps,Tt=typeof St==\"function\"||typeof $.getSnapshotBeforeUpdate==\"function\";Tt||typeof $.UNSAFE_componentWillReceiveProps!=\"function\"&&typeof $.componentWillReceiveProps!=\"function\"||(ve!==s||Pe!==et)&&ms(n,$,s,et),vo=!1;var bt=n.memoizedState;$.state=bt,hu(n,s,$,E),Pe=n.memoizedState,ve!==s||bt!==Pe||Kr.current||vo?(typeof St==\"function\"&&(pl(n,i,St,s),Pe=n.memoizedState),(ve=vo||ps(n,i,ve,s,bt,Pe,et))?(Tt||typeof $.UNSAFE_componentWillMount!=\"function\"&&typeof $.componentWillMount!=\"function\"||(typeof $.componentWillMount==\"function\"&&$.componentWillMount(),typeof $.UNSAFE_componentWillMount==\"function\"&&$.UNSAFE_componentWillMount()),typeof $.componentDidMount==\"function\"&&(n.flags|=4194308)):(typeof $.componentDidMount==\"function\"&&(n.flags|=4194308),n.memoizedProps=s,n.memoizedState=Pe),$.props=s,$.state=Pe,$.context=et,s=ve):(typeof $.componentDidMount==\"function\"&&(n.flags|=4194308),s=!1)}else{$=n.stateNode,ss(t,n),ve=n.memoizedProps,et=n.type===n.elementType?ve:Ma(n.type,ve),$.props=et,Tt=n.pendingProps,bt=$.context,Pe=i.contextType,typeof Pe==\"object\"&&Pe!==null?Pe=Ta(Pe):(Pe=Jr(i)?Ya:sr.current,Pe=ja(n,Pe));var Gt=i.getDerivedStateFromProps;(St=typeof Gt==\"function\"||typeof $.getSnapshotBeforeUpdate==\"function\")||typeof $.UNSAFE_componentWillReceiveProps!=\"function\"&&typeof $.componentWillReceiveProps!=\"function\"||(ve!==Tt||bt!==Pe)&&ms(n,$,s,Pe),vo=!1,bt=n.memoizedState,$.state=bt,hu(n,s,$,E);var tn=n.memoizedState;ve!==Tt||bt!==tn||Kr.current||vo?(typeof Gt==\"function\"&&(pl(n,i,Gt,s),tn=n.memoizedState),(et=vo||ps(n,i,et,s,bt,tn,Pe)||!1)?(St||typeof $.UNSAFE_componentWillUpdate!=\"function\"&&typeof $.componentWillUpdate!=\"function\"||(typeof $.componentWillUpdate==\"function\"&&$.componentWillUpdate(s,tn,Pe),typeof $.UNSAFE_componentWillUpdate==\"function\"&&$.UNSAFE_componentWillUpdate(s,tn,Pe)),typeof $.componentDidUpdate==\"function\"&&(n.flags|=4),typeof $.getSnapshotBeforeUpdate==\"function\"&&(n.flags|=1024)):(typeof $.componentDidUpdate!=\"function\"||ve===t.memoizedProps&&bt===t.memoizedState||(n.flags|=4),typeof $.getSnapshotBeforeUpdate!=\"function\"||ve===t.memoizedProps&&bt===t.memoizedState||(n.flags|=1024),n.memoizedProps=s,n.memoizedState=tn),$.props=s,$.state=tn,$.context=Pe,s=et):(typeof $.componentDidUpdate!=\"function\"||ve===t.memoizedProps&&bt===t.memoizedState||(n.flags|=4),typeof $.getSnapshotBeforeUpdate!=\"function\"||ve===t.memoizedProps&&bt===t.memoizedState||(n.flags|=1024),s=!1)}return Pl(t,n,i,s,O,E)}function Pl(t,n,i,s,E,O){Qs(t,n);var $=(n.flags&128)!==0;if(!s&&!$)return E&&ji(n,i,!1),to(t,n,O);s=n.stateNode,Uc.current=n;var ve=$&&typeof i.getDerivedStateFromError!=\"function\"?null:s.render();return n.flags|=1,t!==null&&$?(n.child=hi(n,t.child,null,O),n.child=hi(n,null,ve,O)):ia(t,n,ve,O),n.memoizedState=s.state,E&&ji(n,i,!0),n.child}function Js(t){var n=t.stateNode;n.pendingContext?ui(t,n.pendingContext,n.pendingContext!==n.context):n.context&&ui(t,n.context,!1),ml(t,n.containerInfo)}function qs(t,n,i,s,E){return pi(),il(E),n.flags|=256,ia(t,n,i,s),n.child}var Ml={dehydrated:null,treeContext:null,retryLane:0};function _l(t){return{baseLanes:t,cachePool:null,transitions:null}}function ec(t,n,i){var s=n.pendingProps,E=yr.current,O=!1,$=(n.flags&128)!==0,ve;if((ve=$)||(ve=t!==null&&t.memoizedState===null?!1:(E&2)!==0),ve?(O=!0,n.flags&=-129):(t===null||t.memoizedState!==null)&&(E|=1),Tn(yr,E&1),t===null)return ol(n),t=n.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?(n.mode&1?t.data===\"$!\"?n.lanes=8:n.lanes=1073741824:n.lanes=1,null):($=s.children,t=s.fallback,O?(s=n.mode,O=n.child,$={mode:\"hidden\",children:$},!(s&1)&&O!==null?(O.childLanes=0,O.pendingProps=$):O=ju($,s,0,null),t=Zo(t,s,i,null),O.return=n,t.return=n,O.sibling=t,n.child=O,n.child.memoizedState=_l(i),n.memoizedState=Ml,t):Dl(n,$));if(E=t.memoizedState,E!==null&&(ve=E.dehydrated,ve!==null))return zc(t,n,$,s,ve,E,i);if(O){O=s.fallback,$=n.mode,E=t.child,ve=E.sibling;var Pe={mode:\"hidden\",children:s.children};return!($&1)&&n.child!==E?(s=n.child,s.childLanes=0,s.pendingProps=Pe,n.deletions=null):(s=So(E,Pe),s.subtreeFlags=E.subtreeFlags&14680064),ve!==null?O=So(ve,O):(O=Zo(O,$,i,null),O.flags|=2),O.return=n,s.return=n,s.sibling=O,n.child=s,s=O,O=n.child,$=t.child.memoizedState,$=$===null?_l(i):{baseLanes:$.baseLanes|i,cachePool:null,transitions:$.transitions},O.memoizedState=$,O.childLanes=t.childLanes&~i,n.memoizedState=Ml,s}return O=t.child,t=O.sibling,s=So(O,{mode:\"visible\",children:s.children}),!(n.mode&1)&&(s.lanes=i),s.return=n,s.sibling=null,t!==null&&(i=n.deletions,i===null?(n.deletions=[t],n.flags|=16):i.push(t)),n.child=s,n.memoizedState=null,s}function Dl(t,n){return n=ju({mode:\"visible\",children:n},t.mode,0,null),n.return=t,t.child=n}function wu(t,n,i,s){return s!==null&&il(s),hi(n,t.child,null,i),t=Dl(n,n.pendingProps.children),t.flags|=2,n.memoizedState=null,t}function zc(t,n,i,s,E,O,$){if(i)return n.flags&256?(n.flags&=-257,s=Ol(Error(r(422))),wu(t,n,$,s)):n.memoizedState!==null?(n.child=t.child,n.flags|=128,null):(O=s.fallback,E=n.mode,s=ju({mode:\"visible\",children:s.children},E,0,null),O=Zo(O,E,$,null),O.flags|=2,s.return=n,O.return=n,s.sibling=O,n.child=s,n.mode&1&&hi(n,t.child,null,$),n.child.memoizedState=_l($),n.memoizedState=Ml,O);if(!(n.mode&1))return wu(t,n,$,null);if(E.data===\"$!\"){if(s=E.nextSibling&&E.nextSibling.dataset,s)var ve=s.dgst;return s=ve,O=Error(r(419)),s=Ol(O,s,void 0),wu(t,n,$,s)}if(ve=($&t.childLanes)!==0,ca||ve){if(s=zr,s!==null){switch($&-$){case 4:E=2;break;case 16:E=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:E=32;break;case 536870912:E=268435456;break;default:E=0}E=E&(s.suspendedLanes|$)?0:E,E!==0&&E!==O.retryLane&&(O.retryLane=E,qa(t,E),Na(s,t,E,-1))}return Yl(),s=Ol(Error(r(421))),wu(t,n,$,s)}return E.data===\"$?\"?(n.flags|=128,n.child=t.child,n=tf.bind(null,t),E._reactRetry=n,null):(t=O.treeContext,ma=Be(E.nextSibling),va=n,mr=!0,Pa=null,t!==null&&(Sa[Ia++]=Xa,Sa[Ia++]=Ja,Sa[Ia++]=ko,Xa=t.id,Ja=t.overflow,ko=n),n=Dl(n,s.children),n.flags|=4096,n)}function tc(t,n,i){t.lanes|=n;var s=t.alternate;s!==null&&(s.lanes|=n),cl(t.return,n,i)}function Nl(t,n,i,s,E){var O=t.memoizedState;O===null?t.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:s,tail:i,tailMode:E}:(O.isBackwards=n,O.rendering=null,O.renderingStartTime=0,O.last=s,O.tail=i,O.tailMode=E)}function nc(t,n,i){var s=n.pendingProps,E=s.revealOrder,O=s.tail;if(ia(t,n,s.children,i),s=yr.current,s&2)s=s&1|2,n.flags|=128;else{if(t!==null&&t.flags&128)e:for(t=n.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&tc(t,i,n);else if(t.tag===19)tc(t,i,n);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===n)break e;for(;t.sibling===null;){if(t.return===null||t.return===n)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}s&=1}if(Tn(yr,s),!(n.mode&1))n.memoizedState=null;else switch(E){case\"forwards\":for(i=n.child,E=null;i!==null;)t=i.alternate,t!==null&&bu(t)===null&&(E=i),i=i.sibling;i=E,i===null?(E=n.child,n.child=null):(E=i.sibling,i.sibling=null),Nl(n,!1,E,i,O);break;case\"backwards\":for(i=null,E=n.child,n.child=null;E!==null;){if(t=E.alternate,t!==null&&bu(t)===null){n.child=E;break}t=E.sibling,E.sibling=i,i=E,E=t}Nl(n,!0,i,null,O);break;case\"together\":Nl(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function Cu(t,n){!(n.mode&1)&&t!==null&&(t.alternate=null,n.alternate=null,n.flags|=2)}function to(t,n,i){if(t!==null&&(n.dependencies=t.dependencies),Uo|=n.lanes,!(i&n.childLanes))return null;if(t!==null&&n.child!==t.child)throw Error(r(153));if(n.child!==null){for(t=n.child,i=So(t,t.pendingProps),n.child=i,i.return=n;t.sibling!==null;)t=t.sibling,i=i.sibling=So(t,t.pendingProps),i.return=n;i.sibling=null}return n.child}function Hc(t,n,i){switch(n.tag){case 3:Js(n),pi();break;case 5:bs(n);break;case 1:Jr(n.type)&&po(n);break;case 4:ml(n,n.stateNode.containerInfo);break;case 10:var s=n.type._context,E=n.memoizedProps.value;Tn(pu,s._currentValue),s._currentValue=E;break;case 13:if(s=n.memoizedState,s!==null)return s.dehydrated!==null?(Tn(yr,yr.current&1),n.flags|=128,null):i&n.child.childLanes?ec(t,n,i):(Tn(yr,yr.current&1),t=to(t,n,i),t!==null?t.sibling:null);Tn(yr,yr.current&1);break;case 19:if(s=(i&n.childLanes)!==0,t.flags&128){if(s)return nc(t,n,i);n.flags|=128}if(E=n.memoizedState,E!==null&&(E.rendering=null,E.tail=null,E.lastEffect=null),Tn(yr,yr.current),s)break;return null;case 22:case 23:return n.lanes=0,Ys(t,n,i)}return to(t,n,i)}var rc,Ll,ac,oc;rc=function(t,n){for(var i=n.child;i!==null;){if(i.tag===5||i.tag===6)t.appendChild(i.stateNode);else if(i.tag!==4&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===n)break;for(;i.sibling===null;){if(i.return===null||i.return===n)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},Ll=function(){},ac=function(t,n,i,s){var E=t.memoizedProps;if(E!==s){t=n.stateNode,Bo(Ba.current);var O=null;switch(i){case\"input\":E=Ne(t,E),s=Ne(t,s),O=[];break;case\"select\":E=B({},E,{value:void 0}),s=B({},s,{value:void 0}),O=[];break;case\"textarea\":E=Y(t,E),s=Y(t,s),O=[];break;default:typeof E.onClick!=\"function\"&&typeof s.onClick==\"function\"&&(t.onclick=ii)}He(i,s);var $;i=null;for(et in E)if(!s.hasOwnProperty(et)&&E.hasOwnProperty(et)&&E[et]!=null)if(et===\"style\"){var ve=E[et];for($ in ve)ve.hasOwnProperty($)&&(i||(i={}),i[$]=\"\")}else et!==\"dangerouslySetInnerHTML\"&&et!==\"children\"&&et!==\"suppressContentEditableWarning\"&&et!==\"suppressHydrationWarning\"&&et!==\"autoFocus\"&&(l.hasOwnProperty(et)?O||(O=[]):(O=O||[]).push(et,null));for(et in s){var Pe=s[et];if(ve=E!=null?E[et]:void 0,s.hasOwnProperty(et)&&Pe!==ve&&(Pe!=null||ve!=null))if(et===\"style\")if(ve){for($ in ve)!ve.hasOwnProperty($)||Pe&&Pe.hasOwnProperty($)||(i||(i={}),i[$]=\"\");for($ in Pe)Pe.hasOwnProperty($)&&ve[$]!==Pe[$]&&(i||(i={}),i[$]=Pe[$])}else i||(O||(O=[]),O.push(et,i)),i=Pe;else et===\"dangerouslySetInnerHTML\"?(Pe=Pe?Pe.__html:void 0,ve=ve?ve.__html:void 0,Pe!=null&&ve!==Pe&&(O=O||[]).push(et,Pe)):et===\"children\"?typeof Pe!=\"string\"&&typeof Pe!=\"number\"||(O=O||[]).push(et,\"\"+Pe):et!==\"suppressContentEditableWarning\"&&et!==\"suppressHydrationWarning\"&&(l.hasOwnProperty(et)?(Pe!=null&&et===\"onScroll\"&&rr(\"scroll\",t),O||ve===Pe||(O=[])):(O=O||[]).push(et,Pe))}i&&(O=O||[]).push(\"style\",i);var et=O;(n.updateQueue=et)&&(n.flags|=4)}},oc=function(t,n,i,s){i!==s&&(n.flags|=4)};function Gi(t,n){if(!mr)switch(t.tailMode){case\"hidden\":n=t.tail;for(var i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?t.tail=null:i.sibling=null;break;case\"collapsed\":i=t.tail;for(var s=null;i!==null;)i.alternate!==null&&(s=i),i=i.sibling;s===null?n||t.tail===null?t.tail=null:t.tail.sibling=null:s.sibling=null}}function ea(t){var n=t.alternate!==null&&t.alternate.child===t.child,i=0,s=0;if(n)for(var E=t.child;E!==null;)i|=E.lanes|E.childLanes,s|=E.subtreeFlags&14680064,s|=E.flags&14680064,E.return=t,E=E.sibling;else for(E=t.child;E!==null;)i|=E.lanes|E.childLanes,s|=E.subtreeFlags,s|=E.flags,E.return=t,E=E.sibling;return t.subtreeFlags|=s,t.childLanes=i,n}function $c(t,n,i){var s=n.pendingProps;switch(rl(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ea(n),null;case 1:return Jr(n.type)&&sa(),ea(n),null;case 3:return s=n.stateNode,yi(),kn(Kr),kn(sr),gl(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(t===null||t.child===null)&&(du(n)?n.flags|=4:t===null||t.memoizedState.isDehydrated&&!(n.flags&256)||(n.flags|=1024,Pa!==null&&(Wl(Pa),Pa=null))),Ll(t,n),ea(n),null;case 5:hl(n);var E=Bo(zi.current);if(i=n.type,t!==null&&n.stateNode!=null)ac(t,n,i,s,E),t.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!s){if(n.stateNode===null)throw Error(r(166));return ea(n),null}if(t=Bo(Ba.current),du(n)){s=n.stateNode,i=n.type;var O=n.memoizedProps;switch(s[Xe]=n,s[yt]=O,t=(n.mode&1)!==0,i){case\"dialog\":rr(\"cancel\",s),rr(\"close\",s);break;case\"iframe\":case\"object\":case\"embed\":rr(\"load\",s);break;case\"video\":case\"audio\":for(E=0;E<Do.length;E++)rr(Do[E],s);break;case\"source\":rr(\"error\",s);break;case\"img\":case\"image\":case\"link\":rr(\"error\",s),rr(\"load\",s);break;case\"details\":rr(\"toggle\",s);break;case\"input\":te(s,O),rr(\"invalid\",s);break;case\"select\":s._wrapperState={wasMultiple:!!O.multiple},rr(\"invalid\",s);break;case\"textarea\":ue(s,O),rr(\"invalid\",s)}He(i,O),E=null;for(var $ in O)if(O.hasOwnProperty($)){var ve=O[$];$===\"children\"?typeof ve==\"string\"?s.textContent!==ve&&(O.suppressHydrationWarning!==!0&&Li(s.textContent,ve,t),E=[\"children\",ve]):typeof ve==\"number\"&&s.textContent!==\"\"+ve&&(O.suppressHydrationWarning!==!0&&Li(s.textContent,ve,t),E=[\"children\",\"\"+ve]):l.hasOwnProperty($)&&ve!=null&&$===\"onScroll\"&&rr(\"scroll\",s)}switch(i){case\"input\":we(s),ee(s,O,!0);break;case\"textarea\":we(s),me(s);break;case\"select\":case\"option\":break;default:typeof O.onClick==\"function\"&&(s.onclick=ii)}s=E,n.updateQueue=s,s!==null&&(n.flags|=4)}else{$=E.nodeType===9?E:E.ownerDocument,t===\"http://www.w3.org/1999/xhtml\"&&(t=Oe(i)),t===\"http://www.w3.org/1999/xhtml\"?i===\"script\"?(t=$.createElement(\"div\"),t.innerHTML=\"<script><\\/script>\",t=t.removeChild(t.firstChild)):typeof s.is==\"string\"?t=$.createElement(i,{is:s.is}):(t=$.createElement(i),i===\"select\"&&($=t,s.multiple?$.multiple=!0:s.size&&($.size=s.size))):t=$.createElementNS(t,i),t[Xe]=n,t[yt]=s,rc(t,n,!1,!1),n.stateNode=t;e:{switch($=rt(i,s),i){case\"dialog\":rr(\"cancel\",t),rr(\"close\",t),E=s;break;case\"iframe\":case\"object\":case\"embed\":rr(\"load\",t),E=s;break;case\"video\":case\"audio\":for(E=0;E<Do.length;E++)rr(Do[E],t);E=s;break;case\"source\":rr(\"error\",t),E=s;break;case\"img\":case\"image\":case\"link\":rr(\"error\",t),rr(\"load\",t),E=s;break;case\"details\":rr(\"toggle\",t),E=s;break;case\"input\":te(t,s),E=Ne(t,s),rr(\"invalid\",t);break;case\"option\":E=s;break;case\"select\":t._wrapperState={wasMultiple:!!s.multiple},E=B({},s,{value:void 0}),rr(\"invalid\",t);break;case\"textarea\":ue(t,s),E=Y(t,s),rr(\"invalid\",t);break;default:E=s}He(i,E),ve=E;for(O in ve)if(ve.hasOwnProperty(O)){var Pe=ve[O];O===\"style\"?de(t,Pe):O===\"dangerouslySetInnerHTML\"?(Pe=Pe?Pe.__html:void 0,Pe!=null&&It(t,Pe)):O===\"children\"?typeof Pe==\"string\"?(i!==\"textarea\"||Pe!==\"\")&&ft(t,Pe):typeof Pe==\"number\"&&ft(t,\"\"+Pe):O!==\"suppressContentEditableWarning\"&&O!==\"suppressHydrationWarning\"&&O!==\"autoFocus\"&&(l.hasOwnProperty(O)?Pe!=null&&O===\"onScroll\"&&rr(\"scroll\",t):Pe!=null&&U(t,O,Pe,$))}switch(i){case\"input\":we(t),ee(t,s,!1);break;case\"textarea\":we(t),me(t);break;case\"option\":s.value!=null&&t.setAttribute(\"value\",\"\"+Ce(s.value));break;case\"select\":t.multiple=!!s.multiple,O=s.value,O!=null?Z(t,!!s.multiple,O,!1):s.defaultValue!=null&&Z(t,!!s.multiple,s.defaultValue,!0);break;default:typeof E.onClick==\"function\"&&(t.onclick=ii)}switch(i){case\"button\":case\"input\":case\"select\":case\"textarea\":s=!!s.autoFocus;break e;case\"img\":s=!0;break e;default:s=!1}}s&&(n.flags|=4)}n.ref!==null&&(n.flags|=512,n.flags|=2097152)}return ea(n),null;case 6:if(t&&n.stateNode!=null)oc(t,n,t.memoizedProps,s);else{if(typeof s!=\"string\"&&n.stateNode===null)throw Error(r(166));if(i=Bo(zi.current),Bo(Ba.current),du(n)){if(s=n.stateNode,i=n.memoizedProps,s[Xe]=n,(O=s.nodeValue!==i)&&(t=va,t!==null))switch(t.tag){case 3:Li(s.nodeValue,i,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&Li(s.nodeValue,i,(t.mode&1)!==0)}O&&(n.flags|=4)}else s=(i.nodeType===9?i:i.ownerDocument).createTextNode(s),s[Xe]=n,n.stateNode=s}return ea(n),null;case 13:if(kn(yr),s=n.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(mr&&ma!==null&&n.mode&1&&!(n.flags&128))us(),pi(),n.flags|=98560,O=!1;else if(O=du(n),s!==null&&s.dehydrated!==null){if(t===null){if(!O)throw Error(r(318));if(O=n.memoizedState,O=O!==null?O.dehydrated:null,!O)throw Error(r(317));O[Xe]=n}else pi(),!(n.flags&128)&&(n.memoizedState=null),n.flags|=4;ea(n),O=!1}else Pa!==null&&(Wl(Pa),Pa=null),O=!0;if(!O)return n.flags&65536?n:null}return n.flags&128?(n.lanes=i,n):(s=s!==null,s!==(t!==null&&t.memoizedState!==null)&&s&&(n.child.flags|=8192,n.mode&1&&(t===null||yr.current&1?Lr===0&&(Lr=3):Yl())),n.updateQueue!==null&&(n.flags|=4),ea(n),null);case 4:return yi(),Ll(t,n),t===null&&ai(n.stateNode.containerInfo),ea(n),null;case 10:return sl(n.type._context),ea(n),null;case 17:return Jr(n.type)&&sa(),ea(n),null;case 19:if(kn(yr),O=n.memoizedState,O===null)return ea(n),null;if(s=(n.flags&128)!==0,$=O.rendering,$===null)if(s)Gi(O,!1);else{if(Lr!==0||t!==null&&t.flags&128)for(t=n.child;t!==null;){if($=bu(t),$!==null){for(n.flags|=128,Gi(O,!1),s=$.updateQueue,s!==null&&(n.updateQueue=s,n.flags|=4),n.subtreeFlags=0,s=i,i=n.child;i!==null;)O=i,t=s,O.flags&=14680066,$=O.alternate,$===null?(O.childLanes=0,O.lanes=t,O.child=null,O.subtreeFlags=0,O.memoizedProps=null,O.memoizedState=null,O.updateQueue=null,O.dependencies=null,O.stateNode=null):(O.childLanes=$.childLanes,O.lanes=$.lanes,O.child=$.child,O.subtreeFlags=0,O.deletions=null,O.memoizedProps=$.memoizedProps,O.memoizedState=$.memoizedState,O.updateQueue=$.updateQueue,O.type=$.type,t=$.dependencies,O.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),i=i.sibling;return Tn(yr,yr.current&1|2),n.child}t=t.sibling}O.tail!==null&&Wt()>Si&&(n.flags|=128,s=!0,Gi(O,!1),n.lanes=4194304)}else{if(!s)if(t=bu($),t!==null){if(n.flags|=128,s=!0,i=t.updateQueue,i!==null&&(n.updateQueue=i,n.flags|=4),Gi(O,!0),O.tail===null&&O.tailMode===\"hidden\"&&!$.alternate&&!mr)return ea(n),null}else 2*Wt()-O.renderingStartTime>Si&&i!==1073741824&&(n.flags|=128,s=!0,Gi(O,!1),n.lanes=4194304);O.isBackwards?($.sibling=n.child,n.child=$):(i=O.last,i!==null?i.sibling=$:n.child=$,O.last=$)}return O.tail!==null?(n=O.tail,O.rendering=n,O.tail=n.sibling,O.renderingStartTime=Wt(),n.sibling=null,i=yr.current,Tn(yr,s?i&1|2:i&1),n):(ea(n),null);case 22:case 23:return Vl(),s=n.memoizedState!==null,t!==null&&t.memoizedState!==null!==s&&(n.flags|=8192),s&&n.mode&1?ha&1073741824&&(ea(n),n.subtreeFlags&6&&(n.flags|=8192)):ea(n),null;case 24:return null;case 25:return null}throw Error(r(156,n.tag))}function Zc(t,n){switch(rl(n),n.tag){case 1:return Jr(n.type)&&sa(),t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 3:return yi(),kn(Kr),kn(sr),gl(),t=n.flags,t&65536&&!(t&128)?(n.flags=t&-65537|128,n):null;case 5:return hl(n),null;case 13:if(kn(yr),t=n.memoizedState,t!==null&&t.dehydrated!==null){if(n.alternate===null)throw Error(r(340));pi()}return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 19:return kn(yr),null;case 4:return yi(),null;case 10:return sl(n.type._context),null;case 22:case 23:return Vl(),null;case 24:return null;default:return null}}var Ou=!1,ta=!1,Wc=typeof WeakSet==\"function\"?WeakSet:Set,Jt=null;function bi(t,n){var i=t.ref;if(i!==null)if(typeof i==\"function\")try{i(null)}catch(s){Sr(t,n,s)}else i.current=null}function kl(t,n,i){try{i()}catch(s){Sr(t,n,s)}}var ic=!1;function Gc(t,n){if(ki=Ct,t=qi(),qo(t)){if(\"selectionStart\"in t)var i={start:t.selectionStart,end:t.selectionEnd};else e:{i=(i=t.ownerDocument)&&i.defaultView||window;var s=i.getSelection&&i.getSelection();if(s&&s.rangeCount!==0){i=s.anchorNode;var E=s.anchorOffset,O=s.focusNode;s=s.focusOffset;try{i.nodeType,O.nodeType}catch(_t){i=null;break e}var $=0,ve=-1,Pe=-1,et=0,St=0,Tt=t,bt=null;t:for(;;){for(var Gt;Tt!==i||E!==0&&Tt.nodeType!==3||(ve=$+E),Tt!==O||s!==0&&Tt.nodeType!==3||(Pe=$+s),Tt.nodeType===3&&($+=Tt.nodeValue.length),(Gt=Tt.firstChild)!==null;)bt=Tt,Tt=Gt;for(;;){if(Tt===t)break t;if(bt===i&&++et===E&&(ve=$),bt===O&&++St===s&&(Pe=$),(Gt=Tt.nextSibling)!==null)break;Tt=bt,bt=Tt.parentNode}Tt=Gt}i=ve===-1||Pe===-1?null:{start:ve,end:Pe}}else i=null}i=i||{start:0,end:0}}else i=null;for(No={focusedElem:t,selectionRange:i},Ct=!1,Jt=n;Jt!==null;)if(n=Jt,t=n.child,(n.subtreeFlags&1028)!==0&&t!==null)t.return=n,Jt=t;else for(;Jt!==null;){n=Jt;try{var tn=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(tn!==null){var rn=tn.memoizedProps,Or=tn.memoizedState,Ve=n.stateNode,Fe=Ve.getSnapshotBeforeUpdate(n.elementType===n.type?rn:Ma(n.type,rn),Or);Ve.__reactInternalSnapshotBeforeUpdate=Fe}break;case 3:var Ye=n.stateNode.containerInfo;Ye.nodeType===1?Ye.textContent=\"\":Ye.nodeType===9&&Ye.documentElement&&Ye.removeChild(Ye.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(_t){Sr(n,n.return,_t)}if(t=n.sibling,t!==null){t.return=n.return,Jt=t;break}Jt=n.return}return tn=ic,ic=!1,tn}function Vi(t,n,i){var s=n.updateQueue;if(s=s!==null?s.lastEffect:null,s!==null){var E=s=s.next;do{if((E.tag&t)===t){var O=E.destroy;E.destroy=void 0,O!==void 0&&kl(n,i,O)}E=E.next}while(E!==s)}}function Au(t,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var i=n=n.next;do{if((i.tag&t)===t){var s=i.create;i.destroy=s()}i=i.next}while(i!==n)}}function Fl(t){var n=t.ref;if(n!==null){var i=t.stateNode;switch(t.tag){case 5:t=i;break;default:t=i}typeof n==\"function\"?n(t):n.current=t}}function uc(t){var n=t.alternate;n!==null&&(t.alternate=null,uc(n)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(n=t.stateNode,n!==null&&(delete n[Xe],delete n[yt],delete n[zt],delete n[on],delete n[On])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function lc(t){return t.tag===5||t.tag===3||t.tag===4}function sc(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||lc(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function jl(t,n,i){var s=t.tag;if(s===5||s===6)t=t.stateNode,n?i.nodeType===8?i.parentNode.insertBefore(t,n):i.insertBefore(t,n):(i.nodeType===8?(n=i.parentNode,n.insertBefore(t,i)):(n=i,n.appendChild(t)),i=i._reactRootContainer,i!=null||n.onclick!==null||(n.onclick=ii));else if(s!==4&&(t=t.child,t!==null))for(jl(t,n,i),t=t.sibling;t!==null;)jl(t,n,i),t=t.sibling}function Bl(t,n,i){var s=t.tag;if(s===5||s===6)t=t.stateNode,n?i.insertBefore(t,n):i.appendChild(t);else if(s!==4&&(t=t.child,t!==null))for(Bl(t,n,i),t=t.sibling;t!==null;)Bl(t,n,i),t=t.sibling}var Zr=null,_a=!1;function ho(t,n,i){for(i=i.child;i!==null;)cc(t,n,i),i=i.sibling}function cc(t,n,i){if(ct&&typeof ct.onCommitFiberUnmount==\"function\")try{ct.onCommitFiberUnmount(Qe,i)}catch(ve){}switch(i.tag){case 5:ta||bi(i,n);case 6:var s=Zr,E=_a;Zr=null,ho(t,n,i),Zr=s,_a=E,Zr!==null&&(_a?(t=Zr,i=i.stateNode,t.nodeType===8?t.parentNode.removeChild(i):t.removeChild(i)):Zr.removeChild(i.stateNode));break;case 18:Zr!==null&&(_a?(t=Zr,i=i.stateNode,t.nodeType===8?Lo(t.parentNode,i):t.nodeType===1&&Lo(t,i),ut(t)):Lo(Zr,i.stateNode));break;case 4:s=Zr,E=_a,Zr=i.stateNode.containerInfo,_a=!0,ho(t,n,i),Zr=s,_a=E;break;case 0:case 11:case 14:case 15:if(!ta&&(s=i.updateQueue,s!==null&&(s=s.lastEffect,s!==null))){E=s=s.next;do{var O=E,$=O.destroy;O=O.tag,$!==void 0&&(O&2||O&4)&&kl(i,n,$),E=E.next}while(E!==s)}ho(t,n,i);break;case 1:if(!ta&&(bi(i,n),s=i.stateNode,typeof s.componentWillUnmount==\"function\"))try{s.props=i.memoizedProps,s.state=i.memoizedState,s.componentWillUnmount()}catch(ve){Sr(i,n,ve)}ho(t,n,i);break;case 21:ho(t,n,i);break;case 22:i.mode&1?(ta=(s=ta)||i.memoizedState!==null,ho(t,n,i),ta=s):ho(t,n,i);break;default:ho(t,n,i)}}function fc(t){var n=t.updateQueue;if(n!==null){t.updateQueue=null;var i=t.stateNode;i===null&&(i=t.stateNode=new Wc),n.forEach(function(s){var E=nf.bind(null,t,s);i.has(s)||(i.add(s),s.then(E,E))})}}function Da(t,n){var i=n.deletions;if(i!==null)for(var s=0;s<i.length;s++){var E=i[s];try{var O=t,$=n,ve=$;e:for(;ve!==null;){switch(ve.tag){case 5:Zr=ve.stateNode,_a=!1;break e;case 3:Zr=ve.stateNode.containerInfo,_a=!0;break e;case 4:Zr=ve.stateNode.containerInfo,_a=!0;break e}ve=ve.return}if(Zr===null)throw Error(r(160));cc(O,$,E),Zr=null,_a=!1;var Pe=E.alternate;Pe!==null&&(Pe.return=null),E.return=null}catch(et){Sr(E,n,et)}}if(n.subtreeFlags&12854)for(n=n.child;n!==null;)dc(n,t),n=n.sibling}function dc(t,n){var i=t.alternate,s=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(Da(n,t),Ua(t),s&4){try{Vi(3,t,t.return),Au(3,t)}catch(rn){Sr(t,t.return,rn)}try{Vi(5,t,t.return)}catch(rn){Sr(t,t.return,rn)}}break;case 1:Da(n,t),Ua(t),s&512&&i!==null&&bi(i,i.return);break;case 5:if(Da(n,t),Ua(t),s&512&&i!==null&&bi(i,i.return),t.flags&32){var E=t.stateNode;try{ft(E,\"\")}catch(rn){Sr(t,t.return,rn)}}if(s&4&&(E=t.stateNode,E!=null)){var O=t.memoizedProps,$=i!==null?i.memoizedProps:O,ve=t.type,Pe=t.updateQueue;if(t.updateQueue=null,Pe!==null)try{ve===\"input\"&&O.type===\"radio\"&&O.name!=null&&se(E,O),rt(ve,$);var et=rt(ve,O);for($=0;$<Pe.length;$+=2){var St=Pe[$],Tt=Pe[$+1];St===\"style\"?de(E,Tt):St===\"dangerouslySetInnerHTML\"?It(E,Tt):St===\"children\"?ft(E,Tt):U(E,St,Tt,et)}switch(ve){case\"input\":pe(E,O);break;case\"textarea\":he(E,O);break;case\"select\":var bt=E._wrapperState.wasMultiple;E._wrapperState.wasMultiple=!!O.multiple;var Gt=O.value;Gt!=null?Z(E,!!O.multiple,Gt,!1):bt!==!!O.multiple&&(O.defaultValue!=null?Z(E,!!O.multiple,O.defaultValue,!0):Z(E,!!O.multiple,O.multiple?[]:\"\",!1))}E[yt]=O}catch(rn){Sr(t,t.return,rn)}}break;case 6:if(Da(n,t),Ua(t),s&4){if(t.stateNode===null)throw Error(r(162));E=t.stateNode,O=t.memoizedProps;try{E.nodeValue=O}catch(rn){Sr(t,t.return,rn)}}break;case 3:if(Da(n,t),Ua(t),s&4&&i!==null&&i.memoizedState.isDehydrated)try{ut(n.containerInfo)}catch(rn){Sr(t,t.return,rn)}break;case 4:Da(n,t),Ua(t);break;case 13:Da(n,t),Ua(t),E=t.child,E.flags&8192&&(O=E.memoizedState!==null,E.stateNode.isHidden=O,!O||E.alternate!==null&&E.alternate.memoizedState!==null||(zl=Wt())),s&4&&fc(t);break;case 22:if(St=i!==null&&i.memoizedState!==null,t.mode&1?(ta=(et=ta)||St,Da(n,t),ta=et):Da(n,t),Ua(t),s&8192){if(et=t.memoizedState!==null,(t.stateNode.isHidden=et)&&!St&&t.mode&1)for(Jt=t,St=t.child;St!==null;){for(Tt=Jt=St;Jt!==null;){switch(bt=Jt,Gt=bt.child,bt.tag){case 0:case 11:case 14:case 15:Vi(4,bt,bt.return);break;case 1:bi(bt,bt.return);var tn=bt.stateNode;if(typeof tn.componentWillUnmount==\"function\"){s=bt,i=bt.return;try{n=s,tn.props=n.memoizedProps,tn.state=n.memoizedState,tn.componentWillUnmount()}catch(rn){Sr(s,i,rn)}}break;case 5:bi(bt,bt.return);break;case 22:if(bt.memoizedState!==null){mc(Tt);continue}}Gt!==null?(Gt.return=bt,Jt=Gt):mc(Tt)}St=St.sibling}e:for(St=null,Tt=t;;){if(Tt.tag===5){if(St===null){St=Tt;try{E=Tt.stateNode,et?(O=E.style,typeof O.setProperty==\"function\"?O.setProperty(\"display\",\"none\",\"important\"):O.display=\"none\"):(ve=Tt.stateNode,Pe=Tt.memoizedProps.style,$=Pe!=null&&Pe.hasOwnProperty(\"display\")?Pe.display:null,ve.style.display=W(\"display\",$))}catch(rn){Sr(t,t.return,rn)}}}else if(Tt.tag===6){if(St===null)try{Tt.stateNode.nodeValue=et?\"\":Tt.memoizedProps}catch(rn){Sr(t,t.return,rn)}}else if((Tt.tag!==22&&Tt.tag!==23||Tt.memoizedState===null||Tt===t)&&Tt.child!==null){Tt.child.return=Tt,Tt=Tt.child;continue}if(Tt===t)break e;for(;Tt.sibling===null;){if(Tt.return===null||Tt.return===t)break e;St===Tt&&(St=null),Tt=Tt.return}St===Tt&&(St=null),Tt.sibling.return=Tt.return,Tt=Tt.sibling}}break;case 19:Da(n,t),Ua(t),s&4&&fc(t);break;case 21:break;default:Da(n,t),Ua(t)}}function Ua(t){var n=t.flags;if(n&2){try{e:{for(var i=t.return;i!==null;){if(lc(i)){var s=i;break e}i=i.return}throw Error(r(160))}switch(s.tag){case 5:var E=s.stateNode;s.flags&32&&(ft(E,\"\"),s.flags&=-33);var O=sc(t);Bl(t,O,E);break;case 3:case 4:var $=s.stateNode.containerInfo,ve=sc(t);jl(t,ve,$);break;default:throw Error(r(161))}}catch(Pe){Sr(t,t.return,Pe)}t.flags&=-3}n&4096&&(t.flags&=-4097)}function Vc(t,n,i){Jt=t,pc(t,n,i)}function pc(t,n,i){for(var s=(t.mode&1)!==0;Jt!==null;){var E=Jt,O=E.child;if(E.tag===22&&s){var $=E.memoizedState!==null||Ou;if(!$){var ve=E.alternate,Pe=ve!==null&&ve.memoizedState!==null||ta;ve=Ou;var et=ta;if(Ou=$,(ta=Pe)&&!et)for(Jt=E;Jt!==null;)$=Jt,Pe=$.child,$.tag===22&&$.memoizedState!==null?hc(E):Pe!==null?(Pe.return=$,Jt=Pe):hc(E);for(;O!==null;)Jt=O,pc(O,n,i),O=O.sibling;Jt=E,Ou=ve,ta=et}vc(t,n,i)}else E.subtreeFlags&8772&&O!==null?(O.return=E,Jt=O):vc(t,n,i)}}function vc(t){for(;Jt!==null;){var n=Jt;if(n.flags&8772){var i=n.alternate;try{if(n.flags&8772)switch(n.tag){case 0:case 11:case 15:ta||Au(5,n);break;case 1:var s=n.stateNode;if(n.flags&4&&!ta)if(i===null)s.componentDidMount();else{var E=n.elementType===n.type?i.memoizedProps:Ma(n.type,i.memoizedProps);s.componentDidUpdate(E,i.memoizedState,s.__reactInternalSnapshotBeforeUpdate)}var O=n.updateQueue;O!==null&&fs(n,O,s);break;case 3:var $=n.updateQueue;if($!==null){if(i=null,n.child!==null)switch(n.child.tag){case 5:i=n.child.stateNode;break;case 1:i=n.child.stateNode}fs(n,$,i)}break;case 5:var ve=n.stateNode;if(i===null&&n.flags&4){i=ve;var Pe=n.memoizedProps;switch(n.type){case\"button\":case\"input\":case\"select\":case\"textarea\":Pe.autoFocus&&i.focus();break;case\"img\":Pe.src&&(i.src=Pe.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(n.memoizedState===null){var et=n.alternate;if(et!==null){var St=et.memoizedState;if(St!==null){var Tt=St.dehydrated;Tt!==null&&ut(Tt)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}ta||n.flags&512&&Fl(n)}catch(bt){Sr(n,n.return,bt)}}if(n===t){Jt=null;break}if(i=n.sibling,i!==null){i.return=n.return,Jt=i;break}Jt=n.return}}function mc(t){for(;Jt!==null;){var n=Jt;if(n===t){Jt=null;break}var i=n.sibling;if(i!==null){i.return=n.return,Jt=i;break}Jt=n.return}}function hc(t){for(;Jt!==null;){var n=Jt;try{switch(n.tag){case 0:case 11:case 15:var i=n.return;try{Au(4,n)}catch(Pe){Sr(n,i,Pe)}break;case 1:var s=n.stateNode;if(typeof s.componentDidMount==\"function\"){var E=n.return;try{s.componentDidMount()}catch(Pe){Sr(n,E,Pe)}}var O=n.return;try{Fl(n)}catch(Pe){Sr(n,O,Pe)}break;case 5:var $=n.return;try{Fl(n)}catch(Pe){Sr(n,$,Pe)}}}catch(Pe){Sr(n,n.return,Pe)}if(n===t){Jt=null;break}var ve=n.sibling;if(ve!==null){ve.return=n.return,Jt=ve;break}Jt=n.return}}var Yc=Math.ceil,Ru=x.ReactCurrentDispatcher,Kl=x.ReactCurrentOwner,wa=x.ReactCurrentBatchConfig,Gn=0,zr=null,Mr=null,Wr=0,ha=0,Ei=Cr(0),Lr=0,Yi=null,Uo=0,Pu=0,Ul=0,Qi=null,fa=null,zl=0,Si=1/0,no=null,Mu=!1,Hl=null,yo=null,_u=!1,go=null,Du=0,Xi=0,$l=null,Nu=-1,Lu=0;function ua(){return Gn&6?Wt():Nu!==-1?Nu:Nu=Wt()}function bo(t){return t.mode&1?Gn&2&&Wr!==0?Wr&-Wr:_c.transition!==null?(Lu===0&&(Lu=en()),Lu):(t=Zt,t!==0||(t=window.event,t=t===void 0?16:wn(t.type)),t):1}function Na(t,n,i,s){if(50<Xi)throw Xi=0,$l=null,Error(r(185));pn(t,i,s),(!(Gn&2)||t!==zr)&&(t===zr&&(!(Gn&2)&&(Pu|=i),Lr===4&&Eo(t,Wr)),da(t,s),i===1&&Gn===0&&!(n.mode&1)&&(Si=Wt()+500,si&&oa()))}function da(t,n){var i=t.callbackNode;dn(t,n);var s=Yt(t,t===zr?Wr:0);if(s===0)i!==null&&Ht(i),t.callbackNode=null,t.callbackPriority=0;else if(n=s&-s,t.callbackPriority!==n){if(i!=null&&Ht(i),n===1)t.tag===0?Qa(gc.bind(null,t)):aa(gc.bind(null,t)),el(function(){!(Gn&6)&&oa()}),i=null;else{switch(ar(s)){case 1:i=ln;break;case 4:i=tt;break;case 16:i=Ze;break;case 536870912:i=st;break;default:i=Ze}i=Cc(i,yc.bind(null,t))}t.callbackPriority=n,t.callbackNode=i}}function yc(t,n){if(Nu=-1,Lu=0,Gn&6)throw Error(r(327));var i=t.callbackNode;if(Ii()&&t.callbackNode!==i)return null;var s=Yt(t,t===zr?Wr:0);if(s===0)return null;if(s&30||s&t.expiredLanes||n)n=ku(t,s);else{n=s;var E=Gn;Gn|=2;var O=Ec();(zr!==t||Wr!==n)&&(no=null,Si=Wt()+500,Ho(t,n));do try{Jc();break}catch(ve){bc(t,ve)}while(1);ll(),Ru.current=O,Gn=E,Mr!==null?n=0:(zr=null,Wr=0,n=Lr)}if(n!==0){if(n===2&&(E=Xt(t),E!==0&&(s=E,n=Zl(t,E))),n===1)throw i=Yi,Ho(t,0),Eo(t,s),da(t,Wt()),i;if(n===6)Eo(t,s);else{if(E=t.current.alternate,!(s&30)&&!Qc(E)&&(n=ku(t,s),n===2&&(O=Xt(t),O!==0&&(s=O,n=Zl(t,O))),n===1))throw i=Yi,Ho(t,0),Eo(t,s),da(t,Wt()),i;switch(t.finishedWork=E,t.finishedLanes=s,n){case 0:case 1:throw Error(r(345));case 2:$o(t,fa,no);break;case 3:if(Eo(t,s),(s&130023424)===s&&(n=zl+500-Wt(),10<n)){if(Yt(t,0)!==0)break;if(E=t.suspendedLanes,(E&s)!==s){ua(),t.pingedLanes|=t.suspendedLanes&E;break}t.timeoutHandle=lu($o.bind(null,t,fa,no),n);break}$o(t,fa,no);break;case 4:if(Eo(t,s),(s&4194240)===s)break;for(n=t.eventTimes,E=-1;0<s;){var $=31-gt(s);O=1<<$,$=n[$],$>E&&(E=$),s&=~O}if(s=E,s=Wt()-s,s=(120>s?120:480>s?480:1080>s?1080:1920>s?1920:3e3>s?3e3:4320>s?4320:1960*Yc(s/1960))-s,10<s){t.timeoutHandle=lu($o.bind(null,t,fa,no),s);break}$o(t,fa,no);break;case 5:$o(t,fa,no);break;default:throw Error(r(329))}}}return da(t,Wt()),t.callbackNode===i?yc.bind(null,t):null}function Zl(t,n){var i=Qi;return t.current.memoizedState.isDehydrated&&(Ho(t,n).flags|=256),t=ku(t,n),t!==2&&(n=fa,fa=i,n!==null&&Wl(n)),t}function Wl(t){fa===null?fa=t:fa.push.apply(fa,t)}function Qc(t){for(var n=t;;){if(n.flags&16384){var i=n.updateQueue;if(i!==null&&(i=i.stores,i!==null))for(var s=0;s<i.length;s++){var E=i[s],O=E.getSnapshot;E=E.value;try{if(!wr(O(),E))return!1}catch($){return!1}}}if(i=n.child,n.subtreeFlags&16384&&i!==null)i.return=n,n=i;else{if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function Eo(t,n){for(n&=~Ul,n&=~Pu,t.suspendedLanes|=n,t.pingedLanes&=~n,t=t.expirationTimes;0<n;){var i=31-gt(n),s=1<<i;t[i]=-1,n&=~s}}function gc(t){if(Gn&6)throw Error(r(327));Ii();var n=Yt(t,0);if(!(n&1))return da(t,Wt()),null;var i=ku(t,n);if(t.tag!==0&&i===2){var s=Xt(t);s!==0&&(n=s,i=Zl(t,s))}if(i===1)throw i=Yi,Ho(t,0),Eo(t,n),da(t,Wt()),i;if(i===6)throw Error(r(345));return t.finishedWork=t.current.alternate,t.finishedLanes=n,$o(t,fa,no),da(t,Wt()),null}function Gl(t,n){var i=Gn;Gn|=1;try{return t(n)}finally{Gn=i,Gn===0&&(Si=Wt()+500,si&&oa())}}function zo(t){go!==null&&go.tag===0&&!(Gn&6)&&Ii();var n=Gn;Gn|=1;var i=wa.transition,s=Zt;try{if(wa.transition=null,Zt=1,t)return t()}finally{Zt=s,wa.transition=i,Gn=n,!(Gn&6)&&oa()}}function Vl(){ha=Ei.current,kn(Ei)}function Ho(t,n){t.finishedWork=null,t.finishedLanes=0;var i=t.timeoutHandle;if(i!==-1&&(t.timeoutHandle=-1,qu(i)),Mr!==null)for(i=Mr.return;i!==null;){var s=i;switch(rl(s),s.tag){case 1:s=s.type.childContextTypes,s!=null&&sa();break;case 3:yi(),kn(Kr),kn(sr),gl();break;case 5:hl(s);break;case 4:yi();break;case 13:kn(yr);break;case 19:kn(yr);break;case 10:sl(s.type._context);break;case 22:case 23:Vl()}i=i.return}if(zr=t,Mr=t=So(t.current,null),Wr=ha=n,Lr=0,Yi=null,Ul=Pu=Uo=0,fa=Qi=null,jo!==null){for(n=0;n<jo.length;n++)if(i=jo[n],s=i.interleaved,s!==null){i.interleaved=null;var E=s.next,O=i.pending;if(O!==null){var $=O.next;O.next=E,s.next=$}i.pending=s}jo=null}return t}function bc(t,n){do{var i=Mr;try{if(ll(),Eu.current=xu,Su){for(var s=gr.memoizedState;s!==null;){var E=s.queue;E!==null&&(E.pending=null),s=s.next}Su=!1}if(Ko=0,Ur=Nr=gr=null,Hi=!1,$i=0,Kl.current=null,i===null||i.return===null){Lr=1,Yi=n,Mr=null;break}e:{var O=t,$=i.return,ve=i,Pe=n;if(n=Wr,ve.flags|=32768,Pe!==null&&typeof Pe==\"object\"&&typeof Pe.then==\"function\"){var et=Pe,St=ve,Tt=St.tag;if(!(St.mode&1)&&(Tt===0||Tt===11||Tt===15)){var bt=St.alternate;bt?(St.updateQueue=bt.updateQueue,St.memoizedState=bt.memoizedState,St.lanes=bt.lanes):(St.updateQueue=null,St.memoizedState=null)}var Gt=$s($);if(Gt!==null){Gt.flags&=-257,Zs(Gt,$,ve,O,n),Gt.mode&1&&Hs(O,et,n),n=Gt,Pe=et;var tn=n.updateQueue;if(tn===null){var rn=new Set;rn.add(Pe),n.updateQueue=rn}else tn.add(Pe);break e}else{if(!(n&1)){Hs(O,et,n),Yl();break e}Pe=Error(r(426))}}else if(mr&&ve.mode&1){var Or=$s($);if(Or!==null){!(Or.flags&65536)&&(Or.flags|=256),Zs(Or,$,ve,O,n),il(gi(Pe,ve));break e}}O=Pe=gi(Pe,ve),Lr!==4&&(Lr=2),Qi===null?Qi=[O]:Qi.push(O),O=$;do{switch(O.tag){case 3:O.flags|=65536,n&=-n,O.lanes|=n;var Ve=Us(O,Pe,n);cs(O,Ve);break e;case 1:ve=Pe;var Fe=O.type,Ye=O.stateNode;if(!(O.flags&128)&&(typeof Fe.getDerivedStateFromError==\"function\"||Ye!==null&&typeof Ye.componentDidCatch==\"function\"&&(yo===null||!yo.has(Ye)))){O.flags|=65536,n&=-n,O.lanes|=n;var _t=zs(O,ve,n);cs(O,_t);break e}}O=O.return}while(O!==null)}Ic(i)}catch(un){n=un,Mr===i&&i!==null&&(Mr=i=i.return);continue}break}while(1)}function Ec(){var t=Ru.current;return Ru.current=xu,t===null?xu:t}function Yl(){(Lr===0||Lr===3||Lr===2)&&(Lr=4),zr===null||!(Uo&268435455)&&!(Pu&268435455)||Eo(zr,Wr)}function ku(t,n){var i=Gn;Gn|=2;var s=Ec();(zr!==t||Wr!==n)&&(no=null,Ho(t,n));do try{Xc();break}catch(E){bc(t,E)}while(1);if(ll(),Gn=i,Ru.current=s,Mr!==null)throw Error(r(261));return zr=null,Wr=0,Lr}function Xc(){for(;Mr!==null;)Sc(Mr)}function Jc(){for(;Mr!==null&&!Vt();)Sc(Mr)}function Sc(t){var n=wc(t.alternate,t,ha);t.memoizedProps=t.pendingProps,n===null?Ic(t):Mr=n,Kl.current=null}function Ic(t){var n=t;do{var i=n.alternate;if(t=n.return,n.flags&32768){if(i=Zc(i,n),i!==null){i.flags&=32767,Mr=i;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{Lr=6,Mr=null;return}}else if(i=$c(i,n,ha),i!==null){Mr=i;return}if(n=n.sibling,n!==null){Mr=n;return}Mr=n=t}while(n!==null);Lr===0&&(Lr=5)}function $o(t,n,i){var s=Zt,E=wa.transition;try{wa.transition=null,Zt=1,qc(t,n,i,s)}finally{wa.transition=E,Zt=s}return null}function qc(t,n,i,s){do Ii();while(go!==null);if(Gn&6)throw Error(r(327));i=t.finishedWork;var E=t.finishedLanes;if(i===null)return null;if(t.finishedWork=null,t.finishedLanes=0,i===t.current)throw Error(r(177));t.callbackNode=null,t.callbackPriority=0;var O=i.lanes|i.childLanes;if(Sn(t,O),t===zr&&(Mr=zr=null,Wr=0),!(i.subtreeFlags&2064)&&!(i.flags&2064)||_u||(_u=!0,Cc(Ze,function(){return Ii(),null})),O=(i.flags&15990)!==0,i.subtreeFlags&15990||O){O=wa.transition,wa.transition=null;var $=Zt;Zt=1;var ve=Gn;Gn|=4,Kl.current=null,Gc(t,i),dc(i,t),Zu(No),Ct=!!ki,No=ki=null,t.current=i,Vc(i,t,E),an(),Gn=ve,Zt=$,wa.transition=O}else t.current=i;if(_u&&(_u=!1,go=t,Du=E),O=t.pendingLanes,O===0&&(yo=null),lt(i.stateNode,s),da(t,Wt()),n!==null)for(s=t.onRecoverableError,i=0;i<n.length;i++)E=n[i],s(E.value,{componentStack:E.stack,digest:E.digest});if(Mu)throw Mu=!1,t=Hl,Hl=null,t;return Du&1&&t.tag!==0&&Ii(),O=t.pendingLanes,O&1?t===$l?Xi++:(Xi=0,$l=t):Xi=0,oa(),null}function Ii(){if(go!==null){var t=ar(Du),n=wa.transition,i=Zt;try{if(wa.transition=null,Zt=16>t?16:t,go===null)var s=!1;else{if(t=go,go=null,Du=0,Gn&6)throw Error(r(331));var E=Gn;for(Gn|=4,Jt=t.current;Jt!==null;){var O=Jt,$=O.child;if(Jt.flags&16){var ve=O.deletions;if(ve!==null){for(var Pe=0;Pe<ve.length;Pe++){var et=ve[Pe];for(Jt=et;Jt!==null;){var St=Jt;switch(St.tag){case 0:case 11:case 15:Vi(8,St,O)}var Tt=St.child;if(Tt!==null)Tt.return=St,Jt=Tt;else for(;Jt!==null;){St=Jt;var bt=St.sibling,Gt=St.return;if(uc(St),St===et){Jt=null;break}if(bt!==null){bt.return=Gt,Jt=bt;break}Jt=Gt}}}var tn=O.alternate;if(tn!==null){var rn=tn.child;if(rn!==null){tn.child=null;do{var Or=rn.sibling;rn.sibling=null,rn=Or}while(rn!==null)}}Jt=O}}if(O.subtreeFlags&2064&&$!==null)$.return=O,Jt=$;else e:for(;Jt!==null;){if(O=Jt,O.flags&2048)switch(O.tag){case 0:case 11:case 15:Vi(9,O,O.return)}var Ve=O.sibling;if(Ve!==null){Ve.return=O.return,Jt=Ve;break e}Jt=O.return}}var Fe=t.current;for(Jt=Fe;Jt!==null;){$=Jt;var Ye=$.child;if($.subtreeFlags&2064&&Ye!==null)Ye.return=$,Jt=Ye;else e:for($=Fe;Jt!==null;){if(ve=Jt,ve.flags&2048)try{switch(ve.tag){case 0:case 11:case 15:Au(9,ve)}}catch(un){Sr(ve,ve.return,un)}if(ve===$){Jt=null;break e}var _t=ve.sibling;if(_t!==null){_t.return=ve.return,Jt=_t;break e}Jt=ve.return}}if(Gn=E,oa(),ct&&typeof ct.onPostCommitFiberRoot==\"function\")try{ct.onPostCommitFiberRoot(Qe,t)}catch(un){}s=!0}return s}finally{Zt=i,wa.transition=n}}return!1}function Tc(t,n,i){n=gi(i,n),n=Us(t,n,1),t=mo(t,n,1),n=ua(),t!==null&&(pn(t,1,n),da(t,n))}function Sr(t,n,i){if(t.tag===3)Tc(t,t,i);else for(;n!==null;){if(n.tag===3){Tc(n,t,i);break}else if(n.tag===1){var s=n.stateNode;if(typeof n.type.getDerivedStateFromError==\"function\"||typeof s.componentDidCatch==\"function\"&&(yo===null||!yo.has(s))){t=gi(i,t),t=zs(n,t,1),n=mo(n,t,1),t=ua(),n!==null&&(pn(n,1,t),da(n,t));break}}n=n.return}}function ef(t,n,i){var s=t.pingCache;s!==null&&s.delete(n),n=ua(),t.pingedLanes|=t.suspendedLanes&i,zr===t&&(Wr&i)===i&&(Lr===4||Lr===3&&(Wr&130023424)===Wr&&500>Wt()-zl?Ho(t,0):Ul|=i),da(t,n)}function xc(t,n){n===0&&(t.mode&1?(n=Bt,Bt<<=1,!(Bt&130023424)&&(Bt=4194304)):n=1);var i=ua();t=qa(t,n),t!==null&&(pn(t,n,i),da(t,i))}function tf(t){var n=t.memoizedState,i=0;n!==null&&(i=n.retryLane),xc(t,i)}function nf(t,n){var i=0;switch(t.tag){case 13:var s=t.stateNode,E=t.memoizedState;E!==null&&(i=E.retryLane);break;case 19:s=t.stateNode;break;default:throw Error(r(314))}s!==null&&s.delete(n),xc(t,i)}var wc;wc=function(t,n,i){if(t!==null)if(t.memoizedProps!==n.pendingProps||Kr.current)ca=!0;else{if(!(t.lanes&i)&&!(n.flags&128))return ca=!1,Hc(t,n,i);ca=!!(t.flags&131072)}else ca=!1,mr&&n.flags&1048576&&rs(n,fu,n.index);switch(n.lanes=0,n.tag){case 2:var s=n.type;Cu(t,n),t=n.pendingProps;var E=ja(n,sr.current);mi(n,i),E=Sl(null,n,s,t,E,i);var O=Il();return n.flags|=1,typeof E==\"object\"&&E!==null&&typeof E.render==\"function\"&&E.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,Jr(s)?(O=!0,po(n)):O=!1,n.memoizedState=E.state!==null&&E.state!==void 0?E.state:null,dl(n),E.updater=yu,n.stateNode=E,E._reactInternals=n,vl(n,s,t,i),n=Pl(null,n,s,!0,O,i)):(n.tag=0,mr&&O&&nl(n),ia(null,n,E,i),n=n.child),n;case 16:s=n.elementType;e:{switch(Cu(t,n),t=n.pendingProps,E=s._init,s=E(s._payload),n.type=s,E=n.tag=af(s),t=Ma(s,t),E){case 0:n=Rl(null,n,s,t,i);break e;case 1:n=Xs(null,n,s,t,i);break e;case 11:n=Ws(null,n,s,t,i);break e;case 14:n=Gs(null,n,s,Ma(s.type,t),i);break e}throw Error(r(306,s,\"\"))}return n;case 0:return s=n.type,E=n.pendingProps,E=n.elementType===s?E:Ma(s,E),Rl(t,n,s,E,i);case 1:return s=n.type,E=n.pendingProps,E=n.elementType===s?E:Ma(s,E),Xs(t,n,s,E,i);case 3:e:{if(Js(n),t===null)throw Error(r(387));s=n.pendingProps,O=n.memoizedState,E=O.element,ss(t,n),hu(n,s,null,i);var $=n.memoizedState;if(s=$.element,O.isDehydrated)if(O={element:s,isDehydrated:!1,cache:$.cache,pendingSuspenseBoundaries:$.pendingSuspenseBoundaries,transitions:$.transitions},n.updateQueue.baseState=O,n.memoizedState=O,n.flags&256){E=gi(Error(r(423)),n),n=qs(t,n,s,i,E);break e}else if(s!==E){E=gi(Error(r(424)),n),n=qs(t,n,s,i,E);break e}else for(ma=Be(n.stateNode.containerInfo.firstChild),va=n,mr=!0,Pa=null,i=gs(n,null,s,i),n.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(pi(),s===E){n=to(t,n,i);break e}ia(t,n,s,i)}n=n.child}return n;case 5:return bs(n),t===null&&ol(n),s=n.type,E=n.pendingProps,O=t!==null?t.memoizedProps:null,$=E.children,Fi(s,E)?$=null:O!==null&&Fi(s,O)&&(n.flags|=32),Qs(t,n),ia(t,n,$,i),n.child;case 6:return t===null&&ol(n),null;case 13:return ec(t,n,i);case 4:return ml(n,n.stateNode.containerInfo),s=n.pendingProps,t===null?n.child=hi(n,null,s,i):ia(t,n,s,i),n.child;case 11:return s=n.type,E=n.pendingProps,E=n.elementType===s?E:Ma(s,E),Ws(t,n,s,E,i);case 7:return ia(t,n,n.pendingProps,i),n.child;case 8:return ia(t,n,n.pendingProps.children,i),n.child;case 12:return ia(t,n,n.pendingProps.children,i),n.child;case 10:e:{if(s=n.type._context,E=n.pendingProps,O=n.memoizedProps,$=E.value,Tn(pu,s._currentValue),s._currentValue=$,O!==null)if(wr(O.value,$)){if(O.children===E.children&&!Kr.current){n=to(t,n,i);break e}}else for(O=n.child,O!==null&&(O.return=n);O!==null;){var ve=O.dependencies;if(ve!==null){$=O.child;for(var Pe=ve.firstContext;Pe!==null;){if(Pe.context===s){if(O.tag===1){Pe=eo(-1,i&-i),Pe.tag=2;var et=O.updateQueue;if(et!==null){et=et.shared;var St=et.pending;St===null?Pe.next=Pe:(Pe.next=St.next,St.next=Pe),et.pending=Pe}}O.lanes|=i,Pe=O.alternate,Pe!==null&&(Pe.lanes|=i),cl(O.return,i,n),ve.lanes|=i;break}Pe=Pe.next}}else if(O.tag===10)$=O.type===n.type?null:O.child;else if(O.tag===18){if($=O.return,$===null)throw Error(r(341));$.lanes|=i,ve=$.alternate,ve!==null&&(ve.lanes|=i),cl($,i,n),$=O.sibling}else $=O.child;if($!==null)$.return=O;else for($=O;$!==null;){if($===n){$=null;break}if(O=$.sibling,O!==null){O.return=$.return,$=O;break}$=$.return}O=$}ia(t,n,E.children,i),n=n.child}return n;case 9:return E=n.type,s=n.pendingProps.children,mi(n,i),E=Ta(E),s=s(E),n.flags|=1,ia(t,n,s,i),n.child;case 14:return s=n.type,E=Ma(s,n.pendingProps),E=Ma(s.type,E),Gs(t,n,s,E,i);case 15:return Vs(t,n,n.type,n.pendingProps,i);case 17:return s=n.type,E=n.pendingProps,E=n.elementType===s?E:Ma(s,E),Cu(t,n),n.tag=1,Jr(s)?(t=!0,po(n)):t=!1,mi(n,i),vs(n,s,E),vl(n,s,E,i),Pl(null,n,s,!0,t,i);case 19:return nc(t,n,i);case 22:return Ys(t,n,i)}throw Error(r(156,n.tag))};function Cc(t,n){return Lt(t,n)}function rf(t,n,i,s){this.tag=t,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ca(t,n,i,s){return new rf(t,n,i,s)}function Ql(t){return t=t.prototype,!(!t||!t.isReactComponent)}function af(t){if(typeof t==\"function\")return Ql(t)?1:0;if(t!=null){if(t=t.$$typeof,t===Te)return 11;if(t===A)return 14}return 2}function So(t,n){var i=t.alternate;return i===null?(i=Ca(t.tag,n,t.key,t.mode),i.elementType=t.elementType,i.type=t.type,i.stateNode=t.stateNode,i.alternate=t,t.alternate=i):(i.pendingProps=n,i.type=t.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=t.flags&14680064,i.childLanes=t.childLanes,i.lanes=t.lanes,i.child=t.child,i.memoizedProps=t.memoizedProps,i.memoizedState=t.memoizedState,i.updateQueue=t.updateQueue,n=t.dependencies,i.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},i.sibling=t.sibling,i.index=t.index,i.ref=t.ref,i}function Fu(t,n,i,s,E,O){var $=2;if(s=t,typeof t==\"function\")Ql(t)&&($=1);else if(typeof t==\"string\")$=5;else e:switch(t){case G:return Zo(i.children,E,O,n);case q:$=8,E|=8;break;case X:return t=Ca(12,i,n,E|2),t.elementType=X,t.lanes=O,t;case ae:return t=Ca(13,i,n,E),t.elementType=ae,t.lanes=O,t;case z:return t=Ca(19,i,n,E),t.elementType=z,t.lanes=O,t;case R:return ju(i,E,O,n);default:if(typeof t==\"object\"&&t!==null)switch(t.$$typeof){case oe:$=10;break e;case Ee:$=9;break e;case Te:$=11;break e;case A:$=14;break e;case T:$=16,s=null;break e}throw Error(r(130,t==null?t:typeof t,\"\"))}return n=Ca($,i,n,E),n.elementType=t,n.type=s,n.lanes=O,n}function Zo(t,n,i,s){return t=Ca(7,t,s,n),t.lanes=i,t}function ju(t,n,i,s){return t=Ca(22,t,s,n),t.elementType=R,t.lanes=i,t.stateNode={isHidden:!1},t}function Xl(t,n,i){return t=Ca(6,t,null,n),t.lanes=i,t}function Jl(t,n,i){return n=Ca(4,t.children!==null?t.children:[],t.key,n),n.lanes=i,n.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},n}function of(t,n,i,s,E){this.tag=n,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=hn(0),this.expirationTimes=hn(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=hn(0),this.identifierPrefix=s,this.onRecoverableError=E,this.mutableSourceEagerHydrationData=null}function ql(t,n,i,s,E,O,$,ve,Pe){return t=new of(t,n,i,ve,Pe),n===1?(n=1,O===!0&&(n|=8)):n=0,O=Ca(3,null,null,n),t.current=O,O.stateNode=t,O.memoizedState={element:s,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null},dl(O),t}function uf(t,n,i){var s=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:K,key:s==null?null:\"\"+s,children:t,containerInfo:n,implementation:i}}function Oc(t){if(!t)return Xr;t=t._reactInternals;e:{if(zn(t)!==t||t.tag!==1)throw Error(r(170));var n=t;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(Jr(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(n!==null);throw Error(r(171))}if(t.tag===1){var i=t.type;if(Jr(i))return li(t,i,n)}return n}function Ac(t,n,i,s,E,O,$,ve,Pe){return t=ql(i,s,!0,t,E,O,$,ve,Pe),t.context=Oc(null),i=t.current,s=ua(),E=bo(i),O=eo(s,E),O.callback=n!=null?n:null,mo(i,O,E),t.current.lanes=E,pn(t,E,s),da(t,s),t}function Bu(t,n,i,s){var E=n.current,O=ua(),$=bo(E);return i=Oc(i),n.context===null?n.context=i:n.pendingContext=i,n=eo(O,$),n.payload={element:t},s=s===void 0?null:s,s!==null&&(n.callback=s),t=mo(E,n,$),t!==null&&(Na(t,E,$,O),mu(t,E,$)),$}function Ku(t){if(t=t.current,!t.child)return null;switch(t.child.tag){case 5:return t.child.stateNode;default:return t.child.stateNode}}function Rc(t,n){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var i=t.retryLane;t.retryLane=i!==0&&i<n?i:n}}function es(t,n){Rc(t,n),(t=t.alternate)&&Rc(t,n)}function lf(){return null}var Pc=typeof reportError==\"function\"?reportError:function(t){console.error(t)};function ts(t){this._internalRoot=t}Uu.prototype.render=ts.prototype.render=function(t){var n=this._internalRoot;if(n===null)throw Error(r(409));Bu(t,n,null,null)},Uu.prototype.unmount=ts.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var n=t.containerInfo;zo(function(){Bu(null,t,null,null)}),n[ht]=null}};function Uu(t){this._internalRoot=t}Uu.prototype.unstable_scheduleHydration=function(t){if(t){var n=Nn();t={blockedOn:null,target:t,priority:n};for(var i=0;i<Ue.length&&n!==0&&n<Ue[i].priority;i++);Ue.splice(i,0,t),i===0&&ne(t)}};function ns(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function zu(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==\" react-mount-point-unstable \"))}function Mc(){}function sf(t,n,i,s,E){if(E){if(typeof s==\"function\"){var O=s;s=function(){var et=Ku($);O.call(et)}}var $=Ac(n,s,t,0,null,!1,!1,\"\",Mc);return t._reactRootContainer=$,t[ht]=$.current,ai(t.nodeType===8?t.parentNode:t),zo(),$}for(;E=t.lastChild;)t.removeChild(E);if(typeof s==\"function\"){var ve=s;s=function(){var et=Ku(Pe);ve.call(et)}}var Pe=ql(t,0,!1,null,null,!1,!1,\"\",Mc);return t._reactRootContainer=Pe,t[ht]=Pe.current,ai(t.nodeType===8?t.parentNode:t),zo(function(){Bu(n,Pe,i,s)}),Pe}function Hu(t,n,i,s,E){var O=i._reactRootContainer;if(O){var $=O;if(typeof E==\"function\"){var ve=E;E=function(){var Pe=Ku($);ve.call(Pe)}}Bu(n,$,t,E)}else $=sf(i,n,t,E,s);return Ku($)}An=function(t){switch(t.tag){case 3:var n=t.stateNode;if(n.current.memoizedState.isDehydrated){var i=Kt(n.pendingLanes);i!==0&&(fn(n,i|1),da(n,Wt()),!(Gn&6)&&(Si=Wt()+500,oa()))}break;case 13:zo(function(){var s=qa(t,1);if(s!==null){var E=ua();Na(s,t,1,E)}}),es(t,1)}},sn=function(t){if(t.tag===13){var n=qa(t,134217728);if(n!==null){var i=ua();Na(n,t,134217728,i)}es(t,134217728)}},Rn=function(t){if(t.tag===13){var n=bo(t),i=qa(t,n);if(i!==null){var s=ua();Na(i,t,n,s)}es(t,n)}},Nn=function(){return Zt},Bn=function(t,n){var i=Zt;try{return Zt=t,n()}finally{Zt=i}},Ot=function(t,n,i){switch(n){case\"input\":if(pe(t,i),n=i.name,i.type===\"radio\"&&n!=null){for(i=t;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll(\"input[name=\"+JSON.stringify(\"\"+n)+'][type=\"radio\"]'),n=0;n<i.length;n++){var s=i[n];if(s!==t&&s.form===t.form){var E=$r(s);if(!E)throw Error(r(90));Ie(s),pe(s,E)}}}break;case\"textarea\":he(t,i);break;case\"select\":n=i.value,n!=null&&Z(t,!!i.multiple,n,!1)}},qt=Gl,En=zo;var cf={usingClientEntryPoint:!1,Events:[Mn,Br,$r,jt,At,Gl]},Ji={findFiberByHostInstance:dr,bundleType:0,version:\"18.2.0\",rendererPackageName:\"react-dom\"},ff={bundleType:Ji.bundleType,version:Ji.version,rendererPackageName:Ji.rendererPackageName,rendererConfig:Ji.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=Dt(t),t===null?null:t.stateNode},findFiberByHostInstance:Ji.findFiberByHostInstance||lf,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:\"18.2.0-next-9e3b772b8-20220608\"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=\"undefined\"){var $u=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!$u.isDisabled&&$u.supportsFiber)try{Qe=$u.inject(ff),ct=$u}catch(t){}}m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=cf,m.createPortal=function(t,n){var i=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ns(n))throw Error(r(200));return uf(t,n,null,i)},m.createRoot=function(t,n){if(!ns(t))throw Error(r(299));var i=!1,s=\"\",E=Pc;return n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(E=n.onRecoverableError)),n=ql(t,1,!1,null,null,i,!1,s,E),t[ht]=n.current,ai(t.nodeType===8?t.parentNode:t),new ts(n)},m.findDOMNode=function(t){if(t==null)return null;if(t.nodeType===1)return t;var n=t._reactInternals;if(n===void 0)throw typeof t.render==\"function\"?Error(r(188)):(t=Object.keys(t).join(\",\"),Error(r(268,t)));return t=Dt(n),t=t===null?null:t.stateNode,t},m.flushSync=function(t){return zo(t)},m.hydrate=function(t,n,i){if(!zu(n))throw Error(r(200));return Hu(null,t,n,!0,i)},m.hydrateRoot=function(t,n,i){if(!ns(t))throw Error(r(405));var s=i!=null&&i.hydratedSources||null,E=!1,O=\"\",$=Pc;if(i!=null&&(i.unstable_strictMode===!0&&(E=!0),i.identifierPrefix!==void 0&&(O=i.identifierPrefix),i.onRecoverableError!==void 0&&($=i.onRecoverableError)),n=Ac(n,null,t,1,i!=null?i:null,E,!1,O,$),t[ht]=n.current,ai(t),s)for(t=0;t<s.length;t++)i=s[t],E=i._getVersion,E=E(i._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[i,E]:n.mutableSourceEagerHydrationData.push(i,E);return new Uu(n)},m.render=function(t,n,i){if(!zu(n))throw Error(r(200));return Hu(null,t,n,!1,i)},m.unmountComponentAtNode=function(t){if(!zu(t))throw Error(r(40));return t._reactRootContainer?(zo(function(){Hu(null,null,t,!1,function(){t._reactRootContainer=null,t[ht]=null})}),!0):!1},m.unstable_batchedUpdates=Gl,m.unstable_renderSubtreeIntoContainer=function(t,n,i,s){if(!zu(i))throw Error(r(200));if(t==null||t._reactInternals===void 0)throw Error(r(38));return Hu(t,n,i,!1,s)},m.version=\"18.2.0-next-9e3b772b8-20220608\"},44478:function(c,m,e){\"use strict\";var a=e(10422);if(!0)m.createRoot=a.createRoot,m.hydrateRoot=a.hydrateRoot;else var o},10422:function(c,m,e){\"use strict\";function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__==\"undefined\"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=\"function\"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(o){console.error(o)}}a(),c.exports=e(53746)},60481:function(c,m,e){(function(a,o){o(m,e(50959))})(this,function(a,o){\"use strict\";function r(y){if(y&&y.__esModule)return y;var S=Object.create(null);return y&&Object.keys(y).forEach(function(I){if(I!==\"default\"){var N=Object.getOwnPropertyDescriptor(y,I);Object.defineProperty(S,I,N.get?N:{enumerable:!0,get:function(){return y[I]}})}}),S.default=y,Object.freeze(S)}var u=r(o);function l(y,S){return l=Object.setPrototypeOf||function(N,_){return N.__proto__=_,N},l(y,S)}function d(y,S){y.prototype=Object.create(S.prototype),y.prototype.constructor=y,l(y,S)}var f=function(S,I){return S===void 0&&(S=[]),I===void 0&&(I=[]),S.length!==I.length||S.some(function(N,_){return!Object.is(N,I[_])})},v={error:null},p=function(y){d(S,y);function S(){for(var N,_=arguments.length,M=new Array(_),L=0;L<_;L++)M[L]=arguments[L];return N=y.call.apply(y,[this].concat(M))||this,N.state=v,N.resetErrorBoundary=function(){for(var k,U=arguments.length,x=new Array(U),F=0;F<U;F++)x[F]=arguments[F];N.props.onReset==null||(k=N.props).onReset.apply(k,x),N.reset()},N}S.getDerivedStateFromError=function(_){return{error:_}};var I=S.prototype;return I.reset=function(){this.setState(v)},I.componentDidCatch=function(_,M){var L,k;(L=(k=this.props).onError)==null||L.call(k,_,M)},I.componentDidUpdate=function(_,M){var L=this.state.error,k=this.props.resetKeys;if(L!==null&&M.error!==null&&f(_.resetKeys,k)){var U,x;(U=(x=this.props).onResetKeysChange)==null||U.call(x,_.resetKeys,k),this.reset()}},I.render=function(){var _=this.state.error,M=this.props,L=M.fallbackRender,k=M.FallbackComponent,U=M.fallback;if(_!==null){var x={error:_,resetErrorBoundary:this.resetErrorBoundary};if(u.isValidElement(U))return U;if(typeof L==\"function\")return L(x);if(k)return u.createElement(k,x);throw new Error(\"react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop\")}return this.props.children},S}(u.Component);function h(y,S){var I=function(M){return u.createElement(p,S,u.createElement(y,M))},N=y.displayName||y.name||\"Unknown\";return I.displayName=\"withErrorBoundary(\"+N+\")\",I}function g(y){var S=u.useState(null),I=S[0],N=S[1];if(y!=null)throw y;if(I!=null)throw I;return N}a.ErrorBoundary=p,a.useErrorHandler=g,a.withErrorBoundary=h,Object.defineProperty(a,\"__esModule\",{value:!0})})},36858:function(c){var m=typeof Element!=\"undefined\",e=typeof Map==\"function\",a=typeof Set==\"function\",o=typeof ArrayBuffer==\"function\"&&!!ArrayBuffer.isView;function r(u,l){if(u===l)return!0;if(u&&l&&typeof u==\"object\"&&typeof l==\"object\"){if(u.constructor!==l.constructor)return!1;var d,f,v;if(Array.isArray(u)){if(d=u.length,d!=l.length)return!1;for(f=d;f--!==0;)if(!r(u[f],l[f]))return!1;return!0}var p;if(e&&u instanceof Map&&l instanceof Map){if(u.size!==l.size)return!1;for(p=u.entries();!(f=p.next()).done;)if(!l.has(f.value[0]))return!1;for(p=u.entries();!(f=p.next()).done;)if(!r(f.value[1],l.get(f.value[0])))return!1;return!0}if(a&&u instanceof Set&&l instanceof Set){if(u.size!==l.size)return!1;for(p=u.entries();!(f=p.next()).done;)if(!l.has(f.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(u)&&ArrayBuffer.isView(l)){if(d=u.length,d!=l.length)return!1;for(f=d;f--!==0;)if(u[f]!==l[f])return!1;return!0}if(u.constructor===RegExp)return u.source===l.source&&u.flags===l.flags;if(u.valueOf!==Object.prototype.valueOf&&typeof u.valueOf==\"function\"&&typeof l.valueOf==\"function\")return u.valueOf()===l.valueOf();if(u.toString!==Object.prototype.toString&&typeof u.toString==\"function\"&&typeof l.toString==\"function\")return u.toString()===l.toString();if(v=Object.keys(u),d=v.length,d!==Object.keys(l).length)return!1;for(f=d;f--!==0;)if(!Object.prototype.hasOwnProperty.call(l,v[f]))return!1;if(m&&u instanceof Element)return!1;for(f=d;f--!==0;)if(!((v[f]===\"_owner\"||v[f]===\"__v\"||v[f]===\"__o\")&&u.$$typeof)&&!r(u[v[f]],l[v[f]]))return!1;return!0}return u!==u&&l!==l}c.exports=function(l,d){try{return r(l,d)}catch(f){if((f.message||\"\").match(/stack|recursion/i))return console.warn(\"react-fast-compare cannot handle circular refs\"),!1;throw f}}},87593:function(c,m,e){\"use strict\";e.d(m,{B6:function(){return _e},ql:function(){return Ne}});var a=e(50959),o=e(40507),r=e.n(o),u=e(36858),l=e.n(u),d=e(53670),f=e.n(d),v=e(50631),p=e.n(v);function h(){return h=Object.assign||function(te){for(var se=1;se<arguments.length;se++){var pe=arguments[se];for(var ee in pe)Object.prototype.hasOwnProperty.call(pe,ee)&&(te[ee]=pe[ee])}return te},h.apply(this,arguments)}function g(te,se){te.prototype=Object.create(se.prototype),te.prototype.constructor=te,y(te,se)}function y(te,se){return y=Object.setPrototypeOf||function(pe,ee){return pe.__proto__=ee,pe},y(te,se)}function S(te,se){if(te==null)return{};var pe,ee,Se={},Q=Object.keys(te);for(ee=0;ee<Q.length;ee++)se.indexOf(pe=Q[ee])>=0||(Se[pe]=te[pe]);return Se}var I={BASE:\"base\",BODY:\"body\",HEAD:\"head\",HTML:\"html\",LINK:\"link\",META:\"meta\",NOSCRIPT:\"noscript\",SCRIPT:\"script\",STYLE:\"style\",TITLE:\"title\",FRAGMENT:\"Symbol(react.fragment)\"},N={rel:[\"amphtml\",\"canonical\",\"alternate\"]},_={type:[\"application/ld+json\"]},M={charset:\"\",name:[\"robots\",\"description\"],property:[\"og:type\",\"og:title\",\"og:url\",\"og:image\",\"og:image:alt\",\"og:description\",\"twitter:url\",\"twitter:title\",\"twitter:description\",\"twitter:image\",\"twitter:image:alt\",\"twitter:card\",\"twitter:site\"]},L=Object.keys(I).map(function(te){return I[te]}),k={accesskey:\"accessKey\",charset:\"charSet\",class:\"className\",contenteditable:\"contentEditable\",contextmenu:\"contextMenu\",\"http-equiv\":\"httpEquiv\",itemprop:\"itemProp\",tabindex:\"tabIndex\"},U=Object.keys(k).reduce(function(te,se){return te[k[se]]=se,te},{}),x=function(te,se){for(var pe=te.length-1;pe>=0;pe-=1){var ee=te[pe];if(Object.prototype.hasOwnProperty.call(ee,se))return ee[se]}return null},F=function(te){var se=x(te,I.TITLE),pe=x(te,\"titleTemplate\");if(Array.isArray(se)&&(se=se.join(\"\")),pe&&se)return pe.replace(/%s/g,function(){return se});var ee=x(te,\"defaultTitle\");return se||ee||void 0},K=function(te){return x(te,\"onChangeClientState\")||function(){}},G=function(te,se){return se.filter(function(pe){return pe[te]!==void 0}).map(function(pe){return pe[te]}).reduce(function(pe,ee){return h({},pe,ee)},{})},q=function(te,se){return se.filter(function(pe){return pe[I.BASE]!==void 0}).map(function(pe){return pe[I.BASE]}).reverse().reduce(function(pe,ee){if(!pe.length)for(var Se=Object.keys(ee),Q=0;Q<Se.length;Q+=1){var Z=Se[Q].toLowerCase();if(te.indexOf(Z)!==-1&&ee[Z])return pe.concat(ee)}return pe},[])},X=function(te,se,pe){var ee={};return pe.filter(function(Se){return!!Array.isArray(Se[te])||(Se[te]!==void 0&&console&&typeof console.warn==\"function\"&&console.warn(\"Helmet: \"+te+' should be of type \"Array\". Instead found type \"'+typeof Se[te]+'\"'),!1)}).map(function(Se){return Se[te]}).reverse().reduce(function(Se,Q){var Z={};Q.filter(function(Oe){for(var We,ke=Object.keys(Oe),It=0;It<ke.length;It+=1){var ft=ke[It],nn=ft.toLowerCase();se.indexOf(nn)===-1||We===\"rel\"&&Oe[We].toLowerCase()===\"canonical\"||nn===\"rel\"&&Oe[nn].toLowerCase()===\"stylesheet\"||(We=nn),se.indexOf(ft)===-1||ft!==\"innerHTML\"&&ft!==\"cssText\"&&ft!==\"itemprop\"||(We=ft)}if(!We||!Oe[We])return!1;var b=Oe[We].toLowerCase();return ee[We]||(ee[We]={}),Z[We]||(Z[We]={}),!ee[We][b]&&(Z[We][b]=!0,!0)}).reverse().forEach(function(Oe){return Se.push(Oe)});for(var Y=Object.keys(Z),ue=0;ue<Y.length;ue+=1){var he=Y[ue],me=h({},ee[he],Z[he]);ee[he]=me}return Se},[]).reverse()},oe=function(te,se){if(Array.isArray(te)&&te.length){for(var pe=0;pe<te.length;pe+=1)if(te[pe][se])return!0}return!1},Ee=function(te){return Array.isArray(te)?te.join(\"\"):te},Te=function(te,se){return Array.isArray(te)?te.reduce(function(pe,ee){return function(Se,Q){for(var Z=Object.keys(Se),Y=0;Y<Z.length;Y+=1)if(Q[Z[Y]]&&Q[Z[Y]].includes(Se[Z[Y]]))return!0;return!1}(ee,se)?pe.priority.push(ee):pe.default.push(ee),pe},{priority:[],default:[]}):{default:te}},ae=function(te,se){var pe;return h({},te,((pe={})[se]=void 0,pe))},z=[I.NOSCRIPT,I.SCRIPT,I.STYLE],A=function(te,se){return se===void 0&&(se=!0),se===!1?String(te):String(te).replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\"/g,\"&quot;\").replace(/'/g,\"&#x27;\")},T=function(te){return Object.keys(te).reduce(function(se,pe){var ee=te[pe]!==void 0?pe+'=\"'+te[pe]+'\"':\"\"+pe;return se?se+\" \"+ee:ee},\"\")},R=function(te,se){return se===void 0&&(se={}),Object.keys(te).reduce(function(pe,ee){return pe[k[ee]||ee]=te[ee],pe},se)},j=function(te,se){return se.map(function(pe,ee){var Se,Q=((Se={key:ee})[\"data-rh\"]=!0,Se);return Object.keys(pe).forEach(function(Z){var Y=k[Z]||Z;Y===\"innerHTML\"||Y===\"cssText\"?Q.dangerouslySetInnerHTML={__html:pe.innerHTML||pe.cssText}:Q[Y]=pe[Z]}),a.createElement(te,Q)})},C=function(te,se,pe){switch(te){case I.TITLE:return{toComponent:function(){return Se=se.titleAttributes,(Q={key:ee=se.title})[\"data-rh\"]=!0,Z=R(Se,Q),[a.createElement(I.TITLE,Z,ee)];var ee,Se,Q,Z},toString:function(){return function(ee,Se,Q,Z){var Y=T(Q),ue=Ee(Se);return Y?\"<\"+ee+' data-rh=\"true\" '+Y+\">\"+A(ue,Z)+\"</\"+ee+\">\":\"<\"+ee+' data-rh=\"true\">'+A(ue,Z)+\"</\"+ee+\">\"}(te,se.title,se.titleAttributes,pe)}};case\"bodyAttributes\":case\"htmlAttributes\":return{toComponent:function(){return R(se)},toString:function(){return T(se)}};default:return{toComponent:function(){return j(te,se)},toString:function(){return function(ee,Se,Q){return Se.reduce(function(Z,Y){var ue=Object.keys(Y).filter(function(Oe){return!(Oe===\"innerHTML\"||Oe===\"cssText\")}).reduce(function(Oe,We){var ke=Y[We]===void 0?We:We+'=\"'+A(Y[We],Q)+'\"';return Oe?Oe+\" \"+ke:ke},\"\"),he=Y.innerHTML||Y.cssText||\"\",me=z.indexOf(ee)===-1;return Z+\"<\"+ee+' data-rh=\"true\" '+ue+(me?\"/>\":\">\"+he+\"</\"+ee+\">\")},\"\")}(te,se,pe)}}}},B=function(te){var se=te.baseTag,pe=te.bodyAttributes,ee=te.encode,Se=te.htmlAttributes,Q=te.noscriptTags,Z=te.styleTags,Y=te.title,ue=Y===void 0?\"\":Y,he=te.titleAttributes,me=te.linkTags,Oe=te.metaTags,We=te.scriptTags,ke={toComponent:function(){},toString:function(){return\"\"}};if(te.prioritizeSeoTags){var It=function(ft){var nn=ft.linkTags,b=ft.scriptTags,W=ft.encode,de=Te(ft.metaTags,M),ye=Te(nn,N),He=Te(b,_);return{priorityMethods:{toComponent:function(){return[].concat(j(I.META,de.priority),j(I.LINK,ye.priority),j(I.SCRIPT,He.priority))},toString:function(){return C(I.META,de.priority,W)+\" \"+C(I.LINK,ye.priority,W)+\" \"+C(I.SCRIPT,He.priority,W)}},metaTags:de.default,linkTags:ye.default,scriptTags:He.default}}(te);ke=It.priorityMethods,me=It.linkTags,Oe=It.metaTags,We=It.scriptTags}return{priority:ke,base:C(I.BASE,se,ee),bodyAttributes:C(\"bodyAttributes\",pe,ee),htmlAttributes:C(\"htmlAttributes\",Se,ee),link:C(I.LINK,me,ee),meta:C(I.META,Oe,ee),noscript:C(I.NOSCRIPT,Q,ee),script:C(I.SCRIPT,We,ee),style:C(I.STYLE,Z,ee),title:C(I.TITLE,{title:ue,titleAttributes:he},ee)}},fe=[],Ae=function(te,se){var pe=this;se===void 0&&(se=typeof document!=\"undefined\"),this.instances=[],this.value={setHelmet:function(ee){pe.context.helmet=ee},helmetInstances:{get:function(){return pe.canUseDOM?fe:pe.instances},add:function(ee){(pe.canUseDOM?fe:pe.instances).push(ee)},remove:function(ee){var Se=(pe.canUseDOM?fe:pe.instances).indexOf(ee);(pe.canUseDOM?fe:pe.instances).splice(Se,1)}}},this.context=te,this.canUseDOM=se,se||(te.helmet=B({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:\"\",titleAttributes:{}}))},ge=a.createContext({}),ce=r().shape({setHelmet:r().func,helmetInstances:r().shape({get:r().func,add:r().func,remove:r().func})}),Me=typeof document!=\"undefined\",_e=function(te){function se(pe){var ee;return(ee=te.call(this,pe)||this).helmetData=new Ae(ee.props.context,se.canUseDOM),ee}return g(se,te),se.prototype.render=function(){return a.createElement(ge.Provider,{value:this.helmetData.value},this.props.children)},se}(a.Component);_e.canUseDOM=Me,_e.propTypes={context:r().shape({helmet:r().shape()}),children:r().node.isRequired},_e.defaultProps={context:{}},_e.displayName=\"HelmetProvider\";var De=function(te,se){var pe,ee=document.head||document.querySelector(I.HEAD),Se=ee.querySelectorAll(te+\"[data-rh]\"),Q=[].slice.call(Se),Z=[];return se&&se.length&&se.forEach(function(Y){var ue=document.createElement(te);for(var he in Y)Object.prototype.hasOwnProperty.call(Y,he)&&(he===\"innerHTML\"?ue.innerHTML=Y.innerHTML:he===\"cssText\"?ue.styleSheet?ue.styleSheet.cssText=Y.cssText:ue.appendChild(document.createTextNode(Y.cssText)):ue.setAttribute(he,Y[he]===void 0?\"\":Y[he]));ue.setAttribute(\"data-rh\",\"true\"),Q.some(function(me,Oe){return pe=Oe,ue.isEqualNode(me)})?Q.splice(pe,1):Z.push(ue)}),Q.forEach(function(Y){return Y.parentNode.removeChild(Y)}),Z.forEach(function(Y){return ee.appendChild(Y)}),{oldTags:Q,newTags:Z}},Ce=function(te,se){var pe=document.getElementsByTagName(te)[0];if(pe){for(var ee=pe.getAttribute(\"data-rh\"),Se=ee?ee.split(\",\"):[],Q=[].concat(Se),Z=Object.keys(se),Y=0;Y<Z.length;Y+=1){var ue=Z[Y],he=se[ue]||\"\";pe.getAttribute(ue)!==he&&pe.setAttribute(ue,he),Se.indexOf(ue)===-1&&Se.push(ue);var me=Q.indexOf(ue);me!==-1&&Q.splice(me,1)}for(var Oe=Q.length-1;Oe>=0;Oe-=1)pe.removeAttribute(Q[Oe]);Se.length===Q.length?pe.removeAttribute(\"data-rh\"):pe.getAttribute(\"data-rh\")!==Z.join(\",\")&&pe.setAttribute(\"data-rh\",Z.join(\",\"))}},it=function(te,se){var pe=te.baseTag,ee=te.htmlAttributes,Se=te.linkTags,Q=te.metaTags,Z=te.noscriptTags,Y=te.onChangeClientState,ue=te.scriptTags,he=te.styleTags,me=te.title,Oe=te.titleAttributes;Ce(I.BODY,te.bodyAttributes),Ce(I.HTML,ee),function(ft,nn){ft!==void 0&&document.title!==ft&&(document.title=Ee(ft)),Ce(I.TITLE,nn)}(me,Oe);var We={baseTag:De(I.BASE,pe),linkTags:De(I.LINK,Se),metaTags:De(I.META,Q),noscriptTags:De(I.NOSCRIPT,Z),scriptTags:De(I.SCRIPT,ue),styleTags:De(I.STYLE,he)},ke={},It={};Object.keys(We).forEach(function(ft){var nn=We[ft],b=nn.newTags,W=nn.oldTags;b.length&&(ke[ft]=b),W.length&&(It[ft]=We[ft].oldTags)}),se&&se(),Y(te,ke,It)},V=null,we=function(te){function se(){for(var ee,Se=arguments.length,Q=new Array(Se),Z=0;Z<Se;Z++)Q[Z]=arguments[Z];return(ee=te.call.apply(te,[this].concat(Q))||this).rendered=!1,ee}g(se,te);var pe=se.prototype;return pe.shouldComponentUpdate=function(ee){return!p()(ee,this.props)},pe.componentDidUpdate=function(){this.emitChange()},pe.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},pe.emitChange=function(){var ee,Se,Q=this.props.context,Z=Q.setHelmet,Y=null,ue=(ee=Q.helmetInstances.get().map(function(he){var me=h({},he.props);return delete me.context,me}),{baseTag:q([\"href\"],ee),bodyAttributes:G(\"bodyAttributes\",ee),defer:x(ee,\"defer\"),encode:x(ee,\"encodeSpecialCharacters\"),htmlAttributes:G(\"htmlAttributes\",ee),linkTags:X(I.LINK,[\"rel\",\"href\"],ee),metaTags:X(I.META,[\"name\",\"charset\",\"http-equiv\",\"property\",\"itemprop\"],ee),noscriptTags:X(I.NOSCRIPT,[\"innerHTML\"],ee),onChangeClientState:K(ee),scriptTags:X(I.SCRIPT,[\"src\",\"innerHTML\"],ee),styleTags:X(I.STYLE,[\"cssText\"],ee),title:F(ee),titleAttributes:G(\"titleAttributes\",ee),prioritizeSeoTags:oe(ee,\"prioritizeSeoTags\")});_e.canUseDOM?(Se=ue,V&&cancelAnimationFrame(V),Se.defer?V=requestAnimationFrame(function(){it(Se,function(){V=null})}):(it(Se),V=null)):B&&(Y=B(ue)),Z(Y)},pe.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},pe.render=function(){return this.init(),null},se}(a.Component);we.propTypes={context:ce.isRequired},we.displayName=\"HelmetDispatcher\";var Ie=[\"children\"],le=[\"children\"],Ne=function(te){function se(){return te.apply(this,arguments)||this}g(se,te);var pe=se.prototype;return pe.shouldComponentUpdate=function(ee){return!l()(ae(this.props,\"helmetData\"),ae(ee,\"helmetData\"))},pe.mapNestedChildrenToProps=function(ee,Se){if(!Se)return null;switch(ee.type){case I.SCRIPT:case I.NOSCRIPT:return{innerHTML:Se};case I.STYLE:return{cssText:Se};default:throw new Error(\"<\"+ee.type+\" /> elements are self-closing and can not contain children. Refer to our API for more information.\")}},pe.flattenArrayTypeChildren=function(ee){var Se,Q=ee.child,Z=ee.arrayTypeChildren;return h({},Z,((Se={})[Q.type]=[].concat(Z[Q.type]||[],[h({},ee.newChildProps,this.mapNestedChildrenToProps(Q,ee.nestedChildren))]),Se))},pe.mapObjectTypeChildren=function(ee){var Se,Q,Z=ee.child,Y=ee.newProps,ue=ee.newChildProps,he=ee.nestedChildren;switch(Z.type){case I.TITLE:return h({},Y,((Se={})[Z.type]=he,Se.titleAttributes=h({},ue),Se));case I.BODY:return h({},Y,{bodyAttributes:h({},ue)});case I.HTML:return h({},Y,{htmlAttributes:h({},ue)});default:return h({},Y,((Q={})[Z.type]=h({},ue),Q))}},pe.mapArrayTypeChildrenToProps=function(ee,Se){var Q=h({},Se);return Object.keys(ee).forEach(function(Z){var Y;Q=h({},Q,((Y={})[Z]=ee[Z],Y))}),Q},pe.warnOnInvalidChildren=function(ee,Se){return f()(L.some(function(Q){return ee.type===Q}),typeof ee.type==\"function\"?\"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.\":\"Only elements types \"+L.join(\", \")+\" are allowed. Helmet does not support rendering <\"+ee.type+\"> elements. Refer to our API for more information.\"),f()(!Se||typeof Se==\"string\"||Array.isArray(Se)&&!Se.some(function(Q){return typeof Q!=\"string\"}),\"Helmet expects a string as a child of <\"+ee.type+\">. Did you forget to wrap your children in braces? ( <\"+ee.type+\">{``}</\"+ee.type+\"> ) Refer to our API for more information.\"),!0},pe.mapChildrenToProps=function(ee,Se){var Q=this,Z={};return a.Children.forEach(ee,function(Y){if(Y&&Y.props){var ue=Y.props,he=ue.children,me=S(ue,Ie),Oe=Object.keys(me).reduce(function(ke,It){return ke[U[It]||It]=me[It],ke},{}),We=Y.type;switch(typeof We==\"symbol\"?We=We.toString():Q.warnOnInvalidChildren(Y,he),We){case I.FRAGMENT:Se=Q.mapChildrenToProps(he,Se);break;case I.LINK:case I.META:case I.NOSCRIPT:case I.SCRIPT:case I.STYLE:Z=Q.flattenArrayTypeChildren({child:Y,arrayTypeChildren:Z,newChildProps:Oe,nestedChildren:he});break;default:Se=Q.mapObjectTypeChildren({child:Y,newProps:Se,newChildProps:Oe,nestedChildren:he})}}}),this.mapArrayTypeChildrenToProps(Z,Se)},pe.render=function(){var ee=this.props,Se=ee.children,Q=S(ee,le),Z=h({},Q),Y=Q.helmetData;return Se&&(Z=this.mapChildrenToProps(Se,Z)),!Y||Y instanceof Ae||(Y=new Ae(Y.context,Y.instances)),Y?a.createElement(we,h({},Z,{context:Y.value,helmetData:void 0})):a.createElement(ge.Consumer,null,function(ue){return a.createElement(we,h({},Z,{context:ue}))})},se}(a.Component);Ne.propTypes={base:r().object,bodyAttributes:r().object,children:r().oneOfType([r().arrayOf(r().node),r().node]),defaultTitle:r().string,defer:r().bool,encodeSpecialCharacters:r().bool,htmlAttributes:r().object,link:r().arrayOf(r().object),meta:r().arrayOf(r().object),noscript:r().arrayOf(r().object),onChangeClientState:r().func,script:r().arrayOf(r().object),style:r().arrayOf(r().object),title:r().string,titleAttributes:r().object,titleTemplate:r().string,prioritizeSeoTags:r().bool,helmetData:r().object},Ne.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Ne.displayName=\"Helmet\"},8067:function(c,m,e){\"use strict\";e.d(m,{_y:function(){return p},zt:function(){return v}});var a=e(50959),o=e(72535),r=e.n(o);function u(g){return g.displayName||g.name||\"Component\"}var l=typeof window!=\"undefined\"?window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=a.createContext(null)):a.createContext(null),d=l.Consumer,f=l.Provider,v=f,p=l;function h(g,y){var S=y||{},I=S.intlPropName,N=I===void 0?\"intl\":I,_=S.forwardRef,M=_===void 0?!1:_,L=S.enforceContext,k=L===void 0?!0:L,U=function(x){return React.createElement(d,null,function(F){var K;k&&invariantIntlContext(F);var G=(K={},K[N]=F,K);return React.createElement(g,__assign({},x,G,{ref:M?x.forwardedRef:null}))})};return U.displayName=\"injectIntl(\".concat(u(g),\")\"),U.WrappedComponent=g,M?hoistNonReactStatics(React.forwardRef(function(x,F){return React.createElement(U,__assign({},x,{forwardedRef:F}))}),g):hoistNonReactStatics(U,g)}},9e3:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return u}});var a=e(50959),o=e(8067),r=e(55267);function u(){var l=a.useContext(o._y);return(0,r.lq)(l),l}},55267:function(c,m,e){\"use strict\";e.d(m,{Z0:function(){return d},dt:function(){return f},lq:function(){return l},wU:function(){return v}});var a=e(96583),o=e(50959),r=e(34688),u=e(12216);function l(p){(0,r.kG)(p,\"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.\")}var d=(0,a.pi)((0,a.pi)({},u.Z0),{textComponent:o.Fragment});function f(p){return function(h){return p(o.Children.toArray(h))}}function v(p,h){if(p===h)return!0;if(!p||!h)return!1;var g=Object.keys(p),y=Object.keys(h),S=g.length;if(y.length!==S)return!1;for(var I=0;I<S;I++){var N=g[I];if(p[N]!==h[N]||!Object.prototype.hasOwnProperty.call(h,N))return!1}return!0}},60198:function(c,m){\"use strict\";var e=typeof Symbol==\"function\"&&Symbol.for,a=e?Symbol.for(\"react.element\"):60103,o=e?Symbol.for(\"react.portal\"):60106,r=e?Symbol.for(\"react.fragment\"):60107,u=e?Symbol.for(\"react.strict_mode\"):60108,l=e?Symbol.for(\"react.profiler\"):60114,d=e?Symbol.for(\"react.provider\"):60109,f=e?Symbol.for(\"react.context\"):60110,v=e?Symbol.for(\"react.async_mode\"):60111,p=e?Symbol.for(\"react.concurrent_mode\"):60111,h=e?Symbol.for(\"react.forward_ref\"):60112,g=e?Symbol.for(\"react.suspense\"):60113,y=e?Symbol.for(\"react.suspense_list\"):60120,S=e?Symbol.for(\"react.memo\"):60115,I=e?Symbol.for(\"react.lazy\"):60116,N=e?Symbol.for(\"react.block\"):60121,_=e?Symbol.for(\"react.fundamental\"):60117,M=e?Symbol.for(\"react.responder\"):60118,L=e?Symbol.for(\"react.scope\"):60119;function k(x){if(typeof x==\"object\"&&x!==null){var F=x.$$typeof;switch(F){case a:switch(x=x.type,x){case v:case p:case r:case l:case u:case g:return x;default:switch(x=x&&x.$$typeof,x){case f:case h:case I:case S:case d:return x;default:return F}}case o:return F}}}function U(x){return k(x)===p}m.AsyncMode=v,m.ConcurrentMode=p,m.ContextConsumer=f,m.ContextProvider=d,m.Element=a,m.ForwardRef=h,m.Fragment=r,m.Lazy=I,m.Memo=S,m.Portal=o,m.Profiler=l,m.StrictMode=u,m.Suspense=g,m.isAsyncMode=function(x){return U(x)||k(x)===v},m.isConcurrentMode=U,m.isContextConsumer=function(x){return k(x)===f},m.isContextProvider=function(x){return k(x)===d},m.isElement=function(x){return typeof x==\"object\"&&x!==null&&x.$$typeof===a},m.isForwardRef=function(x){return k(x)===h},m.isFragment=function(x){return k(x)===r},m.isLazy=function(x){return k(x)===I},m.isMemo=function(x){return k(x)===S},m.isPortal=function(x){return k(x)===o},m.isProfiler=function(x){return k(x)===l},m.isStrictMode=function(x){return k(x)===u},m.isSuspense=function(x){return k(x)===g},m.isValidElementType=function(x){return typeof x==\"string\"||typeof x==\"function\"||x===r||x===p||x===l||x===u||x===g||x===y||typeof x==\"object\"&&x!==null&&(x.$$typeof===I||x.$$typeof===S||x.$$typeof===d||x.$$typeof===f||x.$$typeof===h||x.$$typeof===_||x.$$typeof===M||x.$$typeof===L||x.$$typeof===N)},m.typeOf=k},56237:function(c,m,e){\"use strict\";c.exports=e(60198)},44492:function(c,m,e){\"use strict\";e.d(m,{F0:function(){return se},Fg:function(){return le},Gn:function(){return h},TH:function(){return fe},UO:function(){return Ce},V$:function(){return V},WU:function(){return it},fp:function(){return g},j3:function(){return Ne},oQ:function(){return C},pC:function(){return De},s0:function(){return ce}});var a=e(18280),o=e(50959);const r=(0,o.createContext)(null),u=(0,o.createContext)(null),l=(0,o.createContext)({outlet:null,matches:[]});function d(Q,Z){if(!Q)throw new Error(Z)}function f(Q,Z){if(!Q){typeof console!=\"undefined\"&&console.warn(Z);try{throw new Error(Z)}catch(Y){}}}const v={};function p(Q,Z,Y){!Z&&!v[Q]&&(v[Q]=!0)}function h(Q,Z){return Z===void 0&&(Z={}),Q.replace(/:(\\w+)/g,(Y,ue)=>(Z[ue]==null&&d(!1),Z[ue])).replace(/\\/*\\*$/,Y=>Z[\"*\"]==null?\"\":Z[\"*\"].replace(/^\\/*/,\"/\"))}function g(Q,Z,Y){Y===void 0&&(Y=\"/\");let ue=typeof Z==\"string\"?(0,a.cP)(Z):Z,he=z(ue.pathname||\"/\",Y);if(he==null)return null;let me=y(Q);S(me);let Oe=null;for(let We=0;Oe==null&&We<me.length;++We)Oe=K(me[We],he);return Oe}function y(Q,Z,Y,ue){return Z===void 0&&(Z=[]),Y===void 0&&(Y=[]),ue===void 0&&(ue=\"\"),Q.forEach((he,me)=>{let Oe={relativePath:he.path||\"\",caseSensitive:he.caseSensitive===!0,childrenIndex:me,route:he};Oe.relativePath.startsWith(\"/\")&&(Oe.relativePath.startsWith(ue)||d(!1),Oe.relativePath=Oe.relativePath.slice(ue.length));let We=A([ue,Oe.relativePath]),ke=Y.concat(Oe);he.children&&he.children.length>0&&(he.index===!0&&d(!1),y(he.children,Z,ke,We)),!(he.path==null&&!he.index)&&Z.push({path:We,score:x(We,he.index),routesMeta:ke})}),Z}function S(Q){Q.sort((Z,Y)=>Z.score!==Y.score?Y.score-Z.score:F(Z.routesMeta.map(ue=>ue.childrenIndex),Y.routesMeta.map(ue=>ue.childrenIndex)))}const I=/^:\\w+$/,N=3,_=2,M=1,L=10,k=-2,U=Q=>Q===\"*\";function x(Q,Z){let Y=Q.split(\"/\"),ue=Y.length;return Y.some(U)&&(ue+=k),Z&&(ue+=_),Y.filter(he=>!U(he)).reduce((he,me)=>he+(I.test(me)?N:me===\"\"?M:L),ue)}function F(Q,Z){return Q.length===Z.length&&Q.slice(0,-1).every((ue,he)=>ue===Z[he])?Q[Q.length-1]-Z[Z.length-1]:0}function K(Q,Z){let{routesMeta:Y}=Q,ue={},he=\"/\",me=[];for(let Oe=0;Oe<Y.length;++Oe){let We=Y[Oe],ke=Oe===Y.length-1,It=he===\"/\"?Z:Z.slice(he.length)||\"/\",ft=G({path:We.relativePath,caseSensitive:We.caseSensitive,end:ke},It);if(!ft)return null;Object.assign(ue,ft.params);let nn=We.route;me.push({params:ue,pathname:A([he,ft.pathname]),pathnameBase:T(A([he,ft.pathnameBase])),route:nn}),ft.pathnameBase!==\"/\"&&(he=A([he,ft.pathnameBase]))}return me}function G(Q,Z){typeof Q==\"string\"&&(Q={path:Q,caseSensitive:!1,end:!0});let[Y,ue]=q(Q.path,Q.caseSensitive,Q.end),he=Z.match(Y);if(!he)return null;let me=he[0],Oe=me.replace(/(.)\\/+$/,\"$1\"),We=he.slice(1);return{params:ue.reduce((It,ft,nn)=>{if(ft===\"*\"){let b=We[nn]||\"\";Oe=me.slice(0,me.length-b.length).replace(/(.)\\/+$/,\"$1\")}return It[ft]=X(We[nn]||\"\",ft),It},{}),pathname:me,pathnameBase:Oe,pattern:Q}}function q(Q,Z,Y){Z===void 0&&(Z=!1),Y===void 0&&(Y=!0);let ue=[],he=\"^\"+Q.replace(/\\/*\\*?$/,\"\").replace(/^\\/*/,\"/\").replace(/[\\\\.*+^$?{}|()[\\]]/g,\"\\\\$&\").replace(/:(\\w+)/g,(Oe,We)=>(ue.push(We),\"([^\\\\/]+)\"));return Q.endsWith(\"*\")?(ue.push(\"*\"),he+=Q===\"*\"||Q===\"/*\"?\"(.*)$\":\"(?:\\\\/(.+)|\\\\/*)$\"):he+=Y?\"\\\\/*$\":\"(?:(?=[.~-]|%[0-9A-F]{2})|\\\\b|\\\\/|$)\",[new RegExp(he,Z?void 0:\"i\"),ue]}function X(Q,Z){try{return decodeURIComponent(Q)}catch(Y){return Q}}function oe(Q,Z){Z===void 0&&(Z=\"/\");let{pathname:Y,search:ue=\"\",hash:he=\"\"}=typeof Q==\"string\"?(0,a.cP)(Q):Q;return{pathname:Y?Y.startsWith(\"/\")?Y:Ee(Y,Z):Z,search:R(ue),hash:j(he)}}function Ee(Q,Z){let Y=Z.replace(/\\/+$/,\"\").split(\"/\");return Q.split(\"/\").forEach(he=>{he===\"..\"?Y.length>1&&Y.pop():he!==\".\"&&Y.push(he)}),Y.length>1?Y.join(\"/\"):\"/\"}function Te(Q,Z,Y){let ue=typeof Q==\"string\"?(0,a.cP)(Q):Q,he=Q===\"\"||ue.pathname===\"\"?\"/\":ue.pathname,me;if(he==null)me=Y;else{let We=Z.length-1;if(he.startsWith(\"..\")){let ke=he.split(\"/\");for(;ke[0]===\"..\";)ke.shift(),We-=1;ue.pathname=ke.join(\"/\")}me=We>=0?Z[We]:\"/\"}let Oe=oe(ue,me);return he&&he!==\"/\"&&he.endsWith(\"/\")&&!Oe.pathname.endsWith(\"/\")&&(Oe.pathname+=\"/\"),Oe}function ae(Q){return Q===\"\"||Q.pathname===\"\"?\"/\":typeof Q==\"string\"?(0,a.cP)(Q).pathname:Q.pathname}function z(Q,Z){if(Z===\"/\")return Q;if(!Q.toLowerCase().startsWith(Z.toLowerCase()))return null;let Y=Q.charAt(Z.length);return Y&&Y!==\"/\"?null:Q.slice(Z.length)||\"/\"}const A=Q=>Q.join(\"/\").replace(/\\/\\/+/g,\"/\"),T=Q=>Q.replace(/\\/+$/,\"\").replace(/^\\/*/,\"/\"),R=Q=>!Q||Q===\"?\"?\"\":Q.startsWith(\"?\")?Q:\"?\"+Q,j=Q=>!Q||Q===\"#\"?\"\":Q.startsWith(\"#\")?Q:\"#\"+Q;function C(Q){B()||d(!1);let{basename:Z,navigator:Y}=(0,o.useContext)(r),{hash:ue,pathname:he,search:me}=it(Q),Oe=he;if(Z!==\"/\"){let We=ae(Q),ke=We!=null&&We.endsWith(\"/\");Oe=he===\"/\"?Z+(ke?\"/\":\"\"):A([Z,he])}return Y.createHref({pathname:Oe,search:me,hash:ue})}function B(){return(0,o.useContext)(u)!=null}function fe(){return B()||d(!1),(0,o.useContext)(u).location}function Ae(){return useContext(u).navigationType}function ge(Q){B()||d(!1);let{pathname:Z}=fe();return useMemo(()=>G(Q,Z),[Z,Q])}function ce(){B()||d(!1);let{basename:Q,navigator:Z}=(0,o.useContext)(r),{matches:Y}=(0,o.useContext)(l),{pathname:ue}=fe(),he=JSON.stringify(Y.map(We=>We.pathnameBase)),me=(0,o.useRef)(!1);return(0,o.useEffect)(()=>{me.current=!0}),(0,o.useCallback)(function(We,ke){if(ke===void 0&&(ke={}),!me.current)return;if(typeof We==\"number\"){Z.go(We);return}let It=Te(We,JSON.parse(he),ue);Q!==\"/\"&&(It.pathname=A([Q,It.pathname])),(ke.replace?Z.replace:Z.push)(It,ke.state)},[Q,Z,he,ue])}const Me=(0,o.createContext)(null);function _e(){return useContext(Me)}function De(Q){let Z=(0,o.useContext)(l).outlet;return Z&&(0,o.createElement)(Me.Provider,{value:Q},Z)}function Ce(){let{matches:Q}=(0,o.useContext)(l),Z=Q[Q.length-1];return Z?Z.params:{}}function it(Q){let{matches:Z}=(0,o.useContext)(l),{pathname:Y}=fe(),ue=JSON.stringify(Z.map(he=>he.pathnameBase));return(0,o.useMemo)(()=>Te(Q,JSON.parse(ue),Y),[Q,ue,Y])}function V(Q,Z){B()||d(!1);let{matches:Y}=(0,o.useContext)(l),ue=Y[Y.length-1],he=ue?ue.params:{},me=ue?ue.pathname:\"/\",Oe=ue?ue.pathnameBase:\"/\",We=ue&&ue.route,ke=fe(),It;if(Z){var ft;let de=typeof Z==\"string\"?(0,a.cP)(Z):Z;Oe===\"/\"||(ft=de.pathname)!=null&&ft.startsWith(Oe)||d(!1),It=de}else It=ke;let nn=It.pathname||\"/\",b=Oe===\"/\"?nn:nn.slice(Oe.length)||\"/\",W=g(Q,{pathname:b});return we(W&&W.map(de=>Object.assign({},de,{params:Object.assign({},he,de.params),pathname:A([Oe,de.pathname]),pathnameBase:de.pathnameBase===\"/\"?Oe:A([Oe,de.pathnameBase])})),Y)}function we(Q,Z){return Z===void 0&&(Z=[]),Q==null?null:Q.reduceRight((Y,ue,he)=>(0,o.createElement)(l.Provider,{children:ue.route.element!==void 0?ue.route.element:Y,value:{outlet:Y,matches:Z.concat(Q.slice(0,he+1))}}),null)}function Ie(Q){let{basename:Z,children:Y,initialEntries:ue,initialIndex:he}=Q,me=useRef();me.current==null&&(me.current=createMemoryHistory({initialEntries:ue,initialIndex:he}));let Oe=me.current,[We,ke]=useState({action:Oe.action,location:Oe.location});return useLayoutEffect(()=>Oe.listen(ke),[Oe]),createElement(se,{basename:Z,children:Y,location:We.location,navigationType:We.action,navigator:Oe})}function le(Q){let{to:Z,replace:Y,state:ue}=Q;B()||d(!1);let he=ce();return(0,o.useEffect)(()=>{he(Z,{replace:Y,state:ue})}),null}function Ne(Q){return De(Q.context)}function te(Q){d(!1)}function se(Q){let{basename:Z=\"/\",children:Y=null,location:ue,navigationType:he=a.aU.Pop,navigator:me,static:Oe=!1}=Q;B()&&d(!1);let We=T(Z),ke=(0,o.useMemo)(()=>({basename:We,navigator:me,static:Oe}),[We,me,Oe]);typeof ue==\"string\"&&(ue=(0,a.cP)(ue));let{pathname:It=\"/\",search:ft=\"\",hash:nn=\"\",state:b=null,key:W=\"default\"}=ue,de=(0,o.useMemo)(()=>{let ye=z(It,We);return ye==null?null:{pathname:ye,search:ft,hash:nn,state:b,key:W}},[We,It,ft,nn,b,W]);return de==null?null:(0,o.createElement)(r.Provider,{value:ke},(0,o.createElement)(u.Provider,{children:Y,value:{location:de,navigationType:he}}))}function pe(Q){let{children:Z,location:Y}=Q;return V(ee(Z),Y)}function ee(Q){let Z=[];return Children.forEach(Q,Y=>{if(!isValidElement(Y))return;if(Y.type===Fragment){Z.push.apply(Z,ee(Y.props.children));return}Y.type!==te&&d(!1);let ue={caseSensitive:Y.props.caseSensitive,element:Y.props.element,index:Y.props.index,path:Y.props.path};Y.props.children&&(ue.children=ee(Y.props.children)),Z.push(ue)}),Z}function Se(Q){return we(Q)}},3354:function(c,m,e){\"use strict\";var a=e(50959),o=Symbol.for(\"react.element\"),r=Symbol.for(\"react.fragment\"),u=Object.prototype.hasOwnProperty,l=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,d={key:!0,ref:!0,__self:!0,__source:!0};function f(v,p,h){var g,y={},S=null,I=null;h!==void 0&&(S=\"\"+h),p.key!==void 0&&(S=\"\"+p.key),p.ref!==void 0&&(I=p.ref);for(g in p)u.call(p,g)&&!d.hasOwnProperty(g)&&(y[g]=p[g]);if(v&&v.defaultProps)for(g in p=v.defaultProps,p)y[g]===void 0&&(y[g]=p[g]);return{$$typeof:o,type:v,key:S,ref:I,props:y,_owner:l.current}}m.Fragment=r,m.jsx=f,m.jsxs=f},95257:function(c,m){\"use strict\";var e=Symbol.for(\"react.element\"),a=Symbol.for(\"react.portal\"),o=Symbol.for(\"react.fragment\"),r=Symbol.for(\"react.strict_mode\"),u=Symbol.for(\"react.profiler\"),l=Symbol.for(\"react.provider\"),d=Symbol.for(\"react.context\"),f=Symbol.for(\"react.forward_ref\"),v=Symbol.for(\"react.suspense\"),p=Symbol.for(\"react.memo\"),h=Symbol.for(\"react.lazy\"),g=Symbol.iterator;function y(C){return C===null||typeof C!=\"object\"?null:(C=g&&C[g]||C[\"@@iterator\"],typeof C==\"function\"?C:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},I=Object.assign,N={};function _(C,B,fe){this.props=C,this.context=B,this.refs=N,this.updater=fe||S}_.prototype.isReactComponent={},_.prototype.setState=function(C,B){if(typeof C!=\"object\"&&typeof C!=\"function\"&&C!=null)throw Error(\"setState(...): takes an object of state variables to update or a function which returns an object of state variables.\");this.updater.enqueueSetState(this,C,B,\"setState\")},_.prototype.forceUpdate=function(C){this.updater.enqueueForceUpdate(this,C,\"forceUpdate\")};function M(){}M.prototype=_.prototype;function L(C,B,fe){this.props=C,this.context=B,this.refs=N,this.updater=fe||S}var k=L.prototype=new M;k.constructor=L,I(k,_.prototype),k.isPureReactComponent=!0;var U=Array.isArray,x=Object.prototype.hasOwnProperty,F={current:null},K={key:!0,ref:!0,__self:!0,__source:!0};function G(C,B,fe){var Ae,ge={},ce=null,Me=null;if(B!=null)for(Ae in B.ref!==void 0&&(Me=B.ref),B.key!==void 0&&(ce=\"\"+B.key),B)x.call(B,Ae)&&!K.hasOwnProperty(Ae)&&(ge[Ae]=B[Ae]);var _e=arguments.length-2;if(_e===1)ge.children=fe;else if(1<_e){for(var De=Array(_e),Ce=0;Ce<_e;Ce++)De[Ce]=arguments[Ce+2];ge.children=De}if(C&&C.defaultProps)for(Ae in _e=C.defaultProps,_e)ge[Ae]===void 0&&(ge[Ae]=_e[Ae]);return{$$typeof:e,type:C,key:ce,ref:Me,props:ge,_owner:F.current}}function q(C,B){return{$$typeof:e,type:C.type,key:B,ref:C.ref,props:C.props,_owner:C._owner}}function X(C){return typeof C==\"object\"&&C!==null&&C.$$typeof===e}function oe(C){var B={\"=\":\"=0\",\":\":\"=2\"};return\"$\"+C.replace(/[=:]/g,function(fe){return B[fe]})}var Ee=/\\/+/g;function Te(C,B){return typeof C==\"object\"&&C!==null&&C.key!=null?oe(\"\"+C.key):B.toString(36)}function ae(C,B,fe,Ae,ge){var ce=typeof C;(ce===\"undefined\"||ce===\"boolean\")&&(C=null);var Me=!1;if(C===null)Me=!0;else switch(ce){case\"string\":case\"number\":Me=!0;break;case\"object\":switch(C.$$typeof){case e:case a:Me=!0}}if(Me)return Me=C,ge=ge(Me),C=Ae===\"\"?\".\"+Te(Me,0):Ae,U(ge)?(fe=\"\",C!=null&&(fe=C.replace(Ee,\"$&/\")+\"/\"),ae(ge,B,fe,\"\",function(Ce){return Ce})):ge!=null&&(X(ge)&&(ge=q(ge,fe+(!ge.key||Me&&Me.key===ge.key?\"\":(\"\"+ge.key).replace(Ee,\"$&/\")+\"/\")+C)),B.push(ge)),1;if(Me=0,Ae=Ae===\"\"?\".\":Ae+\":\",U(C))for(var _e=0;_e<C.length;_e++){ce=C[_e];var De=Ae+Te(ce,_e);Me+=ae(ce,B,fe,De,ge)}else if(De=y(C),typeof De==\"function\")for(C=De.call(C),_e=0;!(ce=C.next()).done;)ce=ce.value,De=Ae+Te(ce,_e++),Me+=ae(ce,B,fe,De,ge);else if(ce===\"object\")throw B=String(C),Error(\"Objects are not valid as a React child (found: \"+(B===\"[object Object]\"?\"object with keys {\"+Object.keys(C).join(\", \")+\"}\":B)+\"). If you meant to render a collection of children, use an array instead.\");return Me}function z(C,B,fe){if(C==null)return C;var Ae=[],ge=0;return ae(C,Ae,\"\",\"\",function(ce){return B.call(fe,ce,ge++)}),Ae}function A(C){if(C._status===-1){var B=C._result;B=B(),B.then(function(fe){(C._status===0||C._status===-1)&&(C._status=1,C._result=fe)},function(fe){(C._status===0||C._status===-1)&&(C._status=2,C._result=fe)}),C._status===-1&&(C._status=0,C._result=B)}if(C._status===1)return C._result.default;throw C._result}var T={current:null},R={transition:null},j={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:R,ReactCurrentOwner:F};m.Children={map:z,forEach:function(C,B,fe){z(C,function(){B.apply(this,arguments)},fe)},count:function(C){var B=0;return z(C,function(){B++}),B},toArray:function(C){return z(C,function(B){return B})||[]},only:function(C){if(!X(C))throw Error(\"React.Children.only expected to receive a single React element child.\");return C}},m.Component=_,m.Fragment=o,m.Profiler=u,m.PureComponent=L,m.StrictMode=r,m.Suspense=v,m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=j,m.cloneElement=function(C,B,fe){if(C==null)throw Error(\"React.cloneElement(...): The argument must be a React element, but you passed \"+C+\".\");var Ae=I({},C.props),ge=C.key,ce=C.ref,Me=C._owner;if(B!=null){if(B.ref!==void 0&&(ce=B.ref,Me=F.current),B.key!==void 0&&(ge=\"\"+B.key),C.type&&C.type.defaultProps)var _e=C.type.defaultProps;for(De in B)x.call(B,De)&&!K.hasOwnProperty(De)&&(Ae[De]=B[De]===void 0&&_e!==void 0?_e[De]:B[De])}var De=arguments.length-2;if(De===1)Ae.children=fe;else if(1<De){_e=Array(De);for(var Ce=0;Ce<De;Ce++)_e[Ce]=arguments[Ce+2];Ae.children=_e}return{$$typeof:e,type:C.type,key:ge,ref:ce,props:Ae,_owner:Me}},m.createContext=function(C){return C={$$typeof:d,_currentValue:C,_currentValue2:C,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},C.Provider={$$typeof:l,_context:C},C.Consumer=C},m.createElement=G,m.createFactory=function(C){var B=G.bind(null,C);return B.type=C,B},m.createRef=function(){return{current:null}},m.forwardRef=function(C){return{$$typeof:f,render:C}},m.isValidElement=X,m.lazy=function(C){return{$$typeof:h,_payload:{_status:-1,_result:C},_init:A}},m.memo=function(C,B){return{$$typeof:p,type:C,compare:B===void 0?null:B}},m.startTransition=function(C){var B=R.transition;R.transition={};try{C()}finally{R.transition=B}},m.unstable_act=function(){throw Error(\"act(...) is not supported in production builds of React.\")},m.useCallback=function(C,B){return T.current.useCallback(C,B)},m.useContext=function(C){return T.current.useContext(C)},m.useDebugValue=function(){},m.useDeferredValue=function(C){return T.current.useDeferredValue(C)},m.useEffect=function(C,B){return T.current.useEffect(C,B)},m.useId=function(){return T.current.useId()},m.useImperativeHandle=function(C,B,fe){return T.current.useImperativeHandle(C,B,fe)},m.useInsertionEffect=function(C,B){return T.current.useInsertionEffect(C,B)},m.useLayoutEffect=function(C,B){return T.current.useLayoutEffect(C,B)},m.useMemo=function(C,B){return T.current.useMemo(C,B)},m.useReducer=function(C,B,fe){return T.current.useReducer(C,B,fe)},m.useRef=function(C){return T.current.useRef(C)},m.useState=function(C){return T.current.useState(C)},m.useSyncExternalStore=function(C,B,fe){return T.current.useSyncExternalStore(C,B,fe)},m.useTransition=function(){return T.current.useTransition()},m.version=\"18.2.0\"},50959:function(c,m,e){\"use strict\";c.exports=e(95257)},11527:function(c,m,e){\"use strict\";c.exports=e(3354)},90250:function(c){var m=function(e){\"use strict\";var a=Object.prototype,o=a.hasOwnProperty,r=Object.defineProperty||function(T,R,j){T[R]=j.value},u,l=typeof Symbol==\"function\"?Symbol:{},d=l.iterator||\"@@iterator\",f=l.asyncIterator||\"@@asyncIterator\",v=l.toStringTag||\"@@toStringTag\";function p(T,R,j){return Object.defineProperty(T,R,{value:j,enumerable:!0,configurable:!0,writable:!0}),T[R]}try{p({},\"\")}catch(T){p=function(R,j,C){return R[j]=C}}function h(T,R,j,C){var B=R&&R.prototype instanceof M?R:M,fe=Object.create(B.prototype),Ae=new ae(C||[]);return r(fe,\"_invoke\",{value:X(T,j,Ae)}),fe}e.wrap=h;function g(T,R,j){try{return{type:\"normal\",arg:T.call(R,j)}}catch(C){return{type:\"throw\",arg:C}}}var y=\"suspendedStart\",S=\"suspendedYield\",I=\"executing\",N=\"completed\",_={};function M(){}function L(){}function k(){}var U={};p(U,d,function(){return this});var x=Object.getPrototypeOf,F=x&&x(x(z([])));F&&F!==a&&o.call(F,d)&&(U=F);var K=k.prototype=M.prototype=Object.create(U);L.prototype=k,r(K,\"constructor\",{value:k,configurable:!0}),r(k,\"constructor\",{value:L,configurable:!0}),L.displayName=p(k,v,\"GeneratorFunction\");function G(T){[\"next\",\"throw\",\"return\"].forEach(function(R){p(T,R,function(j){return this._invoke(R,j)})})}e.isGeneratorFunction=function(T){var R=typeof T==\"function\"&&T.constructor;return R?R===L||(R.displayName||R.name)===\"GeneratorFunction\":!1},e.mark=function(T){return Object.setPrototypeOf?Object.setPrototypeOf(T,k):(T.__proto__=k,p(T,v,\"GeneratorFunction\")),T.prototype=Object.create(K),T},e.awrap=function(T){return{__await:T}};function q(T,R){function j(fe,Ae,ge,ce){var Me=g(T[fe],T,Ae);if(Me.type===\"throw\")ce(Me.arg);else{var _e=Me.arg,De=_e.value;return De&&typeof De==\"object\"&&o.call(De,\"__await\")?R.resolve(De.__await).then(function(Ce){j(\"next\",Ce,ge,ce)},function(Ce){j(\"throw\",Ce,ge,ce)}):R.resolve(De).then(function(Ce){_e.value=Ce,ge(_e)},function(Ce){return j(\"throw\",Ce,ge,ce)})}}var C;function B(fe,Ae){function ge(){return new R(function(ce,Me){j(fe,Ae,ce,Me)})}return C=C?C.then(ge,ge):ge()}r(this,\"_invoke\",{value:B})}G(q.prototype),p(q.prototype,f,function(){return this}),e.AsyncIterator=q,e.async=function(T,R,j,C,B){B===void 0&&(B=Promise);var fe=new q(h(T,R,j,C),B);return e.isGeneratorFunction(R)?fe:fe.next().then(function(Ae){return Ae.done?Ae.value:fe.next()})};function X(T,R,j){var C=y;return function(fe,Ae){if(C===I)throw new Error(\"Generator is already running\");if(C===N){if(fe===\"throw\")throw Ae;return A()}for(j.method=fe,j.arg=Ae;;){var ge=j.delegate;if(ge){var ce=oe(ge,j);if(ce){if(ce===_)continue;return ce}}if(j.method===\"next\")j.sent=j._sent=j.arg;else if(j.method===\"throw\"){if(C===y)throw C=N,j.arg;j.dispatchException(j.arg)}else j.method===\"return\"&&j.abrupt(\"return\",j.arg);C=I;var Me=g(T,R,j);if(Me.type===\"normal\"){if(C=j.done?N:S,Me.arg===_)continue;return{value:Me.arg,done:j.done}}else Me.type===\"throw\"&&(C=N,j.method=\"throw\",j.arg=Me.arg)}}}function oe(T,R){var j=R.method,C=T.iterator[j];if(C===u)return R.delegate=null,j===\"throw\"&&T.iterator.return&&(R.method=\"return\",R.arg=u,oe(T,R),R.method===\"throw\")||j!==\"return\"&&(R.method=\"throw\",R.arg=new TypeError(\"The iterator does not provide a '\"+j+\"' method\")),_;var B=g(C,T.iterator,R.arg);if(B.type===\"throw\")return R.method=\"throw\",R.arg=B.arg,R.delegate=null,_;var fe=B.arg;if(!fe)return R.method=\"throw\",R.arg=new TypeError(\"iterator result is not an object\"),R.delegate=null,_;if(fe.done)R[T.resultName]=fe.value,R.next=T.nextLoc,R.method!==\"return\"&&(R.method=\"next\",R.arg=u);else return fe;return R.delegate=null,_}G(K),p(K,v,\"Generator\"),p(K,d,function(){return this}),p(K,\"toString\",function(){return\"[object Generator]\"});function Ee(T){var R={tryLoc:T[0]};1 in T&&(R.catchLoc=T[1]),2 in T&&(R.finallyLoc=T[2],R.afterLoc=T[3]),this.tryEntries.push(R)}function Te(T){var R=T.completion||{};R.type=\"normal\",delete R.arg,T.completion=R}function ae(T){this.tryEntries=[{tryLoc:\"root\"}],T.forEach(Ee,this),this.reset(!0)}e.keys=function(T){var R=Object(T),j=[];for(var C in R)j.push(C);return j.reverse(),function B(){for(;j.length;){var fe=j.pop();if(fe in R)return B.value=fe,B.done=!1,B}return B.done=!0,B}};function z(T){if(T){var R=T[d];if(R)return R.call(T);if(typeof T.next==\"function\")return T;if(!isNaN(T.length)){var j=-1,C=function B(){for(;++j<T.length;)if(o.call(T,j))return B.value=T[j],B.done=!1,B;return B.value=u,B.done=!0,B};return C.next=C}}return{next:A}}e.values=z;function A(){return{value:u,done:!0}}return ae.prototype={constructor:ae,reset:function(T){if(this.prev=0,this.next=0,this.sent=this._sent=u,this.done=!1,this.delegate=null,this.method=\"next\",this.arg=u,this.tryEntries.forEach(Te),!T)for(var R in this)R.charAt(0)===\"t\"&&o.call(this,R)&&!isNaN(+R.slice(1))&&(this[R]=u)},stop:function(){this.done=!0;var T=this.tryEntries[0],R=T.completion;if(R.type===\"throw\")throw R.arg;return this.rval},dispatchException:function(T){if(this.done)throw T;var R=this;function j(ce,Me){return fe.type=\"throw\",fe.arg=T,R.next=ce,Me&&(R.method=\"next\",R.arg=u),!!Me}for(var C=this.tryEntries.length-1;C>=0;--C){var B=this.tryEntries[C],fe=B.completion;if(B.tryLoc===\"root\")return j(\"end\");if(B.tryLoc<=this.prev){var Ae=o.call(B,\"catchLoc\"),ge=o.call(B,\"finallyLoc\");if(Ae&&ge){if(this.prev<B.catchLoc)return j(B.catchLoc,!0);if(this.prev<B.finallyLoc)return j(B.finallyLoc)}else if(Ae){if(this.prev<B.catchLoc)return j(B.catchLoc,!0)}else if(ge){if(this.prev<B.finallyLoc)return j(B.finallyLoc)}else throw new Error(\"try statement without catch or finally\")}}},abrupt:function(T,R){for(var j=this.tryEntries.length-1;j>=0;--j){var C=this.tryEntries[j];if(C.tryLoc<=this.prev&&o.call(C,\"finallyLoc\")&&this.prev<C.finallyLoc){var B=C;break}}B&&(T===\"break\"||T===\"continue\")&&B.tryLoc<=R&&R<=B.finallyLoc&&(B=null);var fe=B?B.completion:{};return fe.type=T,fe.arg=R,B?(this.method=\"next\",this.next=B.finallyLoc,_):this.complete(fe)},complete:function(T,R){if(T.type===\"throw\")throw T.arg;return T.type===\"break\"||T.type===\"continue\"?this.next=T.arg:T.type===\"return\"?(this.rval=this.arg=T.arg,this.method=\"return\",this.next=\"end\"):T.type===\"normal\"&&R&&(this.next=R),_},finish:function(T){for(var R=this.tryEntries.length-1;R>=0;--R){var j=this.tryEntries[R];if(j.finallyLoc===T)return this.complete(j.completion,j.afterLoc),Te(j),_}},catch:function(T){for(var R=this.tryEntries.length-1;R>=0;--R){var j=this.tryEntries[R];if(j.tryLoc===T){var C=j.completion;if(C.type===\"throw\"){var B=C.arg;Te(j)}return B}}throw new Error(\"illegal catch attempt\")},delegateYield:function(T,R,j){return this.delegate={iterator:z(T),resultName:R,nextLoc:j},this.method===\"next\"&&(this.arg=u),_}},e}(c.exports);try{regeneratorRuntime=m}catch(e){typeof globalThis==\"object\"?globalThis.regeneratorRuntime=m:Function(\"r\",\"regeneratorRuntime = r\")(m)}},73023:function(c,m,e){\"use strict\";var a=function(){if(typeof Map!=\"undefined\")return Map;function ae(z,A){var T=-1;return z.some(function(R,j){return R[0]===A?(T=j,!0):!1}),T}return function(){function z(){this.__entries__=[]}return Object.defineProperty(z.prototype,\"size\",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),z.prototype.get=function(A){var T=ae(this.__entries__,A),R=this.__entries__[T];return R&&R[1]},z.prototype.set=function(A,T){var R=ae(this.__entries__,A);~R?this.__entries__[R][1]=T:this.__entries__.push([A,T])},z.prototype.delete=function(A){var T=this.__entries__,R=ae(T,A);~R&&T.splice(R,1)},z.prototype.has=function(A){return!!~ae(this.__entries__,A)},z.prototype.clear=function(){this.__entries__.splice(0)},z.prototype.forEach=function(A,T){T===void 0&&(T=null);for(var R=0,j=this.__entries__;R<j.length;R++){var C=j[R];A.call(T,C[1],C[0])}},z}()}(),o=typeof window!=\"undefined\"&&typeof document!=\"undefined\"&&window.document===document,r=function(){return typeof e.g!=\"undefined\"&&e.g.Math===Math?e.g:typeof self!=\"undefined\"&&self.Math===Math?self:typeof window!=\"undefined\"&&window.Math===Math?window:Function(\"return this\")()}(),u=function(){return typeof requestAnimationFrame==\"function\"?requestAnimationFrame.bind(r):function(ae){return setTimeout(function(){return ae(Date.now())},1e3/60)}}(),l=2;function d(ae,z){var A=!1,T=!1,R=0;function j(){A&&(A=!1,ae()),T&&B()}function C(){u(j)}function B(){var fe=Date.now();if(A){if(fe-R<l)return;T=!0}else A=!0,T=!1,setTimeout(C,z);R=fe}return B}var f=20,v=[\"top\",\"right\",\"bottom\",\"left\",\"width\",\"height\",\"size\",\"weight\"],p=typeof MutationObserver!=\"undefined\",h=function(){function ae(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=d(this.refresh.bind(this),f)}return ae.prototype.addObserver=function(z){~this.observers_.indexOf(z)||this.observers_.push(z),this.connected_||this.connect_()},ae.prototype.removeObserver=function(z){var A=this.observers_,T=A.indexOf(z);~T&&A.splice(T,1),!A.length&&this.connected_&&this.disconnect_()},ae.prototype.refresh=function(){var z=this.updateObservers_();z&&this.refresh()},ae.prototype.updateObservers_=function(){var z=this.observers_.filter(function(A){return A.gatherActive(),A.hasActive()});return z.forEach(function(A){return A.broadcastActive()}),z.length>0},ae.prototype.connect_=function(){!o||this.connected_||(document.addEventListener(\"transitionend\",this.onTransitionEnd_),window.addEventListener(\"resize\",this.refresh),p?(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)},ae.prototype.disconnect_=function(){!o||!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)},ae.prototype.onTransitionEnd_=function(z){var A=z.propertyName,T=A===void 0?\"\":A,R=v.some(function(j){return!!~T.indexOf(j)});R&&this.refresh()},ae.getInstance=function(){return this.instance_||(this.instance_=new ae),this.instance_},ae.instance_=null,ae}(),g=function(ae,z){for(var A=0,T=Object.keys(z);A<T.length;A++){var R=T[A];Object.defineProperty(ae,R,{value:z[R],enumerable:!1,writable:!1,configurable:!0})}return ae},y=function(ae){var z=ae&&ae.ownerDocument&&ae.ownerDocument.defaultView;return z||r},S=K(0,0,0,0);function I(ae){return parseFloat(ae)||0}function N(ae){for(var z=[],A=1;A<arguments.length;A++)z[A-1]=arguments[A];return z.reduce(function(T,R){var j=ae[\"border-\"+R+\"-width\"];return T+I(j)},0)}function _(ae){for(var z=[\"top\",\"right\",\"bottom\",\"left\"],A={},T=0,R=z;T<R.length;T++){var j=R[T],C=ae[\"padding-\"+j];A[j]=I(C)}return A}function M(ae){var z=ae.getBBox();return K(0,0,z.width,z.height)}function L(ae){var z=ae.clientWidth,A=ae.clientHeight;if(!z&&!A)return S;var T=y(ae).getComputedStyle(ae),R=_(T),j=R.left+R.right,C=R.top+R.bottom,B=I(T.width),fe=I(T.height);if(T.boxSizing===\"border-box\"&&(Math.round(B+j)!==z&&(B-=N(T,\"left\",\"right\")+j),Math.round(fe+C)!==A&&(fe-=N(T,\"top\",\"bottom\")+C)),!U(ae)){var Ae=Math.round(B+j)-z,ge=Math.round(fe+C)-A;Math.abs(Ae)!==1&&(B-=Ae),Math.abs(ge)!==1&&(fe-=ge)}return K(R.left,R.top,B,fe)}var k=function(){return typeof SVGGraphicsElement!=\"undefined\"?function(ae){return ae instanceof y(ae).SVGGraphicsElement}:function(ae){return ae instanceof y(ae).SVGElement&&typeof ae.getBBox==\"function\"}}();function U(ae){return ae===y(ae).document.documentElement}function x(ae){return o?k(ae)?M(ae):L(ae):S}function F(ae){var z=ae.x,A=ae.y,T=ae.width,R=ae.height,j=typeof DOMRectReadOnly!=\"undefined\"?DOMRectReadOnly:Object,C=Object.create(j.prototype);return g(C,{x:z,y:A,width:T,height:R,top:A,right:z+T,bottom:R+A,left:z}),C}function K(ae,z,A,T){return{x:ae,y:z,width:A,height:T}}var G=function(){function ae(z){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=K(0,0,0,0),this.target=z}return ae.prototype.isActive=function(){var z=x(this.target);return this.contentRect_=z,z.width!==this.broadcastWidth||z.height!==this.broadcastHeight},ae.prototype.broadcastRect=function(){var z=this.contentRect_;return this.broadcastWidth=z.width,this.broadcastHeight=z.height,z},ae}(),q=function(){function ae(z,A){var T=F(A);g(this,{target:z,contentRect:T})}return ae}(),X=function(){function ae(z,A,T){if(this.activeObservations_=[],this.observations_=new a,typeof z!=\"function\")throw new TypeError(\"The callback provided as parameter 1 is not a function.\");this.callback_=z,this.controller_=A,this.callbackCtx_=T}return ae.prototype.observe=function(z){if(!arguments.length)throw new TypeError(\"1 argument required, but only 0 present.\");if(!(typeof Element==\"undefined\"||!(Element instanceof Object))){if(!(z instanceof y(z).Element))throw new TypeError('parameter 1 is not of type \"Element\".');var A=this.observations_;A.has(z)||(A.set(z,new G(z)),this.controller_.addObserver(this),this.controller_.refresh())}},ae.prototype.unobserve=function(z){if(!arguments.length)throw new TypeError(\"1 argument required, but only 0 present.\");if(!(typeof Element==\"undefined\"||!(Element instanceof Object))){if(!(z instanceof y(z).Element))throw new TypeError('parameter 1 is not of type \"Element\".');var A=this.observations_;A.has(z)&&(A.delete(z),A.size||this.controller_.removeObserver(this))}},ae.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},ae.prototype.gatherActive=function(){var z=this;this.clearActive(),this.observations_.forEach(function(A){A.isActive()&&z.activeObservations_.push(A)})},ae.prototype.broadcastActive=function(){if(this.hasActive()){var z=this.callbackCtx_,A=this.activeObservations_.map(function(T){return new q(T.target,T.broadcastRect())});this.callback_.call(z,A,z),this.clearActive()}},ae.prototype.clearActive=function(){this.activeObservations_.splice(0)},ae.prototype.hasActive=function(){return this.activeObservations_.length>0},ae}(),oe=typeof WeakMap!=\"undefined\"?new WeakMap:new a,Ee=function(){function ae(z){if(!(this instanceof ae))throw new TypeError(\"Cannot call a class as a function.\");if(!arguments.length)throw new TypeError(\"1 argument required, but only 0 present.\");var A=h.getInstance(),T=new X(z,A,this);oe.set(this,T)}return ae}();[\"observe\",\"unobserve\",\"disconnect\"].forEach(function(ae){Ee.prototype[ae]=function(){var z;return(z=oe.get(this))[ae].apply(z,arguments)}});var Te=function(){return typeof r.ResizeObserver!=\"undefined\"?r.ResizeObserver:Ee}();m.Z=Te},85568:function(c,m){\"use strict\";function e(T,R){var j=T.length;T.push(R);e:for(;0<j;){var C=j-1>>>1,B=T[C];if(0<r(B,R))T[C]=R,T[j]=B,j=C;else break e}}function a(T){return T.length===0?null:T[0]}function o(T){if(T.length===0)return null;var R=T[0],j=T.pop();if(j!==R){T[0]=j;e:for(var C=0,B=T.length,fe=B>>>1;C<fe;){var Ae=2*(C+1)-1,ge=T[Ae],ce=Ae+1,Me=T[ce];if(0>r(ge,j))ce<B&&0>r(Me,ge)?(T[C]=Me,T[ce]=j,C=ce):(T[C]=ge,T[Ae]=j,C=Ae);else if(ce<B&&0>r(Me,j))T[C]=Me,T[ce]=j,C=ce;else break e}}return R}function r(T,R){var j=T.sortIndex-R.sortIndex;return j!==0?j:T.id-R.id}if(typeof performance==\"object\"&&typeof performance.now==\"function\"){var u=performance;m.unstable_now=function(){return u.now()}}else{var l=Date,d=l.now();m.unstable_now=function(){return l.now()-d}}var f=[],v=[],p=1,h=null,g=3,y=!1,S=!1,I=!1,N=typeof setTimeout==\"function\"?setTimeout:null,_=typeof clearTimeout==\"function\"?clearTimeout:null,M=typeof setImmediate!=\"undefined\"?setImmediate:null;typeof navigator!=\"undefined\"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function L(T){for(var R=a(v);R!==null;){if(R.callback===null)o(v);else if(R.startTime<=T)o(v),R.sortIndex=R.expirationTime,e(f,R);else break;R=a(v)}}function k(T){if(I=!1,L(T),!S)if(a(f)!==null)S=!0,z(U);else{var R=a(v);R!==null&&A(k,R.startTime-T)}}function U(T,R){S=!1,I&&(I=!1,_(K),K=-1),y=!0;var j=g;try{for(L(R),h=a(f);h!==null&&(!(h.expirationTime>R)||T&&!X());){var C=h.callback;if(typeof C==\"function\"){h.callback=null,g=h.priorityLevel;var B=C(h.expirationTime<=R);R=m.unstable_now(),typeof B==\"function\"?h.callback=B:h===a(f)&&o(f),L(R)}else o(f);h=a(f)}if(h!==null)var fe=!0;else{var Ae=a(v);Ae!==null&&A(k,Ae.startTime-R),fe=!1}return fe}finally{h=null,g=j,y=!1}}var x=!1,F=null,K=-1,G=5,q=-1;function X(){return!(m.unstable_now()-q<G)}function oe(){if(F!==null){var T=m.unstable_now();q=T;var R=!0;try{R=F(!0,T)}finally{R?Ee():(x=!1,F=null)}}else x=!1}var Ee;if(typeof M==\"function\")Ee=function(){M(oe)};else if(typeof MessageChannel!=\"undefined\"){var Te=new MessageChannel,ae=Te.port2;Te.port1.onmessage=oe,Ee=function(){ae.postMessage(null)}}else Ee=function(){N(oe,0)};function z(T){F=T,x||(x=!0,Ee())}function A(T,R){K=N(function(){T(m.unstable_now())},R)}m.unstable_IdlePriority=5,m.unstable_ImmediatePriority=1,m.unstable_LowPriority=4,m.unstable_NormalPriority=3,m.unstable_Profiling=null,m.unstable_UserBlockingPriority=2,m.unstable_cancelCallback=function(T){T.callback=null},m.unstable_continueExecution=function(){S||y||(S=!0,z(U))},m.unstable_forceFrameRate=function(T){0>T||125<T?console.error(\"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported\"):G=0<T?Math.floor(1e3/T):5},m.unstable_getCurrentPriorityLevel=function(){return g},m.unstable_getFirstCallbackNode=function(){return a(f)},m.unstable_next=function(T){switch(g){case 1:case 2:case 3:var R=3;break;default:R=g}var j=g;g=R;try{return T()}finally{g=j}},m.unstable_pauseExecution=function(){},m.unstable_requestPaint=function(){},m.unstable_runWithPriority=function(T,R){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var j=g;g=T;try{return R()}finally{g=j}},m.unstable_scheduleCallback=function(T,R,j){var C=m.unstable_now();switch(typeof j==\"object\"&&j!==null?(j=j.delay,j=typeof j==\"number\"&&0<j?C+j:C):j=C,T){case 1:var B=-1;break;case 2:B=250;break;case 5:B=1073741823;break;case 4:B=1e4;break;default:B=5e3}return B=j+B,T={id:p++,callback:R,priorityLevel:T,startTime:j,expirationTime:B,sortIndex:-1},j>C?(T.sortIndex=j,e(v,T),a(f)===null&&T===a(v)&&(I?(_(K),K=-1):I=!0,A(k,j-C))):(T.sortIndex=B,e(f,T),S||y||(S=!0,z(U))),T},m.unstable_shouldYield=X,m.unstable_wrapCallback=function(T){var R=g;return function(){var j=g;g=R;try{return T.apply(this,arguments)}finally{g=j}}}},22962:function(c,m,e){\"use strict\";c.exports=e(85568)},50631:function(c){c.exports=function(e,a,o,r){var u=o?o.call(r,e,a):void 0;if(u!==void 0)return!!u;if(e===a)return!0;if(typeof e!=\"object\"||!e||typeof a!=\"object\"||!a)return!1;var l=Object.keys(e),d=Object.keys(a);if(l.length!==d.length)return!1;for(var f=Object.prototype.hasOwnProperty.bind(a),v=0;v<l.length;v++){var p=l[v];if(!f(p))return!1;var h=e[p],g=a[p];if(u=o?o.call(r,h,g,p):void 0,u===!1||u===void 0&&h!==g)return!1}return!0}},16935:function(c){c.exports=function(){var m=document.getSelection();if(!m.rangeCount)return function(){};for(var e=document.activeElement,a=[],o=0;o<m.rangeCount;o++)a.push(m.getRangeAt(o));switch(e.tagName.toUpperCase()){case\"INPUT\":case\"TEXTAREA\":e.blur();break;default:e=null;break}return m.removeAllRanges(),function(){m.type===\"Caret\"&&m.removeAllRanges(),m.rangeCount||a.forEach(function(r){m.addRange(r)}),e&&e.focus()}}},96583:function(c,m,e){\"use strict\";e.d(m,{CR:function(){return M},ZT:function(){return o},_T:function(){return u},ev:function(){return U},pi:function(){return r}});var a=function(A,T){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,j){R.__proto__=j}||function(R,j){for(var C in j)Object.prototype.hasOwnProperty.call(j,C)&&(R[C]=j[C])},a(A,T)};function o(A,T){if(typeof T!=\"function\"&&T!==null)throw new TypeError(\"Class extends value \"+String(T)+\" is not a constructor or null\");a(A,T);function R(){this.constructor=A}A.prototype=T===null?Object.create(T):(R.prototype=T.prototype,new R)}var r=function(){return r=Object.assign||function(T){for(var R,j=1,C=arguments.length;j<C;j++){R=arguments[j];for(var B in R)Object.prototype.hasOwnProperty.call(R,B)&&(T[B]=R[B])}return T},r.apply(this,arguments)};function u(A,T){var R={};for(var j in A)Object.prototype.hasOwnProperty.call(A,j)&&T.indexOf(j)<0&&(R[j]=A[j]);if(A!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var C=0,j=Object.getOwnPropertySymbols(A);C<j.length;C++)T.indexOf(j[C])<0&&Object.prototype.propertyIsEnumerable.call(A,j[C])&&(R[j[C]]=A[j[C]]);return R}function l(A,T,R,j){var C=arguments.length,B=C<3?T:j===null?j=Object.getOwnPropertyDescriptor(T,R):j,fe;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")B=Reflect.decorate(A,T,R,j);else for(var Ae=A.length-1;Ae>=0;Ae--)(fe=A[Ae])&&(B=(C<3?fe(B):C>3?fe(T,R,B):fe(T,R))||B);return C>3&&B&&Object.defineProperty(T,R,B),B}function d(A,T){return function(R,j){T(R,j,A)}}function f(A,T,R,j,C,B){function fe(Ie){if(Ie!==void 0&&typeof Ie!=\"function\")throw new TypeError(\"Function expected\");return Ie}for(var Ae=j.kind,ge=Ae===\"getter\"?\"get\":Ae===\"setter\"?\"set\":\"value\",ce=!T&&A?j.static?A:A.prototype:null,Me=T||(ce?Object.getOwnPropertyDescriptor(ce,j.name):{}),_e,De=!1,Ce=R.length-1;Ce>=0;Ce--){var it={};for(var V in j)it[V]=V===\"access\"?{}:j[V];for(var V in j.access)it.access[V]=j.access[V];it.addInitializer=function(Ie){if(De)throw new TypeError(\"Cannot add initializers after decoration has completed\");B.push(fe(Ie||null))};var we=(0,R[Ce])(Ae===\"accessor\"?{get:Me.get,set:Me.set}:Me[ge],it);if(Ae===\"accessor\"){if(we===void 0)continue;if(we===null||typeof we!=\"object\")throw new TypeError(\"Object expected\");(_e=fe(we.get))&&(Me.get=_e),(_e=fe(we.set))&&(Me.set=_e),(_e=fe(we.init))&&C.push(_e)}else(_e=fe(we))&&(Ae===\"field\"?C.push(_e):Me[ge]=_e)}ce&&Object.defineProperty(ce,j.name,Me),De=!0}function v(A,T,R){for(var j=arguments.length>2,C=0;C<T.length;C++)R=j?T[C].call(A,R):T[C].call(A);return j?R:void 0}function p(A){return typeof A==\"symbol\"?A:\"\".concat(A)}function h(A,T,R){return typeof T==\"symbol\"&&(T=T.description?\"[\".concat(T.description,\"]\"):\"\"),Object.defineProperty(A,\"name\",{configurable:!0,value:R?\"\".concat(R,\" \",T):T})}function g(A,T){if(typeof Reflect==\"object\"&&typeof Reflect.metadata==\"function\")return Reflect.metadata(A,T)}function y(A,T,R,j){function C(B){return B instanceof R?B:new R(function(fe){fe(B)})}return new(R||(R=Promise))(function(B,fe){function Ae(Me){try{ce(j.next(Me))}catch(_e){fe(_e)}}function ge(Me){try{ce(j.throw(Me))}catch(_e){fe(_e)}}function ce(Me){Me.done?B(Me.value):C(Me.value).then(Ae,ge)}ce((j=j.apply(A,T||[])).next())})}function S(A,T){var R={label:0,sent:function(){if(B[0]&1)throw B[1];return B[1]},trys:[],ops:[]},j,C,B,fe;return fe={next:Ae(0),throw:Ae(1),return:Ae(2)},typeof Symbol==\"function\"&&(fe[Symbol.iterator]=function(){return this}),fe;function Ae(ce){return function(Me){return ge([ce,Me])}}function ge(ce){if(j)throw new TypeError(\"Generator is already executing.\");for(;fe&&(fe=0,ce[0]&&(R=0)),R;)try{if(j=1,C&&(B=ce[0]&2?C.return:ce[0]?C.throw||((B=C.return)&&B.call(C),0):C.next)&&!(B=B.call(C,ce[1])).done)return B;switch(C=0,B&&(ce=[ce[0]&2,B.value]),ce[0]){case 0:case 1:B=ce;break;case 4:return R.label++,{value:ce[1],done:!1};case 5:R.label++,C=ce[1],ce=[0];continue;case 7:ce=R.ops.pop(),R.trys.pop();continue;default:if(B=R.trys,!(B=B.length>0&&B[B.length-1])&&(ce[0]===6||ce[0]===2)){R=0;continue}if(ce[0]===3&&(!B||ce[1]>B[0]&&ce[1]<B[3])){R.label=ce[1];break}if(ce[0]===6&&R.label<B[1]){R.label=B[1],B=ce;break}if(B&&R.label<B[2]){R.label=B[2],R.ops.push(ce);break}B[2]&&R.ops.pop(),R.trys.pop();continue}ce=T.call(A,R)}catch(Me){ce=[6,Me],C=0}finally{j=B=0}if(ce[0]&5)throw ce[1];return{value:ce[0]?ce[1]:void 0,done:!0}}}var I=Object.create?function(A,T,R,j){j===void 0&&(j=R);var C=Object.getOwnPropertyDescriptor(T,R);(!C||(\"get\"in C?!T.__esModule:C.writable||C.configurable))&&(C={enumerable:!0,get:function(){return T[R]}}),Object.defineProperty(A,j,C)}:function(A,T,R,j){j===void 0&&(j=R),A[j]=T[R]};function N(A,T){for(var R in A)R!==\"default\"&&!Object.prototype.hasOwnProperty.call(T,R)&&I(T,A,R)}function _(A){var T=typeof Symbol==\"function\"&&Symbol.iterator,R=T&&A[T],j=0;if(R)return R.call(A);if(A&&typeof A.length==\"number\")return{next:function(){return A&&j>=A.length&&(A=void 0),{value:A&&A[j++],done:!A}}};throw new TypeError(T?\"Object is not iterable.\":\"Symbol.iterator is not defined.\")}function M(A,T){var R=typeof Symbol==\"function\"&&A[Symbol.iterator];if(!R)return A;var j=R.call(A),C,B=[],fe;try{for(;(T===void 0||T-- >0)&&!(C=j.next()).done;)B.push(C.value)}catch(Ae){fe={error:Ae}}finally{try{C&&!C.done&&(R=j.return)&&R.call(j)}finally{if(fe)throw fe.error}}return B}function L(){for(var A=[],T=0;T<arguments.length;T++)A=A.concat(M(arguments[T]));return A}function k(){for(var A=0,T=0,R=arguments.length;T<R;T++)A+=arguments[T].length;for(var j=Array(A),C=0,T=0;T<R;T++)for(var B=arguments[T],fe=0,Ae=B.length;fe<Ae;fe++,C++)j[C]=B[fe];return j}function U(A,T,R){if(R||arguments.length===2)for(var j=0,C=T.length,B;j<C;j++)(B||!(j in T))&&(B||(B=Array.prototype.slice.call(T,0,j)),B[j]=T[j]);return A.concat(B||Array.prototype.slice.call(T))}function x(A){return this instanceof x?(this.v=A,this):new x(A)}function F(A,T,R){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var j=R.apply(A,T||[]),C,B=[];return C={},fe(\"next\"),fe(\"throw\"),fe(\"return\"),C[Symbol.asyncIterator]=function(){return this},C;function fe(De){j[De]&&(C[De]=function(Ce){return new Promise(function(it,V){B.push([De,Ce,it,V])>1||Ae(De,Ce)})})}function Ae(De,Ce){try{ge(j[De](Ce))}catch(it){_e(B[0][3],it)}}function ge(De){De.value instanceof x?Promise.resolve(De.value.v).then(ce,Me):_e(B[0][2],De)}function ce(De){Ae(\"next\",De)}function Me(De){Ae(\"throw\",De)}function _e(De,Ce){De(Ce),B.shift(),B.length&&Ae(B[0][0],B[0][1])}}function K(A){var T,R;return T={},j(\"next\"),j(\"throw\",function(C){throw C}),j(\"return\"),T[Symbol.iterator]=function(){return this},T;function j(C,B){T[C]=A[C]?function(fe){return(R=!R)?{value:x(A[C](fe)),done:!1}:B?B(fe):fe}:B}}function G(A){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var T=A[Symbol.asyncIterator],R;return T?T.call(A):(A=typeof _==\"function\"?_(A):A[Symbol.iterator](),R={},j(\"next\"),j(\"throw\"),j(\"return\"),R[Symbol.asyncIterator]=function(){return this},R);function j(B){R[B]=A[B]&&function(fe){return new Promise(function(Ae,ge){fe=A[B](fe),C(Ae,ge,fe.done,fe.value)})}}function C(B,fe,Ae,ge){Promise.resolve(ge).then(function(ce){B({value:ce,done:Ae})},fe)}}function q(A,T){return Object.defineProperty?Object.defineProperty(A,\"raw\",{value:T}):A.raw=T,A}var X=Object.create?function(A,T){Object.defineProperty(A,\"default\",{enumerable:!0,value:T})}:function(A,T){A.default=T};function oe(A){if(A&&A.__esModule)return A;var T={};if(A!=null)for(var R in A)R!==\"default\"&&Object.prototype.hasOwnProperty.call(A,R)&&I(T,A,R);return X(T,A),T}function Ee(A){return A&&A.__esModule?A:{default:A}}function Te(A,T,R,j){if(R===\"a\"&&!j)throw new TypeError(\"Private accessor was defined without a getter\");if(typeof T==\"function\"?A!==T||!j:!T.has(A))throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");return R===\"m\"?j:R===\"a\"?j.call(A):j?j.value:T.get(A)}function ae(A,T,R,j,C){if(j===\"m\")throw new TypeError(\"Private method is not writable\");if(j===\"a\"&&!C)throw new TypeError(\"Private accessor was defined without a setter\");if(typeof T==\"function\"?A!==T||!C:!T.has(A))throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");return j===\"a\"?C.call(A,R):C?C.value=R:T.set(A,R),R}function z(A,T){if(T===null||typeof T!=\"object\"&&typeof T!=\"function\")throw new TypeError(\"Cannot use 'in' operator on non-object\");return typeof A==\"function\"?T===A:A.has(T)}},25705:function(c){function m(e,a){(a==null||a>e.length)&&(a=e.length);for(var o=0,r=new Array(a);o<a;o++)r[o]=e[o];return r}c.exports=m,c.exports.__esModule=!0,c.exports.default=c.exports},5548:function(c){function m(e){if(Array.isArray(e))return e}c.exports=m,c.exports.__esModule=!0,c.exports.default=c.exports},49811:function(c){function m(a,o,r,u,l,d,f){try{var v=a[d](f),p=v.value}catch(h){r(h);return}v.done?o(p):Promise.resolve(p).then(u,l)}function e(a){return function(){var o=this,r=arguments;return new Promise(function(u,l){var d=a.apply(o,r);function f(p){m(d,u,l,f,v,\"next\",p)}function v(p){m(d,u,l,f,v,\"throw\",p)}f(void 0)})}}c.exports=e,c.exports.__esModule=!0,c.exports.default=c.exports},52510:function(c,m,e){var a=e(26982);function o(r,u,l){return u=a(u),u in r?Object.defineProperty(r,u,{value:l,enumerable:!0,configurable:!0,writable:!0}):r[u]=l,r}c.exports=o,c.exports.__esModule=!0,c.exports.default=c.exports},40790:function(c){function m(e,a){var o=e==null?null:typeof Symbol!=\"undefined\"&&e[Symbol.iterator]||e[\"@@iterator\"];if(o!=null){var r,u,l,d,f=[],v=!0,p=!1;try{if(l=(o=o.call(e)).next,a===0){if(Object(o)!==o)return;v=!1}else for(;!(v=(r=l.call(o)).done)&&(f.push(r.value),f.length!==a);v=!0);}catch(h){p=!0,u=h}finally{try{if(!v&&o.return!=null&&(d=o.return(),Object(d)!==d))return}finally{if(p)throw u}}return f}}c.exports=m,c.exports.__esModule=!0,c.exports.default=c.exports},15324:function(c){function m(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}c.exports=m,c.exports.__esModule=!0,c.exports.default=c.exports},57213:function(c,m,e){var a=e(52510);function o(u,l){var d=Object.keys(u);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(u);l&&(f=f.filter(function(v){return Object.getOwnPropertyDescriptor(u,v).enumerable})),d.push.apply(d,f)}return d}function r(u){for(var l=1;l<arguments.length;l++){var d=arguments[l]!=null?arguments[l]:{};l%2?o(Object(d),!0).forEach(function(f){a(u,f,d[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(d)):o(Object(d)).forEach(function(f){Object.defineProperty(u,f,Object.getOwnPropertyDescriptor(d,f))})}return u}c.exports=r,c.exports.__esModule=!0,c.exports.default=c.exports},25359:function(c,m,e){var a=e(37635).default;function o(){\"use strict\";c.exports=o=function(){return r},c.exports.__esModule=!0,c.exports.default=c.exports;var r={},u=Object.prototype,l=u.hasOwnProperty,d=Object.defineProperty||function(z,A,T){z[A]=T.value},f=typeof Symbol==\"function\"?Symbol:{},v=f.iterator||\"@@iterator\",p=f.asyncIterator||\"@@asyncIterator\",h=f.toStringTag||\"@@toStringTag\";function g(z,A,T){return Object.defineProperty(z,A,{value:T,enumerable:!0,configurable:!0,writable:!0}),z[A]}try{g({},\"\")}catch(z){g=function(T,R,j){return T[R]=j}}function y(z,A,T,R){var j=A&&A.prototype instanceof N?A:N,C=Object.create(j.prototype),B=new Ee(R||[]);return d(C,\"_invoke\",{value:G(z,T,B)}),C}function S(z,A,T){try{return{type:\"normal\",arg:z.call(A,T)}}catch(R){return{type:\"throw\",arg:R}}}r.wrap=y;var I={};function N(){}function _(){}function M(){}var L={};g(L,v,function(){return this});var k=Object.getPrototypeOf,U=k&&k(k(Te([])));U&&U!==u&&l.call(U,v)&&(L=U);var x=M.prototype=N.prototype=Object.create(L);function F(z){[\"next\",\"throw\",\"return\"].forEach(function(A){g(z,A,function(T){return this._invoke(A,T)})})}function K(z,A){function T(j,C,B,fe){var Ae=S(z[j],z,C);if(Ae.type!==\"throw\"){var ge=Ae.arg,ce=ge.value;return ce&&a(ce)==\"object\"&&l.call(ce,\"__await\")?A.resolve(ce.__await).then(function(Me){T(\"next\",Me,B,fe)},function(Me){T(\"throw\",Me,B,fe)}):A.resolve(ce).then(function(Me){ge.value=Me,B(ge)},function(Me){return T(\"throw\",Me,B,fe)})}fe(Ae.arg)}var R;d(this,\"_invoke\",{value:function(C,B){function fe(){return new A(function(Ae,ge){T(C,B,Ae,ge)})}return R=R?R.then(fe,fe):fe()}})}function G(z,A,T){var R=\"suspendedStart\";return function(j,C){if(R===\"executing\")throw new Error(\"Generator is already running\");if(R===\"completed\"){if(j===\"throw\")throw C;return ae()}for(T.method=j,T.arg=C;;){var B=T.delegate;if(B){var fe=q(B,T);if(fe){if(fe===I)continue;return fe}}if(T.method===\"next\")T.sent=T._sent=T.arg;else if(T.method===\"throw\"){if(R===\"suspendedStart\")throw R=\"completed\",T.arg;T.dispatchException(T.arg)}else T.method===\"return\"&&T.abrupt(\"return\",T.arg);R=\"executing\";var Ae=S(z,A,T);if(Ae.type===\"normal\"){if(R=T.done?\"completed\":\"suspendedYield\",Ae.arg===I)continue;return{value:Ae.arg,done:T.done}}Ae.type===\"throw\"&&(R=\"completed\",T.method=\"throw\",T.arg=Ae.arg)}}}function q(z,A){var T=A.method,R=z.iterator[T];if(R===void 0)return A.delegate=null,T===\"throw\"&&z.iterator.return&&(A.method=\"return\",A.arg=void 0,q(z,A),A.method===\"throw\")||T!==\"return\"&&(A.method=\"throw\",A.arg=new TypeError(\"The iterator does not provide a '\"+T+\"' method\")),I;var j=S(R,z.iterator,A.arg);if(j.type===\"throw\")return A.method=\"throw\",A.arg=j.arg,A.delegate=null,I;var C=j.arg;return C?C.done?(A[z.resultName]=C.value,A.next=z.nextLoc,A.method!==\"return\"&&(A.method=\"next\",A.arg=void 0),A.delegate=null,I):C:(A.method=\"throw\",A.arg=new TypeError(\"iterator result is not an object\"),A.delegate=null,I)}function X(z){var A={tryLoc:z[0]};1 in z&&(A.catchLoc=z[1]),2 in z&&(A.finallyLoc=z[2],A.afterLoc=z[3]),this.tryEntries.push(A)}function oe(z){var A=z.completion||{};A.type=\"normal\",delete A.arg,z.completion=A}function Ee(z){this.tryEntries=[{tryLoc:\"root\"}],z.forEach(X,this),this.reset(!0)}function Te(z){if(z){var A=z[v];if(A)return A.call(z);if(typeof z.next==\"function\")return z;if(!isNaN(z.length)){var T=-1,R=function j(){for(;++T<z.length;)if(l.call(z,T))return j.value=z[T],j.done=!1,j;return j.value=void 0,j.done=!0,j};return R.next=R}}return{next:ae}}function ae(){return{value:void 0,done:!0}}return _.prototype=M,d(x,\"constructor\",{value:M,configurable:!0}),d(M,\"constructor\",{value:_,configurable:!0}),_.displayName=g(M,h,\"GeneratorFunction\"),r.isGeneratorFunction=function(z){var A=typeof z==\"function\"&&z.constructor;return!!A&&(A===_||(A.displayName||A.name)===\"GeneratorFunction\")},r.mark=function(z){return Object.setPrototypeOf?Object.setPrototypeOf(z,M):(z.__proto__=M,g(z,h,\"GeneratorFunction\")),z.prototype=Object.create(x),z},r.awrap=function(z){return{__await:z}},F(K.prototype),g(K.prototype,p,function(){return this}),r.AsyncIterator=K,r.async=function(z,A,T,R,j){j===void 0&&(j=Promise);var C=new K(y(z,A,T,R),j);return r.isGeneratorFunction(A)?C:C.next().then(function(B){return B.done?B.value:C.next()})},F(x),g(x,h,\"Generator\"),g(x,v,function(){return this}),g(x,\"toString\",function(){return\"[object Generator]\"}),r.keys=function(z){var A=Object(z),T=[];for(var R in A)T.push(R);return T.reverse(),function j(){for(;T.length;){var C=T.pop();if(C in A)return j.value=C,j.done=!1,j}return j.done=!0,j}},r.values=Te,Ee.prototype={constructor:Ee,reset:function(A){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(oe),!A)for(var T in this)T.charAt(0)===\"t\"&&l.call(this,T)&&!isNaN(+T.slice(1))&&(this[T]=void 0)},stop:function(){this.done=!0;var A=this.tryEntries[0].completion;if(A.type===\"throw\")throw A.arg;return this.rval},dispatchException:function(A){if(this.done)throw A;var T=this;function R(ge,ce){return B.type=\"throw\",B.arg=A,T.next=ge,ce&&(T.method=\"next\",T.arg=void 0),!!ce}for(var j=this.tryEntries.length-1;j>=0;--j){var C=this.tryEntries[j],B=C.completion;if(C.tryLoc===\"root\")return R(\"end\");if(C.tryLoc<=this.prev){var fe=l.call(C,\"catchLoc\"),Ae=l.call(C,\"finallyLoc\");if(fe&&Ae){if(this.prev<C.catchLoc)return R(C.catchLoc,!0);if(this.prev<C.finallyLoc)return R(C.finallyLoc)}else if(fe){if(this.prev<C.catchLoc)return R(C.catchLoc,!0)}else{if(!Ae)throw new Error(\"try statement without catch or finally\");if(this.prev<C.finallyLoc)return R(C.finallyLoc)}}}},abrupt:function(A,T){for(var R=this.tryEntries.length-1;R>=0;--R){var j=this.tryEntries[R];if(j.tryLoc<=this.prev&&l.call(j,\"finallyLoc\")&&this.prev<j.finallyLoc){var C=j;break}}C&&(A===\"break\"||A===\"continue\")&&C.tryLoc<=T&&T<=C.finallyLoc&&(C=null);var B=C?C.completion:{};return B.type=A,B.arg=T,C?(this.method=\"next\",this.next=C.finallyLoc,I):this.complete(B)},complete:function(A,T){if(A.type===\"throw\")throw A.arg;return A.type===\"break\"||A.type===\"continue\"?this.next=A.arg:A.type===\"return\"?(this.rval=this.arg=A.arg,this.method=\"return\",this.next=\"end\"):A.type===\"normal\"&&T&&(this.next=T),I},finish:function(A){for(var T=this.tryEntries.length-1;T>=0;--T){var R=this.tryEntries[T];if(R.finallyLoc===A)return this.complete(R.completion,R.afterLoc),oe(R),I}},catch:function(A){for(var T=this.tryEntries.length-1;T>=0;--T){var R=this.tryEntries[T];if(R.tryLoc===A){var j=R.completion;if(j.type===\"throw\"){var C=j.arg;oe(R)}return C}}throw new Error(\"illegal catch attempt\")},delegateYield:function(A,T,R){return this.delegate={iterator:Te(A),resultName:T,nextLoc:R},this.method===\"next\"&&(this.arg=void 0),I}},r}c.exports=o,c.exports.__esModule=!0,c.exports.default=c.exports},54306:function(c,m,e){var a=e(5548),o=e(40790),r=e(41442),u=e(15324);function l(d,f){return a(d)||o(d,f)||r(d,f)||u()}c.exports=l,c.exports.__esModule=!0,c.exports.default=c.exports},93299:function(c,m,e){var a=e(37635).default;function o(r,u){if(a(r)!==\"object\"||r===null)return r;var l=r[Symbol.toPrimitive];if(l!==void 0){var d=l.call(r,u||\"default\");if(a(d)!==\"object\")return d;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(u===\"string\"?String:Number)(r)}c.exports=o,c.exports.__esModule=!0,c.exports.default=c.exports},26982:function(c,m,e){var a=e(37635).default,o=e(93299);function r(u){var l=o(u,\"string\");return a(l)===\"symbol\"?l:String(l)}c.exports=r,c.exports.__esModule=!0,c.exports.default=c.exports},37635:function(c){function m(e){return c.exports=m=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(a){return typeof a}:function(a){return a&&typeof Symbol==\"function\"&&a.constructor===Symbol&&a!==Symbol.prototype?\"symbol\":typeof a},c.exports.__esModule=!0,c.exports.default=c.exports,m(e)}c.exports=m,c.exports.__esModule=!0,c.exports.default=c.exports},41442:function(c,m,e){var a=e(25705);function o(r,u){if(r){if(typeof r==\"string\")return a(r,u);var l=Object.prototype.toString.call(r).slice(8,-1);if(l===\"Object\"&&r.constructor&&(l=r.constructor.name),l===\"Map\"||l===\"Set\")return Array.from(r);if(l===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return a(r,u)}}c.exports=o,c.exports.__esModule=!0,c.exports.default=c.exports},8681:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return a}});function a(o,r){(r==null||r>o.length)&&(r=o.length);for(var u=0,l=new Array(r);u<r;u++)l[u]=o[u];return l}},20533:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return a}});function a(o){if(Array.isArray(o))return o}},60790:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return a}});function a(o){if(o===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return o}},78450:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return o}});function a(r,u,l,d,f,v,p){try{var h=r[v](p),g=h.value}catch(y){l(y);return}h.done?u(g):Promise.resolve(g).then(d,f)}function o(r){return function(){var u=this,l=arguments;return new Promise(function(d,f){var v=r.apply(u,l);function p(g){a(v,d,f,p,h,\"next\",g)}function h(g){a(v,d,f,p,h,\"throw\",g)}p(void 0)})}}},40936:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return a}});function a(o,r){if(!(o instanceof r))throw new TypeError(\"Cannot call a class as a function\")}},49962:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return r}});var a=e(1536);function o(u,l){for(var d=0;d<l.length;d++){var f=l[d];f.enumerable=f.enumerable||!1,f.configurable=!0,\"value\"in f&&(f.writable=!0),Object.defineProperty(u,(0,a.Z)(f.key),f)}}function r(u,l,d){return l&&o(u.prototype,l),d&&o(u,d),Object.defineProperty(u,\"prototype\",{writable:!1}),u}},76614:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return d}});function a(f){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},a(f)}function o(){if(typeof Reflect==\"undefined\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(f){return!1}}var r=e(26143),u=e(60790);function l(f,v){if(v&&((0,r.Z)(v)===\"object\"||typeof v==\"function\"))return v;if(v!==void 0)throw new TypeError(\"Derived constructors may only return object or undefined\");return(0,u.Z)(f)}function d(f){var v=o();return function(){var h=a(f),g;if(v){var y=a(this).constructor;g=Reflect.construct(h,arguments,y)}else g=h.apply(this,arguments);return l(this,g)}}},24572:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return o}});var a=e(1536);function o(r,u,l){return u=(0,a.Z)(u),u in r?Object.defineProperty(r,u,{value:l,enumerable:!0,configurable:!0,writable:!0}):r[u]=l,r}},51163:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return a}});function a(){return a=Object.assign?Object.assign.bind():function(o){for(var r=1;r<arguments.length;r++){var u=arguments[r];for(var l in u)Object.prototype.hasOwnProperty.call(u,l)&&(o[l]=u[l])}return o},a.apply(this,arguments)}},39027:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return o}});function a(r,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,f){return d.__proto__=f,d},a(r,u)}function o(r,u){if(typeof u!=\"function\"&&u!==null)throw new TypeError(\"Super expression must either be null or a function\");r.prototype=Object.create(u&&u.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,\"prototype\",{writable:!1}),u&&a(r,u)}},52987:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return a}});function a(o){if(typeof Symbol!=\"undefined\"&&o[Symbol.iterator]!=null||o[\"@@iterator\"]!=null)return Array.from(o)}},71885:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return a}});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.`)}},75782:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return r}});var a=e(24572);function o(u,l){var d=Object.keys(u);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(u);l&&(f=f.filter(function(v){return Object.getOwnPropertyDescriptor(u,v).enumerable})),d.push.apply(d,f)}return d}function r(u){for(var l=1;l<arguments.length;l++){var d=arguments[l]!=null?arguments[l]:{};l%2?o(Object(d),!0).forEach(function(f){(0,a.Z)(u,f,d[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(d)):o(Object(d)).forEach(function(f){Object.defineProperty(u,f,Object.getOwnPropertyDescriptor(d,f))})}return u}},58733:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return o}});function a(r,u){if(r==null)return{};var l={},d=Object.keys(r),f,v;for(v=0;v<d.length;v++)f=d[v],!(u.indexOf(f)>=0)&&(l[f]=r[f]);return l}function o(r,u){if(r==null)return{};var l=a(r,u),d,f;if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(r);for(f=0;f<v.length;f++)d=v[f],!(u.indexOf(d)>=0)&&Object.prototype.propertyIsEnumerable.call(r,d)&&(l[d]=r[d])}return l}},99932:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return o}});var a=e(26143);function o(){\"use strict\";o=function(){return r};var r={},u=Object.prototype,l=u.hasOwnProperty,d=Object.defineProperty||function(z,A,T){z[A]=T.value},f=typeof Symbol==\"function\"?Symbol:{},v=f.iterator||\"@@iterator\",p=f.asyncIterator||\"@@asyncIterator\",h=f.toStringTag||\"@@toStringTag\";function g(z,A,T){return Object.defineProperty(z,A,{value:T,enumerable:!0,configurable:!0,writable:!0}),z[A]}try{g({},\"\")}catch(z){g=function(T,R,j){return T[R]=j}}function y(z,A,T,R){var j=A&&A.prototype instanceof N?A:N,C=Object.create(j.prototype),B=new Ee(R||[]);return d(C,\"_invoke\",{value:G(z,T,B)}),C}function S(z,A,T){try{return{type:\"normal\",arg:z.call(A,T)}}catch(R){return{type:\"throw\",arg:R}}}r.wrap=y;var I={};function N(){}function _(){}function M(){}var L={};g(L,v,function(){return this});var k=Object.getPrototypeOf,U=k&&k(k(Te([])));U&&U!==u&&l.call(U,v)&&(L=U);var x=M.prototype=N.prototype=Object.create(L);function F(z){[\"next\",\"throw\",\"return\"].forEach(function(A){g(z,A,function(T){return this._invoke(A,T)})})}function K(z,A){function T(j,C,B,fe){var Ae=S(z[j],z,C);if(Ae.type!==\"throw\"){var ge=Ae.arg,ce=ge.value;return ce&&(0,a.Z)(ce)==\"object\"&&l.call(ce,\"__await\")?A.resolve(ce.__await).then(function(Me){T(\"next\",Me,B,fe)},function(Me){T(\"throw\",Me,B,fe)}):A.resolve(ce).then(function(Me){ge.value=Me,B(ge)},function(Me){return T(\"throw\",Me,B,fe)})}fe(Ae.arg)}var R;d(this,\"_invoke\",{value:function(C,B){function fe(){return new A(function(Ae,ge){T(C,B,Ae,ge)})}return R=R?R.then(fe,fe):fe()}})}function G(z,A,T){var R=\"suspendedStart\";return function(j,C){if(R===\"executing\")throw new Error(\"Generator is already running\");if(R===\"completed\"){if(j===\"throw\")throw C;return ae()}for(T.method=j,T.arg=C;;){var B=T.delegate;if(B){var fe=q(B,T);if(fe){if(fe===I)continue;return fe}}if(T.method===\"next\")T.sent=T._sent=T.arg;else if(T.method===\"throw\"){if(R===\"suspendedStart\")throw R=\"completed\",T.arg;T.dispatchException(T.arg)}else T.method===\"return\"&&T.abrupt(\"return\",T.arg);R=\"executing\";var Ae=S(z,A,T);if(Ae.type===\"normal\"){if(R=T.done?\"completed\":\"suspendedYield\",Ae.arg===I)continue;return{value:Ae.arg,done:T.done}}Ae.type===\"throw\"&&(R=\"completed\",T.method=\"throw\",T.arg=Ae.arg)}}}function q(z,A){var T=A.method,R=z.iterator[T];if(R===void 0)return A.delegate=null,T===\"throw\"&&z.iterator.return&&(A.method=\"return\",A.arg=void 0,q(z,A),A.method===\"throw\")||T!==\"return\"&&(A.method=\"throw\",A.arg=new TypeError(\"The iterator does not provide a '\"+T+\"' method\")),I;var j=S(R,z.iterator,A.arg);if(j.type===\"throw\")return A.method=\"throw\",A.arg=j.arg,A.delegate=null,I;var C=j.arg;return C?C.done?(A[z.resultName]=C.value,A.next=z.nextLoc,A.method!==\"return\"&&(A.method=\"next\",A.arg=void 0),A.delegate=null,I):C:(A.method=\"throw\",A.arg=new TypeError(\"iterator result is not an object\"),A.delegate=null,I)}function X(z){var A={tryLoc:z[0]};1 in z&&(A.catchLoc=z[1]),2 in z&&(A.finallyLoc=z[2],A.afterLoc=z[3]),this.tryEntries.push(A)}function oe(z){var A=z.completion||{};A.type=\"normal\",delete A.arg,z.completion=A}function Ee(z){this.tryEntries=[{tryLoc:\"root\"}],z.forEach(X,this),this.reset(!0)}function Te(z){if(z){var A=z[v];if(A)return A.call(z);if(typeof z.next==\"function\")return z;if(!isNaN(z.length)){var T=-1,R=function j(){for(;++T<z.length;)if(l.call(z,T))return j.value=z[T],j.done=!1,j;return j.value=void 0,j.done=!0,j};return R.next=R}}return{next:ae}}function ae(){return{value:void 0,done:!0}}return _.prototype=M,d(x,\"constructor\",{value:M,configurable:!0}),d(M,\"constructor\",{value:_,configurable:!0}),_.displayName=g(M,h,\"GeneratorFunction\"),r.isGeneratorFunction=function(z){var A=typeof z==\"function\"&&z.constructor;return!!A&&(A===_||(A.displayName||A.name)===\"GeneratorFunction\")},r.mark=function(z){return Object.setPrototypeOf?Object.setPrototypeOf(z,M):(z.__proto__=M,g(z,h,\"GeneratorFunction\")),z.prototype=Object.create(x),z},r.awrap=function(z){return{__await:z}},F(K.prototype),g(K.prototype,p,function(){return this}),r.AsyncIterator=K,r.async=function(z,A,T,R,j){j===void 0&&(j=Promise);var C=new K(y(z,A,T,R),j);return r.isGeneratorFunction(A)?C:C.next().then(function(B){return B.done?B.value:C.next()})},F(x),g(x,h,\"Generator\"),g(x,v,function(){return this}),g(x,\"toString\",function(){return\"[object Generator]\"}),r.keys=function(z){var A=Object(z),T=[];for(var R in A)T.push(R);return T.reverse(),function j(){for(;T.length;){var C=T.pop();if(C in A)return j.value=C,j.done=!1,j}return j.done=!0,j}},r.values=Te,Ee.prototype={constructor:Ee,reset:function(A){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(oe),!A)for(var T in this)T.charAt(0)===\"t\"&&l.call(this,T)&&!isNaN(+T.slice(1))&&(this[T]=void 0)},stop:function(){this.done=!0;var A=this.tryEntries[0].completion;if(A.type===\"throw\")throw A.arg;return this.rval},dispatchException:function(A){if(this.done)throw A;var T=this;function R(ge,ce){return B.type=\"throw\",B.arg=A,T.next=ge,ce&&(T.method=\"next\",T.arg=void 0),!!ce}for(var j=this.tryEntries.length-1;j>=0;--j){var C=this.tryEntries[j],B=C.completion;if(C.tryLoc===\"root\")return R(\"end\");if(C.tryLoc<=this.prev){var fe=l.call(C,\"catchLoc\"),Ae=l.call(C,\"finallyLoc\");if(fe&&Ae){if(this.prev<C.catchLoc)return R(C.catchLoc,!0);if(this.prev<C.finallyLoc)return R(C.finallyLoc)}else if(fe){if(this.prev<C.catchLoc)return R(C.catchLoc,!0)}else{if(!Ae)throw new Error(\"try statement without catch or finally\");if(this.prev<C.finallyLoc)return R(C.finallyLoc)}}}},abrupt:function(A,T){for(var R=this.tryEntries.length-1;R>=0;--R){var j=this.tryEntries[R];if(j.tryLoc<=this.prev&&l.call(j,\"finallyLoc\")&&this.prev<j.finallyLoc){var C=j;break}}C&&(A===\"break\"||A===\"continue\")&&C.tryLoc<=T&&T<=C.finallyLoc&&(C=null);var B=C?C.completion:{};return B.type=A,B.arg=T,C?(this.method=\"next\",this.next=C.finallyLoc,I):this.complete(B)},complete:function(A,T){if(A.type===\"throw\")throw A.arg;return A.type===\"break\"||A.type===\"continue\"?this.next=A.arg:A.type===\"return\"?(this.rval=this.arg=A.arg,this.method=\"return\",this.next=\"end\"):A.type===\"normal\"&&T&&(this.next=T),I},finish:function(A){for(var T=this.tryEntries.length-1;T>=0;--T){var R=this.tryEntries[T];if(R.finallyLoc===A)return this.complete(R.completion,R.afterLoc),oe(R),I}},catch:function(A){for(var T=this.tryEntries.length-1;T>=0;--T){var R=this.tryEntries[T];if(R.tryLoc===A){var j=R.completion;if(j.type===\"throw\"){var C=j.arg;oe(R)}return C}}throw new Error(\"illegal catch attempt\")},delegateYield:function(A,T,R){return this.delegate={iterator:Te(A),resultName:T,nextLoc:R},this.method===\"next\"&&(this.arg=void 0),I}},r}},91600:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return l}});var a=e(20533);function o(d,f){var v=d==null?null:typeof Symbol!=\"undefined\"&&d[Symbol.iterator]||d[\"@@iterator\"];if(v!=null){var p,h,g,y,S=[],I=!0,N=!1;try{if(g=(v=v.call(d)).next,f===0){if(Object(v)!==v)return;I=!1}else for(;!(I=(p=g.call(v)).done)&&(S.push(p.value),S.length!==f);I=!0);}catch(_){N=!0,h=_}finally{try{if(!I&&v.return!=null&&(y=v.return(),Object(y)!==y))return}finally{if(N)throw h}}return S}}var r=e(22266),u=e(71885);function l(d,f){return(0,a.Z)(d)||o(d,f)||(0,r.Z)(d,f)||(0,u.Z)()}},9942:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return l}});var a=e(20533),o=e(52987),r=e(22266),u=e(71885);function l(d){return(0,a.Z)(d)||(0,o.Z)(d)||(0,r.Z)(d)||(0,u.Z)()}},49544:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return d}});var a=e(8681);function o(f){if(Array.isArray(f))return(0,a.Z)(f)}var r=e(52987),u=e(22266);function l(){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 d(f){return o(f)||(0,r.Z)(f)||(0,u.Z)(f)||l()}},1536:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return r}});var a=e(26143);function o(u,l){if((0,a.Z)(u)!==\"object\"||u===null)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var f=d.call(u,l||\"default\");if((0,a.Z)(f)!==\"object\")return f;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(l===\"string\"?String:Number)(u)}function r(u){var l=o(u,\"string\");return(0,a.Z)(l)===\"symbol\"?l:String(l)}},26143:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return a}});function a(o){return a=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(r){return typeof r}:function(r){return r&&typeof Symbol==\"function\"&&r.constructor===Symbol&&r!==Symbol.prototype?\"symbol\":typeof r},a(o)}},22266:function(c,m,e){\"use strict\";e.d(m,{Z:function(){return o}});var a=e(8681);function o(r,u){if(r){if(typeof r==\"string\")return(0,a.Z)(r,u);var l=Object.prototype.toString.call(r).slice(8,-1);if(l===\"Object\"&&r.constructor&&(l=r.constructor.name),l===\"Map\"||l===\"Set\")return Array.from(r);if(l===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return(0,a.Z)(r,u)}}}},__webpack_module_cache__={};function __webpack_require__(c){var m=__webpack_module_cache__[c];if(m!==void 0)return m.exports;var e=__webpack_module_cache__[c]={id:c,loaded:!1,exports:{}};return __webpack_modules__[c].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.n=function(c){var m=c&&c.__esModule?function(){return c.default}:function(){return c};return __webpack_require__.d(m,{a:m}),m}}(),function(){var c=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},m;__webpack_require__.t=function(e,a){if(a&1&&(e=this(e)),a&8||typeof e==\"object\"&&e&&(a&4&&e.__esModule||a&16&&typeof e.then==\"function\"))return e;var o=Object.create(null);__webpack_require__.r(o);var r={};m=m||[null,c({}),c([]),c(c)];for(var u=a&2&&e;typeof u==\"object\"&&!~m.indexOf(u);u=c(u))Object.getOwnPropertyNames(u).forEach(function(l){r[l]=function(){return e[l]}});return r.default=function(){return e},__webpack_require__.d(o,r),o}}(),function(){__webpack_require__.d=function(c,m){for(var e in m)__webpack_require__.o(m,e)&&!__webpack_require__.o(c,e)&&Object.defineProperty(c,e,{enumerable:!0,get:m[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(c){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(m,e){return __webpack_require__.f[e](c,m),m},[]))}}(),function(){__webpack_require__.u=function(c){return\"\"+({9:\"nm__dumi__dist__client__pages__Demo__index\",65:\"nm__dumi__dist__client__pages__404\",205:\"docs__guide__faq.md\",244:\"docs__guide__toolbar.md\",253:\"docs__config__index.md\",433:\"demos\",447:\"docs__demo__index.zh-CN.md\",519:\"nm__dumi__theme-default__layouts__DocLayout__index\",533:\"docs__index.md\",570:\"docs__demo__index.md\",575:\"docs__guide__relation.md\",655:\"docs__guide__getting-started.md\",708:\"docs__guide__next.md\",825:\"docs__guide__index.md\",826:\"docs__guide__ddd.md\",834:\"docs__index.zh-CN.md\",887:\"docs__config__index.zh-CN.md\",923:\"dumi__tmp-production__dumi__theme__ContextWrapper\",935:\"docs__guide__migration.md\",956:\"docs__guide__model.md\",981:\"docs__guide__index.zh-CN.md\"}[c]||c)+\".\"+{1:\"b481cf9f\",9:\"34d43b3c\",65:\"173bfe00\",182:\"7fbd14ca\",205:\"e2bc2716\",244:\"b1f08561\",253:\"c8dd8580\",433:\"10478156\",447:\"721550ee\",448:\"040494bf\",519:\"e98c1e2a\",533:\"8fe22eab\",558:\"b2514152\",570:\"6a4d1b75\",575:\"35f01354\",655:\"617b1c20\",708:\"bbbf7fb8\",825:\"1f2709ec\",826:\"a9a823b3\",834:\"8e8bec0b\",874:\"753377bf\",887:\"92917182\",923:\"129554bf\",935:\"7accafe8\",956:\"4423bc7a\",981:\"25f260c5\"}[c]+\".async.js\"}}(),function(){__webpack_require__.miniCssF=function(c){return\"\"+({9:\"nm__dumi__dist__client__pages__Demo__index\",65:\"nm__dumi__dist__client__pages__404\",205:\"docs__guide__faq.md\",244:\"docs__guide__toolbar.md\",253:\"docs__config__index.md\",433:\"demos\",447:\"docs__demo__index.zh-CN.md\",533:\"docs__index.md\",570:\"docs__demo__index.md\",575:\"docs__guide__relation.md\",655:\"docs__guide__getting-started.md\",708:\"docs__guide__next.md\",825:\"docs__guide__index.md\",826:\"docs__guide__ddd.md\",834:\"docs__index.zh-CN.md\",887:\"docs__config__index.zh-CN.md\",935:\"docs__guide__migration.md\",956:\"docs__guide__model.md\",981:\"docs__guide__index.zh-CN.md\"}[c]||c)+\".\"+{9:\"578aa5c0\",65:\"8b85f2d9\",205:\"ffc024b8\",244:\"ffc024b8\",253:\"ffc024b8\",433:\"24639f3d\",447:\"ffc024b8\",533:\"ffc024b8\",558:\"58fc54b3\",570:\"ffc024b8\",575:\"ffc024b8\",655:\"ffc024b8\",708:\"ffc024b8\",825:\"ffc024b8\",826:\"ffc024b8\",834:\"ffc024b8\",887:\"ffc024b8\",935:\"ffc024b8\",956:\"ffc024b8\",981:\"ffc024b8\"}[c]+\".chunk.css\"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis==\"object\")return globalThis;try{return this||new Function(\"return this\")()}catch(c){if(typeof window==\"object\")return window}}()}(),function(){__webpack_require__.o=function(c,m){return Object.prototype.hasOwnProperty.call(c,m)}}(),function(){var c={},m=\"web-pdm-doc:\";__webpack_require__.l=function(e,a,o,r){if(c[e]){c[e].push(a);return}var u,l;if(o!==void 0)for(var d=document.getElementsByTagName(\"script\"),f=0;f<d.length;f++){var v=d[f];if(v.getAttribute(\"src\")==e||v.getAttribute(\"data-webpack\")==m+o){u=v;break}}u||(l=!0,u=document.createElement(\"script\"),u.charset=\"utf-8\",u.timeout=120,__webpack_require__.nc&&u.setAttribute(\"nonce\",__webpack_require__.nc),u.setAttribute(\"data-webpack\",m+o),u.src=e),c[e]=[a];var p=function(g,y){u.onerror=u.onload=null,clearTimeout(h);var S=c[e];if(delete c[e],u.parentNode&&u.parentNode.removeChild(u),S&&S.forEach(function(I){return I(y)}),g)return g(y)},h=setTimeout(p.bind(null,void 0,{type:\"timeout\",target:u}),12e4);u.onerror=p.bind(null,u.onerror),u.onload=p.bind(null,u.onload),l&&document.head.appendChild(u)}}(),function(){__webpack_require__.r=function(c){typeof Symbol!=\"undefined\"&&Symbol.toStringTag&&Object.defineProperty(c,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(c,\"__esModule\",{value:!0})}}(),function(){__webpack_require__.nmd=function(c){return c.paths=[],c.children||(c.children=[]),c}}(),function(){__webpack_require__.p=\"/\"}(),function(){if(typeof document!=\"undefined\"){var c=function(o,r,u,l,d){var f=document.createElement(\"link\");f.rel=\"stylesheet\",f.type=\"text/css\";var v=function(p){if(f.onerror=f.onload=null,p.type===\"load\")l();else{var h=p&&(p.type===\"load\"?\"missing\":p.type),g=p&&p.target&&p.target.href||r,y=new Error(\"Loading CSS chunk \"+o+` failed.\n(`+g+\")\");y.code=\"CSS_CHUNK_LOAD_FAILED\",y.type=h,y.request=g,f.parentNode.removeChild(f),d(y)}};return f.onerror=f.onload=v,f.href=r,u?u.parentNode.insertBefore(f,u.nextSibling):document.head.appendChild(f),f},m=function(o,r){for(var u=document.getElementsByTagName(\"link\"),l=0;l<u.length;l++){var d=u[l],f=d.getAttribute(\"data-href\")||d.getAttribute(\"href\");if(d.rel===\"stylesheet\"&&(f===o||f===r))return d}for(var v=document.getElementsByTagName(\"style\"),l=0;l<v.length;l++){var d=v[l],f=d.getAttribute(\"data-href\");if(f===o||f===r)return d}},e=function(o){return new Promise(function(r,u){var l=__webpack_require__.miniCssF(o),d=__webpack_require__.p+l;if(m(l,d))return r();c(o,d,null,r,u)})},a={620:0};__webpack_require__.f.miniCss=function(o,r){var u={9:1,65:1,205:1,244:1,253:1,433:1,447:1,533:1,558:1,570:1,575:1,655:1,708:1,825:1,826:1,834:1,887:1,935:1,956:1,981:1};a[o]?r.push(a[o]):a[o]!==0&&u[o]&&r.push(a[o]=e(o).then(function(){a[o]=0},function(l){throw delete a[o],l}))}}}(),function(){var c={620:0};__webpack_require__.f.j=function(a,o){var r=__webpack_require__.o(c,a)?c[a]:void 0;if(r!==0)if(r)o.push(r[2]);else{var u=new Promise(function(v,p){r=c[a]=[v,p]});o.push(r[2]=u);var l=__webpack_require__.p+__webpack_require__.u(a),d=new Error,f=function(v){if(__webpack_require__.o(c,a)&&(r=c[a],r!==0&&(c[a]=void 0),r)){var p=v&&(v.type===\"load\"?\"missing\":v.type),h=v&&v.target&&v.target.src;d.message=\"Loading chunk \"+a+` failed.\n(`+p+\": \"+h+\")\",d.name=\"ChunkLoadError\",d.type=p,d.request=h,r[1](d)}};__webpack_require__.l(l,f,\"chunk-\"+a,a)}};var m=function(a,o){var r=o[0],u=o[1],l=o[2],d,f,v=0;if(r.some(function(h){return c[h]!==0})){for(d in u)__webpack_require__.o(u,d)&&(__webpack_require__.m[d]=u[d]);if(l)var p=l(__webpack_require__)}for(a&&a(o);v<r.length;v++)f=r[v],__webpack_require__.o(c,f)&&c[f]&&c[f][0](),c[f]=0},e=self.webpackChunkweb_pdm_doc=self.webpackChunkweb_pdm_doc||[];e.forEach(m.bind(null,0)),e.push=m.bind(null,e.push.bind(e))}();var __webpack_exports__={};(function(){\"use strict\";var c={};__webpack_require__.r(c),__webpack_require__.d(c,{modifyClientRenderOpts:function(){return Yo}});var m={};__webpack_require__.r(m),__webpack_require__.d(m,{innerProvider:function(){return Wa}});var e={};__webpack_require__.r(e),__webpack_require__.d(e,{patchRoutes:function(){return Xo}});var a={};__webpack_require__.r(a),__webpack_require__.d(a,{i18nProvider:function(){return Xu}});var o={};__webpack_require__.r(o),__webpack_require__.d(o,{modifyClientRenderOpts:function(){return Ju}});var r=__webpack_require__(25359),u=__webpack_require__.n(r),l=__webpack_require__(57213),d=__webpack_require__.n(l),f=__webpack_require__(49811),v=__webpack_require__.n(f),p=__webpack_require__(10711),h=__webpack_require__(94380),g=__webpack_require__(72978),y=__webpack_require__(18759),S=__webpack_require__(2757),I=__webpack_require__(93324),N=__webpack_require__(87477),_=__webpack_require__(97220),M=__webpack_require__(10375),L=__webpack_require__(17934),k=__webpack_require__(59055),U=__webpack_require__(9333),x=__webpack_require__(39117),F=__webpack_require__(92648),K=__webpack_require__(99971),G=__webpack_require__(72287),q=__webpack_require__(42074),X=__webpack_require__(64974),oe=__webpack_require__(50481),Ee=__webpack_require__(60843),Te=__webpack_require__(56260),ae=__webpack_require__(60730),z=__webpack_require__(27224),A=__webpack_require__(30542),T=__webpack_require__(71242),R=__webpack_require__(5270),j=__webpack_require__(66386),C=__webpack_require__(3368),B=__webpack_require__(7098),fe=__webpack_require__(32736),Ae=__webpack_require__(55350),ge=__webpack_require__(47887),ce=__webpack_require__(19661),Me=__webpack_require__(14658),_e=__webpack_require__(89387),De=__webpack_require__(95458),Ce=__webpack_require__(18133),it=__webpack_require__(70533),V=__webpack_require__(92617),we=__webpack_require__(5408),Ie=__webpack_require__(30750),le=__webpack_require__(17638),Ne=__webpack_require__(8758),te=__webpack_require__(98805),se=__webpack_require__(92602),pe=__webpack_require__(49111),ee=__webpack_require__(25131),Se=__webpack_require__(26698),Q=__webpack_require__(89590),Z=__webpack_require__(28987),Y=__webpack_require__(65975),ue=__webpack_require__(46618),he=__webpack_require__(2155),me=__webpack_require__(34737),Oe=__webpack_require__(42596),We=__webpack_require__(40977),ke=__webpack_require__(82921),It=__webpack_require__(79529),ft=__webpack_require__(56722),nn=__webpack_require__(79608),b=__webpack_require__(201),W=__webpack_require__(79592),de=__webpack_require__(65690),ye=__webpack_require__(3776),He=__webpack_require__(83432),rt=__webpack_require__(48025),$e=__webpack_require__(96451),pt=__webpack_require__(79593),Ot=__webpack_require__(75272),at=__webpack_require__(82570),wt=__webpack_require__(50952),vt=__webpack_require__(64317),jt=__webpack_require__(13685),At=__webpack_require__(53494),qt=__webpack_require__(83489),En=__webpack_require__(70704),Ft=__webpack_require__(64086),_n=__webpack_require__(17046),xn=__webpack_require__(98003),Zn=__webpack_require__(29730),Wn=__webpack_require__(71029),Jn=__webpack_require__(538),Un=__webpack_require__(13613),qn=__webpack_require__(20127),cr=__webpack_require__(30003),pr=__webpack_require__(29643),vr=__webpack_require__(7769),Dn=__webpack_require__(10805),br=__webpack_require__(56672),zn=__webpack_require__(91618),Re=__webpack_require__(78043),Ge=__webpack_require__(29737),ot=__webpack_require__(46765),Dt=__webpack_require__(61323),Nt=__webpack_require__(6910),Lt=__webpack_require__(68360),Ht=__webpack_require__(88865),Vt=__webpack_require__(58598),an=__webpack_require__(18066),Wt=__webpack_require__(45852),bn=__webpack_require__(32483),ln=__webpack_require__(74796),tt=__webpack_require__(61003),Ze=__webpack_require__(81600),nt=__webpack_require__(37355),st=__webpack_require__(17468),Qe=__webpack_require__(83036),ct=__webpack_require__(64516),lt=__webpack_require__(97121),gt=__webpack_require__(3749),mt=__webpack_require__(32585),Et=__webpack_require__(80676),Pt=__webpack_require__(2939),Mt=__webpack_require__(43645),Bt=__webpack_require__(52180),Kt=__webpack_require__(15496),Yt=__webpack_require__(26169),$t=__webpack_require__(20051),dn=__webpack_require__(92056),Xt=__webpack_require__(90351),en=__webpack_require__(21764),hn=__webpack_require__(60765),pn=__webpack_require__(3723),Sn=__webpack_require__(39332),fn=__webpack_require__(71669),Zt=__webpack_require__(6772),ar=__webpack_require__(5135),An=__webpack_require__(52074),sn=__webpack_require__(49395),Rn=__webpack_require__(35939),Nn=__webpack_require__(26910),Bn=__webpack_require__(48534),Vn=__webpack_require__(37821),Fn=__webpack_require__(90435),H=__webpack_require__(31998),ie=__webpack_require__(67786),re=__webpack_require__(67894),xe=__webpack_require__(11573),Ke=__webpack_require__(17250),Ue=__webpack_require__(53587),J=__webpack_require__(45816),w=__webpack_require__(39268),P=__webpack_require__(58625),D=__webpack_require__(86562),ne=__webpack_require__(55631),be=__webpack_require__(55916),Le=__webpack_require__(94277),je=__webpack_require__(46537),ze=__webpack_require__(36585),ut=__webpack_require__(50376),dt=__webpack_require__(17994),Ct=__webpack_require__(13470),Rt=__webpack_require__(35841),kt=__webpack_require__(15284),Ut=__webpack_require__(69308),Qt=__webpack_require__(87828),cn=__webpack_require__(4832),wn=__webpack_require__(57893),gn=__webpack_require__(20310),Kn=__webpack_require__(52417),Pn=__webpack_require__(66502),Ln=__webpack_require__(84726),er=__webpack_require__(92787),or=__webpack_require__(59213),Ar=__webpack_require__(82035),Xn=__webpack_require__(54809),Yn=__webpack_require__(34739),Er=__webpack_require__(73071),Hn=__webpack_require__(97599),Ir=__webpack_require__(15267),kr=__webpack_require__(28291),fr=__webpack_require__(50634),Rr=__webpack_require__(43059),hr=__webpack_require__(80287),Tr=__webpack_require__(54957),La=__webpack_require__(54889),za=__webpack_require__(58907),Ha=__webpack_require__(54722),Gr=__webpack_require__(30861),$a=__webpack_require__(78674),Vr=__webpack_require__(94523),pa=__webpack_require__(69055),ya=__webpack_require__(69121),ir=__webpack_require__(2220),Pr=__webpack_require__(58075),Yr=__webpack_require__(25271),xr=__webpack_require__(90250),Oa=__webpack_require__(24572),na=__webpack_require__(75782),Cn=__webpack_require__(91600),xt=__webpack_require__(50959),ur=__webpack_require__(44478),tr=__webpack_require__(44492),Fr=__webpack_require__(77759),_r=__webpack_require__(58733),To=__webpack_require__(51163),ro=__webpack_require__(14828),Aa=[\"redirect\"];function xo(Be){var qe=Be.routesById,Je=Be.parentId,Xe=Be.routeComponents;return Object.keys(qe).filter(function(yt){return qe[yt].parentId===Je}).map(function(yt){var ht=Ti((0,na.Z)({route:qe[yt],routeComponent:Xe[yt],loadingComponent:Be.loadingComponent,reactRouter5Compat:Be.reactRouter5Compat},Be.reactRouter5Compat&&{hasChildren:Object.keys(qe).filter(function(on){return qe[on].parentId===yt}).length>0})),zt=xo({routesById:qe,routeComponents:Xe,parentId:ht.id,loadingComponent:Be.loadingComponent,reactRouter5Compat:Be.reactRouter5Compat});return zt.length>0&&(ht.children=zt,ht.routes=zt),ht})}function Wo(Be){var qe=(0,tr.UO)(),Je=(0,na.Z)((0,na.Z)({},Be),{},{to:(0,tr.Gn)(Be.to,qe)});return xt.createElement(tr.Fg,(0,To.Z)({replace:!0},Je))}function Ti(Be){var qe=Be.route,Je=qe.redirect,Xe=(0,_r.Z)(qe,Aa),yt=Be.reactRouter5Compat?Za:xi;return(0,na.Z)({element:Je?xt.createElement(Wo,{to:Je}):xt.createElement(ro.X.Provider,{value:{route:Be.route}},xt.createElement(yt,{loader:xt.memo(Be.routeComponent),loadingComponent:Be.loadingComponent||ao,hasChildren:Be.hasChildren}))},Xe)}function ao(){return xt.createElement(\"div\",null)}function Za(Be){var qe=(0,ro.Q)(),Je=qe.route,Xe=(0,Fr.Ov)(),yt=Xe.history,ht=Xe.clientRoutes,zt=(0,tr.UO)(),on={params:zt,isExact:!0,path:Je.path,url:yt.location.pathname},On=Be.loader;return xt.createElement(xt.Suspense,{fallback:xt.createElement(Be.loadingComponent,null)},xt.createElement(On,{location:yt.location,match:on,history:yt,params:zt,route:Je,routes:ht},Be.hasChildren&&xt.createElement(tr.j3,null)))}function xi(Be){var qe=Be.loader;return xt.createElement(xt.Suspense,{fallback:xt.createElement(Be.loadingComponent,null)},xt.createElement(qe,null))}var oo=null;function wi(){return oo}function Go(Be){var qe=Be.history,Je=xt.useState({action:qe.action,location:qe.location}),Xe=(0,Cn.Z)(Je,2),yt=Xe[0],ht=Xe[1];return(0,xt.useLayoutEffect)(function(){return qe.listen(ht)},[qe]),(0,xt.useLayoutEffect)(function(){function zt(on){Be.pluginManager.applyPlugins({key:\"onRouteChange\",type:\"event\",args:{routes:Be.routes,clientRoutes:Be.clientRoutes,location:on.location,action:on.action,basename:Be.basename}})}qe.listen(zt),zt({location:yt.location,action:yt.action})},[qe,Be.routes,Be.clientRoutes]),xt.createElement(tr.F0,{navigator:qe,location:yt.location,basename:Be.basename},Be.children)}function Vo(){var Be=(0,Fr.Ov)(),qe=Be.clientRoutes;return(0,tr.V$)(qe)}var wo=[\"innerProvider\",\"i18nProvider\",\"accessProvider\",\"dataflowProvider\",\"outerProvider\",\"rootContainer\"],la=function(qe,Je){var Xe=qe.basename||\"/\",yt=xo({routesById:qe.routes,routeComponents:qe.routeComponents,loadingComponent:qe.loadingComponent,reactRouter5Compat:qe.reactRouter5Compat});qe.pluginManager.applyPlugins({key:\"patchClientRoutes\",type:\"event\",args:{routes:yt}});for(var ht=xt.createElement(Go,{basename:Xe,pluginManager:qe.pluginManager,routes:qe.routes,clientRoutes:yt,history:qe.history},Je),zt=0,on=wo;zt<on.length;zt++){var On=on[zt];ht=qe.pluginManager.applyPlugins({type:\"modify\",key:On,initialValue:ht,args:{routes:qe.routes,history:qe.history,plugin:qe.pluginManager}})}var dr=function(){var Br=(0,xt.useState)({}),$r=(0,Cn.Z)(Br,2),ba=$r[0],Ra=$r[1],Cr=(0,xt.useState)(window.__UMI_LOADER_DATA__||{}),kn=(0,Cn.Z)(Cr,2),Tn=kn[0],Xr=kn[1],sr=(0,xt.useCallback)(function(Kr,Ya){var ja,Jr=(((ja=(0,tr.fp)(yt,Kr,Xe))===null||ja===void 0?void 0:ja.map(function(sa){return sa.route.id}))||[]).filter(Boolean);Jr.forEach(function(sa){var ui,li,po=window.__umi_manifest__;if(po){var ji=sa.replace(/[\\/\\-]/g,\"_\"),Ea=\"preload-\".concat(ji,\".js\");if(!document.getElementById(Ea)){var si=Object.keys(po).filter(function(aa){return aa.startsWith(ji+\".\")});si.forEach(function(aa){if(!/\\.(js|css)$/.test(aa))throw Error(\"preload not support \".concat(aa,\" file\"));var Qa=po[aa],oa=document.createElement(\"link\");oa.rel=\"preload\",oa.as=\"style\",aa.endsWith(\".js\")&&(oa.as=\"script\",oa.id=Ea),qe.runtimePublicPath&&(Qa=Qa.replace(new RegExp(\"^\".concat(qe.publicPath)),window.publicPath)),oa.href=Qa,document.head.appendChild(oa)})}}!Ya&&(ui=qe.routes[sa])!==null&&ui!==void 0&&ui.hasServerLoader&&fetch(\"/__serverLoader?route=\"+sa).then(function(aa){return aa.json()}).then(function(aa){xt.startTransition(function(){Xr(function(Qa){return(0,na.Z)((0,na.Z)({},Qa),{},(0,Oa.Z)({},sa,aa))})})}).catch(console.error);var ci=(li=qe.routes[sa])===null||li===void 0?void 0:li.clientLoader;ci&&!ba[sa]&&ci().then(function(aa){Ra(function(Qa){return(0,na.Z)((0,na.Z)({},Qa),{},(0,Oa.Z)({},sa,aa))})})})},[ba]);return(0,xt.useEffect)(function(){return sr(window.location.pathname,!0),qe.history.listen(function(Kr){sr(Kr.location.pathname)})},[]),(0,xt.useLayoutEffect)(function(){typeof qe.callback==\"function\"&&qe.callback()},[]),xt.createElement(Fr.Il.Provider,{value:{routes:qe.routes,routeComponents:qe.routeComponents,clientRoutes:yt,pluginManager:qe.pluginManager,rootElement:qe.rootElement,basename:Xe,clientLoaderData:ba,serverLoaderData:Tn,preloadRoute:sr,history:qe.history}},ht)};return dr};function Co(Be){var qe=Be.rootElement||document.getElementById(\"root\"),Je=la(Be,xt.createElement(Vo,null));if(Be.components)return Je;if(Be.hydrate){ur.hydrateRoot(qe,xt.createElement(Je,null));return}if(ur.createRoot){oo=ur.createRoot(qe),oo.render(xt.createElement(Je,null));return}ur.render(xt.createElement(Je,null),qe)}function Ci(){return Oo.apply(this,arguments)}function Oo(){return Oo=v()(u()().mark(function Be(){var qe;return u()().wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:return qe={404:{id:\"404\",path:\"*\",parentId:\"DocLayout\"},\"dumi-context-layout\":{id:\"dumi-context-layout\",path:\"/\",isLayout:!0},DocLayout:{id:\"DocLayout\",path:\"/\",parentId:\"dumi-context-layout\",isLayout:!0},\"docs/guide/getting-started\":{path:\"guide/getting-started\",id:\"docs/guide/getting-started\",parentId:\"DocLayout\"},\"docs/config/index.zh-CN\":{path:\"zh-CN/config\",id:\"docs/config/index.zh-CN\",parentId:\"DocLayout\"},\"docs/guide/index.zh-CN\":{path:\"zh-CN/guide\",id:\"docs/guide/index.zh-CN\",parentId:\"DocLayout\"},\"docs/demo/index.zh-CN\":{path:\"zh-CN/demo\",id:\"docs/demo/index.zh-CN\",parentId:\"DocLayout\"},\"docs/guide/migration\":{path:\"guide/migration\",id:\"docs/guide/migration\",parentId:\"DocLayout\"},\"docs/guide/relation\":{path:\"guide/relation\",id:\"docs/guide/relation\",parentId:\"DocLayout\"},\"docs/guide/toolbar\":{path:\"guide/toolbar\",id:\"docs/guide/toolbar\",parentId:\"DocLayout\"},\"docs/config/index\":{path:\"config\",id:\"docs/config/index\",parentId:\"DocLayout\"},\"docs/guide/index\":{path:\"guide\",id:\"docs/guide/index\",parentId:\"DocLayout\"},\"docs/guide/model\":{path:\"guide/model\",id:\"docs/guide/model\",parentId:\"DocLayout\"},\"docs/index.zh-CN\":{path:\"zh-CN/\",id:\"docs/index.zh-CN\",parentId:\"DocLayout\"},\"docs/demo/index\":{path:\"demo\",id:\"docs/demo/index\",parentId:\"DocLayout\"},\"docs/guide/next\":{path:\"guide/next\",id:\"docs/guide/next\",parentId:\"DocLayout\"},\"docs/guide/ddd\":{path:\"guide/ddd\",id:\"docs/guide/ddd\",parentId:\"DocLayout\"},\"docs/guide/faq\":{path:\"guide/faq\",id:\"docs/guide/faq\",parentId:\"DocLayout\"},\"docs/index\":{path:\"\",id:\"docs/index\",parentId:\"DocLayout\"},\"demo-render\":{id:\"demo-render\",path:\"~demos/:id\",parentId:\"dumi-context-layout\",prerender:!1}},Xe.abrupt(\"return\",{routes:qe,routeComponents:{404:xt.lazy(function(){return __webpack_require__.e(65).then(__webpack_require__.bind(__webpack_require__,36264))}),\"dumi-context-layout\":xt.lazy(function(){return __webpack_require__.e(923).then(__webpack_require__.bind(__webpack_require__,79586))}),DocLayout:xt.lazy(function(){return Promise.all([__webpack_require__.e(558),__webpack_require__.e(519)]).then(__webpack_require__.bind(__webpack_require__,87056))}),\"docs/guide/getting-started\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(655)]).then(__webpack_require__.bind(__webpack_require__,12269))}),\"docs/config/index.zh-CN\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(887)]).then(__webpack_require__.bind(__webpack_require__,49751))}),\"docs/guide/index.zh-CN\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(981)]).then(__webpack_require__.bind(__webpack_require__,40111))}),\"docs/demo/index.zh-CN\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(447)]).then(__webpack_require__.bind(__webpack_require__,67093))}),\"docs/guide/migration\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(935)]).then(__webpack_require__.bind(__webpack_require__,73887))}),\"docs/guide/relation\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(575)]).then(__webpack_require__.bind(__webpack_require__,13337))}),\"docs/guide/toolbar\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(244)]).then(__webpack_require__.bind(__webpack_require__,58130))}),\"docs/config/index\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(253)]).then(__webpack_require__.bind(__webpack_require__,64897))}),\"docs/guide/index\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(825)]).then(__webpack_require__.bind(__webpack_require__,33300))}),\"docs/guide/model\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(956)]).then(__webpack_require__.bind(__webpack_require__,92313))}),\"docs/index.zh-CN\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(834)]).then(__webpack_require__.bind(__webpack_require__,39583))}),\"docs/demo/index\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(570)]).then(__webpack_require__.bind(__webpack_require__,21443))}),\"docs/guide/next\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(708)]).then(__webpack_require__.bind(__webpack_require__,9830))}),\"docs/guide/ddd\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(826)]).then(__webpack_require__.bind(__webpack_require__,8930))}),\"docs/guide/faq\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(205)]).then(__webpack_require__.bind(__webpack_require__,4273))}),\"docs/index\":xt.lazy(function(){return Promise.all([__webpack_require__.e(182),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,40717))}),\"demo-render\":xt.lazy(function(){return __webpack_require__.e(9).then(__webpack_require__.bind(__webpack_require__,38699))})}});case 2:case\"end\":return Xe.stop()}},Be)})),Oo.apply(this,arguments)}function Yo(Be){var qe=Be.history,Je=Be.hydrate;return d()(d()({},Be),{},{hydrate:Je&&![\"/~demos/:id\"].includes(qe.location.pathname)})}var Ao=__webpack_require__(87593),ga={},Wa=function(qe){return xt.createElement(Ao.B6,{context:ga},qe)},ka=__webpack_require__(80134),io=__webpack_require__(12454),Qo=__webpack_require__.n(io),Xo=function(qe){var Je=qe.routes;Object.values(Je).forEach(function(Xe){if(ka.C3[Xe.id]){var yt,ht;if((yt=Xe.meta)!==null&&yt!==void 0&&(ht=yt.frontmatter)!==null&&ht!==void 0&&ht.debug||ka.C3[Xe.id].frontmatter.debug)delete Je[Xe.id];else{var zt;Xe.meta=Qo()(Xe.meta,ka.C3[Xe.id]),Xe.meta.tabs=(zt=Xe.meta.tabs)===null||zt===void 0?void 0:zt.map(function(on){var On={frontmatter:{title:ka.eA[on].title},toc:[],texts:[]};return d()(d()({},ka.eA[on]),{},{meta:ka.C3[on]||On})})}}})},Ro=__webpack_require__(54306),Po=__webpack_require__.n(Ro),uo=__webpack_require__(81229),Dr=__webpack_require__(12216),$n=__webpack_require__(96583),lr=__webpack_require__(8067),jn=__webpack_require__(55267),nr=__webpack_require__(34688),jr=__webpack_require__(75983),In=__webpack_require__(25068),wr=__webpack_require__(72988);function Qr(Be,qe){return Object.keys(Be).reduce(function(Je,Xe){return Je[Xe]=(0,$n.pi)({timeZone:qe},Be[Xe]),Je},{})}function Mo(Be,qe){var Je=Object.keys((0,$n.pi)((0,$n.pi)({},Be),qe));return Je.reduce(function(Xe,yt){return Xe[yt]=(0,$n.pi)((0,$n.pi)({},Be[yt]||{}),qe[yt]||{}),Xe},{})}function Oi(Be,qe){if(!qe)return Be;var Je=jr.C.formats;return(0,$n.pi)((0,$n.pi)((0,$n.pi)({},Je),Be),{date:Mo(Qr(Je.date,qe),Qr(Be.date||{},qe)),time:Mo(Qr(Je.time,qe),Qr(Be.time||{},qe))})}var Jo=function(Be,qe,Je,Xe,yt){var ht=Be.locale,zt=Be.formats,on=Be.messages,On=Be.defaultLocale,dr=Be.defaultFormats,Mn=Be.fallbackOnEmptyString,Br=Be.onError,$r=Be.timeZone,ba=Be.defaultRichTextElements;Je===void 0&&(Je={id:\"\"});var Ra=Je.id,Cr=Je.defaultMessage;(0,nr.kG)(!!Ra,\"[@formatjs/intl] An `id` must be provided to format a message. You can either:\\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\\nto autofix this issue\");var kn=String(Ra),Tn=on&&Object.prototype.hasOwnProperty.call(on,kn)&&on[kn];if(Array.isArray(Tn)&&Tn.length===1&&Tn[0].type===wr.wD.literal)return Tn[0].value;if(!Xe&&Tn&&typeof Tn==\"string\"&&!ba)return Tn.replace(/'\\{(.*?)\\}'/gi,\"{$1}\");if(Xe=(0,$n.pi)((0,$n.pi)({},ba),Xe||{}),zt=Oi(zt,$r),dr=Oi(dr,$r),!Tn){if(Mn===!1&&Tn===\"\")return Tn;if((!Cr||ht&&ht.toLowerCase()!==On.toLowerCase())&&Br(new In.$6(Je,ht)),Cr)try{var Xr=qe.getMessageFormat(Cr,On,dr,yt);return Xr.format(Xe)}catch(sr){return Br(new In.X9('Error formatting default message for: \"'.concat(kn,'\", rendering default message verbatim'),ht,Je,sr)),typeof Cr==\"string\"?Cr:kn}return kn}try{var Xr=qe.getMessageFormat(Tn,ht,zt,(0,$n.pi)({formatters:qe},yt||{}));return Xr.format(Xe)}catch(sr){Br(new In.X9('Error formatting message: \"'.concat(kn,'\", using ').concat(Cr?\"default message\":\"id\",\" as fallback.\"),ht,Je,sr))}if(Cr)try{var Xr=qe.getMessageFormat(Cr,On,dr,yt);return Xr.format(Xe)}catch(sr){Br(new In.X9('Error formatting the default message for: \"'.concat(kn,'\", rendering message verbatim'),ht,Je,sr))}return typeof Tn==\"string\"?Tn:typeof Cr==\"string\"?Cr:kn},qi=[\"style\",\"currency\",\"currencyDisplay\",\"unit\",\"unitDisplay\",\"useGrouping\",\"minimumIntegerDigits\",\"minimumFractionDigits\",\"maximumFractionDigits\",\"minimumSignificantDigits\",\"maximumSignificantDigits\",\"compactDisplay\",\"currencyDisplay\",\"currencySign\",\"notation\",\"signDisplay\",\"unit\",\"unitDisplay\",\"numberingSystem\"];function qo(Be,qe,Je){var Xe=Be.locale,yt=Be.formats,ht=Be.onError;Je===void 0&&(Je={});var zt=Je.format,on=zt&&(0,Dr.TB)(yt,\"number\",zt,ht)||{},On=(0,Dr.L6)(Je,qi,on);return qe(Xe,On)}function Zu(Be,qe,Je,Xe){Xe===void 0&&(Xe={});try{return qo(Be,qe,Xe).format(Je)}catch(yt){Be.onError(new In.Rw(In.bc.FORMAT_ERROR,\"Error formatting number.\",yt))}return String(Je)}function Wu(Be,qe,Je,Xe){Xe===void 0&&(Xe={});try{return qo(Be,qe,Xe).formatToParts(Je)}catch(yt){Be.onError(new In.Rw(In.bc.FORMAT_ERROR,\"Error formatting number.\",yt))}return[]}var ra=__webpack_require__(86126),Ai=[\"numeric\",\"style\"];function _o(Be,qe,Je){var Xe=Be.locale,yt=Be.formats,ht=Be.onError;Je===void 0&&(Je={});var zt=Je.format,on=!!zt&&(0,Dr.TB)(yt,\"relative\",zt,ht)||{},On=(0,Dr.L6)(Je,Ai,on);return qe(Xe,On)}function Ri(Be,qe,Je,Xe,yt){yt===void 0&&(yt={}),Xe||(Xe=\"second\");var ht=Intl.RelativeTimeFormat;ht||Be.onError(new ra.u_(`Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using \"@formatjs/intl-relativetimeformat\"\n`,ra.jK.MISSING_INTL_API));try{return _o(Be,qe,yt).format(Je,Xe)}catch(zt){Be.onError(new In.Qe(\"Error formatting relative time.\",Be.locale,zt))}return String(Je)}var Pi=[\"formatMatcher\",\"timeZone\",\"hour12\",\"weekday\",\"era\",\"year\",\"month\",\"day\",\"hour\",\"minute\",\"second\",\"timeZoneName\",\"hourCycle\",\"dateStyle\",\"timeStyle\",\"calendar\",\"numberingSystem\",\"fractionalSecondDigits\"];function Ga(Be,qe,Je,Xe){var yt=Be.locale,ht=Be.formats,zt=Be.onError,on=Be.timeZone;Xe===void 0&&(Xe={});var On=Xe.format,dr=(0,$n.pi)((0,$n.pi)({},on&&{timeZone:on}),On&&(0,Dr.TB)(ht,qe,On,zt)),Mn=(0,Dr.L6)(Xe,Pi,dr);return qe===\"time\"&&!Mn.hour&&!Mn.minute&&!Mn.second&&!Mn.timeStyle&&!Mn.dateStyle&&(Mn=(0,$n.pi)((0,$n.pi)({},Mn),{hour:\"numeric\",minute:\"numeric\"})),Je(yt,Mn)}function lo(Be,qe){for(var Je=[],Xe=2;Xe<arguments.length;Xe++)Je[Xe-2]=arguments[Xe];var yt=Je[0],ht=Je[1],zt=ht===void 0?{}:ht,on=typeof yt==\"string\"?new Date(yt||0):yt;try{return Ga(Be,\"date\",qe,zt).format(on)}catch(On){Be.onError(new In.Rw(In.bc.FORMAT_ERROR,\"Error formatting date.\",On))}return String(on)}function Mi(Be,qe){for(var Je=[],Xe=2;Xe<arguments.length;Xe++)Je[Xe-2]=arguments[Xe];var yt=Je[0],ht=Je[1],zt=ht===void 0?{}:ht,on=typeof yt==\"string\"?new Date(yt||0):yt;try{return Ga(Be,\"time\",qe,zt).format(on)}catch(On){Be.onError(new In.Rw(In.bc.FORMAT_ERROR,\"Error formatting time.\",On))}return String(on)}function eu(Be,qe){for(var Je=[],Xe=2;Xe<arguments.length;Xe++)Je[Xe-2]=arguments[Xe];var yt=Je[0],ht=Je[1],zt=Je[2],on=zt===void 0?{}:zt,On=Be.timeZone,dr=Be.locale,Mn=Be.onError,Br=(0,Dr.L6)(on,Pi,On?{timeZone:On}:{});try{return qe(dr,Br).formatRange(yt,ht)}catch($r){Mn(new In.Rw(In.bc.FORMAT_ERROR,\"Error formatting date time range.\",$r))}return String(yt)}function ei(Be,qe){for(var Je=[],Xe=2;Xe<arguments.length;Xe++)Je[Xe-2]=arguments[Xe];var yt=Je[0],ht=Je[1],zt=ht===void 0?{}:ht,on=typeof yt==\"string\"?new Date(yt||0):yt;try{return Ga(Be,\"date\",qe,zt).formatToParts(on)}catch(On){Be.onError(new In.Rw(In.bc.FORMAT_ERROR,\"Error formatting date.\",On))}return[]}function tu(Be,qe){for(var Je=[],Xe=2;Xe<arguments.length;Xe++)Je[Xe-2]=arguments[Xe];var yt=Je[0],ht=Je[1],zt=ht===void 0?{}:ht,on=typeof yt==\"string\"?new Date(yt||0):yt;try{return Ga(Be,\"time\",qe,zt).formatToParts(on)}catch(On){Be.onError(new In.Rw(In.bc.FORMAT_ERROR,\"Error formatting time.\",On))}return[]}var nu=[\"type\"];function ru(Be,qe,Je,Xe){var yt=Be.locale,ht=Be.onError;Xe===void 0&&(Xe={}),Intl.PluralRules||ht(new ra.u_(`Intl.PluralRules is not available in this environment.\nTry polyfilling it using \"@formatjs/intl-pluralrules\"\n`,ra.jK.MISSING_INTL_API));var zt=(0,Dr.L6)(Xe,nu);try{return qe(yt,zt).select(Je)}catch(on){ht(new In.Qe(\"Error formatting plural.\",yt,on))}return\"other\"}var au=[\"type\",\"style\"],_i=Date.now();function ou(Be){return\"\".concat(_i,\"_\").concat(Be,\"_\").concat(_i)}function Fa(Be,qe,Je,Xe){Xe===void 0&&(Xe={});var yt=ti(Be,qe,Je,Xe).reduce(function(ht,zt){var on=zt.value;return typeof on!=\"string\"?ht.push(on):typeof ht[ht.length-1]==\"string\"?ht[ht.length-1]+=on:ht.push(on),ht},[]);return yt.length===1?yt[0]:yt.length===0?\"\":yt}function ti(Be,qe,Je,Xe){var yt=Be.locale,ht=Be.onError;Xe===void 0&&(Xe={});var zt=Intl.ListFormat;zt||ht(new ra.u_(`Intl.ListFormat is not available in this environment.\nTry polyfilling it using \"@formatjs/intl-listformat\"\n`,ra.jK.MISSING_INTL_API));var on=(0,Dr.L6)(Xe,au);try{var On={},dr=Je.map(function(Mn,Br){if(typeof Mn==\"object\"){var $r=ou(Br);return On[$r]=Mn,$r}return String(Mn)});return qe(yt,on).formatToParts(dr).map(function(Mn){return Mn.type===\"literal\"?Mn:(0,$n.pi)((0,$n.pi)({},Mn),{value:On[Mn.value]||Mn.value})})}catch(Mn){ht(new In.Rw(In.bc.FORMAT_ERROR,\"Error formatting list.\",Mn))}return Je}var Di=[\"style\",\"type\",\"fallback\",\"languageDisplay\"];function Gu(Be,qe,Je,Xe){var yt=Be.locale,ht=Be.onError,zt=Intl.DisplayNames;zt||ht(new ra.u_(`Intl.DisplayNames is not available in this environment.\nTry polyfilling it using \"@formatjs/intl-displaynames\"\n`,ra.jK.MISSING_INTL_API));var on=(0,Dr.L6)(Xe,Di);try{return qe(yt,on).of(Je)}catch(On){ht(new In.Rw(In.bc.FORMAT_ERROR,\"Error formatting display name.\",On))}}function Vu(Be){var qe=Be?Be[Object.keys(Be)[0]]:void 0;return typeof qe==\"string\"}function Do(Be){Be.onWarn&&Be.defaultRichTextElements&&Vu(Be.messages||{})&&Be.onWarn(`[@formatjs/intl] \"defaultRichTextElements\" was specified but \"message\" was not pre-compiled. \nPlease consider using \"@formatjs/cli\" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution`)}function Yu(Be,qe){var Je=(0,Dr.ax)(qe),Xe=(0,$n.pi)((0,$n.pi)({},Dr.Z0),Be),yt=Xe.locale,ht=Xe.defaultLocale,zt=Xe.onError;return yt?!Intl.NumberFormat.supportedLocalesOf(yt).length&&zt?zt(new In.gb('Missing locale data for locale: \"'.concat(yt,'\" in Intl.NumberFormat. Using default locale: \"').concat(ht,'\" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(yt).length&&zt&&zt(new In.gb('Missing locale data for locale: \"'.concat(yt,'\" in Intl.DateTimeFormat. Using default locale: \"').concat(ht,'\" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(zt&&zt(new In.OV('\"locale\" was not configured, using \"'.concat(ht,'\" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),Xe.locale=Xe.defaultLocale||\"en\"),Do(Xe),(0,$n.pi)((0,$n.pi)({},Xe),{formatters:Je,formatNumber:Zu.bind(null,Xe,Je.getNumberFormat),formatNumberToParts:Wu.bind(null,Xe,Je.getNumberFormat),formatRelativeTime:Ri.bind(null,Xe,Je.getRelativeTimeFormat),formatDate:lo.bind(null,Xe,Je.getDateTimeFormat),formatDateToParts:ei.bind(null,Xe,Je.getDateTimeFormat),formatTime:Mi.bind(null,Xe,Je.getDateTimeFormat),formatDateTimeRange:eu.bind(null,Xe,Je.getDateTimeFormat),formatTimeToParts:tu.bind(null,Xe,Je.getDateTimeFormat),formatPlural:ru.bind(null,Xe,Je.getPluralRules),formatMessage:Jo.bind(null,Xe,Je),$t:Jo.bind(null,Xe,Je),formatList:Fa.bind(null,Xe,Je.getListFormat),formatListToParts:ti.bind(null,Xe,Je.getListFormat),formatDisplayName:Gu.bind(null,Xe,Je.getDisplayNames)})}var iu=__webpack_require__(2443);function ni(Be){return{locale:Be.locale,timeZone:Be.timeZone,fallbackOnEmptyString:Be.fallbackOnEmptyString,formats:Be.formats,textComponent:Be.textComponent,messages:Be.messages,defaultLocale:Be.defaultLocale,defaultFormats:Be.defaultFormats,onError:Be.onError,onWarn:Be.onWarn,wrapRichTextChunksInFragment:Be.wrapRichTextChunksInFragment,defaultRichTextElements:Be.defaultRichTextElements}}function rr(Be){return Be&&Object.keys(Be).reduce(function(qe,Je){var Xe=Be[Je];return qe[Je]=(0,iu.Gt)(Xe)?(0,jn.dt)(Xe):Xe,qe},{})}var ri=function(Be,qe,Je,Xe){for(var yt=[],ht=4;ht<arguments.length;ht++)yt[ht-4]=arguments[ht];var zt=rr(Xe),on=Jo.apply(void 0,(0,$n.ev)([Be,qe,Je,zt],yt,!1));return Array.isArray(on)?xt.Children.toArray(on):on},so=function(Be,qe){var Je=Be.defaultRichTextElements,Xe=(0,$n._T)(Be,[\"defaultRichTextElements\"]),yt=rr(Je),ht=Yu((0,$n.pi)((0,$n.pi)((0,$n.pi)({},jn.Z0),Xe),{defaultRichTextElements:yt}),qe),zt={locale:ht.locale,timeZone:ht.timeZone,fallbackOnEmptyString:ht.fallbackOnEmptyString,formats:ht.formats,defaultLocale:ht.defaultLocale,defaultFormats:ht.defaultFormats,messages:ht.messages,onError:ht.onError,defaultRichTextElements:yt};return(0,$n.pi)((0,$n.pi)({},ht),{formatMessage:ri.bind(null,zt,ht.formatters),$t:ri.bind(null,zt,ht.formatters)})},ai=function(Be){(0,$n.ZT)(qe,Be);function qe(){var Je=Be!==null&&Be.apply(this,arguments)||this;return Je.cache=(0,Dr.Sn)(),Je.state={cache:Je.cache,intl:so(ni(Je.props),Je.cache),prevConfig:ni(Je.props)},Je}return qe.getDerivedStateFromProps=function(Je,Xe){var yt=Xe.prevConfig,ht=Xe.cache,zt=ni(Je);return(0,jn.wU)(yt,zt)?null:{intl:so(zt,ht),prevConfig:zt}},qe.prototype.render=function(){return(0,jn.lq)(this.state.intl),xt.createElement(lr.zt,{value:this.state.intl},this.props.children)},qe.displayName=\"IntlProvider\",qe.defaultProps=jn.Z0,qe}(xt.PureComponent),Qu=null,Ni=__webpack_require__(75586),Va=__webpack_require__(24982),oi=__webpack_require__(11527),co=(0,Dr.Sn)(),uu=function(qe){var Je=(0,xt.useCallback)(function(){var on=Va.k.slice().reverse().find(function(dr){return\"suffix\"in dr?uo.m8.location.pathname.replace(/([^/])\\/$/,\"$1\").endsWith(dr.suffix):uo.m8.location.pathname.replace(/([^/])\\/$/,\"$1\").startsWith(dr.base)}),On=on?on.id:Va.k[0].id;return so({locale:On,messages:Va.s[On]||{}},co)},[]),Xe=(0,xt.useState)(function(){return Je()}),yt=Po()(Xe,2),ht=yt[0],zt=yt[1];return(0,Ni.LI)(function(){return uo.m8.listen(function(){zt(Je())})},[]),(0,oi.jsx)(lr.zt,{value:ht,children:qe.children},ht.locale)};function Xu(Be){return xt.createElement(uu,null,Be)}function Ju(Be){var qe=Be.history,Je=Be.hydrate;return d()(d()({},Be),{},{hydrate:Je&&!qe.location.pathname.startsWith(\"/~demos\")})}var fo=__webpack_require__(55187);function Li(Be){return Be.default?typeof Be.default==\"function\"?Be.default():Be.default:Be}function ii(){return[{apply:c,path:void 0},{apply:m,path:void 0},{apply:e,path:void 0},{apply:a,path:void 0},{apply:o,path:void 0}]}function ki(){return[\"patchRoutes\",\"patchClientRoutes\",\"modifyContextOpts\",\"modifyClientRenderOpts\",\"rootContainer\",\"innerProvider\",\"i18nProvider\",\"accessProvider\",\"dataflowProvider\",\"outerProvider\",\"render\",\"onRouteChange\"]}var No=null;function Fi(){return No=fo.Q$.create({plugins:ii(),validKeys:ki()}),No}function lu(){return No}var qu=__webpack_require__(40966),su=\"/\",el=!1;function tl(){return Lo.apply(this,arguments)}function Lo(){return Lo=v()(u()().mark(function Be(){var qe,Je,Xe,yt,ht,zt,on,On;return u()().wrap(function(Mn){for(;;)switch(Mn.prev=Mn.next){case 0:return qe=Fi(),Mn.next=3,Ci(qe);case 3:return Je=Mn.sent,Xe=Je.routes,yt=Je.routeComponents,Mn.next=8,qe.applyPlugins({key:\"patchRoutes\",type:fo.Ac.event,args:{routes:Xe,routeComponents:yt}});case 8:return ht=qe.applyPlugins({key:\"modifyContextOpts\",type:fo.Ac.modify,initialValue:{}}),zt=ht.basename||\"/\",on=ht.historyType||\"browser\",On=(0,qu.f)(d()({type:on,basename:zt},ht.historyOpts)),Mn.abrupt(\"return\",qe.applyPlugins({key:\"render\",type:fo.Ac.compose,initialValue:function(){var $r={routes:Xe,routeComponents:yt,pluginManager:qe,rootElement:ht.rootElement||document.getElementById(\"root\"),publicPath:su,runtimePublicPath:el,history:On,historyType:on,basename:zt,callback:ht.callback},ba=qe.applyPlugins({key:\"modifyClientRenderOpts\",type:fo.Ac.modify,initialValue:$r});return Co(ba)}})());case 13:case\"end\":return Mn.stop()}},Be)})),Lo.apply(this,arguments)}typeof history!=\"undefined\"&&location.pathname.length>1&&location.pathname.endsWith(\"/\")&&history.replaceState({},\"\",location.pathname.slice(0,-1)+location.search+location.hash),function(){var Be=typeof navigator!=\"undefined\"&&navigator.cookieEnabled&&typeof window.localStorage!=\"undefined\"&&localStorage.getItem(\"dumi:prefers-color\")||\"light\",qe=window.matchMedia(\"(prefers-color-scheme: dark)\").matches,Je=[\"light\",\"dark\",\"auto\"];document.documentElement.setAttribute(\"data-prefers-color\",Be===Je[2]?qe?Je[1]:Je[0]:Je.indexOf(Be)>-1?Be:Je[0])}(),tl(),window.g_umi={version:\"4.0.63\"}})()})();\n"
  },
  {
    "path": "docs-dist/zh-CN/config/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docs-dist/zh-CN/demo/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docs-dist/zh-CN/guide/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docs-dist/zh-CN/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docs-dist/~demos/:id/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docs-dist/~demos/docs-demo-demo-erd/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "docs-dist/~demos/docs-demo-type-erd/index.html",
    "content": "<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>web-pdm</title>\n<link rel=\"stylesheet\" href=\"/umi.5a19b5a0.css\">\n</head>\n<body>\n<div id=\"root\"></div>\n<script src=\"/umi.ec46dd8b.js\"></script>\n\n</body></html>"
  },
  {
    "path": "mock/model-test.ts",
    "content": "export default [\n  {\n    name: 'bd_Quota_Apply',\n    originalKey: 'bd_Quota_Apply',\n    label: '额度申请',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '流水号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ApplyUserId',\n        originalKey: 'ApplyUserId',\n        label: '申请人',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'AcceptBank',\n        originalKey: 'AcceptBank',\n        label: '承兑行',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Amount',\n        originalKey: 'Amount',\n        label: '金额',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Price',\n        originalKey: 'Price',\n        label: '报价',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'PriceType',\n        originalKey: 'PriceType',\n        label: '报价类别',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'BankType',\n        originalKey: 'BankType',\n        label: '承兑行类别',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'Acceptkind',\n        originalKey: 'Acceptkind',\n        label: '承兑方式',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'Remark',\n        originalKey: 'Remark',\n        label: '备注',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '申请时间',\n      },\n      {\n        type: 'int',\n        name: 'Status',\n        originalKey: 'Status',\n        label: '状态',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ApproveUserId',\n        originalKey: 'ApproveUserId',\n        label: '审批人',\n      },\n    ],\n  },\n  {\n    name: 'bd_PayInfo',\n    originalKey: 'bd_PayInfo',\n    label: '打款信息',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'bd_Pay_Apply',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '流水号',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'TotalAmount',\n        originalKey: 'TotalAmount',\n        label: '总金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'InvoiceBank',\n        originalKey: 'InvoiceBank',\n        label: '开票行',\n      },\n      {\n        type: 'datetime',\n        name: 'ExpireDate',\n        originalKey: 'ExpireDate',\n        label: '到期日',\n      },\n      {\n        type: 'int',\n        name: 'DiscountDays',\n        originalKey: 'DiscountDays',\n        label: '贴现天数',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'DiscountInterest',\n        originalKey: 'DiscountInterest',\n        label: '贴现利息',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'PriceRate',\n        originalKey: 'PriceRate',\n        label: '报价利率',\n      },\n      {\n        type: 'int',\n        name: 'PriceType',\n        originalKey: 'PriceType',\n        label: '报价类别',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'PayRate',\n        originalKey: 'PayRate',\n        label: '打款利率',\n      },\n      {\n        type: 'int',\n        name: 'PayType',\n        originalKey: 'PayType',\n        label: '打款类别',\n      },\n      {\n        type: 'int',\n        name: 'PaperCount',\n        originalKey: 'PaperCount',\n        label: '张数',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Commissions',\n        originalKey: 'Commissions',\n        label: '手续费',\n      },\n      {\n        type: 'int',\n        name: 'CommissionsType',\n        originalKey: 'CommissionsType',\n        label: '手续费类别',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'PayAmount',\n        originalKey: 'PayAmount',\n        label: '划款金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'Payee',\n        originalKey: 'Payee',\n        label: '收款单位',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'PayeeAccount',\n        originalKey: 'PayeeAccount',\n        label: '收款单位账号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'OpeningBankName',\n        originalKey: 'OpeningBankName',\n        label: '开户行',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'OpeningBankNumber',\n        originalKey: 'OpeningBankNumber',\n        label: '开户行行号',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'Remark',\n        originalKey: 'Remark',\n        label: '备注',\n      },\n      {\n        type: 'ntext',\n        name: 'DraftImage',\n        originalKey: 'DraftImage',\n        label: '票面图片',\n      },\n      {\n        name: '申请人',\n        originalKey: '申请人',\n        label: '申请人',\n      },\n      {\n        type: 'ntext ',\n        name: 'DEFAULTVAL',\n        originalKey: 'DEFAULTVAL',\n        label: '默认值',\n      },\n    ],\n  },\n  {\n    name: 'bd_Draft_Element',\n    originalKey: 'bd_Draft_Element',\n    label: '票面要素',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '流水号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'PayApplyId',\n        typeMeta: {\n          relationModel: 'bd_Pay_Apply',\n          type: 'Relation',\n        },\n        label: '划款申请Id',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'Drawer',\n        originalKey: 'Drawer',\n        label: '出票人全称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'Payee',\n        originalKey: 'Payee',\n        label: '收款人全称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'PayBank',\n        originalKey: 'PayBank',\n        label: '付款行全称',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Amount',\n        originalKey: 'Amount',\n        label: '金额',\n      },\n      {\n        type: 'datetime',\n        name: 'DraftDate',\n        originalKey: 'DraftDate',\n        label: '出票日期',\n      },\n      {\n        type: 'datetime',\n        name: 'DraftExpireDate',\n        originalKey: 'DraftExpireDate',\n        label: '汇票到期日',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'PayBankNumber',\n        originalKey: 'PayBankNumber',\n        label: '付款行行号',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'DraftNumber',\n        originalKey: 'DraftNumber',\n        label: '票号',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'Remark',\n        originalKey: 'Remark',\n        label: '备注',\n      },\n    ],\n  },\n  {\n    name: 'db_Draft_Number',\n    originalKey: 'db_Draft_Number',\n    label: '票号',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '流水号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'DraftId',\n        typeMeta: {\n          relationModel: 'bd_Draft_Element',\n          type: 'Relation',\n        },\n        label: '票面Id',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'DraftNumber',\n        originalKey: 'DraftNumber',\n        label: '票号',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Amount',\n        originalKey: 'Amount',\n        label: '金额',\n      },\n    ],\n  },\n  {\n    name: 'bd_Pay_Other',\n    originalKey: 'bd_Pay_Other',\n    label: '其他信息',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'bd_Pay_Apply',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '流水号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'Account',\n        originalKey: 'Account',\n        label: '账号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'Payee',\n        originalKey: 'Payee',\n        label: '收款方',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'OpeningBankName',\n        originalKey: 'OpeningBankName',\n        label: '开户行',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Amount',\n        originalKey: 'Amount',\n        label: '金额',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'Remark',\n        originalKey: 'Remark',\n        label: '备注',\n      },\n    ],\n  },\n  {\n    name: 'bd_Pay_Apply',\n    originalKey: 'bd_Pay_Apply',\n    label: '划款申请',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'bd_Quota_Apply',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '流水号',\n      },\n      {\n        type: 'int',\n        name: 'ApproveStatus',\n        originalKey: 'ApproveStatus',\n        label: '审批状态',\n      },\n      {\n        type: 'int',\n        name: 'ReviewStatus',\n        originalKey: 'ReviewStatus',\n        label: '复核状态',\n      },\n      {\n        type: 'int',\n        name: 'PayStatus',\n        originalKey: 'PayStatus',\n        label: '打款状态',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ApproveUserId',\n        originalKey: 'ApproveUserId',\n        label: '审批人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'PayUserId',\n        originalKey: 'PayUserId',\n        label: '打款人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ReviewUserId',\n        originalKey: 'ReviewUserId',\n        label: '复核人',\n      },\n      {\n        type: 'nvarchar',\n        name: '申请人',\n        originalKey: '申请人',\n        label: '申请人',\n      },\n    ],\n  },\n  {\n    name: 'bd_Quota_Day',\n    originalKey: 'bd_Quota_Day',\n    label: '每日额度',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'TotalQuota',\n        originalKey: 'TotalQuota',\n        label: '总额度',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'RestQuota',\n        originalKey: 'RestQuota',\n        label: '剩余额度',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'LockQuota',\n        originalKey: 'LockQuota',\n        label: '锁定额度',\n      },\n      {\n        type: 'datetime',\n        name: 'QuotaDate',\n        originalKey: 'QuotaDate',\n        label: '额度日期',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'PayQuota',\n        originalKey: 'PayQuota',\n        label: '打款额度',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'UnPayQuota',\n        originalKey: 'UnPayQuota',\n        label: '未打款额度',\n      },\n    ],\n  },\n  {\n    name: 'bd_User',\n    originalKey: 'bd_User',\n    label: '用户信息',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'WechatAccount',\n        originalKey: 'WechatAccount',\n        label: '微信账号',\n      },\n    ],\n  },\n  {\n    name: 'bd_Message',\n    originalKey: 'bd_Message',\n    label: '系统消息',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Content',\n        originalKey: 'Content',\n        label: '内容',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'Type',\n        originalKey: 'Type',\n        label: '类别',\n      },\n      {\n        type: 'datetime',\n        name: 'SendTime',\n        originalKey: 'SendTime',\n        label: '发送时间',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'ntext',\n        name: 'SendeeList\\r\\nSendeeList',\n        originalKey: 'SendeeList\\r\\nSendeeList',\n        label: '接收人',\n      },\n    ],\n  },\n  {\n    name: 'bd_User_Message',\n    originalKey: 'bd_User_Message',\n    label: '用户消息',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'MessageId',\n        typeMeta: {\n          relationModel: 'bd_Message',\n          type: 'Relation',\n        },\n        label: '消息Id',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ReceiveUserId',\n        originalKey: 'ReceiveUserId',\n        label: '接收人',\n      },\n      {\n        type: 'int',\n        name: 'Status',\n        originalKey: 'Status',\n        label: '状态',\n      },\n    ],\n  },\n  {\n    name: 'bd_Operation_Log',\n    originalKey: 'bd_Operation_Log',\n    label: '操作日志',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'ModuleName',\n        originalKey: 'ModuleName',\n        label: '模块名',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'OpreationName',\n        originalKey: 'OpreationName',\n        label: '操作名',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'Remark',\n        originalKey: 'Remark',\n        label: '描述',\n      },\n    ],\n  },\n  {\n    name: 'erp_WarehouseCat',\n    originalKey: 'erp_WarehouseCat',\n    label: '仓库类别表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ewc_Code',\n        originalKey: 'ewc_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ewc_Name',\n        originalKey: 'ewc_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ParentId',\n        originalKey: 'ParentId',\n        label: '上级分类',\n      },\n      {\n        type: 'bit',\n        name: 'IsParent',\n        originalKey: 'IsParent',\n        label: '是否父节点',\n      },\n      {\n        type: 'bit',\n        name: 'IsLeaf',\n        originalKey: 'IsLeaf',\n        label: '是否叶节点',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Arrange',\n        originalKey: 'Arrange',\n        label: '树状支持符号',\n      },\n      {\n        type: 'int',\n        name: 'TreeOrder',\n        originalKey: 'TreeOrder',\n        label: '排序',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'ewc_Remark',\n        originalKey: 'ewc_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_WarehouseInfo',\n    originalKey: 'erp_WarehouseInfo',\n    label: '仓库信息表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ew_Code',\n        originalKey: 'ew_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ew_Name',\n        originalKey: 'ew_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ew_SimpleName',\n        originalKey: 'ew_SimpleName',\n        label: '简称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ew_WhmanID',\n        originalKey: 'ew_WhmanID',\n        label: '默认仓管员',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ew_Addr',\n        originalKey: 'ew_Addr',\n        label: '仓库地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'ew_Cat',\n        typeMeta: {\n          relationModel: 'erp_WarehouseCat',\n          type: 'Relation',\n        },\n        label: '所属分类',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'ew_QtyMax',\n        originalKey: 'ew_QtyMax',\n        label: '最高库存量',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'ew_QtyMin',\n        originalKey: 'ew_QtyMin',\n        label: '最低库存量',\n      },\n      {\n        type: 'navarchar(500)',\n        name: 'ew_Remark',\n        originalKey: 'ew_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_GoodsCat',\n    originalKey: 'erp_GoodsCat',\n    label: '商品类别表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'egc_Code',\n        originalKey: 'egc_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'egc_Name',\n        originalKey: 'egc_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ParentId',\n        originalKey: 'ParentId',\n        label: '上级分类',\n      },\n      {\n        type: 'bit',\n        name: 'IsParent',\n        originalKey: 'IsParent',\n        label: '是否父节点',\n      },\n      {\n        type: 'bit',\n        name: 'IsLeaf',\n        originalKey: 'IsLeaf',\n        label: '是否叶节点',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Arrange',\n        originalKey: 'Arrange',\n        label: '树状支持符号',\n      },\n      {\n        type: 'int',\n        name: 'TreeOrder',\n        originalKey: 'TreeOrder',\n        label: '排序',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'egc_Remark',\n        originalKey: 'egc_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_Goods',\n    originalKey: 'erp_Goods',\n    label: '商品信息表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_Code',\n        originalKey: 'eg_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_Name',\n        originalKey: 'eg_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_SimpleName',\n        originalKey: 'eg_SimpleName',\n        label: '简称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_EnglishName',\n        originalKey: 'eg_EnglishName',\n        label: '外文名称',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'eg_Specifications',\n        originalKey: 'eg_Specifications',\n        label: '规格',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_Brand',\n        originalKey: 'eg_Brand',\n        label: '品牌',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_Unit',\n        originalKey: 'eg_Unit',\n        label: '单位',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_BarCode',\n        originalKey: 'eg_BarCode',\n        label: '条形码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'eg_Cat',\n        typeMeta: {\n          relationModel: 'erp_GoodsCat',\n          type: 'Relation',\n        },\n        label: '所属类别',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_Warehouse',\n        originalKey: 'eg_Warehouse',\n        label: '所属仓库',\n      },\n      {\n        type: 'int',\n        name: 'eg_Status',\n        originalKey: 'eg_Status',\n        label: '状态',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'eg_Remark',\n        originalKey: 'eg_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_GoodsPrice',\n    originalKey: 'erp_GoodsPrice',\n    label: '商品价格表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'egp_GoodsId',\n        typeMeta: {\n          relationModel: 'erp_Goods',\n          type: 'Relation',\n        },\n        label: '商品',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'egp_Code',\n        originalKey: 'egp_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'egp_Name',\n        originalKey: 'egp_Name',\n        label: '名称',\n      },\n      {\n        type: 'datetime',\n        name: 'egp_BeginTime',\n        originalKey: 'egp_BeginTime',\n        label: '起始时间段',\n      },\n      {\n        type: 'datetime',\n        name: 'egp_EndTime',\n        originalKey: 'egp_EndTime',\n        label: '结束时间段',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'egp_Price',\n        originalKey: 'egp_Price',\n        label: '单价',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'egp_Discount',\n        originalKey: 'egp_Discount',\n        label: '折扣率',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'egp_FavorablePrice',\n        originalKey: 'egp_FavorablePrice',\n        label: '优惠后价格',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'egp_Remark',\n        originalKey: 'egp_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_CustomerCat',\n    originalKey: 'erp_CustomerCat',\n    label: '客户类别表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ecc_Code',\n        originalKey: 'ecc_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ecc_Name',\n        originalKey: 'ecc_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ParentId',\n        originalKey: 'ParentId',\n        label: '上级分类',\n      },\n      {\n        type: 'bit',\n        name: 'IsParent',\n        originalKey: 'IsParent',\n        label: '是否父节点',\n      },\n      {\n        type: 'bit',\n        name: 'IsLeaf',\n        originalKey: 'IsLeaf',\n        label: '是否叶节点',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Arrange',\n        originalKey: 'Arrange',\n        label: '树状支持符号',\n      },\n      {\n        type: 'int',\n        name: 'TreeOrder',\n        originalKey: 'TreeOrder',\n        label: '排序',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'ecc_Remark',\n        originalKey: 'ecc_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_SupplierCat',\n    originalKey: 'erp_SupplierCat',\n    label: '供应商类别表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'esc_Code',\n        originalKey: 'esc_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'esc_Name',\n        originalKey: 'esc_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ParentId',\n        originalKey: 'ParentId',\n        label: '上级分类',\n      },\n      {\n        type: 'bit',\n        name: 'IsParent',\n        originalKey: 'IsParent',\n        label: '是否父节点',\n      },\n      {\n        type: 'bit',\n        name: 'IsLeaf',\n        originalKey: 'IsLeaf',\n        label: '是否叶节点',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Arrange',\n        originalKey: 'Arrange',\n        label: '树状支持符号',\n      },\n      {\n        type: 'int',\n        name: 'TreeOrder',\n        originalKey: 'TreeOrder',\n        label: '排序',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'esc_Remark',\n        originalKey: 'esc_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_CustomerInfo',\n    originalKey: 'erp_CustomerInfo',\n    label: '客户信息表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Code',\n        originalKey: 'ec_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Name',\n        originalKey: 'ec_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_SimpleName',\n        originalKey: 'ec_SimpleName',\n        label: '简称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_EnglishName',\n        originalKey: 'ec_EnglishName',\n        label: '外文名字',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'ec_Cat',\n        typeMeta: {\n          relationModel: 'erp_CustomerCat',\n          type: 'Relation',\n        },\n        label: '所属类别',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_LegalPerson',\n        originalKey: 'ec_LegalPerson',\n        label: '法人代表',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Linkman',\n        originalKey: 'ec_Linkman',\n        label: '联系人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Tel',\n        originalKey: 'ec_Tel',\n        label: '联系电话',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Email',\n        originalKey: 'ec_Email',\n        label: '电子邮箱',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Area',\n        originalKey: 'ec_Area',\n        label: '所属地区',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_PostalCode',\n        originalKey: 'ec_PostalCode',\n        label: '邮编',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'ec_Addr',\n        originalKey: 'ec_Addr',\n        label: '地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Salesman',\n        originalKey: 'ec_Salesman',\n        label: '业务员',\n      },\n      {\n        type: 'int',\n        name: 'ec_Status',\n        originalKey: 'ec_Status',\n        label: '状态',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'ec_Remark',\n        originalKey: 'ec_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_SupplierInfo',\n    originalKey: 'erp_SupplierInfo',\n    label: '供应商信息表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'es_Cat',\n        typeMeta: {\n          relationModel: 'erp_SupplierCat',\n          type: 'Relation',\n        },\n        label: '所属类别',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Code',\n        originalKey: 'es_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Name',\n        originalKey: 'es_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_SimpleName',\n        originalKey: 'es_SimpleName',\n        label: '简称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_EnglishName',\n        originalKey: 'es_EnglishName',\n        label: '外文名字',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_LegalPerson',\n        originalKey: 'es_LegalPerson',\n        label: '法人代表',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Tel',\n        originalKey: 'es_Tel',\n        label: '联系电话',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Eamil',\n        originalKey: 'es_Eamil',\n        label: '电子邮箱',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Addr',\n        originalKey: 'es_Addr',\n        label: '地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Salesman',\n        originalKey: 'es_Salesman',\n        label: '业务员',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_BizRegisterNo',\n        originalKey: 'es_BizRegisterNo',\n        label: '工商注册号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_BusiLicence',\n        originalKey: 'es_BusiLicence',\n        label: '营业执照',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_TaxRegisterNo',\n        originalKey: 'es_TaxRegisterNo',\n        label: '税务登记号',\n      },\n      {\n        type: 'int',\n        name: 'es_Status',\n        originalKey: 'es_Status',\n        label: '状态',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'es_Remark',\n        originalKey: 'es_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_DepartmentInfo',\n    originalKey: 'erp_DepartmentInfo',\n    label: '部门信息表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ed_Code',\n        originalKey: 'ed_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ed_Name',\n        originalKey: 'ed_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ParentId',\n        originalKey: 'ParentId',\n        label: '上级分类',\n      },\n      {\n        type: 'bit',\n        name: 'IsParent',\n        originalKey: 'IsParent',\n        label: '是否父节点',\n      },\n      {\n        type: 'bit',\n        name: 'IsLeaf',\n        originalKey: 'IsLeaf',\n        label: '是否叶节点',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Arrange',\n        originalKey: 'Arrange',\n        label: '树状支持符号',\n      },\n      {\n        type: 'int',\n        name: 'TreeOrder',\n        originalKey: 'TreeOrder',\n        label: '排序',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'ed_Remark',\n        originalKey: 'ed_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_UserInfo',\n    originalKey: 'erp_UserInfo',\n    label: '员工信息表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_Code',\n        originalKey: 'eu_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_Name',\n        originalKey: 'eu_Name',\n        label: '名字',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_EnglishName',\n        originalKey: 'eu_EnglishName',\n        label: '外文名字',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_BirthDate',\n        originalKey: 'eu_BirthDate',\n        label: '出生年月',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_EntryDate',\n        originalKey: 'eu_EntryDate',\n        label: '入职时间',\n      },\n      {\n        type: 'int',\n        name: 'eu_Cultural',\n        originalKey: 'eu_Cultural',\n        label: '文化水平',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_IDCard',\n        originalKey: 'eu_IDCard',\n        label: '身份证号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_Tel',\n        originalKey: 'eu_Tel',\n        label: '电话',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_Position',\n        originalKey: 'eu_Position',\n        label: '职位',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'eu_Department',\n        typeMeta: {\n          relationModel: 'erp_DepartmentInfo',\n          type: 'Relation',\n        },\n        label: '所属部门',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'eu_Remark',\n        originalKey: 'eu_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_BaseOperatorLog',\n    originalKey: 'erp_BaseOperatorLog',\n    label: '基础信息操作日志',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ebol_Operator',\n        originalKey: 'ebol_Operator',\n        label: '操作人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ebol_TableName',\n        originalKey: 'ebol_TableName',\n        label: '表名',\n      },\n      {\n        type: 'int',\n        name: 'ebol_OperationType',\n        originalKey: 'ebol_OperationType',\n        label: '操作类型',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'ebol_Content',\n        originalKey: 'ebol_Content',\n        label: '操作内容',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_ContactInfo',\n    originalKey: 'erp_ContactInfo',\n    label: '联系人',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'ec_ForeignKey',\n        typeMeta: {\n          relationModel: 'erp_CustomerInfo',\n          type: 'Relation',\n        },\n        label: '外键',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_ContactName',\n        originalKey: 'ec_ContactName',\n        label: '联系人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Post',\n        originalKey: 'ec_Post',\n        label: '职务',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Phone',\n        originalKey: 'ec_Phone',\n        label: '电话',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_TelPhone',\n        originalKey: 'ec_TelPhone',\n        label: '手机',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Fax',\n        originalKey: 'ec_Fax',\n        label: '传真',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Email',\n        originalKey: 'ec_Email',\n        label: '邮箱',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Postalcode',\n        originalKey: 'ec_Postalcode',\n        label: '邮政编码',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'ec_Addr',\n        originalKey: 'ec_Addr',\n        label: '地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_BankAccount',\n    originalKey: 'erp_BankAccount',\n    label: '银行账号',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'eba_ForeignKey',\n        typeMeta: {\n          relationModel: 'erp_CustomerInfo',\n          type: 'Relation',\n        },\n        label: '外键',\n      },\n      {\n        type: 'int',\n        name: 'eba_Type',\n        originalKey: 'eba_Type',\n        label: '账户类型',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eba_Bank',\n        originalKey: 'eba_Bank',\n        label: '开户银行',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eba_Number',\n        originalKey: 'eba_Number',\n        label: '账号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eba_Currency',\n        originalKey: 'eba_Currency',\n        label: '币种',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eba_Property',\n        originalKey: 'eba_Property',\n        label: '账户用途',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'eba_Addr',\n        originalKey: 'eba_Addr',\n        label: '银行地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n    ],\n  },\n  {\n    name: 'T9_Customer',\n    originalKey: 'T9_Customer',\n    label: '客户信息',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'T9_Repair_flow',\n          type: 'Relation',\n        },\n        label: '编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_CarNum',\n        originalKey: 'T9C_CarNum',\n        label: '车辆编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Name',\n        originalKey: 'T9C_Name',\n        label: '姓名',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'T9C_Number',\n        originalKey: 'T9C_Number',\n        label: '联系方式',\n      },\n      {\n        type: 'datetime',\n        name: 'T9C_DateOfBirth',\n        originalKey: 'T9C_DateOfBirth',\n        label: '出生日期',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9C_Address',\n        originalKey: 'T9C_Address',\n        label: '地址',\n      },\n      {\n        type: 'int',\n        name: 'T9C_Sex',\n        originalKey: 'T9C_Sex',\n        label: '性别',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_LinkMan',\n        originalKey: 'T9C_LinkMan',\n        label: '联系人',\n      },\n    ],\n  },\n  {\n    name: 'T9_Repair_flow',\n    originalKey: 'T9_Repair_flow',\n    label: '维修表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9R_RepairId',\n        typeMeta: {\n          relationModel: 'T9_NewRepairParts',\n          type: 'Relation',\n        },\n        label: '派单编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_CustomerId',\n        originalKey: 'T9R_CustomerId',\n        label: '车主',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9R_CarId',\n        typeMeta: {\n          relationModel: 'T9_Car',\n          type: 'Relation',\n        },\n        label: '汽车编号',\n      },\n      {\n        type: 'int',\n        name: 'T9R_Satisfaction',\n        originalKey: 'T9R_Satisfaction',\n        label: '满意度',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_Taxfee',\n        originalKey: 'T9R_Taxfee',\n        label: '税费',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_PickMan',\n        originalKey: 'T9R_PickMan',\n        label: '接车人',\n      },\n      {\n        type: 'int',\n        name: 'T9R_RepairType',\n        originalKey: 'T9R_RepairType',\n        label: '维修类型',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9R_PartNote',\n        originalKey: 'T9R_PartNote',\n        label: '配件备注',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9R_WorkHoursNote',\n        originalKey: 'T9R_WorkHoursNote',\n        label: '工时备注',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9R_SettlementNote',\n        originalKey: 'T9R_SettlementNote',\n        label: '结算备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_ContractNum',\n        originalKey: 'T9R_ContractNum',\n        label: '维修合同号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_WorkOrderNum',\n        originalKey: 'T9R_WorkOrderNum',\n        label: '工单号码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_HandNumber',\n        originalKey: 'T9R_HandNumber',\n        label: '交接单号',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_Withholding',\n        originalKey: 'T9R_Withholding',\n        label: '代收代缴',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_Total',\n        originalKey: 'T9R_Total',\n        label: '总计（元）',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Reckoner',\n        originalKey: 'T9R_Reckoner',\n        label: '结算人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_AccountNum',\n        originalKey: 'T9R_AccountNum',\n        label: '账号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_DutyParagraph',\n        originalKey: 'T9R_DutyParagraph',\n        label: '税号',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_OutfactoryTime',\n        originalKey: 'T9R_OutfactoryTime',\n        label: '出厂时间',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_IntofactoryTime',\n        originalKey: 'T9R_IntofactoryTime',\n        label: '进厂时间',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_SettementDate',\n        originalKey: 'T9R_SettementDate',\n        label: '结算日期',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_HandDate',\n        originalKey: 'T9R_HandDate',\n        label: '交接日期',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_PreHandDate',\n        originalKey: 'T9R_PreHandDate',\n        label: '预计交付日期',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_PreMaterial',\n        originalKey: 'T9R_PreMaterial',\n        label: '预计材料费（含管理费）',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_PreLabor',\n        originalKey: 'T9R_PreLabor',\n        label: '预计工时费',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_PreRepairSum',\n        originalKey: 'T9R_PreRepairSum',\n        label: '预计修理费总和',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_AddMater',\n        originalKey: 'T9R_AddMater',\n        label: '需增材料费',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_AddLabor',\n        originalKey: 'T9R_AddLabor',\n        label: '需增工时费',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_AddRepairSum',\n        originalKey: 'T9R_AddRepairSum',\n        label: '需增修理费总计',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_DateAlter',\n        originalKey: 'T9R_DateAlter',\n        label: '交付日期修订',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Detection',\n        originalKey: 'T9R_Detection',\n        label: '委托修理项目检验',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'T9R_Opinion',\n        originalKey: 'T9R_Opinion',\n        label: '提示和建议',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_PartPercen',\n        originalKey: 'T9R_PartPercen',\n        label: '材料百分比',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_ChassisID',\n        originalKey: 'T9R_ChassisID',\n        label: '车架号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_ReceiveID',\n        originalKey: 'T9R_ReceiveID',\n        label: '接待者id',\n      },\n    ],\n  },\n  {\n    name: 'T9eng_WorkHours',\n    originalKey: 'T9eng_WorkHours',\n    label: '工时表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9W_RepairId',\n        originalKey: 'T9W_RepairId',\n        label: '派单号',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9W_Content',\n        originalKey: 'T9W_Content',\n        label: '内容',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9W_Money',\n        originalKey: 'T9W_Money',\n        label: '工时总价',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9W_Price',\n        originalKey: 'T9W_Price',\n        label: '工时单价',\n      },\n      {\n        type: 'datetime',\n        name: 'T9W_WorkTime',\n        originalKey: 'T9W_WorkTime',\n        label: '工时',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9W_Class',\n        typeMeta: {\n          relationModel: 'T9_ClassGroup',\n          type: 'Relation',\n        },\n        label: '班组',\n      },\n    ],\n  },\n  {\n    name: 'T9_RepairParts',\n    originalKey: 'T9_RepairParts',\n    label: '维修配件表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_RepairId',\n        originalKey: 'T9P_RepairId',\n        label: '派单号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9P_Partsid',\n        typeMeta: {\n          relationModel: 'T9_PartManger',\n          type: 'Relation',\n        },\n        label: '配件名称',\n      },\n      {\n        type: 'int',\n        name: 'T9P_Number',\n        originalKey: 'T9P_Number',\n        label: '数量',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_ExpectPrice',\n        originalKey: 'T9P_ExpectPrice',\n        label: '预计单价费',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_ExpectAllCost',\n        originalKey: 'T9P_ExpectAllCost',\n        label: '预计总费用',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_RealPrice',\n        originalKey: 'T9P_RealPrice',\n        label: '实际单价费',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_RealAllCost',\n        originalKey: 'T9P_RealAllCost',\n        label: '实际总费用',\n      },\n    ],\n  },\n  {\n    name: 'T9_Car',\n    originalKey: 'T9_Car',\n    label: '汽车表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_LicenseMember',\n        originalKey: 'T9C_LicenseMember',\n        label: '车牌号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9C_CarType',\n        typeMeta: {\n          relationModel: 'T9_CarStyle',\n          type: 'Relation',\n        },\n        label: '车型',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Color',\n        originalKey: 'T9C_Color',\n        label: '颜色',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_CustomerId',\n        originalKey: 'T9C_CustomerId',\n        label: '车主ID',\n      },\n      {\n        type: 'datetime',\n        name: 'T9C_DateOfAcquistion',\n        originalKey: 'T9C_DateOfAcquistion',\n        label: '购置日期',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Journey',\n        originalKey: 'T9C_Journey',\n        label: '行程公里',\n      },\n    ],\n  },\n  {\n    name: 'T9_NewRepairParts',\n    originalKey: 'T9_NewRepairParts',\n    label: '新增维修配件表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_RepairId',\n        originalKey: 'T9P_RepairId',\n        label: '派单号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9P_PartsId',\n        typeMeta: {\n          relationModel: 'T9_PartManger',\n          type: 'Relation',\n        },\n        label: '配件名称',\n      },\n      {\n        type: 'int',\n        name: 'T9P_Number',\n        originalKey: 'T9P_Number',\n        label: '数量',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_ExpectPrice',\n        originalKey: 'T9P_ExpectPrice',\n        label: '预计单价费',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_ExpectAllCost',\n        originalKey: 'T9P_ExpectAllCost',\n        label: '预计总费用',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_RealPrice',\n        originalKey: 'T9P_RealPrice',\n        label: '实际单价费',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_RealAllCost',\n        originalKey: 'T9P_RealAllCost',\n        label: '实际总费用',\n      },\n    ],\n  },\n  {\n    name: 'T9_PartManger',\n    originalKey: 'T9_PartManger',\n    label: '配件管理表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'T9_PartsPrice',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_ID',\n        originalKey: 'T9P_ID',\n        label: '配件编号',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9P_Name',\n        originalKey: 'T9P_Name',\n        label: '配件名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_Unit',\n        originalKey: 'T9P_Unit',\n        label: '单位',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9P_Money',\n        originalKey: 'T9P_Money',\n        label: '金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9P_CarKind',\n        typeMeta: {\n          relationModel: 'T9_CarStyle',\n          type: 'Relation',\n        },\n        label: '车系',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9P_RemainMoney',\n        originalKey: 'T9P_RemainMoney',\n        label: '库存余额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarStyle',\n        originalKey: 'T9P_CarStyle',\n        label: '车型',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarBrand',\n        originalKey: 'T9P_CarBrand',\n        label: '车品牌',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_OriFactoryID',\n        originalKey: 'T9P_OriFactoryID',\n        label: '原厂编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_InventoryID',\n        originalKey: 'T9P_InventoryID',\n        label: '库存编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_GoodsID',\n        originalKey: 'T9P_GoodsID',\n        label: '货位编码',\n      },\n    ],\n  },\n  {\n    name: 'T9_Repairshops',\n    originalKey: 'T9_Repairshops',\n    label: '维修厂表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Name',\n        originalKey: 'T9R_Name',\n        label: '维修厂名称',\n      },\n      {\n        type: 'nvarchar(Max)',\n        name: 'T9R_Adress',\n        originalKey: 'T9R_Adress',\n        label: '维修厂地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Area',\n        originalKey: 'T9R_Area',\n        label: '所在区域',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_LinkMan',\n        originalKey: 'T9R_LinkMan',\n        label: '联系人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Tel',\n        originalKey: 'T9R_Tel',\n        label: '联系电话',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_ Facsimile',\n        originalKey: 'T9R_ Facsimile',\n        label: '传真',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Postalcode',\n        originalKey: 'T9R_Postalcode',\n        label: '邮政编码',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'T9R_Note',\n        originalKey: 'T9R_Note',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_GroupSign',\n        originalKey: 'T9R_GroupSign',\n        label: '组织标志',\n      },\n    ],\n  },\n  {\n    name: 'T9_Supplier',\n    originalKey: 'T9_Supplier',\n    label: '供应商表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_Name',\n        originalKey: 'T9S_Name',\n        label: '供应商名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_Brand',\n        originalKey: 'T9S_Brand',\n        label: '供应品牌',\n      },\n      {\n        type: 'nvarchar(Max)',\n        name: 'T9S_RepairAdress',\n        originalKey: 'T9S_RepairAdress',\n        label: '维修厂地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_Area',\n        originalKey: 'T9S_Area',\n        label: '所在区域',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_LinkMan',\n        originalKey: 'T9S_LinkMan',\n        label: '联系人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_Tel',\n        originalKey: 'T9S_Tel',\n        label: '联系电话',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_ Facsimile',\n        originalKey: 'T9S_ Facsimile',\n        label: '传真',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_Postalcode',\n        originalKey: 'T9S_Postalcode',\n        label: '邮政编码',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'T9S_Note',\n        originalKey: 'T9S_Note',\n        label: '备注',\n      },\n      {\n        type: 'vnarchar(50)',\n        name: 'T9S_GroupSign',\n        originalKey: 'T9S_GroupSign',\n        label: '组织标志',\n      },\n    ],\n  },\n  {\n    name: 'T9_CarStyle',\n    originalKey: 'T9_CarStyle',\n    label: '车型表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Name',\n        originalKey: 'T9C_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9C_SeriesID',\n        typeMeta: {\n          relationModel: 'T9_CarKind',\n          type: 'Relation',\n        },\n        label: '车系ID',\n      },\n    ],\n  },\n  {\n    name: 'T9_Procurement',\n    originalKey: 'T9_Procurement',\n    label: '竞价表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_RepairfactoryFID',\n        originalKey: 'T9P_RepairfactoryFID',\n        label: '维修厂FID',\n      },\n      {\n        type: 'nvarchar(Max)',\n        name: 'T9P_Adress',\n        originalKey: 'T9P_Adress',\n        label: '收货地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_LinkMan',\n        originalKey: 'T9P_LinkMan',\n        label: '收货人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_LinkTel',\n        originalKey: 'T9P_LinkTel',\n        label: '收人联系方式',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarStyleID',\n        originalKey: 'T9P_CarStyleID',\n        label: '车系ID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_PartName',\n        originalKey: 'T9P_PartName',\n        label: '配件ID',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'T9P_Note',\n        originalKey: 'T9P_Note',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_Num',\n        originalKey: 'T9P_Num',\n        label: '数量',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9P_finallyprice\\r\\nT9P_FinallyPirce',\n        originalKey: 'T9P_finallyprice\\r\\nT9P_FinallyPirce',\n        label: '最终成交价格',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9P_MinPrice',\n        originalKey: 'T9P_MinPrice',\n        label: '竞价最低价格',\n      },\n      {\n        type: 'int',\n        name: 'T9P_PriceState',\n        originalKey: 'T9P_PriceState',\n        label: '采购信息状态',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_SupplierID',\n        originalKey: 'T9P_SupplierID',\n        label: '供应商ID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarKind',\n        originalKey: 'T9P_CarKind',\n        label: '车系',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarStyle',\n        originalKey: 'T9P_CarStyle',\n        label: '车型',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarBrand',\n        originalKey: 'T9P_CarBrand',\n        label: '车品牌',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_PartUnit',\n        originalKey: 'T9P_PartUnit',\n        label: '配件单位',\n      },\n      {\n        name: 'T9P_finallyOnePrice',\n        originalKey: 'T9P_finallyOnePrice',\n        label: '最总单价',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_ServiceID',\n        originalKey: 'T9P_ServiceID',\n        label: '维修编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarID',\n        originalKey: 'T9P_CarID',\n        label: '汽车编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CustomerID',\n        originalKey: 'T9P_CustomerID',\n        label: '客户编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_OrderID',\n        originalKey: 'T9P_OrderID',\n        label: '订单号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_ChassisID',\n        originalKey: 'T9P_ChassisID',\n        label: '车架号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_LicenseID',\n        originalKey: 'T9P_LicenseID',\n        label: '车牌号',\n      },\n      {\n        type: 'ntext',\n        name: 'T9P_Picture',\n        originalKey: 'T9P_Picture',\n        label: '照片',\n      },\n    ],\n  },\n  {\n    name: 'T9_Bidding',\n    originalKey: 'T9_Bidding',\n    label: '报价表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'T9_Procurement',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_FID',\n        originalKey: 'T9P_FID',\n        label: '供应商FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9B_FID',\n        originalKey: 'T9B_FID',\n        label: '采购FID',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9B_Price',\n        originalKey: 'T9B_Price',\n        label: '竞价',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9B_Number',\n        originalKey: 'T9B_Number',\n        label: '数量',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9B_Money',\n        originalKey: 'T9B_Money',\n        label: '金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9B_WinBidding',\n        originalKey: 'T9B_WinBidding',\n        label: '是否中标',\n      },\n    ],\n  },\n  {\n    name: 'T9_ClassGroup',\n    originalKey: 'T9_ClassGroup',\n    label: '班组表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Name',\n        originalKey: 'T9C_Name',\n        label: '班组名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Sign',\n        originalKey: 'T9C_Sign',\n        label: '班组标识(英文名)',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9C_HourlyRate',\n        originalKey: 'T9C_HourlyRate',\n        label: '时薪',\n      },\n    ],\n  },\n  {\n    name: 'T9_CarKind',\n    originalKey: 'T9_CarKind',\n    label: '车系',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Kind',\n        originalKey: 'T9C_Kind',\n        label: '车系',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9C_BrandFID',\n        typeMeta: {\n          relationModel: 'T9_CarBrand',\n          type: 'Relation',\n        },\n        label: '品牌FID',\n      },\n    ],\n  },\n  {\n    name: 'T9_CarBrand',\n    originalKey: 'T9_CarBrand',\n    label: '车主品牌表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Brand',\n        originalKey: 'T9C_Brand',\n        label: '品牌名称',\n      },\n    ],\n  },\n  {\n    name: 'T9_PartsPrice',\n    originalKey: 'T9_PartsPrice',\n    label: '配件价格表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_FID',\n        originalKey: 'T9P_FID',\n        label: '配件FID',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9P_Price',\n        originalKey: 'T9P_Price',\n        label: '价格',\n      },\n      {\n        type: 'datetime',\n        name: 'T9P_UpdateTime',\n        originalKey: 'T9P_UpdateTime',\n        label: '更新时间',\n      },\n    ],\n  },\n  {\n    name: 'T9_Changebound',\n    originalKey: 'T9_Changebound',\n    label: '库存变动表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'T9_PartManger',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_PartID',\n        originalKey: 'T9C_PartID',\n        label: '配件ID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_PartKind',\n        originalKey: 'T9C_PartKind',\n        label: '配件分类',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_PartName',\n        originalKey: 'T9C_PartName',\n        label: '配件名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Measuringunit',\n        originalKey: 'T9C_Measuringunit',\n        label: '计量单位',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9C_Price',\n        originalKey: 'T9C_Price',\n        label: '采购价格',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Number',\n        originalKey: 'T9C_Number',\n        label: '采购数量',\n      },\n      {\n        type: 'int',\n        name: 'T9C_OperationKind',\n        originalKey: 'T9C_OperationKind',\n        label: '操作类型',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_RepairID',\n        originalKey: 'T9C_RepairID',\n        label: '维修单ID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_PurchaseID',\n        originalKey: 'T9C_PurchaseID',\n        label: '采购单Id',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_StartNum',\n        originalKey: 'T9C_StartNum',\n        label: '初始余额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_OnePrice',\n        originalKey: 'T9C_OnePrice',\n        label: '变动报价',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_EndNum',\n        originalKey: 'T9C_EndNum',\n        label: '最终数目',\n      },\n    ],\n  },\n  {\n    name: 'T9_StorageList',\n    originalKey: 'T9_StorageList',\n    label: '入库单',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_InFID',\n        originalKey: 'T9I_InFID',\n        label: '入库单号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_Supplier',\n        originalKey: 'T9I_Supplier',\n        label: '供应商',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_BillType',\n        originalKey: 'T9I_BillType',\n        label: '单据类型',\n      },\n      {\n        type: 'datetime',\n        name: 'T9I_InDateTime',\n        originalKey: 'T9I_InDateTime',\n        label: '入库日期',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_PayType',\n        originalKey: 'T9I_PayType',\n        label: '付款方式',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_Operator',\n        originalKey: 'T9I_Operator',\n        label: '经办人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_InType',\n        originalKey: 'T9I_InType',\n        label: '入库类型',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_CarLicense',\n        originalKey: 'T9I_CarLicense',\n        label: '车牌号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_ChassisNumber',\n        originalKey: 'T9I_ChassisNumber',\n        label: '车架号',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_ToalPrice',\n        originalKey: 'T9I_ToalPrice',\n        label: '合计金额',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_Rate',\n        originalKey: 'T9I_Rate',\n        label: '税率',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_TaxRate',\n        originalKey: 'T9I_TaxRate',\n        label: '税额',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_TaxAmount',\n        originalKey: 'T9I_TaxAmount',\n        label: '含税金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_WarehouseKeeper',\n        originalKey: 'T9I_WarehouseKeeper',\n        label: '仓管',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_Audit',\n        originalKey: 'T9I_Audit',\n        label: '审核',\n      },\n    ],\n  },\n  {\n    name: 'T9_StorageListDetail',\n    originalKey: 'T9_StorageListDetail',\n    label: '入库明细',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_InFID',\n        originalKey: 'T9I_InFID',\n        label: '入库单号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_PartFID',\n        originalKey: 'T9I_PartFID',\n        label: '商品编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_PartName',\n        originalKey: 'T9I_PartName',\n        label: '商品名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_Model',\n        originalKey: 'T9I_Model',\n        label: '型号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_Unit',\n        originalKey: 'T9I_Unit',\n        label: '单位',\n      },\n      {\n        type: 'int',\n        name: 'T9I_Number',\n        originalKey: 'T9I_Number',\n        label: '数量',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_OnePrice',\n        originalKey: 'T9I_OnePrice',\n        label: '单价',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_Price',\n        originalKey: 'T9I_Price',\n        label: '金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_ProductClass',\n        originalKey: 'T9I_ProductClass',\n        label: '产品类别',\n      },\n    ],\n  },\n  {\n    name: 'T9_DeliveryOrder',\n    originalKey: 'T9_DeliveryOrder',\n    label: '出库单',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_BoundID',\n        originalKey: 'T9O_BoundID',\n        label: '出库单号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_ClientName',\n        originalKey: 'T9O_ClientName',\n        label: '客户名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Type',\n        originalKey: 'T9O_Type',\n        label: '类型',\n      },\n      {\n        type: 'datetime',\n        name: 'T9O_OutDate',\n        originalKey: 'T9O_OutDate',\n        label: '出库日期',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Dispatch',\n        originalKey: 'T9O_Dispatch',\n        label: '派单编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_ChargeName',\n        originalKey: 'T9O_ChargeName',\n        label: '经办人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Class',\n        originalKey: 'T9O_Class',\n        label: '领班班组',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Note',\n        originalKey: 'T9O_Note',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_CarNumber',\n        originalKey: 'T9O_CarNumber',\n        label: '车牌号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Amount',\n        originalKey: 'T9O_Amount',\n        label: '合计金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_BoundManger',\n        originalKey: 'T9O_BoundManger',\n        label: '仓管',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Reviewer',\n        originalKey: 'T9O_Reviewer',\n        label: '审核人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Pick',\n        originalKey: 'T9O_Pick',\n        label: '领料',\n      },\n    ],\n  },\n  {\n    name: 'T9_DeliveryOrderDetail',\n    originalKey: 'T9_DeliveryOrderDetail',\n    label: '出库明细表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_FID',\n        originalKey: 'T9C_FID',\n        label: '出库单号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9D_PartID',\n        originalKey: 'T9D_PartID',\n        label: '商品编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9D_PartName',\n        originalKey: 'T9D_PartName',\n        label: '商品名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9D_Type',\n        originalKey: 'T9D_Type',\n        label: '型号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9D_Num',\n        originalKey: 'T9D_Num',\n        label: '数量',\n      },\n      {\n        type: 'nvarchar(50))',\n        name: 'T9D_Unit',\n        originalKey: 'T9D_Unit',\n        label: '单位',\n      },\n      {\n        type: 'decimarl(18,4)',\n        name: 'T9D_Price',\n        originalKey: 'T9D_Price',\n        label: '单价',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9D_Money',\n        originalKey: 'T9D_Money',\n        label: '金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9D_Bound',\n        originalKey: 'T9D_Bound',\n        label: '仓库',\n      },\n    ],\n  },\n]\n"
  },
  {
    "path": "mock/module-test.ts",
    "content": "export default [\n    {\n        name: 'finance',\n        label: '金融',\n    },\n    {\n        name: 'ERP',\n        label: '进销存',\n    },\n    {\n        label: '汽修',\n        name: 'T9engSQ',\n    },\n]\n"
  },
  {
    "path": "package.json",
    "content": "{\n  \"name\": \"web-pdm-doc\",\n  \"version\": \"0.0.1\",\n  \"description\": \"A react library developed with dumi\",\n  \"license\": \"MIT\",\n  \"module\": \"dist/index.js\",\n  \"types\": \"dist/index.d.ts\",\n  \"files\": [\n    \"dist\"\n  ],\n  \"scripts\": {\n    \"build\": \" cross-env BUILD_TYPE=lib father build\",\n    \"build-lib\": \"cd packages/web-pdm-core && npm run build && cd ../../ && cd packages/web-pdm-lib && npm run build\",\n    \"build-remote\": \"ssh root@$SERVER_IP \\\" cd /root/webpdmdoc-docker; sh build.sh  \\\" \",\n    \"build:watch\": \"father dev\",\n    \"deploy\": \"npm update web-pdm && npm i xtend && npm i wrappy &&  npm run deploy:now\",\n    \"deploy:now\": \"npm run docs:build  && npm run publish-server && npm run build-remote\",\n    \"dev\": \" rm -rf node_modules/.cache && cross-env WATCH_IGNORED=none dumi dev \",\n    \"docs:build\": \"dumi build   && rm -rf  docker/public && cp -rf ./docs-dist  docker/public && cp ./doc/erd.jpeg docker/public/static/\",\n    \"doctor\": \"father doctor\",\n    \"lint\": \"npm run lint:es && npm run lint:css\",\n    \"lint:css\": \"stylelint \\\"{src,test}/**/*.{css,less}\\\"\",\n    \"lint:es\": \"eslint \\\"{src,test}/**/*.{js,jsx,ts,tsx}\\\"\",\n    \"prepare\": \"husky install && dumi setup\",\n    \"prepublishOnly\": \"father doctor && npm run build\",\n    \"publish-docker\": \"cd ./docker && sh build.sh\",\n    \"publish-server\": \"cd ./docker && sh upload.sh\",\n    \"start\": \" npm run dev\",\n    \"webpdm-deploy\": \"cd packages/web-pdm-lib && npm run publish-npm:patch && cd ../../ && npm run deploy\"\n  },\n  \"commitlint\": {\n    \"extends\": [\n      \"@commitlint/config-conventional\"\n    ]\n  },\n  \"lint-staged\": {\n    \"*.{md,json}\": [\n      \"prettier --write --no-error-on-unmatched-pattern\"\n    ],\n    \"*.{css,less}\": [\n      \"stylelint --fix\",\n      \"prettier --write\"\n    ],\n    \"*.{js,jsx}\": [\n      \"eslint --fix\",\n      \"prettier --write\"\n    ],\n    \"*.{ts,tsx}\": [\n      \"eslint --fix\",\n      \"prettier --parser=typescript --write\"\n    ]\n  },\n  \"dependencies\": {\n    \"antd\": \"^5.3.2\",\n    \"lodash\": \"^4.17.21\",\n    \"web-pdm\": \"workspace:*\",\n    \"web-pdm-core\": \"workspace:*\"\n  },\n  \"devDependencies\": {\n    \"@commitlint/cli\": \"^17.1.2\",\n    \"@commitlint/config-conventional\": \"^17.1.0\",\n    \"@types/react\": \"^18.0.0\",\n    \"@types/react-dom\": \"^18.0.0\",\n    \"@umijs/lint\": \"^4.0.0\",\n    \"compression-webpack-plugin\": \"^5.0.2\",\n    \"cross-env\": \"^7.0.3\",\n    \"dumi\": \"^2.0.2\",\n    \"eslint\": \"^8.23.0\",\n    \"father\": \"^4.1.0\",\n    \"husky\": \"^8.0.1\",\n    \"lint-staged\": \"^13.0.3\",\n    \"prettier\": \"^2.7.1\",\n    \"prettier-plugin-organize-imports\": \"^3.0.0\",\n    \"prettier-plugin-packagejson\": \"^2.2.18\",\n    \"react\": \"^18.0.0\",\n    \"react-dom\": \"^18.0.0\",\n    \"stylelint\": \"^14.9.1\"\n  },\n  \"peerDependencies\": {\n    \"react\": \">=16.9.0\",\n    \"react-dom\": \">=16.9.0\"\n  },\n  \"publishConfig\": {\n    \"access\": \"public\"\n  },\n  \"authors\": []\n}\n"
  },
  {
    "path": "packages/web-pdm-core/.fatherrc.js",
    "content": "// const fs = require('fs')\n// const nodePath = require('path')\n// import typescript from 'rollup-plugin-typescript2';\nconst extraBabelPlugins = [\n    [\n        'babel-plugin-import',\n        {\n            libraryName: 'antd',\n            libraryDirectory: 'es',\n            style: 'css'\n        },\n        'antd'\n    ]\n]\nexport default {\n    esm: {},\n    cjs: {}\n    // extraBabelPlugins\n  }"
  },
  {
    "path": "packages/web-pdm-core/.gitignore",
    "content": "node_modules\n/dist\n.dumi/tmp\n.dumi/tmp-test\n.dumi/tmp-production\n.DS_Store\n\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/components/index.d.ts",
    "content": "import React from 'react';\nexport declare type IPagePros = {\n    style?: any;\n    className?: string;\n    height?: number;\n};\ndeclare const _default: React.FC<IPagePros>;\nexport default _default;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/components/index.js",
    "content": "var __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n  // If the importer is in node compatibility mode or this is not an ESM\n  // file that has been converted to a CommonJS file using a Babel-\n  // compatible transform (i.e. \"__esModule\" has not been set), then set\n  // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n  isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n  mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/components/index.tsx\nvar components_exports = {};\n__export(components_exports, {\n  default: () => components_default\n});\nmodule.exports = __toCommonJS(components_exports);\nvar import_react = __toESM(require(\"react\"));\nvar import_classnames = __toESM(require(\"classnames\"));\nvar import_util = require(\"../util\");\nvar import_model_navi = __toESM(require(\"./model-navi\"));\nvar import_graph = __toESM(require(\"../graph\"));\nvar import_context = require(\"../context\");\nvar components_default = (0, import_util.CreateComponent)({\n  displayName: \"page\",\n  render(props) {\n    const mst = (0, import_context.useMst)();\n    return /* @__PURE__ */ import_react.default.createElement(\n      \"div\",\n      {\n        className: (0, import_classnames.default)(\"console-g6-page\", props.className),\n        style: { height: mst.sys.height }\n      },\n      /* @__PURE__ */ import_react.default.createElement(\"div\", { className: \"console-erd-fps\" }),\n      /* @__PURE__ */ import_react.default.createElement(\"div\", { className: \"g6-modelnavi\" }, /* @__PURE__ */ import_react.default.createElement(import_model_navi.default, null)),\n      /* @__PURE__ */ import_react.default.createElement(\"div\", { className: \"g6-graph\" }, /* @__PURE__ */ import_react.default.createElement(import_graph.default, null))\n    );\n  }\n});\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {});\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/components/model-navi/index.d.ts",
    "content": "import React from 'react';\nimport './style.scss';\ndeclare type IModelNaviProps = {\n    modules?: [];\n    model?: [];\n};\ndeclare const _default: React.FC<IModelNaviProps>;\nexport default _default;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/components/model-navi/index.js",
    "content": "var __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n  // If the importer is in node compatibility mode or this is not an ESM\n  // file that has been converted to a CommonJS file using a Babel-\n  // compatible transform (i.e. \"__esModule\" has not been set), then set\n  // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n  isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n  mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/components/model-navi/index.tsx\nvar model_navi_exports = {};\n__export(model_navi_exports, {\n  default: () => model_navi_default\n});\nmodule.exports = __toCommonJS(model_navi_exports);\nvar import_icons = require(\"@ant-design/icons\");\nvar import_lodash = require(\"lodash\");\nvar import_react = __toESM(require(\"react\"));\nvar import_react_custom_scrollbars = __toESM(require(\"react-custom-scrollbars\"));\nvar import_util = require(\"../../util\");\nvar import_context = require(\"../../context\");\nvar import_style = require(\"./style.scss\");\nconsole.log(\"hezk test =======\");\nvar getTreeNodeTitle = (model, root, OptionBuilder) => {\n  return /* @__PURE__ */ import_react.default.createElement(\n    OptionBuilder,\n    {\n      data: {\n        title: root.renderModelTitle(model),\n        options: [\n          {\n            title: /* @__PURE__ */ import_react.default.createElement(\"span\", null, \" \", root.intl(\"定位模型\")),\n            key: 1,\n            click: (e) => {\n              root.sys.centerCurrentModel([model.id]);\n              e.stopPropagation();\n            }\n          },\n          {\n            key: 2,\n            title: /* @__PURE__ */ import_react.default.createElement(\"span\", null, \" \", root.intl(\"查看\")),\n            click: (e) => {\n              root.sys.openModel(model.id);\n              e.stopPropagation();\n            }\n          }\n          // {\n          //   title: <span> {intlLiteral('移除')}</span>\n          // },\n        ]\n      }\n    }\n  );\n};\nvar model_navi_default = (0, import_util.CreateComponent)({\n  render(_) {\n    const mst = (0, import_context.useMst)();\n    const intl = mst.intl;\n    const { Input, Button, Dropdown, Menu, Select, Tree } = mst.Ui;\n    const { TreeNode, OptionBuilder } = Tree;\n    const treeNodes = (0, import_react.useMemo)(\n      () => !mst.sys.tabOrTree ? mst.moduleList.map((m) => {\n        return /* @__PURE__ */ import_react.default.createElement(\n          TreeNode,\n          {\n            title: mst.sys.showNameOrLabel ? m.name : m.label,\n            key: m.id\n          },\n          [...m.models.values()].filter((model) => model.filterModel()).map((model) => {\n            return /* @__PURE__ */ import_react.default.createElement(\n              TreeNode,\n              {\n                key: model.id,\n                title: getTreeNodeTitle(\n                  model,\n                  mst,\n                  OptionBuilder\n                )\n              }\n            );\n          })\n        );\n      }) : [...mst.Models.values()].filter(\n        (model) => (!mst.sys.currentModule || model.moduleId === mst.sys.currentModule) && model.filterModel()\n      ).map((model) => {\n        return /* @__PURE__ */ import_react.default.createElement(\n          TreeNode,\n          {\n            key: model.id,\n            title: getTreeNodeTitle(\n              model,\n              mst,\n              OptionBuilder\n            )\n          }\n        );\n      }),\n      [\n        mst.sys.tabOrTree,\n        mst.moduleList,\n        mst.sys.showNameOrLabel,\n        mst.sys.currentModule,\n        mst.sys.search\n        //打包后没有执行，添加search确保执行\n      ]\n    );\n    (0, import_react.useEffect)(() => {\n    }, [mst.Ui.update]);\n    const {\n      search,\n      onExpand,\n      checkAllFun,\n      checkAllCancleFun,\n      toggleShowNameOrLabel,\n      toggleTabOrTree,\n      Sys,\n      changeModuleValue,\n      setSearch\n    } = useLocal();\n    return /* @__PURE__ */ import_react.default.createElement(\n      \"div\",\n      {\n        className: \"console-models-tree\",\n        style: { height: mst.sys.height }\n      },\n      /* @__PURE__ */ import_react.default.createElement(\"div\", { className: \"header\" }, /* @__PURE__ */ import_react.default.createElement(\"div\", { className: \"console-erd-search\" }, /* @__PURE__ */ import_react.default.createElement(\n        Input,\n        {\n          allowClear: true,\n          value: search,\n          size: \"small\",\n          onChange: (e) => setSearch(e.target.value),\n          addonAfter: Sys.tabOrTree && /* @__PURE__ */ import_react.default.createElement(\n            Select,\n            {\n              size: \"small\",\n              defaultValue: Sys.currentModule,\n              value: Sys.currentModule,\n              className: \"select-after\",\n              onChange: changeModuleValue\n            },\n            [\n              /* @__PURE__ */ import_react.default.createElement(Select.Option, { value: \"\" }, intl(\"所有\")),\n              ...[...mst.Modules.values()].map(\n                (module2) => {\n                  return /* @__PURE__ */ import_react.default.createElement(\n                    Select.Option,\n                    {\n                      value: module2.id,\n                      key: module2.id\n                    },\n                    module2.label\n                  );\n                }\n              )\n            ]\n          )\n        }\n      )), /* @__PURE__ */ import_react.default.createElement(\"div\", { className: \"console-erd-search btns\" }, mst.sys.tabOrTree && /* @__PURE__ */ import_react.default.createElement(\n        Button,\n        {\n          size: \"small\",\n          type: \"text\",\n          onClick: checkAllFun\n        },\n        intl(\"选择所有\")\n      ), mst.sys.tabOrTree && /* @__PURE__ */ import_react.default.createElement(\n        Button,\n        {\n          size: \"small\",\n          type: \"text\",\n          onClick: checkAllCancleFun\n        },\n        intl(\"清除所有\")\n      ), /* @__PURE__ */ import_react.default.createElement(\n        Button,\n        {\n          size: \"small\",\n          type: \"text\",\n          onClick: toggleShowNameOrLabel\n        },\n        intl(\"显示\"),\n        !mst.sys.showNameOrLabel ? intl(\"名称\") : intl(\"标签\")\n      ), !Sys.onlyMode && /* @__PURE__ */ import_react.default.createElement(\n        Dropdown,\n        {\n          className: \"right\",\n          overlay: /* @__PURE__ */ import_react.default.createElement(Menu, null, /* @__PURE__ */ import_react.default.createElement(\n            Menu.Item,\n            {\n              key: \"1\",\n              onClick: toggleTabOrTree\n            },\n            !Sys.tabOrTree ? intl(\"分类\") : intl(\"树形\"),\n            \" \",\n            intl(\"模式\")\n          ))\n        },\n        /* @__PURE__ */ import_react.default.createElement(\"span\", null, /* @__PURE__ */ import_react.default.createElement(import_icons.EllipsisOutlined, null))\n      ))),\n      /* @__PURE__ */ import_react.default.createElement(\"div\", { className: \"navitree-warp\" }, /* @__PURE__ */ import_react.default.createElement(\n        import_react_custom_scrollbars.default,\n        {\n          autoHide: true,\n          autoHeight: true,\n          autoHideTimeout: 1e3,\n          autoHideDuration: 200,\n          autoHeightMin: \"100%\",\n          autoHeightMax: \"100%\"\n        },\n        /* @__PURE__ */ import_react.default.createElement(\n          Tree,\n          {\n            showIcon: false,\n            className: \"console-models-tree-tree\",\n            onSelect: mst.sys.setCurrentModel.bind(mst.sys),\n            selectedKeys: [mst.sys.currentModel],\n            checkedKeys: [...mst.sys.checkedKeys],\n            onCheck: mst.setCheckedKeys.bind(mst),\n            checkable: true,\n            onExpand,\n            multiple: true,\n            expandedKeys: [...mst.sys.expandedKeys]\n          },\n          treeNodes\n        )\n      ))\n    );\n  },\n  displayName: \"navi\"\n});\nvar useLocal = () => {\n  const mst = (0, import_context.useMst)();\n  const [text, setText] = (0, import_react.useState)(mst.sys.search);\n  const [texting, setTexting] = (0, import_react.useState)(false);\n  const setSearch = (0, import_react.useCallback)(\n    (val) => {\n      setTexting(true);\n      setText(val);\n      (0, import_lodash.debounce)(() => {\n        mst.sys.setSearch(val);\n        setTexting(false);\n      }, 500)();\n    },\n    [mst.sys.setSearch, setText]\n  );\n  return {\n    search: text,\n    get modules() {\n      return mst.moduleList;\n    },\n    onExpand(expandedKeys) {\n      mst.sys.setExpandedKeys(expandedKeys);\n    },\n    get expandedKeys() {\n      return mst.sys.expandedKeys;\n    },\n    checkAllFun() {\n      return mst.checkAllFun();\n    },\n    checkAllCancleFun() {\n      return mst.checkAllCancleFun();\n    },\n    toggleShowNameOrLabel: mst.sys.toggleShowNameOrLabel,\n    toggleTabOrTree: mst.sys.toggleTabOrTree.bind(mst.sys),\n    get Sys() {\n      return mst.sys;\n    },\n    changeModuleValue: mst.sys.changeModuleValue.bind(mst.sys),\n    setSearch\n  };\n};\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {});\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/components/model-navi/style.scss",
    "content": ".console-g6-page {\n    background-color: #fff;\n    display: flex;\n    flex: 1;\n    flex-direction: row;\n    overflow: hidden;\n    height: 100%;\n    .g6-graph {\n        // width: calc(100% - 250px)\n        // padding-left: 16px;\n        margin-right: 16px;\n        flex: 1;\n        width: 0;\n        height: 100%;\n        .ant-spin-nested-loading {\n            height: 100%;\n            .ant-spin-container {\n                height: 100%;\n            }\n        }\n    }\n\n    .g6-info {\n        width: 50px;\n    }\n\n    .g6-modelnavi {\n        width: 270px;\n        margin-bottom: 16px;\n        height: 100%;\n\n        .console-models-tree {\n            overflow: hidden;\n            display: flex;\n            flex-direction: column;\n            padding-bottom: 50px;\n\n            height: 100%;\n            margin-right: 25px;\n\n            .header {\n                height: 60px;\n            }\n\n            .navitree-warp {\n                flex: 1;\n                // overflow-y: scroll;\n                display: flex;\n                flex-direction: column;\n                overflow: hidden;\n                // margin-top: 8px;\n                // margin-bottom: 24px;\n                height: 100%;\n                margin-left: 10px;\n                border: 1px solid rgba(0, 0, 0, 0.1);\n            }\n            .console-erd-search {\n                margin-top: 3px;\n                // height:35px;\n                margin-bottom: 4px;\n                // margin-right: 30px;\n                margin-left: 10px;\n                display: flex;\n                .right {\n                    float: right;\n                }\n                .console-erd-add {\n                    font-size: 20px;\n                    // margin-right: 25px;\n                    color: rgba(0, 0, 0, 0.4);\n                    cursor: pointer;\n                    margin-left: 5px;\n                }\n            }\n            // .header {\n            //   // height: 50px;\n            //   // border-bottom:1px solid rgba(0, 0, 0, 0.1);\n            // }\n\n            .console-models-tree-tree {\n                flex: 1;\n                //  overflow: hidden;\n                padding-right: 5px;\n                .ant-tree-treenode {\n                    width: 100%;\n                }\n                //  div.ant-tree-treenode:hover {\n                //   background-color: red;\n                // }\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/components/model-toolbar/index.d.ts",
    "content": "/// <reference types=\"react\" />\ndeclare const _default: ({ graph }: {\n    graph: any;\n}) => JSX.Element;\nexport default _default;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/components/model-toolbar/index.js",
    "content": "var __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n  // If the importer is in node compatibility mode or this is not an ESM\n  // file that has been converted to a CommonJS file using a Babel-\n  // compatible transform (i.e. \"__esModule\" has not been set), then set\n  // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n  isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n  mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/components/model-toolbar/index.tsx\nvar model_toolbar_exports = {};\n__export(model_toolbar_exports, {\n  default: () => model_toolbar_default\n});\nmodule.exports = __toCommonJS(model_toolbar_exports);\nvar import_classnames = __toESM(require(\"classnames\"));\nvar import_react = __toESM(require(\"react\"));\nvar import_mobx_react = require(\"mobx-react\");\nvar import_util = require(\"../../util\");\nvar import_context = require(\"../../context\");\nvar import_react_color = require(\"react-color\");\nvar import_lodash = require(\"lodash\");\nvar model_toolbar_default = (0, import_mobx_react.observer)(({ graph }) => {\n  var _a;\n  const mst = (0, import_context.useMst)();\n  const intl = mst.intl;\n  const undoManager = mst.undoManager;\n  const { Tooltip, Popover } = mst.Ui;\n  const _IconRenders = { ...mst.Ui.IconRenders };\n  const [colorPabel, setColorPabel] = (0, import_react.useState)(false);\n  const setColor = (0, import_react.useCallback)(\n    (0, import_lodash.throttle)((color) => {\n      mst.Ui.setThemeColor(color.hex);\n    }, 200),\n    [colorPabel]\n  );\n  const zoomNum = graph && (0, import_util.changeTwoDecimal_f)(parseFloat(((_a = mst.graph) == null ? void 0 : _a.zoom) * 100 + \"\") + \"\") || 0;\n  if (!graph)\n    return /* @__PURE__ */ import_react.default.createElement(\"div\", { className: \"console-erd-toolbar\" }, intl(\"正在初始化中\"), \"....\");\n  return /* @__PURE__ */ import_react.default.createElement(\"div\", { className: \"console-erd-toolbar\" }, /* @__PURE__ */ import_react.default.createElement(\"div\", { className: \"right\" }, /* @__PURE__ */ import_react.default.createElement(\n    ButtonActon,\n    {\n      IconRenders: _IconRenders,\n      key: 1,\n      Tooltip,\n      title: intl(\"撤销\"),\n      color: mst.Ui.darkness && undoManager.canUndo ? mst.Ui.themeColor : void 0,\n      disable: !undoManager.canUndo,\n      icon: \"undo\",\n      onClick: mst.undo.bind(mst)\n    }\n  ), /* @__PURE__ */ import_react.default.createElement(\n    ButtonActon,\n    {\n      IconRenders: _IconRenders,\n      key: 2,\n      Tooltip,\n      title: intl(\"重做\"),\n      color: mst.Ui.darkness && undoManager.canRedo ? mst.Ui.themeColor : void 0,\n      disable: !undoManager.canRedo,\n      icon: \"redo\",\n      onClick: mst.redo.bind(mst)\n    }\n  ), /* @__PURE__ */ import_react.default.createElement(\n    ButtonActon,\n    {\n      IconRenders: _IconRenders,\n      key: 3,\n      Tooltip,\n      title: intl(\"放大\"),\n      color: mst.Ui.darkness ? mst.Ui.themeColor : void 0,\n      disable: zoomNum >= 100,\n      icon: \"max\",\n      onClick: mst.graph.maxZoom.bind(mst.graph, graph)\n    }\n  ), /* @__PURE__ */ import_react.default.createElement(\"span\", { className: \"zoomNum noselect\" }, graph && `${zoomNum >= 100 ? 100 : zoomNum}%`), /* @__PURE__ */ import_react.default.createElement(\n    ButtonActon,\n    {\n      IconRenders: _IconRenders,\n      key: 4,\n      Tooltip,\n      title: intl(\"缩小\"),\n      color: mst.Ui.darkness ? mst.Ui.themeColor : void 0,\n      disable: zoomNum < 5,\n      icon: \"min\",\n      onClick: mst.graph.minZoom.bind(mst.graph, graph)\n    }\n  ), /* @__PURE__ */ import_react.default.createElement(\n    ButtonActon,\n    {\n      IconRenders: _IconRenders,\n      key: 5,\n      Tooltip,\n      title: intl(\"全景\"),\n      color: mst.Ui.darkness ? mst.Ui.themeColor : void 0,\n      icon: \"full\",\n      onClick: mst.graph.container.bind(mst.graph, graph)\n    }\n  ), /* @__PURE__ */ import_react.default.createElement(\n    ButtonActon,\n    {\n      IconRenders: _IconRenders,\n      key: 6,\n      Tooltip,\n      title: intl(\n        !mst.sys.disableMiniMap ? \"显示小地图\" : \"屏蔽小地图\"\n      ),\n      color: mst.Ui.darkness ? mst.Ui.themeColor : void 0,\n      icon: mst.sys.disableMiniMap ? \"miniMap\" : \"miniMapNo\",\n      onClick: mst.sys.setDisableMiniMap.bind(\n        mst.sys,\n        !mst.sys.disableMiniMap\n      )\n    }\n  ), /* @__PURE__ */ import_react.default.createElement(\n    ButtonActon,\n    {\n      IconRenders: _IconRenders,\n      key: 7,\n      Tooltip,\n      title: intl(\"刷新数据\"),\n      color: mst.Ui.darkness ? mst.Ui.themeColor : void 0,\n      icon: \"reload\",\n      onClick: mst.reload.bind(mst)\n    }\n  ), /* @__PURE__ */ import_react.default.createElement(\n    ButtonActon,\n    {\n      IconRenders: _IconRenders,\n      key: 8,\n      Tooltip,\n      title: intl(\"下载图片\"),\n      color: mst.Ui.darkness ? mst.Ui.themeColor : void 0,\n      icon: \"image\",\n      onClick: mst.graph.downAsImage.bind(mst.graph, graph)\n    }\n  ), /* @__PURE__ */ import_react.default.createElement(\n    ButtonActon,\n    {\n      IconRenders: _IconRenders,\n      key: 9,\n      Tooltip,\n      title: mst.sys.dagreLayout ? intl(\"切换层次布局\") : intl(\"切换关联布局\"),\n      icon: !mst.sys.dagreLayout ? \"dagreLayout\" : \"relationLayout\",\n      color: mst.Ui.darkness ? mst.Ui.themeColor : void 0,\n      onClick: mst.sys.setDagreLayout.bind(\n        mst.sys,\n        !mst.sys.dagreLayout\n      )\n    }\n  ), /* @__PURE__ */ import_react.default.createElement(\n    ButtonActon,\n    {\n      IconRenders: _IconRenders,\n      key: 10,\n      Tooltip,\n      title: intl(\"切换底色\"),\n      icon: mst.Ui.darkness ? \"darkness\" : \"light\",\n      color: mst.Ui.darkness ? mst.Ui.themeColor : void 0,\n      onClick: mst.Ui.setDarkness.bind(mst.Ui, !mst.Ui.darkness)\n    }\n  ), /* @__PURE__ */ import_react.default.createElement(\n    Popover,\n    {\n      placement: \"rightTop\",\n      arrowPointAtCenter: true,\n      footer: null,\n      content: /* @__PURE__ */ import_react.default.createElement(\n        import_react_color.SketchPicker,\n        {\n          color: mst.Ui.themeColor,\n          onChange: setColor\n        }\n      ),\n      visible: colorPabel\n    },\n    /* @__PURE__ */ import_react.default.createElement(\n      ButtonActon,\n      {\n        IconRenders: _IconRenders,\n        Tooltip,\n        title: `${intl(\"点击\")}${colorPabel ? intl(\"关闭\") : intl(\"打开\")} ${intl(\"颜色面板\")}`,\n        color: mst.Ui.themeColor,\n        icon: colorPabel ? \"colorClose\" : \"colorOpen\",\n        onClick: setColorPabel.bind(null, !colorPabel)\n      }\n    )\n  )));\n});\nvar ButtonActon = (0, import_util.CreateComponent)({\n  render: (props) => {\n    const mst = (0, import_context.useMst)();\n    const { Tooltip } = props;\n    if (mst.Ui.disableIcons.indexOf(props.icon) >= 0)\n      return null;\n    const IconRender = (0, import_react.isValidElement)(props.icon) ? props.icon : props.IconRenders[props.icon];\n    return /* @__PURE__ */ import_react.default.createElement(Tooltip, { title: props.title }, /* @__PURE__ */ import_react.default.createElement(\n      \"span\",\n      {\n        style: { color: props.color },\n        className: (0, import_classnames.default)({\n          enable: !props.disable,\n          \"command-btn\": true\n        }),\n        onClick: !props.disable ? props.onClick : void 0\n      },\n      IconRender\n    ));\n  }\n});\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {});\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/context.d.ts",
    "content": "/// <reference types=\"react\" />\nimport { RootInstance } from './type';\nexport declare const Provider: import(\"react\").Provider<RootInstance | null>;\nexport declare function useMst(): RootInstance;\nexport declare const createRootStore: (props: any) => RootInstance;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/context.js",
    "content": "var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/context.tsx\nvar context_exports = {};\n__export(context_exports, {\n  Provider: () => Provider,\n  createRootStore: () => createRootStore,\n  useMst: () => useMst\n});\nmodule.exports = __toCommonJS(context_exports);\nvar import_react = require(\"react\");\nvar import_mobx_keystone = require(\"mobx-keystone\");\nvar import_type = require(\"./type\");\nvar RootStoreContext = (0, import_react.createContext)(null);\nvar Provider = RootStoreContext.Provider;\nfunction useMst() {\n  const store = (0, import_react.useContext)(RootStoreContext);\n  if (store === null) {\n    throw new Error(\"Store cannot be null, please add a context provider\");\n  }\n  return store;\n}\nvar createRootStore = (props) => {\n  var _a, _b;\n  const onIgnoreEdge = (_a = props == null ? void 0 : props.sys) == null ? void 0 : _a.onIgnoreEdge;\n  const newProps = {\n    ...props,\n    sys: {\n      ...props.sys,\n      onIgnoreEdge: void 0,\n      onModelDetail: props.onModelDetail\n    }\n  };\n  const rootStore = (0, import_type.createStore)(newProps);\n  rootStore.setOnReload(props.onReload);\n  rootStore.onIntl = props.onIntl;\n  rootStore.sys.setOnModelDetail((_b = props == null ? void 0 : props.sys) == null ? void 0 : _b.onModelDetail);\n  if (onIgnoreEdge)\n    rootStore.sys.onIgnoreEdge = onIgnoreEdge;\n  rootStore.setUndoManager((0, import_mobx_keystone.undoMiddleware)(rootStore));\n  return rootStore;\n};\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n  Provider,\n  createRootStore,\n  useMst\n});\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/graph/data.d.ts",
    "content": "import { RootInstance } from '../type';\nexport declare const createData: (root: RootInstance) => {\n    id: string;\n    type: string;\n    isKeySharp: boolean;\n    visible: boolean;\n    selected: boolean;\n    showNameOrLabel: boolean;\n    config: {\n        width: number;\n        headerHeight: number;\n        fieldHeight: number;\n        labelSize: number;\n        styleConfig: {\n            naviWidth: number;\n            default: {\n                node: {\n                    fill: string;\n                    shadowColor: string;\n                    shadowBlur: number;\n                    shadowOffsetX: number;\n                    shadowOffsetY: number;\n                    radius: number;\n                    lineWidth: number;\n                    opacity: number;\n                    stroke: string;\n                };\n                edge: {\n                    lineWidth: number;\n                    size: number;\n                    lineAppendWidth: number;\n                    endArrow: {\n                        path: any;\n                    };\n                    startArrow: {\n                        path: any;\n                        d: number;\n                    };\n                    radius: number;\n                    labelCfg: {\n                        autoRotate: boolean;\n                        style: {\n                            fontSize: number;\n                        };\n                    };\n                    stroke: any;\n                };\n            };\n            selected: {\n                node: {\n                    stroke: string;\n                    shadowColor: string;\n                };\n            };\n            isNoModule: {\n                node: {\n                    opacity: number;\n                };\n            };\n            fieldRelation: {\n                node: {\n                    fill: string;\n                    shadowColor: string;\n                    shadowBlur: number;\n                    shadowOffsetX: number;\n                    shadowOffsetY: number;\n                    radius: number;\n                    lineWidth: number;\n                    opacity: number;\n                    stroke: string;\n                };\n                edge: {\n                    lineWidth: number;\n                    size: number;\n                    lineAppendWidth: number;\n                    endArrow: {\n                        path: any;\n                        d: number;\n                    };\n                    startArrow: {\n                        path: any;\n                        d: number;\n                    };\n                    radius: number;\n                    labelCfg: {\n                        autoRotate: boolean;\n                        style: {\n                            fontSize: number;\n                        };\n                    };\n                    stroke: any;\n                };\n            };\n        };\n        colors: {\n            blue: any;\n            white: string;\n            head: any;\n            black: string;\n        };\n    };\n    data: {\n        moduleKey: string;\n        label: string;\n        fields: any[];\n        key: string;\n        name: string;\n        tag: string;\n        aggregateRoot: boolean;\n        aggregateModelKey: string;\n        belongAggregate: string;\n        nodeSize: number;\n    };\n    themeColor: any;\n    darkness: boolean;\n    size: number;\n}[];\nexport declare const createLinks: (root: RootInstance) => any[];\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/graph/data.js",
    "content": "var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/graph/data.tsx\nvar data_exports = {};\n__export(data_exports, {\n  createData: () => createData,\n  createLinks: () => createLinks\n});\nmodule.exports = __toCommonJS(data_exports);\nvar import_style = require(\"./item/style\");\nvar getLength = (length) => {\n  return length >= 20 ? length : 20;\n};\nvar createData = (root) => {\n  const t0 = +new Date();\n  const { style, colors } = (0, import_style.initStyle)({ primaryColor: root.Ui.themeColor });\n  const res = [...root.Models.values()].filter(\n    (a) => !root.sys.dagreLayout || root.sys.dagreLayout && a.aggregateModelKey\n  ).map((m) => {\n    return {\n      id: \"model-\" + m.id,\n      type: \"console-model-Node\",\n      isKeySharp: root.graph.zoom <= 0.4,\n      visible: !!root.sys.checkedKeys.find((a) => a === m.id),\n      selected: m.id === root.sys.currentModel,\n      showNameOrLabel: root.sys.showNameOrLabel,\n      config: {\n        width: 300,\n        headerHeight: 48,\n        fieldHeight: 32,\n        labelSize: 14,\n        styleConfig: style,\n        colors\n      },\n      data: {\n        moduleKey: m.moduleId,\n        label: m.label,\n        fields: m.fields.map((a) => ({\n          // ...getSnapshot(a) ,\n          // relationModel: getSnapshot(a.relationModel)\n          ...a,\n          relationModel: a.relationModel\n        })),\n        key: m.id,\n        name: m.name,\n        tag: \"aggregate\",\n        aggregateRoot: m.aggregateRoot,\n        aggregateModelKey: m.aggregateModelKey,\n        belongAggregate: m.belongAggregate,\n        nodeSize: (48 + getLength(m.fields.length) * 48) / 6 * 6 / 6\n      },\n      themeColor: colors.blue,\n      darkness: root.Ui.darkness,\n      size: (48 + getLength(m.fields.length) * 48) / 6 * 6\n    };\n  }).filter((a) => a.visible);\n  if (res.length > 0)\n    return res.concat([createSysNode()]);\n  return res;\n};\nvar createSysNode = () => {\n  return {\n    id: \"model-SYS-CENTER-POINT\",\n    type: \"circle\",\n    isSys: true,\n    visible: true,\n    isKeySharp: true,\n    size: 10,\n    style: {\n      opacity: 0\n    }\n  };\n};\nvar Relation = {\n  ToOne: \"1:1\",\n  ToMany: \"1:n\",\n  lookup: \"查找\",\n  toOne: \"1:1\",\n  toMany: \"1:n\",\n  Lookup: \"查找\"\n};\nvar createLinks = (root) => {\n  const { style } = (0, import_style.initStyle)({ primaryColor: root.Ui.themeColor });\n  const links = [...root.Models.values()].reduce((pre, model) => {\n    if (!root.sys.checkedKeys.find((a) => a === model.id))\n      return pre;\n    const sysLink = {\n      key: \"model-\" + model.id + \"~model-SYS-CENTER-POINT\",\n      source: \"model-\" + model.id,\n      // target: 'model-' + relationModel!.id,\n      // visible: false,\n      isSys: true,\n      // style: {\n      //   visible: false,\n      // },\n      target: \"model-SYS-CENTER-POINT\",\n      type: \"console-line\",\n      style: {\n        opacity: 0\n      }\n    };\n    const fieldLinks = model.fields.reduce((fPre, field, i) => {\n      var _a;\n      const tempfPre = fPre;\n      if (Array.isArray(field.typeMeta)) {\n        const arr = field.typeMeta.forEach((element) => {\n          const isRelation = element.type === \"Relation\" && (element == null ? void 0 : element.relationModel);\n          if (isRelation) {\n            if (root.sys.onIgnoreEdge && root.sys.onIgnoreEdge(field))\n              return fPre;\n            const relationModel = root.findModelByName(\n              element.relationModel\n            );\n            if (!relationModel || !root.sys.checkedKeys.find(\n              (a) => a === relationModel.id\n            ))\n              return fPre;\n            const isTo = true;\n            const l = model.fields.length;\n            const sourceAnchor = !isTo ? i + 2 : 2 + i + l;\n            const targetTable = [...root.Models.values()].find(\n              (pre2) => pre2.id === relationModel.id\n            );\n            let targetTableFieldIndex = (targetTable == null ? void 0 : targetTable.fields.findIndex(\n              (item) => item.name === element.field\n            )) + 2;\n            const relationEdge = {\n              key: \"model-\" + model.id + \"~model-\" + relationModel.id,\n              source: \"model-\" + model.id,\n              target: \"model-\" + relationModel.id,\n              sourceAnchor,\n              targetAnchor: targetTableFieldIndex,\n              fieldIndex: i,\n              tooltip: `<div>从 <span class='text'>${relationModel == null ? void 0 : relationModel.label}</span> 到 <span class='text'>${model == null ? void 0 : model.label}=> ${element.field}</span> ${Relation[field.type] || field.type} 关系</div>`,\n              fieldsLength: l,\n              style: style.fieldRelation.edge,\n              type: \"console-line\",\n              // label: field.type,\n              labelAutoRotate: true,\n              loopCfg: {\n                // position: 'top',\n                clockwise: true,\n                // dist: 200,\n                dist: 100\n              }\n            };\n            tempfPre.push(relationEdge);\n            return tempfPre;\n          } else\n            return tempfPre;\n        });\n      } else {\n        const isRelation = field.typeMeta && field.typeMeta.type === \"Relation\" && ((_a = field.typeMeta) == null ? void 0 : _a.relationModel);\n        if (isRelation) {\n          if (root.sys.onIgnoreEdge && root.sys.onIgnoreEdge(field))\n            return fPre;\n          const relationModel = root.findModelByName(\n            field.typeMeta.relationModel\n          );\n          if (!relationModel || !root.sys.checkedKeys.find((a) => a === relationModel.id))\n            return fPre;\n          const isTo = true;\n          const l = model.fields.length;\n          const sourceAnchor = !isTo ? i + 2 : 2 + i + l;\n          return [\n            ...fPre,\n            {\n              key: \"model-\" + model.id + \"~model-\" + relationModel.id,\n              source: \"model-\" + model.id,\n              target: \"model-\" + relationModel.id,\n              sourceAnchor,\n              // // targetAnchor: sourceAnchor,\n              targetAnchor: model.id === relationModel.id ? sourceAnchor - 1 : void 0,\n              fieldIndex: i,\n              tooltip: `<div>从 <span class='text'>${relationModel == null ? void 0 : relationModel.label}</span> 到 <span class='text'>${model == null ? void 0 : model.label}</span> ${Relation[field.type] || field.type} 关系</div>`,\n              fieldsLength: l,\n              style: style.default.edge,\n              type: \"console-line\",\n              label: Relation[field.type] || field.type,\n              labelAutoRotate: true,\n              loopCfg: {\n                // position: 'top',\n                clockwise: true,\n                // dist: 200,\n                dist: 100\n              },\n              labelCfg: {\n                style: {\n                  stroke: \"#fff\",\n                  lineWidth: 30\n                }\n              }\n            }\n          ];\n        }\n      }\n      return fPre;\n    }, []);\n    return [...pre, ...fieldLinks, sysLink];\n  }, []);\n  return links.filter((a) => !!a);\n};\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n  createData,\n  createLinks\n});\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/graph/event.d.ts",
    "content": "import { RootInstance } from '../type';\ndeclare const _default: (graph: Graph, mst: RootInstance) => void;\nexport default _default;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/graph/event.js",
    "content": "var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/graph/event.tsx\nvar event_exports = {};\n__export(event_exports, {\n  default: () => event_default\n});\nmodule.exports = __toCommonJS(event_exports);\nvar import_lodash = require(\"lodash\");\nvar event_default = (graph, mst) => {\n  const setZoom = (0, import_lodash.debounce)((zoom) => {\n    mst.graph.setZoom(zoom);\n  }, 100);\n  graph.on(\n    \"wheelzoom\",\n    (0, import_lodash.throttle)(() => {\n      mst.graph.setZoom(graph.getZoom());\n    }, 200)\n  );\n  graph.on(\n    \"beforepaint\",\n    (0, import_lodash.throttle)(() => {\n      if (graph[\"isLayouting\"]) {\n        return;\n      }\n      const isExporting = graph[\"isExporting\"];\n      const gWidth = graph.get(\"width\");\n      const gHeight = graph.get(\"height\");\n      const topLeft = graph.getPointByCanvas(0, 0);\n      const bottomRight = graph.getPointByCanvas(gWidth, gHeight);\n      graph.getNodes().filter((a) => !a[\"isSys\"]).forEach((node) => {\n        const model = node.getModel();\n        if (model.isSys)\n          return;\n        if (!model.visible) {\n          graph.hideItem(node);\n        }\n        if (isExporting)\n          return;\n        const _data = model[\"data\"];\n        const config = model[\"config\"];\n        const h = (config.headerHeight + _data.fields.length * config.fieldHeight + 4) / 2;\n        const w = config.width / 2;\n        if (!model.selected && (model.x + w < topLeft.x - 200 || model.x - w > bottomRight.x || model.y + h < topLeft.y || model.y - h > bottomRight.y)) {\n          node.getContainer().hide();\n          node.getEdges().forEach((a) => a.hide());\n        } else {\n          node.getContainer().show();\n          node.getEdges().forEach((a) => a.show());\n        }\n      });\n      const endLayout = graph[\"endLayout\"];\n      if (endLayout || 1) {\n        graph.getEdges().forEach((edge) => {\n          let sourceNode = edge.get(\"sourceNode\");\n          let targetNode = edge.get(\"targetNode\");\n          const targetModel = targetNode.getModel();\n          const edgeModel = edge.getModel();\n          if ((targetModel.visible || sourceNode.getModel().visible) && graph.getZoom() >= 0.3) {\n            if (!edgeModel.self && !edgeModel.isSys) {\n              const isTo = sourceNode.getModel().x < targetNode.getModel().x;\n              const i = edgeModel.fieldIndex;\n              const l = edgeModel.fieldsLength;\n              const sourceAnchor = !isTo ? i + 2 : 2 + i + l;\n              graph.updateItem(edge, { sourceAnchor });\n            }\n          }\n          if (!targetModel.visible || !sourceNode.getModel().visible) {\n            edge.hide();\n          }\n          if (!sourceNode.getContainer().get(\"visible\") && !targetNode.getContainer().get(\"visible\")) {\n            edge.hide();\n          } else {\n            edge.show();\n          }\n        });\n      }\n    }, 300)\n  );\n  graph.on(\"canvas:dragstart\", () => {\n    const canvasElement = graph.get(\"canvas\").get(\"el\");\n    canvasElement.style.cursor = \"grabbing\";\n  });\n  graph.on(\"canvas:dragend\", () => {\n    const canvasElement = graph.get(\"canvas\").get(\"el\");\n    canvasElement.style.cursor = \"grab\";\n  });\n  graph.on(\"node:click\", (ev) => {\n    var _a, _b, _c, _d;\n    const { target } = ev;\n    if (target.attr(\"click\")) {\n      const click = target.attr(\"click\");\n      if (click === \"modelEdit\") {\n        if (mst.sys.onModelDetail) {\n          mst.sys.onModelDetail(ev.item.getModel().data);\n        }\n      }\n      if (click === \"arrangeShow\") {\n        mst.arrangeShow(target.attr(\"arg\"));\n      }\n      if ((_b = (_a = target.attr(\"arg\")) == null ? void 0 : _a.relationModel) == null ? void 0 : _b.id) {\n        mst.sys.centerCurrentModel([\n          (_d = (_c = target.attr(\"arg\")) == null ? void 0 : _c.relationModel) == null ? void 0 : _d.id\n        ]);\n      }\n    } else {\n      if (ev.item.getModel().id) {\n        const id = ev.item.getModel().id;\n        const modelId = id.replace(\"model-\", \"\");\n        mst.sys.setCurrentModel([modelId]);\n      }\n    }\n  });\n  graph.on(\"node:mouseout\", (ev) => {\n    const { item } = ev;\n    const autoPaint = graph.get(\"autoPaint\");\n    graph.setAutoPaint(false);\n    item.getContainer().findAll((sharp) => sharp.attr(\"fieldHover\")).forEach((sharp) => {\n      if (sharp.attr(\"fill-old\")) {\n        sharp.attr(\"fill\", sharp.attr(\"fill-old\"));\n        sharp.attr(\"fill-old\", void 0);\n      }\n      if (sharp.attr(\"opacity-old\")) {\n        sharp.attr(\"opacity\", sharp.attr(\"opacity-old\"));\n        sharp.attr(\"opacity-old\", void 0);\n      }\n    });\n    graph.paint();\n    graph.setAutoPaint(autoPaint);\n  });\n  graph.on(\"node:mousemove\", (ev) => {\n    const { target, item } = ev;\n    const autoPaint = graph.get(\"autoPaint\");\n    graph.get(\"canvas\").set(\"localRefresh\", false);\n    graph.setAutoPaint(false);\n    const fieldName = target.attr(\"fieldName\");\n    item.getContainer().findAll((sharp) => sharp.attr(\"fieldHover\")).forEach((sharp) => {\n      if (sharp.attr(\"fill-old\")) {\n        sharp.attr(\"fill\", sharp.attr(\"fill-old\"));\n        sharp.attr(\"fill-old\", void 0);\n      }\n      if (sharp.attr(\"fieldHoverShow\")) {\n        sharp.attr(\"opacity\", 0);\n      }\n      if (sharp.attr(\"fieldName\") === fieldName) {\n        sharp.attr(\"fill-old\", sharp.attr(\"fill\"));\n        sharp.attr(\n          \"fill\",\n          sharp.attr(\"fieldBg\") ? \"rgb(204,204,204)\" : \"white\"\n        );\n        if (sharp.attr(\"fieldHoverShow\")) {\n          sharp.attr(\"opacity-old\", sharp.attr(\"opacity\"));\n          sharp.attr(\"opacity\", 1);\n        }\n      }\n    });\n    graph.paint();\n    graph.setAutoPaint(autoPaint);\n  });\n  graph.on(\"node:dragend\", (ev) => {\n    const node = ev.item;\n    const edges = node.getEdges();\n    edges.forEach((edge) => {\n      let sourceNode = edge.get(\"sourceNode\");\n      let targetNode = edge.get(\"targetNode\");\n      const targetModel = targetNode.getModel();\n      const edgeModel = edge.getModel();\n      if ((targetModel.visible || sourceNode.getModel().visible) && graph.getZoom() >= 0.3) {\n        if (!edgeModel.self && !edgeModel.isSys) {\n          const isTo = sourceNode.getModel().x < targetNode.getModel().x;\n          const i = edgeModel.fieldIndex;\n          const l = edgeModel.fieldsLength;\n          const sourceAnchor = !isTo ? i + 2 : 2 + i + l;\n          graph.updateItem(edge, { sourceAnchor });\n        }\n      }\n      if (!targetModel.visible || !sourceNode.getModel().visible) {\n        edge.hide();\n      }\n      if (!sourceNode.getContainer().get(\"visible\") && !targetNode.getContainer().get(\"visible\")) {\n        edge.hide();\n      } else {\n        edge.show();\n      }\n    });\n  });\n};\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {});\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/graph/hooks.d.ts",
    "content": "import { Graph } from '@antv/g6/dist/g6.min.js';\nexport declare type IUseUpdateItem = {\n    currentModel: string;\n    graph: Graph;\n    showNameOrLabel: boolean;\n    zoom: number;\n    checkNum: number;\n    themeColor: string;\n    darkness: boolean;\n};\nexport declare const useUpdateItem: ({ currentModel, graph, showNameOrLabel, zoom, themeColor, darkness }: IUseUpdateItem) => void;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/graph/hooks.js",
    "content": "var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/graph/hooks.tsx\nvar hooks_exports = {};\n__export(hooks_exports, {\n  useUpdateItem: () => useUpdateItem\n});\nmodule.exports = __toCommonJS(hooks_exports);\nvar import_react = require(\"react\");\nvar import_lodash = require(\"lodash\");\nvar useUpdateItem = ({\n  currentModel,\n  graph,\n  showNameOrLabel,\n  zoom,\n  themeColor,\n  darkness\n}) => {\n  (0, import_react.useEffect)(() => {\n    const modelId = \"model-\" + currentModel;\n    if (graph) {\n      const gnodes = graph.getNodes();\n      if (!gnodes.length)\n        return;\n      const t0 = +new Date();\n      const isKeySharp = zoom <= 0.4;\n      const isCardSharp = zoom <= 0.1;\n      gnodes.forEach((node) => {\n        if (!node.isSys) {\n          const nodeModel = node.getModel();\n          const nodeId = nodeModel.id;\n          const data = nodeModel ? nodeModel.data : void 0;\n          const isNoModule = (modelId || \"\").indexOf(\"module-\") >= 0 && (data && data.moduleKey) !== modelId;\n          const currStates = {\n            selected: nodeModel.selected,\n            noSelected: nodeModel.noSelected,\n            isNoModule: nodeModel.isNoModule,\n            isKeySharp: nodeModel.isKeySharp,\n            isCardSharp: nodeModel.isCardSharp,\n            showNameOrLabel: nodeModel.showNameOrLabel,\n            themeColor: nodeModel.themeColor,\n            darkness: nodeModel.darkness\n          };\n          const nextStates = {\n            selected: nodeId === modelId,\n            noSelected: nodeId !== modelId,\n            isNoModule,\n            isKeySharp,\n            isCardSharp,\n            showNameOrLabel,\n            themeColor,\n            darkness\n          };\n          const change = !(0, import_lodash.isEqual)(currStates, nextStates);\n          if (change) {\n            graph.updateItem(node, nextStates);\n          }\n        }\n      });\n      const t1 = +new Date();\n    }\n  }, [\n    currentModel,\n    showNameOrLabel,\n    zoom >= 0.4,\n    zoom >= 0.1,\n    zoom !== 0,\n    themeColor,\n    darkness\n  ]);\n};\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n  useUpdateItem\n});\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/graph/index.d.ts",
    "content": "/// <reference types=\"react\" />\nimport './model.scss';\ndeclare const _default: () => JSX.Element;\nexport default _default;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/graph/index.js",
    "content": "var __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n  // If the importer is in node compatibility mode or this is not an ESM\n  // file that has been converted to a CommonJS file using a Babel-\n  // compatible transform (i.e. \"__esModule\" has not been set), then set\n  // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n  isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n  mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/graph/index.tsx\nvar graph_exports = {};\n__export(graph_exports, {\n  default: () => graph_default\n});\nmodule.exports = __toCommonJS(graph_exports);\nvar import_react = __toESM(require(\"react\"));\nvar import_g6_min = __toESM(require(\"@antv/g6/dist/g6.min.js\"));\nvar import_mobx_keystone = require(\"mobx-keystone\");\nvar import_ahooks = require(\"ahooks\");\nvar import_context = require(\"../context\");\nvar import_item = __toESM(require(\"./item\"));\nvar import_mobx_react = require(\"mobx-react\");\nvar import_model_toolbar = __toESM(require(\"../components/model-toolbar\"));\nvar import_model = require(\"./model.scss\");\nvar import_event = __toESM(require(\"./event\"));\nvar import_style = require(\"./item/style\");\nvar import_hooks = require(\"./hooks\");\nvar graph_default = (0, import_mobx_react.observer)(() => {\n  const { setRef, erdGraph, containerRef } = useLocal();\n  return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(import_model_toolbar.default, { graph: erdGraph }), /* @__PURE__ */ import_react.default.createElement(\"div\", { ref: setRef, className: \"graph\" }));\n});\nvar useLocal = () => {\n  const mst = (0, import_context.useMst)();\n  const containerRef = (0, import_react.useRef)(null);\n  const erdGraphRef = (0, import_react.useRef)(null);\n  const miniMapRef = (0, import_react.useRef)(null);\n  (0, import_react.useEffect)(() => {\n    (0, import_item.default)(mst);\n  }, []);\n  const checkRef = (0, import_react.useRef)(+new Date());\n  const size = (0, import_ahooks.useSize)(containerRef) || {};\n  (0, import_react.useEffect)(() => {\n    if (!erdGraphRef.current) {\n      const Obj = render(containerRef.current, mst.Nodes, mst.edges, mst);\n      erdGraphRef.current = Obj.graph;\n      miniMapRef.current = Obj.miniMap;\n      async(() => {\n        mst.graph.setG6Graph(erdGraphRef.current);\n      });\n    } else {\n      layout(erdGraphRef.current, mst.Nodes, mst.edges, mst);\n    }\n  }, [JSON.stringify(mst.sys.checkedKeys), mst]);\n  (0, import_react.useEffect)(() => {\n    if (erdGraphRef.current && size.width && size.height) {\n      if (!erdGraphRef.current[\"isLayouting\"]) {\n        const documentHeight = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;\n        const height = mst.sys.height === \"100%\" ? documentHeight - 45 : mst.sys.height - 45;\n        erdGraphRef.current.changeSize(size.width, height);\n        erdGraphRef.current.fitView(0);\n      }\n    }\n  }, [size.height, size.width]);\n  const setRef = (0, import_react.useCallback)(\n    (ref) => {\n      containerRef.current = ref;\n    },\n    [containerRef]\n  );\n  (0, import_react.useEffect)(() => {\n    const graph = erdGraphRef.current;\n    if (graph) {\n      const gwidth = graph.get(\"width\");\n      const gheight = graph.get(\"height\");\n      const point = graph.getCanvasByPoint(gwidth / 2, gheight / 2);\n      graph.zoomTo(mst.graph.zoom, point);\n    }\n  }, [mst.graph.zoom]);\n  const reloadRef = (0, import_react.useRef)(false);\n  (0, import_react.useEffect)(() => {\n    const graph = erdGraphRef.current;\n    if (graph) {\n      if (!reloadRef.current) {\n        reloadRef.current = true;\n        return;\n      }\n      const isLargar = graph.getNodes().length > 50;\n      graph.updateLayout({\n        type: mst.sys.dagreLayout ? \"dagre\" : \"fruchterman\",\n        // condense: true,\n        // cols: 3,\n        workerEnabled: true,\n        linkDistance: 0,\n        pixelRatio: 2,\n        // alphaDecay: isLargar ? 0.3 : 0.15,\n        // preventOverlap: true,\n        // clustering: true,\n        clusterGravity: 100,\n        speed: 2,\n        gravity: 100,\n        gpuEnabled: true,\n        // collideStrength: 0.5,\n        //   type: 'dagre',\n        //   // controlPoints: true,\n        //   // nodeSize: [40, 20],\n        // nodesep: 1,\n        // ranksep: 1,\n        // align: 'DL',\n        // nodesep: 100, // 节点水平间距(px)\n        // ranksep: 200, // 每一层节点之间间距\n        // nodeSpacing: isLargar ? -100 : -180,\n        onLayoutEnd: () => {\n          async(() => {\n            graph[\"isLayouting\"] = false;\n            graph.fitView(0);\n            (0, import_mobx_keystone.withoutUndo)(() => {\n              mst.graph.setZoom(graph.getZoom());\n            });\n          }, 1e3);\n        }\n      });\n      if (mst.sys.dagreLayout) {\n        async(() => {\n          graph.fitView(0);\n        }, 1e3);\n      }\n    }\n  }, [mst.sys.dagreLayout]);\n  (0, import_hooks.useUpdateItem)({\n    currentModel: mst.sys.currentModel,\n    graph: erdGraphRef.current,\n    showNameOrLabel: mst.sys.showNameOrLabel,\n    zoom: mst.graph.zoom,\n    checkNum: checkRef.current,\n    themeColor: mst.Ui.themeColor,\n    darkness: mst.Ui.darkness\n  });\n  (0, import_react.useEffect)(() => {\n    var _a, _b;\n    if (erdGraphRef.current && miniMapRef.current) {\n      if (!mst.sys.disableMiniMap) {\n        (_a = erdGraphRef.current) == null ? void 0 : _a.removePlugin(miniMapRef.current);\n      } else {\n        const miniMap = new import_g6_min.default.Minimap({\n          type: \"delegate\",\n          viewportClassName: \"g6-minimap-viewport-erd\",\n          delegateStyle: {\n            fill: \"rgba(0,0,0,0.10)\"\n          }\n        });\n        miniMapRef.current = miniMap;\n        (_b = erdGraphRef.current) == null ? void 0 : _b.addPlugin(miniMap);\n      }\n    }\n  }, [mst.sys.disableMiniMap]);\n  return {\n    containerRef,\n    setRef,\n    erdGraph: erdGraphRef.current\n  };\n};\nvar render = (container, nodes, edges, mst) => {\n  const documentHeight = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;\n  const height = mst.sys.height === \"100%\" ? documentHeight - 45 : mst.sys.height - 45;\n  const styleConfig = (0, import_style.initStyle)({ primaryColor: mst.Ui.themeColor }).style;\n  const isLargar = nodes.length > 50;\n  const miniMap = new import_g6_min.default.Minimap({\n    type: \"delegate\",\n    viewportClassName: \"g6-minimap-viewport-erd\",\n    delegateStyle: {\n      fill: \"rgba(0,0,0,0.10)\"\n    }\n  });\n  const graph = new import_g6_min.default.Graph({\n    height,\n    width: container.offsetWidth - 20,\n    container,\n    fitView: true,\n    // workerEnabled: true,\n    fitCenter: true,\n    enabledStack: true,\n    animate: true,\n    gpuEnabled: true,\n    pixelRatio: 2,\n    // pixelRatio: 1,\n    // animate: true,\n    defaultEdge: styleConfig.default.edge,\n    edgeStateStyles: {\n      default: styleConfig.default.edge,\n      active: {\n        opacity: 1,\n        size: 3\n      }\n    },\n    minZoom: 0.01,\n    maxZoom: 1.1,\n    layout: {\n      type: mst.sys.dagreLayout ? \"dagre\" : \"force\",\n      condense: true,\n      cols: 3,\n      // gpuEnabled: true,\n      workerEnabled: true,\n      // workerScriptURL:'',\n      linkDistance: 0,\n      alphaDecay: isLargar ? 0.3 : void 0,\n      preventOverlap: true,\n      // collideStrength: 0.5,\n      nodeSpacing: isLargar ? -100 : -180,\n      onLayoutEnd: () => {\n        graph[\"isLayouting\"] = false;\n        graph[\"endLayout\"] = true;\n        graph.fitView(0);\n        graph[\"endLayout\"] = false;\n        (0, import_mobx_keystone.withoutUndo)(() => {\n          mst.graph.setZoom(graph.getZoom());\n        });\n      }\n    },\n    modes: {\n      default: [\n        \"drag-canvas\",\n        {\n          type: \"zoom-canvas\",\n          minZoom: 1e-4,\n          // enableOptimize: true,\n          // optimizeZoom: true,\n          maxZoom: 2.1\n          // enableOptimize: true,\n        },\n        {\n          type: \"drag-node\"\n          // enableDelegate: true,\n        },\n        {\n          type: \"edge-tooltip\",\n          formatText: (model) => {\n            return model.tooltip;\n          },\n          offset: 10\n        }\n        // {\n        //   type: 'activate-relations',\n        //   resetSelected: true,\n        //   trigger: 'click'\n        // },\n      ]\n    },\n    plugins: [\n      // toolbar,\n      // ...[mst.sys.disableMiniMap ? [] : [miniMap]]\n    ]\n  });\n  (0, import_event.default)(graph, mst);\n  graph.data({ nodes, edges });\n  graph[\"isLayouting\"] = true;\n  graph.render();\n  graph.fitView(0);\n  if (mst.sys.dagreLayout) {\n    async(() => {\n      graph.fitView(0);\n      (0, import_mobx_keystone.withoutUndo)(() => {\n        mst.graph.setZoom(graph.getZoom());\n      });\n    });\n  }\n  return { graph, miniMap };\n};\nvar layout = (graph, nodes, edges, mst) => {\n  graph.changeData({ nodes, edges });\n  return graph;\n};\nvar async = (fun, time = 500) => {\n  setTimeout(fun, time);\n};\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {});\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/graph/item/index.d.ts",
    "content": "declare const _default: (mst: any) => void;\nexport default _default;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/graph/item/index.js",
    "content": "var __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n  // If the importer is in node compatibility mode or this is not an ESM\n  // file that has been converted to a CommonJS file using a Babel-\n  // compatible transform (i.e. \"__esModule\" has not been set), then set\n  // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n  isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n  mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/graph/item/index.tsx\nvar item_exports = {};\n__export(item_exports, {\n  default: () => item_default\n});\nmodule.exports = __toCommonJS(item_exports);\nvar import_model_node = require(\"./model-node\");\nvar import_line = __toESM(require(\"./line\"));\nvar item_default = (mst) => {\n  (0, import_model_node.register)(mst);\n  (0, import_line.default)();\n};\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {});\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/graph/item/line.d.ts",
    "content": "declare const _default: () => void;\nexport default _default;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/graph/item/line.js",
    "content": "var __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n  // If the importer is in node compatibility mode or this is not an ESM\n  // file that has been converted to a CommonJS file using a Babel-\n  // compatible transform (i.e. \"__esModule\" has not been set), then set\n  // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n  isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n  mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/graph/item/line.tsx\nvar line_exports = {};\n__export(line_exports, {\n  default: () => line_default\n});\nmodule.exports = __toCommonJS(line_exports);\nvar import_g6_min = __toESM(require(\"@antv/g6/dist/g6.min.js\"));\nvar line_default = () => {\n  import_g6_min.default.registerEdge(\n    \"console-line\",\n    {\n      labelAutoRotate: true,\n      label: \"cubic-vertical\"\n    },\n    \"line\"\n  );\n  import_g6_min.default.registerEdge(\n    \"console-arrange-line\",\n    {\n      labelAutoRotate: true\n    },\n    \"line\"\n  );\n};\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {});\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/graph/item/model-node.d.ts",
    "content": "export declare const register: (mst: any) => void;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/graph/item/model-node.js",
    "content": "var __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n  // If the importer is in node compatibility mode or this is not an ESM\n  // file that has been converted to a CommonJS file using a Babel-\n  // compatible transform (i.e. \"__esModule\" has not been set), then set\n  // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n  isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n  mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/graph/item/model-node.tsx\nvar model_node_exports = {};\n__export(model_node_exports, {\n  register: () => register\n});\nmodule.exports = __toCommonJS(model_node_exports);\nvar import_g6_min = __toESM(require(\"@antv/g6/dist/g6.min.js\"));\nvar import_type = require(\"./type\");\nvar import_util = require(\"./util\");\nvar register = (mst) => {\n  import_g6_min.default.registerNode(\n    \"console-model-Node\",\n    {\n      getAnchorPoints(cfg) {\n        const { config, data } = cfg;\n        const { fields } = data;\n        const h = config.headerHeight + (0, import_util.getLength)(fields.length) * config.fieldHeight;\n        return [\n          [0, config.headerHeight / 2 / h],\n          // 左上方\n          [1, config.headerHeight / 2 / h],\n          // 右上方\n          ...fields.map((_, index) => {\n            const x = 0;\n            const l = config.headerHeight + config.fieldHeight * (index + 1) - config.fieldHeight / 2;\n            const y = l / h;\n            return [x, y];\n          }),\n          ...fields.map((_, index) => {\n            const x = 1;\n            const l = config.headerHeight + config.fieldHeight * (index + 1) - config.fieldHeight / 2;\n            const y = l / h;\n            return [x, y];\n          }),\n          ...(0, import_util.getTopAnch)(50),\n          ...(0, import_util.getBottomAnch)(50),\n          ...(0, import_util.getLeftAnch)(100),\n          ...(0, import_util.getRightAnch)(100)\n        ];\n      },\n      update(cfg, item) {\n        const whiteBg = \"rgba(7,10,26,0.06)\";\n        const {\n          isKeySharp,\n          active,\n          selected,\n          into,\n          inactive,\n          isCardSharp,\n          out,\n          isNoModule,\n          showNameOrLabel,\n          config,\n          themeColor,\n          darkness\n        } = cfg;\n        const { colors } = config;\n        const group = item.getContainer();\n        const children = group.get(\"children\");\n        const bg = darkness ? themeColor : whiteBg;\n        const font = darkness ? colors.white : themeColor;\n        const mFront = darkness ? colors.white : themeColor;\n        children.forEach((s) => {\n          const id = s.attr(\"id\");\n          switch (id) {\n            case \"keySharp\":\n              (0, import_util.setNodeStateAttr)(\"default\", s, cfg);\n              inactive && (0, import_util.setNodeStateAttr)(\"inactive\", s, cfg);\n              active && (0, import_util.setNodeStateAttr)(\"active\", s, cfg);\n              into && (0, import_util.setNodeStateAttr)(\"into\", s, cfg);\n              out && (0, import_util.setNodeStateAttr)(\"out\", s, cfg);\n              if (isCardSharp) {\n                (0, import_util.setNodeStateAttr)(\"cardSharp\", s, cfg);\n                if (!s.attr(\"old_fill\")) {\n                  s.attr(\"old_fill\", s.attr(\"fill\"));\n                }\n              } else {\n                if (s.attr(\"old_fill\")) {\n                  s.attr(\"fill\", s.attr(\"old_fill\"));\n                }\n              }\n              if (cfg.data.aggregateModelKey || cfg.data.aggregateRoot) {\n                s.attr(\"stroke\", themeColor);\n                s.attr(\"shadowColor\", themeColor);\n              }\n              selected && (0, import_util.setNodeStateAttr)(\"selected\", s, cfg);\n              break;\n            case \"headerlabel1.1\":\n            case \"headerlabel1.2\":\n              s.set(\n                \"visible\",\n                !cfg.isKeySharp && active && !cfg.isCardSharp\n              );\n              break;\n            case \"headerlabel0\":\n            case \"headerlabel1\":\n              const fieldLable1 = s.attr(\"fieldLable\");\n              if (fieldLable1) {\n                s.attr(\n                  \"text\",\n                  showNameOrLabel ? fieldLable1 : s.attr(\"nameLable\")\n                );\n              }\n              s.set(\n                \"visible\",\n                !cfg.isKeySharp && !cfg.isCardSharp\n              );\n              s.attr(\n                \"fill\",\n                selected && !darkness ? cfg.config.styleConfig.selected.node.stroke : font\n              );\n              break;\n            case \"header\":\n              s.attr(\n                \"fill\",\n                selected && darkness ? cfg.config.styleConfig.selected.node.stroke : bg\n              );\n              s.set(\n                \"visible\",\n                !cfg.isCardSharp && !cfg.isKeySharp\n              );\n              break;\n            case \"headerlabel2\":\n            case \"headerlabel3\":\n              const _showNameOrLabel = s.get(\"showNameOrLabel\");\n              s.attr(\"fill\", themeColor);\n              if (_showNameOrLabel && showNameOrLabel) {\n                s.set(\"visible\", cfg.isKeySharp && !isCardSharp);\n              } else {\n                if (!_showNameOrLabel && !showNameOrLabel)\n                  s.set(\n                    \"visible\",\n                    cfg.isKeySharp && !isCardSharp\n                  );\n                else {\n                  s.set(\"visible\", false);\n                }\n              }\n              break;\n            case \"field\":\n              const isInactive = inactive && !into && !out && !active ? 0.2 : 1;\n              const isO = !cfg.isKeySharp && !s.attr(\"fieldHoverShow\") ? isInactive : 0;\n              s.set(\"visible\", !cfg.isKeySharp);\n              const fieldLable = s.attr(\"fieldLable\");\n              if (fieldLable) {\n                s.attr(\n                  \"text\",\n                  showNameOrLabel ? fieldLable : s.attr(\"nameLable\")\n                );\n              }\n              if (!!s.get(\"themeColor\")) {\n                s.attr(\n                  \"fill\",\n                  selected ? cfg.config.styleConfig.selected.node.stroke : themeColor\n                );\n              }\n              break;\n            case \"field-text\":\n              s.set(\"visible\", !cfg.isKeySharp);\n            case \"field-line\":\n              s.set(\"visible\", !cfg.isKeySharp);\n              break;\n            case \"themeColor\":\n              s.attr(\n                \"fill\",\n                selected ? cfg.config.styleConfig.selected.node.stroke : themeColor\n              );\n              break;\n            default:\n              break;\n          }\n        });\n        if (cfg.hide) {\n          item.hide();\n        } else {\n          item.show();\n        }\n      },\n      render(cfg, group) {\n        const {\n          config,\n          data,\n          selected,\n          showNameOrLabel,\n          themeColor,\n          darkness\n        } = cfg;\n        const whiteBg = \"rgba(7,10,26,0.06)\";\n        const { colors } = config;\n        const bg = darkness ? themeColor : whiteBg;\n        const font = darkness ? colors.white : themeColor;\n        const mFront = darkness ? colors.white : themeColor;\n        const nodeColors = { bg, font, mFront };\n        group.addShape(\"rect\", {\n          visible: !cfg.isKeySharp,\n          name: data.key,\n          draggable: true,\n          attrs: {\n            y: -((0, import_util.getLength)(data.fields.length) * config.fieldHeight / 2) - config.headerHeight / 2,\n            x: -(config.width / 2),\n            width: config.width,\n            height: config.headerHeight,\n            radius: [10, 10, 0, 0],\n            // text: data.label,\n            id: \"header\",\n            // fontSize: config.fieldHeight - 12,\n            // opacity: !cfg.isKeySharp ? 1 : 0,\n            className: \"header\",\n            shadowColor: \"rgba(0,0,0,0.06)\",\n            cursor: \"move\",\n            // shadowBlur: 1,\n            // shadowOffsetX: 1,\n            // shadowOffsetY: 2,\n            // radius: [2, 4],\n            fill: selected ? config.styleConfig.selected.node.stroke : bg\n          }\n        });\n        group.addShape(\"text\", {\n          visible: !cfg.isKeySharp,\n          name: data.key,\n          fontFamily: \"\",\n          draggable: true,\n          attrs: {\n            // fontFamily: 'iconFont',\n            x: -(config.width / 2) + 20,\n            y: -((0, import_util.getLength)(data.fields.length) * config.fieldHeight / 2),\n            text: showNameOrLabel ? data.name : data.label,\n            fieldLable: data.name,\n            nameLable: data.label,\n            // text: '\\ue6b2',\n            id: \"headerlabel1\",\n            cursor: \"move\",\n            fontSize: config.fieldHeight / 2,\n            // opacity: !cfg.isKeySharp ? 1 : 0,\n            className: \"headerlabel\",\n            textBaseline: \"middle\",\n            textAlign: \"left\",\n            fontWeight: 20,\n            // radius: [2, 4],\n            fill: nodeColors.mFront\n          }\n        });\n        cfg.data.aggregateModelKey && group.addShape(\"text\", {\n          visible: cfg.data.aggregateModelKey,\n          name: data.key,\n          fontFamily: \"\",\n          draggable: true,\n          attrs: {\n            fontFamily: \"iconFont\",\n            x: config.width / 2 - 100,\n            y: -((0, import_util.getLength)(data.fields.length) * config.fieldHeight / 2),\n            text: \"聚合关系\",\n            arg: cfg.data.aggregateModelKey,\n            // text: cfg.data.aggregateModelKey,\n            // text: '\\ue6b2',\n            id: \"headerlabel1\",\n            cursor: \"pointer\",\n            click: \"arrangeShow\",\n            // cursor: 'move',\n            fontSize: config.labelSize,\n            // opacity: !cfg.isKeySharp ? 1 : 0,\n            className: \"headerlabel\",\n            textBaseline: \"middle\",\n            textAlign: \"left\",\n            // radius: [2, 4],\n            fill: nodeColors.font\n          }\n        });\n        group.addShape(\"text\", {\n          visible: !cfg.isKeySharp,\n          name: data.key,\n          fontFamily: \"\",\n          draggable: true,\n          attrs: {\n            fontFamily: \"iconFont\",\n            x: config.width / 2 - 40,\n            y: -((0, import_util.getLength)(data.fields.length) * config.fieldHeight / 2),\n            text: \"查看\",\n            // text: '\\ue6b2',\n            id: \"headerlabel1\",\n            cursor: \"pointer\",\n            click: \"modelEdit\",\n            // cursor: 'move',\n            fontSize: config.labelSize,\n            // opacity: !cfg.isKeySharp ? 1 : 0,\n            className: \"headerlabel\",\n            textBaseline: \"middle\",\n            textAlign: \"left\",\n            // radius: [2, 4],\n            fill: nodeColors.font\n          }\n        });\n        const nameList = [data.label];\n        const height = config.headerHeight + (data.fields.length >= 12 ? data.fields.length : 12) * config.fieldHeight;\n        const nameLength = nameList.length;\n        nameList.forEach((nameText, index) => {\n          group.addShape(\"text\", {\n            visible: cfg.isKeySharp && !showNameOrLabel && !cfg.isCardSharp,\n            name: nameText,\n            showNameOrLabel: false,\n            draggable: true,\n            attrs: {\n              x: 0,\n              y: -height / 2 + height / (nameLength + 1) * (index + 1),\n              fontSize: config.width / 5,\n              text: nameText,\n              // opacity: index === nameLength - 1 ? 1 : 0.3,\n              id: \"headerlabel2\",\n              className: \"headerlabel\",\n              textBaseline: \"middle\",\n              textAlign: \"center\",\n              // radius: [2, 4],\n              fill: themeColor\n            }\n          });\n        });\n        const nameList1 = [data.name];\n        const height1 = config.headerHeight + (data.fields.length >= 12 ? data.fields.length : 12) * config.fieldHeight;\n        const nameLength1 = nameList.length;\n        nameList1.forEach((nameText, index) => {\n          group.addShape(\"text\", {\n            visible: cfg.isKeySharp && showNameOrLabel && !cfg.isCardSharp,\n            showNameOrLabel: true,\n            name: nameText,\n            draggable: true,\n            attrs: {\n              x: 0,\n              y: -height1 / 2 + height1 / (nameLength1 + 1) * (index + 1),\n              fontSize: config.width / 5,\n              text: nameText,\n              // opacity: index === nameLength - 1 ? 1 : 0.3,\n              id: \"headerlabel2\",\n              className: \"headerlabel\",\n              textBaseline: \"middle\",\n              textAlign: \"center\",\n              // radius: [2, 4],\n              fill: themeColor\n            }\n          });\n        });\n        data.fields.forEach((field, index) => {\n          var _a, _b, _c, _d, _e, _f, _g;\n          const isForeign = field.typeMeta;\n          const relationModel = (_a = field == null ? void 0 : field.typeMeta) == null ? void 0 : _a.relationModel;\n          const y = -((config.headerHeight + (0, import_util.getLength)(data.fields.length) * config.fieldHeight) / 2) + config.headerHeight + config.fieldHeight * index + config.fieldHeight / 2 - 2;\n          group.addShape(\"rect\", {\n            visible: !cfg.isKeySharp,\n            name: field.id,\n            draggable: true,\n            attrs: {\n              x: -(config.width / 2) + 2,\n              fieldName: field.id,\n              name: field.id,\n              draggable: true,\n              fieldBg: true,\n              arg: field.name,\n              fieldHover: true,\n              y: -((config.headerHeight + (0, import_util.getLength)(data.fields.length) * config.fieldHeight) / 2) + config.headerHeight + config.fieldHeight * index,\n              // stroke: 'black',\n              width: config.width - 4,\n              id: \"field\",\n              height: config.fieldHeight,\n              fill: \"white\",\n              cursor: \"move\"\n            }\n          });\n          group.addShape(\"path\", {\n            visible: !cfg.isKeySharp,\n            draggable: true,\n            name: field.id,\n            attrs: {\n              draggable: true,\n              fieldName: field.id,\n              id: \"field-line\",\n              name: field.id,\n              path: [\n                [\"M\", -config.width / 2 + 20, y + 2],\n                [\"L\", config.width / 2 - 40, y + 2]\n              ],\n              stroke: \"rgba(0,0,0,0.60)\",\n              lineWidth: 1,\n              lineDash: [5, 5],\n              opacity: 0.1\n            }\n          });\n          const showCircle = isForeign;\n          showCircle && group.addShape(\"circle\", {\n            visible: true,\n            name: field.id,\n            draggable: true,\n            themeColor: true,\n            attrs: {\n              x: -(config.width / 2) + 10,\n              fieldName: field.id,\n              name: field.id,\n              draggable: true,\n              arg: field.name,\n              fieldHover: true,\n              y: -((config.headerHeight + (0, import_util.getLength)(data.fields.length) * config.fieldHeight) / 2) + config.headerHeight + config.fieldHeight * index + config.fieldHeight / 2 - 2,\n              id: \"field\",\n              r: 2,\n              fill: themeColor,\n              cursor: \"move\"\n            }\n          });\n          group.addShape(\"text\", {\n            visible: !cfg.isKeySharp,\n            name: field.id,\n            draggable: true,\n            themeColor: isForeign,\n            attrs: {\n              x: -config.width / 2 + 20,\n              fieldHover: true,\n              name: field.id,\n              draggable: true,\n              // click: 'fieldEdit',\n              y: -((config.headerHeight + (0, import_util.getLength)(data.fields.length) * config.fieldHeight) / 2) + config.headerHeight + config.fieldHeight * index + config.fieldHeight / 2,\n              text: showNameOrLabel ? field.name : field.label,\n              fieldLable: field.name,\n              nameLable: field.label,\n              fieldName: field.id,\n              arg: field.name,\n              fontSize: config.labelSize,\n              textBaseline: \"middle\",\n              cursor: \"move\",\n              id: \"field\",\n              textAlign: \"start\",\n              fill: isForeign ? themeColor : \"rgba(0,0,0,0.60)\"\n              // fill: 'rgb(153,153,153)',\n            }\n          });\n          const relationModelText = showNameOrLabel ? (_b = field == null ? void 0 : field.relationModel) == null ? void 0 : _b.name : (_c = field == null ? void 0 : field.relationModel) == null ? void 0 : _c.label;\n          group.addShape(\"text\", {\n            visible: !cfg.isKeySharp,\n            name: field.id,\n            draggable: true,\n            themeColor: isForeign,\n            attrs: {\n              x: config.width / 2 - 20,\n              fieldHover: !isForeign,\n              // click: 'fieldEdit',\n              y: -((config.headerHeight + (0, import_util.getLength)(data.fields.length) * config.fieldHeight) / 2) + config.headerHeight + config.fieldHeight * index + config.fieldHeight / 2,\n              text: isForeign && relationModelText ? relationModelText : `${field.type || \"\"}`,\n              fieldLable: isForeign ? field.type && import_type.Relation[field.type] ? `${(_d = field == null ? void 0 : field.relationModel) == null ? void 0 : _d.name}(${import_type.Relation[field.type] || \"\"})` : (_e = field == null ? void 0 : field.relationModel) == null ? void 0 : _e.name : `${field.type || \"\"}`,\n              nameLable: isForeign ? field.type && import_type.Relation[field.type] ? `${(_f = field == null ? void 0 : field.relationModel) == null ? void 0 : _f.label}(${import_type.Relation[field.type] || \"\"})` : (_g = field == null ? void 0 : field.relationModel) == null ? void 0 : _g.label : `${field.type || \"\"}`,\n              id: \"field\",\n              textBaseline: \"middle\",\n              fieldName: field.id,\n              arg: field,\n              fontSize: config.labelSize,\n              click: isForeign ? \"fieldSelect\" : void 0,\n              textAlign: \"right\",\n              cursor: isForeign ? \"pointer\" : \"undefined\",\n              fill: isForeign ? themeColor : \"rgba(0,0,0,0.30)\"\n            }\n          });\n          isForeign && group.addShape(\"circle\", {\n            visible: true,\n            name: field.id,\n            draggable: true,\n            themeColor: true,\n            attrs: {\n              x: config.width / 2 - 10,\n              fieldName: field.id,\n              name: field.id,\n              draggable: true,\n              arg: field.name,\n              fieldHover: true,\n              y: -((config.headerHeight + (0, import_util.getLength)(data.fields.length) * config.fieldHeight) / 2) + config.headerHeight + config.fieldHeight * index + config.fieldHeight / 2 - 2,\n              id: \"field\",\n              r: 2,\n              fill: themeColor,\n              cursor: \"move\"\n            }\n          });\n        });\n        const diffLength = (0, import_util.getLength)(data.fields.length) - data.fields.length;\n        if (diffLength) {\n          for (let i = 0; i < diffLength; i++) {\n            group.addShape(\"rect\", {\n              name: i,\n              draggable: true,\n              visible: !cfg.isKeySharp,\n              attrs: {\n                x: -(config.width / 2) + 2,\n                y: -((config.headerHeight + (0, import_util.getLength)(data.fields.length) * config.fieldHeight) / 2) + config.headerHeight + config.fieldHeight * (data.fields.length + i),\n                // stroke: 'black',\n                width: config.width - 4,\n                id: \"field\",\n                height: config.fieldHeight,\n                fill: \"white\",\n                cursor: \"move\"\n              }\n              // ---\n            });\n          }\n        }\n      },\n      draw(cfg, group) {\n        const { config, data, selected } = cfg;\n        const height = config.headerHeight + (0, import_util.getLength)(data.fields.length) * config.fieldHeight;\n        let keyShape = group.addShape(\"rect\", {\n          name: data.key,\n          draggable: true,\n          // visible: false,\n          attrs: {\n            id: \"keySharp\",\n            x: -(config.width / 2),\n            y: -height / 2,\n            width: config.width,\n            cursor: \"move\",\n            // fill:'red',\n            height: height + 10,\n            ...cfg.config.styleConfig.default.node,\n            stroke: selected ? cfg.config.styleConfig.selected.node.stroke : cfg.config.styleConfig.default.node.stroke\n          }\n        });\n        this.render(cfg, group);\n        return keyShape;\n      }\n    },\n    \"single-shape\"\n  );\n};\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n  register\n});\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/graph/item/style.d.ts",
    "content": "export declare const initStyle: ({ primaryColor }: {\n    primaryColor: any;\n}) => {\n    colors: {\n        blue: any;\n        white: string;\n        head: any;\n        black: string;\n    };\n    style: {\n        naviWidth: number;\n        default: {\n            node: {\n                fill: string;\n                shadowColor: string;\n                shadowBlur: number;\n                shadowOffsetX: number;\n                shadowOffsetY: number;\n                radius: number;\n                lineWidth: number;\n                opacity: number;\n                stroke: string;\n            };\n            edge: {\n                lineWidth: number;\n                size: number;\n                lineAppendWidth: number;\n                endArrow: {\n                    path: any;\n                };\n                startArrow: {\n                    path: any;\n                    d: number;\n                };\n                radius: number;\n                labelCfg: {\n                    autoRotate: boolean;\n                    style: {\n                        fontSize: number;\n                    };\n                };\n                stroke: any;\n            };\n        };\n        selected: {\n            node: {\n                stroke: string;\n                shadowColor: string;\n            };\n        };\n        isNoModule: {\n            node: {\n                opacity: number;\n            };\n        };\n        fieldRelation: {\n            node: {\n                fill: string;\n                shadowColor: string;\n                shadowBlur: number;\n                shadowOffsetX: number;\n                shadowOffsetY: number;\n                radius: number;\n                lineWidth: number;\n                opacity: number;\n                stroke: string;\n            };\n            edge: {\n                lineWidth: number;\n                size: number;\n                lineAppendWidth: number;\n                endArrow: {\n                    path: any;\n                    d: number;\n                };\n                startArrow: {\n                    path: any;\n                    d: number;\n                };\n                radius: number;\n                labelCfg: {\n                    autoRotate: boolean;\n                    style: {\n                        fontSize: number;\n                    };\n                };\n                stroke: any;\n            };\n        };\n    };\n};\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/graph/item/style.js",
    "content": "var __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n  // If the importer is in node compatibility mode or this is not an ESM\n  // file that has been converted to a CommonJS file using a Babel-\n  // compatible transform (i.e. \"__esModule\" has not been set), then set\n  // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n  isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n  mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/graph/item/style.tsx\nvar style_exports = {};\n__export(style_exports, {\n  initStyle: () => initStyle\n});\nmodule.exports = __toCommonJS(style_exports);\nvar import_g6_min = __toESM(require(\"@antv/g6/dist/g6.min.js\"));\nvar initStyle = ({ primaryColor }) => {\n  const colors = {\n    blue: primaryColor,\n    white: \"#FFFFFF\",\n    head: primaryColor,\n    black: \"black\"\n  };\n  const style = {\n    naviWidth: 370,\n    default: {\n      node: {\n        fill: \"#FFFFFF\",\n        shadowColor: \"rgba(0,0,0,0.2)\",\n        shadowBlur: 10,\n        shadowOffsetX: 0.5,\n        shadowOffsetY: 0.5,\n        radius: 10,\n        // stroke: undefined,\n        lineWidth: 4,\n        opacity: 0.9,\n        stroke: \"rgba(0,0,0,0.01)\"\n      },\n      edge: {\n        lineWidth: 2,\n        size: 2,\n        lineAppendWidth: 4,\n        endArrow: {\n          path: import_g6_min.default.Arrow.triangleRect(10, 10, 10, 2, 4)\n          // fill: primaryColor,\n        },\n        startArrow: {\n          path: import_g6_min.default.Arrow.circle(3, 3),\n          // 使用内置箭头路径函数，参数为箭头的 宽度、长度、偏移量（默认为 0，与 d 对应）\n          //  fill: primaryColor,\n          //  shadowColor: primaryColor,\n          //  opacity: 1,\n          d: 6\n        },\n        //  startArrow: {\n        //   //  path: 'M 24,0 L -24,-12 L 8,0 L -24,12 Z',\n        //   //  d: 2,\n        //    fill: 'rgba(11,108,149)',\n        //    shadowColor: 'rgba(0,0,0,0.1)',\n        //   //  opacity: 1,\n        //  },\n        //  opacity: 0.2,\n        radius: 5,\n        labelCfg: {\n          autoRotate: true,\n          // 使文本随边旋转\n          style: {\n            fontSize: 34\n          }\n        },\n        stroke: primaryColor\n      }\n    },\n    selected: {\n      node: {\n        stroke: \"rgba(11,108,149)\",\n        shadowColor: \"rgba(11,108,149)\"\n      }\n    },\n    isNoModule: {\n      node: {\n        opacity: 0.2\n      }\n    },\n    fieldRelation: {\n      node: {\n        fill: \"#FFFFFF\",\n        shadowColor: \"rgba(0,0,0,0.2)\",\n        shadowBlur: 10,\n        shadowOffsetX: 0.5,\n        shadowOffsetY: 0.5,\n        radius: 10,\n        // stroke: undefined,\n        lineWidth: 4,\n        opacity: 0.9,\n        stroke: \"rgba(0,0,0,0.01)\"\n      },\n      edge: {\n        lineWidth: 2,\n        size: 2,\n        lineAppendWidth: 4,\n        endArrow: {\n          path: import_g6_min.default.Arrow.triangle(5, 10, 10),\n          d: 10\n        },\n        startArrow: {\n          path: import_g6_min.default.Arrow.circle(3, 3),\n          // 使用内置箭头路径函数，参数为箭头的 宽度、长度、偏移量（默认为 0，与 d 对应）\n          //  fill: primaryColor,\n          //  shadowColor: primaryColor,\n          //  opacity: 1,\n          d: 6\n        },\n        //  startArrow: {\n        //   //  path: 'M 24,0 L -24,-12 L 8,0 L -24,12 Z',\n        //   //  d: 2,\n        //    fill: 'rgba(11,108,149)',\n        //    shadowColor: 'rgba(0,0,0,0.1)',\n        //   //  opacity: 1,\n        //  },\n        //  opacity: 0.2,\n        radius: 5,\n        labelCfg: {\n          autoRotate: true,\n          // 使文本随边旋转\n          style: {\n            fontSize: 34\n          }\n        },\n        stroke: primaryColor\n      }\n    }\n  };\n  return {\n    colors,\n    style\n  };\n};\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n  initStyle\n});\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/graph/item/type.d.ts",
    "content": "import { ModelConfig } from '@antv/g6';\nexport interface IModelNodeShapeCfg extends ModelConfig {\n    config: {\n        width: number;\n        headerHeight: number;\n        fieldHeight: number;\n        labelSize: number;\n        styleConfig: {\n            default: {\n                node: any;\n                edge: any;\n            };\n            active: {\n                node: any;\n                edge: any;\n            };\n            selected: {\n                node: any;\n                edge: any;\n            };\n        };\n        colors: any;\n    };\n    data: {\n        label: string;\n        key: string;\n        fields: IField[];\n        name: string;\n        aggregateRoot: boolean;\n        aggregateModelKey: string;\n        belongAggregate: string;\n        moduleKey: string;\n        store: any;\n    };\n    isNoModule?: boolean;\n    isKeySharp?: boolean;\n    active?: boolean;\n    selected?: boolean;\n    into?: boolean;\n    out?: boolean;\n    hide?: boolean;\n    inactive?: boolean;\n    isCardSharp?: boolean;\n    showNameOrLabel?: boolean;\n    themeColor?: string;\n    darkness?: boolean;\n}\nexport interface IField {\n    id: string;\n    label: string;\n    name: string;\n    type: string;\n    isForeign?: boolean;\n    relationModel?: any;\n    typeMeta?: any;\n}\nexport declare const Relation: {\n    ToOne: string;\n    ToMany: string;\n};\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/graph/item/type.js",
    "content": "var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/graph/item/type.tsx\nvar type_exports = {};\n__export(type_exports, {\n  Relation: () => Relation\n});\nmodule.exports = __toCommonJS(type_exports);\nvar Relation = {\n  ToOne: \"1:1\",\n  ToMany: \"1:n\"\n};\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n  Relation\n});\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/graph/item/util.d.ts",
    "content": "export declare const setNodeStateAttr: (state: any, s: any, cfg: any) => void;\nexport declare const isEng: (str: any) => boolean;\nexport declare const getSplitStrings: (str: string) => string[];\nexport declare const getEngGroup: (str: string) => string[];\nexport declare const getLen: (str: string) => number;\nexport declare const getTopAnch: (num: any, y?: number) => never[];\nexport declare const getBottomAnch: (num: any, y?: number) => never[];\nexport declare const getLeftAnch: (num: any, x?: number) => never[];\nexport declare const getRightAnch: (num: any, x?: number) => never[];\nexport declare const getLength: (length: any) => any;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/graph/item/util.js",
    "content": "var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/graph/item/util.tsx\nvar util_exports = {};\n__export(util_exports, {\n  getBottomAnch: () => getBottomAnch,\n  getEngGroup: () => getEngGroup,\n  getLeftAnch: () => getLeftAnch,\n  getLen: () => getLen,\n  getLength: () => getLength,\n  getRightAnch: () => getRightAnch,\n  getSplitStrings: () => getSplitStrings,\n  getTopAnch: () => getTopAnch,\n  isEng: () => isEng,\n  setNodeStateAttr: () => setNodeStateAttr\n});\nmodule.exports = __toCommonJS(util_exports);\nvar setNodeStateAttr = (state, s, cfg) => {\n  if (cfg.config.styleConfig[state]) {\n    Object.entries(cfg.config.styleConfig[state].node).forEach(([k, v]) => {\n      s.attr(k, v);\n    });\n  }\n};\nvar isEng = (str) => {\n  for (let i = 0; i < str.length; i++) {\n    const charCode = str.charCodeAt(i);\n    if (charCode < 0 || charCode > 128) {\n      return false;\n    }\n  }\n  return true;\n};\nvar getSplitStrings = (str) => {\n  if (isEng(str))\n    return getEngGroup(str);\n  const reg = /.{5}/g;\n  const rs = str.match(reg) || [str];\n  rs.push(str.substring(rs.join(\"\").length));\n  return rs;\n};\nvar getEngGroup = (str) => {\n  const regExp = new RegExp(\"(?<!^)([A-Z]\", \"g\");\n  const strs = str.replace(regExp, `-$1`);\n  return strs.split(\"-\");\n};\nvar getLen = (str) => {\n  let realLength = 0, len = str.length, charCode = -1;\n  for (let i = 0; i < len; i++) {\n    charCode = str.charCodeAt(i);\n    if (charCode >= 0 && charCode <= 128)\n      realLength += 1;\n    else\n      realLength += 2;\n  }\n  return realLength;\n};\nvar getTopAnch = (num, y = 0) => {\n  let res = [];\n  for (let i = 0; i < num; i++) {\n    res.push([(i + 1) / num, y]);\n  }\n  return res;\n};\nvar getBottomAnch = (num, y = 1) => {\n  let res = [];\n  for (let i = 0; i <= num; i++) {\n    res.push([i / num, y]);\n  }\n  return res;\n};\nvar getLeftAnch = (num, x = 0) => {\n  let res = [];\n  for (let i = 0; i < num; i++) {\n    res.push([x, (i + 1) / num]);\n  }\n  return res;\n};\nvar getRightAnch = (num, x = 1) => {\n  let res = [];\n  for (let i = 0; i <= num; i++) {\n    res.push([x, i / num]);\n  }\n  return res;\n};\nvar getLength = (length) => {\n  return length >= 8 ? length : 8;\n};\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n  getBottomAnch,\n  getEngGroup,\n  getLeftAnch,\n  getLen,\n  getLength,\n  getRightAnch,\n  getSplitStrings,\n  getTopAnch,\n  isEng,\n  setNodeStateAttr\n});\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/graph/model.scss",
    "content": ".noselect {\n    -webkit-touch-callout: none; /* iOS Safari */\n\n    -webkit-user-select: none; /* Chrome/Safari/Opera */\n\n    -khtml-user-select: none; /* Konqueror */\n\n    -moz-user-select: none; /* Firefox */\n\n    -ms-user-select: none; /* Internet Explorer/Edge */\n\n    user-select: none; /* Non-prefixed version, currently\n  \n  not supported by any browser */\n}\n\n.console-g6-page {\n    // background: #fff;\n    height: 100%;\n    .model-page {\n        height: 100%;\n        display: flex;\n        flex-direction: column;\n    }\n    .g6-tooltip {\n        padding: 10px 6px;\n        // color: black;\n        background-color: white;\n        box-shadow: 10px 10px 5px #888888;\n        // background-color: rgba(255, 255, 255, 0.9);\n        border: 1px solid rgb(11, 108, 149);\n        opacity: 1;\n        border-radius: 4px;\n        .text {\n            color: rgb(11, 108, 149);\n        }\n    }\n}\n\n.g6-minimap {\n    position: absolute;\n    right: 25px;\n    bottom: 40px;\n    padding: 5px;\n    overflow: visible !important;\n    // margin-top: 10px;\n    // margin-right: 10px;\n    background: #ffffff;\n    border: 0px solid rgba(0, 0, 0, 0.1);\n\n    // border-radius: 3px 0 0 3px;\n    // border-radius: 3px 0px 0px 3px;\n}\n\n.graph {\n    width: 100%;\n    cursor: grab;\n    margin-right: 20px;\n    margin-bottom: 23px;\n    flex: 1;\n    //  overflow: auto;\n    background-image: url(./editor-background.png);\n    background-repeat: repeat;\n    background-size: contain;\n    //  border: 1px solid rgba(0,0,0,.1);\n    //  border-radius: 3px;\n    border: 1px solid rgba(0, 0, 0, 0.1);\n    .text {\n        border: 1px solid rgba(0, 0, 0, 0.1);\n        opacity: 1;\n    }\n\n    //  background-image: linear-gradient(#DEE0E4 1px, transparent 0), linear-gradient(90deg, #DEE0E4 1px, transparent 0), linear-gradient(rgba(222, 224, 228, 0.6) 1px, transparent 0), linear-gradient(90deg, rgba(222, 224, 228, 0.6) 1px, transparent 0);\n    //  background-size: 75px 75px, 75px 75px, 15px 15px, 15px 15px;\n}\n\n.g6-minimap-viewport-erd {\n    border: 1px solid rgba(0, 0, 0, 0.06);\n    margin-top: 2px;\n    margin-right: 2px;\n}\n\n.console-erd-toolbar {\n    z-index: 1;\n    width: 100%;\n    //  border-bottom: 1px solid rgba(0, 0, 0, 0.1);\n    //  border-left: 1px solid rgba(0, 0, 0, 0.1);\n    height: 28px;\n\n    .split-span {\n        margin-right: 30px;\n    }\n\n    .left {\n        float: left;\n        margin-left: 30px;\n    }\n\n    .ant-upload-list {\n        display: none;\n    }\n\n    .zoomNum {\n        font-size: 17px;\n        text-align: center;\n        margin-right: 10px;\n        width: 50px;\n        color: rgba(0, 0, 0, 0.4);\n        display: inline-block;\n    }\n\n    .right {\n        float: right;\n        margin-right: 30px;\n    }\n\n    .command-btn {\n        margin: 8px;\n        font-size: 18px;\n        // margin-right: 25px;\n        color: rgba(0, 0, 0, 0.4);\n        cursor: pointer;\n    }\n\n    .enable {\n        color: #000;\n    }\n\n    .zoomleft {\n        margin-right: 10px;\n    }\n\n    .command-btn-data {\n    }\n}\n.console-erd-fps {\n    position: absolute;\n    bottom: 50px;\n    right: 0px;\n    // bottom: 150px;\n}\n\n.g6-tooltip {\n    padding: 10px 6px;\n    opacity: 0.5;\n    color: #444;\n    background-color: rgba(255, 255, 255, 0.9);\n    border: 1px solid #e2e2e2;\n    border-radius: 4px;\n}\n\n:-webkit-full-screen {\n    background-color: white !important;\n}\n:-moz-full-screen {\n    background-color: white !important;\n}\n\n:-ms-fullscreen {\n    background-color: white !important;\n}\n:fullscreen {\n    background-color: white !important;\n}\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/hooks/fields.d.ts",
    "content": "export declare const useFields: () => {\n    initFields: (data: any) => void;\n    fields: undefined;\n};\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/hooks/fields.js",
    "content": "var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/hooks/fields.tsx\nvar fields_exports = {};\n__export(fields_exports, {\n  useFields: () => useFields\n});\nmodule.exports = __toCommonJS(fields_exports);\nvar import_react = require(\"react\");\nvar useFields = () => {\n  const [fields, setFields] = (0, import_react.useState)();\n  const initFields = (0, import_react.useCallback)((data) => {\n    setFields(data);\n  }, []);\n  return {\n    initFields,\n    fields\n  };\n};\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n  useFields\n});\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/hooks/models.d.ts",
    "content": ""
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/hooks/models.js",
    "content": ""
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/hooks/modules.d.ts",
    "content": ""
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/hooks/modules.js",
    "content": ""
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/index.d.ts",
    "content": "import WebPdm from './out';\nexport * from './out';\nexport default WebPdm;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/index.js",
    "content": "var __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n  // If the importer is in node compatibility mode or this is not an ESM\n  // file that has been converted to a CommonJS file using a Babel-\n  // compatible transform (i.e. \"__esModule\" has not been set), then set\n  // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n  isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n  mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar src_exports = {};\n__export(src_exports, {\n  default: () => src_default\n});\nmodule.exports = __toCommonJS(src_exports);\nvar import_out = __toESM(require(\"./out\"));\n__reExport(src_exports, require(\"./out\"), module.exports);\nvar src_default = import_out.default;\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {});\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/intl.d.ts",
    "content": "declare const _default: {\n    EN: {\n        定位模型: string;\n        查看: string;\n        所有: string;\n        选择所有: string;\n        清除所有: string;\n        显示: string;\n        名称: string;\n        标签: string;\n        分类: string;\n        模式: string;\n        撤销: string;\n        重做: string;\n        放大: string;\n        缩小: string;\n        全景: string;\n        刷新数据: string;\n        下载图片: string;\n        切换层次布局: string;\n        切换关联布局: string;\n        切换底色: string;\n        点击: string;\n        关闭: string;\n        打开: string;\n        颜色面板: string;\n    };\n};\nexport default _default;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/intl.js",
    "content": "var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/intl.ts\nvar intl_exports = {};\n__export(intl_exports, {\n  default: () => intl_default\n});\nmodule.exports = __toCommonJS(intl_exports);\nvar intl_default = {\n  EN: {\n    定位模型: \"location model\",\n    查看: \"detail\",\n    所有: \"all\",\n    选择所有: \"select all\",\n    清除所有: \"clear all\",\n    显示: \"display\",\n    名称: \"name\",\n    标签: \"label\",\n    分类: \"category\",\n    模式: \"model\",\n    撤销: \"undo\",\n    重做: \"redo\",\n    放大: \"max\",\n    缩小: \"min\",\n    全景: \"full screen\",\n    刷新数据: \"refresh data\",\n    下载图片: \"download image\",\n    切换层次布局: \"togglr dagre layout\",\n    切换关联布局: \"toggle relation layout\",\n    切换底色: \"toggle color\",\n    点击: \"clock\",\n    关闭: \"close\",\n    打开: \"open\",\n    颜色面板: \"color panel\"\n  }\n};\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {});\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/out.d.ts",
    "content": "import { FunctionComponent, ReactNode } from 'react';\nimport { ModelConfig, ModuleConfig, FieldConfig, IComponentConfig, TData } from './type/config';\nexport * from './type/config';\ndeclare type TIconRendersKeys = {\n    undo: ReactNode;\n    redo: ReactNode;\n    min: ReactNode;\n    max: ReactNode;\n    full: ReactNode;\n    miniMap: ReactNode;\n    miniMapNo: ReactNode;\n    dagreLayout: ReactNode;\n    relationLayout: ReactNode;\n    reload: ReactNode;\n    image: ReactNode;\n    darkness: ReactNode;\n    light: ReactNode;\n    colorClose: ReactNode;\n    colorOpen: ReactNode;\n};\n/**\n *组件的props接口\n *\n * @export\n * @interface IWebPdmProps\n */\nexport interface IWebPdmProps {\n    /**\n     *传入的模型数据\n     *\n     * @type {ModelConfig[]}\n     * @memberof IWebPdmProps\n     */\n    models: ModelConfig[];\n    /**\n     *传入的模块数据\n     *\n     * @type {ModuleConfig[]}\n     * @memberof IWebPdmProps\n     */\n    modules: ModuleConfig[];\n    erdkey: string;\n    className?: string;\n    style?: any;\n    height?: string | number;\n    onIgnoreEdge?: (field: FieldConfig) => boolean;\n    components?: IComponentConfig;\n    onModelDetail?: (model: ModelConfig) => void;\n    themeColor?: string;\n    darkness?: boolean;\n    onReload?: () => TData;\n    intl?: 'CH' | 'EN';\n    onIntl?: (string: any) => string;\n    IconRenders?: Partial<TIconRendersKeys>;\n    disableIcons?: string[];\n    onlyMode?: boolean;\n}\n/**\n *组件定义\n *\n * @param {*} props 属性接口\n * @return {*}\n */\ndeclare const WebPDM: FunctionComponent<IWebPdmProps>;\nexport default WebPDM;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/out.js",
    "content": "var __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n  // If the importer is in node compatibility mode or this is not an ESM\n  // file that has been converted to a CommonJS file using a Babel-\n  // compatible transform (i.e. \"__esModule\" has not been set), then set\n  // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n  isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n  mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/out.tsx\nvar out_exports = {};\n__export(out_exports, {\n  default: () => out_default\n});\nmodule.exports = __toCommonJS(out_exports);\nvar import_react = __toESM(require(\"react\"));\nvar import_mobx_keystone = require(\"mobx-keystone\");\nvar import_context = require(\"./context\");\nvar import_mobx_react = require(\"mobx-react\");\nvar import_context2 = require(\"./context\");\nvar import_components = __toESM(require(\"./components\"));\n__reExport(out_exports, require(\"./type/config\"), module.exports);\nvar Page = (0, import_mobx_react.observer)(\n  ({\n    onIntl,\n    onReload,\n    onModelDetail,\n    models,\n    modules,\n    erdkey,\n    className,\n    style,\n    height,\n    onIgnoreEdge,\n    components,\n    IconRenders\n  }) => {\n    const data = (0, import_context.useMst)();\n    (0, import_react.useEffect)(() => {\n      const localdata = sessionStorage.getItem(\"web-pdm\" + erdkey);\n      if (!localdata) {\n        (0, import_mobx_keystone.withoutUndo)(() => data.initData(models, modules));\n      } else {\n        const sdata = JSON.parse(localdata);\n        sdata.sys.height = height;\n        (0, import_mobx_keystone.withoutUndo)(() => {\n          const localFieldsdata = sessionStorage.getItem(\n            \"web-pdm-fields\" + erdkey\n          );\n          if (localFieldsdata) {\n            data.setFields(new Map(JSON.parse(localFieldsdata)));\n          }\n          (0, import_mobx_keystone.applySnapshot)(data, sdata);\n          data.sys.setOnIgnoreEdge(onIgnoreEdge);\n          data.sys.setOnModelDetail(onModelDetail);\n          data.Ui.registComponents(components, IconRenders);\n          data.setOnReload(onReload);\n          data.onIntl = onIntl;\n        });\n      }\n    }, []);\n    (0, import_react.useEffect)(() => {\n      data.Models.clear();\n      data.Modules.clear();\n      data.Fields.clear();\n      (0, import_mobx_keystone.withoutUndo)(() => data.initData(models, modules));\n    }, [models]);\n    return /* @__PURE__ */ import_react.default.createElement(import_components.default, { className, style });\n  }\n);\nvar WebPDM = (props) => {\n  const [rootStore] = (0, import_react.useState)(() => {\n    return (0, import_context2.createRootStore)({\n      sys: {\n        height: props.height,\n        onIgnoreEdge: props.onIgnoreEdge,\n        onModelDetail: props.onModelDetail,\n        intl: props.intl,\n        onlyMode: props.onlyMode\n      },\n      Ui: {\n        themeColor: props.themeColor,\n        darkness: props.darkness\n      },\n      components: props.components,\n      onReload: props.onReload,\n      onIntl: props.onIntl,\n      IconRenders: props.IconRenders,\n      disableIcons: props.disableIcons\n    });\n  });\n  return /* @__PURE__ */ import_react.default.createElement(import_context2.Provider, { value: rootStore }, rootStore && /* @__PURE__ */ import_react.default.createElement(Page, { ...props }));\n};\nvar out_default = WebPDM;\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {});\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/state-stack.d.ts",
    "content": "export declare class StateStack {\n    current: number;\n    DataList: any[];\n    push(obj: any): void;\n    undo(): any;\n    redo(): any;\n}\ndeclare const _default: StateStack;\nexport default _default;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/state-stack.js",
    "content": "var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\n\n// src/state-stack.tsx\nvar state_stack_exports = {};\n__export(state_stack_exports, {\n  StateStack: () => StateStack,\n  default: () => state_stack_default\n});\nmodule.exports = __toCommonJS(state_stack_exports);\nvar import_mobx = require(\"mobx\");\nvar StateStack = class {\n  constructor() {\n    this.current = -1;\n    this.DataList = [];\n  }\n  push(obj) {\n    this.DataList = this.DataList.slice(0, this.current + 1).concat([obj]);\n    this.current++;\n  }\n  undo() {\n    this.current--;\n    return this.DataList[this.current];\n  }\n  redo() {\n    this.current++;\n    return this.DataList[this.current];\n  }\n  // pop() {\n  //     return this.DataList.pop()\n  // }\n};\n__decorateClass([\n  import_mobx.observable\n], StateStack.prototype, \"current\", 2);\n__decorateClass([\n  import_mobx.observable\n], StateStack.prototype, \"DataList\", 2);\nvar state_stack_default = new StateStack();\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n  StateStack\n});\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/tree/index.d.ts",
    "content": "import './style.scss';\nexport declare const Tree: any;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/tree/index.js",
    "content": "var __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n  // If the importer is in node compatibility mode or this is not an ESM\n  // file that has been converted to a CommonJS file using a Babel-\n  // compatible transform (i.e. \"__esModule\" has not been set), then set\n  // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n  isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n  mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/tree/index.tsx\nvar tree_exports = {};\n__export(tree_exports, {\n  Tree: () => Tree\n});\nmodule.exports = __toCommonJS(tree_exports);\nvar import_antd = require(\"antd\");\nvar import_react = __toESM(require(\"react\"));\nvar import_style = require(\"./style.scss\");\nvar OptionBuilder = ({ data }) => {\n  const { title, options = [] } = data;\n  const [showMenu, setShowMenu] = (0, import_react.useState)(false);\n  const onShowMenu = (0, import_react.useCallback)(\n    (val) => () => {\n      setShowMenu(val);\n    },\n    []\n  );\n  const menu = /* @__PURE__ */ import_react.default.createElement(import_antd.Menu, null, options.map((option) => {\n    return /* @__PURE__ */ import_react.default.createElement(import_antd.Menu.Item, { key: option }, /* @__PURE__ */ import_react.default.createElement(\"a\", { onClick: option.click }, option.title));\n  }));\n  return /* @__PURE__ */ import_react.default.createElement(\n    \"div\",\n    {\n      className: \"tree-node-title\",\n      onMouseEnter: onShowMenu(true),\n      onMouseLeave: onShowMenu(false)\n    },\n    /* @__PURE__ */ import_react.default.createElement(\"span\", { className: \"tree-node-title-title\" }, title),\n    !!options.length && showMenu && /* @__PURE__ */ import_react.default.createElement(import_antd.Dropdown, { overlay: menu }, /* @__PURE__ */ import_react.default.createElement(\"span\", { className: \"tree-node-title-options\" }, \"...\"))\n  );\n};\nimport_antd.Tree[\"OptionBuilder\"] = OptionBuilder;\nvar Tree = import_antd.Tree;\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n  Tree\n});\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/tree/style.scss",
    "content": ".navitree-warp {\n    .tree-node-title {\n        display: flex;\n    }\n    .tree-node-title-title {\n        flex: 1;\n    }\n\n    // .tree-node-title-options {\n    //   // padding-right: 40px;\n    //   display: none;\n    // }\n    div.tree-node-title-options:hover {\n        display: block;\n        color: red;\n    }\n\n    .ant-tree-node-content-wrapper {\n        width: 100%;\n    }\n}\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/type/config.d.ts",
    "content": "/// <reference types=\"react\" />\nexport declare type MetaTypeConfig = {\n    relationModel: string;\n    type: string;\n};\nexport declare type FieldMetaTypeConfig = {\n    relationModel: string;\n    field: string;\n    type?: string;\n};\nexport declare type FieldConfig = {\n    name: string;\n    label: string;\n    typeMeta?: MetaTypeConfig | FieldMetaTypeConfig[];\n    type?: string;\n};\nexport declare type ModelConfig = {\n    name: string;\n    label: string;\n    fields: FieldConfig[];\n    module: string;\n    type?: string;\n    aggregateRoot?: boolean;\n    aggregateModelKey?: string;\n    belongAggregate?: string;\n};\nexport declare type ModuleConfig = {\n    name: string;\n    label: string;\n};\nexport declare type SysConfig = {\n    search: string;\n    currentModel: string;\n    currentModule: string;\n    checkedKeys: string[];\n    showNameOrLabel: boolean;\n    tabOrTree: boolean;\n    height: number;\n};\nexport declare type IComponentConfig = {\n    Tree?: React.ComponentType;\n    Input?: React.ComponentType;\n    Button?: React.ComponentType;\n    Dropdown?: React.ComponentType;\n    Menu?: React.ComponentType;\n    Select?: React.ComponentType;\n    Tooltip?: React.ComponentType;\n    Popover?: React.ComponentType;\n};\nexport declare type TData = {\n    models: ModelConfig[];\n    modules: ModuleConfig[];\n};\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/type/config.js",
    "content": "var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/type/config.tsx\nvar config_exports = {};\nmodule.exports = __toCommonJS(config_exports);\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/type/graph.d.ts",
    "content": "import { Graph } from '@antv/g6/dist/g6.min.js';\ndeclare const TGraph_base: import(\"mobx-keystone\")._Model<unknown, {\n    zoom: import(\"mobx-keystone\").OptionalModelProp<number>;\n}, never, never>;\nexport declare class TGraph extends TGraph_base {\n    G6Graph: Graph;\n    setG6Graph(graph: Graph): void;\n    setZoom(zoom: number): void;\n    minZoom(graph: Graph): void;\n    maxZoom(graph: Graph): void;\n    container(graph: Graph): void;\n    downAsImage(): void;\n    actionEdges(currentModel: string): void;\n}\nexport {};\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/type/graph.js",
    "content": "var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\n\n// src/type/graph.tsx\nvar graph_exports = {};\n__export(graph_exports, {\n  TGraph: () => TGraph\n});\nmodule.exports = __toCommonJS(graph_exports);\nvar import_mobx_keystone = require(\"mobx-keystone\");\nvar TGraph = class extends (0, import_mobx_keystone.Model)({\n  zoom: (0, import_mobx_keystone.prop)(0)\n}) {\n  //  @modelAction\n  setG6Graph(graph) {\n    this.G6Graph = graph;\n  }\n  setZoom(zoom) {\n    this.zoom = zoom;\n  }\n  minZoom(graph) {\n    const zoom = this.zoom;\n    if (zoom > 0.2) {\n      this.zoom = zoom - 0.1;\n    } else {\n      this.zoom = zoom - 0.02;\n    }\n  }\n  maxZoom(graph) {\n    const zoom = this.zoom;\n    if (zoom > 0.2) {\n      this.zoom = zoom + 0.1;\n    } else {\n      this.zoom = zoom + 0.02;\n    }\n  }\n  container(graph) {\n    graph.fitView(0);\n    this.zoom = graph.getZoom();\n  }\n  downAsImage() {\n    const _graph = this.G6Graph;\n    if (!_graph)\n      return;\n    const oldZoom = this.G6Graph.getZoom();\n    _graph.isExporting = true;\n    _graph.getNodes().filter((a) => !a.isSys).forEach((node) => {\n      node.getContainer().show();\n      _graph.updateItem(node, {\n        isKeySharp: false,\n        isCardSharp: false\n      });\n    });\n    const gwidth = _graph.get(\"width\");\n    const gheight = _graph.get(\"height\");\n    const point = _graph.getCanvasByPoint(gwidth / 2, gheight / 2);\n    _graph.zoomTo(0.8);\n    _graph.downloadFullImage(\"模型图\", void 0, {\n      backgroundColor: \"rgb(245, 247, 255)\"\n    });\n    _graph.isExporting = void 0;\n    _graph.zoomTo(oldZoom);\n    this.setZoom(oldZoom);\n    _graph.getNodes().filter((a) => !a.isSys).forEach((node) => {\n      node.getContainer().show();\n      _graph.updateItem(node, {\n        isKeySharp: oldZoom < 0.4,\n        isCardSharp: false\n      });\n    });\n  }\n  actionEdges(currentModel) {\n    if (!this.G6Graph)\n      return;\n    this.G6Graph.getEdges().forEach((edge) => {\n      const edgeData = edge.getModel();\n      if (edgeData.target !== \"model-SYS-CENTER-POINT\") {\n        edge.setState(\"active\", false);\n        if (edgeData.source === \"model-\" + currentModel || edgeData.target === \"model-\" + currentModel) {\n          edge.setState(\"active\", true);\n          edge.toFront();\n        }\n      }\n    });\n  }\n};\n__decorateClass([\n  import_mobx_keystone.modelAction\n], TGraph.prototype, \"setZoom\", 1);\n__decorateClass([\n  import_mobx_keystone.modelAction\n], TGraph.prototype, \"minZoom\", 1);\n__decorateClass([\n  import_mobx_keystone.modelAction\n], TGraph.prototype, \"maxZoom\", 1);\n__decorateClass([\n  import_mobx_keystone.modelAction\n], TGraph.prototype, \"container\", 1);\n__decorateClass([\n  import_mobx_keystone.modelAction\n], TGraph.prototype, \"downAsImage\", 1);\nTGraph = __decorateClass([\n  (0, import_mobx_keystone.model)(\"webpdm/TGraph\")\n], TGraph);\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n  TGraph\n});\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/type/index.d.ts",
    "content": "/// <reference types=\"react\" />\nimport { UndoManager } from 'mobx-keystone';\nimport { TModel } from './model';\nimport { TModule } from './module';\nimport { TSys } from './sys';\nimport { TGraph } from './graph';\nimport { SysConfig, ModelConfig, ModuleConfig } from './config';\nimport { TUi } from './ui';\nexport declare const arrangeShow: (ss: any, { model }: {\n    model: any;\n}) => any;\nexport declare type TData = {\n    models: ModelConfig[];\n    modules: ModuleConfig[];\n};\ndeclare const RootInstance_base: import(\"mobx-keystone\")._Model<unknown, {\n    sys: import(\"mobx-keystone\").MaybeOptionalModelProp<TSys>;\n    Models: import(\"mobx-keystone\").OptionalModelProp<import(\"mobx-keystone\").ObjectMap<TModel>>;\n    Modules: import(\"mobx-keystone\").OptionalModelProp<import(\"mobx-keystone\").ObjectMap<TModule>>;\n    graph: import(\"mobx-keystone\").OptionalModelProp<TGraph>;\n    Ui: import(\"mobx-keystone\").OptionalModelProp<TUi>;\n}, never, never>;\nexport declare class RootInstance extends RootInstance_base {\n    undoManager: UndoManager;\n    Fields: Map<string, any>;\n    onReload: () => TData;\n    onIntl: (text: string) => string;\n    setOnReload(onReload: () => TData): void;\n    intl(text: string): any;\n    setUndoManager(undoManager: UndoManager): void;\n    setFields(fields: Map<string, any>): void;\n    get moduleList(): TModule[];\n    get Nodes(): {\n        id: string;\n        type: string;\n        isKeySharp: boolean;\n        visible: boolean;\n        selected: boolean;\n        showNameOrLabel: boolean;\n        config: {\n            width: number;\n            headerHeight: number;\n            fieldHeight: number;\n            labelSize: number;\n            styleConfig: {\n                naviWidth: number;\n                default: {\n                    node: {\n                        fill: string;\n                        shadowColor: string;\n                        shadowBlur: number;\n                        shadowOffsetX: number;\n                        shadowOffsetY: number;\n                        radius: number;\n                        lineWidth: number;\n                        opacity: number;\n                        stroke: string;\n                    };\n                    edge: {\n                        lineWidth: number;\n                        size: number;\n                        lineAppendWidth: number;\n                        endArrow: {\n                            path: any;\n                        };\n                        startArrow: {\n                            path: any;\n                            d: number;\n                        };\n                        radius: number;\n                        labelCfg: {\n                            autoRotate: boolean;\n                            style: {\n                                fontSize: number;\n                            };\n                        };\n                        stroke: any;\n                    };\n                };\n                selected: {\n                    node: {\n                        stroke: string;\n                        shadowColor: string;\n                    };\n                };\n                isNoModule: {\n                    node: {\n                        opacity: number;\n                    };\n                };\n                fieldRelation: {\n                    node: {\n                        fill: string;\n                        shadowColor: string;\n                        shadowBlur: number;\n                        shadowOffsetX: number;\n                        shadowOffsetY: number;\n                        radius: number;\n                        lineWidth: number;\n                        opacity: number;\n                        stroke: string;\n                    };\n                    edge: {\n                        lineWidth: number;\n                        size: number;\n                        lineAppendWidth: number;\n                        endArrow: {\n                            path: any;\n                            d: number;\n                        };\n                        startArrow: {\n                            path: any;\n                            d: number;\n                        };\n                        radius: number;\n                        labelCfg: {\n                            autoRotate: boolean;\n                            style: {\n                                fontSize: number;\n                            };\n                        };\n                        stroke: any;\n                    };\n                };\n            };\n            colors: {\n                blue: any;\n                white: string;\n                head: any;\n                black: string;\n            };\n        };\n        data: {\n            moduleKey: string;\n            label: string;\n            fields: any[];\n            key: string;\n            name: string;\n            tag: string;\n            aggregateRoot: boolean;\n            aggregateModelKey: string;\n            belongAggregate: string;\n            nodeSize: number;\n        };\n        themeColor: any;\n        darkness: boolean;\n        size: number;\n    }[];\n    get edges(): any;\n    arrangeShow(rootKey: string): void;\n    findModelByName(name: string): TModel | undefined;\n    renderModelTitle(model: TModel): string | JSX.Element;\n    initData(models: ModelConfig[], modules: ModuleConfig[], sys?: SysConfig): void;\n    reload(): void;\n    undo(): void;\n    redo(): void;\n    checkAllFun(): void;\n    checkAllCancleFun(): void;\n    setCheckedKeys: (keys: string[]) => void;\n    onInit(): void;\n}\nexport declare const createStore: (props?: {\n    sys: {};\n    graph: {};\n    components: {};\n    Ui: {};\n    IconRenders: undefined;\n    disableIcons: never[];\n}) => RootInstance;\nexport {};\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/type/index.js",
    "content": "var __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n  // If the importer is in node compatibility mode or this is not an ESM\n  // file that has been converted to a CommonJS file using a Babel-\n  // compatible transform (i.e. \"__esModule\" has not been set), then set\n  // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n  isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n  mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\n\n// src/type/index.tsx\nvar type_exports = {};\n__export(type_exports, {\n  RootInstance: () => RootInstance,\n  arrangeShow: () => arrangeShow,\n  createStore: () => createStore\n});\nmodule.exports = __toCommonJS(type_exports);\nvar import_mobx_keystone = require(\"mobx-keystone\");\nvar import_mobx = require(\"mobx\");\nvar import_lodash = require(\"lodash\");\nvar import_model = require(\"./model\");\nvar import_module = require(\"./module\");\nvar import_sys = require(\"./sys\");\nvar import_graph = require(\"./graph\");\nvar import_data = require(\"../graph/data\");\nvar import_label = require(\"../util/label\");\nvar import_ui = require(\"./ui\");\nvar import_intl = __toESM(require(\"../intl\"));\nvar getLayerRootModel = (models, rootKey, roots = []) => {\n  const rootModel = models.find((a) => a.name === rootKey);\n  const rootsRes = rootModel ? [...roots, rootKey] : roots;\n  const isRoot = rootModel.aggregateModelKey && rootModel.aggregateModelKey !== rootKey;\n  const rootsResList = isRoot ? getLayerRootModel(models, rootModel.aggregateModelKey, rootsRes) : rootsRes;\n  return rootsResList;\n};\nvar arrangeShow = (ss, { model: model2 }) => {\n  const roots = getLayerRootModel(ss.models, model2, []);\n  const list = ss.models.filter((a) => a.key === model2 || roots.indexOf(a.aggregateModelKey) >= 0).map((a) => \"model-\" + a.key);\n  return {\n    ...ss,\n    checkedKeys: list,\n    currentModel: model2,\n    isArrangeLayout: true\n  };\n};\nfunction S4() {\n  return ((1 + Math.random()) * 65536 | 0).toString(16).substring(1);\n}\nfunction NewGuid() {\n  return S4();\n}\nfunction MapProp() {\n  return (0, import_mobx_keystone.prop)(() => (0, import_mobx_keystone.objectMap)());\n}\nvar RootInstance = class extends (0, import_mobx_keystone.Model)({\n  sys: (0, import_mobx_keystone.prop)(),\n  Models: MapProp(),\n  Modules: MapProp(),\n  // Fields: MapProp<TField>(),\n  graph: (0, import_mobx_keystone.prop)(() => new import_graph.TGraph({})),\n  Ui: (0, import_mobx_keystone.prop)(() => new import_ui.TUi({}))\n}) {\n  constructor() {\n    super(...arguments);\n    this.Fields = /* @__PURE__ */ new Map();\n    this.setCheckedKeys = (keys) => {\n      if (!this.sys.tabOrTree) {\n        this.sys.checkedKeys = keys;\n      } else {\n        const modelKeys = [...this.Models.values()].filter(\n          (a) => !this.sys.currentModule || a.moduleId === this.sys.currentModule\n        ).map((a) => a.id);\n        const withoutKeys = (0, import_lodash.without)(modelKeys, ...keys);\n        this.sys.checkedKeys = (0, import_lodash.union)(\n          (0, import_lodash.without)(this.sys.checkedKeys, ...withoutKeys),\n          keys\n        );\n      }\n    };\n  }\n  setOnReload(onReload) {\n    this.onReload = onReload;\n  }\n  intl(text) {\n    const newText = this.onIntl && this.onIntl(text);\n    if (newText) {\n      return newText;\n    }\n    const intlmap = import_intl.default[this.sys.intl];\n    if (intlmap)\n      return intlmap[text] || text;\n    else\n      return text;\n  }\n  setUndoManager(undoManager) {\n    this.undoManager = undoManager;\n  }\n  setFields(fields) {\n    this.Fields = fields;\n  }\n  get moduleList() {\n    return [...this.Modules.values()];\n  }\n  get Nodes() {\n    const data = (0, import_data.createData)(this);\n    return data;\n  }\n  get edges() {\n    return (0, import_data.createLinks)(this);\n  }\n  arrangeShow(rootKey) {\n    const models = [...this.Models.values()];\n    const roots = getLayerRootModel(models, rootKey, []);\n    const list = models.filter(\n      (a) => a.name === rootKey || roots.indexOf(a.aggregateModelKey) >= 0\n    ).map((a) => a.id);\n    this.sys.setCheckedKeys(list);\n  }\n  findModelByName(name) {\n    return [...this.Models.values()].find((a) => a.name === name);\n  }\n  renderModelTitle(model2) {\n    return (0, import_label.renderModelTitle)(\n      model2.label,\n      this.sys.search,\n      this.sys.showNameOrLabel,\n      model2.name\n    );\n  }\n  initData(models, modules, sys) {\n    const t0 = +new Date();\n    let moduleHas = {};\n    modules.forEach((module2) => {\n      const key = NewGuid().toString();\n      this.Modules.set(\n        key,\n        new import_module.TModule({ id: key, label: module2.label, name: module2.name })\n      );\n      moduleHas[module2.name] = key;\n      this.sys.expandedKeys.push(key);\n    });\n    const t1 = +new Date();\n    let modelsKeys = [];\n    let modelHas = {};\n    models.forEach((model2) => {\n      const key = NewGuid().toString();\n      this.Models.set(\n        key,\n        new import_model.TModel({\n          id: key,\n          belongAggregate: model2.belongAggregate,\n          aggregateModelKey: model2.aggregateModelKey,\n          aggregateRoot: model2.aggregateRoot,\n          label: model2.label,\n          name: model2.name,\n          moduleId: moduleHas[model2.module] || \"\"\n        })\n      );\n      modelHas[model2.name] = key;\n      modelsKeys.push(key);\n    });\n    models.forEach((model2) => {\n      model2.fields.forEach((field) => {\n        var _a;\n        const _key = NewGuid().toString();\n        const relationModel = (_a = field == null ? void 0 : field.typeMeta) == null ? void 0 : _a.relationModel;\n        const tmodel = relationModel ? this.Models.get(modelHas[relationModel]) : void 0;\n        this.Fields.set(_key, {\n          id: _key,\n          label: field.label,\n          name: field.name,\n          type: field.type || \"string\",\n          modelId: modelHas[model2.name],\n          typeMeta: field.typeMeta,\n          relationModel: tmodel && (0, import_mobx_keystone.getSnapshot)(tmodel)\n        });\n        if (tmodel)\n          console.log(tmodel.name);\n      });\n    });\n    const t2 = +new Date();\n    this.sys.setCheckedKeys(modelsKeys);\n    if (sys == null ? void 0 : sys.height) {\n      this.sys.height = sys.height;\n    }\n    const t = +new Date();\n  }\n  reload() {\n    if (this.onReload) {\n      const data = this.onReload();\n      if (data) {\n        this.Models.clear();\n        this.Modules.clear();\n        this.Fields.clear();\n        this.initData(data.models, data.modules);\n      }\n    }\n  }\n  undo() {\n    this.undoManager.undo();\n  }\n  redo() {\n    this.undoManager.redo();\n  }\n  checkAllFun() {\n    var _a, _b;\n    const currentModule = this.sys.currentModule;\n    const modelIds = currentModule ? (_b = (_a = this.Modules.get(currentModule)) == null ? void 0 : _a.models) == null ? void 0 : _b.map((a) => a.id) : [...this.Models.values()].map((a) => a.id);\n    this.sys.checkedKeys = (0, import_lodash.union)(this.sys.checkedKeys, modelIds);\n  }\n  checkAllCancleFun() {\n    var _a, _b;\n    const currentModule = this.sys.currentModule;\n    if (!currentModule)\n      this.sys.checkedKeys = [];\n    const modelIds = (_b = (_a = this.Modules.get(currentModule)) == null ? void 0 : _a.models) == null ? void 0 : _b.map((a) => a.id);\n    this.sys.checkedKeys = [\n      ...(0, import_lodash.without)([...this.sys.checkedKeys], ...modelIds || [])\n    ];\n  }\n  onInit() {\n    this.intl = this.intl.bind(this);\n  }\n};\n__decorateClass([\n  import_mobx.computed\n], RootInstance.prototype, \"moduleList\", 1);\n__decorateClass([\n  import_mobx.computed\n], RootInstance.prototype, \"Nodes\", 1);\n__decorateClass([\n  import_mobx.computed\n], RootInstance.prototype, \"edges\", 1);\n__decorateClass([\n  import_mobx_keystone.modelAction\n], RootInstance.prototype, \"arrangeShow\", 1);\n__decorateClass([\n  import_mobx_keystone.modelAction\n], RootInstance.prototype, \"findModelByName\", 1);\n__decorateClass([\n  import_mobx_keystone.modelAction\n], RootInstance.prototype, \"renderModelTitle\", 1);\n__decorateClass([\n  import_mobx_keystone.modelAction\n], RootInstance.prototype, \"initData\", 1);\n__decorateClass([\n  import_mobx_keystone.modelAction\n], RootInstance.prototype, \"reload\", 1);\n__decorateClass([\n  import_mobx_keystone.modelAction\n], RootInstance.prototype, \"undo\", 1);\n__decorateClass([\n  import_mobx_keystone.modelAction\n], RootInstance.prototype, \"redo\", 1);\n__decorateClass([\n  import_mobx_keystone.modelAction\n], RootInstance.prototype, \"checkAllFun\", 1);\n__decorateClass([\n  import_mobx_keystone.modelAction\n], RootInstance.prototype, \"checkAllCancleFun\", 1);\n__decorateClass([\n  import_mobx_keystone.modelAction\n], RootInstance.prototype, \"setCheckedKeys\", 2);\nRootInstance = __decorateClass([\n  (0, import_mobx_keystone.model)(\"webpdm/RootStore\")\n], RootInstance);\nvar createStore = (props = { sys: {}, graph: {}, components: {}, Ui: {}, IconRenders: void 0, disableIcons: [] }) => {\n  const ui = new import_ui.TUi(props.Ui);\n  ui.registComponents(props.components, props.IconRenders, props.disableIcons);\n  return new RootInstance({\n    $modelId: \"webpdm\",\n    sys: new import_sys.TSys({\n      isArrangeLayout: false,\n      layouting: true,\n      search: \"\",\n      ...props.sys\n    }),\n    Ui: ui,\n    graph: new import_graph.TGraph({\n      ...props.graph\n    })\n    // Ui: new TUi(Ui)\n  });\n};\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n  RootInstance,\n  arrangeShow,\n  createStore\n});\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/type/model.d.ts",
    "content": "/// <reference types=\"react\" />\nimport { SnapshotOutOf } from 'mobx-keystone';\nexport declare type InModel = SnapshotOutOf<TModel>;\ndeclare const TModel_base: import(\"mobx-keystone\")._Model<unknown, {\n    id: import(\"mobx-keystone\").MaybeOptionalModelProp<string>;\n    name: import(\"mobx-keystone\").MaybeOptionalModelProp<string>;\n    label: import(\"mobx-keystone\").OptionalModelProp<string>;\n    moduleId: import(\"mobx-keystone\").OptionalModelProp<string>;\n    aggregateRoot: import(\"mobx-keystone\").OptionalModelProp<boolean>;\n    aggregateModelKey: import(\"mobx-keystone\").MaybeOptionalModelProp<string>;\n    belongAggregate: import(\"mobx-keystone\").MaybeOptionalModelProp<string>;\n}, never, never>;\nexport declare class TModel extends TModel_base {\n    get fields(): any[];\n    renderModelTitle(): string | JSX.Element;\n    filterModel(): boolean;\n}\nexport {};\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/type/model.js",
    "content": "var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\n\n// src/type/model.tsx\nvar model_exports = {};\n__export(model_exports, {\n  TModel: () => TModel\n});\nmodule.exports = __toCommonJS(model_exports);\nvar import_mobx_keystone = require(\"mobx-keystone\");\nvar import_label = require(\"../util/label\");\nvar TModel = class extends (0, import_mobx_keystone.Model)({\n  id: (0, import_mobx_keystone.prop)(),\n  name: (0, import_mobx_keystone.prop)(),\n  label: (0, import_mobx_keystone.prop)(\"\"),\n  moduleId: (0, import_mobx_keystone.prop)(\"\"),\n  aggregateRoot: (0, import_mobx_keystone.prop)(false),\n  aggregateModelKey: (0, import_mobx_keystone.prop)(),\n  belongAggregate: (0, import_mobx_keystone.prop)()\n}) {\n  // @computed\n  get fields() {\n    const root = (0, import_mobx_keystone.getRoot)(this);\n    const fields = [...root.Fields.values()];\n    return fields.filter((a) => a.modelId === this.id);\n  }\n  renderModelTitle() {\n    const root = (0, import_mobx_keystone.getRoot)(this);\n    return (0, import_label.renderModelTitle)(\n      this.label,\n      root.sys.search,\n      root.sys.showNameOrLabel,\n      this.name\n    );\n  }\n  filterModel() {\n    const root = (0, import_mobx_keystone.getRoot)(this);\n    const search = root.sys.search;\n    return !search || (root.sys.showNameOrLabel ? this.name.indexOf(search) >= 0 : this.label.indexOf(search) >= 0);\n  }\n};\n__decorateClass([\n  import_mobx_keystone.modelAction\n], TModel.prototype, \"renderModelTitle\", 1);\n__decorateClass([\n  import_mobx_keystone.modelAction\n], TModel.prototype, \"filterModel\", 1);\nTModel = __decorateClass([\n  (0, import_mobx_keystone.model)(\"webpdm/Model\")\n], TModel);\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n  TModel\n});\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/type/module.d.ts",
    "content": "declare const TModule_base: import(\"mobx-keystone\")._Model<unknown, {\n    id: import(\"mobx-keystone\").MaybeOptionalModelProp<string>;\n    name: import(\"mobx-keystone\").MaybeOptionalModelProp<string>;\n    label: import(\"mobx-keystone\").MaybeOptionalModelProp<string>;\n}, never, never>;\nexport declare class TModule extends TModule_base {\n    get models(): import(\"./model\").TModel[];\n}\nexport {};\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/type/module.js",
    "content": "var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\n\n// src/type/module.tsx\nvar module_exports = {};\n__export(module_exports, {\n  TModule: () => TModule\n});\nmodule.exports = __toCommonJS(module_exports);\nvar import_mobx_keystone = require(\"mobx-keystone\");\nvar import_mobx = require(\"mobx\");\nvar TModule = class extends (0, import_mobx_keystone.Model)({\n  id: (0, import_mobx_keystone.prop)(),\n  name: (0, import_mobx_keystone.prop)(),\n  label: (0, import_mobx_keystone.prop)()\n}) {\n  get models() {\n    const mst = (0, import_mobx_keystone.getRoot)(this);\n    const models = [...mst.Models.values()].filter(\n      (a) => a.moduleId === this.id\n    );\n    return models;\n  }\n};\n__decorateClass([\n  import_mobx.computed\n], TModule.prototype, \"models\", 1);\nTModule = __decorateClass([\n  (0, import_mobx_keystone.model)(\"webpdm/TModule\")\n], TModule);\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n  TModule\n});\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/type/sys.d.ts",
    "content": "import { FieldConfig, ModelConfig } from './config';\ndeclare const TSys_base: import(\"mobx-keystone\")._Model<unknown, {\n    search: import(\"mobx-keystone\").OptionalModelProp<string>;\n    layouting: import(\"mobx-keystone\").OptionalModelProp<boolean>;\n    isArrangeLayout: import(\"mobx-keystone\").OptionalModelProp<boolean>;\n    expandedKeys: import(\"mobx-keystone\").OptionalModelProp<string[]>;\n    currentModel: import(\"mobx-keystone\").OptionalModelProp<string>;\n    currentModule: import(\"mobx-keystone\").OptionalModelProp<string>;\n    checkedKeys: import(\"mobx-keystone\").OptionalModelProp<string[]>;\n    showNameOrLabel: import(\"mobx-keystone\").OptionalModelProp<boolean>;\n    tabOrTree: import(\"mobx-keystone\").OptionalModelProp<boolean>;\n    snapshot: import(\"mobx-keystone\").OptionalModelProp<boolean>;\n    height: import(\"mobx-keystone\").OptionalModelProp<string | number | undefined>;\n    dagreLayout: import(\"mobx-keystone\").OptionalModelProp<boolean>;\n    intl: import(\"mobx-keystone\").OptionalModelProp<string>;\n    disableMiniMap: import(\"mobx-keystone\").OptionalModelProp<boolean>;\n    onlyMode: import(\"mobx-keystone\").OptionalModelProp<boolean>;\n}, never, never>;\nexport declare class TSys extends TSys_base {\n    onIgnoreEdge: (filed: FieldConfig) => boolean;\n    onModelDetail: (model: ModelConfig) => void;\n    setOnIgnoreEdge(onIgnoreEdge: any): void;\n    setOnModelDetail(onModelDetail: any): void;\n    toggleArrangeLayout(): void;\n    setExpandedKeys: (keys: string[]) => void;\n    setCheckedKeys: (keys: string[]) => void;\n    setDisableMiniMap(disableMiniMap: boolean): void;\n    setCurrentModel(keys: string[]): void;\n    centerCurrentModel(keys: string[]): void;\n    openModel(key: string): void;\n    toggleTabOrTree: () => void;\n    changeModuleValue: (module: string) => void;\n    setSearch: (search: string) => void;\n    toggleShowNameOrLabel: () => void;\n    onInit(): void;\n    setDagreLayout(dagreLayout: boolean): void;\n}\nexport {};\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/type/sys.js",
    "content": "var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\n\n// src/type/sys.tsx\nvar sys_exports = {};\n__export(sys_exports, {\n  TSys: () => TSys\n});\nmodule.exports = __toCommonJS(sys_exports);\nvar import_mobx_keystone = require(\"mobx-keystone\");\nvar import_graph = require(\"../util/graph\");\nvar TSys = class extends (0, import_mobx_keystone.Model)({\n  search: (0, import_mobx_keystone.prop)(\"\"),\n  layouting: (0, import_mobx_keystone.prop)(false),\n  isArrangeLayout: (0, import_mobx_keystone.prop)(false),\n  expandedKeys: (0, import_mobx_keystone.prop)(() => []),\n  currentModel: (0, import_mobx_keystone.prop)(\"\"),\n  currentModule: (0, import_mobx_keystone.prop)(\"\"),\n  checkedKeys: (0, import_mobx_keystone.prop)(() => []),\n  showNameOrLabel: (0, import_mobx_keystone.prop)(false),\n  tabOrTree: (0, import_mobx_keystone.prop)(false),\n  snapshot: (0, import_mobx_keystone.prop)(true),\n  height: (0, import_mobx_keystone.prop)(\"100%\"),\n  dagreLayout: (0, import_mobx_keystone.prop)(false),\n  intl: (0, import_mobx_keystone.prop)(\"CH\"),\n  disableMiniMap: (0, import_mobx_keystone.prop)(false),\n  onlyMode: (0, import_mobx_keystone.prop)(false)\n  // undoData: prop<UndoStore>(() => new UndoStore({})),\n}) {\n  constructor() {\n    super(...arguments);\n    this.setExpandedKeys = (keys) => {\n      this.expandedKeys = keys;\n    };\n    this.setCheckedKeys = (keys) => {\n      this.checkedKeys = keys;\n    };\n    this.toggleTabOrTree = () => {\n      this.tabOrTree = !this.tabOrTree;\n    };\n    this.changeModuleValue = (module2) => {\n      this.currentModule = module2;\n    };\n    this.setSearch = (search) => {\n      this.search = search;\n    };\n    this.toggleShowNameOrLabel = () => {\n      this.showNameOrLabel = !this.showNameOrLabel;\n    };\n  }\n  setOnIgnoreEdge(onIgnoreEdge) {\n    this.onIgnoreEdge = onIgnoreEdge;\n  }\n  setOnModelDetail(onModelDetail) {\n    this.onModelDetail = onModelDetail;\n  }\n  toggleArrangeLayout() {\n    this.isArrangeLayout = !this.isArrangeLayout;\n  }\n  setDisableMiniMap(disableMiniMap) {\n    this.disableMiniMap = disableMiniMap;\n  }\n  setCurrentModel(keys) {\n    const n0 = +new Date();\n    const newKey = keys.length > 1 ? keys[1] : keys[0];\n    const root = (0, import_mobx_keystone.getRoot)(this);\n    const graph = root.graph.G6Graph;\n    if (graph) {\n      const item = graph.findById(\"model-\" + newKey);\n      if (item)\n        item.toFront();\n    }\n    this.currentModel = newKey;\n    const n1 = +new Date();\n  }\n  centerCurrentModel(keys) {\n    const newKey = keys.length > 1 ? keys[1] : keys[0];\n    this.currentModel = newKey;\n    const root = (0, import_mobx_keystone.getRoot)(this);\n    const graph = root.graph.G6Graph;\n    if (graph) {\n      const item = graph.findById(\"model-\" + newKey);\n      if (item)\n        item.toFront();\n      (0, import_graph.toCenter)(item, graph);\n      root.graph.setZoom(graph.getZoom());\n    }\n  }\n  openModel(key) {\n    const root = (0, import_mobx_keystone.getRoot)(this);\n    const graph = root.graph.G6Graph;\n    if (graph) {\n      const item = graph.findById(\"model-\" + key);\n      if (this.onModelDetail)\n        this.onModelDetail(item.getModel().data);\n    }\n  }\n  onInit() {\n    this.toggleShowNameOrLabel = this.toggleShowNameOrLabel.bind(this);\n  }\n  setDagreLayout(dagreLayout) {\n    this.dagreLayout = dagreLayout;\n  }\n};\n__decorateClass([\n  import_mobx_keystone.modelAction\n], TSys.prototype, \"toggleArrangeLayout\", 1);\n__decorateClass([\n  import_mobx_keystone.modelAction\n], TSys.prototype, \"setExpandedKeys\", 2);\n__decorateClass([\n  import_mobx_keystone.modelAction\n], TSys.prototype, \"setCheckedKeys\", 2);\n__decorateClass([\n  import_mobx_keystone.modelAction\n], TSys.prototype, \"setDisableMiniMap\", 1);\n__decorateClass([\n  import_mobx_keystone.modelAction\n], TSys.prototype, \"setCurrentModel\", 1);\n__decorateClass([\n  import_mobx_keystone.modelAction\n], TSys.prototype, \"centerCurrentModel\", 1);\n__decorateClass([\n  import_mobx_keystone.modelAction\n], TSys.prototype, \"openModel\", 1);\n__decorateClass([\n  import_mobx_keystone.modelAction\n], TSys.prototype, \"toggleTabOrTree\", 2);\n__decorateClass([\n  import_mobx_keystone.modelAction\n], TSys.prototype, \"changeModuleValue\", 2);\n__decorateClass([\n  import_mobx_keystone.modelAction\n], TSys.prototype, \"setSearch\", 2);\n__decorateClass([\n  import_mobx_keystone.modelAction\n], TSys.prototype, \"toggleShowNameOrLabel\", 2);\n__decorateClass([\n  import_mobx_keystone.modelAction\n], TSys.prototype, \"setDagreLayout\", 1);\nTSys = __decorateClass([\n  (0, import_mobx_keystone.model)(\"webpdm/TSys\")\n], TSys);\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n  TSys\n});\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/type/ui.d.ts",
    "content": "/// <reference types=\"react\" />\nimport { IComponentConfig } from './config';\ndeclare const TUi_base: import(\"mobx-keystone\")._Model<unknown, {\n    update: import(\"mobx-keystone\").OptionalModelProp<number>;\n    themeColor: import(\"mobx-keystone\").OptionalModelProp<string>;\n    selectedColor: import(\"mobx-keystone\").OptionalModelProp<string>;\n    darkness: import(\"mobx-keystone\").OptionalModelProp<boolean>;\n}, never, never>;\nexport declare class TUi extends TUi_base {\n    Tree?: React.ComponentType;\n    Input?: React.ComponentType;\n    Button?: React.ComponentType;\n    Dropdown?: React.ComponentType;\n    Menu?: React.ComponentType;\n    Select?: React.ComponentType;\n    Tooltip?: React.ComponentType;\n    Popover?: React.ComponentType;\n    IconRenders?: Record<string, React.ReactNode>;\n    isToogle: boolean;\n    disableIcons: string[];\n    registComponents(components?: IComponentConfig, IconRenders?: Record<string, React.ReactNode>, disableIcons?: string[]): void;\n    toggle(components: IComponentConfig): void;\n    setThemeColor(color: string): void;\n    setDarkness(darkness: boolean): void;\n}\nexport {};\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/type/ui.js",
    "content": "var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\n\n// src/type/ui.tsx\nvar ui_exports = {};\n__export(ui_exports, {\n  TUi: () => TUi\n});\nmodule.exports = __toCommonJS(ui_exports);\nvar import_mobx_keystone = require(\"mobx-keystone\");\nvar TUi = class extends (0, import_mobx_keystone.Model)({\n  update: (0, import_mobx_keystone.prop)(+new Date()),\n  themeColor: (0, import_mobx_keystone.prop)(\"black\"),\n  selectedColor: (0, import_mobx_keystone.prop)(\"rgba(11,108,149)\"),\n  darkness: (0, import_mobx_keystone.prop)(true)\n}) {\n  constructor() {\n    super(...arguments);\n    this.IconRenders = {};\n    this.isToogle = false;\n    this.disableIcons = [];\n  }\n  registComponents(components, IconRenders, disableIcons) {\n    if (components) {\n      Object.keys(components).forEach((k) => {\n        this[k] = components[k];\n      });\n    }\n    if (IconRenders)\n      this.IconRenders = { ...this.IconRenders, ...IconRenders };\n    if (disableIcons)\n      this.disableIcons = disableIcons;\n  }\n  toggle(components) {\n    this.registComponents(this.isToogle ? void 0 : components);\n    this.update = +new Date();\n    this.isToogle = !this.isToogle;\n  }\n  setThemeColor(color) {\n    this.themeColor = color;\n  }\n  setDarkness(darkness) {\n    this.darkness = darkness;\n  }\n};\n__decorateClass([\n  import_mobx_keystone.modelAction\n], TUi.prototype, \"toggle\", 1);\n__decorateClass([\n  import_mobx_keystone.modelAction\n], TUi.prototype, \"setThemeColor\", 1);\n__decorateClass([\n  import_mobx_keystone.modelAction\n], TUi.prototype, \"setDarkness\", 1);\nTUi = __decorateClass([\n  (0, import_mobx_keystone.model)(\"webpdm/TUi\")\n], TUi);\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n  TUi\n});\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/util/graph.d.ts",
    "content": "export declare const toCenter: (item: any, graph: any) => void;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/util/graph.js",
    "content": "var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/util/graph.tsx\nvar graph_exports = {};\n__export(graph_exports, {\n  toCenter: () => toCenter\n});\nmodule.exports = __toCommonJS(graph_exports);\nvar toCenter = (item, graph) => {\n  if (!item)\n    return;\n  graph.getNodes().filter((a) => !a.isSys).forEach((node) => {\n    node.getContainer().show();\n  });\n  graph.zoomTo(0.8);\n  graph.focusItem(item);\n  let height = graph.get(\"height\");\n  const itemHight = item.getKeyShape().attr(\"height\");\n  const graphHeight = height / 2;\n  graph.translate(0, -graphHeight + itemHight / 2 + 120);\n};\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n  toCenter\n});\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/util/index.d.ts",
    "content": "import { FC as SFC } from 'react';\nexport interface IComponentOptions<T> {\n    setup: SFC<T>;\n    displayName?: string;\n}\nexport interface IComponent {\n    <T>(options: IComponentOptions<T>): SFC<T>;\n}\nexport declare const defineComponent: IComponent;\nexport declare const ObComponent: IComponent;\nexport interface IComponentCreateOptions<T> {\n    useLocal?: any;\n    useSetup?: any;\n    render: SFC<T>;\n    displayName?: string;\n}\nexport interface IComponentCreate {\n    <T>(options: IComponentCreateOptions<T>): SFC<T>;\n}\nexport declare const CreateComponent: IComponentCreate;\nexport declare const json: (obj: any, replacer?: any, space?: any) => string;\nexport declare const renderJson: (value: any, replacer?: any, space?: any) => JSX.Element;\nexport declare function mapToArrary<T>(mapObj: Map<string, T>): T[];\nexport declare const intlLiteral: (text: string) => string;\nexport declare const changeTwoDecimal_f: (x: any) => any;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/util/index.js",
    "content": "var __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n  // If the importer is in node compatibility mode or this is not an ESM\n  // file that has been converted to a CommonJS file using a Babel-\n  // compatible transform (i.e. \"__esModule\" has not been set), then set\n  // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n  isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n  mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/util/index.tsx\nvar util_exports = {};\n__export(util_exports, {\n  CreateComponent: () => CreateComponent,\n  ObComponent: () => ObComponent,\n  changeTwoDecimal_f: () => changeTwoDecimal_f,\n  defineComponent: () => defineComponent,\n  intlLiteral: () => intlLiteral,\n  json: () => json,\n  mapToArrary: () => mapToArrary,\n  renderJson: () => renderJson\n});\nmodule.exports = __toCommonJS(util_exports);\nvar import_react = __toESM(require(\"react\"));\nvar import_mobx_react = require(\"mobx-react\");\nvar import_react_element_to_jsx_string = __toESM(require(\"react-element-to-jsx-string\"));\nvar defineComponent = ({ setup, displayName }) => {\n  setup.displayName = displayName;\n  return setup;\n};\nvar ObComponent = ({ setup, displayName }) => {\n  return (0, import_mobx_react.observer)(defineComponent({ setup, displayName }));\n};\nvar CreateComponent = ({\n  useLocal,\n  useSetup,\n  render,\n  displayName\n}) => {\n  const Render = (0, import_mobx_react.observer)(render);\n  const finnalRender = Render;\n  finnalRender.displayName = displayName;\n  return finnalRender;\n};\nvar json = (obj, replacer, space) => {\n  const _replacer = replacer || null;\n  const _space = space || 2;\n  return JSON.stringify(obj, _replacer, _space);\n};\nvar handleCircular = () => {\n  const cache = [];\n  const keyCache = [];\n  return (key, value) => {\n    if (typeof value === \"object\" && value !== null) {\n      if ((0, import_react.isValidElement)(value)) {\n        return (0, import_react_element_to_jsx_string.default)(value);\n      }\n      const index = cache.indexOf(value);\n      if (index !== -1) {\n        return `[Circular ${keyCache[index]}]`;\n      }\n      cache.push(value);\n      keyCache.push(key || \"root\");\n    }\n    return value;\n  };\n};\nvar renderJson = (value, replacer, space) => {\n  const _replacer = replacer || handleCircular();\n  const _json = JSON.stringify(value, _replacer, space);\n  const _res = JSON.parse(_json);\n  return /* @__PURE__ */ import_react.default.createElement(\"pre\", null, /* @__PURE__ */ import_react.default.createElement(\"code\", null, json(_res)));\n};\nfunction mapToArrary(mapObj) {\n  return [...mapObj.values()];\n}\nvar intlLiteral = (text) => {\n  return text;\n};\nvar changeTwoDecimal_f = (x) => {\n  let f_x = parseFloat(x);\n  if (isNaN(f_x)) {\n    return 0;\n  }\n  f_x = Math.round(x * 100) / 100;\n  let s_x = f_x.toString();\n  let pos_decimal = s_x.indexOf(\".\");\n  if (pos_decimal < 0) {\n    pos_decimal = s_x.length;\n    s_x += \".\";\n  }\n  while (s_x.length <= pos_decimal + 2) {\n    s_x += \"0\";\n  }\n  if (s_x >= 100)\n    return 100;\n  return s_x;\n};\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n  CreateComponent,\n  ObComponent,\n  changeTwoDecimal_f,\n  defineComponent,\n  intlLiteral,\n  json,\n  mapToArrary,\n  renderJson\n});\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/util/label.d.ts",
    "content": "/// <reference types=\"react\" />\nexport declare const renderModelTitle: (title: string, searchValue: string, showNameOrLabel: boolean, originalKey: string) => string | JSX.Element;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/cjs/util/label.js",
    "content": "var __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n  // If the importer is in node compatibility mode or this is not an ESM\n  // file that has been converted to a CommonJS file using a Babel-\n  // compatible transform (i.e. \"__esModule\" has not been set), then set\n  // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n  isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n  mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/util/label.tsx\nvar label_exports = {};\n__export(label_exports, {\n  renderModelTitle: () => renderModelTitle\n});\nmodule.exports = __toCommonJS(label_exports);\nvar import_react = __toESM(require(\"react\"));\nvar renderModelTitle = (title, searchValue, showNameOrLabel, originalKey) => {\n  if (showNameOrLabel) {\n    return renderTitle(originalKey, searchValue);\n  } else {\n    return renderTitle(title, searchValue);\n  }\n};\nvar renderLabel = (isSpec, beforeStr, afterStr, searchValue) => {\n  const greenStyle = isSpec ? { color: \"green\" } : {};\n  const searchStyle = {\n    color: \"#f50\"\n  };\n  return /* @__PURE__ */ import_react.default.createElement(\"span\", null, /* @__PURE__ */ import_react.default.createElement(\"span\", { style: greenStyle }, beforeStr), /* @__PURE__ */ import_react.default.createElement(\"span\", { style: searchStyle }, searchValue), /* @__PURE__ */ import_react.default.createElement(\"span\", { style: greenStyle }, afterStr));\n};\nvar renderTitle = (title, searchValue = \"\", isSpec = false) => {\n  if (!searchValue)\n    return title;\n  const index = title.indexOf(searchValue);\n  const beforeStr = title.substr(0, index);\n  const afterStr = title.substr(index + searchValue.length);\n  const titleFilter = index > -1 ? renderLabel(isSpec, beforeStr, afterStr, searchValue) : renderTitleGreen(isSpec, title);\n  return titleFilter;\n};\nvar renderTitleGreen = (isSpec, title) => {\n  const greenStyle = isSpec ? { color: \"green\" } : {};\n  return /* @__PURE__ */ import_react.default.createElement(\"span\", { style: greenStyle }, title);\n};\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n  renderModelTitle\n});\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/components/index.d.ts",
    "content": "import React from 'react';\nexport declare type IPagePros = {\n    style?: any;\n    className?: string;\n    height?: number;\n};\ndeclare const _default: React.FC<IPagePros>;\nexport default _default;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/components/index.js",
    "content": "import React from 'react';\nimport classnames from 'classnames';\nimport { CreateComponent } from \"../util\";\nimport ModelNavi from \"./model-navi\";\nimport GraphPage from \"../graph\";\nimport { useMst } from \"../context\";\nexport default CreateComponent({\n  displayName: 'page',\n  render: function render(props) {\n    var mst = useMst();\n\n    // alert( mst.sys.height)\n    // debugger\n    return /*#__PURE__*/React.createElement(\"div\", {\n      className: classnames('console-g6-page', props.className),\n      style: {\n        height: mst.sys.height\n      }\n    }, /*#__PURE__*/React.createElement(\"div\", {\n      className: \"console-erd-fps\"\n    }), /*#__PURE__*/React.createElement(\"div\", {\n      className: \"g6-modelnavi\"\n    }, /*#__PURE__*/React.createElement(ModelNavi, null)), /*#__PURE__*/React.createElement(\"div\", {\n      className: \"g6-graph\"\n    }, /*#__PURE__*/React.createElement(GraphPage, null)));\n  }\n});"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/components/model-navi/index.d.ts",
    "content": "import React from 'react';\nimport './style.scss';\ndeclare type IModelNaviProps = {\n    modules?: [];\n    model?: [];\n};\ndeclare const _default: React.FC<IModelNaviProps>;\nexport default _default;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/components/model-navi/index.js",
    "content": "function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nimport { EllipsisOutlined } from '@ant-design/icons';\nimport { debounce } from 'lodash';\n\n// import { Tree } from '../../tree'\n\n// import _ from 'lodash'\nimport React, { useCallback, useEffect, useState, useMemo } from 'react';\nimport Scroll from 'react-custom-scrollbars';\nimport { CreateComponent } from \"../../util\";\nimport { useMst } from \"../../context\";\nimport \"./style.scss\";\n// import mst from '@antv/g6/lib/algorithm/mst';\n\nconsole.log('hezk test =======');\nvar getTreeNodeTitle = function getTreeNodeTitle(model, root, OptionBuilder) {\n  return /*#__PURE__*/React.createElement(OptionBuilder, {\n    data: {\n      title: root.renderModelTitle(model),\n      options: [{\n        title: /*#__PURE__*/React.createElement(\"span\", null, \" \", root.intl('定位模型')),\n        key: 1,\n        click: function click(e) {\n          root.sys.centerCurrentModel([model.id]);\n          e.stopPropagation();\n        }\n      }, {\n        key: 2,\n        title: /*#__PURE__*/React.createElement(\"span\", null, \" \", root.intl('查看')),\n        click: function click(e) {\n          root.sys.openModel(model.id);\n          e.stopPropagation();\n        }\n      }\n      // {\n      //   title: <span> {intlLiteral('移除')}</span>\n      // },\n      ]\n    }\n  });\n};\n\nexport default CreateComponent({\n  render: function render(_) {\n    var mst = useMst();\n    var intl = mst.intl;\n    var _ref = mst.Ui,\n      Input = _ref.Input,\n      Button = _ref.Button,\n      Dropdown = _ref.Dropdown,\n      Menu = _ref.Menu,\n      Select = _ref.Select,\n      Tree = _ref.Tree;\n    var _ref2 = Tree,\n      TreeNode = _ref2.TreeNode,\n      OptionBuilder = _ref2.OptionBuilder;\n    var treeNodes = useMemo(function () {\n      return !mst.sys.tabOrTree ? mst.moduleList.map(function (m) {\n        return /*#__PURE__*/React.createElement(TreeNode, {\n          title: mst.sys.showNameOrLabel ? m.name : m.label,\n          key: m.id\n        }, _toConsumableArray(m.models.values()).filter(function (model) {\n          return model.filterModel();\n        }).map(function (model) {\n          return /*#__PURE__*/React.createElement(TreeNode, {\n            key: model.id,\n            title: getTreeNodeTitle(model, mst, OptionBuilder)\n          });\n        }));\n      }) : _toConsumableArray(mst.Models.values()).filter(function (model) {\n        return (!mst.sys.currentModule || model.moduleId === mst.sys.currentModule) && model.filterModel();\n      }).map(function (model) {\n        return /*#__PURE__*/React.createElement(TreeNode, {\n          key: model.id,\n          title: getTreeNodeTitle(model, mst, OptionBuilder)\n        });\n      });\n    }, [mst.sys.tabOrTree, mst.moduleList, mst.sys.showNameOrLabel, mst.sys.currentModule, mst.sys.search //打包后没有执行，添加search确保执行\n    ]);\n\n    useEffect(function () {}, [mst.Ui.update]);\n    var _useLocal = useLocal(),\n      search = _useLocal.search,\n      onExpand = _useLocal.onExpand,\n      checkAllFun = _useLocal.checkAllFun,\n      checkAllCancleFun = _useLocal.checkAllCancleFun,\n      toggleShowNameOrLabel = _useLocal.toggleShowNameOrLabel,\n      toggleTabOrTree = _useLocal.toggleTabOrTree,\n      Sys = _useLocal.Sys,\n      changeModuleValue = _useLocal.changeModuleValue,\n      setSearch = _useLocal.setSearch;\n    return /*#__PURE__*/React.createElement(\"div\", {\n      className: \"console-models-tree\",\n      style: {\n        height: mst.sys.height\n      }\n    }, /*#__PURE__*/React.createElement(\"div\", {\n      className: \"header\"\n    }, /*#__PURE__*/React.createElement(\"div\", {\n      className: \"console-erd-search\"\n    }, /*#__PURE__*/React.createElement(Input, {\n      allowClear: true,\n      value: search,\n      size: \"small\",\n      onChange: function onChange(e) {\n        return setSearch(e.target.value);\n      },\n      addonAfter: Sys.tabOrTree && /*#__PURE__*/React.createElement(Select, {\n        size: \"small\",\n        defaultValue: Sys.currentModule,\n        value: Sys.currentModule,\n        className: \"select-after\",\n        onChange: changeModuleValue\n      }, [/*#__PURE__*/React.createElement(Select.Option, {\n        value: ''\n      }, intl('所有'))].concat(_toConsumableArray(_toConsumableArray(mst.Modules.values()).map(function (module) {\n        return /*#__PURE__*/React.createElement(Select.Option, {\n          value: module.id,\n          key: module.id\n        }, module.label);\n      }))))\n    })), /*#__PURE__*/React.createElement(\"div\", {\n      className: \"console-erd-search btns\"\n    }, mst.sys.tabOrTree && /*#__PURE__*/React.createElement(Button, {\n      size: \"small\",\n      type: \"text\",\n      onClick: checkAllFun\n    }, intl('选择所有')), mst.sys.tabOrTree && /*#__PURE__*/React.createElement(Button, {\n      size: \"small\",\n      type: \"text\",\n      onClick: checkAllCancleFun\n    }, intl('清除所有')), /*#__PURE__*/React.createElement(Button, {\n      size: \"small\",\n      type: \"text\",\n      onClick: toggleShowNameOrLabel\n    }, intl('显示'), !mst.sys.showNameOrLabel ? intl('名称') : intl('标签')), !Sys.onlyMode && /*#__PURE__*/React.createElement(Dropdown, {\n      className: \"right\",\n      overlay: /*#__PURE__*/React.createElement(Menu, null, /*#__PURE__*/React.createElement(Menu.Item, {\n        key: \"1\",\n        onClick: toggleTabOrTree\n      }, !Sys.tabOrTree ? intl('分类') : intl('树形'), ' ', intl('模式')))\n    }, /*#__PURE__*/React.createElement(\"span\", null, /*#__PURE__*/React.createElement(EllipsisOutlined, null))))), /*#__PURE__*/React.createElement(\"div\", {\n      className: \"navitree-warp\"\n    }, /*#__PURE__*/React.createElement(Scroll, {\n      autoHide: true,\n      autoHeight: true,\n      autoHideTimeout: 1000,\n      autoHideDuration: 200,\n      autoHeightMin: '100%',\n      autoHeightMax: '100%'\n    }, /*#__PURE__*/React.createElement(Tree, {\n      showIcon: false,\n      className: \"console-models-tree-tree\",\n      onSelect: mst.sys.setCurrentModel.bind(mst.sys),\n      selectedKeys: [mst.sys.currentModel],\n      checkedKeys: _toConsumableArray(mst.sys.checkedKeys),\n      onCheck: mst.setCheckedKeys.bind(mst),\n      checkable: true,\n      onExpand: onExpand,\n      multiple: true,\n      expandedKeys: _toConsumableArray(mst.sys.expandedKeys)\n    }, treeNodes))));\n  },\n  displayName: 'navi'\n});\nvar useLocal = function useLocal() {\n  var mst = useMst();\n  var _useState = useState(mst.sys.search),\n    _useState2 = _slicedToArray(_useState, 2),\n    text = _useState2[0],\n    setText = _useState2[1];\n  var _useState3 = useState(false),\n    _useState4 = _slicedToArray(_useState3, 2),\n    texting = _useState4[0],\n    setTexting = _useState4[1];\n  // 重复setText 导致快速输入时inputValue显示异常\n  // useEffect(() => {\n  //     if (!texting) debounce(() => {\n  //         setText(mst.sys.search);\n\n  //     }, 1000)()//时间设置太长导致input框未能即使更新设置值\n  // }, [mst.sys.search])\n\n  var setSearch = useCallback(function (val) {\n    setTexting(true);\n    setText(val);\n    debounce(function () {\n      mst.sys.setSearch(val);\n      setTexting(false);\n    }, 500)();\n  }, [mst.sys.setSearch, setText]);\n  // const setSearch = mst.sys.setSearch;\n  return {\n    search: text,\n    get modules() {\n      return mst.moduleList;\n    },\n    onExpand: function onExpand(expandedKeys) {\n      mst.sys.setExpandedKeys(expandedKeys);\n    },\n    get expandedKeys() {\n      return mst.sys.expandedKeys;\n    },\n    checkAllFun: function checkAllFun() {\n      return mst.checkAllFun();\n    },\n    checkAllCancleFun: function checkAllCancleFun() {\n      return mst.checkAllCancleFun();\n    },\n    toggleShowNameOrLabel: mst.sys.toggleShowNameOrLabel,\n    toggleTabOrTree: mst.sys.toggleTabOrTree.bind(mst.sys),\n    get Sys() {\n      return mst.sys;\n    },\n    changeModuleValue: mst.sys.changeModuleValue.bind(mst.sys),\n    setSearch: setSearch\n  };\n};"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/components/model-navi/style.scss",
    "content": ".console-g6-page {\n    background-color: #fff;\n    display: flex;\n    flex: 1;\n    flex-direction: row;\n    overflow: hidden;\n    height: 100%;\n    .g6-graph {\n        // width: calc(100% - 250px)\n        // padding-left: 16px;\n        margin-right: 16px;\n        flex: 1;\n        width: 0;\n        height: 100%;\n        .ant-spin-nested-loading {\n            height: 100%;\n            .ant-spin-container {\n                height: 100%;\n            }\n        }\n    }\n\n    .g6-info {\n        width: 50px;\n    }\n\n    .g6-modelnavi {\n        width: 270px;\n        margin-bottom: 16px;\n        height: 100%;\n\n        .console-models-tree {\n            overflow: hidden;\n            display: flex;\n            flex-direction: column;\n            padding-bottom: 50px;\n\n            height: 100%;\n            margin-right: 25px;\n\n            .header {\n                height: 60px;\n            }\n\n            .navitree-warp {\n                flex: 1;\n                // overflow-y: scroll;\n                display: flex;\n                flex-direction: column;\n                overflow: hidden;\n                // margin-top: 8px;\n                // margin-bottom: 24px;\n                height: 100%;\n                margin-left: 10px;\n                border: 1px solid rgba(0, 0, 0, 0.1);\n            }\n            .console-erd-search {\n                margin-top: 3px;\n                // height:35px;\n                margin-bottom: 4px;\n                // margin-right: 30px;\n                margin-left: 10px;\n                display: flex;\n                .right {\n                    float: right;\n                }\n                .console-erd-add {\n                    font-size: 20px;\n                    // margin-right: 25px;\n                    color: rgba(0, 0, 0, 0.4);\n                    cursor: pointer;\n                    margin-left: 5px;\n                }\n            }\n            // .header {\n            //   // height: 50px;\n            //   // border-bottom:1px solid rgba(0, 0, 0, 0.1);\n            // }\n\n            .console-models-tree-tree {\n                flex: 1;\n                //  overflow: hidden;\n                padding-right: 5px;\n                .ant-tree-treenode {\n                    width: 100%;\n                }\n                //  div.ant-tree-treenode:hover {\n                //   background-color: red;\n                // }\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/components/model-toolbar/index.d.ts",
    "content": "/// <reference types=\"react\" />\ndeclare const _default: ({ graph }: {\n    graph: any;\n}) => JSX.Element;\nexport default _default;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/components/model-toolbar/index.js",
    "content": "function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n// import { Tooltip } from 'antd'\n\nimport classNames from 'classnames';\nimport React, { isValidElement, useState, useCallback } from 'react';\nimport { observer } from 'mobx-react';\nimport { changeTwoDecimal_f, CreateComponent } from \"../../util\";\nimport { useMst } from \"../../context\";\nimport { SketchPicker } from 'react-color';\nimport { throttle } from 'lodash';\n\n// import StateStack from '../../state-stack'\n// import { undoManager } from '../../context'\n//<SnippetsOutlined />\n//<Snip/** @type {*} */\n\n// type TIconRenders = typeof IconRenders\n// export type TIconRendersKeys = keyof TIconRenders\n\nexport default observer(function (_ref) {\n  var _mst$graph;\n  var graph = _ref.graph;\n  var mst = useMst();\n  var intl = mst.intl;\n  var undoManager = mst.undoManager;\n  var _ref2 = mst.Ui,\n    Tooltip = _ref2.Tooltip,\n    Popover = _ref2.Popover;\n  var _IconRenders = _objectSpread({}, mst.Ui.IconRenders);\n  var _useState = useState(false),\n    _useState2 = _slicedToArray(_useState, 2),\n    colorPabel = _useState2[0],\n    setColorPabel = _useState2[1];\n  var setColor = useCallback(throttle(function (color) {\n    mst.Ui.setThemeColor(color.hex);\n    //  setColorPabel(false)\n  }, 200), [colorPabel]);\n  var zoomNum = graph && changeTwoDecimal_f(parseFloat(((_mst$graph = mst.graph) === null || _mst$graph === void 0 ? void 0 : _mst$graph.zoom) * 100 + '') + '') || 0;\n  if (!graph) return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"console-erd-toolbar\"\n  }, intl('正在初始化中'), \"....\");\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"console-erd-toolbar\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"right\"\n  }, /*#__PURE__*/React.createElement(ButtonActon, {\n    IconRenders: _IconRenders,\n    key: 1,\n    Tooltip: Tooltip,\n    title: intl('撤销'),\n    color: mst.Ui.darkness && undoManager.canUndo ? mst.Ui.themeColor : undefined,\n    disable: !undoManager.canUndo,\n    icon: \"undo\",\n    onClick: mst.undo.bind(mst)\n  }), /*#__PURE__*/React.createElement(ButtonActon, {\n    IconRenders: _IconRenders,\n    key: 2,\n    Tooltip: Tooltip,\n    title: intl('重做'),\n    color: mst.Ui.darkness && undoManager.canRedo ? mst.Ui.themeColor : undefined,\n    disable: !undoManager.canRedo,\n    icon: \"redo\",\n    onClick: mst.redo.bind(mst)\n  }), /*#__PURE__*/React.createElement(ButtonActon, {\n    IconRenders: _IconRenders,\n    key: 3,\n    Tooltip: Tooltip,\n    title: intl('放大'),\n    color: mst.Ui.darkness ? mst.Ui.themeColor : undefined,\n    disable: zoomNum >= 100,\n    icon: \"max\",\n    onClick: mst.graph.maxZoom.bind(mst.graph, graph)\n  }), /*#__PURE__*/React.createElement(\"span\", {\n    className: \"zoomNum noselect\"\n  }, graph && \"\".concat(zoomNum >= 100 ? 100 : zoomNum, \"%\")), /*#__PURE__*/React.createElement(ButtonActon, {\n    IconRenders: _IconRenders,\n    key: 4,\n    Tooltip: Tooltip,\n    title: intl('缩小'),\n    color: mst.Ui.darkness ? mst.Ui.themeColor : undefined,\n    disable: zoomNum < 5,\n    icon: \"min\",\n    onClick: mst.graph.minZoom.bind(mst.graph, graph)\n  }), /*#__PURE__*/React.createElement(ButtonActon, {\n    IconRenders: _IconRenders,\n    key: 5,\n    Tooltip: Tooltip,\n    title: intl('全景'),\n    color: mst.Ui.darkness ? mst.Ui.themeColor : undefined,\n    icon: \"full\",\n    onClick: mst.graph.container.bind(mst.graph, graph)\n  }), /*#__PURE__*/React.createElement(ButtonActon, {\n    IconRenders: _IconRenders,\n    key: 6,\n    Tooltip: Tooltip,\n    title: intl(!mst.sys.disableMiniMap ? '显示小地图' : '屏蔽小地图'),\n    color: mst.Ui.darkness ? mst.Ui.themeColor : undefined,\n    icon: mst.sys.disableMiniMap ? 'miniMap' : 'miniMapNo',\n    onClick: mst.sys.setDisableMiniMap.bind(mst.sys, !mst.sys.disableMiniMap)\n  }), /*#__PURE__*/React.createElement(ButtonActon, {\n    IconRenders: _IconRenders,\n    key: 7,\n    Tooltip: Tooltip,\n    title: intl('刷新数据'),\n    color: mst.Ui.darkness ? mst.Ui.themeColor : undefined,\n    icon: \"reload\",\n    onClick: mst.reload.bind(mst)\n  }), /*#__PURE__*/React.createElement(ButtonActon, {\n    IconRenders: _IconRenders,\n    key: 8,\n    Tooltip: Tooltip,\n    title: intl('下载图片'),\n    color: mst.Ui.darkness ? mst.Ui.themeColor : undefined,\n    icon: \"image\",\n    onClick: mst.graph.downAsImage.bind(mst.graph, graph)\n  }), /*#__PURE__*/React.createElement(ButtonActon, {\n    IconRenders: _IconRenders,\n    key: 9,\n    Tooltip: Tooltip,\n    title: mst.sys.dagreLayout ? intl('切换层次布局') : intl('切换关联布局'),\n    icon: !mst.sys.dagreLayout ? 'dagreLayout' : 'relationLayout',\n    color: mst.Ui.darkness ? mst.Ui.themeColor : undefined,\n    onClick: mst.sys.setDagreLayout.bind(mst.sys, !mst.sys.dagreLayout)\n  }), /*#__PURE__*/React.createElement(ButtonActon, {\n    IconRenders: _IconRenders,\n    key: 10,\n    Tooltip: Tooltip,\n    title: intl('切换底色'),\n    icon: mst.Ui.darkness ? 'darkness' : 'light',\n    color: mst.Ui.darkness ? mst.Ui.themeColor : undefined,\n    onClick: mst.Ui.setDarkness.bind(mst.Ui, !mst.Ui.darkness)\n  }), /*#__PURE__*/React.createElement(Popover, {\n    placement: \"rightTop\",\n    arrowPointAtCenter: true,\n    footer: null,\n    content: /*#__PURE__*/React.createElement(SketchPicker, {\n      color: mst.Ui.themeColor,\n      onChange: setColor\n    }),\n    visible: colorPabel\n  }, /*#__PURE__*/React.createElement(ButtonActon, {\n    IconRenders: _IconRenders,\n    Tooltip: Tooltip,\n    title: \"\".concat(intl('点击')).concat(colorPabel ? intl('关闭') : intl('打开'), \" \").concat(intl('颜色面板')),\n    color: mst.Ui.themeColor,\n    icon: colorPabel ? 'colorClose' : 'colorOpen',\n    onClick: setColorPabel.bind(null, !colorPabel)\n  }))));\n});\nvar ButtonActon = CreateComponent({\n  render: function render(props) {\n    var mst = useMst();\n    // const disableIcons = mst.Ui.disableIcons.reduce((pre, cur) => ({ ...pre, [cur]: true }), {})\n\n    var Tooltip = props.Tooltip;\n    if (mst.Ui.disableIcons.indexOf(props.icon) >= 0) return null;\n    var IconRender = /*#__PURE__*/isValidElement(props.icon) ? props.icon : props.IconRenders[props.icon];\n    return /*#__PURE__*/React.createElement(Tooltip, {\n      title: props.title\n    }, /*#__PURE__*/React.createElement(\"span\", {\n      style: {\n        color: props.color\n      },\n      className: classNames({\n        enable: !props.disable,\n        'command-btn': true\n      }),\n      onClick: !props.disable ? props.onClick : undefined\n    }, IconRender));\n  }\n});"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/context.d.ts",
    "content": "/// <reference types=\"react\" />\nimport { RootInstance } from './type';\nexport declare const Provider: import(\"react\").Provider<RootInstance | null>;\nexport declare function useMst(): RootInstance;\nexport declare const createRootStore: (props: any) => RootInstance;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/context.js",
    "content": "function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nimport { createContext, useContext } from 'react';\nimport { undoMiddleware } from 'mobx-keystone';\nimport { createStore } from \"./type\";\nvar RootStoreContext = /*#__PURE__*/createContext(null);\nexport var Provider = RootStoreContext.Provider;\nexport function useMst() {\n  var store = useContext(RootStoreContext);\n  if (store === null) {\n    throw new Error('Store cannot be null, please add a context provider');\n  }\n  return store;\n}\n\n// export const rootStore = createStore()\n// export const undoManager = undoMiddleware(rootStore)\nexport var createRootStore = function createRootStore(props) {\n  var _props$sys, _props$sys2;\n  var onIgnoreEdge = props === null || props === void 0 ? void 0 : (_props$sys = props.sys) === null || _props$sys === void 0 ? void 0 : _props$sys.onIgnoreEdge;\n  var newProps = _objectSpread(_objectSpread({}, props), {}, {\n    sys: _objectSpread(_objectSpread({}, props.sys), {}, {\n      onIgnoreEdge: undefined,\n      onModelDetail: props.onModelDetail\n    })\n  });\n  var rootStore = createStore(newProps);\n  rootStore.setOnReload(props.onReload);\n  rootStore.onIntl = props.onIntl;\n  rootStore.sys.setOnModelDetail(props === null || props === void 0 ? void 0 : (_props$sys2 = props.sys) === null || _props$sys2 === void 0 ? void 0 : _props$sys2.onModelDetail);\n  //alert('createRootStore')\n  if (onIgnoreEdge) rootStore.sys.onIgnoreEdge = onIgnoreEdge;\n  rootStore.setUndoManager(undoMiddleware(rootStore));\n  return rootStore;\n};"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/graph/data.d.ts",
    "content": "import { RootInstance } from '../type';\nexport declare const createData: (root: RootInstance) => {\n    id: string;\n    type: string;\n    isKeySharp: boolean;\n    visible: boolean;\n    selected: boolean;\n    showNameOrLabel: boolean;\n    config: {\n        width: number;\n        headerHeight: number;\n        fieldHeight: number;\n        labelSize: number;\n        styleConfig: {\n            naviWidth: number;\n            default: {\n                node: {\n                    fill: string;\n                    shadowColor: string;\n                    shadowBlur: number;\n                    shadowOffsetX: number;\n                    shadowOffsetY: number;\n                    radius: number;\n                    lineWidth: number;\n                    opacity: number;\n                    stroke: string;\n                };\n                edge: {\n                    lineWidth: number;\n                    size: number;\n                    lineAppendWidth: number;\n                    endArrow: {\n                        path: any;\n                    };\n                    startArrow: {\n                        path: any;\n                        d: number;\n                    };\n                    radius: number;\n                    labelCfg: {\n                        autoRotate: boolean;\n                        style: {\n                            fontSize: number;\n                        };\n                    };\n                    stroke: any;\n                };\n            };\n            selected: {\n                node: {\n                    stroke: string;\n                    shadowColor: string;\n                };\n            };\n            isNoModule: {\n                node: {\n                    opacity: number;\n                };\n            };\n            fieldRelation: {\n                node: {\n                    fill: string;\n                    shadowColor: string;\n                    shadowBlur: number;\n                    shadowOffsetX: number;\n                    shadowOffsetY: number;\n                    radius: number;\n                    lineWidth: number;\n                    opacity: number;\n                    stroke: string;\n                };\n                edge: {\n                    lineWidth: number;\n                    size: number;\n                    lineAppendWidth: number;\n                    endArrow: {\n                        path: any;\n                        d: number;\n                    };\n                    startArrow: {\n                        path: any;\n                        d: number;\n                    };\n                    radius: number;\n                    labelCfg: {\n                        autoRotate: boolean;\n                        style: {\n                            fontSize: number;\n                        };\n                    };\n                    stroke: any;\n                };\n            };\n        };\n        colors: {\n            blue: any;\n            white: string;\n            head: any;\n            black: string;\n        };\n    };\n    data: {\n        moduleKey: string;\n        label: string;\n        fields: any[];\n        key: string;\n        name: string;\n        tag: string;\n        aggregateRoot: boolean;\n        aggregateModelKey: string;\n        belongAggregate: string;\n        nodeSize: number;\n    };\n    themeColor: any;\n    darkness: boolean;\n    size: number;\n}[];\nexport declare const createLinks: (root: RootInstance) => any[];\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/graph/data.js",
    "content": "function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\n// import mst from '@antv/g6/lib/algorithm/mst'\n\n// import { mapToArrary } from '../util'\nimport { initStyle } from \"./item/style\";\nvar getLength = function getLength(length) {\n  return length >= 20 ? length : 20;\n};\nexport var createData = function createData(root) {\n  //alert('createData')\n  var t0 = +new Date();\n  var _initStyle = initStyle({\n      primaryColor: root.Ui.themeColor\n    }),\n    style = _initStyle.style,\n    colors = _initStyle.colors;\n  var res = _toConsumableArray(root.Models.values()).filter(function (a) {\n    return !root.sys.dagreLayout || root.sys.dagreLayout && a.aggregateModelKey;\n  }).map(function (m) {\n    return {\n      id: 'model-' + m.id,\n      type: 'console-model-Node',\n      isKeySharp: root.graph.zoom <= 0.4,\n      visible: !!root.sys.checkedKeys.find(function (a) {\n        return a === m.id;\n      }),\n      selected: m.id === root.sys.currentModel,\n      showNameOrLabel: root.sys.showNameOrLabel,\n      config: {\n        width: 300,\n        headerHeight: 48,\n        fieldHeight: 32,\n        labelSize: 14,\n        styleConfig: style,\n        colors: colors\n      },\n      data: {\n        moduleKey: m.moduleId,\n        label: m.label,\n        fields: m.fields.map(function (a) {\n          return _objectSpread(_objectSpread({}, a), {}, {\n            relationModel: a.relationModel\n          });\n        }),\n        key: m.id,\n        name: m.name,\n        tag: 'aggregate',\n        aggregateRoot: m.aggregateRoot,\n        aggregateModelKey: m.aggregateModelKey,\n        belongAggregate: m.belongAggregate,\n        nodeSize: (48 + getLength(m.fields.length) * 48) / 6 * 6 / 6\n      },\n      themeColor: colors.blue,\n      darkness: root.Ui.darkness,\n      size: (48 + getLength(m.fields.length) * 48) / 6 * 6\n    };\n  }).filter(function (a) {\n    return a.visible;\n  });\n  //const t1 = +new Date()\n  // console.log(res)\n  //alert(res.length +  '   ' + (t1 - t0))\n  if (res.length > 0) return res.concat([createSysNode()]);\n  return res;\n};\nvar createSysNode = function createSysNode() {\n  return {\n    id: 'model-SYS-CENTER-POINT',\n    type: 'circle',\n    isSys: true,\n    visible: true,\n    isKeySharp: true,\n    size: 10,\n    style: {\n      opacity: 0\n    }\n  };\n};\nvar Relation = {\n  ToOne: '1:1',\n  ToMany: '1:n',\n  lookup: '查找',\n  toOne: '1:1',\n  toMany: '1:n',\n  Lookup: '查找'\n};\nexport var createLinks = function createLinks(root) {\n  var _initStyle2 = initStyle({\n      primaryColor: root.Ui.themeColor\n    }),\n    style = _initStyle2.style;\n  var links = _toConsumableArray(root.Models.values()).reduce(function (pre, model) {\n    if (!root.sys.checkedKeys.find(function (a) {\n      return a === model.id;\n    })) return pre;\n    var sysLink = {\n      key: 'model-' + model.id + '~' + 'model-SYS-CENTER-POINT',\n      source: 'model-' + model.id,\n      // target: 'model-' + relationModel!.id,\n      // visible: false,\n      isSys: true,\n      // style: {\n      //   visible: false,\n      // },\n      target: 'model-SYS-CENTER-POINT',\n      type: 'console-line',\n      style: {\n        opacity: 0\n      }\n    };\n    var fieldLinks = model.fields.reduce(function (fPre, field, i) {\n      var tempfPre = fPre;\n      // const { id } = field\n      if (Array.isArray(field.typeMeta)) {\n        var arr = field.typeMeta.forEach(function (element) {\n          var isRelation = element.type === 'Relation' && (element === null || element === void 0 ? void 0 : element.relationModel);\n          if (isRelation) {\n            if (root.sys.onIgnoreEdge && root.sys.onIgnoreEdge(field)) return fPre;\n            var relationModel = root.findModelByName(element.relationModel);\n            if (!relationModel || !root.sys.checkedKeys.find(function (a) {\n              return a === relationModel.id;\n            })) return fPre;\n            var isTo = true;\n            var l = model.fields.length;\n            var sourceAnchor = !isTo ? i + 2 : 2 + i + l;\n            var targetTable = _toConsumableArray(root.Models.values()).find(function (pre) {\n              return pre.id === relationModel.id;\n            });\n            var targetTableFieldIndex = (targetTable === null || targetTable === void 0 ? void 0 : targetTable.fields.findIndex(function (item) {\n              return item.name === element.field;\n            })) + 2;\n            var relationEdge = {\n              key: 'model-' + model.id + '~' + 'model-' + relationModel.id,\n              source: 'model-' + model.id,\n              target: 'model-' + relationModel.id,\n              sourceAnchor: sourceAnchor,\n              targetAnchor: targetTableFieldIndex,\n              fieldIndex: i,\n              tooltip: \"<div>\\u4ECE <span class='text'>\".concat(relationModel === null || relationModel === void 0 ? void 0 : relationModel.label, \"</span> \\u5230 <span class='text'>\").concat(model === null || model === void 0 ? void 0 : model.label, \"=> \").concat(element.field, \"</span> \").concat(Relation[field.type] || field.type, \" \\u5173\\u7CFB</div>\"),\n              fieldsLength: l,\n              style: style.fieldRelation.edge,\n              type: 'console-line',\n              // label: field.type,\n              labelAutoRotate: true,\n              loopCfg: {\n                // position: 'top',\n                clockwise: true,\n                // dist: 200,\n                dist: 100\n              }\n            };\n            tempfPre.push(relationEdge);\n            return tempfPre;\n          } else return tempfPre;\n        });\n      } else {\n        var _field$typeMeta;\n        var isRelation = field.typeMeta && field.typeMeta.type === 'Relation' && ((_field$typeMeta = field.typeMeta) === null || _field$typeMeta === void 0 ? void 0 : _field$typeMeta.relationModel);\n        if (isRelation) {\n          if (root.sys.onIgnoreEdge && root.sys.onIgnoreEdge(field)) return fPre;\n          //if(field?.typeMeta?.relationModel === 'base_User' && (confirmEnding(field.name, 'createdBy') || confirmEnding(field.name,'updatedBy')  ) ) return fPre\n          var relationModel = root.findModelByName(field.typeMeta.relationModel);\n          if (!relationModel || !root.sys.checkedKeys.find(function (a) {\n            return a === relationModel.id;\n          })) return fPre;\n          var isTo = true;\n          var l = model.fields.length;\n          var sourceAnchor = !isTo ? i + 2 : 2 + i + l;\n          return [].concat(_toConsumableArray(fPre), [{\n            key: 'model-' + model.id + '~' + 'model-' + relationModel.id,\n            source: 'model-' + model.id,\n            target: 'model-' + relationModel.id,\n            sourceAnchor: sourceAnchor,\n            // // targetAnchor: sourceAnchor,\n            targetAnchor: model.id === relationModel.id ? sourceAnchor - 1 : undefined,\n            fieldIndex: i,\n            tooltip: \"<div>\\u4ECE <span class='text'>\".concat(relationModel === null || relationModel === void 0 ? void 0 : relationModel.label, \"</span> \\u5230 <span class='text'>\").concat(model === null || model === void 0 ? void 0 : model.label, \"</span> \").concat(Relation[field.type] || field.type, \" \\u5173\\u7CFB</div>\"),\n            fieldsLength: l,\n            style: style.default.edge,\n            type: 'console-line',\n            label: Relation[field.type] || field.type,\n            labelAutoRotate: true,\n            loopCfg: {\n              // position: 'top',\n              clockwise: true,\n              // dist: 200,\n              dist: 100\n            },\n            labelCfg: {\n              style: {\n                stroke: '#fff',\n                lineWidth: 30\n              }\n            }\n          }]);\n        }\n      }\n      return fPre;\n    }, []);\n    return [].concat(_toConsumableArray(pre), _toConsumableArray(fieldLinks), [sysLink]);\n  }, []);\n  return links.filter(function (a) {\n    return !!a;\n  });\n};\n\n// export const getNodes = (models, styleConfig) => {\n//     // const _key = stateConfig.model_keys.key\n//     const nodeRes = models\n//       .map((model, i) => {\n//         return {\n//           id: 'model-' + model.key,\n//           hide: checkedKeys.indexOf('model-' + model.key) === -1,\n//           // groupId: `module-${model.moduleKey}`,\n//           config: {\n//             width: 300,\n//             headerHeight: 48,\n//             fieldHeight: 32,\n//             labelSize: 14 ,\n//             hide: checkedKeys.indexOf('model-' + model.key) === -1,\n//             styleConfig,\n//           },\n//           data: {\n//             moduleKey: `module-${model.moduleKey}`,\n//             label: showLable(model),\n//             fields: fields(model, models),\n//             key: model.key,\n//             name: model.name || model.key,\n//             tag: 'aggregate',\n//             aggregateRoot:  model.aggregateRoot,\n//             aggregateModelKey: model.aggregateModelKey,\n//             belongAggregate: model.belongAggregate,\n//             nodeSize:  ((48 +  getLength(model.fields.length) * 48) / 6) *\n//             6  / 6,\n//           },\n//           type: 'console-model-Node',\n//           isKeySharp: true,\n//           size:   ((48 +  getLength(model.fields.length) * 48) / 6) *\n//           6 ,\n//         }\n//       })\n\n//     return nodeRes.length > 0 ? nodeRes.concat([createSysNode()]) : nodeRes\n\n//     // })\n//   }"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/graph/event.d.ts",
    "content": "import { RootInstance } from '../type';\ndeclare const _default: (graph: Graph, mst: RootInstance) => void;\nexport default _default;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/graph/event.js",
    "content": "import { debounce, throttle } from 'lodash';\n// declare interface Graph {\n//   isLayouting : boolean\n// }\n\nexport default (function (graph, mst) {\n  // alert(mst === window.kkk)\n  // alert(mst.graph.G6Graph)\n  var setZoom = debounce(function (zoom) {\n    mst.graph.setZoom(zoom);\n  }, 100);\n  graph.on('wheelzoom', throttle(function () {\n    // console.log(graph.getZoom())\n    // alert()\n    // setZoom(graph.getZoom())\n    mst.graph.setZoom(graph.getZoom());\n\n    // whZoom()\n  }, 200));\n  graph.on('beforepaint', throttle(function () {\n    // alert()\n    if (graph['isLayouting']) {\n      //  graph.getNodes().filter((a) => !a.isSys).forEach((node) => {\n      //   node.getContainer().hide()\n      //   // node.getEdges().forEach(a=>a.hide())\n      //  })\n      return;\n    }\n    var isExporting = graph['isExporting'];\n    var gWidth = graph.get('width');\n    var gHeight = graph.get('height');\n    // 获取视窗左上角对应画布的坐标点\n    var topLeft = graph.getPointByCanvas(0, 0); // 获取视窗右下角对应画布坐标点\n\n    var bottomRight = graph.getPointByCanvas(gWidth, gHeight);\n    graph.getNodes().filter(function (a) {\n      return !a['isSys'];\n    }).forEach(function (node) {\n      var model = node.getModel();\n      if (model.isSys) return;\n      if (!model.visible) {\n        // node.getContainer().hide()\n        graph.hideItem(node);\n        // return\n      }\n\n      if (isExporting) return;\n      var _data = model['data'];\n      var config = model['config'];\n      var h = (config.headerHeight + _data.fields.length * config.fieldHeight + 4) / 2;\n      var w = config.width / 2; // 如果节点不在视窗中，隐藏该节点，则不绘制\n      // note:由于此应用中有minimap，直接隐藏节点会影响缩略图视图，直接隐藏节点具体内容\n\n      if (!model.selected && (model.x + w < topLeft.x - 200 || model.x - w > bottomRight.x || model.y + h < topLeft.y || model.y - h > bottomRight.y)) {\n        node.getContainer().hide();\n        node.getEdges().forEach(function (a) {\n          return a.hide();\n        });\n      } else {\n        // 节点在视窗中，则展示\n        node.getContainer().show();\n        node.getEdges().forEach(function (a) {\n          return a.show();\n        });\n      }\n    });\n    var endLayout = graph['endLayout'];\n    if (endLayout || 1) {\n      // alert('endLayout')\n\n      graph.getEdges().forEach(function (edge) {\n        var sourceNode = edge.get('sourceNode');\n        var targetNode = edge.get('targetNode');\n        var targetModel = targetNode.getModel();\n        var edgeModel = edge.getModel();\n        if ((targetModel.visible || sourceNode.getModel().visible) && graph.getZoom() >= 0.3) {\n          if (!edgeModel.self && !edgeModel.isSys) {\n            var isTo = sourceNode.getModel().x < targetNode.getModel().x;\n            var i = edgeModel.fieldIndex;\n            var l = edgeModel.fieldsLength;\n\n            // const isTo = targetModel.x > sourceNode.getModel().x\n            var sourceAnchor = !isTo ? i + 2 : 2 + i + l;\n            // if (targetModel.targetAnchor !== targetAnchor)\n            //   // edge.set('targetAnchor', targetAnchor)\n            graph.updateItem(edge, {\n              sourceAnchor: sourceAnchor\n            });\n          }\n        }\n        if (!targetModel.visible || !sourceNode.getModel().visible) {\n          edge.hide();\n          // return\n        }\n        // if (isExporting) return\n\n        if (!sourceNode.getContainer().get('visible') && !targetNode.getContainer().get('visible')) {\n          edge.hide();\n        } else {\n          edge.show();\n        }\n      });\n    }\n  }, 300)); // graph.on('node:dblclick', (ev) => {\n  // })\n\n  //return graph\n  //}\n\n  //------------------\n  // graph.on('canvas:dragend', () => {\n  //   const canvasElement = graph.get('canvas').get('el')\n  //   canvasElement.style.cursor = 'grab'\n\n  // })\n  //-----------\n\n  graph.on('canvas:dragstart', function () {\n    var canvasElement = graph.get('canvas').get('el');\n    canvasElement.style.cursor = 'grabbing';\n  });\n\n  // canvas:dragend\n  graph.on('canvas:dragend', function () {\n    var canvasElement = graph.get('canvas').get('el');\n    canvasElement.style.cursor = 'grab';\n  });\n  graph.on('node:click', function (ev) {\n    var target = ev.target;\n    if (target.attr('click')) {\n      var _target$attr, _target$attr$relation;\n      // props.toolBarCommand && props.toolBarCommand('click', {\n      //   node: ev.item.getModel().id,\n      //   arg: target.attr('arg'),\n      //   click: target.attr('click'),\n      // })\n      // alert(mst.graph === window.ggg)\n      // alert(mst.graph.G6Graph)\n      // mst.graph.setG6Graph('3333')\n      // alert(mst === window.kkk)\n      // alert(window.kkk.graph.G6Graph)\n      // mst.graph.setG6Graph(graph)\n\n      // alert(JSON.stringify({\n      //      node: ev.item.getModel().id,\n      //      arg: target.attr('arg'),\n      //      click: target.attr('click'),\n      // }))\n      var click = target.attr('click');\n      if (click === 'modelEdit') {\n        // const id :string = ev.item.getModel().id\n        // const modelId = id.replace('model-', '')\n        if (mst.sys.onModelDetail) {\n          mst.sys.onModelDetail(ev.item.getModel().data);\n        }\n      }\n      if (click === 'arrangeShow') {\n        mst.arrangeShow(target.attr('arg'));\n      }\n      if ((_target$attr = target.attr('arg')) !== null && _target$attr !== void 0 && (_target$attr$relation = _target$attr.relationModel) !== null && _target$attr$relation !== void 0 && _target$attr$relation.id) {\n        var _target$attr2, _target$attr2$relatio;\n        mst.sys.centerCurrentModel([(_target$attr2 = target.attr('arg')) === null || _target$attr2 === void 0 ? void 0 : (_target$attr2$relatio = _target$attr2.relationModel) === null || _target$attr2$relatio === void 0 ? void 0 : _target$attr2$relatio.id]);\n      }\n    } else {\n      if (ev.item.getModel().id) {\n        var id = ev.item.getModel().id;\n        var modelId = id.replace('model-', '');\n        //  ev.item.toFront()\n        mst.sys.setCurrentModel([modelId]);\n        //  alert(id.replace('model-', ''))\n      }\n    }\n  });\n\n  graph.on('node:mouseout', function (ev) {\n    var item = ev.item;\n    var autoPaint = graph.get('autoPaint');\n    graph.setAutoPaint(false);\n    item.getContainer().findAll(function (sharp) {\n      return sharp.attr('fieldHover');\n    }).forEach(function (sharp) {\n      if (sharp.attr('fill-old')) {\n        sharp.attr('fill', sharp.attr('fill-old'));\n        sharp.attr('fill-old', undefined);\n      }\n      if (sharp.attr('opacity-old')) {\n        sharp.attr('opacity', sharp.attr('opacity-old'));\n        sharp.attr('opacity-old', undefined);\n      }\n    });\n    graph.paint();\n    graph.setAutoPaint(autoPaint);\n  });\n  graph.on('node:mousemove', function (ev) {\n    var target = ev.target,\n      item = ev.item; // alert(target.attr('text'))\n\n    var autoPaint = graph.get('autoPaint');\n    graph.get('canvas').set('localRefresh', false);\n    graph.setAutoPaint(false); // if (target.attr('fieldBg')) {\n    //   item.setState('fieldHover-' + target.attr('fieldName'), true)\n    // }\n\n    var fieldName = target.attr('fieldName');\n    item.getContainer().findAll(function (sharp) {\n      return sharp.attr('fieldHover');\n    }).forEach(function (sharp) {\n      if (sharp.attr('fill-old')) {\n        sharp.attr('fill', sharp.attr('fill-old'));\n        sharp.attr('fill-old', undefined);\n      }\n      if (sharp.attr('fieldHoverShow')) {\n        sharp.attr('opacity', 0); // sharp.attr('opacity-old', undefined)\n      }\n\n      if (sharp.attr('fieldName') === fieldName) {\n        sharp.attr('fill-old', sharp.attr('fill'));\n        sharp.attr('fill', sharp.attr('fieldBg') ? 'rgb(204,204,204)' : 'white');\n        if (sharp.attr('fieldHoverShow')) {\n          sharp.attr('opacity-old', sharp.attr('opacity')); // alert(sharp.attr('opacity'))\n\n          sharp.attr('opacity', 1);\n        }\n      }\n    }); // item.refresh()\n\n    graph.paint();\n    graph.setAutoPaint(autoPaint);\n  });\n  graph.on('node:dragend', function (ev) {\n    // const shape = ev.target\n    var node = ev.item;\n    var edges = node.getEdges();\n    // const edges = graph.getEdges()\n    edges.forEach(function (edge) {\n      var sourceNode = edge.get('sourceNode');\n      var targetNode = edge.get('targetNode');\n      var targetModel = targetNode.getModel();\n      var edgeModel = edge.getModel();\n      if ((targetModel.visible || sourceNode.getModel().visible) && graph.getZoom() >= 0.3) {\n        if (!edgeModel.self && !edgeModel.isSys) {\n          var isTo = sourceNode.getModel().x < targetNode.getModel().x;\n          var i = edgeModel.fieldIndex;\n          var l = edgeModel.fieldsLength;\n\n          // const isTo = targetModel.x > sourceNode.getModel().x\n          var sourceAnchor = !isTo ? i + 2 : 2 + i + l;\n          // if (targetModel.targetAnchor !== targetAnchor)\n          //   // edge.set('targetAnchor', targetAnchor)\n          graph.updateItem(edge, {\n            sourceAnchor: sourceAnchor\n          });\n        }\n      }\n      if (!targetModel.visible || !sourceNode.getModel().visible) {\n        edge.hide();\n        // return\n      }\n      // if (isExporting) return\n\n      if (!sourceNode.getContainer().get('visible') && !targetNode.getContainer().get('visible')) {\n        edge.hide();\n      } else {\n        edge.show();\n      }\n    });\n  });\n});"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/graph/hooks.d.ts",
    "content": "import { Graph } from '@antv/g6/dist/g6.min.js';\nexport declare type IUseUpdateItem = {\n    currentModel: string;\n    graph: Graph;\n    showNameOrLabel: boolean;\n    zoom: number;\n    checkNum: number;\n    themeColor: string;\n    darkness: boolean;\n};\nexport declare const useUpdateItem: ({ currentModel, graph, showNameOrLabel, zoom, themeColor, darkness }: IUseUpdateItem) => void;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/graph/hooks.js",
    "content": "import { useEffect } from 'react';\nimport { isEqual } from 'lodash';\nexport var useUpdateItem = function useUpdateItem(_ref) {\n  var currentModel = _ref.currentModel,\n    graph = _ref.graph,\n    showNameOrLabel = _ref.showNameOrLabel,\n    zoom = _ref.zoom,\n    themeColor = _ref.themeColor,\n    darkness = _ref.darkness;\n  // const firstRef = useRef(true)\n  useEffect(function () {\n    var modelId = 'model-' + currentModel;\n    // if(graph)  {\n    //     if(firstRef.current){\n    //       firstRef.current = false\n    //       return\n    //     }\n    //  }\n    // isCardSharp      //  alert(zoom)\n    // if (graph && !firstRef.current) {\n    if (graph) {\n      var gnodes = graph.getNodes();\n      if (!gnodes.length) return;\n      // alert(nodes.length)\n      // const zoomNum = graph.getZoom()\n      // alert(zoomNum)\n      // alert(JSON.stringify(nodes))\n      var t0 = +new Date();\n      var isKeySharp = zoom <= 0.4;\n      var isCardSharp = zoom <= 0.1;\n      gnodes.forEach(function (node) {\n        if (!node.isSys) {\n          var nodeModel = node.getModel();\n          var nodeId = nodeModel.id;\n          var data = nodeModel ? nodeModel.data : undefined;\n          var isNoModule = (modelId || '').indexOf('module-') >= 0 && (data && data.moduleKey) !== modelId;\n\n          // const isKeySharp = false\n          // const isCardSharp = false\n          // alert(isKeySharp)\n          var currStates = {\n            selected: nodeModel.selected,\n            noSelected: nodeModel.noSelected,\n            isNoModule: nodeModel.isNoModule,\n            isKeySharp: nodeModel.isKeySharp,\n            isCardSharp: nodeModel.isCardSharp,\n            showNameOrLabel: nodeModel.showNameOrLabel,\n            themeColor: nodeModel.themeColor,\n            darkness: nodeModel.darkness\n          };\n          var nextStates = {\n            selected: nodeId === modelId,\n            noSelected: nodeId !== modelId,\n            isNoModule: isNoModule,\n            isKeySharp: isKeySharp,\n            isCardSharp: isCardSharp,\n            showNameOrLabel: showNameOrLabel,\n            themeColor: themeColor,\n            darkness: darkness\n          };\n          //const ggg = JSON.stringify(cur) !== JSON.stringify(f)\n          var change = !isEqual(currStates, nextStates);\n          if (change) {\n            //if(!eq(cur, f))\n            graph.updateItem(node, nextStates);\n            //  console.log(ggg)\n          }\n        }\n      });\n\n      var t1 = +new Date();\n      //  alert(t1 - t0)\n\n      //  const edges = graph.getEdges()\n      //  if(edges.length && currentModel){\n      //     edges.forEach(edge => {\n      //       if (edge.isSys) return\n      //       graph.setItemState(edge, 'active', true )\n      //       // edge.attr('stroke','red')\n      //     })\n      //  }\n\n      // graph.paint()\n    }\n  }, [currentModel, showNameOrLabel, zoom >= 0.4, zoom >= 0.1, zoom !== 0, themeColor, darkness]);\n};"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/graph/index.d.ts",
    "content": "/// <reference types=\"react\" />\nimport './model.scss';\ndeclare const _default: () => JSX.Element;\nexport default _default;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/graph/index.js",
    "content": "import React, { useEffect, useRef, useCallback } from 'react';\nimport G6 from '@antv/g6/dist/g6.min.js';\nimport { withoutUndo } from 'mobx-keystone';\nimport { useSize } from 'ahooks';\nimport { useMst } from \"../context\";\nimport register from \"./item\";\nimport { observer } from 'mobx-react';\nimport ToolBar from \"../components/model-toolbar\";\nimport \"./model.scss\";\nimport GraphEvent from \"./event\";\nimport { initStyle } from \"./item/style\";\nimport { useUpdateItem } from \"./hooks\";\n// import { debounce } from 'lodash'\n// import mst from 'test/mst'\n\nexport default observer(function () {\n  // const mst = useMst()\n  var _useLocal = useLocal(),\n    setRef = _useLocal.setRef,\n    erdGraph = _useLocal.erdGraph,\n    containerRef = _useLocal.containerRef;\n  // const size = useSize(containerRef);\n\n  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ToolBar, {\n    graph: erdGraph\n  }), /*#__PURE__*/React.createElement(\"div\", {\n    ref: setRef,\n    className: \"graph\"\n  }));\n});\nvar useLocal = function useLocal() {\n  var mst = useMst();\n  // window.kkk = mst\n\n  var containerRef = useRef(null);\n  var erdGraphRef = useRef(null);\n  var miniMapRef = useRef(null);\n  useEffect(function () {\n    register(mst);\n  }, []);\n  var checkRef = useRef(+new Date());\n  var size = useSize(containerRef) || {};\n  useEffect(function () {\n    // alert()\n    // const { Nodes , edges } = mst\n    if (!erdGraphRef.current) {\n      //  alert(mst.Nodes.length)\n      // alert(mst === window.kkk)\n      //alert('erdGraphRef.current = render')\n      var Obj = render(containerRef.current, mst.Nodes, mst.edges, mst);\n      erdGraphRef.current = Obj.graph;\n      miniMapRef.current = Obj.miniMap;\n      //alert('erdGraphRef.current')\n      //  alert(mst.graph.$modelId)\n      async(function () {\n        mst.graph.setG6Graph(erdGraphRef.current);\n        // layout(erdGraphRef.current,  Nodes , edges, mst)\n      });\n\n      //  window.kkk1 = mst\n    } else {\n      //alert('  layout(erdGraphRef.current,  mst.Nodes ' + mst.Nodes.length)\n      layout(erdGraphRef.current, mst.Nodes, mst.edges, mst);\n      // erdGraphRef.current.fitView(0)\n    }\n  }, [JSON.stringify(mst.sys.checkedKeys), mst]);\n  useEffect(function () {\n    if (erdGraphRef.current && size.width && size.height) {\n      // alert(erdGraphRef.current['isLayouting'])\n      if (!erdGraphRef.current['isLayouting']) {\n        var documentHeight = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;\n        var height = mst.sys.height === '100%' ? documentHeight - 45 : mst.sys.height - 45;\n        erdGraphRef.current.changeSize(size.width, height);\n        erdGraphRef.current.fitView(0);\n      }\n    }\n  }, [size.height, size.width]);\n  var setRef = useCallback(function (ref) {\n    containerRef.current = ref;\n  }, [containerRef]);\n  useEffect(function () {\n    // debounce(()=> {\n    var graph = erdGraphRef.current;\n    if (graph) {\n      var gwidth = graph.get('width');\n      var gheight = graph.get('height');\n      var point = graph.getCanvasByPoint(gwidth / 2, gheight / 2);\n      graph.zoomTo(mst.graph.zoom, point);\n    }\n    // }\n    //  }, 100)()\n  }, [mst.graph.zoom]);\n  var reloadRef = useRef(false);\n  useEffect(function () {\n    // debounce(()=> {\n    var graph = erdGraphRef.current;\n    if (graph) {\n      if (!reloadRef.current) {\n        reloadRef.current = true;\n        return;\n      }\n      // alert()\n      // graph.clear()\n      // graph.data({ nodes: mst.Nodes, edges: mst.edges })\n      // graph.render()\n      var isLargar = graph.getNodes().length > 50;\n      graph.updateLayout({\n        type: mst.sys.dagreLayout ? 'dagre' : 'fruchterman',\n        // condense: true,\n        // cols: 3,\n        workerEnabled: true,\n        linkDistance: 0,\n        pixelRatio: 2,\n        // alphaDecay: isLargar ? 0.3 : 0.15,\n        // preventOverlap: true,\n        // clustering: true,\n        clusterGravity: 100,\n        speed: 2,\n        gravity: 100,\n        gpuEnabled: true,\n        // collideStrength: 0.5,\n        //   type: 'dagre',\n        //   // controlPoints: true,\n        //   // nodeSize: [40, 20],\n        // nodesep: 1,\n        // ranksep: 1,\n        // align: 'DL',\n        // nodesep: 100, // 节点水平间距(px)\n        // ranksep: 200, // 每一层节点之间间距\n\n        // nodeSpacing: isLargar ? -100 : -180,\n        onLayoutEnd: function onLayoutEnd() {\n          async(function () {\n            // alert()\n            graph['isLayouting'] = false;\n            // graph['isLayouting'] = false\n            // alert('endlayout')\n            graph.fitView(0);\n            withoutUndo(function () {\n              mst.graph.setZoom(graph.getZoom());\n            });\n\n            // alert('onLayoutEnd')\n          }, 1000);\n        }\n      });\n      if (mst.sys.dagreLayout) {\n        async(function () {\n          // alert()\n          graph.fitView(0);\n        }, 1000);\n      }\n    }\n  }, [mst.sys.dagreLayout]);\n\n  //  alert('useUpdateItem' + mst.graph.zoom)\n  useUpdateItem({\n    currentModel: mst.sys.currentModel,\n    graph: erdGraphRef.current,\n    showNameOrLabel: mst.sys.showNameOrLabel,\n    zoom: mst.graph.zoom,\n    checkNum: checkRef.current,\n    themeColor: mst.Ui.themeColor,\n    darkness: mst.Ui.darkness\n  });\n  useEffect(function () {\n    if (erdGraphRef.current && miniMapRef.current) {\n      // alert()\n      if (!mst.sys.disableMiniMap) {\n        var _erdGraphRef$current;\n        (_erdGraphRef$current = erdGraphRef.current) === null || _erdGraphRef$current === void 0 ? void 0 : _erdGraphRef$current.removePlugin(miniMapRef.current);\n      } else {\n        var _erdGraphRef$current2;\n        var miniMap = new G6.Minimap({\n          type: 'delegate',\n          viewportClassName: 'g6-minimap-viewport-erd',\n          delegateStyle: {\n            fill: 'rgba(0,0,0,0.10)'\n          }\n        });\n        miniMapRef.current = miniMap;\n        (_erdGraphRef$current2 = erdGraphRef.current) === null || _erdGraphRef$current2 === void 0 ? void 0 : _erdGraphRef$current2.addPlugin(miniMap);\n      }\n    }\n  }, [mst.sys.disableMiniMap]);\n  return {\n    containerRef: containerRef,\n    setRef: setRef,\n    erdGraph: erdGraphRef.current\n  };\n};\n\n// const MINZOOM = 0.01\n// const toolbar = new G6.ToolBar();\n// const edgeBundling = new G6.Bundling({\n//   bundleThreshold: 0.6,\n//   K: 100,\n// });\nvar render = function render(container, nodes, edges, mst) {\n  var documentHeight = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;\n  var height = mst.sys.height === '100%' ? documentHeight - 45 : mst.sys.height - 45;\n  // const height = mst.sys.height\n  // alert(height)\n  // alert(height)\n  var styleConfig = initStyle({\n    primaryColor: mst.Ui.themeColor\n  }).style;\n  var isLargar = nodes.length > 50;\n  // alert(isLargar)\n  var miniMap = new G6.Minimap({\n    type: 'delegate',\n    viewportClassName: 'g6-minimap-viewport-erd',\n    delegateStyle: {\n      fill: 'rgba(0,0,0,0.10)'\n    }\n  });\n  var graph = new G6.Graph({\n    height: height,\n    width: container.offsetWidth - 20,\n    container: container,\n    fitView: true,\n    // workerEnabled: true,\n    fitCenter: true,\n    enabledStack: true,\n    animate: true,\n    gpuEnabled: true,\n    pixelRatio: 2,\n    // pixelRatio: 1,\n    // animate: true,\n    defaultEdge: styleConfig.default.edge,\n    edgeStateStyles: {\n      default: styleConfig.default.edge,\n      active: {\n        opacity: 1,\n        size: 3\n      }\n    },\n    minZoom: 0.01,\n    maxZoom: 1.1,\n    layout: {\n      type: mst.sys.dagreLayout ? 'dagre' : 'force',\n      condense: true,\n      cols: 3,\n      // gpuEnabled: true,\n      workerEnabled: true,\n      // workerScriptURL:'',\n      linkDistance: 0,\n      alphaDecay: isLargar ? 0.3 : undefined,\n      preventOverlap: true,\n      // collideStrength: 0.5,\n      nodeSpacing: isLargar ? -100 : -180,\n      onLayoutEnd: function onLayoutEnd() {\n        graph['isLayouting'] = false;\n        graph['endLayout'] = true;\n        graph.fitView(0);\n        graph['endLayout'] = false;\n        withoutUndo(function () {\n          mst.graph.setZoom(graph.getZoom());\n        });\n      }\n    },\n    modes: {\n      default: ['drag-canvas', {\n        type: 'zoom-canvas',\n        minZoom: 0.0001,\n        // enableOptimize: true,\n        // optimizeZoom: true,\n        maxZoom: 2.1\n        // enableOptimize: true,\n      }, {\n        type: 'drag-node'\n        // enableDelegate: true,\n      }, {\n        type: 'edge-tooltip',\n        formatText: function formatText(model) {\n          return model.tooltip;\n        },\n        offset: 10\n      }\n      // {\n      //   type: 'activate-relations',\n      //   resetSelected: true,\n      //   trigger: 'click'\n      // },\n      ]\n    },\n\n    plugins: [\n      // toolbar,\n      // ...[mst.sys.disableMiniMap ? [] : [miniMap]]\n    ]\n  });\n  // alert(mst === window.kkk)\n  GraphEvent(graph, mst);\n  // miniMap.init\n  // const x = nodes[0].x\n  // edgeBundling.bundling({ nodes, edges });\n  graph.data({\n    nodes: nodes,\n    edges: edges\n  });\n  graph['isLayouting'] = true;\n  graph.render();\n  graph.fitView(0);\n  if (mst.sys.dagreLayout) {\n    async(function () {\n      // alert()\n      graph.fitView(0);\n      withoutUndo(function () {\n        mst.graph.setZoom(graph.getZoom());\n      });\n    });\n  }\n  // layout(graph, nodes)\n  return {\n    graph: graph,\n    miniMap: miniMap\n  };\n};\nvar layout = function layout(graph, nodes, edges, mst) {\n  // graph.clear()\n  graph.changeData({\n    nodes: nodes,\n    edges: edges\n  });\n\n  // graph.getNodes().filter((a) => !a.isSys).forEach((node: any) => {\n  //   // node.x = undefined\n  //   // node.y = undefined\n  //   const model = node.getModel()\n  //   if (!model.visible) {\n  //     // node.getContainer().hide()\n  //     graph.hideItem(node)\n  //     // return\n  //   }\n  // })\n\n  // const _edges = graph.getEdges()\n  // _edges.forEach((edge: any) => {\n  //   let sourceNode = edge.get('sourceNode')\n  //   let targetNode = edge.get('targetNode')\n  //   const targetModel = targetNode.getModel()\n  //   if (!targetModel.visible || !sourceNode.getModel().visible) {\n  //     edge.hide()\n  //     // return\n  //   }\n  // })\n\n  // alert(graph.getNodes().length)\n  // const isLargar = graph.getNodes().length > 50\n  // // alert(isLargar)\n  // graph.isLayouting = true\n  // async(() => graph.updateLayout({\n\n  //   type: 'force',\n  //   condense: true,\n  //   // cols: 3,\n  //   workerEnabled: true,\n  //   linkDistance: 0,\n  //   alphaDecay: isLargar ? 0.1 : 0.3,\n  //   // preventOverlap: false,\n  //   // collideStrength: 0.5,\n  //   // nodeSpacing: -1000,\n  //   onLayoutEnd: () => {\n  //     graph.isLayouting = false\n  //     // graph.fitView(0)\n  //     alert()\n  //     // mst.graph.setZoom(graph.getZoom())\n  //   }\n\n  // }))\n\n  // graph.fitView(0)\n\n  return graph;\n};\nvar async = function async(fun) {\n  var time = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;\n  setTimeout(fun, time);\n};"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/graph/item/index.d.ts",
    "content": "declare const _default: (mst: any) => void;\nexport default _default;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/graph/item/index.js",
    "content": "import { register } from \"./model-node\";\nimport lineRegister from \"./line\";\nexport default (function (mst) {\n  register(mst);\n  lineRegister();\n});"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/graph/item/line.d.ts",
    "content": "declare const _default: () => void;\nexport default _default;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/graph/item/line.js",
    "content": "import G6 from '@antv/g6/dist/g6.min.js';\nexport default (function () {\n  G6.registerEdge('console-line', {\n    labelAutoRotate: true,\n    label: 'cubic-vertical'\n  }, 'line');\n  G6.registerEdge('console-arrange-line', {\n    labelAutoRotate: true\n  }, 'line');\n});"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/graph/item/model-node.d.ts",
    "content": "export declare const register: (mst: any) => void;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/graph/item/model-node.js",
    "content": "function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nimport G6 from '@antv/g6/dist/g6.min.js';\nimport { Relation } from \"./type\";\nimport { getBottomAnch, getLeftAnch, getTopAnch, getRightAnch, getLength, setNodeStateAttr } from \"./util\";\nexport var register = function register(mst) {\n  // const colors = {\n  //     blue : '#495D9E',\n  //     white: '#FFFFFF',\n  //     head: 'rgba(7,10,26,0.06)',\n  //     black: 'black',\n  // }\n  // const models = mst.onReload().models\n\n  G6.registerNode('console-model-Node', {\n    getAnchorPoints: function getAnchorPoints(cfg) {\n      var config = cfg.config,\n        data = cfg.data;\n      var fields = data.fields;\n      var h = config.headerHeight + getLength(fields.length) * config.fieldHeight;\n      return [[0, config.headerHeight / 2 / h],\n      // 左上方\n      [1, config.headerHeight / 2 / h]].concat(_toConsumableArray(fields.map(function (_, index) {\n        var x = 0;\n        var l = config.headerHeight + config.fieldHeight * (index + 1) - config.fieldHeight / 2;\n        var y = l / h;\n        return [x, y];\n      })), _toConsumableArray(fields.map(function (_, index) {\n        var x = 1;\n        var l = config.headerHeight + config.fieldHeight * (index + 1) - config.fieldHeight / 2;\n        var y = l / h;\n        return [x, y];\n      })), _toConsumableArray(getTopAnch(50)), _toConsumableArray(getBottomAnch(50)), _toConsumableArray(getLeftAnch(100)), _toConsumableArray(getRightAnch(100)));\n    },\n    update: function update(cfg, item) {\n      var whiteBg = 'rgba(7,10,26,0.06)';\n      var isKeySharp = cfg.isKeySharp,\n        active = cfg.active,\n        selected = cfg.selected,\n        into = cfg.into,\n        inactive = cfg.inactive,\n        isCardSharp = cfg.isCardSharp,\n        out = cfg.out,\n        isNoModule = cfg.isNoModule,\n        showNameOrLabel = cfg.showNameOrLabel,\n        config = cfg.config,\n        themeColor = cfg.themeColor,\n        darkness = cfg.darkness;\n      var colors = config.colors;\n      var group = item.getContainer();\n      var children = group.get('children');\n      var bg = darkness ? themeColor : whiteBg;\n      var font = darkness ? colors.white : themeColor;\n      var mFront = darkness ? colors.white : themeColor;\n      //const bgArrange = cfg.data.aggregateModelKey  && bg ? whiteBg : themeColor\n\n      children.forEach(function (s) {\n        var id = s.attr('id');\n\n        // this.allRender(cfg, s)\n\n        // setNodeStateAttr('default', s, cfg)\n        // isNoModule && setNodeStateAttr('isNoModule', s , cfg)\n        // s.attr('opacity', isNoModule ? 0.3 : 1)\n\n        switch (id) {\n          case 'keySharp':\n            //  s.attr('fill', cfg.isKeySharp ? '#191919' : 'white')\n            //  fill: '#CCFFFF',\n            //   stroke: 'red',\n            //   opacity: 0.2,\n            setNodeStateAttr('default', s, cfg);\n            // isNoModule && setNodeStateAttr('isNoModule', s , cfg)\n\n            inactive && setNodeStateAttr('inactive', s, cfg);\n            active && setNodeStateAttr('active', s, cfg);\n            into && setNodeStateAttr('into', s, cfg);\n            out && setNodeStateAttr('out', s, cfg);\n            // const pointWidth = 200\n            if (isCardSharp) {\n              setNodeStateAttr('cardSharp', s, cfg);\n              // if (!s.attr('old_height')) {\n              //   s.attr('old_height', s.attr('height'))\n              // }\n              // s.attr('height', pointWidth)\n              // if (!s.attr('old_width')) {\n              //   s.attr('old_width', s.attr('width'))\n              // }\n              // s.attr('width', pointWidth)\n\n              if (!s.attr('old_fill')) {\n                s.attr('old_fill', s.attr('fill'));\n              }\n\n              // s.attr('fill', cfg.data.aggregateRoot ? colors.blue : colors.head)\n            } else {\n              // if (s.attr('old_height')) {\n              //   s.attr('height', s.attr('old_height'))\n              // }\n              // if (s.attr('old_width')) {\n              //   s.attr('width', s.attr('old_width'))\n              // }\n\n              if (s.attr('old_fill')) {\n                s.attr('fill', s.attr('old_fill'));\n              }\n            }\n            if (cfg.data.aggregateModelKey || cfg.data.aggregateRoot) {\n              // stroke: 'rgba(11,108,149)',\n              // shadowColor: 'rgba(11,108,149)',\n              s.attr('stroke', themeColor);\n              s.attr('shadowColor', themeColor);\n            }\n            selected && setNodeStateAttr('selected', s, cfg);\n            break;\n          case 'headerlabel1.1':\n          case 'headerlabel1.2':\n            //  s.attr('opacity', !cfg.isKeySharp && active ? 1 : 0)\n            s.set('visible', !cfg.isKeySharp && active && !cfg.isCardSharp);\n            // s.attr('opacity', inactive && !into && !out && !active ? 0.2 : 1)\n            break;\n          case 'headerlabel0':\n          case 'headerlabel1':\n            var fieldLable1 = s.attr('fieldLable');\n            if (fieldLable1) {\n              s.attr('text', showNameOrLabel ? fieldLable1 : s.attr('nameLable'));\n            }\n            s.set('visible', !cfg.isKeySharp && !cfg.isCardSharp);\n            s.attr('fill', selected && !darkness ? cfg.config.styleConfig.selected.node.stroke : font);\n\n            // s.attr('opacity', 1)\n            break;\n          case 'header':\n            // s.attr('opacity', !cfg.isKeySharp ? 1 : 0)\n            // s.attr('fill', selected ? cfg.config.styleConfig.selected.node.stroke : themeColor)\n            // s.attr('fill', selected ? cfg.config.styleConfig.selected.node.stroke : 'rgba(7,10,26,0.06)')\n            s.attr('fill', selected && darkness ? cfg.config.styleConfig.selected.node.stroke : bg);\n            s.set('visible', !cfg.isCardSharp && !cfg.isKeySharp);\n            // s.attr('opacity', 1)\n            break;\n          case 'headerlabel2':\n          case 'headerlabel3':\n            // s.attr('opacity', cfg.isKeySharp ? 1 : 0)\n            // s.attr('opacity', inactive && !into && !out && !active ? 0.2 : 1)\n            // s.set('visible', cfg.isKeySharp && !cfg.isCardSharp)\n\n            var _showNameOrLabel = s.get('showNameOrLabel');\n            s.attr('fill', themeColor);\n            if (_showNameOrLabel && showNameOrLabel) {\n              s.set('visible', cfg.isKeySharp && !isCardSharp);\n            } else {\n              if (!_showNameOrLabel && !showNameOrLabel) s.set('visible', cfg.isKeySharp && !isCardSharp);else {\n                s.set('visible', false);\n              }\n            }\n            break;\n          case 'field':\n            // s.attr('opacity', !cfg.isKeySharp && !s.attr('fieldHoverShow') ? 0.9 : 0)\n\n            var isInactive = inactive && !into && !out && !active ? 0.2 : 1;\n            var isO = !cfg.isKeySharp && !s.attr('fieldHoverShow') ? isInactive : 0;\n            // s.attr('opacity', isO)\n            s.set('visible', !cfg.isKeySharp); //   Object.entries(cfg.config.styleConfig.active.node).forEach(([k, v]) => {\n            //     s.attr(k, v)\n            // })\n\n            var fieldLable = s.attr('fieldLable');\n            if (fieldLable) {\n              s.attr('text', showNameOrLabel ? fieldLable : s.attr('nameLable'));\n            }\n            if (!!s.get('themeColor')) {\n              s.attr('fill', selected ? cfg.config.styleConfig.selected.node.stroke : themeColor);\n            }\n            break;\n          case 'field-text':\n            // s.attr('opacity', inactive && !into && !out && !active ? 0.2 : 1)\n            // s.attr('opacity', !cfg.isKeySharp ? 1 : 0)\n            s.set('visible', !cfg.isKeySharp);\n          // active && setNodeStateAttr('active', s , cfg)\n          // selected && setNodeStateAttr('selected', s , cfg)\n          case 'field-line':\n            s.set('visible', !cfg.isKeySharp);\n            break;\n          case 'themeColor':\n            s.attr('fill', selected ? cfg.config.styleConfig.selected.node.stroke : themeColor);\n            break;\n          default:\n            break;\n        }\n      }); // this.render(cfg, group)\n\n      if (cfg.hide) {\n        item.hide();\n      } else {\n        item.show();\n      }\n    },\n    render: function render(cfg, group) {\n      var config = cfg.config,\n        data = cfg.data,\n        selected = cfg.selected,\n        showNameOrLabel = cfg.showNameOrLabel,\n        themeColor = cfg.themeColor,\n        darkness = cfg.darkness;\n      var whiteBg = 'rgba(7,10,26,0.06)';\n      // const bg = data.aggregateRoot || 1 ? colors.blue : colors.head\n      // const font = data.aggregateRoot || 1 ? colors.white : colors.blue\n      // const mFront = data.aggregateRoot  || 1? colors.white : colors.black\n      var colors = config.colors;\n      var bg = darkness ? themeColor : whiteBg;\n      //const bgArrange = cfg.data.aggregateModelKey  && bg ? whiteBg : themeColor\n      var font = darkness ? colors.white : themeColor;\n      var mFront = darkness ? colors.white : themeColor;\n      var nodeColors = {\n        bg: bg,\n        font: font,\n        mFront: mFront\n      };\n      group.addShape('rect', {\n        visible: !cfg.isKeySharp,\n        name: data.key,\n        draggable: true,\n        attrs: {\n          y: -(getLength(data.fields.length) * config.fieldHeight / 2) - config.headerHeight / 2,\n          x: -(config.width / 2),\n          width: config.width,\n          height: config.headerHeight,\n          radius: [10, 10, 0, 0],\n          // text: data.label,\n          id: 'header',\n          // fontSize: config.fieldHeight - 12,\n          // opacity: !cfg.isKeySharp ? 1 : 0,\n          className: 'header',\n          shadowColor: 'rgba(0,0,0,0.06)',\n          cursor: 'move',\n          // shadowBlur: 1,\n          // shadowOffsetX: 1,\n          // shadowOffsetY: 2,\n          // radius: [2, 4],\n          fill: selected ? config.styleConfig.selected.node.stroke : bg\n        }\n      });\n      group.addShape('text', {\n        visible: !cfg.isKeySharp,\n        name: data.key,\n        fontFamily: '',\n        draggable: true,\n        attrs: {\n          // fontFamily: 'iconFont',\n          x: -(config.width / 2) + 20,\n          y: -(getLength(data.fields.length) * config.fieldHeight / 2),\n          text: showNameOrLabel ? data.name : data.label,\n          fieldLable: data.name,\n          nameLable: data.label,\n          // text: '\\ue6b2',\n          id: 'headerlabel1',\n          cursor: 'move',\n          fontSize: config.fieldHeight / 2,\n          // opacity: !cfg.isKeySharp ? 1 : 0,\n          className: 'headerlabel',\n          textBaseline: 'middle',\n          textAlign: 'left',\n          fontWeight: 20,\n          // radius: [2, 4],\n          fill: nodeColors.mFront\n        }\n      });\n      cfg.data.aggregateModelKey && group.addShape('text', {\n        visible: cfg.data.aggregateModelKey,\n        name: data.key,\n        fontFamily: '',\n        draggable: true,\n        attrs: {\n          fontFamily: 'iconFont',\n          x: config.width / 2 - 100,\n          y: -(getLength(data.fields.length) * config.fieldHeight / 2),\n          text: '聚合关系',\n          arg: cfg.data.aggregateModelKey,\n          // text: cfg.data.aggregateModelKey,\n          // text: '\\ue6b2',\n          id: 'headerlabel1',\n          cursor: 'pointer',\n          click: 'arrangeShow',\n          // cursor: 'move',\n          fontSize: config.labelSize,\n          // opacity: !cfg.isKeySharp ? 1 : 0,\n          className: 'headerlabel',\n          textBaseline: 'middle',\n          textAlign: 'left',\n          // radius: [2, 4],\n          fill: nodeColors.font\n        }\n      });\n      group.addShape('text', {\n        visible: !cfg.isKeySharp,\n        name: data.key,\n        fontFamily: '',\n        draggable: true,\n        attrs: {\n          fontFamily: 'iconFont',\n          x: config.width / 2 - 40,\n          y: -(getLength(data.fields.length) * config.fieldHeight / 2),\n          text: '查看',\n          // text: '\\ue6b2',\n          id: 'headerlabel1',\n          cursor: 'pointer',\n          click: 'modelEdit',\n          // cursor: 'move',\n          fontSize: config.labelSize,\n          // opacity: !cfg.isKeySharp ? 1 : 0,\n          className: 'headerlabel',\n          textBaseline: 'middle',\n          textAlign: 'left',\n          // radius: [2, 4],\n          fill: nodeColors.font\n        }\n      });\n\n      // const nameList = ((data.name.replace(/\\(/, '-').replace(/\\)/, '')) || '').split('_').flatMap((nameStr) => nameStr.split('-')).flatMap((nameStr) => nameStr.split('/')).flatMap((a) => getSplitStrings(a)).filter((a) => a)\n\n      // const height = config.headerHeight + (data.fields.length >= 12 ? data.fields.length : 12) * config.fieldHeight\n      // const nameLength = nameList.length\n      // nameList.forEach((nameText, index) => {\n      //     group.addShape('text', {\n      //         visible: !cfg.isKeySharp,\n      //         name: nameText,\n      //         draggable: true,\n      //         attrs: {\n      //             x: 0,\n      //             y: - height / 2 + height / (nameLength + 1) * (index + 1),\n      //             fontSize: config.width / 5,\n      //             text: nameText,\n      //             // opacity: index === nameLength - 1 ? 1 : 0.3,\n      //             id: 'headerlabel2',\n      //             className: 'headerlabel',\n      //             textBaseline: 'middle',\n      //             textAlign: 'center',\n      //             // radius: [2, 4],\n      //             fill: 'black',\n      //         },\n      //     })\n      // })\n\n      var nameList = [data.label];\n      var height = config.headerHeight + (data.fields.length >= 12 ? data.fields.length : 12) * config.fieldHeight;\n      var nameLength = nameList.length;\n      nameList.forEach(function (nameText, index) {\n        group.addShape('text', {\n          visible: cfg.isKeySharp && !showNameOrLabel && !cfg.isCardSharp,\n          name: nameText,\n          showNameOrLabel: false,\n          draggable: true,\n          attrs: {\n            x: 0,\n            y: -height / 2 + height / (nameLength + 1) * (index + 1),\n            fontSize: config.width / 5,\n            text: nameText,\n            // opacity: index === nameLength - 1 ? 1 : 0.3,\n            id: 'headerlabel2',\n            className: 'headerlabel',\n            textBaseline: 'middle',\n            textAlign: 'center',\n            // radius: [2, 4],\n            fill: themeColor\n          }\n        });\n      });\n\n      // const nameList1 = ((data.key.replace(/\\(/, '-').replace(/\\)/, '')) || '').split('_').flatMap((nameStr) => nameStr.split('-')).flatMap((nameStr) => nameStr.split('/')).flatMap((a) => getSplitStrings(a)).filter((a) => a)\n      var nameList1 = [data.name];\n      var height1 = config.headerHeight + (data.fields.length >= 12 ? data.fields.length : 12) * config.fieldHeight;\n      var nameLength1 = nameList.length;\n      nameList1.forEach(function (nameText, index) {\n        group.addShape('text', {\n          visible: cfg.isKeySharp && showNameOrLabel && !cfg.isCardSharp,\n          showNameOrLabel: true,\n          name: nameText,\n          draggable: true,\n          attrs: {\n            x: 0,\n            y: -height1 / 2 + height1 / (nameLength1 + 1) * (index + 1),\n            fontSize: config.width / 5,\n            text: nameText,\n            // opacity: index === nameLength - 1 ? 1 : 0.3,\n            id: 'headerlabel2',\n            className: 'headerlabel',\n            textBaseline: 'middle',\n            textAlign: 'center',\n            // radius: [2, 4],\n            fill: themeColor\n          }\n        });\n      });\n      data.fields.forEach(function (field, index) {\n        var _field$typeMeta, _field$relationModel, _field$relationModel2, _field$relationModel3, _field$relationModel4, _field$relationModel5, _field$relationModel6;\n        // const {\n        //     relationModel,\n        //     // isForeign,\n        // } = field\n\n        var isForeign = field.typeMeta;\n        var relationModel = field === null || field === void 0 ? void 0 : (_field$typeMeta = field.typeMeta) === null || _field$typeMeta === void 0 ? void 0 : _field$typeMeta.relationModel;\n\n        //字段是否存在关系\n        // const hasRelation = models.some(item => {\n        //     const arr = item.fields?.map(item => {\n        //         const { typeMeta = [] } = item\n        //         if (Array.isArray(typeMeta)) {\n        //             const hasRelationTypeMeta = typeMeta.some(\n        //                 item => field.name === item.field\n        //             )\n        //             return hasRelationTypeMeta\n        //         }\n        //     })\n        //     return arr.includes(true)\n        // })\n\n        var y = -((config.headerHeight + getLength(data.fields.length) * config.fieldHeight) / 2) + config.headerHeight + config.fieldHeight * index + config.fieldHeight / 2 - 2;\n        group.addShape('rect', {\n          visible: !cfg.isKeySharp,\n          name: field.id,\n          draggable: true,\n          attrs: {\n            x: -(config.width / 2) + 2,\n            fieldName: field.id,\n            name: field.id,\n            draggable: true,\n            fieldBg: true,\n            arg: field.name,\n            fieldHover: true,\n            y: -((config.headerHeight + getLength(data.fields.length) * config.fieldHeight) / 2) + config.headerHeight + config.fieldHeight * index,\n            // stroke: 'black',\n            width: config.width - 4,\n            id: 'field',\n            height: config.fieldHeight,\n            fill: 'white',\n            cursor: 'move'\n          }\n        });\n        group.addShape('path', {\n          visible: !cfg.isKeySharp,\n          draggable: true,\n          name: field.id,\n          attrs: {\n            draggable: true,\n            fieldName: field.id,\n            id: 'field-line',\n            name: field.id,\n            path: [['M', -config.width / 2 + 20, y + 2], ['L', config.width / 2 - 40, y + 2]],\n            stroke: 'rgba(0,0,0,0.60)',\n            lineWidth: 1,\n            lineDash: [5, 5],\n            opacity: 0.1\n          }\n        });\n        var showCircle = isForeign;\n        //|| hasRelation\n\n        showCircle && group.addShape('circle', {\n          visible: true,\n          name: field.id,\n          draggable: true,\n          themeColor: true,\n          attrs: {\n            x: -(config.width / 2) + 10,\n            fieldName: field.id,\n            name: field.id,\n            draggable: true,\n            arg: field.name,\n            fieldHover: true,\n            y: -((config.headerHeight + getLength(data.fields.length) * config.fieldHeight) / 2) + config.headerHeight + config.fieldHeight * index + config.fieldHeight / 2 - 2,\n            id: 'field',\n            r: 2,\n            fill: themeColor,\n            cursor: 'move'\n          }\n        });\n        group.addShape('text', {\n          visible: !cfg.isKeySharp,\n          name: field.id,\n          draggable: true,\n          themeColor: isForeign,\n          attrs: {\n            x: -config.width / 2 + 20,\n            fieldHover: true,\n            name: field.id,\n            draggable: true,\n            // click: 'fieldEdit',\n            y: -((config.headerHeight + getLength(data.fields.length) * config.fieldHeight) / 2) + config.headerHeight + config.fieldHeight * index + config.fieldHeight / 2,\n            text: showNameOrLabel ? field.name : field.label,\n            fieldLable: field.name,\n            nameLable: field.label,\n            fieldName: field.id,\n            arg: field.name,\n            fontSize: config.labelSize,\n            textBaseline: 'middle',\n            cursor: 'move',\n            id: 'field',\n            textAlign: 'start',\n            fill: isForeign ? themeColor : 'rgba(0,0,0,0.60)' // fill: 'rgb(153,153,153)',\n          }\n        });\n\n        var relationModelText = showNameOrLabel ? field === null || field === void 0 ? void 0 : (_field$relationModel = field.relationModel) === null || _field$relationModel === void 0 ? void 0 : _field$relationModel.name : field === null || field === void 0 ? void 0 : (_field$relationModel2 = field.relationModel) === null || _field$relationModel2 === void 0 ? void 0 : _field$relationModel2.label;\n        // console.log(relationModelText)\n        group.addShape('text', {\n          visible: !cfg.isKeySharp,\n          name: field.id,\n          draggable: true,\n          themeColor: isForeign,\n          attrs: {\n            x: config.width / 2 - 20,\n            fieldHover: !isForeign,\n            // click: 'fieldEdit',\n            y: -((config.headerHeight + getLength(data.fields.length) * config.fieldHeight) / 2) + config.headerHeight + config.fieldHeight * index + config.fieldHeight / 2,\n            text: isForeign && relationModelText ? relationModelText : \"\".concat(field.type || ''),\n            fieldLable: isForeign ? field.type && Relation[field.type] ? \"\".concat(field === null || field === void 0 ? void 0 : (_field$relationModel3 = field.relationModel) === null || _field$relationModel3 === void 0 ? void 0 : _field$relationModel3.name, \"(\").concat(Relation[field.type] || '', \")\") : field === null || field === void 0 ? void 0 : (_field$relationModel4 = field.relationModel) === null || _field$relationModel4 === void 0 ? void 0 : _field$relationModel4.name : \"\".concat(field.type || ''),\n            nameLable: isForeign ? field.type && Relation[field.type] ? \"\".concat(field === null || field === void 0 ? void 0 : (_field$relationModel5 = field.relationModel) === null || _field$relationModel5 === void 0 ? void 0 : _field$relationModel5.label, \"(\").concat(Relation[field.type] || '', \")\") : field === null || field === void 0 ? void 0 : (_field$relationModel6 = field.relationModel) === null || _field$relationModel6 === void 0 ? void 0 : _field$relationModel6.label : \"\".concat(field.type || ''),\n            id: 'field',\n            textBaseline: 'middle',\n            fieldName: field.id,\n            arg: field,\n            fontSize: config.labelSize,\n            click: isForeign ? 'fieldSelect' : undefined,\n            textAlign: 'right',\n            cursor: isForeign ? 'pointer' : 'undefined',\n            fill: isForeign ? themeColor : 'rgba(0,0,0,0.30)'\n          }\n        });\n        isForeign && group.addShape('circle', {\n          visible: true,\n          name: field.id,\n          draggable: true,\n          themeColor: true,\n          attrs: {\n            x: config.width / 2 - 10,\n            fieldName: field.id,\n            name: field.id,\n            draggable: true,\n            arg: field.name,\n            fieldHover: true,\n            y: -((config.headerHeight + getLength(data.fields.length) * config.fieldHeight) / 2) + config.headerHeight + config.fieldHeight * index + config.fieldHeight / 2 - 2,\n            id: 'field',\n            r: 2,\n            fill: themeColor,\n            cursor: 'move'\n          }\n        });\n      });\n      var diffLength = getLength(data.fields.length) - data.fields.length;\n      if (diffLength) {\n        for (var i = 0; i < diffLength; i++) {\n          // ---\n          group.addShape('rect', {\n            name: i,\n            draggable: true,\n            visible: !cfg.isKeySharp,\n            attrs: {\n              x: -(config.width / 2) + 2,\n              y: -((config.headerHeight + getLength(data.fields.length) * config.fieldHeight) / 2) + config.headerHeight + config.fieldHeight * (data.fields.length + i),\n              // stroke: 'black',\n              width: config.width - 4,\n              id: 'field',\n              height: config.fieldHeight,\n              fill: 'white',\n              cursor: 'move'\n            }\n\n            // ---\n          });\n        }\n      }\n    },\n    draw: function draw(cfg, group) {\n      var config = cfg.config,\n        data = cfg.data,\n        selected = cfg.selected;\n      var height = config.headerHeight + getLength(data.fields.length) * config.fieldHeight;\n      var keyShape = group.addShape('rect', {\n        name: data.key,\n        draggable: true,\n        // visible: false,\n        attrs: _objectSpread(_objectSpread({\n          id: 'keySharp',\n          x: -(config.width / 2),\n          y: -height / 2,\n          width: config.width,\n          cursor: 'move',\n          // fill:'red',\n          height: height + 10\n        }, cfg.config.styleConfig.default.node), {}, {\n          stroke: selected ? cfg.config.styleConfig.selected.node.stroke : cfg.config.styleConfig.default.node.stroke\n        })\n      });\n      this.render(cfg, group);\n      return keyShape;\n    }\n  }, 'single-shape');\n};"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/graph/item/style.d.ts",
    "content": "export declare const initStyle: ({ primaryColor }: {\n    primaryColor: any;\n}) => {\n    colors: {\n        blue: any;\n        white: string;\n        head: any;\n        black: string;\n    };\n    style: {\n        naviWidth: number;\n        default: {\n            node: {\n                fill: string;\n                shadowColor: string;\n                shadowBlur: number;\n                shadowOffsetX: number;\n                shadowOffsetY: number;\n                radius: number;\n                lineWidth: number;\n                opacity: number;\n                stroke: string;\n            };\n            edge: {\n                lineWidth: number;\n                size: number;\n                lineAppendWidth: number;\n                endArrow: {\n                    path: any;\n                };\n                startArrow: {\n                    path: any;\n                    d: number;\n                };\n                radius: number;\n                labelCfg: {\n                    autoRotate: boolean;\n                    style: {\n                        fontSize: number;\n                    };\n                };\n                stroke: any;\n            };\n        };\n        selected: {\n            node: {\n                stroke: string;\n                shadowColor: string;\n            };\n        };\n        isNoModule: {\n            node: {\n                opacity: number;\n            };\n        };\n        fieldRelation: {\n            node: {\n                fill: string;\n                shadowColor: string;\n                shadowBlur: number;\n                shadowOffsetX: number;\n                shadowOffsetY: number;\n                radius: number;\n                lineWidth: number;\n                opacity: number;\n                stroke: string;\n            };\n            edge: {\n                lineWidth: number;\n                size: number;\n                lineAppendWidth: number;\n                endArrow: {\n                    path: any;\n                    d: number;\n                };\n                startArrow: {\n                    path: any;\n                    d: number;\n                };\n                radius: number;\n                labelCfg: {\n                    autoRotate: boolean;\n                    style: {\n                        fontSize: number;\n                    };\n                };\n                stroke: any;\n            };\n        };\n    };\n};\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/graph/item/style.js",
    "content": "import G6 from '@antv/g6/dist/g6.min.js';\nexport var initStyle = function initStyle(_ref) {\n  var primaryColor = _ref.primaryColor;\n  var colors = {\n    blue: primaryColor,\n    white: '#FFFFFF',\n    head: primaryColor,\n    black: 'black'\n  };\n  var style = {\n    naviWidth: 370,\n    default: {\n      node: {\n        fill: '#FFFFFF',\n        shadowColor: 'rgba(0,0,0,0.2)',\n        shadowBlur: 10,\n        shadowOffsetX: 0.5,\n        shadowOffsetY: 0.5,\n        radius: 10,\n        // stroke: undefined,\n        lineWidth: 4,\n        opacity: 0.9,\n        stroke: 'rgba(0,0,0,0.01)'\n      },\n      edge: {\n        lineWidth: 2,\n        size: 2,\n        lineAppendWidth: 4,\n        endArrow: {\n          path: G6.Arrow.triangleRect(10, 10, 10, 2, 4)\n          // fill: primaryColor,\n        },\n\n        startArrow: {\n          path: G6.Arrow.circle(3, 3),\n          // 使用内置箭头路径函数，参数为箭头的 宽度、长度、偏移量（默认为 0，与 d 对应）\n          //  fill: primaryColor,\n          //  shadowColor: primaryColor,\n          //  opacity: 1,\n          d: 6\n        },\n        //  startArrow: {\n        //   //  path: 'M 24,0 L -24,-12 L 8,0 L -24,12 Z',\n        //   //  d: 2,\n        //    fill: 'rgba(11,108,149)',\n        //    shadowColor: 'rgba(0,0,0,0.1)',\n        //   //  opacity: 1,\n        //  },\n        //  opacity: 0.2,\n        radius: 5,\n        labelCfg: {\n          autoRotate: true,\n          // 使文本随边旋转\n          style: {\n            fontSize: 34\n          }\n        },\n        stroke: primaryColor\n      }\n    },\n    selected: {\n      node: {\n        stroke: 'rgba(11,108,149)',\n        shadowColor: 'rgba(11,108,149)'\n      }\n    },\n    isNoModule: {\n      node: {\n        opacity: 0.2\n      }\n    },\n    fieldRelation: {\n      node: {\n        fill: '#FFFFFF',\n        shadowColor: 'rgba(0,0,0,0.2)',\n        shadowBlur: 10,\n        shadowOffsetX: 0.5,\n        shadowOffsetY: 0.5,\n        radius: 10,\n        // stroke: undefined,\n        lineWidth: 4,\n        opacity: 0.9,\n        stroke: 'rgba(0,0,0,0.01)'\n      },\n      edge: {\n        lineWidth: 2,\n        size: 2,\n        lineAppendWidth: 4,\n        endArrow: {\n          path: G6.Arrow.triangle(5, 10, 10),\n          d: 10\n        },\n        startArrow: {\n          path: G6.Arrow.circle(3, 3),\n          // 使用内置箭头路径函数，参数为箭头的 宽度、长度、偏移量（默认为 0，与 d 对应）\n          //  fill: primaryColor,\n          //  shadowColor: primaryColor,\n          //  opacity: 1,\n          d: 6\n        },\n        //  startArrow: {\n        //   //  path: 'M 24,0 L -24,-12 L 8,0 L -24,12 Z',\n        //   //  d: 2,\n        //    fill: 'rgba(11,108,149)',\n        //    shadowColor: 'rgba(0,0,0,0.1)',\n        //   //  opacity: 1,\n        //  },\n        //  opacity: 0.2,\n        radius: 5,\n        labelCfg: {\n          autoRotate: true,\n          // 使文本随边旋转\n          style: {\n            fontSize: 34\n          }\n        },\n        stroke: primaryColor\n      }\n    }\n  };\n  return {\n    colors: colors,\n    style: style\n  };\n};"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/graph/item/type.d.ts",
    "content": "import { ModelConfig } from '@antv/g6';\nexport interface IModelNodeShapeCfg extends ModelConfig {\n    config: {\n        width: number;\n        headerHeight: number;\n        fieldHeight: number;\n        labelSize: number;\n        styleConfig: {\n            default: {\n                node: any;\n                edge: any;\n            };\n            active: {\n                node: any;\n                edge: any;\n            };\n            selected: {\n                node: any;\n                edge: any;\n            };\n        };\n        colors: any;\n    };\n    data: {\n        label: string;\n        key: string;\n        fields: IField[];\n        name: string;\n        aggregateRoot: boolean;\n        aggregateModelKey: string;\n        belongAggregate: string;\n        moduleKey: string;\n        store: any;\n    };\n    isNoModule?: boolean;\n    isKeySharp?: boolean;\n    active?: boolean;\n    selected?: boolean;\n    into?: boolean;\n    out?: boolean;\n    hide?: boolean;\n    inactive?: boolean;\n    isCardSharp?: boolean;\n    showNameOrLabel?: boolean;\n    themeColor?: string;\n    darkness?: boolean;\n}\nexport interface IField {\n    id: string;\n    label: string;\n    name: string;\n    type: string;\n    isForeign?: boolean;\n    relationModel?: any;\n    typeMeta?: any;\n}\nexport declare const Relation: {\n    ToOne: string;\n    ToMany: string;\n};\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/graph/item/type.js",
    "content": "// import G6 from '@antv/g6'\n\nexport var Relation = {\n  ToOne: '1:1',\n  ToMany: '1:n'\n};"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/graph/item/util.d.ts",
    "content": "export declare const setNodeStateAttr: (state: any, s: any, cfg: any) => void;\nexport declare const isEng: (str: any) => boolean;\nexport declare const getSplitStrings: (str: string) => string[];\nexport declare const getEngGroup: (str: string) => string[];\nexport declare const getLen: (str: string) => number;\nexport declare const getTopAnch: (num: any, y?: number) => never[];\nexport declare const getBottomAnch: (num: any, y?: number) => never[];\nexport declare const getLeftAnch: (num: any, x?: number) => never[];\nexport declare const getRightAnch: (num: any, x?: number) => never[];\nexport declare const getLength: (length: any) => any;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/graph/item/util.js",
    "content": "function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nexport var setNodeStateAttr = function setNodeStateAttr(state, s, cfg) {\n  if (cfg.config.styleConfig[state]) {\n    Object.entries(cfg.config.styleConfig[state].node).forEach(function (_ref) {\n      var _ref2 = _slicedToArray(_ref, 2),\n        k = _ref2[0],\n        v = _ref2[1];\n      s.attr(k, v);\n    });\n  }\n};\n\n// const mapNodeStateAttr = (state, s, cfg, isMap) => {\n//   if (cfg.config.styleConfig[state]) {\n//   Object.entries(cfg.config.styleConfig[state].node).forEach(([k, v]) => {\n//     s.attr(k, v)\n//   })\n// }\n// }\n\nexport var isEng = function isEng(str) {\n  for (var i = 0; i < str.length; i++) {\n    var charCode = str.charCodeAt(i);\n    if (charCode < 0 || charCode > 128) {\n      return false;\n    }\n  }\n  return true;\n};\nexport var getSplitStrings = function getSplitStrings(str) {\n  if (isEng(str)) return getEngGroup(str);\n  var reg = /.{5}/g;\n  var rs = str.match(reg) || [str];\n  rs.push(str.substring(rs.join('').length));\n  return rs;\n};\nexport var getEngGroup = function getEngGroup(str) {\n  var regExp = new RegExp(\"(?<!^)([A-Z]\", 'g');\n  var strs = str.replace(regExp, \"-$1\");\n  return strs.split('-');\n};\nexport var getLen = function getLen(str) {\n  /// <summary>获得字符串实际长度，中文2，英文1</summary>\n  /// <param name=\"str\">要获得长度的字符串</param>\n  // tslint:disable-next-line: one-variable-per-declaration\n  var realLength = 0,\n    len = str.length,\n    charCode = -1;\n  for (var i = 0; i < len; i++) {\n    charCode = str.charCodeAt(i);\n    if (charCode >= 0 && charCode <= 128) realLength += 1;else realLength += 2;\n  }\n  return realLength;\n}; // tslint:disable-next-line: interface-over-type-literal\n\nexport var getTopAnch = function getTopAnch(num) {\n  var y = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n  var res = [];\n  for (var i = 0; i < num; i++) {\n    res.push([(i + 1) / num, y]);\n  }\n  return res;\n};\nexport var getBottomAnch = function getBottomAnch(num) {\n  var y = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n  var res = [];\n  for (var i = 0; i <= num; i++) {\n    res.push([i / num, y]);\n  }\n  return res;\n};\nexport var getLeftAnch = function getLeftAnch(num) {\n  var x = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n  var res = [];\n  for (var i = 0; i < num; i++) {\n    res.push([x, (i + 1) / num]);\n  }\n  return res;\n};\nexport var getRightAnch = function getRightAnch(num) {\n  var x = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n  var res = [];\n  for (var i = 0; i <= num; i++) {\n    res.push([x, i / num]);\n  }\n  return res;\n};\nexport var getLength = function getLength(length) {\n  return length >= 8 ? length : 8;\n};"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/graph/model.scss",
    "content": ".noselect {\n    -webkit-touch-callout: none; /* iOS Safari */\n\n    -webkit-user-select: none; /* Chrome/Safari/Opera */\n\n    -khtml-user-select: none; /* Konqueror */\n\n    -moz-user-select: none; /* Firefox */\n\n    -ms-user-select: none; /* Internet Explorer/Edge */\n\n    user-select: none; /* Non-prefixed version, currently\n  \n  not supported by any browser */\n}\n\n.console-g6-page {\n    // background: #fff;\n    height: 100%;\n    .model-page {\n        height: 100%;\n        display: flex;\n        flex-direction: column;\n    }\n    .g6-tooltip {\n        padding: 10px 6px;\n        // color: black;\n        background-color: white;\n        box-shadow: 10px 10px 5px #888888;\n        // background-color: rgba(255, 255, 255, 0.9);\n        border: 1px solid rgb(11, 108, 149);\n        opacity: 1;\n        border-radius: 4px;\n        .text {\n            color: rgb(11, 108, 149);\n        }\n    }\n}\n\n.g6-minimap {\n    position: absolute;\n    right: 25px;\n    bottom: 40px;\n    padding: 5px;\n    overflow: visible !important;\n    // margin-top: 10px;\n    // margin-right: 10px;\n    background: #ffffff;\n    border: 0px solid rgba(0, 0, 0, 0.1);\n\n    // border-radius: 3px 0 0 3px;\n    // border-radius: 3px 0px 0px 3px;\n}\n\n.graph {\n    width: 100%;\n    cursor: grab;\n    margin-right: 20px;\n    margin-bottom: 23px;\n    flex: 1;\n    //  overflow: auto;\n    background-image: url(./editor-background.png);\n    background-repeat: repeat;\n    background-size: contain;\n    //  border: 1px solid rgba(0,0,0,.1);\n    //  border-radius: 3px;\n    border: 1px solid rgba(0, 0, 0, 0.1);\n    .text {\n        border: 1px solid rgba(0, 0, 0, 0.1);\n        opacity: 1;\n    }\n\n    //  background-image: linear-gradient(#DEE0E4 1px, transparent 0), linear-gradient(90deg, #DEE0E4 1px, transparent 0), linear-gradient(rgba(222, 224, 228, 0.6) 1px, transparent 0), linear-gradient(90deg, rgba(222, 224, 228, 0.6) 1px, transparent 0);\n    //  background-size: 75px 75px, 75px 75px, 15px 15px, 15px 15px;\n}\n\n.g6-minimap-viewport-erd {\n    border: 1px solid rgba(0, 0, 0, 0.06);\n    margin-top: 2px;\n    margin-right: 2px;\n}\n\n.console-erd-toolbar {\n    z-index: 1;\n    width: 100%;\n    //  border-bottom: 1px solid rgba(0, 0, 0, 0.1);\n    //  border-left: 1px solid rgba(0, 0, 0, 0.1);\n    height: 28px;\n\n    .split-span {\n        margin-right: 30px;\n    }\n\n    .left {\n        float: left;\n        margin-left: 30px;\n    }\n\n    .ant-upload-list {\n        display: none;\n    }\n\n    .zoomNum {\n        font-size: 17px;\n        text-align: center;\n        margin-right: 10px;\n        width: 50px;\n        color: rgba(0, 0, 0, 0.4);\n        display: inline-block;\n    }\n\n    .right {\n        float: right;\n        margin-right: 30px;\n    }\n\n    .command-btn {\n        margin: 8px;\n        font-size: 18px;\n        // margin-right: 25px;\n        color: rgba(0, 0, 0, 0.4);\n        cursor: pointer;\n    }\n\n    .enable {\n        color: #000;\n    }\n\n    .zoomleft {\n        margin-right: 10px;\n    }\n\n    .command-btn-data {\n    }\n}\n.console-erd-fps {\n    position: absolute;\n    bottom: 50px;\n    right: 0px;\n    // bottom: 150px;\n}\n\n.g6-tooltip {\n    padding: 10px 6px;\n    opacity: 0.5;\n    color: #444;\n    background-color: rgba(255, 255, 255, 0.9);\n    border: 1px solid #e2e2e2;\n    border-radius: 4px;\n}\n\n:-webkit-full-screen {\n    background-color: white !important;\n}\n:-moz-full-screen {\n    background-color: white !important;\n}\n\n:-ms-fullscreen {\n    background-color: white !important;\n}\n:fullscreen {\n    background-color: white !important;\n}\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/hooks/fields.d.ts",
    "content": "export declare const useFields: () => {\n    initFields: (data: any) => void;\n    fields: undefined;\n};\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/hooks/fields.js",
    "content": "function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nimport { useState, useCallback } from 'react';\n// import { FieldConfig } from './../type/config'\n// import { Field } from '../type/field'\n\nexport var useFields = function useFields() {\n  var _useState = useState(),\n    _useState2 = _slicedToArray(_useState, 2),\n    fields = _useState2[0],\n    setFields = _useState2[1];\n  var initFields = useCallback(function (data) {\n    ///\n    setFields(data);\n  }, []);\n  return {\n    initFields: initFields,\n    fields: fields\n  };\n};"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/hooks/models.d.ts",
    "content": ""
  },
  {
    "path": "packages/web-pdm-core/dist/esm/hooks/models.js",
    "content": ""
  },
  {
    "path": "packages/web-pdm-core/dist/esm/hooks/modules.d.ts",
    "content": ""
  },
  {
    "path": "packages/web-pdm-core/dist/esm/hooks/modules.js",
    "content": ""
  },
  {
    "path": "packages/web-pdm-core/dist/esm/index.d.ts",
    "content": "import WebPdm from './out';\nexport * from './out';\nexport default WebPdm;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/index.js",
    "content": "import WebPdm from \"./out\";\nexport * from \"./out\";\nexport default WebPdm;"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/intl.d.ts",
    "content": "declare const _default: {\n    EN: {\n        定位模型: string;\n        查看: string;\n        所有: string;\n        选择所有: string;\n        清除所有: string;\n        显示: string;\n        名称: string;\n        标签: string;\n        分类: string;\n        模式: string;\n        撤销: string;\n        重做: string;\n        放大: string;\n        缩小: string;\n        全景: string;\n        刷新数据: string;\n        下载图片: string;\n        切换层次布局: string;\n        切换关联布局: string;\n        切换底色: string;\n        点击: string;\n        关闭: string;\n        打开: string;\n        颜色面板: string;\n    };\n};\nexport default _default;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/intl.js",
    "content": "export default {\n  EN: {\n    定位模型: 'location model',\n    查看: 'detail',\n    所有: 'all',\n    选择所有: 'select all',\n    清除所有: 'clear all',\n    显示: 'display',\n    名称: 'name',\n    标签: 'label',\n    分类: 'category',\n    模式: 'model',\n    撤销: 'undo',\n    重做: 'redo',\n    放大: 'max',\n    缩小: 'min',\n    全景: 'full screen',\n    刷新数据: 'refresh data',\n    下载图片: 'download image',\n    切换层次布局: 'togglr dagre layout',\n    切换关联布局: 'toggle relation layout',\n    切换底色: 'toggle color',\n    点击: 'clock',\n    关闭: 'close',\n    打开: 'open',\n    颜色面板: 'color panel'\n  }\n};"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/out.d.ts",
    "content": "import { FunctionComponent, ReactNode } from 'react';\nimport { ModelConfig, ModuleConfig, FieldConfig, IComponentConfig, TData } from './type/config';\nexport * from './type/config';\ndeclare type TIconRendersKeys = {\n    undo: ReactNode;\n    redo: ReactNode;\n    min: ReactNode;\n    max: ReactNode;\n    full: ReactNode;\n    miniMap: ReactNode;\n    miniMapNo: ReactNode;\n    dagreLayout: ReactNode;\n    relationLayout: ReactNode;\n    reload: ReactNode;\n    image: ReactNode;\n    darkness: ReactNode;\n    light: ReactNode;\n    colorClose: ReactNode;\n    colorOpen: ReactNode;\n};\n/**\n *组件的props接口\n *\n * @export\n * @interface IWebPdmProps\n */\nexport interface IWebPdmProps {\n    /**\n     *传入的模型数据\n     *\n     * @type {ModelConfig[]}\n     * @memberof IWebPdmProps\n     */\n    models: ModelConfig[];\n    /**\n     *传入的模块数据\n     *\n     * @type {ModuleConfig[]}\n     * @memberof IWebPdmProps\n     */\n    modules: ModuleConfig[];\n    erdkey: string;\n    className?: string;\n    style?: any;\n    height?: string | number;\n    onIgnoreEdge?: (field: FieldConfig) => boolean;\n    components?: IComponentConfig;\n    onModelDetail?: (model: ModelConfig) => void;\n    themeColor?: string;\n    darkness?: boolean;\n    onReload?: () => TData;\n    intl?: 'CH' | 'EN';\n    onIntl?: (string: any) => string;\n    IconRenders?: Partial<TIconRendersKeys>;\n    disableIcons?: string[];\n    onlyMode?: boolean;\n}\n/**\n *组件定义\n *\n * @param {*} props 属性接口\n * @return {*}\n */\ndeclare const WebPDM: FunctionComponent<IWebPdmProps>;\nexport default WebPDM;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/out.js",
    "content": "function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nimport React, { useEffect, useState } from 'react';\nimport { applySnapshot, withoutUndo } from 'mobx-keystone';\nimport { useMst } from \"./context\";\nimport { observer } from 'mobx-react';\nimport { Provider, createRootStore } from \"./context\";\nimport MSTPage from \"./components\";\n// import { TIconRendersKeys } from './components/model-toolbar'\n\nexport * from \"./type/config\";\n// import './style.scss'\n\n// type FF = InstanceType<typeof {aa:}>\n\nvar Page = observer(function (_ref) {\n  var onIntl = _ref.onIntl,\n    onReload = _ref.onReload,\n    onModelDetail = _ref.onModelDetail,\n    models = _ref.models,\n    modules = _ref.modules,\n    erdkey = _ref.erdkey,\n    className = _ref.className,\n    style = _ref.style,\n    height = _ref.height,\n    onIgnoreEdge = _ref.onIgnoreEdge,\n    components = _ref.components,\n    IconRenders = _ref.IconRenders;\n  var data = useMst();\n  useEffect(function () {\n    // onSnapshot(data, snapshot => {\n    //     sessionStorage.setItem(\n    //         'web-pdm' + erdkey,\n    //         JSON.stringify(snapshot)\n    //     )\n    //     sessionStorage.setItem(\n    //         'web-pdm-fields' + erdkey,\n    //         JSON.stringify(Array.from(data.Fields.entries()))\n    //     )\n    // })\n    var localdata = sessionStorage.getItem('web-pdm' + erdkey);\n    if (!localdata) {\n      withoutUndo(function () {\n        return data.initData(models, modules);\n      });\n    } else {\n      var sdata = JSON.parse(localdata);\n      sdata.sys.height = height;\n      withoutUndo(function () {\n        var localFieldsdata = sessionStorage.getItem('web-pdm-fields' + erdkey);\n        if (localFieldsdata) {\n          data.setFields(new Map(JSON.parse(localFieldsdata)));\n        }\n        applySnapshot(data, sdata);\n        data.sys.setOnIgnoreEdge(onIgnoreEdge);\n        data.sys.setOnModelDetail(onModelDetail);\n        data.Ui.registComponents(components, IconRenders);\n        data.setOnReload(onReload);\n        data.onIntl = onIntl;\n      });\n    }\n  }, []);\n  useEffect(function () {\n    data.Models.clear();\n    data.Modules.clear();\n    data.Fields.clear();\n    withoutUndo(function () {\n      return data.initData(models, modules);\n    });\n  }, [models]);\n  return /*#__PURE__*/React.createElement(MSTPage, {\n    className: className,\n    style: style\n  });\n});\n/**\n *组件定义\n *\n * @param {*} props 属性接口\n * @return {*}\n */\nvar WebPDM = function WebPDM(props) {\n  var _useState = useState(function () {\n      return createRootStore({\n        sys: {\n          height: props.height,\n          onIgnoreEdge: props.onIgnoreEdge,\n          onModelDetail: props.onModelDetail,\n          intl: props.intl,\n          onlyMode: props.onlyMode\n        },\n        Ui: {\n          themeColor: props.themeColor,\n          darkness: props.darkness\n        },\n        components: props.components,\n        onReload: props.onReload,\n        onIntl: props.onIntl,\n        IconRenders: props.IconRenders,\n        disableIcons: props.disableIcons\n      });\n    }),\n    _useState2 = _slicedToArray(_useState, 1),\n    rootStore = _useState2[0];\n  return /*#__PURE__*/React.createElement(Provider, {\n    value: rootStore\n  }, rootStore && /*#__PURE__*/React.createElement(Page, props));\n};\nexport default WebPDM;"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/state-stack.d.ts",
    "content": "export declare class StateStack {\n    current: number;\n    DataList: any[];\n    push(obj: any): void;\n    undo(): any;\n    redo(): any;\n}\ndeclare const _default: StateStack;\nexport default _default;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/state-stack.js",
    "content": "function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nvar _class, _descriptor, _descriptor2;\nfunction _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }\nfunction _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }\nimport { observable } from 'mobx';\nexport var StateStack = (_class = /*#__PURE__*/function () {\n  function StateStack() {\n    _classCallCheck(this, StateStack);\n    _initializerDefineProperty(this, \"current\", _descriptor, this);\n    _initializerDefineProperty(this, \"DataList\", _descriptor2, this);\n  }\n  _createClass(StateStack, [{\n    key: \"push\",\n    value: function push(obj) {\n      this.DataList = this.DataList.slice(0, this.current + 1).concat([obj]);\n      this.current++;\n    }\n  }, {\n    key: \"undo\",\n    value: function undo() {\n      this.current--;\n      return this.DataList[this.current];\n    }\n  }, {\n    key: \"redo\",\n    value: function redo() {\n      this.current++;\n      return this.DataList[this.current];\n    }\n    // pop() {\n    //     return this.DataList.pop()\n    // }\n  }]);\n  return StateStack;\n}(), (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"current\", [observable], {\n  configurable: true,\n  enumerable: true,\n  writable: true,\n  initializer: function initializer() {\n    return -1;\n  }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"DataList\", [observable], {\n  configurable: true,\n  enumerable: true,\n  writable: true,\n  initializer: function initializer() {\n    return [];\n  }\n})), _class);\nexport default new StateStack();"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/tree/index.d.ts",
    "content": "import './style.scss';\nexport declare const Tree: any;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/tree/index.js",
    "content": "function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nimport { Dropdown, Menu, Tree as AntTree } from 'antd';\nimport React, { useState, useCallback } from 'react';\n// import 'antd/dist/antd.less'\nimport \"./style.scss\";\n// const click = () => alert()\nvar OptionBuilder = function OptionBuilder(_ref) {\n  var data = _ref.data;\n  var title = data.title,\n    _data$options = data.options,\n    options = _data$options === void 0 ? [] : _data$options;\n  var _useState = useState(false),\n    _useState2 = _slicedToArray(_useState, 2),\n    showMenu = _useState2[0],\n    setShowMenu = _useState2[1];\n  var onShowMenu = useCallback(function (val) {\n    return function () {\n      setShowMenu(val);\n    };\n  }, []);\n  var menu = /*#__PURE__*/React.createElement(Menu, null, options.map(function (option) {\n    return /*#__PURE__*/React.createElement(Menu.Item, {\n      key: option\n    }, /*#__PURE__*/React.createElement(\"a\", {\n      onClick: option.click\n    }, option.title));\n  }));\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"tree-node-title\",\n    onMouseEnter: onShowMenu(true),\n    onMouseLeave: onShowMenu(false)\n  }, /*#__PURE__*/React.createElement(\"span\", {\n    className: \"tree-node-title-title\"\n  }, title), !!options.length && showMenu && /*#__PURE__*/React.createElement(Dropdown, {\n    overlay: menu\n  }, /*#__PURE__*/React.createElement(\"span\", {\n    className: \"tree-node-title-options\"\n  }, \"...\")));\n};\n// alert()\nAntTree['OptionBuilder'] = OptionBuilder;\nexport var Tree = AntTree;"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/tree/style.scss",
    "content": ".navitree-warp {\n    .tree-node-title {\n        display: flex;\n    }\n    .tree-node-title-title {\n        flex: 1;\n    }\n\n    // .tree-node-title-options {\n    //   // padding-right: 40px;\n    //   display: none;\n    // }\n    div.tree-node-title-options:hover {\n        display: block;\n        color: red;\n    }\n\n    .ant-tree-node-content-wrapper {\n        width: 100%;\n    }\n}\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/type/config.d.ts",
    "content": "/// <reference types=\"react\" />\nexport declare type MetaTypeConfig = {\n    relationModel: string;\n    type: string;\n};\nexport declare type FieldMetaTypeConfig = {\n    relationModel: string;\n    field: string;\n    type?: string;\n};\nexport declare type FieldConfig = {\n    name: string;\n    label: string;\n    typeMeta?: MetaTypeConfig | FieldMetaTypeConfig[];\n    type?: string;\n};\nexport declare type ModelConfig = {\n    name: string;\n    label: string;\n    fields: FieldConfig[];\n    module: string;\n    type?: string;\n    aggregateRoot?: boolean;\n    aggregateModelKey?: string;\n    belongAggregate?: string;\n};\nexport declare type ModuleConfig = {\n    name: string;\n    label: string;\n};\nexport declare type SysConfig = {\n    search: string;\n    currentModel: string;\n    currentModule: string;\n    checkedKeys: string[];\n    showNameOrLabel: boolean;\n    tabOrTree: boolean;\n    height: number;\n};\nexport declare type IComponentConfig = {\n    Tree?: React.ComponentType;\n    Input?: React.ComponentType;\n    Button?: React.ComponentType;\n    Dropdown?: React.ComponentType;\n    Menu?: React.ComponentType;\n    Select?: React.ComponentType;\n    Tooltip?: React.ComponentType;\n    Popover?: React.ComponentType;\n};\nexport declare type TData = {\n    models: ModelConfig[];\n    modules: ModuleConfig[];\n};\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/type/config.js",
    "content": "export {};"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/type/graph.d.ts",
    "content": "import { Graph } from '@antv/g6/dist/g6.min.js';\ndeclare const TGraph_base: import(\"mobx-keystone\")._Model<unknown, {\n    zoom: import(\"mobx-keystone\").OptionalModelProp<number>;\n}, never, never>;\nexport declare class TGraph extends TGraph_base {\n    G6Graph: Graph;\n    setG6Graph(graph: Graph): void;\n    setZoom(zoom: number): void;\n    minZoom(graph: Graph): void;\n    maxZoom(graph: Graph): void;\n    container(graph: Graph): void;\n    downAsImage(): void;\n    actionEdges(currentModel: string): void;\n}\nexport {};\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/type/graph.js",
    "content": "function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nvar _dec, _class, _class2;\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }\nimport { model, Model, prop, modelAction } from 'mobx-keystone';\nexport var TGraph = (_dec = model('webpdm/TGraph'), _dec(_class = (_class2 = /*#__PURE__*/function (_Model) {\n  _inherits(TGraph, _Model);\n  var _super = _createSuper(TGraph);\n  function TGraph() {\n    var _this;\n    _classCallCheck(this, TGraph);\n    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n    _this = _super.call.apply(_super, [this].concat(args));\n    _defineProperty(_assertThisInitialized(_this), \"G6Graph\", void 0);\n    return _this;\n  }\n  _createClass(TGraph, [{\n    key: \"setG6Graph\",\n    value:\n    //  @modelAction\n    function setG6Graph(graph) {\n      // alert(this.$modelId)\n      this.G6Graph = graph;\n      // alert(this.$modelId)\n      //  window.yyy = getRoot(this)\n      //  alert( 'yyy.graph.G6Graph' + yyy.graph.G6Graph)\n    }\n  }, {\n    key: \"setZoom\",\n    value: function setZoom(zoom) {\n      //  alert(zoom)\n      this.zoom = zoom;\n    }\n  }, {\n    key: \"minZoom\",\n    value: function minZoom(graph) {\n      // const gwidth = graph.get('width')\n      // const gheight = graph.get('height')\n      // const point = graph.getCanvasByPoint(gwidth / 2, gheight / 2)\n      var zoom = this.zoom;\n      if (zoom > 0.2) {\n        this.zoom = zoom - 0.1;\n      } else {\n        this.zoom = zoom - 0.02;\n      }\n    }\n  }, {\n    key: \"maxZoom\",\n    value: function maxZoom(graph) {\n      // const gwidth = graph.get('width')\n      // const gheight = graph.get('height')\n      // const point = graph.getCanvasByPoint(gwidth / 2, gheight / 2)\n      var zoom = this.zoom;\n      if (zoom > 0.2) {\n        this.zoom = zoom + 0.1;\n      } else {\n        this.zoom = zoom + 0.02;\n      }\n    }\n  }, {\n    key: \"container\",\n    value: function container(graph) {\n      graph.fitView(0);\n      this.zoom = graph.getZoom();\n    }\n  }, {\n    key: \"downAsImage\",\n    value: function downAsImage() {\n      var _graph = this.G6Graph;\n      if (!_graph) return;\n      var oldZoom = this.G6Graph.getZoom();\n      //const newZoom = 100\n\n      _graph.isExporting = true;\n      _graph.getNodes().filter(function (a) {\n        return !a.isSys;\n      }).forEach(function (node) {\n        node.getContainer().show();\n        _graph.updateItem(node, {\n          isKeySharp: false,\n          isCardSharp: false\n        });\n      });\n      var gwidth = _graph.get('width');\n      var gheight = _graph.get('height');\n      var point = _graph.getCanvasByPoint(gwidth / 2, gheight / 2);\n      // graph.moveTo({x: point.x , y : point.y})\n      // _graph.zoomTo(0.6, {x: point.x , y : point.y})\n      // _graph.paint()\n      // this.setZoom(0.6)\n      _graph.zoomTo(0.8);\n      _graph.downloadFullImage('模型图', undefined, {\n        backgroundColor: 'rgb(245, 247, 255)'\n      });\n      _graph.isExporting = undefined;\n      _graph.zoomTo(oldZoom);\n      this.setZoom(oldZoom);\n      _graph.getNodes().filter(function (a) {\n        return !a.isSys;\n      }).forEach(function (node) {\n        node.getContainer().show();\n        _graph.updateItem(node, {\n          isKeySharp: oldZoom < 0.4,\n          isCardSharp: false\n        });\n      });\n    }\n  }, {\n    key: \"actionEdges\",\n    value: function actionEdges(currentModel) {\n      if (!this.G6Graph) return;\n      this.G6Graph.getEdges().forEach(function (edge) {\n        var edgeData = edge.getModel();\n        if (edgeData.target !== 'model-SYS-CENTER-POINT') {\n          edge.setState('active', false);\n          if (edgeData.source === 'model-' + currentModel || edgeData.target === 'model-' + currentModel) {\n            edge.setState('active', true);\n            edge.toFront();\n          }\n        }\n      });\n    }\n  }]);\n  return TGraph;\n}(Model({\n  zoom: prop(0)\n})), (_applyDecoratedDescriptor(_class2.prototype, \"setZoom\", [modelAction], Object.getOwnPropertyDescriptor(_class2.prototype, \"setZoom\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"minZoom\", [modelAction], Object.getOwnPropertyDescriptor(_class2.prototype, \"minZoom\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"maxZoom\", [modelAction], Object.getOwnPropertyDescriptor(_class2.prototype, \"maxZoom\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"container\", [modelAction], Object.getOwnPropertyDescriptor(_class2.prototype, \"container\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"downAsImage\", [modelAction], Object.getOwnPropertyDescriptor(_class2.prototype, \"downAsImage\"), _class2.prototype)), _class2)) || _class);"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/type/index.d.ts",
    "content": "/// <reference types=\"react\" />\nimport { UndoManager } from 'mobx-keystone';\nimport { TModel } from './model';\nimport { TModule } from './module';\nimport { TSys } from './sys';\nimport { TGraph } from './graph';\nimport { SysConfig, ModelConfig, ModuleConfig } from './config';\nimport { TUi } from './ui';\nexport declare const arrangeShow: (ss: any, { model }: {\n    model: any;\n}) => any;\nexport declare type TData = {\n    models: ModelConfig[];\n    modules: ModuleConfig[];\n};\ndeclare const RootInstance_base: import(\"mobx-keystone\")._Model<unknown, {\n    sys: import(\"mobx-keystone\").MaybeOptionalModelProp<TSys>;\n    Models: import(\"mobx-keystone\").OptionalModelProp<import(\"mobx-keystone\").ObjectMap<TModel>>;\n    Modules: import(\"mobx-keystone\").OptionalModelProp<import(\"mobx-keystone\").ObjectMap<TModule>>;\n    graph: import(\"mobx-keystone\").OptionalModelProp<TGraph>;\n    Ui: import(\"mobx-keystone\").OptionalModelProp<TUi>;\n}, never, never>;\nexport declare class RootInstance extends RootInstance_base {\n    undoManager: UndoManager;\n    Fields: Map<string, any>;\n    onReload: () => TData;\n    onIntl: (text: string) => string;\n    setOnReload(onReload: () => TData): void;\n    intl(text: string): any;\n    setUndoManager(undoManager: UndoManager): void;\n    setFields(fields: Map<string, any>): void;\n    get moduleList(): TModule[];\n    get Nodes(): {\n        id: string;\n        type: string;\n        isKeySharp: boolean;\n        visible: boolean;\n        selected: boolean;\n        showNameOrLabel: boolean;\n        config: {\n            width: number;\n            headerHeight: number;\n            fieldHeight: number;\n            labelSize: number;\n            styleConfig: {\n                naviWidth: number;\n                default: {\n                    node: {\n                        fill: string;\n                        shadowColor: string;\n                        shadowBlur: number;\n                        shadowOffsetX: number;\n                        shadowOffsetY: number;\n                        radius: number;\n                        lineWidth: number;\n                        opacity: number;\n                        stroke: string;\n                    };\n                    edge: {\n                        lineWidth: number;\n                        size: number;\n                        lineAppendWidth: number;\n                        endArrow: {\n                            path: any;\n                        };\n                        startArrow: {\n                            path: any;\n                            d: number;\n                        };\n                        radius: number;\n                        labelCfg: {\n                            autoRotate: boolean;\n                            style: {\n                                fontSize: number;\n                            };\n                        };\n                        stroke: any;\n                    };\n                };\n                selected: {\n                    node: {\n                        stroke: string;\n                        shadowColor: string;\n                    };\n                };\n                isNoModule: {\n                    node: {\n                        opacity: number;\n                    };\n                };\n                fieldRelation: {\n                    node: {\n                        fill: string;\n                        shadowColor: string;\n                        shadowBlur: number;\n                        shadowOffsetX: number;\n                        shadowOffsetY: number;\n                        radius: number;\n                        lineWidth: number;\n                        opacity: number;\n                        stroke: string;\n                    };\n                    edge: {\n                        lineWidth: number;\n                        size: number;\n                        lineAppendWidth: number;\n                        endArrow: {\n                            path: any;\n                            d: number;\n                        };\n                        startArrow: {\n                            path: any;\n                            d: number;\n                        };\n                        radius: number;\n                        labelCfg: {\n                            autoRotate: boolean;\n                            style: {\n                                fontSize: number;\n                            };\n                        };\n                        stroke: any;\n                    };\n                };\n            };\n            colors: {\n                blue: any;\n                white: string;\n                head: any;\n                black: string;\n            };\n        };\n        data: {\n            moduleKey: string;\n            label: string;\n            fields: any[];\n            key: string;\n            name: string;\n            tag: string;\n            aggregateRoot: boolean;\n            aggregateModelKey: string;\n            belongAggregate: string;\n            nodeSize: number;\n        };\n        themeColor: any;\n        darkness: boolean;\n        size: number;\n    }[];\n    get edges(): any;\n    arrangeShow(rootKey: string): void;\n    findModelByName(name: string): TModel | undefined;\n    renderModelTitle(model: TModel): string | JSX.Element;\n    initData(models: ModelConfig[], modules: ModuleConfig[], sys?: SysConfig): void;\n    reload(): void;\n    undo(): void;\n    redo(): void;\n    checkAllFun(): void;\n    checkAllCancleFun(): void;\n    setCheckedKeys: (keys: string[]) => void;\n    onInit(): void;\n}\nexport declare const createStore: (props?: {\n    sys: {};\n    graph: {};\n    components: {};\n    Ui: {};\n    IconRenders: undefined;\n    disableIcons: never[];\n}) => RootInstance;\nexport {};\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/type/index.js",
    "content": "function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nvar _dec, _class, _class2, _descriptor;\nfunction _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }\nfunction _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nimport { model, Model, prop, modelAction, objectMap, getSnapshot } from 'mobx-keystone';\nimport { computed } from 'mobx';\nimport { without, union } from 'lodash';\nimport { TModel } from \"./model\";\nimport { TModule } from \"./module\";\n// import { TField ,MetaType  } from './field'\nimport { TSys } from \"./sys\";\nimport { TGraph } from \"./graph\";\nimport { createData, createLinks } from \"../graph/data\";\nimport { renderModelTitle as _renderModelTitle } from \"../util/label\";\n// import StateStack from '../state-stack'\n// import { undoManager } from '../context'\n\nimport { TUi } from \"./ui\";\nimport IntlMap from \"../intl\";\nvar getLayerRootModel = function getLayerRootModel(models, rootKey) {\n  var roots = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n  var rootModel = models.find(function (a) {\n    return a.name === rootKey;\n  });\n  var rootsRes = rootModel ? [].concat(_toConsumableArray(roots), [rootKey]) : roots;\n  var isRoot = rootModel.aggregateModelKey && rootModel.aggregateModelKey !== rootKey;\n  var rootsResList = isRoot ? getLayerRootModel(models, rootModel.aggregateModelKey, rootsRes) : rootsRes;\n  return rootsResList;\n};\nexport var arrangeShow = function arrangeShow(ss, _ref) {\n  var model = _ref.model;\n  // alert(model)\n  var roots = getLayerRootModel(ss.models, model, []);\n  // alert(JSON.stringify(roots))\n  var list = ss.models.filter(function (a) {\n    return a.key === model || roots.indexOf(a.aggregateModelKey) >= 0;\n  }).map(function (a) {\n    return 'model-' + a.key;\n  });\n  return _objectSpread(_objectSpread({}, ss), {}, {\n    checkedKeys: list,\n    currentModel: model,\n    isArrangeLayout: true\n  });\n};\nfunction S4() {\n  return ((1 + Math.random()) * 0x10000 | 0).toString(16).substring(1);\n}\nfunction NewGuid() {\n  return S4();\n  //return globaIndex ++\n}\n\nfunction MapProp() {\n  return prop(function () {\n    return objectMap();\n  });\n  // return prop_mapObject<(Map<string, T>)>(() => new Map())\n}\n\nexport var RootInstance = (_dec = model('webpdm/RootStore'), _dec(_class = (_class2 = /*#__PURE__*/function (_Model) {\n  _inherits(RootInstance, _Model);\n  var _super = _createSuper(RootInstance);\n  function RootInstance() {\n    var _this;\n    _classCallCheck(this, RootInstance);\n    for (var _len = arguments.length, args = new Array(_len), _key2 = 0; _key2 < _len; _key2++) {\n      args[_key2] = arguments[_key2];\n    }\n    _this = _super.call.apply(_super, [this].concat(args));\n    _defineProperty(_assertThisInitialized(_this), \"undoManager\", void 0);\n    _defineProperty(_assertThisInitialized(_this), \"Fields\", new Map());\n    _defineProperty(_assertThisInitialized(_this), \"onReload\", void 0);\n    _defineProperty(_assertThisInitialized(_this), \"onIntl\", void 0);\n    _initializerDefineProperty(_assertThisInitialized(_this), \"setCheckedKeys\", _descriptor, _assertThisInitialized(_this));\n    return _this;\n  }\n  _createClass(RootInstance, [{\n    key: \"setOnReload\",\n    value: function setOnReload(onReload) {\n      this.onReload = onReload;\n    }\n  }, {\n    key: \"intl\",\n    value: function intl(text) {\n      var newText = this.onIntl && this.onIntl(text);\n      if (newText) {\n        return newText;\n      }\n      var intlmap = IntlMap[this.sys.intl];\n      if (intlmap) return intlmap[text] || text;else return text;\n      //    return text\n    }\n  }, {\n    key: \"setUndoManager\",\n    value: function setUndoManager(undoManager) {\n      this.undoManager = undoManager;\n    }\n  }, {\n    key: \"setFields\",\n    value: function setFields(fields) {\n      this.Fields = fields;\n    }\n  }, {\n    key: \"moduleList\",\n    get: function get() {\n      return _toConsumableArray(this.Modules.values());\n    }\n  }, {\n    key: \"Nodes\",\n    get: function get() {\n      var data = createData(this);\n      //alert(data.length)\n      return data;\n    }\n  }, {\n    key: \"edges\",\n    get: function get() {\n      return createLinks(this);\n    }\n  }, {\n    key: \"arrangeShow\",\n    value: function arrangeShow(rootKey) {\n      // alert(rootKey)]\n      var models = _toConsumableArray(this.Models.values());\n      var roots = getLayerRootModel(models, rootKey, []);\n      //alert(JSON.stringify(roots))\n      var list = models.filter(function (a) {\n        return a.name === rootKey || roots.indexOf(a.aggregateModelKey) >= 0;\n      }).map(function (a) {\n        return a.id;\n      });\n      // alert(JSON.stringify(list))\n      this.sys.setCheckedKeys(list);\n      //const list = ss.models.filter((a) => (a.key === model ||  roots.indexOf(a.aggregateModelKey) >= 0)).map((a) => 'model-' + a.key)\n    }\n  }, {\n    key: \"findModelByName\",\n    value: function findModelByName(name) {\n      return _toConsumableArray(this.Models.values()).find(function (a) {\n        return a.name === name;\n      });\n    }\n  }, {\n    key: \"renderModelTitle\",\n    value: function renderModelTitle(model) {\n      return _renderModelTitle(model.label, this.sys.search, this.sys.showNameOrLabel, model.name);\n    }\n\n    // @modelAction\n    // init({ modelData, moduleData, height }: { modelData: any, moduleData: any, height: any }) {\n\n    //       let moduleHas: Record<string, string> = {}\n    //       moduleData.forEach((module: any) => {\n    //             const key = NewGuid().toString()\n    //             this.Modules.set(key, new TModule({ id: key, label: module.name, name: module.key }))\n    //             moduleHas[module.key] = key\n    //             this.sys.expandedKeys.push(key)\n\n    //       })\n    //       let modelsKeys: string[] = []\n    //       modelData.forEach((model: any) => {\n    //             const key = NewGuid().toString()\n    //             this.Models.set(key, new TModel({ id: key, aggregateModelKey: m.aggregateModelKey, label: model.name, name: model.key, moduleId: moduleHas[model.moduleKey] || '' }))\n    //             model.fields.forEach((field: any) => {\n    //                   const _key = NewGuid().toString()\n    //                   this.Fields.set(_key, new TField({ id: _key, typeMeta: (field.typeMeta ? new  MetaType(field.typeMeta ) : undefined ), label: field.name, name: field.key, type: field.type || 'string', modelId: key }))\n    //             })\n    //             modelsKeys.push(key)\n\n    //       })\n    //       this.sys.checkedKeys = modelsKeys\n    //       this.sys.height = height\n    //       // alert( this.sys.height)\n    // }\n  }, {\n    key: \"initData\",\n    value: function initData(models, modules, sys) {\n      var _this2 = this;\n      var t0 = +new Date();\n      var moduleHas = {};\n      modules.forEach(function (module) {\n        var key = NewGuid().toString();\n        _this2.Modules.set(key, new TModule({\n          id: key,\n          label: module.label,\n          name: module.name\n        }));\n        moduleHas[module.name] = key;\n        _this2.sys.expandedKeys.push(key);\n      });\n      var t1 = +new Date();\n      var modelsKeys = [];\n      var modelHas = {};\n      // alert(models.length)\n      models.forEach(function (model) {\n        var key = NewGuid().toString();\n        _this2.Models.set(key, new TModel({\n          id: key,\n          belongAggregate: model.belongAggregate,\n          aggregateModelKey: model.aggregateModelKey,\n          aggregateRoot: model.aggregateRoot,\n          label: model.label,\n          name: model.name,\n          moduleId: moduleHas[model.module] || ''\n        }));\n        modelHas[model.name] = key;\n        modelsKeys.push(key);\n      });\n      models.forEach(function (model) {\n        model.fields.forEach(function (field) {\n          var _field$typeMeta;\n          // if( i > 3) return\n          var _key = NewGuid().toString();\n          var relationModel = field === null || field === void 0 ? void 0 : (_field$typeMeta = field.typeMeta) === null || _field$typeMeta === void 0 ? void 0 : _field$typeMeta.relationModel;\n          var tmodel = relationModel ? _this2.Models.get(modelHas[relationModel]) : undefined;\n          // const { label , name , id } = tmodel ||\n          _this2.Fields.set(_key, {\n            id: _key,\n            label: field.label,\n            name: field.name,\n            type: field.type || 'string',\n            modelId: modelHas[model.name],\n            typeMeta: field.typeMeta,\n            relationModel: tmodel && getSnapshot(tmodel)\n          });\n          if (tmodel) console.log(tmodel.name);\n          // this.Fields.set(_key, new TField({}).init({ id: _key, typeMeta: (field.typeMeta ? new  MetaType(field.typeMeta ) : undefined ), label: field.label, name: field.name, type: field.type || 'string', modelId: key }))\n        });\n        // modelsKeys.push(key)\n      });\n\n      var t2 = +new Date();\n      this.sys.setCheckedKeys(modelsKeys);\n      if (sys !== null && sys !== void 0 && sys.height) {\n        this.sys.height = sys.height;\n      }\n      var t = +new Date();\n      // alert('initData  :' +  (t1 - t0) + '   ' + (t2 -t1) + '   ' +  (t - t2) )\n    }\n  }, {\n    key: \"reload\",\n    value: function reload() {\n      // alert('刷新')\n      if (this.onReload) {\n        var data = this.onReload();\n        if (data) {\n          this.Models.clear();\n          this.Modules.clear();\n          this.Fields.clear();\n          this.initData(data.models, data.modules);\n          // this.sys.checkedKeys = data.models.map(a=>a.)\n          // this.sys.currentModel = ''\n        }\n      }\n    }\n  }, {\n    key: \"undo\",\n    value: function undo() {\n      //     const current = StateStack.DataList.length - 1\n      //     const state : any = StateStack.DataList[current - 1]\n      //     const state = StateStack.undo()\n      //     console.log(state)\n      //     window.lockSnapshot = true\n      this.undoManager.undo();\n      //     this.sys.snapshot = false\n      // alert('undo ' + state.sys.showNameOrLabel)\n      //     applySnapshot(this,state)\n      //     window.lockSnapshot = false\n    }\n  }, {\n    key: \"redo\",\n    value: function redo() {\n      // const state = StateStack.redo()\n      // console.log(state)\n      // window.lockSnapshot = true\n      // applySnapshot(this,state)\n      this.undoManager.redo();\n    }\n  }, {\n    key: \"checkAllFun\",\n    value: function checkAllFun() {\n      var _this$Modules$get, _this$Modules$get$mod;\n      var currentModule = this.sys.currentModule;\n      var modelIds = currentModule ? (_this$Modules$get = this.Modules.get(currentModule)) === null || _this$Modules$get === void 0 ? void 0 : (_this$Modules$get$mod = _this$Modules$get.models) === null || _this$Modules$get$mod === void 0 ? void 0 : _this$Modules$get$mod.map(function (a) {\n        return a.id;\n      }) : _toConsumableArray(this.Models.values()).map(function (a) {\n        return a.id;\n      });\n      this.sys.checkedKeys = union(this.sys.checkedKeys, modelIds);\n    }\n  }, {\n    key: \"checkAllCancleFun\",\n    value: function checkAllCancleFun() {\n      var _this$Modules$get2, _this$Modules$get2$mo;\n      var currentModule = this.sys.currentModule;\n      if (!currentModule) this.sys.checkedKeys = [];\n      // const models = [...this.Models.values()]\n      var modelIds = (_this$Modules$get2 = this.Modules.get(currentModule)) === null || _this$Modules$get2 === void 0 ? void 0 : (_this$Modules$get2$mo = _this$Modules$get2.models) === null || _this$Modules$get2$mo === void 0 ? void 0 : _this$Modules$get2$mo.map(function (a) {\n        return a.id;\n      });\n      this.sys.checkedKeys = _toConsumableArray(without.apply(void 0, [_toConsumableArray(this.sys.checkedKeys)].concat(_toConsumableArray(modelIds || []))));\n    }\n  }, {\n    key: \"onInit\",\n    value: function onInit() {\n      // alert('sys onInit')\n      // alert(this.tabOrTree)\n      this.intl = this.intl.bind(this);\n    }\n  }]);\n  return RootInstance;\n}(Model({\n  sys: prop(),\n  Models: MapProp(),\n  Modules: MapProp(),\n  // Fields: MapProp<TField>(),\n  graph: prop(function () {\n    return new TGraph({});\n  }),\n  Ui: prop(function () {\n    return new TUi({});\n  })\n})), (_applyDecoratedDescriptor(_class2.prototype, \"moduleList\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"moduleList\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"Nodes\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"Nodes\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"edges\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"edges\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"arrangeShow\", [modelAction], Object.getOwnPropertyDescriptor(_class2.prototype, \"arrangeShow\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"findModelByName\", [modelAction], Object.getOwnPropertyDescriptor(_class2.prototype, \"findModelByName\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"renderModelTitle\", [modelAction], Object.getOwnPropertyDescriptor(_class2.prototype, \"renderModelTitle\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"initData\", [modelAction], Object.getOwnPropertyDescriptor(_class2.prototype, \"initData\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"reload\", [modelAction], Object.getOwnPropertyDescriptor(_class2.prototype, \"reload\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"undo\", [modelAction], Object.getOwnPropertyDescriptor(_class2.prototype, \"undo\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"redo\", [modelAction], Object.getOwnPropertyDescriptor(_class2.prototype, \"redo\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"checkAllFun\", [modelAction], Object.getOwnPropertyDescriptor(_class2.prototype, \"checkAllFun\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"checkAllCancleFun\", [modelAction], Object.getOwnPropertyDescriptor(_class2.prototype, \"checkAllCancleFun\"), _class2.prototype), _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"setCheckedKeys\", [modelAction], {\n  configurable: true,\n  enumerable: true,\n  writable: true,\n  initializer: function initializer() {\n    var _this3 = this;\n    return function (keys) {\n      if (!_this3.sys.tabOrTree) {\n        _this3.sys.checkedKeys = keys;\n      } else {\n        var modelKeys = _toConsumableArray(_this3.Models.values()).filter(function (a) {\n          return !_this3.sys.currentModule || a.moduleId === _this3.sys.currentModule;\n        }).map(function (a) {\n          return a.id;\n        });\n        var withoutKeys = without.apply(void 0, [modelKeys].concat(_toConsumableArray(keys)));\n        _this3.sys.checkedKeys = union(without.apply(void 0, [_this3.sys.checkedKeys].concat(_toConsumableArray(withoutKeys))), keys);\n      }\n    };\n  }\n})), _class2)) || _class);\nexport var createStore = function createStore() {\n  var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {\n    sys: {},\n    graph: {},\n    components: {},\n    Ui: {},\n    IconRenders: undefined,\n    disableIcons: []\n  };\n  // alert(JSON.stringify(props.sys.onlyMode))\n  var ui = new TUi(props.Ui);\n  ui.registComponents(props.components, props.IconRenders, props.disableIcons);\n  return new RootInstance({\n    $modelId: 'webpdm',\n    sys: new TSys(_objectSpread({\n      isArrangeLayout: false,\n      layouting: true,\n      search: ''\n    }, props.sys)),\n    Ui: ui,\n    graph: new TGraph(_objectSpread({}, props.graph))\n    // Ui: new TUi(Ui)\n  });\n};"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/type/model.d.ts",
    "content": "/// <reference types=\"react\" />\nimport { SnapshotOutOf } from 'mobx-keystone';\nexport declare type InModel = SnapshotOutOf<TModel>;\ndeclare const TModel_base: import(\"mobx-keystone\")._Model<unknown, {\n    id: import(\"mobx-keystone\").MaybeOptionalModelProp<string>;\n    name: import(\"mobx-keystone\").MaybeOptionalModelProp<string>;\n    label: import(\"mobx-keystone\").OptionalModelProp<string>;\n    moduleId: import(\"mobx-keystone\").OptionalModelProp<string>;\n    aggregateRoot: import(\"mobx-keystone\").OptionalModelProp<boolean>;\n    aggregateModelKey: import(\"mobx-keystone\").MaybeOptionalModelProp<string>;\n    belongAggregate: import(\"mobx-keystone\").MaybeOptionalModelProp<string>;\n}, never, never>;\nexport declare class TModel extends TModel_base {\n    get fields(): any[];\n    renderModelTitle(): string | JSX.Element;\n    filterModel(): boolean;\n}\nexport {};\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/type/model.js",
    "content": "function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nvar _dec, _class, _class2;\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }\nimport { model, Model, prop, modelAction, getRoot } from 'mobx-keystone';\nimport { renderModelTitle as _renderModelTitle } from \"../util/label\";\n// import { computed } from 'mobx'\n\n// aggregateRoot: boolean;\n// aggregateModelKey: string;\n// belongAggregate: string;\n\nexport var TModel = (_dec = model('webpdm/Model'), _dec(_class = (_class2 = /*#__PURE__*/function (_Model) {\n  _inherits(TModel, _Model);\n  var _super = _createSuper(TModel);\n  function TModel() {\n    _classCallCheck(this, TModel);\n    return _super.apply(this, arguments);\n  }\n  _createClass(TModel, [{\n    key: \"fields\",\n    get:\n    // @computed\n    function get() {\n      var _this = this;\n      var root = getRoot(this);\n      var fields = _toConsumableArray(root.Fields.values());\n      return fields.filter(function (a) {\n        return a.modelId === _this.id;\n      });\n    }\n  }, {\n    key: \"renderModelTitle\",\n    value: function renderModelTitle() {\n      var root = getRoot(this);\n      return _renderModelTitle(this.label, root.sys.search, root.sys.showNameOrLabel, this.name);\n    }\n  }, {\n    key: \"filterModel\",\n    value: function filterModel() {\n      var root = getRoot(this);\n      var search = root.sys.search;\n      return !search || (root.sys.showNameOrLabel ? this.name.indexOf(search) >= 0 : this.label.indexOf(search) >= 0);\n    }\n  }]);\n  return TModel;\n}(Model({\n  id: prop(),\n  name: prop(),\n  label: prop(''),\n  moduleId: prop(''),\n  aggregateRoot: prop(false),\n  aggregateModelKey: prop(),\n  belongAggregate: prop()\n})), (_applyDecoratedDescriptor(_class2.prototype, \"renderModelTitle\", [modelAction], Object.getOwnPropertyDescriptor(_class2.prototype, \"renderModelTitle\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"filterModel\", [modelAction], Object.getOwnPropertyDescriptor(_class2.prototype, \"filterModel\"), _class2.prototype)), _class2)) || _class);"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/type/module.d.ts",
    "content": "declare const TModule_base: import(\"mobx-keystone\")._Model<unknown, {\n    id: import(\"mobx-keystone\").MaybeOptionalModelProp<string>;\n    name: import(\"mobx-keystone\").MaybeOptionalModelProp<string>;\n    label: import(\"mobx-keystone\").MaybeOptionalModelProp<string>;\n}, never, never>;\nexport declare class TModule extends TModule_base {\n    get models(): import(\"./model\").TModel[];\n}\nexport {};\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/type/module.js",
    "content": "function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nvar _dec, _class, _class2;\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }\nimport { model, Model, prop, getRoot } from 'mobx-keystone';\nimport { computed } from 'mobx';\nexport var TModule = (_dec = model('webpdm/TModule'), _dec(_class = (_class2 = /*#__PURE__*/function (_Model) {\n  _inherits(TModule, _Model);\n  var _super = _createSuper(TModule);\n  function TModule() {\n    _classCallCheck(this, TModule);\n    return _super.apply(this, arguments);\n  }\n  _createClass(TModule, [{\n    key: \"models\",\n    get: function get() {\n      var _this = this;\n      var mst = getRoot(this);\n      var models = _toConsumableArray(mst.Models.values()).filter(function (a) {\n        return a.moduleId === _this.id;\n      });\n      return models;\n    }\n  }]);\n  return TModule;\n}(Model({\n  id: prop(),\n  name: prop(),\n  label: prop()\n})), (_applyDecoratedDescriptor(_class2.prototype, \"models\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"models\"), _class2.prototype)), _class2)) || _class);"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/type/sys.d.ts",
    "content": "import { FieldConfig, ModelConfig } from './config';\ndeclare const TSys_base: import(\"mobx-keystone\")._Model<unknown, {\n    search: import(\"mobx-keystone\").OptionalModelProp<string>;\n    layouting: import(\"mobx-keystone\").OptionalModelProp<boolean>;\n    isArrangeLayout: import(\"mobx-keystone\").OptionalModelProp<boolean>;\n    expandedKeys: import(\"mobx-keystone\").OptionalModelProp<string[]>;\n    currentModel: import(\"mobx-keystone\").OptionalModelProp<string>;\n    currentModule: import(\"mobx-keystone\").OptionalModelProp<string>;\n    checkedKeys: import(\"mobx-keystone\").OptionalModelProp<string[]>;\n    showNameOrLabel: import(\"mobx-keystone\").OptionalModelProp<boolean>;\n    tabOrTree: import(\"mobx-keystone\").OptionalModelProp<boolean>;\n    snapshot: import(\"mobx-keystone\").OptionalModelProp<boolean>;\n    height: import(\"mobx-keystone\").OptionalModelProp<string | number | undefined>;\n    dagreLayout: import(\"mobx-keystone\").OptionalModelProp<boolean>;\n    intl: import(\"mobx-keystone\").OptionalModelProp<string>;\n    disableMiniMap: import(\"mobx-keystone\").OptionalModelProp<boolean>;\n    onlyMode: import(\"mobx-keystone\").OptionalModelProp<boolean>;\n}, never, never>;\nexport declare class TSys extends TSys_base {\n    onIgnoreEdge: (filed: FieldConfig) => boolean;\n    onModelDetail: (model: ModelConfig) => void;\n    setOnIgnoreEdge(onIgnoreEdge: any): void;\n    setOnModelDetail(onModelDetail: any): void;\n    toggleArrangeLayout(): void;\n    setExpandedKeys: (keys: string[]) => void;\n    setCheckedKeys: (keys: string[]) => void;\n    setDisableMiniMap(disableMiniMap: boolean): void;\n    setCurrentModel(keys: string[]): void;\n    centerCurrentModel(keys: string[]): void;\n    openModel(key: string): void;\n    toggleTabOrTree: () => void;\n    changeModuleValue: (module: string) => void;\n    setSearch: (search: string) => void;\n    toggleShowNameOrLabel: () => void;\n    onInit(): void;\n    setDagreLayout(dagreLayout: boolean): void;\n}\nexport {};\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/type/sys.js",
    "content": "function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nvar _dec, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\nfunction _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }\nfunction _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }\nimport { model, Model, prop, modelAction, getRoot } from 'mobx-keystone';\nimport { toCenter } from \"../util/graph\";\nexport var TSys = (_dec = model('webpdm/TSys'), _dec(_class = (_class2 = /*#__PURE__*/function (_Model) {\n  _inherits(TSys, _Model);\n  var _super = _createSuper(TSys);\n  function TSys() {\n    var _this;\n    _classCallCheck(this, TSys);\n    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n    _this = _super.call.apply(_super, [this].concat(args));\n    _defineProperty(_assertThisInitialized(_this), \"onIgnoreEdge\", void 0);\n    _defineProperty(_assertThisInitialized(_this), \"onModelDetail\", void 0);\n    _initializerDefineProperty(_assertThisInitialized(_this), \"setExpandedKeys\", _descriptor, _assertThisInitialized(_this));\n    _initializerDefineProperty(_assertThisInitialized(_this), \"setCheckedKeys\", _descriptor2, _assertThisInitialized(_this));\n    _initializerDefineProperty(_assertThisInitialized(_this), \"toggleTabOrTree\", _descriptor3, _assertThisInitialized(_this));\n    _initializerDefineProperty(_assertThisInitialized(_this), \"changeModuleValue\", _descriptor4, _assertThisInitialized(_this));\n    _initializerDefineProperty(_assertThisInitialized(_this), \"setSearch\", _descriptor5, _assertThisInitialized(_this));\n    _initializerDefineProperty(_assertThisInitialized(_this), \"toggleShowNameOrLabel\", _descriptor6, _assertThisInitialized(_this));\n    return _this;\n  }\n  _createClass(TSys, [{\n    key: \"setOnIgnoreEdge\",\n    value: function setOnIgnoreEdge(onIgnoreEdge) {\n      this.onIgnoreEdge = onIgnoreEdge;\n    }\n  }, {\n    key: \"setOnModelDetail\",\n    value: function setOnModelDetail(onModelDetail) {\n      this.onModelDetail = onModelDetail;\n    }\n  }, {\n    key: \"toggleArrangeLayout\",\n    value: function toggleArrangeLayout() {\n      this.isArrangeLayout = !this.isArrangeLayout;\n    }\n  }, {\n    key: \"setDisableMiniMap\",\n    value: function setDisableMiniMap(disableMiniMap) {\n      this.disableMiniMap = disableMiniMap;\n    }\n  }, {\n    key: \"setCurrentModel\",\n    value: function setCurrentModel(keys) {\n      var n0 = +new Date();\n      var newKey = keys.length > 1 ? keys[1] : keys[0];\n      var root = getRoot(this);\n      //root.graph.G6Graph\n      var graph = root.graph.G6Graph;\n      if (graph) {\n        var item = graph.findById('model-' + newKey);\n        if (item) item.toFront();\n      }\n      this.currentModel = newKey;\n      var n1 = +new Date();\n      // alert(n1 - n0)\n      //root.graph.actionEdges(newKey)\n    }\n  }, {\n    key: \"centerCurrentModel\",\n    value: function centerCurrentModel(keys) {\n      var newKey = keys.length > 1 ? keys[1] : keys[0];\n      this.currentModel = newKey;\n      var root = getRoot(this);\n      //root.graph.G6Graph\n      var graph = root.graph.G6Graph;\n      if (graph) {\n        var item = graph.findById('model-' + newKey);\n        if (item) item.toFront();\n        toCenter(item, graph);\n        root.graph.setZoom(graph.getZoom());\n      }\n\n      //toCenter(   , root.graph.G6Graph)\n    }\n  }, {\n    key: \"openModel\",\n    value: function openModel(key) {\n      // const newKey = keys.length > 1 ? keys[1] : keys[0]\n      // this.currentModel = newKey\n      var root = getRoot(this);\n      //root.graph.G6Graph\n      var graph = root.graph.G6Graph;\n      if (graph) {\n        var item = graph.findById('model-' + key);\n        if (this.onModelDetail) this.onModelDetail(item.getModel().data);\n        // if (item) item.toFront()\n        // toCenter(item, graph)\n        // root.graph.setZoom(graph.getZoom())\n      }\n\n      //toCenter(   , root.graph.G6Graph)\n    }\n  }, {\n    key: \"onInit\",\n    value: function onInit() {\n      // alert('sys onInit')\n      // alert(this.tabOrTree)\n      this.toggleShowNameOrLabel = this.toggleShowNameOrLabel.bind(this);\n    }\n  }, {\n    key: \"setDagreLayout\",\n    value: function setDagreLayout(dagreLayout) {\n      this.dagreLayout = dagreLayout;\n    }\n  }]);\n  return TSys;\n}(Model({\n  search: prop(''),\n  layouting: prop(false),\n  isArrangeLayout: prop(false),\n  expandedKeys: prop(function () {\n    return [];\n  }),\n  currentModel: prop(''),\n  currentModule: prop(''),\n  checkedKeys: prop(function () {\n    return [];\n  }),\n  showNameOrLabel: prop(false),\n  tabOrTree: prop(false),\n  snapshot: prop(true),\n  height: prop('100%'),\n  dagreLayout: prop(false),\n  intl: prop('CH'),\n  disableMiniMap: prop(false),\n  onlyMode: prop(false)\n  // undoData: prop<UndoStore>(() => new UndoStore({})),\n})), (_applyDecoratedDescriptor(_class2.prototype, \"toggleArrangeLayout\", [modelAction], Object.getOwnPropertyDescriptor(_class2.prototype, \"toggleArrangeLayout\"), _class2.prototype), _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"setExpandedKeys\", [modelAction], {\n  configurable: true,\n  enumerable: true,\n  writable: true,\n  initializer: function initializer() {\n    var _this2 = this;\n    return function (keys) {\n      _this2.expandedKeys = keys;\n    };\n  }\n}), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"setCheckedKeys\", [modelAction], {\n  configurable: true,\n  enumerable: true,\n  writable: true,\n  initializer: function initializer() {\n    var _this3 = this;\n    return function (keys) {\n      _this3.checkedKeys = keys;\n    };\n  }\n}), _applyDecoratedDescriptor(_class2.prototype, \"setDisableMiniMap\", [modelAction], Object.getOwnPropertyDescriptor(_class2.prototype, \"setDisableMiniMap\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setCurrentModel\", [modelAction], Object.getOwnPropertyDescriptor(_class2.prototype, \"setCurrentModel\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"centerCurrentModel\", [modelAction], Object.getOwnPropertyDescriptor(_class2.prototype, \"centerCurrentModel\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"openModel\", [modelAction], Object.getOwnPropertyDescriptor(_class2.prototype, \"openModel\"), _class2.prototype), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"toggleTabOrTree\", [modelAction], {\n  configurable: true,\n  enumerable: true,\n  writable: true,\n  initializer: function initializer() {\n    var _this4 = this;\n    return function () {\n      _this4.tabOrTree = !_this4.tabOrTree;\n    };\n  }\n}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"changeModuleValue\", [modelAction], {\n  configurable: true,\n  enumerable: true,\n  writable: true,\n  initializer: function initializer() {\n    var _this5 = this;\n    return function (module) {\n      _this5.currentModule = module;\n    };\n  }\n}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, \"setSearch\", [modelAction], {\n  configurable: true,\n  enumerable: true,\n  writable: true,\n  initializer: function initializer() {\n    var _this6 = this;\n    return function (search) {\n      // alert(search)\n      _this6.search = search;\n    };\n  }\n}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, \"toggleShowNameOrLabel\", [modelAction], {\n  configurable: true,\n  enumerable: true,\n  writable: true,\n  initializer: function initializer() {\n    var _this7 = this;\n    return function () {\n      _this7.showNameOrLabel = !_this7.showNameOrLabel;\n    };\n  }\n}), _applyDecoratedDescriptor(_class2.prototype, \"setDagreLayout\", [modelAction], Object.getOwnPropertyDescriptor(_class2.prototype, \"setDagreLayout\"), _class2.prototype)), _class2)) || _class);"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/type/ui.d.ts",
    "content": "/// <reference types=\"react\" />\nimport { IComponentConfig } from './config';\ndeclare const TUi_base: import(\"mobx-keystone\")._Model<unknown, {\n    update: import(\"mobx-keystone\").OptionalModelProp<number>;\n    themeColor: import(\"mobx-keystone\").OptionalModelProp<string>;\n    selectedColor: import(\"mobx-keystone\").OptionalModelProp<string>;\n    darkness: import(\"mobx-keystone\").OptionalModelProp<boolean>;\n}, never, never>;\nexport declare class TUi extends TUi_base {\n    Tree?: React.ComponentType;\n    Input?: React.ComponentType;\n    Button?: React.ComponentType;\n    Dropdown?: React.ComponentType;\n    Menu?: React.ComponentType;\n    Select?: React.ComponentType;\n    Tooltip?: React.ComponentType;\n    Popover?: React.ComponentType;\n    IconRenders?: Record<string, React.ReactNode>;\n    isToogle: boolean;\n    disableIcons: string[];\n    registComponents(components?: IComponentConfig, IconRenders?: Record<string, React.ReactNode>, disableIcons?: string[]): void;\n    toggle(components: IComponentConfig): void;\n    setThemeColor(color: string): void;\n    setDarkness(darkness: boolean): void;\n}\nexport {};\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/type/ui.js",
    "content": "function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nvar _dec, _class, _class2;\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }\nimport { model, Model, modelAction, prop } from 'mobx-keystone';\n// import { Input, Button, Dropdown, Menu, Select, Tooltip, Popover } from 'antd'\n// import { Tree } from '../tree'\n// import { RootInstance } from '../type'\n\nexport var TUi = (_dec = model('webpdm/TUi'), _dec(_class = (_class2 = /*#__PURE__*/function (_Model) {\n  _inherits(TUi, _Model);\n  var _super = _createSuper(TUi);\n  function TUi() {\n    var _this;\n    _classCallCheck(this, TUi);\n    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n    _this = _super.call.apply(_super, [this].concat(args));\n    _defineProperty(_assertThisInitialized(_this), \"Tree\", void 0);\n    _defineProperty(_assertThisInitialized(_this), \"Input\", void 0);\n    _defineProperty(_assertThisInitialized(_this), \"Button\", void 0);\n    _defineProperty(_assertThisInitialized(_this), \"Dropdown\", void 0);\n    _defineProperty(_assertThisInitialized(_this), \"Menu\", void 0);\n    _defineProperty(_assertThisInitialized(_this), \"Select\", void 0);\n    _defineProperty(_assertThisInitialized(_this), \"Tooltip\", void 0);\n    _defineProperty(_assertThisInitialized(_this), \"Popover\", void 0);\n    _defineProperty(_assertThisInitialized(_this), \"IconRenders\", {});\n    _defineProperty(_assertThisInitialized(_this), \"isToogle\", false);\n    _defineProperty(_assertThisInitialized(_this), \"disableIcons\", []);\n    return _this;\n  }\n  _createClass(TUi, [{\n    key: \"registComponents\",\n    value: function registComponents(components, IconRenders, disableIcons) {\n      var _this2 = this;\n      if (components) {\n        Object.keys(components).forEach(function (k) {\n          _this2[k] = components[k];\n        });\n      }\n      if (IconRenders) this.IconRenders = _objectSpread(_objectSpread({}, this.IconRenders), IconRenders);\n      if (disableIcons) this.disableIcons = disableIcons;\n      // this.Tree = Tree\n      // if (!this.Tree || !components) this.Tree = Tree\n      // if (!this.Input || !components) this.Input = Input\n      // if (!this.Button || !components) this.Button = Button\n      // if (!this.Dropdown || !components) this.Dropdown = Dropdown\n      // if (!this.Menu || !components) this.Menu = Menu\n      // if (!this.Select || !components) this.Select = Select\n      // if (!this.Tooltip || !components) this.Tooltip = Tooltip\n      // if (!this.Popover || !components) this.Popover = Popover\n    }\n  }, {\n    key: \"toggle\",\n    value: function toggle(components) {\n      this.registComponents(this.isToogle ? undefined : components);\n      // const root: RootInstance = getRoot(this)\n      this.update = +new Date();\n      this.isToogle = !this.isToogle;\n    }\n  }, {\n    key: \"setThemeColor\",\n    value: function setThemeColor(color) {\n      this.themeColor = color;\n    }\n  }, {\n    key: \"setDarkness\",\n    value: function setDarkness(darkness) {\n      this.darkness = darkness;\n    }\n  }]);\n  return TUi;\n}(Model({\n  update: prop(+new Date()),\n  themeColor: prop('black'),\n  selectedColor: prop('rgba(11,108,149)'),\n  darkness: prop(true)\n})), (_applyDecoratedDescriptor(_class2.prototype, \"toggle\", [modelAction], Object.getOwnPropertyDescriptor(_class2.prototype, \"toggle\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setThemeColor\", [modelAction], Object.getOwnPropertyDescriptor(_class2.prototype, \"setThemeColor\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setDarkness\", [modelAction], Object.getOwnPropertyDescriptor(_class2.prototype, \"setDarkness\"), _class2.prototype)), _class2)) || _class);"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/util/graph.d.ts",
    "content": "export declare const toCenter: (item: any, graph: any) => void;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/util/graph.js",
    "content": "export var toCenter = function toCenter(item, graph) {\n  if (!item) return;\n  graph.getNodes().filter(function (a) {\n    return !a.isSys;\n  }).forEach(function (node) {\n    node.getContainer().show();\n  });\n  graph.zoomTo(0.8);\n  graph.focusItem(item);\n  // 聚焦当前点击的节点（把节点放到视口中心）\n  // let matrix = item.get('group').getMatrix()\n  // let point = {\n  //   x: matrix[6],\n  //   y: matrix[7],\n  // }\n  // let width = graph.get('width')\n  var height = graph.get('height'); // 找到视口中心\n  var itemHight = item.getKeyShape().attr('height');\n  var graphHeight = height / 2;\n  graph.translate(0, -graphHeight + itemHight / 2 + 120);\n};"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/util/index.d.ts",
    "content": "import { FC as SFC } from 'react';\nexport interface IComponentOptions<T> {\n    setup: SFC<T>;\n    displayName?: string;\n}\nexport interface IComponent {\n    <T>(options: IComponentOptions<T>): SFC<T>;\n}\nexport declare const defineComponent: IComponent;\nexport declare const ObComponent: IComponent;\nexport interface IComponentCreateOptions<T> {\n    useLocal?: any;\n    useSetup?: any;\n    render: SFC<T>;\n    displayName?: string;\n}\nexport interface IComponentCreate {\n    <T>(options: IComponentCreateOptions<T>): SFC<T>;\n}\nexport declare const CreateComponent: IComponentCreate;\nexport declare const json: (obj: any, replacer?: any, space?: any) => string;\nexport declare const renderJson: (value: any, replacer?: any, space?: any) => JSX.Element;\nexport declare function mapToArrary<T>(mapObj: Map<string, T>): T[];\nexport declare const intlLiteral: (text: string) => string;\nexport declare const changeTwoDecimal_f: (x: any) => any;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/util/index.js",
    "content": "function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nimport React, { isValidElement } from 'react';\nimport { observer } from 'mobx-react';\nimport reactString from 'react-element-to-jsx-string';\nexport var defineComponent = function defineComponent(_ref) {\n  var setup = _ref.setup,\n    displayName = _ref.displayName;\n  setup.displayName = displayName;\n  return setup;\n};\nexport var ObComponent = function ObComponent(_ref2) {\n  var setup = _ref2.setup,\n    displayName = _ref2.displayName;\n  // const useSetUp = setup\n  // const render = () => {\n  //    return <\n  // }\n  return observer(defineComponent({\n    setup: setup,\n    displayName: displayName\n  }));\n};\nexport var CreateComponent = function CreateComponent(_ref3) {\n  var useLocal = _ref3.useLocal,\n    useSetup = _ref3.useSetup,\n    render = _ref3.render,\n    displayName = _ref3.displayName;\n  var Render = observer(render);\n  //  const Render = render\n  //  const setUp = useSetup\n  //  const useLocalState = (props) => {\n  //      return useLocalStore(setUp, props)\n  //  }\n  var finnalRender = Render;\n  finnalRender.displayName = displayName;\n  return finnalRender;\n};\nexport var json = function json(obj, replacer, space) {\n  var _replacer = replacer || null;\n  var _space = space || 2;\n  return JSON.stringify(obj, _replacer, _space);\n};\nvar handleCircular = function handleCircular() {\n  var cache = [];\n  var keyCache = [];\n  return function (key, value) {\n    if (_typeof(value) === 'object' && value !== null) {\n      if ( /*#__PURE__*/isValidElement(value)) {\n        return reactString(value);\n      }\n      var index = cache.indexOf(value);\n      if (index !== -1) {\n        return \"[Circular \".concat(keyCache[index], \"]\");\n      }\n      cache.push(value);\n      keyCache.push(key || 'root');\n    }\n    return value;\n  };\n};\nexport var renderJson = function renderJson(value, replacer, space) {\n  var _replacer = replacer || handleCircular();\n  var _json = JSON.stringify(value, _replacer, space);\n  var _res = JSON.parse(_json);\n  return /*#__PURE__*/React.createElement(\"pre\", null, /*#__PURE__*/React.createElement(\"code\", null, json(_res)));\n};\nexport function mapToArrary(mapObj) {\n  return _toConsumableArray(mapObj.values());\n}\nexport var intlLiteral = function intlLiteral(text) {\n  return text;\n};\nexport var changeTwoDecimal_f = function changeTwoDecimal_f(x) {\n  var f_x = parseFloat(x);\n  if (isNaN(f_x)) {\n    return 0;\n  }\n  f_x = Math.round(x * 100) / 100;\n  var s_x = f_x.toString();\n  var pos_decimal = s_x.indexOf('.');\n  if (pos_decimal < 0) {\n    pos_decimal = s_x.length;\n    s_x += '.';\n  }\n  while (s_x.length <= pos_decimal + 2) {\n    s_x += '0';\n  }\n  if (s_x >= 100) return 100;\n  return s_x;\n};"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/util/label.d.ts",
    "content": "/// <reference types=\"react\" />\nexport declare const renderModelTitle: (title: string, searchValue: string, showNameOrLabel: boolean, originalKey: string) => string | JSX.Element;\n"
  },
  {
    "path": "packages/web-pdm-core/dist/esm/util/label.js",
    "content": "import React from 'react';\nexport var renderModelTitle = function renderModelTitle(title, searchValue, showNameOrLabel, originalKey) {\n  if (showNameOrLabel) {\n    return renderTitle(originalKey, searchValue);\n  } else {\n    return renderTitle(title, searchValue);\n  }\n};\nvar renderLabel = function renderLabel(isSpec, beforeStr, afterStr, searchValue) {\n  var greenStyle = isSpec ? {\n    color: 'green'\n  } : {};\n  var searchStyle = {\n    color: '#f50'\n  };\n  return /*#__PURE__*/React.createElement(\"span\", null, /*#__PURE__*/React.createElement(\"span\", {\n    style: greenStyle\n  }, beforeStr), /*#__PURE__*/React.createElement(\"span\", {\n    style: searchStyle\n  }, searchValue), /*#__PURE__*/React.createElement(\"span\", {\n    style: greenStyle\n  }, afterStr));\n};\nvar renderTitle = function renderTitle(title) {\n  var searchValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n  var isSpec = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n  if (!searchValue) return title;\n  var index = title.indexOf(searchValue);\n  var beforeStr = title.substr(0, index);\n  var afterStr = title.substr(index + searchValue.length);\n  var titleFilter = index > -1 ? renderLabel(isSpec, beforeStr, afterStr, searchValue) : renderTitleGreen(isSpec, title);\n  return titleFilter;\n};\nvar renderTitleGreen = function renderTitleGreen(isSpec, title) {\n  var greenStyle = isSpec ? {\n    color: 'green'\n  } : {};\n  return /*#__PURE__*/React.createElement(\"span\", {\n    style: greenStyle\n  }, title);\n};"
  },
  {
    "path": "packages/web-pdm-core/package.json",
    "content": "{\n  \"name\": \"web-pdm-core\",\n  \"version\": \"2.0.1\",\n  \"description\": \"\",\n  \"license\": \"ISC\",\n  \"author\": \"\",\n  \"main\": \"dist/cjs\",\n  \"module\": \"dist/esm\",\n  \"files\": [\n    \"dist\"\n  ],\n  \"scripts\": {\n    \"build\": \"rm -rf dist && father build\",\n    \"publish-npm:patch\": \"npm run build ; npm version patch && npm publish --registry=https://registry.npmjs.org && cnpm sync web-pdm-core\",\n    \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\"\n  },\n  \"dependencies\": {\n    \"@ant-design/icons\": \"^5.0.1\",\n    \"@antv/g-canvas\": \"^1.9.40\",\n    \"@antv/g6\": \"^4.1.16\",\n    \"@iarna/rtf-to-html\": \"^1.1.0\",\n    \"ahooks\": \"^3.7.6\",\n    \"antd\": \"^5.3.2\",\n    \"classnames\": \"^2.3.2\",\n    \"lodash\": \"^4.17.21\",\n    \"mobx\": \"^6.8.0\",\n    \"mobx-keystone\": \"^1.4.1\",\n    \"mobx-react\": \"^7.6.0\",\n    \"react\": \"^18.2.0\",\n    \"react-color\": \"^2.18.1\",\n    \"react-custom-scrollbars\": \"^4.2.1\",\n    \"react-dom\": \"^18.2.0\",\n    \"react-element-to-jsx-string\": \"^15.0.0\",\n    \"react-scrollbars-custom\": \"^4.1.1\"\n  },\n  \"devDependencies\": {\n    \"@types/lodash\": \"^4.14.161\",\n    \"@types/react\": \"^18.0.27\",\n    \"@types/react-dom\": \"^18.0.10\",\n    \"conventional-changelog-cli\": \"^2.1.0\",\n    \"father\": \"^4.1.0\"\n  }\n}\n"
  },
  {
    "path": "packages/web-pdm-core/src/components/index.tsx",
    "content": "import React, { useEffect } from 'react'\nimport classnames from 'classnames'\nimport { CreateComponent } from '../util'\nimport ModelNavi from './model-navi'\nimport GraphPage from '../graph'\nimport { useMst } from '../context'\n\nexport type IPagePros = {\n    style?: any\n    className?: string\n    height?: number\n}\n\nexport default CreateComponent<IPagePros>({\n    displayName: 'page',\n    render (props) {\n        const mst = useMst()\n\n        // alert( mst.sys.height)\n        // debugger\n        return (\n            <div\n                className={classnames('console-g6-page', props.className)}\n                style={{ height: mst.sys.height }}\n            >\n                <div className='console-erd-fps' />\n                <div className='g6-modelnavi'>\n                    <ModelNavi />\n                </div>\n                <div className='g6-graph'>\n                    <GraphPage />\n                </div>\n            </div>\n        )\n    }\n})\n"
  },
  {
    "path": "packages/web-pdm-core/src/components/model-navi/index.tsx",
    "content": "import { EllipsisOutlined } from '@ant-design/icons'\nimport { debounce } from 'lodash'\n\n// import { Tree } from '../../tree'\nimport { TModel } from '../../type/model'\nimport { RootInstance } from '../../type'\n// import _ from 'lodash'\nimport React, { useCallback, useEffect, useState, useMemo } from 'react'\nimport Scroll from 'react-custom-scrollbars'\nimport { CreateComponent } from '../../util'\nimport { useMst } from '../../context'\nimport './style.scss'\n// import mst from '@antv/g6/lib/algorithm/mst';\n\nconsole.log('hezk test =======');\n\ntype IModelNaviProps = {\n    modules?: []\n    model?: []\n}\n\nconst getTreeNodeTitle = (\n    model: TModel,\n    root: RootInstance,\n    OptionBuilder: any\n) => {\n    return (\n        <OptionBuilder\n            data={{\n                title: root.renderModelTitle(model),\n\n                options: [\n                    {\n                        title: <span> {root.intl('定位模型')}</span>,\n                        key: 1,\n                        click: e => {\n                            root.sys.centerCurrentModel([model.id])\n                            e.stopPropagation()\n                        }\n                    },\n                    {\n                        key: 2,\n                        title: <span> {root.intl('查看')}</span>,\n                        click: e => {\n                            root.sys.openModel(model.id)\n                            e.stopPropagation()\n                        }\n                    }\n                    // {\n                    //   title: <span> {intlLiteral('移除')}</span>\n                    // },\n                ]\n            }}\n        />\n    )\n}\n\nexport default CreateComponent<IModelNaviProps>({\n    render(_) {\n        const mst = useMst()\n        const intl = mst.intl\n        const { Input, Button, Dropdown, Menu, Select, Tree } = mst.Ui as any\n        const { TreeNode, OptionBuilder } = Tree as any\n        const treeNodes = useMemo(\n            () =>\n                !mst.sys.tabOrTree\n                    ? mst.moduleList.map(m => {\n                        return (\n                            <TreeNode\n                                title={\n                                    mst.sys.showNameOrLabel ? m.name : m.label\n                                }\n                                key={m.id}\n                            >\n                                {[...m.models.values()]\n                                    .filter(model => model.filterModel())\n                                    .map(model => {\n                                        return (\n                                            <TreeNode\n                                                key={model.id}\n                                                title={getTreeNodeTitle(\n                                                    model,\n                                                    mst,\n                                                    OptionBuilder\n                                                )}\n                                            />\n                                        )\n                                    })}\n                            </TreeNode>\n                        )\n                    })\n                    : [...mst.Models.values()]\n                        .filter(\n                            model =>\n                                (!mst.sys.currentModule ||\n                                    model.moduleId ===\n                                    mst.sys.currentModule) &&\n                                model.filterModel()\n                        )\n                        .map(model => {\n                            return (\n                                <TreeNode\n                                    key={model.id}\n                                    title={getTreeNodeTitle(\n                                        model,\n                                        mst,\n                                        OptionBuilder\n                                    )}\n                                />\n                            )\n                        }),\n            [\n                mst.sys.tabOrTree,\n                mst.moduleList,\n                mst.sys.showNameOrLabel,\n                mst.sys.currentModule,\n                mst.sys.search //打包后没有执行，添加search确保执行\n            ]\n        )\n\n        useEffect(() => { }, [mst.Ui.update])\n\n\n        const {\n            search,\n            onExpand,\n            checkAllFun,\n            checkAllCancleFun,\n            toggleShowNameOrLabel,\n            toggleTabOrTree,\n            Sys,\n            changeModuleValue,\n            setSearch\n        } = useLocal()\n        return (\n            <div\n                className='console-models-tree'\n                style={{ height: mst.sys.height }}\n            >\n                <div className='header'>\n                    <div className='console-erd-search'>\n                        <Input\n                            allowClear\n                            value={search}\n                            size='small'\n                            onChange={e => setSearch(e.target.value)}\n                            addonAfter={\n                                Sys.tabOrTree && (\n                                    <Select\n                                        size='small'\n                                        defaultValue={Sys.currentModule}\n                                        value={Sys.currentModule}\n                                        className='select-after'\n                                        onChange={changeModuleValue}\n                                    >\n                                        {[\n                                            <Select.Option value={''}>\n                                                {intl('所有')}\n                                            </Select.Option>,\n                                            ...[...mst.Modules.values()].map(\n                                                module => {\n                                                    return (\n                                                        <Select.Option\n                                                            value={module.id}\n                                                            key={module.id}\n                                                        >\n                                                            {module.label}\n                                                        </Select.Option>\n                                                    )\n                                                }\n                                            )\n                                        ]}\n                                    </Select>\n                                )\n                            }\n                        />\n                    </div>\n                    <div className='console-erd-search btns'>\n                        {mst.sys.tabOrTree && (\n                            <Button\n                                size='small'\n                                type='text'\n                                onClick={checkAllFun}\n                            >\n                                {intl('选择所有')}\n                            </Button>\n                        )}\n                        {mst.sys.tabOrTree && (\n                            <Button\n                                size='small'\n                                type='text'\n                                onClick={checkAllCancleFun}\n                            >\n                                {intl('清除所有')}\n                            </Button>\n                        )}\n                        {/* {!mst.sys.tabOrTree && <Button size=\"small\" type=\"link\" onClick={toggleTabOrTree}>{mst.sys.tabOrTree?'分类':'树形'}模式</Button>} */}\n                        <Button\n                            size='small'\n                            type='text'\n                            onClick={toggleShowNameOrLabel}\n                        >\n                            {intl('显示')}\n                            {!mst.sys.showNameOrLabel\n                                ? intl('名称')\n                                : intl('标签')}\n                        </Button>\n                        {\n                            !Sys.onlyMode && <Dropdown\n                                className='right'\n                                overlay={\n                                    <Menu>\n                                        <Menu.Item\n                                            key='1'\n                                            onClick={toggleTabOrTree}\n                                        >\n                                            {!Sys.tabOrTree\n                                                ? intl('分类')\n                                                : intl('树形')}{' '}\n                                            {intl('模式')}\n                                        </Menu.Item>\n                                    </Menu>\n                                }\n                            >\n                                <span>\n                                    <EllipsisOutlined />\n                                </span>\n                            </Dropdown>\n                        }\n                    </div>\n                </div>\n                <div className='navitree-warp'>\n                    <Scroll\n                        autoHide\n                        autoHeight\n                        autoHideTimeout={1000}\n                        autoHideDuration={200}\n                        autoHeightMin={'100%'}\n                        autoHeightMax={'100%'}\n                    >\n                        <Tree\n                            showIcon={false}\n                            className='console-models-tree-tree'\n                            onSelect={mst.sys.setCurrentModel.bind(mst.sys)}\n                            selectedKeys={[mst.sys.currentModel]}\n                            checkedKeys={[...mst.sys.checkedKeys]}\n                            onCheck={mst.setCheckedKeys.bind(mst)}\n                            checkable\n                            onExpand={onExpand}\n                            multiple\n                            expandedKeys={[...mst.sys.expandedKeys]}\n                        >\n                            {treeNodes}\n                        </Tree>\n                    </Scroll>\n                </div>\n            </div>\n        )\n    },\n    displayName: 'navi'\n})\n\nconst useLocal = () => {\n    const mst = useMst()\n    const [text, setText] = useState(mst.sys.search)\n    const [texting, setTexting] = useState(false)\n    // 重复setText 导致快速输入时inputValue显示异常\n    // useEffect(() => {\n    //     if (!texting) debounce(() => {\n    //         setText(mst.sys.search);\n\n    //     }, 1000)()//时间设置太长导致input框未能即使更新设置值\n    // }, [mst.sys.search])\n\n    const setSearch = useCallback(\n        val => {\n            setTexting(true)\n            setText(val)\n            debounce(() => {\n                mst.sys.setSearch(val)\n                setTexting(false)\n            }, 500)()\n        },\n        [mst.sys.setSearch, setText]\n    )\n    // const setSearch = mst.sys.setSearch;\n    return {\n        search: text,\n        get modules() {\n            return mst.moduleList\n        },\n        onExpand(expandedKeys: string[]) {\n            mst.sys.setExpandedKeys(expandedKeys)\n        },\n\n        get expandedKeys() {\n            return mst.sys.expandedKeys\n        },\n        checkAllFun() {\n            return mst.checkAllFun()\n        },\n        checkAllCancleFun() {\n            return mst.checkAllCancleFun()\n        },\n        toggleShowNameOrLabel: mst.sys.toggleShowNameOrLabel,\n        toggleTabOrTree: mst.sys.toggleTabOrTree.bind(mst.sys),\n        get Sys() {\n            return mst.sys\n        },\n        changeModuleValue: mst.sys.changeModuleValue.bind(mst.sys),\n        setSearch\n    }\n}\n"
  },
  {
    "path": "packages/web-pdm-core/src/components/model-navi/style.scss",
    "content": ".console-g6-page {\n    background-color: #fff;\n    display: flex;\n    flex: 1;\n    flex-direction: row;\n    overflow: hidden;\n    height: 100%;\n    .g6-graph {\n        // width: calc(100% - 250px)\n        // padding-left: 16px;\n        margin-right: 16px;\n        flex: 1;\n        width: 0;\n        height: 100%;\n        .ant-spin-nested-loading {\n            height: 100%;\n            .ant-spin-container {\n                height: 100%;\n            }\n        }\n    }\n\n    .g6-info {\n        width: 50px;\n    }\n\n    .g6-modelnavi {\n        width: 270px;\n        margin-bottom: 16px;\n        height: 100%;\n\n        .console-models-tree {\n            overflow: hidden;\n            display: flex;\n            flex-direction: column;\n            padding-bottom: 50px;\n\n            height: 100%;\n            margin-right: 25px;\n\n            .header {\n                height: 60px;\n            }\n\n            .navitree-warp {\n                flex: 1;\n                // overflow-y: scroll;\n                display: flex;\n                flex-direction: column;\n                overflow: hidden;\n                // margin-top: 8px;\n                // margin-bottom: 24px;\n                height: 100%;\n                margin-left: 10px;\n                border: 1px solid rgba(0, 0, 0, 0.1);\n            }\n            .console-erd-search {\n                margin-top: 3px;\n                // height:35px;\n                margin-bottom: 4px;\n                // margin-right: 30px;\n                margin-left: 10px;\n                display: flex;\n                .right {\n                    float: right;\n                }\n                .console-erd-add {\n                    font-size: 20px;\n                    // margin-right: 25px;\n                    color: rgba(0, 0, 0, 0.4);\n                    cursor: pointer;\n                    margin-left: 5px;\n                }\n            }\n            // .header {\n            //   // height: 50px;\n            //   // border-bottom:1px solid rgba(0, 0, 0, 0.1);\n            // }\n\n            .console-models-tree-tree {\n                flex: 1;\n                //  overflow: hidden;\n                padding-right: 5px;\n                .ant-tree-treenode {\n                    width: 100%;\n                }\n                //  div.ant-tree-treenode:hover {\n                //   background-color: red;\n                // }\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "packages/web-pdm-core/src/components/model-toolbar/index.tsx",
    "content": "// import { Tooltip } from 'antd'\n\nimport classNames from 'classnames'\nimport React, { isValidElement, useState, useCallback } from 'react'\nimport { observer } from 'mobx-react'\nimport { changeTwoDecimal_f, CreateComponent } from '../../util'\nimport { useMst } from '../../context'\nimport { SketchPicker } from 'react-color'\nimport { throttle } from 'lodash'\n\n// import StateStack from '../../state-stack'\n// import { undoManager } from '../../context'\n//<SnippetsOutlined />\n//<Snip/** @type {*} */\n\n// type TIconRenders = typeof IconRenders\n// export type TIconRendersKeys = keyof TIconRenders\n\nexport default observer(({ graph }: { graph: any }) => {\n    const mst = useMst()\n    const intl = mst.intl\n    const undoManager = mst.undoManager\n    const { Tooltip, Popover } = mst.Ui as any\n    const _IconRenders: any = { ...mst.Ui.IconRenders }\n\n    const [colorPabel, setColorPabel] = useState(false)\n    const setColor = useCallback(\n        throttle(color => {\n            mst.Ui.setThemeColor(color.hex)\n            //  setColorPabel(false)\n        }, 200),\n        [colorPabel]\n    )\n\n    const zoomNum =\n        (graph &&\n            changeTwoDecimal_f(parseFloat(mst.graph?.zoom * 100 + '') + '')) ||\n        0\n\n    if (!graph)\n        return (\n            <div className='console-erd-toolbar'>\n                {intl('正在初始化中')}....\n            </div>\n        )\n\n    return (\n        <div className='console-erd-toolbar'>\n            <div className='right'>\n                <ButtonActon\n                    IconRenders={_IconRenders}\n                    key={1}\n                    Tooltip={Tooltip}\n                    title={intl('撤销')}\n                    color={\n                        mst.Ui.darkness && undoManager.canUndo\n                            ? mst.Ui.themeColor\n                            : undefined\n                    }\n                    disable={!undoManager.canUndo}\n                    icon=\"undo\"\n                    onClick={mst.undo.bind(mst)}\n                />\n                <ButtonActon\n                    IconRenders={_IconRenders}\n                    key={2}\n                    Tooltip={Tooltip}\n                    title={intl('重做')}\n                    color={\n                        mst.Ui.darkness && undoManager.canRedo\n                            ? mst.Ui.themeColor\n                            : undefined\n                    }\n                    disable={!undoManager.canRedo}\n                    icon=\"redo\"\n                    onClick={mst.redo.bind(mst)}\n                />\n                <ButtonActon\n                    IconRenders={_IconRenders}\n                    key={3}\n                    Tooltip={Tooltip}\n                    title={intl('放大')}\n                    color={mst.Ui.darkness ? mst.Ui.themeColor : undefined}\n                    disable={zoomNum >= 100}\n                    icon='max'\n                    onClick={mst.graph.maxZoom.bind(mst.graph, graph)}\n                />\n                <span className='zoomNum noselect'>\n                    {graph && `${zoomNum >= 100 ? 100 : zoomNum}%`}\n                </span>\n                <ButtonActon\n                    IconRenders={_IconRenders}\n                    key={4}\n                    Tooltip={Tooltip}\n                    title={intl('缩小')}\n                    color={mst.Ui.darkness ? mst.Ui.themeColor : undefined}\n                    disable={zoomNum < 5}\n                    icon='min'\n                    onClick={mst.graph.minZoom.bind(mst.graph, graph)}\n                />\n                <ButtonActon\n                    IconRenders={_IconRenders}\n                    key={5}\n                    Tooltip={Tooltip}\n                    title={intl('全景')}\n                    color={mst.Ui.darkness ? mst.Ui.themeColor : undefined}\n                    icon='full'\n                    onClick={mst.graph.container.bind(mst.graph, graph)}\n                />\n                <ButtonActon\n                    IconRenders={_IconRenders}\n                    key={6}\n                    Tooltip={Tooltip}\n                    title={intl(\n                        !mst.sys.disableMiniMap ? '显示小地图' : '屏蔽小地图'\n                    )}\n                    color={mst.Ui.darkness ? mst.Ui.themeColor : undefined}\n                    icon={mst.sys.disableMiniMap ? 'miniMap' : 'miniMapNo'}\n                    onClick={mst.sys.setDisableMiniMap.bind(\n                        mst.sys,\n                        !mst.sys.disableMiniMap\n                    )}\n                />\n                <ButtonActon\n                    IconRenders={_IconRenders}\n                    key={7}\n                    Tooltip={Tooltip}\n                    title={intl('刷新数据')}\n                    color={mst.Ui.darkness ? mst.Ui.themeColor : undefined}\n                    icon='reload'\n                    onClick={mst.reload.bind(mst)}\n                />\n                <ButtonActon\n                    IconRenders={_IconRenders}\n                    key={8}\n                    Tooltip={Tooltip}\n                    title={intl('下载图片')}\n                    color={mst.Ui.darkness ? mst.Ui.themeColor : undefined}\n                    icon='image'\n                    onClick={mst.graph.downAsImage.bind(mst.graph, graph)}\n                />\n                <ButtonActon\n                    IconRenders={_IconRenders}\n                    key={9}\n                    Tooltip={Tooltip}\n                    title={\n                        mst.sys.dagreLayout\n                            ? intl('切换层次布局')\n                            : intl('切换关联布局')\n                    }\n                    icon={\n                        !mst.sys.dagreLayout ? (\n                            'dagreLayout'\n                        ) : (\n                                'relationLayout'\n                            )\n                    }\n                    color={mst.Ui.darkness ? mst.Ui.themeColor : undefined}\n                    onClick={mst.sys.setDagreLayout.bind(\n                        mst.sys,\n                        !mst.sys.dagreLayout\n                    )}\n                />\n                <ButtonActon\n                    IconRenders={_IconRenders}\n                    key={10}\n                    Tooltip={Tooltip}\n                    title={intl('切换底色')}\n                    icon={\n                        mst.Ui.darkness ? (\n                            'darkness'\n                        ) : (\n                                'light'\n                            )\n                    }\n                    color={mst.Ui.darkness ? mst.Ui.themeColor : undefined}\n                    onClick={mst.Ui.setDarkness.bind(mst.Ui, !mst.Ui.darkness)}\n                />\n                {/* <ButtonActon Tooltip={Tooltip} title='切换' icon='image' onClick={mst.Ui.toggle.bind(mst.Ui, components)}  /> */}\n                <Popover\n                    placement='rightTop'\n                    arrowPointAtCenter\n                    footer={null}\n                    content={\n                        <SketchPicker\n                            color={mst.Ui.themeColor}\n                            onChange={setColor}\n                        />\n                    }\n                    visible={colorPabel}\n                >\n                    <ButtonActon\n                        IconRenders={_IconRenders}\n                        Tooltip={Tooltip}\n                        title={`${intl('点击')}${colorPabel ? intl('关闭') : intl('打开')\n                            } ${intl('颜色面板')}`}\n                        color={mst.Ui.themeColor}\n                        icon={\n                            colorPabel ? (\n                                'colorClose'\n                            ) : (\n                                    'colorOpen'\n                                )\n                        }\n                        onClick={setColorPabel.bind(null, !colorPabel)}\n                    />\n                </Popover>\n            </div>\n        </div>\n    )\n})\n\ntype IButtonActon = {\n    title: string\n    icon: string | React.ReactNode\n    onClick?: () => void\n    disable?: boolean\n    Tooltip: any\n    color?: string\n    IconRenders: Record<string, React.ReactNode>\n}\n\nconst ButtonActon = CreateComponent<IButtonActon>({\n    render: props => {\n        const mst = useMst()\n        // const disableIcons = mst.Ui.disableIcons.reduce((pre, cur) => ({ ...pre, [cur]: true }), {})\n\n        const { Tooltip } = props\n        if (mst.Ui.disableIcons.indexOf(props.icon as any) >= 0) return null\n        const IconRender = isValidElement(props.icon)\n            ? props.icon\n            : props.IconRenders[props.icon as string]\n        return (\n            <Tooltip title={props.title}>\n                <span\n                    style={{ color: props.color }}\n                    className={classNames({\n                        enable: !props.disable,\n                        'command-btn': true\n                    })}\n                    onClick={!props.disable ? props.onClick : undefined}\n                >\n                    {IconRender}\n                </span>\n            </Tooltip>\n        )\n    }\n})\n"
  },
  {
    "path": "packages/web-pdm-core/src/context.tsx",
    "content": "import { createContext, useContext } from 'react'\nimport { undoMiddleware } from 'mobx-keystone'\nimport { RootInstance, createStore } from './type'\n\nconst RootStoreContext = createContext<null | RootInstance>(null)\nexport const Provider = RootStoreContext.Provider\nexport function useMst() {\n    const store = useContext(RootStoreContext)\n    if (store === null) {\n        throw new Error('Store cannot be null, please add a context provider')\n    }\n    return store\n}\n\n// export const rootStore = createStore()\n// export const undoManager = undoMiddleware(rootStore)\nexport const createRootStore = props => {\n    const onIgnoreEdge: any = props?.sys?.onIgnoreEdge\n    const newProps = {\n        ...props,\n        sys: {\n            ...props.sys,\n            onIgnoreEdge: undefined,\n            onModelDetail: props.onModelDetail\n        }\n    }\n    const rootStore = createStore(newProps)\n    rootStore.setOnReload(props.onReload)\n    rootStore.onIntl = props.onIntl\n    rootStore.sys.setOnModelDetail(props?.sys?.onModelDetail)\n    //alert('createRootStore')\n    if (onIgnoreEdge) rootStore.sys.onIgnoreEdge = onIgnoreEdge\n    rootStore.setUndoManager(undoMiddleware(rootStore))\n    return rootStore\n}\n"
  },
  {
    "path": "packages/web-pdm-core/src/graph/data.tsx",
    "content": "// import mst from '@antv/g6/lib/algorithm/mst'\nimport { getSnapshot } from 'mobx-keystone'\nimport { RootInstance } from '../type'\n// import { mapToArrary } from '../util'\nimport { initStyle } from './item/style'\n\nconst getLength = (length: number) => {\n    return length >= 20 ? length : 20\n}\n\nexport const createData = (root: RootInstance) => {\n    //alert('createData')\n    const t0 = +new Date()\n    const { style, colors } = initStyle({ primaryColor: root.Ui.themeColor })\n    const res = [...root.Models.values()]\n        .filter(\n            a =>\n                !root.sys.dagreLayout ||\n                (root.sys.dagreLayout && a.aggregateModelKey)\n        )\n        .map(m => {\n            return {\n                id: 'model-' + m.id,\n                type: 'console-model-Node',\n                isKeySharp: root.graph.zoom <= 0.4,\n                visible: !!root.sys.checkedKeys.find(a => a === m.id),\n                selected: m.id === root.sys.currentModel,\n                showNameOrLabel: root.sys.showNameOrLabel,\n                config: {\n                    width: 300,\n                    headerHeight: 48,\n                    fieldHeight: 32,\n                    labelSize: 14,\n                    styleConfig: style,\n                    colors\n                },\n                data: {\n                    moduleKey: m.moduleId,\n                    label: m.label,\n                    fields: m.fields.map(a => ({\n                        // ...getSnapshot(a) ,\n                        // relationModel: getSnapshot(a.relationModel)\n                        ...a,\n                        relationModel: a.relationModel\n                    })),\n                    key: m.id,\n                    name: m.name,\n                    tag: 'aggregate',\n                    aggregateRoot: m.aggregateRoot,\n                    aggregateModelKey: m.aggregateModelKey,\n                    belongAggregate: m.belongAggregate,\n                    nodeSize:\n                        (((48 + getLength(m.fields.length) * 48) / 6) * 6) / 6\n                },\n                themeColor: colors.blue,\n                darkness: root.Ui.darkness,\n                size: ((48 + getLength(m.fields.length) * 48) / 6) * 6\n            }\n        })\n        .filter(a => a.visible)\n    //const t1 = +new Date()\n    // console.log(res)\n    //alert(res.length +  '   ' + (t1 - t0))\n    if (res.length > 0) return res.concat([createSysNode() as any])\n\n    return res\n}\n\nconst createSysNode = () => {\n    return {\n        id: 'model-SYS-CENTER-POINT',\n        type: 'circle',\n        isSys: true,\n        visible: true,\n        isKeySharp: true,\n        size: 10,\n        style: {\n            opacity: 0\n        }\n    }\n}\n\nconst Relation = {\n    ToOne: '1:1',\n    ToMany: '1:n',\n    lookup: '查找',\n    toOne: '1:1',\n    toMany: '1:n',\n    Lookup: '查找'\n}\n\nexport const createLinks = (root: RootInstance) => {\n    const { style } = initStyle({ primaryColor: root.Ui.themeColor })\n    const links = [...root.Models.values()].reduce((pre, model) => {\n        if (!root.sys.checkedKeys.find(a => a === model.id)) return pre\n\n        const sysLink = {\n            key: 'model-' + model.id + '~' + 'model-SYS-CENTER-POINT',\n            source: 'model-' + model.id,\n            // target: 'model-' + relationModel!.id,\n            // visible: false,\n            isSys: true,\n            // style: {\n            //   visible: false,\n            // },\n            target: 'model-SYS-CENTER-POINT',\n            type: 'console-line',\n            style: {\n                opacity: 0\n            }\n        }\n\n        const fieldLinks = model.fields.reduce((fPre, field, i) => {\n            const tempfPre = fPre\n            // const { id } = field\n            if (Array.isArray(field.typeMeta)) {\n                const arr = field.typeMeta.forEach((element: any) => {\n                    const isRelation =\n                        element.type === 'Relation' && element?.relationModel\n\n                    if (isRelation) {\n                        if (\n                            root.sys.onIgnoreEdge &&\n                            root.sys.onIgnoreEdge(field)\n                        )\n                            return fPre\n                        const relationModel = root.findModelByName(\n                            element!.relationModel\n                        )\n                        if (\n                            !relationModel ||\n                            !root.sys.checkedKeys.find(\n                                a => a === relationModel!.id\n                            )\n                        )\n                            return fPre\n\n                        const isTo = true\n                        const l = model.fields.length\n                        const sourceAnchor = !isTo ? i + 2 : 2 + i + l\n                        const targetTable = [...root.Models.values()].find(\n                            pre => pre.id === relationModel!.id\n                        )\n                        let targetTableFieldIndex =\n                            targetTable?.fields.findIndex(\n                                item => item.name === element.field\n                            ) + 2\n                        const relationEdge = {\n                            key:\n                                'model-' +\n                                model.id +\n                                '~' +\n                                'model-' +\n                                relationModel!.id,\n                            source: 'model-' + model.id,\n                            target: 'model-' + relationModel!.id,\n                            sourceAnchor,\n                            targetAnchor: targetTableFieldIndex,\n                            fieldIndex: i,\n                            tooltip: `<div>从 <span class='text'>${relationModel?.label\n                                }</span> 到 <span class='text'>${model?.label}=> ${element.field\n                                }</span> ${Relation[field.type] ||\n                                field.type} 关系</div>`,\n                            fieldsLength: l,\n                            style: style.fieldRelation.edge,\n                            type: 'console-line',\n                            // label: field.type,\n                            labelAutoRotate: true,\n                            loopCfg: {\n                                // position: 'top',\n                                clockwise: true, // dist: 200,\n                                dist: 100\n                            }\n                        }\n                        tempfPre.push(relationEdge)\n                        return tempfPre\n                    } else return tempfPre\n                })\n            } else {\n                const isRelation =\n                    field.typeMeta &&\n                    field.typeMeta.type === 'Relation' &&\n                    field.typeMeta?.relationModel\n                if (isRelation) {\n                    if (root.sys.onIgnoreEdge && root.sys.onIgnoreEdge(field))\n                        return fPre\n                    //if(field?.typeMeta?.relationModel === 'base_User' && (confirmEnding(field.name, 'createdBy') || confirmEnding(field.name,'updatedBy')  ) ) return fPre\n                    const relationModel = root.findModelByName(\n                        field.typeMeta!.relationModel\n                    )\n                    if (\n                        !relationModel ||\n                        !root.sys.checkedKeys.find(a => a === relationModel!.id)\n                    )\n                        return fPre\n\n                    const isTo = true\n                    const l = model.fields.length\n                    const sourceAnchor = !isTo ? i + 2 : 2 + i + l\n\n                    return [\n                        ...fPre,\n                        {\n                            key:\n                                'model-' +\n                                model.id +\n                                '~' +\n                                'model-' +\n                                relationModel!.id,\n                            source: 'model-' + model.id,\n                            target: 'model-' + relationModel!.id,\n                            sourceAnchor,\n                            // // targetAnchor: sourceAnchor,\n                            targetAnchor:\n                                model.id === relationModel.id\n                                    ? sourceAnchor - 1\n                                    : undefined,\n                            fieldIndex: i,\n                            tooltip: `<div>从 <span class='text'>${relationModel?.label\n                                }</span> 到 <span class='text'>${model?.label\n                                }</span> ${Relation[field.type] ||\n                                field.type} 关系</div>`,\n                            fieldsLength: l,\n                            style: style.default.edge,\n                            type: 'console-line',\n                            label: Relation[field.type] || field.type,\n                            labelAutoRotate: true,\n                            loopCfg: {\n                                // position: 'top',\n                                clockwise: true, // dist: 200,\n                                dist: 100\n                            },\n                            labelCfg: {\n                                style: {\n                                    stroke: '#fff',\n                                    lineWidth: 30\n                                }\n\n                            },\n                        }\n                    ]\n                }\n            }\n            return fPre\n        }, [])\n        return [...pre, ...fieldLinks, sysLink]\n    }, [])\n    return links.filter(a => !!a)\n}\n\n// export const getNodes = (models, styleConfig) => {\n//     // const _key = stateConfig.model_keys.key\n//     const nodeRes = models\n//       .map((model, i) => {\n//         return {\n//           id: 'model-' + model.key,\n//           hide: checkedKeys.indexOf('model-' + model.key) === -1,\n//           // groupId: `module-${model.moduleKey}`,\n//           config: {\n//             width: 300,\n//             headerHeight: 48,\n//             fieldHeight: 32,\n//             labelSize: 14 ,\n//             hide: checkedKeys.indexOf('model-' + model.key) === -1,\n//             styleConfig,\n//           },\n//           data: {\n//             moduleKey: `module-${model.moduleKey}`,\n//             label: showLable(model),\n//             fields: fields(model, models),\n//             key: model.key,\n//             name: model.name || model.key,\n//             tag: 'aggregate',\n//             aggregateRoot:  model.aggregateRoot,\n//             aggregateModelKey: model.aggregateModelKey,\n//             belongAggregate: model.belongAggregate,\n//             nodeSize:  ((48 +  getLength(model.fields.length) * 48) / 6) *\n//             6  / 6,\n//           },\n//           type: 'console-model-Node',\n//           isKeySharp: true,\n//           size:   ((48 +  getLength(model.fields.length) * 48) / 6) *\n//           6 ,\n//         }\n//       })\n\n//     return nodeRes.length > 0 ? nodeRes.concat([createSysNode()]) : nodeRes\n\n//     // })\n//   }\n"
  },
  {
    "path": "packages/web-pdm-core/src/graph/event.tsx",
    "content": "import { debounce, throttle } from 'lodash'\nimport { Graph } from '@antv/g6/dist/g6.min.js'\nimport { RootInstance } from '../type'\n\n// declare interface Graph {\n//   isLayouting : boolean\n// }\n\nexport default (graph: Graph, mst: RootInstance) => {\n    // alert(mst === window.kkk)\n    // alert(mst.graph.G6Graph)\n    const setZoom = debounce(zoom => {\n        mst.graph.setZoom(zoom)\n    }, 100)\n\n    graph.on(\n        'wheelzoom',\n        throttle(() => {\n            // console.log(graph.getZoom())\n            // alert()\n            // setZoom(graph.getZoom())\n            mst.graph.setZoom(graph.getZoom())\n\n            // whZoom()\n        }, 200)\n    )\n\n    graph.on(\n        'beforepaint',\n        throttle(() => {\n            // alert()\n            if (graph['isLayouting']) {\n                //  graph.getNodes().filter((a) => !a.isSys).forEach((node) => {\n                //   node.getContainer().hide()\n                //   // node.getEdges().forEach(a=>a.hide())\n                //  })\n                return\n            }\n            const isExporting = graph['isExporting']\n            const gWidth = graph.get('width')\n            const gHeight = graph.get('height')\n            // 获取视窗左上角对应画布的坐标点\n            const topLeft = graph.getPointByCanvas(0, 0) // 获取视窗右下角对应画布坐标点\n\n            const bottomRight = graph.getPointByCanvas(gWidth, gHeight)\n            graph\n                .getNodes()\n                .filter(a => !a['isSys'])\n                .forEach(node => {\n                    const model: any = node.getModel()\n                    if (model.isSys) return\n                    if (!model.visible) {\n                        // node.getContainer().hide()\n                        graph.hideItem(node)\n                        // return\n                    }\n                    if (isExporting) return\n\n                    const _data: any = model['data']\n                    const config: any = model['config']\n                    const h =\n                        (config.headerHeight +\n                            _data.fields.length * config.fieldHeight +\n                            4) /\n                        2\n                    const w = config.width / 2 // 如果节点不在视窗中，隐藏该节点，则不绘制\n                    // note:由于此应用中有minimap，直接隐藏节点会影响缩略图视图，直接隐藏节点具体内容\n\n                    if (\n                        !model.selected &&\n                        (model.x + w < topLeft.x - 200 ||\n                            model.x - w > bottomRight.x ||\n                            model.y + h < topLeft.y ||\n                            model.y - h > bottomRight.y)\n                    ) {\n                        node.getContainer().hide()\n                        node.getEdges().forEach(a => a.hide())\n                    } else {\n                        // 节点在视窗中，则展示\n                        node.getContainer().show()\n                        node.getEdges().forEach(a => a.show())\n                    }\n                })\n\n            const endLayout = graph['endLayout']\n            if (endLayout || 1) {\n                // alert('endLayout')\n\n                graph.getEdges().forEach((edge: any) => {\n                    let sourceNode = edge.get('sourceNode')\n                    let targetNode = edge.get('targetNode')\n                    const targetModel = targetNode.getModel()\n                    const edgeModel = edge.getModel()\n                    if (\n                        (targetModel.visible ||\n                            sourceNode.getModel().visible) &&\n                        graph.getZoom() >= 0.3\n                    ) {\n                        if (!edgeModel.self && !edgeModel.isSys) {\n                            const isTo =\n                                sourceNode.getModel().x <\n                                targetNode.getModel().x\n                            const i = edgeModel.fieldIndex\n                            const l = edgeModel.fieldsLength\n\n                            // const isTo = targetModel.x > sourceNode.getModel().x\n                            const sourceAnchor = !isTo ? i + 2 : 2 + i + l\n                            // if (targetModel.targetAnchor !== targetAnchor)\n                            //   // edge.set('targetAnchor', targetAnchor)\n                            graph.updateItem(edge, { sourceAnchor })\n                        }\n                    }\n\n                    if (\n                        !targetModel.visible ||\n                        !sourceNode.getModel().visible\n                    ) {\n                        edge.hide()\n                        // return\n                    }\n                    // if (isExporting) return\n\n                    if (\n                        !sourceNode.getContainer().get('visible') &&\n                        !targetNode.getContainer().get('visible')\n                    ) {\n                        edge.hide()\n                    } else {\n                        edge.show()\n                    }\n                })\n            }\n        }, 300)\n    ) // graph.on('node:dblclick', (ev) => {\n    // })\n\n    //return graph\n    //}\n\n    //------------------\n    // graph.on('canvas:dragend', () => {\n    //   const canvasElement = graph.get('canvas').get('el')\n    //   canvasElement.style.cursor = 'grab'\n\n    // })\n    //-----------\n\n    graph.on('canvas:dragstart', () => {\n        const canvasElement = graph.get('canvas').get('el')\n        canvasElement.style.cursor = 'grabbing'\n    })\n\n    // canvas:dragend\n    graph.on('canvas:dragend', () => {\n        const canvasElement = graph.get('canvas').get('el')\n        canvasElement.style.cursor = 'grab'\n    })\n\n    graph.on('node:click', ev => {\n        const { target } = ev\n\n        if (target.attr('click')) {\n            // props.toolBarCommand && props.toolBarCommand('click', {\n            //   node: ev.item.getModel().id,\n            //   arg: target.attr('arg'),\n            //   click: target.attr('click'),\n            // })\n            // alert(mst.graph === window.ggg)\n            // alert(mst.graph.G6Graph)\n            // mst.graph.setG6Graph('3333')\n            // alert(mst === window.kkk)\n            // alert(window.kkk.graph.G6Graph)\n            // mst.graph.setG6Graph(graph)\n\n            // alert(JSON.stringify({\n            //      node: ev.item.getModel().id,\n            //      arg: target.attr('arg'),\n            //      click: target.attr('click'),\n            // }))\n            const click = target.attr('click')\n            if (click === 'modelEdit') {\n                // const id :string = ev.item.getModel().id\n                // const modelId = id.replace('model-', '')\n                if (mst.sys.onModelDetail) {\n                    mst.sys.onModelDetail(ev.item.getModel().data)\n                }\n            }\n\n            if (click === 'arrangeShow') {\n                mst.arrangeShow(target.attr('arg'))\n            }\n\n            if (target.attr('arg')?.relationModel?.id) {\n                mst.sys.centerCurrentModel([\n                    target.attr('arg')?.relationModel?.id\n                ])\n            }\n        } else {\n            if (ev.item.getModel().id) {\n                const id: string = ev.item.getModel().id\n                const modelId = id.replace('model-', '')\n                //  ev.item.toFront()\n                mst.sys.setCurrentModel([modelId])\n                //  alert(id.replace('model-', ''))\n            }\n        }\n    })\n\n    graph.on('node:mouseout', ev => {\n        const { item } = ev\n        const autoPaint = graph.get('autoPaint')\n        graph.setAutoPaint(false)\n        item.getContainer()\n            .findAll(sharp => sharp.attr('fieldHover'))\n            .forEach(sharp => {\n                if (sharp.attr('fill-old')) {\n                    sharp.attr('fill', sharp.attr('fill-old'))\n                    sharp.attr('fill-old', undefined)\n                }\n\n                if (sharp.attr('opacity-old')) {\n                    sharp.attr('opacity', sharp.attr('opacity-old'))\n                    sharp.attr('opacity-old', undefined)\n                }\n            })\n        graph.paint()\n        graph.setAutoPaint(autoPaint)\n    })\n\n    graph.on('node:mousemove', ev => {\n        const { target, item } = ev // alert(target.attr('text'))\n\n        const autoPaint = graph.get('autoPaint')\n        graph.get('canvas').set('localRefresh', false)\n        graph.setAutoPaint(false) // if (target.attr('fieldBg')) {\n        //   item.setState('fieldHover-' + target.attr('fieldName'), true)\n        // }\n\n        const fieldName = target.attr('fieldName')\n        item.getContainer()\n            .findAll(sharp => sharp.attr('fieldHover'))\n            .forEach(sharp => {\n                if (sharp.attr('fill-old')) {\n                    sharp.attr('fill', sharp.attr('fill-old'))\n                    sharp.attr('fill-old', undefined)\n                }\n\n                if (sharp.attr('fieldHoverShow')) {\n                    sharp.attr('opacity', 0) // sharp.attr('opacity-old', undefined)\n                }\n\n                if (sharp.attr('fieldName') === fieldName) {\n                    sharp.attr('fill-old', sharp.attr('fill'))\n                    sharp.attr(\n                        'fill',\n                        sharp.attr('fieldBg') ? 'rgb(204,204,204)' : 'white'\n                    )\n\n                    if (sharp.attr('fieldHoverShow')) {\n                        sharp.attr('opacity-old', sharp.attr('opacity')) // alert(sharp.attr('opacity'))\n\n                        sharp.attr('opacity', 1)\n                    }\n                }\n            }) // item.refresh()\n\n        graph.paint()\n        graph.setAutoPaint(autoPaint)\n    })\n\n    graph.on('node:dragend', ev => {\n        // const shape = ev.target\n        const node = ev.item\n        const edges = node.getEdges()\n        // const edges = graph.getEdges()\n        edges.forEach((edge: any) => {\n            let sourceNode = edge.get('sourceNode')\n            let targetNode = edge.get('targetNode')\n            const targetModel = targetNode.getModel()\n            const edgeModel = edge.getModel()\n            if (\n                (targetModel.visible || sourceNode.getModel().visible) &&\n                graph.getZoom() >= 0.3\n            ) {\n                if (!edgeModel.self && !edgeModel.isSys) {\n                    const isTo =\n                        sourceNode.getModel().x < targetNode.getModel().x\n                    const i = edgeModel.fieldIndex\n                    const l = edgeModel.fieldsLength\n\n                    // const isTo = targetModel.x > sourceNode.getModel().x\n                    const sourceAnchor = !isTo ? i + 2 : 2 + i + l\n                    // if (targetModel.targetAnchor !== targetAnchor)\n                    //   // edge.set('targetAnchor', targetAnchor)\n                    graph.updateItem(edge, { sourceAnchor })\n                }\n            }\n\n            if (!targetModel.visible || !sourceNode.getModel().visible) {\n                edge.hide()\n                // return\n            }\n            // if (isExporting) return\n\n            if (\n                !sourceNode.getContainer().get('visible') &&\n                !targetNode.getContainer().get('visible')\n            ) {\n                edge.hide()\n            } else {\n                edge.show()\n            }\n        })\n    })\n}\n"
  },
  {
    "path": "packages/web-pdm-core/src/graph/hooks.tsx",
    "content": "import { useEffect } from 'react'\nimport { Graph } from '@antv/g6/dist/g6.min.js'\nimport { isEqual } from 'lodash'\n\nexport type IUseUpdateItem = {\n    currentModel: string\n    graph: Graph\n    showNameOrLabel: boolean\n    zoom: number\n    checkNum: number\n    themeColor: string\n    darkness: boolean\n}\n\nexport const useUpdateItem = ({\n    currentModel,\n    graph,\n    showNameOrLabel,\n    zoom,\n    themeColor,\n    darkness\n}: IUseUpdateItem) => {\n    // const firstRef = useRef(true)\n    useEffect(() => {\n        const modelId = 'model-' + currentModel\n        // if(graph)  {\n        //     if(firstRef.current){\n        //       firstRef.current = false\n        //       return\n        //     }\n        //  }\n        // isCardSharp      //  alert(zoom)\n        // if (graph && !firstRef.current) {\n        if (graph) {\n            const gnodes = graph.getNodes()\n            if (!gnodes.length) return\n            // alert(nodes.length)\n            // const zoomNum = graph.getZoom()\n            // alert(zoomNum)\n            // alert(JSON.stringify(nodes))\n            const t0 = +new Date()\n            const isKeySharp = zoom <= 0.4\n            const isCardSharp = zoom <= 0.1\n            gnodes.forEach((node: any) => {\n                if (!node.isSys) {\n                    const nodeModel = node.getModel()\n                    const nodeId = nodeModel.id\n                    const data = nodeModel ? nodeModel.data : undefined\n                    const isNoModule =\n                        (modelId || '').indexOf('module-') >= 0 &&\n                        (data && data.moduleKey) !== modelId\n\n                    // const isKeySharp = false\n                    // const isCardSharp = false\n                    // alert(isKeySharp)\n                    const currStates = {\n                        selected: nodeModel.selected,\n                        noSelected: nodeModel.noSelected,\n                        isNoModule: nodeModel.isNoModule,\n                        isKeySharp: nodeModel.isKeySharp,\n                        isCardSharp: nodeModel.isCardSharp,\n                        showNameOrLabel: nodeModel.showNameOrLabel,\n                        themeColor: nodeModel.themeColor,\n                        darkness: nodeModel.darkness\n                    }\n                    const nextStates = {\n                        selected: nodeId === modelId,\n                        noSelected: nodeId !== modelId,\n                        isNoModule,\n                        isKeySharp,\n                        isCardSharp,\n                        showNameOrLabel,\n                        themeColor,\n                        darkness\n                    }\n                    //const ggg = JSON.stringify(cur) !== JSON.stringify(f)\n                    const change = !isEqual(currStates, nextStates)\n\n                    if (change) {\n                        //if(!eq(cur, f))\n                        graph.updateItem(node, nextStates)\n                        //  console.log(ggg)\n                    }\n                }\n            })\n            const t1 = +new Date()\n            //  alert(t1 - t0)\n\n            //  const edges = graph.getEdges()\n            //  if(edges.length && currentModel){\n            //     edges.forEach(edge => {\n            //       if (edge.isSys) return\n            //       graph.setItemState(edge, 'active', true )\n            //       // edge.attr('stroke','red')\n            //     })\n            //  }\n\n            // graph.paint()\n        }\n    }, [\n        currentModel,\n        showNameOrLabel,\n        zoom >= 0.4,\n        zoom >= 0.1,\n        zoom !== 0,\n        themeColor,\n        darkness\n    ])\n}\n"
  },
  {
    "path": "packages/web-pdm-core/src/graph/index.tsx",
    "content": "import React, { useEffect, useRef, useCallback } from 'react'\r\nimport G6, { Graph } from '@antv/g6/dist/g6.min.js'\r\nimport { withoutUndo } from 'mobx-keystone'\r\nimport { useSize } from 'ahooks'\r\nimport { useMst } from '../context'\r\nimport register from './item'\r\nimport { observer } from 'mobx-react'\r\nimport ToolBar from '../components/model-toolbar'\r\nimport './model.scss'\r\nimport GraphEvent from './event'\r\nimport { initStyle } from './item/style'\r\nimport { useUpdateItem } from './hooks'\r\nimport { RootInstance } from '../type'\r\n// import { debounce } from 'lodash'\r\n// import mst from 'test/mst'\r\n\r\nexport default observer(() => {\r\n    // const mst = useMst()\r\n    const { setRef, erdGraph, containerRef } = useLocal()\r\n    // const size = useSize(containerRef);\r\n\r\n    return (\r\n        <>\r\n            {/* <div>{mst.sys.checkedKeys.length}</div> */}\r\n            {/* {JSON.stringify(size)} */}\r\n            <ToolBar graph={erdGraph} />\r\n            <div ref={setRef} className='graph' />\r\n        </>\r\n    )\r\n})\r\n\r\nconst useLocal = () => {\r\n    const mst = useMst()\r\n    // window.kkk = mst\r\n\r\n    const containerRef = useRef(null)\r\n    const erdGraphRef = useRef<Graph>(null)\r\n    const miniMapRef = useRef<any>(null)\r\n    useEffect(() => {\r\n        register(mst)\r\n    }, [])\r\n    const checkRef = useRef(+new Date())\r\n    const size = useSize(containerRef) || {};\r\n    useEffect(() => {\r\n        // alert()\r\n        // const { Nodes , edges } = mst\r\n        if (!erdGraphRef.current) {\r\n            //  alert(mst.Nodes.length)\r\n            // alert(mst === window.kkk)\r\n            //alert('erdGraphRef.current = render')\r\n            const Obj = render(containerRef.current, mst.Nodes, mst.edges, mst)\r\n            erdGraphRef.current = Obj.graph\r\n            miniMapRef.current = Obj.miniMap\r\n            //alert('erdGraphRef.current')\r\n            //  alert(mst.graph.$modelId)\r\n            async(() => {\r\n                mst.graph.setG6Graph(erdGraphRef.current)\r\n                // layout(erdGraphRef.current,  Nodes , edges, mst)\r\n            })\r\n\r\n            //  window.kkk1 = mst\r\n        } else {\r\n            //alert('  layout(erdGraphRef.current,  mst.Nodes ' + mst.Nodes.length)\r\n            layout(erdGraphRef.current, mst.Nodes, mst.edges, mst)\r\n            // erdGraphRef.current.fitView(0)\r\n        }\r\n    }, [JSON.stringify(mst.sys.checkedKeys), mst])\r\n\r\n    useEffect(() => {\r\n        if (erdGraphRef.current && size.width && size.height) {\r\n            // alert(erdGraphRef.current['isLayouting'])\r\n            if (!erdGraphRef.current['isLayouting']) {\r\n                const documentHeight =\r\n                    window.innerHeight ||\r\n                    document.documentElement.clientHeight ||\r\n                    document.body.clientHeight\r\n                const height =\r\n                    mst.sys.height === '100%'\r\n                        ? documentHeight - 45\r\n                        : (mst.sys.height as number) - 45\r\n                erdGraphRef.current.changeSize(size.width, height)\r\n                erdGraphRef.current.fitView(0)\r\n\r\n            }\r\n\r\n        }\r\n\r\n    }, [size.height, size.width])\r\n    const setRef = useCallback(\r\n        ref => {\r\n            containerRef.current = ref\r\n        },\r\n        [containerRef]\r\n    )\r\n    useEffect(() => {\r\n        // debounce(()=> {\r\n        const graph = erdGraphRef.current\r\n        if (graph) {\r\n            const gwidth = graph.get('width')\r\n            const gheight = graph.get('height')\r\n            const point = graph.getCanvasByPoint(gwidth / 2, gheight / 2)\r\n\r\n            graph.zoomTo(mst.graph.zoom, point)\r\n        }\r\n        // }\r\n        //  }, 100)()\r\n    }, [mst.graph.zoom])\r\n    const reloadRef = useRef(false)\r\n    useEffect(() => {\r\n        // debounce(()=> {\r\n        const graph = erdGraphRef.current\r\n        if (graph) {\r\n            if (!reloadRef.current) {\r\n                reloadRef.current = true\r\n                return\r\n            }\r\n            // alert()\r\n            // graph.clear()\r\n            // graph.data({ nodes: mst.Nodes, edges: mst.edges })\r\n            // graph.render()\r\n            const isLargar = graph.getNodes().length > 50\r\n            graph.updateLayout({\r\n                type: mst.sys.dagreLayout ? 'dagre' : 'fruchterman',\r\n                // condense: true,\r\n                // cols: 3,\r\n                workerEnabled: true,\r\n                linkDistance: 0,\r\n                pixelRatio: 2,\r\n                // alphaDecay: isLargar ? 0.3 : 0.15,\r\n                // preventOverlap: true,\r\n                // clustering: true,\r\n                clusterGravity: 100,\r\n                speed: 2,\r\n                gravity: 100,\r\n                gpuEnabled: true,\r\n                // collideStrength: 0.5,\r\n                //   type: 'dagre',\r\n                //   // controlPoints: true,\r\n                //   // nodeSize: [40, 20],\r\n                // nodesep: 1,\r\n                // ranksep: 1,\r\n                // align: 'DL',\r\n                // nodesep: 100, // 节点水平间距(px)\r\n                // ranksep: 200, // 每一层节点之间间距\r\n\r\n                // nodeSpacing: isLargar ? -100 : -180,\r\n                onLayoutEnd: () => {\r\n                    async(() => {\r\n                        // alert()\r\n                        graph['isLayouting'] = false\r\n                        // graph['isLayouting'] = false\r\n                        // alert('endlayout')\r\n                        graph.fitView(0)\r\n\r\n                        withoutUndo(() => {\r\n                            mst.graph.setZoom(graph.getZoom())\r\n                        })\r\n\r\n                        // alert('onLayoutEnd')\r\n                    }, 1000)\r\n                }\r\n            })\r\n            if (mst.sys.dagreLayout) {\r\n                async(() => {\r\n                    // alert()\r\n                    graph.fitView(0)\r\n                }, 1000)\r\n            }\r\n        }\r\n    }, [mst.sys.dagreLayout])\r\n\r\n    //  alert('useUpdateItem' + mst.graph.zoom)\r\n    useUpdateItem({\r\n        currentModel: mst.sys.currentModel,\r\n        graph: erdGraphRef.current as any,\r\n        showNameOrLabel: mst.sys.showNameOrLabel,\r\n        zoom: mst.graph.zoom,\r\n        checkNum: checkRef.current,\r\n        themeColor: mst.Ui.themeColor,\r\n        darkness: mst.Ui.darkness\r\n    })\r\n\r\n    useEffect(() => {\r\n        if (erdGraphRef.current && miniMapRef.current) {\r\n            // alert()\r\n            if (!mst.sys.disableMiniMap) {\r\n                erdGraphRef.current?.removePlugin(miniMapRef.current)\r\n            } else {\r\n                const miniMap = new G6.Minimap({\r\n                    type: 'delegate',\r\n                    viewportClassName: 'g6-minimap-viewport-erd',\r\n                    delegateStyle: {\r\n                        fill: 'rgba(0,0,0,0.10)'\r\n                    }\r\n                })\r\n                miniMapRef.current = miniMap\r\n                erdGraphRef.current?.addPlugin(miniMap)\r\n            }\r\n        }\r\n    }, [mst.sys.disableMiniMap])\r\n\r\n    return {\r\n        containerRef,\r\n        setRef,\r\n        erdGraph: erdGraphRef.current\r\n    }\r\n}\r\n\r\n// const MINZOOM = 0.01\r\n// const toolbar = new G6.ToolBar();\r\n// const edgeBundling = new G6.Bundling({\r\n//   bundleThreshold: 0.6,\r\n//   K: 100,\r\n// });\r\nconst render = (container: any, nodes: any, edges: any, mst: RootInstance) => {\r\n    const documentHeight =\r\n        window.innerHeight ||\r\n        document.documentElement.clientHeight ||\r\n        document.body.clientHeight\r\n    const height =\r\n        mst.sys.height === '100%'\r\n            ? documentHeight - 45\r\n            : (mst.sys.height as number) - 45\r\n    // const height = mst.sys.height\r\n    // alert(height)\r\n    // alert(height)\r\n    const styleConfig = initStyle({ primaryColor: mst.Ui.themeColor }).style\r\n    const isLargar = nodes.length > 50\r\n    // alert(isLargar)\r\n    const miniMap = new G6.Minimap({\r\n        type: 'delegate',\r\n        viewportClassName: 'g6-minimap-viewport-erd',\r\n        delegateStyle: {\r\n            fill: 'rgba(0,0,0,0.10)'\r\n        }\r\n    })\r\n    const graph = new G6.Graph({\r\n        height,\r\n        width: container.offsetWidth - 20,\r\n        container,\r\n        fitView: true,\r\n        // workerEnabled: true,\r\n        fitCenter: true,\r\n        enabledStack: true,\r\n        animate: true,\r\n        gpuEnabled: true,\r\n        pixelRatio: 2,\r\n        // pixelRatio: 1,\r\n        // animate: true,\r\n        defaultEdge: styleConfig.default.edge,\r\n        edgeStateStyles: {\r\n            default: styleConfig.default.edge,\r\n            active: {\r\n                opacity: 1,\r\n                size: 3\r\n            }\r\n        },\r\n\r\n        minZoom: 0.01,\r\n        maxZoom: 1.1,\r\n        layout: {\r\n            type: mst.sys.dagreLayout ? 'dagre' : 'force',\r\n            condense: true,\r\n            cols: 3,\r\n            // gpuEnabled: true,\r\n            workerEnabled: true,\r\n            // workerScriptURL:'',\r\n            linkDistance: 0,\r\n            alphaDecay: isLargar ? 0.3 : undefined,\r\n\r\n            preventOverlap: true,\r\n            // collideStrength: 0.5,\r\n            nodeSpacing: isLargar ? -100 : -180,\r\n            onLayoutEnd: () => {\r\n                graph['isLayouting'] = false\r\n                graph['endLayout'] = true\r\n                graph.fitView(0)\r\n                graph['endLayout'] = false\r\n                withoutUndo(() => {\r\n                    mst.graph.setZoom(graph.getZoom())\r\n                })\r\n            }\r\n        },\r\n\r\n        modes: {\r\n            default: [\r\n                'drag-canvas',\r\n                {\r\n                    type: 'zoom-canvas',\r\n                    minZoom: 0.0001,\r\n                    // enableOptimize: true,\r\n                    // optimizeZoom: true,\r\n                    maxZoom: 2.1\r\n                    // enableOptimize: true,\r\n                },\r\n                {\r\n                    type: 'drag-node'\r\n                    // enableDelegate: true,\r\n                },\r\n                {\r\n                    type: 'edge-tooltip',\r\n                    formatText: model => {\r\n                        return model.tooltip as string\r\n                    },\r\n                    offset: 10\r\n                }\r\n                // {\r\n                //   type: 'activate-relations',\r\n                //   resetSelected: true,\r\n                //   trigger: 'click'\r\n                // },\r\n            ]\r\n        },\r\n        plugins: [\r\n            // toolbar,\r\n            // ...[mst.sys.disableMiniMap ? [] : [miniMap]]\r\n        ]\r\n    })\r\n    // alert(mst === window.kkk)\r\n    GraphEvent(graph, mst)\r\n    // miniMap.init\r\n    // const x = nodes[0].x\r\n    // edgeBundling.bundling({ nodes, edges });\r\n    graph.data({ nodes, edges })\r\n    graph['isLayouting'] = true\r\n    graph.render()\r\n    graph.fitView(0)\r\n    if (mst.sys.dagreLayout) {\r\n        async(() => {\r\n            // alert()\r\n            graph.fitView(0)\r\n            withoutUndo(() => {\r\n                mst.graph.setZoom(graph.getZoom())\r\n            })\r\n        })\r\n    }\r\n    // layout(graph, nodes)\r\n    return { graph, miniMap }\r\n}\r\n\r\nconst layout = (graph: Graph, nodes: any, edges, mst: RootInstance) => {\r\n    // graph.clear()\r\n    graph.changeData({ nodes, edges })\r\n\r\n    // graph.getNodes().filter((a) => !a.isSys).forEach((node: any) => {\r\n    //   // node.x = undefined\r\n    //   // node.y = undefined\r\n    //   const model = node.getModel()\r\n    //   if (!model.visible) {\r\n    //     // node.getContainer().hide()\r\n    //     graph.hideItem(node)\r\n    //     // return\r\n    //   }\r\n    // })\r\n\r\n    // const _edges = graph.getEdges()\r\n    // _edges.forEach((edge: any) => {\r\n    //   let sourceNode = edge.get('sourceNode')\r\n    //   let targetNode = edge.get('targetNode')\r\n    //   const targetModel = targetNode.getModel()\r\n    //   if (!targetModel.visible || !sourceNode.getModel().visible) {\r\n    //     edge.hide()\r\n    //     // return\r\n    //   }\r\n    // })\r\n\r\n    // alert(graph.getNodes().length)\r\n    // const isLargar = graph.getNodes().length > 50\r\n    // // alert(isLargar)\r\n    // graph.isLayouting = true\r\n    // async(() => graph.updateLayout({\r\n\r\n    //   type: 'force',\r\n    //   condense: true,\r\n    //   // cols: 3,\r\n    //   workerEnabled: true,\r\n    //   linkDistance: 0,\r\n    //   alphaDecay: isLargar ? 0.1 : 0.3,\r\n    //   // preventOverlap: false,\r\n    //   // collideStrength: 0.5,\r\n    //   // nodeSpacing: -1000,\r\n    //   onLayoutEnd: () => {\r\n    //     graph.isLayouting = false\r\n    //     // graph.fitView(0)\r\n    //     alert()\r\n    //     // mst.graph.setZoom(graph.getZoom())\r\n    //   }\r\n\r\n    // }))\r\n\r\n    // graph.fitView(0)\r\n\r\n    return graph\r\n}\r\n\r\nconst async = (fun, time = 500) => {\r\n    setTimeout(fun, time)\r\n}\r\n"
  },
  {
    "path": "packages/web-pdm-core/src/graph/item/index.tsx",
    "content": "import { register } from './model-node'\nimport lineRegister from './line'\n\nexport default (mst) => {\n    register(mst)\n    lineRegister()\n}\n"
  },
  {
    "path": "packages/web-pdm-core/src/graph/item/line.tsx",
    "content": "import G6 from '@antv/g6/dist/g6.min.js'\nexport default () => {\n    G6.registerEdge(\n        'console-line',\n        {\n            labelAutoRotate: true,\n            label: 'cubic-vertical',\n        },\n        'line'\n    )\n\n    G6.registerEdge(\n        'console-arrange-line',\n        {\n            labelAutoRotate: true\n        },\n        'line'\n    )\n}\n"
  },
  {
    "path": "packages/web-pdm-core/src/graph/item/model-node.tsx",
    "content": "import G6 from '@antv/g6/dist/g6.min.js'\nimport GGroup from '@antv/g-canvas/lib/group'\nimport { IModelNodeShapeCfg, Relation } from './type'\n\nimport {\n    getBottomAnch,\n    getLeftAnch,\n    getTopAnch,\n    getRightAnch,\n    getLength,\n    getSplitStrings,\n    setNodeStateAttr\n} from './util'\n\nexport const register = mst => {\n    // const colors = {\n    //     blue : '#495D9E',\n    //     white: '#FFFFFF',\n    //     head: 'rgba(7,10,26,0.06)',\n    //     black: 'black',\n    // }\n    // const models = mst.onReload().models\n\n    G6.registerNode(\n        'console-model-Node',\n        {\n            getAnchorPoints(cfg: IModelNodeShapeCfg) {\n                const { config, data } = cfg\n                const { fields } = data\n                const h =\n                    config.headerHeight +\n                    getLength(fields.length) * config.fieldHeight\n                return [\n                    [0, config.headerHeight / 2 / h], // 左上方\n                    [1, config.headerHeight / 2 / h], // 右上方\n                    ...fields.map((_, index) => {\n                        const x = 0\n                        const l =\n                            config.headerHeight +\n                            config.fieldHeight * (index + 1) -\n                            config.fieldHeight / 2\n                        const y = l / h\n                        return [x, y]\n                    }),\n                    ...fields.map((_, index) => {\n                        const x = 1\n                        const l =\n                            config.headerHeight +\n                            config.fieldHeight * (index + 1) -\n                            config.fieldHeight / 2\n                        const y = l / h\n                        return [x, y]\n                    }),\n                    ...getTopAnch(50),\n                    ...getBottomAnch(50),\n                    ...getLeftAnch(100),\n                    ...getRightAnch(100)\n                ]\n            },\n\n            update(cfg: IModelNodeShapeCfg, item) {\n                const whiteBg = 'rgba(7,10,26,0.06)'\n                const {\n                    isKeySharp,\n                    active,\n                    selected,\n                    into,\n                    inactive,\n                    isCardSharp,\n                    out,\n                    isNoModule,\n                    showNameOrLabel,\n                    config,\n                    themeColor,\n                    darkness\n                } = cfg\n                const { colors } = config\n                const group = item.getContainer()\n                const children = group.get('children')\n                const bg = darkness ? themeColor : whiteBg\n                const font = darkness ? colors.white : themeColor\n                const mFront = darkness ? colors.white : themeColor\n                //const bgArrange = cfg.data.aggregateModelKey  && bg ? whiteBg : themeColor\n\n                children.forEach(s => {\n                    const id = s.attr('id')\n\n                    // this.allRender(cfg, s)\n\n                    // setNodeStateAttr('default', s, cfg)\n                    // isNoModule && setNodeStateAttr('isNoModule', s , cfg)\n                    // s.attr('opacity', isNoModule ? 0.3 : 1)\n\n                    switch (id) {\n                        case 'keySharp':\n                            //  s.attr('fill', cfg.isKeySharp ? '#191919' : 'white')\n                            //  fill: '#CCFFFF',\n                            //   stroke: 'red',\n                            //   opacity: 0.2,\n                            setNodeStateAttr('default', s, cfg)\n                            // isNoModule && setNodeStateAttr('isNoModule', s , cfg)\n\n                            inactive && setNodeStateAttr('inactive', s, cfg)\n                            active && setNodeStateAttr('active', s, cfg)\n\n                            into && setNodeStateAttr('into', s, cfg)\n                            out && setNodeStateAttr('out', s, cfg)\n                            // const pointWidth = 200\n                            if (isCardSharp) {\n                                setNodeStateAttr('cardSharp', s, cfg)\n                                // if (!s.attr('old_height')) {\n                                //   s.attr('old_height', s.attr('height'))\n                                // }\n                                // s.attr('height', pointWidth)\n                                // if (!s.attr('old_width')) {\n                                //   s.attr('old_width', s.attr('width'))\n                                // }\n                                // s.attr('width', pointWidth)\n\n                                if (!s.attr('old_fill')) {\n                                    s.attr('old_fill', s.attr('fill'))\n                                }\n\n                                // s.attr('fill', cfg.data.aggregateRoot ? colors.blue : colors.head)\n                            } else {\n                                // if (s.attr('old_height')) {\n                                //   s.attr('height', s.attr('old_height'))\n                                // }\n                                // if (s.attr('old_width')) {\n                                //   s.attr('width', s.attr('old_width'))\n                                // }\n\n                                if (s.attr('old_fill')) {\n                                    s.attr('fill', s.attr('old_fill'))\n                                }\n                            }\n\n                            if (\n                                cfg.data.aggregateModelKey ||\n                                cfg.data.aggregateRoot\n                            ) {\n                                // stroke: 'rgba(11,108,149)',\n                                // shadowColor: 'rgba(11,108,149)',\n                                s.attr('stroke', themeColor)\n                                s.attr('shadowColor', themeColor)\n                            }\n\n                            selected && setNodeStateAttr('selected', s, cfg)\n\n                            break\n\n                        case 'headerlabel1.1':\n                        case 'headerlabel1.2':\n                            //  s.attr('opacity', !cfg.isKeySharp && active ? 1 : 0)\n                            s.set(\n                                'visible',\n                                !cfg.isKeySharp && active && !cfg.isCardSharp\n                            )\n                            // s.attr('opacity', inactive && !into && !out && !active ? 0.2 : 1)\n                            break\n\n                        case 'headerlabel0':\n                        case 'headerlabel1':\n                            const fieldLable1 = s.attr('fieldLable')\n                            if (fieldLable1) {\n                                s.attr(\n                                    'text',\n                                    showNameOrLabel\n                                        ? fieldLable1\n                                        : s.attr('nameLable')\n                                )\n                            }\n                            s.set(\n                                'visible',\n                                !cfg.isKeySharp && !cfg.isCardSharp\n                            )\n                            s.attr(\n                                'fill',\n                                selected && !darkness\n                                    ? cfg.config.styleConfig.selected.node\n                                        .stroke\n                                    : font\n                            )\n\n                            // s.attr('opacity', 1)\n                            break\n                        case 'header':\n                            // s.attr('opacity', !cfg.isKeySharp ? 1 : 0)\n                            // s.attr('fill', selected ? cfg.config.styleConfig.selected.node.stroke : themeColor)\n                            // s.attr('fill', selected ? cfg.config.styleConfig.selected.node.stroke : 'rgba(7,10,26,0.06)')\n                            s.attr(\n                                'fill',\n                                selected && darkness\n                                    ? cfg.config.styleConfig.selected.node\n                                        .stroke\n                                    : bg\n                            )\n                            s.set(\n                                'visible',\n                                !cfg.isCardSharp && !cfg.isKeySharp\n                            )\n                            // s.attr('opacity', 1)\n                            break\n\n                        case 'headerlabel2':\n                        case 'headerlabel3':\n                            // s.attr('opacity', cfg.isKeySharp ? 1 : 0)\n                            // s.attr('opacity', inactive && !into && !out && !active ? 0.2 : 1)\n                            // s.set('visible', cfg.isKeySharp && !cfg.isCardSharp)\n\n                            const _showNameOrLabel = s.get('showNameOrLabel')\n                            s.attr('fill', themeColor)\n                            if (_showNameOrLabel && showNameOrLabel) {\n                                s.set('visible', cfg.isKeySharp && !isCardSharp)\n                            } else {\n                                if (!_showNameOrLabel && !showNameOrLabel)\n                                    s.set(\n                                        'visible',\n                                        cfg.isKeySharp && !isCardSharp\n                                    )\n                                else {\n                                    s.set('visible', false)\n                                }\n                            }\n\n                            break\n\n                        case 'field':\n                            // s.attr('opacity', !cfg.isKeySharp && !s.attr('fieldHoverShow') ? 0.9 : 0)\n\n                            const isInactive =\n                                inactive && !into && !out && !active ? 0.2 : 1\n                            const isO =\n                                !cfg.isKeySharp && !s.attr('fieldHoverShow')\n                                    ? isInactive\n                                    : 0\n                            // s.attr('opacity', isO)\n                            s.set('visible', !cfg.isKeySharp) //   Object.entries(cfg.config.styleConfig.active.node).forEach(([k, v]) => {\n                            //     s.attr(k, v)\n                            // })\n\n                            const fieldLable = s.attr('fieldLable')\n                            if (fieldLable) {\n                                s.attr(\n                                    'text',\n                                    showNameOrLabel\n                                        ? fieldLable\n                                        : s.attr('nameLable')\n                                )\n                            }\n                            if (!!s.get('themeColor')) {\n                                s.attr(\n                                    'fill',\n                                    selected\n                                        ? cfg.config.styleConfig.selected.node\n                                            .stroke\n                                        : themeColor\n                                )\n                            }\n\n                            break\n\n                        case 'field-text':\n                            // s.attr('opacity', inactive && !into && !out && !active ? 0.2 : 1)\n                            // s.attr('opacity', !cfg.isKeySharp ? 1 : 0)\n                            s.set('visible', !cfg.isKeySharp) // active && setNodeStateAttr('active', s , cfg)\n                        // selected && setNodeStateAttr('selected', s , cfg)\n                        case 'field-line':\n                            s.set('visible', !cfg.isKeySharp)\n                            break\n                        case 'themeColor':\n                            s.attr(\n                                'fill',\n                                selected\n                                    ? cfg.config.styleConfig.selected.node\n                                        .stroke\n                                    : themeColor\n                            )\n                            break\n\n                        default:\n                            break\n                    }\n                }) // this.render(cfg, group)\n\n                if (cfg.hide) {\n                    item.hide()\n                } else {\n                    item.show()\n                }\n            },\n\n            render(cfg: IModelNodeShapeCfg, group: GGroup) {\n                const {\n                    config,\n                    data,\n                    selected,\n                    showNameOrLabel,\n                    themeColor,\n                    darkness\n                } = cfg\n                const whiteBg = 'rgba(7,10,26,0.06)'\n                // const bg = data.aggregateRoot || 1 ? colors.blue : colors.head\n                // const font = data.aggregateRoot || 1 ? colors.white : colors.blue\n                // const mFront = data.aggregateRoot  || 1? colors.white : colors.black\n                const { colors } = config\n                const bg = darkness ? themeColor : whiteBg\n                //const bgArrange = cfg.data.aggregateModelKey  && bg ? whiteBg : themeColor\n                const font = darkness ? colors.white : themeColor\n                const mFront = darkness ? colors.white : themeColor\n                const nodeColors = { bg, font, mFront }\n\n                group.addShape('rect', {\n                    visible: !cfg.isKeySharp,\n                    name: data.key,\n                    draggable: true,\n                    attrs: {\n                        y:\n                            -(\n                                (getLength(data.fields.length) *\n                                    config.fieldHeight) /\n                                2\n                            ) -\n                            config.headerHeight / 2,\n                        x: -(config.width / 2),\n                        width: config.width,\n                        height: config.headerHeight,\n                        radius: [10, 10, 0, 0],\n                        // text: data.label,\n                        id: 'header',\n                        // fontSize: config.fieldHeight - 12,\n                        // opacity: !cfg.isKeySharp ? 1 : 0,\n                        className: 'header',\n                        shadowColor: 'rgba(0,0,0,0.06)',\n                        cursor: 'move',\n                        // shadowBlur: 1,\n                        // shadowOffsetX: 1,\n                        // shadowOffsetY: 2,\n                        // radius: [2, 4],\n                        fill: selected\n                            ? config.styleConfig.selected.node.stroke\n                            : bg\n                    }\n                })\n\n                group.addShape('text', {\n                    visible: !cfg.isKeySharp,\n                    name: data.key,\n                    fontFamily: '',\n                    draggable: true,\n                    attrs: {\n                        // fontFamily: 'iconFont',\n                        x: -(config.width / 2) + 20,\n                        y: -(\n                            (getLength(data.fields.length) *\n                                config.fieldHeight) /\n                            2\n                        ),\n                        text: showNameOrLabel ? data.name : data.label,\n                        fieldLable: data.name,\n                        nameLable: data.label,\n                        // text: '\\ue6b2',\n                        id: 'headerlabel1',\n                        cursor: 'move',\n                        fontSize: config.fieldHeight / 2,\n                        // opacity: !cfg.isKeySharp ? 1 : 0,\n                        className: 'headerlabel',\n                        textBaseline: 'middle',\n                        textAlign: 'left',\n                        fontWeight: 20,\n                        // radius: [2, 4],\n                        fill: nodeColors.mFront\n                    }\n                })\n\n                cfg.data.aggregateModelKey &&\n                    group.addShape('text', {\n                        visible: cfg.data.aggregateModelKey,\n                        name: data.key,\n                        fontFamily: '',\n                        draggable: true,\n                        attrs: {\n                            fontFamily: 'iconFont',\n                            x: config.width / 2 - 100,\n                            y: -(\n                                (getLength(data.fields.length) *\n                                    config.fieldHeight) /\n                                2\n                            ),\n                            text: '聚合关系',\n                            arg: cfg.data.aggregateModelKey,\n                            // text: cfg.data.aggregateModelKey,\n                            // text: '\\ue6b2',\n                            id: 'headerlabel1',\n                            cursor: 'pointer',\n                            click: 'arrangeShow',\n                            // cursor: 'move',\n                            fontSize: config.labelSize,\n                            // opacity: !cfg.isKeySharp ? 1 : 0,\n                            className: 'headerlabel',\n                            textBaseline: 'middle',\n                            textAlign: 'left',\n                            // radius: [2, 4],\n                            fill: nodeColors.font\n                        }\n                    })\n\n                group.addShape('text', {\n                    visible: !cfg.isKeySharp,\n                    name: data.key,\n                    fontFamily: '',\n                    draggable: true,\n                    attrs: {\n                        fontFamily: 'iconFont',\n                        x: config.width / 2 - 40,\n                        y: -(\n                            (getLength(data.fields.length) *\n                                config.fieldHeight) /\n                            2\n                        ),\n                        text: '查看',\n                        // text: '\\ue6b2',\n                        id: 'headerlabel1',\n                        cursor: 'pointer',\n                        click: 'modelEdit',\n                        // cursor: 'move',\n                        fontSize: config.labelSize,\n                        // opacity: !cfg.isKeySharp ? 1 : 0,\n                        className: 'headerlabel',\n                        textBaseline: 'middle',\n                        textAlign: 'left',\n                        // radius: [2, 4],\n                        fill: nodeColors.font\n                    }\n                })\n\n                // const nameList = ((data.name.replace(/\\(/, '-').replace(/\\)/, '')) || '').split('_').flatMap((nameStr) => nameStr.split('-')).flatMap((nameStr) => nameStr.split('/')).flatMap((a) => getSplitStrings(a)).filter((a) => a)\n\n                // const height = config.headerHeight + (data.fields.length >= 12 ? data.fields.length : 12) * config.fieldHeight\n                // const nameLength = nameList.length\n                // nameList.forEach((nameText, index) => {\n                //     group.addShape('text', {\n                //         visible: !cfg.isKeySharp,\n                //         name: nameText,\n                //         draggable: true,\n                //         attrs: {\n                //             x: 0,\n                //             y: - height / 2 + height / (nameLength + 1) * (index + 1),\n                //             fontSize: config.width / 5,\n                //             text: nameText,\n                //             // opacity: index === nameLength - 1 ? 1 : 0.3,\n                //             id: 'headerlabel2',\n                //             className: 'headerlabel',\n                //             textBaseline: 'middle',\n                //             textAlign: 'center',\n                //             // radius: [2, 4],\n                //             fill: 'black',\n                //         },\n                //     })\n                // })\n\n                const nameList = [data.label]\n                const height =\n                    config.headerHeight +\n                    (data.fields.length >= 12 ? data.fields.length : 12) *\n                    config.fieldHeight\n                const nameLength = nameList.length\n                nameList.forEach((nameText, index) => {\n                    group.addShape('text', {\n                        visible:\n                            cfg.isKeySharp &&\n                            !showNameOrLabel &&\n                            !cfg.isCardSharp,\n                        name: nameText,\n                        showNameOrLabel: false,\n                        draggable: true,\n                        attrs: {\n                            x: 0,\n                            y:\n                                -height / 2 +\n                                (height / (nameLength + 1)) * (index + 1),\n                            fontSize: config.width / 5,\n                            text: nameText,\n                            // opacity: index === nameLength - 1 ? 1 : 0.3,\n                            id: 'headerlabel2',\n                            className: 'headerlabel',\n                            textBaseline: 'middle',\n                            textAlign: 'center',\n                            // radius: [2, 4],\n                            fill: themeColor\n                        }\n                    })\n                })\n\n                // const nameList1 = ((data.key.replace(/\\(/, '-').replace(/\\)/, '')) || '').split('_').flatMap((nameStr) => nameStr.split('-')).flatMap((nameStr) => nameStr.split('/')).flatMap((a) => getSplitStrings(a)).filter((a) => a)\n                const nameList1 = [data.name]\n                const height1 =\n                    config.headerHeight +\n                    (data.fields.length >= 12 ? data.fields.length : 12) *\n                    config.fieldHeight\n                const nameLength1 = nameList.length\n                nameList1.forEach((nameText, index) => {\n                    group.addShape('text', {\n                        visible:\n                            cfg.isKeySharp &&\n                            showNameOrLabel &&\n                            !cfg.isCardSharp,\n                        showNameOrLabel: true,\n                        name: nameText,\n                        draggable: true,\n                        attrs: {\n                            x: 0,\n                            y:\n                                -height1 / 2 +\n                                (height1 / (nameLength1 + 1)) * (index + 1),\n                            fontSize: config.width / 5,\n                            text: nameText,\n                            // opacity: index === nameLength - 1 ? 1 : 0.3,\n                            id: 'headerlabel2',\n                            className: 'headerlabel',\n                            textBaseline: 'middle',\n                            textAlign: 'center',\n                            // radius: [2, 4],\n                            fill: themeColor\n                        }\n                    })\n                })\n\n                data.fields.forEach((field, index) => {\n                    // const {\n                    //     relationModel,\n                    //     // isForeign,\n                    // } = field\n\n                    const isForeign = field.typeMeta\n                    const relationModel = field?.typeMeta?.relationModel\n\n                    //字段是否存在关系\n                    // const hasRelation = models.some(item => {\n                    //     const arr = item.fields?.map(item => {\n                    //         const { typeMeta = [] } = item\n                    //         if (Array.isArray(typeMeta)) {\n                    //             const hasRelationTypeMeta = typeMeta.some(\n                    //                 item => field.name === item.field\n                    //             )\n                    //             return hasRelationTypeMeta\n                    //         }\n                    //     })\n                    //     return arr.includes(true)\n                    // })\n\n                    const y =\n                        -(\n                            (config.headerHeight +\n                                getLength(data.fields.length) *\n                                config.fieldHeight) /\n                            2\n                        ) +\n                        config.headerHeight +\n                        config.fieldHeight * index +\n                        config.fieldHeight / 2 -\n                        2\n                    group.addShape('rect', {\n                        visible: !cfg.isKeySharp,\n                        name: field.id,\n                        draggable: true,\n                        attrs: {\n                            x: -(config.width / 2) + 2,\n                            fieldName: field.id,\n                            name: field.id,\n                            draggable: true,\n                            fieldBg: true,\n                            arg: field.name,\n                            fieldHover: true,\n                            y:\n                                -(\n                                    (config.headerHeight +\n                                        getLength(data.fields.length) *\n                                        config.fieldHeight) /\n                                    2\n                                ) +\n                                config.headerHeight +\n                                config.fieldHeight * index,\n                            // stroke: 'black',\n                            width: config.width - 4,\n                            id: 'field',\n                            height: config.fieldHeight,\n                            fill: 'white',\n                            cursor: 'move'\n                        }\n                    })\n\n                    group.addShape('path', {\n                        visible: !cfg.isKeySharp,\n                        draggable: true,\n                        name: field.id,\n\n                        attrs: {\n                            draggable: true,\n                            fieldName: field.id,\n                            id: 'field-line',\n                            name: field.id,\n                            path: [\n                                ['M', -config.width / 2 + 20, y + 2],\n                                ['L', config.width / 2 - 40, y + 2]\n                            ],\n                            stroke: 'rgba(0,0,0,0.60)',\n                            lineWidth: 1,\n                            lineDash: [5, 5],\n                            opacity: 0.1\n                        }\n                    })\n\n                    const showCircle = isForeign\n                    //|| hasRelation\n\n                    showCircle &&\n                        group.addShape('circle', {\n                            visible: true,\n                            name: field.id,\n                            draggable: true,\n                            themeColor: true,\n                            attrs: {\n                                x: -(config.width / 2) + 10,\n                                fieldName: field.id,\n                                name: field.id,\n                                draggable: true,\n                                arg: field.name,\n                                fieldHover: true,\n                                y:\n                                    -(\n                                        (config.headerHeight +\n                                            getLength(data.fields.length) *\n                                            config.fieldHeight) /\n                                        2\n                                    ) +\n                                    config.headerHeight +\n                                    config.fieldHeight * index +\n                                    config.fieldHeight / 2 -\n                                    2,\n                                id: 'field',\n                                r: 2,\n                                fill: themeColor,\n                                cursor: 'move'\n                            }\n                        })\n\n                    group.addShape('text', {\n                        visible: !cfg.isKeySharp,\n                        name: field.id,\n                        draggable: true,\n                        themeColor: isForeign,\n                        attrs: {\n                            x: -config.width / 2 + 20,\n                            fieldHover: true,\n                            name: field.id,\n                            draggable: true,\n                            // click: 'fieldEdit',\n                            y:\n                                -(\n                                    (config.headerHeight +\n                                        getLength(data.fields.length) *\n                                        config.fieldHeight) /\n                                    2\n                                ) +\n                                config.headerHeight +\n                                config.fieldHeight * index +\n                                config.fieldHeight / 2,\n                            text: showNameOrLabel ? field.name : field.label,\n                            fieldLable: field.name,\n                            nameLable: field.label,\n                            fieldName: field.id,\n                            arg: field.name,\n                            fontSize: config.labelSize,\n                            textBaseline: 'middle',\n                            cursor: 'move',\n                            id: 'field',\n                            textAlign: 'start',\n                            fill: isForeign ? themeColor : 'rgba(0,0,0,0.60)' // fill: 'rgb(153,153,153)',\n                        }\n                    })\n                    const relationModelText = showNameOrLabel\n                        ? field?.relationModel?.name\n                        : field?.relationModel?.label\n                    // console.log(relationModelText)\n                    group.addShape('text', {\n                        visible: !cfg.isKeySharp,\n                        name: field.id,\n                        draggable: true,\n                        themeColor: isForeign,\n                        attrs: {\n                            x: config.width / 2 - 20,\n                            fieldHover: !isForeign,\n\n                            // click: 'fieldEdit',\n                            y:\n                                -(\n                                    (config.headerHeight +\n                                        getLength(data.fields.length) *\n                                        config.fieldHeight) /\n                                    2\n                                ) +\n                                config.headerHeight +\n                                config.fieldHeight * index +\n                                config.fieldHeight / 2,\n                            text: isForeign && relationModelText\n                                ? relationModelText\n                                : `${field.type || ''}`,\n                            fieldLable: isForeign\n                                ? field.type && Relation[field.type]\n                                    ? `${field?.relationModel?.name}(${Relation[\n                                    field.type\n                                    ] || ''})`\n                                    : field?.relationModel?.name\n                                : `${field.type || ''}`,\n                            nameLable: isForeign\n                                ? field.type && Relation[field.type]\n                                    ? `${field?.relationModel?.label\n                                    }(${Relation[field.type] || ''})`\n                                    : field?.relationModel?.label\n                                : `${field.type || ''}`,\n                            id: 'field',\n                            textBaseline: 'middle',\n                            fieldName: field.id,\n                            arg: field,\n                            fontSize: config.labelSize,\n                            click: isForeign ? 'fieldSelect' : undefined,\n                            textAlign: 'right',\n                            cursor: isForeign ? 'pointer' : 'undefined',\n                            fill: isForeign ? themeColor : 'rgba(0,0,0,0.30)'\n                        }\n                    })\n\n                    isForeign &&\n                        group.addShape('circle', {\n                            visible: true,\n                            name: field.id,\n                            draggable: true,\n                            themeColor: true,\n                            attrs: {\n                                x: config.width / 2 - 10,\n                                fieldName: field.id,\n                                name: field.id,\n                                draggable: true,\n                                arg: field.name,\n                                fieldHover: true,\n                                y:\n                                    -(\n                                        (config.headerHeight +\n                                            getLength(data.fields.length) *\n                                            config.fieldHeight) /\n                                        2\n                                    ) +\n                                    config.headerHeight +\n                                    config.fieldHeight * index +\n                                    config.fieldHeight / 2 -\n                                    2,\n                                id: 'field',\n                                r: 2,\n\n                                fill: themeColor,\n                                cursor: 'move'\n                            }\n                        })\n                })\n\n                const diffLength =\n                    getLength(data.fields.length) - data.fields.length\n                if (diffLength) {\n                    for (let i = 0; i < diffLength; i++) {\n                        // ---\n                        group.addShape('rect', {\n                            name: i,\n                            draggable: true,\n                            visible: !cfg.isKeySharp,\n                            attrs: {\n                                x: -(config.width / 2) + 2,\n                                y:\n                                    -(\n                                        (config.headerHeight +\n                                            getLength(data.fields.length) *\n                                            config.fieldHeight) /\n                                        2\n                                    ) +\n                                    config.headerHeight +\n                                    config.fieldHeight *\n                                    (data.fields.length + i),\n                                // stroke: 'black',\n                                width: config.width - 4,\n                                id: 'field',\n                                height: config.fieldHeight,\n                                fill: 'white',\n                                cursor: 'move'\n                            }\n\n                            // ---\n                        })\n                    }\n                }\n            },\n\n            draw(cfg: IModelNodeShapeCfg, group) {\n                const { config, data, selected } = cfg\n                const height =\n                    config.headerHeight +\n                    getLength(data.fields.length) * config.fieldHeight\n                let keyShape = group!.addShape('rect', {\n                    name: data.key,\n                    draggable: true,\n                    // visible: false,\n                    attrs: {\n                        id: 'keySharp',\n                        x: -(config.width / 2),\n                        y: -height / 2,\n                        width: config.width,\n                        cursor: 'move',\n                        // fill:'red',\n                        height: height + 10,\n                        ...cfg.config.styleConfig.default.node,\n                        stroke: selected\n                            ? cfg.config.styleConfig.selected.node.stroke\n                            : cfg.config.styleConfig.default.node.stroke\n                    }\n                })\n\n                this.render(cfg, group)\n                return keyShape\n            }\n        },\n        'single-shape'\n    )\n}\n"
  },
  {
    "path": "packages/web-pdm-core/src/graph/item/style.tsx",
    "content": "import G6 from '@antv/g6/dist/g6.min.js'\nexport const initStyle = ({ primaryColor }) => {\n    const colors = {\n        blue: primaryColor,\n        white: '#FFFFFF',\n        head: primaryColor,\n        black: 'black'\n    }\n\n    const style = {\n        naviWidth: 370,\n        default: {\n            node: {\n                fill: '#FFFFFF',\n                shadowColor: 'rgba(0,0,0,0.2)',\n                shadowBlur: 10,\n                shadowOffsetX: 0.5,\n                shadowOffsetY: 0.5,\n                radius: 10,\n                // stroke: undefined,\n                lineWidth: 4,\n                opacity: 0.9,\n                stroke: 'rgba(0,0,0,0.01)'\n            },\n            edge: {\n                lineWidth: 2,\n                size: 2,\n                lineAppendWidth: 4,\n                endArrow: {\n                    path: G6.Arrow.triangleRect(10, 10, 10, 2, 4)\n                    // fill: primaryColor,\n                },\n                startArrow: {\n                    path: G6.Arrow.circle(3, 3), // 使用内置箭头路径函数，参数为箭头的 宽度、长度、偏移量（默认为 0，与 d 对应）\n                    //  fill: primaryColor,\n                    //  shadowColor: primaryColor,\n                    //  opacity: 1,\n                    d: 6\n                },\n                //  startArrow: {\n                //   //  path: 'M 24,0 L -24,-12 L 8,0 L -24,12 Z',\n                //   //  d: 2,\n                //    fill: 'rgba(11,108,149)',\n                //    shadowColor: 'rgba(0,0,0,0.1)',\n                //   //  opacity: 1,\n                //  },\n                //  opacity: 0.2,\n                radius: 5,\n                labelCfg: {\n                    autoRotate: true, // 使文本随边旋转\n                    style: {\n                        fontSize: 34\n                    }\n                },\n                stroke: primaryColor\n            }\n        },\n        selected: {\n            node: {\n                stroke: 'rgba(11,108,149)',\n                shadowColor: 'rgba(11,108,149)'\n            }\n        },\n        isNoModule: {\n            node: {\n                opacity: 0.2\n            }\n        },\n        fieldRelation: {\n            node: {\n                fill: '#FFFFFF',\n                shadowColor: 'rgba(0,0,0,0.2)',\n                shadowBlur: 10,\n                shadowOffsetX: 0.5,\n                shadowOffsetY: 0.5,\n                radius: 10,\n                // stroke: undefined,\n                lineWidth: 4,\n                opacity: 0.9,\n                stroke: 'rgba(0,0,0,0.01)'\n            },\n            edge: {\n                lineWidth: 2,\n                size: 2,\n                lineAppendWidth: 4,\n                endArrow: {\n                    path: G6.Arrow.triangle(5, 10, 10),\n                    d: 10\n                },\n                startArrow: {\n                    path: G6.Arrow.circle(3, 3), // 使用内置箭头路径函数，参数为箭头的 宽度、长度、偏移量（默认为 0，与 d 对应）\n                    //  fill: primaryColor,\n                    //  shadowColor: primaryColor,\n                    //  opacity: 1,\n                    d: 6\n                },\n                //  startArrow: {\n                //   //  path: 'M 24,0 L -24,-12 L 8,0 L -24,12 Z',\n                //   //  d: 2,\n                //    fill: 'rgba(11,108,149)',\n                //    shadowColor: 'rgba(0,0,0,0.1)',\n                //   //  opacity: 1,\n                //  },\n                //  opacity: 0.2,\n                radius: 5,\n                labelCfg: {\n                    autoRotate: true, // 使文本随边旋转\n                    style: {\n                        fontSize: 34\n                    }\n                },\n                stroke: primaryColor\n            }\n        }\n    }\n\n    return {\n        colors,\n        style\n    }\n}\n"
  },
  {
    "path": "packages/web-pdm-core/src/graph/item/type.tsx",
    "content": "// import G6 from '@antv/g6'\nimport { ModelConfig } from '@antv/g6'\n\nexport interface IModelNodeShapeCfg extends ModelConfig {\n    config: {\n        width: number\n        headerHeight: number\n        fieldHeight: number\n        labelSize: number\n        styleConfig: {\n            default: {\n                node: any\n                edge: any\n            }\n            active: {\n                node: any\n                edge: any\n            }\n            selected: {\n                node: any\n                edge: any\n            }\n        }\n        colors: any\n    }\n    data: {\n        label: string\n        key: string\n        fields: IField[]\n        name: string\n        aggregateRoot: boolean\n        aggregateModelKey: string\n        belongAggregate: string\n        moduleKey: string\n        store: any\n    }\n    isNoModule?: boolean\n    isKeySharp?: boolean\n    active?: boolean\n    selected?: boolean\n    into?: boolean\n    out?: boolean\n    hide?: boolean\n    inactive?: boolean\n    isCardSharp?: boolean\n    showNameOrLabel?: boolean\n    themeColor?: string\n    darkness?: boolean\n}\nexport interface IField {\n    id: string\n    label: string\n    name: string\n    type: string\n    isForeign?: boolean\n    relationModel?: any\n    typeMeta?: any\n}\n\nexport const Relation = {\n    ToOne: '1:1',\n    ToMany: '1:n'\n}\n"
  },
  {
    "path": "packages/web-pdm-core/src/graph/item/util.tsx",
    "content": "export const setNodeStateAttr = (state, s, cfg) => {\n    if (cfg.config.styleConfig[state]) {\n        Object.entries(cfg.config.styleConfig[state].node).forEach(([k, v]) => {\n            s.attr(k, v)\n        })\n    }\n}\n\n// const mapNodeStateAttr = (state, s, cfg, isMap) => {\n//   if (cfg.config.styleConfig[state]) {\n//   Object.entries(cfg.config.styleConfig[state].node).forEach(([k, v]) => {\n//     s.attr(k, v)\n//   })\n// }\n// }\n\nexport const isEng = str => {\n    for (let i = 0; i < str.length; i++) {\n        const charCode = str.charCodeAt(i)\n        if (charCode < 0 || charCode > 128) {\n            return false\n        }\n    }\n    return true\n}\n\nexport const getSplitStrings = (str: string) => {\n    if (isEng(str)) return getEngGroup(str)\n    const reg = /.{5}/g\n    const rs = str.match(reg) || [str]\n    rs.push(str.substring(rs.join('').length))\n    return rs\n}\n\nexport const getEngGroup = (str: string) => {\n    const regExp = new RegExp(\"(?<!^)([A-Z]\", 'g')\n    const strs = str.replace(regExp, `-$1`)\n    return strs.split('-')\n}\n\nexport const getLen = (str: string) => {\n    /// <summary>获得字符串实际长度，中文2，英文1</summary>\n    /// <param name=\"str\">要获得长度的字符串</param>\n    // tslint:disable-next-line: one-variable-per-declaration\n    let realLength = 0,\n        len = str.length,\n        charCode = -1\n\n    for (let i = 0; i < len; i++) {\n        charCode = str.charCodeAt(i)\n        if (charCode >= 0 && charCode <= 128) realLength += 1\n        else realLength += 2\n    }\n\n    return realLength\n} // tslint:disable-next-line: interface-over-type-literal\n\nexport const getTopAnch = (num, y = 0) => {\n    let res = []\n    for (let i = 0; i < num; i++) {\n        res.push([(i + 1) / num, y])\n    }\n    return res\n}\n\nexport const getBottomAnch = (num, y = 1) => {\n    let res = []\n    for (let i = 0; i <= num; i++) {\n        res.push([i / num, y])\n    }\n    return res\n}\n\nexport const getLeftAnch = (num, x = 0) => {\n    let res = []\n    for (let i = 0; i < num; i++) {\n        res.push([x, (i + 1) / num])\n    }\n    return res\n}\n\nexport const getRightAnch = (num, x = 1) => {\n    let res = []\n    for (let i = 0; i <= num; i++) {\n        res.push([x, i / num])\n    }\n    return res\n}\n\nexport const getLength = length => {\n    return length >= 8 ? length : 8\n}\n"
  },
  {
    "path": "packages/web-pdm-core/src/graph/model.scss",
    "content": ".noselect {\n    -webkit-touch-callout: none; /* iOS Safari */\n\n    -webkit-user-select: none; /* Chrome/Safari/Opera */\n\n    -khtml-user-select: none; /* Konqueror */\n\n    -moz-user-select: none; /* Firefox */\n\n    -ms-user-select: none; /* Internet Explorer/Edge */\n\n    user-select: none; /* Non-prefixed version, currently\n  \n  not supported by any browser */\n}\n\n.console-g6-page {\n    // background: #fff;\n    height: 100%;\n    .model-page {\n        height: 100%;\n        display: flex;\n        flex-direction: column;\n    }\n    .g6-tooltip {\n        padding: 10px 6px;\n        // color: black;\n        background-color: white;\n        box-shadow: 10px 10px 5px #888888;\n        // background-color: rgba(255, 255, 255, 0.9);\n        border: 1px solid rgb(11, 108, 149);\n        opacity: 1;\n        border-radius: 4px;\n        .text {\n            color: rgb(11, 108, 149);\n        }\n    }\n}\n\n.g6-minimap {\n    position: absolute;\n    right: 25px;\n    bottom: 40px;\n    padding: 5px;\n    overflow: visible !important;\n    // margin-top: 10px;\n    // margin-right: 10px;\n    background: #ffffff;\n    border: 0px solid rgba(0, 0, 0, 0.1);\n\n    // border-radius: 3px 0 0 3px;\n    // border-radius: 3px 0px 0px 3px;\n}\n\n.graph {\n    width: 100%;\n    cursor: grab;\n    margin-right: 20px;\n    margin-bottom: 23px;\n    flex: 1;\n    //  overflow: auto;\n    background-image: url(./editor-background.png);\n    background-repeat: repeat;\n    background-size: contain;\n    //  border: 1px solid rgba(0,0,0,.1);\n    //  border-radius: 3px;\n    border: 1px solid rgba(0, 0, 0, 0.1);\n    .text {\n        border: 1px solid rgba(0, 0, 0, 0.1);\n        opacity: 1;\n    }\n\n    //  background-image: linear-gradient(#DEE0E4 1px, transparent 0), linear-gradient(90deg, #DEE0E4 1px, transparent 0), linear-gradient(rgba(222, 224, 228, 0.6) 1px, transparent 0), linear-gradient(90deg, rgba(222, 224, 228, 0.6) 1px, transparent 0);\n    //  background-size: 75px 75px, 75px 75px, 15px 15px, 15px 15px;\n}\n\n.g6-minimap-viewport-erd {\n    border: 1px solid rgba(0, 0, 0, 0.06);\n    margin-top: 2px;\n    margin-right: 2px;\n}\n\n.console-erd-toolbar {\n    z-index: 1;\n    width: 100%;\n    //  border-bottom: 1px solid rgba(0, 0, 0, 0.1);\n    //  border-left: 1px solid rgba(0, 0, 0, 0.1);\n    height: 28px;\n\n    .split-span {\n        margin-right: 30px;\n    }\n\n    .left {\n        float: left;\n        margin-left: 30px;\n    }\n\n    .ant-upload-list {\n        display: none;\n    }\n\n    .zoomNum {\n        font-size: 17px;\n        text-align: center;\n        margin-right: 10px;\n        width: 50px;\n        color: rgba(0, 0, 0, 0.4);\n        display: inline-block;\n    }\n\n    .right {\n        float: right;\n        margin-right: 30px;\n    }\n\n    .command-btn {\n        margin: 8px;\n        font-size: 18px;\n        // margin-right: 25px;\n        color: rgba(0, 0, 0, 0.4);\n        cursor: pointer;\n    }\n\n    .enable {\n        color: #000;\n    }\n\n    .zoomleft {\n        margin-right: 10px;\n    }\n\n    .command-btn-data {\n    }\n}\n.console-erd-fps {\n    position: absolute;\n    bottom: 50px;\n    right: 0px;\n    // bottom: 150px;\n}\n\n.g6-tooltip {\n    padding: 10px 6px;\n    opacity: 0.5;\n    color: #444;\n    background-color: rgba(255, 255, 255, 0.9);\n    border: 1px solid #e2e2e2;\n    border-radius: 4px;\n}\n\n:-webkit-full-screen {\n    background-color: white !important;\n}\n:-moz-full-screen {\n    background-color: white !important;\n}\n\n:-ms-fullscreen {\n    background-color: white !important;\n}\n:fullscreen {\n    background-color: white !important;\n}\n"
  },
  {
    "path": "packages/web-pdm-core/src/hooks/fields.tsx",
    "content": "import { useState, useCallback } from 'react'\n// import { FieldConfig } from './../type/config'\n// import { Field } from '../type/field'\n\nexport const useFields = () => {\n    const [fields, setFields] = useState()\n    const initFields = useCallback(data => {\n        ///\n        setFields(data)\n    }, [])\n\n    return {\n        initFields,\n        fields\n    }\n}\n"
  },
  {
    "path": "packages/web-pdm-core/src/hooks/models.tsx",
    "content": ""
  },
  {
    "path": "packages/web-pdm-core/src/hooks/modules.tsx",
    "content": ""
  },
  {
    "path": "packages/web-pdm-core/src/index.ts",
    "content": "import WebPdm from './out'\n\nexport * from './out'\nexport default WebPdm\n"
  },
  {
    "path": "packages/web-pdm-core/src/intl.ts",
    "content": "export default {\n    EN: {\n        定位模型: 'location model',\n        查看: 'detail',\n        所有: 'all',\n        选择所有: 'select all',\n        清除所有: 'clear all',\n        显示: 'display',\n        名称: 'name',\n        标签: 'label',\n        分类: 'category',\n        模式: 'model',\n        撤销: 'undo',\n        重做: 'redo',\n        放大: 'max',\n        缩小: 'min',\n        全景: 'full screen',\n        刷新数据: 'refresh data',\n        下载图片: 'download image',\n        切换层次布局: 'togglr dagre layout',\n        切换关联布局: 'toggle relation layout',\n        切换底色: 'toggle color',\n        点击: 'clock',\n        关闭: 'close',\n        打开: 'open',\n        颜色面板: 'color panel'\n    }\n}\n"
  },
  {
    "path": "packages/web-pdm-core/src/out.tsx",
    "content": "import React, { useEffect, useState, FunctionComponent, ReactNode } from 'react'\nimport { applySnapshot, onSnapshot, withoutUndo } from 'mobx-keystone'\nimport { useMst } from './context'\nimport { observer } from 'mobx-react'\nimport { Provider, createRootStore } from './context'\nimport MSTPage from './components'\n// import { TIconRendersKeys } from './components/model-toolbar'\nimport {\n    ModelConfig,\n    ModuleConfig,\n    FieldConfig,\n    IComponentConfig,\n    TData\n} from './type/config'\nexport * from './type/config'\n// import './style.scss'\n\n// type FF = InstanceType<typeof {aa:}>\n\n\ntype TIconRendersKeys = {\n\n    undo: ReactNode,\n    redo: ReactNode,\n    min: ReactNode,\n    max: ReactNode,\n    full: ReactNode,\n    miniMap: ReactNode,\n    miniMapNo: ReactNode,\n    dagreLayout: ReactNode,\n    relationLayout: ReactNode,\n    reload: ReactNode,\n    image: ReactNode,\n    darkness: ReactNode,\n    light: ReactNode,\n    colorClose: ReactNode,\n    colorOpen: ReactNode\n}\n/**\n *组件的props接口\n *\n * @export\n * @interface IWebPdmProps\n */\nexport interface IWebPdmProps {\n    /**\n     *传入的模型数据\n     *\n     * @type {ModelConfig[]}\n     * @memberof IWebPdmProps\n     */\n    models: ModelConfig[]\n\n    /**\n     *传入的模块数据\n     *\n     * @type {ModuleConfig[]}\n     * @memberof IWebPdmProps\n     */\n    modules: ModuleConfig[]\n    erdkey: string\n    className?: string\n    style?: any\n    height?: string | number\n    onIgnoreEdge?: (field: FieldConfig) => boolean\n    components?: IComponentConfig\n    onModelDetail?: (model: ModelConfig) => void\n    themeColor?: string\n    darkness?: boolean\n    onReload?: () => TData\n    intl?: 'CH' | 'EN'\n    onIntl?: (string) => string\n    IconRenders?: Partial<TIconRendersKeys>,\n    disableIcons?: string[],\n    onlyMode?: boolean\n}\n\nconst Page = observer<IWebPdmProps>(\n    ({\n        onIntl,\n        onReload,\n        onModelDetail,\n        models,\n        modules,\n        erdkey,\n        className,\n        style,\n        height,\n        onIgnoreEdge,\n        components,\n        IconRenders\n    }) => {\n        const data = useMst()\n        useEffect(() => {\n            // onSnapshot(data, snapshot => {\n            //     sessionStorage.setItem(\n            //         'web-pdm' + erdkey,\n            //         JSON.stringify(snapshot)\n            //     )\n            //     sessionStorage.setItem(\n            //         'web-pdm-fields' + erdkey,\n            //         JSON.stringify(Array.from(data.Fields.entries()))\n            //     )\n            // })\n            const localdata = sessionStorage.getItem('web-pdm' + erdkey)\n            if (!localdata) {\n                withoutUndo(() => data.initData(models, modules))\n            } else {\n                const sdata = JSON.parse(localdata)\n                sdata.sys.height = height\n                withoutUndo(() => {\n                    const localFieldsdata = sessionStorage.getItem(\n                        'web-pdm-fields' + erdkey\n                    )\n                    if (localFieldsdata) {\n                        data.setFields(new Map(JSON.parse(localFieldsdata)))\n                    }\n                    applySnapshot(data, sdata)\n                    data.sys.setOnIgnoreEdge(onIgnoreEdge)\n                    data.sys.setOnModelDetail(onModelDetail)\n                    data.Ui.registComponents(components, IconRenders)\n                    data.setOnReload(onReload!)\n                    data.onIntl = onIntl!\n                })\n            }\n        }, [])\n\n        useEffect(() => {\n            data.Models.clear()\n            data.Modules.clear()\n            data.Fields.clear()\n            withoutUndo(() => data.initData(models, modules))\n        }, [models])\n\n        return <MSTPage className={className} style={style} />\n    }\n)\n/**\n *组件定义\n *\n * @param {*} props 属性接口\n * @return {*}\n */\nconst WebPDM: FunctionComponent<IWebPdmProps> = props => {\n    const [rootStore] = useState(() => {\n        return createRootStore({\n            sys: {\n                height: props.height,\n                onIgnoreEdge: props.onIgnoreEdge,\n                onModelDetail: props.onModelDetail,\n                intl: props.intl,\n                onlyMode: props.onlyMode\n            },\n            Ui: {\n                themeColor: props.themeColor,\n                darkness: props.darkness\n            },\n            components: props.components,\n            onReload: props.onReload,\n            onIntl: props.onIntl,\n            IconRenders: props.IconRenders,\n            disableIcons: props.disableIcons\n        })\n    })\n    return (\n        <Provider value={rootStore}>\n            {rootStore && <Page {...props} />}\n        </Provider>\n    )\n}\n\nexport default WebPDM\n"
  },
  {
    "path": "packages/web-pdm-core/src/state-stack.tsx",
    "content": "import { observable } from 'mobx'\nexport class StateStack {\n    @observable current = -1\n    @observable DataList: any[] = []\n    push (obj: any) {\n        this.DataList = this.DataList.slice(0, this.current + 1).concat([obj])\n        this.current++\n    }\n\n    undo () {\n        this.current--\n        return this.DataList[this.current]\n    }\n\n    redo () {\n        this.current++\n        return this.DataList[this.current]\n    }\n    // pop() {\n    //     return this.DataList.pop()\n    // }\n}\n\nexport default new StateStack()\n"
  },
  {
    "path": "packages/web-pdm-core/src/tree/index.tsx",
    "content": "import { Dropdown, Menu, Tree as AntTree } from 'antd'\nimport React, { useState, useCallback } from 'react'\n// import 'antd/dist/antd.less'\nimport './style.scss'\n// const click = () => alert()\nconst OptionBuilder = ({ data }) => {\n    const { title, options = [] } = data\n    const [showMenu, setShowMenu] = useState(false)\n    const onShowMenu = useCallback(\n        val => () => {\n            setShowMenu(val)\n        },\n        []\n    )\n\n    const menu = (\n        <Menu>\n            {options.map(option => {\n                return (\n                    <Menu.Item key={option}>\n                        <a onClick={option.click}>{option.title}</a>\n                    </Menu.Item>\n                )\n            })}\n        </Menu>\n    )\n    return (\n        <div\n            className='tree-node-title'\n            onMouseEnter={onShowMenu(true)}\n            onMouseLeave={onShowMenu(false)}\n        >\n            <span className='tree-node-title-title'>{title}</span>\n            {!!options.length && showMenu && (\n                <Dropdown overlay={menu}>\n                    <span className='tree-node-title-options'>...</span>\n                </Dropdown>\n            )}\n        </div>\n    )\n}\n// alert()\nAntTree['OptionBuilder'] = OptionBuilder\n\nexport const Tree: any = AntTree\n"
  },
  {
    "path": "packages/web-pdm-core/src/tree/style.scss",
    "content": ".navitree-warp {\n    .tree-node-title {\n        display: flex;\n    }\n    .tree-node-title-title {\n        flex: 1;\n    }\n\n    // .tree-node-title-options {\n    //   // padding-right: 40px;\n    //   display: none;\n    // }\n    div.tree-node-title-options:hover {\n        display: block;\n        color: red;\n    }\n\n    .ant-tree-node-content-wrapper {\n        width: 100%;\n    }\n}\n"
  },
  {
    "path": "packages/web-pdm-core/src/type/config.tsx",
    "content": "export type MetaTypeConfig = {\n    relationModel: string\n    type: string\n}\n\nexport type FieldMetaTypeConfig = {\n    relationModel: string\n    field: string\n    type?: string\n\n}\n\nexport type FieldConfig = {\n    name: string\n    label: string\n    typeMeta?: MetaTypeConfig | FieldMetaTypeConfig[]\n    type?: string\n}\n\nexport type ModelConfig = {\n    name: string\n    label: string\n    fields: FieldConfig[]\n    module: string\n    type?: string\n\n    aggregateRoot?: boolean\n    aggregateModelKey?: string\n    belongAggregate?: string\n}\n\nexport type ModuleConfig = {\n    name: string\n    label: string\n}\n\nexport type SysConfig = {\n    search: string\n    currentModel: string\n    currentModule: string\n    checkedKeys: string[]\n    showNameOrLabel: boolean\n    tabOrTree: boolean\n    height: number\n}\n\nexport type IComponentConfig = {\n    Tree?: React.ComponentType\n    Input?: React.ComponentType\n    Button?: React.ComponentType\n    Dropdown?: React.ComponentType\n    Menu?: React.ComponentType\n    Select?: React.ComponentType\n    Tooltip?: React.ComponentType\n    Popover?: React.ComponentType\n}\n\nexport type TData = {\n    models: ModelConfig[]\n    modules: ModuleConfig[]\n}\n"
  },
  {
    "path": "packages/web-pdm-core/src/type/graph.tsx",
    "content": "import { model, Model, prop, modelAction } from 'mobx-keystone'\nimport { Graph } from '@antv/g6/dist/g6.min.js'\n@model('webpdm/TGraph')\nexport class TGraph extends Model({\n    zoom: prop(0)\n}) {\n    G6Graph: Graph\n    //  @modelAction\n    setG6Graph(graph: Graph) {\n        // alert(this.$modelId)\n        this.G6Graph = graph\n        // alert(this.$modelId)\n        //  window.yyy = getRoot(this)\n        //  alert( 'yyy.graph.G6Graph' + yyy.graph.G6Graph)\n    }\n\n    @modelAction\n    setZoom(zoom: number) {\n        //  alert(zoom)\n        this.zoom = zoom\n    }\n    @modelAction\n    minZoom(graph: Graph) {\n        // const gwidth = graph.get('width')\n        // const gheight = graph.get('height')\n        // const point = graph.getCanvasByPoint(gwidth / 2, gheight / 2)\n        const zoom = this.zoom\n        if (zoom > 0.2) {\n            this.zoom = zoom - 0.1\n        } else {\n            this.zoom = zoom - 0.02\n        }\n    }\n\n    @modelAction\n    maxZoom(graph: Graph) {\n        // const gwidth = graph.get('width')\n        // const gheight = graph.get('height')\n        // const point = graph.getCanvasByPoint(gwidth / 2, gheight / 2)\n        const zoom = this.zoom\n        if (zoom > 0.2) {\n            this.zoom = zoom + 0.1\n        } else {\n            this.zoom = zoom + 0.02\n        }\n    }\n    @modelAction\n    container(graph: Graph) {\n        graph.fitView(0)\n        this.zoom = graph.getZoom()\n    }\n\n    @modelAction\n    downAsImage() {\n        const _graph: any = this.G6Graph\n        if (!_graph) return\n        const oldZoom = this.G6Graph.getZoom()\n        //const newZoom = 100\n\n        _graph.isExporting = true\n        _graph\n            .getNodes()\n            .filter((a: any) => !a.isSys)\n            .forEach(node => {\n                node.getContainer().show()\n                _graph.updateItem(node, {\n                    isKeySharp: false,\n                    isCardSharp: false\n                })\n            })\n        const gwidth = _graph.get('width')\n        const gheight = _graph.get('height')\n        const point = _graph.getCanvasByPoint(gwidth / 2, gheight / 2)\n        // graph.moveTo({x: point.x , y : point.y})\n        // _graph.zoomTo(0.6, {x: point.x , y : point.y})\n        // _graph.paint()\n        // this.setZoom(0.6)\n        _graph.zoomTo(0.8)\n        _graph.downloadFullImage('模型图', undefined, {\n            backgroundColor: 'rgb(245, 247, 255)'\n        })\n        _graph.isExporting = undefined\n        _graph.zoomTo(oldZoom)\n        this.setZoom(oldZoom)\n        _graph\n            .getNodes()\n            .filter(a => !a.isSys)\n            .forEach(node => {\n                node.getContainer().show()\n                _graph.updateItem(node, {\n                    isKeySharp: oldZoom < 0.4,\n                    isCardSharp: false\n                })\n            })\n    }\n\n    actionEdges(currentModel: string) {\n        if (!this.G6Graph) return\n        this.G6Graph.getEdges().forEach(edge => {\n            const edgeData = edge.getModel()\n            if (edgeData.target !== 'model-SYS-CENTER-POINT') {\n                edge.setState('active', false)\n                if (\n                    edgeData.source === 'model-' + currentModel ||\n                    edgeData.target === 'model-' + currentModel\n                ) {\n                    edge.setState('active', true)\n                    edge.toFront()\n                }\n            }\n        })\n    }\n}\n"
  },
  {
    "path": "packages/web-pdm-core/src/type/index.tsx",
    "content": "import {\n    model,\n    Model,\n    prop,\n    modelAction,\n    objectMap,\n    UndoManager,\n    getSnapshot\n} from 'mobx-keystone'\nimport { computed } from 'mobx'\nimport { without, union } from 'lodash'\nimport { TModel } from './model'\nimport { TModule } from './module'\n// import { TField ,MetaType  } from './field'\nimport { TSys } from './sys'\nimport { TGraph } from './graph'\nimport { createData, createLinks } from '../graph/data'\nimport { renderModelTitle } from '../util/label'\n// import StateStack from '../state-stack'\n// import { undoManager } from '../context'\nimport { SysConfig, ModelConfig, ModuleConfig } from './config'\nimport { TUi } from './ui'\nimport IntlMap from '../intl'\n\nconst getLayerRootModel = (models, rootKey, roots = []) => {\n    const rootModel = models.find(a => a.name === rootKey)\n    const rootsRes = rootModel ? [...roots, rootKey] : roots\n    const isRoot =\n        rootModel.aggregateModelKey && rootModel.aggregateModelKey !== rootKey\n    const rootsResList = isRoot\n        ? getLayerRootModel(models, rootModel.aggregateModelKey, rootsRes)\n        : rootsRes\n    return rootsResList\n}\n\nexport const arrangeShow = (ss, { model }) => {\n    // alert(model)\n    const roots = getLayerRootModel(ss.models, model, [])\n    // alert(JSON.stringify(roots))\n    const list = ss.models\n        .filter(a => a.key === model || roots.indexOf(a.aggregateModelKey) >= 0)\n        .map(a => 'model-' + a.key)\n    return {\n        ...ss,\n        checkedKeys: list,\n        currentModel: model,\n        isArrangeLayout: true\n    }\n}\n\nfunction S4() {\n    return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1)\n}\nfunction NewGuid() {\n    return S4()\n    //return globaIndex ++\n}\n\nfunction MapProp<T>() {\n    return prop(() => objectMap<T>())\n    // return prop_mapObject<(Map<string, T>)>(() => new Map())\n}\n\nexport type TData = {\n    models: ModelConfig[]\n    modules: ModuleConfig[]\n}\n\n@model('webpdm/RootStore')\nexport class RootInstance extends Model({\n    sys: prop<TSys>(),\n    Models: MapProp<TModel>(),\n    Modules: MapProp<TModule>(),\n    // Fields: MapProp<TField>(),\n    graph: prop<TGraph>(() => new TGraph({})),\n    Ui: prop<TUi>(() => new TUi({}))\n}) {\n    undoManager: UndoManager\n    Fields: Map<string, any> = new Map()\n    onReload: () => TData\n    onIntl: (text: string) => string\n\n    setOnReload(onReload: () => TData) {\n        this.onReload = onReload\n    }\n\n    intl(text: string) {\n        const newText = this.onIntl && this.onIntl(text)\n        if (newText) {\n            return newText\n        }\n        const intlmap = IntlMap[this.sys.intl]\n        if (intlmap) return intlmap[text] || text\n        else return text\n        //    return text\n    }\n\n    setUndoManager(undoManager: UndoManager) {\n        this.undoManager = undoManager\n    }\n\n    setFields(fields: Map<string, any>) {\n        this.Fields = fields\n    }\n\n    @computed\n    get moduleList() {\n        return [...this.Modules.values()]\n    }\n\n    @computed\n    get Nodes() {\n        const data = createData(this)\n        //alert(data.length)\n        return data\n    }\n\n    @computed\n    get edges(): any {\n        return createLinks(this)\n    }\n    @modelAction\n    arrangeShow(rootKey: string) {\n        // alert(rootKey)]\n        const models = [...this.Models.values()]\n        const roots = getLayerRootModel(models, rootKey, [])\n        //alert(JSON.stringify(roots))\n        const list = models\n            .filter(\n                a =>\n                    a.name === rootKey ||\n                    roots.indexOf(a.aggregateModelKey) >= 0\n            )\n            .map(a => a.id)\n        // alert(JSON.stringify(list))\n        this.sys.setCheckedKeys(list)\n        //const list = ss.models.filter((a) => (a.key === model ||  roots.indexOf(a.aggregateModelKey) >= 0)).map((a) => 'model-' + a.key)\n    }\n\n    @modelAction\n    findModelByName(name: string) {\n        return [...this.Models.values()].find(a => a.name === name)\n    }\n\n    @modelAction\n    renderModelTitle(model: TModel) {\n        return renderModelTitle(\n            model.label,\n            this.sys.search,\n            this.sys.showNameOrLabel,\n            model.name\n        )\n    }\n\n    // @modelAction\n    // init({ modelData, moduleData, height }: { modelData: any, moduleData: any, height: any }) {\n\n    //       let moduleHas: Record<string, string> = {}\n    //       moduleData.forEach((module: any) => {\n    //             const key = NewGuid().toString()\n    //             this.Modules.set(key, new TModule({ id: key, label: module.name, name: module.key }))\n    //             moduleHas[module.key] = key\n    //             this.sys.expandedKeys.push(key)\n\n    //       })\n    //       let modelsKeys: string[] = []\n    //       modelData.forEach((model: any) => {\n    //             const key = NewGuid().toString()\n    //             this.Models.set(key, new TModel({ id: key, aggregateModelKey: m.aggregateModelKey, label: model.name, name: model.key, moduleId: moduleHas[model.moduleKey] || '' }))\n    //             model.fields.forEach((field: any) => {\n    //                   const _key = NewGuid().toString()\n    //                   this.Fields.set(_key, new TField({ id: _key, typeMeta: (field.typeMeta ? new  MetaType(field.typeMeta ) : undefined ), label: field.name, name: field.key, type: field.type || 'string', modelId: key }))\n    //             })\n    //             modelsKeys.push(key)\n\n    //       })\n    //       this.sys.checkedKeys = modelsKeys\n    //       this.sys.height = height\n    //       // alert( this.sys.height)\n    // }\n\n    @modelAction\n    initData(models: ModelConfig[], modules: ModuleConfig[], sys?: SysConfig) {\n        const t0 = +new Date()\n        let moduleHas: Record<string, string> = {}\n        modules.forEach(module => {\n            const key = NewGuid().toString()\n            this.Modules.set(\n                key,\n                new TModule({ id: key, label: module.label, name: module.name })\n            )\n            moduleHas[module.name] = key\n            this.sys.expandedKeys.push(key)\n        })\n        const t1 = +new Date()\n\n        let modelsKeys: string[] = []\n        let modelHas: Record<string, string> = {}\n        // alert(models.length)\n        models.forEach(model => {\n            const key = NewGuid().toString()\n            this.Models.set(\n                key,\n                new TModel({\n                    id: key,\n                    belongAggregate: model.belongAggregate,\n                    aggregateModelKey: model.aggregateModelKey,\n                    aggregateRoot: model.aggregateRoot,\n                    label: model.label,\n                    name: model.name,\n                    moduleId: moduleHas[model.module] || ''\n                })\n            )\n            modelHas[model.name] = key\n            modelsKeys.push(key)\n        })\n\n        models.forEach(model => {\n            model.fields.forEach(field => {\n                // if( i > 3) return\n                const _key = NewGuid().toString()\n                const relationModel = field?.typeMeta?.relationModel\n                const tmodel = relationModel\n                    ? this.Models.get(modelHas[relationModel])\n                    : undefined\n                // const { label , name , id } = tmodel ||\n                this.Fields.set(_key, {\n                    id: _key,\n                    label: field.label,\n                    name: field.name,\n                    type: field.type || 'string',\n                    modelId: modelHas[model.name],\n                    typeMeta: field.typeMeta,\n                    relationModel: tmodel && getSnapshot(tmodel)\n                })\n                if (tmodel) console.log(tmodel.name)\n                // this.Fields.set(_key, new TField({}).init({ id: _key, typeMeta: (field.typeMeta ? new  MetaType(field.typeMeta ) : undefined ), label: field.label, name: field.name, type: field.type || 'string', modelId: key }))\n            })\n            // modelsKeys.push(key)\n        })\n\n        const t2 = +new Date()\n        this.sys.setCheckedKeys(modelsKeys)\n        if (sys?.height) {\n            this.sys.height = sys.height\n        }\n        const t = +new Date()\n        // alert('initData  :' +  (t1 - t0) + '   ' + (t2 -t1) + '   ' +  (t - t2) )\n    }\n    @modelAction\n    reload() {\n        // alert('刷新')\n        if (this.onReload) {\n            const data = this.onReload()\n            if (data) {\n                this.Models.clear()\n                this.Modules.clear()\n                this.Fields.clear()\n\n                this.initData(data.models, data.modules)\n                // this.sys.checkedKeys = data.models.map(a=>a.)\n                // this.sys.currentModel = ''\n            }\n        }\n    }\n\n    @modelAction\n    undo() {\n        //     const current = StateStack.DataList.length - 1\n        //     const state : any = StateStack.DataList[current - 1]\n        //     const state = StateStack.undo()\n        //     console.log(state)\n        //     window.lockSnapshot = true\n        this.undoManager.undo()\n        //     this.sys.snapshot = false\n        // alert('undo ' + state.sys.showNameOrLabel)\n        //     applySnapshot(this,state)\n        //     window.lockSnapshot = false\n    }\n\n    @modelAction\n    redo() {\n        // const state = StateStack.redo()\n        // console.log(state)\n        // window.lockSnapshot = true\n        // applySnapshot(this,state)\n        this.undoManager.redo()\n    }\n    @modelAction\n    checkAllFun() {\n        const currentModule = this.sys.currentModule\n        const modelIds = currentModule\n            ? this.Modules.get(currentModule)?.models?.map(a => a.id)\n            : [...this.Models.values()].map(a => a.id)\n        this.sys.checkedKeys = union(this.sys.checkedKeys, modelIds)\n    }\n    @modelAction\n    checkAllCancleFun() {\n        const currentModule = this.sys.currentModule\n        if (!currentModule) this.sys.checkedKeys = []\n        // const models = [...this.Models.values()]\n        const modelIds = this.Modules.get(currentModule)?.models?.map(a => a.id)\n        this.sys.checkedKeys = [\n            ...without([...this.sys.checkedKeys], ...(modelIds || []))\n        ]\n    }\n\n    @modelAction\n    setCheckedKeys = (keys: string[]) => {\n        if (!this.sys.tabOrTree) {\n            this.sys.checkedKeys = keys\n        } else {\n            const modelKeys = [...this.Models.values()]\n                .filter(\n                    a =>\n                        !this.sys.currentModule ||\n                        a.moduleId === this.sys.currentModule\n                )\n                .map(a => a.id)\n            const withoutKeys = without(modelKeys, ...keys)\n            this.sys.checkedKeys = union(\n                without(this.sys.checkedKeys, ...withoutKeys),\n                keys\n            )\n        }\n    }\n\n    onInit() {\n        // alert('sys onInit')\n        // alert(this.tabOrTree)\n        this.intl = this.intl.bind(this)\n    }\n}\n\nexport const createStore = (\n    props = { sys: {}, graph: {}, components: {}, Ui: {}, IconRenders: undefined, disableIcons: [] }\n) => {\n    // alert(JSON.stringify(props.sys.onlyMode))\n    const ui = new TUi(props.Ui)\n    ui.registComponents(props.components, props.IconRenders, props.disableIcons)\n    return new RootInstance({\n        $modelId: 'webpdm',\n        sys: new TSys({\n            isArrangeLayout: false,\n            layouting: true,\n            search: '',\n            ...props.sys\n        }),\n        Ui: ui,\n        graph: new TGraph({\n            ...props.graph\n        })\n        // Ui: new TUi(Ui)\n    })\n}\n"
  },
  {
    "path": "packages/web-pdm-core/src/type/model.tsx",
    "content": "import {\n    model,\n    Model,\n    prop,\n    modelAction,\n    getRoot,\n    SnapshotOutOf\n} from 'mobx-keystone'\nimport { RootInstance } from '../type'\nimport { renderModelTitle } from '../util/label'\n// import { computed } from 'mobx'\n\n// aggregateRoot: boolean;\n// aggregateModelKey: string;\n// belongAggregate: string;\n\nexport type InModel = SnapshotOutOf<TModel>\n\n@model('webpdm/Model')\nexport class TModel extends Model({\n    id: prop<string>(),\n    name: prop<string>(),\n    label: prop(''),\n    moduleId: prop(''),\n    aggregateRoot: prop(false),\n    aggregateModelKey: prop<string>(),\n    belongAggregate: prop<string>()\n}) {\n    // @computed\n    get fields(): any[] {\n        const root: RootInstance = getRoot(this)\n        const fields = [...root.Fields.values()]\n        return fields.filter(a => a.modelId === this.id)\n    }\n\n    @modelAction\n    renderModelTitle() {\n        const root: RootInstance = getRoot(this)\n        return renderModelTitle(\n            this.label,\n            root.sys.search,\n            root.sys.showNameOrLabel,\n            this.name\n        )\n    }\n\n    @modelAction\n    filterModel() {\n        const root: RootInstance = getRoot(this)\n        const search = root.sys.search\n        return (\n            !search ||\n            (root.sys.showNameOrLabel\n                ? this.name.indexOf(search) >= 0\n                : this.label.indexOf(search) >= 0)\n        )\n    }\n}\n"
  },
  {
    "path": "packages/web-pdm-core/src/type/module.tsx",
    "content": "import { model, Model, prop, getRoot } from 'mobx-keystone'\nimport { computed } from 'mobx'\n\nimport { RootInstance } from '../type'\n\n@model('webpdm/TModule')\nexport class TModule extends Model({\n    id: prop<string>(),\n    name: prop<string>(),\n    label: prop<string>()\n}) {\n    @computed\n    get models () {\n        const mst: RootInstance = getRoot(this)\n        const models = [...mst.Models.values()].filter(\n            a => a.moduleId === this.id\n        )\n        return models\n    }\n}\n"
  },
  {
    "path": "packages/web-pdm-core/src/type/sys.tsx",
    "content": "import { model, Model, prop, modelAction, getRoot } from 'mobx-keystone'\nimport { RootInstance } from './index'\nimport { toCenter } from '../util/graph'\nimport { FieldConfig, ModelConfig } from './config'\n@model('webpdm/TSys')\nexport class TSys extends Model({\n    search: prop(''),\n    layouting: prop(false),\n    isArrangeLayout: prop(false),\n    expandedKeys: prop<string[]>(() => []),\n    currentModel: prop(''),\n    currentModule: prop(''),\n    checkedKeys: prop<string[]>(() => []),\n    showNameOrLabel: prop(false),\n    tabOrTree: prop(false),\n    snapshot: prop(true),\n    height: prop<number | undefined | string>('100%'),\n    dagreLayout: prop(false),\n    intl: prop('CH'),\n    disableMiniMap: prop(false),\n    onlyMode: prop(false)\n    // undoData: prop<UndoStore>(() => new UndoStore({})),\n}) {\n    onIgnoreEdge: (filed: FieldConfig) => boolean\n    onModelDetail: (model: ModelConfig) => void\n\n    setOnIgnoreEdge(onIgnoreEdge) {\n        this.onIgnoreEdge = onIgnoreEdge\n    }\n\n    setOnModelDetail(onModelDetail) {\n        this.onModelDetail = onModelDetail\n    }\n\n    @modelAction\n    toggleArrangeLayout() {\n        this.isArrangeLayout = !this.isArrangeLayout\n    }\n    @modelAction\n    setExpandedKeys = (keys: string[]) => {\n        this.expandedKeys = keys\n    }\n\n    @modelAction\n    setCheckedKeys = (keys: string[]) => {\n        this.checkedKeys = keys\n    }\n    @modelAction\n    setDisableMiniMap(disableMiniMap: boolean) {\n        this.disableMiniMap = disableMiniMap\n    }\n\n    @modelAction\n    setCurrentModel(keys: string[]) {\n        const n0 = +new Date()\n        const newKey = keys.length > 1 ? keys[1] : keys[0]\n        const root: RootInstance = getRoot(this)\n        //root.graph.G6Graph\n        const graph = root.graph.G6Graph\n        if (graph) {\n            const item = graph.findById('model-' + newKey)\n            if (item) item.toFront()\n        }\n        this.currentModel = newKey\n        const n1 = +new Date()\n        // alert(n1 - n0)\n        //root.graph.actionEdges(newKey)\n    }\n\n    @modelAction\n    centerCurrentModel(keys: string[]) {\n        const newKey = keys.length > 1 ? keys[1] : keys[0]\n        this.currentModel = newKey\n        const root: RootInstance = getRoot(this)\n        //root.graph.G6Graph\n        const graph = root.graph.G6Graph\n        if (graph) {\n            const item = graph.findById('model-' + newKey)\n            if (item) item.toFront()\n            toCenter(item, graph)\n            root.graph.setZoom(graph.getZoom())\n        }\n\n        //toCenter(   , root.graph.G6Graph)\n    }\n\n    @modelAction\n    openModel(key: string) {\n        // const newKey = keys.length > 1 ? keys[1] : keys[0]\n        // this.currentModel = newKey\n        const root: RootInstance = getRoot(this)\n        //root.graph.G6Graph\n        const graph = root.graph.G6Graph\n        if (graph) {\n            const item = graph.findById('model-' + key)\n            if (this.onModelDetail)\n                this.onModelDetail(item.getModel().data)\n            // if (item) item.toFront()\n            // toCenter(item, graph)\n            // root.graph.setZoom(graph.getZoom())\n        }\n\n        //toCenter(   , root.graph.G6Graph)\n    }\n\n    @modelAction\n    toggleTabOrTree = () => {\n        this.tabOrTree = !this.tabOrTree\n    }\n    @modelAction\n    changeModuleValue = (module: string) => {\n        this.currentModule = module\n    }\n    @modelAction\n    setSearch = (search: string) => {\n        // alert(search)\n        this.search = search\n    }\n    @modelAction\n    toggleShowNameOrLabel = () => {\n        this.showNameOrLabel = !this.showNameOrLabel\n    }\n\n    onInit() {\n        // alert('sys onInit')\n        // alert(this.tabOrTree)\n        this.toggleShowNameOrLabel = this.toggleShowNameOrLabel.bind(this)\n    }\n    @modelAction\n    setDagreLayout(dagreLayout: boolean) {\n        this.dagreLayout = dagreLayout\n    }\n}\n"
  },
  {
    "path": "packages/web-pdm-core/src/type/ui.tsx",
    "content": "import { model, Model, modelAction, prop } from 'mobx-keystone'\nimport { IComponentConfig } from './config'\n// import { Input, Button, Dropdown, Menu, Select, Tooltip, Popover } from 'antd'\n// import { Tree } from '../tree'\n// import { RootInstance } from '../type'\n\n@model('webpdm/TUi')\nexport class TUi extends Model({\n    update: prop(+new Date()),\n    themeColor: prop('black'),\n    selectedColor: prop('rgba(11,108,149)'),\n    darkness: prop(true)\n}) {\n    Tree?: React.ComponentType\n    Input?: React.ComponentType\n    Button?: React.ComponentType\n    Dropdown?: React.ComponentType\n    Menu?: React.ComponentType\n    Select?: React.ComponentType\n    Tooltip?: React.ComponentType\n    Popover?: React.ComponentType\n    IconRenders?: Record<string, React.ReactNode> = {}\n\n    isToogle: boolean = false\n    disableIcons: string[] = []\n\n    registComponents(components?: IComponentConfig, IconRenders?: Record<string, React.ReactNode>, disableIcons?: string[]) {\n        if (components) {\n            Object.keys(components).forEach(k => {\n                this[k] = components[k]\n            })\n        }\n\n        if (IconRenders) this.IconRenders = { ...this.IconRenders, ...IconRenders }\n        if (disableIcons) this.disableIcons = disableIcons\n        // this.Tree = Tree\n        // if (!this.Tree || !components) this.Tree = Tree\n        // if (!this.Input || !components) this.Input = Input\n        // if (!this.Button || !components) this.Button = Button\n        // if (!this.Dropdown || !components) this.Dropdown = Dropdown\n        // if (!this.Menu || !components) this.Menu = Menu\n        // if (!this.Select || !components) this.Select = Select\n        // if (!this.Tooltip || !components) this.Tooltip = Tooltip\n        // if (!this.Popover || !components) this.Popover = Popover\n    }\n    @modelAction\n    toggle(components: IComponentConfig) {\n        this.registComponents(this.isToogle ? undefined : components)\n        // const root: RootInstance = getRoot(this)\n        this.update = +new Date()\n        this.isToogle = !this.isToogle\n    }\n    @modelAction\n    setThemeColor(color: string) {\n        this.themeColor = color\n    }\n    @modelAction\n    setDarkness(darkness: boolean) {\n        this.darkness = darkness\n    }\n}\n"
  },
  {
    "path": "packages/web-pdm-core/src/util/graph.tsx",
    "content": "export const toCenter = (item, graph) => {\n    if (!item) return\n\n    graph\n        .getNodes()\n        .filter(a => !a.isSys)\n        .forEach(node => {\n            node.getContainer().show()\n        })\n\n    graph.zoomTo(0.8)\n    graph.focusItem(item)\n    // 聚焦当前点击的节点（把节点放到视口中心）\n    // let matrix = item.get('group').getMatrix()\n    // let point = {\n    //   x: matrix[6],\n    //   y: matrix[7],\n    // }\n    // let width = graph.get('width')\n    let height = graph.get('height') // 找到视口中心\n    const itemHight = item.getKeyShape().attr('height')\n    const graphHeight = height / 2\n\n    graph.translate(0, -graphHeight + itemHight / 2 + 120)\n}\n"
  },
  {
    "path": "packages/web-pdm-core/src/util/index.tsx",
    "content": "import React, { FC as SFC, isValidElement } from 'react'\nimport { observer } from 'mobx-react'\nimport reactString from 'react-element-to-jsx-string'\n\nexport interface IComponentOptions<T> {\n    setup: SFC<T>\n    displayName?: string\n}\nexport interface IComponent {\n    <T>(options: IComponentOptions<T>): SFC<T>\n}\n\nexport const defineComponent: IComponent = ({ setup, displayName }) => {\n    setup.displayName = displayName\n    return setup\n}\n\nexport const ObComponent: IComponent = ({ setup, displayName }) => {\n    // const useSetUp = setup\n    // const render = () => {\n    //    return <\n    // }\n    return observer(defineComponent({ setup, displayName }))\n}\n\nexport interface IComponentCreateOptions<T> {\n    useLocal?: any\n    useSetup?: any\n    render: SFC<T>\n    displayName?: string\n}\nexport interface IComponentCreate {\n    <T>(options: IComponentCreateOptions<T>): SFC<T>\n}\n\nexport const CreateComponent: IComponentCreate = ({\n    useLocal,\n    useSetup,\n    render,\n    displayName\n}) => {\n    const Render = observer(render)\n    //  const Render = render\n    //  const setUp = useSetup\n    //  const useLocalState = (props) => {\n    //      return useLocalStore(setUp, props)\n    //  }\n    const finnalRender = Render\n    finnalRender.displayName = displayName\n    return finnalRender\n}\n\nexport const json = (obj, replacer?, space?) => {\n    const _replacer = replacer || null\n\n    const _space = space || 2\n\n    return JSON.stringify(obj, _replacer, _space)\n}\n\nconst handleCircular = () => {\n    const cache: any[] = []\n    const keyCache: any[] = []\n    return (key: any, value: any) => {\n        if (typeof value === 'object' && value !== null) {\n            if (isValidElement(value)) {\n                return reactString(value)\n            }\n            const index = cache.indexOf(value)\n\n            if (index !== -1) {\n                return `[Circular ${keyCache[index]}]`\n            }\n\n            cache.push(value)\n            keyCache.push(key || 'root')\n        }\n\n        return value\n    }\n}\n\nexport const renderJson = (value: any, replacer?: any, space?: any) => {\n    const _replacer = replacer || handleCircular()\n\n    const _json = JSON.stringify(value, _replacer, space)\n\n    const _res = JSON.parse(_json)\n\n    return (\n        <pre>\n            <code>{json(_res)}</code>\n        </pre>\n    )\n}\n\nexport function mapToArrary<T> (mapObj: Map<string, T>) {\n    return [...mapObj.values()]\n}\n\nexport const intlLiteral = (text: string) => {\n    return text\n}\n\nexport const changeTwoDecimal_f = x => {\n    let f_x = parseFloat(x)\n    if (isNaN(f_x)) {\n        return 0\n    }\n    f_x = Math.round(x * 100) / 100\n    let s_x: any = f_x.toString()\n    let pos_decimal = s_x.indexOf('.')\n    if (pos_decimal < 0) {\n        pos_decimal = s_x.length\n        s_x += '.'\n    }\n    while (s_x.length <= pos_decimal + 2) {\n        s_x += '0'\n    }\n    if (s_x >= 100) return 100\n    return s_x\n}\n"
  },
  {
    "path": "packages/web-pdm-core/src/util/label.tsx",
    "content": "import React from 'react'\n\nexport const renderModelTitle = (\n    title: string,\n    searchValue: string,\n    showNameOrLabel: boolean,\n    originalKey: string\n) => {\n    if (showNameOrLabel) {\n        return renderTitle(originalKey, searchValue)\n    } else {\n        return renderTitle(title, searchValue)\n    }\n}\n\nconst renderLabel = (\n    isSpec: boolean,\n    beforeStr: string,\n    afterStr: string,\n    searchValue: string\n) => {\n    const greenStyle = isSpec ? { color: 'green' } : {}\n    const searchStyle = {\n        color: '#f50'\n    }\n    return (\n        <span>\n            <span style={greenStyle}>{beforeStr}</span>\n            <span style={searchStyle}>{searchValue}</span>\n            <span style={greenStyle}>{afterStr}</span>\n        </span>\n    )\n}\n\nconst renderTitle = (title: string, searchValue = '', isSpec = false) => {\n    if (!searchValue) return title\n    const index = title.indexOf(searchValue)\n    const beforeStr = title.substr(0, index)\n    const afterStr = title.substr(index + searchValue.length)\n    const titleFilter =\n        index > -1\n            ? renderLabel(isSpec, beforeStr, afterStr, searchValue)\n            : renderTitleGreen(isSpec, title)\n    return titleFilter\n}\n\nconst renderTitleGreen = (isSpec: boolean, title: string) => {\n    const greenStyle = isSpec ? { color: 'green' } : {}\n    return <span style={greenStyle}>{title}</span>\n}\n"
  },
  {
    "path": "packages/web-pdm-core/test/g6-test/mock/model-test.ts",
    "content": "export default [\n  {\n    name: 'bd_Quota_Apply',\n    originalKey: 'bd_Quota_Apply',\n    label: '额度申请',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '流水号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ApplyUserId',\n        originalKey: 'ApplyUserId',\n        label: '申请人',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'AcceptBank',\n        originalKey: 'AcceptBank',\n        label: '承兑行',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Amount',\n        originalKey: 'Amount',\n        label: '金额',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Price',\n        originalKey: 'Price',\n        label: '报价',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'PriceType',\n        originalKey: 'PriceType',\n        label: '报价类别',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'BankType',\n        originalKey: 'BankType',\n        label: '承兑行类别',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'Acceptkind',\n        originalKey: 'Acceptkind',\n        label: '承兑方式',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'Remark',\n        originalKey: 'Remark',\n        label: '备注',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '申请时间',\n      },\n      {\n        type: 'int',\n        name: 'Status',\n        originalKey: 'Status',\n        label: '状态',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ApproveUserId',\n        originalKey: 'ApproveUserId',\n        label: '审批人',\n      },\n    ],\n  },\n  {\n    name: 'bd_PayInfo',\n    originalKey: 'bd_PayInfo',\n    label: '打款信息',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'bd_Pay_Apply',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '流水号',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'TotalAmount',\n        originalKey: 'TotalAmount',\n        label: '总金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'InvoiceBank',\n        originalKey: 'InvoiceBank',\n        label: '开票行',\n      },\n      {\n        type: 'datetime',\n        name: 'ExpireDate',\n        originalKey: 'ExpireDate',\n        label: '到期日',\n      },\n      {\n        type: 'int',\n        name: 'DiscountDays',\n        originalKey: 'DiscountDays',\n        label: '贴现天数',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'DiscountInterest',\n        originalKey: 'DiscountInterest',\n        label: '贴现利息',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'PriceRate',\n        originalKey: 'PriceRate',\n        label: '报价利率',\n      },\n      {\n        type: 'int',\n        name: 'PriceType',\n        originalKey: 'PriceType',\n        label: '报价类别',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'PayRate',\n        originalKey: 'PayRate',\n        label: '打款利率',\n      },\n      {\n        type: 'int',\n        name: 'PayType',\n        originalKey: 'PayType',\n        label: '打款类别',\n      },\n      {\n        type: 'int',\n        name: 'PaperCount',\n        originalKey: 'PaperCount',\n        label: '张数',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Commissions',\n        originalKey: 'Commissions',\n        label: '手续费',\n      },\n      {\n        type: 'int',\n        name: 'CommissionsType',\n        originalKey: 'CommissionsType',\n        label: '手续费类别',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'PayAmount',\n        originalKey: 'PayAmount',\n        label: '划款金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'Payee',\n        originalKey: 'Payee',\n        label: '收款单位',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'PayeeAccount',\n        originalKey: 'PayeeAccount',\n        label: '收款单位账号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'OpeningBankName',\n        originalKey: 'OpeningBankName',\n        label: '开户行',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'OpeningBankNumber',\n        originalKey: 'OpeningBankNumber',\n        label: '开户行行号',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'Remark',\n        originalKey: 'Remark',\n        label: '备注',\n      },\n      {\n        type: 'ntext',\n        name: 'DraftImage',\n        originalKey: 'DraftImage',\n        label: '票面图片',\n      },\n      {\n        name: '申请人',\n        originalKey: '申请人',\n        label: '申请人',\n      },\n      {\n        type: 'ntext ',\n        name: 'DEFAULTVAL',\n        originalKey: 'DEFAULTVAL',\n        label: '默认值',\n      },\n    ],\n  },\n  {\n    name: 'bd_Draft_Element',\n    originalKey: 'bd_Draft_Element',\n    label: '票面要素',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '流水号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'PayApplyId',\n        typeMeta: {\n          relationModel: 'bd_Pay_Apply',\n          type: 'Relation',\n        },\n        label: '划款申请Id',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'Drawer',\n        originalKey: 'Drawer',\n        label: '出票人全称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'Payee',\n        originalKey: 'Payee',\n        label: '收款人全称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'PayBank',\n        originalKey: 'PayBank',\n        label: '付款行全称',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Amount',\n        originalKey: 'Amount',\n        label: '金额',\n      },\n      {\n        type: 'datetime',\n        name: 'DraftDate',\n        originalKey: 'DraftDate',\n        label: '出票日期',\n      },\n      {\n        type: 'datetime',\n        name: 'DraftExpireDate',\n        originalKey: 'DraftExpireDate',\n        label: '汇票到期日',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'PayBankNumber',\n        originalKey: 'PayBankNumber',\n        label: '付款行行号',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'DraftNumber',\n        originalKey: 'DraftNumber',\n        label: '票号',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'Remark',\n        originalKey: 'Remark',\n        label: '备注',\n      },\n    ],\n  },\n  {\n    name: 'db_Draft_Number',\n    originalKey: 'db_Draft_Number',\n    label: '票号',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '流水号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'DraftId',\n        typeMeta: {\n          relationModel: 'bd_Draft_Element',\n          type: 'Relation',\n        },\n        label: '票面Id',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'DraftNumber',\n        originalKey: 'DraftNumber',\n        label: '票号',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Amount',\n        originalKey: 'Amount',\n        label: '金额',\n      },\n    ],\n  },\n  {\n    name: 'bd_Pay_Other',\n    originalKey: 'bd_Pay_Other',\n    label: '其他信息',\n    module: 'finance',\n    fields: [\n      {\n        type: 'toMany',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'bd_Pay_Apply',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '流水号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'Account',\n        originalKey: 'Account',\n        label: '账号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'Payee',\n        originalKey: 'Payee',\n        label: '收款方',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'OpeningBankName',\n        originalKey: 'OpeningBankName',\n        label: '开户行',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Amount',\n        originalKey: 'Amount',\n        label: '金额',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'Remark',\n        originalKey: 'Remark',\n        label: '备注',\n      },\n    ],\n  },\n  {\n    name: 'bd_Pay_Apply',\n    originalKey: 'bd_Pay_Apply',\n    label: '划款申请',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'bd_Quota_Apply',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '流水号',\n      },\n      {\n        type: 'int',\n        name: 'ApproveStatus',\n        originalKey: 'ApproveStatus',\n        label: '审批状态',\n      },\n      {\n        type: 'int',\n        name: 'ReviewStatus',\n        originalKey: 'ReviewStatus',\n        label: '复核状态',\n      },\n      {\n        type: 'int',\n        name: 'PayStatus',\n        originalKey: 'PayStatus',\n        label: '打款状态',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ApproveUserId',\n        originalKey: 'ApproveUserId',\n        label: '审批人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'PayUserId',\n        originalKey: 'PayUserId',\n        label: '打款人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ReviewUserId',\n        originalKey: 'ReviewUserId',\n        label: '复核人',\n      },\n      {\n        type: 'nvarchar',\n        name: '申请人',\n        originalKey: '申请人',\n        label: '申请人',\n      },\n    ],\n  },\n  {\n    name: 'bd_Quota_Day',\n    originalKey: 'bd_Quota_Day',\n    label: '每日额度',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'TotalQuota',\n        originalKey: 'TotalQuota',\n        label: '总额度',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'RestQuota',\n        originalKey: 'RestQuota',\n        label: '剩余额度',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'LockQuota',\n        originalKey: 'LockQuota',\n        label: '锁定额度',\n      },\n      {\n        type: 'datetime',\n        name: 'QuotaDate',\n        originalKey: 'QuotaDate',\n        label: '额度日期',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'PayQuota',\n        originalKey: 'PayQuota',\n        label: '打款额度',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'UnPayQuota',\n        originalKey: 'UnPayQuota',\n        label: '未打款额度',\n      },\n    ],\n  },\n  {\n    name: 'bd_User',\n    originalKey: 'bd_User',\n    label: '用户信息',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'WechatAccount',\n        originalKey: 'WechatAccount',\n        label: '微信账号',\n      },\n    ],\n  },\n  {\n    name: 'bd_Message',\n    originalKey: 'bd_Message',\n    label: '系统消息',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Content',\n        originalKey: 'Content',\n        label: '内容',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'Type',\n        originalKey: 'Type',\n        label: '类别',\n      },\n      {\n        type: 'datetime',\n        name: 'SendTime',\n        originalKey: 'SendTime',\n        label: '发送时间',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'ntext',\n        name: 'SendeeList\\r\\nSendeeList',\n        originalKey: 'SendeeList\\r\\nSendeeList',\n        label: '接收人',\n      },\n    ],\n  },\n  {\n    name: 'bd_User_Message',\n    originalKey: 'bd_User_Message',\n    label: '用户消息',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'MessageId',\n        typeMeta: {\n          relationModel: 'bd_Message',\n          type: 'Relation',\n        },\n        label: '消息Id',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ReceiveUserId',\n        originalKey: 'ReceiveUserId',\n        label: '接收人',\n      },\n      {\n        type: 'int',\n        name: 'Status',\n        originalKey: 'Status',\n        label: '状态',\n      },\n    ],\n  },\n  {\n    name: 'bd_Operation_Log',\n    originalKey: 'bd_Operation_Log',\n    label: '操作日志',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'ModuleName',\n        originalKey: 'ModuleName',\n        label: '模块名',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'OpreationName',\n        originalKey: 'OpreationName',\n        label: '操作名',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'Remark',\n        originalKey: 'Remark',\n        label: '描述',\n      },\n    ],\n  },\n  {\n    name: 'erp_WarehouseCat',\n    originalKey: 'erp_WarehouseCat',\n    label: '仓库类别表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ewc_Code',\n        originalKey: 'ewc_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ewc_Name',\n        originalKey: 'ewc_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ParentId',\n        originalKey: 'ParentId',\n        label: '上级分类',\n      },\n      {\n        type: 'bit',\n        name: 'IsParent',\n        originalKey: 'IsParent',\n        label: '是否父节点',\n      },\n      {\n        type: 'bit',\n        name: 'IsLeaf',\n        originalKey: 'IsLeaf',\n        label: '是否叶节点',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Arrange',\n        originalKey: 'Arrange',\n        label: '树状支持符号',\n      },\n      {\n        type: 'int',\n        name: 'TreeOrder',\n        originalKey: 'TreeOrder',\n        label: '排序',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'ewc_Remark',\n        originalKey: 'ewc_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_WarehouseInfo',\n    originalKey: 'erp_WarehouseInfo',\n    label: '仓库信息表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ew_Code',\n        originalKey: 'ew_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ew_Name',\n        originalKey: 'ew_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ew_SimpleName',\n        originalKey: 'ew_SimpleName',\n        label: '简称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ew_WhmanID',\n        originalKey: 'ew_WhmanID',\n        label: '默认仓管员',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ew_Addr',\n        originalKey: 'ew_Addr',\n        label: '仓库地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'ew_Cat',\n        typeMeta: {\n          relationModel: 'erp_WarehouseCat',\n          type: 'Relation',\n        },\n        label: '所属分类',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'ew_QtyMax',\n        originalKey: 'ew_QtyMax',\n        label: '最高库存量',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'ew_QtyMin',\n        originalKey: 'ew_QtyMin',\n        label: '最低库存量',\n      },\n      {\n        type: 'navarchar(500)',\n        name: 'ew_Remark',\n        originalKey: 'ew_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_GoodsCat',\n    originalKey: 'erp_GoodsCat',\n    label: '商品类别表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'egc_Code',\n        originalKey: 'egc_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'egc_Name',\n        originalKey: 'egc_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ParentId',\n        originalKey: 'ParentId',\n        label: '上级分类',\n      },\n      {\n        type: 'bit',\n        name: 'IsParent',\n        originalKey: 'IsParent',\n        label: '是否父节点',\n      },\n      {\n        type: 'bit',\n        name: 'IsLeaf',\n        originalKey: 'IsLeaf',\n        label: '是否叶节点',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Arrange',\n        originalKey: 'Arrange',\n        label: '树状支持符号',\n      },\n      {\n        type: 'int',\n        name: 'TreeOrder',\n        originalKey: 'TreeOrder',\n        label: '排序',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'egc_Remark',\n        originalKey: 'egc_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_Goods',\n    originalKey: 'erp_Goods',\n    label: '商品信息表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_Code',\n        originalKey: 'eg_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_Name',\n        originalKey: 'eg_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_SimpleName',\n        originalKey: 'eg_SimpleName',\n        label: '简称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_EnglishName',\n        originalKey: 'eg_EnglishName',\n        label: '外文名称',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'eg_Specifications',\n        originalKey: 'eg_Specifications',\n        label: '规格',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_Brand',\n        originalKey: 'eg_Brand',\n        label: '品牌',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_Unit',\n        originalKey: 'eg_Unit',\n        label: '单位',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_BarCode',\n        originalKey: 'eg_BarCode',\n        label: '条形码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'eg_Cat',\n        typeMeta: {\n          relationModel: 'erp_GoodsCat',\n          type: 'Relation',\n        },\n        label: '所属类别',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_Warehouse',\n        originalKey: 'eg_Warehouse',\n        label: '所属仓库',\n      },\n      {\n        type: 'int',\n        name: 'eg_Status',\n        originalKey: 'eg_Status',\n        label: '状态',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'eg_Remark',\n        originalKey: 'eg_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_GoodsPrice',\n    originalKey: 'erp_GoodsPrice',\n    label: '商品价格表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'egp_GoodsId',\n        typeMeta: {\n          relationModel: 'erp_Goods',\n          type: 'Relation',\n        },\n        label: '商品',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'egp_Code',\n        originalKey: 'egp_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'egp_Name',\n        originalKey: 'egp_Name',\n        label: '名称',\n      },\n      {\n        type: 'datetime',\n        name: 'egp_BeginTime',\n        originalKey: 'egp_BeginTime',\n        label: '起始时间段',\n      },\n      {\n        type: 'datetime',\n        name: 'egp_EndTime',\n        originalKey: 'egp_EndTime',\n        label: '结束时间段',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'egp_Price',\n        originalKey: 'egp_Price',\n        label: '单价',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'egp_Discount',\n        originalKey: 'egp_Discount',\n        label: '折扣率',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'egp_FavorablePrice',\n        originalKey: 'egp_FavorablePrice',\n        label: '优惠后价格',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'egp_Remark',\n        originalKey: 'egp_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_CustomerCat',\n    originalKey: 'erp_CustomerCat',\n    label: '客户类别表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ecc_Code',\n        originalKey: 'ecc_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ecc_Name',\n        originalKey: 'ecc_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ParentId',\n        originalKey: 'ParentId',\n        label: '上级分类',\n      },\n      {\n        type: 'bit',\n        name: 'IsParent',\n        originalKey: 'IsParent',\n        label: '是否父节点',\n      },\n      {\n        type: 'bit',\n        name: 'IsLeaf',\n        originalKey: 'IsLeaf',\n        label: '是否叶节点',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Arrange',\n        originalKey: 'Arrange',\n        label: '树状支持符号',\n      },\n      {\n        type: 'int',\n        name: 'TreeOrder',\n        originalKey: 'TreeOrder',\n        label: '排序',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'ecc_Remark',\n        originalKey: 'ecc_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_SupplierCat',\n    originalKey: 'erp_SupplierCat',\n    label: '供应商类别表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'esc_Code',\n        originalKey: 'esc_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'esc_Name',\n        originalKey: 'esc_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ParentId',\n        originalKey: 'ParentId',\n        label: '上级分类',\n      },\n      {\n        type: 'bit',\n        name: 'IsParent',\n        originalKey: 'IsParent',\n        label: '是否父节点',\n      },\n      {\n        type: 'bit',\n        name: 'IsLeaf',\n        originalKey: 'IsLeaf',\n        label: '是否叶节点',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Arrange',\n        originalKey: 'Arrange',\n        label: '树状支持符号',\n      },\n      {\n        type: 'int',\n        name: 'TreeOrder',\n        originalKey: 'TreeOrder',\n        label: '排序',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'esc_Remark',\n        originalKey: 'esc_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_CustomerInfo',\n    originalKey: 'erp_CustomerInfo',\n    label: '客户信息表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Code',\n        originalKey: 'ec_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Name',\n        originalKey: 'ec_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_SimpleName',\n        originalKey: 'ec_SimpleName',\n        label: '简称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_EnglishName',\n        originalKey: 'ec_EnglishName',\n        label: '外文名字',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'ec_Cat',\n        typeMeta: {\n          relationModel: 'erp_CustomerCat',\n          type: 'Relation',\n        },\n        label: '所属类别',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_LegalPerson',\n        originalKey: 'ec_LegalPerson',\n        label: '法人代表',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Linkman',\n        originalKey: 'ec_Linkman',\n        label: '联系人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Tel',\n        originalKey: 'ec_Tel',\n        label: '联系电话',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Email',\n        originalKey: 'ec_Email',\n        label: '电子邮箱',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Area',\n        originalKey: 'ec_Area',\n        label: '所属地区',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_PostalCode',\n        originalKey: 'ec_PostalCode',\n        label: '邮编',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'ec_Addr',\n        originalKey: 'ec_Addr',\n        label: '地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Salesman',\n        originalKey: 'ec_Salesman',\n        label: '业务员',\n      },\n      {\n        type: 'int',\n        name: 'ec_Status',\n        originalKey: 'ec_Status',\n        label: '状态',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'ec_Remark',\n        originalKey: 'ec_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_SupplierInfo',\n    originalKey: 'erp_SupplierInfo',\n    label: '供应商信息表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'es_Cat',\n        typeMeta: {\n          relationModel: 'erp_SupplierCat',\n          type: 'Relation',\n        },\n        label: '所属类别',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Code',\n        originalKey: 'es_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Name',\n        originalKey: 'es_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_SimpleName',\n        originalKey: 'es_SimpleName',\n        label: '简称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_EnglishName',\n        originalKey: 'es_EnglishName',\n        label: '外文名字',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_LegalPerson',\n        originalKey: 'es_LegalPerson',\n        label: '法人代表',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Tel',\n        originalKey: 'es_Tel',\n        label: '联系电话',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Eamil',\n        originalKey: 'es_Eamil',\n        label: '电子邮箱',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Addr',\n        originalKey: 'es_Addr',\n        label: '地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Salesman',\n        originalKey: 'es_Salesman',\n        label: '业务员',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_BizRegisterNo',\n        originalKey: 'es_BizRegisterNo',\n        label: '工商注册号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_BusiLicence',\n        originalKey: 'es_BusiLicence',\n        label: '营业执照',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_TaxRegisterNo',\n        originalKey: 'es_TaxRegisterNo',\n        label: '税务登记号',\n      },\n      {\n        type: 'int',\n        name: 'es_Status',\n        originalKey: 'es_Status',\n        label: '状态',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'es_Remark',\n        originalKey: 'es_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_DepartmentInfo',\n    originalKey: 'erp_DepartmentInfo',\n    label: '部门信息表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ed_Code',\n        originalKey: 'ed_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ed_Name',\n        originalKey: 'ed_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ParentId',\n        originalKey: 'ParentId',\n        label: '上级分类',\n      },\n      {\n        type: 'bit',\n        name: 'IsParent',\n        originalKey: 'IsParent',\n        label: '是否父节点',\n      },\n      {\n        type: 'bit',\n        name: 'IsLeaf',\n        originalKey: 'IsLeaf',\n        label: '是否叶节点',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Arrange',\n        originalKey: 'Arrange',\n        label: '树状支持符号',\n      },\n      {\n        type: 'int',\n        name: 'TreeOrder',\n        originalKey: 'TreeOrder',\n        label: '排序',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'ed_Remark',\n        originalKey: 'ed_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_UserInfo',\n    originalKey: 'erp_UserInfo',\n    label: '员工信息表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_Code',\n        originalKey: 'eu_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_Name',\n        originalKey: 'eu_Name',\n        label: '名字',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_EnglishName',\n        originalKey: 'eu_EnglishName',\n        label: '外文名字',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_BirthDate',\n        originalKey: 'eu_BirthDate',\n        label: '出生年月',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_EntryDate',\n        originalKey: 'eu_EntryDate',\n        label: '入职时间',\n      },\n      {\n        type: 'int',\n        name: 'eu_Cultural',\n        originalKey: 'eu_Cultural',\n        label: '文化水平',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_IDCard',\n        originalKey: 'eu_IDCard',\n        label: '身份证号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_Tel',\n        originalKey: 'eu_Tel',\n        label: '电话',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_Position',\n        originalKey: 'eu_Position',\n        label: '职位',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'eu_Department',\n        typeMeta: {\n          relationModel: 'erp_DepartmentInfo',\n          type: 'Relation',\n        },\n        label: '所属部门',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'eu_Remark',\n        originalKey: 'eu_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_BaseOperatorLog',\n    originalKey: 'erp_BaseOperatorLog',\n    label: '基础信息操作日志',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ebol_Operator',\n        originalKey: 'ebol_Operator',\n        label: '操作人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ebol_TableName',\n        originalKey: 'ebol_TableName',\n        label: '表名',\n      },\n      {\n        type: 'int',\n        name: 'ebol_OperationType',\n        originalKey: 'ebol_OperationType',\n        label: '操作类型',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'ebol_Content',\n        originalKey: 'ebol_Content',\n        label: '操作内容',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_ContactInfo',\n    originalKey: 'erp_ContactInfo',\n    label: '联系人',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'ec_ForeignKey',\n        typeMeta: {\n          relationModel: 'erp_CustomerInfo',\n          type: 'Relation',\n        },\n        label: '外键',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_ContactName',\n        originalKey: 'ec_ContactName',\n        label: '联系人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Post',\n        originalKey: 'ec_Post',\n        label: '职务',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Phone',\n        originalKey: 'ec_Phone',\n        label: '电话',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_TelPhone',\n        originalKey: 'ec_TelPhone',\n        label: '手机',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Fax',\n        originalKey: 'ec_Fax',\n        label: '传真',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Email',\n        originalKey: 'ec_Email',\n        label: '邮箱',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Postalcode',\n        originalKey: 'ec_Postalcode',\n        label: '邮政编码',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'ec_Addr',\n        originalKey: 'ec_Addr',\n        label: '地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_BankAccount',\n    originalKey: 'erp_BankAccount',\n    label: '银行账号',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'eba_ForeignKey',\n        typeMeta: {\n          relationModel: 'erp_CustomerInfo',\n          type: 'Relation',\n        },\n        label: '外键',\n      },\n      {\n        type: 'int',\n        name: 'eba_Type',\n        originalKey: 'eba_Type',\n        label: '账户类型',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eba_Bank',\n        originalKey: 'eba_Bank',\n        label: '开户银行',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eba_Number',\n        originalKey: 'eba_Number',\n        label: '账号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eba_Currency',\n        originalKey: 'eba_Currency',\n        label: '币种',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eba_Property',\n        originalKey: 'eba_Property',\n        label: '账户用途',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'eba_Addr',\n        originalKey: 'eba_Addr',\n        label: '银行地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n    ],\n  },\n  {\n    name: 'T9_Customer',\n    originalKey: 'T9_Customer',\n    label: '客户信息',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'T9_Repair_flow',\n          type: 'Relation',\n        },\n        label: '编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_CarNum',\n        originalKey: 'T9C_CarNum',\n        label: '车辆编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Name',\n        originalKey: 'T9C_Name',\n        label: '姓名',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'T9C_Number',\n        originalKey: 'T9C_Number',\n        label: '联系方式',\n      },\n      {\n        type: 'datetime',\n        name: 'T9C_DateOfBirth',\n        originalKey: 'T9C_DateOfBirth',\n        label: '出生日期',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9C_Address',\n        originalKey: 'T9C_Address',\n        label: '地址',\n      },\n      {\n        type: 'int',\n        name: 'T9C_Sex',\n        originalKey: 'T9C_Sex',\n        label: '性别',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_LinkMan',\n        originalKey: 'T9C_LinkMan',\n        label: '联系人',\n      },\n    ],\n  },\n  {\n    name: 'T9_Repair_flow',\n    originalKey: 'T9_Repair_flow',\n    label: '维修表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9R_RepairId',\n        typeMeta: {\n          relationModel: 'T9_NewRepairParts',\n          type: 'Relation',\n        },\n        label: '派单编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_CustomerId',\n        originalKey: 'T9R_CustomerId',\n        label: '车主',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9R_CarId',\n        typeMeta: {\n          relationModel: 'T9_Car',\n          type: 'Relation',\n        },\n        label: '汽车编号',\n      },\n      {\n        type: 'int',\n        name: 'T9R_Satisfaction',\n        originalKey: 'T9R_Satisfaction',\n        label: '满意度',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_Taxfee',\n        originalKey: 'T9R_Taxfee',\n        label: '税费',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_PickMan',\n        originalKey: 'T9R_PickMan',\n        label: '接车人',\n      },\n      {\n        type: 'int',\n        name: 'T9R_RepairType',\n        originalKey: 'T9R_RepairType',\n        label: '维修类型',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9R_PartNote',\n        originalKey: 'T9R_PartNote',\n        label: '配件备注',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9R_WorkHoursNote',\n        originalKey: 'T9R_WorkHoursNote',\n        label: '工时备注',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9R_SettlementNote',\n        originalKey: 'T9R_SettlementNote',\n        label: '结算备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_ContractNum',\n        originalKey: 'T9R_ContractNum',\n        label: '维修合同号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_WorkOrderNum',\n        originalKey: 'T9R_WorkOrderNum',\n        label: '工单号码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_HandNumber',\n        originalKey: 'T9R_HandNumber',\n        label: '交接单号',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_Withholding',\n        originalKey: 'T9R_Withholding',\n        label: '代收代缴',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_Total',\n        originalKey: 'T9R_Total',\n        label: '总计（元）',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Reckoner',\n        originalKey: 'T9R_Reckoner',\n        label: '结算人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_AccountNum',\n        originalKey: 'T9R_AccountNum',\n        label: '账号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_DutyParagraph',\n        originalKey: 'T9R_DutyParagraph',\n        label: '税号',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_OutfactoryTime',\n        originalKey: 'T9R_OutfactoryTime',\n        label: '出厂时间',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_IntofactoryTime',\n        originalKey: 'T9R_IntofactoryTime',\n        label: '进厂时间',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_SettementDate',\n        originalKey: 'T9R_SettementDate',\n        label: '结算日期',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_HandDate',\n        originalKey: 'T9R_HandDate',\n        label: '交接日期',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_PreHandDate',\n        originalKey: 'T9R_PreHandDate',\n        label: '预计交付日期',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_PreMaterial',\n        originalKey: 'T9R_PreMaterial',\n        label: '预计材料费（含管理费）',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_PreLabor',\n        originalKey: 'T9R_PreLabor',\n        label: '预计工时费',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_PreRepairSum',\n        originalKey: 'T9R_PreRepairSum',\n        label: '预计修理费总和',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_AddMater',\n        originalKey: 'T9R_AddMater',\n        label: '需增材料费',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_AddLabor',\n        originalKey: 'T9R_AddLabor',\n        label: '需增工时费',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_AddRepairSum',\n        originalKey: 'T9R_AddRepairSum',\n        label: '需增修理费总计',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_DateAlter',\n        originalKey: 'T9R_DateAlter',\n        label: '交付日期修订',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Detection',\n        originalKey: 'T9R_Detection',\n        label: '委托修理项目检验',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'T9R_Opinion',\n        originalKey: 'T9R_Opinion',\n        label: '提示和建议',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_PartPercen',\n        originalKey: 'T9R_PartPercen',\n        label: '材料百分比',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_ChassisID',\n        originalKey: 'T9R_ChassisID',\n        label: '车架号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_ReceiveID',\n        originalKey: 'T9R_ReceiveID',\n        label: '接待者id',\n      },\n    ],\n  },\n  {\n    name: 'T9eng_WorkHours',\n    originalKey: 'T9eng_WorkHours',\n    label: '工时表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9W_RepairId',\n        originalKey: 'T9W_RepairId',\n        label: '派单号',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9W_Content',\n        originalKey: 'T9W_Content',\n        label: '内容',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9W_Money',\n        originalKey: 'T9W_Money',\n        label: '工时总价',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9W_Price',\n        originalKey: 'T9W_Price',\n        label: '工时单价',\n      },\n      {\n        type: 'datetime',\n        name: 'T9W_WorkTime',\n        originalKey: 'T9W_WorkTime',\n        label: '工时',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9W_Class',\n        typeMeta: {\n          relationModel: 'T9_ClassGroup',\n          type: 'Relation',\n        },\n        label: '班组',\n      },\n    ],\n  },\n  {\n    name: 'T9_RepairParts',\n    originalKey: 'T9_RepairParts',\n    label: '维修配件表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_RepairId',\n        originalKey: 'T9P_RepairId',\n        label: '派单号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9P_Partsid',\n        typeMeta: {\n          relationModel: 'T9_PartManger',\n          type: 'Relation',\n        },\n        label: '配件名称',\n      },\n      {\n        type: 'int',\n        name: 'T9P_Number',\n        originalKey: 'T9P_Number',\n        label: '数量',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_ExpectPrice',\n        originalKey: 'T9P_ExpectPrice',\n        label: '预计单价费',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_ExpectAllCost',\n        originalKey: 'T9P_ExpectAllCost',\n        label: '预计总费用',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_RealPrice',\n        originalKey: 'T9P_RealPrice',\n        label: '实际单价费',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_RealAllCost',\n        originalKey: 'T9P_RealAllCost',\n        label: '实际总费用',\n      },\n    ],\n  },\n  {\n    name: 'T9_Car',\n    originalKey: 'T9_Car',\n    label: '汽车表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_LicenseMember',\n        originalKey: 'T9C_LicenseMember',\n        label: '车牌号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9C_CarType',\n        typeMeta: {\n          relationModel: 'T9_CarStyle',\n          type: 'Relation',\n        },\n        label: '车型',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Color',\n        originalKey: 'T9C_Color',\n        label: '颜色',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_CustomerId',\n        originalKey: 'T9C_CustomerId',\n        label: '车主ID',\n      },\n      {\n        type: 'datetime',\n        name: 'T9C_DateOfAcquistion',\n        originalKey: 'T9C_DateOfAcquistion',\n        label: '购置日期',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Journey',\n        originalKey: 'T9C_Journey',\n        label: '行程公里',\n      },\n    ],\n  },\n  {\n    name: 'T9_NewRepairParts',\n    originalKey: 'T9_NewRepairParts',\n    label: '新增维修配件表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_RepairId',\n        originalKey: 'T9P_RepairId',\n        label: '派单号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9P_PartsId',\n        typeMeta: {\n          relationModel: 'T9_PartManger',\n          type: 'Relation',\n        },\n        label: '配件名称',\n      },\n      {\n        type: 'int',\n        name: 'T9P_Number',\n        originalKey: 'T9P_Number',\n        label: '数量',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_ExpectPrice',\n        originalKey: 'T9P_ExpectPrice',\n        label: '预计单价费',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_ExpectAllCost',\n        originalKey: 'T9P_ExpectAllCost',\n        label: '预计总费用',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_RealPrice',\n        originalKey: 'T9P_RealPrice',\n        label: '实际单价费',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_RealAllCost',\n        originalKey: 'T9P_RealAllCost',\n        label: '实际总费用',\n      },\n    ],\n  },\n  {\n    name: 'T9_PartManger',\n    originalKey: 'T9_PartManger',\n    label: '配件管理表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'T9_PartsPrice',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_ID',\n        originalKey: 'T9P_ID',\n        label: '配件编号',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9P_Name',\n        originalKey: 'T9P_Name',\n        label: '配件名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_Unit',\n        originalKey: 'T9P_Unit',\n        label: '单位',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9P_Money',\n        originalKey: 'T9P_Money',\n        label: '金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9P_CarKind',\n        typeMeta: {\n          relationModel: 'T9_CarStyle',\n          type: 'Relation',\n        },\n        label: '车系',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9P_RemainMoney',\n        originalKey: 'T9P_RemainMoney',\n        label: '库存余额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarStyle',\n        originalKey: 'T9P_CarStyle',\n        label: '车型',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarBrand',\n        originalKey: 'T9P_CarBrand',\n        label: '车品牌',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_OriFactoryID',\n        originalKey: 'T9P_OriFactoryID',\n        label: '原厂编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_InventoryID',\n        originalKey: 'T9P_InventoryID',\n        label: '库存编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_GoodsID',\n        originalKey: 'T9P_GoodsID',\n        label: '货位编码',\n      },\n    ],\n  },\n  {\n    name: 'T9_Repairshops',\n    originalKey: 'T9_Repairshops',\n    label: '维修厂表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Name',\n        originalKey: 'T9R_Name',\n        label: '维修厂名称',\n      },\n      {\n        type: 'nvarchar(Max)',\n        name: 'T9R_Adress',\n        originalKey: 'T9R_Adress',\n        label: '维修厂地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Area',\n        originalKey: 'T9R_Area',\n        label: '所在区域',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_LinkMan',\n        originalKey: 'T9R_LinkMan',\n        label: '联系人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Tel',\n        originalKey: 'T9R_Tel',\n        label: '联系电话',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_ Facsimile',\n        originalKey: 'T9R_ Facsimile',\n        label: '传真',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Postalcode',\n        originalKey: 'T9R_Postalcode',\n        label: '邮政编码',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'T9R_Note',\n        originalKey: 'T9R_Note',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_GroupSign',\n        originalKey: 'T9R_GroupSign',\n        label: '组织标志',\n      },\n    ],\n  },\n  {\n    name: 'T9_Supplier',\n    originalKey: 'T9_Supplier',\n    label: '供应商表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_Name',\n        originalKey: 'T9S_Name',\n        label: '供应商名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_Brand',\n        originalKey: 'T9S_Brand',\n        label: '供应品牌',\n      },\n      {\n        type: 'nvarchar(Max)',\n        name: 'T9S_RepairAdress',\n        originalKey: 'T9S_RepairAdress',\n        label: '维修厂地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_Area',\n        originalKey: 'T9S_Area',\n        label: '所在区域',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_LinkMan',\n        originalKey: 'T9S_LinkMan',\n        label: '联系人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_Tel',\n        originalKey: 'T9S_Tel',\n        label: '联系电话',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_ Facsimile',\n        originalKey: 'T9S_ Facsimile',\n        label: '传真',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_Postalcode',\n        originalKey: 'T9S_Postalcode',\n        label: '邮政编码',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'T9S_Note',\n        originalKey: 'T9S_Note',\n        label: '备注',\n      },\n      {\n        type: 'vnarchar(50)',\n        name: 'T9S_GroupSign',\n        originalKey: 'T9S_GroupSign',\n        label: '组织标志',\n      },\n    ],\n  },\n  {\n    name: 'T9_CarStyle',\n    originalKey: 'T9_CarStyle',\n    label: '车型表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Name',\n        originalKey: 'T9C_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9C_SeriesID',\n        typeMeta: {\n          relationModel: 'T9_CarKind',\n          type: 'Relation',\n        },\n        label: '车系ID',\n      },\n    ],\n  },\n  {\n    name: 'T9_Procurement',\n    originalKey: 'T9_Procurement',\n    label: '竞价表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_RepairfactoryFID',\n        originalKey: 'T9P_RepairfactoryFID',\n        label: '维修厂FID',\n      },\n      {\n        type: 'nvarchar(Max)',\n        name: 'T9P_Adress',\n        originalKey: 'T9P_Adress',\n        label: '收货地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_LinkMan',\n        originalKey: 'T9P_LinkMan',\n        label: '收货人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_LinkTel',\n        originalKey: 'T9P_LinkTel',\n        label: '收人联系方式',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarStyleID',\n        originalKey: 'T9P_CarStyleID',\n        label: '车系ID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_PartName',\n        originalKey: 'T9P_PartName',\n        label: '配件ID',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'T9P_Note',\n        originalKey: 'T9P_Note',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_Num',\n        originalKey: 'T9P_Num',\n        label: '数量',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9P_finallyprice\\r\\nT9P_FinallyPirce',\n        originalKey: 'T9P_finallyprice\\r\\nT9P_FinallyPirce',\n        label: '最终成交价格',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9P_MinPrice',\n        originalKey: 'T9P_MinPrice',\n        label: '竞价最低价格',\n      },\n      {\n        type: 'int',\n        name: 'T9P_PriceState',\n        originalKey: 'T9P_PriceState',\n        label: '采购信息状态',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_SupplierID',\n        originalKey: 'T9P_SupplierID',\n        label: '供应商ID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarKind',\n        originalKey: 'T9P_CarKind',\n        label: '车系',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarStyle',\n        originalKey: 'T9P_CarStyle',\n        label: '车型',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarBrand',\n        originalKey: 'T9P_CarBrand',\n        label: '车品牌',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_PartUnit',\n        originalKey: 'T9P_PartUnit',\n        label: '配件单位',\n      },\n      {\n        name: 'T9P_finallyOnePrice',\n        originalKey: 'T9P_finallyOnePrice',\n        label: '最总单价',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_ServiceID',\n        originalKey: 'T9P_ServiceID',\n        label: '维修编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarID',\n        originalKey: 'T9P_CarID',\n        label: '汽车编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CustomerID',\n        originalKey: 'T9P_CustomerID',\n        label: '客户编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_OrderID',\n        originalKey: 'T9P_OrderID',\n        label: '订单号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_ChassisID',\n        originalKey: 'T9P_ChassisID',\n        label: '车架号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_LicenseID',\n        originalKey: 'T9P_LicenseID',\n        label: '车牌号',\n      },\n      {\n        type: 'ntext',\n        name: 'T9P_Picture',\n        originalKey: 'T9P_Picture',\n        label: '照片',\n      },\n    ],\n  },\n  {\n    name: 'T9_Bidding',\n    originalKey: 'T9_Bidding',\n    label: '报价表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'T9_Procurement',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_FID',\n        originalKey: 'T9P_FID',\n        label: '供应商FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9B_FID',\n        originalKey: 'T9B_FID',\n        label: '采购FID',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9B_Price',\n        originalKey: 'T9B_Price',\n        label: '竞价',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9B_Number',\n        originalKey: 'T9B_Number',\n        label: '数量',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9B_Money',\n        originalKey: 'T9B_Money',\n        label: '金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9B_WinBidding',\n        originalKey: 'T9B_WinBidding',\n        label: '是否中标',\n      },\n    ],\n  },\n  {\n    name: 'T9_ClassGroup',\n    originalKey: 'T9_ClassGroup',\n    label: '班组表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Name',\n        originalKey: 'T9C_Name',\n        label: '班组名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Sign',\n        originalKey: 'T9C_Sign',\n        label: '班组标识(英文名)',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9C_HourlyRate',\n        originalKey: 'T9C_HourlyRate',\n        label: '时薪',\n      },\n    ],\n  },\n  {\n    name: 'T9_CarKind',\n    originalKey: 'T9_CarKind',\n    label: '车系',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Kind',\n        originalKey: 'T9C_Kind',\n        label: '车系',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9C_BrandFID',\n        typeMeta: {\n          relationModel: 'T9_CarBrand',\n          type: 'Relation',\n        },\n        label: '品牌FID',\n      },\n    ],\n  },\n  {\n    name: 'T9_CarBrand',\n    originalKey: 'T9_CarBrand',\n    label: '车主品牌表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Brand',\n        originalKey: 'T9C_Brand',\n        label: '品牌名称',\n      },\n    ],\n  },\n  {\n    name: 'T9_PartsPrice',\n    originalKey: 'T9_PartsPrice',\n    label: '配件价格表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_FID',\n        originalKey: 'T9P_FID',\n        label: '配件FID',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9P_Price',\n        originalKey: 'T9P_Price',\n        label: '价格',\n      },\n      {\n        type: 'datetime',\n        name: 'T9P_UpdateTime',\n        originalKey: 'T9P_UpdateTime',\n        label: '更新时间',\n      },\n    ],\n  },\n  {\n    name: 'T9_Changebound',\n    originalKey: 'T9_Changebound',\n    label: '库存变动表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'T9_PartManger',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_PartID',\n        originalKey: 'T9C_PartID',\n        label: '配件ID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_PartKind',\n        originalKey: 'T9C_PartKind',\n        label: '配件分类',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_PartName',\n        originalKey: 'T9C_PartName',\n        label: '配件名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Measuringunit',\n        originalKey: 'T9C_Measuringunit',\n        label: '计量单位',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9C_Price',\n        originalKey: 'T9C_Price',\n        label: '采购价格',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Number',\n        originalKey: 'T9C_Number',\n        label: '采购数量',\n      },\n      {\n        type: 'int',\n        name: 'T9C_OperationKind',\n        originalKey: 'T9C_OperationKind',\n        label: '操作类型',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_RepairID',\n        originalKey: 'T9C_RepairID',\n        label: '维修单ID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_PurchaseID',\n        originalKey: 'T9C_PurchaseID',\n        label: '采购单Id',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_StartNum',\n        originalKey: 'T9C_StartNum',\n        label: '初始余额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_OnePrice',\n        originalKey: 'T9C_OnePrice',\n        label: '变动报价',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_EndNum',\n        originalKey: 'T9C_EndNum',\n        label: '最终数目',\n      },\n    ],\n  },\n  {\n    name: 'T9_StorageList',\n    originalKey: 'T9_StorageList',\n    label: '入库单',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_InFID',\n        originalKey: 'T9I_InFID',\n        label: '入库单号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_Supplier',\n        originalKey: 'T9I_Supplier',\n        label: '供应商',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_BillType',\n        originalKey: 'T9I_BillType',\n        label: '单据类型',\n      },\n      {\n        type: 'datetime',\n        name: 'T9I_InDateTime',\n        originalKey: 'T9I_InDateTime',\n        label: '入库日期',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_PayType',\n        originalKey: 'T9I_PayType',\n        label: '付款方式',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_Operator',\n        originalKey: 'T9I_Operator',\n        label: '经办人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_InType',\n        originalKey: 'T9I_InType',\n        label: '入库类型',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_CarLicense',\n        originalKey: 'T9I_CarLicense',\n        label: '车牌号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_ChassisNumber',\n        originalKey: 'T9I_ChassisNumber',\n        label: '车架号',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_ToalPrice',\n        originalKey: 'T9I_ToalPrice',\n        label: '合计金额',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_Rate',\n        originalKey: 'T9I_Rate',\n        label: '税率',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_TaxRate',\n        originalKey: 'T9I_TaxRate',\n        label: '税额',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_TaxAmount',\n        originalKey: 'T9I_TaxAmount',\n        label: '含税金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_WarehouseKeeper',\n        originalKey: 'T9I_WarehouseKeeper',\n        label: '仓管',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_Audit',\n        originalKey: 'T9I_Audit',\n        label: '审核',\n      },\n    ],\n  },\n  {\n    name: 'T9_StorageListDetail',\n    originalKey: 'T9_StorageListDetail',\n    label: '入库明细',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_InFID',\n        originalKey: 'T9I_InFID',\n        label: '入库单号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_PartFID',\n        originalKey: 'T9I_PartFID',\n        label: '商品编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_PartName',\n        originalKey: 'T9I_PartName',\n        label: '商品名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_Model',\n        originalKey: 'T9I_Model',\n        label: '型号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_Unit',\n        originalKey: 'T9I_Unit',\n        label: '单位',\n      },\n      {\n        type: 'int',\n        name: 'T9I_Number',\n        originalKey: 'T9I_Number',\n        label: '数量',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_OnePrice',\n        originalKey: 'T9I_OnePrice',\n        label: '单价',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_Price',\n        originalKey: 'T9I_Price',\n        label: '金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_ProductClass',\n        originalKey: 'T9I_ProductClass',\n        label: '产品类别',\n      },\n    ],\n  },\n  {\n    name: 'T9_DeliveryOrder',\n    originalKey: 'T9_DeliveryOrder',\n    label: '出库单',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_BoundID',\n        originalKey: 'T9O_BoundID',\n        label: '出库单号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_ClientName',\n        originalKey: 'T9O_ClientName',\n        label: '客户名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Type',\n        originalKey: 'T9O_Type',\n        label: '类型',\n      },\n      {\n        type: 'datetime',\n        name: 'T9O_OutDate',\n        originalKey: 'T9O_OutDate',\n        label: '出库日期',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Dispatch',\n        originalKey: 'T9O_Dispatch',\n        label: '派单编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_ChargeName',\n        originalKey: 'T9O_ChargeName',\n        label: '经办人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Class',\n        originalKey: 'T9O_Class',\n        label: '领班班组',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Note',\n        originalKey: 'T9O_Note',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_CarNumber',\n        originalKey: 'T9O_CarNumber',\n        label: '车牌号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Amount',\n        originalKey: 'T9O_Amount',\n        label: '合计金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_BoundManger',\n        originalKey: 'T9O_BoundManger',\n        label: '仓管',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Reviewer',\n        originalKey: 'T9O_Reviewer',\n        label: '审核人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Pick',\n        originalKey: 'T9O_Pick',\n        label: '领料',\n      },\n    ],\n  },\n  {\n    name: 'T9_DeliveryOrderDetail',\n    originalKey: 'T9_DeliveryOrderDetail',\n    label: '出库明细表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_FID',\n        originalKey: 'T9C_FID',\n        label: '出库单号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9D_PartID',\n        originalKey: 'T9D_PartID',\n        label: '商品编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9D_PartName',\n        originalKey: 'T9D_PartName',\n        label: '商品名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9D_Type',\n        originalKey: 'T9D_Type',\n        label: '型号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9D_Num',\n        originalKey: 'T9D_Num',\n        label: '数量',\n      },\n      {\n        type: 'nvarchar(50))',\n        name: 'T9D_Unit',\n        originalKey: 'T9D_Unit',\n        label: '单位',\n      },\n      {\n        type: 'decimarl(18,4)',\n        name: 'T9D_Price',\n        originalKey: 'T9D_Price',\n        label: '单价',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9D_Money',\n        originalKey: 'T9D_Money',\n        label: '金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9D_Bound',\n        originalKey: 'T9D_Bound',\n        label: '仓库',\n      },\n    ],\n  },\n]\n"
  },
  {
    "path": "packages/web-pdm-core/test/g6-test/mock/module-test.ts",
    "content": "export default [\n    {\n        name: 'finance',\n        label: '金融'\n    },\n    {\n        name: 'ERP',\n        label: '进销存'\n    },\n    {\n        label: '汽修',\n        name: 'T9engSQ'\n    }\n]\n"
  },
  {
    "path": "packages/web-pdm-core/test/g6-test/with-field-relation/model-test.ts",
    "content": "export default [\n    {\n        name: 'bd_Quota_Apply',\n        label: '额度申请',\n        module: 'finance',\n        fields: [\n            {\n                name: 'FlowNumber',\n                label: '流水号',\n                typeMeta:\n                {\n                    relationModel: 'bd_PayInfo',\n                    field: 'FlowNumber2',\n                    type: 'Relation'\n                }\n\n            },\n            {\n                name: 'AcceptBank',\n                label: '承兑行'\n            },\n            {\n                name: 'Amount',\n                label: '金额',\n                typeMeta: [\n                    {\n                        relationModel: 'bd_PayInfo',\n                        field: 'FID',\n                        type: 'Relation'\n                    },\n                    {\n                        relationModel: 'bd_PayInfo',\n                        field: 'FlowNumber2',\n                        type: 'Relation'\n                    }\n                ]\n            }\n        ]\n    },\n    {\n        name: 'bd_PayInfo',\n        label: '打款信息',\n        module: 'finance',\n        fields: [\n            {\n                name: 'FID',\n                label: 'FID'\n            },\n            {\n                name: 'FlowNumber',\n                label: '流水号'\n            },\n            {\n                name: 'FlowNumber2',\n                label: '流水号'\n            },\n            {\n                name: 'FlowNumber3',\n                label: '流水号'\n            }\n        ]\n    }\n]\n"
  },
  {
    "path": "packages/web-pdm-core/test/g6-test/with-field-relation/module-test.ts",
    "content": "export default [\n    {\n        name: 'finance',\n        label: '金融'\n    },\n    {\n        name: 'ERP',\n        label: '进销存'\n    },\n    {\n        label: '汽修',\n        name: 'T9engSQ'\n    }\n]\n"
  },
  {
    "path": "packages/web-pdm-core/test/index.tsx",
    "content": "import './mst'\n"
  },
  {
    "path": "packages/web-pdm-core/test/mst/index.tsx",
    "content": "import React from 'react'\nimport ReactDom from 'react-dom'\nimport ModelTest from '../g6-test/mock/model-test'\nimport ModuleTest from '../g6-test/mock/module-test'\nimport { Input, Button, Dropdown, Menu, Select, Tooltip, Popover } from 'antd'\nimport {\n    // FileMarkdownOutlined,\n    ReloadOutlined,\n    // CloseCircleFilled,\n    PictureOutlined,\n    PictureFilled,\n    SnippetsFilled,\n    SnippetsOutlined,\n    DownloadOutlined,\n    PartitionOutlined,\n    UngroupOutlined,\n    RollbackOutlined,\n    BgColorsOutlined,\n    // UnlockOutlined,\n    // LockOutlined,\n    ZoomOutOutlined,\n    ZoomInOutlined,\n    BorderOutlined,\n    // ArrowUpOutlined,\n    // ArrowDownOutlined,\n    // ArrowLeftOutlined,\n    // ArrowRightOutlined,\n    // RetweetOutlined\n} from '@ant-design/icons'\nimport { Tree } from '../tree'\n// import ModelTest from '../g6-test/with-field-relation/model-test'\n// import ModuleTest from '../g6-test/with-field-relation/module-test'\nimport WebPdm from '../../src'\n\n// import CodePdm from '../../../../docs/type-erd'\n// import { toModels, toModules } from '../g6-test/trantor/datamap'\n// import TestModel from '../g6-test/trantor/mock/models-data.json'\n// import TestModule from '../g6-test/trantor/mock/modules-data.json'\n// import ModelTest from '../g6-test/trantor/gw/model.json'\n// import ModuleTest from '../g6-test/trantor/gw/module.json'\n// import TestModel from '../g6-test/trantor/model'\n// import TestModule from '../g6-test/trantor/module'\n\nimport './style.less'\n\n// const models = toModels(TestModel.res.map(a => a.model))\n// const modules = toModules(TestModule.res)\n\nconst models = ModelTest\nconst modules = ModuleTest\n\nfunction confirmEnding(str, target) {\n    if (str.substr(str.length - target.length, target.length) == target)\n        return true\n    else return false\n}\n\nconst onIgnoreEdge = field => {\n    return (\n        field?.typeMeta?.relationModel === 'base_User' &&\n        (confirmEnding(field.name, 'createdBy') ||\n            confirmEnding(field.name, 'updatedBy'))\n    )\n}\nconst onReload = () => {\n    return {\n        models,\n        modules\n    }\n}\nconst onIntl = a => {\n    return ''\n}\nconst IconRenders = {\n\n    undo: <RollbackOutlined />,\n    redo: <RollbackOutlined style={{ transform: 'scaleX(-1)' }} />,\n    min: <ZoomOutOutlined />,\n    max: <ZoomInOutlined />,\n    full: <BorderOutlined />,\n    miniMap: <PictureFilled />,\n    miniMapNo: <PictureOutlined />,\n    dagreLayout: <PartitionOutlined />,\n    relationLayout: <UngroupOutlined />,\n    reload: <ReloadOutlined />,\n    image: <DownloadOutlined />,\n    darkness: <SnippetsFilled />,\n    light: <SnippetsOutlined />,\n    colorClose: <BgColorsOutlined />,\n    colorOpen: <BgColorsOutlined />\n}\n\nexport const TestWebPdm = () => {\n    return <WebPdm\n        components={{ Input, Button, Dropdown, Menu, Select, Tooltip, Tree, Popover }}\n        themeColor='green'\n        darkness={false}\n        models={models}\n        modules={modules}\n        erdkey={'demo'}\n        onIntl={onIntl}\n        onlyMode={false}\n        // disableIcons={['full', 'reload']}\n        IconRenders={{\n            ...IconRenders,\n            image: <Button size=\"small\" >下载11133311www</Button>,\n            miniMap: <Button size=\"small\" >显示小地图</Button>,\n            miniMapNo: <Button size=\"small\" >屏蔽小地图</Button>,\n\n        }}\n        // intl='EN'\n        onReload={onReload}\n        onModelDetail={a => {\n            alert(`打开模型${a.label}(${a.name}) 的查看链接`)\n        }}\n        onIgnoreEdge={onIgnoreEdge}\n    />\n}\n\nexport const TestInit = () => { \n    ReactDom.render(<TestWebPdm></TestWebPdm>, document.getElementById('app') || document.getElementById('root'))\n}\n\n"
  },
  {
    "path": "packages/web-pdm-core/test/mst/style.less",
    "content": "#app {\n    height: 100%;\n}\n"
  },
  {
    "path": "packages/web-pdm-core/test/tree/index.tsx",
    "content": "import { Dropdown, Menu, Tree as AntTree } from 'antd'\nimport React, { useState, useCallback } from 'react'\n// import 'antd/dist/antd.less'\nimport './style.scss'\n// const click = () => alert()\nconst OptionBuilder = ({ data }) => {\n    const { title, options = [] } = data\n    const [showMenu, setShowMenu] = useState(false)\n    const onShowMenu = useCallback(\n        val => () => {\n            setShowMenu(val)\n        },\n        []\n    )\n\n    const menu = (\n        <Menu>\n            {options.map(option => {\n                return (\n                    <Menu.Item key={option}>\n                        <a onClick={option.click}>{option.title}</a>\n                    </Menu.Item>\n                )\n            })}\n        </Menu>\n    )\n    return (\n        <div\n            className='tree-node-title'\n            onMouseEnter={onShowMenu(true)}\n            \n            // onMouseLeave={onShowMenu(false)}\n        >\n            <span className='tree-node-title-title'>{title}</span>\n            {!!options.length && showMenu && (\n                <Dropdown overlay={menu}>\n                    <span className='tree-node-title-options'>...</span>\n                </Dropdown>\n            )}\n        </div>\n    )\n}\n// alert()\nAntTree['OptionBuilder'] = OptionBuilder\n\nexport const Tree: any = AntTree\n"
  },
  {
    "path": "packages/web-pdm-core/test/tree/style.scss",
    "content": ".navitree-warp {\n    .tree-node-title {\n        display: flex;\n    }\n    .tree-node-title-title {\n        flex: 1;\n    }\n\n    // .tree-node-title-options {\n    //   // padding-right: 40px;\n    //   display: none;\n    // }\n    div.tree-node-title-options:hover {\n        display: block;\n        color: red;\n    }\n\n    .ant-tree-node-content-wrapper {\n        width: 100%;\n    }\n}\n"
  },
  {
    "path": "packages/web-pdm-core/tsconfig.json",
    "content": "{\n    \"compilerOptions\": {\n        \"module\": \"esnext\",\n        \"target\": \"es2018\",\n        \"lib\": [\n            \"dom\",\n            \"es6\"\n        ],\n        \"moduleResolution\": \"node\",\n        \"importHelpers\": true,\n        \"jsx\": \"react\",\n        \"esModuleInterop\": true,\n        \"experimentalDecorators\": true,\n        \"declaration\": true,\n        \"sourceMap\": true,\n        \"baseUrl\": \".\",\n        \"allowSyntheticDefaultImports\": true,\n        \"resolveJsonModule\": true,\n        \"allowJs\": true,\n        \"noUnusedParameters\": true,\n        \"noUnusedLocals\": true,\n        \"downlevelIteration\": true,\n        \"emitDecoratorMetadata\": true,\n        \"allowUnreachableCode\": true,\n        \"strictNullChecks\": true,\n        \"forceConsistentCasingInFileNames\": true,\n        \"isolatedModules\": false,\n        \"preserveSymlinks\": true\n    },\n    \"include\": [\n        \"src/**/*\"\n    ],\n    \"exclude\": [\n        \"node_modules\",\n        \"es\",\n        \"dist\",\n        \"webconfig.config.js\",\n        \"test\"\n    ]\n}"
  },
  {
    "path": "packages/web-pdm-lib/.fatherrc.js",
    "content": "// const fs = require('fs')\n// const nodePath = require('path')\n// import typescript from 'rollup-plugin-typescript2';\n// const extraBabelPlugins = [\n//     [\n//         'babel-plugin-import',\n//         {\n//             libraryName: 'antd',\n//             libraryDirectory: 'es',\n//             style: 'css'\n//         },\n//         'antd'\n//     ]\n// ]\nexport default {\n  esm: {},\n  cjs: {},\n  // extractCSS: true,\n  // extraBabelPlugins\n};\n"
  },
  {
    "path": "packages/web-pdm-lib/.gitignore",
    "content": "node_modules\n/dist\n.dumi/tmp\n.dumi/tmp-test\n.dumi/tmp-production\n.DS_Store\n"
  },
  {
    "path": "packages/web-pdm-lib/dist/cjs/index.d.ts",
    "content": "import WebPdm from './out';\nexport * from './out';\nexport default WebPdm;\n"
  },
  {
    "path": "packages/web-pdm-lib/dist/cjs/index.js",
    "content": "var __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n  // If the importer is in node compatibility mode or this is not an ESM\n  // file that has been converted to a CommonJS file using a Babel-\n  // compatible transform (i.e. \"__esModule\" has not been set), then set\n  // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n  isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n  mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar src_exports = {};\n__export(src_exports, {\n  default: () => src_default\n});\nmodule.exports = __toCommonJS(src_exports);\nvar import_out = __toESM(require(\"./out\"));\n__reExport(src_exports, require(\"./out\"), module.exports);\nvar src_default = import_out.default;\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {});\n"
  },
  {
    "path": "packages/web-pdm-lib/dist/cjs/out.d.ts",
    "content": "import React from 'react';\nexport * from 'web-pdm-core';\nimport { IWebPdmProps } from 'web-pdm-core';\ndeclare const WebPdm: React.FunctionComponent<IWebPdmProps>;\nexport default WebPdm;\n"
  },
  {
    "path": "packages/web-pdm-lib/dist/cjs/out.js",
    "content": "var __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n  // If the importer is in node compatibility mode or this is not an ESM\n  // file that has been converted to a CommonJS file using a Babel-\n  // compatible transform (i.e. \"__esModule\" has not been set), then set\n  // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n  isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n  mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/out.tsx\nvar out_exports = {};\n__export(out_exports, {\n  default: () => out_default\n});\nmodule.exports = __toCommonJS(out_exports);\nvar import_react = __toESM(require(\"react\"));\n__reExport(out_exports, require(\"web-pdm-core\"), module.exports);\nvar import_web_pdm_core = __toESM(require(\"web-pdm-core\"));\nvar import_antd = require(\"antd\");\nvar import_icons = require(\"@ant-design/icons\");\nvar import_tree = require(\"./tree\");\nvar IconRenders = {\n  undo: /* @__PURE__ */ import_react.default.createElement(import_icons.RollbackOutlined, null),\n  redo: /* @__PURE__ */ import_react.default.createElement(import_icons.RollbackOutlined, { style: { transform: \"scaleX(-1)\" } }),\n  min: /* @__PURE__ */ import_react.default.createElement(import_icons.ZoomOutOutlined, null),\n  max: /* @__PURE__ */ import_react.default.createElement(import_icons.ZoomInOutlined, null),\n  full: /* @__PURE__ */ import_react.default.createElement(import_icons.BorderOutlined, null),\n  miniMap: /* @__PURE__ */ import_react.default.createElement(import_icons.PictureFilled, null),\n  miniMapNo: /* @__PURE__ */ import_react.default.createElement(import_icons.PictureOutlined, null),\n  dagreLayout: /* @__PURE__ */ import_react.default.createElement(import_icons.PartitionOutlined, null),\n  relationLayout: /* @__PURE__ */ import_react.default.createElement(import_icons.UngroupOutlined, null),\n  reload: /* @__PURE__ */ import_react.default.createElement(import_icons.ReloadOutlined, null),\n  image: /* @__PURE__ */ import_react.default.createElement(import_icons.DownloadOutlined, null),\n  darkness: /* @__PURE__ */ import_react.default.createElement(import_icons.SnippetsFilled, null),\n  light: /* @__PURE__ */ import_react.default.createElement(import_icons.SnippetsOutlined, null),\n  colorClose: /* @__PURE__ */ import_react.default.createElement(import_icons.BgColorsOutlined, null),\n  colorOpen: /* @__PURE__ */ import_react.default.createElement(import_icons.BgColorsOutlined, null)\n};\nvar WebPdm = (props) => {\n  return /* @__PURE__ */ import_react.default.createElement(\n    import_web_pdm_core.default,\n    {\n      IconRenders,\n      components: { Input: import_antd.Input, Button: import_antd.Button, Dropdown: import_antd.Dropdown, Menu: import_antd.Menu, Select: import_antd.Select, Tooltip: import_antd.Tooltip, Tree: import_tree.Tree, Popover: import_antd.Popover },\n      ...props\n    }\n  );\n};\nvar out_default = WebPdm;\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {});\n"
  },
  {
    "path": "packages/web-pdm-lib/dist/cjs/tree/index.d.ts",
    "content": "import './style.scss';\nexport declare const Tree: any;\n"
  },
  {
    "path": "packages/web-pdm-lib/dist/cjs/tree/index.js",
    "content": "var __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n  // If the importer is in node compatibility mode or this is not an ESM\n  // file that has been converted to a CommonJS file using a Babel-\n  // compatible transform (i.e. \"__esModule\" has not been set), then set\n  // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n  isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n  mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/tree/index.tsx\nvar tree_exports = {};\n__export(tree_exports, {\n  Tree: () => Tree\n});\nmodule.exports = __toCommonJS(tree_exports);\nvar import_antd = require(\"antd\");\nvar import_react = __toESM(require(\"react\"));\nvar import_style = require(\"./style.scss\");\nvar OptionBuilder = ({ data }) => {\n  const { title, options = [] } = data;\n  const [showMenu, setShowMenu] = (0, import_react.useState)(false);\n  const onShowMenu = (0, import_react.useCallback)(\n    (val) => () => {\n      setShowMenu(val);\n    },\n    []\n  );\n  const menu = /* @__PURE__ */ import_react.default.createElement(import_antd.Menu, null, options.map((option) => {\n    return /* @__PURE__ */ import_react.default.createElement(import_antd.Menu.Item, { key: option }, /* @__PURE__ */ import_react.default.createElement(\"a\", { onClick: option.click }, option.title));\n  }));\n  return /* @__PURE__ */ import_react.default.createElement(\n    \"div\",\n    {\n      className: \"tree-node-title\",\n      onMouseEnter: onShowMenu(true),\n      onMouseLeave: onShowMenu(false)\n    },\n    /* @__PURE__ */ import_react.default.createElement(\"span\", { className: \"tree-node-title-title\" }, title),\n    !!options.length && showMenu && /* @__PURE__ */ import_react.default.createElement(import_antd.Dropdown, { overlay: menu }, /* @__PURE__ */ import_react.default.createElement(\"span\", { className: \"tree-node-title-options\" }, \"...\"))\n  );\n};\nimport_antd.Tree[\"OptionBuilder\"] = OptionBuilder;\nvar Tree = import_antd.Tree;\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n  Tree\n});\n"
  },
  {
    "path": "packages/web-pdm-lib/dist/cjs/tree/style.scss",
    "content": ".navitree-warp {\n    .tree-node-title {\n        display: flex;\n    }\n    .tree-node-title-title {\n        flex: 1;\n    }\n\n    // .tree-node-title-options {\n    //   // padding-right: 40px;\n    //   display: none;\n    // }\n    div.tree-node-title-options:hover {\n        display: block;\n        color: red;\n    }\n\n    .ant-tree-node-content-wrapper {\n        width: 100%;\n    }\n}\n"
  },
  {
    "path": "packages/web-pdm-lib/dist/esm/index.d.ts",
    "content": "import WebPdm from './out';\nexport * from './out';\nexport default WebPdm;\n"
  },
  {
    "path": "packages/web-pdm-lib/dist/esm/index.js",
    "content": "import WebPdm from \"./out\";\nexport * from \"./out\";\nexport default WebPdm;"
  },
  {
    "path": "packages/web-pdm-lib/dist/esm/out.d.ts",
    "content": "import React from 'react';\nexport * from 'web-pdm-core';\nimport { IWebPdmProps } from 'web-pdm-core';\ndeclare const WebPdm: React.FunctionComponent<IWebPdmProps>;\nexport default WebPdm;\n"
  },
  {
    "path": "packages/web-pdm-lib/dist/esm/out.js",
    "content": "function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nimport React from 'react';\nexport * from 'web-pdm-core';\nimport WebPdmCore from 'web-pdm-core';\nimport { Input, Button, Dropdown, Menu, Select, Tooltip, Popover } from 'antd';\nimport {\n// FileMarkdownOutlined,\nReloadOutlined,\n// CloseCircleFilled,\nPictureOutlined, PictureFilled, SnippetsFilled, SnippetsOutlined, DownloadOutlined, PartitionOutlined, UngroupOutlined, RollbackOutlined, BgColorsOutlined,\n// UnlockOutlined,\n// LockOutlined,\nZoomOutOutlined, ZoomInOutlined, BorderOutlined\n// ArrowUpOutlined,\n// ArrowDownOutlined,\n// ArrowLeftOutlined,\n// ArrowRightOutlined,\n// RetweetOutlined\n} from '@ant-design/icons';\nimport { Tree } from \"./tree\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nvar IconRenders = {\n  undo: /*#__PURE__*/_jsx(RollbackOutlined, {}),\n  redo: /*#__PURE__*/_jsx(RollbackOutlined, {\n    style: {\n      transform: 'scaleX(-1)'\n    }\n  }),\n  min: /*#__PURE__*/_jsx(ZoomOutOutlined, {}),\n  max: /*#__PURE__*/_jsx(ZoomInOutlined, {}),\n  full: /*#__PURE__*/_jsx(BorderOutlined, {}),\n  miniMap: /*#__PURE__*/_jsx(PictureFilled, {}),\n  miniMapNo: /*#__PURE__*/_jsx(PictureOutlined, {}),\n  dagreLayout: /*#__PURE__*/_jsx(PartitionOutlined, {}),\n  relationLayout: /*#__PURE__*/_jsx(UngroupOutlined, {}),\n  reload: /*#__PURE__*/_jsx(ReloadOutlined, {}),\n  image: /*#__PURE__*/_jsx(DownloadOutlined, {}),\n  darkness: /*#__PURE__*/_jsx(SnippetsFilled, {}),\n  light: /*#__PURE__*/_jsx(SnippetsOutlined, {}),\n  colorClose: /*#__PURE__*/_jsx(BgColorsOutlined, {}),\n  colorOpen: /*#__PURE__*/_jsx(BgColorsOutlined, {})\n};\nvar WebPdm = function WebPdm(props) {\n  return /*#__PURE__*/_jsx(WebPdmCore, _objectSpread({\n    IconRenders: IconRenders,\n    components: {\n      Input: Input,\n      Button: Button,\n      Dropdown: Dropdown,\n      Menu: Menu,\n      Select: Select,\n      Tooltip: Tooltip,\n      Tree: Tree,\n      Popover: Popover\n    }\n  }, props));\n};\nexport default WebPdm;"
  },
  {
    "path": "packages/web-pdm-lib/dist/esm/tree/index.d.ts",
    "content": "import './style.scss';\nexport declare const Tree: any;\n"
  },
  {
    "path": "packages/web-pdm-lib/dist/esm/tree/index.js",
    "content": "function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nimport { Dropdown, Menu, Tree as AntTree } from 'antd';\nimport React, { useState, useCallback } from 'react';\n// import 'antd/dist/antd.less'\nimport \"./style.scss\";\n// const click = () => alert()\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nvar OptionBuilder = function OptionBuilder(_ref) {\n  var data = _ref.data;\n  var title = data.title,\n    _data$options = data.options,\n    options = _data$options === void 0 ? [] : _data$options;\n  var _useState = useState(false),\n    _useState2 = _slicedToArray(_useState, 2),\n    showMenu = _useState2[0],\n    setShowMenu = _useState2[1];\n  var onShowMenu = useCallback(function (val) {\n    return function () {\n      setShowMenu(val);\n    };\n  }, []);\n  var menu = /*#__PURE__*/_jsx(Menu, {\n    children: options.map(function (option) {\n      return /*#__PURE__*/_jsx(Menu.Item, {\n        children: /*#__PURE__*/_jsx(\"a\", {\n          onClick: option.click,\n          children: option.title\n        })\n      }, option);\n    })\n  });\n  return /*#__PURE__*/_jsxs(\"div\", {\n    className: \"tree-node-title\",\n    onMouseEnter: onShowMenu(true),\n    onMouseLeave: onShowMenu(false),\n    children: [/*#__PURE__*/_jsx(\"span\", {\n      className: \"tree-node-title-title\",\n      children: title\n    }), !!options.length && showMenu && /*#__PURE__*/_jsx(Dropdown, {\n      overlay: menu,\n      children: /*#__PURE__*/_jsx(\"span\", {\n        className: \"tree-node-title-options\",\n        children: \"...\"\n      })\n    })]\n  });\n};\n// alert()\nAntTree['OptionBuilder'] = OptionBuilder;\nexport var Tree = AntTree;"
  },
  {
    "path": "packages/web-pdm-lib/dist/esm/tree/style.scss",
    "content": ".navitree-warp {\n    .tree-node-title {\n        display: flex;\n    }\n    .tree-node-title-title {\n        flex: 1;\n    }\n\n    // .tree-node-title-options {\n    //   // padding-right: 40px;\n    //   display: none;\n    // }\n    div.tree-node-title-options:hover {\n        display: block;\n        color: red;\n    }\n\n    .ant-tree-node-content-wrapper {\n        width: 100%;\n    }\n}\n"
  },
  {
    "path": "packages/web-pdm-lib/package.json",
    "content": "{\n  \"name\": \"web-pdm\",\n  \"version\": \"0.3.11\",\n  \"description\": \"\",\n  \"license\": \"ISC\",\n  \"author\": \"\",\n  \"main\": \"dist/cjs\",\n  \"module\": \"dist/esm\",\n  \"scripts\": {\n    \"build\": \"rm -rf dist && father build\",\n    \"publish-npm:patch\": \"npm run build ; npm version patch && git commit -m 'chore: publish new ' && pnpm publish --registry=https://registry.npmjs.org && cnpm sync web-pdm-core\",\n    \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\"\n  },\n  \"dependencies\": {\n    \"@ant-design/icons\": \"^5.0.1\",\n    \"antd\": \"^5.3.2\",\n    \"web-pdm-core\": \"workspace:*\"\n  },\n  \"devDependencies\": {\n    \"father\": \"^4.1.0\"\n  }\n}\n"
  },
  {
    "path": "packages/web-pdm-lib/src/index.ts",
    "content": "import WebPdm from './out'\nexport * from './out'\nexport default WebPdm\n"
  },
  {
    "path": "packages/web-pdm-lib/src/out.tsx",
    "content": "import React from 'react'\nexport * from 'web-pdm-core'\nimport { IWebPdmProps } from 'web-pdm-core'\nimport WebPdmCore from 'web-pdm-core'\nimport { Input, Button, Dropdown, Menu, Select, Tooltip, Popover } from 'antd'\nimport {\n    // FileMarkdownOutlined,\n    ReloadOutlined,\n    // CloseCircleFilled,\n    PictureOutlined,\n    PictureFilled,\n    SnippetsFilled,\n    SnippetsOutlined,\n    DownloadOutlined,\n    PartitionOutlined,\n    UngroupOutlined,\n    RollbackOutlined,\n    BgColorsOutlined,\n    // UnlockOutlined,\n    // LockOutlined,\n    ZoomOutOutlined,\n    ZoomInOutlined,\n    BorderOutlined,\n    // ArrowUpOutlined,\n    // ArrowDownOutlined,\n    // ArrowLeftOutlined,\n    // ArrowRightOutlined,\n    // RetweetOutlined\n} from '@ant-design/icons'\nimport { Tree } from './tree'\n\nconst IconRenders = {\n\n    undo: <RollbackOutlined />,\n    redo: <RollbackOutlined style={{ transform: 'scaleX(-1)' }} />,\n    min: <ZoomOutOutlined />,\n    max: <ZoomInOutlined />,\n    full: <BorderOutlined />,\n    miniMap: <PictureFilled />,\n    miniMapNo: <PictureOutlined />,\n    dagreLayout: <PartitionOutlined />,\n    relationLayout: <UngroupOutlined />,\n    reload: <ReloadOutlined />,\n    image: <DownloadOutlined />,\n    darkness: <SnippetsFilled />,\n    light: <SnippetsOutlined />,\n    colorClose: <BgColorsOutlined />,\n    colorOpen: <BgColorsOutlined />\n}\n\nconst WebPdm: React.FunctionComponent<IWebPdmProps> = (props) => {\n    return <WebPdmCore\n        IconRenders={IconRenders}\n        components={{ Input, Button, Dropdown, Menu, Select, Tooltip, Tree, Popover }}\n        {...props} />\n}\nexport default WebPdm"
  },
  {
    "path": "packages/web-pdm-lib/src/tree/index.tsx",
    "content": "import { Dropdown, Menu, Tree as AntTree } from 'antd'\nimport React, { useState, useCallback } from 'react'\n// import 'antd/dist/antd.less'\nimport './style.scss'\n// const click = () => alert()\nconst OptionBuilder = ({ data }) => {\n    const { title, options = [] } = data\n    const [showMenu, setShowMenu] = useState(false)\n    const onShowMenu = useCallback(\n        val => () => {\n            setShowMenu(val)\n        },\n        []\n    )\n\n    const menu = (\n        <Menu>\n            {options.map(option => {\n                return (\n                    <Menu.Item key={option}>\n                        <a onClick={option.click}>{option.title}</a>\n                    </Menu.Item>\n                )\n            })}\n        </Menu>\n    )\n    return (\n        <div\n            className='tree-node-title'\n            onMouseEnter={onShowMenu(true)}\n            onMouseLeave={onShowMenu(false)}\n        >\n            <span className='tree-node-title-title'>{title}</span>\n            {!!options.length && showMenu && (\n                <Dropdown overlay={menu}>\n                    <span className='tree-node-title-options'>...</span>\n                </Dropdown>\n            )}\n        </div>\n    )\n}\n// alert()\nAntTree['OptionBuilder'] = OptionBuilder\n\nexport const Tree: any = AntTree\n"
  },
  {
    "path": "packages/web-pdm-lib/src/tree/style.scss",
    "content": ".navitree-warp {\n    .tree-node-title {\n        display: flex;\n    }\n    .tree-node-title-title {\n        flex: 1;\n    }\n\n    // .tree-node-title-options {\n    //   // padding-right: 40px;\n    //   display: none;\n    // }\n    div.tree-node-title-options:hover {\n        display: block;\n        color: red;\n    }\n\n    .ant-tree-node-content-wrapper {\n        width: 100%;\n    }\n}\n"
  },
  {
    "path": "packages/web-pdm-lib/test/g6-test/mock/model-test.ts",
    "content": "export default [\n  {\n    name: 'bd_Quota_Apply',\n    originalKey: 'bd_Quota_Apply',\n    label: '额度申请',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '流水号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ApplyUserId',\n        originalKey: 'ApplyUserId',\n        label: '申请人',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'AcceptBank',\n        originalKey: 'AcceptBank',\n        label: '承兑行',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Amount',\n        originalKey: 'Amount',\n        label: '金额',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Price',\n        originalKey: 'Price',\n        label: '报价',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'PriceType',\n        originalKey: 'PriceType',\n        label: '报价类别',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'BankType',\n        originalKey: 'BankType',\n        label: '承兑行类别',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'Acceptkind',\n        originalKey: 'Acceptkind',\n        label: '承兑方式',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'Remark',\n        originalKey: 'Remark',\n        label: '备注',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '申请时间',\n      },\n      {\n        type: 'int',\n        name: 'Status',\n        originalKey: 'Status',\n        label: '状态',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ApproveUserId',\n        originalKey: 'ApproveUserId',\n        label: '审批人',\n      },\n    ],\n  },\n  {\n    name: 'bd_PayInfo',\n    originalKey: 'bd_PayInfo',\n    label: '打款信息',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'bd_Pay_Apply',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '流水号',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'TotalAmount',\n        originalKey: 'TotalAmount',\n        label: '总金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'InvoiceBank',\n        originalKey: 'InvoiceBank',\n        label: '开票行',\n      },\n      {\n        type: 'datetime',\n        name: 'ExpireDate',\n        originalKey: 'ExpireDate',\n        label: '到期日',\n      },\n      {\n        type: 'int',\n        name: 'DiscountDays',\n        originalKey: 'DiscountDays',\n        label: '贴现天数',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'DiscountInterest',\n        originalKey: 'DiscountInterest',\n        label: '贴现利息',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'PriceRate',\n        originalKey: 'PriceRate',\n        label: '报价利率',\n      },\n      {\n        type: 'int',\n        name: 'PriceType',\n        originalKey: 'PriceType',\n        label: '报价类别',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'PayRate',\n        originalKey: 'PayRate',\n        label: '打款利率',\n      },\n      {\n        type: 'int',\n        name: 'PayType',\n        originalKey: 'PayType',\n        label: '打款类别',\n      },\n      {\n        type: 'int',\n        name: 'PaperCount',\n        originalKey: 'PaperCount',\n        label: '张数',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Commissions',\n        originalKey: 'Commissions',\n        label: '手续费',\n      },\n      {\n        type: 'int',\n        name: 'CommissionsType',\n        originalKey: 'CommissionsType',\n        label: '手续费类别',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'PayAmount',\n        originalKey: 'PayAmount',\n        label: '划款金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'Payee',\n        originalKey: 'Payee',\n        label: '收款单位',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'PayeeAccount',\n        originalKey: 'PayeeAccount',\n        label: '收款单位账号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'OpeningBankName',\n        originalKey: 'OpeningBankName',\n        label: '开户行',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'OpeningBankNumber',\n        originalKey: 'OpeningBankNumber',\n        label: '开户行行号',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'Remark',\n        originalKey: 'Remark',\n        label: '备注',\n      },\n      {\n        type: 'ntext',\n        name: 'DraftImage',\n        originalKey: 'DraftImage',\n        label: '票面图片',\n      },\n      {\n        name: '申请人',\n        originalKey: '申请人',\n        label: '申请人',\n      },\n      {\n        type: 'ntext ',\n        name: 'DEFAULTVAL',\n        originalKey: 'DEFAULTVAL',\n        label: '默认值',\n      },\n    ],\n  },\n  {\n    name: 'bd_Draft_Element',\n    originalKey: 'bd_Draft_Element',\n    label: '票面要素',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '流水号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'PayApplyId',\n        typeMeta: {\n          relationModel: 'bd_Pay_Apply',\n          type: 'Relation',\n        },\n        label: '划款申请Id',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'Drawer',\n        originalKey: 'Drawer',\n        label: '出票人全称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'Payee',\n        originalKey: 'Payee',\n        label: '收款人全称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'PayBank',\n        originalKey: 'PayBank',\n        label: '付款行全称',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Amount',\n        originalKey: 'Amount',\n        label: '金额',\n      },\n      {\n        type: 'datetime',\n        name: 'DraftDate',\n        originalKey: 'DraftDate',\n        label: '出票日期',\n      },\n      {\n        type: 'datetime',\n        name: 'DraftExpireDate',\n        originalKey: 'DraftExpireDate',\n        label: '汇票到期日',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'PayBankNumber',\n        originalKey: 'PayBankNumber',\n        label: '付款行行号',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'DraftNumber',\n        originalKey: 'DraftNumber',\n        label: '票号',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'Remark',\n        originalKey: 'Remark',\n        label: '备注',\n      },\n    ],\n  },\n  {\n    name: 'db_Draft_Number',\n    originalKey: 'db_Draft_Number',\n    label: '票号',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '流水号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'DraftId',\n        typeMeta: {\n          relationModel: 'bd_Draft_Element',\n          type: 'Relation',\n        },\n        label: '票面Id',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'DraftNumber',\n        originalKey: 'DraftNumber',\n        label: '票号',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Amount',\n        originalKey: 'Amount',\n        label: '金额',\n      },\n    ],\n  },\n  {\n    name: 'bd_Pay_Other',\n    originalKey: 'bd_Pay_Other',\n    label: '其他信息',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'bd_Pay_Apply',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '流水号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'Account',\n        originalKey: 'Account',\n        label: '账号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'Payee',\n        originalKey: 'Payee',\n        label: '收款方',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'OpeningBankName',\n        originalKey: 'OpeningBankName',\n        label: '开户行',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Amount',\n        originalKey: 'Amount',\n        label: '金额',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'Remark',\n        originalKey: 'Remark',\n        label: '备注',\n      },\n    ],\n  },\n  {\n    name: 'bd_Pay_Apply',\n    originalKey: 'bd_Pay_Apply',\n    label: '划款申请',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'bd_Quota_Apply',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '流水号',\n      },\n      {\n        type: 'int',\n        name: 'ApproveStatus',\n        originalKey: 'ApproveStatus',\n        label: '审批状态',\n      },\n      {\n        type: 'int',\n        name: 'ReviewStatus',\n        originalKey: 'ReviewStatus',\n        label: '复核状态',\n      },\n      {\n        type: 'int',\n        name: 'PayStatus',\n        originalKey: 'PayStatus',\n        label: '打款状态',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ApproveUserId',\n        originalKey: 'ApproveUserId',\n        label: '审批人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'PayUserId',\n        originalKey: 'PayUserId',\n        label: '打款人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ReviewUserId',\n        originalKey: 'ReviewUserId',\n        label: '复核人',\n      },\n      {\n        type: 'nvarchar',\n        name: '申请人',\n        originalKey: '申请人',\n        label: '申请人',\n      },\n    ],\n  },\n  {\n    name: 'bd_Quota_Day',\n    originalKey: 'bd_Quota_Day',\n    label: '每日额度',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'TotalQuota',\n        originalKey: 'TotalQuota',\n        label: '总额度',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'RestQuota',\n        originalKey: 'RestQuota',\n        label: '剩余额度',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'LockQuota',\n        originalKey: 'LockQuota',\n        label: '锁定额度',\n      },\n      {\n        type: 'datetime',\n        name: 'QuotaDate',\n        originalKey: 'QuotaDate',\n        label: '额度日期',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'PayQuota',\n        originalKey: 'PayQuota',\n        label: '打款额度',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'UnPayQuota',\n        originalKey: 'UnPayQuota',\n        label: '未打款额度',\n      },\n    ],\n  },\n  {\n    name: 'bd_User',\n    originalKey: 'bd_User',\n    label: '用户信息',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'WechatAccount',\n        originalKey: 'WechatAccount',\n        label: '微信账号',\n      },\n    ],\n  },\n  {\n    name: 'bd_Message',\n    originalKey: 'bd_Message',\n    label: '系统消息',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Content',\n        originalKey: 'Content',\n        label: '内容',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'Type',\n        originalKey: 'Type',\n        label: '类别',\n      },\n      {\n        type: 'datetime',\n        name: 'SendTime',\n        originalKey: 'SendTime',\n        label: '发送时间',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'ntext',\n        name: 'SendeeList\\r\\nSendeeList',\n        originalKey: 'SendeeList\\r\\nSendeeList',\n        label: '接收人',\n      },\n    ],\n  },\n  {\n    name: 'bd_User_Message',\n    originalKey: 'bd_User_Message',\n    label: '用户消息',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'MessageId',\n        typeMeta: {\n          relationModel: 'bd_Message',\n          type: 'Relation',\n        },\n        label: '消息Id',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ReceiveUserId',\n        originalKey: 'ReceiveUserId',\n        label: '接收人',\n      },\n      {\n        type: 'int',\n        name: 'Status',\n        originalKey: 'Status',\n        label: '状态',\n      },\n    ],\n  },\n  {\n    name: 'bd_Operation_Log',\n    originalKey: 'bd_Operation_Log',\n    label: '操作日志',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'ModuleName',\n        originalKey: 'ModuleName',\n        label: '模块名',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'OpreationName',\n        originalKey: 'OpreationName',\n        label: '操作名',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'Remark',\n        originalKey: 'Remark',\n        label: '描述',\n      },\n    ],\n  },\n  {\n    name: 'erp_WarehouseCat',\n    originalKey: 'erp_WarehouseCat',\n    label: '仓库类别表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ewc_Code',\n        originalKey: 'ewc_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ewc_Name',\n        originalKey: 'ewc_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ParentId',\n        originalKey: 'ParentId',\n        label: '上级分类',\n      },\n      {\n        type: 'bit',\n        name: 'IsParent',\n        originalKey: 'IsParent',\n        label: '是否父节点',\n      },\n      {\n        type: 'bit',\n        name: 'IsLeaf',\n        originalKey: 'IsLeaf',\n        label: '是否叶节点',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Arrange',\n        originalKey: 'Arrange',\n        label: '树状支持符号',\n      },\n      {\n        type: 'int',\n        name: 'TreeOrder',\n        originalKey: 'TreeOrder',\n        label: '排序',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'ewc_Remark',\n        originalKey: 'ewc_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_WarehouseInfo',\n    originalKey: 'erp_WarehouseInfo',\n    label: '仓库信息表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ew_Code',\n        originalKey: 'ew_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ew_Name',\n        originalKey: 'ew_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ew_SimpleName',\n        originalKey: 'ew_SimpleName',\n        label: '简称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ew_WhmanID',\n        originalKey: 'ew_WhmanID',\n        label: '默认仓管员',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ew_Addr',\n        originalKey: 'ew_Addr',\n        label: '仓库地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'ew_Cat',\n        typeMeta: {\n          relationModel: 'erp_WarehouseCat',\n          type: 'Relation',\n        },\n        label: '所属分类',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'ew_QtyMax',\n        originalKey: 'ew_QtyMax',\n        label: '最高库存量',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'ew_QtyMin',\n        originalKey: 'ew_QtyMin',\n        label: '最低库存量',\n      },\n      {\n        type: 'navarchar(500)',\n        name: 'ew_Remark',\n        originalKey: 'ew_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_GoodsCat',\n    originalKey: 'erp_GoodsCat',\n    label: '商品类别表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'egc_Code',\n        originalKey: 'egc_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'egc_Name',\n        originalKey: 'egc_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ParentId',\n        originalKey: 'ParentId',\n        label: '上级分类',\n      },\n      {\n        type: 'bit',\n        name: 'IsParent',\n        originalKey: 'IsParent',\n        label: '是否父节点',\n      },\n      {\n        type: 'bit',\n        name: 'IsLeaf',\n        originalKey: 'IsLeaf',\n        label: '是否叶节点',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Arrange',\n        originalKey: 'Arrange',\n        label: '树状支持符号',\n      },\n      {\n        type: 'int',\n        name: 'TreeOrder',\n        originalKey: 'TreeOrder',\n        label: '排序',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'egc_Remark',\n        originalKey: 'egc_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_Goods',\n    originalKey: 'erp_Goods',\n    label: '商品信息表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_Code',\n        originalKey: 'eg_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_Name',\n        originalKey: 'eg_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_SimpleName',\n        originalKey: 'eg_SimpleName',\n        label: '简称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_EnglishName',\n        originalKey: 'eg_EnglishName',\n        label: '外文名称',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'eg_Specifications',\n        originalKey: 'eg_Specifications',\n        label: '规格',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_Brand',\n        originalKey: 'eg_Brand',\n        label: '品牌',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_Unit',\n        originalKey: 'eg_Unit',\n        label: '单位',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_BarCode',\n        originalKey: 'eg_BarCode',\n        label: '条形码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'eg_Cat',\n        typeMeta: {\n          relationModel: 'erp_GoodsCat',\n          type: 'Relation',\n        },\n        label: '所属类别',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_Warehouse',\n        originalKey: 'eg_Warehouse',\n        label: '所属仓库',\n      },\n      {\n        type: 'int',\n        name: 'eg_Status',\n        originalKey: 'eg_Status',\n        label: '状态',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'eg_Remark',\n        originalKey: 'eg_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_GoodsPrice',\n    originalKey: 'erp_GoodsPrice',\n    label: '商品价格表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'egp_GoodsId',\n        typeMeta: {\n          relationModel: 'erp_Goods',\n          type: 'Relation',\n        },\n        label: '商品',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'egp_Code',\n        originalKey: 'egp_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'egp_Name',\n        originalKey: 'egp_Name',\n        label: '名称',\n      },\n      {\n        type: 'datetime',\n        name: 'egp_BeginTime',\n        originalKey: 'egp_BeginTime',\n        label: '起始时间段',\n      },\n      {\n        type: 'datetime',\n        name: 'egp_EndTime',\n        originalKey: 'egp_EndTime',\n        label: '结束时间段',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'egp_Price',\n        originalKey: 'egp_Price',\n        label: '单价',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'egp_Discount',\n        originalKey: 'egp_Discount',\n        label: '折扣率',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'egp_FavorablePrice',\n        originalKey: 'egp_FavorablePrice',\n        label: '优惠后价格',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'egp_Remark',\n        originalKey: 'egp_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_CustomerCat',\n    originalKey: 'erp_CustomerCat',\n    label: '客户类别表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ecc_Code',\n        originalKey: 'ecc_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ecc_Name',\n        originalKey: 'ecc_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ParentId',\n        originalKey: 'ParentId',\n        label: '上级分类',\n      },\n      {\n        type: 'bit',\n        name: 'IsParent',\n        originalKey: 'IsParent',\n        label: '是否父节点',\n      },\n      {\n        type: 'bit',\n        name: 'IsLeaf',\n        originalKey: 'IsLeaf',\n        label: '是否叶节点',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Arrange',\n        originalKey: 'Arrange',\n        label: '树状支持符号',\n      },\n      {\n        type: 'int',\n        name: 'TreeOrder',\n        originalKey: 'TreeOrder',\n        label: '排序',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'ecc_Remark',\n        originalKey: 'ecc_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_SupplierCat',\n    originalKey: 'erp_SupplierCat',\n    label: '供应商类别表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'esc_Code',\n        originalKey: 'esc_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'esc_Name',\n        originalKey: 'esc_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ParentId',\n        originalKey: 'ParentId',\n        label: '上级分类',\n      },\n      {\n        type: 'bit',\n        name: 'IsParent',\n        originalKey: 'IsParent',\n        label: '是否父节点',\n      },\n      {\n        type: 'bit',\n        name: 'IsLeaf',\n        originalKey: 'IsLeaf',\n        label: '是否叶节点',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Arrange',\n        originalKey: 'Arrange',\n        label: '树状支持符号',\n      },\n      {\n        type: 'int',\n        name: 'TreeOrder',\n        originalKey: 'TreeOrder',\n        label: '排序',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'esc_Remark',\n        originalKey: 'esc_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_CustomerInfo',\n    originalKey: 'erp_CustomerInfo',\n    label: '客户信息表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Code',\n        originalKey: 'ec_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Name',\n        originalKey: 'ec_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_SimpleName',\n        originalKey: 'ec_SimpleName',\n        label: '简称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_EnglishName',\n        originalKey: 'ec_EnglishName',\n        label: '外文名字',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'ec_Cat',\n        typeMeta: {\n          relationModel: 'erp_CustomerCat',\n          type: 'Relation',\n        },\n        label: '所属类别',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_LegalPerson',\n        originalKey: 'ec_LegalPerson',\n        label: '法人代表',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Linkman',\n        originalKey: 'ec_Linkman',\n        label: '联系人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Tel',\n        originalKey: 'ec_Tel',\n        label: '联系电话',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Email',\n        originalKey: 'ec_Email',\n        label: '电子邮箱',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Area',\n        originalKey: 'ec_Area',\n        label: '所属地区',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_PostalCode',\n        originalKey: 'ec_PostalCode',\n        label: '邮编',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'ec_Addr',\n        originalKey: 'ec_Addr',\n        label: '地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Salesman',\n        originalKey: 'ec_Salesman',\n        label: '业务员',\n      },\n      {\n        type: 'int',\n        name: 'ec_Status',\n        originalKey: 'ec_Status',\n        label: '状态',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'ec_Remark',\n        originalKey: 'ec_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_SupplierInfo',\n    originalKey: 'erp_SupplierInfo',\n    label: '供应商信息表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'es_Cat',\n        typeMeta: {\n          relationModel: 'erp_SupplierCat',\n          type: 'Relation',\n        },\n        label: '所属类别',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Code',\n        originalKey: 'es_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Name',\n        originalKey: 'es_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_SimpleName',\n        originalKey: 'es_SimpleName',\n        label: '简称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_EnglishName',\n        originalKey: 'es_EnglishName',\n        label: '外文名字',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_LegalPerson',\n        originalKey: 'es_LegalPerson',\n        label: '法人代表',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Tel',\n        originalKey: 'es_Tel',\n        label: '联系电话',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Eamil',\n        originalKey: 'es_Eamil',\n        label: '电子邮箱',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Addr',\n        originalKey: 'es_Addr',\n        label: '地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Salesman',\n        originalKey: 'es_Salesman',\n        label: '业务员',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_BizRegisterNo',\n        originalKey: 'es_BizRegisterNo',\n        label: '工商注册号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_BusiLicence',\n        originalKey: 'es_BusiLicence',\n        label: '营业执照',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_TaxRegisterNo',\n        originalKey: 'es_TaxRegisterNo',\n        label: '税务登记号',\n      },\n      {\n        type: 'int',\n        name: 'es_Status',\n        originalKey: 'es_Status',\n        label: '状态',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'es_Remark',\n        originalKey: 'es_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_DepartmentInfo',\n    originalKey: 'erp_DepartmentInfo',\n    label: '部门信息表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ed_Code',\n        originalKey: 'ed_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ed_Name',\n        originalKey: 'ed_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ParentId',\n        originalKey: 'ParentId',\n        label: '上级分类',\n      },\n      {\n        type: 'bit',\n        name: 'IsParent',\n        originalKey: 'IsParent',\n        label: '是否父节点',\n      },\n      {\n        type: 'bit',\n        name: 'IsLeaf',\n        originalKey: 'IsLeaf',\n        label: '是否叶节点',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Arrange',\n        originalKey: 'Arrange',\n        label: '树状支持符号',\n      },\n      {\n        type: 'int',\n        name: 'TreeOrder',\n        originalKey: 'TreeOrder',\n        label: '排序',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'ed_Remark',\n        originalKey: 'ed_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_UserInfo',\n    originalKey: 'erp_UserInfo',\n    label: '员工信息表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_Code',\n        originalKey: 'eu_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_Name',\n        originalKey: 'eu_Name',\n        label: '名字',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_EnglishName',\n        originalKey: 'eu_EnglishName',\n        label: '外文名字',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_BirthDate',\n        originalKey: 'eu_BirthDate',\n        label: '出生年月',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_EntryDate',\n        originalKey: 'eu_EntryDate',\n        label: '入职时间',\n      },\n      {\n        type: 'int',\n        name: 'eu_Cultural',\n        originalKey: 'eu_Cultural',\n        label: '文化水平',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_IDCard',\n        originalKey: 'eu_IDCard',\n        label: '身份证号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_Tel',\n        originalKey: 'eu_Tel',\n        label: '电话',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_Position',\n        originalKey: 'eu_Position',\n        label: '职位',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'eu_Department',\n        typeMeta: {\n          relationModel: 'erp_DepartmentInfo',\n          type: 'Relation',\n        },\n        label: '所属部门',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'eu_Remark',\n        originalKey: 'eu_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_BaseOperatorLog',\n    originalKey: 'erp_BaseOperatorLog',\n    label: '基础信息操作日志',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ebol_Operator',\n        originalKey: 'ebol_Operator',\n        label: '操作人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ebol_TableName',\n        originalKey: 'ebol_TableName',\n        label: '表名',\n      },\n      {\n        type: 'int',\n        name: 'ebol_OperationType',\n        originalKey: 'ebol_OperationType',\n        label: '操作类型',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'ebol_Content',\n        originalKey: 'ebol_Content',\n        label: '操作内容',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_ContactInfo',\n    originalKey: 'erp_ContactInfo',\n    label: '联系人',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'ec_ForeignKey',\n        typeMeta: {\n          relationModel: 'erp_CustomerInfo',\n          type: 'Relation',\n        },\n        label: '外键',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_ContactName',\n        originalKey: 'ec_ContactName',\n        label: '联系人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Post',\n        originalKey: 'ec_Post',\n        label: '职务',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Phone',\n        originalKey: 'ec_Phone',\n        label: '电话',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_TelPhone',\n        originalKey: 'ec_TelPhone',\n        label: '手机',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Fax',\n        originalKey: 'ec_Fax',\n        label: '传真',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Email',\n        originalKey: 'ec_Email',\n        label: '邮箱',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Postalcode',\n        originalKey: 'ec_Postalcode',\n        label: '邮政编码',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'ec_Addr',\n        originalKey: 'ec_Addr',\n        label: '地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_BankAccount',\n    originalKey: 'erp_BankAccount',\n    label: '银行账号',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'eba_ForeignKey',\n        typeMeta: {\n          relationModel: 'erp_CustomerInfo',\n          type: 'Relation',\n        },\n        label: '外键',\n      },\n      {\n        type: 'int',\n        name: 'eba_Type',\n        originalKey: 'eba_Type',\n        label: '账户类型',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eba_Bank',\n        originalKey: 'eba_Bank',\n        label: '开户银行',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eba_Number',\n        originalKey: 'eba_Number',\n        label: '账号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eba_Currency',\n        originalKey: 'eba_Currency',\n        label: '币种',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eba_Property',\n        originalKey: 'eba_Property',\n        label: '账户用途',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'eba_Addr',\n        originalKey: 'eba_Addr',\n        label: '银行地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n    ],\n  },\n  {\n    name: 'T9_Customer',\n    originalKey: 'T9_Customer',\n    label: '客户信息',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'T9_Repair_flow',\n          type: 'Relation',\n        },\n        label: '编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_CarNum',\n        originalKey: 'T9C_CarNum',\n        label: '车辆编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Name',\n        originalKey: 'T9C_Name',\n        label: '姓名',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'T9C_Number',\n        originalKey: 'T9C_Number',\n        label: '联系方式',\n      },\n      {\n        type: 'datetime',\n        name: 'T9C_DateOfBirth',\n        originalKey: 'T9C_DateOfBirth',\n        label: '出生日期',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9C_Address',\n        originalKey: 'T9C_Address',\n        label: '地址',\n      },\n      {\n        type: 'int',\n        name: 'T9C_Sex',\n        originalKey: 'T9C_Sex',\n        label: '性别',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_LinkMan',\n        originalKey: 'T9C_LinkMan',\n        label: '联系人',\n      },\n    ],\n  },\n  {\n    name: 'T9_Repair_flow',\n    originalKey: 'T9_Repair_flow',\n    label: '维修表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9R_RepairId',\n        typeMeta: {\n          relationModel: 'T9_NewRepairParts',\n          type: 'Relation',\n        },\n        label: '派单编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_CustomerId',\n        originalKey: 'T9R_CustomerId',\n        label: '车主',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9R_CarId',\n        typeMeta: {\n          relationModel: 'T9_Car',\n          type: 'Relation',\n        },\n        label: '汽车编号',\n      },\n      {\n        type: 'int',\n        name: 'T9R_Satisfaction',\n        originalKey: 'T9R_Satisfaction',\n        label: '满意度',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_Taxfee',\n        originalKey: 'T9R_Taxfee',\n        label: '税费',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_PickMan',\n        originalKey: 'T9R_PickMan',\n        label: '接车人',\n      },\n      {\n        type: 'int',\n        name: 'T9R_RepairType',\n        originalKey: 'T9R_RepairType',\n        label: '维修类型',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9R_PartNote',\n        originalKey: 'T9R_PartNote',\n        label: '配件备注',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9R_WorkHoursNote',\n        originalKey: 'T9R_WorkHoursNote',\n        label: '工时备注',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9R_SettlementNote',\n        originalKey: 'T9R_SettlementNote',\n        label: '结算备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_ContractNum',\n        originalKey: 'T9R_ContractNum',\n        label: '维修合同号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_WorkOrderNum',\n        originalKey: 'T9R_WorkOrderNum',\n        label: '工单号码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_HandNumber',\n        originalKey: 'T9R_HandNumber',\n        label: '交接单号',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_Withholding',\n        originalKey: 'T9R_Withholding',\n        label: '代收代缴',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_Total',\n        originalKey: 'T9R_Total',\n        label: '总计（元）',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Reckoner',\n        originalKey: 'T9R_Reckoner',\n        label: '结算人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_AccountNum',\n        originalKey: 'T9R_AccountNum',\n        label: '账号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_DutyParagraph',\n        originalKey: 'T9R_DutyParagraph',\n        label: '税号',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_OutfactoryTime',\n        originalKey: 'T9R_OutfactoryTime',\n        label: '出厂时间',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_IntofactoryTime',\n        originalKey: 'T9R_IntofactoryTime',\n        label: '进厂时间',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_SettementDate',\n        originalKey: 'T9R_SettementDate',\n        label: '结算日期',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_HandDate',\n        originalKey: 'T9R_HandDate',\n        label: '交接日期',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_PreHandDate',\n        originalKey: 'T9R_PreHandDate',\n        label: '预计交付日期',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_PreMaterial',\n        originalKey: 'T9R_PreMaterial',\n        label: '预计材料费（含管理费）',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_PreLabor',\n        originalKey: 'T9R_PreLabor',\n        label: '预计工时费',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_PreRepairSum',\n        originalKey: 'T9R_PreRepairSum',\n        label: '预计修理费总和',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_AddMater',\n        originalKey: 'T9R_AddMater',\n        label: '需增材料费',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_AddLabor',\n        originalKey: 'T9R_AddLabor',\n        label: '需增工时费',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_AddRepairSum',\n        originalKey: 'T9R_AddRepairSum',\n        label: '需增修理费总计',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_DateAlter',\n        originalKey: 'T9R_DateAlter',\n        label: '交付日期修订',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Detection',\n        originalKey: 'T9R_Detection',\n        label: '委托修理项目检验',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'T9R_Opinion',\n        originalKey: 'T9R_Opinion',\n        label: '提示和建议',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_PartPercen',\n        originalKey: 'T9R_PartPercen',\n        label: '材料百分比',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_ChassisID',\n        originalKey: 'T9R_ChassisID',\n        label: '车架号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_ReceiveID',\n        originalKey: 'T9R_ReceiveID',\n        label: '接待者id',\n      },\n    ],\n  },\n  {\n    name: 'T9eng_WorkHours',\n    originalKey: 'T9eng_WorkHours',\n    label: '工时表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9W_RepairId',\n        originalKey: 'T9W_RepairId',\n        label: '派单号',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9W_Content',\n        originalKey: 'T9W_Content',\n        label: '内容',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9W_Money',\n        originalKey: 'T9W_Money',\n        label: '工时总价',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9W_Price',\n        originalKey: 'T9W_Price',\n        label: '工时单价',\n      },\n      {\n        type: 'datetime',\n        name: 'T9W_WorkTime',\n        originalKey: 'T9W_WorkTime',\n        label: '工时',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9W_Class',\n        typeMeta: {\n          relationModel: 'T9_ClassGroup',\n          type: 'Relation',\n        },\n        label: '班组',\n      },\n    ],\n  },\n  {\n    name: 'T9_RepairParts',\n    originalKey: 'T9_RepairParts',\n    label: '维修配件表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_RepairId',\n        originalKey: 'T9P_RepairId',\n        label: '派单号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9P_Partsid',\n        typeMeta: {\n          relationModel: 'T9_PartManger',\n          type: 'Relation',\n        },\n        label: '配件名称',\n      },\n      {\n        type: 'int',\n        name: 'T9P_Number',\n        originalKey: 'T9P_Number',\n        label: '数量',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_ExpectPrice',\n        originalKey: 'T9P_ExpectPrice',\n        label: '预计单价费',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_ExpectAllCost',\n        originalKey: 'T9P_ExpectAllCost',\n        label: '预计总费用',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_RealPrice',\n        originalKey: 'T9P_RealPrice',\n        label: '实际单价费',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_RealAllCost',\n        originalKey: 'T9P_RealAllCost',\n        label: '实际总费用',\n      },\n    ],\n  },\n  {\n    name: 'T9_Car',\n    originalKey: 'T9_Car',\n    label: '汽车表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_LicenseMember',\n        originalKey: 'T9C_LicenseMember',\n        label: '车牌号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9C_CarType',\n        typeMeta: {\n          relationModel: 'T9_CarStyle',\n          type: 'Relation',\n        },\n        label: '车型',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Color',\n        originalKey: 'T9C_Color',\n        label: '颜色',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_CustomerId',\n        originalKey: 'T9C_CustomerId',\n        label: '车主ID',\n      },\n      {\n        type: 'datetime',\n        name: 'T9C_DateOfAcquistion',\n        originalKey: 'T9C_DateOfAcquistion',\n        label: '购置日期',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Journey',\n        originalKey: 'T9C_Journey',\n        label: '行程公里',\n      },\n    ],\n  },\n  {\n    name: 'T9_NewRepairParts',\n    originalKey: 'T9_NewRepairParts',\n    label: '新增维修配件表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_RepairId',\n        originalKey: 'T9P_RepairId',\n        label: '派单号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9P_PartsId',\n        typeMeta: {\n          relationModel: 'T9_PartManger',\n          type: 'Relation',\n        },\n        label: '配件名称',\n      },\n      {\n        type: 'int',\n        name: 'T9P_Number',\n        originalKey: 'T9P_Number',\n        label: '数量',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_ExpectPrice',\n        originalKey: 'T9P_ExpectPrice',\n        label: '预计单价费',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_ExpectAllCost',\n        originalKey: 'T9P_ExpectAllCost',\n        label: '预计总费用',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_RealPrice',\n        originalKey: 'T9P_RealPrice',\n        label: '实际单价费',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_RealAllCost',\n        originalKey: 'T9P_RealAllCost',\n        label: '实际总费用',\n      },\n    ],\n  },\n  {\n    name: 'T9_PartManger',\n    originalKey: 'T9_PartManger',\n    label: '配件管理表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'T9_PartsPrice',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_ID',\n        originalKey: 'T9P_ID',\n        label: '配件编号',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9P_Name',\n        originalKey: 'T9P_Name',\n        label: '配件名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_Unit',\n        originalKey: 'T9P_Unit',\n        label: '单位',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9P_Money',\n        originalKey: 'T9P_Money',\n        label: '金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9P_CarKind',\n        typeMeta: {\n          relationModel: 'T9_CarStyle',\n          type: 'Relation',\n        },\n        label: '车系',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9P_RemainMoney',\n        originalKey: 'T9P_RemainMoney',\n        label: '库存余额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarStyle',\n        originalKey: 'T9P_CarStyle',\n        label: '车型',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarBrand',\n        originalKey: 'T9P_CarBrand',\n        label: '车品牌',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_OriFactoryID',\n        originalKey: 'T9P_OriFactoryID',\n        label: '原厂编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_InventoryID',\n        originalKey: 'T9P_InventoryID',\n        label: '库存编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_GoodsID',\n        originalKey: 'T9P_GoodsID',\n        label: '货位编码',\n      },\n    ],\n  },\n  {\n    name: 'T9_Repairshops',\n    originalKey: 'T9_Repairshops',\n    label: '维修厂表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Name',\n        originalKey: 'T9R_Name',\n        label: '维修厂名称',\n      },\n      {\n        type: 'nvarchar(Max)',\n        name: 'T9R_Adress',\n        originalKey: 'T9R_Adress',\n        label: '维修厂地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Area',\n        originalKey: 'T9R_Area',\n        label: '所在区域',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_LinkMan',\n        originalKey: 'T9R_LinkMan',\n        label: '联系人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Tel',\n        originalKey: 'T9R_Tel',\n        label: '联系电话',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_ Facsimile',\n        originalKey: 'T9R_ Facsimile',\n        label: '传真',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Postalcode',\n        originalKey: 'T9R_Postalcode',\n        label: '邮政编码',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'T9R_Note',\n        originalKey: 'T9R_Note',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_GroupSign',\n        originalKey: 'T9R_GroupSign',\n        label: '组织标志',\n      },\n    ],\n  },\n  {\n    name: 'T9_Supplier',\n    originalKey: 'T9_Supplier',\n    label: '供应商表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_Name',\n        originalKey: 'T9S_Name',\n        label: '供应商名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_Brand',\n        originalKey: 'T9S_Brand',\n        label: '供应品牌',\n      },\n      {\n        type: 'nvarchar(Max)',\n        name: 'T9S_RepairAdress',\n        originalKey: 'T9S_RepairAdress',\n        label: '维修厂地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_Area',\n        originalKey: 'T9S_Area',\n        label: '所在区域',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_LinkMan',\n        originalKey: 'T9S_LinkMan',\n        label: '联系人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_Tel',\n        originalKey: 'T9S_Tel',\n        label: '联系电话',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_ Facsimile',\n        originalKey: 'T9S_ Facsimile',\n        label: '传真',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_Postalcode',\n        originalKey: 'T9S_Postalcode',\n        label: '邮政编码',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'T9S_Note',\n        originalKey: 'T9S_Note',\n        label: '备注',\n      },\n      {\n        type: 'vnarchar(50)',\n        name: 'T9S_GroupSign',\n        originalKey: 'T9S_GroupSign',\n        label: '组织标志',\n      },\n    ],\n  },\n  {\n    name: 'T9_CarStyle',\n    originalKey: 'T9_CarStyle',\n    label: '车型表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Name',\n        originalKey: 'T9C_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9C_SeriesID',\n        typeMeta: {\n          relationModel: 'T9_CarKind',\n          type: 'Relation',\n        },\n        label: '车系ID',\n      },\n    ],\n  },\n  {\n    name: 'T9_Procurement',\n    originalKey: 'T9_Procurement',\n    label: '竞价表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_RepairfactoryFID',\n        originalKey: 'T9P_RepairfactoryFID',\n        label: '维修厂FID',\n      },\n      {\n        type: 'nvarchar(Max)',\n        name: 'T9P_Adress',\n        originalKey: 'T9P_Adress',\n        label: '收货地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_LinkMan',\n        originalKey: 'T9P_LinkMan',\n        label: '收货人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_LinkTel',\n        originalKey: 'T9P_LinkTel',\n        label: '收人联系方式',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarStyleID',\n        originalKey: 'T9P_CarStyleID',\n        label: '车系ID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_PartName',\n        originalKey: 'T9P_PartName',\n        label: '配件ID',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'T9P_Note',\n        originalKey: 'T9P_Note',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_Num',\n        originalKey: 'T9P_Num',\n        label: '数量',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9P_finallyprice\\r\\nT9P_FinallyPirce',\n        originalKey: 'T9P_finallyprice\\r\\nT9P_FinallyPirce',\n        label: '最终成交价格',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9P_MinPrice',\n        originalKey: 'T9P_MinPrice',\n        label: '竞价最低价格',\n      },\n      {\n        type: 'int',\n        name: 'T9P_PriceState',\n        originalKey: 'T9P_PriceState',\n        label: '采购信息状态',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_SupplierID',\n        originalKey: 'T9P_SupplierID',\n        label: '供应商ID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarKind',\n        originalKey: 'T9P_CarKind',\n        label: '车系',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarStyle',\n        originalKey: 'T9P_CarStyle',\n        label: '车型',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarBrand',\n        originalKey: 'T9P_CarBrand',\n        label: '车品牌',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_PartUnit',\n        originalKey: 'T9P_PartUnit',\n        label: '配件单位',\n      },\n      {\n        name: 'T9P_finallyOnePrice',\n        originalKey: 'T9P_finallyOnePrice',\n        label: '最总单价',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_ServiceID',\n        originalKey: 'T9P_ServiceID',\n        label: '维修编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarID',\n        originalKey: 'T9P_CarID',\n        label: '汽车编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CustomerID',\n        originalKey: 'T9P_CustomerID',\n        label: '客户编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_OrderID',\n        originalKey: 'T9P_OrderID',\n        label: '订单号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_ChassisID',\n        originalKey: 'T9P_ChassisID',\n        label: '车架号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_LicenseID',\n        originalKey: 'T9P_LicenseID',\n        label: '车牌号',\n      },\n      {\n        type: 'ntext',\n        name: 'T9P_Picture',\n        originalKey: 'T9P_Picture',\n        label: '照片',\n      },\n    ],\n  },\n  {\n    name: 'T9_Bidding',\n    originalKey: 'T9_Bidding',\n    label: '报价表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'T9_Procurement',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_FID',\n        originalKey: 'T9P_FID',\n        label: '供应商FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9B_FID',\n        originalKey: 'T9B_FID',\n        label: '采购FID',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9B_Price',\n        originalKey: 'T9B_Price',\n        label: '竞价',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9B_Number',\n        originalKey: 'T9B_Number',\n        label: '数量',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9B_Money',\n        originalKey: 'T9B_Money',\n        label: '金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9B_WinBidding',\n        originalKey: 'T9B_WinBidding',\n        label: '是否中标',\n      },\n    ],\n  },\n  {\n    name: 'T9_ClassGroup',\n    originalKey: 'T9_ClassGroup',\n    label: '班组表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Name',\n        originalKey: 'T9C_Name',\n        label: '班组名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Sign',\n        originalKey: 'T9C_Sign',\n        label: '班组标识(英文名)',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9C_HourlyRate',\n        originalKey: 'T9C_HourlyRate',\n        label: '时薪',\n      },\n    ],\n  },\n  {\n    name: 'T9_CarKind',\n    originalKey: 'T9_CarKind',\n    label: '车系',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Kind',\n        originalKey: 'T9C_Kind',\n        label: '车系',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9C_BrandFID',\n        typeMeta: {\n          relationModel: 'T9_CarBrand',\n          type: 'Relation',\n        },\n        label: '品牌FID',\n      },\n    ],\n  },\n  {\n    name: 'T9_CarBrand',\n    originalKey: 'T9_CarBrand',\n    label: '车主品牌表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Brand',\n        originalKey: 'T9C_Brand',\n        label: '品牌名称',\n      },\n    ],\n  },\n  {\n    name: 'T9_PartsPrice',\n    originalKey: 'T9_PartsPrice',\n    label: '配件价格表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_FID',\n        originalKey: 'T9P_FID',\n        label: '配件FID',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9P_Price',\n        originalKey: 'T9P_Price',\n        label: '价格',\n      },\n      {\n        type: 'datetime',\n        name: 'T9P_UpdateTime',\n        originalKey: 'T9P_UpdateTime',\n        label: '更新时间',\n      },\n    ],\n  },\n  {\n    name: 'T9_Changebound',\n    originalKey: 'T9_Changebound',\n    label: '库存变动表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'T9_PartManger',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_PartID',\n        originalKey: 'T9C_PartID',\n        label: '配件ID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_PartKind',\n        originalKey: 'T9C_PartKind',\n        label: '配件分类',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_PartName',\n        originalKey: 'T9C_PartName',\n        label: '配件名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Measuringunit',\n        originalKey: 'T9C_Measuringunit',\n        label: '计量单位',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9C_Price',\n        originalKey: 'T9C_Price',\n        label: '采购价格',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Number',\n        originalKey: 'T9C_Number',\n        label: '采购数量',\n      },\n      {\n        type: 'int',\n        name: 'T9C_OperationKind',\n        originalKey: 'T9C_OperationKind',\n        label: '操作类型',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_RepairID',\n        originalKey: 'T9C_RepairID',\n        label: '维修单ID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_PurchaseID',\n        originalKey: 'T9C_PurchaseID',\n        label: '采购单Id',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_StartNum',\n        originalKey: 'T9C_StartNum',\n        label: '初始余额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_OnePrice',\n        originalKey: 'T9C_OnePrice',\n        label: '变动报价',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_EndNum',\n        originalKey: 'T9C_EndNum',\n        label: '最终数目',\n      },\n    ],\n  },\n  {\n    name: 'T9_StorageList',\n    originalKey: 'T9_StorageList',\n    label: '入库单',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_InFID',\n        originalKey: 'T9I_InFID',\n        label: '入库单号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_Supplier',\n        originalKey: 'T9I_Supplier',\n        label: '供应商',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_BillType',\n        originalKey: 'T9I_BillType',\n        label: '单据类型',\n      },\n      {\n        type: 'datetime',\n        name: 'T9I_InDateTime',\n        originalKey: 'T9I_InDateTime',\n        label: '入库日期',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_PayType',\n        originalKey: 'T9I_PayType',\n        label: '付款方式',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_Operator',\n        originalKey: 'T9I_Operator',\n        label: '经办人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_InType',\n        originalKey: 'T9I_InType',\n        label: '入库类型',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_CarLicense',\n        originalKey: 'T9I_CarLicense',\n        label: '车牌号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_ChassisNumber',\n        originalKey: 'T9I_ChassisNumber',\n        label: '车架号',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_ToalPrice',\n        originalKey: 'T9I_ToalPrice',\n        label: '合计金额',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_Rate',\n        originalKey: 'T9I_Rate',\n        label: '税率',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_TaxRate',\n        originalKey: 'T9I_TaxRate',\n        label: '税额',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_TaxAmount',\n        originalKey: 'T9I_TaxAmount',\n        label: '含税金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_WarehouseKeeper',\n        originalKey: 'T9I_WarehouseKeeper',\n        label: '仓管',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_Audit',\n        originalKey: 'T9I_Audit',\n        label: '审核',\n      },\n    ],\n  },\n  {\n    name: 'T9_StorageListDetail',\n    originalKey: 'T9_StorageListDetail',\n    label: '入库明细',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_InFID',\n        originalKey: 'T9I_InFID',\n        label: '入库单号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_PartFID',\n        originalKey: 'T9I_PartFID',\n        label: '商品编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_PartName',\n        originalKey: 'T9I_PartName',\n        label: '商品名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_Model',\n        originalKey: 'T9I_Model',\n        label: '型号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_Unit',\n        originalKey: 'T9I_Unit',\n        label: '单位',\n      },\n      {\n        type: 'int',\n        name: 'T9I_Number',\n        originalKey: 'T9I_Number',\n        label: '数量',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_OnePrice',\n        originalKey: 'T9I_OnePrice',\n        label: '单价',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_Price',\n        originalKey: 'T9I_Price',\n        label: '金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_ProductClass',\n        originalKey: 'T9I_ProductClass',\n        label: '产品类别',\n      },\n    ],\n  },\n  {\n    name: 'T9_DeliveryOrder',\n    originalKey: 'T9_DeliveryOrder',\n    label: '出库单',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_BoundID',\n        originalKey: 'T9O_BoundID',\n        label: '出库单号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_ClientName',\n        originalKey: 'T9O_ClientName',\n        label: '客户名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Type',\n        originalKey: 'T9O_Type',\n        label: '类型',\n      },\n      {\n        type: 'datetime',\n        name: 'T9O_OutDate',\n        originalKey: 'T9O_OutDate',\n        label: '出库日期',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Dispatch',\n        originalKey: 'T9O_Dispatch',\n        label: '派单编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_ChargeName',\n        originalKey: 'T9O_ChargeName',\n        label: '经办人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Class',\n        originalKey: 'T9O_Class',\n        label: '领班班组',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Note',\n        originalKey: 'T9O_Note',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_CarNumber',\n        originalKey: 'T9O_CarNumber',\n        label: '车牌号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Amount',\n        originalKey: 'T9O_Amount',\n        label: '合计金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_BoundManger',\n        originalKey: 'T9O_BoundManger',\n        label: '仓管',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Reviewer',\n        originalKey: 'T9O_Reviewer',\n        label: '审核人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Pick',\n        originalKey: 'T9O_Pick',\n        label: '领料',\n      },\n    ],\n  },\n  {\n    name: 'T9_DeliveryOrderDetail',\n    originalKey: 'T9_DeliveryOrderDetail',\n    label: '出库明细表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_FID',\n        originalKey: 'T9C_FID',\n        label: '出库单号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9D_PartID',\n        originalKey: 'T9D_PartID',\n        label: '商品编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9D_PartName',\n        originalKey: 'T9D_PartName',\n        label: '商品名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9D_Type',\n        originalKey: 'T9D_Type',\n        label: '型号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9D_Num',\n        originalKey: 'T9D_Num',\n        label: '数量',\n      },\n      {\n        type: 'nvarchar(50))',\n        name: 'T9D_Unit',\n        originalKey: 'T9D_Unit',\n        label: '单位',\n      },\n      {\n        type: 'decimarl(18,4)',\n        name: 'T9D_Price',\n        originalKey: 'T9D_Price',\n        label: '单价',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9D_Money',\n        originalKey: 'T9D_Money',\n        label: '金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9D_Bound',\n        originalKey: 'T9D_Bound',\n        label: '仓库',\n      },\n    ],\n  },\n]\n"
  },
  {
    "path": "packages/web-pdm-lib/test/g6-test/mock/module-test.ts",
    "content": "export default [\n    {\n        name: 'finance',\n        label: '金融'\n    },\n    {\n        name: 'ERP',\n        label: '进销存'\n    },\n    {\n        label: '汽修',\n        name: 'T9engSQ'\n    }\n]\n"
  },
  {
    "path": "packages/web-pdm-lib/test/g6-test/with-field-relation/model-test.ts",
    "content": "export default [\n    {\n        name: 'bd_Quota_Apply',\n        label: '额度申请',\n        module: 'finance',\n        fields: [\n            {\n                name: 'FlowNumber',\n                label: '流水号',\n                typeMeta:\n                {\n                    relationModel: 'bd_PayInfo',\n                    field: 'FlowNumber2',\n                    type: 'Relation'\n                }\n\n            },\n            {\n                name: 'AcceptBank',\n                label: '承兑行'\n            },\n            {\n                name: 'Amount',\n                label: '金额',\n                typeMeta: [\n                    {\n                        relationModel: 'bd_PayInfo',\n                        field: 'FID',\n                        type: 'Relation'\n                    },\n                    {\n                        relationModel: 'bd_PayInfo',\n                        field: 'FlowNumber2',\n                        type: 'Relation'\n                    }\n                ]\n            }\n        ]\n    },\n    {\n        name: 'bd_PayInfo',\n        label: '打款信息',\n        module: 'finance',\n        fields: [\n            {\n                name: 'FID',\n                label: 'FID'\n            },\n            {\n                name: 'FlowNumber',\n                label: '流水号'\n            },\n            {\n                name: 'FlowNumber2',\n                label: '流水号'\n            },\n            {\n                name: 'FlowNumber3',\n                label: '流水号'\n            }\n        ]\n    }\n]\n"
  },
  {
    "path": "packages/web-pdm-lib/test/g6-test/with-field-relation/module-test.ts",
    "content": "export default [\n    {\n        name: 'finance',\n        label: '金融'\n    },\n    {\n        name: 'ERP',\n        label: '进销存'\n    },\n    {\n        label: '汽修',\n        name: 'T9engSQ'\n    }\n]\n"
  },
  {
    "path": "packages/web-pdm-lib/test/index.tsx",
    "content": "import './mst'\n"
  },
  {
    "path": "packages/web-pdm-lib/test/mst/index.tsx",
    "content": "import React from 'react'\nimport ReactDom from 'react-dom'\nimport { Button } from 'antd'\nimport ModelTest from '../g6-test/mock/model-test'\nimport ModuleTest from '../g6-test/mock/module-test'\n// import ModelTest from '../g6-test/with-field-relation/model-test'\n// import ModuleTest from '../g6-test/with-field-relation/module-test'\nimport WebPdm from '../../src'\n\nimport CodePdm from '../../../../docs/type-erd'\nimport { toModels, toModules } from '../g6-test/trantor/datamap'\n// import TestModel from '../g6-test/trantor/mock/models-data.json'\n// import TestModule from '../g6-test/trantor/mock/modules-data.json'\n// import ModelTest from '../g6-test/trantor/gw/model.json'\n// import ModuleTest from '../g6-test/trantor/gw/module.json'\n// import TestModel from '../g6-test/trantor/model'\n// import TestModule from '../g6-test/trantor/module'\n\nimport './style.less'\n\n// const models = toModels(TestModel.res.map(a => a.model))\n// const modules = toModules(TestModule.res)\n\nconst models = ModelTest\nconst modules = ModuleTest\n\nfunction confirmEnding(str, target) {\n    if (str.substr(str.length - target.length, target.length) == target)\n        return true\n    else return false\n}\n\nconst onIgnoreEdge = field => {\n    return (\n        field?.typeMeta?.relationModel === 'base_User' &&\n        (confirmEnding(field.name, 'createdBy') ||\n            confirmEnding(field.name, 'updatedBy'))\n    )\n}\nconst onReload = () => {\n    return {\n        models,\n        modules\n    }\n}\nconst onIntl = a => {\n    return ''\n}\n\nexport const  TestWebpdm = () => {\n    return  <WebPdm\n    themeColor='green'\n    darkness={false}\n    models={models}\n    modules={modules}\n    erdkey={'demo'}\n    onIntl={onIntl}\n    onlyMode={false}\n    // disableIcons={['full', 'reload']}\n    IconRenders={{\n        image: <Button size=\"small\" >下载</Button>,\n        miniMap: <Button size=\"small\" >显示小地图</Button>,\n        miniMapNo: <Button size=\"small\" >屏蔽小地图</Button>,\n    }}\n    // intl='EN'\n    onReload={onReload}\n    onModelDetail={a => {\n        alert(`打开模型${a.label}(${a.name}) 的查看链接`)\n    }}\n    onIgnoreEdge={onIgnoreEdge}\n/>\n}\nReactDom.render(\n     <TestWebpdm />,\n    document.getElementById('app') || document.getElementById('root')\n)\n"
  },
  {
    "path": "packages/web-pdm-lib/test/mst/style.less",
    "content": "#app {\n    height: 100%;\n}\n"
  },
  {
    "path": "packages/web-pdm-lib/test/testg6.tsx",
    "content": "import G6 from '@antv/g6'\n/**\n * 演示如何响应节点某一区域上的点击事件\n * by 长哲\n */\n\nconst GRAPH_CONTAINER = 'app1'\n\n// 注册自定义节点\nG6.registerNode(\n    'customNode',\n    {\n        // 绘制节点\n        drawShape: function drawShape (cfg, group) {\n            const shapeType = this.shapeType\n            const style = Object.assign({}, this.getShapeStyle(cfg), {\n                x: 0,\n                y: 0,\n                r: 50\n            })\n            const shape = group.addShape(shapeType, {\n                attrs: style,\n                name: 'key-shape'\n            })\n            // 绘制节点里面的小圆。点击这个小圆会显示tooltip\n            group.addShape('circle', {\n                attrs: {\n                    x: 0,\n                    y: -30,\n                    r: 10,\n                    fill: '#096dd9',\n                    cursor: 'pointer'\n                },\n                name: 'circle-shape'\n            })\n            return shape\n        }\n    },\n    'circle'\n)\n\nconst data = {\n    nodes: [\n        {\n            id: 'node1',\n            x: 100,\n            y: 150,\n            label: 'node1',\n            size: 100,\n            type: 'customNode'\n        },\n        {\n            id: 'node2',\n            x: 300,\n            y: 150,\n            label: 'node2',\n            size: 100,\n            type: 'customNode'\n        }\n    ],\n    edges: [\n        {\n            source: 'node1',\n            target: 'node2'\n        }\n    ]\n}\n\nconst width = 500\nconst height = document.getElementById('app1')!.scrollHeight || 500\nconst graph = new G6.Graph({\n    container: GRAPH_CONTAINER,\n    width,\n    height,\n    modes: {\n        default: [\n            {\n                type: 'drag-node',\n                enableDelegate: true\n            }\n        ]\n    },\n    defaultNode: {\n        style: {\n            fill: '#DEE9FF',\n            stroke: '#5B8FF9'\n        },\n        labelCfg: {\n            style: {\n                fontSize: 12\n            }\n        }\n    },\n    defaultEdge: {\n        style: {\n            stroke: '#e2e2e2'\n        }\n    },\n    nodeStateStyles: {\n        selected: {\n            stroke: 'red'\n        }\n    }\n})\n\ngraph.data(data)\ngraph.render()\n\n// 节点上的点击事件\ngraph.on('node:click', function (event) {\n    const { item } = event\n    graph.setItemState(item, 'selected', true)\n})\n\ngraph.on('circle-shape:click', evt => {\n    const { item } = evt\n    graph.updateItem(item, {\n        label: '点击了圆',\n        labelCfg: {\n            style: {\n                fill: '#003a8c',\n                fontSize: 16\n            }\n        }\n    })\n})\n"
  },
  {
    "path": "pnpm-workspace.yaml",
    "content": "packages:\n  - 'packages/*'\n"
  },
  {
    "path": "test/g6-test/mock/model-test.ts",
    "content": "export default [\n  {\n    name: 'bd_Quota_Apply',\n    originalKey: 'bd_Quota_Apply',\n    label: '额度申请',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '流水号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ApplyUserId',\n        originalKey: 'ApplyUserId',\n        label: '申请人',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'AcceptBank',\n        originalKey: 'AcceptBank',\n        label: '承兑行',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Amount',\n        originalKey: 'Amount',\n        label: '金额',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Price',\n        originalKey: 'Price',\n        label: '报价',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'PriceType',\n        originalKey: 'PriceType',\n        label: '报价类别',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'BankType',\n        originalKey: 'BankType',\n        label: '承兑行类别',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'Acceptkind',\n        originalKey: 'Acceptkind',\n        label: '承兑方式',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'Remark',\n        originalKey: 'Remark',\n        label: '备注',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '申请时间',\n      },\n      {\n        type: 'int',\n        name: 'Status',\n        originalKey: 'Status',\n        label: '状态',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ApproveUserId',\n        originalKey: 'ApproveUserId',\n        label: '审批人',\n      },\n    ],\n  },\n  {\n    name: 'bd_PayInfo',\n    originalKey: 'bd_PayInfo',\n    label: '打款信息',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'bd_Pay_Apply',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '流水号',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'TotalAmount',\n        originalKey: 'TotalAmount',\n        label: '总金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'InvoiceBank',\n        originalKey: 'InvoiceBank',\n        label: '开票行',\n      },\n      {\n        type: 'datetime',\n        name: 'ExpireDate',\n        originalKey: 'ExpireDate',\n        label: '到期日',\n      },\n      {\n        type: 'int',\n        name: 'DiscountDays',\n        originalKey: 'DiscountDays',\n        label: '贴现天数',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'DiscountInterest',\n        originalKey: 'DiscountInterest',\n        label: '贴现利息',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'PriceRate',\n        originalKey: 'PriceRate',\n        label: '报价利率',\n      },\n      {\n        type: 'int',\n        name: 'PriceType',\n        originalKey: 'PriceType',\n        label: '报价类别',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'PayRate',\n        originalKey: 'PayRate',\n        label: '打款利率',\n      },\n      {\n        type: 'int',\n        name: 'PayType',\n        originalKey: 'PayType',\n        label: '打款类别',\n      },\n      {\n        type: 'int',\n        name: 'PaperCount',\n        originalKey: 'PaperCount',\n        label: '张数',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Commissions',\n        originalKey: 'Commissions',\n        label: '手续费',\n      },\n      {\n        type: 'int',\n        name: 'CommissionsType',\n        originalKey: 'CommissionsType',\n        label: '手续费类别',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'PayAmount',\n        originalKey: 'PayAmount',\n        label: '划款金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'Payee',\n        originalKey: 'Payee',\n        label: '收款单位',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'PayeeAccount',\n        originalKey: 'PayeeAccount',\n        label: '收款单位账号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'OpeningBankName',\n        originalKey: 'OpeningBankName',\n        label: '开户行',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'OpeningBankNumber',\n        originalKey: 'OpeningBankNumber',\n        label: '开户行行号',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'Remark',\n        originalKey: 'Remark',\n        label: '备注',\n      },\n      {\n        type: 'ntext',\n        name: 'DraftImage',\n        originalKey: 'DraftImage',\n        label: '票面图片',\n      },\n      {\n        name: '申请人',\n        originalKey: '申请人',\n        label: '申请人',\n      },\n      {\n        type: 'ntext ',\n        name: 'DEFAULTVAL',\n        originalKey: 'DEFAULTVAL',\n        label: '默认值',\n      },\n    ],\n  },\n  {\n    name: 'bd_Draft_Element',\n    originalKey: 'bd_Draft_Element',\n    label: '票面要素',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '流水号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'PayApplyId',\n        typeMeta: {\n          relationModel: 'bd_Pay_Apply',\n          type: 'Relation',\n        },\n        label: '划款申请Id',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'Drawer',\n        originalKey: 'Drawer',\n        label: '出票人全称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'Payee',\n        originalKey: 'Payee',\n        label: '收款人全称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'PayBank',\n        originalKey: 'PayBank',\n        label: '付款行全称',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Amount',\n        originalKey: 'Amount',\n        label: '金额',\n      },\n      {\n        type: 'datetime',\n        name: 'DraftDate',\n        originalKey: 'DraftDate',\n        label: '出票日期',\n      },\n      {\n        type: 'datetime',\n        name: 'DraftExpireDate',\n        originalKey: 'DraftExpireDate',\n        label: '汇票到期日',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'PayBankNumber',\n        originalKey: 'PayBankNumber',\n        label: '付款行行号',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'DraftNumber',\n        originalKey: 'DraftNumber',\n        label: '票号',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'Remark',\n        originalKey: 'Remark',\n        label: '备注',\n      },\n    ],\n  },\n  {\n    name: 'db_Draft_Number',\n    originalKey: 'db_Draft_Number',\n    label: '票号',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '流水号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'DraftId',\n        typeMeta: {\n          relationModel: 'bd_Draft_Element',\n          type: 'Relation',\n        },\n        label: '票面Id',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'DraftNumber',\n        originalKey: 'DraftNumber',\n        label: '票号',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Amount',\n        originalKey: 'Amount',\n        label: '金额',\n      },\n    ],\n  },\n  {\n    name: 'bd_Pay_Other',\n    originalKey: 'bd_Pay_Other',\n    label: '其他信息',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'bd_Pay_Apply',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '流水号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'Account',\n        originalKey: 'Account',\n        label: '账号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'Payee',\n        originalKey: 'Payee',\n        label: '收款方',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'OpeningBankName',\n        originalKey: 'OpeningBankName',\n        label: '开户行',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'Amount',\n        originalKey: 'Amount',\n        label: '金额',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'Remark',\n        originalKey: 'Remark',\n        label: '备注',\n      },\n    ],\n  },\n  {\n    name: 'bd_Pay_Apply',\n    originalKey: 'bd_Pay_Apply',\n    label: '划款申请',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'bd_Quota_Apply',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FlowNumber',\n        originalKey: 'FlowNumber',\n        label: '流水号',\n      },\n      {\n        type: 'int',\n        name: 'ApproveStatus',\n        originalKey: 'ApproveStatus',\n        label: '审批状态',\n      },\n      {\n        type: 'int',\n        name: 'ReviewStatus',\n        originalKey: 'ReviewStatus',\n        label: '复核状态',\n      },\n      {\n        type: 'int',\n        name: 'PayStatus',\n        originalKey: 'PayStatus',\n        label: '打款状态',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ApproveUserId',\n        originalKey: 'ApproveUserId',\n        label: '审批人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'PayUserId',\n        originalKey: 'PayUserId',\n        label: '打款人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ReviewUserId',\n        originalKey: 'ReviewUserId',\n        label: '复核人',\n      },\n      {\n        type: 'nvarchar',\n        name: '申请人',\n        originalKey: '申请人',\n        label: '申请人',\n      },\n    ],\n  },\n  {\n    name: 'bd_Quota_Day',\n    originalKey: 'bd_Quota_Day',\n    label: '每日额度',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'TotalQuota',\n        originalKey: 'TotalQuota',\n        label: '总额度',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'RestQuota',\n        originalKey: 'RestQuota',\n        label: '剩余额度',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'LockQuota',\n        originalKey: 'LockQuota',\n        label: '锁定额度',\n      },\n      {\n        type: 'datetime',\n        name: 'QuotaDate',\n        originalKey: 'QuotaDate',\n        label: '额度日期',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'PayQuota',\n        originalKey: 'PayQuota',\n        label: '打款额度',\n      },\n      {\n        type: 'numeric(18,2)',\n        name: 'UnPayQuota',\n        originalKey: 'UnPayQuota',\n        label: '未打款额度',\n      },\n    ],\n  },\n  {\n    name: 'bd_User',\n    originalKey: 'bd_User',\n    label: '用户信息',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'WechatAccount',\n        originalKey: 'WechatAccount',\n        label: '微信账号',\n      },\n    ],\n  },\n  {\n    name: 'bd_Message',\n    originalKey: 'bd_Message',\n    label: '系统消息',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Content',\n        originalKey: 'Content',\n        label: '内容',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'Type',\n        originalKey: 'Type',\n        label: '类别',\n      },\n      {\n        type: 'datetime',\n        name: 'SendTime',\n        originalKey: 'SendTime',\n        label: '发送时间',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'ntext',\n        name: 'SendeeList\\r\\nSendeeList',\n        originalKey: 'SendeeList\\r\\nSendeeList',\n        label: '接收人',\n      },\n    ],\n  },\n  {\n    name: 'bd_User_Message',\n    originalKey: 'bd_User_Message',\n    label: '用户消息',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'MessageId',\n        typeMeta: {\n          relationModel: 'bd_Message',\n          type: 'Relation',\n        },\n        label: '消息Id',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ReceiveUserId',\n        originalKey: 'ReceiveUserId',\n        label: '接收人',\n      },\n      {\n        type: 'int',\n        name: 'Status',\n        originalKey: 'Status',\n        label: '状态',\n      },\n    ],\n  },\n  {\n    name: 'bd_Operation_Log',\n    originalKey: 'bd_Operation_Log',\n    label: '操作日志',\n    module: 'finance',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'ModuleName',\n        originalKey: 'ModuleName',\n        label: '模块名',\n      },\n      {\n        type: 'nvarchar(20)',\n        name: 'OpreationName',\n        originalKey: 'OpreationName',\n        label: '操作名',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'Remark',\n        originalKey: 'Remark',\n        label: '描述',\n      },\n    ],\n  },\n  {\n    name: 'erp_WarehouseCat',\n    originalKey: 'erp_WarehouseCat',\n    label: '仓库类别表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ewc_Code',\n        originalKey: 'ewc_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ewc_Name',\n        originalKey: 'ewc_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ParentId',\n        originalKey: 'ParentId',\n        label: '上级分类',\n      },\n      {\n        type: 'bit',\n        name: 'IsParent',\n        originalKey: 'IsParent',\n        label: '是否父节点',\n      },\n      {\n        type: 'bit',\n        name: 'IsLeaf',\n        originalKey: 'IsLeaf',\n        label: '是否叶节点',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Arrange',\n        originalKey: 'Arrange',\n        label: '树状支持符号',\n      },\n      {\n        type: 'int',\n        name: 'TreeOrder',\n        originalKey: 'TreeOrder',\n        label: '排序',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'ewc_Remark',\n        originalKey: 'ewc_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_WarehouseInfo',\n    originalKey: 'erp_WarehouseInfo',\n    label: '仓库信息表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ew_Code',\n        originalKey: 'ew_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ew_Name',\n        originalKey: 'ew_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ew_SimpleName',\n        originalKey: 'ew_SimpleName',\n        label: '简称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ew_WhmanID',\n        originalKey: 'ew_WhmanID',\n        label: '默认仓管员',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ew_Addr',\n        originalKey: 'ew_Addr',\n        label: '仓库地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'ew_Cat',\n        typeMeta: {\n          relationModel: 'erp_WarehouseCat',\n          type: 'Relation',\n        },\n        label: '所属分类',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'ew_QtyMax',\n        originalKey: 'ew_QtyMax',\n        label: '最高库存量',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'ew_QtyMin',\n        originalKey: 'ew_QtyMin',\n        label: '最低库存量',\n      },\n      {\n        type: 'navarchar(500)',\n        name: 'ew_Remark',\n        originalKey: 'ew_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_GoodsCat',\n    originalKey: 'erp_GoodsCat',\n    label: '商品类别表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'egc_Code',\n        originalKey: 'egc_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'egc_Name',\n        originalKey: 'egc_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ParentId',\n        originalKey: 'ParentId',\n        label: '上级分类',\n      },\n      {\n        type: 'bit',\n        name: 'IsParent',\n        originalKey: 'IsParent',\n        label: '是否父节点',\n      },\n      {\n        type: 'bit',\n        name: 'IsLeaf',\n        originalKey: 'IsLeaf',\n        label: '是否叶节点',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Arrange',\n        originalKey: 'Arrange',\n        label: '树状支持符号',\n      },\n      {\n        type: 'int',\n        name: 'TreeOrder',\n        originalKey: 'TreeOrder',\n        label: '排序',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'egc_Remark',\n        originalKey: 'egc_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_Goods',\n    originalKey: 'erp_Goods',\n    label: '商品信息表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_Code',\n        originalKey: 'eg_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_Name',\n        originalKey: 'eg_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_SimpleName',\n        originalKey: 'eg_SimpleName',\n        label: '简称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_EnglishName',\n        originalKey: 'eg_EnglishName',\n        label: '外文名称',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'eg_Specifications',\n        originalKey: 'eg_Specifications',\n        label: '规格',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_Brand',\n        originalKey: 'eg_Brand',\n        label: '品牌',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_Unit',\n        originalKey: 'eg_Unit',\n        label: '单位',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_BarCode',\n        originalKey: 'eg_BarCode',\n        label: '条形码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'eg_Cat',\n        typeMeta: {\n          relationModel: 'erp_GoodsCat',\n          type: 'Relation',\n        },\n        label: '所属类别',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eg_Warehouse',\n        originalKey: 'eg_Warehouse',\n        label: '所属仓库',\n      },\n      {\n        type: 'int',\n        name: 'eg_Status',\n        originalKey: 'eg_Status',\n        label: '状态',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'eg_Remark',\n        originalKey: 'eg_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_GoodsPrice',\n    originalKey: 'erp_GoodsPrice',\n    label: '商品价格表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'egp_GoodsId',\n        typeMeta: {\n          relationModel: 'erp_Goods',\n          type: 'Relation',\n        },\n        label: '商品',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'egp_Code',\n        originalKey: 'egp_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'egp_Name',\n        originalKey: 'egp_Name',\n        label: '名称',\n      },\n      {\n        type: 'datetime',\n        name: 'egp_BeginTime',\n        originalKey: 'egp_BeginTime',\n        label: '起始时间段',\n      },\n      {\n        type: 'datetime',\n        name: 'egp_EndTime',\n        originalKey: 'egp_EndTime',\n        label: '结束时间段',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'egp_Price',\n        originalKey: 'egp_Price',\n        label: '单价',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'egp_Discount',\n        originalKey: 'egp_Discount',\n        label: '折扣率',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'egp_FavorablePrice',\n        originalKey: 'egp_FavorablePrice',\n        label: '优惠后价格',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'egp_Remark',\n        originalKey: 'egp_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_CustomerCat',\n    originalKey: 'erp_CustomerCat',\n    label: '客户类别表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ecc_Code',\n        originalKey: 'ecc_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ecc_Name',\n        originalKey: 'ecc_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ParentId',\n        originalKey: 'ParentId',\n        label: '上级分类',\n      },\n      {\n        type: 'bit',\n        name: 'IsParent',\n        originalKey: 'IsParent',\n        label: '是否父节点',\n      },\n      {\n        type: 'bit',\n        name: 'IsLeaf',\n        originalKey: 'IsLeaf',\n        label: '是否叶节点',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Arrange',\n        originalKey: 'Arrange',\n        label: '树状支持符号',\n      },\n      {\n        type: 'int',\n        name: 'TreeOrder',\n        originalKey: 'TreeOrder',\n        label: '排序',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'ecc_Remark',\n        originalKey: 'ecc_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_SupplierCat',\n    originalKey: 'erp_SupplierCat',\n    label: '供应商类别表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'esc_Code',\n        originalKey: 'esc_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'esc_Name',\n        originalKey: 'esc_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ParentId',\n        originalKey: 'ParentId',\n        label: '上级分类',\n      },\n      {\n        type: 'bit',\n        name: 'IsParent',\n        originalKey: 'IsParent',\n        label: '是否父节点',\n      },\n      {\n        type: 'bit',\n        name: 'IsLeaf',\n        originalKey: 'IsLeaf',\n        label: '是否叶节点',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Arrange',\n        originalKey: 'Arrange',\n        label: '树状支持符号',\n      },\n      {\n        type: 'int',\n        name: 'TreeOrder',\n        originalKey: 'TreeOrder',\n        label: '排序',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'esc_Remark',\n        originalKey: 'esc_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_CustomerInfo',\n    originalKey: 'erp_CustomerInfo',\n    label: '客户信息表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Code',\n        originalKey: 'ec_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Name',\n        originalKey: 'ec_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_SimpleName',\n        originalKey: 'ec_SimpleName',\n        label: '简称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_EnglishName',\n        originalKey: 'ec_EnglishName',\n        label: '外文名字',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'ec_Cat',\n        typeMeta: {\n          relationModel: 'erp_CustomerCat',\n          type: 'Relation',\n        },\n        label: '所属类别',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_LegalPerson',\n        originalKey: 'ec_LegalPerson',\n        label: '法人代表',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Linkman',\n        originalKey: 'ec_Linkman',\n        label: '联系人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Tel',\n        originalKey: 'ec_Tel',\n        label: '联系电话',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Email',\n        originalKey: 'ec_Email',\n        label: '电子邮箱',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Area',\n        originalKey: 'ec_Area',\n        label: '所属地区',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_PostalCode',\n        originalKey: 'ec_PostalCode',\n        label: '邮编',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'ec_Addr',\n        originalKey: 'ec_Addr',\n        label: '地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Salesman',\n        originalKey: 'ec_Salesman',\n        label: '业务员',\n      },\n      {\n        type: 'int',\n        name: 'ec_Status',\n        originalKey: 'ec_Status',\n        label: '状态',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'ec_Remark',\n        originalKey: 'ec_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_SupplierInfo',\n    originalKey: 'erp_SupplierInfo',\n    label: '供应商信息表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'es_Cat',\n        typeMeta: {\n          relationModel: 'erp_SupplierCat',\n          type: 'Relation',\n        },\n        label: '所属类别',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Code',\n        originalKey: 'es_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Name',\n        originalKey: 'es_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_SimpleName',\n        originalKey: 'es_SimpleName',\n        label: '简称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_EnglishName',\n        originalKey: 'es_EnglishName',\n        label: '外文名字',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_LegalPerson',\n        originalKey: 'es_LegalPerson',\n        label: '法人代表',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Tel',\n        originalKey: 'es_Tel',\n        label: '联系电话',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Eamil',\n        originalKey: 'es_Eamil',\n        label: '电子邮箱',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Addr',\n        originalKey: 'es_Addr',\n        label: '地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_Salesman',\n        originalKey: 'es_Salesman',\n        label: '业务员',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_BizRegisterNo',\n        originalKey: 'es_BizRegisterNo',\n        label: '工商注册号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_BusiLicence',\n        originalKey: 'es_BusiLicence',\n        label: '营业执照',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'es_TaxRegisterNo',\n        originalKey: 'es_TaxRegisterNo',\n        label: '税务登记号',\n      },\n      {\n        type: 'int',\n        name: 'es_Status',\n        originalKey: 'es_Status',\n        label: '状态',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'es_Remark',\n        originalKey: 'es_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_DepartmentInfo',\n    originalKey: 'erp_DepartmentInfo',\n    label: '部门信息表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ed_Code',\n        originalKey: 'ed_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ed_Name',\n        originalKey: 'ed_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ParentId',\n        originalKey: 'ParentId',\n        label: '上级分类',\n      },\n      {\n        type: 'bit',\n        name: 'IsParent',\n        originalKey: 'IsParent',\n        label: '是否父节点',\n      },\n      {\n        type: 'bit',\n        name: 'IsLeaf',\n        originalKey: 'IsLeaf',\n        label: '是否叶节点',\n      },\n      {\n        type: 'nvarchar(2000)',\n        name: 'Arrange',\n        originalKey: 'Arrange',\n        label: '树状支持符号',\n      },\n      {\n        type: 'int',\n        name: 'TreeOrder',\n        originalKey: 'TreeOrder',\n        label: '排序',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'ed_Remark',\n        originalKey: 'ed_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_UserInfo',\n    originalKey: 'erp_UserInfo',\n    label: '员工信息表',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_Code',\n        originalKey: 'eu_Code',\n        label: '编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_Name',\n        originalKey: 'eu_Name',\n        label: '名字',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_EnglishName',\n        originalKey: 'eu_EnglishName',\n        label: '外文名字',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_BirthDate',\n        originalKey: 'eu_BirthDate',\n        label: '出生年月',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_EntryDate',\n        originalKey: 'eu_EntryDate',\n        label: '入职时间',\n      },\n      {\n        type: 'int',\n        name: 'eu_Cultural',\n        originalKey: 'eu_Cultural',\n        label: '文化水平',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_IDCard',\n        originalKey: 'eu_IDCard',\n        label: '身份证号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_Tel',\n        originalKey: 'eu_Tel',\n        label: '电话',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eu_Position',\n        originalKey: 'eu_Position',\n        label: '职位',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'eu_Department',\n        typeMeta: {\n          relationModel: 'erp_DepartmentInfo',\n          type: 'Relation',\n        },\n        label: '所属部门',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'eu_Remark',\n        originalKey: 'eu_Remark',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_BaseOperatorLog',\n    originalKey: 'erp_BaseOperatorLog',\n    label: '基础信息操作日志',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ebol_Operator',\n        originalKey: 'ebol_Operator',\n        label: '操作人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ebol_TableName',\n        originalKey: 'ebol_TableName',\n        label: '表名',\n      },\n      {\n        type: 'int',\n        name: 'ebol_OperationType',\n        originalKey: 'ebol_OperationType',\n        label: '操作类型',\n      },\n      {\n        type: 'nvarchar(500)',\n        name: 'ebol_Content',\n        originalKey: 'ebol_Content',\n        label: '操作内容',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_ContactInfo',\n    originalKey: 'erp_ContactInfo',\n    label: '联系人',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'ec_ForeignKey',\n        typeMeta: {\n          relationModel: 'erp_CustomerInfo',\n          type: 'Relation',\n        },\n        label: '外键',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_ContactName',\n        originalKey: 'ec_ContactName',\n        label: '联系人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Post',\n        originalKey: 'ec_Post',\n        label: '职务',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Phone',\n        originalKey: 'ec_Phone',\n        label: '电话',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_TelPhone',\n        originalKey: 'ec_TelPhone',\n        label: '手机',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Fax',\n        originalKey: 'ec_Fax',\n        label: '传真',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Email',\n        originalKey: 'ec_Email',\n        label: '邮箱',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'ec_Postalcode',\n        originalKey: 'ec_Postalcode',\n        label: '邮政编码',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'ec_Addr',\n        originalKey: 'ec_Addr',\n        label: '地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'FControlUnitID',\n        originalKey: 'FControlUnitID',\n        label: '组织机构',\n      },\n    ],\n  },\n  {\n    name: 'erp_BankAccount',\n    originalKey: 'erp_BankAccount',\n    label: '银行账号',\n    module: 'ERP',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'eba_ForeignKey',\n        typeMeta: {\n          relationModel: 'erp_CustomerInfo',\n          type: 'Relation',\n        },\n        label: '外键',\n      },\n      {\n        type: 'int',\n        name: 'eba_Type',\n        originalKey: 'eba_Type',\n        label: '账户类型',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eba_Bank',\n        originalKey: 'eba_Bank',\n        label: '开户银行',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eba_Number',\n        originalKey: 'eba_Number',\n        label: '账号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eba_Currency',\n        originalKey: 'eba_Currency',\n        label: '币种',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'eba_Property',\n        originalKey: 'eba_Property',\n        label: '账户用途',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'eba_Addr',\n        originalKey: 'eba_Addr',\n        label: '银行地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'CREATE_ID',\n        originalKey: 'CREATE_ID',\n        label: '创建人',\n      },\n      {\n        type: 'datetime',\n        name: 'CREATE_TIME',\n        originalKey: 'CREATE_TIME',\n        label: '创建时间',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'UPDATE_ID',\n        originalKey: 'UPDATE_ID',\n        label: '最后编辑人',\n      },\n      {\n        type: 'datetime',\n        name: 'UPDATE_TIME',\n        originalKey: 'UPDATE_TIME',\n        label: '最后编辑时间',\n      },\n    ],\n  },\n  {\n    name: 'T9_Customer',\n    originalKey: 'T9_Customer',\n    label: '客户信息',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'T9_Repair_flow',\n          type: 'Relation',\n        },\n        label: '编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_CarNum',\n        originalKey: 'T9C_CarNum',\n        label: '车辆编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Name',\n        originalKey: 'T9C_Name',\n        label: '姓名',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'T9C_Number',\n        originalKey: 'T9C_Number',\n        label: '联系方式',\n      },\n      {\n        type: 'datetime',\n        name: 'T9C_DateOfBirth',\n        originalKey: 'T9C_DateOfBirth',\n        label: '出生日期',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9C_Address',\n        originalKey: 'T9C_Address',\n        label: '地址',\n      },\n      {\n        type: 'int',\n        name: 'T9C_Sex',\n        originalKey: 'T9C_Sex',\n        label: '性别',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_LinkMan',\n        originalKey: 'T9C_LinkMan',\n        label: '联系人',\n      },\n    ],\n  },\n  {\n    name: 'T9_Repair_flow',\n    originalKey: 'T9_Repair_flow',\n    label: '维修表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9R_RepairId',\n        typeMeta: {\n          relationModel: 'T9_NewRepairParts',\n          type: 'Relation',\n        },\n        label: '派单编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_CustomerId',\n        originalKey: 'T9R_CustomerId',\n        label: '车主',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9R_CarId',\n        typeMeta: {\n          relationModel: 'T9_Car',\n          type: 'Relation',\n        },\n        label: '汽车编号',\n      },\n      {\n        type: 'int',\n        name: 'T9R_Satisfaction',\n        originalKey: 'T9R_Satisfaction',\n        label: '满意度',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_Taxfee',\n        originalKey: 'T9R_Taxfee',\n        label: '税费',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_PickMan',\n        originalKey: 'T9R_PickMan',\n        label: '接车人',\n      },\n      {\n        type: 'int',\n        name: 'T9R_RepairType',\n        originalKey: 'T9R_RepairType',\n        label: '维修类型',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9R_PartNote',\n        originalKey: 'T9R_PartNote',\n        label: '配件备注',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9R_WorkHoursNote',\n        originalKey: 'T9R_WorkHoursNote',\n        label: '工时备注',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9R_SettlementNote',\n        originalKey: 'T9R_SettlementNote',\n        label: '结算备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_ContractNum',\n        originalKey: 'T9R_ContractNum',\n        label: '维修合同号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_WorkOrderNum',\n        originalKey: 'T9R_WorkOrderNum',\n        label: '工单号码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_HandNumber',\n        originalKey: 'T9R_HandNumber',\n        label: '交接单号',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_Withholding',\n        originalKey: 'T9R_Withholding',\n        label: '代收代缴',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_Total',\n        originalKey: 'T9R_Total',\n        label: '总计（元）',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Reckoner',\n        originalKey: 'T9R_Reckoner',\n        label: '结算人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_AccountNum',\n        originalKey: 'T9R_AccountNum',\n        label: '账号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_DutyParagraph',\n        originalKey: 'T9R_DutyParagraph',\n        label: '税号',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_OutfactoryTime',\n        originalKey: 'T9R_OutfactoryTime',\n        label: '出厂时间',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_IntofactoryTime',\n        originalKey: 'T9R_IntofactoryTime',\n        label: '进厂时间',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_SettementDate',\n        originalKey: 'T9R_SettementDate',\n        label: '结算日期',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_HandDate',\n        originalKey: 'T9R_HandDate',\n        label: '交接日期',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_PreHandDate',\n        originalKey: 'T9R_PreHandDate',\n        label: '预计交付日期',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_PreMaterial',\n        originalKey: 'T9R_PreMaterial',\n        label: '预计材料费（含管理费）',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_PreLabor',\n        originalKey: 'T9R_PreLabor',\n        label: '预计工时费',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_PreRepairSum',\n        originalKey: 'T9R_PreRepairSum',\n        label: '预计修理费总和',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_AddMater',\n        originalKey: 'T9R_AddMater',\n        label: '需增材料费',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_AddLabor',\n        originalKey: 'T9R_AddLabor',\n        label: '需增工时费',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_AddRepairSum',\n        originalKey: 'T9R_AddRepairSum',\n        label: '需增修理费总计',\n      },\n      {\n        type: 'datetime',\n        name: 'T9R_DateAlter',\n        originalKey: 'T9R_DateAlter',\n        label: '交付日期修订',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Detection',\n        originalKey: 'T9R_Detection',\n        label: '委托修理项目检验',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'T9R_Opinion',\n        originalKey: 'T9R_Opinion',\n        label: '提示和建议',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9R_PartPercen',\n        originalKey: 'T9R_PartPercen',\n        label: '材料百分比',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_ChassisID',\n        originalKey: 'T9R_ChassisID',\n        label: '车架号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_ReceiveID',\n        originalKey: 'T9R_ReceiveID',\n        label: '接待者id',\n      },\n    ],\n  },\n  {\n    name: 'T9eng_WorkHours',\n    originalKey: 'T9eng_WorkHours',\n    label: '工时表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9W_RepairId',\n        originalKey: 'T9W_RepairId',\n        label: '派单号',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9W_Content',\n        originalKey: 'T9W_Content',\n        label: '内容',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9W_Money',\n        originalKey: 'T9W_Money',\n        label: '工时总价',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9W_Price',\n        originalKey: 'T9W_Price',\n        label: '工时单价',\n      },\n      {\n        type: 'datetime',\n        name: 'T9W_WorkTime',\n        originalKey: 'T9W_WorkTime',\n        label: '工时',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9W_Class',\n        typeMeta: {\n          relationModel: 'T9_ClassGroup',\n          type: 'Relation',\n        },\n        label: '班组',\n      },\n    ],\n  },\n  {\n    name: 'T9_RepairParts',\n    originalKey: 'T9_RepairParts',\n    label: '维修配件表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_RepairId',\n        originalKey: 'T9P_RepairId',\n        label: '派单号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9P_Partsid',\n        typeMeta: {\n          relationModel: 'T9_PartManger',\n          type: 'Relation',\n        },\n        label: '配件名称',\n      },\n      {\n        type: 'int',\n        name: 'T9P_Number',\n        originalKey: 'T9P_Number',\n        label: '数量',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_ExpectPrice',\n        originalKey: 'T9P_ExpectPrice',\n        label: '预计单价费',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_ExpectAllCost',\n        originalKey: 'T9P_ExpectAllCost',\n        label: '预计总费用',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_RealPrice',\n        originalKey: 'T9P_RealPrice',\n        label: '实际单价费',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_RealAllCost',\n        originalKey: 'T9P_RealAllCost',\n        label: '实际总费用',\n      },\n    ],\n  },\n  {\n    name: 'T9_Car',\n    originalKey: 'T9_Car',\n    label: '汽车表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_LicenseMember',\n        originalKey: 'T9C_LicenseMember',\n        label: '车牌号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9C_CarType',\n        typeMeta: {\n          relationModel: 'T9_CarStyle',\n          type: 'Relation',\n        },\n        label: '车型',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Color',\n        originalKey: 'T9C_Color',\n        label: '颜色',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_CustomerId',\n        originalKey: 'T9C_CustomerId',\n        label: '车主ID',\n      },\n      {\n        type: 'datetime',\n        name: 'T9C_DateOfAcquistion',\n        originalKey: 'T9C_DateOfAcquistion',\n        label: '购置日期',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Journey',\n        originalKey: 'T9C_Journey',\n        label: '行程公里',\n      },\n    ],\n  },\n  {\n    name: 'T9_NewRepairParts',\n    originalKey: 'T9_NewRepairParts',\n    label: '新增维修配件表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_RepairId',\n        originalKey: 'T9P_RepairId',\n        label: '派单号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9P_PartsId',\n        typeMeta: {\n          relationModel: 'T9_PartManger',\n          type: 'Relation',\n        },\n        label: '配件名称',\n      },\n      {\n        type: 'int',\n        name: 'T9P_Number',\n        originalKey: 'T9P_Number',\n        label: '数量',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_ExpectPrice',\n        originalKey: 'T9P_ExpectPrice',\n        label: '预计单价费',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_ExpectAllCost',\n        originalKey: 'T9P_ExpectAllCost',\n        label: '预计总费用',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_RealPrice',\n        originalKey: 'T9P_RealPrice',\n        label: '实际单价费',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9P_RealAllCost',\n        originalKey: 'T9P_RealAllCost',\n        label: '实际总费用',\n      },\n    ],\n  },\n  {\n    name: 'T9_PartManger',\n    originalKey: 'T9_PartManger',\n    label: '配件管理表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'T9_PartsPrice',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_ID',\n        originalKey: 'T9P_ID',\n        label: '配件编号',\n      },\n      {\n        type: 'nvarchar(max)',\n        name: 'T9P_Name',\n        originalKey: 'T9P_Name',\n        label: '配件名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_Unit',\n        originalKey: 'T9P_Unit',\n        label: '单位',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9P_Money',\n        originalKey: 'T9P_Money',\n        label: '金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9P_CarKind',\n        typeMeta: {\n          relationModel: 'T9_CarStyle',\n          type: 'Relation',\n        },\n        label: '车系',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9P_RemainMoney',\n        originalKey: 'T9P_RemainMoney',\n        label: '库存余额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarStyle',\n        originalKey: 'T9P_CarStyle',\n        label: '车型',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarBrand',\n        originalKey: 'T9P_CarBrand',\n        label: '车品牌',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_OriFactoryID',\n        originalKey: 'T9P_OriFactoryID',\n        label: '原厂编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_InventoryID',\n        originalKey: 'T9P_InventoryID',\n        label: '库存编码',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_GoodsID',\n        originalKey: 'T9P_GoodsID',\n        label: '货位编码',\n      },\n    ],\n  },\n  {\n    name: 'T9_Repairshops',\n    originalKey: 'T9_Repairshops',\n    label: '维修厂表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Name',\n        originalKey: 'T9R_Name',\n        label: '维修厂名称',\n      },\n      {\n        type: 'nvarchar(Max)',\n        name: 'T9R_Adress',\n        originalKey: 'T9R_Adress',\n        label: '维修厂地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Area',\n        originalKey: 'T9R_Area',\n        label: '所在区域',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_LinkMan',\n        originalKey: 'T9R_LinkMan',\n        label: '联系人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Tel',\n        originalKey: 'T9R_Tel',\n        label: '联系电话',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_ Facsimile',\n        originalKey: 'T9R_ Facsimile',\n        label: '传真',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_Postalcode',\n        originalKey: 'T9R_Postalcode',\n        label: '邮政编码',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'T9R_Note',\n        originalKey: 'T9R_Note',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9R_GroupSign',\n        originalKey: 'T9R_GroupSign',\n        label: '组织标志',\n      },\n    ],\n  },\n  {\n    name: 'T9_Supplier',\n    originalKey: 'T9_Supplier',\n    label: '供应商表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_Name',\n        originalKey: 'T9S_Name',\n        label: '供应商名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_Brand',\n        originalKey: 'T9S_Brand',\n        label: '供应品牌',\n      },\n      {\n        type: 'nvarchar(Max)',\n        name: 'T9S_RepairAdress',\n        originalKey: 'T9S_RepairAdress',\n        label: '维修厂地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_Area',\n        originalKey: 'T9S_Area',\n        label: '所在区域',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_LinkMan',\n        originalKey: 'T9S_LinkMan',\n        label: '联系人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_Tel',\n        originalKey: 'T9S_Tel',\n        label: '联系电话',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_ Facsimile',\n        originalKey: 'T9S_ Facsimile',\n        label: '传真',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9S_Postalcode',\n        originalKey: 'T9S_Postalcode',\n        label: '邮政编码',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'T9S_Note',\n        originalKey: 'T9S_Note',\n        label: '备注',\n      },\n      {\n        type: 'vnarchar(50)',\n        name: 'T9S_GroupSign',\n        originalKey: 'T9S_GroupSign',\n        label: '组织标志',\n      },\n    ],\n  },\n  {\n    name: 'T9_CarStyle',\n    originalKey: 'T9_CarStyle',\n    label: '车型表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Name',\n        originalKey: 'T9C_Name',\n        label: '名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9C_SeriesID',\n        typeMeta: {\n          relationModel: 'T9_CarKind',\n          type: 'Relation',\n        },\n        label: '车系ID',\n      },\n    ],\n  },\n  {\n    name: 'T9_Procurement',\n    originalKey: 'T9_Procurement',\n    label: '竞价表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_RepairfactoryFID',\n        originalKey: 'T9P_RepairfactoryFID',\n        label: '维修厂FID',\n      },\n      {\n        type: 'nvarchar(Max)',\n        name: 'T9P_Adress',\n        originalKey: 'T9P_Adress',\n        label: '收货地址',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_LinkMan',\n        originalKey: 'T9P_LinkMan',\n        label: '收货人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_LinkTel',\n        originalKey: 'T9P_LinkTel',\n        label: '收人联系方式',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarStyleID',\n        originalKey: 'T9P_CarStyleID',\n        label: '车系ID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_PartName',\n        originalKey: 'T9P_PartName',\n        label: '配件ID',\n      },\n      {\n        type: 'nvarchar(200)',\n        name: 'T9P_Note',\n        originalKey: 'T9P_Note',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_Num',\n        originalKey: 'T9P_Num',\n        label: '数量',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9P_finallyprice\\r\\nT9P_FinallyPirce',\n        originalKey: 'T9P_finallyprice\\r\\nT9P_FinallyPirce',\n        label: '最终成交价格',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9P_MinPrice',\n        originalKey: 'T9P_MinPrice',\n        label: '竞价最低价格',\n      },\n      {\n        type: 'int',\n        name: 'T9P_PriceState',\n        originalKey: 'T9P_PriceState',\n        label: '采购信息状态',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_SupplierID',\n        originalKey: 'T9P_SupplierID',\n        label: '供应商ID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarKind',\n        originalKey: 'T9P_CarKind',\n        label: '车系',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarStyle',\n        originalKey: 'T9P_CarStyle',\n        label: '车型',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarBrand',\n        originalKey: 'T9P_CarBrand',\n        label: '车品牌',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_PartUnit',\n        originalKey: 'T9P_PartUnit',\n        label: '配件单位',\n      },\n      {\n        name: 'T9P_finallyOnePrice',\n        originalKey: 'T9P_finallyOnePrice',\n        label: '最总单价',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_ServiceID',\n        originalKey: 'T9P_ServiceID',\n        label: '维修编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CarID',\n        originalKey: 'T9P_CarID',\n        label: '汽车编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_CustomerID',\n        originalKey: 'T9P_CustomerID',\n        label: '客户编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_OrderID',\n        originalKey: 'T9P_OrderID',\n        label: '订单号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_ChassisID',\n        originalKey: 'T9P_ChassisID',\n        label: '车架号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_LicenseID',\n        originalKey: 'T9P_LicenseID',\n        label: '车牌号',\n      },\n      {\n        type: 'ntext',\n        name: 'T9P_Picture',\n        originalKey: 'T9P_Picture',\n        label: '照片',\n      },\n    ],\n  },\n  {\n    name: 'T9_Bidding',\n    originalKey: 'T9_Bidding',\n    label: '报价表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'T9_Procurement',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_FID',\n        originalKey: 'T9P_FID',\n        label: '供应商FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9B_FID',\n        originalKey: 'T9B_FID',\n        label: '采购FID',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9B_Price',\n        originalKey: 'T9B_Price',\n        label: '竞价',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9B_Number',\n        originalKey: 'T9B_Number',\n        label: '数量',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9B_Money',\n        originalKey: 'T9B_Money',\n        label: '金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9B_WinBidding',\n        originalKey: 'T9B_WinBidding',\n        label: '是否中标',\n      },\n    ],\n  },\n  {\n    name: 'T9_ClassGroup',\n    originalKey: 'T9_ClassGroup',\n    label: '班组表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Name',\n        originalKey: 'T9C_Name',\n        label: '班组名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Sign',\n        originalKey: 'T9C_Sign',\n        label: '班组标识(英文名)',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9C_HourlyRate',\n        originalKey: 'T9C_HourlyRate',\n        label: '时薪',\n      },\n    ],\n  },\n  {\n    name: 'T9_CarKind',\n    originalKey: 'T9_CarKind',\n    label: '车系',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Kind',\n        originalKey: 'T9C_Kind',\n        label: '车系',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'T9C_BrandFID',\n        typeMeta: {\n          relationModel: 'T9_CarBrand',\n          type: 'Relation',\n        },\n        label: '品牌FID',\n      },\n    ],\n  },\n  {\n    name: 'T9_CarBrand',\n    originalKey: 'T9_CarBrand',\n    label: '车主品牌表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Brand',\n        originalKey: 'T9C_Brand',\n        label: '品牌名称',\n      },\n    ],\n  },\n  {\n    name: 'T9_PartsPrice',\n    originalKey: 'T9_PartsPrice',\n    label: '配件价格表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9P_FID',\n        originalKey: 'T9P_FID',\n        label: '配件FID',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9P_Price',\n        originalKey: 'T9P_Price',\n        label: '价格',\n      },\n      {\n        type: 'datetime',\n        name: 'T9P_UpdateTime',\n        originalKey: 'T9P_UpdateTime',\n        label: '更新时间',\n      },\n    ],\n  },\n  {\n    name: 'T9_Changebound',\n    originalKey: 'T9_Changebound',\n    label: '库存变动表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'toMany',\n        originalKey: 'FID',\n        typeMeta: {\n          relationModel: 'T9_PartManger',\n          type: 'Relation',\n        },\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_PartID',\n        originalKey: 'T9C_PartID',\n        label: '配件ID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_PartKind',\n        originalKey: 'T9C_PartKind',\n        label: '配件分类',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_PartName',\n        originalKey: 'T9C_PartName',\n        label: '配件名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Measuringunit',\n        originalKey: 'T9C_Measuringunit',\n        label: '计量单位',\n      },\n      {\n        type: 'numeric(18,4)',\n        name: 'T9C_Price',\n        originalKey: 'T9C_Price',\n        label: '采购价格',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_Number',\n        originalKey: 'T9C_Number',\n        label: '采购数量',\n      },\n      {\n        type: 'int',\n        name: 'T9C_OperationKind',\n        originalKey: 'T9C_OperationKind',\n        label: '操作类型',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_RepairID',\n        originalKey: 'T9C_RepairID',\n        label: '维修单ID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_PurchaseID',\n        originalKey: 'T9C_PurchaseID',\n        label: '采购单Id',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_StartNum',\n        originalKey: 'T9C_StartNum',\n        label: '初始余额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_OnePrice',\n        originalKey: 'T9C_OnePrice',\n        label: '变动报价',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_EndNum',\n        originalKey: 'T9C_EndNum',\n        label: '最终数目',\n      },\n    ],\n  },\n  {\n    name: 'T9_StorageList',\n    originalKey: 'T9_StorageList',\n    label: '入库单',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_InFID',\n        originalKey: 'T9I_InFID',\n        label: '入库单号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_Supplier',\n        originalKey: 'T9I_Supplier',\n        label: '供应商',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_BillType',\n        originalKey: 'T9I_BillType',\n        label: '单据类型',\n      },\n      {\n        type: 'datetime',\n        name: 'T9I_InDateTime',\n        originalKey: 'T9I_InDateTime',\n        label: '入库日期',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_PayType',\n        originalKey: 'T9I_PayType',\n        label: '付款方式',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_Operator',\n        originalKey: 'T9I_Operator',\n        label: '经办人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_InType',\n        originalKey: 'T9I_InType',\n        label: '入库类型',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_CarLicense',\n        originalKey: 'T9I_CarLicense',\n        label: '车牌号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_ChassisNumber',\n        originalKey: 'T9I_ChassisNumber',\n        label: '车架号',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_ToalPrice',\n        originalKey: 'T9I_ToalPrice',\n        label: '合计金额',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_Rate',\n        originalKey: 'T9I_Rate',\n        label: '税率',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_TaxRate',\n        originalKey: 'T9I_TaxRate',\n        label: '税额',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_TaxAmount',\n        originalKey: 'T9I_TaxAmount',\n        label: '含税金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_WarehouseKeeper',\n        originalKey: 'T9I_WarehouseKeeper',\n        label: '仓管',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_Audit',\n        originalKey: 'T9I_Audit',\n        label: '审核',\n      },\n    ],\n  },\n  {\n    name: 'T9_StorageListDetail',\n    originalKey: 'T9_StorageListDetail',\n    label: '入库明细',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_InFID',\n        originalKey: 'T9I_InFID',\n        label: '入库单号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_PartFID',\n        originalKey: 'T9I_PartFID',\n        label: '商品编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_PartName',\n        originalKey: 'T9I_PartName',\n        label: '商品名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_Model',\n        originalKey: 'T9I_Model',\n        label: '型号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_Unit',\n        originalKey: 'T9I_Unit',\n        label: '单位',\n      },\n      {\n        type: 'int',\n        name: 'T9I_Number',\n        originalKey: 'T9I_Number',\n        label: '数量',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_OnePrice',\n        originalKey: 'T9I_OnePrice',\n        label: '单价',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9I_Price',\n        originalKey: 'T9I_Price',\n        label: '金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9I_ProductClass',\n        originalKey: 'T9I_ProductClass',\n        label: '产品类别',\n      },\n    ],\n  },\n  {\n    name: 'T9_DeliveryOrder',\n    originalKey: 'T9_DeliveryOrder',\n    label: '出库单',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_BoundID',\n        originalKey: 'T9O_BoundID',\n        label: '出库单号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_ClientName',\n        originalKey: 'T9O_ClientName',\n        label: '客户名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Type',\n        originalKey: 'T9O_Type',\n        label: '类型',\n      },\n      {\n        type: 'datetime',\n        name: 'T9O_OutDate',\n        originalKey: 'T9O_OutDate',\n        label: '出库日期',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Dispatch',\n        originalKey: 'T9O_Dispatch',\n        label: '派单编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_ChargeName',\n        originalKey: 'T9O_ChargeName',\n        label: '经办人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Class',\n        originalKey: 'T9O_Class',\n        label: '领班班组',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Note',\n        originalKey: 'T9O_Note',\n        label: '备注',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_CarNumber',\n        originalKey: 'T9O_CarNumber',\n        label: '车牌号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Amount',\n        originalKey: 'T9O_Amount',\n        label: '合计金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_BoundManger',\n        originalKey: 'T9O_BoundManger',\n        label: '仓管',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Reviewer',\n        originalKey: 'T9O_Reviewer',\n        label: '审核人',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9O_Pick',\n        originalKey: 'T9O_Pick',\n        label: '领料',\n      },\n    ],\n  },\n  {\n    name: 'T9_DeliveryOrderDetail',\n    originalKey: 'T9_DeliveryOrderDetail',\n    label: '出库明细表',\n    module: 'T9engSQ',\n    fields: [\n      {\n        type: 'nvarchar(50)',\n        name: 'FID',\n        originalKey: 'FID',\n        label: 'FID',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9C_FID',\n        originalKey: 'T9C_FID',\n        label: '出库单号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9D_PartID',\n        originalKey: 'T9D_PartID',\n        label: '商品编号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9D_PartName',\n        originalKey: 'T9D_PartName',\n        label: '商品名称',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9D_Type',\n        originalKey: 'T9D_Type',\n        label: '型号',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9D_Num',\n        originalKey: 'T9D_Num',\n        label: '数量',\n      },\n      {\n        type: 'nvarchar(50))',\n        name: 'T9D_Unit',\n        originalKey: 'T9D_Unit',\n        label: '单位',\n      },\n      {\n        type: 'decimarl(18,4)',\n        name: 'T9D_Price',\n        originalKey: 'T9D_Price',\n        label: '单价',\n      },\n      {\n        type: 'decimal(18,4)',\n        name: 'T9D_Money',\n        originalKey: 'T9D_Money',\n        label: '金额',\n      },\n      {\n        type: 'nvarchar(50)',\n        name: 'T9D_Bound',\n        originalKey: 'T9D_Bound',\n        label: '仓库',\n      },\n    ],\n  },\n]\n"
  },
  {
    "path": "test/g6-test/mock/module-test.ts",
    "content": "export default [\n    {\n        name: 'finance',\n        label: '金融',\n    },\n    {\n        name: 'ERP',\n        label: '进销存',\n    },\n    {\n        label: '汽修',\n        name: 'T9engSQ',\n    },\n]\n"
  },
  {
    "path": "tsconfig.json",
    "content": "{\n  \"compilerOptions\": {\n    \"strict\": true,\n    \"declaration\": true,\n    \"skipLibCheck\": true,\n    \"esModuleInterop\": true,\n    \"jsx\": \"react\",\n    \"baseUrl\": \"./\",\n    \"paths\": {\n      \"@@/*\": [\".dumi/tmp/*\"],\n      \"web-pdm\": [\"src\"],\n      \"web-pdm/*\": [\"src/*\", \"*\"]\n    }\n  },\n  \"include\": [\".dumi/**/*\", \".dumirc.ts\", \"src/**/*\"]\n}\n"
  }
]